/*
 *             Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
 *
 *
 *
 *
 *          +---------------------------------------------------------------------------------+
 *          |                                                                                 |
 *          |                                 Hello stranger!                                 |
 *          |                                                                                 |
 *          |                                                                                 |
 *          |   What you're currently looking at is the source code of a legally protected,   |
 *          |    proprietary software. Any attempts to deobfuscate / disassemble this code    |
 *          |               are forbidden and will result in legal consequences.              |
 *          |                                                                                 |
 *          |                                                                                 |
 *          +---------------------------------------------------------------------------------+
 *
 *
 *
 *
 */
!function(_0x49c5b9,_0x45d64a){'object'==typeof exports&&'undefined'!=typeof module?_0x45d64a(exports,require('ckeditor5')):'function'==typeof define&&define['amd']?define(['exports','ckeditor5'],_0x45d64a):_0x45d64a((_0x49c5b9='undefined'!=typeof globalThis?globalThis:_0x49c5b9||self)['CKEDITOR_PREMIUM_FEATURES']={},_0x49c5b9['CKEDITOR']);}(this,function(exports,ckeditor5){'use strict';const _0x108349='_ungrouppedCommands';function _0x1194b0(_0x1a517c,_0xe77049){const _0x11c04a=(0x0,_0xe77049['t'])('Other');return _0x1a517c['length']?'groupId'in _0x1a517c[0x0]?_0x1a517c:[{'groupId':_0x108349,'groupLabel':_0x11c04a,'order':0x1/0x0,'commands':_0x1a517c}]:[{'groupId':_0x108349,'groupLabel':_0x11c04a,'order':0x1/0x0,'commands':[]}];}const DomDataTransfer$1=globalThis['DataTransfer'],_0x12fe7e='ai-ui';class AIAssistantEditing extends ckeditor5['Plugin']{static get['pluginName'](){return'AIAssistantEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xc1db7c}=this,_0x3cf4c7=['ck-fake-ai-selection'];_0xc1db7c['config']['get']('ai.assistant.useTheme')&&_0x3cf4c7['push']('ck-ai-assistant-ui_theme'),_0xc1db7c['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x12fe7e,'view':{'classes':_0x3cf4c7,'priority':0xc}}),_0xc1db7c['conversion']['for']('editingDowncast')['markerToElement']({'model':_0x12fe7e,'view':(_0x22b213,{writer:_0x38f234})=>{if(!_0x22b213['markerRange']['isCollapsed'])return null;const _0x1b29ea=_0x38f234['createUIElement']('span');return _0x38f234['addClass'](['ck-fake-ai-selection','ck-fake-ai-selection_collapsed'],_0x1b29ea),_0x1b29ea;}});}['afterInit'](){_0x52b53b(this);}['showFakeVisualSelection'](){const _0x57c206=this['editor']['model'];_0x57c206['change'](_0x3ae405=>{const _0x4de7b9=_0x57c206['document']['selection']['getRanges']();let _0x406680=0x0;for(const _0x5562b8 of _0x4de7b9){const _0x56ced5=_0x12fe7e+':'+_0x406680;if(_0x57c206['markers']['has'](_0x56ced5))_0x3ae405['updateMarker'](_0x56ced5,{'range':_0x5562b8});else{if(_0x5562b8['start']['isAtEnd']){const _0x53f8b8=_0x5562b8['start']['getLastMatchingPosition'](({item:_0x1de5a3})=>!_0x57c206['schema']['isContent'](_0x1de5a3),{'boundaries':_0x5562b8});_0x3ae405['addMarker'](_0x56ced5,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3ae405['createRange'](_0x53f8b8,_0x5562b8['end'])});}else _0x3ae405['addMarker'](_0x56ced5,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5562b8});}_0x406680++;}});}['hideFakeVisualSelection'](){const _0x2ba8bb=this['editor']['model'],_0x159631=Array['from'](this['editor']['model']['markers']['getMarkersGroup'](_0x12fe7e));_0x159631['length']&&_0x2ba8bb['change'](_0x3525bf=>{_0x159631['forEach'](_0x30158c=>{_0x3525bf['removeMarker'](_0x30158c);});});}['insertContent'](_0x27b74d,_0x212bb8){const _0x188f02=this['_getAISelection'](),_0x371540=_0x212bb8||_0x188f02['getFirstRange']();this['editor']['model']['canEditAt'](_0x371540)&&this['editor']['model']['change'](_0x3606ea=>{this['hideFakeVisualSelection'](),_0x212bb8||this['_resetContentOfSelectedTableCells'](_0x3606ea,_0x188f02),this['_pasteHTMLUsingClipboard']({'insertAt':_0x371540,'writer':_0x3606ea,'html':_0x27b74d});});}['insertContentBelow'](_0xa53b4d){const {model:_0x45e623}=this['editor'],_0x39ad6b=this['_getAISelection']();_0x45e623['change'](()=>{const _0x5ad599=this['_prepareTableInsertBelowPosition'](_0xa53b4d,_0x39ad6b)||this['_getDefaultInsertBelowPosition'](_0x39ad6b);this['insertContent'](_0xa53b4d,_0x5ad599);});}['_getAISelection'](){const _0x42507a=this['editor']['model'],_0x312e62=Array['from'](_0x42507a['markers']['getMarkersGroup'](_0x12fe7e))['map'](_0x1146e7=>_0x1146e7['getRange']());return _0x42507a['createSelection'](_0x312e62);}['_pasteHTMLUsingClipboard']({writer:_0x4d6755,html:_0x2ee111,insertAt:_0x376ce7}){const {view:_0x46723b}=this['editor']['editing'],_0xfc78c2=this['editor']['plugins']['get'](ckeditor5['ClipboardPipeline']),_0x136b0a=new DomDataTransfer$1();_0x136b0a['setData']('text/html',_0x2ee111);const _0x82ba2e=new ClipboardEvent('paste',{'clipboardData':_0x136b0a}),_0xdfbdc3=new ckeditor5['ViewDocumentDomEventData'](_0x46723b,_0x82ba2e,{'dataTransfer':new ckeditor5['ViewDataTransfer'](_0x136b0a)});_0x4d6755['setSelection'](_0x376ce7);const _0x5207e4=(_0x25fc47,_0x38097c)=>{_0x38097c['resultRange']&&_0x4d6755['setSelection'](_0x38097c['resultRange']);};_0xfc78c2['once']('contentInsertion',_0x5207e4,{'priority':'lowest'}),_0x46723b['document']['fire']('paste',_0xdfbdc3),_0xfc78c2['off']('contentInsertion',_0x5207e4);}['_getDefaultInsertBelowPosition'](_0x28f3d3){const {model:_0x330834}=this['editor'],_0x5ebc7c=Array['from'](_0x28f3d3['getSelectedBlocks']());return _0x5ebc7c['length']?_0x330834['createPositionAfter'](_0x5ebc7c['pop']()):_0x28f3d3['getLastPosition']();}['_prepareTableInsertBelowPosition'](_0xde3670,_0x3449b7){const {model:_0x57767a,plugins:_0x1642bb}=this['editor'];if(_0x1642bb['has']('TableUtils')){const _0x3213ec=_0x1642bb['get']('TableUtils')['getSelectedTableCells'](_0x3449b7);if(_0x3213ec['length']){const _0x4ae377=this['_getTableRowCountFromContent'](_0xde3670),_0x4272bb=this['_createEmptyTableRows'](_0x3213ec,_0x4ae377);return _0x57767a['createPositionAt'](_0x4272bb,0x0);}}return null;}['_getTableRowCountFromContent'](_0x19c307){const _0x2c06bd=this['editor']['plugins']['get']('TableUtils'),_0x27e90e=this['editor']['data']['parse'](_0x19c307),_0x3769d2=Array['from'](_0x27e90e['getChildren']())['filter'](_0xee7658=>_0xee7658['is']('element','table'));let _0xa34fc=0x0;return _0x3769d2['forEach'](_0x208541=>{_0xa34fc+=_0x2c06bd['getRows'](_0x208541);}),_0xa34fc;}['_createEmptyTableRows'](_0x3c7f61,_0x2385dd){const _0x2caf66=this['editor']['plugins']['get']('TableUtils'),_0x3b38a7=_0x2caf66['getRowIndexes'](_0x3c7f61),_0x3e9739=_0x2caf66['getColumnIndexes'](_0x3c7f61),_0x5acd66=_0x3b38a7['last']+0x1,_0x498e85=_0x3e9739['first'],_0x40064f=_0x3c7f61[0x0]['findAncestor']('table');for(let _0x3583f5=0x0;_0x3583f5<_0x2385dd;_0x3583f5++)_0x2caf66['insertRows'](_0x40064f,{'at':_0x5acd66});return _0x40064f['getChild'](_0x5acd66)['getChild'](_0x498e85);}['_resetContentOfSelectedTableCells'](_0x43fe22,_0x319dcf){const {plugins:_0x4935ac}=this['editor'],{model:_0x28f2d0}=_0x43fe22;if(!_0x4935ac['has']('TableUtils'))return;_0x4935ac['get']('TableUtils')['getSelectedTableCells'](_0x319dcf)['length']&&_0x28f2d0['deleteContent'](_0x319dcf);}}async function _0x52b53b(_0x3befe9){const _0x1fadfb=_0x2ea302([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x51630d=window[_0x2ea302([0x44,0x61,0x74,0x65])][_0x2ea302([0x6e,0x6f,0x77])](),_0x11444e=_0x3befe9[_0x2ea302([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x23bb55=new window[(_0x2ea302([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5434a4=>{_0x11444e[_0x2ea302([0x6f,0x6e,0x63,0x65])](_0x2ea302([0x72,0x65,0x61,0x64,0x79]),_0x5434a4);}),_0x4ad6a5={[_0x2ea302([0x6b,0x74,0x79])]:_0x2ea302([0x45,0x43]),[_0x2ea302([0x75,0x73,0x65])]:_0x2ea302([0x73,0x69,0x67]),[_0x2ea302([0x63,0x72,0x76])]:_0x2ea302([0x50,0x2d,0x32,0x35,0x36]),[_0x2ea302([0x78])]:_0x2ea302([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x2ea302([0x79])]:_0x2ea302([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x2ea302([0x61,0x6c,0x67])]:_0x2ea302([0x45,0x53,0x32,0x35,0x36])},_0x4e8076=_0x11444e[_0x2ea302([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2ea302([0x67,0x65,0x74])](_0x2ea302([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x2fbaad=await(async function(){let _0x27c8da,_0x3b072a=null,_0x18c2f8=null;try{if(_0x4e8076==_0x2ea302([0x47,0x50,0x4c]))return _0x2ea302([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x27c8da=(function(){const _0x17cb72=_0x4e8076[_0x2ea302([0x73,0x70,0x6c,0x69,0x74])](_0x2ea302([0x2e]));if(0x3!=_0x17cb72[_0x2ea302([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x6dd923=_0x17cb72[0x1];return _0x13ebea(_0x6dd923);function _0x13ebea(_0x22c95c){const _0x476ed0=_0x3b014c(_0x22c95c);return _0x476ed0&&_0x1c723a()?_0x476ed0:null;function _0x1c723a(){const _0x2e5b21=_0x476ed0[_0x2ea302([0x6a,0x74,0x69])],_0x316f4c=window[_0x2ea302([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e5b21[_0x2ea302([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e5b21[_0x2ea302([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xc83408={..._0x476ed0,[_0x2ea302([0x6a,0x74,0x69])]:_0x2e5b21[_0x2ea302([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2e5b21[_0x2ea302([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xc83408[_0x2ea302([0x76,0x63])],_0x3c322c(_0xc83408)==_0x316f4c;}}}()),!_0x27c8da)return _0x2ea302([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x27c8da[_0x2ea302([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x18c2f8=function(_0x332b97,_0x26d566){return new window[(_0x2ea302([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5385e4=>{if(_0x4dbcef())return _0x5385e4(_0x2ea302([0x56,0x61,0x6c,0x69,0x64]));_0x49df94(),_0x11444e[_0x2ea302([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2ea302([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xdfcde3=!0x1;const _0x463ffc=ckeditor5['uid']();function _0x4919fb(_0x5051ff){return!!_0x5051ff&&(typeof _0x5051ff===_0x2ea302([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5051ff===_0x2ea302([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5051ff[_0x2ea302([0x74,0x68,0x65,0x6e])]===_0x2ea302([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5051ff[_0x2ea302([0x63,0x61,0x74,0x63,0x68])]===_0x2ea302([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x493eae(_0x3f7a18){_0x5d8fa6(_0x3f7a18)[_0x2ea302([0x74,0x68,0x65,0x6e])](_0x4f3291=>{if(!_0x4f3291||_0x4f3291[_0x2ea302([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2ea302([0x6f,0x6b]))return _0x2ea302([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2e91f1(_0x3c322c(_0x463ffc+_0x26d566))!=_0x4f3291[_0x2ea302([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2ea302([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2ea302([0x56,0x61,0x6c,0x69,0x64]);})[_0x2ea302([0x74,0x68,0x65,0x6e])](_0x51a043=>(_0x3729e7(),_0x51a043),()=>{const _0x1cbab7=_0x115933();return null==_0x1cbab7?(_0x3729e7(),_0x2ea302([0x56,0x61,0x6c,0x69,0x64])):_0x2ea302(_0x51630d-_0x1cbab7>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2ea302([0x74,0x68,0x65,0x6e])](_0x5385e4)[_0x2ea302([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5385e4(_0x2ea302([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x56950e=0x36ee80;function _0x3729e7(){const _0x4b54ac=_0x2ea302([0x6c,0x6c,0x63,0x74,0x2d])+_0x2e91f1(_0x3c322c(_0x332b97)),_0x3d55fe=_0x2a502b(_0x2e91f1(window[_0x2ea302([0x4d,0x61,0x74,0x68])][_0x2ea302([0x63,0x65,0x69,0x6c])](_0x51630d/_0x56950e)));window[_0x2ea302([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2ea302([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b54ac,_0x3d55fe);}function _0x115933(){const _0x2ecd12=_0x2ea302([0x6c,0x6c,0x63,0x74,0x2d])+_0x2e91f1(_0x3c322c(_0x332b97)),_0x16ed8c=window[_0x2ea302([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2ea302([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ecd12);return _0x16ed8c?window[_0x2ea302([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a502b(_0x16ed8c),0x10)*_0x56950e:null;}function _0x5d8fa6(_0x33d626){return new window[(_0x2ea302([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x46c6c9,_0x1f992a)=>{_0x33d626[_0x2ea302([0x74,0x68,0x65,0x6e])](_0x46c6c9,_0x1f992a),window[_0x2ea302([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1f992a,0x1d4c0);});}}_0x11444e[_0x2ea302([0x6f,0x6e])](_0x2ea302([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x271409,_0x300f9f)=>{if(_0x300f9f[0x0]!=_0x332b97)return _0x5385e4(_0x2ea302([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x300f9f[0x1]={..._0x300f9f[0x1],[_0x2ea302([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x463ffc};},{[_0x2ea302([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2ea302([0x68,0x69,0x67,0x68])}),_0x11444e[_0x2ea302([0x6f,0x6e])](_0x2ea302([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x25281f=>{_0x4919fb(_0x25281f[_0x2ea302([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xdfcde3=!0x0,_0x493eae(_0x25281f[_0x2ea302([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2ea302([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2ea302([0x6c,0x6f,0x77])}),_0x23bb55[_0x2ea302([0x74,0x68,0x65,0x6e])](()=>{_0xdfcde3||_0x5385e4(_0x2ea302([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4dbcef(){return _0x11444e[_0x2ea302([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2ea302([0x76,0x69,0x65,0x77])][_0x2ea302([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2ea302([0x61,0x75,0x74,0x6f]);}function _0x49df94(){_0x11444e[_0x2ea302([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2ea302([0x76,0x69,0x65,0x77])][_0x2ea302([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2ea302([0x61,0x75,0x74,0x6f]);}}(_0x27c8da[_0x2ea302([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x27c8da[_0x2ea302([0x6a,0x74,0x69])]));const _0x566234=await(async function(){let _0x5b860e=!0x0;try{const _0xf08ede=_0x4e8076[_0x2ea302([0x73,0x70,0x6c,0x69,0x74])](_0x2ea302([0x2e])),[_0x2e4bc6,_0x4cc7af,_0x780224]=_0xf08ede;return _0x4112cf(_0x2e4bc6),await _0x4b41e6(_0x2e4bc6,_0x4cc7af,_0x780224),_0x5b860e;}catch{return!0x1;}function _0x4112cf(_0x1d26ef){const _0x38ded7=_0x3b014c(_0x1d26ef);_0x38ded7&&_0x38ded7[_0x2ea302([0x61,0x6c,0x67])]==_0x2ea302([0x45,0x53,0x32,0x35,0x36])||(_0x5b860e=!0x1);}async function _0x4b41e6(_0x5eb45e,_0x48f6a1,_0x5a54e5){const _0x189f3b=window[_0x2ea302([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2ea302([0x66,0x72,0x6f,0x6d])](_0xb88667(_0x5a54e5),_0x17824c=>_0x17824c[_0x2ea302([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x56c646=new window[(_0x2ea302([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2ea302([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5eb45e+_0x2ea302([0x2e])+_0x48f6a1),_0x4c310e=window[_0x2ea302([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2ea302([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4c310e)return;const _0x57213d=await _0x4c310e[_0x2ea302([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2ea302([0x6a,0x77,0x6b]),_0x4ad6a5,{[_0x2ea302([0x6e,0x61,0x6d,0x65])]:_0x2ea302([0x45,0x43,0x44,0x53,0x41]),[_0x2ea302([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2ea302([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2ea302([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4c310e[_0x2ea302([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2ea302([0x6e,0x61,0x6d,0x65])]:_0x2ea302([0x45,0x43,0x44,0x53,0x41]),[_0x2ea302([0x68,0x61,0x73,0x68])]:{[_0x2ea302([0x6e,0x61,0x6d,0x65])]:_0x2ea302([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x57213d,_0x189f3b,_0x56c646)||(_0x5b860e=!0x1);}}());return _0x566234?(function(){const _0xe043a2=_0x27c8da[_0x2ea302([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0xe043a2)return!0x1;if(_0xe043a2[_0x2ea302([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ea302([0x2a])))return!0x0;if(_0xe043a2[_0x2ea302([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ea302([0x41,0x49])))return!0x0;return!0x1;}())?(function(){const _0x8c474b=[_0x2ea302([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2ea302([0x74,0x72,0x69,0x61,0x6c])][_0x2ea302([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27c8da[_0x2ea302([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x51630d/0x3e8:0x69e96100;return _0x27c8da[_0x2ea302([0x65,0x78,0x70])]<_0x8c474b;}())?_0x2ea302([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0xa70e8d=_0x27c8da[_0x2ea302([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xa70e8d||0x0==_0xa70e8d[_0x2ea302([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x567548}=new URL(window[_0x2ea302([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xa70e8d[_0x2ea302([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x567548))return!0x0;const _0x56d97a=_0x567548[_0x2ea302([0x73,0x70,0x6c,0x69,0x74])](_0x2ea302([0x2e]));return _0xa70e8d[_0x2ea302([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1b40d2=>_0x1b40d2[_0x2ea302([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ea302([0x2a])))[_0x2ea302([0x6d,0x61,0x70])](_0x5daad=>_0x5daad[_0x2ea302([0x73,0x70,0x6c,0x69,0x74])](_0x2ea302([0x2e])))[_0x2ea302([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d17ab=>_0x5d17ab[_0x2ea302([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x56d97a[_0x2ea302([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2ea302([0x6d,0x61,0x70])](_0x1eaaa7=>Array(_0x56d97a[_0x2ea302([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1eaaa7[_0x2ea302([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2ea302([0x66,0x69,0x6c,0x6c])](_0x1eaaa7[0x0]===_0x2ea302([0x2a])?_0x2ea302([0x2a]):'')[_0x2ea302([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1eaaa7))[_0x2ea302([0x73,0x6f,0x6d,0x65])](_0x2eec5f=>_0x56d97a[_0x2ea302([0x65,0x76,0x65,0x72,0x79])]((_0x434ac4,_0x200a3f)=>_0x2eec5f[_0x200a3f]===_0x434ac4||_0x2eec5f[_0x200a3f]===_0x2ea302([0x2a])));}())?(_0x27c8da[_0x2ea302([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2ea302([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3b072a=function(_0x4fe4ee){const _0x2875e7=new window[(_0x2ea302([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24e566=>setTimeout(_0x24e566,0x93ecc)),_0x2831ef=_0x23bb55[_0x2ea302([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2ea302([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51126a=>{let _0x9412d1=0x0;_0x11444e[_0x2ea302([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ea302([0x6f,0x6e])](_0x2ea302([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5c25b9,_0x387c80)=>{_0x387c80[0x0][_0x2ea302([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x9412d1++,0x5e8==_0x9412d1&&(_0x51126a(),_0x5c25b9[_0x2ea302([0x6f,0x66,0x66])]());});})),_0x1d81e5=[_0x2875e7,_0x2831ef];return window[_0x2ea302([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2ea302([0x72,0x61,0x63,0x65])](_0x1d81e5)[_0x2ea302([0x74,0x68,0x65,0x6e])](()=>_0x4fe4ee);}(_0x2ea302([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x3b072a&&_0x18c2f8)return new window[(_0x2ea302([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x305c4c,_0x1bf7a3)=>{_0x3b072a[_0x2ea302([0x74,0x68,0x65,0x6e])](_0x305c4c,_0x1bf7a3),_0x18c2f8[_0x2ea302([0x74,0x68,0x65,0x6e])](_0x3ab90f=>{_0x3ab90f!=_0x2ea302([0x56,0x61,0x6c,0x69,0x64])&&_0x305c4c(_0x3ab90f);},_0x1bf7a3);});return _0x3b072a||_0x18c2f8||_0x2ea302([0x56,0x61,0x6c,0x69,0x64]);}())):_0x2ea302([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2ea302([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2ea302([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2ea302([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x3b014c(_0x133c46){return _0x133c46[_0x2ea302([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2ea302([0x65,0x79]))?JSON[_0x2ea302([0x70,0x61,0x72,0x73,0x65])](_0xb88667(_0x133c46)):null;}function _0xb88667(_0x53bc7c){return window[_0x2ea302([0x61,0x74,0x6f,0x62])](_0x53bc7c[_0x2ea302([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2ea302([0x2b]))[_0x2ea302([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2ea302([0x2f])));}function _0x3c322c(_0x300cec){let _0x275532=0x1505;function _0x4e9118(_0x4de74f){for(let _0x183591=0x0;_0x183591<_0x4de74f[_0x2ea302([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x183591++){const _0x5c55a0=_0x4de74f[_0x2ea302([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x183591);_0x275532=(_0x275532<<0x5)+_0x275532+_0x5c55a0,_0x275532&=_0x275532;}}return function _0x31677f(_0x14f855){Array[_0x2ea302([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x14f855)?_0x14f855[_0x2ea302([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x31677f):_0x14f855&&typeof _0x14f855==_0x2ea302([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2ea302([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x14f855)[_0x2ea302([0x73,0x6f,0x72,0x74])]()[_0x2ea302([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x195f89,_0x576285])=>{_0x4e9118(_0x195f89),_0x31677f(_0x576285);}):_0x4e9118(window[_0x2ea302([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x14f855));}(_0x300cec),_0x275532>>>0x0;}function _0x2e91f1(_0xfebfe0){return _0xfebfe0[_0x2ea302([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2ea302([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2ea302([0x30]));}function _0x2a502b(_0x549d25){return _0x549d25[_0x2ea302([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2ea302([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2ea302([0x6a,0x6f,0x69,0x6e])]('');}function _0x3dc6c4(){}function _0x2ea302(_0x4112e4){return _0x4112e4['map'](_0x1f4ba0=>String['fromCharCode'](_0x1f4ba0))['join']('');}!function(_0xa008a1){const _0x439524=(function(){const _0x232d90=window[_0x2ea302([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2ea302([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2ea302([0x6e,0x6f,0x77])]())[_0x2ea302([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2ea302([0x2e]),'');let _0x40fdd2=_0x2ea302([0x6e]);for(let _0x60118d=0x0;_0x60118d<_0x232d90[_0x2ea302([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x60118d+=0x2){let _0x38fb36=window[_0x2ea302([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x232d90[_0x2ea302([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x60118d,_0x60118d+0x2));_0x38fb36>=_0x1fadfb[_0x2ea302([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x38fb36-=_0x1fadfb[_0x2ea302([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x40fdd2+=_0x1fadfb[_0x38fb36];}return _0x40fdd2;}());_0x11444e[_0x439524]=_0x2ea302([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xa008a1,_0xa008a1!=_0x2ea302([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x23bb55,_0x11444e[_0x2ea302([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ea302([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3dc6c4,_0x11444e[_0x2ea302([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ea302([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3dc6c4,_0x11444e[_0x2ea302([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2ea302([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x2fbaad);}class AIAdapter extends ckeditor5['Plugin']{static get['pluginName'](){return'AIAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){if(!this['textAdapter'])throw new ckeditor5['CKEditorError']('aiadapter-text-adapter-not-set',null);}}class AIRequestError extends Error{constructor(_0xf5bda0){super(_0xf5bda0),this['name']='AIRequestError';}}function getTranslation$j(_0x23a50b,_0x3b6db7,_0x46290e){const t=_0x23a50b['t'];switch(_0x3b6db7){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x46290e);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x46290e);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x46290e);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_AWS_NOT_SUPPORTED':return t({'id':'AI_ERROR_AWS_NOT_SUPPORTED','string':'The\x20AWS\x20integration\x20is\x20no\x20longer\x20supported.\x20Please\x20contact\x20the\x20support.'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x3b6db7;}}class ShowAIAssistantCommand extends ckeditor5['Command']{['_commandDefinitions'];constructor(_0x30d81d,_0x2fc0de){super(_0x30d81d),this['_commandDefinitions']=_0x2fc0de,this['set']('enabledCommandsIds',[]),this['on']('change:_hasContext',(_0x2385ad,_0x5bc762,_0x1abddd)=>{this['isEnabled']&&(this['enabledCommandsIds']=_getEnabledCommands(this['_commandDefinitions'],_0x1abddd));}),this['set']('_hasContext',!0x1),this['on']('change:isEnabled',(_0x42f8e6,_0x398445,_0x4b322b)=>{this['enabledCommandsIds']=_0x4b322b?_getEnabledCommands(this['_commandDefinitions'],this['_hasContext']):[];});}['refresh'](){const _0x3d70df=this['editor']['model'];this['_hasContext']=_isContextAvailable(_0x3d70df);const _0x3d1605=_0x3d70df['document']['selection'],_0x472a19=this['editor']['config']['get']('ai.assistant.disabledElements');for(const _0x7fb0b8 of _0x3d1605['getRanges']())for(const _0x329fae of _0x7fb0b8['getItems']())if(_0x329fae['is']('element')&&_0x472a19['includes'](_0x329fae['name']))return void(this['isEnabled']=!0x1);this['isEnabled']=!0x0;}['execute'](_0x1a7681='',_0x799766='',_0x43fa4c='custom'){this['editor']['plugins']['get'](AIAssistantUI)['showUI'](_0x1a7681,_0x799766,_0x43fa4c);}}function _isContextAvailable(_0x162363){const _0x501d51=_0x162363['document']['selection'];return _0x501d51['isCollapsed']?0x0!==[..._0x501d51['getSelectedBlocks']()]['length']&&![..._0x501d51['getSelectedBlocks']()][0x0]['isEmpty']:!!_0x162363['hasContent'](_0x501d51['getFirstRange']());}function _getEnabledCommands(_0x58fe89,_0x3a2ec9){const _0xa89817=new Set();for(const _0x3082ac of _0x58fe89['values']())(_0x3a2ec9||!0x1===_0x3082ac['requiresContent'])&&_0xa89817['add'](_0x3082ac['id']);return Array['from'](_0xa89817);}const _0x199acb=0x64,_0x27ac0a=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');class AIAssistantController extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['editor'];['textAdapter'];['view'];['_sanitizationContainer'];['_domParser'];['_xmlSerializer'];constructor(_0x2f604e,_0x59b1be,_0x531ffa){super(),this['editor']=_0x2f604e,this['textAdapter']=_0x59b1be,this['_sanitizationContainer']=document['createElement']('div'),this['_domParser']=new DOMParser(),this['_xmlSerializer']=new XMLSerializer(),this['view']=_0x531ffa,this['set']({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on']('set:currentContext',(_0x32253d,_0x2ad94e,_0x47eb16)=>{this['view']['value']=this['_sanitizeHTML'](_0x47eb16);}),this['listenTo'](this['view'],'submitPrompt',(_0x10d309,_0x162e33)=>{const _0x2cc083=this['currentContext']||this['initialContext'];this['_handleQuery'](_0x162e33,_0x2cc083,'custom');}),this['listenTo'](this['view'],'tryAgainEvent',()=>{this['view']['prompt']=this['previousLabel'],this['_handleQuery'](this['previousQuery'],this['previousContext'],this['previousActionId'],this['previousLabel']);}),this['listenTo'](this['view'],'stopProcessing',()=>{this['stopProcessing']();});}['destroy'](){this['stopListening']();}async['updateView']({actionId:_0x5c83a5,query:_0x58848f,htmlContent:_0x58fb32,label:_0xc6268,mainActionLabel:_0x3483cf}){this['view']['prompt']=_0xc6268,this['view']['mainAction']=_0x3483cf,this['initialContext']=_0x58fb32,_0x58848f&&(this['view']['isRendered']?this['_handleQuery'](_0x58848f,_0x58fb32,_0x5c83a5,_0xc6268):this['view']['once']('render',()=>{this['_handleQuery'](_0x58848f,_0x58fb32,_0x5c83a5,_0xc6268);}));}['stopProcessing'](){this['isProcessing']&&(this['isProcessing']=!0x1,this['view']['finishProcessing'](),this['textAdapter']['abort']());}['reset'](){this['initialContext']='',this['currentContext']='',this['currentResponse']='',this['previousContext']='',this['previousQuery']='',this['previousLabel']='',this['previousActionId']=void 0x0,this['view']['reset'](),this['stopProcessing']();}async['_handleQuery'](_0x565f35,_0x10e677,_0x2c65c9,_0x695a5d){return this['isProcessing']=!0x0,this['view']['startProcessing'](),this['previousContext']=_0x10e677,this['previousQuery']=_0x565f35,this['previousLabel']=_0x695a5d||_0x565f35,this['previousActionId']=_0x2c65c9,new Promise(_0x84eec1=>{this['textAdapter']['makeRequest']({'query':_0x565f35,'context':_0x10e677,'onData':_0x2035db=>{this['currentResponse']=_0x2035db,this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse']);},'actionId':_0x2c65c9})['then'](()=>{!this['currentContext']&&this['currentResponse']&&(this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse'],!0x0));})['catch'](_0x1de0ca=>{_0x1de0ca instanceof AIRequestError?this['view']['handleError'](_0x1de0ca['message']):this['view']['handleError'](),_0x84eec1();})['finally'](()=>{this['stopProcessing'](),_0x84eec1();});});}['_parseAndNormalizeContent'](_0x5037fa,_0x92d715=!0x1){const _0x3c7317=_0x27ac0a['exec'](_0x5037fa);_0x5037fa=_0x3c7317?_0x5037fa['substring'](_0x3c7317[0x1]['length']):_0x5037fa['length']<_0x199acb&&!_0x92d715?'':this['_stripMarkdownSyntax'](_0x5037fa);const _0x187aeb=this['_domParser']['parseFromString'](_0x5037fa,'text/html');if(_0x3c7317){const _0x3cc660=Array['from'](_0x187aeb['body']['childNodes']);_0x3cc660['reverse']();for(const _0x275c10 of _0x3cc660){if(_0x275c10['nodeType']==Node['ELEMENT_NODE'])break;_0x275c10['remove']();}}const _0x45bbe2=this['editor']['data']['processor']['toView'](this['_xmlSerializer']['serializeToString'](_0x187aeb['body']));this['_isH1TagSupportEnabled']()||this['_normalizeResponseHeadings'](_0x45bbe2);const _0x24c30c=this['editor']['config']['get']('ai.assistant.preserveComments'),_0x5f1dbf=this['editor']['data']['toModel'](_0x45bbe2);return _0x24c30c||_0x5f1dbf['markers']['clear'](),this['editor']['data']['stringify'](_0x5f1dbf);}['_normalizeResponseHeadings'](_0x21240e){const _0x265433=new ckeditor5['ViewUpcastWriter'](this['editor']['editing']['view']['document']),_0x7fe65=new ckeditor5['Matcher']({'name':/^h[1-5]$/}),_0x3e2a6f=[];let _0x566d20=!0x1;for(const _0x3c8a8a of _0x21240e)_0x3c8a8a['is']('element')&&_0x7fe65['match'](_0x3c8a8a)&&(_0x3e2a6f['push'](_0x3c8a8a),'h1'==_0x3c8a8a['name']&&(_0x566d20=!0x0));if(_0x566d20){for(const _0x1f1a2d of _0x3e2a6f)_0x265433['rename']('h'+(parseInt(_0x1f1a2d['name'][0x1])+0x1),_0x1f1a2d);}}['_isH1TagSupportEnabled'](){const {data:_0x415d34,editing:_0x19fe43}=this['editor'],_0x21816e=_0x415d34['htmlProcessor']['toView']('<h1></h1>'),_0x3aca8c=_0x415d34['toView'](_0x415d34['toModel'](_0x21816e));return!!_0x19fe43['view']['domConverter']['viewToDom'](_0x3aca8c)['querySelector']('h1');}['_sanitizeHTML'](_0x153a10){return this['editor']['editing']['view']['domConverter']['setContentOf'](this['_sanitizationContainer'],_0x153a10),this['_sanitizationContainer']['innerHTML'];}['_stripMarkdownSyntax'](_0x229f92){const _0x29610a=_0x229f92['trim']();return _0x29610a['startsWith']('```html')?_0x29610a['endsWith']('```')?_0x29610a['substring'](0x7,_0x29610a['length']-0x3):_0x29610a['substring'](0x7):_0x229f92;}}const AIFormToolbarViewMainActionLabel={'REPLACE':'replace','INSERT':'insert'};class _0x589447 extends ckeditor5['ToolbarView']{constructor(_0xcafb35){super(_0xcafb35),this['set']('isVisible',!0x1),this['set']('mainAction',AIFormToolbarViewMainActionLabel['REPLACE']),this['replaceButton']=this['_createButton']('','ck-button-action'),this['replaceButton']['bind']('label')['to'](this,'mainAction',_0x4b73bd=>getTranslation$j(_0xcafb35,'AI_'+_0x4b73bd['toUpperCase']()+'_CONTENT')),this['insertButton']=this['_createButton'](getTranslation$j(_0xcafb35,'Insert\x20below')),this['tryAgainButton']=this['_createButton'](getTranslation$j(_0xcafb35,'Try\x20again')),this['stopButton']=this['_createButton'](getTranslation$j(_0xcafb35,'Stop'));const _0xda1af6=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-form__toolbar',_0xda1af6['if']('isVisible','ck-hidden',_0x363035=>!_0x363035)]}}),this['items']['addMany']([this['replaceButton'],this['insertButton'],this['tryAgainButton'],this['stopButton']]);}['_createButton'](_0x412143,_0x2b5151){const _0x2d148d=new ckeditor5['ButtonView'](this['locale']);return _0x2d148d['set']({'label':_0x412143,'class':_0x2b5151||'','isVisible':!0x0,'withText':!0x0}),_0x2d148d;}}class AIFormContentArea extends ckeditor5['View']{['contentFieldView'];['copyButtonView'];constructor(_0x3450a3,_0x2c2b9a=''){super(_0x3450a3),this['set']({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x44e95e=this['bindTemplate'];this['contentFieldView']=new ContentFieldView(_0x3450a3,_0x2c2b9a),this['copyButtonView']=this['_createCopyButton'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area-wrapper',_0x44e95e['if']('isVisible','ck-hidden',_0x4b64ea=>!_0x4b64ea)],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area',_0x44e95e['if']('isProcessing','ck-ai-form__content-area--processing')]},'children':[this['contentFieldView'],{'tag':'div','attributes':{'class':['ck','ck-ai-form__copy-button-wrapper']},'children':[this['copyButtonView']]}]}]});}['render'](){super['render'](),this['value']&&this['contentFieldView']['setContent'](this['value']);let _0x47ae61=!0x1;this['on']('change:value',(_0x42de23,_0x57fd4b,_0x30f025)=>{const _0xa9aca2=!this['contentFieldView']['element']['querySelector']('.ck-ai-form__loader');this['contentFieldView']['setContent'](_0x30f025),this['isProcessing']&&_0xa9aca2&&!_0x47ae61&&this['element']['scrollTo']({'top':this['element']['scrollHeight'],'behavior':'smooth'});}),this['on']('change:isProcessing',(_0x5445c6,_0x1765f3,_0xf6f7fa)=>{_0x47ae61=!0x1,_0xf6f7fa?(this['value']=null,this['contentFieldView']['appendLoader']()):this['value']||this['contentFieldView']['setContent']('');}),this['listenTo'](this['element'],'wheel',()=>{_0x47ae61=!0x0;}),this['listenTo'](this['element'],'mousedown',()=>{_0x47ae61=!0x0;});}['focus'](){this['element']['focus']();}['_createCopyButton'](){const _0x2c17d8=this['locale'],_0x55c880=new ckeditor5['ButtonView'](this['locale']),_0x4b225f='ck-ai-form__copy-button';return _0x55c880['set']({'label':getTranslation$j(_0x2c17d8,'Copy'),'icon':ckeditor5['IconCopy'],'class':_0x4b225f,'tooltip':!0x0}),_0x55c880['bind']('isVisible')['to'](this,'value',_0x269cbf=>!!_0x269cbf),_0x55c880['bind']('isEnabled')['to'](this,'isProcessing',_0x4dacbe=>!_0x4dacbe),_0x55c880['on']('execute',()=>{this['_copyHTMLToClipboard'](this['contentFieldView']['element']),_0x55c880['icon']=ckeditor5['IconCheck'],_0x55c880['class']=_0x4b225f+'\x20ck-ai-form__copy-button--copied',this['focus'](),setTimeout(()=>{_0x55c880['icon']=ckeditor5['IconCopy'],_0x55c880['class']=_0x4b225f;},0x3e8);}),_0x55c880;}['_copyHTMLToClipboard'](_0x3670f9){const {window:_0x421442,document:_0x5ddad3}=ckeditor5['global'];if(_0x421442['ClipboardItem']){const {Blob:_0x94bad3,ClipboardItem:_0x59db5c}=_0x421442,_0x4b8b8f=[new _0x59db5c({'text/html':new _0x94bad3([_0x3670f9['innerHTML']],{'type':'text/html'}),'text/plain':new _0x94bad3([_0x3670f9['textContent']||''],{'type':'text/plain'})})];navigator['clipboard']['write'](_0x4b8b8f);}else{const _0x53ed7e=_0x5ddad3['createElement']('div');_0x53ed7e['style']['position']='absolute',_0x53ed7e['style']['left']='-9999px',_0x53ed7e['innerHTML']='<span>[</span>'+_0x3670f9['innerHTML']+'<span>]</span>',_0x5ddad3['body']['appendChild'](_0x53ed7e);const _0x51ccc5=_0x5ddad3['createRange']();_0x51ccc5['setStartAfter'](_0x53ed7e['firstElementChild']),_0x51ccc5['setEndBefore'](_0x53ed7e['lastElementChild']);const _0x3d8791=_0x421442['getSelection']();_0x3d8791['removeAllRanges'](),_0x3d8791['addRange'](_0x51ccc5),_0x5ddad3['execCommand']('copy'),_0x53ed7e['remove']();}}}class ContentFieldView extends ckeditor5['View']{constructor(_0x2a782b,_0x45d886=''){super(_0x2a782b),this['loaderView']=this['_createLoader'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content',_0x45d886,'ck-reset_all-excluded','ck-ai-form__content-field']}});}['setContent'](_0x2ff409){this['element']['innerHTML']=_0x2ff409;}['appendLoader'](){this['element']['appendChild'](this['loaderView']['element']);}['_createLoader'](){const _0x526c5a=new ckeditor5['View'](),_0x13fc73=this['locale'],_0xafee82=new ckeditor5['SpinnerView']();return _0xafee82['isVisible']=!0x0,_0x526c5a['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__loader']},'children':[_0xafee82,{'text':getTranslation$j(_0x13fc73,'AI\x20is\x20writing...')}]}),_0x526c5a['render'](),_0x526c5a;}}class _0x134173 extends ckeditor5['View']{constructor(_0x684f08,_0xb6051a=''){super(_0x684f08);const _0xcb8da6=new ckeditor5['IconView'](),_0x1e2e0a=this['bindTemplate'];this['set']('text',_0xb6051a),_0xcb8da6['content']=ckeditor5['IconError'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__error']},'children':[_0xcb8da6,{'text':_0x1e2e0a['to']('text')}]});}}class AIFormPromptView extends ckeditor5['AutocompleteView']{['submitButtonView'];['showHistoryButtonView'];constructor(_0x4d45b0,_0x87e64){super(_0x4d45b0,_0x87e64),this['queryView']['fieldView']['minRows']=0x1,this['queryView']['fieldView']['maxRows']=0x3,this['submitButtonView']=this['_createSubmitButton'](),this['showHistoryButtonView']=this['_createShowHistoryButton'](),this['focusableChildren']['add'](this['showHistoryButtonView'],0x1),this['focusableChildren']['add'](this['submitButtonView']);}['render'](){super['render'](),this['queryView']['fieldWrapperChildren']['add'](this['showHistoryButtonView']),this['children']['add'](this['submitButtonView']),this['keystrokes']['set']('enter',(_0x15397a,_0x2d6c3e)=>{_0x15397a['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x2d6c3e());});}['_createSubmitButton'](){const _0x196d80=new ckeditor5['ButtonView'](this['locale']),_0x3476c6=this['locale'];return _0x196d80['set']({'icon':ckeditor5['IconSubmit'],'label':getTranslation$j(_0x3476c6,'Submit'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-form__submit'}),_0x196d80['on']('execute',()=>{this['submit']();}),_0x196d80['bind']('isEnabled')['to'](this['queryView']['fieldView'],'isEmpty',this,'isEnabled',(_0xbd8daf,_0x4e8027)=>!_0xbd8daf&&_0x4e8027),_0x196d80;}['_createShowHistoryButton'](){const _0x17e2b3=new ckeditor5['ButtonView'](this['locale']),_0x501952=this['resultsView'],_0x169d9a=this['locale'];_0x17e2b3['set']({'label':getTranslation$j(_0x169d9a,'History'),'withText':!0x1,'icon':ckeditor5['IconAIHistory'],'tooltip':!0x0,'tooltipPosition':'sw','class':'ck-ai-form__toggle-history'}),_0x17e2b3['bind']('isOn')['to'](_0x501952,'isVisible'),_0x17e2b3['bind']('isEnabled')['to'](this,'isEnabled'),_0x17e2b3['on']('execute',()=>{_0x501952['isVisible']=!_0x501952['isVisible'],_0x501952['isVisible']?this['filteredView']['focus']():this['focus']();});const _0x5648d4=()=>{ckeditor5['global']['window']['requestAnimationFrame'](()=>{if(ckeditor5['isVisible'](this['element'])){const _0x277749=new ckeditor5['Rect'](this['queryView']['fieldView']['element']),_0x3723dc=_0x277749['width'],_0x5ebb56='rtl'===_0x169d9a['uiLanguageDirection']?'left':'right';_0x277749['excludeScrollbarsAndBorders'](),_0x17e2b3['element']['style'][_0x5ebb56]=_0x3723dc-_0x277749['width']+0x1+'px';}});};return this['queryView']['fieldView']['on']('update',_0x5648d4),this['on']('render',_0x5648d4),_0x17e2b3;}['submit'](){const _0x531030=this['queryView']['fieldView']['element']['value'];this['fire']('submit',_0x531030);}['focus'](_0x11b437){-0x1===_0x11b437?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}}class AIHistoryListView extends ckeditor5['ListView']{['historyGroupView'];['clearHistoryButton'];constructor(_0x47161f){super(_0x47161f),this['clearHistoryButton']=this['_createClearHistoryButton'](),this['historyGroupView']=new ckeditor5['ListItemGroupView'](),this['historyGroupView']['children']['add'](this['clearHistoryButton'],0x1),this['historyGroupView']['label']=getTranslation$j(_0x47161f,'Prompt\x20history'),this['historyGroupView']['items']['delegate']('execute')['to'](this),this['items']['add'](this['historyGroupView']);}['filter'](){let _0x18b299=0x0;for(const _0x3214f4 of this['items'])_0x18b299+=_0x3214f4['items']['length'];return{'resultsCount':_0x18b299,'totalItemsCount':_0x18b299};}['_createClearHistoryButton'](){const _0x180f5a=this['locale'],_0xf2469f=new ckeditor5['ButtonView'](this['locale']);return _0xf2469f['set']({'label':'('+getTranslation$j(_0x180f5a,'Clear')+')','withText':!0x0}),_0xf2469f['on']('execute',()=>this['fire']('clearHistory')),_0xf2469f;}}function isUnsafeProperty(_0x488843){return'__proto__'===_0x488843;}function _0x21bf7b(_0x3472e9){switch(typeof _0x3472e9){case'number':case'symbol':return!0x1;case'string':return _0x3472e9['includes']('.')||_0x3472e9['includes']('[')||_0x3472e9['includes'](']');}}function toKey(_0x1d19c4){return'string'==typeof _0x1d19c4||'symbol'==typeof _0x1d19c4?_0x1d19c4:Object['is'](_0x1d19c4?.['valueOf']?.(),-0x0)?'-0':String(_0x1d19c4);}function toPath(_0x3e0aa5){const _0x439981=[],_0x5d6924=_0x3e0aa5['length'];if(0x0===_0x5d6924)return _0x439981;let _0x3c49e1=0x0,_0x9f0619='',_0x2ff415='',_0x50da5f=!0x1;for(0x2e===_0x3e0aa5['charCodeAt'](0x0)&&(_0x439981['push'](''),_0x3c49e1++);_0x3c49e1<_0x5d6924;){const _0x5bf38f=_0x3e0aa5[_0x3c49e1];_0x2ff415?'\x5c'===_0x5bf38f&&_0x3c49e1+0x1<_0x5d6924?(_0x3c49e1++,_0x9f0619+=_0x3e0aa5[_0x3c49e1]):_0x5bf38f===_0x2ff415?_0x2ff415='':_0x9f0619+=_0x5bf38f:_0x50da5f?'\x22'===_0x5bf38f||'\x27'===_0x5bf38f?_0x2ff415=_0x5bf38f:']'===_0x5bf38f?(_0x50da5f=!0x1,_0x439981['push'](_0x9f0619),_0x9f0619=''):_0x9f0619+=_0x5bf38f:'['===_0x5bf38f?(_0x50da5f=!0x0,_0x9f0619&&(_0x439981['push'](_0x9f0619),_0x9f0619='')):'.'===_0x5bf38f?_0x9f0619&&(_0x439981['push'](_0x9f0619),_0x9f0619=''):_0x9f0619+=_0x5bf38f,_0x3c49e1++;}return _0x9f0619&&_0x439981['push'](_0x9f0619),_0x439981;}function get(_0x159908,_0x5704f4,_0x3a104e){if(null==_0x159908)return _0x3a104e;switch(typeof _0x5704f4){case'string':{if(isUnsafeProperty(_0x5704f4))return _0x3a104e;const _0x4d9b78=_0x159908[_0x5704f4];return void 0x0===_0x4d9b78?_0x21bf7b(_0x5704f4)?get(_0x159908,toPath(_0x5704f4),_0x3a104e):_0x3a104e:_0x4d9b78;}case'number':case'symbol':{'number'==typeof _0x5704f4&&(_0x5704f4=toKey(_0x5704f4));const _0x538d1e=_0x159908[_0x5704f4];return void 0x0===_0x538d1e?_0x3a104e:_0x538d1e;}default:{if(Array['isArray'](_0x5704f4))return getWithPath(_0x159908,_0x5704f4,_0x3a104e);if(isUnsafeProperty(_0x5704f4=Object['is'](_0x5704f4?.['valueOf'](),-0x0)?'-0':String(_0x5704f4)))return _0x3a104e;const _0x440378=_0x159908[_0x5704f4];return void 0x0===_0x440378?_0x3a104e:_0x440378;}}}function getWithPath(_0x1a4710,_0xdff07f,_0x4298db){if(0x0===_0xdff07f['length'])return _0x4298db;let _0x2fab95=_0x1a4710;for(let _0x5860be=0x0;_0x5860be<_0xdff07f['length'];_0x5860be++){if(null==_0x2fab95)return _0x4298db;if(isUnsafeProperty(_0xdff07f[_0x5860be]))return _0x4298db;_0x2fab95=_0x2fab95[_0xdff07f[_0x5860be]];}return void 0x0===_0x2fab95?_0x4298db:_0x2fab95;}function isObject$3(_0x8c57c0){return null!==_0x8c57c0&&('object'==typeof _0x8c57c0||'function'==typeof _0x8c57c0);}function isPrimitive(_0x448abb){return null==_0x448abb||'object'!=typeof _0x448abb&&'function'!=typeof _0x448abb;}function _0x405636(_0x2ce9ac,_0x350a78){return _0x2ce9ac===_0x350a78||Number['isNaN'](_0x2ce9ac)&&Number['isNaN'](_0x350a78);}function getSymbols(_0x2c2075){return Object['getOwnPropertySymbols'](_0x2c2075)['filter'](_0x215366=>Object['prototype']['propertyIsEnumerable']['call'](_0x2c2075,_0x215366));}function getTag(_0x21acd2){return null==_0x21acd2?void 0x0===_0x21acd2?'[object\x20Undefined]':'[object\x20Null]':Object['prototype']['toString']['call'](_0x21acd2);}const _0x2614c9='[object\x20RegExp]',stringTag='[object\x20String]',_0x43e012='[object\x20Number]',_0x1e9b54='[object\x20Boolean]',argumentsTag='[object\x20Arguments]',_0x18f4e9='[object\x20Symbol]',dateTag='[object\x20Date]',_0xb1af9b='[object\x20Map]',setTag='[object\x20Set]',_0x5e2aff='[object\x20Array]',functionTag='[object\x20Function]',_0x13391e='[object\x20ArrayBuffer]',objectTag='[object\x20Object]',_0x537ecc='[object\x20Error]',dataViewTag='[object\x20DataView]',uint8ArrayTag='[object\x20Uint8Array]',uint8ClampedArrayTag='[object\x20Uint8ClampedArray]',uint16ArrayTag='[object\x20Uint16Array]',uint32ArrayTag='[object\x20Uint32Array]',bigUint64ArrayTag='[object\x20BigUint64Array]',int8ArrayTag='[object\x20Int8Array]',int16ArrayTag='[object\x20Int16Array]',int32ArrayTag='[object\x20Int32Array]',bigInt64ArrayTag='[object\x20BigInt64Array]',float32ArrayTag='[object\x20Float32Array]',float64ArrayTag='[object\x20Float64Array]';function _0x5c543c(_0x44f948){return ArrayBuffer['isView'](_0x44f948)&&!(_0x44f948 instanceof DataView);}function cloneDeepWith$1(_0x19d8a3,_0xe1dafd){return cloneDeepWithImpl(_0x19d8a3,void 0x0,_0x19d8a3,new Map(),_0xe1dafd);}function cloneDeepWithImpl(_0x435544,_0x3c46ce,_0x196892,_0x240b2b=new Map(),_0x3a87c4=void 0x0){const _0x1abe99=_0x3a87c4?.(_0x435544,_0x3c46ce,_0x196892,_0x240b2b);if(null!=_0x1abe99)return _0x1abe99;if(isPrimitive(_0x435544))return _0x435544;if(_0x240b2b['has'](_0x435544))return _0x240b2b['get'](_0x435544);if(Array['isArray'](_0x435544)){const _0x5cc0cd=new Array(_0x435544['length']);_0x240b2b['set'](_0x435544,_0x5cc0cd);for(let _0x49109b=0x0;_0x49109b<_0x435544['length'];_0x49109b++)_0x5cc0cd[_0x49109b]=cloneDeepWithImpl(_0x435544[_0x49109b],_0x49109b,_0x196892,_0x240b2b,_0x3a87c4);return Object['hasOwn'](_0x435544,'index')&&(_0x5cc0cd['index']=_0x435544['index']),Object['hasOwn'](_0x435544,'input')&&(_0x5cc0cd['input']=_0x435544['input']),_0x5cc0cd;}if(_0x435544 instanceof Date)return new Date(_0x435544['getTime']());if(_0x435544 instanceof RegExp){const _0x131c04=new RegExp(_0x435544['source'],_0x435544['flags']);return _0x131c04['lastIndex']=_0x435544['lastIndex'],_0x131c04;}if(_0x435544 instanceof Map){const _0x54023f=new Map();_0x240b2b['set'](_0x435544,_0x54023f);for(const [_0x3ae4c7,_0x255947]of _0x435544)_0x54023f['set'](_0x3ae4c7,cloneDeepWithImpl(_0x255947,_0x3ae4c7,_0x196892,_0x240b2b,_0x3a87c4));return _0x54023f;}if(_0x435544 instanceof Set){const _0x388c25=new Set();_0x240b2b['set'](_0x435544,_0x388c25);for(const _0x425dca of _0x435544)_0x388c25['add'](cloneDeepWithImpl(_0x425dca,void 0x0,_0x196892,_0x240b2b,_0x3a87c4));return _0x388c25;}if('undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x435544))return _0x435544['subarray']();if(_0x5c543c(_0x435544)){const _0x35ee1e=new(Object['getPrototypeOf'](_0x435544))['constructor'](_0x435544['length']);_0x240b2b['set'](_0x435544,_0x35ee1e);for(let _0x15fa9e=0x0;_0x15fa9e<_0x435544['length'];_0x15fa9e++)_0x35ee1e[_0x15fa9e]=cloneDeepWithImpl(_0x435544[_0x15fa9e],_0x15fa9e,_0x196892,_0x240b2b,_0x3a87c4);return _0x35ee1e;}if(_0x435544 instanceof ArrayBuffer||'undefined'!=typeof SharedArrayBuffer&&_0x435544 instanceof SharedArrayBuffer)return _0x435544['slice'](0x0);if(_0x435544 instanceof DataView){const _0x1b6db9=new DataView(_0x435544['buffer']['slice'](0x0),_0x435544['byteOffset'],_0x435544['byteLength']);return _0x240b2b['set'](_0x435544,_0x1b6db9),copyProperties(_0x1b6db9,_0x435544,_0x196892,_0x240b2b,_0x3a87c4),_0x1b6db9;}if('undefined'!=typeof File&&_0x435544 instanceof File){const _0x2ddedf=new File([_0x435544],_0x435544['name'],{'type':_0x435544['type']});return _0x240b2b['set'](_0x435544,_0x2ddedf),copyProperties(_0x2ddedf,_0x435544,_0x196892,_0x240b2b,_0x3a87c4),_0x2ddedf;}if(_0x435544 instanceof Blob){const _0x5e23e7=new Blob([_0x435544],{'type':_0x435544['type']});return _0x240b2b['set'](_0x435544,_0x5e23e7),copyProperties(_0x5e23e7,_0x435544,_0x196892,_0x240b2b,_0x3a87c4),_0x5e23e7;}if(_0x435544 instanceof Error){const _0x46176d=new _0x435544['constructor']();return _0x240b2b['set'](_0x435544,_0x46176d),_0x46176d['message']=_0x435544['message'],_0x46176d['name']=_0x435544['name'],_0x46176d['stack']=_0x435544['stack'],_0x46176d['cause']=_0x435544['cause'],copyProperties(_0x46176d,_0x435544,_0x196892,_0x240b2b,_0x3a87c4),_0x46176d;}if('object'==typeof _0x435544&&isCloneableObject(_0x435544)){const _0x25bb36=Object['create'](Object['getPrototypeOf'](_0x435544));return _0x240b2b['set'](_0x435544,_0x25bb36),copyProperties(_0x25bb36,_0x435544,_0x196892,_0x240b2b,_0x3a87c4),_0x25bb36;}return _0x435544;}function copyProperties(_0x32efa4,_0x25b752,_0x383cd5=_0x32efa4,_0x134232,_0x209cbc){const _0x499dd2=[...Object['keys'](_0x25b752),...getSymbols(_0x25b752)];for(let _0x25928c=0x0;_0x25928c<_0x499dd2['length'];_0x25928c++){const _0x45f999=_0x499dd2[_0x25928c],_0x117324=Object['getOwnPropertyDescriptor'](_0x32efa4,_0x45f999);(null==_0x117324||_0x117324['writable'])&&(_0x32efa4[_0x45f999]=cloneDeepWithImpl(_0x25b752[_0x45f999],_0x45f999,_0x383cd5,_0x134232,_0x209cbc));}}function isCloneableObject(_0x5acb46){switch(getTag(_0x5acb46)){case argumentsTag:case _0x5e2aff:case _0x13391e:case dataViewTag:case _0x1e9b54:case dateTag:case float32ArrayTag:case float64ArrayTag:case int8ArrayTag:case int16ArrayTag:case int32ArrayTag:case _0xb1af9b:case _0x43e012:case objectTag:case _0x2614c9:case setTag:case stringTag:case _0x18f4e9:case uint8ArrayTag:case uint8ClampedArrayTag:case uint16ArrayTag:case uint32ArrayTag:return!0x0;default:return!0x1;}}function _0x327359(_0x5e95b6){return cloneDeepWithImpl(_0x5e95b6,void 0x0,_0x5e95b6,new Map(),void 0x0);}function cloneDeepWith(_0x1473a7,_0x2db542){return cloneDeepWith$1(_0x1473a7,(_0x21c7ad,_0x523ffc,_0x35720a,_0x44ebdd)=>{if('object'==typeof _0x1473a7)switch(Object['prototype']['toString']['call'](_0x1473a7)){case _0x43e012:case stringTag:case _0x1e9b54:{const _0x100f63=new _0x1473a7['constructor'](_0x1473a7?.['valueOf']());return copyProperties(_0x100f63,_0x1473a7),_0x100f63;}case argumentsTag:{const _0x5c8b8c={};return copyProperties(_0x5c8b8c,_0x1473a7),_0x5c8b8c['length']=_0x1473a7['length'],_0x5c8b8c[Symbol['iterator']]=_0x1473a7[Symbol['iterator']],_0x5c8b8c;}default:return;}});}function _0x402449(_0x4939c5){return cloneDeepWith(_0x4939c5);}const _0x325312=/^(?:0|[1-9]\d*)$/;function _0x3b0afd(_0xb01f7,_0x4da9b2=Number['MAX_SAFE_INTEGER']){switch(typeof _0xb01f7){case'number':return Number['isInteger'](_0xb01f7)&&_0xb01f7>=0x0&&_0xb01f7<_0x4da9b2;case'symbol':return!0x1;case'string':return _0x325312['test'](_0xb01f7);}}function isObjectLike(_0x1f599c){return'object'==typeof _0x1f599c&&null!==_0x1f599c;}function _0xf19dc2(_0x3337c0){return'symbol'==typeof _0x3337c0||_0x3337c0 instanceof Symbol;}const _0xa1124b=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,_0x3c4c9b=/^\w*$/;function _0x3004da(_0x27069e,_0x1805ef){return!Array['isArray'](_0x27069e)&&(!('number'!=typeof _0x27069e&&'boolean'!=typeof _0x27069e&&null!=_0x27069e&&!_0xf19dc2(_0x27069e))||('string'==typeof _0x27069e&&(_0x3c4c9b['test'](_0x27069e)||!_0xa1124b['test'](_0x27069e))||null!=_0x1805ef&&Object['hasOwn'](_0x1805ef,_0x27069e)));}function unset(_0x4ac628,_0x322abb){if(null==_0x4ac628)return!0x0;switch(typeof _0x322abb){case'symbol':case'number':case'object':if(Array['isArray'](_0x322abb))return unsetWithPath(_0x4ac628,_0x322abb);if('number'==typeof _0x322abb?_0x322abb=toKey(_0x322abb):'object'==typeof _0x322abb&&(_0x322abb=Object['is'](_0x322abb?.['valueOf'](),-0x0)?'-0':String(_0x322abb)),isUnsafeProperty(_0x322abb))return!0x1;if(void 0x0===_0x4ac628?.[_0x322abb])return!0x0;try{return delete _0x4ac628[_0x322abb],!0x0;}catch{return!0x1;}case'string':if(void 0x0===_0x4ac628?.[_0x322abb]&&_0x21bf7b(_0x322abb))return unsetWithPath(_0x4ac628,toPath(_0x322abb));if(isUnsafeProperty(_0x322abb))return!0x1;try{return delete _0x4ac628[_0x322abb],!0x0;}catch{return!0x1;}}}function unsetWithPath(_0x328a2b,_0x18f150){const _0x5f25b6=get(_0x328a2b,_0x18f150['slice'](0x0,-0x1),_0x328a2b),_0x3d1c30=_0x18f150[_0x18f150['length']-0x1];if(void 0x0===_0x5f25b6?.[_0x3d1c30])return!0x0;if(isUnsafeProperty(_0x3d1c30))return!0x1;try{return delete _0x5f25b6[_0x3d1c30],!0x0;}catch{return!0x1;}}const _0x5b8868=(_0x252e96,_0x217dbd,_0x297fb4)=>{const _0x4201e6=_0x252e96[_0x217dbd];Object['hasOwn'](_0x252e96,_0x217dbd)&&_0x405636(_0x4201e6,_0x297fb4)&&(void 0x0!==_0x297fb4||_0x217dbd in _0x252e96)||(_0x252e96[_0x217dbd]=_0x297fb4);};function updateWith(_0x21bcc4,_0xfd25ee,_0x43ae9a,_0x49ef9e){if(null==_0x21bcc4&&!isObject$3(_0x21bcc4))return _0x21bcc4;const _0x141be7=_0x3004da(_0xfd25ee,_0x21bcc4)?[_0xfd25ee]:Array['isArray'](_0xfd25ee)?_0xfd25ee:'string'==typeof _0xfd25ee?toPath(_0xfd25ee):[_0xfd25ee];let _0x4fa2ef=_0x21bcc4;for(let _0x578285=0x0;_0x578285<_0x141be7['length']&&null!=_0x4fa2ef;_0x578285++){const _0xe9789b=toKey(_0x141be7[_0x578285]);if(isUnsafeProperty(_0xe9789b))continue;let _0x43d250;if(_0x578285===_0x141be7['length']-0x1)_0x43d250=_0x43ae9a(_0x4fa2ef[_0xe9789b]);else{const _0x344414=_0x4fa2ef[_0xe9789b],_0x3b98ae=_0x49ef9e?.(_0x344414,_0xe9789b,_0x21bcc4);_0x43d250=void 0x0!==_0x3b98ae?_0x3b98ae:isObject$3(_0x344414)?_0x344414:_0x3b0afd(_0x141be7[_0x578285+0x1])?[]:{};}_0x5b8868(_0x4fa2ef,_0xe9789b,_0x43d250),_0x4fa2ef=_0x4fa2ef[_0xe9789b];}return _0x21bcc4;}function set(_0x24a6de,_0x107330,_0x43f454){return updateWith(_0x24a6de,_0x107330,()=>_0x43f454,()=>{});}function _0x21faec(_0x310027,_0x5a7185,{signal:_0x24a15a,edges:_0x1750e4}={}){let _0x1451dd,_0x430490=null;const _0x5832d5=null!=_0x1750e4&&_0x1750e4['includes']('leading'),_0x5eb737=null==_0x1750e4||_0x1750e4['includes']('trailing'),_0x55c993=()=>{null!==_0x430490&&(_0x310027['apply'](_0x1451dd,_0x430490),_0x1451dd=void 0x0,_0x430490=null);};let _0x568812=null;const _0x266e2c=()=>{null!=_0x568812&&clearTimeout(_0x568812),_0x568812=setTimeout(()=>{_0x568812=null,_0x5eb737&&_0x55c993(),_0x472758();},_0x5a7185);},_0x3a0026=()=>{null!==_0x568812&&(clearTimeout(_0x568812),_0x568812=null);},_0x472758=()=>{_0x3a0026(),_0x1451dd=void 0x0,_0x430490=null;},_0x2d4d86=function(..._0xd6072d){if(_0x24a15a?.['aborted'])return;_0x1451dd=this,_0x430490=_0xd6072d;const _0x2f0cef=null==_0x568812;_0x266e2c(),_0x5832d5&&_0x2f0cef&&_0x55c993();};return _0x2d4d86['schedule']=_0x266e2c,_0x2d4d86['cancel']=_0x472758,_0x2d4d86['flush']=()=>{_0x3a0026(),_0x55c993();},_0x24a15a?.['addEventListener']('abort',_0x472758,{'once':!0x0}),_0x2d4d86;}function _0x3a37b9(_0x53245d,_0x246ac0=0x0,_0x4f81aa={}){'object'!=typeof _0x4f81aa&&(_0x4f81aa={});const {leading:_0x26dee4=!0x1,trailing:_0x5dfd52=!0x0,maxWait:_0x21fb49}=_0x4f81aa,_0x156d3b=Array(0x2);let _0x45bb47;_0x26dee4&&(_0x156d3b[0x0]='leading'),_0x5dfd52&&(_0x156d3b[0x1]='trailing');let _0x3f3586=null;const _0x19a8bb=_0x21faec(function(..._0x1f8ffb){_0x45bb47=_0x53245d['apply'](this,_0x1f8ffb),_0x3f3586=null;},_0x246ac0,{'edges':_0x156d3b}),_0x370448=function(..._0x30f1f2){return null!=_0x21fb49&&(null===_0x3f3586&&(_0x3f3586=Date['now']()),Date['now']()-_0x3f3586>=_0x21fb49)?(_0x45bb47=_0x53245d['apply'](this,_0x30f1f2),_0x3f3586=Date['now'](),_0x19a8bb['cancel'](),_0x19a8bb['schedule'](),_0x45bb47):(_0x19a8bb['apply'](this,_0x30f1f2),_0x45bb47);};return _0x370448['cancel']=_0x19a8bb['cancel'],_0x370448['flush']=()=>(_0x19a8bb['flush'](),_0x45bb47),_0x370448;}function throttle$1(_0xd8d059,_0x7f1878=0x0,_0x28f01d={}){'object'!=typeof _0x28f01d&&(_0x28f01d={});const {leading:_0x173d72=!0x0,trailing:_0x43cec1=!0x0}=_0x28f01d;return _0x3a37b9(_0xd8d059,_0x7f1878,{'leading':_0x173d72,'trailing':_0x43cec1,'maxWait':_0x7f1878});}function toString$2(_0x3aa872){if(null==_0x3aa872)return'';if('string'==typeof _0x3aa872)return _0x3aa872;if(Array['isArray'](_0x3aa872))return _0x3aa872['map'](toString$2)['join'](',');const _0x23086c=String(_0x3aa872);return'0'===_0x23086c&&Object['is'](Number(_0x3aa872),-0x0)?'-0':_0x23086c;}function isPlainObject$1(_0x7c904){if(!_0x7c904||'object'!=typeof _0x7c904)return!0x1;const _0x7f8d15=Object['getPrototypeOf'](_0x7c904);return!(null!==_0x7f8d15&&_0x7f8d15!==Object['prototype']&&null!==Object['getPrototypeOf'](_0x7f8d15))&&'[object\x20Object]'===Object['prototype']['toString']['call'](_0x7c904);}function isEqualWith(_0x20e02a,_0x145195,_0x1ac912){return isEqualWithImpl(_0x20e02a,_0x145195,void 0x0,void 0x0,void 0x0,void 0x0,_0x1ac912);}function isEqualWithImpl(_0x1cd5ed,_0x9b47c5,_0x42aba1,_0x3d8771,_0x5d1fa7,_0x103553,_0x266ba1){const _0x201971=_0x266ba1(_0x1cd5ed,_0x9b47c5,_0x42aba1,_0x3d8771,_0x5d1fa7,_0x103553);if(void 0x0!==_0x201971)return _0x201971;if(typeof _0x1cd5ed==typeof _0x9b47c5)switch(typeof _0x1cd5ed){case'bigint':case'string':case'boolean':case'symbol':case'undefined':case'function':return _0x1cd5ed===_0x9b47c5;case'number':return _0x1cd5ed===_0x9b47c5||Object['is'](_0x1cd5ed,_0x9b47c5);case'object':return areObjectsEqual(_0x1cd5ed,_0x9b47c5,_0x103553,_0x266ba1);}return areObjectsEqual(_0x1cd5ed,_0x9b47c5,_0x103553,_0x266ba1);}function areObjectsEqual(_0x34cb05,_0x1d3f9f,_0x1324ab,_0x2a7877){if(Object['is'](_0x34cb05,_0x1d3f9f))return!0x0;let _0x3325dd=getTag(_0x34cb05),_0x41efca=getTag(_0x1d3f9f);if(_0x3325dd===argumentsTag&&(_0x3325dd=objectTag),_0x41efca===argumentsTag&&(_0x41efca=objectTag),_0x3325dd!==_0x41efca)return!0x1;switch(_0x3325dd){case stringTag:return _0x34cb05['toString']()===_0x1d3f9f['toString']();case _0x43e012:return _0x405636(_0x34cb05['valueOf'](),_0x1d3f9f['valueOf']());case _0x1e9b54:case dateTag:case _0x18f4e9:return Object['is'](_0x34cb05['valueOf'](),_0x1d3f9f['valueOf']());case _0x2614c9:return _0x34cb05['source']===_0x1d3f9f['source']&&_0x34cb05['flags']===_0x1d3f9f['flags'];case functionTag:return _0x34cb05===_0x1d3f9f;}const _0x3629d9=(_0x1324ab=_0x1324ab??new Map())['get'](_0x34cb05),_0x55fca8=_0x1324ab['get'](_0x1d3f9f);if(null!=_0x3629d9&&null!=_0x55fca8)return _0x3629d9===_0x1d3f9f;_0x1324ab['set'](_0x34cb05,_0x1d3f9f),_0x1324ab['set'](_0x1d3f9f,_0x34cb05);try{switch(_0x3325dd){case _0xb1af9b:if(_0x34cb05['size']!==_0x1d3f9f['size'])return!0x1;for(const [_0xa9c7c6,_0x4d6b37]of _0x34cb05['entries']())if(!_0x1d3f9f['has'](_0xa9c7c6)||!isEqualWithImpl(_0x4d6b37,_0x1d3f9f['get'](_0xa9c7c6),_0xa9c7c6,_0x34cb05,_0x1d3f9f,_0x1324ab,_0x2a7877))return!0x1;return!0x0;case setTag:{if(_0x34cb05['size']!==_0x1d3f9f['size'])return!0x1;const _0x4bd4ba=Array['from'](_0x34cb05['values']()),_0x13af9e=Array['from'](_0x1d3f9f['values']());for(let _0x3e90d9=0x0;_0x3e90d9<_0x4bd4ba['length'];_0x3e90d9++){const _0xa12605=_0x4bd4ba[_0x3e90d9],_0x2eff2b=_0x13af9e['findIndex'](_0xc633ac=>isEqualWithImpl(_0xa12605,_0xc633ac,void 0x0,_0x34cb05,_0x1d3f9f,_0x1324ab,_0x2a7877));if(-0x1===_0x2eff2b)return!0x1;_0x13af9e['splice'](_0x2eff2b,0x1);}return!0x0;}case _0x5e2aff:case uint8ArrayTag:case uint8ClampedArrayTag:case uint16ArrayTag:case uint32ArrayTag:case bigUint64ArrayTag:case int8ArrayTag:case int16ArrayTag:case int32ArrayTag:case bigInt64ArrayTag:case float32ArrayTag:case float64ArrayTag:if('undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x34cb05)!==Buffer['isBuffer'](_0x1d3f9f))return!0x1;if(_0x34cb05['length']!==_0x1d3f9f['length'])return!0x1;for(let _0x45a61d=0x0;_0x45a61d<_0x34cb05['length'];_0x45a61d++)if(!isEqualWithImpl(_0x34cb05[_0x45a61d],_0x1d3f9f[_0x45a61d],_0x45a61d,_0x34cb05,_0x1d3f9f,_0x1324ab,_0x2a7877))return!0x1;return!0x0;case _0x13391e:return _0x34cb05['byteLength']===_0x1d3f9f['byteLength']&&areObjectsEqual(new Uint8Array(_0x34cb05),new Uint8Array(_0x1d3f9f),_0x1324ab,_0x2a7877);case dataViewTag:return _0x34cb05['byteLength']===_0x1d3f9f['byteLength']&&_0x34cb05['byteOffset']===_0x1d3f9f['byteOffset']&&areObjectsEqual(new Uint8Array(_0x34cb05),new Uint8Array(_0x1d3f9f),_0x1324ab,_0x2a7877);case _0x537ecc:return _0x34cb05['name']===_0x1d3f9f['name']&&_0x34cb05['message']===_0x1d3f9f['message'];case objectTag:{if(!(areObjectsEqual(_0x34cb05['constructor'],_0x1d3f9f['constructor'],_0x1324ab,_0x2a7877)||isPlainObject$1(_0x34cb05)&&isPlainObject$1(_0x1d3f9f)))return!0x1;const _0x1bb952=[...Object['keys'](_0x34cb05),...getSymbols(_0x34cb05)],_0xcae2b9=[...Object['keys'](_0x1d3f9f),...getSymbols(_0x1d3f9f)];if(_0x1bb952['length']!==_0xcae2b9['length'])return!0x1;for(let _0x37c0f7=0x0;_0x37c0f7<_0x1bb952['length'];_0x37c0f7++){const _0x420f6e=_0x1bb952[_0x37c0f7],_0x1f5faf=_0x34cb05[_0x420f6e];if(!Object['hasOwn'](_0x1d3f9f,_0x420f6e))return!0x1;if(!isEqualWithImpl(_0x1f5faf,_0x1d3f9f[_0x420f6e],_0x420f6e,_0x34cb05,_0x1d3f9f,_0x1324ab,_0x2a7877))return!0x1;}return!0x0;}default:return!0x1;}}finally{_0x1324ab['delete'](_0x34cb05),_0x1324ab['delete'](_0x1d3f9f);}}function _0x1b0353(){}function _0x295436(_0x316668,_0x13e6df){return isEqualWith(_0x316668,_0x13e6df,_0x1b0353);}function isPlainObject(_0x473ff7){if('object'!=typeof _0x473ff7)return!0x1;if(null==_0x473ff7)return!0x1;if(null===Object['getPrototypeOf'](_0x473ff7))return!0x0;if('[object\x20Object]'!==Object['prototype']['toString']['call'](_0x473ff7)){const _0x3b242e=_0x473ff7[Symbol['toStringTag']];if(null==_0x3b242e)return!0x1;return!!Object['getOwnPropertyDescriptor'](_0x473ff7,Symbol['toStringTag'])?.['writable']&&_0x473ff7['toString']()==='[object\x20'+_0x3b242e+']';}let _0x4c02d3=_0x473ff7;for(;null!==Object['getPrototypeOf'](_0x4c02d3);)_0x4c02d3=Object['getPrototypeOf'](_0x4c02d3);return Object['getPrototypeOf'](_0x473ff7)===_0x4c02d3;}function omit(_0x8a3292,..._0x34163d){if(null==_0x8a3292)return{};const _0x5b06e5=_0x327359(_0x8a3292);for(let _0x282165=0x0;_0x282165<_0x34163d['length'];_0x282165++){let _0x12e63c=_0x34163d[_0x282165];switch(typeof _0x12e63c){case'object':Array['isArray'](_0x12e63c)||(_0x12e63c=Array['from'](_0x12e63c));for(let _0x305ac9=0x0;_0x305ac9<_0x12e63c['length'];_0x305ac9++){unset(_0x5b06e5,_0x12e63c[_0x305ac9]);}break;case'string':case'symbol':case'number':unset(_0x5b06e5,_0x12e63c);}}return _0x5b06e5;}function isElement$2(_0x4fd350){return isObjectLike(_0x4fd350)&&0x1===_0x4fd350['nodeType']&&!isPlainObject(_0x4fd350);}const htmlEscapes={'&':'&amp;','<':'&lt;','>':'&gt;','\x22':'&quot;','\x27':'&#39;'};function _0x25eb2(_0x14ea91){return _0x14ea91['replace'](/[&<>"']/g,_0x40c0f4=>htmlEscapes[_0x40c0f4]);}function _0x461292(_0x32c199){return _0x25eb2(toString$2(_0x32c199));}function _0x5d2193(_0x17ee06){return _0x17ee06['replace'](/[\\^$.*+?()[\]{}|]/g,'\x5c$&');}function _0x28d679(_0x4dbe7d){return _0x5d2193(toString$2(_0x4dbe7d));}const htmlUnescapes={'&amp;':'&','&lt;':'<','&gt;':'>','&quot;':'\x22','&#39;':'\x27'};function _0x2c2d0e(_0x1924c1){return _0x1924c1['replace'](/&(?:amp|lt|gt|quot|#(0+)?39);/g,_0x40e4fb=>htmlUnescapes[_0x40e4fb]||'\x27');}function _0x4b8088(_0xb609f7){return _0x2c2d0e(toString$2(_0xb609f7));}class AIHistoryListItemView extends ckeditor5['ListItemView']{constructor(_0x2e218d){super();const _0xd1a483=new ckeditor5['ButtonLabelView'](),_0x3b8bd5=new ckeditor5['ButtonView'](this['locale'],_0xd1a483);this['children']['add'](_0x3b8bd5),_0x3b8bd5['set']({'label':_0x2e218d['prompt'],'withText':!0x0}),_0x3b8bd5['on']('execute',()=>{this['fire']('execute',{'value':_0x4b8088(_0x2e218d['prompt'])});});}}const _0x1ba607='CKEditor/AIFormView/PromptHistory',_0x44f1db=0x14;class PromptHistory extends ckeditor5['Collection']{constructor(){super(),this['_loadFromSessionStorage'](),this['on']('add',(_0x2b2339,_0x6b2f1f)=>{const _0x2ce263=normalizePromptText(_0x6b2f1f['prompt']);for(const _0x5831d2 of this)if(_0x5831d2!=_0x6b2f1f&&normalizePromptText(_0x5831d2['prompt'])===_0x2ce263){this['remove'](_0x5831d2);break;}this['length']>_0x44f1db&&this['remove'](this['last']),this['_saveToSessionStorage']();}),this['on']('remove',()=>{this['_saveToSessionStorage']();});}['_loadFromSessionStorage'](){const _0x4510c6=sessionStorage['getItem'](_0x1ba607)||'[]';this['addMany'](JSON['parse'](_0x4510c6));}['_saveToSessionStorage'](){sessionStorage['setItem'](_0x1ba607,JSON['stringify'](this['map'](_0x8d08b2=>_0x8d08b2)));}}function normalizePromptText(_0x817b0c){return _0x817b0c['toLowerCase']()['trim']();}class _0xa4f319 extends ckeditor5['View']{['focusTracker'];['keystrokes'];['contentArea'];['toolbar'];['promptView'];['errorView'];['_focusables'];['focusCycler'];['_promptHistory'];constructor(_0x2069af,_0x16f91b,_0x3c1e09=''){super(_0x2069af),this['set']('isEnabled',!0x0),this['set']('isProcessing',!0x1),this['set']('prompt',''),this['set']('value',''),this['set']('isError',!0x1),this['set']('mainAction',AIFormToolbarViewMainActionLabel['REPLACE']),this['_promptHistory']=new PromptHistory(),this['errorView']=new _0x134173(_0x2069af),this['contentArea']=new AIFormContentArea(_0x2069af,_0x3c1e09),this['contentArea']['bind']('isProcessing')['to'](this),this['contentArea']['bind']('value')['to'](this),this['toolbar']=this['_createToolbar'](),this['toolbar']['bind']('mainAction')['to'](this),this['promptView']=this['_createPromptView'](),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['_focusables']=this['createCollection']([this['contentArea'],this['contentArea']['copyButtonView'],this['toolbar'],this['promptView']]),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['focusCycler']['chain'](this['promptView']['focusCycler']),this['promptView']['queryView']['fieldView']['bind']('value')['to'](this,'prompt');const _0x5b8c44=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form',_0x16f91b],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form-content']},'children':[{'tag':'div','attributes':{'class':[_0x5b8c44['if']('isError','ck-hidden',_0xbe1808=>!_0xbe1808)]},'children':[this['errorView']]},this['contentArea'],this['toolbar'],this['promptView']]}]});}['render'](){super['render'](),this['focusTracker']['add'](this['contentArea']['element']),this['focusTracker']['add'](this['contentArea']['copyButtonView']['element']),this['focusTracker']['add'](this['toolbar']['element']),this['focusTracker']['add'](this['promptView']['element']),this['keystrokes']['listenTo'](this['element']);}['focus'](_0x175cb6=0x1){-0x1===_0x175cb6?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['reset'](){this['prompt']='',this['value']='',this['isError']=!0x1,this['promptView']['reset'](),this['contentArea']['isVisible']=!0x1,this['toolbar']['isVisible']=!0x1;}['_createPromptView'](){const _0x6ebb96=this['locale'],_0x2f4106=new AIFormPromptView(_0x6ebb96,{'queryView':{'label':getTranslation$j(_0x6ebb96,'Ask\x20AI\x20to\x20edit\x20or\x20generate'),'creator':ckeditor5['createLabeledTextarea'],'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':getTranslation$j(_0x6ebb96,'Empty\x20history'),'secondary':getTranslation$j(_0x6ebb96,'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.')}}},'filteredView':this['_createHistoryView'](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x2f4106['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x4f2040,_0x559b70)=>_0x4f2040&&!_0x559b70),this['listenTo'](_0x2f4106,'submit',(_0x5ae590,_0x27dbe9)=>{this['prompt']=_0x27dbe9;const _0x1c09f7=_0x461292(_0x27dbe9);this['fire']('submitPrompt',_0x1c09f7),_0x27dbe9['trim']()&&this['_promptHistory']['add']({'prompt':_0x1c09f7},0x0);},{'priority':'high'}),_0x2f4106;}['_createHistoryView'](){const _0x3a17b4=new AIHistoryListView(this['locale']);return _0x3a17b4['historyGroupView']['items']['bindTo'](this['_promptHistory'])['as'](AIHistoryListItemView),_0x3a17b4['on']('clearHistory',()=>{this['_promptHistory']['clear'](),this['promptView']['search'](''),this['promptView']['focus']();}),_0x3a17b4;}['_createToolbar'](){const _0x17c6ea=new _0x589447(this['locale']);return _0x17c6ea['replaceButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0xa5c61c,_0x19b56c,_0x219739)=>_0xa5c61c&&!_0x19b56c&&!!_0x219739),_0x17c6ea['replaceButton']['delegate']('execute')['to'](this,'replaceContent'),_0x17c6ea['insertButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x406855,_0x28b88b,_0x4bd154)=>_0x406855&&!_0x28b88b&&!!_0x4bd154),_0x17c6ea['insertButton']['delegate']('execute')['to'](this,'insertContentBelow'),_0x17c6ea['tryAgainButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x46a9a0,_0x42b4b7)=>_0x46a9a0&&!_0x42b4b7),_0x17c6ea['tryAgainButton']['delegate']('execute')['to'](this,'tryAgainEvent'),_0x17c6ea['stopButton']['bind']('isEnabled')['to'](this,'isProcessing'),_0x17c6ea['stopButton']['delegate']('execute')['to'](this,'stopProcessing'),_0x17c6ea;}['startProcessing'](){this['value']='',this['isError']=!0x1,this['isProcessing']=!0x0,this['contentArea']['isVisible']=!0x0,this['toolbar']['isVisible']=!0x0,this['contentArea']['focus']();}['finishProcessing'](){const _0x2462e1=this['locale'];this['isProcessing']=!0x1,this['prompt']='',this['promptView']['reset'](),this['value']&&(this['promptView']['queryView']['label']=getTranslation$j(_0x2462e1,'Ask\x20AI\x20to\x20improve\x20generated\x20text'));}['handleError'](_0x4bb6ae){const _0xa5ec69=this['locale'];this['finishProcessing'](),this['isError']=!0x0,this['errorView']['text']=_0x4bb6ae||getTranslation$j(_0xa5ec69,'AI_ERROR_FAILED'),this['value']||(this['contentArea']['isVisible']=!0x1);}}const DomDataTransfer=globalThis['DataTransfer'];class AIAssistantUI extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];['_dialog'];['_formView'];['_aiAdapter'];['_aiAssistantController'];['_uiCssClasses']='';static get['pluginName'](){return'AIAssistantUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ckeditor5['ClipboardMarkersUtils'],AIAssistantEditing,AIAdapter,ckeditor5['Dialog']];}constructor(_0x1479fe){super(_0x1479fe),_0x1479fe['config']['define']('ai.assistant.disabledElements',['media','rawHtml','tableOfContents']),_0x1479fe['config']['define']('ai.assistant.contentAreaCssClass',''),_0x1479fe['config']['define']('ai.assistant.useTheme',!0x0),this['_uiCssClasses']='ck-ai-assistant-ui'+(_0x1479fe['config']['get']('ai.assistant.useTheme')?'\x20ck-ai-assistant-ui_theme':'');}['init'](){const {editor:_0x21bc79}=this;this['_aiAdapter']=_0x21bc79['plugins']['get'](AIAdapter),this['_dialog']=_0x21bc79['plugins']['get'](ckeditor5['Dialog']),this['_formView']=null,this['_commandDefinitions']=this['_getResolvedCommandsDefinitions']();const _0x5bd7e9=new ShowAIAssistantCommand(_0x21bc79,Array['from'](this['_commandDefinitions']['values']()));_0x21bc79['commands']['add']('showAIAssistant',_0x5bd7e9),_0x21bc79['ui']['componentFactory']['add']('aiCommands',_0x85e4e3=>{const _0x1efc32=ckeditor5['createDropdown'](_0x85e4e3);return _0x1efc32['set']({'class':'ck-ai-commands-dropdown\x20'+this['_uiCssClasses']}),_0x1efc32['buttonView']['set']({'label':getTranslation$j(_0x85e4e3,'AI\x20Commands'),'icon':ckeditor5['IconMagicWand'],'tooltip':!0x0}),_0x1efc32['on']('execute',_0xb98c8f=>this['_onExecute'](_0xb98c8f['source']['id'])),ckeditor5['addMenuToDropdown'](_0x1efc32,_0x21bc79['ui']['view']['body'],getMenuDropdownDefinition(_0x21bc79),{'ariaLabel':getTranslation$j(_0x85e4e3,'AI\x20Commands')}),_0x1efc32['menuView']['menuPanelClass']='ck-ai-commands-dropdown\x20'+this['_uiCssClasses'],_0x5bd7e9['on']('change:enabledCommandsIds',_0x13a238),_0x1efc32['menuView']['once']('render',_0x13a238),_0x1efc32;function _0x13a238(){_0x1efc32['isEnabled']=_0x5bd7e9['enabledCommandsIds']['length']>0x0;for(const _0x469420 of _0x1efc32['menuView']['buttons'])_0x469420['isEnabled']=_0x5bd7e9['enabledCommandsIds']['includes'](_0x469420['id']);}}),_0x21bc79['ui']['componentFactory']['add']('menuBar:aiCommands',_0x562e9d=>{const _0x16ee54=new ckeditor5['MenuBarMenuView'](_0x562e9d);_0x16ee54['buttonView']['set']({'label':getTranslation$j(_0x562e9d,'AI\x20Commands'),'icon':ckeditor5['IconMagicWand']}),_0x16ee54['bind']('isEnabled')['to'](_0x5bd7e9,'enabledCommandsIds',_0x5cf07f=>_0x5cf07f['length']>0x0);const _0x17d8d9=_0x1194b0(_0x21bc79['config']['get']('ai.assistant.commands'),_0x562e9d);return this['_populateMenuBarMenu'](_0x5bd7e9,_0x16ee54,_0x17d8d9,_0x5c993b=>this['_onExecute'](_0x5c993b)),_0x16ee54;}),_0x21bc79['ui']['componentFactory']['add']('aiAssistant',()=>{const _0x546a65=this['_createAIAssistantUIButton'](ckeditor5['ButtonView']);return _0x546a65['set']({'tooltip':!0x0,'class':'ck-ai-assistant-button\x20'+this['_uiCssClasses']}),_0x546a65;}),_0x21bc79['ui']['componentFactory']['add']('menuBar:aiAssistant',()=>{const _0x1ea418=this['_createAIAssistantUIButton'](ckeditor5['MenuBarMenuListItemButtonView']);return _0x1ea418['set']({'role':'menuitemcheckbox'}),_0x1ea418;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2bd4d1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x583925;for(const _0x451780 in _0x2bd4d1){const _0x4d4fe5=_0x451780,_0xc8afef=_0x2bd4d1[_0x4d4fe5];if('aiLicenseKeyValid'==_0xc8afef||'aiLicenseKeyInvalid'==_0xc8afef||'aiLicenseKeyExpired'==_0xc8afef||'aiLicenseKeyDomainLimit'==_0xc8afef||'aiLicenseKeyNotAllowed'==_0xc8afef||'aiLicenseKeyEvaluationLimit'==_0xc8afef||'aiLicenseKeyUsageLimit'==_0xc8afef){delete _0x2bd4d1[_0x4d4fe5],_0x583925=_0xc8afef,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'aiLicenseKeyInvalid'==_0x583925&&_0x2bd4d1['_showLicenseError']('invalid'),'aiLicenseKeyExpired'==_0x583925&&_0x2bd4d1['_showLicenseError']('expired'),'aiLicenseKeyDomainLimit'==_0x583925&&_0x2bd4d1['_showLicenseError']('domainLimit'),'aiLicenseKeyNotAllowed'==_0x583925&&_0x2bd4d1['_showLicenseError']('featureNotAllowed','AIAssistant'),'aiLicenseKeyEvaluationLimit'==_0x583925&&_0x2bd4d1['_showLicenseError']('evaluationLimit'),'aiLicenseKeyUsageLimit'==_0x583925&&_0x2bd4d1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['showUI'](_0x2002c7='',_0xc4e143='',_0x568135='custom'){const _0x4aae62=this['editor'],_0x341ae5=_0x4aae62['editing']['view'],_0xae5f39=_0x4aae62['plugins']['get'](AIAssistantEditing),_0x4ae7b5=_0x4aae62['plugins']['get'](ckeditor5['ClipboardMarkersUtils']);_0xae5f39['showFakeVisualSelection']();const _0xfa53cb=new DomDataTransfer(),_0x5f5e9c=new ClipboardEvent('copy',{'clipboardData':_0xfa53cb}),_0x5cf1b8=new ckeditor5['ViewDataTransfer'](_0xfa53cb),_0x6218d5=new ckeditor5['ViewDocumentDomEventData'](_0x341ae5,_0x5f5e9c,{'dataTransfer':_0x5cf1b8});_0x4ae7b5['_forceMarkersCopy']('comment',()=>{_0x341ae5['document']['fire']('copy',_0x6218d5);}),this['_formView']||(this['_initView'](),this['_aiAssistantController']=new AIAssistantController(_0x4aae62,this['_aiAdapter']['textAdapter'],this['_formView']));let _0x5c0b08=_0x5cf1b8['getData']('text/html');const _0x1a1fab=_0x4aae62['model']['document']['selection'],_0x1278a2=Array['from'](_0x1a1fab['getRanges']());0x1===_0x1278a2['length']&&_0x1278a2[0x0]['isFlat']&&!_0x1a1fab['getSelectedElement']()&&''!==_0x5c0b08['replace'](/&nbsp;/g,'')['trim']()&&(_0x5c0b08='<p>'+_0x5c0b08+'</p>'),this['_aiAssistantController']['updateView']({'actionId':_0x568135,'query':_0x2002c7,'htmlContent':_0x5c0b08,'label':_0xc4e143,'mainActionLabel':AIFormToolbarViewMainActionLabel[_0x4aae62['model']['document']['selection']['isCollapsed']?'INSERT':'REPLACE']}),'aiAssistant'!==this['_dialog']['id']?this['_dialog']['show']({'id':'aiAssistant','icon':ckeditor5['IconRobotPencil'],'title':getTranslation$j(this['editor']['locale'],'AI\x20Assistant'),'content':this['_formView'],'position':ckeditor5['DialogViewPosition']['EDITOR_TOP_SIDE'],'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_aiAssistantController']['reset'](),_0xae5f39['hideFakeVisualSelection']();}}):this['_dialog']['view']['wasMoved']||this['_dialog']['view']['updatePosition']();}['hideUI'](){this['_dialog']['hide']();}['_getResolvedCommandsDefinitions'](){const _0x4d026f=new Map(),_0x579de7=_0x1194b0(this['editor']['config']['get']('ai.assistant.commands'),this['editor']['locale']);for(const _0x347d30 of _0x579de7)for(const _0x509e18 of _0x347d30['commands'])_0x4d026f['set'](_0x509e18['id'],{..._0x509e18,'groupId':_0x347d30['groupId'],'groupLabel':_0x347d30['groupLabel']||_0x347d30['groupId']});return _0x4d026f;}['_createAIAssistantUIButton'](_0xc40eb8){const _0x5cae83=this['editor'],_0x27e046=_0x5cae83['commands']['get']('showAIAssistant'),_0x34c40b=new _0xc40eb8(_0x5cae83['locale']);return _0x34c40b['set']({'label':getTranslation$j(_0x5cae83['locale'],'AI\x20Assistant'),'icon':ckeditor5['IconRobotPencil'],'isToggleable':!0x0}),_0x34c40b['bind']('isEnabled')['to'](_0x27e046),_0x34c40b['bind']('isOn')['to'](this['_dialog'],'id',_0x581bd3=>'aiAssistant'===_0x581bd3),this['listenTo'](_0x34c40b,'execute',()=>{_0x34c40b['isOn']?this['hideUI']():_0x27e046['execute']();}),_0x34c40b;}['_initView'](){const _0xda2380=this['editor']['plugins']['get'](AIAssistantEditing);this['_formView']=new _0xa4f319(this['editor']['locale'],this['_uiCssClasses'],this['editor']['config']['get']('ai.assistant.contentAreaCssClass')),this['_formView']['on']('change:value',()=>{this['_dialog']['view']['wasMoved']||this['_dialog']['view']['updatePosition']();}),this['_formView']['promptView']['queryView']['fieldView']['on']('update',()=>{this['_dialog']['view']['wasMoved']||this['_dialog']['view']['updatePosition']();}),this['listenTo'](this['_formView'],'replaceContent',()=>{_0xda2380['insertContent'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['listenTo'](this['_formView'],'insertContentBelow',()=>{_0xda2380['insertContentBelow'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['_initAriaAiStatusChangeAnnouncements']();}['_initAriaAiStatusChangeAnnouncements'](){const {locale:_0x2d4b70,ui:{ariaLiveAnnouncer:_0xf5eb94}}=this['editor'];this['_formView']['contentArea']['on']('change:isProcessing',(_0x437a02,_0x1847de,_0xf3a64d)=>{const _0x1fbaf3=this['_aiAssistantController']['currentContext'];_0xf3a64d?_0xf5eb94['announce'](getTranslation$j(_0x2d4b70,'AI\x20is\x20writing')):_0x1fbaf3&&_0xf5eb94['announce'](getTranslation$j(_0x2d4b70,'Generated\x20content:\x20%0',_0x1fbaf3),{'politeness':'polite','isUnsafeHTML':!0x0});}),this['_formView']['on']('change:isError',(_0x269102,_0x1b86b2,_0x1952fc)=>{if(_0x1952fc){const _0x59a75a=this['_formView']['errorView']['text'];_0xf5eb94['announce'](getTranslation$j(_0x2d4b70,'Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x59a75a));}});}['_onExecute'](_0x1bda02){const _0x59baa4=this['_commandDefinitions']['get'](_0x1bda02),_0x446ae4=this['editor'],_0x282969=_0x446ae4['model']['document']['selection'],_0x20438e=_0x446ae4['commands']['get']('showAIAssistant'),_0x5cff2f=_0x446ae4['plugins']['get'](AIAssistantEditing),_0xd8f493=''+(_0x59baa4['groupId']!==_0x108349?_0x59baa4['groupLabel']+':\x20':'')+_0x59baa4['label'];if(!0x1!==_0x59baa4['requiresContent']&&_0x282969['isCollapsed']){const _0x36e176=ckeditor5['first'](_0x282969['getSelectedBlocks']())||_0x446ae4['model']['schema']['getLimitElement'](_0x282969);_0x446ae4['model']['change'](_0x4ef496=>{_0x4ef496['setSelection'](_0x36e176,'in');});}_0x5cff2f['showFakeVisualSelection'](),_0x20438e['execute'](_0x59baa4['prompt'],_0xd8f493,'command:'+_0x1bda02);}['_populateMenuBarMenu'](_0x4ce23f,_0x5525f0,_0x360420,_0x253888){const _0x23568d=this['editor'],_0x17aecf=_0x23568d['locale'],_0x34bb99=new ckeditor5['MenuBarMenuListView'](_0x17aecf),_0x509fe1=sortDefinitionsByOrder(_0x23568d,_0x360420)['filter'](_0x49db72=>_0x49db72['commands']['length']);0x1===_0x509fe1['length']?this['_getMenuBarGroupButtons']({'command':_0x4ce23f,'commands':_0x509fe1[0x0]['commands'],'parentMenuView':_0x5525f0,'onExecute':_0x253888})['forEach'](_0x4c3d94=>_0x34bb99['items']['add'](_0x4c3d94)):_0x509fe1['forEach'](({groupId:_0x38fed9,groupLabel:_0x19ff82,commands:_0x56a2de})=>{const _0x5ced35=new ckeditor5['MenuBarMenuListItemView'](_0x17aecf,_0x5525f0),_0x3334a1=new ckeditor5['MenuBarMenuView'](_0x17aecf),_0xe38e89=new ckeditor5['MenuBarMenuListView'](_0x17aecf),_0x54cf59=this['_getMenuBarGroupButtons']({'command':_0x4ce23f,'commands':_0x56a2de,'parentMenuView':_0x3334a1,'onExecute':_0x253888});_0x3334a1['buttonView']['set']({'label':_0x19ff82||_0x38fed9}),_0x3334a1['delegate']('execute')['to'](_0x5525f0),_0xe38e89['items']['addMany'](_0x54cf59),_0x3334a1['panelView']['children']['add'](_0xe38e89),_0x5ced35['children']['add'](_0x3334a1),_0x34bb99['items']['add'](_0x5ced35);}),_0x5525f0['panelView']['children']['add'](_0x34bb99);}['_getMenuBarGroupButtons']({command:_0x23dc1f,commands:_0x4a98e7,parentMenuView:_0x45322c,onExecute:_0x426da6}){const _0x4e4697=this['editor'],_0x1ec9d2=_0x4e4697['locale'];return sortDefinitionsByOrder(_0x4e4697,_0x4a98e7)['map'](_0x47cf57=>{const _0x3cdad3=new ckeditor5['MenuBarMenuListItemView'](_0x1ec9d2,_0x45322c),_0x26a69a=new ckeditor5['MenuBarMenuListItemButtonView'](_0x1ec9d2);return _0x26a69a['set']({'label':_0x47cf57['label']}),_0x26a69a['delegate']('execute')['to'](_0x45322c),_0x26a69a['on']('execute',()=>_0x426da6(_0x47cf57['id'])),_0x26a69a['bind']('isEnabled')['to'](_0x23dc1f,'enabledCommandsIds',_0x2291d8=>_0x2291d8['includes'](_0x47cf57['id'])),_0x3cdad3['children']['add'](_0x26a69a),_0x3cdad3;});}}function getMenuDropdownDefinition(_0x2745e6){const _0x15fb3e=_0x1194b0(_0x2745e6['config']['get']('ai.assistant.commands'),_0x2745e6['locale']),_0x239f35=sortDefinitionsByOrder(_0x2745e6,_0x15fb3e)['filter'](_0x3d59de=>_0x3d59de['commands']['length']);return 0x1===_0x239f35['length']?sortDefinitionsByOrder(_0x2745e6,_0x239f35[0x0]['commands'])['map'](_0x14694a=>({'id':_0x14694a['id'],'label':_0x14694a['label']})):_0x239f35['map'](_0x3d5f27=>{const {groupId:_0x4f678d,groupLabel:_0xbb7103,commands:_0x287adb}=_0x3d5f27,_0x1b9c5c=sortDefinitionsByOrder(_0x2745e6,_0x287adb)['map'](_0x37130f=>({'id':_0x37130f['id'],'label':_0x37130f['label']}));return{'id':_0x4f678d,'menu':_0xbb7103||_0x4f678d,'children':_0x1b9c5c};});}function sortDefinitionsCallback(_0x3739fc,_0x3d8a2e){return void 0x0!==_0x3739fc['order']&&void 0x0===_0x3d8a2e['order']?0x1:void 0x0===_0x3739fc['order']&&void 0x0!==_0x3d8a2e['order']?-0x1:void 0x0!==_0x3739fc['order']&&void 0x0!==_0x3d8a2e['order']?_0x3739fc['order']-_0x3d8a2e['order']:0x0;}function sortDefinitionsByOrder(_0x1024ef,_0x23e84b){_0x23e84b['sort'](sortDefinitionsCallback);const _0x1e5ed8={},_0x4146b5=[];for(const _0x300e2c of _0x23e84b)if(void 0x0!==_0x300e2c['order']){if(_0x300e2c['order']in _0x1e5ed8)throw new ckeditor5['CKEditorError']('ai-commands-config-order-collision',_0x1024ef,{'conflictingDefinitions':[_0x300e2c,_0x1e5ed8[_0x300e2c['order']]]});_0x1e5ed8[_0x300e2c['order']]=_0x300e2c,_0x4146b5['splice'](_0x300e2c['order'],0x0,_0x300e2c);}else _0x4146b5['push'](_0x300e2c);return _0x4146b5;}class AIAssistant extends ckeditor5['Plugin']{static get['requires'](){return[AIAssistantUI,AIAssistantEditing];}static get['pluginName'](){return'AIAssistant';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xca78a4){super(_0xca78a4);const _0x30209f=_0xca78a4['config'],_0x2a777b=_0xca78a4['locale'];_0x30209f['define']('ai.assistant.preserveComments',!0x0),_0x30209f['define']('ai.assistant.commands',getDefaultAICommands(_0x2a777b)),_0x30209f['define']('ai.assistant.extraCommandGroups',[]),_0x30209f['define']('ai.assistant.removeCommands',[]);let _0x28727e=_0x1194b0(_0x30209f['get']('ai.assistant.commands'),_0x2a777b);const _0x1e4ea6=_0x30209f['get']('ai.assistant.extraCommandGroups'),_0x2b8c99=_0x30209f['get']('ai.assistant.removeCommands');_0x1e4ea6['forEach'](_0x339f7b=>{const _0x340ed6=_0x28727e['find'](_0x59dc6c=>_0x59dc6c['groupId']===_0x339f7b['groupId']);_0x340ed6?_0x340ed6['commands']=_0x340ed6['commands']['concat'](_0x339f7b['commands']):_0x28727e['push'](_0x339f7b);}),_0x28727e=_0x28727e['filter'](_0x52f96c=>!_0x2b8c99['includes'](_0x52f96c['groupId'])),_0x28727e['forEach'](_0x3c8e04=>{_0x3c8e04['commands']=_0x3c8e04['commands']['filter'](_0x24a5a1=>!_0x2b8c99['includes'](_0x24a5a1['id']));}),_0x30209f['set']('ai.assistant.commands',_0x28727e);}}function getDefaultAICommands(_0x3f2717){return[{'groupId':'editOrReview','groupLabel':getTranslation$j(_0x3f2717,'Edit\x20or\x20review'),'commands':[{'id':'improveWriting','label':getTranslation$j(_0x3f2717,'Improve\x20writing'),'prompt':'Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.'},{'id':'makeShorter','label':getTranslation$j(_0x3f2717,'Make\x20shorter'),'prompt':'Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.'},{'id':'makeLonger','label':getTranslation$j(_0x3f2717,'Make\x20longer'),'prompt':'Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.'},{'id':'simplifyLanguage','label':getTranslation$j(_0x3f2717,'Simplify\x20language'),'prompt':'Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.'}]},{'groupId':'generate','groupLabel':getTranslation$j(_0x3f2717,'Generate\x20from\x20selection'),'commands':[{'id':'summarize','label':getTranslation$j(_0x3f2717,'Summarize'),'prompt':'Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.'},{'id':'continue','label':getTranslation$j(_0x3f2717,'Continue'),'prompt':'Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.'}]},{'groupId':'changeTone','groupLabel':getTranslation$j(_0x3f2717,'Change\x20tone'),'commands':[{'id':'professional','label':getTranslation$j(_0x3f2717,'Professional'),'prompt':'Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.'},{'id':'casual','label':getTranslation$j(_0x3f2717,'Casual'),'prompt':'Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.'},{'id':'direct','label':getTranslation$j(_0x3f2717,'Direct'),'prompt':'Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.'},{'id':'confident','label':getTranslation$j(_0x3f2717,'Confident'),'prompt':'Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.'},{'id':'friendly','label':getTranslation$j(_0x3f2717,'Friendly'),'prompt':'Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.'}]},{'groupId':'changeStyle','groupLabel':getTranslation$j(_0x3f2717,'Change\x20style'),'commands':[{'id':'business','label':getTranslation$j(_0x3f2717,'Business'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.'},{'id':'legal','label':getTranslation$j(_0x3f2717,'Legal'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.'},{'id':'journalism','label':getTranslation$j(_0x3f2717,'Journalism'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.'},{'id':'poetic','label':getTranslation$j(_0x3f2717,'Poetic'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.'}]},{'groupId':'translate','groupLabel':getTranslation$j(_0x3f2717,'Translate'),'commands':[{'id':'translateEnglish','label':getTranslation$j(_0x3f2717,'English'),'prompt':'Translate\x20the\x20content\x20to\x20English\x20language.'},{'id':'translateSpanish','label':getTranslation$j(_0x3f2717,'Spanish'),'prompt':'Translate\x20the\x20content\x20to\x20Spanish\x20language.'},{'id':'translatePortuguese','label':getTranslation$j(_0x3f2717,'Portuguese'),'prompt':'Translate\x20the\x20content\x20to\x20Portuguese\x20language.'},{'id':'translateGerman','label':getTranslation$j(_0x3f2717,'German'),'prompt':'Translate\x20the\x20content\x20to\x20German\x20language.'},{'id':'translateFrench','label':getTranslation$j(_0x3f2717,'French'),'prompt':'Translate\x20the\x20content\x20to\x20French\x20language.'},{'id':'translateChinese','label':getTranslation$j(_0x3f2717,'Simplified\x20Chinese'),'prompt':'Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.'},{'id':'translateHindi','label':getTranslation$j(_0x3f2717,'Hindi'),'prompt':'Translate\x20the\x20content\x20to\x20Hindi\x20language.'},{'id':'translateArabic','label':getTranslation$j(_0x3f2717,'Arabic'),'prompt':'Translate\x20the\x20content\x20to\x20Arabic\x20language.'}]}];}class AITextAdapter extends ckeditor5['Plugin']{['abortController'];static get['requires'](){return[AIAdapter];}constructor(_0x4d3a01){super(_0x4d3a01),this['abortController']=new AbortController();}['init'](){this['editor']['plugins']['get'](AIAdapter)['textAdapter']=this;}['abort'](){this['abortController']['signal']['aborted']||(this['abortController']['abort'](),this['abortController']=new AbortController());}async['makeRequest'](_0x580d84){return this['sendRequest'](_0x580d84)['catch'](_0x1c4267=>{if(_0x1c4267 instanceof AIRequestError)return Promise['reject'](_0x1c4267);if('AbortError'==_0x1c4267['name'])return Promise['resolve']();throw console['error'](_0x1c4267),new ckeditor5['CKEditorError']('aitextadapter-send-request-failed',null);});}async['_prepareRequestHeaders'](_0x13b83f,_0x311fef){const _0x446bdb=this['editor']['locale'],_0x5da70d={'Content-Type':'application/json'};if('object'==typeof _0x13b83f)Object['assign'](_0x5da70d,_0x13b83f);else{if(_0x13b83f)try{const _0x320215=await _0x13b83f(_0x311fef);Object['assign'](_0x5da70d,_0x320215);}catch{return Promise['reject'](new AIRequestError(getTranslation$j(_0x446bdb,'AI_ERROR_GET_HEADERS')));}}return _0x5da70d;}async['_prepareRequestParameters'](_0x468893,_0x19d2c9){const _0x49acca=this['editor']['locale'];if('object'==typeof _0x468893)return _0x468893;try{return await _0x468893(_0x19d2c9);}catch{return Promise['reject'](new AIRequestError(getTranslation$j(_0x49acca,'AI_ERROR_GET_PARAMETERS')));}}}class OpenAITextAdapter extends AITextAdapter{['_apiUrl'];['_requestHeaders'];['_requestParameters'];static get['pluginName'](){return'OpenAITextAdapter';}constructor(_0x31be9a){super(_0x31be9a),_0x31be9a['config']['define']('ai.assistant.adapter.openAI.apiUrl','https://api.openai.com/v1/chat/completions'),_0x31be9a['config']['get']('ai.assistant.adapter.openAI.requestParameters')||_0x31be9a['config']['define']('ai.assistant.adapter.openAI.requestParameters',{'model':'gpt-4o','temperature':0x1,'top_p':0x1,'stream':!0x0}),this['_apiUrl']=_0x31be9a['config']['get']('ai.assistant.adapter.openAI.apiUrl'),this['_requestHeaders']=_0x31be9a['config']['get']('ai.assistant.adapter.openAI.requestHeaders')||{},this['_requestParameters']=_0x31be9a['config']['get']('ai.assistant.adapter.openAI.requestParameters');}async['sendRequest']({query:_0x35c109,context:_0x3414b8,onData:_0x498597,actionId:_0x18d192}){const _0x2385c5=this['editor']['locale'],_0x682c92=await this['prepareMessages'](_0x35c109,_0x3414b8,_0x18d192),_0x4bc104=await this['_prepareRequestHeaders'](this['_requestHeaders'],_0x18d192),_0x3cbd10=await this['_prepareRequestParameters'](this['_requestParameters'],_0x18d192),_0x585943={'messages':_0x682c92,..._0x3cbd10},_0x24e200={'method':'POST','headers':_0x4bc104,'body':JSON['stringify'](_0x585943),'signal':this['abortController']['signal']},_0x8c06a4=await fetch(this['_apiUrl'],_0x24e200);if(_0x8c06a4['ok'])return _0x3cbd10['stream']?await this['_readStreamableResponse'](_0x8c06a4,_0x498597):await this['_readStaticResponse'](_0x8c06a4,_0x498597),Promise['resolve']();{const _0x89efa2=await _0x8c06a4['text']();return _0x89efa2['includes']('context_length_exceeded')?Promise['reject'](new AIRequestError(getTranslation$j(_0x2385c5,'AI_ERROR_CONTEXT_LENGTH'))):_0x89efa2['includes']('Moderation')?Promise['reject'](new AIRequestError(getTranslation$j(_0x2385c5,'AI_ERROR_MODERATION'))):Promise['reject'](new Error(_0x89efa2));}}async['prepareMessages'](_0x2aca56,_0x15c94e,_0x4daa73){let _0x559ab0,_0x249fa9;return _0x15c94e?(_0x559ab0='Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.',_0x249fa9='Instruction:\x0a'+_0x2aca56+'\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a'+_0x15c94e):(_0x559ab0='Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.',_0x249fa9=_0x2aca56),[{'role':'system','content':_0x559ab0},{'role':'user','content':_0x249fa9}];}async['_readStreamableResponse'](_0x40174e,_0x265ad5){const _0x41b2a5=_0x40174e['body']['getReader'](),_0x1fc7ae=new TextDecoder();let _0x5c5b19='',_0x2e468f='',_0x46b776='',_0x2a4958=!0x1;for(;!_0x2a4958;){const {done:_0x1d975c,value:_0x1ae1d}=await _0x41b2a5['read'](),_0x231557=_0x5c5b19+_0x1fc7ae['decode'](_0x1ae1d);let _0x2df72e='';_0x2a4958=_0x1d975c;try{_0x2df72e=this['_cleanUpData'](_0x231557),_0x5c5b19='';}catch{_0x5c5b19=_0x231557;continue;}_0x2e468f+=_0x2df72e,!_0x2a4958&&this['_isBufferIncomplete'](_0x2e468f)||_0x2e468f&&(_0x46b776+=_0x2e468f,_0x2e468f='',_0x265ad5(_0x46b776));}return Promise['resolve']();}async['_readStaticResponse'](_0x316265,_0x11305d){return _0x11305d((await _0x316265['json']())['choices'][0x0]['message']['content']),Promise['resolve']();}['_isBufferIncomplete'](_0x229a4a){const _0xbbc510=_0x229a4a['split']('<')['length']!==_0x229a4a['split']('>')['length'],_0x2e5433=_0x229a4a['length']<0x1e;return _0xbbc510&&_0x2e5433;}['_cleanUpData'](_0x29883c){return _0x29883c['split'](/\n(?![^{]*\})/g)['map'](_0x4f2a6a=>_0x4f2a6a['replace']('data:\x20',''))['filter'](_0x2505a7=>_0x2505a7&&_0x2505a7['length']>0x0&&'[DONE]'!==_0x2505a7)['map'](_0x35ca2e=>{const {choices:_0x301fed}=JSON['parse'](_0x35ca2e);if(_0x301fed[0x0]?.['delta']?.['content'])return _0x301fed[0x0]['delta']['content'];})['filter'](_0x2f00d3=>_0x2f00d3)['join']('');}}class AWSTextAdapter extends AITextAdapter{static get['pluginName'](){return'AWSTextAdapter';}['init'](){super['init'](),ckeditor5['logWarning']('ai-aws-adapter-not-supported');}async['sendRequest'](_0x5b23d4){throw ckeditor5['logError']('ai-aws-adapter-not-supported'),new AIRequestError(getTranslation$j(this['editor']['locale'],'AI_ERROR_AWS_NOT_SUPPORTED'));}}class TabButtonView extends ckeditor5['ButtonView']{constructor(_0x16deec,_0x5298d3={}){super(_0x16deec),this['isToggleable']=!0x0,this['set']('side',_0x5298d3['side']||'top');const _0x17141d=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-tab-button',...ckeditor5['toArray'](_0x5298d3['class']||[]),_0x17141d['to']('side',_0x2dff67=>'ck-tab-button_'+_0x2dff67),_0x17141d['to']('class')]}});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}}class _0x2b70ec extends ckeditor5['View']{['children'];constructor(_0x590754,_0x5e3c4a={}){super(_0x590754);const _0x3adcb0=this['bindTemplate'];this['set']('isVisible',!0x1),this['set']('class',''),this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-tab-panel',...ckeditor5['toArray'](_0x5e3c4a['class']||[]),_0x3adcb0['to']('class'),_0x3adcb0['if']('isVisible','ck-hidden',_0x1ef638=>!_0x1ef638)]},'children':this['children']});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}}class _0x213962 extends ckeditor5['View']{['buttonViews']=this['createCollection']();['panelViews']=this['createCollection']();['_tabs']=new Map();constructor(_0xe47af5,_0x998858={}){super(_0xe47af5),this['set']('class',void 0x0),this['set']('activeTab',null),this['set']('side',_0x998858['side']||'top'),this['set']('isMaximized',!0x1);const _0x2064cb=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-tabs',...ckeditor5['toArray'](_0x998858['class']||[]),_0x2064cb['to']('side',_0x527ad4=>'ck-tabs_'+_0x527ad4),_0x2064cb['to']('class'),_0x2064cb['to']('isMaximized',_0x3aeb54=>_0x3aeb54?'ck-ai-tabs_maximized':'')],'tabindex':'0'},'children':[{'tag':'div','attributes':{'class':['ck','ck-tabs__buttons-container',_0x2064cb['to']('side',_0x37126c=>'ck-tabs__buttons-container_'+_0x37126c)]},'children':this['buttonViews']},{'tag':'div','attributes':{'class':['ck','ck-tabs__panels-container',_0x2064cb['to']('side',_0x3ca148=>'ck-tabs__panels-container_'+_0x3ca148)]},'children':this['panelViews']},...ckeditor5['toArray'](_0x998858['children']||[])]});}['getTabIds'](){return[...this['_tabs']['keys']()];}['getTab'](_0x2e4d13){const _0x3444c3=this['_tabs']['get'](_0x2e4d13);return _0x3444c3||null;}['addTab'](_0x1bd37f){const _0x580a2b=this['_setupButton']({'id':_0x1bd37f['id'],'label':_0x1bd37f['buttonLabel'],'icon':_0x1bd37f['buttonIcon'],'order':_0x1bd37f['order']}),_0x5003f4=new _0x2b70ec(this['locale']);return _0x5003f4['render'](),_0x1bd37f['content']&&_0x5003f4['children']['add'](_0x1bd37f['content']),this['panelViews']['add'](_0x5003f4),this['_tabs']['set'](_0x1bd37f['id'],{'button':_0x580a2b,'panel':_0x5003f4,'order':void 0x0!==_0x1bd37f['order']?_0x1bd37f['order']:null}),this['fire']('addTab:'+_0x1bd37f['id'],{'id':_0x1bd37f['id'],'button':_0x580a2b,'panel':_0x5003f4}),null===this['activeTab']?this['activateTab'](_0x1bd37f['id']):this['_hidePanel'](_0x1bd37f['id']),{'button':_0x580a2b,'panel':_0x5003f4};}['activateTab'](_0x2cdcd6){if(null!==_0x2cdcd6&&!this['getTab'](_0x2cdcd6))throw new ckeditor5['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x2cdcd6});this['activeTab']!==_0x2cdcd6&&(this['activeTab']&&this['_hidePanel'](this['activeTab']),this['activeTab']=_0x2cdcd6,_0x2cdcd6&&this['_showPanel'](_0x2cdcd6),this['fire']('activateTab:'+_0x2cdcd6,_0x2cdcd6));}['showTab'](_0x1ba6bb){if(!this['getTab'](_0x1ba6bb))throw new ckeditor5['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x1ba6bb});this['_showPanel'](_0x1ba6bb),this['_showButton'](_0x1ba6bb),this['fire']('show:'+_0x1ba6bb,_0x1ba6bb);}['hideTab'](_0x4e98cc){if(!this['getTab'](_0x4e98cc))throw new ckeditor5['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x4e98cc});const _0x1f2249=this['activeTab'];this['_hidePanel'](_0x4e98cc),this['_hideButton'](_0x4e98cc);const _0x2af9ea=this['getTabIds']();_0x1f2249===_0x4e98cc&&_0x2af9ea['length']>0x1&&this['activateTab'](_0x2af9ea['find'](_0x4a91cc=>_0x4a91cc!==_0x4e98cc)),this['fire']('hide:'+_0x4e98cc,_0x4e98cc);}['_getPanel'](_0xba459){const _0x3752c1=this['_tabs']['get'](_0xba459);return _0x3752c1?_0x3752c1['panel']:null;}['_showPanel'](_0x36d232){null!==this['activeTab']&&this['activeTab']!==_0x36d232||this['_getPanel'](_0x36d232)['show']();}['_hidePanel'](_0x24e540){const _0x28c930=this['_getPanel'](_0x24e540);_0x28c930['isVisible']&&(this['activeTab']===_0x24e540&&(this['activeTab']=null),_0x28c930['hide']());}['_getButton'](_0xe5c3d5){const _0x5dd524=this['_tabs']['get'](_0xe5c3d5);return _0x5dd524?_0x5dd524['button']:null;}['_showButton'](_0x10f012){this['_getButton'](_0x10f012)['show']();}['_hideButton'](_0x1a688c){this['_getButton'](_0x1a688c)['hide']();}['_setupButton'](_0x5eda7c){const _0x316255=new TabButtonView(this['locale'],{'side':this['side']}),_0x488ee4=this['buttonViews'];if(_0x316255['set']({'label':_0x5eda7c['label'],'icon':_0x5eda7c['icon'],'tooltip':!0x0,'withText':!0x0}),_0x316255['bind']('isOn')['to'](this,'activeTab',_0x5ecfcb=>_0x5ecfcb===_0x5eda7c['id']),_0x316255['bind']('side')['to'](this,'side'),_0x5eda7c['order']){const _0x44a9f1=[...this['_tabs']]['reduce']((_0x1c1b12,_0x18a7d7)=>{const _0x3e4b64=_0x18a7d7[0x0],{order:_0x28f083}=_0x18a7d7[0x1];return!_0x28f083||_0x28f083>_0x5eda7c['order']?_0x1c1b12:_0x28f083>=_0x1c1b12['order']?{'id':_0x3e4b64,'order':_0x28f083}:_0x1c1b12;},{'id':'','order':0x0}),_0xef4b1d=_0x488ee4['getIndex'](this['_getButton'](_0x44a9f1['id']));_0x488ee4['add'](_0x316255,_0xef4b1d+0x1);}else _0x488ee4['add'](_0x316255);return _0x316255['on']('execute',()=>{this['activateTab'](_0x5eda7c['id']);}),_0x316255;}}const _0x23083f=['overlay','sidebar','custom'],_0x422545=['left','right'];class _0x3b1ad6 extends _0x213962{constructor(_0x575773,_0x11d647={}){super(_0x575773,_0x11d647),this['set']('type',_0x11d647['type']||'sidebar'),this['set']('side',_0x11d647['side']||'right'),this['set']('isVisible',_0x11d647['visibleByDefault']??!0x0);const _0x4db4eb=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-tabs',_0x4db4eb['if']('type','ck-ai-tabs__overlay',_0x5e69f3=>'overlay'===_0x5e69f3),_0x4db4eb['if']('type','ck-ai-tabs__sidebar',_0x302227=>'sidebar'===_0x302227),_0x4db4eb['if']('isVisible','ck-hidden',_0x3b9fea=>!_0x3b9fea)]}}),this['buttonViews']['on']('add',(_0x2d554d,_0x279463)=>{_0x279463['set']('withText',!0x1);});}}class _0x149a9c extends ckeditor5['ContextPlugin']{['view'];['container']=null;['showResizeButton']=!0x0;static get['pluginName'](){return'AITabs';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x280129){super(_0x280129);const _0x4471f8=this['context']['config']['get']('ai.container');if(this['set']('side','right'),!_0x4471f8)throw new ckeditor5['CKEditorError']('ai-tabs-configuration-not-found');if(void 0x0!==_0x4471f8['showResizeButton']&&(this['showResizeButton']=_0x4471f8['showResizeButton']),'sidebar'!==_0x4471f8['type']&&'overlay'!==_0x4471f8['type']||_0x4471f8['side']&&(this['side']=_0x4471f8['side']),'sidebar'===_0x4471f8['type']){if(this['container']=_0x4471f8['element'],this['set']('type','sidebar'),!this['container'])throw new ckeditor5['CKEditorError']('ai-tabs-sidebar-container-element-not-found');}else'overlay'===_0x4471f8['type']?(this['container']=document['body'],this['set']('type','overlay')):(this['container']=null,this['set']('type','custom'));this['view']=new _0x3b1ad6(this['context']['locale'],{'side':this['side'],'type':this['type'],'visibleByDefault':void 0x0===_0x4471f8['visibleByDefault']||_0x4471f8['visibleByDefault']}),this['view']['render'](),this['view']['bind']('side')['to'](this,'side'),this['view']['bind']('type')['to'](this,'type'),this['container']&&this['container']['appendChild'](this['view']['element']),this['context']instanceof ckeditor5['Editor']&&this['context']['ui']['focusTracker']['add'](this['view']['element']);}['switchType'](_0x34483e){if(_0x34483e&&this['type']!==_0x34483e){if(!_0x23083f['includes'](_0x34483e))throw new ckeditor5['CKEditorError']('ai-tabs-unsupported-ui-type');this['type']=_0x34483e;}}['switchSide'](_0x32d6bf){if(_0x32d6bf&&this['side']!==_0x32d6bf){if(!_0x422545['includes'](_0x32d6bf))throw new ckeditor5['CKEditorError']('ai-tabs-unsupported-ui-side');this['side']=_0x32d6bf;}}['resize'](){this['view']['isMaximized']=!this['view']['isMaximized'],this['fire']('resizedTabs',this['view']['isMaximized']);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['view']['element']&&this['view']['element']['remove']();}}class _0x3d6175 extends Error{constructor(_0x587e84,_0x53cec6){super(_0x587e84),this['name']='ParseError',this['type']=_0x53cec6['type'],this['field']=_0x53cec6['field'],this['value']=_0x53cec6['value'],this['line']=_0x53cec6['line'];}}function _0x5aec3a(_0x346893){}function createParser(_0x29b0df){if('function'==typeof _0x29b0df)throw new TypeError('`callbacks`\x20must\x20be\x20an\x20object,\x20got\x20a\x20function\x20instead.\x20Did\x20you\x20mean\x20`{onEvent:\x20fn}`?');const {onEvent:_0xb6b6a5=_0x5aec3a,onError:_0xa6edc5=_0x5aec3a,onRetry:_0x408a37=_0x5aec3a,onComment:_0x1ee8de}=_0x29b0df;let _0x58d605,_0x31bb5d='',_0x69dbbd=!0x0,_0x17fcb0='',_0x76679='';function _0x4606d5(_0x14a3bc){if(''===_0x14a3bc)return _0x17fcb0['length']>0x0&&_0xb6b6a5({'id':_0x58d605,'event':_0x76679||void 0x0,'data':_0x17fcb0['endsWith']('\x0a')?_0x17fcb0['slice'](0x0,-0x1):_0x17fcb0}),_0x58d605=void 0x0,_0x17fcb0='',void(_0x76679='');if(_0x14a3bc['startsWith'](':'))return void(_0x1ee8de&&_0x1ee8de(_0x14a3bc['slice'](_0x14a3bc['startsWith'](':\x20')?0x2:0x1)));const _0x28a686=_0x14a3bc['indexOf'](':');if(-0x1!==_0x28a686){const _0x554d76=_0x14a3bc['slice'](0x0,_0x28a686),_0x2716da='\x20'===_0x14a3bc[_0x28a686+0x1]?0x2:0x1;return void _0x38ae27(_0x554d76,_0x14a3bc['slice'](_0x28a686+_0x2716da),_0x14a3bc);}_0x38ae27(_0x14a3bc,'',_0x14a3bc);}function _0x38ae27(_0x1288fd,_0x1f616e,_0x4770cc){switch(_0x1288fd){case'event':_0x76679=_0x1f616e;break;case'data':_0x17fcb0=''+_0x17fcb0+_0x1f616e+'\x0a';break;case'id':_0x58d605=_0x1f616e['includes']('\x00')?void 0x0:_0x1f616e;break;case'retry':/^\d+$/['test'](_0x1f616e)?_0x408a37(parseInt(_0x1f616e,0xa)):_0xa6edc5(new _0x3d6175('Invalid\x20`retry`\x20value:\x20\x22'+_0x1f616e+'\x22',{'type':'invalid-retry','value':_0x1f616e,'line':_0x4770cc}));break;default:_0xa6edc5(new _0x3d6175('Unknown\x20field\x20\x22'+(_0x1288fd['length']>0x14?_0x1288fd['slice'](0x0,0x14)+'…':_0x1288fd)+'\x22',{'type':'unknown-field','field':_0x1288fd,'value':_0x1f616e,'line':_0x4770cc}));}}return{'feed':function(_0x284ea7){const _0x4325e8=_0x69dbbd?_0x284ea7['replace'](/^\xEF\xBB\xBF/,''):_0x284ea7,[_0x12c03c,_0x343e0c]=splitLines(''+_0x31bb5d+_0x4325e8);for(const _0x2ffc21 of _0x12c03c)_0x4606d5(_0x2ffc21);_0x31bb5d=_0x343e0c,_0x69dbbd=!0x1;},'reset':function(_0x12e74a={}){_0x31bb5d&&_0x12e74a['consume']&&_0x4606d5(_0x31bb5d),_0x69dbbd=!0x0,_0x58d605=void 0x0,_0x17fcb0='',_0x76679='',_0x31bb5d='';}};}function splitLines(_0x54515f){const _0x445e19=[];let _0x21c75a='',_0x24764e=0x0;for(;_0x24764e<_0x54515f['length'];){const _0x3fc3d1=_0x54515f['indexOf']('\x0d',_0x24764e),_0x3c7f28=_0x54515f['indexOf']('\x0a',_0x24764e);let _0x1151e5=-0x1;if(-0x1!==_0x3fc3d1&&-0x1!==_0x3c7f28?_0x1151e5=Math['min'](_0x3fc3d1,_0x3c7f28):-0x1!==_0x3fc3d1?_0x1151e5=_0x3fc3d1:-0x1!==_0x3c7f28&&(_0x1151e5=_0x3c7f28),-0x1===_0x1151e5){_0x21c75a=_0x54515f['slice'](_0x24764e);break;}{const _0xc60ca4=_0x54515f['slice'](_0x24764e,_0x1151e5);_0x445e19['push'](_0xc60ca4),_0x24764e=_0x1151e5+0x1,'\x0d'===_0x54515f[_0x24764e-0x1]&&'\x0a'===_0x54515f[_0x24764e]&&_0x24764e++;}}return[_0x445e19,_0x21c75a];}const _0x45854c='1';class AIConnector extends ckeditor5['ContextPlugin']{['_apiUrl'];['_token'];['_decoder'];static get['requires'](){return['CloudServices'];}static get['pluginName'](){return'AIConnector';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x14cfbc){super(_0x14cfbc),this['context']['config']['define']('ai.serviceUrl','https://ai.cke-cs.com/v1'),this['_apiUrl']=this['context']['config']['get']('ai.serviceUrl'),this['_token']=null,this['_decoder']=new TextDecoder();}['init'](){const _0x20a54c=this['context']['plugins']['get']('CloudServices');if(!_0x20a54c['token'])throw new ckeditor5['CKEditorError']('ai-missing-token',this);this['_token']=_0x20a54c['token'];}['startConversation'](_0x1ab115,_0x60e842){const _0x354bc1=this['_sendApiRequest']('/conversations','POST',{'id':_0x1ab115,'group':_0x60e842});return{'getConversation':async()=>(await _0x354bc1['request'])['json'](),'abortController':_0x354bc1['abortController']};}['queryAssistant']({message:_0x4a890d,conversationId:_0x558bc1,parts:_0x12e2d5,capabilities:_0x139f40,model:_0x595c24,attributes:_0x39ac85}){const _0x298742={'prompt':_0x4a890d,'content':_0x12e2d5,'model':_0x595c24,..._0x139f40&&{'capabilities':_0x139f40},..._0x39ac85&&{'attributes':_0x39ac85}},_0x57174b=this['_sendApiRequest']('/conversations/'+_0x558bc1+'/messages','POST',_0x298742);return{'getStream':async()=>{const _0x24516b=(await _0x57174b['request'])['body'];return this['_getStreamReader'](_0x24516b);},'abortController':_0x57174b['abortController']};}['executeCustomAction']({content:_0x256e39,message:_0x569cf6,model:_0x1591a7,outputFormat:_0x149f9e}){const _0x508629={'content':[{'type':'text','content':_0x256e39}],'prompt':_0x569cf6,'model':_0x1591a7,'outputFormat':_0x149f9e},_0x2e9230=this['_sendApiRequest']('/actions/custom/calls','POST',_0x508629);return{'getStream':async()=>{const _0x3eb865=(await _0x2e9230['request'])['body'];return this['_getStreamReader'](_0x3eb865);},'abortController':_0x2e9230['abortController']};}['executeAction']({actionName:_0x226344,content:_0xe13bdb,args:_0x418080}){const _0x2bea43={'content':[{'type':'text','content':_0xe13bdb}],'args':_0x418080},_0x11c573=this['_sendApiRequest']('/actions/system/'+_0x226344+'/calls','POST',_0x2bea43);return{'getStream':async()=>{const _0x572b48=(await _0x11c573['request'])['body'];return this['_getStreamReader'](_0x572b48);},'abortController':_0x11c573['abortController']};}['uploadFile'](_0x26abd9,_0x41c1fb,_0x47ed84){const _0x17667a=new FormData();_0x17667a['append']('file',_0x41c1fb,_0x41c1fb['name']),_0x47ed84&&_0x17667a['append']('attributes',JSON['stringify'](_0x47ed84));const _0x51b275=this['_sendApiRequest']('/conversations/'+_0x26abd9+'/files','POST',_0x17667a);return{'getId':async()=>(await _0x51b275['request'])['json'](),'abortController':_0x51b275['abortController']};}['fetchDocument'](_0x126d88,_0x3d69b4){const _0x22260e=this['_sendApiRequest']('/conversations/'+_0x126d88+'/documents/'+_0x3d69b4,'GET');return{'getDocument':async()=>(await _0x22260e['request'])['json'](),'abortController':_0x22260e['abortController']};}['uploadDocument'](_0x3ae86b,_0x41dd5d,_0x16d2cd){const _0x1b8f6b={'content':_0x41dd5d};_0x16d2cd&&(_0x1b8f6b['attributes']=_0x16d2cd);const _0x1c5ad0=this['_sendApiRequest']('/conversations/'+_0x3ae86b+'/documents','POST',_0x1b8f6b);return{'getId':async()=>(await _0x1c5ad0['request'])['json'](),'abortController':_0x1c5ad0['abortController']};}['fetchConversations'](_0x4b2cea,_0x5f1341={}){const _0xc6dd45=new URLSearchParams();_0xc6dd45['append']('group',_0x4b2cea),_0xc6dd45['append']('excludeEmpty',!0x1!==_0x5f1341['excludeEmpty']?'true':'false'),_0xc6dd45['append']('limit',_0x5f1341['limit']?_0x5f1341['limit']['toString']():'100'),_0xc6dd45['append']('sortBy',_0x5f1341['sortBy']?_0x5f1341['sortBy']:'createdAt'),_0xc6dd45['append']('order',_0x5f1341['order']?_0x5f1341['order']:'desc');const _0x550bd8=this['_sendApiRequest']('/conversations?'+_0xc6dd45['toString'](),'GET');return{'getConversations':async()=>{const _0x110ff=await _0x550bd8['request'];return(await _0x110ff['json']())['items'];},'abortController':_0x550bd8['abortController']};}['deleteConversation'](_0x364beb){const _0x388663=this['_sendApiRequest']('/conversations/'+_0x364beb,'DELETE');return{'execute':async()=>{await _0x388663['request'];},'abortController':_0x388663['abortController']};}['updateConversation'](_0x3850e7,_0x3f8eeb){const _0x1c63bf=this['_sendApiRequest']('/conversations/'+_0x3850e7,'PATCH',_0x3f8eeb);return{'getResult':async()=>(await _0x1c63bf['request'],_0x3f8eeb),'abortController':_0x1c63bf['abortController']};}['fetchConversation'](_0x17ea1a){const _0x1815ae=this['_sendApiRequest']('/conversations/'+_0x17ea1a,'GET');return{'getConversation':async()=>(await _0x1815ae['request'])['json'](),'abortController':_0x1815ae['abortController']};}['fetchConversationMessages'](_0x5c0071){const _0x2a5fa4=this['_sendApiRequest']('/conversations/'+_0x5c0071+'/messages','GET');return{'getMessages':async()=>{const _0x27b8bd=await _0x2a5fa4['request'];return(await _0x27b8bd['json']())['items'];},'abortController':_0x2a5fa4['abortController']};}['uploadUrl'](_0x9786f2,_0x16237b,_0x2dd9a7){const _0x1360b4=this['_sendApiRequest']('/conversations/'+_0x9786f2+'/web-resources','POST',{'url':_0x16237b,'attributes':_0x2dd9a7});return{'getId':async()=>(await _0x1360b4['request'])['json'](),'abortController':_0x1360b4['abortController']};}['getModels'](_0x7707c8='en'){const _0x5759cc=new URLSearchParams();_0x5759cc['append']('language',_0x7707c8);const _0x2ec623='/models/'+_0x45854c+'?'+_0x5759cc['toString'](),_0x551043=this['_sendApiRequest'](_0x2ec623,'GET');return{'list':async()=>await(await _0x551043['request'])['json'](),'abortController':_0x551043['abortController']};}['deleteFile'](_0x424334,_0x2e6a6e){const _0x16ea83=this['_sendApiRequest']('/conversations/'+_0x424334+'/files/'+_0x2e6a6e,'DELETE');return{'execute':async()=>{await _0x16ea83['request'];},'abortController':_0x16ea83['abortController']};}['deleteDocument'](_0x2d3f39,_0x34b193){const _0x4bf9f9=this['_sendApiRequest']('/conversations/'+_0x2d3f39+'/documents/'+_0x34b193,'DELETE');return{'execute':async()=>{await _0x4bf9f9['request'];},'abortController':_0x4bf9f9['abortController']};}['deleteWebResource'](_0x2693ea,_0x436be8){const _0x137be7=this['_sendApiRequest']('/conversations/'+_0x2693ea+'/web-resources/'+_0x436be8,'DELETE');return{'execute':async()=>{await _0x137be7['request'];},'abortController':_0x137be7['abortController']};}['callSystemReview']({reviewName:_0x268184,content:_0x58bf71,args:_0x6fd398}){const _0x5b69d0=this['_sendApiRequest']('/reviews/system/'+_0x268184+'/calls','POST',{'content':[{'type':'text','content':_0x58bf71}],'args':_0x6fd398});return{'getStream':async()=>{const _0x3049f4=(await _0x5b69d0['request'])['body'];return this['_getStreamReader'](_0x3049f4);},'abortController':_0x5b69d0['abortController']};}['callCustomReview']({content:_0x151f16,prompt:_0x4d7d8c,model:_0x2ef14d}){const _0x30ef74=this['_sendApiRequest']('/reviews/custom/calls','POST',{'content':[{'type':'text','content':_0x151f16}],'prompt':_0x4d7d8c,'model':_0x2ef14d});return{'getStream':async()=>{const _0x1828b1=(await _0x30ef74['request'])['body'];return this['_getStreamReader'](_0x1828b1);},'abortController':_0x30ef74['abortController']};}['upsertAIChatRating'](_0x20ca3a,_0x4600d8,_0x3a09db){const _0x4fdb9f=this['_sendApiRequest']('/conversations/'+_0x20ca3a+'/messages/'+_0x4600d8+'/ratings','PUT',{'positiveCount':_0x3a09db['positiveCount'],'totalCount':_0x3a09db['totalCount'],'modificationId':_0x3a09db['modificationId']});return{'execute':async()=>{await _0x4fdb9f['request'];},'abortController':_0x4fdb9f['abortController']};}['upsertAIActionRating'](_0x100e91,_0x575ede,_0xa19ab4){const _0x4e39bb=this['_sendApiRequest']('/actions/system/'+_0x100e91+'/calls/'+_0x575ede+'/ratings','PUT',{'positiveCount':_0xa19ab4['positiveCount'],'totalCount':_0xa19ab4['totalCount']});return{'execute':async()=>{await _0x4e39bb['request'];},'abortController':_0x4e39bb['abortController']};}['upsertCustomAIActionRating'](_0x3696c6,_0x3ad7fa){const _0x1fd539=this['_sendApiRequest']('/actions/custom/calls/'+_0x3696c6+'/ratings','PUT',{'positiveCount':_0x3ad7fa['positiveCount'],'totalCount':_0x3ad7fa['totalCount']});return{'execute':async()=>{await _0x1fd539['request'];},'abortController':_0x1fd539['abortController']};}['upsertAIReviewRating'](_0xa952e6,_0x3ffeb5,_0x313d8b,_0x78d7ad){const _0x3d415e=this['_sendApiRequest']('/reviews/system/'+_0xa952e6+'/calls/'+_0x3ffeb5+'/ratings','PUT',{'positiveCount':_0x313d8b['positiveCount'],'totalCount':_0x313d8b['totalCount'],'dataId':_0x78d7ad});return{'execute':async()=>{await _0x3d415e['request'];},'abortController':_0x3d415e['abortController']};}['upsertCustomAIReviewRating'](_0x3813e1,_0x31811f,_0x4729e2){const _0x3ba09f=this['_sendApiRequest']('/reviews/custom/calls/'+_0x3813e1+'/ratings','PUT',{'positiveCount':_0x31811f['positiveCount'],'totalCount':_0x31811f['totalCount'],'dataId':_0x4729e2});return{'execute':async()=>{await _0x3ba09f['request'];},'abortController':_0x3ba09f['abortController']};}['_sendApiRequest'](_0x31b789,_0xe651c8,_0xef8fba){const _0x2412e1=new AbortController(),_0x5a2a5=_0xef8fba instanceof FormData,_0x45c9b8={'Authorization':'Bearer\x20'+this['_token']?.['value']};_0xef8fba&&!_0x5a2a5&&(_0x45c9b8['Content-Type']='application/json');const _0x54c845={'method':_0xe651c8,'headers':_0x45c9b8,'signal':_0x2412e1['signal']};_0xef8fba&&(_0x54c845['body']=_0x5a2a5?_0xef8fba:JSON['stringify'](_0xef8fba));const _0x279cb2=fetch(''+this['_apiUrl']+_0x31b789,_0x54c845)['catch'](_0x1237b8=>{this['_handleError'](_0x1237b8);})['then'](_0x12b7c9=>_0x12b7c9['ok']?_0x12b7c9:_0x12b7c9['json']()['then'](_0xd1ad76=>{throw{'url':this['_apiUrl'],'path':_0x31b789,'method':_0xe651c8,'body':_0xef8fba,'status':(_0x12b7c9||{})['status'],'statusText':(_0x12b7c9||{})['statusText'],'code':_0xd1ad76['code'],'message':_0xd1ad76['message'],'traceId':_0xd1ad76['traceId']};}));return{'request':_0x279cb2,'abortController':_0x2412e1};}async*['_getStreamReader'](_0x299b5a){const _0x5be2dd=[],_0x5d854d=_0x299b5a['getReader'](),_0x181f94=createParser({'onError':_0x494ab4=>{this['_handleError'](_0x494ab4);},'onEvent':_0x6983b1=>{_0x6983b1['data']=JSON['parse'](_0x6983b1['data']),_0x5be2dd['push'](_0x6983b1);}});try{let _0x517214=!0x1;for(;!_0x517214;){const {done:_0x3a20f1,value:_0x19c317}=await _0x5d854d['read']();_0x3a20f1&&(_0x517214=!0x0),_0x181f94['feed'](this['_decoder']['decode'](_0x19c317,{'stream':!0x0})),yield*_0x5be2dd,_0x5be2dd['length']=0x0;}}catch(_0x53b290){this['_handleError'](_0x53b290);}finally{_0x5d854d['releaseLock'](),_0x181f94['reset']();}}['_handleError'](_0x3d24e6){if(_0x3d24e6 instanceof ckeditor5['CKEditorError'])throw _0x3d24e6;if(_0x3d24e6 instanceof Error&&'AbortError'===_0x3d24e6['name'])throw new ckeditor5['CKEditorError']('ai-request-aborted',this,{'originalError':_0x3d24e6});throw new ckeditor5['CKEditorError']('ai-request-failed',this,{'originalError':_0x3d24e6});}}function getTranslation$i(_0x30c8a2,_0x1a065d,_0x2dc72a){const t=_0x30c8a2['t'];switch(_0x1a065d){case'AI_SUGGESTION_HEADER_TITLE':return t({'id':'AI_SUGGESTION_HEADER_TITLE','string':'Proposed\x20changes'});case'AI_SUGGESTION_BUTTON_SHOW_CHANGES':return t({'id':'AI_SUGGESTION_BUTTON_SHOW_CHANGES','string':'Show\x20details'});case'AI_MINI_TOOLBAR_LIKE':return t({'id':'AI_MINI_TOOLBAR_LIKE','string':'I\x20like\x20this\x20response'});case'AI_MINI_TOOLBAR_DISLIKE':return t({'id':'AI_MINI_TOOLBAR_DISLIKE','string':'I\x20don\x27t\x20like\x20this\x20response'});case'AI_MINI_TOOLBAR_COPY':return t({'id':'AI_MINI_TOOLBAR_COPY','string':'Copy\x20to\x20clipboard'});case'AI_SUGGESTION_CONTENT_PART_TITLE':return t({'id':'AI_SUGGESTION_CONTENT_PART_TITLE','string':'Change\x20%0'},_0x2dc72a);case'AI_SUGGESTION_CONTENT_PART_REJECTED':return t({'id':'AI_SUGGESTION_CONTENT_PART_REJECTED','string':'Change\x20was\x20rejected'});case'AI_SUGGESTION_CONTENT_PART_OUTDATED':return t({'id':'AI_SUGGESTION_CONTENT_PART_OUTDATED','string':'Change\x20is\x20outdated'});case'AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED':return t({'id':'AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','string':'Change\x20is\x20already\x20applied'});case'AI_SUGGESTION_CONTENT_PART_APPLY':return t({'id':'AI_SUGGESTION_CONTENT_PART_APPLY','string':'Apply\x20change'});case'AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION':return t({'id':'AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION','string':'Add\x20as\x20suggestion'});case'AI_SUGGESTION_CONTENT_PART_REJECT':return t({'id':'AI_SUGGESTION_CONTENT_PART_REJECT','string':'Reject\x20change'});case'AI_SUGGESTION_CONTENT_PART_REMOVED':return t({'id':'AI_SUGGESTION_CONTENT_PART_REMOVED','string':'Removed\x20content.\x20Use\x20\x22Show\x20details\x22\x20to\x20learn\x20more.'});case'AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED':return t({'id':'AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED','string':'Approved'});case'AI_SUGGESTION_CONTENT_PART_STATE_REJECTED':return t({'id':'AI_SUGGESTION_CONTENT_PART_STATE_REJECTED','string':'Rejected'});case'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED':return t({'id':'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED','string':'Outdated'});case'AI_DISCLAIMER_TEXT':return t({'id':'AI_DISCLAIMER_TEXT','string':'AI\x20can\x20make\x20mistakes.\x20Please\x20double-check\x20responses.'});case'AI_TABS_LABEL_MAXIMIZE':return t({'id':'AI_TABS_LABEL_MAXIMIZE','string':'Maximize'});case'AI_TABS_LABEL_MINIMIZE':return t({'id':'AI_TABS_LABEL_MINIMIZE','string':'Minimize'});case'AI_CHAT_HEADING':return t({'id':'AI_CHAT_HEADING','string':'Chat'});case'AI_CHAT_SOURCES_HEADER':return t({'id':'AI_CHAT_SOURCES_HEADER','string':'Sources'});case'AI_CHAT_UNTITLED_CONVERSATION':return t({'id':'AI_CHAT_UNTITLED_CONVERSATION','string':'Untitled\x20conversation'});case'AI_CHAT_LABEL_NEW_CHAT':return t({'id':'AI_CHAT_LABEL_NEW_CHAT','string':'New\x20chat'});case'AI_CHAT_STOP_GENERATING':return t({'id':'AI_CHAT_STOP_GENERATING','string':'Stop\x20generating'});case'AI_CHAT_IS_WRITING':return t({'id':'AI_CHAT_IS_WRITING','string':'AI\x20is\x20writing...'});case'AI_CHAT_PROMPT_EMPTY_ERROR':return t({'id':'AI_CHAT_PROMPT_EMPTY_ERROR','string':'This\x20field\x20cannot\x20be\x20empty.'});case'AI_CHAT_LABEL_SUBMIT':return t({'id':'AI_CHAT_LABEL_SUBMIT','string':'Submit'});case'AI_CHAT_WELCOME_MESSAGE':return t({'id':'AI_CHAT_WELCOME_MESSAGE','string':'Hi!\x20I\x20can\x20help\x20you\x20draft,\x20rewrite,\x20and\x20improve\x20your\x20text,\x20explore\x20ideas,\x20research\x20topics,\x20and\x20solve\x20problems.\x20How\x20can\x20I\x20help\x20right\x20now?'});case'AI_CHAT_ABORTED_MESSAGE':return t({'id':'AI_CHAT_ABORTED_MESSAGE','string':'The\x20request\x20was\x20aborted.'});case'AI_CHAT_GENERIC_ERROR':return t({'id':'AI_CHAT_GENERIC_ERROR','string':'Something\x20went\x20wrong\x20while\x20processing\x20your\x20request.\x20Please\x20try\x20again.'});case'AI_CHAT_UNABLE_TO_START_CONVERSATION':return t({'id':'AI_CHAT_UNABLE_TO_START_CONVERSATION','string':'Unable\x20to\x20start\x20conversation.\x20Please\x20make\x20sure\x20you\x20are\x20online\x20and\x20try\x20again.'});case'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION':return t({'id':'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION','string':'Unable\x20to\x20load\x20chosen\x20conversation.\x20Please\x20make\x20sure\x20you\x20are\x20online\x20and\x20try\x20again.'});case'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE':return t({'id':'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE','string':'Failed\x20to\x20upload\x20files:\x20%0.\x20Please\x20try\x20again.'},_0x2dc72a);case'AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES':return t({'id':'AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES','string':'Unable\x20to\x20load\x20resources\x20from\x20%0.\x20Please\x20try\x20again.'},_0x2dc72a);case'AI_CHAT_RESOURCE_LOAD_FAILED':return t({'id':'AI_CHAT_RESOURCE_LOAD_FAILED','string':'Failed\x20to\x20load\x20resource.\x20Please\x20try\x20again.'});case'AI_CHAT_CONTEXT_CURRENT_DOCUMENT':return t({'id':'AI_CHAT_CONTEXT_CURRENT_DOCUMENT','string':'Current\x20document'});case'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT':return t({'id':'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT','string':'Remove\x20from\x20context'});case'AI_CHAT_CONTEXT_ADD_CONTEXT':return t({'id':'AI_CHAT_CONTEXT_ADD_CONTEXT','string':'Add\x20context'});case'AI_CHAT_CONTEXT_URL_LABEL':return t({'id':'AI_CHAT_CONTEXT_URL_LABEL','string':'URL'});case'AI_CHAT_CONTEXT_FILE_LABEL':return t({'id':'AI_CHAT_CONTEXT_FILE_LABEL','string':'File'});case'AI_CHAT_CONTEXT_CURRENT_CONTEXT_LABEL':return t({'id':'AI_CHAT_CONTEXT_CURRENT_CONTEXT_LABEL','string':'Current\x20context'});case'AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL':return t({'id':'AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL','string':'Selected\x20content'});case'AI_CHAT_SEARCH_WEB':return t({'id':'AI_CHAT_SEARCH_WEB','string':'Web\x20search'});case'AI_CHAT_ENABLE_WEB_SEARCH':return t({'id':'AI_CHAT_ENABLE_WEB_SEARCH','string':'Enable\x20web\x20search'});case'AI_CHAT_DISABLE_WEB_SEARCH':return t({'id':'AI_CHAT_DISABLE_WEB_SEARCH','string':'Disable\x20web\x20search'});case'AI_CHAT_REASONING':return t({'id':'AI_CHAT_REASONING','string':'Reasoning'});case'AI_CHAT_ENABLE_REASONING':return t({'id':'AI_CHAT_ENABLE_REASONING','string':'Enable\x20reasoning'});case'AI_CHAT_DISABLE_REASONING':return t({'id':'AI_CHAT_DISABLE_REASONING','string':'Disable\x20reasoning'});case'AI_CHAT_COMMANDS':return t({'id':'AI_CHAT_COMMANDS','string':'Commands'});case'AI_CHAT_SEARCH_RESOURCES':return t({'id':'AI_CHAT_SEARCH_RESOURCES','string':'Search\x20resources'});case'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT':return t({'id':'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','string':'Back\x20to\x20context\x20options'});case'AI_CHAT_CONTEXT_URL_ADD_URL':return t({'id':'AI_CHAT_CONTEXT_URL_ADD_URL','string':'Add\x20URL'});case'AI_CHAT_CONTEXT_URL_PLACEHOLDER':return t({'id':'AI_CHAT_CONTEXT_URL_PLACEHOLDER','string':'Add\x20URL...'});case'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL':return t({'id':'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL','string':'Failed\x20to\x20upload\x20URL:\x20%0.\x20Please\x20try\x20again.'},_0x2dc72a);case'AI_CHAT_CONTEXT_INVALID_DATA':return t({'id':'AI_CHAT_CONTEXT_INVALID_DATA','string':'Invalid\x20context\x20data\x20type\x20for\x20the\x20selected\x20resource.'});case'AI_CHAT_CONTEXT_UNSUPPORTED_TYPE':return t({'id':'AI_CHAT_CONTEXT_UNSUPPORTED_TYPE','string':'Unsupported\x20resource\x20type.\x20Only\x20files\x20and\x20URLs\x20are\x20supported.'});case'AI_CHAT_CONTEXT_URL_EMPTY_ERROR':return t({'id':'AI_CHAT_CONTEXT_URL_EMPTY_ERROR','string':'URL\x20cannot\x20be\x20empty.'});case'AI_CHAT_CONTEXT_URL_INVALID_ERROR':return t({'id':'AI_CHAT_CONTEXT_URL_INVALID_ERROR','string':'Please\x20enter\x20a\x20valid\x20URL.'});case'AI_CHAT_INVALID_REQUEST':return t({'id':'AI_CHAT_INVALID_REQUEST','string':'Something\x20went\x20wrong\x20while\x20processing\x20your\x20request.\x20Please\x20try\x20again.'});case'AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE':return t({'id':'AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE','string':'The\x20file\x20type\x20is\x20not\x20supported.\x20Please\x20upload\x20a\x20different\x20file.'});case'AI_CHAT_CONTEXT_FILE_TOO_LARGE':return t({'id':'AI_CHAT_CONTEXT_FILE_TOO_LARGE','string':'The\x20file\x20is\x20too\x20large.\x20Please\x20upload\x20a\x20smaller\x20file.'});case'AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES':return t({'id':'AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES','string':'The\x20file\x20has\x20too\x20many\x20pages.\x20Please\x20upload\x20a\x20file\x20with\x20fewer\x20pages.'});case'AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED':return t({'id':'AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED','string':'The\x20form\x20data\x20size\x20limits\x20are\x20exceeded.\x20Please\x20upload\x20a\x20smaller\x20file.'});case'AI_CHAT_FEED_LOADING_MESSAGE_REGULAR':return t({'id':'AI_CHAT_FEED_LOADING_MESSAGE_REGULAR','string':'AI\x20is\x20preparing\x20a\x20response...'});case'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH':return t({'id':'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH','string':'AI\x20is\x20searching\x20the\x20web\x20to\x20provide\x20the\x20most\x20accurate\x20answer...'});case'AI_CHAT_FEED_LOADING_MESSAGE_REASONING':return t({'id':'AI_CHAT_FEED_LOADING_MESSAGE_REASONING','string':'AI\x20is\x20using\x20reasoning\x20to\x20provide\x20the\x20most\x20accurate\x20answer...'});case'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING':return t({'id':'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING','string':'AI\x20is\x20using\x20reasoning\x20and\x20searching\x20the\x20web\x20to\x20provide\x20the\x20most\x20accurate\x20answer...'});case'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH':return t({'id':'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','string':'Scanned\x20the\x20internet\x20for\x20insights'});case'AI_CHAT_FEED_REPLY_ITEM_USED_REASONING':return t({'id':'AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','string':'AI\x20used\x20reasoning\x20to\x20improve\x20the\x20response'});case'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING':return t({'id':'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','string':'AI\x20used\x20search\x20and\x20reasoning\x20to\x20improve\x20the\x20response'});case'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR':return t({'id':'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR','string':'Ask\x20AI\x20anything...'});case'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH':return t({'id':'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH','string':'Ask\x20AI\x20anything\x20(web\x20search\x20enabled)...'});case'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING':return t({'id':'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING','string':'Ask\x20AI\x20anything\x20(reasoning\x20enabled)...'});case'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING':return t({'id':'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING','string':'Ask\x20AI\x20anything\x20(web\x20search\x20and\x20reasoning\x20enabled)...'});case'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL':return t({'id':'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','string':'Suggest\x20all'},_0x2dc72a);case'AI_CHAT_SUGGESTION_ACTION_SUGGEST':return t({'id':'AI_CHAT_SUGGESTION_ACTION_SUGGEST','string':'Suggest'},_0x2dc72a);case'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL':return t({'id':'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','string':'Apply\x20all'});case'AI_CHAT_SUGGESTION_ACTION_APPLY':return t({'id':'AI_CHAT_SUGGESTION_ACTION_APPLY','string':'Apply'});case'AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP':return t({'id':'AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','string':'More\x20options'},_0x2dc72a);case'AI_CHAT_MODEL_SELECTOR_GROUP':return t({'id':'AI_CHAT_MODEL_SELECTOR_GROUP','string':'Models'});case'AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP':return t({'id':'AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','string':'Select\x20a\x20model'});case'AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP':return t({'id':'AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','string':'Start\x20a\x20new\x20conversation\x20to\x20change\x20the\x20model'});case'AI_CHAT_CAPABILITIES_YES':return t({'id':'AI_CHAT_CAPABILITIES_YES','string':'Yes'});case'AI_CHAT_CAPABILITIES_NO':return t({'id':'AI_CHAT_CAPABILITIES_NO','string':'No'});case'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_TEXT':return t({'id':'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_TEXT','string':'The\x20selected\x20model\x20is\x20no\x20longer\x20available,\x20so\x20you\x20cannot\x20continue\x20this\x20conversation.\x20Please\x20'});case'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON':return t({'id':'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON','string':'start\x20a\x20new\x20one.'});case'AI_CHAT_CONTEXT_SOURCES_LABEL':return t({'id':'AI_CHAT_CONTEXT_SOURCES_LABEL','string':'Sources'});case'AI_CHAT_HISTORY_HEADING':return t({'id':'AI_CHAT_HISTORY_HEADING','string':'Chat\x20History'});case'AI_CHAT_HISTORY_SEARCH_LABEL':return t({'id':'AI_CHAT_HISTORY_SEARCH_LABEL','string':'Search\x20history'});case'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY':return t({'id':'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY','string':'No\x20chats\x20were\x20found\x20matching\x20\x22%0\x22.'},_0x2dc72a);case'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY':return t({'id':'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY','string':'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.'});case'AI_CHAT_HISTORY_EMPTY_MESSAGE':return t({'id':'AI_CHAT_HISTORY_EMPTY_MESSAGE','string':'Your\x20chat\x20history\x20for\x20current\x20document\x20will\x20appear\x20here.'});case'AI_CHAT_HISTORY_GO_TO_CHAT_BUTTON':return t({'id':'AI_CHAT_HISTORY_GO_TO_CHAT_BUTTON','string':'Go\x20to\x20chat'});case'AI_CHAT_HISTORY_PIN_BUTTON':return t({'id':'AI_CHAT_HISTORY_PIN_BUTTON','string':'Pin'});case'AI_CHAT_HISTORY_SHOW_MORE_ITEMS':return t({'id':'AI_CHAT_HISTORY_SHOW_MORE_ITEMS','string':'Show\x20more\x20items'});case'AI_CHAT_HISTORY_EDIT_NAME':return t({'id':'AI_CHAT_HISTORY_EDIT_NAME','string':'Edit\x20name'});case'AI_CHAT_HISTORY_REMOVE':return t({'id':'AI_CHAT_HISTORY_REMOVE','string':'Remove'});case'AI_CHAT_HISTORY_REMOVE_CONFIRM':return t({'id':'AI_CHAT_HISTORY_REMOVE_CONFIRM','string':'Do\x20you\x20want\x20to\x20remove\x20this\x20chat?'});case'AI_CHAT_HISTORY_ACCEPT':return t({'id':'AI_CHAT_HISTORY_ACCEPT','string':'Accept'});case'AI_CHAT_HISTORY_CANCEL':return t({'id':'AI_CHAT_HISTORY_CANCEL','string':'Cancel'});case'AI_CHAT_HISTORY_LOADING_REMOVING':return t({'id':'AI_CHAT_HISTORY_LOADING_REMOVING','string':'Removing\x20the\x20chat...'});case'AI_CHAT_HISTORY_LOADING_RENAMING':return t({'id':'AI_CHAT_HISTORY_LOADING_RENAMING','string':'Renaming\x20the\x20chat...'});case'AI_CHAT_HISTORY_LOADING_PINNING':return t({'id':'AI_CHAT_HISTORY_LOADING_PINNING','string':'Pinning\x20the\x20chat...'});case'AI_CHAT_HISTORY_LOADING_UNPINNING':return t({'id':'AI_CHAT_HISTORY_LOADING_UNPINNING','string':'Unpinning\x20the\x20chat...'});case'AI_CHAT_HISTORY_CATEGORY_PINNED':return t({'id':'AI_CHAT_HISTORY_CATEGORY_PINNED','string':'Pinned'});case'AI_CHAT_HISTORY_CATEGORY_TODAY':return t({'id':'AI_CHAT_HISTORY_CATEGORY_TODAY','string':'Today'});case'AI_CHAT_HISTORY_CATEGORY_YESTERDAY':return t({'id':'AI_CHAT_HISTORY_CATEGORY_YESTERDAY','string':'Yesterday'});case'AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS':return t({'id':'AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','string':'Last\x2014\x20days'});case'AI_CHAT_HISTORY_CATEGORY_LATER':return t({'id':'AI_CHAT_HISTORY_CATEGORY_LATER','string':'Later'});case'AI_CHAT_HISTORY_ERROR_UPDATE_TITLE':return t({'id':'AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','string':'Failed\x20to\x20change\x20the\x20\x22%0\x22\x20chat\x20name.\x20Please\x20try\x20again\x20later.'},_0x2dc72a);case'AI_CHAT_HISTORY_ERROR_UPDATE_PINNED':return t({'id':'AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','string':'Failed\x20to\x20%0\x20the\x20\x22%1\x22\x20chat.\x20Please\x20try\x20again\x20later.'},_0x2dc72a);case'AI_CHAT_HISTORY_ERROR_REMOVE_ITEM':return t({'id':'AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','string':'Failed\x20to\x20delete\x20the\x20\x22%0\x22\x20chat.\x20Please\x20try\x20again\x20later.'},_0x2dc72a);case'AI_CHAT_HISTORY_ERROR_LOAD_ITEMS':return t({'id':'AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','string':'Failed\x20to\x20load\x20the\x20chat\x20history.\x20Please\x20try\x20again\x20later.'});case'AI_CHAT_HISTORY_ERROR_GENERIC':return t({'id':'AI_CHAT_HISTORY_ERROR_GENERIC','string':'Something\x20went\x20wrong.\x20Please\x20try\x20again\x20later.'});case'AI_CHAT_HISTORY_PIN_ACTION':return t({'id':'AI_CHAT_HISTORY_PIN_ACTION','string':'pin'});case'AI_CHAT_HISTORY_UNPIN_ACTION':return t({'id':'AI_CHAT_HISTORY_UNPIN_ACTION','string':'unpin'});case'AI_BALLOON_HEADER_TITLE':return t({'id':'AI_BALLOON_HEADER_TITLE','string':'Change\x20%0'},_0x2dc72a);case'AI_BALLOON_APPLY_BUTTON':return t({'id':'AI_BALLOON_APPLY_BUTTON','string':'Apply'});case'AI_BALLOON_SUGGEST_BUTTON':return t({'id':'AI_BALLOON_SUGGEST_BUTTON','string':'Suggest'});case'AI_BALLOON_NEXT_LABEL':return t({'id':'AI_BALLOON_NEXT_LABEL','string':'Next'});case'AI_BALLOON_PREVIOUS_LABEL':return t({'id':'AI_BALLOON_PREVIOUS_LABEL','string':'Previous'});case'AI_SUGGESTION_NO_PARTS_WARNING':return t({'id':'AI_SUGGESTION_NO_PARTS_WARNING','string':'This\x20change\x20is\x20not\x20supported\x20by\x20the\x20editor\x20and\x20can\x27t\x20be\x20previewed\x20or\x20applied.'});case'AI_SUGGESTION_EMPTY_PART_WARNING':return t({'id':'AI_SUGGESTION_EMPTY_PART_WARNING','string':'Some\x20of\x20the\x20changes\x20are\x20not\x20supported\x20by\x20the\x20editor\x20and\x20can\x27t\x20be\x20previewed\x20or\x20applied.'});case'AI_ACTIONS_TRY_AGAIN':return t({'id':'AI_ACTIONS_TRY_AGAIN','string':'Retry'});case'AI_ACTIONS_PREVIOUS_INTERACTION':return t({'id':'AI_ACTIONS_PREVIOUS_INTERACTION','string':'Previous'});case'AI_ACTIONS_NEXT_INTERACTION':return t({'id':'AI_ACTIONS_NEXT_INTERACTION','string':'Next'});case'AI_MODEL_NAME_AUTO':return t({'id':'AI_MODEL_NAME_AUTO','string':'Auto'});case'AI_QUICK_ACTIONS_HEADING':return t({'id':'AI_QUICK_ACTIONS_HEADING','string':'AI\x20Quick\x20Actions'});case'AI_QUICK_ACTIONS_SEARCH':return t({'id':'AI_QUICK_ACTIONS_SEARCH','string':'Search\x20AI\x20commands'});case'AI_QUICK_ACTIONS_SEARCH_NOT_FOUND':return t({'id':'AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','string':'No\x20AI\x20commands\x20found'});case'AI_QUICK_ACTIONS_ASK_AI':return t({'id':'AI_QUICK_ACTIONS_ASK_AI','string':'Ask\x20AI'});case'AI_QUICK_ACTIONS_CHAT_COMMANDS':return t({'id':'AI_QUICK_ACTIONS_CHAT_COMMANDS','string':'Chat\x20commands'});case'AI_QUICK_ACTIONS_IMPROVE_WRITING':return t({'id':'AI_QUICK_ACTIONS_IMPROVE_WRITING','string':'Improve\x20writing'});case'AI_QUICK_ACTIONS_CONTINUE_WRITING':return t({'id':'AI_QUICK_ACTIONS_CONTINUE_WRITING','string':'Continue\x20writing'});case'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING':return t({'id':'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','string':'Fix\x20grammar\x20&\x20spelling'});case'AI_QUICK_ACTIONS_ADJUST_LENGTH':return t({'id':'AI_QUICK_ACTIONS_ADJUST_LENGTH','string':'Adjust\x20length'});case'AI_QUICK_ACTIONS_CHANGE_TONE':return t({'id':'AI_QUICK_ACTIONS_CHANGE_TONE','string':'Change\x20tone'});case'AI_QUICK_ACTIONS_TRANSLATE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE','string':'Translate'});case'AI_QUICK_ACTIONS_EXPLAIN':return t({'id':'AI_QUICK_ACTIONS_EXPLAIN','string':'Explain'});case'AI_QUICK_ACTIONS_SUMMARIZE':return t({'id':'AI_QUICK_ACTIONS_SUMMARIZE','string':'Summarize'});case'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS':return t({'id':'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','string':'Highlight\x20key\x20points'});case'AI_QUICK_ACTIONS_MAKE_SHORTER':return t({'id':'AI_QUICK_ACTIONS_MAKE_SHORTER','string':'Make\x20shorter'});case'AI_QUICK_ACTIONS_MAKE_LONGER':return t({'id':'AI_QUICK_ACTIONS_MAKE_LONGER','string':'Make\x20longer'});case'AI_QUICK_ACTIONS_MORE_CASUAL':return t({'id':'AI_QUICK_ACTIONS_MORE_CASUAL','string':'More\x20casual'});case'AI_QUICK_ACTIONS_MORE_DIRECT':return t({'id':'AI_QUICK_ACTIONS_MORE_DIRECT','string':'More\x20direct'});case'AI_QUICK_ACTIONS_MORE_FRIENDLY':return t({'id':'AI_QUICK_ACTIONS_MORE_FRIENDLY','string':'More\x20friendly'});case'AI_QUICK_ACTIONS_MORE_CONFIDENT':return t({'id':'AI_QUICK_ACTIONS_MORE_CONFIDENT','string':'More\x20confident'});case'AI_QUICK_ACTIONS_MORE_PROFESSIONAL':return t({'id':'AI_QUICK_ACTIONS_MORE_PROFESSIONAL','string':'More\x20professional'});case'AI_QUICK_ACTIONS_ADJUST_BASED_ON_DOCUMENT':return t({'id':'AI_QUICK_ACTIONS_ADJUST_BASED_ON_DOCUMENT','string':'Adjust\x20based\x20on\x20the\x20rest\x20of\x20the\x20document'});case'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','string':'English'});case'AI_QUICK_ACTIONS_TRANSLATE_CHINESE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_CHINESE','string':'Chinese\x20(Simplified)'});case'AI_QUICK_ACTIONS_TRANSLATE_FRENCH':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_FRENCH','string':'French'});case'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','string':'Japanese'});case'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','string':'Portuguese'});case'AI_QUICK_ACTIONS_TRANSLATE_KOREAN':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_KOREAN','string':'Korean'});case'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','string':'Italian'});case'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','string':'Russian'});case'AI_QUICK_ACTIONS_TRANSLATE_SPANISH':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_SPANISH','string':'Spanish'});case'AI_QUICK_ACTIONS_TRANSLATE_GERMAN':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_GERMAN','string':'German'});case'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND':return t({'id':'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','string':'%0\x20plugin\x20is\x20required\x20but\x20not\x20found.'},_0x2dc72a);case'AI_QUICK_ACTIONS_OTHER':return t({'id':'AI_QUICK_ACTIONS_OTHER','string':'Other'});case'AI_ACTIONS_GENERIC_ERROR':return t({'id':'AI_ACTIONS_GENERIC_ERROR','string':'Sorry,\x20we\x20couldn\x27t\x20generate\x20the\x20response.\x20Please\x20try\x20again\x20in\x20a\x20moment.'});case'AI_BALLOON_SELECTION_REMOVED_ERROR':return t({'id':'AI_BALLOON_SELECTION_REMOVED_ERROR','string':'Changes\x20cannot\x20be\x20applied.\x20The\x20original\x20content\x20no\x20longer\x20exists.'});case'AI_REVIEW_MODE_STOP_GENERATING':return t({'id':'AI_REVIEW_MODE_STOP_GENERATING','string':'Stop\x20generating'});case'AI_REVIEW_MODE_HIDE_CHANGES':return t({'id':'AI_REVIEW_MODE_HIDE_CHANGES','string':'Hide\x20changes'});case'AI_REVIEW_MODE_SHOW_CHANGES':return t({'id':'AI_REVIEW_MODE_SHOW_CHANGES','string':'Show\x20changes'});case'AI_REVIEW_MODE_ACCEPT_ALL':return t({'id':'AI_REVIEW_MODE_ACCEPT_ALL','string':'Accept\x20all'});case'AI_REVIEW_MODE_EXIT_REVIEW':return t({'id':'AI_REVIEW_MODE_EXIT_REVIEW','string':'Exit\x20review'});case'AI_REVIEW_MODE_ACCEPT_CHANGE':return t({'id':'AI_REVIEW_MODE_ACCEPT_CHANGE','string':'Accept'});case'AI_REVIEW_MODE_DISMISS_CHANGE':return t({'id':'AI_REVIEW_MODE_DISMISS_CHANGE','string':'Dismiss'});case'AI_REVIEW_MODE_LEARN_MORE':return t({'id':'AI_REVIEW_MODE_LEARN_MORE','string':'Learn\x20more'});case'AI_REVIEW_MODE_COMPLETED_TEXT':return t({'id':'AI_REVIEW_MODE_COMPLETED_TEXT','string':'There\x27s\x20nothing\x20left\x20to\x20review.'});case'AI_REVIEW_MODE_EMPTY_RESULTS_TEXT':return t({'id':'AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','string':'There\x20are\x20no\x20changes\x20to\x20suggest.'});case'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL':return t({'id':'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','string':'Finish\x20Review'});case'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE':return t({'id':'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','string':'Review\x20complete.\x20Finish\x20when\x20ready.'});case'AI_REVIEW_INITIALIZATION_ERROR_MESSAGE':return t({'id':'AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','string':'AI\x20Review\x20initialized\x20with\x20errors.\x20Some\x20features\x20may\x20not\x20be\x20available\x20or\x20work\x20properly.'});case'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE':return t({'id':'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE','string':'Sorry,\x20we\x20couldn\x27t\x20generate\x20the\x20whole\x20review\x20properly.\x20Please\x20try\x20again\x20in\x20a\x20moment.'});case'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE':return t({'id':'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE','string':'Not\x20everything\x20went\x20through,\x20but\x20the\x20completed\x20items\x20are\x20listed\x20below.'});case'AI_REVIEW_MODE':return t({'id':'AI_REVIEW_MODE','string':'Review'});case'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR':return t({'id':'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR','string':'Prompt\x20must\x20not\x20be\x20empty'});case'AI_REVIEW_CHECK_CUSTOM_TITLE':return t({'id':'AI_REVIEW_CHECK_CUSTOM_TITLE','string':'Custom\x20command'});case'AI_REVIEW_CHECK_CUSTOM_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_CUSTOM_DESCRIPTION','string':'Enter\x20a\x20custom\x20command\x20for\x20a\x20specific\x20review.'});case'AI_REVIEW_CHECK_CORRECTNESS_TITLE':return t({'id':'AI_REVIEW_CHECK_CORRECTNESS_TITLE','string':'Proofread'});case'AI_REVIEW_CHECK_CORRECTNESS_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_CORRECTNESS_DESCRIPTION','string':'Check\x20the\x20text\x20for\x20errors\x20in\x20grammar,\x20spelling,\x20and\x20punctuation.'});case'AI_REVIEW_CHECK_CLARITY_TITLE':return t({'id':'AI_REVIEW_CHECK_CLARITY_TITLE','string':'Improve\x20clarity'});case'AI_REVIEW_CHECK_CLARITY_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_CLARITY_DESCRIPTION','string':'Improve\x20the\x20logical\x20structure\x20and\x20precision\x20for\x20clearer\x20message.'});case'AI_REVIEW_CHECK_READABILITY_TITLE':return t({'id':'AI_REVIEW_CHECK_READABILITY_TITLE','string':'Improve\x20readability'});case'AI_REVIEW_CHECK_READABILITY_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_READABILITY_DESCRIPTION','string':'Adjust\x20sentence\x20structure\x20and\x20word\x20choice\x20for\x20an\x20easier\x20read.'});case'AI_REVIEW_CHECK_MAKE_TITLE':return t({'id':'AI_REVIEW_CHECK_MAKE_TITLE','string':'Adjust\x20length'});case'AI_REVIEW_CHECK_MAKE_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_MAKE_DESCRIPTION','string':'Shorten\x20or\x20lengthen\x20the\x20text\x20as\x20needed.'});case'AI_REVIEW_CHECK_MAKE_OPTIONS_LABEL':return t({'id':'AI_REVIEW_CHECK_MAKE_OPTIONS_LABEL','string':'Adjust\x20length'});case'AI_REVIEW_CHECK_MAKE_OPTIONS_DATA_LONGER':return t({'id':'AI_REVIEW_CHECK_MAKE_OPTIONS_DATA_LONGER','string':'Longer'});case'AI_REVIEW_CHECK_MAKE_OPTIONS_DATA_SHORTER':return t({'id':'AI_REVIEW_CHECK_MAKE_OPTIONS_DATA_SHORTER','string':'Shorter'});case'AI_REVIEW_CHECK_MAKE_TONE_TITLE':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_TITLE','string':'Adjust\x20tone\x20and\x20style'});case'AI_REVIEW_CHECK_MAKE_TONE_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_DESCRIPTION','string':'Modify\x20the\x20text\x20to\x20a\x20desired\x20tone\x20and\x20style.'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_LABEL':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_LABEL','string':'Adjust\x20tone\x20and\x20style'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_CASUAL':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_CASUAL','string':'Casual'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_DIRECT':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_DIRECT','string':'Direct'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_FRIENDLY':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_FRIENDLY','string':'Friendly'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_CONFIDENT':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_CONFIDENT','string':'Confident'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_PROFESSIONAL':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_PROFESSIONAL','string':'Professional'});case'AI_REVIEW_CHECK_TRANSLATE_TITLE':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_TITLE','string':'Translate'});case'AI_REVIEW_CHECK_TRANSLATE_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_DESCRIPTION','string':'Translate\x20the\x20text\x20into\x20another\x20language.'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_LABEL':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_LABEL','string':'Select\x20language'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_ENGLISH':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_ENGLISH','string':'English'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_SPANISH':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_SPANISH','string':'Spanish'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_FRENCH':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_FRENCH','string':'French'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_GERMAN':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_GERMAN','string':'German'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_CHINESE':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_CHINESE','string':'Chinese\x20(Simplified)'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_JAPANESE':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_JAPANESE','string':'Japanese'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_RUSSIAN':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_RUSSIAN','string':'Russian'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_PORTUGUESE':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_PORTUGUESE','string':'Portuguese'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_KOREAN':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_KOREAN','string':'Korean'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_ITALIAN':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_ITALIAN','string':'Italian'});case'AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED':return t({'id':'AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','string':'Accepted'});case'AI_REVIEW_MODE_CHECK_STATUS_REJECTED':return t({'id':'AI_REVIEW_MODE_CHECK_STATUS_REJECTED','string':'Dismissed'});case'AI_REVIEW_MODE_CHECK_STATUS_OUTDATED':return t({'id':'AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','string':'Outdated'});case'AI_TOGGLE_BUTTON_LABEL':return t({'id':'AI_TOGGLE_BUTTON_LABEL','string':'AI'});case'AI_TRANSLATE_ACCEPT_ALL':return t({'id':'AI_TRANSLATE_ACCEPT_ALL','string':'Accept\x20translation'});case'AI_TRANSLATE_FINISH_HEADER_TITLE':return t({'id':'AI_TRANSLATE_FINISH_HEADER_TITLE','string':'Translation\x20complete.\x20Finish\x20when\x20ready.'});case'AI_TRANSLATE_EMPTY_RESULTS_TEXT':return t({'id':'AI_TRANSLATE_EMPTY_RESULTS_TEXT','string':'There\x20are\x20no\x20translations\x20to\x20review.'});case'AI_TRANSLATE_FINISH_BUTTON_LABEL':return t({'id':'AI_TRANSLATE_FINISH_BUTTON_LABEL','string':'Finish\x20Translation'});case'AI_TRANSLATE_CHECK_LIST_HEADER_TITLE':return t({'id':'AI_TRANSLATE_CHECK_LIST_HEADER_TITLE','string':'Content\x20Translation'});case'AI_TRANSLATE_CHECK_LIST_HEADER_DESCRIPTION':return t({'id':'AI_TRANSLATE_CHECK_LIST_HEADER_DESCRIPTION','string':'A\x20dedicated\x20mode\x20for\x20translating\x20the\x20entire\x20text.'});case'AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE':return t({'id':'AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE','string':'Translating\x20to'});case'AI_TRANSLATE_CHECK_RESULTS_READY_TITLE':return t({'id':'AI_TRANSLATE_CHECK_RESULTS_READY_TITLE','string':'Translated\x20to'});case'AI_TRANSLATE_GENERAL_ERROR_MESSAGE':return t({'id':'AI_TRANSLATE_GENERAL_ERROR_MESSAGE','string':'Sorry,\x20we\x20couldn\x27t\x20generate\x20translations\x20properly.\x20Please\x20try\x20again\x20in\x20a\x20moment.'});case'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE':return t({'id':'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','string':'This\x20conversation\x20is\x20loaded\x20from\x20chat\x20history\x20from\x20a\x20previous\x20session,\x20so\x20you\x20can’t\x20apply,\x20reject,\x20or\x20suggest\x20changes.'});case'AI_SUGGESTION_DISABLED_FEED_MESSAGE':return t({'id':'AI_SUGGESTION_DISABLED_FEED_MESSAGE','string':'Actions\x20aren’t\x20available\x20for\x20changes\x20from\x20a\x20previous\x20session.'});default:return _0x1a065d;}}function createResizeButton(_0x11004d,_0x48b981){const _0x355e84=new ckeditor5['ButtonView'](_0x11004d),_0x1b18c3=getTranslation$i(_0x11004d,'AI_TABS_LABEL_MINIMIZE'),_0x5d17ad=getTranslation$i(_0x11004d,'AI_TABS_LABEL_MAXIMIZE');return _0x355e84['set']({'withText':!0x1,'icon':ckeditor5['IconMaximize'],'tooltip':!0x0,'class':'ck-ai-tabs__resize\x20ck-ai-button-tertiary'}),_0x355e84['bind']('label')['to'](_0x48b981,'isMaximized',_0x2ac566=>_0x2ac566?_0x1b18c3:_0x5d17ad),_0x355e84['bind']('icon')['to'](_0x48b981,'isMaximized',_0x58e09a=>_0x58e09a?ckeditor5['IconMinimize']:ckeditor5['IconMaximize']),_0x355e84['bind']('isOn')['to'](_0x48b981,'isMaximized'),_0x355e84['on']('execute',()=>{_0x48b981['fire']('resizeTabs');}),_0x355e84;}const htmlDecodeTree=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\x00\x00\x00\x00\x00\x00ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\x5cbfms\x7f\u0084\u008b\u0090\u0095\u0098¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp\u009d¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTǇǋǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\x00\x00\x00͔͂\x00Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\x00\x00ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\x00\x00ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\x00ц\x00ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\x00ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\x00\x00ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\x00\x00֣mallSquare;旼erySmallSquare;斪Ͱֺ\x00ֿ\x00\x00ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\x00ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\x00ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\x00ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\x00ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\x00ࣃbleBracket;柦nǔࣈ\x00࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻\x22䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\x00စbleBracket;柧nǔည\x00နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\x00\x00ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉ǲኀ\x00ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀\u205f\u200aSpace;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\x00ጬጱ\x00\x00\x00\x00\x00ጸጽ፷ᎅ\x00᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\x00጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻ǲᕔ\x00ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\x00ᖰᖶᖿ\x00\x00\x00\x00ᗆᗛᗫᙟ᙭\x00ᚕ᚛ᚲᚹ\x00ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\x00\x00ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\x00\x00ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\x00ᠳƲᠯ\x00ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\x00᧨ᨑᨕᨲ\x00ᨷᩐ\x00\x00᪴\x00\x00᫁\x00\x00ᬡᬮ᭍᭒\x00᯽\x00ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\x00᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\x00\x00᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\x00ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\x00\x00᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\x00ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\x00\x00᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\x00\x00ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\x00\x00ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\x00\x00ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤĳạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\x00\x00ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\x00ᾞ\x00ᾡᾧ\x00\x00ῆῌ\x00ΐ\x00ῦῪ\u2000\x00\u2008⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ﬃɩᾹ\x00\x00᾽g;耀ﬀig;耀ﬄ;쀀𝔣lig;耀ﬁlig;쀀fjƀaltῙ῜ῡt;晭ig;耀ﬂns;斱of;䆒ǰ΅\x00ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒α‚‰‸⁅⁈\x00⁐β•‥‧‪‬\x00‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\x00‶;慔;慖ʴ‾⁁\x00\x00⁃耻¾䂾;慗;慜5;慘ƶ⁌\x00⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\x00↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\x00⊪\x00⊸⋅⋎\x00⋕⋳\x00\x00⋸⌢⍧⍢⍿\x00⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\x00⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\x00⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\x00⒪\x00⒱\x00\x00\x00\x00\x00⒵Ⓔ\x00ⓆⓈⓍ\x00⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସǳ⧟\x00⧣p肻\u00a0ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\x00⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\x00\x00⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00ⴭ\x00ⴸⵈⵠⵥ⵲ⶄᬇ\x00\x00ⶍⶫ\x00ⷈⷎ\x00ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗǈⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\x00\x00⵼\x00ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\x00⹽\x00⺀⺝\x00⺢⺹\x00\x00⻋ຜ\x00⼓\x00\x00⼫⾼\x00⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\x00\x00⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\x00㍺㎤\x00\x00㏬㏰\x00㐨㑈㑚㒭㒱㓊㓱\x00㘖\x00\x00㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\x00㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\x00\x00㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\x00㙾㛂\x00\x00\x00\x00\x00㛛㜃\x00㜉㝬\x00\x00\x00㞇ɲ㙖\x00\x00㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼ǲ㚋\x00㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\x00㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\x00\x00㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\x00\x00㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\x00㪋\x00㪐㪛\x00\x00㪝㪨㪫㪯\x00\x00㫃㫎\x00㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'['split']('')['map'](_0x523170=>_0x523170['charCodeAt'](0x0))),_0x1b2bec=new Uint16Array('Ȁaglq\x09\x15\x18\x1bɭ\x0f\x00\x00\x12p;䀦os;䀧t;䀾t;䀼uot;䀢'['split']('')['map'](_0x391065=>_0x391065['charCodeAt'](0x0)));var _0x5ee486;const _0x5a2e71=new Map([[0x0,0xfffd],[0x80,0x20ac],[0x82,0x201a],[0x83,0x192],[0x84,0x201e],[0x85,0x2026],[0x86,0x2020],[0x87,0x2021],[0x88,0x2c6],[0x89,0x2030],[0x8a,0x160],[0x8b,0x2039],[0x8c,0x152],[0x8e,0x17d],[0x91,0x2018],[0x92,0x2019],[0x93,0x201c],[0x94,0x201d],[0x95,0x2022],[0x96,0x2013],[0x97,0x2014],[0x98,0x2dc],[0x99,0x2122],[0x9a,0x161],[0x9b,0x203a],[0x9c,0x153],[0x9e,0x17e],[0x9f,0x178]]),fromCodePoint$1=null!==(_0x5ee486=String['fromCodePoint'])&&void 0x0!==_0x5ee486?_0x5ee486:function(_0x3ba8d5){let _0x1505a3='';return _0x3ba8d5>0xffff&&(_0x3ba8d5-=0x10000,_0x1505a3+=String['fromCharCode'](_0x3ba8d5>>>0xa&0x3ff|0xd800),_0x3ba8d5=0xdc00|0x3ff&_0x3ba8d5),_0x1505a3+=String['fromCharCode'](_0x3ba8d5),_0x1505a3;};function replaceCodePoint(_0x31f643){var _0x33be1a;return _0x31f643>=0xd800&&_0x31f643<=0xdfff||_0x31f643>0x10ffff?0xfffd:null!==(_0x33be1a=_0x5a2e71['get'](_0x31f643))&&void 0x0!==_0x33be1a?_0x33be1a:_0x31f643;}var _0xcb1417;!function(_0x1dfa62){_0x1dfa62[_0x1dfa62['NUM']=0x23]='NUM',_0x1dfa62[_0x1dfa62['SEMI']=0x3b]='SEMI',_0x1dfa62[_0x1dfa62['EQUALS']=0x3d]='EQUALS',_0x1dfa62[_0x1dfa62['ZERO']=0x30]='ZERO',_0x1dfa62[_0x1dfa62['NINE']=0x39]='NINE',_0x1dfa62[_0x1dfa62['LOWER_A']=0x61]='LOWER_A',_0x1dfa62[_0x1dfa62['LOWER_F']=0x66]='LOWER_F',_0x1dfa62[_0x1dfa62['LOWER_X']=0x78]='LOWER_X',_0x1dfa62[_0x1dfa62['LOWER_Z']=0x7a]='LOWER_Z',_0x1dfa62[_0x1dfa62['UPPER_A']=0x41]='UPPER_A',_0x1dfa62[_0x1dfa62['UPPER_F']=0x46]='UPPER_F',_0x1dfa62[_0x1dfa62['UPPER_Z']=0x5a]='UPPER_Z';}(_0xcb1417||(_0xcb1417={}));const _0x17bf8b=0x20;var _0x3da7b8,EntityDecoderState,_0xaf0a55,_0x1f3ec9,State,QuoteType;function _0x59e5f4(_0x4cca25){return _0x4cca25>=_0xcb1417['ZERO']&&_0x4cca25<=_0xcb1417['NINE'];}function isHexadecimalCharacter(_0x3a6632){return _0x3a6632>=_0xcb1417['UPPER_A']&&_0x3a6632<=_0xcb1417['UPPER_F']||_0x3a6632>=_0xcb1417['LOWER_A']&&_0x3a6632<=_0xcb1417['LOWER_F'];}function _0x3ac2b3(_0x38262e){return _0x38262e>=_0xcb1417['UPPER_A']&&_0x38262e<=_0xcb1417['UPPER_Z']||_0x38262e>=_0xcb1417['LOWER_A']&&_0x38262e<=_0xcb1417['LOWER_Z']||_0x59e5f4(_0x38262e);}function isEntityInAttributeInvalidEnd(_0x2f1f24){return _0x2f1f24===_0xcb1417['EQUALS']||_0x3ac2b3(_0x2f1f24);}!function(_0x240058){_0x240058[_0x240058['VALUE_LENGTH']=0xc000]='VALUE_LENGTH',_0x240058[_0x240058['BRANCH_LENGTH']=0x3f80]='BRANCH_LENGTH',_0x240058[_0x240058['JUMP_TABLE']=0x7f]='JUMP_TABLE';}(_0x3da7b8||(_0x3da7b8={})),function(_0x58efe4){_0x58efe4[_0x58efe4['EntityStart']=0x0]='EntityStart',_0x58efe4[_0x58efe4['NumericStart']=0x1]='NumericStart',_0x58efe4[_0x58efe4['NumericDecimal']=0x2]='NumericDecimal',_0x58efe4[_0x58efe4['NumericHex']=0x3]='NumericHex',_0x58efe4[_0x58efe4['NamedEntity']=0x4]='NamedEntity';}(EntityDecoderState||(EntityDecoderState={})),function(_0x7dfd36){_0x7dfd36[_0x7dfd36['Legacy']=0x0]='Legacy',_0x7dfd36[_0x7dfd36['Strict']=0x1]='Strict',_0x7dfd36[_0x7dfd36['Attribute']=0x2]='Attribute';}(_0xaf0a55||(_0xaf0a55={}));class EntityDecoder{constructor(_0x40f012,_0x4db2b1,_0x3c80ba){this['decodeTree']=_0x40f012,this['emitCodePoint']=_0x4db2b1,this['errors']=_0x3c80ba,this['state']=EntityDecoderState['EntityStart'],this['consumed']=0x1,this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['decodeMode']=_0xaf0a55['Strict'];}['startEntity'](_0x5b14cc){this['decodeMode']=_0x5b14cc,this['state']=EntityDecoderState['EntityStart'],this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['consumed']=0x1;}['write'](_0xb13586,_0x33e94c){switch(this['state']){case EntityDecoderState['EntityStart']:return _0xb13586['charCodeAt'](_0x33e94c)===_0xcb1417['NUM']?(this['state']=EntityDecoderState['NumericStart'],this['consumed']+=0x1,this['stateNumericStart'](_0xb13586,_0x33e94c+0x1)):(this['state']=EntityDecoderState['NamedEntity'],this['stateNamedEntity'](_0xb13586,_0x33e94c));case EntityDecoderState['NumericStart']:return this['stateNumericStart'](_0xb13586,_0x33e94c);case EntityDecoderState['NumericDecimal']:return this['stateNumericDecimal'](_0xb13586,_0x33e94c);case EntityDecoderState['NumericHex']:return this['stateNumericHex'](_0xb13586,_0x33e94c);case EntityDecoderState['NamedEntity']:return this['stateNamedEntity'](_0xb13586,_0x33e94c);}}['stateNumericStart'](_0x508423,_0x3d93f1){return _0x3d93f1>=_0x508423['length']?-0x1:(_0x508423['charCodeAt'](_0x3d93f1)|_0x17bf8b)===_0xcb1417['LOWER_X']?(this['state']=EntityDecoderState['NumericHex'],this['consumed']+=0x1,this['stateNumericHex'](_0x508423,_0x3d93f1+0x1)):(this['state']=EntityDecoderState['NumericDecimal'],this['stateNumericDecimal'](_0x508423,_0x3d93f1));}['addToNumericResult'](_0x236a57,_0x27746d,_0x162149,_0x4dbfaa){if(_0x27746d!==_0x162149){const _0x4631fd=_0x162149-_0x27746d;this['result']=this['result']*Math['pow'](_0x4dbfaa,_0x4631fd)+Number['parseInt'](_0x236a57['substr'](_0x27746d,_0x4631fd),_0x4dbfaa),this['consumed']+=_0x4631fd;}}['stateNumericHex'](_0xa71df8,_0x2f252d){const _0x720bf2=_0x2f252d;for(;_0x2f252d<_0xa71df8['length'];){const _0x2d5cee=_0xa71df8['charCodeAt'](_0x2f252d);if(!_0x59e5f4(_0x2d5cee)&&!isHexadecimalCharacter(_0x2d5cee))return this['addToNumericResult'](_0xa71df8,_0x720bf2,_0x2f252d,0x10),this['emitNumericEntity'](_0x2d5cee,0x3);_0x2f252d+=0x1;}return this['addToNumericResult'](_0xa71df8,_0x720bf2,_0x2f252d,0x10),-0x1;}['stateNumericDecimal'](_0x3fbb67,_0x15a7eb){const _0x4e8b98=_0x15a7eb;for(;_0x15a7eb<_0x3fbb67['length'];){const _0x545e8a=_0x3fbb67['charCodeAt'](_0x15a7eb);if(!_0x59e5f4(_0x545e8a))return this['addToNumericResult'](_0x3fbb67,_0x4e8b98,_0x15a7eb,0xa),this['emitNumericEntity'](_0x545e8a,0x2);_0x15a7eb+=0x1;}return this['addToNumericResult'](_0x3fbb67,_0x4e8b98,_0x15a7eb,0xa),-0x1;}['emitNumericEntity'](_0x6f6a47,_0x4ab79e){var _0x5c29f2;if(this['consumed']<=_0x4ab79e)return null===(_0x5c29f2=this['errors'])||void 0x0===_0x5c29f2||_0x5c29f2['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;if(_0x6f6a47===_0xcb1417['SEMI'])this['consumed']+=0x1;else{if(this['decodeMode']===_0xaf0a55['Strict'])return 0x0;}return this['emitCodePoint'](replaceCodePoint(this['result']),this['consumed']),this['errors']&&(_0x6f6a47!==_0xcb1417['SEMI']&&this['errors']['missingSemicolonAfterCharacterReference'](),this['errors']['validateNumericCharacterReference'](this['result'])),this['consumed'];}['stateNamedEntity'](_0x1a240d,_0x5021bf){const {decodeTree:_0x148ce6}=this;let _0x46d178=_0x148ce6[this['treeIndex']],_0x38d502=(_0x46d178&_0x3da7b8['VALUE_LENGTH'])>>0xe;for(;_0x5021bf<_0x1a240d['length'];_0x5021bf++,this['excess']++){const _0x74649b=_0x1a240d['charCodeAt'](_0x5021bf);if(this['treeIndex']=determineBranch(_0x148ce6,_0x46d178,this['treeIndex']+Math['max'](0x1,_0x38d502),_0x74649b),this['treeIndex']<0x0)return 0x0===this['result']||this['decodeMode']===_0xaf0a55['Attribute']&&(0x0===_0x38d502||isEntityInAttributeInvalidEnd(_0x74649b))?0x0:this['emitNotTerminatedNamedEntity']();if(_0x46d178=_0x148ce6[this['treeIndex']],_0x38d502=(_0x46d178&_0x3da7b8['VALUE_LENGTH'])>>0xe,0x0!==_0x38d502){if(_0x74649b===_0xcb1417['SEMI'])return this['emitNamedEntityData'](this['treeIndex'],_0x38d502,this['consumed']+this['excess']);this['decodeMode']!==_0xaf0a55['Strict']&&(this['result']=this['treeIndex'],this['consumed']+=this['excess'],this['excess']=0x0);}}return-0x1;}['emitNotTerminatedNamedEntity'](){var _0x120bb6;const {result:_0x35d761,decodeTree:_0x25d8d3}=this,_0x25c379=(_0x25d8d3[_0x35d761]&_0x3da7b8['VALUE_LENGTH'])>>0xe;return this['emitNamedEntityData'](_0x35d761,_0x25c379,this['consumed']),null===(_0x120bb6=this['errors'])||void 0x0===_0x120bb6||_0x120bb6['missingSemicolonAfterCharacterReference'](),this['consumed'];}['emitNamedEntityData'](_0x359f6d,_0xa399e9,_0x1221d9){const {decodeTree:_0x20dccb}=this;return this['emitCodePoint'](0x1===_0xa399e9?_0x20dccb[_0x359f6d]&~_0x3da7b8['VALUE_LENGTH']:_0x20dccb[_0x359f6d+0x1],_0x1221d9),0x3===_0xa399e9&&this['emitCodePoint'](_0x20dccb[_0x359f6d+0x2],_0x1221d9),_0x1221d9;}['end'](){var _0x244250;switch(this['state']){case EntityDecoderState['NamedEntity']:return 0x0===this['result']||this['decodeMode']===_0xaf0a55['Attribute']&&this['result']!==this['treeIndex']?0x0:this['emitNotTerminatedNamedEntity']();case EntityDecoderState['NumericDecimal']:return this['emitNumericEntity'](0x0,0x2);case EntityDecoderState['NumericHex']:return this['emitNumericEntity'](0x0,0x3);case EntityDecoderState['NumericStart']:return null===(_0x244250=this['errors'])||void 0x0===_0x244250||_0x244250['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;case EntityDecoderState['EntityStart']:return 0x0;}}}function determineBranch(_0x1d122a,_0x1a8315,_0xb6c2f8,_0x48fd2b){const _0x3d40c9=(_0x1a8315&_0x3da7b8['BRANCH_LENGTH'])>>0x7,_0x93ef6a=_0x1a8315&_0x3da7b8['JUMP_TABLE'];if(0x0===_0x3d40c9)return 0x0!==_0x93ef6a&&_0x48fd2b===_0x93ef6a?_0xb6c2f8:-0x1;if(_0x93ef6a){const _0x4188be=_0x48fd2b-_0x93ef6a;return _0x4188be<0x0||_0x4188be>=_0x3d40c9?-0x1:_0x1d122a[_0xb6c2f8+_0x4188be]-0x1;}let _0x4593eb=_0xb6c2f8,_0x1571eb=_0x4593eb+_0x3d40c9-0x1;for(;_0x4593eb<=_0x1571eb;){const _0x380a13=_0x4593eb+_0x1571eb>>>0x1,_0x1e4e30=_0x1d122a[_0x380a13];if(_0x1e4e30<_0x48fd2b)_0x4593eb=_0x380a13+0x1;else{if(!(_0x1e4e30>_0x48fd2b))return _0x1d122a[_0x380a13+_0x3d40c9];_0x1571eb=_0x380a13-0x1;}}return-0x1;}function isWhitespace(_0x432051){return _0x432051===_0x1f3ec9['Space']||_0x432051===_0x1f3ec9['NewLine']||_0x432051===_0x1f3ec9['Tab']||_0x432051===_0x1f3ec9['FormFeed']||_0x432051===_0x1f3ec9['CarriageReturn'];}function isEndOfTagSection(_0xcb57a){return _0xcb57a===_0x1f3ec9['Slash']||_0xcb57a===_0x1f3ec9['Gt']||isWhitespace(_0xcb57a);}function _0x25cf3c(_0x3dba58){return _0x3dba58>=_0x1f3ec9['LowerA']&&_0x3dba58<=_0x1f3ec9['LowerZ']||_0x3dba58>=_0x1f3ec9['UpperA']&&_0x3dba58<=_0x1f3ec9['UpperZ'];}!function(_0x5db0e9){_0x5db0e9[_0x5db0e9['Tab']=0x9]='Tab',_0x5db0e9[_0x5db0e9['NewLine']=0xa]='NewLine',_0x5db0e9[_0x5db0e9['FormFeed']=0xc]='FormFeed',_0x5db0e9[_0x5db0e9['CarriageReturn']=0xd]='CarriageReturn',_0x5db0e9[_0x5db0e9['Space']=0x20]='Space',_0x5db0e9[_0x5db0e9['ExclamationMark']=0x21]='ExclamationMark',_0x5db0e9[_0x5db0e9['Number']=0x23]='Number',_0x5db0e9[_0x5db0e9['Amp']=0x26]='Amp',_0x5db0e9[_0x5db0e9['SingleQuote']=0x27]='SingleQuote',_0x5db0e9[_0x5db0e9['DoubleQuote']=0x22]='DoubleQuote',_0x5db0e9[_0x5db0e9['Dash']=0x2d]='Dash',_0x5db0e9[_0x5db0e9['Slash']=0x2f]='Slash',_0x5db0e9[_0x5db0e9['Zero']=0x30]='Zero',_0x5db0e9[_0x5db0e9['Nine']=0x39]='Nine',_0x5db0e9[_0x5db0e9['Semi']=0x3b]='Semi',_0x5db0e9[_0x5db0e9['Lt']=0x3c]='Lt',_0x5db0e9[_0x5db0e9['Eq']=0x3d]='Eq',_0x5db0e9[_0x5db0e9['Gt']=0x3e]='Gt',_0x5db0e9[_0x5db0e9['Questionmark']=0x3f]='Questionmark',_0x5db0e9[_0x5db0e9['UpperA']=0x41]='UpperA',_0x5db0e9[_0x5db0e9['LowerA']=0x61]='LowerA',_0x5db0e9[_0x5db0e9['UpperF']=0x46]='UpperF',_0x5db0e9[_0x5db0e9['LowerF']=0x66]='LowerF',_0x5db0e9[_0x5db0e9['UpperZ']=0x5a]='UpperZ',_0x5db0e9[_0x5db0e9['LowerZ']=0x7a]='LowerZ',_0x5db0e9[_0x5db0e9['LowerX']=0x78]='LowerX',_0x5db0e9[_0x5db0e9['OpeningSquareBracket']=0x5b]='OpeningSquareBracket';}(_0x1f3ec9||(_0x1f3ec9={})),function(_0x2582d3){_0x2582d3[_0x2582d3['Text']=0x1]='Text',_0x2582d3[_0x2582d3['BeforeTagName']=0x2]='BeforeTagName',_0x2582d3[_0x2582d3['InTagName']=0x3]='InTagName',_0x2582d3[_0x2582d3['InSelfClosingTag']=0x4]='InSelfClosingTag',_0x2582d3[_0x2582d3['BeforeClosingTagName']=0x5]='BeforeClosingTagName',_0x2582d3[_0x2582d3['InClosingTagName']=0x6]='InClosingTagName',_0x2582d3[_0x2582d3['AfterClosingTagName']=0x7]='AfterClosingTagName',_0x2582d3[_0x2582d3['BeforeAttributeName']=0x8]='BeforeAttributeName',_0x2582d3[_0x2582d3['InAttributeName']=0x9]='InAttributeName',_0x2582d3[_0x2582d3['AfterAttributeName']=0xa]='AfterAttributeName',_0x2582d3[_0x2582d3['BeforeAttributeValue']=0xb]='BeforeAttributeValue',_0x2582d3[_0x2582d3['InAttributeValueDq']=0xc]='InAttributeValueDq',_0x2582d3[_0x2582d3['InAttributeValueSq']=0xd]='InAttributeValueSq',_0x2582d3[_0x2582d3['InAttributeValueNq']=0xe]='InAttributeValueNq',_0x2582d3[_0x2582d3['BeforeDeclaration']=0xf]='BeforeDeclaration',_0x2582d3[_0x2582d3['InDeclaration']=0x10]='InDeclaration',_0x2582d3[_0x2582d3['InProcessingInstruction']=0x11]='InProcessingInstruction',_0x2582d3[_0x2582d3['BeforeComment']=0x12]='BeforeComment',_0x2582d3[_0x2582d3['CDATASequence']=0x13]='CDATASequence',_0x2582d3[_0x2582d3['InSpecialComment']=0x14]='InSpecialComment',_0x2582d3[_0x2582d3['InCommentLike']=0x15]='InCommentLike',_0x2582d3[_0x2582d3['BeforeSpecialS']=0x16]='BeforeSpecialS',_0x2582d3[_0x2582d3['BeforeSpecialT']=0x17]='BeforeSpecialT',_0x2582d3[_0x2582d3['SpecialStartSequence']=0x18]='SpecialStartSequence',_0x2582d3[_0x2582d3['InSpecialTag']=0x19]='InSpecialTag',_0x2582d3[_0x2582d3['InEntity']=0x1a]='InEntity';}(State||(State={})),function(_0x1fe48c){_0x1fe48c[_0x1fe48c['NoValue']=0x0]='NoValue',_0x1fe48c[_0x1fe48c['Unquoted']=0x1]='Unquoted',_0x1fe48c[_0x1fe48c['Single']=0x2]='Single',_0x1fe48c[_0x1fe48c['Double']=0x3]='Double';}(QuoteType||(QuoteType={}));const _0x1dc547={'Cdata':new Uint8Array([0x43,0x44,0x41,0x54,0x41,0x5b]),'CdataEnd':new Uint8Array([0x5d,0x5d,0x3e]),'CommentEnd':new Uint8Array([0x2d,0x2d,0x3e]),'ScriptEnd':new Uint8Array([0x3c,0x2f,0x73,0x63,0x72,0x69,0x70,0x74]),'StyleEnd':new Uint8Array([0x3c,0x2f,0x73,0x74,0x79,0x6c,0x65]),'TitleEnd':new Uint8Array([0x3c,0x2f,0x74,0x69,0x74,0x6c,0x65]),'TextareaEnd':new Uint8Array([0x3c,0x2f,0x74,0x65,0x78,0x74,0x61,0x72,0x65,0x61]),'XmpEnd':new Uint8Array([0x3c,0x2f,0x78,0x6d,0x70])};class _0x59ddaa{constructor({xmlMode:_0x38e46e=!0x1,decodeEntities:_0x18d411=!0x0},_0x51a6ee){this['cbs']=_0x51a6ee,this['state']=State['Text'],this['buffer']='',this['sectionStart']=0x0,this['index']=0x0,this['entityStart']=0x0,this['baseState']=State['Text'],this['isSpecial']=!0x1,this['running']=!0x0,this['offset']=0x0,this['currentSequence']=void 0x0,this['sequenceIndex']=0x0,this['xmlMode']=_0x38e46e,this['decodeEntities']=_0x18d411,this['entityDecoder']=new EntityDecoder(_0x38e46e?_0x1b2bec:htmlDecodeTree,(_0x394353,_0x50a123)=>this['emitCodePoint'](_0x394353,_0x50a123));}['reset'](){this['state']=State['Text'],this['buffer']='',this['sectionStart']=0x0,this['index']=0x0,this['baseState']=State['Text'],this['currentSequence']=void 0x0,this['running']=!0x0,this['offset']=0x0;}['write'](_0x19a01a){this['offset']+=this['buffer']['length'],this['buffer']=_0x19a01a,this['parse']();}['end'](){this['running']&&this['finish']();}['pause'](){this['running']=!0x1;}['resume'](){this['running']=!0x0,this['index']<this['buffer']['length']+this['offset']&&this['parse']();}['stateText'](_0x3583f4){_0x3583f4===_0x1f3ec9['Lt']||!this['decodeEntities']&&this['fastForwardTo'](_0x1f3ec9['Lt'])?(this['index']>this['sectionStart']&&this['cbs']['ontext'](this['sectionStart'],this['index']),this['state']=State['BeforeTagName'],this['sectionStart']=this['index']):this['decodeEntities']&&_0x3583f4===_0x1f3ec9['Amp']&&this['startEntity']();}['stateSpecialStartSequence'](_0x2314ed){const _0x32e091=this['sequenceIndex']===this['currentSequence']['length'];if(_0x32e091?isEndOfTagSection(_0x2314ed):(0x20|_0x2314ed)===this['currentSequence'][this['sequenceIndex']]){if(!_0x32e091)return void this['sequenceIndex']++;}else this['isSpecial']=!0x1;this['sequenceIndex']=0x0,this['state']=State['InTagName'],this['stateInTagName'](_0x2314ed);}['stateInSpecialTag'](_0x598a97){if(this['sequenceIndex']===this['currentSequence']['length']){if(_0x598a97===_0x1f3ec9['Gt']||isWhitespace(_0x598a97)){const _0x188cb3=this['index']-this['currentSequence']['length'];if(this['sectionStart']<_0x188cb3){const _0x412aeb=this['index'];this['index']=_0x188cb3,this['cbs']['ontext'](this['sectionStart'],_0x188cb3),this['index']=_0x412aeb;}return this['isSpecial']=!0x1,this['sectionStart']=_0x188cb3+0x2,void this['stateInClosingTagName'](_0x598a97);}this['sequenceIndex']=0x0;}(0x20|_0x598a97)===this['currentSequence'][this['sequenceIndex']]?this['sequenceIndex']+=0x1:0x0===this['sequenceIndex']?this['currentSequence']===_0x1dc547['TitleEnd']?this['decodeEntities']&&_0x598a97===_0x1f3ec9['Amp']&&this['startEntity']():this['fastForwardTo'](_0x1f3ec9['Lt'])&&(this['sequenceIndex']=0x1):this['sequenceIndex']=Number(_0x598a97===_0x1f3ec9['Lt']);}['stateCDATASequence'](_0x38848b){_0x38848b===_0x1dc547['Cdata'][this['sequenceIndex']]?++this['sequenceIndex']===_0x1dc547['Cdata']['length']&&(this['state']=State['InCommentLike'],this['currentSequence']=_0x1dc547['CdataEnd'],this['sequenceIndex']=0x0,this['sectionStart']=this['index']+0x1):(this['sequenceIndex']=0x0,this['state']=State['InDeclaration'],this['stateInDeclaration'](_0x38848b));}['fastForwardTo'](_0x4438b9){for(;++this['index']<this['buffer']['length']+this['offset'];)if(this['buffer']['charCodeAt'](this['index']-this['offset'])===_0x4438b9)return!0x0;return this['index']=this['buffer']['length']+this['offset']-0x1,!0x1;}['stateInCommentLike'](_0x34e73b){_0x34e73b===this['currentSequence'][this['sequenceIndex']]?++this['sequenceIndex']===this['currentSequence']['length']&&(this['currentSequence']===_0x1dc547['CdataEnd']?this['cbs']['oncdata'](this['sectionStart'],this['index'],0x2):this['cbs']['oncomment'](this['sectionStart'],this['index'],0x2),this['sequenceIndex']=0x0,this['sectionStart']=this['index']+0x1,this['state']=State['Text']):0x0===this['sequenceIndex']?this['fastForwardTo'](this['currentSequence'][0x0])&&(this['sequenceIndex']=0x1):_0x34e73b!==this['currentSequence'][this['sequenceIndex']-0x1]&&(this['sequenceIndex']=0x0);}['isTagStartChar'](_0x16ba7a){return this['xmlMode']?!isEndOfTagSection(_0x16ba7a):_0x25cf3c(_0x16ba7a);}['startSpecial'](_0x45d294,_0xe76ccf){this['isSpecial']=!0x0,this['currentSequence']=_0x45d294,this['sequenceIndex']=_0xe76ccf,this['state']=State['SpecialStartSequence'];}['stateBeforeTagName'](_0x4ca92a){if(_0x4ca92a===_0x1f3ec9['ExclamationMark'])this['state']=State['BeforeDeclaration'],this['sectionStart']=this['index']+0x1;else{if(_0x4ca92a===_0x1f3ec9['Questionmark'])this['state']=State['InProcessingInstruction'],this['sectionStart']=this['index']+0x1;else{if(this['isTagStartChar'](_0x4ca92a)){const _0x28143f=0x20|_0x4ca92a;this['sectionStart']=this['index'],this['xmlMode']?this['state']=State['InTagName']:_0x28143f===_0x1dc547['ScriptEnd'][0x2]?this['state']=State['BeforeSpecialS']:_0x28143f===_0x1dc547['TitleEnd'][0x2]||_0x28143f===_0x1dc547['XmpEnd'][0x2]?this['state']=State['BeforeSpecialT']:this['state']=State['InTagName'];}else _0x4ca92a===_0x1f3ec9['Slash']?this['state']=State['BeforeClosingTagName']:(this['state']=State['Text'],this['stateText'](_0x4ca92a));}}}['stateInTagName'](_0x58f82f){isEndOfTagSection(_0x58f82f)&&(this['cbs']['onopentagname'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=State['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x58f82f));}['stateBeforeClosingTagName'](_0x2751ed){isWhitespace(_0x2751ed)||(_0x2751ed===_0x1f3ec9['Gt']?this['state']=State['Text']:(this['state']=this['isTagStartChar'](_0x2751ed)?State['InClosingTagName']:State['InSpecialComment'],this['sectionStart']=this['index']));}['stateInClosingTagName'](_0x213156){(_0x213156===_0x1f3ec9['Gt']||isWhitespace(_0x213156))&&(this['cbs']['onclosetag'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=State['AfterClosingTagName'],this['stateAfterClosingTagName'](_0x213156));}['stateAfterClosingTagName'](_0x3a3233){(_0x3a3233===_0x1f3ec9['Gt']||this['fastForwardTo'](_0x1f3ec9['Gt']))&&(this['state']=State['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeAttributeName'](_0x5f5872){_0x5f5872===_0x1f3ec9['Gt']?(this['cbs']['onopentagend'](this['index']),this['isSpecial']?(this['state']=State['InSpecialTag'],this['sequenceIndex']=0x0):this['state']=State['Text'],this['sectionStart']=this['index']+0x1):_0x5f5872===_0x1f3ec9['Slash']?this['state']=State['InSelfClosingTag']:isWhitespace(_0x5f5872)||(this['state']=State['InAttributeName'],this['sectionStart']=this['index']);}['stateInSelfClosingTag'](_0x456e19){_0x456e19===_0x1f3ec9['Gt']?(this['cbs']['onselfclosingtag'](this['index']),this['state']=State['Text'],this['sectionStart']=this['index']+0x1,this['isSpecial']=!0x1):isWhitespace(_0x456e19)||(this['state']=State['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x456e19));}['stateInAttributeName'](_0x409288){(_0x409288===_0x1f3ec9['Eq']||isEndOfTagSection(_0x409288))&&(this['cbs']['onattribname'](this['sectionStart'],this['index']),this['sectionStart']=this['index'],this['state']=State['AfterAttributeName'],this['stateAfterAttributeName'](_0x409288));}['stateAfterAttributeName'](_0x5ede9a){_0x5ede9a===_0x1f3ec9['Eq']?this['state']=State['BeforeAttributeValue']:_0x5ede9a===_0x1f3ec9['Slash']||_0x5ede9a===_0x1f3ec9['Gt']?(this['cbs']['onattribend'](QuoteType['NoValue'],this['sectionStart']),this['sectionStart']=-0x1,this['state']=State['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x5ede9a)):isWhitespace(_0x5ede9a)||(this['cbs']['onattribend'](QuoteType['NoValue'],this['sectionStart']),this['state']=State['InAttributeName'],this['sectionStart']=this['index']);}['stateBeforeAttributeValue'](_0x373904){_0x373904===_0x1f3ec9['DoubleQuote']?(this['state']=State['InAttributeValueDq'],this['sectionStart']=this['index']+0x1):_0x373904===_0x1f3ec9['SingleQuote']?(this['state']=State['InAttributeValueSq'],this['sectionStart']=this['index']+0x1):isWhitespace(_0x373904)||(this['sectionStart']=this['index'],this['state']=State['InAttributeValueNq'],this['stateInAttributeValueNoQuotes'](_0x373904));}['handleInAttributeValue'](_0x33f4ef,_0x157908){_0x33f4ef===_0x157908||!this['decodeEntities']&&this['fastForwardTo'](_0x157908)?(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['cbs']['onattribend'](_0x157908===_0x1f3ec9['DoubleQuote']?QuoteType['Double']:QuoteType['Single'],this['index']+0x1),this['state']=State['BeforeAttributeName']):this['decodeEntities']&&_0x33f4ef===_0x1f3ec9['Amp']&&this['startEntity']();}['stateInAttributeValueDoubleQuotes'](_0x3bbe90){this['handleInAttributeValue'](_0x3bbe90,_0x1f3ec9['DoubleQuote']);}['stateInAttributeValueSingleQuotes'](_0x72c8a9){this['handleInAttributeValue'](_0x72c8a9,_0x1f3ec9['SingleQuote']);}['stateInAttributeValueNoQuotes'](_0x4e8422){isWhitespace(_0x4e8422)||_0x4e8422===_0x1f3ec9['Gt']?(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['cbs']['onattribend'](QuoteType['Unquoted'],this['index']),this['state']=State['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x4e8422)):this['decodeEntities']&&_0x4e8422===_0x1f3ec9['Amp']&&this['startEntity']();}['stateBeforeDeclaration'](_0x231281){_0x231281===_0x1f3ec9['OpeningSquareBracket']?(this['state']=State['CDATASequence'],this['sequenceIndex']=0x0):this['state']=_0x231281===_0x1f3ec9['Dash']?State['BeforeComment']:State['InDeclaration'];}['stateInDeclaration'](_0x59c2b4){(_0x59c2b4===_0x1f3ec9['Gt']||this['fastForwardTo'](_0x1f3ec9['Gt']))&&(this['cbs']['ondeclaration'](this['sectionStart'],this['index']),this['state']=State['Text'],this['sectionStart']=this['index']+0x1);}['stateInProcessingInstruction'](_0x34bc5c){(_0x34bc5c===_0x1f3ec9['Gt']||this['fastForwardTo'](_0x1f3ec9['Gt']))&&(this['cbs']['onprocessinginstruction'](this['sectionStart'],this['index']),this['state']=State['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeComment'](_0x581490){_0x581490===_0x1f3ec9['Dash']?(this['state']=State['InCommentLike'],this['currentSequence']=_0x1dc547['CommentEnd'],this['sequenceIndex']=0x2,this['sectionStart']=this['index']+0x1):this['state']=State['InDeclaration'];}['stateInSpecialComment'](_0x52886b){(_0x52886b===_0x1f3ec9['Gt']||this['fastForwardTo'](_0x1f3ec9['Gt']))&&(this['cbs']['oncomment'](this['sectionStart'],this['index'],0x0),this['state']=State['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeSpecialS'](_0x3e90ca){const _0x3bcebc=0x20|_0x3e90ca;_0x3bcebc===_0x1dc547['ScriptEnd'][0x3]?this['startSpecial'](_0x1dc547['ScriptEnd'],0x4):_0x3bcebc===_0x1dc547['StyleEnd'][0x3]?this['startSpecial'](_0x1dc547['StyleEnd'],0x4):(this['state']=State['InTagName'],this['stateInTagName'](_0x3e90ca));}['stateBeforeSpecialT'](_0x3ab92d){switch(0x20|_0x3ab92d){case _0x1dc547['TitleEnd'][0x3]:this['startSpecial'](_0x1dc547['TitleEnd'],0x4);break;case _0x1dc547['TextareaEnd'][0x3]:this['startSpecial'](_0x1dc547['TextareaEnd'],0x4);break;case _0x1dc547['XmpEnd'][0x3]:this['startSpecial'](_0x1dc547['XmpEnd'],0x4);break;default:this['state']=State['InTagName'],this['stateInTagName'](_0x3ab92d);}}['startEntity'](){this['baseState']=this['state'],this['state']=State['InEntity'],this['entityStart']=this['index'],this['entityDecoder']['startEntity'](this['xmlMode']?_0xaf0a55['Strict']:this['baseState']===State['Text']||this['baseState']===State['InSpecialTag']?_0xaf0a55['Legacy']:_0xaf0a55['Attribute']);}['stateInEntity'](){const _0x49bbce=this['entityDecoder']['write'](this['buffer'],this['index']-this['offset']);_0x49bbce>=0x0?(this['state']=this['baseState'],0x0===_0x49bbce&&(this['index']=this['entityStart'])):this['index']=this['offset']+this['buffer']['length']-0x1;}['cleanup'](){this['running']&&this['sectionStart']!==this['index']&&(this['state']===State['Text']||this['state']===State['InSpecialTag']&&0x0===this['sequenceIndex']?(this['cbs']['ontext'](this['sectionStart'],this['index']),this['sectionStart']=this['index']):this['state']!==State['InAttributeValueDq']&&this['state']!==State['InAttributeValueSq']&&this['state']!==State['InAttributeValueNq']||(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=this['index']));}['shouldContinue'](){return this['index']<this['buffer']['length']+this['offset']&&this['running'];}['parse'](){for(;this['shouldContinue']();){const _0x24513e=this['buffer']['charCodeAt'](this['index']-this['offset']);switch(this['state']){case State['Text']:this['stateText'](_0x24513e);break;case State['SpecialStartSequence']:this['stateSpecialStartSequence'](_0x24513e);break;case State['InSpecialTag']:this['stateInSpecialTag'](_0x24513e);break;case State['CDATASequence']:this['stateCDATASequence'](_0x24513e);break;case State['InAttributeValueDq']:this['stateInAttributeValueDoubleQuotes'](_0x24513e);break;case State['InAttributeName']:this['stateInAttributeName'](_0x24513e);break;case State['InCommentLike']:this['stateInCommentLike'](_0x24513e);break;case State['InSpecialComment']:this['stateInSpecialComment'](_0x24513e);break;case State['BeforeAttributeName']:this['stateBeforeAttributeName'](_0x24513e);break;case State['InTagName']:this['stateInTagName'](_0x24513e);break;case State['InClosingTagName']:this['stateInClosingTagName'](_0x24513e);break;case State['BeforeTagName']:this['stateBeforeTagName'](_0x24513e);break;case State['AfterAttributeName']:this['stateAfterAttributeName'](_0x24513e);break;case State['InAttributeValueSq']:this['stateInAttributeValueSingleQuotes'](_0x24513e);break;case State['BeforeAttributeValue']:this['stateBeforeAttributeValue'](_0x24513e);break;case State['BeforeClosingTagName']:this['stateBeforeClosingTagName'](_0x24513e);break;case State['AfterClosingTagName']:this['stateAfterClosingTagName'](_0x24513e);break;case State['BeforeSpecialS']:this['stateBeforeSpecialS'](_0x24513e);break;case State['BeforeSpecialT']:this['stateBeforeSpecialT'](_0x24513e);break;case State['InAttributeValueNq']:this['stateInAttributeValueNoQuotes'](_0x24513e);break;case State['InSelfClosingTag']:this['stateInSelfClosingTag'](_0x24513e);break;case State['InDeclaration']:this['stateInDeclaration'](_0x24513e);break;case State['BeforeDeclaration']:this['stateBeforeDeclaration'](_0x24513e);break;case State['BeforeComment']:this['stateBeforeComment'](_0x24513e);break;case State['InProcessingInstruction']:this['stateInProcessingInstruction'](_0x24513e);break;case State['InEntity']:this['stateInEntity']();}this['index']++;}this['cleanup']();}['finish'](){this['state']===State['InEntity']&&(this['entityDecoder']['end'](),this['state']=this['baseState']),this['handleTrailingData'](),this['cbs']['onend']();}['handleTrailingData'](){const _0x32024d=this['buffer']['length']+this['offset'];this['sectionStart']>=_0x32024d||(this['state']===State['InCommentLike']?this['currentSequence']===_0x1dc547['CdataEnd']?this['cbs']['oncdata'](this['sectionStart'],_0x32024d,0x0):this['cbs']['oncomment'](this['sectionStart'],_0x32024d,0x0):this['state']===State['InTagName']||this['state']===State['BeforeAttributeName']||this['state']===State['BeforeAttributeValue']||this['state']===State['AfterAttributeName']||this['state']===State['InAttributeName']||this['state']===State['InAttributeValueSq']||this['state']===State['InAttributeValueDq']||this['state']===State['InAttributeValueNq']||this['state']===State['InClosingTagName']||this['cbs']['ontext'](this['sectionStart'],_0x32024d));}['emitCodePoint'](_0x15c646,_0x384c36){this['baseState']!==State['Text']&&this['baseState']!==State['InSpecialTag']?(this['sectionStart']<this['entityStart']&&this['cbs']['onattribdata'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0x384c36,this['index']=this['sectionStart']-0x1,this['cbs']['onattribentity'](_0x15c646)):(this['sectionStart']<this['entityStart']&&this['cbs']['ontext'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0x384c36,this['index']=this['sectionStart']-0x1,this['cbs']['ontextentity'](_0x15c646,this['sectionStart']));}}const _0x466cb2=new Set(['input','option','optgroup','select','button','datalist','textarea']),_0x15a2bf=new Set(['p']),tableSectionTags=new Set(['thead','tbody']),ddtTags=new Set(['dd','dt']),rtpTags=new Set(['rt','rp']),_0xd1f457=new Map([['tr',new Set(['tr','th','td'])],['th',new Set(['th'])],['td',new Set(['thead','th','td'])],['body',new Set(['head','link','script'])],['li',new Set(['li'])],['p',_0x15a2bf],['h1',_0x15a2bf],['h2',_0x15a2bf],['h3',_0x15a2bf],['h4',_0x15a2bf],['h5',_0x15a2bf],['h6',_0x15a2bf],['select',_0x466cb2],['input',_0x466cb2],['output',_0x466cb2],['button',_0x466cb2],['datalist',_0x466cb2],['textarea',_0x466cb2],['option',new Set(['option'])],['optgroup',new Set(['optgroup','option'])],['dd',ddtTags],['dt',ddtTags],['address',_0x15a2bf],['article',_0x15a2bf],['aside',_0x15a2bf],['blockquote',_0x15a2bf],['details',_0x15a2bf],['div',_0x15a2bf],['dl',_0x15a2bf],['fieldset',_0x15a2bf],['figcaption',_0x15a2bf],['figure',_0x15a2bf],['footer',_0x15a2bf],['form',_0x15a2bf],['header',_0x15a2bf],['hr',_0x15a2bf],['main',_0x15a2bf],['nav',_0x15a2bf],['ol',_0x15a2bf],['pre',_0x15a2bf],['section',_0x15a2bf],['table',_0x15a2bf],['ul',_0x15a2bf],['rt',rtpTags],['rp',rtpTags],['tbody',tableSectionTags],['tfoot',tableSectionTags]]),voidElements=new Set(['area','base','basefont','br','col','command','embed','frame','hr','img','input','isindex','keygen','link','meta','param','source','track','wbr']),foreignContextElements=new Set(['math','svg']),htmlIntegrationElements=new Set(['mi','mo','mn','ms','mtext','annotation-xml','foreignobject','desc','title']),_0xc04544=/\s|\//;let _0x1c386f=class{constructor(_0xce2a24,_0x26ad5d={}){var _0x489c7d,_0x11396a,_0x1f96e4,_0x48249d,_0x45b2d0,_0x232fe7;this['options']=_0x26ad5d,this['startIndex']=0x0,this['endIndex']=0x0,this['openTagStart']=0x0,this['tagname']='',this['attribname']='',this['attribvalue']='',this['attribs']=null,this['stack']=[],this['buffers']=[],this['bufferOffset']=0x0,this['writeIndex']=0x0,this['ended']=!0x1,this['cbs']=null!=_0xce2a24?_0xce2a24:{},this['htmlMode']=!this['options']['xmlMode'],this['lowerCaseTagNames']=null!==(_0x489c7d=_0x26ad5d['lowerCaseTags'])&&void 0x0!==_0x489c7d?_0x489c7d:this['htmlMode'],this['lowerCaseAttributeNames']=null!==(_0x11396a=_0x26ad5d['lowerCaseAttributeNames'])&&void 0x0!==_0x11396a?_0x11396a:this['htmlMode'],this['recognizeSelfClosing']=null!==(_0x1f96e4=_0x26ad5d['recognizeSelfClosing'])&&void 0x0!==_0x1f96e4?_0x1f96e4:!this['htmlMode'],this['tokenizer']=new(null!==(_0x48249d=_0x26ad5d['Tokenizer'])&&void 0x0!==_0x48249d?_0x48249d:_0x59ddaa)(this['options'],this),this['foreignContext']=[!this['htmlMode']],null===(_0x232fe7=(_0x45b2d0=this['cbs'])['onparserinit'])||void 0x0===_0x232fe7||_0x232fe7['call'](_0x45b2d0,this);}['ontext'](_0xbbfbfe,_0x47617b){var _0x31fe1b,_0x385f7f;const _0x30edc4=this['getSlice'](_0xbbfbfe,_0x47617b);this['endIndex']=_0x47617b-0x1,null===(_0x385f7f=(_0x31fe1b=this['cbs'])['ontext'])||void 0x0===_0x385f7f||_0x385f7f['call'](_0x31fe1b,_0x30edc4),this['startIndex']=_0x47617b;}['ontextentity'](_0x3d65fd,_0x48fcdd){var _0x3c74f9,_0x2d8c5c;this['endIndex']=_0x48fcdd-0x1,null===(_0x2d8c5c=(_0x3c74f9=this['cbs'])['ontext'])||void 0x0===_0x2d8c5c||_0x2d8c5c['call'](_0x3c74f9,fromCodePoint$1(_0x3d65fd)),this['startIndex']=_0x48fcdd;}['isVoidElement'](_0x3691a7){return this['htmlMode']&&voidElements['has'](_0x3691a7);}['onopentagname'](_0x5c95c3,_0x44f8cb){this['endIndex']=_0x44f8cb;let _0xc599e7=this['getSlice'](_0x5c95c3,_0x44f8cb);this['lowerCaseTagNames']&&(_0xc599e7=_0xc599e7['toLowerCase']()),this['emitOpenTag'](_0xc599e7);}['emitOpenTag'](_0x55a2c5){var _0xbadc7d,_0x17e1af,_0x41eb58,_0x45696b;this['openTagStart']=this['startIndex'],this['tagname']=_0x55a2c5;const _0x335fa3=this['htmlMode']&&_0xd1f457['get'](_0x55a2c5);if(_0x335fa3)for(;this['stack']['length']>0x0&&_0x335fa3['has'](this['stack'][0x0]);){const _0x79be19=this['stack']['shift']();null===(_0x17e1af=(_0xbadc7d=this['cbs'])['onclosetag'])||void 0x0===_0x17e1af||_0x17e1af['call'](_0xbadc7d,_0x79be19,!0x0);}this['isVoidElement'](_0x55a2c5)||(this['stack']['unshift'](_0x55a2c5),this['htmlMode']&&(foreignContextElements['has'](_0x55a2c5)?this['foreignContext']['unshift'](!0x0):htmlIntegrationElements['has'](_0x55a2c5)&&this['foreignContext']['unshift'](!0x1))),null===(_0x45696b=(_0x41eb58=this['cbs'])['onopentagname'])||void 0x0===_0x45696b||_0x45696b['call'](_0x41eb58,_0x55a2c5),this['cbs']['onopentag']&&(this['attribs']={});}['endOpenTag'](_0x2f15f9){var _0x3a242a,_0x426a44;this['startIndex']=this['openTagStart'],this['attribs']&&(null===(_0x426a44=(_0x3a242a=this['cbs'])['onopentag'])||void 0x0===_0x426a44||_0x426a44['call'](_0x3a242a,this['tagname'],this['attribs'],_0x2f15f9),this['attribs']=null),this['cbs']['onclosetag']&&this['isVoidElement'](this['tagname'])&&this['cbs']['onclosetag'](this['tagname'],!0x0),this['tagname']='';}['onopentagend'](_0x3a0718){this['endIndex']=_0x3a0718,this['endOpenTag'](!0x1),this['startIndex']=_0x3a0718+0x1;}['onclosetag'](_0x253fd2,_0x380520){var _0x46418f,_0x3e305b,_0x38a472,_0x39e3b8,_0x54d34f,_0x34980e,_0x4b2fe0,_0x4a0482;this['endIndex']=_0x380520;let _0x113a07=this['getSlice'](_0x253fd2,_0x380520);if(this['lowerCaseTagNames']&&(_0x113a07=_0x113a07['toLowerCase']()),this['htmlMode']&&(foreignContextElements['has'](_0x113a07)||htmlIntegrationElements['has'](_0x113a07))&&this['foreignContext']['shift'](),this['isVoidElement'](_0x113a07))this['htmlMode']&&'br'===_0x113a07&&(null===(_0x39e3b8=(_0x38a472=this['cbs'])['onopentagname'])||void 0x0===_0x39e3b8||_0x39e3b8['call'](_0x38a472,'br'),null===(_0x34980e=(_0x54d34f=this['cbs'])['onopentag'])||void 0x0===_0x34980e||_0x34980e['call'](_0x54d34f,'br',{},!0x0),null===(_0x4a0482=(_0x4b2fe0=this['cbs'])['onclosetag'])||void 0x0===_0x4a0482||_0x4a0482['call'](_0x4b2fe0,'br',!0x1));else{const _0x1ffa32=this['stack']['indexOf'](_0x113a07);if(-0x1!==_0x1ffa32)for(let _0x1206ec=0x0;_0x1206ec<=_0x1ffa32;_0x1206ec++){const _0x1a2069=this['stack']['shift']();null===(_0x3e305b=(_0x46418f=this['cbs'])['onclosetag'])||void 0x0===_0x3e305b||_0x3e305b['call'](_0x46418f,_0x1a2069,_0x1206ec!==_0x1ffa32);}else this['htmlMode']&&'p'===_0x113a07&&(this['emitOpenTag']('p'),this['closeCurrentTag'](!0x0));}this['startIndex']=_0x380520+0x1;}['onselfclosingtag'](_0x45be37){this['endIndex']=_0x45be37,this['recognizeSelfClosing']||this['foreignContext'][0x0]?(this['closeCurrentTag'](!0x1),this['startIndex']=_0x45be37+0x1):this['onopentagend'](_0x45be37);}['closeCurrentTag'](_0x77468c){var _0xf6f3ee,_0x1f1a8b;const _0xfd288d=this['tagname'];this['endOpenTag'](_0x77468c),this['stack'][0x0]===_0xfd288d&&(null===(_0x1f1a8b=(_0xf6f3ee=this['cbs'])['onclosetag'])||void 0x0===_0x1f1a8b||_0x1f1a8b['call'](_0xf6f3ee,_0xfd288d,!_0x77468c),this['stack']['shift']());}['onattribname'](_0x2e4903,_0x559b0f){this['startIndex']=_0x2e4903;const _0x4ed226=this['getSlice'](_0x2e4903,_0x559b0f);this['attribname']=this['lowerCaseAttributeNames']?_0x4ed226['toLowerCase']():_0x4ed226;}['onattribdata'](_0x55274b,_0x489b27){this['attribvalue']+=this['getSlice'](_0x55274b,_0x489b27);}['onattribentity'](_0x485c92){this['attribvalue']+=fromCodePoint$1(_0x485c92);}['onattribend'](_0x596821,_0x5d479d){var _0x526234,_0x319720;this['endIndex']=_0x5d479d,null===(_0x319720=(_0x526234=this['cbs'])['onattribute'])||void 0x0===_0x319720||_0x319720['call'](_0x526234,this['attribname'],this['attribvalue'],_0x596821===QuoteType['Double']?'\x22':_0x596821===QuoteType['Single']?'\x27':_0x596821===QuoteType['NoValue']?void 0x0:null),this['attribs']&&!Object['prototype']['hasOwnProperty']['call'](this['attribs'],this['attribname'])&&(this['attribs'][this['attribname']]=this['attribvalue']),this['attribvalue']='';}['getInstructionName'](_0x59bc33){const _0x319ae8=_0x59bc33['search'](_0xc04544);let _0x476d12=_0x319ae8<0x0?_0x59bc33:_0x59bc33['substr'](0x0,_0x319ae8);return this['lowerCaseTagNames']&&(_0x476d12=_0x476d12['toLowerCase']()),_0x476d12;}['ondeclaration'](_0x9b2cc4,_0x382216){this['endIndex']=_0x382216;const _0x185678=this['getSlice'](_0x9b2cc4,_0x382216);if(this['cbs']['onprocessinginstruction']){const _0x1c0c53=this['getInstructionName'](_0x185678);this['cbs']['onprocessinginstruction']('!'+_0x1c0c53,'!'+_0x185678);}this['startIndex']=_0x382216+0x1;}['onprocessinginstruction'](_0x4cec15,_0x81510e){this['endIndex']=_0x81510e;const _0x50ed4e=this['getSlice'](_0x4cec15,_0x81510e);if(this['cbs']['onprocessinginstruction']){const _0x276830=this['getInstructionName'](_0x50ed4e);this['cbs']['onprocessinginstruction']('?'+_0x276830,'?'+_0x50ed4e);}this['startIndex']=_0x81510e+0x1;}['oncomment'](_0x422265,_0x845aa8,_0x5e3c2d){var _0x19956b,_0x147f9f,_0x2a1581,_0xe9413;this['endIndex']=_0x845aa8,null===(_0x147f9f=(_0x19956b=this['cbs'])['oncomment'])||void 0x0===_0x147f9f||_0x147f9f['call'](_0x19956b,this['getSlice'](_0x422265,_0x845aa8-_0x5e3c2d)),null===(_0xe9413=(_0x2a1581=this['cbs'])['oncommentend'])||void 0x0===_0xe9413||_0xe9413['call'](_0x2a1581),this['startIndex']=_0x845aa8+0x1;}['oncdata'](_0x3e9a24,_0x4d3845,_0x38bc0e){var _0xe73c5f,_0x45c0e4,_0xa2c309,_0x321b32,_0x101b24,_0x3ef453,_0x47d433,_0x486078,_0x3c7f20,_0x4f6d0f;this['endIndex']=_0x4d3845;const _0x82ef7a=this['getSlice'](_0x3e9a24,_0x4d3845-_0x38bc0e);!this['htmlMode']||this['options']['recognizeCDATA']?(null===(_0x45c0e4=(_0xe73c5f=this['cbs'])['oncdatastart'])||void 0x0===_0x45c0e4||_0x45c0e4['call'](_0xe73c5f),null===(_0x321b32=(_0xa2c309=this['cbs'])['ontext'])||void 0x0===_0x321b32||_0x321b32['call'](_0xa2c309,_0x82ef7a),null===(_0x3ef453=(_0x101b24=this['cbs'])['oncdataend'])||void 0x0===_0x3ef453||_0x3ef453['call'](_0x101b24)):(null===(_0x486078=(_0x47d433=this['cbs'])['oncomment'])||void 0x0===_0x486078||_0x486078['call'](_0x47d433,'[CDATA['+_0x82ef7a+']]'),null===(_0x4f6d0f=(_0x3c7f20=this['cbs'])['oncommentend'])||void 0x0===_0x4f6d0f||_0x4f6d0f['call'](_0x3c7f20)),this['startIndex']=_0x4d3845+0x1;}['onend'](){var _0x2ea80c,_0x5dde5e;if(this['cbs']['onclosetag']){this['endIndex']=this['startIndex'];for(let _0x3d1ec8=0x0;_0x3d1ec8<this['stack']['length'];_0x3d1ec8++)this['cbs']['onclosetag'](this['stack'][_0x3d1ec8],!0x0);}null===(_0x5dde5e=(_0x2ea80c=this['cbs'])['onend'])||void 0x0===_0x5dde5e||_0x5dde5e['call'](_0x2ea80c);}['reset'](){var _0x3c3eb9,_0x22d726,_0x11645a,_0x3a9759;null===(_0x22d726=(_0x3c3eb9=this['cbs'])['onreset'])||void 0x0===_0x22d726||_0x22d726['call'](_0x3c3eb9),this['tokenizer']['reset'](),this['tagname']='',this['attribname']='',this['attribs']=null,this['stack']['length']=0x0,this['startIndex']=0x0,this['endIndex']=0x0,null===(_0x3a9759=(_0x11645a=this['cbs'])['onparserinit'])||void 0x0===_0x3a9759||_0x3a9759['call'](_0x11645a,this),this['buffers']['length']=0x0,this['foreignContext']['length']=0x0,this['foreignContext']['unshift'](!this['htmlMode']),this['bufferOffset']=0x0,this['writeIndex']=0x0,this['ended']=!0x1;}['parseComplete'](_0x16fcd3){this['reset'](),this['end'](_0x16fcd3);}['getSlice'](_0x427822,_0x56f42c){for(;_0x427822-this['bufferOffset']>=this['buffers'][0x0]['length'];)this['shiftBuffer']();let _0x38f871=this['buffers'][0x0]['slice'](_0x427822-this['bufferOffset'],_0x56f42c-this['bufferOffset']);for(;_0x56f42c-this['bufferOffset']>this['buffers'][0x0]['length'];)this['shiftBuffer'](),_0x38f871+=this['buffers'][0x0]['slice'](0x0,_0x56f42c-this['bufferOffset']);return _0x38f871;}['shiftBuffer'](){this['bufferOffset']+=this['buffers'][0x0]['length'],this['writeIndex']--,this['buffers']['shift']();}['write'](_0x812d71){var _0x1fd0f8,_0x5d620d;this['ended']?null===(_0x5d620d=(_0x1fd0f8=this['cbs'])['onerror'])||void 0x0===_0x5d620d||_0x5d620d['call'](_0x1fd0f8,new Error('.write()\x20after\x20done!')):(this['buffers']['push'](_0x812d71),this['tokenizer']['running']&&(this['tokenizer']['write'](_0x812d71),this['writeIndex']++));}['end'](_0x42b6f9){var _0x55957a,_0xe2dde6;this['ended']?null===(_0xe2dde6=(_0x55957a=this['cbs'])['onerror'])||void 0x0===_0xe2dde6||_0xe2dde6['call'](_0x55957a,new Error('.end()\x20after\x20done!')):(_0x42b6f9&&this['write'](_0x42b6f9),this['ended']=!0x0,this['tokenizer']['end']());}['pause'](){this['tokenizer']['pause']();}['resume'](){for(this['tokenizer']['resume']();this['tokenizer']['running']&&this['writeIndex']<this['buffers']['length'];)this['tokenizer']['write'](this['buffers'][this['writeIndex']++]);this['ended']&&this['tokenizer']['end']();}['parseChunk'](_0x47cf6d){this['write'](_0x47cf6d);}['done'](_0x51c439){this['end'](_0x51c439);}};var ElementType;function _0x2b87da(_0xc09bc6){return _0xc09bc6['type']===ElementType['Tag']||_0xc09bc6['type']===ElementType['Script']||_0xc09bc6['type']===ElementType['Style'];}!function(_0x1d0892){_0x1d0892['Root']='root',_0x1d0892['Text']='text',_0x1d0892['Directive']='directive',_0x1d0892['Comment']='comment',_0x1d0892['Script']='script',_0x1d0892['Style']='style',_0x1d0892['Tag']='tag',_0x1d0892['CDATA']='cdata',_0x1d0892['Doctype']='doctype';}(ElementType||(ElementType={}));const Root=ElementType['Root'],Text$2=ElementType['Text'],Directive=ElementType['Directive'],Comment$2=ElementType['Comment'],Script=ElementType['Script'],Style=ElementType['Style'],_0x2b15cc=ElementType['Tag'],_0x379667=ElementType['CDATA'],Doctype=ElementType['Doctype'];let _0x12c5ab=class{constructor(){this['parent']=null,this['prev']=null,this['next']=null,this['startIndex']=null,this['endIndex']=null;}get['parentNode'](){return this['parent'];}set['parentNode'](_0x59b4dc){this['parent']=_0x59b4dc;}get['previousSibling'](){return this['prev'];}set['previousSibling'](_0x3b5346){this['prev']=_0x3b5346;}get['nextSibling'](){return this['next'];}set['nextSibling'](_0x5283db){this['next']=_0x5283db;}['cloneNode'](_0x2a7f13=!0x1){return _0x1fd013(this,_0x2a7f13);}};class DataNode extends _0x12c5ab{constructor(_0x488e0e){super(),this['data']=_0x488e0e;}get['nodeValue'](){return this['data'];}set['nodeValue'](_0x10c6de){this['data']=_0x10c6de;}}let Text$1=class extends DataNode{constructor(){super(...arguments),this['type']=ElementType['Text'];}get['nodeType'](){return 0x3;}},Comment$1=class extends DataNode{constructor(){super(...arguments),this['type']=ElementType['Comment'];}get['nodeType'](){return 0x8;}};class ProcessingInstruction extends DataNode{constructor(_0x55ea50,_0x52309d){super(_0x52309d),this['name']=_0x55ea50,this['type']=ElementType['Directive'];}get['nodeType'](){return 0x1;}}class NodeWithChildren extends _0x12c5ab{constructor(_0x5939b9){super(),this['children']=_0x5939b9;}get['firstChild'](){var _0x452ce0;return null!==(_0x452ce0=this['children'][0x0])&&void 0x0!==_0x452ce0?_0x452ce0:null;}get['lastChild'](){return this['children']['length']>0x0?this['children'][this['children']['length']-0x1]:null;}get['childNodes'](){return this['children'];}set['childNodes'](_0x28e227){this['children']=_0x28e227;}}class _0x56bd4b extends NodeWithChildren{constructor(){super(...arguments),this['type']=ElementType['CDATA'];}get['nodeType'](){return 0x4;}}class Document extends NodeWithChildren{constructor(){super(...arguments),this['type']=ElementType['Root'];}get['nodeType'](){return 0x9;}}let Element$3=class extends NodeWithChildren{constructor(_0x34ea7b,_0x5e086c,_0xd822c4=[],_0x2e9ec8='script'===_0x34ea7b?ElementType['Script']:'style'===_0x34ea7b?ElementType['Style']:ElementType['Tag']){super(_0xd822c4),this['name']=_0x34ea7b,this['attribs']=_0x5e086c,this['type']=_0x2e9ec8;}get['nodeType'](){return 0x1;}get['tagName'](){return this['name'];}set['tagName'](_0x20fbc7){this['name']=_0x20fbc7;}get['attributes'](){return Object['keys'](this['attribs'])['map'](_0x525e8b=>{var _0x3c8c98,_0x220b1e;return{'name':_0x525e8b,'value':this['attribs'][_0x525e8b],'namespace':null===(_0x3c8c98=this['x-attribsNamespace'])||void 0x0===_0x3c8c98?void 0x0:_0x3c8c98[_0x525e8b],'prefix':null===(_0x220b1e=this['x-attribsPrefix'])||void 0x0===_0x220b1e?void 0x0:_0x220b1e[_0x525e8b]};});}};function _0x190800(_0x59c5e0){return _0x2b87da(_0x59c5e0);}function _0x523a3b(_0xb1ca68){return _0xb1ca68['type']===ElementType['CDATA'];}function isText$1(_0x2a06ee){return _0x2a06ee['type']===ElementType['Text'];}function isComment(_0x20766c){return _0x20766c['type']===ElementType['Comment'];}function isDirective(_0xc1c657){return _0xc1c657['type']===ElementType['Directive'];}function isDocument(_0x3c9a93){return _0x3c9a93['type']===ElementType['Root'];}function _0x251985(_0x46ad7f){return Object['prototype']['hasOwnProperty']['call'](_0x46ad7f,'children');}function _0x1fd013(_0xa25c6c,_0x1486ff=!0x1){let _0x5b0e7d;if(isText$1(_0xa25c6c))_0x5b0e7d=new Text$1(_0xa25c6c['data']);else{if(isComment(_0xa25c6c))_0x5b0e7d=new Comment$1(_0xa25c6c['data']);else{if(_0x190800(_0xa25c6c)){const _0xc8c01f=_0x1486ff?_0x3c2853(_0xa25c6c['children']):[],_0x5de845=new Element$3(_0xa25c6c['name'],{..._0xa25c6c['attribs']},_0xc8c01f);_0xc8c01f['forEach'](_0x3186bb=>_0x3186bb['parent']=_0x5de845),null!=_0xa25c6c['namespace']&&(_0x5de845['namespace']=_0xa25c6c['namespace']),_0xa25c6c['x-attribsNamespace']&&(_0x5de845['x-attribsNamespace']={..._0xa25c6c['x-attribsNamespace']}),_0xa25c6c['x-attribsPrefix']&&(_0x5de845['x-attribsPrefix']={..._0xa25c6c['x-attribsPrefix']}),_0x5b0e7d=_0x5de845;}else{if(_0x523a3b(_0xa25c6c)){const _0x303617=_0x1486ff?_0x3c2853(_0xa25c6c['children']):[],_0x3b2433=new _0x56bd4b(_0x303617);_0x303617['forEach'](_0x237a4f=>_0x237a4f['parent']=_0x3b2433),_0x5b0e7d=_0x3b2433;}else{if(isDocument(_0xa25c6c)){const _0x1a1f34=_0x1486ff?_0x3c2853(_0xa25c6c['children']):[],_0x53bdba=new Document(_0x1a1f34);_0x1a1f34['forEach'](_0x272d28=>_0x272d28['parent']=_0x53bdba),_0xa25c6c['x-mode']&&(_0x53bdba['x-mode']=_0xa25c6c['x-mode']),_0x5b0e7d=_0x53bdba;}else{if(!isDirective(_0xa25c6c))throw new Error('Not\x20implemented\x20yet:\x20'+_0xa25c6c['type']);{const _0x23b858=new ProcessingInstruction(_0xa25c6c['name'],_0xa25c6c['data']);null!=_0xa25c6c['x-name']&&(_0x23b858['x-name']=_0xa25c6c['x-name'],_0x23b858['x-publicId']=_0xa25c6c['x-publicId'],_0x23b858['x-systemId']=_0xa25c6c['x-systemId']),_0x5b0e7d=_0x23b858;}}}}}}return _0x5b0e7d['startIndex']=_0xa25c6c['startIndex'],_0x5b0e7d['endIndex']=_0xa25c6c['endIndex'],null!=_0xa25c6c['sourceCodeLocation']&&(_0x5b0e7d['sourceCodeLocation']=_0xa25c6c['sourceCodeLocation']),_0x5b0e7d;}function _0x3c2853(_0x5230ba){const _0x167a4d=_0x5230ba['map'](_0x27eb4c=>_0x1fd013(_0x27eb4c,!0x0));for(let _0x1114b7=0x1;_0x1114b7<_0x167a4d['length'];_0x1114b7++)_0x167a4d[_0x1114b7]['prev']=_0x167a4d[_0x1114b7-0x1],_0x167a4d[_0x1114b7-0x1]['next']=_0x167a4d[_0x1114b7];return _0x167a4d;}const defaultOpts={'withStartIndices':!0x1,'withEndIndices':!0x1,'xmlMode':!0x1};class _0x250f2d{constructor(_0x465d48,_0x2b9743,_0xdffd79){this['dom']=[],this['root']=new Document(this['dom']),this['done']=!0x1,this['tagStack']=[this['root']],this['lastNode']=null,this['parser']=null,'function'==typeof _0x2b9743&&(_0xdffd79=_0x2b9743,_0x2b9743=defaultOpts),'object'==typeof _0x465d48&&(_0x2b9743=_0x465d48,_0x465d48=void 0x0),this['callback']=null!=_0x465d48?_0x465d48:null,this['options']=null!=_0x2b9743?_0x2b9743:defaultOpts,this['elementCB']=null!=_0xdffd79?_0xdffd79:null;}['onparserinit'](_0x3b0a03){this['parser']=_0x3b0a03;}['onreset'](){this['dom']=[],this['root']=new Document(this['dom']),this['done']=!0x1,this['tagStack']=[this['root']],this['lastNode']=null,this['parser']=null;}['onend'](){this['done']||(this['done']=!0x0,this['parser']=null,this['handleCallback'](null));}['onerror'](_0x3087c4){this['handleCallback'](_0x3087c4);}['onclosetag'](){this['lastNode']=null;const _0x39d680=this['tagStack']['pop']();this['options']['withEndIndices']&&(_0x39d680['endIndex']=this['parser']['endIndex']),this['elementCB']&&this['elementCB'](_0x39d680);}['onopentag'](_0x2fe5e4,_0x429eb8){const _0x5e399a=this['options']['xmlMode']?ElementType['Tag']:void 0x0,_0x3bc520=new Element$3(_0x2fe5e4,_0x429eb8,void 0x0,_0x5e399a);this['addNode'](_0x3bc520),this['tagStack']['push'](_0x3bc520);}['ontext'](_0x4ffb08){const {lastNode:_0x1e3e92}=this;if(_0x1e3e92&&_0x1e3e92['type']===ElementType['Text'])_0x1e3e92['data']+=_0x4ffb08,this['options']['withEndIndices']&&(_0x1e3e92['endIndex']=this['parser']['endIndex']);else{const _0x1687e6=new Text$1(_0x4ffb08);this['addNode'](_0x1687e6),this['lastNode']=_0x1687e6;}}['oncomment'](_0x123447){if(this['lastNode']&&this['lastNode']['type']===ElementType['Comment'])return void(this['lastNode']['data']+=_0x123447);const _0x388da7=new Comment$1(_0x123447);this['addNode'](_0x388da7),this['lastNode']=_0x388da7;}['oncommentend'](){this['lastNode']=null;}['oncdatastart'](){const _0x13f842=new Text$1(''),_0x4b2d30=new _0x56bd4b([_0x13f842]);this['addNode'](_0x4b2d30),_0x13f842['parent']=_0x4b2d30,this['lastNode']=_0x13f842;}['oncdataend'](){this['lastNode']=null;}['onprocessinginstruction'](_0x2aae87,_0x87dff9){const _0x12f028=new ProcessingInstruction(_0x2aae87,_0x87dff9);this['addNode'](_0x12f028);}['handleCallback'](_0x1e2e25){if('function'==typeof this['callback'])this['callback'](_0x1e2e25,this['dom']);else{if(_0x1e2e25)throw _0x1e2e25;}}['addNode'](_0x40c68f){const _0x115904=this['tagStack'][this['tagStack']['length']-0x1],_0x6c3c83=_0x115904['children'][_0x115904['children']['length']-0x1];this['options']['withStartIndices']&&(_0x40c68f['startIndex']=this['parser']['startIndex']),this['options']['withEndIndices']&&(_0x40c68f['endIndex']=this['parser']['endIndex']),_0x115904['children']['push'](_0x40c68f),_0x6c3c83&&(_0x40c68f['prev']=_0x6c3c83,_0x6c3c83['next']=_0x40c68f),_0x40c68f['parent']=_0x115904,this['lastNode']=null;}}const _0x32e989=/["&'<>$\x80-\uFFFF]/g,_0x2f1b01=new Map([[0x22,'&quot;'],[0x26,'&amp;'],[0x27,'&apos;'],[0x3c,'&lt;'],[0x3e,'&gt;']]),getCodePoint=null!=String['prototype']['codePointAt']?(_0x1f9abf,_0x3f4a55)=>_0x1f9abf['codePointAt'](_0x3f4a55):(_0x57c497,_0x33055a)=>0xd800==(0xfc00&_0x57c497['charCodeAt'](_0x33055a))?0x400*(_0x57c497['charCodeAt'](_0x33055a)-0xd800)+_0x57c497['charCodeAt'](_0x33055a+0x1)-0xdc00+0x10000:_0x57c497['charCodeAt'](_0x33055a);function _0x2ed80d(_0x707dfa){let _0x5e241f,_0xf12bce='',_0x36b429=0x0;for(;null!==(_0x5e241f=_0x32e989['exec'](_0x707dfa));){const _0x1ed434=_0x5e241f['index'],_0x1394c4=_0x707dfa['charCodeAt'](_0x1ed434),_0x14355b=_0x2f1b01['get'](_0x1394c4);void 0x0!==_0x14355b?(_0xf12bce+=_0x707dfa['substring'](_0x36b429,_0x1ed434)+_0x14355b,_0x36b429=_0x1ed434+0x1):(_0xf12bce+=_0x707dfa['substring'](_0x36b429,_0x1ed434)+'&#x'+getCodePoint(_0x707dfa,_0x1ed434)['toString'](0x10)+';',_0x36b429=_0x32e989['lastIndex']+=Number(0xd800==(0xfc00&_0x1394c4)));}return _0xf12bce+_0x707dfa['substr'](_0x36b429);}function getEscaper(_0x43fe93,_0x47ebdd){return function(_0x491820){let _0x189597,_0x19d5a1=0x0,_0x275198='';for(;_0x189597=_0x43fe93['exec'](_0x491820);)_0x19d5a1!==_0x189597['index']&&(_0x275198+=_0x491820['substring'](_0x19d5a1,_0x189597['index'])),_0x275198+=_0x47ebdd['get'](_0x189597[0x0]['charCodeAt'](0x0)),_0x19d5a1=_0x189597['index']+0x1;return _0x275198+_0x491820['substring'](_0x19d5a1);};}const escapeAttribute=getEscaper(/["&\u00A0]/g,new Map([[0x22,'&quot;'],[0x26,'&amp;'],[0xa0,'&nbsp;']])),escapeText=getEscaper(/[&<>\u00A0]/g,new Map([[0x26,'&amp;'],[0x3c,'&lt;'],[0x3e,'&gt;'],[0xa0,'&nbsp;']])),elementNames=new Map(['altGlyph','altGlyphDef','altGlyphItem','animateColor','animateMotion','animateTransform','clipPath','feBlend','feColorMatrix','feComponentTransfer','feComposite','feConvolveMatrix','feDiffuseLighting','feDisplacementMap','feDistantLight','feDropShadow','feFlood','feFuncA','feFuncB','feFuncG','feFuncR','feGaussianBlur','feImage','feMerge','feMergeNode','feMorphology','feOffset','fePointLight','feSpecularLighting','feSpotLight','feTile','feTurbulence','foreignObject','glyphRef','linearGradient','radialGradient','textPath']['map'](_0x18fcf9=>[_0x18fcf9['toLowerCase'](),_0x18fcf9])),attributeNames=new Map(['definitionURL','attributeName','attributeType','baseFrequency','baseProfile','calcMode','clipPathUnits','diffuseConstant','edgeMode','filterUnits','glyphRef','gradientTransform','gradientUnits','kernelMatrix','kernelUnitLength','keyPoints','keySplines','keyTimes','lengthAdjust','limitingConeAngle','markerHeight','markerUnits','markerWidth','maskContentUnits','maskUnits','numOctaves','pathLength','patternContentUnits','patternTransform','patternUnits','pointsAtX','pointsAtY','pointsAtZ','preserveAlpha','preserveAspectRatio','primitiveUnits','refX','refY','repeatCount','repeatDur','requiredExtensions','requiredFeatures','specularConstant','specularExponent','spreadMethod','startOffset','stdDeviation','stitchTiles','surfaceScale','systemLanguage','tableValues','targetX','targetY','textLength','viewBox','viewTarget','xChannelSelector','yChannelSelector','zoomAndPan']['map'](_0x365d14=>[_0x365d14['toLowerCase'](),_0x365d14])),unencodedElements=new Set(['style','script','xmp','iframe','noembed','noframes','plaintext','noscript']);function replaceQuotes(_0x3f236a){return _0x3f236a['replace'](/"/g,'&quot;');}function formatAttributes(_0x3a3865,_0x5b33d6){var _0x46c588;if(!_0x3a3865)return;const _0x4b65fc=!0x1===(null!==(_0x46c588=_0x5b33d6['encodeEntities'])&&void 0x0!==_0x46c588?_0x46c588:_0x5b33d6['decodeEntities'])?replaceQuotes:_0x5b33d6['xmlMode']||'utf8'!==_0x5b33d6['encodeEntities']?_0x2ed80d:escapeAttribute;return Object['keys'](_0x3a3865)['map'](_0x48eaa7=>{var _0x51559b,_0x581bdd;const _0x2fef58=null!==(_0x51559b=_0x3a3865[_0x48eaa7])&&void 0x0!==_0x51559b?_0x51559b:'';return'foreign'===_0x5b33d6['xmlMode']&&(_0x48eaa7=null!==(_0x581bdd=attributeNames['get'](_0x48eaa7))&&void 0x0!==_0x581bdd?_0x581bdd:_0x48eaa7),_0x5b33d6['emptyAttrs']||_0x5b33d6['xmlMode']||''!==_0x2fef58?_0x48eaa7+'=\x22'+_0x4b65fc(_0x2fef58)+'\x22':_0x48eaa7;})['join']('\x20');}const _0x3670f7=new Set(['area','base','basefont','br','col','command','embed','frame','hr','img','input','isindex','keygen','link','meta','param','source','track','wbr']);function _0x3653f0(_0x189e7a,_0x298866={}){const _0x32c4ea='length'in _0x189e7a?_0x189e7a:[_0x189e7a];let _0x471b92='';for(let _0x31a8a8=0x0;_0x31a8a8<_0x32c4ea['length'];_0x31a8a8++)_0x471b92+=_0x3402e1(_0x32c4ea[_0x31a8a8],_0x298866);return _0x471b92;}function _0x3402e1(_0x3d36ba,_0x15385b){switch(_0x3d36ba['type']){case Root:return _0x3653f0(_0x3d36ba['children'],_0x15385b);case Doctype:case Directive:return renderDirective(_0x3d36ba);case Comment$2:return renderComment(_0x3d36ba);case _0x379667:return renderCdata(_0x3d36ba);case Script:case Style:case _0x2b15cc:return _0x524665(_0x3d36ba,_0x15385b);case Text$2:return renderText(_0x3d36ba,_0x15385b);}}const foreignModeIntegrationPoints=new Set(['mi','mo','mn','ms','mtext','annotation-xml','foreignObject','desc','title']),foreignElements=new Set(['svg','math']);function _0x524665(_0x34f166,_0x860161){var _0x4cbf30;'foreign'===_0x860161['xmlMode']&&(_0x34f166['name']=null!==(_0x4cbf30=elementNames['get'](_0x34f166['name']))&&void 0x0!==_0x4cbf30?_0x4cbf30:_0x34f166['name'],_0x34f166['parent']&&foreignModeIntegrationPoints['has'](_0x34f166['parent']['name'])&&(_0x860161={..._0x860161,'xmlMode':!0x1})),!_0x860161['xmlMode']&&foreignElements['has'](_0x34f166['name'])&&(_0x860161={..._0x860161,'xmlMode':'foreign'});let _0x4c4119='<'+_0x34f166['name'];const _0x5a0a1f=formatAttributes(_0x34f166['attribs'],_0x860161);return _0x5a0a1f&&(_0x4c4119+='\x20'+_0x5a0a1f),0x0===_0x34f166['children']['length']&&(_0x860161['xmlMode']?!0x1!==_0x860161['selfClosingTags']:_0x860161['selfClosingTags']&&_0x3670f7['has'](_0x34f166['name']))?(_0x860161['xmlMode']||(_0x4c4119+='\x20'),_0x4c4119+='/>'):(_0x4c4119+='>',_0x34f166['children']['length']>0x0&&(_0x4c4119+=_0x3653f0(_0x34f166['children'],_0x860161)),!_0x860161['xmlMode']&&_0x3670f7['has'](_0x34f166['name'])||(_0x4c4119+='</'+_0x34f166['name']+'>')),_0x4c4119;}function renderDirective(_0x28a5a9){return'<'+_0x28a5a9['data']+'>';}function renderText(_0x2371b1,_0x2b7dd4){var _0x23588e;let _0x3cd115=_0x2371b1['data']||'';return!0x1===(null!==(_0x23588e=_0x2b7dd4['encodeEntities'])&&void 0x0!==_0x23588e?_0x23588e:_0x2b7dd4['decodeEntities'])||!_0x2b7dd4['xmlMode']&&_0x2371b1['parent']&&unencodedElements['has'](_0x2371b1['parent']['name'])||(_0x3cd115=_0x2b7dd4['xmlMode']||'utf8'!==_0x2b7dd4['encodeEntities']?_0x2ed80d(_0x3cd115):escapeText(_0x3cd115)),_0x3cd115;}function renderCdata(_0x1d475b){return'<![CDATA['+_0x1d475b['children'][0x0]['data']+']]>';}function renderComment(_0x6485d6){return'<!--'+_0x6485d6['data']+'-->';}function textContent(_0x5adcd0){return Array['isArray'](_0x5adcd0)?_0x5adcd0['map'](textContent)['join'](''):_0x251985(_0x5adcd0)&&!isComment(_0x5adcd0)?textContent(_0x5adcd0['children']):isText$1(_0x5adcd0)?_0x5adcd0['data']:'';}function getChildren$1(_0x33aff3){return _0x251985(_0x33aff3)?_0x33aff3['children']:[];}function getParent(_0x3d48dc){return _0x3d48dc['parent']||null;}function removeElement(_0x1d55be){if(_0x1d55be['prev']&&(_0x1d55be['prev']['next']=_0x1d55be['next']),_0x1d55be['next']&&(_0x1d55be['next']['prev']=_0x1d55be['prev']),_0x1d55be['parent']){const _0x3b5d47=_0x1d55be['parent']['children'],_0x59f9db=_0x3b5d47['lastIndexOf'](_0x1d55be);_0x59f9db>=0x0&&_0x3b5d47['splice'](_0x59f9db,0x1);}_0x1d55be['next']=null,_0x1d55be['prev']=null,_0x1d55be['parent']=null;}function replaceElement(_0x500d3c,_0x49fd50){const _0x54246a=_0x49fd50['prev']=_0x500d3c['prev'];_0x54246a&&(_0x54246a['next']=_0x49fd50);const _0x44dab3=_0x49fd50['next']=_0x500d3c['next'];_0x44dab3&&(_0x44dab3['prev']=_0x49fd50);const _0x422431=_0x49fd50['parent']=_0x500d3c['parent'];if(_0x422431){const _0x55a9d9=_0x422431['children'];_0x55a9d9[_0x55a9d9['lastIndexOf'](_0x500d3c)]=_0x49fd50,_0x500d3c['parent']=null;}}function _0x4cbf0f(_0x37f045,_0x17b46d){if(removeElement(_0x17b46d),_0x17b46d['next']=null,_0x17b46d['parent']=_0x37f045,_0x37f045['children']['push'](_0x17b46d)>0x1){const _0x1a70a2=_0x37f045['children'][_0x37f045['children']['length']-0x2];_0x1a70a2['next']=_0x17b46d,_0x17b46d['prev']=_0x1a70a2;}else _0x17b46d['prev']=null;}function _0x41de17(_0x1bc5f8,_0x407d6c){removeElement(_0x407d6c);const {parent:_0x2210d7}=_0x1bc5f8,_0x48bcaa=_0x1bc5f8['next'];if(_0x407d6c['next']=_0x48bcaa,_0x407d6c['prev']=_0x1bc5f8,_0x1bc5f8['next']=_0x407d6c,_0x407d6c['parent']=_0x2210d7,_0x48bcaa){if(_0x48bcaa['prev']=_0x407d6c,_0x2210d7){const _0x3e8399=_0x2210d7['children'];_0x3e8399['splice'](_0x3e8399['lastIndexOf'](_0x48bcaa),0x0,_0x407d6c);}}else _0x2210d7&&_0x2210d7['children']['push'](_0x407d6c);}function _0xbdcb61(_0x1b2bc9,_0xdd2033){if(removeElement(_0xdd2033),_0xdd2033['parent']=_0x1b2bc9,_0xdd2033['prev']=null,0x1!==_0x1b2bc9['children']['unshift'](_0xdd2033)){const _0x4b4b75=_0x1b2bc9['children'][0x1];_0x4b4b75['prev']=_0xdd2033,_0xdd2033['next']=_0x4b4b75;}else _0xdd2033['next']=null;}function _0x5cf0ac(_0x385192,_0x378680){removeElement(_0x378680);const {parent:_0x417c13}=_0x385192;if(_0x417c13){const _0x20ae8d=_0x417c13['children'];_0x20ae8d['splice'](_0x20ae8d['indexOf'](_0x385192),0x0,_0x378680);}_0x385192['prev']&&(_0x385192['prev']['next']=_0x378680),_0x378680['parent']=_0x417c13,_0x378680['prev']=_0x385192['prev'],_0x378680['next']=_0x385192,_0x385192['prev']=_0x378680;}function _0x4efe25(_0x3fbc91,_0x1f09dc,_0x4eeb8e,_0x835e60){const _0x3f74c1=[],_0x100f48=[Array['isArray'](_0x1f09dc)?_0x1f09dc:[_0x1f09dc]],_0x19f7ec=[0x0];for(;;){if(_0x19f7ec[0x0]>=_0x100f48[0x0]['length']){if(0x1===_0x19f7ec['length'])return _0x3f74c1;_0x100f48['shift'](),_0x19f7ec['shift']();continue;}const _0x584528=_0x100f48[0x0][_0x19f7ec[0x0]++];if(_0x3fbc91(_0x584528)&&(_0x3f74c1['push'](_0x584528),--_0x835e60<=0x0))return _0x3f74c1;_0x251985(_0x584528)&&_0x584528['children']['length']>0x0&&(_0x19f7ec['unshift'](0x0),_0x100f48['unshift'](_0x584528['children']));}}function _0x2571e5(_0x56704c,_0x21c9ae,_0x1c37ca=!0x0){const _0x5511cf=Array['isArray'](_0x21c9ae)?_0x21c9ae:[_0x21c9ae];for(let _0x2b03ad=0x0;_0x2b03ad<_0x5511cf['length'];_0x2b03ad++){const _0x2597ba=_0x5511cf[_0x2b03ad];if(_0x190800(_0x2597ba)&&_0x56704c(_0x2597ba))return _0x2597ba;if(_0x1c37ca&&_0x251985(_0x2597ba)&&_0x2597ba['children']['length']>0x0){const _0x3bb045=_0x2571e5(_0x56704c,_0x2597ba['children'],!0x0);if(_0x3bb045)return _0x3bb045;}}return null;}function _0x57a507(_0x2ea04b,_0x5ee024){const _0x3cd294=[],_0xba59f8=[Array['isArray'](_0x5ee024)?_0x5ee024:[_0x5ee024]],_0x5a3615=[0x0];for(;;){if(_0x5a3615[0x0]>=_0xba59f8[0x0]['length']){if(0x1===_0xba59f8['length'])return _0x3cd294;_0xba59f8['shift'](),_0x5a3615['shift']();continue;}const _0x4046bc=_0xba59f8[0x0][_0x5a3615[0x0]++];_0x190800(_0x4046bc)&&_0x2ea04b(_0x4046bc)&&_0x3cd294['push'](_0x4046bc),_0x251985(_0x4046bc)&&_0x4046bc['children']['length']>0x0&&(_0x5a3615['unshift'](0x0),_0xba59f8['unshift'](_0x4046bc['children']));}}function parseDocument(_0x412a1f,_0x382d37){const _0x56f2d4=new _0x250f2d(void 0x0,_0x382d37);return new _0x1c386f(_0x56f2d4,_0x382d37)['end'](_0x412a1f),_0x56f2d4['root'];}function _0xee8c6d(_0xef940d){return parseDocument(_0xef940d);}function _0x19ea5e(_0x130c83){return _0x3653f0(_0x130c83);}function findByAttribute(_0x36662b,_0x3c04d6,_0x257e9b){const _0x2d21cd=null!==_0x3c04d6?_0x382b46=>_0x382b46['attribs'][_0x36662b]===_0x3c04d6:_0x326410=>Boolean(_0x326410['attribs'][_0x36662b]);return _0x2571e5(_0x4e4213=>_0x190800(_0x4e4213)&&_0x2d21cd(_0x4e4213),_0x257e9b);}function findAllByAttribute(_0x51f7e3,_0x370dc6,_0x5bda2c){const _0x4e5eff=null!==_0x370dc6?_0xc8a407=>_0xc8a407['attribs'][_0x51f7e3]===_0x370dc6:_0x599e2e=>Boolean(_0x599e2e['attribs'][_0x51f7e3]);return _0x57a507(_0x2a106d=>_0x190800(_0x2a106d)&&_0x4e5eff(_0x2a106d),_0x5bda2c);}function findAllComments(_0x1dbc2b){return _0x4efe25(_0x36f31b=>isComment(_0x36f31b),_0x1dbc2b,!0x0,0x1/0x0);}function getAttribute(_0x1dd215,_0x1e9b18){return _0x1dd215&&_0x190800(_0x1dd215)?_0x1dd215['attribs'][_0x1e9b18]:null;}function setAttribute(_0x2e2ae5,_0x4ae29d,_0x5bdf5a){_0x190800(_0x2e2ae5)&&(null===_0x5bdf5a?delete _0x2e2ae5['attribs'][_0x4ae29d]:_0x2e2ae5['attribs'][_0x4ae29d]=_0x5bdf5a);}function insertElement(_0x34dcfe,_0x842be8,_0x27458a){const _0x38f4d5=_0x842be8['cloneNode'](!0x0);'beforebegin'===_0x27458a?_0x5cf0ac(_0x34dcfe,_0x38f4d5):'afterbegin'===_0x27458a?_0xbdcb61(_0x34dcfe,_0x38f4d5):'beforeend'===_0x27458a?_0x4cbf0f(_0x34dcfe,_0x38f4d5):'afterend'===_0x27458a&&_0x41de17(_0x34dcfe,_0x38f4d5);}function moveElement(_0x60404b,_0x3780f1){removeElement(_0x60404b),replaceElement(_0x3780f1,_0x60404b);}function _0xf7019e(_0x40462d){return _0x40462d['cloneNode'](!0x0);}function getParents(_0x21464b){const _0x3af34a=[];let _0x37c82e=_0x21464b;for(;_0x37c82e;)_0x37c82e=getParent(_0x37c82e),_0x37c82e&&_0x3af34a['push'](_0x37c82e);return _0x3af34a;}function _0x3a446a(_0x1a92eb){return _0x1a92eb['replace'](/^\s+/gm,'')['replace'](/\s+$/gm,'')['replace'](/\n*/g,'')['replace'](/\s+/g,'\x20')['replace'](/>\s*</g,'><');}function _0x1687e3(_0x4ba33e,_0x1f19c2){return _0x3a446a(_0x19ea5e(_0x4ba33e))===_0x3a446a(_0x19ea5e(_0x1f19c2));}function getNodeNestingLevel(_0x1d7061){let _0x15d859=0x0;for(;_0x1d7061['parentNode'];)_0x1d7061=_0x1d7061['parentNode'],_0x15d859++;return _0x15d859;}function removeElementsAfter(_0x38ab4){const _0x1bdff1=[];let _0x461b65=_0x38ab4['nextSibling'];for(;_0x461b65;)_0x1bdff1['push'](_0x461b65),_0x461b65=_0x461b65['nextSibling'];_0x1bdff1['forEach'](_0x50a38a=>{removeElement(_0x50a38a);});}class _0x3bdd13 extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['_m2html'];constructor(){super(),this['_m2html']=new ckeditor5['MarkdownGfmMdToHtml']();}['convertMarkdownToHTML'](_0x1a7468){const _0x35bdc8=this['_m2html']['parse'](_0x1a7468);return this['parseAndNormalizeHTML'](_0x35bdc8);}['parseAndNormalizeHTML'](_0x207294){return this['_parseHTML'](_0x207294);}['_parseHTML'](_0x539f16){const _0x295ab5=_0xee8c6d('<dummy>'+_0x539f16['replace'](/^\t+/gm,'\x20')['replace'](/\n*/g,'')['replace'](/\s+/g,'\x20')['replace'](/<[^>]*?$/g,'')+'</dummy>');return _0x295ab5['children']=_0x295ab5['children'][0x0]['children'],_0x295ab5;}}class _0x14687d extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['_generateUid'];['_touchedNodesState']={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};['_existingDataIds']=new Set();constructor(_0x329836){super(),this['_generateUid']=_0x329836||ckeditor5['uid'];}['merge'](_0x34332d,_0x54f816,_0x22dfd8){const _0xe6adbc=_0xf7019e(_0x34332d);if(0x0===_0x54f816['childNodes']['length']){const _0x7f6c86=[];return findAllByAttribute('data-id','new-element',_0xe6adbc)['forEach'](_0x482ad6=>{const _0x7dd82d=this['_generateUid']();setAttribute(_0x482ad6,'data-id',_0x7dd82d),_0x7f6c86['push'](_0x7dd82d);}),this['_removeSpecialComments'](_0xe6adbc),{'parsedContent':_0xe6adbc,'newNodeIds':_0x7f6c86,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x22dfd8&&_0x22dfd8['markUnstableElements']&&this['_markLastTagElementUnstable'](_0xe6adbc),this['_touchedNodesState']['newIds']=[],this['_touchedNodesState']['modifiedIds']=[],this['_touchedNodesState']['removedIds']=[],this['_touchedNodesState']['invalidIds']=[],this['_touchedNodesState']['lastTouchedId']=null,this['_existingDataIds']=new Set(findAllByAttribute('data-id',null,_0x54f816)['map'](_0x3f6d0a=>getAttribute(_0x3f6d0a,'data-id'))['filter'](_0x4f00c6=>!!_0x4f00c6));let _0x33feff=-0x1,_0x498e2c=!0x1;const _0x183766=_0xe6adbc['childNodes'],_0x2120d3=Array['from'](_0x183766)['filter'](_0x5514fd=>!(0x3===_0x5514fd['nodeType']&&''===_0x19ea5e(_0x5514fd)['trim']())),_0x398ae9=_0x2120d3['length'];for(let _0x478395=0x0;_0x478395<_0x398ae9;_0x478395++){const _0x12a1f1=_0x2120d3[_0x478395],_0x468795=_0x2120d3[_0x478395+0x1];if(this['_isNewNode'](_0x12a1f1)){if(-0x1===_0x33feff&&(_0x33feff=_0x478395),this['_markWrappedElements'](_0x12a1f1),!this['_isNewNode'](_0x468795)){const [_0x44ed63,_0xd75cdd]=this['_findReferenceNode'](_0x12a1f1,_0x498e2c,_0x54f816);if(_0x44ed63){const _0x56d67e=Array['from'](_0x2120d3)['slice'](_0x33feff,_0x478395+0x1);this['_insertNodes'](_0x44ed63,_0x56d67e,_0xd75cdd),_0x33feff=-0x1;}}}else{if(this['_isExistingContentComment'](_0x12a1f1))_0x498e2c=!0x0;else{if(this['_isExistingNode'](_0x12a1f1)){const _0x502423=getAttribute(_0x12a1f1,'data-id');if(_0x502423&&this['_existingDataIds']['has'](_0x502423)){const _0x32725f=findByAttribute('data-id',_0x502423,_0x54f816);this['_replaceNode'](_0x32725f,_0x12a1f1);}if(this['_touchedNodesState']['removedIds']['includes'](_0x502423)){const _0x4a7ba2=this['_touchedNodesState']['removedIds']['indexOf'](_0x502423);this['_touchedNodesState']['removedIds']['splice'](_0x4a7ba2,0x1);}}else{if(this['_isDelNode'](_0x12a1f1)){const _0x1d110c=getAttribute(_0x12a1f1,'data-id');this['_touchedNodesState']['modifiedIds']['includes'](_0x1d110c)||this['_storeDeletedElementIds'](_0x12a1f1);}}}}}for(const _0xf3cda of this['_touchedNodesState']['removedIds']){const _0x374d92=findByAttribute('data-id',_0xf3cda,_0x54f816);if(_0x374d92){if(_0x22dfd8&&_0x22dfd8['replaceRemovedWith']){this['_touchedNodesState']['lastTouchedId']=_0xf3cda;const _0x3cc5e9=_0x22dfd8['replaceRemovedWith']['cloneNode'](!0x0);setAttribute(_0x3cc5e9,'data-id',_0xf3cda),setAttribute(_0x3cc5e9,'data-removed','true'),replaceElement(_0x374d92,_0x3cc5e9);}else removeElement(_0x374d92);}}if(findAllByAttribute('data-wrapped-id',null,_0x54f816)['forEach'](_0x3c7015=>{const _0x2340fe=findByAttribute('data-id',getAttribute(_0x3c7015,'data-wrapped-id'),_0x54f816);_0x2340fe&&moveElement(_0x2340fe,_0x3c7015);}),findAllByAttribute('data-id','new-element',_0x54f816)['forEach'](_0x6ee931=>{const _0x176fdc=this['_getUid'](_0x6ee931);setAttribute(_0x6ee931,'data-id',_0x176fdc),this['_touchedNodesState']['newIds']['push'](_0x176fdc);}),this['_removeSpecialComments'](_0x54f816),_0x22dfd8&&_0x22dfd8['markUnstableElements']&&this['_markUnstableElements'](_0x54f816,_0x22dfd8['markUnstableElementsDepth']||0x0),_0x22dfd8&&_0x22dfd8['cutAfterLastChange']&&this['_touchedNodesState']['lastTouchedId']){let _0x121e9c=findByAttribute('data-id',this['_touchedNodesState']['lastTouchedId'],_0x54f816);for(;_0x121e9c;)removeElementsAfter(_0x121e9c),_0x121e9c=_0x121e9c['parentNode'];}return{'parsedContent':_0x54f816,'newNodeIds':this['_touchedNodesState']['newIds'],'modifiedNodeIds':this['_touchedNodesState']['modifiedIds'],'removedNodeIds':this['_touchedNodesState']['removedIds']};}['_insertNodes'](_0x254f86,_0x470632,_0x1dfc0c){for(const _0xb11585 of _0x470632){const _0x1f4dbd=this['_getUid'](_0xb11585);setAttribute(_0xb11585,'data-id',_0x1f4dbd),this['_touchedNodesState']['newIds']['push'](_0x1f4dbd),this['_touchedNodesState']['lastTouchedId']=_0x1f4dbd;}const _0x3874cd='afterbegin'===_0x1dfc0c||'afterend'===_0x1dfc0c?_0x470632['reverse']():_0x470632;for(const _0x3b8c4a of _0x3874cd)insertElement(_0x254f86,_0x3b8c4a,_0x1dfc0c);}['_replaceNode'](_0x44c7f9,_0x375d8b){if(!_0x44c7f9)return;if(_0x1687e3(_0x44c7f9,_0x375d8b))return;const _0x406243=this['_getUid'](_0x44c7f9);setAttribute(_0x375d8b,'data-id',_0x406243),this['_touchedNodesState']['modifiedIds']['push'](_0x406243),this['_touchedNodesState']['lastTouchedId']=_0x406243,replaceElement(_0x44c7f9,_0x375d8b['cloneNode'](!0x0));}['_findReferenceNode'](_0x527372,_0x1727b2,_0x442eb4){const _0x1c22b0=this['_findPrevElementWithDataId'](_0x527372,!0x1);if(_0x1c22b0){const _0x3adef5=this['_getNodeDataId'](_0x1c22b0),_0x4b52b9=findByAttribute('data-id',_0x3adef5,_0x442eb4);if(_0x4b52b9)return[_0x4b52b9,'afterend'];this['_touchedNodesState']['invalidIds']['push'](_0x3adef5);}const _0x18bfc1=this['_findNextElementWithDataId'](_0x527372,!0x1);if(_0x18bfc1){const _0xa5d9da=this['_getNodeDataId'](_0x18bfc1),_0x4848d1=findByAttribute('data-id',_0xa5d9da,_0x442eb4);if(_0x4848d1)return[_0x4848d1,'beforebegin'];this['_touchedNodesState']['invalidIds']['push'](_0xa5d9da);}return _0x1727b2?_0x527372['nextSibling']?this['_findFallbackReferenceNode'](_0x527372,_0x442eb4):[_0x442eb4['childNodes'][_0x442eb4['childNodes']['length']-0x1],'afterend']:[_0x442eb4['childNodes'][0x0],'beforebegin'];}['_findFallbackReferenceNode'](_0x3df9f8,_0x3ffb88){const _0x1a1914=[],_0x4d2a8f=this['_findPrevElementWithDataId'](_0x3df9f8,!0x0);if(_0x4d2a8f){const _0x16c930=findByAttribute('data-id',this['_getNodeDataId'](_0x4d2a8f),_0x3ffb88);_0x16c930&&_0x1a1914['push']([_0x16c930,'afterend']);}const _0x382217=this['_findNextElementWithDataId'](_0x3df9f8,!0x0);if(_0x382217){const _0x2ac3b8=findByAttribute('data-id',this['_getNodeDataId'](_0x382217),_0x3ffb88);_0x2ac3b8&&_0x1a1914['push']([_0x2ac3b8,'beforebegin']);}if(_0x1a1914['length']>0x1)return getNodeNestingLevel(_0x1a1914[0x0][0x0])<=getNodeNestingLevel(_0x1a1914[0x1][0x0])?_0x1a1914[0x0]:_0x1a1914[0x1];return 0x1===_0x1a1914['length']?_0x1a1914[0x0]:[_0x3ffb88['lastChild'],'afterend'];}['_findNextElementWithDataId'](_0x4505b2,_0x1883f5){let _0x2ec169=_0x4505b2['nextSibling'],_0x389a44=null,_0x4dd0f7=!0x1;for(;_0x2ec169;){if(isComment(_0x2ec169)){if(this['_isDelNode'](_0x2ec169)&&(_0x389a44=_0x2ec169),this['_isExistingContentComment'](_0x2ec169)&&_0x1883f5&&!_0x4dd0f7){_0x4dd0f7=!0x0,_0x2ec169=_0x2ec169['nextSibling'];continue;}break;}const _0xcb89e8=getAttribute(_0x2ec169,'data-id');if(_0xcb89e8&&'new-element'!==_0xcb89e8&&this['_existingDataIds']['has'](_0xcb89e8)){_0x389a44=_0x2ec169;break;}_0x2ec169=_0x2ec169['nextSibling'];}return _0x389a44;}['_findPrevElementWithDataId'](_0x2637c5,_0x169c35){let _0x4c1343=_0x2637c5['previousSibling'],_0x4be4de=null,_0x13f10d=!0x1;for(;_0x4c1343;){if(isComment(_0x4c1343)){if(this['_isDelNode'](_0x4c1343)&&(_0x4be4de=_0x4c1343),this['_isExistingContentComment'](_0x4c1343)&&_0x169c35&&!_0x13f10d){_0x13f10d=!0x0,_0x4c1343=_0x4c1343['previousSibling'];continue;}break;}const _0x38fbda=getAttribute(_0x4c1343,'data-id');if(_0x38fbda&&'new-element'!==_0x38fbda&&this['_existingDataIds']['has'](_0x38fbda)){_0x4be4de=_0x4c1343;break;}_0x4c1343=_0x4c1343['previousSibling'];}return _0x4be4de;}['_markWrappedElements'](_0x12ffea){_0x190800(_0x12ffea)&&findAllByAttribute('data-id',null,_0x12ffea)['forEach'](_0xf1af92=>{this['_isExistingNode'](_0xf1af92)&&!this['_hasWrappedParent'](_0xf1af92)&&(setAttribute(_0xf1af92,'data-wrapped-id',getAttribute(_0xf1af92,'data-id')),setAttribute(_0xf1af92,'data-id',null));});}['_getNodeDataId'](_0x195b80){if(!_0x195b80)return null;if(_0x190800(_0x195b80))return getAttribute(_0x195b80,'data-id');if(isComment(_0x195b80)){const _0x25a294=_0x19ea5e(_0x195b80)['match'](/removed[\s*-]data-id="([^"]+)"/);if(_0x25a294&&_0x25a294[0x1])return _0x25a294[0x1];}return null;}['_storeDeletedElementIds'](_0x5dfd1a){if(isComment(_0x5dfd1a)){const _0x4cb36a=_0x19ea5e(_0x5dfd1a)['match'](/removed[\s*-]data-id="([^"]+)"/);_0x4cb36a&&_0x4cb36a[0x1]&&this['_touchedNodesState']['removedIds']['push'](_0x4cb36a[0x1]);}}['_getUid'](_0x2b6ed1){return this['_isExistingNode'](_0x2b6ed1)?getAttribute(_0x2b6ed1,'data-id'):this['_generateUid']();}['_removeSpecialComments'](_0x5a21f8){findAllComments(_0x5a21f8)['filter'](_0x4e0849=>this['_isDelNode'](_0x4e0849)||this['_isExistingContentComment'](_0x4e0849))['forEach'](_0x4451e4=>{removeElement(_0x4451e4);});}['_markLastTagElementUnstable'](_0x37ee1c){const _0x48110d=_0x37ee1c['childNodes'],_0x2706dc=_0x48110d[_0x48110d['length']-0x1];_0x2706dc&&_0x190800(_0x2706dc)&&setAttribute(_0x2706dc,'data-unstable','true');}['_markUnstableElements'](_0x5e985a,_0x29b2b5){const _0x51be70=findByAttribute('data-unstable','true',_0x5e985a);if(!_0x51be70)return;const _0x5031e7=getParents(_0x51be70)['slice'](0x0,-0x1),_0x18b3da=_0x5031e7['length'];let _0x1403f6=_0x51be70;if(_0x18b3da>_0x29b2b5){let _0x1da0d6=_0x18b3da,_0x1565b8=null;for(;_0x1da0d6>_0x29b2b5&&_0x1da0d6>=0x0;)_0x1da0d6--,_0x1565b8=_0x5031e7[_0x1da0d6];_0x1565b8&&(_0x1403f6=_0x1565b8,setAttribute(_0x51be70,'data-unstable',null),setAttribute(_0x1565b8,'data-unstable','true'));}else{if(_0x18b3da<_0x29b2b5){let _0x1ecf0e=_0x18b3da,_0x398a87=_0x51be70;for(;_0x1ecf0e<_0x29b2b5;){const _0x414e3d=_0x398a87['childNodes']['filter'](_0x2b5c92=>_0x190800(_0x2b5c92));if(0x0===_0x414e3d['length'])break;_0x1ecf0e++,_0x398a87=_0x414e3d[_0x414e3d['length']-0x1];}_0x398a87&&(_0x1403f6=_0x398a87,setAttribute(_0x51be70,'data-unstable',null),setAttribute(_0x398a87,'data-unstable','true'));}}let _0x196080=_0x1403f6;for(;_0x196080;){for(;_0x196080['nextSibling'];)_0x196080=_0x196080['nextSibling'],_0x190800(_0x196080)&&setAttribute(_0x196080,'data-unstable','true');_0x196080=_0x196080['parentNode'];}}['_isNewNode'](_0x9915a3){return Boolean('new-element'===getAttribute(_0x9915a3,'data-id'));}['_isExistingNode'](_0x26a761){return Boolean((getAttribute(_0x26a761,'data-id')||'')['length']>0x0&&'new-element'!==getAttribute(_0x26a761,'data-id'));}['_isDelNode'](_0x5d5e2e){return!!_0x5d5e2e&&Boolean(isComment(_0x5d5e2e)&&_0x19ea5e(_0x5d5e2e)['match'](/removed[\s*-]data-id="[^"]+"/));}['_hasWrappedParent'](_0x288d10){let _0x5cc4c8=_0x288d10['parentNode'];for(;_0x5cc4c8;){if(getAttribute(_0x5cc4c8,'data-wrapped-id'))return!0x0;_0x5cc4c8=_0x5cc4c8['parentNode'];}return!0x1;}['_isExistingContentComment'](_0x4fd3d2){return Boolean(isComment(_0x4fd3d2)&&_0x19ea5e(_0x4fd3d2)['match'](/\s*existing[\s*-](content|document)\s*/g));}}class _0x24794c extends ckeditor5['ContextPlugin']{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x38b098,_0x39156e){let _0x30265c;if(_0x39156e||(_0x39156e=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x39156e?_0x30265c=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x30265c=this['context']['editors']['find'](_0x49565e=>_0x49565e['config']['get']('collaboration.channelId')==_0x39156e)),!_0x30265c)throw new ckeditor5['CKEditorError']('permissions-set-permissions-invalid-channel-id',null);const _0xf59494=_0x30265c['plugins'],_0x1fd05f=_0xf59494['has']('CommentsRepository')?_0xf59494['get']('CommentsRepository'):void 0x0,_0x1242a1=_0xf59494['has']('CommentsOnly')&&_0xf59494['get']('CommentsOnly'),_0x3cbb2a=_0x38b098['includes']('document:write'),_0x3d96c1=_0x38b098['includes']('comment:modify_all'),_0x36a5b7=_0x38b098['includes']('comment:admin'),_0x376d0c=_0x38b098['includes']('comment:write'),_0x5bd8dc=_0x376d0c||_0x36a5b7,_0x302ba1=_0x5bd8dc||_0x3d96c1,_0x214aaa=_0x3cbb2a||_0x5bd8dc;(_0x1242a1&&(_0x1242a1['isEnabled']=!_0x3cbb2a&&_0x302ba1),_0x30265c instanceof ckeditor5['Editor'])&&(!(_0x3cbb2a||_0x302ba1&&_0x1fd05f)?_0x30265c['enableReadOnlyMode']('no-permissions'):_0x30265c['disableReadOnlyMode']('no-permissions'));if(_0x1fd05f){_0x1fd05f['setPermissions']({'admin':_0x36a5b7,'modifyAll':_0x3d96c1,'write':_0x376d0c,'resolve':_0x214aaa},_0x39156e);const _0x5229cd=_0x30265c instanceof ckeditor5['Editor']&&_0x30265c['commands']['get']('addCommentThread');_0x5229cd&&(_0x5bd8dc?_0x5229cd['clearForceDisabled']('noPermissions'):_0x5229cd['forceDisabled']('noPermissions'));}}}function getTranslation$h(_0x36a203,_0x5281f4){const t=_0x36a203['t'];switch(_0x5281f4){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');case'Today':return t('Today');case'Yesterday':return t('Yesterday');case'Last':return t('Last');case'Monday':return t('Monday');case'Tuesday':return t('Tuesday');case'Wednesday':return t('Wednesday');case'Thursday':return t('Thursday');case'Friday':return t('Friday');case'Saturday':return t('Saturday');case'Sunday':return t('Sunday');default:return'';}}class _0x17009e extends ckeditor5['ContextPlugin']{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x24794c];}constructor(_0x480f16){super(_0x480f16),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new ckeditor5['Collection'](),this['_locale']=_0x480f16['locale'],this['_lastColor']=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}['init'](){this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser']({id:_0xf0b1eb,name:_0x2a9003,..._0x41ff77}){if(!_0xf0b1eb||'string'!=typeof _0xf0b1eb)throw new ckeditor5['CKEditorError']('users-add-invalid-id');if(this['users']['has'](_0xf0b1eb))throw new ckeditor5['CKEditorError']('users-add-duplicated-id',null,{'id':_0xf0b1eb});const _0x38f06b=this['context']['config']['get']('users.getInitialsCallback'),_0x337331={..._0x41ff77,'id':_0xf0b1eb,'name':_0x5c7261(this['_locale'],_0x2a9003),'color':this['_getNextColor']()};_0x337331['name']=_0x5c7261(this['_locale'],_0x337331['name']);const _0x1de982=new _0x23fd9d(_0x337331,_0x38f06b);return this['users']['add'](_0x1de982),_0x1de982;}['getUser'](_0x5549df){return this['users']['get'](_0x5549df);}['useAnonymousUser'](){const _0x55fb43=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x55fb43);}['defineMe'](_0x4d8011){if(this['_myId'])throw new ckeditor5['CKEditorError']('users-me-already-defined',null);const _0x46c5da=this['getUser'](_0x4d8011);if(!_0x46c5da)throw new ckeditor5['CKEditorError']('users-me-missing-user',null);this['_myId']=_0x4d8011,_0x46c5da['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x20daca=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x20daca&&(this['_lastColor']=0x0),new CollaborationUserColor(this['_lastColor']++);}['_addAnonymousUser'](){const _0x175337=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x175337,'name':getTranslation$h(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}let _0x23fd9d=class{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x1a7968,_0x42baa3){this['id']=_0x1a7968['id'],this['color']=_0x1a7968['color'],this['name']=_0x1a7968['name'],this['initials']=_0x42baa3?_0x42baa3(this['name']):this['_computeInitials'](),this['avatar']=_0x1a7968['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x2d75f6=this['name']['split']('\x20')['filter'](_0x4bffd2=>/^[\p{Letter}]/u['test'](_0x4bffd2));return 0x1===_0x2d75f6['length']?this['_getInitial'](_0x2d75f6[0x0]):0x0===_0x2d75f6['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x2d75f6[0x0])+this['_getInitial'](_0x2d75f6[_0x2d75f6['length']-0x1]);}['_getInitial'](_0x4e8611){return String['fromCodePoint'](_0x4e8611['codePointAt'](0x0))['toUpperCase']();}};function _0x5c7261(_0x5241c4,_0x48d8fe=''){return''==(_0x48d8fe=_0x48d8fe['trim']())?getTranslation$h(_0x5241c4,'Anonymous'):_0x48d8fe;}class CollaborationUserColor{['_id'];constructor(_0x311382){this['_id']=_0x311382;}get['id'](){return this['_id'];}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['id'];}['getSelectionClass'](){return'ck-user__selection--'+this['id'];}['getMarkerClass'](){return'ck-user__marker--'+this['id'];}}class _0xc99411 extends ckeditor5['View']{['name'];['notificationView'];constructor(_0x2d400e,_0x22b02b,_0x361fdd){super(_0x2d400e),this['name']=_0x22b02b['name'],this['notificationView']=null;const _0x17101e=['ck','ck-user'],_0x309f42=['ck','ck-user__img'];if(_0x22b02b['isAnonymous']&&_0x309f42['push']('ck-user__anonymous'),!_0x22b02b['isAnonymous']&&_0x22b02b['isMe']&&_0x17101e['push']('ck-user_me'),_0x22b02b['avatar']&&_0x309f42['push']('ck-user__avatar'),_0x361fdd){const _0x27c7cc=new ckeditor5['IconView']();_0x27c7cc['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x27c7cc['content']=ckeditor5['IconNotification'],this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x361fdd},'children':[_0x27c7cc]};}const _0x11dae2=[{'tag':'div','attributes':{'class':_0x309f42,'style':{'background-image':_0x22b02b['avatar']?'url(\x27'+_0x22b02b['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x22b02b['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x22b02b['name']},'children':[{'text':_0x22b02b['initials']}]}];this['notificationView']&&_0x11dae2['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x17101e,'data-user-id':_0x22b02b['id']},'children':_0x11dae2});}}class AriaDescriptionView extends ckeditor5['View']{['id'];constructor(_0x2fe7be,_0xe51102){super(_0x2fe7be),this['id']='ck-aria-description-'+ckeditor5['uid'](),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0xe51102}]});}}class LateFocusButtonView extends ckeditor5['ButtonView']{['render'](){super['render'](),delayFocusUntilMouseup(this);}}class LateFocusDropdownButtonView extends ckeditor5['DropdownButtonView']{['render'](){super['render'](),delayFocusUntilMouseup(this);}}function delayFocusUntilMouseup(_0x3b28e9){_0x3b28e9['listenTo'](_0x3b28e9['element'],'mousedown',(_0x36d37e,_0x255532)=>{_0x255532['stopPropagation'](),_0x255532['preventDefault']();}),_0x3b28e9['listenTo'](_0x3b28e9['element'],'mouseup',()=>{_0x3b28e9['element']['focus']();});}function splitSuggestionMarkerName(_0x16ef3e){const _0x3733dd=_0x16ef3e['split'](':');return{'group':_0x3733dd[0x0],'type':_0x3733dd[0x1],'subType':_0x3733dd['length']>=0x5?_0x3733dd[0x2]:null,'id':_0x3733dd['length']<0x5?_0x3733dd[0x2]:_0x3733dd[0x3],'authorId':_0x3733dd['length']<0x5?_0x3733dd[0x3]:_0x3733dd[0x4],'markerCount':0x6==_0x3733dd['length']?_0x3733dd[0x5]:null};}function fixElementSuggestionRange(_0xb0edd,_0x3b3f3e){const _0x2e5422=_0xb0edd['end']['nodeBefore'];if(_0x2e5422&&_0x2e5422['is']('element')&&_0x3b3f3e['schema']['isBlock'](_0x2e5422)&&!_0x3b3f3e['schema']['isObject'](_0x2e5422)){const _0x33c9d2=_0x3b3f3e['createPositionAt'](_0x2e5422,'end');return _0x3b3f3e['createRange'](_0xb0edd['start'],_0x33c9d2);}return _0xb0edd;}class SuggestionsConversionAlignment extends ckeditor5['Plugin']{['afterInit'](){const _0x31c1ea=this['editor'];if(!_0x31c1ea['plugins']['has']('AlignmentEditing'))return;_0x31c1ea['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const basicStylesPlugins$1=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class SuggestionsConversionBasicStyles extends ckeditor5['Plugin']{['afterInit'](){const _0x4ef4d4=this['editor'],_0x2066c1=_0x4ef4d4['plugins']['get']('SuggestionsConversion');for(const _0x2d26dd of basicStylesPlugins$1){if(!_0x4ef4d4['plugins']['has'](_0x2d26dd))continue;const _0x586afe=_0x2d26dd['slice'](0x0,-0x7)['toLowerCase']();_0x2066c1['registerInlineAttribute'](_0x586afe);}}}class SuggestionsConversionBookmark extends ckeditor5['Plugin']{['afterInit'](){const _0x218e55=this['editor'],_0x25133f=_0x218e55['plugins']['get']('SuggestionsConversion');_0x218e55['plugins']['has']('BookmarkEditing')&&_0x25133f['registerBlockAttribute']('bookmarkId');}}const fontPlugins$1=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class SuggestionsConversionFont extends ckeditor5['Plugin']{['afterInit'](){const _0x596452=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x15f6f9,commandName:_0x531147}of fontPlugins$1)this['editor']['plugins']['has'](_0x15f6f9)&&_0x596452['registerInlineAttribute'](_0x531147);}}class SuggestionsConversionFootnotes extends ckeditor5['Plugin']{['afterInit'](){const {editor:_0x2c656a}=this;if(!_0x2c656a['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x6f79fc=_0x2c656a['plugins']['get']('SuggestionsConversion');_0x6f79fc['registerBlockAttribute']('footnotesListStyle'),_0x6f79fc['registerBlockAttribute']('footnotesListStart');}}class SuggestionsConversionHighlight extends ckeditor5['Plugin']{['afterInit'](){const _0x5cc69c=this['editor'];if(!_0x5cc69c['plugins']['has']('HighlightEditing'))return;_0x5cc69c['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class SuggestionsConversionHtmlEmbed extends ckeditor5['Plugin']{['afterInit'](){const _0x2acaea=this['editor'];if(!_0x2acaea['plugins']['has']('HtmlEmbed'))return;_0x2acaea['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class SuggestionsConversionImage extends ckeditor5['Plugin']{['afterInit'](){const _0x486b59=this['editor'];if(!_0x486b59['plugins']['has']('ImageEditing'))return;const _0x1962e9=_0x486b59['plugins']['get']('SuggestionsConversion');_0x1962e9['registerBlockAttribute']('src'),_0x486b59['plugins']['has']('ImageResize')&&_0x1962e9['registerBlockAttribute']('resizedWidth'),_0x486b59['plugins']['has']('ImageTextAlternativeEditing')&&_0x1962e9['registerBlockAttribute']('alt'),_0x486b59['plugins']['has']('PictureEditing')&&_0x1962e9['registerBlockAttribute']('sources'),_0x486b59['plugins']['has']('ImageSizeAttributes')&&(_0x1962e9['registerBlockAttribute']('width'),_0x1962e9['registerBlockAttribute']('height'));}}class SuggestionsConversionIndent extends ckeditor5['Plugin']{['afterInit'](){const _0x55d57c=this['editor'],_0x3e09e7=_0x55d57c['plugins']['get']('SuggestionsConversion');_0x55d57c['plugins']['has']('IndentBlock')&&(_0x3e09e7['registerBlockAttribute']('blockIndent'),_0x55d57c['plugins']['has']('ListEditing')&&(_0x3e09e7['registerBlockAttribute']('blockIndentList'),_0x3e09e7['registerBlockAttribute']('blockIndentListItem')));}}class SuggestionsConversionLineHeight extends ckeditor5['Plugin']{['afterInit'](){const _0x4f8441=this['editor'];if(!_0x4f8441['plugins']['has']('LineHeight'))return;_0x4f8441['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class SuggestionsConversionLink extends ckeditor5['Plugin']{['afterInit'](){const _0x18b301=this['editor'];if(!_0x18b301['plugins']['has']('LinkEditing'))return;const _0x790a7a=_0x18b301['plugins']['get']('SuggestionsConversion'),_0x34de6d=_0x18b301['commands']['get']('link');_0x790a7a['registerInlineAttribute']('linkHref');for(const _0x40f34e of _0x34de6d['manualDecorators'])_0x790a7a['registerInlineAttribute'](_0x40f34e['id']);}}class SuggestionsConversionList extends ckeditor5['Plugin']{['afterInit'](){const _0x42b666=this['editor'];if(!_0x42b666['plugins']['has']('ListEditing'))return;const _0x41c389=_0x42b666['plugins']['get']('SuggestionsConversion'),_0x28afb3=_0x42b666['plugins']['has']('TodoListEditing');_0x41c389['registerBlockAttribute']('listItemId'),_0x41c389['registerBlockAttribute']('listType'),_0x41c389['registerBlockAttribute']('listIndent'),_0x28afb3&&_0x41c389['registerBlockAttribute']('todoListChecked');}}class SuggestionsConversionListProperties extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x26394e=this['editor']['config']['get']('list.properties'),_0x7234b4=this['editor']['plugins']['get']('SuggestionsConversion');_0x26394e['styles']&&_0x7234b4['registerBlockAttribute']('listStyle'),_0x26394e['reversed']&&_0x7234b4['registerBlockAttribute']('listReversed'),_0x26394e['startIndex']&&_0x7234b4['registerBlockAttribute']('listStart');}}class SuggestionsConversionMultiLevelList extends ckeditor5['Plugin']{['afterInit'](){const _0x563efe=this['editor'],_0x5da326=_0x563efe['plugins']['get']('SuggestionsConversion');_0x563efe['plugins']['has']('MultiLevelList')&&_0x5da326['registerBlockAttribute']('listMarkerStyle');}}class SuggestionsConversionStylesDropdown extends ckeditor5['Plugin']{['afterInit'](){const _0x8310da=this['editor'];if(!_0x8310da['plugins']['has']('Style')||!_0x8310da['plugins']['has']('DataSchema')||!_0x8310da['config']['get']('style.definitions'))return;const _0x41d4fc=_0x8310da['plugins']['get']('SuggestionsConversion'),_0x3920aa=_0x8310da['config']['get']('style.definitions'),_0x4820e1=_0x8310da['plugins']['get']('GeneralHtmlSupport'),_0x17de03=_0x8310da['plugins']['get']('StyleUtils')['normalizeConfig'](_0x8310da['plugins']['get']('DataSchema'),_0x3920aa),_0xea8ce5=new Set();for(const _0x50f9f0 of _0x17de03['block']){const _0x59c9b5=_0x4820e1['getGhsAttributeNameForElement'](_0x50f9f0['element']);_0xea8ce5['add'](_0x59c9b5);}const _0x2330d8=new Set();for(const _0x422922 of _0x17de03['inline']){const _0x13e77a=_0x4820e1['getGhsAttributeNameForElement'](_0x422922['element']);_0x2330d8['add'](_0x13e77a);for(const _0x52357b of _0x422922['ghsAttributes'])_0x2330d8['add'](_0x52357b);}for(const _0x1dc0ec of _0xea8ce5)_0x41d4fc['registerBlockAttribute'](_0x1dc0ec);for(const _0xea1300 of _0x2330d8)_0x41d4fc['registerInlineAttribute'](_0xea1300);}}class SuggestionsConversionTableHeadings extends ckeditor5['Plugin']{['afterInit'](){const _0x44b2ef=this['editor'];if(!_0x44b2ef['plugins']['has']('TableEditing'))return;const _0x3ad92b=_0x44b2ef['plugins']['get']('SuggestionsConversion');_0x3ad92b['registerBlockAttribute']('headingRows'),_0x3ad92b['registerBlockAttribute']('headingColumns');}}class SuggestionsConversionTableProperties extends ckeditor5['Plugin']{['afterInit'](){const {plugins:_0x2af17c}=this['editor'];if(!_0x2af17c['has']('TablePropertiesEditing'))return;const _0x322e66=_0x2af17c['get']('SuggestionsConversion'),_0x228fdd=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x354870 of _0x228fdd)_0x322e66['registerBlockAttribute'](_0x354870);}}class SuggestionsConversionTableLayout extends ckeditor5['Plugin']{['afterInit'](){const _0x28a95c=this['editor'],_0x2ac1c4=_0x28a95c['plugins']['get']('SuggestionsConversion');_0x28a95c['plugins']['has']('TableLayout')&&_0x2ac1c4['registerBlockAttribute']('tableType');}}class SuggestionsConversionUploadcare extends ckeditor5['Plugin']{['afterInit'](){const _0x1ed8b1=this['editor'],_0x2f950c=this['editor']['plugins']['get']('SuggestionsConversion');_0x1ed8b1['plugins']['has']('Uploadcare')&&_0x1ed8b1['plugins']['has']('UploadcareImageEdit')&&_0x2f950c['registerBlockAttribute']('uploadcareImageId');}}class SuggestionsConversionShiftEnter extends ckeditor5['Plugin']{['afterInit'](){const _0x3028cc=this['editor'];if(!_0x3028cc['plugins']['has']('ShiftEnter'))return;const _0xd4682f=_0x3028cc['plugins']['get']('SuggestionsConversion'),_0x4590b1=(_0x49a2e3,_0x1a7791,_0x37915e,_0x45a199)=>{if(_0x45a199&&!_0x37915e['options']['showSuggestionHighlights'])return;if(!_0x37915e['consumable']['test'](_0x1a7791['markerRange'],_0x49a2e3['name']))return;const _0x5a0a2d=_0x3028cc['model'];for(const _0x1be8f3 of _0x1a7791['markerRange']['getItems']()){if(!_0x1be8f3['is']('element','softBreak'))continue;const _0x5b08e4='deletion'==_0x1a7791['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x2b8388,authorId:_0x36da90}=splitSuggestionMarkerName(_0x1a7791['markerName']),_0xdb5169=_0x37915e['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5b08e4,'data-suggestion':_0x2b8388,'data-author-id':_0x36da90}),_0xee6ea7=_0x37915e['mapper']['toViewPosition'](_0x5a0a2d['createPositionBefore'](_0x1be8f3));!_0x45a199&&_0xd4682f['_activeMarkers']['includes'](_0x1a7791['markerName'])&&_0x37915e['writer']['addClass']('ck-suggestion-marker--active',_0xdb5169),_0x37915e['writer']['insert'](_0xee6ea7,_0xdb5169),_0x37915e['mapper']['bindElementToMarker'](_0xdb5169,_0x1a7791['markerName']);}};_0x3028cc['editing']['downcastDispatcher']['on']('addMarker:suggestion',(_0x57dbc0,_0x46a5b6,_0x9263c3)=>{_0x4590b1(_0x57dbc0,_0x46a5b6,_0x9263c3,!0x1);},{'priority':'high'}),_0x3028cc['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x4115f4,_0x4b11c4,_0x87bbd9)=>{_0x4590b1(_0x4115f4,_0x4b11c4,_0x87bbd9,!0x0);},{'priority':'high'});}}class SuggestionsConversionMediaEmbed extends ckeditor5['Plugin']{['afterInit'](){const _0x86944c=this['editor'];_0x86944c['plugins']['has']('MediaEmbedEditing')&&(_0x86944c['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x27ff9c,{writer:_0x26ee89,options:_0x381ce4})=>{if(_0x381ce4['showSuggestionHighlights'])return _0x26ee89['createEmptyElement']('div');},'converterPriority':'high'}),_0x86944c['data']['downcastDispatcher']['on']('attribute:url:media',(_0x432b75,_0x8e0ccf,_0x1970f8)=>{_0x1970f8['options']['showSuggestionHighlights']&&_0x432b75['stop']();},{'priority':'high'}));}}class SuggestionsConversionTable extends ckeditor5['Plugin']{['afterInit'](){const _0x4393d9=this['editor'];if(!_0x4393d9['plugins']['has']('Table'))return;_0x4393d9['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x11e9aa,_0x87b3a9,_0x179afd)=>{((_0x2e883f,_0x47d35a,_0x49ed5e)=>{if(!_0x49ed5e['options']['showSuggestionHighlights'])return;const _0x3cc262=_0x47d35a['item'];if(!_0x3cc262||!_0x3cc262['is']('element','tableCell'))return;const _0x32c5b2=_0x49ed5e['mapper']['toViewElement'](_0x3cc262);if(_0x32c5b2){const {id:_0x1d681a,authorId:_0x433d65}=splitSuggestionMarkerName(_0x47d35a['markerName']);ckeditor5['setHighlightHandling'](_0x32c5b2,_0x49ed5e['writer'],(_0x8c3fc9,_0x788302,_0x17596c)=>{_0x17596c['addClass'](ckeditor5['toArray'](_0x788302['classes']),_0x8c3fc9),_0x17596c['setAttribute']('data-suggestion-id',_0x1d681a,_0x8c3fc9),_0x17596c['setAttribute']('data-author-id',_0x433d65,_0x8c3fc9);});}})(0x0,_0x87b3a9,_0x179afd);},{'priority':'highest'});}}class SuggestionsConversionHorizontalLine extends ckeditor5['Plugin']{['afterInit'](){const _0xa6bc33=this['editor'];_0xa6bc33['plugins']['has']('HorizontalLineEditing')&&_0xa6bc33['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x241149,{writer:_0x234838,options:_0x44b6d7})=>{if(!_0x44b6d7['showSuggestionHighlights'])return null;const _0x208bd3=_0x234838['createContainerElement']('div'),_0x496ea9=_0x234838['createEmptyElement']('hr');return _0x234838['addClass']('ck-horizontal-line',_0x208bd3),_0x234838['insert'](_0x234838['createPositionAt'](_0x208bd3,0x0),_0x496ea9),_0x208bd3;},'converterPriority':'high'});}}class SuggestionsConversionTableCellProperties extends ckeditor5['Plugin']{['afterInit'](){const {plugins:_0x1ee07f,model:_0x1ddb38}=this['editor'];if(!_0x1ee07f['has']('TableCellPropertiesEditing'))return;const _0x17ab07=_0x1ee07f['get']('SuggestionsConversion'),_0x289d88=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x342717 of _0x289d88)_0x17ab07['registerBlockAttribute'](_0x342717);_0x1ddb38['schema']['checkAttribute']('tableCell','tableCellType')&&_0x17ab07['registerBlockAttribute']('tableCellType');}}class SuggestionsConversion extends ckeditor5['Plugin']{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[SuggestionsConversionAlignment,SuggestionsConversionBasicStyles,SuggestionsConversionBookmark,SuggestionsConversionFont,SuggestionsConversionFootnotes,SuggestionsConversionHighlight,SuggestionsConversionHorizontalLine,SuggestionsConversionHtmlEmbed,SuggestionsConversionImage,SuggestionsConversionIndent,SuggestionsConversionLineHeight,SuggestionsConversionLink,SuggestionsConversionList,SuggestionsConversionListProperties,SuggestionsConversionMediaEmbed,SuggestionsConversionMultiLevelList,SuggestionsConversionShiftEnter,SuggestionsConversionStylesDropdown,SuggestionsConversionTable,SuggestionsConversionTableHeadings,SuggestionsConversionTableLayout,SuggestionsConversionTableCellProperties,SuggestionsConversionTableProperties,SuggestionsConversionUploadcare];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5cf159=this['editor'],_0x367c5a=(_0x1a95bd,_0x4db5f3,_0x29c3bc)=>{const {id:_0x43714f,authorId:_0x4eb7a7,type:_0x2f5e34,subType:_0x444f95}=splitSuggestionMarkerName(_0x1a95bd['markerName']),_0x2390a1=['ck-suggestion-marker',this['_getClassName'](_0x2f5e34,_0x444f95)];let _0x236605=0xbb8;return!_0x29c3bc&&(this['_activeMarkers']['includes'](_0x1a95bd['markerName'])&&(_0x2390a1['push']('ck-suggestion-marker--active'),_0x236605=0xbc2)),('deletion'==_0x2f5e34&&(_0x236605+=0x5),{'classes':_0x2390a1,'attributes':{'data-suggestion':_0x43714f,'data-author-id':_0x4eb7a7},'priority':_0x236605});};_0x5cf159['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x49c1c3,_0x45bd68)=>_0x367c5a(_0x49c1c3,0x0,!0x1)}),_0x5cf159['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x2a5a89,_0xcf2a54)=>_0x367c5a(_0x2a5a89,0x0,!0x0)}),_0x5cf159['conversion']['for']('dataDowncast')['add'](_0x1ee2c7=>{_0x1ee2c7['on']('addMarker:suggestion',(_0x41b3f1,_0x298354,_0x2da459)=>{if(!_0x2da459['options']['showSuggestionHighlights'])return;const _0x16b365=_0x298354['item'];if(!_0x16b365)return;const _0x18dec3=_0x2da459['mapper']['toViewElement'](_0x16b365);_0x5cf159['model']['schema']['isObject'](_0x16b365)&&_0x18dec3&&!_0x18dec3['getCustomProperty']('widget')&&_0x18dec3['is']('containerElement')&&ckeditor5['toWidget'](_0x18dec3,_0x2da459['writer']);},{'priority':'high'});});const _0x3f9184=(_0x286cd0,_0x3f0b5c,_0x2a176d,_0x2e689d,_0x52cb3f)=>{if(_0x2e689d&&!_0x2a176d['options']['showSuggestionHighlights'])return;if(!_0x3f0b5c['item'])return;const {id:_0x32fe4a,authorId:_0x58f1f7,subType:_0x1d8f03}=splitSuggestionMarkerName(_0x3f0b5c['markerName']);if(_0x52cb3f){const _0x2f0c2b=_0x1d8f03['split']('|')[0x0];if(!this['isBlockAttribute'](_0x2f0c2b))return;}if(_0x3f0b5c['item']['is']('selection'))return void _0x2a176d['consumable']['consume'](_0x3f0b5c['item'],_0x286cd0['name']);const _0xa5a458=_0x2a176d['mapper']['toViewElement'](_0x3f0b5c['item']);if(_0x3f0b5c['item']['is']('element')&&_0x5cf159['model']['schema']['isBlock'](_0x3f0b5c['item'])&&!_0xa5a458['getCustomProperty']('addHighlight')){_0x2a176d['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0xa5a458),_0x2a176d['writer']['setAttribute']('data-suggestion',_0x32fe4a,_0xa5a458),_0x2a176d['writer']['setAttribute']('data-author-id',_0x58f1f7,_0xa5a458),_0x2a176d['mapper']['bindElementToMarker'](_0xa5a458,_0x3f0b5c['markerName']),_0x2e689d||(this['_activeMarkers']['includes'](_0x3f0b5c['markerName'])?_0x2a176d['writer']['addClass']('ck-suggestion-marker--active',_0xa5a458):_0x2a176d['writer']['removeClass']('ck-suggestion-marker--active',_0xa5a458));for(const _0xeac00e of _0x5cf159['model']['createRangeIn'](_0x3f0b5c['item'])['getItems']())_0x2a176d['consumable']['consume'](_0xeac00e,_0x286cd0['name']);_0x2a176d['consumable']['consume'](_0x3f0b5c['item'],_0x286cd0['name']);}},_0x301469=(_0x4857b5,_0x481b51,_0x53edc3,_0x280db5)=>{const _0xb6192b=_0x53edc3['mapper']['markerNameToElements'](_0x481b51['markerName']);if(_0xb6192b){if(_0x280db5){const {subType:_0x58459d}=splitSuggestionMarkerName(_0x481b51['markerName']),_0x375ccb=_0x58459d['split']('|')[0x0];if(!this['isBlockAttribute'](_0x375ccb))return;}for(const _0x289304 of _0xb6192b)_0x289304['getCustomProperty']('addHighlight')||(_0x53edc3['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x289304),_0x53edc3['writer']['removeAttribute']('data-suggestion',_0x289304),_0x53edc3['writer']['removeAttribute']('data-author-id',_0x289304),_0x53edc3['mapper']['unbindElementFromMarkerName'](_0x289304,_0x481b51['markerName']));}};_0x5cf159['conversion']['for']('editingDowncast')['add'](_0x3fd4b8=>{_0x3fd4b8['on']('addMarker:suggestion:formatBlock',(_0x204837,_0x429c29,_0x53e759)=>{_0x3f9184(_0x204837,_0x429c29,_0x53e759,!0x1,!0x1);},{'priority':'high'});}),_0x5cf159['conversion']['for']('editingDowncast')['add'](_0x10b090=>{_0x10b090['on']('addMarker:suggestion:attribute',(_0x502762,_0x2e4184,_0x5b8b50)=>{_0x3f9184(_0x502762,_0x2e4184,_0x5b8b50,!0x1,!0x0);},{'priority':'high'});}),_0x5cf159['conversion']['for']('editingDowncast')['add'](_0x4b526f=>{_0x4b526f['on']('removeMarker:suggestion:formatBlock',(_0x204800,_0x373ac6,_0x287012)=>{_0x301469(0x0,_0x373ac6,_0x287012,!0x1);},{'priority':'high'});}),_0x5cf159['conversion']['for']('editingDowncast')['add'](_0xf2fa01=>{_0xf2fa01['on']('removeMarker:suggestion:attribute',(_0xb76e8a,_0x3d50b3,_0x117b52)=>{_0x301469(0x0,_0x3d50b3,_0x117b52,!0x0);},{'priority':'high'});}),_0x5cf159['conversion']['for']('dataDowncast')['add'](_0x571857=>{_0x571857['on']('addMarker:suggestion:formatBlock',(_0x6be2bd,_0x5363f4,_0x5029c6)=>{_0x3f9184(_0x6be2bd,_0x5363f4,_0x5029c6,!0x0,!0x1);},{'priority':'highest'});}),_0x5cf159['conversion']['for']('dataDowncast')['add'](_0x2e2cd4=>{_0x2e2cd4['on']('addMarker:suggestion:attribute',(_0x3531d8,_0x2b7280,_0x463b4e)=>{_0x3f9184(_0x3531d8,_0x2b7280,_0x463b4e,!0x0,!0x0);},{'priority':'highest'});}),_0x5cf159['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x4df88d,_0x1a23b2)=>{if(_0x1a23b2['options']['showSuggestionHighlights']){const {id:_0x15c1c4,authorId:_0x4d4e13}=splitSuggestionMarkerName(_0x4df88d);return _0x4df88d['includes'](':split')||_0x4df88d['includes'](':merge')?{'group':'suggestion','name':_0x4df88d['substr'](0xb),'attributes':{'data-suggestion':_0x15c1c4,'data-author-id':_0x4d4e13}}:null;}return{'group':'suggestion','name':_0x4df88d['substr'](0xb)};}});const _0x583a7d=(_0x49d7d9,_0x4a30ef,_0x46e6af,_0x52c787,_0x1b4506)=>{if(_0x52c787&&!_0x46e6af['options']['showSuggestionHighlights'])return;if(!_0x46e6af['consumable']['test'](_0x4a30ef['markerRange'],_0x49d7d9['name']))return;const _0x27027e=this['_activeMarkers'],_0x4eca41=_0x4a30ef['markerRange']['getWalker'](),_0x4a825c=_0x4a30ef['markerRange']['start'],_0x36b623=_0x5cf159['model']['schema'];let _0xc05a9b=null,_0x4e4b3a=null,_0x26efd=!0x1,_0x2eae13=!0x1;for(const _0x14525d of _0x4eca41){const _0x2cebb4=_0x14525d['item'];_0x26efd=_0x26efd||_0x36b623['isContent'](_0x2cebb4);const _0x1677fa=_0x46e6af['mapper']['toViewElement'](_0x2cebb4);if(_0x1677fa&&_0x1677fa['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x14525d['type']&&(_0x36b623['isBlock'](_0x2cebb4)&&!_0x36b623['isLimit'](_0x2cebb4)&&(_0x2cebb4['nextSibling']||_0x4a825c['isAtEnd']?_0xc05a9b&&_0xc05a9b['parent']==_0x2cebb4||(_0xc05a9b=_0x2cebb4,_0x1e18ce(_0x14525d['previousPosition']),_0x2eae13=!0x0):_0x4e4b3a=_0x4e4b3a||_0x14525d['previousPosition']));}function _0x1e18ce(_0x1523f7){const {id:_0x1041ae,authorId:_0x42b47a}=splitSuggestionMarkerName(_0x4a30ef['markerName']),_0x97aa96=_0x46e6af['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1b4506,'data-suggestion':_0x1041ae,'data-author-id':_0x42b47a}),_0x280741=_0x46e6af['mapper']['toViewPosition'](_0x1523f7);!_0x52c787&&_0x27027e['includes'](_0x4a30ef['markerName'])&&_0x46e6af['writer']['addClass']('ck-suggestion-marker--active',_0x97aa96),_0x46e6af['writer']['insert'](_0x280741,_0x97aa96),_0x46e6af['mapper']['bindElementToMarker'](_0x97aa96,_0x4a30ef['markerName']);}_0x26efd||_0x2eae13||!_0x4e4b3a||_0x1e18ce(_0x4e4b3a);};_0x5cf159['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x2d2a7b,_0x2d7f8b,_0x15e10b)=>{_0x583a7d(_0x2d2a7b,_0x2d7f8b,_0x15e10b,!0x1,'merge');},{'priority':'high'}),_0x5cf159['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x269885,_0x37194a,_0x584679)=>{_0x583a7d(_0x269885,_0x37194a,_0x584679,!0x0,'merge');},{'priority':'high'}),_0x5cf159['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x1d37aa,_0x1ac1da,_0x9d0f4f)=>{_0x583a7d(_0x1d37aa,_0x1ac1da,_0x9d0f4f,!0x1,'split');},{'priority':'high'}),_0x5cf159['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x1f0211,_0x4c6fc6,_0x28d827)=>{_0x583a7d(_0x1f0211,_0x4c6fc6,_0x28d827,!0x0,'split');},{'priority':'high'}),_0x5cf159['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x4c48c3,_0x204045,_0x3c9779)=>{((_0x35c104,_0x14880d,_0x450b73)=>{const _0x39f86c=_0x450b73['mapper']['markerNameToElements'](_0x14880d['markerName']);if(_0x39f86c){for(const _0x4fd883 of _0x39f86c)(_0x4fd883['hasClass']('ck-suggestion-marker-split')||_0x4fd883['hasClass']('ck-suggestion-marker-merge'))&&(_0x450b73['mapper']['unbindElementFromMarkerName'](_0x4fd883,_0x14880d['markerName']),_0x450b73['writer']['remove'](_0x4fd883));}})(0x0,_0x204045,_0x3c9779);},{'priority':'high'});const _0x354639=(_0x13e91b,_0x234035,_0x5e35fd,_0x2180e2)=>{if(_0x2180e2&&!_0x5e35fd['options']['showSuggestionHighlights'])return;const _0x3b2ef2=_0x234035['markerRange']['start'],_0x3b8611=_0x234035['markerRange']['end'],_0xbc3913=_0x5cf159['model']['schema'];if(!_0x3b2ef2['isTouching'](_0x3b8611)||!_0x3b2ef2['nodeAfter'])return;const _0x4abfed=_0x3b2ef2['nodeAfter'];if(_0xbc3913['isBlock'](_0x4abfed)&&!_0xbc3913['isLimit'](_0x4abfed)&&_0xbc3913['checkChild'](_0x4abfed,'$text')){if(!_0x5e35fd['consumable']['consume'](_0x234035['markerRange'],_0x13e91b['name']))return;const {id:_0x1063e2,authorId:_0x443775}=splitSuggestionMarkerName(_0x234035['markerName']),_0x7e963b=_0x5e35fd['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x1063e2,'data-author-id':_0x443775}),_0x3f7062=_0x5e35fd['mapper']['toViewPosition'](_0x3b8611);!_0x2180e2&&this['_activeMarkers']['includes'](_0x234035['markerName'])&&_0x5e35fd['writer']['addClass']('ck-suggestion-marker--active',_0x7e963b),_0x5e35fd['writer']['insert'](_0x3f7062,_0x7e963b),_0x5e35fd['mapper']['bindElementToMarker'](_0x7e963b,_0x234035['markerName']);}};_0x5cf159['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x1db7e4,_0x1e60a6,_0x4af4b7)=>{_0x354639(_0x1db7e4,_0x1e60a6,_0x4af4b7,!0x1);},{'priority':'high'}),_0x5cf159['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x54e451,_0x3e9dd4,_0x186882)=>{_0x354639(_0x54e451,_0x3e9dd4,_0x186882,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x39c9fe,_0x4f085b,_0x3c6b26)=>{this['_activeMarkers']=_0x3c6b26['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x3f4569){this['_blockAttributeKeys']['add'](_0x3f4569);}['registerInlineAttribute'](_0x6a6c27){this['_inlineAttributeKeys']['add'](_0x6a6c27);}['isBlockAttribute'](_0x2cffec){return this['_blockAttributeKeys']['has'](_0x2cffec);}['isInlineAttribute'](_0x4a6b92){return this['_inlineAttributeKeys']['has'](_0x4a6b92);}['isRegisteredAttribute'](_0x131448){return this['isInlineAttribute'](_0x131448)||this['isBlockAttribute'](_0x131448);}['_getClassName'](_0x44ca93,_0x43a715){if('attribute'!=_0x44ca93)return'ck-suggestion-marker-'+_0x44ca93;const _0x3e2ff7=_0x43a715['split']('|')[0x0];return this['isBlockAttribute'](_0x3e2ff7)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}class _0x4ad020 extends Error{}class InvalidDateTimeError extends _0x4ad020{constructor(_0x307de4){super('Invalid\x20DateTime:\x20'+_0x307de4['toMessage']());}}class InvalidIntervalError extends _0x4ad020{constructor(_0x35bf4f){super('Invalid\x20Interval:\x20'+_0x35bf4f['toMessage']());}}class InvalidDurationError extends _0x4ad020{constructor(_0x4cc229){super('Invalid\x20Duration:\x20'+_0x4cc229['toMessage']());}}class ConflictingSpecificationError extends _0x4ad020{}class InvalidUnitError extends _0x4ad020{constructor(_0x3a6579){super('Invalid\x20unit\x20'+_0x3a6579);}}class InvalidArgumentError extends _0x4ad020{}class ZoneIsAbstractError extends _0x4ad020{constructor(){super('Zone\x20is\x20an\x20abstract\x20class');}}const _0x5d94e5='numeric',_0x12b53c='short',_0x336e36='long',_0x48fd6d={'year':_0x5d94e5,'month':_0x5d94e5,'day':_0x5d94e5},_0x3c5ef8={'year':_0x5d94e5,'month':_0x12b53c,'day':_0x5d94e5},_0x21bd4c={'year':_0x5d94e5,'month':_0x12b53c,'day':_0x5d94e5,'weekday':_0x12b53c},_0x4cd4f6={'year':_0x5d94e5,'month':_0x336e36,'day':_0x5d94e5},_0x157614={'year':_0x5d94e5,'month':_0x336e36,'day':_0x5d94e5,'weekday':_0x336e36},_0x2d50ef={'hour':_0x5d94e5,'minute':_0x5d94e5},_0x1664fa={'hour':_0x5d94e5,'minute':_0x5d94e5,'second':_0x5d94e5},_0x301e92={'hour':_0x5d94e5,'minute':_0x5d94e5,'second':_0x5d94e5,'timeZoneName':_0x12b53c},_0x2c5caa={'hour':_0x5d94e5,'minute':_0x5d94e5,'second':_0x5d94e5,'timeZoneName':_0x336e36},_0x4353f4={'hour':_0x5d94e5,'minute':_0x5d94e5,'hourCycle':'h23'},_0x432721={'hour':_0x5d94e5,'minute':_0x5d94e5,'second':_0x5d94e5,'hourCycle':'h23'},_0x4a6b2e={'hour':_0x5d94e5,'minute':_0x5d94e5,'second':_0x5d94e5,'hourCycle':'h23','timeZoneName':_0x12b53c},_0x27f277={'hour':_0x5d94e5,'minute':_0x5d94e5,'second':_0x5d94e5,'hourCycle':'h23','timeZoneName':_0x336e36},_0x2a00a={'year':_0x5d94e5,'month':_0x5d94e5,'day':_0x5d94e5,'hour':_0x5d94e5,'minute':_0x5d94e5},_0x35fa81={'year':_0x5d94e5,'month':_0x5d94e5,'day':_0x5d94e5,'hour':_0x5d94e5,'minute':_0x5d94e5,'second':_0x5d94e5},_0x1b507b={'year':_0x5d94e5,'month':_0x12b53c,'day':_0x5d94e5,'hour':_0x5d94e5,'minute':_0x5d94e5},_0x327afd={'year':_0x5d94e5,'month':_0x12b53c,'day':_0x5d94e5,'hour':_0x5d94e5,'minute':_0x5d94e5,'second':_0x5d94e5},_0x44c4ca={'year':_0x5d94e5,'month':_0x12b53c,'day':_0x5d94e5,'weekday':_0x12b53c,'hour':_0x5d94e5,'minute':_0x5d94e5},_0x3b647a={'year':_0x5d94e5,'month':_0x336e36,'day':_0x5d94e5,'hour':_0x5d94e5,'minute':_0x5d94e5,'timeZoneName':_0x12b53c},_0x1576e9={'year':_0x5d94e5,'month':_0x336e36,'day':_0x5d94e5,'hour':_0x5d94e5,'minute':_0x5d94e5,'second':_0x5d94e5,'timeZoneName':_0x12b53c},_0x5dca2e={'year':_0x5d94e5,'month':_0x336e36,'day':_0x5d94e5,'weekday':_0x336e36,'hour':_0x5d94e5,'minute':_0x5d94e5,'timeZoneName':_0x336e36},_0x479d00={'year':_0x5d94e5,'month':_0x336e36,'day':_0x5d94e5,'weekday':_0x336e36,'hour':_0x5d94e5,'minute':_0x5d94e5,'second':_0x5d94e5,'timeZoneName':_0x336e36};class _0x152669{get['type'](){throw new ZoneIsAbstractError();}get['name'](){throw new ZoneIsAbstractError();}get['ianaName'](){return this['name'];}get['isUniversal'](){throw new ZoneIsAbstractError();}['offsetName'](_0x32d25b,_0x3f1f00){throw new ZoneIsAbstractError();}['formatOffset'](_0x279160,_0x588c22){throw new ZoneIsAbstractError();}['offset'](_0x519d1b){throw new ZoneIsAbstractError();}['equals'](_0x4b77eb){throw new ZoneIsAbstractError();}get['isValid'](){throw new ZoneIsAbstractError();}}let singleton$1=null;class SystemZone extends _0x152669{static get['instance'](){return null===singleton$1&&(singleton$1=new SystemZone()),singleton$1;}get['type'](){return'system';}get['name'](){return new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'];}get['isUniversal'](){return!0x1;}['offsetName'](_0xc8aa5e,{format:_0xc452b0,locale:_0xd3d5e2}){return _0x38d237(_0xc8aa5e,_0xc452b0,_0xd3d5e2);}['formatOffset'](_0x396a80,_0x3a00a5){return formatOffset(this['offset'](_0x396a80),_0x3a00a5);}['offset'](_0x48d769){return-new Date(_0x48d769)['getTimezoneOffset']();}['equals'](_0x45ed65){return'system'===_0x45ed65['type'];}get['isValid'](){return!0x0;}}const dtfCache=new Map();function _0x3af1d3(_0x9de777){let _0x28b6e0=dtfCache['get'](_0x9de777);return void 0x0===_0x28b6e0&&(_0x28b6e0=new Intl['DateTimeFormat']('en-US',{'hour12':!0x1,'timeZone':_0x9de777,'year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit','second':'2-digit','era':'short'}),dtfCache['set'](_0x9de777,_0x28b6e0)),_0x28b6e0;}const typeToPos={'year':0x0,'month':0x1,'day':0x2,'era':0x3,'hour':0x4,'minute':0x5,'second':0x6};function hackyOffset(_0x35b9b4,_0x2ec958){const _0x1f90da=_0x35b9b4['format'](_0x2ec958)['replace'](/\u200E/g,''),_0x1bb760=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/['exec'](_0x1f90da),[,_0x533914,_0x266ac8,_0x4812d4,_0xf7e7d7,_0x31ad7f,_0x2fd06b,_0x4d1175]=_0x1bb760;return[_0x4812d4,_0x533914,_0x266ac8,_0xf7e7d7,_0x31ad7f,_0x2fd06b,_0x4d1175];}function partsOffset(_0x10de25,_0x4fd4e5){const _0x273fb7=_0x10de25['formatToParts'](_0x4fd4e5),_0x184ab4=[];for(let _0x5b38b8=0x0;_0x5b38b8<_0x273fb7['length'];_0x5b38b8++){const {type:_0x329938,value:_0x577aec}=_0x273fb7[_0x5b38b8],_0x373b8e=typeToPos[_0x329938];'era'===_0x329938?_0x184ab4[_0x373b8e]=_0x577aec:_0x539845(_0x373b8e)||(_0x184ab4[_0x373b8e]=parseInt(_0x577aec,0xa));}return _0x184ab4;}const _0x804b2d=new Map();class _0x434561 extends _0x152669{static['create'](_0x3af015){let _0x50f04e=_0x804b2d['get'](_0x3af015);return void 0x0===_0x50f04e&&_0x804b2d['set'](_0x3af015,_0x50f04e=new _0x434561(_0x3af015)),_0x50f04e;}static['resetCache'](){_0x804b2d['clear'](),dtfCache['clear']();}static['isValidSpecifier'](_0x4376ce){return this['isValidZone'](_0x4376ce);}static['isValidZone'](_0x91d270){if(!_0x91d270)return!0x1;try{return new Intl['DateTimeFormat']('en-US',{'timeZone':_0x91d270})['format'](),!0x0;}catch(_0x2f22eb){return!0x1;}}constructor(_0x27558d){super(),this['zoneName']=_0x27558d,this['valid']=_0x434561['isValidZone'](_0x27558d);}get['type'](){return'iana';}get['name'](){return this['zoneName'];}get['isUniversal'](){return!0x1;}['offsetName'](_0x17b0b1,{format:_0x21fc6e,locale:_0x3b5469}){return _0x38d237(_0x17b0b1,_0x21fc6e,_0x3b5469,this['name']);}['formatOffset'](_0x2bdcce,_0x1a12f4){return formatOffset(this['offset'](_0x2bdcce),_0x1a12f4);}['offset'](_0x4f6981){if(!this['valid'])return NaN;const _0x388eb9=new Date(_0x4f6981);if(isNaN(_0x388eb9))return NaN;const _0x42d1c9=_0x3af1d3(this['name']);let [_0x1bf9dd,_0x533caa,_0xb71435,_0x400b8a,_0x1513fc,_0x43d497,_0x2e249d]=_0x42d1c9['formatToParts']?partsOffset(_0x42d1c9,_0x388eb9):hackyOffset(_0x42d1c9,_0x388eb9);'BC'===_0x400b8a&&(_0x1bf9dd=0x1-Math['abs'](_0x1bf9dd));let _0x4b3f6a=+_0x388eb9;const _0x468c47=_0x4b3f6a%0x3e8;return _0x4b3f6a-=_0x468c47>=0x0?_0x468c47:0x3e8+_0x468c47,(_0x3587d8({'year':_0x1bf9dd,'month':_0x533caa,'day':_0xb71435,'hour':0x18===_0x1513fc?0x0:_0x1513fc,'minute':_0x43d497,'second':_0x2e249d,'millisecond':0x0})-_0x4b3f6a)/0xea60;}['equals'](_0x2e4227){return'iana'===_0x2e4227['type']&&_0x2e4227['name']===this['name'];}get['isValid'](){return this['valid'];}}let intlLFCache={};function getCachedLF(_0x26b379,_0x450bb8={}){const _0x10a38a=JSON['stringify']([_0x26b379,_0x450bb8]);let _0x1b37e8=intlLFCache[_0x10a38a];return _0x1b37e8||(_0x1b37e8=new Intl['ListFormat'](_0x26b379,_0x450bb8),intlLFCache[_0x10a38a]=_0x1b37e8),_0x1b37e8;}const intlDTCache=new Map();function getCachedDTF(_0x1d57a4,_0x397126={}){const _0x48af44=JSON['stringify']([_0x1d57a4,_0x397126]);let _0x188795=intlDTCache['get'](_0x48af44);return void 0x0===_0x188795&&(_0x188795=new Intl['DateTimeFormat'](_0x1d57a4,_0x397126),intlDTCache['set'](_0x48af44,_0x188795)),_0x188795;}const intlNumCache=new Map();function getCachedINF(_0x348a3e,_0x2f3ec0={}){const _0xf12b50=JSON['stringify']([_0x348a3e,_0x2f3ec0]);let _0x17c4b6=intlNumCache['get'](_0xf12b50);return void 0x0===_0x17c4b6&&(_0x17c4b6=new Intl['NumberFormat'](_0x348a3e,_0x2f3ec0),intlNumCache['set'](_0xf12b50,_0x17c4b6)),_0x17c4b6;}const intlRelCache=new Map();function getCachedRTF(_0x1b50be,_0x5270f5={}){const {base:_0x2ae997,..._0x209939}=_0x5270f5,_0x25cc64=JSON['stringify']([_0x1b50be,_0x209939]);let _0x1abe8b=intlRelCache['get'](_0x25cc64);return void 0x0===_0x1abe8b&&(_0x1abe8b=new Intl['RelativeTimeFormat'](_0x1b50be,_0x5270f5),intlRelCache['set'](_0x25cc64,_0x1abe8b)),_0x1abe8b;}let _0x41916a=null;function systemLocale(){return _0x41916a||(_0x41916a=new Intl['DateTimeFormat']()['resolvedOptions']()['locale'],_0x41916a);}const intlResolvedOptionsCache=new Map();function getCachedIntResolvedOptions(_0x36b80){let _0x2a9429=intlResolvedOptionsCache['get'](_0x36b80);return void 0x0===_0x2a9429&&(_0x2a9429=new Intl['DateTimeFormat'](_0x36b80)['resolvedOptions'](),intlResolvedOptionsCache['set'](_0x36b80,_0x2a9429)),_0x2a9429;}const _0x41dff1=new Map();function getCachedWeekInfo(_0x49e94b){let _0x28f5e8=_0x41dff1['get'](_0x49e94b);if(!_0x28f5e8){const _0x53425a=new Intl['Locale'](_0x49e94b);_0x28f5e8='getWeekInfo'in _0x53425a?_0x53425a['getWeekInfo']():_0x53425a['weekInfo'],'minimalDays'in _0x28f5e8||(_0x28f5e8={...fallbackWeekSettings,..._0x28f5e8}),_0x41dff1['set'](_0x49e94b,_0x28f5e8);}return _0x28f5e8;}function parseLocaleString(_0x4bca92){const _0x4277a2=_0x4bca92['indexOf']('-x-');-0x1!==_0x4277a2&&(_0x4bca92=_0x4bca92['substring'](0x0,_0x4277a2));const _0x343fb2=_0x4bca92['indexOf']('-u-');if(-0x1===_0x343fb2)return[_0x4bca92];{let _0xe4bf39,_0x134285;try{_0xe4bf39=getCachedDTF(_0x4bca92)['resolvedOptions'](),_0x134285=_0x4bca92;}catch(_0x205037){const _0x443dc2=_0x4bca92['substring'](0x0,_0x343fb2);_0xe4bf39=getCachedDTF(_0x443dc2)['resolvedOptions'](),_0x134285=_0x443dc2;}const {numberingSystem:_0x365646,calendar:_0x8a23d6}=_0xe4bf39;return[_0x134285,_0x365646,_0x8a23d6];}}function intlConfigString(_0x1ba4a1,_0x4b8b46,_0x1c1359){return _0x1c1359||_0x4b8b46?(_0x1ba4a1['includes']('-u-')||(_0x1ba4a1+='-u'),_0x1c1359&&(_0x1ba4a1+='-ca-'+_0x1c1359),_0x4b8b46&&(_0x1ba4a1+='-nu-'+_0x4b8b46),_0x1ba4a1):_0x1ba4a1;}function mapMonths(_0x112503){const _0xd65c26=[];for(let _0x36c010=0x1;_0x36c010<=0xc;_0x36c010++){const _0x3c5b31=DateTime['utc'](0x7d9,_0x36c010,0x1);_0xd65c26['push'](_0x112503(_0x3c5b31));}return _0xd65c26;}function _0x4de760(_0x220887){const _0x24ac04=[];for(let _0x5c6b8d=0x1;_0x5c6b8d<=0x7;_0x5c6b8d++){const _0x399300=DateTime['utc'](0x7e0,0xb,0xd+_0x5c6b8d);_0x24ac04['push'](_0x220887(_0x399300));}return _0x24ac04;}function listStuff(_0x4ae2f8,_0x4a0508,_0xeb2c11,_0x5bee97){const _0x5d0fe2=_0x4ae2f8['listingMode']();return'error'===_0x5d0fe2?null:'en'===_0x5d0fe2?_0xeb2c11(_0x4a0508):_0x5bee97(_0x4a0508);}function supportsFastNumbers(_0x100178){return(!_0x100178['numberingSystem']||'latn'===_0x100178['numberingSystem'])&&('latn'===_0x100178['numberingSystem']||!_0x100178['locale']||_0x100178['locale']['startsWith']('en')||'latn'===getCachedIntResolvedOptions(_0x100178['locale'])['numberingSystem']);}class PolyNumberFormatter{constructor(_0x372482,_0x52511e,_0x35d29e){this['padTo']=_0x35d29e['padTo']||0x0,this['floor']=_0x35d29e['floor']||!0x1;const {padTo:_0x200edb,floor:_0x4315c1,..._0x26eb98}=_0x35d29e;if(!_0x52511e||Object['keys'](_0x26eb98)['length']>0x0){const _0x3d94a5={'useGrouping':!0x1,..._0x35d29e};_0x35d29e['padTo']>0x0&&(_0x3d94a5['minimumIntegerDigits']=_0x35d29e['padTo']),this['inf']=getCachedINF(_0x372482,_0x3d94a5);}}['format'](_0x3077fa){if(this['inf']){const _0x24b235=this['floor']?Math['floor'](_0x3077fa):_0x3077fa;return this['inf']['format'](_0x24b235);}return padStart(this['floor']?Math['floor'](_0x3077fa):_0x1d1899(_0x3077fa,0x3),this['padTo']);}}class PolyDateFormatter{constructor(_0x323a89,_0x231e64,_0x54c9f8){let _0x26749a;if(this['opts']=_0x54c9f8,this['originalZone']=void 0x0,this['opts']['timeZone'])this['dt']=_0x323a89;else{if('fixed'===_0x323a89['zone']['type']){const _0x54de9a=_0x323a89['offset']/0x3c*-0x1,_0x4f14f3=_0x54de9a>=0x0?'Etc/GMT+'+_0x54de9a:'Etc/GMT'+_0x54de9a;0x0!==_0x323a89['offset']&&_0x434561['create'](_0x4f14f3)['valid']?(_0x26749a=_0x4f14f3,this['dt']=_0x323a89):(_0x26749a='UTC',this['dt']=0x0===_0x323a89['offset']?_0x323a89:_0x323a89['setZone']('UTC')['plus']({'minutes':_0x323a89['offset']}),this['originalZone']=_0x323a89['zone']);}else'system'===_0x323a89['zone']['type']?this['dt']=_0x323a89:'iana'===_0x323a89['zone']['type']?(this['dt']=_0x323a89,_0x26749a=_0x323a89['zone']['name']):(_0x26749a='UTC',this['dt']=_0x323a89['setZone']('UTC')['plus']({'minutes':_0x323a89['offset']}),this['originalZone']=_0x323a89['zone']);}const _0x329e2b={...this['opts']};_0x329e2b['timeZone']=_0x329e2b['timeZone']||_0x26749a,this['dtf']=getCachedDTF(_0x231e64,_0x329e2b);}['format'](){return this['originalZone']?this['formatToParts']()['map'](({value:_0x13c2b3})=>_0x13c2b3)['join'](''):this['dtf']['format'](this['dt']['toJSDate']());}['formatToParts'](){const _0x439b00=this['dtf']['formatToParts'](this['dt']['toJSDate']());return this['originalZone']?_0x439b00['map'](_0x1ea893=>{if('timeZoneName'===_0x1ea893['type']){const _0x42a991=this['originalZone']['offsetName'](this['dt']['ts'],{'locale':this['dt']['locale'],'format':this['opts']['timeZoneName']});return{..._0x1ea893,'value':_0x42a991};}return _0x1ea893;}):_0x439b00;}['resolvedOptions'](){return this['dtf']['resolvedOptions']();}}class PolyRelFormatter{constructor(_0x11cf9e,_0x12d18c,_0x53b93c){this['opts']={'style':'long',..._0x53b93c},!_0x12d18c&&hasRelative()&&(this['rtf']=getCachedRTF(_0x11cf9e,_0x53b93c));}['format'](_0x2b265c,_0x4d55cc){return this['rtf']?this['rtf']['format'](_0x2b265c,_0x4d55cc):formatRelativeTime(_0x4d55cc,_0x2b265c,this['opts']['numeric'],'long'!==this['opts']['style']);}['formatToParts'](_0x59f569,_0x17142b){return this['rtf']?this['rtf']['formatToParts'](_0x59f569,_0x17142b):[];}}const fallbackWeekSettings={'firstDay':0x1,'minimalDays':0x4,'weekend':[0x6,0x7]};class _0x2fcf59{static['fromOpts'](_0xa02465){return _0x2fcf59['create'](_0xa02465['locale'],_0xa02465['numberingSystem'],_0xa02465['outputCalendar'],_0xa02465['weekSettings'],_0xa02465['defaultToEN']);}static['create'](_0x136816,_0x5cd813,_0x1c36c6,_0x45d107,_0x13c7f4=!0x1){const _0x92e1cd=_0x136816||Settings['defaultLocale'],_0x4f3699=_0x92e1cd||(_0x13c7f4?'en-US':systemLocale()),_0x480d51=_0x5cd813||Settings['defaultNumberingSystem'],_0xcad4e2=_0x1c36c6||Settings['defaultOutputCalendar'],_0x2ae023=validateWeekSettings(_0x45d107)||Settings['defaultWeekSettings'];return new _0x2fcf59(_0x4f3699,_0x480d51,_0xcad4e2,_0x2ae023,_0x92e1cd);}static['resetCache'](){_0x41916a=null,intlDTCache['clear'](),intlNumCache['clear'](),intlRelCache['clear'](),intlResolvedOptionsCache['clear'](),_0x41dff1['clear']();}static['fromObject']({locale:_0xcbde3a,numberingSystem:_0x349554,outputCalendar:_0x383ddf,weekSettings:_0x3bdf9}={}){return _0x2fcf59['create'](_0xcbde3a,_0x349554,_0x383ddf,_0x3bdf9);}constructor(_0x55a55a,_0x3297de,_0x395bc3,_0x1e86c5,_0x103332){const [_0x30361a,_0x231fcd,_0x58f55c]=parseLocaleString(_0x55a55a);this['locale']=_0x30361a,this['numberingSystem']=_0x3297de||_0x231fcd||null,this['outputCalendar']=_0x395bc3||_0x58f55c||null,this['weekSettings']=_0x1e86c5,this['intl']=intlConfigString(this['locale'],this['numberingSystem'],this['outputCalendar']),this['weekdaysCache']={'format':{},'standalone':{}},this['monthsCache']={'format':{},'standalone':{}},this['meridiemCache']=null,this['eraCache']={},this['specifiedLocale']=_0x103332,this['fastNumbersCached']=null;}get['fastNumbers'](){return null==this['fastNumbersCached']&&(this['fastNumbersCached']=supportsFastNumbers(this)),this['fastNumbersCached'];}['listingMode'](){const _0x55f655=this['isEnglish'](),_0x2d8a72=!(null!==this['numberingSystem']&&'latn'!==this['numberingSystem']||null!==this['outputCalendar']&&'gregory'!==this['outputCalendar']);return _0x55f655&&_0x2d8a72?'en':'intl';}['clone'](_0x6471af){return _0x6471af&&0x0!==Object['getOwnPropertyNames'](_0x6471af)['length']?_0x2fcf59['create'](_0x6471af['locale']||this['specifiedLocale'],_0x6471af['numberingSystem']||this['numberingSystem'],_0x6471af['outputCalendar']||this['outputCalendar'],validateWeekSettings(_0x6471af['weekSettings'])||this['weekSettings'],_0x6471af['defaultToEN']||!0x1):this;}['redefaultToEN'](_0x39c68b={}){return this['clone']({..._0x39c68b,'defaultToEN':!0x0});}['redefaultToSystem'](_0x48076f={}){return this['clone']({..._0x48076f,'defaultToEN':!0x1});}['months'](_0x1ff13b,_0x223d7e=!0x1){return listStuff(this,_0x1ff13b,months,()=>{const _0x99168e=_0x223d7e?{'month':_0x1ff13b,'day':'numeric'}:{'month':_0x1ff13b},_0x12e501=_0x223d7e?'format':'standalone';return this['monthsCache'][_0x12e501][_0x1ff13b]||(this['monthsCache'][_0x12e501][_0x1ff13b]=mapMonths(_0x101463=>this['extract'](_0x101463,_0x99168e,'month'))),this['monthsCache'][_0x12e501][_0x1ff13b];});}['weekdays'](_0x47ef61,_0x885511=!0x1){return listStuff(this,_0x47ef61,_0x8aea1,()=>{const _0x44d7de=_0x885511?{'weekday':_0x47ef61,'year':'numeric','month':'long','day':'numeric'}:{'weekday':_0x47ef61},_0x5e3cf9=_0x885511?'format':'standalone';return this['weekdaysCache'][_0x5e3cf9][_0x47ef61]||(this['weekdaysCache'][_0x5e3cf9][_0x47ef61]=_0x4de760(_0x3735ff=>this['extract'](_0x3735ff,_0x44d7de,'weekday'))),this['weekdaysCache'][_0x5e3cf9][_0x47ef61];});}['meridiems'](){return listStuff(this,void 0x0,()=>_0x4dd725,()=>{if(!this['meridiemCache']){const _0x460ffa={'hour':'numeric','hourCycle':'h12'};this['meridiemCache']=[DateTime['utc'](0x7e0,0xb,0xd,0x9),DateTime['utc'](0x7e0,0xb,0xd,0x13)]['map'](_0x1f0113=>this['extract'](_0x1f0113,_0x460ffa,'dayperiod'));}return this['meridiemCache'];});}['eras'](_0x1a481a){return listStuff(this,_0x1a481a,_0x23c278,()=>{const _0x2b2219={'era':_0x1a481a};return this['eraCache'][_0x1a481a]||(this['eraCache'][_0x1a481a]=[DateTime['utc'](-0x28,0x1,0x1),DateTime['utc'](0x7e1,0x1,0x1)]['map'](_0x5720f2=>this['extract'](_0x5720f2,_0x2b2219,'era'))),this['eraCache'][_0x1a481a];});}['extract'](_0x4d116b,_0x2661a3,_0x443c10){const _0x3c5616=this['dtFormatter'](_0x4d116b,_0x2661a3)['formatToParts']()['find'](_0x3a541f=>_0x3a541f['type']['toLowerCase']()===_0x443c10);return _0x3c5616?_0x3c5616['value']:null;}['numberFormatter'](_0x36cb1a={}){return new PolyNumberFormatter(this['intl'],_0x36cb1a['forceSimple']||this['fastNumbers'],_0x36cb1a);}['dtFormatter'](_0x26a477,_0x1d2fbf={}){return new PolyDateFormatter(_0x26a477,this['intl'],_0x1d2fbf);}['relFormatter'](_0xbf1a85={}){return new PolyRelFormatter(this['intl'],this['isEnglish'](),_0xbf1a85);}['listFormatter'](_0x3aba73={}){return getCachedLF(this['intl'],_0x3aba73);}['isEnglish'](){return'en'===this['locale']||'en-us'===this['locale']['toLowerCase']()||getCachedIntResolvedOptions(this['intl'])['locale']['startsWith']('en-us');}['getWeekSettings'](){return this['weekSettings']?this['weekSettings']:_0x548f9f()?getCachedWeekInfo(this['locale']):fallbackWeekSettings;}['getStartOfWeek'](){return this['getWeekSettings']()['firstDay'];}['getMinDaysInFirstWeek'](){return this['getWeekSettings']()['minimalDays'];}['getWeekendDays'](){return this['getWeekSettings']()['weekend'];}['equals'](_0x3407fe){return this['locale']===_0x3407fe['locale']&&this['numberingSystem']===_0x3407fe['numberingSystem']&&this['outputCalendar']===_0x3407fe['outputCalendar'];}['toString'](){return'Locale('+this['locale']+',\x20'+this['numberingSystem']+',\x20'+this['outputCalendar']+')';}}let singleton=null;class FixedOffsetZone extends _0x152669{static get['utcInstance'](){return null===singleton&&(singleton=new FixedOffsetZone(0x0)),singleton;}static['instance'](_0x142829){return 0x0===_0x142829?FixedOffsetZone['utcInstance']:new FixedOffsetZone(_0x142829);}static['parseSpecifier'](_0x3ab080){if(_0x3ab080){const _0x2ec655=_0x3ab080['match'](/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(_0x2ec655)return new FixedOffsetZone(signedOffset(_0x2ec655[0x1],_0x2ec655[0x2]));}return null;}constructor(_0x504bfe){super(),this['fixed']=_0x504bfe;}get['type'](){return'fixed';}get['name'](){return 0x0===this['fixed']?'UTC':'UTC'+formatOffset(this['fixed'],'narrow');}get['ianaName'](){return 0x0===this['fixed']?'Etc/UTC':'Etc/GMT'+formatOffset(-this['fixed'],'narrow');}['offsetName'](){return this['name'];}['formatOffset'](_0x4eb864,_0x29b32e){return formatOffset(this['fixed'],_0x29b32e);}get['isUniversal'](){return!0x0;}['offset'](){return this['fixed'];}['equals'](_0x2dcff3){return'fixed'===_0x2dcff3['type']&&_0x2dcff3['fixed']===this['fixed'];}get['isValid'](){return!0x0;}}class _0x4d6645 extends _0x152669{constructor(_0x6b0982){super(),this['zoneName']=_0x6b0982;}get['type'](){return'invalid';}get['name'](){return this['zoneName'];}get['isUniversal'](){return!0x1;}['offsetName'](){return null;}['formatOffset'](){return'';}['offset'](){return NaN;}['equals'](){return!0x1;}get['isValid'](){return!0x1;}}function _0x5ac78a(_0x59ab49,_0x321705){if(_0x539845(_0x59ab49)||null===_0x59ab49)return _0x321705;if(_0x59ab49 instanceof _0x152669)return _0x59ab49;if(isString(_0x59ab49)){const _0x786029=_0x59ab49['toLowerCase']();return'default'===_0x786029?_0x321705:'local'===_0x786029||'system'===_0x786029?SystemZone['instance']:'utc'===_0x786029||'gmt'===_0x786029?FixedOffsetZone['utcInstance']:FixedOffsetZone['parseSpecifier'](_0x786029)||_0x434561['create'](_0x59ab49);}return _0x1eaafc(_0x59ab49)?FixedOffsetZone['instance'](_0x59ab49):'object'==typeof _0x59ab49&&'offset'in _0x59ab49&&'function'==typeof _0x59ab49['offset']?_0x59ab49:new _0x4d6645(_0x59ab49);}const numberingSystems={'arab':'[٠-٩]','arabext':'[۰-۹]','bali':'[᭐-᭙]','beng':'[০-৯]','deva':'[०-९]','fullwide':'[０-９]','gujr':'[૦-૯]','hanidec':'[〇|一|二|三|四|五|六|七|八|九]','khmr':'[០-៩]','knda':'[೦-೯]','laoo':'[໐-໙]','limb':'[᥆-᥏]','mlym':'[൦-൯]','mong':'[᠐-᠙]','mymr':'[၀-၉]','orya':'[୦-୯]','tamldec':'[௦-௯]','telu':'[౦-౯]','thai':'[๐-๙]','tibt':'[༠-༩]','latn':'\x5cd'},numberingSystemsUTF16={'arab':[0x660,0x669],'arabext':[0x6f0,0x6f9],'bali':[0x1b50,0x1b59],'beng':[0x9e6,0x9ef],'deva':[0x966,0x96f],'fullwide':[0xff10,0xff17],'gujr':[0xae6,0xaef],'khmr':[0x17e0,0x17e9],'knda':[0xce6,0xcef],'laoo':[0xed0,0xed9],'limb':[0x1946,0x194f],'mlym':[0xd66,0xd6f],'mong':[0x1810,0x1819],'mymr':[0x1040,0x1049],'orya':[0xb66,0xb6f],'tamldec':[0xbe6,0xbef],'telu':[0xc66,0xc6f],'thai':[0xe50,0xe59],'tibt':[0xf20,0xf29]},_0x4b6f71=numberingSystems['hanidec']['replace'](/[\[|\]]/g,'')['split']('');function parseDigits(_0x95d732){let _0x1a14f2=parseInt(_0x95d732,0xa);if(isNaN(_0x1a14f2)){_0x1a14f2='';for(let _0x524a19=0x0;_0x524a19<_0x95d732['length'];_0x524a19++){const _0x37edea=_0x95d732['charCodeAt'](_0x524a19);if(-0x1!==_0x95d732[_0x524a19]['search'](numberingSystems['hanidec']))_0x1a14f2+=_0x4b6f71['indexOf'](_0x95d732[_0x524a19]);else for(const _0x13c39b in numberingSystemsUTF16){const [_0x21ee81,_0x464fa9]=numberingSystemsUTF16[_0x13c39b];_0x37edea>=_0x21ee81&&_0x37edea<=_0x464fa9&&(_0x1a14f2+=_0x37edea-_0x21ee81);}}return parseInt(_0x1a14f2,0xa);}return _0x1a14f2;}const digitRegexCache=new Map();function resetDigitRegexCache(){digitRegexCache['clear']();}function digitRegex({numberingSystem:_0xa42d82},_0x5e2d4c=''){const _0x2953d2=_0xa42d82||'latn';let _0x407811=digitRegexCache['get'](_0x2953d2);void 0x0===_0x407811&&(_0x407811=new Map(),digitRegexCache['set'](_0x2953d2,_0x407811));let _0x3483b3=_0x407811['get'](_0x5e2d4c);return void 0x0===_0x3483b3&&(_0x3483b3=new RegExp(''+numberingSystems[_0x2953d2]+_0x5e2d4c),_0x407811['set'](_0x5e2d4c,_0x3483b3)),_0x3483b3;}let _0xde1ac4=()=>Date['now'](),defaultZone='system',defaultLocale=null,defaultNumberingSystem=null,defaultOutputCalendar=null,twoDigitCutoffYear=0x3c,throwOnInvalid,defaultWeekSettings=null;class Settings{static get['now'](){return _0xde1ac4;}static set['now'](_0x553398){_0xde1ac4=_0x553398;}static set['defaultZone'](_0x163e77){defaultZone=_0x163e77;}static get['defaultZone'](){return _0x5ac78a(defaultZone,SystemZone['instance']);}static get['defaultLocale'](){return defaultLocale;}static set['defaultLocale'](_0x3044bf){defaultLocale=_0x3044bf;}static get['defaultNumberingSystem'](){return defaultNumberingSystem;}static set['defaultNumberingSystem'](_0x5a4030){defaultNumberingSystem=_0x5a4030;}static get['defaultOutputCalendar'](){return defaultOutputCalendar;}static set['defaultOutputCalendar'](_0x5691bd){defaultOutputCalendar=_0x5691bd;}static get['defaultWeekSettings'](){return defaultWeekSettings;}static set['defaultWeekSettings'](_0x504777){defaultWeekSettings=validateWeekSettings(_0x504777);}static get['twoDigitCutoffYear'](){return twoDigitCutoffYear;}static set['twoDigitCutoffYear'](_0x2e373c){twoDigitCutoffYear=_0x2e373c%0x64;}static get['throwOnInvalid'](){return throwOnInvalid;}static set['throwOnInvalid'](t){throwOnInvalid=t;}static['resetCaches'](){_0x2fcf59['resetCache'](),_0x434561['resetCache'](),DateTime['resetCache'](),resetDigitRegexCache();}}class _0x4a5313{constructor(_0x2634e5,_0x4d441d){this['reason']=_0x2634e5,this['explanation']=_0x4d441d;}['toMessage'](){return this['explanation']?this['reason']+':\x20'+this['explanation']:this['reason'];}}const _0x131d8e=[0x0,0x1f,0x3b,0x5a,0x78,0x97,0xb5,0xd4,0xf3,0x111,0x130,0x14e],_0x216178=[0x0,0x1f,0x3c,0x5b,0x79,0x98,0xb6,0xd5,0xf4,0x112,0x131,0x14f];function unitOutOfRange(_0x49d68b,_0x1cc2c2){return new _0x4a5313('unit\x20out\x20of\x20range','you\x20specified\x20'+_0x1cc2c2+'\x20(of\x20type\x20'+typeof _0x1cc2c2+')\x20as\x20a\x20'+_0x49d68b+',\x20which\x20is\x20invalid');}function _0x31088b(_0x31ea6f,_0x1a652e,_0xbf8e97){const _0x15ec8d=new Date(Date['UTC'](_0x31ea6f,_0x1a652e-0x1,_0xbf8e97));_0x31ea6f<0x64&&_0x31ea6f>=0x0&&_0x15ec8d['setUTCFullYear'](_0x15ec8d['getUTCFullYear']()-0x76c);const _0x1013da=_0x15ec8d['getUTCDay']();return 0x0===_0x1013da?0x7:_0x1013da;}function computeOrdinal(_0x35515c,_0x423477,_0x33ad4f){return _0x33ad4f+(_0x11aa92(_0x35515c)?_0x216178:_0x131d8e)[_0x423477-0x1];}function uncomputeOrdinal(_0x4a76d2,_0x3628fc){const _0x5e2b71=_0x11aa92(_0x4a76d2)?_0x216178:_0x131d8e,_0x4a70a7=_0x5e2b71['findIndex'](_0x5eab9c=>_0x5eab9c<_0x3628fc);return{'month':_0x4a70a7+0x1,'day':_0x3628fc-_0x5e2b71[_0x4a70a7]};}function _0x1163b2(_0x536c16,_0x197199){return(_0x536c16-_0x197199+0x7)%0x7+0x1;}function _0x54a85f(_0x3075f9,_0xf4cd78=0x4,_0xf1a791=0x1){const {year:_0x45899a,month:_0xb274a8,day:_0xc94ee4}=_0x3075f9,_0x155afc=computeOrdinal(_0x45899a,_0xb274a8,_0xc94ee4),_0x15db62=_0x1163b2(_0x31088b(_0x45899a,_0xb274a8,_0xc94ee4),_0xf1a791);let _0x3a2c73,_0x4c9662=Math['floor']((_0x155afc-_0x15db62+0xe-_0xf4cd78)/0x7);return _0x4c9662<0x1?(_0x3a2c73=_0x45899a-0x1,_0x4c9662=_0x103e14(_0x3a2c73,_0xf4cd78,_0xf1a791)):_0x4c9662>_0x103e14(_0x45899a,_0xf4cd78,_0xf1a791)?(_0x3a2c73=_0x45899a+0x1,_0x4c9662=0x1):_0x3a2c73=_0x45899a,{'weekYear':_0x3a2c73,'weekNumber':_0x4c9662,'weekday':_0x15db62,...timeObject(_0x3075f9)};}function _0x7ce96a(_0x502aff,_0x24ab1c=0x4,_0x5ca636=0x1){const {weekYear:_0x1aad4e,weekNumber:_0x1781d9,weekday:_0x37d35c}=_0x502aff,_0x692eb7=_0x1163b2(_0x31088b(_0x1aad4e,0x1,_0x24ab1c),_0x5ca636),_0x986305=_0x3c1bd9(_0x1aad4e);let _0x429f3e,_0x24c16d=0x7*_0x1781d9+_0x37d35c-_0x692eb7-0x7+_0x24ab1c;_0x24c16d<0x1?(_0x429f3e=_0x1aad4e-0x1,_0x24c16d+=_0x3c1bd9(_0x429f3e)):_0x24c16d>_0x986305?(_0x429f3e=_0x1aad4e+0x1,_0x24c16d-=_0x3c1bd9(_0x1aad4e)):_0x429f3e=_0x1aad4e;const {month:_0x26ace4,day:_0x334152}=uncomputeOrdinal(_0x429f3e,_0x24c16d);return{'year':_0x429f3e,'month':_0x26ace4,'day':_0x334152,...timeObject(_0x502aff)};}function _0x4143b8(_0x2e01d3){const {year:_0xf69faa,month:_0x4e4e65,day:_0x122dd8}=_0x2e01d3;return{'year':_0xf69faa,'ordinal':computeOrdinal(_0xf69faa,_0x4e4e65,_0x122dd8),...timeObject(_0x2e01d3)};}function _0xb2e65(_0x2bf7bd){const {year:_0x48a72c,ordinal:_0x3fd955}=_0x2bf7bd,{month:_0x2ecf69,day:_0x12338b}=uncomputeOrdinal(_0x48a72c,_0x3fd955);return{'year':_0x48a72c,'month':_0x2ecf69,'day':_0x12338b,...timeObject(_0x2bf7bd)};}function _0x2c5aa6(_0xff9804,_0x316365){if(!_0x539845(_0xff9804['localWeekday'])||!_0x539845(_0xff9804['localWeekNumber'])||!_0x539845(_0xff9804['localWeekYear'])){if(!_0x539845(_0xff9804['weekday'])||!_0x539845(_0xff9804['weekNumber'])||!_0x539845(_0xff9804['weekYear']))throw new ConflictingSpecificationError('Cannot\x20mix\x20locale-based\x20week\x20fields\x20with\x20ISO-based\x20week\x20fields');return _0x539845(_0xff9804['localWeekday'])||(_0xff9804['weekday']=_0xff9804['localWeekday']),_0x539845(_0xff9804['localWeekNumber'])||(_0xff9804['weekNumber']=_0xff9804['localWeekNumber']),_0x539845(_0xff9804['localWeekYear'])||(_0xff9804['weekYear']=_0xff9804['localWeekYear']),delete _0xff9804['localWeekday'],delete _0xff9804['localWeekNumber'],delete _0xff9804['localWeekYear'],{'minDaysInFirstWeek':_0x316365['getMinDaysInFirstWeek'](),'startOfWeek':_0x316365['getStartOfWeek']()};}return{'minDaysInFirstWeek':0x4,'startOfWeek':0x1};}function hasInvalidWeekData(_0x288d83,_0x45238b=0x4,_0x4a7503=0x1){const _0x4ff8e8=isInteger$1(_0x288d83['weekYear']),_0x3fab64=integerBetween(_0x288d83['weekNumber'],0x1,_0x103e14(_0x288d83['weekYear'],_0x45238b,_0x4a7503)),_0x5a40ce=integerBetween(_0x288d83['weekday'],0x1,0x7);return _0x4ff8e8?_0x3fab64?!_0x5a40ce&&unitOutOfRange('weekday',_0x288d83['weekday']):unitOutOfRange('week',_0x288d83['weekNumber']):unitOutOfRange('weekYear',_0x288d83['weekYear']);}function hasInvalidOrdinalData(_0x2d49d5){const _0x2a6fbb=isInteger$1(_0x2d49d5['year']),_0x5b0ec0=integerBetween(_0x2d49d5['ordinal'],0x1,_0x3c1bd9(_0x2d49d5['year']));return _0x2a6fbb?!_0x5b0ec0&&unitOutOfRange('ordinal',_0x2d49d5['ordinal']):unitOutOfRange('year',_0x2d49d5['year']);}function hasInvalidGregorianData(_0x1896ad){const _0x1ad4bd=isInteger$1(_0x1896ad['year']),_0x52929a=integerBetween(_0x1896ad['month'],0x1,0xc),_0x32aa87=integerBetween(_0x1896ad['day'],0x1,daysInMonth(_0x1896ad['year'],_0x1896ad['month']));return _0x1ad4bd?_0x52929a?!_0x32aa87&&unitOutOfRange('day',_0x1896ad['day']):unitOutOfRange('month',_0x1896ad['month']):unitOutOfRange('year',_0x1896ad['year']);}function hasInvalidTimeData(_0x136677){const {hour:_0x595c3b,minute:_0x568411,second:_0x4007ab,millisecond:_0x19b81f}=_0x136677,_0x4d5473=integerBetween(_0x595c3b,0x0,0x17)||0x18===_0x595c3b&&0x0===_0x568411&&0x0===_0x4007ab&&0x0===_0x19b81f,_0x5b0a36=integerBetween(_0x568411,0x0,0x3b),_0x3634cf=integerBetween(_0x4007ab,0x0,0x3b),_0x32ddb2=integerBetween(_0x19b81f,0x0,0x3e7);return _0x4d5473?_0x5b0a36?_0x3634cf?!_0x32ddb2&&unitOutOfRange('millisecond',_0x19b81f):unitOutOfRange('second',_0x4007ab):unitOutOfRange('minute',_0x568411):unitOutOfRange('hour',_0x595c3b);}function _0x539845(_0x422e5f){return void 0x0===_0x422e5f;}function _0x1eaafc(_0x1df570){return'number'==typeof _0x1df570;}function isInteger$1(_0x1c4aaa){return'number'==typeof _0x1c4aaa&&_0x1c4aaa%0x1==0x0;}function isString(_0x2cb529){return'string'==typeof _0x2cb529;}function isDate(_0x346080){return'[object\x20Date]'===Object['prototype']['toString']['call'](_0x346080);}function hasRelative(){try{return'undefined'!=typeof Intl&&!!Intl['RelativeTimeFormat'];}catch(_0x42f286){return!0x1;}}function _0x548f9f(){try{return'undefined'!=typeof Intl&&!!Intl['Locale']&&('weekInfo'in Intl['Locale']['prototype']||'getWeekInfo'in Intl['Locale']['prototype']);}catch(_0x5ae352){return!0x1;}}function _0x56166c(_0x1184b7){return Array['isArray'](_0x1184b7)?_0x1184b7:[_0x1184b7];}function bestBy(_0x3715b5,_0x21231b,_0x198c98){if(0x0!==_0x3715b5['length'])return _0x3715b5['reduce']((_0x308b0e,_0x3ef275)=>{const _0x280513=[_0x21231b(_0x3ef275),_0x3ef275];return _0x308b0e&&_0x198c98(_0x308b0e[0x0],_0x280513[0x0])===_0x308b0e[0x0]?_0x308b0e:_0x280513;},null)[0x1];}function _0x5ac232(_0x182e81,_0x5bfdac){return _0x5bfdac['reduce']((_0x3a5605,_0x218477)=>(_0x3a5605[_0x218477]=_0x182e81[_0x218477],_0x3a5605),{});}function hasOwnProperty(_0x597b45,_0x334402){return Object['prototype']['hasOwnProperty']['call'](_0x597b45,_0x334402);}function validateWeekSettings(_0x16bae7){if(null==_0x16bae7)return null;if('object'!=typeof _0x16bae7)throw new InvalidArgumentError('Week\x20settings\x20must\x20be\x20an\x20object');if(!integerBetween(_0x16bae7['firstDay'],0x1,0x7)||!integerBetween(_0x16bae7['minimalDays'],0x1,0x7)||!Array['isArray'](_0x16bae7['weekend'])||_0x16bae7['weekend']['some'](_0xcdefcf=>!integerBetween(_0xcdefcf,0x1,0x7)))throw new InvalidArgumentError('Invalid\x20week\x20settings');return{'firstDay':_0x16bae7['firstDay'],'minimalDays':_0x16bae7['minimalDays'],'weekend':Array['from'](_0x16bae7['weekend'])};}function integerBetween(_0x29b628,_0x3a8d19,_0x3ce500){return isInteger$1(_0x29b628)&&_0x29b628>=_0x3a8d19&&_0x29b628<=_0x3ce500;}function _0x3e2dc7(_0x1d578d,_0x12370f){return _0x1d578d-_0x12370f*Math['floor'](_0x1d578d/_0x12370f);}function padStart(_0x1efeff,_0x1b2d68=0x2){let _0x48c0be;return _0x48c0be=_0x1efeff<0x0?'-'+(''+-_0x1efeff)['padStart'](_0x1b2d68,'0'):(''+_0x1efeff)['padStart'](_0x1b2d68,'0'),_0x48c0be;}function parseInteger(_0x29aa22){return _0x539845(_0x29aa22)||null===_0x29aa22||''===_0x29aa22?void 0x0:parseInt(_0x29aa22,0xa);}function parseFloating(_0x445509){return _0x539845(_0x445509)||null===_0x445509||''===_0x445509?void 0x0:parseFloat(_0x445509);}function _0x2cd3a0(_0x3e754b){if(!_0x539845(_0x3e754b)&&null!==_0x3e754b&&''!==_0x3e754b){const _0x131d4f=0x3e8*parseFloat('0.'+_0x3e754b);return Math['floor'](_0x131d4f);}}function _0x1d1899(_0x753391,_0x1edaa5,_0x408654=!0x1){const _0x39469a=0xa**_0x1edaa5;return(_0x408654?Math['trunc']:Math['round'])(_0x753391*_0x39469a)/_0x39469a;}function _0x11aa92(_0x3aaf18){return _0x3aaf18%0x4==0x0&&(_0x3aaf18%0x64!=0x0||_0x3aaf18%0x190==0x0);}function _0x3c1bd9(_0x5b3e3b){return _0x11aa92(_0x5b3e3b)?0x16e:0x16d;}function daysInMonth(_0x6e5400,_0x3e8948){const _0x29dc75=_0x3e2dc7(_0x3e8948-0x1,0xc)+0x1;return 0x2===_0x29dc75?_0x11aa92(_0x6e5400+(_0x3e8948-_0x29dc75)/0xc)?0x1d:0x1c:[0x1f,null,0x1f,0x1e,0x1f,0x1e,0x1f,0x1f,0x1e,0x1f,0x1e,0x1f][_0x29dc75-0x1];}function _0x3587d8(_0x15c6e7){let _0x1071c9=Date['UTC'](_0x15c6e7['year'],_0x15c6e7['month']-0x1,_0x15c6e7['day'],_0x15c6e7['hour'],_0x15c6e7['minute'],_0x15c6e7['second'],_0x15c6e7['millisecond']);return _0x15c6e7['year']<0x64&&_0x15c6e7['year']>=0x0&&(_0x1071c9=new Date(_0x1071c9),_0x1071c9['setUTCFullYear'](_0x15c6e7['year'],_0x15c6e7['month']-0x1,_0x15c6e7['day'])),+_0x1071c9;}function firstWeekOffset(_0x11c617,_0x1f3fbc,_0x26cef7){return-_0x1163b2(_0x31088b(_0x11c617,0x1,_0x1f3fbc),_0x26cef7)+_0x1f3fbc-0x1;}function _0x103e14(_0x1872a0,_0x4e4e4e=0x4,_0x5707c2=0x1){const _0x167795=firstWeekOffset(_0x1872a0,_0x4e4e4e,_0x5707c2),_0x469448=firstWeekOffset(_0x1872a0+0x1,_0x4e4e4e,_0x5707c2);return(_0x3c1bd9(_0x1872a0)-_0x167795+_0x469448)/0x7;}function untruncateYear(_0x518954){return _0x518954>0x63?_0x518954:_0x518954>Settings['twoDigitCutoffYear']?0x76c+_0x518954:0x7d0+_0x518954;}function _0x38d237(_0x1bafa3,_0x2014c7,_0x13a304,_0x27d39b=null){const _0x26d6c4=new Date(_0x1bafa3),_0x3854ee={'hourCycle':'h23','year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit'};_0x27d39b&&(_0x3854ee['timeZone']=_0x27d39b);const _0x7e2cb6={'timeZoneName':_0x2014c7,..._0x3854ee},_0x28137c=new Intl['DateTimeFormat'](_0x13a304,_0x7e2cb6)['formatToParts'](_0x26d6c4)['find'](_0x43f952=>'timezonename'===_0x43f952['type']['toLowerCase']());return _0x28137c?_0x28137c['value']:null;}function signedOffset(_0x27c98c,_0x1ffe36){let _0x58bf13=parseInt(_0x27c98c,0xa);Number['isNaN'](_0x58bf13)&&(_0x58bf13=0x0);const _0x4ada4a=parseInt(_0x1ffe36,0xa)||0x0;return 0x3c*_0x58bf13+(_0x58bf13<0x0||Object['is'](_0x58bf13,-0x0)?-_0x4ada4a:_0x4ada4a);}function _0x2cc75d(_0x4d3f4d){const _0x217166=Number(_0x4d3f4d);if('boolean'==typeof _0x4d3f4d||''===_0x4d3f4d||Number['isNaN'](_0x217166))throw new InvalidArgumentError('Invalid\x20unit\x20value\x20'+_0x4d3f4d);return _0x217166;}function normalizeObject(_0x22c659,_0x6611db){const _0x883793={};for(const _0x3522ea in _0x22c659)if(hasOwnProperty(_0x22c659,_0x3522ea)){const _0x58ea2a=_0x22c659[_0x3522ea];if(null==_0x58ea2a)continue;_0x883793[_0x6611db(_0x3522ea)]=_0x2cc75d(_0x58ea2a);}return _0x883793;}function formatOffset(_0x77b64d,_0x495c97){const _0x263541=Math['trunc'](Math['abs'](_0x77b64d/0x3c)),_0x353218=Math['trunc'](Math['abs'](_0x77b64d%0x3c)),_0x3152c=_0x77b64d>=0x0?'+':'-';switch(_0x495c97){case'short':return''+_0x3152c+padStart(_0x263541,0x2)+':'+padStart(_0x353218,0x2);case'narrow':return''+_0x3152c+_0x263541+(_0x353218>0x0?':'+_0x353218:'');case'techie':return''+_0x3152c+padStart(_0x263541,0x2)+padStart(_0x353218,0x2);default:throw new RangeError('Value\x20format\x20'+_0x495c97+'\x20is\x20out\x20of\x20range\x20for\x20property\x20format');}}function timeObject(_0x4deb69){return _0x5ac232(_0x4deb69,['hour','minute','second','millisecond']);}const monthsLong=['January','February','March','April','May','June','July','August','September','October','November','December'],monthsShort=['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],monthsNarrow=['J','F','M','A','M','J','J','A','S','O','N','D'];function months(_0x254b22){switch(_0x254b22){case'narrow':return[...monthsNarrow];case'short':return[...monthsShort];case'long':return[...monthsLong];case'numeric':return['1','2','3','4','5','6','7','8','9','10','11','12'];case'2-digit':return['01','02','03','04','05','06','07','08','09','10','11','12'];default:return null;}}const _0x3927d7=['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'],weekdaysShort=['Mon','Tue','Wed','Thu','Fri','Sat','Sun'],_0x15872e=['M','T','W','T','F','S','S'];function _0x8aea1(_0x32acd3){switch(_0x32acd3){case'narrow':return[..._0x15872e];case'short':return[...weekdaysShort];case'long':return[..._0x3927d7];case'numeric':return['1','2','3','4','5','6','7'];default:return null;}}const _0x4dd725=['AM','PM'],_0x403637=['Before\x20Christ','Anno\x20Domini'],erasShort=['BC','AD'],_0xe0a8be=['B','A'];function _0x23c278(_0x3b8673){switch(_0x3b8673){case'narrow':return[..._0xe0a8be];case'short':return[...erasShort];case'long':return[..._0x403637];default:return null;}}function meridiemForDateTime(_0x3c305f){return _0x4dd725[_0x3c305f['hour']<0xc?0x0:0x1];}function weekdayForDateTime(_0x28fb0b,_0xb49749){return _0x8aea1(_0xb49749)[_0x28fb0b['weekday']-0x1];}function monthForDateTime(_0x5af36e,_0x12977e){return months(_0x12977e)[_0x5af36e['month']-0x1];}function eraForDateTime(_0xef052c,_0x392b5c){return _0x23c278(_0x392b5c)[_0xef052c['year']<0x0?0x0:0x1];}function formatRelativeTime(_0x347f8b,_0x2fcb31,_0x33742d='always',_0x56dfa3=!0x1){const _0x411ff1={'years':['year','yr.'],'quarters':['quarter','qtr.'],'months':['month','mo.'],'weeks':['week','wk.'],'days':['day','day','days'],'hours':['hour','hr.'],'minutes':['minute','min.'],'seconds':['second','sec.']},_0x4ba1ea=-0x1===['hours','minutes','seconds']['indexOf'](_0x347f8b);if('auto'===_0x33742d&&_0x4ba1ea){const _0x3ccdf0='days'===_0x347f8b;switch(_0x2fcb31){case 0x1:return _0x3ccdf0?'tomorrow':'next\x20'+_0x411ff1[_0x347f8b][0x0];case-0x1:return _0x3ccdf0?'yesterday':'last\x20'+_0x411ff1[_0x347f8b][0x0];case 0x0:return _0x3ccdf0?'today':'this\x20'+_0x411ff1[_0x347f8b][0x0];}}const _0xdf00c2=Object['is'](_0x2fcb31,-0x0)||_0x2fcb31<0x0,_0x4948e0=Math['abs'](_0x2fcb31),_0xf4248b=0x1===_0x4948e0,_0x36e3bf=_0x411ff1[_0x347f8b],_0x1a9566=_0x56dfa3?_0xf4248b?_0x36e3bf[0x1]:_0x36e3bf[0x2]||_0x36e3bf[0x1]:_0xf4248b?_0x411ff1[_0x347f8b][0x0]:_0x347f8b;return _0xdf00c2?_0x4948e0+'\x20'+_0x1a9566+'\x20ago':'in\x20'+_0x4948e0+'\x20'+_0x1a9566;}function stringifyTokens(_0x48d7c6,_0x5d4b58){let _0x4d6d96='';for(const _0x5ee168 of _0x48d7c6)_0x5ee168['literal']?_0x4d6d96+=_0x5ee168['val']:_0x4d6d96+=_0x5d4b58(_0x5ee168['val']);return _0x4d6d96;}const macroTokenToFormatOpts={'D':_0x48fd6d,'DD':_0x3c5ef8,'DDD':_0x4cd4f6,'DDDD':_0x157614,'t':_0x2d50ef,'tt':_0x1664fa,'ttt':_0x301e92,'tttt':_0x2c5caa,'T':_0x4353f4,'TT':_0x432721,'TTT':_0x4a6b2e,'TTTT':_0x27f277,'f':_0x2a00a,'ff':_0x1b507b,'fff':_0x3b647a,'ffff':_0x5dca2e,'F':_0x35fa81,'FF':_0x327afd,'FFF':_0x1576e9,'FFFF':_0x479d00};class Formatter{static['create'](_0x3bad51,_0x28ada5={}){return new Formatter(_0x3bad51,_0x28ada5);}static['parseFormat'](_0x53ee79){let _0xd556d2=null,_0x23ce34='',_0x358a6f=!0x1;const _0x514c22=[];for(let _0xb2a55d=0x0;_0xb2a55d<_0x53ee79['length'];_0xb2a55d++){const _0x3ad22b=_0x53ee79['charAt'](_0xb2a55d);'\x27'===_0x3ad22b?(_0x23ce34['length']>0x0&&_0x514c22['push']({'literal':_0x358a6f||/^\s+$/['test'](_0x23ce34),'val':_0x23ce34}),_0xd556d2=null,_0x23ce34='',_0x358a6f=!_0x358a6f):_0x358a6f||_0x3ad22b===_0xd556d2?_0x23ce34+=_0x3ad22b:(_0x23ce34['length']>0x0&&_0x514c22['push']({'literal':/^\s+$/['test'](_0x23ce34),'val':_0x23ce34}),_0x23ce34=_0x3ad22b,_0xd556d2=_0x3ad22b);}return _0x23ce34['length']>0x0&&_0x514c22['push']({'literal':_0x358a6f||/^\s+$/['test'](_0x23ce34),'val':_0x23ce34}),_0x514c22;}static['macroTokenToFormatOpts'](_0x5432cf){return macroTokenToFormatOpts[_0x5432cf];}constructor(_0x3bbeb8,_0xf5e1d7){this['opts']=_0xf5e1d7,this['loc']=_0x3bbeb8,this['systemLoc']=null;}['formatWithSystemDefault'](_0x225108,_0x3dd9ac){return null===this['systemLoc']&&(this['systemLoc']=this['loc']['redefaultToSystem']()),this['systemLoc']['dtFormatter'](_0x225108,{...this['opts'],..._0x3dd9ac})['format']();}['dtFormatter'](_0x645de2,_0x18b0b3={}){return this['loc']['dtFormatter'](_0x645de2,{...this['opts'],..._0x18b0b3});}['formatDateTime'](_0x58b65c,_0x32e9c0){return this['dtFormatter'](_0x58b65c,_0x32e9c0)['format']();}['formatDateTimeParts'](_0x3dd11d,_0x237177){return this['dtFormatter'](_0x3dd11d,_0x237177)['formatToParts']();}['formatInterval'](_0x48ac92,_0x584462){return this['dtFormatter'](_0x48ac92['start'],_0x584462)['dtf']['formatRange'](_0x48ac92['start']['toJSDate'](),_0x48ac92['end']['toJSDate']());}['resolvedOptions'](_0x394e21,_0x59cd48){return this['dtFormatter'](_0x394e21,_0x59cd48)['resolvedOptions']();}['num'](_0x26aec9,_0x592256=0x0){if(this['opts']['forceSimple'])return padStart(_0x26aec9,_0x592256);const _0x4c4221={...this['opts']};return _0x592256>0x0&&(_0x4c4221['padTo']=_0x592256),this['loc']['numberFormatter'](_0x4c4221)['format'](_0x26aec9);}['formatDateTimeFromString'](_0x14a367,_0x15f94d){const _0x59e041='en'===this['loc']['listingMode'](),_0x56acf9=this['loc']['outputCalendar']&&'gregory'!==this['loc']['outputCalendar'],_0x25c8cc=(_0x283a19,_0x1728d7)=>this['loc']['extract'](_0x14a367,_0x283a19,_0x1728d7),_0x5c1176=_0x2533e0=>_0x14a367['isOffsetFixed']&&0x0===_0x14a367['offset']&&_0x2533e0['allowZ']?'Z':_0x14a367['isValid']?_0x14a367['zone']['formatOffset'](_0x14a367['ts'],_0x2533e0['format']):'',_0x5095ff=(_0x74b0ec,_0x209fcf)=>_0x59e041?monthForDateTime(_0x14a367,_0x74b0ec):_0x25c8cc(_0x209fcf?{'month':_0x74b0ec}:{'month':_0x74b0ec,'day':'numeric'},'month'),_0x527a00=(_0x5ca3df,_0x35a9ce)=>_0x59e041?weekdayForDateTime(_0x14a367,_0x5ca3df):_0x25c8cc(_0x35a9ce?{'weekday':_0x5ca3df}:{'weekday':_0x5ca3df,'month':'long','day':'numeric'},'weekday'),_0x35901f=_0x472c9a=>{const _0x303d1f=Formatter['macroTokenToFormatOpts'](_0x472c9a);return _0x303d1f?this['formatWithSystemDefault'](_0x14a367,_0x303d1f):_0x472c9a;},_0x5b9319=_0x66cc66=>_0x59e041?eraForDateTime(_0x14a367,_0x66cc66):_0x25c8cc({'era':_0x66cc66},'era');return stringifyTokens(Formatter['parseFormat'](_0x15f94d),_0x2ce32b=>{switch(_0x2ce32b){case'S':return this['num'](_0x14a367['millisecond']);case'u':case'SSS':return this['num'](_0x14a367['millisecond'],0x3);case's':return this['num'](_0x14a367['second']);case'ss':return this['num'](_0x14a367['second'],0x2);case'uu':return this['num'](Math['floor'](_0x14a367['millisecond']/0xa),0x2);case'uuu':return this['num'](Math['floor'](_0x14a367['millisecond']/0x64));case'm':return this['num'](_0x14a367['minute']);case'mm':return this['num'](_0x14a367['minute'],0x2);case'h':return this['num'](_0x14a367['hour']%0xc==0x0?0xc:_0x14a367['hour']%0xc);case'hh':return this['num'](_0x14a367['hour']%0xc==0x0?0xc:_0x14a367['hour']%0xc,0x2);case'H':return this['num'](_0x14a367['hour']);case'HH':return this['num'](_0x14a367['hour'],0x2);case'Z':return _0x5c1176({'format':'narrow','allowZ':this['opts']['allowZ']});case'ZZ':return _0x5c1176({'format':'short','allowZ':this['opts']['allowZ']});case'ZZZ':return _0x5c1176({'format':'techie','allowZ':this['opts']['allowZ']});case'ZZZZ':return _0x14a367['zone']['offsetName'](_0x14a367['ts'],{'format':'short','locale':this['loc']['locale']});case'ZZZZZ':return _0x14a367['zone']['offsetName'](_0x14a367['ts'],{'format':'long','locale':this['loc']['locale']});case'z':return _0x14a367['zoneName'];case'a':return _0x59e041?meridiemForDateTime(_0x14a367):_0x25c8cc({'hour':'numeric','hourCycle':'h12'},'dayperiod');case'd':return _0x56acf9?_0x25c8cc({'day':'numeric'},'day'):this['num'](_0x14a367['day']);case'dd':return _0x56acf9?_0x25c8cc({'day':'2-digit'},'day'):this['num'](_0x14a367['day'],0x2);case'c':case'E':return this['num'](_0x14a367['weekday']);case'ccc':return _0x527a00('short',!0x0);case'cccc':return _0x527a00('long',!0x0);case'ccccc':return _0x527a00('narrow',!0x0);case'EEE':return _0x527a00('short',!0x1);case'EEEE':return _0x527a00('long',!0x1);case'EEEEE':return _0x527a00('narrow',!0x1);case'L':return _0x56acf9?_0x25c8cc({'month':'numeric','day':'numeric'},'month'):this['num'](_0x14a367['month']);case'LL':return _0x56acf9?_0x25c8cc({'month':'2-digit','day':'numeric'},'month'):this['num'](_0x14a367['month'],0x2);case'LLL':return _0x5095ff('short',!0x0);case'LLLL':return _0x5095ff('long',!0x0);case'LLLLL':return _0x5095ff('narrow',!0x0);case'M':return _0x56acf9?_0x25c8cc({'month':'numeric'},'month'):this['num'](_0x14a367['month']);case'MM':return _0x56acf9?_0x25c8cc({'month':'2-digit'},'month'):this['num'](_0x14a367['month'],0x2);case'MMM':return _0x5095ff('short',!0x1);case'MMMM':return _0x5095ff('long',!0x1);case'MMMMM':return _0x5095ff('narrow',!0x1);case'y':return _0x56acf9?_0x25c8cc({'year':'numeric'},'year'):this['num'](_0x14a367['year']);case'yy':return _0x56acf9?_0x25c8cc({'year':'2-digit'},'year'):this['num'](_0x14a367['year']['toString']()['slice'](-0x2),0x2);case'yyyy':return _0x56acf9?_0x25c8cc({'year':'numeric'},'year'):this['num'](_0x14a367['year'],0x4);case'yyyyyy':return _0x56acf9?_0x25c8cc({'year':'numeric'},'year'):this['num'](_0x14a367['year'],0x6);case'G':return _0x5b9319('short');case'GG':return _0x5b9319('long');case'GGGGG':return _0x5b9319('narrow');case'kk':return this['num'](_0x14a367['weekYear']['toString']()['slice'](-0x2),0x2);case'kkkk':return this['num'](_0x14a367['weekYear'],0x4);case'W':return this['num'](_0x14a367['weekNumber']);case'WW':return this['num'](_0x14a367['weekNumber'],0x2);case'n':return this['num'](_0x14a367['localWeekNumber']);case'nn':return this['num'](_0x14a367['localWeekNumber'],0x2);case'ii':return this['num'](_0x14a367['localWeekYear']['toString']()['slice'](-0x2),0x2);case'iiii':return this['num'](_0x14a367['localWeekYear'],0x4);case'o':return this['num'](_0x14a367['ordinal']);case'ooo':return this['num'](_0x14a367['ordinal'],0x3);case'q':return this['num'](_0x14a367['quarter']);case'qq':return this['num'](_0x14a367['quarter'],0x2);case'X':return this['num'](Math['floor'](_0x14a367['ts']/0x3e8));case'x':return this['num'](_0x14a367['ts']);default:return _0x35901f(_0x2ce32b);}});}['formatDurationFromString'](_0x38d52e,_0x141645){const _0x24e053=_0x147aaa=>{switch(_0x147aaa[0x0]){case'S':return'millisecond';case's':return'second';case'm':return'minute';case'h':return'hour';case'd':return'day';case'w':return'week';case'M':return'month';case'y':return'year';default:return null;}},_0x47cce3=Formatter['parseFormat'](_0x141645),_0x15b07e=_0x47cce3['reduce']((_0x4a2f0,{literal:_0x33f879,val:_0x219844})=>_0x33f879?_0x4a2f0:_0x4a2f0['concat'](_0x219844),[]),_0x24a133=_0x38d52e['shiftTo'](..._0x15b07e['map'](_0x24e053)['filter'](t=>t));return stringifyTokens(_0x47cce3,(_0xd3ba4f=>_0x225667=>{const _0x1a5ce3=_0x24e053(_0x225667);return _0x1a5ce3?this['num'](_0xd3ba4f['get'](_0x1a5ce3),_0x225667['length']):_0x225667;})(_0x24a133));}}const _0x232ffb=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function _0x38e1e4(..._0x1af385){const _0x175ed1=_0x1af385['reduce']((_0x33979d,_0x8e72c7)=>_0x33979d+_0x8e72c7['source'],'');return RegExp('^'+_0x175ed1+'$');}function combineExtractors(..._0x3e8bd3){return _0x518933=>_0x3e8bd3['reduce'](([_0x339409,_0x16c389,_0x43925f],_0x53537d)=>{const [_0x3b57d3,_0x2d6711,_0x19dce4]=_0x53537d(_0x518933,_0x43925f);return[{..._0x339409,..._0x3b57d3},_0x2d6711||_0x16c389,_0x19dce4];},[{},null,0x1])['slice'](0x0,0x2);}function _0x399f6a(_0x1c76eb,..._0x3c1ee2){if(null==_0x1c76eb)return[null,null];for(const [_0x4f15d0,_0xba287d]of _0x3c1ee2){const _0x422c62=_0x4f15d0['exec'](_0x1c76eb);if(_0x422c62)return _0xba287d(_0x422c62);}return[null,null];}function _0x569898(..._0x4f95e7){return(_0x129cdb,_0x571803)=>{const _0xd0d28b={};let _0x390113;for(_0x390113=0x0;_0x390113<_0x4f95e7['length'];_0x390113++)_0xd0d28b[_0x4f95e7[_0x390113]]=parseInteger(_0x129cdb[_0x571803+_0x390113]);return[_0xd0d28b,null,_0x571803+_0x390113];};}const offsetRegex=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,isoExtendedZone='(?:'+offsetRegex['source']+'?(?:\x5c[('+_0x232ffb['source']+')\x5c])?)?',_0x10cdf0=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,_0xf56891=RegExp(''+_0x10cdf0['source']+isoExtendedZone),isoTimeExtensionRegex=RegExp('(?:T'+_0xf56891['source']+')?'),_0x580943=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,_0x22b076=/(\d{4})-?W(\d\d)(?:-?(\d))?/,_0x5ee9b7=/(\d{4})-?(\d{3})/,extractISOWeekData=_0x569898('weekYear','weekNumber','weekDay'),extractISOOrdinalData=_0x569898('year','ordinal'),_0x4e824f=/(\d{4})-(\d\d)-(\d\d)/,_0x5c79aa=RegExp(_0x10cdf0['source']+'\x20?(?:'+offsetRegex['source']+'|('+_0x232ffb['source']+'))?'),sqlTimeExtensionRegex=RegExp('(?:\x20'+_0x5c79aa['source']+')?');function int(_0x25380c,_0x54e9fe,_0x25ca9d){const _0x226f55=_0x25380c[_0x54e9fe];return _0x539845(_0x226f55)?_0x25ca9d:parseInteger(_0x226f55);}function extractISOYmd(_0x20c80a,_0x1511d3){return[{'year':int(_0x20c80a,_0x1511d3),'month':int(_0x20c80a,_0x1511d3+0x1,0x1),'day':int(_0x20c80a,_0x1511d3+0x2,0x1)},null,_0x1511d3+0x3];}function extractISOTime(_0x485b24,_0x53b83a){return[{'hours':int(_0x485b24,_0x53b83a,0x0),'minutes':int(_0x485b24,_0x53b83a+0x1,0x0),'seconds':int(_0x485b24,_0x53b83a+0x2,0x0),'milliseconds':_0x2cd3a0(_0x485b24[_0x53b83a+0x3])},null,_0x53b83a+0x4];}function extractISOOffset(_0x47a2c9,_0x2f0064){const _0x326dc3=!_0x47a2c9[_0x2f0064]&&!_0x47a2c9[_0x2f0064+0x1],_0x79b727=signedOffset(_0x47a2c9[_0x2f0064+0x1],_0x47a2c9[_0x2f0064+0x2]);return[{},_0x326dc3?null:FixedOffsetZone['instance'](_0x79b727),_0x2f0064+0x3];}function extractIANAZone(_0x56f9fc,_0x3a79a4){return[{},_0x56f9fc[_0x3a79a4]?_0x434561['create'](_0x56f9fc[_0x3a79a4]):null,_0x3a79a4+0x1];}const _0x2d30cb=RegExp('^T?'+_0x10cdf0['source']+'$'),isoDuration=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function extractISODuration(_0x4e35cd){const [_0x5d3536,_0x3aa41d,_0x44698d,_0x431830,_0x171229,_0x2ea7f4,_0x36737c,_0x5e843a,_0x4d044f]=_0x4e35cd,_0x475845='-'===_0x5d3536[0x0],_0x5b94a3=_0x5e843a&&'-'===_0x5e843a[0x0],_0x26de14=(_0x48a7f2,_0x33a6f8=!0x1)=>void 0x0!==_0x48a7f2&&(_0x33a6f8||_0x48a7f2&&_0x475845)?-_0x48a7f2:_0x48a7f2;return[{'years':_0x26de14(parseFloating(_0x3aa41d)),'months':_0x26de14(parseFloating(_0x44698d)),'weeks':_0x26de14(parseFloating(_0x431830)),'days':_0x26de14(parseFloating(_0x171229)),'hours':_0x26de14(parseFloating(_0x2ea7f4)),'minutes':_0x26de14(parseFloating(_0x36737c)),'seconds':_0x26de14(parseFloating(_0x5e843a),'-0'===_0x5e843a),'milliseconds':_0x26de14(_0x2cd3a0(_0x4d044f),_0x5b94a3)}];}const obsOffsets={'GMT':0x0,'EDT':-0xf0,'EST':-0x12c,'CDT':-0x12c,'CST':-0x168,'MDT':-0x168,'MST':-0x1a4,'PDT':-0x1a4,'PST':-0x1e0};function fromStrings(_0x42cb98,_0x2aa645,_0x1313a2,_0x573a5d,_0x515bfd,_0x332f12,_0xc333b6){const _0x9d6a23={'year':0x2===_0x2aa645['length']?untruncateYear(parseInteger(_0x2aa645)):parseInteger(_0x2aa645),'month':monthsShort['indexOf'](_0x1313a2)+0x1,'day':parseInteger(_0x573a5d),'hour':parseInteger(_0x515bfd),'minute':parseInteger(_0x332f12)};return _0xc333b6&&(_0x9d6a23['second']=parseInteger(_0xc333b6)),_0x42cb98&&(_0x9d6a23['weekday']=_0x42cb98['length']>0x3?_0x3927d7['indexOf'](_0x42cb98)+0x1:weekdaysShort['indexOf'](_0x42cb98)+0x1),_0x9d6a23;}const _0x532f3c=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function extractRFC2822(_0x1e23e1){const [,_0x21b9f5,_0x3c60b8,_0xa5f16f,_0x457225,_0x21245d,_0x196cc4,_0x2d3595,_0x10f460,_0x3ed9b5,_0x562ac2,_0x5a9b4f]=_0x1e23e1,_0x1314c6=fromStrings(_0x21b9f5,_0x457225,_0xa5f16f,_0x3c60b8,_0x21245d,_0x196cc4,_0x2d3595);let _0x10f003;return _0x10f003=_0x10f460?obsOffsets[_0x10f460]:_0x3ed9b5?0x0:signedOffset(_0x562ac2,_0x5a9b4f),[_0x1314c6,new FixedOffsetZone(_0x10f003)];}function _0x2cf743(_0x4f66bd){return _0x4f66bd['replace'](/\([^()]*\)|[\n\t]/g,'\x20')['replace'](/(\s\s+)/g,'\x20')['trim']();}const _0x168d3c=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,_0x59e607=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,_0x193a75=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function extractRFC1123Or850(_0x28b80a){const [,_0x36216f,_0x31f437,_0x1f3322,_0x547880,_0x54b0cd,_0x11f932,_0x245768]=_0x28b80a;return[fromStrings(_0x36216f,_0x547880,_0x1f3322,_0x31f437,_0x54b0cd,_0x11f932,_0x245768),FixedOffsetZone['utcInstance']];}function extractASCII(_0x9c634f){const [,_0x4c7d04,_0x585121,_0x18ec8e,_0xcc2320,_0x5189f5,_0x348425,_0x11831f]=_0x9c634f;return[fromStrings(_0x4c7d04,_0x11831f,_0x585121,_0x18ec8e,_0xcc2320,_0x5189f5,_0x348425),FixedOffsetZone['utcInstance']];}const isoYmdWithTimeExtensionRegex=_0x38e1e4(_0x580943,isoTimeExtensionRegex),isoWeekWithTimeExtensionRegex=_0x38e1e4(_0x22b076,isoTimeExtensionRegex),isoOrdinalWithTimeExtensionRegex=_0x38e1e4(_0x5ee9b7,isoTimeExtensionRegex),_0xa103da=_0x38e1e4(_0xf56891),extractISOYmdTimeAndOffset=combineExtractors(extractISOYmd,extractISOTime,extractISOOffset,extractIANAZone),extractISOWeekTimeAndOffset=combineExtractors(extractISOWeekData,extractISOTime,extractISOOffset,extractIANAZone),extractISOOrdinalDateAndTime=combineExtractors(extractISOOrdinalData,extractISOTime,extractISOOffset,extractIANAZone),extractISOTimeAndOffset=combineExtractors(extractISOTime,extractISOOffset,extractIANAZone);function parseISODate(_0x4d165f){return _0x399f6a(_0x4d165f,[isoYmdWithTimeExtensionRegex,extractISOYmdTimeAndOffset],[isoWeekWithTimeExtensionRegex,extractISOWeekTimeAndOffset],[isoOrdinalWithTimeExtensionRegex,extractISOOrdinalDateAndTime],[_0xa103da,extractISOTimeAndOffset]);}function parseRFC2822Date(_0x372cda){return _0x399f6a(_0x2cf743(_0x372cda),[_0x532f3c,extractRFC2822]);}function parseHTTPDate(_0x4a9dc2){return _0x399f6a(_0x4a9dc2,[_0x168d3c,extractRFC1123Or850],[_0x59e607,extractRFC1123Or850],[_0x193a75,extractASCII]);}function parseISODuration(_0x1d7305){return _0x399f6a(_0x1d7305,[isoDuration,extractISODuration]);}const extractISOTimeOnly=combineExtractors(extractISOTime);function _0x4e85f7(_0x2ed804){return _0x399f6a(_0x2ed804,[_0x2d30cb,extractISOTimeOnly]);}const sqlYmdWithTimeExtensionRegex=_0x38e1e4(_0x4e824f,sqlTimeExtensionRegex),_0x2a1c2d=_0x38e1e4(_0x5c79aa),extractISOTimeOffsetAndIANAZone=combineExtractors(extractISOTime,extractISOOffset,extractIANAZone);function _0x406a45(_0x15f501){return _0x399f6a(_0x15f501,[sqlYmdWithTimeExtensionRegex,extractISOYmdTimeAndOffset],[_0x2a1c2d,extractISOTimeOffsetAndIANAZone]);}const _0x163feb='Invalid\x20Duration',lowOrderMatrix={'weeks':{'days':0x7,'hours':0xa8,'minutes':0x2760,'seconds':0x93a80,'milliseconds':0x240c8400},'days':{'hours':0x18,'minutes':0x5a0,'seconds':0x15180,'milliseconds':0x5265c00},'hours':{'minutes':0x3c,'seconds':0xe10,'milliseconds':0x36ee80},'minutes':{'seconds':0x3c,'milliseconds':0xea60},'seconds':{'milliseconds':0x3e8}},casualMatrix={'years':{'quarters':0x4,'months':0xc,'weeks':0x34,'days':0x16d,'hours':0x2238,'minutes':0x80520,'seconds':0x1e13380,'milliseconds':0x757b12c00},'quarters':{'months':0x3,'weeks':0xd,'days':0x5b,'hours':0x888,'minutes':0x1ffe0,'seconds':0x77f880,'milliseconds':0x1d4a2b400},'months':{'weeks':0x4,'days':0x1e,'hours':0x2d0,'minutes':0xa8c0,'seconds':0x278d00,'milliseconds':0x9a7ec800},...lowOrderMatrix},daysInYearAccurate=365.2425,daysInMonthAccurate=30.436875,accurateMatrix={'years':{'quarters':0x4,'months':0xc,'weeks':daysInYearAccurate/0x7,'days':daysInYearAccurate,'hours':0x18*daysInYearAccurate,'minutes':0x18*daysInYearAccurate*0x3c,'seconds':0x18*daysInYearAccurate*0x3c*0x3c,'milliseconds':0x18*daysInYearAccurate*0x3c*0x3c*0x3e8},'quarters':{'months':0x3,'weeks':daysInYearAccurate/0x1c,'days':daysInYearAccurate/0x4,'hours':0x18*daysInYearAccurate/0x4,'minutes':0x18*daysInYearAccurate*0x3c/0x4,'seconds':0x18*daysInYearAccurate*0x3c*0x3c/0x4,'milliseconds':0x18*daysInYearAccurate*0x3c*0x3c*0x3e8/0x4},'months':{'weeks':daysInMonthAccurate/0x7,'days':daysInMonthAccurate,'hours':0x18*daysInMonthAccurate,'minutes':0x18*daysInMonthAccurate*0x3c,'seconds':0x18*daysInMonthAccurate*0x3c*0x3c,'milliseconds':0x18*daysInMonthAccurate*0x3c*0x3c*0x3e8},...lowOrderMatrix},orderedUnits$1=['years','quarters','months','weeks','days','hours','minutes','seconds','milliseconds'],reverseUnits=orderedUnits$1['slice'](0x0)['reverse']();function _0x1e4337(_0x347f87,_0x38e71f,_0x50c5a2=!0x1){const _0x1a0bda={'values':_0x50c5a2?_0x38e71f['values']:{..._0x347f87['values'],..._0x38e71f['values']||{}},'loc':_0x347f87['loc']['clone'](_0x38e71f['loc']),'conversionAccuracy':_0x38e71f['conversionAccuracy']||_0x347f87['conversionAccuracy'],'matrix':_0x38e71f['matrix']||_0x347f87['matrix']};return new Duration(_0x1a0bda);}function durationToMillis(_0x2676db,_0x3bb430){let _0x20091d=_0x3bb430['milliseconds']??0x0;for(const _0x2dd8b7 of reverseUnits['slice'](0x1))_0x3bb430[_0x2dd8b7]&&(_0x20091d+=_0x3bb430[_0x2dd8b7]*_0x2676db[_0x2dd8b7]['milliseconds']);return _0x20091d;}function _0x270551(_0x5e5776,_0x390aad){const _0x382a82=durationToMillis(_0x5e5776,_0x390aad)<0x0?-0x1:0x1;orderedUnits$1['reduceRight']((_0x305972,_0xe9ec23)=>{if(_0x539845(_0x390aad[_0xe9ec23]))return _0x305972;if(_0x305972){const _0xba7ade=_0x390aad[_0x305972]*_0x382a82,_0xb83fad=_0x5e5776[_0xe9ec23][_0x305972],_0xdc965b=Math['floor'](_0xba7ade/_0xb83fad);_0x390aad[_0xe9ec23]+=_0xdc965b*_0x382a82,_0x390aad[_0x305972]-=_0xdc965b*_0xb83fad*_0x382a82;}return _0xe9ec23;},null),orderedUnits$1['reduce']((_0x436a7c,_0x232e6a)=>{if(_0x539845(_0x390aad[_0x232e6a]))return _0x436a7c;if(_0x436a7c){const _0x5931a4=_0x390aad[_0x436a7c]%0x1;_0x390aad[_0x436a7c]-=_0x5931a4,_0x390aad[_0x232e6a]+=_0x5931a4*_0x5e5776[_0x436a7c][_0x232e6a];}return _0x232e6a;},null);}function _0x28e3f5(_0x1f28d1){const _0x2a0482={};for(const [_0x1a8146,_0x591520]of Object['entries'](_0x1f28d1))0x0!==_0x591520&&(_0x2a0482[_0x1a8146]=_0x591520);return _0x2a0482;}class Duration{constructor(_0x4ef6aa){const _0x2ecb9a='longterm'===_0x4ef6aa['conversionAccuracy']||!0x1;let _0xa148ad=_0x2ecb9a?accurateMatrix:casualMatrix;_0x4ef6aa['matrix']&&(_0xa148ad=_0x4ef6aa['matrix']),this['values']=_0x4ef6aa['values'],this['loc']=_0x4ef6aa['loc']||_0x2fcf59['create'](),this['conversionAccuracy']=_0x2ecb9a?'longterm':'casual',this['invalid']=_0x4ef6aa['invalid']||null,this['matrix']=_0xa148ad,this['isLuxonDuration']=!0x0;}static['fromMillis'](_0x21c43c,_0x4aaf17){return Duration['fromObject']({'milliseconds':_0x21c43c},_0x4aaf17);}static['fromObject'](_0x972d55,_0x3de6cc={}){if(null==_0x972d55||'object'!=typeof _0x972d55)throw new InvalidArgumentError('Duration.fromObject:\x20argument\x20expected\x20to\x20be\x20an\x20object,\x20got\x20'+(null===_0x972d55?'null':typeof _0x972d55));return new Duration({'values':normalizeObject(_0x972d55,Duration['normalizeUnit']),'loc':_0x2fcf59['fromObject'](_0x3de6cc),'conversionAccuracy':_0x3de6cc['conversionAccuracy'],'matrix':_0x3de6cc['matrix']});}static['fromDurationLike'](_0x356b35){if(_0x1eaafc(_0x356b35))return Duration['fromMillis'](_0x356b35);if(Duration['isDuration'](_0x356b35))return _0x356b35;if('object'==typeof _0x356b35)return Duration['fromObject'](_0x356b35);throw new InvalidArgumentError('Unknown\x20duration\x20argument\x20'+_0x356b35+'\x20of\x20type\x20'+typeof _0x356b35);}static['fromISO'](_0x3e7692,_0x320716){const [_0x3d8bff]=parseISODuration(_0x3e7692);return _0x3d8bff?Duration['fromObject'](_0x3d8bff,_0x320716):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0x3e7692+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['fromISOTime'](_0x3fc075,_0x5dbde1){const [_0x4fb9e4]=_0x4e85f7(_0x3fc075);return _0x4fb9e4?Duration['fromObject'](_0x4fb9e4,_0x5dbde1):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0x3fc075+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['invalid'](_0xea76fb,_0x5ec01f=null){if(!_0xea76fb)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20Duration\x20is\x20invalid');const _0x3bdc62=_0xea76fb instanceof _0x4a5313?_0xea76fb:new _0x4a5313(_0xea76fb,_0x5ec01f);if(Settings['throwOnInvalid'])throw new InvalidDurationError(_0x3bdc62);return new Duration({'invalid':_0x3bdc62});}static['normalizeUnit'](_0x58c611){const _0x3991fa={'year':'years','years':'years','quarter':'quarters','quarters':'quarters','month':'months','months':'months','week':'weeks','weeks':'weeks','day':'days','days':'days','hour':'hours','hours':'hours','minute':'minutes','minutes':'minutes','second':'seconds','seconds':'seconds','millisecond':'milliseconds','milliseconds':'milliseconds'}[_0x58c611?_0x58c611['toLowerCase']():_0x58c611];if(!_0x3991fa)throw new InvalidUnitError(_0x58c611);return _0x3991fa;}static['isDuration'](_0x59f8b3){return _0x59f8b3&&_0x59f8b3['isLuxonDuration']||!0x1;}get['locale'](){return this['isValid']?this['loc']['locale']:null;}get['numberingSystem'](){return this['isValid']?this['loc']['numberingSystem']:null;}['toFormat'](_0x4d973e,_0x167d92={}){const _0x723472={..._0x167d92,'floor':!0x1!==_0x167d92['round']&&!0x1!==_0x167d92['floor']};return this['isValid']?Formatter['create'](this['loc'],_0x723472)['formatDurationFromString'](this,_0x4d973e):_0x163feb;}['toHuman'](_0x2d00ed={}){if(!this['isValid'])return _0x163feb;const _0x212f4b=orderedUnits$1['map'](_0x34bb3c=>{const _0x1d6a5e=this['values'][_0x34bb3c];return _0x539845(_0x1d6a5e)?null:this['loc']['numberFormatter']({'style':'unit','unitDisplay':'long',..._0x2d00ed,'unit':_0x34bb3c['slice'](0x0,-0x1)})['format'](_0x1d6a5e);})['filter'](_0xbd98d7=>_0xbd98d7);return this['loc']['listFormatter']({'type':'conjunction','style':_0x2d00ed['listStyle']||'narrow',..._0x2d00ed})['format'](_0x212f4b);}['toObject'](){return this['isValid']?{...this['values']}:{};}['toISO'](){if(!this['isValid'])return null;let _0x5c40a0='P';return 0x0!==this['years']&&(_0x5c40a0+=this['years']+'Y'),0x0===this['months']&&0x0===this['quarters']||(_0x5c40a0+=this['months']+0x3*this['quarters']+'M'),0x0!==this['weeks']&&(_0x5c40a0+=this['weeks']+'W'),0x0!==this['days']&&(_0x5c40a0+=this['days']+'D'),0x0===this['hours']&&0x0===this['minutes']&&0x0===this['seconds']&&0x0===this['milliseconds']||(_0x5c40a0+='T'),0x0!==this['hours']&&(_0x5c40a0+=this['hours']+'H'),0x0!==this['minutes']&&(_0x5c40a0+=this['minutes']+'M'),0x0===this['seconds']&&0x0===this['milliseconds']||(_0x5c40a0+=_0x1d1899(this['seconds']+this['milliseconds']/0x3e8,0x3)+'S'),'P'===_0x5c40a0&&(_0x5c40a0+='T0S'),_0x5c40a0;}['toISOTime'](_0x5efc90={}){if(!this['isValid'])return null;const _0x2b43da=this['toMillis']();if(_0x2b43da<0x0||_0x2b43da>=0x5265c00)return null;return _0x5efc90={'suppressMilliseconds':!0x1,'suppressSeconds':!0x1,'includePrefix':!0x1,'format':'extended',..._0x5efc90,'includeOffset':!0x1},DateTime['fromMillis'](_0x2b43da,{'zone':'UTC'})['toISOTime'](_0x5efc90);}['toJSON'](){return this['toISO']();}['toString'](){return this['toISO']();}[Symbol['for']('nodejs.util.inspect.custom')](){return this['isValid']?'Duration\x20{\x20values:\x20'+JSON['stringify'](this['values'])+'\x20}':'Duration\x20{\x20Invalid,\x20reason:\x20'+this['invalidReason']+'\x20}';}['toMillis'](){return this['isValid']?durationToMillis(this['matrix'],this['values']):NaN;}['valueOf'](){return this['toMillis']();}['plus'](_0x541f23){if(!this['isValid'])return this;const _0x15fa29=Duration['fromDurationLike'](_0x541f23),_0x58219b={};for(const _0x278f86 of orderedUnits$1)(hasOwnProperty(_0x15fa29['values'],_0x278f86)||hasOwnProperty(this['values'],_0x278f86))&&(_0x58219b[_0x278f86]=_0x15fa29['get'](_0x278f86)+this['get'](_0x278f86));return _0x1e4337(this,{'values':_0x58219b},!0x0);}['minus'](_0x896a0){if(!this['isValid'])return this;const _0x1769a7=Duration['fromDurationLike'](_0x896a0);return this['plus'](_0x1769a7['negate']());}['mapUnits'](_0xb23c7){if(!this['isValid'])return this;const _0x8c64b={};for(const _0x2b82a9 of Object['keys'](this['values']))_0x8c64b[_0x2b82a9]=_0x2cc75d(_0xb23c7(this['values'][_0x2b82a9],_0x2b82a9));return _0x1e4337(this,{'values':_0x8c64b},!0x0);}['get'](_0x580f10){return this[Duration['normalizeUnit'](_0x580f10)];}['set'](_0x525c2e){if(!this['isValid'])return this;return _0x1e4337(this,{'values':{...this['values'],...normalizeObject(_0x525c2e,Duration['normalizeUnit'])}});}['reconfigure']({locale:_0x218266,numberingSystem:_0x1257af,conversionAccuracy:_0x43d794,matrix:_0x15a163}={}){return _0x1e4337(this,{'loc':this['loc']['clone']({'locale':_0x218266,'numberingSystem':_0x1257af}),'matrix':_0x15a163,'conversionAccuracy':_0x43d794});}['as'](_0x14b5df){return this['isValid']?this['shiftTo'](_0x14b5df)['get'](_0x14b5df):NaN;}['normalize'](){if(!this['isValid'])return this;const _0x18cc27=this['toObject']();return _0x270551(this['matrix'],_0x18cc27),_0x1e4337(this,{'values':_0x18cc27},!0x0);}['rescale'](){if(!this['isValid'])return this;return _0x1e4337(this,{'values':_0x28e3f5(this['normalize']()['shiftToAll']()['toObject']())},!0x0);}['shiftTo'](..._0x323632){if(!this['isValid'])return this;if(0x0===_0x323632['length'])return this;_0x323632=_0x323632['map'](_0x5d527b=>Duration['normalizeUnit'](_0x5d527b));const _0x2cdd81={},_0x4ddedc={},_0x2a8215=this['toObject']();let _0x8bd048;for(const _0x212b3b of orderedUnits$1)if(_0x323632['indexOf'](_0x212b3b)>=0x0){_0x8bd048=_0x212b3b;let _0x5a88e5=0x0;for(const _0x1c9ee0 in _0x4ddedc)_0x5a88e5+=this['matrix'][_0x1c9ee0][_0x212b3b]*_0x4ddedc[_0x1c9ee0],_0x4ddedc[_0x1c9ee0]=0x0;_0x1eaafc(_0x2a8215[_0x212b3b])&&(_0x5a88e5+=_0x2a8215[_0x212b3b]);const _0x33b443=Math['trunc'](_0x5a88e5);_0x2cdd81[_0x212b3b]=_0x33b443,_0x4ddedc[_0x212b3b]=(0x3e8*_0x5a88e5-0x3e8*_0x33b443)/0x3e8;}else _0x1eaafc(_0x2a8215[_0x212b3b])&&(_0x4ddedc[_0x212b3b]=_0x2a8215[_0x212b3b]);for(const _0x150519 in _0x4ddedc)0x0!==_0x4ddedc[_0x150519]&&(_0x2cdd81[_0x8bd048]+=_0x150519===_0x8bd048?_0x4ddedc[_0x150519]:_0x4ddedc[_0x150519]/this['matrix'][_0x8bd048][_0x150519]);return _0x270551(this['matrix'],_0x2cdd81),_0x1e4337(this,{'values':_0x2cdd81},!0x0);}['shiftToAll'](){return this['isValid']?this['shiftTo']('years','months','weeks','days','hours','minutes','seconds','milliseconds'):this;}['negate'](){if(!this['isValid'])return this;const _0x4b6413={};for(const _0x4ac976 of Object['keys'](this['values']))_0x4b6413[_0x4ac976]=0x0===this['values'][_0x4ac976]?0x0:-this['values'][_0x4ac976];return _0x1e4337(this,{'values':_0x4b6413},!0x0);}get['years'](){return this['isValid']?this['values']['years']||0x0:NaN;}get['quarters'](){return this['isValid']?this['values']['quarters']||0x0:NaN;}get['months'](){return this['isValid']?this['values']['months']||0x0:NaN;}get['weeks'](){return this['isValid']?this['values']['weeks']||0x0:NaN;}get['days'](){return this['isValid']?this['values']['days']||0x0:NaN;}get['hours'](){return this['isValid']?this['values']['hours']||0x0:NaN;}get['minutes'](){return this['isValid']?this['values']['minutes']||0x0:NaN;}get['seconds'](){return this['isValid']?this['values']['seconds']||0x0:NaN;}get['milliseconds'](){return this['isValid']?this['values']['milliseconds']||0x0:NaN;}get['isValid'](){return null===this['invalid'];}get['invalidReason'](){return this['invalid']?this['invalid']['reason']:null;}get['invalidExplanation'](){return this['invalid']?this['invalid']['explanation']:null;}['equals'](_0x4a34f3){if(!this['isValid']||!_0x4a34f3['isValid'])return!0x1;if(!this['loc']['equals'](_0x4a34f3['loc']))return!0x1;function _0x45bcfe(_0xe323fe,_0x53ebb4){return void 0x0===_0xe323fe||0x0===_0xe323fe?void 0x0===_0x53ebb4||0x0===_0x53ebb4:_0xe323fe===_0x53ebb4;}for(const _0x2dc0e5 of orderedUnits$1)if(!_0x45bcfe(this['values'][_0x2dc0e5],_0x4a34f3['values'][_0x2dc0e5]))return!0x1;return!0x0;}}const _0x47ec41='Invalid\x20Interval';function validateStartEnd(_0x568567,_0x32e819){return _0x568567&&_0x568567['isValid']?_0x32e819&&_0x32e819['isValid']?_0x32e819<_0x568567?Interval['invalid']('end\x20before\x20start','The\x20end\x20of\x20an\x20interval\x20must\x20be\x20after\x20its\x20start,\x20but\x20you\x20had\x20start='+_0x568567['toISO']()+'\x20and\x20end='+_0x32e819['toISO']()):null:Interval['invalid']('missing\x20or\x20invalid\x20end'):Interval['invalid']('missing\x20or\x20invalid\x20start');}class Interval{constructor(_0x45050a){this['s']=_0x45050a['start'],this['e']=_0x45050a['end'],this['invalid']=_0x45050a['invalid']||null,this['isLuxonInterval']=!0x0;}static['invalid'](_0x5cf398,_0x2985bf=null){if(!_0x5cf398)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20Interval\x20is\x20invalid');const _0x3dfd35=_0x5cf398 instanceof _0x4a5313?_0x5cf398:new _0x4a5313(_0x5cf398,_0x2985bf);if(Settings['throwOnInvalid'])throw new InvalidIntervalError(_0x3dfd35);return new Interval({'invalid':_0x3dfd35});}static['fromDateTimes'](_0x3505fa,_0xfe9622){const _0xef56ed=friendlyDateTime(_0x3505fa),_0x2b1ae7=friendlyDateTime(_0xfe9622),_0x1cd955=validateStartEnd(_0xef56ed,_0x2b1ae7);return null==_0x1cd955?new Interval({'start':_0xef56ed,'end':_0x2b1ae7}):_0x1cd955;}static['after'](_0x26fd27,_0x11c23b){const _0x3e0cb6=Duration['fromDurationLike'](_0x11c23b),_0x17363f=friendlyDateTime(_0x26fd27);return Interval['fromDateTimes'](_0x17363f,_0x17363f['plus'](_0x3e0cb6));}static['before'](_0x26febe,_0x50ebc3){const _0x46c5c8=Duration['fromDurationLike'](_0x50ebc3),_0x12e6a3=friendlyDateTime(_0x26febe);return Interval['fromDateTimes'](_0x12e6a3['minus'](_0x46c5c8),_0x12e6a3);}static['fromISO'](_0x5c2a8e,_0x4804db){const [_0x3a5898,_0x32d5ce]=(_0x5c2a8e||'')['split']('/',0x2);if(_0x3a5898&&_0x32d5ce){let _0x83f5d9,_0x3f0768,_0x46dbab,_0x34dbac;try{_0x83f5d9=DateTime['fromISO'](_0x3a5898,_0x4804db),_0x3f0768=_0x83f5d9['isValid'];}catch(_0x120511){_0x3f0768=!0x1;}try{_0x46dbab=DateTime['fromISO'](_0x32d5ce,_0x4804db),_0x34dbac=_0x46dbab['isValid'];}catch(_0x5a3b41){_0x34dbac=!0x1;}if(_0x3f0768&&_0x34dbac)return Interval['fromDateTimes'](_0x83f5d9,_0x46dbab);if(_0x3f0768){const _0x930efe=Duration['fromISO'](_0x32d5ce,_0x4804db);if(_0x930efe['isValid'])return Interval['after'](_0x83f5d9,_0x930efe);}else{if(_0x34dbac){const _0x4cbcee=Duration['fromISO'](_0x3a5898,_0x4804db);if(_0x4cbcee['isValid'])return Interval['before'](_0x46dbab,_0x4cbcee);}}}return Interval['invalid']('unparsable','the\x20input\x20\x22'+_0x5c2a8e+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['isInterval'](_0x2ef948){return _0x2ef948&&_0x2ef948['isLuxonInterval']||!0x1;}get['start'](){return this['isValid']?this['s']:null;}get['end'](){return this['isValid']?this['e']:null;}get['lastDateTime'](){return this['isValid']&&this['e']?this['e']['minus'](0x1):null;}get['isValid'](){return null===this['invalidReason'];}get['invalidReason'](){return this['invalid']?this['invalid']['reason']:null;}get['invalidExplanation'](){return this['invalid']?this['invalid']['explanation']:null;}['length'](_0x2fb704='milliseconds'){return this['isValid']?this['toDuration'](_0x2fb704)['get'](_0x2fb704):NaN;}['count'](_0x4fbf4a='milliseconds',_0xc93a85){if(!this['isValid'])return NaN;const _0x419245=this['start']['startOf'](_0x4fbf4a,_0xc93a85);let _0xad2076;return _0xad2076=_0xc93a85?.['useLocaleWeeks']?this['end']['reconfigure']({'locale':_0x419245['locale']}):this['end'],_0xad2076=_0xad2076['startOf'](_0x4fbf4a,_0xc93a85),Math['floor'](_0xad2076['diff'](_0x419245,_0x4fbf4a)['get'](_0x4fbf4a))+(_0xad2076['valueOf']()!==this['end']['valueOf']());}['hasSame'](_0x2b7c8b){return!!this['isValid']&&(this['isEmpty']()||this['e']['minus'](0x1)['hasSame'](this['s'],_0x2b7c8b));}['isEmpty'](){return this['s']['valueOf']()===this['e']['valueOf']();}['isAfter'](_0x5a2bc3){return!!this['isValid']&&this['s']>_0x5a2bc3;}['isBefore'](_0x1874f6){return!!this['isValid']&&this['e']<=_0x1874f6;}['contains'](_0x5c8242){return!!this['isValid']&&(this['s']<=_0x5c8242&&this['e']>_0x5c8242);}['set']({start:_0x10f784,end:_0x617350}={}){return this['isValid']?Interval['fromDateTimes'](_0x10f784||this['s'],_0x617350||this['e']):this;}['splitAt'](..._0x31bc0d){if(!this['isValid'])return[];const _0x2ef359=_0x31bc0d['map'](friendlyDateTime)['filter'](_0x58a8af=>this['contains'](_0x58a8af))['sort']((_0x23e808,_0x1779c6)=>_0x23e808['toMillis']()-_0x1779c6['toMillis']()),_0x1434e6=[];let {s:_0x168540}=this,_0x43db7c=0x0;for(;_0x168540<this['e'];){const _0x288291=_0x2ef359[_0x43db7c]||this['e'],_0x4bb9d1=+_0x288291>+this['e']?this['e']:_0x288291;_0x1434e6['push'](Interval['fromDateTimes'](_0x168540,_0x4bb9d1)),_0x168540=_0x4bb9d1,_0x43db7c+=0x1;}return _0x1434e6;}['splitBy'](_0x372fc8){const _0x44ce91=Duration['fromDurationLike'](_0x372fc8);if(!this['isValid']||!_0x44ce91['isValid']||0x0===_0x44ce91['as']('milliseconds'))return[];let _0x1b58e9,{s:_0x4d8ad1}=this,_0x267187=0x1;const _0x22c806=[];for(;_0x4d8ad1<this['e'];){const _0x2ab70d=this['start']['plus'](_0x44ce91['mapUnits'](_0x1e0813=>_0x1e0813*_0x267187));_0x1b58e9=+_0x2ab70d>+this['e']?this['e']:_0x2ab70d,_0x22c806['push'](Interval['fromDateTimes'](_0x4d8ad1,_0x1b58e9)),_0x4d8ad1=_0x1b58e9,_0x267187+=0x1;}return _0x22c806;}['divideEqually'](_0x4f986a){return this['isValid']?this['splitBy'](this['length']()/_0x4f986a)['slice'](0x0,_0x4f986a):[];}['overlaps'](_0x3d5bb3){return this['e']>_0x3d5bb3['s']&&this['s']<_0x3d5bb3['e'];}['abutsStart'](_0x5d96ed){return!!this['isValid']&&+this['e']===+_0x5d96ed['s'];}['abutsEnd'](_0x1cca95){return!!this['isValid']&&+_0x1cca95['e']===+this['s'];}['engulfs'](_0x206ac9){return!!this['isValid']&&(this['s']<=_0x206ac9['s']&&this['e']>=_0x206ac9['e']);}['equals'](_0x27262d){return!(!this['isValid']||!_0x27262d['isValid'])&&(this['s']['equals'](_0x27262d['s'])&&this['e']['equals'](_0x27262d['e']));}['intersection'](_0x42ef77){if(!this['isValid'])return this;const _0x539fd8=this['s']>_0x42ef77['s']?this['s']:_0x42ef77['s'],_0x42736f=this['e']<_0x42ef77['e']?this['e']:_0x42ef77['e'];return _0x539fd8>=_0x42736f?null:Interval['fromDateTimes'](_0x539fd8,_0x42736f);}['union'](_0x6041d5){if(!this['isValid'])return this;const _0x130e1e=this['s']<_0x6041d5['s']?this['s']:_0x6041d5['s'],_0x254eff=this['e']>_0x6041d5['e']?this['e']:_0x6041d5['e'];return Interval['fromDateTimes'](_0x130e1e,_0x254eff);}static['merge'](_0x124fe3){const [_0x4211f4,_0x2e90e8]=_0x124fe3['sort']((_0x53cdb8,_0x215ccc)=>_0x53cdb8['s']-_0x215ccc['s'])['reduce'](([_0x1f7fdb,_0x373dea],_0x190113)=>_0x373dea?_0x373dea['overlaps'](_0x190113)||_0x373dea['abutsStart'](_0x190113)?[_0x1f7fdb,_0x373dea['union'](_0x190113)]:[_0x1f7fdb['concat']([_0x373dea]),_0x190113]:[_0x1f7fdb,_0x190113],[[],null]);return _0x2e90e8&&_0x4211f4['push'](_0x2e90e8),_0x4211f4;}static['xor'](_0x410570){let _0x1daad2=null,_0x51daa6=0x0;const _0x1a50b6=[],_0x2949b7=_0x410570['map'](_0x37158a=>[{'time':_0x37158a['s'],'type':'s'},{'time':_0x37158a['e'],'type':'e'}]),_0x3ce43d=Array['prototype']['concat'](..._0x2949b7)['sort']((_0x2308de,_0x23acec)=>_0x2308de['time']-_0x23acec['time']);for(const _0x399634 of _0x3ce43d)_0x51daa6+='s'===_0x399634['type']?0x1:-0x1,0x1===_0x51daa6?_0x1daad2=_0x399634['time']:(_0x1daad2&&+_0x1daad2!==+_0x399634['time']&&_0x1a50b6['push'](Interval['fromDateTimes'](_0x1daad2,_0x399634['time'])),_0x1daad2=null);return Interval['merge'](_0x1a50b6);}['difference'](..._0x15261b){return Interval['xor']([this]['concat'](_0x15261b))['map'](_0x287418=>this['intersection'](_0x287418))['filter'](_0x5e56c1=>_0x5e56c1&&!_0x5e56c1['isEmpty']());}['toString'](){return this['isValid']?'['+this['s']['toISO']()+'\x20–\x20'+this['e']['toISO']()+')':_0x47ec41;}[Symbol['for']('nodejs.util.inspect.custom')](){return this['isValid']?'Interval\x20{\x20start:\x20'+this['s']['toISO']()+',\x20end:\x20'+this['e']['toISO']()+'\x20}':'Interval\x20{\x20Invalid,\x20reason:\x20'+this['invalidReason']+'\x20}';}['toLocaleString'](_0x46cd23=_0x48fd6d,_0x59b01f={}){return this['isValid']?Formatter['create'](this['s']['loc']['clone'](_0x59b01f),_0x46cd23)['formatInterval'](this):_0x47ec41;}['toISO'](_0x6f55a9){return this['isValid']?this['s']['toISO'](_0x6f55a9)+'/'+this['e']['toISO'](_0x6f55a9):_0x47ec41;}['toISODate'](){return this['isValid']?this['s']['toISODate']()+'/'+this['e']['toISODate']():_0x47ec41;}['toISOTime'](_0x5197e8){return this['isValid']?this['s']['toISOTime'](_0x5197e8)+'/'+this['e']['toISOTime'](_0x5197e8):_0x47ec41;}['toFormat'](_0x359517,{separator:_0x3d59fa='\x20–\x20'}={}){return this['isValid']?''+this['s']['toFormat'](_0x359517)+_0x3d59fa+this['e']['toFormat'](_0x359517):_0x47ec41;}['toDuration'](_0x436a15,_0x381e1c){return this['isValid']?this['e']['diff'](this['s'],_0x436a15,_0x381e1c):Duration['invalid'](this['invalidReason']);}['mapEndpoints'](_0x507e60){return Interval['fromDateTimes'](_0x507e60(this['s']),_0x507e60(this['e']));}}class _0x1128c7{static['hasDST'](_0x11a96f=Settings['defaultZone']){const _0x11e10e=DateTime['now']()['setZone'](_0x11a96f)['set']({'month':0xc});return!_0x11a96f['isUniversal']&&_0x11e10e['offset']!==_0x11e10e['set']({'month':0x6})['offset'];}static['isValidIANAZone'](_0x564030){return _0x434561['isValidZone'](_0x564030);}static['normalizeZone'](_0x50f355){return _0x5ac78a(_0x50f355,Settings['defaultZone']);}static['getStartOfWeek']({locale:_0x585bbc=null,locObj:_0x5e9b05=null}={}){return(_0x5e9b05||_0x2fcf59['create'](_0x585bbc))['getStartOfWeek']();}static['getMinimumDaysInFirstWeek']({locale:_0x35eb66=null,locObj:_0x92e010=null}={}){return(_0x92e010||_0x2fcf59['create'](_0x35eb66))['getMinDaysInFirstWeek']();}static['getWeekendWeekdays']({locale:_0x3e303c=null,locObj:_0x321ec1=null}={}){return(_0x321ec1||_0x2fcf59['create'](_0x3e303c))['getWeekendDays']()['slice']();}static['months'](_0x2f166c='long',{locale:_0x619afc=null,numberingSystem:_0x2ed5ff=null,locObj:_0xab0476=null,outputCalendar:_0x5e46ad='gregory'}={}){return(_0xab0476||_0x2fcf59['create'](_0x619afc,_0x2ed5ff,_0x5e46ad))['months'](_0x2f166c);}static['monthsFormat'](_0x418a93='long',{locale:_0x7a90a2=null,numberingSystem:_0x333b89=null,locObj:_0x121963=null,outputCalendar:_0x4a52ef='gregory'}={}){return(_0x121963||_0x2fcf59['create'](_0x7a90a2,_0x333b89,_0x4a52ef))['months'](_0x418a93,!0x0);}static['weekdays'](_0x3204e7='long',{locale:_0x22ddc5=null,numberingSystem:_0x514d2a=null,locObj:_0x95e024=null}={}){return(_0x95e024||_0x2fcf59['create'](_0x22ddc5,_0x514d2a,null))['weekdays'](_0x3204e7);}static['weekdaysFormat'](_0xa7e303='long',{locale:_0x73a4cd=null,numberingSystem:_0x5a5166=null,locObj:_0x481e7e=null}={}){return(_0x481e7e||_0x2fcf59['create'](_0x73a4cd,_0x5a5166,null))['weekdays'](_0xa7e303,!0x0);}static['meridiems']({locale:_0x103946=null}={}){return _0x2fcf59['create'](_0x103946)['meridiems']();}static['eras'](_0x233754='short',{locale:_0x295461=null}={}){return _0x2fcf59['create'](_0x295461,null,'gregory')['eras'](_0x233754);}static['features'](){return{'relative':hasRelative(),'localeWeek':_0x548f9f()};}}function _0xfa2fd6(_0x1b696a,_0x1d145f){const _0xc654cb=_0x3548fb=>_0x3548fb['toUTC'](0x0,{'keepLocalTime':!0x0})['startOf']('day')['valueOf'](),_0xd3d2ab=_0xc654cb(_0x1d145f)-_0xc654cb(_0x1b696a);return Math['floor'](Duration['fromMillis'](_0xd3d2ab)['as']('days'));}function _0x333065(_0x3f9fb0,_0x4c5e2a,_0x4328de){const _0xe057eb=[['years',(_0x341513,_0x15a9aa)=>_0x15a9aa['year']-_0x341513['year']],['quarters',(_0x547851,_0x19ddc9)=>_0x19ddc9['quarter']-_0x547851['quarter']+0x4*(_0x19ddc9['year']-_0x547851['year'])],['months',(_0x597454,_0x9c7dc7)=>_0x9c7dc7['month']-_0x597454['month']+0xc*(_0x9c7dc7['year']-_0x597454['year'])],['weeks',(_0x25c034,_0x26111c)=>{const _0x400ffa=_0xfa2fd6(_0x25c034,_0x26111c);return(_0x400ffa-_0x400ffa%0x7)/0x7;}],['days',_0xfa2fd6]],_0x409e36={},_0x479da2=_0x3f9fb0;let _0x535f5a,_0x407467;for(const [_0x1cf76f,_0x5009bf]of _0xe057eb)_0x4328de['indexOf'](_0x1cf76f)>=0x0&&(_0x535f5a=_0x1cf76f,_0x409e36[_0x1cf76f]=_0x5009bf(_0x3f9fb0,_0x4c5e2a),_0x407467=_0x479da2['plus'](_0x409e36),_0x407467>_0x4c5e2a?(_0x409e36[_0x1cf76f]--,(_0x3f9fb0=_0x479da2['plus'](_0x409e36))>_0x4c5e2a&&(_0x407467=_0x3f9fb0,_0x409e36[_0x1cf76f]--,_0x3f9fb0=_0x479da2['plus'](_0x409e36))):_0x3f9fb0=_0x407467);return[_0x3f9fb0,_0x409e36,_0x407467,_0x535f5a];}function _0x52ae21(_0x2c2945,_0x536bc0,_0x408c32,_0x4761fc){let [_0x451801,_0x52d96c,_0x365690,_0x3a6adc]=_0x333065(_0x2c2945,_0x536bc0,_0x408c32);const _0x360227=_0x536bc0-_0x451801,_0x3cf4ac=_0x408c32['filter'](_0x5415c0=>['hours','minutes','seconds','milliseconds']['indexOf'](_0x5415c0)>=0x0);0x0===_0x3cf4ac['length']&&(_0x365690<_0x536bc0&&(_0x365690=_0x451801['plus']({[_0x3a6adc]:0x1})),_0x365690!==_0x451801&&(_0x52d96c[_0x3a6adc]=(_0x52d96c[_0x3a6adc]||0x0)+_0x360227/(_0x365690-_0x451801)));const _0x494a1e=Duration['fromObject'](_0x52d96c,_0x4761fc);return _0x3cf4ac['length']>0x0?Duration['fromMillis'](_0x360227,_0x4761fc)['shiftTo'](..._0x3cf4ac)['plus'](_0x494a1e):_0x494a1e;}const _0x43e58a='missing\x20Intl.DateTimeFormat.formatToParts\x20support';function intUnit(_0x384057,_0x58e9c8=_0x3bfdb8=>_0x3bfdb8){return{'regex':_0x384057,'deser':([_0x17fcdf])=>_0x58e9c8(parseDigits(_0x17fcdf))};}const _0x18240c=String['fromCharCode'](0xa0),_0x4ff061='[\x20'+_0x18240c+']',_0x381ba8=new RegExp(_0x4ff061,'g');function fixListRegex(_0x133f2f){return _0x133f2f['replace'](/\./g,'\x5c.?')['replace'](_0x381ba8,_0x4ff061);}function stripInsensitivities(_0x3a30df){return _0x3a30df['replace'](/\./g,'')['replace'](_0x381ba8,'\x20')['toLowerCase']();}function _0x1c1cf5(_0x357deb,_0x371cfe){return null===_0x357deb?null:{'regex':RegExp(_0x357deb['map'](fixListRegex)['join']('|')),'deser':([_0x413ff8])=>_0x357deb['findIndex'](_0x5493f2=>stripInsensitivities(_0x413ff8)===stripInsensitivities(_0x5493f2))+_0x371cfe};}function offset(_0x2816b2,_0x1915cf){return{'regex':_0x2816b2,'deser':([,_0x22ac7b,_0x5db28c])=>signedOffset(_0x22ac7b,_0x5db28c),'groups':_0x1915cf};}function _0x5f044c(_0x27ce42){return{'regex':_0x27ce42,'deser':([_0x2f9368])=>_0x2f9368};}function _0x597074(_0x3d00af){return _0x3d00af['replace'](/[\-\[\]{}()*+?.,\\\^$|#\s]/g,'\x5c$&');}function unitForToken(_0x521371,_0x42d363){const _0x20c67c=digitRegex(_0x42d363),_0x5dcadc=digitRegex(_0x42d363,'{2}'),_0x2e6e1e=digitRegex(_0x42d363,'{3}'),_0x3335b0=digitRegex(_0x42d363,'{4}'),_0x535d46=digitRegex(_0x42d363,'{6}'),_0x4c705d=digitRegex(_0x42d363,'{1,2}'),_0x19d751=digitRegex(_0x42d363,'{1,3}'),_0x338a31=digitRegex(_0x42d363,'{1,6}'),_0x2e1bbf=digitRegex(_0x42d363,'{1,9}'),_0x1b8f54=digitRegex(_0x42d363,'{2,4}'),_0x22b727=digitRegex(_0x42d363,'{4,6}'),_0x1613d8=t=>({'regex':RegExp(_0x597074(t['val'])),'deser':([_0x1a14f1])=>_0x1a14f1,'literal':!0x0}),_0x5987f8=(t=>{if(_0x521371['literal'])return _0x1613d8(t);switch(t['val']){case'G':return _0x1c1cf5(_0x42d363['eras']('short'),0x0);case'GG':return _0x1c1cf5(_0x42d363['eras']('long'),0x0);case'y':return intUnit(_0x338a31);case'yy':case'kk':return intUnit(_0x1b8f54,untruncateYear);case'yyyy':case'kkkk':return intUnit(_0x3335b0);case'yyyyy':return intUnit(_0x22b727);case'yyyyyy':return intUnit(_0x535d46);case'M':case'L':case'd':case'H':case'h':case'm':case'q':case's':case'W':return intUnit(_0x4c705d);case'MM':case'LL':case'dd':case'HH':case'hh':case'mm':case'qq':case'ss':case'WW':return intUnit(_0x5dcadc);case'MMM':return _0x1c1cf5(_0x42d363['months']('short',!0x0),0x1);case'MMMM':return _0x1c1cf5(_0x42d363['months']('long',!0x0),0x1);case'LLL':return _0x1c1cf5(_0x42d363['months']('short',!0x1),0x1);case'LLLL':return _0x1c1cf5(_0x42d363['months']('long',!0x1),0x1);case'o':case'S':return intUnit(_0x19d751);case'ooo':case'SSS':return intUnit(_0x2e6e1e);case'u':return _0x5f044c(_0x2e1bbf);case'uu':return _0x5f044c(_0x4c705d);case'uuu':case'E':case'c':return intUnit(_0x20c67c);case'a':return _0x1c1cf5(_0x42d363['meridiems'](),0x0);case'EEE':return _0x1c1cf5(_0x42d363['weekdays']('short',!0x1),0x1);case'EEEE':return _0x1c1cf5(_0x42d363['weekdays']('long',!0x1),0x1);case'ccc':return _0x1c1cf5(_0x42d363['weekdays']('short',!0x0),0x1);case'cccc':return _0x1c1cf5(_0x42d363['weekdays']('long',!0x0),0x1);case'Z':case'ZZ':return offset(new RegExp('([+-]'+_0x4c705d['source']+')(?::('+_0x5dcadc['source']+'))?'),0x2);case'ZZZ':return offset(new RegExp('([+-]'+_0x4c705d['source']+')('+_0x5dcadc['source']+')?'),0x2);case'z':return _0x5f044c(/[a-z_+-/]{1,256}?/i);case'\x20':return _0x5f044c(/[^\S\n\r]/);default:return _0x1613d8(t);}})(_0x521371)||{'invalidReason':_0x43e58a};return _0x5987f8['token']=_0x521371,_0x5987f8;}const partTypeStyleToTokenVal={'year':{'2-digit':'yy','numeric':'yyyyy'},'month':{'numeric':'M','2-digit':'MM','short':'MMM','long':'MMMM'},'day':{'numeric':'d','2-digit':'dd'},'weekday':{'short':'EEE','long':'EEEE'},'dayperiod':'a','dayPeriod':'a','hour12':{'numeric':'h','2-digit':'hh'},'hour24':{'numeric':'H','2-digit':'HH'},'minute':{'numeric':'m','2-digit':'mm'},'second':{'numeric':'s','2-digit':'ss'},'timeZoneName':{'long':'ZZZZZ','short':'ZZZ'}};function tokenForPart(_0x294776,_0x9004d3,_0x295f78){const {type:_0xedafde,value:_0x100611}=_0x294776;if('literal'===_0xedafde){const _0x132945=/^\s+$/['test'](_0x100611);return{'literal':!_0x132945,'val':_0x132945?'\x20':_0x100611};}const _0x242e83=_0x9004d3[_0xedafde];let _0x582f98=_0xedafde;'hour'===_0xedafde&&(_0x582f98=null!=_0x9004d3['hour12']?_0x9004d3['hour12']?'hour12':'hour24':null!=_0x9004d3['hourCycle']?'h11'===_0x9004d3['hourCycle']||'h12'===_0x9004d3['hourCycle']?'hour12':'hour24':_0x295f78['hour12']?'hour12':'hour24');let _0x5ed043=partTypeStyleToTokenVal[_0x582f98];if('object'==typeof _0x5ed043&&(_0x5ed043=_0x5ed043[_0x242e83]),_0x5ed043)return{'literal':!0x1,'val':_0x5ed043};}function _0x293e7f(_0x469f31){const _0x46dbc5=_0x469f31['map'](_0x155791=>_0x155791['regex'])['reduce']((_0xd07bbd,_0x1651bd)=>_0xd07bbd+'('+_0x1651bd['source']+')','');return['^'+_0x46dbc5+'$',_0x469f31];}function match(_0x471bb5,_0x49fa22,_0x581d6b){const _0x82e1dc=_0x471bb5['match'](_0x49fa22);if(_0x82e1dc){const _0x2d47ca={};let _0x271beb=0x1;for(const _0x2b9d8c in _0x581d6b)if(hasOwnProperty(_0x581d6b,_0x2b9d8c)){const _0x5d0694=_0x581d6b[_0x2b9d8c],_0x2ffe1e=_0x5d0694['groups']?_0x5d0694['groups']+0x1:0x1;!_0x5d0694['literal']&&_0x5d0694['token']&&(_0x2d47ca[_0x5d0694['token']['val'][0x0]]=_0x5d0694['deser'](_0x82e1dc['slice'](_0x271beb,_0x271beb+_0x2ffe1e))),_0x271beb+=_0x2ffe1e;}return[_0x82e1dc,_0x2d47ca];}return[_0x82e1dc,{}];}function dateTimeFromMatches(_0x38933a){let _0x4c07c4,_0x330f62=null;_0x539845(_0x38933a['z'])||(_0x330f62=_0x434561['create'](_0x38933a['z'])),_0x539845(_0x38933a['Z'])||(_0x330f62||(_0x330f62=new FixedOffsetZone(_0x38933a['Z'])),_0x4c07c4=_0x38933a['Z']),_0x539845(_0x38933a['q'])||(_0x38933a['M']=0x3*(_0x38933a['q']-0x1)+0x1),_0x539845(_0x38933a['h'])||(_0x38933a['h']<0xc&&0x1===_0x38933a['a']?_0x38933a['h']+=0xc:0xc===_0x38933a['h']&&0x0===_0x38933a['a']&&(_0x38933a['h']=0x0)),0x0===_0x38933a['G']&&_0x38933a['y']&&(_0x38933a['y']=-_0x38933a['y']),_0x539845(_0x38933a['u'])||(_0x38933a['S']=_0x2cd3a0(_0x38933a['u']));const _0x3f6a67=Object['keys'](_0x38933a)['reduce']((_0x33feed,_0xd3895f)=>{const _0x565e80=(_0x151864=>{switch(_0x151864){case'S':return'millisecond';case's':return'second';case'm':return'minute';case'h':case'H':return'hour';case'd':return'day';case'o':return'ordinal';case'L':case'M':return'month';case'y':return'year';case'E':case'c':return'weekday';case'W':return'weekNumber';case'k':return'weekYear';case'q':return'quarter';default:return null;}})(_0xd3895f);return _0x565e80&&(_0x33feed[_0x565e80]=_0x38933a[_0xd3895f]),_0x33feed;},{});return[_0x3f6a67,_0x330f62,_0x4c07c4];}let dummyDateTimeCache=null;function getDummyDateTime(){return dummyDateTimeCache||(dummyDateTimeCache=DateTime['fromMillis'](0x16a2e5618e3)),dummyDateTimeCache;}function _0x5af093(_0xc38b9c,_0x46941c){if(_0xc38b9c['literal'])return _0xc38b9c;const _0x205ac7=formatOptsToTokens(Formatter['macroTokenToFormatOpts'](_0xc38b9c['val']),_0x46941c);return null==_0x205ac7||_0x205ac7['includes'](void 0x0)?_0xc38b9c:_0x205ac7;}function _0x184536(_0x43957e,_0x136e9b){return Array['prototype']['concat'](..._0x43957e['map'](t=>_0x5af093(t,_0x136e9b)));}class _0x5d04ae{constructor(_0x280d08,_0x1f8aed){if(this['locale']=_0x280d08,this['format']=_0x1f8aed,this['tokens']=_0x184536(Formatter['parseFormat'](_0x1f8aed),_0x280d08),this['units']=this['tokens']['map'](t=>unitForToken(t,_0x280d08)),this['disqualifyingUnit']=this['units']['find'](t=>t['invalidReason']),!this['disqualifyingUnit']){const [_0x9f295,_0x1e1ee6]=_0x293e7f(this['units']);this['regex']=RegExp(_0x9f295,'i'),this['handlers']=_0x1e1ee6;}}['explainFromTokens'](_0x2513c9){if(this['isValid']){const [_0x3d0103,_0x1d19f1]=match(_0x2513c9,this['regex'],this['handlers']),[_0x588a76,_0x449d83,_0x1f52db]=_0x1d19f1?dateTimeFromMatches(_0x1d19f1):[null,null,void 0x0];if(hasOwnProperty(_0x1d19f1,'a')&&hasOwnProperty(_0x1d19f1,'H'))throw new ConflictingSpecificationError('Can\x27t\x20include\x20meridiem\x20when\x20specifying\x2024-hour\x20format');return{'input':_0x2513c9,'tokens':this['tokens'],'regex':this['regex'],'rawMatches':_0x3d0103,'matches':_0x1d19f1,'result':_0x588a76,'zone':_0x449d83,'specificOffset':_0x1f52db};}return{'input':_0x2513c9,'tokens':this['tokens'],'invalidReason':this['invalidReason']};}get['isValid'](){return!this['disqualifyingUnit'];}get['invalidReason'](){return this['disqualifyingUnit']?this['disqualifyingUnit']['invalidReason']:null;}}function _0x44453c(_0x33a59b,_0xf1c98f,_0x3d74e8){return new _0x5d04ae(_0x33a59b,_0x3d74e8)['explainFromTokens'](_0xf1c98f);}function _0x24bac8(_0xf9aba4,_0x5416ba,_0x125bcb){const {result:_0x55905d,zone:_0x4507aa,specificOffset:_0x533334,invalidReason:_0x1bad98}=_0x44453c(_0xf9aba4,_0x5416ba,_0x125bcb);return[_0x55905d,_0x4507aa,_0x533334,_0x1bad98];}function formatOptsToTokens(_0x444b95,_0x471a54){if(!_0x444b95)return null;const _0x3b6bc9=Formatter['create'](_0x471a54,_0x444b95)['dtFormatter'](getDummyDateTime()),_0x4b79ec=_0x3b6bc9['formatToParts'](),_0x2f29f7=_0x3b6bc9['resolvedOptions']();return _0x4b79ec['map'](_0xbca90c=>tokenForPart(_0xbca90c,_0x444b95,_0x2f29f7));}const _0x1ab82f='Invalid\x20DateTime',_0x76eaac=0x1eb208c2dc0000;function unsupportedZone(_0x2161c5){return new _0x4a5313('unsupported\x20zone','the\x20zone\x20\x22'+_0x2161c5['name']+'\x22\x20is\x20not\x20supported');}function possiblyCachedWeekData(_0xd56259){return null===_0xd56259['weekData']&&(_0xd56259['weekData']=_0x54a85f(_0xd56259['c'])),_0xd56259['weekData'];}function possiblyCachedLocalWeekData(_0x2b45a9){return null===_0x2b45a9['localWeekData']&&(_0x2b45a9['localWeekData']=_0x54a85f(_0x2b45a9['c'],_0x2b45a9['loc']['getMinDaysInFirstWeek'](),_0x2b45a9['loc']['getStartOfWeek']())),_0x2b45a9['localWeekData'];}function _0x193349(_0x3a52dc,_0x35b3e0){const _0x527600={'ts':_0x3a52dc['ts'],'zone':_0x3a52dc['zone'],'c':_0x3a52dc['c'],'o':_0x3a52dc['o'],'loc':_0x3a52dc['loc'],'invalid':_0x3a52dc['invalid']};return new DateTime({..._0x527600,..._0x35b3e0,'old':_0x527600});}function fixOffset(_0x36c3d8,_0x543142,_0x3c11e1){let _0x997d0b=_0x36c3d8-0x3c*_0x543142*0x3e8;const _0x8e85f2=_0x3c11e1['offset'](_0x997d0b);if(_0x543142===_0x8e85f2)return[_0x997d0b,_0x543142];_0x997d0b-=0x3c*(_0x8e85f2-_0x543142)*0x3e8;const _0x2399c0=_0x3c11e1['offset'](_0x997d0b);return _0x8e85f2===_0x2399c0?[_0x997d0b,_0x8e85f2]:[_0x36c3d8-0x3c*Math['min'](_0x8e85f2,_0x2399c0)*0x3e8,Math['max'](_0x8e85f2,_0x2399c0)];}function tsToObj(_0x28766e,_0x1eb667){const _0x4f7732=new Date(_0x28766e+=0x3c*_0x1eb667*0x3e8);return{'year':_0x4f7732['getUTCFullYear'](),'month':_0x4f7732['getUTCMonth']()+0x1,'day':_0x4f7732['getUTCDate'](),'hour':_0x4f7732['getUTCHours'](),'minute':_0x4f7732['getUTCMinutes'](),'second':_0x4f7732['getUTCSeconds'](),'millisecond':_0x4f7732['getUTCMilliseconds']()};}function _0x13f583(_0x580bdb,_0xd24071,_0x2be097){return fixOffset(_0x3587d8(_0x580bdb),_0xd24071,_0x2be097);}function adjustTime(_0x3c88b1,_0x429926){const _0x4f6aac=_0x3c88b1['o'],_0x1c5d6f=_0x3c88b1['c']['year']+Math['trunc'](_0x429926['years']),_0x23e0df=_0x3c88b1['c']['month']+Math['trunc'](_0x429926['months'])+0x3*Math['trunc'](_0x429926['quarters']),_0xf0e667={..._0x3c88b1['c'],'year':_0x1c5d6f,'month':_0x23e0df,'day':Math['min'](_0x3c88b1['c']['day'],daysInMonth(_0x1c5d6f,_0x23e0df))+Math['trunc'](_0x429926['days'])+0x7*Math['trunc'](_0x429926['weeks'])},_0x3bfc3d=Duration['fromObject']({'years':_0x429926['years']-Math['trunc'](_0x429926['years']),'quarters':_0x429926['quarters']-Math['trunc'](_0x429926['quarters']),'months':_0x429926['months']-Math['trunc'](_0x429926['months']),'weeks':_0x429926['weeks']-Math['trunc'](_0x429926['weeks']),'days':_0x429926['days']-Math['trunc'](_0x429926['days']),'hours':_0x429926['hours'],'minutes':_0x429926['minutes'],'seconds':_0x429926['seconds'],'milliseconds':_0x429926['milliseconds']})['as']('milliseconds'),_0xa623ff=_0x3587d8(_0xf0e667);let [_0x4f0007,_0x9ba45e]=fixOffset(_0xa623ff,_0x4f6aac,_0x3c88b1['zone']);return 0x0!==_0x3bfc3d&&(_0x4f0007+=_0x3bfc3d,_0x9ba45e=_0x3c88b1['zone']['offset'](_0x4f0007)),{'ts':_0x4f0007,'o':_0x9ba45e};}function parseDataToDateTime(_0x4fa92b,_0x344af5,_0x4837b1,_0x1bdc43,_0x5e51e9,_0x384905){const {setZone:_0x2315f3,zone:_0x33016e}=_0x4837b1;if(_0x4fa92b&&0x0!==Object['keys'](_0x4fa92b)['length']||_0x344af5){const _0x520250=_0x344af5||_0x33016e,_0x17b571=DateTime['fromObject'](_0x4fa92b,{..._0x4837b1,'zone':_0x520250,'specificOffset':_0x384905});return _0x2315f3?_0x17b571:_0x17b571['setZone'](_0x33016e);}return DateTime['invalid'](new _0x4a5313('unparsable','the\x20input\x20\x22'+_0x5e51e9+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20'+_0x1bdc43));}function toTechFormat(_0x1cd8b7,_0x93be6e,_0x43aef2=!0x0){return _0x1cd8b7['isValid']?Formatter['create'](_0x2fcf59['create']('en-US'),{'allowZ':_0x43aef2,'forceSimple':!0x0})['formatDateTimeFromString'](_0x1cd8b7,_0x93be6e):null;}function toISODate(_0x2b72ba,_0x34c29a){const _0x4f9dbd=_0x2b72ba['c']['year']>0x270f||_0x2b72ba['c']['year']<0x0;let _0x38d952='';return _0x4f9dbd&&_0x2b72ba['c']['year']>=0x0&&(_0x38d952+='+'),_0x38d952+=padStart(_0x2b72ba['c']['year'],_0x4f9dbd?0x6:0x4),_0x34c29a?(_0x38d952+='-',_0x38d952+=padStart(_0x2b72ba['c']['month']),_0x38d952+='-',_0x38d952+=padStart(_0x2b72ba['c']['day'])):(_0x38d952+=padStart(_0x2b72ba['c']['month']),_0x38d952+=padStart(_0x2b72ba['c']['day'])),_0x38d952;}function toISOTime(_0x51eec6,_0x1d2067,_0x364e8d,_0x42eb98,_0x532de4,_0x357ff8){let _0x13ee32=padStart(_0x51eec6['c']['hour']);return _0x1d2067?(_0x13ee32+=':',_0x13ee32+=padStart(_0x51eec6['c']['minute']),0x0===_0x51eec6['c']['millisecond']&&0x0===_0x51eec6['c']['second']&&_0x364e8d||(_0x13ee32+=':')):_0x13ee32+=padStart(_0x51eec6['c']['minute']),0x0===_0x51eec6['c']['millisecond']&&0x0===_0x51eec6['c']['second']&&_0x364e8d||(_0x13ee32+=padStart(_0x51eec6['c']['second']),0x0===_0x51eec6['c']['millisecond']&&_0x42eb98||(_0x13ee32+='.',_0x13ee32+=padStart(_0x51eec6['c']['millisecond'],0x3))),_0x532de4&&(_0x51eec6['isOffsetFixed']&&0x0===_0x51eec6['offset']&&!_0x357ff8?_0x13ee32+='Z':_0x51eec6['o']<0x0?(_0x13ee32+='-',_0x13ee32+=padStart(Math['trunc'](-_0x51eec6['o']/0x3c)),_0x13ee32+=':',_0x13ee32+=padStart(Math['trunc'](-_0x51eec6['o']%0x3c))):(_0x13ee32+='+',_0x13ee32+=padStart(Math['trunc'](_0x51eec6['o']/0x3c)),_0x13ee32+=':',_0x13ee32+=padStart(Math['trunc'](_0x51eec6['o']%0x3c)))),_0x357ff8&&(_0x13ee32+='['+_0x51eec6['zone']['ianaName']+']'),_0x13ee32;}const defaultUnitValues={'month':0x1,'day':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},defaultWeekUnitValues={'weekNumber':0x1,'weekday':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},defaultOrdinalUnitValues={'ordinal':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},orderedUnits=['year','month','day','hour','minute','second','millisecond'],orderedWeekUnits=['weekYear','weekNumber','weekday','hour','minute','second','millisecond'],orderedOrdinalUnits=['year','ordinal','hour','minute','second','millisecond'];function normalizeUnit(_0x3d4af0){const _0x64be48={'year':'year','years':'year','month':'month','months':'month','day':'day','days':'day','hour':'hour','hours':'hour','minute':'minute','minutes':'minute','quarter':'quarter','quarters':'quarter','second':'second','seconds':'second','millisecond':'millisecond','milliseconds':'millisecond','weekday':'weekday','weekdays':'weekday','weeknumber':'weekNumber','weeksnumber':'weekNumber','weeknumbers':'weekNumber','weekyear':'weekYear','weekyears':'weekYear','ordinal':'ordinal'}[_0x3d4af0['toLowerCase']()];if(!_0x64be48)throw new InvalidUnitError(_0x3d4af0);return _0x64be48;}function normalizeUnitWithLocalWeeks(_0x1bec25){switch(_0x1bec25['toLowerCase']()){case'localweekday':case'localweekdays':return'localWeekday';case'localweeknumber':case'localweeknumbers':return'localWeekNumber';case'localweekyear':case'localweekyears':return'localWeekYear';default:return normalizeUnit(_0x1bec25);}}function guessOffsetForZone(_0x390742){if(void 0x0===zoneOffsetTs&&(zoneOffsetTs=Settings['now']()),'iana'!==_0x390742['type'])return _0x390742['offset'](zoneOffsetTs);const _0x24683e=_0x390742['name'];let _0x26a492=zoneOffsetGuessCache['get'](_0x24683e);return void 0x0===_0x26a492&&(_0x26a492=_0x390742['offset'](zoneOffsetTs),zoneOffsetGuessCache['set'](_0x24683e,_0x26a492)),_0x26a492;}function _0x38db2f(_0x236176,_0xe90342){const _0x58e9c5=_0x5ac78a(_0xe90342['zone'],Settings['defaultZone']);if(!_0x58e9c5['isValid'])return DateTime['invalid'](unsupportedZone(_0x58e9c5));const _0x24b186=_0x2fcf59['fromObject'](_0xe90342);let _0xc625e0,_0x21c1db;if(_0x539845(_0x236176['year']))_0xc625e0=Settings['now']();else{for(const _0x589d64 of orderedUnits)_0x539845(_0x236176[_0x589d64])&&(_0x236176[_0x589d64]=defaultUnitValues[_0x589d64]);const _0x5b0a27=hasInvalidGregorianData(_0x236176)||hasInvalidTimeData(_0x236176);if(_0x5b0a27)return DateTime['invalid'](_0x5b0a27);const _0x1a1291=guessOffsetForZone(_0x58e9c5);[_0xc625e0,_0x21c1db]=_0x13f583(_0x236176,_0x1a1291,_0x58e9c5);}return new DateTime({'ts':_0xc625e0,'zone':_0x58e9c5,'loc':_0x24b186,'o':_0x21c1db});}function diffRelative(_0x3bf33c,_0x4577a0,_0x351d7f){const _0x2bdde1=!!_0x539845(_0x351d7f['round'])||_0x351d7f['round'],_0x17a97f=(_0x368225,_0x37663a)=>{return _0x368225=_0x1d1899(_0x368225,_0x2bdde1||_0x351d7f['calendary']?0x0:0x2,!0x0),_0x4577a0['loc']['clone'](_0x351d7f)['relFormatter'](_0x351d7f)['format'](_0x368225,_0x37663a);},_0x17c5fa=_0x45479f=>_0x351d7f['calendary']?_0x4577a0['hasSame'](_0x3bf33c,_0x45479f)?0x0:_0x4577a0['startOf'](_0x45479f)['diff'](_0x3bf33c['startOf'](_0x45479f),_0x45479f)['get'](_0x45479f):_0x4577a0['diff'](_0x3bf33c,_0x45479f)['get'](_0x45479f);if(_0x351d7f['unit'])return _0x17a97f(_0x17c5fa(_0x351d7f['unit']),_0x351d7f['unit']);for(const _0x27a2c4 of _0x351d7f['units']){const _0x47f5cc=_0x17c5fa(_0x27a2c4);if(Math['abs'](_0x47f5cc)>=0x1)return _0x17a97f(_0x47f5cc,_0x27a2c4);}return _0x17a97f(_0x3bf33c>_0x4577a0?-0x0:0x0,_0x351d7f['units'][_0x351d7f['units']['length']-0x1]);}function lastOpts(_0xafb16){let _0x1a52ba,_0x3366be={};return _0xafb16['length']>0x0&&'object'==typeof _0xafb16[_0xafb16['length']-0x1]?(_0x3366be=_0xafb16[_0xafb16['length']-0x1],_0x1a52ba=Array['from'](_0xafb16)['slice'](0x0,_0xafb16['length']-0x1)):_0x1a52ba=Array['from'](_0xafb16),[_0x3366be,_0x1a52ba];}let zoneOffsetTs;const zoneOffsetGuessCache=new Map();class DateTime{constructor(_0x17c6bb){const _0x16d82e=_0x17c6bb['zone']||Settings['defaultZone'];let _0x12b6fc=_0x17c6bb['invalid']||(Number['isNaN'](_0x17c6bb['ts'])?new _0x4a5313('invalid\x20input'):null)||(_0x16d82e['isValid']?null:unsupportedZone(_0x16d82e));this['ts']=_0x539845(_0x17c6bb['ts'])?Settings['now']():_0x17c6bb['ts'];let _0x276aec=null,_0x14d968=null;if(!_0x12b6fc){if(_0x17c6bb['old']&&_0x17c6bb['old']['ts']===this['ts']&&_0x17c6bb['old']['zone']['equals'](_0x16d82e))[_0x276aec,_0x14d968]=[_0x17c6bb['old']['c'],_0x17c6bb['old']['o']];else{const _0x1ad34c=_0x1eaafc(_0x17c6bb['o'])&&!_0x17c6bb['old']?_0x17c6bb['o']:_0x16d82e['offset'](this['ts']);_0x276aec=tsToObj(this['ts'],_0x1ad34c),_0x12b6fc=Number['isNaN'](_0x276aec['year'])?new _0x4a5313('invalid\x20input'):null,_0x276aec=_0x12b6fc?null:_0x276aec,_0x14d968=_0x12b6fc?null:_0x1ad34c;}}this['_zone']=_0x16d82e,this['loc']=_0x17c6bb['loc']||_0x2fcf59['create'](),this['invalid']=_0x12b6fc,this['weekData']=null,this['localWeekData']=null,this['c']=_0x276aec,this['o']=_0x14d968,this['isLuxonDateTime']=!0x0;}static['now'](){return new DateTime({});}static['local'](){const [_0x7ba7e1,_0x2b33cb]=lastOpts(arguments),[_0xbbe67d,_0x2353bc,_0x4ea361,_0x16af5d,_0x5ecc65,_0x5d27f5,_0x557b19]=_0x2b33cb;return _0x38db2f({'year':_0xbbe67d,'month':_0x2353bc,'day':_0x4ea361,'hour':_0x16af5d,'minute':_0x5ecc65,'second':_0x5d27f5,'millisecond':_0x557b19},_0x7ba7e1);}static['utc'](){const [_0x34eaba,_0xa453b3]=lastOpts(arguments),[_0x2a792e,_0x409369,_0x1ed545,_0x2744cc,_0x41fe72,_0x51715e,_0x106583]=_0xa453b3;return _0x34eaba['zone']=FixedOffsetZone['utcInstance'],_0x38db2f({'year':_0x2a792e,'month':_0x409369,'day':_0x1ed545,'hour':_0x2744cc,'minute':_0x41fe72,'second':_0x51715e,'millisecond':_0x106583},_0x34eaba);}static['fromJSDate'](_0x369aa7,_0x33eb69={}){const _0x26b445=isDate(_0x369aa7)?_0x369aa7['valueOf']():NaN;if(Number['isNaN'](_0x26b445))return DateTime['invalid']('invalid\x20input');const _0x5e4e18=_0x5ac78a(_0x33eb69['zone'],Settings['defaultZone']);return _0x5e4e18['isValid']?new DateTime({'ts':_0x26b445,'zone':_0x5e4e18,'loc':_0x2fcf59['fromObject'](_0x33eb69)}):DateTime['invalid'](unsupportedZone(_0x5e4e18));}static['fromMillis'](_0xe51018,_0xb311f2={}){if(_0x1eaafc(_0xe51018))return _0xe51018<-_0x76eaac||_0xe51018>_0x76eaac?DateTime['invalid']('Timestamp\x20out\x20of\x20range'):new DateTime({'ts':_0xe51018,'zone':_0x5ac78a(_0xb311f2['zone'],Settings['defaultZone']),'loc':_0x2fcf59['fromObject'](_0xb311f2)});throw new InvalidArgumentError('fromMillis\x20requires\x20a\x20numerical\x20input,\x20but\x20received\x20a\x20'+typeof _0xe51018+'\x20with\x20value\x20'+_0xe51018);}static['fromSeconds'](_0x37b9ee,_0x300f69={}){if(_0x1eaafc(_0x37b9ee))return new DateTime({'ts':0x3e8*_0x37b9ee,'zone':_0x5ac78a(_0x300f69['zone'],Settings['defaultZone']),'loc':_0x2fcf59['fromObject'](_0x300f69)});throw new InvalidArgumentError('fromSeconds\x20requires\x20a\x20numerical\x20input');}static['fromObject'](_0x439735,_0x4f9016={}){_0x439735=_0x439735||{};const _0x2b8730=_0x5ac78a(_0x4f9016['zone'],Settings['defaultZone']);if(!_0x2b8730['isValid'])return DateTime['invalid'](unsupportedZone(_0x2b8730));const _0x4cc290=_0x2fcf59['fromObject'](_0x4f9016),_0x4affcf=normalizeObject(_0x439735,normalizeUnitWithLocalWeeks),{minDaysInFirstWeek:_0x462ed4,startOfWeek:_0x15eec6}=_0x2c5aa6(_0x4affcf,_0x4cc290),_0x22df03=Settings['now'](),_0x1842f3=_0x539845(_0x4f9016['specificOffset'])?_0x2b8730['offset'](_0x22df03):_0x4f9016['specificOffset'],_0xb3896c=!_0x539845(_0x4affcf['ordinal']),_0x55c62c=!_0x539845(_0x4affcf['year']),_0x3f213a=!_0x539845(_0x4affcf['month'])||!_0x539845(_0x4affcf['day']),_0x1c0862=_0x55c62c||_0x3f213a,_0x1a1ee7=_0x4affcf['weekYear']||_0x4affcf['weekNumber'];if((_0x1c0862||_0xb3896c)&&_0x1a1ee7)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x3f213a&&_0xb3896c)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');const _0x5c9921=_0x1a1ee7||_0x4affcf['weekday']&&!_0x1c0862;let _0x1801c7,_0xa7692f,_0x3bb261=tsToObj(_0x22df03,_0x1842f3);_0x5c9921?(_0x1801c7=orderedWeekUnits,_0xa7692f=defaultWeekUnitValues,_0x3bb261=_0x54a85f(_0x3bb261,_0x462ed4,_0x15eec6)):_0xb3896c?(_0x1801c7=orderedOrdinalUnits,_0xa7692f=defaultOrdinalUnitValues,_0x3bb261=_0x4143b8(_0x3bb261)):(_0x1801c7=orderedUnits,_0xa7692f=defaultUnitValues);let _0x4997b3=!0x1;for(const _0x171a55 of _0x1801c7){_0x539845(_0x4affcf[_0x171a55])?_0x4affcf[_0x171a55]=_0x4997b3?_0xa7692f[_0x171a55]:_0x3bb261[_0x171a55]:_0x4997b3=!0x0;}const _0x1471f9=(_0x5c9921?hasInvalidWeekData(_0x4affcf,_0x462ed4,_0x15eec6):_0xb3896c?hasInvalidOrdinalData(_0x4affcf):hasInvalidGregorianData(_0x4affcf))||hasInvalidTimeData(_0x4affcf);if(_0x1471f9)return DateTime['invalid'](_0x1471f9);const _0xcc3c6d=_0x5c9921?_0x7ce96a(_0x4affcf,_0x462ed4,_0x15eec6):_0xb3896c?_0xb2e65(_0x4affcf):_0x4affcf,[_0x30e655,_0x22bbd5]=_0x13f583(_0xcc3c6d,_0x1842f3,_0x2b8730),_0x231b8a=new DateTime({'ts':_0x30e655,'zone':_0x2b8730,'o':_0x22bbd5,'loc':_0x4cc290});return _0x4affcf['weekday']&&_0x1c0862&&_0x439735['weekday']!==_0x231b8a['weekday']?DateTime['invalid']('mismatched\x20weekday','you\x20can\x27t\x20specify\x20both\x20a\x20weekday\x20of\x20'+_0x4affcf['weekday']+'\x20and\x20a\x20date\x20of\x20'+_0x231b8a['toISO']()):_0x231b8a['isValid']?_0x231b8a:DateTime['invalid'](_0x231b8a['invalid']);}static['fromISO'](_0x55ab14,_0x1e2fb4={}){const [_0x3b6483,_0x509343]=parseISODate(_0x55ab14);return parseDataToDateTime(_0x3b6483,_0x509343,_0x1e2fb4,'ISO\x208601',_0x55ab14);}static['fromRFC2822'](_0x4d406c,_0x3ed7a1={}){const [_0x48b235,_0x5c3bd6]=parseRFC2822Date(_0x4d406c);return parseDataToDateTime(_0x48b235,_0x5c3bd6,_0x3ed7a1,'RFC\x202822',_0x4d406c);}static['fromHTTP'](_0x2b22cf,_0x4b48eb={}){const [_0x4ac5a2,_0x4af999]=parseHTTPDate(_0x2b22cf);return parseDataToDateTime(_0x4ac5a2,_0x4af999,_0x4b48eb,'HTTP',_0x4b48eb);}static['fromFormat'](_0x5583c4,_0x135f2b,_0xd712cb={}){if(_0x539845(_0x5583c4)||_0x539845(_0x135f2b))throw new InvalidArgumentError('fromFormat\x20requires\x20an\x20input\x20string\x20and\x20a\x20format');const {locale:_0x556b0e=null,numberingSystem:_0x556cd9=null}=_0xd712cb,_0x22128d=_0x2fcf59['fromOpts']({'locale':_0x556b0e,'numberingSystem':_0x556cd9,'defaultToEN':!0x0}),[_0x121882,_0xb0822c,_0x2ac090,_0x594fe6]=_0x24bac8(_0x22128d,_0x5583c4,_0x135f2b);return _0x594fe6?DateTime['invalid'](_0x594fe6):parseDataToDateTime(_0x121882,_0xb0822c,_0xd712cb,'format\x20'+_0x135f2b,_0x5583c4,_0x2ac090);}static['fromString'](_0x3f83a1,_0x6b5b76,_0x3a1d4f={}){return DateTime['fromFormat'](_0x3f83a1,_0x6b5b76,_0x3a1d4f);}static['fromSQL'](_0x5911da,_0x51b0a7={}){const [_0x11b42b,_0x9c3f85]=_0x406a45(_0x5911da);return parseDataToDateTime(_0x11b42b,_0x9c3f85,_0x51b0a7,'SQL',_0x5911da);}static['invalid'](_0x7694e7,_0x570d3e=null){if(!_0x7694e7)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20DateTime\x20is\x20invalid');const _0x4044a1=_0x7694e7 instanceof _0x4a5313?_0x7694e7:new _0x4a5313(_0x7694e7,_0x570d3e);if(Settings['throwOnInvalid'])throw new InvalidDateTimeError(_0x4044a1);return new DateTime({'invalid':_0x4044a1});}static['isDateTime'](_0x120da4){return _0x120da4&&_0x120da4['isLuxonDateTime']||!0x1;}static['parseFormatForOpts'](_0x4fa50b,_0xe26cba={}){const _0x4c6bcf=formatOptsToTokens(_0x4fa50b,_0x2fcf59['fromObject'](_0xe26cba));return _0x4c6bcf?_0x4c6bcf['map'](t=>t?t['val']:null)['join'](''):null;}static['expandFormat'](_0x4b8a5a,_0x234cb4={}){return _0x184536(Formatter['parseFormat'](_0x4b8a5a),_0x2fcf59['fromObject'](_0x234cb4))['map'](t=>t['val'])['join']('');}static['resetCache'](){zoneOffsetTs=void 0x0,zoneOffsetGuessCache['clear']();}['get'](_0x5c12a9){return this[_0x5c12a9];}get['isValid'](){return null===this['invalid'];}get['invalidReason'](){return this['invalid']?this['invalid']['reason']:null;}get['invalidExplanation'](){return this['invalid']?this['invalid']['explanation']:null;}get['locale'](){return this['isValid']?this['loc']['locale']:null;}get['numberingSystem'](){return this['isValid']?this['loc']['numberingSystem']:null;}get['outputCalendar'](){return this['isValid']?this['loc']['outputCalendar']:null;}get['zone'](){return this['_zone'];}get['zoneName'](){return this['isValid']?this['zone']['name']:null;}get['year'](){return this['isValid']?this['c']['year']:NaN;}get['quarter'](){return this['isValid']?Math['ceil'](this['c']['month']/0x3):NaN;}get['month'](){return this['isValid']?this['c']['month']:NaN;}get['day'](){return this['isValid']?this['c']['day']:NaN;}get['hour'](){return this['isValid']?this['c']['hour']:NaN;}get['minute'](){return this['isValid']?this['c']['minute']:NaN;}get['second'](){return this['isValid']?this['c']['second']:NaN;}get['millisecond'](){return this['isValid']?this['c']['millisecond']:NaN;}get['weekYear'](){return this['isValid']?possiblyCachedWeekData(this)['weekYear']:NaN;}get['weekNumber'](){return this['isValid']?possiblyCachedWeekData(this)['weekNumber']:NaN;}get['weekday'](){return this['isValid']?possiblyCachedWeekData(this)['weekday']:NaN;}get['isWeekend'](){return this['isValid']&&this['loc']['getWeekendDays']()['includes'](this['weekday']);}get['localWeekday'](){return this['isValid']?possiblyCachedLocalWeekData(this)['weekday']:NaN;}get['localWeekNumber'](){return this['isValid']?possiblyCachedLocalWeekData(this)['weekNumber']:NaN;}get['localWeekYear'](){return this['isValid']?possiblyCachedLocalWeekData(this)['weekYear']:NaN;}get['ordinal'](){return this['isValid']?_0x4143b8(this['c'])['ordinal']:NaN;}get['monthShort'](){return this['isValid']?_0x1128c7['months']('short',{'locObj':this['loc']})[this['month']-0x1]:null;}get['monthLong'](){return this['isValid']?_0x1128c7['months']('long',{'locObj':this['loc']})[this['month']-0x1]:null;}get['weekdayShort'](){return this['isValid']?_0x1128c7['weekdays']('short',{'locObj':this['loc']})[this['weekday']-0x1]:null;}get['weekdayLong'](){return this['isValid']?_0x1128c7['weekdays']('long',{'locObj':this['loc']})[this['weekday']-0x1]:null;}get['offset'](){return this['isValid']?+this['o']:NaN;}get['offsetNameShort'](){return this['isValid']?this['zone']['offsetName'](this['ts'],{'format':'short','locale':this['locale']}):null;}get['offsetNameLong'](){return this['isValid']?this['zone']['offsetName'](this['ts'],{'format':'long','locale':this['locale']}):null;}get['isOffsetFixed'](){return this['isValid']?this['zone']['isUniversal']:null;}get['isInDST'](){return!this['isOffsetFixed']&&(this['offset']>this['set']({'month':0x1,'day':0x1})['offset']||this['offset']>this['set']({'month':0x5})['offset']);}['getPossibleOffsets'](){if(!this['isValid']||this['isOffsetFixed'])return[this];const _0xeff625=0x5265c00,_0x19b0de=0xea60,_0x72a76e=_0x3587d8(this['c']),_0x1c45a8=this['zone']['offset'](_0x72a76e-_0xeff625),_0x3386e8=this['zone']['offset'](_0x72a76e+_0xeff625),_0x7cd913=this['zone']['offset'](_0x72a76e-_0x1c45a8*_0x19b0de),_0x2f37e6=this['zone']['offset'](_0x72a76e-_0x3386e8*_0x19b0de);if(_0x7cd913===_0x2f37e6)return[this];const _0x35f531=_0x72a76e-_0x7cd913*_0x19b0de,_0x4de371=_0x72a76e-_0x2f37e6*_0x19b0de,_0x2ef136=tsToObj(_0x35f531,_0x7cd913),_0x2830e2=tsToObj(_0x4de371,_0x2f37e6);return _0x2ef136['hour']===_0x2830e2['hour']&&_0x2ef136['minute']===_0x2830e2['minute']&&_0x2ef136['second']===_0x2830e2['second']&&_0x2ef136['millisecond']===_0x2830e2['millisecond']?[_0x193349(this,{'ts':_0x35f531}),_0x193349(this,{'ts':_0x4de371})]:[this];}get['isInLeapYear'](){return _0x11aa92(this['year']);}get['daysInMonth'](){return daysInMonth(this['year'],this['month']);}get['daysInYear'](){return this['isValid']?_0x3c1bd9(this['year']):NaN;}get['weeksInWeekYear'](){return this['isValid']?_0x103e14(this['weekYear']):NaN;}get['weeksInLocalWeekYear'](){return this['isValid']?_0x103e14(this['localWeekYear'],this['loc']['getMinDaysInFirstWeek'](),this['loc']['getStartOfWeek']()):NaN;}['resolvedLocaleOptions'](_0x8398c2={}){const {locale:_0x4b37b7,numberingSystem:_0x4c746a,calendar:_0x21dff9}=Formatter['create'](this['loc']['clone'](_0x8398c2),_0x8398c2)['resolvedOptions'](this);return{'locale':_0x4b37b7,'numberingSystem':_0x4c746a,'outputCalendar':_0x21dff9};}['toUTC'](_0x54940d=0x0,_0xb07c10={}){return this['setZone'](FixedOffsetZone['instance'](_0x54940d),_0xb07c10);}['toLocal'](){return this['setZone'](Settings['defaultZone']);}['setZone'](_0x16944d,{keepLocalTime:_0x46b097=!0x1,keepCalendarTime:_0x53f271=!0x1}={}){if((_0x16944d=_0x5ac78a(_0x16944d,Settings['defaultZone']))['equals'](this['zone']))return this;if(_0x16944d['isValid']){let _0x2899f4=this['ts'];if(_0x46b097||_0x53f271){const _0x42a327=_0x16944d['offset'](this['ts']),_0x7cdafd=this['toObject']();[_0x2899f4]=_0x13f583(_0x7cdafd,_0x42a327,_0x16944d);}return _0x193349(this,{'ts':_0x2899f4,'zone':_0x16944d});}return DateTime['invalid'](unsupportedZone(_0x16944d));}['reconfigure']({locale:_0x3c2e9b,numberingSystem:_0xa4d534,outputCalendar:_0x5c50fa}={}){return _0x193349(this,{'loc':this['loc']['clone']({'locale':_0x3c2e9b,'numberingSystem':_0xa4d534,'outputCalendar':_0x5c50fa})});}['setLocale'](_0x12dbff){return this['reconfigure']({'locale':_0x12dbff});}['set'](_0x1a2421){if(!this['isValid'])return this;const _0x4e50ed=normalizeObject(_0x1a2421,normalizeUnitWithLocalWeeks),{minDaysInFirstWeek:_0x6a43d,startOfWeek:_0x385fec}=_0x2c5aa6(_0x4e50ed,this['loc']),_0x380c50=!_0x539845(_0x4e50ed['weekYear'])||!_0x539845(_0x4e50ed['weekNumber'])||!_0x539845(_0x4e50ed['weekday']),_0x1394b8=!_0x539845(_0x4e50ed['ordinal']),_0x568841=!_0x539845(_0x4e50ed['year']),_0x162798=!_0x539845(_0x4e50ed['month'])||!_0x539845(_0x4e50ed['day']),_0x59be9e=_0x568841||_0x162798,_0x20e7ee=_0x4e50ed['weekYear']||_0x4e50ed['weekNumber'];if((_0x59be9e||_0x1394b8)&&_0x20e7ee)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x162798&&_0x1394b8)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');let _0x4047ad;_0x380c50?_0x4047ad=_0x7ce96a({..._0x54a85f(this['c'],_0x6a43d,_0x385fec),..._0x4e50ed},_0x6a43d,_0x385fec):_0x539845(_0x4e50ed['ordinal'])?(_0x4047ad={...this['toObject'](),..._0x4e50ed},_0x539845(_0x4e50ed['day'])&&(_0x4047ad['day']=Math['min'](daysInMonth(_0x4047ad['year'],_0x4047ad['month']),_0x4047ad['day']))):_0x4047ad=_0xb2e65({..._0x4143b8(this['c']),..._0x4e50ed});const [_0x4940cb,_0x4ecc66]=_0x13f583(_0x4047ad,this['o'],this['zone']);return _0x193349(this,{'ts':_0x4940cb,'o':_0x4ecc66});}['plus'](_0x3bb0cb){if(!this['isValid'])return this;return _0x193349(this,adjustTime(this,Duration['fromDurationLike'](_0x3bb0cb)));}['minus'](_0x3d1f82){if(!this['isValid'])return this;return _0x193349(this,adjustTime(this,Duration['fromDurationLike'](_0x3d1f82)['negate']()));}['startOf'](_0x5e880d,{useLocaleWeeks:_0x2101a7=!0x1}={}){if(!this['isValid'])return this;const _0x1c188b={},_0x558d2d=Duration['normalizeUnit'](_0x5e880d);switch(_0x558d2d){case'years':_0x1c188b['month']=0x1;case'quarters':case'months':_0x1c188b['day']=0x1;case'weeks':case'days':_0x1c188b['hour']=0x0;case'hours':_0x1c188b['minute']=0x0;case'minutes':_0x1c188b['second']=0x0;case'seconds':_0x1c188b['millisecond']=0x0;}if('weeks'===_0x558d2d){if(_0x2101a7){const _0x1247f9=this['loc']['getStartOfWeek'](),{weekday:_0x88cb74}=this;_0x88cb74<_0x1247f9&&(_0x1c188b['weekNumber']=this['weekNumber']-0x1),_0x1c188b['weekday']=_0x1247f9;}else _0x1c188b['weekday']=0x1;}if('quarters'===_0x558d2d){const _0x343842=Math['ceil'](this['month']/0x3);_0x1c188b['month']=0x3*(_0x343842-0x1)+0x1;}return this['set'](_0x1c188b);}['endOf'](_0x5e2346,_0x5c1a02){return this['isValid']?this['plus']({[_0x5e2346]:0x1})['startOf'](_0x5e2346,_0x5c1a02)['minus'](0x1):this;}['toFormat'](_0x2117b3,_0x5a6e4b={}){return this['isValid']?Formatter['create'](this['loc']['redefaultToEN'](_0x5a6e4b))['formatDateTimeFromString'](this,_0x2117b3):_0x1ab82f;}['toLocaleString'](_0x580813=_0x48fd6d,_0x486a7e={}){return this['isValid']?Formatter['create'](this['loc']['clone'](_0x486a7e),_0x580813)['formatDateTime'](this):_0x1ab82f;}['toLocaleParts'](_0x53bfc2={}){return this['isValid']?Formatter['create'](this['loc']['clone'](_0x53bfc2),_0x53bfc2)['formatDateTimeParts'](this):[];}['toISO']({format:_0x59f4b5='extended',suppressSeconds:_0x6d0bba=!0x1,suppressMilliseconds:_0x3095be=!0x1,includeOffset:_0x5687f7=!0x0,extendedZone:_0x1120a2=!0x1}={}){if(!this['isValid'])return null;const _0x2c5a2e='extended'===_0x59f4b5;let _0x797d87=toISODate(this,_0x2c5a2e);return _0x797d87+='T',_0x797d87+=toISOTime(this,_0x2c5a2e,_0x6d0bba,_0x3095be,_0x5687f7,_0x1120a2),_0x797d87;}['toISODate']({format:_0x48d76d='extended'}={}){return this['isValid']?toISODate(this,'extended'===_0x48d76d):null;}['toISOWeekDate'](){return toTechFormat(this,'kkkk-\x27W\x27WW-c');}['toISOTime']({suppressMilliseconds:_0x4ebcf3=!0x1,suppressSeconds:_0x4e23c3=!0x1,includeOffset:_0x23e690=!0x0,includePrefix:_0x21a900=!0x1,extendedZone:_0x2582ed=!0x1,format:_0x5614a8='extended'}={}){if(!this['isValid'])return null;return(_0x21a900?'T':'')+toISOTime(this,'extended'===_0x5614a8,_0x4e23c3,_0x4ebcf3,_0x23e690,_0x2582ed);}['toRFC2822'](){return toTechFormat(this,'EEE,\x20dd\x20LLL\x20yyyy\x20HH:mm:ss\x20ZZZ',!0x1);}['toHTTP'](){return toTechFormat(this['toUTC'](),'EEE,\x20dd\x20LLL\x20yyyy\x20HH:mm:ss\x20\x27GMT\x27');}['toSQLDate'](){return this['isValid']?toISODate(this,!0x0):null;}['toSQLTime']({includeOffset:_0x591942=!0x0,includeZone:_0x3ea41e=!0x1,includeOffsetSpace:_0x5e6fdd=!0x0}={}){let _0x1944a8='HH:mm:ss.SSS';return(_0x3ea41e||_0x591942)&&(_0x5e6fdd&&(_0x1944a8+='\x20'),_0x3ea41e?_0x1944a8+='z':_0x591942&&(_0x1944a8+='ZZ')),toTechFormat(this,_0x1944a8,!0x0);}['toSQL'](_0x523f80={}){return this['isValid']?this['toSQLDate']()+'\x20'+this['toSQLTime'](_0x523f80):null;}['toString'](){return this['isValid']?this['toISO']():_0x1ab82f;}[Symbol['for']('nodejs.util.inspect.custom')](){return this['isValid']?'DateTime\x20{\x20ts:\x20'+this['toISO']()+',\x20zone:\x20'+this['zone']['name']+',\x20locale:\x20'+this['locale']+'\x20}':'DateTime\x20{\x20Invalid,\x20reason:\x20'+this['invalidReason']+'\x20}';}['valueOf'](){return this['toMillis']();}['toMillis'](){return this['isValid']?this['ts']:NaN;}['toSeconds'](){return this['isValid']?this['ts']/0x3e8:NaN;}['toUnixInteger'](){return this['isValid']?Math['floor'](this['ts']/0x3e8):NaN;}['toJSON'](){return this['toISO']();}['toBSON'](){return this['toJSDate']();}['toObject'](_0x32dda0={}){if(!this['isValid'])return{};const _0x4b7fb6={...this['c']};return _0x32dda0['includeConfig']&&(_0x4b7fb6['outputCalendar']=this['outputCalendar'],_0x4b7fb6['numberingSystem']=this['loc']['numberingSystem'],_0x4b7fb6['locale']=this['loc']['locale']),_0x4b7fb6;}['toJSDate'](){return new Date(this['isValid']?this['ts']:NaN);}['diff'](_0x5f32ef,_0x210b5f='milliseconds',_0x4314b6={}){if(!this['isValid']||!_0x5f32ef['isValid'])return Duration['invalid']('created\x20by\x20diffing\x20an\x20invalid\x20DateTime');const _0x452908={'locale':this['locale'],'numberingSystem':this['numberingSystem'],..._0x4314b6},_0x216147=_0x56166c(_0x210b5f)['map'](Duration['normalizeUnit']),_0x287a0e=_0x5f32ef['valueOf']()>this['valueOf'](),_0x466602=_0x52ae21(_0x287a0e?this:_0x5f32ef,_0x287a0e?_0x5f32ef:this,_0x216147,_0x452908);return _0x287a0e?_0x466602['negate']():_0x466602;}['diffNow'](_0x32438b='milliseconds',_0x24f710={}){return this['diff'](DateTime['now'](),_0x32438b,_0x24f710);}['until'](_0x509fc1){return this['isValid']?Interval['fromDateTimes'](this,_0x509fc1):this;}['hasSame'](_0x5dde67,_0x1bcd66,_0x3f19f9){if(!this['isValid'])return!0x1;const _0x3d3fba=_0x5dde67['valueOf'](),_0x5ec1a1=this['setZone'](_0x5dde67['zone'],{'keepLocalTime':!0x0});return _0x5ec1a1['startOf'](_0x1bcd66,_0x3f19f9)<=_0x3d3fba&&_0x3d3fba<=_0x5ec1a1['endOf'](_0x1bcd66,_0x3f19f9);}['equals'](_0x28f939){return this['isValid']&&_0x28f939['isValid']&&this['valueOf']()===_0x28f939['valueOf']()&&this['zone']['equals'](_0x28f939['zone'])&&this['loc']['equals'](_0x28f939['loc']);}['toRelative'](_0x364b46={}){if(!this['isValid'])return null;const _0x417693=_0x364b46['base']||DateTime['fromObject']({},{'zone':this['zone']}),_0x48d3d9=_0x364b46['padding']?this<_0x417693?-_0x364b46['padding']:_0x364b46['padding']:0x0;let _0x3e959f=['years','months','days','hours','minutes','seconds'],_0x259d82=_0x364b46['unit'];return Array['isArray'](_0x364b46['unit'])&&(_0x3e959f=_0x364b46['unit'],_0x259d82=void 0x0),diffRelative(_0x417693,this['plus'](_0x48d3d9),{..._0x364b46,'numeric':'always','units':_0x3e959f,'unit':_0x259d82});}['toRelativeCalendar'](_0x33b05e={}){return this['isValid']?diffRelative(_0x33b05e['base']||DateTime['fromObject']({},{'zone':this['zone']}),this,{..._0x33b05e,'numeric':'auto','units':['years','months','days'],'calendary':!0x0}):null;}static['min'](..._0x1df329){if(!_0x1df329['every'](DateTime['isDateTime']))throw new InvalidArgumentError('min\x20requires\x20all\x20arguments\x20be\x20DateTimes');return bestBy(_0x1df329,_0x35d294=>_0x35d294['valueOf'](),Math['min']);}static['max'](..._0x42badb){if(!_0x42badb['every'](DateTime['isDateTime']))throw new InvalidArgumentError('max\x20requires\x20all\x20arguments\x20be\x20DateTimes');return bestBy(_0x42badb,_0x372837=>_0x372837['valueOf'](),Math['max']);}static['fromFormatExplain'](_0x109619,_0x552b37,_0x396eec={}){const {locale:_0x53d6e3=null,numberingSystem:_0x47aa82=null}=_0x396eec;return _0x44453c(_0x2fcf59['fromOpts']({'locale':_0x53d6e3,'numberingSystem':_0x47aa82,'defaultToEN':!0x0}),_0x109619,_0x552b37);}static['fromStringExplain'](_0x5d1001,_0x2909a0,_0x567067={}){return DateTime['fromFormatExplain'](_0x5d1001,_0x2909a0,_0x567067);}static['buildFormatParser'](_0x1e60f2,_0x52c050={}){const {locale:_0x243fbb=null,numberingSystem:_0x5ea7f1=null}=_0x52c050,_0x3c619c=_0x2fcf59['fromOpts']({'locale':_0x243fbb,'numberingSystem':_0x5ea7f1,'defaultToEN':!0x0});return new _0x5d04ae(_0x3c619c,_0x1e60f2);}static['fromFormatParser'](_0x500bc6,_0x567f77,_0x3a97eb={}){if(_0x539845(_0x500bc6)||_0x539845(_0x567f77))throw new InvalidArgumentError('fromFormatParser\x20requires\x20an\x20input\x20string\x20and\x20a\x20format\x20parser');const {locale:_0x31de7a=null,numberingSystem:_0xab3c30=null}=_0x3a97eb,_0xc73d86=_0x2fcf59['fromOpts']({'locale':_0x31de7a,'numberingSystem':_0xab3c30,'defaultToEN':!0x0});if(!_0xc73d86['equals'](_0x567f77['locale']))throw new InvalidArgumentError('fromFormatParser\x20called\x20with\x20a\x20locale\x20of\x20'+_0xc73d86+',\x20but\x20the\x20format\x20parser\x20was\x20created\x20for\x20'+_0x567f77['locale']);const {result:_0xe6fbaa,zone:_0x9c7c56,specificOffset:_0xe3ac2c,invalidReason:_0x1bd83d}=_0x567f77['explainFromTokens'](_0x500bc6);return _0x1bd83d?DateTime['invalid'](_0x1bd83d):parseDataToDateTime(_0xe6fbaa,_0x9c7c56,_0x3a97eb,'format\x20'+_0x567f77['format'],_0x500bc6,_0xe3ac2c);}static get['DATE_SHORT'](){return _0x48fd6d;}static get['DATE_MED'](){return _0x3c5ef8;}static get['DATE_MED_WITH_WEEKDAY'](){return _0x21bd4c;}static get['DATE_FULL'](){return _0x4cd4f6;}static get['DATE_HUGE'](){return _0x157614;}static get['TIME_SIMPLE'](){return _0x2d50ef;}static get['TIME_WITH_SECONDS'](){return _0x1664fa;}static get['TIME_WITH_SHORT_OFFSET'](){return _0x301e92;}static get['TIME_WITH_LONG_OFFSET'](){return _0x2c5caa;}static get['TIME_24_SIMPLE'](){return _0x4353f4;}static get['TIME_24_WITH_SECONDS'](){return _0x432721;}static get['TIME_24_WITH_SHORT_OFFSET'](){return _0x4a6b2e;}static get['TIME_24_WITH_LONG_OFFSET'](){return _0x27f277;}static get['DATETIME_SHORT'](){return _0x2a00a;}static get['DATETIME_SHORT_WITH_SECONDS'](){return _0x35fa81;}static get['DATETIME_MED'](){return _0x1b507b;}static get['DATETIME_MED_WITH_SECONDS'](){return _0x327afd;}static get['DATETIME_MED_WITH_WEEKDAY'](){return _0x44c4ca;}static get['DATETIME_FULL'](){return _0x3b647a;}static get['DATETIME_FULL_WITH_SECONDS'](){return _0x1576e9;}static get['DATETIME_HUGE'](){return _0x5dca2e;}static get['DATETIME_HUGE_WITH_SECONDS'](){return _0x479d00;}}function friendlyDateTime(_0x1cc0b8){if(DateTime['isDateTime'](_0x1cc0b8))return _0x1cc0b8;if(_0x1cc0b8&&_0x1cc0b8['valueOf']&&_0x1eaafc(_0x1cc0b8['valueOf']()))return DateTime['fromJSDate'](_0x1cc0b8);if(_0x1cc0b8&&'object'==typeof _0x1cc0b8)return DateTime['fromObject'](_0x1cc0b8);throw new InvalidArgumentError('Unknown\x20datetime\x20argument:\x20'+_0x1cc0b8+',\x20of\x20type\x20'+typeof _0x1cc0b8);}function getDateTimeFormatter(_0x3918de={},_0x11ebd0){if(void 0x0!==_0x3918de['dateTimeFormat']&&'function'!=typeof _0x3918de['dateTimeFormat'])throw new ckeditor5['CKEditorError']('invalid-date-time-format');return _0x55200d=>{const _0x2a6bcd='string'==typeof _0x55200d?DateTime['fromISO'](_0x55200d):DateTime['fromJSDate'](_0x55200d),_0x2425bf=DateTime['now'](),_0x10edb9=Math['floor'](_0x2425bf['diff'](_0x2a6bcd,'days')['days']);return _0x3918de['dateTimeFormat']?_0x3918de['dateTimeFormat'](_0x2a6bcd['toJSDate'](),_0x11ebd0&&_0x11ebd0['t']?_0x11ebd0['t']:void 0x0):0x0===_0x10edb9?_0x11ebd0?getTranslation$h(_0x11ebd0,'Today')+'\x20'+_0x2a6bcd['toFormat']('hh:mma'):_0x2a6bcd['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x10edb9?_0x11ebd0?getTranslation$h(_0x11ebd0,'Yesterday')+'\x20'+_0x2a6bcd['toFormat']('hh:mma'):_0x2a6bcd['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x10edb9<0x7?_0x11ebd0?getTranslation$h(_0x11ebd0,'Last')+'\x20'+getTranslation$h(_0x11ebd0,_0x2a6bcd['toFormat']('EEEE'))+'\x20'+_0x2a6bcd['toFormat']('hh:mma'):_0x2a6bcd['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x2a6bcd['toFormat']('LL-dd-yyyy\x20hh:mma');};}function getMarkerDomElement(_0xaa7162,_0x3ea2a0){const _0x499620=_0xaa7162['mapper']['markerNameToElements'](_0x3ea2a0['name']);if(!_0x499620)return null;const _0x1e7428=ckeditor5['first'](_0x499620['values']());return _0xaa7162['view']['domConverter']['mapViewToDom'](_0x1e7428)||null;}function getAllMarkersDomElementsSorted(_0x428e46,_0x225143){if(0x0===_0x225143['length'])return null;const _0x20d63a=[],_0x1205e3=_0x428e46['view']['domConverter'];for(const _0x458bd8 of _0x225143){const _0x3af6df=_0x428e46['mapper']['markerNameToElements'](_0x458bd8['name']);if(!_0x3af6df)continue;const _0x5c2f6b=Array['from'](_0x3af6df)['map'](_0x2756e2=>_0x1205e3['mapViewToDom'](_0x2756e2))['filter'](_0xd99760=>!!_0xd99760);_0x20d63a['push'](..._0x5c2f6b);}if(0x0===_0x20d63a['length'])return null;const _0x9c4c7f=[];for(const _0x37160b of _0x20d63a){const _0xb28219=_0x37160b['getClientRects']()['item'](0x0);_0xb28219&&_0x9c4c7f['push']({'x':_0xb28219['x'],'y':_0xb28219['y'],'domElement':_0x37160b});}return 0x0===_0x9c4c7f['length']?null:(_0x9c4c7f['sort']((_0x1c7015,_0x39d1a4)=>_0x1c7015['y']-_0x39d1a4['y']||_0x1c7015['x']-_0x39d1a4['x']),_0x9c4c7f['map'](_0x4a0046=>_0x4a0046['domElement']));}function trimHtml(_0x9774ee,{limit:_0x190c1e,suffix:_0x474c1f='...'}){const _0x4ffa3c=[];let _0x2563c3=0x0;const _0x1c5ffb=_0x9774ee['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0xabd8ca=0x0;_0xabd8ca<_0x1c5ffb['length'];_0xabd8ca++){let _0x1501a0=_0x1c5ffb[_0xabd8ca];const _0x693630=splitCharactersToArray(_0x1501a0);if(_0x1501a0['startsWith']('<')){if(_0x2563c3>=_0x190c1e){const _0x4ad9c7=_0x1501a0['match'](/[a-zA-Z]+/);if(!_0x4ad9c7){_0x1c5ffb[_0xabd8ca]='';continue;}const _0x18e4eb=_0x4ad9c7[0x0];_0x1501a0['startsWith']('</')?(_0x4ffa3c['length']&&(_0x1501a0=''),_0x4ffa3c['pop']()):(_0x4ffa3c['push'](_0x18e4eb),_0x1501a0='');}}else{if(_0x2563c3>=_0x190c1e)_0x1501a0='';else{if(_0x2563c3+_0x693630['length']>=_0x190c1e){let _0x5b0258=_0x190c1e-_0x2563c3;if('\x20'===_0x693630[_0x5b0258-0x1])_0x5b0258--;else{const _0x520d9b=_0x693630['slice'](_0x5b0258)['indexOf']('\x20');-0x1!==_0x520d9b?_0x5b0258+=_0x520d9b:_0x5b0258=_0x1501a0['length'];}_0x1501a0=_0x693630['slice'](0x0,_0x5b0258)['join']('')+_0x474c1f,_0x2563c3=_0x190c1e;}else _0x2563c3+=_0x693630['length'];}}_0x1c5ffb[_0xabd8ca]=_0x1501a0;}return _0x1c5ffb['join']('\x0a')['replace'](/\n/g,'');}function splitCharactersToArray(_0x41157e){const _0x4143d4=[];for(let _0x2239ad=0x0;_0x2239ad<_0x41157e['length'];_0x2239ad++){const _0x1f454b=_0x41157e['substring'](_0x2239ad)['match'](/^&[a-z0-9#]+;/);if(_0x1f454b){const _0xdc68a8=_0x1f454b[0x0];_0x4143d4['push'](_0xdc68a8),_0x2239ad+=_0xdc68a8['length']-0x1;}else _0x4143d4['push'](_0x41157e[_0x2239ad]);}return _0x4143d4;}class _0x19fcbd extends ckeditor5['View']{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x3bb00b){super(_0x3bb00b);const _0x8b5918=this['bindTemplate'];this['set']('message',getTranslation$h(_0x3bb00b,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x3bb00b,getTranslation$h(_0x3bb00b,'Yes'),ckeditor5['IconCheck'],'submit'),this['cancelView']=this['_createButtonView'](_0x3bb00b,getTranslation$h(_0x3bb00b,'No'),ckeditor5['IconCancel'],'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-confirm-view'],'tabindex':-0x1,'role':'alertdialog'},'children':[{'tag':'div','attributes':{'class':'ck-confirm-view-inner','role':'presentation'},'children':[{'tag':'p','children':[{'text':_0x8b5918['to']('message')}]},{'tag':'div','attributes':{'class':'ck-confirm-view-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['focus'](){this['cancelView']['element']['focus']({'preventScroll':!0x0});}['_createButtonView'](_0x20a9c6,_0x273f51,_0x31d140,_0x5d55f7){const _0x19b11c=new ckeditor5['ButtonView'](_0x20a9c6);return _0x19b11c['label']=_0x273f51,_0x19b11c['icon']=_0x31d140,_0x19b11c['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x5d55f7}}),_0x19b11c['on']('execute',()=>this['fire'](_0x5d55f7)),_0x19b11c;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x50441e=>{this['keystrokes']['listenTo'](_0x50441e['element']),this['focusTracker']['add'](_0x50441e['element']);}),this['keystrokes']['set']('esc',(_0x46cb89,_0x14c040)=>{this['fire']('cancel'),_0x14c040();});}}function _0x150618(_0x299408){return class extends _0x299408{['showConfirm'](_0x314d69,_0x427ca4){return this['confirmView']=new _0x19fcbd(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x314d69,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x427ca4['appendChild'](this['confirmView']['element']),_0x427ca4['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0xf30ada,_0x2e0af8,_0x2a5470)=>{_0x2a5470||_0x427ca4['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x463b61=>this['confirmView']['on']('submit',_0x463b61));}['cancelConfirm'](){this['isConfirm']&&this['confirmView']['fire']('cancel');}['_removeConfirm'](){this['element']&&this['confirmView']&&this['confirmView']['element']&&(this['element']['focus'](),this['confirmView']['element']['remove'](),this['deregisterChild'](this['confirmView']),this['isConfirm']=!0x1,this['fire']('removeConfirm'),this['confirmView']['destroy'](),this['confirmView']=void 0x0);}};}function hashObject(_0x462cc9){let _0x5c7df3=0x0,_0x14d416=0x0;for(const _0xeba01a of objectToNumberGenerator(_0x462cc9))_0x5c7df3=(_0x5c7df3<<0x5)-_0x5c7df3+_0xeba01a,_0x5c7df3&=_0x5c7df3,[_0x5c7df3,_0x14d416]=[_0x14d416,_0x5c7df3];return toString$1(_0x5c7df3)+toString$1(_0x14d416);}function*toNumberGenerator(_0x365968){null==_0x365968||null==_0x365968?yield 0x12b9b0a1:0x0===_0x365968||!0x1===_0x365968?yield 0x0:0x1===_0x365968||0x1==_0x365968?yield 0x1:Array['isArray'](_0x365968)?yield*arrayToNumberGenerator(_0x365968):'object'==typeof _0x365968?yield*objectToNumberGenerator(_0x365968):'string'==typeof _0x365968?yield*stringToNumberGenerator(_0x365968):'number'==typeof _0x365968&&(yield _0x365968);}function*objectToNumberGenerator(_0x3f7f01){if(yield _0x15043d('{'),_0x3f7f01){const _0x4b947f=Object['keys'](_0x3f7f01)['sort']();for(const _0x516d68 of _0x4b947f){yield*stringToNumberGenerator(_0x516d68),yield _0x15043d(':');const _0x354321=_0x3f7f01[_0x516d68];yield*toNumberGenerator(_0x354321);}}yield _0x15043d('}');}function*arrayToNumberGenerator(_0x2f9cca){for(const _0x54dee2 of _0x2f9cca)yield*toNumberGenerator(_0x54dee2);}function*stringToNumberGenerator(_0x2b213c){yield _0x15043d('\x22');for(const _0x5ac496 of _0x2b213c)yield _0x15043d(_0x5ac496);yield _0x15043d('\x22');}function _0x15043d(_0x1d16a0){return _0x1d16a0['charCodeAt'](0x0);}function toString$1(_0x5efd7e){return(_0x5efd7e*=Math['sign'](_0x5efd7e))['toString'](0x24);}const blackListedConfigOptions=['initialData','context','toolbar','rootsAttributes'],blackListedPlugins$2=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function skipRtcPlugins(_0x474055,_0x15ec4c,_0x2dd221,_0x2971ea=[]){const _0x507344='string'==typeof _0x474055?_0x2dd221['get'](_0x474055)['constructor']:_0x474055['prototype']['constructor'];if(_0x15ec4c['has'](_0x507344))return _0x15ec4c['get'](_0x507344);_0x15ec4c['set'](_0x507344,!0x0);const _0x2d53e9=[...blackListedPlugins$2,..._0x2971ea]['map'](_0x40df=>{if(_0x2dd221['has'](_0x40df))return _0x2dd221['get'](_0x40df)['constructor'];})['filter'](_0x3fb552=>_0x3fb552);if(_0x507344&&_0x2d53e9['includes'](_0x507344))return _0x15ec4c['set'](_0x507344,!0x1),!0x1;if(!_0x507344['requires'])return _0x15ec4c['set'](_0x507344,!0x0),!0x0;const _0x3af082=_0x507344['requires']['every'](_0x5cc2d0=>skipRtcPlugins(_0x5cc2d0,_0x15ec4c,_0x2dd221,_0x2971ea));return _0x15ec4c['set'](_0x507344,_0x3af082),_0x3af082;}function sanitizeEditorConfig(_0x4cfd99,_0x235e37){const _0x315e01={};for(const _0x248425 of _0x4cfd99['config']['names']())blackListedConfigOptions['includes'](_0x248425)||(_0x315e01[_0x248425]=_0x4cfd99['config']['get'](_0x248425));const _0x298bcc=_0x315e01['plugins']||[],_0xa6d788=_0x4cfd99['constructor']['builtinPlugins']||[],_0x294c8c=_0x298bcc['length']?_0x298bcc:_0xa6d788,_0x4e193d=_0x315e01['extraPlugins']||[];delete _0x315e01['extraPlugins'];const _0x4ab91c=_0x315e01['removePlugins']||[];delete _0x315e01['removePlugins'];const _0x479a09=_0x4cfd99['_context']['config']['get']('plugins')||[],_0x2928d2=_0x294c8c['concat'](_0x4e193d)['concat'](_0x479a09)['map'](_0x34a4ad=>'string'==typeof _0x34a4ad?_0xa6d788['find'](_0x5ecd5d=>_0x5ecd5d['pluginName']==_0x34a4ad):_0x34a4ad)['filter'](_0x3c21fc=>!_0x4ab91c['includes'](_0x3c21fc)&&!_0x4ab91c['includes'](_0x3c21fc['pluginName'])),_0x56dded=Array['from'](new Set(_0x2928d2)),_0x59e432=new Map();return _0x315e01['plugins']=_0x56dded['filter'](_0x1c631a=>skipRtcPlugins(_0x1c631a,_0x59e432,_0x4cfd99['plugins'],_0x235e37)),_0x315e01;}function surroundingMarkersDetector(_0x48b4eb,_0x57e9d2){const _0x4330ee=[];_0x48b4eb['document']['selection']['on']('change:range',()=>{const _0x301365=getSurroundingMarkers(_0x48b4eb,_0x48b4eb['document']['selection']['focus']),_0xf8754e=[],_0x5e1bfe=[],_0x3ef1ee=[];for(const _0x76c794 of _0x4330ee)_0x301365['includes'](_0x76c794)||_0xf8754e['push'](_0x76c794);for(const _0x1f20d3 of _0x301365)_0x4330ee['includes'](_0x1f20d3)||_0x5e1bfe['push'](_0x1f20d3),_0x3ef1ee['push'](_0x1f20d3);(_0xf8754e['length']||_0x5e1bfe['length'])&&_0x57e9d2({'left':_0xf8754e,'entered':_0x5e1bfe}),_0x4330ee['length']=0x0,_0x4330ee['push'](..._0x3ef1ee);});}function getSurroundingMarkers(_0x2a4819,_0x79bab0){const _0x33d2bf=[];for(const _0x4194f6 of _0x2a4819['markers']){const _0x5d6d8f=_0x4194f6['getRange']();(_0x5d6d8f['containsPosition'](_0x79bab0)||_0x5d6d8f['start']['isEqual'](_0x79bab0)||_0x5d6d8f['end']['isEqual'](_0x79bab0))&&_0x33d2bf['push'](_0x4194f6);}return _0x33d2bf;}const _0x44b17e='Ctrl+Shift+E';function setupThreadKeyboardNavigation(_0x343af4,_0x6636a1){const _0x3febe6=_0x343af4['element'];_0x343af4['keystrokes']['listenTo'](_0x3febe6);for(const _0x4d3efc of _0x6636a1)addViewToFocusCyclerNavigation(_0x343af4,_0x4d3efc);_0x6636a1['on']('change',(_0x2677db,_0x8a822f)=>{for(const _0x44db82 of _0x8a822f['removed'])removeViewFromFocusCyclerNavigation(_0x343af4,_0x44db82);for(const _0xf8f170 of Array['from'](_0x8a822f['added'])['reverse']())addViewToFocusCyclerNavigation(_0x343af4,_0xf8f170);}),_0x343af4['keystrokes']['set']('enter',(_0x1cf16f,_0x3a1fbb)=>{_0x3febe6===_0x1cf16f['target']&&(_0x343af4['focusCycler']['focusFirst'](),_0x3a1fbb());},{'filter':_0x1475e1=>_0x1475e1['target']===_0x3febe6}),_0x343af4['keystrokes']['set']('esc',(_0x5740d1,_0x495b5e)=>{_0x3febe6!==_0x5740d1['target']?_0x343af4['focus']():_0x343af4['fire']('escape'),_0x495b5e();}),_0x343af4['keystrokes']['set']('arrowdown',(_0x1a8db3,_0x1261e2)=>{_0x3febe6===_0x1a8db3['target']&&(_0x343af4['fire']('arrowdown'),_0x1261e2());}),_0x343af4['keystrokes']['set']('arrowup',(_0x4b2d37,_0x50a16e)=>{_0x3febe6===_0x4b2d37['target']&&(_0x343af4['fire']('arrowup'),_0x50a16e());});}function addViewToFocusCyclerNavigation(_0x1da505,_0x574228){_0x574228['isRendered']&&(_0x1da505['focusTracker']['add'](_0x574228['element']),_0x1da505['keystrokes']['listenTo'](_0x574228['element']),ckeditor5['isViewWithFocusCycler'](_0x574228)&&areFocusCyclerActionsCompatible(_0x1da505['focusCycler'],_0x574228['focusCycler'])&&_0x1da505['focusCycler']['chain'](_0x574228['focusCycler']));}function removeViewFromFocusCyclerNavigation(_0x208466,_0x3004df){_0x208466['focusTracker']['remove'](_0x3004df['element']),_0x208466['keystrokes']['stopListening'](_0x3004df['element']),ckeditor5['isViewWithFocusCycler'](_0x3004df)&&_0x208466['focusCycler']['unchain'](_0x3004df['focusCycler']);}function areFocusCyclerActionsCompatible(_0x5679c6,_0x114954){const _0x24fafd=_0x5679c6['actions'],_0x4366e4=_0x114954['actions'];for(const _0x37b0f8 of Object['keys'](_0x24fafd))if(_0x37b0f8 in _0x4366e4&&_0x24fafd[_0x37b0f8]!==_0x4366e4[_0x37b0f8])return!0x1;return!0x0;}class _0x207d89{['diff'](_0x226cea,_0x3bb5de,_0x2ff0a8={}){let _0x53c7d5;'function'==typeof _0x2ff0a8?(_0x53c7d5=_0x2ff0a8,_0x2ff0a8={}):'callback'in _0x2ff0a8&&(_0x53c7d5=_0x2ff0a8['callback']);const _0x528468=this['castInput'](_0x226cea,_0x2ff0a8),_0xe59a1a=this['castInput'](_0x3bb5de,_0x2ff0a8),_0xabe57=this['removeEmpty'](this['tokenize'](_0x528468,_0x2ff0a8)),_0x3fa794=this['removeEmpty'](this['tokenize'](_0xe59a1a,_0x2ff0a8));return this['diffWithOptionsObj'](_0xabe57,_0x3fa794,_0x2ff0a8,_0x53c7d5);}['diffWithOptionsObj'](_0x567306,_0x249ec3,_0x1a362e,_0x1b9809){var _0x463cb1;const _0x50db52=_0x2b4138=>(_0x2b4138=this['postProcess'](_0x2b4138,_0x1a362e),_0x1b9809?void setTimeout(function(){_0x1b9809(_0x2b4138);},0x0):_0x2b4138),_0x2a2e82=_0x249ec3['length'],_0x585201=_0x567306['length'];let _0x30f755=0x1,_0x195346=_0x2a2e82+_0x585201;null!=_0x1a362e['maxEditLength']&&(_0x195346=Math['min'](_0x195346,_0x1a362e['maxEditLength']));const _0x145867=null!==(_0x463cb1=_0x1a362e['timeout'])&&void 0x0!==_0x463cb1?_0x463cb1:0x1/0x0,_0xce90f0=Date['now']()+_0x145867,_0x21b26c=[{'oldPos':-0x1,'lastComponent':void 0x0}];let _0x1806c6=this['extractCommon'](_0x21b26c[0x0],_0x249ec3,_0x567306,0x0,_0x1a362e);if(_0x21b26c[0x0]['oldPos']+0x1>=_0x585201&&_0x1806c6+0x1>=_0x2a2e82)return _0x50db52(this['buildValues'](_0x21b26c[0x0]['lastComponent'],_0x249ec3,_0x567306));let _0x45009f=-0x1/0x0,_0xe09f1f=0x1/0x0;const _0x30c108=()=>{for(let _0x369315=Math['max'](_0x45009f,-_0x30f755);_0x369315<=Math['min'](_0xe09f1f,_0x30f755);_0x369315+=0x2){let _0x247761;const _0x14e091=_0x21b26c[_0x369315-0x1],_0x54073b=_0x21b26c[_0x369315+0x1];_0x14e091&&(_0x21b26c[_0x369315-0x1]=void 0x0);let _0x499732=!0x1;if(_0x54073b){const _0x12adc3=_0x54073b['oldPos']-_0x369315;_0x499732=_0x54073b&&0x0<=_0x12adc3&&_0x12adc3<_0x2a2e82;}const _0x43be91=_0x14e091&&_0x14e091['oldPos']+0x1<_0x585201;if(_0x499732||_0x43be91){if(_0x247761=!_0x43be91||_0x499732&&_0x14e091['oldPos']<_0x54073b['oldPos']?this['addToPath'](_0x54073b,!0x0,!0x1,0x0,_0x1a362e):this['addToPath'](_0x14e091,!0x1,!0x0,0x1,_0x1a362e),_0x1806c6=this['extractCommon'](_0x247761,_0x249ec3,_0x567306,_0x369315,_0x1a362e),_0x247761['oldPos']+0x1>=_0x585201&&_0x1806c6+0x1>=_0x2a2e82)return _0x50db52(this['buildValues'](_0x247761['lastComponent'],_0x249ec3,_0x567306))||!0x0;_0x21b26c[_0x369315]=_0x247761,_0x247761['oldPos']+0x1>=_0x585201&&(_0xe09f1f=Math['min'](_0xe09f1f,_0x369315-0x1)),_0x1806c6+0x1>=_0x2a2e82&&(_0x45009f=Math['max'](_0x45009f,_0x369315+0x1));}else _0x21b26c[_0x369315]=void 0x0;}_0x30f755++;};if(_0x1b9809)!function _0x122997(){setTimeout(function(){if(_0x30f755>_0x195346||Date['now']()>_0xce90f0)return _0x1b9809(void 0x0);_0x30c108()||_0x122997();},0x0);}();else for(;_0x30f755<=_0x195346&&Date['now']()<=_0xce90f0;){const _0x2467b8=_0x30c108();if(_0x2467b8)return _0x2467b8;}}['addToPath'](_0x34e59a,_0x5a0ea1,_0x44307b,_0x43c2e3,_0x2f5f07){const _0x37b5c1=_0x34e59a['lastComponent'];return _0x37b5c1&&!_0x2f5f07['oneChangePerToken']&&_0x37b5c1['added']===_0x5a0ea1&&_0x37b5c1['removed']===_0x44307b?{'oldPos':_0x34e59a['oldPos']+_0x43c2e3,'lastComponent':{'count':_0x37b5c1['count']+0x1,'added':_0x5a0ea1,'removed':_0x44307b,'previousComponent':_0x37b5c1['previousComponent']}}:{'oldPos':_0x34e59a['oldPos']+_0x43c2e3,'lastComponent':{'count':0x1,'added':_0x5a0ea1,'removed':_0x44307b,'previousComponent':_0x37b5c1}};}['extractCommon'](_0x366b01,_0x47b776,_0x397b1b,_0x5170c8,_0x632349){const _0x15fa56=_0x47b776['length'],_0x30e819=_0x397b1b['length'];let _0x4cbab3=_0x366b01['oldPos'],_0x3f28ac=_0x4cbab3-_0x5170c8,_0x19955a=0x0;for(;_0x3f28ac+0x1<_0x15fa56&&_0x4cbab3+0x1<_0x30e819&&this['equals'](_0x397b1b[_0x4cbab3+0x1],_0x47b776[_0x3f28ac+0x1],_0x632349);)_0x3f28ac++,_0x4cbab3++,_0x19955a++,_0x632349['oneChangePerToken']&&(_0x366b01['lastComponent']={'count':0x1,'previousComponent':_0x366b01['lastComponent'],'added':!0x1,'removed':!0x1});return _0x19955a&&!_0x632349['oneChangePerToken']&&(_0x366b01['lastComponent']={'count':_0x19955a,'previousComponent':_0x366b01['lastComponent'],'added':!0x1,'removed':!0x1}),_0x366b01['oldPos']=_0x4cbab3,_0x3f28ac;}['equals'](_0x28b467,_0x5a9817,_0x3f7050){return _0x3f7050['comparator']?_0x3f7050['comparator'](_0x28b467,_0x5a9817):_0x28b467===_0x5a9817||!!_0x3f7050['ignoreCase']&&_0x28b467['toLowerCase']()===_0x5a9817['toLowerCase']();}['removeEmpty'](_0x5186af){const _0x32868c=[];for(let _0xe534e6=0x0;_0xe534e6<_0x5186af['length'];_0xe534e6++)_0x5186af[_0xe534e6]&&_0x32868c['push'](_0x5186af[_0xe534e6]);return _0x32868c;}['castInput'](_0x5c316b,_0x1c1903){return _0x5c316b;}['tokenize'](_0x5796a0,_0x34da82){return Array['from'](_0x5796a0);}['join'](_0x3059bd){return _0x3059bd['join']('');}['postProcess'](_0x28584f,_0x489217){return _0x28584f;}get['useLongestToken'](){return!0x1;}['buildValues'](_0x158f9f,_0x56c04d,_0x34d84f){const _0x3eaab1=[];let _0x40d033;for(;_0x158f9f;)_0x3eaab1['push'](_0x158f9f),_0x40d033=_0x158f9f['previousComponent'],delete _0x158f9f['previousComponent'],_0x158f9f=_0x40d033;_0x3eaab1['reverse']();const _0x45529a=_0x3eaab1['length'];let _0x33cb9b=0x0,_0x2be271=0x0,_0x4763af=0x0;for(;_0x33cb9b<_0x45529a;_0x33cb9b++){const _0x3aca6e=_0x3eaab1[_0x33cb9b];if(_0x3aca6e['removed'])_0x3aca6e['value']=this['join'](_0x34d84f['slice'](_0x4763af,_0x4763af+_0x3aca6e['count'])),_0x4763af+=_0x3aca6e['count'];else{if(!_0x3aca6e['added']&&this['useLongestToken']){let _0x40a781=_0x56c04d['slice'](_0x2be271,_0x2be271+_0x3aca6e['count']);_0x40a781=_0x40a781['map'](function(_0xdbfd08,_0x456eba){const _0x7c6f0c=_0x34d84f[_0x4763af+_0x456eba];return _0x7c6f0c['length']>_0xdbfd08['length']?_0x7c6f0c:_0xdbfd08;}),_0x3aca6e['value']=this['join'](_0x40a781);}else _0x3aca6e['value']=this['join'](_0x56c04d['slice'](_0x2be271,_0x2be271+_0x3aca6e['count']));_0x2be271+=_0x3aca6e['count'],_0x3aca6e['added']||(_0x4763af+=_0x3aca6e['count']);}}return _0x3eaab1;}}class _0x1e766f extends _0x207d89{['tokenize'](_0x3f412a){return _0x3f412a['slice']();}['join'](_0xbac29f){return _0xbac29f;}['removeEmpty'](_0x18ff65){return _0x18ff65;}}const _0x59ec22=new _0x1e766f();function _0x4a8128(_0x1af337,_0x49d406,_0x3aa628){return _0x59ec22['diff'](_0x1af337,_0x49d406,_0x3aa628);}const _0x15f9cf='$elementId',_0x4a42a6='data-id';class DocumentCompare extends ckeditor5['ContextPlugin']{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof ckeditor5['Editor']?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x116f8d,_0x539cc8)=>{_0x539cc8['on']('ready',()=>{this['_integrateEditor'](_0x539cc8);});});}get['editor'](){if(this['context']instanceof ckeditor5['Editor'])return this['context'];{const _0x31a391=this['context']['editors']['first'];if(!_0x31a391)throw new ckeditor5['CKEditorError']('documentcompare-no-editor',this);return _0x31a391;}}['getDiff'](_0x9d4be6,_0x53c6e3,_0x1621e4={'anchor':'main','markDeletions':!0x1}){let _0x137344,_0x4a8154;const _0x6fb70b=this['editor'];if('string'==typeof _0x1621e4['anchor']){const _0x2f45a4=_0x6fb70b['model']['document']['getRoot'](_0x1621e4['anchor']);if(!_0x2f45a4)throw new ckeditor5['CKEditorError']('documentcompare-compare-no-root',this,{'anchor':_0x1621e4['anchor']});_0x137344=_0x2f45a4,_0x4a8154=_0x6fb70b['model']['createPositionAt'](_0x2f45a4,0x0);}else _0x137344=_0x1621e4['anchor']['clone'](),_0x4a8154=_0x1621e4['anchor']['clone']();const _0x198629=_0x6fb70b['data']['parse'](_0x9d4be6,_0x137344),_0x31ef24=_0x6fb70b['data']['parse'](_0x53c6e3,_0x137344);return new DocumentDiff(_0x198629,_0x31ef24,_0x6fb70b,{'anchor':_0x4a8154,'markDeletions':_0x1621e4['markDeletions']});}['isMarkedRemoveOperation'](_0xd6eb75){return'marker'==_0xd6eb75['type']&&_0xd6eb75['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x349e98){_0x349e98['conversion']['for']('upcast')['add'](_0x481552=>{_0x481552['on']('element',(_0x31ffc0,_0x1e3bf1,_0xe29ef1)=>{if(_0x1e3bf1['modelRange'])for(const _0x3c484a of _0x1e3bf1['modelRange']['getItems']({'shallow':!0x0})){if(_0x3c484a['is']('$textProxy'))continue;const _0x4ef2ce=_0x1e3bf1['viewItem']['getAttribute'](_0x4a42a6);_0x4ef2ce&&_0xe29ef1['writer']['setAttribute'](_0x15f9cf,_0x4ef2ce,_0x3c484a);}},{'priority':'lowest'});}),_0x349e98['model']['schema']['addAttributeCheck'](()=>!0x0,_0x15f9cf);}}class DocumentDiff{['_editor'];['_diffItems']=[];['_operationsData']=[];['_markDeletions'];['_anchor'];['_path']=[0x0];['_parents']=[];constructor(_0x271ae8,_0xc270a3,_0x46d169,_0x5c648a){this['_editor']=_0x46d169,this['_markDeletions']=!!_0x5c648a['markDeletions'],this['_anchor']=_0x5c648a['anchor'];const _0x3bcb60=this['_tokenizeModel'](_0x271ae8),_0x46c1a0=this['_tokenizeModel'](_0xc270a3);this['_diffItems']=this['_diffModelTokens'](_0x3bcb60,_0x46c1a0),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x271ae8['markers'],_0xc270a3['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x30dc96=this['_editor']['model']['document'],_0x35a16c=[];let _0x48c052=_0x30dc96['version'];for(const _0x4e6539 of this['_operationsData'])switch(_0x4e6539['type']){case'attribute':{const _0x59e87e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4e6539['path']),_0x18aba2=_0x59e87e['getShiftedBy'](_0x4e6539['howMany']),_0x2b11e4=new ckeditor5['ModelRange'](_0x59e87e,_0x18aba2),_0x7d20b6=JSON['parse'](_0x4e6539['oldValue']),_0xd72c25=JSON['parse'](_0x4e6539['newValue']);_0x35a16c['push'](new ckeditor5['AttributeOperation'](_0x2b11e4,_0x4e6539['key'],_0x7d20b6,_0xd72c25,_0x48c052++));break;}case'insert':{const _0x5716ab=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4e6539['path']),_0x8e5978=this['_makeModelFromTokens'](_0x4e6539['tokens']);_0x35a16c['push'](new ckeditor5['InsertOperation'](_0x5716ab,_0x8e5978,_0x48c052++));break;}case'remove':{const _0x4b8a8e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4e6539['path']),_0x4d12d3=new ckeditor5['ModelPosition'](_0x30dc96['graveyard'],[0x0]);_0x35a16c['push'](new ckeditor5['MoveOperation'](_0x4b8a8e,_0x4e6539['howMany'],_0x4d12d3,_0x48c052++));break;}case'rename':{const _0x45842a=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4e6539['path']);_0x35a16c['push'](new ckeditor5['RenameOperation'](_0x45842a,_0x4e6539['oldName'],_0x4e6539['newName'],_0x48c052++));break;}case'split':{const _0x273959=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4e6539['path']),_0x307413=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4e6539['path']['slice'](0x0,-0x1));_0x307413['offset']++,_0x35a16c['push'](new ckeditor5['SplitOperation'](_0x273959,Number['NEGATIVE_INFINITY'],_0x307413,null,_0x48c052++));break;}case'merge':{const _0x3abbbc=_0x4e6539['path']['slice'](),_0x1704ea=_0x3abbbc['slice'](0x0,-0x1);_0x1704ea[_0x1704ea['length']-0x1]++,_0x1704ea['push'](0x0);const _0x39514c=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1704ea),_0x4dafff=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3abbbc),_0x421673=new ckeditor5['ModelPosition'](_0x30dc96['graveyard'],[0x0]);_0x35a16c['push'](new ckeditor5['MergeOperation'](_0x39514c,Number['NEGATIVE_INFINITY'],_0x4dafff,_0x421673,_0x48c052++));break;}case'marker':case'markedRemove':{let _0x4cbb8a=null;if(_0x4e6539['range']){const _0x43f6b2=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4e6539['range']['start']),_0x1e8d9e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4e6539['range']['end']);_0x4cbb8a=new ckeditor5['ModelRange'](_0x43f6b2,_0x1e8d9e);}const _0xd958ed='marker'==_0x4e6539['type']?_0x4e6539['name']:'$markedRemove:'+ckeditor5['uid']();_0x35a16c['push'](new ckeditor5['MarkerOperation'](_0xd958ed,null,_0x4cbb8a,_0x30dc96['model']['markers'],!0x0,_0x48c052++));break;}case'unwrap':{const _0x296f83=_0x4e6539['path']['slice']();_0x296f83['push'](0x0);const _0x1cc709=_0x4e6539['path']['slice'](),_0x513c45=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x296f83),_0x162794=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1cc709),_0x30d384=new ckeditor5['ModelPosition'](_0x30dc96['graveyard'],[0x0]);_0x35a16c['push'](new ckeditor5['MoveOperation'](_0x513c45,_0x4e6539['howMany'],_0x162794,_0x48c052++)),_0x35a16c['push'](new ckeditor5['MoveOperation'](_0x162794['getShiftedBy'](_0x4e6539['howMany']),0x1,_0x30d384,_0x48c052++));break;}case'wrap':{const _0x4ff712=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4e6539['range']['start']),_0x3a7fea=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4e6539['range']['end']),_0x318531=_0x4e6539['token']['element']['_clone'](!0x1),_0x5b869e=_0x4e6539['range']['end']['slice']();_0x5b869e['push'](0x0);const _0x167853=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5b869e);_0x35a16c['push'](new ckeditor5['InsertOperation'](_0x3a7fea,_0x318531,_0x48c052++)),_0x35a16c['push'](new ckeditor5['MoveOperation'](_0x4ff712,_0x3a7fea['offset']-_0x4ff712['offset'],_0x167853,_0x48c052++));break;}}return _0x35a16c;}['_tokenizeModel'](_0x37bd2f){const _0x5e7669=[],_0xb9969d=ckeditor5['ModelRange']['_createIn'](_0x37bd2f),_0x5f2ac6=new ckeditor5['ModelTreeWalker']({'boundaries':_0xb9969d});let _0x50a362='',_0x505575=null;const _0x4b57a0=[''],_0xea1688=new Map();for(const _0x121035 of _0x5f2ac6)if('elementStart'==_0x121035['type']||'elementEnd'==_0x121035['type']){let _0x24e044=_0x4b57a0[0x0];''!==_0x50a362&&(_0x5e7669['push'](...this['_makeTokensFromTextByWords'](_0x50a362,_0x505575,_0x24e044)),_0x50a362='');const _0x442abf=_0x121035['item'];let _0x2473b1;_0x442abf['getAttribute'](_0x15f9cf)?_0x2473b1=_0x442abf['getAttribute'](_0x15f9cf):'elementStart'==_0x121035['type']?(_0x2473b1=makeUidForElement(_0x442abf),_0xea1688['set'](_0x442abf,_0x2473b1)):_0x2473b1=_0xea1688['get'](_0x442abf);const _0x159052=this['_getElementCategory'](_0x442abf);'solid'==_0x159052&&('elementStart'==_0x121035['type']?(_0x24e044=_0x2473b1,_0x4b57a0['unshift'](_0x24e044)):_0x4b57a0['shift']());const _0x16b666={'type':'element','element':_0x442abf,'elementId':_0x2473b1,'category':_0x159052,'isStart':'elementStart'==_0x121035['type'],'limitId':_0x24e044};_0x5e7669['push'](_0x16b666);}else''==_0x50a362&&(_0x505575=_0x121035['previousPosition']['clone']()),_0x50a362+=_0x121035['item']['data'];return''!==_0x50a362&&_0x5e7669['push'](...this['_makeTokensFromTextByWords'](_0x50a362,_0x505575,_0x4b57a0[0x0])),_0x5e7669;}['_makeTokensFromTextByWords'](_0x4972d8,_0x505a9c,_0x14bbef){const _0x3afcde=_0x4972d8['matchAll'](/(\s)/g),_0x259c67=Array['from'](_0x3afcde)['map'](_0x47cf48=>_0x47cf48['index']);_0x259c67['push'](_0x4972d8['length']),0x0==_0x259c67[0x0]&&_0x259c67['shift']();const _0x245c63=[],_0x35d30b=_0x505a9c['parent'];let _0x1f5a60=0x0,_0x982424=_0x505a9c['offset'];for(let _0x4d5d61=0x0;_0x4d5d61<_0x259c67['length'];_0x4d5d61++)_0x245c63['push']({'type':'text','data':_0x4972d8['slice'](_0x1f5a60,_0x259c67[_0x4d5d61]),'parent':_0x35d30b,'offset':_0x982424,'limitId':_0x14bbef}),_0x1f5a60=_0x259c67[_0x4d5d61],_0x982424=_0x505a9c['offset']+_0x259c67[_0x4d5d61];return _0x245c63;}['_getElementCategory'](_0x3bb951){const _0x28efd8=this['_editor']['model']['schema'];return _0x28efd8['isLimit'](_0x3bb951)||_0x28efd8['isContent'](_0x3bb951)||_0x28efd8['isInline'](_0x3bb951)?'solid':_0x28efd8['isBlock'](_0x3bb951)?'block':'container';}['_diffModelTokens'](_0x53e2ce,_0x2be002){const _0x3395f6=_0x4a8128(_0x53e2ce,_0x2be002,{'comparator':_0x217c65});this['_handleUnclosedBlockOpeningTags'](_0x3395f6);const _0x203b8f=_0x3395f6['flatMap'](_0x393593=>{const _0x5e2fea=_0x393593['added']?'added':_0x393593['removed']?'removed':'unchanged';return _0x393593['value']['map'](_0x39e997=>({'token':_0x39e997,'change':_0x5e2fea}));});let _0x283d19=0x0;for(const _0x7dc7b8 of _0x203b8f)'added'!=_0x7dc7b8['change']&&('unchanged'==_0x7dc7b8['change']&&(_0x7dc7b8['before']=_0x53e2ce[_0x283d19]),_0x283d19++);return _0x203b8f;}['_handleUnclosedBlockOpeningTags'](_0xf437f7){for(let _0x259074=0x0;_0x259074<_0xf437f7['length']-0x1;_0x259074++)if(_0xf437f7[_0x259074]['removed']&&_0xf437f7[_0x259074+0x1]['added']){const _0x417810=this['_findUnclosedBlockOpeningToken'](_0xf437f7[_0x259074]['value']);if(null!==_0x417810){const _0x487f2c=this['_findUnclosedBlockOpeningToken'](_0xf437f7[_0x259074+0x1]['value']),_0x34a7f3=_0xf437f7[_0x259074]['value']['splice'](_0x417810),_0x540f13=_0xf437f7[_0x259074+0x1]['value']['splice'](_0x487f2c),_0x4b3c56=[_0x540f13['shift']()];_0x34a7f3['shift']();const _0x62f207={'value':_0x34a7f3,'removed':!0x0},_0x5731b9={'value':_0x540f13,'added':!0x0},_0xf2c3f4={'value':_0x4b3c56};_0xf437f7['splice'](_0x259074+0x2,0x0,_0xf2c3f4,_0x62f207,_0x5731b9);}}}['_findUnclosedBlockOpeningToken'](_0x446e41){let _0x5cf252=0x0,_0x2eebcc=-0x1;for(let _0x20431b=0x0;_0x20431b<_0x446e41['length'];_0x20431b++){const _0x753e52=_0x446e41[_0x20431b];'element'==_0x753e52['type']&&'block'==_0x753e52['category']&&(_0x5cf252+=_0x753e52['isStart']?0x1:-0x1,_0x753e52['isStart']&&(_0x2eebcc=_0x20431b));}return 0x0===_0x5cf252?null:_0x2eebcc;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x54ea69=0x0;_0x54ea69<this['_diffItems']['length'];_0x54ea69++){const _0x132c41=this['_diffItems'][_0x54ea69]['change'],_0x3264f9=[];_0x3264f9['push'](this['_diffItems'][_0x54ea69]);let _0xe7f91f=_0x54ea69+0x1;for(;this['_diffItems'][_0xe7f91f]&&this['_diffItems'][_0xe7f91f]['change']==_0x132c41;)_0x3264f9['push'](this['_diffItems'][_0xe7f91f]),_0xe7f91f++,_0x54ea69++;const _0x1f50bf=_0x3264f9['map'](_0x14d1e6=>_0x14d1e6['token']);if('unchanged'==_0x132c41)_0x3264f9['map'](_0x5c8807=>_0x5c8807['before'])['forEach'](_0xfb631b=>this['_traverseOverItem'](_0xfb631b));else{if('removed'==_0x132c41){if(this['_markDeletions']){const _0x34f515=this['_path']['slice']();_0x1f50bf['forEach'](_0x2d5c69=>this['_traverseOverItem'](_0x2d5c69));const _0x4b156c=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x34f515,'end':_0x4b156c}});}else this['_handleChanged'](_0x1f50bf,!0x0,this['_path']['slice']());}else{const _0x2e4ff5=_0x1f50bf['filter'](_0x5e0e1a=>'element'!=_0x5e0e1a['type']||'container'!=_0x5e0e1a['category']);this['_handleChanged'](_0x2e4ff5,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x4a8ea2=0x0;_0x4a8ea2<this['_diffItems']['length'];_0x4a8ea2++){const _0x4516ef=this['_diffItems'][_0x4a8ea2]['change'],_0x1941e2=[];_0x1941e2['push'](this['_diffItems'][_0x4a8ea2]);let _0x2a1cf0=_0x4a8ea2+0x1;for(;this['_diffItems'][_0x2a1cf0]&&this['_diffItems'][_0x2a1cf0]['change']==_0x4516ef;)_0x1941e2['push'](this['_diffItems'][_0x2a1cf0]),_0x2a1cf0++,_0x4a8ea2++;const _0x4b42a1=_0x1941e2['map'](_0x5372a0=>_0x5372a0['token']);if('unchanged'==_0x4516ef){const _0x3aed95=_0x1941e2['map'](_0x3887cd=>_0x3887cd['before']);this['_handleUnchanged'](_0x3aed95,_0x4b42a1);}else('removed'!=_0x4516ef||this['_markDeletions'])&&_0x4b42a1['forEach'](_0x324b19=>{this['_traverseOverItem'](_0x324b19);});}}['_calculateMarkersOperationsData'](_0x1b7376,_0x208976){const _0x5b17ef={};for(const [_0x46505f]of _0x1b7376)_0x5b17ef[_0x46505f]=null;for(const [_0x4a21af,_0xe3f10c]of _0x208976)_0x5b17ef[_0x4a21af]=_0xe3f10c;const _0x19b9c8=Object['entries'](_0x5b17ef)['map'](([_0x4a8a6b,_0x538295])=>({'type':'marker','name':_0x4a8a6b,'range':_0x538295?{'start':_0x538295['start']['path']['slice'](),'end':_0x538295['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x19b9c8);}['_handleUnwraps'](){const _0x5c45e8=new Map(),_0x28646c=[],_0x41bf35=[0x0];let _0x1c3906=this['_diffItems']['length']+0x1;for(let _0x4009e3=this['_diffItems']['length']-0x1;_0x4009e3>=0x0;_0x4009e3--){const {token:_0x11b8c8,before:_0x25bd3c,change:_0x1fa367}=this['_diffItems'][_0x4009e3];if('removed'!=_0x1fa367&&(_0x1c3906=_0x4009e3),'element'!=_0x11b8c8['type']||'container'!=_0x11b8c8['category']||'added'==_0x1fa367)continue;const _0x41d3f4=_0x25bd3c?_0x25bd3c['element']:_0x11b8c8['element'];if(_0x11b8c8['isStart']){const _0x724f18=_0x5c45e8['get'](_0x41d3f4),_0x45072e=this['_diffItems'][_0x724f18];('removed'==_0x1fa367||'removed'==_0x45072e['change'])&&_0x1c3906<_0x724f18&&(this['_operationsData']['push']({'type':'unwrap','path':_0x41d3f4['getPath'](),'howMany':_0x41d3f4['maxOffset']+_0x41bf35[0x0]}),_0x41bf35['shift'](),_0x41bf35[0x0]+=_0x41d3f4['maxOffset']-0x1,_0x28646c['push'](_0x4009e3),_0x28646c['push'](_0x724f18));}else _0x5c45e8['set'](_0x41d3f4,_0x4009e3),_0x41bf35['unshift'](0x0);}_0x28646c['sort']((_0x5d8a93,_0x1ded3c)=>_0x1ded3c-_0x5d8a93),_0x28646c['forEach'](_0x6461a=>{const _0x488a6f=this['_diffItems'][_0x6461a];'removed'==_0x488a6f['change']?this['_diffItems']['splice'](_0x6461a,0x1):(_0x488a6f['change']='added',delete _0x488a6f['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x38e183=[];for(let _0x511217=0x0;_0x511217<this['_diffItems']['length'];_0x511217++){const {change:_0x29707b,token:_0x287fe5}=this['_diffItems'][_0x511217];if('added'==_0x29707b&&'element'==_0x287fe5['type']&&'container'==_0x287fe5['category']){if(_0x287fe5['isStart'])_0x38e183['push'](this['_path']['slice']());else{if(!_0x287fe5['isStart']){const _0x53aced=_0x38e183['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x53aced,'end':this['_path']['slice']()},'token':_0x287fe5}),this['_path'][this['_path']['length']-0x1]=_0x53aced[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x29707b||this['_markDeletions'])&&this['_traverseOverItem'](_0x287fe5);}}['_handleUnchanged'](_0xa16ca2,_0x9ba540){for(let _0x153fb4=0x0;_0x153fb4<_0xa16ca2['length'];_0x153fb4++){const _0x1bcd9c=_0xa16ca2[_0x153fb4];if('element'==_0x1bcd9c['type']&&_0x1bcd9c['isStart']){const _0x485cf5=_0x9ba540[_0x153fb4];'block'==_0x1bcd9c['category']&&this['_handleElementRename'](_0x1bcd9c['element'],_0x485cf5['element'],this['_path']),this['_handleElementAttributeChanges'](_0x1bcd9c['element'],_0x485cf5['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x485cf5);}else{if('element'!=_0x1bcd9c['type']||_0x1bcd9c['isStart']){if('text'==_0x1bcd9c['type']){const _0xb45dcd=this['_path']['slice'](),_0x4f6b36=[],_0x944c28=[];for(;_0xa16ca2[_0x153fb4]&&'text'==_0xa16ca2[_0x153fb4]['type'];)_0x4f6b36['push'](_0xa16ca2[_0x153fb4]),_0x944c28['push'](_0x9ba540[_0x153fb4]),this['_path'][this['_path']['length']-0x1]+=_0xa16ca2[_0x153fb4]['data']['length'],_0x153fb4++;_0x153fb4--,this['_handleTextAttributeChanges'](_0x4f6b36,_0x944c28,_0xb45dcd);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x4132ad,_0x4d36a2,_0x13cfed){const _0x28aed0=[],_0x152af4=[],_0x26438f=_0x13cfed['slice']();for(let _0x36f061=0x0;_0x36f061<_0x4132ad['length'];_0x36f061++){const _0x397864=_0x4132ad[_0x36f061],_0x44a771=_0x13cfed['slice']();if('element'!=_0x397864['type']||_0x397864['isStart'])'element'==_0x397864['type']&&_0x397864['isStart']?(_0x13cfed['push'](0x0),_0x4d36a2||this['_parents']['push'](_0x397864),_0x152af4['push']({'before':_0x44a771,'after':_0x13cfed['slice'](),'index':_0x36f061})):_0x13cfed[_0x13cfed['length']-0x1]+=_0x397864['data']['length'];else{let _0x17f1c9;_0x13cfed['pop'](),_0x13cfed[_0x13cfed['length']-0x1]++,_0x17f1c9=_0x4d36a2?this['_parents'][this['_parents']['length']-0x1]:this['_parents']['pop'](),_0x152af4['length']?_0x152af4['pop']():_0x28aed0['push']({'before':_0x44a771,'after':_0x13cfed['slice'](),'index':_0x36f061,'related':_0x17f1c9});}}if(_0x152af4['length']!==_0x28aed0['length'])throw new ckeditor5['CKEditorError']('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x4132ad,'isRemove':_0x4d36a2});const _0x3cef68=[{'after':_0x26438f['slice'](),'index':-0x1},..._0x28aed0,..._0x152af4,{'before':_0x13cfed['slice'](),'index':_0x4132ad['length']}];if(_0x4d36a2){for(let _0x1fe0bf=_0x3cef68['length']-0x1;_0x1fe0bf>=0x1;_0x1fe0bf--){const _0x102ff2=_0x3cef68[_0x1fe0bf-0x1]['after'],_0x5f2483=_0x3cef68[_0x1fe0bf]['before'],_0x1b4f83=_0x5f2483[_0x5f2483['length']-0x1]-_0x102ff2[_0x102ff2['length']-0x1];_0x1b4f83&&(this['_operationsData']['push']({'type':'remove','path':_0x102ff2,'howMany':_0x1b4f83}),_0x5f2483[_0x5f2483['length']-0x1]-=_0x1b4f83);}for(const {before:_0x396ce5}of _0x28aed0)this['_operationsData']['push']({'type':'merge','path':_0x396ce5});}else for(let _0xf92808=0x0;_0xf92808<_0x3cef68['length']-0x1;_0xf92808++){const _0x95e069=_0x3cef68[_0xf92808]['after'],_0x34e202=_0x3cef68[_0xf92808+0x1]['before'],_0x7e72c5=_0x3cef68[_0xf92808]['index']+0x1,_0x22aebe=_0x3cef68[_0xf92808+0x1]['index'];if(_0x7e72c5!==_0x22aebe&&this['_operationsData']['push']({'type':'insert','path':_0x95e069,'tokens':_0x4132ad['slice'](_0x7e72c5,_0x22aebe)}),_0xf92808<_0x28aed0['length']){this['_operationsData']['push']({'type':'split','path':_0x34e202});const _0x9c6e9a=_0x4132ad[_0x152af4[_0x152af4['length']-0x1-_0xf92808]['index']],_0x37de05=_0x28aed0[_0xf92808]['after'],_0x136be9=_0x28aed0[_0xf92808]['related']['element'];this['_handleElementRename'](_0x136be9,_0x9c6e9a['element'],_0x37de05),this['_handleElementAttributeChanges'](_0x136be9,_0x9c6e9a['element'],_0x37de05);}}}['_traverseOverItem'](_0x7153e4){'element'==_0x7153e4['type']&&_0x7153e4['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x7153e4)):'element'!=_0x7153e4['type']||_0x7153e4['isStart']?'text'==_0x7153e4['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x7153e4['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x441014,_0x56947a,_0x20ec98){_0x441014['name']!=_0x56947a['name']&&this['_operationsData']['push']({'type':'rename','path':_0x20ec98['slice'](),'oldName':_0x441014['name'],'newName':_0x56947a['name']});}['_handleElementAttributeChanges'](_0x416a96,_0x4ab794,_0x27a679){const _0x465999=this['_getAttributeChanges'](_0x416a96['getAttributes'](),_0x4ab794['getAttributes']());for(const _0x2b4180 in _0x465999){const {oldValue:_0x53afac,newValue:_0x4ca129}=_0x465999[_0x2b4180];this['_operationsData']['push']({'type':'attribute','path':_0x27a679['slice'](),'howMany':0x1,'key':_0x2b4180,'oldValue':_0x53afac,'newValue':_0x4ca129});}}['_handleTextAttributeChanges'](_0x2afe02,_0x2c4597,_0xc04e5a){const _0x35f7e6=this['_operationsData'],_0xfccc5e=_0x2afe02[0x0]['parent'],_0xccc8db=_0x2afe02[0x0]['offset'],_0x30906d=_0x2c4597[0x0]['parent'],_0x28e652=_0x2c4597[0x0]['offset'],_0x41407e=_0x2afe02['reduce']((_0x3672f8,_0x153fed)=>_0x3672f8+_0x153fed['data']['length'],0x0),_0x52097d=this['_getAttrsForOffsets'](_0xfccc5e,_0xccc8db,_0x41407e),_0x2bc866=this['_getAttrsForOffsets'](_0x30906d,_0x28e652,_0x41407e),_0x2e3fd5={};for(let _0x10645f=0x0;_0x10645f<_0x41407e;_0x10645f++){const _0xc0a7cc=_0x52097d[_0xccc8db+_0x10645f],_0x2ebaf3=_0x2bc866[_0x28e652+_0x10645f],_0x176754=this['_getAttributeChanges'](_0xc0a7cc,_0x2ebaf3);for(const _0x553ce7 in _0x2e3fd5)_0x176754[_0x553ce7]||_0x252b33(_0x553ce7);for(const _0x2772b0 in _0x176754){const {oldValue:_0x1e2552,newValue:_0x29857a}=_0x176754[_0x2772b0],_0x1e06b3=_0x2e3fd5[_0x2772b0];_0x1e06b3?_0x1e06b3['oldValue']==_0x1e2552&&_0x1e06b3['newValue']==_0x29857a?_0x1e06b3['length']++:(_0x252b33(_0x2772b0),_0x2e3fd5[_0x2772b0]={'oldValue':_0x1e2552,'newValue':_0x29857a,'start':_0x10645f,'length':0x1}):_0x2e3fd5[_0x2772b0]={'oldValue':_0x1e2552,'newValue':_0x29857a,'start':_0x10645f,'length':0x1};}}for(const _0x524244 in _0x2e3fd5)_0x252b33(_0x524244);function _0x252b33(_0x3a1929){const _0x20cf6d=_0x2e3fd5[_0x3a1929],_0x388a1c=_0xc04e5a['slice']();_0x388a1c[_0x388a1c['length']-0x1]+=_0x20cf6d['start'],_0x35f7e6['push']({'type':'attribute','path':_0x388a1c,'howMany':_0x20cf6d['length'],'key':_0x3a1929,'oldValue':_0x20cf6d['oldValue'],'newValue':_0x20cf6d['newValue']}),delete _0x2e3fd5[_0x3a1929];}}['_getAttributeChanges'](_0x1d4c93,_0x5a644f){const _0x2031e8={};for(const [_0x505214,_0x43eb0a]of _0x1d4c93)_0x2031e8[_0x505214]={'oldValue':JSON['stringify'](_0x43eb0a),'newValue':'null'};for(const [_0x4ede13,_0x2ad038]of _0x5a644f){const _0x246374=JSON['stringify'](_0x2ad038);_0x2031e8[_0x4ede13]?_0x2031e8[_0x4ede13]['oldValue']==_0x246374?delete _0x2031e8[_0x4ede13]:_0x2031e8[_0x4ede13]['newValue']=_0x246374:_0x2031e8[_0x4ede13]={'oldValue':'null','newValue':_0x246374};}return delete _0x2031e8[_0x15f9cf],_0x2031e8;}['_getAttrsForOffsets'](_0x5b5b14,_0x3159ff,_0x325fe1){const _0x3b2f6b=new Array(_0x3159ff+_0x325fe1);let _0x4c7f99=_0x5b5b14['getChildAtOffset'](_0x3159ff),_0x4fe920=_0x4c7f99['startOffset'];for(;_0x4c7f99&&_0x4fe920<_0x3159ff+_0x325fe1;){const _0x2c5e79=Array['from'](_0x4c7f99['getAttributes']());_0x3b2f6b['fill'](_0x2c5e79,_0x4fe920,_0x4fe920+_0x4c7f99['offsetSize']),_0x4fe920+=_0x4c7f99['offsetSize'],_0x4c7f99=_0x4c7f99['nextSibling'];}return _0x3b2f6b;}['_getPositionFromAnchorAndPath'](_0x14eecb,_0xcda10e){const _0x5c8fc7=[..._0x14eecb['path']['slice'](0x0,-0x1),_0x14eecb['offset']+_0xcda10e[0x0],..._0xcda10e['slice'](0x1)];return new ckeditor5['ModelPosition'](_0x14eecb['root'],_0x5c8fc7);}['_makeModelFromTokens'](_0x1dedb5){const _0x2127bb=[];let _0x4317c7=null;for(const _0x5e29c2 of _0x1dedb5)if('element'!=_0x5e29c2['type']||_0x5e29c2['isStart']||_0x4317c7!=_0x5e29c2['element']){if(!_0x4317c7){if('text'==_0x5e29c2['type']){const _0x28c5e6=ckeditor5['ModelPosition']['_createAt'](_0x5e29c2['parent'],_0x5e29c2['offset']),_0x2ce2c2=ckeditor5['ModelRange']['_createFromPositionAndShift'](_0x28c5e6,_0x5e29c2['data']['length']),_0x26a509=Array['from'](_0x2ce2c2['getItems']())['map'](_0x16450b=>new ckeditor5['ModelText'](_0x16450b['data'],_0x16450b['getAttributes']()));_0x2127bb['push'](..._0x26a509);}else{_0x4317c7=_0x5e29c2['element'];const _0x485454=_0x5e29c2['element']['_clone'](!0x0);_0x485454['_removeAttribute'](_0x15f9cf);for(const _0x5b7b19 of this['_editor']['model']['createRangeIn'](_0x485454)['getItems']())_0x5b7b19['is']('element')&&_0x5b7b19['_removeAttribute'](_0x15f9cf);_0x2127bb['push'](_0x485454);}}}else _0x4317c7=null;return _0x2127bb;}}function _0x217c65(_0x215abc,_0x2792ad){return _0x215abc['type']===_0x2792ad['type']&&(_0x215abc['limitId']===_0x2792ad['limitId']&&('text'==_0x215abc['type']?_0x215abc['data']==_0x2792ad['data']:compareModelElementTokens(_0x215abc,_0x2792ad)));}function compareModelElementTokens(_0x5beccb,_0x211c3b){return _0x5beccb['isStart']==_0x211c3b['isStart']&&((!_0x5beccb['isStart']||_0x5beccb['elementId']==_0x211c3b['elementId'])&&(_0x5beccb['category']==_0x211c3b['category']&&('block'==_0x5beccb['category']||('container'!=_0x5beccb['category']||_0x5beccb['elementId']==_0x211c3b['elementId'])&&_0x5beccb['element']['name']==_0x211c3b['element']['name'])));}function makeUidForElement(_0x34905c){return hashObject({'name':_0x34905c['name'],...Object['fromEntries'](_0x34905c['getAttributes']())});}function getSuggestionPartsFromReply({editor:_0x20de43,changeGroups:_0x2d545b,documentContextContent:_0x241a42,showDiff:_0x2b8807,trimUnchanged:_0x464512=!0x0}){return _0x2d545b['map'](_0x14fedb=>{const _0x598e87=new Document([]),_0x562a1d=new Document([]);for(const _0x3dbb6c of _0x14fedb['changes'])if(_0x2b8807&&'removed'==_0x3dbb6c['type']||_0x562a1d['children']['push'](_0x3dbb6c['node']['cloneNode'](!0x0)),'new'!=_0x3dbb6c['type']&&(_0x2b8807||'removed'!=_0x3dbb6c['type'])){const _0x53ee0e=_0x2571e5(_0x5e2a15=>getAttribute(_0x5e2a15,'data-id')==_0x3dbb6c['id'],_0x241a42,!0x0);_0x53ee0e&&_0x598e87['children']['push'](_0x53ee0e['cloneNode'](!0x0));}const {content:_0x14216f,hasChanges:_0x4a38b3}=passThroughEditorDataPipeline(_0x20de43,_0x598e87,_0x562a1d,_0x2b8807,_0x464512);return{'type':_0x14fedb['changes'][0x0]['type'],'index':_0x14fedb['index'],'content':_0x14216f,'hasChanges':_0x4a38b3};});}function passThroughEditorDataPipeline(_0x11e080,_0x2e922e,_0x5da6e7,_0x44a0a4,_0x3dad9c=!0x0){const _0x1b3454=_0x11e080['plugins']['get']('DocumentCompare'),_0x7423c=_0x19ea5e(_0x2e922e),_0x6fef7c=_0x19ea5e(_0x5da6e7),_0x2b7eda=_0x11e080['data']['parse'](_0x7423c,'$root'),_0x51f32a=_0x11e080['model']['createPositionAt'](_0x2b7eda,0x0),_0x5b99c1=_0x1b3454['getDiff'](_0x7423c,_0x6fef7c,{'anchor':_0x51f32a,'markDeletions':_0x44a0a4})['getOperations']();if(0x0==_0x5b99c1['length'])return{'content':_0x2e922e['cloneNode'](!0x0),'hasChanges':!0x1};if(_0x44a0a4?applyOperationsAndDiffMarkers(_0x5b99c1,_0x2b7eda,_0x11e080):_0x11e080['model']['change'](_0xd4b524=>{for(const _0x2070f9 of _0x5b99c1)if('remove'==_0x2070f9['type']){const _0x1f0a62=_0x2070f9['sourcePosition'],_0x224ed6=_0x2070f9['howMany'],_0x2adab9=new ckeditor5['_DetachOperation'](_0x1f0a62,_0x224ed6);_0xd4b524['batch']['addOperation'](_0x2adab9),_0x11e080['model']['applyOperation'](_0x2adab9);}else{if('marker'==_0x2070f9['type']){const _0x552da1=_0x2070f9['name'],_0x162218=_0x2070f9['newRange'];null!==_0x162218?_0x2b7eda['markers']['set'](_0x552da1,_0x162218):_0x2b7eda['markers']['delete'](_0x552da1);}else _0x2070f9['baseVersion']=null,_0x2070f9['isDocumentOperation']=!0x1,_0xd4b524['batch']['addOperation'](_0x2070f9),_0x11e080['model']['applyOperation'](_0x2070f9);}}),_0x3dad9c){const _0x7073ae=getMinimalSelection(_0x11e080,_0x5b99c1,_0x2b7eda);expandSelectionWithContext(_0x11e080['model'],_0x7073ae),shrinkFragmentToSelection(_0x11e080['model'],_0x7073ae);}return{'content':_0xee8c6d(_0x11e080['data']['stringify'](_0x2b7eda,{'showSuggestionHighlights':!0x0})),'hasChanges':!0x0};}function applyOperationsAndDiffMarkers(_0x38c6e6,_0x1002c7,_0x130de9){if(0x0==_0x38c6e6['length'])return;const _0x5669a9=_0x130de9['plugins']['get']('DocumentCompare'),_0x10fb0d=_0x130de9['plugins']['get']('SuggestionsConversion');_0x130de9['model']['change'](_0x3c57ec=>{const _0x58b9be=new Set();for(let _0x2a9a3b=0x0;_0x2a9a3b<_0x38c6e6['length'];_0x2a9a3b++){const _0x3b2d9c=_0x38c6e6[_0x2a9a3b];if(_0x3b2d9c['baseVersion']=null,_0x3b2d9c['isDocumentOperation']=!0x1,_0x5669a9['isMarkedRemoveOperation'](_0x3b2d9c)){const _0x2e29c7=fixElementSuggestionRange(_0x3b2d9c['newRange'],_0x130de9['model']),_0x4a1d22='suggestion:deletion:'+ckeditor5['uid']()+':$aiSuggestion';_0x1002c7['markers']['set'](_0x4a1d22,_0x2e29c7);}else switch(_0x3b2d9c['type']){case'rename':{if(_0x3b2d9c['oldName']==_0x3b2d9c['newName'])break;_0x3c57ec['batch']['addOperation'](_0x3b2d9c),_0x130de9['model']['applyOperation'](_0x3b2d9c);const _0x3b73cd='$elementName',_0x29e2b7=_0x3b2d9c['position'],_0x3f44a9=_0x130de9['model']['createRange'](_0x29e2b7,_0x130de9['model']['createPositionAt'](_0x29e2b7['nodeAfter'],'end')),_0x13a215='suggestion:attribute:'+_0x3b73cd+':'+ckeditor5['uid']()+':$aiSuggestion';_0x1002c7['markers']['set'](_0x13a215,_0x3f44a9);break;}case'addAttribute':case'removeAttribute':case'changeAttribute':{if(_0x3b2d9c['oldValue']==_0x3b2d9c['newValue'])break;_0x3c57ec['batch']['addOperation'](_0x3b2d9c),_0x130de9['model']['applyOperation'](_0x3b2d9c);const _0x381aa0=_0x3b2d9c['key'];if(!_0x10fb0d['isRegisteredAttribute'](_0x381aa0))break;const _0xdd69d3=fixElementSuggestionRange(_0x3b2d9c['range'],_0x130de9['model']),_0x715a45='suggestion:attribute:'+_0x381aa0+':'+ckeditor5['uid']()+':$aiSuggestion';_0x1002c7['markers']['set'](_0x715a45,_0xdd69d3);break;}case'insert':{_0x3c57ec['batch']['addOperation'](_0x3b2d9c),_0x130de9['model']['applyOperation'](_0x3b2d9c);if(_0x38c6e6[_0x2a9a3b+0x1]&&'move'==_0x38c6e6[_0x2a9a3b+0x1]['type']){transformMarkers(_0x1002c7,_0x3b2d9c);break;}const _0x3f1279=_0x3b2d9c['position'],_0x2d8e73=_0x3b2d9c['howMany'],_0x5f2fe8=fixElementSuggestionRange(_0x130de9['model']['createRange'](_0x3f1279,_0x3f1279['getShiftedBy'](_0x2d8e73)),_0x130de9['model']),_0x39f073='suggestion:insertion:'+ckeditor5['uid']()+':$aiSuggestion';_0x1002c7['markers']['set'](_0x39f073,_0x5f2fe8);break;}case'split':{_0x3c57ec['batch']['addOperation'](_0x3b2d9c),_0x130de9['model']['applyOperation'](_0x3b2d9c);const _0x37f947=_0x3b2d9c['splitPosition'],_0x3c82e7=_0x3b2d9c['moveTargetPosition'],_0x489e4d=_0x130de9['model']['createRange'](_0x37f947,_0x3c82e7),_0x2cc7fa='suggestion:insertion:'+ckeditor5['uid']()+':$aiSuggestion';_0x1002c7['markers']['set'](_0x2cc7fa,_0x489e4d);break;}case'move':{_0x3c57ec['batch']['addOperation'](_0x3b2d9c),_0x130de9['model']['applyOperation'](_0x3b2d9c),_0x38c6e6[_0x2a9a3b-0x1]&&'insert'==_0x38c6e6[_0x2a9a3b-0x1]['type']&&transformMarkers(_0x1002c7,_0x3b2d9c);const _0x186aff=_0x3b2d9c['getMovedRangeStart'](),_0x5147d4=_0x3b2d9c['howMany'];for(let _0x2fce6b=0x0;_0x2fce6b<_0x5147d4;_0x2fce6b++){const _0x41dbea=_0x186aff['getShiftedBy'](_0x2fce6b)['nodeAfter'];_0x58b9be['add'](_0x41dbea);}break;}case'remove':{const _0x374bdb=_0x3b2d9c['sourcePosition'],_0x1be58c=_0x3b2d9c['howMany'],_0xd933fb=new ckeditor5['_DetachOperation'](_0x374bdb,_0x1be58c);_0x3c57ec['batch']['addOperation'](_0xd933fb),_0x130de9['model']['applyOperation'](_0xd933fb);break;}}}for(const _0x2adbcf of _0x58b9be){const _0x5262a0=_0x130de9['model']['createRangeOn'](_0x2adbcf),_0x37547c='suggestion:formatBlock:$fakeWrap:'+ckeditor5['uid']()+':$aiSuggestion';_0x1002c7['markers']['set'](_0x37547c,fixElementSuggestionRange(_0x5262a0,_0x130de9['model']));}});}function transformMarkers(_0xcff98f,_0x458524){for(const [_0x22e402,_0x602d55]of _0xcff98f['markers']){const _0x51772d=ckeditor5['ModelRange']['_createFromRanges'](_0x602d55['getTransformedByOperation'](_0x458524));_0xcff98f['markers']['set'](_0x22e402,_0x51772d);}}function getMinimalSelection(_0x43853d,_0xef2ba7,_0x51b922){const _0x549b11=_0x43853d['plugins']['get']('DocumentCompare');let _0x1a5909=_0x43853d['model']['createPositionAt'](_0x51b922,Number['POSITIVE_INFINITY']),_0x15ca82=_0x43853d['model']['createPositionAt'](_0x51b922,0x0);for(const _0x3c12b5 of _0xef2ba7){let _0x9b384b,_0x393deb;if(_0x549b11['isMarkedRemoveOperation'](_0x3c12b5))_0x9b384b=_0x3c12b5['newRange']['start'],_0x393deb=_0x3c12b5['newRange']['end'];else switch(_0x1a5909=_0x1a5909['getTransformedByOperation'](_0x3c12b5),_0x15ca82=_0x15ca82['getTransformedByOperation'](_0x3c12b5),_0x3c12b5['type']){case'rename':_0x9b384b=_0x3c12b5['position'],_0x393deb=_0x9b384b['getShiftedBy'](0x1);break;case'addAttribute':case'removeAttribute':case'changeAttribute':_0x9b384b=_0x3c12b5['range']['start'],_0x393deb=_0x3c12b5['range']['end'];break;case'insert':_0x9b384b=_0x3c12b5['position'],_0x393deb=_0x9b384b['getShiftedBy'](_0x3c12b5['howMany']);break;case'split':_0x9b384b=_0x3c12b5['splitPosition'],_0x393deb=_0x3c12b5['moveTargetPosition'];break;case'merge':{const _0x19cb47=_0x3c12b5['targetPosition']['path']['slice'](0x0,-0x1);_0x9b384b=_0x43853d['model']['createPositionFromPath'](_0x51b922,_0x19cb47),_0x393deb=_0x9b384b['getShiftedBy'](0x1);break;}case'remove':{const _0x43ec16=_0x3c12b5['howMany'],_0x591d32=_0x3c12b5['sourcePosition']['_getTransformedByInsertion'](_0x3c12b5['targetPosition'],_0x43ec16),_0x52d32d=_0x3c12b5['getMovedRangeStart']();'remove'==_0x3c12b5['type']?(_0x9b384b=_0x591d32,_0x393deb=_0x591d32):(_0x9b384b=_0x52d32d,_0x393deb=_0x52d32d['getShiftedBy'](_0x43ec16));break;}}_0x9b384b&&_0x9b384b['isBefore'](_0x1a5909)&&(_0x1a5909=_0x9b384b['clone'](),_0x1a5909['stickiness']='toNone'),_0x393deb&&_0x393deb['isAfter'](_0x15ca82)&&(_0x15ca82=_0x393deb['clone'](),_0x15ca82['stickiness']='toNone');}return _0x43853d['model']['createSelection'](_0x43853d['model']['createRange'](_0x1a5909,_0x15ca82));}function expandSelectionWithContext(_0x3e01bf,_0x1018fe){expandSelection(_0x3e01bf,_0x1018fe,'forward');const _0x27d460=_0x1018fe['getFirstRange']();_0x1018fe['setTo']([]),_0x1018fe['setTo'](_0x27d460,{'backward':!0x0}),expandSelection(_0x3e01bf,_0x1018fe,'backward');}function expandSelection(_0x4da3bf,_0x448e78,_0x45ceca){let _0x1fcd9c=0x14;for(;_0x1fcd9c;){_0x4da3bf['modifySelection'](_0x448e78,{'unit':'word','direction':_0x45ceca}),_0x1fcd9c--;const _0x351dcd=_0x448e78['focus']['forward'==_0x45ceca?'nodeBefore':'nodeAfter'];if(_0x351dcd&&_0x351dcd['is']('element')&&_0x4da3bf['schema']['isBlock'](_0x351dcd)&&_0x4da3bf['schema']['isObject'](_0x351dcd))break;}}function shrinkFragmentToSelection(_0x4ad447,_0x5e4642){const _0x5001b2=_0x5e4642['getFirstRange']()['start'];let _0x10cb5c=_0x5e4642['getFirstRange']()['end'];const _0x3f3709=_0x5001b2['root'];(_0x10cb5c['textNode']||_0x10cb5c['nodeAfter']&&_0x10cb5c['nodeAfter']['is']('$text'))&&(ckeditor5['_insertIntoModelNodeList'](_0x10cb5c,'...'),_0x10cb5c=_0x10cb5c['getShiftedBy'](0x3)),(_0x5001b2['textNode']||_0x5001b2['nodeBefore']&&_0x5001b2['nodeBefore']['is']('$text'))&&(ckeditor5['_insertIntoModelNodeList'](_0x5001b2,'...'),_transformMarkersByInsertion(_0x3f3709,_0x5001b2,0x3),_0x5001b2['parent']==_0x10cb5c['parent']&&(_0x10cb5c=_0x10cb5c['getShiftedBy'](0x3)));const _0x387d34=_0x4ad447['createRange'](_0x4ad447['createPositionAt'](_0x3f3709,0x0),_0x5001b2),_0x627c84=_0x4ad447['createRange'](_0x10cb5c,_0x4ad447['createPositionAt'](_0x3f3709,'end')),_0x1302f5=[..._0x387d34['getMinimalFlatRanges'](),..._0x627c84['getMinimalFlatRanges']()];_0x1302f5['reverse']();for(const _0x40c44e of _0x1302f5)ckeditor5['_removeFromModelNodeList'](_0x40c44e),_transformMarkersByDeletion(_0x3f3709,_0x40c44e);}function _transformMarkersByDeletion(_0x42f0c4,_0x35598c){for(const [_0x233e8e,_0x1b1602]of _0x42f0c4['markers']){const _0xbc8ba9=_0x1b1602['_getTransformedByDeletion'](_0x35598c['start'],_0x35598c['end']['offset']-_0x35598c['start']['offset']);null!=_0xbc8ba9?_0x42f0c4['markers']['set'](_0x233e8e,_0xbc8ba9):_0x42f0c4['markers']['delete'](_0x233e8e);}}function _transformMarkersByInsertion(_0xf629b2,_0x3a57e6,_0x537894){for(let [_0x28e10b,_0x4ed692]of _0xf629b2['markers']){const _0x21aa05=_0x4ed692['_getTransformedByInsertion'](_0x3a57e6,_0x537894,!0x1);_0x4ed692=_0x21aa05[0x0],_0xf629b2['markers']['set'](_0x28e10b,_0x4ed692);}}class _0x95731f extends ckeditor5['ObservableMixin'](){['id'];['interactionId'];['type'];['sources']=[];['parsedContent']=new Document([]);['parsedMergedContent']=new Document([]);['changeGroups']=[];['areActionsDisabled']=!0x1;['documentContextContent'];['aiResponseParser'];['aiResponseApplier'];['editor'];['cachedSuggestionContentParts']={'withDiff':[],'withoutDiff':[]};constructor({type:_0x3aa2e8,content:_0x3244f2='',isDone:_0x6fcf80=!0x1,interactionId:_0x3c17a1,areActionsDisabled:_0x35a2d6,documentContextContent:_0x1c3e23,editor:_0xb5ee3c,id:_0xf92b39}){super(),this['id']=_0xf92b39||ckeditor5['uid'](),this['interactionId']=_0x3c17a1,this['type']=_0x3aa2e8,this['areActionsDisabled']=!!_0x35a2d6,this['editor']=_0xb5ee3c,this['aiResponseParser']=new _0x3bdd13(),this['aiResponseApplier']=new _0x14687d(),this['documentContextContent']=_0xee8c6d(_0x1c3e23||''),this['set']('isDone',_0x6fcf80),this['on']('change:content',()=>{this['onContentChange']();}),this['set']('content',_0x3244f2);}['appendContent'](_0x53ec2d){this['set']('content',this['content']+_0x53ec2d);}['done'](){this['isDone']||(this['set']('isDone',!0x0),this['onContentChange']());}['destroy'](){this['stopListening']();}['setChangeGroupState'](_0x598e77,_0x5814d5){this['changeGroups'][_0x598e77]['state']=_0x5814d5,this['fire']('replyChangeGroupStateUpdated',{'reply':this,'index':_0x598e77,'state':_0x5814d5});}['getContentParts']({showDiff:_0x3b3dfd,groupIndex:_0x1d289a}){if(!this['editor'])throw new ckeditor5['CKEditorError']('ai-get-editor-from-context-no-editor',null,{'aiReply':this});const _0x278383=this['_getCachedContentParts'](_0x3b3dfd,_0x1d289a);if(_0x278383)return _0x278383;let _0x3d3e31=[];if(void 0x0===_0x1d289a)_0x3d3e31=this['changeGroups'];else{const _0x11a308=this['changeGroups']['find'](({index:_0x441cce})=>_0x441cce===_0x1d289a);if(!_0x11a308)throw new ckeditor5['CKEditorError']('ai-reply-get-content-parts-group-not-found',null,{'aiReply':this,'groupIndex':_0x1d289a});_0x3d3e31=[_0x11a308];}const _0x1b8f21=getSuggestionPartsFromReply({'editor':this['editor'],'showDiff':_0x3b3dfd,'changeGroups':_0x3d3e31,'documentContextContent':this['documentContextContent']});return this['_setCachedContentParts'](_0x3b3dfd,_0x1b8f21),_0x1b8f21;}['_getCachedContentParts'](_0x23bcee,_0xb0e51d){const _0x538c41=_0x23bcee?'withDiff':'withoutDiff';if(!this['cachedSuggestionContentParts'][_0x538c41]['length'])return null;const _0x5ab97f=this['cachedSuggestionContentParts'][_0x538c41];if(void 0x0===_0xb0e51d)return _0x5ab97f['length']>0x0&&_0x5ab97f['length']!==this['changeGroups']['length']?(this['_setCachedContentParts'](_0x23bcee,null),null):_0x327359(_0x5ab97f);{const _0x3d9aa7=_0x5ab97f['find'](({index:_0x44c8ed})=>_0x44c8ed===_0xb0e51d);if(_0x3d9aa7)return[_0x327359(_0x3d9aa7)];}return null;}['_setCachedContentParts'](_0x115227,_0x3eab22){const _0x1a8927=_0x115227?'withDiff':'withoutDiff';_0x3eab22?_0x3eab22['forEach'](_0x4b7cfc=>{const _0x3ef935=this['cachedSuggestionContentParts'][_0x1a8927],_0x43ae1b=_0x3ef935['find'](({index:_0x3ebddf})=>_0x3ebddf===_0x4b7cfc['index']);if(_0x43ae1b){const _0x24fb5f=_0x3ef935['indexOf'](_0x43ae1b);_0x3ef935['splice'](_0x24fb5f,0x1,_0x4b7cfc);}else _0x3ef935['push'](_0x4b7cfc);}):this['cachedSuggestionContentParts'][_0x1a8927]['length']=0x0;}['onContentChange'](){if('modification'===this['type']){this['parsedContent']=this['aiResponseParser']['parseAndNormalizeHTML'](this['content']);const _0x39813f=this['changeGroups'];this['updateChangeGroups']();const _0x4916a2=this['_getDifferentChangeGroups'](_0x39813f,this['changeGroups']);(_0x4916a2['length']||this['isDone'])&&(this['fire']('replyContentUpdated',this,_0x4916a2),this['cachedSuggestionContentParts']['withDiff']['length']=this['cachedSuggestionContentParts']['withoutDiff']['length']=0x0);}else this['parsedContent']=this['aiResponseParser']['convertMarkdownToHTML'](this['content']),this['fire']('replyContentUpdated',this);}['_getDifferentChangeGroups'](_0x35a6ba,_0xa20032){const _0x56486e=[];for(const _0x441d6b of _0xa20032){const _0x2d37c4=_0x35a6ba[_0x441d6b['index']];_0x2d37c4?_0x2d37c4['changes']['length']!==_0x441d6b['changes']['length']?_0x56486e['push'](_0x441d6b):_0x2d37c4['changes']['forEach']((_0x57cdb9,_0x4d6f0f)=>{const _0x37e23b=_0x441d6b['changes'][_0x4d6f0f];_0x57cdb9['id']!==_0x37e23b['id']&&_0x56486e['push'](_0x441d6b);}):_0x56486e['push'](_0x441d6b);}return _0x56486e;}['updateChangeGroups'](){const _0x2a0828=new Element$3('p',{},[new Element$3('span',{'style':'color:\x20#808080;\x20font-style:\x20italic'},[new Text$1(getTranslation$i(this['editor']['locale'],'AI_SUGGESTION_CONTENT_PART_REMOVED'))])]),_0x37bc8e=this['aiResponseApplier']['merge'](this['parsedContent'],this['documentContextContent']['cloneNode'](!0x0),{'markUnstableElements':!this['isDone'],'replaceRemovedWith':_0x2a0828,'cutAfterLastChange':!this['isDone']});if(!_0x37bc8e['modifiedNodeIds']['length']&&!this['isDone'])return;this['parsedMergedContent']=_0x37bc8e['parsedContent'];let _0x223a53=[];if(_0x57a507(_0x513735=>{const _0x42879a=getAttribute(_0x513735,'data-id');if(!_0x42879a||!_0x383b94(_0x42879a))return!0x1;const _0x4b9fee=[_0x513735,...getParents(_0x513735)]['at'](-0x2);if(_0x513735!=_0x4b9fee){const _0x317341=getAttribute(_0x4b9fee,'data-id');_0x383b94(_0x317341)||(_0x223a53['push']({'node':_0x4b9fee,'id':_0x317341,'type':'modified'}),_0x37bc8e['modifiedNodeIds']['push'](_0x317341));}else _0x37bc8e['modifiedNodeIds']['includes'](_0x42879a)?_0x223a53['push']({'node':_0x513735,'type':'modified','id':_0x42879a}):_0x37bc8e['newNodeIds']['includes'](_0x42879a)?_0x223a53['push']({'node':_0x513735,'type':'new','id':_0x42879a,'anchorId':getAttribute(_0x513735['previousSibling'],'data-id')}):_0x223a53['push']({'node':_0x513735,'type':'removed','id':_0x42879a});return!0x0;},this['parsedMergedContent']),_0x223a53=_0x223a53['filter'](({node:_0x67e53f})=>[...getParents(_0x67e53f),_0x67e53f]['every'](_0x410636=>!getAttribute(_0x410636,'data-unstable'))),0x0==_0x223a53['length'])return;const _0x5f5bed=[[_0x223a53[0x0]]];for(let _0x3c162a=0x1;_0x3c162a<_0x223a53['length'];_0x3c162a++){const _0x1b2986=_0x5f5bed[_0x5f5bed['length']-0x1],_0x25980a=_0x1b2986[_0x1b2986['length']-0x1];_0x223a53[_0x3c162a]['node']['previousSibling']==_0x25980a['node']&&'modified'!=_0x223a53[_0x3c162a]['type']&&'modified'!=_0x25980a['type']?_0x1b2986['push'](_0x223a53[_0x3c162a]):_0x5f5bed['push']([_0x223a53[_0x3c162a]]);}for(const _0x3c3e0b of _0x5f5bed){const _0x52bbfa=_0x3c3e0b[0x0],_0x5bd717=_0x3c3e0b[_0x3c3e0b['length']-0x1],_0x4d545d=_0x37ac2f(_0x52bbfa['node']['previousSibling']);_0x4d545d&&_0x3c3e0b['unshift'](_0x4d545d);const _0x184480=_0x37ac2f(_0x5bd717['node']['nextSibling']);_0x184480&&_0x3c3e0b['push'](_0x184480);}function _0x383b94(_0x14a48b){return _0x37bc8e['modifiedNodeIds']['includes'](_0x14a48b)||_0x37bc8e['newNodeIds']['includes'](_0x14a48b)||_0x37bc8e['removedNodeIds']['includes'](_0x14a48b);}function _0x37ac2f(_0x2f39c4){if(_0x2f39c4&&getAttribute(_0x2f39c4,'data-id')&&!getAttribute(_0x2f39c4,'data-unstable')){const _0x421a56=getAttribute(_0x2f39c4,'data-id');if(!_0x383b94(_0x421a56))return{'node':_0x2f39c4,'type':'context','id':_0x421a56};}return null;}this['changeGroups']=_0x5f5bed['map']((_0xc363a,_0x16dddf)=>({'changes':_0xc363a,'state':'pending','index':_0x16dddf}));}}const _0x578cf5=['interactionCreated','interactionStarted','interactionStopped','interactionFinished','interactionDestroyed','replyCreated','replyContentUpdated','replyChangeGroupStateUpdated','setConversationTitle','webSearchStarted','webSearchFinished','reasoningStarted','reasoningFinished','toolDataReceived','error'];class AIInteraction extends ckeditor5['EmitterMixin'](){['id'];['replies']=[];['currentReply'];['messageId'];['actionCallId'];['currentRequest'];['connector'];['isStopped']=!0x1;['isDestroyed']=!0x1;['editor'];['_isReasoning']=!0x1;['_isWebSearching']=!0x1;constructor({connector:_0x1fd35d,editor:_0x4cd067}){super(),this['id']=ckeditor5['uid'](),this['connector']=_0x1fd35d,this['isStopped']=!0x0,this['editor']=_0x4cd067;}async['start'](){const _0x4139d0=[];let _0x28d9b8,_0x241cdd,_0x1a8d76;this['isStopped']=!0x1;try{this['currentRequest']=await this['sendRequest'](),this['fire']('interactionStarted',this);const _0x4b328a=await this['currentRequest']['getStream']();for await(const _0x4929ba of _0x4b328a){if(this['isStopped'])return;if('error'==_0x4929ba['event'])return void this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-interaction-error',this)});switch(_0x4929ba['event']){case'message-metadata':this['messageId']=_0x4929ba['data']['messageId'];break;case'action-metadata':this['actionCallId']=_0x4929ba['data']['callId'];break;case'conversation-title':this['setConversationTitle'](_0x4929ba['data']['conversationTitle'],!0x0);break;case'source':_0x4139d0['push'](_0x4929ba['data']['source']);break;case'web-search':this['_isWebSearching']||(this['_isWebSearching']=!0x0,this['fire']('webSearchStarted',this));break;case'reasoning':this['_isReasoning']||(this['_isReasoning']=!0x0,this['fire']('reasoningStarted',this));break;case'modification-delta':case'text-delta':this['resetReasoningState'](),this['resetWebSearchState'](),_0x28d9b8='modification-delta'==_0x4929ba['event']?'modification':'text',_0x241cdd='modification-delta'==_0x4929ba['event']?_0x4929ba['data']['id']:void 0x0,this['currentReply']&&this['currentReply']['type']!=_0x28d9b8&&(this['currentReply']['done'](),this['currentReply']=void 0x0),this['currentReply']||(this['currentReply']=this['createReply']({'type':_0x28d9b8,'interactionId':this['id'],'id':_0x241cdd}),'modification'==_0x28d9b8&&(this['currentReply']['sources']=_0x4139d0['splice'](0x0))),this['currentReply']['appendContent'](_0x4929ba['data']['textDelta']);break;case'mcp-tool-result':_0x1a8d76=JSON['parse'](_0x4929ba['data']['result']),this['_handleToolResultData']({'toolName':_0x4929ba['data']['toolName'],'data':_0x1a8d76['data'],'attributes':_0x1a8d76['attributes']});break;case'mcp-tool-notification':this['_handleToolNotificationData']({'toolName':_0x4929ba['data']['toolName'],'data':_0x4929ba['data']['data']});}}}finally{this['isStopped']||(this['currentReply']&&_0x4139d0['length']>0x0&&(this['currentReply']['sources']=_0x4139d0['splice'](0x0)),this['_finalizeInteraction'](),this['fire']('interactionFinished',this));}}['stop'](){this['isStopped']||(this['_finalizeInteraction'](),this['fire']('interactionStopped',this));}['getReply'](_0x5553eb){return this['replies']['find'](_0x4ae79e=>_0x4ae79e['id']===_0x5553eb);}['destroy'](){this['isDestroyed']||(this['stop'](),this['replies']['forEach'](_0x460f92=>_0x460f92['destroy']()),this['replies']=[],this['isDestroyed']=!0x0,this['fire']('interactionDestroyed',this),this['stopListening']());}['createReply'](_0x3460a3){const _0xaac067=new _0x95731f({'editor':this['editor'],'documentContextContent':this['getDocumentContext']()?.['content'],..._0x3460a3});return this['replies']['push'](_0xaac067),_0xaac067['delegate'](..._0x578cf5)['to'](this),this['fire']('replyCreated',_0xaac067),_0xaac067;}['setConversationTitle'](_0x3601bc,_0x5f47c9=!0x1){this['fire']('setConversationTitle',_0x3601bc,_0x5f47c9);}['resetWebSearchState'](){this['_isWebSearching']&&(this['_isWebSearching']=!0x1,this['fire']('webSearchFinished',this));}['resetReasoningState'](){this['_isReasoning']&&(this['_isReasoning']=!0x1,this['fire']('reasoningFinished',this));}['_handleToolResultData'](_0x60647c){this['fire']('toolDataReceived',{'type':'result','toolName':_0x60647c['toolName'],'data':structuredClone(_0x60647c['data']||{}),'attributes':structuredClone(_0x60647c['attributes']||{})},this);}['_handleToolNotificationData'](_0x22f17){this['fire']('toolDataReceived',{'type':'notification','toolName':_0x22f17['toolName'],'data':structuredClone(_0x22f17['data'])},this);}['_finalizeInteraction'](){this['isStopped']=!0x0,this['currentRequest']&&this['currentRequest']['abortController']['abort'](),this['currentReply']&&this['currentReply']['done'](),this['currentRequest']=this['currentReply']=void 0x0;}}var AIContextItemType=function(_0x1a605d){return _0x1a605d['TOOL']='mcp-tool-context',_0x1a605d['FILE']='file',_0x1a605d['DOCUMENT']='document',_0x1a605d['URL']='web-resource',_0x1a605d['TEXT']='text',_0x1a605d['SELECTION']='selection',_0x1a605d;}({}),AIContextTextResourceType=function(_0x2197f4){return _0x2197f4['TEXT']='text',_0x2197f4['MARKDOWN']='markdown',_0x2197f4['HTML']='html',_0x2197f4;}({});const _0x52690a=new Map([['usage-limits-exceeded','ai-usage-limits-exceeded'],['rate-limits-exceeded','ai-rate-limits-exceeded'],['invalid-content-type','ai-invalid-content-type'],['invalid-request-data','ai-chat-invalid-request'],['model-already-set','ai-chat-model-already-set'],['model-not-found','ai-chat-model-not-found'],['unsafe-content-detected','ai-chat-unsafe-content-detected'],['unsupported-content-type','ai-chat-unsupported-content-type'],['content-too-large','ai-chat-content-too-large'],['unsupported-file-type','ai-chat-context-unsupported-file-type'],['file-too-large','ai-chat-context-file-too-large'],['file-too-many-pages','ai-chat-context-file-too-many-pages'],['form-data-size-limits-exceeded','ai-chat-context-form-data-size-limits-exceeded']]),_0x3fb73f=['contextItemAdded','contextItemRemoved','contextItemLoadingEnded','contextSent','error','addContextOptionsChanged','sourceResourcesLoaded','resourceStateChanged','uploadProgressChanged'];class AIChatContext extends ckeditor5['ObservableMixin'](){['_connector'];['_config'];['_ownerId'];constructor({connector:_0x34b109,config:_0x5a6668,ownerId:_0x2283eb}){super(),this['_connector']=_0x34b109,this['_config']=_0x5a6668,this['_ownerId']=_0x2283eb;}['init'](){this['_pendingContextItems']=new Map(),this['_conversationContextItems']=new Map(),this['_ongoingUploads']=new Map(),this['_ongoingUploadOperations']=new Map(),this['_setAddContextOptionsDefaultState']();}['getPendingContextItems'](){return this['_pendingContextItems'];}async['populateFromMessage'](_0x1619da){const _0x4e7e76=await this['_createContextItemFromContent'](_0x1619da);return this['_addToConversationContextItem'](_0x4e7e76),'current-document'===_0x4e7e76['uiId']&&this['_toggleAddCurrentDocumentOptionVisibility'](),_0x4e7e76;}async['_createContextItemFromContent'](_0x584534){if(_0x584534['type']===AIContextItemType['DOCUMENT']){const _0x590361=await this['_connector']['fetchDocument'](this['_ownerId'],_0x584534['id'])['getDocument']();return{'id':'current-document','uiId':'current-document','label':'Current\x20document','type':_0x584534['type'],'content':_0x590361['content'],'hidden':this['_conversationContextItems']['has']('current-document'),'version':_0x590361['attributes']?.['version'],'sessionId':_0x590361['attributes']?.['sessionId']};}if(_0x584534['type']===AIContextItemType['TOOL'])return{'id':_0x584534['id'],'uiId':_0x584534['id'],'label':_0x584534['data']?.['label']||_0x584534['id'],'type':AIContextItemType['TOOL'],'mcpServerName':_0x584534['mcpServerName'],'toolName':_0x584534['toolName'],'data':_0x584534['data']||{}};return{'id':_0x584534['id'],'uiId':_0x584534['id'],'label':_0x584534['attributes']?.['label']||_0x584534['name']||_0x584534['url']||_0x584534['id'],'type':_0x584534['type'],..._0x584534?.['attributes']?.['resourceId']?{'resourceId':_0x584534['attributes']?.['resourceId']}:{}};}['getSentContextItems'](){return new Map(this['_conversationContextItems']);}['removeFromContext'](_0xfdf1a2){const _0x50be97=this['_pendingContextItems']['get'](_0xfdf1a2);_0x50be97?.['isReadOnly']||this['_removeContextItem'](_0xfdf1a2);}['clearPendingContextItems'](){if(0x0===this['_pendingContextItems']['size'])return;for(const _0x23e3b8 of this['_pendingContextItems']['values']())this['_removeContextItem'](_0x23e3b8['uiId']);const _0x5c93f5=this['_conversationContextItems']['get']('current-document')||this['_pendingContextItems']['get']('current-document');_0x5c93f5&&this['_addContextItem']({..._0x5c93f5,'isReadOnly':!0x0,'hidden':!0x0});}['addToConversationContext'](_0x1cc51a){for(const _0x362c23 of _0x1cc51a['values']())this['_addToConversationContextItem'](_0x362c23);this['clearPendingContextItems'](),this['fire']('contextSent',{'contextItems':Array['from'](this['getSentContextItems']()['values']())});}['isCurrentDocumentInContext'](){return this['_pendingContextItems']['has']('current-document');}['isSelectionInContext'](){return this['_pendingContextItems']['has']('selection');}['isCurrentDocumentInConversation'](){return this['_conversationContextItems']['has']('current-document');}static['mapContextItemsToRequestData'](_0x271133){return Array['from'](_0x271133['values']())['map'](_0x3d1b8d=>this['_mapContextItemToRequestData'](_0x3d1b8d))['filter'](_0x14964a=>null!==_0x14964a);}async['addFilesToContext'](_0x32b4dc,_0x15dc60,_0x34e37d=AIContextItemType['FILE']){const _0x5302f3='files-'+ckeditor5['uid']();this['_startUploadOperation'](_0x5302f3);try{await Promise['all'](_0x32b4dc['map'](async _0x597f4b=>{const _0x3422fb='file-'+ckeditor5['uid'](),_0x4b1b9f=_0x461292(_0x597f4b['name']);try{this['_addContextItem']({'type':_0x34e37d,'label':_0x15dc60?.['label']||_0x4b1b9f,'uiId':_0x3422fb,'resourceId':_0x15dc60?.['resourceId']},!0x0);const _0x186eb9=this['_connector']['uploadFile'](this['_ownerId'],_0x597f4b,_0x15dc60);this['_ongoingUploads']['set'](_0x3422fb,_0x186eb9['abortController']);const {id:_0x492c6a}=await _0x186eb9['getId']();this['_ongoingUploads']['delete'](_0x3422fb),this['_finishContextItemLoading']({'type':_0x34e37d,'id':_0x492c6a,'label':_0x15dc60?.['label']||_0x4b1b9f,'uiId':_0x3422fb,'resourceId':_0x15dc60?.['resourceId']},!0x1);}catch(_0x47e6a4){this['_ongoingUploads']['delete'](_0x3422fb);if(!(_0x47e6a4 instanceof ckeditor5['CKEditorError']&&_0x47e6a4['message']['startsWith']('ai-request-aborted'))){const _0x11bb51=_0x52690a['get'](_0x47e6a4['code'])||'ai-chat-file-upload-failed',_0x1d5af5=new ckeditor5['CKEditorError'](_0x11bb51,null,{'fileName':_0x4b1b9f,..._0x47e6a4});_0x1d5af5['stack']=_0x47e6a4['stack'],this['fire']('error',{'error':_0x1d5af5});}this['_removeContextItem'](_0x3422fb);}}));}finally{this['_finishUploadOperation'](_0x5302f3);}}['addCurrentDocumentToContext'](_0x4b1eac){if(this['isCurrentDocumentInContext']()||!this['_addContextOptionsState']['document']['enabled'])return;const _0x7b25df={'type':AIContextItemType['DOCUMENT'],'uiId':'current-document','label':_0x4b1eac,'isReadOnly':this['_conversationContextItems']['has']('current-document'),'hidden':this['_conversationContextItems']['has']('current-document')};this['_addContextItem'](_0x7b25df);}async['updateCurrentDocument'](_0x47d33b,_0x971b5a,_0x3e6192,_0x2953d6){const _0x423762=this['_pendingContextItems']['get']('current-document');if(_0x423762&&_0x47d33b){_0x423762['selection']=_0x2953d6?_0x2953d6['map'](_0x274b18=>({'start':_0x274b18['start'],'end':_0x274b18['end']})):[];try{if(_0x423762['version']===_0x971b5a)return;const {id:_0x47554c}=await this['_connector']['uploadDocument'](this['_ownerId'],_0x47d33b,{'version':_0x971b5a,'sessionId':_0x3e6192})['getId']();_0x423762['id']=_0x47554c,_0x423762['content']=_0x47d33b,_0x423762['version']=_0x971b5a,_0x423762['sessionId']=_0x3e6192;}catch(_0x175bba){const _0xaa4fcd=new ckeditor5['CKEditorError']('ai-chat-document-upload-failed',null);_0xaa4fcd['stack']=_0x175bba['stack'],this['fire']('error',{'error':_0xaa4fcd});}}}['addSelectionToContext'](_0x5b9cfb){this['_addContextItem']({'type':AIContextItemType['SELECTION'],'label':_0x5b9cfb,'uiId':'selection','content':_0x5b9cfb});}['removeSelectionFromContext'](){this['_removeContextItem']('selection');}async['addUrlToContext'](_0x57b4e4,_0x5a0de1){const _0x54c5a2='url-'+ckeditor5['uid']();this['_startUploadOperation'](_0x54c5a2);const _0x46e546='url-'+ckeditor5['uid']();try{this['_addContextItem']({'type':AIContextItemType['URL'],'label':_0x5a0de1?.['label']||_0x57b4e4,'uiId':_0x46e546,'resourceId':_0x5a0de1?.['resourceId']},!0x0);const _0x5bae06=this['_connector']['uploadUrl'](this['_ownerId'],_0x57b4e4,_0x5a0de1);this['_ongoingUploads']['set'](_0x46e546,_0x5bae06['abortController']);const {id:_0x25df41}=await _0x5bae06['getId']();this['_ongoingUploads']['delete'](_0x46e546),this['_finishContextItemLoading']({'type':AIContextItemType['URL'],'id':_0x25df41,'label':_0x5a0de1?.['label']||_0x57b4e4,'uiId':_0x46e546,'resourceId':_0x5a0de1?.['resourceId']},!0x1);}catch(_0xbd612e){this['_ongoingUploads']['delete'](_0x46e546),(_0xbd612e['message']['startsWith']('ai-request-aborted')||this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-url-upload-failed',this,{'url':_0x57b4e4,'originalError':_0xbd612e}),'url':_0x57b4e4}),this['_removeContextItem'](_0x46e546));}finally{this['_finishUploadOperation'](_0x54c5a2);}}['addToolItemToContext'](_0x36370b){_0x36370b['id']=_0x36370b['id']??ckeditor5['uid']()['substring'](0x0,0x15),this['_pendingContextItems']['set'](_0x36370b['uiId'],_0x36370b),this['fire']('contextItemAdded',{'contextItem':_0x36370b,'isLoading':!0x1});}async['loadSourceResources'](_0x4abe99,_0x223a8e,_0x1a35fa){const _0x14581b=this['_addContextOptionsState']['sources']['find'](_0x1481c2=>_0x1481c2['id']===_0x4abe99);if(!_0x14581b)return this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-source-not-found',this,{'sourceId':_0x4abe99}),'sourceId':_0x4abe99}),[];try{const _0x2b1629=(await _0x14581b['getResources'](_0x223a8e))['map'](_0x4697ba=>{const _0x15d0bf=this['_isResourceInContext'](_0x4697ba['id']);return{..._0x4697ba,'isInContext':_0x15d0bf};});return _0x14581b['resources']=_0x2b1629,this['fire']('sourceResourcesLoaded',{'sourceId':_0x4abe99,'source':_0x14581b,'resources':_0x2b1629,'uid':_0x1a35fa}),_0x2b1629;}catch(_0x537730){return this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-source-resources-load-failed',this,{'sourceId':_0x4abe99,'originalError':_0x537730}),'sourceId':_0x4abe99,'sourceLabel':_0x14581b['label']}),[];}}async['addResourceToContext'](_0x5c6e98,_0x5e924c){if(this['_isResourceInContext'](_0x5e924c['id']))return;let _0x456e20=_0x5e924c['data'];if(!_0x456e20&&_0x5c6e98['getData'])try{_0x456e20=await _0x5c6e98['getData'](_0x5e924c['id']);}catch(_0x128625){return void this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-resource-load-failed',this,{'resourceId':_0x5e924c['id'],'sourceId':_0x5c6e98['id'],'originalError':_0x128625}),'resourceId':_0x5e924c['id'],'sourceId':_0x5c6e98['id']});}if(_0x456e20)switch(_0x5e924c['type']){case AIContextItemType['URL']:if('string'!=typeof _0x456e20)return void this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x5e924c['id'],'sourceId':_0x5c6e98['id'],'expectedType':'string','actualType':typeof _0x456e20}),'resourceId':_0x5e924c['id'],'sourceId':_0x5c6e98['id']});await this['addUrlToContext'](_0x456e20,{'label':_0x5e924c['label'],'resourceId':_0x5e924c['id']});break;case AIContextItemType['FILE']:if(!(_0x456e20 instanceof File))return void this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x5e924c['id'],'sourceId':_0x5c6e98['id'],'expectedType':'File','actualType':typeof _0x456e20}),'resourceId':_0x5e924c['id'],'sourceId':_0x5c6e98['id']});await this['addFilesToContext']([_0x456e20],{'label':_0x5e924c['label'],'resourceId':_0x5e924c['id']});break;case AIContextItemType['TEXT']:if('object'!=typeof _0x456e20||!('content'in _0x456e20)||!('type'in _0x456e20))return void this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x5e924c['id'],'sourceId':_0x5c6e98['id'],'expectedType':'object\x20with\x20content\x20and\x20type\x20properties','actualType':typeof _0x456e20}),'resourceId':_0x5e924c['id'],'sourceId':_0x5c6e98['id']});_0x456e20=AIChatContext['_convertTextResourceToFile'](_0x456e20,_0x5e924c['label']),await this['addFilesToContext']([_0x456e20],{'label':_0x5e924c['label'],'resourceId':_0x5e924c['id']},AIContextItemType['TEXT']);break;case AIContextItemType['TOOL']:break;default:this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-context-unsupported-type',this,{'resourceId':_0x5e924c['id'],'sourceId':_0x5c6e98['id'],'resourceType':_0x5e924c['type']}),'resourceId':_0x5e924c['id'],'sourceId':_0x5c6e98['id']});}else this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-resource-no-data',this,{'resourceId':_0x5e924c['id'],'sourceId':_0x5c6e98['id']}),'resourceId':_0x5e924c['id'],'sourceId':_0x5c6e98['id']});}static['_convertTextResourceToFile'](_0x75395f,_0x15fb10){switch(_0x75395f['type']){case AIContextTextResourceType['MARKDOWN']:return new File([_0x75395f['content']],_0x15fb10,{'type':'text/markdown'});case AIContextTextResourceType['HTML']:return new File([_0x75395f['content']],_0x15fb10,{'type':'text/html'});default:return new File([_0x75395f['content']],_0x15fb10,{'type':'text/plain'});}}static['_mapContextItemToRequestData'](_0xe40c03){switch(_0xe40c03['type']){case AIContextItemType['FILE']:return{'type':AIContextItemType['FILE'],'id':_0xe40c03['id']};case AIContextItemType['URL']:return{'type':AIContextItemType['URL'],'id':_0xe40c03['id']};case AIContextItemType['DOCUMENT']:return{'type':AIContextItemType['DOCUMENT'],'id':_0xe40c03['id'],..._0xe40c03['selection']?.['length']&&{'selection':_0xe40c03['selection']}};case AIContextItemType['TEXT']:return{'type':AIContextItemType['FILE'],'id':_0xe40c03['id']};case AIContextItemType['TOOL']:{const _0x2cec7e=_0xe40c03;return{'type':AIContextItemType['TOOL'],'mcpServerName':_0x2cec7e['mcpServerName'],'toolName':_0x2cec7e['toolName'],'data':_0x2cec7e['data'],'id':_0x2cec7e['id']};}default:return null;}}['_addContextItem'](_0x45e808,_0x1ed92b=!0x1){if(this['_pendingContextItems']['set'](_0x45e808['uiId'],_0x45e808),_0x45e808['hidden']||this['fire']('contextItemAdded',{'contextItem':_0x45e808,'isLoading':_0x1ed92b}),'current-document'===_0x45e808['uiId']&&this['_toggleAddCurrentDocumentOptionVisibility'](),_0x45e808['resourceId']){const _0x322357=this['_findSourceIdsByResourceId'](_0x45e808['resourceId']);_0x322357&&_0x322357['forEach'](_0x1e21d0=>{this['_updateResourceInContextState'](_0x1e21d0,_0x45e808['resourceId'],!0x0);});}}['_removeContextItem'](_0x1d909e){const _0x10047e=this['_pendingContextItems']['get'](_0x1d909e),_0x288d24=this['_ongoingUploads']['get'](_0x1d909e);if(_0x288d24&&(_0x288d24['abort'](),this['_ongoingUploads']['delete'](_0x1d909e)),_0x10047e?.['resourceId']){const _0x37a428=this['_findSourceIdsByResourceId'](_0x10047e['resourceId']);_0x37a428&&_0x37a428['forEach'](_0x472453=>{this['_updateResourceInContextState'](_0x472453,_0x10047e['resourceId'],!0x1);});}this['_pendingContextItems']['delete'](_0x1d909e),this['fire']('contextItemRemoved',{'uiId':_0x1d909e,'type':_0x10047e?.['type']}),'current-document'===_0x1d909e&&this['_toggleAddCurrentDocumentOptionVisibility']();}['_finishContextItemLoading'](_0xbedf36,_0x480898){if(this['_pendingContextItems']['has'](_0xbedf36['uiId'])&&(this['_pendingContextItems']['set'](_0xbedf36['uiId'],_0xbedf36),this['fire']('contextItemLoadingEnded',{'contextItem':_0xbedf36,'isLoading':_0x480898}),_0xbedf36['resourceId'])){const _0x3c3155=this['_findSourceIdsByResourceId'](_0xbedf36['resourceId']);_0x3c3155&&_0x3c3155['forEach'](_0x57f0dc=>{this['_updateResourceInContextState'](_0x57f0dc,_0xbedf36['resourceId'],!0x0);});}}['_addToConversationContextItem'](_0x15816d){this['_conversationContextItems']['set'](_0x15816d['uiId'],_0x15816d);}['_setAddContextOptionsDefaultState'](){this['_addContextOptionsState']={'document':{'enabled':!0x1!==this['_config']?.['document']?.['enabled'],'isHidden':!0x1},'urls':{'enabled':!0x1!==this['_config']?.['urls']?.['enabled']},'files':{'enabled':!0x1!==this['_config']?.['files']?.['enabled']},'sources':this['_getCustomSourcesInitialState'](),'customItems':this['_config']?.['customItems']?.['map'](_0x3dad81=>({..._0x3dad81,'enabled':!0x0}))??[]},this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}['_getCustomSourcesInitialState'](){return this['_config']?.['sources']?.['map'](_0x1aec57=>({..._0x1aec57,'resources':[]}))??[];}['_toggleAddCurrentDocumentOptionVisibility'](){const _0x34559b=this['isCurrentDocumentInContext']()||this['isCurrentDocumentInConversation']();this['_addContextOptionsState']['document']['isHidden']=_0x34559b,this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}['_isResourceInContext'](_0x4942f2){for(const _0x1113a4 of this['_pendingContextItems']['values']())if(_0x1113a4['resourceId']===_0x4942f2)return!0x0;for(const _0x48d17a of this['_conversationContextItems']['values']())if(_0x48d17a['resourceId']===_0x4942f2)return!0x0;return!0x1;}['_findSourceIdsByResourceId'](_0x41bb93){const _0x1cab65=[];for(const _0x624bc of this['_addContextOptionsState']['sources']){_0x624bc['resources']['find'](_0x18943f=>_0x18943f['id']===_0x41bb93)&&_0x1cab65['push'](_0x624bc['id']);}return 0x0===_0x1cab65['length']?null:_0x1cab65;}['_updateResourceInContextState'](_0x4f03d4,_0x473f4a,_0x308bee){const _0x3785fa=this['_addContextOptionsState']['sources']['find'](_0x3cbf61=>_0x3cbf61['id']===_0x4f03d4);if(!_0x3785fa)return;const _0x26dde9=_0x3785fa['resources']['find'](_0x54b8fb=>_0x54b8fb['id']===_0x473f4a);_0x26dde9&&(_0x26dde9['isInContext']=_0x308bee,this['fire']('resourceStateChanged',{'sourceId':_0x4f03d4,'resourceId':_0x473f4a,'isInContext':_0x308bee}));}['_startUploadOperation'](_0x5e5e70){this['_ongoingUploadOperations']['set'](_0x5e5e70,!0x0),this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x0});}['_finishUploadOperation'](_0x20df93){this['_ongoingUploadOperations']['delete'](_0x20df93),0x0===this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x1});}}const _0x222f0e=['capabilitiesUpdated'];class AICapabilities extends ckeditor5['EmitterMixin'](){['_isWebSearchEnabled'];['_isReasoningEnabled'];constructor(){super(),this['_isWebSearchEnabled']=!0x1,this['_isReasoningEnabled']=!0x1;}['init'](){this['reset']();}['reset'](){this['setWebSearch'](!0x1),this['setReasoning'](!0x1);}['getCapabilitiesConfig'](){return{'isWebSearchEnabled':this['_isWebSearchEnabled'],'isReasoningEnabled':this['_isReasoningEnabled']};}static['getCapabilitiesRequestData'](_0x5a4e5e){const _0x1fe9cb={};return _0x5a4e5e&&_0x5a4e5e['isWebSearchEnabled']&&(_0x1fe9cb['webSearch']={}),_0x5a4e5e&&_0x5a4e5e['isReasoningEnabled']&&(_0x1fe9cb['reasoning']={}),_0x1fe9cb;}['toggleWebSearch'](){this['setWebSearch'](!this['_isWebSearchEnabled']);}['toggleReasoning'](){this['setReasoning'](!this['_isReasoningEnabled']);}['setWebSearch'](_0x298abf){_0x298abf!==this['_isWebSearchEnabled']&&(this['_isWebSearchEnabled']=_0x298abf,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}['setReasoning'](_0x52b718){_0x52b718!==this['_isReasoningEnabled']&&(this['_isReasoningEnabled']=_0x52b718,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}}class AIChatInteraction extends AIInteraction{['userMessage'];['conversationId'];['contextItems']=new Map();['model'];['attributes'];constructor(_0x53c439){super(_0x53c439),this['conversationId']=_0x53c439['conversationId'],this['contextItems']=_0x53c439['contextItems'],this['capabilities']=_0x53c439['capabilities'],this['userMessage']=_0x53c439['userMessage'],this['model']=_0x53c439['model'],this['attributes']=_0x53c439['attributes'];}async['sendRequest'](){return this['connector']['queryAssistant']({'message':this['userMessage'],'conversationId':this['conversationId'],'parts':AIChatContext['mapContextItemsToRequestData'](this['contextItems']),'capabilities':AICapabilities['getCapabilitiesRequestData'](this['capabilities']),'model':this['model'],'attributes':this['attributes']});}['getDocumentContext'](){return this['contextItems']['get']('current-document');}}class AIChatConversation extends ckeditor5['EmitterMixin'](){['id'];['isStarted']=!0x1;['isFromHistory'];['interactions']=[];['currentInteraction'];['selectedModel'];['connector'];['options'];constructor(_0x5d599d){super(),this['options']=_0x5d599d,this['connector']=_0x5d599d['connector'],this['chatModels']=_0x5d599d['chatModels'],this['id']=_0x5d599d['conversationId'],this['isFromHistory']=_0x5d599d['isFromHistory'];}async['init'](_0x1aa0ce){try{this['chatContext']=new AIChatContext({'connector':this['connector'],'config':_0x1aa0ce,'ownerId':this['id']}),this['chatContext']['delegate'](..._0x3fb73f)['to'](this),this['chatContext']['init'](),this['chatCapabilities']=new AICapabilities(),this['chatCapabilities']['delegate'](..._0x222f0e)['to'](this),this['chatCapabilities']['init']();const _0x162bda=await this['chatModels']['getAvailableModels']();this['fire']('conversationInitialized',{'availableModels':_0x162bda});const _0x509c03=await this['chatModels']['getModel'](this['options']['selectedModelId']);_0x509c03&&await this['setModel'](_0x509c03);}catch(_0x29e9f0){const _0x4b7651=new ckeditor5['CKEditorError']('ai-chat-conversation-init-failed',null,{'message':_0x29e9f0['message']||_0x29e9f0});_0x4b7651['stack']=_0x29e9f0['stack'],this['fire']('error',{'error':_0x4b7651});}}async['start'](){if(this['isStarted'])throw new ckeditor5['CKEditorError']('ai-chat-conversation-already-started',null,{'conversation':this});if(!this['selectedModel'])throw new ckeditor5['CKEditorError']('ai-chat-conversation-start-no-model-selected',null,{'conversation':this});try{const {id:_0xa39ede}=await this['connector']['startConversation'](this['id'],this['options']['group'])['getConversation']();this['id']=_0xa39ede,this['isStarted']=!0x0,this['fire']('conversationStarted',{'conversationId':this['id'],'selectedModel':this['selectedModel']});}catch(_0x16b4e7){const _0x4f59b9=new ckeditor5['CKEditorError']('ai-chat-conversation-start-failed',null,{'message':_0x16b4e7['message'],'conversationId':this['id']});throw _0x4f59b9['stack']=_0x16b4e7['stack'],this['fire']('error',{'error':_0x4f59b9}),_0x4f59b9;}}async['load'](_0x2f7523,_0x22495e){try{const _0x561370=await this['connector']['fetchConversation'](_0x2f7523)['getConversation'](),_0x1b1590=await this['connector']['fetchConversationMessages'](_0x2f7523)['getMessages'](),_0x443392=_0x1b1590[0x0]['model'];this['isStarted']=!0x0,this['id']=_0x561370['id'],'title'in _0x561370?this['fire']('setConversationTitle',_0x561370['title'],!0x0):this['fire']('setConversationTitle','',!0x0);const _0x2fcf56=(await this['chatModels']['getAll']())['find'](_0x3b877b=>_0x3b877b['id']['toLowerCase']()===_0x443392['toLowerCase']());return this['selectedModel']=_0x2fcf56,this['fire']('modelSelected',{'selectedModel':_0x2fcf56,'isDisabled':!0x0}),await this['_processMessagesToInteractions'](_0x1b1590,_0x22495e,_0x443392),this['currentInteraction']=void 0x0,this;}catch(_0x232b25){const _0x5242cb=new ckeditor5['CKEditorError']('ai-chat-conversation-init-from-id-failed',null,{'message':_0x232b25['message'],'conversationId':_0x2f7523});throw _0x5242cb['stack']=_0x232b25['stack'],this['fire']('error',{'error':_0x5242cb}),_0x5242cb;}}async['_processMessagesToInteractions'](_0x58ac1d,_0x45f6d7,_0x1bbc6b){let _0x2432a3;for(const _0x33c268 of _0x58ac1d)if('user'===_0x33c268['role']){const _0x4abd40=await this['_extractContextItems'](_0x33c268),_0x2cae78={'isReasoningEnabled':Object['hasOwn'](_0x33c268['capabilities'],'reasoning'),'isWebSearchEnabled':Object['hasOwn'](_0x33c268['capabilities'],'webSearch')};_0x2432a3=this['createInteraction']({'userMessage':_0x33c268['prompt'],'contextItems':_0x4abd40,'capabilities':_0x2cae78,'modelId':_0x1bbc6b,'attributes':_0x33c268['attributes']}),this['currentInteraction']=_0x2432a3,this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}else{if('assistant'===_0x33c268['role']&&_0x2432a3){const _0x4df762=[];for(const _0x43e6cb of _0x33c268['content'])switch(_0x43e6cb['type']){case'text':case'modification':{const _0x3d3ff2=_0x2432a3['getDocumentContext']()?.['sessionId']!==_0x45f6d7;_0x2432a3['currentReply']=_0x2432a3['createReply']({'type':_0x43e6cb['type'],'isDone':!0x0,'interactionId':_0x2432a3['id'],'areActionsDisabled':_0x3d3ff2}),_0x2432a3['currentReply']['appendContent'](_0x43e6cb['content']),_0x4df762['length']>0x0&&(_0x2432a3['currentReply']['sources']=_0x4df762['splice'](0x0));break;}case'url':_0x4df762['push'](_0x43e6cb);break;case'mcp-tool-result':{const {data:_0x32a9bb,attributes:_0x13615d}=JSON['parse'](_0x43e6cb['content']);_0x2432a3['_handleToolResultData']({'toolName':_0x43e6cb['toolName'],'data':_0x32a9bb,'attributes':_0x13615d});break;}}}}}async['_extractContextItems'](_0x49bd0d){const _0x2323a8=new Map();if(!_0x49bd0d['content'])return _0x2323a8;for(const _0x23ee30 of _0x49bd0d['content']){const _0xe224f3=await this['chatContext']['populateFromMessage'](_0x23ee30);_0xe224f3&&_0x2323a8['set'](_0xe224f3['id'],_0xe224f3);}return _0x2323a8;}async['handleUserInteraction']({userMessage:_0x3d8e13,attributes:_0xe2b4dc}){if(!this['isStarted'])throw new ckeditor5['CKEditorError']('ai-chat-handle-user-conversation-not-initialized',null,{'conversation':this});if(this['currentInteraction'])throw new ckeditor5['CKEditorError']('ai-chat-handle-user-interaction-already-in-progress',null,{'conversation':this});try{const _0x47f926=this['chatContext']['getPendingContextItems'](),_0x227aa1=this['chatCapabilities']['getCapabilitiesConfig'](),_0x13e7b0=this['selectedModel']['id'];this['currentInteraction']=this['createInteraction']({'userMessage':_0x3d8e13,'contextItems':_0x47f926,'capabilities':_0x227aa1,'modelId':_0x13e7b0,'attributes':_0xe2b4dc}),await this['currentInteraction']['start'](),this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}catch(_0x87499a){if(_0x87499a instanceof ckeditor5['CKEditorError'])this['fire']('error',{'interactionId':this['currentInteraction']?this['currentInteraction']['id']:void 0x0,'error':_0x87499a});else{const _0x11c64f=_0x52690a['get'](_0x87499a['code'])||'ai-chat-handle-user-interaction-start-failed';this['fire']('error',{'interactionId':this['currentInteraction']?this['currentInteraction']['id']:void 0x0,'error':new ckeditor5['CKEditorError'](_0x11c64f,null,{'error':_0x87499a})});}}finally{this['currentInteraction']?.['stop'](),this['currentInteraction']=void 0x0;}}['createInteraction']({userMessage:_0xf2e57f,contextItems:_0x299f50,capabilities:_0x3ba23c,modelId:_0x20b3e5,attributes:_0x57a242}){const _0x375c1b=new AIChatInteraction({'userMessage':_0xf2e57f,'contextItems':_0x299f50,'capabilities':_0x3ba23c,'conversationId':this['id'],'connector':this['connector'],'editor':this['options']['getEditor']&&this['options']['getEditor'](),'model':_0x20b3e5,'attributes':_0x57a242});return _0x375c1b['delegate'](..._0x578cf5)['to'](this),this['interactions']['push'](_0x375c1b),this['fire']('interactionCreated',_0x375c1b),_0x375c1b;}['getInteraction'](_0x15c279){return this['interactions']['find'](_0x1b9951=>_0x1b9951['id']===_0x15c279);}['removeInteraction'](_0x290a21){const _0x40f6dc=this['getInteraction'](_0x290a21);_0x40f6dc&&(_0x40f6dc['destroy'](),this['interactions']['splice'](this['interactions']['indexOf'](_0x40f6dc),0x1));}get['lastInteraction'](){return this['interactions'][this['interactions']['length']-0x1];}['addCurrentDocumentToContext'](_0x902f31){this['chatContext']['addCurrentDocumentToContext'](_0x902f31);}async['updateCurrentDocumentInContext']({content:_0x299792,version:_0x4f2c89,sessionId:_0x1f2d1a,selections:_0xb807b}){await this['chatContext']['updateCurrentDocument'](_0x299792,_0x4f2c89,_0x1f2d1a,_0xb807b);}['getCurrentDocumentContext'](){return this['currentInteraction']?.['getDocumentContext']()?.['content']||'';}['addSelectionToContext'](_0x38e41b){this['chatContext']['addSelectionToContext'](_0x38e41b);}['removeSelectionFromContext'](){this['chatContext']['removeSelectionFromContext']();}['addFilesToContext'](_0x1a161f){this['chatContext']['addFilesToContext'](_0x1a161f);}['addUrlToContext'](_0x193750){this['chatContext']['addUrlToContext'](_0x193750);}['addToolItemToContext'](_0x26b4ce){this['chatContext']['addToolItemToContext'](_0x26b4ce);}['addResourceToContext'](_0x40f425,_0x344ef2){this['chatContext']['addResourceToContext'](_0x40f425,_0x344ef2);}['loadSourceResources'](_0x542cc2,_0x987af,_0x5a53fc){return this['chatContext']['loadSourceResources'](_0x542cc2,_0x987af,_0x5a53fc);}['removeFromContext'](_0x4645d8){this['chatContext']['removeFromContext'](_0x4645d8);}['setWebSearch'](_0x5b5060){this['chatCapabilities']['setWebSearch'](_0x5b5060);}['toggleWebSearch'](){this['chatCapabilities']['toggleWebSearch']();}['setReasoning'](_0x4ee618){this['chatCapabilities']['setReasoning'](_0x4ee618);}['toggleReasoning'](){this['chatCapabilities']['toggleReasoning']();}['isCurrentDocumentInContext'](){return this['chatContext']['isCurrentDocumentInContext']();}['isCurrentDocumentInConversation'](){return this['chatContext']['isCurrentDocumentInConversation']();}['isSelectionInContext'](){return this['chatContext']['isSelectionInContext']();}async['setModel'](_0x52da7b){_0x52da7b?!0x1===await this['chatModels']['isAvailable'](_0x52da7b)&&(ckeditor5['logWarning']('ai-chat-conversation-set-model-not-available',{'conversation':this,'model':_0x52da7b}),_0x52da7b=(await this['chatModels']['getAvailableModels']())[0x0]):(ckeditor5['logWarning']('ai-chat-conversation-set-model-null',{'conversation':this}),_0x52da7b=(await this['chatModels']['getAvailableModels']())[0x0]),_0x52da7b['id']!==this['selectedModel']?.['id']&&(this['selectedModel']=_0x52da7b,this['chatCapabilities']['reset'](),this['fire']('modelSelected',{'selectedModel':_0x52da7b}));}}class _0x331d2a extends ckeditor5['EmitterMixin'](){['_connector'];['_config'];['_locale'];['_modelList']=[];['_modelsRequest']=null;constructor({connector:_0x1e3c5a,config:_0x155b34,locale:_0xeb02df}){super(),this['_connector']=_0x1e3c5a,this['_config']=_0x155b34,this['_locale']=_0xeb02df;}get['_availableModels'](){return this['_config']?.['displayedModels'];}get['_defaultModelId'](){return this['_config']?.['defaultModelId'];}async['getAll'](){return this['_modelsRequest']||(this['_modelsRequest']=this['_retrieveModels']()),this['_modelsRequest'];}async['getAvailableModels'](){const _0x32e006=await this['getAll']();let _0x4e9186;return _0x4e9186=this['_availableModels']?this['_filterModels'](_0x32e006,this['_availableModels']):_0x32e006['filter'](_0x57bccc=>_0x57bccc['recommended']),_0x4e9186;}async['getModel'](_0x440e29){const _0x2297c4=await this['getAll']();if(!_0x2297c4['length'])return null;if(_0x440e29){const _0x3017b2=this['_getModelById'](_0x2297c4,_0x440e29);if(_0x3017b2)return _0x3017b2;ckeditor5['logWarning']('ai-chat-model-id-unrecognized',{'modelId':_0x440e29,'fallBackModelId':this['_defaultModelId']});}return this['getDefault']();}async['getDefault'](){const _0xca289c=await this['getAvailableModels']();if(!_0xca289c['length'])return null;if(this['_defaultModelId']){const _0x54ecf7=this['_getModelById'](_0xca289c,this['_defaultModelId']);if(_0x54ecf7)return _0x54ecf7;ckeditor5['logWarning']('ai-chat-default-model-id-unrecognized',{'defaultModelId':this['_defaultModelId'],'fallBackModelId':_0xca289c[0x0]['id']});}return _0xca289c[0x0];}async['isAvailable'](_0x4019a5){return(await this['getAvailableModels']())['some'](_0x51e440=>_0x51e440['name']===_0x4019a5['name']&&_0x51e440['provider']===_0x4019a5['provider']);}async['_retrieveModels'](){if(!this['_modelList']['length'])try{const _0x52daba=this['_locale']['uiLanguage']||'en',_0x482fd1=this['_connector']['getModels'](_0x52daba),_0x59dc8c=await _0x482fd1['list']();this['_modelList']=_0x59dc8c['items']['map'](_0x2bacaa=>isAutoModel(_0x2bacaa)?{..._0x2bacaa,'name':getTranslation$i(this['_locale'],'AI_MODEL_NAME_AUTO')}:_0x2bacaa);}catch(_0x54a5a4){throw ckeditor5['logError']('ai-models-unable-to-retrieve',{'error':_0x54a5a4}),_0x54a5a4;}return[...this['_modelList']];}['_filterModels'](_0x18a653,_0x20e491){let _0x17875e;if(_0x20e491){_0x17875e=[];const _0x4bec91=new Set(),_0x2faf29='string'==typeof _0x20e491?[_0x20e491['toLocaleLowerCase']()]:_0x20e491['map'](_0x31e0bf=>_0x31e0bf['toLocaleLowerCase']());for(const _0x35680b of _0x2faf29)for(const _0x3d6144 of _0x18a653)!_0x4bec91['has'](_0x3d6144['id'])&&this['_isMatchingFilter'](_0x3d6144,_0x35680b)&&(_0x17875e['push'](_0x3d6144),_0x4bec91['add'](_0x3d6144['id']));}else _0x17875e=_0x18a653;return _0x17875e;}['_isMatchingFilter'](_0x464c4c,_0x342599){const _0x13be46=_0x464c4c['id']['toLocaleLowerCase'](),_0x6abac2=_0x464c4c['name']['toLocaleLowerCase'](),_0x231acf=_0x464c4c['provider']['toLocaleLowerCase']();return _0x13be46===_0x342599||_0x6abac2===_0x342599||isAutoModel(_0x464c4c)&&'auto'===_0x342599||_0x231acf===_0x342599||_0x13be46['startsWith'](_0x342599);}['_getModelById'](_0xd5b1c9,_0x56e96d){return _0xd5b1c9['find'](_0x415ab2=>isAutoModel(_0x415ab2)&&'auto'===_0x56e96d?_0x415ab2:_0x415ab2['id']===_0x56e96d)||null;}}function isAutoModel(_0x1ac65b){return _0x1ac65b['id']['startsWith']('agent');}function getEditorFromContext(_0x3520a2){if(_0x3520a2 instanceof ckeditor5['Editor'])return _0x3520a2;if(_0x3520a2?.['editors']&&_0x3520a2['editors']['get'](0x0))return _0x3520a2['editors']['length']>0x1&&console['warn']('AIChat:\x20Multiple\x20editor\x20instances\x20detected.\x20Only\x20the\x20first\x20editor\x20instance\x20will\x20be\x20used\x20for\x20AI\x20operations.\x20This\x20configuration\x20is\x20not\x20fully\x20supported\x20and\x20may\x20lead\x20to\x20unexpected\x20behavior.'),_0x3520a2['editors']['get'](0x0);throw new ckeditor5['CKEditorError']('ai-get-editor-from-context-no-editor');}function getOperationsFromReply({editor:_0x478aca,interaction:_0xbfe1a7,reply:_0x409072,groups:_0x4d41f7,transform:_0x5ad07c,documentCompare:_0x5baa45,documentCompareOptions:_0x40cceb}){const _0x363b32=_0xbfe1a7['getDocumentContext']();if(!_0x363b32)return[];const _0x5cd5f2=_0x363b32['content'],_0x1297d7=_0x363b32['version'],_0x295db7=_0x409072['documentContextContent']['cloneNode'](!0x0);for(const {changes:_0x32648b}of _0x4d41f7){const _0x557231=_0x32648b['filter'](_0x574c16=>'new'!=_0x574c16['type'])['map'](_0x3cce87=>findByAttribute('data-id',_0x3cce87['id'],_0x295db7)),_0x32f2dd=_0x32648b['filter'](_0x14f749=>'removed'!=_0x14f749['type'])['map'](_0x2df9b5=>_0x2df9b5['node']['cloneNode'](!0x0));let _0x29483c=null;if(_0x557231['length']){_0x29483c=_0x557231[0x0]['previousSibling'];for(let _0x2e064d=0x0;_0x2e064d<_0x557231['length'];_0x2e064d++)removeElement(_0x557231[_0x2e064d]);}if(_0x32f2dd['length']){_0x29483c||(_0x32648b[0x0]['anchorId']?_0x29483c=findByAttribute('data-id',_0x32648b[0x0]['anchorId'],_0x295db7):(_0x29483c=_0x32f2dd['shift'](),_0xbdcb61(_0x295db7,_0x29483c)));for(let _0x2250ae=0x0;_0x2250ae<_0x32f2dd['length'];_0x2250ae++)_0x41de17(_0x29483c,_0x32f2dd[_0x2250ae]),_0x29483c=_0x32f2dd[_0x2250ae];}}const _0x45e40f=_0x19ea5e(_0x295db7),_0x25f860=_0x5baa45['getDiff'](_0x5cd5f2,_0x45e40f,_0x40cceb)['getOperations']();if(_0x5ad07c){const _0x32392a=_0x478aca['model']['document']['history']['getOperations'](_0x1297d7),_0x424991={'document':_0x478aca['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1};return ckeditor5['transformOperationSets'](_0x25f860,_0x32392a,_0x424991)['operationsA'];}return _0x25f860;}function fixMarkerOperationOldRange(_0x5a3642,_0x7a6616){if('marker'!=_0x7a6616['type'])return;const _0x3c4599=_0x5a3642['model']['markers']['get'](_0x7a6616['name']);_0x3c4599&&(_0x7a6616['oldRange']=_0x3c4599['getRange']());}class AIChatController extends ckeditor5['ContextPlugin']{['_aiEditing'];['_aiConnector'];['_aiChatUi'];['_aiChatModels'];['_aiChatBalloon'];['_batchToChanges']=new Map();['_currentPreviewedChangeGroup']=null;['_bodyCollection'];static get['requires'](){return[AIConnector,DocumentCompare];}static get['pluginName'](){return'AIChatController';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_bodyCollection']=new ckeditor5['BodyCollection'](this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_aiConnector']=this['context']['plugins']['get']('AIConnector'),this['_aiChatUi']=this['context']['plugins']['get']('AIChatUI'),this['_aiEditing']=this['context']['plugins']['get']('AIEditing'),this['_aiChatModels']=new _0x331d2a({'connector':this['_aiConnector'],'config':this['context']['config']['get']('ai.models'),'locale':this['context']['locale']});const _0x136132=this['context']['plugins']['get']('AITabs');this['listenTo'](this['_aiChatUi'],'startConversation',()=>{this['_startConversationSafely']();}),this['listenTo'](this['_aiChatUi'],'sendUserMessage',(_0x4d3fd0,_0x4e95f6)=>{this['_handleUIUserMessage']({'userMessage':_0x4e95f6});}),this['listenTo'](_0x136132,'resizedTabs',(_0x325029,_0x1ceed6)=>{this['_setIsMaximized'](_0x1ceed6);}),this['listenTo'](this['_aiChatUi'],'resizeTabs',()=>{_0x136132['resize']();}),this['listenTo'](this['_aiChatUi'],'abortPromptStream',async()=>{await this['_stopLastInteraction'](),await this['_flushLastInteractionUI'](),this['removeSelectionFromChatContext']();}),this['listenTo'](this['_aiChatUi'],'addDocumentToContext',()=>{this['addCurrentDocumentToChatContext']();}),this['listenTo'](this['_aiChatUi'],'addFileToContext',(_0x364c3e,_0x243621)=>{this['activeConversation']?.['addFilesToContext'](Array['from'](_0x243621));}),this['listenTo'](this['_aiChatUi'],'addUrlToContext',(_0x53bd42,_0x47443c)=>{this['activeConversation']?.['addUrlToContext'](_0x47443c);}),this['listenTo'](this['_aiChatUi'],'executeCustomItemCallback',(_0x5cc3a5,_0x6f1f6a)=>{_0x6f1f6a['callback'](this['context']);}),this['listenTo'](this['_aiChatUi'],'addResourceToContext',(_0x39e44b,_0x2db1f4)=>{this['activeConversation']?.['addResourceToContext'](_0x2db1f4['source'],_0x2db1f4['resource']);}),this['listenTo'](this['_aiChatUi'],'removeContextItem',(_0x4f262a,_0x3c1b04)=>{this['_removeFromContext'](_0x3c1b04);}),this['listenTo'](this['_aiChatUi'],'loadSourceResources',(_0x56e5b3,_0x8754f9)=>{this['activeConversation']?.['loadSourceResources'](_0x8754f9['sourceId'],_0x8754f9['query'],_0x8754f9['uid']);}),this['listenTo'](this['_aiChatUi'],'toggleWebSearch',()=>{this['_toggleWebSearch']();}),this['listenTo'](this['_aiChatUi'],'toggleReasoning',()=>{this['_toggleReasoning']();}),this['listenTo'](this['_aiChatUi'],'selectModel',(_0x4190f6,_0x3955ba)=>{this['activeConversation']?.['setModel'](_0x3955ba);}),this['listenTo'](this['_aiChatUi'],'like',(_0x2072b7,{replyId:_0x1288ee})=>{console['log']('Liked\x20response',_0x1288ee);}),this['listenTo'](this['_aiChatUi'],'dislike',(_0x8372c6,{replyId:_0x444970})=>{console['log']('Disliked\x20response',_0x444970);}),this['listenTo'](this['_aiChatUi'],'insertSuggestion',(_0x2e6b0f,_0x5a3377)=>{this['_insertSuggestion'](_0x5a3377);}),this['listenTo'](this['_aiChatUi'],'showChangeInText',(_0x38de10,{replyId:_0x3d71e9,partIndex:_0x11bc69})=>{this['_aiChatBalloonShowDiff']=this['_aiChatUi']['showDiff'],this['_openBalloonFor'](_0x3d71e9,_0x11bc69);}),this['listenTo'](this['_aiChatUi'],'mouseOverSuggestion',(_0x12bb80,{replyId:_0x5ebc22,partIndex:_0xbe0a4a})=>{const _0x2c99c9=this['_getDocumentRangeForReplyChanges'](_0x5ebc22,_0xbe0a4a);_0x2c99c9&&'$graveyard'!=_0x2c99c9['range']['root']['rootName']&&this['_aiEditing']['showFakeVisualSelection']([_0x2c99c9['range']],'ai-chat-controller-mouse-over');}),this['listenTo'](this['_aiChatUi'],'mouseLeaveSuggestion',()=>{this['_aiEditing']['hideFakeVisualSelection']('ai-chat-controller-mouse-over');}),this['listenTo'](this['_aiChatUi'],'applySuggestion',(_0x507ede,_0x38a4eb)=>{this['_aiEditing']['hideFakeVisualSelection']('ai-chat-controller-mouse-over'),this['_applySuggestion'](_0x38a4eb);}),this['listenTo'](this['_aiChatUi'],'toggleSuggestionDisplayMode',async(_0x16e719,{replyId:_0x245a29,showDiff:_0x46a2d0})=>{const {reply:_0x1919f3}=this['getInteractionAndReplyById'](_0x245a29),_0x4c5d3d=_0x1919f3['getContentParts']({'showDiff':_0x46a2d0});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0x1919f3['id'],'parts':_0x4c5d3d,'renderingStrategy':'static'});}),this['listenTo'](this['_aiChatUi'],'rejectSuggestion',(_0x211e07,{replyId:_0x51648c,partIndex:_0x53e2b7})=>{this['_rejectSuggestion']({'replyId':_0x51648c,'partIndex':_0x53e2b7}),this['_aiEditing']['hideFakeVisualSelection']('ai-chat-controller-mouse-over');}),this['context']['plugins']['has']('AIChatBalloon')&&(this['_aiChatBalloon']=this['context']['plugins']['get']('AIChatBalloon'),this['set']('_aiChatBalloonShowDiff',!0x1),this['_aiChatBalloon']['bind']('showDiff')['to'](this,'_aiChatBalloonShowDiff'),this['listenTo'](this['_aiChatBalloon'],'toggleSuggestionDisplayMode',()=>{const {replyId:_0x384199,partIndex:_0x3c86bc}=this['_currentPreviewedChangeGroup'];this['_aiChatBalloonShowDiff']=!this['_aiChatBalloonShowDiff'];const {reply:_0x367fe1}=this['getInteractionAndReplyById'](_0x384199),_0x50863c=_0x367fe1['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff'],'groupIndex':_0x3c86bc});this['_aiChatBalloon']['updateContent']({'part':_0x50863c[0x0],'renderingStrategy':'static','keepErrors':!0x0});}),this['listenTo'](this['_aiChatBalloon'],'applySuggestion',()=>{const {replyId:_0x3a9048,partIndex:_0xe0ad3}=this['_currentPreviewedChangeGroup'];this['_applySuggestion']({'replyId':_0x3a9048,'partIndex':_0xe0ad3}),this['_aiChatBalloon']['setState']('accepted');}),this['listenTo'](this['_aiChatBalloon'],'insertSuggestion',()=>{const {replyId:_0x3436bb,partIndex:_0x5438f8}=this['_currentPreviewedChangeGroup'];this['_insertSuggestion']({'replyId':_0x3436bb,'partIndex':_0x5438f8}),this['_aiChatBalloon']['setState']('accepted');}),this['listenTo'](this['_aiChatBalloon'],'rejectSuggestion',()=>{const {replyId:_0x401ab6,partIndex:_0x3350a0}=this['_currentPreviewedChangeGroup'];this['_rejectSuggestion']({'replyId':_0x401ab6,'partIndex':_0x3350a0}),this['_aiChatBalloon']['setState']('rejected');}),this['listenTo'](this['_aiChatBalloon'],'showNext',()=>{const {replyId:_0xb5ab92,partIndex:_0x194cc0}=this['_currentPreviewedChangeGroup'],_0x10290a=this['_getPresentableSiblingContentPartIndex'](_0xb5ab92,_0x194cc0,'next');null!==_0x10290a&&this['_openBalloonFor'](_0xb5ab92,_0x10290a);}),this['listenTo'](this['_aiChatBalloon'],'showPrevious',()=>{const {replyId:_0x5db44b,partIndex:_0xa4562b}=this['_currentPreviewedChangeGroup'],_0x1c9a0f=this['_getPresentableSiblingContentPartIndex'](_0x5db44b,_0xa4562b,'previous');null!==_0x1c9a0f&&this['_openBalloonFor'](_0x5db44b,_0x1c9a0f);}),this['listenTo'](this['_aiChatBalloon'],'dialogClosed',(_0x405bb9,{id:_0x4185b4})=>{if('aiChatBalloon'!==_0x4185b4)return;const {replyId:_0x51bbca,partIndex:_0x1b3473}=this['_currentPreviewedChangeGroup'];this['_currentPreviewedChangeGroup']=null,this['_aiChatUi']['setFeedItemAIReplySuggestionPartActive']({'id':_0x51bbca,'index':_0x1b3473,'isActive':!0x1});}));}async['afterInit'](){this['context']instanceof ckeditor5['Editor']?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x2a887b,_0x54b5f5)=>{_0x54b5f5['on']('ready',()=>{this['_integrateEditor'](_0x54b5f5);});});const _0x412d9a=this['context']['config']['get']('ai.chat.initialConversation');let _0x39019c=_0x412d9a;if('lastCreated'!=_0x412d9a||(_0x39019c=await this['_getLastCreatedConversationId'](),_0x39019c))return'new'==_0x39019c?this['_startConversationSafely']():this['loadConversation'](_0x39019c);}async['destroy'](){return await this['_stopLastInteraction'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}['_insertSuggestion'](_0x1d36f3){const _0x8cbfe7=getEditorFromContext(this['context']);if(!_0x8cbfe7['plugins']['has']('TrackChanges'))throw new ckeditor5['CKEditorError']('ai-no-track-changes',null);const _0x48e27b=this['context']['plugins']['get']('DocumentCompare'),{reply:_0xe8a36b,interaction:_0x56ddc4}=this['getInteractionAndReplyById'](_0x1d36f3['replyId']),_0x479f27=this['_getDocumentRangeForReplyChanges'](_0x1d36f3['replyId'],_0x1d36f3['partIndex']),_0x506711=void 0x0!==_0x1d36f3['partIndex']?[_0xe8a36b['changeGroups'][_0x1d36f3['partIndex']]]:_0xe8a36b['changeGroups']['filter'](_0x2a043b=>'pending'==_0x2a043b['state']),_0x292caa=_0x506711['map'](_0x351c3b=>_0xe8a36b['changeGroups']['indexOf'](_0x351c3b));if(!_0x479f27||'$graveyard'==_0x479f27['range']['root']['rootName'])return void _0x292caa['forEach'](_0x2b7d76=>_0xe8a36b['setChangeGroupState'](_0x2b7d76,'outdated'));_0x292caa['forEach'](_0xc57cef=>_0xe8a36b['setChangeGroupState'](_0xc57cef,'accepted'));const _0x45c454=getOperationsFromReply({'editor':_0x8cbfe7,'reply':_0xe8a36b,'interaction':_0x56ddc4,'groups':_0x506711,'transform':!0x0,'documentCompare':_0x48e27b,'documentCompareOptions':{'anchor':'main','markDeletions':!0x0}});let _0x34e3bf;_0x479f27&&this['_scrollToSuggestionRange'](_0x479f27['range']),_0x8cbfe7['model']['change'](_0x38dfa2=>{_0x34e3bf=_0x38dfa2['batch'],_0x8cbfe7['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x45c454),this['_aiEditing']['hideFakeVisualSelection']('ai-chat-controller-mouse-over');}),this['_batchToChanges']['set'](_0x34e3bf,{'interactionId':_0x56ddc4['id'],'replyId':_0xe8a36b['id'],'indexes':_0x292caa['slice']()}),this['_updateRatings'](_0xe8a36b);}['_applySuggestion'](_0x398a03){const _0x41a5b4=getEditorFromContext(this['context']),_0x317706=this['context']['plugins']['get'](DocumentCompare),{reply:_0x256076,interaction:_0x5b388d}=this['getInteractionAndReplyById'](_0x398a03['replyId']),_0x305b28=this['_getDocumentRangeForReplyChanges'](_0x398a03['replyId'],_0x398a03['partIndex']),_0x1747c9=void 0x0!==_0x398a03['partIndex']?[_0x256076['changeGroups'][_0x398a03['partIndex']]]:_0x256076['changeGroups']['filter'](_0x150d6d=>'pending'==_0x150d6d['state']),_0x38f075=_0x1747c9['map'](_0x541230=>_0x256076['changeGroups']['indexOf'](_0x541230));if(!_0x305b28||'$graveyard'==_0x305b28['range']['root']['rootName'])return void _0x38f075['forEach'](_0x14af16=>_0x256076['setChangeGroupState'](_0x14af16,'outdated'));_0x38f075['forEach'](_0x4cf60c=>_0x256076['setChangeGroupState'](_0x4cf60c,'accepted'));const _0x2ffea0=getOperationsFromReply({'editor':_0x41a5b4,'reply':_0x256076,'interaction':_0x5b388d,'groups':_0x1747c9,'transform':!0x0,'documentCompare':_0x317706,'documentCompareOptions':{'anchor':'main','markDeletions':!0x1}});let _0x2ad415;_0x305b28&&this['_scrollToSuggestionRange'](_0x305b28['range']),_0x41a5b4['model']['change'](_0xb60a00=>{_0x2ad415=_0xb60a00['batch'];for(const _0x1d5e49 of _0x2ffea0)_0x1d5e49['baseVersion']=_0x41a5b4['model']['document']['version'],fixMarkerOperationOldRange(_0x41a5b4,_0x1d5e49),_0xb60a00['batch']['addOperation'](_0x1d5e49),_0x41a5b4['model']['applyOperation'](_0x1d5e49);}),this['_batchToChanges']['set'](_0x2ad415,{'interactionId':_0x5b388d['id'],'replyId':_0x256076['id'],'indexes':_0x38f075['slice']()}),this['_updateRatings'](_0x256076);}['_rejectSuggestion'](_0x1d6dda){const {reply:_0x58ce0b}=this['getInteractionAndReplyById'](_0x1d6dda['replyId']);_0x58ce0b['setChangeGroupState'](_0x1d6dda['partIndex'],'rejected');}['_openBalloonFor'](_0x2a38aa,_0x32b0f5){if(!this['_aiChatBalloon'])return;const {reply:_0x293b70}=this['getInteractionAndReplyById'](_0x2a38aa),_0x4a19a0=_0x293b70['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff']});let _0x306dca,_0x189dcb;if(void 0x0!==_0x32b0f5?(_0x189dcb=_0x4a19a0['find'](_0x2de1dc=>_0x2de1dc['index']==_0x32b0f5),_0x306dca=_0x189dcb?.['index']):(_0x189dcb=_0x4a19a0[0x0],_0x306dca=_0x189dcb['index']),this['_currentPreviewedChangeGroup']?.['replyId']==_0x2a38aa&&this['_currentPreviewedChangeGroup']?.['partIndex']==_0x306dca)return;const _0x288b6b=this['_getUserPresentableContentPartDocumentRange'](_0x2a38aa,_0x293b70,_0x189dcb);if(!_0x288b6b)return void this['_aiChatBalloon']['close']();this['_currentPreviewedChangeGroup']={'replyId':_0x2a38aa,'partIndex':_0x306dca},this['_scrollToSuggestionRange'](_0x288b6b,!0x0);const _0x4992a0=this['_getPresentableSiblingContentPartIndex'](_0x2a38aa,_0x306dca,'next');this['_aiChatBalloon']['updateContent']({'part':_0x189dcb,'renderingStrategy':'static'}),this['_aiChatBalloon']['open']({'index':_0x306dca,'title':getTranslation$i(this['context']['locale'],'AI_BALLOON_HEADER_TITLE',(_0x306dca+0x1)['toString']()),'showRotator':null!==_0x4992a0,'ranges':[_0x288b6b],'areActionsDisabled':_0x293b70['areActionsDisabled']}),this['_aiChatBalloon']['setState']('pending'),this['_aiChatUi']['scrollFeedToSuggestion'](_0x2a38aa,_0x306dca),this['_aiChatUi']['setFeedItemAIReplySuggestionPartActive']({'id':_0x2a38aa,'index':_0x306dca,'isActive':!0x0});}['_getPresentableSiblingContentPartIndex'](_0x42f201,_0x4b2cee,_0x2a3022){const {reply:_0x505b19}=this['getInteractionAndReplyById'](_0x42f201),_0x18bdd1=_0x505b19['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff']});if(0x1==_0x18bdd1['length'])return null;const _0x3711a7=_0x18bdd1['findIndex'](_0x58f2d5=>_0x58f2d5['index']==_0x4b2cee),_0x488bb9='next'==_0x2a3022?0x1:-0x1;let _0x34157a=_0x18bdd1['at']((_0x3711a7+_0x488bb9)%_0x18bdd1['length'])['index'],_0x2166cf=_0x18bdd1[_0x34157a];for(;!this['_getUserPresentableContentPartDocumentRange'](_0x42f201,_0x505b19,_0x2166cf);){if(_0x34157a=_0x18bdd1['at']((_0x34157a+_0x488bb9)%_0x18bdd1['length'])['index'],_0x34157a===_0x3711a7)return null;_0x2166cf=_0x18bdd1[_0x34157a];}return _0x34157a;}['_getUserPresentableContentPartDocumentRange'](_0x1c6860,_0x408ec0,_0xc6b7fc){const _0x4fb4e8=_0x408ec0['changeGroups'];if(!_0xc6b7fc['hasChanges'])return null;const _0x250b3b=_0x4fb4e8['find'](_0x1407ef=>_0x1407ef['index']==_0xc6b7fc['index']);if('pending'!==_0x250b3b?.['state'])return null;const _0x380b4b=this['_getDocumentRangeForReplyChanges'](_0x1c6860,_0xc6b7fc['index']);if(!_0x380b4b)return null;const {range:_0x3ee5e7,currentIndex:_0x4ca24e}=_0x380b4b;return'$graveyard'==_0x3ee5e7['root']['rootName']?(_0x408ec0['setChangeGroupState'](_0x4ca24e,'outdated'),null):_0x380b4b['range'];}['_getDocumentRangeForReplyChanges'](_0x19ce14,_0x50bb27){const _0x188f50=getEditorFromContext(this['context']),{reply:_0x24d582,interaction:_0x39aaf3}=this['getInteractionAndReplyById'](_0x19ce14),_0xddb028=_0x24d582['changeGroups']['filter'](_0x523acc=>'pending'==_0x523acc['state']),_0x78a679=_0xddb028['map'](_0x34c45d=>_0x24d582['changeGroups']['indexOf'](_0x34c45d));void 0x0===_0x50bb27&&(_0x50bb27=_0x78a679[0x0]);const _0x479f9b=_0x78a679['indexOf'](_0x50bb27);if(-0x1==_0x479f9b)return null;const _0x18ac65=_0xddb028[_0x479f9b],_0x2800d4=new Document([]),_0x14a241=new Document([]);for(const _0x587d03 of _0x18ac65['changes'])if('removed'!=_0x587d03['type']&&_0x14a241['children']['push'](_0x587d03['node']['cloneNode'](!0x0)),'new'!=_0x587d03['type']){const _0x48f6d6=_0x2571e5(_0xcf0ca2=>getAttribute(_0xcf0ca2,'data-id')==_0x587d03['id'],_0x24d582['documentContextContent'],!0x0);_0x2800d4['children']['push'](_0x48f6d6['cloneNode'](!0x0));}if(0x0==_0x2800d4['children']['length']){if(_0x18ac65['changes'][0x0]['anchorId']){const _0x5146fd=findByAttribute('data-id',_0x18ac65['changes'][0x0]['anchorId'],_0x24d582['documentContextContent']);_0x2800d4['children']['unshift'](_0x5146fd['cloneNode'](!0x0)),_0x14a241['children']['unshift'](_0x5146fd['cloneNode'](!0x0)),_0x5146fd['nextSibling']&&(_0x2800d4['children']['push'](_0x5146fd['nextSibling']['cloneNode'](!0x0)),_0x14a241['children']['push'](_0x5146fd['nextSibling']['cloneNode'](!0x0)));}else{const _0x6e91aa=_0x24d582['documentContextContent']['children'][0x0];if(!_0x6e91aa)return null;_0x2800d4['children']['push'](_0x6e91aa['cloneNode'](!0x0)),_0x14a241['children']['push'](_0x6e91aa['cloneNode'](!0x0));}}const _0x2b201d=_0x39aaf3['getDocumentContext'](),_0xc00b87=_0x188f50['data']['parse'](_0x2b201d['content']),_0x43c3ac=_0x19ea5e(_0x2800d4),_0x48d774=_0x188f50['data']['parse'](_0x43c3ac),_0x2d37a7=_0x188f50['data']['parse'](_0x43c3ac),_0x5e51c8=_0x188f50['model']['createPositionAt'](_0x48d774,0x0),_0x3d4965=_0x19ea5e(_0x14a241),_0x5eb978={'anchor':_0x5e51c8,'markDeletions':!0x1},_0x5301b8=_0x188f50['plugins']['get'](DocumentCompare)['getDiff'](_0x43c3ac,_0x3d4965,_0x5eb978)['getOperations']();if(!_0x5301b8['length'])return null;_0x188f50['model']['change'](_0x40249d=>{for(const _0x25d560 of _0x5301b8)if('remove'==_0x25d560['type']){const _0x5ef1c1=_0x25d560['sourcePosition'],_0x2dd93b=_0x25d560['howMany'],_0x5d78c1=new ckeditor5['_DetachOperation'](_0x5ef1c1,_0x2dd93b);_0x40249d['batch']['addOperation'](_0x5d78c1),_0x188f50['model']['applyOperation'](_0x5d78c1);}else'marker'!==_0x25d560['type']&&(_0x25d560['baseVersion']=null,_0x25d560['isDocumentOperation']=!0x1,_0x40249d['batch']['addOperation'](_0x25d560),_0x188f50['model']['applyOperation'](_0x25d560));});const _0x16cdb5=getMinimalSelection(_0x188f50,_0x5301b8,_0x48d774);expandSelectionWithContext(_0x188f50['model'],_0x16cdb5);const _0x14287d=_0x16cdb5['getFirstRange']()['start']['path']['slice'](),_0x1f1692=_0x16cdb5['getFirstRange']()['end']['path']['slice'](),_0x4e5475=[];let _0x2cc8b6=_0x48d774,_0x3aad19=_0x2d37a7;for(let _0x1f6a74=0x0;_0x1f6a74<_0x1f1692['length'];_0x1f6a74++){const _0x3c6324=_0x2cc8b6['maxOffset']-_0x1f1692[_0x1f6a74];_0x4e5475[_0x1f6a74]=_0x3aad19['maxOffset']-_0x3c6324,_0x2cc8b6=_0x2cc8b6['getChildAtOffset'](_0x1f1692[_0x1f6a74]),_0x3aad19=_0x3aad19['getChildAtOffset'](_0x4e5475[_0x1f6a74]);}const _0x25d96e=_0x188f50['model']['createRange'](_0x188f50['model']['createPositionFromPath'](_0x2d37a7,_0x14287d),_0x188f50['model']['createPositionFromPath'](_0x2d37a7,_0x4e5475)),_0x3c4a4b=_0x2d37a7['getChild'](0x0)['getAttribute'](_0x15f9cf),_0xedbefd=Array['from'](_0xc00b87['getChildren']())['find'](_0x29af94=>_0x29af94['getAttribute'](_0x15f9cf)==_0x3c4a4b)['getPath'](),_0x94155=_0x25d96e['start']['path']['slice'](),_0x461767=_0x25d96e['end']['path']['slice']();_0x94155[0x0]=_0xedbefd[0x0]+_0x94155[0x0],_0x461767[0x0]=_0xedbefd[0x0]+_0x461767[0x0];let _0x237ca4=_0x188f50['model']['createRange'](_0x188f50['model']['createPositionFromPath'](_0x188f50['model']['document']['getRoot'](),_0x94155),_0x188f50['model']['createPositionFromPath'](_0x188f50['model']['document']['getRoot'](),_0x461767));const _0x4b6658=_0x188f50['model']['document']['history']['getOperations'](_0x2b201d['version']);for(const _0x2f023a of _0x4b6658)_0x237ca4=ckeditor5['ModelRange']['_createFromRanges'](_0x237ca4['getTransformedByOperation'](_0x2f023a));return{'range':_0x237ca4,'currentIndex':_0x50bb27};}['_integrateEditor'](_0x5d7261){if(!_0x5d7261['plugins']['has']('Undo'))return;const _0x470f2a=_0x5d7261['commands']['get']('undo'),_0x724351=_0x5d7261['commands']['get']('redo');this['listenTo'](_0x470f2a,'revert',(_0xb55bbb,_0x5a6319,_0x37232e)=>{const _0x246f39=this['_batchToChanges']['get'](_0x5a6319);if(!_0x246f39)return;const _0x1f4d4c=this['activeConversation']['getInteraction'](_0x246f39['interactionId'])['getReply'](_0x246f39['replyId']);_0x246f39['indexes']['forEach'](_0xf2db1=>_0x1f4d4c['setChangeGroupState'](_0xf2db1,'pending')),this['_batchToChanges']['delete'](_0x5a6319),this['_batchToChanges']['set'](_0x37232e,_0x246f39);}),this['listenTo'](_0x724351,'revert',(_0x2282be,_0x52c47c,_0x2f6752)=>{const _0x3d4958=this['_batchToChanges']['get'](_0x52c47c);if(!_0x3d4958)return;const _0x33e41d=this['activeConversation']['getInteraction'](_0x3d4958['interactionId'])['getReply'](_0x3d4958['replyId']);_0x3d4958['indexes']['forEach'](_0x42544d=>_0x33e41d['setChangeGroupState'](_0x42544d,'accepted')),this['_batchToChanges']['delete'](_0x52c47c),this['_batchToChanges']['set'](_0x2f6752,_0x3d4958);});}async['loadConversation'](_0x2c36d9){this['context']['plugins']['has']('AIChatBalloon')&&this['context']['plugins']['get']('AIChatBalloon')['close'](),(this['context']['plugins']['get'](_0x149a9c)['view']['activateTab']('chat'),this['_aiChatUi']['setFeedItemRenderingStrategy']('static'),this['_aiChatUi']['toggleLoadingSkeleton'](!0x0),await this['_stopLastInteraction']());try{await this['_aiConnector']['fetchConversation'](_0x2c36d9)['getConversation'](),await this['_startConversationSafely'](_0x2c36d9),this['updateConversationTitle']('\x20'),await this['activeConversation']['load'](_0x2c36d9,this['_aiEditing']['sessionId']),this['activeConversation']['isCurrentDocumentInConversation']()&&this['addCurrentDocumentToChatContext']();}catch(_0x6f8aa2){this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION'),'id':_0x2c36d9}),this['_logError'](new ckeditor5['CKEditorError']('ai-chat-conversation-not-found',this,{'error':_0x6f8aa2}));}finally{this['_aiChatUi']['startAutoScroll'](),this['_aiChatUi']['setFeedItemRenderingStrategy']('streaming'),this['_aiChatUi']['toggleLoadingSkeleton'](!0x1);}}async['_getLastCreatedConversationId'](){const _0x1cb0a=this['_aiConnector']['fetchConversations'](this['getGroupId'](),{'limit':0x1,'sortBy':'createdAt'});try{const _0x2e46ff=await _0x1cb0a['getConversations']();return _0x2e46ff['length']?_0x2e46ff[0x0]['id']:'new';}catch(_0x3adf79){return this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION'),'id':ckeditor5['uid']()}),this['_logError'](new ckeditor5['CKEditorError']('ai-chat-conversation-init-failed',this,{'error':_0x3adf79})),this['_aiChatUi']['toggleLoadingSkeleton'](!0x1),this['_aiChatUi']['disableControls'](),null;}}['handleRemovedConversation'](_0x48d5bd){this['activeConversation']['id']===_0x48d5bd&&this['_startConversationSafely']();}['addCurrentDocumentToChatContext'](){this['activeConversation']?.['addCurrentDocumentToContext'](getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'));}async['addSelectionToChatContext'](){const _0x2c124c=this['_aiEditing']['getSelectionText']();this['activeConversation']?.['addSelectionToContext'](_0x2c124c),this['addCurrentDocumentToChatContext']();}['removeSelectionFromChatContext'](){this['activeConversation']?.['removeSelectionFromContext']();}['focusPromptInput'](){this['_aiChatUi']['focusPromptInput']();}async['startConversation'](){await this['_startConversationSafely']();}async['sendMessage']({message:_0x9f02ec,attributes:_0x18662c}){await this['_handleUIUserMessage']({'userMessage':_0x9f02ec,'attributes':_0x18662c});}['getGroupId'](){const _0x56ef09=this['context']['config']['get']('collaboration.channelId');if(!_0x56ef09)throw new ckeditor5['CKEditorError']('ai-chat-missing-channel-id',this);return _0x56ef09;}async['_startConversationSafely'](_0x244f4d){try{this['_aiChatUi']['enableControls'](),await this['_handleStartConversation'](_0x244f4d);}catch(_0x1bb2a4){this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_UNABLE_TO_START_CONVERSATION'),'id':_0x244f4d||ckeditor5['uid']()}),console['error'](_0x1bb2a4),this['activeConversation']=void 0x0,this['_aiChatUi']['disableControls']();}}async['_handleStartConversation'](_0x4e587d){let _0x2fdffc;this['context']['plugins']['has']('AIChatBalloon')&&this['context']['plugins']['get']('AIChatBalloon')['close'](),_0x4e587d||!this['activeConversation']?_0x2fdffc=this['context']['config']['get']('ai.models.defaultModelId'):this['_aiChatUi']['isModelAvailable']&&(_0x2fdffc=this['activeConversation']['selectedModel']['id']),await this['_stopLastInteraction']();const _0x337ce0=this['getGroupId'](),_0x274495=_0x4e587d||ckeditor5['uid']();this['activeConversation']=new AIChatConversation({'connector':this['_aiConnector'],'chatModels':this['_aiChatModels'],'selectedModelId':_0x2fdffc,'conversationId':_0x274495,'group':_0x337ce0,'getEditor':()=>getEditorFromContext(this['context']),'isFromHistory':!!_0x4e587d}),this['activeConversation']['delegate']('toolDataReceived','interactionStarted')['to'](this),this['activeConversation']['on']('conversationInitialized',(_0x4f87d6,_0x351619)=>{this['_aiChatUi']['createConversation'](_0x351619),this['_aiChatUi']['resetMessageInput'](),this['_aiChatUi']['clearPendingContextUI'](),this['_aiChatUi']['clearConversationContextUI'](),_0x4e587d||(this['_aiChatUi']['resetConversationTitle'](),this['addCurrentDocumentToChatContext']());}),this['activeConversation']['on']('uploadProgressChanged',(_0x3a820d,_0x2db0ba)=>{this['_aiChatUi']['setIsUploadInProgress'](_0x2db0ba['isUploadInProgress']);}),this['activeConversation']['on']('interactionCreated',(_0x41d30f,_0x1dba20)=>{this['_aiChatUi']['addFeedItemUserMessage'](_0x1dba20);}),this['activeConversation']['on']('webSearchStarted',()=>{const _0x50b9aa=this['_aiChatUi']['prepareLoadingMessage']({'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});this['_aiChatUi']['setLoadingMessage'](_0x50b9aa);}),this['activeConversation']['on']('reasoningStarted',()=>{const _0xafe4f1=this['_aiChatUi']['prepareLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});this['_aiChatUi']['setLoadingMessage'](_0xafe4f1);}),this['activeConversation']['on']('webSearchFinished',(_0x3629c6,_0x3bca0c)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0x3bca0c,{'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this['activeConversation']['on']('reasoningFinished',(_0x107c13,_0x513ff5)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0x513ff5,{'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this['activeConversation']['on']('interactionStarted',()=>{this['_aiChatUi']['startInteraction']();}),this['activeConversation']['on']('interactionFinished',async()=>{await this['_aiChatUi']['finishInteraction']();}),this['activeConversation']['on']('interactionDestroyed',(_0x49d416,_0x42ac8c)=>{this['_aiChatUi']['removeFeedInteraction'](_0x42ac8c['id']);}),this['activeConversation']['on']('setConversationTitle',(_0x25051d,_0x5036ac,_0x311a66)=>{this['updateConversationTitle'](_0x5036ac,_0x311a66);}),this['activeConversation']['on']('replyCreated',(_0x25cb0a,_0x41cdcb)=>{'text'===_0x41cdcb['type']?this['_aiChatUi']['addFeedItemAIReply'](_0x41cdcb):this['_aiChatUi']['addFeedItemAISuggestion'](_0x41cdcb);}),this['activeConversation']['on']('replyContentUpdated',async(_0x3d78ff,_0x369a5d)=>{await this['_updateReplyContent']({'reply':_0x369a5d});}),this['activeConversation']['on']('replyChangeGroupStateUpdated',(_0x1a924a,{reply:_0xeb582f,index:_0x5925f7,state:_0x3f4225})=>{this['_aiChatUi']['updateFeedItemAIReplySuggestionPartState']({'id':_0xeb582f['id'],'index':_0x5925f7,'state':_0x3f4225}),this['_currentPreviewedChangeGroup']?.['replyId']['includes'](_0xeb582f['id'])&&this['_currentPreviewedChangeGroup']?.['partIndex']==_0x5925f7&&this['_aiChatBalloon']?.['setState'](_0x3f4225);}),this['activeConversation']['on']('contextItemAdded',(_0x326c7f,_0x4d58e8)=>{if(this['_aiChatUi']['addContextItem'](_0x4d58e8['contextItem'],_0x4d58e8['isLoading']),'selection'===_0x4d58e8['contextItem']['type']){const _0x35a68b=[...getEditorFromContext(this['context'])['model']['document']['selection']['getRanges']()];this['_aiEditing']['showFakeVisualSelection'](_0x35a68b,'ai-conversation-'+this['activeConversation']?.['id']);}}),this['activeConversation']['on']('contextItemRemoved',(_0x50767e,_0x1aff5d)=>{this['_aiChatUi']['removeContextItem'](_0x1aff5d['uiId']),'current-document'==_0x1aff5d['uiId']&&this['removeSelectionFromChatContext'](),'selection'===_0x1aff5d['type']&&this['_aiEditing']['hideFakeVisualSelection']('ai-conversation-'+this['activeConversation']?.['id']);}),this['activeConversation']['on']('contextItemLoadingEnded',(_0xd5c15d,_0x11ab1d)=>{this['_aiChatUi']['setContextItemLoading'](_0x11ab1d['contextItem']['uiId'],_0x11ab1d['isLoading']);}),this['activeConversation']['on']('contextSent',(_0x3bd672,_0x19ca50)=>{this['_aiChatUi']['setConversationContext'](_0x19ca50['contextItems']);}),this['activeConversation']['on']('addContextOptionsChanged',(_0x19b34b,_0x4903ad)=>{this['_aiChatUi']['setAddContextOptions'](_0x4903ad['options']);}),this['activeConversation']['on']('sourceResourcesLoaded',(_0x432c97,_0x12a701)=>{this['_aiChatUi']['populateSourceResourceBalloon'](_0x12a701['sourceId'],_0x12a701['source'],_0x12a701['resources'],_0x12a701['uid']);}),this['activeConversation']['on']('resourceStateChanged',(_0x422ee6,_0x494ccb)=>{this['_aiChatUi']['updateResourceState'](_0x494ccb['sourceId'],_0x494ccb['resourceId'],_0x494ccb['isInContext']);}),this['activeConversation']['on']('capabilitiesUpdated',(_0x476e9f,_0x3927ed)=>{this['_aiChatUi']['updateCapabilities'](_0x3927ed);}),this['activeConversation']['on']('modelSelected',async(_0x23587f,_0x54f995)=>{const _0x52e50e=(await this['_aiChatModels']['getAll']())['find'](_0x3c2eef=>_0x3c2eef['id']===_0x54f995['selectedModel']?.['id'])||null;this['_aiChatUi']['setSelectedModel'](_0x52e50e,_0x54f995['isDisabled']);}),this['activeConversation']['on']('error',(_0x2453f2,{error:_0x17d234,interactionId:_0x2019ce,fileName:_0x14099d,url:_0x4e32ad,sourceId:_0x46a057,sourceLabel:_0x339c7f})=>{const _0x3971dd=_0x2019ce?_0x2019ce+':'+ckeditor5['uid']():ckeditor5['uid']();_0x17d234['message']['startsWith']('ai-request-aborted')?this['_aiChatUi']['addFeedItemStaticMessage']({'staticMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_ABORTED_MESSAGE'),'id':_0x3971dd}):_0x17d234['message']['startsWith']('ai-chat-conversation-init-failed')||_0x17d234['message']['startsWith']('ai-chat-conversation-start-failed')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_UNABLE_TO_START_CONVERSATION'),'id':_0x3971dd}),this['_logError'](_0x17d234)):_0x17d234['message']['startsWith']('ai-chat-file-upload-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE',_0x14099d),'id':_0x3971dd}):_0x17d234['message']['startsWith']('ai-chat-url-upload-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL',_0x4e32ad),'id':_0x3971dd}):_0x17d234['message']['startsWith']('ai-chat-context-invalid-data')?this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_INVALID_DATA'),'id':_0x3971dd}):_0x17d234['message']['startsWith']('ai-chat-context-unsupported-type')?this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_UNSUPPORTED_TYPE'),'id':_0x3971dd}):_0x17d234['message']['startsWith']('ai-chat-source-resources-load-failed')?(_0x46a057&&this['_aiChatUi']['closeSourceResourceBalloon'](_0x46a057),this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES',_0x339c7f||'source'),'id':_0x3971dd}),this['_logError'](_0x17d234)):_0x17d234['message']['startsWith']('ai-chat-resource-load-failed')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_RESOURCE_LOAD_FAILED'),'id':_0x3971dd}),this['_logError'](_0x17d234)):_0x17d234['message']['startsWith']('ai-chat-invalid-request')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_INVALID_REQUEST'),'id':_0x3971dd}),this['_logError'](_0x17d234)):_0x17d234['message']['startsWith']('ai-chat-context-unsupported-file-type')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE'),'id':_0x3971dd}),this['_logError'](_0x17d234)):_0x17d234['message']['startsWith']('ai-chat-context-file-too-large')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_FILE_TOO_LARGE'),'id':_0x3971dd}),this['_logError'](_0x17d234)):_0x17d234['message']['startsWith']('ai-chat-context-file-too-many-pages')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES'),'id':_0x3971dd}),this['_logError'](_0x17d234)):_0x17d234['message']['startsWith']('ai-chat-context-form-data-size-limits-exceeded')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED'),'id':_0x3971dd}),this['_logError'](_0x17d234)):(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_GENERIC_ERROR'),'id':_0x3971dd}),this['_logError'](_0x17d234));}),await this['activeConversation']['init'](this['context']['config']['get']('ai.chat.context')),_0x4e587d||await this['activeConversation']['start']();}async['_handleUIUserMessage']({userMessage:_0x1f2c4e,attributes:_0xa0cab2}){if(!this['activeConversation'])throw new ckeditor5['CKEditorError']('ai-chat-controller-no-active-conversation');if(this['activeConversation']['isCurrentDocumentInContext']()){const _0x522763=await this['_aiEditing']['getDocumentData']();await this['activeConversation']['updateCurrentDocumentInContext'](_0x522763);}this['activeConversation']['id']&&this['activeConversation']['isStarted']&&await this['activeConversation']['handleUserInteraction']({'userMessage':_0x1f2c4e,'attributes':_0xa0cab2});}['_showConversationHistory'](){console['log']('Showing\x20conversation\x20history...');}['_setIsMaximized'](_0x5b9197){this['_aiChatUi']['setIsMaximized'](_0x5b9197);}['_logError'](_0x45aaa2){ckeditor5['logError'](_0x45aaa2['message']);}['_removeFromContext'](_0x3ac969){this['activeConversation']?.['removeFromContext'](_0x3ac969);}['_toggleWebSearch'](){this['activeConversation']?.['toggleWebSearch']();}['_toggleReasoning'](){this['activeConversation']?.['toggleReasoning']();}['getInteractionAndReplyById'](_0x123dce){const [_0x3ba122,_0x1e1ec6]=_0x123dce['split'](':'),_0x206a46=this['activeConversation']['getInteraction'](_0x3ba122),_0x21ac58=_0x206a46['getReply'](_0x1e1ec6);return{'interaction':_0x206a46,'reply':_0x21ac58};}['_scrollToSuggestionRange'](_0x599a3f,_0x49bb75=!0x1){const _0x33f084=getEditorFromContext(this['context']),_0x1aaa27={'target':_0x33f084['editing']['view']['domConverter']['viewRangeToDom'](_0x33f084['editing']['mapper']['toViewRange'](_0x599a3f)),'viewportOffset':{'top':0x96,'left':0x0,'bottom':0x32,'right':0x0},'ancestorOffset':0x14,'alignToTop':_0x49bb75};_0x49bb75&&(_0x1aaa27['alignToTop']=!0x0),ckeditor5['scrollViewportToShowTarget'](_0x1aaa27);}['updateConversationTitle'](_0x2f5fe1,_0x4c785c=!0x1){this['_aiChatUi']['setConversationTitle'](_0x2f5fe1||getTranslation$i(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),_0x4c785c);}async['_updateReplyContent']({reply:_0x1eeaa8,renderingStrategy:_0x4a9c84}){const {id:_0x1392c3,interactionId:_0xb7a22e,isDone:_0x217853,type:_0x42808a,parsedContent:_0x4d1e1f}=_0x1eeaa8,_0xc988ca=_0xb7a22e+':'+_0x1392c3;if('modification'===_0x42808a){const _0x245d17=_0x1eeaa8['getContentParts']({'showDiff':this['_aiChatUi']['showDiff']});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0xc988ca,'parts':_0x245d17,'renderingStrategy':_0x4a9c84,'isDone':_0x217853});}else'text'===_0x42808a&&await this['_aiChatUi']['updateFeedItemAIReplyContent']({'id':_0xc988ca,'parsedContent':_0x4d1e1f,'renderingStrategy':_0x4a9c84,'isDone':_0x217853});_0x217853&&_0x1eeaa8['sources']['length']>0x0&&this['_aiChatUi']['updateFeedItemAIReplySources'](_0xc988ca,_0x1eeaa8['sources']);}async['_stopLastInteraction'](){const _0x41c153=this['activeConversation']?.['lastInteraction'];_0x41c153&&(_0x41c153['stop'](),this['_aiChatUi']['stopInteraction'](_0x41c153));}async['_flushLastInteractionUI'](){const _0x4c00f1=this['activeConversation']?.['lastInteraction'];if(_0x4c00f1){for await(const _0x3bc988 of _0x4c00f1['replies'])await this['_updateReplyContent']({'reply':_0x3bc988,'renderingStrategy':'static'});}}['_updateRatings'](_0x2df136){const _0x5e3b23={'positiveCount':_0x2df136['changeGroups']['filter'](_0x358926=>'accepted'===_0x358926['state'])['length'],'totalCount':_0x2df136['changeGroups']['length'],'modificationId':_0x2df136['id']},_0x391295=this['activeConversation']['getInteraction'](_0x2df136['interactionId'])['messageId'];_0x391295&&this['_aiConnector']['upsertAIChatRating'](this['activeConversation']['id'],_0x391295,_0x5e3b23);}['_registerToolDataCallback'](_0x39ff97){let _0xc45c70=null,_0x9143a3=null;this['on']('toolDataReceived',(_0x422ea6,_0xef6dc0,_0x4ab724)=>{_0x4ab724['id']!==_0xc45c70&&(_0xc45c70=_0x4ab724['id'],_0x9143a3=this['_getAIChatInteractionAPI'](_0x4ab724)),_0x39ff97(_0xef6dc0,_0x9143a3);});}['_getAIChatInteractionAPI'](_0xcafa2b){const _0x154f25=this['_aiChatUi'],_0x496996=()=>{_0xcafa2b['resetWebSearchState'](),_0xcafa2b['resetReasoningState'](),_0x154f25['clearLoadingMessage']();},_0x38bd72=()=>{_0xcafa2b['currentReply']&&(_0xcafa2b['currentReply']['done'](),_0xcafa2b['currentReply']=void 0x0);};return{'insertTextReply':(_0x1786b1,_0x217333)=>{_0x38bd72(),_0x496996();const _0x401214=_0xcafa2b['currentReply']=_0xcafa2b['createReply']({'type':'text','interactionId':_0xcafa2b['id'],'content':_0x1786b1,'id':_0x217333||ckeditor5['uid']()});return _0x38bd72(),_0x401214;},'insertCustomElement':async(_0x1c66af,_0x14f642)=>(_0x38bd72(),_0x496996(),_0x154f25['addFeedItemCustomElement'](_0x1c66af,_0x14f642||ckeditor5['uid']())),'setLoadingMessage':_0xc3a4a6=>{_0x154f25['setLoadingMessage'](_0xc3a4a6);},'clearLoadingMessage':()=>{_0x154f25['clearLoadingMessage']();}};}}const _0x1e34d6='ai-selection';class AIEditing extends ckeditor5['ContextPlugin']{constructor(_0xca0816){super(_0xca0816),this['context']['config']['define']('ai.models.showModelSelector',!0x0);}['_outputDataProcessor'];['_displayedFakeSelectionId']=null;['_displayedFakeSelectionLocked']=!0x1;['_sessionId'];static get['pluginName'](){return'AIEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['sessionId'](){if(!this['_sessionId']){const _0x32a6c1=getEditorFromContext(this['context']),_0xea6302=_0x32a6c1['plugins']['has']('RealTimeCollaborationClient')&&_0x32a6c1['plugins']['get']('RealTimeCollaborationClient')['sessionId'];this['_sessionId']=_0xea6302||ckeditor5['uid']();}return this['_sessionId'];}async['getDocumentData'](){const _0x1e5db5=getEditorFromContext(this['context']),_0x20244e=_0x1e5db5['model'],_0x2310ef=_0x1e5db5['data']['toView'](_0x20244e['document']['getRoot'](),{'convertAiChatSelectionMarker':!0x0}),_0x206dc9=new ckeditor5['ViewDowncastWriter'](_0x1e5db5['editing']['view']['document']);this['_setDataIdsOnChildren'](_0x2310ef,_0x206dc9);let _0x349e6c=await this['_getDocumentDataStringFromView'](_0x2310ef);const _0x326958=this['_getMarkersInDocumentOrder'](),_0x5c9976=[];for(const _0x20e64f of _0x326958){const _0x18f06c='<'+_0x20e64f['name']+':start></'+_0x20e64f['name']+':start>',_0x478903=_0x349e6c['indexOf'](_0x18f06c);_0x349e6c=_0x349e6c['substring'](0x0,_0x478903)+_0x349e6c['substring'](_0x478903+_0x18f06c['length']);const _0x26c2cd='<'+_0x20e64f['name']+':end></'+_0x20e64f['name']+':end>',_0x5ea063=_0x349e6c['indexOf'](_0x26c2cd);_0x349e6c=_0x349e6c['substring'](0x0,_0x5ea063)+_0x349e6c['substring'](_0x5ea063+_0x26c2cd['length']),_0x5c9976['push']({'markerName':_0x20e64f['name'],'start':_0x478903,'end':_0x5ea063,'htmlFragment':_0x349e6c['substring'](_0x478903,_0x5ea063)});}return{'content':_0x349e6c,'version':_0x1e5db5['model']['document']['version'],'sessionId':this['sessionId'],'selections':_0x5c9976};}async['afterInit'](){this['context']instanceof ckeditor5['Editor']?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x5a3358,_0x288726)=>{_0x288726['on']('ready',()=>{this['_integrateEditor'](_0x288726);});});}['_setOutputDataProcessor'](_0x2b6c31){this['_outputDataProcessor']=_0x2b6c31;}async['_getDocumentDataStringFromView'](_0x14b1dc){let _0x275fff;const _0x151133=getEditorFromContext(this['context']);if(this['_outputDataProcessor']){const _0x194522=_0x151133['data']['processor']['domConverter']['viewToDom'](_0x14b1dc),_0x5c6d6a=await this['_outputDataProcessor'](_0x194522);_0x275fff=_0x151133['data']['processor']['htmlWriter']['getHtml'](_0x5c6d6a);}else _0x275fff=_0x151133['data']['processor']['toData'](_0x14b1dc);return _0x275fff;}['_integrateEditor'](_0x2000bf){_0x2000bf['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x1e34d6,'view':{'classes':['ck-fake-ai-selection','ck-ai-assistant-ui_theme'],'priority':0xc}}),_0x2000bf['conversion']['for']('dataDowncast')['markerToElement']({'model':_0x1e34d6,'view':(_0x207c0c,{writer:_0x3fa577,options:_0x15fbac})=>_0x15fbac['convertAiChatSelectionMarker']?_0x3fa577['createUIElement'](_0x207c0c['markerName']+':'+(_0x207c0c['isOpening']?'start':'end')):null});}['showFakeVisualSelection'](_0x41b2b0,_0xa124fd,_0x36798a=!0x1,_0x3ae722=!0x1){if(this['_displayedFakeSelectionLocked']&&!_0x3ae722)return!0x1;const _0x16d875=getEditorFromContext(this['context'])['model'];return _0x16d875['change'](_0x390579=>{this['_displayedFakeSelectionId']&&this['hideFakeVisualSelection'](this['_displayedFakeSelectionId']),this['_displayedFakeSelectionId']=_0xa124fd,this['_displayedFakeSelectionLocked']=_0x36798a;let _0x2d4cb3=0x0;for(let _0x3c7070 of _0x41b2b0){const _0x2a873e=_0x1e34d6+':'+_0x2d4cb3;if(_0x3c7070['start']['isAtEnd']){const _0x283731=_0x3c7070['start']['getLastMatchingPosition'](({item:_0x53617d})=>!_0x16d875['schema']['isContent'](_0x53617d),{'boundaries':_0x3c7070});_0x3c7070=_0x390579['createRange'](_0x283731,_0x3c7070['end']);}_0x390579['addMarker'](_0x2a873e,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3c7070}),_0x2d4cb3++;}}),window['getSelection']()?.['removeAllRanges'](),!0x0;}['hideFakeVisualSelection'](_0x3740aa){if(this['_displayedFakeSelectionId']!=_0x3740aa)return!0x1;this['_displayedFakeSelectionId']=null,this['_displayedFakeSelectionLocked']=!0x1;const _0x59f159=getEditorFromContext(this['context']),_0x556f47=_0x59f159['model']['markers']['getMarkersGroup'](_0x1e34d6);return _0x59f159['model']['change'](_0x5366e2=>{for(const _0x3bace3 of _0x556f47)_0x5366e2['removeMarker'](_0x3bace3);}),!0x0;}async['modelToDataWithIds'](_0x3b682d){const _0x5d17a7=getEditorFromContext(this['context']),_0x553d85=_0x5d17a7['data']['toView'](_0x3b682d),_0x38ee23=new ckeditor5['ViewDowncastWriter'](_0x5d17a7['editing']['view']['document']);return this['_setDataIdsOnChildren'](_0x553d85,_0x38ee23),this['_getDocumentDataStringFromView'](_0x553d85);}['_setDataIdsOnChildren'](_0x589206,_0x47d509){let _0x1a1887=!0x1;const _0x3a2916=new Set();for(const _0x260bd8 of _0x589206['getChildren']()){const _0x5b4c6f=_0x260bd8['is']('emptyElement')||_0x260bd8['is']('containerElement');if(!_0x260bd8['is']('element'))continue;(this['_setDataIdsOnChildren'](_0x260bd8,_0x47d509)||_0x5b4c6f)&&(_0x47d509['setAttribute']('data-id',this['_nextDataId'](_0x3a2916),_0x260bd8),_0x1a1887=!0x0);}return _0x1a1887;}['_nextDataId'](_0x30e4fb){let _0x153a8f;do{_0x153a8f='';for(let _0x2d1839=0x0;_0x2d1839<0x4;_0x2d1839++)_0x153a8f+=String['fromCharCode'](0x61+Math['floor'](0x1a*Math['random']()));}while(_0x30e4fb['has'](_0x153a8f));return _0x30e4fb['add'](_0x153a8f),_0x153a8f;}['getSelectionText'](){const {model:_0x21ce12}=getEditorFromContext(this['context']),_0x1cf9ed=_0x21ce12['document']['selection'],_0xe14c08=[];for(const _0x45ab86 of _0x1cf9ed['getRanges']())for(const _0x410ae9 of _0x45ab86['getItems']())_0x410ae9['is']('$textProxy')?_0xe14c08['push'](_0x410ae9['data']):_0x410ae9['is']('element')&&_0xe14c08['length']>0x0&&'\x20'!==_0xe14c08[_0xe14c08['length']-0x1]&&_0xe14c08['push']('\x20');return _0xe14c08['length']?'\x22'+_0xe14c08['join']('')['trim']()+'\x22':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL');}['_getMarkersInDocumentOrder'](){const _0x1dec66=getEditorFromContext(this['context'])['model'];return Array['from'](_0x1dec66['markers']['getMarkersGroup'](_0x1e34d6))['sort']((_0x141e2b,_0x1eb855)=>_0x141e2b['getStart']()['isBefore'](_0x1eb855['getStart']())?-0x1:_0x141e2b['getStart']()['isAfter'](_0x1eb855['getStart']())?0x1:0x0);}}const _0x2dcce3=['showChangeInText','insertSuggestion','applySuggestion','rejectSuggestion','mouseOverSuggestion','mouseLeaveSuggestion','toggleSuggestionDisplayMode','like','dislike'],_0x3c46ea=[..._0x2dcce3,'startConversation','resizeTabs','sendUserMessage','abortPromptStream','addDocumentToContext','addFileToContext','addUrlToContext','executeCustomItemCallback','addResourceToContext','removeContextItem','loadSourceResources','toggleWebSearch','toggleReasoning','selectModel'];var _0x2a287f=0xb,_0x3409c5;function morphAttrs(_0x171fba,_0x9bb544){var _0x5ab0c1,_0x3bbaaf,_0x1616c0,_0x2b386e,_0x120122=_0x9bb544['attributes'];if(_0x9bb544['nodeType']!==_0x2a287f&&_0x171fba['nodeType']!==_0x2a287f){for(var _0x3662da=_0x120122['length']-0x1;_0x3662da>=0x0;_0x3662da--)_0x3bbaaf=(_0x5ab0c1=_0x120122[_0x3662da])['name'],_0x1616c0=_0x5ab0c1['namespaceURI'],_0x2b386e=_0x5ab0c1['value'],_0x1616c0?(_0x3bbaaf=_0x5ab0c1['localName']||_0x3bbaaf,_0x171fba['getAttributeNS'](_0x1616c0,_0x3bbaaf)!==_0x2b386e&&('xmlns'===_0x5ab0c1['prefix']&&(_0x3bbaaf=_0x5ab0c1['name']),_0x171fba['setAttributeNS'](_0x1616c0,_0x3bbaaf,_0x2b386e))):_0x171fba['getAttribute'](_0x3bbaaf)!==_0x2b386e&&_0x171fba['setAttribute'](_0x3bbaaf,_0x2b386e);for(var _0x26e381=_0x171fba['attributes'],_0x138c69=_0x26e381['length']-0x1;_0x138c69>=0x0;_0x138c69--)_0x3bbaaf=(_0x5ab0c1=_0x26e381[_0x138c69])['name'],(_0x1616c0=_0x5ab0c1['namespaceURI'])?(_0x3bbaaf=_0x5ab0c1['localName']||_0x3bbaaf,_0x9bb544['hasAttributeNS'](_0x1616c0,_0x3bbaaf)||_0x171fba['removeAttributeNS'](_0x1616c0,_0x3bbaaf)):_0x9bb544['hasAttribute'](_0x3bbaaf)||_0x171fba['removeAttribute'](_0x3bbaaf);}}var _0x26bd79='http://www.w3.org/1999/xhtml',_0x273224='undefined'==typeof document?void 0x0:document,_0x4a9712=!!_0x273224&&'content'in _0x273224['createElement']('template'),_0x1e2949=!!_0x273224&&_0x273224['createRange']&&'createContextualFragment'in _0x273224['createRange']();function createFragmentFromTemplate(_0x13f222){var _0x210190=_0x273224['createElement']('template');return _0x210190['innerHTML']=_0x13f222,_0x210190['content']['childNodes'][0x0];}function createFragmentFromRange(_0x7dfa6e){return _0x3409c5||(_0x3409c5=_0x273224['createRange']())['selectNode'](_0x273224['body']),_0x3409c5['createContextualFragment'](_0x7dfa6e)['childNodes'][0x0];}function createFragmentFromWrap(_0x3e934b){var _0x37627f=_0x273224['createElement']('body');return _0x37627f['innerHTML']=_0x3e934b,_0x37627f['childNodes'][0x0];}function toElement(_0x6b7e37){return _0x6b7e37=_0x6b7e37['trim'](),_0x4a9712?createFragmentFromTemplate(_0x6b7e37):_0x1e2949?createFragmentFromRange(_0x6b7e37):createFragmentFromWrap(_0x6b7e37);}function _0x822895(_0x159322,_0x507e32){var _0x2cff2c,_0xbb8433,_0x186b59=_0x159322['nodeName'],_0x1acfcb=_0x507e32['nodeName'];return _0x186b59===_0x1acfcb||(_0x2cff2c=_0x186b59['charCodeAt'](0x0),_0xbb8433=_0x1acfcb['charCodeAt'](0x0),_0x2cff2c<=0x5a&&_0xbb8433>=0x61?_0x186b59===_0x1acfcb['toUpperCase']():_0xbb8433<=0x5a&&_0x2cff2c>=0x61&&_0x1acfcb===_0x186b59['toUpperCase']());}function createElementNS(_0x3e7ccf,_0x336606){return _0x336606&&_0x336606!==_0x26bd79?_0x273224['createElementNS'](_0x336606,_0x3e7ccf):_0x273224['createElement'](_0x3e7ccf);}function _0x1d3a07(_0x54b623,_0x1e0b20){for(var _0xaa650=_0x54b623['firstChild'];_0xaa650;){var _0x5c0bd8=_0xaa650['nextSibling'];_0x1e0b20['appendChild'](_0xaa650),_0xaa650=_0x5c0bd8;}return _0x1e0b20;}function syncBooleanAttrProp(_0x32068b,_0x1a78c0,_0x580338){_0x32068b[_0x580338]!==_0x1a78c0[_0x580338]&&(_0x32068b[_0x580338]=_0x1a78c0[_0x580338],_0x32068b[_0x580338]?_0x32068b['setAttribute'](_0x580338,''):_0x32068b['removeAttribute'](_0x580338));}var _0x179192={'OPTION':function(_0x42fab5,_0x36755c){var _0x3c0fe5=_0x42fab5['parentNode'];if(_0x3c0fe5){var _0x9184a2=_0x3c0fe5['nodeName']['toUpperCase']();'OPTGROUP'===_0x9184a2&&(_0x9184a2=(_0x3c0fe5=_0x3c0fe5['parentNode'])&&_0x3c0fe5['nodeName']['toUpperCase']()),'SELECT'!==_0x9184a2||_0x3c0fe5['hasAttribute']('multiple')||(_0x42fab5['hasAttribute']('selected')&&!_0x36755c['selected']&&(_0x42fab5['setAttribute']('selected','selected'),_0x42fab5['removeAttribute']('selected')),_0x3c0fe5['selectedIndex']=-0x1);}syncBooleanAttrProp(_0x42fab5,_0x36755c,'selected');},'INPUT':function(_0x1f350a,_0x5c4b4b){syncBooleanAttrProp(_0x1f350a,_0x5c4b4b,'checked'),syncBooleanAttrProp(_0x1f350a,_0x5c4b4b,'disabled'),_0x1f350a['value']!==_0x5c4b4b['value']&&(_0x1f350a['value']=_0x5c4b4b['value']),_0x5c4b4b['hasAttribute']('value')||_0x1f350a['removeAttribute']('value');},'TEXTAREA':function(_0x55ab25,_0xa75ac3){var _0x16f5c4=_0xa75ac3['value'];_0x55ab25['value']!==_0x16f5c4&&(_0x55ab25['value']=_0x16f5c4);var _0x8ca80a=_0x55ab25['firstChild'];if(_0x8ca80a){var _0x3a0c41=_0x8ca80a['nodeValue'];if(_0x3a0c41==_0x16f5c4||!_0x16f5c4&&_0x3a0c41==_0x55ab25['placeholder'])return;_0x8ca80a['nodeValue']=_0x16f5c4;}},'SELECT':function(_0xf537e1,_0x3cd64d){if(!_0x3cd64d['hasAttribute']('multiple')){for(var _0x54e2d1,_0x1a52db,_0x479183=-0x1,_0x26ddc2=0x0,_0x573ee6=_0xf537e1['firstChild'];_0x573ee6;)if('OPTGROUP'===(_0x1a52db=_0x573ee6['nodeName']&&_0x573ee6['nodeName']['toUpperCase']()))(_0x573ee6=(_0x54e2d1=_0x573ee6)['firstChild'])||(_0x573ee6=_0x54e2d1['nextSibling'],_0x54e2d1=null);else{if('OPTION'===_0x1a52db){if(_0x573ee6['hasAttribute']('selected')){_0x479183=_0x26ddc2;break;}_0x26ddc2++;}!(_0x573ee6=_0x573ee6['nextSibling'])&&_0x54e2d1&&(_0x573ee6=_0x54e2d1['nextSibling'],_0x54e2d1=null);}_0xf537e1['selectedIndex']=_0x479183;}}},_0x85cb9f=0x1,_0x19b9d1=0xb,_0xc55c70=0x3,_0x5043d3=0x8;function _0x4f842e(){}function defaultGetNodeKey(_0x36c497){if(_0x36c497)return _0x36c497['getAttribute']&&_0x36c497['getAttribute']('id')||_0x36c497['id'];}function morphdomFactory(_0x536604){return function(_0x4a7935,_0x1d86f7,_0x3e1f00){if(_0x3e1f00||(_0x3e1f00={}),'string'==typeof _0x1d86f7){if('#document'===_0x4a7935['nodeName']||'HTML'===_0x4a7935['nodeName']||'BODY'===_0x4a7935['nodeName']){var _0x463f81=_0x1d86f7;(_0x1d86f7=_0x273224['createElement']('html'))['innerHTML']=_0x463f81;}else _0x1d86f7=toElement(_0x1d86f7);}else _0x1d86f7['nodeType']===_0x19b9d1&&(_0x1d86f7=_0x1d86f7['firstElementChild']);var _0x1d348c=_0x3e1f00['getNodeKey']||defaultGetNodeKey,_0x2bdca2=_0x3e1f00['onBeforeNodeAdded']||_0x4f842e,_0x43fcd0=_0x3e1f00['onNodeAdded']||_0x4f842e,_0x50f821=_0x3e1f00['onBeforeElUpdated']||_0x4f842e,_0x34671e=_0x3e1f00['onElUpdated']||_0x4f842e,_0x35b043=_0x3e1f00['onBeforeNodeDiscarded']||_0x4f842e,_0x29afb6=_0x3e1f00['onNodeDiscarded']||_0x4f842e,_0x1f1622=_0x3e1f00['onBeforeElChildrenUpdated']||_0x4f842e,_0x7e7877=_0x3e1f00['skipFromChildren']||_0x4f842e,_0x367325=_0x3e1f00['addChild']||function(_0x26f4db,_0x3caae2){return _0x26f4db['appendChild'](_0x3caae2);},_0x99366=!0x0===_0x3e1f00['childrenOnly'],_0x35eb97=Object['create'](null),_0x1f1a73=[];function _0x334eb2(_0x3e1cbe){_0x1f1a73['push'](_0x3e1cbe);}function _0xd7ff46(_0x1e1313,_0x35c615){if(_0x1e1313['nodeType']===_0x85cb9f)for(var _0x5bd5ad=_0x1e1313['firstChild'];_0x5bd5ad;){var _0x2d2abe=void 0x0;_0x35c615&&(_0x2d2abe=_0x1d348c(_0x5bd5ad))?_0x334eb2(_0x2d2abe):(_0x29afb6(_0x5bd5ad),_0x5bd5ad['firstChild']&&_0xd7ff46(_0x5bd5ad,_0x35c615)),_0x5bd5ad=_0x5bd5ad['nextSibling'];}}function _0x2efec5(_0x45b88a,_0x377a51,_0x133018){!0x1!==_0x35b043(_0x45b88a)&&(_0x377a51&&_0x377a51['removeChild'](_0x45b88a),_0x29afb6(_0x45b88a),_0xd7ff46(_0x45b88a,_0x133018));}function _0xf527bb(_0x2457e7){if(_0x2457e7['nodeType']===_0x85cb9f||_0x2457e7['nodeType']===_0x19b9d1)for(var _0x1a5e19=_0x2457e7['firstChild'];_0x1a5e19;){var _0x528a95=_0x1d348c(_0x1a5e19);_0x528a95&&(_0x35eb97[_0x528a95]=_0x1a5e19),_0xf527bb(_0x1a5e19),_0x1a5e19=_0x1a5e19['nextSibling'];}}function _0x4065e4(_0x2e4083){_0x43fcd0(_0x2e4083);for(var _0x5fb45e=_0x2e4083['firstChild'];_0x5fb45e;){var _0xea11ba=_0x5fb45e['nextSibling'],_0x36fa61=_0x1d348c(_0x5fb45e);if(_0x36fa61){var _0xf38a92=_0x35eb97[_0x36fa61];_0xf38a92&&_0x822895(_0x5fb45e,_0xf38a92)?(_0x5fb45e['parentNode']['replaceChild'](_0xf38a92,_0x5fb45e),_0x288e4d(_0xf38a92,_0x5fb45e)):_0x4065e4(_0x5fb45e);}else _0x4065e4(_0x5fb45e);_0x5fb45e=_0xea11ba;}}function _0x288e4d(_0x4cf653,_0x328aab,_0x58fca6){var _0x431729=_0x1d348c(_0x328aab);if(_0x431729&&delete _0x35eb97[_0x431729],!_0x58fca6){var _0x3138e0=_0x50f821(_0x4cf653,_0x328aab);if(!0x1===_0x3138e0)return;if(_0x3138e0 instanceof HTMLElement&&_0xf527bb(_0x4cf653=_0x3138e0),_0x536604(_0x4cf653,_0x328aab),_0x34671e(_0x4cf653),!0x1===_0x1f1622(_0x4cf653,_0x328aab))return;}'TEXTAREA'!==_0x4cf653['nodeName']?function(_0x12b48e,_0xcc595d){var _0x5ed1a0,_0x257d8b,_0x1a2ace,_0x3c865f,_0x4e2c19,_0xe9d0bb=_0x7e7877(_0x12b48e,_0xcc595d),_0x416ae3=_0xcc595d['firstChild'],_0x43d82a=_0x12b48e['firstChild'];t:for(;_0x416ae3;){for(_0x3c865f=_0x416ae3['nextSibling'],_0x5ed1a0=_0x1d348c(_0x416ae3);!_0xe9d0bb&&_0x43d82a;){if(_0x1a2ace=_0x43d82a['nextSibling'],_0x416ae3['isSameNode']&&_0x416ae3['isSameNode'](_0x43d82a)){_0x416ae3=_0x3c865f,_0x43d82a=_0x1a2ace;continue t;}_0x257d8b=_0x1d348c(_0x43d82a);var _0x5467f4=_0x43d82a['nodeType'],_0x3413e3=void 0x0;if(_0x5467f4===_0x416ae3['nodeType']&&(_0x5467f4===_0x85cb9f?(_0x5ed1a0?_0x5ed1a0!==_0x257d8b&&((_0x4e2c19=_0x35eb97[_0x5ed1a0])?_0x1a2ace===_0x4e2c19?_0x3413e3=!0x1:(_0x12b48e['insertBefore'](_0x4e2c19,_0x43d82a),_0x257d8b?_0x334eb2(_0x257d8b):_0x2efec5(_0x43d82a,_0x12b48e,!0x0),_0x257d8b=_0x1d348c(_0x43d82a=_0x4e2c19)):_0x3413e3=!0x1):_0x257d8b&&(_0x3413e3=!0x1),(_0x3413e3=!0x1!==_0x3413e3&&_0x822895(_0x43d82a,_0x416ae3))&&_0x288e4d(_0x43d82a,_0x416ae3)):_0x5467f4!==_0xc55c70&&_0x5467f4!=_0x5043d3||(_0x3413e3=!0x0,_0x43d82a['nodeValue']!==_0x416ae3['nodeValue']&&(_0x43d82a['nodeValue']=_0x416ae3['nodeValue']))),_0x3413e3){_0x416ae3=_0x3c865f,_0x43d82a=_0x1a2ace;continue t;}_0x257d8b?_0x334eb2(_0x257d8b):_0x2efec5(_0x43d82a,_0x12b48e,!0x0),_0x43d82a=_0x1a2ace;}if(_0x5ed1a0&&(_0x4e2c19=_0x35eb97[_0x5ed1a0])&&_0x822895(_0x4e2c19,_0x416ae3))_0xe9d0bb||_0x367325(_0x12b48e,_0x4e2c19),_0x288e4d(_0x4e2c19,_0x416ae3);else{var _0x1d04a3=_0x2bdca2(_0x416ae3);!0x1!==_0x1d04a3&&(_0x1d04a3&&(_0x416ae3=_0x1d04a3),_0x416ae3['actualize']&&(_0x416ae3=_0x416ae3['actualize'](_0x12b48e['ownerDocument']||_0x273224)),_0x367325(_0x12b48e,_0x416ae3),_0x4065e4(_0x416ae3));}_0x416ae3=_0x3c865f,_0x43d82a=_0x1a2ace;}!function(_0x15e301,_0x1be612,_0x20365a){for(;_0x1be612;){var _0x5bb837=_0x1be612['nextSibling'];(_0x20365a=_0x1d348c(_0x1be612))?_0x334eb2(_0x20365a):_0x2efec5(_0x1be612,_0x15e301,!0x0),_0x1be612=_0x5bb837;}}(_0x12b48e,_0x43d82a,_0x257d8b);var _0x2555d3=_0x179192[_0x12b48e['nodeName']];_0x2555d3&&_0x2555d3(_0x12b48e,_0xcc595d);}(_0x4cf653,_0x328aab):_0x179192['TEXTAREA'](_0x4cf653,_0x328aab);}_0xf527bb(_0x4a7935);var _0x18509a=_0x4a7935,_0x472cfb=_0x18509a['nodeType'],_0xfc9759=_0x1d86f7['nodeType'];if(!_0x99366){if(_0x472cfb===_0x85cb9f)_0xfc9759===_0x85cb9f?_0x822895(_0x4a7935,_0x1d86f7)||(_0x29afb6(_0x4a7935),_0x18509a=_0x1d3a07(_0x4a7935,createElementNS(_0x1d86f7['nodeName'],_0x1d86f7['namespaceURI']))):_0x18509a=_0x1d86f7;else{if(_0x472cfb===_0xc55c70||_0x472cfb===_0x5043d3){if(_0xfc9759===_0x472cfb)return _0x18509a['nodeValue']!==_0x1d86f7['nodeValue']&&(_0x18509a['nodeValue']=_0x1d86f7['nodeValue']),_0x18509a;_0x18509a=_0x1d86f7;}}}if(_0x18509a===_0x1d86f7)_0x29afb6(_0x4a7935);else{if(_0x1d86f7['isSameNode']&&_0x1d86f7['isSameNode'](_0x18509a))return;if(_0x288e4d(_0x18509a,_0x1d86f7,_0x99366),_0x1f1a73)for(var _0x536f77=0x0,_0x518145=_0x1f1a73['length'];_0x536f77<_0x518145;_0x536f77++){var _0x51393a=_0x35eb97[_0x1f1a73[_0x536f77]];_0x51393a&&_0x2efec5(_0x51393a,_0x51393a['parentNode'],!0x1);}}return!_0x99366&&_0x18509a!==_0x4a7935&&_0x4a7935['parentNode']&&(_0x18509a['actualize']&&(_0x18509a=_0x18509a['actualize'](_0x4a7935['ownerDocument']||_0x273224)),_0x4a7935['parentNode']['replaceChild'](_0x18509a,_0x4a7935)),_0x18509a;};}var _0x5ac539=morphdomFactory(morphAttrs);class HTMLStreamer{['options'];['isStreaming']=!0x1;['document']=null;['nodesList']=[];['currentIndex']=0x0;['timeoutAbortController']=null;['lastUpdateTime']=0x0;constructor(_0x5c8d46){this['options']={'delay':_0x5c8d46['delay']??0x14,'textNodeStyle':_0x5c8d46['textNodeStyle'],'onStreamUpdate':_0x5c8d46['onStreamUpdate']||(()=>{})};}async['stream']({document:_0x42661f,targetElement:_0x91a0c5,abortSignal:_0xb521b5}){this['isStreaming']&&this['stop'](),_0xb521b5?.['addEventListener']('abort',this['stop']['bind'](this)),this['document']=_0x1fd013(_0x42661f,!0x0),this['nodesList']=this['getParsedDocumentNodeList'](),this['isStreaming']=!0x0,this['currentIndex']>this['nodesList']['length']&&(this['currentIndex']=this['nodesList']['length']);for(let _0x17a2f3=0x0;_0x17a2f3<this['currentIndex'];_0x17a2f3++)this['nodesList'][_0x17a2f3]['shouldBeStreamed']=!0x0;do{const _0x46bed8=Date['now'](),_0x43b336=this['nodesList'][this['currentIndex']],_0x3d9306=_0x46bed8-this['lastUpdateTime'];if(_0x43b336){_0x43b336['shouldBeStreamed']=!0x0;let _0x84bbe6=_0x43b336['parent'];for(;_0x84bbe6;)_0x84bbe6['shouldBeStreamed']=!0x0,_0x84bbe6=_0x84bbe6['parent'];}if(_0x3d9306<this['options']['delay'])try{const {promise:_0x38c06e,abortController:_0x34fb1a}=createAbortableTimeout(this['options']['delay']-_0x3d9306);this['timeoutAbortController']=_0x34fb1a,await _0x38c06e;}catch(_0x318525){return;}_0x5ac539(_0x91a0c5,'<'+_0x91a0c5['tagName']+'>'+this['renderNode'](this['document'])+'</'+_0x91a0c5['tagName']+'>',{'childrenOnly':!0x0}),this['options']['onStreamUpdate']&&this['options']['onStreamUpdate'](),this['currentIndex']++,this['lastUpdateTime']=Date['now']();}while(this['currentIndex']<this['nodesList']['length']);this['currentIndex']=this['nodesList']['length'],this['isStreaming']=!0x1;}['reset'](){this['isStreaming']=!0x1,this['document']=null,this['nodesList']=[],this['currentIndex']=0x0,this['timeoutAbortController']=null;}['cleanUpAnimations']({targetElement:_0x409cfc}){Array['from'](_0x409cfc['querySelectorAll']('span[data-ck-html-streamer-word-chunk]'))['reverse']()['forEach'](_0x26879d=>{_0x26879d['replaceWith'](_0x26879d['childNodes'][0x0]);});}['stop'](){this['isStreaming']=!0x1,this['timeoutAbortController']&&(this['timeoutAbortController']['abort'](),this['timeoutAbortController']=null);}['renderNode'](_0x440d32){let _0x50ffe2='';if(isParsedDocumentNode(_0x440d32)){for(const _0x1608d8 of _0x440d32['children'])_0x50ffe2+=this['renderNode'](_0x1608d8);}else{if(isParsedElementNode(_0x440d32)){if(!_0x440d32['shouldBeStreamed'])return'';const _0x41f945=_0x440d32,_0x454898=Object['entries'](_0x41f945['attribs'])['map'](([_0xd98417,_0x31e36d])=>_0xd98417+'=\x22'+_0x31e36d+'\x22')['join']('\x20');_0x50ffe2+='<'+_0x41f945['tagName']+(_0x454898?'\x20'+_0x454898:'')+'>';for(const _0x42cc5b of getChildren$1(_0x41f945))_0x50ffe2+=this['renderNode'](_0x42cc5b);_0x50ffe2+='</'+_0x41f945['tagName']+'>';}else{if(!isParsedTextNode(_0x440d32))return'';if(!_0x440d32['shouldBeStreamed'])return'';_0x4cdaea(_0x440d32)?_0x50ffe2+=_0x3653f0(new Element$3('span',{'data-ck-html-streamer-word-chunk':'','style':this['options']['textNodeStyle']},[_0x440d32])):_0x50ffe2+=_0x3653f0(_0x440d32);}}return _0x50ffe2;}['getParsedDocumentNodeList'](){const _0x50b0b6=[];return traverseParsedDocument(this['document'],_0x3807f0=>{if(isParsedTextNode(_0x3807f0)){const _0x27c0e9=this['splitTextNodeIntoWordNodes'](_0x3807f0);_0x27c0e9['length']&&_0x50b0b6['push'](..._0x27c0e9);}_0x3807f0['isWordSplitSource']||_0x3807f0['isWordSplitResult']||_0x50b0b6['push'](_0x3807f0);}),_0x50b0b6;}['splitTextNodeIntoWordNodes'](_0x32df9a){if(_0x32df9a['isWordSplitSource']||_0x32df9a['isWordSplitResult'])return[];const _0x46ca9c=textContent(_0x32df9a)['match'](/(?:\s*\S+\s*)/g),_0x167438=[];if(_0x46ca9c&&_0x46ca9c['length']>0x1){for(const _0x5c7135 of _0x46ca9c){const _0x5bc2ee=new Text$1(_0x5c7135);_0x5bc2ee['isWordSplitResult']=!0x0,_0x5cf0ac(_0x32df9a,_0x5bc2ee),_0x167438['push'](_0x5bc2ee);}_0x32df9a['isWordSplitSource']=!0x0,removeElement(_0x32df9a);}return _0x167438;}}const _0x320c42=['p','li','td','th','span','h1','h2','h3','h4','h5','h6','b','strong','i','em','mark','del','ins','sup','sub','a','code','div'];function traverseParsedDocument(_0x1edd2a,_0x506fde){const _0xed9b47=_0x2860fc=>{if(_0x506fde(_0x2860fc),_0x2860fc instanceof NodeWithChildren)for(let _0x5384a4=0x0;_0x5384a4<_0x2860fc['children']['length'];_0x5384a4++){const _0x83ff4e=_0x2860fc['children'][_0x5384a4];_0xed9b47(_0x83ff4e);}};for(let _0x2c4246=0x0;_0x2c4246<_0x1edd2a['children']['length'];_0x2c4246++)_0xed9b47(_0x1edd2a['children'][_0x2c4246]);}function _0x4cdaea(_0x3fcba9){return!(!_0x3fcba9['parent']||!isParsedElementNode(_0x3fcba9['parent']))&&(!!_0x320c42['includes'](_0x3fcba9['parent']['tagName'])&&!textContent(_0x3fcba9)['match'](/^\s*[<>]\s*$/));}function isParsedTextNode(_0x3ae484){return isText$1(_0x3ae484);}function isParsedElementNode(_0x4693e1){return _0x190800(_0x4693e1);}function isParsedDocumentNode(_0x527f4c){return isDocument(_0x527f4c);}function createAbortableTimeout(_0x3238c4){const _0x1ba063=new AbortController();return{'promise':new Promise((_0x3a7466,_0x21c2f5)=>{const _0x457782=setTimeout(_0x3a7466,_0x3238c4);_0x1ba063['signal']['addEventListener']('abort',()=>{clearTimeout(_0x457782),_0x21c2f5();});}),'abortController':_0x1ba063};}class AIChatFeedItemView extends ckeditor5['View']{['options'];['content']='';['htmlStreamer'];['children'];constructor(_0x58e684){super();const _0xa85527=this['bindTemplate'];this['set']('isDone',!0x1),this['set']('isVisible',!0x0),this['htmlStreamer']=new HTMLStreamer({'textNodeStyle':'animation:\x20ck-html-streamer-fade-in\x20.5s','delay':0x14}),this['options']=_0x58e684,this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__item',_0xa85527['if']('isDone','ck-ai-chat__feed__item_done'),_0xa85527['if']('isVisible','ck-hidden',_0xccaa93=>!_0xccaa93),'ck-ai-chat__feed__text-item'],'data-cke-ai-id':this['options']['id']},'children':this['children']});}['markAsDone'](){this['htmlStreamer']['cleanUpAnimations']({'targetElement':this['element']}),this['element']['querySelectorAll']('[data-id]')['forEach'](_0x5a27d7=>{_0x5a27d7['removeAttribute']('data-id');}),this['isDone']=!0x0;}async['streamIntoElement'](_0xfb5186,_0x199c16,_0xd235ae){await this['htmlStreamer']['stream']({'document':_0xfb5186,'targetElement':_0x199c16,'abortSignal':_0xd235ae});}}class AISuggestionHeaderView extends ckeditor5['View']{['showChangesToggleView'];constructor(_0x43ee16,_0x1a1964){super(_0x43ee16),this['set']('isShowChangesToggleVisible',!0x0),this['showChangesToggleView']=new _0x189cbc(_0x43ee16),this['showChangesToggleView']['set']({'class':'ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','label':getTranslation$i(_0x43ee16,'AI_SUGGESTION_BUTTON_SHOW_CHANGES'),'withText':!0x0}),this['showChangesToggleView']['isOn']=_0x1a1964['showDiff'],this['showChangesToggleView']['bind']('isVisible')['to'](this,'isShowChangesToggleVisible'),this['showChangesToggleView']['bind']('icon')['to'](this['showChangesToggleView'],'isOn',_0x28493f=>_0x28493f?ckeditor5['IconShowChangesOn']:ckeditor5['IconShowChangesOff']),this['showChangesToggleView']['on']('execute',()=>{this['showChangesToggleView']['isOn']=!this['showChangesToggleView']['isOn'],this['fire']('toggleShowChanges',{'isOn':this['showChangesToggleView']['isOn']});});const _0x2aa0a8=new ckeditor5['IconView']();_0x2aa0a8['content']=ckeditor5['IconDocument'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__header',!0x1===_0x1a1964['showHeader']?'ck-hidden':null]['filter'](Boolean)},'children':[_0x2aa0a8,{'tag':'span','children':[getTranslation$i(_0x43ee16,'AI_SUGGESTION_HEADER_TITLE')]},this['showChangesToggleView']]});}}class _0x189cbc extends ckeditor5['ButtonView']{['render'](){super['render'](),this['children']['remove'](this['iconView']),this['children']['add'](this['iconView']);}}const _0x5f0ca5={'accepted':ckeditor5['IconBoxWithCheck'],'rejected':ckeditor5['IconBoxWithCross'],'outdated':ckeditor5['IconBoxWithCross']};class AISuggestionContentPartStateView extends ckeditor5['View']{['stateIconView'];constructor(_0x2163b3){super(_0x2163b3);const _0x293605=this['bindTemplate'];this['set']('state','accepted'),this['set']('isVisible',!0x0),this['stateIconView']=new StateIconView(),this['stateIconView']['bind']('state')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__content-part-state',_0x293605['to']('state',_0x119c11=>'ck-ai-suggestion__content-part-state_'+_0x119c11),_0x293605['if']('isVisible','ck-hidden',_0x43e71e=>!_0x43e71e)]},'children':[{'tag':'span','attributes':{'class':['ck-ai-suggestion__content-part-state__label']},'children':[{'text':_0x293605['to']('state',_0x39e2ee=>{switch(_0x39e2ee){case'accepted':return getTranslation$i(_0x2163b3,'AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED');case'rejected':return getTranslation$i(_0x2163b3,'AI_SUGGESTION_CONTENT_PART_STATE_REJECTED');case'outdated':return getTranslation$i(_0x2163b3,'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED');}})}]},this['stateIconView']]});}['setState'](_0x767773){this['state']=_0x767773;}}class StateIconView extends ckeditor5['IconView']{constructor(){super(),this['set']('state','accepted'),this['content']=_0x5f0ca5[this['state']],this['on']('change:state',()=>{this['content']=_0x5f0ca5[this['state']];});}}class AISuggestionContentPartToolbarView extends ckeditor5['ToolbarView']{['_applyButton'];['_suggestButton'];constructor(_0x4734e1,_0x1b6cff,_0x48c894){super(_0x4734e1);const _0x166fae=Boolean(_0x48c894);this['set']('isEnabled',!_0x166fae),this['set']('isVisible',!0x0),this['class']='ck-ai-suggestion-content-part-toolbar';const _0x12ec70=[];if(_0x166fae){const _0x7ef554=new ckeditor5['ButtonView'](_0x4734e1);_0x7ef554['set']({'label':getTranslation$i(_0x4734e1,'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':ckeditor5['IconInfo']}),_0x12ec70['push'](_0x7ef554);}else{_0x1b6cff['includes']('applySuggestion')&&(this['_applyButton']=new ckeditor5['ButtonView'](_0x4734e1),this['_applyButton']['set']({'label':getTranslation$i(_0x4734e1,'AI_SUGGESTION_CONTENT_PART_APPLY'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':ckeditor5['IconBoxWithCheck']}),this['_applyButton']['bind']('isEnabled')['to'](this),this['_applyButton']['on']('execute',()=>{this['fire']('applySuggestion');}),_0x12ec70['push'](this['_applyButton'])),_0x1b6cff['includes']('insertSuggestion')&&(this['_suggestButton']=new ckeditor5['ButtonView'](_0x4734e1),this['_suggestButton']['set']({'label':getTranslation$i(_0x4734e1,'AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':ckeditor5['IconBoxWithMarker']}),this['_suggestButton']['bind']('isEnabled')['to'](this),this['_suggestButton']['on']('execute',()=>{this['fire']('insertSuggestion');}),_0x12ec70['push'](this['_suggestButton']));const _0x38d656=new ckeditor5['ButtonView'](_0x4734e1);_0x38d656['set']({'label':getTranslation$i(_0x4734e1,'AI_SUGGESTION_CONTENT_PART_REJECT'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':ckeditor5['IconBoxWithCross']}),_0x38d656['bind']('isEnabled')['to'](this),_0x38d656['on']('execute',()=>{this['fire']('rejectSuggestion');}),_0x12ec70['push'](_0x38d656);}this['items']['addMany'](_0x12ec70);const _0x4248b2=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':[_0x4248b2['if']('isVisible','ck-hidden',_0x1672bb=>!_0x1672bb)]}});}['setButtonsVisibility']({showApplyButton:_0x4377d5,showSuggestButton:_0x5896f4}){this['_applyButton']&&(this['_applyButton']['isVisible']=_0x4377d5),this['_suggestButton']&&(this['_suggestButton']['isVisible']=_0x5896f4);}}class AISuggestionContentPartHeaderView extends ckeditor5['View']{['toolbarView'];['stateView'];['titleLabelView'];['children'];constructor(_0x3bf0ab,{part:_0x1732ca,uiIndex:_0x29547e,availableActions:_0x287057,areActionsDisabled:_0x251604}){super(_0x3bf0ab),this['set']('isEnabled',!0x0),this['set']('state','pending'),this['toolbarView']=new AISuggestionContentPartToolbarView(_0x3bf0ab,_0x287057,_0x251604),this['toolbarView']['on']('rejectSuggestion',()=>{this['fire']('rejectSuggestion',{'index':_0x1732ca['index']});}),this['toolbarView']['on']('insertSuggestion',()=>{this['fire']('insertSuggestion',{'index':_0x1732ca['index']});}),this['toolbarView']['on']('applySuggestion',()=>{this['fire']('applySuggestion',{'index':_0x1732ca['index']});}),this['toolbarView']['bind']('isEnabled')['to'](this),this['stateView']=new AISuggestionContentPartStateView(_0x3bf0ab),this['titleLabelView']=new AISuggestionBodyContentPartTitleLabelView(_0x3bf0ab,_0x29547e),this['children']=this['createCollection'](),this['children']['addMany']([this['titleLabelView'],this['toolbarView']]),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-ai-suggestion__body__content-part__title']},'children':this['children']}),this['on']('change:state',(_0x1652d4,_0x218ee2,_0x4d90ed,_0x2d145d)=>{'pending'===_0x2d145d?this['children']['remove'](this['toolbarView']):this['children']['remove'](this['stateView']),'pending'===_0x4d90ed?this['children']['add'](this['toolbarView']):(this['stateView']['setState'](_0x4d90ed),this['children']['add'](this['stateView']));});}}class AISuggestionBodyContentPartTitleLabelView extends ckeditor5['View']{constructor(_0x1094ca,_0x222f63){super(_0x1094ca),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__body__content-part__title__label']},'children':[getTranslation$i(_0x1094ca,'AI_SUGGESTION_CONTENT_PART_TITLE',_0x222f63['toString']())]});}}class AISuggestionStreamableContentView extends ckeditor5['View']{['htmlStreamer'];constructor(_0x4b9a1d){super(_0x4b9a1d),this['htmlStreamer']=new HTMLStreamer({'textNodeStyle':'animation:\x20ck-html-streamer-fade-in\x20.5s','delay':0x14}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content','ck-reset_all-excluded','ck-ai-suggestion-streamable-content']}});}async['update']({part:_0x28e767,renderingStrategy:_0x4537cb,abortSignal:_0x5adfe3}){'streaming'===_0x4537cb?await this['htmlStreamer']['stream']({'document':_0x28e767['content'],'targetElement':this['element'],'abortSignal':_0x5adfe3}):this['element']['innerHTML']=_0x19ea5e(_0x28e767['content']);}['clear'](){this['htmlStreamer']['reset'](),this['element']['innerHTML']='';}}class AISuggestionBodyViewContentPartView extends ckeditor5['View']{['_children'];['_headerView'];['_streamableContentView'];constructor(_0x4cc7c6,{part:_0x4a6d93,uiIndex:_0x2072e9,areActionsDisabled:_0x40e1ca,availableActions:_0x2b7ed8}){super(_0x4cc7c6);const _0x11939b=this['bindTemplate'];this['set']('state','pending'),this['set']('isDone',!0x1),this['set']('isVisible',!0x1),this['set']('isActive',!0x1),this['set']('isEnabled',!0x1);const _0x595bbe=()=>{this['isEnabled']=this['isDone']&&'pending'==this['state']&&!_0x40e1ca;};this['on']('change:state',_0x595bbe),this['on']('change:isDone',_0x595bbe),_0x595bbe(),this['_children']=this['createCollection'](),this['_headerView']=new AISuggestionContentPartHeaderView(_0x4cc7c6,{'part':_0x4a6d93,'uiIndex':_0x2072e9,'availableActions':_0x2b7ed8,'areActionsDisabled':_0x40e1ca}),this['_headerView']['bind']('isEnabled','state')['to'](this),this['_headerView']['delegate'](..._0x2dcce3)['to'](this),this['_streamableContentView']=new AISuggestionStreamableContentView(_0x4cc7c6),this['_children']['addMany']([this['_headerView'],this['_streamableContentView']]),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__body__content-part',_0x11939b['to']('state',_0x89e67a=>'ck-ai-suggestion__body__content-part_'+_0x89e67a),_0x11939b['if']('isEnabled','ck-ai-suggestion__body__content-part_enabled'),_0x11939b['if']('isActive','ck-ai-suggestion__body__content-part_active'),_0x11939b['if']('isVisible','ck-hidden',_0x29dfbe=>!_0x29dfbe)]},'children':this['_children'],'on':{'mouseenter':_0x11939b['to'](()=>{this['isEnabled']&&this['fire']('mouseOverSuggestion',{'index':_0x4a6d93['index']});}),'mouseleave':_0x11939b['to'](()=>{this['isEnabled']&&this['fire']('mouseLeaveSuggestion',{'index':_0x4a6d93['index']});}),'click':_0x11939b['to'](_0x48c985=>{const _0x5603ac=_0x48c985['target'];this['isEnabled']&&!this['_headerView']['toolbarView']['element']['contains'](_0x5603ac)&&this['fire']('showChangeInText',{'index':_0x4a6d93['index']});})}});}async['updateContent']({part:_0x3f3710,renderingStrategy:_0x13d6c4,showUnchangedParts:_0x4babb8=!0x1,abortSignal:_0x579003}){this['partDefinition']=_0x3f3710,this['isVisible']=this['partDefinition']['hasChanges']||_0x4babb8,this['isVisible']&&await this['_streamableContentView']['update']({'part':_0x3f3710,'renderingStrategy':_0x13d6c4,'abortSignal':_0x579003});}['markAsDone'](){this['isDone']=!0x0;}}class _0x2f912b extends ckeditor5['EmitterMixin'](){['queue']=[];['isProcessing']=!0x1;['_abortController'];async['enqueue'](_0x17546a){const _0x534319=this['createTask'](_0x17546a);return this['queue']['push'](_0x534319),this['_processQueue'](),_0x534319['completePromise'];}['abort'](){this['isProcessing']&&(this['_abortController']['abort'](),this['_abortController']=void 0x0,this['queue']=[],this['fire']('_queueEmpty'),this['isProcessing']=!0x1);}get['queueEmptyPromise'](){return this['queue']['length']||this['isProcessing']?new Promise(_0x3f8ef0=>{this['once']('_queueEmpty',()=>{_0x3f8ef0();});}):Promise['resolve']();}async['_processQueue'](){if(!this['isProcessing']){this['_abortController']=new AbortController(),this['isProcessing']=!0x0;try{for(;this['queue']['length']&&this['isProcessing'];){const _0x2f7e5f=this['queue']['shift']();try{await _0x2f7e5f['callback'](this['_abortController']['signal']),_0x2f7e5f['resolve']();}catch(_0x2bb550){_0x2f7e5f['reject'](_0x2bb550);}}}finally{this['isProcessing']=!0x1,this['_abortController']=void 0x0;}this['fire']('_queueEmpty');}}['createTask'](_0x2d70bc){let _0x507715,_0x2f9d28;const _0x25632c=new Promise((_0x496f79,_0x29b0b7)=>{_0x507715=_0x496f79,_0x2f9d28=_0x29b0b7;});return{'callback':_0x2d70bc,'resolve':_0x507715,'reject':_0x2f9d28,'completePromise':_0x25632c};}}class AIChatFeedErrorItemView extends AIChatFeedItemView{constructor(_0x473cf7){super(_0x473cf7),this['extendTemplate']({'attributes':{'class':['ck-ai-notification','warning'===_0x473cf7['level']?'ck-ai-notification_warning':'ck-ai-notification_error']}});}['render'](){super['render'](),this['setContent'](this['options']['initialContent']),this['markAsDone']();}['setContent'](_0x10447d){this['element']['innerHTML']=_0x10447d;}}const _0x4eab55=['applySuggestion','insertSuggestion'];class AIChatFeedSuggestionItemActionsView extends ckeditor5['View']{['_applyChangesButton'];['_insertSuggestionsButton'];['children'];constructor(_0x2599fe,_0x306016=[..._0x4eab55],_0x37cc29){super(_0x2599fe);const _0x149b28=this['bindTemplate'],_0x506af1=Boolean(_0x37cc29);if(this['set']('isEnabled',!_0x506af1),this['set']('isVisible',!0x1),this['set']('isTrackChangesOn',!0x1),this['children']=this['createCollection'](),_0x506af1){const _0x2652dc=new ckeditor5['ButtonView'](_0x2599fe);_0x2652dc['set']({'label':getTranslation$i(_0x2599fe,'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':ckeditor5['IconInfo']});const _0x132abc=new ckeditor5['View'](_0x2599fe);_0x132abc['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-chat__feed__suggestion__actions__info'},'children':[{'tag':'p','children':[getTranslation$i(_0x2599fe,'AI_SUGGESTION_DISABLED_FEED_MESSAGE'),_0x2652dc]}]}),this['children']['add'](_0x132abc);}else this['_applyChangesButton']=new ckeditor5['ButtonView'](_0x2599fe),this['_applyChangesButton']['set']({'label':getTranslation$i(_0x2599fe,'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL'),'withText':!0x0,'type':'button','isVisible':_0x306016['includes']('applySuggestion'),'class':'ck-ai-button-primary'}),this['_insertSuggestionsButton']=new ckeditor5['ButtonView'](_0x2599fe),this['_insertSuggestionsButton']['set']({'label':getTranslation$i(_0x2599fe,'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL'),'withText':!0x0,'type':'button','isVisible':_0x306016['includes']('insertSuggestion'),'class':'ck-ai-button-secondary'}),this['_insertSuggestionsButton']['on']('execute',()=>{this['fire']('insertSuggestion');}),this['_applyChangesButton']['on']('execute',()=>{this['fire']('applySuggestion');}),[this['_applyChangesButton'],this['_insertSuggestionsButton']]['forEach'](_0x46ebf4=>{_0x46ebf4['bind']('isEnabled')['to'](this);}),this['children']['addMany']([this['_applyChangesButton'],this['_insertSuggestionsButton']]);this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__ai-suggestion__actions',_0x149b28['if']('isVisible','ck-hidden',_0x36097f=>!_0x36097f)]},'children':this['children']}),this['on']('change:isTrackChangesOn',()=>{this['_applyChangesButton']&&(this['_applyChangesButton']['isVisible']=!this['isTrackChangesOn']);});}['updateVisibility'](_0x34d48f){this['isVisible']=_0x34d48f;}['_switchButtonLabelsPlurality'](_0x3f6a88){this['_applyChangesButton']&&this['_insertSuggestionsButton']&&(_0x3f6a88?(this['_applyChangesButton']['label']=getTranslation$i(this['locale'],'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL'),this['_insertSuggestionsButton']['label']=getTranslation$i(this['locale'],'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL')):(this['_applyChangesButton']['label']=getTranslation$i(this['locale'],'AI_CHAT_SUGGESTION_ACTION_APPLY'),this['_insertSuggestionsButton']['label']=getTranslation$i(this['locale'],'AI_CHAT_SUGGESTION_ACTION_SUGGEST')));}}const _0x430268=0x190;class _0xf65302 extends ckeditor5['View']{['children'];['balloonPanelView'];['bodyCollection'];constructor(_0x2be675,_0x4a9c4f){super(_0x2be675),this['bodyCollection']=_0x4a9c4f,this['children']=this['createCollection'](),this['set']('isVisible',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-sources',this['bindTemplate']['if']('isVisible','ck-hidden',_0x41550a=>!_0x41550a)]},'children':this['children']});const _0xb426b=new ckeditor5['View'](this['locale']),_0x49e6f0=new ckeditor5['IconView']();_0x49e6f0['content']=ckeditor5['IconWeb'],_0xb426b['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-sources__header']},'children':[_0x49e6f0,{'tag':'span','children':[{'text':getTranslation$i(this['locale'],'AI_CHAT_SOURCES_HEADER')}]}]}),this['children']['add'](_0xb426b),this['_setupBalloonPanel'](_0x2be675);}['addSource'](_0x4724ac){this['children']['add'](new _0x1e2e16(this['locale'],_0x4724ac,this['balloonPanelView']));}['_setupBalloonPanel'](_0x53b61){this['balloonPanelView']=new ckeditor5['BalloonPanelView'](_0x53b61),this['balloonPanelView']['extendTemplate']({'attributes':{'class':['ck-ai-web-source__tooltip-balloon']}}),this['bodyCollection']['add'](this['balloonPanelView']);}}class _0x1e2e16 extends ckeditor5['ButtonView']{['balloonPanelView'];['source'];constructor(_0x122a4b,_0x1550b8,_0x213873){super(_0x122a4b),this['source']=_0x1550b8,this['balloonPanelView']=_0x213873,this['set']({'label':_0x1550b8['title'],'class':['ck\x20ck-ai-web-source'],'withText':!0x0});const _0x4fe32f=this['bindTemplate'];if(this['extendTemplate']({'on':{'click':_0x4fe32f['to'](()=>{window['open'](_0x1550b8['url'],'_blank');}),'mouseenter':_0x4fe32f['to'](()=>{this['_showTooltip']();}),'mouseleave':_0x4fe32f['to'](()=>{this['_hideTooltip']();})}}),_0x1550b8['favicon']){const _0x390fe4=new ckeditor5['View'](_0x122a4b);_0x390fe4['setTemplate']({'tag':'img','attributes':{'src':_0x1550b8['favicon']||ckeditor5['IconWeb'],'alt':_0x1550b8['title'],'class':['ck-ai-web-source__image']}}),this['children']['add'](_0x390fe4);}else this['set']('icon',ckeditor5['IconWeb']);}['_createTooltipContentView'](_0x5da6ed,_0x58d58e){const _0x2c1176=new ckeditor5['View'](_0x5da6ed),_0x111d53=[];let _0x2d0ef8;_0x58d58e?.['favicon']?(_0x2d0ef8=new ckeditor5['View'](_0x5da6ed),_0x2d0ef8['setTemplate']({'tag':'img','attributes':{'src':_0x58d58e['favicon'],'alt':_0x58d58e['title'],'class':['ck-ai-web-source__tooltip-image']}})):(_0x2d0ef8=new ckeditor5['IconView'](),_0x2d0ef8['content']=ckeditor5['IconWeb'],_0x2d0ef8['extendTemplate']({'attributes':{'alt':_0x58d58e['title'],'class':['ck-ai-web-source__tooltip-image']}})),_0x111d53['push'](_0x2d0ef8);const _0x54a74d=new ckeditor5['View'](_0x5da6ed);_0x54a74d['setTemplate']({'tag':'a','attributes':{'class':['ck-ai-web-source__tooltip-url'],'href':_0x58d58e['url']},'children':[{'text':new URL(_0x58d58e['url'])?.['hostname']}]}),_0x111d53['push'](_0x54a74d);const _0x2f5bbe=new ckeditor5['View'](_0x5da6ed);_0x2f5bbe['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-web-source__tooltip-row']},'children':_0x111d53});const _0x3bbd3c=new ckeditor5['View'](_0x5da6ed);return _0x3bbd3c['setTemplate']({'tag':'span','attributes':{'class':['ck-ai-web-source__tooltip-row','ck-ai-web-source__tooltip-title']},'children':[{'text':_0x58d58e['title']['length']>_0x430268?_0x58d58e['title']['substring'](0x0,_0x430268)+'...':_0x58d58e['title']}]}),_0x2c1176['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-source__tooltip']},'children':[_0x2f5bbe,_0x3bbd3c]}),_0x2c1176;}['_showTooltip'](){this['_updateTooltipContent'](),this['balloonPanelView']['pin']({'target':this['element'],'positions':[ckeditor5['BalloonPanelView']['defaultPositions']['northArrowSouth'],ckeditor5['BalloonPanelView']['defaultPositions']['northArrowSouthWest'],ckeditor5['BalloonPanelView']['defaultPositions']['northArrowSouthEast']],'limiter':document['querySelector']('.ck-ai-chat')}),this['balloonPanelView']['show']();}['_hideTooltip'](){this['balloonPanelView']['hide']();}['_updateTooltipContent'](){this['balloonPanelView']['content']['get'](0x0)?.['destroy'](),this['balloonPanelView']['content']['clear']();const _0x7d3484=this['_createTooltipContentView'](this['locale'],this['source']);this['balloonPanelView']['content']['add'](_0x7d3484);}}class AISuggestionBodyView extends ckeditor5['View']{['_actionsView'];['_sourcesView'];['_children'];['_areActionsDisabled'];['_showUnchangedParts'];['_updateContentPartsPromiseQueue'];['_emptyPartsWarningView'];['_availableActions'];['_cachedContentParts']=[];constructor(_0x4be792,_0x16157a){super(_0x4be792);const {areActionsDisabled:_0x20a185,showUnchangedParts:_0x29707a,availableActions:_0x3c9688}=_0x16157a;this['_areActionsDisabled']=_0x20a185,this['_showUnchangedParts']=_0x29707a,this['_availableActions']=_0x3c9688,this['set']('hasPendingParts',!0x1),this['set']('isTrackChangesOn',!0x1),this['_children']=this['createCollection'](),this['_updateContentPartsPromiseQueue']=new _0x2f912b(),this['_emptyPartsWarningView']=new AIChatFeedErrorItemView({'id':'empty-parts-warning','initialContent':getTranslation$i(_0x4be792,'AI_SUGGESTION_EMPTY_PART_WARNING'),'level':'warning'}),this['_emptyPartsWarningView']['isVisible']=!0x1,this['_actionsView']=new AIChatFeedSuggestionItemActionsView(_0x4be792,_0x16157a['availableActions'],this['_areActionsDisabled']),this['_actionsView']['bind']('isTrackChangesOn')['to'](this),this['_sourcesView']=new _0xf65302(this['locale'],_0x16157a['bodyCollection']),_0x16157a['areActionsDisabled']?this['_actionsView']['isEnabled']=!0x1:this['_actionsView']['bind']('isEnabled')['to'](this,'hasPendingParts'),this['_actionsView']['delegate'](..._0x2dcce3)['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__body']},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__body__content-parts']},'children':this['_children']},this['_emptyPartsWarningView'],this['_actionsView'],this['_sourcesView']]});}get['partsCount'](){return this['_children']['length'];}async['updateContentParts']({parts:_0x34ec32,renderingStrategy:_0xb0d796,abortSignal:_0x15e509}){this['_children']['length']?_0x34ec32['forEach'](_0x1ca54f=>{const _0x419732=this['_cachedContentParts']['findIndex'](_0x3b82ea=>_0x3b82ea['index']==_0x1ca54f['index']);-0x1===_0x419732?this['_cachedContentParts']['push'](_0x1ca54f):this['_cachedContentParts'][_0x419732]=_0x1ca54f;}):this['_cachedContentParts']=_0x34ec32;const _0x2c6b22=this['_showUnchangedParts']?_0x34ec32:_0x34ec32['filter'](_0x3cf111=>_0x3cf111['hasChanges']);this['_actionsView']['_switchButtonLabelsPlurality'](_0x2c6b22['length']>0x1);for(const _0x1c0f31 of _0x2c6b22)this['_updateContentPartsPromiseQueue']['enqueue'](async _0x10cafd=>{let _0x211895=this['getPartView'](_0x1c0f31['index']);_0x211895||(_0x211895=new AISuggestionBodyViewContentPartView(this['locale'],{'part':_0x1c0f31,'uiIndex':this['_children']['length']+0x1,'areActionsDisabled':this['_areActionsDisabled'],'availableActions':this['_availableActions']}),_0x211895['delegate'](..._0x2dcce3)['to'](this),this['_children']['add'](_0x211895),this['hasPendingParts']=!0x0),await _0x211895['updateContent']({'part':_0x1c0f31,'renderingStrategy':_0xb0d796,'showUnchangedParts':this['_showUnchangedParts'],'abortSignal':_0x10cafd}),_0x211895['markAsDone']();});return _0x15e509?.['addEventListener']('abort',()=>{this['_updateContentPartsPromiseQueue']['abort']();}),this['_updateContentPartsPromiseQueue']['queueEmptyPromise'];}['updatePartState'](_0x3492a0,_0x1f684d){const _0x3369ea=this['getPartView'](_0x3492a0);_0x3369ea&&(_0x3369ea['state']=_0x1f684d),this['hasPendingParts']='pending'==_0x1f684d||Array['from'](this['_children'])['some'](_0x1d775c=>'pending'==_0x1d775c['state']);}['setPartActive'](_0x39d317,_0x457571){if(!0x1===_0x39d317){for(const _0x4999fb of this['_children'])_0x4999fb['isActive']=!0x1;}else{const _0x333b9d=this['getPartView'](_0x39d317);_0x333b9d&&(_0x333b9d['isActive']=_0x457571);}}['updateSources'](_0x37a3df){_0x37a3df['forEach'](_0x71199=>this['_sourcesView']['addSource'](_0x71199)),this['_sourcesView']['isVisible']=!0x0;}['getPartView'](_0x3baa02){return this['_children']['find'](_0x42c290=>_0x42c290['partDefinition']['index']==_0x3baa02)??null;}['markAsDone'](){if(!this['_showUnchangedParts']){const _0x284567=!this['_cachedContentParts']['find'](({hasChanges:_0x57ce5f})=>_0x57ce5f),_0x448e97=!!this['_cachedContentParts']['find'](({hasChanges:_0x50c11b})=>!_0x50c11b);this['_emptyPartsWarningView']['isVisible']=0x0==this['_children']['length']||_0x448e97,_0x284567?this['_emptyPartsWarningView']['setContent'](getTranslation$i(this['locale'],'AI_SUGGESTION_NO_PARTS_WARNING')):this['_emptyPartsWarningView']['setContent'](getTranslation$i(this['locale'],'AI_SUGGESTION_EMPTY_PART_WARNING'));}this['_children']['forEach'](_0x4b1a90=>_0x4b1a90['markAsDone']()),this['_actionsView']['updateVisibility'](this['hasNonEmptyParts']);}get['hasNonEmptyParts'](){return this['_children']['filter'](_0x2c31f3=>_0x2c31f3['partDefinition']['hasChanges'])['length']>0x0;}}class AISuggestionContainerView extends ckeditor5['View']{['bodyView'];['children'];['headerView'];constructor(_0xe9b47,_0x1c1867,_0x124d30){super(_0xe9b47);const {showDiff:_0xcca9ab,areActionsDisabled:_0x121205,showUnchangedParts:_0x53314e,availableActions:_0x2a65d0}=_0x1c1867;this['set']('isTrackChangesOn',!0x1),this['set']('areChangesVisible',!0x1),this['children']=this['createCollection'](),this['headerView']=new AISuggestionHeaderView(_0xe9b47,{'showDiff':_0xcca9ab}),this['headerView']['on']('toggleShowChanges',(_0x523af0,_0x2d7879)=>{this['areChangesVisible']=_0x2d7879['isOn'],this['fire']('toggleSuggestionDisplayMode',{'showDiff':_0x2d7879['isOn']});}),this['children']['add'](this['headerView']),this['bodyView']=new AISuggestionBodyView(_0xe9b47,{'areActionsDisabled':_0x121205,'showUnchangedParts':!!_0x53314e,'availableActions':_0x2a65d0,'bodyCollection':_0x124d30}),this['bodyView']['delegate'](..._0x2dcce3)['to'](this),this['bodyView']['bind']('isTrackChangesOn')['to'](this),this['children']['add'](this['bodyView']),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__container','ck-rounded-corners']},'children':this['children']});}async['updateContent'](_0x35d6d2){await this['bodyView']['updateContentParts'](_0x35d6d2);}['updateSources'](_0x405979){this['bodyView']['updateSources'](_0x405979);}['markAsDone'](){this['bodyView']['markAsDone'](),this['headerView']&&(this['headerView']['isShowChangesToggleVisible']=this['bodyView']['hasNonEmptyParts']);}}class AIChatFeedSuggestionItemView extends AIChatFeedItemView{['containerView'];constructor(_0x165bf1,_0x4a76b7,_0x338397){super(_0x4a76b7),this['set']('isTrackChangesOn',!0x1),this['containerView']=new AISuggestionContainerView(_0x165bf1,{'showDiff':_0x4a76b7['showDiff'],'areActionsDisabled':_0x4a76b7['areActionsDisabled'],'availableActions':_0x4a76b7['availableActions']},_0x338397),this['containerView']['on']('toggleSuggestionDisplayMode',(_0x2a66f4,_0x3772a5)=>{this['fire']('toggleSuggestionDisplayMode',{'replyId':this['options']['id'],'showDiff':_0x3772a5['showDiff']});}),this['containerView']['bind']('isTrackChangesOn')['to'](this),this['containerView']['on']('like',()=>{this['fire']('like',{'replyId':this['options']['id']});}),this['containerView']['on']('dislike',()=>{this['fire']('dislike',{'replyId':this['options']['id']});}),this['containerView']['on']('showChangeInText',(_0x43439c,{index:_0x51fd14})=>{this['fire']('showChangeInText',{'replyId':this['options']['id'],'partIndex':_0x51fd14});}),this['containerView']['on']('applySuggestion',(_0x34e38a,{index:_0x1d84a7}={})=>{this['fire']('applySuggestion',{'replyId':this['options']['id'],'partIndex':_0x1d84a7});}),this['containerView']['on']('insertSuggestion',(_0x5568fe,{index:_0x470244}={})=>{this['fire']('insertSuggestion',{'replyId':this['options']['id'],'partIndex':_0x470244});}),this['containerView']['on']('rejectSuggestion',(_0xc4106,{index:_0x49cf20})=>{this['fire']('rejectSuggestion',{'replyId':this['options']['id'],'partIndex':_0x49cf20});}),this['containerView']['on']('mouseOverSuggestion',(_0x56701c,{index:_0x2787e8})=>{this['fire']('mouseOverSuggestion',{'replyId':this['options']['id'],'partIndex':_0x2787e8});}),this['containerView']['on']('mouseLeaveSuggestion',(_0x53c18a,{index:_0x2b850c})=>{this['fire']('mouseLeaveSuggestion',{'replyId':this['options']['id'],'partIndex':_0x2b850c});}),this['children']['addMany']([this['containerView']]),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__ai-suggestion']}});}async['updateContent'](_0x2cd95){await this['containerView']['updateContent'](_0x2cd95);}['updatePartState'](_0x1bdd50,_0x276dcd){this['containerView']['bodyView']['updatePartState'](_0x1bdd50,_0x276dcd);}['setPartActive'](_0x44ff88,_0x519257){!0x1===_0x44ff88?this['containerView']['bodyView']['setPartActive'](!0x1):this['containerView']['bodyView']['setPartActive'](_0x44ff88,_0x519257);}['updateSources'](_0x1e318d){this['containerView']['updateSources'](_0x1e318d);}['getPartView'](_0x5ce12a){return this['containerView']['bodyView']['getPartView'](_0x5ce12a);}['markAsDone'](){super['markAsDone'](),this['containerView']['markAsDone']();}}class AIChatFeedReplyItemView extends AIChatFeedItemView{['replyContainer'];['_bodyCollection'];constructor(_0x553ab3,_0x54f7c7,_0x42b4ea){super(_0x54f7c7),this['_bodyCollection']=_0x42b4ea,this['locale']=_0x553ab3,this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__ai-reply']}}),this['replyContainer']=new ckeditor5['View'](),this['replyContainer']['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-ai-chat__feed__ai-reply-container']}}),this['children']['add'](this['replyContainer']);}async['render'](){super['render'](),this['options']['initialContent']&&(await this['updateContent']({'parsedContent':_0xee8c6d(this['options']['initialContent']),'renderingStrategy':'static'}),this['markAsDone']());}async['updateContent']({parsedContent:_0x3da88f,renderingStrategy:_0x4150dc,abortSignal:_0x2e8240}){'streaming'===_0x4150dc?await this['streamIntoElement'](_0x3da88f,this['replyContainer']['element'],_0x2e8240):this['replyContainer']['element']['innerHTML']=_0x3653f0(_0x3da88f);}['updateSources'](_0x18b59c){const _0x1111c9=new _0xf65302(this['locale'],this['_bodyCollection']);_0x1111c9['children']['addMany'](_0x18b59c['map'](_0x627b4a=>new _0x1e2e16(this['locale'],_0x627b4a,_0x1111c9['balloonPanelView']))),_0x1111c9['isVisible']=!0x0,this['children']['add'](_0x1111c9);}}class _0x49ba5d extends ckeditor5['SpinnerView']{constructor(_0x5eaca8=void 0x0){super();const _0x28ce4b=_0x5eaca8?'ck-ai-spinner_'+_0x5eaca8:'';this['extendTemplate']({'tag':'span','attributes':{'class':['ck-ai-spinner',_0x28ce4b]}});}}const _0x7f0aaf={'file':ckeditor5['IconFileUpload'],'document':ckeditor5['IconDocument'],'web-resource':ckeditor5['IconLink'],'text':ckeditor5['IconFileUpload'],'selection':ckeditor5['IconSelection'],'mcp-tool-context':ckeditor5['IconDocument']},_0x3772b1=0x78,_0x5b4daf={'contextChip':'ck-ai-chat-context-chip','contextChipWide':'ck-ai-chat-context-chip_wide','contextChipDocument':'ck-ai-chat-context-chip_document','contextChipLabel':'ck-ai-chat-context-chip__label','contextChipTypeIcon':'ck-ai-chat-context-chip__type-icon','chipTooltip':'ck-ai-chat-context-controls__chip-tooltip'},_0x2048dd={'position':'n'};class AIChatContextItemButtonView extends ckeditor5['ButtonView']{constructor(_0x2b4ae6,_0x363cb2,_0x501d94,_0xe6e217,_0x3a7394=!0x1){super(_0x2b4ae6),this['_isAnimationOnEnterEnabled']=_0xe6e217,this['_initializeProperties'](_0x363cb2,_0x501d94,_0x3a7394),this['_setupTemplate']();}['render'](){super['render'](),this['_isAnimationOnEnterEnabled']&&this['element']&&(this['element']['classList']['add']('ck-ai-chat-context-chip_new-chip'),this['_handleAnimationEndOnce'](this['element'],()=>{this['element']&&this['element']['classList']['remove']('ck-ai-chat-context-chip_new-chip');}));}['disableAnimationOnEnter'](){this['_isAnimationOnEnterEnabled']=!0x1,this['element']&&this['element']['classList']['remove']('ck-ai-chat-context-chip_new-chip');}['_initializeProperties'](_0x3e7e8b,_0x5a5415,_0x19e4ac){this['set']('label',_0x3e7e8b['label']),this['set']('tooltip',!0x0),this['set']('itemType',_0x3e7e8b['type']),this['set']('id',_0x3e7e8b['uiId']),this['set']('readonly',_0x5a5415),this['set']('isLoading',_0x19e4ac);}['_setupTemplate'](){const _0x10e994=this['_createIconView'](),_0xef3993=this['_createRemoveButton'](),_0x35f033=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':this['_createTemplateAttributes'](_0x35f033),'children':this['_createTemplateChildren'](_0x10e994,_0xef3993,_0x35f033)});}['_createTemplateAttributes'](_0x5bf88d){return{'class':[_0x5b4daf['contextChip'],_0x5bf88d['if']('itemType',_0x5b4daf['contextChipDocument'],_0x23618b=>'document'==_0x23618b),_0x5bf88d['if']('itemType',_0x5b4daf['contextChipWide'],_0x2a5b9a=>'selection'==_0x2a5b9a)],'data-cke-tooltip-text':_0x5bf88d['to']('label',getTooltipForLabel),'data-cke-tooltip-position':_0x2048dd['position'],'data-cke-tooltip-class':_0x5b4daf['chipTooltip']};}['_createTemplateChildren'](_0x2f74d,_0x1ee0c4,_0x274cc9){const _0x36f83c=this['_createLabelElement'](_0x274cc9),_0x5b55f6=this['_createLoaderIcon']();return this['readonly']?[_0x2f74d,_0x36f83c]:[_0x2f74d,_0x5b55f6,_0x36f83c,_0x1ee0c4];}['_createLabelElement'](_0x12c720){return{'tag':'span','attributes':{'class':_0x5b4daf['contextChipLabel']},'children':[{'text':_0x12c720['to']('label')}]};}['_createRemoveButton'](){const _0x218142=new ckeditor5['ButtonView'](this['locale']);return _0x218142['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT'),'icon':ckeditor5['IconClose']}),this['_setupRemoveButtonEvent'](_0x218142),_0x218142;}['_setupRemoveButtonEvent'](_0x5122b8){_0x5122b8['on']('execute',()=>{this['fire']('removeContextItemChip',this['id']);});}['_createIconView'](){const _0x5ea989=this['bindTemplate'],_0x97fd96=new ckeditor5['IconView']();return _0x97fd96['content']=_0x7f0aaf[this['itemType']],_0x97fd96['extendTemplate']({'attributes':{'class':[_0x5b4daf['contextChipTypeIcon'],_0x5ea989['if']('isLoading','ck-hidden',_0x2368d4=>_0x2368d4)]}}),_0x97fd96;}['_handleAnimationEndOnce'](_0x89eba1,_0x158c76){if(!_0x89eba1)return;const _0x1aeb66=()=>{_0x158c76(),_0x89eba1['removeEventListener']('animationend',_0x1aeb66),_0x89eba1['removeEventListener']('webkitAnimationEnd',_0x1aeb66);};_0x89eba1['addEventListener']('animationend',_0x1aeb66),_0x89eba1['addEventListener']('webkitAnimationEnd',_0x1aeb66);}['_createLoaderIcon'](){const _0x595860=new _0x49ba5d('small');return _0x595860['bind']('isVisible')['to'](this,'isLoading',_0x4f75e5=>_0x4f75e5),_0x595860;}}function getTooltipForLabel(_0x179ed4){if(!_0x179ed4)return _0x179ed4;if(_0x179ed4['length']<=_0x3772b1)return _0x179ed4;const _0x5c2fd4=_0x179ed4['slice'](0x0,_0x3772b1),_0x469ca6=_0x5c2fd4['lastIndexOf']('\x20');return(_0x469ca6>0x0?_0x5c2fd4['slice'](0x0,_0x469ca6):_0x5c2fd4)+'…';}const _0x5ba87b={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},_0x2bb383='300px';class AIChatChipsOverflowManager{['_locale'];['_config'];['_visibleChips'];['_overflowChips'];['_showMoreButtonView']=null;['_showMoreBalloonPanelView']=null;['_containerElement']=null;['_bodyCollection'];['_parentView']=null;['_intersectionObserver']=null;['_pendingCalculation']=!0x1;constructor(_0x197d84,_0x301d8c,_0x5a8d6f,_0x56cbe2,_0x4aa8e3){this['_locale']=_0x197d84,this['_visibleChips']=_0x301d8c,this['_config']={..._0x5ba87b,..._0x5a8d6f,'cssClasses':{'controlsButton':'','calculationContainer':'ck-calculation-container',..._0x5a8d6f['cssClasses']}},this['_overflowChips']=new ckeditor5['Collection'](),this['_bodyCollection']=_0x56cbe2,this['_parentView']=_0x4aa8e3||null;}['setContainerElement'](_0x3daa10){this['_intersectionObserver']&&(this['_intersectionObserver']['disconnect'](),this['_intersectionObserver']=null),this['_containerElement']=_0x3daa10,this['_setupVisibilityObserver']();}get['showMoreButtonView'](){return this['_showMoreButtonView'];}get['overflowChips'](){return this['_overflowChips'];}['reorganizeChips'](){requestAnimationFrame(()=>{this['_checkAndHandleOverflow']();});}['showBalloonPanel'](){this['_showMoreButtonView']&&this['_showMoreBalloonPanelView']&&(this['_updateBalloonContent'](),this['_showMoreButtonView']['isOn']=!0x0,this['_showMoreBalloonPanelView']['show'](),this['_showMoreBalloonPanelView']['pin']({'target':this['_showMoreButtonView']['element'],'limiter':document['querySelector']('.ck-ai-chat')}));}['hideBalloonPanel'](){this['_showMoreButtonView']&&this['_showMoreBalloonPanelView']&&(this['_showMoreButtonView']['isOn']=!0x1,this['_showMoreBalloonPanelView']['hide']());}['clear'](){this['_overflowChips']['clear'](),this['hideBalloonPanel'](),this['_updateShowMoreButtonVisibility'](),this['_showMoreButtonView']&&(this['_showMoreButtonView']['label']=''),this['_showMoreBalloonPanelView']&&this['_showMoreBalloonPanelView']['content']['clear']();}['destroy'](){this['_intersectionObserver']&&(this['_intersectionObserver']['disconnect'](),this['_intersectionObserver']=null),this['_showMoreButtonView']&&(this['_showMoreButtonView']['destroy'](),this['_showMoreButtonView']=null),this['_showMoreBalloonPanelView']&&(this['_showMoreBalloonPanelView']['destroy'](),this['_showMoreBalloonPanelView']=null);}['_checkAndHandleOverflow'](){if(!this['_containerElement'])return;if(!this['_isContainerVisible']())return void(this['_pendingCalculation']=!0x0);this['_pendingCalculation']=!0x1;const _0x21efb1=[...this['_visibleChips'],...this['_overflowChips']],_0x279a0f=this['_createCalculationContainer'](),_0x53925d=this['_calculateOverflowInContainer'](_0x279a0f,_0x21efb1),_0x27e80b=_0x279a0f['_ancestorsToRestore'];_0x27e80b&&this['_restoreAncestorVisibility'](_0x27e80b),_0x279a0f['remove'](),this['_applyOverflowResults'](_0x21efb1,_0x53925d);}['_createShowMoreButton'](){this['_showMoreButtonView']=this['_createShowMoreButtonView'](),this['_showMoreBalloonPanelView']=this['_createShowMoreBalloonPanelView'](),this['_showMoreButtonView']['render'](),this['_containerElement']['appendChild'](this['_showMoreButtonView']['element']),this['_showMoreButtonView']['on']('execute',()=>{this['_handleShowMoreButtonClick']();}),ckeditor5['clickOutsideHandler']({'emitter':this['_showMoreBalloonPanelView'],'contextElements':[this['_showMoreBalloonPanelView']['element'],this['_showMoreButtonView']['element']],'callback':()=>this['hideBalloonPanel'](),'activator':()=>this['_showMoreButtonView']['isOn']});}['_createShowMoreButtonView'](){const _0x30d7f5=new ckeditor5['ButtonView'](this['_locale']);_0x30d7f5['set']({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x251f56=[this['_config']['cssClasses']['showMoreButton']];return this['_config']['cssClasses']['controlsButton']&&_0x251f56['push'](this['_config']['cssClasses']['controlsButton']),_0x30d7f5['extendTemplate']({'attributes':{'class':_0x251f56}}),_0x30d7f5;}['_createShowMoreBalloonPanelView'](){const _0x42aead=new ckeditor5['BalloonPanelView'](this['_locale']);return _0x42aead['extendTemplate']({'attributes':{'class':this['_config']['cssClasses']['showMoreBalloon']}}),this['_bodyCollection']['add'](_0x42aead),_0x42aead;}['_updateBalloonContent'](){if(this['_showMoreBalloonPanelView']&&(this['_showMoreBalloonPanelView']['content']['clear'](),this['_overflowChips']['length']>0x0)){this['_overflowChips']['forEach'](_0x559822=>{_0x559822['disableAnimationOnEnter']();});const _0x13410b=new ckeditor5['View'](this['_locale']);_0x13410b['setTemplate']({'tag':'div','attributes':{'class':this['_config']['cssClasses']['overflowContainer']},'children':this['_overflowChips']}),this['_showMoreBalloonPanelView']['content']['add'](_0x13410b);}}['_handleShowMoreButtonClick'](){this['_showMoreButtonView']['isOn']?this['hideBalloonPanel']():this['showBalloonPanel']();}['_updateShowMoreButtonVisibility'](){const _0x2c380c=this['_overflowChips']['length']>0x0;this['_showMoreButtonView']?.['element']&&(this['_showMoreButtonView']['element']['style']['display']=_0x2c380c?'':'none');}['_repinBalloonPanel'](){this['_showMoreButtonView']?.['isOn']&&this['_showMoreBalloonPanelView']?.['isVisible']&&this['_showMoreButtonView']['element']&&this['_showMoreBalloonPanelView']['pin']({'target':this['_showMoreButtonView']['element'],'limiter':document['querySelector']('.ck-ai-chat')});}['_findTargetContainer'](_0x34a2f6){const _0x354441=this['_containerElement']?.['tagName']['toLowerCase']()||'div',_0x25508d=this['_containerElement']?.['classList'];if(_0x25508d){const _0x5e4837=_0x25508d[0x0]||'',_0x3ec94d=_0x34a2f6['querySelector']('.'+_0x5e4837),_0x4beb65=_0x34a2f6['querySelector'](_0x354441);return _0x3ec94d||_0x4beb65||_0x34a2f6;}return _0x34a2f6['querySelector'](_0x354441)||_0x34a2f6;}['_calculateContainerWidth'](){const _0x27dfc4=this['_parentView']?.['element']||this['_containerElement'];if(!_0x27dfc4)return _0x2bb383;const _0x29aea2=window['getComputedStyle'](_0x27dfc4)['width'];if('auto'===_0x29aea2||'0px'===_0x29aea2||!_0x29aea2){const _0x4b11e1=_0x27dfc4['parentElement'];if(_0x4b11e1){const _0x36efc7=window['getComputedStyle'](_0x4b11e1);return'auto'!==_0x36efc7['width']?_0x36efc7['width']:_0x2bb383;}return _0x2bb383;}return _0x29aea2;}['_applyCalculationStyles'](_0x6c0c60,_0x31596a){this['_config']['cssClasses']['calculationContainer']&&_0x6c0c60['classList']['add'](this['_config']['cssClasses']['calculationContainer']),_0x6c0c60['style']['width']=_0x31596a,_0x6c0c60['style']['position']='absolute',_0x6c0c60['style']['top']='-9999px',_0x6c0c60['style']['left']='-9999px',_0x6c0c60['style']['opacity']='0',_0x6c0c60['style']['pointerEvents']='none',_0x6c0c60['style']['zIndex']='-1',_0x6c0c60['style']['visibility']='visible\x20!important',_0x6c0c60['style']['display']='block\x20!important',_0x6c0c60['style']['boxSizing']='border-box';}['_restoreAncestorVisibility'](_0xe28b53){_0xe28b53['forEach'](({element:_0x169285,originalDisplay:_0x2515b2,originalVisibility:_0x1de77a})=>{_0x169285['style']['display']=_0x2515b2,_0x169285['style']['visibility']=_0x1de77a;});}['_makeAncestorsVisible'](_0x3a100a){const _0x4dd035=[];let _0x25c464=_0x3a100a;for(;_0x25c464&&_0x25c464!==document['body'];){const _0x27c1d8=window['getComputedStyle'](_0x25c464);'none'!==_0x27c1d8['display']&&'hidden'!==_0x27c1d8['visibility']||(_0x4dd035['push']({'element':_0x25c464,'originalDisplay':_0x25c464['style']['display'],'originalVisibility':_0x25c464['style']['visibility']}),_0x25c464['style']['display']='block',_0x25c464['style']['visibility']='visible'),_0x25c464=_0x25c464['parentElement'];}return _0x4dd035;}['_createContainerElements'](){let _0x5d9e92,_0x55c11d;return this['_parentView']?.['element']?(_0x5d9e92=this['_parentView']['element']['cloneNode'](!0x0),_0x55c11d=this['_findTargetContainer'](_0x5d9e92)):(_0x5d9e92=document['createElement']('div'),_0x55c11d=_0x5d9e92),{'calculationContainer':_0x5d9e92,'targetContainer':_0x55c11d};}['_createCalculationContainer'](){const {calculationContainer:_0x15cb2e,targetContainer:_0x3bda40}=this['_createContainerElements'](),_0xa9a0f6=this['_calculateContainerWidth']();this['_applyCalculationStyles'](_0x15cb2e,_0xa9a0f6);const _0x3e07af=this['_parentView']?.['element']||this['_containerElement'],_0x117c3b=_0x3e07af?.['parentElement'];_0x117c3b?_0x117c3b['appendChild'](_0x15cb2e):document['body']['appendChild'](_0x15cb2e),_0x15cb2e['_targetContainer']=_0x3bda40;const _0xcc0448=this['_makeAncestorsVisible'](_0x117c3b||null);return _0x15cb2e['offsetWidth'],_0x15cb2e['_ancestorsToRestore']=_0xcc0448,_0x15cb2e;}['_calculateOverflowInContainer'](_0xf6a51,_0x3e316a){const _0x1f2d85=_0xf6a51['_targetContainer']||_0xf6a51,_0xbbba99=[],{rowCount:_0x5267c0}=this['_renderChipsAndCountRows'](_0x1f2d85,_0x3e316a);if(_0x5267c0<=this['_config']['maxVisibleRows'])return _0xbbba99;const _0x59123c=_0x3e316a['slice']();for(;_0x59123c['length']>0x0;){if(this['_testButtonFit'](_0xf6a51,_0x1f2d85,_0x59123c)){const _0x1207bb=_0x3e316a['filter'](_0x229255=>!_0x59123c['includes'](_0x229255));_0xbbba99['push'](..._0x1207bb);break;}if(!_0x59123c['pop']())break;}return _0xbbba99;}['_renderChipsAndCountRows'](_0x52d2c3,_0x204ba6){_0x52d2c3['innerHTML']='',_0x204ba6['forEach'](_0x1f48f7=>{if(_0x1f48f7['element']){const _0xfa0990=_0x1f48f7['element']['cloneNode'](!0x0);_0x52d2c3['appendChild'](_0xfa0990);}}),_0x52d2c3['offsetWidth'];const _0x23f1cd=_0x52d2c3['children'],_0xe4fa87=[];return Array['from'](_0x23f1cd)['forEach'](_0x4ceaf2=>{const _0x1df896=_0x4ceaf2['getBoundingClientRect']()['top'];_0xe4fa87['some'](_0x466cf2=>Math['abs'](_0x466cf2-_0x1df896)<this['_config']['rowDetectionTolerance'])||_0xe4fa87['push'](_0x1df896);}),{'rowCount':_0xe4fa87['length']};}['_createMockButton'](){const _0xa51951=document['createElement']('button');return _0xa51951['className']=this['_config']['cssClasses']['showMoreButton'],this['_config']['cssClasses']['controlsButton']&&_0xa51951['classList']['add'](this['_config']['cssClasses']['controlsButton']),_0xa51951['textContent']='+\x201',_0xa51951;}['_testButtonFit'](_0x1182a0,_0x8f42e7,_0xd010bb){this['_renderChipsAndCountRows'](_0x8f42e7,_0xd010bb);const _0xdf6f14=this['_createMockButton']();_0x1182a0['appendChild'](_0xdf6f14),_0x1182a0['offsetWidth'];const _0x10330f=[..._0x8f42e7['children'],_0xdf6f14],_0x49649a=[];_0x10330f['forEach'](_0xbe6fa=>{const _0x28e7aa=_0xbe6fa['getBoundingClientRect']()['top'];_0x49649a['some'](_0x1c8574=>Math['abs'](_0x1c8574-_0x28e7aa)<this['_config']['rowDetectionTolerance'])||_0x49649a['push'](_0x28e7aa);});const _0x15a16e=_0x49649a['length'];return _0xdf6f14['remove'](),_0x15a16e<=this['_config']['maxVisibleRows'];}['_distributeChips'](_0x4b7dee,_0x2292e1){this['_visibleChips']['clear'](),this['_overflowChips']['clear'](),_0x4b7dee['forEach'](_0x22c88b=>{_0x2292e1['includes'](_0x22c88b)?this['_overflowChips']['add'](_0x22c88b):this['_visibleChips']['add'](_0x22c88b);});}['_updateOverflowUI'](_0x49cf49){if(_0x49cf49>0x0&&!this['_showMoreButtonView']&&this['_createShowMoreButton'](),_0x49cf49>0x0&&this['_showMoreButtonView']){const _0x424539=''+this['_config']['showMoreLabelPrefix']+(_0x49cf49<0x63?_0x49cf49:'99');this['_showMoreButtonView']['label']=_0x424539;}this['_updateBalloonContent'](),this['_updateShowMoreButtonVisibility'](),this['_repinBalloonPanel']();}['_applyOverflowResults'](_0x1d79aa,_0x320cc0){this['_distributeChips'](_0x1d79aa,_0x320cc0),this['_updateOverflowUI'](_0x320cc0['length']);}['_setupVisibilityObserver'](){this['_containerElement']&&'undefined'!=typeof IntersectionObserver&&(this['_intersectionObserver']=new IntersectionObserver(_0x52d238=>{_0x52d238[0x0]['isIntersecting']&&this['_pendingCalculation']&&requestAnimationFrame(()=>{this['_checkAndHandleOverflow']();});},{'threshold':0.01,'rootMargin':'50px'}),this['_intersectionObserver']['observe'](this['_containerElement']));}['_isContainerVisible'](){if(!this['_containerElement'])return!0x1;if(!this['_containerElement']['isConnected'])return!0x1;const _0x3cd917=this['_containerElement']['getBoundingClientRect']();if(0x0===_0x3cd917['width']||0x0===_0x3cd917['height'])return!0x1;const _0x5ac181=window['innerHeight']||document['documentElement']['clientHeight'],_0x407e26=window['innerWidth']||document['documentElement']['clientWidth'],_0x47e4f4=0xc8;return _0x3cd917['bottom']>=-0xc8&&_0x3cd917['top']<=_0x5ac181+_0x47e4f4&&_0x3cd917['right']>=-0xc8&&_0x3cd917['left']<=_0x407e26+_0x47e4f4;}}const _0x58c77c={'CONTEXT_CHIPS':'ck-ai-chat__feed__context-chips','CONTEXT_CHIPS_VISIBLE':'ck-ai-chat-context-chips-wrapper','CONTEXT_CHIPS_OVERFLOW':'ck-ai-chat-context-chips-wrapper-balloon','CONTROLS_BUTTON':'ck-ai-chat-controls-button','SHOW_MORE_BUTTON':'ck-ai-chat-controls_context_show-more-button','SHOW_MORE_BALLOON':'ck-ai-chat-context-controls__show-more-balloon-panel'};class AIChatFeedContextChipsView extends ckeditor5['View']{['_contextChips']=this['createCollection']();['_overflowManager'];['_bodyCollection'];constructor(_0x17ace0,_0x18a165,_0x3d00d0){super(_0x17ace0),this['_bodyCollection']=_0x3d00d0,this['_createContextChips'](_0x18a165);const _0x5bbe46={'cssClasses':{'showMoreButton':_0x58c77c['SHOW_MORE_BUTTON'],'showMoreBalloon':_0x58c77c['SHOW_MORE_BALLOON'],'overflowContainer':_0x58c77c['CONTEXT_CHIPS_OVERFLOW'],'controlsButton':_0x58c77c['CONTROLS_BUTTON']}};this['_overflowManager']=new AIChatChipsOverflowManager(_0x17ace0,this['_contextChips'],_0x5bbe46,this['_bodyCollection'],this),this['setTemplate']({'tag':'div','attributes':{'class':[_0x58c77c['CONTEXT_CHIPS'],'ck','ck-reset_all']},'children':[{'tag':'div','attributes':{'class':_0x58c77c['CONTEXT_CHIPS_VISIBLE']},'children':this['_contextChips']}]});}['render'](){super['render']();const _0x226bbe=this['element']['querySelector']('.'+_0x58c77c['CONTEXT_CHIPS_VISIBLE']);_0x226bbe&&(this['_overflowManager']['setContainerElement'](_0x226bbe),this['_overflowManager']['reorganizeChips']());}['destroy'](){super['destroy'](),this['_overflowManager']['destroy']();}['_createContextChips'](_0x37bfa1){for(const _0x21c84 of _0x37bfa1){const _0x283828=new AIChatContextItemButtonView(this['locale'],_0x21c84,!0x0,!0x1);this['_contextChips']['add'](_0x283828);}}}class AIChatFeedUserMessageItemView extends AIChatFeedItemView{['_contextChipsView']=null;['_locale'];['_bodyCollection'];['_messageContentView'];constructor(_0x1873ed,_0x3ba295,_0x1d40d2){super(_0x3ba295),this['_locale']=_0x1873ed,this['_bodyCollection']=_0x1d40d2,this['_createContextChipsView'](),this['_createMessageContentView'](),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__user-message']}});}['_createContextChipsView'](){this['options']['contextItems']&&this['options']['contextItems']['length']>0x0&&(this['_contextChipsView']=new AIChatFeedContextChipsView(this['_locale'],this['options']['contextItems']['filter'](_0x4d9b2a=>!_0x4d9b2a['hidden']),this['_bodyCollection']),this['_contextChipsView']['extendTemplate']({'attributes':{'class':'ck-ai-chat__feed__context-chips'}}),this['children']['add'](this['_contextChipsView']));}['_createMessageContentView'](){this['_messageContentView']=new ckeditor5['View'](this['_locale']),this['_messageContentView']['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-chat__feed__message-content'}}),this['children']['add'](this['_messageContentView']);}['render'](){super['render'](),this['_messageContentView']['element']['innerHTML']=this['options']['initialContent'],this['markAsDone']();}}class AIChatFeedInteractionHeaderView extends AIChatFeedItemView{['capabilities'];constructor(_0x6f149c,_0xd6b19b){super(_0xd6b19b);const {isWebSearchEnabled:_0x5b0fe8,isReasoningEnabled:_0x39753a}=_0xd6b19b['capabilities'],_0x270d2f=[];let _0x2d17e9='';_0x5b0fe8&&_0x39753a?(_0x2d17e9=getTranslation$i(_0x6f149c,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING'),_0x270d2f['push'](createIcon(ckeditor5['IconWeb'])),_0x270d2f['push'](createIcon(ckeditor5['IconBulb']))):_0x5b0fe8?(_0x2d17e9=getTranslation$i(_0x6f149c,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH'),_0x270d2f['push'](createIcon(ckeditor5['IconWeb']))):_0x39753a&&(_0x2d17e9=getTranslation$i(_0x6f149c,'AI_CHAT_FEED_REPLY_ITEM_USED_REASONING'),_0x270d2f['push'](createIcon(ckeditor5['IconBulb']))),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__interaction-header',_0x2d17e9?'':'ck-hidden']}});const _0x3250a1=new ckeditor5['View']();_0x3250a1['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__interaction-header__capabilities']},'children':[..._0x270d2f,{'tag':'span','attributes':{'class':['ck-ai-chat__feed__interaction-header__capabilities__text']},'children':[_0x2d17e9]}]}),this['children']['add'](_0x3250a1),this['capabilities']=_0xd6b19b['capabilities'];}}function createIcon(_0x386dbf){const _0x32b006=new ckeditor5['IconView']();return _0x32b006['content']=_0x386dbf,_0x32b006;}const _0x1b7731=0x5,_0x38d1c0=['wheel','touchstart','pointerdown','keydown'],_0x44ae20=['ArrowUp','ArrowDown','PageUp','PageDown','Home','End','\x20'];class _0x302436{['element'];['animationFrameId'];['isRunning'];['abortController'];['isUserPaused'];constructor(_0x29e716){this['element']=_0x29e716,this['animationFrameId']=null,this['isRunning']=!0x1,this['abortController']=new AbortController(),this['isUserPaused']=!0x1;for(const _0x18e9b2 of _0x38d1c0){const _0x514bc5='keydown'!==_0x18e9b2;this['element']['addEventListener'](_0x18e9b2,this['_onUserEvent']['bind'](this),{'passive':_0x514bc5,'signal':this['abortController']['signal']});}}['start'](){this['isRunning']||(this['isRunning']=!0x0,this['isUserPaused']=!0x1,this['animationFrameId']=requestAnimationFrame(this['_rafUpdate']['bind'](this)));}['stop'](){requestAnimationFrame(()=>{this['_stop']();});}['destroy'](){this['_stop'](),this['abortController']['abort']();}['_stop'](){null!==this['animationFrameId']&&(cancelAnimationFrame(this['animationFrameId']),this['animationFrameId']=null),this['isRunning']&&(this['isRunning']=!0x1),this['isUserPaused']=!0x1;}['_onUserEvent'](_0x3bd27b){if(this['isRunning']){if('keydown'===_0x3bd27b['type']){const _0x182445=_0x3bd27b['key'];if(!_0x44ae20['includes'](_0x182445))return;}_0x3bd27b instanceof WheelEvent?_0x3bd27b['deltaY']<0x0?this['isUserPaused']=!0x0:this['isUserPaused']=!this['_isAtBottom']():this['isUserPaused']=!0x0;}}['_isAtBottom'](){const {scrollTop:_0x1402bb,scrollHeight:_0x997a06,clientHeight:_0x3eda8e}=this['element'];return _0x997a06-_0x1402bb-_0x3eda8e<=_0x1b7731;}['_rafUpdate'](){this['isRunning']&&(this['isUserPaused']||this['element']['scrollTo']({'top':this['element']['scrollHeight'],'behavior':'auto'}),this['animationFrameId']=requestAnimationFrame(this['_rafUpdate']['bind'](this)));}}class AISkeletonView extends ckeditor5['View']{constructor(_0x2daf72,_0x670913){super(_0x2daf72),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-skeleton']},'children':this['_createSkeletonItems'](_0x670913)});}['_createSkeletonItems'](_0x1eaefc){const _0x2639f1=['ck','ck-ai-skeleton__item'];return _0x1eaefc['map'](_0x4c73c4=>{let _0x15e99f='';switch(_0x4c73c4['attributes']['align']){case'right':_0x15e99f='margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;';break;case'center':_0x15e99f='margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;';break;case'left':_0x15e99f='margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;';}return{'tag':_0x4c73c4['tag'],'attributes':{'class':[..._0x2639f1,_0x4c73c4['attributes']['class']?_0x4c73c4['attributes']['class']:''],'style':'width:\x20'+_0x4c73c4['attributes']['width']+';\x20height:\x20'+_0x4c73c4['attributes']['height']+';'+_0x15e99f}};});}}const _0x61aa3f={'aiFeed':[{'tag':'div','attributes':{'width':'100%','height':'72px','align':'right'}},{'tag':'div','attributes':{'width':'250px','height':'40px','align':'right'}},{'tag':'div','attributes':{'width':'100%','height':'88px','align':'right'}},{'tag':'div','attributes':{'width':'150px','height':'40px','align':'right'}},{'tag':'div','attributes':{'width':'100%','height':'140px','align':'right'}},{'tag':'div','attributes':{'width':'250px','height':'40px','align':'right'}},{'tag':'div','attributes':{'width':'100%','height':'88px','align':'right'}}],'aiHistory':generateSkeletonDefinitions(0x5,'100%','44px','right'),'aiChatResources':generateSkeletonDefinitions(0x8,'100%','24px','right'),'aiReviewChecks':[{'tag':'div','attributes':{'width':'128px','height':'24px','align':'left'}},{'tag':'div','attributes':{'width':'100%','height':'24px','align':'left'}},{'tag':'div','attributes':{'width':'128px','height':'24px','align':'left'}}]};function generateSkeletonDefinitions(_0x343b1a,_0x4dbb34,_0x59ee29,_0x3a1cdc){return new Array(_0x343b1a)['fill'](null)['map'](()=>({'tag':'div','attributes':{'width':_0x4dbb34,'height':_0x59ee29,'align':_0x3a1cdc}}));}class AIChatFeedCustomElementView extends AIChatFeedItemView{constructor(_0x5985ec){super(_0x5985ec),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__custom-element']}});}async['render'](){super['render'](),'string'==typeof this['options']['content']?this['element']['innerHTML']=this['options']['content']:this['element']['appendChild'](this['options']['content']);}}class AIChatFeedView extends ckeditor5['View']{['children'];['scrollManager'];['_bodyCollection'];constructor(_0x4020ae,_0x43cb27){super(_0x4020ae),this['_bodyCollection']=_0x43cb27,this['set']('isPending',!0x1),this['set']('loadingMessage',''),this['set']('isLoadingSkeletonVisible',!0x1),this['set']('isTrackChangesOn',!0x1),this['children']=this['createCollection'](),this['children']['delegate'](..._0x3c46ea)['to'](this),this['_setupTemplate']();}['render'](){super['render'](),this['scrollManager']=new _0x302436(this['element']);}['destroy'](){super['destroy'](),this['scrollManager']['destroy']();}['clear'](){this['children']['clear']();}['addItem'](_0x3c18ca,_0x5e4182){let _0x7f794d;return'ai-reply'===_0x3c18ca?_0x7f794d=new AIChatFeedReplyItemView(this['locale'],_0x5e4182,this['_bodyCollection']):'ai-suggestion-reply'===_0x3c18ca?(_0x7f794d=new AIChatFeedSuggestionItemView(this['locale'],_0x5e4182,this['_bodyCollection']),_0x7f794d['bind']('isTrackChangesOn')['to'](this)):_0x7f794d='user-message'===_0x3c18ca?new AIChatFeedUserMessageItemView(this['locale'],_0x5e4182,this['_bodyCollection']):'interaction-header'===_0x3c18ca?new AIChatFeedInteractionHeaderView(this['locale'],_0x5e4182):'custom-element'===_0x3c18ca?new AIChatFeedCustomElementView(_0x5e4182):new AIChatFeedErrorItemView(_0x5e4182),this['children']['add'](_0x7f794d),_0x7f794d;}async['updateReplyItem']({id:_0x12829a,parsedContent:_0x10676b,renderingStrategy:_0x28dd11,abortSignal:_0x8721ad}){const _0x29e3de=this['getItemById'](_0x12829a);if(!(_0x29e3de instanceof AIChatFeedReplyItemView))throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-a-reply-item',null,{'itemView':_0x29e3de,'id':_0x12829a,'parsedContent':_0x10676b});await _0x29e3de['updateContent']({'parsedContent':_0x10676b,'renderingStrategy':_0x28dd11,'abortSignal':_0x8721ad});}async['updateWebSources'](_0x224a52,_0x530d6){const _0x26e162=this['getItemById'](_0x224a52);if(_0x26e162 instanceof AIChatFeedSuggestionItemView)_0x26e162['updateSources'](_0x530d6);else{if(!(_0x26e162 instanceof AIChatFeedReplyItemView))throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-or-reply-item',null,{'itemView':_0x26e162,'id':_0x224a52,'sources':_0x530d6});_0x26e162['updateSources'](_0x530d6);}}async['updateSuggestionItem']({id:_0x40ea64,parts:_0x5ef77c,renderingStrategy:_0x303abe,abortSignal:_0x277355}){const _0x1d04db=this['getItemById'](_0x40ea64);if(!(_0x1d04db instanceof AIChatFeedSuggestionItemView))throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',null,{'itemView':_0x1d04db,'id':_0x40ea64,'parts':_0x5ef77c});await _0x1d04db['updateContent']({'parts':_0x5ef77c,'renderingStrategy':_0x303abe,'abortSignal':_0x277355});}['updateSuggestionPartState']({id:_0xafddc4,index:_0x6abd33,state:_0x579431}){const _0xfde632=this['getItemById'](_0xafddc4);if(!(_0xfde632 instanceof AIChatFeedSuggestionItemView))throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0xafddc4});_0xfde632['updatePartState'](_0x6abd33,_0x579431);}['setSuggestionPartActive']({id:_0x1e3a80,index:_0x4c0404,isActive:_0x50fa4a}){const _0x542e53=this['getItemById'](_0x1e3a80);if(!(_0x542e53 instanceof AIChatFeedSuggestionItemView))throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0x1e3a80});this['children']['filter'](_0x340874=>_0x340874 instanceof AIChatFeedSuggestionItemView)['forEach'](_0x3264eb=>{_0x3264eb['setPartActive'](!0x1);}),_0x542e53['setPartActive'](_0x4c0404,_0x50fa4a);}['markItemAsDone'](_0x38cc1d){this['getItemById'](_0x38cc1d)['markAsDone']();}['getItemIds'](){return this['children']['map'](_0x20dd53=>_0x20dd53['options']['id']);}['removeItem'](_0x3e1b1e){this['children']['remove'](this['getItemById'](_0x3e1b1e));}['hasItem'](_0xf9997e){return!!this['children']['find'](_0x3b2e36=>_0x3b2e36['options']['id']['includes'](_0xf9997e));}['scrollToSuggestion'](_0x43178e,_0x43d707){const _0x49f1e=this['getItemById'](_0x43178e);if(!(_0x49f1e instanceof AIChatFeedSuggestionItemView))return void ckeditor5['logWarning']('ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item',{'replyId':_0x43178e,'partIndex':_0x43d707});const _0x5dcac1=_0x49f1e['getPartView'](_0x43d707);_0x5dcac1?ckeditor5['scrollAncestorsToShowTarget'](_0x5dcac1['element'],0x14,this['element']['parentElement'],!0x0,!0x0):ckeditor5['logWarning']('ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found',{'replyId':_0x43178e,'partIndex':_0x43d707});}['_setupTemplate'](){this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed']},'children':this['_createTemplateChildren']()});}['_createTemplateChildren'](){const _0x9ce206=this['_createSkeletonLoader']();return[this['_createFeedItems'](),_0x9ce206,this['_createFeedLoader']()];}['_createSkeletonLoader'](){const _0x2b8f2d=new AISkeletonView(this['locale'],_0x61aa3f['aiFeed']);return _0x2b8f2d['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isLoadingSkeletonVisible','ck-hidden',_0x554d2c=>!_0x554d2c)]}}),_0x2b8f2d;}['_createFeedItems'](){const _0x4079d4=new ckeditor5['View'](this['locale']);return _0x4079d4['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__items',this['bindTemplate']['if']('isLoadingSkeletonVisible','ck-hidden')]},'children':this['children']}),_0x4079d4;}['_createFeedLoader'](){const _0x976bf2=new ckeditor5['View'](this['locale']);return _0x976bf2['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__loader',this['bindTemplate']['if']('isPending','ck-hidden',_0x321a29=>!_0x321a29)]},'children':this['_createLoaderChildren']()}),_0x976bf2;}['_createLoaderChildren'](){const _0x5ab3c4=new _0x49ba5d();return _0x5ab3c4['isVisible']=!0x0,[_0x5ab3c4,{'tag':'span','attributes':{'class':['ck','ck-ai-chat__loader-text']},'children':[{'text':this['bindTemplate']['to']('loadingMessage')}]}];}['getItemById'](_0x13b842){const _0x21cd36=this['children']['find'](_0x539bda=>_0x539bda['options']['id']['includes'](_0x13b842));if(!_0x21cd36)throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-found',this,{'id':_0x13b842});return _0x21cd36;}['setLoadingMessage'](_0x2988b4){this['set']('loadingMessage',_0x2988b4);}['toggleLoadingSkeleton'](_0x1a928a){this['set']('isLoadingSkeletonVisible',_0x1a928a);}['startAutoScroll'](){this['scrollManager']['start']();}['stopAutoScroll'](){this['scrollManager']['stop']();}}class AIChatPromptSuggestionsListView extends ckeditor5['ListView']{['filter'](){let _0x2ac55e=0x0;for(const _0x39359a of this['items'])_0x2ac55e+=_0x39359a['items']['length'];return{'resultsCount':_0x2ac55e,'totalItemsCount':_0x2ac55e};}}const _0x12a6f5=0x320,_0x454adc='ck-ai-chat__prompt-input_highlighted';class AIChatPromptInputView extends ckeditor5['AutocompleteView']{['submitButtonView'];static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;['_addContextButtonView'];['_queryViewResizeObserver'];constructor(_0xc008fa,_0x4afc9c){super(_0xc008fa,{'queryView':{'label':'','creator':ckeditor5['createLabeledTextarea'],'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new AIChatPromptSuggestionsListView(_0xc008fa),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this['set']('isEmpty',!0x0),this['set']('isUploadInProgress',!0x1),this['_addContextButtonView']=_0x4afc9c,this['_queryViewResizeObserver']=null,this['queryView']['fieldView']['minRows']=AIChatPromptInputView['MIN_ROWS'],this['queryView']['fieldView']['maxRows']=AIChatPromptInputView['MAX_ROWS'],this['queryView']['fieldWrapperChildren']['add'](this['_addContextButtonView']),this['_setUpAddContextButtonPositioning'](),this['extendTemplate']({'attributes':{'class':['ck','ck-ai-chat__prompt-input']}}),this['submitButtonView']=this['_createSubmitButton'](),this['submitButtonView']['bind']('isEnabled')['to'](this,'isEmpty',this,'isUploadInProgress',(_0x30fa96,_0x1ac954)=>!_0x30fa96&&!_0x1ac954),this['focusableChildren']['add'](this['submitButtonView']);}['render'](){super['render'](),this['queryView']['fieldWrapperChildren']['add'](this['submitButtonView']),this['keystrokes']['set']('enter',(_0x190c3c,_0x50d20a)=>{this['isUploadInProgress']||this['isEmpty']||_0x190c3c['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x50d20a());}),this['queryView']['fieldView']['on']('update',()=>{this['isEmpty']=''===this['queryView']['fieldView']['element']['value']?.['trim']();});}['destroy'](){super['destroy'](),this['_queryViewResizeObserver']&&this['_queryViewResizeObserver']['destroy']();}['submit'](){const _0x2af75e=this['queryView']['fieldView']['element']['value']?.['trim']();if(!_0x2af75e)return this['queryView']['errorText']=getTranslation$i(this['locale'],'AI_CHAT_PROMPT_EMPTY_ERROR'),void(this['queryView']['fieldView']['hasError']=!0x0);this['queryView']['fieldView']['hasError']=!0x1;const _0x2ff505=_0x461292(_0x2af75e);this['fire']('sendUserMessage',_0x2ff505),this['queryView']['fieldView']['reset']();}['setPlaceholderText'](_0x18abe5){this['queryView']['fieldView']['set']('placeholder',_0x18abe5);}['focus'](_0x18243c=!0x1){super['focus'](),_0x18243c&&(this['element']['classList']['contains'](_0x454adc)||(this['element']['classList']['add'](_0x454adc),setTimeout(()=>{this['element']['classList']['remove'](_0x454adc);},_0x12a6f5)));}['_createSubmitButton'](){const _0x256d33=new ckeditor5['ButtonView'](this['locale']);return _0x256d33['set']({'icon':ckeditor5['IconSubmit'],'label':getTranslation$i(this['locale'],'AI_CHAT_LABEL_SUBMIT'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-chat__prompt-submit-button','isEnabled':!0x1}),_0x256d33['on']('execute',()=>{this['submit']();}),_0x256d33;}['setIsUploadInProgress'](_0x26197e){this['isUploadInProgress']=_0x26197e;}['_setUpAddContextButtonPositioning'](){const _0x52dfa7=this['locale'],_0x1b9747=()=>{ckeditor5['global']['window']['requestAnimationFrame'](()=>{if(ckeditor5['isVisible'](this['element'])){const _0x3a24f6=new ckeditor5['Rect'](this['queryView']['fieldView']['element']),_0x317c3c=new ckeditor5['Rect'](this['_addContextButtonView']['element']),_0x4c456b=_0x3a24f6['width'],_0x8dc9ff='rtl'===_0x52dfa7['uiLanguageDirection']?'right':'left';_0x3a24f6['excludeScrollbarsAndBorders']();const _0xde83de=_0x4c456b-_0x3a24f6['width']+0x1;this['_addContextButtonView']['element']['style'][_0x8dc9ff]='calc('+(_0x4c456b-_0x317c3c['width']-_0xde83de)+'px\x20-\x20var(--ck-spacing-tiny))';}});};this['queryView']['fieldView']['on']('update',_0x1b9747),this['on']('render',()=>{_0x1b9747(),this['_queryViewResizeObserver']=new ckeditor5['ResizeObserver'](this['queryView']['fieldView']['element'],()=>{_0x1b9747();});});}}const _0x49793d={'PROMPT_CAPABILITIES':'ck-ai-chat__prompt-capabilities','CONTROLS_BUTTON':'ck-ai-chat-controls-button','COMMANDS_BUTTON':'ck-ai-chat-controls-button--commands','TERTIARY_BUTTON':'ck-ai-button-tertiary','MODEL_SELECTION':'ck-ai-chat-controls__model-selection','MODEL_SELECTION_ITEM_NAME':'ck-ai-chat-controls__model-selection__item-name','MODEL_SELECTION_ITEM_DESCRIPTION':'ck-ai-chat-controls__model-selection__item-description','MODEL_SELECTION_ITEM_CAPABILITIES':'ck-ai-chat-controls__model-selection__item-capabilities'},_0x8d94df='n';class AIChatPromptCapabilitiesView extends ckeditor5['View']{['_webSearchButton'];['_reasoningButton'];['_commandsButton'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_modelNameView'];constructor(_0x99c1d0){super(_0x99c1d0),this['set']('webSearchActive',!0x1),this['set']('reasoningActive',!0x1),this['set']('modelDisplayMode','selector'),this['set']('modelSelectorEnabled',!0x0),this['set']('activeModelId',null),this['set']('activeModelName',null),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelNameView']=this['_createModelNameView'](),this['_webSearchButton']=this['_createWebSearchButton'](),this['_reasoningButton']=this['_createReasoningButton'](),this['_commandsButton']=this['_createCommandsButton'](),this['_modelSelectionDropdown']['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0xd0e061=>'selector'===_0xd0e061),this['_modelSelectionDropdown']['buttonView']['bind']('tooltip')['to'](this,'modelSelectorEnabled',_0x93c745=>_0x93c745?this['_modelSelectionDropdown']['buttonView']['label']:getTranslation$i(this['locale'],'AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP')),this['_modelSelectionDropdown']['bind']('isEnabled')['to'](this,'modelSelectorEnabled',_0x2b7164=>_0x2b7164),this['_webSearchButton']['bind']('isOn')['to'](this,'webSearchActive',_0x4f0871=>_0x4f0871),this['_webSearchButton']['bind']('tooltip')['to'](this,'webSearchActive',_0x2fd0d9=>getTranslation$i(this['locale'],_0x2fd0d9?'AI_CHAT_DISABLE_WEB_SEARCH':'AI_CHAT_ENABLE_WEB_SEARCH')),this['_reasoningButton']['bind']('isOn')['to'](this,'reasoningActive',_0x96cc3a=>_0x96cc3a),this['_reasoningButton']['bind']('tooltip')['to'](this,'reasoningActive',_0x4d87b4=>getTranslation$i(this['locale'],_0x4d87b4?'AI_CHAT_DISABLE_REASONING':'AI_CHAT_ENABLE_REASONING')),this['setTemplate']({'tag':'div','attributes':{'class':[_0x49793d['PROMPT_CAPABILITIES']]},'children':[this['_modelSelectionDropdown'],this['_modelNameView'],this['_webSearchButton'],this['_reasoningButton'],this['_commandsButton']]}),this['_modelSelectionDropdownItems']=new ckeditor5['Collection'](),ckeditor5['addListToDropdown'](this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']);}['setModelList'](_0x5d3794,_0x506845){if(_0x506845)this['set']('modelDisplayMode','hidden');else{const _0x43f6b0=0x1===_0x5d3794['length'];this['set']('modelDisplayMode',_0x43f6b0?'name':'selector');}if(this['_modelSelectionDropdownItems']['clear'](),_0x5d3794?.['length'])for(const _0x378fd6 of _0x5d3794){const _0x2d3333=new ckeditor5['UIModel']({'label':_0x378fd6['name'],'withText':!0x0,'role':'menuitemradio','id':_0x378fd6['id'],'model':_0x378fd6});_0x2d3333['bind']('isOn')['to'](this,'activeModelId',_0x59198f=>_0x59198f===_0x378fd6['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x2d3333,'labelView':new ModelButtonLabelView$1(this['locale'],_0x378fd6)});}}['setWebSearch'](_0x32f3f6){this['set']('webSearchActive',_0x32f3f6);}['setReasoning'](_0x94c549){this['set']('reasoningActive',_0x94c549);}['setModel'](_0x9f97ab){if(!_0x9f97ab)return;this['activeModelId']=_0x9f97ab['id'],this['activeModelName']=_0x9f97ab['name']||_0x9f97ab['id'],this['_modelSelectionDropdown']['buttonView']['set']('label',_0x9f97ab['name']),this['_modelSelectionDropdown']['buttonView']['set']('tooltip',_0x9f97ab['name']);const _0x2d660f=_0x9f97ab['capabilities']['webSearch']?.['enabled']??!0x1;this['set']('webSearchActive',!0x1),this['_webSearchButton']['set']('isOn',!0x1),this['_webSearchButton']['set']('isEnabled',_0x2d660f),this['_webSearchButton']['set']('isVisible',_0x2d660f);const _0x12c7cd=_0x9f97ab['capabilities']['reasoning']?.['enabled']??!0x1;this['set']('reasoningActive',!0x1),this['_reasoningButton']['set']('isOn',!0x1),this['_reasoningButton']['set']('isEnabled',_0x12c7cd),this['_reasoningButton']['set']('isVisible',_0x12c7cd);}['enableModelSelector'](){this['set']('modelSelectorEnabled',!0x0);}['disableModelSelector'](_0x3ca76d){this['set']('modelSelectorEnabled',!0x1),_0x3ca76d&&this['set']('modelDisplayMode','hidden');}['_createWebSearchButton'](){const _0x3d8982=new ckeditor5['ButtonView']();return _0x3d8982['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_SEARCH_WEB'),'icon':ckeditor5['IconWeb'],'class':_0x49793d['CONTROLS_BUTTON'],'isToggleable':!0x0,'tooltipPosition':_0x8d94df}),_0x3d8982['on']('execute',()=>{this['fire']('toggleWebSearch');}),_0x3d8982;}['_createReasoningButton'](){const _0x3b2b6a=new ckeditor5['ButtonView']();return _0x3b2b6a['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_REASONING'),'icon':ckeditor5['IconBulb'],'class':_0x49793d['CONTROLS_BUTTON'],'isToggleable':!0x0,'tooltipPosition':_0x8d94df}),_0x3b2b6a['on']('execute',()=>{this['fire']('toggleReasoning');}),_0x3b2b6a;}['_createCommandsButton'](){const _0x3dde24=new ckeditor5['ButtonView']();return _0x3dde24['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_COMMANDS'),'icon':ckeditor5['IconAI'],'withText':!0x0,'class':_0x49793d['CONTROLS_BUTTON'],'isToggleable':!0x0,'tooltip':getTranslation$i(this['locale'],'AI_CHAT_COMMANDS'),'tooltipPosition':_0x8d94df}),_0x3dde24['extendTemplate']({'attributes':{'class':[_0x49793d['COMMANDS_BUTTON']]}}),_0x3dde24['on']('execute',()=>{console['log']('Commands\x20are\x20not\x20implemented\x20yet.'),alert('Commands\x20are\x20not\x20implemented\x20yet.');}),_0x3dde24;}['_createModelSelectionDropdown'](){const _0x370427=ckeditor5['createDropdown'](this['locale']);return _0x370427['set']({'panelPosition':'ne','class':[_0x49793d['MODEL_SELECTION']]}),_0x370427['buttonView']['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP'),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':_0x8d94df,'class':_0x49793d['TERTIARY_BUTTON']}),this['listenTo'](_0x370427,'execute',_0x4d95ce=>{this['fire']('selectModel',_0x4d95ce['source']['model']);}),_0x370427;}['_createModelNameView'](){const _0x17ede3=new _0x14dbe0(this['locale']);return _0x17ede3['bind']('text')['to'](this,'activeModelName',_0x9809da=>_0x9809da??''),_0x17ede3['bind']('isVisible')['to'](this,'modelDisplayMode',_0x23eb81=>'name'===_0x23eb81),_0x17ede3;}}let ModelButtonLabelView$1=class extends ckeditor5['ButtonLabelView']{constructor(_0x2dc702,_0x176a37){super();const _0x7c3a4c=this['bindTemplate'],_0x3bf681=this['createCollection']();this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x7c3a4c['to']('style'),'id':_0x7c3a4c['to']('id')},'children':[{'tag':'div','attributes':{'class':[_0x49793d['MODEL_SELECTION_ITEM_NAME']]},'children':[{'text':_0x7c3a4c['to']('text')}]},{'tag':'div','attributes':{'class':[_0x49793d['MODEL_SELECTION_ITEM_DESCRIPTION']]},'children':[{'tag':'span','children':[{'text':_0x176a37['description']}]}]},{'tag':'div','attributes':{'class':[_0x49793d['MODEL_SELECTION_ITEM_CAPABILITIES']]},'children':_0x3bf681}]}),_0x3bf681['addMany'](this['_getCapabilityParts'](_0x2dc702,ckeditor5['IconWeb'],'AI_CHAT_SEARCH_WEB',_0x176a37['capabilities']['webSearch']?.['enabled']??!0x1)),_0x3bf681['addMany'](this['_getCapabilityParts'](_0x2dc702,ckeditor5['IconBulb'],'AI_CHAT_REASONING',_0x176a37['capabilities']['reasoning']?.['enabled']??!0x1));}['_getCapabilityParts'](_0x5c402f,_0x545a7a,_0xd08101,_0x30ab54){const _0x471b2d=new ckeditor5['IconView']();_0x471b2d['content']=_0x545a7a;const _0x286992=new ckeditor5['View'](_0x5c402f);_0x286992['setTemplate']({'tag':'span','children':[{'text':getTranslation$i(_0x5c402f,_0xd08101)+':\x20'}]});const _0x3baa63=new ckeditor5['View'](_0x5c402f);return _0x3baa63['setTemplate']({'tag':'span','children':[{'text':getTranslation$i(_0x5c402f,_0x30ab54?'AI_CHAT_CAPABILITIES_YES':'AI_CHAT_CAPABILITIES_NO')}]}),[_0x471b2d,_0x286992,_0x3baa63];}},_0x14dbe0=class extends ckeditor5['View']{constructor(_0x1844bb){super(_0x1844bb),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x15e41b=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-chat-controls__model-name',_0x15e41b['if']('isVisible','ck-hidden',_0xabd0e0=>!_0xabd0e0)]},'children':[{'text':_0x15e41b['to']('text')}]});}};const _0x25a74d={'URL_FORM':'ck-ai-chat-context-controls__url-form','URL_INPUT_SECTION':'ck-ai-chat-context-controls__url-input-section'},_0x3564cf='n';class AIChatContextPanelUrlInputView extends ckeditor5['View']{['focusTracker'];['keystrokes'];['_focusables'];['focusCycler'];['urlInputField'];['backButton'];['confirmButton'];constructor(_0x4adeae){super(_0x4adeae),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['backButton']=this['_createBackButton'](),this['urlInputField']=this['_createUrlInputField'](),this['confirmButton']=this['_createConfirmButton'](),this['_focusables']=this['createCollection']([this['backButton'],this['urlInputField'],this['confirmButton']]),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['set']('withBackButton',!0x0),this['_setupTemplate'](),this['_setupEventHandlers'](),this['_setupKeystrokes']();}['render'](){super['render'](),this['_focusables']['forEach'](_0x1e4137=>{this['focusTracker']['add'](_0x1e4137['element']),this['keystrokes']['listenTo'](_0x1e4137['element']);}),ckeditor5['submitHandler']({'view':this}),this['focus']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['focus'](){this['urlInputField']['focus']();}['getValue'](){return this['urlInputField']['fieldView']['element']?.['value']?.['trim']()||'';}['clear'](){this['urlInputField']['fieldView']['element']['value']='',this['urlInputField']['errorText']=null,this['confirmButton']['isEnabled']=!0x1;}['setError'](_0x2fa409){this['urlInputField']['errorText']=_0x2fa409,this['_updateConfirmButtonState'](),this['fire']('refreshBalloon');}['clearError'](){this['urlInputField']['errorText']=null,this['_updateConfirmButtonState']();}['_createBackButton'](){const _0x52fb3f=new ckeditor5['ButtonView'](this['locale']);return _0x52fb3f['set']({'icon':ckeditor5['IconPreviousArrow'],'tooltip':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT'),'tooltipPosition':_0x3564cf,'class':['ck-button-icon\x20ck-button-back']}),this['on']('change:withBackButton',(_0x4cbd60,_0x120ca7,_0x37b8cd)=>{_0x52fb3f['set']({'class':['ck-button-icon\x20ck-button-back'+(_0x37b8cd?'':'\x20ck-hidden')]});}),_0x52fb3f;}['_createUrlInputField'](){const _0x217289=new ckeditor5['LabeledFieldView'](this['locale'],ckeditor5['createLabeledInputText']);return _0x217289['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_LABEL'),'class':'ck-labeled-field-view_empty'}),_0x217289['fieldView']['set']({'placeholder':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_PLACEHOLDER')}),_0x217289;}['_createConfirmButton'](){const _0x40e3ab=new ckeditor5['ButtonView'](this['locale']);return _0x40e3ab['set']({'icon':ckeditor5['IconCheck'],'tooltip':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_ADD_URL'),'tooltipPosition':_0x3564cf,'class':'ck-button-icon','type':'submit','isEnabled':!0x1}),_0x40e3ab;}['_setupTemplate'](){const _0x5d04ff=new ckeditor5['FormHeaderView'](this['locale'],{'label':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_ADD_URL'),'class':'ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url'});_0x5d04ff['children']['add'](this['backButton'],0x0),this['setTemplate']({'tag':'form','attributes':{'class':_0x25a74d['URL_FORM'],'tabindex':'-1'},'children':[_0x5d04ff,{'tag':'div','attributes':{'class':_0x25a74d['URL_INPUT_SECTION']},'children':[this['urlInputField'],this['confirmButton']]}]});}['_setupEventHandlers'](){this['backButton']['on']('execute',()=>{this['clear'](),this['fire']('cancel');}),this['urlInputField']['fieldView']['on']('input',()=>{this['clearError'](),this['_updateConfirmButtonState'](),this['fire']('refreshBalloon');}),this['on']('submit',_0x56fb0e=>{_0x56fb0e['stop'](),this['_handleSubmit']();});}['_setupKeystrokes'](){this['keystrokes']['set']('esc',(_0x3346f4,_0x443bfb)=>{this['clear'](),this['fire']('cancel'),_0x443bfb();});}['_handleSubmit'](){const _0x5f588b=this['getValue']()['trim']();_0x5f588b?this['_isValidUrl'](_0x5f588b)?(this['clearError'](),this['fire']('submitUrl',_0x5f588b)):this['setError'](getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_INVALID_ERROR')):this['setError'](getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_EMPTY_ERROR'));}['_updateConfirmButtonState'](){const _0x5538a3=this['getValue']()['trim'](),_0x18b61b=!!this['urlInputField']['errorText'];this['confirmButton']['isEnabled']=_0x5538a3['length']>0x0&&!_0x18b61b;}['_isValidUrl'](_0x13af93){try{return!!new URL(_0x13af93);}catch{return!0x1;}}}const _0x51869b={'ITEM':'ck-ai-chat-resources__item','ITEM_IN_CONTEXT':'ck-ai-chat-resources__item--in-context','ITEM_TITLE':'ck-ai-chat-resources__item-title','ITEM_ICON':'ck-ai-chat-resources__item__icon'};class AIChatResourceListItemView extends ckeditor5['ListItemView']{['resource'];['_titleView'];['_iconView'];constructor(_0x3244ce,_0x4fab96){super(_0x3244ce),this['resource']=_0x4fab96,this['set']('isInContext',!!_0x4fab96['isInContext']),this['_titleView']=this['_createTitleView'](),this['_iconView']=this['_createIconView'](),this['_setupTemplate']();}['render'](){super['render']();}['getResourceIcon'](_0x3beba3){if(_0x3beba3['isInContext'])return ckeditor5['IconCheck'];switch(_0x3beba3['type']){case AIContextItemType['DOCUMENT']:return ckeditor5['IconDocument'];case AIContextItemType['URL']:return ckeditor5['IconLink'];case AIContextItemType['FILE']:case AIContextItemType['TEXT']:return ckeditor5['IconFileUpload'];default:return ckeditor5['IconDocumentOutline'];}}['highlightText'](_0x2966cd){if(!_0x2966cd||''===_0x2966cd['trim']())return void this['_titleView']['highlightText'](null);const _0x27aea0=new RegExp(_0x28d679(_0x2966cd),'gi');this['_titleView']['highlightText'](_0x27aea0);}['updateResourceState'](_0x212912){this['resource']['isInContext']=_0x212912,this['isInContext']=_0x212912,this['_updateIcon']();}['_createTitleView'](){const _0x402e72=new ckeditor5['HighlightedTextView']();return _0x402e72['text']=this['resource']['label'],_0x402e72['extendTemplate']({'tag':'span','attributes':{'class':[_0x51869b['ITEM_TITLE']]}}),_0x402e72;}['_createIconView'](){const _0x42f65c=new ckeditor5['IconView']();return _0x42f65c['content']=this['getResourceIcon'](this['resource']),_0x42f65c;}['_setupTemplate'](){const _0x201517=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':[_0x51869b['ITEM'],_0x201517['if']('isVisible','ck-hidden',_0x55c873=>!_0x55c873),_0x201517['if']('isInContext',_0x51869b['ITEM_IN_CONTEXT'])]},'children':[{'tag':'div','attributes':{'class':[_0x51869b['ITEM_ICON']]},'children':[this['_iconView']]},this['_titleView']],'on':{'click':_0x201517['to']('execute')}});}['_updateIcon'](){this['_iconView']['content']=this['getResourceIcon'](this['resource']);}}const _0x2ebabd={'LIST':'ck-ai-chat-resources__list'};class AIChatContextResourcesListView extends ckeditor5['ListView']{['_source'];constructor(_0x52990d,_0x451777){super(_0x52990d),this['_source']=_0x451777,this['extendTemplate']({'attributes':{'class':[_0x2ebabd['LIST']]}});}['setResources'](_0x560337,_0x269776){this['items']['clear']();let _0x49c558=_0x560337;if(this['_source']['useDefaultFiltering']&&_0x269776&&''!==_0x269776['trim']()){const _0x3deec2=new RegExp(_0x269776['replace'](/[.*+?^${}()|[\]\\]/g,'\x5c$&'),'gi');_0x49c558=_0x560337['filter'](_0x591fc4=>_0x3deec2['test'](_0x591fc4['label']));}for(const _0x2df5ca of _0x49c558){const _0xdb2850=new AIChatResourceListItemView(this['locale'],_0x2df5ca);_0xdb2850['on']('execute',()=>{this['_handleResourceSelection'](this['_source'],_0x2df5ca);}),this['items']['add'](_0xdb2850);}this['_source']['useDefaultFiltering']&&this['highlightText'](_0x269776);}['highlightText'](_0x1cb18f){this['_source']['useDefaultFiltering']&&this['items']['forEach'](_0x58a86d=>{_0x58a86d['highlightText'](_0x1cb18f);});}['updateResourceState'](_0x2b383b,_0x20c257){for(const _0x31c8dd of this['items']){const _0x1b37c1=_0x31c8dd;_0x1b37c1['resource']['id']===_0x2b383b&&_0x1b37c1['updateResourceState'](_0x20c257);}}['_handleResourceSelection'](_0x28d698,_0x3a3c0a){this['fire']('addResourceToContext',{'source':_0x28d698,'resource':_0x3a3c0a});}}class AIChatContextResourcesSearchInputView extends ckeditor5['LabeledFieldView']{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x577b49){const t=_0x577b49['t'],_0x4fd3c3={'showResetButton':!0x0,'showIcon':!0x0,'creator':ckeditor5['createLabeledInputText'],'label':getTranslation$i(_0x577b49,'AI_CHAT_SEARCH_RESOURCES')};super(_0x577b49,_0x4fd3c3['creator']),this['label']=_0x4fd3c3['label'],this['_viewConfig']=_0x4fd3c3,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x577b49,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0xf43b2e){this['fire']('search',_0xf43b2e);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new ckeditor5['IconView'](),this['iconView']['content']=ckeditor5['IconLoupe'],this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x5a8707,t){this['resetButtonView']=new ckeditor5['ButtonView'](_0x5a8707),this['resetButtonView']['set']({'label':t('Clear'),'icon':ckeditor5['IconCancel'],'class':'ck-search__reset','isVisible':!0x1,'tooltip':!0x0}),this['resetButtonView']['on']('execute',()=>{this['reset'](),this['focus'](),this['fire']('reset');}),this['resetButtonView']['bind']('isVisible')['to'](this['fieldView'],'isEmpty',_0x59356f=>!_0x59356f),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}}class AIChatContextResourcesView extends ckeditor5['View']{['_searchView'];['_searchSection'];['_searchInputVisibleFrom'];['_resourcesListView'];['_skeletonLoader'];['_source'];['children'];['_latestLoadResourcesUid']=null;constructor(_0xdb790c,_0x4ac258){super(_0xdb790c),this['_source']=_0x4ac258['source'],this['_searchInputVisibleFrom']=_0x4ac258['searchInputVisibleFrom']??0x7,this['set']('isLoading',!0x0),this['_searchView']=this['_createSearchView'](),this['_searchSection']=this['_createSearchSection'](),this['_resourcesListView']=this['_createResourcesListView'](),this['_skeletonLoader']=this['_createSkeletonView'](),this['children']=new ckeditor5['ViewCollection']([this['_skeletonLoader'],this['_resourcesListView']]),this['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-chat-resources'},'children':this['children']});}['_createSearchView'](){return new AIChatContextResourcesSearchInputView(this['locale']);}['_createSearchSection'](){const _0xf7ec1c=new ckeditor5['View'](this['locale']);return _0xf7ec1c['setTemplate']({'tag':'div','attributes':{'class':'ck\x20ck-search'},'children':[this['_searchView']]}),this['_searchView']['on']('search',(_0x46cf47,_0x1fcea7)=>{this['loadResources'](_0x1fcea7),this['_source']['useDefaultFiltering']&&this['_resourcesListView']['highlightText'](_0x1fcea7);}),_0xf7ec1c;}['_createResourcesListView'](){const _0x2d2450=new AIChatContextResourcesListView(this['locale'],this['_source']);return _0x2d2450['delegate']('addResourceToContext')['to'](this),_0x2d2450['extendTemplate']({'attributes':{'class':this['bindTemplate']['if']('isLoading','ck-hidden')}}),_0x2d2450;}['_createSkeletonView'](){const _0x25a701=new AISkeletonView(this['locale'],_0x61aa3f['aiChatResources']);return _0x25a701['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isLoading','ck-hidden',_0x2d70c3=>!_0x2d70c3)]}}),_0x25a701;}['render'](){super['render'](),this['loadResources']('');}['loadResources'](_0x3b262e){const _0x4b7799=ckeditor5['uid']();this['_latestLoadResourcesUid']=_0x4b7799,this['fire']('loadSourceResources',{'sourceId':this['_source']['id'],'query':_0x3b262e,'uid':_0x4b7799}),this['isLoading']=!0x0;}['setResources'](_0x953a31,_0x333ca9){if(_0x333ca9&&_0x333ca9!==this['_latestLoadResourcesUid'])return;const _0x4ef13a=this['_source']['useDefaultFiltering']?this['_searchView']['getQuery']():'';this['_resourcesListView']['setResources'](_0x953a31,_0x4ef13a),_0x953a31['length']>=this['_searchInputVisibleFrom']&&!this['children']['has'](this['_searchSection'])&&this['children']['add'](this['_searchSection'],0x0),requestAnimationFrame(()=>{this['isLoading']=!0x1;});}['updateResourceState'](_0x58d69a,_0x2466ba){this['_resourcesListView']['updateResourceState'](_0x58d69a,_0x2466ba);}}const _0x478856={'SOURCE_BALLOON_PANEL':'ck-ai-chat-context-controls__source-balloon-panel','SOURCE_BACK_BUTTON':'ck-button-icon\x20ck-button-back','SOURCE_HEADER':'ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source'},_0x3d3c03='n';class AIChatResourcesBalloonView{['_sourceResourceBalloons']=new Map();['_bodyCollection'];['_locale'];['_config'];constructor(_0x4e7c8a,_0x5ce367,_0x1833be){this['_locale']=_0x4e7c8a,this['_bodyCollection']=_0x5ce367,this['_config']=_0x1833be;}['showSourceResourcesBalloon']({source:_0x4d6a8f,withBackButton:_0x59bc1a}){let _0x50c6c0=this['_sourceResourceBalloons']['get'](_0x4d6a8f['id']);_0x50c6c0||(_0x50c6c0=this['_createSourceResourceBalloonPanel'](),this['_sourceResourceBalloons']['set'](_0x4d6a8f['id'],_0x50c6c0),this['_setupSingleResourceBalloonClickOutsideHandler'](_0x50c6c0)),this['_addSourceResourceContent']({'balloonPanel':_0x50c6c0,'source':_0x4d6a8f,'withBackButton':_0x59bc1a}),_0x50c6c0['show']();const _0x1631b2=this['_config']['getTargetElement']();_0x1631b2&&_0x50c6c0['pin']({'target':_0x1631b2,'limiter':this['_config']['getLimiterElement']()});}['populateSourceResourceBalloon'](_0x433575,_0x1d97d1,_0xa0ca14){const _0x448e1a=this['_sourceResourceBalloons']['get'](_0x433575);if(!_0x448e1a)return;const _0x52821d=this['_getResourcesViewFromBalloon'](_0x448e1a);_0x52821d&&(_0x52821d['setResources'](_0x1d97d1,_0xa0ca14),_0x52821d['once']('change:isLoading',()=>{_0x448e1a['pin']({'target':this['_config']['getTargetElement'](),'limiter':this['_config']['getLimiterElement']()});}));}['closeSourceResourceBalloon'](_0x57d0f3){const _0x1215a0=this['_sourceResourceBalloons']['get'](_0x57d0f3);_0x1215a0&&requestAnimationFrame(()=>{_0x1215a0['hide'](),this['_sourceResourceBalloons']['delete'](_0x57d0f3),this['_config']['onBalloonClosed']();});}['isAnyResourceBalloonVisible'](){for(const _0x2267f8 of this['_sourceResourceBalloons']['values']())if(_0x2267f8['isVisible'])return!0x0;return!0x1;}['updateResourceState'](_0x1872f2,_0x1aa0fe,_0x14320a){const _0x50d4b9=this['_sourceResourceBalloons']['get'](_0x1872f2);if(!_0x50d4b9||!_0x50d4b9['isVisible'])return;const _0x28cd50=this['_config']['getTargetElement']();if(!_0x28cd50)return;_0x50d4b9['pin']({'target':_0x28cd50,'limiter':this['_config']['getLimiterElement']()});const _0x33bbd5=this['_getResourcesViewFromBalloon'](_0x50d4b9);_0x33bbd5&&_0x33bbd5['updateResourceState'](_0x1aa0fe,_0x14320a);}['destroy'](){for(const _0x3efcd2 of this['_sourceResourceBalloons']['values']())_0x3efcd2['destroy']();this['_sourceResourceBalloons']['clear']();}['_createSourceResourceBalloonPanel'](){const _0x41062a=new ckeditor5['BalloonPanelView'](this['_locale']);return _0x41062a['extendTemplate']({'attributes':{'class':_0x478856['SOURCE_BALLOON_PANEL']}}),this['_bodyCollection']['add'](_0x41062a),_0x41062a;}['_addSourceResourceContent']({balloonPanel:_0x3b1d36,source:_0x20cf25,withBackButton:_0x45ebac}){_0x3b1d36['content']['clear']();const _0x3c7761=this['_createBalloonHeader']({'balloonPanel':_0x3b1d36,'source':_0x20cf25,'withBackButton':_0x45ebac});_0x3b1d36['content']['add'](_0x3c7761);const _0x340523=this['_createBalloonResourcesView'](_0x20cf25);_0x3b1d36['content']['add'](_0x340523);}['_createBalloonHeader']({balloonPanel:_0x3290c6,source:_0x106d8c,withBackButton:_0x4aa883}){const _0x1de6b7=new ckeditor5['FormHeaderView'](this['_locale'],{'label':_0x106d8c['label'],'class':_0x478856['SOURCE_HEADER']});return _0x4aa883&&_0x1de6b7['children']['add'](this['_createBackButton'](_0x3290c6),0x0),_0x1de6b7;}['_createBackButton'](_0x2b8b6c){const _0x39a7e8=new ckeditor5['ButtonView'](this['_locale']);return _0x39a7e8['set']({'icon':ckeditor5['IconPreviousArrow'],'tooltip':getTranslation$i(this['_locale'],'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT'),'tooltipPosition':_0x3d3c03,'class':_0x478856['SOURCE_BACK_BUTTON']}),_0x39a7e8['on']('execute',()=>{_0x2b8b6c['hide'](),this['_config']['onBackToContext']();}),_0x39a7e8;}['_createBalloonResourcesView'](_0x195326){const _0x8a8ced=new AIChatContextResourcesView(this['_locale'],{'source':_0x195326,'searchInputVisibleFrom':this['_config']['searchInputVisibleFrom']});return _0x8a8ced['on']('loadSourceResources',(_0x5205b3,_0x29cb5e)=>{this['_config']['onLoadSourceResources'](_0x29cb5e);}),_0x8a8ced['on']('addResourceToContext',(_0x486486,_0x3ac6bb)=>{this['_config']['onResourceSelected'](_0x3ac6bb['source'],_0x3ac6bb['resource']),this['closeSourceResourceBalloon'](_0x195326['id']);}),_0x8a8ced;}['_getResourcesViewFromBalloon'](_0x1a8c59){const _0x42eae9=_0x1a8c59['content']['get'](0x1);return _0x42eae9 instanceof AIChatContextResourcesView?_0x42eae9:null;}['_setupSingleResourceBalloonClickOutsideHandler'](_0x149174){ckeditor5['clickOutsideHandler']({'emitter':_0x149174,'contextElements':[_0x149174['element']],'callback':()=>{_0x149174['hide'](),this['_config']['onBalloonClosed']();},'activator':()=>_0x149174['isVisible']});}}const _0x1ce839=['addDocumentToContext','addFileToContext','addUrlToContext','addResourceToContext','removeContextItem','loadSourceResources','executeCustomItemCallback'],_0x1cb44a={'CONTEXT_CONTROLS':'ck-ai-chat-context-controls','PENDING_CONTEXTS':'ck-ai-chat-context-controls__pending-contexts','ADD_CONTEXT_BALLOON':'ck-ai-chat-context-controls__add-context-balloon-panel','ADD_CONTEXT_BUTTON':'ck-ai-chat-context-controls__add-context-button','URL_BALLOON':'ck-ai-chat-context-controls__url-balloon-panel','BALLOON_BUTTON':'ck-ai-chat-context-controls__balloon-button','BALLOON_BUTTON_SOURCE':'ck-ai-chat-context-controls__balloon-button-source','CONTROLS_BUTTON':'ck-ai-chat-controls-button','CONVERSATION_CONTEXT_CHIPS':'ck-ai-chat-context-chips-wrapper-balloon','SHOW_MORE_BUTTON':'ck-ai-chat-controls_context_show-more-button','SHOW_MORE_BALLOON':'ck-ai-chat-context-controls__show-more-balloon-panel','CHAT_CONTAINER':'ck-ai-chat'},_0x1566ed='sw',_0x5507a4=[ckeditor5['BalloonPanelView']['defaultPositions']['northArrowSouthWest'],ckeditor5['BalloonPanelView']['defaultPositions']['northArrowSouth'],ckeditor5['BalloonPanelView']['defaultPositions']['northArrowSouthEast'],ckeditor5['BalloonPanelView']['defaultPositions']['southArrowNorthWest'],ckeditor5['BalloonPanelView']['defaultPositions']['southArrowNorth'],ckeditor5['BalloonPanelView']['defaultPositions']['southArrowNorthEast']];class AIChatContextPanelView extends ckeditor5['View']{['addContextButtonView'];['_currentContextsChips']=this['createCollection']();['_conversationContextsChips']=this['createCollection']();['_overflowManager'];['_addContextBalloonPanelView'];['_urlBalloonPanelView'];['_urlInputView'];['_resourcesBalloonView'];['_addContextBalloonConfig'];['_hasExactlyOneSource']=!0x1;['bodyCollection'];constructor(_0x4083ef,_0x27ca07){super(_0x4083ef),this['bodyCollection']=_0x27ca07['bodyCollection'],this['_currentContextsChips']=this['createCollection'](),this['_conversationContextsChips']=this['createCollection'](),this['addContextButtonView']=this['_createAddContextButtonView'](_0x4083ef),this['_addContextBalloonPanelView']=this['_createAddContextBalloonPanelView'](_0x4083ef),this['_urlBalloonPanelView']=this['_createUrlBalloonPanelView'](_0x4083ef),this['_resourcesBalloonView']=this['_createResourcesBalloonView'](_0x4083ef,_0x27ca07);const _0xc8ad7e={'cssClasses':{'showMoreButton':_0x1cb44a['SHOW_MORE_BUTTON'],'showMoreBalloon':_0x1cb44a['SHOW_MORE_BALLOON'],'overflowContainer':_0x1cb44a['CONVERSATION_CONTEXT_CHIPS'],'controlsButton':_0x1cb44a['CONTROLS_BUTTON']}};this['_overflowManager']=new AIChatChipsOverflowManager(_0x4083ef,this['_currentContextsChips'],_0xc8ad7e,this['bodyCollection'],this),this['_addContextBalloonConfig']={'buttonView':this['addContextButtonView'],'balloonView':this['_addContextBalloonPanelView'],'hideMethod':this['hideAddContextBalloonPanel']['bind'](this),'showMethod':this['showAddContextBalloonPanel']['bind'](this)},this['_setupTemplate'](),this['_bindEventHandlers']();}['render'](){super['render'](),this['_setupAllBalloonClickOutsideHandlers'](),this['_overflowManager']['setContainerElement'](this['element']),this['_overflowManager']['reorganizeChips']();}['destroy'](){super['destroy'](),this['_overflowManager']['destroy'](),this['_resourcesBalloonView']['destroy']();}['addContextItem'](_0x3d1228,_0x42c42c){const _0x3f091b=this['_createContextButton'](_0x3d1228,'current',!0x0,_0x42c42c);this['_addContextToCollection'](_0x3f091b,this['_currentContextsChips']),this['_overflowManager']['reorganizeChips']();}['removeContextItem'](_0x5d8dff){this['_removeContextFromCollection'](_0x5d8dff,this['_currentContextsChips']),this['_removeContextFromCollection'](_0x5d8dff,this['_overflowManager']['overflowChips']),this['_overflowManager']['reorganizeChips']();}['setContextItemLoading'](_0x4d640b,_0x2e902f){let _0x1f9436=this['_currentContextsChips']['find'](_0x292bad=>_0x292bad['id']===_0x4d640b);_0x1f9436||(_0x1f9436=this['_overflowManager']['overflowChips']['find'](_0x3275d4=>_0x3275d4['id']===_0x4d640b)),_0x1f9436&&(_0x1f9436['isLoading']=_0x2e902f);}['setConversationContext'](_0x4d6a0e){this['_conversationContextsChips']['clear']();for(const _0x5e3f6e of _0x4d6a0e){const _0x29dc71=this['_createContextButton'](_0x5e3f6e,'conversation',!0x1,!0x1);this['_addContextToCollection'](_0x29dc71,this['_conversationContextsChips']);}}['clearCurrentContextItems'](){this['_currentContextsChips']['clear'](),this['_overflowManager']['clear']();}['clearConversationContextItems'](){this['_conversationContextsChips']['clear']();}['updateResourceState'](_0x1dba45,_0x144871,_0x5d769b){this['_resourcesBalloonView']['updateResourceState'](_0x1dba45,_0x144871,_0x5d769b);}['hideAddContextBalloonPanel'](){this['_toggleAddContextBalloon'](!0x1);}['showAddContextBalloonPanel'](){this['_toggleAddContextBalloon'](!0x0);}['hideUrlBalloonPanel'](){this['_urlBalloonPanelView']['hide'](),this['addContextButtonView']['isOn']=!0x1,this['_urlInputView']&&this['_urlInputView']['clear']();}['showUrlBalloonPanel'](){this['_urlBalloonPanelView']['show'](),this['addContextButtonView']['isOn']=!0x0;}['_showSourceResourcesBalloon']({source:_0x4db8a0,withBackButton:_0x2dbf88}){this['_resourcesBalloonView']['showSourceResourcesBalloon']({'source':_0x4db8a0,'withBackButton':_0x2dbf88}),this['addContextButtonView']['isOn']=!0x0;}['populateSourceResourceBalloon'](_0x11fa76,_0x30dc8c,_0x56646b,_0x459f32){this['_resourcesBalloonView']['populateSourceResourceBalloon'](_0x11fa76,_0x56646b,_0x459f32);}['closeSourceResourceBalloon'](_0x4e5f0b){this['_resourcesBalloonView']['closeSourceResourceBalloon'](_0x4e5f0b),this['addContextButtonView']['isOn']=!0x1;}['setAddContextOptions'](_0x240f8a){this['_setBalloonPanelContent'](this['_addContextBalloonPanelView'],this['locale'],_0x240f8a),this['_setAddContextButtonEnabled'](_0x240f8a);}['_setAddContextButtonEnabled'](_0xfc0acf){const _0x4e48d1=!_0xfc0acf['document']['isHidden']&&_0xfc0acf['document']['enabled'],_0x2d0981=_0xfc0acf['urls']['enabled'],_0x4e0791=_0xfc0acf['files']['enabled'],_0x44107b=_0xfc0acf['sources']['length']>0x0,_0x314e6a=_0xfc0acf['customItems']&&_0xfc0acf['customItems']['length']>0x0;this['addContextButtonView']['isEnabled']=_0x4e48d1||_0x2d0981||_0x4e0791||_0x44107b||_0x314e6a;}['_setupTemplate'](){this['setTemplate']({'tag':'div','attributes':{'class':[_0x1cb44a['CONTEXT_CONTROLS'],'ck-reset_all-excluded']},'children':[{'tag':'div','attributes':{'class':_0x1cb44a['PENDING_CONTEXTS']},'children':this['_currentContextsChips']}]});}['_bindEventHandlers'](){this['addContextButtonView']['on']('execute',()=>{this['_handleAddContextButtonClick']();});}['_createAddContextButtonView'](_0x7751ad){const _0x5a3cd8=new ckeditor5['ButtonView'](_0x7751ad);return _0x5a3cd8['set']({'label':getTranslation$i(_0x7751ad,'AI_CHAT_CONTEXT_ADD_CONTEXT'),'class':_0x1cb44a['CONTROLS_BUTTON']+'\x20'+_0x1cb44a['ADD_CONTEXT_BUTTON'],'icon':ckeditor5['IconPaperClip'],'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':_0x1566ed}),_0x5a3cd8;}['_createAddContextBalloonPanelView'](_0x577e92){return this['_createBaseBalloonPanel'](_0x577e92,_0x1cb44a['ADD_CONTEXT_BALLOON']);}['_createUrlBalloonPanelView'](_0x8c0fec){const _0x23e722=this['_createBaseBalloonPanel'](_0x8c0fec,_0x1cb44a['URL_BALLOON']);return this['_addUrlContent'](_0x23e722,_0x8c0fec),_0x23e722;}['_createResourcesBalloonView'](_0x29a55e,_0x24104d){const _0x28af1e={'searchInputVisibleFrom':_0x24104d['searchInputVisibleFrom'],'onBackToContext':()=>{this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x5507a4});},'onResourceSelected':(_0x537055,_0x1e0408)=>{this['fire']('addResourceToContext',{'source':_0x537055,'resource':_0x1e0408});},'onLoadSourceResources':_0x3aca9a=>{this['fire']('loadSourceResources',_0x3aca9a);},'onBalloonClosed':()=>{this['addContextButtonView']['isOn']=!0x1;},'getLimiterElement':()=>this['_getLimiterElement'](),'getTargetElement':()=>this['addContextButtonView']['element']};return new AIChatResourcesBalloonView(_0x29a55e,_0x24104d['bodyCollection'],_0x28af1e);}['_getLimiterElement'](){return this['element']?.['closest']('.'+_0x1cb44a['CHAT_CONTAINER'])||document['body'];}['_createBaseBalloonPanel'](_0x320001,_0x224e24){const _0x25356b=new ckeditor5['BalloonPanelView'](_0x320001);return _0x25356b['extendTemplate']({'attributes':{'class':_0x224e24}}),this['bodyCollection']['add'](_0x25356b),_0x25356b;}['_setBalloonPanelContent'](_0xe3f52e,_0x21b5bc,_0x42a14f){if(_0xe3f52e['content']['clear'](),!_0x42a14f['document']['isHidden']&&_0x42a14f['document']['enabled']){const _0x2a1686=this['_createBalloonButton'](_0x21b5bc,{'label':getTranslation$i(_0x21b5bc,'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'),'icon':ckeditor5['IconDocument']});_0x2a1686['on']('execute',()=>{this['fire']('addDocumentToContext'),this['hideAddContextBalloonPanel']();}),_0xe3f52e['content']['add'](_0x2a1686);}if(_0x42a14f['urls']['enabled']){const _0x2dd966=this['_createBalloonButton'](_0x21b5bc,{'label':getTranslation$i(_0x21b5bc,'AI_CHAT_CONTEXT_URL_LABEL'),'icon':ckeditor5['IconLink']});_0x2dd966['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['showUrlBalloonPanel'](),this['_urlBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x5507a4}),this['_urlInputView']['focus']();}),_0xe3f52e['content']['add'](_0x2dd966);}if(_0x42a14f['files']['enabled']){const _0x2ca5ce=new ckeditor5['FileDialogButtonView'](_0x21b5bc);_0x2ca5ce['set']({'label':getTranslation$i(_0x21b5bc,'AI_CHAT_CONTEXT_FILE_LABEL'),'icon':ckeditor5['IconBrowseFiles'],'withText':!0x0,'tooltip':!0x0,'class':_0x1cb44a['BALLOON_BUTTON'],'allowMultipleFiles':!0x0}),_0x2ca5ce['on']('execute',()=>{this['hideAddContextBalloonPanel']();}),_0x2ca5ce['on']('done',(_0x320369,_0x2dd63a)=>{this['fire']('addFileToContext',_0x2dd63a);}),_0x2ca5ce['tooltip']=!0x0,_0xe3f52e['content']['add'](_0x2ca5ce);}for(const _0x3f898f of _0x42a14f['sources']){const _0x3b3bf6=this['_createBalloonButton'](_0x21b5bc,{'label':_0x3f898f['label'],'icon':_0x3f898f['icon']||ckeditor5['IconDocumentOutline'],'type':'source'});_0xe3f52e['content']['add'](_0x3b3bf6),_0x3b3bf6['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['_showSourceResourcesBalloon']({'source':_0x3f898f,'withBackButton':!this['_hasExactlyOneSource']});});}for(const _0xeaf3dc of _0x42a14f['customItems']||[]){const _0x2dec30=this['_createBalloonButton'](_0x21b5bc,{'label':_0xeaf3dc['label'],'icon':_0xeaf3dc['icon']||ckeditor5['IconDocumentOutline'],'type':'customItem'});_0xe3f52e['content']['add'](_0x2dec30),_0x2dec30['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['fire']('executeCustomItemCallback',_0xeaf3dc);});}this['_hasExactlyOneSource']=0x1===_0xe3f52e['content']['length'],this['_urlInputView']['withBackButton']=!this['_hasExactlyOneSource'];}['_addUrlContent'](_0x516167,_0x2a34cf){this['_urlInputView']=new AIChatContextPanelUrlInputView(_0x2a34cf),this['_urlInputView']['on']('submitUrl',(_0x36e0be,_0x176860)=>{this['_handleUrlSubmit'](_0x176860);}),this['_urlInputView']['on']('cancel',()=>{this['hideUrlBalloonPanel'](),this['_hasExactlyOneSource']||(this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x5507a4}));}),this['_urlInputView']['on']('refreshBalloon',()=>{this['_urlBalloonPanelView']['isVisible']&&this['_urlBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x5507a4});}),_0x516167['content']['add'](this['_urlInputView']);}['_createBalloonButton'](_0x3b580a,_0x1bb0fc){const _0x2a1033='source'===_0x1bb0fc['type']?new SourcesBalloonButtonView(_0x3b580a):new ckeditor5['ButtonView'](_0x3b580a);return _0x2a1033['set']({'label':_0x1bb0fc['label'],'icon':_0x1bb0fc['icon'],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':_0x1566ed,'class':_0x1cb44a['BALLOON_BUTTON']}),_0x2a1033;}['_setupAllBalloonClickOutsideHandlers'](){this['_setupAddContextBalloonClickOutsideHandler'](),this['_setupUrlBalloonClickOutsideHandler']();}['_setupUrlBalloonClickOutsideHandler'](){ckeditor5['clickOutsideHandler']({'emitter':this['_urlBalloonPanelView'],'contextElements':[this['_urlBalloonPanelView']['element']],'callback':()=>{this['hideUrlBalloonPanel']();},'activator':()=>this['_urlBalloonPanelView']['isVisible']});}['_toggleAddContextBalloon'](_0x5b24e3){const _0x58a94f=this['_addContextBalloonConfig'];_0x58a94f['buttonView']['isOn']=_0x5b24e3,_0x5b24e3?_0x58a94f['balloonView']['show']():_0x58a94f['balloonView']['hide']();}['_setupAddContextBalloonClickOutsideHandler'](){const {balloonView:_0x19792e,buttonView:_0x97f8fa,hideMethod:_0xc31e08}=this['_addContextBalloonConfig'];ckeditor5['clickOutsideHandler']({'emitter':_0x19792e,'contextElements':[_0x19792e['element'],_0x97f8fa['element']],'callback':()=>{_0xc31e08();},'activator':()=>_0x97f8fa['isOn']&&!this['_urlBalloonPanelView']['isVisible']&&!this['_resourcesBalloonView']['isAnyResourceBalloonVisible']()});}['_createContextButton'](_0xfbbf1e,_0x1914a8,_0x12222a=!0x1,_0x5a0e2f=!0x1){const _0x58ecb6='conversation'===_0x1914a8||!0x0===_0xfbbf1e['isReadOnly'],_0x21f9ea=new AIChatContextItemButtonView(this['locale'],_0xfbbf1e,_0x58ecb6,_0x12222a,_0x5a0e2f);return _0x58ecb6||_0x21f9ea['on']('removeContextItemChip',()=>{this['fire']('removeContextItem',_0x21f9ea['id']);}),_0x21f9ea;}['_addContextToCollection'](_0x19c2ff,_0x2d9a7c){_0x2d9a7c['add'](_0x19c2ff,0x0);}['_removeContextFromCollection'](_0x23736b,_0x5aab89){const _0x46733c=_0x5aab89['find'](_0xc08aee=>_0xc08aee['id']===_0x23736b);_0x46733c&&_0x5aab89['remove'](_0x46733c);}['_handleAddContextButtonClick'](){this['addContextButtonView']['isOn']?this['hideAddContextBalloonPanel']():(this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x5507a4}),this['_hasExactlyOneSource']&&this['_addContextBalloonPanelView']['content']['get'](0x0)?.['fire']('execute'));}['_handleUrlSubmit'](_0x5d0d79){this['_urlInputView']['clear'](),this['hideUrlBalloonPanel'](),this['fire']('addUrlToContext',_0x5d0d79);}}class SourcesBalloonButtonView extends ckeditor5['ButtonView']{['arrowView'];constructor(_0x53a88b){super(_0x53a88b),this['set']({'withText':!0x0,'role':'menuitem'}),this['arrowView']=this['_createArrowView'](),this['extendTemplate']({'attributes':{'class':[_0x1cb44a['BALLOON_BUTTON_SOURCE']]}});}['render'](){super['render'](),this['children']['add'](this['arrowView']);}['_createArrowView'](){const _0x40c245=new ckeditor5['IconView']();return _0x40c245['content']=ckeditor5['IconDropdownArrow'],_0x40c245['extendTemplate']({'attributes':{'class':_0x1cb44a['BALLOON_BUTTON_SOURCE']+'__arrow'}}),_0x40c245;}}class AIChatControlsLoaderView extends ckeditor5['View']{['_cancelButtonView'];['_loaderView'];constructor(_0x37be5f){super(_0x37be5f),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_loaderView']=this['_createLoaderView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-controls-loader-wrapper','ck-reset_all']},'children':[this['_loaderView'],this['_cancelButtonView']]});}['_createCancelButtonView'](){const _0x132b38=new ckeditor5['ButtonView'](this['locale']);return _0x132b38['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_STOP_GENERATING'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-button-stop-generating','icon':ckeditor5['IconStop']}),_0x132b38['on']('execute',()=>{this['fire']('abortPromptStream');}),_0x132b38;}['_createLoaderView'](){const _0x11c1d5=new ckeditor5['View'](this['locale']);return _0x11c1d5['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-controls-loader']},'children':[{'tag':'div','attributes':{'class':['ck-ai-chat-controls-loader-icon']},'children':[{'tag':'div','attributes':{'class':['ck-ai-chat-controls-loader-icon-dot']}},{'tag':'div','attributes':{'class':['ck-ai-chat-controls-loader-icon-dot']}},{'tag':'div','attributes':{'class':['ck-ai-chat-controls-loader-icon-dot']}}]},{'text':getTranslation$i(this['locale'],'AI_CHAT_IS_WRITING')}]}),_0x11c1d5;}}class AIChatControlsView extends ckeditor5['View']{['_contextPanelView'];['_promptInputView'];['_promptCapabilitiesView'];['_loaderView'];['_modelUnavailableMessageView'];['_shouldRestorePromptInputFocus'];constructor(_0x1ea528,_0x2c0a1f){super(_0x1ea528),this['_contextPanelView']=this['_createContextPanelView'](_0x1ea528,{'bodyCollection':_0x2c0a1f['bodyCollection'],'searchInputVisibleFrom':_0x2c0a1f['contextResourcesSearchInputVisibleFrom']}),this['_promptInputView']=this['_createPromptInputView'](_0x1ea528),this['_promptCapabilitiesView']=this['_createPromptCapabilitiesView'](_0x1ea528),this['_loaderView']=this['_createLoaderView'](_0x1ea528),this['_modelUnavailableMessageView']=this['_createModelUnavailableMessageView'](_0x1ea528),this['_shouldRestorePromptInputFocus']=!0x1,this['_promptInputView']['delegate']('sendUserMessage')['to'](this),this['_loaderView']['delegate']('abortPromptStream')['to'](this),this['_promptCapabilitiesView']['delegate']('toggleWebSearch')['to'](this),this['_promptCapabilitiesView']['delegate']('toggleReasoning')['to'](this),this['_promptCapabilitiesView']['delegate']('selectModel')['to'](this),this['_contextPanelView']['delegate'](..._0x1ce839)['to'](this),this['set']('isModelAvailable',!0x0),this['set']('isDisabled',!0x1);const _0x19fe1b=this['bindTemplate'];this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-ai-chat-controls',_0x19fe1b['if']('isDisabled','ck-ai-chat-controls-disabled')]},'children':[{'tag':'div','attributes':{'class':[_0x19fe1b['if']('isLoading','ck-hidden',_0x20afa8=>_0x20afa8||!this['isModelAvailable']),_0x19fe1b['if']('isModelAvailable','ck-hidden',_0x474ba0=>!_0x474ba0||this['isLoading'])]},'children':[this['_contextPanelView'],this['_promptInputView'],this['_promptCapabilitiesView']]},{'tag':'div','attributes':{'class':[_0x19fe1b['if']('isLoading','ck-hidden',_0x48656c=>!_0x48656c)]},'children':[this['_loaderView']]},{'tag':'div','attributes':{'class':[_0x19fe1b['if']('isModelAvailable','ck-hidden',_0x452ab1=>_0x452ab1)]},'children':[this['_modelUnavailableMessageView']]}]}),ckeditor5['clickOutsideHandler']({'emitter':this['_promptInputView'],'activator':()=>this['isLoading'],'contextElements':()=>[this['element']],'callback':()=>{this['_shouldRestorePromptInputFocus']=!0x1;}}),this['on']('change:isLoading',this['_handlePromptInputFocus'],{'priority':'low'});}['_createContextPanelView'](_0x1d65db,_0x4897a2){return new AIChatContextPanelView(_0x1d65db,_0x4897a2);}['_createPromptInputView'](_0x31ba4b){return new AIChatPromptInputView(_0x31ba4b,this['_contextPanelView']['addContextButtonView']);}['_createPromptCapabilitiesView'](_0x3587e1){return new AIChatPromptCapabilitiesView(_0x3587e1);}['_createLoaderView'](_0xa6ab82){return new AIChatControlsLoaderView(_0xa6ab82);}['_createModelUnavailableMessageView'](_0x36f45a){const _0x47e293=new AIChatModelUnavailableMessageView(_0x36f45a);return _0x47e293['delegate']('startConversation')['to'](this),_0x47e293;}['_handlePromptInputFocus'](_0x5cbd33,_0x487d4f,_0x3cf2f9){_0x3cf2f9?this['_shouldRestorePromptInputFocus']=!0x0:this['_shouldRestorePromptInputFocus']&&this['_promptInputView']['focus']();}['addContextItem'](_0x46de3e,_0x419b3d){this['_contextPanelView']['addContextItem'](_0x46de3e,_0x419b3d);}['removeContextItem'](_0x5b27ef){this['_contextPanelView']['removeContextItem'](_0x5b27ef);}['setContextItemLoading'](_0x2c84c6,_0x32c756){this['_contextPanelView']['setContextItemLoading'](_0x2c84c6,_0x32c756);}['setIsUploadInProgress'](_0x352fa2){this['_promptInputView']['setIsUploadInProgress'](_0x352fa2);}['setConversationContext'](_0x2f6f96){this['_contextPanelView']['setConversationContext'](_0x2f6f96);}['clearPendingContextUI'](){this['_contextPanelView']['clearCurrentContextItems']();}['clearConversationContextUI'](){this['_contextPanelView']['clearConversationContextItems']();}['updateResourceState'](_0x4f17d7,_0x3bbabc,_0x4cd5f9){this['_contextPanelView']['updateResourceState'](_0x4f17d7,_0x3bbabc,_0x4cd5f9);}['setWebSearch'](_0x3e0e92){this['_promptCapabilitiesView']['setWebSearch'](_0x3e0e92);}['setReasoning'](_0x304c2e){this['_promptCapabilitiesView']['setReasoning'](_0x304c2e);}['resetMessageInput'](){this['_promptInputView']['reset']();}['setAddContextOptions'](_0x3e2a87){this['_contextPanelView']['setAddContextOptions'](_0x3e2a87);}['setInputPlaceholder'](_0x4d5b81){this['_promptInputView']['setPlaceholderText'](_0x4d5b81);}['setModelList'](_0x442111,_0x5cab58){this['_promptCapabilitiesView']['setModelList'](_0x442111,_0x5cab58);}['setModel'](_0x3bea7b){_0x3bea7b?(this['isModelAvailable']=!0x0,this['_promptCapabilitiesView']['setModel'](_0x3bea7b)):this['isModelAvailable']=!0x1;}['enableModelSelector'](){this['_promptCapabilitiesView']['enableModelSelector']();}['disableModelSelector'](_0x5d22e9){this['_promptCapabilitiesView']['disableModelSelector'](_0x5d22e9);}['populateSourceResourceBalloon'](_0x4544a3,_0x1ef6ce,_0x11b20f,_0x32afb1){this['_contextPanelView']['populateSourceResourceBalloon'](_0x4544a3,_0x1ef6ce,_0x11b20f,_0x32afb1);}['closeSourceResourceBalloon'](_0x341c8f){this['_contextPanelView']['closeSourceResourceBalloon'](_0x341c8f);}['focusPromptInput'](_0x4d0ce3=!0x1){this['_promptInputView']['focus'](_0x4d0ce3);}['setPromptInputValue'](_0x16509b){this['_promptInputView']['queryView']['fieldView']['reset'](),this['_promptInputView']['queryView']['fieldView']['value']=_0x16509b;}}class AIChatModelUnavailableMessageView extends ckeditor5['View']{constructor(_0x364dbf){super(_0x364dbf);const _0x3b185e=new ckeditor5['ButtonView'](_0x364dbf);_0x3b185e['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON'),'withText':!0x0,'class':['ck-ai-chat-controls__start-new-chat-button'],'tooltip':''}),_0x3b185e['delegate']('execute')['to'](this,'startConversation'),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-controls-model-unavailable-message']},'children':[{'tag':'p','children':[{'text':getTranslation$i(this['locale'],'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_TEXT')+'\x20'},_0x3b185e]}]});}}class AIChatHeaderView extends ckeditor5['FormHeaderView']{['conversationStartButton'];['resizeButton'];constructor(_0x42613d,_0x207750){super(_0x42613d,{'label':getTranslation$i(_0x42613d,'AI_CHAT_HEADING'),'class':'ck-ai-header\x20ck-ai-header_chat','icon':ckeditor5['IconAIChat']}),this['set']('isMaximized',!0x1),this['conversationStartButton']=this['_createStartConversationButton'](_0x42613d),this['children']['add'](this['conversationStartButton']),_0x207750&&(this['resizeButton']=createResizeButton(_0x42613d,this),this['children']['add'](this['resizeButton']));}['_createStartConversationButton'](_0x33a069){const _0x9d0aad=new ckeditor5['ButtonView'](_0x33a069);return _0x9d0aad['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_LABEL_NEW_CHAT'),'withText':!0x0,'icon':ckeditor5['IconPlus'],'class':'ck-ai-chat__start-conversation'}),_0x9d0aad['on']('execute',()=>{this['fire']('startConversation');}),_0x9d0aad;}}class _0x184be9 extends ckeditor5['View']{constructor(_0x205b3f){super(_0x205b3f),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-disclaimer']},'children':[{'tag':'p','attributes':{'class':['ck','ck-ai-disclaimer__content']},'children':[{'text':getTranslation$i(_0x205b3f,'AI_DISCLAIMER_TEXT')}]}]});}}class AIChatView extends ckeditor5['View']{['chatHeader'];['chatFeed'];['chatControls'];['chatDisclaimer'];['_bodyCollection'];constructor(_0x4b4137,_0x2b352b){super(_0x4b4137),this['_bodyCollection']=new ckeditor5['BodyCollection'](_0x4b4137),this['_bodyCollection']['attachToDom'](),this['chatHeader']=new AIChatHeaderView(_0x4b4137,_0x2b352b['showResizeButton']),this['chatHeader']['delegate'](..._0x3c46ea)['to'](this),this['chatFeed']=new AIChatFeedView(_0x4b4137,this['_bodyCollection']),this['chatFeed']['delegate'](..._0x3c46ea)['to'](this),this['chatControls']=new AIChatControlsView(_0x4b4137,{'bodyCollection':this['_bodyCollection'],'contextResourcesSearchInputVisibleFrom':_0x2b352b['contextResourcesSearchInputVisibleFrom']}),this['chatControls']['delegate'](..._0x3c46ea)['to'](this),this['chatDisclaimer']=new _0x184be9(_0x4b4137),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-chat','ck-rounded-corners'],'dir':_0x4b4137['uiLanguageDirection']},'children':[this['chatHeader'],this['chatFeed'],this['chatControls'],this['chatDisclaimer']]});}['populateSourceResourceBalloon'](_0x5b6362,_0x44fde8,_0xb4096b,_0xaefcca){this['chatControls']['populateSourceResourceBalloon'](_0x5b6362,_0x44fde8,_0xb4096b,_0xaefcca);}['closeSourceResourceBalloon'](_0x2916b5){this['chatControls']['closeSourceResourceBalloon'](_0x2916b5);}['destroy'](){this['_bodyCollection']['detachFromDom'](),super['destroy']();}}const _0x52efb7=0x1e;class AIChatUI extends ckeditor5['ContextPlugin']{static get['requires'](){return[_0x149a9c];}['_view'];static get['pluginName'](){return'AIChatUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['feedItemRenderingStrategy']='streaming';['showDiff']=!0x0;['_promiseQueue'];['_interactionPromiseResolver'];['_titleAnimationInterval']=void 0x0;['_isTrackChangesCommandValueBound']=!0x1;constructor(_0x213f69){super(_0x213f69);const _0x2399d8=this['context']['plugins']['get']('AITabs');this['set']('isBusy',!0x1),this['_promiseQueue']=new _0x2f912b(),this['_view']=new AIChatView(this['context']['locale'],{'showResizeButton':_0x2399d8['showResizeButton'],'contextResourcesSearchInputVisibleFrom':this['context']['config']['get']('ai.chat.context.searchInputVisibleFrom')}),this['_view']['delegate'](..._0x3c46ea)['to'](this),this['_view']['on']('toggleSuggestionDisplayMode',(_0x126bab,{showDiff:_0x3c7e97})=>{this['showDiff']=_0x3c7e97;}),_0x2399d8['view']['addTab']({'id':'chat','buttonLabel':getTranslation$i(this['context']['locale'],'AI_CHAT_HEADING'),'buttonIcon':ckeditor5['IconAIChat'],'order':0x0,'content':this['_view']}),this['_view']['chatControls']['bind']('isLoading')['to'](this,'isBusy',_0xb9c58d=>_0xb9c58d),this['_view']['chatFeed']['bind']('isPending')['to'](this,'isBusy',_0x469732=>_0x469732),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']()),this['bind']('isModelAvailable')['to'](this['_view']['chatControls'],'isModelAvailable');}['destroy'](){super['destroy'](),this['_titleAnimationInterval']&&clearInterval(this['_titleAnimationInterval']);}['createConversation'](_0x386343){const _0x1e8686=this['context']['config']['get']('ai.chat.welcomeMessage')??getTranslation$i(this['context']['locale'],'AI_CHAT_WELCOME_MESSAGE');this['_view']['chatFeed']['clear'](),this['_view']['chatControls']['enableModelSelector'](),this['_view']['chatControls']['setModelList'](_0x386343['availableModels'],!this['context']['config']['get']('ai.models.showModelSelector')),this['addFeedItemStaticMessage']({'id':'conversation-start','staticMessage':_0x1e8686}),this['fire']('conversationCreated');}['addFeedItemStaticMessage']({id:_0x1dbcb6,staticMessage:_0x18a85d}){this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0x1dbcb6,'initialContent':'<p>'+_0x18a85d+'</p>'});}['addFeedItemUserMessage'](_0x385194){const _0x2d6620=_0x385194['attributes']?.['displayedPrompt']||_0x385194['userMessage'];this['_view']['chatFeed']['addItem']('user-message',{'contextItems':Array['from'](_0x385194['contextItems']['values']()),'initialContent':'<p>'+_0x2d6620+'</p>','id':_0x385194['id']});}['addFeedItemError']({errorMessage:_0x4b3ac1,id:_0x2cdda3}){this['_view']['chatFeed']['addItem']('error-message',{'initialContent':'<p>'+_0x4b3ac1+'</p>','id':_0x2cdda3});}['addFeedItemAIReply'](_0x370517){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0x370517['interactionId']+':'+_0x370517['id']}),this['clearLoadingMessage']();});}async['addFeedItemAISuggestion'](_0x27fa03){const _0x59f22f=getEditorFromContext(this['context']);let _0x5c4d0e=_0x59f22f['config']['get']('ai.availableReplyActions')||[..._0x4eab55];if(_0x59f22f['plugins']['has']('TrackChanges')){if(!this['_isTrackChangesCommandValueBound']){this['_isTrackChangesCommandValueBound']=!0x0;const _0x4d9ccd=_0x59f22f['commands']['get']('trackChanges');this['_view']['chatFeed']['bind']('isTrackChangesOn')['to'](_0x4d9ccd,'value');}}else _0x5c4d0e=_0x5c4d0e['filter'](_0x33bc63=>'insertSuggestion'!=_0x33bc63);return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-suggestion-reply',{'id':_0x27fa03['interactionId']+':'+_0x27fa03['id'],'areActionsDisabled':_0x27fa03['areActionsDisabled'],'showDiff':this['showDiff'],'availableActions':_0x5c4d0e}),this['clearLoadingMessage']();});}['addFeedInteractionHeader'](_0x4d6758,_0xfad7d2){const _0x18ba8e=this['_view']['chatFeed']['children']['last'];if(_0x18ba8e instanceof AIChatFeedInteractionHeaderView)return this['_view']['chatFeed']['children']['remove'](_0x18ba8e),void this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0x4d6758['id'],'capabilities':{'isWebSearchEnabled':_0x18ba8e['capabilities']['isWebSearchEnabled']||_0xfad7d2['isWebSearchEnabled'],'isReasoningEnabled':_0x18ba8e['capabilities']['isReasoningEnabled']||_0xfad7d2['isReasoningEnabled']}});this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0x4d6758['id'],'capabilities':_0xfad7d2});}async['addFeedItemCustomElement'](_0x4760f8,_0x235e39){let _0x3cdcb6;return await this['_promiseQueue']['enqueue'](async()=>{_0x3cdcb6=this['_view']['chatFeed']['addItem']('custom-element',{'content':_0x4760f8,'id':_0x235e39});}),_0x3cdcb6;}['removeFeedItem'](_0x49ec37){this['_view']['chatFeed']['removeItem'](_0x49ec37);}['hasFeedItem'](_0x415821){return this['_view']['chatFeed']['hasItem'](_0x415821);}['updateFeedInteractionHeader'](_0x43016c){const _0x1fee00=this['_view']['chatFeed']['children']['find'](_0x1aa450=>_0x1aa450['options']['id']==_0x43016c['id']&&_0x1aa450 instanceof AIChatFeedInteractionHeaderView);_0x1fee00&&_0x1fee00['set']('isVisible',_0x43016c['isVisible']);}async['updateFeedItemAIReplyContent'](_0x489a93){const _0x3ab0cf=_0x489a93['renderingStrategy']||this['feedItemRenderingStrategy'];return this['_promiseQueue']['enqueue'](async _0x9ffae=>{await this['_view']['chatFeed']['updateReplyItem']({..._0x489a93,'abortSignal':_0x9ffae,'renderingStrategy':_0x3ab0cf}),_0x489a93['isDone']&&this['markFeedItemAsDone'](_0x489a93['id']);});}['updateFeedItemAIReplySources'](_0x42a90a,_0x44e05c){this['_view']['chatFeed']['updateWebSources'](_0x42a90a,_0x44e05c);}async['updateFeedItemAIReplySuggestionContent'](_0x554e1d){const _0x18ba14=_0x554e1d['renderingStrategy']||this['feedItemRenderingStrategy'];return this['_promiseQueue']['enqueue'](async _0x2bd0b1=>{await this['_view']['chatFeed']['updateSuggestionItem']({..._0x554e1d,'abortSignal':_0x2bd0b1,'renderingStrategy':_0x18ba14}),_0x554e1d['isDone']&&this['markFeedItemAsDone'](_0x554e1d['id']);});}['updateFeedItemAIReplySuggestionPartState'](_0xc053b5){this['_view']['chatFeed']['updateSuggestionPartState'](_0xc053b5);}['setFeedItemAIReplySuggestionPartActive'](_0x536f0a){this['_view']['chatFeed']['setSuggestionPartActive'](_0x536f0a);}['markFeedItemAsDone'](_0x847bea){this['_view']['chatFeed']['markItemAsDone'](_0x847bea);}['removeFeedInteraction'](_0x392ba4){this['_view']['chatFeed']['getItemIds']()['filter'](_0x26bcaf=>_0x26bcaf['startsWith'](_0x392ba4))['forEach'](_0x56ee13=>this['_view']['chatFeed']['removeItem'](_0x56ee13));}['startInteraction'](){const _0x4161f0=this['prepareLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x1});this['setLoadingMessage'](_0x4161f0),this['_view']['chatControls']['disableModelSelector'](!this['context']['config']['get']('ai.models.showModelSelector')),this['isBusy']=!0x0,this['_view']['chatFeed']['startAutoScroll']();}['stopInteraction'](_0x2b9ef7){this['_promiseQueue']['abort'](),this['_view']['chatFeed']['getItemIds']()['filter'](_0xe29a08=>_0xe29a08['startsWith'](_0x2b9ef7['id']))['forEach'](_0x3d10f7=>this['markFeedItemAsDone'](_0x3d10f7)),this['isBusy']=!0x1,this['_view']['chatFeed']['stopAutoScroll']();}async['finishInteraction'](){return this['_promiseQueue']['queueEmptyPromise']['then'](()=>{this['isBusy']=!0x1,this['_view']['chatFeed']['stopAutoScroll']();});}['addContextItem'](_0x5417e5,_0x648c8e){this['_view']['chatControls']['addContextItem'](_0x5417e5,_0x648c8e);}['removeContextItem'](_0x1e6814){this['_view']['chatControls']['removeContextItem'](_0x1e6814);}['setContextItemLoading'](_0x5508eb,_0x1b99ef){this['_view']['chatControls']['setContextItemLoading'](_0x5508eb,_0x1b99ef);}['setIsUploadInProgress'](_0x3d023a){this['_view']['chatControls']['setIsUploadInProgress'](_0x3d023a);}['setConversationContext'](_0x2c5d57){this['_view']['chatControls']['setConversationContext'](_0x2c5d57);}['clearPendingContextUI'](){this['_view']['chatControls']['clearPendingContextUI']();}['clearConversationContextUI'](){this['_view']['chatControls']['clearConversationContextUI']();}['updateResourceState'](_0x4d653b,_0x20cb4e,_0x1a9b6f){this['_view']['chatControls']['updateResourceState'](_0x4d653b,_0x20cb4e,_0x1a9b6f);}['resetMessageInput'](){this['_view']['chatControls']['resetMessageInput'](),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']());}['setAddContextOptions'](_0x537fde){this['_view']['chatControls']['setAddContextOptions'](_0x537fde);}['updateCapabilities'](_0x44be76){this['_view']['chatControls']['setWebSearch'](_0x44be76['isWebSearchEnabled']),this['_view']['chatControls']['setReasoning'](_0x44be76['isReasoningEnabled']),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder'](_0x44be76));}['setSelectedModel'](_0x3758fb,_0x5a0e37){this['_view']['chatControls']['setModel'](_0x3758fb),_0x5a0e37&&this['_view']['chatControls']['disableModelSelector'](!0x1);}['setFeedItemRenderingStrategy'](_0xe8daee){this['feedItemRenderingStrategy']=_0xe8daee;}['toggleLoadingSkeleton'](_0xda8ec9){this['_view']['chatFeed']['toggleLoadingSkeleton'](_0xda8ec9);}['resetConversationTitle'](){this['setConversationTitle'](getTranslation$i(this['context']['locale'],'AI_CHAT_HEADING'));}['setConversationTitle'](_0x36c5ff,_0x587471=!0x1){if(_0x587471&&!ckeditor5['_isMotionReduced']()&&_0x36c5ff['length'])return this['_view']['chatHeader']['label']='',void this['_animateConversationTitle'](_0x36c5ff);this['_view']['chatHeader']['label']=_0x36c5ff;}['setLoadingMessage'](_0xcf1f41){this['_view']['chatFeed']['setLoadingMessage'](_0xcf1f41);}['clearLoadingMessage'](){this['_view']['chatFeed']['setLoadingMessage']('');}['_animateConversationTitle'](_0x15ef7b){let _0x2d4aa0=0x0;clearInterval(this['_titleAnimationInterval']),this['_titleAnimationInterval']=setInterval(()=>{this['_view']['chatHeader']['label']=this['_view']['chatHeader']['label']+_0x15ef7b[_0x2d4aa0],_0x2d4aa0++,_0x2d4aa0===_0x15ef7b['length']&&clearInterval(this['_titleAnimationInterval']);},_0x52efb7);}['setIsMaximized'](_0x16e0ba){this['_view']['chatHeader']['isMaximized']=_0x16e0ba;}['prepareLoadingMessage'](_0x51b287){return _0x51b287['isWebSearchEnabled']&&_0x51b287['isReasoningEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING'):_0x51b287['isWebSearchEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH'):_0x51b287['isReasoningEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REASONING'):getTranslation$i(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REGULAR');}['_getInputPlaceholder'](_0x37f06a){return _0x37f06a?_0x37f06a['isWebSearchEnabled']&&_0x37f06a['isReasoningEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING'):_0x37f06a['isWebSearchEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH'):_0x37f06a['isReasoningEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING'):getTranslation$i(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR'):getTranslation$i(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR');}['populateSourceResourceBalloon'](_0x322e75,_0x33d95a,_0x1bb7bd,_0x5e0a0e){this['_view']['populateSourceResourceBalloon'](_0x322e75,_0x33d95a,_0x1bb7bd,_0x5e0a0e);}['closeSourceResourceBalloon'](_0x30fb1d){this['_view']['closeSourceResourceBalloon'](_0x30fb1d);}['setPromptInputValue'](_0x446654){this['_view']['chatControls']['setPromptInputValue'](_0x446654);}['focusPromptInput'](_0x42458c=!0x1){this['_view']['chatControls']['focusPromptInput'](_0x42458c);}['scrollFeedToSuggestion'](_0x3c5eb0,_0x43416a){this['_view']['chatFeed']['scrollToSuggestion'](_0x3c5eb0,_0x43416a);}['startAutoScroll'](){this['_view']['chatFeed']['startAutoScroll']();}['disableControls'](){this['_view']['chatControls']['isDisabled']=!0x0;}['enableControls'](){this['_view']['chatControls']['isDisabled']=!0x1;}}class AIChatHistorySectionListView extends ckeditor5['ListView']{['sections'];constructor(_0x1808d1,_0x1db7de){super(_0x1808d1),this['sections']=_0x1db7de,this['items']['addMany'](this['sections']),this['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__sections']}});}['filter'](_0xb5bc19){let _0x38672b=0x0,_0x24bb01=0x0;for(const _0x2b9922 of this['sections']){const {resultsCount:_0x2f2008,totalItemsCount:_0x4aab91}=_0x2b9922['filter'](_0xb5bc19);_0x38672b+=_0x2f2008,_0x24bb01+=_0x4aab91;}return{'resultsCount':_0x38672b,'totalItemsCount':_0x24bb01};}}class AIChatHistoryListView extends ckeditor5['ListItemView']{['title'];['itemsViews'];['_itemsListView'];constructor(_0x234d78,{title:_0x4ed6cc,items:_0x80f474}){super(_0x234d78);const _0x3bc7e1=this['bindTemplate'];this['set']('isVisible',!0x0),this['title']=_0x4ed6cc,this['itemsViews']=_0x80f474;const _0x9e3052=new ckeditor5['View'](_0x234d78);_0x9e3052['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__section-title']},'children':[this['title']]}),this['_itemsListView']=new ckeditor5['ListView'](_0x234d78),this['_itemsListView']['items']['addMany'](this['itemsViews']),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__section',_0x3bc7e1['if']('isVisible','ck-hidden',_0x27c18a=>!_0x27c18a)]},'children':[_0x9e3052,this['_itemsListView']]});}['filter'](_0x5e09f9){const _0x28bcdd=this['itemsViews']['length'];let _0x11f9b3=0x0;for(const _0x1635ab of this['itemsViews']){if(_0x5e09f9){const _0x4ffb1a=_0x1635ab['isMatching'](_0x5e09f9);_0x1635ab['isVisible']=!!_0x4ffb1a,_0x1635ab['highlightText'](_0x5e09f9);}else _0x1635ab['isVisible']=!0x0,_0x1635ab['highlightText'](null);_0x1635ab['isVisible']&&_0x11f9b3++;}return this['isVisible']=_0x11f9b3>0x0,{'resultsCount':_0x11f9b3,'totalItemsCount':_0x28bcdd};}['getItem'](_0x5865fa){return this['itemsViews']['find'](_0x194fdd=>_0x194fdd['id']===_0x5865fa);}['removeItem'](_0xd63704){const _0x5c2ae3=this['itemsViews']['indexOf'](_0xd63704);-0x1!==_0x5c2ae3&&(this['itemsViews']['splice'](_0x5c2ae3,0x1),this['_itemsListView']['items']['remove'](_0xd63704));}}class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
_0x150618(ckeditor5['ListItemView']){['id'];static ['LOADING_LABELS']={'remove':'AI_CHAT_HISTORY_LOADING_REMOVING','rename':'AI_CHAT_HISTORY_LOADING_RENAMING','pin':'AI_CHAT_HISTORY_LOADING_PINNING','unpin':'AI_CHAT_HISTORY_LOADING_UNPINNING'};['actions'];['mainContent'];['_titleView'];constructor(_0xa71625,_0x2130ba){super(_0xa71625);const _0x1993d1=this['bindTemplate'];this['set']('isEdit',!0x1),this['set']('isVisible',!0x0),this['set']('pinned',!!_0x2130ba['pinned']),this['set']('loadingState',null),this['id']=_0x2130ba['id'];const {title:_0x4913f4,createdAt:_0x40c039,active:_0x2c89eb=!0x1}=_0x2130ba;this['_titleView']=new ckeditor5['HighlightedTextView'](),this['_titleView']['text']=_0x4913f4,this['_titleView']['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__item-title']}});const _0x404116=this['_createCheckView'](),_0x252a79=this['_createPinButtonView'](_0xa71625),_0x24a994=this['_createMenuDropdownView'](),_0x1708cd=this['_createEditInputView'](_0xa71625,_0x4913f4),_0x1f0294=this['_createAcceptEditButtonView'](_0xa71625,_0x1708cd),_0x392c4e=this['_createCancelEditButtonView'](_0xa71625,_0x1708cd);this['actions']=this['createCollection'](),this['mainContent']=this['createCollection'](),this['mainContent']['add'](this['_titleView']),this['actions']['add'](_0x252a79),this['actions']['add'](_0x24a994),this['on']('change:isEdit',(_0x1940ca,_0x1b420e,_0x4a1e3f)=>{this['actions']['clear'](),this['mainContent']['clear'](),_0x4a1e3f?(this['actions']['add'](_0x1f0294),this['actions']['add'](_0x392c4e),this['mainContent']['add'](_0x1708cd),_0x1708cd['element']['focus']()):(this['actions']['add'](_0x252a79),this['actions']['add'](_0x24a994),this['mainContent']['add'](this['_titleView']));}),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__item',_0x2c89eb?'ck-ai-chat-history__item--active':'',_0x1993d1['if']('isVisible','ck-hidden',_0x548eae=>!_0x548eae),_0x1993d1['if']('isEdit','ck-ai-chat-history__item--edit')],'role':'listitem'},'children':[{'tag':'span','attributes':{'class':['ck-ai-chat-history__item-check-container']},'children':[{'tag':'div','attributes':{'class':['ck-ai-chat-history__item-check',_0x1993d1['if']('loadingState','ck-hidden',_0xd50a6b=>!!_0xd50a6b)]},'children':_0x2c89eb?[_0x404116]:[]},{'tag':'div','attributes':{'class':['ck-ai-loader',_0x1993d1['if']('loadingState','ck-hidden',_0x5b4a08=>!_0x5b4a08)]},'children':[this['_createSpinnerView']()]}]},{'tag':'div','attributes':{'class':['ck-ai-chat-history__item-row']},'children':[{'tag':'div','attributes':{'class':['ck-ai-chat-history__item-content']},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai-chat-history__item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai-chat-history__item-title',_0x1993d1['if']('loadingState','ck-hidden',_0x1c7de2=>!!_0x1c7de2)]},'children':this['mainContent']},{'tag':'div','attributes':{'class':['ck-ai-loader__text',_0x1993d1['if']('loadingState','ck-hidden',_0x4b6851=>!_0x4b6851)]},'children':[{'text':_0x1993d1['to']('loadingState',_0x5489fa=>_0x5489fa?getTranslation$i(this['locale'],AIChatHistoryListItemView['LOADING_LABELS'][_0x5489fa]):'')}]}]},{'tag':'span','attributes':{'class':['ck-ai-chat-history__item-date']},'children':[_0x40c039]}]},{'tag':'div','attributes':{'class':['ck-ai-chat-history__item-actions']},'children':this['actions']}]}]}),this['on']('click',()=>{this['isEdit']||this['fire']('selectConversation',{'id':this['id']});});}['updateTitle'](_0x177d6c){this['_titleView']['text']=_0x461292(_0x177d6c);}['updateLoadingState'](_0x43c19f,_0x353a06){this['set']('loadingState',_0x353a06?_0x43c19f:null);}['_createCheckView'](){const _0x415225=new ckeditor5['IconView']();return _0x415225['set']({'content':ckeditor5['IconCheck']}),_0x415225;}['_createPinButtonView'](_0x348262){const _0x1dec2f=new ckeditor5['ButtonView'](_0x348262);return _0x1dec2f['set']({'label':getTranslation$i(_0x348262,'AI_CHAT_HISTORY_PIN_BUTTON'),'icon':ckeditor5['IconPin'],'withText':!0x1,'tooltip':!0x0}),_0x1dec2f['bind']('isOn')['to'](this,'pinned'),_0x1dec2f['on']('execute',()=>{const _0x42a289=!this['pinned'];this['fire']('setConversationPinned',{'id':this['id'],'pinned':_0x42a289});}),_0x1dec2f;}['_createMenuDropdownView'](){const _0x1b8956=ckeditor5['createDropdown'](this['locale'],LateFocusDropdownButtonView),_0x1089d6=_0x1b8956['panelView']['children'];_0x1b8956['buttonView']['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_HISTORY_SHOW_MORE_ITEMS'),'icon':ckeditor5['IconThreeHorizontalDots']}),_0x1b8956['panelPosition']='sw';const _0x191c11=new ckeditor5['ButtonView'](this['locale']);_0x191c11['label']=getTranslation$i(this['locale'],'AI_CHAT_HISTORY_EDIT_NAME'),_0x191c11['withText']=!0x0,_0x191c11['on']('execute',()=>{this['isEdit']=!0x0;});const _0x253cc0=new ckeditor5['ButtonView'](this['locale']);_0x253cc0['label']=getTranslation$i(this['locale'],'AI_CHAT_HISTORY_REMOVE'),_0x253cc0['withText']=!0x0,_0x253cc0['on']('execute',()=>{this['showConfirm'](getTranslation$i(this['locale'],'AI_CHAT_HISTORY_REMOVE_CONFIRM'),this['element'])['then'](()=>{this['fire']('removeConversation',{'id':this['id']});});});const _0x1a9ca2=new ckeditor5['ListView'](this['locale']),_0x4d7586=new ckeditor5['ListItemView'](this['locale']);_0x4d7586['children']['add'](_0x191c11);const _0x5a564a=new ckeditor5['ListItemView'](this['locale']);return _0x5a564a['children']['add'](_0x253cc0),_0x1a9ca2['items']['addMany']([_0x4d7586,_0x5a564a]),_0x1089d6['add'](_0x1a9ca2),_0x1b8956;}['_createEditInputView'](_0x25ab76,_0x2e847a){const _0x56e3cb=new ckeditor5['InputTextView'](_0x25ab76),_0x2c48b1=_0x56e3cb['bindTemplate'];return _0x56e3cb['value']=_0x2e847a,_0x56e3cb['extendTemplate']({'on':{'keydown':_0x2c48b1['to'](_0x2210fd=>{'Enter'==_0x2210fd['key']&&this['_commitEditInputValue'](_0x56e3cb);})}}),_0x56e3cb;}['_createAcceptEditButtonView'](_0x1be9d5,_0x232eb0){const _0x29de91=new ckeditor5['ButtonView'](_0x1be9d5);return _0x29de91['set']({'icon':ckeditor5['IconCheck'],'withText':!0x1,'tooltip':getTranslation$i(_0x1be9d5,'AI_CHAT_HISTORY_ACCEPT')}),_0x29de91['extendTemplate']({'attributes':{'class':['ck-confirm-view-submit']}}),_0x29de91['on']('execute',()=>{this['_commitEditInputValue'](_0x232eb0);}),_0x29de91;}['_commitEditInputValue'](_0x358271){const _0x487259=_0x358271['element']['value']||'';this['_titleView']['text']=_0x487259,this['isEdit']=!0x1,this['fire']('editConversationTitle',{'id':this['id'],'title':_0x487259});}['_createCancelEditButtonView'](_0x2cfe95,_0x3c2876){const _0x22cf10=new ckeditor5['ButtonView'](_0x2cfe95);return _0x22cf10['set']({'icon':ckeditor5['IconCancel'],'withText':!0x1,'tooltip':getTranslation$i(_0x2cfe95,'AI_CHAT_HISTORY_CANCEL')}),_0x22cf10['extendTemplate']({'attributes':{'class':['ck-confirm-view-cancel']}}),_0x22cf10['on']('execute',()=>{this['isEdit']=!0x1,_0x3c2876['value']=this['_titleView']['text']||'',this['fire']('edit:cancel');}),_0x22cf10;}['_createSpinnerView'](){const _0x4fa576=new _0x49ba5d('tiny');return _0x4fa576['isVisible']=!0x0,_0x4fa576;}['isMatching'](_0x5ed8ae){return this['_titleView']&&'string'==typeof this['_titleView']['text']&&this['_titleView']['text']['match'](_0x5ed8ae)?{'title':!0x0}:null;}['highlightText'](_0x2648a4){this['_titleView']['highlightText'](_0x2648a4);}}class AIChatHistoryView extends ckeditor5['View']{['searchView'];['mainErrorView'];['skeletonView'];['emptyView'];['sectionsView'];['resizeButton'];constructor(_0x2732be,_0x1fac5a){super(_0x2732be),this['set']('hasItems',!0x1),this['set']('isLoading',!0x0),this['set']('errorMessage',''),this['set']('isMaximized',!0x1),this['set']('isSearchViewVisible',!0x1),this['set']('isEmptyViewVisible',!0x1),this['set']('isMainErrorViewVisible',!0x1);const _0x198b72=new ckeditor5['FormHeaderView'](_0x2732be,{'label':getTranslation$i(_0x2732be,'AI_CHAT_HISTORY_HEADING'),'icon':ckeditor5['IconAIHistory'],'class':'ck-ai-header\x20ck-ai-header_history'});_0x1fac5a&&(this['resizeButton']=createResizeButton(_0x2732be,this),_0x198b72['children']['add'](this['resizeButton'])),this['sectionsView']=new AIChatHistorySectionListView(_0x2732be,[]),this['sectionsView']['delegate'](..._0x115429)['to'](this),this['mainErrorView']=this['_createErrorView'](),this['skeletonView']=this['_createSkeletonView'](),this['emptyView']=this['_createEmptyStateView'](),this['searchView']=this['_createSearchView'](),this['mainErrorView']['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isMainErrorViewVisible','ck-hidden',_0x5d96e8=>!_0x5d96e8)]}}),this['on']('change:isLoading',()=>this['_updateViewVisibility']()),this['on']('change:hasItems',()=>this['_updateViewVisibility']()),this['on']('change:errorMessage',()=>this['_updateViewVisibility']()),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-chat-history','ck-rounded-corners'],'dir':'ltr'},'children':[_0x198b72,{'tag':'div','attributes':{'class':['ck-ai-chat-history__content']},'children':[this['skeletonView'],this['mainErrorView'],this['emptyView'],this['searchView']]}]});}['_updateViewVisibility'](){this['isSearchViewVisible']=!this['isLoading']&&this['hasItems'],this['isEmptyViewVisible']=!this['isLoading']&&!this['hasItems']&&!this['errorMessage'],this['isMainErrorViewVisible']=!this['isSearchViewVisible']&&!!this['errorMessage'];}['_createSearchView'](){const _0x24c78e=new ckeditor5['SearchTextView'](this['locale'],{'filteredView':this['sectionsView'],'queryView':{'label':getTranslation$i(this['locale'],'AI_CHAT_HISTORY_SEARCH_LABEL')},'infoView':{'text':{'notFound':{'primary':_0x52d90b=>getTranslation$i(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY',_0x52d90b),'secondary':getTranslation$i(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY')}}}}),_0x5aebcb=this['_createErrorView']();return _0x5aebcb['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('errorMessage','ck-hidden',_0x51871c=>!_0x51871c)]}}),_0x24c78e['on']('render',()=>{_0x24c78e['children']['add'](_0x5aebcb,0x1);}),_0x24c78e['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isSearchViewVisible','ck-hidden',_0x6f3153=>!_0x6f3153)]}}),_0x24c78e;}['_createSkeletonView'](){const _0x3b86ee=new AISkeletonView(this['locale'],_0x61aa3f['aiHistory']);return _0x3b86ee['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isLoading','ck-hidden',_0x199372=>!_0x199372)]}}),_0x3b86ee;}['_createErrorView'](){const _0x58e2bb=new ckeditor5['View'](this['locale']),_0x26e8ad=new ckeditor5['ButtonView'](this['locale']);_0x26e8ad['set']({'withText':!0x1,'icon':ckeditor5['IconCancel'],'class':'ck-ai-notification_error__dismiss-button'}),_0x26e8ad['bind']('isVisible')['to'](this,'hasItems',_0x4758b5=>!!_0x4758b5),_0x26e8ad['on']('execute',()=>{this['errorMessage']='';});const _0x458d8c=this['bindTemplate'];return _0x58e2bb['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error']},'children':[{'tag':'p','children':[{'text':_0x458d8c['to']('errorMessage')}]},_0x26e8ad]}),_0x58e2bb;}['_createEmptyStateView'](){const _0x1ac94f=new ckeditor5['ButtonView'](this['locale']);_0x1ac94f['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_LABEL_NEW_CHAT'),'withText':!0x0,'icon':ckeditor5['IconPlus'],'class':'ck-ai-chat__start-conversation'}),_0x1ac94f['on']('execute',()=>{this['fire']('openChat');});const _0x21adc1=new ckeditor5['View'](this['locale']);return _0x21adc1['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__empty',this['bindTemplate']['if']('isEmptyViewVisible','ck-hidden',_0x2ddad7=>!_0x2ddad7)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-history__empty-message']},'children':[getTranslation$i(this['locale'],'AI_CHAT_HISTORY_EMPTY_MESSAGE')]},_0x1ac94f]}),_0x21adc1;}['_createListItemViews'](_0x22dcee,_0x5bfcce){const _0x4b4600=[];for(const _0x59038a of _0x22dcee){const _0x2214d9=new AIChatHistoryListItemView(_0x5bfcce,_0x59038a);_0x2214d9['delegate'](..._0x115429)['to'](this),_0x4b4600['push'](_0x2214d9);}return _0x4b4600;}['updateHistoryItemsWithCategories'](_0x54839c){const _0x461c3e=this['locale']||'en',_0xff3efb=[];for(const _0x5c94e7 of _0x54839c){const _0x3f7366=this['_createListItemViews'](_0x5c94e7['items'],_0x461c3e);_0xff3efb['push'](new AIChatHistoryListView(_0x461c3e,{'title':_0x5c94e7['title'],'items':_0x3f7366}));}this['sectionsView']['sections']=_0xff3efb,this['sectionsView']['items']['clear'](),this['sectionsView']['items']['addMany'](_0xff3efb),this['hasItems']=_0x54839c['some'](_0x2e91f2=>_0x2e91f2['items']['length']>0x0),this['_refreshSearch']();}['removeHistoryItem'](_0x597b50){for(const _0x41c963 of this['sectionsView']['sections']){const _0x270773=_0x41c963['getItem'](_0x597b50);if(_0x270773){if(_0x41c963['removeItem'](_0x270773),0x0===_0x41c963['itemsViews']['length']){const _0x28d609=this['sectionsView']['sections']['indexOf'](_0x41c963);-0x1!==_0x28d609&&(this['sectionsView']['sections']['splice'](_0x28d609,0x1),this['sectionsView']['items']['remove'](_0x41c963));}this['hasItems']=this['sectionsView']['sections']['length']>0x0,this['_refreshSearch']();break;}}}['updateItemTitle'](_0x53e710,_0x291e14){for(const _0x25d892 of this['sectionsView']['sections']){const _0x3dddcc=_0x25d892['getItem'](_0x53e710);if(_0x3dddcc){_0x3dddcc['updateTitle'](_0x291e14);break;}}}['updateItemLoadingState'](_0x1ac792,_0x2d0c29,_0x37314b){for(const _0x973af8 of this['sectionsView']['sections']){const _0x5164d2=_0x973af8['getItem'](_0x1ac792);if(_0x5164d2){_0x5164d2['updateLoadingState'](_0x2d0c29,_0x37314b);break;}}}['_refreshSearch'](){if(this['hasItems']){const _0x5cf842=this['searchView']['queryView']['fieldView']?.['element']?.['value']||'';this['searchView']['search'](_0x5cf842);}}}const _0x115429=['showConversationHistory','removeConversation','editConversationTitle','setConversationPinned','selectConversation','openChat','resizeTabs'];class AIChatHistoryUI extends ckeditor5['ContextPlugin']{static get['requires'](){return[_0x149a9c];}['_historyView'];static get['pluginName'](){return'AIChatHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x493047){super(_0x493047);const _0x36c27e=this['context']['plugins']['get']('AITabs');this['_historyView']=new AIChatHistoryView(this['context']['locale'],_0x36c27e['showResizeButton']),this['_historyView']['delegate'](..._0x115429)['to'](this),_0x36c27e['view']['addTab']({'id':'history','buttonLabel':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_HEADING'),'buttonIcon':ckeditor5['IconAIHistory'],'order':0x0,'content':this['_historyView']});}['removeHistoryItem'](_0x1ac5cd){this['_historyView']['removeHistoryItem'](_0x1ac5cd);}['updateItems'](_0x11e1c2){this['_historyView']['updateHistoryItemsWithCategories'](_0x11e1c2);}['updateItemTitle'](_0x28f239,_0x1d6a8d){this['_historyView']['updateItemTitle'](_0x28f239,_0x1d6a8d);}['updateItemLoadingState'](_0x84bf7f,_0x1aded2,_0x4c2cad){this['_historyView']['updateItemLoadingState'](_0x84bf7f,_0x1aded2,_0x4c2cad);}['setLoadingSkeleton'](_0xa8d54e){this['_historyView']['isLoading']=_0xa8d54e;}['showError'](_0x550aa6){this['_historyView']['errorMessage']=_0x550aa6;}['hideError'](){this['_historyView']['errorMessage']='';}['setIsMaximized'](_0x98ae33){this['_historyView']['isMaximized']=_0x98ae33;}}class AIChatHistoryItem extends ckeditor5['ObservableMixin'](){['id'];['createdAt'];constructor({id:_0x3a48b2,title:_0x162691,createdAt:_0x13804d,updatedAt:_0xc69a76,pinned:_0xa816ad}){super(),this['id']=_0x3a48b2,this['createdAt']=new Date(_0x13804d),this['set']('title',_0x162691),this['set']('updatedAt',_0xc69a76?new Date(_0xc69a76):null),this['set']('pinned',_0xa816ad||!0x1);}['updateTitle'](_0x1902ef){this['set']('title',_0x461292(_0x1902ef)),this['updatedAt']=new Date();}['updatePinned'](_0x5a003d){this['set']('pinned',_0x5a003d),this['updatedAt']=new Date();}}class AIChatHistoryConversations extends ckeditor5['EmitterMixin'](){['items']=[];['connector'];['group'];constructor({connector:_0x482dd7,group:_0x40c748}){super(),this['connector']=_0x482dd7,this['group']=_0x40c748;}async['init'](){try{const _0x221a29=this['connector']['fetchConversations'](this['group']),_0x44bfd3=await _0x221a29['getConversations']();this['loadItems'](_0x44bfd3);}catch(_0x2719d6){this['fire']('error',{'error':_0x2719d6,'operation':'init'});}}['addItem'](_0x35728d){this['items']['push'](_0x35728d);}async['removeItem'](_0x37d5d8){const _0x10b7cd=this['items']['findIndex'](_0x3a9675=>_0x3a9675['id']===_0x37d5d8);if(-0x1===_0x10b7cd)return!0x1;try{return await this['connector']['deleteConversation'](_0x37d5d8)['execute'](),this['items']['splice'](_0x10b7cd,0x1),this['fire']('itemRemoved',{'itemId':_0x37d5d8}),!0x0;}catch(_0x2b4f21){return this['fire']('error',{'error':_0x2b4f21,'operation':'removeItem','itemId':_0x37d5d8}),!0x1;}}['getItem'](_0x4f48fd){return this['items']['find'](_0x3bb140=>_0x3bb140['id']===_0x4f48fd);}async['updateItemTitle'](_0x1da35c,_0x32a33d){const _0x743b96=this['getItem'](_0x1da35c);if(!_0x743b96)return!0x1;try{return await this['connector']['updateConversation'](_0x1da35c,{'title':_0x32a33d})['getResult'](),_0x743b96['updateTitle'](_0x32a33d),this['fire']('itemUpdated',{'itemId':_0x1da35c,'updates':{'title':_0x32a33d}}),!0x0;}catch(_0xc4427){return this['fire']('error',{'error':_0xc4427,'operation':'updateItemTitle','itemId':_0x1da35c}),!0x1;}}async['updateItemPinned'](_0x15b880,_0x45c0bb){const _0x3e7e44=this['getItem'](_0x15b880);if(!_0x3e7e44)return!0x1;try{return await this['connector']['updateConversation'](_0x15b880,{'pinned':_0x45c0bb})['getResult'](),_0x3e7e44['updatePinned'](_0x45c0bb),this['fire']('itemUpdated',{'itemId':_0x15b880,'updates':{'pinned':_0x45c0bb}}),!0x0;}catch(_0x2f04ce){return this['fire']('error',{'error':_0x2f04ce,'operation':'updateItemPinned','itemId':_0x15b880}),!0x1;}}['loadItems'](_0x4f8df1){try{this['items']=[],_0x4f8df1['map'](_0x405650=>{this['addItem'](new AIChatHistoryItem(_0x405650));}),this['fire']('itemsLoaded',{'items':[...this['items']]});}catch(_0x14ea17){this['fire']('error',{'error':_0x14ea17,'operation':'loadItems'});}}['getItems'](_0x384de7={}){const _0x4d64d4=void 0x0!==_0x384de7['pinned']&&_0x384de7['pinned'],_0x40f273=_0x384de7['from']?new Date(_0x384de7['from']['getFullYear'](),_0x384de7['from']['getMonth'](),_0x384de7['from']['getDate']()):null,_0x9680=_0x384de7['to']?new Date(_0x384de7['to']['getFullYear'](),_0x384de7['to']['getMonth'](),_0x384de7['to']['getDate']()):null;return this['items']['filter'](_0x10a42b=>{if(_0x10a42b['pinned']!==_0x4d64d4)return!0x1;if(_0x9680){const _0x314d16=new Date(_0x10a42b['createdAt']['getFullYear'](),_0x10a42b['createdAt']['getMonth'](),_0x10a42b['createdAt']['getDate']());return _0x40f273?_0x40f273['getTime']()===_0x9680['getTime']()?_0x314d16['getTime']()===_0x40f273['getTime']():_0x314d16<_0x9680&&_0x314d16>=_0x40f273:_0x314d16<_0x9680;}return!0x0;});}}class AIChatHistoryController extends ckeditor5['ContextPlugin']{['_aiConnector'];['_aiChatHistoryUi'];['_aiChatController'];static get['requires'](){return[AIConnector,AIChatController,AIChatHistoryUI,_0x149a9c];}static get['pluginName'](){return'AIChatHistoryController';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_aiConnector']=this['context']['plugins']['get'](AIConnector),this['_aiChatHistoryUi']=this['context']['plugins']['get'](AIChatHistoryUI),this['_aiChatController']=this['context']['plugins']['get'](AIChatController);const _0xd00406=this['context']['plugins']['get'](_0x149a9c);try{const _0x530f58=this['_aiChatController']['getGroupId']();this['history']=new AIChatHistoryConversations({'connector':this['_aiConnector'],'group':_0x530f58}),this['listenTo'](this['_aiChatHistoryUi'],'removeConversation',(_0x37ace5,_0x4716e9)=>{this['_setItemLoading'](_0x4716e9['id'],'remove'),this['_handleRemove'](_0x4716e9['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'editConversationTitle',(_0xc57ef3,_0x15d48a)=>{this['_setItemLoading'](_0x15d48a['id'],'rename'),this['_handleEditTitle'](_0x15d48a['id'],_0x15d48a['title']);}),this['listenTo'](this['history'],'itemUpdated',(_0x24472d,_0x1dc24b)=>{void 0x0!==_0x1dc24b['updates']['title']&&this['_aiChatHistoryUi']['updateItemTitle'](_0x1dc24b['itemId'],_0x1dc24b['updates']['title']),void 0x0!==_0x1dc24b['updates']['pinned']&&this['_updateHistoryItemsUI'](),this['_clearItemLoading'](_0x1dc24b['itemId']);}),this['listenTo'](this['history'],'itemRemoved',(_0x30e8f5,_0x37a313)=>{this['_aiChatController']['handleRemovedConversation'](_0x37a313['itemId']),this['_aiChatHistoryUi']['removeHistoryItem'](_0x37a313['itemId']),this['_clearItemLoading'](_0x37a313['itemId']);}),this['listenTo'](this['history'],'itemsLoaded',()=>{this['_updateHistoryItemsUI']();}),this['listenTo'](this['history'],'error',(_0x5c2f83,_0x4f15c8)=>{this['_handleHistoryErrorUI'](_0x4f15c8['error'],_0x4f15c8['operation'],_0x4f15c8['itemId']);}),this['listenTo'](this['_aiChatHistoryUi'],'selectConversation',(_0x3197a5,_0x5178be)=>{this['_handleSelectConversation'](_0x5178be['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'setConversationPinned',(_0x2d4486,_0x366b42)=>{const _0x41b39e=_0x366b42['pinned']?'pin':'unpin';this['_setItemLoading'](_0x366b42['id'],_0x41b39e),this['_handleTogglePin'](_0x366b42['id'],_0x366b42['pinned']);}),this['listenTo'](this['_aiChatHistoryUi'],'openChat',()=>{_0xd00406['view']['activateTab']('chat');}),this['listenTo'](this['_aiChatController'],'change:activeConversation',()=>{this['_updateHistoryItemsUI']();}),_0xd00406['view']['on']('activateTab:history',()=>{this['_showConversationHistory']();}),this['listenTo'](_0xd00406,'resizedTabs',(_0x245d6f,_0x212ac7)=>{this['_setIsMaximized'](_0x212ac7);}),this['listenTo'](this['_aiChatHistoryUi'],'resizeTabs',()=>{_0xd00406['resize']();});}catch(_0x4bf448){this['_handleHistoryErrorUI'](_0x4bf448,'init');}}async['_handleEditTitle'](_0x1baa1b,_0x5d4669){await this['history']['updateItemTitle'](_0x1baa1b,_0x5d4669);}async['_handleTogglePin'](_0x5b061d,_0x2cad40){await this['history']['updateItemPinned'](_0x5b061d,_0x2cad40);}async['_handleRemove'](_0x24bbc6){await this['history']['removeItem'](_0x24bbc6);}async['_handleSelectConversation'](_0x35289d){await this['_aiChatController']['loadConversation'](_0x35289d);}async['_showConversationHistory'](){this['_aiChatHistoryUi']['showError'](''),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x0),await this['history']['init'](),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}['_updateHistoryItemsUI'](){const _0x21e582=this['_aiChatController']['activeConversation']?.['id'],_0x29e9b8=this['_getCategorizedItems']()['map'](_0x4dce17=>({'title':_0x4dce17['title'],'items':_0x4dce17['items']['map'](_0xc23d0e=>({'id':_0xc23d0e['id'],'title':_0xc23d0e['title']||getTranslation$i(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),'createdAt':new Date(_0xc23d0e['createdAt'])['toLocaleDateString'](),'active':_0xc23d0e['id']===_0x21e582,'pinned':_0xc23d0e['pinned']}))}));this['_aiChatHistoryUi']['updateItems'](_0x29e9b8);}['_setItemLoading'](_0x3700a0,_0x3f46fc){this['_aiChatHistoryUi']['updateItemLoadingState'](_0x3700a0,_0x3f46fc,!0x0);}['_clearItemLoading'](_0x58bf4d){this['_aiChatHistoryUi']['updateItemLoadingState'](_0x58bf4d,null,!0x1);}['_handleHistoryErrorUI'](_0x16bb77,_0x39fdd8,_0x4aafe0){const _0x3420a3=this['_generateErrorMessage'](_0x39fdd8,_0x4aafe0);this['_aiChatHistoryUi']['showError'](_0x3420a3),_0x4aafe0&&this['_clearItemLoading'](_0x4aafe0),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}['_generateErrorMessage'](_0x38d0be,_0x4058ff){const _0x4dd29f=_0x4058ff?this['history']['getItem'](_0x4058ff):null,_0x231cfa=_0x4dd29f?.['title']||getTranslation$i(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION');switch(_0x38d0be){case'updateItemTitle':return getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_TITLE',_0x231cfa);case'updateItemPinned':{const _0x249ffd=getTranslation$i(this['context']['locale'],_0x4dd29f?.['pinned']?'AI_CHAT_HISTORY_UNPIN_ACTION':'AI_CHAT_HISTORY_PIN_ACTION');return getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_PINNED',[_0x249ffd,_0x231cfa]);}case'removeItem':return getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_REMOVE_ITEM',_0x231cfa);case'init':case'loadItems':return getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_LOAD_ITEMS');default:return getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_GENERIC');}}['_getCategorizedItems'](){const _0x5c6d72=new Date(),_0x170a5d=new Date(_0x5c6d72['getFullYear'](),_0x5c6d72['getMonth'](),_0x5c6d72['getDate']()),_0x1c2235=new Date(_0x170a5d);_0x1c2235['setDate'](_0x1c2235['getDate']()-0x1);const _0x42799b=new Date(_0x170a5d);_0x42799b['setDate'](_0x42799b['getDate']()-0xe);const _0x1d1e7d=this['history']['getItems']({'pinned':!0x0}),_0x331f9b=this['history']['getItems']({'from':_0x170a5d,'to':_0x170a5d}),_0x42b28c=this['history']['getItems']({'from':_0x1c2235,'to':_0x1c2235}),_0x373151=this['history']['getItems']({'from':_0x42799b,'to':_0x1c2235}),_0x45bfb8=this['history']['getItems']({'to':_0x42799b}),_0x44d196=[];return _0x1d1e7d['length']>0x0&&_0x44d196['push']({'title':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_PINNED'),'items':_0x1d1e7d}),_0x331f9b['length']>0x0&&_0x44d196['push']({'title':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_TODAY'),'items':_0x331f9b}),_0x42b28c['length']>0x0&&_0x44d196['push']({'title':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_YESTERDAY'),'items':_0x42b28c}),_0x373151['length']>0x0&&_0x44d196['push']({'title':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS'),'items':_0x373151}),_0x45bfb8['length']>0x0&&_0x44d196['push']({'title':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LATER'),'items':_0x45bfb8}),_0x44d196;}['_setIsMaximized'](_0x49eaf1){this['_aiChatHistoryUi']['setIsMaximized'](_0x49eaf1);}}class AIChatHistory extends ckeditor5['ContextPlugin']{static get['requires'](){return[AIChatHistoryController,AIChatHistoryUI];}static get['pluginName'](){return'AIChatHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class AIChat extends ckeditor5['ContextPlugin']{static get['requires'](){return[AIChatController,AIEditing,AIChatUI,AIChatHistory];}static get['pluginName'](){return'AIChat';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4a7926){super(_0x4a7926),this['context']['config']['define']('ai.chat.context',{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this['context']['config']['define']('ai.chat.initialConversation','new');}async['addSelectionToChatContext'](){await this['context']['plugins']['get'](AIChatController)['addSelectionToChatContext']();}async['startConversation'](){await this['context']['plugins']['get'](AIChatController)['startConversation']();}async['sendMessage']({message:_0x34dcd8,attributes:_0x40fa79}){await this['context']['plugins']['get'](AIChatController)['sendMessage']({'message':_0x34dcd8,'attributes':_0x40fa79});}['removeSelectionFromChatContext'](){this['context']['plugins']['get'](AIChatController)['removeSelectionFromChatContext']();}['focusPromptInput'](){this['context']['plugins']['get'](AIChatController)['focusPromptInput']();}['registerToolDataCallback'](_0x4b1fb0){this['context']['plugins']['get'](AIChatController)['_registerToolDataCallback'](_0x4b1fb0);}}class AIChatShortcutView extends ckeditor5['ButtonView']{['id'];constructor(_0x3a7286,_0x515471){super(_0x3a7286);const {id:_0x568747,type:_0x50dd4b,icon:_0x3426ea}=_0x515471;this['id']=_0x568747,this['set']({'label':_0x515471['label'],'withText':!0x0,'class':'ck-ai-chat-shortcut'}),this['extendTemplate']({'attributes':{'data-cke-ai-shortcut-id':_0x515471['id']}}),_0x3426ea?this['icon']=_0x3426ea:'chat'===_0x50dd4b?this['icon']=ckeditor5['IconAIChat']:'review'===_0x50dd4b?this['icon']=ckeditor5['IconAIReview']:'translate'===_0x50dd4b&&(this['icon']=ckeditor5['IconAITranslate']);}}class AIChatShortcutsView extends ckeditor5['View']{['listView'];constructor(_0x2340b3,_0x1945a6){super(_0x2340b3);const _0x6d8b69=_0x1945a6['map'](_0x1d24ae=>{const _0x311fc3=new ckeditor5['ListItemView'](this['locale']),_0x2c458a=new AIChatShortcutView(this['locale'],_0x1d24ae);return _0x311fc3['children']['add'](_0x2c458a),_0x2c458a['delegate']('execute')['to'](this),_0x311fc3;});this['listView']=new ckeditor5['ListView'](this['locale']),this['listView']['items']['addMany'](_0x6d8b69),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-shortcuts']},'children':[this['listView']]});}}const _0x169425='chat-shortcuts';var AIChatShortcutType=function(_0x1fff49){return _0x1fff49['CHAT']='chat',_0x1fff49['REVIEW']='review',_0x1fff49['TRANSLATE']='translate',_0x1fff49;}({});class AIChatShortcuts extends ckeditor5['ContextPlugin']{['_shortcuts'];['_shortcutsView'];['_aiChatUI'];static get['requires'](){return[AIChatUI];}static get['pluginName'](){return'AIChatShortcuts';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_aiChatUI']=this['context']['plugins']['get'](AIChatUI),this['_shortcuts']=this['context']['config']['get']('ai.chat.shortcuts')??[];const _0x2faa75=this['context']['plugins']['get']('AIChatController');this['_shortcuts']['length']&&(this['_validateShortcuts'](),this['_aiChatUI']['on']('conversationCreated',()=>{_0x2faa75['activeConversation']['isFromHistory']||this['_injectShortcuts']();}),this['listenTo'](_0x2faa75,'interactionStarted',()=>{this['_removeShortcuts']();}));}['_validateShortcuts'](){const _0x2f0435=Object['values'](AIChatShortcutType);this['_shortcuts']['forEach'](_0xc23b52=>{let _0x3971b9=!0x0;if(_0xc23b52['id']&&_0xc23b52['label']&&_0x2f0435['includes'](_0xc23b52['type'])?'chat'===_0xc23b52['type']&&(_0x3971b9='string'==typeof _0xc23b52['prompt']):_0x3971b9=!0x1,!_0x3971b9)throw new ckeditor5['CKEditorError']('ai-chat-shortcuts-invalid-config',this['context'],{'shortcut':_0xc23b52});});}['_injectShortcuts'](){const _0x291456=this['context']['plugins']['get'](AIChatUI);this['_shortcutsView']=new AIChatShortcutsView(this['context']['locale'],this['_shortcuts']),this['_shortcutsView']['render'](),_0x291456['addFeedItemCustomElement'](this['_shortcutsView']['element'],_0x169425),this['_shortcutsView']['on']('execute',_0x553ed3=>{const _0x23a6a7=_0x553ed3['source']['id'];this['_executeShortcut'](_0x23a6a7);});}['_removeShortcuts'](){const _0x240438=this['context']['plugins']['get'](AIChatUI);_0x240438['hasFeedItem'](_0x169425)&&_0x240438['removeFeedItem'](_0x169425),this['_shortcutsView']?.['destroy']();}['_executeShortcut'](_0x2b0d37){const _0x1a8778=this['_shortcuts']['find'](_0x2d1654=>_0x2d1654['id']===_0x2b0d37),_0x40c69a=_0x1a8778['type'];'chat'===_0x40c69a?this['_runChatShortcut'](_0x1a8778):'review'===_0x40c69a?_0x1a8778['check']?this['_runReviewShortcut'](_0x1a8778):this['_switchTab']('reviewMode'):'translate'===_0x40c69a&&(_0x1a8778['language']?this['_runTranslateShortcut'](_0x1a8778):this['_switchTab']('translate'));}['_switchTab'](_0x55a82f){if(!this['context']['plugins']['has']('AITabs'))throw new ckeditor5['CKEditorError']('ai-chat-shortcuts-ai-tabs-not-found',this['context'],{'tabName':_0x55a82f});this['context']['plugins']['get']('AITabs')['view']['activateTab'](_0x55a82f);}async['_runChatShortcut']({prompt:_0x4324c2,draftMode:_0x5be828,useWebSearch:_0x7b97a=!0x1,useReasoning:_0x15a917=!0x1,model:_0xb944e9}){const _0x3a1060=this['context']['plugins']['get']('AIChat'),_0x3bef0d=this['context']['plugins']['get']('AIChatController'),_0x35c563=_0x3bef0d['activeConversation'];let _0x78bae5;_0x78bae5=_0xb944e9?await _0x35c563['chatModels']['getModel'](_0xb944e9):await _0x35c563['chatModels']['getDefault'](),_0x78bae5&&await _0x35c563['setModel'](_0x78bae5),_0x35c563['setWebSearch'](_0x7b97a),_0x35c563['setReasoning'](_0x15a917),_0x3bef0d['addCurrentDocumentToChatContext'](),_0x5be828?(this['_aiChatUI']['setPromptInputValue'](_0x4324c2),this['_aiChatUI']['focusPromptInput'](!0x0)):_0x3a1060['sendMessage']({'message':_0x4324c2});}['_runReviewShortcut']({check:_0x3e427b,model:_0x1f3b49,prompt:_0x3c2799,params:_0x1a0e97}){if(!this['context']['plugins']['has']('AIReviewModeUI'))throw new ckeditor5['CKEditorError']('ai-chat-shortcuts-review-mode-not-found',this['context']);this['_switchTab']('reviewMode');const _0x50913={'id':_0x3e427b,'isCustom':'custom'===_0x3e427b};_0x1f3b49&&_0x3c2799&&(_0x50913['args']={'model':_0x1f3b49,'prompt':_0x3c2799}),_0x1a0e97&&(_0x50913['params']=_0x1a0e97),this['context']['plugins']['get']('AIReviewModeUI')['fire']('runReviewCheck',_0x50913);}['_runTranslateShortcut']({language:_0x5866be}){if(!this['context']['plugins']['has']('AITranslateUI'))throw new ckeditor5['CKEditorError']('ai-chat-shortcuts-translate-not-found',this['context']);this['_switchTab']('translate'),this['context']['plugins']['get']('AITranslateUI')['fire']('runReviewCheck',{'id':_0x5866be,'args':{'language':_0x5866be}});}}class _0x3bc9d5 extends ckeditor5['Command']{constructor(_0x2384d2){super(_0x2384d2);const _0x592b3d=_0x2384d2['plugins']['get']('AITabs')['view'];this['bind']('value')['to'](_0x592b3d,'isVisible'),this['isEnabled']=!0x0;}['execute'](){const _0x536987=this['editor']['plugins']['get']('AITabs')['view'];_0x536987['isVisible']=!_0x536987['isVisible'];}}class AIToggleButtonUI extends ckeditor5['Plugin']{static get['requires'](){return[_0x149a9c];}static get['pluginName'](){return'AIToggleButtonUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x115e59=this['editor'];_0x115e59['commands']['add']('toggleAi',new _0x3bc9d5(_0x115e59)),_0x115e59['ui']['componentFactory']['add']('toggleAi',()=>{const _0xd3dc1f=this['_createAIUIButton'](ckeditor5['ButtonView']);return _0xd3dc1f['set']({'tooltip':!0x0,'class':'ck-ai-toggle-button'}),_0xd3dc1f;}),_0x115e59['ui']['componentFactory']['add']('menuBar:toggleAi',()=>{const _0x48c780=this['_createAIUIButton'](ckeditor5['MenuBarMenuListItemButtonView']);return _0x48c780['set']({'role':'menuitemcheckbox'}),_0x48c780;});}['_createAIUIButton'](_0x5ac9cd){const _0x5af4cd=this['editor'],_0x5e3ce2=_0x5af4cd['commands']['get']('toggleAi'),_0x608812=new _0x5ac9cd(_0x5af4cd['locale']);return _0x608812['set']({'label':getTranslation$i(_0x5af4cd['locale'],'AI_TOGGLE_BUTTON_LABEL'),'icon':ckeditor5['IconAIAskAI'],'isToggleable':!0x0}),_0x608812['bind']('isEnabled')['to'](_0x5e3ce2),_0x608812['bind']('isOn')['to'](_0x5e3ce2,'value',_0x49ac85=>!!_0x49ac85),this['listenTo'](_0x608812,'execute',()=>{_0x5e3ce2['execute']();}),_0x608812;}}const _0x41f76c=['applySuggestion','insertSuggestion','showNext','showPrevious'];class _0xe8153a extends ckeditor5['View']{['_errorView'];constructor(_0x564ed9){super(_0x564ed9),this['set']('_errorMessage',''),this['set']('_isErrorVisible',!0x1);}['showBlockingError'](_0x2f515c){this['showError'](_0x2f515c);}['showError'](_0x3b3c33){this['_errorView']||(this['_errorView']=this['_createErrorView']()),this['_errorMessage']=_0x3b3c33,this['_isErrorVisible']=!0x0;}['hideError'](){this['_isErrorVisible']=!0x1;}['_createErrorView'](){const _0x569c45=new ckeditor5['View'](this['locale']),_0x405c2d=new ckeditor5['View'](this['locale']);return _0x405c2d['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__error-text']},'children':[{'text':this['bindTemplate']['to']('_errorMessage')}]}),_0x569c45['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__error','ck-ai-balloon-error',this['bindTemplate']['if']('_isErrorVisible','ck-hidden',_0x5d9251=>!_0x5d9251)]},'children':[_0x405c2d]}),_0x569c45;}}const _0x2f4d6b=0xa;class _0x497d44 extends ckeditor5['ContextPlugin']{static get['requires'](){return[AIEditing];}static get['pluginName'](){return'AIBalloon';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['isOpen']=!0x1;['_currentConfig'];['_isUpdatingMarkers']=!0x1;['open'](_0x10d03a){const {id:_0x4c9884}=this['_currentConfig']??{};this['_currentConfig']=_0x10d03a;const {id:_0x5e1213}=this['_currentConfig'];this['isOpen']&&_0x4c9884===_0x5e1213?this['_updateDialog']():this['_showDialog']();}['close'](){const _0x4a2a90=getEditorFromContext(this['context'])['plugins']['get']('Dialog');_0x4a2a90['isOpen']&&this['_currentConfig']&&_0x4a2a90['id']===this['_currentConfig']['id']&&_0x4a2a90['hide']();}['_updateDialog'](){const _0x1f4baf=getEditorFromContext(this['context'])['plugins']['get']('Dialog'),{icon:_0x9f5aac,title:_0x388e76}=this['_currentConfig'];_0x1f4baf['view']?.['headerView']&&(_0x1f4baf['view']['headerView']['label']=_0x388e76,_0x1f4baf['view']['headerView']['iconView']&&_0x9f5aac&&(_0x1f4baf['view']['headerView']['iconView']['content']=_0x9f5aac)),this['_isUpdatingMarkers']=!0x0,this['_showFakeVisualSelection'](),this['_isUpdatingMarkers']=!0x1,_0x1f4baf['view']?.['updatePosition']();}['_showFakeVisualSelection'](){this['context']['plugins']['get'](AIEditing)['showFakeVisualSelection'](this['_currentConfig']['ranges'],'ai-balloon-'+this['_currentConfig']['index'],!0x0,!0x0);}['_hideFakeVisualSelection'](_0x1ad7a1){this['context']['plugins']['get'](AIEditing)['hideFakeVisualSelection']('ai-balloon-'+_0x1ad7a1);}['_showDialog'](){const _0x2481e8=getEditorFromContext(this['context'])['plugins']['get']('Dialog'),{id:_0x35c972,title:_0x11f956,icon:_0x441304,class:_0x29d28e,mainView:_0x40c6ef}=this['_currentConfig'];_0x40c6ef['delegate'](..._0x41f76c)['to'](this),_0x2481e8['show']({'title':_0x11f956,'icon':_0x441304,'hasCloseButton':!0x0,'id':_0x35c972,'position':this['_calculateDialogPosition']['bind'](this),'className':'ck-ai-balloon\x20'+(_0x29d28e||''),'content':_0x40c6ef,'onShow':_0x4c8c46=>{this['_showFakeVisualSelection'](),this['_setupFakeVisualSelectionMarkerRemovalListener']();const _0x4c4d09=this['_getSelectionElements']();_0x4c4d09&&_0x4c4d09[0x0]&&ckeditor5['scrollViewportToShowTarget']({'target':_0x4c4d09[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this['isOpen']=!0x0,_0x4c8c46['once']('hide',()=>{this['fire']('beforeDialogClosed',{'id':_0x35c972});},{'priority':'high'});},'onHide':()=>{this['_hideFakeVisualSelection'](this['_currentConfig']['index']),this['_cleanupFakeVisualSelectionMarkerRemovalListener'](),this['fire']('dialogClosed',{'id':_0x35c972}),this['isOpen']=!0x1;}});}['_calculateDialogPosition'](_0x40a6f1,_0x4a3023){if(!_0x4a3023)return null;const _0x451017=this['_getSelectionElements']();if(!_0x451017||0x0===_0x451017['length'])return{'left':Math['round'](_0x4a3023['left']+_0x4a3023['width']/0x2-_0x40a6f1['width']/0x2),'top':Math['round'](_0x4a3023['top']+_0x4a3023['height']/0x2-_0x40a6f1['height']/0x2)};const _0x227c58=Math['round'](_0x4a3023['left']+_0x4a3023['width']/0x2-_0x40a6f1['width']/0x2),_0x52df02=_0x451017['map'](_0x347ff0=>new ckeditor5['Rect'](_0x347ff0)),_0x4c6800=_0x40a6f1['height'];return{'left':_0x227c58,'top':this['_calculateOptimalTopPosition'](_0x52df02,_0x4c6800,_0x4a3023)};}['_calculateOptimalTopPosition'](_0x287a4c,_0x21abcb,_0x9a6894){const _0x2583e9=new ckeditor5['Rect'](ckeditor5['global']['window']),_0x386656=_0x287a4c['map'](_0x3f8291=>_0x3f8291['getVisible']())['filter'](_0x490f1b=>_0x490f1b),_0xf43944=ckeditor5['Rect']['getBoundingRect'](_0x386656);if(!_0xf43944)return Math['round'](_0x9a6894['top']+_0x9a6894['height']/0x2);const _0x50f183=_0x2583e9['getIntersection'](_0xf43944);if(!_0x50f183)return Math['round'](_0x9a6894['top']+_0x9a6894['height']/0x2);const _0x4c013e=_0x9a6894['getVisible'](),_0x33b0d1=_0x4c013e&&_0xf43944['height']>_0x4c013e['height'],_0x4d26db=_0x50f183['top'],_0xb1680d=_0x50f183['bottom'];if(_0x33b0d1){const _0x382ae7=(_0x4c013e||_0x2583e9)['height']/0x2-_0x21abcb/0x2,_0x53b9fb=_0x4d26db-_0x2f4d6b-_0x9a6894['top'],_0x4488a3=_0x9a6894['bottom']-_0xb1680d-_0x2f4d6b;return _0x53b9fb>=_0x21abcb?Math['max'](_0x2f4d6b,_0x4d26db-_0x21abcb-_0x2f4d6b):_0x4488a3>=_0x21abcb?_0xb1680d+_0x2f4d6b:Math['max'](_0x2f4d6b,_0x382ae7);}const _0x35aca0=_0x4d26db-_0x21abcb,_0x3b21a7=_0x9a6894['bottom']-_0xb1680d-_0x2f4d6b,_0x3f7d18=_0x4d26db-_0x2f4d6b-_0x9a6894['top'];let _0x629bdb;if(_0x3b21a7>=_0x21abcb)_0x629bdb=_0xb1680d+_0x2f4d6b;else{if(_0x3f7d18>=_0x21abcb)_0x629bdb=_0x35aca0-_0x2f4d6b;else _0x629bdb=_0x4d26db+_0xf43944['height']/0x2-_0x21abcb/0x2;}return _0x629bdb;}['_setupFakeVisualSelectionMarkerRemovalListener'](){const _0x6dd2c4=getEditorFromContext(this['context']);this['listenTo'](_0x6dd2c4['model']['document'],'change',()=>{if(!this['_isUpdatingMarkers']){for(const {name:_0xa6082c,data:{newRange:_0x198dbd}}of _0x6dd2c4['model']['document']['differ']['getChangedMarkers']())if(_0xa6082c['startsWith'](_0x1e34d6+':')&&(_0x198dbd&&(_0x198dbd['start']['isEqual'](_0x198dbd['end'])||'$graveyard'==_0x198dbd['root']['rootName'])||null==_0x198dbd)){const _0x291c19=getTranslation$i(this['context']['locale'],'AI_BALLOON_SELECTION_REMOVED_ERROR');this['_currentConfig']['mainView']['showBlockingError'](_0x291c19),this['fire']('selectionRemoved');}}});}['_cleanupFakeVisualSelectionMarkerRemovalListener'](){const _0x5a4917=getEditorFromContext(this['context']);this['_currentConfig']['mainView']['hideError'](),this['stopListening'](_0x5a4917['model']['document']);}['_getSelectionElements'](){const _0x3d1235=getEditorFromContext(this['context']);return getAllMarkersDomElementsSorted(_0x3d1235['editing'],[..._0x3d1235['model']['markers']['getMarkersGroup']('ai-selection'),..._0x3d1235['model']['markers']['getMarkersGroup']('ai-balloon-selection')]);}}class _0x2a8c52 extends ckeditor5['ToolbarView']{['copyButton'];['likeButton'];['dislikeButton'];['showChangesButton'];['_config'];constructor(_0x466bc8,_0xb1d6c2={}){super(_0x466bc8),this['set']('isEnabled',!0x0),this['set']('isShowChangesOn',!0x1),this['_config']={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0xb1d6c2};const _0x4e8495=!(this['_config']['showCopy']||this['_config']['showChanges']||this['_config']['showLike']||this['_config']['showDislike']||this['_config']['customView']?.['length']);this['class']=_0x4e8495?'ck-ai-mini-toolbar\x20ck-hidden':'ck-ai-mini-toolbar',this['_config']['showCopy']&&(this['_setupCopyButton'](),this['items']['add'](this['copyButton'])),this['_config']['showChanges']&&(this['_setupShowChangesButton'](),this['items']['add'](this['showChangesButton'])),this['_setupRatingButtons'](),this['_config']['showLike']&&this['items']['add'](this['likeButton']),this['_config']['showDislike']&&this['items']['add'](this['dislikeButton']),this['_config']['customView']&&this['items']['addMany'](this['_config']['customView']);}['toggleShowChangesEnabled'](_0x1fd366){this['showChangesButton']['isEnabled']=_0x1fd366;}['_setupRatingButtons'](){this['likeButton']=new ckeditor5['ButtonView'](this['locale']),this['likeButton']['set']({'icon':ckeditor5['IconThumbUp'],'label':getTranslation$i(this['locale'],'AI_MINI_TOOLBAR_LIKE'),'tooltip':!0x0}),this['likeButton']['bind']('isEnabled')['to'](this),this['likeButton']['on']('execute',()=>{this['fire']('like');}),this['dislikeButton']=new ckeditor5['ButtonView'](this['locale']),this['dislikeButton']['set']({'icon':ckeditor5['IconThumbDown'],'label':getTranslation$i(this['locale'],'AI_MINI_TOOLBAR_DISLIKE'),'tooltip':!0x0}),this['dislikeButton']['bind']('isEnabled')['to'](this),this['dislikeButton']['on']('execute',()=>{this['fire']('dislike');});}['_setupCopyButton'](){this['copyButton']=new ckeditor5['ButtonView'](this['locale']),this['copyButton']['set']({'icon':ckeditor5['IconCopy'],'label':getTranslation$i(this['locale'],'AI_MINI_TOOLBAR_COPY'),'class':'ck-ai-mini-toolbar-copy-button','tooltip':!0x0}),this['copyButton']['bind']('isEnabled')['to'](this);const _0x381baf=new ckeditor5['IconView']();_0x381baf['set']({'content':ckeditor5['IconCheck']}),_0x381baf['extendTemplate']({'attributes':{'class':['ck-ai-mini-toolbar-copy-button__check-mark']}}),this['copyButton']['on']('execute',()=>{this['copyButton']['class']='ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied',setTimeout(()=>{this['copyButton']['class']='ck-ai-mini-toolbar-copy-button';},0x7d0);}),this['copyButton']['children']['add'](_0x381baf);}['_setupShowChangesButton'](){this['showChangesButton']=new ckeditor5['ButtonView'](this['locale']),this['showChangesButton']['set']({'icon':ckeditor5['IconShowChangesOff'],'label':getTranslation$i(this['locale'],'AI_SUGGESTION_BUTTON_SHOW_CHANGES'),'withText':'full'==this['_config']['showChanges'],'tooltip':'full'!=this['_config']['showChanges'],'class':'ck-ai-button-tertiary'}),this['showChangesButton']['bind']('isOn')['to'](this,'isShowChangesOn'),this['showChangesButton']['bind']('isEnabled')['to'](this),this['showChangesButton']['bind']('icon')['to'](this,'isShowChangesOn',_0x27b4b6=>_0x27b4b6?ckeditor5['IconShowChangesOn']:ckeditor5['IconShowChangesOff']),this['showChangesButton']['on']('execute',()=>{this['fire']('toggleShowChanges');});}}class AIChatBalloonView extends _0xe8153a{['children'];['nextButtonView'];['previousButtonView'];['focusCycler'];['_focusables'];['_focusTracker'];['_keystrokes'];['_config'];['_streamableContentView'];['_toolbarContainerView'];['_partToolbarView'];['_stateView'];['_miniToolbarView'];constructor(_0x549e8b,_0x482f18){super(_0x549e8b);const _0x3a91e6=this['bindTemplate'];this['set']('showDiff',!0x1),this['set']('_state','pending'),this['_focusTracker']=new ckeditor5['FocusTracker'](),this['_keystrokes']=new ckeditor5['KeystrokeHandler'](),this['_focusables']=this['createCollection'](),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['_focusTracker'],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['_config']=_0x482f18,this['nextButtonView']=this['_createNextButtonView'](),this['previousButtonView']=this['_createPreviousButtonView'](),this['_streamableContentView']=new AISuggestionStreamableContentView(_0x549e8b),this['_partToolbarView']=new AISuggestionContentPartToolbarView(_0x549e8b,_0x482f18['availableActions']),this['_partToolbarView']['delegate']('applySuggestion','insertSuggestion','rejectSuggestion')['to'](this),this['_togglePartToolbarButtonsVisibility'](_0x482f18),this['_stateView']=new AISuggestionContentPartStateView(_0x549e8b),this['_stateView']['isVisible']=!0x1,this['_miniToolbarView']=new _0x2a8c52(_0x549e8b,{'showChanges':'full'}),this['_miniToolbarView']['bind']('isShowChangesOn')['to'](this,'showDiff'),this['_miniToolbarView']['on']('toggleShowChanges',()=>{this['fire']('toggleSuggestionDisplayMode');}),this['_toolbarContainerView']=new AIChatBalloonToolbarContainerView(_0x549e8b,[this['_partToolbarView'],this['_stateView'],this['_miniToolbarView']]),this['children']=this['createCollection']([this['_streamableContentView'],this['_toolbarContainerView']]),this['on']('change:_state',(_0xcef8b0,_0x4aefde,_0x152829,_0x4e1576)=>{let _0x589f3f,_0x1577e2;'pending'===_0x4e1576?(_0x589f3f=this['_partToolbarView'],_0x1577e2=this['_stateView']):(_0x589f3f=this['_stateView'],_0x1577e2=this['_partToolbarView']),this['_stateView']['setState'](_0x152829),_0x589f3f['isVisible']=!0x1,_0x1577e2['isVisible']=!0x0;}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-balloon-main',_0x3a91e6['to']('_state',_0x2ab41c=>'ck-ai-chat-balloon-main_state_'+_0x2ab41c)]},'children':this['children']}),this['on']('change:isTrackChangesOn',()=>{this['_togglePartToolbarButtonsVisibility'](_0x482f18);});}['render'](){super['render'](),this['nextButtonView']['render'](),this['previousButtonView']['render'](),this['_focusTracker']['add'](this['element']),this['_focusTracker']['add'](this['nextButtonView']),this['_focusTracker']['add'](this['previousButtonView']),this['_focusTracker']['add'](this['_miniToolbarView']),this['_focusTracker']['add'](this['_partToolbarView']),this['_keystrokes']['listenTo'](this['element']),this['_keystrokes']['listenTo'](this['nextButtonView']['element']),this['_keystrokes']['listenTo'](this['previousButtonView']['element']),this['_focusables']['addMany']([this['nextButtonView'],this['previousButtonView'],this['_partToolbarView'],this['_miniToolbarView']]);}['destroy'](){super['destroy'](),this['previousButtonView']['destroy'](),this['nextButtonView']['destroy']();}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}async['updateContent'](_0x21e6d6){_0x21e6d6?.['keepErrors']||this['hideError'](),await this['_streamableContentView']['update'](_0x21e6d6);}['setState'](_0x5c9a7c){this['_state']=_0x5c9a7c;}['showError'](_0x1396ca){super['showError'](_0x1396ca),this['children']['has'](this['_errorView'])||this['children']['add'](this['_errorView'],0x0);}['hideError'](){this['_isErrorVisible']&&(super['hideError'](),this['togglePartToolbarEnabled'](!0x0));}['showBlockingError'](_0x33e79d){super['showBlockingError'](_0x33e79d),this['togglePartToolbarEnabled'](!0x1);}['toggleRotatorButtonsVisibility'](_0x1c97be){this['nextButtonView']['isVisible']=this['previousButtonView']['isVisible']=_0x1c97be;}['togglePartToolbarEnabled'](_0x12a2f4){this['_partToolbarView']['isEnabled']=_0x12a2f4;}['_togglePartToolbarButtonsVisibility']({showApplyButton:_0x45a1b5,showSuggestButton:_0x4a74e9}){_0x45a1b5=_0x45a1b5&&!this['isTrackChangesOn']&&this['_config']['availableActions']['includes']('applySuggestion'),_0x4a74e9=_0x4a74e9&&this['_config']['availableActions']['includes']('insertSuggestion'),this['_partToolbarView']['setButtonsVisibility']({'showApplyButton':_0x45a1b5,'showSuggestButton':_0x4a74e9});}['_createNextButtonView'](){const _0x23fe02=new ckeditor5['ButtonView'](this['locale']);return _0x23fe02['set']({'icon':ckeditor5['IconChevronDown'],'label':getTranslation$i(this['locale'],'AI_BALLOON_NEXT_LABEL'),'isVisible':!0x0}),_0x23fe02['on']('execute',()=>{this['fire']('showNext');}),_0x23fe02;}['_createPreviousButtonView'](){const _0x47d492=new ckeditor5['ButtonView'](this['locale']);return _0x47d492['set']({'icon':ckeditor5['IconChevronUp'],'label':getTranslation$i(this['locale'],'AI_BALLOON_PREVIOUS_LABEL'),'isVisible':!0x0}),_0x47d492['on']('execute',()=>{this['fire']('showPrevious');}),_0x47d492;}}class AIChatBalloonToolbarContainerView extends ckeditor5['View']{constructor(_0x2a6b28,_0x386a4b){super(_0x2a6b28),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-balloon__toolbar-container']},'children':_0x386a4b});}}class AIChatBalloon extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['Dialog'],_0x497d44];}static get['pluginName'](){return'AIChatBalloon';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_chatBalloonView'];constructor(_0x134b78){super(_0x134b78),this['set']('showDiff',!0x1);}['open'](_0x4ffc29){const _0x2f95ae=this['editor'];this['_chatBalloonView']||(this['_chatBalloonView']=this['_createChatBalloonView']()),_0x2f95ae['plugins']['get']('AIBalloon')['open']({..._0x4ffc29,'id':'aiChatBalloon','class':'ck-ai-chat-balloon','mainView':this['_chatBalloonView']}),this['_toggleRotatorButtonsInDialogHeader'](_0x4ffc29['showRotator']),this['_chatBalloonView']['togglePartToolbarEnabled'](!_0x4ffc29['areActionsDisabled']),this['_restoreDefaultViewFocus']();}['close'](){this['editor']['plugins']['get']('AIBalloon')['close']();}['updateContent'](_0xc65fbc){return this['_chatBalloonView']||(this['_chatBalloonView']=this['_createChatBalloonView']()),this['_chatBalloonView']['updateContent'](_0xc65fbc);}['setState'](_0x54c2a2){this['_chatBalloonView']&&this['_chatBalloonView']['setState'](_0x54c2a2);}['_createChatBalloonView'](){const _0x33ed0f=this['editor'],_0x1486f3=_0x33ed0f['plugins']['get']('AIBalloon'),_0x23451f=_0x33ed0f['commands']['get']('trackChanges');let _0x41967c=_0x33ed0f['config']['get']('ai.availableReplyActions')||[..._0x4eab55];_0x33ed0f['plugins']['has']('TrackChanges')||(_0x41967c=_0x41967c['filter'](_0x34d184=>'insertSuggestion'!=_0x34d184));const _0x2d4dfe=new AIChatBalloonView(_0x33ed0f['locale'],{'availableActions':_0x41967c,'showApplyButton':!0x0,'showSuggestButton':!!_0x23451f});return _0x2d4dfe['bind']('showDiff')['to'](this),_0x2d4dfe['delegate'](..._0x2dcce3)['to'](this),_0x2d4dfe['delegate']('showPrevious','showNext')['to'](this),_0x1486f3['delegate']('dialogClosed')['to'](this),_0x2d4dfe['on']('applySuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x2d4dfe['on']('insertSuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x2d4dfe['on']('rejectSuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x23451f&&_0x2d4dfe['bind']('isTrackChangesOn')['to'](_0x23451f,'value'),_0x2d4dfe['render'](),_0x2d4dfe;}['_toggleRotatorButtonsInDialogHeader'](_0x169db9){const _0x734d8b=this['editor'],_0x230125=_0x734d8b['plugins']['get']('Dialog')['view']['headerView']['children'];this['_chatBalloonView']['toggleRotatorButtonsVisibility'](_0x169db9),_0x230125['has'](this['_chatBalloonView']['previousButtonView'])||(_0x230125['addMany']([this['_chatBalloonView']['previousButtonView'],this['_chatBalloonView']['nextButtonView']],0x0),_0x734d8b['plugins']['get']('AIBalloon')['once']('beforeDialogClosed',()=>{_0x230125['remove'](this['_chatBalloonView']['previousButtonView']),_0x230125['remove'](this['_chatBalloonView']['nextButtonView']);}));}['_restoreDefaultViewFocus'](){this['_chatBalloonView']['focus']();}}class AIEditorIntegration extends ckeditor5['Plugin']{static get['requires'](){return[AIToggleButtonUI,AIChatBalloon,SuggestionsConversion];}static get['pluginName'](){return'AIEditorIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function aiQuickActionsButtonCreator(_0x1a1724){const {editor:_0x2584e6,action:_0xc9b351,withText:_0x14b1ed=!0x1,withIcon:_0x4c858a=!0x0,isInDropdown:_0x41e9da=!0x0,shouldPreventFocus:_0x3c0cfd=!0x1}=_0x1a1724;return()=>{const _0x38317a=_0x2584e6['locale'],_0x1d78f0=new ckeditor5['ButtonView'](_0x38317a),_0x540c22=_0x1d78f0['bindTemplate'];_0x41e9da&&_0x1d78f0['extendTemplate']({'on':{'mouseenter':_0x540c22['to'](()=>{_0x3c0cfd&&_0x3c0cfd()||_0x1d78f0['focus']();})}});const _0x30fc5d=_0xc9b351['icon']??_0xc9b351['parent']?.['icon'];return _0x1d78f0['set']({'label':_0xc9b351['displayedPrompt'],'withText':_0x14b1ed,'role':'menuitem','icon':_0x4c858a?_0x30fc5d??ckeditor5['IconAIQuickActions']:void 0x0,'tooltip':!_0x14b1ed,'class':'ck-ai-quick-actions-button','isEnabled':_0xc9b351['isEnabled']}),_0x1d78f0['on']('execute',()=>{_0x2584e6['editing']['view']['focus'](),_0x2584e6['commands']['execute']('aiQuickAction',_0xc9b351);}),_0x1d78f0;};}class DropdownMenuButtonWithHighlightView extends ckeditor5['ListItemButtonView']{['arrowView'];constructor(_0x4da2b7,_0x434919){super(_0x4da2b7,_0x434919);const _0x21c145=this['bindTemplate'];this['set']({'withText':!0x0,'role':'menuitem'}),this['arrowView']=this['_createArrowView'](),this['extendTemplate']({'attributes':{'class':['ck-dropdown-menu-list__nested-menu__button'],'aria-haspopup':!0x0,'aria-expanded':this['bindTemplate']['to']('isOn',_0x38d0b7=>String(_0x38d0b7)),'data-cke-tooltip-disabled':_0x21c145['to']('isOn')},'on':{'mouseenter':_0x21c145['to']('mouseenter')}});}['render'](){super['render'](),this['children']['add'](this['arrowView']);}['_createArrowView'](){const _0x184672=new ckeditor5['IconView']();return _0x184672['content']=ckeditor5['IconDropdownArrow'],_0x184672['extendTemplate']({'attributes':{'class':'ck-dropdown-menu-list__nested-menu__button__arrow'}}),_0x184672;}}class AIQuickActionsFilteredListView extends ckeditor5['ListView']{['_allListItems'];['_allSearchableItems'];constructor(_0x12f810,_0x3b3ece,_0x4a452a){super(_0x12f810),this['_allListItems']=_0x3b3ece,this['_allSearchableItems']=_0x4a452a;}['filter'](_0x470421){if(!_0x470421)return this['items']['clear'](),this['items']['addMany'](this['_allListItems']),this['_clearHighlight'](),{'resultsCount':this['_allListItems']['length'],'totalItemsCount':this['_allListItems']['length']};const _0x487bd6=_0x470421['source']['toLowerCase']()['trim'](),_0x5bd6f4=this['_allSearchableItems']['filter'](_0xd64553=>(_0xd64553['groupLabel']?_0xd64553['label']+'\x20('+_0xd64553['groupLabel']+')':_0xd64553['label'])['toLowerCase']()['includes'](_0x487bd6));return this['items']['clear'](),this['items']['addMany'](_0x5bd6f4['sort']((_0x2ed36c,_0x4c9d66)=>{const _0x37969d=_0x2ed36c['groupLabel'],_0x178557=_0x4c9d66['groupLabel'];return _0x37969d||_0x178557?_0x37969d?0x1:-0x1:0x0;})['map'](_0x30ae87=>_0x30ae87['item'])),this['_highlightQuery'](_0x487bd6,_0x5bd6f4),{'resultsCount':_0x5bd6f4['length'],'totalItemsCount':this['_allSearchableItems']['length']};}['_highlightQuery'](_0x47d846,_0x18fdc5){if(!_0x47d846)return;const _0x3c1318=new RegExp(_0x28d679(_0x47d846),'gi');_0x18fdc5['forEach'](_0xc87aad=>{_0xc87aad['highlightViews']&&_0xc87aad['highlightViews']['forEach'](_0xf4d71=>{'function'==typeof _0xf4d71['highlightText']&&_0xf4d71['highlightText'](_0x3c1318);});});}['_clearHighlight'](){this['_allSearchableItems']['forEach'](_0x2342f4=>{_0x2342f4['highlightViews']&&_0x2342f4['highlightViews']['forEach'](_0xd3fbfc=>{'function'==typeof _0xd3fbfc['highlightText']&&_0xd3fbfc['highlightText'](null);});});}}const _0x1e21c6={'MENU':'menu','MENU_ITEM':'menuitem'};class AIQuickActionsDropdownContentView extends ckeditor5['View']{['_bodyCollection'];['optionsListView'];['_searchTextView']=null;['_allSearchableItems']=[];['children'];['focusTracker'];['keystrokes'];['_focusables'];['focusCycler'];['_openNestedPanels']=new Set();['_hasSearch'];constructor(_0x5b65b8,_0xb43d44,_0x399280,_0x16c52c,_0x17ad8f=!0x1){const _0x4352cf=_0x5b65b8['locale'];super(_0x4352cf),this['_bodyCollection']=_0x16c52c,this['_hasSearch']=_0x17ad8f;const _0x42733a=this['_createListItems'](_0x5b65b8,_0xb43d44,_0x399280);this['optionsListView']=new AIQuickActionsFilteredListView(_0x4352cf,_0x42733a,this['_allSearchableItems']),this['optionsListView']['role']=_0x1e21c6['MENU'],this['optionsListView']['items']['addMany'](_0x42733a),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),_0x17ad8f&&(this['_searchTextView']=this['_createSearchTextView']()),this['_focusables']=_0x42733a,this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes']}),_0x17ad8f&&this['_searchTextView']&&this['focusCycler']['chain'](this['_searchTextView']['focusCycler']);const _0x406910=_0x17ad8f&&this['_searchTextView']?[this['_searchTextView']]:[this['optionsListView']];this['children']=new ckeditor5['ViewCollection'](_0x406910),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions','ck-rounded-corners'],'dir':_0x4352cf['uiLanguageDirection']},'children':this['children']});}['_createSearchTextView'](){return new ckeditor5['SearchTextView'](this['locale'],{'filteredView':this['optionsListView'],'queryView':{'label':getTranslation$i(this['locale'],'AI_QUICK_ACTIONS_SEARCH')},'class':'ck-ai-quick-actions-search','infoView':{'text':{'notFound':{'primary':getTranslation$i(this['locale'],'AI_QUICK_ACTIONS_SEARCH_NOT_FOUND')}}}});}['_isSearchFocused'](){if(!this['_hasSearch']||!this['_searchTextView']||!this['_searchTextView']['queryView']['fieldView']['element'])return!0x1;const _0x4b307d=this['_searchTextView']['queryView']['fieldView']['element']['ownerDocument']?.['activeElement'];return this['_searchTextView']['queryView']['fieldView']['element']['contains'](_0x4b307d);}['_createListItems'](_0x242c8a,_0x4c180b,_0x54421f){const _0xbc3986=new ckeditor5['ViewCollection']();return _0x4c180b['forEach'](_0x6358a7=>{if('actions'in _0x6358a7){const {listItem:_0x1409ae}=this['_createActionGroupButton'](_0x242c8a,_0x6358a7,_0x54421f);_0xbc3986['add'](_0x1409ae),_0x6358a7['actions']['forEach'](_0x54bfd9=>{this['_createActionButton'](_0x242c8a,_0x54bfd9,_0x6358a7['label'],_0x6358a7['icon']);const {listItem:_0x5c24c1,highlightViews:_0x4f254d}=this['_createSearchResultActionButton'](_0x242c8a,_0x54bfd9,_0x6358a7['label'],_0x6358a7['icon']);this['_allSearchableItems']['push']({'item':_0x5c24c1,'label':_0x54bfd9['displayedPrompt'],'groupLabel':_0x6358a7['label'],'highlightViews':_0x4f254d});});}else{const {listItem:_0x518ba6}=this['_createActionButton'](_0x242c8a,_0x6358a7);_0xbc3986['add'](_0x518ba6);const _0x524865=_0x518ba6['children']['first'];if(_0x524865){const {listItem:_0x416272,highlightViews:_0x2f9d6b}=this['_createSearchResultActionButton'](_0x242c8a,_0x6358a7);this['_allSearchableItems']['push']({'item':_0x416272,'label':_0x524865['label']||'','highlightViews':_0x2f9d6b});}}}),_0xbc3986;}['_createActionButton'](_0x183129,_0x181475,_0x4f5f20,_0x3cc757){const _0x28f73e=new ckeditor5['ListItemView'](this['locale']);if(_0x4f5f20&&_0x3cc757){const _0x2c329a=new ckeditor5['ButtonView'](this['locale']),_0x4ee2f0=_0x2c329a['bindTemplate'],_0x2f9e9e=new ckeditor5['HighlightedTextView']();_0x2f9e9e['text']=_0x181475['displayedPrompt'];const _0x4fba14=new ckeditor5['HighlightedTextView']();_0x4fba14['text']=_0x4f5f20;const _0x4d3cd9=new ckeditor5['IconView']();_0x4d3cd9['content']=_0x3cc757,_0x4d3cd9['extendTemplate']({'attributes':{'class':'ck-ai-quick-actions-button__group-icon'}});const _0x250fd0=new ckeditor5['View'](this['locale']);_0x250fd0['setTemplate']({'tag':'span','attributes':{'class':'ck-ai-quick-actions-button_with-group__open-paren'},'children':[{'text':'\x20('}]});const _0x3e4607=new ckeditor5['View'](this['locale']);return _0x3e4607['setTemplate']({'tag':'span','attributes':{'class':'ck-ai-quick-actions-button_with-group__close-paren'},'children':[{'text':')'}]}),_0x2c329a['set']({'label':_0x181475['displayedPrompt']+'\x20('+_0x4f5f20+')','withText':!0x0,'role':'menuitem','class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','tooltip':!0x1}),_0x2c329a['setTemplate']({'tag':'button','attributes':{'class':['ck','ck-button','ck-button_with-text','ck-ai-quick-actions-button','ck-ai-quick-actions-button_with-group'],'type':'button','role':'menuitem','tabindex':'-1'},'children':[_0x2f9e9e,_0x250fd0,_0x4d3cd9,_0x4fba14,_0x3e4607],'on':{'mouseenter':_0x4ee2f0['to'](()=>{this['_isSearchFocused']()||_0x2c329a['focus']();}),'click':_0x4ee2f0['to'](()=>{_0x2c329a['fire']('execute');})}}),_0x2c329a['on']('execute',()=>{_0x183129['editing']['view']['focus'](),_0x183129['commands']['execute']('aiQuickAction',_0x181475);}),_0x28f73e['children']['add'](_0x2c329a),{'listItem':_0x28f73e,'highlightViews':[_0x2f9e9e,_0x4fba14]};}{const _0x1f81a8=new ckeditor5['ButtonLabelWithHighlightView'](),_0x572d9c=new ckeditor5['ButtonView'](this['locale'],_0x1f81a8),_0x1a9424=_0x572d9c['bindTemplate'],_0x5d6511=_0x181475['icon']??_0x181475['parent']?.['icon'],_0x89b304=void 0x0!==_0x181475['icon'];return _0x572d9c['set']({'label':_0x181475['displayedPrompt'],'withText':!0x0,'role':'menuitem','icon':_0x89b304?_0x5d6511??ckeditor5['IconAIQuickActions']:void 0x0,'tooltip':!0x1,'class':'ck-ai-quick-actions-button'}),_0x572d9c['extendTemplate']({'on':{'mouseenter':_0x1a9424['to'](()=>{this['_isSearchFocused']()||_0x572d9c['focus']();})}}),_0x572d9c['on']('execute',()=>{_0x183129['editing']['view']['focus'](),_0x183129['commands']['execute']('aiQuickAction',_0x181475);}),_0x28f73e['children']['add'](_0x572d9c),{'listItem':_0x28f73e,'highlightViews':[_0x1f81a8]};}}['_createSearchResultActionButton'](_0x5786d9,_0x44569e,_0xeafdee,_0x15792b){return _0xeafdee&&_0x15792b?this['_createSearchResultGroupedActionButton'](_0x5786d9,_0x44569e,_0xeafdee,_0x15792b):this['_createSearchResultIndividualActionButton'](_0x5786d9,_0x44569e);}['_createSearchResultGroupedActionButton'](_0x66b47f,_0x2d7fa3,_0xfd3112,_0x1c410e){const _0x1c4942=new ckeditor5['ListItemView'](this['locale']),_0x37cef1=new ckeditor5['ButtonView'](this['locale']),_0x28f542=_0x37cef1['bindTemplate'],{view:_0x239578,highlightView:_0x2657d1}=this['_createSearchResultGroupRow'](_0xfd3112,_0x1c410e),{view:_0x43d364,highlightView:_0xcea716}=this['_createSearchResultActionRow'](_0x2d7fa3['displayedPrompt']),_0x14ae9b=this['_createSearchResultContentView'](_0x239578,_0x43d364);return _0x37cef1['set']({'label':_0x2d7fa3['displayedPrompt'],'withText':!0x0,'role':'menuitem','class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','tooltip':!0x1}),_0x37cef1['setTemplate']({'tag':'button','attributes':{'class':['ck','ck-button','ck-button_with-text','ck-ai-quick-actions-button','ck-ai-quick-actions-search-result-button','ck-ai-quick-actions-search-result-button_with-group'],'type':'button','role':'menuitem','tabindex':'-1'},'children':[_0x14ae9b],'on':{'mouseenter':_0x28f542['to'](()=>{this['_isSearchFocused']()||_0x37cef1['focus']();}),'click':_0x28f542['to'](()=>{this['_handleSearchResultButtonClick'](_0x37cef1);})}}),this['_setupActionButtonExecution'](_0x37cef1,_0x66b47f,_0x2d7fa3),_0x1c4942['children']['add'](_0x37cef1),{'listItem':_0x1c4942,'highlightViews':[_0x2657d1,_0xcea716]};}['_createSearchResultIndividualActionButton'](_0x5a12b6,_0x3de84b){const _0x2b32ed=new ckeditor5['ListItemView'](this['locale']),_0x162151=new ckeditor5['ButtonLabelWithHighlightView'](),_0x59a3dd=new ckeditor5['ButtonView'](this['locale'],_0x162151),_0x486d82=_0x59a3dd['bindTemplate'];return _0x59a3dd['set']({'label':_0x3de84b['displayedPrompt'],'withText':!0x0,'role':'menuitem','icon':void 0x0,'tooltip':!0x1,'class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button'}),_0x59a3dd['extendTemplate']({'on':{'mouseenter':_0x486d82['to'](()=>{this['_isSearchFocused']()||_0x59a3dd['focus']();})}}),this['_setupActionButtonExecution'](_0x59a3dd,_0x5a12b6,_0x3de84b),_0x2b32ed['children']['add'](_0x59a3dd),{'listItem':_0x2b32ed,'highlightViews':[_0x162151]};}['_createSearchResultGroupRow'](_0x5a7dff,_0x415499){const _0x479f50=new ckeditor5['View'](this['locale']),_0x14ce85=new ckeditor5['IconView']();_0x14ce85['content']=_0x415499,_0x14ce85['extendTemplate']({'attributes':{'class':'ck-ai-quick-actions-button__group-icon'}});const _0x552ab9=new ckeditor5['HighlightedTextView']();return _0x552ab9['text']=_0x5a7dff,_0x479f50['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__group-row'},'children':[_0x14ce85,_0x552ab9]}),{'view':_0x479f50,'highlightView':_0x552ab9};}['_createSearchResultActionRow'](_0x4afbfd){const _0xbf0491=new ckeditor5['View'](this['locale']),_0x35ee5f=new ckeditor5['HighlightedTextView']();return _0x35ee5f['text']=_0x4afbfd,_0xbf0491['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__action-row'},'children':[_0x35ee5f]}),{'view':_0xbf0491,'highlightView':_0x35ee5f};}['_createSearchResultContentView'](_0x1fe9b8,_0xadbb10){const _0x5261c8=new ckeditor5['View'](this['locale']);return _0x5261c8['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__content'},'children':[_0x1fe9b8,_0xadbb10]}),_0x5261c8;}['_setupActionButtonExecution'](_0x487e9a,_0x41851a,_0x58104e){_0x487e9a['on']('execute',()=>{_0x41851a['editing']['view']['focus'](),_0x41851a['commands']['execute']('aiQuickAction',_0x58104e);});}['_createActionGroupButton'](_0x1e5877,_0x1741af,_0x1fe145){const _0x1daa04=new ckeditor5['ListItemView'](this['locale']),_0x556dc8=new ckeditor5['ButtonLabelWithHighlightView'](),_0x421b96=new DropdownMenuButtonWithHighlightView(this['locale'],_0x556dc8),_0x378dd0=_0x421b96['bindTemplate'],_0x3626a2=this['_getPanelKeystroke'](_0x1fe145),_0x2e671f=this['_createGroupActionsList'](_0x1e5877,_0x1741af['actions'],_0x1fe145);_0x421b96['set']({'label':_0x1741af['label'],'withText':!0x0,'role':_0x1e21c6['MENU_ITEM'],'icon':_0x1741af['icon']??ckeditor5['IconAIQuickActions'],'isEnabled':_0x1741af['actions']['some'](_0x3d49b9=>_0x3d49b9['isEnabled'])}),_0x421b96['extendTemplate']({'on':{'mouseenter':_0x378dd0['to'](()=>{this['_isSearchFocused']()||_0x421b96['focus']();})}});const _0x33faf5=new ckeditor5['BalloonPanelView'](this['locale']);return _0x33faf5['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-panel','ck-dropdown-menu__nested-menu__panel']},'on':{'keydown':_0x378dd0['to'](_0x24fde1=>{this['_handlePanelKeydown'](_0x24fde1,_0x3626a2,_0x421b96,_0x33faf5);})}}),_0x421b96['bind']('isOn')['to'](_0x33faf5,'isVisible'),this['_bodyCollection']['add'](_0x33faf5),_0x33faf5['content']['add'](_0x2e671f),this['_setupGroupMenuBehavior'](_0x421b96,_0x33faf5),_0x1daa04['children']['add'](_0x421b96),{'listItem':_0x1daa04,'highlightView':_0x556dc8};}['_createGroupActionsList'](_0x5a5aab,_0x49d738,_0x52c7ad){const _0x573bc7=new ckeditor5['ListView'](this['locale']);return _0x573bc7['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-list','ck-dropdown-menu-list']}}),_0x49d738['forEach'](_0x4da687=>{const _0x547ec2=new ckeditor5['ListItemView'](this['locale']),_0x5e9547=aiQuickActionsButtonCreator({'editor':_0x5a5aab,'action':_0x4da687,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this['_isSearchFocused']()})();_0x547ec2['children']['add'](_0x5e9547),_0x52c7ad['focusTracker']['add'](_0x5e9547),_0x573bc7['items']['add'](_0x547ec2);}),_0x573bc7;}['_setupGroupMenuBehavior'](_0x493823,_0x4561d7){const _0x2e32fa=_0x493823['bindTemplate'],_0xfa42b6=this['_getButtonKeystroke'](_0x493823);_0x493823['extendTemplate']({'attributes':{'class':['ck-ai-quick-actions-group-button']},'on':{'mouseenter':_0x2e32fa['to'](()=>{this['_showNestedPanel'](_0x4561d7,_0x493823);}),'mouseleave':_0x2e32fa['to'](_0x17a3c2=>{const _0x34bb62=_0x17a3c2['relatedTarget'];this['_isMovingToNestedMenu'](_0x34bb62,_0x4561d7)||this['_hideNestedPanel'](_0x4561d7);}),'keydown':_0x2e32fa['to'](_0x40426c=>{_0x40426c['key']==_0xfa42b6&&(this['_showNestedPanel'](_0x4561d7,_0x493823),_0x4561d7['content']['get'](0x0)['focus']());})}}),_0x4561d7['on']('render',()=>{_0x4561d7['element']?.['addEventListener']('mouseleave',_0x124088=>{const _0x30babd=_0x124088['relatedTarget'];_0x493823['element']?.['contains'](_0x30babd)||this['_isMovingToNestedMenu'](_0x30babd,_0x4561d7)||this['_hideNestedPanel'](_0x4561d7);});});}['_showNestedPanel'](_0x5220d2,_0x445a0b){this['_openNestedPanels']['forEach'](_0x1a2e97=>{_0x1a2e97!==_0x5220d2&&_0x1a2e97['isVisible']&&_0x1a2e97['hide']();}),_0x5220d2['show'](),_0x5220d2['pin']({'positions':[ckeditor5['DropdownMenuPanelPositioningFunctions']['eastSouth']],'target':_0x445a0b['element'],'fitInViewport':!0x0}),this['_openNestedPanels']['add'](_0x5220d2);}['_hideNestedPanel'](_0x4b7339){_0x4b7339['hide'](),this['_openNestedPanels']['delete'](_0x4b7339);}['_hideAllNestedPanels'](){this['_openNestedPanels']['forEach'](_0x409fc8=>_0x409fc8['hide']()),this['_openNestedPanels']['clear']();}['_isMovingToNestedMenu'](_0x3ed2e1,_0x17b670){if(!_0x3ed2e1)return!0x1;if(_0x17b670['element']?.['contains'](_0x3ed2e1))return!0x0;const _0x3d96b1=_0x3ed2e1;return _0x3d96b1['closest']&&(null!==_0x3d96b1['closest']('.ck-ai-quick-actions-group-panel')||null!==_0x3d96b1['closest']('.ck-ai-quick-actions-group-list')||null!==_0x3d96b1['closest']('.ck-ai-quick-actions-group-button'));}['resetSearch'](){this['_searchTextView']&&this['_searchTextView']['reset']();}['destroy'](){this['_hideAllNestedPanels'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}['focus'](){this['_searchTextView']?this['_searchTextView']['focus']():this['optionsListView']['focus']();}['_getPanelKeystroke'](_0xe5dcfe){return'rtl'===_0xe5dcfe['locale']['uiLanguageDirection']?'ArrowRight':'ArrowLeft';}['_getButtonKeystroke'](_0x4efd5b){return'rtl'===_0x4efd5b['locale']['uiLanguageDirection']?'ArrowLeft':'ArrowRight';}['_handlePanelKeydown'](_0x2d4a0d,_0x3434d9,_0x34ccbe,_0x3a4ae1){_0x2d4a0d['key']==_0x3434d9&&(_0x34ccbe['focus'](),this['_hideNestedPanel'](_0x3a4ae1));}['_handleSearchResultButtonClick'](_0x4f210a){_0x4f210a['fire']('execute');}}function aiQuickActionsDropdownCreator(_0x16cc24){const {editor:_0x3feab1,content:_0x5e7319,buttonDefinition:_0x37c163,bodyCollection:_0x16b692,hasSearch:_0x233ad2=!0x1}=_0x16cc24;return()=>{const _0xc4a1a8=_0x3feab1['locale'],_0xf819c=ckeditor5['createDropdown'](_0xc4a1a8);_0xf819c['buttonView']['set']({'icon':_0x37c163['icon']??ckeditor5['IconAIQuickActions'],'label':_0x37c163['label'],'tooltip':!0x0}),_0xf819c['set']({'class':'ck-ai-quick-actions-dropdown'});const _0x6d3d30=new AIQuickActionsDropdownContentView(_0x3feab1,_0x5e7319,_0xf819c,_0x16b692,_0x233ad2);if(_0xf819c['panelView']['children']['add'](_0x6d3d30),_0x233ad2){const _0x5e40aa='ai-quick-actions-dropdown-selection';_0xf819c['on']('change:isOpen',(_0x58bd0e,_0x4d8447,_0x49c283)=>{if(_0x49c283){if(_0x3feab1['plugins']['has']('AIEditing')){const _0x3bf5a2=_0x3feab1['plugins']['get'](AIEditing),_0xbbcb9b=_0x3feab1['model']['document']['selection'],_0x5dc56d=Array['from'](_0xbbcb9b['getRanges']());_0x5dc56d['length']>0x0&&_0x3bf5a2['showFakeVisualSelection'](_0x5dc56d,_0x5e40aa,!0x1,!0x0);}}else _0x3feab1['plugins']['has']('AIEditing')&&_0x3feab1['plugins']['get'](AIEditing)['hideFakeVisualSelection'](_0x5e40aa),_0x6d3d30['resetSearch']();});}return _0xf819c;};}const _0x1de298='<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>',_0x363bf8='<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>',_0x327944='<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>';var AIQuickActionType=function(_0x494310){return _0x494310['CHAT']='CHAT',_0x494310['ACTION']='ACTION',_0x494310['REVIEW']='REVIEW',_0x494310;}({}),AIQuickActionTypeToPluginName=function(_0x38c2d1){return _0x38c2d1['CHAT']='AIChat',_0x38c2d1['ACTION']='AIActions',_0x38c2d1['REVIEW']='AIReviewMode',_0x38c2d1;}({});class AIQuickActionsUI extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['BalloonToolbar'],AIConnector];}static get['pluginName'](){return'AIQuickActionsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){const _0x54d769=await this['_getDefaultAndCustomActions']();this['_prepareQuickActionsDefinition'](_0x54d769),this['_initializeQuickActionsComponentsAndCommands']();}static['getDefaultQuickActions'](_0x227a2a){return getDefaultQuickActions(_0x227a2a);}async['_getDefaultAndCustomActions'](){const _0x54f117=AIQuickActionsUI['getDefaultQuickActions'](this['editor']['locale']),_0x441d06=this['editor']['config']['get']('ai.quickActions.extraCommands')||[];let _0x2d791d=[];try{_0x2d791d=await new _0x331d2a({'connector':this['editor']['plugins']['get']('AIConnector'),'locale':this['editor']['locale']})['getAll']();}catch(_0x43909c){const _0x418452=new ckeditor5['CKEditorError']('ai-quick-actions-models-unable-to-retrieve',this,{'error':_0x43909c});ckeditor5['logError'](_0x418452['message']);}finally{const _0x5ba458=_0x441d06['map'](_0x1cdf67=>({..._0x1cdf67,'icon':void 0x0})),_0x2a974c=_0x54f117['find'](_0x235d44=>'other'===_0x235d44['id']);_0x2a974c['actions']['push'](..._0x5ba458),_0x54f117['forEach'](_0x475f16=>{if('actions'in _0x475f16)_0x475f16['actions']['forEach'](_0x31568f=>{if(_0x31568f['isEnabled']=!!_0x2d791d['find'](_0x1b07b7=>_0x1b07b7['id']===_0x31568f['model'])||void 0x0===_0x31568f['model'],!_0x31568f['isEnabled']){const _0x2780a2=new ckeditor5['CKEditorError']('ai-quick-actions-unavailable-model',this,{'actionId':_0x31568f['id'],'modelId':_0x31568f['model']});ckeditor5['logError'](_0x2780a2['message']);}});else{if(_0x475f16['isEnabled']=!!_0x2d791d['find'](_0x566d16=>_0x566d16['id']===_0x475f16['model'])||void 0x0===_0x475f16['model'],!_0x475f16['isEnabled']){const _0xff59da=new ckeditor5['CKEditorError']('ai-quick-actions-unavailable-model',this,{'actionId':_0x475f16['id'],'modelId':_0x475f16['model']});ckeditor5['logError'](_0xff59da['message']);}}});}return _0x54f117;}['_initializeQuickActionsComponentsAndCommands'](){const _0x1cdf10=new ckeditor5['BodyCollection'](this['editor']['locale']);_0x1cdf10['attachToDom'](),this['_initializeQuickActionsDropdown'](_0x1cdf10),this['_initializeQuickActionsMenuBar'](),this['_initializeQuickActionsComponents'](_0x1cdf10);}['_initializeQuickActionsDropdown'](_0x1366a1){const _0x150270=this['editor']['config']['get']('ai.quickActions.isSearchEnabled')??!0x0;this['editor']['ui']['componentFactory']['add']('aiQuickActions',aiQuickActionsDropdownCreator({'editor':this['editor'],'content':this['_quickActionsDefinition'],'buttonDefinition':{'icon':ckeditor5['IconAIQuickActions'],'label':getTranslation$i(this['editor']['locale'],'AI_QUICK_ACTIONS_HEADING')},'bodyCollection':_0x1366a1,'hasSearch':_0x150270}));}['_prepareQuickActionsDefinition'](_0x5d3ec2){this['_quickActionsDefinition']=_0x5d3ec2['map'](_0x5eb1fb=>{if('actions'in _0x5eb1fb){const _0x2274e5=_0x5eb1fb;return{..._0x2274e5,'actions':_0x2274e5['actions']['map'](_0x123c27=>{const {actions:_0x3e781c,..._0x12d545}=_0x2274e5;return{..._0x123c27,'parent':_0x12d545};})['filter'](_0x55a88b=>this['_shouldIncludeAction'](_0x55a88b))};}return _0x5eb1fb;})['filter'](_0x7d9baa=>'actions'in _0x7d9baa?_0x7d9baa['actions']['length']>0x0:this['_shouldIncludeAction'](_0x7d9baa));}['_shouldIncludeAction'](_0x268c1e){const _0x1856df=this['editor']['config']['get']('ai.quickActions.removeCommands')||[];return this['editor']['plugins']['has'](AIQuickActionTypeToPluginName[_0x268c1e['type']])&&!_0x1856df['includes'](_0x268c1e['id'])&&!('CHAT'===_0x268c1e['type']&&!0x1===this['editor']['config']['get']('ai.chat.context.document.enabled'));}['_initializeQuickActionsComponents'](_0x4ab6a1){this['_quickActionsDefinition']['forEach'](_0x53c9cd=>{if('actions'in _0x53c9cd){const _0x1a3816=aiQuickActionsDropdownCreator({'editor':this['editor'],'content':_0x53c9cd['actions'],'buttonDefinition':_0x53c9cd,'bodyCollection':_0x4ab6a1});this['editor']['ui']['componentFactory']['add'](_0x53c9cd['id'],_0x1a3816),_0x53c9cd['actions']['forEach'](_0x32c348=>{const _0x37d5f1=aiQuickActionsButtonCreator({'editor':this['editor'],'action':_0x32c348});this['editor']['ui']['componentFactory']['add'](_0x32c348['id'],_0x37d5f1);});}else{const _0x31dca5=aiQuickActionsButtonCreator({'editor':this['editor'],'action':_0x53c9cd,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this['editor']['ui']['componentFactory']['add'](_0x53c9cd['id'],_0x31dca5);}});}['_initializeQuickActionsMenuBar'](){this['editor']['ui']['componentFactory']['add']('menuBar:aiQuickActions',_0x15376e=>{const _0x50bab0=new ckeditor5['MenuBarMenuView'](_0x15376e),_0x49954f=getTranslation$i(_0x15376e,'AI_QUICK_ACTIONS_HEADING');_0x50bab0['buttonView']['set']({'label':_0x49954f,'icon':ckeditor5['IconAIQuickActions']});const _0x2d9ac3=new ckeditor5['MenuBarMenuListView'](_0x15376e);_0x2d9ac3['set']({'ariaLabel':_0x49954f,'role':'menu'}),this['_quickActionsDefinition']['forEach'](_0x2ac4a9=>{if('actions'in _0x2ac4a9){const _0x338334=_0x2ac4a9,_0x2ad16b=new ckeditor5['MenuBarMenuListItemView'](_0x15376e,_0x50bab0),_0x4ad488=new ckeditor5['MenuBarMenuView'](_0x15376e),_0x576317=new ckeditor5['MenuBarMenuListView'](_0x15376e);_0x4ad488['buttonView']['set']({'label':_0x338334['label'],'icon':_0x338334['icon']}),_0x338334['actions']['forEach'](_0x239aa8=>{const _0xc45c9a=new ckeditor5['MenuBarMenuListItemView'](_0x15376e,_0x4ad488),_0x2a4e4e=new ckeditor5['MenuBarMenuListItemButtonView'](_0x15376e);_0x2a4e4e['set']({'label':_0x239aa8['displayedPrompt'],'icon':_0x239aa8['icon'],'role':'menuitem','isEnabled':_0x239aa8['isEnabled']}),_0x2a4e4e['on']('execute',()=>{this['_executeQuickAction'](_0x239aa8);}),_0x2a4e4e['delegate']('execute')['to'](_0x4ad488),_0xc45c9a['children']['add'](_0x2a4e4e),_0x576317['items']['add'](_0xc45c9a);}),_0x4ad488['panelView']['children']['add'](_0x576317),_0x2ad16b['children']['add'](_0x4ad488),_0x2d9ac3['items']['add'](_0x2ad16b);}else{const _0x23875f=_0x2ac4a9,_0x10604c=new ckeditor5['MenuBarMenuListItemView'](_0x15376e,_0x50bab0),_0x3d9419=new ckeditor5['MenuBarMenuListItemButtonView'](_0x15376e);_0x3d9419['set']({'label':_0x23875f['displayedPrompt'],'icon':_0x23875f['icon'],'role':'menuitem','isEnabled':_0x23875f['isEnabled']}),_0x3d9419['on']('execute',()=>{this['_executeQuickAction'](_0x23875f);}),_0x3d9419['delegate']('execute')['to'](_0x50bab0),_0x10604c['children']['add'](_0x3d9419),_0x2d9ac3['items']['add'](_0x10604c);}});const _0x5eaa77=Object['values'](AIQuickActionTypeToPluginName)['some'](_0x2d180a=>this['editor']['plugins']['has'](_0x2d180a));return _0x50bab0['set']({'isEnabled':_0x5eaa77}),_0x50bab0['panelView']['children']['add'](_0x2d9ac3),_0x50bab0;});}['_executeQuickAction'](_0x441a59){const _0x377d6a=this['editor'];_0x377d6a['editing']['view']['focus'](),_0x377d6a['commands']['execute']('aiQuickAction',_0x441a59);const _0x296a92=_0x377d6a['ui']['view']['menuBarView'];_0x296a92&&_0x296a92['close']&&_0x296a92['close']();}}function getDefaultQuickActions(_0x9427a7){const _0x784869=new Intl['DisplayNames'](['en'],{'type':'language'})['of'](_0x9427a7['uiLanguage'])||'English';return[{'id':'ask-ai','displayedPrompt':getTranslation$i(_0x9427a7,'AI_QUICK_ACTIONS_ASK_AI'),'type':'CHAT','icon':ckeditor5['IconAIChatCommands']},{'id':'chat-commands','label':getTranslation$i(_0x9427a7,'AI_QUICK_ACTIONS_CHAT_COMMANDS'),'icon':ckeditor5['IconAIChatCommands'],'actions':[{'id':'explain','displayedPrompt':getTranslation$i(_0x9427a7,'AI_QUICK_ACTIONS_EXPLAIN'),'prompt':_0x1de298['replace']('%0',_0x784869),'type':'CHAT'},{'id':'summarize','displayedPrompt':getTranslation$i(_0x9427a7,'AI_QUICK_ACTIONS_SUMMARIZE'),'prompt':_0x363bf8['replace']('%0',_0x784869),'type':'CHAT'},{'id':'highlight-key-points','displayedPrompt':getTranslation$i(_0x9427a7,'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS'),'prompt':_0x327944['replace']('%0',_0x784869),'type':'CHAT'}]},{'id':'improve-writing','displayedPrompt':getTranslation$i(_0x9427a7,'AI_QUICK_ACTIONS_IMPROVE_WRITING'),'type':'ACTION','icon':ckeditor5['IconAIImproveWriting']},{'id':'continue','displayedPrompt':getTranslation$i(_0x9427a7,'AI_QUICK_ACTIONS_CONTINUE_WRITING'),'type':'ACTION','icon':ckeditor5['IconAIContinueWriting']},{'id':'fix-grammar','displayedPrompt':getTranslation$i(_0x9427a7,'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING'),'type':'ACTION','icon':ckeditor5['IconAIGrammarCheck']},{'id':'adjust-length','label':getTranslation$i(_0x9427a7,'AI_QUICK_ACTIONS_ADJUST_LENGTH'),'icon':ckeditor5['IconAIAdjustLength'],'actions':[{'id':'make-shorter','displayedPrompt':getTranslation$i(_0x9427a7,'AI_QUICK_ACTIONS_MAKE_SHORTER'),'type':'ACTION'},{'id':'make-longer','displayedPrompt':getTranslation$i(_0x9427a7,'AI_QUICK_ACTIONS_MAKE_LONGER'),'type':'ACTION'}]},{'id':'change-tone','label':getTranslation$i(_0x9427a7,'AI_QUICK_ACTIONS_CHANGE_TONE'),'icon':ckeditor5['IconAIChangeTone'],'actions':[{'id':'make-tone-casual','displayedPrompt':getTranslation$i(_0x9427a7,'AI_QUICK_ACTIONS_MORE_CASUAL'),'type':'ACTION'},{'id':'make-tone-direct','displayedPrompt':getTranslation$i(_0x9427a7,'AI_QUICK_ACTIONS_MORE_DIRECT'),'type':'ACTION'},{'id':'make-tone-friendly','displayedPrompt':getTranslation$i(_0x9427a7,'AI_QUICK_ACTIONS_MORE_FRIENDLY'),'type':'ACTION'},{'id':'make-tone-confident','displayedPrompt':getTranslation$i(_0x9427a7,'AI_QUICK_ACTIONS_MORE_CONFIDENT'),'type':'ACTION'},{'id':'make-tone-professional','displayedPrompt':getTranslation$i(_0x9427a7,'AI_QUICK_ACTIONS_MORE_PROFESSIONAL'),'type':'ACTION'}]},{'id':'translate','label':getTranslation$i(_0x9427a7,'AI_QUICK_ACTIONS_TRANSLATE'),'icon':ckeditor5['IconAITranslate'],'actions':[{'id':'translate-to-english','displayedPrompt':getTranslation$i(_0x9427a7,'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH'),'type':'ACTION','actionName':'translate','args':{'language':'english'}},{'id':'translate-to-chinese','displayedPrompt':getTranslation$i(_0x9427a7,'AI_QUICK_ACTIONS_TRANSLATE_CHINESE'),'type':'ACTION','actionName':'translate','args':{'language':'chinese'}},{'id':'translate-to-spanish','displayedPrompt':getTranslation$i(_0x9427a7,'AI_QUICK_ACTIONS_TRANSLATE_SPANISH'),'type':'ACTION','actionName':'translate','args':{'language':'spanish'}},{'id':'translate-to-german','displayedPrompt':getTranslation$i(_0x9427a7,'AI_QUICK_ACTIONS_TRANSLATE_GERMAN'),'type':'ACTION','actionName':'translate','args':{'language':'german'}},{'id':'translate-to-french','displayedPrompt':getTranslation$i(_0x9427a7,'AI_QUICK_ACTIONS_TRANSLATE_FRENCH'),'type':'ACTION','actionName':'translate','args':{'language':'french'}},{'id':'translate-to-japanese','displayedPrompt':getTranslation$i(_0x9427a7,'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE'),'type':'ACTION','actionName':'translate','args':{'language':'japanese'}},{'id':'translate-to-portuguese','displayedPrompt':getTranslation$i(_0x9427a7,'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE'),'type':'ACTION','actionName':'translate','args':{'language':'portuguese'}},{'id':'translate-to-korean','displayedPrompt':getTranslation$i(_0x9427a7,'AI_QUICK_ACTIONS_TRANSLATE_KOREAN'),'type':'ACTION','actionName':'translate','args':{'language':'korean'}},{'id':'translate-to-italian','displayedPrompt':getTranslation$i(_0x9427a7,'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN'),'type':'ACTION','actionName':'translate','args':{'language':'italian'}},{'id':'translate-to-russian','displayedPrompt':getTranslation$i(_0x9427a7,'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN'),'type':'ACTION','actionName':'translate','args':{'language':'russian'}}]},{'id':'other','label':getTranslation$i(_0x9427a7,'AI_QUICK_ACTIONS_OTHER'),'icon':ckeditor5['IconAIOther'],'actions':[]}];}class AIQuickActionsCommand extends ckeditor5['Command']{['execute'](_0x33d0b6){switch(this['_expandSelectionIfCollapsed'](),_0x33d0b6['type']){case AIQuickActionType['CHAT']:if(!this['editor']['plugins']['has']('AIChat')){const _0x1d227c=getTranslation$i(this['editor']['locale'],'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIChat');throw new ckeditor5['CKEditorError']('ai-quick-actions-plugin-not-found',this['editor'],{'errorMessage':_0x1d227c});}this['_handleAIChatAction'](_0x33d0b6);break;case AIQuickActionType['ACTION']:if(!this['editor']['plugins']['has']('AIActions')){const _0x3df74d=getTranslation$i(this['editor']['locale'],'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIActions');throw new ckeditor5['CKEditorError']('ai-quick-actions-plugin-not-found',this['editor'],{'errorMessage':_0x3df74d});}this['_handleAIActionsAction'](_0x33d0b6);break;case AIQuickActionType['REVIEW']:if(!this['editor']['plugins']['has']('AIReviewMode')){const _0x39f7ad=getTranslation$i(this['editor']['locale'],'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIReviewMode');throw new ckeditor5['CKEditorError']('ai-quick-actions-plugin-not-found',this['editor'],{'errorMessage':_0x39f7ad});}this['_handleAIReviewAction'](_0x33d0b6);}}async['_handleAIChatAction'](_0x2078cb){const _0x19ce88=this['editor']['plugins']['get']('AIChat'),_0xaa8498=this['editor']['plugins']['get']('AIChatController'),_0x3d35a7=this['editor']['plugins']['get']('AITabs')['view'];if(_0x3d35a7['isVisible']||(_0x3d35a7['isVisible']=!0x0),'chat'!==_0x3d35a7['activeTab']&&_0x3d35a7['activateTab']('chat'),'ask-ai'===_0x2078cb['id'])_0xaa8498['removeSelectionFromChatContext'](),await _0x19ce88['addSelectionToChatContext'](),_0x19ce88['focusPromptInput']();else await _0x19ce88['startConversation'](),_0xaa8498['removeSelectionFromChatContext'](),await _0x19ce88['addSelectionToChatContext'](),_0x19ce88['focusPromptInput'](),await _0x19ce88['sendMessage']({'message':_0x2078cb['prompt']||_0x2078cb['displayedPrompt'],'attributes':{'quickActionData':{'id':_0x2078cb['id']},'displayedPrompt':_0x2078cb['displayedPrompt']}});}['_expandSelectionIfCollapsed'](){const _0x12020e=this['editor'],_0x4f102f=_0x12020e['model']['document']['selection'];if(!_0x4f102f['isCollapsed'])return;const _0x8af945=ckeditor5['first'](_0x4f102f['getSelectedBlocks']())||_0x12020e['model']['schema']['getLimitElement'](_0x4f102f);_0x12020e['model']['change'](_0x2d5226=>{_0x2d5226['setSelection'](_0x8af945,'in');});}['_handleAIActionsActionLabel'](_0x1e0e34){return _0x1e0e34['parent']?.['label']&&'other'!==_0x1e0e34['parent']?.['id']?_0x1e0e34['parent']['label']+':\x20'+_0x1e0e34['displayedPrompt']:_0x1e0e34['displayedPrompt'];}async['_handleAIActionsAction'](_0x37dda4){const _0x4d3343=this['editor']['plugins']['get']('AIActions'),_0x65e5d=_0x37dda4['prompt']?{'userMessage':_0x37dda4['prompt'],'model':_0x37dda4['model']}:{'actionName':_0x37dda4['actionName']||_0x37dda4['id'],'args':_0x37dda4['args']},_0x21e660=this['_handleAIActionsActionLabel'](_0x37dda4);await _0x4d3343['executeAction'](_0x65e5d,_0x21e660,_0x37dda4['icon']);}async['_handleAIReviewAction'](_0x398deb){console['log']('handleAIReviewAction',_0x398deb);}}class AIQuickActionsEditing extends ckeditor5['Plugin']{static get['pluginName'](){return'AIQuickActionsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4914fb=this['editor'],_0x47b44e=new AIQuickActionsCommand(this['editor']);if(_0x4914fb['commands']['add']('aiQuickAction',_0x47b44e),_0x4914fb['plugins']['has']('AIChat')){const _0x2eb331=this['editor']['plugins']['get']('AIChat');_0x4914fb['model']['document']['selection']['on']('change:range',(_0x5d9db3,_0x43c34c)=>{_0x43c34c['directChange']&&_0x2eb331['removeSelectionFromChatContext']();});}}}class AIActionsReply extends _0x95731f{['updateChangeGroups'](){if(this['parsedMergedContent']=this['parsedContent']['cloneNode'](!0x0),0x0==this['parsedMergedContent']['childNodes']['length'])return void(this['changeGroups']=[]);const _0x11abe8=_0x4a8128(this['documentContextContent']['children']['map'](_0x337094=>({'node':_0x337094,'id':getAttribute(_0x337094,'data-id')})),this['parsedMergedContent']['children']['map'](_0x5f19a2=>({'node':_0x5f19a2,'id':getAttribute(_0x5f19a2,'data-id')||ckeditor5['uid']()})),{'comparator':(_0x1da411,_0x2c8b1b)=>_0x1da411['id']==_0x2c8b1b['id'],'oneChangePerToken':!0x0});if(!this['isDone']){for(;_0x11abe8['length']&&_0x11abe8[_0x11abe8['length']-0x1]['removed'];)_0x11abe8['pop']();}const _0x244bae=_0x11abe8['map'](_0x53ad99=>{const _0x2ec75f=_0x53ad99['added']?'new':_0x53ad99['removed']?'removed':'modified';return{'node':_0x53ad99['value'][0x0]['node'],'type':_0x2ec75f,'id':_0x53ad99['value'][0x0]['id']};});this['changeGroups']=[{'changes':_0x244bae,'state':'pending','index':0x0}];}['_getDifferentChangeGroups'](_0x5a6a30,_0xf142a7){return _0xf142a7;}}class AIActionsInteraction extends AIInteraction{['content'];['version'];['actionName'];['args'];['userMessage'];['model'];['hasError']=!0x1;constructor(_0x25a945){super(_0x25a945),this['content']=_0x25a945['content'],this['version']=_0x25a945['version'],this['actionName']=_0x25a945['actionName'],this['args']=_0x25a945['args'],this['userMessage']=_0x25a945['userMessage'],this['model']=_0x25a945['model'];}async['sendRequest'](){return this['actionName']?this['connector']['executeAction']({'content':this['content'],'actionName':this['actionName'],'args':this['args']}):this['connector']['executeCustomAction']({'content':this['content'],'message':this['userMessage'],'model':this['model'],'outputFormat':'html'});}['getDocumentContext'](){return{'type':AIContextItemType['TEXT'],'content':this['content'],'version':this['version'],'label':'Current\x20document','uiId':'current-document'};}['createReply'](_0x5f34d9){const _0x40fe94=new AIActionsReply({'editor':this['editor'],'documentContextContent':this['content'],..._0x5f34d9});return this['replies']['push'](_0x40fe94),_0x40fe94['delegate'](..._0x578cf5)['to'](this),this['fire']('replyCreated',_0x40fe94),_0x40fe94;}}class AIActionsBalloonToolbarView extends ckeditor5['ToolbarView']{constructor(_0x1b3747,_0x12eae6=!0x0,_0x3978f1=!0x0){super(_0x1b3747),this['set']('isEnabled',!0x1),_0x12eae6&&(this['applyButton']=this['_createButton'](getTranslation$i(_0x1b3747,'AI_BALLOON_APPLY_BUTTON'),'ck-ai-button-primary'),this['applyButton']['bind']('isEnabled')['to'](this),this['items']['add'](this['applyButton'])),_0x3978f1&&(this['suggestButton']=this['_createButton'](getTranslation$i(_0x1b3747,'AI_BALLOON_SUGGEST_BUTTON'),_0x12eae6?'ck-ai-button-secondary':'ck-ai-button-primary'),this['suggestButton']['bind']('isEnabled')['to'](this),this['items']['add'](this['suggestButton'])),this['setButtonsVisibility']({'showApplyButton':_0x12eae6,'showSuggestButton':_0x3978f1}),this['extendTemplate']({'attributes':{'class':['ck-ai-balloon__toolbar']}});}['setButtonsVisibility']({showApplyButton:_0x2ce31f,showSuggestButton:_0x2b7b7c}){this['applyButton']&&(this['applyButton']['isVisible']=_0x2ce31f),this['suggestButton']&&(this['suggestButton']['isVisible']=_0x2b7b7c);}['_createButton'](_0x596444,_0x171976){const _0x5182c9=new ckeditor5['ButtonView'](this['locale']);return _0x5182c9['set']({'label':_0x596444,'class':_0x171976,'isVisible':!0x0,'withText':!0x0}),_0x5182c9;}}class AIActionsBalloonDisclaimerView extends ckeditor5['View']{constructor(_0x28d6e5){super(_0x28d6e5),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-balloon__disclaimer']},'children':[{'tag':'p','attributes':{'class':['ck','ck-ai-balloon__disclaimer-content']},'children':[{'text':getTranslation$i(_0x28d6e5,'AI_DISCLAIMER_TEXT')}]}]});}}class AISuggestionLoaderView extends ckeditor5['View']{constructor(_0x22c2e6){super(_0x22c2e6),this['set']('isVisible',!0x0);const _0x14e0f4=new _0x49ba5d('small');_0x14e0f4['isVisible']=!0x0;const _0x27f86c=new ckeditor5['View'](this['locale']);_0x27f86c['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__loader-text']},'children':[getTranslation$i(this['locale'],'AI_CHAT_IS_WRITING')]}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__loader',this['bindTemplate']['if']('isVisible','ck-hidden',_0x36c7f5=>!_0x36c7f5)]},'children':[_0x14e0f4,_0x27f86c]});}}class AIActionsBalloonView extends _0xe8153a{['focusCycler'];['_config'];['_contentWrapper'];['_streamableContentView'];['_toolbarView'];['_miniToolbarView'];['_loaderView'];['_disclaimerView'];['_focusTracker'];['_keystrokes'];['_dialogContent'];['_focusables'];['_scrollManager'];['_navigationPreviousButton'];['_navigationNextButton'];['_navigationTryAgainButton'];['_navigationCounter'];constructor(_0x12900c,_0x2e3174){super(_0x12900c),this['set']('isBusy',!0x1),this['set']('isTrackChangesOn',!0x1),this['set']('_isLoading',!0x1),this['set']('_hasError',!0x1),this['_config']=_0x2e3174,this['_focusTracker']=new ckeditor5['FocusTracker'](),this['_keystrokes']=new ckeditor5['KeystrokeHandler'](),this['_focusables']=this['createCollection'](),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['_focusTracker'],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['_dialogContent']=new ckeditor5['ViewCollection'](),this['_addContentWrapper'](_0x2e3174),this['_addDisclaimerView'](),this['_addToolbar'](_0x2e3174),this['_focusables']['clear'](),this['_focusables']['addMany']([this['_toolbarView']]),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-actions-balloon-main']},'children':this['_dialogContent']}),this['on']('change:isTrackChangesOn',()=>{this['_toggleToolbarButtonsVisibility'](_0x2e3174);});}['render'](){super['render']();for(const _0x5e97e0 of this['_focusables'])this['_focusTracker']['add'](_0x5e97e0['element']);this['_keystrokes']['listenTo'](this['element']),this['_initializeScrollManager']();}['destroy'](){super['destroy'](),this['_scrollManager']&&this['_scrollManager']['destroy']();}['focus'](_0x296020){-0x1===_0x296020?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['setIsLoading'](_0x4cfa32){this['_isLoading']=_0x4cfa32;}['setErrorState'](){this['_hasError']=!0x0,this['_miniToolbarView']['toggleShowChangesEnabled'](!0x1);}['clearErrorState'](){this['_hasError']=!0x1,this['_miniToolbarView']['toggleShowChangesEnabled'](!0x0);}['showError'](_0x32c992){super['showError'](_0x32c992),this['_dialogContent']['has'](this['_errorView'])||this['_dialogContent']['add'](this['_errorView'],0x0);}['hideError'](){super['hideError'](),this['clearErrorState']();}['showBlockingError'](_0x16cfad){super['showBlockingError'](_0x16cfad),this['setErrorState']();}['addMiniToolbarItem'](_0x8f99b4){this['_miniToolbarView']['items']['has'](_0x8f99b4)||this['_miniToolbarView']['items']['add'](_0x8f99b4);}['removeMiniToolbarItem'](_0x4b0622){this['_miniToolbarView']['items']['has'](_0x4b0622)&&this['_miniToolbarView']['items']['remove'](_0x4b0622);}['showLoader'](){this['_loaderView']&&(this['_isLoading']=!0x0);}['hideLoader'](){this['_loaderView']&&(this['_isLoading']=!0x1);}['_toggleToolbarButtonsVisibility']({showApplyButton:_0xde5aee,showSuggestButton:_0x2382cd}){_0xde5aee=_0xde5aee&&!this['isTrackChangesOn']&&this['_config']['availableActions']['includes']('applySuggestion'),_0x2382cd=_0x2382cd&&this['_config']['availableActions']['includes']('insertSuggestion'),this['_toolbarView']['setButtonsVisibility']({'showApplyButton':_0xde5aee,'showSuggestButton':_0x2382cd});}async['updateContent'](_0x30f39b){await this['_streamableContentView']['update'](_0x30f39b);}['clearContent'](){this['_streamableContentView']['clear']();}['_addContentWrapper'](_0x457ed4){this['_contentWrapper']=new ckeditor5['View'](this['locale']),this['_contentWrapper']['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-actions-balloon-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai-actions-balloon-content-wrapper']},'children':[this['_createLoaderView'](),this['_createStreamableContentView']()]},this['_createMiniToolbar'](_0x457ed4['miniToolbarConfig'])]}),this['_dialogContent']['add'](this['_contentWrapper']);}['_addDisclaimerView'](){this['_disclaimerView']=new AIActionsBalloonDisclaimerView(this['locale']),this['_dialogContent']['add'](this['_disclaimerView']);}['_addToolbar']({showApplyButton:_0x40faec,showSuggestButton:_0x543436}){this['_toolbarView']=new AIActionsBalloonToolbarView(this['locale'],_0x40faec,_0x543436),this['_toolbarView']['applyButton']?.['on']('execute',()=>{this['fire']('applySuggestion');}),this['_toolbarView']['suggestButton']?.['on']('execute',()=>{this['fire']('insertSuggestion');}),this['_toolbarView']['bind']('isEnabled')['to'](this,'isBusy',this,'_isLoading',this,'_hasError',(_0x7418b7,_0xf3d8e2,_0x1eeba3)=>!(_0x7418b7||_0xf3d8e2||_0x1eeba3)),this['_toggleToolbarButtonsVisibility']({'showApplyButton':_0x40faec,'showSuggestButton':_0x543436}),this['_dialogContent']['add'](this['_toolbarView']);}['_createMiniToolbar'](_0x2236ce){return this['_miniToolbarView']=new _0x2a8c52(this['locale'],_0x2236ce),this['_miniToolbarView']['delegate'](..._0x2dcce3)['to'](this),this['_miniToolbarView']['on']('toggleShowChanges',()=>{this['_miniToolbarView']['isShowChangesOn']=!this['_miniToolbarView']['isShowChangesOn'],this['fire']('toggleSuggestionDisplayMode',{'showDiff':this['_miniToolbarView']['isShowChangesOn']});}),this['_miniToolbarView']['bind']('isEnabled')['to'](this,'isBusy',this,'_isLoading',(_0x8c7203,_0x15b9c6)=>!(_0x8c7203||_0x15b9c6)),this['_miniToolbarView'];}['_createLoaderView'](){return this['_loaderView']=new AISuggestionLoaderView(this['locale']),this['_loaderView']['bind']('isVisible')['to'](this,'_isLoading'),this['_loaderView'];}['_createStreamableContentView'](){return this['_streamableContentView']=new AISuggestionStreamableContentView(this['locale']),this['_streamableContentView'];}['_setupMiniToolbarButtons'](){const _0x3e8e47=new ckeditor5['ButtonView'](this['locale']),_0x26fef6=new ckeditor5['ButtonView'](this['locale']),_0x3c5b47=new AIActionsBalloonNavigationCounterView(this['locale']),_0x141b8f=new ckeditor5['ButtonView'](this['locale']);_0x3e8e47['set']({'icon':ckeditor5['IconRefresh'],'label':getTranslation$i(this['locale'],'AI_ACTIONS_TRY_AGAIN'),'tooltip':!0x0,'class':'ck-ai-custom-action-button'}),_0x26fef6['set']({'icon':ckeditor5['IconPreviousArrow'],'tooltip':getTranslation$i(this['locale'],'AI_ACTIONS_PREVIOUS_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-previous-button'}),_0x141b8f['set']({'icon':ckeditor5['IconNextArrow'],'tooltip':getTranslation$i(this['locale'],'AI_ACTIONS_NEXT_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-next-button'}),_0x3e8e47['bind']('isEnabled')['to'](this,'isBusy',_0x1adeea=>!_0x1adeea),_0x3e8e47['on']('execute',()=>{this['fire']('tryAgain');}),_0x26fef6['bind']('isEnabled')['to'](this,'isBusy',_0x12dfd6=>!_0x12dfd6),_0x26fef6['on']('execute',()=>{this['fire']('showPrevious');}),_0x141b8f['bind']('isEnabled')['to'](this,'isBusy',_0x3c93a9=>!_0x3c93a9),_0x141b8f['on']('execute',()=>{this['fire']('showNext');}),this['_navigationPreviousButton']=_0x26fef6,this['_navigationCounter']=_0x3c5b47,this['_navigationNextButton']=_0x141b8f,this['_navigationTryAgainButton']=_0x3e8e47;}['updateMiniToolbarButtons'](_0x2d8d0e,_0x45d3d3){this['_navigationPreviousButton']||this['_setupMiniToolbarButtons']();const _0x46f749=_0x2d8d0e>0x1;if(this['addMiniToolbarItem'](this['_navigationTryAgainButton']),_0x46f749){this['addMiniToolbarItem'](this['_navigationPreviousButton']),this['addMiniToolbarItem'](this['_navigationCounter']),this['addMiniToolbarItem'](this['_navigationNextButton']);const _0x2d93ef=_0x2d8d0e-_0x45d3d3;this['_navigationCounter']['setInteractionCount'](_0x2d93ef+'/'+_0x2d8d0e),this['_navigationPreviousButton']['isEnabled']=_0x45d3d3<_0x2d8d0e-0x1,this['_navigationNextButton']['isEnabled']=_0x45d3d3>0x0;}else this['removeMiniToolbarItem'](this['_navigationPreviousButton']),this['removeMiniToolbarItem'](this['_navigationCounter']),this['removeMiniToolbarItem'](this['_navigationNextButton']);}['disableMiniToolbarButtons'](){this['_navigationTryAgainButton']['isEnabled']=!0x1,this['_navigationPreviousButton']['isEnabled']=!0x1,this['_navigationNextButton']['isEnabled']=!0x1;}['startAutoScroll'](){this['_initializeScrollManager'](),this['_scrollManager']&&this['_scrollManager']['start']();}['stopAutoScroll'](){this['_scrollManager']&&this['_scrollManager']['stop']();}['toggleIsLoading'](_0xaa2cbf){this['_isLoading']=_0xaa2cbf;}['resetShowChangesButton'](){this['_miniToolbarView']['isShowChangesOn']=!0x1;}['_initializeScrollManager'](){const _0x543696=this['_getScrollableElement']();_0x543696&&!this['_scrollManager']&&(this['_scrollManager']=new _0x302436(_0x543696));}['_getScrollableElement'](){return this['_streamableContentView']['element'];}}class AIActionsBalloonNavigationCounterView extends ckeditor5['View']{constructor(_0x367588){super(_0x367588);const _0xd92412=this['bindTemplate'];this['set']('interactionCount','1/1'),this['setTemplate']({'tag':'span','attributes':{'class':['ck-ai-interaction-counter']},'children':[{'text':_0xd92412['to']('interactionCount')}]});}['setInteractionCount'](_0x5d4717){this['set']('interactionCount',_0x5d4717);}}class AIActions extends ckeditor5['Plugin']{static get['requires'](){return[AIConnector,ckeditor5['Dialog'],AIEditing,_0x497d44,DocumentCompare];}static get['pluginName'](){return'AIActions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_aiConnector'];['_interactions']=[];['_currentInteractionIndex']=0x0;['_interactionParams'];['_balloonShowDiff']=!0x1;['_promiseQueue'];['_bodyCollection'];get['_interaction'](){return this['_interactions'][this['_interactions']['length']-0x1];}['_actionsBalloonView'];constructor(_0x5d920e){super(_0x5d920e),this['_bodyCollection']=new ckeditor5['BodyCollection'](this['editor']['locale']),this['_bodyCollection']['attachToDom'](),this['_aiConnector']=this['editor']['plugins']['get']('AIConnector'),this['set']('isBusy',!0x1),this['_promiseQueue']=new _0x2f912b();}['stopInteraction'](){this['_stopInteraction']();}async['executeAction'](_0x22fbca,_0x4e4c88,_0x3eb109){if(this['_stopInteraction'](),this['editor']['plugins']['has']('TableSelection')){if(this['editor']['plugins']['get']('TableSelection')['getSelectedTableCells']()){const {modelFragment:_0x48a873,anchorData:_0x275268}=this['_getExecuteDataInTable']();return this['_executeAction'](_0x22fbca,_0x48a873,_0x275268,_0x4e4c88,_0x3eb109);}}const {modelFragment:_0x50001d,anchorData:_0x11a382}=this['_getExecuteDataRegular']();return this['_executeAction'](_0x22fbca,_0x50001d,_0x11a382,_0x4e4c88,_0x3eb109);}async['destroy'](){return this['_stopInteraction'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}['_createActionsBalloonView'](){const _0x2af082=this['editor']['plugins']['has']('TrackChanges');let _0x3080e6=this['editor']['config']['get']('ai.availableReplyActions')||[..._0x4eab55];_0x2af082||(_0x3080e6=_0x3080e6['filter'](_0x1b8fcf=>'insertSuggestion'!=_0x1b8fcf));const _0x1425c0=this['editor']['commands']['get']('trackChanges'),_0x3f01d2=new AIActionsBalloonView(this['editor']['locale'],{'showApplyButton':!0x0,'showSuggestButton':_0x2af082,'miniToolbarConfig':{'showChanges':'icon'},'availableActions':_0x3080e6});return _0x3f01d2['bind']('isBusy')['to'](this),_0x1425c0&&_0x3f01d2['bind']('isTrackChangesOn')['to'](_0x1425c0,'value'),_0x3f01d2['on']('tryAgain',()=>{this['_refreshInteraction']();}),_0x3f01d2['on']('showPrevious',()=>{this['_navigateToPrevious']();}),_0x3f01d2['on']('showNext',()=>{this['_navigateToNext']();}),_0x3f01d2;}['_getExecuteDataRegular'](){const _0x58f29b=this['editor']['model']['document']['selection'];if(_0x58f29b['isCollapsed']){const _0x59d610=ckeditor5['first'](_0x58f29b['getSelectedBlocks']())||this['editor']['model']['schema']['getLimitElement'](_0x58f29b);this['editor']['model']['change'](_0x2956c0=>{_0x2956c0['setSelection'](_0x59d610,'in');});}const _0x5baf2e=_0x58f29b['getFirstRange'](),_0x5bc238=this['_wrapWithCommonAncestors'](this['editor']['model']['getSelectedContent'](_0x58f29b),_0x5baf2e['start'],_0x5baf2e['end']);this['_copyMarkersToFragment'](_0x5bc238,_0x58f29b,{'isTableSelection':!0x1});const _0x5eedde=_0x58f29b['getFirstRange']()['start'],_0x191982=new Map();let _0x8ccbf6=_0x5bc238;for(let _0x5aac54=0x0;_0x5aac54<_0x5eedde['path']['length'];_0x5aac54++)_0x191982['set'](_0x8ccbf6,_0x5eedde['path'][_0x5aac54]),_0x8ccbf6=_0x8ccbf6['getChild'](0x0);return{'modelFragment':_0x5bc238,'anchorData':_0x191982};}['_getExecuteDataInTable'](){const _0x24531d=this['editor']['model']['document']['selection'],_0x289fe6=this['editor']['plugins']['get']('TableSelection')['getSelectionAsFragment'](),_0x4d88dd=_0x24531d['getFirstRange']()['start']['parent']['parent'],_0x9df87c=this['editor']['model']['createRange'](this['editor']['model']['createPositionBefore'](_0x4d88dd),this['editor']['model']['createPositionAfter'](_0x4d88dd)),_0x2b217a=this['_wrapWithCommonAncestors'](_0x289fe6,_0x9df87c['start'],_0x9df87c['end']);this['_copyMarkersToFragment'](_0x2b217a,_0x24531d,{'isTableSelection':!0x0});const _0x5c7fd7=_0x24531d['getFirstRange']()['start'],_0x23212b=new Map();let _0x4a1a9e=_0x2b217a;for(let _0x118619=0x0;_0x118619<_0x5c7fd7['path']['length'];_0x118619++)if(_0x23212b['set'](_0x4a1a9e,_0x5c7fd7['path'][_0x118619]),_0x118619<_0x5c7fd7['path']['length']-0x1)_0x4a1a9e=_0x4a1a9e['getChild'](0x0);else{let _0x112704=_0x4a1a9e['nextSibling'];for(;_0x112704;)_0x23212b['set'](_0x112704,_0x5c7fd7['path'][_0x118619]),_0x112704=_0x112704['nextSibling'];}return{'modelFragment':_0x2b217a,'anchorData':_0x23212b};}async['_executeAction'](_0x7d4882,_0xbb317b,_0x943ded,_0x8e6542,_0x11f7ed){const _0x244f7b=this['editor']['plugins']['get'](AIEditing),_0x1e03d1=this['editor']['plugins']['get'](_0x497d44),_0x1502a9=this['editor']['model']['document']['selection'],_0x28fd5e=await _0x244f7b['modelToDataWithIds'](_0xbb317b),_0x2ed635=this['editor']['model']['document']['version'],_0xb41a82=[..._0x1502a9['getRanges']()];return this['_actionsBalloonView']||(this['_actionsBalloonView']=this['_createActionsBalloonView']()),this['_clearInteractionHistory'](),this['_clearErrorState'](),this['_actionsBalloonView']['clearContent'](),_0x1e03d1['open']({'index':0x3e8*Math['random']()%0x3e8,'title':_0x8e6542,'icon':_0x11f7ed||ckeditor5['IconAIQuickActions'],'mainView':this['_actionsBalloonView'],'class':'ck-ai-actions-balloon','ranges':_0xb41a82,'id':'aiActionsBalloon'}),this['_setLoadingState'](),this['stopListening'](this['_actionsBalloonView']),this['stopListening'](_0x1e03d1),this['_interactionParams']={'action':_0x7d4882,'content':_0x28fd5e,'version':_0x2ed635,'aiBalloon':_0x1e03d1,'modelFragment':_0xbb317b,'anchorData':_0x943ded},this['_setupApplyListeners'](),this['listenTo'](_0x1e03d1,'selectionRemoved',()=>{this['_stopInteraction'](),this['_actionsBalloonView']['disableMiniToolbarButtons']();}),this['listenTo'](_0x1e03d1,'dialogClosed',(_0x33dffc,{id:_0xd2947e})=>{if('aiActionsBalloon'===_0xd2947e){if(this['_interaction']&&this['_interaction']['replies']['length']>0x0){const _0x1b0887=this['_interaction']['replies'][this['_interaction']['replies']['length']-0x1],_0x5dccf5=_0x1b0887['changeGroups'][0x0];_0x5dccf5&&'pending'===_0x5dccf5['state']&&_0x1b0887['setChangeGroupState'](0x0,'rejected');}this['_stopInteraction'](),this['_clearInteractionHistory'](),this['stopListening'](this['_actionsBalloonView']),this['stopListening'](_0x1e03d1);}}),this['_createInteraction'](_0x28fd5e,_0x2ed635,_0x1e03d1,_0x7d4882);}['_setupApplyListeners'](){if(!this['_interactionParams'])return;const {modelFragment:_0x4bce76,anchorData:_0x16627e}=this['_interactionParams'];this['listenTo'](this['_actionsBalloonView'],'applySuggestion',()=>{this['_applyChanges'](_0x4bce76,_0x16627e,!0x1);}),this['listenTo'](this['_actionsBalloonView'],'insertSuggestion',()=>{this['_applyChanges'](_0x4bce76,_0x16627e,!0x0);});}['_wrapWithCommonAncestors'](_0x5e4707,_0x33bc04,_0x2a97ff){const _0x14ca9d=this['editor']['model']['createRange'](_0x33bc04,_0x2a97ff)['getCommonAncestor'](),_0x1d3260=_0x14ca9d['is']('documentFragment')?[]:_0x14ca9d['getAncestors']({'includeSelf':!0x0})['slice'](0x1);if(_0x1d3260['length']){const _0x54e36a=_0x1d3260['map'](_0x5c082f=>_0x5c082f['_clone'](!0x1));for(let _0x2843fd=0x1;_0x2843fd<_0x54e36a['length'];_0x2843fd++)_0x54e36a[_0x2843fd-0x1]['_appendChild'](_0x54e36a[_0x2843fd]);return _0x54e36a[_0x54e36a['length']-0x1]['_appendChild'](_0x5e4707),new ckeditor5['ModelDocumentFragment'](_0x54e36a[0x0]);}return _0x5e4707;}['_copyMarkersToFragment'](_0x4f4c78,_0x102609,_0x2d7907={'isTableSelection':!0x1}){const _0x139ff4=this['editor']['model'],_0x5be8dc=Array['from'](_0x102609['getRanges']()),_0x276fd5=_0x102609['getFirstRange']()['start'];for(const _0x9d28ba of _0x139ff4['markers']){if(_0x9d28ba['name']['startsWith'](_0x1e34d6)||!_0x9d28ba['affectsData'])continue;const _0x5a2e9b=_0x9d28ba['getRange']();if(!_0x5be8dc['some'](_0x4d6f5d=>_0x4d6f5d['containsRange'](_0x5a2e9b,!0x0)))continue;const _0x383a07=this['_regularCalculateMarkerPath'](_0x5a2e9b['start'],_0x276fd5,_0x2d7907['isTableSelection']),_0x807d70=this['_regularCalculateMarkerPath'](_0x5a2e9b['end'],_0x276fd5,_0x2d7907['isTableSelection']),_0x3e34ee=_0x139ff4['createPositionFromPath'](_0x4f4c78,_0x383a07),_0x1643ea=_0x139ff4['createPositionFromPath'](_0x4f4c78,_0x807d70);if(!_0x3e34ee['isEqual'](_0x1643ea)){const _0x568cb5=_0x139ff4['createRange'](_0x3e34ee,_0x1643ea);_0x4f4c78['markers']['set'](_0x9d28ba['name'],_0x568cb5);}}}['_regularCalculateMarkerPath'](_0x3cc83f,_0x4ea5cb,_0x72abb8=!0x1){const _0x415458=[..._0x3cc83f['path']['slice']()];for(let _0x5851c5=0x0;_0x5851c5<Math['max'](_0x4ea5cb['path']['length'],_0x3cc83f['path']['length']);_0x5851c5++){const _0x3150a2=_0x4ea5cb['path'][_0x5851c5]||0x0,_0x1501ba=(_0x3cc83f['path'][_0x5851c5]||0x0)-_0x3150a2;if(_0x415458[_0x5851c5]=_0x1501ba,0x0!==_0x1501ba&&!_0x72abb8)break;}return _0x415458;}async['_createInteraction'](_0x414f37,_0x79272d,_0x6a4f89,_0x3090dd){const _0x4cb478=this['editor'];this['_interactionParams']||(this['_interactionParams']={'action':_0x3090dd,'content':_0x414f37,'version':_0x79272d,'aiBalloon':_0x6a4f89,'modelFragment':this['editor']['model']['getSelectedContent'](this['editor']['model']['document']['selection']),'anchorData':new Map()});const _0x2daa7d=new AIActionsInteraction({'connector':this['_aiConnector'],'editor':_0x4cb478,'content':_0x414f37,'version':_0x79272d,..._0x3090dd});this['_interactions']['push'](_0x2daa7d);const _0x4ef58f=(_0x425270,_0x3abf99=!0x1,_0x235b5d='streaming')=>this['_promiseQueue']['enqueue'](async _0x3ad2d4=>{try{const _0x664a30=getSuggestionPartsFromReply({'editor':_0x4cb478,'changeGroups':_0x425270['changeGroups'],'documentContextContent':_0x425270['documentContextContent'],'showDiff':_0x3abf99,'trimUnchanged':!0x1});_0x664a30['length']&&await this['_actionsBalloonView']['updateContent']({'part':_0x664a30[0x0],'renderingStrategy':_0x235b5d,'abortSignal':_0x3ad2d4});}catch(_0x3dc841){if(this['_isAbortError'](_0x3dc841))return;throw _0x3dc841;}});this['_interaction']['on']('replyCreated',(_0x225f54,_0x2e20a6)=>{this['_actionsBalloonView']['hideLoader'](),this['_actionsBalloonView']['startAutoScroll'](),_0x4ef58f(_0x2e20a6)['catch'](_0x31d19e=>{this['_isAbortError'](_0x31d19e)||(console['error']('Error\x20updating\x20content\x20in\x20replyCreated:',_0x31d19e),this['_setErrorState'](_0x2daa7d));});}),this['_interaction']['on']('replyContentUpdated',(_0x3eb55,_0x230af8)=>{_0x4ef58f(_0x230af8)['catch'](_0x4aed97=>{this['_isAbortError'](_0x4aed97)||(console['error']('Error\x20updating\x20content\x20in\x20replyContentUpdated:',_0x4aed97),this['_setErrorState'](_0x2daa7d));});}),this['_interaction']['on']('interactionFinished',async()=>{try{await this['_clearLoadingState'](),this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),await this['_promiseQueue']['queueEmptyPromise'];}catch(_0x418970){this['_isAbortError'](_0x418970)||(console['error']('Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:',_0x418970),this['_setErrorState'](_0x2daa7d));}finally{this['_actionsBalloonView']['stopAutoScroll']();}}),this['listenTo'](this['_actionsBalloonView'],'toggleSuggestionDisplayMode',async(_0xe5f53e,{showDiff:_0x37b8da})=>{try{this['_balloonShowDiff']=_0x37b8da;const _0x2242dc=this['_interaction']['replies'][this['_interaction']['replies']['length']-0x1];_0x2242dc&&await _0x4ef58f(_0x2242dc,_0x37b8da,'static');}catch(_0x51cf68){this['_isAbortError'](_0x51cf68)||(console['error']('Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:',_0x51cf68),this['_setErrorState'](_0x2daa7d));}}),this['_interaction']['on']('replyChangeGroupStateUpdated',(_0x3907f2,{reply:_0x58b8e6})=>{const _0x4821da={'positiveCount':_0x58b8e6['changeGroups']['filter'](_0x1ecaf1=>'accepted'===_0x1ecaf1['state'])['length'],'totalCount':_0x58b8e6['changeGroups']['length']},_0x78e904=this['_interaction']['actionCallId'],_0x25fdbc=this['_interaction']['actionName'];_0x25fdbc?this['_aiConnector']['upsertAIActionRating'](_0x25fdbc,_0x78e904,_0x4821da):this['_aiConnector']['upsertCustomAIActionRating'](_0x78e904,_0x4821da);}),this['_setLoadingState']();try{const _0x560a5d=await this['_interaction']['start']();return this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),_0x560a5d;}catch(_0x42a930){if(this['_isAbortError'](_0x42a930))return;this['_actionsBalloonView']['hideLoader'](),this['_setErrorState'](_0x2daa7d);}}['_applyChanges'](_0x5be9d0,_0x30721d,_0x199025){const _0x35e336=this['editor'];if(_0x199025&&!_0x35e336['plugins']['has']('TrackChanges'))throw new ckeditor5['CKEditorError']('ai-no-track-changes',null);const _0x390411=this['editor']['plugins']['get'](DocumentCompare),_0x584d4f=this['_interactions'][this['_interactions']['length']-0x1-this['_currentInteractionIndex']];if(!_0x584d4f||!_0x584d4f['replies']['length'])return;const _0x39aca4=_0x584d4f['replies'][_0x584d4f['replies']['length']-0x1],_0x3085b7=_0x39aca4['changeGroups'];_0x39aca4['setChangeGroupState'](0x0,'accepted');let _0x5f4877=getOperationsFromReply({'editor':_0x35e336,'reply':_0x39aca4,'interaction':_0x584d4f,'groups':_0x3085b7,'transform':!0x1,'documentCompare':_0x390411,'documentCompareOptions':{'anchor':_0x35e336['model']['createPositionAt'](_0x5be9d0,0x0),'markDeletions':_0x199025}});_0x5f4877=this['_filterOperationsOutsideRange'](_0x5f4877,_0x30721d);for(const _0x1d10d8 of _0x5f4877)this['_anchorOperation'](_0x30721d,_0x1d10d8,_0x35e336['model']['document']['getRoot']());const _0x4b0a7e=_0x584d4f['getDocumentContext']()['version'],_0x1663d9=_0x35e336['model']['document']['history']['getOperations'](_0x4b0a7e),_0x2f9f95={'document':_0x35e336['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1},_0x295da3=ckeditor5['transformOperationSets'](_0x5f4877,_0x1663d9,_0x2f9f95)['operationsA'];_0x35e336['model']['change'](_0x1a86bd=>{if(_0x1a86bd['setSelection'](_0x35e336['model']['document']['selection']['focus']),_0x199025)_0x35e336['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x295da3);else{for(const _0x9dfcf1 of _0x295da3)_0x9dfcf1['baseVersion']=_0x35e336['model']['document']['version'],fixMarkerOperationOldRange(_0x35e336,_0x9dfcf1),_0x1a86bd['batch']['addOperation'](_0x9dfcf1),_0x35e336['model']['applyOperation'](_0x9dfcf1);}}),this['editor']['plugins']['get']('AIBalloon')['close']();}['_filterOperationsOutsideRange'](_0x31978c,_0x4d51a3){return _0x31978c['filter'](_0x3c956c=>{if('rename'==_0x3c956c['type']){const _0x4c260d=_0x3c956c['position']['nodeAfter'];return!_0x4d51a3['has'](_0x4c260d);}if(_0x3c956c['type']['indexOf']('Attribute')>-0x1){const _0x2459eb=_0x3c956c['range']['start']['nodeAfter'];return!_0x4d51a3['has'](_0x2459eb);}return!0x0;});}['_anchorOperation'](_0x357272,_0x127b7b,_0xb8cafc){const _0x466f87=_0x127b7b['clone']();for(const _0x3aec7 in _0x127b7b){const _0x699dc=_0x127b7b[_0x3aec7];_0x699dc instanceof ckeditor5['ModelRange']?_0x127b7b[_0x3aec7]=new ckeditor5['ModelRange'](_0x4e9b78(_0x699dc['start']),_0x4e9b78(_0x699dc['end'])):_0x699dc instanceof ckeditor5['ModelPosition']&&(_0x127b7b[_0x3aec7]=_0x4e9b78(_0x699dc));}if(['insert','move','remove','reinsert','split','merge']['includes'](_0x466f87['type'])){if(_0x466f87['isDocumentOperation']=!0x1,_0x466f87['baseVersion']=null,'remove'==_0x466f87['type']){const _0x53f31f=_0x466f87['sourcePosition'],_0x1e5807=_0x466f87['howMany'];new ckeditor5['_DetachOperation'](_0x53f31f,_0x1e5807)['_execute']();}else _0x466f87['_execute']();}function _0x4e9b78(_0x4abc79){if('$graveyard'==_0x4abc79['root']['rootName'])return _0x4abc79;const _0x2e1056=[];let _0x4e6f42=_0x4abc79['root'];for(let _0xc87669=0x0;_0xc87669<_0x4abc79['path']['length'];_0xc87669++){const _0x609848=_0x357272['get'](_0x4e6f42)||0x0;_0x2e1056[_0xc87669]=_0x4abc79['path'][_0xc87669]+_0x609848,_0x4e6f42=_0x4e6f42['getChildAtOffset'](_0x4abc79['path'][_0xc87669]);}return new ckeditor5['ModelPosition'](_0xb8cafc,_0x2e1056,_0x4abc79['stickiness']);}}['_refreshInteraction'](){if(!this['_interactionParams'])return;this['_interactions']['length']>0x0&&this['_stopInteraction'](),this['_currentInteractionIndex']=0x0,this['_balloonShowDiff']=!0x1;const {action:_0x21f0a3,content:_0x2126cf,version:_0x4e8524,aiBalloon:_0x5c6b4b}=this['_interactionParams'];this['_clearErrorState'](),this['_actionsBalloonView']['clearContent'](),this['_actionsBalloonView']['showLoader'](),this['_actionsBalloonView']['resetShowChangesButton'](),this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),this['stopListening'](this['_actionsBalloonView']),this['_setupApplyListeners'](),this['_createInteraction'](_0x2126cf,_0x4e8524,_0x5c6b4b,_0x21f0a3)['catch'](_0x309455=>{this['_isAbortError'](_0x309455)||console['error']('Error\x20refreshing\x20interaction:',_0x309455);});}['_isAbortError'](_0x42662d){return!!_0x42662d['message']&&_0x42662d['message']['startsWith']('ai-request-aborted');}['_clearInteractionHistory'](){this['_interactions']=[],this['_interactionParams']=void 0x0,this['_currentInteractionIndex']=0x0,this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);}['_stopInteraction'](){this['_interaction']&&this['_interaction']['stop'](),this['_promiseQueue']['abort'](),this['isBusy']=!0x1,this['_interactionParams']&&this['_actionsBalloonView']['stopAutoScroll']();}['_navigateToPrevious'](){const _0x2a71ac=this['_interactions']['length'];this['_currentInteractionIndex']<_0x2a71ac-0x1&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']+0x1);}['_navigateToNext'](){this['_currentInteractionIndex']>0x0&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']-0x1);}async['_displayInteractionAtIndex'](_0x41b8e3){if(!this['_interactionParams'])return;this['_currentInteractionIndex']=_0x41b8e3;const _0x4bbef1=this['_interactions'][this['_interactions']['length']-0x1-this['_currentInteractionIndex']];if(!_0x4bbef1)return;if(_0x4bbef1['hasError'])return this['_setErrorState'](_0x4bbef1),void this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);if(!_0x4bbef1['replies']['length'])return;this['_actionsBalloonView']['hideError'](),this['_interactionParams']&&this['_clearErrorState']();const _0x327a9b=_0x4bbef1['replies'][_0x4bbef1['replies']['length']-0x1];if(_0x327a9b){const _0x1f54ef=this['editor'];try{const _0x579817=getSuggestionPartsFromReply({'editor':_0x1f54ef,'changeGroups':_0x327a9b['changeGroups'],'documentContextContent':_0x327a9b['documentContextContent'],'showDiff':this['_balloonShowDiff'],'trimUnchanged':!0x1});await new Promise(_0x2e6604=>setTimeout(_0x2e6604,0x32)),await this['_actionsBalloonView']['updateContent']({'part':_0x579817[0x0],'renderingStrategy':'static','abortSignal':new AbortController()['signal']});}catch(_0x34d865){this['_isAbortError'](_0x34d865)||console['error']('Error\x20updating\x20content\x20during\x20navigation:',_0x34d865);}}this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);}['_setLoadingState'](){this['_actionsBalloonView']['setIsLoading'](!0x0),this['isBusy']=!0x0;}async['_setErrorState'](_0x2b67ae){const _0x495181=getTranslation$i(this['editor']['locale'],'AI_ACTIONS_GENERIC_ERROR');this['_actionsBalloonView']['showError'](_0x495181),_0x2b67ae['hasError']=!0x0,await this['_promiseQueue']['queueEmptyPromise'],this['_actionsBalloonView']['setErrorState'](),this['_actionsBalloonView']['toggleIsLoading'](!0x0);}['_clearErrorState'](){this['_actionsBalloonView']['hideError'](),this['_actionsBalloonView']['toggleIsLoading'](!0x1);}async['_clearLoadingState'](){await this['_promiseQueue']['queueEmptyPromise'],this['isBusy']=!0x1,this['_actionsBalloonView']['setIsLoading'](!0x1);}}class AIQuickActions extends ckeditor5['Plugin']{static get['requires'](){return[AIQuickActionsUI,AIQuickActionsEditing,AIActions];}static get['pluginName'](){return'AIQuickActions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x44b5fb){super(_0x44b5fb),_0x44b5fb['config']['define']('ai.quickActions',{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}class AIReviewCoreReviewCheckListItemResultsView extends ckeditor5['View']{['resultResponseView'];['acceptButtonView'];['dismissButtonView'];['infoButtonView'];['outdatedButtonView'];constructor(_0x84da15,_0x499b4f){super(_0x84da15),this['id']=_0x499b4f,this['set']('status','pending'),this['set']('changeId',_0x499b4f),this['resultResponseView']=this['_createResultResponseView'](),this['acceptButtonView']=this['_createAcceptButtonView'](),this['dismissButtonView']=this['_createDismissButtonView'](),this['infoButtonView']=this['_createInfoButtonView'](),this['outdatedButtonView']=this['_createOutdatedButtonView'](),this['set']('isInfoToggleOn',!0x1),this['set']('isActive',!0x1),this['set']('showDiff',!0x0),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-result',this['bindTemplate']['if']('isActive','ck-ai_review__check-run-result_active')]},'on':{'click':this['bindTemplate']['to']('click'),'mouseover':this['bindTemplate']['to']('mouseover'),'mouseout':this['bindTemplate']['to']('mouseout')},'children':[this['resultResponseView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-result-footer']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-run-result-action-buttons']},'children':[this['acceptButtonView'],this['dismissButtonView'],this['outdatedButtonView']]},this['infoButtonView']]}]}),this['on']('click',(_0x27e3f8,_0x13ad98)=>{_0x13ad98&&_0x13ad98['target']&&'A'===_0x13ad98['target']['tagName']&&_0x13ad98['preventDefault'](),this['fire']('activateChange',{'id':_0x499b4f,'source':this,'uiInteraction':'click'});}),this['on']('mouseover',()=>{this['fire']('activateChange',{'id':_0x499b4f,'source':this,'uiInteraction':'hover'});}),this['on']('mouseout',()=>{this['fire']('deactivateChange',{'origin':'panel','id':_0x499b4f,'source':this});});}['setItemAsActive'](){this['isActive']=!0x0;}['setItemAsInactive'](){this['isActive']=!0x1;}['_createResultResponseView'](){const _0xa99f25=new ckeditor5['View'](this['locale']);return _0xa99f25['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content','ck-reset_all-excluded','ck-ai_review__check-run-result-response',this['bindTemplate']['if']('showDiff','ck-hidden',_0x517e19=>!_0x517e19)]}}),_0xa99f25;}['_createAcceptButtonView'](){const _0x395656=new ckeditor5['ButtonView'](this['locale']);return _0x395656['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_ACCEPT_CHANGE'),'withText':!0x0}),_0x395656['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x26a0dd=>{this['fire']('acceptChange',{'id':this['changeId']}),_0x26a0dd['stopPropagation']();})},'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-result-accept-button',this['bindTemplate']['if']('status','ck-hidden',_0x2674fa=>'pending'!==_0x2674fa&&'accepted'!==_0x2674fa),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-accept-button',_0x61e6e9=>'pending'===_0x61e6e9),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-status-button',_0x334dc3=>'accepted'===_0x334dc3)]}}),this['on']('change:status',(_0xf9b2b1,_0x3fcd18,_0x4a8906)=>{_0x395656['isEnabled']='pending'===_0x4a8906,'accepted'===_0x4a8906&&(_0x395656['label']=getTranslation$i(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED'),_0x395656['icon']=ckeditor5['IconCheck']);}),_0x395656;}['_createDismissButtonView'](){const _0x49d70b=new ckeditor5['ButtonView'](this['locale']);return _0x49d70b['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_DISMISS_CHANGE'),'withText':!0x0}),_0x49d70b['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0xb2484a=>{this['fire']('dismissChange',{'id':this['changeId']}),_0xb2484a['stopPropagation']();})},'attributes':{'class':['ck-ai-button-tertiary',this['bindTemplate']['if']('status','ck-hidden',_0x55cdde=>'pending'!==_0x55cdde&&'rejected'!==_0x55cdde),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-dismiss-button',_0x35bca5=>'pending'===_0x35bca5),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-status-button',_0x245117=>'rejected'===_0x245117)]}}),this['on']('change:status',(_0x3aa73b,_0x2957b8,_0x246b5e)=>{_0x49d70b['isEnabled']='pending'===_0x246b5e,'rejected'===_0x246b5e&&(_0x49d70b['label']=getTranslation$i(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_REJECTED'),_0x49d70b['icon']=ckeditor5['IconCancel']);}),_0x49d70b;}['_createInfoButtonView'](){const _0x969337=new ckeditor5['ButtonView'](this['locale']);return _0x969337['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_LEARN_MORE'),'icon':ckeditor5['IconInfo'],'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox','class':'ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden'}),_0x969337['bind']('isOn')['to'](this,'isInfoToggleOn',_0x4e9026=>_0x4e9026),_0x969337['on']('execute',()=>{this['isInfoToggleOn']=!this['isInfoToggleOn'];}),_0x969337;}['_createOutdatedButtonView'](){const _0x52fb4e=new ckeditor5['ButtonView'](this['locale']);return _0x52fb4e['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_OUTDATED'),'icon':ckeditor5['IconOutdated'],'withText':!0x0,'isEnabled':!0x1}),_0x52fb4e['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-result-status-button',this['bindTemplate']['if']('status','ck-hidden',_0x19d19e=>'outdated'!==_0x19d19e)],'disabled':'disabled'}}),_0x52fb4e;}}class AIReviewCoreBalloonSuggestionItemView extends ckeditor5['BalloonPanelView']{['resultItemView'];['_pinnedRectIndex']=void 0x0;['_pinnedTargetElement']=void 0x0;['_pinnedTargetChangeId']=void 0x0;constructor(_0x60b106,_0x162445){super(_0x60b106),this['set']({'isVisible':!0x1,'position':'arrow_se','class':null,'top':0x0,'left':0x0}),this['extendTemplate']({'tag':'div','attributes':{'class':['ck-reset'],'tabindex':'-1'}}),this['set']('isDiffActive',!0x1),this['content']['add'](this['_createContentView']()),_0x162445['add'](this);}['render'](){super['render'](),this['_setupClickOutsideHandler']();}['updateContent'](_0x69d1e9){this['resultItemView']['changeId']=_0x69d1e9['id'],this['resultItemView']['resultResponseView']['element']['innerHTML']=_0x69d1e9['contentDiffed'];}['showBalloon'](_0x5cc61f,_0x3ac9e2,_0x1f3e92,_0x599d11,_0x59431b,_0x19d34d){const _0x19081b=_0x3ac9e2();if(!_0x19081b)return;this['updateContent'](_0x5cc61f),this['show']();const _0x5f1d5d=Array['from'](_0x19081b['getClientRects']())['reverse'](),_0x519cd6=this['_getPointedRectIndexFromEvent'](_0x1f3e92,_0x5f1d5d),_0xd02f0a=_0x5f1d5d[_0x519cd6??0x0];'click'===_0x599d11?(this['isDiffActive']=!0x0,this['pin']({'target':()=>this['_getBestRectPositionOnClick'](_0x3ac9e2(),_0x519cd6,_0x5cc61f['id'],_0x59431b,_0x19d34d)||_0xd02f0a})):'hover'===_0x599d11&&(this['isDiffActive']=!0x1,this['pin']({'target':()=>this['_getBestRectPositionOnHover'](_0x3ac9e2(),_0x519cd6,_0x5cc61f['id'])||_0xd02f0a}));}['hideBalloon'](){this['hide'](),this['unpin'](),this['_pinnedRectIndex']=void 0x0,this['_pinnedTargetElement']=void 0x0,this['_pinnedTargetChangeId']=void 0x0;}['hideDiffInBalloon'](){this['resultItemView']['showDiff']=!0x1;}['showDiffInBalloon'](){this['resultItemView']['showDiff']=!0x0;}['deactivateChange'](){this['fire']('deactivateChange',{'origin':'balloon'});}['_setupClickOutsideHandler'](){ckeditor5['clickOutsideHandler']({'emitter':this,'activator':()=>this['isVisible'],'contextElements':()=>{const _0x306442=[this['element']];return this['_pinnedTargetElement']&&_0x306442['push'](this['_pinnedTargetElement']),_0x306442;},'callback':()=>{this['hide'](),this['unpin'](),this['deactivateChange'](),this['_pinnedTargetElement']=void 0x0,this['_pinnedRectIndex']=void 0x0,this['_pinnedTargetChangeId']=void 0x0;}});}['_createContentView'](){const _0x127aab=new ckeditor5['View']();return this['resultItemView']=new AIReviewCoreReviewCheckListItemResultsView(this['locale'],''),this['resultItemView']['resultResponseView']['extendTemplate']({'attributes':{'class':['ck-content']}}),this['resultItemView']['delegate']('acceptChange','dismissChange')['to'](this),_0x127aab['setTemplate']({'tag':'div','attributes':{'class':['ck-reset','ck-ai_review-balloon-panel-suggestion',this['bindTemplate']['if']('isDiffActive','ck-ai_review-balloon-panel-suggestion_diff-active')]},'children':[{'tag':'p','attributes':{'class':['ck-ai_review__suggestion-text']},'children':[this['resultItemView']]}]}),_0x127aab;}['_getBestRectPositionOnClick'](_0x22e69e,_0x7d28c5,_0x2201e8,_0x173e9d,_0xda3822){if(!_0x22e69e)return null;const _0x45a8d8=this['position']['replace']('arrow_',''),_0x493f96=Array['from'](_0x22e69e['getClientRects']());let _0x4588ee,_0x5ab667=_0x493f96['reverse']();return void 0x0!==_0x7d28c5&&this['_isPinnedRectVisible'](_0x5ab667[_0x7d28c5],_0x173e9d,_0xda3822)?(_0x4588ee=_0x5ab667[_0x7d28c5],this['_pinnedRectIndex']=_0x7d28c5):this['_isPinnedRectVisible'](_0x5ab667[0x0],_0x173e9d,_0xda3822)&&void 0x0===_0x7d28c5?_0x4588ee=_0x5ab667[0x0]:(_0x5ab667='s'==_0x45a8d8[0x0]?[..._0x493f96]['reverse']():_0x493f96,_0x5ab667['forEach'](_0x17ffd5=>{this['_isPinnedRectVisible'](_0x17ffd5,_0x173e9d,_0xda3822)&&(_0x4588ee=_0x17ffd5);})),this['_pinnedTargetChangeId']=_0x2201e8,this['_pinnedTargetElement']=_0x22e69e,_0x4588ee||_0x22e69e['getBoundingClientRect']();}['_getBestRectPositionOnHover'](_0xc48504,_0xfd7354,_0x506c1c){if(!_0xc48504)return null;const _0x424af2=Array['from'](_0xc48504['getClientRects']())['reverse']();if(void 0x0===this['_pinnedRectIndex']&&void 0x0!==_0xfd7354&&this['_pinnedTargetChangeId']!==_0x506c1c)return this['_pinnedRectIndex']=_0xfd7354,this['_pinnedTargetElement']=_0xc48504,this['_pinnedTargetChangeId']=_0x506c1c,_0x424af2[_0xfd7354];if(void 0x0!==this['_pinnedRectIndex']&&this['_pinnedTargetChangeId']===_0x506c1c){if(_0xc48504!==this['_pinnedTargetElement'])return Array['from'](this['_pinnedTargetElement']['getClientRects']())['reverse']()[this['_pinnedRectIndex']];return _0x424af2[this['_pinnedRectIndex']];}return void 0x0!==_0xfd7354&&this['_pinnedTargetChangeId']!==_0x506c1c?(this['_pinnedRectIndex']=_0xfd7354,this['_pinnedTargetElement']=_0xc48504,this['_pinnedTargetChangeId']=_0x506c1c,_0x424af2[_0xfd7354]):_0xc48504['getBoundingClientRect']();}['_getPointedRectIndexFromEvent'](_0x15d7dd,_0x251660){if(_0x15d7dd)for(let _0x2ddf88=0x0;_0x2ddf88<_0x251660['length'];_0x2ddf88++){const _0x50bf05=_0x251660[_0x2ddf88];if(_0x15d7dd['clientX']>=_0x50bf05['left']-0x3&&_0x15d7dd['clientX']<=_0x50bf05['right']+0x3&&_0x15d7dd['clientY']>=_0x50bf05['top']-0x3&&_0x15d7dd['clientY']<=_0x50bf05['bottom']+0x3)return _0x2ddf88;}}['_isPinnedRectVisible'](_0x248258,_0x351c1f,_0x427417){const _0x5d54ef=new ckeditor5['Rect'](_0x248258),_0x5d39c5=_0x351c1f||document['documentElement'],_0x2676b9=_0x5d54ef['getIntersection'](ckeditor5['getConstrainedViewportRect'](_0x427417)),_0x3d4ac1=new ckeditor5['Rect'](_0x5d39c5)['getIntersection'](_0x5d54ef);return!!(_0x2676b9&&_0x3d4ac1&&_0x5d54ef['width']>0x0);}}const _0x1d2503=['getReviewCheckList','runReviewCheck','abortReviewStream','toggleDiff','acceptAllChanges','leaveReviewCoreResultList','activateChange','deactivateChange','acceptChange','dismissChange','learnMore','finishReview','retryReview'];class _0x27c4b4 extends ckeditor5['ContextPlugin']{['_mainView'];['_balloonSuggestionView'];['_bodyCollection'];static get['requires'](){return[_0x149a9c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xa36875){super(_0xa36875),this['_bodyCollection']=new ckeditor5['BodyCollection'](this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_mainView']=this['createMainView'](),this['_mainView']['delegate'](..._0x1d2503)['to'](this),this['_balloonSuggestionView']=new AIReviewCoreBalloonSuggestionItemView(this['context']['locale'],this['_bodyCollection']),this['_balloonSuggestionView']['delegate']('acceptChange','dismissChange','deactivateChange')['to'](this);}['init'](){const _0x58c723=this['context']['plugins']['get']('AITabs');this['registerTab'](_0x58c723);}['destroy'](){this['_bodyCollection']['detachFromDom'](),super['destroy']();}['setAvailableChecks'](_0x410a9b){if(!this['_mainView']['reviewCheckListView']['hasChecks']()){const _0x2dd74b=!this['context']['config']['get']('ai.models.showModelSelector');this['_mainView']['reviewCheckListView']['setChecks'](_0x410a9b,_0x2dd74b);}this['_mainView']['showReviewCheckListView']();}['showReviewCheckList'](){this['fire']('getReviewCheckList');}['showCheckRunResults'](_0x5dc5d8){_0x5dc5d8&&('error-general'!==_0x5dc5d8['status']?'error-chunk'!==_0x5dc5d8['status']?this['_mainView']['showReviewCheckResultsView']():this['showChunkErrorView']():this['showGeneralResultsErrorView']());}['showCheckRunResult'](_0x1f3cdd){this['_mainView']['addCheckRunResult'](_0x1f3cdd);}['showGeneralResultsErrorView'](){this['_mainView']['showGeneralResultsErrorView']();}['showGeneralReviewCoreErrorView'](_0x370dec){this['_mainView']['showGeneralReviewCoreErrorView'](_0x370dec??getTranslation$i(this['context']['locale'],'AI_REVIEW_INITIALIZATION_ERROR_MESSAGE'));}['showChunkErrorView'](){this['_mainView']['showChunkErrorView']();}['setCheckResultTitle'](_0x1193ad,_0xf0304d){this['_mainView']['reviewCheckResultsView']['setTitle'](_0x1193ad,_0xf0304d);}['setActiveStateInResults'](_0x33cd69){this['_mainView']['reviewCheckResultsView']['getResults']()['forEach'](_0x5f3324=>{_0x5f3324['id']===_0x33cd69&&_0x5f3324['setItemAsActive']();});}['resetActiveStateInResults'](){this['_mainView']['reviewCheckResultsView']['getResults']()['forEach'](_0x5c11da=>_0x5c11da['setItemAsInactive']());}['updateChangeState'](_0x5aa20a,_0x2472ae){'accepted'===_0x2472ae||'rejected'===_0x2472ae||'outdated'===_0x2472ae?this['_mainView']['reviewCheckResultsView']['hideResult'](_0x5aa20a,_0x2472ae):this['_mainView']['reviewCheckResultsView']['showResult'](_0x5aa20a,_0x2472ae);}['showReviewCompletedView'](){this['_mainView']['showReviewCompletedView']();}['showActionsWhenResultIsReady'](){this['_mainView']['showActionsWhenResultIsReady']();}['showNoChangesView'](){this['_mainView']['showNoChangesView']();}['hideActionsWhenResultIsReady'](){this['_mainView']['hideActionsWhenResultIsReady']();}['showChangeBalloon'](_0x290379,_0x2d4923,_0x1fbc2f,_0x4ec73c,_0xc8a021,_0x2dbf5a){this['_balloonSuggestionView']['showBalloon'](_0x290379,_0x2d4923,_0x1fbc2f,_0x4ec73c,_0xc8a021,_0x2dbf5a);}['hideChangeBalloon'](){this['_balloonSuggestionView']['hideBalloon']();}['hideDiffInBalloon'](){this['_balloonSuggestionView']['hideDiffInBalloon']();}['showDiffInBalloon'](){this['_balloonSuggestionView']['showDiffInBalloon']();}['getChangeElement'](_0x22f8a8){const _0x32b0c6=this['_mainView']['reviewCheckResultsView']['getResults']()['find'](_0x96a52b=>_0x96a52b['id']===_0x22f8a8);return _0x32b0c6?_0x32b0c6['element']:null;}['deactivateChange'](){this['_balloonSuggestionView']['deactivateChange']();}}class _0x30c689 extends ckeditor5['View']{constructor(_0x5e611d){super(_0x5e611d),this['set']('isVisible',!0x1),this['set']('errorMessage','');const _0x1c29f1=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai_review__general-error-container',_0x1c29f1['if']('isVisible','ck-hidden',_0x37f325=>!_0x37f325)]},'children':[{'tag':'p','attributes':{'class':'ck\x20ck-ai-notification\x20ck-ai-notification_error'},'children':[{'text':_0x1c29f1['to']('errorMessage')}]}]});}}class _0x18273c extends ckeditor5['View']{['reviewCoreHeader'];['generalErrorView'];['reviewCheckListView'];['reviewCheckResultsView'];['reviewCompletedView'];constructor(_0x4d6545,_0x2f7163){super(_0x4d6545),this['reviewCoreHeader']=_0x2f7163['header'],this['generalErrorView']=new _0x30c689(_0x4d6545),this['reviewCheckListView']=_0x2f7163['list'],this['reviewCheckListView']['delegate'](..._0x1d2503)['to'](this),this['reviewCheckResultsView']=_0x2f7163['results'],this['reviewCheckResultsView']['delegate'](..._0x1d2503)['to'](this),this['reviewCompletedView']=_0x2f7163['completed'],this['reviewCompletedView']['delegate']('finishReview')['to'](this),this['reviewCheckListView']['set']('isVisible',!0x1),this['reviewCheckResultsView']['set']('isVisible',!0x1),this['reviewCheckResultsView']['set']('isLoading',!0x1),this['reviewCheckResultsView']['set']('isResultReady',!0x1),this['reviewCompletedView']['set']('isVisible',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-review','ck-rounded-corners'],'dir':'ltr'},'children':[this['reviewCoreHeader'],this['generalErrorView'],this['reviewCheckListView'],this['reviewCheckResultsView'],this['reviewCompletedView']]});}['showReviewCheckListView'](){this['reviewCheckListView']['resetAllParameterizedChecks'](),this['reviewCheckListView']['set']('isVisible',!0x0),this['reviewCheckResultsView']['set']('isVisible',!0x1),this['reviewCompletedView']['set']('isVisible',!0x1);}['showReviewCheckResultsView'](){this['hideActionsWhenResultIsReady'](),this['reviewCheckResultsView']['resetErrorState'](),this['reviewCheckListView']['set']('isVisible',!0x1),this['reviewCheckResultsView']['set']('isVisible',!0x0),this['reviewCheckResultsView']['clearResults'](),this['reviewCheckResultsView']['set']('isLoading',!0x0),this['reviewCheckResultsView']['set']('isCompleted',!0x1);}['addCheckRunResult'](_0x4be748){this['reviewCheckResultsView']['addResult'](_0x4be748),this['reviewCheckResultsView']['set']('isLoading',!0x1);}['showReviewCompletedView'](){this['reviewCheckResultsView']['set']('isVisible',!0x0),this['reviewCompletedView']['set']('isVisible',!0x1),this['reviewCheckResultsView']['set']('isCompleted',!0x0),this['reviewCheckListView']['set']('isVisible',!0x1);}['showActionsWhenResultIsReady'](){this['reviewCheckResultsView']['isResultReady']?(this['reviewCheckListView']['set']('isVisible',!0x1),this['reviewCheckResultsView']['set']('isVisible',!0x0),this['reviewCompletedView']['set']('isVisible',!0x1)):this['reviewCheckResultsView']['isResultReady']=!0x0;}['showNoChangesView'](){this['reviewCheckListView']['set']('isVisible',!0x1),this['reviewCheckResultsView']['set']('isVisible',!0x1),this['reviewCompletedView']['set']('isVisible',!0x0);}['hideActionsWhenResultIsReady'](){this['reviewCheckResultsView']['isResultReady']=!0x1;}['showGeneralReviewCoreErrorView'](_0x42f8fb){this['generalErrorView']['set']('isVisible',!0x0),this['generalErrorView']['errorMessage']=_0x42f8fb;}['showGeneralResultsErrorView'](){this['reviewCheckResultsView']['set']('isLoading',!0x1),this['showActionsWhenResultIsReady'](),this['reviewCheckResultsView']['showGeneralErrorMessage']();}['showChunkErrorView'](){this['reviewCheckResultsView']['set']('isLoading',!0x1),this['showActionsWhenResultIsReady'](),this['reviewCheckResultsView']['showChunkErrorMessage']();}}class AIReviewCoreFinishReviewButtonView extends ckeditor5['ButtonView']{constructor(_0x31c867,_0x68f5bc){super(_0x68f5bc),this['set']({'label':_0x31c867,'withText':!0x0,'class':'ck-ai-button-primary'}),this['on']('execute',()=>{this['fire']('finishReview');});}}class AIReviewCoreUICheckResultsView extends ckeditor5['ListItemView']{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x39b5c7,_0x429767){super(_0x39b5c7),this['_contents']=_0x429767,this['_resultViews']=new ckeditor5['ViewCollection'](),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](),this['_resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x184be9(_0x39b5c7),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('headerSubtitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general'),this['set']('isCompleted',!0x1);const _0x562a22=this['_createCombinedSkeletonLoader'](),_0x31fc8e=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x31fc8e['if']('isLoading','ck-ai_review__check-run_loading',_0x1fd2bc=>_0x1fd2bc),_0x31fc8e['if']('isResultReady','ck-ai_review__check-run_ready',_0x4b2cdb=>_0x4b2cdb),_0x31fc8e['if']('isVisible','ck-hidden',_0x1e540a=>!_0x1e540a)]},'children':[this['_resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-container','ck-reset_all-excluded',this['bindTemplate']['if']('isLoading','ck-hidden',_0xf25ea3=>_0xf25ea3)]},'children':this['_resultViews']},_0x562a22]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x594cad){const _0xc6d308=new AIReviewCoreReviewCheckListItemResultsView(this['locale'],_0x594cad['id']);_0xc6d308['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0xc6d308),_0xc6d308['resultResponseView']['element']['innerHTML']=_0x594cad['contentDiffed'];}['hideResult'](_0x18cfac,_0x42376b){if('pending'===_0x42376b)return;const _0x1de71c=this['_resultViews']['find'](_0x33743f=>_0x33743f['id']===_0x18cfac);_0x1de71c&&(_0x1de71c['status']=_0x42376b,_0x1de71c['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x22309e,_0x219ace){if('pending'!==_0x219ace)return;const _0x3d4382=this['_resultViews']['find'](_0x219b3f=>_0x219b3f['id']===_0x22309e);_0x3d4382&&(_0x3d4382['status']=_0x219ace,_0x3d4382['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x2b3be1,_0x3469c4){this['headerTitle']=_0x2b3be1,this['headerSubtitle']=_0x3469c4||'';}['showChunkErrorMessage'](){this['errorType']='chunk',this['showErrorMessage']=!0x0;}['showGeneralErrorMessage'](){this['isError']=!0x0,this['errorType']='general',this['showErrorMessage']=!0x0;}['resetErrorState'](){this['isError']=!0x1,this['errorType']='general',this['showErrorMessage']=!0x1;}['_createSkeletonLoader'](){return new AISkeletonView(this['locale'],_0x61aa3f['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x4234b0=new ckeditor5['View'](this['locale']),_0x4f9f32=[];for(let _0x5a2cdc=0x0;_0x5a2cdc<0x10;_0x5a2cdc++){const _0x47c56a=this['_createSkeletonLoader']();_0x47c56a['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x4f9f32['push'](_0x47c56a);}return _0x4234b0['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x3a2a4b=>!_0x3a2a4b)]},'children':_0x4f9f32}),_0x4234b0;}['_createErrorView'](){const _0x1d17cb=new ckeditor5['View'](this['locale']),_0x2b6b74=new ckeditor5['ButtonView'](this['locale']),t=this['locale']['t'];return _0x1d17cb['delegate']('retryReview')['to'](this),_0x2b6b74['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x2b6b74['on']('execute',()=>{this['fire']('retryReview');}),_0x1d17cb['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0xa1532a=>!_0xa1532a),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x30534b=>'chunk'===_0x30534b)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error','ck-ai-notification__full-width','ck-ai_review__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-notification_warning',_0x584f75=>'chunk'===_0x584f75)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0xf18eb0=>'general'!==_0xf18eb0)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x238f92=>'chunk'!==_0x238f92)]},'children':[{'text':getTranslation$i(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x2b6b74]}),_0x1d17cb;}['_createCancelButtonView'](){const _0x59fab9=new ckeditor5['ButtonView'](this['locale']);return _0x59fab9['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':ckeditor5['IconStop']}),_0x59fab9['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1f2021=>_0x1f2021),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x491c12=>_0x491c12)]}}),_0x59fab9['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x59fab9;}['_createToggleDiffButtonView'](){const _0x5aeedd=new ckeditor5['ButtonView'](this['locale']);_0x5aeedd['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x5aeedd['bind']('isEnabled')['to'](this,'isError',_0x385111=>!_0x385111),_0x5aeedd['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x7f5fc3=>!_0x7f5fc3),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x196f02=>_0x196f02)]}});const _0x2c893c=getTranslation$i(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x2655a6=getTranslation$i(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x5aeedd['bind']('isOn')['to'](this,'isToggleDiffOn',_0x29044d=>_0x29044d),_0x5aeedd['bind']('icon')['to'](this,'isToggleDiffOn',_0x2ca161=>_0x2ca161?ckeditor5['IconEye']:ckeditor5['IconEyeCrossedOut']),_0x5aeedd['bind']('label')['to'](this,'isToggleDiffOn',_0x210d20=>_0x210d20?_0x2c893c:_0x2655a6),_0x5aeedd['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x5aeedd;}['_createAcceptAllButtonView'](){const _0x2610e6=new ckeditor5['ButtonView'](this['locale']);return _0x2610e6['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x2610e6['bind']('isEnabled')['to'](this,'isError',_0x201e3a=>!_0x201e3a),_0x2610e6['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x2002f7=>!_0x2002f7),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x359646=>_0x359646)]}}),_0x2610e6['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x2610e6;}['_createExitReviewButtonView'](){const _0x2b948f=new ckeditor5['ButtonView'](this['locale']);return _0x2b948f['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x2b948f['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x13d2e9=>!_0x13d2e9),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x245679=>_0x245679)]}}),_0x2b948f['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x2b948f;}['_createResultHeaderView'](){const _0x326b82=new ckeditor5['View'](this['locale']),_0x3b9170=this['_createTitleView']();return _0x326b82['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x178138=>_0x178138)]},'children':[_0x3b9170,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x326b82;}['_createTitleView'](){const _0x3ec99e=new ckeditor5['View'](this['locale']),_0x130972=new _0x49ba5d();return _0x130972['bind']('isVisible')['to'](this,'isResultReady',_0x59718f=>!_0x59718f),_0x3ec99e['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x130972,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x28194f=>_0x28194f)]},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-subtitle']},'children':[{'text':this['bindTemplate']['to']('headerSubtitle')}]}]},{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x14123f=>!_0x14123f)]},'children':[{'text':getTranslation$i(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x3ec99e;}['_createFinishReviewButtonView'](){const _0x3e0ca2=new AIReviewCoreFinishReviewButtonView(getTranslation$i(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x3e0ca2['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x21047a=>!_0x21047a)]}}),_0x3e0ca2['delegate']('finishReview')['to'](this),_0x3e0ca2;}}class AIReviewCoreReviewCompletedView extends ckeditor5['ListItemView']{['_resultsHeader'];['_finishReviewButtonView'];constructor(_0x2c29ff,_0x2ac69b){super(_0x2c29ff),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](_0x2ac69b['buttonText']),this['_resultsHeader']=this['_createResultHeaderView'](_0x2ac69b['headerText']);const _0x14dcac=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__review-completed',_0x14dcac['if']('isVisible','ck-hidden',_0x4ee8f9=>!_0x4ee8f9)]},'children':[this['_resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai_review__review-completed-content']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-content-icon']},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':['ck-ai_review__review-completed-content-text']},'children':[{'text':_0x2ac69b['emptyResultsText']}]}]}]});}['_createFinishReviewButtonView'](_0x1f176d){const _0x4334fd=new AIReviewCoreFinishReviewButtonView(_0x1f176d,this['locale']);return _0x4334fd['delegate']('finishReview')['to'](this),_0x4334fd;}['_createResultHeaderView'](_0x1780a4){const _0x47cd63=new ckeditor5['View'](this['locale']);return _0x47cd63['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__review-completed-header']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title']},'children':[{'text':_0x1780a4}]},{'tag':'div','attributes':{'class':['ck-ai_review__review-completed-header-buttons']},'children':[this['_finishReviewButtonView']]}]}),_0x47cd63;}}class _0x20edc9 extends ckeditor5['View']{['_dropdownView'];['_defaultValue'];['_defaultLabel'];constructor(_0x58e67e,_0x15363f){super(_0x58e67e),this['_defaultValue']=_0x15363f['default']||(_0x15363f['data']['length']>0x0?_0x15363f['data'][0x0]['id']:''),this['_defaultLabel']=_0x15363f['data']['find'](_0x1d096d=>_0x1d096d['id']===this['_defaultValue'])?.['label']||'',this['set']('formValue',''),this['_dropdownView']=ckeditor5['createDropdown'](this['locale']);const _0x20535f=this['_prepareListOptions'](_0x15363f['data']);ckeditor5['addListToDropdown'](this['_dropdownView'],_0x20535f,{'role':'menu','ariaLabel':_0x15363f['label']}),this['_dropdownView']['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0}),this['_dropdownView']['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x2cdd34=>{_0x2cdd34['stopPropagation']();})}}),this['listenTo'](this['_dropdownView'],'execute',_0x303bf0=>{this['formValue']=_0x303bf0['source']['model']['id'],this['_dropdownView']['buttonView']['label']=_0x303bf0['source']['model']['label'];}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai_review__check-list-item-parameterized-form-element','ck-ai_review__check-list-item-parameterized-form-element_dropdown']},'children':[this['_dropdownView']]});}['resetToDefault'](){this['formValue']=this['_defaultValue'],this['_dropdownView']['buttonView']['label']=this['_defaultLabel'];}['_prepareListOptions'](_0x3991f8=[]){const _0x4acf0d=new ckeditor5['Collection']();this['resetToDefault']();for(const _0x37693d of _0x3991f8){const _0x1a3e57=new ckeditor5['UIModel']({'label':_0x37693d['label'],'withText':!0x0,'role':'menuitemradio','id':_0x37693d['id'],'model':_0x37693d});_0x1a3e57['bind']('isOn')['to'](this,'formValue',_0x4bd8f3=>_0x4bd8f3===_0x1a3e57['id']);const _0x57060b={'type':'button','model':_0x1a3e57};_0x4acf0d['add'](_0x57060b);}return _0x4acf0d;}}class _0x318ac6 extends ckeditor5['ListItemView']{['_formItem']=null;constructor(_0x8fea5f,_0x4af4aa,_0x1674c2){super(_0x8fea5f),this['argsKey']=_0x4af4aa?.['argsKey'];if('dropdown'===_0x4af4aa['formType'])this['_formItem']=new _0x20edc9(this['locale'],_0x4af4aa);this['set']('value',''),this['bind']('value')['to'](this['_formItem'],'formValue');const _0x1405f9=new ckeditor5['FormRowView'](this['locale'],{'children':[this['_formItem']],'class':[_0x1674c2?'ck-form__row_with-submit':'']});_0x1674c2&&_0x1405f9['children']['add'](_0x1674c2),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai_review__form-item','ck-reset_all']},'children':[_0x1405f9]});}['resetToDefault'](){this['_formItem']['resetToDefault']();}}class AIReviewCorePromptInputView extends ckeditor5['TextareaView']{['keystrokes'];static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;constructor(_0x551000){super(_0x551000),this['set']('isEmpty',!0x0),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['minRows']=AIReviewCorePromptInputView['MIN_ROWS'],this['maxRows']=AIReviewCorePromptInputView['MAX_ROWS'],this['extendTemplate']({'attributes':{'id':'ai-review-prompt-input','class':['ck','ck-review__prompt-input']}});}['render'](){super['render'](),this['on']('update',()=>{this['isEmpty']=''===this['element']['value']?.['trim']();}),this['keystrokes']['listenTo'](this['element']);}}class AIReviewCoreCustomCheckView extends ckeditor5['View']{['focusTracker']=new ckeditor5['FocusTracker']();['keystrokes']=new ckeditor5['KeystrokeHandler']();['focusCycler'];['_focusables']=new ckeditor5['ViewCollection']();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x3180a5,_0x12fc6f,_0x23db4d=!0x1){super(_0x3180a5),this['_check']=_0x12fc6f,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x12fc6f['defaultModel']?_0x12fc6f['defaultModel']['id']:'',this['_defaultLabel']=_0x12fc6f['defaultModel']?_0x12fc6f['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new ckeditor5['LabeledFieldView'](this['locale'],()=>new AIReviewCorePromptInputView(_0x3180a5)),this['promptInputView']['fieldView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['fieldView']['on']('input',()=>{this['prompt']=this['promptInputView']['fieldView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new ckeditor5['Collection'](),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x23db4d),ckeditor5['addListToDropdown'](this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new ckeditor5['FormRowView'](this['locale'],{'children':[this['promptInputView']]}),new ckeditor5['FormRowView'](this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x1fe3a5,_0x4dcc84)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x4dcc84()):_0x4dcc84();}),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}));}['render'](){super['render'](),([this['promptInputView'],this['_modelSelectionDropdown'],this['cancelButtonView'],this['submitButtonView']]['forEach'](_0x65dd90=>{this['_focusables']['add'](_0x65dd90),this['focusTracker']['add'](_0x65dd90['element']);}),this['keystrokes']['listenTo'](this['element']));}get['modelDefaultValue'](){return this['_defaultValue'];}get['modelDefaultLabel'](){return this['_defaultLabel'];}['resetToDefault'](){this['prompt']='',this['modelId']=this['modelDefaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['modelDefaultLabel'],this['resetFormValidationStatus']();}['resetFormValidationStatus'](){this['promptInputView']['errorText']='';}['_isValid'](){this['resetFormValidationStatus']();for(const _0x1765a5 of this['_getFormValidators']()){const _0x417cf2=_0x1765a5();if(_0x417cf2)return this['promptInputView']['errorText']=_0x417cf2,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return getTranslation$i(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x39d63c=new ckeditor5['ButtonView'](this['locale']),t=this['locale']['t'];return _0x39d63c['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x39d63c['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x39d63c;}['_createCancelButtonView'](){const _0x1a16d0=new ckeditor5['ButtonView'](this['locale']),t=this['locale']['t'];return _0x1a16d0['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x1a16d0['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x53de14=>{_0x53de14['stopPropagation']();})}}),_0x1a16d0['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x1a16d0;}['_setModelList'](_0x42a074){this['_modelSelectionDropdownItems']['clear']();const _0x1d8594=this['_check']['models'];if(_0x42a074)this['set']('modelDisplayMode','hidden');else{const _0x1382e7=0x1===_0x1d8594['length'];this['set']('modelDisplayMode',_0x1382e7?'name':'selector');}if(this['resetToDefault'](),_0x1d8594?.['length']){0x1===_0x1d8594['length']&&this['set']('activeModelName',_0x1d8594[0x0]['name']||_0x1d8594[0x0]['id']);for(const _0x44f124 of _0x1d8594){const _0x4ac5a6=new ckeditor5['UIModel']({'label':_0x44f124['name'],'withText':!0x0,'role':'menuitemradio','id':_0x44f124['id'],'model':_0x44f124});_0x4ac5a6['bind']('isOn')['to'](this,'modelId',_0x347ab7=>_0x347ab7===_0x44f124['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x4ac5a6,'labelView':new ModelButtonLabelView(this['locale'],_0x44f124)});}}}['_createModelSelectionDropdown'](){const _0x41e988=ckeditor5['createDropdown'](this['locale']);return _0x41e988['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x41e988['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x41e988['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x50d5a4=>'selector'===_0x50d5a4),this['listenTo'](_0x41e988,'execute',_0x1bc474=>{this['modelId']=_0x1bc474['source']['model']['id'],_0x41e988['buttonView']['label']=_0x1bc474['source']['label'];}),_0x41e988;}['_createModelNameView'](){const _0x552ee9=new _0x41e5b5(this['locale']);return _0x552ee9['bind']('text')['to'](this,'activeModelName',_0x3ddf53=>_0x3ddf53??''),_0x552ee9['bind']('isVisible')['to'](this,'modelDisplayMode',_0xaf39f9=>'name'===_0xaf39f9),_0x552ee9;}['_createActionsFooterView'](){const _0x142d7a=new ckeditor5['View'](this['locale']);return _0x142d7a['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],this['_modelNameView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),_0x142d7a;}}class _0x41e5b5 extends ckeditor5['View']{constructor(_0x43ff8d){super(_0x43ff8d),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x194268=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x194268['if']('isVisible','ck-hidden',_0x4c53b4=>!_0x4c53b4)]},'children':[{'text':_0x194268['to']('text')}]});}}class ModelButtonLabelView extends ckeditor5['ButtonLabelView']{constructor(_0x28a15c,_0x5b999d){super();const _0x2546c2=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x2546c2['to']('style'),'id':_0x2546c2['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x2546c2['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x5b999d['description']||'']}]}]});}}class AIReviewCoreReviewCommandListItemView extends ckeditor5['ListItemView']{['_formItemsCollection']=new ckeditor5['ViewCollection']();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x12ddae,_0x26a299,_0x1a248e,_0x3d690e=!0x1){super(_0x12ddae),this['_hideModels']=_0x3d690e,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x26a299['isParameterized']);const _0x27fb1e=this['_createIconView']();this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item',this['bindTemplate']['if']('isParametrizedViewOpen','ck-ai_review__check-list-item_selected',_0x529c6b=>_0x529c6b),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x704d9e=>_0x704d9e)],'style':{'--ck-ai-review-check-list-item-index':_0x1a248e}},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-title']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-list-item-title-text']},'children':[{'text':_0x26a299['title']}]},_0x27fb1e]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x26a299['description']?[{'text':_0x26a299['description']}]:[]}]}]},..._0x26a299['isParameterized']?[this['_createParameterizedView'](_0x26a299)]:[],...'custom'===_0x26a299['id']?[this['_createCustomView'](_0x26a299,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x26a299['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x26a299['id'],'args':_0x26a299['useArgs']?_0x26a299['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&ckeditor5['clickOutsideHandler']({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x4b4961=>{_0x4b4961['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x20bc08=new ckeditor5['IconView']();return _0x20bc08['content']=ckeditor5['IconChevronRight'],_0x20bc08['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x20bc08;}['_createParameterizedView'](_0x545bf0){const _0x1dd438=new ckeditor5['View'](),_0x4d0e3b=this['_createFormView'](_0x545bf0);return _0x1dd438['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x2f5173=>!_0x2f5173)]},'children':[_0x4d0e3b]}),_0x1dd438;}['_createFormView'](_0x1a34cc){const _0x368656=new ckeditor5['View'](),_0x32c2fb=Array['isArray'](_0x1a34cc['options'])?_0x1a34cc['options']:[],_0xf4ea5f=new ckeditor5['ButtonView'](this['locale']),t=this['locale']['t'];_0xf4ea5f['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0xf4ea5f['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x167622=>{_0x167622['stopPropagation']();})}}),_0xf4ea5f['on']('execute',()=>{const _0x44193d=[],_0x5df885={};this['_formItemsCollection']['forEach'](_0x1c8576=>{_0x44193d['push'](_0x1c8576['value']),_0x1a34cc['useArgs']&&_0x1a34cc['options']&&(_0x5df885[_0x1c8576['argsKey']]=_0x1c8576['value']);}),this['fire']('runReviewCheck',{'id':_0x1a34cc['id'],'params':_0x44193d['length']?_0x44193d:void 0x0,'args':Object['keys'](_0x5df885)['length']?_0x5df885:void 0x0});});const _0x163be1=_0x32c2fb['length'];return _0x32c2fb['forEach']((_0x175c38,_0x16035c)=>{const _0x9b23bc=_0x16035c===_0x163be1-0x1;this['_formItemsCollection']['add'](new _0x318ac6(this['locale'],_0x175c38,_0x9b23bc?_0xf4ea5f:null));}),_0x368656['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x368656;}['_createCustomView'](_0x39cf86,_0x263d46=!0x1){return this['_customCheckView']=new AIReviewCoreCustomCheckView(this['locale'],_0x39cf86,_0x263d46),this['_customCheckView']['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-parameterized','ck-ai_review__check-list-item-parameterized_custom',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x2f0048=>!_0x2f0048)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x5f07cb,_0x559c1b,_0x560232)=>{_0x560232||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}class AIReviewCoreReviewCheckListView extends ckeditor5['ListItemView']{['_checkViews'];constructor(_0x2c5ed4){super(_0x2c5ed4),this['_checkViews']=new ckeditor5['ViewCollection'](),this['_setupTemplate']();}['setChecks'](_0x5d94e8,_0x222ca3=!0x1){this['_checkViews']['clear']();for(const [_0xd9de2b,_0xd61c70]of _0x5d94e8['entries']()){const _0x54e05a=new AIReviewCoreReviewCommandListItemView(this['locale'],_0xd61c70,_0xd9de2b,_0x222ca3);_0x54e05a['delegate']('runReviewCheck')['to'](this),this['_checkViews']['add'](_0x54e05a);}}['hasChecks'](){return this['_checkViews']['length']>0x0;}['resetAllParameterizedChecks'](){for(const _0x476a8d of this['_checkViews'])_0x476a8d instanceof AIReviewCoreReviewCommandListItemView&&_0x476a8d['resetToDefault']();}['_setupTemplate'](){const _0xd33e34=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list',_0xd33e34['if']('isVisible','ck-hidden',_0x410989=>!_0x410989)]},'children':this['_checkViews']});}}class _0x4b4c47 extends _0x27c4b4{static get['pluginName'](){return'AIReviewModeUI';}['createMainView'](){const _0x3226ee=this['context']['locale'],_0x1772d2=new ckeditor5['FormHeaderView'](_0x3226ee,{'label':getTranslation$i(_0x3226ee,'AI_REVIEW_MODE'),'icon':ckeditor5['IconAIReview'],'class':'ck-ai-header\x20ck-ai-header_review'});return new _0x18273c(this['context']['locale'],{'header':_0x1772d2,'list':new AIReviewCoreReviewCheckListView(_0x3226ee),'results':new AIReviewCoreUICheckResultsView(_0x3226ee,{'generalErrorText':getTranslation$i(_0x3226ee,'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}),'completed':new AIReviewCoreReviewCompletedView(_0x3226ee,{'headerText':getTranslation$i(_0x3226ee,'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE'),'emptyResultsText':getTranslation$i(_0x3226ee,'AI_REVIEW_MODE_EMPTY_RESULTS_TEXT'),'buttonText':getTranslation$i(_0x3226ee,'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL')})});}['registerTab'](){const _0x4f27bf=this['context']['plugins']['get']('AITabs');_0x4f27bf['view']['on']('activateTab',(_0x5f31e5,_0xc72576)=>{'reviewMode'===_0xc72576?this['fire']('getReviewCheckList'):this['fire']('leaveReview');}),_0x4f27bf['view']['addTab']({'id':'reviewMode','buttonLabel':getTranslation$i(this['context']['locale'],'AI_REVIEW_MODE'),'buttonIcon':ckeditor5['IconAIReview'],'order':0x0,'content':this['_mainView']});}}const _0x2ac963='review-',_0x421d6f=0x6;class AIReviewCoreEditing extends ckeditor5['ContextPlugin']{static get['requires'](){return[DocumentCompare,AIEditing];}static get['pluginName'](){return'AIReviewCoreEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_markers']=new Map();['_activeMarkers']=new Set();['_domEmitter'];['_eventEmitter'];constructor(_0xc676c7){super(_0xc676c7),this['_domEmitter']=new(ckeditor5['DomEmitterMixin']())(),this['_eventEmitter']=new(ckeditor5['EmitterMixin']())();}get['emitter'](){return this['_eventEmitter'];}['afterInit'](){const _0x22f7aa=getEditorFromContext(this['context']);_0x22f7aa['conversion']['for']('editingDowncast')['markerToElement']({'model':_0x2ac963+'insert','view':(_0x5ddac4,{writer:_0x221af9})=>{const _0xfd98fc=this['_markers']['get'](_0x5ddac4['markerName']),_0x13906a={'class':'ck-ai_review-marker_add'+(this['_activeMarkers']['has'](_0xfd98fc?.['id']||'')?'\x20ck-ai_review__change_active':''),'data-marker-id':_0x5ddac4['markerName']};return _0x221af9['createUIElement']('span',_0x13906a,function(_0x1ef026){const _0x5d1f53=this['toDomElement'](_0x1ef026);return _0x5d1f53['innerHTML']=_0xfd98fc?.['content']?.['asString']||'',_0x5d1f53;});}}),_0x22f7aa['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x2ac963+'remove-only','view':_0x3d969a=>{const _0x393b30=this['_markers']['get'](_0x3d969a['markerName']),_0x1b7f21=['ck-ai_review-marker_strikethrough'];return this['_activeMarkers']['has'](_0x393b30?.['id']||'')&&_0x1b7f21['push']('ck-ai_review__change_active'),{'classes':_0x1b7f21,'attributes':{'data-marker-id':_0x3d969a['markerName']}};}}),_0x22f7aa['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x2ac963+'remove-context','view':_0x4155df=>{const _0xe28d66=this['_markers']['get'](_0x4155df['markerName']),_0x4f5ee4=['ck-ai_review-marker_underline'];return this['_activeMarkers']['has'](_0xe28d66?.['id']||'')&&_0x4f5ee4['push']('ck-ai_review__change_active'),{'classes':_0x4f5ee4,'attributes':{'data-marker-id':_0x4155df['markerName']}};}}),_0x22f7aa['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x2ac963+'remove-text','view':_0xc3adcb=>{const _0x5efc72=this['_markers']['get'](_0xc3adcb['markerName']),_0x566749=['ck-ai_review-marker_hide'];return this['_activeMarkers']['has'](_0x5efc72?.['id']||'')&&_0x566749['push']('ck-ai_review__change_active'),{'classes':_0x566749,'attributes':{'data-marker-id':_0xc3adcb['markerName']}};}}),_0x22f7aa['conversion']['for']('dataDowncast')['markerToElement']({'model':_0x2ac963+'suggestion-context','view':(_0x40aad0,{writer:_0x284c37})=>_0x284c37['createRawElement']('span',{'class':'ck-ai_review-marker_context-'+(_0x40aad0['isOpening']?'start':'end')})}),_0x22f7aa['conversion']['for']('downcast')['attributeToAttribute']({'model':_0x15f9cf,'view':_0x4a42a6});const _0x3a81fd=_0x22f7aa['ui']['getEditableElement']()||document['body'];this['_domEmitter']['listenTo'](_0x3a81fd,'mouseup',(_0x432a76,_0x2def6e)=>{const _0x4a92a4=_0x2def6e['target'],_0x623781=this['_findMarkerElement'](_0x4a92a4);if(!_0x623781)return;const _0x24f696=_0x623781['getAttribute']('data-marker-id'),_0x174676=_0x24f696['split'](':')['pop']()?.['split']('_')[0x0];this['_eventEmitter']['fire']('changeMarkerClicked',{'markerId':_0x24f696,'changeId':_0x174676,'markerElement':()=>this['_findMarkerElementById'](_0x24f696),'domEvent':_0x2def6e});},{'usePassive':!0x0,'priority':'highest'}),this['_domEmitter']['listenTo'](_0x3a81fd,'mouseover',(_0x34d5e4,_0x26bf8f)=>{const _0x308d91=_0x26bf8f['target'],_0x5866a3=_0x26bf8f['relatedTarget'];let _0x3bce58=this['_findMarkerElement'](_0x308d91);if(!_0x3bce58&&_0x5866a3&&(_0x3bce58=this['_findMarkerElement'](_0x5866a3)),!_0x3bce58)return;const _0x5e1eae=_0x3bce58['getAttribute']('data-marker-id'),_0x2cb91a=_0x5e1eae['split'](':')['pop']()?.['split']('_')[0x0];this['_eventEmitter']['fire']('changeMarkerHovered',{'changeId':_0x2cb91a,'markerElement':()=>this['_findMarkerElementById'](_0x5e1eae),'domEvent':_0x26bf8f});}),this['_domEmitter']['listenTo'](document,'mouseover',_0x3a37b9((_0x52bbc3,_0x4b3df8)=>{const _0x1fc448=_0x4b3df8['target'];if(this['_findMarkerElement'](_0x1fc448))return;_0x1fc448['closest']('.ck-reset.ck-ai_review-balloon-panel-suggestion')||this['_eventEmitter']['fire']('changeMarkerBlurred');},0xc8)),_0x22f7aa['model']['document']['registerPostFixer'](_0x5f9c66=>this['_validateMarkers'](_0x22f7aa,_0x5f9c66)),_0x22f7aa['model']['document']['on']('change',()=>this['_handleMarkerChanges'](_0x22f7aa));}['getDocumentData'](){const _0x3b8a00=this['context']['plugins']['get']('AIEditing'),_0x138763=getEditorFromContext(this['context']),_0x47054b=_0x138763['model'],_0x518b1c=new ckeditor5['ModelDocumentFragment']();for(const _0x5b4962 of _0x47054b['document']['getRoot']()['getChildren']()){const _0x23d4dd=_0x5b4962['_clone'](!0x0);_0x518b1c['_appendChild'](_0x23d4dd);}for(const _0x1588ac of _0x47054b['markers'])_0x518b1c['markers']['set'](_0x1588ac['name'],this['_changeRangeOwnerDocument'](_0x1588ac['getRange']()['clone'](),_0x518b1c));const _0x2af444=new ckeditor5['ModelTreeWalker']({'ignoreElementEnd':!0x0,'startPosition':_0x47054b['createPositionAt'](_0x518b1c,0x0)}),_0x4fe420=new Set(),_0x5f9446=new Map();for(const {item:_0x54487a}of _0x2af444){if(!_0x54487a['is']('$textProxy'))continue;const _0x389589=_0x54487a['parent'];if(_0x389589&&_0x389589['is']('element')){const _0x425cda=this['_upsertDataId'](_0x389589,()=>_0x3b8a00['_nextDataId'](_0x4fe420));_0x4fe420['add'](_0x425cda);for(const _0xd1ed5d of _0x389589['getChildren']())_0xd1ed5d['is']('element')&&_0x4fe420['add'](this['_upsertDataId'](_0xd1ed5d,()=>_0x3b8a00['_nextDataId'](_0x4fe420)));let _0x1360d3=_0x389589;for(;_0x1360d3['parent']&&!_0x1360d3['parent']['is']('documentFragment');)_0x1360d3=_0x1360d3['parent'],_0x1360d3['hasAttribute'](_0x15f9cf)&&_0x1360d3['_removeAttribute'](_0x15f9cf);_0x5f9446['set'](_0x425cda,{'path':_0x389589['getPath'](),'getContent':this['_createGetContentUsingDataIdFn'](_0x1360d3['_clone'](!0x0),_0x425cda,_0x138763['data'])}),_0x2af444['jumpTo'](_0x47054b['createPositionAfter'](_0x389589));}}return{'content':_0x138763['data']['processor']['toData'](_0x138763['data']['toView'](_0x518b1c)),'version':_0x138763['model']['document']['version'],'elements':_0x5f9446};}['diffContent'](_0x3d2b48,_0x261f32,_0x219208=!0x1){const _0x1eb971=[],_0x17714c=getEditorFromContext(this['context']),_0x54549a=_0x17714c['data']['parse'](_0x261f32,'$documentFragment'),_0x29d71b=_0x17714c['data']['parse'](_0x3d2b48,'$documentFragment'),_0x2b3be7=_0x17714c['model']['createPositionAt'](_0x29d71b,0x0);if(this['_haveSingleTopLevelElement'](_0x54549a)){if(!this['_hasSameTopLevelElement'](_0x29d71b,_0x54549a))return _0x1eb971;}else{const _0x18d19e=_0x17714c['model']['schema'];if(!this['_haveOnlyInlineContent'](_0x29d71b,_0x18d19e)||!this['_haveOnlyInlineContent'](_0x54549a,_0x18d19e))return _0x1eb971;}const _0x553c30=this['context']['plugins']['get']('DocumentCompare')['getDiff'](_0x3d2b48,_0x261f32,{'anchor':_0x2b3be7,'markDeletions':!0x0})['getOperations']()['filter'](_0x4b354f=>'insert'===_0x4b354f['type']||'marker'===_0x4b354f['type']&&_0x4b354f['name']['startsWith']('$markedRemove')),_0x436d8a=this['_groupAdjacentOperations'](_0x553c30),_0x533d7e=[];if(_0x219208){if(_0x436d8a['length']){const _0x581e03=_0x436d8a[0x0]['operations'][0x0],_0x4b1972='insert'===_0x581e03['type']?_0x581e03['position']:_0x581e03['newRange']['start'],_0xdf5e1c=this['_getPositionLimitingRange'](_0x4b1972,_0x17714c,'inside'),_0x4517d7=_0xdf5e1c?_0x54549a['getChild'](0x0)['getChildren']():_0x54549a['getChildren'](),_0x388547=_0xdf5e1c||_0x17714c['model']['createRangeIn'](_0x29d71b),_0x509035=[new ckeditor5['MarkerOperation']('$markedRemove:synthetic'+ckeditor5['uid'](),null,_0x388547,_0x17714c['model']['document']['model']['markers'],!0x0,_0x17714c['model']['document']['version']+0x1),new ckeditor5['InsertOperation'](_0x388547['end'],_0x4517d7,_0x17714c['model']['document']['version']+0x2)];_0x533d7e['push']({'operations':_0x509035,'operationsIsolated':_0x509035,'groupOffset':0x0});}}else _0x533d7e['push'](..._0x436d8a);let _0x45529d=0x0;return _0x17714c['model']['change'](_0x5b5260=>{for(let _0x298dd9=0x0;_0x298dd9<_0x533d7e['length'];_0x298dd9++){const _0x30fa7f=_0x533d7e[_0x298dd9],_0x296847=_0x5b5260['createDocumentFragment']();for(const _0x1dd164 of _0x29d71b['getChildren']())_0x5b5260['append'](_0x1dd164['_clone'](!0x0),_0x296847);for(const _0x141fe1 of _0x30fa7f['operationsIsolated'])if('insert'===_0x141fe1['type']){const _0x2768a7=_0x141fe1;_0x2768a7['baseVersion']=null,_0x2768a7['isDocumentOperation']=!0x1,this['_changeOperationOwnerDocument'](_0x2768a7,_0x296847),_0x5b5260['batch']['addOperation'](_0x141fe1),_0x17714c['model']['applyOperation'](_0x141fe1);const _0x306769='suggestion:insertion:id:authorId:'+_0x45529d++,_0x2f118d=_0x17714c['model']['createRange'](_0x2768a7['position'],_0x2768a7['position']['getShiftedBy'](_0x2768a7['howMany']));_0x296847['markers']['set'](_0x306769,_0x2f118d);}else{if('marker'===_0x141fe1['type']&&_0x141fe1['name']['startsWith']('$markedRemove')){const _0x5b97aa=_0x141fe1,_0x42bc73='suggestion:deletion:id:authorId:'+_0x45529d++;this['_changeOperationOwnerDocument'](_0x5b97aa,_0x296847),_0x296847['markers']['set'](_0x42bc73,_0x5b97aa['newRange']);}}if(_0x219208)_0x1eb971['push']({..._0x30fa7f,'context':this['_createGetContentFn'](_0x29d71b,_0x17714c['data']),'content':this['_createGetContentFn'](_0x29d71b,_0x17714c['data'])});else{const _0x4fe4ce=this['_getChangeContext'](this['_changePositionOwnerDocument'](this['_getOperationStart'](_0x30fa7f['operationsIsolated'][0x0]),_0x296847),this['_changePositionOwnerDocument'](this['_getOperationEnd'](_0x30fa7f['operationsIsolated'][_0x30fa7f['operationsIsolated']['length']-0x1]),_0x296847));_0x296847['markers']['set'](_0x2ac963+'suggestion-context',new ckeditor5['ModelRange'](_0x4fe4ce['start'],_0x4fe4ce['end'])),_0x1eb971['push']({..._0x30fa7f,'context':this['_createGetContextFn'](_0x296847,_0x17714c['data'],{'ellipsisBefore':_0x4fe4ce['hasContentBefore'],'ellipsisAfter':_0x4fe4ce['hasContentAfter']}),'content':this['_createGetContentFn'](_0x296847,_0x17714c['data'])});}}}),_0x1eb971;}['markChangePositionInEditorContent'](_0x1cd711,_0x4b4f64){if(!_0x1cd711['length'])return;const _0x1b93ec=_0x1cd711[0x0]['parent']['id'],_0x393406=_0x4b4f64['elements']['get'](_0x1b93ec);if(!_0x393406)return void console['warn']('No\x20element\x20found\x20for\x20ID:\x20'+_0x1b93ec);const _0x5d7b9c=_0x393406['path'],_0x1611ce=getEditorFromContext(this['context']),_0x44638d=_0x1611ce['model']['document']['history']['getOperations'](_0x4b4f64['version']),_0x2ebd62=[];for(const _0x4d2f78 of _0x1cd711){const _0x5023c9=_0x4d2f78['operationsIsolated']['map'](_0x155213=>this['_translateOperationToEditorContent'](_0x155213,_0x5d7b9c,_0x1611ce['model']['document']['getRoots']()[0x0]));if(!_0x5023c9||!_0x5023c9['length'])continue;const _0x7e3c5e=_0x5023c9['every'](_0x109210=>'marker'===_0x109210['type']&&_0x109210['name']['startsWith']('$markedRemove')),_0x74b8ed={'document':_0x1611ce['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1},_0x5ea9d=ckeditor5['transformOperationSets'](_0x5023c9,_0x44638d,_0x74b8ed)['operationsA'];for(const _0x25ca19 of _0x5ea9d)if('insert'===_0x25ca19['type']){const _0x419d18=_0x25ca19,_0xafd68=_0x419d18['nodes'];_0x1611ce['model']['change'](_0x1c47b2=>{const _0x33317e=_0x1c47b2['createDocumentFragment']();for(const _0x5781e9 of _0xafd68)_0x1c47b2['append'](_0x5781e9['_clone'](!0x0),_0x33317e);_0x2ebd62['push']({'start':_0x419d18['position'],'end':_0x419d18['position'],'type':'insert','groupId':_0x4d2f78['id'],'content':{'asString':this['_createGetContentFn'](_0x33317e,_0x1611ce['data'])(),'asFragment':_0x33317e}});});}else{if('marker'===_0x25ca19['type']&&_0x25ca19['name']['startsWith']('$markedRemove')){const _0x3581a7=_0x25ca19;let _0x1988b9='remove-text';if(_0x7e3c5e){const _0x29d0e5=this['_findAdjacentContextDistance'](_0x3581a7['newRange']['start'],'backward',_0x1611ce['model']['schema']),_0x16e9f1=this['_findAdjacentContextDistance'](_0x3581a7['newRange']['end'],'forward',_0x1611ce['model']['schema']);if(_0x29d0e5||_0x16e9f1){const _0x476f64=_0x3581a7['newRange']['start']['getShiftedBy'](-_0x29d0e5),_0x1a4c7f=_0x3581a7['newRange']['end']['getShiftedBy'](_0x16e9f1);_0x2ebd62['push']({'start':_0x476f64,'end':_0x1a4c7f,'groupId':_0x4d2f78['id'],'type':'remove-context'});}else _0x1988b9='remove-only';}_0x2ebd62['push']({'start':_0x3581a7['newRange']['start'],'end':_0x3581a7['newRange']['end'],'groupId':_0x4d2f78['id'],'type':_0x1988b9});}}}this['_insertMarkers'](_0x2ebd62);}['clearAllMarkers'](){const _0x353db9=getEditorFromContext(this['context']);_0x353db9['model']['change'](_0x4d1205=>{for(const _0x41a4f1 of this['_markers']['keys']())_0x353db9['model']['markers']['get'](_0x41a4f1)&&_0x4d1205['removeMarker'](_0x41a4f1);}),this['_markers']['clear'](),this['_activeMarkers']['clear']();}['switchToReadOnly'](){getEditorFromContext(this['context'])['enableReadOnlyMode']('ai-review');}['switchToEdit'](){getEditorFromContext(this['context'])['disableReadOnlyMode']('ai-review');}['applyChange'](_0x3f103e){const _0x268039=getEditorFromContext(this['context']),_0xcedad0=_0x268039['model'],_0xa31323=_0x3f103e['map'](_0x5dfa29=>this['_getMarkersDataForGroup'](_0x5dfa29))['flat']();_0xcedad0['change'](_0x4a1021=>{for(const _0x2fbef9 of _0xa31323){const _0x3e0cc9=_0x268039['model']['markers']['get'](_0x2fbef9['id']);if(_0x3e0cc9){if('insert'===_0x2fbef9['type']){if(!_0x2fbef9['content'])continue;_0xcedad0['insertContent'](_0x2fbef9['content']['asFragment']||null,_0x3e0cc9['getRange']()['start']);}else'remove-text'!==_0x2fbef9['type']&&'remove-only'!==_0x2fbef9['type']||_0xcedad0['deleteContent'](_0xcedad0['createSelection'](_0x3e0cc9['getRange']()));_0x4a1021['removeMarker'](_0x2fbef9['id']),this['_markers']['delete'](_0x2fbef9['id']);}}});}['rejectChange'](_0x48cf15){const _0x39ffb9=getEditorFromContext(this['context']),_0x526b0b=this['_getMarkersDataForGroup'](_0x48cf15);_0x39ffb9['model']['change'](_0x153bb1=>{for(const _0x187587 of _0x526b0b)_0x153bb1['removeMarker'](_0x187587['id']),this['_markers']['delete'](_0x187587['id']);});}['getEditor'](){return getEditorFromContext(this['context']);}['getMarkerElementForChange'](_0x4c7af3){const _0x103ffb=Array['from'](this['_markers']['values']())['filter'](_0x55921a=>_0x55921a['groupId']===_0x4c7af3);if(!_0x103ffb['length'])return null;const _0x157f5e=0x1===_0x103ffb['length']?_0x103ffb[0x0]:this['_sortMarkers'](_0x103ffb)[0x0],_0x473ff1=getEditorFromContext(this['context'])['model']['markers']['get'](_0x157f5e['id']);if(!_0x473ff1)return null;return{'modelRange':_0x473ff1['getRange'](),'getElement':()=>this['_findMarkerElementById'](_0x157f5e['id'])};}['getContentElementForChange'](_0x361b61){const _0x7ca122=Array['from'](this['_markers']['values']())['filter'](_0x6eea0e=>_0x6eea0e['groupId']===_0x361b61);if(!_0x7ca122['length'])return null;const _0x5e1144=0x1===_0x7ca122['length']?_0x7ca122[0x0]:this['_sortMarkers'](_0x7ca122)[0x0],_0x179e2b=getEditorFromContext(this['context']),_0x2b0d8a=_0x179e2b['model']['markers']['get'](_0x5e1144['id']);if(!_0x2b0d8a)return null;const _0x525dd7=_0x2b0d8a['getRange'](),_0x28f5dd=_0x179e2b['editing']['view']['getDomRoot']();if(!_0x28f5dd||!_0x525dd7)return null;let _0x45e508=_0x525dd7['start']['parent'];for(;_0x45e508['parent']&&'$root'!==_0x45e508['parent']['name'];)_0x45e508=_0x45e508['parent'];if(!_0x45e508||!_0x45e508['name'])return null;const _0x2f6562=_0x28f5dd['querySelector']('[data-marker-id=\x22'+_0x5e1144['id']+'\x22]');if(!_0x2f6562)return null;let _0x21a692=null;_0x179e2b['model']['change'](_0x24989d=>{_0x21a692=_0x24989d['createDocumentFragment'](),_0x24989d['append'](_0x45e508['_clone'](!0x0),_0x21a692);});const _0xe06687=_0x179e2b['data']['toView'](_0x21a692)['getChild'](0x0);return _0x2f6562['closest'](_0xe06687['name']);}['reactivateMarkers'](_0x49ba5f){const _0x5d7409=this['_getMarkersDataForGroup'](_0x49ba5f);if(!_0x5d7409['length'])return;const _0x977c7b=Array['from'](this['_activeMarkers'])['sort'](),_0x383fa2=Array['from'](new Set(_0x5d7409['map'](_0x2c2077=>_0x2c2077['id'])))['sort']();_0x977c7b['join']('|')!==_0x383fa2['join']('|')&&(this['setAllMarkersAsInactive'](),this['setMarkersInElementAsActive'](_0x49ba5f));}['setMarkersInElementAsActive'](_0x41879e){const _0x291292=this['_getMarkersDataForGroup'](_0x41879e);if(!_0x291292['length'])return;const _0x59dcb5=getEditorFromContext(this['context']),_0x34c1c9=new Set(_0x291292['map'](_0x4d3ddc=>_0x4d3ddc['id'])),_0x3592d5=Array['from'](_0x34c1c9['values']())['map'](_0x29ba40=>_0x59dcb5['model']['markers']['get'](_0x29ba40))['filter'](_0x4fbd02=>!!_0x4fbd02);_0x34c1c9['forEach'](_0x356844=>{this['_activeMarkers']['add'](_0x356844);}),_0x59dcb5['model']['change'](()=>{_0x3592d5['forEach'](_0x519065=>{_0x59dcb5['editing']['reconvertMarker'](_0x519065);});});}['setAllMarkersAsInactive'](){const _0xeab1e0=Array['from'](this['_activeMarkers']);if(!_0xeab1e0['length'])return;this['_activeMarkers']['clear']();const _0x48f4d4=getEditorFromContext(this['context']),_0x52c864=_0xeab1e0['map'](_0xccc202=>_0x48f4d4['model']['markers']['get'](_0xccc202))['filter'](_0x5400b3=>!!_0x5400b3);_0x48f4d4['model']['change'](()=>{_0x52c864['forEach'](_0x39108e=>{_0x48f4d4['editing']['reconvertMarker'](_0x39108e);});});}['_getPositionLimitingRange'](_0x1df46a,_0x37ecc7,_0x423f9f='outside'){if(!_0x1df46a)return null;let _0x29bae1=_0x1df46a['parent'];for(;_0x29bae1&&_0x29bae1['parent']&&'$root'!==_0x29bae1['parent']['name']&&!_0x37ecc7['model']['schema']['isLimit'](_0x29bae1)&&!_0x37ecc7['model']['schema']['isBlock'](_0x29bae1);)_0x29bae1=_0x29bae1['parent'];if(!_0x29bae1||!_0x29bae1['name']||'$root'===_0x29bae1['name'])return null;let _0xfddbba=null;return _0x37ecc7['model']['change'](_0x3a5480=>{_0xfddbba='inside'===_0x423f9f?_0x3a5480['createRangeIn'](_0x29bae1):_0x3a5480['createRangeOn'](_0x29bae1);}),_0xfddbba;}['_validateMarkers'](_0x3a7b38,_0x35c08b){const _0x2861f2=Array['from'](this['_markers']['keys']()),_0x3e77c6=new Map();for(const _0x2c5936 of _0x2861f2){const _0x4a7a57=_0x3a7b38['model']['markers']['get'](_0x2c5936);if(!_0x4a7a57)continue;const _0x750d35=_0x4a7a57['getStart']()['path'][0x0];_0x3e77c6['has'](_0x750d35)||_0x3e77c6['set'](_0x750d35,[]),_0x3e77c6['get'](_0x750d35)['push'](_0x4a7a57);}const _0x3af670=new Set();for(const _0x30a9e8 of _0x3a7b38['model']['document']['differ']['getChanges']()){let _0x16576a=-0x1,_0x3779d7=null;if('insert'===_0x30a9e8['type'])_0x3779d7=new ckeditor5['ModelRange'](_0x30a9e8['position'],_0x30a9e8['position']['getShiftedBy'](_0x30a9e8['length'])),_0x16576a=_0x30a9e8['position']['path'][0x0];else{if('remove'!==_0x30a9e8['type'])continue;_0x3779d7=new ckeditor5['ModelRange'](_0x30a9e8['position']),_0x16576a=_0x30a9e8['position']['path'][0x0];}const _0x4d4782=_0x3e77c6['get'](_0x16576a)||[];if(_0x4d4782['length']){for(const _0x33f1ed of _0x4d4782)if(_0x3779d7['root']['rootName']===_0x33f1ed['getRange']()['root']['rootName']&&('insert'!==_0x30a9e8['type']||!_0x3779d7['containsRange'](_0x33f1ed['getRange']()))&&(_0x3779d7['isIntersecting'](_0x33f1ed['getRange']())||_0x3779d7['start']['isTouching'](_0x33f1ed['getRange']()['end'])||_0x3779d7['end']['isTouching'](_0x33f1ed['getRange']()['start']))){const _0x278367=this['_parseMarkerName'](_0x33f1ed['name']);Array['from'](this['_markers']['values']())['filter'](_0x5af424=>_0x5af424['groupId']===_0x278367['groupId'])['forEach'](_0x2e5a14=>_0x3af670['add'](_0x2e5a14['id']));}}}if(_0x3af670['size']){for(const _0x2141ae of _0x3af670)_0x35c08b['removeMarker'](_0x2141ae);return!0x0;}return!0x1;}['_handleMarkerChanges'](_0x4d0b6d){for(const {name:_0x5577b9,data:_0x445f55}of _0x4d0b6d['model']['document']['differ']['getChangedMarkers']()){if(!_0x5577b9['startsWith'](_0x2ac963))continue;const _0x5cc494=_0x445f55['oldRange'],_0x44acf7=_0x445f55['newRange'],_0x582110=_0x5cc494&&'$graveyard'===_0x5cc494['root']['rootName'],_0x1774cd=_0x44acf7&&'$graveyard'===_0x44acf7['root']['rootName'];if(_0x582110&&_0x1774cd)continue;const _0xfcc4b0=this['_parseMarkerName'](_0x5577b9);this['_markers']['get'](_0x5577b9)&&(_0x1774cd||!_0x44acf7?this['_eventEmitter']['fire']('changeMarkerRemoved',{'markerId':_0x5577b9,'changeId':_0xfcc4b0['groupId']}):_0x582110&&_0x44acf7&&this['_eventEmitter']['fire']('changeMarkerRestored',{'markerId':_0x5577b9,'changeId':_0xfcc4b0['groupId']}));}}['_parseMarkerName'](_0x32d3c5){const _0x1bf430=_0x32d3c5['split'](':'),_0x474650=(_0x1bf430[0x1]||'')['split']('_');return{'prefix':_0x1bf430[0x0],'groupId':_0x474650[0x0],'suffix':_0x474650[0x1]};}['_translateOperationToEditorContent'](_0x10583c,_0x3faec4,_0x4121a7){if('insert'===_0x10583c['type']){const _0x40f73f=_0x10583c;return new ckeditor5['InsertOperation'](this['_changePosition'](_0x3faec4['concat'](_0x40f73f['position']['offset']),_0x4121a7),_0x40f73f['nodes'],_0x40f73f['baseVersion']);}if('marker'===_0x10583c['type']&&_0x10583c['name']['startsWith']('$markedRemove')){const _0x22385c=_0x10583c;return new ckeditor5['MarkerOperation'](_0x22385c['name'],_0x22385c['oldRange'],this['_changeRange'](_0x22385c['newRange'],_0x3faec4['concat'](_0x22385c['newRange']['start']['offset']),_0x3faec4['concat'](_0x22385c['newRange']['end']['offset']),_0x4121a7),_0x22385c['_markers'],_0x22385c['affectsData'],_0x22385c['baseVersion']);}return _0x10583c;}['_groupAdjacentOperations'](_0x1db95c){if(!_0x1db95c['length'])return[];const _0x3e394e=[];let _0x18aaea=0x0,_0x2855a5=0x0,_0x3949bc=[];for(let _0x4ebd84=0x0;_0x4ebd84<=_0x1db95c['length'];_0x4ebd84++){const _0x3789e3=_0x1db95c[_0x4ebd84],_0x5d68bd=_0x1db95c[_0x4ebd84-0x1];!_0x3789e3||_0x5d68bd&&!this['_getOperationEnd'](_0x5d68bd)['isTouching'](this['_getOperationStart'](_0x3789e3))?(_0x3e394e['push']({'operations':_0x3949bc,'operationsIsolated':_0x3949bc['map'](_0x58490d=>this['_shiftOperation'](_0x58490d['clone'](),-_0x2855a5)),'groupOffset':_0x18aaea}),_0x3949bc=_0x3789e3?[_0x3789e3]:[],_0x2855a5+=_0x18aaea,_0x18aaea=0x0):_0x3949bc['push'](_0x3789e3),_0x3789e3&&'insert'===_0x3789e3['type']&&(_0x18aaea+=_0x3789e3['howMany']);}return _0x3e394e;}['_findAdjacentContextDistance'](_0x9bbf2f,_0x24f1ae,_0x33fc2b,_0x1e41b4=0x1){const _0x4a70ed=new ckeditor5['ModelTreeWalker']({'startPosition':_0x9bbf2f,'direction':_0x24f1ae});let _0x277e63=0x0;for(let _0x499cbf=0x0;_0x499cbf<_0x1e41b4;_0x499cbf++){let _0x5fecd2=0x0,_0x51bd96=!0x1,_0x207629='forward'===_0x24f1ae?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x364adf}of _0x4a70ed)if(_0x364adf['is']('$textProxy')){const _0x5a8949=_0x207629['exec'](_0x364adf['data']);if(_0x5a8949&&_0x5a8949['length']){if(_0x5fecd2+='forward'===_0x24f1ae?_0x5a8949['index']+_0x5a8949[0x0]['length']:_0x364adf['data']['length']-_0x5a8949['index'],_0x5a8949[0x0]['length']!==_0x364adf['data']['length'])break;_0x51bd96=!0x0,_0x207629='forward'===_0x24f1ae?/^\w+/:/\w+$/;}else{if(_0x51bd96)break;_0x5fecd2+=_0x364adf['offsetSize'];}}else{if(_0x364adf['is']('element')){_0x33fc2b['isInline'](_0x364adf)&&!_0x51bd96&&(_0x5fecd2+=0x1);break;}}_0x277e63+=_0x5fecd2,_0x4a70ed['jumpTo'](_0x9bbf2f['getShiftedBy']('forward'===_0x24f1ae?_0x277e63:-_0x277e63));}return _0x277e63;}['_getChangeContext'](_0x4f9973,_0xcbdf73){const _0x256491=getEditorFromContext(this['context'])['model']['schema'],_0x5dbcd2=this['_findAdjacentContextDistance'](_0x4f9973,'backward',_0x256491,_0x421d6f),_0x10c258=this['_findAdjacentContextDistance'](_0xcbdf73,'forward',_0x256491,_0x421d6f),_0xeded46=_0x4f9973['getShiftedBy'](-_0x5dbcd2),_0x1c7fed=_0xcbdf73['getShiftedBy'](_0x10c258);return{'start':_0xeded46,'end':_0x1c7fed,'hasContentBefore':!_0xeded46['isAtStart'],'hasContentAfter':!_0x1c7fed['isAtEnd']};}['_insertMarkers'](_0x4963a9){const _0x47ddb4=this['context']['plugins']['get']('AIEditing'),_0x3f8cd5=new Set();getEditorFromContext(this['context'])['model']['change'](_0x166855=>{for(const _0x2807d1 of _0x4963a9){const _0x3d1baa=''+_0x2ac963+_0x2807d1['type']+':'+_0x2807d1['groupId']+'_'+_0x47ddb4['_nextDataId'](_0x3f8cd5);this['_markers']['set'](_0x3d1baa,{'id':_0x3d1baa,'groupId':_0x2807d1['groupId'],'type':_0x2807d1['type'],'content':_0x2807d1['content']}),_0x166855['addMarker'](_0x3d1baa,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x166855['createRange'](_0x2807d1['start'],_0x2807d1['end'])});}});}['_createGetContextFn'](_0x455da1,_0xcfe75,_0x5ab0d3){let _0x41a197='';return()=>{if(!_0x41a197){const _0x222d30=_0xcfe75['toView'](_0x455da1,{'showSuggestionHighlights':!0x0});let _0x3ecb4c=_0x222d30['getChild'](0x0);if(_0x3ecb4c['is']('containerElement')||(_0x3ecb4c=_0x222d30),!_0x3ecb4c)return'';let _0x51c8b6=!0x1;const _0x32106d=[];for(const _0x307c27 of _0x3ecb4c['getChildren']())_0x307c27['is']('element','span')&&_0x307c27['hasClass']('ck-ai_review-marker_context-end')&&(_0x51c8b6=!0x1),_0x51c8b6&&_0x32106d['push'](_0x307c27),_0x307c27['is']('element','span')&&_0x307c27['hasClass']('ck-ai_review-marker_context-start')&&(_0x51c8b6=!0x0);_0x3ecb4c['_removeChildren'](0x0,_0x3ecb4c['childCount']),_0x5ab0d3?.['ellipsisBefore']&&_0x3ecb4c['_appendChild']('…'),_0x3ecb4c['_appendChild'](_0x32106d),_0x5ab0d3?.['ellipsisAfter']&&_0x3ecb4c['_appendChild']('…');const _0x3b7178=_0xcfe75['htmlProcessor']['domConverter']['viewToDom'](_0x222d30),_0x7eacc9=_0xcfe75['htmlProcessor']['htmlWriter']['getHtml'](_0x3b7178);_0x41a197=_0x7eacc9;}return _0x41a197;};}['_createGetContentFn'](_0x30b465,_0x1db443){let _0x256768='';return()=>(_0x256768||(_0x256768=_0x1db443['stringify'](_0x30b465,{'showSuggestionHighlights':!0x0})),_0x256768);}['_createGetContentUsingDataIdFn'](_0x33eb2e,_0x4d1719,_0x4868a4){let _0xcdbaf6='';return()=>{if(!_0xcdbaf6){const _0x58baa9=_0x4868a4['toView'](new ckeditor5['ModelDocumentFragment'](_0x33eb2e)),_0x191762=_0x4868a4['htmlProcessor']['domConverter']['viewToDom'](_0x58baa9)['querySelector']('[data-id=\x22'+_0x4d1719+'\x22]');_0xcdbaf6=_0x191762?.['outerHTML']||'';}return _0xcdbaf6;};}['_findMarkerElement'](_0x25f93f,_0x284289=0x5){let _0x282c62=_0x25f93f,_0x2e6525=null;for(let _0x55509b=0x0;_0x55509b<_0x284289&&_0x282c62;_0x55509b++){if(!_0x282c62['className']){_0x282c62=_0x282c62['parentElement'];continue;}if(!(''+_0x282c62['className'])['includes']('ck-ai_review-marker_')){_0x282c62=_0x282c62['parentElement'];continue;}if(!_0x282c62['getAttribute']('data-marker-id'))break;_0x2e6525=_0x282c62;break;}return _0x2e6525;}['_findMarkerElementById'](_0x38d5bb){const _0x368a2a=getEditorFromContext(this['context']),_0x7dd807=_0x368a2a['model']['markers']['get'](_0x38d5bb);return _0x7dd807?getMarkerDomElement(_0x368a2a['editing'],_0x7dd807):null;}['_getMarkersDataForGroup'](_0x47178f){return Array['from'](this['_markers']['values']())['filter'](_0x2074f2=>_0x2074f2['groupId']===_0x47178f);}['_getOperationStart'](_0x48d211){return'insert'===_0x48d211['type']?_0x48d211['position']:_0x48d211['newRange']['start'];}['_getOperationEnd'](_0xbfc249,_0xc0fc69=!0x1){return'insert'===_0xbfc249['type']?_0xc0fc69?_0xbfc249['position']:_0xbfc249['position']['getShiftedBy'](_0xbfc249['howMany']):_0xbfc249['newRange']['end'];}['_shiftOperation'](_0x1c3cc7,_0x19055c){return'insert'===_0x1c3cc7['type']?_0x1c3cc7['position']=_0x1c3cc7['position']['getShiftedBy'](_0x19055c):'marker'===_0x1c3cc7['type']&&_0x1c3cc7['newRange']&&(_0x1c3cc7['newRange']=new ckeditor5['ModelRange'](_0x1c3cc7['newRange']['start']['getShiftedBy'](_0x19055c),_0x1c3cc7['newRange']['end']['getShiftedBy'](_0x19055c))),_0x1c3cc7;}['_changeOperationOwnerDocument'](_0x45cd27,_0x3bca96){'insert'===_0x45cd27['type']?_0x45cd27['position']=this['_changePositionOwnerDocument'](_0x45cd27['position'],_0x3bca96):'marker'===_0x45cd27['type']&&_0x45cd27['newRange']&&(_0x45cd27['newRange']=this['_changeRangeOwnerDocument'](_0x45cd27['newRange'],_0x3bca96));}['_changePositionOwnerDocument'](_0x457e06,_0x2ad579){return new ckeditor5['ModelPosition'](_0x2ad579,_0x457e06['path']);}['_changeRangeOwnerDocument'](_0x249a09,_0x16802b){return new ckeditor5['ModelRange'](this['_changePositionOwnerDocument'](_0x249a09['start'],_0x16802b),this['_changePositionOwnerDocument'](_0x249a09['end'],_0x16802b));}['_changePosition'](_0x5b45f2,_0x1687de){return new ckeditor5['ModelPosition'](_0x1687de,[..._0x5b45f2]);}['_changeRange'](_0xf0248a,_0x3eb5ea,_0x333dac,_0xcd7fb8){return new ckeditor5['ModelRange'](this['_changePosition'](_0x3eb5ea,_0xcd7fb8),this['_changePosition'](_0x333dac,_0xcd7fb8));}['_sortMarkers'](_0xaee01a){const _0x17173a=_0x4ac65e=>{switch(_0x4ac65e){case'insert':return 0x0;case'remove-context':return 0x1;case'remove-only':return 0x2;case'remove-text':return 0x3;}};return _0xaee01a['sort']((_0x1e3cb1,_0x24b96c)=>_0x17173a(_0x1e3cb1['type'])-_0x17173a(_0x24b96c['type']));}['_hasSameTopLevelElement'](_0xf6e19a,_0x12f8d6){const _0x36f724=_0xf6e19a['getChild'](0x0),_0x55ed66=_0x12f8d6['getChild'](0x0);return!(!_0x36f724||!_0x55ed66)&&((!_0x36f724['is']('element')||!_0x55ed66['is']('element')||_0x36f724['name']===_0x55ed66['name'])&&!(_0x36f724['is']('element')&&!_0x55ed66['is']('element')||!_0x36f724['is']('element')&&_0x55ed66['is']('element')));}['_haveSingleTopLevelElement'](_0x309084){return 0x1===_0x309084['childCount'];}['_haveOnlyInlineContent'](_0x496400,_0x27cb54){for(const _0x406ede of _0x496400['getChildren']())if(_0x406ede['is']('element')&&!_0x27cb54['isInline'](_0x406ede))return!0x1;return!0x0;}['_upsertDataId'](_0xe8cd1e,_0x351a65){let _0x5bb71b=_0xe8cd1e['getAttribute'](_0x15f9cf);return _0x5bb71b||(_0x5bb71b=_0x351a65(),_0xe8cd1e['_setAttribute'](_0x15f9cf,_0x5bb71b)),_0x5bb71b;}}class AIReviewCheckResult extends ckeditor5['EmitterMixin'](){['id'];['contentNew'];['contentInitial'];['documentVersion'];constructor({id:_0x1887ce,contentNew:_0x1c5a9b,contentInitial:_0x59e5d3,documentVersion:_0x215224}){super(),this['id']=_0x1887ce,this['contentNew']=_0x1c5a9b,this['contentInitial']=_0x59e5d3,this['documentVersion']=_0x215224;}}class AIReviewCheckResultChange extends ckeditor5['ObservableMixin'](){['id'];['parent'];['_data'];['_editorOperations']=[];constructor(_0x43274c,_0x39844a,_0x2bd18e){super(),this['id']=_0x43274c,this['parent']=_0x2bd18e,this['_data']=_0x39844a,this['set']('isActivated',!0x1),this['set']('isRated',!0x1),this['set']('status','pending'),this['on']('change:status',()=>{'pending'!==this['status']&&this['isActivated']&&(this['isActivated']=!0x1);});}get['contentDiffed'](){return this['_data']['context']();}get['operations'](){return this['_data']['operations'];}get['operationsIsolated'](){return this['_data']['operationsIsolated'];}}class _0x13621d extends ckeditor5['ObservableMixin'](){['id']=ckeditor5['uid']();['callId'];['_results']=new Map();['_changes']=[];['_sourceCheck'];['_documentData'];['_aiConnector'];['_reviewParams'];['_reviewArgs'];['_activeRequest']=null;['_currentError'];['_wasAborted']=!0x1;constructor(_0x564240,_0x3860dc,_0x23bc6d,_0x4a511d,_0x877c89){super(),this['_sourceCheck']=_0x3860dc,this['_documentData']=_0x564240,this['_aiConnector']=_0x23bc6d,this['_reviewParams']=_0x4a511d,this['_reviewArgs']=_0x877c89,this['on']('change:status',(_0x2dcc45,_0x53dce1,_0x4194c8)=>{'aborted'==_0x4194c8&&(this['_wasAborted']=!0x0),this['fire']('reviewCheckRunUpdated',{'status':_0x4194c8,'run':this,'error':this['_currentError']});}),this['set']('status','initialized');}get['documentData'](){return this['_documentData'];}get['processedResultsCount'](){return this['_results']['size'];}get['title'](){return this['_sourceCheck']['title'];}get['subTitle'](){return'';}get['reviewName'](){return this['_sourceCheck']['id'];}get['hasModifications'](){return!this['_changes']['every'](_0x31b0a6=>'pending'===_0x31b0a6['status']);}get['currentError'](){return this['_currentError'];}['updateDocumentData'](_0x4af427){this['_documentData']=_0x4af427;}async['start'](){this['status']='loading',this['_currentError']=void 0x0;try{this['_activeRequest']=this['_createApiRequest']();const _0x2ccfbe=await this['_activeRequest']['getStream']();this['status']='data';for await(const _0x5a1895 of _0x2ccfbe)'unmodified'!==_0x5a1895['data']['operation']&&('error'!==_0x5a1895['data']['operation']?'review-metadata'!==_0x5a1895['event']?this['_addReviewCheckResult'](_0x5a1895['data']['dataId'],_0x5a1895['data']['textDelta']):this['callId']=_0x5a1895['data']['callId']:this['status']='error-chunk');'error-chunk'!==this['status']&&(0x0===this['_results']['size']||0x0===this['_changes']['length']?this['status']='unmodified':this['status']='ready');}catch(_0x2e75a4){this['_currentError']=_0x2e75a4,_0x2e75a4 instanceof Error&&_0x2e75a4['message']['includes']('ai-request-aborted')?this['status']='aborted':this['status']='error-general';}finally{this['_activeRequest']=null;}}async['restart'](){this['_results']['clear'](),this['_changes']['length']=0x0,this['_currentError']=void 0x0,await this['start']();}['addResultChanges'](_0x332c02,_0x404fa3){const _0x1a0ba5=this['_results']['get'](_0x332c02);if(!_0x1a0ba5)return;if(0x0===_0x404fa3['length'])return;const _0x41a239=[];_0x404fa3['forEach']((_0x131467,_0x373e03)=>{const _0x2f1f45=new AIReviewCheckResultChange(_0x1a0ba5['id']+'-'+_0x373e03,_0x131467,_0x1a0ba5);_0x2f1f45['on']('change:status',()=>{this['fire']('reviewCheckResultChangeStatusUpdated',{'change':_0x2f1f45,'status':_0x2f1f45['status']});}),_0x2f1f45['on']('change:isActivated',()=>{_0x2f1f45['isActivated']?this['fire']('reviewCheckResultActivated',{'change':_0x2f1f45}):this['fire']('reviewCheckResultDeactivated',{'change':_0x2f1f45});}),this['_changes']['push'](_0x2f1f45),_0x41a239['push'](_0x2f1f45);}),this['fire']('reviewCheckResultReady',{'changes':_0x41a239,'result':_0x1a0ba5,'source':this});}['abort'](){this['_activeRequest']&&(this['_activeRequest']['abortController']['abort'](),this['_activeRequest']=null,this['status']='aborted');}['isChangeActive'](_0x2644a3){const _0x187501=this['_changes']['find'](_0x23e044=>_0x23e044['id']===_0x2644a3);return!(!_0x187501||'pending'!==_0x187501['status']);}['isAnyChangeActivated'](){return this['_changes']['some'](_0x9c821c=>!0x0===_0x9c821c['isActivated']);}['getActiveChanges'](){return this['_changes']['filter'](_0x27f567=>'pending'===_0x27f567['status']);}['getChangeById'](_0x289d27){return this['_changes']['find'](_0x13dd3c=>_0x13dd3c['id']===_0x289d27);}['markAllChangesAsAccepted'](){for(const _0x4edd67 of this['_changes'])'pending'===_0x4edd67['status']&&(_0x4edd67['status']='accepted');this['_checkIfFinished']();}['markChangeAsAccepted'](_0x57553b){const _0x496979=this['_changes']['find'](_0x2085ee=>_0x2085ee['id']===_0x57553b);_0x496979&&'pending'===_0x496979['status']&&(_0x496979['status']='accepted'),this['_checkIfFinished']();}['markChangeAsRejected'](_0x285fca){const _0x2d8c29=this['_changes']['find'](_0x1001a9=>_0x1001a9['id']===_0x285fca);_0x2d8c29&&'pending'===_0x2d8c29['status']&&(_0x2d8c29['status']='rejected'),this['_checkIfFinished']();}['markChangeAsOutdated'](_0x41213c){const _0x720dc6=this['_changes']['find'](_0x11ab6b=>_0x11ab6b['id']===_0x41213c);_0x720dc6&&'pending'===_0x720dc6['status']&&(_0x720dc6['status']='outdated'),this['_checkIfFinished']();}['markChangeAsPending'](_0x128a66){const _0x51b4e7=this['_changes']['find'](_0x463814=>_0x463814['id']===_0x128a66);_0x51b4e7&&'outdated'===_0x51b4e7['status']&&(_0x51b4e7['status']='pending'),this['_checkIfFinished']();}['activateChange'](_0x64a889){this['_changes']['filter'](_0x534f83=>_0x534f83['isActivated']&&_0x534f83['id']!==_0x64a889)['forEach'](_0x53572c=>{_0x53572c['isActivated']=!0x1;});const _0x325dcb=this['_changes']['find'](_0x4b1e05=>_0x4b1e05['id']===_0x64a889);_0x325dcb&&'pending'===_0x325dcb['status']&&(_0x325dcb['isActivated']=!0x0);}['deactivateChange'](){this['_changes']['filter'](_0x2d1080=>_0x2d1080['isActivated'])['forEach'](_0x507524=>{_0x507524['isActivated']=!0x1;});}['forceReadyState'](){this['status']='ready';}async['sendRating'](_0x5b89d0){if('initialized'===this['status']||'loading'===this['status']||'data'===this['status']||this['_wasAborted'])return;if(!this['callId']||0x0===this['_changes']['length'])return;let _0x27a6b9;if(_0x5b89d0){const _0x1db40d=this['_changes']['find'](_0xd0ad9d=>_0xd0ad9d['id']===_0x5b89d0);if(_0x1db40d&&_0x1db40d['isRated'])return;_0x1db40d&&(_0x27a6b9=_0x1db40d['parent']['id'],_0x1db40d['isRated']=!0x0);}const _0x11b617={'positiveCount':this['_changes']['filter'](_0x8dd27=>'accepted'===_0x8dd27['status'])['length'],'totalCount':this['_changes']['length']};this['_sendRatingRequest'](_0x11b617,this['callId'],_0x27a6b9);}['_addReviewCheckResult'](_0x3d004b,_0x127b56){const _0x502b9e=this['_documentData']['elements']['get'](_0x3d004b);if(!_0x502b9e)return;const _0x3cd007=_0x502b9e['getContent']();if(_0x3cd007===_0x127b56)return;const _0x1a8b3a=new AIReviewCheckResult({'id':_0x3d004b,'contentInitial':_0x3cd007,'contentNew':_0x127b56,'documentVersion':this['_documentData']['version']});this['_results']['set'](_0x1a8b3a['id'],_0x1a8b3a),this['fire']('reviewCheckResultAdded',{'result':_0x1a8b3a,'source':this});}['_checkIfFinished'](){'finished'===this['status']&&(this['_changes']['filter'](_0x6edd10=>'pending'===_0x6edd10['status'])['length']>0x0&&(this['status']='ready')),'ready'===this['status']&&(0x0===this['_changes']['filter'](_0x219b3e=>'pending'===_0x219b3e['status'])['length']&&(this['status']='finished'));}}class AIReviewSystemCheckRun extends _0x13621d{get['subTitle'](){if(!this['_reviewParams']||0x0===this['_reviewParams']['length'])return'';const _0x39572a=[];if(this['_reviewParams']['length']>0x0&&this['_sourceCheck']['options'])for(let _0x270045=0x0;_0x270045<this['_reviewParams']['length'];_0x270045++){if(!this['_reviewParams'][_0x270045]||!this['_sourceCheck']['options'][_0x270045])continue;const _0x3806e3=this['_sourceCheck']['options'][_0x270045],_0x4f0952=_0x3806e3['data']?.['find'](_0x10e45c=>_0x10e45c['id']===this['_reviewParams'][_0x270045]);_0x4f0952&&_0x39572a['push'](_0x4f0952['label']);}return _0x39572a['join'](',\x20');}get['reviewName'](){return this['_composeReviewName']();}['_createApiRequest'](){return this['_aiConnector']['callSystemReview']({'reviewName':this['_composeReviewName'](),'content':this['_documentData']['content'],'args':this['_reviewArgs']});}['_sendRatingRequest'](_0x55ae20,_0x47cf5d,_0x3ac084){return this['_aiConnector']['upsertAIReviewRating'](this['reviewName'],_0x47cf5d,_0x55ae20,_0x3ac084);}['_composeReviewName'](){return!this['_reviewParams']||0x0===this['_reviewParams']['length']||this['_sourceCheck']['useArgs']?this['_sourceCheck']['apiId']:[this['_sourceCheck']['apiId'],...this['_reviewParams']]['join']('-');}}class AIReviewCoreController extends ckeditor5['ContextPlugin']{['_aiConnector'];['_aiReviewCoreUi'];['_aiReviewCoreEditing'];['_aiReviewCheckList'];['_currentReviewCheckRun'];['_changeActivationSource']=null;static get['requires'](){return[AIConnector];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['_initRequiredPlugins'](),this['_aiReviewCheckList']=await this['_getChecksList'](),this['listenTo'](this['_aiReviewCoreUi'],'getReviewCheckList',()=>{this['_aiReviewCoreUi']['setAvailableChecks'](this['_aiReviewCheckList']['checks']);}),this['listenTo'](this['_aiReviewCoreUi'],'runReviewCheck',async(_0x1cfa90,_0x33f639)=>{const _0x4fb2ba=this['_aiReviewCheckList']['getCheckById'](_0x33f639['id']);if(_0x4fb2ba){this['_onReviewCheckRun'](_0x33f639),this['_aiReviewCoreEditing']['switchToReadOnly'](),this['_currentReviewCheckRun']=this['_createReviewCheckRun'](_0x33f639,_0x4fb2ba),this['_aiReviewCoreUi']['setCheckResultTitle'](this['_currentReviewCheckRun']['title'],this['_currentReviewCheckRun']['subTitle']),this['_currentReviewCheckRun']['on']('reviewCheckRunUpdated',(_0x5b38d8,_0x51dc2c)=>{switch(_0x51dc2c['status']){case'data':case'loading':this['_aiReviewCoreUi']['showCheckRunResults'](_0x51dc2c);break;case'finished':this['_onCheckRunFinished']();break;case'ready':this['_aiReviewCoreUi']['showActionsWhenResultIsReady']();break;case'unmodified':this['_aiReviewCoreUi']['showNoChangesView']();break;case'error-general':this['_aiReviewCoreUi']['showGeneralResultsErrorView'](),this['_logError'](new ckeditor5['CKEditorError']('ai-review-mode-check-run-general-error',this,void 0x0,this['_currentReviewCheckRun']?.['currentError']));break;case'error-chunk':this['_aiReviewCoreUi']['showChunkErrorView'](),this['_logError'](new ckeditor5['CKEditorError']('ai-review-mode-check-run-chunk-error',this,void 0x0,this['_currentReviewCheckRun']?.['currentError']));break;case'aborted':this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['processedResultsCount']>0x0?setTimeout(()=>{this['_currentReviewCheckRun']?.['forceReadyState']();},0x0):this['_onReviewRunLeave'](!0x0);}'ready'!==_0x51dc2c['status']&&'error-chunk'!==_0x51dc2c['status']&&'error-general'!==_0x51dc2c['status']||this['_currentReviewCheckRun']?.['sendRating']();}),this['_currentReviewCheckRun']['on']('reviewCheckResultAdded',(_0x18c18b,_0xa4f975)=>{if(!this['_currentReviewCheckRun'])throw new ckeditor5['CKEditorError']('ai-review-mode-no-current-check-run',this);const _0x445e69=this['_diffContent'](_0xa4f975['result']['contentInitial'],_0xa4f975['result']['contentNew']);_0xa4f975['source']['addResultChanges'](_0xa4f975['result']['id'],_0x445e69);}),this['_currentReviewCheckRun']['on']('reviewCheckResultReady',(_0x1801d6,_0x41536a)=>{for(const _0xb3a72e of _0x41536a['changes'])this['_aiReviewCoreUi']['showCheckRunResult'](_0xb3a72e);this['_markChangePositionInEditorContent'](_0x41536a['changes'],_0x41536a['source']['documentData']);}),this['_currentReviewCheckRun']['on']('reviewCheckResultChangeStatusUpdated',(_0x24976b,_0x1760a4)=>{this['_aiReviewCoreUi']['updateChangeState'](_0x1760a4['change']['id'],_0x1760a4['status']);}),this['_currentReviewCheckRun']['on']('reviewCheckResultActivated',(_0x34f1c5,_0x1dcb87)=>{this['_onReviewCheckResultActivated'](_0x1dcb87);}),this['_currentReviewCheckRun']['on']('reviewCheckResultDeactivated',()=>{this['_onReviewCheckResultDeactivated']();});try{await this['_currentReviewCheckRun']['start']();}catch(_0x233a3e){_0x233a3e instanceof Error&&_0x233a3e['message']['includes']('ai-request-aborted')||(_0x233a3e instanceof ckeditor5['CKEditorError']?this['_logError'](_0x233a3e):this['_logError'](new ckeditor5['CKEditorError']('ai-review-mode-check-run-failed',this,void 0x0,_0x233a3e)));}}else this['_logError'](new ckeditor5['CKEditorError']('ai-review-mode-source-check-not-found',this,{'checkId':_0x33f639['id']}));}),this['listenTo'](this['_aiReviewCoreUi'],'leaveReview',()=>{this['_onReviewRunLeave']();}),this['listenTo'](this['_aiReviewCoreUi'],'leaveReviewCoreResultList',()=>{this['_onReviewRunLeave'](!0x0);}),this['listenTo'](this['_aiReviewCoreUi'],'abortReviewStream',()=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['abort']();}),this['listenTo'](this['_aiReviewCoreUi'],'finishReview',()=>{this['_onReviewRunLeave'](!0x0);}),this['listenTo'](this['_aiReviewCoreUi'],'acceptAllChanges',()=>{if(!this['_currentReviewCheckRun'])return;const _0x3ae845=this['_currentReviewCheckRun']['getActiveChanges']();if(!_0x3ae845['length'])return;this['_aiReviewCoreEditing']['applyChange'](_0x3ae845['map'](_0x21f063=>_0x21f063['id']));const _0x131b76=this['_currentReviewCheckRun'];_0x131b76['markAllChangesAsAccepted'](),_0x131b76['sendRating']();}),this['listenTo'](this['_aiReviewCoreUi'],'acceptChange',(_0x44b4bc,_0xb29975)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0xb29975['id'])&&(this['_aiReviewCoreEditing']['applyChange']([_0xb29975['id']]),this['_currentReviewCheckRun']['markChangeAsAccepted'](_0xb29975['id']),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0xb29975['id']));}),this['listenTo'](this['_aiReviewCoreUi'],'dismissChange',(_0x4950ef,_0x362ca2)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0x362ca2['id'])&&(this['_aiReviewCoreEditing']['rejectChange'](_0x362ca2['id']),this['_currentReviewCheckRun']['markChangeAsRejected'](_0x362ca2['id']),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0x362ca2['id']));}),this['listenTo'](this['_aiReviewCoreUi'],'retryReview',async()=>{this['_currentReviewCheckRun']&&(this['_aiReviewCoreEditing']['clearAllMarkers'](),this['_currentReviewCheckRun']['updateDocumentData'](this['_aiReviewCoreEditing']['getDocumentData']()),await this['_currentReviewCheckRun']['restart']());}),this['listenTo'](this['_aiReviewCoreUi'],'activateChange',(_0x525a35,_0x349dc0)=>{this['_onActivateChange'](_0x349dc0);}),this['listenTo'](this['_aiReviewCoreUi'],'deactivateChange',(_0x1fbb6d,_0x2c5cff)=>{this['_onDeactivateChange'](_0x2c5cff);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerClicked',(_0x20dfbf,_0x3d422a)=>{this['_onChangeMarkerClicked'](_0x20dfbf,_0x3d422a);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerHovered',(_0xc80f73,_0x4f12c0)=>{this['_onChangeMarkerHovered'](_0xc80f73,_0x4f12c0);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerBlurred',()=>{this['_onChangeMarkerBlurred']();}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerRemoved',(_0x1a5107,_0x48efb7)=>{this['_onChangeMarkerRemoved'](_0x1a5107,_0x48efb7);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerRestored',(_0x376226,_0x115fe3)=>{this['_onChangeMarkerRestored'](_0x376226,_0x115fe3);});}['_createReviewCheckRun'](_0x3fe838,_0x5395fd){return new AIReviewSystemCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x5395fd,this['_aiConnector'],_0x3fe838['params'],_0x3fe838['args']);}['_onChangeMarkerRemoved'](_0x3d2df1,_0x580727){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['markChangeAsOutdated'](_0x580727['changeId']);}['_onChangeMarkerRestored'](_0x1ec693,_0x56eeb0){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['markChangeAsPending'](_0x56eeb0['changeId']);}['_onCheckRunFinished'](){this['_aiReviewCoreUi']['showReviewCompletedView']();}['_initRequiredPlugins'](){this['_aiConnector']=this['context']['plugins']['get']('AIConnector');}['_onReviewRunLeave'](_0x197ca6=!0x1){this['_currentReviewCheckRun']&&(this['_currentReviewCheckRun']['hasModifications']||this['_currentReviewCheckRun']['sendRating'](),this['_currentReviewCheckRun']['stopListening'](),this['_currentReviewCheckRun']['abort'](),this['_currentReviewCheckRun']=void 0x0),_0x197ca6&&this['_aiReviewCoreUi']['showReviewCheckList'](),this['_aiReviewCoreEditing']['clearAllMarkers'](),this['_aiReviewCoreEditing']['switchToEdit'](),this['_changeActivationSource']=null;const _0x421123=this['_aiReviewCoreEditing']['getEditor']();_0x421123&&_0x421123['editing']['view']['change'](_0x1c8cee=>{const _0x5e9354=_0x421123['editing']['view']['document']['getRoot']();_0x1c8cee['removeClass']('ck-ai_review-diff',_0x5e9354),_0x1c8cee['removeClass']('ck-ai_review-highlights',_0x5e9354),_0x1c8cee['removeClass']('ck-ai-translate-mode-content',_0x5e9354);});}['_getTranslationWithDefault'](_0x33d61a,_0x2bf287){const _0x19cb58=getTranslation$i(this['context']['locale'],_0x33d61a);return _0x19cb58===_0x33d61a?_0x2bf287:_0x19cb58;}['_logError'](_0x28f7f6,_0x28f36b=!0x1){ckeditor5['logError'](_0x28f7f6['message']),_0x28f36b||(_0x28f7f6['message']['startsWith']('ai-review-mode-models-unable-to-retrieve')?this['_aiReviewCoreUi']['showGeneralReviewCoreErrorView']():this['_aiReviewCoreUi']['showGeneralResultsErrorView']());}['_scrollToChange'](_0x207687){if('content'===this['_changeActivationSource']){const _0x41ae94=this['_aiReviewCoreUi']['getChangeElement'](_0x207687);_0x41ae94&&ckeditor5['scrollAncestorsToShowTarget'](_0x41ae94['closest']('.ck-ai_review__check-run-result')||_0x41ae94);}else{if('panel'===this['_changeActivationSource']){const _0x53eba0=this['_getChangeContentElement'](_0x207687);if(!_0x53eba0)return;const _0x5a6372={'target':_0x53eba0,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};ckeditor5['scrollViewportToShowTarget'](_0x5a6372);}}}}const _0x3c2e7e=[{'id':'custom','commandId':'custom','title':'Custom\x20command','description':'Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','isParameterized':!0x0},{'id':'correctness','commandId':'correctness','title':'Correctness','description':'Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','isParameterized':!0x1},{'id':'clarity','commandId':'clarity','title':'Clarity','description':'Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','isParameterized':!0x1},{'id':'readability','commandId':'readability','title':'Readability','description':'Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','isParameterized':!0x1},{'id':'length','commandId':'make','title':'Adjust\x20length','description':'Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','isParameterized':!0x0,'options':[{'formType':'dropdown','label':'Adjust\x20length','default':'longer','data':[{'label':'Longer','id':'longer'},{'label':'Shorter','id':'shorter'}]}]},{'id':'tone','commandId':'make-tone','title':'Adjust\x20tone\x20and\x20style','description':'Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','isParameterized':!0x0,'options':[{'formType':'dropdown','label':'Adjust\x20tone\x20and\x20style','default':'casual','data':[{'label':'Casual','id':'casual'},{'label':'Direct','id':'direct'},{'label':'Friendly','id':'friendly'},{'label':'Confident','id':'confident'},{'label':'Professional','id':'professional'}]}]}];class _0x49f388{['id'];['commandId'];['title'];['description'];['isParameterized'];['useArgs'];['options'];['args'];get['apiId'](){return this['commandId'];}constructor(_0x1c8eb8){this['id']=_0x1c8eb8['id'],this['commandId']=_0x1c8eb8['commandId'],this['title']=_0x1c8eb8['title'],this['description']=_0x1c8eb8['description'],this['isParameterized']=_0x1c8eb8['isParameterized'],this['useArgs']=_0x1c8eb8['useArgs'],this['options']=_0x1c8eb8['options'],this['args']=_0x1c8eb8['args'];}}class AIReviewCheckList extends ckeditor5['ObservableMixin'](){['_checks']=[];['setupChecks'](_0x15dc42){this['_checks']=_0x15dc42['map'](_0x44802b=>new _0x49f388(_0x44802b));}get['checks'](){return this['_checks'];}['getCheckById'](_0x49b335){return this['checks']['find'](_0x765c01=>_0x765c01['id']===_0x49b335);}['removeCheckById'](_0x517356){this['_checks']=this['_checks']['filter'](_0x5d9c6b=>_0x5d9c6b['id']!==_0x517356);}}class AIReviewCheckCustom extends _0x49f388{['_models']=[];['_defaultModel']=null;constructor(_0x15c71e,_0x3d788a,_0x13d721){super(_0x15c71e),this['_models']=_0x3d788a,this['_defaultModel']=_0x13d721;}get['models'](){return this['_models'];}get['defaultModel'](){return this['_defaultModel'];}}class AIReviewCheckExtra extends _0x49f388{['isExtra']=!0x0;['prompt'];['model'];['_defaultModel']=null;constructor(_0x19f512,_0x120fd2,_0x4943d9){super(_0x19f512),this['prompt']=_0x19f512['prompt'],this['model']=_0x19f512['model'],this['model']?this['_defaultModel']=_0x120fd2['find'](_0xee175d=>_0xee175d['id']===this['model'])||null:this['_defaultModel']=_0x4943d9;}get['defaultModel'](){return this['_defaultModel'];}}class AIReviewModeCheckList extends AIReviewCheckList{['_allModels']=[];['_recommendedModels']=[];['_defaultModel']=null;constructor(_0x191065,_0x2b5f4f,_0x1bd16b){super(),this['_allModels']=_0x191065,this['_recommendedModels']=_0x2b5f4f,this['_defaultModel']=_0x1bd16b;}['setupChecks'](_0x48232d){this['_checks']=_0x48232d['map'](_0x33a71e=>!0x0===_0x33a71e['isExtra']?new AIReviewCheckExtra(_0x33a71e,this['_allModels'],this['_defaultModel']):'custom'===_0x33a71e['id']?new AIReviewCheckCustom(_0x33a71e,this['_recommendedModels'],this['_defaultModel']):new _0x49f388(_0x33a71e));}}class AIReviewCustomCheckRun extends _0x13621d{['_prompt'];['_model'];constructor(_0x5b3f45,_0x4840e2,_0xf58ee1,_0x239ded,_0x873aef){super(_0xf58ee1,_0x239ded,_0x873aef),this['_prompt']=_0x5b3f45,this['_model']=_0x4840e2;}get['subTitle'](){return this['_prompt'];}['_createApiRequest'](){return this['_aiConnector']['callCustomReview']({'content':this['_documentData']['content'],'prompt':this['_prompt'],'model':this['_model']});}['_sendRatingRequest'](_0x1cda37,_0x48a4ed,_0x2e10c1){return this['_aiConnector']['upsertCustomAIReviewRating'](_0x48a4ed,_0x1cda37,_0x2e10c1);}}class AIReviewExtraCheckRun extends AIReviewCustomCheckRun{get['subTitle'](){return'';}set['prompt'](_0x91afb4){this['_prompt']=_0x91afb4;}set['model'](_0x5f46d3){this['_model']=_0x5f46d3;}}class AIReviewModeController extends AIReviewCoreController{static get['pluginName'](){return'AIReviewModeController';}['_isDiffOn']=!0x1;['_hasDefaultAvailableCommands']=!0x1;constructor(_0x2eecfa){super(_0x2eecfa),this['_hasDefaultAvailableCommands']=!this['context']['config']['get']('ai.review.availableCommands'),this['context']['config']['define']('ai.review.availableCommands',_0x3c2e7e['map'](_0xd7e41e=>_0xd7e41e['id'])),this['context']['config']['define']('ai.review.extraCommands',[]);}async['init'](){await super['init'](),this['listenTo'](this['_aiReviewCoreUi'],'toggleDiff',(_0x2db66e,_0xaad0de)=>{this['_isDiffOn']=_0xaad0de['on'],this['_onDiffChange'](this['_isDiffOn']);});}['_initRequiredPlugins'](){super['_initRequiredPlugins'](),this['_aiReviewCoreUi']=this['context']['plugins']['get']('AIReviewModeUI'),this['_aiReviewCoreEditing']=this['context']['plugins']['get']('AIReviewCoreEditing');}['_createReviewCheckRun'](_0x4a22d2,_0x549457){return _0x4a22d2['isCustom']?new AIReviewCustomCheckRun(_0x4a22d2['args']['prompt'],_0x4a22d2['args']['model'],this['_aiReviewCoreEditing']['getDocumentData'](),_0x549457,this['_aiConnector']):_0x549457['isExtra']?new AIReviewExtraCheckRun(_0x549457['prompt'],_0x549457['defaultModel']['id'],this['_aiReviewCoreEditing']['getDocumentData'](),_0x549457,this['_aiConnector']):new AIReviewSystemCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x549457,this['_aiConnector'],_0x4a22d2['params'],_0x4a22d2['args']);}['_onReviewCheckResultActivated'](_0x3a10ca){this['_aiReviewCoreUi']['setActiveStateInResults'](_0x3a10ca['change']['id']),this['_scrollToChange'](_0x3a10ca['change']['id']);const _0xfa4fa1=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x3a10ca['change']['id']);if(!_0xfa4fa1)return;const _0x43750b=this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x3a10ca['change'],()=>_0xfa4fa1['getElement'](),void 0x0,'click',_0x43750b?.['editing']?.['view']?.['getDomRoot'](),_0x43750b?.['ui']?.['viewportOffset']),this['_aiReviewCoreEditing']['setMarkersInElementAsActive'](_0x3a10ca['change']['id']);}['_onReviewCheckResultDeactivated'](){this['_aiReviewCoreUi']['resetActiveStateInResults'](),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_aiReviewCoreEditing']['setAllMarkersAsInactive']();}['_onActivateChange'](_0x46aeac){this['_currentReviewCheckRun']&&'click'===_0x46aeac['uiInteraction']&&(this['_changeActivationSource']='panel',this['_currentReviewCheckRun']['activateChange'](_0x46aeac['id']));}['_onDeactivateChange'](_0xcb25c4){this['_currentReviewCheckRun']&&'balloon'===_0xcb25c4['origin']&&this['_currentReviewCheckRun']['deactivateChange']();}['_onChangeMarkerClicked'](_0x3976bb,_0x5a03ad){if(!this['_currentReviewCheckRun'])return;this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x5a03ad['changeId']);const _0x279fc5=this['_currentReviewCheckRun']['getChangeById'](_0x5a03ad['changeId']);if(!_0x279fc5)return;const _0x949b37=this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x279fc5,_0x5a03ad['markerElement'],_0x5a03ad['domEvent'],'click',_0x949b37?.['editing']?.['view']?.['getDomRoot'](),_0x949b37?.['ui']?.['viewportOffset']);}['_onChangeMarkerHovered'](_0x36d6c9,_0x124156){if(!this['_currentReviewCheckRun'])return;if(this['_currentReviewCheckRun']['isAnyChangeActivated']())return;const _0x15a595=this['_currentReviewCheckRun']['getChangeById'](_0x124156['changeId']);if(!_0x15a595)return;const _0x4f602c=this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x15a595,_0x124156['markerElement'],_0x124156['domEvent'],'hover',_0x4f602c?.['editing']?.['view']?.['getDomRoot'](),_0x4f602c?.['ui']?.['viewportOffset']);}['_onChangeMarkerBlurred'](){if(!this['_currentReviewCheckRun'])return;this['_currentReviewCheckRun']['isAnyChangeActivated']()||this['_aiReviewCoreUi']['hideChangeBalloon']();}['_getChangeContentElement'](_0x184c1e){const _0x491c6f=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x184c1e);return _0x491c6f?_0x491c6f['getElement']():null;}['_markChangePositionInEditorContent'](_0x2a3773,_0x33c680){this['_aiReviewCoreEditing']['markChangePositionInEditorContent'](_0x2a3773,_0x33c680);}['_diffContent'](_0x483c11,_0x1adb90){return this['_aiReviewCoreEditing']['diffContent'](_0x483c11,_0x1adb90);}['_onReviewCheckRun'](){this['_onDiffChange'](this['_isDiffOn']);}['_onDiffChange'](_0x2082a8){const _0xae9ba0=this['_aiReviewCoreEditing']['getEditor']();_0x2082a8?this['_aiReviewCoreUi']['hideDiffInBalloon']():this['_aiReviewCoreUi']['showDiffInBalloon'](),_0xae9ba0&&_0xae9ba0['editing']['view']['change'](_0x3ca67e=>{const _0x104ae8=_0xae9ba0['editing']['view']['document']['getRoot']();for(const _0xf658a5 of _0x104ae8['getClassNames']())_0xf658a5['startsWith']('ck-ai_review-')&&_0x3ca67e['removeClass'](_0xf658a5,_0x104ae8);_0x3ca67e['addClass'](_0x2082a8?'ck-ai_review-diff':'ck-ai_review-highlights',_0x104ae8);});}async['_getChecksList'](){const _0x4a2969=[..._0x3c2e7e,...this['_getExtraChecks']()],_0x4dc751=this['context']['config']['get']('ai.review.availableCommands')||[];this['_logErrorForNonExistentChecks'](_0x4dc751,_0x4a2969);let _0x2c69de=_0x4a2969;this['_hasDefaultAvailableCommands']||(_0x2c69de=_0x4dc751['map'](_0x6b46ad=>_0x4a2969['find'](_0x2950b9=>_0x2950b9['id']===_0x6b46ad))['filter'](_0x59058d=>!!_0x59058d)),_0x2c69de=_0x2c69de['map'](_0x57c85a=>_0x57c85a['isExtra']?_0x57c85a:this['_translateReviewCheck'](_0x57c85a));const _0x3b0699=_0x2c69de['some'](_0x499e65=>_0x499e65['isExtra']||'custom'===_0x499e65['id']);let _0x52a6ae=[],_0x21fc4d=[],_0x5df6ee=null;if(_0x3b0699){const _0x9ea557=await this['_getModels']();_0x52a6ae=_0x9ea557['all'],_0x21fc4d=_0x9ea557['recommended'],_0x5df6ee=_0x9ea557['default'];}const _0x9d24e4=new AIReviewModeCheckList(_0x52a6ae,_0x21fc4d,_0x5df6ee);return _0x9d24e4['setupChecks'](_0x2c69de),_0x3b0699&&this['_filterChecksWithMissingModel'](_0x9d24e4),_0x9d24e4;}['_getExtraChecks'](){return(this['context']['config']['get']('ai.review.extraCommands')||[])['map'](_0x28ee54=>({'id':_0x28ee54['id'],'commandId':_0x28ee54['id'],'title':_0x28ee54['label'],'description':_0x28ee54['description'],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x28ee54['prompt'],'model':_0x28ee54['model']}));}['_logErrorForNonExistentChecks'](_0x40dc76,_0x144baf){const _0x21c0bd=_0x40dc76['filter'](_0x2415e3=>!_0x144baf['some'](_0x435385=>_0x435385['id']===_0x2415e3));_0x21c0bd['length']&&this['_logError'](new ckeditor5['CKEditorError']('ai-review-mode-non-existent-commands-used',this,{'commandIds':_0x21c0bd['join'](',\x20')}),!0x0);}async['_getModels'](){try{const _0x8a72f2=new _0x331d2a({'connector':this['_aiConnector'],'config':this['context']['config']['get']('ai.models'),'locale':this['context']['locale']});return{'all':await _0x8a72f2['getAll'](),'recommended':await _0x8a72f2['getAvailableModels'](),'default':await _0x8a72f2['getDefault']()};}catch(_0x387633){return this['_logError'](new ckeditor5['CKEditorError']('ai-review-mode-models-unable-to-retrieve',this,void 0x0,_0x387633)),{'all':[],'recommended':[],'default':null};}}['_translateReviewCheck'](_0x45f71a){const _0xca756a='AI_REVIEW_CHECK_'+_0x45f71a['id']['toUpperCase']()['replaceAll']('-','_'),_0x20a6fb={..._0x45f71a,'title':this['_getTranslationWithDefault'](_0xca756a+'_TITLE',_0x45f71a['title']),'description':this['_getTranslationWithDefault'](_0xca756a+'_DESCRIPTION',_0x45f71a['description'])};return _0x45f71a['options']&&(_0x20a6fb['options']=_0x45f71a['options']['map'](_0x497f50=>({..._0x497f50,'label':this['_getTranslationWithDefault'](_0xca756a+'_OPTIONS_LABEL',_0x497f50['label']||''),'data':_0x497f50['data']?_0x497f50['data']['map'](_0x509230=>({..._0x509230,'label':this['_getTranslationWithDefault'](_0xca756a+'_OPTIONS_DATA_'+_0x509230['id']['toUpperCase'](),_0x509230['label'])})):void 0x0}))),_0x20a6fb;}['_filterChecksWithMissingModel'](_0x19c688){const _0x32ac10=[];_0x19c688['checks']['forEach'](_0x44b95f=>{(_0x44b95f instanceof AIReviewCheckExtra&&!_0x44b95f['defaultModel']||_0x44b95f instanceof AIReviewCheckCustom&&!_0x44b95f['models']['length'])&&_0x32ac10['push'](_0x44b95f['id']);}),_0x32ac10['length']&&_0x32ac10['forEach'](_0x50007d=>{_0x19c688['removeCheckById'](_0x50007d),this['_logError'](new ckeditor5['CKEditorError']('ai-review-mode-command-unavailable-due-to-missing-model',this,{'commandId':_0x50007d}),!0x0);});}}class _0x5be1bd extends ckeditor5['ContextPlugin']{static get['requires'](){return[AIReviewModeController,_0x4b4c47,AIReviewCoreEditing];}static get['pluginName'](){return'AIReviewMode';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class AITranslateCheck extends _0x49f388{get['apiId'](){return'translate';}}class AITranslateCheckList extends AIReviewCheckList{['setupChecks'](_0x530314){this['_checks']=_0x530314['map'](_0x6eb302=>new AITranslateCheck(_0x6eb302));}}class AITranslateCheckRun extends AIReviewSystemCheckRun{['_title'];constructor(_0x4b9083,_0xade771,_0x50b7e6,_0x19bbb9,_0x3954e2,_0x21e1e4){super(_0x4b9083,_0xade771,_0x50b7e6,_0x3954e2,_0x21e1e4),this['_title']=_0x19bbb9;}get['title'](){return this['_title'];}get['subTitle'](){return this['_sourceCheck']['title'];}}class AITranslateController extends AIReviewCoreController{static get['pluginName'](){return'AITranslateController';}constructor(_0x1d61fe){super(_0x1d61fe),this['context']['config']['define']('ai.translate.languages',[{'label':'English','id':'english'},{'label':'Spanish','id':'spanish'},{'label':'French','id':'french'},{'label':'German','id':'german'},{'label':'Chinese\x20(Simplified)','id':'chinese'},{'label':'Japanese','id':'japanese'},{'label':'Russian','id':'russian'},{'label':'Portuguese','id':'portuguese'},{'label':'Korean','id':'korean'},{'label':'Italian','id':'italian'}]);}['_onCheckRunFinished'](){this['_onReviewRunLeave'](!0x0);}['_initRequiredPlugins'](){super['_initRequiredPlugins'](),this['_aiReviewCoreUi']=this['context']['plugins']['get']('AITranslateUI'),this['_aiReviewCoreEditing']=this['context']['plugins']['get']('AIReviewCoreEditing');}['_createReviewCheckRun'](_0x3939c0,_0x34713c){return new AITranslateCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x34713c,this['_aiConnector'],getTranslation$i(this['context']['locale'],'AI_REVIEW_CHECK_TRANSLATE_TITLE'),_0x3939c0['params'],_0x3939c0['args']);}['_onReviewCheckResultActivated'](_0x5aeb2e){this['_aiReviewCoreUi']['setActiveStateInResults'](_0x5aeb2e['change']['id']),this['_aiReviewCoreEditing']['setMarkersInElementAsActive'](_0x5aeb2e['change']['id']);}['_onReviewCheckResultDeactivated'](){this['_aiReviewCoreEditing']['setAllMarkersAsInactive'](),this['_aiReviewCoreUi']['resetActiveStateInResults']();}['_onActivateChange'](_0x254898){this['_currentReviewCheckRun']&&('hover'===_0x254898['uiInteraction']&&(this['_changeActivationSource']='panel',this['_currentReviewCheckRun']['activateChange'](_0x254898['id'])),'click'===_0x254898['uiInteraction']&&this['_scrollToChange'](_0x254898['id']));}['_onDeactivateChange'](_0x3b7574){this['_currentReviewCheckRun']&&'panel'===_0x3b7574['origin']&&this['_currentReviewCheckRun']['deactivateChange']();}['_onChangeMarkerClicked'](_0x8be376,_0x5dbd5c){this['_currentReviewCheckRun']&&(this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x5dbd5c['changeId']),this['_scrollToChange'](_0x5dbd5c['changeId']));}['_onChangeMarkerHovered'](_0x20c90b,_0x2ff5f8){this['_currentReviewCheckRun']&&(this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x2ff5f8['changeId']),this['_aiReviewCoreEditing']['reactivateMarkers'](_0x2ff5f8['changeId']));}['_onChangeMarkerBlurred'](){this['_currentReviewCheckRun']&&'content'===this['_changeActivationSource']&&(this['_currentReviewCheckRun']['deactivateChange'](),this['_aiReviewCoreEditing']['setAllMarkersAsInactive']());}['_getChangeContentElement'](_0x4d4e0e){return this['_aiReviewCoreEditing']['getContentElementForChange'](_0x4d4e0e);}['_markChangePositionInEditorContent'](_0x3e39f7,_0x23c4db){this['_aiReviewCoreEditing']['markChangePositionInEditorContent'](_0x3e39f7,_0x23c4db);}['_diffContent'](_0x3de1b1,_0x1912b5){return this['_aiReviewCoreEditing']['diffContent'](_0x3de1b1,_0x1912b5,!0x0);}['_onReviewCheckRun'](){const _0x582fc3=this['_aiReviewCoreEditing']['getEditor']();_0x582fc3&&_0x582fc3['editing']['view']['change'](_0x52c89a=>{const _0x5dab44=_0x582fc3['editing']['view']['document']['getRoot']();for(const _0x5a85e8 of _0x5dab44['getClassNames']())(_0x5a85e8['startsWith']('ck-ai-review-')||'ck-ai-translate-'===_0x5a85e8)&&_0x52c89a['removeClass'](_0x5a85e8,_0x5dab44);_0x52c89a['addClass']('ck-ai-translate-mode-content',_0x5dab44);});}async['_getChecksList'](){const _0x30fbe0=[],_0x2b940d=this['context']['config']['get']('ai.translate.languages')||[];for(const _0x4a1169 of _0x2b940d)_0x30fbe0['push']({'title':_0x4a1169['label'],'id':_0x4a1169['id'],'commandId':_0x4a1169['id'],'description':'','isParameterized':!0x1,'useArgs':!0x0,'args':{'language':_0x4a1169['id']}});const _0x3696a8=new AITranslateCheckList();return _0x3696a8['setupChecks'](this['_translateChecks'](_0x30fbe0)),_0x3696a8;}['_translateChecks'](_0x3c7cf1){return _0x3c7cf1['map'](_0x3715eb=>{const _0x4d0c8e='AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_'+_0x3715eb['title']['toUpperCase']()['replaceAll']('-','_');return{..._0x3715eb,'title':this['_getTranslationWithDefault'](_0x4d0c8e,_0x3715eb['title'])};});}}class AITranslateCheckResultsView extends AIReviewCoreUICheckResultsView{constructor(_0x133ac8,_0xbd3a55){super(_0x133ac8,_0xbd3a55),this['on']('set:isLoading',(_0x24204e,_0x4e7af7,_0x23a69e)=>{_0x23a69e&&(this['headerTitle']=getTranslation$i(this['locale'],'AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE'));}),this['on']('set:isResultReady',(_0xf246d7,_0xa4ac40,_0x48d6ba)=>{_0x48d6ba&&(this['headerTitle']=getTranslation$i(this['locale'],'AI_TRANSLATE_CHECK_RESULTS_READY_TITLE'));});}['_createAcceptAllButtonView'](){const _0x265e51=super['_createAcceptAllButtonView']();return _0x265e51['set']('label',getTranslation$i(this['locale'],'AI_TRANSLATE_ACCEPT_ALL')),_0x265e51;}['_createExitReviewButtonView'](){const _0xf9f428=super['_createExitReviewButtonView']();return _0xf9f428['set']('label',getTranslation$i(this['locale'],'AI_CHAT_HISTORY_CANCEL')),_0xf9f428;}}class AITranslateCheckListView extends AIReviewCoreReviewCheckListView{['_setupTemplate'](){const _0x17caea=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-translate__check-list-wrapper',_0x17caea['if']('isVisible','ck-hidden',_0x16bda1=>!_0x16bda1)]},'children':[{'tag':'div','attributes':{'class':['ck-ai-translate__check-list-header']},'children':[{'tag':'h2','children':[{'text':getTranslation$i(this['locale'],'AI_TRANSLATE_CHECK_LIST_HEADER_TITLE')}]},{'tag':'p','children':[{'text':getTranslation$i(this['locale'],'AI_TRANSLATE_CHECK_LIST_HEADER_DESCRIPTION')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list',_0x17caea['if']('isVisible','ck-hidden',_0x1eb7b0=>!_0x1eb7b0)]},'children':this['_checkViews']}]});}}class AITranslateUI extends _0x27c4b4{static get['pluginName'](){return'AITranslateUI';}['createMainView'](){const _0x207dbd=this['context']['locale'],_0x5d8302=new ckeditor5['FormHeaderView'](_0x207dbd,{'label':getTranslation$i(_0x207dbd,'AI_REVIEW_CHECK_TRANSLATE_TITLE'),'icon':ckeditor5['IconAITranslate'],'class':'ck-ai-header\x20ck-ai-header_review-translate'}),_0x47c238=new _0x18273c(_0x207dbd,{'header':_0x5d8302,'list':new AITranslateCheckListView(_0x207dbd),'results':new AITranslateCheckResultsView(_0x207dbd,{'generalErrorText':getTranslation$i(_0x207dbd,'AI_TRANSLATE_GENERAL_ERROR_MESSAGE')}),'completed':new AIReviewCoreReviewCompletedView(_0x207dbd,{'headerText':getTranslation$i(_0x207dbd,'AI_TRANSLATE_FINISH_HEADER_TITLE'),'emptyResultsText':getTranslation$i(_0x207dbd,'AI_TRANSLATE_EMPTY_RESULTS_TEXT'),'buttonText':getTranslation$i(_0x207dbd,'AI_TRANSLATE_FINISH_BUTTON_LABEL')})});return _0x47c238['extendTemplate']({'attributes':{'class':'ck-ai-translate-mode'}}),_0x47c238;}['registerTab'](){const _0x14b829=this['context']['plugins']['get']('AITabs');_0x14b829['view']['on']('activateTab',(_0x1abd9a,_0xa6f2c4)=>{'translate'===_0xa6f2c4?this['fire']('getReviewCheckList'):this['fire']('leaveReview');}),_0x14b829['view']['addTab']({'id':'translate','buttonLabel':getTranslation$i(this['context']['locale'],'AI_REVIEW_CHECK_TRANSLATE_TITLE'),'buttonIcon':ckeditor5['IconAITranslate'],'order':0x0,'content':this['_mainView']});}}class AITranslate extends ckeditor5['ContextPlugin']{static get['requires'](){return[AITranslateController,AITranslateUI,AIReviewCoreEditing];}static get['pluginName'](){return'AITranslate';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class _0x237ed6 extends ckeditor5['Command']{['_transformCallback'];constructor(_0x8466b2,_0x5c9d2c){super(_0x8466b2),this['_transformCallback']=_0x5c9d2c;}['execute'](){const _0x2a7432=this['editor']['model'],_0x260500=Array['from'](this['_getAffectedRanges']()),_0x396ef0=Array['from'](_0x2a7432['document']['selection']['getRanges']());_0x2a7432['change'](_0x3fc95d=>{for(const _0x25358e of _0x260500)this['_modifyContent'](_0x25358e,_0x3fc95d);_0x3fc95d['setSelection'](_0x396ef0);});}['refresh'](){for(const _0x2152e9 of this['_getAffectedRanges']())for(const _0x2254ad of _0x2152e9)if(_0x2254ad['item']['is']('$textProxy'))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['_getAffectedRanges'](){const _0x34977e=this['editor']['model'],_0x4a0486=_0x34977e['document']['selection'];if(_0x4a0486['isCollapsed']){const _0x528784=this['_findAncestorTextBlock'](_0x4a0486['getFirstPosition']()['parent']);return _0x528784?[_0x34977e['createRangeIn'](_0x528784)]:[];}return _0x4a0486['getRanges']();}['_modifyContent'](_0x1ae77f,_0x30457f){for(const _0x4d4dfe of this['_getElementsAllowingText'](_0x1ae77f)){const _0x113af4=this['_getElementTextContent'](_0x4d4dfe),_0x4a93d7=this['_transformCallback'](_0x113af4);for(const _0x343d31 of this['_getTextNodesRangeLimited'](_0x4d4dfe,_0x1ae77f))this['_replaceTextNodeData'](_0x343d31,_0x4a93d7,_0x30457f);}}['_findAncestorTextBlock'](_0x12279e){const _0x13bc6f=this['editor']['model']['schema'];if(_0x12279e['is']('element')&&_0x13bc6f['checkChild'](_0x12279e,'$text'))return _0x12279e;const _0x303ddd=_0x12279e['parent'];return!_0x303ddd||_0x13bc6f['isLimit'](_0x12279e)?null:this['_findAncestorTextBlock'](_0x303ddd);}*['_getElementsAllowingText'](_0x2646ca){const _0x1d78d9=new Set();for(const {item:_0x207c20}of _0x2646ca['getWalker']()){const _0x3c7145=this['_findAncestorTextBlock'](_0x207c20);_0x3c7145&&!_0x1d78d9['has'](_0x3c7145)&&(_0x1d78d9['add'](_0x3c7145),yield _0x3c7145);}}['_getElementTextContent'](_0x454a48){return Array['from'](_0x454a48['getChildren']())['reduce']((_0x152f1b,_0x503470)=>_0x152f1b+(_0x503470['is']('$text')?_0x503470['data']:'\x20'),'');}*['_getTextNodesRangeLimited'](_0x3295ae,_0x30caeb){const _0x16053b=_0x30caeb['getIntersection'](this['editor']['model']['createRangeIn'](_0x3295ae));if(_0x16053b){for(const _0x53cb7e of _0x16053b['getItems']())_0x53cb7e['is']('$textProxy')&&_0x53cb7e['parent']==_0x3295ae&&(yield _0x53cb7e);}}['_replaceTextNodeData'](_0x3df75d,_0x1c6dff,_0x1b807c){const _0x4f092b=_0x1c6dff['substring'](_0x3df75d['startOffset'],_0x3df75d['endOffset']);if(_0x4f092b===_0x3df75d['data'])return;const _0x3034d4=_0x3df75d['getAttributes']();this['editor']['model']['insertContent'](_0x1b807c['createText'](_0x4f092b,_0x3034d4),_0x1b807c['createSelection'](_0x1b807c['createRangeOn'](_0x3df75d)));}}function getTranslation$g(_0x45f723,_0xc2c82f,..._0x2801e6){const t=_0x45f723['t'];switch(_0xc2c82f){case'Case\x20change':return t('Case\x20change');case'UPPERCASE':return t('UPPERCASE');case'lowercase':return t('lowercase');case'Title\x20Case':return t('Title\x20Case');case'Change\x20text\x20case':return t('Change\x20text\x20case');case'Changed\x20case\x20to\x20%0':return t('Changed\x20case\x20to\x20%0',..._0x2801e6);default:return _0xc2c82f;}}class CaseChangeEditing extends ckeditor5['Plugin']{['_currentCommandIndex']=0x0;static get['pluginName'](){return'CaseChangeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5f29e1=this['editor'],_0x52a62b=_0x5f29e1['locale']['contentLanguage'],_0xd4e31c=_0x1597a7(_0x5f29e1['config']['get']('caseChange.titleCase.excludeWords')),_0x12a54f={'changeCaseUpper':new _0x237ed6(_0x5f29e1,_0x267023=>_0x267023['toLocaleUpperCase'](_0x52a62b)),'changeCaseLower':new _0x237ed6(_0x5f29e1,_0x49af66=>_0x49af66['toLocaleLowerCase'](_0x52a62b)),'changeCaseTitle':new _0x237ed6(_0x5f29e1,_0x2a9364=>capitalizeText(_0x2a9364,_0xd4e31c,_0x52a62b))};for(const [_0x1110e3,_0x46960e]of Object['entries'](_0x12a54f))_0x5f29e1['commands']['add'](_0x1110e3,_0x46960e),_0x46960e['on']('execute',()=>{this['_announceCaseChangeOperation'](_0x1110e3);});this['listenTo'](_0x5f29e1['editing']['view']['document'],'selectionChange',()=>{this['_currentCommandIndex']=0x0;}),_0x5f29e1['keystrokes']['set']('shift+f3',(_0x151e98,_0x3c1a21)=>{const _0x487e2b=_getOptions(this['editor']['locale']),_0x116760=_0x487e2b[this['_currentCommandIndex']%_0x487e2b['length']]['commandName'];_0x5f29e1['execute'](_0x116760),this['_currentCommandIndex']++,_0x3c1a21();});}['afterInit'](){_0x691b2d(this);}['_announceCaseChangeOperation'](_0x7627e5){const {ui:_0x36ea00,locale:_0xbf7ad}=this['editor'],_0x3d4f40=_getOptions(_0xbf7ad)['find'](_0x512179=>_0x512179['commandName']===_0x7627e5)['label']['toLowerCase']();_0x36ea00['ariaLiveAnnouncer']['announce'](getTranslation$g(_0xbf7ad,'Changed\x20case\x20to\x20%0',_0x3d4f40));}}function _getOptions(_0x1eae0e){return[{'label':getTranslation$g(_0x1eae0e,'UPPERCASE'),'commandName':'changeCaseUpper'},{'label':getTranslation$g(_0x1eae0e,'lowercase'),'commandName':'changeCaseLower'},{'label':getTranslation$g(_0x1eae0e,'Title\x20Case'),'commandName':'changeCaseTitle'}];}function capitalizeText(_0x88f4ed,_0x37d645,_0x10d52a){return _0x3826a3(_0x88f4ed,(_0x481918,_0x3cd813,_0x2a0ac5)=>{const _0x2578dd=_0x481918['toLocaleLowerCase'](_0x10d52a);return _0x37d645(_0x2578dd,{'charOffset':_0x3cd813,'wordIndex':_0x2a0ac5,'blockText':_0x88f4ed})?_0x2578dd:_0x2578dd['replace'](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x4d24d3=>_0x4d24d3['toLocaleUpperCase'](_0x10d52a));});}function _0x3826a3(_0x255398,_0x47857e){let _0x18da02='',_0x123909=0x0,_0x15be77=0x0;for(const _0x2ae40d of _0x255398['matchAll'](/ +/g)){const _0x19cb94=_0x2ae40d['index'],_0x279886=_0x255398['substring'](_0x123909,_0x19cb94);_0x279886['length']&&(_0x18da02+=_0x47857e(_0x279886,_0x123909,_0x15be77++)),_0x18da02+=_0x2ae40d[0x0],_0x123909=_0x19cb94+_0x2ae40d[0x0]['length'];}const _0xf0c13d=_0x255398['substring'](_0x123909);return _0xf0c13d['length']&&(_0x18da02+=_0x47857e(_0xf0c13d,_0x123909,_0x15be77)),_0x18da02;}function _0x1597a7(_0x4218fd=[]){return'function'==typeof _0x4218fd?_0x4218fd:(_0x455bfa,{wordIndex:_0x10d3fb})=>_0x10d3fb>0x0&&_0x4218fd['includes'](_0x455bfa);}async function _0x691b2d(_0x84ba10){const _0x2fd183=_0xb9fbbf([0x45,0x4d,0x44,0x53,0x33,0x64,0x73,0x4c,0x6f,0x4a,0x59,0x30,0x6e,0x62,0x65,0x39,0x63,0x6d,0x6c,0x43,0x72,0x58,0x79,0x61,0x5a,0x38,0x7a,0x70,0x50,0x71,0x4e,0x36,0x6a,0x78,0x54,0x68,0x66,0x37,0x67,0x77,0x42,0x69,0x32,0x4b,0x46,0x4f,0x56,0x55,0x57,0x52,0x41,0x47,0x31,0x34,0x48,0x51,0x49,0x6b,0x75,0x74,0x35,0x76]),_0x161710=window[_0xb9fbbf([0x44,0x61,0x74,0x65])][_0xb9fbbf([0x6e,0x6f,0x77])](),_0x127bd9=_0x84ba10[_0xb9fbbf([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x441f44=new window[(_0xb9fbbf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x204440=>{_0x127bd9[_0xb9fbbf([0x6f,0x6e,0x63,0x65])](_0xb9fbbf([0x72,0x65,0x61,0x64,0x79]),_0x204440);}),_0xc65402={[_0xb9fbbf([0x6b,0x74,0x79])]:_0xb9fbbf([0x45,0x43]),[_0xb9fbbf([0x75,0x73,0x65])]:_0xb9fbbf([0x73,0x69,0x67]),[_0xb9fbbf([0x63,0x72,0x76])]:_0xb9fbbf([0x50,0x2d,0x32,0x35,0x36]),[_0xb9fbbf([0x78])]:_0xb9fbbf([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0xb9fbbf([0x79])]:_0xb9fbbf([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0xb9fbbf([0x61,0x6c,0x67])]:_0xb9fbbf([0x45,0x53,0x32,0x35,0x36])},_0x5d264e=_0x127bd9[_0xb9fbbf([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xb9fbbf([0x67,0x65,0x74])](_0xb9fbbf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x1a2c2b=await(async function(){let _0x238b63,_0x393a02=null,_0x248689=null;try{if(_0x5d264e==_0xb9fbbf([0x47,0x50,0x4c]))return _0xb9fbbf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x238b63=(function(){const _0x172776=_0x5d264e[_0xb9fbbf([0x73,0x70,0x6c,0x69,0x74])](_0xb9fbbf([0x2e]));if(0x3!=_0x172776[_0xb9fbbf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x128141=_0x172776[0x1];return _0x326cfd(_0x128141);function _0x326cfd(_0x11e08c){const _0x26f41a=_0x3f81f5(_0x11e08c);return _0x26f41a&&_0x2362d8()?_0x26f41a:null;function _0x2362d8(){const _0x5a0961=_0x26f41a[_0xb9fbbf([0x6a,0x74,0x69])],_0x4f7126=window[_0xb9fbbf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a0961[_0xb9fbbf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a0961[_0xb9fbbf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x363e1e={..._0x26f41a,[_0xb9fbbf([0x6a,0x74,0x69])]:_0x5a0961[_0xb9fbbf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5a0961[_0xb9fbbf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x363e1e[_0xb9fbbf([0x76,0x63])],_0x5c9c34(_0x363e1e)==_0x4f7126;}}}()),!_0x238b63)return _0xb9fbbf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x238b63[_0xb9fbbf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x248689=function(_0x1016b8,_0x2fb43f){return new window[(_0xb9fbbf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45061f=>{if(_0x48a23f())return _0x45061f(_0xb9fbbf([0x56,0x61,0x6c,0x69,0x64]));_0x29ada2(),_0x127bd9[_0xb9fbbf([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xb9fbbf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2f82c6=!0x1;const _0x1c9257=ckeditor5['uid']();function _0x23c189(_0x2c8775){return!!_0x2c8775&&(typeof _0x2c8775===_0xb9fbbf([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2c8775===_0xb9fbbf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2c8775[_0xb9fbbf([0x74,0x68,0x65,0x6e])]===_0xb9fbbf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2c8775[_0xb9fbbf([0x63,0x61,0x74,0x63,0x68])]===_0xb9fbbf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x484f1c(_0x4cb221){_0x2ef3ec(_0x4cb221)[_0xb9fbbf([0x74,0x68,0x65,0x6e])](_0x33eb89=>{if(!_0x33eb89||_0x33eb89[_0xb9fbbf([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xb9fbbf([0x6f,0x6b]))return _0xb9fbbf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2efd03(_0x5c9c34(_0x1c9257+_0x2fb43f))!=_0x33eb89[_0xb9fbbf([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xb9fbbf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xb9fbbf([0x56,0x61,0x6c,0x69,0x64]);})[_0xb9fbbf([0x74,0x68,0x65,0x6e])](_0x275fea=>(_0x536ae5(),_0x275fea),()=>{const _0x4bf9b4=_0x1617c3();return null==_0x4bf9b4?(_0x536ae5(),_0xb9fbbf([0x56,0x61,0x6c,0x69,0x64])):_0xb9fbbf(_0x161710-_0x4bf9b4>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xb9fbbf([0x74,0x68,0x65,0x6e])](_0x45061f)[_0xb9fbbf([0x63,0x61,0x74,0x63,0x68])](()=>{_0x45061f(_0xb9fbbf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x243ef0=0x36ee80;function _0x536ae5(){const _0x4db202=_0xb9fbbf([0x6c,0x6c,0x63,0x74,0x2d])+_0x2efd03(_0x5c9c34(_0x1016b8)),_0x5aad67=_0x411421(_0x2efd03(window[_0xb9fbbf([0x4d,0x61,0x74,0x68])][_0xb9fbbf([0x63,0x65,0x69,0x6c])](_0x161710/_0x243ef0)));window[_0xb9fbbf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xb9fbbf([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4db202,_0x5aad67);}function _0x1617c3(){const _0x1bb28c=_0xb9fbbf([0x6c,0x6c,0x63,0x74,0x2d])+_0x2efd03(_0x5c9c34(_0x1016b8)),_0x348c0e=window[_0xb9fbbf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xb9fbbf([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1bb28c);return _0x348c0e?window[_0xb9fbbf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x411421(_0x348c0e),0x10)*_0x243ef0:null;}function _0x2ef3ec(_0x492355){return new window[(_0xb9fbbf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1dd66b,_0x1ed369)=>{_0x492355[_0xb9fbbf([0x74,0x68,0x65,0x6e])](_0x1dd66b,_0x1ed369),window[_0xb9fbbf([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1ed369,0x1d4c0);});}}_0x127bd9[_0xb9fbbf([0x6f,0x6e])](_0xb9fbbf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3671b9,_0x4595ab)=>{if(_0x4595ab[0x0]!=_0x1016b8)return _0x45061f(_0xb9fbbf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4595ab[0x1]={..._0x4595ab[0x1],[_0xb9fbbf([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1c9257};},{[_0xb9fbbf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xb9fbbf([0x68,0x69,0x67,0x68])}),_0x127bd9[_0xb9fbbf([0x6f,0x6e])](_0xb9fbbf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xb4864f=>{_0x23c189(_0xb4864f[_0xb9fbbf([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2f82c6=!0x0,_0x484f1c(_0xb4864f[_0xb9fbbf([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xb9fbbf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xb9fbbf([0x6c,0x6f,0x77])}),_0x441f44[_0xb9fbbf([0x74,0x68,0x65,0x6e])](()=>{_0x2f82c6||_0x45061f(_0xb9fbbf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x48a23f(){return _0x127bd9[_0xb9fbbf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xb9fbbf([0x76,0x69,0x65,0x77])][_0xb9fbbf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xb9fbbf([0x61,0x75,0x74,0x6f]);}function _0x29ada2(){_0x127bd9[_0xb9fbbf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xb9fbbf([0x76,0x69,0x65,0x77])][_0xb9fbbf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xb9fbbf([0x61,0x75,0x74,0x6f]);}}(_0x238b63[_0xb9fbbf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x238b63[_0xb9fbbf([0x6a,0x74,0x69])]));const _0x4ec402=await(async function(){let _0x33f3eb=!0x0;try{const _0x5ab077=_0x5d264e[_0xb9fbbf([0x73,0x70,0x6c,0x69,0x74])](_0xb9fbbf([0x2e])),[_0x111b3d,_0x2816f2,_0x21b9ff]=_0x5ab077;return _0x20c1e8(_0x111b3d),await _0x5af9ed(_0x111b3d,_0x2816f2,_0x21b9ff),_0x33f3eb;}catch{return!0x1;}function _0x20c1e8(_0x4718b7){const _0x20f67d=_0x3f81f5(_0x4718b7);_0x20f67d&&_0x20f67d[_0xb9fbbf([0x61,0x6c,0x67])]==_0xb9fbbf([0x45,0x53,0x32,0x35,0x36])||(_0x33f3eb=!0x1);}async function _0x5af9ed(_0x31fba1,_0x588e82,_0xd5d8a1){const _0x3b58ab=window[_0xb9fbbf([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xb9fbbf([0x66,0x72,0x6f,0x6d])](_0x10e650(_0xd5d8a1),_0x43af1c=>_0x43af1c[_0xb9fbbf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x18c261=new window[(_0xb9fbbf([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xb9fbbf([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x31fba1+_0xb9fbbf([0x2e])+_0x588e82),_0x44f704=window[_0xb9fbbf([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xb9fbbf([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x44f704)return;const _0x4e6d4f=await _0x44f704[_0xb9fbbf([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xb9fbbf([0x6a,0x77,0x6b]),_0xc65402,{[_0xb9fbbf([0x6e,0x61,0x6d,0x65])]:_0xb9fbbf([0x45,0x43,0x44,0x53,0x41]),[_0xb9fbbf([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xb9fbbf([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xb9fbbf([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x44f704[_0xb9fbbf([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xb9fbbf([0x6e,0x61,0x6d,0x65])]:_0xb9fbbf([0x45,0x43,0x44,0x53,0x41]),[_0xb9fbbf([0x68,0x61,0x73,0x68])]:{[_0xb9fbbf([0x6e,0x61,0x6d,0x65])]:_0xb9fbbf([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4e6d4f,_0x3b58ab,_0x18c261)||(_0x33f3eb=!0x1);}}());return _0x4ec402?(function(){const _0xb5e521=_0x238b63[_0xb9fbbf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0xb5e521)return!0x1;if(_0xb5e521[_0xb9fbbf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb9fbbf([0x2a])))return!0x0;if(_0xb5e521[_0xb9fbbf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb9fbbf([0x43,0x43])))return!0x0;if(_0xb5e521[_0xb9fbbf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb9fbbf([0x50,0x50])))return!0x0;return!0x1;}())?(function(){const _0x5d1647=[_0xb9fbbf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xb9fbbf([0x74,0x72,0x69,0x61,0x6c])][_0xb9fbbf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x238b63[_0xb9fbbf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x161710/0x3e8:0x69e96100;return _0x238b63[_0xb9fbbf([0x65,0x78,0x70])]<_0x5d1647;}())?_0xb9fbbf([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x2b8c8a=_0x238b63[_0xb9fbbf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2b8c8a||0x0==_0x2b8c8a[_0xb9fbbf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x332c4e}=new URL(window[_0xb9fbbf([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2b8c8a[_0xb9fbbf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x332c4e))return!0x0;const _0x5aac57=_0x332c4e[_0xb9fbbf([0x73,0x70,0x6c,0x69,0x74])](_0xb9fbbf([0x2e]));return _0x2b8c8a[_0xb9fbbf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x40c900=>_0x40c900[_0xb9fbbf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb9fbbf([0x2a])))[_0xb9fbbf([0x6d,0x61,0x70])](_0x76dd69=>_0x76dd69[_0xb9fbbf([0x73,0x70,0x6c,0x69,0x74])](_0xb9fbbf([0x2e])))[_0xb9fbbf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3d4153=>_0x3d4153[_0xb9fbbf([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5aac57[_0xb9fbbf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xb9fbbf([0x6d,0x61,0x70])](_0x2236cd=>Array(_0x5aac57[_0xb9fbbf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2236cd[_0xb9fbbf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xb9fbbf([0x66,0x69,0x6c,0x6c])](_0x2236cd[0x0]===_0xb9fbbf([0x2a])?_0xb9fbbf([0x2a]):'')[_0xb9fbbf([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2236cd))[_0xb9fbbf([0x73,0x6f,0x6d,0x65])](_0x15972e=>_0x5aac57[_0xb9fbbf([0x65,0x76,0x65,0x72,0x79])]((_0x3158ea,_0x1bc731)=>_0x15972e[_0x1bc731]===_0x3158ea||_0x15972e[_0x1bc731]===_0xb9fbbf([0x2a])));}())?(_0x238b63[_0xb9fbbf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xb9fbbf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x393a02=function(_0x47d4ba){const _0x145e73=new window[(_0xb9fbbf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4652fb=>setTimeout(_0x4652fb,0x93ecc)),_0x218733=_0x441f44[_0xb9fbbf([0x74,0x68,0x65,0x6e])](()=>new window[(_0xb9fbbf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46e5a9=>{let _0x56f67e=0x0;_0x127bd9[_0xb9fbbf([0x6d,0x6f,0x64,0x65,0x6c])][_0xb9fbbf([0x6f,0x6e])](_0xb9fbbf([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2f9f44,_0x207212)=>{_0x207212[0x0][_0xb9fbbf([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x56f67e++,0x5e8==_0x56f67e&&(_0x46e5a9(),_0x2f9f44[_0xb9fbbf([0x6f,0x66,0x66])]());});})),_0x2687bf=[_0x145e73,_0x218733];return window[_0xb9fbbf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xb9fbbf([0x72,0x61,0x63,0x65])](_0x2687bf)[_0xb9fbbf([0x74,0x68,0x65,0x6e])](()=>_0x47d4ba);}(_0xb9fbbf([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x393a02&&_0x248689)return new window[(_0xb9fbbf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5ab5d8,_0x3d4467)=>{_0x393a02[_0xb9fbbf([0x74,0x68,0x65,0x6e])](_0x5ab5d8,_0x3d4467),_0x248689[_0xb9fbbf([0x74,0x68,0x65,0x6e])](_0x3c9a4f=>{_0x3c9a4f!=_0xb9fbbf([0x56,0x61,0x6c,0x69,0x64])&&_0x5ab5d8(_0x3c9a4f);},_0x3d4467);});return _0x393a02||_0x248689||_0xb9fbbf([0x56,0x61,0x6c,0x69,0x64]);}())):_0xb9fbbf([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xb9fbbf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xb9fbbf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xb9fbbf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x3f81f5(_0x469ec3){return _0x469ec3[_0xb9fbbf([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xb9fbbf([0x65,0x79]))?JSON[_0xb9fbbf([0x70,0x61,0x72,0x73,0x65])](_0x10e650(_0x469ec3)):null;}function _0x10e650(_0x465e83){return window[_0xb9fbbf([0x61,0x74,0x6f,0x62])](_0x465e83[_0xb9fbbf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xb9fbbf([0x2b]))[_0xb9fbbf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xb9fbbf([0x2f])));}function _0x5c9c34(_0x39b605){let _0x234fc8=0x1505;function _0x2a4a6d(_0x46a77b){for(let _0x4cdff2=0x0;_0x4cdff2<_0x46a77b[_0xb9fbbf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4cdff2++){const _0x49926e=_0x46a77b[_0xb9fbbf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4cdff2);_0x234fc8=(_0x234fc8<<0x5)+_0x234fc8+_0x49926e,_0x234fc8&=_0x234fc8;}}return function _0xc096f0(_0x1a48bf){Array[_0xb9fbbf([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1a48bf)?_0x1a48bf[_0xb9fbbf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xc096f0):_0x1a48bf&&typeof _0x1a48bf==_0xb9fbbf([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xb9fbbf([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1a48bf)[_0xb9fbbf([0x73,0x6f,0x72,0x74])]()[_0xb9fbbf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x45979e,_0x3a7f4c])=>{_0x2a4a6d(_0x45979e),_0xc096f0(_0x3a7f4c);}):_0x2a4a6d(window[_0xb9fbbf([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1a48bf));}(_0x39b605),_0x234fc8>>>0x0;}function _0x2efd03(_0x260edb){return _0x260edb[_0xb9fbbf([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xb9fbbf([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xb9fbbf([0x30]));}function _0x411421(_0xf840d4){return _0xf840d4[_0xb9fbbf([0x73,0x70,0x6c,0x69,0x74])]('')[_0xb9fbbf([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xb9fbbf([0x6a,0x6f,0x69,0x6e])]('');}function _0x437e64(){}function _0xb9fbbf(_0x2e6802){return _0x2e6802['map'](_0x4e9ee3=>String['fromCharCode'](_0x4e9ee3))['join']('');}!function(_0x136118){const _0x49e349=(function(){const _0x228ccf=window[_0xb9fbbf([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xb9fbbf([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xb9fbbf([0x6e,0x6f,0x77])]())[_0xb9fbbf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xb9fbbf([0x2e]),'');let _0x521046=_0xb9fbbf([0x45]);for(let _0x3f82af=0x0;_0x3f82af<_0x228ccf[_0xb9fbbf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f82af+=0x2){let _0x4fe118=window[_0xb9fbbf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x228ccf[_0xb9fbbf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f82af,_0x3f82af+0x2));_0x4fe118>=_0x2fd183[_0xb9fbbf([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4fe118-=_0x2fd183[_0xb9fbbf([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x521046+=_0x2fd183[_0x4fe118];}return _0x521046;}());_0x127bd9[_0x49e349]=_0xb9fbbf([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x136118,_0x136118!=_0xb9fbbf([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x441f44,_0x127bd9[_0xb9fbbf([0x6d,0x6f,0x64,0x65,0x6c])][_0xb9fbbf([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x437e64,_0x127bd9[_0xb9fbbf([0x6d,0x6f,0x64,0x65,0x6c])][_0xb9fbbf([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x437e64,_0x127bd9[_0xb9fbbf([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xb9fbbf([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x1a2c2b);}class _0x5523d5 extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CaseChangeUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2dc3f5=this['editor'];this['_registerComponents'](),_0x2dc3f5['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':getTranslation$g(_0x2dc3f5['locale'],'Change\x20text\x20case'),'keystroke':'Shift+f3','mayRequireFn':!0x0}]}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2e2064=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x151168;for(const _0xfd77e4 in _0x2e2064){const _0x444066=_0xfd77e4,_0x240fa3=_0x2e2064[_0x444066];if('caseChangeLicenseKeyValid'==_0x240fa3||'caseChangeLicenseKeyInvalid'==_0x240fa3||'caseChangeLicenseKeyExpired'==_0x240fa3||'caseChangeLicenseKeyDomainLimit'==_0x240fa3||'caseChangeLicenseKeyNotAllowed'==_0x240fa3||'caseChangeLicenseKeyEvaluationLimit'==_0x240fa3||'caseChangeLicenseKeyUsageLimit'==_0x240fa3){delete _0x2e2064[_0x444066],_0x151168=_0x240fa3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'caseChangeLicenseKeyInvalid'==_0x151168&&_0x2e2064['_showLicenseError']('invalid'),'caseChangeLicenseKeyExpired'==_0x151168&&_0x2e2064['_showLicenseError']('expired'),'caseChangeLicenseKeyDomainLimit'==_0x151168&&_0x2e2064['_showLicenseError']('domainLimit'),'caseChangeLicenseKeyNotAllowed'==_0x151168&&_0x2e2064['_showLicenseError']('featureNotAllowed','CaseChange'),'caseChangeLicenseKeyEvaluationLimit'==_0x151168&&_0x2e2064['_showLicenseError']('evaluationLimit'),'caseChangeLicenseKeyUsageLimit'==_0x151168&&_0x2e2064['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_registerComponents'](){const _0x314d4a=this['editor'],{itemDefinitions:_0x27707e,commands:_0x1811df}=this['_getListItemDefinitionsAndCommands']();_0x314d4a['ui']['componentFactory']['add']('caseChange',()=>this['_createDropdownView'](_0x27707e,_0x1811df)),_0x314d4a['ui']['componentFactory']['add']('menuBar:caseChange',()=>this['_createMenuBarMenuView'](_0x27707e,_0x1811df));}['_createMenuBarMenuView'](_0x4424a1,_0x1cf147){const _0x1a2a0b=this['editor'],_0x24922d=_0x1a2a0b['locale'],_0x375324=new ckeditor5['MenuBarMenuView'](_0x24922d),_0x2c68e7=new ckeditor5['MenuBarMenuListView'](_0x24922d);_0x2c68e7['set']({'ariaLabel':getTranslation$g(_0x24922d,'Case\x20change'),'role':'menu'}),this['_setButtonProperties'](_0x375324['buttonView']),_0x375324['bind']('isEnabled')['toMany'](_0x1cf147,'isEnabled',(..._0x147f46)=>_0x147f46['some'](_0x5567da=>_0x5567da));for(const _0x33dfc2 of _0x4424a1){const _0x200e24=new ckeditor5['MenuBarMenuListItemView'](_0x24922d,_0x375324),_0x2650c2=new ckeditor5['MenuBarMenuListItemButtonView'](_0x24922d);_0x2650c2['delegate']('execute')['to'](_0x375324),_0x2650c2['bind'](...Object['keys'](_0x33dfc2['model']))['to'](_0x33dfc2['model']),_0x2650c2['on']('execute',()=>{_0x1a2a0b['execute'](_0x33dfc2['model']['commandName']),_0x1a2a0b['editing']['view']['focus']();}),_0x200e24['children']['add'](_0x2650c2),_0x2c68e7['items']['add'](_0x200e24);}return _0x375324['panelView']['children']['add'](_0x2c68e7),_0x375324;}['_createDropdownView'](_0x4a451d,_0x18006a){const _0x321dfe=this['editor'],_0x157c19=ckeditor5['createDropdown'](_0x321dfe['locale']);return this['_setButtonProperties'](_0x157c19['buttonView']),_0x157c19['buttonView']['set']({'tooltip':!0x0}),_0x157c19['extendTemplate']({'attributes':{'class':['ck-case-change-dropdown']}}),ckeditor5['addListToDropdown'](_0x157c19,_0x4a451d,{'ariaLabel':getTranslation$g(_0x321dfe['locale'],'Case\x20change'),'role':'menu'}),_0x157c19['bind']('isEnabled')['toMany'](_0x18006a,'isEnabled',(..._0x534790)=>_0x534790['some'](_0x21d9eb=>_0x21d9eb)),this['listenTo'](_0x157c19,'execute',_0x452b2b=>{_0x321dfe['execute'](_0x452b2b['source']['commandName']),_0x321dfe['editing']['view']['focus']();}),_0x157c19;}['_setButtonProperties'](_0x382c3e){const _0x4734a5=this['editor'];_0x382c3e['set']({'label':getTranslation$g(_0x4734a5['locale'],'Case\x20change'),'icon':ckeditor5['IconCaseChange'],'keystroke':'Shift+F3'});}['_getListItemDefinitionsAndCommands'](){const _0x529ae7=new ckeditor5['Collection'](),_0x490376=[];for(const _0x332159 of _getOptions(this['editor']['locale'])){const _0xfc9f3=this['editor']['commands']['get'](_0x332159['commandName']),_0x5d6c42=new ckeditor5['UIModel']({'commandName':_0x332159['commandName'],'label':_0x332159['label'],'role':'menuitemradio','withText':!0x0});_0x5d6c42['bind']('isEnabled')['to'](_0xfc9f3,'isEnabled'),_0x529ae7['add']({'type':'button','model':_0x5d6c42}),_0x490376['push'](_0xfc9f3);}return{'itemDefinitions':_0x529ae7,'commands':_0x490376};}}class _0x59bd76 extends ckeditor5['Plugin']{static get['requires'](){return[CaseChangeEditing,_0x5523d5];}static get['pluginName'](){return'CaseChange';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class CommentThreadController extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['model'];['view'];constructor(_0x13fd6c,_0x286378){super(),this['model']=_0x13fd6c,this['model']['_isAttached']=!0x0,this['view']=_0x286378,this['listenTo'](_0x286378,'submitCommentThread',()=>this['submit']()),this['listenTo'](_0x286378,'removeCommentThread',()=>this['remove']()),this['listenTo'](_0x286378,'resolveCommentThread',()=>this['resolve']()),this['listenTo'](_0x286378,'reopenCommentThread',()=>this['reopen']()),this['listenTo'](_0x286378,'addComment',(_0x150d3e,_0x4071c9)=>this['addComment'](_0x4071c9)),this['listenTo'](_0x286378,'updateComment',(_0x51a93c,_0xd1caec,_0x32043c)=>this['updateComment'](_0xd1caec,_0x32043c)),this['listenTo'](_0x286378,'removeComment',(_0xbbd357,_0x1fa5b8)=>this['removeComment'](_0x1fa5b8));}['submit'](){this['model']['submit']();}['remove'](){this['model']['remove']();}['resolve'](){this['model']['isResolved']||this['model']['resolve']();}['reopen'](){this['model']['isResolved']&&this['model']['reopen']();}['addComment'](_0x4f089f){this['model']['addComment']({'content':_0x4f089f,'authorId':this['view']['_localUser']['id']});}['updateComment'](_0x501ae6,_0x281d74){this['model']['getComment'](_0x501ae6)['update']({'content':_0x281d74});}['removeComment'](_0xcc2ac6){this['model']['getComment'](_0xcc2ac6)['remove']();}['destroy'](){this['stopListening'](),this['model']['_isAttached']=!0x1;}}function getTranslation$f(_0x11a125,_0x38fe0c,_0x1591c7){const t=_0x11a125['t'];switch(_0x38fe0c){case'PENDING_ACTION_COMMENT_THREAD':return t({'string':'Unsaved\x20change\x20in\x20comment\x20thread.','id':'PENDING_ACTION_COMMENT_THREAD'});case'Comment':return t('Comment');case'Reply...':return t('Reply...');case'Reply\x20to\x20reopen\x20discussion...':return t('Reply\x20to\x20reopen\x20discussion...');case'Write\x20a\x20comment...':return t('Write\x20a\x20comment...');case'Comment\x20was\x20made\x20on\x20an\x20element':return t('Comment\x20was\x20made\x20on\x20an\x20element');case'Comment\x20editor':return t('Comment\x20editor');case'Delete\x20comment\x20thread?':return t('Delete\x20comment\x20thread?');case'Delete\x20comment?':return t('Delete\x20comment?');case'Marked\x20as\x20resolved':return t('Marked\x20as\x20resolved');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Cancel':return t('Cancel');case'Edit':return t('Edit');case'Resolve':return t('Resolve');case'Reopen':return t('Reopen');case'Remove':return t('Remove');case'Reply':return t('Reply');case'Save':return t('Save');case'Annotations\x20sidebar':return t('Annotations\x20sidebar');case'Annotations\x20list':return t('Annotations\x20list');case'Thread\x20comments':return t('Thread\x20comments');case'THREAD_CONTEXT_LABEL':return t({'string':'Thread\x20context:\x20%0','id':'THREAD_CONTEXT_LABEL'},_0x1591c7);case'COMMENT_THREAD_LABEL':return t({'string':'Comment\x20thread\x20by\x20%1.\x20%1\x20reply.','plural':'Comment\x20thread\x20by\x20%1.\x20%0\x20replies.','id':'COMMENT_THREAD_LABEL'},_0x1591c7);case'COMMENT_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'COMMENT_THREAD_DESCRIPTION'});case'COMMENT_ARIA_LABEL':return t({'string':'Comment\x20by\x20%0.\x20Created\x20on\x20%1.\x20%2.\x20%3','id':'COMMENT_ARIA_LABEL'},_0x1591c7);case'LEAVE_COMMENT_ANNOUNCEMENT':return t({'string':'Leaving\x20a\x20content\x20with\x20comments.','id':'LEAVE_COMMENT_ANNOUNCEMENT'});case'ENTER_COMMENT_ANNOUNCEMENT':return t({'string':'Entering\x20a\x20content\x20with\x20comments.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_COMMENT_ANNOUNCEMENT'},_0x1591c7);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x1591c7);case'TOO_LONG_COMMENT_ALERT':return t({'string':'Comment\x20content\x20is\x20too\x20long.\x20Your\x20comment\x20has\x20%0\x20characters\x20but\x20the\x20limit\x20is\x20%1\x20characters.','id':'TOO_LONG_COMMENT_ALERT'},_0x1591c7);case'EXTERNAL_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20external\x20source.','id':'EXTERNAL_COMMENT'});case'EXTERNAL_IMPORT_WORD_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_COMMENT'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x1591c7);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x1591c7);case'COMMENTS_ARCHIVE':return t({'string':'Comments\x20archive','id':'COMMENTS_ARCHIVE'});case'EMPTY_COMMENTS_ARCHIVE':return t({'string':'There\x20are\x20no\x20archived\x20comment\x20threads.','id':'EMPTY_COMMENTS_ARCHIVE'});case'COMMENTS_ARCHIVE_LIST_LABEL':return t({'string':'List\x20of\x20comments','id':'COMMENTS_ARCHIVE_LIST_LABEL'});case'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':return t({'string':'Keystrokes\x20for\x20interacting\x20with\x20annotation\x20threads\x20(e.g.\x20comments,\x20track\x20changes\x20suggestions)','id':'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'});case'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':return t({'string':'Move\x20focus\x20to\x20the\x20thread\x20when\x20the\x20selection\x20is\x20anchored\x20in\x20its\x20marker','id':'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'});case'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':return t({'string':'Exit\x20the\x20annotation\x20and\x20move\x20focus\x20back\x20to\x20the\x20edited\x20content','id':'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':return t({'string':'Browse\x20the\x20focused\x20annotation\x20thread\x20or\x20thread\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'});case'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':return t({'string':'Move\x20across\x20internals\x20of\x20the\x20annotation\x20thread','id':'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'});case'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':return t({'string':'Submit\x20the\x20reply\x20while\x20writing\x20a\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':return t({'string':'Move\x20to\x20the\x20previous\x20or\x20next\x20thread\x20in\x20the\x20annotations\x20sidebar\x20or\x20comments\x20archive','id':'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'});default:return'';}}class CommentEditorUIView extends ckeditor5['EditorUIView']{['main'];['editable'];constructor(_0x25d286,_0x1e3fbc){super(_0x25d286);const _0x55309a=ckeditor5['uid']();this['main']=this['createCollection'](),this['editable']=new ckeditor5['InlineEditableUIView'](_0x25d286,_0x1e3fbc,void 0x0,{'label':()=>getTranslation$f(_0x25d286,'Comment\x20editor')}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-reset','ck-editor','ck-rounded-corners','ck-comment__input'],'dir':_0x25d286['uiLanguageDirection'],'lang':_0x25d286['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0x55309a},'children':[{'tag':'div','attributes':{'class':'ck-editor__main','role':'presentation'},'children':this['main']}]});}['render'](){super['render'](),this['main']['add'](this['editable']);}['focus'](){this['editable']['element']['focus']();}}class CommentEditorUI extends ckeditor5['EditorUI']{['view'];constructor(_0x3292cd){super(_0x3292cd),this['view']=new CommentEditorUIView(_0x3292cd['locale'],_0x3292cd['editing']['view']);}get['element'](){return this['view']['element'];}['init'](){const _0xe95c46=this['editor']['editing']['view'],_0x26165f=this['view']['editable'],_0x373b31=_0xe95c46['document']['getRoot']();_0x26165f['name']=_0x373b31['rootName'],this['view']['render']();const _0x5234fa=_0x26165f['element'];this['setEditableElement'](_0x26165f['name'],_0x5234fa),this['view']['editable']['bind']('isFocused')['to'](this['focusTracker']),_0xe95c46['attachDomRoot'](_0x5234fa),this['fire']('ready');}['destroy'](){super['destroy'](),this['view']['destroy']();}}const defaultPlugins=[ckeditor5['Clipboard'],ckeditor5['Enter'],ckeditor5['ShiftEnter'],ckeditor5['SelectAll'],ckeditor5['Typing'],ckeditor5['Undo'],ckeditor5['Paragraph']];class CommentEditor extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](ckeditor5['Editor']){static ['defaultPlugins']=/* #__PURE__ -- @preserve */
((()=>defaultPlugins)());constructor(_0x58a0de={}){function _0x594494(_0x3fd009){return _0x3fd009['map'](_0x4f0e59=>String['fromCharCode'](_0x4f0e59))['join']('');}(_0x58a0de=Object['assign']({},_0x58a0de))['plugins']||(_0x58a0de['plugins']=CommentEditor['defaultPlugins']),super(_0x58a0de),this['ui']=new CommentEditorUI(this),this['set']('placeholder',''),this['model']['document']['on']('change',()=>this['_updatePlaceholder'](),{'priority':'low'}),this['on']('change:placeholder',()=>this['_updatePlaceholder']()),this['model']['document']['createRoot'](),this[_0x594494([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x594494([0x76,0x69,0x65,0x77])][_0x594494([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x594494([0x61,0x75,0x74,0x6f]),this[_0x594494([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x594494([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x594494([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x594494([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x594494([0x6f,0x6b])});}['create'](){const _0x19d530=this['config']['get']('initialData')||'';return this['initPlugins']()['then'](()=>this['ui']['init']())['then'](()=>this['data']['init'](_0x19d530))['then'](()=>this['fire']('ready'));}['destroy'](){return super['destroy']()['then'](()=>this['ui']['destroy']());}['focus'](){this['model']['change'](_0x216930=>{const _0x1d20d7=this['model']['document']['getRoot'](),_0x530a87=_0x1d20d7&&_0x1d20d7['getChild'](_0x1d20d7['childCount']-0x1);_0x216930['setSelection'](_0x530a87,'end'),this['editing']['view']['focus']();});}['_updatePlaceholder'](){const _0x45eba0=this['editing']['view'],_0x3b2c5e=_0x45eba0['document']['getRoot'](),_0x3d3ba1=_0x3b2c5e['getChild'](0x0);_0x3b2c5e['childCount']>0x1||!_0x3d3ba1||'p'!=_0x3d3ba1['name']?this['placeholderElement']&&this['placeholderElement']['placeholder']&&(ckeditor5['disableViewPlaceholder'](_0x45eba0,this['placeholderElement']),this['placeholderElement']=void 0x0):(this['placeholder']&&(_0x3d3ba1['placeholder']=this['placeholder']),ckeditor5['enableViewPlaceholder']({'view':_0x45eba0,'element':_0x3d3ba1,'keepOnFocus':!0x0}),this['placeholderElement']=_0x3d3ba1);}}class CommentInputView extends ckeditor5['View']{['keystrokes'];['focusTracker'];['focusables'];['focusCycler'];['submitButtonView'];['cancelButtonView'];['_editorConfig'];constructor(_0x4d59cc,_0x34400b={}){super(_0x4d59cc),this['editor']=null,this['_editorConfig']=_0x34400b,this['set']('value',_0x34400b['initialData']||''),this['set']('disabledSubmit',!0x1),this['set']('showButtons',!0x0),this['set']('placeholder',getTranslation$f(_0x4d59cc,'Reply...')),this['set']('submitLabel',getTranslation$f(_0x4d59cc,'Reply')),this['submitButtonView']=this['_createSubmitButton'](),this['cancelButtonView']=this['_createCancelButton'](),this['focusables']=this['createCollection']([this['submitButtonView'],this['cancelButtonView']]),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['focusTracker']=new ckeditor5['FocusTracker'](),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-comment__input-wrapper']},'children':[{'tag':'div','attributes':{'class':['ck-comment__input-actions',this['bindTemplate']['if']('showButtons','ck-comment__input-actions--active')]},'children':[this['submitButtonView'],this['cancelButtonView']]}]}),this['keystrokes']['set']('Esc',(_0x515c94,_0xca54b)=>{this['cancelButtonView']['fire']('execute'),_0xca54b();}),this['keystrokes']['set']('Ctrl+Enter',(_0x3c2dec,_0x5e9958)=>{this['submitButtonView']['isEnabled']&&(this['submitButtonView']['fire']('execute'),_0x5e9958());}),this['on']('submit',(_0x1a748f,_0x8f520d)=>{_0x8f520d['length']>0xfde8?(alert(getTranslation$f(_0x4d59cc,'TOO_LONG_COMMENT_ALERT',[_0x8f520d['length'],0xfde8])),_0x1a748f['stop']()):this['editor']['setData']('');},{'priority':'high'});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['createEditor'](){return this['editor']||(this['editor']=new CommentEditor(this['_editorConfig']),this['_editorCreationPromise']=this['editor']['create']()['then'](()=>{if(this['_isDestroyed'])return;const _0x2a9ec7=this['editor'];this['element']['insertBefore'](_0x2a9ec7['ui']['element'],this['element']['firstChild']),_0x2a9ec7['model']['document']['on']('change',()=>this['value']=_0x2a9ec7['getData']()),_0x2a9ec7['bind']('placeholder')['to'](this),this['focusables']['add'](_0x2a9ec7['ui']['view'],0x0),this['fire']('editorReady',this['editor']);})),this['_editorCreationPromise'];}['focus'](_0x518ab1){-0x1===_0x518ab1?(this['focusCycler']['focusFirst'](),this['focusCycler']['focusLast']()):this['focusCycler']['focusFirst']();}async['destroy'](){this['_isDestroyed']||(this['_isDestroyed']=!0x0,this['editor']&&(await this['_editorCreationPromise'],await this['editor']['destroy'](),this['fire']('editorDestroyed',this['editor'])),await super['destroy']());}['_createSubmitButton'](){const {locale:_0x55ff09}=this,_0x249b56=new ckeditor5['ButtonView'](_0x55ff09);return _0x249b56['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x249b56['withText']=!0x0,_0x249b56['bind']('label')['to'](this,'submitLabel'),_0x249b56['on']('execute',()=>{this['fire']('submit',this['value']);}),_0x249b56['bind']('isEnabled')['to'](this,'value',this,'disabledSubmit',(_0x4bac32,_0x1ee243)=>!_0x1ee243&&!!_0x4bac32['trim']()),_0x249b56;}['_createCancelButton'](){const {locale:_0xe986b8}=this,_0x4c5d53=new ckeditor5['ButtonView'](_0xe986b8);return _0x4c5d53['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x4c5d53['label']=getTranslation$f(_0xe986b8,'Cancel'),_0x4c5d53['withText']=!0x0,_0x4c5d53['on']('execute',()=>{this['editor']['setData'](''),this['fire']('cancel');}),_0x4c5d53;}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']),this['focusables']['forEach'](_0x34b16d=>{this['focusTracker']['add'](_0x34b16d['element']);}),this['focusables']['on']('change',(_0xa837b1,_0x27b8ea)=>{for(const _0x14fa36 of Array['from'](_0x27b8ea['added'])['reverse']())this['focusTracker']['add'](_0x14fa36['element']);});}}class CommentThreadInputView extends ckeditor5['View']{constructor(_0x50ce83,_0x5ecc84,_0x49dcbe){super(_0x50ce83),this['commentInputView']=new CommentInputView(_0x50ce83,_0x49dcbe),this['focusCycler']=this['commentInputView']['focusCycler'],this['commentInputView']['bind']('showButtons')['to'](this['commentInputView']['focusTracker'],'isFocused',this['commentInputView'],'value',(_0x518dbc,_0x1f29f5)=>_0x518dbc||!!_0x1f29f5),this['set']('showInput',!0x1),this['on']('change:showInput',()=>{this['showInput']&&!this['commentInputView']['editor']&&this['commentInputView']['createEditor']();}),this['commentInputView']['delegate']('editorReady')['to'](this),this['commentInputView']['delegate']('editorDestroyed')['to'](this),this['userView']=new _0xc99411(_0x50ce83,_0x5ecc84),this['userView']['extendTemplate']({'attributes':{'class':'ck-thread__user','aria-hidden':!0x0}}),this['commentInputView']['extendTemplate']({'attributes':{'class':'ck-thread__input'}}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-comment__input-container',this['bindTemplate']['if']('showInput','ck-comment__input-container--active')]},'children':[this['userView'],this['commentInputView']]});}['render'](){super['render'](),this['_focusOnNonInteractiveMouseDown']();}['destroy'](){return this['commentInputView']['destroy']()['then'](()=>super['destroy']());}['focus'](_0x30d9b8){this['commentInputView']['focus'](_0x30d9b8);}['_focusOnNonInteractiveMouseDown'](){this['listenTo'](this['element'],'mousedown',(_0x1bab27,_0x574ec8)=>{const {submitButtonView:_0x200519,cancelButtonView:_0x4652d1,editor:_0x421656}=this['commentInputView'];[_0x200519['element'],_0x4652d1['element'],_0x421656?_0x421656['editing']['view']['getDomRoot']():null]['filter'](_0x16f19d=>_0x16f19d)['some'](_0x31b18e=>_0x31b18e['contains'](_0x574ec8['target']))||(this['focus'](),_0x574ec8['preventDefault']());});}}class CollapsedCommentsView extends ckeditor5['View']{constructor(_0x4b680e){super(_0x4b680e);const _0xb6f263=this['bindTemplate'];this['set']('count',void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0xb6f263['to']('count',_0x3b8377=>getTranslation$f(_0x4b680e,'NUMBER_OF_COMMENTS',_0x3b8377))}]});}}class CommentsListView extends ckeditor5['View']{['commentViews'];['resolvedCommentView'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];['_collapsedCommentsView'];constructor(_0xdc89ff,_0x2e849c,_0x25f4b9){super(_0xdc89ff);const _0x535d15=this['bindTemplate'];this['set']('hasDirtyComment',!0x1),this['set']('length',_0x2e849c['comments']['length']),this['set']('isActive',!0x1),this['_model']=_0x2e849c,this['_config']=_0x25f4b9,this['commentViews']=this['createCollection'](),this['visibleViews']=this['createCollection'](),this['resolvedCommentView']=null,this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['commentViews'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x1b7a2f=>this['commentViews']['map'](_0x466713=>_0x466713['element'])['includes'](_0x1b7a2f['target'])},'actions':{'focusPrevious':'arrowup','focusNext':'arrowdown'}}),this['_collapsedCommentsView']=new CollapsedCommentsView(_0xdc89ff),this['_collapsedCommentsView']['bind']('count')['to'](this,'length',_0x3e4fa3=>_0x3e4fa3-this['_config']['maxCommentsWhenCollapsed']);for(const _0x433ce5 of _0x2e849c['comments'])this['_handleNewCommentModel'](_0x433ce5);this['_handleInfoComment'](),this['listenTo'](_0x2e849c['comments'],'add',(_0x596961,_0x30e1b9)=>{const _0x2135fd=this['_calculatePosition'](_0x30e1b9);this['length']++,this['_handleNewCommentModel'](_0x30e1b9,_0x2135fd),this['refreshVisibleViews']();}),this['listenTo'](_0x2e849c['comments'],'remove',(_0x54750f,_0x392752)=>{this['length']--,this['_handleRemoveCommentModel'](_0x392752),this['refreshVisibleViews']();}),this['listenTo'](_0x2e849c,'commentUpdated',()=>this['refreshVisibleViews']()),this['listenTo'](_0x2e849c,'change:isResolved',()=>this['_handleInfoComment']()),this['on']('change:isActive',()=>this['refreshVisibleViews']()),this['on']('change:hasDirtyComment',()=>this['refreshVisibleViews']()),this['setTemplate']({'tag':'ul','attributes':{'class':['ck-thread__comments',_0x535d15['if']('length','ck-hidden',_0x12b830=>!_0x12b830)],'aria-label':getTranslation$f(_0xdc89ff,'Thread\x20comments')},'children':this['visibleViews']});}get['_shouldCollapse'](){return this['_model']['weight']>this['_config']['maxThreadTotalWeight']&&!this['isActive']&&!this['hasDirtyComment'];}['render'](){super['render'](),this['refreshVisibleViews'](),this['_setupKeyboardNavigation']();}['focus'](_0x86cf45){-0x1===_0x86cf45?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['destroy'](){this['_collapsedCommentsView']['destroy']();for(const _0x1cd362 of this['commentViews'])_0x1cd362['destroy']();super['destroy']();}['refreshVisibleViews'](){this['_shouldCollapse']?this['_rearrangeCollapse']():this['_rearrangeExpand']();}['_handleNewCommentModel'](_0x4e9b75,_0x234966){const _0xa5192d=new this['_config']['CommentView'](this['locale'],_0x4e9b75,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig']});_0xa5192d['viewUid']=_0x4e9b75['id'],_0xa5192d['delegate']('removeComment')['to'](this),_0xa5192d['delegate']('updateComment')['to'](this),_0xa5192d['delegate']('resolveCommentThread')['to'](this),_0xa5192d['delegate']('editorReady')['to'](this),_0xa5192d['delegate']('editorDestroyed')['to'](this),this['listenTo'](_0xa5192d,'change:isEditMode',()=>this['_updateHasDirtyComment']()),this['commentViews']['add'](_0xa5192d,_0x234966);}['_calculatePosition'](_0x28d1fe){const _0x363fbe=this['_model']['_findOptimalIndex'](_0x28d1fe);return this['resolvedCommentView']?this['resolvedCommentView']['authoredAt']>_0x28d1fe['authoredAt']?_0x363fbe-0x1:_0x363fbe:_0x363fbe-0x1;}['_handleInfoComment'](){if(this['_model']['resolvedBy']&&this['_model']['resolvedAt']){const _0x2d982f={'id':'resolved','author':this['_model']['resolvedBy'],'authoredAt':this['_model']['resolvedAt'],'content':getTranslation$f(this['locale'],'Marked\x20as\x20resolved'),'attributes':{}};this['resolvedCommentView']=new this['_config']['CommentView'](this['locale'],_0x2d982f,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig'],'isSystemComment':!0x0}),this['commentViews']['add'](this['resolvedCommentView'],this['_model']['_findOptimalIndex'](_0x2d982f));}else this['resolvedCommentView']&&(this['commentViews']['remove'](this['resolvedCommentView']),this['resolvedCommentView']['destroy'](),this['resolvedCommentView']=null);this['refreshVisibleViews']();}['_handleRemoveCommentModel'](_0x21a05f){const _0x467612=this['commentViews']['remove'](_0x21a05f['id']);this['stopListening'](_0x467612),_0x467612['isEditMode']&&this['_updateHasDirtyComment'](),_0x467612['destroy']();}['_updateHasDirtyComment'](){this['hasDirtyComment']=Array['from'](this['commentViews'])['some'](_0x2b8a02=>_0x2b8a02['isEditMode']);}['_rearrangeCollapse'](){const _0x2a7b02=cloneCollection(this['commentViews']),_0x31c07f=this['_collapsedCommentsView']['count'];for(let _0x12e878=0x1;_0x12e878<=_0x31c07f;_0x12e878++)_0x2a7b02['remove'](0x1);for(const _0x6b6031 of _0x2a7b02)_0x6b6031['collapse']();_0x31c07f>0x0&&_0x2a7b02['add'](this['_collapsedCommentsView'],0x1),applyDiffToCollection(ckeditor5['diff'](Array['from'](this['visibleViews']),Array['from'](_0x2a7b02)),this['visibleViews'],_0x2a7b02);}['_rearrangeExpand'](){applyDiffToCollection(ckeditor5['diff'](Array['from'](this['visibleViews']),Array['from'](this['commentViews'])),this['visibleViews'],this['commentViews']);for(const _0x5bfbd2 of this['visibleViews'])_0x5bfbd2['expand']();}['_setupKeyboardNavigation'](){this['commentViews']['forEach'](_0x41993f=>{this['focusTracker']['add'](_0x41993f['element']),this['keystrokes']['listenTo'](_0x41993f['element']);}),this['commentViews']['on']('change',(_0x1ae3a9,_0x3284cf)=>{for(const _0x2a0e5c of _0x3284cf['removed'])this['focusTracker']['remove'](_0x2a0e5c['element']),this['keystrokes']['stopListening'](_0x2a0e5c['element']);for(const _0x2ba66d of Array['from'](_0x3284cf['added'])['reverse']())this['focusTracker']['add'](_0x2ba66d['element']),this['keystrokes']['listenTo'](_0x2ba66d['element']);});}}function cloneCollection(_0x28af95){const _0x3b3828=new ckeditor5['Collection']();for(const _0x4a2851 of _0x28af95)_0x3b3828['add'](_0x4a2851);return _0x3b3828;}function applyDiffToCollection(_0x1ae9db,_0x3d9fcb,_0x355a7e){let _0x24872a=0x0;for(const _0x4986b6 of _0x1ae9db)switch(_0x4986b6){case'insert':_0x3d9fcb['add'](_0x355a7e['get'](_0x24872a),_0x24872a),_0x24872a++;break;case'delete':_0x3d9fcb['remove'](_0x24872a);break;case'equal':_0x24872a++;}}class CommentThreadHeaderContextView extends ckeditor5['View']{constructor(_0x35b28d){super(_0x35b28d);const _0x2435d8=this['bindTemplate'];this['set']('contextValue',''),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-context__value'],'aria-label':_0x2435d8['to']('contextValue',_0x4695da=>getTranslation$f(_0x35b28d,'THREAD_CONTEXT_LABEL',_0x4695da)),'tabindex':-0x1},'children':[{'text':_0x2435d8['to']('contextValue')}]});}['focus'](){this['element']['focus']();}}const _0x3feabe=0x96;class CommentThreadHeaderView extends ckeditor5['View']{['_model'];['reopenButtonView'];['contextView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0x1efc9e,_0x3148e3){super(_0x1efc9e);const _0x1eb957=this['bindTemplate'];this['_model']=_0x3148e3,this['reopenButtonView']=this['_createReopenButton'](),this['contextView']=this['_createContextView'](),this['focusables']=this['createCollection']([this['contextView'],this['reopenButtonView']]),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['bind']('hasContext')['to'](this['_model'],'context',_0x55f344=>!!_0x55f344),this['bind']('contextValue')['to'](this['_model'],'context',_0x23a25e=>_0x23a25e&&_0x23a25e['value']?this['_trimContextValue'](_0x23a25e['value']):getTranslation$f(this['locale'],'Comment\x20was\x20made\x20on\x20an\x20element')),this['setTemplate']({'tag':'div','attributes':{'class':['ck-thread__header']},'children':[{'tag':'div','attributes':{'class':['ck-context-wrapper']},'children':[{'tag':'div','attributes':{'class':['ck-context',_0x1eb957['if']('hasContext','ck-context--quotes')]},'children':[this['contextView']]}]},{'tag':'div','attributes':{'class':['ck-annotation__actions']},'children':[this['reopenButtonView']]}]});}['render'](){super['render'](),this['_attachContextActions'](),this['_setupKeyboardNavigation']();}['focus'](){this['focusCycler']['focusFirst']();}['_createReopenButton'](){const _0x546a19=new ckeditor5['ButtonView'](this['locale']);return _0x546a19['label']=getTranslation$f(this['locale'],'Reopen'),_0x546a19['tooltip']=getTranslation$f(this['locale'],'Reopen'),_0x546a19['icon']=ckeditor5['IconUndo'],_0x546a19['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x33bb43=>!_0x33bb43),_0x546a19['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x1fa6a7,_0x558629)=>_0x1fa6a7&&_0x558629),_0x546a19['on']('execute',()=>{this['fire']('reopenCommentThread',this['_model']['id']);}),_0x546a19;}['_trimContextValue'](_0x1b18b4){const _0x234099=_0x3feabe-0x3;if(_0x1b18b4['length']<_0x3feabe)return _0x1b18b4;const _0x47527e=_0x1b18b4['lastIndexOf']('\x20',_0x234099);return _0x1b18b4['substring'](0x0,_0x47527e>-0x1?_0x47527e:_0x234099)+'...';}['_attachContextActions'](){const _0x189b19=this['element']['querySelector']('.ck-context'),_0x55c724=_0x189b19['querySelector']('.ck-context__value');this['listenTo'](_0x189b19,'mouseenter',()=>{_0x55c724['offsetWidth']<_0x55c724['scrollWidth']&&_0x189b19['classList']['add']('overlay');}),this['listenTo'](_0x189b19,'mouseleave',()=>{_0x189b19['classList']['remove']('overlay');});}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']);for(const _0x28d567 of this['focusables'])this['focusTracker']['add'](_0x28d567['element']),this['keystrokes']['listenTo'](_0x28d567['element']);}['_createContextView'](){const _0x4e1830=new CommentThreadHeaderContextView(this['locale']);return _0x4e1830['bind']('contextValue')['to'](this),_0x4e1830;}}class BaseCommentThreadView extends ckeditor5['View']{['_model'];['_config'];['commentThreadHeaderView'];['commentThreadInputView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0x5adf1b,_0x237f61,_0x26ff0e,_0xc5e0c7){super(_0x5adf1b),this['set']('isActive',!0x1),this['set']('isDirty',!0x1),this['_model']=_0x237f61,this['_localUser']=_0x26ff0e,this['_config']=_0xc5e0c7,this['commentThreadHeaderView']=new CommentThreadHeaderView(_0x5adf1b,_0x237f61),this['commentThreadHeaderView']['delegate']('reopenCommentThread')['to'](this),this['ariaDescriptionView']=new AriaDescriptionView(_0x5adf1b,getTranslation$f(_0x5adf1b,'COMMENT_THREAD_DESCRIPTION')),this['listenTo'](this,'reopenCommentThread',()=>{this['focus']();}),this['commentsListView']=new CommentsListView(_0x5adf1b,_0x237f61,Object['assign']({'CommentView':this['_config']['CommentView']},_0xc5e0c7)),this['commentsListView']['delegate']('removeComment')['to'](this),this['commentsListView']['delegate']('updateComment')['to'](this),this['commentsListView']['delegate']('resolveCommentThread')['to'](this),this['commentsListView']['delegate']('editorReady')['to'](this),this['commentsListView']['delegate']('editorDestroyed')['to'](this),this['commentsListView']['bind']('isActive')['to'](this),this['listenTo'](this,'resolveCommentThread',()=>{this['focus']();}),this['set']('length',this['commentsListView']['length']),this['bind']('length')['to'](this['commentsListView'],'length'),this['commentThreadInputView']=this['_createCommentThreadInputView'](),this['commentThreadInputView']['delegate']('editorReady')['to'](this),this['commentThreadInputView']['delegate']('editorDestroyed')['to'](this),this['on']('removeComment',()=>this['focus']()),this['bind']('isDirty')['to'](this['commentsListView'],'hasDirtyComment',this['commentThreadInputView']['commentInputView'],'value',(_0x277d72,_0x491c89)=>_0x277d72||!!_0x491c89),this['bind']('isUnlinked')['to'](_0x237f61,'unlinkedAt',_0x385e72=>!!_0x385e72),this['bind']('ariaLabel')['to'](this,'length',_0x1ecd04=>{const _0x2dd0ff=this['_model']['comments']['first']?this['_model']['comments']['first']['author']['name']:this['_localUser']['name'];return getTranslation$f(this['locale'],'COMMENT_THREAD_LABEL',[_0x1ecd04,_0x2dd0ff]);}),this['focusables']=this['createCollection']([this['commentsListView'],this['commentThreadInputView']]),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x3fc4d5=>_0x3fc4d5['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}});}['focus'](){this['element']['focus']();}['render'](){super['render'](),setupThreadKeyboardNavigation(this,this['focusables']);}async['destroy'](){this['isDirty']=!0x1,this['commentsListView']['destroy'](),await this['commentThreadInputView']['destroy'](),super['destroy']();}['_createCommentThreadInputView'](){const _0x1bf8fb=new CommentThreadInputView(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x3a340c=_0x1bf8fb['commentInputView'];return _0x1bf8fb['bind']('showInput')['to'](this,'isActive',this['_model'],'isReadOnly',this['_model'],'canComment',this['_model'],'archivedAt',_0x3a340c,'value',(_0x2c3da5,_0x2da6be,_0x5ca922,_0x3b5af0,_0x37a192)=>!!_0x37a192||!!_0x3b5af0&&_0x5ca922&&!_0x2da6be||_0x2c3da5&&_0x5ca922&&!_0x2da6be),_0x3a340c['bind']('placeholder')['to'](this,'length',this['_model'],'isResolvable',this['_model'],'isResolved',(_0x5b3cae,_0x121584,_0x2bffd0)=>{let _0x1936bb;return _0x1936bb=_0x2bffd0&&_0x121584?'Reply\x20to\x20reopen\x20discussion...':_0x5b3cae?'Reply...':'Write\x20a\x20comment...',getTranslation$f(this['locale'],_0x1936bb);}),_0x3a340c['bind']('submitLabel')['to'](this,'length',_0x3ed1f9=>getTranslation$f(this['locale'],_0x3ed1f9?'Reply':'Comment')),_0x3a340c['on']('submit',(_0x169ea5,_0x4bc0e7)=>{this['fire']('addComment',_0x4bc0e7),this['_model']['isResolved']&&this['_model']['isResolvable']&&this['fire']('reopenCommentThread',this['_model']['id']),this['_model']['isSubmitted']||this['fire']('submitCommentThread');}),_0x3a340c['on']('cancel',()=>{this['focus']();}),_0x3a340c['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x3a340c['on']('cancel',_0x3a4431=>{0x0==this['length']&&(this['fire']('removeCommentThread'),_0x3a4431['stop']());}),this['on']('change:isActive',(_0x59d0f4,_0x3d282a,_0x80ddb1)=>{_0x80ddb1||this['length']||_0x3a340c['value']||this['fire']('removeCommentThread');}),_0x1bf8fb;}}class CommentThreadView extends/* #__PURE__ -- @preserve */
_0x150618(BaseCommentThreadView){['commentThreadChildren'];['containerElement'];['resolveButton'];['_boundFirstCommentView'];constructor(_0x836038,_0x5f2665,_0x49d55b,_0x566c7d){super(_0x836038,_0x5f2665,_0x49d55b,_0x566c7d),this['commentThreadChildren']=this['createCollection']([this['commentsListView'],this['commentThreadInputView'],this['ariaDescriptionView']]),this['set']('actionIndicator',null),this['containerElement']=null,this['_boundFirstCommentView']=null,this['locale']=_0x836038,this['resolveButton']=this['_createResolveButton'](),this['setTemplate'](this['getTemplate']()),this['on']('change:isActive',(_0x794e27,_0x1b4516,_0x381d31)=>{_0x381d31||this['_cancelAllConfirms']();}),this['listenTo'](this['_model'],'change:isReadOnly',(_0x17d89d,_0x2f15b9,_0x1553d0)=>{_0x1553d0&&this['_cancelAllConfirms']();}),this['length']>0x0&&this['_bindFirstCommentView'](),this['listenTo'](this['commentsListView']['commentViews'],'add',()=>{this['_bindFirstCommentView']();});}['getTemplate'](){const _0xc7d381=this['bindTemplate'];return{'tag':'div','attributes':{'class':['ck','ck-thread','ck-reset_all-excluded','ck-rounded-corners',_0xc7d381['if']('isActive','ck-thread--active'),_0xc7d381['if']('isUnlinked','ck-thread--unlinked'),_0xc7d381['to']('actionIndicator',_0x4e2953=>_0x4e2953?'ck-thread--'+_0x4e2953:'')],'data-thread-id':this['_model']['id'],'tabindex':0x0,'role':'listitem','aria-label':_0xc7d381['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id']},'children':[{'tag':'div','attributes':{'class':'ck-thread__container'},'children':this['commentThreadChildren']}]};}['render'](){super['render'](),this['containerElement']=this['element']['querySelector']('.ck-thread__container'),this['_model']['on']('change:archivedAt',()=>{this['_updateArchivedThreadHeader']();}),this['_updateArchivedThreadHeader']();}['_cancelAllConfirms'](){this['cancelConfirm']();for(const _0x2f7130 of this['commentsListView']['commentViews'])_0x2f7130['cancelConfirm']();}['_bindFirstCommentView'](){const {locale:_0x3113a8}=this,_0x20f24b=this['commentsListView']['commentViews']['get'](0x0);_0x20f24b===this['_boundFirstCommentView']||_0x20f24b['isSystemComment']||(this['_boundFirstCommentView']=_0x20f24b,this['unbind']('actionIndicator'),this['bind']('actionIndicator')['to'](_0x20f24b,'actionIndicator',_0x3f4d6f=>'remove'===_0x3f4d6f?'remove':null),_0x20f24b['placeholder']=getTranslation$f(_0x3113a8,'Write\x20a\x20comment...'),_0x20f24b['removeButton']['on']('execute',_0x484395=>{_0x484395['stop'](),this['showConfirm'](getTranslation$f(_0x3113a8,'Delete\x20comment\x20thread?'),this['containerElement'])['then'](()=>{this['fire']('removeCommentThread');});},{'priority':'high'}),this['on']('removeConfirm',()=>{_0x20f24b['focus']();}),_0x20f24b['actionBar']['add'](this['resolveButton'],0x0),_0x20f24b['focusables']['add'](this['resolveButton'],0x0));}['_createResolveButton'](){const _0xf2b48d=new LateFocusButtonView(this['locale']);return _0xf2b48d['label']=getTranslation$f(this['locale'],'Resolve'),_0xf2b48d['tooltip']=getTranslation$f(this['locale'],'Resolve'),_0xf2b48d['icon']=ckeditor5['IconCheck'],_0xf2b48d['extendTemplate']({'attributes':{'class':'ck-comment--resolve'}}),_0xf2b48d['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x5dac59=>!_0x5dac59),_0xf2b48d['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x1390fb,_0x2232e3)=>_0x1390fb&&!_0x2232e3),_0xf2b48d['on']('execute',()=>{this['fire']('resolveCommentThread',this['_model']['id']);}),_0xf2b48d;}['_updateArchivedThreadHeader'](){this['_model']['archivedAt']?this['commentThreadChildren']['has'](this['commentThreadHeaderView'])||(this['commentThreadChildren']['add'](this['commentThreadHeaderView'],0x0),this['focusables']['add'](this['commentThreadHeaderView'],0x0)):this['commentThreadChildren']['has'](this['commentThreadHeaderView'])&&(this['commentThreadChildren']['remove'](this['commentThreadHeaderView']),this['focusables']['remove'](this['commentThreadHeaderView']));}}class CommentContentView extends ckeditor5['View']{constructor(_0x509007){super(_0x509007),this['set']('content',''),this['setTemplate']({'tag':'div','attributes':{'class':['ck-content','ck-comment__content','ck-annotation__content']}});}['render'](){super['render'](),this['on']('change:content',(_0x48447e,_0x477438,_0x19d44d)=>{this['element']['innerHTML']=_0x19d44d;}),this['element']['innerHTML']=this['content'];}}class BaseCommentView extends ckeditor5['View']{['visibleView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];constructor(_0x355d5c,_0x3d798a,_0x411ecb){super(_0x355d5c),this['_model']=_0x3d798a,this['_config']=_0x411ecb,this['isSystemComment']=!!this['_config']['isSystemComment'],this['set']('isEditMode',!0x1),this['set']('isCollapsed',!0x0),this['bind']('ariaLabel')['to'](_0x3d798a,'content',_0x3d798a,'authoredAt',(_0xe711e4,_0x365a64)=>getTranslation$f(_0x355d5c,'COMMENT_ARIA_LABEL',[_0x3d798a['author']['name'],_0x411ecb['formatDateTime'](_0x365a64),new DOMParser()['parseFromString'](_0xe711e4,'text/html')['body']['textContent'],_0x3d798a['isExternal']?this['getExternalCommentNote']():''])),this['ariaDescriptionView']=new AriaDescriptionView(_0x355d5c,getTranslation$f(_0x355d5c,'COMMENT_THREAD_DESCRIPTION')),this['visibleView']=this['createCollection'](),this['visibleView']['add'](this['_createCommentContentView']()),this['focusables']=new ckeditor5['ViewCollection'](),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x54a47c=>_0x54a47c['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}});}['expand'](){this['isCollapsed']=!0x1;}['collapse'](){this['isEditMode']||(this['isCollapsed']=!0x0);}['focus'](){this['element']['focus']();}['render'](){super['render'](),this['_setupKeyboardNavigation']();}async['destroy'](){await this['visibleView']['get'](0x0)['destroy'](),super['destroy']();}['switchToEditMode'](){this['isEditMode']||(this['isEditMode']=!0x0,this['visibleView']['remove'](0x0)['destroy'](),this['visibleView']['add'](this['_createCommentInputView']()));}['switchToDisplayMode'](){this['isEditMode']&&(this['isEditMode']=!0x1,this['visibleView']['remove'](0x0)['destroy'](),this['visibleView']['add'](this['_createCommentContentView']()));}['getExternalCommentNote'](){return'importWord'===this['_model']['attributes']['@external']['source']?getTranslation$f(this['locale'],'EXTERNAL_IMPORT_WORD_COMMENT'):getTranslation$f(this['locale'],'EXTERNAL_COMMENT');}['getUserViewNotificationText'](){return this['_model']['isExternal']?'importWord'===this['_model']['attributes']['@external']['source']?getTranslation$f(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator']['name']):getTranslation$f(this['locale'],'EXTERNAL_AVATAR',this['_model']['creator']['name']):null;}['_createCommentContentView'](){const _0x5a15c3=new CommentContentView(this['locale']);return _0x5a15c3['bind']('content')['to'](this['_model'],'content',this,'isCollapsed',(_0x211d38,_0xa1943c)=>_0xa1943c?trimHtml(_0x211d38,{'limit':this['_config']['maxCommentCharsWhenCollapsed']}):_0x211d38),_0x5a15c3;}['_createCommentInputView'](){this['_config']['editorConfig']||(this['_config']['editorConfig']={}),this['_config']['editorConfig']['initialData']=this['_model']['content'];const _0x2caeeb=new CommentInputView(this['locale'],this['_config']['editorConfig']);return _0x2caeeb['value']=this['_model']['content'],_0x2caeeb['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x2caeeb['submitLabel']=getTranslation$f(this['locale'],'Save'),_0x2caeeb['on']('submit',(_0x86d7af,_0x3a814c)=>{this['fire']('updateComment',this['_model']['id'],_0x3a814c),this['switchToDisplayMode'](),this['focus']();}),_0x2caeeb['on']('cancel',()=>{this['switchToDisplayMode'](),this['focus']();}),_0x2caeeb['once']('editorReady',()=>{_0x2caeeb['focus']();}),_0x2caeeb['createEditor'](),_0x2caeeb['delegate']('editorReady')['to'](this),_0x2caeeb['delegate']('editorDestroyed')['to'](this),_0x2caeeb;}['_setupKeyboardNavigation'](){const _0xe3fdc5=this['element'];this['keystrokes']['listenTo'](_0xe3fdc5);for(const _0x1f9cc8 of this['focusables'])this['focusTracker']['add'](_0x1f9cc8['element']),this['keystrokes']['listenTo'](_0x1f9cc8['element']);this['focusables']['on']('change',(_0x366678,_0x32d0fc)=>{for(const _0x17fc7d of _0x32d0fc['removed'])this['focusTracker']['remove'](_0x17fc7d['element']),this['keystrokes']['stopListening'](_0x17fc7d['element']);for(const _0x19ee95 of _0x32d0fc['added'])this['focusTracker']['add'](_0x19ee95['element']),this['keystrokes']['listenTo'](_0x19ee95['element']);}),this['keystrokes']['set']('enter',(_0x3c96a5,_0x3f3bf9)=>{_0xe3fdc5===_0x3c96a5['target']&&(this['focusCycler']['focusFirst'](),_0x3f3bf9());}),this['keystrokes']['set']('esc',(_0x4f0347,_0x2c5474)=>{_0xe3fdc5!==_0x4f0347['target']&&(this['focus'](),_0x2c5474());});}}class CommentView extends/* #__PURE__ -- @preserve */
_0x150618(BaseCommentView){['actionBar'];['userView'];constructor(_0x5e59a8,_0x36c638,_0x209020){super(_0x5e59a8,_0x36c638,_0x209020),this['set']('actionIndicator',null),this['set']('placeholder',getTranslation$f(_0x5e59a8,'Reply...')),this['bind']('authoredAt')['to'](_0x36c638),this['bind']('resolvedAt')['to'](_0x36c638),this['actionBar']=this['createCollection'](),this['isSystemComment']||(this['editButton']=this['_createEditButton'](),this['removeButton']=this['_createRemoveButton'](),this['items']=this['createCollection'](),this['items']['addMany']([this['editButton'],this['removeButton']]),this['dropdown']=this['_createDropdown'](),this['actionBar']['add'](this['dropdown']),this['focusables']['add'](this['dropdown'])),this['userView']=new _0xc99411(_0x5e59a8,_0x36c638['author'],this['getUserViewNotificationText']()),this['userView']['extendTemplate']({'attributes':{'class':['ck-comment__user','ck-annotation__user'],'aria-hidden':!0x0}}),this['listenTo'](_0x36c638,'change:isRemovable',()=>this['cancelConfirm']()),this['setTemplate'](this['getTemplate']());}['getTemplate'](){const _0x5c25a7=this['bindTemplate'],_0x34eb57=[{'tag':'div','attributes':{'class':['ck-comment__info','ck-annotation__info']},'children':[{'tag':'span','children':[{'text':this['userView']['name']}],'attributes':{'class':['ck-comment__info-name','ck-annotation__info-name'],'data-cke-tooltip-text':this['userView']['name']}},{'tag':'time','attributes':{'datetime':_0x5c25a7['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x5c25a7['to']('authoredAt',_0x5ba28e=>this['_config']['formatDateTime'](_0x5ba28e))}]}]},{'tag':'div','attributes':{'class':['ck-comment__actions','ck-annotation__actions',_0x5c25a7['if']('isEditMode','ck-comment__actions--hidden'),_0x5c25a7['if']('isEditMode','ck-annotation__actions--hidden')]},'children':this['actionBar']},{'tag':'div','attributes':{'class':['ck-annotation__content-wrapper']},'children':this['visibleView']},this['ariaDescriptionView']];return this['_model']['isExternal']&&_0x34eb57['push']({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalCommentNote']()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper'],'tabindex':-0x1,'aria-label':_0x5c25a7['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id'],'role':'listitem'},'children':[{'tag':'div','attributes':{'class':['ck-comment','ck-annotation',_0x5c25a7['if']('isEditMode','ck-comment--edit'),_0x5c25a7['if']('isSystemComment','ck-comment--info'),_0x5c25a7['to']('actionIndicator',_0x147216=>_0x147216?'ck-comment--'+_0x147216:'')],'data-author-id':this['_model']['author']['id'],'data-comment-id':this['_model']['id'],'role':'group'},'children':[this['userView'],{'tag':'div','attributes':{'class':['ck-comment__main','ck-annotation__main']},'children':_0x34eb57}]}]};}['_createEditButton'](){const _0x5c7723=new ckeditor5['ButtonView'](this['locale']);return _0x5c7723['label']=getTranslation$f(this['locale'],'Edit'),_0x5c7723['icon']=ckeditor5['IconPencil'],_0x5c7723['withText']=!0x0,_0x5c7723['extendTemplate']({'attributes':{'class':'ck-comment--edit'}}),_0x5c7723['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x90a0ba=>!_0x90a0ba),_0x5c7723['bind']('isVisible')['to'](this['_model'],'isEditable'),_0x5c7723['on']('execute',()=>this['switchToEditMode']()),_0x5c7723;}['_createRemoveButton'](){const _0x80e946=new ckeditor5['ButtonView'](this['locale']);return _0x80e946['label']=getTranslation$f(this['locale'],'Remove'),_0x80e946['icon']=ckeditor5['IconRemoveComment'],_0x80e946['withText']=!0x0,_0x80e946['extendTemplate']({'attributes':{'class':'ck-comment--remove'}}),_0x80e946['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x54a560=>!_0x54a560),_0x80e946['bind']('isVisible')['to'](this['_model'],'isRemovable'),_0x80e946['on']('execute',()=>{this['showConfirm'](getTranslation$f(this['locale'],'Delete\x20comment?'),this['element'])['then'](()=>{this['fire']('removeComment',this['_model']['id']);});}),_0x80e946;}['_createDropdown'](){const _0x48ce99=ckeditor5['createDropdown'](this['locale'],LateFocusDropdownButtonView),_0x40f72d=_0x48ce99['panelView']['children'],_0x4abdf7=new ckeditor5['ListView'](this['locale']),_0x3b2e5c=_0x48ce99['bindTemplate'];ckeditor5['focusChildOnDropdownOpen'](_0x48ce99,()=>this['items']['find'](_0x39d8da=>_0x39d8da['isVisible'])),_0x48ce99['extendTemplate']({'attributes':{'class':[_0x3b2e5c['if']('isVisible','ck-hidden',_0x15697c=>!_0x15697c)]}});const _0x5769d6=(_0x43d0cf,_0x33b370=-0x1)=>{const _0x1726bf=new ckeditor5['ListItemView'](this['locale']);_0x1726bf['children']['add'](_0x43d0cf);const _0x2626a7=_0x33b370>-0x1?_0x33b370:_0x4abdf7['items']['length'];_0x4abdf7['items']['add'](_0x1726bf,_0x2626a7);const _0x266222=Array['from'](this['items']);_0x48ce99['unbind']('isEnabled','isVisible'),_0x48ce99['bind']('isEnabled')['toMany'](_0x266222,'isEnabled',(..._0x3328b6)=>_0x3328b6['some'](_0x10b6ce=>_0x10b6ce)),_0x48ce99['bind']('isVisible')['toMany'](_0x266222,'isVisible',(..._0x4973a5)=>_0x4973a5['some'](_0x1b85f3=>_0x1b85f3));};_0x48ce99['panelPosition']='sw',_0x48ce99['buttonView']['set']({'label':getTranslation$f(this['locale'],'Show\x20more\x20items'),'icon':ckeditor5['IconThreeVerticalDots']});for(const _0x1341b2 of this['items'])_0x5769d6(_0x1341b2);return _0x40f72d['add'](_0x4abdf7),_0x48ce99['listenTo'](this['items'],'add',(_0x4c2ced,_0x4c431c,_0x37fbc5)=>{_0x5769d6(_0x4c431c,_0x37fbc5);}),_0x48ce99['listenTo'](this['items'],'remove',(_0x4b43ce,_0x5ee273,_0x4f0a58)=>{_0x4abdf7['items']['remove'](_0x4f0a58);}),_0x48ce99;}['_attachActions'](_0x20ad77,_0xa0b239){const _0x1faabd=_0x20ad77&&_0x20ad77['element'];_0x1faabd&&(this['listenTo'](_0x1faabd,'mouseenter',()=>this['actionIndicator']=_0xa0b239),this['listenTo'](_0x1faabd,'focus',()=>this['actionIndicator']=_0xa0b239),this['listenTo'](_0x1faabd,'mouseleave',()=>this['actionIndicator']=null),this['listenTo'](_0x1faabd,'blur',()=>this['actionIndicator']=null));}['_createCommentInputView'](){const _0x1aeebe=super['_createCommentInputView']();return _0x1aeebe['bind']('placeholder')['to'](this),_0x1aeebe;}['render'](){super['render'](),this['_attachActions'](this['editButton'],'edit'),this['_attachActions'](this['removeButton'],'remove');}}function createMutationObserver(_0x10a316){const _0x4ed23c=throttle$1(_0x10a316,0x1e),_0x13c6fd=new MutationObserver(_0x3bb4a1=>{for(const _0x260780 of _0x3bb4a1)('attributes'==_0x260780['type']&&'class'==_0x260780['attributeName']||'childList'==_0x260780['type']||'characterData'==_0x260780['type'])&&_0x4ed23c();});return{'attach'(_0xcea618){_0x13c6fd['observe'](_0xcea618,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x13c6fd['disconnect'](),_0x4ed23c['cancel']();}};}class AnnotationView extends ckeditor5['View']{['focusTracker'];['id'];['keystrokes'];['content'];['mainView'];['_mutationObserver'];constructor(_0x143442,_0x4e0d4b){super(_0x143442),this['id']=ckeditor5['uid'](),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['keystrokes']['set']('Esc',(_0x6d7258,_0x4df930)=>this['fire']('Esc',_0x4df930)),this['set']('targetRect',{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this['set']('height',0x0),this['set']('isActive',!0x1),this['set']('isDirty',!0x1),this['set']('length',0x0),this['set']('type',''),this['_mutationObserver']=createMutationObserver(()=>this['_updateHeight']()),this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this),this['content']['add'](_0x4e0d4b),this['mainView']=_0x4e0d4b;const _0x4edfd3=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-annotation-wrapper','ck-rounded-corners',_0x4edfd3['if']('isActive','ck-annotation-wrapper--active')],'role':'presentation'},'children':this['content']});}['render'](){super['render'](),this['focusTracker']['add'](this['element']),this['keystrokes']['listenTo'](this['element']),this['_mutationObserver']['attach'](this['element']);}['destroy'](){this['content']['clear'](),this['keystrokes']['destroy'](),this['focusTracker']['destroy'](),this['_mutationObserver']['detach'](),super['destroy']();}['focus'](){this['content']['first']&&this['content']['first']['focus']();}['_updateHeight'](){const _0x599541=this['element']['clientHeight'];_0x599541&&(this['height']=_0x599541);}}let Annotation$1=class _0x36bbfa extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['view'];['focusableElements'];['_type'];['_target'];constructor({view:_0x33f898,target:_0x5179e5,type:_0xec6e4e,isVisible:_0xeb9bb4=!0x0}){super(),this['view']=_0x33f898,this['view']['element']||this['view']['render'](),this['_type']=_0xec6e4e,this['_target']=_0x5179e5,_0x36bbfa['_assertCorrectTarget'](this['_getNormalizedTarget']()),this['focusableElements']=new ckeditor5['Collection']([this['view']['element']],{'idProperty':'_id'}),this['focusableElements']['on']('add',(_0x31fc2c,_0x1c7d06)=>{this['view']['focusTracker']['add'](_0x1c7d06);}),this['focusableElements']['on']('remove',(_0x3cd89e,_0x2ff14c)=>{this['view']['focusTracker']['remove'](_0x2ff14c);}),this['set']('isVisible',_0xeb9bb4);}get['type'](){return'function'==typeof this['_type']?this['_type']():this['_type'];}get['innerView'](){return this['view']['mainView'];}get['target'](){const _0x55efb7=this['_getNormalizedTarget']();return _0x36bbfa['_assertCorrectTarget'](_0x55efb7),_0x55efb7;}get['targetRect'](){const _0x3a5c21=this['target'];if(null===_0x3a5c21)return null;if(_0x3a5c21 instanceof ckeditor5['Rect'])return _0x3a5c21;const _0x322f95=_0x3a5c21['filter'](_0x1dab23=>isDomElementVisible(_0x1dab23));return 0x0===_0x322f95['length']?null:new ckeditor5['Rect'](_0x322f95[0x0]['getClientRects']()['item'](0x0));}get['isActive'](){return this['view']['isActive'];}set['isActive'](_0x45a959){this['view']['isActive']=_0x45a959,this['view']['mainView']['isActive']=_0x45a959;}['updateTargetRect'](){this['view']['targetRect']=this['targetRect'];}['destroy'](){this['focusableElements']['stopListening'](),this['focusableElements']['clear'](),this['stopListening']();}['refreshVisibility'](){this['isVisible']=!!this['targetRect'];}static['_assertCorrectTarget'](_0x271534){if(!(null===_0x271534||_0x271534 instanceof ckeditor5['Rect']||Array['isArray'](_0x271534)&&_0x271534['every'](_0x2784d6=>isElement$1(_0x2784d6))))throw new ckeditor5['CKEditorError']('annotation-invalid-target',null,{'target':_0x271534});}['_getNormalizedTarget'](){const _0x46b7b7='function'==typeof this['_target']?this['_target']():this['_target'];return isElement$1(_0x46b7b7)?[_0x46b7b7]:_0x46b7b7;}};function isElement$1(_0x41d496){return null!==_0x41d496&&'object'==typeof _0x41d496&&'nodeType'in _0x41d496&&0x1===_0x41d496['nodeType'];}function isDomElementVisible(_0x200214){if(_0x200214['offsetParent'])return!0x0;return!!_0x200214['getClientRects']()['item'](0x0);}class AnnotationCollection extends ckeditor5['Collection']{['_innerViewToAnnotation'];['_viewToAnnotation'];['_focusTracker'];constructor(_0x570ea2=[]){super(),this['_innerViewToAnnotation']=new Map(),this['_viewToAnnotation']=new Map(),this['_focusTracker']=new ckeditor5['FocusTracker'](),this['_focusTracker']['on']('change:isFocused',(_0x529371,_0x4cfc88,_0x53d40d)=>{_0x53d40d||this['fire']('blur');});for(const _0x207415 of _0x570ea2)this['add'](_0x207415);}get['isFocused'](){return this['_focusTracker']['isFocused'];}['add'](_0xe847b6){if(this['has'](_0xe847b6))throw new ckeditor5['CKEditorError']('annotationcollection-duplicated-item',null);this['_innerViewToAnnotation']['set'](_0xe847b6['innerView'],_0xe847b6),this['_viewToAnnotation']['set'](_0xe847b6['view'],_0xe847b6);for(const _0x3afd03 of _0xe847b6['focusableElements'])this['_focusTracker']['add'](_0x3afd03);this['listenTo'](_0xe847b6['focusableElements'],'add',(_0x1dedda,_0x21c96a)=>{this['_focusTracker']['add'](_0x21c96a);}),this['listenTo'](_0xe847b6['focusableElements'],'remove',(_0x13c109,_0x2770fa)=>{this['_focusTracker']['remove'](_0x2770fa);}),this['listenTo'](_0xe847b6['view']['focusTracker'],'change:isFocused',(_0x4c8067,_0x45d508,_0x420771)=>{_0x420771&&this['fire']('focus',_0xe847b6);}),_0xe847b6['updateTargetRect']();const _0x236c89=this['_getOrderInContent'](_0xe847b6['view']['targetRect']);return super['add'](_0xe847b6,_0x236c89);}['remove'](_0xddbe21){if(!this['has'](_0xddbe21))throw new ckeditor5['CKEditorError']('annotationcollection-not-existing-item',null);this['stopListening'](_0xddbe21['view']['focusTracker']),this['stopListening'](_0xddbe21['focusableElements']);for(const _0xc2cef6 of _0xddbe21['focusableElements'])this['_focusTracker']['remove'](_0xc2cef6);return this['_viewToAnnotation']['delete'](_0xddbe21['view']),this['_innerViewToAnnotation']['delete'](_0xddbe21['innerView']),super['remove'](_0xddbe21);}['getByInnerView'](_0x36279a){return this['_innerViewToAnnotation']['get'](_0x36279a);}['getByView'](_0x5c5bc0){return this['_viewToAnnotation']['get'](_0x5c5bc0);}['destroy'](){super['clear'](),this['stopListening'](),this['_innerViewToAnnotation']['clear'](),this['_viewToAnnotation']['clear'](),this['_focusTracker']['destroy']();}['refreshPositioning'](){for(const _0x39e0d9 of this)_0x39e0d9['updateTargetRect']();this['_sort']();}['_sort'](){const _0x55dfcc=Array['from'](this)['sort']((_0xf0357f,_0x31f7a0)=>elementOffsetComparator(_0xf0357f['view']['targetRect'],_0x31f7a0['view']['targetRect']));for(let _0x2d5c49=_0x55dfcc['length']-0x1;_0x2d5c49>0x0;_0x2d5c49--){const _0x230c6a=_0x55dfcc[_0x2d5c49];_0x2d5c49!==this['getIndex'](_0x230c6a)&&(this['remove'](_0x230c6a),this['add'](_0x230c6a));}}['_getOrderInContent'](_0x181180){let _0x38f787=0x0;if(!_0x181180)return this['length'];for(const _0x154287 of this){const _0x2b8c52=_0x154287['view']['targetRect'];if(_0x2b8c52){if(elementOffsetComparator(_0x181180,_0x2b8c52)<0x0)return _0x38f787;_0x38f787++;}}return _0x38f787;}}function bindAnnotationCollections({source:_0x45e66c,target:_0x7742c2,filter:_0x468c8c}){for(const _0x2e26c5 of _0x45e66c)_0x468c8c(_0x2e26c5)&&_0x7742c2['add'](_0x2e26c5);_0x7742c2['listenTo'](_0x45e66c,'add',(_0x500b9f,_0x609943)=>{_0x468c8c(_0x609943)&&_0x7742c2['add'](_0x609943);}),_0x7742c2['listenTo'](_0x45e66c,'remove',(_0xc90681,_0x4c9ead)=>{_0x7742c2['has'](_0x4c9ead)&&_0x7742c2['remove'](_0x4c9ead);});}function elementOffsetComparator(_0x42dcdc,_0x4e76e0){if(null===_0x42dcdc&&null===_0x4e76e0)return 0x0;if(null===_0x42dcdc)return-0x1;if(null===_0x4e76e0)return 0x1;const _0x28325e=_0x42dcdc['top']-_0x4e76e0['top'];return 0x0==_0x28325e?_0x42dcdc['left']-_0x4e76e0['left']:_0x28325e;}class Annotations extends ckeditor5['ContextPlugin']{['collection'];['_visibleAnnotations'];static get['pluginName'](){return'Annotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x37132f){if(super(_0x37132f),this['collection']=new AnnotationCollection(),this['_visibleAnnotations']=new AnnotationCollection(),this['set']('activeAnnotations',new Set()),this['_bindAnnotationsToVisibleAnnotations'](),_0x37132f instanceof ckeditor5['Editor']){const _0x1beeab=_0x37132f['locale'];_0x37132f['accessibility']['addKeystrokeInfoGroup']({'id':'annotations','label':getTranslation$f(_0x1beeab,'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'),'keystrokes':[{'label':getTranslation$f(_0x1beeab,'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'),'keystroke':'Ctrl+Shift+E'},{'label':getTranslation$f(_0x1beeab,'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'),'keystroke':'Esc'},{'label':getTranslation$f(_0x1beeab,'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'),'keystroke':'Enter'},{'label':getTranslation$f(_0x1beeab,'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'),'keystroke':[['Tab'],['Shift+Tab']]},{'label':getTranslation$f(_0x1beeab,'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'),'keystroke':['Ctrl+Enter']},{'label':getTranslation$f(_0x1beeab,'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'),'keystroke':[['Arrowup'],['Arrowdown']]}]});}this['_setupEnterAnnotationKeystroke'](),this['_setupEscapeAnnotationHandling']();}['add'](_0xb99d44){this['collection']['add'](_0xb99d44);}['remove'](_0x3ab378){this['collection']['remove'](_0x3ab378),_0x3ab378['destroy']();}['refreshVisibility'](){for(const _0x462d9f of this['collection'])_0x462d9f['refreshVisibility']();}['refreshPositioning'](){this['_visibleAnnotations']['refreshPositioning']();}['getByInnerView'](_0x20daf1){return this['collection']['getByInnerView'](_0x20daf1);}['deactivateAll'](){this['fire']('_deactivateAllAnnotations');}['destroy'](){for(const _0x1a5b85 of this['collection'])_0x1a5b85['destroy']();this['_visibleAnnotations']['destroy'](),this['collection']['destroy'](),super['destroy']();}['activate'](_0x4e7ce6){this['fire']('_activateAnnotation',_0x4e7ce6);}['createAnnotation'](_0x57adbf){return new Annotation$1(_0x57adbf);}['createAnnotationView'](_0x3f7a93,_0x2d2f67){return new AnnotationView(_0x3f7a93,_0x2d2f67);}['_addActiveAnnotation'](_0x3c435e){const _0x3fb03e=new Set(this['activeAnnotations']);_0x3fb03e['add'](_0x3c435e),this['activeAnnotations']=_0x3fb03e;}['_removeActiveAnnotation'](_0x558cb5){const _0x18700d=new Set(this['activeAnnotations']);_0x18700d['delete'](_0x558cb5),this['activeAnnotations']=_0x18700d;}['_bindAnnotationsToVisibleAnnotations'](){const _0x234c7b=this['collection'],_0x2c243e=this['_visibleAnnotations'];function _0x1fe10f(_0x3c433c){const _0x28e04a=_0x3c433c['source'];_0x28e04a['isVisible']&&!_0x2c243e['has'](_0x28e04a)?_0x2c243e['add'](_0x28e04a):!_0x28e04a['isVisible']&&_0x2c243e['has'](_0x28e04a)&&_0x2c243e['remove'](_0x28e04a),_0x28e04a['view']['focusTracker']['remove'](_0x28e04a['view']['element']),_0x28e04a['view']['focusTracker']['add'](_0x28e04a['view']['element']);}this['listenTo'](_0x234c7b,'add',(_0x4b5df6,_0x3e01c1)=>{_0x3e01c1['isVisible']&&_0x2c243e['add'](_0x3e01c1),this['listenTo'](_0x3e01c1,'change:isVisible',_0x1fe10f);}),this['listenTo'](_0x234c7b,'remove',(_0x203d17,_0x190daf)=>{_0x2c243e['has'](_0x190daf)&&_0x2c243e['remove'](_0x190daf),this['stopListening'](_0x190daf,'change:isVisible',_0x1fe10f);});}['_setupEnterAnnotationKeystroke'](){const _0x5665b2=_0x1c4611=>{_0x1c4611['on']('ready',()=>{_0x1c4611['keystrokes']['set'](_0x44b17e,(_0xfde68f,_0x3f485b)=>{const _0xda58fd=ckeditor5['first'](this['activeAnnotations']['values']());_0xda58fd&&(_0xda58fd['view']['focus'](),_0x3f485b());});});};this['context']instanceof ckeditor5['Editor']?_0x5665b2(this['context']):this['context']['editors']&&this['context']['editors']['on']('add',(_0x48b371,_0x2b206f)=>{_0x5665b2(_0x2b206f);});}['_setupEscapeAnnotationHandling'](){const _0x3af843=_0x312a7d=>{const _0x3ade1b=_0x312a7d['source'],_0x68f6f8=[];let _0x31ad58;if(Array['isArray'](_0x3ade1b['target'])){_0x31ad58=_0x3ade1b['target'][0x0],this['context']instanceof ckeditor5['Editor']?_0x68f6f8['push'](this['context']):this['context']['editors']&&_0x68f6f8['push'](...this['context']['editors']);for(const _0x50b2b4 of _0x68f6f8)for(const _0x1ecbc4 of _0x50b2b4['editing']['view']['domRoots']['values']())if(_0x1ecbc4['contains'](_0x31ad58))return void _0x50b2b4['editing']['view']['focus']();_0x31ad58['focus']();}};this['listenTo'](this['collection'],'add',(_0x4abecd,_0x621a25)=>{this['listenTo'](_0x621a25,'escape',_0x3af843,{'priority':'low'});}),this['listenTo'](this['collection'],'remove',(_0x55fa5c,_0x3455aa)=>{this['stopListening'](_0x3455aa,'escape',_0x3af843);});}}const _0x25d08f=Symbol('noChannel'),defaultPermissions={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};class CommentsRepository extends ckeditor5['ContextPlugin']{['_threads'];['_threadToController'];['_viewToController'];static get['requires'](){return[Annotations,ckeditor5['PendingActions'],_0x17009e];}static get['pluginName'](){return'CommentsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x9fa1e5){super(_0x9fa1e5),this['_threads']=new Map(),this['_threadToController']=new Map(),this['_viewToController']=new Map(),this['set']('_readOnlyChannels',new Set()),this['set']('_permissions',new Map());const _0x5e19e5=this['context']['config'];_0x5e19e5['define']('comments.maxCommentsWhenCollapsed',0x2),_0x5e19e5['define']('comments.maxThreadTotalWeight',0x1f4),_0x5e19e5['define']('comments.maxCommentCharsWhenCollapsed',0x8c),_0x5e19e5['define']('comments.CommentThreadView',CommentThreadView),_0x5e19e5['define']('comments.CommentView',CommentView),_0x5e19e5['get']('comments.editorConfig')||console['warn']('Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.');}['init'](){const _0x226c11=this['context']['plugins']['get'](Annotations);this['set']('activeCommentThread',null),this['on']('addCommentThread',(_0x4219b8,_0x28558d)=>this['_addCommentThread'](_0x28558d)),this['on']('submitCommentThread',(_0x1d48dc,_0x2355b3)=>this['_submitCommentThread'](_0x2355b3)),this['on']('resolveCommentThread',(_0x26c860,_0x5a27a7)=>this['_resolveCommentThread'](_0x5a27a7)),this['on']('resolveCommentThread',(_0x409233,_0x4b7592)=>this['_updateActiveAnnotation'](_0x4b7592),{'priority':'lowest'}),this['on']('reopenCommentThread',(_0x5f15e2,_0x4ba0c1)=>this['_reopenCommentThread'](_0x4ba0c1)),this['on']('reopenCommentThread',(_0x5ac8b9,_0x2af331)=>this['_updateActiveAnnotation'](_0x2af331),{'priority':'lowest'}),this['on']('removeCommentThread',(_0x3043bc,_0x117b7a)=>this['_removeCommentThread'](_0x117b7a)),this['on']('updateCommentThread',(_0x11a6a2,_0x29eb43)=>this['_updateCommentThread'](_0x29eb43)),this['on']('updateCommentThread',(_0xf5c69e,_0x275871)=>this['_updateActiveAnnotation'](_0x275871),{'priority':'lowest'}),this['on']('addComment',(_0x5a8afe,_0x940325)=>this['_addComment'](_0x940325)),this['on']('updateComment',(_0x13e6e8,_0x542c35)=>this['_updateComment'](_0x542c35)),this['on']('removeComment',(_0x279904,_0xc69330)=>this['_removeComment'](_0xc69330)),this['on']('addComment',(_0x1a8632,{threadId:_0x3ead72,isFromAdapter:_0x259e63})=>{if(_0x259e63)return;const _0x19ae60=this['getCommentThread'](_0x3ead72),_0x46e308=_0x19ae60&&this['_threadToController']['get'](_0x19ae60);_0x46e308&&_0x46e308['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['listenTo'](_0x226c11,'change:activeAnnotations',(_0x50123f,_0x2c184d,_0x33b4f8)=>{const _0x190780=Array['from'](_0x33b4f8)['map'](_0x22de18=>this['_viewToController']['get'](_0x22de18['innerView']))['filter'](Boolean)[0x0];this['activeCommentThread']=_0x190780?_0x190780['model']:null;});}set['adapter'](_0x11509d){if(this['_adapter'])throw new ckeditor5['CKEditorError']('commentsrepository-adapter-already-set');this['_adapter']=_0x11509d;}get['adapter'](){return this['_adapter'];}['addCommentThread']({channelId:_0x357521=_0x25d08f,threadId:_0x452046=ckeditor5['uid'](),comments:_0x19c886=[],unlinkedAt:_0x3e67a1=null,resolvedAt:_0x127612=null,resolvedBy:_0x20cd22=null,target:_0x1a8957=null,context:_0x5039d8=null,attributes:_0x321d3c={},isResolvable:_0x5bc048=!0x0,isSubmitted:_0xd11708=!0x1,isFromAdapter:_0x10b645=!0x1}={}){return this['fire'](toEventName('addCommentThread',_0x357521),{'channelId':_0x357521,'threadId':_0x452046,'comments':_0x19c886,'unlinkedAt':_0x3e67a1,'resolvedAt':_0x127612,'resolvedBy':_0x20cd22,'target':_0x1a8957,'context':_0x5039d8,'attributes':_0x321d3c,'isFromAdapter':_0x10b645,'isResolvable':_0x5bc048,'isSubmitted':_0xd11708}),this['getCommentThread'](_0x452046);}['openNewCommentThread']({channelId:_0x289e71=_0x25d08f,threadId:_0x344970=ckeditor5['uid'](),target:_0x2ab93d,context:_0x5304a2=null,isResolvable:_0x2b4ab3=!0x0}){if(this['_readOnlyChannels']['has'](_0x289e71)||this['_readOnlyChannels']['has'](void 0x0))return null;if(!_0x2ab93d)throw new ckeditor5['CKEditorError']('commentsrepository-missing-target');const _0x21643d=this['addCommentThread']({'channelId':_0x289e71,'threadId':_0x344970,'target':_0x2ab93d,'context':_0x5304a2,'isResolvable':_0x2b4ab3});if(!_0x21643d)return null;const _0x22729b=this['_threadToController']['get'](_0x21643d),_0x47d540=_0x22729b['view']['commentThreadInputView']['commentInputView'],_0x2ec76e=this['context']['plugins']['get'](Annotations),_0x5320a6=_0x2ec76e['getByInnerView'](_0x22729b['view']);return _0x2ec76e['activate'](_0x5320a6),_0x47d540['once']('editorReady',()=>_0x47d540['focus']()),_0x21643d;}['hasCommentThread'](_0x2707ee){if('string'!=typeof _0x2707ee)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-thread-id');return this['_threads']['has'](_0x2707ee);}['updateCommentThread']({channelId:_0x3c4f1a=_0x25d08f,threadId:_0x467130,context:_0x5f39e9,unlinkedAt:_0x4a6b1b,attributes:_0x2c4bf4,isFromAdapter:_0x26b603=!0x1}){return this['fire'](toEventName('updateCommentThread',_0x3c4f1a),{'channelId':_0x3c4f1a,'threadId':_0x467130,'context':_0x5f39e9,'unlinkedAt':_0x4a6b1b,'attributes':_0x2c4bf4,'isFromAdapter':_0x26b603}),this['getCommentThread'](_0x467130);}['getCommentThread'](_0xf6c64f){if('string'!=typeof _0xf6c64f)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-thread-id');return this['_threads']['get'](_0xf6c64f);}['fetchCommentThread']({channelId:_0x4d56e9,threadId:_0x60d0b5}={}){const _0x3241ca=this['getCommentThread'](_0x60d0b5);if(_0x3241ca)return Promise['resolve'](_0x3241ca);if(!this['adapter'])return Promise['resolve'](void 0x0);if('function'!=typeof this['adapter']['getCommentThread'])throw new ckeditor5['CKEditorError']('commentsrepository-missing-thread-and-adapter-method',this['context']);return this['adapter']['getCommentThread']({'channelId':_0x4d56e9,'threadId':_0x60d0b5})['then'](_0x2cd580=>this['hasCommentThread'](_0x60d0b5)?this['getCommentThread'](_0x60d0b5):_0x2cd580?this['addCommentThread'](Object['assign']({'isFromAdapter':!0x0,'channelId':_0x4d56e9},_0x2cd580)):void 0x0)['catch'](_0x446b03=>{throw console['error'](_0x446b03),new ckeditor5['CKEditorError']('commentsrepository-fetch-comment-thread',this['context']);});}['getCommentThreads']({channelId:_0xc54f77,skipNotAttached:_0x3994a5=!0x1,skipEmpty:_0x34bcfd=!0x1,toJSON:_0x35ace0=!0x1}={}){const _0x44b26d=[];for(const _0x22adbb of this['_threads']['values']())_0xc54f77&&_0x22adbb['channelId']!==_0xc54f77||_0x3994a5&&!_0x22adbb['isAttached']||_0x34bcfd&&0x0===_0x22adbb['length']||_0x44b26d['push'](_0x22adbb);return _0x35ace0?_0x44b26d['map'](_0x1b1fb7=>_0x1b1fb7['toJSON']()):_0x44b26d;}['getAnnotationForCommentThread'](_0x3d65a7){const _0x382eea=this['_threadToController']['get'](_0x3d65a7);if(!_0x382eea)return null;return this['context']['plugins']['get'](Annotations)['getByInnerView'](_0x382eea['view'])||null;}['getCommentThreadForAnnotation'](_0x5946ca){const _0xce1ac7=this['_viewToController']['get'](_0x5946ca['innerView']);return _0xce1ac7?_0xce1ac7['model']:null;}['setActiveCommentThread'](_0x32aba7){const _0x1aa465=this['context']['plugins']['get'](Annotations);if(!_0x32aba7)return void(this['activeCommentThread']&&_0x1aa465['deactivateAll']());const _0x158532=this['getCommentThread'](_0x32aba7);if(!_0x158532)throw new ckeditor5['CKEditorError']('commentsrepository-active-missing-comment-thread',null,{'threadId':_0x32aba7});if(!this['_threadToController']['has'](_0x158532))throw new ckeditor5['CKEditorError']('commentsrepository-active-not-attached',null,{'threadId':_0x32aba7});const _0x3eb699=_0x1aa465['getByInnerView'](this['_threadToController']['get'](_0x158532)['view']);_0x1aa465['activate'](_0x3eb699);}['switchReadOnly'](_0x429fb9,_0x3376a5){_0x429fb9?this['_readOnlyChannels']['add'](_0x3376a5):this['_readOnlyChannels']['delete'](_0x3376a5),this['fire']('change:_readOnlyChannels','_readOnlyChannels',this['_readOnlyChannels'],this['_readOnlyChannels']);}['isReadOnly'](_0x3ca761){return this['_readOnlyChannels']['has'](_0x3ca761)||this['_readOnlyChannels']['has'](void 0x0);}['createCommentThreadController'](_0x5a927f,_0x3430d5){return new CommentThreadController(_0x5a927f,_0x3430d5);}['setPermissions'](_0x59a967,_0x359adb=_0x25d08f){this['_permissions']['set'](_0x359adb,_0x59a967),this['fire']('change:_permissions','_permissions',this['_permissions'],this['_permissions']);}['getPermissions'](_0x199d35=_0x25d08f){return this['_permissions']['has'](_0x199d35)?this['_permissions']['get'](_0x199d35):defaultPermissions;}['_addCommentThread']({channelId:_0x256e9e,threadId:_0x233c9e,comments:_0x1ae42c,unlinkedAt:_0x1cbb6b,resolvedAt:_0x37e58a,resolvedBy:_0xd81d3,target:_0x281045,context:_0x4e871c,attributes:_0x3ee8fe,isFromAdapter:_0x5450e0,isResolvable:_0x5d71f6,isSubmitted:_0x526ad8}){if('string'!=typeof _0x233c9e)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x233c9e});if(this['hasCommentThread'](_0x233c9e))throw new ckeditor5['CKEditorError']('commentsrepository-duplicated-comment-thread-id',null,{'threadId':_0x233c9e});const _0x52fcf3=new CommentThread(this,{'channelId':_0x256e9e,'id':_0x233c9e,'context':_0x4e871c,'attributes':_0x3ee8fe,'unlinkedAt':_0x1cbb6b,'resolvedAt':_0x37e58a,'resolvedBy':_0xd81d3?this['context']['plugins']['get'](_0x17009e)['getUser'](_0xd81d3):null,'isResolvable':_0x5d71f6,'isSubmitted':_0x526ad8||_0x5450e0});this['_threads']['set'](_0x233c9e,_0x52fcf3);for(const _0x5c52d8 of _0x1ae42c)_0x52fcf3['_add'](this['_createNewComment']({'threadId':_0x233c9e,..._0x5c52d8}));return _0x281045&&_0x52fcf3['attachTo'](_0x281045),_0x5450e0||!_0x52fcf3['length']?Promise['resolve']():this['_submitCommentThread']({'channelId':_0x256e9e,'threadId':_0x233c9e});}['_submitCommentThread']({channelId:_0x2721ec,threadId:_0x239e8d}){if(!this['hasCommentThread'](_0x239e8d))throw new ckeditor5['CKEditorError']('commentsrepository-missing-comment-thread',this);const _0x5d5bd0=this['getCommentThread'](_0x239e8d);if(_0x5d5bd0['_isSubmitted']=!0x0,!this['adapter']||'function'!=typeof this['adapter']['addCommentThread'])return Promise['resolve']();const {id:_0x1ecbe6,comments:_0x10f9ff,resolvedAt:_0x158afd,resolvedBy:_0x141679,context:_0x444142,attributes:_0x158498}=_0x5d5bd0,_0x5edfd7=this['context']['plugins']['get']('PendingActions'),_0x4a05c5=_0x5edfd7['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['addCommentThread']({'channelId':_0x2721ec,'threadId':_0x1ecbe6,'comments':_0x10f9ff['map'](_0x28eae8=>_0x28eae8['toJSON']()),'resolvedAt':_0x158afd,'resolvedBy':_0x141679?_0x141679['id']:_0x141679,'context':_0x444142,'attributes':_0x158498})['then'](({comments:_0x4cacc2})=>{_0x5edfd7['remove'](_0x4a05c5);for(const _0x8fb7fe of _0x4cacc2)this['_updateComment']({'channelId':_0x2721ec,'threadId':_0x239e8d,'commentId':_0x8fb7fe['commentId'],'createdAt':_0x8fb7fe['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x115e16=>{throw console['error'](_0x115e16),new ckeditor5['CKEditorError']('commentsrepository-add-comment-thread-internal-error',this);});}['_attachCommentThread']({threadId:_0x5c0f98,target:_0x500f64}){const _0x56af67=this['getCommentThread'](_0x5c0f98);if(!_0x56af67)throw new ckeditor5['CKEditorError']('commentsrepository-attach-missing-comment-thread',this);const _0x291c98=this['context']['plugins']['get']('PendingActions'),_0x509886=this['context']['plugins']['get'](Annotations),_0x4f4531=this['_createCommentThreadView'](_0x56af67),_0x343312=new CommentThreadController(_0x56af67,_0x4f4531);let _0x2e407d=null;_0x4f4531['on']('change:isDirty',(_0x49e84d,_0x22530c,_0x4ee6e1)=>{_0x4ee6e1?_0x2e407d=_0x291c98['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD')):_0x2e407d&&(_0x291c98['remove'](_0x2e407d),_0x2e407d=null);}),this['_threadToController']['set'](_0x56af67,_0x343312),this['_viewToController']['set'](_0x4f4531,_0x343312);const _0x1b51d5=new AnnotationView(this['context']['locale'],_0x4f4531);_0x1b51d5['bind']('length')['to'](_0x4f4531),_0x1b51d5['bind']('isDirty')['to'](_0x4f4531,'isDirty',_0x4f4531,'length',(_0x28e7e2,_0x48436a)=>_0x28e7e2||!_0x48436a),_0x1b51d5['bind']('isActive')['to'](_0x4f4531),_0x1b51d5['type']='comment';const _0x66ba6f=new Annotation$1({'view':_0x1b51d5,'target':_0x500f64,'type':'comment','isVisible':!_0x56af67['archivedAt']&&!!('function'==typeof _0x500f64?_0x500f64():_0x500f64)});return _0x4f4531['on']('escape',()=>{_0x66ba6f['fire']('escape');}),this['_bindAnnotationToEditors'](_0x4f4531,_0x66ba6f),_0x509886['add'](_0x66ba6f),_0x66ba6f;}['_bindAnnotationToEditors'](_0x2b2d6a,_0x113492){this['listenTo'](_0x2b2d6a,'editorReady',(_0x5e7a0,_0x5315be)=>{const _0x57726c=_0x5315be['ui']['view']['body']['bodyCollectionContainer'];_0x113492['focusableElements']['add'](_0x57726c),this['context']instanceof ckeditor5['Editor']&&this['context']['ui']['focusTracker']['add'](_0x57726c);},{'priority':'highest'}),this['listenTo'](_0x2b2d6a,'editorDestroyed',(_0x2e7bf6,_0x2af3dc)=>{const _0x234c6c=_0x2af3dc['ui']['view']['body']['bodyCollectionContainer'];_0x113492['focusableElements']['has'](_0x234c6c)&&_0x113492['focusableElements']['remove'](_0x234c6c),this['context']instanceof ckeditor5['Editor']&&this['context']['ui']['focusTracker']['remove'](_0x234c6c);});}['_unbindEditors'](_0x42ef10){this['stopListening'](_0x42ef10,'editorReady'),this['stopListening'](_0x42ef10,'editorDestroyed');}['_createCommentThreadView'](_0x354088){const _0x38c197=this['context']['plugins']['get'](_0x17009e),{config:_0x1ee878,locale:_0x29f5d5}=this['context'],_0x390d3f=getDateTimeFormatter(_0x1ee878['get']('locale'),_0x29f5d5);return new(0x0,(_0x1ee878['get']('comments'))['CommentThreadView'])(_0x29f5d5,_0x354088,_0x38c197['me'],{'editorConfig':{..._0x1ee878['get']('comments.editorConfig'),'licenseKey':this['context']['config']['get']('licenseKey')},'copyMarkers':_0x1ee878['get']('comments.copyMarkers'),'maxCommentsWhenCollapsed':_0x1ee878['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x1ee878['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x1ee878['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':_0x390d3f,'CommentView':_0x1ee878['get']('comments')['CommentView']});}['_resolveCommentThread']({threadId:_0x32a7ab,channelId:_0x2a6d8d,resolvedAt:_0x4729ac,resolvedBy:_0x363c14,isFromAdapter:_0x36d63c}){if(!this['hasCommentThread'](_0x32a7ab))throw new ckeditor5['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0x32a7ab});const _0x4a8864=this['getCommentThread'](_0x32a7ab);if(_0x4a8864['isResolved'])throw new ckeditor5['CKEditorError']('commentsrepository-resolved-comment-thread',null,{'threadId':_0x32a7ab});const _0x1484c3=this['context']['plugins']['get'](_0x17009e);if(_0x4a8864['resolvedBy']=_0x1484c3['getUser'](_0x363c14),_0x4a8864['resolvedAt']=_0x4729ac,_0x36d63c||!this['adapter']||'function'!=typeof this['adapter']['resolveCommentThread'])return Promise['resolve']();const _0x1d0d84=this['context']['plugins']['get']('PendingActions'),_0x31335f=_0x1d0d84['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['resolveCommentThread']({'channelId':_0x2a6d8d,'threadId':_0x32a7ab})['then'](({resolvedAt:_0x5b3693,resolvedBy:_0x4106c7})=>{_0x1d0d84['remove'](_0x31335f),_0x4a8864['resolvedBy']['id']!==_0x4106c7&&(_0x4a8864['resolvedBy']=_0x1484c3['getUser'](_0x4106c7)),_0x4a8864['resolvedAt']=_0x5b3693;})['catch'](_0x184b67=>{throw console['error'](_0x184b67),new ckeditor5['CKEditorError']('commentsrepository-resolve-comment-thread-internal-error',this);});}['_reopenCommentThread']({threadId:_0x41f18b,channelId:_0x3a7201,isFromAdapter:_0x307010}){if(!this['hasCommentThread'](_0x41f18b))throw new ckeditor5['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0x41f18b});const _0x100751=this['getCommentThread'](_0x41f18b);if(!_0x100751['isResolved'])throw new ckeditor5['CKEditorError']('commentsrepository-reopen-comment-thread',null,{'threadId':_0x41f18b});if(_0x100751['resolvedBy']=null,_0x100751['resolvedAt']=null,_0x307010||!this['adapter']||'function'!=typeof this['adapter']['reopenCommentThread'])return Promise['resolve']();const _0x4aa301=this['context']['plugins']['get']('PendingActions'),_0x194344=_0x4aa301['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['reopenCommentThread']({'channelId':_0x3a7201,'threadId':_0x41f18b})['then'](()=>_0x4aa301['remove'](_0x194344))['catch'](_0x703b13=>{throw console['error'](_0x703b13),new ckeditor5['CKEditorError']('commentsrepository-reopen-comment-thread-internal-error',this);});}['_removeCommentThread']({threadId:_0x4ad602,isFromAdapter:_0x112e68}){const _0x3fed56=this['getCommentThread'](_0x4ad602);if(!_0x3fed56)throw new ckeditor5['CKEditorError']('commentsrepository-remove-missing-comment-thread',this);if(this['_detachCommentThread'](_0x4ad602),this['_threads']['delete'](_0x4ad602),!_0x3fed56['isSubmitted']||_0x112e68||!this['adapter']||'function'!=typeof this['adapter']['removeCommentThread'])return Promise['resolve']();const _0x5e5465=this['context']['plugins']['get']('PendingActions'),{channelId:_0x2360d6}=_0x3fed56,_0x3e6329=_0x5e5465['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeCommentThread']({'channelId':_0x2360d6,'threadId':_0x4ad602})['then'](()=>_0x5e5465['remove'](_0x3e6329))['catch'](_0x20098e=>{throw console['error'](_0x20098e),new ckeditor5['CKEditorError']('commentsrepository-remove-comment-thread-internal-error',this);});}['_updateCommentThread']({threadId:_0x46f821,unlinkedAt:_0x2438c3,context:_0x38e682,attributes:_0x269e08,isFromAdapter:_0x36e9d0}){if('string'!=typeof _0x46f821)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x46f821});if(!this['hasCommentThread'](_0x46f821))throw new ckeditor5['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0x46f821});const _0x4d5379=this['getCommentThread'](_0x46f821);let _0x55adee=!0x1;if(void 0x0!==_0x38e682&&_0x4d5379['context']!==_0x38e682&&(_0x4d5379['context']=_0x38e682,_0x55adee=!0x0),void 0x0!==_0x2438c3&&_0x4d5379['unlinkedAt']!==_0x2438c3&&(_0x4d5379['unlinkedAt']=_0x2438c3,_0x55adee=!0x0),_0x269e08&&!_0x295436(_0x269e08,_0x4d5379['attributes'])&&(_0x4d5379['attributes']=_0x269e08,_0x55adee=!0x0),!_0x55adee)return Promise['resolve']();if(!_0x4d5379['isSubmitted']||_0x36e9d0||!this['adapter']||'function'!=typeof this['adapter']['updateCommentThread'])return Promise['resolve']();const _0xb3bc5=this['context']['plugins']['get']('PendingActions'),{channelId:_0x4da4d5}=_0x4d5379,_0x426610=_0xb3bc5['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateCommentThread']({'channelId':_0x4da4d5,'threadId':_0x46f821,'context':_0x38e682,'unlinkedAt':_0x2438c3,'attributes':_0x269e08})['then'](()=>_0xb3bc5['remove'](_0x426610))['catch'](_0x4f2aec=>{throw console['error'](_0x4f2aec),new ckeditor5['CKEditorError']('commentsrepository-update-comment-thread-internal-error',this);});}['_detachCommentThread'](_0x3ecf2b){const _0x5df11=this['context']['plugins']['get'](Annotations),_0x1c3925=this['getCommentThread'](_0x3ecf2b);if(_0x1c3925['_isAttached']=!0x1,this['_threadToController']['has'](_0x1c3925)){const _0x188b19=this['_threadToController']['get'](_0x1c3925),_0x58977d=_0x188b19['view'],_0x321791=_0x5df11['getByInnerView'](_0x58977d);this['_threadToController']['delete'](_0x1c3925),this['_viewToController']['delete'](_0x58977d),_0x321791&&_0x5df11['remove'](_0x321791),_0x188b19['destroy'](),_0x58977d['destroy']()['then'](()=>{this['_unbindEditors'](_0x58977d);});}}['_updateActiveAnnotation']({threadId:_0x51f6bf,resolvedAt:_0x314ae4,unlinkedAt:_0x3cc746}){const _0xd49dd7=!!_0x314ae4,_0x54b52d=this['context']['plugins']['get'](Annotations),_0x3e3608=this['getCommentThread'](_0x51f6bf);if(this['_threadToController']['has'](_0x3e3608)){const _0x528196=this['_threadToController']['get'](_0x3e3608)['view'],_0x312ed2=_0x54b52d['getByInnerView'](_0x528196);_0x312ed2&&(_0xd49dd7&&_0x54b52d['_removeActiveAnnotation'](_0x312ed2),_0x3cc746?_0x312ed2['isVisible']=!0x1:_0x312ed2['refreshVisibility']());}}['_getExternalAuthor'](_0x3a363a){const _0x4a28c4=this['context']['plugins']['get'](_0x17009e),_0x23172f=hashObject('external:'+_0x3a363a),_0x2b89b5=_0x4a28c4['getUser'](_0x23172f);return _0x2b89b5||_0x4a28c4['addUser']({'id':_0x23172f,'name':_0x3a363a});}['_createNewComment']({threadId:_0x3ea07a,commentId:_0x2ec7d9=ckeditor5['uid'](),content:_0x2577ea,authorId:_0x22c866,createdAt:_0x4e80b4,attributes:_0x2d3aaf}){if('string'!=typeof _0x2ec7d9)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-commentid');if('string'!=typeof _0x22c866)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-authorid');if('string'!=typeof _0x2577ea||!_0x2577ea['trim']())throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-content');const _0x32bb14=this['context']['plugins']['get'](_0x17009e)['getUser'](_0x22c866);if(!_0x32bb14)throw new ckeditor5['CKEditorError']('commentsrepository-add-comment-user-not-exists',null,{'authorId':_0x22c866});let _0x11f44d=null,_0x55c780=_0x4e80b4;return _0x2d3aaf?.['@external']&&(_0x11f44d=this['_getExternalAuthor'](_0x2d3aaf['@external']['authorName']),_0x55c780=new Date(_0x2d3aaf['@external']['createdAt'])),new Comment(this,{'threadId':_0x3ea07a,'id':_0x2ec7d9,'author':_0x11f44d||_0x32bb14,'creator':_0x32bb14,'content':_0x2577ea,'createdAt':_0x4e80b4,'authoredAt':_0x55c780,'attributes':_0x2d3aaf});}['_addComment'](_0x3095f4){let {threadId:_0x38b519,content:_0x5c1747,attributes:_0x119f1a,isFromAdapter:_0x597d12}=_0x3095f4;const _0x3d636c=this['getCommentThread'](_0x3095f4['threadId']);if(!_0x3d636c)throw new ckeditor5['CKEditorError']('commentsrepository-add-comment-to-missing-comment-thread',this);const _0x5b98c0=this['_createNewComment'](_0x3095f4),{id:_0x511b3d}=_0x5b98c0;if(_0x3d636c['_add'](_0x5b98c0),_0x597d12||!this['adapter']||'function'!=typeof this['adapter']['addComment']||!_0x3d636c['isSubmitted'])return Promise['resolve']();const _0x43cd21=this['context']['plugins']['get']('PendingActions'),{channelId:_0x52357a}=_0x3d636c,_0x52e857=_0x43cd21['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return _0x119f1a||(_0x119f1a={}),this['adapter']['addComment']({'channelId':_0x52357a,'threadId':_0x38b519,'commentId':_0x511b3d,'content':_0x5c1747,'attributes':_0x119f1a})['then'](_0x2adb43=>{_0x43cd21['remove'](_0x52e857),_0x2adb43&&this['_updateComment']({'channelId':_0x52357a,'threadId':_0x38b519,'commentId':_0x511b3d,'createdAt':_0x2adb43['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x35bdac=>{throw console['error'](_0x35bdac),new ckeditor5['CKEditorError']('commentsrepository-add-comment-internal-error',this);});}['_updateComment']({threadId:_0x1181cc,commentId:_0x182f50,content:_0xfb718b,createdAt:_0x34616e,attributes:_0x9b1174,isFromAdapter:_0x7aa34a}){if(void 0x0!==_0xfb718b&&('string'!=typeof _0xfb718b||!_0xfb718b['trim']()['length']))throw new ckeditor5['CKEditorError']('commentsrepository-update-comment-invalid-content');const _0x1d6e95=this['getCommentThread'](_0x1181cc),_0xc8d17e=_0x1d6e95['getComment'](_0x182f50);if(!_0xc8d17e)throw new ckeditor5['CKEditorError']('commentsrepository-update-missing-comment',this);let _0x5cd954=!0x1;if(_0xfb718b&&_0xfb718b!==_0xc8d17e['content']&&(_0xc8d17e['isEditable']||_0x7aa34a)&&(_0xc8d17e['content']=_0xfb718b,_0x5cd954=!0x0),_0x34616e&&_0x34616e!==_0xc8d17e['createdAt']&&(_0xc8d17e['createdAt']=_0x34616e,_0xc8d17e['attributes']&&_0xc8d17e['attributes']['@external']||(_0xc8d17e['authoredAt']=_0x34616e),_0x5cd954=!0x0),_0x9b1174&&!_0x295436(_0x9b1174,_0xc8d17e['attributes'])&&(_0xc8d17e['attributes']=_0x9b1174,_0x5cd954=!0x0),!_0x5cd954)return Promise['resolve']();if(_0x1d6e95['fire']('commentUpdated'),_0x7aa34a||!this['adapter']||'function'!=typeof this['adapter']['updateComment'])return Promise['resolve']();const _0x49a704=this['context']['plugins']['get']('PendingActions'),{channelId:_0x347f4f}=this['getCommentThread'](_0xc8d17e['threadId']),_0x3f7974=_0x49a704['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateComment']({'channelId':_0x347f4f,'threadId':_0x1181cc,'commentId':_0x182f50,'content':_0xfb718b,'attributes':_0x9b1174})['then'](()=>_0x49a704['remove'](_0x3f7974))['catch'](_0x213c7a=>{throw console['error'](_0x213c7a),new ckeditor5['CKEditorError']('commentsrepository-update-comment-internal-error',this);});}['_removeComment']({threadId:_0x8b392e,commentId:_0x2b994d,isFromAdapter:_0x46e621}){const _0x560470=this['getCommentThread'](_0x8b392e),_0x3ab6c8=_0x560470['getComment'](_0x2b994d);if(!_0x3ab6c8)throw new ckeditor5['CKEditorError']('commentsrepository-remove-missing-comment',this);if(_0x560470['_remove'](_0x3ab6c8),_0x46e621||!this['adapter']||'function'!=typeof this['adapter']['removeComment'])return Promise['resolve']();const _0x3ba6f7=this['context']['plugins']['get']('PendingActions'),{channelId:_0x1d33c7}=_0x560470,_0x84b6fa=_0x3ba6f7['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeComment']({'channelId':_0x1d33c7,'threadId':_0x8b392e,'commentId':_0x2b994d})['then'](()=>_0x3ba6f7['remove'](_0x84b6fa))['catch'](_0xd1a317=>{throw console['error'](_0xd1a317),new ckeditor5['CKEditorError']('commentsrepository-remove-comment-internal-error',this);});}}class CommentThread extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['channelId'];['id'];['_isAttached'];['_isSubmitted'];['comments'];['_repository'];constructor(_0xf61c57,_0x21759a){super();const _0x4837b6=_0x21759a['isResolvable'];this['channelId']=_0x21759a['channelId'],this['id']=_0x21759a['id'],this['comments']=new ckeditor5['Collection'](),this['_repository']=_0xf61c57,this['_isAttached']=!0x1,this['_isSubmitted']=_0x21759a['isSubmitted'],this['set']('_hasTargetInContent',!0x0),this['bind']('isReadOnly')['to'](_0xf61c57,'_permissions',_0xf61c57,'_readOnlyChannels',()=>_0xf61c57['isReadOnly'](this['channelId'])),this['bind']('isRemovable')['to'](_0xf61c57,'_permissions',()=>_0xf61c57['getPermissions'](this['channelId'])['admin']),this['bind']('canComment')['to'](_0xf61c57,'_permissions',()=>{const _0x3d28d8=_0xf61c57['getPermissions'](this['channelId']);return _0x3d28d8['write']||_0x3d28d8['admin'];}),this['bind']('isResolvable')['to'](_0xf61c57,'_permissions',()=>_0x4837b6&&_0xf61c57['getPermissions'](this['channelId'])['resolve']),this['set']('context',_0x21759a['context']),this['bind']('archivedAt')['to'](this,'resolvedAt',this,'unlinkedAt',(_0x32c38b,_0x423d01)=>_0x32c38b?_0x423d01?_0x32c38b<_0x423d01?_0x32c38b:_0x423d01:_0x32c38b:_0x423d01),this['set']('unlinkedAt',_0x21759a['unlinkedAt']||null),this['set']('resolvedAt',_0x21759a['resolvedAt']||null),this['set']('resolvedBy',_0x21759a['resolvedBy']||null),this['bind']('isResolved')['to'](this,'resolvedAt',_0x3a50f0=>!!_0x3a50f0),this['set']('attributes',_0x21759a['attributes']||{});}get['weight'](){return Array['from'](this['comments'])['reduce']((_0x4b13ec,_0x3f7cda)=>_0x4b13ec+_0x3f7cda['weight'],0x0);}get['length'](){return this['comments']['length'];}get['isAttached'](){return this['_isAttached'];}get['isSubmitted'](){return this['_isSubmitted'];}['submit'](){const {channelId:_0x15cd59,id:_0x524f1d}=this;this['_repository']['fire'](toEventName('submitCommentThread',_0x15cd59),{'channelId':_0x15cd59,'threadId':_0x524f1d});}['setUnlinkedAt'](_0x1b9fbc){this['_update']({'unlinkedAt':_0x1b9fbc});}['resolve']({resolvedAt:_0x29aa7d=new Date(),resolvedBy:_0x5dcff4='',isFromAdapter:_0x56c64e=!0x1}={}){const _0x42cdbb=this['_repository']['context']['plugins']['get'](_0x17009e)['me'],{channelId:_0xf2b02a,id:_0x258d44}=this;this['_repository']['fire'](toEventName('resolveCommentThread',_0xf2b02a),{'channelId':_0xf2b02a,'threadId':_0x258d44,'resolvedAt':_0x29aa7d,'resolvedBy':_0x5dcff4||_0x42cdbb['id'],'isFromAdapter':_0x56c64e});}['reopen']({isFromAdapter:_0x23291c=!0x1}={}){const {channelId:_0x271e3f,id:_0x30781a}=this;this['_repository']['fire'](toEventName('reopenCommentThread',_0x271e3f),{'channelId':_0x271e3f,'threadId':_0x30781a,'isFromAdapter':_0x23291c});}['setContext'](_0x4756e0){this['context']||this['_update']({'context':_0x4756e0});}['setAttribute'](_0xed3e03,_0x7edfa2){const _0x36b06f=_0x402449(this['attributes']);set(_0x36b06f,_0xed3e03,_0x7edfa2),this['_update']({'attributes':_0x36b06f});}['removeAttribute'](_0x4830c2){const _0x170d08=_0x402449(this['attributes']);unset(_0x170d08,_0x4830c2),this['_update']({'attributes':_0x170d08});}['remove']({isFromAdapter:_0x2d7216=!0x1}={}){const {channelId:_0x148e10,id:_0x4c294a}=this;this['_repository']['fire'](toEventName('removeCommentThread',_0x148e10),{'channelId':_0x148e10,'threadId':_0x4c294a,'isFromAdapter':_0x2d7216});}['attachTo'](_0x557a54){return this['_repository']['_attachCommentThread']({'threadId':this['id'],'target':_0x557a54});}['addComment'](_0x156da2){const {channelId:_0x41f034,id:_0x3ffcae}=this;this['_repository']['fire'](toEventName('addComment',_0x41f034,_0x3ffcae),Object['assign']({'channelId':_0x41f034,'threadId':_0x3ffcae},_0x156da2));}['getComment'](_0x2cf87b){if('string'!=typeof _0x2cf87b)throw new ckeditor5['CKEditorError']('commentsrepository-get-comment-invalid-id',null,{'commentId':_0x2cf87b});return this['comments']['get'](_0x2cf87b);}['toJSON'](){return{'threadId':this['id'],'context':this['context'],'unlinkedAt':this['unlinkedAt'],'resolvedAt':this['resolvedAt'],'resolvedBy':this['resolvedBy']?this['resolvedBy']['id']:null,'archivedAt':this['archivedAt'],'comments':this['comments']['map'](_0x3d8a67=>_0x3d8a67['toJSON']()),'attributes':this['attributes']};}['_add'](_0x286cfe){return this['listenTo'](_0x286cfe,'change:authoredAt',()=>{const _0x54a2f2=this['_findOptimalIndex'](_0x286cfe),_0x17cb97=this['comments'];_0x54a2f2-0x1!=_0x17cb97['getIndex'](_0x286cfe)&&_0x54a2f2+0x1!=_0x17cb97['getIndex'](_0x286cfe)&&(this['_remove'](_0x286cfe),this['_add'](_0x286cfe));}),this['comments']['add'](_0x286cfe,this['_findOptimalIndex'](_0x286cfe));}['_update'](_0x17efda){const {channelId:_0x458ccd,id:_0x2f6620}=this;this['_repository']['fire'](toEventName('updateCommentThread',_0x458ccd),{..._0x17efda,'channelId':_0x458ccd,'threadId':_0x2f6620});}['_remove'](_0x3af5bd){return this['stopListening'](_0x3af5bd),_0x3af5bd['destroy'](),this['comments']['remove'](_0x3af5bd);}['_findOptimalIndex'](_0x58fdc4){const _0x153779=this['comments']['find'](_0x5db959=>new Date(_0x5db959['authoredAt'])['getTime']()>new Date(_0x58fdc4['authoredAt'])['getTime']());return _0x153779?this['comments']['getIndex'](_0x153779):this['length'];}}const _0x2de6b3=0xc8;function getContentLength(_0x257493){const _0x548d0a=document['createElement']('div');return _0x548d0a['innerHTML']=_0x257493,_0x548d0a['textContent']['length'];}class Comment extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['id'];['threadId'];['author'];['creator'];['isExternal'];['createdAt'];['_repository'];constructor(_0x328a48,_0x1495de){super();const _0x3a99cd=_0x328a48['context']['plugins']['get'](_0x17009e)['me'],_0x5c18b2=_0x328a48['getCommentThread'](_0x1495de['threadId']),_0x4a283a=0x0===_0x5c18b2['comments']['length'],_0x7fa0e8=_0x3a99cd===_0x1495de['author'];this['id']=_0x1495de['id'],this['threadId']=_0x1495de['threadId'],this['author']=_0x1495de['author'],this['creator']=_0x1495de['creator'],this['isExternal']=Boolean(_0x1495de['attributes']&&_0x1495de['attributes']['@external']),this['set']('content',_0x1495de['content']),this['createdAt']=_0x1495de['createdAt']||new Date(),this['set']('authoredAt',_0x1495de['authoredAt']||new Date()),this['bind']('resolvedAt')['to'](_0x5c18b2,'resolvedAt'),this['set']('attributes',_0x1495de['attributes']||{}),this['bind']('isEditable')['to'](_0x328a48,'_permissions',()=>{const _0x12a508=_0x328a48['getPermissions'](_0x5c18b2['channelId'])['write'],_0x51fa1a=_0x328a48['getPermissions'](_0x5c18b2['channelId'])['modifyAll'];return _0x7fa0e8&&_0x12a508||!_0x7fa0e8&&_0x51fa1a;}),this['bind']('isRemovable')['to'](_0x5c18b2,'isRemovable',_0x328a48,'_permissions',_0x5743f6=>{const _0x33680b=_0x328a48['getPermissions'](_0x5c18b2['channelId'])['write'],_0x37115a=_0x328a48['getPermissions'](_0x5c18b2['channelId'])['modifyAll'];return _0x7fa0e8&&_0x33680b||_0x5743f6&&_0x4a283a||!_0x7fa0e8&&_0x37115a&&!_0x4a283a;}),this['bind']('isReadOnly')['to'](_0x5c18b2,'isReadOnly'),this['_repository']=_0x328a48;}get['weight'](){return Math['max'](getContentLength(this['content']),_0x2de6b3);}['update'](_0x3770a6){const {threadId:_0x43c098,id:_0xec9fd3}=this;if(!this['_repository']['hasCommentThread'](_0x43c098))throw new ckeditor5['CKEditorError']('commentsrepository-update-comment-missing-comment-thread',this);const {channelId:_0x14c744}=this['_repository']['getCommentThread'](_0x43c098);this['_repository']['fire'](toEventName('updateComment',_0x14c744,_0x43c098),{'channelId':_0x14c744,'threadId':_0x43c098,'commentId':_0xec9fd3,..._0x3770a6});}['setAttribute'](_0x424ef8,_0x1507da){const _0x3816dd=_0x402449(this['attributes']);set(_0x3816dd,_0x424ef8,_0x1507da),this['update']({'attributes':_0x3816dd});}['removeAttribute'](_0x201106){const _0x43c8c5=_0x402449(this['attributes']);unset(_0x43c8c5,_0x201106),this['update']({'attributes':_0x43c8c5});}['remove'](_0x1cf281={}){if(!_0x1cf281['isFromAdapter']&&!this['isRemovable'])return;const {threadId:_0xe0e425,id:_0x1d27a6}=this;if(!this['_repository']['hasCommentThread'](_0xe0e425))throw new ckeditor5['CKEditorError']('commentsrepository-remove-comment-missing-comment-thread',this);const {channelId:_0x430f09}=this['_repository']['getCommentThread'](_0xe0e425);this['_repository']['fire'](toEventName('removeComment',_0x430f09,_0xe0e425),{'channelId':_0x430f09,'threadId':_0xe0e425,'commentId':_0x1d27a6,..._0x1cf281});}['toJSON'](){return{'commentId':this['id'],'content':this['content'],'createdAt':this['createdAt'],'authorId':this['creator']['id'],'attributes':this['attributes']};}['destroy'](){this['stopListening']();}}function toEventName(_0x1bcb4d,..._0x47ff4c){for(const _0x597a31 of _0x47ff4c)void 0x0!==_0x597a31&&(_0x1bcb4d+=':'+String(_0x597a31));return _0x1bcb4d;}class AddCommentThreadCommand extends ckeditor5['Command']{constructor(_0x1827f3){super(_0x1827f3),this['set']('hasContent',!0x1);}['refresh'](){const _0x3cbbb8=this['editor']['model']['document']['selection'];this['isEnabled']=!0x0,this['hasContent']=!0x1;for(const _0x492383 of _0x3cbbb8['getRanges']())if(this['_hasContent'](_0x492383))return void(this['hasContent']=!0x0);}['execute']({threadId:_0x3ee866=ckeditor5['uid'](),ranges:_0x50470e,comment:_0x54865b}={}){const _0x2fb036=this['editor']['model'],_0x41d035=_0x50470e??Array['from'](_0x2fb036['document']['selection']['getRanges']()),_0x4a1ae1=[];for(const _0x263f50 of _0x41d035)this['_hasContent'](_0x263f50)&&_0x4a1ae1['push'](this['_trimToContent'](_0x263f50));if(!_0x4a1ae1['length'])throw new ckeditor5['CKEditorError']('addcommentthreadcommand-incorrect-ranges',null);_0x54865b&&this['_createCommentThread'](_0x3ee866,_0x54865b),this['_createMarkersFromRanges'](_0x3ee866,_0x4a1ae1,!!_0x54865b);}['_createMarkersFromRanges'](_0x760ec9,_0x16e14e,_0x1932b2){this['editor']['model']['change'](_0x8ef423=>{for(const _0x49eaf8 of _0x16e14e){const _0x2f8ea0=ckeditor5['uid']()['substr'](0x1,0x5),_0x544db5='comment:'+_0x760ec9+':'+_0x2f8ea0;_0x8ef423['addMarker'](_0x544db5,{'range':_0x49eaf8,'usingOperation':_0x1932b2,'affectsData':_0x1932b2});}});}['_createCommentThread'](_0x36de16,_0x4919dc){const _0x4baf4c=this['editor']['plugins']['get']('CommentsRepository'),_0x4315ff=this['editor']['config']['get']('collaboration.channelId'),_0x33a428=this['editor']['plugins']['get']('Users')['me'];if(!_0x33a428)throw new ckeditor5['CKEditorError']('addcommentthreadcommand-user-not-found',null);_0x4baf4c['addCommentThread']({'threadId':_0x36de16,'channelId':_0x4315ff,'comments':[{'authorId':_0x33a428['id'],'content':_0x4919dc,'createdAt':new Date(),'attributes':{}}]});}['_hasContent'](_0x407dac){for(const _0x56d62c of _0x407dac['getItems']())if(this['_itemIsContent'](_0x56d62c))return!0x0;return!0x1;}['_itemIsContent'](_0x12d8db){return _0x12d8db['is']('$textProxy')||this['editor']['model']['schema']['isObject'](_0x12d8db)&&!_0x12d8db['is']('element','tableCell');}['_trimToContent'](_0x42e9e6){const _0x57ed95=_0x16ee6c=>!this['_itemIsContent'](_0x16ee6c['item']),_0xfc17da=_0x42e9e6['start']['getLastMatchingPosition'](_0x57ed95),_0xedccec=_0x42e9e6['end']['getLastMatchingPosition'](_0x57ed95,{'direction':'backward'});return this['editor']['model']['createRange'](_0xfc17da,_0xedccec);}}class EditorAnnotations extends ckeditor5['Plugin']{['_dataCollectors'];['_editorAnnotations'];static get['requires'](){return[Annotations];}static get['pluginName'](){return'EditorAnnotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3a0ef3){super(_0x3a0ef3),this['_dataCollectors']=new Set(),this['_editorAnnotations']=new Set();}['init'](){const _0x2a9228=this['editor'],_0x4ea948=_0x2a9228['model']['document']['selection'],_0x96a4d4=_0x3a37b9(()=>this['refreshSelectedViews'](),0xa);_0x4ea948['on']('change:range',(_0x460744,_0x14f2b4)=>{_0x14f2b4['directChange']&&(_0x96a4d4['cancel'](),this['refreshSelectedViews']());}),this['listenTo'](_0x2a9228['editing']['view']['document'],'change:isFocused',(_0x1f6760,_0x5bd025,_0xbc60b)=>{_0xbc60b&&_0x96a4d4();}),this['listenTo'](_0x2a9228['ui']['focusTracker'],'change:isFocused',(_0xb1b8a,_0x26e919,_0x34c8e9)=>{_0x34c8e9||this['fire']('blur',{'isAnnotationTracked':_0x14f29c=>this['_editorAnnotationsData']['has'](_0x14f29c['innerView'])});}),this['listenTo'](this['editor']['ui'],'update',()=>this['fire']('uiUpdate'));}['registerAnnotation'](_0x15e88f){if(this['_editorAnnotations']['has'](_0x15e88f['view']))return;this['_editorAnnotations']['add'](_0x15e88f['view']),this['editor']['ui']['focusTracker']['add'](_0x15e88f['view']['element']);const _0x183005=this['editor']['plugins']['get'](Annotations);this['listenTo'](_0x183005['collection'],'remove',(_0x83e1a9,_0x27ab65)=>{this['editor']['ui']['focusTracker']['remove'](_0x27ab65['view']['element']),this['_editorAnnotations']['delete'](_0x27ab65['view']);});}['hasDomSelection'](){return this['editor']['editing']['view']['hasDomSelection'];}['addSourceCollector'](_0x773057){if('function'!=typeof _0x773057)throw new ckeditor5['CKEditorError']('editorannotations-invalid-source-callback');this['_dataCollectors']['add'](_0x773057);}['refreshSelectedViews'](){this['fire']('refresh');}['getOrderedSelectedAnnotations']({activeAnnotation:_0x1b9f30,annotations:_0x400e63}){const _0x8e194c=[],_0xdd4234=this['editor']['model']['document']['selection'],_0xf32fc=Array['from'](_0xdd4234['getRanges']());for(const [_0x750498,_0x28614a]of this['_editorAnnotationsData']){const _0x1e3f4a=_0x471fd0(_0x28614a),_0x55d541=_0x400e63['getByInnerView'](_0x750498);_0x1e3f4a&&_0x55d541&&_0x8e194c['push']({'annotation':_0x55d541,'range':_0x1e3f4a});}function _0x471fd0(_0x449445){for(const _0x194734 of _0x449445)for(const _0x5b05cc of _0xf32fc)if(_0x194734['containsRange'](_0x5b05cc,!_0xdd4234['isCollapsed']))return _0x194734;return null;}return _0x8e194c['sort']((_0x4084c3,_0xc61c8d)=>{const _0x135a43=_0x4084c3['range'],_0x4d8604=_0xc61c8d['range'];if(!_0x135a43['isEqual'](_0x4d8604)){if(_0x135a43['containsRange'](_0x4d8604,!0x0))return 0x1;if(_0x4d8604['containsRange'](_0x135a43,!0x0))return-0x1;}return _0x4084c3['annotation']==_0x1b9f30?-0x1:_0xc61c8d['annotation']==_0x1b9f30?0x1:0x0;})['map'](_0x3170d2=>_0x3170d2['annotation']);}get['_editorAnnotationsData'](){const _0x107624=new Map();for(const _0x32c95f of Array['from'](this['_dataCollectors']))for(const [_0x28907a,_0x51be96]of _0x32c95f())_0x107624['set'](_0x28907a,_0x51be96);return _0x107624;}}class CommentsRestrictedEditingMode extends ckeditor5['Plugin']{['afterInit'](){const _0x10e27a=this['editor'];if(!_0x10e27a['plugins']['has']('RestrictedEditingModeEditing'))return;_0x10e27a['plugins']['get']('RestrictedEditingModeEditing')['enableCommand']('addCommentThread');}}class CommentsImportWord extends ckeditor5['Plugin']{constructor(_0x38c6a9){super(_0x38c6a9),this['editor']['config']['define']('importWord.formatting.comments','basic');}['afterInit'](){const _0x429886=this['editor'],_0x53e651=_0x429886['commands']['get']('importWord'),_0x4832c0=_0x429886['plugins']['get'](_0x17009e);_0x53e651&&(_0x53e651['on']('execute',(_0x531d6c,[,_0xe9d165])=>{_0xe9d165['collaboration_features']={'comments':!0x0,'user_id':_0x4832c0['me']['id']};},{'priority':ckeditor5['priorities']['high']+0xa}),this['listenTo'](_0x53e651,'dataInsert',this['_handleImportedData']));}['_handleImportedData'](_0x4c1145,_0x16573c){const {comment_threads:_0x4c02bd}=_0x16573c;_0x4c02bd&&_0x4c02bd['forEach'](({thread_id:_0x41ffb6,comments:_0x2a6570,is_resolved:_0x36443f})=>{const _0x1a21b7=new Date(),_0x311dd9=_0x2a6570['map'](({author:_0x3bbd83,content:_0xfe2673,created_at:_0x1680e1})=>({'content':_0xfe2673,'authorId':this['editor']['plugins']['get'](_0x17009e)['me']['id'],'createdAt':_0x1a21b7,'attributes':{'@external':{'authorName':_0x3bbd83,'createdAt':_0x1680e1?new Date(_0x1680e1):new Date(),'source':'importWord'}}})),_0x485a77=this['editor']['config']['get']('collaboration.channelId');this['editor']['plugins']['get'](CommentsRepository)['addCommentThread']({'channelId':_0x485a77,'threadId':_0x41ffb6,'comments':_0x311dd9,'resolvedAt':_0x36443f?_0x1a21b7:null});});}}class CommentsClipboard extends ckeditor5['Plugin']{constructor(_0xe3f6fa){super(_0xe3f6fa),this['editor']['config']['define']('comments.copyMarkers','default');}static get['requires'](){return[ckeditor5['ClipboardMarkersUtils'],ckeditor5['ClipboardPipeline']];}['afterInit'](){const _0xdb794e=this['editor']['plugins']['get']('ClipboardPipeline');this['_registerMarkerInClipboardPipeline'](),this['listenTo'](_0xdb794e,'contentInsertion',(_0x124098,_0xadb08b)=>this['_removeMarkersWithoutThreads'](_0xadb08b['content']['markers']),{'priority':'highest'});}['_removeMarkersWithoutThreads'](_0xd51a2e){if(!this['editor']['plugins']['has']('CommentsRepository'))return _0xd51a2e;const _0xae73ac=this['editor']['plugins']['get']('CommentsRepository');for(const _0x35c964 of _0xd51a2e['keys']()){const [_0x1da1ec,_0x546548]=_0x35c964['split'](':');'comment'!=_0x1da1ec||_0xae73ac['hasCommentThread'](_0x546548)||_0xd51a2e['delete'](_0x35c964);}return _0xd51a2e;}['_registerMarkerInClipboardPipeline'](){const _0xd122c0=this['editor']['plugins']['get']('ClipboardMarkersUtils'),_0xd79dee=this['_mapCommentsCopyConfigToRegisterConfiguration'](this['editor']['config']['get']('comments.copyMarkers'));_0xd79dee&&_0xd122c0['_registerMarkerToCopy']('comment',_0xd79dee);}['_mapCommentsCopyConfigToRegisterConfiguration'](_0x30e8da){switch(_0x30e8da){case'always':return{'allowedActions':'all','copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case'default':return{'allowedActions':['cut','dragstart'],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};default:return null;}}}function splitMarkerName(_0x5f499b){const _0x36e6c6=_0x5f499b['split'](':');return{'group':_0x36e6c6[0x0],'id':_0x36e6c6[0x1],'part':_0x36e6c6[0x2]};}class ShowCommentHighlights extends ckeditor5['Plugin']{['init'](){this['overrideMarkerConverters'](),this['overrideHorizontalRuleConverter'](),this['overrideImageInlineConverter'](),this['overrideMediaEmbedConverter']();}['overrideMarkerConverters'](){this['editor']['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'comment','view':(_0xd42d3b,_0x39ffbf)=>{if(!_0x39ffbf['options']['showCommentHighlights'])return null;if(_0x39ffbf['options']['ignoreResolvedComments']){const {id:_0x2e463d}=splitMarkerName(_0xd42d3b['markerName']),_0x476317=this['editor']['plugins']['get'](CommentsRepository);if(_0x476317['getCommentThread'](_0x2e463d)?.['isResolved']&&_0xd42d3b['item'])return _0x39ffbf['consumable']['consume'](_0xd42d3b['item'],'addMarker:'+_0xd42d3b['markerName']),_0x39ffbf['consumable']['consume'](_0xd42d3b['item'],'removeMarker:'+_0xd42d3b['markerName']),null;}return{'classes':['ck-comment-marker']};}}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x1d1bdc=>{_0x1d1bdc['on']('addMarker:comment',(_0x1e2309,_0x1a6f83,_0x368c58)=>{if(!_0x368c58['options']['showCommentHighlights'])return;const _0x753095=_0x1a6f83['item'];if(!_0x753095)return;const _0xd08f2b=_0x368c58['mapper']['toViewElement'](_0x753095);this['editor']['model']['schema']['isObject'](_0x753095)&&_0xd08f2b&&!_0xd08f2b['getCustomProperty']('widget')&&_0xd08f2b['is']('containerElement')&&ckeditor5['toWidget'](_0xd08f2b,_0x368c58['writer']);},{'priority':'high'});});}['overrideHorizontalRuleConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x23cef5,{writer:_0x46d52d,options:_0x379a9b})=>{if(!_0x379a9b['showCommentHighlights'])return null;const _0x359d7b=_0x46d52d['createContainerElement']('div'),_0x1d8ff6=_0x46d52d['createEmptyElement']('hr');return _0x46d52d['addClass']('ck-horizontal-line',_0x359d7b),_0x46d52d['insert'](_0x46d52d['createPositionAt'](_0x359d7b,0x0),_0x1d8ff6),_0x359d7b;},'converterPriority':'high'});}['overrideImageInlineConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'imageInline','view':(_0x27fd0b,{writer:_0x43cfd2,options:_0xd6decd})=>{if(!_0xd6decd['showCommentHighlights'])return null;const _0x2f6b47=_0x43cfd2['createContainerElement']('span'),_0x504cdd=_0x43cfd2['createEmptyElement']('img');return _0x43cfd2['addClass']('image-inline',_0x2f6b47),_0x43cfd2['insert'](_0x43cfd2['createPositionAt'](_0x2f6b47,0x0),_0x504cdd),_0x2f6b47;},'converterPriority':'high'});}['overrideMediaEmbedConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x4e3e84,{writer:_0x4a1552,options:_0x398bed})=>{if(_0x398bed['showCommentHighlights'])return _0x4a1552['createEmptyElement']('div');},'converterPriority':'high'}),this['editor']['data']['downcastDispatcher']['on']('attribute:url:media',(_0x1b4e1f,_0x57caa4,_0x1e2b37)=>{_0x1e2b37['options']['showCommentHighlights']&&_0x1b4e1f['stop']();},{'priority':'high'});}}const _0x296fbb=0x96;class CommentsEditing extends ckeditor5['Plugin']{static get['requires'](){return[CommentsRepository,EditorAnnotations,_0x17009e,CommentsRestrictedEditingMode,CommentsImportWord,CommentsClipboard,ShowCommentHighlights];}static get['pluginName'](){return'CommentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3e9fe9){super(_0x3e9fe9),this['set']('isThreadsLoadingPaused',!0x0),_0x3e9fe9['data']['once']('ready',()=>this['isThreadsLoadingPaused']=!0x1),this['set']('activeMarker',null),this['on']('change:activeMarker',(_0x2ebd85,_0xd15b26,_0x32b43c,_0xe48e11)=>{const _0x1bac4e=_0x3e9fe9['plugins']['get'](CommentsRepository),_0x4d8481=_0x32b43c?splitMarkerName(_0x32b43c)['id']:null;_0x3e9fe9['model']['change'](()=>{if(_0x4d8481){const _0x3e38a7=this['getAllMarkersForId'](_0x4d8481);for(const _0x27ec6d of _0x3e38a7)_0x3e9fe9['editing']['reconvertMarker'](_0x27ec6d);}if(_0xe48e11){const {id:_0x4c65bf}=splitMarkerName(_0xe48e11),_0x2790d5=_0x1bac4e['getCommentThread'](_0x4c65bf);if(_0x2790d5&&_0x2790d5['unlinkedAt'])return;if(_0x2790d5&&!_0x2790d5['isAttached'])return;const _0xa467b5=this['getAllMarkersForId'](_0x4c65bf);for(const _0x424ff4 of _0xa467b5)_0x3e9fe9['editing']['reconvertMarker'](_0x424ff4);}}),_0x4d8481&&this['scrollToThreadMarker'](_0x4d8481);}),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x422f2d=this['editor'],_0x1ebced=_0x422f2d['plugins']['get'](CommentsRepository),_0xd9cbb2=_0x422f2d['config']['get']('collaboration.channelId'),_0x1dd141=_0x1ebced['getCommentThreads']()['filter'](_0x56ff3c=>_0x56ff3c['channelId']!==_0xd9cbb2);_0x422f2d['commands']['add']('addCommentThread',new AddCommentThreadCommand(_0x422f2d)),this['listenTo'](_0x422f2d,'change:isReadOnly',(_0x3f3120,_0x5a8f53,_0x4fc3c8)=>{_0x1ebced['switchReadOnly'](_0x4fc3c8,_0x422f2d['config']['get']('collaboration.channelId'));}),this['listenTo'](_0x1ebced,createChannelEvent('addCommentThread',_0xd9cbb2),(_0x7a451d,{threadId:_0x29beca})=>{const _0x2e2aa5=this['editor']['plugins']['get'](CommentsRepository)['getCommentThread'](_0x29beca);_0x2e2aa5?.['unlinkedAt']&&this['_attachArchivedThread'](_0x29beca);}),this['listenTo'](_0x1ebced,createChannelEvent('removeCommentThread',_0xd9cbb2),(_0xaf073a,{threadId:_0x3e444f})=>{_0x422f2d['model']['enqueueChange']({'isUndoable':!0x1},_0x1d6f56=>{const _0x1332c8=this['getAllMarkersForId'](_0x3e444f);for(const _0xa88e1d of _0x1332c8)_0x1d6f56['removeMarker'](_0xa88e1d);});}),this['listenTo'](_0x1ebced,createChannelEvent('resolveCommentThread',_0xd9cbb2),(_0x54cf37,{threadId:_0xb175d0})=>{(this['_reconvertMarkers'](_0xb175d0),this['editor']['editing']['view']['hasDomSelection'])&&(this['editor']['plugins']['get'](CommentsRepository)['getCommentThread'](_0xb175d0)['unlinkedAt']||this['editor']['editing']['view']['focus']());},{'priority':'low'}),this['listenTo'](_0x1ebced,createChannelEvent('reopenCommentThread',_0xd9cbb2),(_0x4b1714,{threadId:_0xa375f9})=>{this['_reconvertMarkers'](_0xa375f9);},{'priority':'low'}),this['listenTo'](_0x1ebced,createChannelEvent('addComment',_0xd9cbb2),(_0x441319,{threadId:_0x3c3280,isFromAdapter:_0x4d6f54})=>{const _0x253b33=this['getAllMarkersForId'](_0x3c3280);if(_0x4d6f54||0x0==_0x253b33['length']||!_0x1ebced['hasCommentThread'](_0x3c3280))return;0x1===_0x1ebced['getCommentThread'](_0x3c3280)['length']&&_0x422f2d['model']['enqueueChange']({'isUndoable':!0x1},_0x18dcd0=>{for(const _0x2ca2e8 of _0x253b33)_0x18dcd0['updateMarker'](_0x2ca2e8,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':'low'}),this['_initializeMarkerConverters'](),this['_handleMarkerAddAndRemove'](),this['_handleInitialThreads'](_0x1dd141);}['afterInit'](){_0x1d9601(this);}['destroy'](){const _0x5b9c12=this['editor']['plugins']['get'](CommentsRepository),_0x2aa38d=this['editor']['config']['get']('collaboration.channelId');for(const _0x110696 of _0x5b9c12['getCommentThreads']({'channelId':_0x2aa38d}))_0x5b9c12['_detachCommentThread'](_0x110696['id']),_0x5b9c12['_threads']['delete'](_0x110696['id']);super['destroy']();}['hasMarkerForId'](_0x192c5e){return this['getAllMarkersForId'](_0x192c5e)['length']>0x0;}['getAllMarkersForId'](_0x304653){const _0x3180a8=[];for(const _0x10b06e of this['editor']['model']['markers'])_0x10b06e['name']['startsWith']('comment:'+_0x304653)&&_0x3180a8['push'](_0x10b06e);return _0x3180a8;}['scrollToThreadMarker'](_0x2397ce){setTimeout(()=>{const _0x545e4f=this['_getTargetForId'](_0x2397ce);if(!_0x545e4f)return;this['activeMarker']&&splitMarkerName(this['activeMarker'])['id']===_0x2397ce&&ckeditor5['scrollViewportToShowTarget']({'target':_0x545e4f[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}['_reconvertMarkers'](_0x1e8c74){this['editor']['model']['change'](()=>{for(const _0x481d33 of this['getAllMarkersForId'](_0x1e8c74))this['editor']['editing']['reconvertMarker'](_0x481d33);});}['_attachArchivedThread'](_0x58b66a){const _0x2ca6b2=this['editor']['plugins']['get'](CommentsRepository),_0x383e3f=this['editor']['plugins']['get'](EditorAnnotations),_0x335754=_0x2ca6b2['getCommentThread'](_0x58b66a);if(!_0x335754['isAttached']){const _0x551c74=_0x335754['attachTo'](()=>this['_getTargetForId'](_0x335754['id']));_0x383e3f['registerAnnotation'](_0x551c74),_0x335754['_hasTargetInContent']=!0x1;}}['_initializeMarkerConverters'](){const _0x1c81ec=this['editor'],_0x1d4c2a=_0x1c81ec['plugins']['get'](_0x17009e);_0x1c81ec['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'comment','view':(_0x2b9f95,_0x5e6630)=>{const {id:_0x3f7768}=splitMarkerName(_0x2b9f95['markerName']),_0x7ec165=_0x1c81ec['plugins']['get'](CommentsRepository)['getCommentThread'](_0x3f7768),_0x43e74c=this['activeMarker']&&splitMarkerName(this['activeMarker'])['id']===_0x3f7768;let _0x57c1e6;if(_0x7ec165&&_0x7ec165['isResolved']&&!_0x43e74c&&_0x2b9f95['item'])return _0x5e6630['consumable']['consume'](_0x2b9f95['item'],'addMarker:'+_0x2b9f95['markerName']),_0x5e6630['consumable']['consume'](_0x2b9f95['item'],'removeMarker:'+_0x2b9f95['markerName']),null;const _0x2bdf30=['ck-comment-marker'];return _0x43e74c&&_0x2bdf30['push']('ck-comment-marker--active'),_0x57c1e6=_0x7ec165?.['length']?_0x7ec165['comments']['first']['author']['id']:_0x1d4c2a['me']['id'],{'classes':_0x2bdf30,'attributes':{'data-comment':_0x3f7768,'data-author-id':_0x57c1e6}};}}),_0x1c81ec['conversion']['for']('dataDowncast')['markerToData']({'model':'comment','view':(_0x3b9cf1,{options:_0x59b03f})=>{if(_0x59b03f['showCommentHighlights'])return null;const _0x43e6b3=_0x1c81ec['plugins']['get'](CommentsRepository),_0xa230eb=_0x1c81ec['model']['markers']['get'](_0x3b9cf1),{id:_0x220a74,part:_0x432cfe}=splitMarkerName(_0x3b9cf1);return _0xa230eb&&!_0xa230eb['affectsData']||_0x59b03f['ignoreResolvedComments']&&_0x43e6b3['getCommentThread'](_0x220a74)?.['isResolved']?null:{'group':'comment','name':_0x432cfe?_0x220a74+':'+_0x432cfe:_0x220a74};}}),_0x1c81ec['conversion']['for']('upcast')['elementToElement']({'view':{'name':'comment','attributes':{'id':/^\w/}},'model':(_0x3ca302,{writer:_0x5e2bd7})=>_0x5e2bd7['createElement']('$marker',{'data-name':'comment:'+_0x3ca302['getAttribute']('id')})}),_0x1c81ec['conversion']['for']('upcast')['dataToMarker']({'view':'comment'});}['_handleMarkerAddAndRemove'](){const _0x260871=this['editor'],_0x4a2f55=_0x260871['plugins']['get'](CommentsRepository),_0x1343b1=new Set(),_0x1aa69b=new Set();_0x260871['model']['document']['registerPostFixer'](_0x1dd201=>{let _0x58faf2=!0x1;for(const {name:_0x378144,data:_0x108725}of _0x260871['model']['document']['differ']['getChangedMarkers']()){const {group:_0x3d3354,id:_0x2d7174}=splitMarkerName(_0x378144);let _0x5ba4ee=_0x108725['newRange'];if('comment'!==_0x3d3354||!_0x5ba4ee)continue;const _0x4974c4='$graveyard'===_0x5ba4ee['root']['rootName'];_0x4974c4||(_0x5ba4ee=_0x430a14(_0x5ba4ee,_0x260871['model']),!_0x5ba4ee||_0x5ba4ee['isCollapsed']||!_0x108725['newRange']||_0x5ba4ee['isEqual'](_0x108725['newRange']))?_0x260871['model']['hasContent'](_0x5ba4ee)&&!_0x4974c4?this['isThreadsLoadingPaused']?_0x1343b1['add'](_0x378144):this['_handleThreadMarker'](_0x378144,_0x2d7174):(_0x1aa69b['add'](_0x378144),_0x1343b1['delete'](_0x378144),_0x1dd201['removeMarker'](_0x378144),_0x58faf2=!0x0):(_0x1dd201['updateMarker'](_0x378144,{'range':_0x5ba4ee}),_0x58faf2=!0x0);}return _0x58faf2;}),this['on']('change:isThreadsLoadingPaused',(_0x4279f7,_0x3c348f,_0x29677f)=>{if(!_0x29677f&&_0x1343b1['size'])for(const _0x5452af of _0x1343b1){const {id:_0x1ff34b}=splitMarkerName(_0x5452af);_0x1343b1['delete'](_0x5452af),_0x260871['model']['markers']['get'](_0x5452af)&&this['_handleThreadMarker'](_0x5452af,_0x1ff34b);}}),this['listenTo'](_0x260871['model']['document'],'change',()=>{for(const {name:_0x1758c4,data:{newRange:_0x4d9030}}of _0x260871['model']['document']['differ']['getChangedMarkers']()){const {group:_0x4da1d2,id:_0x5d738f}=splitMarkerName(_0x1758c4);if('comment'!==_0x4da1d2)continue;const _0x20cc86=_0x4a2f55['getCommentThread'](_0x5d738f),_0x39b385=this['hasMarkerForId'](_0x5d738f);_0x20cc86&&(!_0x20cc86['_hasTargetInContent']&&_0x4d9030&&_0x260871['editing']['view']['once']('render',()=>{const _0x5310fc=_0x260871['plugins']['get'](Annotations),_0x2b05c1=_0x4a2f55['_threadToController']['get'](_0x20cc86)['view'];_0x5310fc['getByInnerView'](_0x2b05c1)['refreshVisibility']();},{'priority':'low'}),_0x20cc86['_hasTargetInContent']=_0x39b385||!!_0x4d9030),_0x4d9030||(_0x1aa69b['add'](_0x1758c4),_0x1343b1['delete'](_0x1758c4));}for(const _0x21510d of _0x1aa69b){const {id:_0x5cc059}=splitMarkerName(_0x21510d),_0x436e6b=_0x4a2f55['getCommentThread'](_0x5cc059);if(_0x1343b1['delete'](_0x21510d),!_0x436e6b)continue;const _0x351a4f=this['hasMarkerForId'](_0x5cc059);_0x351a4f||_0x436e6b['isSubmitted']?_0x351a4f||_0x436e6b['unlinkedAt']||_0x436e6b['setUnlinkedAt'](new Date()):_0x436e6b['remove']();}_0x1aa69b['clear']();});}['_handleInitialThreads'](_0x46dba6){_0x46dba6['forEach'](_0x2c1353=>{_0x2c1353['unlinkedAt']&&this['_attachArchivedThread'](_0x2c1353['id']);});}['_getTargetForId'](_0x7a25bc){const _0x562e95=this['editor'],_0x1d9b83=this['getAllMarkersForId'](_0x7a25bc);return getAllMarkersDomElementsSorted(_0x562e95['editing'],_0x1d9b83);}['_getTextContext'](_0x58feac){const _0x5408a4=this['getAllMarkersForId'](_0x58feac);let _0x3a1a93='',_0x5b435c=!0x1;for(const _0x701a9b of _0x5408a4){const _0x2516ec=_0x701a9b['getRange']();for(const _0x24802a of Array['from'](_0x2516ec['getItems']()))_0x24802a['is']('$textProxy')?(_0x3a1a93&&_0x5b435c&&(_0x3a1a93+='\x20',_0x5b435c=!0x1),_0x3a1a93+=_0x24802a['data']):_0x5b435c=!0x0;_0x5b435c=!0x0;}return _0x3a1a93['substring'](0x0,_0x296fbb);}['_attachMarkerToThread'](_0x47c45e,_0x1d64b5){const _0x1009d4=this['editor'],_0x5c854f=_0x1009d4['plugins']['get'](CommentsRepository);let _0x2173ba=_0x5c854f['getCommentThread'](_0x1d64b5);const _0x646052=_0x1009d4['config']['get']('collaboration.channelId'),_0x1eacd1=_0x1009d4['plugins']['get'](EditorAnnotations);if(_0x2173ba&&(_0x2173ba['unlinkedAt']&&_0x2173ba['setUnlinkedAt'](null),_0x2173ba['isAttached']))return _0x2173ba;return!this['getAllMarkersForId'](_0x1d64b5)[0x0]['managedUsingOperations']?_0x1009d4['editing']['view']['once']('render',()=>{if(_0x5c854f['getCommentThread'](_0x1d64b5))return;const _0xe036e0=_0x1009d4['plugins']['get'](Annotations);_0x2173ba=_0x5c854f['openNewCommentThread']({'channelId':_0x646052,'threadId':_0x1d64b5,'target':()=>this['_getTargetForId'](_0x1d64b5),'context':{'type':'text','value':this['_getTextContext'](_0x1d64b5)}});const _0x25ec2e=_0x5c854f['_threadToController']['get'](_0x2173ba)['view'],_0x30b4cf=_0xe036e0['getByInnerView'](_0x25ec2e);_0x30b4cf&&_0x1eacd1['registerAnnotation'](_0x30b4cf);},{'priority':'low'}):_0x5c854f['fetchCommentThread']({'channelId':_0x646052,'threadId':_0x1d64b5})['then'](_0x26e283=>{if('destroyed'!==_0x1009d4['state']){if(_0x2173ba=_0x26e283,_0x2173ba&&!_0x2173ba['isAttached']){const _0x54bdcb=_0x2173ba['attachTo'](()=>this['_getTargetForId'](_0x1d64b5));_0x1eacd1['registerAnnotation'](_0x54bdcb),_0x2173ba['isResolved']&&this['_reconvertMarkers'](_0x1d64b5);}else{if(!_0x2173ba){const _0x1d78c6=this['getAllMarkersForId'](_0x1d64b5);_0x1009d4['model']['change'](_0x42c270=>{for(const _0x2a1145 of _0x1d78c6)_0x42c270['removeMarker'](_0x2a1145);});}}}}),_0x2173ba;}['_handleThreadMarker'](_0x3e3878,_0x3aea83){const _0x47aa73=this['_attachMarkerToThread'](_0x3e3878,_0x3aea83);_0x47aa73&&!_0x47aa73['context']&&_0x47aa73['setContext']({'type':'text','value':this['_getTextContext'](_0x3aea83)});}['_initAriaMarkerChangeAnnouncements'](){const _0x27bd4a=this['editor'];surroundingMarkersDetector(_0x27bd4a['model'],({left:_0x39defa,entered:_0xf19179})=>{for(const _0x4d91c0 of _0x39defa)if(isCommentMarker(_0x4d91c0)){_0x27bd4a['ui']['ariaLiveAnnouncer']['announce'](getTranslation$f(_0x27bd4a['locale'],'LEAVE_COMMENT_ANNOUNCEMENT'));break;}for(const _0x492c03 of _0xf19179)if(isCommentMarker(_0x492c03)){_0x27bd4a['ui']['ariaLiveAnnouncer']['announce'](getTranslation$f(_0x27bd4a['locale'],'ENTER_COMMENT_ANNOUNCEMENT',ckeditor5['getEnvKeystrokeText'](_0x44b17e)));break;}});}}function createChannelEvent(_0x54aefb,_0x36b924){return _0x36b924?_0x54aefb+':'+_0x36b924:_0x54aefb;}function _0x430a14(_0x247edb,_0x11c621){const _0x2855cf=_0x11c621['schema'],_0x4aacc9=_0x11c621['createRange'](_0x247edb['start']);for(const _0x2fede2 of _0x247edb['getWalker']()){const {type:_0x4f744b,item:_0x11b8bb,nextPosition:_0x44f401}=_0x2fede2;if('text'===_0x4f744b||_0x2855cf['isObject'](_0x11b8bb)){const _0x9c4d33=_0x11c621['createPositionBefore'](_0x11b8bb);_0x4aacc9['isCollapsed']&&(_0x4aacc9['start']=_0x9c4d33),_0x4aacc9['end']=_0x44f401;}}return _0x4aacc9;}function isCommentMarker(_0x439009){return'comment'===splitMarkerName(_0x439009['name'])['group'];}async function _0x1d9601(_0x1b400f){const _0x14a1de=_0x34e5f5([0x4b,0x70,0x4f,0x42,0x4a,0x47,0x4e,0x53,0x45,0x67,0x71,0x43,0x79,0x66,0x56,0x46,0x31,0x6b,0x5a,0x38,0x6c,0x62,0x6e,0x52,0x6a,0x4d,0x37,0x65,0x49,0x7a,0x41,0x73,0x44,0x51,0x48,0x77,0x39,0x61,0x54,0x68,0x75,0x36,0x72,0x63,0x59,0x69,0x30,0x35,0x55,0x6d,0x50,0x4c,0x34,0x64,0x33,0x58,0x32,0x57,0x6f,0x74,0x76,0x78]),_0x290856=window[_0x34e5f5([0x44,0x61,0x74,0x65])][_0x34e5f5([0x6e,0x6f,0x77])](),_0x27b638=_0x1b400f[_0x34e5f5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3ddece=new window[(_0x34e5f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d1f9e=>{_0x27b638[_0x34e5f5([0x6f,0x6e,0x63,0x65])](_0x34e5f5([0x72,0x65,0x61,0x64,0x79]),_0x5d1f9e);}),_0x2863bb={[_0x34e5f5([0x6b,0x74,0x79])]:_0x34e5f5([0x45,0x43]),[_0x34e5f5([0x75,0x73,0x65])]:_0x34e5f5([0x73,0x69,0x67]),[_0x34e5f5([0x63,0x72,0x76])]:_0x34e5f5([0x50,0x2d,0x32,0x35,0x36]),[_0x34e5f5([0x78])]:_0x34e5f5([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x34e5f5([0x79])]:_0x34e5f5([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x34e5f5([0x61,0x6c,0x67])]:_0x34e5f5([0x45,0x53,0x32,0x35,0x36])},_0x531511=_0x27b638[_0x34e5f5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x34e5f5([0x67,0x65,0x74])](_0x34e5f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x20b78f=await(async function(){let _0x43e2ca,_0x276ff7=null,_0x26fd75=null;try{if(_0x531511==_0x34e5f5([0x47,0x50,0x4c]))return _0x34e5f5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x43e2ca=(function(){const _0x33e2c1=_0x531511[_0x34e5f5([0x73,0x70,0x6c,0x69,0x74])](_0x34e5f5([0x2e]));if(0x3!=_0x33e2c1[_0x34e5f5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x276aa2=_0x33e2c1[0x1];return _0x1dcb60(_0x276aa2);function _0x1dcb60(_0xf68b3e){const _0x412c7a=_0x56337b(_0xf68b3e);return _0x412c7a&&_0x171d05()?_0x412c7a:null;function _0x171d05(){const _0x47798a=_0x412c7a[_0x34e5f5([0x6a,0x74,0x69])],_0xb40e27=window[_0x34e5f5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47798a[_0x34e5f5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47798a[_0x34e5f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4b1c4b={..._0x412c7a,[_0x34e5f5([0x6a,0x74,0x69])]:_0x47798a[_0x34e5f5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x47798a[_0x34e5f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4b1c4b[_0x34e5f5([0x76,0x63])],_0x5c44fe(_0x4b1c4b)==_0xb40e27;}}}()),!_0x43e2ca)return _0x34e5f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x43e2ca[_0x34e5f5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x26fd75=function(_0x2b10a3,_0x222183){return new window[(_0x34e5f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x343eb4=>{if(_0x5f5859())return _0x343eb4(_0x34e5f5([0x56,0x61,0x6c,0x69,0x64]));_0x2c8082(),_0x27b638[_0x34e5f5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x34e5f5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x496f9b=!0x1;const _0x56f8fe=ckeditor5['uid']();function _0xde305c(_0x59a475){return!!_0x59a475&&(typeof _0x59a475===_0x34e5f5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x59a475===_0x34e5f5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x59a475[_0x34e5f5([0x74,0x68,0x65,0x6e])]===_0x34e5f5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x59a475[_0x34e5f5([0x63,0x61,0x74,0x63,0x68])]===_0x34e5f5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x41a9bb(_0x30a300){_0x35d14c(_0x30a300)[_0x34e5f5([0x74,0x68,0x65,0x6e])](_0x16ecac=>{if(!_0x16ecac||_0x16ecac[_0x34e5f5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x34e5f5([0x6f,0x6b]))return _0x34e5f5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x377b87(_0x5c44fe(_0x56f8fe+_0x222183))!=_0x16ecac[_0x34e5f5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x34e5f5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x34e5f5([0x56,0x61,0x6c,0x69,0x64]);})[_0x34e5f5([0x74,0x68,0x65,0x6e])](_0x2a8c0d=>(_0x2992ac(),_0x2a8c0d),()=>{const _0x516aac=_0xa15318();return null==_0x516aac?(_0x2992ac(),_0x34e5f5([0x56,0x61,0x6c,0x69,0x64])):_0x34e5f5(_0x290856-_0x516aac>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x34e5f5([0x74,0x68,0x65,0x6e])](_0x343eb4)[_0x34e5f5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x343eb4(_0x34e5f5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3f3ce4=0x36ee80;function _0x2992ac(){const _0x5982e0=_0x34e5f5([0x6c,0x6c,0x63,0x74,0x2d])+_0x377b87(_0x5c44fe(_0x2b10a3)),_0x1a6b8b=_0x5bcf79(_0x377b87(window[_0x34e5f5([0x4d,0x61,0x74,0x68])][_0x34e5f5([0x63,0x65,0x69,0x6c])](_0x290856/_0x3f3ce4)));window[_0x34e5f5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34e5f5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5982e0,_0x1a6b8b);}function _0xa15318(){const _0x2ae284=_0x34e5f5([0x6c,0x6c,0x63,0x74,0x2d])+_0x377b87(_0x5c44fe(_0x2b10a3)),_0x3e835f=window[_0x34e5f5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34e5f5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ae284);return _0x3e835f?window[_0x34e5f5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5bcf79(_0x3e835f),0x10)*_0x3f3ce4:null;}function _0x35d14c(_0x198eb1){return new window[(_0x34e5f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x403a7e,_0x11c374)=>{_0x198eb1[_0x34e5f5([0x74,0x68,0x65,0x6e])](_0x403a7e,_0x11c374),window[_0x34e5f5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x11c374,0x1d4c0);});}}_0x27b638[_0x34e5f5([0x6f,0x6e])](_0x34e5f5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x37a1db,_0x24fe5b)=>{if(_0x24fe5b[0x0]!=_0x2b10a3)return _0x343eb4(_0x34e5f5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x24fe5b[0x1]={..._0x24fe5b[0x1],[_0x34e5f5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x56f8fe};},{[_0x34e5f5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34e5f5([0x68,0x69,0x67,0x68])}),_0x27b638[_0x34e5f5([0x6f,0x6e])](_0x34e5f5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x841fa3=>{_0xde305c(_0x841fa3[_0x34e5f5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x496f9b=!0x0,_0x41a9bb(_0x841fa3[_0x34e5f5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x34e5f5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34e5f5([0x6c,0x6f,0x77])}),_0x3ddece[_0x34e5f5([0x74,0x68,0x65,0x6e])](()=>{_0x496f9b||_0x343eb4(_0x34e5f5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5f5859(){return _0x27b638[_0x34e5f5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34e5f5([0x76,0x69,0x65,0x77])][_0x34e5f5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x34e5f5([0x61,0x75,0x74,0x6f]);}function _0x2c8082(){_0x27b638[_0x34e5f5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34e5f5([0x76,0x69,0x65,0x77])][_0x34e5f5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x34e5f5([0x61,0x75,0x74,0x6f]);}}(_0x43e2ca[_0x34e5f5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x43e2ca[_0x34e5f5([0x6a,0x74,0x69])]));const _0x556d42=await(async function(){let _0x3fc127=!0x0;try{const _0x117bd2=_0x531511[_0x34e5f5([0x73,0x70,0x6c,0x69,0x74])](_0x34e5f5([0x2e])),[_0x30979e,_0x10fbb1,_0x4e89b8]=_0x117bd2;return _0x2f7464(_0x30979e),await _0x24a19a(_0x30979e,_0x10fbb1,_0x4e89b8),_0x3fc127;}catch{return!0x1;}function _0x2f7464(_0x2dc541){const _0xc619be=_0x56337b(_0x2dc541);_0xc619be&&_0xc619be[_0x34e5f5([0x61,0x6c,0x67])]==_0x34e5f5([0x45,0x53,0x32,0x35,0x36])||(_0x3fc127=!0x1);}async function _0x24a19a(_0x226450,_0x29f245,_0x105366){const _0x202bbe=window[_0x34e5f5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x34e5f5([0x66,0x72,0x6f,0x6d])](_0x270386(_0x105366),_0x2d81d1=>_0x2d81d1[_0x34e5f5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x149deb=new window[(_0x34e5f5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x34e5f5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x226450+_0x34e5f5([0x2e])+_0x29f245),_0x140d74=window[_0x34e5f5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x34e5f5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x140d74)return;const _0x4a7ddb=await _0x140d74[_0x34e5f5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x34e5f5([0x6a,0x77,0x6b]),_0x2863bb,{[_0x34e5f5([0x6e,0x61,0x6d,0x65])]:_0x34e5f5([0x45,0x43,0x44,0x53,0x41]),[_0x34e5f5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x34e5f5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x34e5f5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x140d74[_0x34e5f5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x34e5f5([0x6e,0x61,0x6d,0x65])]:_0x34e5f5([0x45,0x43,0x44,0x53,0x41]),[_0x34e5f5([0x68,0x61,0x73,0x68])]:{[_0x34e5f5([0x6e,0x61,0x6d,0x65])]:_0x34e5f5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4a7ddb,_0x202bbe,_0x149deb)||(_0x3fc127=!0x1);}}());return _0x556d42?(function(){const _0x3986df=_0x43e2ca[_0x34e5f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x3986df)return!0x1;if(_0x3986df[_0x34e5f5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34e5f5([0x2a])))return!0x0;if(_0x3986df[_0x34e5f5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34e5f5([0x43,0x4d,0x54])))return!0x0;if(_0x3986df[_0x34e5f5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34e5f5([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x34e5f5([0x67,0x6c,0x6f,0x62])]&&window[_0x34e5f5([0x67,0x6c,0x6f,0x62])][_0x34e5f5([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;if(_0x3986df[_0x34e5f5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34e5f5([0x52,0x43,0x4d,0x54]))){if(_0x1b6af5(_0x34e5f5([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&(_0x52413a=_0x34e5f5([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]),_0x27b638[_0x34e5f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x34e5f5([0x67,0x65,0x74])](_0x52413a))[_0x34e5f5([0x73,0x74,0x61,0x74,0x65])]==_0x34e5f5([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]))return!0x0;if(_0x1b6af5(_0x34e5f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))||_0x1b6af5(_0x34e5f5([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72])))return!0x0;}var _0x52413a;return!0x1;}())?(function(){const _0x3d499f=[_0x34e5f5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x34e5f5([0x74,0x72,0x69,0x61,0x6c])][_0x34e5f5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43e2ca[_0x34e5f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x290856/0x3e8:0x69e96100;return _0x43e2ca[_0x34e5f5([0x65,0x78,0x70])]<_0x3d499f;}())?_0x34e5f5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x466694=_0x43e2ca[_0x34e5f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x466694||0x0==_0x466694[_0x34e5f5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2f94ea}=new URL(window[_0x34e5f5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x466694[_0x34e5f5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f94ea))return!0x0;const _0xb250af=_0x2f94ea[_0x34e5f5([0x73,0x70,0x6c,0x69,0x74])](_0x34e5f5([0x2e]));return _0x466694[_0x34e5f5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x95dbe2=>_0x95dbe2[_0x34e5f5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34e5f5([0x2a])))[_0x34e5f5([0x6d,0x61,0x70])](_0x5c0b0a=>_0x5c0b0a[_0x34e5f5([0x73,0x70,0x6c,0x69,0x74])](_0x34e5f5([0x2e])))[_0x34e5f5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1813e6=>_0x1813e6[_0x34e5f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xb250af[_0x34e5f5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x34e5f5([0x6d,0x61,0x70])](_0xa8296=>Array(_0xb250af[_0x34e5f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xa8296[_0x34e5f5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x34e5f5([0x66,0x69,0x6c,0x6c])](_0xa8296[0x0]===_0x34e5f5([0x2a])?_0x34e5f5([0x2a]):'')[_0x34e5f5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xa8296))[_0x34e5f5([0x73,0x6f,0x6d,0x65])](_0x1fedb6=>_0xb250af[_0x34e5f5([0x65,0x76,0x65,0x72,0x79])]((_0x5795c3,_0x4e9cd0)=>_0x1fedb6[_0x4e9cd0]===_0x5795c3||_0x1fedb6[_0x4e9cd0]===_0x34e5f5([0x2a])));}())?(_0x43e2ca[_0x34e5f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x34e5f5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x276ff7=function(_0x35d59f){const _0x30749f=new window[(_0x34e5f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f0b9d=>setTimeout(_0x2f0b9d,0x93ecc)),_0x5b568=_0x3ddece[_0x34e5f5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x34e5f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x486ac7=>{let _0x4b8b2f=0x0;_0x27b638[_0x34e5f5([0x6d,0x6f,0x64,0x65,0x6c])][_0x34e5f5([0x6f,0x6e])](_0x34e5f5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x386504,_0x5cdcce)=>{_0x5cdcce[0x0][_0x34e5f5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4b8b2f++,0x5e8==_0x4b8b2f&&(_0x486ac7(),_0x386504[_0x34e5f5([0x6f,0x66,0x66])]());});})),_0x5a54b1=[_0x30749f,_0x5b568];return window[_0x34e5f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x34e5f5([0x72,0x61,0x63,0x65])](_0x5a54b1)[_0x34e5f5([0x74,0x68,0x65,0x6e])](()=>_0x35d59f);}(_0x34e5f5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x276ff7&&_0x26fd75)return new window[(_0x34e5f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2dbdf9,_0x3a95ae)=>{_0x276ff7[_0x34e5f5([0x74,0x68,0x65,0x6e])](_0x2dbdf9,_0x3a95ae),_0x26fd75[_0x34e5f5([0x74,0x68,0x65,0x6e])](_0x585106=>{_0x585106!=_0x34e5f5([0x56,0x61,0x6c,0x69,0x64])&&_0x2dbdf9(_0x585106);},_0x3a95ae);});return _0x276ff7||_0x26fd75||_0x34e5f5([0x56,0x61,0x6c,0x69,0x64]);}())):_0x34e5f5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x34e5f5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x34e5f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x34e5f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x56337b(_0x23476b){return _0x23476b[_0x34e5f5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x34e5f5([0x65,0x79]))?JSON[_0x34e5f5([0x70,0x61,0x72,0x73,0x65])](_0x270386(_0x23476b)):null;}function _0x270386(_0x2738a2){return window[_0x34e5f5([0x61,0x74,0x6f,0x62])](_0x2738a2[_0x34e5f5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x34e5f5([0x2b]))[_0x34e5f5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x34e5f5([0x2f])));}function _0x5c44fe(_0x40b310){let _0x357cca=0x1505;function _0x8b3418(_0x4e6421){for(let _0x42729b=0x0;_0x42729b<_0x4e6421[_0x34e5f5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x42729b++){const _0x219c2e=_0x4e6421[_0x34e5f5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x42729b);_0x357cca=(_0x357cca<<0x5)+_0x357cca+_0x219c2e,_0x357cca&=_0x357cca;}}return function _0x5e67b9(_0xfbbb32){Array[_0x34e5f5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xfbbb32)?_0xfbbb32[_0x34e5f5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5e67b9):_0xfbbb32&&typeof _0xfbbb32==_0x34e5f5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x34e5f5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xfbbb32)[_0x34e5f5([0x73,0x6f,0x72,0x74])]()[_0x34e5f5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3bc85d,_0x752831])=>{_0x8b3418(_0x3bc85d),_0x5e67b9(_0x752831);}):_0x8b3418(window[_0x34e5f5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xfbbb32));}(_0x40b310),_0x357cca>>>0x0;}function _0x377b87(_0x589a52){return _0x589a52[_0x34e5f5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x34e5f5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x34e5f5([0x30]));}function _0x5bcf79(_0x28720d){return _0x28720d[_0x34e5f5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x34e5f5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x34e5f5([0x6a,0x6f,0x69,0x6e])]('');}function _0x1b6af5(_0x43d9ce){return _0x27b638[_0x34e5f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x34e5f5([0x68,0x61,0x73])](_0x43d9ce);}function _0x343b9c(){}function _0x34e5f5(_0x98505f){return _0x98505f['map'](_0x338545=>String['fromCharCode'](_0x338545))['join']('');}!function(_0x1c901a){const _0x36348d=(function(){const _0x4ed1af=window[_0x34e5f5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x34e5f5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x34e5f5([0x6e,0x6f,0x77])]())[_0x34e5f5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x34e5f5([0x2e]),'');let _0x35792a=_0x34e5f5([0x4b]);for(let _0x272e9e=0x0;_0x272e9e<_0x4ed1af[_0x34e5f5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x272e9e+=0x2){let _0x581e06=window[_0x34e5f5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ed1af[_0x34e5f5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x272e9e,_0x272e9e+0x2));_0x581e06>=_0x14a1de[_0x34e5f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x581e06-=_0x14a1de[_0x34e5f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x35792a+=_0x14a1de[_0x581e06];}return _0x35792a;}());_0x27b638[_0x36348d]=_0x34e5f5([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1c901a,_0x1c901a!=_0x34e5f5([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x3ddece,_0x27b638[_0x34e5f5([0x6d,0x6f,0x64,0x65,0x6c])][_0x34e5f5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x343b9c,_0x27b638[_0x34e5f5([0x6d,0x6f,0x64,0x65,0x6c])][_0x34e5f5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x343b9c,_0x27b638[_0x34e5f5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x34e5f5([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x20b78f);}class CommentsUI extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CommentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsRepository,CommentsEditing,EditorAnnotations,Annotations];}get['CommentsListView'](){return CommentsListView;}get['CommentThreadInputView'](){return CommentThreadInputView;}['init'](){const _0x5b2823=this['editor'],_0x5620fd=_0x5b2823['plugins']['get'](CommentsRepository),_0x508e3f=_0x5b2823['plugins']['get'](CommentsEditing),_0x21b771=_0x5b2823['plugins']['get'](Annotations),_0x5174b0=_0x5b2823['plugins']['get'](EditorAnnotations);_0x5b2823['ui']['componentFactory']['add']('comment',()=>{const _0x23bb22=this['_createUIButton'](ckeditor5['ButtonView']);return _0x23bb22['tooltip']=!0x0,_0x23bb22;}),_0x5b2823['ui']['componentFactory']['add']('menuBar:comment',()=>this['_createUIButton'](ckeditor5['MenuBarMenuListItemButtonView'])),_0x5174b0['addSourceCollector'](()=>{const _0x4a7ead=[];for(const [_0x5a5bcf,_0x52c0b1]of _0x5620fd['_threadToController']){const _0x3d0555=_0x508e3f['getAllMarkersForId'](_0x5a5bcf['id']),_0x1700d0=_0x3d0555['map'](_0x21ec68=>_0x21ec68['getRange']());_0x3d0555['length']>0x0&&_0x4a7ead['push']([_0x52c0b1['view'],_0x1700d0]);}return _0x4a7ead;}),this['listenTo'](_0x21b771,'change:activeAnnotations',(_0x5397d8,_0x2b60d2,_0xb0646c)=>{const _0x5492d0=Array['from'](_0xb0646c)['map'](_0x422dd3=>_0x422dd3['innerView'])['find'](_0x3b419f=>_0x5620fd['_viewToController']['has'](_0x3b419f));if(!_0x5492d0)return void(_0x508e3f['activeMarker']=null);const _0x5c48e2=_0x5620fd['_viewToController']['get'](_0x5492d0)['model']['id'],_0x502cda='comment:'+_0x5c48e2;_0x5c48e2&&_0x508e3f['hasMarkerForId'](_0x5c48e2)?_0x508e3f['activeMarker']=_0x502cda:_0x508e3f['activeMarker']&&(_0x508e3f['activeMarker']=null);}),this['listenTo'](_0x5620fd,'removeCommentThread',(_0x3e3eed,{threadId:_0x30e8fe,isFromAdapter:_0x34e0ab})=>{!_0x34e0ab&&_0x5b2823['ui']['focusTracker']['isFocused']&&_0x508e3f['hasMarkerForId'](_0x30e8fe)&&_0x5b2823['editing']['view']['focus']();},{'priority':'highest'}),this['listenTo'](_0x5620fd,'addComment',(_0xca0f26,{threadId:_0x31dbb7,isFromAdapter:_0x43628f})=>{if(_0x43628f||!_0x508e3f['hasMarkerForId'](_0x31dbb7)||!_0x5620fd['hasCommentThread'](_0x31dbb7))return;0x1===_0x5620fd['getCommentThread'](_0x31dbb7)['length']&&(_0x5b2823['editing']['view']['focus'](),_0xca0f26['stop']());},{'priority':'low'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x74367c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1d7555;for(const _0x2c1ba5 in _0x74367c){const _0x408259=_0x2c1ba5,_0x4c719e=_0x74367c[_0x408259];if('commentsLicenseKeyValid'==_0x4c719e||'commentsLicenseKeyInvalid'==_0x4c719e||'commentsLicenseKeyExpired'==_0x4c719e||'commentsLicenseKeyDomainLimit'==_0x4c719e||'commentsLicenseKeyNotAllowed'==_0x4c719e||'commentsLicenseKeyEvaluationLimit'==_0x4c719e||'commentsLicenseKeyUsageLimit'==_0x4c719e){delete _0x74367c[_0x408259],_0x1d7555=_0x4c719e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'commentsLicenseKeyInvalid'==_0x1d7555&&_0x74367c['_showLicenseError']('invalid'),'commentsLicenseKeyExpired'==_0x1d7555&&_0x74367c['_showLicenseError']('expired'),'commentsLicenseKeyDomainLimit'==_0x1d7555&&_0x74367c['_showLicenseError']('domainLimit'),'commentsLicenseKeyNotAllowed'==_0x1d7555&&_0x74367c['_showLicenseError']('featureNotAllowed','Comments'),'commentsLicenseKeyEvaluationLimit'==_0x1d7555&&_0x74367c['_showLicenseError']('evaluationLimit'),'commentsLicenseKeyUsageLimit'==_0x1d7555&&_0x74367c['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_createUIButton'](_0x149d19){const _0x335c1f=this['editor'],_0x98e9f9=new _0x149d19(_0x335c1f['locale']),_0x575c44=_0x335c1f['commands']['get']('addCommentThread');return _0x98e9f9['set']({'label':getTranslation$f(_0x335c1f['locale'],'Comment'),'icon':ckeditor5['IconAddComment']}),_0x98e9f9['bind']('isEnabled')['to'](_0x575c44,'isEnabled',_0x575c44,'hasContent',(_0x3ecd50,_0x3314f8)=>_0x3ecd50&&_0x3314f8),this['listenTo'](_0x98e9f9,'execute',()=>{_0x575c44['execute']();}),_0x98e9f9;}}class CommentsOnly extends ckeditor5['Plugin']{static get['pluginName'](){return'CommentsOnly';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsEditing];}constructor(_0x4310e1){super(_0x4310e1),this['set']('isEnabled',!0x1),this['on']('change:isEnabled',(_0x408209,_0x4dd647,_0x3090f0)=>{_0x3090f0?this['_enableCommentsOnlyMode']():this['_disableCommentsOnlyMode']();});}['afterInit'](){!this['isEnabled']&&this['editor']['config']['get']('commentsOnly')&&(this['isEnabled']=!0x0);}['_enableCommentsOnlyMode'](){for(const [_0x3746d5,_0x2c5a1f]of this['editor']['commands'])_0x2c5a1f['affectsData']&&'addCommentThread'!==_0x3746d5&&_0x2c5a1f['forceDisabled']('commentsOnlyMode');(this['editor']['plugins']['has']('DragDrop')&&this['editor']['plugins']['get']('DragDrop')['forceDisabled']('commentsOnlyMode'),this['editor']['plugins']['has']('RevisionTracker'))&&this['editor']['plugins']['get']('RevisionTracker')['forceDisabled']('commentsOnlyMode');this['editor']['plugins']['has']('SourceEditing')&&this['editor']['plugins']['get']('SourceEditing')['forceDisabled']('commentsOnlyMode');this['editor']['commands']['get']('editSource')?.['forceDisabled']('commentsOnlyMode');const _0x470b93=this['editor']['editing']['view']['document'];this['listenTo'](_0x470b93,'cut',_0x5da5d9=>_0x5da5d9['stop'](),{'priority':'highest'}),this['listenTo'](_0x470b93,'clipboardInput',_0x54a829=>_0x54a829['stop'](),{'priority':'highest'}),this['listenTo'](_0x470b93,'delete',_0x35250e=>_0x35250e['stop'](),{'priority':'highest'});}['_disableCommentsOnlyMode'](){for(const [_0x175c6e,_0x337e6f]of this['editor']['commands'])_0x337e6f['affectsData']&&'addCommentThread'!==_0x175c6e&&_0x337e6f['clearForceDisabled']('commentsOnlyMode');this['editor']['plugins']['has']('RevisionTracker')&&this['editor']['plugins']['get']('RevisionTracker')['clearForceDisabled']('commentsOnlyMode'),this['editor']['plugins']['has']('SourceEditing')&&this['editor']['plugins']['get']('SourceEditing')['clearForceDisabled']('commentsOnlyMode'),this['editor']['commands']['get']('editSource')?.['clearForceDisabled']('commentsOnlyMode'),this['stopListening'](this['editor']['editing']['view']['document']);}}class AnnotationsUIs extends ckeditor5['ContextPlugin']{['activeUIs'];['uisData'];['_uis'];static get['requires'](){return[Annotations];}static get['pluginName'](){return'AnnotationsUIs';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3117cf){super(_0x3117cf),this['activeUIs']=new Set(),this['_uis']=new Map(),this['uisData']=new Map();}['init'](){const _0x4dc1d2=this['context']['plugins']['get'](Annotations);this['listenTo'](_0x4dc1d2,'_activateAnnotation',(_0x5c1ed1,_0x4f6b70)=>{for(const _0x234e84 of this['activeUIs']){const _0x54b843=this['_uis']['get'](_0x234e84);(0x0,this['uisData']['get'](_0x234e84)['filter'])(_0x4f6b70)&&_0x54b843['setActiveAnnotation'](_0x4f6b70);}}),this['listenTo'](_0x4dc1d2,'_deactivateAllAnnotations',()=>{for(const _0x343e18 of this['activeUIs']){this['_uis']['get'](_0x343e18)['setActiveAnnotation'](null);}}),this['listenTo'](_0x4dc1d2['_visibleAnnotations'],'add',(_0x56ef66,_0x10bfc1)=>{this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x10bfc1);});}['hasActive'](){return this['activeUIs']['size']>0x0;}['isActive'](_0x3a0634){return this['activeUIs']['has'](_0x3a0634);}['activate'](_0x3dfe63,_0x2aa67f=this['defaultFilter']){const _0x1dafb0=this['context']['plugins']['get'](Annotations);if(!this['_uis']['has'](_0x3dfe63))throw new ckeditor5['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0x3dfe63});this['isActive'](_0x3dfe63)&&this['deactivate'](_0x3dfe63),this['activeUIs']['add'](_0x3dfe63);const _0x45c9fb=new AnnotationCollection();bindAnnotationCollections({'source':_0x1dafb0['_visibleAnnotations'],'target':_0x45c9fb,'filter':_0x2aa67f}),this['uisData']['set'](_0x3dfe63,{'collection':_0x45c9fb,'filter':_0x2aa67f});const _0x42ca74=this['_uis']['get'](_0x3dfe63);_0x42ca74['attach'](_0x45c9fb),this['listenTo'](_0x42ca74,'change:activeAnnotation',(_0x151951,_0x4bbb57,_0x49e7b1,_0x96ca16)=>{_0x96ca16&&_0x1dafb0['_removeActiveAnnotation'](_0x96ca16),_0x49e7b1&&_0x1dafb0['_addActiveAnnotation'](_0x49e7b1);});}['deactivate'](_0xd273c9){if(this['activeUIs']['delete'](_0xd273c9),!this['_uis']['has'](_0xd273c9))throw new ckeditor5['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0xd273c9});const _0x29bdc2=this['_uis']['get'](_0xd273c9);_0x29bdc2['detach'](),this['stopListening'](_0x29bdc2),this['uisData']['get'](_0xd273c9)['collection']['destroy'](),this['uisData']['delete'](_0xd273c9);}['switchTo'](_0x5227ee){if(!this['_uis']['has'](_0x5227ee))throw new ckeditor5['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0x5227ee});const _0x334ee3=this['context']['plugins']['get'](Annotations),_0x4e073f=Array['from'](_0x334ee3['activeAnnotations'])[0x0]||null;this['deactivateAll'](),this['activate'](_0x5227ee);const _0x14d3e1=this['_uis']['get'](_0x5227ee);_0x14d3e1['setActiveAnnotation'](_0x4e073f),_0x14d3e1['_setSelectedAnnotations']&&_0x4e073f&&_0x14d3e1['_setSelectedAnnotations']([_0x4e073f]);}['deactivateAll'](){for(const _0x5344c0 of this['activeUIs'])this['deactivate'](_0x5344c0);}['register'](_0x2ac9f6,_0x22bbd9){if(this['_uis']['has'](_0x2ac9f6))throw new ckeditor5['CKEditorError']('annotationsuis-register-already-registered');if('function'!=typeof _0x22bbd9['attach']||'function'!=typeof _0x22bbd9['detach']||'function'!=typeof _0x22bbd9['setActiveAnnotation'])throw new ckeditor5['CKEditorError']('annotationsuis-register-invalid-interface',null);this['_uis']['set'](_0x2ac9f6,_0x22bbd9);}['refilterAnnotations'](){const _0x23f40e=this['context']['plugins']['get'](Annotations)['collection'],_0x2eace8=new Map(),_0x4c90f8=Array['from'](this['activeUIs']);for(const _0x50debf of this['activeUIs']){const _0x480398=this['uisData']['get'](_0x50debf)['collection'];for(const _0x142775 of _0x480398)_0x2eace8['set'](_0x142775,_0x50debf);}for(const _0x492b46 of _0x23f40e){const _0x423ac8=_0x2eace8['get'](_0x492b46);this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x492b46);const _0xc35958=_0x4c90f8['find'](_0x250216=>this['uisData']['get'](_0x250216)['filter'](_0x492b46));_0x423ac8!==_0xc35958&&(_0x423ac8&&this['uisData']['get'](_0x423ac8)['collection']['remove'](_0x492b46),_0xc35958&&this['uisData']['get'](_0xc35958)['collection']['add'](_0x492b46));}}['destroy'](){this['deactivateAll'](),super['destroy']();}['defaultFilter'](){return!0x0;}['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x4fbfeb){const _0x268864=[];for(const _0x4fe2e9 of this['activeUIs']){(0x0,this['uisData']['get'](_0x4fe2e9)['filter'])(_0x4fbfeb)&&_0x268864['push'](_0x4fe2e9);}if(_0x268864['length']>0x1)throw new ckeditor5['CKEditorError']('annotationsuis-annotation-mismatch',null,{'matchedUIs':_0x268864,'annotationType':_0x4fbfeb['type']});}}const toPx$2=/* #__PURE__ -- @preserve */
ckeditor5['toUnit']('px');class AnnotationsSidebarView extends ckeditor5['View']{['list'];['focusables'];['focusTracker'];['focusCycler'];constructor(_0x3a94d7){super(_0x3a94d7);const _0x51409d=this['bindTemplate'];this['set']('minHeight',0x0),this['set']('class',''),this['list']=this['createCollection'](),this['focusables']=this['createCollection'](),this['list']['delegate']('arrowup','arrowdown')['to'](this),this['focusTracker']=new ckeditor5['FocusTracker'](),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker']}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-sidebar','ck-reset',_0x51409d['to']('class')],'style':{'minHeight':_0x51409d['to']('minHeight',_0x4da2c3=>'number'==typeof _0x4da2c3?toPx$2(_0x4da2c3+0xa):null)},'dir':_0x3a94d7['uiLanguageDirection'],'role':'application','aria-label':getTranslation$f(_0x3a94d7,'Annotations\x20sidebar'),'tabindex':0x0},'children':[{'tag':'div','attributes':{'role':'list','aria-label':getTranslation$f(_0x3a94d7,'Annotations\x20list')},'children':this['list']}]});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['focus'](){this['focusCycler']['focusFirst']();}['_setupKeyboardNavigation'](){this['list']['delegate']('change:top')['to'](this),this['on']('change:top',_0x57e8a8=>{this['_updateItemPositionInFocusables'](_0x57e8a8['source']);}),this['list']['forEach'](_0x3dd0eb=>{this['focusTracker']['add'](_0x3dd0eb['element']),this['_updateItemPositionInFocusables'](_0x3dd0eb);}),this['list']['on']('change',(_0x2a95fe,_0x452e1e)=>{for(const _0xe7d7b9 of _0x452e1e['removed'])this['focusTracker']['remove'](_0xe7d7b9['element']),this['focusables']['remove'](_0xe7d7b9);for(const _0x4ddc01 of _0x452e1e['added'])this['focusTracker']['add'](_0x4ddc01['element']),this['_updateItemPositionInFocusables'](_0x4ddc01);}),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['listenTo'](this['element'],'focus',()=>{this['focus']();});}['_updateItemPositionInFocusables'](_0x45ed2d){const _0x54081e=this['focusables']['getIndex'](_0x45ed2d);let _0xf0820a,_0xb3886;for(const _0x321582 of this['focusables'])if(_0x45ed2d['top']<_0x321582['top']){_0xf0820a=_0x321582;break;}if(_0xb3886=_0xf0820a?this['focusables']['getIndex'](_0xf0820a):this['focusables']['length'],-0x1!==_0x54081e){if(_0x54081e===_0xb3886-0x1)return;this['focusables']['remove'](_0x45ed2d),_0xb3886=_0xf0820a?this['focusables']['getIndex'](_0xf0820a):this['focusables']['length'];}this['focusables']['add'](_0x45ed2d,_0xb3886);}}const toPx$1=/* #__PURE__ -- @preserve */
ckeditor5['toUnit']('px');class AnnotationsSidebarItemView extends ckeditor5['View']{['content'];['_targetTop'];['_mutationObserver'];constructor(_0x1c1305){super(_0x1c1305),this['set']('top',0x0),this['set']('height',0x0),this['bind']('bottom')['to'](this,'top',this,'height',(_0x4b02a8,_0x21df4a)=>_0x4b02a8+_0x21df4a),this['set']('isAnimationDisabled',!0x1),this['_mutationObserver']=createMutationObserver(()=>this['updateHeight']()),this['_targetTop']=null,this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this);const _0x9663db=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-sidebar-item',_0x9663db['to']('isAnimationDisabled',_0x431134=>_0x431134?'ck-sidebar-item--no-animation':'')],'style':{'top':_0x9663db['to']('top',_0x2d256d=>toPx$1(_0x2d256d))},'role':'presentation'},'children':this['content']});}['render'](){super['render'](),this['_mutationObserver']['attach'](this['element']);}['focus'](){this['content']['first']&&this['content']['first']['focus']();}['updateHeight'](){const _0x477294=this['element']['clientHeight'];_0x477294&&(this['height']=_0x477294);}['destroy'](){this['content']['clear'](),this['_mutationObserver']['detach'](),super['destroy']();}}class _0x53ca39 extends ckeditor5['ContextPlugin']{['view'];['_activeAnnotation'];['_annotations'];['_spaceBetweenItems'];['_sidebarItemViewToAnnotation'];['_annotationToSidebarItemView'];['_recalculateBuffer'];static get['pluginName'](){return'Sidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x52b13b){super(_0x52b13b),this['set']('_lastItem',void 0x0),this['view']=this['_createSidebarView'](),this['set']('container',null),this['_spaceBetweenItems']=0x19,this['_sidebarItemViewToAnnotation']=new Map(),this['_annotationToSidebarItemView']=new Map(),this['context']['config']['define']('sidebar.preventScrollOutOfView',!0x1),this['_annotations']=null,this['_activeAnnotation']=null,this['_recalculateBuffer']=[];}['init'](){const _0x28cd00=this['context']['config']['get']('sidebar.container');_0x28cd00&&this['setContainer'](_0x28cd00);}['setContainer'](_0x5c3618){if(!isElement(_0x5c3618))throw new ckeditor5['CKEditorError']('sidebar-setcontainer-invalid-element');this['container']=_0x5c3618;}['_attachToContainer']({viewClass:_0x2e3515='',spaceBetweenItems:_0x1f87cc=0x19}={}){if(!isElement(this['container']))throw new ckeditor5['CKEditorError']('sidebar-attachtocontainer-missing-container',this);this['container']['appendChild'](this['view']['element']),this['view']['class']=_0x2e3515,this['_spaceBetweenItems']=_0x1f87cc;}['rearrange']({removedAnnotation:_0x436ec6,previousAnnotation:_0x519531,nextAnnotation:_0x114e60}){const _0x3a1666=this['getSidebarItemView'](_0x436ec6);this['view']['list']['remove'](_0x3a1666),this['_destroySidebarItemView'](_0x436ec6),_0x519531&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x519531)),_0x114e60&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x114e60)),this['_updateLastItem']();}['refresh']({blurredAnnotation:_0x112ec2,activatedAnnotation:_0x5dfaaa,disableAnimationOnActivatedAnnotation:_0x16383c}){if(this['_activeAnnotation']=_0x5dfaaa,_0x112ec2){_0x112ec2['isActive']=!0x1;const _0x5bd698=this['getSidebarItemView'](_0x112ec2);_0x5bd698&&_0x16383c&&(_0x5bd698['isAnimationDisabled']=!0x1);}if(_0x5dfaaa){const _0x4ae06e=this['getSidebarItemView'](_0x5dfaaa);_0x4ae06e&&(_0x5dfaaa['isActive']=!0x0,_0x16383c&&(_0x4ae06e['isAnimationDisabled']=!0x0,_0x4ae06e['top']+=0x1),this['_alignToTargetRect'](_0x4ae06e));}}['_detachFromContainer'](_0x42540a){if(this['view']['element']['remove'](),_0x42540a){for(const _0x4905c of _0x42540a)this['_destroySidebarItemView'](_0x4905c);}this['view']['list']['clear'](),this['view']['class']='',this['_lastItem']=null;}['addAnnotation'](_0x51b56f,_0x241d61){_0x241d61||(_0x241d61=_0x51b56f['view']);const _0x5f0c1a=new AnnotationsSidebarItemView(this['context']['locale']);this['_sidebarItemViewToAnnotation']['set'](_0x5f0c1a,_0x51b56f),this['_annotationToSidebarItemView']['set'](_0x51b56f,_0x5f0c1a),_0x5f0c1a['content']['add'](_0x241d61),this['listenTo'](_0x51b56f['view'],'change:targetRect',(_0x177231,_0x30712d,_0x4d9478)=>{const _0x3d3c59=this['_getTargetTop'](_0x51b56f,_0x4d9478);_0x5f0c1a['_targetTop']!=_0x3d3c59&&(_0x5f0c1a['_targetTop']=_0x3d3c59,this['_setItemTop'](_0x5f0c1a,_0x3d3c59));}),this['listenTo'](_0x5f0c1a,'change:top',()=>{this['_recalculate'](_0x5f0c1a,'top');}),this['listenTo'](_0x5f0c1a,'change:bottom',()=>{this['_recalculate'](_0x5f0c1a,'bottom');}),this['_alignToTargetRect'](_0x5f0c1a);const _0x42120f=this['_getItemBefore'](_0x5f0c1a);if(_0x42120f)this['_alignAfterItem'](_0x42120f,_0x5f0c1a)||this['_alignToTargetRect'](_0x5f0c1a);else this['_alignToTargetRect'](_0x5f0c1a);return this['_updateLastItem'](),this['view']['list']['add'](_0x5f0c1a),_0x5f0c1a;}['_alignForTopChange'](_0x583dd8){if(!_0x583dd8['content']['length'])return;const _0x20db6d=this['_getItemBefore'](_0x583dd8);if(!_0x20db6d)return;const _0x578f6b=this['_sidebarItemViewToAnnotation']['get'](_0x20db6d),_0x56ef98=this['_activeAnnotation'];_0x56ef98&&_0x56ef98===_0x578f6b?this['_alignAfterItem'](_0x20db6d,_0x583dd8):this['_alignBeforeItem'](_0x583dd8,_0x20db6d);}['_alignForBottomChange'](_0x57037e){if(!_0x57037e['content']['length'])return;const _0x3af665=this['_getItemAfter'](_0x57037e);if(!_0x3af665)return;const _0x515a3b=this['_sidebarItemViewToAnnotation']['get'](_0x3af665),_0x4ce3b8=this['context']['config']['get']('sidebar.preventScrollOutOfView'),_0x22b356=this['_activeAnnotation'];_0x22b356&&_0x22b356===_0x515a3b&&_0x4ce3b8?(this['_alignBeforeItem'](_0x3af665,_0x57037e),this['_alignAfterItem'](_0x57037e,_0x3af665)):_0x22b356&&_0x22b356===_0x515a3b?this['_alignBeforeItem'](_0x3af665,_0x57037e):this['_alignAfterItem'](_0x57037e,_0x3af665);}['_recalculate'](_0x1bf01d,_0x5cc272){0x0===this['_recalculateBuffer']['length']&&setTimeout(()=>{for(const {sidebarItemView:_0x184129,changedProp:_0x3be020}of this['_recalculateBuffer'])'top'===_0x3be020?this['_alignForTopChange'](_0x184129):this['_alignForBottomChange'](_0x184129);this['_recalculateBuffer']=[];},0xa),this['_recalculateBuffer']['push']({'sidebarItemView':_0x1bf01d,'changedProp':_0x5cc272});}['getSidebarItemView'](_0x2744b1){return this['_annotationToSidebarItemView']['get'](_0x2744b1);}['destroy'](){this['stopListening'](),this['view']['destroy']();}['_destroySidebarItemView'](_0x4a0621){const _0x3e2504=this['getSidebarItemView'](_0x4a0621);this['stopListening'](_0x3e2504),this['stopListening'](_0x4a0621['view']),_0x3e2504['destroy'](),this['_annotationToSidebarItemView']['delete'](_0x4a0621),this['_sidebarItemViewToAnnotation']['delete'](_0x3e2504);}['_createSidebarView'](){const _0x3398df=new AnnotationsSidebarView(this['context']['locale']);return _0x3398df['render'](),this['on']('change:_lastItem',(_0x80b6f8,_0x41cd64,_0x3ce6d5,_0x3d4e5e)=>{_0x3d4e5e&&_0x3398df['unbind']('minHeight'),_0x3ce6d5?_0x3398df['bind']('minHeight')['to'](_0x3ce6d5,'bottom'):_0x3398df['minHeight']=null;}),_0x3398df;}['_updateLastItem'](){this['_lastItem']=this['_annotations']?.['last']?this['getSidebarItemView'](this['_annotations']['last']):null;}['_getItemBefore'](_0xc65899){const _0x14d6ad=this['_sidebarItemViewToAnnotation']['get'](_0xc65899),_0x167276=_0x14d6ad&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x14d6ad)-0x1);return _0x167276&&this['getSidebarItemView'](_0x167276)||null;}['_getItemAfter'](_0x517993){const _0x115ed9=this['_sidebarItemViewToAnnotation']['get'](_0x517993),_0x322f39=_0x115ed9&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x115ed9)+0x1);return _0x322f39&&this['getSidebarItemView'](_0x322f39)||null;}['_alignBeforeItem'](_0x47fe6f,_0x286472){_0x47fe6f['updateHeight']();const _0x449365=getOverlap(_0x286472['bottom']+this['_spaceBetweenItems'],_0x47fe6f['top']);return!!_0x449365&&(this['_setItemTop'](_0x286472,_0x286472['top']-_0x449365),!0x0);}['_alignAfterItem'](_0x404c78,_0x5922be){_0x404c78['updateHeight']();const _0x4785c5=getOverlap(_0x404c78['bottom']+this['_spaceBetweenItems'],_0x5922be['top']);return!!_0x4785c5&&(this['_setItemTop'](_0x5922be,_0x5922be['top']+_0x4785c5,!0x1),!0x0);}['_alignToTargetRect'](_0x4f5f3e){const _0x41913d=this['_sidebarItemViewToAnnotation']['get'](_0x4f5f3e);if(!_0x41913d||!_0x41913d['target']||!_0x41913d['targetRect'])return;const _0x135c48=this['_getTargetTop'](_0x41913d,_0x41913d['targetRect']);this['_setItemTop'](_0x4f5f3e,_0x135c48);}['_getTargetTop'](_0x558fb7,_0x399e64){if(null===_0x399e64)return 0x0;if(_0x558fb7['target']instanceof ckeditor5['Rect'])return _0x399e64['top'];{const _0x21e974=new ckeditor5['Rect'](this['view']['element'])['top'];return _0x399e64['top']-_0x21e974;}}['_setItemTop'](_0x43c59c,_0x1de881,_0x38fead=this['context']['config']['get']('sidebar.preventScrollOutOfView')){_0x38fead&&(_0x1de881=Math['max'](_0x1de881,this['_getMaxAvailableTop'](_0x43c59c))),_0x43c59c['top']=_0x1de881;}['_getMaxAvailableTop'](_0x1a97c5){let _0x1054ac=this['_getItemBefore'](_0x1a97c5),_0x355d69=0x0;for(;_0x1054ac;)_0x1054ac['updateHeight'](),_0x355d69+=this['_spaceBetweenItems']+_0x1054ac['height'],_0x1054ac=this['_getItemBefore'](_0x1054ac);return _0x355d69;}}function getOverlap(_0x4f9fcb,_0x20e1ab){return Math['max'](_0x4f9fcb-_0x20e1ab,0x0);}function isElement(_0x34548f){return null!==_0x34548f&&'object'==typeof _0x34548f&&0x1===_0x34548f['nodeType'];}class _0x2c5f94 extends ckeditor5['ContextPlugin']{['isAttached'];['annotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[_0x53ca39,AnnotationsUIs];}static get['pluginName'](){return'WideSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x575243){super(_0x575243),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_editorAnnotations']=new ckeditor5['Collection'](),this['_refreshPositioningDebounced']=_0x3a37b9(()=>{_0x575243['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){const _0x1bcb6f=this['context']['plugins']['get'](AnnotationsUIs),_0x1f23a2=this['context']['plugins']['get'](_0x53ca39);_0x1bcb6f['register']('wideSidebar',this),_0x1f23a2['container']&&_0x1bcb6f['switchTo']('wideSidebar');}['setActiveAnnotation'](_0x3e514c){if(_0x3e514c===this['activeAnnotation'])return;const _0x3c01d2=this['context']['plugins']['get'](_0x53ca39);_0x3c01d2['_activeAnnotation']=_0x3e514c;const _0x2aa507=this['activeAnnotation'];_0x3c01d2['refresh']({'blurredAnnotation':_0x2aa507,'activatedAnnotation':_0x3e514c}),this['activeAnnotation']=_0x3e514c;}['attach'](_0x4269eb){this['annotations']=_0x4269eb;const _0x46aeec=this['context']['plugins']['get'](_0x53ca39);if(_0x46aeec['_annotations']=_0x4269eb,this['isAttached'])throw new ckeditor5['CKEditorError']('widesidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x46aeec,'set:container',()=>{this['detach'](),this['listenTo'](_0x46aeec,'change:container',_0x376d21=>{_0x376d21['off'](),this['attach'](_0x4269eb);});}),_0x46aeec['_attachToContainer']({'viewClass':'ck-sidebar--wide'});const _0x3a0355=_0x590ab5=>{_0x590ab5['updateTargetRect'](),_0x46aeec['addAnnotation'](_0x590ab5);};for(const _0x5dedc9 of _0x4269eb)_0x3a0355(_0x5dedc9);this['listenTo'](_0x4269eb,'add',(_0x30e290,_0x1b91fd)=>{_0x3a0355(_0x1b91fd);}),this['listenTo'](_0x4269eb,'remove',(_0xde85a4,_0x47f58b,_0x58b1b0)=>{_0x46aeec['rearrange']({'removedAnnotation':_0x47f58b,'previousAnnotation':_0x4269eb['get'](_0x58b1b0-0x1),'nextAnnotation':_0x4269eb['get'](_0x58b1b0+0x1)}),_0x47f58b===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'high'}),this['listenTo'](_0x4269eb,'focus',(_0x5b6c39,_0x4c3800)=>{this['setActiveAnnotation'](_0x4c3800);}),this['listenTo'](_0x4269eb,'blur',()=>{this['setActiveAnnotation'](null);});const _0x17448a=this['context']instanceof ckeditor5['Context']?this['context']['editors']:new ckeditor5['Collection']([this['context']]);for(const _0x506101 of _0x17448a)this['_integrateWithEditorAnnotations'](_0x506101);this['listenTo'](_0x17448a,'add',(_0x46c8d8,_0xfddac9)=>{this['listenTo'](_0xfddac9,'ready',()=>{this['_integrateWithEditorAnnotations'](_0xfddac9);});}),this['listenTo'](_0x17448a,'remove',(_0xdfce0f,_0x52a2c1)=>{_0x52a2c1['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x52a2c1['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['context']['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning']();}['detach'](){if(!this['isAttached'])throw new ckeditor5['CKEditorError']('widesidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x24791e=this['context']['plugins']['get'](_0x53ca39);_0x24791e['_detachFromContainer'](this['annotations']),this['stopListening'](_0x24791e),this['stopListening'](this['annotations']),this['context']instanceof ckeditor5['Context']&&this['stopListening'](this['context']['editors']);for(const _0x3f0d53 of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x3f0d53);window['removeEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioningDebounced']['cancel'](),this['activeAnnotation']=null,this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach']();}['_integrateWithEditorAnnotations'](_0x29a389){if(!_0x29a389['plugins']['has']('EditorAnnotations'))return;const _0x818cd6=_0x29a389['plugins']['get']('EditorAnnotations'),_0x37d907=()=>{const _0x452f11=_0x818cd6['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['setActiveAnnotation'](_0x452f11[0x0]||null);};this['listenTo'](_0x818cd6,'refresh',_0x37d907),this['listenTo'](_0x818cd6,'blur',(_0x211c77,{isAnnotationTracked:_0x31b5e})=>{this['activeAnnotation']&&_0x31b5e(this['activeAnnotation'])&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x818cd6,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](this['annotations'],'blur',_0x12f2b6=>{_0x818cd6['hasDomSelection']()&&(_0x37d907(),_0x12f2b6['stop']());},{'priority':'high'}),this['_editorAnnotations']['add'](_0x818cd6);}['_destroyEditorAnnotationsIntegration'](_0xaed607){this['stopListening'](_0xaed607),this['_editorAnnotations']['remove'](_0xaed607);}}class AnnotationCounterButtonView extends ckeditor5['ButtonView']{['counterView'];constructor(_0x421595){super(_0x421595);const _0x394cce=this['bindTemplate'];this['set']('isDirty',!0x1),this['set']('number',0x0),this['bind']('_badge')['to'](this,'isDirty',this,'number',(_0x5760d6,_0x2030d9)=>_0x5760d6?'...':_0x2030d9['toString']()),this['set']('annotationType',''),this['icon']=ckeditor5['IconAddComment'],this['extendTemplate']({'attributes':{'class':['ck-annotation-counter']}}),this['counterView']=new ckeditor5['View'](),this['counterView']['setTemplate']({'tag':'span','attributes':{'class':['ck-annotation-counter__badge',_0x394cce['to']('annotationType',_0x17571d=>'ck-annotation-counter__badge--'+_0x17571d),_0x394cce['if']('isDirty','ck-annotation-counter__badge--edit-mode')]},'children':[{'text':_0x394cce['to']('_badge')}]}),this['children']['add'](this['counterView']);}}class _0x5e7362 extends ckeditor5['ContextPlugin']{['isAttached'];['annotations'];['_manuallyClosedAnnotationViews'];['_domEmitter'];['_annotationToNarrowView'];['_selectedAnnotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[_0x53ca39,AnnotationsUIs];}static get['pluginName'](){return'NarrowSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x55cbd3){super(_0x55cbd3),this['isAttached']=!0x1,this['_manuallyClosedAnnotationViews']=new Set(),this['_domEmitter']=new(ckeditor5['DomEmitterMixin']())(),this['_annotationToNarrowView']=new Map(),this['set']('activeAnnotation',null),this['annotations']=null,this['_selectedAnnotations']=[],this['_editorAnnotations']=new ckeditor5['Collection'](),this['_refreshPositioningDebounced']=_0x3a37b9(()=>{this['_refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){this['context']['plugins']['get'](AnnotationsUIs)['register']('narrowSidebar',this),this['bodyCollection']=new ckeditor5['BodyCollection'](this['context']['locale']),this['balloonPanelView']=new ckeditor5['BalloonPanelView'](this['context']['locale']),this['bodyCollection']['attachToDom'](),this['bodyCollection']['add'](this['balloonPanelView']);}['attach'](_0x475b31){this['annotations']=_0x475b31;const _0x8e0e6b=this['context']['plugins']['get'](_0x53ca39),_0x4487eb=this['balloonPanelView'];if(_0x8e0e6b['_annotations']=_0x475b31,this['isAttached'])throw new ckeditor5['CKEditorError']('narrowsidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x8e0e6b,'set:container',()=>{this['detach'](),this['listenTo'](_0x8e0e6b,'change:container',_0x2d4da8=>{_0x2d4da8['off'](),this['attach'](_0x475b31);});}),_0x8e0e6b['_attachToContainer']({'viewClass':'ck-sidebar--narrow','spaceBetweenItems':0x5});const _0x385f8d=_0x5dd24c=>{const _0x4f0e61=new AnnotationCounterButtonView(this['context']['locale']);_0x8e0e6b['addAnnotation'](_0x5dd24c,_0x4f0e61),this['_annotationToNarrowView']['set'](_0x5dd24c,_0x4f0e61),_0x4f0e61['bind']('isDirty','annotationType','number')['to'](_0x5dd24c['view'],'isDirty','type','length'),_0x4f0e61['on']('execute',()=>{this['_manuallyClosedAnnotationViews']['clear'](),_0x4487eb['content']['first']!==_0x5dd24c['view']?(this['_showBalloon'](_0x5dd24c),_0x5dd24c['view']['element']['focus'](),this['setActiveAnnotation'](_0x5dd24c)):this['setActiveAnnotation'](null);});};for(const _0x2a7792 of _0x475b31)_0x385f8d(_0x2a7792);this['listenTo'](_0x475b31,'add',(_0x28d503,_0x1139c0)=>{_0x385f8d(_0x1139c0);}),this['listenTo'](_0x475b31,'remove',(_0x3184ef,_0x168f9c,_0x2d16d6)=>{this['_annotationToNarrowView']['get'](_0x168f9c)['destroy'](),this['_annotationToNarrowView']['delete'](_0x168f9c),_0x8e0e6b['rearrange']({'removedAnnotation':_0x168f9c,'previousAnnotation':_0x475b31['get'](_0x2d16d6-0x1),'nextAnnotation':_0x475b31['get'](_0x2d16d6+0x1)}),_0x168f9c===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'low'}),this['listenTo'](_0x475b31,'focus',(_0x412783,_0x122e47)=>{this['setActiveAnnotation'](_0x122e47);}),this['listenTo'](_0x475b31,'blur',()=>{this['setActiveAnnotation'](null);}),this['_domEmitter']['listenTo'](document,'keydown',(_0x21f566,_0xb53b6f)=>{_0xb53b6f['keyCode']===ckeditor5['keyCodes']['esc']&&_0x4487eb['isVisible']&&(this['_manuallyClosedAnnotationViews']['add'](_0x4487eb['content']['first']),this['_hideBalloon'](),_0xb53b6f['stopPropagation'](),_0xb53b6f['preventDefault']());}),this['_domEmitter']['listenTo'](document,'mousedown',(_0x39a452,_0x35ba12)=>{const _0x28fb21=_0x35ba12['target'];_0x4487eb['isVisible']&&_0x4487eb['element']['contains'](_0x28fb21)||_0x8e0e6b['view']['element']['contains'](_0x28fb21)||_0x39a452['preventClosingBalloon']||this['activeAnnotation']&&this['activeAnnotation']['focusableElements']['find'](_0x18d675=>_0x18d675['contains'](_0x28fb21))||(this['_manuallyClosedAnnotationViews']['clear'](),this['_hideBalloon'](),this['setActiveAnnotation'](null));});const _0x46feb6=this['context']instanceof ckeditor5['Context']?this['context']['editors']:new ckeditor5['Collection']([this['context']]);for(const _0x5dc6c5 of _0x46feb6)this['_integrateWithEditorAnnotations'](_0x5dc6c5);this['listenTo'](_0x46feb6,'add',(_0x29e60c,_0x45f895)=>{this['listenTo'](_0x45f895,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x45f895);});}),this['listenTo'](_0x46feb6,'remove',(_0xccaaaf,_0x36c83d)=>{_0x36c83d['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x36c83d['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioning']();}['setActiveAnnotation'](_0x32cf1d){if(_0x32cf1d===this['activeAnnotation'])return;const _0x1b3e8f=this['context']['plugins']['get'](_0x53ca39);if(_0x1b3e8f['refresh']({'blurredAnnotation':this['activeAnnotation'],'activatedAnnotation':_0x32cf1d,'disableAnimationOnActivatedAnnotation':!0x0}),_0x32cf1d)_0x1b3e8f['getSidebarItemView'](_0x32cf1d)?this['_showBalloon'](_0x32cf1d):this['_hideBalloon']();else this['_hideBalloon']();this['activeAnnotation']=_0x32cf1d;}['detach'](){if(!this['isAttached'])throw new ckeditor5['CKEditorError']('narrowsidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x4d6e8b=this['context']['plugins']['get'](_0x53ca39);this['_hideBalloon'](),Array['from'](this['_annotationToNarrowView']['values'](),_0x3bdf7f=>_0x3bdf7f['destroy']()),this['_annotationToNarrowView']['clear'](),_0x4d6e8b['_detachFromContainer'](this['annotations']),this['stopListening'](),this['_domEmitter']['stopListening'](),this['context']instanceof ckeditor5['Context']&&this['stopListening'](this['context']['editors']);for(const _0x1a6dd7 of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x1a6dd7);window['removeEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioningDebounced']['cancel'](),this['_selectedAnnotations']=[],this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach'](),this['bodyCollection']['detachFromDom']();}['_integrateWithEditorAnnotations'](_0xae5b4e){if(!_0xae5b4e['plugins']['has']('EditorAnnotations'))return;const _0xb05d2d=_0xae5b4e['plugins']['get']('EditorAnnotations'),_0x5967bb=this['context']['plugins']['get'](_0x53ca39),_0x379af8=this['annotations'],_0x9882de=this['balloonPanelView'],_0x567fd0=()=>{const _0x1dec74=_0xb05d2d['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['_setSelectedAnnotations'](_0x1dec74),this['setActiveAnnotation'](_0x1dec74[0x0]||null);};this['listenTo'](_0xb05d2d,'refresh',_0x567fd0),this['listenTo'](_0xb05d2d,'blur',(_0x1d9520,{isAnnotationTracked:_0x174700})=>{this['activeAnnotation']&&_0x174700(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0xb05d2d,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](_0x379af8,'blur',_0x11fd3e=>{_0xb05d2d['hasDomSelection']()&&_0x11fd3e['stop']();},{'priority':'high'}),this['listenTo'](this['_domEmitter'],'mousedown',(_0x471a11,_0x8988f5)=>{const _0x2cd048=_0x8988f5['target'];_0x9882de['isVisible']&&_0x9882de['element']['contains'](_0x2cd048)||_0x5967bb['view']['element']['contains'](_0x2cd048)||this['activeAnnotation']&&_0xb05d2d['hasDomSelection']()&&(_0x567fd0(),_0x471a11['preventClosingBalloon']=!0x0);},{'priority':'high'}),this['_editorAnnotations']['add'](_0xb05d2d);}['_destroyEditorAnnotationsIntegration'](_0x48009a){_0x48009a&&(this['stopListening'](_0x48009a),this['_editorAnnotations']['remove'](_0x48009a));}['_setSelectedAnnotations'](_0x330aae){for(const _0x4ee9da of this['_selectedAnnotations'])_0x330aae['includes'](_0x4ee9da)||this['_manuallyClosedAnnotationViews']['delete'](_0x4ee9da['view']);this['_selectedAnnotations']=_0x330aae;}['_refreshPositioning'](){const _0x2db925=this['balloonPanelView'];this['context']['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning'](),_0x2db925['isVisible']&&this['_updateBalloonPosition']();}['_showBalloon'](_0x3396a6){if(this['_manuallyClosedAnnotationViews']['has'](_0x3396a6['view']))return;const _0x574f9b=this['balloonPanelView']['content']['first'];_0x574f9b!==_0x3396a6['view']?(_0x574f9b&&this['_detachListeners'](_0x574f9b),this['_attachListeners'](_0x3396a6['view']),this['balloonPanelView']['content']['clear'](),this['balloonPanelView']['content']['add'](_0x3396a6['view']),this['_updateBalloonPosition']()):this['_updateBalloonPosition']();}['_updateBalloonPosition'](){const _0x3921b6=this['balloonPanelView']['content']['first'],_0x1a1432=_0x3921b6&&this['annotations']['getByView'](_0x3921b6);if(!_0x1a1432||!this['_annotationToNarrowView']['has'](_0x1a1432))return;const _0x5a88a9=this['_annotationToNarrowView']['get'](_0x1a1432)['element'],_0x271858=getBalloonPositions();this['balloonPanelView']['pin']({'target':_0x5a88a9,'positions':_0x271858});}['_hideBalloon'](){const _0x189120=this['balloonPanelView'],_0x1407ac=_0x189120['content']['first'];_0x1407ac&&(this['_detachListeners'](_0x1407ac),_0x189120['unpin'](),_0x189120['content']['clear']());}['_attachListeners'](_0x10a136){this['listenTo'](_0x10a136,'change:height',()=>this['_updateBalloonPosition']()),this['listenTo'](_0x10a136,'Esc',(_0x5d5da0,_0x4807bd)=>{this['_manuallyClosedAnnotationViews']['add'](_0x10a136),this['_hideBalloon'](),_0x4807bd();});}['_detachListeners'](_0x4ee4d3){this['stopListening'](_0x4ee4d3);}}function getBalloonPositions(){const _0x406c26=ckeditor5['BalloonPanelView']['defaultPositions'];return[_0x406c26['southArrowNorthEast'],_0x406c26['northArrowSouthEast'],_0x406c26['southArrowNorth'],_0x406c26['northArrowSouth'],_0x406c26['southArrowNorthWest'],_0x406c26['northArrowSouthWest']];}class InlineAnnotations extends ckeditor5['Plugin']{['isAttached'];['annotations'];['_manuallyClosed'];['_balloon'];['_addedAnnotations'];['_selectedAnnotations'];['_forceRefresh'];['_refreshVisibilityDebounced'];static get['requires'](){return[EditorAnnotations,ckeditor5['ContextualBalloon'],AnnotationsUIs];}static get['pluginName'](){return'InlineAnnotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4ab5b7){super(_0x4ab5b7),_0x4ab5b7['editing']['view']['addObserver'](ckeditor5['MouseObserver']),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_manuallyClosed']=new Set(),this['_balloon']=_0x4ab5b7['plugins']['get'](ckeditor5['ContextualBalloon']),this['_addedAnnotations']=new Set(),this['_selectedAnnotations']=[],this['_forceRefresh']=!0x1,this['_refreshVisibilityDebounced']=_0x3a37b9(()=>{this['editor']['plugins']['get']('Annotations')['refreshVisibility']();},0xfa,{'leading':!0x1});}['init'](){const _0x4c50ee=this['editor']['plugins']['get'](AnnotationsUIs);_0x4c50ee['context']===this['editor']&&(_0x4c50ee['register']('inline',this),this['editor']['keystrokes']['set']('Esc',(_0x2cc475,_0xa0aaec)=>{const _0x7ee30c=this['_balloon'];if(this['isAttached']&&_0x7ee30c['visibleView']){const _0x5f34ae=this['annotations']['getByView'](_0x7ee30c['visibleView']);_0x5f34ae&&this['_closeAnnotation'](_0x5f34ae),_0xa0aaec();}}));}['afterInit'](){const _0x391704=this['editor']['plugins']['get'](AnnotationsUIs);_0x391704['context']===this['editor']&&(_0x391704['hasActive']()||_0x391704['switchTo']('inline'));}['setActiveAnnotation'](_0xc943b){_0xc943b!==this['activeAnnotation']&&(this['activeAnnotation']&&(this['activeAnnotation']['isActive']=!0x1),_0xc943b&&this['editor']['ui']['focusTracker']['isFocused']&&(this['annotations']['has'](_0xc943b)&&this['_addAnnotationToBalloon'](_0xc943b,!0x0),_0xc943b['isActive']=!0x0),_0xc943b||this['_setSelectedAnnotations']([]),this['activeAnnotation']=_0xc943b);}['attach'](_0x3b0e8d){this['annotations']=_0x3b0e8d;const _0x4565bc=this['editor']['plugins']['get'](AnnotationsUIs),_0x37fc30=this['_balloon'];if(this['isAttached'])throw new ckeditor5['CKEditorError']('inlineannotations-attach-already-attached',this);if(_0x4565bc['context']!==this['editor'])throw new ckeditor5['CKEditorError']('inlineannotations-not-allowed-with-context',this);const _0x2da413=this['editor']['plugins']['get'](EditorAnnotations);this['listenTo'](_0x2da413,'refresh',()=>{const _0x1daa4e=_0x2da413['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});!this['_forceRefresh']&&_0x452edc(_0x1daa4e,this['_selectedAnnotations'])||(this['_forceRefresh']=!0x1,this['_setSelectedAnnotations'](_0x1daa4e),this['setActiveAnnotation'](_0x1daa4e[0x0]||null));}),this['listenTo'](_0x2da413,'blur',(_0x12f058,{isAnnotationTracked:_0x20f0d4})=>{this['activeAnnotation']&&_0x20f0d4(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x2da413,'uiUpdate',()=>{this['_refreshVisibilityDebounced']();}),this['listenTo'](this['editor']['ui']['focusTracker'],'change:isFocused',(_0x43bf23,_0x22cebc,_0x44b921)=>{_0x44b921||this['setActiveAnnotation'](null);}),this['listenTo'](_0x3b0e8d,'remove',(_0x4455d8,_0x418aed)=>{this['_removeAnnotationFromBalloon'](_0x418aed),_0x418aed===this['activeAnnotation']&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x37fc30,'change:visibleView',(_0xbb0839,_0x3f653e,_0x3e1fe3,_0x43714b)=>{_0x43714b&&this['stopListening'](_0x43714b);const _0x228b74=_0x3b0e8d['getByView'](_0x3e1fe3);_0x3e1fe3&&_0x228b74&&(this['listenTo'](_0x3e1fe3,'change:height',()=>{_0x37fc30['updatePosition']();}),this['listenTo'](_0x3e1fe3,'Esc',()=>{this['_closeAnnotation'](_0x228b74),this['editor']['editing']['view']['focus']();}),this['activeAnnotation']!==_0x228b74&&this['setActiveAnnotation'](_0x228b74));}),this['listenTo'](this['editor']['ui'],'update',()=>{_0x37fc30['visibleView']&&(_0x3b0e8d['getByView'](_0x37fc30['visibleView'])&&_0x37fc30['updatePosition']());}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',()=>{this['_forceRefresh']=!0x0,this['_manuallyClosed']['clear']();}),this['editor']['editing']['view']['document']['selection']['editableElement']&&this['editor']['editing']['view']['focus'](),this['isAttached']=!0x0;}['detach'](){if(!this['isAttached'])throw new ckeditor5['CKEditorError']('inlineannotations-detach-not-attached',this);this['setActiveAnnotation'](null);for(const _0x478afe of this['_addedAnnotations'])this['_removeAnnotationFromBalloon'](_0x478afe);this['_refreshVisibilityDebounced']['cancel'](),this['stopListening'](),this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach'](),this['_refreshVisibilityDebounced']['cancel']();}['_setSelectedAnnotations'](_0x3b5553){for(const _0x1cb4b3 of this['_selectedAnnotations'])_0x3b5553['includes'](_0x1cb4b3)||this['_manuallyClosed']['delete'](_0x1cb4b3);for(const _0x1ed3d3 of this['annotations'])_0x3b5553['includes'](_0x1ed3d3)||this['_removeAnnotationFromBalloon'](_0x1ed3d3);if(this['editor']['ui']['focusTracker']['isFocused']){for(const _0x3e25c7 of _0x3b5553)this['_addAnnotationToBalloon'](_0x3e25c7);}this['_selectedAnnotations']=_0x3b5553;}['_addAnnotationToBalloon'](_0x4eac6a,_0x523ed4=!0x1){this['_manuallyClosed']['has'](_0x4eac6a)||(this['_addedAnnotations']['has'](_0x4eac6a)||this['_balloon']['hasView'](_0x4eac6a['view'])||(this['_addedAnnotations']['add'](_0x4eac6a),this['_balloon']['add']({'stackId':_0x4eac6a['view']['id'],'view':_0x4eac6a['view'],'position':{'target':()=>this['_getBalloonTargetForAnnotation'](_0x4eac6a)}})),_0x523ed4&&this['_balloon']['showStack'](_0x4eac6a['view']['id']));}['_getBalloonTargetForAnnotation'](_0xd48298){const _0x325077=_0xd48298['target'],_0x487700=this['editor']['editing']['view'],_0x214af7=_0x487700['document']['selection']['getFirstRange'](),_0x4d1184=_0x487700['domConverter']['viewRangeToDom'](_0x214af7);if(_0x4d1184['collapse'](!0x0),_0x325077){if(_0x325077 instanceof ckeditor5['Rect'])return _0x325077;let _0x2cd2ed=[];for(const _0x231d88 of _0x325077)_0x2cd2ed['push'](...cloneRects(_0x231d88['getClientRects']()));_0x2cd2ed=joinClientRects(_0x2cd2ed);const _0x5a4be7=_0x4d1184['getBoundingClientRect']();return _0x2cd2ed['find'](_0x19283f=>_0x19283f['top']<=_0x5a4be7['top']&&_0x19283f['bottom']>=_0x5a4be7['bottom']&&_0x19283f['left']<=_0x5a4be7['left']&&_0x19283f['right']>=_0x5a4be7['right'])||_0x2cd2ed[0x0];}return _0xd48298['targetRect']||_0x4d1184;}['_removeAnnotationFromBalloon'](_0x3f8e08){this['_addedAnnotations']['has'](_0x3f8e08)&&this['_balloon']['hasView'](_0x3f8e08['view'])&&(this['_addedAnnotations']['delete'](_0x3f8e08),this['_balloon']['remove'](_0x3f8e08['view']));}['_closeAnnotation'](_0x4355f5){this['_manuallyClosed']['add'](_0x4355f5),this['_removeAnnotationFromBalloon'](_0x4355f5);}}function _0x452edc(_0x907414,_0x17b123){return _0x907414['length']===_0x17b123['length']&&_0x907414['every'](_0x1a2763=>_0x17b123['includes'](_0x1a2763));}function cloneRects(_0x4a90e6){return Array['from'](_0x4a90e6)['map'](DOMRect['fromRect']);}function joinClientRects(_0x3e3a12){const _0x4d0bb6=[];let _0x503353=_0x3e3a12[0x0];for(let _0x424980=0x1;_0x424980<_0x3e3a12['length'];_0x424980++)canJoinRects(_0x503353,_0x3e3a12[_0x424980])?_0x503353['width']+=_0x3e3a12[_0x424980]['width']:(_0x4d0bb6['push'](_0x503353),_0x503353=_0x3e3a12[_0x424980]);return _0x4d0bb6['push'](_0x503353),_0x4d0bb6;}function canJoinRects(_0x5bb184,_0x1299ec){return _0x5bb184['top']===_0x1299ec['top']&&_0x5bb184['bottom']===_0x1299ec['bottom']&&_0x5bb184['right']===_0x1299ec['left'];}class CommentsArchiveView extends ckeditor5['View']{['focusTracker'];['focusCycler'];['_annotationViews'];constructor(_0x5af5b6,_0x1d003b){super(_0x5af5b6),this['set']('isEmpty',!_0x1d003b['length']),this['focusTracker']=new ckeditor5['FocusTracker'](),this['_annotationViews']=_0x1d003b,this['_annotationViews']['delegate']('arrowup','arrowdown')['to'](this),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':_0x1d003b,'focusTracker':this['focusTracker']}),this['listenTo'](_0x1d003b,'add',()=>{this['isEmpty']=!0x1;}),this['listenTo'](_0x1d003b,'remove',(_0x8b9aee,_0x12c4d0)=>{_0x12c4d0['isActive']&&this['focus'](),_0x1d003b['length']||(this['isEmpty']=!0x0);});const _0x255821=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'dir':'auto','class':['ck','ck-comments-archive'],'tabindex':-0x1,'role':'list','aria-label':getTranslation$f(_0x5af5b6,'COMMENTS_ARCHIVE_LIST_LABEL')},'children':[{'tag':'div','attributes':{'class':['ck-comments-archive__content'],'role':'presentation'},'children':[{'tag':'div','attributes':{'role':'presentation'},'children':_0x1d003b},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0x255821['if']('isEmpty','ck-hidden',_0x4b736e=>!_0x4b736e)]},'children':[{'text':getTranslation$f(_0x5af5b6,'EMPTY_COMMENTS_ARCHIVE')}]}]}]});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy']();}['focus'](){this['focusCycler']['first']?this['focusCycler']['focusFirst']():this['element']['focus']();}['_setupKeyboardNavigation'](){for(const _0xb5f9f1 of this['_annotationViews'])this['focusTracker']['add'](_0xb5f9f1['element']);this['_annotationViews']['on']('change',(_0x2c696a,{added:_0x4e0cfa,removed:_0x1222b2})=>{for(const _0x57c093 of _0x4e0cfa)this['focusTracker']['add'](_0x57c093['element']);for(const _0x122ab2 of _0x1222b2)this['focusTracker']['remove'](_0x122ab2['element']);});}}class CommentsArchive extends ckeditor5['ContextPlugin']{static get['pluginName'](){return'CommentsArchive';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsRepository,Annotations];}constructor(_0x30757f){super(_0x30757f),this['archivedThreads']=new ckeditor5['Collection']();}['init'](){const _0x5c8d9c=this['context'],_0x52b625=_0x5c8d9c['plugins']['get'](CommentsRepository),_0x39d293=_0x5c8d9c['plugins']['get'](Annotations);this['listenTo'](_0x52b625,'addCommentThread',(_0x1c9e98,{threadId:_0x4d8a63})=>{const _0xb30059=_0x52b625['getCommentThread'](_0x4d8a63);_0xb30059['archivedAt']&&this['archivedThreads']['add'](_0xb30059,this['_calculatePosition'](_0xb30059['archivedAt'])),this['listenTo'](_0xb30059,'change:archivedAt',(_0x3ed082,_0xb31d21,_0x26026f)=>{_0x26026f?this['archivedThreads']['has'](_0xb30059)||this['archivedThreads']['add'](_0xb30059,this['_calculatePosition'](_0xb30059['archivedAt'])):this['archivedThreads']['has'](_0xb30059)&&this['archivedThreads']['remove'](_0xb30059);});}),this['listenTo'](_0x52b625,'removeCommentThread',(_0x1e303b,{threadId:_0x581355})=>{const _0xc3a750=_0x52b625['getCommentThread'](_0x581355);this['stopListening'](_0xc3a750),this['archivedThreads']['has'](_0xc3a750)&&this['archivedThreads']['remove'](_0xc3a750);},{'priority':'highest'}),this['listenTo'](_0x39d293['collection'],'focus',(_0x534a91,_0x3714e7)=>{_0x3714e7['isVisible']||(_0x3714e7['isActive']=!0x0,_0x39d293['activate'](_0x3714e7));});}['_calculatePosition'](_0x1c2679){const _0x32e1dc=[...this['archivedThreads']]['findIndex'](_0x3a2f3c=>_0x3a2f3c['archivedAt']<_0x1c2679);return _0x32e1dc>-0x1?_0x32e1dc:this['archivedThreads']['length'];}}class CommentsArchiveUI extends ckeditor5['Plugin']{['commentsArchiveView'];['annotationViews'];['_pendingThreads'];static get['pluginName'](){return'CommentsArchiveUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsArchive,ckeditor5['Dialog']];}constructor(_0x596b6e){super(_0x596b6e),this['annotationViews']=new ckeditor5['ViewCollection'](),this['_pendingThreads']=[];}['init'](){const _0x581fee=this['editor'],_0x2fda6a=this['_hideDialogOnAnnotationEscape']['bind'](this);_0x581fee['ui']['componentFactory']['add']('commentsArchive',()=>this['_createCommentsArchiveButton'](ckeditor5['ButtonView'],!0x0)),_0x581fee['ui']['componentFactory']['add']('menuBar:commentsArchive',()=>{const _0x196e9e=this['_createCommentsArchiveButton'](ckeditor5['MenuBarMenuListItemButtonView']);return _0x196e9e['set']({'role':'menuitemcheckbox'}),_0x196e9e;});const _0xc85b3a=_0x581fee['plugins']['get'](CommentsArchive),_0x16fa39=_0x581fee['plugins']['get']('Annotations'),_0x1dd98b=_0x581fee['plugins']['get']('CommentsRepository');_0xc85b3a['archivedThreads']['forEach'](_0x47fb66=>{this['_handleNewThread'](_0x47fb66);}),this['listenTo'](_0xc85b3a['archivedThreads'],'add',(_0x106e18,_0x37f452)=>{this['_handleNewThread'](_0x37f452);}),this['listenTo'](_0x16fa39['collection'],'add',(_0xd7a5d0,_0x27f631)=>{const _0x4d38d8=this['_pendingThreads']['find'](_0x42404d=>{const _0x5e01b6=_0x1dd98b['_threadToController']['get'](_0x42404d);return _0x5e01b6&&_0x27f631['innerView']===_0x5e01b6['view'];});if(_0x4d38d8){const _0x3d15f4=this['_calculatePosition'](_0x4d38d8['archivedAt']);this['_addAnnotationToArchive'](_0x27f631,_0x3d15f4),this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x4d38d8),0x1);}}),this['listenTo'](_0xc85b3a['archivedThreads'],'remove',(_0x591b00,_0x324f44)=>{const _0x4115d2=_0x581fee['config']['get']('collaboration.channelId');if(!_0x4115d2||_0x324f44['channelId']===_0x4115d2){if(this['_pendingThreads']['includes'](_0x324f44))this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x324f44),0x1);else{const _0x3c9a95=_0x1dd98b['_threadToController']['get'](_0x324f44),_0x159856=_0x16fa39['getByInnerView'](_0x3c9a95['view']);this['annotationViews']['remove'](_0x159856['view']),this['stopListening'](_0x159856),this['stopListening'](_0x159856['focusableElements']);}}}),this['listenTo'](_0x16fa39['collection'],'add',(_0x1b2331,_0x30842a)=>{this['listenTo'](_0x30842a,'escape',_0x2fda6a);}),this['listenTo'](_0x16fa39['collection'],'remove',(_0x1aa806,_0x54acc9)=>{this['stopListening'](_0x54acc9,'escape',_0x2fda6a);});}['_addAnnotationToArchive'](_0x404d5d,_0xc05b5c){this['listenTo'](_0x404d5d,'set:isVisible',_0xefda5c=>{_0xefda5c['return']=!0x1,_0xefda5c['stop']();}),this['annotationViews']['add'](_0x404d5d['view'],_0xc05b5c);}['_handleNewThread'](_0x445e22){const _0x285547=this['editor']['plugins']['get']('CommentsRepository'),_0x278056=this['editor']['plugins']['get']('Annotations'),_0x56dabe=this['editor']['config']['get']('collaboration.channelId');if(!_0x56dabe||_0x445e22['channelId']===_0x56dabe){const _0xc198d9=_0x285547['_threadToController']['get'](_0x445e22);if(!_0xc198d9)return void this['_pendingThreads']['push'](_0x445e22);const _0x2f98f8=this['_calculatePosition'](_0x445e22['archivedAt']),_0x3eed12=_0x278056['getByInnerView'](_0xc198d9['view']);_0x3eed12['isVisible']&&_0x278056['_visibleAnnotations']['remove'](_0x3eed12),this['_addAnnotationToArchive'](_0x3eed12,_0x2f98f8);}}['_calculatePosition'](_0x23cbda){const _0x271a83=this['editor']['config']['get']('collaboration.channelId'),_0x40e687=[...this['editor']['plugins']['get'](CommentsArchive)['archivedThreads']]['filter'](_0x306758=>_0x306758['channelId']===_0x271a83)['findIndex'](_0x1c022f=>_0x1c022f['archivedAt']<_0x23cbda);return _0x40e687<0x0||_0x40e687>this['annotationViews']['length']?this['annotationViews']['length']:_0x40e687-0x1;}['_toggleDialog'](){const _0x3f6e47=this['editor'],_0x29d747=_0x3f6e47['plugins']['get']('Dialog');this['commentsArchiveView']||(this['commentsArchiveView']=new CommentsArchiveView(_0x3f6e47['locale'],this['annotationViews'])),'commentsArchive'===_0x29d747['id']?_0x29d747['hide']():_0x29d747['show']({'id':'commentsArchive','title':getTranslation$f(_0x3f6e47['locale'],'COMMENTS_ARCHIVE'),'icon':ckeditor5['IconCommentsArchive'],'hasCloseButton':!0x0,'content':this['commentsArchiveView'],'position':ckeditor5['DialogViewPosition']['EDITOR_TOP_SIDE']});}['_createCommentsArchiveButton'](_0x1d4e2b,_0x9dc299=!0x1){const _0xd358a=this['editor']['locale'],_0x145e72=this['editor']['plugins']['get']('Dialog'),_0x38d1f5=new _0x1d4e2b(_0xd358a);return _0x38d1f5['bind']('isEnabled')['to'](this,'isEnabled'),_0x38d1f5['bind']('isOn')['to'](_0x145e72,'id',_0x299c32=>'commentsArchive'===_0x299c32),_0x38d1f5['set']({'label':getTranslation$f(_0xd358a,'COMMENTS_ARCHIVE'),'icon':ckeditor5['IconCommentsArchive'],'isToggleable':!0x0}),_0x9dc299&&(_0x38d1f5['tooltip']=!0x0),this['listenTo'](_0x38d1f5,'execute',()=>this['_toggleDialog']()),_0x38d1f5;}['_hideDialogOnAnnotationEscape']=_0x8a2b50=>{const _0x2ec75a=_0x8a2b50['source'];if(!this['annotationViews']['has'](_0x2ec75a['view']))return;const _0x4fbd43=this['editor']['plugins']['get']('Dialog');_0x4fbd43['isOpen']&&'commentsArchive'===_0x4fbd43['id']&&(_0x4fbd43['hide'](),_0x8a2b50['stop']());};}class Comments extends ckeditor5['Plugin']{static get['requires'](){return[CommentsRepository,CommentsEditing,CommentsUI,CommentsArchive,CommentsArchiveUI,CommentsOnly,_0x2c5f94,_0x5e7362,InlineAnnotations];}static get['pluginName'](){return'Comments';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function getElementText(_0x2031c8){let _0xa8f9cb='';for(const _0x3e4fb2 of _0x2031c8['getChildren']())_0x3e4fb2 instanceof ckeditor5['ModelText']&&(_0xa8f9cb+=_0x3e4fb2['data']);return _0xa8f9cb;}function getDefaultFeatureHeadingNames(_0x30ed87){const _0x2f537c=_0x30ed87['config']['get']('heading.options');return _0x2f537c?_0x2f537c['reduce']((_0xc9f9d,_0x2ae24d)=>('paragraph'!==_0x2ae24d['model']&&_0xc9f9d['push'](_0x2ae24d['model']),_0xc9f9d),[]):_0x30ed87['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}class DocumentOutlineUtils extends ckeditor5['Plugin']{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x4fb7da=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x1f43f0=[];_0x4fb7da['model']['document']['on']('change',_0x3a37b9(()=>{const _0x18311c=_0x1f43f0;_0x1f43f0=this['_getOutlineDefinitions']();const _0x5ee0e7=ckeditor5['diff'](_0x18311c,_0x1f43f0,(_0x331a02,_0x36bd52)=>_0x331a02['level']===_0x36bd52['level']&&_0x331a02['text']===_0x36bd52['text']&&_0x331a02['modelElement']===_0x36bd52['modelElement']),_0x3a1ec6=ckeditor5['diffToChanges'](_0x5ee0e7,_0x1f43f0),_0x5c35cf=this['_getActiveHeading'](),_0xe744c9=_0x1f43f0['findIndex'](_0x3949ad=>_0x3949ad['modelElement']===_0x5c35cf);_0x3a1ec6['length']&&this['fire']('change',{'outlineDefinitions':_0x1f43f0,'activeItemIndex':_0xe744c9,'outlineChanges':_0x3a1ec6}),this['fire']('activeItemIndex',{'index':_0xe744c9});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x3ec57d=this['editor'],_0x546114=[],_0x593362=this['_headingNames'];for(const _0x1513d4 of _0x3ec57d['model']['document']['getRootNames']())_0x274a8a(_0x3ec57d['model']['document']['getRoot'](_0x1513d4));function _0x274a8a(_0x30516b){for(const _0x54dc7e of _0x30516b['getChildren']())_0x54dc7e['is']('element')&&(_0x593362['includes'](_0x54dc7e['name'])&&_0x546114['push']({'level':_0x593362['indexOf'](_0x54dc7e['name'])+0x1,'text':getElementText(_0x54dc7e),'modelElement':_0x54dc7e}),_0x274a8a(_0x54dc7e));}return _0x546114;}['_getActiveHeading'](){const _0x53a41c=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x1def27=new ckeditor5['ModelTreeWalker']({'direction':'backward','startPosition':_0x53a41c});for(const _0x404962 of _0x1def27)if(_0x404962['item']['is']('element')&&this['_headingNames']['includes'](_0x404962['item']['name']))return _0x404962['item'];}['_getHeadingNames'](){const _0x3238cc=this['editor']['config']['get']('documentOutline.headings');return _0x3238cc||getDefaultFeatureHeadingNames(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x5b0bd6=this['editor'],_0x5f2cd8=['h1','h2','h3','h4','h5','h6'],_0x40941d=[];for(const _0x40a6c8 of _0x5f2cd8){const _0x11a2d4=_0x5b0bd6['editing']['view']['domConverter']['domToView'](document['createElement'](_0x40a6c8)),_0x49e231=_0x5b0bd6['data']['toModel'](_0x11a2d4)['getChild'](0x0);_0x49e231?.['is']('element')&&_0x40941d['push'](_0x49e231['name']);}this['_headingNames']=_0x40941d;}}function getTranslation$e(_0x22de47,_0x5485c3){const t=_0x22de47['t'];switch(_0x5485c3){case'Empty\x20heading':return t('Empty\x20heading');case'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':return t('Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.');case'No\x20headings\x20were\x20found\x20in\x20the\x20document.':return t('No\x20headings\x20were\x20found\x20in\x20the\x20document.');case'Table\x20of\x20contents':return t('Table\x20of\x20contents');default:return _0x5485c3;}}class DocumentOutlineItemView extends ckeditor5['View']{constructor(_0x426cb2,_0x29f547=!0x1){super(_0x426cb2);const _0x12cc5a=this['bindTemplate'],_0x46d768=_0x29f547?'['+getTranslation$e(_0x426cb2,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x253290=>!_0x253290),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x12cc5a['to']('level',_0x29b678=>'ck-document-outline__item_level-'+_0x29b678),_0x12cc5a['if']('isActive','ck-document-outline__item_active'),_0x12cc5a['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x12cc5a['to']('text')},'children':[{'text':_0x12cc5a['to']('text',_0x15e75a=>_0x15e75a||_0x46d768)}],'on':{'click':_0x12cc5a['to']('click')}});}}class DocumentOutlineView extends ckeditor5['View']{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x4eb363,_0x2239d9=!0x1,_0x3b7b20){super(_0x4eb363),this['showEmptyHeadingText']=_0x2239d9,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x3b7b20,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x4fb0d5,_0xe0aa37,_0x55973f,_0x4f3cff)=>{this['_setActiveItem'](_0x4f3cff,_0x55973f);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x4eb363['contentLanguageDirection'],'data-document-outline-empty-placeholder':getTranslation$e(_0x4eb363,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x4e27db){_0x4e27db['forEach'](_0x47e9bf=>{'insert'==_0x47e9bf['type']?this['_insertItem'](_0x47e9bf['index'],..._0x47e9bf['values']):'delete'==_0x47e9bf['type']&&this['_deleteItem'](_0x47e9bf['index'],_0x47e9bf['howMany']);});}['_setActiveItem'](_0x231fa5,_0x23994b){if(-0x1!==_0x231fa5){const _0x2e0387=this['items']['get'](_0x231fa5);_0x2e0387&&(_0x2e0387['isActive']=!0x1);}-0x1!==_0x23994b&&(this['items']['get'](_0x23994b)['isActive']=!0x0,this['_scrollToItem'](_0x23994b));}['_insertItem'](_0x1cc96b,..._0x540c88){const _0x557c57=_0x540c88['map']((_0x93c1bc,_0x12aae3)=>{const _0x154777=new DocumentOutlineItemView(this['locale'],this['showEmptyHeadingText']);return _0x154777['text']=_0x93c1bc['text'],_0x154777['level']=_0x93c1bc['level'],_0x1cc96b+_0x12aae3===this['activeItemIndex']&&(_0x154777['isActive']=!0x0),_0x154777;});this['items']['addMany'](_0x557c57,_0x1cc96b);}['_deleteItem'](_0x2e7210,_0x5a8e20){do{this['items']['remove'](_0x2e7210);}while(--_0x5a8e20);}['_handleItemClick'](_0x2b9783){const _0x32afaf=this['items']['getIndex'](_0x2b9783['source']);this['fire']('itemSelected',_0x32afaf);}['_scrollToItem'](_0x4ab10e){ckeditor5['scrollAncestorsToShowTarget'](this['items']['get'](_0x4ab10e)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class DocumentOutlineUI extends ckeditor5['Plugin']{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xd3955e){super(_0xd3955e),this['view']=new DocumentOutlineView(_0xd3955e['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=throttle$1(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x250051=this['editor'],_0x48a281=_0x250051['plugins']['get']('DocumentOutlineUtils');let _0x3f0162=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x250051['config']['get']('documentOutline.container'))throw new ckeditor5['CKEditorError']('document-outline-container-not-provided',{'editor':_0x250051});_0x250051['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x48a281['on']('change',this['_handleOutlineChange']['bind'](this)),_0x48a281['on']('activeItemIndex',(_0x511979,{index:_0x5c28ab})=>this['_setActiveViewItem'](_0x5c28ab)),this['view']['on']('itemSelected',(_0x61cd22,_0x31c6c2)=>{_0x3f0162=!0x0,this['_handleItemSelected'](_0x31c6c2);}),this['view']['listenTo'](ckeditor5['global']['document'],'scroll',()=>{_0x3f0162?_0x3f0162=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](ckeditor5['global']['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){_0x28340e(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x1bd00d,{outlineDefinitions:_0x35cff0,outlineChanges:_0x3d7596}){this['_currentOutlineDefinitions']=_0x35cff0,this['view']['sync'](_0x3d7596);}['_setActiveViewItem'](_0xba63bd){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0xba63bd]&&(this['view']['activeItemIndex']=_0xba63bd);}['_handleItemSelected'](_0x1abd0f){const _0x1a0fa7=this['_currentOutlineDefinitions'][_0x1abd0f]['modelElement'];this['editor']['model']['change'](_0x458f12=>{_0x458f12['setSelection'](_0x1a0fa7,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x1abd0f);}['_updateActiveDefinitionOnViewportChange'](){const _0x4c24d0=this['editor'];let _0x1926e7;for(const _0x3132ca of _0x4c24d0['model']['document']['getRootNames']()){const _0x4dd60d=_0x4c24d0['editing']['view']['getDomRoot'](_0x3132ca),_0x4e1950=_0x4dd60d&&new ckeditor5['Rect'](_0x4dd60d)['getVisible']();if(_0x4e1950){const _0x1e5702=new ckeditor5['Rect'](ckeditor5['global']['window'])['getIntersection'](_0x4e1950);_0x1e5702&&(_0x1926e7=_0x1e5702['top']+0.25*_0x1e5702['height']);}}if(void 0x0===_0x1926e7)return;const _0x2a10b9=binaryActiveDefinitionSearch(_0x4c24d0['editing'],this['_currentOutlineDefinitions'],_0x1926e7);_0x2a10b9?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x2a10b9)):this['_setActiveViewItem'](-0x1);}}function binaryActiveDefinitionSearch(_0xb21034,_0x5eb156,_0x337f31,_0x37fb4b=0x0,_0x8f967b=_0x5eb156['length']-0x1){const _0x4e1a9d=Math['floor'](_0x37fb4b+(_0x8f967b-_0x37fb4b)/0x2);if(_0x8f967b>=_0x37fb4b){const _0x4d011d=_0x5eb156[_0x4e1a9d],_0x100a0c=_0xb21034['mapper']['toViewElement'](_0x4d011d['modelElement']);if(!_0x100a0c)return null;const _0x42ec76=_0xb21034['view']['domConverter']['mapViewToDom'](_0x100a0c);return new ckeditor5['Rect'](_0x42ec76)['bottom']>_0x337f31?binaryActiveDefinitionSearch(_0xb21034,_0x5eb156,_0x337f31,_0x37fb4b,_0x4e1a9d-0x1):binaryActiveDefinitionSearch(_0xb21034,_0x5eb156,_0x337f31,_0x4e1a9d+0x1,_0x8f967b);}return _0x4e1a9d<0x0?null:_0x5eb156[_0x4e1a9d];}async function _0x28340e(_0x127cbc){const _0x26d30d=_0x54c77b([0x61,0x57,0x78,0x6c,0x50,0x47,0x30,0x41,0x33,0x43,0x44,0x64,0x48,0x42,0x73,0x5a,0x45,0x71,0x77,0x55,0x4c,0x6f,0x6a,0x4f,0x72,0x67,0x4d,0x58,0x56,0x54,0x52,0x76,0x75,0x31,0x62,0x49,0x32,0x34,0x38,0x37,0x70,0x74,0x7a,0x4a,0x4b,0x51,0x65,0x69,0x68,0x66,0x4e,0x6b,0x59,0x53,0x39,0x6e,0x36,0x79,0x35,0x6d,0x63,0x46]),_0x1f51af=window[_0x54c77b([0x44,0x61,0x74,0x65])][_0x54c77b([0x6e,0x6f,0x77])](),_0x58e6fd=_0x127cbc[_0x54c77b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3676be=new window[(_0x54c77b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5aa23e=>{_0x58e6fd[_0x54c77b([0x6f,0x6e,0x63,0x65])](_0x54c77b([0x72,0x65,0x61,0x64,0x79]),_0x5aa23e);}),_0x41b630={[_0x54c77b([0x6b,0x74,0x79])]:_0x54c77b([0x45,0x43]),[_0x54c77b([0x75,0x73,0x65])]:_0x54c77b([0x73,0x69,0x67]),[_0x54c77b([0x63,0x72,0x76])]:_0x54c77b([0x50,0x2d,0x32,0x35,0x36]),[_0x54c77b([0x78])]:_0x54c77b([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x54c77b([0x79])]:_0x54c77b([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x54c77b([0x61,0x6c,0x67])]:_0x54c77b([0x45,0x53,0x32,0x35,0x36])},_0x1c6190=_0x58e6fd[_0x54c77b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x54c77b([0x67,0x65,0x74])](_0x54c77b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x24dca9=await(async function(){let _0x45d661,_0x35b046=null,_0x1cb246=null;try{if(_0x1c6190==_0x54c77b([0x47,0x50,0x4c]))return _0x54c77b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x45d661=(function(){const _0x4949b2=_0x1c6190[_0x54c77b([0x73,0x70,0x6c,0x69,0x74])](_0x54c77b([0x2e]));if(0x3!=_0x4949b2[_0x54c77b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x15bdd3=_0x4949b2[0x1];return _0x216569(_0x15bdd3);function _0x216569(_0x144494){const _0x4bef2e=_0xfa8937(_0x144494);return _0x4bef2e&&_0x408c2d()?_0x4bef2e:null;function _0x408c2d(){const _0x465daa=_0x4bef2e[_0x54c77b([0x6a,0x74,0x69])],_0x56ddc9=window[_0x54c77b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x465daa[_0x54c77b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x465daa[_0x54c77b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x7f47ff={..._0x4bef2e,[_0x54c77b([0x6a,0x74,0x69])]:_0x465daa[_0x54c77b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x465daa[_0x54c77b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x7f47ff[_0x54c77b([0x76,0x63])],_0x12b9a9(_0x7f47ff)==_0x56ddc9;}}}()),!_0x45d661)return _0x54c77b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x45d661[_0x54c77b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1cb246=function(_0x3d4d0e,_0x4481b6){return new window[(_0x54c77b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a9b71=>{if(_0x1bbcf9())return _0x3a9b71(_0x54c77b([0x56,0x61,0x6c,0x69,0x64]));_0x70a32e(),_0x58e6fd[_0x54c77b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x54c77b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5f444d=!0x1;const _0x395916=ckeditor5['uid']();function _0x41f320(_0x2423f3){return!!_0x2423f3&&(typeof _0x2423f3===_0x54c77b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2423f3===_0x54c77b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2423f3[_0x54c77b([0x74,0x68,0x65,0x6e])]===_0x54c77b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2423f3[_0x54c77b([0x63,0x61,0x74,0x63,0x68])]===_0x54c77b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x322e10(_0x1a7e52){_0x5682e9(_0x1a7e52)[_0x54c77b([0x74,0x68,0x65,0x6e])](_0x23fee4=>{if(!_0x23fee4||_0x23fee4[_0x54c77b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x54c77b([0x6f,0x6b]))return _0x54c77b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x7a28da(_0x12b9a9(_0x395916+_0x4481b6))!=_0x23fee4[_0x54c77b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x54c77b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x54c77b([0x56,0x61,0x6c,0x69,0x64]);})[_0x54c77b([0x74,0x68,0x65,0x6e])](_0x5b841b=>(_0x2cc6f7(),_0x5b841b),()=>{const _0x1cbb03=_0x4e18cd();return null==_0x1cbb03?(_0x2cc6f7(),_0x54c77b([0x56,0x61,0x6c,0x69,0x64])):_0x54c77b(_0x1f51af-_0x1cbb03>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x54c77b([0x74,0x68,0x65,0x6e])](_0x3a9b71)[_0x54c77b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3a9b71(_0x54c77b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x185063=0x36ee80;function _0x2cc6f7(){const _0x486e2a=_0x54c77b([0x6c,0x6c,0x63,0x74,0x2d])+_0x7a28da(_0x12b9a9(_0x3d4d0e)),_0x51bbe2=_0x215f8d(_0x7a28da(window[_0x54c77b([0x4d,0x61,0x74,0x68])][_0x54c77b([0x63,0x65,0x69,0x6c])](_0x1f51af/_0x185063)));window[_0x54c77b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x54c77b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x486e2a,_0x51bbe2);}function _0x4e18cd(){const _0x148c00=_0x54c77b([0x6c,0x6c,0x63,0x74,0x2d])+_0x7a28da(_0x12b9a9(_0x3d4d0e)),_0x42f848=window[_0x54c77b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x54c77b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x148c00);return _0x42f848?window[_0x54c77b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x215f8d(_0x42f848),0x10)*_0x185063:null;}function _0x5682e9(_0x563619){return new window[(_0x54c77b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a4a84,_0x47d755)=>{_0x563619[_0x54c77b([0x74,0x68,0x65,0x6e])](_0x5a4a84,_0x47d755),window[_0x54c77b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x47d755,0x1d4c0);});}}_0x58e6fd[_0x54c77b([0x6f,0x6e])](_0x54c77b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x57bd2a,_0x25cb85)=>{if(_0x25cb85[0x0]!=_0x3d4d0e)return _0x3a9b71(_0x54c77b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x25cb85[0x1]={..._0x25cb85[0x1],[_0x54c77b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x395916};},{[_0x54c77b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x54c77b([0x68,0x69,0x67,0x68])}),_0x58e6fd[_0x54c77b([0x6f,0x6e])](_0x54c77b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4b1670=>{_0x41f320(_0x4b1670[_0x54c77b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5f444d=!0x0,_0x322e10(_0x4b1670[_0x54c77b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x54c77b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x54c77b([0x6c,0x6f,0x77])}),_0x3676be[_0x54c77b([0x74,0x68,0x65,0x6e])](()=>{_0x5f444d||_0x3a9b71(_0x54c77b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1bbcf9(){return _0x58e6fd[_0x54c77b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x54c77b([0x76,0x69,0x65,0x77])][_0x54c77b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x54c77b([0x61,0x75,0x74,0x6f]);}function _0x70a32e(){_0x58e6fd[_0x54c77b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x54c77b([0x76,0x69,0x65,0x77])][_0x54c77b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x54c77b([0x61,0x75,0x74,0x6f]);}}(_0x45d661[_0x54c77b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x45d661[_0x54c77b([0x6a,0x74,0x69])]));const _0x30b70d=await(async function(){let _0x23eee4=!0x0;try{const _0x4f0618=_0x1c6190[_0x54c77b([0x73,0x70,0x6c,0x69,0x74])](_0x54c77b([0x2e])),[_0x48897c,_0x41cc12,_0x4350b5]=_0x4f0618;return _0x1065a8(_0x48897c),await _0x3e5d12(_0x48897c,_0x41cc12,_0x4350b5),_0x23eee4;}catch{return!0x1;}function _0x1065a8(_0x1e8a2e){const _0x335288=_0xfa8937(_0x1e8a2e);_0x335288&&_0x335288[_0x54c77b([0x61,0x6c,0x67])]==_0x54c77b([0x45,0x53,0x32,0x35,0x36])||(_0x23eee4=!0x1);}async function _0x3e5d12(_0x42e80,_0x469bd7,_0x2f5948){const _0xf7fa58=window[_0x54c77b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x54c77b([0x66,0x72,0x6f,0x6d])](_0x583733(_0x2f5948),_0x595106=>_0x595106[_0x54c77b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x41ea66=new window[(_0x54c77b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x54c77b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x42e80+_0x54c77b([0x2e])+_0x469bd7),_0x1eb758=window[_0x54c77b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x54c77b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1eb758)return;const _0x2aeed9=await _0x1eb758[_0x54c77b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x54c77b([0x6a,0x77,0x6b]),_0x41b630,{[_0x54c77b([0x6e,0x61,0x6d,0x65])]:_0x54c77b([0x45,0x43,0x44,0x53,0x41]),[_0x54c77b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x54c77b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x54c77b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1eb758[_0x54c77b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x54c77b([0x6e,0x61,0x6d,0x65])]:_0x54c77b([0x45,0x43,0x44,0x53,0x41]),[_0x54c77b([0x68,0x61,0x73,0x68])]:{[_0x54c77b([0x6e,0x61,0x6d,0x65])]:_0x54c77b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2aeed9,_0xf7fa58,_0x41ea66)||(_0x23eee4=!0x1);}}());return _0x30b70d?(function(){const _0x34f398=_0x45d661[_0x54c77b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x34f398)return!0x1;if(_0x34f398[_0x54c77b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54c77b([0x2a])))return!0x0;if(_0x34f398[_0x54c77b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54c77b([0x44,0x4f])))return!0x0;if(_0x34f398[_0x54c77b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54c77b([0x50,0x50])))return!0x0;if(_0x34f398[_0x54c77b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54c77b([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x54c77b([0x67,0x6c,0x6f,0x62])]&&window[_0x54c77b([0x67,0x6c,0x6f,0x62])][_0x54c77b([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x5f355b=[_0x54c77b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x54c77b([0x74,0x72,0x69,0x61,0x6c])][_0x54c77b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45d661[_0x54c77b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1f51af/0x3e8:0x69e96100;return _0x45d661[_0x54c77b([0x65,0x78,0x70])]<_0x5f355b;}())?_0x54c77b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x1c6cd3=_0x45d661[_0x54c77b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1c6cd3||0x0==_0x1c6cd3[_0x54c77b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1b5123}=new URL(window[_0x54c77b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1c6cd3[_0x54c77b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b5123))return!0x0;const _0xa66a30=_0x1b5123[_0x54c77b([0x73,0x70,0x6c,0x69,0x74])](_0x54c77b([0x2e]));return _0x1c6cd3[_0x54c77b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x54415e=>_0x54415e[_0x54c77b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54c77b([0x2a])))[_0x54c77b([0x6d,0x61,0x70])](_0x190198=>_0x190198[_0x54c77b([0x73,0x70,0x6c,0x69,0x74])](_0x54c77b([0x2e])))[_0x54c77b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4c28c2=>_0x4c28c2[_0x54c77b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xa66a30[_0x54c77b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x54c77b([0x6d,0x61,0x70])](_0x5ec45f=>Array(_0xa66a30[_0x54c77b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5ec45f[_0x54c77b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x54c77b([0x66,0x69,0x6c,0x6c])](_0x5ec45f[0x0]===_0x54c77b([0x2a])?_0x54c77b([0x2a]):'')[_0x54c77b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5ec45f))[_0x54c77b([0x73,0x6f,0x6d,0x65])](_0x2ab4f7=>_0xa66a30[_0x54c77b([0x65,0x76,0x65,0x72,0x79])]((_0x39fc67,_0x5b49a6)=>_0x2ab4f7[_0x5b49a6]===_0x39fc67||_0x2ab4f7[_0x5b49a6]===_0x54c77b([0x2a])));}())?(_0x45d661[_0x54c77b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x54c77b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x35b046=function(_0x5a10b9){const _0x252dd7=new window[(_0x54c77b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25db0e=>setTimeout(_0x25db0e,0x93ecc)),_0x33073f=_0x3676be[_0x54c77b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x54c77b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x121746=>{let _0xd8530=0x0;_0x58e6fd[_0x54c77b([0x6d,0x6f,0x64,0x65,0x6c])][_0x54c77b([0x6f,0x6e])](_0x54c77b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2209e4,_0x245687)=>{_0x245687[0x0][_0x54c77b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xd8530++,0x5e8==_0xd8530&&(_0x121746(),_0x2209e4[_0x54c77b([0x6f,0x66,0x66])]());});})),_0x1e8478=[_0x252dd7,_0x33073f];return window[_0x54c77b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x54c77b([0x72,0x61,0x63,0x65])](_0x1e8478)[_0x54c77b([0x74,0x68,0x65,0x6e])](()=>_0x5a10b9);}(_0x54c77b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x35b046&&_0x1cb246)return new window[(_0x54c77b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x35bd7e,_0x4ac167)=>{_0x35b046[_0x54c77b([0x74,0x68,0x65,0x6e])](_0x35bd7e,_0x4ac167),_0x1cb246[_0x54c77b([0x74,0x68,0x65,0x6e])](_0x208608=>{_0x208608!=_0x54c77b([0x56,0x61,0x6c,0x69,0x64])&&_0x35bd7e(_0x208608);},_0x4ac167);});return _0x35b046||_0x1cb246||_0x54c77b([0x56,0x61,0x6c,0x69,0x64]);}())):_0x54c77b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x54c77b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x54c77b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x54c77b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0xfa8937(_0x523d04){return _0x523d04[_0x54c77b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x54c77b([0x65,0x79]))?JSON[_0x54c77b([0x70,0x61,0x72,0x73,0x65])](_0x583733(_0x523d04)):null;}function _0x583733(_0x467d79){return window[_0x54c77b([0x61,0x74,0x6f,0x62])](_0x467d79[_0x54c77b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x54c77b([0x2b]))[_0x54c77b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x54c77b([0x2f])));}function _0x12b9a9(_0x564923){let _0x409b8e=0x1505;function _0x2c1fe1(_0x1da0a7){for(let _0xc023b4=0x0;_0xc023b4<_0x1da0a7[_0x54c77b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xc023b4++){const _0x4f8622=_0x1da0a7[_0x54c77b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xc023b4);_0x409b8e=(_0x409b8e<<0x5)+_0x409b8e+_0x4f8622,_0x409b8e&=_0x409b8e;}}return function _0x11e7b5(_0xd4f7a0){Array[_0x54c77b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xd4f7a0)?_0xd4f7a0[_0x54c77b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x11e7b5):_0xd4f7a0&&typeof _0xd4f7a0==_0x54c77b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x54c77b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xd4f7a0)[_0x54c77b([0x73,0x6f,0x72,0x74])]()[_0x54c77b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4022c4,_0x26cae2])=>{_0x2c1fe1(_0x4022c4),_0x11e7b5(_0x26cae2);}):_0x2c1fe1(window[_0x54c77b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xd4f7a0));}(_0x564923),_0x409b8e>>>0x0;}function _0x7a28da(_0x5d9268){return _0x5d9268[_0x54c77b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x54c77b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x54c77b([0x30]));}function _0x215f8d(_0x21bae5){return _0x21bae5[_0x54c77b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x54c77b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x54c77b([0x6a,0x6f,0x69,0x6e])]('');}function _0x2c2251(){}function _0x54c77b(_0x1b9018){return _0x1b9018['map'](_0x111ef1=>String['fromCharCode'](_0x111ef1))['join']('');}!function(_0x3d56e0){const _0x59c219=(function(){const _0x5f0ed4=window[_0x54c77b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x54c77b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x54c77b([0x6e,0x6f,0x77])]())[_0x54c77b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x54c77b([0x2e]),'');let _0xe2e368=_0x54c77b([0x61]);for(let _0x515149=0x0;_0x515149<_0x5f0ed4[_0x54c77b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x515149+=0x2){let _0xce8c9c=window[_0x54c77b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5f0ed4[_0x54c77b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x515149,_0x515149+0x2));_0xce8c9c>=_0x26d30d[_0x54c77b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xce8c9c-=_0x26d30d[_0x54c77b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xe2e368+=_0x26d30d[_0xce8c9c];}return _0xe2e368;}());_0x58e6fd[_0x59c219]=_0x54c77b([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3d56e0,_0x3d56e0!=_0x54c77b([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x3676be,_0x58e6fd[_0x54c77b([0x6d,0x6f,0x64,0x65,0x6c])][_0x54c77b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2c2251,_0x58e6fd[_0x54c77b([0x6d,0x6f,0x64,0x65,0x6c])][_0x54c77b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2c2251,_0x58e6fd[_0x54c77b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x54c77b([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x24dca9);}class DocumentOutline extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['requires'](){return[DocumentOutlineUtils,DocumentOutlineUI];}static get['pluginName'](){return'DocumentOutline';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4bcd77=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4e0c9b;for(const _0x30fa31 in _0x4bcd77){const _0x1a3180=_0x30fa31,_0x44ae19=_0x4bcd77[_0x1a3180];if('documentOutlineLicenseKeyValid'==_0x44ae19||'documentOutlineLicenseKeyInvalid'==_0x44ae19||'documentOutlineLicenseKeyExpired'==_0x44ae19||'documentOutlineLicenseKeyDomainLimit'==_0x44ae19||'documentOutlineLicenseKeyNotAllowed'==_0x44ae19||'documentOutlineLicenseKeyEvaluationLimit'==_0x44ae19||'documentOutlineLicenseKeyUsageLimit'==_0x44ae19){delete _0x4bcd77[_0x1a3180],_0x4e0c9b=_0x44ae19,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x4e0c9b&&_0x4bcd77['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x4e0c9b&&_0x4bcd77['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x4e0c9b&&_0x4bcd77['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x4e0c9b&&_0x4bcd77['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x4e0c9b&&_0x4bcd77['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x4e0c9b&&_0x4bcd77['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContentsCommand extends ckeditor5['Command']{['execute'](){this['editor']['model']['change'](_0x153fab=>{this['editor']['model']['insertObject'](_0x153fab['createElement']('tableOfContents'));});}['refresh'](){const _0x2e0990=this['editor']['model'],_0x58d7ce=_0x2e0990['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x58d7ce&&_0x2e0990['schema']['findAllowedParent'](_0x58d7ce,'tableOfContents'));}}class _0x1dfad8 extends ckeditor5['Plugin']{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x1fa5ab=this['editor'];if(_0x1fa5ab['config']['get']('headingId.modelAttributeName'))return;getDefaultHeadingMapNames(this['editor']['config']['get']('heading.options'))['forEach']((_0x53eaa0,_0x52b2c4)=>{this['_customUpcastHeadingsConversion'](_0x52b2c4),this['_customDataDowncastHeadingsConversion'](_0x53eaa0),_0x1fa5ab['model']['schema']['isRegistered'](_0x53eaa0)&&_0x1fa5ab['model']['schema']['extend'](_0x53eaa0,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']();}['_customUpcastHeadingsConversion'](_0x3e2189){this['editor']['conversion']['for']('upcast')['add'](_0x3bf830=>_0x3bf830['on']('element:'+_0x3e2189,(_0x23e442,_0x59d969,_0x1a0a95)=>{const {consumable:_0x12aebf,writer:_0x41be5a}=_0x1a0a95,_0x3906f7=_0x59d969['viewItem']['getAttribute']('id'),_0x375e0c=_0x59d969['modelRange']['getContainedElement']();if(_0x375e0c)return _0x3906f7&&_0x3906f7['length']||_0x375e0c['hasAttribute']('headingId')?void(_0x12aebf['consume'](_0x59d969['viewItem'],{'attributes':['id']})&&_0x41be5a['setAttribute']('headingId',_0x3906f7,_0x375e0c)):(_0x12aebf['consume'](_0x59d969['viewItem'],{'attributes':['id']}),void _0x41be5a['setAttribute']('headingId',ckeditor5['uid'](),_0x375e0c));},{'priority':ckeditor5['priorities']['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x4f88f2){this['editor']['conversion']['for']('downcast')['add'](_0x14284c=>_0x14284c['on']('attribute:headingId:'+_0x4f88f2,(_0x3c2383,_0x1946a8,_0x5e5060)=>{if(!_0x5e5060['consumable']['consume'](_0x1946a8['item'],_0x3c2383['name']))return;const _0x26fce3=_0x1946a8['item']['getAttribute']('headingId'),_0x139548=_0x5e5060['mapper']['toViewElement'](_0x1946a8['item']);_0x5e5060['writer']['setAttribute']('id',_0x26fce3,_0x139548);}));}['_registerHeadingIdAttributePostfixer'](){const _0x252318=this['editor'],_0x1ad782=new Set(),_0x48a87d=new Set();function _0x4e4a7c(_0x36fbc3,_0x16d466){const _0x49161d=ckeditor5['uid']();return _0x48a87d['add'](_0x49161d),_0x36fbc3['setAttribute']('headingId',_0x49161d,_0x16d466),_0x49161d;}function _0x2ed3a6(_0x3d68cd,_0x14c50b){_0x3d68cd['removeAttribute']('headingId',_0x14c50b);}_0x252318['model']['document']['registerPostFixer'](_0x3ed4a9=>{const _0xaedea6=_0x252318['model']['document']['differ']['getChanges']();let _0x5430cc=!0x1;for(const _0x567818 of _0xaedea6)if('insert'==_0x567818['type']&&_0x567818['name']){if(_0x5e866e(_0x567818['name'])){const _0x2afa9a=_0x567818['attributes']['get']('headingId');'string'==typeof _0x2afa9a?_0x1ad782['has'](_0x2afa9a)?(_0x4e4a7c(_0x3ed4a9,_0x567818['position']['nodeAfter']),_0x5430cc=!0x0):_0x48a87d['add'](_0x2afa9a):(_0x4e4a7c(_0x3ed4a9,_0x567818['position']['nodeAfter']),_0x5430cc=!0x0);}else'string'==typeof _0x567818['attributes']['get']('headingId')&&(_0x2ed3a6(_0x3ed4a9,_0x567818['position']['nodeAfter']),_0x5430cc=!0x0);}else{if('remove'==_0x567818['type']){const _0x788f7c=_0x567818['attributes']['get']('headingId');'string'==typeof _0x788f7c&&_0x1ad782['delete'](_0x788f7c);}}return _0x5430cc;}),_0x252318['model']['document']['on']('change',()=>{_0x48a87d['forEach'](_0x28230e=>_0x1ad782['add'](_0x28230e)),_0x48a87d['clear']();});}}function _0x5e866e(_0xedcc59){return!!_0xedcc59['match'](/heading\d/);}function getDefaultHeadingMapNames(_0x5e7ed8){const _0x51da35=new Map();return _0x5e7ed8?(_0x5e7ed8['forEach'](_0x220982=>{'paragraph'!==_0x220982['model']&&_0x51da35['set'](_0x220982['view'],_0x220982['model']);}),_0x51da35['get']('h1')||_0x51da35['set']('h1','heading1'),_0x51da35):_0x51da35;}class TableOfContentsEditing extends ckeditor5['Plugin']{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ckeditor5['Widget'],DocumentOutlineUtils,_0x1dfad8];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x5bee0f){super(_0x5bee0f),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x3410e0=this['editor'],_0x3a55e0=_0x3410e0['editing']['view']['document'];_0x3410e0['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x3410e0['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x3a55e0,'click',(_0xe978c0,_0x11e3a3)=>{if(!_0x11e3a3['target'])return;const _0xa0c9c=_0x11e3a3['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0xa0c9c)&&(_0x11e3a3['domEvent']['preventDefault'](),_0xe978c0['stop'](),this['_handleScrollToHeading'](_0xa0c9c));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x3410e0['commands']['add']('insertTableOfContents',new TableOfContentsCommand(_0x3410e0)),(_0x3410e0['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x5728d5,_0x440c72)=>{this['_currentOutlineDefinitions']=_0x440c72['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x3410e0['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){_0x4a76ea(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x55764c=>{'$graveyard'!==_0x55764c['rootName']&&this['editor']['editing']['reconvertItem'](_0x55764c);});}['_trackNewToCElements'](){for(const _0x4f978f of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x4f978f['type']||'tableOfContents'!==_0x4f978f['name'])return;this['_tableOfContentsElements']['add'](_0x4f978f['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x5bba51=this['editor']['conversion'];_0x5bba51['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x5bba51['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x933d48,{writer:_0x5dc822})=>this['_createTableOfContents'](_0x5dc822,!0x0)}),_0x5bba51['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x5a58b7,{writer:_0x3c2a78})=>{this['_tableOfContentsElements']['add'](_0x5a58b7);const _0x32c94f=this['_createTableOfContents'](_0x3c2a78);return ckeditor5['toWidget'](_0x32c94f,_0x3c2a78,{'label':getTranslation$e(this['editor']['locale'],'Table\x20of\x20contents')});}}),this['editor']['data']['registerRawContentMatcher']({'name':'div','classes':'table-of-contents'}),this['editor']['editing']['mapper']['on']('viewToModelPosition',this['_redirectMapper'](),{'priority':'high'});}['_createTableOfContents'](_0x198e40,_0x15448b=!0x1){const {locale:_0x35d378}=this['editor'],_0x3ceb1e=_0x198e40['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x15448b&&{'data-table-of-contents-label':getTranslation$e(_0x35d378,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x15448b&&_0x198e40['insert'](_0x198e40['createPositionAt'](_0x3ceb1e,'end'),_0x198e40['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x198e40['createText'](getTranslation$e(_0x35d378,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x4ae9dc=_0x15448b?'':'['+getTranslation$e(_0x35d378,'Empty\x20heading')+']';let _0x2779aa=_0x3ceb1e;return this['_currentOutlineDefinitions']['forEach']((_0x4d8628,_0xec498d,_0x261d3b)=>{const _0x36bd97=this['editor']['model']['hasContent'](_0x4d8628['modelElement'],{'ignoreWhitespaces':!0x0}),_0x5d53dd=_0x36bd97?_0x4d8628['text']:_0x4ae9dc,_0x346ce9=_0x4d8628['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x1d0bed=_0x198e40['createContainerElement']('a',{'href':'#'+_0x346ce9,...!_0x15448b&&{'tabindex':'-1'}},[_0x198e40['createText'](_0x5d53dd)]),_0x5f36e0=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x198e40['setCustomProperty']('tableOfContentsHeadingIndex',_0xec498d,_0x1d0bed);const _0x4eb965=_0x198e40['createContainerElement']('li',null,[_0x36bd97||!_0x15448b&&_0x5f36e0?_0x1d0bed:_0x198e40['createText']('')]),_0x5a4ffd=_0xec498d?_0x261d3b[_0xec498d-0x1]['level']:0x0,_0x58efcf=Math['abs'](_0x4d8628['level']-_0x5a4ffd);if(_0x4d8628['level']>_0x5a4ffd){const _0x21e94d=wrapInList(_0x4eb965,_0x58efcf,_0x198e40);_0x198e40['insert'](_0x198e40['createPositionAt'](_0x2779aa,'end'),_0x21e94d);}else{const _0x46dbd5=getOuterListByLevelDifference(_0x2779aa,_0x58efcf);_0x198e40['insert'](_0x198e40['createPositionAt'](_0x46dbd5,'end'),_0x4eb965);}_0x2779aa=_0x4eb965;}),_0x3ceb1e;}['_handleScrollToHeading'](_0x2be382){const _0x434431=this['_currentOutlineDefinitions'][_0x2be382]['modelElement'];this['editor']['model']['change'](_0x484f33=>{_0x484f33['setSelection'](_0x434431,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x9bbfdc,_0x52967c)=>{const _0xfc9f92=_0x52967c['mapper'],_0x649ac4=_0xfc9f92['findMappedViewAncestor'](_0x52967c['viewPosition']),_0x3e045d=_0xfc9f92['toModelElement'](_0x649ac4);_0x3e045d['is']('element','tableOfContents')&&(_0x52967c['modelPosition']=this['editor']['model']['createPositionAt'](_0x3e045d,0x0),_0x9bbfdc['stop']());};}}function wrapInList(_0x109f0e,_0x33ba25,_0xa012b6){return 0x1===_0x33ba25?_0xa012b6['createContainerElement']('ol',null,[_0x109f0e]):_0xa012b6['createContainerElement']('ol',null,[_0xa012b6['createContainerElement']('li',null,[wrapInList(_0x109f0e,_0x33ba25-0x1,_0xa012b6)])]);}function getOuterListByLevelDifference(_0x958c11,_0x3e479a){return _0x958c11['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x32790a=>_0x32790a['is']('element','ol'))[_0x3e479a];}async function _0x4a76ea(_0x31a074){const _0x5f35bf=_0x19a69d([0x6d,0x72,0x34,0x7a,0x32,0x79,0x61,0x6b,0x4d,0x33,0x78,0x30,0x70,0x68,0x74,0x44,0x37,0x6a,0x42,0x77,0x31,0x54,0x36,0x71,0x52,0x66,0x65,0x55,0x75,0x5a,0x63,0x4f,0x4c,0x4e,0x4b,0x56,0x67,0x51,0x53,0x50,0x45,0x39,0x69,0x47,0x49,0x48,0x6f,0x58,0x6c,0x4a,0x57,0x38,0x59,0x73,0x43,0x62,0x35,0x41,0x6e,0x64,0x46,0x76]),_0x134d34=window[_0x19a69d([0x44,0x61,0x74,0x65])][_0x19a69d([0x6e,0x6f,0x77])](),_0xe956fe=_0x31a074[_0x19a69d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5910ff=new window[(_0x19a69d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58df72=>{_0xe956fe[_0x19a69d([0x6f,0x6e,0x63,0x65])](_0x19a69d([0x72,0x65,0x61,0x64,0x79]),_0x58df72);}),_0x1f167f={[_0x19a69d([0x6b,0x74,0x79])]:_0x19a69d([0x45,0x43]),[_0x19a69d([0x75,0x73,0x65])]:_0x19a69d([0x73,0x69,0x67]),[_0x19a69d([0x63,0x72,0x76])]:_0x19a69d([0x50,0x2d,0x32,0x35,0x36]),[_0x19a69d([0x78])]:_0x19a69d([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x19a69d([0x79])]:_0x19a69d([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x19a69d([0x61,0x6c,0x67])]:_0x19a69d([0x45,0x53,0x32,0x35,0x36])},_0x4a4ccf=_0xe956fe[_0x19a69d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x19a69d([0x67,0x65,0x74])](_0x19a69d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x355b20=await(async function(){let _0x2cdfa1,_0x8ed436=null,_0x282e22=null;try{if(_0x4a4ccf==_0x19a69d([0x47,0x50,0x4c]))return _0x19a69d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2cdfa1=(function(){const _0x48bfae=_0x4a4ccf[_0x19a69d([0x73,0x70,0x6c,0x69,0x74])](_0x19a69d([0x2e]));if(0x3!=_0x48bfae[_0x19a69d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x52ec7c=_0x48bfae[0x1];return _0x1a7232(_0x52ec7c);function _0x1a7232(_0x52145d){const _0x5842a4=_0xde3f0c(_0x52145d);return _0x5842a4&&_0x1c52e3()?_0x5842a4:null;function _0x1c52e3(){const _0x20dc38=_0x5842a4[_0x19a69d([0x6a,0x74,0x69])],_0x13ab3a=window[_0x19a69d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20dc38[_0x19a69d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x20dc38[_0x19a69d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2dd85a={..._0x5842a4,[_0x19a69d([0x6a,0x74,0x69])]:_0x20dc38[_0x19a69d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x20dc38[_0x19a69d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2dd85a[_0x19a69d([0x76,0x63])],_0x21b721(_0x2dd85a)==_0x13ab3a;}}}()),!_0x2cdfa1)return _0x19a69d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x2cdfa1[_0x19a69d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x282e22=function(_0x16451,_0x9eaeea){return new window[(_0x19a69d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36e319=>{if(_0x947619())return _0x36e319(_0x19a69d([0x56,0x61,0x6c,0x69,0x64]));_0x13ee1c(),_0xe956fe[_0x19a69d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x19a69d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1c12a4=!0x1;const _0x38d7b0=ckeditor5['uid']();function _0x51c9b6(_0x3e273d){return!!_0x3e273d&&(typeof _0x3e273d===_0x19a69d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3e273d===_0x19a69d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3e273d[_0x19a69d([0x74,0x68,0x65,0x6e])]===_0x19a69d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3e273d[_0x19a69d([0x63,0x61,0x74,0x63,0x68])]===_0x19a69d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x444c9c(_0x525aaf){_0x558b83(_0x525aaf)[_0x19a69d([0x74,0x68,0x65,0x6e])](_0x3ebf0b=>{if(!_0x3ebf0b||_0x3ebf0b[_0x19a69d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x19a69d([0x6f,0x6b]))return _0x19a69d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3fde56(_0x21b721(_0x38d7b0+_0x9eaeea))!=_0x3ebf0b[_0x19a69d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x19a69d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x19a69d([0x56,0x61,0x6c,0x69,0x64]);})[_0x19a69d([0x74,0x68,0x65,0x6e])](_0x2b8cd6=>(_0x24db19(),_0x2b8cd6),()=>{const _0x39030a=_0x1c43cb();return null==_0x39030a?(_0x24db19(),_0x19a69d([0x56,0x61,0x6c,0x69,0x64])):_0x19a69d(_0x134d34-_0x39030a>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x19a69d([0x74,0x68,0x65,0x6e])](_0x36e319)[_0x19a69d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x36e319(_0x19a69d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4e38a8=0x36ee80;function _0x24db19(){const _0x1d150d=_0x19a69d([0x6c,0x6c,0x63,0x74,0x2d])+_0x3fde56(_0x21b721(_0x16451)),_0x4d6fde=_0xd838e6(_0x3fde56(window[_0x19a69d([0x4d,0x61,0x74,0x68])][_0x19a69d([0x63,0x65,0x69,0x6c])](_0x134d34/_0x4e38a8)));window[_0x19a69d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x19a69d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d150d,_0x4d6fde);}function _0x1c43cb(){const _0x1a895c=_0x19a69d([0x6c,0x6c,0x63,0x74,0x2d])+_0x3fde56(_0x21b721(_0x16451)),_0x11bfab=window[_0x19a69d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x19a69d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1a895c);return _0x11bfab?window[_0x19a69d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd838e6(_0x11bfab),0x10)*_0x4e38a8:null;}function _0x558b83(_0x1c956c){return new window[(_0x19a69d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e992b,_0x2b2d2a)=>{_0x1c956c[_0x19a69d([0x74,0x68,0x65,0x6e])](_0x2e992b,_0x2b2d2a),window[_0x19a69d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2b2d2a,0x1d4c0);});}}_0xe956fe[_0x19a69d([0x6f,0x6e])](_0x19a69d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5bb9eb,_0x4100e1)=>{if(_0x4100e1[0x0]!=_0x16451)return _0x36e319(_0x19a69d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4100e1[0x1]={..._0x4100e1[0x1],[_0x19a69d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x38d7b0};},{[_0x19a69d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x19a69d([0x68,0x69,0x67,0x68])}),_0xe956fe[_0x19a69d([0x6f,0x6e])](_0x19a69d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1fa8ca=>{_0x51c9b6(_0x1fa8ca[_0x19a69d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1c12a4=!0x0,_0x444c9c(_0x1fa8ca[_0x19a69d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x19a69d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x19a69d([0x6c,0x6f,0x77])}),_0x5910ff[_0x19a69d([0x74,0x68,0x65,0x6e])](()=>{_0x1c12a4||_0x36e319(_0x19a69d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x947619(){return _0xe956fe[_0x19a69d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x19a69d([0x76,0x69,0x65,0x77])][_0x19a69d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x19a69d([0x61,0x75,0x74,0x6f]);}function _0x13ee1c(){_0xe956fe[_0x19a69d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x19a69d([0x76,0x69,0x65,0x77])][_0x19a69d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x19a69d([0x61,0x75,0x74,0x6f]);}}(_0x2cdfa1[_0x19a69d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2cdfa1[_0x19a69d([0x6a,0x74,0x69])]));const _0x25a9e8=await(async function(){let _0x3c6f04=!0x0;try{const _0x5957de=_0x4a4ccf[_0x19a69d([0x73,0x70,0x6c,0x69,0x74])](_0x19a69d([0x2e])),[_0x145a19,_0x5760c7,_0x15fa61]=_0x5957de;return _0x528af5(_0x145a19),await _0x2dd177(_0x145a19,_0x5760c7,_0x15fa61),_0x3c6f04;}catch{return!0x1;}function _0x528af5(_0x25ea43){const _0xe48872=_0xde3f0c(_0x25ea43);_0xe48872&&_0xe48872[_0x19a69d([0x61,0x6c,0x67])]==_0x19a69d([0x45,0x53,0x32,0x35,0x36])||(_0x3c6f04=!0x1);}async function _0x2dd177(_0xbfe21e,_0x3c8a0a,_0xb312a6){const _0x1f34ea=window[_0x19a69d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x19a69d([0x66,0x72,0x6f,0x6d])](_0x4abff5(_0xb312a6),_0x12d2d6=>_0x12d2d6[_0x19a69d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x533445=new window[(_0x19a69d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x19a69d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xbfe21e+_0x19a69d([0x2e])+_0x3c8a0a),_0x1a2328=window[_0x19a69d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x19a69d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1a2328)return;const _0x37aca3=await _0x1a2328[_0x19a69d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x19a69d([0x6a,0x77,0x6b]),_0x1f167f,{[_0x19a69d([0x6e,0x61,0x6d,0x65])]:_0x19a69d([0x45,0x43,0x44,0x53,0x41]),[_0x19a69d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x19a69d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x19a69d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1a2328[_0x19a69d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x19a69d([0x6e,0x61,0x6d,0x65])]:_0x19a69d([0x45,0x43,0x44,0x53,0x41]),[_0x19a69d([0x68,0x61,0x73,0x68])]:{[_0x19a69d([0x6e,0x61,0x6d,0x65])]:_0x19a69d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x37aca3,_0x1f34ea,_0x533445)||(_0x3c6f04=!0x1);}}());return _0x25a9e8?(function(){const _0x10bf5f=_0x2cdfa1[_0x19a69d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x10bf5f)return!0x1;if(_0x10bf5f[_0x19a69d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19a69d([0x2a])))return!0x0;if(_0x10bf5f[_0x19a69d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19a69d([0x54,0x4f,0x43])))return!0x0;if(_0x10bf5f[_0x19a69d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19a69d([0x50,0x50])))return!0x0;if(_0x10bf5f[_0x19a69d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19a69d([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x19a69d([0x67,0x6c,0x6f,0x62])]&&window[_0x19a69d([0x67,0x6c,0x6f,0x62])][_0x19a69d([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x11f90a=[_0x19a69d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x19a69d([0x74,0x72,0x69,0x61,0x6c])][_0x19a69d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cdfa1[_0x19a69d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x134d34/0x3e8:0x69e96100;return _0x2cdfa1[_0x19a69d([0x65,0x78,0x70])]<_0x11f90a;}())?_0x19a69d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x119ae6=_0x2cdfa1[_0x19a69d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x119ae6||0x0==_0x119ae6[_0x19a69d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3b9f27}=new URL(window[_0x19a69d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x119ae6[_0x19a69d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b9f27))return!0x0;const _0x1dd293=_0x3b9f27[_0x19a69d([0x73,0x70,0x6c,0x69,0x74])](_0x19a69d([0x2e]));return _0x119ae6[_0x19a69d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b7fb1=>_0x3b7fb1[_0x19a69d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19a69d([0x2a])))[_0x19a69d([0x6d,0x61,0x70])](_0x572171=>_0x572171[_0x19a69d([0x73,0x70,0x6c,0x69,0x74])](_0x19a69d([0x2e])))[_0x19a69d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2ff488=>_0x2ff488[_0x19a69d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1dd293[_0x19a69d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x19a69d([0x6d,0x61,0x70])](_0x1e7aaa=>Array(_0x1dd293[_0x19a69d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1e7aaa[_0x19a69d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x19a69d([0x66,0x69,0x6c,0x6c])](_0x1e7aaa[0x0]===_0x19a69d([0x2a])?_0x19a69d([0x2a]):'')[_0x19a69d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1e7aaa))[_0x19a69d([0x73,0x6f,0x6d,0x65])](_0x3cb6c4=>_0x1dd293[_0x19a69d([0x65,0x76,0x65,0x72,0x79])]((_0xb5dda1,_0x281406)=>_0x3cb6c4[_0x281406]===_0xb5dda1||_0x3cb6c4[_0x281406]===_0x19a69d([0x2a])));}())?(_0x2cdfa1[_0x19a69d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x19a69d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x8ed436=function(_0x2f16c8){const _0x5da7f0=new window[(_0x19a69d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ca4f9=>setTimeout(_0x4ca4f9,0x93ecc)),_0x207377=_0x5910ff[_0x19a69d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x19a69d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c693f=>{let _0x2400ba=0x0;_0xe956fe[_0x19a69d([0x6d,0x6f,0x64,0x65,0x6c])][_0x19a69d([0x6f,0x6e])](_0x19a69d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x31ac67,_0x42561b)=>{_0x42561b[0x0][_0x19a69d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2400ba++,0x5e8==_0x2400ba&&(_0x2c693f(),_0x31ac67[_0x19a69d([0x6f,0x66,0x66])]());});})),_0x4ed778=[_0x5da7f0,_0x207377];return window[_0x19a69d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x19a69d([0x72,0x61,0x63,0x65])](_0x4ed778)[_0x19a69d([0x74,0x68,0x65,0x6e])](()=>_0x2f16c8);}(_0x19a69d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x8ed436&&_0x282e22)return new window[(_0x19a69d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x41b9d6,_0xb11e87)=>{_0x8ed436[_0x19a69d([0x74,0x68,0x65,0x6e])](_0x41b9d6,_0xb11e87),_0x282e22[_0x19a69d([0x74,0x68,0x65,0x6e])](_0x36bf86=>{_0x36bf86!=_0x19a69d([0x56,0x61,0x6c,0x69,0x64])&&_0x41b9d6(_0x36bf86);},_0xb11e87);});return _0x8ed436||_0x282e22||_0x19a69d([0x56,0x61,0x6c,0x69,0x64]);}())):_0x19a69d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x19a69d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x19a69d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x19a69d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0xde3f0c(_0x3859f1){return _0x3859f1[_0x19a69d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x19a69d([0x65,0x79]))?JSON[_0x19a69d([0x70,0x61,0x72,0x73,0x65])](_0x4abff5(_0x3859f1)):null;}function _0x4abff5(_0x10b87a){return window[_0x19a69d([0x61,0x74,0x6f,0x62])](_0x10b87a[_0x19a69d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x19a69d([0x2b]))[_0x19a69d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x19a69d([0x2f])));}function _0x21b721(_0x46a4dc){let _0x210a08=0x1505;function _0x14a0e2(_0x29999b){for(let _0x24a17d=0x0;_0x24a17d<_0x29999b[_0x19a69d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x24a17d++){const _0x1998a1=_0x29999b[_0x19a69d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x24a17d);_0x210a08=(_0x210a08<<0x5)+_0x210a08+_0x1998a1,_0x210a08&=_0x210a08;}}return function _0x341af7(_0x5e4e6c){Array[_0x19a69d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5e4e6c)?_0x5e4e6c[_0x19a69d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x341af7):_0x5e4e6c&&typeof _0x5e4e6c==_0x19a69d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x19a69d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5e4e6c)[_0x19a69d([0x73,0x6f,0x72,0x74])]()[_0x19a69d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xc42fa,_0x53b2a8])=>{_0x14a0e2(_0xc42fa),_0x341af7(_0x53b2a8);}):_0x14a0e2(window[_0x19a69d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5e4e6c));}(_0x46a4dc),_0x210a08>>>0x0;}function _0x3fde56(_0x565c27){return _0x565c27[_0x19a69d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x19a69d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x19a69d([0x30]));}function _0xd838e6(_0x5323b4){return _0x5323b4[_0x19a69d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x19a69d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x19a69d([0x6a,0x6f,0x69,0x6e])]('');}function _0x4c8aba(){}function _0x19a69d(_0x3001a4){return _0x3001a4['map'](_0x167b20=>String['fromCharCode'](_0x167b20))['join']('');}!function(_0x4d906d){const _0x3d8c77=(function(){const _0x5c675a=window[_0x19a69d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x19a69d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x19a69d([0x6e,0x6f,0x77])]())[_0x19a69d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x19a69d([0x2e]),'');let _0x104557=_0x19a69d([0x6d]);for(let _0x17ebb8=0x0;_0x17ebb8<_0x5c675a[_0x19a69d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x17ebb8+=0x2){let _0x5702b2=window[_0x19a69d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c675a[_0x19a69d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x17ebb8,_0x17ebb8+0x2));_0x5702b2>=_0x5f35bf[_0x19a69d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5702b2-=_0x5f35bf[_0x19a69d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x104557+=_0x5f35bf[_0x5702b2];}return _0x104557;}());_0xe956fe[_0x3d8c77]=_0x19a69d([0x74,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4d906d,_0x4d906d!=_0x19a69d([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x5910ff,_0xe956fe[_0x19a69d([0x6d,0x6f,0x64,0x65,0x6c])][_0x19a69d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4c8aba,_0xe956fe[_0x19a69d([0x6d,0x6f,0x64,0x65,0x6c])][_0x19a69d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4c8aba,_0xe956fe[_0x19a69d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x19a69d([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x355b20);}class TableOfContentsUI extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xd164aa=this['editor'];_0xd164aa['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x20e36a=this['_createButton'](ckeditor5['ButtonView']);return _0x20e36a['tooltip']=!0x0,_0x20e36a;}),_0xd164aa['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](ckeditor5['MenuBarMenuListItemButtonView'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1121fc=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xb0a9ff;for(const _0x372d4c in _0x1121fc){const _0x591e8f=_0x372d4c,_0x420ce3=_0x1121fc[_0x591e8f];if('tableOfContentsLicenseKeyValid'==_0x420ce3||'tableOfContentsLicenseKeyInvalid'==_0x420ce3||'tableOfContentsLicenseKeyExpired'==_0x420ce3||'tableOfContentsLicenseKeyDomainLimit'==_0x420ce3||'tableOfContentsLicenseKeyNotAllowed'==_0x420ce3||'tableOfContentsLicenseKeyEvaluationLimit'==_0x420ce3||'tableOfContentsLicenseKeyUsageLimit'==_0x420ce3){delete _0x1121fc[_0x591e8f],_0xb0a9ff=_0x420ce3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0xb0a9ff&&_0x1121fc['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0xb0a9ff&&_0x1121fc['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0xb0a9ff&&_0x1121fc['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0xb0a9ff&&_0x1121fc['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0xb0a9ff&&_0x1121fc['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0xb0a9ff&&_0x1121fc['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x5a473b){const _0x2626b6=this['editor'],_0x47f229=_0x2626b6['locale'],_0x3a935c=_0x2626b6['commands']['get']('insertTableOfContents'),_0x4b2e5f=new _0x5a473b(_0x47f229);return _0x4b2e5f['set']({'label':getTranslation$e(_0x47f229,'Table\x20of\x20contents'),'icon':ckeditor5['IconTableOfContents']}),_0x4b2e5f['bind']('isEnabled')['to'](_0x3a935c,'isEnabled'),this['listenTo'](_0x4b2e5f,'execute',()=>{_0x2626b6['execute']('insertTableOfContents'),_0x2626b6['editing']['view']['focus']();}),_0x4b2e5f;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContents extends ckeditor5['Plugin']{static get['requires'](){return[TableOfContentsEditing,TableOfContentsUI];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const _0x2a9ff4='https://ckeditor.com/docs/ckeditor5/latest';class EmailConfigurationLogger extends ckeditor5['Plugin']{static get['pluginName'](){return'EmailConfigurationLogger';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x327ac5){super(_0x327ac5),_0x327ac5['config']['define']('email.logs',{'suppress':[],'suppressAll':!0x1});}['afterInit'](){_0x506ca2(this);}['_logSuppressibleWarning'](_0x4f1b69,_0x32dfa4){if(this['_isSuppressedLog'](_0x4f1b69,_0x32dfa4))return;const _0x3c2dd1=_0x2a9ff4+'/support/error-codes.html#error-'+_0x4f1b69;console['warn']('%cEmailConfigurationHelper%c\x20'+_0x4f1b69,'background:\x20#E65100;\x20color:\x20white;\x20padding:\x202px\x204px;','',..._0x32dfa4?[_0x32dfa4]:[],'\x0aRead\x20more:\x20'+_0x3c2dd1);}['_logSuppressibleInfo'](_0x549ee5,_0x65faed,_0x14d724){if(this['_isSuppressedLog'](_0x549ee5))return;let _0xee3948=_0x65faed;_0x14d724&&(_0xee3948+='\x0aRead\x20more:\x20'+(_0x2a9ff4+'/'+_0x14d724)),console['info']('%cEmailConfigurationHelper%c\x20'+_0x549ee5,'background:\x20#4169E1;\x20color:\x20white;\x20padding:\x202px\x204px;','',_0xee3948);}['_checkUnsupportedPlugin'](_0x7ae7ba,_0x154336){this['editor']['plugins']['has'](_0x7ae7ba)&&this['_logSuppressibleWarning']('email-configuration-unsupported-plugin',{'pluginName':_0x7ae7ba,..._0x154336});}['_validateConfigColorValue'](_0x5c4e18){const _0x2c980a=this['editor']['config']['get'](_0x5c4e18);if(!_0x2c980a)return;const _0x4fe565=Array['isArray'](_0x2c980a),_0x2f173b=_0x4fe565?_0x2c980a:[_0x2c980a];for(const [_0x30bab9,_0x3541ca]of _0x2f173b['entries']()){const _0x12602f='string'==typeof _0x3541ca?_0x3541ca:_0x3541ca['color'];isUnsupportedEmailColorValue(_0x12602f)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-value',{'configPath':_0x4fe565?_0x5c4e18+'['+_0x30bab9+']':_0x5c4e18,'color':_0x12602f});}}['_validateConfigColorFormat'](_0x2c1761){const _0x350daf=this['editor']['config']['get'](_0x2c1761);_0x350daf&&isUnsupportedEmailColorFormat(_0x350daf)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-format',{'configPath':_0x2c1761,'format':_0x350daf});}['_isSuppressedLog'](_0x14134c,_0x365686){const _0x52f8a8=this['editor']['config']['get']('email.logs');return!!_0x52f8a8['suppressAll']||(!('function'!=typeof _0x52f8a8['suppress']||!_0x52f8a8['suppress'](_0x14134c,_0x365686))||!(!Array['isArray'](_0x52f8a8['suppress'])||!_0x52f8a8['suppress']['includes'](_0x14134c)));}}const _0x5af210=['hsl','hsla','hwb','lab','lch','oklab','oklch','color-mix','rgba'];function isUnsupportedEmailColorValue(_0x3d0fb5){return!!_0x3d0fb5&&_0x5af210['some'](_0x31c903=>_0x3d0fb5['includes'](_0x31c903+'('));}function isUnsupportedEmailColorFormat(_0x3b4290){return!!_0x3b4290&&_0x5af210['includes'](_0x3b4290);}async function _0x506ca2(_0x327450){const _0x4cb663=_0x53e67e([0x75,0x69,0x7a,0x54,0x64,0x76,0x79,0x42,0x49,0x61,0x34,0x52,0x4b,0x73,0x6e,0x4f,0x59,0x6d,0x45,0x58,0x47,0x4d,0x66,0x6a,0x65,0x68,0x77,0x4a,0x51,0x71,0x62,0x50,0x53,0x43,0x6b,0x37,0x44,0x74,0x5a,0x67,0x46,0x35,0x38,0x4c,0x78,0x6c,0x32,0x39,0x48,0x6f,0x36,0x63,0x41,0x55,0x57,0x31,0x70,0x56,0x33,0x4e,0x72,0x30]),_0x50b344=window[_0x53e67e([0x44,0x61,0x74,0x65])][_0x53e67e([0x6e,0x6f,0x77])](),_0x51a7d5=_0x327450[_0x53e67e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3ce0c6=new window[(_0x53e67e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47cf7c=>{_0x51a7d5[_0x53e67e([0x6f,0x6e,0x63,0x65])](_0x53e67e([0x72,0x65,0x61,0x64,0x79]),_0x47cf7c);}),_0x3d4a9b={[_0x53e67e([0x6b,0x74,0x79])]:_0x53e67e([0x45,0x43]),[_0x53e67e([0x75,0x73,0x65])]:_0x53e67e([0x73,0x69,0x67]),[_0x53e67e([0x63,0x72,0x76])]:_0x53e67e([0x50,0x2d,0x32,0x35,0x36]),[_0x53e67e([0x78])]:_0x53e67e([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x53e67e([0x79])]:_0x53e67e([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x53e67e([0x61,0x6c,0x67])]:_0x53e67e([0x45,0x53,0x32,0x35,0x36])},_0x518dea=_0x51a7d5[_0x53e67e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x53e67e([0x67,0x65,0x74])](_0x53e67e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x8a12ec=await(async function(){let _0x586086,_0x50da94=null,_0x17670e=null;try{if(_0x518dea==_0x53e67e([0x47,0x50,0x4c]))return _0x53e67e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x586086=(function(){const _0x391d74=_0x518dea[_0x53e67e([0x73,0x70,0x6c,0x69,0x74])](_0x53e67e([0x2e]));if(0x3!=_0x391d74[_0x53e67e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x5e0155=_0x391d74[0x1];return _0x4d1715(_0x5e0155);function _0x4d1715(_0x36729f){const _0x43ac91=_0x4cd28a(_0x36729f);return _0x43ac91&&_0x5af0f0()?_0x43ac91:null;function _0x5af0f0(){const _0x27d907=_0x43ac91[_0x53e67e([0x6a,0x74,0x69])],_0x56931d=window[_0x53e67e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x27d907[_0x53e67e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x27d907[_0x53e67e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x49d469={..._0x43ac91,[_0x53e67e([0x6a,0x74,0x69])]:_0x27d907[_0x53e67e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x27d907[_0x53e67e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x49d469[_0x53e67e([0x76,0x63])],_0x5b3834(_0x49d469)==_0x56931d;}}}()),!_0x586086)return _0x53e67e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x586086[_0x53e67e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x17670e=function(_0x590714,_0x3896e8){return new window[(_0x53e67e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1533d4=>{if(_0x35bc17())return _0x1533d4(_0x53e67e([0x56,0x61,0x6c,0x69,0x64]));_0x9feafa(),_0x51a7d5[_0x53e67e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x53e67e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x385c6f=!0x1;const _0x133d99=ckeditor5['uid']();function _0x233d7f(_0x222797){return!!_0x222797&&(typeof _0x222797===_0x53e67e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x222797===_0x53e67e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x222797[_0x53e67e([0x74,0x68,0x65,0x6e])]===_0x53e67e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x222797[_0x53e67e([0x63,0x61,0x74,0x63,0x68])]===_0x53e67e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x538911(_0x41911a){_0x1571f4(_0x41911a)[_0x53e67e([0x74,0x68,0x65,0x6e])](_0x1c7e2e=>{if(!_0x1c7e2e||_0x1c7e2e[_0x53e67e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x53e67e([0x6f,0x6b]))return _0x53e67e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x811581(_0x5b3834(_0x133d99+_0x3896e8))!=_0x1c7e2e[_0x53e67e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x53e67e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x53e67e([0x56,0x61,0x6c,0x69,0x64]);})[_0x53e67e([0x74,0x68,0x65,0x6e])](_0x23a828=>(_0x2d95a8(),_0x23a828),()=>{const _0x7ded13=_0x2bef98();return null==_0x7ded13?(_0x2d95a8(),_0x53e67e([0x56,0x61,0x6c,0x69,0x64])):_0x53e67e(_0x50b344-_0x7ded13>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x53e67e([0x74,0x68,0x65,0x6e])](_0x1533d4)[_0x53e67e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1533d4(_0x53e67e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5384a5=0x36ee80;function _0x2d95a8(){const _0x116e86=_0x53e67e([0x6c,0x6c,0x63,0x74,0x2d])+_0x811581(_0x5b3834(_0x590714)),_0x567f33=_0x162d0b(_0x811581(window[_0x53e67e([0x4d,0x61,0x74,0x68])][_0x53e67e([0x63,0x65,0x69,0x6c])](_0x50b344/_0x5384a5)));window[_0x53e67e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x53e67e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x116e86,_0x567f33);}function _0x2bef98(){const _0x268ccd=_0x53e67e([0x6c,0x6c,0x63,0x74,0x2d])+_0x811581(_0x5b3834(_0x590714)),_0x54797b=window[_0x53e67e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x53e67e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x268ccd);return _0x54797b?window[_0x53e67e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x162d0b(_0x54797b),0x10)*_0x5384a5:null;}function _0x1571f4(_0x3c27c3){return new window[(_0x53e67e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x263b37,_0x2a850a)=>{_0x3c27c3[_0x53e67e([0x74,0x68,0x65,0x6e])](_0x263b37,_0x2a850a),window[_0x53e67e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2a850a,0x1d4c0);});}}_0x51a7d5[_0x53e67e([0x6f,0x6e])](_0x53e67e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4d1661,_0x1b83e8)=>{if(_0x1b83e8[0x0]!=_0x590714)return _0x1533d4(_0x53e67e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1b83e8[0x1]={..._0x1b83e8[0x1],[_0x53e67e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x133d99};},{[_0x53e67e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x53e67e([0x68,0x69,0x67,0x68])}),_0x51a7d5[_0x53e67e([0x6f,0x6e])](_0x53e67e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2dff3c=>{_0x233d7f(_0x2dff3c[_0x53e67e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x385c6f=!0x0,_0x538911(_0x2dff3c[_0x53e67e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x53e67e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x53e67e([0x6c,0x6f,0x77])}),_0x3ce0c6[_0x53e67e([0x74,0x68,0x65,0x6e])](()=>{_0x385c6f||_0x1533d4(_0x53e67e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x35bc17(){return _0x51a7d5[_0x53e67e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x53e67e([0x76,0x69,0x65,0x77])][_0x53e67e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x53e67e([0x61,0x75,0x74,0x6f]);}function _0x9feafa(){_0x51a7d5[_0x53e67e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x53e67e([0x76,0x69,0x65,0x77])][_0x53e67e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x53e67e([0x61,0x75,0x74,0x6f]);}}(_0x586086[_0x53e67e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x586086[_0x53e67e([0x6a,0x74,0x69])]));const _0x473106=await(async function(){let _0x10f807=!0x0;try{const _0x4d859c=_0x518dea[_0x53e67e([0x73,0x70,0x6c,0x69,0x74])](_0x53e67e([0x2e])),[_0x93e2e8,_0x31ebca,_0x468a3b]=_0x4d859c;return _0x27ce95(_0x93e2e8),await _0x5896ce(_0x93e2e8,_0x31ebca,_0x468a3b),_0x10f807;}catch{return!0x1;}function _0x27ce95(_0x191a88){const _0x565d7f=_0x4cd28a(_0x191a88);_0x565d7f&&_0x565d7f[_0x53e67e([0x61,0x6c,0x67])]==_0x53e67e([0x45,0x53,0x32,0x35,0x36])||(_0x10f807=!0x1);}async function _0x5896ce(_0x4057d2,_0x30e143,_0x3b615e){const _0x2c3d64=window[_0x53e67e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x53e67e([0x66,0x72,0x6f,0x6d])](_0x1de21a(_0x3b615e),_0x45428a=>_0x45428a[_0x53e67e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1bf607=new window[(_0x53e67e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x53e67e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4057d2+_0x53e67e([0x2e])+_0x30e143),_0x215f04=window[_0x53e67e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x53e67e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x215f04)return;const _0x50b13f=await _0x215f04[_0x53e67e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x53e67e([0x6a,0x77,0x6b]),_0x3d4a9b,{[_0x53e67e([0x6e,0x61,0x6d,0x65])]:_0x53e67e([0x45,0x43,0x44,0x53,0x41]),[_0x53e67e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x53e67e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x53e67e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x215f04[_0x53e67e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x53e67e([0x6e,0x61,0x6d,0x65])]:_0x53e67e([0x45,0x43,0x44,0x53,0x41]),[_0x53e67e([0x68,0x61,0x73,0x68])]:{[_0x53e67e([0x6e,0x61,0x6d,0x65])]:_0x53e67e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x50b13f,_0x2c3d64,_0x1bf607)||(_0x10f807=!0x1);}}());return _0x473106?(function(){const _0x289fb1=_0x586086[_0x53e67e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x289fb1)return!0x1;if(_0x289fb1[_0x53e67e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53e67e([0x2a])))return!0x0;if(_0x289fb1[_0x53e67e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53e67e([0x45,0x43,0x48])))return!0x0;return!0x1;}())?(function(){const _0x2e7c70=[_0x53e67e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x53e67e([0x74,0x72,0x69,0x61,0x6c])][_0x53e67e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x586086[_0x53e67e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x50b344/0x3e8:0x69e96100;return _0x586086[_0x53e67e([0x65,0x78,0x70])]<_0x2e7c70;}())?_0x53e67e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x22c22e=_0x586086[_0x53e67e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x22c22e||0x0==_0x22c22e[_0x53e67e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2425a5}=new URL(window[_0x53e67e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x22c22e[_0x53e67e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2425a5))return!0x0;const _0xcf1bfc=_0x2425a5[_0x53e67e([0x73,0x70,0x6c,0x69,0x74])](_0x53e67e([0x2e]));return _0x22c22e[_0x53e67e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x64571=>_0x64571[_0x53e67e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53e67e([0x2a])))[_0x53e67e([0x6d,0x61,0x70])](_0x4b5cd6=>_0x4b5cd6[_0x53e67e([0x73,0x70,0x6c,0x69,0x74])](_0x53e67e([0x2e])))[_0x53e67e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f313e=>_0x3f313e[_0x53e67e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xcf1bfc[_0x53e67e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x53e67e([0x6d,0x61,0x70])](_0x5c2ef6=>Array(_0xcf1bfc[_0x53e67e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5c2ef6[_0x53e67e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x53e67e([0x66,0x69,0x6c,0x6c])](_0x5c2ef6[0x0]===_0x53e67e([0x2a])?_0x53e67e([0x2a]):'')[_0x53e67e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5c2ef6))[_0x53e67e([0x73,0x6f,0x6d,0x65])](_0x80b985=>_0xcf1bfc[_0x53e67e([0x65,0x76,0x65,0x72,0x79])]((_0x20b49f,_0x3fd02d)=>_0x80b985[_0x3fd02d]===_0x20b49f||_0x80b985[_0x3fd02d]===_0x53e67e([0x2a])));}())?(_0x586086[_0x53e67e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x53e67e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x50da94=function(_0x365be2){const _0x49982e=new window[(_0x53e67e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28643d=>setTimeout(_0x28643d,0x93ecc)),_0x5c8f95=_0x3ce0c6[_0x53e67e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x53e67e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x519ef0=>{let _0x1d695d=0x0;_0x51a7d5[_0x53e67e([0x6d,0x6f,0x64,0x65,0x6c])][_0x53e67e([0x6f,0x6e])](_0x53e67e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2de1b7,_0x13f341)=>{_0x13f341[0x0][_0x53e67e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1d695d++,0x5e8==_0x1d695d&&(_0x519ef0(),_0x2de1b7[_0x53e67e([0x6f,0x66,0x66])]());});})),_0x2f2224=[_0x49982e,_0x5c8f95];return window[_0x53e67e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x53e67e([0x72,0x61,0x63,0x65])](_0x2f2224)[_0x53e67e([0x74,0x68,0x65,0x6e])](()=>_0x365be2);}(_0x53e67e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x50da94&&_0x17670e)return new window[(_0x53e67e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x56c7c9,_0x5bf456)=>{_0x50da94[_0x53e67e([0x74,0x68,0x65,0x6e])](_0x56c7c9,_0x5bf456),_0x17670e[_0x53e67e([0x74,0x68,0x65,0x6e])](_0x389934=>{_0x389934!=_0x53e67e([0x56,0x61,0x6c,0x69,0x64])&&_0x56c7c9(_0x389934);},_0x5bf456);});return _0x50da94||_0x17670e||_0x53e67e([0x56,0x61,0x6c,0x69,0x64]);}())):_0x53e67e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x53e67e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x53e67e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x53e67e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x4cd28a(_0x14b53f){return _0x14b53f[_0x53e67e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x53e67e([0x65,0x79]))?JSON[_0x53e67e([0x70,0x61,0x72,0x73,0x65])](_0x1de21a(_0x14b53f)):null;}function _0x1de21a(_0x5a557d){return window[_0x53e67e([0x61,0x74,0x6f,0x62])](_0x5a557d[_0x53e67e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x53e67e([0x2b]))[_0x53e67e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x53e67e([0x2f])));}function _0x5b3834(_0x437887){let _0x251adc=0x1505;function _0x422e99(_0x7d224a){for(let _0x2539f9=0x0;_0x2539f9<_0x7d224a[_0x53e67e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2539f9++){const _0x3e59b6=_0x7d224a[_0x53e67e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2539f9);_0x251adc=(_0x251adc<<0x5)+_0x251adc+_0x3e59b6,_0x251adc&=_0x251adc;}}return function _0x33157b(_0x440a97){Array[_0x53e67e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x440a97)?_0x440a97[_0x53e67e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x33157b):_0x440a97&&typeof _0x440a97==_0x53e67e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x53e67e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x440a97)[_0x53e67e([0x73,0x6f,0x72,0x74])]()[_0x53e67e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x20ef30,_0x32a860])=>{_0x422e99(_0x20ef30),_0x33157b(_0x32a860);}):_0x422e99(window[_0x53e67e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x440a97));}(_0x437887),_0x251adc>>>0x0;}function _0x811581(_0x4e9458){return _0x4e9458[_0x53e67e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x53e67e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x53e67e([0x30]));}function _0x162d0b(_0x227ae6){return _0x227ae6[_0x53e67e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x53e67e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x53e67e([0x6a,0x6f,0x69,0x6e])]('');}function _0xeeb46(){}function _0x53e67e(_0x5944d9){return _0x5944d9['map'](_0x1e18fb=>String['fromCharCode'](_0x1e18fb))['join']('');}!function(_0x44c671){const _0x54eacf=(function(){const _0xff2461=window[_0x53e67e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x53e67e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x53e67e([0x6e,0x6f,0x77])]())[_0x53e67e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x53e67e([0x2e]),'');let _0x59441c=_0x53e67e([0x75]);for(let _0x3400c4=0x0;_0x3400c4<_0xff2461[_0x53e67e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3400c4+=0x2){let _0x5df015=window[_0x53e67e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xff2461[_0x53e67e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3400c4,_0x3400c4+0x2));_0x5df015>=_0x4cb663[_0x53e67e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5df015-=_0x4cb663[_0x53e67e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x59441c+=_0x4cb663[_0x5df015];}return _0x59441c;}());_0x51a7d5[_0x54eacf]=_0x53e67e([0x65,0x6d,0x61,0x69,0x6c,0x43,0x6f,0x6e,0x66,0x69,0x67,0x75,0x72,0x61,0x74,0x69,0x6f,0x6e,0x48,0x65,0x6c,0x70,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x44c671,_0x44c671!=_0x53e67e([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x3ce0c6,_0x51a7d5[_0x53e67e([0x6d,0x6f,0x64,0x65,0x6c])][_0x53e67e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xeeb46,_0x51a7d5[_0x53e67e([0x6d,0x6f,0x64,0x65,0x6c])][_0x53e67e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xeeb46,_0x51a7d5[_0x53e67e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x53e67e([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x8a12ec);}class HighlightEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'HighlightEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('Highlight');}}var calculate=function(_0x19050c){var _0x3b71c7,_0x44f2fc,_0xb379bc,_0x3cfa8d,_0x38028=[];for(_0xb379bc=0x0,_0x3cfa8d=(_0x3b71c7=_0x19050c['split'](','))['length'];_0xb379bc<_0x3cfa8d;_0xb379bc+=0x1)(_0x44f2fc=_0x3b71c7[_0xb379bc])['length']>0x0&&_0x38028['push'](calculateSingle(_0x44f2fc));return _0x38028;},calculateSingle=function(_0x59e431){var _0x58d712,_0x372ab6,_0x102b8a=_0x59e431,_0x5e567a={'a':0x0,'b':0x0,'c':0x0},_0x3112f3=[];return _0x58d712=function(_0x4b9557,_0x22357b){var _0x4b9492,_0x22c6a7,_0x8e9e9,_0x23193d,_0x52fcad,_0x3f3129;if(_0x4b9557['test'](_0x102b8a)){for(_0x22c6a7=0x0,_0x8e9e9=(_0x4b9492=_0x102b8a['match'](_0x4b9557))['length'];_0x22c6a7<_0x8e9e9;_0x22c6a7+=0x1)_0x5e567a[_0x22357b]+=0x1,_0x23193d=_0x4b9492[_0x22c6a7],_0x52fcad=_0x102b8a['indexOf'](_0x23193d),_0x3f3129=_0x23193d['length'],_0x3112f3['push']({'selector':_0x59e431['substr'](_0x52fcad,_0x3f3129),'type':_0x22357b,'index':_0x52fcad,'length':_0x3f3129}),_0x102b8a=_0x102b8a['replace'](_0x23193d,Array(_0x3f3129+0x1)['join']('\x20'));}},_0x372ab6=function(_0x3b25a6){var _0x58be0b,_0x54fffe,_0x324030,_0x2832da;if(_0x3b25a6['test'](_0x102b8a)){for(_0x54fffe=0x0,_0x324030=(_0x58be0b=_0x102b8a['match'](_0x3b25a6))['length'];_0x54fffe<_0x324030;_0x54fffe+=0x1)_0x2832da=_0x58be0b[_0x54fffe],_0x102b8a=_0x102b8a['replace'](_0x2832da,Array(_0x2832da['length']+0x1)['join']('A'));}},_0x372ab6(/\\[0-9A-Fa-f]{6}\s?/g),_0x372ab6(/\\[0-9A-Fa-f]{1,5}\s/g),_0x372ab6(/\\./g),(function(){var _0x22f851,_0x210d70,_0xdf2f3f,_0x466dfb,_0x358eb1=/{[^]*/gm;if(_0x358eb1['test'](_0x102b8a)){for(_0x210d70=0x0,_0xdf2f3f=(_0x22f851=_0x102b8a['match'](_0x358eb1))['length'];_0x210d70<_0xdf2f3f;_0x210d70+=0x1)_0x466dfb=_0x22f851[_0x210d70],_0x102b8a=_0x102b8a['replace'](_0x466dfb,Array(_0x466dfb['length']+0x1)['join']('\x20'));}}()),_0x58d712(/(\[[^\]]+\])/g,'b'),_0x58d712(/(#[^\#\s\+>~\.\[:\)]+)/g,'a'),_0x58d712(/(\.[^\s\+>~\.\[:\)]+)/g,'b'),_0x58d712(/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,'c'),_0x58d712(/(:(?!not|global|local)[\w-]+\([^\)]*\))/gi,'b'),_0x58d712(/(:(?!not|global|local)[^\s\+>~\.\[:]+)/g,'b'),_0x102b8a=(_0x102b8a=(_0x102b8a=(_0x102b8a=(_0x102b8a=(_0x102b8a=_0x102b8a['replace'](/[\*\s\+>~]/g,'\x20'))['replace'](/[#\.]/g,'\x20'))['replace'](/:not/g,'\x20\x20\x20\x20'))['replace'](/:local/g,'\x20\x20\x20\x20\x20\x20'))['replace'](/:global/g,'\x20\x20\x20\x20\x20\x20\x20'))['replace'](/[\(\)]/g,'\x20'),_0x58d712(/([^\s\+>~\.\[:]+)/g,'c'),_0x3112f3['sort'](function(_0x2967b9,_0x23592f){return _0x2967b9['index']-_0x23592f['index'];}),{'selector':_0x59e431,'specificity':'0,'+_0x5e567a['a']['toString']()+','+_0x5e567a['b']['toString']()+','+_0x5e567a['c']['toString'](),'specificityArray':[0x0,_0x5e567a['a'],_0x5e567a['b'],_0x5e567a['c']],'parts':_0x3112f3};},_0x2e5c2d=function(_0x3b2638,_0x2077c1){var _0x42510e,_0x4f5831,_0x4f5f7e;if('string'==typeof _0x3b2638){if(-0x1!==_0x3b2638['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0x42510e=calculateSingle(_0x3b2638)['specificityArray'];}else{if(!Array['isArray'](_0x3b2638))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0x3b2638['filter'](function(_0x1a1ecb){return'number'==typeof _0x1a1ecb;})['length'])throw'Invalid\x20specificity\x20array';_0x42510e=_0x3b2638;}if('string'==typeof _0x2077c1){if(-0x1!==_0x2077c1['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0x4f5831=calculateSingle(_0x2077c1)['specificityArray'];}else{if(!Array['isArray'](_0x2077c1))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0x2077c1['filter'](function(_0x3f0050){return'number'==typeof _0x3f0050;})['length'])throw'Invalid\x20specificity\x20array';_0x4f5831=_0x2077c1;}for(_0x4f5f7e=0x0;_0x4f5f7e<0x4;_0x4f5f7e+=0x1){if(_0x42510e[_0x4f5f7e]<_0x4f5831[_0x4f5f7e])return-0x1;if(_0x42510e[_0x4f5f7e]>_0x4f5831[_0x4f5f7e])return 0x1;}return 0x0;};function splitByTopLevelComma(_0x5d13fc){const _0x4e3963=[];let _0x1d8703='',_0x15713c=0x0;for(;_0x15713c<_0x5d13fc['length'];){const _0x4f04a2=_0x5d13fc[_0x15713c];if('('===_0x4f04a2){const _0x5662f6=findMatchingParenthesis(_0x5d13fc,_0x15713c+0x1);if(-0x1===_0x5662f6)return[];_0x1d8703+=_0x5d13fc['slice'](_0x15713c,_0x5662f6+0x1),_0x15713c=_0x5662f6+0x1;}else','!==_0x4f04a2||_0x1d8703['endsWith']('\x5c')?(_0x1d8703+=_0x4f04a2,_0x15713c++):(_0x4e3963['push'](_0x1d8703['trim']()),_0x1d8703='',_0x15713c++);}return _0x1d8703['trim']()&&_0x4e3963['push'](_0x1d8703['trim']()),_0x4e3963['filter'](Boolean);}function findMatchingParenthesis(_0x46cbe6,_0x52cf4d){let _0x26d651=0x1;for(let _0x5b0857=_0x52cf4d;_0x5b0857<_0x46cbe6['length'];_0x5b0857++){const _0x4eed09=_0x46cbe6[_0x5b0857];if('('===_0x4eed09)_0x26d651++;else{if(')'===_0x4eed09&&(_0x26d651--,0x0===_0x26d651))return _0x5b0857;}}return-0x1;}function dropImportantStyleSuffix(_0x2ebf15){return _0x2ebf15['replace'](/!\s*important/i,'')['trim']();}function collectRootStylesheetsVariables(_0x48597b){const _0x323df2=new Map();for(const {stylesMap:_0x1a38fd,flatSelector:_0x324ca5}of _0x48597b){if(':root'!==_0x324ca5)continue;const _0x5417ac=inlineStylesMapCSSVariables(_0x323df2['get']['bind'](_0x323df2),_0x1a38fd);for(const [_0x17a42c,_0x15beda]of _0x5417ac)_0x323df2['set'](_0x17a42c,_0x15beda);}return _0x323df2;}function inlineStylesMapCSSVariables(_0x176e6d,_0x4fa4fd){const _0x14610e=new Map(),_0x3cada0=_0x3f91b8=>_0x14610e['has'](_0x3f91b8)?_0x14610e['get'](_0x3f91b8):_0x176e6d(_0x3f91b8);for(const [_0x278861,_0x28e9c3]of _0x4fa4fd['getStylesEntries']())if(_0x28e9c3&&_0x278861['startsWith']('--')){const _0x26b62d=inlineCSSVariablesInString(_0x3cada0,_0x28e9c3);_0x14610e['set'](_0x278861,_0x26b62d),_0x4fa4fd['remove'](_0x278861);}for(const [_0x11dcd7,_0x10eac8]of _0x4fa4fd['getStylesEntries']())if(_0x10eac8){const _0x4aac31=inlineCSSVariablesInString(_0x3cada0,_0x10eac8);_0x4fa4fd['set'](_0x11dcd7,_0x4aac31);}return _0x14610e;}function inlineCSSVariablesInString(_0x21ab34,_0x59e3f3){return _0xd7edee(_0x59e3f3,_0x1e8f36=>{const [_0x16c568,_0x1b528d]=splitByTopLevelComma(_0x1e8f36),_0x1150c6=_0x21ab34(_0x16c568);return void 0x0!==_0x1150c6?_0x1150c6:_0x1b528d?inlineCSSVariablesInString(_0x21ab34,_0x1b528d):'var('+_0x16c568+')';});}function _0xd7edee(_0x19196c,_0x2335a3){let _0x2d1232='',_0xd366b1=0x0;for(;_0xd366b1<_0x19196c['length'];){const _0x453441=_0x19196c['indexOf']('var(',_0xd366b1);if(-0x1===_0x453441){_0x2d1232+=_0x19196c['slice'](_0xd366b1);break;}_0x2d1232+=_0x19196c['slice'](_0xd366b1,_0x453441);const _0x16a6cf=_0x453441+0x4,_0x178d03=findMatchingParenthesis(_0x19196c,_0x16a6cf);_0x2d1232+=_0x2335a3(_0x19196c['substring'](_0x16a6cf,_0x178d03)),_0xd366b1=_0x178d03+0x1;}return _0x2d1232;}async function collectAndProcessStylesheets(_0x1c5f7d){const _0x5369a4=[await ckeditor5['collectStylesheets'](_0x1c5f7d['stylesheets']),_0x1c5f7d['inlineCss']]['filter'](_0x14bafc=>_0x14bafc&&_0x14bafc['length'])['join']('\x0a'),_0x5782b4=await convertRawStylesheetToParsedCSSRules(_0x1c5f7d['stylesProcessor'],_0x5369a4);return{'parsedCssRules':_0x5782b4,'rootCssVariables':collectRootStylesheetsVariables(_0x5782b4)};}async function convertRawStylesheetToParsedCSSRules(_0x2e29ce,_0x3c4e22){const _0xc9db78=new CSSStyleSheet();return await _0xc9db78['replace'](_0x3c4e22),dropCSSNesting(Array['from'](_0xc9db78['cssRules'])['filter'](_0x7330a9=>_0x7330a9 instanceof CSSStyleRule))['flatMap'](({selectorText:_0x1cbc2f,contentCssText:_0x36dbb9})=>{const _0x334f1e=splitByTopLevelComma(_0x1cbc2f),_0x320b71=new ckeditor5['StylesMap'](_0x2e29ce)['setTo'](_0x36dbb9);return _0x334f1e['map'](_0x36386a=>{const _0x5152be=_0x301f61(_0x36386a),_0x527fb7=_0x5152be?calculate(_0x5152be)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x320b71,'flatSelector':_0x36386a,'specificity':_0x527fb7};});})['sort']((_0x5bee79,_0x2d0419)=>_0x2e5c2d(_0x5bee79['specificity'],_0x2d0419['specificity']));}function _0x301f61(_0x56f262){const _0x5928d2=':where(';let _0xce643b=_0x56f262,_0x31eaba=0x0;for(let _0x503d56=0x0;_0x503d56<0x64;_0x503d56++){const _0x273fa0=_0xce643b['indexOf'](_0x5928d2,_0x31eaba);if(-0x1===_0x273fa0)break;let _0x29e6c1=0x0;for(let _0x196f3b=0x0;_0x196f3b<_0x273fa0;_0x196f3b++)'('===_0xce643b[_0x196f3b]?_0x29e6c1++:')'===_0xce643b[_0x196f3b]&&_0x29e6c1--;if(_0x29e6c1>0x0){_0x31eaba=_0x273fa0+0x7;continue;}let _0x5cf4fa=-0x1;for(let _0x40c5c6=_0x273fa0+0x7,_0x3e12e0=0x1;_0x40c5c6<_0xce643b['length'];_0x40c5c6++)if('('===_0xce643b[_0x40c5c6]?_0x3e12e0++:')'===_0xce643b[_0x40c5c6]&&_0x3e12e0--,!_0x3e12e0){_0x5cf4fa=_0x40c5c6;break;}-0x1!==_0x5cf4fa?(_0xce643b=_0xce643b['slice'](0x0,_0x273fa0)+_0xce643b['slice'](_0x5cf4fa+0x1),_0x31eaba=_0x273fa0):_0x31eaba=_0x273fa0+0x7;}return _0xce643b['replace'](/\s+/g,'\x20')['trim']();}function dropCSSNesting(_0x54655b,_0x5d881d=''){return _0x54655b['flatMap'](_0x38c850=>{const {selectorText:_0xde2af9,cssText:_0x470970,cssRules:_0x4dae9c}=_0x38c850;if(!_0xde2af9)return[];const _0x398110=_0xde2af9['replace'](/&/g,_0x5d881d);let _0x497e51=_0x470970['replace'](_0xde2af9,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x4dae9c||!_0x4dae9c['length'])return[{'selectorText':_0x398110,'contentCssText':_0x497e51}];for(const _0x1f2e3a of _0x4dae9c)_0x497e51=_0x497e51['replace'](_0x1f2e3a['cssText'],'')['trim']();return[{'selectorText':_0x398110,'contentCssText':_0x497e51},...dropCSSNesting(Array['from'](_0x4dae9c),_0x398110)];});}function getElementInlineStyles(_0x25619e){const _0x46fb62=_0x25619e['element']['getAttribute']('style')||'',_0x3cb39a=_0x25619e['parsedCssRules']['filter'](_0x12bbf0=>_0x25619e['element']['matches'](_0x12bbf0['flatSelector']))['map'](_0x4bb669=>_0x4bb669['stylesMap']),_0x43f9b2=concatStylesMaps(_0x25619e['stylesProcessor'],[..._0x3cb39a,_0x46fb62]);return{'localCSSVariables':inlineStylesMapCSSVariables(_0x25619e['fallbackCSSVariablesLookup'],_0x43f9b2),'stylesMap':_0x43f9b2};}function concatStylesMaps(_0xef7d56,_0x44ac42){const _0x46094e=new ckeditor5['StylesMap'](_0xef7d56);for(const _0x1ead8f of _0x44ac42){let _0x2c2556=null;if(_0x2c2556='string'==typeof _0x1ead8f?new ckeditor5['StylesMap'](_0xef7d56)['setTo'](_0x1ead8f):_0x1ead8f,_0x2c2556){for(const [_0x147e5a,_0x5c0f88]of _0x2c2556['getStylesEntries']())_0x46094e['set'](_0x147e5a,_0x5c0f88);}}return _0x46094e;}class ExportInlineStylesCommand extends ckeditor5['Command']{['_stylesProcessor'];constructor(_0x469acf){super(_0x469acf),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],ckeditor5['addMarginStylesRules'](this['_stylesProcessor']),ckeditor5['addPaddingStylesRules'](this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x3a1df1){const _0x5ce7be=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x35e420}=this['editor']['locale'],{rootName:_0x54ae7='main',dataControllerDowncastOptions:_0x1c19d9={},transformations:_0x147556=_0x5ce7be['transformations']||[]}=_0x3a1df1||{};this['isBusy']=!0x0,this['refresh']();const _0x11d2f1=this['_getRootDataHTMLFragment'](_0x54ae7,_0x1c19d9),_0x3aa78a=ckeditor5['createElement'](_0x11d2f1['ownerDocument'],'div',{'dir':_0x35e420,'class':'ck-content'},[_0x11d2f1]);return this['_collectAndApplyStyles'](_0x147556,_0x3aa78a)['then'](()=>{const _0x220771=extractElementChildrenAsFragment(_0x3aa78a),_0x241aed=_0x3aa78a['getAttribute']('style');if(_0x241aed)for(const _0x230d09 of _0x220771['children']){const _0x4e5502=_0x230d09['getAttribute']('style'),_0x295f0d=concatStylesMaps(this['_stylesProcessor'],[_0x241aed,_0x4e5502]);_0x230d09['setAttribute']('style',dumpNonSortedStylesMap(_0x295f0d));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x220771);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x280303,_0x475756){const {data:_0x215901,model:_0x4c1ae2}=this['editor'],_0x34a99a=_0x4c1ae2['document']['getRoot'](_0x280303),_0x5e824b=_0x215901['toView'](_0x34a99a,_0x475756);return _0x215901['htmlProcessor']['domConverter']['viewToDom'](_0x5e824b);}async['_collectAndApplyStyles'](_0x16fe29,_0x3db2bb){const {stylesheets:_0x34d4d8,inlineCss:_0xf2078a,stripCssClasses:_0x1c365b}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x5197f3,rootCssVariables:_0x22372}=await collectAndProcessStylesheets({'stylesheets':_0x34d4d8||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0xf2078a});this['_processElementTree']({'transformations':_0x16fe29,'parsedCssRules':_0x5197f3,'element':_0x3db2bb,'stripCssClasses':_0x1c365b,'parentCSSVariablesLookup':_0x22372['get']['bind'](_0x22372)});}['_processElementTree']({element:_0x16d1b9,parsedCssRules:_0x30a22f,parentCSSVariablesLookup:_0x172716,stripCssClasses:_0x55f60b,transformations:_0x1cc0f4}){const {stylesMap:_0xe8eb98,localCSSVariables:_0x1fe7e5}=getElementInlineStyles({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x172716,'parsedCssRules':_0x30a22f,'element':_0x16d1b9});for(const _0x52edda of _0x1cc0f4){const _0x3a68f9=_0x52edda(_0x16d1b9,_0xe8eb98);_0x3a68f9&&_0x3a68f9 instanceof HTMLElement&&(_0x16d1b9=_0x3a68f9);}_0xe8eb98['size']?_0x16d1b9['setAttribute']('style',dumpNonSortedStylesMap(_0xe8eb98)):_0x16d1b9['removeAttribute']('style');const _0x29e7f0=_0x5dc070=>_0x1fe7e5['has'](_0x5dc070)?_0x1fe7e5['get'](_0x5dc070):_0x172716(_0x5dc070);for(const _0x1c1d10 of _0x16d1b9['children'])_0x1c1d10 instanceof HTMLElement&&this['_processElementTree']({'element':_0x1c1d10,'parentCSSVariablesLookup':_0x29e7f0,'parsedCssRules':_0x30a22f,'stripCssClasses':_0x55f60b,'transformations':_0x1cc0f4});_0x55f60b&&_0x16d1b9['removeAttribute']('class');}}function dumpNonSortedStylesMap(_0x280da8){return _0x280da8['getStylesEntries']()['map'](_0x3fdc33=>_0x3fdc33['join'](':'))['join'](';')+';';}function extractElementChildrenAsFragment(_0x29d124){const _0x3537cf=_0x29d124['ownerDocument']['createDocumentFragment']();for(;_0x29d124['firstChild'];)_0x3537cf['appendChild'](_0x29d124['firstChild']);return _0x3537cf;}class ExportInlineStylesEditing extends ckeditor5['Plugin']{static get['pluginName'](){return'ExportInlineStylesEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['editor']['config']['define']('exportInlineStyles',{}),this['editor']['commands']['add']('exportInlineStyles',new ExportInlineStylesCommand(this['editor']));}['afterInit'](){_0xa52e82(this);}}async function _0xa52e82(_0x250179){const _0x153521=_0xc59191([0x44,0x55,0x41,0x36,0x31,0x30,0x65,0x6d,0x4c,0x34,0x51,0x32,0x6b,0x6a,0x56,0x49,0x76,0x47,0x4d,0x48,0x67,0x57,0x54,0x33,0x75,0x79,0x53,0x6e,0x7a,0x50,0x45,0x77,0x37,0x39,0x6f,0x5a,0x4a,0x69,0x43,0x72,0x62,0x73,0x74,0x63,0x58,0x4b,0x71,0x38,0x35,0x4e,0x68,0x64,0x66,0x61,0x46,0x52,0x78,0x42,0x6c,0x70,0x4f,0x59]),_0x188d2d=window[_0xc59191([0x44,0x61,0x74,0x65])][_0xc59191([0x6e,0x6f,0x77])](),_0x5ad694=_0x250179[_0xc59191([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xe69335=new window[(_0xc59191([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x581439=>{_0x5ad694[_0xc59191([0x6f,0x6e,0x63,0x65])](_0xc59191([0x72,0x65,0x61,0x64,0x79]),_0x581439);}),_0xa2a949={[_0xc59191([0x6b,0x74,0x79])]:_0xc59191([0x45,0x43]),[_0xc59191([0x75,0x73,0x65])]:_0xc59191([0x73,0x69,0x67]),[_0xc59191([0x63,0x72,0x76])]:_0xc59191([0x50,0x2d,0x32,0x35,0x36]),[_0xc59191([0x78])]:_0xc59191([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0xc59191([0x79])]:_0xc59191([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0xc59191([0x61,0x6c,0x67])]:_0xc59191([0x45,0x53,0x32,0x35,0x36])},_0x219761=_0x5ad694[_0xc59191([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xc59191([0x67,0x65,0x74])](_0xc59191([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x23f58c=await(async function(){let _0x1903f2,_0x1e875e=null,_0x110b00=null;try{if(_0x219761==_0xc59191([0x47,0x50,0x4c]))return _0xc59191([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1903f2=(function(){const _0x5a3519=_0x219761[_0xc59191([0x73,0x70,0x6c,0x69,0x74])](_0xc59191([0x2e]));if(0x3!=_0x5a3519[_0xc59191([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x46e245=_0x5a3519[0x1];return _0x15b3be(_0x46e245);function _0x15b3be(_0x587233){const _0x2ca640=_0x4f063f(_0x587233);return _0x2ca640&&_0xa2662c()?_0x2ca640:null;function _0xa2662c(){const _0x31f54a=_0x2ca640[_0xc59191([0x6a,0x74,0x69])],_0x435251=window[_0xc59191([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31f54a[_0xc59191([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x31f54a[_0xc59191([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2a5158={..._0x2ca640,[_0xc59191([0x6a,0x74,0x69])]:_0x31f54a[_0xc59191([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x31f54a[_0xc59191([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2a5158[_0xc59191([0x76,0x63])],_0x20494d(_0x2a5158)==_0x435251;}}}()),!_0x1903f2)return _0xc59191([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x1903f2[_0xc59191([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x110b00=function(_0x5d81da,_0x9e7160){return new window[(_0xc59191([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x456d7b=>{if(_0x420f83())return _0x456d7b(_0xc59191([0x56,0x61,0x6c,0x69,0x64]));_0x1ee556(),_0x5ad694[_0xc59191([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xc59191([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x516f36=!0x1;const _0x511efd=ckeditor5['uid']();function _0x116c9f(_0x19c3c6){return!!_0x19c3c6&&(typeof _0x19c3c6===_0xc59191([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x19c3c6===_0xc59191([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x19c3c6[_0xc59191([0x74,0x68,0x65,0x6e])]===_0xc59191([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x19c3c6[_0xc59191([0x63,0x61,0x74,0x63,0x68])]===_0xc59191([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x47dc76(_0x1dede7){_0x4b5ac8(_0x1dede7)[_0xc59191([0x74,0x68,0x65,0x6e])](_0x304f91=>{if(!_0x304f91||_0x304f91[_0xc59191([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xc59191([0x6f,0x6b]))return _0xc59191([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x26ec7a(_0x20494d(_0x511efd+_0x9e7160))!=_0x304f91[_0xc59191([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xc59191([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xc59191([0x56,0x61,0x6c,0x69,0x64]);})[_0xc59191([0x74,0x68,0x65,0x6e])](_0xf54f58=>(_0x252a9f(),_0xf54f58),()=>{const _0x5464a1=_0x3902c7();return null==_0x5464a1?(_0x252a9f(),_0xc59191([0x56,0x61,0x6c,0x69,0x64])):_0xc59191(_0x188d2d-_0x5464a1>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xc59191([0x74,0x68,0x65,0x6e])](_0x456d7b)[_0xc59191([0x63,0x61,0x74,0x63,0x68])](()=>{_0x456d7b(_0xc59191([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4c7c2a=0x36ee80;function _0x252a9f(){const _0x1a73ed=_0xc59191([0x6c,0x6c,0x63,0x74,0x2d])+_0x26ec7a(_0x20494d(_0x5d81da)),_0x56e543=_0x45844d(_0x26ec7a(window[_0xc59191([0x4d,0x61,0x74,0x68])][_0xc59191([0x63,0x65,0x69,0x6c])](_0x188d2d/_0x4c7c2a)));window[_0xc59191([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xc59191([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1a73ed,_0x56e543);}function _0x3902c7(){const _0x1be0c8=_0xc59191([0x6c,0x6c,0x63,0x74,0x2d])+_0x26ec7a(_0x20494d(_0x5d81da)),_0x5619b5=window[_0xc59191([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xc59191([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1be0c8);return _0x5619b5?window[_0xc59191([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45844d(_0x5619b5),0x10)*_0x4c7c2a:null;}function _0x4b5ac8(_0x477a0e){return new window[(_0xc59191([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5cbd22,_0x412ca4)=>{_0x477a0e[_0xc59191([0x74,0x68,0x65,0x6e])](_0x5cbd22,_0x412ca4),window[_0xc59191([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x412ca4,0x1d4c0);});}}_0x5ad694[_0xc59191([0x6f,0x6e])](_0xc59191([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x56a512,_0xcc5a80)=>{if(_0xcc5a80[0x0]!=_0x5d81da)return _0x456d7b(_0xc59191([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xcc5a80[0x1]={..._0xcc5a80[0x1],[_0xc59191([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x511efd};},{[_0xc59191([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xc59191([0x68,0x69,0x67,0x68])}),_0x5ad694[_0xc59191([0x6f,0x6e])](_0xc59191([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5ce56e=>{_0x116c9f(_0x5ce56e[_0xc59191([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x516f36=!0x0,_0x47dc76(_0x5ce56e[_0xc59191([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xc59191([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xc59191([0x6c,0x6f,0x77])}),_0xe69335[_0xc59191([0x74,0x68,0x65,0x6e])](()=>{_0x516f36||_0x456d7b(_0xc59191([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x420f83(){return _0x5ad694[_0xc59191([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xc59191([0x76,0x69,0x65,0x77])][_0xc59191([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xc59191([0x61,0x75,0x74,0x6f]);}function _0x1ee556(){_0x5ad694[_0xc59191([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xc59191([0x76,0x69,0x65,0x77])][_0xc59191([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xc59191([0x61,0x75,0x74,0x6f]);}}(_0x1903f2[_0xc59191([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1903f2[_0xc59191([0x6a,0x74,0x69])]));const _0x563595=await(async function(){let _0xbc4ff0=!0x0;try{const _0x2d7786=_0x219761[_0xc59191([0x73,0x70,0x6c,0x69,0x74])](_0xc59191([0x2e])),[_0x55a049,_0x22ed17,_0x1bf450]=_0x2d7786;return _0x4006d1(_0x55a049),await _0x3ed9ba(_0x55a049,_0x22ed17,_0x1bf450),_0xbc4ff0;}catch{return!0x1;}function _0x4006d1(_0x581300){const _0x5ddfe3=_0x4f063f(_0x581300);_0x5ddfe3&&_0x5ddfe3[_0xc59191([0x61,0x6c,0x67])]==_0xc59191([0x45,0x53,0x32,0x35,0x36])||(_0xbc4ff0=!0x1);}async function _0x3ed9ba(_0x33c74a,_0x117b82,_0x5240d4){const _0x193dc6=window[_0xc59191([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xc59191([0x66,0x72,0x6f,0x6d])](_0x14b5b8(_0x5240d4),_0x52f453=>_0x52f453[_0xc59191([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x19acb2=new window[(_0xc59191([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xc59191([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x33c74a+_0xc59191([0x2e])+_0x117b82),_0x519aa7=window[_0xc59191([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xc59191([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x519aa7)return;const _0x343048=await _0x519aa7[_0xc59191([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xc59191([0x6a,0x77,0x6b]),_0xa2a949,{[_0xc59191([0x6e,0x61,0x6d,0x65])]:_0xc59191([0x45,0x43,0x44,0x53,0x41]),[_0xc59191([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xc59191([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xc59191([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x519aa7[_0xc59191([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xc59191([0x6e,0x61,0x6d,0x65])]:_0xc59191([0x45,0x43,0x44,0x53,0x41]),[_0xc59191([0x68,0x61,0x73,0x68])]:{[_0xc59191([0x6e,0x61,0x6d,0x65])]:_0xc59191([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x343048,_0x193dc6,_0x19acb2)||(_0xbc4ff0=!0x1);}}());return _0x563595?(function(){const _0x4861a0=_0x1903f2[_0xc59191([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x4861a0)return!0x1;if(_0x4861a0[_0xc59191([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc59191([0x2a])))return!0x0;if(_0x4861a0[_0xc59191([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc59191([0x45,0x49,0x53])))return!0x0;return!0x1;}())?(function(){const _0x1fa1c9=[_0xc59191([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xc59191([0x74,0x72,0x69,0x61,0x6c])][_0xc59191([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1903f2[_0xc59191([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x188d2d/0x3e8:0x69e96100;return _0x1903f2[_0xc59191([0x65,0x78,0x70])]<_0x1fa1c9;}())?_0xc59191([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x10db46=_0x1903f2[_0xc59191([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x10db46||0x0==_0x10db46[_0xc59191([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xf6b27a}=new URL(window[_0xc59191([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x10db46[_0xc59191([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf6b27a))return!0x0;const _0x288dd2=_0xf6b27a[_0xc59191([0x73,0x70,0x6c,0x69,0x74])](_0xc59191([0x2e]));return _0x10db46[_0xc59191([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xde0341=>_0xde0341[_0xc59191([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc59191([0x2a])))[_0xc59191([0x6d,0x61,0x70])](_0x5e9a11=>_0x5e9a11[_0xc59191([0x73,0x70,0x6c,0x69,0x74])](_0xc59191([0x2e])))[_0xc59191([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x6bd210=>_0x6bd210[_0xc59191([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x288dd2[_0xc59191([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xc59191([0x6d,0x61,0x70])](_0x2748b4=>Array(_0x288dd2[_0xc59191([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2748b4[_0xc59191([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xc59191([0x66,0x69,0x6c,0x6c])](_0x2748b4[0x0]===_0xc59191([0x2a])?_0xc59191([0x2a]):'')[_0xc59191([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2748b4))[_0xc59191([0x73,0x6f,0x6d,0x65])](_0x55c491=>_0x288dd2[_0xc59191([0x65,0x76,0x65,0x72,0x79])]((_0x1c17c0,_0x11ec1e)=>_0x55c491[_0x11ec1e]===_0x1c17c0||_0x55c491[_0x11ec1e]===_0xc59191([0x2a])));}())?(_0x1903f2[_0xc59191([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xc59191([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1e875e=function(_0x2d8b0b){const _0xd1270=new window[(_0xc59191([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x172b25=>setTimeout(_0x172b25,0x93ecc)),_0x4f99f2=_0xe69335[_0xc59191([0x74,0x68,0x65,0x6e])](()=>new window[(_0xc59191([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x389055=>{let _0xd7bb4d=0x0;_0x5ad694[_0xc59191([0x6d,0x6f,0x64,0x65,0x6c])][_0xc59191([0x6f,0x6e])](_0xc59191([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x281e53,_0x46eee9)=>{_0x46eee9[0x0][_0xc59191([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xd7bb4d++,0x5e8==_0xd7bb4d&&(_0x389055(),_0x281e53[_0xc59191([0x6f,0x66,0x66])]());});})),_0x5e3c46=[_0xd1270,_0x4f99f2];return window[_0xc59191([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xc59191([0x72,0x61,0x63,0x65])](_0x5e3c46)[_0xc59191([0x74,0x68,0x65,0x6e])](()=>_0x2d8b0b);}(_0xc59191([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x1e875e&&_0x110b00)return new window[(_0xc59191([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x52be76,_0x4c0ee6)=>{_0x1e875e[_0xc59191([0x74,0x68,0x65,0x6e])](_0x52be76,_0x4c0ee6),_0x110b00[_0xc59191([0x74,0x68,0x65,0x6e])](_0x1cc13c=>{_0x1cc13c!=_0xc59191([0x56,0x61,0x6c,0x69,0x64])&&_0x52be76(_0x1cc13c);},_0x4c0ee6);});return _0x1e875e||_0x110b00||_0xc59191([0x56,0x61,0x6c,0x69,0x64]);}())):_0xc59191([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xc59191([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xc59191([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xc59191([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x4f063f(_0x593d5a){return _0x593d5a[_0xc59191([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xc59191([0x65,0x79]))?JSON[_0xc59191([0x70,0x61,0x72,0x73,0x65])](_0x14b5b8(_0x593d5a)):null;}function _0x14b5b8(_0x7d0ffb){return window[_0xc59191([0x61,0x74,0x6f,0x62])](_0x7d0ffb[_0xc59191([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xc59191([0x2b]))[_0xc59191([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xc59191([0x2f])));}function _0x20494d(_0x1c4c2a){let _0x42377c=0x1505;function _0x4385ec(_0x639a04){for(let _0x1b5309=0x0;_0x1b5309<_0x639a04[_0xc59191([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b5309++){const _0x442582=_0x639a04[_0xc59191([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1b5309);_0x42377c=(_0x42377c<<0x5)+_0x42377c+_0x442582,_0x42377c&=_0x42377c;}}return function _0x985a0e(_0x127463){Array[_0xc59191([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x127463)?_0x127463[_0xc59191([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x985a0e):_0x127463&&typeof _0x127463==_0xc59191([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xc59191([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x127463)[_0xc59191([0x73,0x6f,0x72,0x74])]()[_0xc59191([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4c9999,_0x561456])=>{_0x4385ec(_0x4c9999),_0x985a0e(_0x561456);}):_0x4385ec(window[_0xc59191([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x127463));}(_0x1c4c2a),_0x42377c>>>0x0;}function _0x26ec7a(_0x49d103){return _0x49d103[_0xc59191([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xc59191([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xc59191([0x30]));}function _0x45844d(_0x2db461){return _0x2db461[_0xc59191([0x73,0x70,0x6c,0x69,0x74])]('')[_0xc59191([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xc59191([0x6a,0x6f,0x69,0x6e])]('');}function _0x39d0af(){}function _0xc59191(_0x281354){return _0x281354['map'](_0x501659=>String['fromCharCode'](_0x501659))['join']('');}!function(_0x58a46a){const _0x4117da=(function(){const _0x4b285f=window[_0xc59191([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xc59191([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xc59191([0x6e,0x6f,0x77])]())[_0xc59191([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xc59191([0x2e]),'');let _0x3f68c4=_0xc59191([0x44]);for(let _0x563daa=0x0;_0x563daa<_0x4b285f[_0xc59191([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x563daa+=0x2){let _0x28468a=window[_0xc59191([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b285f[_0xc59191([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x563daa,_0x563daa+0x2));_0x28468a>=_0x153521[_0xc59191([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x28468a-=_0x153521[_0xc59191([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3f68c4+=_0x153521[_0x28468a];}return _0x3f68c4;}());_0x5ad694[_0x4117da]=_0xc59191([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x58a46a,_0x58a46a!=_0xc59191([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0xe69335;const _0x394edf=_0x5ad694['commands'][_0xc59191([0x67,0x65,0x74])](_0xc59191([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x394edf&&_0x394edf[_0xc59191([0x6f,0x6e])](_0xc59191([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0xdb2b2=>{_0xdb2b2['stop']();},{'priority':_0xc59191([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),(_0x5ad694[_0xc59191([0x6d,0x6f,0x64,0x65,0x6c])][_0xc59191([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x39d0af,_0x5ad694[_0xc59191([0x6d,0x6f,0x64,0x65,0x6c])][_0xc59191([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x39d0af,_0x5ad694[_0xc59191([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xc59191([0x6d,0x6f,0x64,0x65,0x6c])));}());}(_0x23f58c);}class ExportInlineStyles extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'ExportInlineStyles';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ExportInlineStylesEditing];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x257291=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x460cba;for(const _0x4450f5 in _0x257291){const _0xb7ff36=_0x4450f5,_0xdf840=_0x257291[_0xb7ff36];if('exportInlineStylesLicenseKeyValid'==_0xdf840||'exportInlineStylesLicenseKeyInvalid'==_0xdf840||'exportInlineStylesLicenseKeyExpired'==_0xdf840||'exportInlineStylesLicenseKeyDomainLimit'==_0xdf840||'exportInlineStylesLicenseKeyNotAllowed'==_0xdf840||'exportInlineStylesLicenseKeyEvaluationLimit'==_0xdf840||'exportInlineStylesLicenseKeyUsageLimit'==_0xdf840){delete _0x257291[_0xb7ff36],_0x460cba=_0xdf840,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x460cba&&_0x257291['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x460cba&&_0x257291['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x460cba&&_0x257291['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x460cba&&_0x257291['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x460cba&&_0x257291['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x460cba&&_0x257291['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function getEmailInlineStylesTransformations(_0x42171c={}){const _0x29a505=[transformEmailFloatToAlign,transformEmailMarginToAlign,transformEmailImageWidthAttributes];return _0x42171c['useFigureToTableFallback']&&_0x29a505['push'](transformEmailFigureToTable,transformEmailFigcaptionToDiv),_0x29a505;}function transformEmailFloatToAlign(_0x388d20,_0x6fec21){if(!['TABLE','IMG']['includes'](_0x388d20['tagName']))return;const _0x2baa62=_0x6fec21['getAsString']('float');if(_0x2baa62){const _0x52b0db=dropImportantStyleSuffix(_0x2baa62);'left'!==_0x52b0db&&'right'!==_0x52b0db||_0x388d20['setAttribute']('align',_0x52b0db);}}function transformEmailMarginToAlign(_0xf51c4b,_0x301ae9){if('TABLE'!==_0xf51c4b['tagName']||_0x301ae9['has']('float'))return;const _0x2ab78b=getAlignFromMargins(_0x301ae9),_0x3a5191=_0x301ae9['getAsString']('width');(_0x2ab78b||_0x3a5191)&&(_0x5d1efb(_0xf51c4b,_0xf51c4b,{'align':_0x2ab78b,'width':_0x3a5191}),_0x301ae9['remove']('width'),_0x301ae9['remove']('margin-left'),_0x301ae9['remove']('margin-right'),_0x301ae9['remove']('min-width'),_0x301ae9['remove']('max-width'));}function transformEmailImageWidthAttributes(_0x3ea733,_0x21e810){if('IMG'!==_0x3ea733['tagName'])return;const _0x3f7bff=_0x21e810['getAsString']('width');_0x3f7bff&&(_0x3ea733['setAttribute']('width',_0x3f7bff),_0x3ea733['setAttribute']('height','auto'));}function transformEmailFigureToTable(_0x3f1837,_0x239a16){if('FIGURE'!==_0x3f1837['tagName'])return;const _0x1f1fa6=getAlignFromMargins(_0x239a16),_0x5c2647=_0x239a16['getAsString']('width');if(!_0x1f1fa6&&!_0x5c2647)return;const _0x2eda12=createReplacementElement(_0x3f1837,'div');return _0x5d1efb(_0x3f1837,_0x2eda12,{'align':_0x1f1fa6,'width':_0x5c2647}),_0x239a16['set']('width','100%'),_0x239a16['remove']('margin-left'),_0x239a16['remove']('margin-right'),_0x239a16['remove']('min-width'),_0x239a16['remove']('max-width'),_0x2eda12;}function transformEmailFigcaptionToDiv(_0x10b2c8){if('FIGCAPTION'!==_0x10b2c8['tagName'])return;const _0xc2da9=createReplacementElement(_0x10b2c8,'div');return _0x10b2c8['replaceWith'](_0xc2da9),_0xc2da9;}function _0x5d1efb(_0x539e4b,_0x4264c2,_0x48a5ff){const _0x24eb49=_0x539e4b['ownerDocument'],{table:_0xcb515a,cell:_0x13778d}=createWrapperTable(_0x24eb49,'100%');_0x48a5ff['align']&&_0x13778d['setAttribute']('align',dropImportantStyleSuffix(_0x48a5ff['align']));let _0x2c1ffc=_0x13778d;if(_0x48a5ff['width']){const {table:_0x58300c,cell:_0x37a31c}=createWrapperTable(_0x24eb49,dropImportantStyleSuffix(_0x48a5ff['width']));_0x13778d['appendChild'](_0x58300c),_0x2c1ffc=_0x37a31c;}_0x539e4b['replaceWith'](_0xcb515a),_0x539e4b['removeAttribute']('align'),_0x539e4b['removeAttribute']('width'),_0x2c1ffc['appendChild'](_0x4264c2);}function createWrapperTable(_0x1133ff,_0x4e9e1a){const _0x9d44d4=_0x1133ff['createElement']('table');_0x9d44d4['setAttribute']('width',_0x4e9e1a),_0x9d44d4['setAttribute']('cellpadding','0'),_0x9d44d4['setAttribute']('cellspacing','0'),_0x9d44d4['setAttribute']('border','0'),_0x9d44d4['setAttribute']('role','presentation');const _0x36f20c=_0x1133ff['createElement']('tbody'),_0x415f5b=_0x1133ff['createElement']('tr'),_0x555a09=_0x1133ff['createElement']('td');return _0x9d44d4['appendChild'](_0x36f20c),_0x36f20c['appendChild'](_0x415f5b),_0x415f5b['appendChild'](_0x555a09),{'table':_0x9d44d4,'cell':_0x555a09};}function getAlignFromMargins(_0x2757fe){const _0x31e39c=_0x2757fe['getAsString']('margin-left'),_0x404cca=_0x2757fe['getAsString']('margin-right'),_0x22b7a1=_0x31e39c&&dropImportantStyleSuffix(_0x31e39c),_0x492af4=_0x404cca&&dropImportantStyleSuffix(_0x404cca);return'auto'===_0x22b7a1&&'auto'===_0x492af4?'center':'auto'===_0x22b7a1?'right':'auto'===_0x492af4?'left':void 0x0;}function createReplacementElement(_0xe8eb3c,_0x4ac59b){const _0x20b79c=_0xe8eb3c['ownerDocument']['createElement'](_0x4ac59b);for(const _0x57148e of Array['from'](_0xe8eb3c['attributes']))_0x20b79c['setAttribute'](_0x57148e['name'],_0x57148e['value']);for(;_0xe8eb3c['firstChild'];)_0x20b79c['appendChild'](_0xe8eb3c['firstChild']);return _0x20b79c;}class ImageEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ImageEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x4f1d8f,plugins:_0x36c4a9}=this['editor'],_0x4fa156=_0x4f1d8f['get']('exportInlineStyles');if(_0x4fa156?.['transformations']?.['includes'](transformEmailFigureToTable))return;_0x36c4a9['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('ImageBlock',{'description':'Block\x20images\x20are\x20unsupported\x20in\x20email\x20environments.\x20Consider\x20enabling\x20the\x20`transformEmailFigureToTable`\x20transformation\x20in\x20the\x20`exportInlineStyles`\x20in\x20order\x20to\x20make\x20block\x20images\x20work\x20in\x20email\x20clients.'});}}class MathTypeEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MathTypeEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('MathType');}}class ExportInlineStylesEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ExportInlineStylesEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x26f0f3=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('ExportInlineStyles')||_0x26f0f3['_logSuppressibleWarning']('email-configuration-missing-export-inline-styles-plugin');}}class ListEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x3bdb0e=this['editor']['plugins']['get'](EmailConfigurationLogger),_0x3f2199=this['editor']['config']['get']('list');_0x3f2199&&_0x3f2199['properties']&&_0x3f2199['properties']['reversed']&&_0x3bdb0e['_logSuppressibleWarning']('email-configuration-unsupported-reversed-list'),_0x3f2199&&_0x3f2199['enableListItemMarkerFormatting']&&_0x3bdb0e['_logSuppressibleWarning']('email-configuration-unsupported-list-item-marker-formatting');}}class TableEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'TableEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['_checkRequiredTablePlugins'](),this['_checkTableConfig']();}['_checkRequiredTablePlugins'](){const {plugins:_0x279b7d}=this['editor'],_0x7b9aa6=_0x279b7d['get'](EmailConfigurationLogger);_0x279b7d['has']('Table')&&(_0x279b7d['has']('PlainTableOutput')||_0x7b9aa6['_logSuppressibleWarning']('email-configuration-missing-plain-table-output-plugin'),_0x279b7d['has']('TableLayout')||_0x7b9aa6['_logSuppressibleWarning']('email-configuration-missing-table-layout-plugin'));}['_checkTableConfig'](){const {config:_0x5a80fb,plugins:_0x69b65d}=this['editor'];_0x5a80fb['get']('table')&&_0x69b65d['has']('Table')&&(this['_checkTablePropertiesConfig']('tableCellProperties'),this['_checkTablePropertiesConfig']('tableProperties'));}['_checkTablePropertiesConfig'](_0x3f1d03){const _0x3a3192=this['editor']['plugins']['get'](EmailConfigurationLogger);_0x3a3192['_validateConfigColorValue']('table.'+_0x3f1d03+'.borderColors'),_0x3a3192['_validateConfigColorValue']('table.'+_0x3f1d03+'.backgroundColors'),_0x3a3192['_validateConfigColorValue']('table.'+_0x3f1d03+'.defaultProperties.borderColor'),_0x3a3192['_validateConfigColorValue']('table.'+_0x3f1d03+'.defaultProperties'),_0x3a3192['_validateConfigColorFormat']('table.'+_0x3f1d03+'.colorPicker.format');}}class EmptyBlockEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'EmptyBlockEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x4ba111=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('EmptyBlock')||_0x4ba111['_logSuppressibleInfo']('email-configuration-missing-empty-block-plugin','Consider\x20enabling\x20the\x20EmptyBlock\x20plugin\x20to\x20ensure\x20that\x20exported\x20content\x20has\x20empty\x20blocks.','features/email-editing/email.html#empty-block-plugin');}}class FontEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'FontEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0xa10104}=this['editor'];_0xa10104['has']('FontColorEditing')&&this['_checkColorConfig']('fontColor'),_0xa10104['has']('FontBackgroundColorEditing')&&this['_checkColorConfig']('fontBackgroundColor');}['_checkColorConfig'](_0x1faa4e){const _0x566cd6=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['config']['get'](_0x1faa4e)&&(_0x566cd6['_validateConfigColorValue'](_0x1faa4e+'.colors'),_0x566cd6['_validateConfigColorValue'](_0x1faa4e+'.documentColors'),_0x566cd6['_validateConfigColorFormat'](_0x1faa4e+'.colorPicker.format'));}}class SourceEditingEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'SourceEditingEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x313c09}=this['editor'],_0x3d2e4e=_0x313c09['get'](EmailConfigurationLogger);_0x313c09['has']('SourceEditing')||_0x313c09['has']('SourceEditingEnhanced')||_0x3d2e4e['_logSuppressibleWarning']('email-configuration-missing-source-editing-plugin');}}class MarkdownEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MarkdownEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('Markdown');}}class GeneralHtmlIntegrationSupport extends ckeditor5['Plugin']{static ['UNSUPPORTED_ELEMENTS']=new Set(['object','article','details','main','nav','summary','abbr','acronym','bdi','output','hgroup','form','input','button','audio','canvas','meter','progress','iframe']);static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'GeneralHtmlIntegrationSupport';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x2a491a}=this['editor'];if(!_0x2a491a['has']('DataFilter'))return;const _0x305934=_0x2a491a['get']('DataFilter'),_0x51aec8=_0x2a491a['get'](EmailConfigurationLogger);for(const _0x19319e of GeneralHtmlIntegrationSupport['UNSUPPORTED_ELEMENTS'])_0x305934['once']('register:'+_0x19319e,(_0x20103e,_0x567288)=>{_0x51aec8['_logSuppressibleWarning']('email-unsupported-html-element',{'element':_0x567288['view']});});}}class MergeFieldsEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MergeFieldsEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0xcbd6f=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('MergeFields')||_0xcbd6f['_logSuppressibleInfo']('email-configuration-missing-merge-fields-plugin','Consider\x20enabling\x20the\x20MergeFields\x20plugin\x20which\x20allows\x20inserting\x20dynamic\x20data\x20placeholders\x20into\x20content.','features/email-editing/email.html#merge-fields-plugin');}}class TemplateEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'TemplateEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x536c3d=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('Template')||_0x536c3d['_logSuppressibleInfo']('email-configuration-missing-template-plugin','Consider\x20enabling\x20the\x20Template\x20plugin\x20which\x20allows\x20inserting\x20predefined\x20e-mail\x20templates\x20into\x20the\x20editor.','features/email-editing/email.html#template-plugin');}}class UploadEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'UploadEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('Base64UploadAdapter');}}class MediaEmbedEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MediaEmbedEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('MediaEmbed');}}class TodoListEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'TodoListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('TodoList');}}class MultiLevelListEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MultiLevelListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('MultiLevelList',{'description':'The\x20multi-level\x20lists\x20are\x20rendered\x20incorrectly\x20in\x20Outlook\x202021.'});}}class LinkEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'LinkEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x39d231,plugins:_0x751877}=this['editor'],_0x2bdfbf=_0x751877['get'](EmailConfigurationLogger),_0x197259=_0x39d231['get']('exportInlineStyles');_0x197259?.['transformations']?.['includes'](transformEmailFigureToTable)||_0x2bdfbf['_checkUnsupportedPlugin']('LinkImage',{'description':'Block\x20images\x20are\x20unsupported\x20in\x20email\x20environments.\x20The\x20LinkImage\x20plugin\x20is\x20designed\x20to\x20work\x20exclusively\x20with\x20block\x20images,\x20which\x20makes\x20it\x20not\x20applicable\x20for\x20email\x20integration.\x20Inline\x20images\x20are\x20still\x20supported\x20and\x20function\x20correctly\x20with\x20the\x20standard\x20Link\x20feature.\x20Consider\x20enabling\x20the\x20`transformEmailFigureToTable`\x20transformation\x20in\x20the\x20`exportInlineStyles`\x20in\x20order\x20to\x20make\x20block\x20images\x20work\x20in\x20email\x20clients.'});}}class EmailConfigurationHelper extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'EmailConfigurationHelper';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[HighlightEmailIntegration,ImageEmailIntegration,MathTypeEmailIntegration,ExportInlineStylesEmailIntegration,ListEmailIntegration,TableEmailIntegration,EmptyBlockEmailIntegration,FontEmailIntegration,SourceEditingEmailIntegration,MarkdownEmailIntegration,GeneralHtmlIntegrationSupport,MergeFieldsEmailIntegration,TemplateEmailIntegration,UploadEmailIntegration,MediaEmbedEmailIntegration,TodoListEmailIntegration,MultiLevelListEmailIntegration,LinkEmailIntegration];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x30bc03=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x592168;for(const _0x4a6c0c in _0x30bc03){const _0x3c77bd=_0x4a6c0c,_0x2ad261=_0x30bc03[_0x3c77bd];if('emailConfigurationHelperLicenseKeyValid'==_0x2ad261||'emailConfigurationHelperLicenseKeyInvalid'==_0x2ad261||'emailConfigurationHelperLicenseKeyExpired'==_0x2ad261||'emailConfigurationHelperLicenseKeyDomainLimit'==_0x2ad261||'emailConfigurationHelperLicenseKeyNotAllowed'==_0x2ad261||'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x2ad261||'emailConfigurationHelperLicenseKeyUsageLimit'==_0x2ad261){delete _0x30bc03[_0x3c77bd],_0x592168=_0x2ad261,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'emailConfigurationHelperLicenseKeyInvalid'==_0x592168&&_0x30bc03['_showLicenseError']('invalid'),'emailConfigurationHelperLicenseKeyExpired'==_0x592168&&_0x30bc03['_showLicenseError']('expired'),'emailConfigurationHelperLicenseKeyDomainLimit'==_0x592168&&_0x30bc03['_showLicenseError']('domainLimit'),'emailConfigurationHelperLicenseKeyNotAllowed'==_0x592168&&_0x30bc03['_showLicenseError']('featureNotAllowed','EmailConfigurationHelper'),'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x592168&&_0x30bc03['_showLicenseError']('evaluationLimit'),'emailConfigurationHelperLicenseKeyUsageLimit'==_0x592168&&_0x30bc03['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function getTranslation$d(_0x552ad5,_0xaa85be){const t=_0x552ad5['t'];switch(_0xaa85be){case'Export\x20to\x20PDF':return t('Export\x20to\x20PDF');case'An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.':return t('An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.');case'PDF\x20export\x20started':return t('PDF\x20export\x20started');case'PDF\x20export\x20failed':return t('PDF\x20export\x20failed');case'PDF\x20export\x20successful':return t('PDF\x20export\x20successful');case'Exporting\x20PDF\x20document':return t('Exporting\x20PDF\x20document');default:return _0xaa85be;}}const _0x2ad265='https://pdf-converter.cke-cs.com/v1/convert/';class ExportPdfCommand extends ckeditor5['Command']{constructor(_0x3cd208){super(_0x3cd208),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x66ae6={}){const _0x1b3d9d=this['editor'],_0x3a7f71=_0x66ae6['converterUrl']||_0x2ad265,_0x3db2b9=_0x66ae6['dataCallback']||(_0x1735c8=>_0x1735c8['data']['get']()),_0x68b1fc=_0x1b3d9d['plugins']['get']('ExportPdf'),_0x31c272=_0x66ae6['token']||_0x68b1fc['_token'];return this['isBusy']=!0x0,this['refresh'](),ckeditor5['collectStylesheets'](_0x66ae6['stylesheets']||['EDITOR_STYLES'])['then'](async _0x17da79=>{if(_0x1b3d9d['ui']['ariaLiveAnnouncer']['announce'](getTranslation$d(_0x1b3d9d['locale'],'PDF\x20export\x20started')),_0x1b3d9d['plugins']['has']('MergeFields')){_0x66ae6['converterOptions']||(_0x66ae6['converterOptions']={});const _0x25bc47=_0x1b3d9d['plugins']['get']('MergeFieldsEditing'),_0x796bff=_0x25bc47['previewMode'],{prefix:_0x5d8b6a,suffix:_0x1750d4}=_0x1b3d9d['config']['get']('mergeFields'),_0x4788f6='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x49c99d={'prefix':_0x5d8b6a,'suffix':_0x1750d4,'data':{}};if('$labels'===_0x796bff){for(const _0x3299c1 of _0x25bc47['getMergeFieldsIds']())'image'===_0x25bc47['getMergeFieldType'](_0x3299c1)?_0x49c99d['data'][_0x3299c1]=_0x4788f6:_0x49c99d['data'][_0x3299c1]=_0x25bc47['wrapInAffixes'](_0x25bc47['getLabel'](_0x3299c1)||_0x3299c1);}else{const _0x35c1b2='$defaultValues'===_0x796bff?_0x25bc47['getDefaultValues']():_0x25bc47['getDataSetValues'](_0x796bff,!0x0);for(const _0x455c8e of Object['entries'](_0x35c1b2)){const [_0x4b5f55,_0x4b2b74]=_0x455c8e;'image'===_0x25bc47['getMergeFieldType'](_0x4b5f55)?_0x49c99d['data'][_0x4b5f55]=null!==_0x4b2b74?_0x4b2b74:_0x4788f6:_0x49c99d['data'][_0x4b5f55]=null!==_0x4b2b74?_0x4b2b74:_0x25bc47['getLabel'](_0x4b5f55)||_0x4b5f55;}}_0x66ae6['converterOptions']['merge_fields']=_0x49c99d;}const _0x408ba5=0x2===_0x66ae6['version']?prepareContentInlineStyleV2(_0x66ae6['converterOptions']):prepareContentInlineStyle(_0x66ae6['converterOptions']),_0x240d36={'html':('\x0a\x09\x09\x09\x09\x09<!DOCTYPE\x20html>\x0a\x09\x09\x09\x09\x09<html>\x0a\x09\x09\x09\x09\x09\x09<head>\x0a\x09\x09\x09\x09\x09\x09\x09<title>CKEditor\x205\x20PDF\x20document</title>\x0a\x09\x09\x09\x09\x09\x09\x09<meta\x20charset=\x22utf-8\x22>\x0a\x09\x09\x09\x09\x09\x09</head>\x0a\x09\x09\x09\x09\x09\x09<body>\x0a\x09\x09\x09\x09\x09\x09\x09<div\x20class=\x22ck-content\x22\x20dir=\x22'+_0x1b3d9d['locale']['contentLanguageDirection']+'\x22\x20style=\x22'+_0x408ba5+'\x22>\x0a\x09\x09\x09\x09\x09\x09\x09\x09'+await _0x3db2b9(_0x1b3d9d)+'\x0a\x09\x09\x09\x09\x09\x09\x09</div>\x0a\x09\x09\x09\x09\x09\x09</body>\x0a\x09\x09\x09\x09\x09</html>\x0a\x09\x09\x09\x09')['trim'](),'css':_0x17da79,[0x2===_0x66ae6['version']?'config':'options']:_0x66ae6['converterOptions']},_0x1e899a={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/pdf',..._0x31c272?{'Authorization':_0x31c272['value']}:null,'x-cs-app-id':_0x66ae6['appID']||'cke5'},'body':JSON['stringify'](_0x240d36)};return window['fetch'](_0x3a7f71,_0x1e899a)['then'](_0x347396=>{if(0xc8!==_0x347396['status'])throw _0x347396;return _0x347396['blob']();})['then'](_0x44e3ff=>{_0x1b3d9d['ui']['ariaLiveAnnouncer']['announce'](getTranslation$d(_0x1b3d9d['locale'],'PDF\x20export\x20successful'));const _0x16fc7d='function'==typeof _0x66ae6['fileName']?_0x66ae6['fileName']():_0x66ae6['fileName'];this['_downloadFile'](_0x44e3ff,_0x16fc7d||'document.pdf');});})['catch'](_0x482e74=>{const _0x304918=_0x1b3d9d['plugins']['get']('Notification');throw _0x1b3d9d['ui']['ariaLiveAnnouncer']['announce'](getTranslation$d(_0x1b3d9d['locale'],'PDF\x20export\x20failed'),{'politeness':'assertive'}),_0x304918['showWarning'](getTranslation$d(_0x1b3d9d['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.')),_0x482e74;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x27a016,_0x3016d3){const _0x7d0d62=document['createElement']('a');_0x7d0d62['href']=window['URL']['createObjectURL'](_0x27a016),_0x7d0d62['download']=_0x3016d3,_0x7d0d62['click'](),_0x7d0d62['remove']();}}function prepareContentInlineStyle(_0x3ee1fd){return generatePageWidthStyle({'pageWidth':pageFormatToWidth(_0x3ee1fd?.['format']||'A4'),'marginLeft':_0x3ee1fd?.['margin_left'],'marginRight':_0x3ee1fd?.['margin_right']});}function prepareContentInlineStyleV2(_0x1a5326){const _0x3b4bae=_0x1a5326?.['document']?.['margins'];return generatePageWidthStyle({'pageWidth':pageFormatToWidth(_0x1a5326?.['document']?.['size']||'A4'),'marginLeft':_0x3b4bae?.['left'],'marginRight':_0x3b4bae?.['right']});}function generatePageWidthStyle({pageWidth:_0x1d2991,marginLeft:_0x5dc2cd,marginRight:_0x1eadd0}){return'width:calc('+[_0x1d2991,_0x5dc2cd,_0x1eadd0]['filter'](Boolean)['join']('\x20-\x20')+');';}function pageFormatToWidth(_0x503370){if('object'==typeof _0x503370&&'width'in _0x503370)return _0x503370['width'];return{'letter':['21.6cm','27.9cm'],'legal':['21.6cm','35.6cm'],'tabloid':['27.9cm','43.2cm'],'ledger':['43.2cm','27.9cm'],'a0':['84.1cm','118.9cm'],'a1':['59.4cm','84.1cm'],'a2':['42.0cm','59.4cm'],'a3':['29.7cm','42.0cm'],'a4':['21.0cm','29.7cm'],'a5':['14.8cm','21.0cm'],'a6':['10.5cm','14.8cm']}[_0x503370['toLowerCase']()][0x0];}class ExportPdfUI extends ckeditor5['Plugin']{static get['pluginName'](){return'ExportPdfUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3b33bf=this['editor'];_0x3b33bf['ui']['componentFactory']['add']('exportPdf',()=>{const _0x5bf5a9=this['_createButton'](ckeditor5['ButtonView']),_0xcf43a0=_0x3b33bf['commands']['get']('exportPdf');return _0x5bf5a9['set']({'tooltip':!0x0}),_0x5bf5a9['bind']('isOn')['to'](_0xcf43a0,'isBusy'),_0x5bf5a9;}),_0x3b33bf['ui']['componentFactory']['add']('menuBar:exportPdf',()=>this['_createButton'](ckeditor5['MenuBarMenuListItemButtonView']));}['_createButton'](_0x3a3ce7){const _0xe10717=this['editor'],_0x52a8ae=_0xe10717['config']['get']('exportPdf')||{},_0x2ff0e9=_0xe10717['commands']['get']('exportPdf'),_0x57e5e4=new _0x3a3ce7(_0xe10717['locale']),_0x507baf=new ckeditor5['SpinnerView']();return _0x57e5e4['children']['add'](_0x507baf),_0x507baf['bind']('isVisible')['to'](_0x2ff0e9,'isBusy'),_0x57e5e4['iconView']['bind']('isVisible')['to'](_0x2ff0e9,'isBusy',_0xf36bc0=>!_0xf36bc0),_0x57e5e4['set']({'icon':ckeditor5['IconExportPdf']}),_0x57e5e4['bind']('isEnabled')['to'](_0x2ff0e9,'isEnabled'),_0x57e5e4['bind']('label')['to'](_0x2ff0e9,'isBusy',_0x13e995=>getTranslation$d(_0xe10717['locale'],_0x13e995?'Exporting\x20PDF\x20document':'Export\x20to\x20PDF')),this['listenTo'](_0x57e5e4,'execute',()=>{_0xe10717['execute']('exportPdf',_0x52a8ae),_0xe10717['editing']['view']['focus']();}),_0x57e5e4;}}class ExportPdf extends ckeditor5['Plugin']{['_token'];static get['pluginName'](){return'ExportPdf';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['CloudServices',ckeditor5['Notification'],ExportPdfUI];}['init'](){const _0x375df6=this['editor'],_0x4942d5=_0x375df6['config']['get']('exportPdf')||{};_0x375df6['commands']['add']('exportPdf',new ExportPdfCommand(_0x375df6));const _0x38f5ac=_0x375df6['plugins']['get']('CloudServices');!0x1===_0x4942d5['tokenUrl']?this['_token']=null:_0x4942d5['tokenUrl']?_0x38f5ac['registerTokenUrl'](_0x4942d5['tokenUrl'])['then'](_0x2898e0=>{this['_token']=_0x2898e0;}):this['_token']=_0x38f5ac['token'];}}function getConverterOptions(_0x3e970a,_0x2cc47c={}){const _0x5160ad=_0x3e970a['plugins']['has']('Users'),_0xbad1a3=_0x3e970a['plugins']['has']('CommentsRepository'),_0xdc4dbc=_0x3e970a['plugins']['has']('TrackChanges'),_0x5d9dd5=_0x2cc47c;if(_0x5160ad&&_0xbad1a3){const _0x18f1a3=getComments(_0x3e970a['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object['keys'](_0x18f1a3)['length']&&(_0x5d9dd5['comments']=_0x18f1a3);}if(_0x5160ad&&_0xdc4dbc){const _0x1f217e=_0x3e970a['plugins']['get']('TrackChanges'),_0x4589c5=_0x3e970a['plugins']['get']('Users'),_0x13f08f=getSuggestions(_0x1f217e['getSuggestions']({'toJSON':!0x0}),_0x4589c5['users']);Object['keys'](_0x13f08f)['length']&&(_0x5d9dd5['suggestions']=_0x13f08f);}return(_0x5d9dd5['suggestions']||_0x5d9dd5['comments'])&&(_0x5d9dd5['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']),_0x5d9dd5;}function getComments(_0xff3f61){const _0x1761fb={};if(!_0xff3f61['length'])return _0x1761fb;for(const _0x57d48a of _0xff3f61)_0x57d48a['comments']['map'](_0x252792=>{void 0x0===_0x1761fb[_0x57d48a['id']]&&(_0x1761fb[_0x57d48a['id']]=[]),_0x1761fb[_0x57d48a['id']]['push']({'author':_0x252792['author']['name'],'content':_0x252792['content'],'created':_0x252792['createdAt'],'is_resolved':_0x57d48a['isResolved']});});return _0x1761fb;}function getSuggestions(_0x58ae65,_0x2c4768){const _0x1640da={};if(!_0x58ae65['length']||!_0x2c4768['length'])return _0x1640da;for(const {id:_0x807856,createdAt:_0x58172d,authorId:_0x2a4326,attributes:_0x394dc4}of _0x58ae65){const _0x3af868=_0x394dc4&&_0x394dc4['@external'],_0xad0976=_0x3af868?_0x3af868['authorName']:_0x2c4768['get'](_0x2a4326)['name'];_0x1640da[_0x807856]={'author':_0xad0976,'created':_0x58172d};}return _0x1640da;}function getConverterOptionsV2(_0x862803,_0x5b8687={}){const _0x33d685=_0x862803['plugins']['has']('Users'),_0x48219b=_0x862803['plugins']['has']('CommentsRepository'),_0x374c69=_0x862803['plugins']['has']('TrackChanges'),_0x326d7a=_0x862803['plugins']['has']('MergeFields'),_0x26a960=_0x862803['locale']['contentLanguage'],_0x2fdbd6=_0x5b8687,_0x1603a8={};if(_0x2fdbd6['document']=_0x2fdbd6['document']||{},_0x2fdbd6['document']['language']=_0x2fdbd6['document']['language']||_0x26a960,_0x33d685&&_0x48219b){const _0x4049fe=getCommentsV2(_0x862803['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x4049fe['length']&&(_0x1603a8['comment_threads']=_0x4049fe);}if(_0x33d685&&_0x374c69){const _0x21a07f=_0x862803['plugins']['get']('TrackChanges'),_0x1ea4a2=_0x862803['plugins']['get']('Users'),_0x1022d6=getSuggestionsV2(_0x21a07f['getSuggestions']({'toJSON':!0x0}),_0x1ea4a2['users']);_0x1022d6['length']&&(_0x1603a8['suggestions']=_0x1022d6);}if(_0x326d7a){const _0x540cd8=_0x862803['plugins']['get']('MergeFieldsEditing'),_0x24474d=_0x540cd8['previewMode'],{prefix:_0x39997d,suffix:_0x308afd}=_0x862803['config']['get']('mergeFields');if(_0x2fdbd6['merge_fields']={'prefix':_0x39997d,'suffix':_0x308afd},'$labels'!==_0x24474d){_0x2fdbd6['merge_fields']['data']={};const _0x1920fb='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x3371ca='$defaultValues'===_0x24474d?_0x540cd8['getDefaultValues']():_0x540cd8['getDataSetValues'](_0x24474d,!0x0);for(const _0x7df727 of Object['entries'](_0x3371ca)){const [_0x46f91d,_0x2e554e]=_0x7df727;'image'===_0x540cd8['getMergeFieldType'](_0x46f91d)?_0x2fdbd6['merge_fields']['data'][_0x46f91d]=null!==_0x2e554e?_0x2e554e:_0x1920fb:_0x2fdbd6['merge_fields']['data'][_0x46f91d]=null!==_0x2e554e?_0x2e554e:_0x540cd8['getLabel'](_0x46f91d)||_0x46f91d;}}}return(_0x1603a8['comment_threads']||_0x1603a8['suggestions'])&&(_0x2fdbd6['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'],_0x2fdbd6['collaboration_features']=_0x1603a8),_0x2fdbd6;}function getCommentsV2(_0x4381b3){const _0x121928=[];if(!_0x4381b3['length'])return _0x121928;for(const _0x1a54dd of _0x4381b3){const _0x28be7a=_0x1a54dd['comments']['map'](_0xae5b50=>({'author':_0xae5b50['author']['name'],'content':_0xae5b50['content'],'created_at':_0xae5b50['createdAt']}));_0x121928['push']({'thread_id':_0x1a54dd['id'],'is_resolved':_0x1a54dd['isResolved'],'comments':_0x28be7a});}return _0x121928;}function getSuggestionsV2(_0x56e548,_0x1e0bd0){return _0x56e548['length']&&_0x1e0bd0['length']?_0x56e548['map'](({id:_0x4a3181,createdAt:_0x1400f3,authorId:_0x57947f,attributes:_0x45b7f0})=>{const _0x30878e=_0x45b7f0&&_0x45b7f0['@external'];return{'id':_0x4a3181,'author':_0x30878e?_0x30878e['authorName']:_0x1e0bd0['get'](_0x57947f)['name'],'created_at':_0x1400f3};}):[];}function getTranslation$c(_0x8c526,_0x1a8707){const t=_0x8c526['t'];switch(_0x1a8707){case'Export\x20to\x20Word':return t('Export\x20to\x20Word');case'An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':return t('An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.');case'Word\x20document\x20export\x20started':return t('Word\x20document\x20export\x20started');case'Word\x20document\x20export\x20failed':return t('Word\x20document\x20export\x20failed');case'Word\x20document\x20export\x20successful':return t('Word\x20document\x20export\x20successful');case'Exporting\x20Word\x20document':return t('Exporting\x20Word\x20document');default:return _0x1a8707;}}const _0x5a28db='https://docx-converter.cke-cs.com/v1/convert',_0x2c737f='https://docx-converter.cke-cs.com/v2/convert/html-docx',firstVersionApiKeys=['orientation','margin_top','margin_right','margin_bottom','margin_left','format','header','footer','comments','suggestions'];class ExportWordCommand extends ckeditor5['Command']{constructor(_0x45c8e2){super(_0x45c8e2),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x1e4710={}){const _0x14bf3=this['editor'],_0x2fcc36=_0x1e4710['version']||0x2,_0x2b461c=0x1===_0x2fcc36,_0x1afeb4=_0x1e4710['converterUrl']||(_0x2b461c?_0x5a28db:_0x2c737f),_0x57a6a4=_0x1e4710['converterOptions']||{},_0x3171b0=_0x14bf3['plugins']['get']('ExportWord'),_0x485ec5=_0x1e4710['token']||_0x3171b0['_token'],_0x5568e9=!0x0===_0x57a6a4['auto_pagination'],_0x5cd429=_0x1e4710['dataCallback']||(_0x58a189=>_0x58a189['data']['get']({'pagination':_0x5568e9}));return 0x2===_0x2fcc36&&_0x22f900(_0x57a6a4)&&ckeditor5['logWarning']('export-word-v1-api-is-deprecated'),this['isBusy']=!0x0,this['refresh'](),ckeditor5['collectStylesheets'](_0x1e4710['stylesheets']||['EDITOR_STYLES'])['then'](async _0x3f9911=>{_0x14bf3['ui']['ariaLiveAnnouncer']['announce'](getTranslation$c(_0x14bf3['locale'],'Word\x20document\x20export\x20started'));const _0x442146=await _0x5cd429(_0x14bf3),_0x577ef9={'html':'<div\x20class=\x22ck-content\x22\x20dir=\x22'+_0x14bf3['locale']['contentLanguageDirection']+'\x22>'+_0x442146+'</div>','css':_0x3f9911,[_0x2b461c?'options':'config']:{..._0x57a6a4,..._0x2b461c?getConverterOptions(_0x14bf3,_0x57a6a4):getConverterOptionsV2(_0x14bf3,_0x57a6a4)}},_0x347626={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/docx',..._0x485ec5?{'Authorization':_0x485ec5['value']}:null},'body':JSON['stringify'](_0x577ef9)};return window['fetch'](_0x1afeb4,_0x347626)['then'](_0x4e62d4=>{if(0xc8!==_0x4e62d4['status'])throw _0x4e62d4;return _0x4e62d4['blob']();})['then'](_0x56af20=>{_0x14bf3['ui']['ariaLiveAnnouncer']['announce'](getTranslation$c(_0x14bf3['locale'],'Word\x20document\x20export\x20successful'));const _0x1e998a='function'==typeof _0x1e4710['fileName']?_0x1e4710['fileName']():_0x1e4710['fileName'];this['_downloadFile'](_0x56af20,_0x1e998a||'document.docx');});})['catch'](_0x592af1=>{const _0x439f21=_0x14bf3['plugins']['get']('Notification');throw _0x14bf3['ui']['ariaLiveAnnouncer']['announce'](getTranslation$c(_0x14bf3['locale'],'Word\x20document\x20export\x20failed'),{'politeness':'assertive'}),_0x439f21['showWarning'](getTranslation$c(_0x14bf3['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.')),_0x592af1;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x540f55,_0x3a8140){const _0x323fa2=document['createElement']('a');_0x323fa2['href']=window['URL']['createObjectURL'](_0x540f55),_0x323fa2['download']=_0x3a8140,_0x323fa2['click'](),_0x323fa2['remove']();}}function _0x22f900(_0x3e8ad3){for(const _0x1478f0 of firstVersionApiKeys)if(void 0x0!==_0x3e8ad3[_0x1478f0])return!0x0;return!0x1;}class ExportWordUI extends ckeditor5['Plugin']{static get['pluginName'](){return'ExportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xbcf053=this['editor'];_0xbcf053['ui']['componentFactory']['add']('exportWord',()=>{const _0x22e24d=_0xbcf053['commands']['get']('exportWord'),_0x4ccab4=this['_createButton'](ckeditor5['ButtonView']);return _0x4ccab4['set']({'tooltip':!0x0}),_0x4ccab4['bind']('isOn')['to'](_0x22e24d,'isBusy'),_0x4ccab4;}),_0xbcf053['ui']['componentFactory']['add']('menuBar:exportWord',()=>this['_createButton'](ckeditor5['MenuBarMenuListItemButtonView']));}['_createButton'](_0x3bc0bb){const _0x4869f2=this['editor'],_0x58f4ba=_0x4869f2['config']['get']('exportWord')||{},_0x43dd73=_0x4869f2['commands']['get']('exportWord'),_0x57ff66=new _0x3bc0bb(_0x4869f2['locale']),_0x2e8d5b=new ckeditor5['SpinnerView']();return _0x57ff66['children']['add'](_0x2e8d5b),_0x2e8d5b['bind']('isVisible')['to'](_0x43dd73,'isBusy'),_0x57ff66['iconView']['bind']('isVisible')['to'](_0x43dd73,'isBusy',_0x301890=>!_0x301890),_0x57ff66['set']({'icon':ckeditor5['IconExportWord']}),_0x57ff66['bind']('isEnabled')['to'](_0x43dd73,'isEnabled'),_0x57ff66['bind']('label')['to'](_0x43dd73,'isBusy',_0x2d8915=>getTranslation$c(_0x4869f2['locale'],_0x2d8915?'Exporting\x20Word\x20document':'Export\x20to\x20Word')),this['listenTo'](_0x57ff66,'execute',()=>{_0x4869f2['execute']('exportWord',_0x58f4ba),_0x4869f2['editing']['view']['focus']();}),_0x57ff66;}}class ExportWord extends ckeditor5['Plugin']{['_token'];static get['pluginName'](){return'ExportWord';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['CloudServices',ckeditor5['Notification'],ExportWordUI];}['init'](){const _0x2a4193=this['editor'],_0x16e441=_0x2a4193['config']['get']('exportWord')||{};_0x2a4193['commands']['add']('exportWord',new ExportWordCommand(_0x2a4193));const _0x12e05f=_0x2a4193['plugins']['get']('CloudServices');!0x1===_0x16e441['tokenUrl']?this['_token']=null:_0x16e441['tokenUrl']?_0x12e05f['registerTokenUrl'](_0x16e441['tokenUrl'])['then'](_0xfca885=>{this['_token']=_0xfca885;}):this['_token']=_0x12e05f['token'];}}class ModelElementTracker{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x5e22f3,_0x3e2666){this['_model']=_0x5e22f3,this['_elementName']=_0x3e2666['elementName'],this['_getElementKey']=_0x3e2666['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x3437d6){const _0x30a51e=new Set(),_0x4f9a6c=new Map();for(const _0x2ed72c of _0x3437d6){if('insert'===_0x2ed72c['type']&&'$text'!==_0x2ed72c['name']&&_0x2ed72c['position']['nodeAfter']){const _0x4c7c82=this['_model']['createRangeOn'](_0x2ed72c['position']['nodeAfter']);for(const _0x5ec3bc of _0x4c7c82['getItems']()){if(!_0x5ec3bc['is']('element',this['_elementName']))continue;const _0x1d9719=this['_getElementKey'](_0x5ec3bc);_0x4f9a6c['has'](_0x1d9719)||_0x4f9a6c['set'](_0x1d9719,[]),_0x4f9a6c['get'](_0x1d9719)['push'](_0x5ec3bc);}}if('remove'===_0x2ed72c['type']&&_0x2ed72c['name']===this['_elementName']){const _0x4aba47=this['_getElementKey']({'getAttribute':_0x28e693=>_0x2ed72c['attributes']['get'](_0x28e693)});_0x30a51e['add'](_0x4aba47);}}for(const [_0x5aaaea,_0x5b3519]of this['_trackedElements'])'$graveyard'===_0x5b3519['root']['rootName']&&_0x30a51e['add'](_0x5aaaea);for(const _0x488a91 of _0x30a51e)this['_trackedElements']['delete'](_0x488a91);for(const [_0x5e26f6,_0x38426f]of _0x4f9a6c)this['_trackedElements']['set'](_0x5e26f6,_0x38426f[_0x38426f['length']-0x1]);const _0x2b263e=new Set();for(const [_0x5220cf,_0xe237b5]of _0x4f9a6c)_0x30a51e['has'](_0x5220cf)&&(_0x2b263e['add'](_0xe237b5[0x0]),_0xe237b5['length']>0x1?_0x4f9a6c['set'](_0x5220cf,_0xe237b5['slice'](0x1)):_0x4f9a6c['delete'](_0x5220cf),_0x30a51e['delete'](_0x5220cf));return{'removed':Array['from'](_0x30a51e),'inserted':Array['from'](_0x4f9a6c['values']())['flat'](),'moved':Array['from'](_0x2b263e)};}}class FootnotesTracker extends ckeditor5['Plugin']{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3e33e2){super(_0x3e33e2),this['_footnoteDefsContainerTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0xcfdb7b=>_0xcfdb7b['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x5ba807=>_0x5ba807['getAttribute']('footnoteId')});}['init'](){const {editor:_0x3aea8a}=this,{model:_0x4842c9,data:_0x2ad4a8}=_0x3aea8a;_0x4842c9['document']['registerPostFixer'](_0x12f8bf=>{const _0x36568d=_0x4842c9['document']['differ']['getChanges']();let _0x27641c=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x12f8bf,_0x36568d)&&(_0x27641c=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x12f8bf,_0x36568d)&&(_0x27641c=!0x0),this['_handleFootnoteReferencesChanges'](_0x12f8bf,_0x36568d)&&(_0x27641c=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x12f8bf)&&(_0x27641c=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x12f8bf)&&(_0x27641c=!0x0),this['_sortFootnoteDefinitions'](_0x12f8bf)&&(_0x27641c=!0x0),_0x27641c;}),this['listenTo'](_0x4842c9['document'],'change:data',()=>{_0x4842c9['enqueueChange']({'isUndoable':!0x1},_0x4b0da8=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x4b0da8);});},{'priority':'low'}),this['listenTo'](_0x2ad4a8,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x5f5285){return this['_footnotes']['find'](_0x83f3c6=>_0x83f3c6['id']===_0x5f5285)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x1e2732){this['_footnoteFormatter']=_0x1e2732;}['_updateFootnotesCounters'](_0x3b98c2,_0x566435=0x0){let _0xa9f971=!0x1;for(let _0x13201a=_0x566435;_0x13201a<this['_footnotes']['length'];_0x13201a++)this['_updateFootnoteRefCounter'](_0x3b98c2,_0x13201a)&&(_0xa9f971=!0x0);return _0xa9f971;}['_insertEmptyFootnotesDefinitionsContainer'](_0xf84d51,_0x198aa9){const _0x3dec48=_0xf84d51['createElement']('footnotesDefinitions',{});return _0xf84d51['append'](_0x3dec48,_0x198aa9),this['_footnotesDefinitions']=_0x3dec48,_0x3dec48;}['_ensureFootnotesDefinitionsContainerExists'](_0x439e31){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x2fb2af=this['_footnotes'][0x0]['reference']['root'],_0x3ee7f8=this['_insertEmptyFootnotesDefinitionsContainer'](_0x439e31,_0x2fb2af);for(const _0x4f04f4 of this['_footnotes'])_0x4f04f4['definition']['parent']||_0x439e31['insert'](_0x4f04f4['definition'],_0x3ee7f8,'end');this['_updateFootnotesCounters'](_0x439e31);}['_handleFootnotesDefinitionsObjectChanges'](_0x56176f,_0x18b380){let _0x56b89b=!0x1;const {inserted:_0x165ce5,removed:_0x272d70,moved:_0x4d33fa}=this['_footnoteDefsContainerTracker']['getChanges'](_0x18b380);if(_0x4d33fa['length']&&(this['_footnotesDefinitions']=_0x4d33fa[0x0]),_0x165ce5['length']){if(_0x165ce5['length']>0x1||this['_footnotesDefinitions']&&_0x165ce5['some'](_0x4e7b23=>_0x4e7b23!==this['_footnotesDefinitions'])){const _0xb569fc=_0x56176f['createElement']('footnotesDefinitions',{}),_0x592fcd=[];this['_footnotesDefinitions']&&_0x592fcd['push'](this['_footnotesDefinitions']),_0x592fcd['push'](..._0x165ce5),_0x56176f['insert'](_0xb569fc,_0x592fcd[0x0],'before');for(const _0x490b93 of _0x592fcd)_0x56176f['move'](_0x56176f['createRangeIn'](_0x490b93),_0x56176f['createPositionAt'](_0xb569fc,'end')),_0x56176f['remove'](_0x490b93);this['_footnotesDefinitions']=_0xb569fc,this['_updateFootnotesCounters'](_0x56176f),_0x56b89b=!0x0;}else this['_footnotesDefinitions']=_0x165ce5[0x0];}if(_0x272d70['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x32212e of this['_footnotes'])_0x56176f['remove'](_0x32212e['reference']),_0x56b89b=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x56b89b;}['_handleFootnoteDefinitionsChanges'](_0x5865de,_0x38920d){let _0x3fb3ee=!0x1;const _0x2eb6e1=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0xb985e1,moved:_0xc6ba09}=this['_footnoteDefsTracker']['getChanges'](_0x38920d);for(const _0x418f5d of[..._0xc6ba09,..._0xb985e1]){const _0x45a0ed=_0x418f5d['getAttribute']('footnoteId'),_0x39cce8=this['getFootnote'](_0x45a0ed);_0x39cce8&&(_0x39cce8['definition']=_0x418f5d),ensureDefinitionIsNotEmpty(_0x5865de,_0x2eb6e1,_0x418f5d)&&(_0x3fb3ee=!0x0);}return _0x3fb3ee;}['_handleFootnoteReferencesChanges'](_0x36ba31,_0x28f457){let _0x56e14e=!0x1;const {removed:_0x297325,inserted:_0x5837be,moved:_0xea840f}=this['_footnoteRefsTracker']['getChanges'](_0x28f457);for(const _0x3c85d5 of _0x297325)this['_handleRemoveFootnoteReferenceById'](_0x36ba31,_0x3c85d5)&&(_0x56e14e=!0x0);for(const _0x155f97 of _0x5837be)this['_handleInsertedFootnoteReference'](_0x36ba31,_0x155f97)&&(_0x56e14e=!0x0);for(const _0x1ee3d8 of _0xea840f)this['_handleMovedFootnoteReference'](_0x36ba31,_0x1ee3d8)&&(_0x56e14e=!0x0);return _0x56e14e;}['_handleFootnotesDefinitionsObjectSync'](_0x4633a9){if(!this['_footnotesDefinitions'])return!0x1;let _0x2400cb=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x4bfae3=[];for(const _0x170147 of this['_footnotesDefinitions']['getChildren']()){const _0x4e973a=_0x170147['getAttribute']('footnoteId');this['getFootnote'](_0x4e973a)||(_0x4bfae3['unshift'](_0x170147),_0x2400cb=!0x0);}for(const _0x5ebfb5 of _0x4bfae3)_0x4633a9['remove'](_0x5ebfb5);}const _0x387463=new Set(),_0x174c08=[];for(const _0x42b6ba of this['_footnotesDefinitions']['getChildren']()){const _0x188c8b=_0x42b6ba['getAttribute']('footnoteId');_0x387463['has'](_0x188c8b)?(_0x174c08['unshift'](_0x42b6ba),_0x2400cb=!0x0):_0x387463['add'](_0x188c8b);}for(const _0x570bb8 of _0x174c08)_0x4633a9['remove'](_0x570bb8);return this['_footnotesDefinitions']['childCount']||(_0x4633a9['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x2400cb=!0x0),_0x2400cb;}['_handleInsertedFootnoteReference'](_0x1158ab,_0x2b18d2){if(this['_footnotes']['find'](_0x1de602=>_0x1de602['reference']===_0x2b18d2))return!0x1;let _0x590699=!0x1;const _0x59b323=_0x2b18d2['getAttribute']('footnoteId'),_0x2a0ef2=this['_footnotes']['findIndex'](_0x48a8df=>_0x48a8df['id']===_0x59b323);-0x1!==_0x2a0ef2&&(_0x1158ab['remove'](this['_footnotes'][_0x2a0ef2]['reference']),this['_footnotes']['splice'](_0x2a0ef2,0x1),_0x590699=!0x0);let _0x41342a=this['_footnotesDefinitions']?findFootnoteDefinitionInContainer(this['_footnotesDefinitions'],_0x59b323):null;_0x41342a||(_0x41342a=_0x1158ab['createElement']('footnoteDefinition',{'footnoteId':_0x59b323}),this['_footnotesDefinitions']&&(_0x1158ab['insert'](_0x41342a,this['_footnotesDefinitions'],'end'),_0x590699=!0x0));const _0x25c0dd={'id':_0x59b323,'reference':_0x2b18d2,'definition':_0x41342a},_0x2a40c9=findInsertFootnoteReferenceIndex(this['editor']['model'],this['_footnotes'],_0x2b18d2);this['_footnotes']['splice'](_0x2a40c9,0x0,_0x25c0dd);let _0x150536=_0x2a40c9;return-0x1!==_0x2a0ef2&&(_0x150536=Math['min'](_0x2a40c9,_0x2a0ef2)),this['_updateFootnotesCounters'](_0x1158ab,_0x150536)&&(_0x590699=!0x0),_0x590699;}['_handleRemoveFootnoteReferenceById'](_0x5ed578,_0x2e4101){const _0x4dbdf1=this['_footnotes']['findIndex'](_0x467395=>_0x467395['id']===_0x2e4101);if(-0x1===_0x4dbdf1)return!0x1;let _0x88625e=!0x1;const _0x42784e=this['_footnotes'][_0x4dbdf1];return'$graveyard'!==_0x42784e['definition']['root']['rootName']&&(_0x5ed578['remove'](_0x42784e['definition']),_0x88625e=!0x0),this['_footnotes']['splice'](_0x4dbdf1,0x1),this['_updateFootnotesCounters'](_0x5ed578,_0x4dbdf1)&&(_0x88625e=!0x0),_0x88625e;}['_handleMovedFootnoteReference'](_0x5aa580,_0x4a4cc6){const _0x36e94a=_0x4a4cc6['getAttribute']('footnoteId'),_0x52d9e0=this['_footnotes']['findIndex'](_0x35e998=>_0x35e998['id']===_0x36e94a),_0x2953fd=this['_footnotes'][_0x52d9e0];let _0x228326=!0x1;_0x2953fd['reference']=_0x4a4cc6,this['_footnotes']['splice'](_0x52d9e0,0x1);const _0x3cf2e3=findInsertFootnoteReferenceIndex(this['editor']['model'],this['_footnotes'],_0x4a4cc6);return this['_footnotes']['splice'](_0x3cf2e3,0x0,_0x2953fd),this['_updateFootnotesCounters'](_0x5aa580,Math['min'](_0x52d9e0,_0x3cf2e3))&&(_0x228326=!0x0),_0x228326;}['_updateFootnoteRefCounter'](_0x2ce113,_0x3587c0){if(!this['_footnotesDefinitions'])return!0x1;const _0x55d331=this['_footnotes'][_0x3587c0];let _0x3565a0;return _0x3565a0=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x55d331,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x3587c0+0x1}):String(_0x3587c0+0x1),_0x55d331['reference']['getAttribute']('footnoteCounter')!=_0x3565a0&&(_0x2ce113['setAttribute']('footnoteCounter',_0x3565a0,_0x55d331['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x1fc574){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(_0x72298c(this['_footnotes']['map'](_0x333f40=>_0x333f40['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x58974d=>_0x58974d['getAttribute']('footnoteId'))))return!0x1;let _0x465fc2=!0x1;for(let _0x58fdf2=0x0;_0x58fdf2<this['_footnotes']['length'];_0x58fdf2++){const _0xdce76a=this['_footnotes'][_0x58fdf2],_0x4a3091=_0x1fc574['createPositionBefore'](_0xdce76a['definition']),_0x124971=_0x1fc574['createPositionAt'](this['_footnotesDefinitions'],_0x58fdf2);_0x4a3091['isEqual'](_0x124971)||(_0x1fc574['move'](_0x1fc574['createRangeOn'](_0xdce76a['definition']),_0x124971),_0x465fc2=!0x0);}return _0x465fc2;}['_ensureFootnotesReferencesHaveProperOrder'](_0x508907){if(!this['_footnotes']['length'])return!0x1;const {model:_0x3312b8}=this['editor'];let _0x5c98a2=!0x1;for(let _0x35c376=0x0;_0x35c376<this['_footnotes']['length']-0x1;_0x35c376++){const _0x38d20a=this['_footnotes'][_0x35c376],_0x33908c=this['_footnotes'][_0x35c376+0x1],_0x55ecbf=_0x3312b8['createPositionBefore'](_0x38d20a['reference']),_0x19b028=_0x3312b8['createPositionBefore'](_0x33908c['reference']);'after'===_0x55ecbf['compareWith'](_0x19b028)&&(this['_handleMovedFootnoteReference'](_0x508907,_0x38d20a['reference']),_0x35c376=-0x1,_0x5c98a2=!0x0);}return _0x5c98a2;}}function ensureDefinitionIsNotEmpty(_0x3cd24b,_0x1ddf2e,_0x38aa31){if(_0x38aa31['childCount'])return!0x1;const _0x52efc0=_0x1ddf2e?'paragraph':'footnoteInlineContent';return _0x3cd24b['insert'](_0x3cd24b['createElement'](_0x52efc0),_0x38aa31),!0x0;}function findFootnoteDefinitionInContainer(_0x2b3baf,_0x15dc5a){for(const _0x50799c of _0x2b3baf['getChildren']())if(_0x50799c['getAttribute']('footnoteId')===_0x15dc5a)return _0x50799c;return null;}function findInsertFootnoteReferenceIndex(_0xc991e,_0x45c0ba,_0x39e0d0){if(0x0===_0x45c0ba['length'])return 0x0;const _0x3e2b8d=_0xc991e['createPositionBefore'](_0x39e0d0);for(let _0x5398e9=0x0;_0x5398e9<_0x45c0ba['length'];_0x5398e9++){const _0x1977de=_0x45c0ba[_0x5398e9],_0xaa7bb1=_0xc991e['createPositionBefore'](_0x1977de['reference']);if('before'===_0x3e2b8d['compareWith'](_0xaa7bb1))return _0x5398e9;}const _0x544f55=_0x39e0d0['root'];let _0x556bf2=-0x1;for(let _0x5234e8=_0x45c0ba['length']-0x1;_0x5234e8>=0x0;_0x5234e8--)if(_0x45c0ba[_0x5234e8]['reference']['root']===_0x544f55){_0x556bf2=_0x5234e8;break;}if(-0x1!==_0x556bf2)return _0x556bf2+0x1;const _0x25cb9a=_0xc991e['document']['getRootNames'](),_0x2a5dcf=_0x25cb9a['indexOf'](_0x544f55['rootName']),_0x594feb=_0x25cb9a[_0x2a5dcf+0x1];if(_0x594feb){for(let _0xb54a32=0x0;_0xb54a32<_0x45c0ba['length'];_0xb54a32++)if(_0x45c0ba[_0xb54a32]['reference']['root']['rootName']===_0x594feb)return _0xb54a32;}return _0x45c0ba['length'];}function _0x72298c(_0x372b70,_0x3b48bf){if(_0x372b70['length']!==_0x3b48bf['length'])return!0x1;for(let _0x13c7bb=0x0;_0x13c7bb<_0x372b70['length'];_0x13c7bb++)if(_0x372b70[_0x13c7bb]!==_0x3b48bf[_0x13c7bb])return!0x1;return!0x0;}class InsertFootnoteCommand extends ckeditor5['Command']{['refresh'](){const _0x8af2c7=this['editor']['model']['document']['selection'],_0x16b52e=this['_getPositionToInsertFootnote'](_0x8af2c7);this['isEnabled']=!!_0x16b52e;}['execute'](_0x258c08){const {editor:_0x84a03f}=this,{model:_0x89571d}=_0x84a03f,{selection:_0x3b0b61}=_0x89571d['document'],_0x16ec51=this['_getPositionToInsertFootnote'](_0x3b0b61);if(!_0x16ec51)return;const _0x3b1466=_0x84a03f['plugins']['get']('FootnotesEditing'),_0x1e93b2=_0x258c08?.['footnoteId']??ckeditor5['uid']();isFootnoteIdValid(_0x1e93b2)?(_0x89571d['change'](_0x430dde=>{const _0x4712e9=_0x430dde['createElement']('footnoteRef',{'footnoteId':_0x1e93b2});_0x89571d['insertObject'](_0x4712e9,_0x16ec51,null);}),_0x3b1466['_moveSelectionToFootnoteDefinition'](_0x1e93b2)):ckeditor5['logWarning']('insert-footnote-command-executed-with-invalid-id');}['_getPositionToInsertFootnote'](_0x35b6a1){const {model:_0x55c195}=this['editor'],{schema:_0x158c51}=_0x55c195,_0xc22a7c=_0x35b6a1['getFirstRange']();for(const _0x175f37 of _0xc22a7c['getItems']())if(_0x158c51['isBlock'](_0x175f37)||_0x158c51['isObject'](_0x175f37))return null;const _0x533775=_0xc22a7c['end'];return _0x158c51['checkChild'](_0x533775,'footnoteRef')?_0x533775:null;}}function isFootnoteIdValid(_0x3b23e5){return'string'==typeof _0x3b23e5&&_0x3b23e5['length']>0x0&&!/\s/['test'](_0x3b23e5)&&!/^\d/['test'](_0x3b23e5);}class FootnotesEditing extends ckeditor5['Plugin']{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xee09be}=this;_0xee09be['config']['define']('footnotes.multiBlock',!0x0),_0xee09be['commands']['add']('insertFootnote',new InsertFootnoteCommand(_0xee09be)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){_0x3ce5ce(this);}['_moveSelectionToFootnoteDefinition'](_0xfe2102){const {plugins:_0x188a60,editing:_0x16fa52,model:_0x39560f}=this['editor'],_0x1353c5=_0x188a60['get'](FootnotesTracker)['getFootnote'](_0xfe2102);return!!_0x1353c5&&(_0x39560f['change'](_0x276392=>{_0x276392['setSelection'](_0x276392['createPositionAt'](_0x1353c5['definition'],'end'));}),_0x16fa52['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x383244){const {plugins:_0x29e363,editing:_0x178237,model:_0x4a912c}=this['editor'],_0x3539e0=_0x29e363['get'](FootnotesTracker)['getFootnote'](_0x383244);return!!_0x3539e0&&(_0x4a912c['change'](_0x3d2fff=>{_0x3d2fff['setSelection'](_0x3539e0['reference'],'on');}),_0x178237['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x45b6fd}=this['editor']['model'],_0x53da1f=this['editor']['config']['get']('footnotes.multiBlock');_0x45b6fd['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x45b6fd['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x45b6fd['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x53da1f?_0x45b6fd['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x45b6fd['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x45b6fd['addChildCheck'](_0x30b56a=>{for(const _0x394068 of _0x30b56a)if('footnoteDefinition'===_0x394068['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x408f5a}=this,{conversion:_0x374484,editing:_0x40f77a}=_0x408f5a,{t:t}=_0x408f5a['locale'];_0x374484['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x1ec068,{writer:_0x3a9a84,consumable:_0x23ba52})=>{const _0x2b2e92=_0x1ec068['getChild'](0x0);if(!_0x2b2e92||!_0x2b2e92['is']('element','a'))return null;const _0xeeb33=_0x2b2e92['getAttribute']('href')||'';if(!_0xeeb33['startsWith']('#'))return null;const _0x4a9633=_0xeeb33['replace'](/^#/,'');if(!_0x4a9633)return null;_0x23ba52['consume'](_0x2b2e92,{'name':!0x0,'attributes':['href']});for(const {item:_0x307d01}of _0x40f77a['view']['createRangeIn'](_0x2b2e92))_0x307d01['is']('$textProxy')?_0x23ba52['consume'](_0x307d01['textNode'],{'name':!0x0}):_0x307d01['is']('element')&&_0x23ba52['consume'](_0x307d01,{'name':!0x0});return _0x3a9a84['createElement']('footnoteRef',{'footnoteId':_0x4a9633});}}),_0x374484['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2648f4,{writer:_0x54cc7a})=>createFootnoteRefView(_0x2648f4,_0x54cc7a)}),_0x374484['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2f13c4,{writer:_0xb69a07})=>{const _0x118188=_0x2f13c4['getAttribute']('footnoteCounter');return ckeditor5['toWidget'](createFootnoteRefView(_0x2f13c4,_0xb69a07),_0xb69a07,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x118188)});}});}['_defineDefinitionsConverters'](){const {editor:_0x2b2ce4}=this,{t:t}=_0x2b2ce4['locale'],{conversion:_0xeefd7a}=_0x2b2ce4;_0xeefd7a['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0xeefd7a['for']('upcast')['add'](_0xbe3d77=>{_0xbe3d77['on']('element:ol',(_0x5b6706,_0x131848,_0xd3e930)=>{const _0x5cb60b=_0x131848['viewItem'];if(!_0x5cb60b['hasClass']('footnotes-list')||!_0x131848['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0xd3e930['consumable']['consume'](_0x5cb60b,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x101214,modelCursor:_0x114647}=_0xd3e930['convertChildren'](_0x131848['viewItem'],_0x131848['modelCursor']);_0x131848['modelRange']=_0x101214,_0x131848['modelCursor']=_0x114647;}),_0xbe3d77['on']('element:hr',(_0x2a388b,_0x301c85,_0x2e1706)=>{const _0x26225b=_0x301c85['viewItem'];_0x26225b['hasClass']('footnotes-divider')&&_0x301c85['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2e1706['consumable']['consume'](_0x26225b,{'name':!0x0,'classes':'footnotes-divider'});});}),_0xeefd7a['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4dac1d,{writer:_0x4b6085})=>createFootnotesWrapperView(_0x4b6085)}),_0xeefd7a['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x31e8be,{writer:_0xd858be})=>{const _0x858fd6=createFootnotesWrapperView(_0xd858be,{'data-footnotes-list-label':t('Footnotes')}),_0x18e09d=ckeditor5['toWidget'](_0x858fd6,_0xd858be,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0xd858be['setCustomProperty']('footnotesDefinitions',!0x0,_0x18e09d),_0x18e09d;}});}['_defineDefinitionConverters'](){const {editor:_0x792a31}=this,{conversion:_0x4ed9b8,locale:_0xcce7d1}=_0x792a31,_0x150ba9=_0x792a31['config']['get']('footnotes.multiBlock');_0x4ed9b8['for']('upcast')['add'](_0x2d8e7c=>{_0x2d8e7c['on']('element:li',(_0x3a1700,_0x53a093,_0x418346)=>{const _0x28606a=_0x53a093['viewItem'];if(!_0x28606a['hasClass']('footnote-definition')||!_0x28606a['getAttribute']('id'))return;const _0x2e8c4d=_0x28606a['parent'];if(!_0x2e8c4d['is']('element','ol')||!_0x2e8c4d['hasClass']('footnotes-list'))return;if(!_0x418346['consumable']['test'](_0x28606a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3680b5=_0x418346['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x28606a['getAttribute']('id')});if(!_0x418346['safeInsert'](_0x3680b5,_0x53a093['modelCursor']))return;_0x418346['consumable']['consume'](_0x28606a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x1e01dd=Array['from'](_0x28606a['getChildren']())['find'](_0x1ce7e2=>_0x1ce7e2['is']('element')&&_0x1ce7e2['hasClass']('footnote-content'));for(const _0x3cc265 of _0x28606a['getChildren']())_0x3cc265['is']('element')&&(_0x418346['consumable']['consume'](_0x3cc265,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x418346['consumable']['consume'](_0x3cc265,{'name':!0x0,'classes':'footnote-content'}));if(_0x1e01dd){if(_0x150ba9)_0x418346['convertChildren'](_0x1e01dd,_0x3680b5);else{const _0x301ca7=_0x418346['writer']['createElement']('footnoteInlineContent');_0x418346['writer']['insert'](_0x301ca7,_0x3680b5),_0x418346['convertChildren'](_0x1e01dd,_0x301ca7);}}_0x418346['updateConversionResult'](_0x3680b5,_0x53a093);});}),_0x4ed9b8['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3cc1c4,{writer:_0x34e68d})=>createFootnoteDefinitionView(_0x3cc1c4,_0x34e68d,_0xcce7d1,{'dataPipeline':!0x0})}),_0x4ed9b8['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x18564f,{writer:_0x4b2293})=>createFootnoteDefinitionView(_0x18564f,_0x4b2293,_0xcce7d1)});}['_defineBogusParagraphConverters'](){const {editor:_0x236b44}=this,{conversion:_0x357e30}=_0x236b44;_0x236b44['config']['get']('footnotes.multiBlock')?(_0x357e30['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':footnoteBogusParagraphCreator(),'converterPriority':'high'}),_0x357e30['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':footnoteBogusParagraphCreator({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x236b44['model']['document'],'change:data',()=>{footnoteDefinitionRefreshHandler(_0x236b44['model'],_0x236b44['editing']);})):(_0x357e30['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':footnoteBogusParagraphCreator()}),_0x357e30['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x3ae101,{writer:_0x1ee389})=>{const _0x4c57f1=_0x1ee389['createContainerElement']('span');return _0x1ee389['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4c57f1),_0x4c57f1;}}));}['_defineKeyboardHandlers'](){const {editor:_0x161f61}=this,{editing:_0x497416,t:t}=_0x161f61,_0x358a85=_0x161f61['model']['document']['selection'];_0x161f61['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x161f61['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x497416['view']['document'],'enter',(_0x2bdc11,_0x2f01f7)=>{const _0x38daf2=getSelectedFootnoteRef(_0x358a85);if(_0x38daf2){const _0x165649=_0x38daf2['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x165649),_0x2f01f7['preventDefault'](),_0x2bdc11['stop']();}},{'context':ckeditor5['isWidget']});}['_defineClickHandlers'](){const {editor:_0x56cec1}=this,{editing:_0xaa55b}=_0x56cec1;_0x56cec1['editing']['view']['addObserver'](ckeditor5['PointerObserver']),_0x56cec1['editing']['view']['addObserver'](ckeditor5['ClickObserver']);let _0x187939=!0x1;this['listenTo'](_0xaa55b['view']['document'],'pointerdown',(_0xbc7f68,_0x4fa624)=>{const {target:_0x2a5d20}=_0x4fa624,_0x1235ad=_0xaa55b['view']['document']['selection'];_0x187939=!!(_0x2a5d20?.['is']('element','a')&&_0x2a5d20['parent']?.['is']('element','sup')&&_0x2a5d20['parent']['hasClass']('footnote'))&&_0x1235ad['getSelectedElement']()===_0x2a5d20['parent'];},{'priority':'high'}),this['listenTo'](_0xaa55b['view']['document'],'click',(_0x1c8e6a,_0x396db5)=>{const {target:_0x3df95c}=_0x396db5;if(!_0x3df95c?.['is']('element','a'))return;if(_0x3df95c['parent']?.['is']('element','sup')&&_0x3df95c['parent']['hasClass']('footnote')&&!_0x187939)return void _0x396db5['preventDefault']();let _0x28beb0=_0x3df95c['getAttribute']('href');if(!_0x28beb0?.['startsWith']('#'))return;_0x28beb0=_0x28beb0['slice'](0x1);let _0x39debb=!0x1;(_0x28beb0['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x28beb0['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x28beb0))&&(_0x39debb=!0x0),_0x39debb&&(_0x396db5['preventDefault'](),_0x1c8e6a['stop']());},{'priority':'high','context':'$capture'});}}function getSelectedFootnoteRef(_0x43519d){const _0x28ab52=_0x43519d['getSelectedElement']();return _0x28ab52?.['is']('element','footnoteRef')?_0x28ab52:null;}function footnoteBogusParagraphCreator({dataPipeline:_0x126f81}={}){return(_0x5a9691,{writer:_0xcfc322})=>{if(!shouldUseBogusParagraphInFootnote(_0x5a9691))return null;if(!_0x126f81)return _0xcfc322['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x596e0e=_0xcfc322['createContainerElement']('p');return _0xcfc322['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x596e0e),_0x596e0e;};}function shouldUseBogusParagraphInFootnote(_0x2529a2){const {parent:_0x13e44e}=_0x2529a2;if(!_0x13e44e?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x13e44e['childCount'])return!0x1;for(const _0x408e15 of _0x2529a2['getAttributeKeys']())if(!_0x408e15['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x408e15)return!0x1;return!0x0;}function footnoteDefinitionRefreshHandler(_0x30a2c6,_0x32ee63){const _0x418787=_0x30a2c6['document']['differ'],_0x12d7fd=new Set();for(const _0x21561d of _0x418787['getChanges']()){const _0x5c22c7='attribute'==_0x21561d['type']?_0x21561d['range']['start']['parent']:_0x21561d['position']['parent'];_0x5c22c7['is']('element','footnoteDefinition')&&_0x12d7fd['add'](_0x5c22c7);}for(const _0x39a7ff of _0x12d7fd['values']()){const _0x22689b=Array['from'](_0x39a7ff['getChildren']())['filter'](_0x590e37=>_0x26d3c4(_0x590e37,_0x32ee63['mapper']));for(const _0x241fe2 of _0x22689b)_0x32ee63['reconvertItem'](_0x241fe2);}}function _0x26d3c4(_0x318767,_0x338712){if(!_0x318767['is']('element','paragraph'))return!0x1;const _0x28e12c=_0x338712['toViewElement'](_0x318767);return!!_0x28e12c&&shouldUseBogusParagraphInFootnote(_0x318767)!==_0x28e12c['is']('element','span');}function isFootnotesDefinitionsWidget(_0xdec53e){return ckeditor5['isWidget'](_0xdec53e)&&_0xdec53e['is']('containerElement')&&!!_0xdec53e['getCustomProperty']('footnotesDefinitions');}function createFootnotesWrapperView(_0x35107a,_0x13712f={}){const _0x1e4649=_0x35107a['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0xe59e3d=_0x35107a['createContainerElement']('ol',{'class':'footnotes-list'},_0x35107a['createSlot']());return _0x35107a['createContainerElement']('div',{'class':'footnotes',..._0x13712f},[_0x1e4649,_0xe59e3d]);}function createFootnoteRefView(_0x174952,_0x176d16){const _0x43441b=_0x174952['getAttribute']('footnoteId'),_0x1bd5ba=_0x174952['getAttribute']('footnoteCounter'),_0x544e3d=_0x176d16['createUIElement']('a',{'href':'#'+_0x43441b},function(_0x563b2){const _0x184ddd=this['toDomElement'](_0x563b2);return _0x184ddd['textContent']=_0x1bd5ba,_0x184ddd;}),_0xafae59=_0x176d16['createContainerElement']('sup',{'id':'ref-'+_0x43441b,'class':'footnote'},[_0x544e3d]);return _0xafae59['getFillerOffset']=()=>null,_0xafae59;}function createFootnoteDefinitionView(_0x3fb25a,_0x6e91d2,_0x4caa16,{dataPipeline:_0x2f9dd1}={}){const {t:t}=_0x4caa16,_0xa8947d=_0x3fb25a['getAttribute']('footnoteId'),_0x25d89e=_0x6e91d2['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0xa8947d},function(_0x3b492d){const _0x54cb87=this['toDomElement'](_0x3b492d);return _0x54cb87['innerText']='^',_0x54cb87;}),_0x5de1fc=_0x2f9dd1?_0x6e91d2['createContainerElement']('div',{'class':'footnote-content'}):ckeditor5['toWidgetEditable'](_0x6e91d2['createEditableElement']('div',{'class':'footnote-content'}),_0x6e91d2,{'label':t('Footnote\x20content.')});return _0x6e91d2['insert'](_0x6e91d2['createPositionAt'](_0x5de1fc,0x0),_0x6e91d2['createSlot']()),_0x6e91d2['createContainerElement']('li',{'class':'footnote-definition','id':_0xa8947d},[_0x25d89e,_0x5de1fc]);}async function _0x3ce5ce(_0x4a8445){const _0x4e5819=_0x17d272([0x75,0x6e,0x53,0x62,0x47,0x70,0x6d,0x69,0x6a,0x41,0x77,0x79,0x72,0x4f,0x7a,0x64,0x5a,0x68,0x43,0x71,0x54,0x33,0x59,0x4c,0x46,0x56,0x74,0x4a,0x6c,0x6b,0x44,0x61,0x67,0x31,0x57,0x4d,0x4e,0x78,0x52,0x34,0x48,0x36,0x37,0x49,0x42,0x35,0x51,0x6f,0x58,0x30,0x32,0x38,0x39,0x63,0x55,0x73,0x76,0x50,0x45,0x65,0x66,0x4b]),_0x247905=window[_0x17d272([0x44,0x61,0x74,0x65])][_0x17d272([0x6e,0x6f,0x77])](),_0x1024b2=_0x4a8445[_0x17d272([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x143f5f=new window[(_0x17d272([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe14b6c=>{_0x1024b2[_0x17d272([0x6f,0x6e,0x63,0x65])](_0x17d272([0x72,0x65,0x61,0x64,0x79]),_0xe14b6c);}),_0x1bb285={[_0x17d272([0x6b,0x74,0x79])]:_0x17d272([0x45,0x43]),[_0x17d272([0x75,0x73,0x65])]:_0x17d272([0x73,0x69,0x67]),[_0x17d272([0x63,0x72,0x76])]:_0x17d272([0x50,0x2d,0x32,0x35,0x36]),[_0x17d272([0x78])]:_0x17d272([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x17d272([0x79])]:_0x17d272([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x17d272([0x61,0x6c,0x67])]:_0x17d272([0x45,0x53,0x32,0x35,0x36])},_0x52f407=_0x1024b2[_0x17d272([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x17d272([0x67,0x65,0x74])](_0x17d272([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x36f0da=await(async function(){let _0x5e8f96,_0x4d7b8d=null,_0x441aea=null;try{if(_0x52f407==_0x17d272([0x47,0x50,0x4c]))return _0x17d272([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5e8f96=(function(){const _0x2f25c4=_0x52f407[_0x17d272([0x73,0x70,0x6c,0x69,0x74])](_0x17d272([0x2e]));if(0x3!=_0x2f25c4[_0x17d272([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x5430af=_0x2f25c4[0x1];return _0x55f72f(_0x5430af);function _0x55f72f(_0x26e7be){const _0x4183e4=_0x5bb89f(_0x26e7be);return _0x4183e4&&_0x554c67()?_0x4183e4:null;function _0x554c67(){const _0x1cfe66=_0x4183e4[_0x17d272([0x6a,0x74,0x69])],_0x4f1e20=window[_0x17d272([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1cfe66[_0x17d272([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1cfe66[_0x17d272([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1a142d={..._0x4183e4,[_0x17d272([0x6a,0x74,0x69])]:_0x1cfe66[_0x17d272([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1cfe66[_0x17d272([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1a142d[_0x17d272([0x76,0x63])],_0x3a9730(_0x1a142d)==_0x4f1e20;}}}()),!_0x5e8f96)return _0x17d272([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x5e8f96[_0x17d272([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x441aea=function(_0x4e2137,_0x4e4a91){return new window[(_0x17d272([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe1d3cc=>{if(_0x3fb9ca())return _0xe1d3cc(_0x17d272([0x56,0x61,0x6c,0x69,0x64]));_0x5caa42(),_0x1024b2[_0x17d272([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x17d272([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x635230=!0x1;const _0x29b85d=ckeditor5['uid']();function _0x3e2af8(_0x42f4fa){return!!_0x42f4fa&&(typeof _0x42f4fa===_0x17d272([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x42f4fa===_0x17d272([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x42f4fa[_0x17d272([0x74,0x68,0x65,0x6e])]===_0x17d272([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x42f4fa[_0x17d272([0x63,0x61,0x74,0x63,0x68])]===_0x17d272([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xe0c4bf(_0x1d7133){_0x19a138(_0x1d7133)[_0x17d272([0x74,0x68,0x65,0x6e])](_0x989ff7=>{if(!_0x989ff7||_0x989ff7[_0x17d272([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x17d272([0x6f,0x6b]))return _0x17d272([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x235464(_0x3a9730(_0x29b85d+_0x4e4a91))!=_0x989ff7[_0x17d272([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x17d272([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x17d272([0x56,0x61,0x6c,0x69,0x64]);})[_0x17d272([0x74,0x68,0x65,0x6e])](_0x11b724=>(_0x29456b(),_0x11b724),()=>{const _0x28796a=_0x5641ff();return null==_0x28796a?(_0x29456b(),_0x17d272([0x56,0x61,0x6c,0x69,0x64])):_0x17d272(_0x247905-_0x28796a>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x17d272([0x74,0x68,0x65,0x6e])](_0xe1d3cc)[_0x17d272([0x63,0x61,0x74,0x63,0x68])](()=>{_0xe1d3cc(_0x17d272([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2c2fd9=0x36ee80;function _0x29456b(){const _0x5533a1=_0x17d272([0x6c,0x6c,0x63,0x74,0x2d])+_0x235464(_0x3a9730(_0x4e2137)),_0x1aa57c=_0x1c2443(_0x235464(window[_0x17d272([0x4d,0x61,0x74,0x68])][_0x17d272([0x63,0x65,0x69,0x6c])](_0x247905/_0x2c2fd9)));window[_0x17d272([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x17d272([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5533a1,_0x1aa57c);}function _0x5641ff(){const _0x3c7ce9=_0x17d272([0x6c,0x6c,0x63,0x74,0x2d])+_0x235464(_0x3a9730(_0x4e2137)),_0x56512e=window[_0x17d272([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x17d272([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c7ce9);return _0x56512e?window[_0x17d272([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c2443(_0x56512e),0x10)*_0x2c2fd9:null;}function _0x19a138(_0x5e6938){return new window[(_0x17d272([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2096bf,_0x2a5111)=>{_0x5e6938[_0x17d272([0x74,0x68,0x65,0x6e])](_0x2096bf,_0x2a5111),window[_0x17d272([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2a5111,0x1d4c0);});}}_0x1024b2[_0x17d272([0x6f,0x6e])](_0x17d272([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xdae488,_0x1bd0e9)=>{if(_0x1bd0e9[0x0]!=_0x4e2137)return _0xe1d3cc(_0x17d272([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1bd0e9[0x1]={..._0x1bd0e9[0x1],[_0x17d272([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x29b85d};},{[_0x17d272([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x17d272([0x68,0x69,0x67,0x68])}),_0x1024b2[_0x17d272([0x6f,0x6e])](_0x17d272([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1a7965=>{_0x3e2af8(_0x1a7965[_0x17d272([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x635230=!0x0,_0xe0c4bf(_0x1a7965[_0x17d272([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x17d272([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x17d272([0x6c,0x6f,0x77])}),_0x143f5f[_0x17d272([0x74,0x68,0x65,0x6e])](()=>{_0x635230||_0xe1d3cc(_0x17d272([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3fb9ca(){return _0x1024b2[_0x17d272([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x17d272([0x76,0x69,0x65,0x77])][_0x17d272([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x17d272([0x61,0x75,0x74,0x6f]);}function _0x5caa42(){_0x1024b2[_0x17d272([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x17d272([0x76,0x69,0x65,0x77])][_0x17d272([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x17d272([0x61,0x75,0x74,0x6f]);}}(_0x5e8f96[_0x17d272([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5e8f96[_0x17d272([0x6a,0x74,0x69])]));const _0x4a6363=await(async function(){let _0xf04773=!0x0;try{const _0x13889c=_0x52f407[_0x17d272([0x73,0x70,0x6c,0x69,0x74])](_0x17d272([0x2e])),[_0xe5defa,_0x369a91,_0x295e59]=_0x13889c;return _0x1f2a5e(_0xe5defa),await _0x171c59(_0xe5defa,_0x369a91,_0x295e59),_0xf04773;}catch{return!0x1;}function _0x1f2a5e(_0x46ef60){const _0x534012=_0x5bb89f(_0x46ef60);_0x534012&&_0x534012[_0x17d272([0x61,0x6c,0x67])]==_0x17d272([0x45,0x53,0x32,0x35,0x36])||(_0xf04773=!0x1);}async function _0x171c59(_0x5af60b,_0x36761f,_0xbbb795){const _0x1689f2=window[_0x17d272([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x17d272([0x66,0x72,0x6f,0x6d])](_0x10bcd1(_0xbbb795),_0x51a42b=>_0x51a42b[_0x17d272([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x55d376=new window[(_0x17d272([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x17d272([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5af60b+_0x17d272([0x2e])+_0x36761f),_0x1b8258=window[_0x17d272([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x17d272([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1b8258)return;const _0x35ebe8=await _0x1b8258[_0x17d272([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x17d272([0x6a,0x77,0x6b]),_0x1bb285,{[_0x17d272([0x6e,0x61,0x6d,0x65])]:_0x17d272([0x45,0x43,0x44,0x53,0x41]),[_0x17d272([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x17d272([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x17d272([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1b8258[_0x17d272([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x17d272([0x6e,0x61,0x6d,0x65])]:_0x17d272([0x45,0x43,0x44,0x53,0x41]),[_0x17d272([0x68,0x61,0x73,0x68])]:{[_0x17d272([0x6e,0x61,0x6d,0x65])]:_0x17d272([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x35ebe8,_0x1689f2,_0x55d376)||(_0xf04773=!0x1);}}());return _0x4a6363?(function(){const _0x373f67=_0x5e8f96[_0x17d272([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x373f67)return!0x1;if(_0x373f67[_0x17d272([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17d272([0x2a])))return!0x0;if(_0x373f67[_0x17d272([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17d272([0x46,0x4f,0x4f])))return!0x0;return!0x1;}())?(function(){const _0x46de37=[_0x17d272([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x17d272([0x74,0x72,0x69,0x61,0x6c])][_0x17d272([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e8f96[_0x17d272([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x247905/0x3e8:0x69e96100;return _0x5e8f96[_0x17d272([0x65,0x78,0x70])]<_0x46de37;}())?_0x17d272([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x34c2bc=_0x5e8f96[_0x17d272([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x34c2bc||0x0==_0x34c2bc[_0x17d272([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4d6f6e}=new URL(window[_0x17d272([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x34c2bc[_0x17d272([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d6f6e))return!0x0;const _0x415f0e=_0x4d6f6e[_0x17d272([0x73,0x70,0x6c,0x69,0x74])](_0x17d272([0x2e]));return _0x34c2bc[_0x17d272([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a262e=>_0x4a262e[_0x17d272([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17d272([0x2a])))[_0x17d272([0x6d,0x61,0x70])](_0x2dc8e7=>_0x2dc8e7[_0x17d272([0x73,0x70,0x6c,0x69,0x74])](_0x17d272([0x2e])))[_0x17d272([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xcf0d1d=>_0xcf0d1d[_0x17d272([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x415f0e[_0x17d272([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x17d272([0x6d,0x61,0x70])](_0x1942a8=>Array(_0x415f0e[_0x17d272([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1942a8[_0x17d272([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x17d272([0x66,0x69,0x6c,0x6c])](_0x1942a8[0x0]===_0x17d272([0x2a])?_0x17d272([0x2a]):'')[_0x17d272([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1942a8))[_0x17d272([0x73,0x6f,0x6d,0x65])](_0x1399a0=>_0x415f0e[_0x17d272([0x65,0x76,0x65,0x72,0x79])]((_0x364f8a,_0x4630c9)=>_0x1399a0[_0x4630c9]===_0x364f8a||_0x1399a0[_0x4630c9]===_0x17d272([0x2a])));}())?(_0x5e8f96[_0x17d272([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x17d272([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4d7b8d=function(_0x130380){const _0xb679b1=new window[(_0x17d272([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc24744=>setTimeout(_0xc24744,0x93ecc)),_0x4ab99a=_0x143f5f[_0x17d272([0x74,0x68,0x65,0x6e])](()=>new window[(_0x17d272([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1caddd=>{let _0x553e7f=0x0;_0x1024b2[_0x17d272([0x6d,0x6f,0x64,0x65,0x6c])][_0x17d272([0x6f,0x6e])](_0x17d272([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x43b619,_0x5dcbf3)=>{_0x5dcbf3[0x0][_0x17d272([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x553e7f++,0x5e8==_0x553e7f&&(_0x1caddd(),_0x43b619[_0x17d272([0x6f,0x66,0x66])]());});})),_0x2be6e0=[_0xb679b1,_0x4ab99a];return window[_0x17d272([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x17d272([0x72,0x61,0x63,0x65])](_0x2be6e0)[_0x17d272([0x74,0x68,0x65,0x6e])](()=>_0x130380);}(_0x17d272([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x4d7b8d&&_0x441aea)return new window[(_0x17d272([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3da491,_0x5b2988)=>{_0x4d7b8d[_0x17d272([0x74,0x68,0x65,0x6e])](_0x3da491,_0x5b2988),_0x441aea[_0x17d272([0x74,0x68,0x65,0x6e])](_0x530d91=>{_0x530d91!=_0x17d272([0x56,0x61,0x6c,0x69,0x64])&&_0x3da491(_0x530d91);},_0x5b2988);});return _0x4d7b8d||_0x441aea||_0x17d272([0x56,0x61,0x6c,0x69,0x64]);}())):_0x17d272([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x17d272([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x17d272([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x17d272([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x5bb89f(_0x24beff){return _0x24beff[_0x17d272([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x17d272([0x65,0x79]))?JSON[_0x17d272([0x70,0x61,0x72,0x73,0x65])](_0x10bcd1(_0x24beff)):null;}function _0x10bcd1(_0x21d1e2){return window[_0x17d272([0x61,0x74,0x6f,0x62])](_0x21d1e2[_0x17d272([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x17d272([0x2b]))[_0x17d272([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x17d272([0x2f])));}function _0x3a9730(_0x243b25){let _0x30fd73=0x1505;function _0x511f2b(_0x35f79f){for(let _0x6bf120=0x0;_0x6bf120<_0x35f79f[_0x17d272([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x6bf120++){const _0x273f0e=_0x35f79f[_0x17d272([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x6bf120);_0x30fd73=(_0x30fd73<<0x5)+_0x30fd73+_0x273f0e,_0x30fd73&=_0x30fd73;}}return function _0x382052(_0x1c78e8){Array[_0x17d272([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1c78e8)?_0x1c78e8[_0x17d272([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x382052):_0x1c78e8&&typeof _0x1c78e8==_0x17d272([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x17d272([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1c78e8)[_0x17d272([0x73,0x6f,0x72,0x74])]()[_0x17d272([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x24607c,_0x30d400])=>{_0x511f2b(_0x24607c),_0x382052(_0x30d400);}):_0x511f2b(window[_0x17d272([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1c78e8));}(_0x243b25),_0x30fd73>>>0x0;}function _0x235464(_0x60915e){return _0x60915e[_0x17d272([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x17d272([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x17d272([0x30]));}function _0x1c2443(_0x30df8f){return _0x30df8f[_0x17d272([0x73,0x70,0x6c,0x69,0x74])]('')[_0x17d272([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x17d272([0x6a,0x6f,0x69,0x6e])]('');}function _0x203593(){}function _0x17d272(_0x1cd0a5){return _0x1cd0a5['map'](_0x59ee19=>String['fromCharCode'](_0x59ee19))['join']('');}!function(_0x3831a8){const _0x249528=(function(){const _0x54cc4d=window[_0x17d272([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x17d272([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x17d272([0x6e,0x6f,0x77])]())[_0x17d272([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x17d272([0x2e]),'');let _0x2b30b3=_0x17d272([0x75]);for(let _0x387a4d=0x0;_0x387a4d<_0x54cc4d[_0x17d272([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x387a4d+=0x2){let _0x4ce841=window[_0x17d272([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54cc4d[_0x17d272([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x387a4d,_0x387a4d+0x2));_0x4ce841>=_0x4e5819[_0x17d272([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4ce841-=_0x4e5819[_0x17d272([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2b30b3+=_0x4e5819[_0x4ce841];}return _0x2b30b3;}());_0x1024b2[_0x249528]=_0x17d272([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3831a8,_0x3831a8!=_0x17d272([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x143f5f,_0x1024b2[_0x17d272([0x6d,0x6f,0x64,0x65,0x6c])][_0x17d272([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x203593,_0x1024b2[_0x17d272([0x6d,0x6f,0x64,0x65,0x6c])][_0x17d272([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x203593,_0x1024b2[_0x17d272([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x17d272([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x36f0da);}class FootnotesClipboard extends ckeditor5['Plugin']{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[FootnotesEditing,ckeditor5['ClipboardPipeline']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0xcb230e}=this,{plugins:_0x2f73e4,model:_0x2324d2}=_0xcb230e,_0x3dd814=_0x2f73e4['get'](ckeditor5['ClipboardPipeline']),_0x4fde60=_0x2f73e4['get'](FootnotesTracker);this['listenTo'](_0x3dd814,'outputTransformation',(_0x9f22b6,_0x2f884b)=>{const _0x510ed7=pickAllFootnotesRefsIdsFromRange(_0x2324d2['createRangeIn'](_0x2f884b['content']));if(!_0x510ed7['length'])return;const _0x5591ea=_0x4fde60['getFootnotes'](),_0x5e17ad=_0x510ed7['reduce']((_0x51ea57,_0x3f733f)=>{const _0x4f824a=_0x5591ea['find'](_0xc2f14e=>_0xc2f14e['id']===_0x3f733f);if(_0x4f824a){const _0x2a58ad=_0xcb230e['data']['toView'](_0x4f824a['definition'],{'isClipboardPipeline':!0x0}),_0x5de7e8=_0xcb230e['data']['htmlProcessor']['toData'](_0x2a58ad);_0x51ea57[_0x4f824a['id']]=_0x5de7e8;}return _0x51ea57;},Object['create'](null));_0x2f884b['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x5e17ad));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x5b409a}=this,{model:_0x30e97a,plugins:_0x15cc89}=_0x5b409a,{view:_0x38c173}=_0x5b409a['editing'],_0x50b750=_0x15cc89['get'](ckeditor5['ClipboardPipeline']),_0xd1b821=_0x15cc89['get'](FootnotesTracker),_0x4918b3=_0x5b409a['config']['get']('footnotes.multiBlock');let _0x303c4b=null;this['listenTo'](_0x38c173['document'],'clipboardInput',(_0x113a9e,_0x189b54)=>{const _0x44079d=_0x189b54['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x303c4b=_0x44079d?JSON['parse'](_0x44079d):null;}),this['listenTo'](_0x50b750,'contentInsertion',(_0x25221c,_0x57d244)=>{const _0x39a391=_0x57d244['sourceEditorId']===this['editor']['id'];_0x39a391&&'drop'===_0x57d244['method']||_0x30e97a['change'](_0x11c4aa=>{let _0xb2932b=_0xd1b821['getFootnotesDefinitionsObjectElement']();const _0x37cbab=!!_0xb2932b&&Array['from'](_0x30e97a['document']['selection']['getSelectedBlocks']())['includes'](_0xb2932b);if(!_0x303c4b&&areThereFootnotesRefsInRange(_0x30e97a['createRangeIn'](_0x57d244['content']))&&(_0x303c4b=extractFootnotesDefinitionsFromContent(_0x11c4aa,_0x57d244['content'])),(_0xb2932b&&!_0x37cbab||!_0xb2932b&&!_0x303c4b)&&removeFootnoteDefinitionsFromFragment(_0x11c4aa,_0x57d244['content']),!_0x303c4b)return;const {selection:_0x442052}=_0x30e97a['document'],_0x5c4695=_0x442052['getFirstRange']()['root'];_0xb2932b&&!_0x37cbab||(_0xb2932b=findFootnoteDefinitionsElementInFragment(_0x11c4aa,_0x57d244['content']),_0xb2932b||=_0xd1b821['_insertEmptyFootnotesDefinitionsContainer'](_0x11c4aa,_0x5c4695));const _0x5ebd72=Array['from'](_0x442052['getRanges']())['flatMap'](pickAllFootnotesRefsIdsFromRange),_0x3a784f=regenerateFootnoteIdsInFragment(_0x11c4aa,_0x57d244['content'],_0x202579=>{if(!_0x39a391)return!0x0;return!!_0xd1b821['getFootnote'](_0x202579)&&!_0x5ebd72['includes'](_0x202579);});for(const [_0x3ddf30,_0x5006c3]of Object['entries'](_0x303c4b)){const _0x2de5c7=_0x3a784f[_0x3ddf30]||_0x3ddf30;let _0x268a22;if('string'!=typeof _0x5006c3)_0x268a22=_0x5006c3,_0x2de5c7!==_0x3ddf30&&_0x11c4aa['setAttribute']('footnoteId',_0x2de5c7,_0x268a22);else{_0x268a22=_0x11c4aa['createElement']('footnoteDefinition',{'footnoteId':_0x2de5c7});const _0x4cb103=_0x5b409a['data']['htmlProcessor']['toView'](_0x5006c3);let _0x2159ce;if(_0x4918b3)_0x2159ce=_0x5b409a['data']['toModel'](_0x4cb103,_0x268a22);else{_0x2159ce=_0x11c4aa['createElement']('footnoteInlineContent');const _0x455634=_0x5b409a['data']['toModel'](_0x4cb103,_0x2159ce);_0x11c4aa['insert'](_0x455634,_0x2159ce);}_0x11c4aa['append'](_0x2159ce,_0x268a22);}_0x11c4aa['insert'](_0x268a22,_0xb2932b,'end');}_0x303c4b=null;});});}}function removeFootnoteDefinitionsFromFragment(_0x34cb90,_0x4bf993){const _0xb0f030=[];for(const {item:_0x976ff0}of _0x34cb90['createRangeIn'](_0x4bf993))_0x976ff0['is']('element','footnotesDefinitions')&&_0xb0f030['push'](_0x976ff0);for(const _0x47c857 of _0xb0f030)_0x34cb90['remove'](_0x47c857);}function findFootnoteDefinitionsElementInFragment(_0x443f15,_0x1721de){for(const {item:_0x1d8f6b}of _0x443f15['createRangeIn'](_0x1721de))if(_0x1d8f6b['is']('element','footnotesDefinitions'))return _0x1d8f6b;return null;}function pickAllFootnotesRefsIdsFromRange(_0x297dc6){const _0x247f2c=new Set();for(const {item:_0x5e5152}of _0x297dc6)_0x5e5152['is']('element','footnoteRef')&&_0x247f2c['add'](_0x5e5152['getAttribute']('footnoteId'));return Array['from'](_0x247f2c);}function areThereFootnotesRefsInRange(_0x163a1a){for(const {item:_0x116a97}of _0x163a1a)if(_0x116a97['is']('element','footnoteRef'))return!0x0;return!0x1;}function extractFootnotesDefinitionsFromContent(_0x17965d,_0x3a6962){const _0x22977b=findFootnoteDefinitionsElementInFragment(_0x17965d,_0x3a6962);if(!_0x22977b)return null;const _0x37104f=Object['create'](null);for(const _0x1e730f of _0x22977b['getChildren']())_0x1e730f['is']('element','footnoteDefinition')&&_0x1e730f['hasAttribute']('footnoteId')&&(_0x37104f[_0x1e730f['getAttribute']('footnoteId')]=_0x17965d['cloneElement'](_0x1e730f,!0x0));return Object['keys'](_0x37104f)['length']?_0x37104f:null;}function regenerateFootnoteIdsInFragment(_0x12c3dd,_0x275bc6,_0x5d59c3){const _0x56ef7d=Object['create'](null);for(const {item:_0x3093d9}of _0x12c3dd['createRangeIn'](_0x275bc6))if(_0x3093d9['is']('element','footnoteRef')){const _0x1ce354=_0x3093d9['getAttribute']('footnoteId');if(!_0x5d59c3(_0x1ce354))continue;_0x56ef7d[_0x1ce354]||(_0x56ef7d[_0x1ce354]=ckeditor5['uid']()),_0x12c3dd['setAttribute']('footnoteId',_0x56ef7d[_0x1ce354],_0x3093d9);}return _0x56ef7d;}class FootnotesUI extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x35b43f}=this,{componentFactory:_0x9bd9b0}=_0x35b43f['ui'];_0x9bd9b0['add']('insertFootnote',getInsertFootnoteButtonCreator(_0x35b43f,ckeditor5['ButtonView'])),_0x9bd9b0['add']('menuBar:insertFootnote',getInsertFootnoteButtonCreator(_0x35b43f,ckeditor5['MenuBarMenuListItemButtonView'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4d9c65=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x395df1;for(const _0x395e99 in _0x4d9c65){const _0x53b880=_0x395e99,_0x2a4915=_0x4d9c65[_0x53b880];if('footnotesLicenseKeyValid'==_0x2a4915||'footnotesLicenseKeyInvalid'==_0x2a4915||'footnotesLicenseKeyExpired'==_0x2a4915||'footnotesLicenseKeyDomainLimit'==_0x2a4915||'footnotesLicenseKeyNotAllowed'==_0x2a4915||'footnotesLicenseKeyEvaluationLimit'==_0x2a4915||'footnotesLicenseKeyUsageLimit'==_0x2a4915){delete _0x4d9c65[_0x53b880],_0x395df1=_0x2a4915,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x395df1&&_0x4d9c65['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x395df1&&_0x4d9c65['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x395df1&&_0x4d9c65['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x395df1&&_0x4d9c65['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x395df1&&_0x4d9c65['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x395df1&&_0x4d9c65['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function getInsertFootnoteButtonCreator(_0x1bedcd,_0x2fc43d){const _0x254435=_0x1bedcd['commands']['get']('insertFootnote');return _0x778e09=>{const {t:t}=_0x778e09,_0x301ecd=new _0x2fc43d(_0x778e09),_0x5330bd=_0x301ecd instanceof ckeditor5['MenuBarMenuListItemButtonView'];return _0x301ecd['bind']('isEnabled')['to'](_0x254435,'isEnabled'),_0x301ecd['set']({'label':t(_0x5330bd?'Footnote':'Insert\x20footnote'),'icon':ckeditor5['IconFootnote'],'tooltip':!0x0}),_0x301ecd['on']('execute',()=>{_0x254435['execute'](),_0x1bedcd['editing']['view']['focus']();}),_0x301ecd;};}class Footnotes extends ckeditor5['Plugin']{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[FootnotesEditing,FootnotesClipboard,FootnotesUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const _0x15514d=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class FootnotesStyleCommand extends ckeditor5['Command']{['refresh'](){const {editor:_0x859fab}=this,_0x30a47a=_0x859fab['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x30a47a,this['value']=_0x30a47a?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x44b672}){const {editor:_0x5746c1}=this,_0x47d339=_0x5746c1['plugins']['get'](FootnotesTracker),_0x6d69e7=_0x47d339['getFootnotesDefinitionsObjectElement']();_0x6d69e7&&_0x15514d['includes'](_0x44b672)&&_0x5746c1['model']['change'](_0x221721=>{_0x221721['setAttribute']('footnotesListStyle',_0x44b672,_0x6d69e7),_0x47d339['_updateFootnotesCounters'](_0x221721);});}}class FootnotesStartCommand extends ckeditor5['Command']{['refresh'](){const {editor:_0x4d8f27}=this,_0x2a0e85=_0x4d8f27['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2a0e85,this['value']=_0x2a0e85?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x4ae31c}){const {editor:_0x3fe7ac}=this,_0xdf0bc=_0x3fe7ac['plugins']['get'](FootnotesTracker),_0xe6c370=_0xdf0bc['getFootnotesDefinitionsObjectElement']();_0xe6c370&&Number['isInteger'](_0x4ae31c)&&_0x3fe7ac['model']['change'](_0x2da4de=>{_0x2da4de['setAttribute']('footnotesListStart',_0x4ae31c,_0xe6c370),_0xdf0bc['_updateFootnotesCounters'](_0x2da4de);});}}class FootnotesPropertiesEditing extends ckeditor5['Plugin']{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[FootnotesEditing,FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5849d3}=this;_0x5849d3['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x5849d3['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x5849d3['commands']['add']('footnotesStyle',new FootnotesStyleCommand(_0x5849d3)),_0x5849d3['commands']['add']('footnotesStart',new FootnotesStartCommand(_0x5849d3)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x13f765}=this,{schema:_0x12596c}=_0x13f765['model'];_0x12596c['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x50935f}=this,{conversion:_0xb500b1,model:_0x52af69}=_0x50935f,{schema:_0x1d8a84}=_0x52af69;_0xb500b1['for']('upcast')['add'](_0x86d679=>{_0x86d679['on']('element:ol',(_0x5921a5,_0x14c4ec,_0x246056)=>{const _0x186104=_0x14c4ec['viewItem'],_0x53d20c=_0x14c4ec['modelCursor']?.['parent'];_0x186104['hasClass']('footnotes-list')&&_0x53d20c?.['is']('element','footnotesDefinitions')&&(upcastFootnotesListStart(_0x186104,_0x53d20c,_0x246056,_0x1d8a84),upcastFootnotesListStyle(_0x186104,_0x53d20c,_0x246056,_0x1d8a84));});}),_0xb500b1['for']('downcast')['add'](_0x5dc803=>{_0x5dc803['on']('attribute:footnotesListStart:footnotesDefinitions',downcastFootnotesListStart()),_0x5dc803['on']('attribute:footnotesListStyle:footnotesDefinitions',downcastFootnotesListStyle());});}['_definePostfixer'](){const {editor:_0x34d3ca}=this,{model:_0x5d6421}=_0x34d3ca,_0x5b9aae=_0x34d3ca['plugins']['get'](FootnotesTracker),_0x22c5f6=this['_getDefaultListStyle'](),_0x39d755=this['_getDefaultStartIndex']();_0x5d6421['document']['registerPostFixer'](_0x284ca9=>{const _0x571c8f=_0x5d6421['document']['differ']['getChanges']();let _0x33d109=!0x1;for(const _0x15115b of _0x571c8f){if('insert'!==_0x15115b['type']||'$text'===_0x15115b['name'])continue;const _0x3c72f7=_0x5d6421['createRangeOn'](_0x15115b['position']['nodeAfter']);for(const _0xa43901 of _0x3c72f7['getItems']())_0xa43901['is']('element','footnotesDefinitions')&&(!_0xa43901['hasAttribute']('footnotesListStart')&&_0x5d6421['schema']['checkAttribute'](_0xa43901,'footnotesListStart')&&(_0x284ca9['setAttribute']('footnotesListStart',_0x39d755,_0xa43901),_0x33d109=!0x0),!_0xa43901['hasAttribute']('footnotesListStyle')&&_0x5d6421['schema']['checkAttribute'](_0xa43901,'footnotesListStyle')&&(_0x284ca9['setAttribute']('footnotesListStyle',_0x22c5f6,_0xa43901),_0x33d109=!0x0));}return _0x33d109&&_0x5b9aae['_updateFootnotesCounters'](_0x284ca9),_0x33d109;});}['_defineFormatter'](){const {editor:_0x56e7d7}=this;_0x56e7d7['plugins']['get'](FootnotesTracker)['setFootnoteFormatter'](_0x229093=>this['_formatFootnoteListValue'](_0x229093));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x3a09e9,value:_0x212727,digits:_0x22fcd9}){const _0x3e3947=_0x3a09e9['getAttribute']('footnotesListStyle'),_0x4cb2ef=_0x3a09e9['getAttribute']('footnotesListStart'),_0x5d104d=Math['floor'](_0x212727)+(_0x4cb2ef??0x1)-0x1;switch(_0x3e3947){case'decimal-leading-zero':return formatDecimalLeadingZero(_0x5d104d,Math['max'](0x2,_0x22fcd9));case'lower-alpha':case'lower-latin':return toLatin(_0x5d104d,!0x1);case'upper-alpha':case'upper-latin':return toLatin(_0x5d104d,!0x0);case'lower-roman':return toRoman(_0x5d104d,!0x1);case'upper-roman':return toRoman(_0x5d104d,!0x0);default:return String(_0x5d104d);}}}function upcastFootnotesListStart(_0x200b46,_0x4ae88e,_0x327734,_0x124624){if(!_0x124624['checkAttribute'](_0x4ae88e,'footnotesListStart'))return;let _0x26134a=0x1;const _0x57e5af=_0x327734['consumable']['consume'](_0x200b46,{'attributes':'start'});if(_0x57e5af){const _0x40e60b=Number['parseInt'](_0x200b46['getAttribute']('start'),0xa);Number['isNaN'](_0x40e60b)||(_0x26134a=_0x40e60b);}!_0x57e5af&&_0x4ae88e['hasAttribute']('footnotesListStart')||_0x327734['writer']['setAttribute']('footnotesListStart',_0x26134a,_0x4ae88e);}function upcastFootnotesListStyle(_0x3bc0ac,_0x2fde83,_0x2f641d,_0x4fc9e8){if(!_0x4fc9e8['checkAttribute'](_0x2fde83,'footnotesListStyle'))return;let _0x5de300='decimal',_0x2c372=!0x1;if(_0x2f641d['consumable']['consume'](_0x3bc0ac,{'attributes':'type'})){const _0x4fe52d={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x3bc0ac['getAttribute']('type')];_0x4fe52d&&(_0x5de300=_0x4fe52d),_0x2c372=!0x0;}_0x2f641d['consumable']['consume'](_0x3bc0ac,{'styles':'list-style-type'})&&(_0x5de300=normalizeFootnotesListStyle(_0x3bc0ac['getStyle']('list-style-type')),_0x2c372=!0x0),!_0x2c372&&_0x2fde83['hasAttribute']('footnotesListStyle')||_0x2f641d['writer']['setAttribute']('footnotesListStyle',_0x5de300,_0x2fde83);}function normalizeFootnotesListStyle(_0x544fc7){switch(_0x544fc7){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x544fc7;}}function downcastFootnotesListStart(){return(_0x15a77c,_0x28950c,_0x3ea116)=>{if(!_0x3ea116['consumable']['consume'](_0x28950c['item'],_0x15a77c['name']))return;const _0x2b8d76=getOlElementFromFootnotesDefinitions(_0x28950c['item'],_0x3ea116['mapper']),{attributeNewValue:_0xd408c4}=_0x28950c;null==_0xd408c4||0x1===_0xd408c4?_0x3ea116['writer']['removeAttribute']('start',_0x2b8d76):_0x3ea116['writer']['setAttribute']('start',String(_0xd408c4),_0x2b8d76);};}function downcastFootnotesListStyle(){return(_0x339f6e,_0x5f5af3,_0x111800)=>{if(!_0x111800['consumable']['consume'](_0x5f5af3['item'],_0x339f6e['name']))return;const _0x541745=getOlElementFromFootnotesDefinitions(_0x5f5af3['item'],_0x111800['mapper']),{attributeNewValue:_0x5312cc}=_0x5f5af3;_0x5312cc&&'decimal'!==_0x5312cc?_0x111800['writer']['setStyle']('list-style-type',_0x5312cc,_0x541745):_0x111800['writer']['removeStyle']('list-style-type',_0x541745);};}function getOlElementFromFootnotesDefinitions(_0x28da4f,_0x8edfe9){const _0x3f0c51=_0x8edfe9['toViewElement'](_0x28da4f);return Array['from'](_0x3f0c51['getChildren']())['find'](_0x13563c=>_0x13563c['is']('element','ol')&&_0x13563c['hasClass']('footnotes-list'));}function formatDecimalLeadingZero(_0x31d8d8,_0x58ac58){return String(_0x31d8d8)['padStart'](_0x58ac58,'0');}function toLatin(_0x53a68e,_0x333b29){let _0x17a5d2='',_0x3d83b2=_0x53a68e;for(;_0x3d83b2>0x0;){const _0x2dbd16=(_0x3d83b2-0x1)%0x1a;_0x17a5d2=String['fromCharCode'](0x61+_0x2dbd16)+_0x17a5d2,_0x3d83b2=Math['floor']((_0x3d83b2-0x1)/0x1a);}return _0x333b29?_0x17a5d2['toUpperCase']():_0x17a5d2;}const _0xad6c14=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function toRoman(_0x523a21,_0x78cf33){let _0xa2a5c='',_0x2bd4c9=_0x523a21;for(const {value:_0x8c14dc,numeral:_0x6473db}of _0xad6c14)for(;_0x2bd4c9>=_0x8c14dc;)_0xa2a5c+=_0x6473db,_0x2bd4c9-=_0x8c14dc;return _0x78cf33?_0xa2a5c:_0xa2a5c['toLowerCase']();}class FootnotesDefinitionsPropertiesView extends ckeditor5['View']{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ckeditor5['FocusTracker']();['keystrokes']=new ckeditor5['KeystrokeHandler']();['focusables']=new ckeditor5['ViewCollection']();['focusCycler'];constructor(_0x39fe41,{styleButtonViews:_0x1b190e,styleGridAriaLabel:_0x487c2f}){super(_0x39fe41),(this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x1b190e,_0x487c2f),[this['startIndexFieldView'],this['additionalProperties']]=this['_appendAdditionalPropertiesCollapsibleView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-footnotes-definitions-properties']},'children':this['children']}));}['render'](){if(super['render'](),this['stylesView']){this['focusables']['add'](this['stylesView']),this['focusTracker']['add'](this['stylesView']['element']);for(const _0x30e675 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x30e675['element']);ckeditor5['addKeyboardHandlingForGrid']({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>ckeditor5['global']['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x4a45fb=_0x5bdfe9=>_0x5bdfe9['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4a45fb),this['keystrokes']['set']('arrowleft',_0x4a45fb),this['keystrokes']['set']('arrowup',_0x4a45fb),this['keystrokes']['set']('arrowdown',_0x4a45fb);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x3dba71,_0x209580){const _0x534f5c=new ckeditor5['View'](this['locale']);return _0x534f5c['children']=_0x534f5c['createCollection'](),_0x534f5c['children']['addMany'](_0x3dba71),_0x534f5c['setTemplate']({'tag':'div','attributes':{'aria-label':_0x209580,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x534f5c['children']}),_0x534f5c['children']['delegate']('execute')['to'](this),_0x534f5c['focus']=function(){for(const _0x480190 of this['children'])if(_0x480190 instanceof ckeditor5['ButtonView']&&_0x480190['isOn'])return void _0x480190['focus']();this['children']['first']['focus']();},_0x534f5c['focusTracker']=new ckeditor5['FocusTracker'](),_0x534f5c['keystrokes']=new ckeditor5['KeystrokeHandler'](),_0x534f5c['render'](),_0x534f5c['keystrokes']['listenTo'](_0x534f5c['element']),this['children']['add'](_0x534f5c),_0x534f5c;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x2d3bfd=this['_createStartIndexPropertyView'](),_0x53e6e7=[_0x2d3bfd],_0x360dd2=new ckeditor5['CollapsibleView'](this['locale'],_0x53e6e7);return _0x360dd2['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x360dd2['buttonView']['bind']('isEnabled')['toMany'](_0x53e6e7,'isEnabled',(..._0x527e06)=>_0x527e06['some'](_0x138a7f=>_0x138a7f)),_0x360dd2['buttonView']['on']('change:isEnabled',(_0x26706d,_0x80477,_0x1eabfa)=>{_0x1eabfa||(_0x360dd2['isCollapsed']=!0x0);}),this['children']['add'](_0x360dd2),[_0x2d3bfd,_0x360dd2];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x55a9e3=new ckeditor5['LabeledFieldView'](this['locale'],ckeditor5['createLabeledInputNumber']);return _0x55a9e3['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x55a9e3['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x55a9e3['fieldView']['on']('input',()=>{const _0xb35685=_0x55a9e3['fieldView']['element'],_0x3deb4f=_0xb35685['valueAsNumber'];Number['isNaN'](_0x3deb4f)?_0x55a9e3['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0xb35685['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x3deb4f}):_0x55a9e3['errorText']=t(_0x3deb4f<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x55a9e3;}}class FootnotesPropertiesUI extends ckeditor5['Plugin']{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[ckeditor5['ContextualBalloon'],ckeditor5['WidgetToolbarRepository']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2d9388}=this,{componentFactory:_0x28a05c}=_0x2d9388['ui'];_0x2d9388['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x28a05c['add']('footnotesStyle',getFootnotesStyleDropdownViewCreator(_0x2d9388));}['afterInit'](){const {editor:_0x256728}=this,{t:t}=_0x256728['locale'],_0x5859e9=_0x256728['plugins']['get'](ckeditor5['WidgetToolbarRepository']),{defaultPositions:_0x4733d2}=ckeditor5['BalloonPanelView'];_0x5859e9['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x256728['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x591af4=>{let _0x11d8f4=_0x591af4['getFirstPosition']()?.['parent'];return _0x11d8f4?.['is']('$text')&&(_0x11d8f4=_0x11d8f4['parent']),_0x11d8f4?.['is']('element')?_0x11d8f4['findAncestor'](isFootnotesDefinitionsWidget):null;},'positions':[_0x4733d2['southArrowNorth'],_0x4733d2['southArrowNorthMiddleWest'],_0x4733d2['southArrowNorthMiddleEast'],_0x4733d2['southArrowNorthWest'],_0x4733d2['southArrowNorthEast'],_0x4733d2['northArrowSouth'],_0x4733d2['northArrowSouthMiddleWest'],_0x4733d2['northArrowSouthMiddleEast'],_0x4733d2['northArrowSouthWest'],_0x4733d2['northArrowSouthEast'],_0x4733d2['viewportStickyNorth']]});}}function getFootnotesStyleDropdownViewCreator(_0x580d9c){return _0x4b15cc=>{const {t:t}=_0x4b15cc,_0x1a6122=_0x580d9c['commands']['get']('footnotesStyle'),_0x4505de=ckeditor5['createDropdown'](_0x4b15cc),{buttonView:_0x471978}=_0x4505de;return _0x4505de['class']='ck-footnotes-styles-dropdown',_0x4505de['bind']('isEnabled')['to'](_0x1a6122,'isEnabled'),_0x471978['set']({'label':t('Footnotes\x20style'),'icon':ckeditor5['IconFootnote'],'tooltip':!0x0}),_0x4505de['once']('change:isOpen',()=>{const _0x1e646c=createFootnotesDefinitionsPropertiesView({'editor':_0x580d9c,'dropdownView':_0x4505de});_0x4505de['panelView']['children']['add'](_0x1e646c);}),_0x4505de;};}function createFootnotesDefinitionsPropertiesView({editor:_0x8fc26a,dropdownView:_0x2ff556}){const {t:t}=_0x8fc26a['locale'],_0x1a9008=t('Footnotes\x20definitions\x20styles'),_0x3fc77d=createFootnotesDefinitionStyleButtons(_0x8fc26a),_0x25b04e=new FootnotesDefinitionsPropertiesView(_0x8fc26a['locale'],{'styleGridAriaLabel':_0x1a9008,'styleButtonViews':_0x3fc77d}),_0x59e6cb=_0x8fc26a['commands']['get']('footnotesStart');return _0x25b04e['startIndexFieldView']['bind']('isEnabled')['to'](_0x59e6cb),_0x25b04e['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x59e6cb),_0x25b04e['on']('footnotesListStart',(_0x522d03,_0x2d7f53)=>{_0x8fc26a['execute']('footnotesStart',{'value':_0x2d7f53['startIndex']});}),_0x25b04e['delegate']('execute')['to'](_0x2ff556),_0x25b04e;}function createFootnotesDefinitionStyleButtons(_0x17d925){const t=_0x17d925['locale']['t'];return[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':ckeditor5['IconListStyleDecimal']},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':ckeditor5['IconListStyleDecimalLeadingZero']},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':ckeditor5['IconListStyleLowerRoman']},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':ckeditor5['IconListStyleUpperRoman']},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':ckeditor5['IconListStyleLowerLatin']},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':ckeditor5['IconListStyleUpperLatin']}]['map'](getFootnoteStyleButtonCreator(_0x17d925));}function getFootnoteStyleButtonCreator(_0x572900){const _0x233b14=_0x572900['locale'];return({label:_0x587793,icon:_0x17df8e,tooltip:_0x4f8289,style:_0x33a802})=>{const _0x5875e4=_0x572900['commands']['get']('footnotesStyle'),_0x177700=new ckeditor5['ButtonView'](_0x233b14);return _0x177700['set']({'label':_0x587793,'icon':_0x17df8e,'tooltip':_0x4f8289}),_0x177700['bind']('isOn')['to'](_0x5875e4,'value',_0x3b510b=>_0x3b510b===_0x33a802),_0x177700['bind']('isEnabled')['to'](_0x5875e4,'isEnabled'),_0x177700['on']('execute',()=>{_0x572900['execute']('footnotesStyle',{'value':_0x33a802}),_0x572900['editing']['view']['focus']();}),_0x177700;};}class FootnotesProperties extends ckeditor5['Plugin']{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[FootnotesPropertiesEditing,FootnotesPropertiesUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const _0x3b8106='copyFormat',_0x13024e='pasteFormat',_0x1cf1cd='ck-format-painter-active';class CopyFormatCommand extends ckeditor5['Command']{constructor(_0x39e6d5){super(_0x39e6d5),this['value']=void 0x0,this['on']('change:isEnabled',(_0x28b1dc,_0x1f8283,_0x3226e1)=>{_0x3226e1||this['reset']();}),this['on']('change:value',()=>_0x39e6d5['commands']['get'](_0x13024e)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x38ab66=this['editor']['model'],_0x253dc3=_0x38ab66['document']['selection'];return Object['fromEntries'](Array['from'](_0x253dc3['getAttributes']())['filter'](([_0xc5d4b5])=>_0x38ab66['schema']['getAttributeProperties'](_0xc5d4b5)['isFormatting']));}}class PasteFormatCommand extends ckeditor5['Command']{constructor(_0xbc28d8){super(_0xbc28d8),this['_removeFormatCommand']=new RemoveFormatCommandAlias(_0xbc28d8);}['execute'](_0x38f178={}){const _0x4ebefb=this['editor']['model'],_0x457257=_0x4ebefb['document']['selection'],_0x234515=Array['from'](_0x457257['getRanges']()),_0x2936a7=_0x457257['isCollapsed']?[this['_createRangeOnEntireWord'](_0x4ebefb,_0x457257)]:_0x234515;_0x4ebefb['change'](_0x4b52a1=>{_0x4b52a1['setSelection'](_0x2936a7),this['_removeFormatCommand']['execute']();for(const _0x5a3ce3 in _0x38f178)for(const _0x20b577 of _0x4ebefb['schema']['getValidRanges'](_0x2936a7,_0x5a3ce3))_0x4b52a1['setAttribute'](_0x5a3ce3,_0x38f178[_0x5a3ce3],_0x20b577);_0x4b52a1['setSelection'](_0x234515);});}['_createRangeOnEntireWord'](_0x1873c0,_0x315da9){const _0x454a41=_0x1873c0['createSelection'](_0x315da9);_0x1873c0['modifySelection'](_0x454a41,{'unit':'word','direction':'backward'});const _0x11b763=_0x454a41['getFirstPosition']();_0x1873c0['modifySelection'](_0x454a41,{'unit':'word','direction':'forward'});const _0x4a8b68=_0x454a41['getLastPosition']();return _0x1873c0['createRange'](_0x11b763,_0x4a8b68);}}class RemoveFormatCommandAlias extends ckeditor5['Command']{['execute'](){const _0x4bff16=this['editor']['model'],_0x5d5315=_0x4bff16['schema'];_0x4bff16['change'](_0x5b15e9=>{for(const _0x4f340e of this['_getFormattingItems'](_0x4bff16['document']['selection'],_0x5d5315))if(_0x4f340e['is']('selection')){for(const _0x1b80b2 of this['_getFormattingAttributes'](_0x4f340e,_0x5d5315))_0x5b15e9['removeSelectionAttribute'](_0x1b80b2);}else{const _0x36fc66=_0x5b15e9['createRangeOn'](_0x4f340e);for(const _0x34c249 of this['_getFormattingAttributes'](_0x4f340e,_0x5d5315))_0x5b15e9['removeAttribute'](_0x34c249,_0x36fc66);}});}*['_getFormattingItems'](_0x493fa0,_0x2fd549){const _0x2f7823=_0x3c3291=>!!ckeditor5['first'](this['_getFormattingAttributes'](_0x3c3291,_0x2fd549));for(const _0x1bc584 of _0x493fa0['getRanges']())for(const _0x542530 of _0x1bc584['getItems']())!_0x2fd549['isBlock'](_0x542530)&&_0x2f7823(_0x542530)&&(yield _0x542530);for(const _0xc1ea7 of _0x493fa0['getSelectedBlocks']())_0x2f7823(_0xc1ea7)&&(yield _0xc1ea7);_0x2f7823(_0x493fa0)&&(yield _0x493fa0);}*['_getFormattingAttributes'](_0x1c411c,_0x210972){for(const [_0x223681]of _0x1c411c['getAttributes']()){const _0x336282=_0x210972['getAttributeProperties'](_0x223681);_0x336282&&_0x336282['isFormatting']&&(yield _0x223681);}}}class FormatPainterEditing extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x54bc56=this['editor'];_0x54bc56['commands']['add'](_0x3b8106,new CopyFormatCommand(_0x54bc56)),_0x54bc56['commands']['add'](_0x13024e,new PasteFormatCommand(_0x54bc56)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xda1b17=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x232534;for(const _0x2900b3 in _0xda1b17){const _0x4b7612=_0x2900b3,_0x153e97=_0xda1b17[_0x4b7612];if('formatPainterLicenseKeyValid'==_0x153e97||'formatPainterLicenseKeyInvalid'==_0x153e97||'formatPainterLicenseKeyExpired'==_0x153e97||'formatPainterLicenseKeyDomainLimit'==_0x153e97||'formatPainterLicenseKeyNotAllowed'==_0x153e97||'formatPainterLicenseKeyEvaluationLimit'==_0x153e97||'formatPainterLicenseKeyUsageLimit'==_0x153e97){delete _0xda1b17[_0x4b7612],_0x232534=_0x153e97,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x232534&&_0xda1b17['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x232534&&_0xda1b17['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x232534&&_0xda1b17['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x232534&&_0xda1b17['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x232534&&_0xda1b17['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyUsageLimit'==_0x232534&&_0xda1b17['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function getTranslation$b(_0x4f3daf,_0x195078){const t=_0x4f3daf['t'];switch(_0x195078){case'Paint\x20formatting':return t('Paint\x20formatting');case'Copy\x20text\x20formatting':return t('Copy\x20text\x20formatting');case'Paste\x20text\x20formatting':return t('Paste\x20text\x20formatting');case'Continuous\x20painting':return t('Continuous\x20painting');case'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.':return t('Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.');case'Formatting\x20copied.':return t('Formatting\x20copied.');case'Pasted\x20formatting.':return t('Pasted\x20formatting.');default:return _0x195078;}}class FormatPainterUI extends/* #__PURE__ -- @preserve */
ckeditor5['DomEmitterMixin'](ckeditor5['Plugin']){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5a9ea6=this['editor'];_0x5a9ea6['editing']['view']['addObserver'](ckeditor5['ClickObserver']),_0x5a9ea6['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':getTranslation$b(_0x5a9ea6['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':getTranslation$b(_0x5a9ea6['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x5a9ea6['ui']['componentFactory']['add']('formatPainter',_0x418175=>{const _0x13b960=ckeditor5['createDropdown'](_0x418175,ckeditor5['SplitButtonView']),_0x3e36cd=_0x5a9ea6['commands']['get'](_0x3b8106);_0x13b960['buttonView']['set']({'label':getTranslation$b(_0x5a9ea6['locale'],'Paint\x20formatting'),'icon':ckeditor5['IconPaintRoller'],'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x13b960['class']='ck-format-painter-dropdown',_0x3e36cd&&(_0x13b960['bind']('isEnabled')['to'](_0x3e36cd,'isEnabled'),this['listenTo'](_0x3e36cd,'change:isEnabled',(_0x9ddf9e,_0x6c1b3a,_0x2934f9)=>{_0x2934f9||this['_finishPainting']();}),_0x13b960['buttonView']['bind']('isOn')['to'](_0x3e36cd,'value',_0x5d3df7=>!!_0x5d3df7),this['listenTo'](_0x5a9ea6,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x3e36cd,'change:value',(_0x65a8ae,_0x55db58,_0x583e29)=>{this['_toggleSpecialCursor'](!!_0x583e29);}));const _0x4afe3e=new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$b(_0x5a9ea6['locale'],'Continuous\x20painting'),'tooltip':getTranslation$b(_0x5a9ea6['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});ckeditor5['addListToDropdown'](_0x13b960,new ckeditor5['Collection']([{'type':'switchbutton','model':_0x4afe3e}]),{'role':'menu'});const _0x3dd375=()=>{this['_copyFormatting'](),this['listenTo'](ckeditor5['global']['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x4afe3e['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x13b960,'execute',()=>{_0x4afe3e['isOn']=!_0x4afe3e['isOn'];}),this['listenTo'](_0x13b960['buttonView'],'execute',()=>{_0x5a9ea6['editing']['view']['focus'](),_0x13b960['buttonView']['isOn']?this['_finishPainting']():_0x3dd375();}),_0x5a9ea6['keystrokes']['set']('Ctrl+Alt+C',(_0x390f2c,_0x4e70e0)=>{_0x3dd375(),_0x4afe3e['isOn']=!0x0,_0x4e70e0();},{'priority':'high'}),_0x5a9ea6['keystrokes']['set']('Ctrl+Alt+V',(_0x496b54,_0x147bb9)=>{_0x13b960['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x4afe3e['isOn']||this['_finishPainting'](),_0x147bb9());},{'priority':'high'}),_0x5a9ea6['keystrokes']['set']('Esc',(_0x381633,_0x20d810)=>{_0x13b960['buttonView']['isOn']&&(_0x4afe3e['isOn']=!0x1,this['_finishPainting'](),_0x20d810());}),_0x13b960;});}['afterInit'](){_0x4084d6(this);}['_toggleSpecialCursor'](_0x5875a8){this['editor']['editing']['view']['change'](_0x5a8b64=>{for(const _0x520ce6 of this['editor']['editing']['view']['document']['roots'])_0x5875a8?_0x5a8b64['addClass'](_0x1cf1cd,_0x520ce6):_0x5a8b64['removeClass'](_0x1cf1cd,_0x520ce6);});}['_copyFormatting'](){const {editor:_0x648e65}=this;_0x648e65['execute'](_0x3b8106),_0x648e65['ui']['ariaLiveAnnouncer']['announce'](getTranslation$b(_0x648e65['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x53ec62}=this,_0x14cfd3=_0x53ec62['commands']['get'](_0x3b8106)['value'];_0x53ec62['execute'](_0x13024e,_0x14cfd3),_0x53ec62['ui']['ariaLiveAnnouncer']['announce'](getTranslation$b(_0x53ec62['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](_0x3b8106)['reset'](),this['stopListening'](ckeditor5['global']['window']['document'],'mouseup');}}async function _0x4084d6(_0x52d6a1){const _0xfad41d=_0x29fb63([0x51,0x69,0x4c,0x52,0x43,0x53,0x4f,0x73,0x5a,0x38,0x70,0x41,0x76,0x44,0x64,0x61,0x50,0x4a,0x55,0x45,0x33,0x6f,0x78,0x6a,0x4b,0x6c,0x7a,0x4d,0x32,0x75,0x58,0x67,0x72,0x74,0x47,0x66,0x65,0x79,0x68,0x35,0x63,0x4e,0x46,0x6b,0x6d,0x42,0x77,0x39,0x49,0x36,0x57,0x48,0x30,0x71,0x6e,0x62,0x34,0x54,0x31,0x37,0x59,0x56]),_0x3395bc=window[_0x29fb63([0x44,0x61,0x74,0x65])][_0x29fb63([0x6e,0x6f,0x77])](),_0x5a9641=_0x52d6a1[_0x29fb63([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x591392=new window[(_0x29fb63([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59676c=>{_0x5a9641[_0x29fb63([0x6f,0x6e,0x63,0x65])](_0x29fb63([0x72,0x65,0x61,0x64,0x79]),_0x59676c);}),_0x52e4f0={[_0x29fb63([0x6b,0x74,0x79])]:_0x29fb63([0x45,0x43]),[_0x29fb63([0x75,0x73,0x65])]:_0x29fb63([0x73,0x69,0x67]),[_0x29fb63([0x63,0x72,0x76])]:_0x29fb63([0x50,0x2d,0x32,0x35,0x36]),[_0x29fb63([0x78])]:_0x29fb63([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x29fb63([0x79])]:_0x29fb63([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x29fb63([0x61,0x6c,0x67])]:_0x29fb63([0x45,0x53,0x32,0x35,0x36])},_0x1621cd=_0x5a9641[_0x29fb63([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x29fb63([0x67,0x65,0x74])](_0x29fb63([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x21f59c=await(async function(){let _0x492747,_0x392104=null,_0x48d53e=null;try{if(_0x1621cd==_0x29fb63([0x47,0x50,0x4c]))return _0x29fb63([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x492747=(function(){const _0xfb97da=_0x1621cd[_0x29fb63([0x73,0x70,0x6c,0x69,0x74])](_0x29fb63([0x2e]));if(0x3!=_0xfb97da[_0x29fb63([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x4b2808=_0xfb97da[0x1];return _0xe4e3d0(_0x4b2808);function _0xe4e3d0(_0x5586a8){const _0x16ef74=_0x1f6e5e(_0x5586a8);return _0x16ef74&&_0x327f60()?_0x16ef74:null;function _0x327f60(){const _0x1f135c=_0x16ef74[_0x29fb63([0x6a,0x74,0x69])],_0x5a8045=window[_0x29fb63([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f135c[_0x29fb63([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f135c[_0x29fb63([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3bd94e={..._0x16ef74,[_0x29fb63([0x6a,0x74,0x69])]:_0x1f135c[_0x29fb63([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1f135c[_0x29fb63([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3bd94e[_0x29fb63([0x76,0x63])],_0x3e3221(_0x3bd94e)==_0x5a8045;}}}()),!_0x492747)return _0x29fb63([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x492747[_0x29fb63([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x48d53e=function(_0x468273,_0x4a1c12){return new window[(_0x29fb63([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x463dc6=>{if(_0x81b863())return _0x463dc6(_0x29fb63([0x56,0x61,0x6c,0x69,0x64]));_0x4365fa(),_0x5a9641[_0x29fb63([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x29fb63([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2eef41=!0x1;const _0xd0bf4c=ckeditor5['uid']();function _0x229d6e(_0x27324e){return!!_0x27324e&&(typeof _0x27324e===_0x29fb63([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x27324e===_0x29fb63([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x27324e[_0x29fb63([0x74,0x68,0x65,0x6e])]===_0x29fb63([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x27324e[_0x29fb63([0x63,0x61,0x74,0x63,0x68])]===_0x29fb63([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3e827f(_0x391039){_0x59cb62(_0x391039)[_0x29fb63([0x74,0x68,0x65,0x6e])](_0x2c1ca8=>{if(!_0x2c1ca8||_0x2c1ca8[_0x29fb63([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x29fb63([0x6f,0x6b]))return _0x29fb63([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x442b0f(_0x3e3221(_0xd0bf4c+_0x4a1c12))!=_0x2c1ca8[_0x29fb63([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x29fb63([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x29fb63([0x56,0x61,0x6c,0x69,0x64]);})[_0x29fb63([0x74,0x68,0x65,0x6e])](_0x5975a3=>(_0x51d472(),_0x5975a3),()=>{const _0x5c7815=_0x458ce4();return null==_0x5c7815?(_0x51d472(),_0x29fb63([0x56,0x61,0x6c,0x69,0x64])):_0x29fb63(_0x3395bc-_0x5c7815>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x29fb63([0x74,0x68,0x65,0x6e])](_0x463dc6)[_0x29fb63([0x63,0x61,0x74,0x63,0x68])](()=>{_0x463dc6(_0x29fb63([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x141765=0x36ee80;function _0x51d472(){const _0x165598=_0x29fb63([0x6c,0x6c,0x63,0x74,0x2d])+_0x442b0f(_0x3e3221(_0x468273)),_0x1fc983=_0x5c4cc5(_0x442b0f(window[_0x29fb63([0x4d,0x61,0x74,0x68])][_0x29fb63([0x63,0x65,0x69,0x6c])](_0x3395bc/_0x141765)));window[_0x29fb63([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29fb63([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x165598,_0x1fc983);}function _0x458ce4(){const _0x19c26d=_0x29fb63([0x6c,0x6c,0x63,0x74,0x2d])+_0x442b0f(_0x3e3221(_0x468273)),_0x400408=window[_0x29fb63([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29fb63([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x19c26d);return _0x400408?window[_0x29fb63([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c4cc5(_0x400408),0x10)*_0x141765:null;}function _0x59cb62(_0x2f21e3){return new window[(_0x29fb63([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x48bf67,_0x345824)=>{_0x2f21e3[_0x29fb63([0x74,0x68,0x65,0x6e])](_0x48bf67,_0x345824),window[_0x29fb63([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x345824,0x1d4c0);});}}_0x5a9641[_0x29fb63([0x6f,0x6e])](_0x29fb63([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x311db3,_0x5dc6ec)=>{if(_0x5dc6ec[0x0]!=_0x468273)return _0x463dc6(_0x29fb63([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5dc6ec[0x1]={..._0x5dc6ec[0x1],[_0x29fb63([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xd0bf4c};},{[_0x29fb63([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29fb63([0x68,0x69,0x67,0x68])}),_0x5a9641[_0x29fb63([0x6f,0x6e])](_0x29fb63([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1dd21d=>{_0x229d6e(_0x1dd21d[_0x29fb63([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2eef41=!0x0,_0x3e827f(_0x1dd21d[_0x29fb63([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x29fb63([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29fb63([0x6c,0x6f,0x77])}),_0x591392[_0x29fb63([0x74,0x68,0x65,0x6e])](()=>{_0x2eef41||_0x463dc6(_0x29fb63([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x81b863(){return _0x5a9641[_0x29fb63([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29fb63([0x76,0x69,0x65,0x77])][_0x29fb63([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x29fb63([0x61,0x75,0x74,0x6f]);}function _0x4365fa(){_0x5a9641[_0x29fb63([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29fb63([0x76,0x69,0x65,0x77])][_0x29fb63([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x29fb63([0x61,0x75,0x74,0x6f]);}}(_0x492747[_0x29fb63([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x492747[_0x29fb63([0x6a,0x74,0x69])]));const _0x31b969=await(async function(){let _0x2dcc77=!0x0;try{const _0x58b230=_0x1621cd[_0x29fb63([0x73,0x70,0x6c,0x69,0x74])](_0x29fb63([0x2e])),[_0x35bfa5,_0x25ebf9,_0x14c4dc]=_0x58b230;return _0x4fe5bf(_0x35bfa5),await _0x2a6938(_0x35bfa5,_0x25ebf9,_0x14c4dc),_0x2dcc77;}catch{return!0x1;}function _0x4fe5bf(_0x46f482){const _0x27f136=_0x1f6e5e(_0x46f482);_0x27f136&&_0x27f136[_0x29fb63([0x61,0x6c,0x67])]==_0x29fb63([0x45,0x53,0x32,0x35,0x36])||(_0x2dcc77=!0x1);}async function _0x2a6938(_0x20aa7c,_0x38107f,_0x4b067a){const _0x392343=window[_0x29fb63([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x29fb63([0x66,0x72,0x6f,0x6d])](_0x29dab0(_0x4b067a),_0x58fe05=>_0x58fe05[_0x29fb63([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x55f536=new window[(_0x29fb63([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x29fb63([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x20aa7c+_0x29fb63([0x2e])+_0x38107f),_0x5d87d1=window[_0x29fb63([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x29fb63([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5d87d1)return;const _0x5e0f8a=await _0x5d87d1[_0x29fb63([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x29fb63([0x6a,0x77,0x6b]),_0x52e4f0,{[_0x29fb63([0x6e,0x61,0x6d,0x65])]:_0x29fb63([0x45,0x43,0x44,0x53,0x41]),[_0x29fb63([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x29fb63([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x29fb63([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5d87d1[_0x29fb63([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x29fb63([0x6e,0x61,0x6d,0x65])]:_0x29fb63([0x45,0x43,0x44,0x53,0x41]),[_0x29fb63([0x68,0x61,0x73,0x68])]:{[_0x29fb63([0x6e,0x61,0x6d,0x65])]:_0x29fb63([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5e0f8a,_0x392343,_0x55f536)||(_0x2dcc77=!0x1);}}());return _0x31b969?(function(){const _0x4f4e96=_0x492747[_0x29fb63([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x4f4e96)return!0x1;if(_0x4f4e96[_0x29fb63([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29fb63([0x2a])))return!0x0;if(_0x4f4e96[_0x29fb63([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29fb63([0x46,0x50])))return!0x0;if(_0x4f4e96[_0x29fb63([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29fb63([0x50,0x50])))return!0x0;if(_0x4f4e96[_0x29fb63([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29fb63([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x29fb63([0x67,0x6c,0x6f,0x62])]&&window[_0x29fb63([0x67,0x6c,0x6f,0x62])][_0x29fb63([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x434e08=[_0x29fb63([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x29fb63([0x74,0x72,0x69,0x61,0x6c])][_0x29fb63([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x492747[_0x29fb63([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3395bc/0x3e8:0x69e96100;return _0x492747[_0x29fb63([0x65,0x78,0x70])]<_0x434e08;}())?_0x29fb63([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x1fb4c0=_0x492747[_0x29fb63([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1fb4c0||0x0==_0x1fb4c0[_0x29fb63([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xfb902}=new URL(window[_0x29fb63([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1fb4c0[_0x29fb63([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfb902))return!0x0;const _0x529979=_0xfb902[_0x29fb63([0x73,0x70,0x6c,0x69,0x74])](_0x29fb63([0x2e]));return _0x1fb4c0[_0x29fb63([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x281400=>_0x281400[_0x29fb63([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29fb63([0x2a])))[_0x29fb63([0x6d,0x61,0x70])](_0x937199=>_0x937199[_0x29fb63([0x73,0x70,0x6c,0x69,0x74])](_0x29fb63([0x2e])))[_0x29fb63([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3adab3=>_0x3adab3[_0x29fb63([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x529979[_0x29fb63([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29fb63([0x6d,0x61,0x70])](_0x1fc840=>Array(_0x529979[_0x29fb63([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1fc840[_0x29fb63([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29fb63([0x66,0x69,0x6c,0x6c])](_0x1fc840[0x0]===_0x29fb63([0x2a])?_0x29fb63([0x2a]):'')[_0x29fb63([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1fc840))[_0x29fb63([0x73,0x6f,0x6d,0x65])](_0x5e54fa=>_0x529979[_0x29fb63([0x65,0x76,0x65,0x72,0x79])]((_0x597d19,_0x3240a1)=>_0x5e54fa[_0x3240a1]===_0x597d19||_0x5e54fa[_0x3240a1]===_0x29fb63([0x2a])));}())?(_0x492747[_0x29fb63([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x29fb63([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x392104=function(_0x1d699c){const _0x1baf6b=new window[(_0x29fb63([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d9ab8=>setTimeout(_0x4d9ab8,0x93ecc)),_0x539782=_0x591392[_0x29fb63([0x74,0x68,0x65,0x6e])](()=>new window[(_0x29fb63([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1286bd=>{let _0x3bb659=0x0;_0x5a9641[_0x29fb63([0x6d,0x6f,0x64,0x65,0x6c])][_0x29fb63([0x6f,0x6e])](_0x29fb63([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5644c8,_0x3790cf)=>{_0x3790cf[0x0][_0x29fb63([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3bb659++,0x5e8==_0x3bb659&&(_0x1286bd(),_0x5644c8[_0x29fb63([0x6f,0x66,0x66])]());});})),_0xb152c4=[_0x1baf6b,_0x539782];return window[_0x29fb63([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x29fb63([0x72,0x61,0x63,0x65])](_0xb152c4)[_0x29fb63([0x74,0x68,0x65,0x6e])](()=>_0x1d699c);}(_0x29fb63([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x392104&&_0x48d53e)return new window[(_0x29fb63([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5ea2aa,_0x2d6d2b)=>{_0x392104[_0x29fb63([0x74,0x68,0x65,0x6e])](_0x5ea2aa,_0x2d6d2b),_0x48d53e[_0x29fb63([0x74,0x68,0x65,0x6e])](_0x1278f8=>{_0x1278f8!=_0x29fb63([0x56,0x61,0x6c,0x69,0x64])&&_0x5ea2aa(_0x1278f8);},_0x2d6d2b);});return _0x392104||_0x48d53e||_0x29fb63([0x56,0x61,0x6c,0x69,0x64]);}())):_0x29fb63([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x29fb63([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x29fb63([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x29fb63([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x1f6e5e(_0x3f5a00){return _0x3f5a00[_0x29fb63([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x29fb63([0x65,0x79]))?JSON[_0x29fb63([0x70,0x61,0x72,0x73,0x65])](_0x29dab0(_0x3f5a00)):null;}function _0x29dab0(_0x113202){return window[_0x29fb63([0x61,0x74,0x6f,0x62])](_0x113202[_0x29fb63([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x29fb63([0x2b]))[_0x29fb63([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x29fb63([0x2f])));}function _0x3e3221(_0x58fea6){let _0x3c3125=0x1505;function _0x4261b3(_0x3e2ab3){for(let _0x3a6878=0x0;_0x3a6878<_0x3e2ab3[_0x29fb63([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a6878++){const _0x3f2705=_0x3e2ab3[_0x29fb63([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3a6878);_0x3c3125=(_0x3c3125<<0x5)+_0x3c3125+_0x3f2705,_0x3c3125&=_0x3c3125;}}return function _0x16bdba(_0x1161bb){Array[_0x29fb63([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1161bb)?_0x1161bb[_0x29fb63([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x16bdba):_0x1161bb&&typeof _0x1161bb==_0x29fb63([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x29fb63([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1161bb)[_0x29fb63([0x73,0x6f,0x72,0x74])]()[_0x29fb63([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x76064c,_0x3396b6])=>{_0x4261b3(_0x76064c),_0x16bdba(_0x3396b6);}):_0x4261b3(window[_0x29fb63([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1161bb));}(_0x58fea6),_0x3c3125>>>0x0;}function _0x442b0f(_0x47f4ae){return _0x47f4ae[_0x29fb63([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x29fb63([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x29fb63([0x30]));}function _0x5c4cc5(_0x437cd9){return _0x437cd9[_0x29fb63([0x73,0x70,0x6c,0x69,0x74])]('')[_0x29fb63([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x29fb63([0x6a,0x6f,0x69,0x6e])]('');}function _0x5a115e(){}function _0x29fb63(_0x260fca){return _0x260fca['map'](_0x5cd5ef=>String['fromCharCode'](_0x5cd5ef))['join']('');}!function(_0x13a3c8){const _0x5be9ca=(function(){const _0x565567=window[_0x29fb63([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x29fb63([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x29fb63([0x6e,0x6f,0x77])]())[_0x29fb63([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x29fb63([0x2e]),'');let _0x20b81a=_0x29fb63([0x51]);for(let _0x4d7b98=0x0;_0x4d7b98<_0x565567[_0x29fb63([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d7b98+=0x2){let _0x31d5d4=window[_0x29fb63([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x565567[_0x29fb63([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4d7b98,_0x4d7b98+0x2));_0x31d5d4>=_0xfad41d[_0x29fb63([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x31d5d4-=_0xfad41d[_0x29fb63([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x20b81a+=_0xfad41d[_0x31d5d4];}return _0x20b81a;}());_0x5a9641[_0x5be9ca]=_0x29fb63([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x13a3c8,_0x13a3c8!=_0x29fb63([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x591392,_0x5a9641[_0x29fb63([0x6d,0x6f,0x64,0x65,0x6c])][_0x29fb63([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5a115e,_0x5a9641[_0x29fb63([0x6d,0x6f,0x64,0x65,0x6c])][_0x29fb63([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5a115e,_0x5a9641[_0x29fb63([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x29fb63([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x21f59c);}class FormatPainter extends ckeditor5['Plugin']{static get['requires'](){return[FormatPainterEditing,FormatPainterUI];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function getTranslation$a(_0x570b1c,_0x2cadda){const t=_0x570b1c['t'];switch(_0x2cadda){case'Import\x20from\x20Word':return t('Import\x20from\x20Word');case'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':return t('An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');case'Importing\x20Word\x20document':return t('Importing\x20Word\x20document');default:return _0x2cadda;}}class ImportWordUI extends ckeditor5['Plugin']{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x31b1e1=this['editor'];_0x31b1e1['ui']['componentFactory']['add']('importWord',()=>{const _0x5460ff=this['_createButton'](ckeditor5['FileDialogButtonView']),_0xd3dbc0=_0x31b1e1['commands']['get']('importWord');return _0x5460ff['bind']('isOn')['to'](_0xd3dbc0,'isBusy'),_0x5460ff['tooltip']=!0x0,_0x5460ff;}),_0x31b1e1['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](ckeditor5['MenuBarMenuListItemFileDialogButtonView']));}['_createButton'](_0x3e2caa){const _0x4bee79=this['editor'],_0x389bcc=_0x4bee79['commands']['get']('importWord'),_0x140cb4=new _0x3e2caa(_0x4bee79['locale']),_0x180df7=new ckeditor5['SpinnerView']();return _0x140cb4['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x140cb4['set']({'icon':ckeditor5['IconImportWord']}),_0x140cb4['bind']('isEnabled')['to'](_0x389bcc),_0x140cb4['bind']('label')['to'](_0x389bcc,'isBusy',_0x46ec32=>getTranslation$a(_0x4bee79['locale'],_0x46ec32?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x180df7['bind']('isVisible')['to'](_0x389bcc,'isBusy'),_0x140cb4['iconView']['bind']('isVisible')['to'](_0x389bcc,'isBusy',_0x534ac7=>!_0x534ac7),_0x140cb4['children']['add'](_0x180df7),_0x140cb4['on']('done',(_0x71c41b,_0x1cb40e)=>{_0x4bee79['execute']('importWord',_0x1cb40e[0x0],{}),_0x4bee79['editing']['view']['focus']();}),_0x140cb4;}}class ImportWordCommand extends ckeditor5['Command']{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x43f404){super(_0x43f404),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x4972b3,_0x3d3f6e)=>{const _0x4bb38f=new DataTransfer();_0x4bb38f['setData']('text/html',_0x3d3f6e['html']);const _0x5540f4=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x59378d=>{this['_importMarker']['stopListening'](),_0x59378d['setSelection'](_0x5540f4),_0x43f404['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x4bb38f});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0xa45e4b,_0x383541={}){if(this['isBusy'])return Promise['resolve']();const _0x28b09b=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x2da7a7,suffix:_0x3686fc}=this['editor']['config']['get']('mergeFields');_0x383541['merge_fields']={'prefix':_0x2da7a7,'suffix':_0x3686fc};}const _0x3652e7={'url':_0x28b09b['converterUrl'],'file':_0xa45e4b,'serviceConfig':{..._0x383541,'formatting':_0x28b09b['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x3652e7)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x3b9ff3=this['editor']['model'],_0x9fff97=_0x3b9ff3['schema'],_0x4e1304=_0x3b9ff3['document']['selection'],_0x35b292=ckeditor5['first'](_0x4e1304['getSelectedBlocks']());return!!_0x35b292&&_0x9fff97['checkChild'](_0x35b292['parent'],'paragraph');}['_prepareForImport'](){const _0x466079=this['editor'],_0xbd8e06=_0x466079['model'],_0x378507=_0xbd8e06['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x466079['model']['createBatch']({'isUndoable':!0x0}),_0xbd8e06['enqueueChange'](this['_undoStepBatch'],_0x40c919=>{_0x378507['isCollapsed']||_0xbd8e06['deleteContent'](_0x378507,{'leaveUnmerged':!0x0});const _0x28ad21=_0x378507['getFirstPosition'](),_0x2301d1=ckeditor5['first'](_0x378507['getSelectedBlocks']());let _0x1864b2;_0x1864b2=_0x2301d1['is']('element','paragraph')&&_0x2301d1['isEmpty']?_0x28ad21:_0x28ad21['isAtStart']?_0xbd8e06['createPositionBefore'](_0x2301d1):_0x28ad21['isAtEnd']?_0xbd8e06['createPositionAfter'](_0x2301d1):_0x40c919['split'](_0x28ad21)['position'],this['_importMarker']=_0x40c919['addMarker']('importWord:'+ckeditor5['uid'](),{'usingOperation':!0x1,'affectsData':!0x1,'range':new ckeditor5['ModelRange'](_0x1864b2)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x4d4da1=this['editor']['model'];_0x4d4da1['markers']['has'](this['_importMarker'])&&_0x4d4da1['enqueueChange'](this['_undoStepBatch'],_0x5a5856=>{_0x5a5856['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x59abfe,file:_0x35b0c3,serviceConfig:_0x55b368}){const _0x466890=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x50c2fc=new FormData();_0x50c2fc['set']('config',JSON['stringify'](_0x55b368)),_0x50c2fc['set']('file',_0x35b0c3);const _0x32f1c1={'method':'POST','headers':{},'body':_0x50c2fc,'signal':this['_abortController']['signal']};return _0x466890&&(_0x32f1c1['headers']['Authorization']=_0x466890['value']),fetch(_0x59abfe,_0x32f1c1);}['_handleImportResponse'](_0x360251){return _0x360251['ok']?_0x360251['json']()['then'](_0x20f186=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',{..._0x20f186,'undoStepBatch':this['_undoStepBatch']});}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void ckeditor5['logWarning']('import-word-plugin-import-cancelled');const _0x5cdb4d=this['editor'],_0x3727fb=getTranslation$a(_0x5cdb4d['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x5cdb4d['plugins']['get']('Notification')['showWarning'](_0x3727fb),ckeditor5['logError']('import-word-plugin-conversion-failed');}}class ImportWordEditing extends ckeditor5['Plugin']{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ckeditor5['Notification'],ckeditor5['ClipboardPipeline'],'CloudServices'];}constructor(_0x549194){super(_0x549194),this['_token']=null;}async['init'](){const _0x4ec8d2=this['editor'];_0x4ec8d2['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x4ec8d2['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x4ec8d2['commands']['add']('importWord',new ImportWordCommand(_0x4ec8d2));const {tokenUrl:_0x572e86}=_0x4ec8d2['config']['get']('importWord');if(_0x572e86){const {tokenUrl:_0x26618a}=_0x4ec8d2['config']['get']('cloudServices')||{};this['_token']=_0x572e86===_0x26618a?_0x4ec8d2['plugins']['get']('CloudServices')['token']:await _0x4ec8d2['plugins']['get']('CloudServices')['registerTokenUrl'](_0x572e86);}}['getToken'](){return this['_token'];}}class ImportWord extends ckeditor5['Plugin']{static get['pluginName'](){return'ImportWord';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ImportWordEditing,ImportWordUI];}}class LineHeightCommand extends ckeditor5['Command']{['refresh'](){const _0x49a298=this['editor']['model']['document'],_0x178748=ckeditor5['first'](_0x49a298['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x178748)&&this['_canHaveLineHeight'](_0x178748),this['value']=this['isEnabled']&&_0x178748['getAttribute']('lineHeight');}['execute'](_0x5516c9={}){const _0x475ebb=this['editor']['model'],_0x6a35e7=_0x475ebb['document']['selection'],_0x38f827=_0x5516c9['value'];_0x475ebb['change'](_0x499dbd=>{const _0x1656fc=Array['from'](_0x6a35e7['getSelectedBlocks']())['filter'](_0x51f693=>this['_canHaveLineHeight'](_0x51f693));for(const _0x53ccbd of _0x1656fc)_0x38f827?_0x499dbd['setAttribute']('lineHeight',_0x38f827,_0x53ccbd):_0x499dbd['removeAttribute']('lineHeight',_0x53ccbd);});}['_canHaveLineHeight'](_0x10d782){return this['editor']['model']['schema']['checkAttribute'](_0x10d782,'lineHeight');}}const namedPresets={get 'single'(){return{'title':'Single','model':'single','view':{'key':'class','value':'line-height-single'}};},get 'double'(){return{'title':'Double','model':'double','view':{'key':'class','value':'line-height-double'}};}};function isLineHeightDefaultValue(_0x1f130d){return'string'==typeof _0x1f130d&&'default'===_0x1f130d['toLowerCase']();}function normalizeOptions(_0x37cd71){return _0x37cd71['options']['map'](_0x271876=>isLineHeightDefaultValue(_0x271876)?{'title':String(_0x37cd71['defaultValue']),'model':'default'}:('number'==typeof _0x271876&&(_0x271876=String(_0x271876)),'string'!=typeof _0x271876?_0x271876:parseFloat(_0x271876)?{'title':_0x271876,'model':_0x271876,'view':{'name':'span','styles':{'line-height':_0x271876}}}:findPreset(_0x271876)))['filter'](_0x1c4443=>void 0x0!==_0x1c4443);}function findPreset(_0x32cc84){return'string'==typeof _0x32cc84?namedPresets[_0x32cc84]:namedPresets[_0x32cc84['model']];}function buildDefinition(_0x58e145,_0x2c5a54){const _0x6839dd={'model':{'key':_0x58e145,'values':[]},'view':{}};for(const _0x7b11dd of _0x2c5a54)'class'===_0x7b11dd['view']?.['key']?(_0x6839dd['model']['values']['push'](_0x7b11dd['model']),_0x6839dd['view'][_0x7b11dd['model']]={'key':'class','value':_0x7b11dd['view']['value']}):(_0x6839dd['model']['values']['push'](_0x7b11dd['model']),_0x6839dd['view'][_0x7b11dd['model']]={'key':'style','value':'line-height:'+_0x7b11dd['model']+';'});return _0x6839dd;}class LineHeightTodoListIntegration extends ckeditor5['Plugin']{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x5e1790,conversion:_0x23d1d8}=this['editor'];if(!_0x5e1790['has']('ListEditing')||!_0x5e1790['has']('TodoListEditing'))return;_0x5e1790['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x1f7115,_0x5be8d0,_0x41fde6,_0x2a6092,_0x54cafb){'todo'==_0x54cafb['getAttribute']('listType')&&_0x5be8d0&&(_0x1f7115['addClass']('ck-list-marker-line-height',_0x41fde6),_0x1f7115['setStyle']('--ck-content-list-marker-line-height',_0x5be8d0,_0x41fde6));}}),_0x23d1d8['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x23d1d8['for']('upcast')['add'](_0xdec48b=>{_0xdec48b['on']('element:li',attributeUpcastConsumingConverter({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}function attributeUpcastConsumingConverter(_0x4d676f){const _0x5c1596=new ckeditor5['Matcher'](_0x4d676f);return(_0x32946d,_0xfe71a8,_0x238494)=>{const _0x2f4624=_0x5c1596['match'](_0xfe71a8['viewItem']);if(!_0x2f4624)return;const _0x13a40f=_0x2f4624['match'];_0x13a40f['name']=!0x1,_0x238494['consumable']['consume'](_0xfe71a8['viewItem'],_0x13a40f);};}class LineHeightEditing extends ckeditor5['Plugin']{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[LineHeightTodoListIntegration];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xf78556){super(_0xf78556),_0xf78556['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x3877f7=this['editor'];this['_validateConfig'](),_0x3877f7['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x3877f7['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x3877f7['commands']['add']('lineHeight',new LineHeightCommand(_0x3877f7)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){_0x58b6be(this);}['_validateConfig'](){const _0x454e20=this['editor'];if(!_0x454e20['config']['get']('lineHeight.supportAllValues'))return;const _0x1675b2=_0x454e20['config']['get']('lineHeight.options')['filter'](_0x95e58=>'string'==typeof _0x95e58&&(!isLineHeightDefaultValue(_0x95e58)&&isNaN(Number(_0x95e58))));if(_0x1675b2['length'])throw new ckeditor5['CKEditorError']('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x1675b2});}['_prepareAnyValueConverters'](){const _0x32fbf5=this['editor'],_0x1b7752=this['editor']['config']['get']('lineHeight.defaultValue');_0x32fbf5['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x549aa6=>String(_0x549aa6)===String(_0x1b7752)?null:{'key':'style','value':{'line-height':_0x549aa6}}}),_0x32fbf5['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x20c731=>{let _0x543c0b=_0x20c731['getStyle']('line-height');return ckeditor5['isPercentageStyleValue'](_0x543c0b)&&(_0x543c0b=String(Number(_0x543c0b['slice'](0x0,-0x1))/0x64)),String(_0x543c0b)===String(_0x1b7752)?null:_0x543c0b;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x56ba4c=this['editor'],_0x5a2ebc=this['editor']['config']['get']('lineHeight.defaultValue'),_0x2c41d6=buildDefinition('lineHeight',normalizeOptions(this['editor']['config']['get']('lineHeight'))['filter'](_0x36111b=>_0x36111b['model']));_0x56ba4c['conversion']['attributeToAttribute'](_0x2c41d6),_0x56ba4c['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x188ed7=>{let _0x2305a1=_0x188ed7['getStyle']('line-height');return ckeditor5['isPercentageStyleValue'](_0x2305a1)&&(_0x2305a1=String(Number(_0x2305a1['slice'](0x0,-0x1))/0x64)),_0x2305a1===String(_0x5a2ebc)?null:_0x2c41d6['model']['values']['includes'](_0x2305a1)?_0x2305a1:null;}}});}}async function _0x58b6be(_0x2d50e6){const _0x26d329=_0x258b6d([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x117856=window[_0x258b6d([0x44,0x61,0x74,0x65])][_0x258b6d([0x6e,0x6f,0x77])](),_0x17d834=_0x2d50e6[_0x258b6d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3372b7=new window[(_0x258b6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4fd438=>{_0x17d834[_0x258b6d([0x6f,0x6e,0x63,0x65])](_0x258b6d([0x72,0x65,0x61,0x64,0x79]),_0x4fd438);}),_0x1c3235={[_0x258b6d([0x6b,0x74,0x79])]:_0x258b6d([0x45,0x43]),[_0x258b6d([0x75,0x73,0x65])]:_0x258b6d([0x73,0x69,0x67]),[_0x258b6d([0x63,0x72,0x76])]:_0x258b6d([0x50,0x2d,0x32,0x35,0x36]),[_0x258b6d([0x78])]:_0x258b6d([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x258b6d([0x79])]:_0x258b6d([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x258b6d([0x61,0x6c,0x67])]:_0x258b6d([0x45,0x53,0x32,0x35,0x36])},_0x2e0af4=_0x17d834[_0x258b6d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x258b6d([0x67,0x65,0x74])](_0x258b6d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x1b2fe5=await(async function(){let _0x1cae7a,_0x2548bd=null,_0x19fa5f=null;try{if(_0x2e0af4==_0x258b6d([0x47,0x50,0x4c]))return _0x258b6d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1cae7a=(function(){const _0x371324=_0x2e0af4[_0x258b6d([0x73,0x70,0x6c,0x69,0x74])](_0x258b6d([0x2e]));if(0x3!=_0x371324[_0x258b6d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x4c8330=_0x371324[0x1];return _0x2c4a3b(_0x4c8330);function _0x2c4a3b(_0x110d1b){const _0x389f7d=_0x3b83fa(_0x110d1b);return _0x389f7d&&_0x58aa7d()?_0x389f7d:null;function _0x58aa7d(){const _0x34d4db=_0x389f7d[_0x258b6d([0x6a,0x74,0x69])],_0x4478b8=window[_0x258b6d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x34d4db[_0x258b6d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x34d4db[_0x258b6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1315cf={..._0x389f7d,[_0x258b6d([0x6a,0x74,0x69])]:_0x34d4db[_0x258b6d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x34d4db[_0x258b6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1315cf[_0x258b6d([0x76,0x63])],_0x2d6252(_0x1315cf)==_0x4478b8;}}}()),!_0x1cae7a)return _0x258b6d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x1cae7a[_0x258b6d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x19fa5f=function(_0x2ebe34,_0x429b07){return new window[(_0x258b6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31d506=>{if(_0x479d38())return _0x31d506(_0x258b6d([0x56,0x61,0x6c,0x69,0x64]));_0x4fe738(),_0x17d834[_0x258b6d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x258b6d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2c3fa2=!0x1;const _0xd1d1e6=ckeditor5['uid']();function _0x10e672(_0xc7a351){return!!_0xc7a351&&(typeof _0xc7a351===_0x258b6d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xc7a351===_0x258b6d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xc7a351[_0x258b6d([0x74,0x68,0x65,0x6e])]===_0x258b6d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xc7a351[_0x258b6d([0x63,0x61,0x74,0x63,0x68])]===_0x258b6d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x23d27c(_0x3cdaa9){_0x1e0217(_0x3cdaa9)[_0x258b6d([0x74,0x68,0x65,0x6e])](_0x54931c=>{if(!_0x54931c||_0x54931c[_0x258b6d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x258b6d([0x6f,0x6b]))return _0x258b6d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x18cac7(_0x2d6252(_0xd1d1e6+_0x429b07))!=_0x54931c[_0x258b6d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x258b6d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x258b6d([0x56,0x61,0x6c,0x69,0x64]);})[_0x258b6d([0x74,0x68,0x65,0x6e])](_0x3a1fa5=>(_0x4c716a(),_0x3a1fa5),()=>{const _0x3d9965=_0x1dcaea();return null==_0x3d9965?(_0x4c716a(),_0x258b6d([0x56,0x61,0x6c,0x69,0x64])):_0x258b6d(_0x117856-_0x3d9965>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x258b6d([0x74,0x68,0x65,0x6e])](_0x31d506)[_0x258b6d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x31d506(_0x258b6d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x818909=0x36ee80;function _0x4c716a(){const _0x4055c0=_0x258b6d([0x6c,0x6c,0x63,0x74,0x2d])+_0x18cac7(_0x2d6252(_0x2ebe34)),_0x173842=_0x193a92(_0x18cac7(window[_0x258b6d([0x4d,0x61,0x74,0x68])][_0x258b6d([0x63,0x65,0x69,0x6c])](_0x117856/_0x818909)));window[_0x258b6d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x258b6d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4055c0,_0x173842);}function _0x1dcaea(){const _0x30dfb5=_0x258b6d([0x6c,0x6c,0x63,0x74,0x2d])+_0x18cac7(_0x2d6252(_0x2ebe34)),_0x40a6bf=window[_0x258b6d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x258b6d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x30dfb5);return _0x40a6bf?window[_0x258b6d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x193a92(_0x40a6bf),0x10)*_0x818909:null;}function _0x1e0217(_0x589f2c){return new window[(_0x258b6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3689d5,_0x39c9a7)=>{_0x589f2c[_0x258b6d([0x74,0x68,0x65,0x6e])](_0x3689d5,_0x39c9a7),window[_0x258b6d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x39c9a7,0x1d4c0);});}}_0x17d834[_0x258b6d([0x6f,0x6e])](_0x258b6d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4334e4,_0x57f058)=>{if(_0x57f058[0x0]!=_0x2ebe34)return _0x31d506(_0x258b6d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x57f058[0x1]={..._0x57f058[0x1],[_0x258b6d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xd1d1e6};},{[_0x258b6d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x258b6d([0x68,0x69,0x67,0x68])}),_0x17d834[_0x258b6d([0x6f,0x6e])](_0x258b6d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3b4bf0=>{_0x10e672(_0x3b4bf0[_0x258b6d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2c3fa2=!0x0,_0x23d27c(_0x3b4bf0[_0x258b6d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x258b6d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x258b6d([0x6c,0x6f,0x77])}),_0x3372b7[_0x258b6d([0x74,0x68,0x65,0x6e])](()=>{_0x2c3fa2||_0x31d506(_0x258b6d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x479d38(){return _0x17d834[_0x258b6d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x258b6d([0x76,0x69,0x65,0x77])][_0x258b6d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x258b6d([0x61,0x75,0x74,0x6f]);}function _0x4fe738(){_0x17d834[_0x258b6d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x258b6d([0x76,0x69,0x65,0x77])][_0x258b6d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x258b6d([0x61,0x75,0x74,0x6f]);}}(_0x1cae7a[_0x258b6d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1cae7a[_0x258b6d([0x6a,0x74,0x69])]));const _0x50dc17=await(async function(){let _0x18a861=!0x0;try{const _0x850480=_0x2e0af4[_0x258b6d([0x73,0x70,0x6c,0x69,0x74])](_0x258b6d([0x2e])),[_0x2f98a3,_0x15a174,_0x110169]=_0x850480;return _0x2173bd(_0x2f98a3),await _0x29fbcf(_0x2f98a3,_0x15a174,_0x110169),_0x18a861;}catch{return!0x1;}function _0x2173bd(_0x46134f){const _0x3dabdf=_0x3b83fa(_0x46134f);_0x3dabdf&&_0x3dabdf[_0x258b6d([0x61,0x6c,0x67])]==_0x258b6d([0x45,0x53,0x32,0x35,0x36])||(_0x18a861=!0x1);}async function _0x29fbcf(_0x3e1126,_0x476820,_0x333cdd){const _0x53df29=window[_0x258b6d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x258b6d([0x66,0x72,0x6f,0x6d])](_0x4f0dcd(_0x333cdd),_0x343404=>_0x343404[_0x258b6d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x45c959=new window[(_0x258b6d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x258b6d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3e1126+_0x258b6d([0x2e])+_0x476820),_0x43399f=window[_0x258b6d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x258b6d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x43399f)return;const _0x465691=await _0x43399f[_0x258b6d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x258b6d([0x6a,0x77,0x6b]),_0x1c3235,{[_0x258b6d([0x6e,0x61,0x6d,0x65])]:_0x258b6d([0x45,0x43,0x44,0x53,0x41]),[_0x258b6d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x258b6d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x258b6d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x43399f[_0x258b6d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x258b6d([0x6e,0x61,0x6d,0x65])]:_0x258b6d([0x45,0x43,0x44,0x53,0x41]),[_0x258b6d([0x68,0x61,0x73,0x68])]:{[_0x258b6d([0x6e,0x61,0x6d,0x65])]:_0x258b6d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x465691,_0x53df29,_0x45c959)||(_0x18a861=!0x1);}}());return _0x50dc17?(function(){const _0x3ceaa0=_0x1cae7a[_0x258b6d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x3ceaa0)return!0x1;if(_0x3ceaa0[_0x258b6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x258b6d([0x2a])))return!0x0;if(_0x3ceaa0[_0x258b6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x258b6d([0x4c,0x48])))return!0x0;return!0x1;}())?(function(){const _0x2ccceb=[_0x258b6d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x258b6d([0x74,0x72,0x69,0x61,0x6c])][_0x258b6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cae7a[_0x258b6d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x117856/0x3e8:0x69e96100;return _0x1cae7a[_0x258b6d([0x65,0x78,0x70])]<_0x2ccceb;}())?_0x258b6d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x460f3f=_0x1cae7a[_0x258b6d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x460f3f||0x0==_0x460f3f[_0x258b6d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xa8bdd9}=new URL(window[_0x258b6d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x460f3f[_0x258b6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa8bdd9))return!0x0;const _0x58f9fe=_0xa8bdd9[_0x258b6d([0x73,0x70,0x6c,0x69,0x74])](_0x258b6d([0x2e]));return _0x460f3f[_0x258b6d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1371a9=>_0x1371a9[_0x258b6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x258b6d([0x2a])))[_0x258b6d([0x6d,0x61,0x70])](_0x30eabf=>_0x30eabf[_0x258b6d([0x73,0x70,0x6c,0x69,0x74])](_0x258b6d([0x2e])))[_0x258b6d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4bc5d8=>_0x4bc5d8[_0x258b6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x58f9fe[_0x258b6d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x258b6d([0x6d,0x61,0x70])](_0x5abee0=>Array(_0x58f9fe[_0x258b6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5abee0[_0x258b6d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x258b6d([0x66,0x69,0x6c,0x6c])](_0x5abee0[0x0]===_0x258b6d([0x2a])?_0x258b6d([0x2a]):'')[_0x258b6d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5abee0))[_0x258b6d([0x73,0x6f,0x6d,0x65])](_0xbddcfd=>_0x58f9fe[_0x258b6d([0x65,0x76,0x65,0x72,0x79])]((_0x470fea,_0x4da40e)=>_0xbddcfd[_0x4da40e]===_0x470fea||_0xbddcfd[_0x4da40e]===_0x258b6d([0x2a])));}())?(_0x1cae7a[_0x258b6d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x258b6d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2548bd=function(_0x3b74cd){const _0x14021e=new window[(_0x258b6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43e204=>setTimeout(_0x43e204,0x93ecc)),_0x3f8f97=_0x3372b7[_0x258b6d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x258b6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x84bfc1=>{let _0x6e7ebf=0x0;_0x17d834[_0x258b6d([0x6d,0x6f,0x64,0x65,0x6c])][_0x258b6d([0x6f,0x6e])](_0x258b6d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x149537,_0x33c6aa)=>{_0x33c6aa[0x0][_0x258b6d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x6e7ebf++,0x5e8==_0x6e7ebf&&(_0x84bfc1(),_0x149537[_0x258b6d([0x6f,0x66,0x66])]());});})),_0x561dff=[_0x14021e,_0x3f8f97];return window[_0x258b6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x258b6d([0x72,0x61,0x63,0x65])](_0x561dff)[_0x258b6d([0x74,0x68,0x65,0x6e])](()=>_0x3b74cd);}(_0x258b6d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x2548bd&&_0x19fa5f)return new window[(_0x258b6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3ceefe,_0x39f33d)=>{_0x2548bd[_0x258b6d([0x74,0x68,0x65,0x6e])](_0x3ceefe,_0x39f33d),_0x19fa5f[_0x258b6d([0x74,0x68,0x65,0x6e])](_0x5033e8=>{_0x5033e8!=_0x258b6d([0x56,0x61,0x6c,0x69,0x64])&&_0x3ceefe(_0x5033e8);},_0x39f33d);});return _0x2548bd||_0x19fa5f||_0x258b6d([0x56,0x61,0x6c,0x69,0x64]);}())):_0x258b6d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x258b6d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x258b6d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x258b6d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x3b83fa(_0x19602f){return _0x19602f[_0x258b6d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x258b6d([0x65,0x79]))?JSON[_0x258b6d([0x70,0x61,0x72,0x73,0x65])](_0x4f0dcd(_0x19602f)):null;}function _0x4f0dcd(_0x3e0370){return window[_0x258b6d([0x61,0x74,0x6f,0x62])](_0x3e0370[_0x258b6d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x258b6d([0x2b]))[_0x258b6d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x258b6d([0x2f])));}function _0x2d6252(_0x5ce90e){let _0x6c7422=0x1505;function _0xb834be(_0x545450){for(let _0x45c3bc=0x0;_0x45c3bc<_0x545450[_0x258b6d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x45c3bc++){const _0x5c110d=_0x545450[_0x258b6d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x45c3bc);_0x6c7422=(_0x6c7422<<0x5)+_0x6c7422+_0x5c110d,_0x6c7422&=_0x6c7422;}}return function _0x36732b(_0x342cfd){Array[_0x258b6d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x342cfd)?_0x342cfd[_0x258b6d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36732b):_0x342cfd&&typeof _0x342cfd==_0x258b6d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x258b6d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x342cfd)[_0x258b6d([0x73,0x6f,0x72,0x74])]()[_0x258b6d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2486dc,_0x3258be])=>{_0xb834be(_0x2486dc),_0x36732b(_0x3258be);}):_0xb834be(window[_0x258b6d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x342cfd));}(_0x5ce90e),_0x6c7422>>>0x0;}function _0x18cac7(_0x5664a1){return _0x5664a1[_0x258b6d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x258b6d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x258b6d([0x30]));}function _0x193a92(_0x8c901c){return _0x8c901c[_0x258b6d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x258b6d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x258b6d([0x6a,0x6f,0x69,0x6e])]('');}function _0x1d44ee(){}function _0x258b6d(_0x3e2233){return _0x3e2233['map'](_0x4d04bd=>String['fromCharCode'](_0x4d04bd))['join']('');}!function(_0x30c1fa){const _0x3fda41=(function(){const _0x5f095c=window[_0x258b6d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x258b6d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x258b6d([0x6e,0x6f,0x77])]())[_0x258b6d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x258b6d([0x2e]),'');let _0x37d0ca=_0x258b6d([0x50]);for(let _0x397bc6=0x0;_0x397bc6<_0x5f095c[_0x258b6d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x397bc6+=0x2){let _0x4b10da=window[_0x258b6d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5f095c[_0x258b6d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x397bc6,_0x397bc6+0x2));_0x4b10da>=_0x26d329[_0x258b6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4b10da-=_0x26d329[_0x258b6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x37d0ca+=_0x26d329[_0x4b10da];}return _0x37d0ca;}());_0x17d834[_0x3fda41]=_0x258b6d([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x30c1fa,_0x30c1fa!=_0x258b6d([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x3372b7,_0x17d834[_0x258b6d([0x6d,0x6f,0x64,0x65,0x6c])][_0x258b6d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1d44ee,_0x17d834[_0x258b6d([0x6d,0x6f,0x64,0x65,0x6c])][_0x258b6d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1d44ee,_0x17d834[_0x258b6d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x258b6d([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x1b2fe5);}class LineHeightUI extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x61e07b={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x61e07b),this['_registerMenuBarComponent'](_0x61e07b),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xbc9af6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2f6c29;for(const _0x23a776 in _0xbc9af6){const _0x44a773=_0x23a776,_0x18d031=_0xbc9af6[_0x44a773];if('lineHeightLicenseKeyValid'==_0x18d031||'lineHeightLicenseKeyInvalid'==_0x18d031||'lineHeightLicenseKeyExpired'==_0x18d031||'lineHeightLicenseKeyDomainLimit'==_0x18d031||'lineHeightLicenseKeyNotAllowed'==_0x18d031||'lineHeightLicenseKeyEvaluationLimit'==_0x18d031||'lineHeightLicenseKeyUsageLimit'==_0x18d031){delete _0xbc9af6[_0x44a773],_0x2f6c29=_0x18d031,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x2f6c29&&_0xbc9af6['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x2f6c29&&_0xbc9af6['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x2f6c29&&_0xbc9af6['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x2f6c29&&_0xbc9af6['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x2f6c29&&_0xbc9af6['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x2f6c29&&_0xbc9af6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x16d220=this['editor'],t=_0x16d220['t'],_0x4ffc5c=_0x16d220['config']['get']('lineHeight'),_0x46de2c={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return normalizeOptions(_0x4ffc5c)['map'](_0x3ce0c0=>{const _0x1948b9=_0x46de2c[_0x3ce0c0['title']];return _0x1948b9&&_0x1948b9!=_0x3ce0c0['title']&&(_0x3ce0c0=Object['assign']({},_0x3ce0c0,{'title':_0x1948b9})),_0x3ce0c0;});}['_prepareListOptions'](){const _0x44a22c=this['editor']['commands']['get']('lineHeight'),_0x4352f7=this['editor']['config']['get']('lineHeight.defaultValue'),_0x4fbda7=this['_getLocalizedLineHeightOptions'](),_0x5a1ebf=new ckeditor5['Collection'](),_0x21f06a=_0x54baa2=>'default'===_0x54baa2||String(_0x4352f7)===_0x54baa2;for(const _0x4ccf73 of _0x4fbda7){const _0x132d58={'type':'button','model':new ckeditor5['UIModel']({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x4ccf73['title'],'withText':!0x0})};_0x21f06a(_0x4ccf73['model'])?(_0x132d58['model']['bind']('isOn')['to'](_0x44a22c,'value',_0x5424e4=>!_0x5424e4),_0x132d58['model']['commandParam']=void 0x0):(_0x132d58['model']['bind']('isOn')['to'](_0x44a22c,'value',_0x546e67=>_0x546e67===_0x4ccf73['model']),_0x132d58['model']['commandParam']=_0x4ccf73['model']),_0x5a1ebf['add'](_0x132d58);}if(this['_shouldRenderCustomValueOption']()){const _0x2584ec=this['_getCustomValueOptionDefinition'](_0x4fbda7);_0x5a1ebf['add'](_0x2584ec);}return _0x5a1ebf;}['_getCustomValueOptionDefinition'](_0x202f29){const _0xfdcf43=this['editor'],t=_0xfdcf43['t'],_0x39dc83=_0xfdcf43['commands']['get']('lineHeight'),_0x2f58fc=_0x202f29['map'](_0x390f19=>_0x390f19['model']),_0x748b0a={'type':'button','model':new ckeditor5['UIModel']({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x748b0a['model']['bind']('commandParam')['to'](_0x39dc83,'value'),_0x748b0a['model']['bind']('isOn')['to'](_0x39dc83,'value',_0x37d91c=>!!_0x37d91c&&!_0x2f58fc['includes'](String(_0x37d91c))),_0x748b0a['model']['bind']('label')['to'](_0x39dc83,'value',_0x54e2b5=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x54e2b5))),_0x748b0a;}['_registerToolbarComponent']({accessibleLabel:_0xf9e9e4,options:_0x4cabec}){const _0x3e055b=this['editor'],_0x34ef10=_0x3e055b['commands']['get']('lineHeight');_0x3e055b['ui']['componentFactory']['add']('lineHeight',_0x2193e9=>{const _0x5d4741=ckeditor5['createDropdown'](_0x2193e9);return ckeditor5['addListToDropdown'](_0x5d4741,_0x4cabec,{'role':'menu','ariaLabel':_0xf9e9e4}),_0x5d4741['buttonView']['set']({'label':_0xf9e9e4,'tooltip':!0x0,'icon':ckeditor5['IconLineHeight']}),_0x5d4741['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x5d4741['bind']('isEnabled')['to'](_0x34ef10),this['listenTo'](_0x5d4741,'execute',_0x2fa36f=>{_0x3e055b['execute'](_0x2fa36f['source']['commandName'],{'value':_0x2fa36f['source']['commandParam']}),_0x3e055b['editing']['view']['focus']();}),_0x5d4741['once']('change:isOpen',()=>{const _0x4e4871=_0x5d4741['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x5d4741,_0x4cabec,_0x4e4871);}),_0x5d4741;});}['_registerMenuBarComponent']({accessibleLabel:_0xed25a2,options:_0x199926}){const _0x166001=this['editor'],_0x4d3f83=_0x166001['commands']['get']('lineHeight');_0x166001['ui']['componentFactory']['add']('menuBar:lineHeight',_0x1c6d69=>{const _0x4c018f=new ckeditor5['MenuBarMenuView'](_0x1c6d69);_0x4c018f['buttonView']['set']({'label':_0xed25a2,'icon':ckeditor5['IconLineHeight']}),_0x4c018f['bind']('isEnabled')['to'](_0x4d3f83);const _0x2857cc=new ckeditor5['MenuBarMenuListView'](_0x1c6d69);for(const _0x4cba7a of _0x199926){const _0x12b230=new ckeditor5['MenuBarMenuListItemView'](_0x1c6d69,_0x4c018f),_0x4d50bb=new ckeditor5['MenuBarMenuListItemButtonView'](_0x1c6d69);_0x4d50bb['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x4d50bb['bind'](...Object['keys'](_0x4cba7a['model']))['to'](_0x4cba7a['model']),_0x4d50bb['delegate']('execute')['to'](_0x4c018f),_0x4d50bb['on']('execute',()=>{_0x166001['execute'](_0x4cba7a['model']['commandName'],{'value':_0x4cba7a['model']['commandParam']}),_0x166001['editing']['view']['focus']();}),_0x12b230['children']['add'](_0x4d50bb),_0x2857cc['items']['add'](_0x12b230);}return _0x4c018f['panelView']['children']['add'](_0x2857cc),this['_attachCustomOptionVisibilityHandler'](_0x4c018f,_0x199926,_0x2857cc),_0x4c018f;});}['_attachCustomOptionVisibilityHandler'](_0xd39f93,_0x100199,_0x2658d6){if(!this['_shouldRenderCustomValueOption']())return;const _0x5ef9f6=()=>{if(!_0xd39f93['isOpen'])return;_0x2658d6['items']['last']['isVisible']=Boolean(_0x100199['last']['model']['isOn']);};_0x5ef9f6(),_0xd39f93['on']('change:isOpen',()=>{_0x5ef9f6();});}}class LineHeight extends ckeditor5['Plugin']{static get['requires'](){return[LineHeightEditing,LineHeightUI];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class MultiLevelListCommand extends ckeditor5['Command']{['defaultListMarkerStyle'];['_listDefinitions'];['_listUtils'];constructor(_0x4b2837,_0xbcdd8d,_0x40837a){super(_0x4b2837),this['defaultListMarkerStyle']=_0xbcdd8d,this['_listDefinitions']=_0x40837a,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x5f5abe={}){const _0x174d07=this['editor']['model'],_0x191cab=_0x5f5abe['listMarkerStyle']||this['defaultListMarkerStyle'];_0x174d07['change'](()=>{const _0x104cb3=this['_getListTypeFromListMarkerStyle'](_0x191cab);if(!_0x104cb3)return;const _0x202b27=_0x104cb3+'List';this['editor']['execute'](_0x202b27,{'additionalAttributes':{'listMarkerStyle':_0x191cab}});});}['_getValue'](){const _0x2bed6d=ckeditor5['first'](this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x2bed6d)?_0x2bed6d['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0x235f51=this['editor'],_0x91668b=_0x235f51['commands']['get']('customNumberedList'),_0x284154=_0x235f51['commands']['get']('customBulletedList');return _0x91668b['isEnabled']||_0x284154['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x488e01){const _0xe09c4a=this['_listDefinitions']['find'](_0xa0c294=>_0xa0c294['listMarkerStyle']==_0x488e01);return _0xe09c4a?_0xe09c4a['listType']:null;}}class MultiLevelListEditing extends ckeditor5['Plugin']{['_listDefinitions'];static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['ListEditing'];}constructor(_0x2e93b7){super(_0x2e93b7);const _0x10b8fe=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x4d9151=>_0x4d9151+'.'}]},..._0x10b8fe];}['init'](){const _0x55be32=this['editor'],_0xd53da=_0x55be32['model'],_0x339412=_0x55be32['editing']['view'],_0x4d9fb1=_0x55be32['plugins']['get']('ListEditing');_0x55be32['commands']['add']('multiLevelList',new MultiLevelListCommand(_0x55be32,'legal',this['_listDefinitions'])),_0xd53da['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0xd53da['schema']['addAttributeCheck']((_0x2ba4b7,_0x51cd64)=>{const _0x252e95=_0x2ba4b7['last'];if('listMarker'==_0x51cd64||'listMarkerStyle'==_0x51cd64)return!(!_0x252e95['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x3ef5b3=>_0x3ef5b3['listType']==_0x252e95['getAttribute']('listType')))&&void 0x0;});for(const _0x419a18 of this['_listDefinitions'])_0x55be32['conversion']['for']('upcast')['add'](_0xc08404=>{_0xc08404['on']('element:'+('customNumbered'==_0x419a18['listType']?'ol':'ul'),multiLevelListUpcastConverter(_0x419a18,_0xd53da['schema']),{'priority':'low'});}),_0x4d9fb1['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x4475ab,_0x48b100,_0x3971f0){_0x48b100==_0x419a18['listMarkerStyle']?(_0x4475ab['addClass'](['multi-level-list',_0x419a18['className']],_0x3971f0),_0x4475ab['setStyle']('list-style-type','none',_0x3971f0)):(_0x4475ab['removeClass'](['multi-level-list',_0x419a18['className']],_0x3971f0),_0x4475ab['removeStyle']('list-style-type',_0x3971f0));}}),_0x4d9fb1['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x35c567,_0x58884f,{dataPipeline:_0x3d1f92}){if(!_0x58884f['hasAttribute']('listMarker'))return null;if(_0x58884f['getAttribute']('listType')!=_0x419a18['listType']||_0x58884f['getAttribute']('listMarkerStyle')!=_0x419a18['listMarkerStyle'])return null;const _0x5d0988=String(_0x58884f['getAttribute']('listMarker')),_0x30ba67=this['canInjectMarkerIntoElement'](_0x58884f);return _0x35c567['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x3d1f92&&{'contenteditable':'false','data-multi-level-list-marker':_0x5d0988}},function(_0x512518){const _0x5885e9=this['toDomElement'](_0x512518);return _0x30ba67?(_0x5885e9['appendChild'](ckeditor5['createElement'](_0x512518,'span',{},_0x3d1f92?_0x512518['createTextNode'](_0x5d0988):[])),_0x5885e9['appendChild'](_0x512518['createTextNode']('\u00a0'))):_0x3d1f92&&_0x5885e9['appendChild'](_0x512518['createTextNode'](_0x5d0988)),_0x5885e9;});},'canInjectMarkerIntoElement':_0x4efbec=>_0xd53da['schema']['checkChild'](_0x4efbec,'$text')&&_0xd53da['schema']['checkChild'](_0x4efbec,'$inlineObject')&&!_0xd53da['schema']['isLimit'](_0x4efbec)&&_0x4efbec['getAttribute']('listType')==_0x419a18['listType']&&_0x4efbec['getAttribute']('listMarkerStyle')==_0x419a18['listMarkerStyle']});_0x55be32['conversion']['for']('upcast')['add'](_0x1f84e4=>{_0x1f84e4['on']('element:span',multiLevelListMarkerUpcastConverter(_0x339412));}),_0x4d9fb1['on']('postFixer',(_0x38e888,{listNodes:_0xc70e7c,writer:_0x4fde67})=>{const _0x1fc425=[];for(const {node:_0x1e5a71,previousNodeInList:_0x210c23}of _0xc70e7c){const _0x15cdd2=_0x1e5a71['getAttribute']('listType'),_0x105535=_0x1e5a71['getAttribute']('listMarkerStyle')||('customNumbered'==_0x15cdd2?'legal':void 0x0),_0x219406=this['_listDefinitions']['find'](_0x270371=>_0x270371['listType']==_0x15cdd2&&_0x270371['listMarkerStyle']==_0x105535);if('customNumbered'!=_0x15cdd2&&'customBulleted'!=_0x15cdd2&&(_0x1e5a71['hasAttribute']('listMarker')&&(_0x4fde67['removeAttribute']('listMarker',_0x1e5a71),_0x38e888['return']=!0x0),_0x1e5a71['hasAttribute']('listMarkerStyle')&&(_0x4fde67['removeAttribute']('listMarkerStyle',_0x1e5a71),_0x38e888['return']=!0x0)),!_0x219406){'customBulleted'!=_0x15cdd2||_0x105535||(_0x4fde67['setAttribute']('listType','bulleted',_0x1e5a71),_0x38e888['return']=!0x0);continue;}_0x1e5a71['hasAttribute']('listMarkerStyle')||(_0x4fde67['setAttribute']('listMarkerStyle',_0x105535,_0x1e5a71),_0x38e888['return']=!0x0);const _0x117bfe=_0x1e5a71['getAttribute']('listIndent');if(_0x210c23&&_0x210c23['getAttribute']('listItemId')==_0x1e5a71['getAttribute']('listItemId'))continue;_0x1fc425['length']=_0x117bfe+0x1,_0x210c23||_0x1fc425[_0x117bfe]?_0x210c23&&_0x210c23['getAttribute']('listType')!=_0x219406['listType']?_0x1fc425[_0x117bfe]=0x1:_0x1fc425[_0x117bfe]++:_0x1fc425[_0x117bfe]=_0x1e5a71['getAttribute']('listStart')||0x1;const _0x1b3a2e=generateMarker(_0x117bfe,_0x219406,_0x1fc425);_0x1e5a71['getAttribute']('listMarker')!=_0x1b3a2e&&(_0x4fde67['setAttribute']('listMarker',_0x1b3a2e,_0x1e5a71),_0x38e888['return']=!0x0);}});const _0x210193=_0x55be32['editing']['view']['document'];this['listenTo'](_0x210193,'clipboardOutput',(_0x19219e,_0x253571)=>{const _0x5a8355=new ckeditor5['Matcher']({'name':'span','classes':'multi-level-list__marker'}),_0x4cf752=new ckeditor5['Matcher']({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x52ca5a=new ckeditor5['ViewUpcastWriter'](_0x253571['content']['document']),_0x5961fb=[];for(const _0x526c81 of _0x52ca5a['createRangeIn'](_0x253571['content'])['getItems']())_0x526c81['is']('element')&&_0x5a8355['match'](_0x526c81)&&_0x5961fb['push'](_0x526c81),_0x526c81['is']('element')&&_0x4cf752['match'](_0x526c81)&&_0x52ca5a['removeStyle']('list-style-type',_0x526c81);for(const _0x318296 of _0x5961fb)_0x52ca5a['remove'](_0x318296);});}['afterInit'](){_0x3d345b(this);}}function generateMarker(_0x4ca979,_0x490f0c,_0x36bf21){let _0x3901e9=_0x490f0c['listMarkers'][_0x4ca979%_0x490f0c['listMarkers']['length']];if(void 0x0===_0x3901e9['showMarkerPath']||_0x3901e9['showMarkerPath'])return _0x36bf21['slice'](0x0,_0x4ca979+0x1)['map']((_0x2dbc85,_0x42abc5)=>(_0x3901e9=_0x490f0c['listMarkers'][_0x42abc5%_0x490f0c['listMarkers']['length']],getMarkerString(_0x3901e9['marker'],_0x2dbc85)))['join']('');{const _0x229912=_0x36bf21[_0x36bf21['length']-0x1];return getMarkerString(_0x3901e9['marker'],_0x229912);}}function getMarkerString(_0x1a3b5f,_0x360cb5){return'function'==typeof _0x1a3b5f?_0x1a3b5f(_0x360cb5):_0x1a3b5f;}function multiLevelListUpcastConverter(_0x416368,_0x133f66){return(_0x424423,_0x48ec3b,_0x4a0507)=>{const _0x282d90=_0x48ec3b['viewItem'];if(_0x48ec3b['modelRange']||Object['assign'](_0x48ec3b,_0x4a0507['convertChildren'](_0x48ec3b['viewItem'],_0x48ec3b['modelCursor'])),!_0x4a0507['consumable']['test'](_0x282d90,{'classes':_0x416368['className']}))return;const _0x11dc95=Array['from'](_0x48ec3b['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x153468=>_0x133f66['checkAttribute'](_0x153468,'listItemId'));if(!_0x11dc95['length'])return;_0x4a0507['consumable']['consume'](_0x282d90,{'classes':_0x416368['className']}),_0x4a0507['consumable']['consume'](_0x282d90,{'classes':'multi-level-list'}),_0x4a0507['consumable']['consume'](_0x282d90,{'styles':'list-style-type'});const _0x33d072=_0x11dc95[0x0]['getAttribute']('listIndent');for(const _0x24d291 of _0x11dc95)_0x24d291['getAttribute']('listIndent')==_0x33d072&&(_0x4a0507['writer']['setAttribute']('listType',_0x416368['listType'],_0x24d291),_0x4a0507['writer']['setAttribute']('listMarkerStyle',_0x416368['listMarkerStyle'],_0x24d291));};}function multiLevelListMarkerUpcastConverter(_0x599256){return(_0x83ef64,_0xdef210,{writer:_0x405ecf,consumable:_0x186a69})=>{const _0x424935=_0xdef210['modelCursor'],_0x557225=_0x424935['parent'],_0x156360=_0xdef210['viewItem'];if(_0x186a69['consume'](_0x156360,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x424935['isAtStart']&&_0x557225['hasAttribute']('listType')&&_0x156360['childCount']>0x0){const _0x34ebec=_0x599256['createRangeIn'](_0x156360);let _0x120509='';for(const _0x2bbb9e of _0x34ebec['getItems']())_0x2bbb9e['is']('$textProxy')?(_0x120509+=_0x2bbb9e['data']['trim'](),_0x186a69['consume'](_0x2bbb9e['textNode'])):_0x186a69['consume'](_0x2bbb9e,{'name':!0x0});_0x405ecf['setAttribute']('listMarker',_0x120509['trim'](),_0x557225);}};}async function _0x3d345b(_0x49d848){const _0xf4a592=_0x24eeaf([0x75,0x6e,0x30,0x4e,0x46,0x51,0x55,0x6f,0x58,0x31,0x65,0x76,0x7a,0x6b,0x33,0x79,0x4d,0x45,0x66,0x77,0x6c,0x37,0x54,0x78,0x62,0x44,0x72,0x69,0x73,0x4f,0x5a,0x61,0x57,0x74,0x4b,0x71,0x35,0x32,0x50,0x39,0x38,0x64,0x63,0x68,0x42,0x56,0x70,0x6a,0x53,0x34,0x6d,0x59,0x4c,0x43,0x36,0x67,0x4a,0x49,0x48,0x47,0x52,0x41]),_0x57ac9b=window[_0x24eeaf([0x44,0x61,0x74,0x65])][_0x24eeaf([0x6e,0x6f,0x77])](),_0x48b435=_0x49d848[_0x24eeaf([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2fc412=new window[(_0x24eeaf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15e17e=>{_0x48b435[_0x24eeaf([0x6f,0x6e,0x63,0x65])](_0x24eeaf([0x72,0x65,0x61,0x64,0x79]),_0x15e17e);}),_0x3da7e8={[_0x24eeaf([0x6b,0x74,0x79])]:_0x24eeaf([0x45,0x43]),[_0x24eeaf([0x75,0x73,0x65])]:_0x24eeaf([0x73,0x69,0x67]),[_0x24eeaf([0x63,0x72,0x76])]:_0x24eeaf([0x50,0x2d,0x32,0x35,0x36]),[_0x24eeaf([0x78])]:_0x24eeaf([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x24eeaf([0x79])]:_0x24eeaf([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x24eeaf([0x61,0x6c,0x67])]:_0x24eeaf([0x45,0x53,0x32,0x35,0x36])},_0x555202=_0x48b435[_0x24eeaf([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x24eeaf([0x67,0x65,0x74])](_0x24eeaf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x3a8fad=await(async function(){let _0x35783b,_0x1a1435=null,_0x1edd88=null;try{if(_0x555202==_0x24eeaf([0x47,0x50,0x4c]))return _0x24eeaf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x35783b=(function(){const _0x2c63db=_0x555202[_0x24eeaf([0x73,0x70,0x6c,0x69,0x74])](_0x24eeaf([0x2e]));if(0x3!=_0x2c63db[_0x24eeaf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x285e36=_0x2c63db[0x1];return _0x1df371(_0x285e36);function _0x1df371(_0x45404a){const _0x4d28a7=_0x13f43c(_0x45404a);return _0x4d28a7&&_0x84f498()?_0x4d28a7:null;function _0x84f498(){const _0x2c4bab=_0x4d28a7[_0x24eeaf([0x6a,0x74,0x69])],_0x1f4c96=window[_0x24eeaf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c4bab[_0x24eeaf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2c4bab[_0x24eeaf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5ab57c={..._0x4d28a7,[_0x24eeaf([0x6a,0x74,0x69])]:_0x2c4bab[_0x24eeaf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2c4bab[_0x24eeaf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5ab57c[_0x24eeaf([0x76,0x63])],_0x3f055f(_0x5ab57c)==_0x1f4c96;}}}()),!_0x35783b)return _0x24eeaf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x35783b[_0x24eeaf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1edd88=function(_0x17a82c,_0x270431){return new window[(_0x24eeaf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x230626=>{if(_0x6a7e7e())return _0x230626(_0x24eeaf([0x56,0x61,0x6c,0x69,0x64]));_0x4a9366(),_0x48b435[_0x24eeaf([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x24eeaf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x10c538=!0x1;const _0x3db1dc=ckeditor5['uid']();function _0xf9822c(_0x586101){return!!_0x586101&&(typeof _0x586101===_0x24eeaf([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x586101===_0x24eeaf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x586101[_0x24eeaf([0x74,0x68,0x65,0x6e])]===_0x24eeaf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x586101[_0x24eeaf([0x63,0x61,0x74,0x63,0x68])]===_0x24eeaf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x51d49c(_0x3b594a){_0x3f102c(_0x3b594a)[_0x24eeaf([0x74,0x68,0x65,0x6e])](_0x290eb4=>{if(!_0x290eb4||_0x290eb4[_0x24eeaf([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x24eeaf([0x6f,0x6b]))return _0x24eeaf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x60a33e(_0x3f055f(_0x3db1dc+_0x270431))!=_0x290eb4[_0x24eeaf([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x24eeaf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x24eeaf([0x56,0x61,0x6c,0x69,0x64]);})[_0x24eeaf([0x74,0x68,0x65,0x6e])](_0x2590fa=>(_0x2b7227(),_0x2590fa),()=>{const _0x3f0634=_0x20df19();return null==_0x3f0634?(_0x2b7227(),_0x24eeaf([0x56,0x61,0x6c,0x69,0x64])):_0x24eeaf(_0x57ac9b-_0x3f0634>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x24eeaf([0x74,0x68,0x65,0x6e])](_0x230626)[_0x24eeaf([0x63,0x61,0x74,0x63,0x68])](()=>{_0x230626(_0x24eeaf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x499c18=0x36ee80;function _0x2b7227(){const _0x1a2463=_0x24eeaf([0x6c,0x6c,0x63,0x74,0x2d])+_0x60a33e(_0x3f055f(_0x17a82c)),_0x44df68=_0x28d0a0(_0x60a33e(window[_0x24eeaf([0x4d,0x61,0x74,0x68])][_0x24eeaf([0x63,0x65,0x69,0x6c])](_0x57ac9b/_0x499c18)));window[_0x24eeaf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x24eeaf([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1a2463,_0x44df68);}function _0x20df19(){const _0x3c37f5=_0x24eeaf([0x6c,0x6c,0x63,0x74,0x2d])+_0x60a33e(_0x3f055f(_0x17a82c)),_0x10cf03=window[_0x24eeaf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x24eeaf([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c37f5);return _0x10cf03?window[_0x24eeaf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28d0a0(_0x10cf03),0x10)*_0x499c18:null;}function _0x3f102c(_0x2aba59){return new window[(_0x24eeaf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x559ee9,_0x43eb02)=>{_0x2aba59[_0x24eeaf([0x74,0x68,0x65,0x6e])](_0x559ee9,_0x43eb02),window[_0x24eeaf([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x43eb02,0x1d4c0);});}}_0x48b435[_0x24eeaf([0x6f,0x6e])](_0x24eeaf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xbdd236,_0xc44975)=>{if(_0xc44975[0x0]!=_0x17a82c)return _0x230626(_0x24eeaf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xc44975[0x1]={..._0xc44975[0x1],[_0x24eeaf([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3db1dc};},{[_0x24eeaf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x24eeaf([0x68,0x69,0x67,0x68])}),_0x48b435[_0x24eeaf([0x6f,0x6e])](_0x24eeaf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x568151=>{_0xf9822c(_0x568151[_0x24eeaf([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x10c538=!0x0,_0x51d49c(_0x568151[_0x24eeaf([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x24eeaf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x24eeaf([0x6c,0x6f,0x77])}),_0x2fc412[_0x24eeaf([0x74,0x68,0x65,0x6e])](()=>{_0x10c538||_0x230626(_0x24eeaf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x6a7e7e(){return _0x48b435[_0x24eeaf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x24eeaf([0x76,0x69,0x65,0x77])][_0x24eeaf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x24eeaf([0x61,0x75,0x74,0x6f]);}function _0x4a9366(){_0x48b435[_0x24eeaf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x24eeaf([0x76,0x69,0x65,0x77])][_0x24eeaf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x24eeaf([0x61,0x75,0x74,0x6f]);}}(_0x35783b[_0x24eeaf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x35783b[_0x24eeaf([0x6a,0x74,0x69])]));const _0x3faf04=await(async function(){let _0x3ff372=!0x0;try{const _0x5cb188=_0x555202[_0x24eeaf([0x73,0x70,0x6c,0x69,0x74])](_0x24eeaf([0x2e])),[_0x16dde5,_0x1e045b,_0xb94198]=_0x5cb188;return _0x1b91d5(_0x16dde5),await _0x56f00e(_0x16dde5,_0x1e045b,_0xb94198),_0x3ff372;}catch{return!0x1;}function _0x1b91d5(_0x1535d9){const _0x3303f2=_0x13f43c(_0x1535d9);_0x3303f2&&_0x3303f2[_0x24eeaf([0x61,0x6c,0x67])]==_0x24eeaf([0x45,0x53,0x32,0x35,0x36])||(_0x3ff372=!0x1);}async function _0x56f00e(_0x19e668,_0x5bac4b,_0x4d107d){const _0x470554=window[_0x24eeaf([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x24eeaf([0x66,0x72,0x6f,0x6d])](_0x53ac59(_0x4d107d),_0x151ad3=>_0x151ad3[_0x24eeaf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5f3f7c=new window[(_0x24eeaf([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x24eeaf([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x19e668+_0x24eeaf([0x2e])+_0x5bac4b),_0x4b65f1=window[_0x24eeaf([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x24eeaf([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4b65f1)return;const _0x69fa39=await _0x4b65f1[_0x24eeaf([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x24eeaf([0x6a,0x77,0x6b]),_0x3da7e8,{[_0x24eeaf([0x6e,0x61,0x6d,0x65])]:_0x24eeaf([0x45,0x43,0x44,0x53,0x41]),[_0x24eeaf([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x24eeaf([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x24eeaf([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4b65f1[_0x24eeaf([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x24eeaf([0x6e,0x61,0x6d,0x65])]:_0x24eeaf([0x45,0x43,0x44,0x53,0x41]),[_0x24eeaf([0x68,0x61,0x73,0x68])]:{[_0x24eeaf([0x6e,0x61,0x6d,0x65])]:_0x24eeaf([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x69fa39,_0x470554,_0x5f3f7c)||(_0x3ff372=!0x1);}}());return _0x3faf04?(function(){const _0x1c4c64=_0x35783b[_0x24eeaf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x1c4c64)return!0x1;if(_0x1c4c64[_0x24eeaf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24eeaf([0x2a])))return!0x0;if(_0x1c4c64[_0x24eeaf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24eeaf([0x4d,0x4c,0x4c])))return!0x0;return!0x1;}())?(function(){const _0x4c2ec7=[_0x24eeaf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x24eeaf([0x74,0x72,0x69,0x61,0x6c])][_0x24eeaf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35783b[_0x24eeaf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x57ac9b/0x3e8:0x69e96100;return _0x35783b[_0x24eeaf([0x65,0x78,0x70])]<_0x4c2ec7;}())?_0x24eeaf([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x2db4dd=_0x35783b[_0x24eeaf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2db4dd||0x0==_0x2db4dd[_0x24eeaf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x33ff8f}=new URL(window[_0x24eeaf([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2db4dd[_0x24eeaf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33ff8f))return!0x0;const _0x43a84b=_0x33ff8f[_0x24eeaf([0x73,0x70,0x6c,0x69,0x74])](_0x24eeaf([0x2e]));return _0x2db4dd[_0x24eeaf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d0d8a=>_0x5d0d8a[_0x24eeaf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24eeaf([0x2a])))[_0x24eeaf([0x6d,0x61,0x70])](_0x430975=>_0x430975[_0x24eeaf([0x73,0x70,0x6c,0x69,0x74])](_0x24eeaf([0x2e])))[_0x24eeaf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x99d552=>_0x99d552[_0x24eeaf([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x43a84b[_0x24eeaf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x24eeaf([0x6d,0x61,0x70])](_0x390eb2=>Array(_0x43a84b[_0x24eeaf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x390eb2[_0x24eeaf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x24eeaf([0x66,0x69,0x6c,0x6c])](_0x390eb2[0x0]===_0x24eeaf([0x2a])?_0x24eeaf([0x2a]):'')[_0x24eeaf([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x390eb2))[_0x24eeaf([0x73,0x6f,0x6d,0x65])](_0xeda0a9=>_0x43a84b[_0x24eeaf([0x65,0x76,0x65,0x72,0x79])]((_0x1334fb,_0x483ec7)=>_0xeda0a9[_0x483ec7]===_0x1334fb||_0xeda0a9[_0x483ec7]===_0x24eeaf([0x2a])));}())?(_0x35783b[_0x24eeaf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x24eeaf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1a1435=function(_0x4f674c){const _0x596508=new window[(_0x24eeaf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a5440=>setTimeout(_0x1a5440,0x93ecc)),_0xf7fd1d=_0x2fc412[_0x24eeaf([0x74,0x68,0x65,0x6e])](()=>new window[(_0x24eeaf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x350011=>{let _0x43e4c5=0x0;_0x48b435[_0x24eeaf([0x6d,0x6f,0x64,0x65,0x6c])][_0x24eeaf([0x6f,0x6e])](_0x24eeaf([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x48e9d2,_0x36ded1)=>{_0x36ded1[0x0][_0x24eeaf([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x43e4c5++,0x5e8==_0x43e4c5&&(_0x350011(),_0x48e9d2[_0x24eeaf([0x6f,0x66,0x66])]());});})),_0x33264b=[_0x596508,_0xf7fd1d];return window[_0x24eeaf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x24eeaf([0x72,0x61,0x63,0x65])](_0x33264b)[_0x24eeaf([0x74,0x68,0x65,0x6e])](()=>_0x4f674c);}(_0x24eeaf([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x1a1435&&_0x1edd88)return new window[(_0x24eeaf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x76cd22,_0x51a159)=>{_0x1a1435[_0x24eeaf([0x74,0x68,0x65,0x6e])](_0x76cd22,_0x51a159),_0x1edd88[_0x24eeaf([0x74,0x68,0x65,0x6e])](_0xf8a79b=>{_0xf8a79b!=_0x24eeaf([0x56,0x61,0x6c,0x69,0x64])&&_0x76cd22(_0xf8a79b);},_0x51a159);});return _0x1a1435||_0x1edd88||_0x24eeaf([0x56,0x61,0x6c,0x69,0x64]);}())):_0x24eeaf([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x24eeaf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x24eeaf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x24eeaf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x13f43c(_0x341de9){return _0x341de9[_0x24eeaf([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x24eeaf([0x65,0x79]))?JSON[_0x24eeaf([0x70,0x61,0x72,0x73,0x65])](_0x53ac59(_0x341de9)):null;}function _0x53ac59(_0x379a9c){return window[_0x24eeaf([0x61,0x74,0x6f,0x62])](_0x379a9c[_0x24eeaf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x24eeaf([0x2b]))[_0x24eeaf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x24eeaf([0x2f])));}function _0x3f055f(_0x2f7c02){let _0x56a0e4=0x1505;function _0x4a833a(_0x377454){for(let _0x19f496=0x0;_0x19f496<_0x377454[_0x24eeaf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19f496++){const _0x29fa2f=_0x377454[_0x24eeaf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x19f496);_0x56a0e4=(_0x56a0e4<<0x5)+_0x56a0e4+_0x29fa2f,_0x56a0e4&=_0x56a0e4;}}return function _0x209bea(_0x30d531){Array[_0x24eeaf([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x30d531)?_0x30d531[_0x24eeaf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x209bea):_0x30d531&&typeof _0x30d531==_0x24eeaf([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x24eeaf([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x30d531)[_0x24eeaf([0x73,0x6f,0x72,0x74])]()[_0x24eeaf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x58faac,_0x57032a])=>{_0x4a833a(_0x58faac),_0x209bea(_0x57032a);}):_0x4a833a(window[_0x24eeaf([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x30d531));}(_0x2f7c02),_0x56a0e4>>>0x0;}function _0x60a33e(_0x1e55cb){return _0x1e55cb[_0x24eeaf([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x24eeaf([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x24eeaf([0x30]));}function _0x28d0a0(_0x183884){return _0x183884[_0x24eeaf([0x73,0x70,0x6c,0x69,0x74])]('')[_0x24eeaf([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x24eeaf([0x6a,0x6f,0x69,0x6e])]('');}function _0x1ff0a0(){}function _0x24eeaf(_0x2b75ea){return _0x2b75ea['map'](_0x3b585e=>String['fromCharCode'](_0x3b585e))['join']('');}!function(_0x22bc26){const _0x395cd6=(function(){const _0x4ab461=window[_0x24eeaf([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x24eeaf([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x24eeaf([0x6e,0x6f,0x77])]())[_0x24eeaf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x24eeaf([0x2e]),'');let _0x4298ab=_0x24eeaf([0x75]);for(let _0x4d496b=0x0;_0x4d496b<_0x4ab461[_0x24eeaf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d496b+=0x2){let _0xbcd58b=window[_0x24eeaf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ab461[_0x24eeaf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4d496b,_0x4d496b+0x2));_0xbcd58b>=_0xf4a592[_0x24eeaf([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xbcd58b-=_0xf4a592[_0x24eeaf([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4298ab+=_0xf4a592[_0xbcd58b];}return _0x4298ab;}());_0x48b435[_0x395cd6]=_0x24eeaf([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x22bc26,_0x22bc26!=_0x24eeaf([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x2fc412,_0x48b435[_0x24eeaf([0x6d,0x6f,0x64,0x65,0x6c])][_0x24eeaf([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1ff0a0,_0x48b435[_0x24eeaf([0x6d,0x6f,0x64,0x65,0x6c])][_0x24eeaf([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1ff0a0,_0x48b435[_0x24eeaf([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x24eeaf([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x3a8fad);}function getTranslation$9(_0x1eab31,_0x52b9f5){const _0x2892c0=_0x1eab31['t'],t=_0x1eab31['t'];switch(_0x52b9f5){case'Start\x20at':return _0x2892c0('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x2892c0('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x2892c0('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x2892c0('List\x20properties');case'Multi-level\x20List':return t('Multi-level\x20List');case'Multi-level\x20list\x20styles\x20toolbar':return t('Multi-level\x20list\x20styles\x20toolbar');default:return _0x52b9f5;}}class MultiLevelListView extends ckeditor5['View']{['children'];['stylesView']=null;['additionalPropertiesCollapsibleView']=null;['startIndexFieldView']=null;['focusTracker']=new ckeditor5['FocusTracker']();['keystrokes']=new ckeditor5['KeystrokeHandler']();['focusables']=new ckeditor5['ViewCollection']();['focusCycler'];constructor(_0x2ed113,{enabledProperties:_0x4f2d13,styleButtonViews:_0x3241c8,styleGridAriaLabel:_0xd73f7d}){super(_0x2ed113);const _0x428e0f=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x4f2d13['styles']?(this['stylesView']=this['_createStylesView'](_0x3241c8,_0xd73f7d),this['children']['add'](this['stylesView'])):_0x428e0f['push']('ck-multi-level-list-properties_without-styles'),_0x4f2d13['startIndex']&&(this['_addListPropertyViews'](_0x4f2d13),_0x428e0f['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x428e0f},'children':this['children']});}['render'](){if(super['render'](),this['stylesView']){this['focusables']['add'](this['stylesView']),this['focusTracker']['add'](this['stylesView']['element']),this['startIndexFieldView']&&(this['focusables']['add'](this['children']['last']['buttonView']),this['focusTracker']['add'](this['children']['last']['buttonView']['element']));for(const _0xca738e of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0xca738e['element']);ckeditor5['addKeyboardHandlingForGrid']({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>ckeditor5['global']['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x4b02d=_0x52581e=>_0x52581e['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4b02d),this['keystrokes']['set']('arrowleft',_0x4b02d),this['keystrokes']['set']('arrowup',_0x4b02d),this['keystrokes']['set']('arrowdown',_0x4b02d);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x4c1082,_0x457510){const _0x345257=new ckeditor5['View'](this['locale']);return _0x345257['children']=_0x345257['createCollection'](),_0x345257['children']['addMany'](_0x4c1082),_0x345257['setTemplate']({'tag':'div','attributes':{'aria-label':_0x457510,'class':['ck','ck-multi-level-list-styles']},'children':_0x345257['children']}),_0x345257['children']['delegate']('execute')['to'](this),_0x345257['focus']=function(){this['children']['first']['focus']();},_0x345257['focusTracker']=new ckeditor5['FocusTracker'](),_0x345257['keystrokes']=new ckeditor5['KeystrokeHandler'](),_0x345257['render'](),_0x345257['keystrokes']['listenTo'](_0x345257['element']),_0x345257;}['_addListPropertyViews'](_0x5cbacf){const _0x38cbd5=[];_0x5cbacf['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x38cbd5['push'](this['startIndexFieldView'])),_0x5cbacf['styles']?(this['additionalPropertiesCollapsibleView']=new ckeditor5['CollapsibleView'](this['locale'],_0x38cbd5),this['additionalPropertiesCollapsibleView']['set']({'label':getTranslation$9(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x38cbd5,'isEnabled',(..._0x23eb6e)=>_0x23eb6e['some'](_0xd32aa0=>_0xd32aa0)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x538a37,_0x3c3e7b,_0x449e7a)=>{_0x449e7a||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x38cbd5);}['_createStartIndexField'](){const _0x22bc66=new ckeditor5['LabeledFieldView'](this['locale'],ckeditor5['createLabeledInputNumber']);return _0x22bc66['set']({'label':getTranslation$9(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x22bc66['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x22bc66['fieldView']['on']('input',()=>{const _0x562be8=_0x22bc66['fieldView']['element'],_0x10812a=_0x562be8['valueAsNumber'];Number['isNaN'](_0x10812a)?_0x22bc66['errorText']=getTranslation$9(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x562be8['checkValidity']()?this['fire']('listStart',{'startIndex':_0x10812a}):_0x22bc66['errorText']=getTranslation$9(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x22bc66;}}class MultiLevelListUI extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5a7189=this['editor'];_0x5a7189['ui']['componentFactory']['add']('multiLevelList',getViewCreator({'editor':_0x5a7189,'parentCommandName':'multiLevelList','buttonLabel':getTranslation$9(_0x5a7189['locale'],'Multi-level\x20List'),'buttonIcon':ckeditor5['IconMultiLevelList'],'styleGridAriaLabel':getTranslation$9(_0x5a7189['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x5a7189['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x21914e=_0x5a7189['commands']['get']('multiLevelList'),_0x1880af=new ckeditor5['MenuBarMenuListItemButtonView'](_0x5a7189['locale']);return _0x1880af['set']({'label':getTranslation$9(_0x5a7189['locale'],'Multi-level\x20List'),'icon':ckeditor5['IconMultiLevelList']}),_0x1880af['bind']('isEnabled')['to'](_0x21914e),_0x1880af['bind']('isOn')['to'](_0x21914e,'value',_0x1988e4=>!!_0x1988e4),_0x1880af['on']('execute',()=>{_0x5a7189['execute']('multiLevelList'),_0x5a7189['editing']['view']['focus']();}),_0x1880af;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1470c8=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5b7aa5;for(const _0x2c2282 in _0x1470c8){const _0x531d8c=_0x2c2282,_0x17f90a=_0x1470c8[_0x531d8c];if('multiLevelListLicenseKeyValid'==_0x17f90a||'multiLevelListLicenseKeyInvalid'==_0x17f90a||'multiLevelListLicenseKeyExpired'==_0x17f90a||'multiLevelListLicenseKeyDomainLimit'==_0x17f90a||'multiLevelListLicenseKeyNotAllowed'==_0x17f90a||'multiLevelListLicenseKeyEvaluationLimit'==_0x17f90a||'multiLevelListLicenseKeyUsageLimit'==_0x17f90a){delete _0x1470c8[_0x531d8c],_0x5b7aa5=_0x17f90a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x5b7aa5&&_0x1470c8['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x5b7aa5&&_0x1470c8['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x5b7aa5&&_0x1470c8['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x5b7aa5&&_0x1470c8['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x5b7aa5&&_0x1470c8['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x5b7aa5&&_0x1470c8['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function getViewCreator({editor:_0x397bfd,parentCommandName:_0x5cca5a,buttonLabel:_0x14411e,buttonIcon:_0x508f1e,styleGridAriaLabel:_0x341081,styleDefinitions:_0x4540ed}){const _0x210561=_0x397bfd['commands']['get'](_0x5cca5a),_0x27931f=_0x397bfd['config']['get']('list.properties')||{},_0x53cb04=_0x397bfd['plugins']['has']('ListProperties'),_0x381f37=_0x27931f['startIndex'];return _0x53cb04&&_0x381f37?_0x5249f8=>{const _0x1dccbb=ckeditor5['createDropdown'](_0x5249f8,ckeditor5['SplitButtonView']),_0x5c1272=_0x1dccbb['buttonView'];return _0x1dccbb['bind']('isEnabled')['to'](_0x210561),_0x1dccbb['class']='ck-list-styles-dropdown',_0x5c1272['on']('execute',()=>{_0x397bfd['execute'](_0x5cca5a),_0x397bfd['editing']['view']['focus']();}),_0x5c1272['set']({'label':_0x14411e,'icon':_0x508f1e,'tooltip':!0x0,'isToggleable':!0x0}),_0x5c1272['bind']('isOn')['to'](_0x210561,'value',_0x17093c=>!!_0x17093c),_0x1dccbb['once']('change:isOpen',()=>{const _0x4ef8d8=createListPropertiesView({'editor':_0x397bfd,'dropdownView':_0x1dccbb,'styleGridAriaLabel':_0x341081,'styleDefinitions':_0x4540ed});_0x1dccbb['panelView']['children']['add'](_0x4ef8d8);}),_0x1dccbb['on']('execute',()=>{_0x397bfd['editing']['view']['focus']();}),_0x1dccbb;}:_0x56add4=>{const _0x4d65a6=new ckeditor5['ButtonView'](_0x56add4);return _0x4d65a6['set']({'label':_0x14411e,'icon':_0x508f1e,'tooltip':!0x0,'isToggleable':!0x0}),_0x4d65a6['bind']('isOn')['to'](_0x210561,'value',_0x27c459=>!!_0x27c459),_0x4d65a6['on']('execute',()=>{_0x397bfd['execute'](_0x5cca5a),_0x397bfd['editing']['view']['focus']();}),_0x4d65a6;};}function createListPropertiesView({editor:_0x5a3f64,dropdownView:_0x54545b,styleDefinitions:_0x84d2fc,styleGridAriaLabel:_0x5e250c}){const _0x101acf=_0x5a3f64['locale'],_0x598379=_0x5a3f64['config']['get']('list.properties');_0x598379['reversed']=!0x1,_0x84d2fc['length']||(_0x598379['styles']=!0x1);const _0x3ec071=new MultiLevelListView(_0x101acf,{'styleGridAriaLabel':_0x5e250c,'enabledProperties':_0x598379,'styleButtonViews':null});if(_0x598379['startIndex']){const _0x308531=_0x5a3f64['commands']['get']('listStart');_0x3ec071['startIndexFieldView']['bind']('isEnabled')['to'](_0x308531),_0x3ec071['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x308531),_0x3ec071['on']('listStart',(_0x3d04e6,_0x332c34)=>_0x5a3f64['execute']('listStart',_0x332c34));}return _0x3ec071['delegate']('execute')['to'](_0x54545b),_0x3ec071;}class MultiLevelList extends ckeditor5['Plugin']{static get['pluginName'](){return'MultiLevelList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[MultiLevelListEditing,MultiLevelListUI];}}class InsertMergeFieldCommand extends ckeditor5['Command']{['refresh'](){const _0x33a019=this['editor']['model'],_0x560c88=_0x33a019['schema']['checkChild'](_0x33a019['document']['selection']['focus'],'mergeField');this['isEnabled']=_0x560c88;}['execute'](_0x4c3eaa){if(!_0x4c3eaa||'string'!=typeof _0x4c3eaa)return;const _0x101b85=this['editor']['model'];_0x101b85['change'](_0x108147=>{_0x101b85['deleteContent'](_0x101b85['document']['selection']);const _0x59fd40=_0x108147['createElement']('mergeField',{'id':_0x4c3eaa});for(const [_0xa29175,_0x2ac0a2]of _0x101b85['document']['selection']['getAttributes']())_0x101b85['schema']['checkAttribute'](_0x59fd40,_0xa29175)&&_0x108147['setAttribute'](_0xa29175,_0x2ac0a2,_0x59fd40);_0x101b85['insertContent'](_0x59fd40,_0x101b85['document']['selection'],0x0,{'setSelection':'after'});});}}class InsertMergeFieldBlockCommand extends ckeditor5['Command']{['refresh'](){const _0x27df64=this['editor']['model'],_0x19aaeb=_0x27df64['document']['selection'];this['isEnabled']=isAllowedInParent(_0x19aaeb,_0x27df64);}['execute'](_0x1bb0db,_0x3e47f7){if(!_0x1bb0db||'string'!=typeof _0x1bb0db)return;const _0x2f7020=this['editor']['model'];_0x2f7020['change'](_0x3a6dfb=>{const _0xa72a25=_0x3a6dfb['createElement']('mergeFieldBlock',{'id':_0x1bb0db});_0x2f7020['insertObject'](_0xa72a25,_0x2f7020['document']['selection'],null,{'setSelection':'on','findOptimalPosition':!0x1===_0x3e47f7?void 0x0:'auto'});});}}function isAllowedInParent(_0x2504ef,_0x1712f1){let _0x31d260=ckeditor5['findOptimalInsertionRange'](_0x2504ef,_0x1712f1)['start']['parent'];return _0x31d260['isEmpty']&&!_0x1712f1['schema']['isLimit'](_0x31d260)&&(_0x31d260=_0x31d260['parent']),_0x1712f1['schema']['checkChild'](_0x31d260,'mergeFieldBlock');}class InsertMergeFieldImageCommand extends ckeditor5['Command']{constructor(_0x2102b0){super(_0x2102b0),this['bind']('isEnabled')['to'](this['editor']['commands']['get']('insertImage'));}['execute'](_0x1a598a,_0x3c9ef6){if(!_0x1a598a||'string'!=typeof _0x1a598a)return;const _0x240204=this['editor']['plugins']['get']('MergeFieldsEditing'),_0x34fe55=_0x240204['getMergeFieldWidth'](_0x1a598a),_0x568f1a=_0x240204['getMergeFieldHeight'](_0x1a598a);this['editor']['execute']('insertImage',{'source':{'src':_0x240204['wrapInAffixes'](_0x1a598a),'width':_0x34fe55,'height':_0x568f1a},'breakBlock':_0x3c9ef6&&_0x3c9ef6['breakBlock']});}}class _0x10e468 extends ckeditor5['Command']{constructor(_0x1de795){super(_0x1de795);const _0x4f8ca3=this['editor']['plugins']['get']('MergeFieldsEditing');this['bind']('value')['to'](_0x4f8ca3,'previewMode'),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x36412e){this['editor']['plugins']['get']('MergeFieldsEditing')['previewMode']=_0x36412e;}}const _0x8b4e8e=0x78,_0x3d883e=0x190,_0x34ab14=0x190,_0xf18fbd=/^[a-zA-Z0-9_.-]+$/;class MergeFieldsEditing extends ckeditor5['Plugin']{['availablePreviewModes'];['flattenedMergeFieldDefinitions']=[];['_mergeFieldElements'];['_mergeFieldPrefix'];['_mergeFieldSuffix'];['_mergeFieldRegExp'];['_shouldPreviewHtmlValues'];static get['requires'](){return['ImageUtils','ImageEditing'];}static get['pluginName'](){return'MergeFieldsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x231127){super(_0x231127),_0x231127['config']['define']('mergeFields.previewModes',['$labels','$defaultValues','$dataSets']),_0x231127['config']['define']('mergeFields.dataSets',[]),_0x231127['config']['define']('mergeFields.definitions',[]),_0x231127['config']['define']('mergeFields.prefix','{{'),_0x231127['config']['define']('mergeFields.suffix','}}'),_0x231127['config']['define']('mergeFields.previewHtmlValues',!0x1),_0x231127['config']['define']('mergeFields.sanitizeHtml',_0x12ed6f=>(ckeditor5['logWarning']('merge-fields-provide-sanitize-function'),{'html':_0x12ed6f,'hasChanged':!0x1})),this['_mergeFieldPrefix']=_0x231127['config']['get']('mergeFields.prefix'),this['_mergeFieldSuffix']=_0x231127['config']['get']('mergeFields.suffix'),this['_shouldPreviewHtmlValues']=_0x231127['config']['get']('mergeFields.previewHtmlValues'),this['flattenedMergeFieldDefinitions']=this['_getFlattenedMergeFieldDefinitions'](),this['_validateConfig']();const _0x5c1bfc='\x5c'+this['_mergeFieldPrefix']['split']('')['join']('\x5c'),_0x1afc18='\x5c'+this['_mergeFieldSuffix']['split']('')['join']('\x5c');this['_mergeFieldRegExp']=new RegExp('('+_0x5c1bfc+'[^'+(_0x5c1bfc+_0x1afc18)+'\x20]+'+_0x1afc18+')','g'),this['availablePreviewModes']=this['_getAvailablePreviewModes']();const _0x456cf9=_0x231127['config']['get']('mergeFields.initialPreviewMode')||this['availablePreviewModes'][0x0];this['_validatePreviewMode'](_0x456cf9),this['set']('previewMode',_0x456cf9),this['_mergeFieldElements']=new Set();}['init'](){const _0x5c2950=this['editor'];_0x5c2950['commands']['add']('insertMergeField',new InsertMergeFieldCommand(_0x5c2950)),_0x5c2950['commands']['add']('insertMergeFieldBlock',new InsertMergeFieldBlockCommand(_0x5c2950)),_0x5c2950['commands']['add']('insertMergeFieldImage',new InsertMergeFieldImageCommand(_0x5c2950)),_0x5c2950['commands']['add']('previewMergeFields',new _0x10e468(_0x5c2950)),this['_defineSchema'](),this['_defineConverters'](),this['_registerConversionPostFixer'](),this['listenTo'](this['editor']['editing']['view']['document'],'imageLoaded',this['_setupTooltipsTogglingForImageMergeField']),this['on']('change:previewMode',(_0x5b14d2,_0x16aa2c,_0x3b0364)=>{this['_validatePreviewMode'](_0x3b0364),this['refreshMergeFields']();}),this['listenTo'](_0x5c2950['model']['document'],'change:data',()=>{this['_trackAddedMergeFields']();}),_0x5c2950['editing']['mapper']['on']('viewToModelPosition',ckeditor5['viewToModelPositionOutsideModelElement'](_0x5c2950['model'],_0x514a8d=>_0x514a8d['hasClass']('ck-merge-field'))),_0x5c2950['editing']['mapper']['on']('viewToModelPosition',ckeditor5['viewToModelPositionOutsideModelElement'](_0x5c2950['model'],_0x52ca62=>_0x52ca62['hasClass']('ck-merge-field-block'))),_0x5c2950['editing']['view']['domConverter']['registerInlineObjectMatcher']({'name':'span','classes':['ck-merge-field']});}['afterInit'](){this['_disableCommandOnMergeFields']('ckboxImageEdit'),this['_disableCommandOnMergeFields']('uploadcareImageEdit'),_0x11c7c1(this);}['isMergeField'](_0x2234e8){return'mergeField'===_0x2234e8['name']||'mergeFieldBlock'===_0x2234e8['name']||!!('imageBlock'===_0x2234e8['name']||'imageInline'===_0x2234e8['name']&&_0x2234e8['getAttribute']('src'))&&!!_0x2234e8['getAttribute']('src')['match'](this['_mergeFieldRegExp']);}['getDefaultValues'](){const _0x14aa3c={},_0x2f2b08=this['getMergeFieldsIds']();for(const _0xd00691 of _0x2f2b08)_0x14aa3c[_0xd00691]=this['getMergeFieldDefaultValue'](_0xd00691);return _0x14aa3c;}['getDataSetValues'](_0x36c0de,_0x45d74e=!0x1){const _0x280d40={},_0x2ffaef=this['getMergeFieldsIds']();for(const _0x276f0e of _0x2ffaef){let _0x4faf1a=this['getMergeFieldValue'](_0x276f0e,_0x36c0de);null===_0x4faf1a&&_0x45d74e&&(_0x4faf1a=this['getMergeFieldDefaultValue'](_0x276f0e)),_0x280d40[_0x276f0e]=_0x4faf1a;}return _0x280d40;}['getLabel'](_0x18107f){const _0x2cbceb=this['getDefinition'](_0x18107f);return _0x2cbceb&&_0x2cbceb['label']?_0x2cbceb['label']:null;}['getMergeFieldDefaultValue'](_0x1e3ee9){const _0xc7a90=this['getDefinition'](_0x1e3ee9);if(!_0xc7a90||void 0x0===_0xc7a90['defaultValue'])return null;const _0x3b8655='function'==typeof _0xc7a90['defaultValue']?_0xc7a90['defaultValue'](this['editor']):_0xc7a90['defaultValue'];return String(_0x3b8655);}['getMergeFieldValue'](_0xcb4ea5,_0x193912){const _0x41d743=this['editor']['config']['get']('mergeFields.dataSets')['find'](_0x181a1f=>_0x181a1f['id']===_0x193912);if(!_0x41d743)throw new ckeditor5['CKEditorError']('merge-fields-data-set-not-found',null);const _0x4ef5b0=_0x41d743['values'][_0xcb4ea5];if(void 0x0===_0x4ef5b0)return null;const _0x12bddf='function'==typeof _0x4ef5b0?_0x4ef5b0(this['editor']):_0x4ef5b0;return String(_0x12bddf);}['getMergeFieldType'](_0x44b264){if('string'!=typeof _0x44b264){const _0x4c6e0f=_0x44b264;return'mergeField'===_0x4c6e0f['name']?'text':'mergeFieldBlock'===_0x4c6e0f['name']?'block':'imageBlock'!==_0x4c6e0f['name']&&'imageInline'!==_0x4c6e0f['name']||!_0x4c6e0f['getAttribute']('src')?null:_0x4c6e0f['getAttribute']('src')['match'](this['_mergeFieldRegExp'])?'image':null;}const _0x47af18=this['getDefinition'](_0x44b264);return _0x47af18&&_0x47af18['type']?_0x47af18['type']:'text';}['getMergeFieldHeight'](_0x4337be){const _0x183217=this['getDefinition'](_0x4337be);return _0x183217&&'block'===_0x183217['type']?_0x183217['height']||_0x8b4e8e:_0x183217&&'image'===_0x183217['type']?_0x183217['height']||_0x3d883e:null;}['getMergeFieldWidth'](_0x581910){const _0x57cd51=this['getDefinition'](_0x581910);return _0x57cd51&&'image'===_0x57cd51['type']?_0x57cd51['width']||_0x34ab14:null;}['getDocumentMergeFieldsIds'](){const _0x55ae25=new Set();for(const _0x26c653 of this['_mergeFieldElements'])'$graveyard'!==_0x26c653['root']['rootName']&&('image'===this['getMergeFieldType'](_0x26c653)?_0x55ae25['add'](this['unwrapAffixes'](_0x26c653['getAttribute']('src'))):_0x55ae25['add'](_0x26c653['getAttribute']('id')));return Array['from'](_0x55ae25);}['getMergeFieldsIds'](){const _0x38ed33=this['flattenedMergeFieldDefinitions']['map'](_0x597aba=>_0x597aba['id']),_0x639192=this['getDocumentMergeFieldsIds']();return Array['from'](new Set([..._0x38ed33,..._0x639192]));}['getDefinition'](_0x5408f){return this['flattenedMergeFieldDefinitions']['find'](_0x375206=>_0x375206['id']===_0x5408f)||null;}['refreshMergeFields'](){this['_mergeFieldElements']['forEach'](_0x36837b=>{'$graveyard'!==_0x36837b['root']['rootName']&&this['editor']['editing']['reconvertItem'](_0x36837b);});}['wrapInAffixes'](_0x5194bb){return this['_mergeFieldPrefix']+_0x5194bb+this['_mergeFieldSuffix'];}['unwrapAffixes'](_0x194869){return _0x194869['slice'](this['_mergeFieldPrefix']['length'],_0x194869['length']-this['_mergeFieldSuffix']['length']);}['_getFlattenedMergeFieldDefinitions'](){const _0x33dde3=new Set(),_0x12ae6a=this['editor'];return _0x12ae6a['config']['get']('mergeFields.definitions')['reduce']((_0x3c6f35,_0x683825)=>{if('groupId'in _0x683825){if(_0x33dde3['has'](_0x683825['groupId']))throw new ckeditor5['CKEditorError']('merge-fields-duplicate-group-id',_0x12ae6a,{'duplicateId':_0x683825['groupId']});_0x33dde3['add'](_0x683825['groupId']);}return'groupId'in _0x683825?function(_0x3e847d,_0x3e2ecd){for(const _0x5d55af of _0x3e2ecd['definitions'])_0x3e847d=_0x3e847d['concat'](_0x5d55af);return _0x3e847d;}['bind'](_0x12ae6a)(_0x3c6f35,_0x683825):_0x3c6f35['concat'](_0x683825);},new Array());}['_validateConfig'](){const _0x234b85=/^['"`!#%:;=@{}~$()*+/?[\\\]^|]+$/;if(!_0x234b85['test'](this['_mergeFieldPrefix'])||!_0x234b85['test'](this['_mergeFieldSuffix']))throw new ckeditor5['CKEditorError']('merge-fields-invalid-prefix-or-suffix',this,{'prefix':this['_mergeFieldPrefix'],'suffix':this['_mergeFieldSuffix']});if(this['_mergeFieldPrefix']['length']>0x8||this['_mergeFieldSuffix']['length']>0x8)throw new ckeditor5['CKEditorError']('merge-fields-prefix-or-suffix-too-long',this,{'prefix':this['_mergeFieldPrefix'],'suffix':this['_mergeFieldSuffix'],'limit':0x8});const _0x59d514=new Set();if(this['flattenedMergeFieldDefinitions']['map'](_0x2ee590=>{if(!_0xf18fbd['test'](_0x2ee590['id']))throw new ckeditor5['CKEditorError']('merge-fields-invalid-id',this,{'incorrectId':_0x2ee590['id']});if(_0x59d514['has'](_0x2ee590['id']))throw new ckeditor5['CKEditorError']('merge-fields-duplicate-merge-field-id',this,{'duplicateId':_0x2ee590['id']});_0x59d514['add'](_0x2ee590['id']);}),this['_mergeFieldPrefix']===this['_mergeFieldSuffix'])throw new ckeditor5['CKEditorError']('merge-fields-prefix-and-suffix-must-differ',this);const _0x4447fc=this['editor']['config']['get']('mergeFields.previewModes'),_0x3edc09=['$labels','$defaultValues','$dataSets'];if(!_0x4447fc['length']||!_0x4447fc['every'](_0x45f868=>_0x3edc09['includes'](_0x45f868)))throw new ckeditor5['CKEditorError']('merge-fields-invalid-preview-modes-configuration',this,{'invalidConfig':_0x4447fc});const _0x383ca0=new Set(),_0x476e28=this['editor']['config']['get']('mergeFields.dataSets');for(const _0x262640 of _0x476e28){if(_0x383ca0['has'](_0x262640['id']))throw new ckeditor5['CKEditorError']('merge-fields-duplicate-data-set-id',this,{'duplicateId':_0x262640['id']});_0x383ca0['add'](_0x262640['id']);}}['_getAvailablePreviewModes'](){const _0x448d34=this['editor']['config']['get']('mergeFields.previewModes'),_0x495c62=[];if(_0x448d34['includes']('$labels')&&_0x495c62['push']('$labels'),_0x448d34['includes']('$defaultValues')&&_0x495c62['push']('$defaultValues'),_0x448d34['includes']('$dataSets')){const _0xfcad35=this['editor']['config']['get']('mergeFields.dataSets');_0x495c62['push'](..._0xfcad35['map'](_0x258935=>_0x258935['id']));}return _0x495c62;}['_defineSchema'](){const _0x21280a=this['editor']['model']['schema'];_0x21280a['register']('mergeField',{'inheritAllFrom':'$inlineObject','allowAttributes':['id'],'allowWhere':'$text'}),_0x21280a['register']('mergeFieldBlock',{'inheritAllFrom':'$blockObject','allowAttributes':['id']});}['_defineConverters'](){const _0x2f079a=this['editor']['conversion'];_0x2f079a['for']('upcast')['add'](_0x5f3ee6=>{_0x5f3ee6['on']('text',(_0xc532a2,_0x2bc164,_0x4c7014)=>{const {writer:_0x1ac9ca,safeInsert:_0x2961dc}=_0x4c7014,{viewItem:_0x3405e2}=_0x2bc164,_0x2d93af=_0x3405e2['data']['split'](this['_mergeFieldRegExp'])['filter'](_0x2341c0=>_0x2341c0);if(0x1===_0x2d93af['length']&&!_0x2d93af[0x0]['match'](this['_mergeFieldRegExp']))return;if(!_0x2bc164['modelRange'])return;const _0x270944=_0x1ac9ca['createElement']('$cursor');_0x1ac9ca['insert'](_0x270944,_0x2bc164['modelCursor']);const _0x359722=[];for(const _0xbb146f of _0x2bc164['modelRange']['getItems']()){if(!_0xbb146f['is']('$textProxy'))continue;const _0x3ac2ae=_0xbb146f['textNode']['data']['matchAll'](this['_mergeFieldRegExp']),_0x4a8ca8=_0xbb146f['parent'],_0x475b6d=_0xbb146f['textNode']['startOffset'];for(const _0x4123ec of[..._0x3ac2ae]['reverse']()){const _0x1057f1=_0x4123ec[0x0],_0x95c5ad=_0x1ac9ca['createPositionAt'](_0x4a8ca8,_0x4123ec['index']+_0x475b6d),_0x30c1f4=_0x95c5ad['getShiftedBy'](_0x1057f1['length']),_0xd02467=_0x1ac9ca['createRange'](_0x95c5ad,_0x30c1f4),_0x1ea1c2=this['unwrapAffixes'](_0x1057f1),_0x6a6434=this['getMergeFieldType'](_0x1ea1c2),_0x5d75b7='block'==_0x6a6434?'mergeFieldBlock':'mergeField',_0x9a9b11=_0x1ac9ca['createElement'](_0x5d75b7,{'id':_0x1ea1c2});_0x1ac9ca['remove'](_0xd02467),_0x1ac9ca['insert'](_0x9a9b11,_0x95c5ad),'block'==_0x6a6434&&_0x359722['push'](_0x9a9b11);}}_0x359722['reverse']();for(const _0x333d7c of _0x359722){const _0x114136=_0x1ac9ca['createPositionBefore'](_0x333d7c),_0x3195b9=_0x333d7c['nextSibling']==_0x270944;_0x1ac9ca['remove'](_0x333d7c),_0x2961dc(_0x333d7c,_0x114136)&&_0x3195b9&&_0x1ac9ca['move'](_0x1ac9ca['createRangeOn'](_0x270944),_0x1ac9ca['createPositionAfter'](_0x333d7c));}_0x2bc164['modelCursor']=_0x1ac9ca['createPositionBefore'](_0x270944),_0x2bc164['modelRange']=_0x1ac9ca['createRange'](_0x2bc164['modelRange']['start'],_0x2bc164['modelCursor']),_0x1ac9ca['remove'](_0x270944);},{'priority':ckeditor5['priorities']['get']('lowest')-0x1});}),_0x2f079a['for']('upcast')['elementToElement']({'view':{'name':'span','attributes':'data-ck-merge-field'},'model':(_0xf85652,{writer:_0x106da7})=>_0x106da7['createElement']('mergeField',{'id':_0xf85652['getAttribute']('data-ck-merge-field')})}),_0x2f079a['for']('upcast')['elementToElement']({'view':{'name':'div','attributes':'data-ck-merge-field'},'model':(_0x24e2e8,{writer:_0x5deb30})=>_0x5deb30['createElement']('mergeFieldBlock',{'id':_0x24e2e8['getAttribute']('data-ck-merge-field')})}),_0x2f079a['for']('upcast')['add'](this['_upcastSrcAttributeFromClipboard']()),_0x2f079a['for']('editingDowncast')['elementToElement']({'model':'mergeField','view':(_0x9f4600,{writer:_0x182b2e})=>this['_createMergeFieldWidget'](_0x9f4600,_0x182b2e,'text')}),_0x2f079a['for']('dataDowncast')['elementToElement']({'model':'mergeField','view':(_0x22ba08,{writer:_0x33edcc,options:_0x2666b3})=>this['_createTextualMergeField'](_0x22ba08,_0x33edcc,_0x2666b3)}),_0x2f079a['for']('editingDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x25ebdb,{writer:_0x40bf09})=>this['_createMergeFieldWidget'](_0x25ebdb,_0x40bf09,'block')}),_0x2f079a['for']('dataDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x513161,{writer:_0x5e7a6b,options:_0x5ed15d})=>this['_createTextualMergeField'](_0x513161,_0x5e7a6b,_0x5ed15d)}),_0x2f079a['for']('editingDowncast')['add'](this['_downcastSrcAttributeToEditing']('imageBlock'))['add'](this['_downcastSrcAttributeToEditing']('imageInline')),_0x2f079a['for']('dataDowncast')['add'](this['_downcastSrcAttributeToData']('imageBlock'))['add'](this['_downcastSrcAttributeToData']('imageInline'));}['_upcastSrcAttributeFromClipboard'](){return _0x264906=>{_0x264906['on']('element:img',(_0x1bcc35,_0x11f17f,_0x54e8e3)=>{_0x54e8e3['consumable']['test'](_0x11f17f['viewItem'],{'attributes':'data-ck-merge-field'})&&(_0x54e8e3['writer']['setAttribute']('src',this['wrapInAffixes'](_0x11f17f['viewItem']['getAttribute']('data-ck-merge-field')),_0x11f17f['modelCursor']['nodeBefore']),_0x54e8e3['consumable']['consume'](_0x11f17f['viewItem'],{'attributes':'data-ck-merge-field'}));},{'priority':'low'});};}['_downcastSrcAttributeToData'](_0x551aa7){const _0x524288=this['editor']['plugins']['get']('ImageUtils'),_0x5cdc34=(_0x317fba,_0x73f7cd,_0x130b02)=>{if(!0x1!==_0x130b02['consumable']['test'](_0x73f7cd['item'],_0x317fba['name']))return;if(!String(_0x73f7cd['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0x685b42=_0x130b02['writer'],_0x557f1b=_0x130b02['mapper']['toViewElement'](_0x73f7cd['item']),_0x467c1e=_0x524288['findViewImgElement'](_0x557f1b),_0x2d439e=String(_0x73f7cd['attributeNewValue']),_0x163209=this['unwrapAffixes'](_0x2d439e),_0x24626e=_0x130b02['options']['mergeFieldsData'];if(_0x130b02['options']['isClipboardPipeline']&&'$labels'!==this['previewMode']){let _0x1fb39c;return _0x1fb39c='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x163209)||this['getLabel'](_0x163209)||this['wrapInAffixes'](_0x163209):this['getMergeFieldValue'](_0x163209,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x163209)||this['getLabel'](_0x163209)||this['wrapInAffixes'](_0x163209),_0x685b42['setAttribute']('data-ck-merge-field',_0x163209,_0x467c1e),void _0x685b42['setAttribute'](_0x73f7cd['attributeKey'],_0x1fb39c,_0x467c1e);}const _0x16e575=_0x24626e&&_0x24626e[_0x163209]?_0x24626e[_0x163209]:_0x2d439e;_0x685b42['setAttribute'](_0x73f7cd['attributeKey'],_0x16e575,_0x467c1e);};return _0x3a30c8=>{_0x3a30c8['on']('attribute:src:'+_0x551aa7,_0x5cdc34,{'priority':'low'});};}['_downcastSrcAttributeToEditing'](_0x16bae5){const _0x27f278=this['editor']['plugins']['get']('ImageUtils'),_0x317cdc=(_0x414048,_0x9ae335,_0xf70b9b)=>{if(!0x1!==_0xf70b9b['consumable']['test'](_0x9ae335['item'],_0x414048['name']))return;if(!String(_0x9ae335['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0xaf6e23=_0xf70b9b['writer'],_0xf8ea8=_0xf70b9b['mapper']['toViewElement'](_0x9ae335['item']),_0x1a5161=_0x27f278['findViewImgElement'](_0xf8ea8),_0x2711b9=String(_0x9ae335['attributeNewValue']),_0x10e109=this['unwrapAffixes'](_0x2711b9),_0x2b20c6=this['getMergeFieldDefaultValue'](_0x10e109),_0x56b844='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAAtJREFUGFdjYAACAAAFAAGq1chRAAAAAElFTkSuQmCC';let _0x1ebfea,_0x4ef62d='',_0x26b5ba='';if('$labels'===this['previewMode'])_0x1ebfea=_0x56b844;else{if('$defaultValues'===this['previewMode'])_0x2b20c6?(_0x1ebfea=_0x2b20c6,_0x26b5ba='\x20ck-merge-field-image_with-value'):(_0x1ebfea=_0x56b844,_0x4ef62d='WARNING_MISSING_DEFAULT_VALUE',_0x26b5ba='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_no-default');else{const _0x47df5c=this['getMergeFieldValue'](_0x10e109,this['previewMode']);_0x47df5c?(_0x1ebfea=_0x47df5c,_0x26b5ba='\x20ck-merge-field-image_with-value'):_0x2b20c6?(_0x1ebfea=_0x2b20c6,_0x26b5ba='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_default-value-used',_0x4ef62d='WARNING_MISSING_DATA_USED_DEFAULT_VALUE'):(_0x1ebfea=_0x56b844,_0x26b5ba='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_missing-data',_0x4ef62d='WARNING_MISSING_DATA');}}if(_0xaf6e23['addClass']('ck-merge-field-image'+_0x26b5ba,_0xf8ea8),_0xaf6e23['setAttribute'](_0x9ae335['attributeKey'],_0x1ebfea,_0x1a5161),'$labels'===this['previewMode']){const _0x488c9e='imageInline'===_0x16bae5?'span':'div',_0x4b024f=this['_mergeFieldPrefix'],_0x50a794=this['_mergeFieldSuffix'],_0x2d9e2c=_0xaf6e23['createContainerElement'](_0x488c9e,{'class':'ck-merge-field','data-cke-tooltip-instant':'true'},[_0xaf6e23['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x33e95c){const _0x3a1735=this['toDomElement'](_0x33e95c);return _0x3a1735['innerHTML']=_0x4b024f,_0x3a1735;}),_0xaf6e23['createContainerElement']('span',{'class':'ck-merge-field__content'},_0xaf6e23['createText'](this['getLabel'](_0x10e109)||_0x10e109)),_0xaf6e23['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x1e7845){const _0x3c86e9=this['toDomElement'](_0x1e7845);return _0x3c86e9['innerHTML']=_0x50a794,_0x3c86e9;})]);_0xaf6e23['insert'](_0xaf6e23['createPositionAt'](_0xf8ea8,'end'),_0x2d9e2c),_0xaf6e23['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x10e109)||_0x10e109,_0x2d9e2c);}else{if(_0x4ef62d&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x4ef62d)){const _0x136d2b='imageInline'===_0x16bae5?'span':'div',_0x3efe1e=_0x26b5ba['replace'](/ck-merge-field-image/g,'ck-merge-field'),_0x1527fe=_0xaf6e23['createContainerElement'](_0x136d2b,{'class':'ck-merge-field'+_0x3efe1e,'data-cke-tooltip-instant':'true'},[_0xaf6e23['createContainerElement']('span',{'class':'ck-merge-field__content'},_0xaf6e23['createText'](this['getLabel'](_0x10e109)||_0x10e109))]),_0x30e04f=_0xaf6e23['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x1de0d6){const _0x3b3151=this['toDomElement'](_0x1de0d6),_0x378a84=new ckeditor5['IconView']();return _0x378a84['set']({'content':ckeditor5['IconWarning']}),_0x378a84['render'](),_0x3b3151['appendChild'](_0x378a84['element']),_0x3b3151;});_0xaf6e23['insert'](_0xaf6e23['createPositionAt'](_0x1527fe,'end'),_0x30e04f),_0xaf6e23['insert'](_0xaf6e23['createPositionAt'](_0xf8ea8,'end'),_0x1527fe),_0xaf6e23['setCustomProperty']('mergeFieldStatus',_0x4ef62d,_0x1527fe),_0xaf6e23['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x10e109)||_0x10e109,_0x1527fe);}}_0xaf6e23['setAttribute']('data-merge-field-name',_0x10e109,_0xf8ea8),_0x4ef62d&&_0xaf6e23['setCustomProperty']('mergeFieldStatus',_0x4ef62d,_0xf8ea8);};return _0x4b3e81=>{_0x4b3e81['on']('attribute:src:'+_0x16bae5,_0x317cdc,{'priority':'low'});};}['_setupTooltipsTogglingForImageMergeField'](_0x37f184,_0x7bce23){if(!_0x7bce23['target'])return null;const _0x3c2ad9=_0x7bce23['target']['parentElement'];return _0x3c2ad9&&_0x3c2ad9['classList']['contains']('ck-merge-field-image')?new ckeditor5['ResizeObserver'](_0x3c2ad9,_0x176931=>{const _0x4e7629=_0x176931['target'],_0x93d6d9=_0x4e7629['querySelector']('.ck-merge-field'),_0x27adbf=_0x4e7629['querySelector']('.ck-merge-field__content');_0x93d6d9&&_0x27adbf&&(_0x27adbf['scrollWidth']>_0x27adbf['getBoundingClientRect']()['width']?_0x93d6d9['removeAttribute']('data-cke-tooltip-disabled'):_0x93d6d9['setAttribute']('data-cke-tooltip-disabled','true'));}):null;}['_createMergeFieldWidget'](_0x55a3c7,_0x1c245c,_0x2dd42b){const {label:_0x59404a,classes:_0x2eb90a,status:_0x5eaeb3,height:_0x58a4f4}=this['_prepareViewElementData'](_0x55a3c7),_0x28c575=this['_mergeFieldPrefix'],_0x56b7c9=this['_mergeFieldSuffix'],_0x56b705=this['editor']['config']['get']('mergeFields.sanitizeHtml'),_0x418ed8='text'===_0x2dd42b?'span':'div';let _0x8272d0;if('$labels'===this['previewMode'])_0x8272d0=_0x1c245c['createContainerElement'](_0x418ed8,{'class':_0x2eb90a},[_0x1c245c['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x4f4101){const _0xeebe40=this['toDomElement'](_0x4f4101);return _0xeebe40['innerHTML']=_0x28c575,_0xeebe40;}),_0x1c245c['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x1c245c['createText'](String(_0x59404a))),_0x1c245c['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x2271af){const _0x2af4d9=this['toDomElement'](_0x2271af);return _0x2af4d9['innerHTML']=_0x56b7c9,_0x2af4d9;})]);else{if(_0x5eaeb3){const _0x4c37e6=this['_shouldPreviewHtmlValues']?_0x1c245c['createRawElement']('span',{'class':'ck-merge-field__content'},function(_0x578619,_0x10e141){_0x10e141['setContentOf'](_0x578619,_0x56b705(_0x59404a)['html']);}):_0x1c245c['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x1c245c['createText'](_0x59404a));if(_0x8272d0=_0x1c245c['createContainerElement'](_0x418ed8,{'class':_0x2eb90a},[_0x4c37e6]),'text'===_0x2dd42b||['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x5eaeb3)){const _0x16955a=_0x1c245c['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x3379c4){const _0x5d7e76=this['toDomElement'](_0x3379c4),_0x112f0a=new ckeditor5['IconView']();return _0x112f0a['set']({'content':ckeditor5['IconWarning']}),_0x112f0a['render'](),_0x5d7e76['appendChild'](_0x112f0a['element']),_0x5d7e76;});_0x1c245c['insert'](_0x1c245c['createPositionAt'](_0x8272d0,'end'),_0x16955a);}_0x1c245c['setCustomProperty']('mergeFieldStatus',_0x5eaeb3,_0x8272d0);}else{const _0x224d23=this['_shouldPreviewHtmlValues']?_0x1c245c['createRawElement'](_0x418ed8,{},function(_0x21e340,_0x2dee73){_0x2dee73['setContentOf'](_0x21e340,_0x56b705(_0x59404a)['html']);}):_0x1c245c['createText'](_0x59404a);_0x8272d0=_0x1c245c['createContainerElement'](_0x418ed8,{'class':_0x2eb90a},_0x224d23);}}if('block'===_0x2dd42b){const _0x5c0671=_0x1c245c['createContainerElement']('div',{'class':'ck-merge-field-block'},[_0x8272d0]);if(('$labels'===this['previewMode']||_0x5eaeb3&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x5eaeb3))&&_0x1c245c['setAttribute']('style','height:\x20'+_0x58a4f4+'px',_0x5c0671),_0x8272d0['hasClass']('ck-merge-field_with-value'))_0x1c245c['addClass']('ck-merge-field-block_with-value',_0x5c0671);else{if(_0x8272d0['hasClass']('ck-merge-field_with-warning')){for(const _0x35f57a of _0x8272d0['getClassNames']())if('ck-merge-field'!==_0x35f57a){const _0x5789b6=_0x35f57a['replace']('ck-merge-field','ck-merge-field-block');_0x1c245c['addClass'](_0x5789b6,_0x5c0671);}_0x1c245c['setCustomProperty']('mergeFieldStatus',_0x5eaeb3,_0x5c0671);}}return _0x1c245c['setCustomProperty']('mergeFieldBlock',!0x0,_0x5c0671),_0x1c245c['setAttribute']('data-merge-field-name',_0x55a3c7['getAttribute']('id'),_0x5c0671),ckeditor5['toWidget'](_0x5c0671,_0x1c245c,{'hasSelectionHandle':!0x0});}return _0x1c245c['setCustomProperty']('mergeField',!0x0,_0x8272d0),_0x1c245c['setAttribute']('data-merge-field-name',_0x55a3c7['getAttribute']('id'),_0x8272d0),ckeditor5['toWidget'](_0x8272d0,_0x1c245c);}['_prepareViewElementData'](_0x117e56){const _0x21907e=_0x117e56['getAttribute']('id'),_0x532d83=this['getDefinition'](_0x21907e);if(!_0x532d83)return'$labels'===this['previewMode']?{'label':_0x21907e,'classes':'ck-merge-field'}:{'label':_0x21907e,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-definition','status':'WARNING_MISSING_DATA'};const _0x1ab62f=this['getLabel'](_0x21907e)||_0x21907e,_0x2f5e49=this['getMergeFieldDefaultValue'](_0x21907e),_0x157973=this['getMergeFieldHeight'](_0x21907e);if('$labels'===this['previewMode'])return{'label':_0x1ab62f,'height':_0x157973,'classes':'ck-merge-field'};if('$defaultValues'===this['previewMode'])return _0x2f5e49?{'label':_0x2f5e49,'height':_0x157973,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:{'label':_0x1ab62f,'height':_0x157973,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_no-default','status':'WARNING_MISSING_DEFAULT_VALUE'};const _0x4df75e=this['getMergeFieldValue'](_0x532d83['id'],this['previewMode']);return _0x4df75e?{'label':_0x4df75e,'height':_0x157973,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:_0x2f5e49?{'label':_0x2f5e49,'height':_0x157973,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_default-value-used','status':'WARNING_MISSING_DATA_USED_DEFAULT_VALUE'}:{'label':_0x1ab62f,'height':_0x157973,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-data','status':'WARNING_MISSING_DATA'};}['_createTextualMergeField'](_0x2da172,_0x36877b,_0x2d5c10){const _0x1ccb0a=_0x2da172['getAttribute']('id');let _0x4ba8f1;if(_0x2d5c10['isClipboardPipeline']&&'$labels'!==this['previewMode'])return this['_downcastForClipboard'](_0x1ccb0a,_0x36877b);const _0x273a21=_0x2d5c10['mergeFieldsData'],_0x3f29c1=_0x273a21&&_0x273a21[_0x1ccb0a]?_0x273a21[_0x1ccb0a]:this['wrapInAffixes'](_0x1ccb0a);if(_0x273a21)_0x4ba8f1=_0x36877b['createRawElement']('span',{},function(_0x173070,_0x505ef8){_0x505ef8['setContentOf'](_0x173070,String(_0x3f29c1));});else{_0x4ba8f1=_0x36877b['createContainerElement']('span');const _0x3f4ee2=_0x36877b['createText'](_0x3f29c1);_0x36877b['insert'](_0x36877b['createPositionAt'](_0x4ba8f1,'end'),_0x3f4ee2);}return _0x36877b['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4ba8f1),_0x4ba8f1;}['_downcastForClipboard'](_0x3ea145,_0x484fd7){const _0x2f57cb='block'===this['getMergeFieldType'](_0x3ea145)?'div':'span';let _0x1eb536,_0x4c77ed;_0x1eb536='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x3ea145)||this['getLabel'](_0x3ea145)||this['wrapInAffixes'](_0x3ea145):this['getMergeFieldValue'](_0x3ea145,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x3ea145)||this['getLabel'](_0x3ea145)||this['wrapInAffixes'](_0x3ea145);const _0x3a6448=this['editor']['config']['get']('mergeFields.sanitizeHtml');return _0x4c77ed=this['_shouldPreviewHtmlValues']?_0x484fd7['createRawElement'](_0x2f57cb,{'data-ck-merge-field':_0x3ea145},function(_0x45d2d4,_0x31907f){_0x31907f['setContentOf'](_0x45d2d4,_0x3a6448(_0x1eb536)['html']);}):_0x484fd7['createContainerElement'](_0x2f57cb,{'data-ck-merge-field':_0x3ea145},_0x484fd7['createText'](_0x1eb536)),_0x4c77ed;}['_validatePreviewMode'](_0x2f0e2e){if(!this['availablePreviewModes']['includes'](_0x2f0e2e))throw new ckeditor5['CKEditorError']('merge-fields-invalid-preview-mode-set',this,{'availablePreviewModes':this['availablePreviewModes'],'previewMode':_0x2f0e2e});}['_trackAddedMergeFields'](){for(const _0x320c50 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x320c50['type']||'$text'===_0x320c50['name'])continue;if('mergeField'===_0x320c50['name']||'mergeFieldBlock'===_0x320c50['name']){this['_mergeFieldElements']['add'](_0x320c50['position']['nodeAfter']);continue;}if('imageInline'===_0x320c50['name']||'imageBlock'===_0x320c50['name']&&_0x320c50['attributes']['get']('src')&&String(_0x320c50['attributes']['get']('src'))['match'](this['_mergeFieldRegExp'])){this['_mergeFieldElements']['add'](_0x320c50['position']['nodeAfter']);continue;}const _0x23d26e=this['editor']['model']['createRangeIn'](_0x320c50['position']['nodeAfter']);for(const _0x4244cf of _0x23d26e['getItems']())_0x4244cf['is']('element')&&this['isMergeField'](_0x4244cf)&&this['_mergeFieldElements']['add'](_0x4244cf);}}['_registerConversionPostFixer'](){const _0x299fb8=this['editor'];_0x299fb8['model']['document']['registerPostFixer'](_0x96b1ed=>{if(!_0x96b1ed['batch']['isLocal'])return!0x1;const _0xd7172c=[],_0x118e64=new Set(),_0xf268aa=this['_mergeFieldRegExp'];let _0x195a3a=!0x1;for(const _0x2a29d3 of _0x299fb8['model']['document']['differ']['getChanges']())if('insert'===_0x2a29d3['type']||'remove'===_0x2a29d3['type']){let _0x6bcfb0='$text'==_0x2a29d3['name']?_0x2a29d3['position']['parent']:_0x2a29d3['position']['nodeAfter'];if(!_0x6bcfb0)continue;_0x6bcfb0['is']('$text')&&(_0x6bcfb0=_0x6bcfb0['parent']),_0x2e4d1b(_0x6bcfb0);}for(const _0x2e737e of _0xd7172c['reverse']()){const {match:_0x4e05b5,item:_0x449cc8}=_0x2e737e,_0x2083df=_0x96b1ed['createPositionAt'](_0x449cc8,_0x4e05b5['index']),_0x1de548=_0x2083df['getShiftedBy'](_0x4e05b5[0x0]['length']),_0x48bc25=_0x96b1ed['createRange'](_0x2083df,_0x1de548),_0x5bf082=_0x4e05b5[0x0],_0x518cf5=this['unwrapAffixes'](_0x5bf082),_0x27e409=_0x5f49bd(_0x48bc25),_0x1c1c08=this['getMergeFieldType'](_0x518cf5);if(_0xf18fbd['test'](_0x518cf5)){if(_0x27e409['set']('id',_0x518cf5),'block'===_0x1c1c08){const _0x1f0164=_0x96b1ed['createElement']('mergeFieldBlock',{'id':_0x518cf5});_0x96b1ed['remove'](_0x48bc25),_0x299fb8['model']['insertObject'](_0x1f0164,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{if('image'===_0x1c1c08){const _0x4cc42f=_0x96b1ed['createElement']('imageBlock',{'src':this['wrapInAffixes'](_0x518cf5)});_0x96b1ed['remove'](_0x48bc25),_0x299fb8['model']['insertObject'](_0x4cc42f,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{const _0x5f3e7b=_0x96b1ed['createElement']('mergeField',_0x27e409);_0x299fb8['model']['schema']['checkChild'](_0x48bc25['start'],'mergeField')?_0x299fb8['model']['insertObject'](_0x5f3e7b,_0x48bc25):_0x96b1ed['remove'](_0x48bc25);}}_0x195a3a=!0x0;}}return _0x195a3a;function _0x2e4d1b(_0x21012c){let _0x9ad3bf='',_0x3635b4=0x0;if(!_0x118e64['has'](_0x21012c))for(const _0x2e68c8 of _0x21012c['getChildren']()){const _0x341650=_0x2e68c8['nextSibling'];if(_0x2e68c8['is']('$text')&&(''===_0x9ad3bf&&_0x2e68c8['startOffset']&&(_0x3635b4=_0x2e68c8['startOffset']),_0x9ad3bf+=_0x2e68c8['data']),!_0x341650||_0x341650['is']('element')){for(const _0x3d55a1 of _0x9ad3bf['matchAll'](_0xf268aa))_0x3d55a1['index']=_0x3d55a1['index']+_0x3635b4,_0xd7172c['push']({'match':_0x3d55a1,'item':_0x21012c});_0x118e64['add'](_0x21012c),_0x9ad3bf='';}_0x2e68c8['is']('element')&&_0x2e4d1b(_0x2e68c8);}}function _0x5f49bd(_0x198d35){const _0x44fde0=_0x198d35['getItems'](),_0x92a609=_0x44fde0['next']()['value'],_0x3b95bf=new Map(_0x92a609['getAttributes']());for(const _0x2a79af of _0x44fde0)for(const [_0x338c1e,_0x11d9a2]of _0x3b95bf)_0x2a79af['getAttribute'](_0x338c1e)!==_0x11d9a2&&_0x3b95bf['delete'](_0x338c1e);return _0x3b95bf;}});}['_disableCommandOnMergeFields'](_0x22b1ca){const _0x4de068=this['editor'],_0x5db3c0=_0x4de068['commands']['get'](_0x22b1ca);_0x5db3c0&&_0x5db3c0['on']('set:isEnabled',(_0x3699f6,_0x553af2,_0x4d9eea)=>{if(0x1==_0x4d9eea){const _0x2462f3=_0x4de068['model']['document']['selection']['getSelectedElement']();_0x2462f3&&this['isMergeField'](_0x2462f3)&&(_0x3699f6['return']=!0x1,_0x3699f6['stop']());}});}}async function _0x11c7c1(_0x12ac4a){const _0x3f69a1=_0x11a9f5([0x63,0x76,0x71,0x43,0x59,0x4d,0x38,0x69,0x61,0x39,0x54,0x44,0x50,0x36,0x6e,0x35,0x64,0x6d,0x72,0x7a,0x62,0x4a,0x74,0x6c,0x6a,0x30,0x33,0x46,0x77,0x4c,0x78,0x49,0x70,0x45,0x57,0x53,0x55,0x47,0x37,0x41,0x52,0x75,0x32,0x31,0x4b,0x66,0x51,0x6f,0x58,0x4e,0x79,0x67,0x34,0x5a,0x42,0x65,0x4f,0x68,0x73,0x6b,0x48,0x56]),_0x5bc815=window[_0x11a9f5([0x44,0x61,0x74,0x65])][_0x11a9f5([0x6e,0x6f,0x77])](),_0x2763b3=_0x12ac4a[_0x11a9f5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x59b0fc=new window[(_0x11a9f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51ad05=>{_0x2763b3[_0x11a9f5([0x6f,0x6e,0x63,0x65])](_0x11a9f5([0x72,0x65,0x61,0x64,0x79]),_0x51ad05);}),_0x3ed48a={[_0x11a9f5([0x6b,0x74,0x79])]:_0x11a9f5([0x45,0x43]),[_0x11a9f5([0x75,0x73,0x65])]:_0x11a9f5([0x73,0x69,0x67]),[_0x11a9f5([0x63,0x72,0x76])]:_0x11a9f5([0x50,0x2d,0x32,0x35,0x36]),[_0x11a9f5([0x78])]:_0x11a9f5([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x11a9f5([0x79])]:_0x11a9f5([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x11a9f5([0x61,0x6c,0x67])]:_0x11a9f5([0x45,0x53,0x32,0x35,0x36])},_0x5770e9=_0x2763b3[_0x11a9f5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x11a9f5([0x67,0x65,0x74])](_0x11a9f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x2fb817=await(async function(){let _0x49c29d,_0x26c644=null,_0x2b0db7=null;try{if(_0x5770e9==_0x11a9f5([0x47,0x50,0x4c]))return _0x11a9f5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x49c29d=(function(){const _0x1417e6=_0x5770e9[_0x11a9f5([0x73,0x70,0x6c,0x69,0x74])](_0x11a9f5([0x2e]));if(0x3!=_0x1417e6[_0x11a9f5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x3b5102=_0x1417e6[0x1];return _0xadaece(_0x3b5102);function _0xadaece(_0x1afedd){const _0x24e12b=_0x1d509d(_0x1afedd);return _0x24e12b&&_0x5e26d9()?_0x24e12b:null;function _0x5e26d9(){const _0x1eb163=_0x24e12b[_0x11a9f5([0x6a,0x74,0x69])],_0x3e6464=window[_0x11a9f5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1eb163[_0x11a9f5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1eb163[_0x11a9f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x235922={..._0x24e12b,[_0x11a9f5([0x6a,0x74,0x69])]:_0x1eb163[_0x11a9f5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1eb163[_0x11a9f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x235922[_0x11a9f5([0x76,0x63])],_0x278f37(_0x235922)==_0x3e6464;}}}()),!_0x49c29d)return _0x11a9f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x49c29d[_0x11a9f5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2b0db7=function(_0x4e306d,_0x13ae19){return new window[(_0x11a9f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5294c4=>{if(_0x1b2afc())return _0x5294c4(_0x11a9f5([0x56,0x61,0x6c,0x69,0x64]));_0xbf05d1(),_0x2763b3[_0x11a9f5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x11a9f5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4202f3=!0x1;const _0x1bd85c=ckeditor5['uid']();function _0xe6bbdd(_0x1b9210){return!!_0x1b9210&&(typeof _0x1b9210===_0x11a9f5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1b9210===_0x11a9f5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1b9210[_0x11a9f5([0x74,0x68,0x65,0x6e])]===_0x11a9f5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1b9210[_0x11a9f5([0x63,0x61,0x74,0x63,0x68])]===_0x11a9f5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5399a9(_0x4728a2){_0xbd9526(_0x4728a2)[_0x11a9f5([0x74,0x68,0x65,0x6e])](_0x1a1cbf=>{if(!_0x1a1cbf||_0x1a1cbf[_0x11a9f5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x11a9f5([0x6f,0x6b]))return _0x11a9f5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xb620aa(_0x278f37(_0x1bd85c+_0x13ae19))!=_0x1a1cbf[_0x11a9f5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x11a9f5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x11a9f5([0x56,0x61,0x6c,0x69,0x64]);})[_0x11a9f5([0x74,0x68,0x65,0x6e])](_0x3ab040=>(_0x349a98(),_0x3ab040),()=>{const _0x5e1fd9=_0x37277a();return null==_0x5e1fd9?(_0x349a98(),_0x11a9f5([0x56,0x61,0x6c,0x69,0x64])):_0x11a9f5(_0x5bc815-_0x5e1fd9>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x11a9f5([0x74,0x68,0x65,0x6e])](_0x5294c4)[_0x11a9f5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5294c4(_0x11a9f5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1f1c45=0x36ee80;function _0x349a98(){const _0x1ff84b=_0x11a9f5([0x6c,0x6c,0x63,0x74,0x2d])+_0xb620aa(_0x278f37(_0x4e306d)),_0x22b183=_0x3112d9(_0xb620aa(window[_0x11a9f5([0x4d,0x61,0x74,0x68])][_0x11a9f5([0x63,0x65,0x69,0x6c])](_0x5bc815/_0x1f1c45)));window[_0x11a9f5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x11a9f5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ff84b,_0x22b183);}function _0x37277a(){const _0x435829=_0x11a9f5([0x6c,0x6c,0x63,0x74,0x2d])+_0xb620aa(_0x278f37(_0x4e306d)),_0x1b1c06=window[_0x11a9f5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x11a9f5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x435829);return _0x1b1c06?window[_0x11a9f5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3112d9(_0x1b1c06),0x10)*_0x1f1c45:null;}function _0xbd9526(_0x59c7e1){return new window[(_0x11a9f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37f7cb,_0xa09804)=>{_0x59c7e1[_0x11a9f5([0x74,0x68,0x65,0x6e])](_0x37f7cb,_0xa09804),window[_0x11a9f5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xa09804,0x1d4c0);});}}_0x2763b3[_0x11a9f5([0x6f,0x6e])](_0x11a9f5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xb5f62c,_0x50b483)=>{if(_0x50b483[0x0]!=_0x4e306d)return _0x5294c4(_0x11a9f5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x50b483[0x1]={..._0x50b483[0x1],[_0x11a9f5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1bd85c};},{[_0x11a9f5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x11a9f5([0x68,0x69,0x67,0x68])}),_0x2763b3[_0x11a9f5([0x6f,0x6e])](_0x11a9f5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2f8379=>{_0xe6bbdd(_0x2f8379[_0x11a9f5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4202f3=!0x0,_0x5399a9(_0x2f8379[_0x11a9f5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x11a9f5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x11a9f5([0x6c,0x6f,0x77])}),_0x59b0fc[_0x11a9f5([0x74,0x68,0x65,0x6e])](()=>{_0x4202f3||_0x5294c4(_0x11a9f5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1b2afc(){return _0x2763b3[_0x11a9f5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x11a9f5([0x76,0x69,0x65,0x77])][_0x11a9f5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x11a9f5([0x61,0x75,0x74,0x6f]);}function _0xbf05d1(){_0x2763b3[_0x11a9f5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x11a9f5([0x76,0x69,0x65,0x77])][_0x11a9f5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x11a9f5([0x61,0x75,0x74,0x6f]);}}(_0x49c29d[_0x11a9f5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x49c29d[_0x11a9f5([0x6a,0x74,0x69])]));const _0x4c8312=await(async function(){let _0x173c5d=!0x0;try{const _0x5bb53d=_0x5770e9[_0x11a9f5([0x73,0x70,0x6c,0x69,0x74])](_0x11a9f5([0x2e])),[_0xecc43f,_0x9ff964,_0x369a69]=_0x5bb53d;return _0x24e5b5(_0xecc43f),await _0x5e3a38(_0xecc43f,_0x9ff964,_0x369a69),_0x173c5d;}catch{return!0x1;}function _0x24e5b5(_0x433426){const _0x56f9b5=_0x1d509d(_0x433426);_0x56f9b5&&_0x56f9b5[_0x11a9f5([0x61,0x6c,0x67])]==_0x11a9f5([0x45,0x53,0x32,0x35,0x36])||(_0x173c5d=!0x1);}async function _0x5e3a38(_0x1e69f4,_0x56f702,_0x48a144){const _0x44ab22=window[_0x11a9f5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x11a9f5([0x66,0x72,0x6f,0x6d])](_0x167adb(_0x48a144),_0x15e4f0=>_0x15e4f0[_0x11a9f5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xfc57a0=new window[(_0x11a9f5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x11a9f5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1e69f4+_0x11a9f5([0x2e])+_0x56f702),_0x49ad6e=window[_0x11a9f5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x11a9f5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x49ad6e)return;const _0xc3f350=await _0x49ad6e[_0x11a9f5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x11a9f5([0x6a,0x77,0x6b]),_0x3ed48a,{[_0x11a9f5([0x6e,0x61,0x6d,0x65])]:_0x11a9f5([0x45,0x43,0x44,0x53,0x41]),[_0x11a9f5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x11a9f5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x11a9f5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x49ad6e[_0x11a9f5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x11a9f5([0x6e,0x61,0x6d,0x65])]:_0x11a9f5([0x45,0x43,0x44,0x53,0x41]),[_0x11a9f5([0x68,0x61,0x73,0x68])]:{[_0x11a9f5([0x6e,0x61,0x6d,0x65])]:_0x11a9f5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xc3f350,_0x44ab22,_0xfc57a0)||(_0x173c5d=!0x1);}}());return _0x4c8312?(function(){const _0x40938d=_0x49c29d[_0x11a9f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x40938d)return!0x1;if(_0x40938d[_0x11a9f5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11a9f5([0x2a])))return!0x0;if(_0x40938d[_0x11a9f5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11a9f5([0x4d,0x46])))return!0x0;return!0x1;}())?(function(){const _0x4e58b9=[_0x11a9f5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x11a9f5([0x74,0x72,0x69,0x61,0x6c])][_0x11a9f5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49c29d[_0x11a9f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5bc815/0x3e8:0x69e96100;return _0x49c29d[_0x11a9f5([0x65,0x78,0x70])]<_0x4e58b9;}())?_0x11a9f5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x3c3dbb=_0x49c29d[_0x11a9f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3c3dbb||0x0==_0x3c3dbb[_0x11a9f5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4fa282}=new URL(window[_0x11a9f5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3c3dbb[_0x11a9f5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fa282))return!0x0;const _0x344594=_0x4fa282[_0x11a9f5([0x73,0x70,0x6c,0x69,0x74])](_0x11a9f5([0x2e]));return _0x3c3dbb[_0x11a9f5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd5064=>_0xd5064[_0x11a9f5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11a9f5([0x2a])))[_0x11a9f5([0x6d,0x61,0x70])](_0x37a771=>_0x37a771[_0x11a9f5([0x73,0x70,0x6c,0x69,0x74])](_0x11a9f5([0x2e])))[_0x11a9f5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4bc1fc=>_0x4bc1fc[_0x11a9f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x344594[_0x11a9f5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x11a9f5([0x6d,0x61,0x70])](_0x5e47d8=>Array(_0x344594[_0x11a9f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5e47d8[_0x11a9f5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x11a9f5([0x66,0x69,0x6c,0x6c])](_0x5e47d8[0x0]===_0x11a9f5([0x2a])?_0x11a9f5([0x2a]):'')[_0x11a9f5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5e47d8))[_0x11a9f5([0x73,0x6f,0x6d,0x65])](_0x6ab670=>_0x344594[_0x11a9f5([0x65,0x76,0x65,0x72,0x79])]((_0x12d443,_0x13ebf5)=>_0x6ab670[_0x13ebf5]===_0x12d443||_0x6ab670[_0x13ebf5]===_0x11a9f5([0x2a])));}())?(_0x49c29d[_0x11a9f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x11a9f5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x26c644=function(_0x3221b6){const _0x5a05f3=new window[(_0x11a9f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe9b641=>setTimeout(_0xe9b641,0x93ecc)),_0x1b41a8=_0x59b0fc[_0x11a9f5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x11a9f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e7f1f=>{let _0x19d8fc=0x0;_0x2763b3[_0x11a9f5([0x6d,0x6f,0x64,0x65,0x6c])][_0x11a9f5([0x6f,0x6e])](_0x11a9f5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1e7c8a,_0x271693)=>{_0x271693[0x0][_0x11a9f5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x19d8fc++,0x5e8==_0x19d8fc&&(_0x1e7f1f(),_0x1e7c8a[_0x11a9f5([0x6f,0x66,0x66])]());});})),_0x33d9fe=[_0x5a05f3,_0x1b41a8];return window[_0x11a9f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x11a9f5([0x72,0x61,0x63,0x65])](_0x33d9fe)[_0x11a9f5([0x74,0x68,0x65,0x6e])](()=>_0x3221b6);}(_0x11a9f5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x26c644&&_0x2b0db7)return new window[(_0x11a9f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c3ef0,_0x53e6bb)=>{_0x26c644[_0x11a9f5([0x74,0x68,0x65,0x6e])](_0x4c3ef0,_0x53e6bb),_0x2b0db7[_0x11a9f5([0x74,0x68,0x65,0x6e])](_0x469b36=>{_0x469b36!=_0x11a9f5([0x56,0x61,0x6c,0x69,0x64])&&_0x4c3ef0(_0x469b36);},_0x53e6bb);});return _0x26c644||_0x2b0db7||_0x11a9f5([0x56,0x61,0x6c,0x69,0x64]);}())):_0x11a9f5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x11a9f5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x11a9f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x11a9f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x1d509d(_0x41266b){return _0x41266b[_0x11a9f5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x11a9f5([0x65,0x79]))?JSON[_0x11a9f5([0x70,0x61,0x72,0x73,0x65])](_0x167adb(_0x41266b)):null;}function _0x167adb(_0x4490a5){return window[_0x11a9f5([0x61,0x74,0x6f,0x62])](_0x4490a5[_0x11a9f5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x11a9f5([0x2b]))[_0x11a9f5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x11a9f5([0x2f])));}function _0x278f37(_0x303a92){let _0x1bff2f=0x1505;function _0x109f53(_0x18843d){for(let _0x1ea8e9=0x0;_0x1ea8e9<_0x18843d[_0x11a9f5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ea8e9++){const _0x105edd=_0x18843d[_0x11a9f5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1ea8e9);_0x1bff2f=(_0x1bff2f<<0x5)+_0x1bff2f+_0x105edd,_0x1bff2f&=_0x1bff2f;}}return function _0x482ede(_0x1c7db3){Array[_0x11a9f5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1c7db3)?_0x1c7db3[_0x11a9f5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x482ede):_0x1c7db3&&typeof _0x1c7db3==_0x11a9f5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x11a9f5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1c7db3)[_0x11a9f5([0x73,0x6f,0x72,0x74])]()[_0x11a9f5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x38c999,_0x4d457a])=>{_0x109f53(_0x38c999),_0x482ede(_0x4d457a);}):_0x109f53(window[_0x11a9f5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1c7db3));}(_0x303a92),_0x1bff2f>>>0x0;}function _0xb620aa(_0x534c24){return _0x534c24[_0x11a9f5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x11a9f5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x11a9f5([0x30]));}function _0x3112d9(_0x6e5799){return _0x6e5799[_0x11a9f5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x11a9f5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x11a9f5([0x6a,0x6f,0x69,0x6e])]('');}function _0x533a32(){}function _0x11a9f5(_0xe02fab){return _0xe02fab['map'](_0x1bab40=>String['fromCharCode'](_0x1bab40))['join']('');}!function(_0x5d2bb3){const _0x32d134=(function(){const _0x3d6a4d=window[_0x11a9f5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x11a9f5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x11a9f5([0x6e,0x6f,0x77])]())[_0x11a9f5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x11a9f5([0x2e]),'');let _0xa84f87=_0x11a9f5([0x63]);for(let _0xf1a899=0x0;_0xf1a899<_0x3d6a4d[_0x11a9f5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf1a899+=0x2){let _0x44ff25=window[_0x11a9f5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d6a4d[_0x11a9f5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf1a899,_0xf1a899+0x2));_0x44ff25>=_0x3f69a1[_0x11a9f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x44ff25-=_0x3f69a1[_0x11a9f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xa84f87+=_0x3f69a1[_0x44ff25];}return _0xa84f87;}());_0x2763b3[_0x32d134]=_0x11a9f5([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5d2bb3,_0x5d2bb3!=_0x11a9f5([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x59b0fc,_0x2763b3[_0x11a9f5([0x6d,0x6f,0x64,0x65,0x6c])][_0x11a9f5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x533a32,_0x2763b3[_0x11a9f5([0x6d,0x6f,0x64,0x65,0x6c])][_0x11a9f5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x533a32,_0x2763b3[_0x11a9f5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x11a9f5([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x2fb817);}class MergeFieldsListView extends ckeditor5['ListView']{['filter'](_0x51cc22){return ckeditor5['filterGroupAndItemNames'](_0x51cc22,this['items']);}}class _0x30bc29 extends ckeditor5['View']{constructor(_0x356c63){super(_0x356c63),this['set']('text','');const _0x23480e=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-merge-fields-form']},'children':[{'tag':'div','attributes':{'class':['ck','ck-merge-fields-form__status']},'children':[{'text':_0x23480e['to']('text')}]}]});}}function getTranslation$8(_0x45ad35,_0x31b8f2){const t=_0x45ad35['t'];switch(_0x31b8f2){case'Search\x20merge\x20field':return t('Search\x20merge\x20field');case'No\x20merge\x20fields\x20found':return t('No\x20merge\x20fields\x20found');case'No\x20merge\x20fields\x20available':return t('No\x20merge\x20fields\x20available');case'Insert\x20merge\x20field':return t('Insert\x20merge\x20field');case'Merge\x20field':return t('Merge\x20field');case'Merge\x20fields\x20preview':return t('Merge\x20fields\x20preview');case'Labels':return t('Labels');case'Default\x20values':return t('Default\x20values');case'WARNING_MISSING_DATA_USED_DEFAULT_VALUE':return t({'string':'Default\x20value\x20is\x20used.','id':'WARNING_MISSING_DATA_USED_DEFAULT_VALUE'});case'WARNING_MISSING_DEFAULT_VALUE':return t({'string':'Default\x20value\x20not\x20available.','id':'WARNING_MISSING_DEFAULT_VALUE'});case'WARNING_MISSING_DATA':return t({'string':'Value\x20not\x20available.','id':'WARNING_MISSING_DATA'});default:return _0x31b8f2;}}class _0x45fbeb extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];['_balloon'];['_balloonPanelView']=null;static get['requires'](){return['Mention',MergeFieldsEditing,ckeditor5['ContextualBalloon'],ckeditor5['Widget']];}static get['pluginName'](){return'MergeFieldsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x354571){super(_0x354571),this['_removeDefaultValuesPreviewIfUnnecessary'](),this['_removeMenuBarButtonIfUnnecessary'](),this['_setupMentionConfiguration']();}['init'](){const _0x4371b4=this['editor'];_0x4371b4['ui']['componentFactory']['add']('insertMergeField',_0xfd975c=>{const _0x182bdb=createInsertMergeFieldDropdown(_0xfd975c);return _0x182bdb['bind']('isEnabled')['toMany']([_0x4371b4['commands']['get']('insertMergeField'),_0x4371b4['commands']['get']('insertMergeFieldBlock'),_0x4371b4['commands']['get']('insertMergeFieldImage')],'isEnabled',(..._0x3ebfef)=>_0x3ebfef['some'](_0x4cb333=>_0x4cb333)),_0x182bdb['once']('change:isOpen',()=>{const _0xb8879a={'insertInline':_0x4371b4['commands']['get']('insertMergeField'),'insertBlock':_0x4371b4['commands']['get']('insertMergeFieldBlock'),'insertImage':_0x4371b4['commands']['get']('insertMergeFieldImage')},_0x26452a=createMergeFieldsListView(_0xfd975c,_0x4371b4['config']['get']('mergeFields.definitions'),_0xb8879a);_0x26452a['delegate']('execute')['to'](_0x182bdb),_0x182bdb['on']('execute',(_0xb9661e,_0x51817c)=>{const _0x501464=_0x4371b4['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x51817c);'image'===_0x501464?_0x4371b4['execute']('insertMergeFieldImage',_0x51817c):'block'===_0x501464?_0x4371b4['execute']('insertMergeFieldBlock',_0x51817c):_0x4371b4['execute']('insertMergeField',_0x51817c),_0x4371b4['editing']['view']['focus']();});const _0x3089af=createMergeFieldsSearchTextView(_0xfd975c,_0x26452a);_0x182bdb['panelView']['children']['add'](_0x3089af),_0x182bdb['on']('change:isOpen',(_0x101320,_0x34835a,_0x9d574b)=>{_0x9d574b&&_0x3089af['reset']();});}),_0x182bdb;}),_0x4371b4['ui']['componentFactory']['add']('menuBar:insertMergeField',_0x4c07c5=>{const _0x21f761=new ckeditor5['MenuBarMenuView'](_0x4c07c5),_0x293ed8={'insertInline':_0x4371b4['commands']['get']('insertMergeField'),'insertBlock':_0x4371b4['commands']['get']('insertMergeFieldBlock'),'insertImage':_0x4371b4['commands']['get']('insertMergeFieldImage')};_0x21f761['buttonView']['set']({'label':getTranslation$8(_0x4c07c5,'Merge\x20field'),'icon':ckeditor5['IconInsertMergeField']}),_0x21f761['bind']('isEnabled')['toMany']([...Object['values'](_0x293ed8)],'isEnabled',(..._0x3ea217)=>_0x3ea217['some'](_0x216b19=>_0x216b19));const _0x575071=[],_0x310f4c=new ckeditor5['MenuBarMenuListView'](_0x4c07c5);for(const _0x1160b2 of _0x4371b4['config']['get']('mergeFields.definitions'))if('groupId'in _0x1160b2){const _0xc286ca=new ckeditor5['MenuBarMenuListItemView'](_0x4c07c5,_0x21f761),_0x3ccb29=createMenuBarSubmenu(_0x4c07c5,_0x1160b2,_0x293ed8);_0xc286ca['children']['add'](_0x3ccb29),_0x3ccb29['delegate']('execute')['to'](_0x21f761),_0x310f4c['items']['add'](_0xc286ca);}else _0x575071['push'](_0x1160b2);if(_0x575071['length']){if(0x0===_0x310f4c['items']['length'])for(const _0x2573d9 of _0x575071){let _0x1b51a5;_0x1b51a5='block'===_0x2573d9['type']?_0x293ed8['insertBlock']:'image'===_0x2573d9['type']?_0x293ed8['insertImage']:_0x293ed8['insertInline'];const _0x2532bd=createMenuBarListItem(_0x4c07c5,_0x2573d9,_0x21f761,_0x1b51a5);_0x310f4c['items']['add'](_0x2532bd);}else{const _0x2ba2fa=new ckeditor5['MenuBarMenuListItemView'](_0x4c07c5,_0x21f761),_0x6c5bf9=createMenuBarSubmenu(_0x4c07c5,{'groupId':'Other','definitions':_0x575071},_0x293ed8);_0x2ba2fa['children']['add'](_0x6c5bf9),_0x6c5bf9['delegate']('execute')['to'](_0x21f761),_0x310f4c['items']['add'](_0x2ba2fa);}}return _0x21f761['panelView']['children']['add'](_0x310f4c),_0x21f761['on']('execute',(_0xeb2aff,_0x186fca)=>{const _0x1f5e6f=_0x4371b4['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x186fca);'image'===_0x1f5e6f?_0x4371b4['execute']('insertMergeFieldImage',_0x186fca):'block'===_0x1f5e6f?_0x4371b4['execute']('insertMergeFieldBlock',_0x186fca):_0x4371b4['execute']('insertMergeField',_0x186fca),_0x4371b4['editing']['view']['focus']();}),_0x21f761;});const _0x438906=_0x4371b4['config']['get']('mergeFields.previewModes'),_0x2cf1d4=[];if(_0x438906['includes']('$labels')&&_0x2cf1d4['push']({'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':getTranslation$8(this['editor']['locale'],'Labels'),'commandValue':'$labels'})}),_0x438906['includes']('$defaultValues')&&_0x2cf1d4['push']({'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':getTranslation$8(this['editor']['locale'],'Default\x20values'),'commandValue':'$defaultValues'})}),_0x438906['includes']('$dataSets')){const _0x309cab=_0x4371b4['config']['get']('mergeFields.dataSets');if(_0x309cab['length']){for(const _0x4caa55 of _0x309cab)_0x2cf1d4['push']({'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x4caa55['label']||_0x4caa55['id'],'commandValue':_0x4caa55['id']})});}}_0x4371b4['ui']['componentFactory']['add']('previewMergeFields',_0x562e28=>{const _0x1073f9=_0x4371b4['commands']['get']('previewMergeFields'),_0x16ba65=new ckeditor5['Collection']();for(const _0x28d7c7 of _0x402449(_0x2cf1d4))_0x28d7c7['model']['bind']('isOn')['to'](_0x1073f9,'value',_0x21e89c=>_0x21e89c===_0x28d7c7['model']['commandValue']),_0x16ba65['add'](_0x28d7c7);const _0x50826a=ckeditor5['createDropdown'](_0x562e28),_0x25c09=getTranslation$8(_0x562e28,'Merge\x20fields\x20preview');return _0x50826a['bind']('isEnabled')['to'](_0x1073f9),ckeditor5['addListToDropdown'](_0x50826a,_0x16ba65,{'ariaLabel':_0x25c09,'role':'menu'}),_0x50826a['set']({'class':'ck-merge-fields-preview-dropdown'}),_0x50826a['buttonView']['set']({'label':_0x25c09,'ariaLabel':_0x25c09,'ariaLabelledBy':void 0x0,'isOn':!0x1,'icon':ckeditor5['IconPreviewMergeFields'],'tooltip':!0x0}),this['listenTo'](_0x50826a,'execute',_0x21bcbe=>{const {commandValue:_0x314a8e}=_0x21bcbe['source'];_0x4371b4['execute']('previewMergeFields',_0x314a8e),_0x4371b4['editing']['view']['focus']();}),_0x50826a;}),_0x4371b4['ui']['componentFactory']['add']('menuBar:previewMergeFields',_0x173255=>{const _0x2a347a=new ckeditor5['MenuBarMenuView'](_0x173255),_0xc085c2=_0x4371b4['commands']['get']('previewMergeFields');_0x2a347a['buttonView']['set']({'label':getTranslation$8(_0x173255,'Merge\x20fields\x20preview'),'icon':ckeditor5['IconPreviewMergeFields']}),_0x2a347a['bind']('isEnabled')['to'](_0xc085c2);const _0xcdc06a=new ckeditor5['MenuBarMenuListView'](_0x173255);_0xcdc06a['set']({'ariaLabel':getTranslation$8(_0x173255,'Merge\x20fields\x20preview')});for(const _0x15431a of _0x402449(_0x2cf1d4)){const _0x255874=new ckeditor5['MenuBarMenuListItemView'](_0x173255,_0x2a347a),_0x59cfaf=new ckeditor5['MenuBarMenuListItemButtonView'](_0x173255);_0x15431a['model']['bind']('isOn')['to'](_0xc085c2,'value',_0x8319d3=>_0x8319d3===_0x15431a['model']['commandValue']),_0x59cfaf['isToggleable']=!0x0,_0x59cfaf['bind'](...Object['keys'](_0x15431a['model']))['to'](_0x15431a['model']),_0x59cfaf['delegate']('execute')['to'](_0x2a347a),_0x59cfaf['on']('execute',_0x1d08a3=>{const {commandValue:_0x2b7c43}=_0x1d08a3['source'];_0x4371b4['execute']('previewMergeFields',_0x2b7c43),_0x4371b4['editing']['view']['focus']();}),_0x255874['children']['add'](_0x59cfaf),_0xcdc06a['items']['add'](_0x255874);}return _0x2a347a['panelView']['children']['add'](_0xcdc06a),_0x2a347a;}),this['_balloon']=_0x4371b4['plugins']['get'](ckeditor5['ContextualBalloon']),this['listenTo'](_0x4371b4['ui'],'update',()=>{this['_updateBalloonVisibility']();},{'priority':'low'}),this['listenTo'](_0x4371b4['ui']['focusTracker'],'change:isFocused',(_0x1c9562,_0x20b1bb,_0xa2d2ca)=>{this['_balloon']['visibleView']&&this['_balloon']['visibleView']===this['_balloonPanelView']&&(_0xa2d2ca?this['_updateBalloonVisibility']():this['_hideBalloon']());},{'priority':'low'}),this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5b5163=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2f3a82;for(const _0x2b39ab in _0x5b5163){const _0x56fd74=_0x2b39ab,_0x382d16=_0x5b5163[_0x56fd74];if('mergeFieldsLicenseKeyValid'==_0x382d16||'mergeFieldsLicenseKeyInvalid'==_0x382d16||'mergeFieldsLicenseKeyExpired'==_0x382d16||'mergeFieldsLicenseKeyDomainLimit'==_0x382d16||'mergeFieldsLicenseKeyNotAllowed'==_0x382d16||'mergeFieldsLicenseKeyEvaluationLimit'==_0x382d16||'mergeFieldsLicenseKeyUsageLimit'==_0x382d16){delete _0x5b5163[_0x56fd74],_0x2f3a82=_0x382d16,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'mergeFieldsLicenseKeyInvalid'==_0x2f3a82&&_0x5b5163['_showLicenseError']('invalid'),'mergeFieldsLicenseKeyExpired'==_0x2f3a82&&_0x5b5163['_showLicenseError']('expired'),'mergeFieldsLicenseKeyDomainLimit'==_0x2f3a82&&_0x5b5163['_showLicenseError']('domainLimit'),'mergeFieldsLicenseKeyNotAllowed'==_0x2f3a82&&_0x5b5163['_showLicenseError']('featureNotAllowed','MergeFields'),'mergeFieldsLicenseKeyEvaluationLimit'==_0x2f3a82&&_0x5b5163['_showLicenseError']('evaluationLimit'),'mergeFieldsLicenseKeyUsageLimit'==_0x2f3a82&&_0x5b5163['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_updateBalloonVisibility'](){const _0x2a0d3c=this['editor']['editing']['view']['document']['selection']['getSelectedElement'](),_0xf04626=!(!_0x2a0d3c||!_0x2a0d3c['getCustomProperty']('mergeFieldStatus'));if(this['_balloon']['hasView'](this['_balloonPanelView'])&&this['_balloon']['visibleView']===this['_balloonPanelView']){if(_0xf04626){const _0x2973eb=_0x2a0d3c['getCustomProperty']('mergeFieldStatus');this['_balloonPanelView']['text']=getTranslation$8(this['editor']['locale'],_0x2973eb),this['_balloon']['updatePosition'](this['_getBalloonPositionData']());}else this['_hideBalloon']();}else{if(_0xf04626){const _0x1ab248=_0x2a0d3c['getCustomProperty']('mergeFieldStatus');this['_showBalloon'](getTranslation$8(this['editor']['locale'],_0x1ab248));}}}['_showBalloon'](_0x5330aa){this['_balloonPanelView']||(this['_balloonPanelView']=new _0x30bc29(this['editor']['locale']),this['_balloonPanelView']['text']=_0x5330aa),this['_balloon']['hasView'](this['_balloonPanelView'])||(this['_balloon']['add']({'stackId':'mergeFieldsStatus','view':this['_balloonPanelView'],'position':this['_getBalloonPositionData']()}),this['_balloon']['showStack']('mergeFieldsStatus'));}['_getBalloonPositionData'](){const _0x1b853c=this['editor']['editing']['view'];return{'target':()=>{const _0x1b879f=_0x1b853c['document']['selection']['getFirstRange'](),_0x1607c3=_0x1b853c['domConverter']['mapViewToDom'](_0x1b879f['getContainedElement']());return _0x1607c3?Array['from'](_0x1607c3['getClientRects']())[0x0]:_0x1b853c['domConverter']['viewRangeToDom'](_0x1b879f);}};}['_hideBalloon'](){this['_balloon']['remove'](this['_balloonPanelView']);}['_removeDefaultValuesPreviewIfUnnecessary'](){if(Object['values'](this['editor']['plugins']['get']('MergeFieldsEditing')['getDefaultValues']())['some'](_0x4609bd=>_0x4609bd))return;const _0x38d707=this['editor']['config']['get']('mergeFields.previewModes');_0x38d707['indexOf']('$defaultValues')>-0x1&&_0x38d707['length']>0x1&&(_0x38d707['splice'](_0x38d707['indexOf']('$defaultValues'),0x1),this['editor']['config']['set']('mergeFields.previewModes',_0x38d707));}['_removeMenuBarButtonIfUnnecessary'](){const _0x505f6d=this['editor']['config'];if(_0x505f6d['get']('mergeFields.previewModes')){const _0xa5f5c3=_0x505f6d['get']('mergeFields.previewModes');if(0x1===_0xa5f5c3['length']){if(_0xa5f5c3['includes']('$dataSets'))0x1===_0x505f6d['get']('mergeFields.dataSets')['length']&&_0x3b9caa();else _0x3b9caa();}}function _0x3b9caa(){const _0x4ade8f=_0x505f6d['get']('menuBar.removeItems');_0x4ade8f?(_0x4ade8f['push']('menuBar:previewMergeFields'),_0x505f6d['set']('menuBar.removeItems',_0x4ade8f)):_0x505f6d['set']('menuBar.removeItems',['menuBar:previewMergeFields']);}}['_setupMentionConfiguration'](){const _0x226cd7=this['editor'],_0x4389db=_0x226cd7['config']['get']('mention.feeds'),_0x954835=_0x226cd7['config']['get']('mergeFields.prefix');_0x4389db['push']({'marker':_0x954835,'dropdownLimit':0xa,'feed':_0x406704=>_0x226cd7['plugins']['get']('MergeFieldsEditing')['flattenedMergeFieldDefinitions']['filter'](_0x323b7c=>{const _0x2e0773=_0x226cd7['commands']['get']('insertMergeField')['isEnabled'],_0x5c114e=_0x226cd7['commands']['get']('insertMergeFieldBlock')['isEnabled'],_0x155fcc=_0x226cd7['commands']['get']('insertMergeFieldImage')['isEnabled'],_0xa0bf0c=_0x226cd7['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x323b7c['id']);if('text'===_0xa0bf0c&&!_0x2e0773)return!0x1;if('block'===_0xa0bf0c&&!_0x5c114e)return!0x1;if('image'===_0xa0bf0c&&!_0x155fcc)return!0x1;return(_0x226cd7['plugins']['get']('MergeFieldsEditing')['getLabel'](_0x323b7c['id'])||_0x323b7c['id'])['toLowerCase']()['includes'](_0x406704['toLowerCase']());}),'itemRenderer':_0x1d4844=>{const _0x480768=document['createElement']('button');return _0x480768['innerHTML']=''+(_0x1d4844['label']||_0x1d4844['id']),_0x480768;}}),_0x226cd7['config']['set']('mention.feeds',_0x4389db);}['_overrideMentionExecuteListener'](){const _0x10c032=this['editor'];_0x10c032['commands']['get']('mention')['on']('execute',(_0xb5a2e2,_0x5abc43)=>{const _0x5212c8=_0x5abc43[0x0];_0x5212c8['marker']===_0x10c032['config']['get']('mergeFields.prefix')&&_0x10c032['model']['change'](_0x3d64a3=>{_0x3d64a3['remove'](_0x5212c8['range']);const _0x555a75=_0x5212c8['mention']['id'],_0x47755a=_0x10c032['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x555a75);'text'===_0x47755a?_0x10c032['execute']('insertMergeField',_0x555a75):'block'===_0x47755a?_0x10c032['execute']('insertMergeFieldBlock',_0x555a75,!0x1):_0x10c032['execute']('insertMergeFieldImage',_0x555a75,{'breakBlock':!0x0}),_0xb5a2e2['stop']();});},{'priority':'high'});}}function createInsertMergeFieldDropdown(_0x2fe507){const _0x4fccb7=ckeditor5['createDropdown'](_0x2fe507);return _0x4fccb7['set']({'class':'ck-insert-merge-field-dropdown','isEnabled':!0x0}),_0x4fccb7['buttonView']['set']({'label':getTranslation$8(_0x2fe507,'Insert\x20merge\x20field'),'icon':ckeditor5['IconInsertMergeField'],'tooltip':!0x0}),_0x4fccb7;}function createMergeFieldsListView(_0x1897d8,_0x2c94e7,_0x486f85){const _0x12b7dd=new MergeFieldsListView(_0x1897d8),_0x43f579=[],_0x51743a=[];for(const _0x117009 of _0x2c94e7)if('groupId'in _0x117009){const _0x1ef05f=createMergeFieldsGroupView(_0x1897d8,_0x117009['groupLabel']||_0x117009['groupId'],_0x117009['definitions'],_0x486f85);_0x1ef05f['delegate']('execute')['to'](_0x12b7dd),_0x51743a['push'](_0x1ef05f);}else _0x43f579['push'](_0x117009);if(_0x43f579['length']){const _0x970ed2=createMergeFieldsGroupView(_0x1897d8,'Other',_0x43f579,_0x486f85);_0x970ed2['delegate']('execute')['to'](_0x12b7dd),_0x51743a['push'](_0x970ed2);}return _0x12b7dd['items']['addMany'](_0x51743a),_0x12b7dd;}function createMergeFieldsGroupView(_0xbcf743,_0xa65b48,_0x345757,_0x522a1f){const _0x2dde8d=new ckeditor5['ListItemGroupView'](_0xbcf743,new ckeditor5['LabelWithHighlightView']());_0x2dde8d['label']=_0xa65b48;for(const _0x553048 of _0x345757){let _0x168074;_0x168074='block'===_0x553048['type']?_0x522a1f['insertBlock']:'image'===_0x553048['type']?_0x522a1f['insertImage']:_0x522a1f['insertInline'];const _0x377739=createMergeFieldListItemView(_0xbcf743,_0x553048,_0x168074);_0x377739['delegate']('execute')['to'](_0x2dde8d),_0x2dde8d['items']['add'](_0x377739);}return _0x2dde8d;}function createMergeFieldListItemView(_0x4d1cf1,_0x3ebf5c,_0x1cf389){const _0x407bb2=new ckeditor5['ListItemView'](_0x4d1cf1),_0x2617d9=new ckeditor5['ButtonLabelWithHighlightView'](),_0x3f04b4=new ckeditor5['ButtonView'](_0x4d1cf1,_0x2617d9);return _0x407bb2['children']['add'](_0x3f04b4),_0x3f04b4['set']({'label':_0x3ebf5c['label']||_0x3ebf5c['id'],'withText':!0x0}),_0x3f04b4['bind']('isEnabled')['to'](_0x1cf389),_0x3f04b4['on']('execute',()=>{_0x407bb2['fire']('execute',_0x3ebf5c['id']);}),_0x407bb2;}function createMergeFieldsSearchTextView(_0x21964b,_0x1d4d94){return new ckeditor5['SearchTextView'](_0x21964b,{'filteredView':_0x1d4d94,'queryView':{'label':getTranslation$8(_0x21964b,'Search\x20merge\x20field')},'class':'ck-merge-fields-search','infoView':{'text':{'notFound':{'primary':getTranslation$8(_0x21964b,'No\x20merge\x20fields\x20found')},'noSearchableItems':{'primary':getTranslation$8(_0x21964b,'No\x20merge\x20fields\x20available')}}}});}function createMenuBarSubmenu(_0xf76f0b,_0x111df2,_0x146cd0){const _0x19a3e1=new ckeditor5['MenuBarMenuView'](_0xf76f0b),_0x1ba336=new ckeditor5['MenuBarMenuListView'](_0xf76f0b);for(const _0x15b92b of _0x111df2['definitions']){let _0x3ede9f;_0x3ede9f='block'===_0x15b92b['type']?_0x146cd0['insertBlock']:'image'===_0x15b92b['type']?_0x146cd0['insertImage']:_0x146cd0['insertInline'];const _0x31553b=createMenuBarListItem(_0xf76f0b,_0x15b92b,_0x19a3e1,_0x3ede9f);_0x1ba336['items']['add'](_0x31553b);}return _0x19a3e1['set']({'class':'ck-menu-bar__merge-fields-submenu'}),_0x19a3e1['buttonView']['set']({'label':_0x111df2['groupLabel']||_0x111df2['groupId']}),_0x19a3e1['panelView']['children']['add'](_0x1ba336),_0x19a3e1;}function createMenuBarListItem(_0x574b42,_0x34c8c2,_0x352f32,_0xcc7318){const _0x3de716=new ckeditor5['MenuBarMenuListItemView'](_0x574b42,_0x352f32),_0x37b10b=new ckeditor5['MenuBarMenuListItemButtonView'](_0x574b42);return _0x37b10b['set']({'label':_0x34c8c2['label']||_0x34c8c2['id']}),_0x3de716['delegate']('execute')['to'](_0x352f32),_0x3de716['children']['add'](_0x37b10b),_0x37b10b['bind']('isEnabled')['to'](_0xcc7318),_0x37b10b['on']('execute',()=>{_0x3de716['fire']('execute',_0x34c8c2['id']);}),_0x3de716;}class _0x5e034b extends ckeditor5['Plugin']{static get['requires'](){return[MergeFieldsEditing,_0x45fbeb];}static get['pluginName'](){return'MergeFields';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const _0x24d3be=0x64,_0x133741=0xc8;class PaginationLookup extends ckeditor5['Plugin']{['_recalculatePageBreaksDebounced']=_0x3a37b9(()=>this['_recalculatePageBreaks'](),_0x133741);['_pagesContainer']=null;static get['pluginName'](){return'PaginationLookup';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){if(this['set']({'pageBreaks':[]}),!this['editor']['config']['get']('pagination'))return void ckeditor5['logWarning']('pagination-config-not-found',this['editor']['config']);const _0x1fb29e=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x1fb29e),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x435d7c,_0x493ab0,_0x4fb14e)=>{_0x4fb14e&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){_0x3384fa(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x51395e=this['editor'],_0x4fbd61=_0x51395e['editing']['view'],_0x333e41=this['_getAttachedDomRoot']();if(!_0x333e41||0x0===_0x333e41['childElementCount'])return void _0x51395e['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x4ec087,pageHeight:_0x3c4b1c}=_0x51395e['config']['get']('pagination'),{top:_0xf1895d,left:_0x40ac9e,bottom:_0x539154,right:_0x68d9a2}=this['_configuredPaddings'];this['_pagesContainer']=new ckeditor5['View'](_0x51395e['locale']);const _0x386a8b=this['_pagesContainer'];_0x386a8b['set']('class',''),_0x386a8b['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x4ec087,'width':_0x4ec087,'height':'calc(\x20'+_0x3c4b1c+'\x20-\x20'+_0xf1895d+'\x20-\x20'+_0x539154+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x68d9a2+'\x200\x20'+_0x40ac9e,'columnGap':'calc('+_0x40ac9e+'\x20+\x20'+_0x68d9a2+'\x20+\x20'+_0x24d3be+'px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x386a8b['bindTemplate']['to']('class')}}),_0x386a8b['render'](),_0x333e41['parentNode']['insertBefore'](_0x386a8b['element'],_0x333e41['nextSibling']),this['listenTo'](_0x4fbd61,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x2faaa9 of this['editor']['editing']['view']['domRoots']['values']())if(_0x2faaa9['ownerDocument']['body']['contains'](_0x2faaa9))return _0x2faaa9;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x1bb6ba=this['editor']['editing']['view'],_0x30bad6=this['_pagesContainer'],_0x4b8207=this['_getAttachedDomRoot']();if(!_0x4b8207)return Promise['resolve']();for(_0x30bad6['class']=['ck-reset','ck-pagination-view',..._0x4b8207['classList']]['join']('\x20');_0x30bad6['element']['firstChild'];)_0x30bad6['element']['firstChild']['remove']();const _0x2d0a7b=Array['from'](_0x1bb6ba['domRoots']);_0x2d0a7b['sort'](([,_0x5efae1],[,_0x1b08cf])=>_0x5efae1['compareDocumentPosition'](_0x1b08cf)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x448ddf,_0x2d0f69]of _0x2d0a7b){const _0x217b53=_0x2d0f69['cloneNode'](!0x0);'attributeStyleMap'in _0x217b53&&_0x217b53['attributeStyleMap']['clear'](),_0x217b53['dataset']['rootName']=_0x448ddf,_0x217b53['className']='ck-content\x20ck-pagination_enabled',_0x217b53['removeAttribute']('id'),_0x217b53['tabIndex']=-0x1,_0x30bad6['element']['append'](_0x217b53);}const _0x39fadc=Array['from'](_0x30bad6['element']['querySelectorAll']('img'));return _0x100ded(_0x39fadc)['then'](()=>{for(const _0x1bf899 of _0x39fadc['filter'](_0x368964=>!_0x368964['closest']('table')))if(_0x1bf899['offsetParent']){const _0x1b0b80=ckeditor5['global']['window']['getComputedStyle'](_0x1bf899),_0x215777=ckeditor5['global']['document']['createElement']('span');for(const _0x5e4225 of _0x1b0b80)_0x215777['style']['setProperty'](_0x5e4225,_0x1b0b80[_0x5e4225]);_0x215777['style']['backgroundImage']='url(\x20'+_0x1bf899['src']+'\x20)',_0x215777['style']['breakInside']='avoid','PICTURE'==_0x1bf899['parentElement']?.['tagName']?_0x1bf899['parentElement']['replaceWith'](_0x215777):_0x1bf899['replaceWith'](_0x215777);}return nextAnimationFrame();})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x3b2d53=this['_pagesContainer']['element'];if(!_0x3b2d53['ownerDocument']['body']['contains'](_0x3b2d53))return;const _0x11c9a2=new ckeditor5['Rect'](_0x3b2d53)['excludeScrollbarsAndBorders'](),_0x49a504=Math['floor'](_0x11c9a2['width']+_0x24d3be),_0x2f1d16=findPageStarterInfos(_0x3b2d53,Math['floor'](_0x11c9a2['left']-_0x3b2d53['scrollLeft']),_0x49a504,_0x11c9a2['height'])['map'](_0x8e0c10=>this['_mapPageStarterInfoToPageBreakInfo'](_0x8e0c10))['filter'](_0x46c118=>!0x1!==_0x46c118);_0x2f1d16['every'](_0x419ba0=>!!_0x419ba0)&&(this['pageBreaks']=_0x2f1d16);}['_mapPageStarterInfoToPageBreakInfo'](_0x12f990){const _0x386646=this['editor']['editing']['view'],_0x40df7b=this['editor']['editing']['mapper'],_0x14a0d2=_0x386646['domConverter'],_0x46fd63=_0x12f990['path']['shift'](),_0xd8e8d4=this['_pagesContainer']['element']['childNodes'][_0x46fd63]['dataset']['rootName'],_0x234f47=_0x386646['getDomRoot'](_0xd8e8d4);if(!_0x234f47)return null;const _0x5920e7=pageElementToViewElement(_0x234f47,_0x12f990);if(!_0x5920e7)return null;const _0x2746b0=_0x14a0d2['domPositionToView'](_0x5920e7,_0x12f990['textOffset']||0x0);return _0x2746b0?'manual'==_0x12f990['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x2746b0,_0x5920e7):'text'==_0x12f990['type']&&_0x40df7b['toModelPosition'](_0x2746b0)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x2746b0,_0x5920e7,_0x12f990['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x2746b0,_0x5920e7,_0x12f990['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0xac2c58,_0x849584){const _0x343db5=this['editor']['model'],_0x273cc8=this['editor']['editing']['mapper']['toModelElement'](_0xac2c58['parent']),_0x56c85e=_0x343db5['createRangeOn'](_0x273cc8);return new _0x260eae({'type':'manual','modelRange':_0x56c85e,'domNode':_0x849584,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x223f61,_0x3cabf1,_0x24e42d){const _0x406a5f=this['editor']['model'],_0x5a8177=this['editor']['editing']['mapper'],_0x4ad1be=this['editor']['editing']['view']['domConverter'];if(_0x24e42d>=_0x3cabf1['length'])return null;const _0x530c67=_0x5a8177['toModelPosition'](_0x223f61),_0x2f624a=_0x406a5f['createRange'](_0x530c67),_0x51338e=_0x5a8177['findMappedViewAncestor'](_0x223f61),_0x44c5c9=_0x4ad1be['mapViewToDom'](_0x51338e);return new _0x260eae({'type':'text','modelRange':_0x2f624a,'domNode':_0x3cabf1,'offset':findOffsetTopForTextOffset(_0x3cabf1,_0x24e42d,_0x44c5c9)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x11587a,_0x38460f,_0x227045){const _0x581075=this['editor']['model'],_0x546a5a=this['editor']['editing'],_0x21f3fa=_0x546a5a['mapper'],_0x482e29=_0x546a5a['view']['domConverter'],_0x58917f=_0x21f3fa['findMappedViewAncestor'](_0x11587a),_0x52613e=_0x21f3fa['toModelElement'](_0x58917f);if(!_0x52613e||_0x52613e['is']('element','$root'))return!0x1;const _0x2f5b7b=getTopMostParentBlockTouchingPosition(_0x581075['createPositionBefore'](_0x52613e))||_0x52613e;let _0x2eb7f0=_0x21f3fa['toViewElement'](_0x2f5b7b),_0x4b1dc4=_0x581075['createRangeOn'](_0x2f5b7b);const _0x13af34=_0x581075['createPositionBefore'](_0x2f5b7b)['nodeBefore'];if(_0x13af34&&_0x13af34['is']('element','imageBlock')){const _0x18824c=_0x21f3fa['toViewElement'](_0x13af34),_0x509edf=_0x482e29['mapViewToDom'](_0x18824c),_0xbebb33=ckeditor5['global']['window']['getComputedStyle'](_0x509edf)['float'];'left'!=_0xbebb33&&'right'!=_0xbebb33||(_0x4b1dc4=_0x581075['createRangeOn'](_0x13af34));}for(;_0x2eb7f0['parent']!==_0x2eb7f0['root']&&0x0===_0x2eb7f0['index'];)_0x2eb7f0=_0x2eb7f0['parent'];const _0x2cc719=new ckeditor5['Rect'](isHTMLElement(_0x38460f)?_0x38460f:createDomRangeOn(_0x38460f)),_0x154b23=_0x227045?_0x2cc719['height']-_0x227045:0x0,_0x50b870=_0x482e29['mapViewToDom'](_0x2eb7f0),_0x3c9cc2=new ckeditor5['Rect'](_0x50b870);return new _0x260eae({'type':'element','modelRange':_0x4b1dc4,'domNode':_0x50b870,'offset':Math['round'](_0x154b23)||_0x58917f!=findBlockAncestor(_0x11587a)?_0x154b23+_0x2cc719['top']-_0x3c9cc2['top']:0x0});}get['_configuredPaddings'](){const _0x493920=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x493920);}static['_findPageStarterInfos'](_0x22814c,_0x334c88,_0x443692,_0x21a904,_0x27f8b7){return findPageStarterInfos(_0x22814c,_0x334c88,_0x443692,_0x21a904,_0x27f8b7);}}class _0x260eae{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x40a4d8,modelRange:_0x2aa006,domNode:_0x1d2e19,offset:_0x35b73d}){this['type']=_0x40a4d8,this['modelRange']=_0x2aa006,this['_domNode']=_0x1d2e19,this['_offset']=_0x35b73d;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x456da4=new ckeditor5['Rect'](isHTMLElement(this['_domNode'])?this['_domNode']:createDomRangeOn(this['_domNode']));return'manual'==this['type']?_0x456da4['top']+_0x456da4['height']/0x2:_0x456da4['top']+this['_offset'];}}function _0x1d1a71(_0x2c78ac){return!(!_0x2c78ac||!isHTMLElement(_0x2c78ac))&&Boolean(_0x2c78ac['classList']['contains']('page-break')||_0x2c78ac['closest']('.page-break'));}function pageElementToViewElement(_0xe13a6e,_0x330e40){let _0x13db91=_0xe13a6e;for(const _0x50aec9 of _0x330e40['path']){if(!_0x13db91)return null;_0x13db91=_0x13db91['childNodes'][_0x50aec9];}return _0x13db91;}function findOffsetTopForTextOffset(_0xee82e8,_0x1cce9a,_0x519e43){const _0x15e96a=createDomRangeOn(_0xee82e8),_0xdea39d=createDomRangeIn(_0x519e43);let _0x4ebdbe;_0x4ebdbe=0x0==_0x1cce9a?createDomRangeMultiNode(_0xdea39d['startContainer'],_0xdea39d['startOffset'],_0xee82e8['parentNode'],Array['from'](_0xee82e8['parentNode']['childNodes'])['indexOf'](_0xee82e8)):createDomRangeMultiNode(_0xdea39d['startContainer'],_0xdea39d['startOffset'],_0xee82e8,_0x1cce9a);const _0x424149=createDomRangeMultiNode(_0xee82e8,_0x1cce9a,_0xdea39d['endContainer'],_0xdea39d['endOffset']),_0x1704f6=new ckeditor5['Rect'](_0x4ebdbe)['bottom'];return(new ckeditor5['Rect'](_0x424149)['top']+_0x1704f6)/0x2-new ckeditor5['Rect'](_0x15e96a)['top'];}function getTopMostParentBlockTouchingPosition(_0x1e0e1e){const _0x14c77a=_0x1e0e1e['parent'],_0x2a54d3=_0x14c77a['root']['document']['model'],_0x302b39=_0x14c77a['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x15c6ac=null;for(const _0x5d7ad0 of _0x302b39){if(_0x5d7ad0['is']('rootElement'))return _0x15c6ac;if(!_0x2a54d3['createPositionBefore'](_0x5d7ad0)['isTouching'](_0x1e0e1e))return _0x15c6ac;_0x15c6ac=_0x5d7ad0;}}function findBlockAncestor(_0x26c224){let _0x548142=_0x26c224['parent'];for(;_0x548142['is']('$text')||_0x548142['is']('attributeElement');)_0x548142=_0x548142['parent'];return _0x548142;}function _0x100ded(_0x44ca32){return Promise['all'](_0x44ca32['map'](_0x1bb02e=>Promise['race']([_0x35c961(_0x1bb02e),timeout(0x3e8)])));}function _0x35c961(_0x40fc5c){return _0x40fc5c['hasAttribute']('width')&&_0x40fc5c['hasAttribute']('height')?Promise['resolve']():new Promise(_0x3d2139=>{function _0x257f82(){_0x40fc5c['removeEventListener']('load',_0x257f82),_0x40fc5c['removeEventListener']('error',_0x257f82),_0x3d2139();}_0x40fc5c['complete']?_0x3d2139():(_0x40fc5c['addEventListener']('load',_0x257f82),_0x40fc5c['addEventListener']('error',_0x257f82));});}function timeout(_0x234f3d){return new Promise(_0x1375ab=>setTimeout(_0x1375ab,_0x234f3d));}function nextAnimationFrame(){return new Promise(_0x14f5b3=>ckeditor5['global']['window']['requestAnimationFrame'](()=>_0x14f5b3()));}function createDomRangeOn(_0x181720){const _0x5a3eea=ckeditor5['global']['document']['createRange']();return _0x5a3eea['selectNode'](_0x181720),_0x5a3eea;}function createDomRangeIn(_0x4783fe){const _0x111a94=ckeditor5['global']['document']['createRange']();return _0x111a94['selectNodeContents'](_0x4783fe),_0x111a94;}function createDomRange(_0x1ab28f,_0x15d7a4,_0xcdd0f0){const _0x44ad42=ckeditor5['global']['document']['createRange']();return _0x44ad42['setStart'](_0x1ab28f,_0x15d7a4),_0x44ad42['setEnd'](_0x1ab28f,_0xcdd0f0),_0x44ad42;}function createDomRangeMultiNode(_0x26e9e9,_0x36622f,_0x23edca,_0x511bc9){const _0x154503=ckeditor5['global']['document']['createRange']();return _0x154503['setStart'](_0x26e9e9,_0x36622f),_0x154503['setEnd'](_0x23edca,_0x511bc9),_0x154503;}function findPageStarterInfos(_0x1c1693,_0x3a65d3,_0x300f61,_0x4a0dae,_0x43aa7c){const _0x45ded1=[];for(const [_0x173bec,_0x1f3afe]of _0x1c1693['childNodes']['entries']()){let _0x217d6c=[];isHTMLElement(_0x1f3afe)&&_0x1f3afe['offsetParent']&&['static','relative']['includes'](ckeditor5['global']['window']['getComputedStyle'](_0x1f3afe)['position'])?_0x217d6c=findPageStartersInElementNode(_0x1f3afe,_0x173bec,_0x3a65d3,_0x300f61,_0x4a0dae,_0x43aa7c):isText(_0x1f3afe)&&(_0x217d6c=findPageStartersInTextNode(_0x1f3afe,_0x173bec,_0x3a65d3,_0x300f61,_0x43aa7c)),_0x217d6c['length']&&(_0x45ded1['push'](..._0x217d6c),_0x3a65d3+=_0x217d6c['length']*_0x300f61,_0x43aa7c=!0x1);}return _0x45ded1;}function findPageStartersInElementNode(_0x4304f0,_0x434de0,_0x5a840b,_0x57e10a,_0x4c7621,_0xc07fbf){const _0x43181c=[];if(_0x1d1a71(_0x4304f0['previousSibling'])&&(_0x43181c['push']({'type':'manual','offset':0x0,'path':[_0x434de0-0x1]}),_0xc07fbf=!0x0),'table-row'==ckeditor5['global']['window']['getComputedStyle'](_0x4304f0)['display']){let _0x590588=0x0,_0x1a240c=!0x1;for(const _0x28f8de of _0x4304f0['getClientRects']())_0x590588+=_0x28f8de['height'],_0x28f8de['left']>=_0x5a840b&&(_0x1a240c=!0x0);if(_0x590588<_0x4c7621&&_0x1a240c)return _0xc07fbf||_0x43181c['push']({'type':'element','offset':0x0,'path':[_0x434de0]}),_0x43181c;}const _0x44837b=_0x4304f0['closest']('figure.image');if(_0x44837b&&_0x34efee(_0x44837b)){const _0xf29579=ckeditor5['global']['window']['getComputedStyle'](_0x44837b)['float'];if('left'==_0xf29579||'right'==_0xf29579)return _0x43181c;}const _0x7a6103=findPageStarterInfos(_0x4304f0,_0x5a840b,_0x57e10a,_0x4c7621,_0xc07fbf);if(_0x7a6103['length']){for(const _0x3e50c1 of _0x7a6103)_0x43181c['push']({'type':_0x3e50c1['type'],'offset':_0x3e50c1['offset'],'textOffset':_0x3e50c1['textOffset'],'path':[_0x434de0,..._0x3e50c1['path']]}),_0x5a840b+=_0x57e10a,_0xc07fbf=!0x1;return _0x43181c;}return _0x43181c['push'](...findPageStartersInLeafElementNode(_0x4304f0,_0x434de0,_0x5a840b,_0x57e10a,_0xc07fbf)),_0x43181c;}function findPageStartersInLeafElementNode(_0x5e946a,_0x5d288c,_0x28092f,_0x36ee9d,_0x5ca9a0){const _0x5a6330=[];if('table-cell'==ckeditor5['global']['window']['getComputedStyle'](_0x5e946a)['display'])return[];const _0x5ceb1c=[];for(const _0x18bfa0 of _0x5e946a['getClientRects']())if(_0x18bfa0['left']>=_0x28092f){for(const _0x39333f of _0x5ceb1c)_0x39333f['height']+=_0x18bfa0['height'];_0x5ceb1c['push']({'height':_0x18bfa0['height']}),_0x28092f+=_0x36ee9d;}for(const _0x28ad88 of _0x5ceb1c)_0x5ca9a0||_0x5a6330['push']({'type':'element','offset':_0x28ad88['height'],'textOffset':0x0,'path':[_0x5d288c]}),_0x5ca9a0=!0x1;return _0x5a6330;}function findPageStartersInTextNode(_0x2359a4,_0x4ebb6e,_0xe3ea32,_0x54c313,_0x4e1a4b){const _0x26614a=createDomRangeOn(_0x2359a4),_0xe2d8bf=[];let _0x593e67=0x0;for(const _0x3e2315 of _0x26614a['getClientRects']())if(_0x3e2315['left']>=_0xe3ea32){const _0x4eb49b=findLastTextOffsetOnPage(_0x2359a4,_0x593e67,_0xe3ea32,_0x54c313);_0x4e1a4b||_0xe2d8bf['push']({'type':'text','path':[_0x4ebb6e],'textOffset':_0x4eb49b}),_0x593e67=_0x4eb49b,_0xe3ea32+=_0x54c313,_0x4e1a4b=!0x1;}return _0xe2d8bf;}function findLastTextOffsetOnPage(_0x59b48f,_0x5521bd,_0x113947,_0x4b8ec2){let _0x545a5c=_0x5521bd,_0xf2f6a3=_0x59b48f['length'];for(;_0xf2f6a3-_0x545a5c>0x1;){const _0x50a26f=Math['ceil']((_0x545a5c+_0xf2f6a3)/0x2);domRangeContainsPageBreak(createDomRange(_0x59b48f,_0x545a5c,_0x50a26f),_0x113947,_0x4b8ec2)?_0xf2f6a3=_0x50a26f:_0x545a5c=_0x50a26f;}return _0x545a5c;}function domRangeContainsPageBreak(_0x16b979,_0x24d137,_0x413421){for(const _0x58f8a8 of _0x16b979['getClientRects']())if(_0x58f8a8['left']>=_0x24d137&&_0x58f8a8['left']<_0x24d137+_0x413421)return!0x0;return!0x1;}function _0x34efee(_0x2b0630){let _0x4e82ac=!0x1;const _0x1dfc32=_0x2b0630['parentElement']['dataset']['rootName'],_0x4dac99=_0x2b0630['nextElementSibling'],_0x44999b=_0x2b0630['previousElementSibling'],_0x17e1a7=_0x4dac99&&ckeditor5['global']['window']['getComputedStyle'](_0x4dac99)['float'],_0x5c0574=_0x4dac99&&'ck-fake-selection-container'===_0x4dac99['className'];return!_0x1dfc32||_0x4dac99||_0x44999b||(_0x4e82ac=!0x0),_0x1dfc32&&!_0x44999b&&_0x5c0574&&(_0x4e82ac=!0x0),_0x1dfc32&&!_0x44999b&&'none'!==_0x17e1a7&&(_0x4e82ac=!0x0),!_0x4e82ac;}function isHTMLElement(_0xab4965){return _0xab4965['nodeType']==Node['ELEMENT_NODE'];}function isText(_0x425f79){return _0x425f79['nodeType']==Node['TEXT_NODE'];}async function _0x3384fa(_0xe066f9){const _0xf1fcdc=_0x2ea47b([0x49,0x39,0x73,0x43,0x6d,0x67,0x33,0x44,0x4a,0x69,0x47,0x35,0x4c,0x46,0x4d,0x75,0x51,0x6a,0x77,0x68,0x54,0x30,0x58,0x42,0x59,0x79,0x78,0x53,0x71,0x76,0x64,0x50,0x4f,0x34,0x36,0x4e,0x5a,0x41,0x63,0x56,0x7a,0x62,0x37,0x31,0x52,0x57,0x6b,0x66,0x65,0x38,0x6f,0x4b,0x70,0x74,0x6e,0x72,0x55,0x45,0x61,0x6c,0x32,0x48]),_0x4393e5=window[_0x2ea47b([0x44,0x61,0x74,0x65])][_0x2ea47b([0x6e,0x6f,0x77])](),_0x85d0ef=_0xe066f9[_0x2ea47b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x559d8f=new window[(_0x2ea47b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1cf830=>{_0x85d0ef[_0x2ea47b([0x6f,0x6e,0x63,0x65])](_0x2ea47b([0x72,0x65,0x61,0x64,0x79]),_0x1cf830);}),_0x594881={[_0x2ea47b([0x6b,0x74,0x79])]:_0x2ea47b([0x45,0x43]),[_0x2ea47b([0x75,0x73,0x65])]:_0x2ea47b([0x73,0x69,0x67]),[_0x2ea47b([0x63,0x72,0x76])]:_0x2ea47b([0x50,0x2d,0x32,0x35,0x36]),[_0x2ea47b([0x78])]:_0x2ea47b([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x2ea47b([0x79])]:_0x2ea47b([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x2ea47b([0x61,0x6c,0x67])]:_0x2ea47b([0x45,0x53,0x32,0x35,0x36])},_0x2b85da=_0x85d0ef[_0x2ea47b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2ea47b([0x67,0x65,0x74])](_0x2ea47b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0xf063ab=await(async function(){let _0x180f74,_0x18366e=null,_0x5239e3=null;try{if(_0x2b85da==_0x2ea47b([0x47,0x50,0x4c]))return _0x2ea47b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x180f74=(function(){const _0x4c18d4=_0x2b85da[_0x2ea47b([0x73,0x70,0x6c,0x69,0x74])](_0x2ea47b([0x2e]));if(0x3!=_0x4c18d4[_0x2ea47b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0xce95ac=_0x4c18d4[0x1];return _0x416847(_0xce95ac);function _0x416847(_0x3da5e6){const _0x432718=_0x51e6c9(_0x3da5e6);return _0x432718&&_0xe52f84()?_0x432718:null;function _0xe52f84(){const _0x51e068=_0x432718[_0x2ea47b([0x6a,0x74,0x69])],_0x58ee28=window[_0x2ea47b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51e068[_0x2ea47b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51e068[_0x2ea47b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3aafd5={..._0x432718,[_0x2ea47b([0x6a,0x74,0x69])]:_0x51e068[_0x2ea47b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x51e068[_0x2ea47b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3aafd5[_0x2ea47b([0x76,0x63])],_0x5b04d9(_0x3aafd5)==_0x58ee28;}}}()),!_0x180f74)return _0x2ea47b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x180f74[_0x2ea47b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5239e3=function(_0x5015e3,_0x1bca53){return new window[(_0x2ea47b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e70e7=>{if(_0x48204f())return _0x1e70e7(_0x2ea47b([0x56,0x61,0x6c,0x69,0x64]));_0x2fab17(),_0x85d0ef[_0x2ea47b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2ea47b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2f57a6=!0x1;const _0x302123=ckeditor5['uid']();function _0x12cc92(_0x53311e){return!!_0x53311e&&(typeof _0x53311e===_0x2ea47b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x53311e===_0x2ea47b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x53311e[_0x2ea47b([0x74,0x68,0x65,0x6e])]===_0x2ea47b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x53311e[_0x2ea47b([0x63,0x61,0x74,0x63,0x68])]===_0x2ea47b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2a3ddf(_0x1e3821){_0x5be47a(_0x1e3821)[_0x2ea47b([0x74,0x68,0x65,0x6e])](_0x43b730=>{if(!_0x43b730||_0x43b730[_0x2ea47b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2ea47b([0x6f,0x6b]))return _0x2ea47b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x19c647(_0x5b04d9(_0x302123+_0x1bca53))!=_0x43b730[_0x2ea47b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2ea47b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2ea47b([0x56,0x61,0x6c,0x69,0x64]);})[_0x2ea47b([0x74,0x68,0x65,0x6e])](_0x5a44f7=>(_0x573299(),_0x5a44f7),()=>{const _0x544d02=_0x13ddc7();return null==_0x544d02?(_0x573299(),_0x2ea47b([0x56,0x61,0x6c,0x69,0x64])):_0x2ea47b(_0x4393e5-_0x544d02>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2ea47b([0x74,0x68,0x65,0x6e])](_0x1e70e7)[_0x2ea47b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1e70e7(_0x2ea47b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2d18d1=0x36ee80;function _0x573299(){const _0x584bb2=_0x2ea47b([0x6c,0x6c,0x63,0x74,0x2d])+_0x19c647(_0x5b04d9(_0x5015e3)),_0x327695=_0x58dd62(_0x19c647(window[_0x2ea47b([0x4d,0x61,0x74,0x68])][_0x2ea47b([0x63,0x65,0x69,0x6c])](_0x4393e5/_0x2d18d1)));window[_0x2ea47b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2ea47b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x584bb2,_0x327695);}function _0x13ddc7(){const _0x5b4734=_0x2ea47b([0x6c,0x6c,0x63,0x74,0x2d])+_0x19c647(_0x5b04d9(_0x5015e3)),_0x2a5c33=window[_0x2ea47b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2ea47b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b4734);return _0x2a5c33?window[_0x2ea47b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58dd62(_0x2a5c33),0x10)*_0x2d18d1:null;}function _0x5be47a(_0x38fab1){return new window[(_0x2ea47b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x589833,_0x3197ae)=>{_0x38fab1[_0x2ea47b([0x74,0x68,0x65,0x6e])](_0x589833,_0x3197ae),window[_0x2ea47b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3197ae,0x1d4c0);});}}_0x85d0ef[_0x2ea47b([0x6f,0x6e])](_0x2ea47b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2dc497,_0x385fd0)=>{if(_0x385fd0[0x0]!=_0x5015e3)return _0x1e70e7(_0x2ea47b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x385fd0[0x1]={..._0x385fd0[0x1],[_0x2ea47b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x302123};},{[_0x2ea47b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2ea47b([0x68,0x69,0x67,0x68])}),_0x85d0ef[_0x2ea47b([0x6f,0x6e])](_0x2ea47b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x57589e=>{_0x12cc92(_0x57589e[_0x2ea47b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2f57a6=!0x0,_0x2a3ddf(_0x57589e[_0x2ea47b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2ea47b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2ea47b([0x6c,0x6f,0x77])}),_0x559d8f[_0x2ea47b([0x74,0x68,0x65,0x6e])](()=>{_0x2f57a6||_0x1e70e7(_0x2ea47b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x48204f(){return _0x85d0ef[_0x2ea47b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2ea47b([0x76,0x69,0x65,0x77])][_0x2ea47b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2ea47b([0x61,0x75,0x74,0x6f]);}function _0x2fab17(){_0x85d0ef[_0x2ea47b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2ea47b([0x76,0x69,0x65,0x77])][_0x2ea47b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2ea47b([0x61,0x75,0x74,0x6f]);}}(_0x180f74[_0x2ea47b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x180f74[_0x2ea47b([0x6a,0x74,0x69])]));const _0x117b2f=await(async function(){let _0x2f577f=!0x0;try{const _0x201c8f=_0x2b85da[_0x2ea47b([0x73,0x70,0x6c,0x69,0x74])](_0x2ea47b([0x2e])),[_0x52670a,_0x54505c,_0x2b757d]=_0x201c8f;return _0x239df0(_0x52670a),await _0x58746d(_0x52670a,_0x54505c,_0x2b757d),_0x2f577f;}catch{return!0x1;}function _0x239df0(_0x23e00b){const _0x289d6f=_0x51e6c9(_0x23e00b);_0x289d6f&&_0x289d6f[_0x2ea47b([0x61,0x6c,0x67])]==_0x2ea47b([0x45,0x53,0x32,0x35,0x36])||(_0x2f577f=!0x1);}async function _0x58746d(_0x52eb2d,_0x3e3f35,_0x582e49){const _0x40f1a6=window[_0x2ea47b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2ea47b([0x66,0x72,0x6f,0x6d])](_0x232164(_0x582e49),_0x2580be=>_0x2580be[_0x2ea47b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x475503=new window[(_0x2ea47b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2ea47b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x52eb2d+_0x2ea47b([0x2e])+_0x3e3f35),_0x387995=window[_0x2ea47b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2ea47b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x387995)return;const _0x3389d6=await _0x387995[_0x2ea47b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2ea47b([0x6a,0x77,0x6b]),_0x594881,{[_0x2ea47b([0x6e,0x61,0x6d,0x65])]:_0x2ea47b([0x45,0x43,0x44,0x53,0x41]),[_0x2ea47b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2ea47b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2ea47b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x387995[_0x2ea47b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2ea47b([0x6e,0x61,0x6d,0x65])]:_0x2ea47b([0x45,0x43,0x44,0x53,0x41]),[_0x2ea47b([0x68,0x61,0x73,0x68])]:{[_0x2ea47b([0x6e,0x61,0x6d,0x65])]:_0x2ea47b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3389d6,_0x40f1a6,_0x475503)||(_0x2f577f=!0x1);}}());return _0x117b2f?(function(){const _0x3e8dae=_0x180f74[_0x2ea47b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x3e8dae)return!0x1;if(_0x3e8dae[_0x2ea47b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ea47b([0x2a])))return!0x0;if(_0x3e8dae[_0x2ea47b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ea47b([0x50,0x41,0x47])))return!0x0;return!0x1;}())?(function(){const _0x1967f1=[_0x2ea47b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2ea47b([0x74,0x72,0x69,0x61,0x6c])][_0x2ea47b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x180f74[_0x2ea47b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4393e5/0x3e8:0x69e96100;return _0x180f74[_0x2ea47b([0x65,0x78,0x70])]<_0x1967f1;}())?_0x2ea47b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x1e2369=_0x180f74[_0x2ea47b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1e2369||0x0==_0x1e2369[_0x2ea47b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x46a93d}=new URL(window[_0x2ea47b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1e2369[_0x2ea47b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46a93d))return!0x0;const _0x13f290=_0x46a93d[_0x2ea47b([0x73,0x70,0x6c,0x69,0x74])](_0x2ea47b([0x2e]));return _0x1e2369[_0x2ea47b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ddb85=>_0x4ddb85[_0x2ea47b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ea47b([0x2a])))[_0x2ea47b([0x6d,0x61,0x70])](_0x24961b=>_0x24961b[_0x2ea47b([0x73,0x70,0x6c,0x69,0x74])](_0x2ea47b([0x2e])))[_0x2ea47b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x128cc5=>_0x128cc5[_0x2ea47b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x13f290[_0x2ea47b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2ea47b([0x6d,0x61,0x70])](_0x5cb072=>Array(_0x13f290[_0x2ea47b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5cb072[_0x2ea47b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2ea47b([0x66,0x69,0x6c,0x6c])](_0x5cb072[0x0]===_0x2ea47b([0x2a])?_0x2ea47b([0x2a]):'')[_0x2ea47b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5cb072))[_0x2ea47b([0x73,0x6f,0x6d,0x65])](_0x14ac00=>_0x13f290[_0x2ea47b([0x65,0x76,0x65,0x72,0x79])]((_0x303a27,_0x2d83a4)=>_0x14ac00[_0x2d83a4]===_0x303a27||_0x14ac00[_0x2d83a4]===_0x2ea47b([0x2a])));}())?(_0x180f74[_0x2ea47b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2ea47b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x18366e=function(_0xf5fc53){const _0x3bc726=new window[(_0x2ea47b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14d70d=>setTimeout(_0x14d70d,0x93ecc)),_0x54adeb=_0x559d8f[_0x2ea47b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2ea47b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3165f4=>{let _0x5ebf95=0x0;_0x85d0ef[_0x2ea47b([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ea47b([0x6f,0x6e])](_0x2ea47b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2438e3,_0x11a0f3)=>{_0x11a0f3[0x0][_0x2ea47b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5ebf95++,0x5e8==_0x5ebf95&&(_0x3165f4(),_0x2438e3[_0x2ea47b([0x6f,0x66,0x66])]());});})),_0x1443c7=[_0x3bc726,_0x54adeb];return window[_0x2ea47b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2ea47b([0x72,0x61,0x63,0x65])](_0x1443c7)[_0x2ea47b([0x74,0x68,0x65,0x6e])](()=>_0xf5fc53);}(_0x2ea47b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x18366e&&_0x5239e3)return new window[(_0x2ea47b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1e03f8,_0x2112e4)=>{_0x18366e[_0x2ea47b([0x74,0x68,0x65,0x6e])](_0x1e03f8,_0x2112e4),_0x5239e3[_0x2ea47b([0x74,0x68,0x65,0x6e])](_0xca7a28=>{_0xca7a28!=_0x2ea47b([0x56,0x61,0x6c,0x69,0x64])&&_0x1e03f8(_0xca7a28);},_0x2112e4);});return _0x18366e||_0x5239e3||_0x2ea47b([0x56,0x61,0x6c,0x69,0x64]);}())):_0x2ea47b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2ea47b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2ea47b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2ea47b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x51e6c9(_0x5ede59){return _0x5ede59[_0x2ea47b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2ea47b([0x65,0x79]))?JSON[_0x2ea47b([0x70,0x61,0x72,0x73,0x65])](_0x232164(_0x5ede59)):null;}function _0x232164(_0xde472f){return window[_0x2ea47b([0x61,0x74,0x6f,0x62])](_0xde472f[_0x2ea47b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2ea47b([0x2b]))[_0x2ea47b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2ea47b([0x2f])));}function _0x5b04d9(_0x450d4b){let _0x1cf443=0x1505;function _0x53445d(_0x250cad){for(let _0x1ba653=0x0;_0x1ba653<_0x250cad[_0x2ea47b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ba653++){const _0x2f6f1a=_0x250cad[_0x2ea47b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1ba653);_0x1cf443=(_0x1cf443<<0x5)+_0x1cf443+_0x2f6f1a,_0x1cf443&=_0x1cf443;}}return function _0x2417fa(_0xb274e7){Array[_0x2ea47b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xb274e7)?_0xb274e7[_0x2ea47b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2417fa):_0xb274e7&&typeof _0xb274e7==_0x2ea47b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2ea47b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xb274e7)[_0x2ea47b([0x73,0x6f,0x72,0x74])]()[_0x2ea47b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x598a2c,_0x4993a6])=>{_0x53445d(_0x598a2c),_0x2417fa(_0x4993a6);}):_0x53445d(window[_0x2ea47b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xb274e7));}(_0x450d4b),_0x1cf443>>>0x0;}function _0x19c647(_0x10334a){return _0x10334a[_0x2ea47b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2ea47b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2ea47b([0x30]));}function _0x58dd62(_0x4b27e6){return _0x4b27e6[_0x2ea47b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2ea47b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2ea47b([0x6a,0x6f,0x69,0x6e])]('');}function _0x20bf62(){}function _0x2ea47b(_0x5f5a79){return _0x5f5a79['map'](_0x27de7f=>String['fromCharCode'](_0x27de7f))['join']('');}!function(_0x1885ee){const _0x275920=(function(){const _0xd6ca51=window[_0x2ea47b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2ea47b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2ea47b([0x6e,0x6f,0x77])]())[_0x2ea47b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2ea47b([0x2e]),'');let _0x5ed709=_0x2ea47b([0x49]);for(let _0x122547=0x0;_0x122547<_0xd6ca51[_0x2ea47b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x122547+=0x2){let _0x57ae8a=window[_0x2ea47b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd6ca51[_0x2ea47b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x122547,_0x122547+0x2));_0x57ae8a>=_0xf1fcdc[_0x2ea47b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x57ae8a-=_0xf1fcdc[_0x2ea47b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5ed709+=_0xf1fcdc[_0x57ae8a];}return _0x5ed709;}());_0x85d0ef[_0x275920]=_0x2ea47b([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1885ee,_0x1885ee!=_0x2ea47b([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x559d8f,_0x85d0ef[_0x2ea47b([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ea47b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x20bf62,_0x85d0ef[_0x2ea47b([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ea47b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x20bf62,_0x85d0ef[_0x2ea47b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2ea47b([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0xf063ab);}const toPx=/* #__PURE__ -- @preserve */
ckeditor5['toUnit']('px');let _0x1e16a5=class extends ckeditor5['View']{constructor(){super();const _0x2259d6=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x2259d6['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x2259d6['if']('isVisible','ck-hidden',_0xe4f61f=>!_0xe4f61f)],'style':{'left':_0x2259d6['to']('left',_0x28e11a=>toPx(_0x28e11a)),'top':_0x2259d6['to']('top',_0x33ed9e=>toPx(_0x33ed9e)),'width':_0x2259d6['to']('width',_0x152e77=>toPx(_0x152e77))}}});}};class LinesRepository{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x50736e){this['_viewCollection']=_0x50736e['ui']['view']['body'];}['destroy'](){for(const _0x78f39a of this['_hiddenLines'])_0x78f39a['destroy']();}['cleanLines'](){for(const _0x3f9d03 of this['_visibleLines'])_0x3f9d03['isVisible']=!0x1,this['_hiddenLines']['add'](_0x3f9d03);this['_visibleLines']['clear']();}['showLine'](_0x566bb8,_0x5203b1,_0x33d63b,_0x5eb8be){let _0x56aa0d;this['_hiddenLines']['size']?(_0x56aa0d=ckeditor5['first'](this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x56aa0d)):_0x56aa0d=new _0x1e16a5(),_0x56aa0d['set']({'pageNumber':_0x5eb8be,'left':_0x566bb8,'top':_0x5203b1,'width':_0x33d63b}),_0x56aa0d['isVisible']=!0x0,this['_viewCollection']['has'](_0x56aa0d)||this['_viewCollection']['add'](_0x56aa0d),this['_visibleLines']['add'](_0x56aa0d);}['setViewCollection'](_0x32eb6d){for(const _0x269958 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x269958)&&this['_viewCollection']['remove'](_0x269958);this['_viewCollection']=_0x32eb6d;}}const _0xfddd6b='ck-pagination_enabled';class PaginationRenderer extends ckeditor5['Plugin']{['linesRepository'];['_scrollableEditingRootDomAncestor']=null;['_resizeObserver']=null;['_paginationLookupPlugin'];static get['pluginName'](){return'PaginationRenderer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['set']({'pageNumber':0x1}),this['linesRepository']=new LinesRepository(this['editor']),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']=null,this['_paginationLookupPlugin']=this['editor']['plugins']['get']('PaginationLookup'),this['bind']('isEnabled')['to'](this['editor']['plugins']['get']('PaginationEditing')),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['_toggleEditingRootsClass'](_0xfddd6b),this['on']('change:isEnabled',(_0x49d800,_0x33084d,_0x897b)=>{_0x897b||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](_0xfddd6b,_0x897b);});}['destroy'](){this['_toggleEditingRootsClass'](_0xfddd6b,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x5f16ca){if(!this['isEnabled'])return;const _0x5d71fe=_0x5f16ca>0x1?this['_getPageBreakLineOffset'](_0x5f16ca-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x5d71fe-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':ckeditor5['env']['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x1d8a0a=this['editor'],_0x47cda0=this['_getAttachedDomRoot']();_0x47cda0?(this['_scrollableEditingRootDomAncestor']&&_0x1d8a0a['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=findScrollableElement(_0x47cda0),_0x1d8a0a['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new ckeditor5['ResizeObserver'](this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x1d8a0a['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x93fc96=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x93fc96['ui']['view']['listenTo'](ckeditor5['global']['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x93fc96['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x392f47 of this['editor']['editing']['view']['domRoots']['values']())if(_0x392f47['ownerDocument']['body']['contains'](_0x392f47))return _0x392f47;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x27775a=this['_getAttachedDomRoot'](),_0x3dc428=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x27775a||0x1==_0x3dc428['length'])return void(this['pageNumber']=0x1);const _0x4d169d=new ckeditor5['Rect'](_0x27775a)['excludeScrollbarsAndBorders'](),_0x518b4c=new ckeditor5['Rect'](this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x425185=_0x518b4c['top']+_0x518b4c['height']/0x3;let _0x230e67=!0x1;const _0x4a496a=[];for(let _0x31e0aa=0x1;_0x31e0aa<_0x3dc428['length'];_0x31e0aa++){const _0x3b88cb=this['_getPageBreakLineOffset'](_0x31e0aa,_0x518b4c);if(!_0x3b88cb)continue;const _0x408f96=_0x518b4c['top']+_0x3b88cb-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x4a496a['push']({'pageOffsetTop':_0x408f96,'domRootRect':_0x4d169d,'domScrollableRect':_0x518b4c,'pageNumber':_0x31e0aa}),_0x408f96>_0x425185&&!_0x230e67&&(this['pageNumber']=_0x31e0aa,_0x230e67=!0x0);}this['_renderPageBreakLines'](_0x4a496a),_0x230e67||(this['pageNumber']=_0x3dc428['length']);}['_renderPageBreakLines'](_0x577232){const {scrollX:_0x31d0b7,scrollY:_0x383c1a}=ckeditor5['global']['window'];if(_0x577232['length']){for(const {domScrollableRect:_0x41917c,pageOffsetTop:_0x7ee105,domRootRect:_0x18b3b4,pageNumber:_0x5ceb5d}of _0x577232)_0x41917c['top']<_0x7ee105&&_0x7ee105<_0x41917c['bottom']&&this['linesRepository']['showLine'](_0x18b3b4['left']+_0x31d0b7,_0x7ee105+_0x383c1a,_0x18b3b4['width'],_0x5ceb5d+0x1);}}['_getPageBreakLineOffset'](_0x54ed53,_0x49ac19=null){const _0x2914b9=this['_paginationLookupPlugin']['pageBreaks'][_0x54ed53]['offset'];return _0x2914b9?(_0x49ac19||(_0x49ac19=new ckeditor5['Rect'](this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x2914b9-_0x49ac19['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x147770,_0x16904d=!0x0){const _0x198e97=this['editor']['editing']['view'];_0x198e97['change'](_0x255e7c=>{for(const _0x1d0990 of _0x198e97['document']['roots'])_0x16904d?_0x255e7c['addClass'](_0x147770,_0x1d0990):_0x255e7c['removeClass'](_0x147770,_0x1d0990);});}}function findScrollableElement(_0x47643e){let _0x32a015=_0x47643e;do{_0x32a015=_0x32a015['parentElement'];const _0x56378d=ckeditor5['global']['window']['getComputedStyle'](_0x32a015)['overflowY'];if('auto'==_0x56378d||'scroll'==_0x56378d)break;}while('BODY'!=_0x32a015['tagName']);return _0x32a015;}function getTranslation$7(_0x39f0ca,_0x2e61b3,..._0x3a1c6e){const t=_0x39f0ca['t'];switch(_0x2e61b3){case'Go\x20to\x20next\x20page':return t('Go\x20to\x20next\x20page');case'Go\x20to\x20previous\x20page':return t('Go\x20to\x20previous\x20page');case'Current\x20page\x20number\x20(from\x201\x20to\x20%0)':return t('Current\x20page\x20number\x20(from\x201\x20to\x20%0)',..._0x3a1c6e);case'Keystrokes\x20for\x20navigating\x20through\x20documents':return t('Keystrokes\x20for\x20navigating\x20through\x20documents');case'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)');case'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)');default:return _0x2e61b3;}}class PaginationEditing extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[PaginationLookup,PaginationRenderer];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x143305=this['editor']['plugins']['get']('Pagination'),_0x3eca13=this['editor']['plugins']['get'](PaginationLookup),_0x3d6a47=this['editor']['plugins']['get'](PaginationRenderer);this['bind']('isEnabled')['to'](_0x143305),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x3d6a47),this['listenTo'](_0x3eca13,'change:pageBreaks',(_0x9a672b,_0x11c2f9,_0x2f67a0,_0x46ee12)=>{this['totalPages']=_0x2f67a0['length'],this['_updatePageBreakMarkers'](_0x2f67a0,_0x46ee12);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4b1bff=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x13b630;for(const _0x3e6eb8 in _0x4b1bff){const _0x8066f0=_0x3e6eb8,_0x340f70=_0x4b1bff[_0x8066f0];if('paginationLicenseKeyValid'==_0x340f70||'paginationLicenseKeyInvalid'==_0x340f70||'paginationLicenseKeyExpired'==_0x340f70||'paginationLicenseKeyDomainLimit'==_0x340f70||'paginationLicenseKeyNotAllowed'==_0x340f70||'paginationLicenseKeyEvaluationLimit'==_0x340f70||'paginationLicenseKeyUsageLimit'==_0x340f70){delete _0x4b1bff[_0x8066f0],_0x13b630=_0x340f70,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x13b630&&_0x4b1bff['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x13b630&&_0x4b1bff['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x13b630&&_0x4b1bff['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x13b630&&_0x4b1bff['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x13b630&&_0x4b1bff['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x13b630&&_0x4b1bff['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x11d5fa){if(!this['isEnabled'])return;this['editor']['plugins']['get'](PaginationRenderer)['scrollToPage'](this['_validatePageNumber'](_0x11d5fa));}['moveSelectionToPage'](_0x1c8234){if(!this['isEnabled'])return;const _0x4b1ef3=this['editor'],_0x53424c=this['editor']['plugins']['get'](PaginationLookup)['pageBreaks'][_0x1c8234-0x1];_0x53424c&&_0x4b1ef3['model']['change'](_0x14fc1a=>{switch(_0x53424c['type']){case'manual':{const _0x33ec53=_0x4b1ef3['model']['schema']['getNearestSelectionRange'](_0x53424c['modelRange']['end'],'forward');_0x14fc1a['setSelection'](_0x33ec53);break;}case'element':{const _0x7585d9=_0x4b1ef3['model']['schema']['getNearestSelectionRange'](_0x53424c['modelRange']['start'],'forward');_0x14fc1a['setSelection'](_0x7585d9);break;}case'text':{const _0x20aeb6=_0x53424c['modelRange']['start'];if(_0x20aeb6['textNode']&&'\x20'===_0x20aeb6['textNode']['data'][_0x20aeb6['offset']]){const _0xfd263e=_0x14fc1a['createPositionAt'](_0x20aeb6['parent'],_0x20aeb6['offset']+0x1);_0x14fc1a['setSelection'](_0xfd263e);}else _0x14fc1a['setSelection'](_0x53424c['modelRange']);}}_0x4b1ef3['editing']['view']['focus']();});}['goToNextPage'](){const _0x39965e=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x39965e),this['scrollToPage'](_0x39965e);}['goToPreviousPage'](){const _0x2d9695=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x2d9695),this['scrollToPage'](_0x2d9695);}['_updatePageBreakMarkers'](_0x4d517d,_0x647f70){const _0x83c930=this['editor']['model'];this['isEnabled']&&_0x83c930['change'](_0x2923eb=>{for(let _0x139ee2=0x1;_0x139ee2<_0x4d517d['length'];_0x139ee2++){const _0x50dc8f=_0x4d517d[_0x139ee2]['modelRange'],_0x24242e='pagination:'+(_0x139ee2+0x1);_0x83c930['markers']['has'](_0x24242e)?_0x2923eb['updateMarker'](_0x24242e,{'range':_0x50dc8f}):_0x2923eb['addMarker'](_0x24242e,{'range':_0x50dc8f,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x421754=_0x4d517d['length'];_0x421754<_0x647f70['length'];_0x421754++){const _0x2e7dac='pagination:'+(_0x421754+0x1);_0x83c930['markers']['has'](_0x2e7dac)&&_0x2923eb['removeMarker'](_0x2e7dac);}});}['_setUpDataDowncastConversion'](){const _0x6fb033='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x4fda56=>{_0x4fda56['on']('addMarker:'+_0x6fb033,(_0x48a633,{markerRange:_0x10e62f,markerName:_0xde769a},_0x3fae0a)=>{if(!_0x3fae0a['options']['pagination'])return;if(!_0x3fae0a['consumable']['consume'](_0x10e62f,_0x48a633['name']))return;const _0x2c67ab=_0x10e62f['getContainedElement']();let _0x5e8f06=_0x2c67ab?_0x3fae0a['mapper']['toViewElement'](_0x2c67ab):null;if(!_0x5e8f06){const _0x22b927=_0x10e62f['start'];if(_0x3fae0a['schema']['checkChild'](_0x22b927,'$text')){const _0x48b5d3=_0x3fae0a['mapper']['toViewPosition'](_0x22b927);_0x5e8f06=_0x3fae0a['writer']['createContainerElement']('span'),_0x5e8f06['getFillerOffset']=()=>null,_0x3fae0a['writer']['insert'](_0x48b5d3,_0x5e8f06);}else{const _0x583feb=_0x22b927['nodeAfter'];_0x5e8f06=_0x3fae0a['mapper']['toViewElement'](_0x583feb);}}for(;_0x5e8f06['parent']!==_0x5e8f06['root']&&0x0===_0x5e8f06['index'];)_0x5e8f06=_0x5e8f06['parent'];const _0x7e3b94=_0xde769a['substring'](0xb);_0x5e8f06['hasClass']('page-break')||(_0x3fae0a['writer']['setStyle']('page-break-before','always',_0x5e8f06),_0x3fae0a['writer']['setAttribute']('data-pagination-page',_0x7e3b94,_0x5e8f06),_0x3fae0a['mapper']['bindElementToMarker'](_0x5e8f06,_0xde769a)),_0x48a633['stop']();});});}['_setupKeystrokes'](){const _0x26529b=this['editor'];_0x26529b['keystrokes']['set']('Shift+Pageup',(_0x5e73ac,_0x3efd9e)=>{this['goToPreviousPage'](),_0x3efd9e();}),_0x26529b['keystrokes']['set']('Shift+Pagedown',(_0x26e9cf,_0x3239f7)=>{this['goToNextPage'](),_0x3239f7();}),_0x26529b['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':getTranslation$7(_0x26529b['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':getTranslation$7(_0x26529b['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':getTranslation$7(_0x26529b['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x4fb0bc){return _0x4fb0bc<0x1&&(_0x4fb0bc=0x1),_0x4fb0bc>this['totalPages']&&(_0x4fb0bc=this['totalPages']),_0x4fb0bc;}}class PageNavigatorView extends ckeditor5['View']{['pageNumberView'];constructor(_0x570c60){super(_0x570c60);const _0x3434aa=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new ckeditor5['InputNumberView'](_0x570c60,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x35b302=>getTranslation$7(_0x570c60,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x35b302)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x199344=>!_0x199344),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x3434aa['if']('isEnabled','ck-disabled',_0x55a4af=>!_0x55a4af)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x3434aa['to']('totalPages')}]}]});}['render'](){super['render']();const _0xdb1be9=this['pageNumberView']['element'],_0x3ad075=_0x38663d=>{this['pageNumberView']['element']['value']=String(_0x38663d);};_0x3ad075(this['pageNumber']),this['on']('change:pageNumber',(_0x2db3b2,_0x51dbd6,_0x47b3dc)=>{_0x3ad075(_0x47b3dc);}),this['listenTo'](_0xdb1be9,'keydown',(_0x3ac4a2,_0x1e1cfa)=>{if('ArrowUp'===_0x1e1cfa['key']||'ArrowDown'===_0x1e1cfa['key'])return void _0x1e1cfa['stopPropagation']();if(_0x1e1cfa['keyCode']!==ckeditor5['keyCodes']['enter'])return;_0x1e1cfa['preventDefault']();const _0x15d258=_0xdb1be9['valueAsNumber'];Number['isNaN'](_0x15d258)?_0xdb1be9['value']=String(this['pageNumber']):(_0xdb1be9['checkValidity']()?this['pageNumber']=_0x15d258:_0x15d258>this['totalPages']?(this['pageNumber']=this['totalPages'],_0xdb1be9['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0xdb1be9['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0xdb1be9,'blur',()=>{_0xdb1be9['value']=String(this['pageNumber']);}),this['listenTo'](_0xdb1be9,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class PaginationUI extends ckeditor5['Plugin']{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4f81cd=this['editor'],_0x3eb56e=_0x4f81cd['plugins']['get']('PaginationEditing');_0x4f81cd['ui']['componentFactory']['add']('pageNavigation',_0x160f06=>{const _0x463afa=new PageNavigatorView(_0x160f06);return _0x463afa['bind']('pageNumber')['to'](_0x3eb56e),_0x463afa['bind']('totalPages')['to'](_0x3eb56e),_0x463afa['bind']('isEnabled')['to'](_0x3eb56e),_0x463afa['on']('navigation',(_0x128d52,_0x3feac9)=>{_0x3eb56e['moveSelectionToPage'](_0x3feac9),_0x3eb56e['scrollToPage'](_0x3feac9);}),_0x463afa;}),_0x4f81cd['ui']['componentFactory']['add']('nextPage',_0x2328e1=>{const _0x1066e5=new ckeditor5['ButtonView'](_0x2328e1);return _0x1066e5['isEnabled']=!0x0,_0x1066e5['label']=getTranslation$7(_0x4f81cd['locale'],'Go\x20to\x20next\x20page'),_0x1066e5['icon']=ckeditor5['IconArrowDown'],_0x1066e5['tooltip']=!0x0,_0x1066e5['keystroke']='Shift+PageDown',_0x1066e5['bind']('isEnabled')['to'](_0x3eb56e),this['listenTo'](_0x1066e5,'execute',()=>{_0x3eb56e['goToNextPage']();}),_0x1066e5;}),_0x4f81cd['ui']['componentFactory']['add']('previousPage',_0x29a0cb=>{const _0x239bc3=new ckeditor5['ButtonView'](_0x29a0cb);return _0x239bc3['isEnabled']=!0x0,_0x239bc3['label']=getTranslation$7(_0x4f81cd['locale'],'Go\x20to\x20previous\x20page'),_0x239bc3['icon']=ckeditor5['IconArrowUp'],_0x239bc3['tooltip']=!0x0,_0x239bc3['keystroke']='Shift+PageUp',_0x239bc3['bind']('isEnabled')['to'](_0x3eb56e),this['listenTo'](_0x239bc3,'execute',()=>{_0x3eb56e['goToPreviousPage']();}),_0x239bc3;});}}class Pagination extends ckeditor5['Plugin']{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[PaginationEditing,PaginationUI];}constructor(_0x13d2bd){super(_0x13d2bd),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x437e9c=this['editor']['plugins']['get'](PaginationEditing);this['bind']('pageNumber')['to'](_0x437e9c),this['bind']('totalPages')['to'](_0x437e9c),ckeditor5['env']['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x213b0a){this['editor']['plugins']['get'](PaginationEditing)['scrollToPage'](_0x213b0a);}}const _0x3cf58f=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function isMSExcelContent(_0x17e5b2){return _0x3cf58f['test'](_0x17e5b2);}const _0x4dff50=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function getMatchingStyles(_0x278620,_0x2c3e60){const _0x38ba8a=new Map();for(const [_0x1c8888,_0x1ee12f]of _0x2c3e60){if(!_0x1c8888['tagName']&&!_0x1c8888['className'])continue;const _0x5dfac1=!_0x1c8888['tagName']||_0x278620['name']===_0x1c8888['tagName'],_0x4e587c=!_0x1c8888['className']||_0x278620['hasClass'](_0x1c8888['className']);_0x5dfac1&&_0x4e587c&&_0x38ba8a['set'](_0x1c8888,_0x1ee12f);}return _0x38ba8a;}function extractStyles(_0x4bd41b){const _0x5f4a88={};for(const _0x491413 of _0x4bd41b)for(const _0x15c010 of _0x491413['cssRules'])if(_0x15c010 instanceof CSSStyleRule){const _0x175e37=parseCSSStyleDeclaration(_0x15c010['style']);_0x5f4a88[_0x15c010['selectorText']]=Object['assign']({},_0x5f4a88[_0x15c010['selectorText']]||{},_0x175e37);}return _0x5f4a88;}function expandStyles(_0x275140){const _0x28adf0=new Map();for(const _0x13d7b9 in _0x275140){const _0x374014=parseCSSSelector(_0x13d7b9),_0x3f3dd5=_0x275140[_0x13d7b9];for(const _0x49af34 of _0x374014)_0x28adf0['set'](_0x49af34,_0x3f3dd5);}return _0x28adf0;}function parseCSSStyleDeclaration(_0x156e47){const _0x14aa54={};for(let _0x4c3d7c=0x0;_0x4c3d7c<_0x156e47['length'];_0x4c3d7c++){const _0x1c47e7=_0x156e47[_0x4c3d7c],_0x55cdd8=_0x156e47['getPropertyValue'](_0x1c47e7);'initial'!==_0x55cdd8&&(_0x14aa54[_0x1c47e7]=_0x55cdd8);}return _0x14aa54;}function parseCSSSelector(_0xb594f3){const _0x1c77a3=_0xb594f3['split'](',')['map'](_0x18a6d=>_0x18a6d['trim']()),_0x1164f2=[];for(const _0xa81fb6 of _0x1c77a3){const _0x47a1e5=_0x4dff50['exec'](_0xa81fb6);_0x47a1e5&&_0x1164f2['push'](_0x47a1e5['groups']);}return _0x1164f2;}function flattenStyleDefinitions(_0x21354d){const _0x163502={};for(const _0x120fd5 of _0x21354d)Object['assign'](_0x163502,_0x120fd5);return _0x163502;}class MSOfficeStylesInliner extends ckeditor5['PasteFromOfficeMSWordNormalizer']{['execute'](_0x2cabd4){const {body:_0x12e0a0,styles:_0x183e36}=_0x2cabd4['_parsedData'],_0x7cd5b2=new ckeditor5['ViewUpcastWriter'](_0x12e0a0['document']),_0x4868e6=_0x7cd5b2['createRangeIn'](_0x12e0a0),_0xc9e9a5=expandStyles(extractStyles(_0x183e36));for(const _0x423ace of _0x4868e6){if('elementStart'!==_0x423ace['type'])continue;const _0x558c60=getMatchingStyles(_0x423ace['item'],_0xc9e9a5);if(_0x558c60['size']){const _0x51b374=flattenStyleDefinitions(Array['from'](_0x558c60['values']()));for(const _0x28e2c2 in _0x51b374){const _0x1da250=_0x423ace['item'];_0x1da250['hasStyle'](_0x28e2c2)||_0x7cd5b2['setStyle'](_0x28e2c2,_0x51b374[_0x28e2c2],_0x1da250);}}}_0x2cabd4['content']=_0x12e0a0;}['isActive'](_0x7aa099){return super['isActive'](_0x7aa099)||isMSExcelContent(_0x7aa099);}}class PasteFromOfficeEnhancedInliner extends ckeditor5['Plugin']{static get['pluginName'](){return'PasteFromOfficeEnhancedInliner';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice'];}['init'](){const _0x33ad88=this['editor'],_0x5c3c9d=_0x33ad88['plugins']['get']('ClipboardPipeline'),_0x3d06d0=_0x33ad88['editing']['view']['document'],_0x4ddea6=new MSOfficeStylesInliner(_0x3d06d0);_0x5c3c9d['on']('inputTransformation',(_0x514905,_0x28bfef)=>{const _0x38446f=_0x28bfef['dataTransfer']['getData']('text/html');_0x4ddea6['isActive'](_0x38446f)&&(_0x28bfef['_parsedData']||(_0x28bfef['_parsedData']=ckeditor5['parsePasteOfficeHtml'](_0x38446f,_0x3d06d0['stylesProcessor'])),_0x4ddea6['execute'](_0x28bfef));},{'priority':ckeditor5['priorities']['get']('high')+0xb});}['afterInit'](){_0x3e2efb(this);}}async function _0x3e2efb(_0xa959a4){const _0xcfdcbc=_0x1b46e3([0x73,0x47,0x36,0x35,0x43,0x72,0x6b,0x31,0x63,0x64,0x32,0x69,0x67,0x4c,0x4e,0x37,0x7a,0x49,0x45,0x41,0x59,0x6a,0x75,0x39,0x4a,0x33,0x68,0x62,0x50,0x42,0x74,0x6e,0x46,0x4d,0x78,0x51,0x66,0x34,0x48,0x77,0x5a,0x61,0x6c,0x30,0x71,0x54,0x53,0x56,0x4b,0x79,0x44,0x6d,0x6f,0x52,0x76,0x55,0x58,0x65,0x70,0x57,0x4f,0x38]),_0x1691ea=window[_0x1b46e3([0x44,0x61,0x74,0x65])][_0x1b46e3([0x6e,0x6f,0x77])](),_0x1092c9=_0xa959a4[_0x1b46e3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4eeb23=new window[(_0x1b46e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x161fb6=>{_0x1092c9[_0x1b46e3([0x6f,0x6e,0x63,0x65])](_0x1b46e3([0x72,0x65,0x61,0x64,0x79]),_0x161fb6);}),_0x362cf6={[_0x1b46e3([0x6b,0x74,0x79])]:_0x1b46e3([0x45,0x43]),[_0x1b46e3([0x75,0x73,0x65])]:_0x1b46e3([0x73,0x69,0x67]),[_0x1b46e3([0x63,0x72,0x76])]:_0x1b46e3([0x50,0x2d,0x32,0x35,0x36]),[_0x1b46e3([0x78])]:_0x1b46e3([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x1b46e3([0x79])]:_0x1b46e3([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x1b46e3([0x61,0x6c,0x67])]:_0x1b46e3([0x45,0x53,0x32,0x35,0x36])},_0x2a6e58=_0x1092c9[_0x1b46e3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1b46e3([0x67,0x65,0x74])](_0x1b46e3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x37a08e=await(async function(){let _0x3bdca2,_0x454c9b=null,_0xd138b3=null;try{if(_0x2a6e58==_0x1b46e3([0x47,0x50,0x4c]))return _0x1b46e3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3bdca2=(function(){const _0x2fabed=_0x2a6e58[_0x1b46e3([0x73,0x70,0x6c,0x69,0x74])](_0x1b46e3([0x2e]));if(0x3!=_0x2fabed[_0x1b46e3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x246e55=_0x2fabed[0x1];return _0x105442(_0x246e55);function _0x105442(_0x268109){const _0x3c1734=_0x48c208(_0x268109);return _0x3c1734&&_0x13b10()?_0x3c1734:null;function _0x13b10(){const _0x22efbc=_0x3c1734[_0x1b46e3([0x6a,0x74,0x69])],_0x3ad7e2=window[_0x1b46e3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22efbc[_0x1b46e3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x22efbc[_0x1b46e3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5d23d3={..._0x3c1734,[_0x1b46e3([0x6a,0x74,0x69])]:_0x22efbc[_0x1b46e3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x22efbc[_0x1b46e3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5d23d3[_0x1b46e3([0x76,0x63])],_0x196f29(_0x5d23d3)==_0x3ad7e2;}}}()),!_0x3bdca2)return _0x1b46e3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x3bdca2[_0x1b46e3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xd138b3=function(_0x1d5315,_0x3425fc){return new window[(_0x1b46e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2bf90b=>{if(_0x5de931())return _0x2bf90b(_0x1b46e3([0x56,0x61,0x6c,0x69,0x64]));_0x1bbf69(),_0x1092c9[_0x1b46e3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1b46e3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x249543=!0x1;const _0x205aa1=ckeditor5['uid']();function _0x1aeab7(_0x51139a){return!!_0x51139a&&(typeof _0x51139a===_0x1b46e3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x51139a===_0x1b46e3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x51139a[_0x1b46e3([0x74,0x68,0x65,0x6e])]===_0x1b46e3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x51139a[_0x1b46e3([0x63,0x61,0x74,0x63,0x68])]===_0x1b46e3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1bf33e(_0x32fc2d){_0x561c68(_0x32fc2d)[_0x1b46e3([0x74,0x68,0x65,0x6e])](_0x34daf2=>{if(!_0x34daf2||_0x34daf2[_0x1b46e3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1b46e3([0x6f,0x6b]))return _0x1b46e3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1f7657(_0x196f29(_0x205aa1+_0x3425fc))!=_0x34daf2[_0x1b46e3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1b46e3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1b46e3([0x56,0x61,0x6c,0x69,0x64]);})[_0x1b46e3([0x74,0x68,0x65,0x6e])](_0x3dbaf8=>(_0xfb7a96(),_0x3dbaf8),()=>{const _0x4fae5e=_0x51e217();return null==_0x4fae5e?(_0xfb7a96(),_0x1b46e3([0x56,0x61,0x6c,0x69,0x64])):_0x1b46e3(_0x1691ea-_0x4fae5e>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1b46e3([0x74,0x68,0x65,0x6e])](_0x2bf90b)[_0x1b46e3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2bf90b(_0x1b46e3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4e57eb=0x36ee80;function _0xfb7a96(){const _0x1ea410=_0x1b46e3([0x6c,0x6c,0x63,0x74,0x2d])+_0x1f7657(_0x196f29(_0x1d5315)),_0x3c2b13=_0x588152(_0x1f7657(window[_0x1b46e3([0x4d,0x61,0x74,0x68])][_0x1b46e3([0x63,0x65,0x69,0x6c])](_0x1691ea/_0x4e57eb)));window[_0x1b46e3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b46e3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ea410,_0x3c2b13);}function _0x51e217(){const _0x14f8c3=_0x1b46e3([0x6c,0x6c,0x63,0x74,0x2d])+_0x1f7657(_0x196f29(_0x1d5315)),_0x39098b=window[_0x1b46e3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b46e3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x14f8c3);return _0x39098b?window[_0x1b46e3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x588152(_0x39098b),0x10)*_0x4e57eb:null;}function _0x561c68(_0x2f4727){return new window[(_0x1b46e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ab2db,_0x4a9405)=>{_0x2f4727[_0x1b46e3([0x74,0x68,0x65,0x6e])](_0x1ab2db,_0x4a9405),window[_0x1b46e3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4a9405,0x1d4c0);});}}_0x1092c9[_0x1b46e3([0x6f,0x6e])](_0x1b46e3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3f6126,_0x5ba44f)=>{if(_0x5ba44f[0x0]!=_0x1d5315)return _0x2bf90b(_0x1b46e3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5ba44f[0x1]={..._0x5ba44f[0x1],[_0x1b46e3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x205aa1};},{[_0x1b46e3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b46e3([0x68,0x69,0x67,0x68])}),_0x1092c9[_0x1b46e3([0x6f,0x6e])](_0x1b46e3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xc16748=>{_0x1aeab7(_0xc16748[_0x1b46e3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x249543=!0x0,_0x1bf33e(_0xc16748[_0x1b46e3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1b46e3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b46e3([0x6c,0x6f,0x77])}),_0x4eeb23[_0x1b46e3([0x74,0x68,0x65,0x6e])](()=>{_0x249543||_0x2bf90b(_0x1b46e3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5de931(){return _0x1092c9[_0x1b46e3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b46e3([0x76,0x69,0x65,0x77])][_0x1b46e3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1b46e3([0x61,0x75,0x74,0x6f]);}function _0x1bbf69(){_0x1092c9[_0x1b46e3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b46e3([0x76,0x69,0x65,0x77])][_0x1b46e3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1b46e3([0x61,0x75,0x74,0x6f]);}}(_0x3bdca2[_0x1b46e3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3bdca2[_0x1b46e3([0x6a,0x74,0x69])]));const _0x1029a7=await(async function(){let _0x185a8b=!0x0;try{const _0x4b456b=_0x2a6e58[_0x1b46e3([0x73,0x70,0x6c,0x69,0x74])](_0x1b46e3([0x2e])),[_0x1a68f6,_0x3d2a02,_0x44eeee]=_0x4b456b;return _0x9284cd(_0x1a68f6),await _0xa8ceb8(_0x1a68f6,_0x3d2a02,_0x44eeee),_0x185a8b;}catch{return!0x1;}function _0x9284cd(_0x43858c){const _0x5d944e=_0x48c208(_0x43858c);_0x5d944e&&_0x5d944e[_0x1b46e3([0x61,0x6c,0x67])]==_0x1b46e3([0x45,0x53,0x32,0x35,0x36])||(_0x185a8b=!0x1);}async function _0xa8ceb8(_0x196bbd,_0x54d33a,_0x234085){const _0x27f3b7=window[_0x1b46e3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1b46e3([0x66,0x72,0x6f,0x6d])](_0x43b0b1(_0x234085),_0x21ef70=>_0x21ef70[_0x1b46e3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x232da0=new window[(_0x1b46e3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1b46e3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x196bbd+_0x1b46e3([0x2e])+_0x54d33a),_0x5628a9=window[_0x1b46e3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1b46e3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5628a9)return;const _0x561d82=await _0x5628a9[_0x1b46e3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1b46e3([0x6a,0x77,0x6b]),_0x362cf6,{[_0x1b46e3([0x6e,0x61,0x6d,0x65])]:_0x1b46e3([0x45,0x43,0x44,0x53,0x41]),[_0x1b46e3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1b46e3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1b46e3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5628a9[_0x1b46e3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1b46e3([0x6e,0x61,0x6d,0x65])]:_0x1b46e3([0x45,0x43,0x44,0x53,0x41]),[_0x1b46e3([0x68,0x61,0x73,0x68])]:{[_0x1b46e3([0x6e,0x61,0x6d,0x65])]:_0x1b46e3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x561d82,_0x27f3b7,_0x232da0)||(_0x185a8b=!0x1);}}());return _0x1029a7?(function(){const _0x490c66=_0x3bdca2[_0x1b46e3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x490c66)return!0x1;if(_0x490c66[_0x1b46e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b46e3([0x2a])))return!0x0;if(_0x490c66[_0x1b46e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b46e3([0x50,0x4f,0x45])))return!0x0;if(_0x490c66[_0x1b46e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b46e3([0x50,0x50])))return!0x0;if(_0x490c66[_0x1b46e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b46e3([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x1b46e3([0x67,0x6c,0x6f,0x62])]&&window[_0x1b46e3([0x67,0x6c,0x6f,0x62])][_0x1b46e3([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x276e50=[_0x1b46e3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1b46e3([0x74,0x72,0x69,0x61,0x6c])][_0x1b46e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bdca2[_0x1b46e3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1691ea/0x3e8:0x69e96100;return _0x3bdca2[_0x1b46e3([0x65,0x78,0x70])]<_0x276e50;}())?_0x1b46e3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x3292b0=_0x3bdca2[_0x1b46e3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3292b0||0x0==_0x3292b0[_0x1b46e3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x735d99}=new URL(window[_0x1b46e3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3292b0[_0x1b46e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x735d99))return!0x0;const _0x286c81=_0x735d99[_0x1b46e3([0x73,0x70,0x6c,0x69,0x74])](_0x1b46e3([0x2e]));return _0x3292b0[_0x1b46e3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2fc7ee=>_0x2fc7ee[_0x1b46e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b46e3([0x2a])))[_0x1b46e3([0x6d,0x61,0x70])](_0x982865=>_0x982865[_0x1b46e3([0x73,0x70,0x6c,0x69,0x74])](_0x1b46e3([0x2e])))[_0x1b46e3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x30e291=>_0x30e291[_0x1b46e3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x286c81[_0x1b46e3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1b46e3([0x6d,0x61,0x70])](_0x4d4dad=>Array(_0x286c81[_0x1b46e3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4d4dad[_0x1b46e3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1b46e3([0x66,0x69,0x6c,0x6c])](_0x4d4dad[0x0]===_0x1b46e3([0x2a])?_0x1b46e3([0x2a]):'')[_0x1b46e3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4d4dad))[_0x1b46e3([0x73,0x6f,0x6d,0x65])](_0x406729=>_0x286c81[_0x1b46e3([0x65,0x76,0x65,0x72,0x79])]((_0x74237e,_0x53a9a7)=>_0x406729[_0x53a9a7]===_0x74237e||_0x406729[_0x53a9a7]===_0x1b46e3([0x2a])));}())?(_0x3bdca2[_0x1b46e3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1b46e3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x454c9b=function(_0x3b2b62){const _0x50d7eb=new window[(_0x1b46e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x154639=>setTimeout(_0x154639,0x93ecc)),_0x4df58d=_0x4eeb23[_0x1b46e3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1b46e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21c9d1=>{let _0x50d631=0x0;_0x1092c9[_0x1b46e3([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b46e3([0x6f,0x6e])](_0x1b46e3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x424780,_0x3a0af9)=>{_0x3a0af9[0x0][_0x1b46e3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x50d631++,0x5e8==_0x50d631&&(_0x21c9d1(),_0x424780[_0x1b46e3([0x6f,0x66,0x66])]());});})),_0x1af974=[_0x50d7eb,_0x4df58d];return window[_0x1b46e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1b46e3([0x72,0x61,0x63,0x65])](_0x1af974)[_0x1b46e3([0x74,0x68,0x65,0x6e])](()=>_0x3b2b62);}(_0x1b46e3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x454c9b&&_0xd138b3)return new window[(_0x1b46e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd0c5a0,_0x1eb352)=>{_0x454c9b[_0x1b46e3([0x74,0x68,0x65,0x6e])](_0xd0c5a0,_0x1eb352),_0xd138b3[_0x1b46e3([0x74,0x68,0x65,0x6e])](_0x7d1188=>{_0x7d1188!=_0x1b46e3([0x56,0x61,0x6c,0x69,0x64])&&_0xd0c5a0(_0x7d1188);},_0x1eb352);});return _0x454c9b||_0xd138b3||_0x1b46e3([0x56,0x61,0x6c,0x69,0x64]);}())):_0x1b46e3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1b46e3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1b46e3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1b46e3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x48c208(_0x170902){return _0x170902[_0x1b46e3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1b46e3([0x65,0x79]))?JSON[_0x1b46e3([0x70,0x61,0x72,0x73,0x65])](_0x43b0b1(_0x170902)):null;}function _0x43b0b1(_0x3dab62){return window[_0x1b46e3([0x61,0x74,0x6f,0x62])](_0x3dab62[_0x1b46e3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1b46e3([0x2b]))[_0x1b46e3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1b46e3([0x2f])));}function _0x196f29(_0x31b65e){let _0x47a4eb=0x1505;function _0x5115e6(_0x550c6c){for(let _0x301c60=0x0;_0x301c60<_0x550c6c[_0x1b46e3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x301c60++){const _0x351238=_0x550c6c[_0x1b46e3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x301c60);_0x47a4eb=(_0x47a4eb<<0x5)+_0x47a4eb+_0x351238,_0x47a4eb&=_0x47a4eb;}}return function _0x849fc7(_0x4afae7){Array[_0x1b46e3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4afae7)?_0x4afae7[_0x1b46e3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x849fc7):_0x4afae7&&typeof _0x4afae7==_0x1b46e3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1b46e3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4afae7)[_0x1b46e3([0x73,0x6f,0x72,0x74])]()[_0x1b46e3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4928d1,_0x3f60aa])=>{_0x5115e6(_0x4928d1),_0x849fc7(_0x3f60aa);}):_0x5115e6(window[_0x1b46e3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4afae7));}(_0x31b65e),_0x47a4eb>>>0x0;}function _0x1f7657(_0x32c59e){return _0x32c59e[_0x1b46e3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1b46e3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1b46e3([0x30]));}function _0x588152(_0x4e18bd){return _0x4e18bd[_0x1b46e3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1b46e3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1b46e3([0x6a,0x6f,0x69,0x6e])]('');}function _0x4890b0(){}function _0x1b46e3(_0xbe7faf){return _0xbe7faf['map'](_0x21d170=>String['fromCharCode'](_0x21d170))['join']('');}!function(_0x530514){const _0x180613=(function(){const _0x2ef857=window[_0x1b46e3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1b46e3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1b46e3([0x6e,0x6f,0x77])]())[_0x1b46e3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1b46e3([0x2e]),'');let _0x2413d1=_0x1b46e3([0x73]);for(let _0x59670b=0x0;_0x59670b<_0x2ef857[_0x1b46e3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59670b+=0x2){let _0x4ff99d=window[_0x1b46e3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ef857[_0x1b46e3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x59670b,_0x59670b+0x2));_0x4ff99d>=_0xcfdcbc[_0x1b46e3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4ff99d-=_0xcfdcbc[_0x1b46e3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2413d1+=_0xcfdcbc[_0x4ff99d];}return _0x2413d1;}());_0x1092c9[_0x180613]=_0x1b46e3([0x70,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x530514,_0x530514!=_0x1b46e3([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x4eeb23,_0x1092c9[_0x1b46e3([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b46e3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4890b0,_0x1092c9[_0x1b46e3([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b46e3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4890b0,_0x1092c9[_0x1b46e3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1b46e3([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x37a08e);}const _0x503bc1=['color','font-family','font-size','text-decoration','text-decoration-line','font-weight','font-style','vertical-align'],_0x346242=['color','font-family','font-size'],_0x5792fb={'font-style':[['italic','i']],'font-weight':[['medium','strong'],['bold','strong'],['bolder','strong'],[_0x449ad8=>Number(_0x449ad8)>=0x258,'strong']],'text-decoration':[['underline','u'],['line-through','s']],'text-decoration-line':[['underline','u'],['line-through','s']],'vertical-align':[['sub','sub'],['super','sup']]};function isPropertyToBePropagated(_0x511541){return _0x503bc1['includes'](_0x511541);}function isPropertyToBePropagatedAsSpan(_0x45756b){return _0x346242['includes'](_0x45756b);}function isPropertyToBePropagatedAsHTMLElement(_0xa11cc9){return _0xa11cc9 in _0x5792fb;}function getStylePropertyNamesToPropagate(_0x4a67d1){return Array['from'](_0x4a67d1['getStyleNames']())['filter'](isPropertyToBePropagated);}function propagateStyleProperties(_0x3bb6fe,_0x43ee5b,_0x47386f){const {spanStyles:_0x38f988,stylesToBeHtmlElements:_0xd385fb}=getStylesToPropagate(_0x3bb6fe,_0x47386f);propagateStylesAsHTMLElements(_0x3bb6fe,_0x43ee5b,_0xd385fb),propagateStylesAsSpan(_0x3bb6fe,_0x43ee5b,_0x38f988);}function propagateStylesAsHTMLElements(_0x529cdf,_0x1b30d0,_0x2a56e0){for(const _0x16fa46 in _0x2a56e0){_0x2a56e0[_0x16fa46]['forEach'](([,_0x45c0b9])=>{const _0x421eb7=_0x1b30d0['createElement'](_0x45c0b9,[],_0x529cdf['getChildren']());_0x1b30d0['insertChild'](0x0,_0x421eb7,_0x529cdf);}),_0x1b30d0['removeStyle'](_0x16fa46,_0x529cdf);}}function propagateStylesAsSpan(_0x3fb2a0,_0x5d57ae,_0x9dec10){if(!Object['keys'](_0x9dec10)['length'])return;const _0x20201c=_0x5d57ae['createElement']('span',[],_0x3fb2a0['getChildren']());_0x5d57ae['setStyle'](_0x9dec10,_0x20201c),_0x5d57ae['insertChild'](0x0,_0x20201c,_0x3fb2a0),_0x5d57ae['removeStyle'](Object['keys'](_0x9dec10),_0x3fb2a0);}function getStylesToPropagate(_0x343384,_0x1ddf98){const _0x6b2a78={},_0x9b75a4={};return _0x1ddf98['forEach'](_0x3ef0f9=>{const _0x227d16=_0x343384['getStyle'](_0x3ef0f9);if(_0x227d16){if(isPropertyToBePropagatedAsSpan(_0x3ef0f9))_0x6b2a78[_0x3ef0f9]=_0x227d16;else{if(isPropertyToBePropagatedAsHTMLElement(_0x3ef0f9)){const _0xe268f1=_0x227d16['split']('\x20');_0x5792fb[_0x3ef0f9]['forEach'](([_0x352e72,_0x1b861d])=>{for(const _0xf99a1d of _0xe268f1){('function'==typeof _0x352e72&&_0x352e72(_0xf99a1d)||_0x352e72===_0xf99a1d)&&(_0x9b75a4[_0x3ef0f9]=[..._0x9b75a4[_0x3ef0f9]||[],[_0x352e72,_0x1b861d]]);}});}}}}),{'spanStyles':_0x6b2a78,'stylesToBeHtmlElements':_0x9b75a4};}class MSOfficeInlineStylePropagator extends ckeditor5['PasteFromOfficeMSWordNormalizer']{['execute'](_0x3c4178){const {body:_0x2a1786}=_0x3c4178['_parsedData'],_0x2dd2a1=new ckeditor5['ViewUpcastWriter'](_0x2a1786['document']),_0xad508b=_0x2dd2a1['createRangeIn'](_0x2a1786),_0x1a5128=new ckeditor5['ViewDocument'](_0x2dd2a1['document']['stylesProcessor']),_0x354dfb=[...new ckeditor5['ViewDomConverter'](_0x1a5128)['blockElements'],'font'],_0x304ea7=_0xad508b['getItems']();for(const _0x3e140f of _0x304ea7)_0x3e140f['is']('element')&&_0x354dfb['includes'](_0x3e140f['name'])&&propagateStyleProperties(_0x3e140f,_0x2dd2a1,getStylePropertyNamesToPropagate(_0x3e140f));_0x3c4178['content']=_0x2a1786;}['isActive'](_0x269611){return super['isActive'](_0x269611)||isMSExcelContent(_0x269611);}}class PasteFromOfficeEnhancedPropagator extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PasteFromOfficeEnhancedPropagator';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice'];}['init'](){const _0x31c29c=this['editor'],_0x3d8549=_0x31c29c['plugins']['get']('ClipboardPipeline'),_0x4a8d49=_0x31c29c['editing']['view']['document'],_0x19fc09=new MSOfficeInlineStylePropagator(_0x4a8d49);_0x3d8549['on']('inputTransformation',(_0x25638e,_0x561ef9)=>{const _0x33fa81=_0x561ef9['dataTransfer']['getData']('text/html');_0x19fc09['isActive'](_0x33fa81)&&(_0x561ef9['_parsedData']||(_0x561ef9['_parsedData']=ckeditor5['parsePasteOfficeHtml'](_0x33fa81,_0x4a8d49['stylesProcessor'])),_0x19fc09['execute'](_0x561ef9));},{'priority':ckeditor5['priorities']['get']('high')+0xa}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5ef590=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xd6ada9;for(const _0x24dc9a in _0x5ef590){const _0x7da097=_0x24dc9a,_0x5d8f53=_0x5ef590[_0x7da097];if('pasteFromOfficeEnhancedLicenseKeyValid'==_0x5d8f53||'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x5d8f53||'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x5d8f53||'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x5d8f53||'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x5d8f53||'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x5d8f53||'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x5d8f53){delete _0x5ef590[_0x7da097],_0xd6ada9=_0x5d8f53,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0xd6ada9&&_0x5ef590['_showLicenseError']('invalid'),'pasteFromOfficeEnhancedLicenseKeyExpired'==_0xd6ada9&&_0x5ef590['_showLicenseError']('expired'),'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0xd6ada9&&_0x5ef590['_showLicenseError']('domainLimit'),'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0xd6ada9&&_0x5ef590['_showLicenseError']('featureNotAllowed','PasteFromOfficeEnhanced'),'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0xd6ada9&&_0x5ef590['_showLicenseError']('evaluationLimit'),'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0xd6ada9&&_0x5ef590['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class PasteFromOfficeEnhanced extends ckeditor5['Plugin']{static get['pluginName'](){return'PasteFromOfficeEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice',PasteFromOfficeEnhancedInliner,PasteFromOfficeEnhancedPropagator];}}var _0x254de2='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:'undefined'!=typeof global?global:'undefined'!=typeof self?self:{},_0x14cead={},_0x408b17={},_0x5506b2,_0x266ce0;function requireAspromise(){if(_0x266ce0)return _0x5506b2;return _0x266ce0=0x1,_0x5506b2=function(_0x55df14,_0x463b04){var _0x1c73ea=new Array(arguments['length']-0x1),_0x319e4e=0x0,_0x2ad773=0x2,_0x49ec25=!0x0;for(;_0x2ad773<arguments['length'];)_0x1c73ea[_0x319e4e++]=arguments[_0x2ad773++];return new Promise(function(_0x5a67cc,_0x4ceb95){_0x1c73ea[_0x319e4e]=function(_0x54e027){if(_0x49ec25){if(_0x49ec25=!0x1,_0x54e027)_0x4ceb95(_0x54e027);else{for(var _0xba36f=new Array(arguments['length']-0x1),_0x166aeb=0x0;_0x166aeb<_0xba36f['length'];)_0xba36f[_0x166aeb++]=arguments[_0x166aeb];_0x5a67cc['apply'](null,_0xba36f);}}};try{_0x55df14['apply'](_0x463b04||null,_0x1c73ea);}catch(_0x3963e9){_0x49ec25&&(_0x49ec25=!0x1,_0x4ceb95(_0x3963e9));}});},_0x5506b2;}var _0x5835cc={},_0xf2b1,eventemitter,hasRequiredEventemitter,float,hasRequiredFloat,_0x2006fa,_0x4f2d12;function requireBase64(){return _0xf2b1||(_0xf2b1=0x1,function(_0x11c942){var _0x4ec3d4=_0x11c942;_0x4ec3d4['length']=function(_0x4ae467){var _0x5e91dc=_0x4ae467['length'];if(!_0x5e91dc)return 0x0;for(var _0x18ecb0=0x0;--_0x5e91dc%0x4>0x1&&'='===_0x4ae467['charAt'](_0x5e91dc);)++_0x18ecb0;return Math['ceil'](0x3*_0x4ae467['length'])/0x4-_0x18ecb0;};for(var _0x413471=new Array(0x40),_0x49614d=new Array(0x7b),_0xed9251=0x0;_0xed9251<0x40;)_0x49614d[_0x413471[_0xed9251]=_0xed9251<0x1a?_0xed9251+0x41:_0xed9251<0x34?_0xed9251+0x47:_0xed9251<0x3e?_0xed9251-0x4:_0xed9251-0x3b|0x2b]=_0xed9251++;_0x4ec3d4['encode']=function(_0x15ba7e,_0x1e1698,_0xe39fcb){for(var t,_0x5cf5ad=null,_0x4193ea=[],_0x22b63c=0x0,_0x14ec64=0x0;_0x1e1698<_0xe39fcb;){var _0x312d61=_0x15ba7e[_0x1e1698++];switch(_0x14ec64){case 0x0:_0x4193ea[_0x22b63c++]=_0x413471[_0x312d61>>0x2],t=(0x3&_0x312d61)<<0x4,_0x14ec64=0x1;break;case 0x1:_0x4193ea[_0x22b63c++]=_0x413471[t|_0x312d61>>0x4],t=(0xf&_0x312d61)<<0x2,_0x14ec64=0x2;break;case 0x2:_0x4193ea[_0x22b63c++]=_0x413471[t|_0x312d61>>0x6],_0x4193ea[_0x22b63c++]=_0x413471[0x3f&_0x312d61],_0x14ec64=0x0;}_0x22b63c>0x1fff&&((_0x5cf5ad||(_0x5cf5ad=[]))['push'](String['fromCharCode']['apply'](String,_0x4193ea)),_0x22b63c=0x0);}return _0x14ec64&&(_0x4193ea[_0x22b63c++]=_0x413471[t],_0x4193ea[_0x22b63c++]=0x3d,0x1===_0x14ec64&&(_0x4193ea[_0x22b63c++]=0x3d)),_0x5cf5ad?(_0x22b63c&&_0x5cf5ad['push'](String['fromCharCode']['apply'](String,_0x4193ea['slice'](0x0,_0x22b63c))),_0x5cf5ad['join']('')):String['fromCharCode']['apply'](String,_0x4193ea['slice'](0x0,_0x22b63c));};var _0x158f9d='invalid\x20encoding';_0x4ec3d4['decode']=function(_0x4024f1,_0x2e13c4,_0x14dd64){for(var t,_0x121c53=_0x14dd64,_0x745b25=0x0,_0x40887e=0x0;_0x40887e<_0x4024f1['length'];){var _0x5ac2ef=_0x4024f1['charCodeAt'](_0x40887e++);if(0x3d===_0x5ac2ef&&_0x745b25>0x1)break;if(void 0x0===(_0x5ac2ef=_0x49614d[_0x5ac2ef]))throw Error(_0x158f9d);switch(_0x745b25){case 0x0:t=_0x5ac2ef,_0x745b25=0x1;break;case 0x1:_0x2e13c4[_0x14dd64++]=t<<0x2|(0x30&_0x5ac2ef)>>0x4,t=_0x5ac2ef,_0x745b25=0x2;break;case 0x2:_0x2e13c4[_0x14dd64++]=(0xf&t)<<0x4|(0x3c&_0x5ac2ef)>>0x2,t=_0x5ac2ef,_0x745b25=0x3;break;case 0x3:_0x2e13c4[_0x14dd64++]=(0x3&t)<<0x6|_0x5ac2ef,_0x745b25=0x0;}}if(0x1===_0x745b25)throw Error(_0x158f9d);return _0x14dd64-_0x121c53;},_0x4ec3d4['test']=function(_0x23865f){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/['test'](_0x23865f);};}(_0x5835cc)),_0x5835cc;}function requireEventemitter(){if(hasRequiredEventemitter)return eventemitter;function _0x4801ed(){this['_listeners']={};}return hasRequiredEventemitter=0x1,eventemitter=_0x4801ed,_0x4801ed['prototype']['on']=function(_0x3d5106,_0x2c3b63,_0x7378ae){return(this['_listeners'][_0x3d5106]||(this['_listeners'][_0x3d5106]=[]))['push']({'fn':_0x2c3b63,'ctx':_0x7378ae||this}),this;},_0x4801ed['prototype']['off']=function(_0x3e0f70,_0x1137d2){if(void 0x0===_0x3e0f70)this['_listeners']={};else{if(void 0x0===_0x1137d2)this['_listeners'][_0x3e0f70]=[];else{for(var _0x39f2ac=this['_listeners'][_0x3e0f70],_0x7eec28=0x0;_0x7eec28<_0x39f2ac['length'];)_0x39f2ac[_0x7eec28]['fn']===_0x1137d2?_0x39f2ac['splice'](_0x7eec28,0x1):++_0x7eec28;}}return this;},_0x4801ed['prototype']['emit']=function(_0x2c3828){var _0x30f53b=this['_listeners'][_0x2c3828];if(_0x30f53b){for(var _0x5273af=[],_0x3ea81b=0x1;_0x3ea81b<arguments['length'];)_0x5273af['push'](arguments[_0x3ea81b++]);for(_0x3ea81b=0x0;_0x3ea81b<_0x30f53b['length'];)_0x30f53b[_0x3ea81b]['fn']['apply'](_0x30f53b[_0x3ea81b++]['ctx'],_0x5273af);}return this;},eventemitter;}function requireFloat(){if(hasRequiredFloat)return float;function _0x46b1bf(_0x544b81){return'undefined'!=typeof Float32Array?(function(){var _0x149dfe=new Float32Array([-0x0]),_0x361a57=new Uint8Array(_0x149dfe['buffer']),_0x77eaee=0x80===_0x361a57[0x3];function _0x1ea02f(_0x26f22e,_0x54cc51,_0xf0c1){_0x149dfe[0x0]=_0x26f22e,_0x54cc51[_0xf0c1]=_0x361a57[0x0],_0x54cc51[_0xf0c1+0x1]=_0x361a57[0x1],_0x54cc51[_0xf0c1+0x2]=_0x361a57[0x2],_0x54cc51[_0xf0c1+0x3]=_0x361a57[0x3];}function _0x3dea28(_0x17a87c,_0x5cd650,_0x51e817){_0x149dfe[0x0]=_0x17a87c,_0x5cd650[_0x51e817]=_0x361a57[0x3],_0x5cd650[_0x51e817+0x1]=_0x361a57[0x2],_0x5cd650[_0x51e817+0x2]=_0x361a57[0x1],_0x5cd650[_0x51e817+0x3]=_0x361a57[0x0];}function _0xc194c7(_0x48e2fd,_0x24336d){return _0x361a57[0x0]=_0x48e2fd[_0x24336d],_0x361a57[0x1]=_0x48e2fd[_0x24336d+0x1],_0x361a57[0x2]=_0x48e2fd[_0x24336d+0x2],_0x361a57[0x3]=_0x48e2fd[_0x24336d+0x3],_0x149dfe[0x0];}function _0x1d0485(_0x1a9cf3,_0x1c61fb){return _0x361a57[0x3]=_0x1a9cf3[_0x1c61fb],_0x361a57[0x2]=_0x1a9cf3[_0x1c61fb+0x1],_0x361a57[0x1]=_0x1a9cf3[_0x1c61fb+0x2],_0x361a57[0x0]=_0x1a9cf3[_0x1c61fb+0x3],_0x149dfe[0x0];}_0x544b81['writeFloatLE']=_0x77eaee?_0x1ea02f:_0x3dea28,_0x544b81['writeFloatBE']=_0x77eaee?_0x3dea28:_0x1ea02f,_0x544b81['readFloatLE']=_0x77eaee?_0xc194c7:_0x1d0485,_0x544b81['readFloatBE']=_0x77eaee?_0x1d0485:_0xc194c7;}()):(function(){function _0x37a258(_0x28a34c,_0x461585,_0x2c7cd6,_0x58f1c4){var _0x8bb44e=_0x461585<0x0?0x1:0x0;if(_0x8bb44e&&(_0x461585=-_0x461585),0x0===_0x461585)_0x28a34c(0x1/_0x461585>0x0?0x0:0x80000000,_0x2c7cd6,_0x58f1c4);else{if(isNaN(_0x461585))_0x28a34c(0x7fc00000,_0x2c7cd6,_0x58f1c4);else{if(_0x461585>0xffffff00000000000000000000000000)_0x28a34c((_0x8bb44e<<0x1f|0x7f800000)>>>0x0,_0x2c7cd6,_0x58f1c4);else{if(_0x461585<1.1754943508222875e-38)_0x28a34c((_0x8bb44e<<0x1f|Math['round'](_0x461585/1.401298464324817e-45))>>>0x0,_0x2c7cd6,_0x58f1c4);else{var _0x2d2b4f=Math['floor'](Math['log'](_0x461585)/Math['LN2']);_0x28a34c((_0x8bb44e<<0x1f|_0x2d2b4f+0x7f<<0x17|0x7fffff&Math['round'](_0x461585*Math['pow'](0x2,-_0x2d2b4f)*0x800000))>>>0x0,_0x2c7cd6,_0x58f1c4);}}}}}function _0x4a5c4b(_0x5ac220,_0x2d3a75,_0x5e4a18){var _0x252ff4=_0x5ac220(_0x2d3a75,_0x5e4a18),_0x45b161=0x2*(_0x252ff4>>0x1f)+0x1,_0x227a09=_0x252ff4>>>0x17&0xff,_0x54f6fd=0x7fffff&_0x252ff4;return 0xff===_0x227a09?_0x54f6fd?NaN:_0x45b161*(0x1/0x0):0x0===_0x227a09?1.401298464324817e-45*_0x45b161*_0x54f6fd:_0x45b161*Math['pow'](0x2,_0x227a09-0x96)*(_0x54f6fd+0x800000);}_0x544b81['writeFloatLE']=_0x37a258['bind'](null,_0x2d4cb2),_0x544b81['writeFloatBE']=_0x37a258['bind'](null,_0x1616c5),_0x544b81['readFloatLE']=_0x4a5c4b['bind'](null,_0x2c433f),_0x544b81['readFloatBE']=_0x4a5c4b['bind'](null,_0xf49ff2);}()),'undefined'!=typeof Float64Array?(function(){var _0x11eb3c=new Float64Array([-0x0]),_0x39025d=new Uint8Array(_0x11eb3c['buffer']),_0x38fb4b=0x80===_0x39025d[0x7];function _0x2f8101(_0x15f1e9,_0x3bbc49,_0x364ee9){_0x11eb3c[0x0]=_0x15f1e9,_0x3bbc49[_0x364ee9]=_0x39025d[0x0],_0x3bbc49[_0x364ee9+0x1]=_0x39025d[0x1],_0x3bbc49[_0x364ee9+0x2]=_0x39025d[0x2],_0x3bbc49[_0x364ee9+0x3]=_0x39025d[0x3],_0x3bbc49[_0x364ee9+0x4]=_0x39025d[0x4],_0x3bbc49[_0x364ee9+0x5]=_0x39025d[0x5],_0x3bbc49[_0x364ee9+0x6]=_0x39025d[0x6],_0x3bbc49[_0x364ee9+0x7]=_0x39025d[0x7];}function _0x34cf05(_0x16937d,_0x14ed70,_0x11428a){_0x11eb3c[0x0]=_0x16937d,_0x14ed70[_0x11428a]=_0x39025d[0x7],_0x14ed70[_0x11428a+0x1]=_0x39025d[0x6],_0x14ed70[_0x11428a+0x2]=_0x39025d[0x5],_0x14ed70[_0x11428a+0x3]=_0x39025d[0x4],_0x14ed70[_0x11428a+0x4]=_0x39025d[0x3],_0x14ed70[_0x11428a+0x5]=_0x39025d[0x2],_0x14ed70[_0x11428a+0x6]=_0x39025d[0x1],_0x14ed70[_0x11428a+0x7]=_0x39025d[0x0];}function _0x2b58ba(_0x5dfd69,_0x4df963){return _0x39025d[0x0]=_0x5dfd69[_0x4df963],_0x39025d[0x1]=_0x5dfd69[_0x4df963+0x1],_0x39025d[0x2]=_0x5dfd69[_0x4df963+0x2],_0x39025d[0x3]=_0x5dfd69[_0x4df963+0x3],_0x39025d[0x4]=_0x5dfd69[_0x4df963+0x4],_0x39025d[0x5]=_0x5dfd69[_0x4df963+0x5],_0x39025d[0x6]=_0x5dfd69[_0x4df963+0x6],_0x39025d[0x7]=_0x5dfd69[_0x4df963+0x7],_0x11eb3c[0x0];}function _0x392a05(_0xba75d3,_0x14f9f3){return _0x39025d[0x7]=_0xba75d3[_0x14f9f3],_0x39025d[0x6]=_0xba75d3[_0x14f9f3+0x1],_0x39025d[0x5]=_0xba75d3[_0x14f9f3+0x2],_0x39025d[0x4]=_0xba75d3[_0x14f9f3+0x3],_0x39025d[0x3]=_0xba75d3[_0x14f9f3+0x4],_0x39025d[0x2]=_0xba75d3[_0x14f9f3+0x5],_0x39025d[0x1]=_0xba75d3[_0x14f9f3+0x6],_0x39025d[0x0]=_0xba75d3[_0x14f9f3+0x7],_0x11eb3c[0x0];}_0x544b81['writeDoubleLE']=_0x38fb4b?_0x2f8101:_0x34cf05,_0x544b81['writeDoubleBE']=_0x38fb4b?_0x34cf05:_0x2f8101,_0x544b81['readDoubleLE']=_0x38fb4b?_0x2b58ba:_0x392a05,_0x544b81['readDoubleBE']=_0x38fb4b?_0x392a05:_0x2b58ba;}()):(function(){function _0x404712(_0x305e15,_0x57de84,_0x15aa6c,_0x188e75,_0x3efdb2,_0x88f845){var _0x2973d8=_0x188e75<0x0?0x1:0x0;if(_0x2973d8&&(_0x188e75=-_0x188e75),0x0===_0x188e75)_0x305e15(0x0,_0x3efdb2,_0x88f845+_0x57de84),_0x305e15(0x1/_0x188e75>0x0?0x0:0x80000000,_0x3efdb2,_0x88f845+_0x15aa6c);else{if(isNaN(_0x188e75))_0x305e15(0x0,_0x3efdb2,_0x88f845+_0x57de84),_0x305e15(0x7ff80000,_0x3efdb2,_0x88f845+_0x15aa6c);else{if(_0x188e75>0xfffffffffffff800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)_0x305e15(0x0,_0x3efdb2,_0x88f845+_0x57de84),_0x305e15((_0x2973d8<<0x1f|0x7ff00000)>>>0x0,_0x3efdb2,_0x88f845+_0x15aa6c);else{var _0x147844;if(_0x188e75<2.2250738585072014e-308)_0x305e15((_0x147844=_0x188e75/5e-324)>>>0x0,_0x3efdb2,_0x88f845+_0x57de84),_0x305e15((_0x2973d8<<0x1f|_0x147844/0x100000000)>>>0x0,_0x3efdb2,_0x88f845+_0x15aa6c);else{var _0x4634fa=Math['floor'](Math['log'](_0x188e75)/Math['LN2']);0x400===_0x4634fa&&(_0x4634fa=0x3ff),_0x305e15(0x10000000000000*(_0x147844=_0x188e75*Math['pow'](0x2,-_0x4634fa))>>>0x0,_0x3efdb2,_0x88f845+_0x57de84),_0x305e15((_0x2973d8<<0x1f|_0x4634fa+0x3ff<<0x14|0x100000*_0x147844&0xfffff)>>>0x0,_0x3efdb2,_0x88f845+_0x15aa6c);}}}}}function _0x427b38(_0x267d50,_0x508d13,_0x70d109,_0x4132bd,_0x3fad2b){var _0x52f272=_0x267d50(_0x4132bd,_0x3fad2b+_0x508d13),_0x244a37=_0x267d50(_0x4132bd,_0x3fad2b+_0x70d109),_0x47e73a=0x2*(_0x244a37>>0x1f)+0x1,_0x51c6aa=_0x244a37>>>0x14&0x7ff,_0x420178=0x100000000*(0xfffff&_0x244a37)+_0x52f272;return 0x7ff===_0x51c6aa?_0x420178?NaN:_0x47e73a*(0x1/0x0):0x0===_0x51c6aa?5e-324*_0x47e73a*_0x420178:_0x47e73a*Math['pow'](0x2,_0x51c6aa-0x433)*(_0x420178+0x10000000000000);}_0x544b81['writeDoubleLE']=_0x404712['bind'](null,_0x2d4cb2,0x0,0x4),_0x544b81['writeDoubleBE']=_0x404712['bind'](null,_0x1616c5,0x4,0x0),_0x544b81['readDoubleLE']=_0x427b38['bind'](null,_0x2c433f,0x0,0x4),_0x544b81['readDoubleBE']=_0x427b38['bind'](null,_0xf49ff2,0x4,0x0);}()),_0x544b81;}function _0x2d4cb2(_0x146e7,_0x3e3c84,_0x5d66d8){_0x3e3c84[_0x5d66d8]=0xff&_0x146e7,_0x3e3c84[_0x5d66d8+0x1]=_0x146e7>>>0x8&0xff,_0x3e3c84[_0x5d66d8+0x2]=_0x146e7>>>0x10&0xff,_0x3e3c84[_0x5d66d8+0x3]=_0x146e7>>>0x18;}function _0x1616c5(_0x2882b1,_0x1c0789,_0x15bf58){_0x1c0789[_0x15bf58]=_0x2882b1>>>0x18,_0x1c0789[_0x15bf58+0x1]=_0x2882b1>>>0x10&0xff,_0x1c0789[_0x15bf58+0x2]=_0x2882b1>>>0x8&0xff,_0x1c0789[_0x15bf58+0x3]=0xff&_0x2882b1;}function _0x2c433f(_0x4e752e,_0x26d20b){return(_0x4e752e[_0x26d20b]|_0x4e752e[_0x26d20b+0x1]<<0x8|_0x4e752e[_0x26d20b+0x2]<<0x10|_0x4e752e[_0x26d20b+0x3]<<0x18)>>>0x0;}function _0xf49ff2(_0x44e76c,_0xcfe3c3){return(_0x44e76c[_0xcfe3c3]<<0x18|_0x44e76c[_0xcfe3c3+0x1]<<0x10|_0x44e76c[_0xcfe3c3+0x2]<<0x8|_0x44e76c[_0xcfe3c3+0x3])>>>0x0;}return hasRequiredFloat=0x1,float=_0x46b1bf(_0x46b1bf);}function requireInquire(){if(_0x4f2d12)return _0x2006fa;function _0x1be7c1(_0x5f173b){try{var _0x44049e=eval('quire'['replace'](/^/,'re'))(_0x5f173b);if(_0x44049e&&(_0x44049e['length']||Object['keys'](_0x44049e)['length']))return _0x44049e;}catch(_0x53dabe){}return null;}return _0x4f2d12=0x1,_0x2006fa=_0x1be7c1,_0x2006fa;}var utf8={},hasRequiredUtf8,_0x4f2fea,_0xe7644e,longbits,hasRequiredLongbits,_0x19aecd,writer,hasRequiredWriter,writer_buffer,hasRequiredWriter_buffer,_0x38f37a,_0xa82af6,_0x2cf5b4,_0x5a4ffe;function requireUtf8(){return hasRequiredUtf8||(hasRequiredUtf8=0x1,function(_0x5404e2){var _0x5a91d9=_0x5404e2;_0x5a91d9['length']=function(_0x888989){for(var _0x33254e=0x0,_0x47db3a=0x0,_0x3c9e78=0x0;_0x3c9e78<_0x888989['length'];++_0x3c9e78)(_0x47db3a=_0x888989['charCodeAt'](_0x3c9e78))<0x80?_0x33254e+=0x1:_0x47db3a<0x800?_0x33254e+=0x2:0xd800==(0xfc00&_0x47db3a)&&0xdc00==(0xfc00&_0x888989['charCodeAt'](_0x3c9e78+0x1))?(++_0x3c9e78,_0x33254e+=0x4):_0x33254e+=0x3;return _0x33254e;},_0x5a91d9['read']=function(_0x4c00ef,_0x1b8335,_0x3e296b){if(_0x3e296b-_0x1b8335<0x1)return'';for(var t,_0x1a4df5=null,_0x4a6a21=[],_0x5d7883=0x0;_0x1b8335<_0x3e296b;)(t=_0x4c00ef[_0x1b8335++])<0x80?_0x4a6a21[_0x5d7883++]=t:t>0xbf&&t<0xe0?_0x4a6a21[_0x5d7883++]=(0x1f&t)<<0x6|0x3f&_0x4c00ef[_0x1b8335++]:t>0xef&&t<0x16d?(t=((0x7&t)<<0x12|(0x3f&_0x4c00ef[_0x1b8335++])<<0xc|(0x3f&_0x4c00ef[_0x1b8335++])<<0x6|0x3f&_0x4c00ef[_0x1b8335++])-0x10000,_0x4a6a21[_0x5d7883++]=0xd800+(t>>0xa),_0x4a6a21[_0x5d7883++]=0xdc00+(0x3ff&t)):_0x4a6a21[_0x5d7883++]=(0xf&t)<<0xc|(0x3f&_0x4c00ef[_0x1b8335++])<<0x6|0x3f&_0x4c00ef[_0x1b8335++],_0x5d7883>0x1fff&&((_0x1a4df5||(_0x1a4df5=[]))['push'](String['fromCharCode']['apply'](String,_0x4a6a21)),_0x5d7883=0x0);return _0x1a4df5?(_0x5d7883&&_0x1a4df5['push'](String['fromCharCode']['apply'](String,_0x4a6a21['slice'](0x0,_0x5d7883))),_0x1a4df5['join']('')):String['fromCharCode']['apply'](String,_0x4a6a21['slice'](0x0,_0x5d7883));},_0x5a91d9['write']=function(_0x351358,_0xdaa82a,_0x303d7b){for(var _0x221e97,_0x34d6e8,_0xb18edd=_0x303d7b,_0x387507=0x0;_0x387507<_0x351358['length'];++_0x387507)(_0x221e97=_0x351358['charCodeAt'](_0x387507))<0x80?_0xdaa82a[_0x303d7b++]=_0x221e97:_0x221e97<0x800?(_0xdaa82a[_0x303d7b++]=_0x221e97>>0x6|0xc0,_0xdaa82a[_0x303d7b++]=0x3f&_0x221e97|0x80):0xd800==(0xfc00&_0x221e97)&&0xdc00==(0xfc00&(_0x34d6e8=_0x351358['charCodeAt'](_0x387507+0x1)))?(_0x221e97=0x10000+((0x3ff&_0x221e97)<<0xa)+(0x3ff&_0x34d6e8),++_0x387507,_0xdaa82a[_0x303d7b++]=_0x221e97>>0x12|0xf0,_0xdaa82a[_0x303d7b++]=_0x221e97>>0xc&0x3f|0x80,_0xdaa82a[_0x303d7b++]=_0x221e97>>0x6&0x3f|0x80,_0xdaa82a[_0x303d7b++]=0x3f&_0x221e97|0x80):(_0xdaa82a[_0x303d7b++]=_0x221e97>>0xc|0xe0,_0xdaa82a[_0x303d7b++]=_0x221e97>>0x6&0x3f|0x80,_0xdaa82a[_0x303d7b++]=0x3f&_0x221e97|0x80);return _0x303d7b-_0xb18edd;};}(utf8)),utf8;}function requirePool(){if(_0xe7644e)return _0x4f2fea;return _0xe7644e=0x1,_0x4f2fea=function(_0x4e0659,_0x4629db,_0x2975cd){var _0x33f78f=_0x2975cd||0x2000,_0x30f9d6=_0x33f78f>>>0x1,_0x1e2a69=null,_0x137f4e=_0x33f78f;return function(_0x35ea8a){if(_0x35ea8a<0x1||_0x35ea8a>_0x30f9d6)return _0x4e0659(_0x35ea8a);_0x137f4e+_0x35ea8a>_0x33f78f&&(_0x1e2a69=_0x4e0659(_0x33f78f),_0x137f4e=0x0);var _0x8ed74d=_0x4629db['call'](_0x1e2a69,_0x137f4e,_0x137f4e+=_0x35ea8a);return 0x7&_0x137f4e&&(_0x137f4e=0x1+(0x7|_0x137f4e)),_0x8ed74d;};},_0x4f2fea;}function requireLongbits(){if(hasRequiredLongbits)return longbits;hasRequiredLongbits=0x1,longbits=_0x150c73;var _0x677650=requireMinimal$1();function _0x150c73(_0x5c3e2a,_0xb2e819){this['lo']=_0x5c3e2a>>>0x0,this['hi']=_0xb2e819>>>0x0;}var _0xdc29d0=_0x150c73['zero']=new _0x150c73(0x0,0x0);_0xdc29d0['toNumber']=function(){return 0x0;},_0xdc29d0['zzEncode']=_0xdc29d0['zzDecode']=function(){return this;},_0xdc29d0['length']=function(){return 0x1;};var _0x5c9bdf=_0x150c73['zeroHash']='\x00\x00\x00\x00\x00\x00\x00\x00';_0x150c73['fromNumber']=function(_0x3dac63){if(0x0===_0x3dac63)return _0xdc29d0;var _0x74feb9=_0x3dac63<0x0;_0x74feb9&&(_0x3dac63=-_0x3dac63);var _0x36ec90=_0x3dac63>>>0x0,_0xef4392=(_0x3dac63-_0x36ec90)/0x100000000>>>0x0;return _0x74feb9&&(_0xef4392=~_0xef4392>>>0x0,_0x36ec90=~_0x36ec90>>>0x0,++_0x36ec90>0xffffffff&&(_0x36ec90=0x0,++_0xef4392>0xffffffff&&(_0xef4392=0x0))),new _0x150c73(_0x36ec90,_0xef4392);},_0x150c73['from']=function(_0x5ebe51){if('number'==typeof _0x5ebe51)return _0x150c73['fromNumber'](_0x5ebe51);if(_0x677650['isString'](_0x5ebe51)){if(!_0x677650['Long'])return _0x150c73['fromNumber'](parseInt(_0x5ebe51,0xa));_0x5ebe51=_0x677650['Long']['fromString'](_0x5ebe51);}return _0x5ebe51['low']||_0x5ebe51['high']?new _0x150c73(_0x5ebe51['low']>>>0x0,_0x5ebe51['high']>>>0x0):_0xdc29d0;},_0x150c73['prototype']['toNumber']=function(_0x50d4ce){if(!_0x50d4ce&&this['hi']>>>0x1f){var _0x4fbfbf=0x1+~this['lo']>>>0x0,_0x42d585=~this['hi']>>>0x0;return _0x4fbfbf||(_0x42d585=_0x42d585+0x1>>>0x0),-(_0x4fbfbf+0x100000000*_0x42d585);}return this['lo']+0x100000000*this['hi'];},_0x150c73['prototype']['toLong']=function(_0x3df517){return _0x677650['Long']?new _0x677650['Long'](0x0|this['lo'],0x0|this['hi'],Boolean(_0x3df517)):{'low':0x0|this['lo'],'high':0x0|this['hi'],'unsigned':Boolean(_0x3df517)};};var _0x24eb9e=String['prototype']['charCodeAt'];return _0x150c73['fromHash']=function(_0x599505){return _0x599505===_0x5c9bdf?_0xdc29d0:new _0x150c73((_0x24eb9e['call'](_0x599505,0x0)|_0x24eb9e['call'](_0x599505,0x1)<<0x8|_0x24eb9e['call'](_0x599505,0x2)<<0x10|_0x24eb9e['call'](_0x599505,0x3)<<0x18)>>>0x0,(_0x24eb9e['call'](_0x599505,0x4)|_0x24eb9e['call'](_0x599505,0x5)<<0x8|_0x24eb9e['call'](_0x599505,0x6)<<0x10|_0x24eb9e['call'](_0x599505,0x7)<<0x18)>>>0x0);},_0x150c73['prototype']['toHash']=function(){return String['fromCharCode'](0xff&this['lo'],this['lo']>>>0x8&0xff,this['lo']>>>0x10&0xff,this['lo']>>>0x18,0xff&this['hi'],this['hi']>>>0x8&0xff,this['hi']>>>0x10&0xff,this['hi']>>>0x18);},_0x150c73['prototype']['zzEncode']=function(){var _0x5e7e8b=this['hi']>>0x1f;return this['hi']=((this['hi']<<0x1|this['lo']>>>0x1f)^_0x5e7e8b)>>>0x0,this['lo']=(this['lo']<<0x1^_0x5e7e8b)>>>0x0,this;},_0x150c73['prototype']['zzDecode']=function(){var _0x4fea50=-(0x1&this['lo']);return this['lo']=((this['lo']>>>0x1|this['hi']<<0x1f)^_0x4fea50)>>>0x0,this['hi']=(this['hi']>>>0x1^_0x4fea50)>>>0x0,this;},_0x150c73['prototype']['length']=function(){var _0x1fb9e6=this['lo'],_0x38d1ab=(this['lo']>>>0x1c|this['hi']<<0x4)>>>0x0,_0x52e050=this['hi']>>>0x18;return 0x0===_0x52e050?0x0===_0x38d1ab?_0x1fb9e6<0x4000?_0x1fb9e6<0x80?0x1:0x2:_0x1fb9e6<0x200000?0x3:0x4:_0x38d1ab<0x4000?_0x38d1ab<0x80?0x5:0x6:_0x38d1ab<0x200000?0x7:0x8:_0x52e050<0x80?0x9:0xa;},longbits;}function requireMinimal$1(){return _0x19aecd||(_0x19aecd=0x1,function(_0x5dda54){var _0x4033cd=_0x5dda54;function _0x2d19fd(_0x1a7290,_0x577868,_0x303966){for(var _0x2e4fd1=Object['keys'](_0x577868),_0x3664a4=0x0;_0x3664a4<_0x2e4fd1['length'];++_0x3664a4)void 0x0!==_0x1a7290[_0x2e4fd1[_0x3664a4]]&&_0x303966||(_0x1a7290[_0x2e4fd1[_0x3664a4]]=_0x577868[_0x2e4fd1[_0x3664a4]]);return _0x1a7290;}function _0x3f2b73(_0x1c3504){function _0x1c8ca3(_0x1ad92b,_0x2e3b38){if(!(this instanceof _0x1c8ca3))return new _0x1c8ca3(_0x1ad92b,_0x2e3b38);Object['defineProperty'](this,'message',{'get':function(){return _0x1ad92b;}}),Error['captureStackTrace']?Error['captureStackTrace'](this,_0x1c8ca3):Object['defineProperty'](this,'stack',{'value':new Error()['stack']||''}),_0x2e3b38&&_0x2d19fd(this,_0x2e3b38);}return _0x1c8ca3['prototype']=Object['create'](Error['prototype'],{'constructor':{'value':_0x1c8ca3,'writable':!0x0,'enumerable':!0x1,'configurable':!0x0},'name':{'get':function(){return _0x1c3504;},'set':void 0x0,'enumerable':!0x1,'configurable':!0x0},'toString':{'value':function(){return this['name']+':\x20'+this['message'];},'writable':!0x0,'enumerable':!0x1,'configurable':!0x0}}),_0x1c8ca3;}_0x4033cd['asPromise']=requireAspromise(),_0x4033cd['base64']=requireBase64(),_0x4033cd['EventEmitter']=requireEventemitter(),_0x4033cd['float']=requireFloat(),_0x4033cd['inquire']=requireInquire(),_0x4033cd['utf8']=requireUtf8(),_0x4033cd['pool']=requirePool(),_0x4033cd['LongBits']=requireLongbits(),_0x4033cd['isNode']=Boolean(void 0x0!==_0x254de2&&_0x254de2&&_0x254de2['process']&&_0x254de2['process']['versions']&&_0x254de2['process']['versions']['node']),_0x4033cd['global']=_0x4033cd['isNode']&&_0x254de2||'undefined'!=typeof window&&window||'undefined'!=typeof self&&self||_0x408b17,_0x4033cd['emptyArray']=Object['freeze']?Object['freeze']([]):[],_0x4033cd['emptyObject']=Object['freeze']?Object['freeze']({}):{},_0x4033cd['isInteger']=Number['isInteger']||function(_0x202451){return'number'==typeof _0x202451&&isFinite(_0x202451)&&Math['floor'](_0x202451)===_0x202451;},_0x4033cd['isString']=function(_0x17dce2){return'string'==typeof _0x17dce2||_0x17dce2 instanceof String;},_0x4033cd['isObject']=function(_0x29ea53){return _0x29ea53&&'object'==typeof _0x29ea53;},_0x4033cd['isset']=_0x4033cd['isSet']=function(_0x40fe8d,_0x49fda7){var _0x4a888a=_0x40fe8d[_0x49fda7];return!(null==_0x4a888a||!_0x40fe8d['hasOwnProperty'](_0x49fda7))&&('object'!=typeof _0x4a888a||(Array['isArray'](_0x4a888a)?_0x4a888a['length']:Object['keys'](_0x4a888a)['length'])>0x0);},_0x4033cd['Buffer']=(function(){try{var _0x480101=_0x4033cd['inquire']('buffer')['Buffer'];return _0x480101['prototype']['utf8Write']?_0x480101:null;}catch(_0x61a820){return null;}}()),_0x4033cd['_Buffer_from']=null,_0x4033cd['_Buffer_allocUnsafe']=null,_0x4033cd['newBuffer']=function(_0x59b824){return'number'==typeof _0x59b824?_0x4033cd['Buffer']?_0x4033cd['_Buffer_allocUnsafe'](_0x59b824):new _0x4033cd['Array'](_0x59b824):_0x4033cd['Buffer']?_0x4033cd['_Buffer_from'](_0x59b824):'undefined'==typeof Uint8Array?_0x59b824:new Uint8Array(_0x59b824);},_0x4033cd['Array']='undefined'!=typeof Uint8Array?Uint8Array:Array,_0x4033cd['Long']=_0x4033cd['global']['dcodeIO']&&_0x4033cd['global']['dcodeIO']['Long']||_0x4033cd['global']['Long']||_0x4033cd['inquire']('long'),_0x4033cd['key2Re']=/^true|false|0|1$/,_0x4033cd['key32Re']=/^-?(?:0|[1-9][0-9]*)$/,_0x4033cd['key64Re']=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,_0x4033cd['longToHash']=function(_0x2db181){return _0x2db181?_0x4033cd['LongBits']['from'](_0x2db181)['toHash']():_0x4033cd['LongBits']['zeroHash'];},_0x4033cd['longFromHash']=function(_0x8a2741,_0x4843eb){var _0x3ec066=_0x4033cd['LongBits']['fromHash'](_0x8a2741);return _0x4033cd['Long']?_0x4033cd['Long']['fromBits'](_0x3ec066['lo'],_0x3ec066['hi'],_0x4843eb):_0x3ec066['toNumber'](Boolean(_0x4843eb));},_0x4033cd['merge']=_0x2d19fd,_0x4033cd['lcFirst']=function(_0x45a921){return _0x45a921['charAt'](0x0)['toLowerCase']()+_0x45a921['substring'](0x1);},_0x4033cd['newError']=_0x3f2b73,_0x4033cd['ProtocolError']=_0x3f2b73('ProtocolError'),_0x4033cd['oneOfGetter']=function(_0x3a14f4){for(var _0xfcef39={},_0xb15e88=0x0;_0xb15e88<_0x3a14f4['length'];++_0xb15e88)_0xfcef39[_0x3a14f4[_0xb15e88]]=0x1;return function(){for(var _0x576903=Object['keys'](this),_0x2503d8=_0x576903['length']-0x1;_0x2503d8>-0x1;--_0x2503d8)if(0x1===_0xfcef39[_0x576903[_0x2503d8]]&&void 0x0!==this[_0x576903[_0x2503d8]]&&null!==this[_0x576903[_0x2503d8]])return _0x576903[_0x2503d8];};},_0x4033cd['oneOfSetter']=function(_0x20f1a4){return function(_0x375de3){for(var _0x41c98e=0x0;_0x41c98e<_0x20f1a4['length'];++_0x41c98e)_0x20f1a4[_0x41c98e]!==_0x375de3&&delete this[_0x20f1a4[_0x41c98e]];};},_0x4033cd['toJSONOptions']={'longs':String,'enums':String,'bytes':String,'json':!0x0},_0x4033cd['_configure']=function(){var _0x329a1e=_0x4033cd['Buffer'];_0x329a1e?(_0x4033cd['_Buffer_from']=_0x329a1e['from']!==Uint8Array['from']&&_0x329a1e['from']||function(_0x2e37c4,_0x174788){return new _0x329a1e(_0x2e37c4,_0x174788);},_0x4033cd['_Buffer_allocUnsafe']=_0x329a1e['allocUnsafe']||function(_0x163f54){return new _0x329a1e(_0x163f54);}):_0x4033cd['_Buffer_from']=_0x4033cd['_Buffer_allocUnsafe']=null;};}(_0x408b17)),_0x408b17;}function requireWriter(){if(hasRequiredWriter)return writer;hasRequiredWriter=0x1,writer=_0x1eb3a2;var _0x422f95,_0x447e29=requireMinimal$1(),_0x2cf91d=_0x447e29['LongBits'],_0x48196e=_0x447e29['base64'],_0x488ded=_0x447e29['utf8'];function _0x512d29(_0xee0241,_0x2232eb,_0x365129){this['fn']=_0xee0241,this['len']=_0x2232eb,this['next']=void 0x0,this['val']=_0x365129;}function _0x430d02(){}function _0x2afd6c(_0x5b979a){this['head']=_0x5b979a['head'],this['tail']=_0x5b979a['tail'],this['len']=_0x5b979a['len'],this['next']=_0x5b979a['states'];}function _0x1eb3a2(){this['len']=0x0,this['head']=new _0x512d29(_0x430d02,0x0,0x0),this['tail']=this['head'],this['states']=null;}var _0xbda8a3=function(){return _0x447e29['Buffer']?function(){return(_0x1eb3a2['create']=function(){return new _0x422f95();})();}:function(){return new _0x1eb3a2();};};function _0x509080(_0x4610dd,_0x437c1c,_0x76b206){_0x437c1c[_0x76b206]=0xff&_0x4610dd;}function _0x17a497(_0x3951d4,_0x16685){this['len']=_0x3951d4,this['next']=void 0x0,this['val']=_0x16685;}function _0x38d2f7(_0x2c4f69,_0x38ad9d,_0x39fb91){for(;_0x2c4f69['hi'];)_0x38ad9d[_0x39fb91++]=0x7f&_0x2c4f69['lo']|0x80,_0x2c4f69['lo']=(_0x2c4f69['lo']>>>0x7|_0x2c4f69['hi']<<0x19)>>>0x0,_0x2c4f69['hi']>>>=0x7;for(;_0x2c4f69['lo']>0x7f;)_0x38ad9d[_0x39fb91++]=0x7f&_0x2c4f69['lo']|0x80,_0x2c4f69['lo']=_0x2c4f69['lo']>>>0x7;_0x38ad9d[_0x39fb91++]=_0x2c4f69['lo'];}function _0x28e4dd(_0x5c1cb4,_0x43746c,_0x1ee912){_0x43746c[_0x1ee912]=0xff&_0x5c1cb4,_0x43746c[_0x1ee912+0x1]=_0x5c1cb4>>>0x8&0xff,_0x43746c[_0x1ee912+0x2]=_0x5c1cb4>>>0x10&0xff,_0x43746c[_0x1ee912+0x3]=_0x5c1cb4>>>0x18;}_0x1eb3a2['create']=_0xbda8a3(),_0x1eb3a2['alloc']=function(_0x1efca2){return new _0x447e29['Array'](_0x1efca2);},_0x447e29['Array']!==Array&&(_0x1eb3a2['alloc']=_0x447e29['pool'](_0x1eb3a2['alloc'],_0x447e29['Array']['prototype']['subarray'])),_0x1eb3a2['prototype']['_push']=function(_0x2db773,_0x45c025,_0x4e6c17){return this['tail']=this['tail']['next']=new _0x512d29(_0x2db773,_0x45c025,_0x4e6c17),this['len']+=_0x45c025,this;},_0x17a497['prototype']=Object['create'](_0x512d29['prototype']),_0x17a497['prototype']['fn']=function(_0x5cfd56,_0x53f048,_0x393ee3){for(;_0x5cfd56>0x7f;)_0x53f048[_0x393ee3++]=0x7f&_0x5cfd56|0x80,_0x5cfd56>>>=0x7;_0x53f048[_0x393ee3]=_0x5cfd56;},_0x1eb3a2['prototype']['uint32']=function(_0x15b5b9){return this['len']+=(this['tail']=this['tail']['next']=new _0x17a497((_0x15b5b9>>>=0x0)<0x80?0x1:_0x15b5b9<0x4000?0x2:_0x15b5b9<0x200000?0x3:_0x15b5b9<0x10000000?0x4:0x5,_0x15b5b9))['len'],this;},_0x1eb3a2['prototype']['int32']=function(_0x52789a){return _0x52789a<0x0?this['_push'](_0x38d2f7,0xa,_0x2cf91d['fromNumber'](_0x52789a)):this['uint32'](_0x52789a);},_0x1eb3a2['prototype']['sint32']=function(_0x151967){return this['uint32']((_0x151967<<0x1^_0x151967>>0x1f)>>>0x0);},_0x1eb3a2['prototype']['uint64']=function(_0x1fd60c){var _0x5c17ef=_0x2cf91d['from'](_0x1fd60c);return this['_push'](_0x38d2f7,_0x5c17ef['length'](),_0x5c17ef);},_0x1eb3a2['prototype']['int64']=_0x1eb3a2['prototype']['uint64'],_0x1eb3a2['prototype']['sint64']=function(_0x7c6e3c){var _0x15588e=_0x2cf91d['from'](_0x7c6e3c)['zzEncode']();return this['_push'](_0x38d2f7,_0x15588e['length'](),_0x15588e);},_0x1eb3a2['prototype']['bool']=function(_0x40c54e){return this['_push'](_0x509080,0x1,_0x40c54e?0x1:0x0);},_0x1eb3a2['prototype']['fixed32']=function(_0x53aa84){return this['_push'](_0x28e4dd,0x4,_0x53aa84>>>0x0);},_0x1eb3a2['prototype']['sfixed32']=_0x1eb3a2['prototype']['fixed32'],_0x1eb3a2['prototype']['fixed64']=function(_0x2f743e){var _0x1aaa14=_0x2cf91d['from'](_0x2f743e);return this['_push'](_0x28e4dd,0x4,_0x1aaa14['lo'])['_push'](_0x28e4dd,0x4,_0x1aaa14['hi']);},_0x1eb3a2['prototype']['sfixed64']=_0x1eb3a2['prototype']['fixed64'],_0x1eb3a2['prototype']['float']=function(_0x483e56){return this['_push'](_0x447e29['float']['writeFloatLE'],0x4,_0x483e56);},_0x1eb3a2['prototype']['double']=function(_0x4f28af){return this['_push'](_0x447e29['float']['writeDoubleLE'],0x8,_0x4f28af);};var _0x2efe13=_0x447e29['Array']['prototype']['set']?function(_0x43c1b5,_0x54fd90,_0x4575da){_0x54fd90['set'](_0x43c1b5,_0x4575da);}:function(_0x2c5bf5,_0x1afd28,_0x328eb0){for(var _0x671c35=0x0;_0x671c35<_0x2c5bf5['length'];++_0x671c35)_0x1afd28[_0x328eb0+_0x671c35]=_0x2c5bf5[_0x671c35];};return _0x1eb3a2['prototype']['bytes']=function(_0x26744a){var _0x5eccaa=_0x26744a['length']>>>0x0;if(!_0x5eccaa)return this['_push'](_0x509080,0x1,0x0);if(_0x447e29['isString'](_0x26744a)){var _0x4b3829=_0x1eb3a2['alloc'](_0x5eccaa=_0x48196e['length'](_0x26744a));_0x48196e['decode'](_0x26744a,_0x4b3829,0x0),_0x26744a=_0x4b3829;}return this['uint32'](_0x5eccaa)['_push'](_0x2efe13,_0x5eccaa,_0x26744a);},_0x1eb3a2['prototype']['string']=function(_0x566497){var _0x16c348=_0x488ded['length'](_0x566497);return _0x16c348?this['uint32'](_0x16c348)['_push'](_0x488ded['write'],_0x16c348,_0x566497):this['_push'](_0x509080,0x1,0x0);},_0x1eb3a2['prototype']['fork']=function(){return this['states']=new _0x2afd6c(this),this['head']=this['tail']=new _0x512d29(_0x430d02,0x0,0x0),this['len']=0x0,this;},_0x1eb3a2['prototype']['reset']=function(){return this['states']?(this['head']=this['states']['head'],this['tail']=this['states']['tail'],this['len']=this['states']['len'],this['states']=this['states']['next']):(this['head']=this['tail']=new _0x512d29(_0x430d02,0x0,0x0),this['len']=0x0),this;},_0x1eb3a2['prototype']['ldelim']=function(){var _0x54bcee=this['head'],_0x4d9d5f=this['tail'],_0x33568b=this['len'];return this['reset']()['uint32'](_0x33568b),_0x33568b&&(this['tail']['next']=_0x54bcee['next'],this['tail']=_0x4d9d5f,this['len']+=_0x33568b),this;},_0x1eb3a2['prototype']['finish']=function(){for(var _0x409a20=this['head']['next'],_0x347819=this['constructor']['alloc'](this['len']),_0xdd9d52=0x0;_0x409a20;)_0x409a20['fn'](_0x409a20['val'],_0x347819,_0xdd9d52),_0xdd9d52+=_0x409a20['len'],_0x409a20=_0x409a20['next'];return _0x347819;},_0x1eb3a2['_configure']=function(_0x38b6f6){_0x422f95=_0x38b6f6,_0x1eb3a2['create']=_0xbda8a3(),_0x422f95['_configure']();},writer;}function requireWriter_buffer(){if(hasRequiredWriter_buffer)return writer_buffer;hasRequiredWriter_buffer=0x1,writer_buffer=_0x80d89;var _0x371b2a=requireWriter();(_0x80d89['prototype']=Object['create'](_0x371b2a['prototype']))['constructor']=_0x80d89;var _0x3f9739=requireMinimal$1();function _0x80d89(){_0x371b2a['call'](this);}function _0x11c394(_0x7361f2,_0x3e2fdc,_0x3a3cc4){_0x7361f2['length']<0x28?_0x3f9739['utf8']['write'](_0x7361f2,_0x3e2fdc,_0x3a3cc4):_0x3e2fdc['utf8Write']?_0x3e2fdc['utf8Write'](_0x7361f2,_0x3a3cc4):_0x3e2fdc['write'](_0x7361f2,_0x3a3cc4);}return _0x80d89['_configure']=function(){_0x80d89['alloc']=_0x3f9739['_Buffer_allocUnsafe'],_0x80d89['writeBytesBuffer']=_0x3f9739['Buffer']&&_0x3f9739['Buffer']['prototype']instanceof Uint8Array&&'set'===_0x3f9739['Buffer']['prototype']['set']['name']?function(_0x39fdf8,_0xa5169a,_0x34a2a){_0xa5169a['set'](_0x39fdf8,_0x34a2a);}:function(_0x2e788b,_0x37a54a,_0x15392f){if(_0x2e788b['copy'])_0x2e788b['copy'](_0x37a54a,_0x15392f,0x0,_0x2e788b['length']);else{for(var _0x598c17=0x0;_0x598c17<_0x2e788b['length'];)_0x37a54a[_0x15392f++]=_0x2e788b[_0x598c17++];}};},_0x80d89['prototype']['bytes']=function(_0x2bf541){_0x3f9739['isString'](_0x2bf541)&&(_0x2bf541=_0x3f9739['_Buffer_from'](_0x2bf541,'base64'));var _0x3ab043=_0x2bf541['length']>>>0x0;return this['uint32'](_0x3ab043),_0x3ab043&&this['_push'](_0x80d89['writeBytesBuffer'],_0x3ab043,_0x2bf541),this;},_0x80d89['prototype']['string']=function(_0x264f25){var _0x445a48=_0x3f9739['Buffer']['byteLength'](_0x264f25);return this['uint32'](_0x445a48),_0x445a48&&this['_push'](_0x11c394,_0x445a48,_0x264f25),this;},_0x80d89['_configure'](),writer_buffer;}function requireReader(){if(_0xa82af6)return _0x38f37a;_0xa82af6=0x1,_0x38f37a=_0xefe7d2;var _0x18e464,_0x2c74c9=requireMinimal$1(),_0x41d31b=_0x2c74c9['LongBits'],_0x1015c5=_0x2c74c9['utf8'];function _0x448f21(_0x261bbe,_0x286c7f){return RangeError('index\x20out\x20of\x20range:\x20'+_0x261bbe['pos']+'\x20+\x20'+(_0x286c7f||0x1)+'\x20>\x20'+_0x261bbe['len']);}function _0xefe7d2(_0x3a48c4){this['buf']=_0x3a48c4,this['pos']=0x0,this['len']=_0x3a48c4['length'];}var _0x2731a8='undefined'!=typeof Uint8Array?function(_0x31b4cb){if(_0x31b4cb instanceof Uint8Array||Array['isArray'](_0x31b4cb))return new _0xefe7d2(_0x31b4cb);throw Error('illegal\x20buffer');}:function(_0xec44ee){if(Array['isArray'](_0xec44ee))return new _0xefe7d2(_0xec44ee);throw Error('illegal\x20buffer');},_0x486a98=function(){return _0x2c74c9['Buffer']?function(_0x1faffb){return(_0xefe7d2['create']=function(_0xb8bad3){return _0x2c74c9['Buffer']['isBuffer'](_0xb8bad3)?new _0x18e464(_0xb8bad3):_0x2731a8(_0xb8bad3);})(_0x1faffb);}:_0x2731a8;};function _0x43f357(){var _0x585911=new _0x41d31b(0x0,0x0),_0x5b1aa0=0x0;if(!(this['len']-this['pos']>0x4)){for(;_0x5b1aa0<0x3;++_0x5b1aa0){if(this['pos']>=this['len'])throw _0x448f21(this);if(_0x585911['lo']=(_0x585911['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0x5b1aa0)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x585911;}return _0x585911['lo']=(_0x585911['lo']|(0x7f&this['buf'][this['pos']++])<<0x7*_0x5b1aa0)>>>0x0,_0x585911;}for(;_0x5b1aa0<0x4;++_0x5b1aa0)if(_0x585911['lo']=(_0x585911['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0x5b1aa0)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x585911;if(_0x585911['lo']=(_0x585911['lo']|(0x7f&this['buf'][this['pos']])<<0x1c)>>>0x0,_0x585911['hi']=(_0x585911['hi']|(0x7f&this['buf'][this['pos']])>>0x4)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x585911;if(_0x5b1aa0=0x0,this['len']-this['pos']>0x4){for(;_0x5b1aa0<0x5;++_0x5b1aa0)if(_0x585911['hi']=(_0x585911['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0x5b1aa0+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x585911;}else for(;_0x5b1aa0<0x5;++_0x5b1aa0){if(this['pos']>=this['len'])throw _0x448f21(this);if(_0x585911['hi']=(_0x585911['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0x5b1aa0+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x585911;}throw Error('invalid\x20varint\x20encoding');}function _0x59984d(_0x49a5ac,_0x2ae1bc){return(_0x49a5ac[_0x2ae1bc-0x4]|_0x49a5ac[_0x2ae1bc-0x3]<<0x8|_0x49a5ac[_0x2ae1bc-0x2]<<0x10|_0x49a5ac[_0x2ae1bc-0x1]<<0x18)>>>0x0;}function _0x4eae2d(){if(this['pos']+0x8>this['len'])throw _0x448f21(this,0x8);return new _0x41d31b(_0x59984d(this['buf'],this['pos']+=0x4),_0x59984d(this['buf'],this['pos']+=0x4));}return _0xefe7d2['create']=_0x486a98(),_0xefe7d2['prototype']['_slice']=_0x2c74c9['Array']['prototype']['subarray']||_0x2c74c9['Array']['prototype']['slice'],_0xefe7d2['prototype']['uint32']=(function(){var _0x334edc=0xffffffff;return function(){if(_0x334edc=(0x7f&this['buf'][this['pos']])>>>0x0,this['buf'][this['pos']++]<0x80)return _0x334edc;if(_0x334edc=(_0x334edc|(0x7f&this['buf'][this['pos']])<<0x7)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x334edc;if(_0x334edc=(_0x334edc|(0x7f&this['buf'][this['pos']])<<0xe)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x334edc;if(_0x334edc=(_0x334edc|(0x7f&this['buf'][this['pos']])<<0x15)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x334edc;if(_0x334edc=(_0x334edc|(0xf&this['buf'][this['pos']])<<0x1c)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x334edc;if((this['pos']+=0x5)>this['len'])throw this['pos']=this['len'],_0x448f21(this,0xa);return _0x334edc;};}()),_0xefe7d2['prototype']['int32']=function(){return 0x0|this['uint32']();},_0xefe7d2['prototype']['sint32']=function(){var _0x503053=this['uint32']();return _0x503053>>>0x1^-(0x1&_0x503053);},_0xefe7d2['prototype']['bool']=function(){return 0x0!==this['uint32']();},_0xefe7d2['prototype']['fixed32']=function(){if(this['pos']+0x4>this['len'])throw _0x448f21(this,0x4);return _0x59984d(this['buf'],this['pos']+=0x4);},_0xefe7d2['prototype']['sfixed32']=function(){if(this['pos']+0x4>this['len'])throw _0x448f21(this,0x4);return 0x0|_0x59984d(this['buf'],this['pos']+=0x4);},_0xefe7d2['prototype']['float']=function(){if(this['pos']+0x4>this['len'])throw _0x448f21(this,0x4);var _0x312018=_0x2c74c9['float']['readFloatLE'](this['buf'],this['pos']);return this['pos']+=0x4,_0x312018;},_0xefe7d2['prototype']['double']=function(){if(this['pos']+0x8>this['len'])throw _0x448f21(this,0x4);var _0x13f170=_0x2c74c9['float']['readDoubleLE'](this['buf'],this['pos']);return this['pos']+=0x8,_0x13f170;},_0xefe7d2['prototype']['bytes']=function(){var _0x20bdb4=this['uint32'](),_0x2c99b4=this['pos'],_0x438abc=this['pos']+_0x20bdb4;if(_0x438abc>this['len'])throw _0x448f21(this,_0x20bdb4);if(this['pos']+=_0x20bdb4,Array['isArray'](this['buf']))return this['buf']['slice'](_0x2c99b4,_0x438abc);if(_0x2c99b4===_0x438abc){var _0x437154=_0x2c74c9['Buffer'];return _0x437154?_0x437154['alloc'](0x0):new this['buf']['constructor'](0x0);}return this['_slice']['call'](this['buf'],_0x2c99b4,_0x438abc);},_0xefe7d2['prototype']['string']=function(){var _0x13b805=this['bytes']();return _0x1015c5['read'](_0x13b805,0x0,_0x13b805['length']);},_0xefe7d2['prototype']['skip']=function(_0x530489){if('number'==typeof _0x530489){if(this['pos']+_0x530489>this['len'])throw _0x448f21(this,_0x530489);this['pos']+=_0x530489;}else do{if(this['pos']>=this['len'])throw _0x448f21(this);}while(0x80&this['buf'][this['pos']++]);return this;},_0xefe7d2['prototype']['skipType']=function(_0x161a31){switch(_0x161a31){case 0x0:this['skip']();break;case 0x1:this['skip'](0x8);break;case 0x2:this['skip'](this['uint32']());break;case 0x3:for(;0x4!=(_0x161a31=0x7&this['uint32']());)this['skipType'](_0x161a31);break;case 0x5:this['skip'](0x4);break;default:throw Error('invalid\x20wire\x20type\x20'+_0x161a31+'\x20at\x20offset\x20'+this['pos']);}return this;},_0xefe7d2['_configure']=function(_0x39dc5d){_0x18e464=_0x39dc5d,_0xefe7d2['create']=_0x486a98(),_0x18e464['_configure']();var _0xddaae9=_0x2c74c9['Long']?'toLong':'toNumber';_0x2c74c9['merge'](_0xefe7d2['prototype'],{'int64':function(){return _0x43f357['call'](this)[_0xddaae9](!0x1);},'uint64':function(){return _0x43f357['call'](this)[_0xddaae9](!0x0);},'sint64':function(){return _0x43f357['call'](this)['zzDecode']()[_0xddaae9](!0x1);},'fixed64':function(){return _0x4eae2d['call'](this)[_0xddaae9](!0x0);},'sfixed64':function(){return _0x4eae2d['call'](this)[_0xddaae9](!0x1);}});},_0x38f37a;}function requireReader_buffer(){if(_0x5a4ffe)return _0x2cf5b4;_0x5a4ffe=0x1,_0x2cf5b4=_0x282f4b;var _0x55edee=requireReader();(_0x282f4b['prototype']=Object['create'](_0x55edee['prototype']))['constructor']=_0x282f4b;var _0x513642=requireMinimal$1();function _0x282f4b(_0x3f5d9f){_0x55edee['call'](this,_0x3f5d9f);}return _0x282f4b['_configure']=function(){_0x513642['Buffer']&&(_0x282f4b['prototype']['_slice']=_0x513642['Buffer']['prototype']['slice']);},_0x282f4b['prototype']['string']=function(){var _0x2d8fdf=this['uint32']();return this['buf']['utf8Slice']?this['buf']['utf8Slice'](this['pos'],this['pos']=Math['min'](this['pos']+_0x2d8fdf,this['len'])):this['buf']['toString']('utf-8',this['pos'],this['pos']=Math['min'](this['pos']+_0x2d8fdf,this['len']));},_0x282f4b['_configure'](),_0x2cf5b4;}var _0x3798c0={},_0x245186,_0x4753ae,_0x147543,roots,hasRequiredRoots,_0x397e99,_0x591266,_0x2b4943;function requireService(){if(_0x4753ae)return _0x245186;_0x4753ae=0x1,_0x245186=_0x506ea1;var _0x27bbc3=requireMinimal$1();function _0x506ea1(_0x3127f8,_0x2e5c6b,_0x3dafae){if('function'!=typeof _0x3127f8)throw TypeError('rpcImpl\x20must\x20be\x20a\x20function');_0x27bbc3['EventEmitter']['call'](this),this['rpcImpl']=_0x3127f8,this['requestDelimited']=Boolean(_0x2e5c6b),this['responseDelimited']=Boolean(_0x3dafae);}return(_0x506ea1['prototype']=Object['create'](_0x27bbc3['EventEmitter']['prototype']))['constructor']=_0x506ea1,_0x506ea1['prototype']['rpcCall']=function _0x4aef46(_0x2d8147,_0x1919df,_0x15598c,_0xc83740,_0x53eb95){if(!_0xc83740)throw TypeError('request\x20must\x20be\x20specified');var _0x47dd8c=this;if(!_0x53eb95)return _0x27bbc3['asPromise'](_0x4aef46,_0x47dd8c,_0x2d8147,_0x1919df,_0x15598c,_0xc83740);if(_0x47dd8c['rpcImpl'])try{return _0x47dd8c['rpcImpl'](_0x2d8147,_0x1919df[_0x47dd8c['requestDelimited']?'encodeDelimited':'encode'](_0xc83740)['finish'](),function(_0xba6188,_0x4b63c5){if(_0xba6188)return _0x47dd8c['emit']('error',_0xba6188,_0x2d8147),_0x53eb95(_0xba6188);if(null!==_0x4b63c5){if(!(_0x4b63c5 instanceof _0x15598c))try{_0x4b63c5=_0x15598c[_0x47dd8c['responseDelimited']?'decodeDelimited':'decode'](_0x4b63c5);}catch(_0x573c6f){return _0x47dd8c['emit']('error',_0x573c6f,_0x2d8147),_0x53eb95(_0x573c6f);}return _0x47dd8c['emit']('data',_0x4b63c5,_0x2d8147),_0x53eb95(null,_0x4b63c5);}_0x47dd8c['end'](!0x0);});}catch(_0xc55f47){return _0x47dd8c['emit']('error',_0xc55f47,_0x2d8147),void setTimeout(function(){_0x53eb95(_0xc55f47);},0x0);}else setTimeout(function(){_0x53eb95(Error('already\x20ended'));},0x0);},_0x506ea1['prototype']['end']=function(_0x306421){return this['rpcImpl']&&(_0x306421||this['rpcImpl'](null,null,null),this['rpcImpl']=null,this['emit']('end')['off']()),this;},_0x245186;}function requireRpc(){return _0x147543||(_0x147543=0x1,_0x3798c0['Service']=requireService()),_0x3798c0;}function requireRoots(){return hasRequiredRoots?roots:(hasRequiredRoots=0x1,roots={});}function requireIndexMinimal(){return _0x397e99||(_0x397e99=0x1,function(_0x898683){var _0x28f4e6=_0x898683;function _0x23c1f4(){_0x28f4e6['util']['_configure'](),_0x28f4e6['Writer']['_configure'](_0x28f4e6['BufferWriter']),_0x28f4e6['Reader']['_configure'](_0x28f4e6['BufferReader']);}_0x28f4e6['build']='minimal',_0x28f4e6['Writer']=requireWriter(),_0x28f4e6['BufferWriter']=requireWriter_buffer(),_0x28f4e6['Reader']=requireReader(),_0x28f4e6['BufferReader']=requireReader_buffer(),_0x28f4e6['util']=requireMinimal$1(),_0x28f4e6['rpc']=requireRpc(),_0x28f4e6['roots']=requireRoots(),_0x28f4e6['configure']=_0x23c1f4,_0x23c1f4();}(_0x14cead)),_0x14cead;}function requireMinimal(){return _0x2b4943?_0x591266:(_0x2b4943=0x1,_0x591266=requireIndexMinimal());}var minimalExports=requireMinimal();const _0x5113db=Object['create'](null);_0x5113db['open']='0',_0x5113db['close']='1',_0x5113db['ping']='2',_0x5113db['pong']='3',_0x5113db['message']='4',_0x5113db['upgrade']='5',_0x5113db['noop']='6';const _0x32bf30=Object['create'](null);Object['keys'](_0x5113db)['forEach'](_0x2d7139=>{_0x32bf30[_0x5113db[_0x2d7139]]=_0x2d7139;});const _0x1bcbf1={'type':'error','data':'parser\x20error'},withNativeBlob$1='function'==typeof Blob||'undefined'!=typeof Blob&&'[object\x20BlobConstructor]'===Object['prototype']['toString']['call'](Blob),withNativeArrayBuffer$2='function'==typeof ArrayBuffer,_0x515630=_0x48575c=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x48575c):_0x48575c&&_0x48575c['buffer']instanceof ArrayBuffer,encodePacket=({type:_0x1d9b1b,data:_0xf223e6},_0x4b63f1,_0x210ad7)=>withNativeBlob$1&&_0xf223e6 instanceof Blob?_0x4b63f1?_0x210ad7(_0xf223e6):_0x3ed012(_0xf223e6,_0x210ad7):withNativeArrayBuffer$2&&(_0xf223e6 instanceof ArrayBuffer||_0x515630(_0xf223e6))?_0x4b63f1?_0x210ad7(_0xf223e6):_0x3ed012(new Blob([_0xf223e6]),_0x210ad7):_0x210ad7(_0x5113db[_0x1d9b1b]+(_0xf223e6||'')),_0x3ed012=(_0x2a508b,_0xc4aad5)=>{const _0x121b18=new FileReader();return _0x121b18['onload']=function(){const _0x393d1e=_0x121b18['result']['split'](',')[0x1];_0xc4aad5('b'+(_0x393d1e||''));},_0x121b18['readAsDataURL'](_0x2a508b);};function toArray(_0x4a0cac){return _0x4a0cac instanceof Uint8Array?_0x4a0cac:_0x4a0cac instanceof ArrayBuffer?new Uint8Array(_0x4a0cac):new Uint8Array(_0x4a0cac['buffer'],_0x4a0cac['byteOffset'],_0x4a0cac['byteLength']);}let _0x50e488;function encodePacketToBinary(_0x44957d,_0x46a6a6){return withNativeBlob$1&&_0x44957d['data']instanceof Blob?_0x44957d['data']['arrayBuffer']()['then'](toArray)['then'](_0x46a6a6):withNativeArrayBuffer$2&&(_0x44957d['data']instanceof ArrayBuffer||_0x515630(_0x44957d['data']))?_0x46a6a6(toArray(_0x44957d['data'])):void encodePacket(_0x44957d,!0x1,_0x32a754=>{_0x50e488||(_0x50e488=new TextEncoder()),_0x46a6a6(_0x50e488['encode'](_0x32a754));});}const _0x455760='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',_0x21a7a8='undefined'==typeof Uint8Array?[]:new Uint8Array(0x100);for(let _0x39a39c=0x0;_0x39a39c<_0x455760['length'];_0x39a39c++)_0x21a7a8[_0x455760['charCodeAt'](_0x39a39c)]=_0x39a39c;const _0x58e03f=_0x1c31aa=>{let _0x396d3d,_0x4e65d7,_0x560a24,_0x353f8e,_0x283b09,_0x2eb8b0=0.75*_0x1c31aa['length'],_0x54daac=_0x1c31aa['length'],_0x158dff=0x0;'='===_0x1c31aa[_0x1c31aa['length']-0x1]&&(_0x2eb8b0--,'='===_0x1c31aa[_0x1c31aa['length']-0x2]&&_0x2eb8b0--);const _0x206310=new ArrayBuffer(_0x2eb8b0),_0x4cb12a=new Uint8Array(_0x206310);for(_0x396d3d=0x0;_0x396d3d<_0x54daac;_0x396d3d+=0x4)_0x4e65d7=_0x21a7a8[_0x1c31aa['charCodeAt'](_0x396d3d)],_0x560a24=_0x21a7a8[_0x1c31aa['charCodeAt'](_0x396d3d+0x1)],_0x353f8e=_0x21a7a8[_0x1c31aa['charCodeAt'](_0x396d3d+0x2)],_0x283b09=_0x21a7a8[_0x1c31aa['charCodeAt'](_0x396d3d+0x3)],_0x4cb12a[_0x158dff++]=_0x4e65d7<<0x2|_0x560a24>>0x4,_0x4cb12a[_0x158dff++]=(0xf&_0x560a24)<<0x4|_0x353f8e>>0x2,_0x4cb12a[_0x158dff++]=(0x3&_0x353f8e)<<0x6|0x3f&_0x283b09;return _0x206310;},withNativeArrayBuffer$1='function'==typeof ArrayBuffer,decodePacket=(_0x1873ad,_0x2ee41c)=>{if('string'!=typeof _0x1873ad)return{'type':'message','data':_0x32cb0e(_0x1873ad,_0x2ee41c)};const _0x5c5c83=_0x1873ad['charAt'](0x0);if('b'===_0x5c5c83)return{'type':'message','data':decodeBase64Packet(_0x1873ad['substring'](0x1),_0x2ee41c)};return _0x32bf30[_0x5c5c83]?_0x1873ad['length']>0x1?{'type':_0x32bf30[_0x5c5c83],'data':_0x1873ad['substring'](0x1)}:{'type':_0x32bf30[_0x5c5c83]}:_0x1bcbf1;},decodeBase64Packet=(_0x58cbe9,_0x2d4c52)=>{if(withNativeArrayBuffer$1){const _0xe952c6=_0x58e03f(_0x58cbe9);return _0x32cb0e(_0xe952c6,_0x2d4c52);}return{'base64':!0x0,'data':_0x58cbe9};},_0x32cb0e=(_0x2e55ce,_0x5073d3)=>'blob'===_0x5073d3?_0x2e55ce instanceof Blob?_0x2e55ce:new Blob([_0x2e55ce]):_0x2e55ce instanceof ArrayBuffer?_0x2e55ce:_0x2e55ce['buffer'],_0x14673a=String['fromCharCode'](0x1e),_0x57dbcb=(_0x129195,_0x5bd64e)=>{const _0x3b53dc=_0x129195['length'],_0x38f06a=new Array(_0x3b53dc);let _0x40ca89=0x0;_0x129195['forEach']((_0xb1a788,_0x30708f)=>{encodePacket(_0xb1a788,!0x1,_0x228605=>{_0x38f06a[_0x30708f]=_0x228605,++_0x40ca89===_0x3b53dc&&_0x5bd64e(_0x38f06a['join'](_0x14673a));});});},_0x44f0a6=(_0x16a06f,_0x2788bb)=>{const _0x41d06f=_0x16a06f['split'](_0x14673a),_0x523830=[];for(let _0x1bf965=0x0;_0x1bf965<_0x41d06f['length'];_0x1bf965++){const _0x3333b4=decodePacket(_0x41d06f[_0x1bf965],_0x2788bb);if(_0x523830['push'](_0x3333b4),'error'===_0x3333b4['type'])break;}return _0x523830;};function createPacketEncoderStream(){return new TransformStream({'transform'(_0x33ed60,_0x4cf8e0){encodePacketToBinary(_0x33ed60,_0x5b1883=>{const _0x2c840a=_0x5b1883['length'];let _0x5ca4f9;if(_0x2c840a<0x7e)_0x5ca4f9=new Uint8Array(0x1),new DataView(_0x5ca4f9['buffer'])['setUint8'](0x0,_0x2c840a);else{if(_0x2c840a<0x10000){_0x5ca4f9=new Uint8Array(0x3);const _0x5e5327=new DataView(_0x5ca4f9['buffer']);_0x5e5327['setUint8'](0x0,0x7e),_0x5e5327['setUint16'](0x1,_0x2c840a);}else{_0x5ca4f9=new Uint8Array(0x9);const _0x5659ea=new DataView(_0x5ca4f9['buffer']);_0x5659ea['setUint8'](0x0,0x7f),_0x5659ea['setBigUint64'](0x1,BigInt(_0x2c840a));}}_0x33ed60['data']&&'string'!=typeof _0x33ed60['data']&&(_0x5ca4f9[0x0]|=0x80),_0x4cf8e0['enqueue'](_0x5ca4f9),_0x4cf8e0['enqueue'](_0x5b1883);});}});}let _0x2c4975;function totalLength(_0x29361d){return _0x29361d['reduce']((_0xc413a,_0x51ef07)=>_0xc413a+_0x51ef07['length'],0x0);}function concatChunks(_0x17db2a,_0x5ad1ac){if(_0x17db2a[0x0]['length']===_0x5ad1ac)return _0x17db2a['shift']();const _0x512b63=new Uint8Array(_0x5ad1ac);let _0x1c3a6e=0x0;for(let _0x825121=0x0;_0x825121<_0x5ad1ac;_0x825121++)_0x512b63[_0x825121]=_0x17db2a[0x0][_0x1c3a6e++],_0x1c3a6e===_0x17db2a[0x0]['length']&&(_0x17db2a['shift'](),_0x1c3a6e=0x0);return _0x17db2a['length']&&_0x1c3a6e<_0x17db2a[0x0]['length']&&(_0x17db2a[0x0]=_0x17db2a[0x0]['slice'](_0x1c3a6e)),_0x512b63;}function createPacketDecoderStream(_0x5bd23e,_0x1a50f8){_0x2c4975||(_0x2c4975=new TextDecoder());const _0x9bf1dd=[];let _0x670b4e=0x0,_0xc74750=-0x1,_0xcf447d=!0x1;return new TransformStream({'transform'(_0x299ed1,_0x2eda1c){for(_0x9bf1dd['push'](_0x299ed1);;){if(0x0===_0x670b4e){if(totalLength(_0x9bf1dd)<0x1)break;const _0xda579e=concatChunks(_0x9bf1dd,0x1);_0xcf447d=!(0x80&~_0xda579e[0x0]),_0xc74750=0x7f&_0xda579e[0x0],_0x670b4e=_0xc74750<0x7e?0x3:0x7e===_0xc74750?0x1:0x2;}else{if(0x1===_0x670b4e){if(totalLength(_0x9bf1dd)<0x2)break;const _0x33e77e=concatChunks(_0x9bf1dd,0x2);_0xc74750=new DataView(_0x33e77e['buffer'],_0x33e77e['byteOffset'],_0x33e77e['length'])['getUint16'](0x0),_0x670b4e=0x3;}else{if(0x2===_0x670b4e){if(totalLength(_0x9bf1dd)<0x8)break;const _0x4dfffb=concatChunks(_0x9bf1dd,0x8),_0x57af39=new DataView(_0x4dfffb['buffer'],_0x4dfffb['byteOffset'],_0x4dfffb['length']),_0x516f5a=_0x57af39['getUint32'](0x0);if(_0x516f5a>Math['pow'](0x2,0x15)-0x1){_0x2eda1c['enqueue'](_0x1bcbf1);break;}_0xc74750=_0x516f5a*Math['pow'](0x2,0x20)+_0x57af39['getUint32'](0x4),_0x670b4e=0x3;}else{if(totalLength(_0x9bf1dd)<_0xc74750)break;const _0x2f4f73=concatChunks(_0x9bf1dd,_0xc74750);_0x2eda1c['enqueue'](decodePacket(_0xcf447d?_0x2f4f73:_0x2c4975['decode'](_0x2f4f73),_0x1a50f8)),_0x670b4e=0x0;}}}if(0x0===_0xc74750||_0xc74750>_0x5bd23e){_0x2eda1c['enqueue'](_0x1bcbf1);break;}}}});}const protocol=0x4;function Emitter(_0x310923){if(_0x310923)return _0x41c866(_0x310923);}function _0x41c866(_0x7903fa){for(var _0x3accf8 in Emitter['prototype'])_0x7903fa[_0x3accf8]=Emitter['prototype'][_0x3accf8];return _0x7903fa;}Emitter['prototype']['on']=Emitter['prototype']['addEventListener']=function(_0x125a18,_0x46ea8a){return this['_callbacks']=this['_callbacks']||{},(this['_callbacks']['$'+_0x125a18]=this['_callbacks']['$'+_0x125a18]||[])['push'](_0x46ea8a),this;},Emitter['prototype']['once']=function(_0xf66c,_0x3cee7f){function _0x49564f(){this['off'](_0xf66c,_0x49564f),_0x3cee7f['apply'](this,arguments);}return _0x49564f['fn']=_0x3cee7f,this['on'](_0xf66c,_0x49564f),this;},Emitter['prototype']['off']=Emitter['prototype']['removeListener']=Emitter['prototype']['removeAllListeners']=Emitter['prototype']['removeEventListener']=function(_0x1c539b,_0x37936a){if(this['_callbacks']=this['_callbacks']||{},0x0==arguments['length'])return this['_callbacks']={},this;var _0x257d06,_0x42daa4=this['_callbacks']['$'+_0x1c539b];if(!_0x42daa4)return this;if(0x1==arguments['length'])return delete this['_callbacks']['$'+_0x1c539b],this;for(var _0x512598=0x0;_0x512598<_0x42daa4['length'];_0x512598++)if((_0x257d06=_0x42daa4[_0x512598])===_0x37936a||_0x257d06['fn']===_0x37936a){_0x42daa4['splice'](_0x512598,0x1);break;}return 0x0===_0x42daa4['length']&&delete this['_callbacks']['$'+_0x1c539b],this;},Emitter['prototype']['emit']=function(_0x5579e6){this['_callbacks']=this['_callbacks']||{};for(var _0x103d05=new Array(arguments['length']-0x1),_0x534c23=this['_callbacks']['$'+_0x5579e6],_0x227a3b=0x1;_0x227a3b<arguments['length'];_0x227a3b++)_0x103d05[_0x227a3b-0x1]=arguments[_0x227a3b];if(_0x534c23){_0x227a3b=0x0;for(var _0x4741c2=(_0x534c23=_0x534c23['slice'](0x0))['length'];_0x227a3b<_0x4741c2;++_0x227a3b)_0x534c23[_0x227a3b]['apply'](this,_0x103d05);}return this;},Emitter['prototype']['emitReserved']=Emitter['prototype']['emit'],Emitter['prototype']['listeners']=function(_0xe3afd1){return this['_callbacks']=this['_callbacks']||{},this['_callbacks']['$'+_0xe3afd1]||[];},Emitter['prototype']['hasListeners']=function(_0x2f8cb4){return!!this['listeners'](_0x2f8cb4)['length'];};const _0x34e380='undefined'!=typeof self?self:'undefined'!=typeof window?window:Function('return\x20this')();function _0x96a3f5(_0xab0b40,..._0x6be67d){return _0x6be67d['reduce']((_0x1f2923,_0x57ff1f)=>(_0xab0b40['hasOwnProperty'](_0x57ff1f)&&(_0x1f2923[_0x57ff1f]=_0xab0b40[_0x57ff1f]),_0x1f2923),{});}const _0x38e19a=_0x34e380['setTimeout'],_0x4ec101=_0x34e380['clearTimeout'];function installTimerFunctions(_0x3b153e,_0x115424){_0x115424['useNativeTimers']?(_0x3b153e['setTimeoutFn']=_0x38e19a['bind'](_0x34e380),_0x3b153e['clearTimeoutFn']=_0x4ec101['bind'](_0x34e380)):(_0x3b153e['setTimeoutFn']=_0x34e380['setTimeout']['bind'](_0x34e380),_0x3b153e['clearTimeoutFn']=_0x34e380['clearTimeout']['bind'](_0x34e380));}const _0x503ee6=1.33;function byteLength(_0x3d94cf){return'string'==typeof _0x3d94cf?utf8Length(_0x3d94cf):Math['ceil']((_0x3d94cf['byteLength']||_0x3d94cf['size'])*_0x503ee6);}function utf8Length(_0x5413b1){let _0xc407c9=0x0,_0x53cc6c=0x0;for(let _0x5dc0b4=0x0,_0x4239bf=_0x5413b1['length'];_0x5dc0b4<_0x4239bf;_0x5dc0b4++)_0xc407c9=_0x5413b1['charCodeAt'](_0x5dc0b4),_0xc407c9<0x80?_0x53cc6c+=0x1:_0xc407c9<0x800?_0x53cc6c+=0x2:_0xc407c9<0xd800||_0xc407c9>=0xe000?_0x53cc6c+=0x3:(_0x5dc0b4++,_0x53cc6c+=0x4);return _0x53cc6c;}function _0x567f32(_0x271d48){let _0x3915e7='';for(let _0x2ac27a in _0x271d48)_0x271d48['hasOwnProperty'](_0x2ac27a)&&(_0x3915e7['length']&&(_0x3915e7+='&'),_0x3915e7+=encodeURIComponent(_0x2ac27a)+'='+encodeURIComponent(_0x271d48[_0x2ac27a]));return _0x3915e7;}function _0x3cc18a(_0xe3e444){let _0x4c7513={},_0xf836d2=_0xe3e444['split']('&');for(let _0x1d1619=0x0,_0x312c5f=_0xf836d2['length'];_0x1d1619<_0x312c5f;_0x1d1619++){let _0x15ae1a=_0xf836d2[_0x1d1619]['split']('=');_0x4c7513[decodeURIComponent(_0x15ae1a[0x0])]=decodeURIComponent(_0x15ae1a[0x1]);}return _0x4c7513;}class TransportError extends Error{constructor(_0x5f465c,_0x3ab525,_0xa411da){super(_0x5f465c),this['description']=_0x3ab525,this['context']=_0xa411da,this['type']='TransportError';}}class Transport extends Emitter{constructor(_0x34a958){super(),this['writable']=!0x1,installTimerFunctions(this,_0x34a958),this['opts']=_0x34a958,this['query']=_0x34a958['query'],this['socket']=_0x34a958['socket'];}['onError'](_0x5a6809,_0x513923,_0x58ef91){return super['emitReserved']('error',new TransportError(_0x5a6809,_0x513923,_0x58ef91)),this;}['open'](){return this['readyState']='opening',this['doOpen'](),this;}['close'](){return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['doClose'](),this['onClose']()),this;}['send'](_0x3eb201){'open'===this['readyState']&&this['write'](_0x3eb201);}['onOpen'](){this['readyState']='open',this['writable']=!0x0,super['emitReserved']('open');}['onData'](_0x412a96){const _0x3f36b7=decodePacket(_0x412a96,this['socket']['binaryType']);this['onPacket'](_0x3f36b7);}['onPacket'](_0x264df9){super['emitReserved']('packet',_0x264df9);}['onClose'](_0x50dab){this['readyState']='closed',super['emitReserved']('close',_0x50dab);}['pause'](_0x456642){}['createUri'](_0x16c733,_0x588baa={}){return _0x16c733+'://'+this['_hostname']()+this['_port']()+this['opts']['path']+this['_query'](_0x588baa);}['_hostname'](){const _0x45da8a=this['opts']['hostname'];return-0x1===_0x45da8a['indexOf'](':')?_0x45da8a:'['+_0x45da8a+']';}['_port'](){return this['opts']['port']&&(this['opts']['secure']&&Number(0x1bb!==this['opts']['port'])||!this['opts']['secure']&&0x50!==Number(this['opts']['port']))?':'+this['opts']['port']:'';}['_query'](_0x84335c){const _0x303d6d=_0x567f32(_0x84335c);return _0x303d6d['length']?'?'+_0x303d6d:'';}}const alphabet='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_'['split'](''),length=0x40,_0x5b247b={};let _0x41ab5c=0x0,_0x2fbd65=0x0,_0x25ed74;function _0x4a59b7(_0xaac553){let _0x22e8f2='';do{_0x22e8f2=alphabet[_0xaac553%length]+_0x22e8f2,_0xaac553=Math['floor'](_0xaac553/length);}while(_0xaac553>0x0);return _0x22e8f2;}function yeast(){const _0x32516e=_0x4a59b7(+new Date());return _0x32516e!==_0x25ed74?(_0x41ab5c=0x0,_0x25ed74=_0x32516e):_0x32516e+'.'+_0x4a59b7(_0x41ab5c++);}for(;_0x2fbd65<length;_0x2fbd65++)_0x5b247b[alphabet[_0x2fbd65]]=_0x2fbd65;let _0x12f404=!0x1;try{_0x12f404='undefined'!=typeof XMLHttpRequest&&'withCredentials'in new XMLHttpRequest();}catch(_0x2d395c){}const _0x3468fc=_0x12f404;function _0x1633f3(_0x1dbdc6){const _0x3fbb46=_0x1dbdc6['xdomain'];try{if('undefined'!=typeof XMLHttpRequest&&(!_0x3fbb46||_0x3468fc))return new XMLHttpRequest();}catch(_0x55e6be){}if(!_0x3fbb46)try{return new _0x34e380[(['Active']['concat']('Object')['join']('X'))]('Microsoft.XMLHTTP');}catch(_0xcf5326){}}function createCookieJar(){}function empty(){}const _0x703fd9=null!=new _0x1633f3({'xdomain':!0x1})['responseType'];class _0xb736fa extends Transport{constructor(_0x1c4b43){if(super(_0x1c4b43),this['polling']=!0x1,'undefined'!=typeof location){const _0x325d2e='https:'===location['protocol'];let _0x52a440=location['port'];_0x52a440||(_0x52a440=_0x325d2e?'443':'80'),this['xd']='undefined'!=typeof location&&_0x1c4b43['hostname']!==location['hostname']||_0x52a440!==_0x1c4b43['port'];}const _0x72889=_0x1c4b43&&_0x1c4b43['forceBase64'];this['supportsBinary']=_0x703fd9&&!_0x72889,this['opts']['withCredentials']&&(this['cookieJar']=createCookieJar());}get['name'](){return'polling';}['doOpen'](){this['poll']();}['pause'](_0x3f9154){this['readyState']='pausing';const _0x9b2962=()=>{this['readyState']='paused',_0x3f9154();};if(this['polling']||!this['writable']){let _0x3b6b93=0x0;this['polling']&&(_0x3b6b93++,this['once']('pollComplete',function(){--_0x3b6b93||_0x9b2962();})),this['writable']||(_0x3b6b93++,this['once']('drain',function(){--_0x3b6b93||_0x9b2962();}));}else _0x9b2962();}['poll'](){this['polling']=!0x0,this['doPoll'](),this['emitReserved']('poll');}['onData'](_0x89961c){_0x44f0a6(_0x89961c,this['socket']['binaryType'])['forEach'](_0x79416a=>{if('opening'===this['readyState']&&'open'===_0x79416a['type']&&this['onOpen'](),'close'===_0x79416a['type'])return this['onClose']({'description':'transport\x20closed\x20by\x20the\x20server'}),!0x1;this['onPacket'](_0x79416a);}),'closed'!==this['readyState']&&(this['polling']=!0x1,this['emitReserved']('pollComplete'),'open'===this['readyState']&&this['poll']());}['doClose'](){const _0x46ef62=()=>{this['write']([{'type':'close'}]);};'open'===this['readyState']?_0x46ef62():this['once']('open',_0x46ef62);}['write'](_0xa48bec){this['writable']=!0x1,_0x57dbcb(_0xa48bec,_0x5cff21=>{this['doWrite'](_0x5cff21,()=>{this['writable']=!0x0,this['emitReserved']('drain');});});}['uri'](){const _0x534bfe=this['opts']['secure']?'https':'http',_0xb36be8=this['query']||{};return!0x1!==this['opts']['timestampRequests']&&(_0xb36be8[this['opts']['timestampParam']]=yeast()),this['supportsBinary']||_0xb36be8['sid']||(_0xb36be8['b64']=0x1),this['createUri'](_0x534bfe,_0xb36be8);}['request'](_0x5a5ed4={}){return Object['assign'](_0x5a5ed4,{'xd':this['xd'],'cookieJar':this['cookieJar']},this['opts']),new Request(this['uri'](),_0x5a5ed4);}['doWrite'](_0x5cdb02,_0x2a2331){const _0x4fc43a=this['request']({'method':'POST','data':_0x5cdb02});_0x4fc43a['on']('success',_0x2a2331),_0x4fc43a['on']('error',(_0x274309,_0x58f8d2)=>{this['onError']('xhr\x20post\x20error',_0x274309,_0x58f8d2);});}['doPoll'](){const _0x1d38c2=this['request']();_0x1d38c2['on']('data',this['onData']['bind'](this)),_0x1d38c2['on']('error',(_0x2d508a,_0x2bd9e0)=>{this['onError']('xhr\x20poll\x20error',_0x2d508a,_0x2bd9e0);}),this['pollXhr']=_0x1d38c2;}}class Request extends Emitter{constructor(_0x2fa169,_0x3f29ab){super(),installTimerFunctions(this,_0x3f29ab),this['opts']=_0x3f29ab,this['method']=_0x3f29ab['method']||'GET',this['uri']=_0x2fa169,this['data']=void 0x0!==_0x3f29ab['data']?_0x3f29ab['data']:null,this['create']();}['create'](){var _0x46bb03;const _0x352957=_0x96a3f5(this['opts'],'agent','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','autoUnref');_0x352957['xdomain']=!!this['opts']['xd'];const _0x1e3931=this['xhr']=new _0x1633f3(_0x352957);try{_0x1e3931['open'](this['method'],this['uri'],!0x0);try{if(this['opts']['extraHeaders']){_0x1e3931['setDisableHeaderCheck']&&_0x1e3931['setDisableHeaderCheck'](!0x0);for(let _0x516379 in this['opts']['extraHeaders'])this['opts']['extraHeaders']['hasOwnProperty'](_0x516379)&&_0x1e3931['setRequestHeader'](_0x516379,this['opts']['extraHeaders'][_0x516379]);}}catch(_0x4ed0a9){}if('POST'===this['method'])try{_0x1e3931['setRequestHeader']('Content-type','text/plain;charset=UTF-8');}catch(_0x2be153){}try{_0x1e3931['setRequestHeader']('Accept','*/*');}catch(_0x3e25f2){}null===(_0x46bb03=this['opts']['cookieJar'])||void 0x0===_0x46bb03||_0x46bb03['addCookies'](_0x1e3931),'withCredentials'in _0x1e3931&&(_0x1e3931['withCredentials']=this['opts']['withCredentials']),this['opts']['requestTimeout']&&(_0x1e3931['timeout']=this['opts']['requestTimeout']),_0x1e3931['onreadystatechange']=()=>{var _0x3b94e1;0x3===_0x1e3931['readyState']&&(null===(_0x3b94e1=this['opts']['cookieJar'])||void 0x0===_0x3b94e1||_0x3b94e1['parseCookies'](_0x1e3931)),0x4===_0x1e3931['readyState']&&(0xc8===_0x1e3931['status']||0x4c7===_0x1e3931['status']?this['onLoad']():this['setTimeoutFn'](()=>{this['onError']('number'==typeof _0x1e3931['status']?_0x1e3931['status']:0x0);},0x0));},_0x1e3931['send'](this['data']);}catch(_0x30e81b){return void this['setTimeoutFn'](()=>{this['onError'](_0x30e81b);},0x0);}'undefined'!=typeof document&&(this['index']=Request['requestsCount']++,Request['requests'][this['index']]=this);}['onError'](_0x7efbff){this['emitReserved']('error',_0x7efbff,this['xhr']),this['cleanup'](!0x0);}['cleanup'](_0x363726){if(void 0x0!==this['xhr']&&null!==this['xhr']){if(this['xhr']['onreadystatechange']=empty,_0x363726)try{this['xhr']['abort']();}catch(_0x4b5d1a){}'undefined'!=typeof document&&delete Request['requests'][this['index']],this['xhr']=null;}}['onLoad'](){const _0x33bddd=this['xhr']['responseText'];null!==_0x33bddd&&(this['emitReserved']('data',_0x33bddd),this['emitReserved']('success'),this['cleanup']());}['abort'](){this['cleanup']();}}if(Request['requestsCount']=0x0,Request['requests']={},'undefined'!=typeof document){if('function'==typeof attachEvent)attachEvent('onunload',_0x4a68f1);else{if('function'==typeof addEventListener){const _0x5a8af3='onpagehide'in _0x34e380?'pagehide':'unload';addEventListener(_0x5a8af3,_0x4a68f1,!0x1);}}}function _0x4a68f1(){for(let _0x17a800 in Request['requests'])Request['requests']['hasOwnProperty'](_0x17a800)&&Request['requests'][_0x17a800]['abort']();}const nextTick='function'==typeof Promise&&'function'==typeof Promise['resolve']?_0x17091b=>Promise['resolve']()['then'](_0x17091b):(_0x3ef2f2,_0x190e52)=>_0x190e52(_0x3ef2f2,0x0),WebSocket$2=_0x34e380['WebSocket']||_0x34e380['MozWebSocket'],usingBrowserWebSocket=!0x0,defaultBinaryType='arraybuffer',isReactNative='undefined'!=typeof navigator&&'string'==typeof navigator['product']&&'reactnative'===navigator['product']['toLowerCase']();class _0x5e527c extends Transport{constructor(_0x67338a){super(_0x67338a),this['supportsBinary']=!_0x67338a['forceBase64'];}get['name'](){return'websocket';}['doOpen'](){if(!this['check']())return;const _0x796417=this['uri'](),_0x191568=this['opts']['protocols'],_0xc36848=isReactNative?{}:_0x96a3f5(this['opts'],'agent','perMessageDeflate','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','localAddress','protocolVersion','origin','maxPayload','family','checkServerIdentity');this['opts']['extraHeaders']&&(_0xc36848['headers']=this['opts']['extraHeaders']);try{this['ws']=usingBrowserWebSocket&&!isReactNative?_0x191568?new WebSocket$2(_0x796417,_0x191568):new WebSocket$2(_0x796417):new WebSocket$2(_0x796417,_0x191568,_0xc36848);}catch(_0x10c52e){return this['emitReserved']('error',_0x10c52e);}this['ws']['binaryType']=this['socket']['binaryType'],this['addEventListeners']();}['addEventListeners'](){this['ws']['onopen']=()=>{this['opts']['autoUnref']&&this['ws']['_socket']['unref'](),this['onOpen']();},this['ws']['onclose']=_0x5c1ec2=>this['onClose']({'description':'websocket\x20connection\x20closed','context':_0x5c1ec2}),this['ws']['onmessage']=_0x1e1618=>this['onData'](_0x1e1618['data']),this['ws']['onerror']=_0x482a63=>this['onError']('websocket\x20error',_0x482a63);}['write'](_0x42a706){this['writable']=!0x1;for(let _0x30265a=0x0;_0x30265a<_0x42a706['length'];_0x30265a++){const _0x26c9be=_0x42a706[_0x30265a],_0x5a4651=_0x30265a===_0x42a706['length']-0x1;encodePacket(_0x26c9be,this['supportsBinary'],_0x59d81b=>{try{usingBrowserWebSocket&&this['ws']['send'](_0x59d81b);}catch(_0x56a751){}_0x5a4651&&nextTick(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){void 0x0!==this['ws']&&(this['ws']['close'](),this['ws']=null);}['uri'](){const _0x217ebf=this['opts']['secure']?'wss':'ws',_0x1c1d06=this['query']||{};return this['opts']['timestampRequests']&&(_0x1c1d06[this['opts']['timestampParam']]=yeast()),this['supportsBinary']||(_0x1c1d06['b64']=0x1),this['createUri'](_0x217ebf,_0x1c1d06);}['check'](){return!!WebSocket$2;}}class _0x33f50a extends Transport{get['name'](){return'webtransport';}['doOpen'](){'function'==typeof WebTransport&&(this['transport']=new WebTransport(this['createUri']('https'),this['opts']['transportOptions'][this['name']]),this['transport']['closed']['then'](()=>{this['onClose']();})['catch'](_0x4ac25f=>{this['onError']('webtransport\x20error',_0x4ac25f);}),this['transport']['ready']['then'](()=>{this['transport']['createBidirectionalStream']()['then'](_0x22567c=>{const _0x1b1e53=createPacketDecoderStream(Number['MAX_SAFE_INTEGER'],this['socket']['binaryType']),_0x1c6cb9=_0x22567c['readable']['pipeThrough'](_0x1b1e53)['getReader'](),_0x1ad13f=createPacketEncoderStream();_0x1ad13f['readable']['pipeTo'](_0x22567c['writable']),this['writer']=_0x1ad13f['writable']['getWriter']();const _0xc815c8=()=>{_0x1c6cb9['read']()['then'](({done:_0x312b0e,value:_0x19d21e})=>{_0x312b0e||(this['onPacket'](_0x19d21e),_0xc815c8());})['catch'](_0xf79f08=>{});};_0xc815c8();const _0x17df8a={'type':'open'};this['query']['sid']&&(_0x17df8a['data']='{\x22sid\x22:\x22'+this['query']['sid']+'\x22}'),this['writer']['write'](_0x17df8a)['then'](()=>this['onOpen']());});}));}['write'](_0x3be06f){this['writable']=!0x1;for(let _0x4f063c=0x0;_0x4f063c<_0x3be06f['length'];_0x4f063c++){const _0x5045b6=_0x3be06f[_0x4f063c],_0x5048ad=_0x4f063c===_0x3be06f['length']-0x1;this['writer']['write'](_0x5045b6)['then'](()=>{_0x5048ad&&nextTick(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){var _0x57a65f;null===(_0x57a65f=this['transport'])||void 0x0===_0x57a65f||_0x57a65f['close']();}}const transports={'websocket':_0x5e527c,'webtransport':_0x33f50a,'polling':_0xb736fa},_0x5aa55d=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,parts=['source','protocol','authority','userInfo','user','password','host','port','relative','path','directory','file','query','anchor'];function _0x1fd4e2(_0x2a1781){if(_0x2a1781['length']>0x7d0)throw'URI\x20too\x20long';const _0x4dbbf8=_0x2a1781,_0x4980c9=_0x2a1781['indexOf']('['),_0x3db14a=_0x2a1781['indexOf'](']');-0x1!=_0x4980c9&&-0x1!=_0x3db14a&&(_0x2a1781=_0x2a1781['substring'](0x0,_0x4980c9)+_0x2a1781['substring'](_0x4980c9,_0x3db14a)['replace'](/:/g,';')+_0x2a1781['substring'](_0x3db14a,_0x2a1781['length']));let _0x4f0777=_0x5aa55d['exec'](_0x2a1781||''),_0x10226d={},_0x312ad7=0xe;for(;_0x312ad7--;)_0x10226d[parts[_0x312ad7]]=_0x4f0777[_0x312ad7]||'';return-0x1!=_0x4980c9&&-0x1!=_0x3db14a&&(_0x10226d['source']=_0x4dbbf8,_0x10226d['host']=_0x10226d['host']['substring'](0x1,_0x10226d['host']['length']-0x1)['replace'](/;/g,':'),_0x10226d['authority']=_0x10226d['authority']['replace']('[','')['replace'](']','')['replace'](/;/g,':'),_0x10226d['ipv6uri']=!0x0),_0x10226d['pathNames']=pathNames(_0x10226d,_0x10226d['path']),_0x10226d['queryKey']=_0x4d01ec(_0x10226d,_0x10226d['query']),_0x10226d;}function pathNames(_0x1dc870,_0x492f39){const _0x15b4c5=_0x492f39['replace'](/\/{2,9}/g,'/')['split']('/');return'/'!=_0x492f39['slice'](0x0,0x1)&&0x0!==_0x492f39['length']||_0x15b4c5['splice'](0x0,0x1),'/'==_0x492f39['slice'](-0x1)&&_0x15b4c5['splice'](_0x15b4c5['length']-0x1,0x1),_0x15b4c5;}function _0x4d01ec(_0x394a01,_0xf22f3c){const _0x4060f1={};return _0xf22f3c['replace'](/(?:^|&)([^&=]*)=?([^&]*)/g,function(_0x22811b,_0x35fb41,_0x47bf79){_0x35fb41&&(_0x4060f1[_0x35fb41]=_0x47bf79);}),_0x4060f1;}let Socket$1=class _0x3c76ea extends Emitter{constructor(_0x7865f9,_0x54be02={}){super(),this['binaryType']=defaultBinaryType,this['writeBuffer']=[],_0x7865f9&&'object'==typeof _0x7865f9&&(_0x54be02=_0x7865f9,_0x7865f9=null),_0x7865f9?(_0x7865f9=_0x1fd4e2(_0x7865f9),_0x54be02['hostname']=_0x7865f9['host'],_0x54be02['secure']='https'===_0x7865f9['protocol']||'wss'===_0x7865f9['protocol'],_0x54be02['port']=_0x7865f9['port'],_0x7865f9['query']&&(_0x54be02['query']=_0x7865f9['query'])):_0x54be02['host']&&(_0x54be02['hostname']=_0x1fd4e2(_0x54be02['host'])['host']),installTimerFunctions(this,_0x54be02),this['secure']=null!=_0x54be02['secure']?_0x54be02['secure']:'undefined'!=typeof location&&'https:'===location['protocol'],_0x54be02['hostname']&&!_0x54be02['port']&&(_0x54be02['port']=this['secure']?'443':'80'),this['hostname']=_0x54be02['hostname']||('undefined'!=typeof location?location['hostname']:'localhost'),this['port']=_0x54be02['port']||('undefined'!=typeof location&&location['port']?location['port']:this['secure']?'443':'80'),this['transports']=_0x54be02['transports']||['polling','websocket','webtransport'],this['writeBuffer']=[],this['prevBufferLen']=0x0,this['opts']=Object['assign']({'path':'/engine.io','agent':!0x1,'withCredentials':!0x1,'upgrade':!0x0,'timestampParam':'t','rememberUpgrade':!0x1,'addTrailingSlash':!0x0,'rejectUnauthorized':!0x0,'perMessageDeflate':{'threshold':0x400},'transportOptions':{},'closeOnBeforeunload':!0x1},_0x54be02),this['opts']['path']=this['opts']['path']['replace'](/\/$/,'')+(this['opts']['addTrailingSlash']?'/':''),'string'==typeof this['opts']['query']&&(this['opts']['query']=_0x3cc18a(this['opts']['query'])),this['id']=null,this['upgrades']=null,this['pingInterval']=null,this['pingTimeout']=null,this['pingTimeoutTimer']=null,'function'==typeof addEventListener&&(this['opts']['closeOnBeforeunload']&&(this['beforeunloadEventListener']=()=>{this['transport']&&(this['transport']['removeAllListeners'](),this['transport']['close']());},addEventListener('beforeunload',this['beforeunloadEventListener'],!0x1)),'localhost'!==this['hostname']&&(this['offlineEventListener']=()=>{this['onClose']('transport\x20close',{'description':'network\x20connection\x20lost'});},addEventListener('offline',this['offlineEventListener'],!0x1))),this['open']();}['createTransport'](_0x50302d){const _0x2bd409=Object['assign']({},this['opts']['query']);_0x2bd409['EIO']=protocol,_0x2bd409['transport']=_0x50302d,this['id']&&(_0x2bd409['sid']=this['id']);const _0x4c787a=Object['assign']({},this['opts'],{'query':_0x2bd409,'socket':this,'hostname':this['hostname'],'secure':this['secure'],'port':this['port']},this['opts']['transportOptions'][_0x50302d]);return new transports[_0x50302d](_0x4c787a);}['open'](){let _0x3d97c5;if(this['opts']['rememberUpgrade']&&_0x3c76ea['priorWebsocketSuccess']&&-0x1!==this['transports']['indexOf']('websocket'))_0x3d97c5='websocket';else{if(0x0===this['transports']['length'])return void this['setTimeoutFn'](()=>{this['emitReserved']('error','No\x20transports\x20available');},0x0);_0x3d97c5=this['transports'][0x0];}this['readyState']='opening';try{_0x3d97c5=this['createTransport'](_0x3d97c5);}catch(_0x58c41f){return this['transports']['shift'](),void this['open']();}_0x3d97c5['open'](),this['setTransport'](_0x3d97c5);}['setTransport'](_0x131825){this['transport']&&this['transport']['removeAllListeners'](),this['transport']=_0x131825,_0x131825['on']('drain',this['onDrain']['bind'](this))['on']('packet',this['onPacket']['bind'](this))['on']('error',this['onError']['bind'](this))['on']('close',_0x2f016e=>this['onClose']('transport\x20close',_0x2f016e));}['probe'](_0x4df304){let _0x40968f=this['createTransport'](_0x4df304),_0x124199=!0x1;_0x3c76ea['priorWebsocketSuccess']=!0x1;const _0x28225e=()=>{_0x124199||(_0x40968f['send']([{'type':'ping','data':'probe'}]),_0x40968f['once']('packet',_0x392c5b=>{if(!_0x124199){if('pong'===_0x392c5b['type']&&'probe'===_0x392c5b['data']){if(this['upgrading']=!0x0,this['emitReserved']('upgrading',_0x40968f),!_0x40968f)return;_0x3c76ea['priorWebsocketSuccess']='websocket'===_0x40968f['name'],this['transport']['pause'](()=>{_0x124199||'closed'!==this['readyState']&&(_0x4ecc15(),this['setTransport'](_0x40968f),_0x40968f['send']([{'type':'upgrade'}]),this['emitReserved']('upgrade',_0x40968f),_0x40968f=null,this['upgrading']=!0x1,this['flush']());});}else{const _0x189b4b=new Error('probe\x20error');_0x189b4b['transport']=_0x40968f['name'],this['emitReserved']('upgradeError',_0x189b4b);}}}));};function _0x4d3622(){_0x124199||(_0x124199=!0x0,_0x4ecc15(),_0x40968f['close'](),_0x40968f=null);}const _0xc285b9=_0x2b264c=>{const _0x20a1d8=new Error('probe\x20error:\x20'+_0x2b264c);_0x20a1d8['transport']=_0x40968f['name'],_0x4d3622(),this['emitReserved']('upgradeError',_0x20a1d8);};function _0x673052(){_0xc285b9('transport\x20closed');}function _0x16f475(){_0xc285b9('socket\x20closed');}function _0x34f216(_0x18d3be){_0x40968f&&_0x18d3be['name']!==_0x40968f['name']&&_0x4d3622();}const _0x4ecc15=()=>{_0x40968f['removeListener']('open',_0x28225e),_0x40968f['removeListener']('error',_0xc285b9),_0x40968f['removeListener']('close',_0x673052),this['off']('close',_0x16f475),this['off']('upgrading',_0x34f216);};_0x40968f['once']('open',_0x28225e),_0x40968f['once']('error',_0xc285b9),_0x40968f['once']('close',_0x673052),this['once']('close',_0x16f475),this['once']('upgrading',_0x34f216),-0x1!==this['upgrades']['indexOf']('webtransport')&&'webtransport'!==_0x4df304?this['setTimeoutFn'](()=>{_0x124199||_0x40968f['open']();},0xc8):_0x40968f['open']();}['onOpen'](){if(this['readyState']='open',_0x3c76ea['priorWebsocketSuccess']='websocket'===this['transport']['name'],this['emitReserved']('open'),this['flush'](),'open'===this['readyState']&&this['opts']['upgrade']){let _0x46cce5=0x0;const _0x2204a2=this['upgrades']['length'];for(;_0x46cce5<_0x2204a2;_0x46cce5++)this['probe'](this['upgrades'][_0x46cce5]);}}['onPacket'](_0x5cd26f){if('opening'===this['readyState']||'open'===this['readyState']||'closing'===this['readyState'])switch(this['emitReserved']('packet',_0x5cd26f),this['emitReserved']('heartbeat'),this['resetPingTimeout'](),_0x5cd26f['type']){case'open':this['onHandshake'](JSON['parse'](_0x5cd26f['data']));break;case'ping':this['sendPacket']('pong'),this['emitReserved']('ping'),this['emitReserved']('pong');break;case'error':const _0x43b40e=new Error('server\x20error');_0x43b40e['code']=_0x5cd26f['data'],this['onError'](_0x43b40e);break;case'message':this['emitReserved']('data',_0x5cd26f['data']),this['emitReserved']('message',_0x5cd26f['data']);}}['onHandshake'](_0x3e63b3){this['emitReserved']('handshake',_0x3e63b3),this['id']=_0x3e63b3['sid'],this['transport']['query']['sid']=_0x3e63b3['sid'],this['upgrades']=this['filterUpgrades'](_0x3e63b3['upgrades']),this['pingInterval']=_0x3e63b3['pingInterval'],this['pingTimeout']=_0x3e63b3['pingTimeout'],this['maxPayload']=_0x3e63b3['maxPayload'],this['onOpen'](),'closed'!==this['readyState']&&this['resetPingTimeout']();}['resetPingTimeout'](){this['clearTimeoutFn'](this['pingTimeoutTimer']),this['pingTimeoutTimer']=this['setTimeoutFn'](()=>{this['onClose']('ping\x20timeout');},this['pingInterval']+this['pingTimeout']),this['opts']['autoUnref']&&this['pingTimeoutTimer']['unref']();}['onDrain'](){this['writeBuffer']['splice'](0x0,this['prevBufferLen']),this['prevBufferLen']=0x0,0x0===this['writeBuffer']['length']?this['emitReserved']('drain'):this['flush']();}['flush'](){if('closed'!==this['readyState']&&this['transport']['writable']&&!this['upgrading']&&this['writeBuffer']['length']){const _0x32c99f=this['getWritablePackets']();this['transport']['send'](_0x32c99f),this['prevBufferLen']=_0x32c99f['length'],this['emitReserved']('flush');}}['getWritablePackets'](){if(!(this['maxPayload']&&'polling'===this['transport']['name']&&this['writeBuffer']['length']>0x1))return this['writeBuffer'];let _0x20ec3d=0x1;for(let _0x5403ba=0x0;_0x5403ba<this['writeBuffer']['length'];_0x5403ba++){const _0x5258a4=this['writeBuffer'][_0x5403ba]['data'];if(_0x5258a4&&(_0x20ec3d+=byteLength(_0x5258a4)),_0x5403ba>0x0&&_0x20ec3d>this['maxPayload'])return this['writeBuffer']['slice'](0x0,_0x5403ba);_0x20ec3d+=0x2;}return this['writeBuffer'];}['write'](_0xeedac8,_0x4913f6,_0x471862){return this['sendPacket']('message',_0xeedac8,_0x4913f6,_0x471862),this;}['send'](_0xe5da0c,_0x3c3dde,_0x261d70){return this['sendPacket']('message',_0xe5da0c,_0x3c3dde,_0x261d70),this;}['sendPacket'](_0x36aaf2,_0xd76cf8,_0x41267a,_0x5397db){if('function'==typeof _0xd76cf8&&(_0x5397db=_0xd76cf8,_0xd76cf8=void 0x0),'function'==typeof _0x41267a&&(_0x5397db=_0x41267a,_0x41267a=null),'closing'===this['readyState']||'closed'===this['readyState'])return;(_0x41267a=_0x41267a||{})['compress']=!0x1!==_0x41267a['compress'];const _0x3063f3={'type':_0x36aaf2,'data':_0xd76cf8,'options':_0x41267a};this['emitReserved']('packetCreate',_0x3063f3),this['writeBuffer']['push'](_0x3063f3),_0x5397db&&this['once']('flush',_0x5397db),this['flush']();}['close'](){const _0x3858bd=()=>{this['onClose']('forced\x20close'),this['transport']['close']();},_0x3b78b8=()=>{this['off']('upgrade',_0x3b78b8),this['off']('upgradeError',_0x3b78b8),_0x3858bd();},_0x16d2c4=()=>{this['once']('upgrade',_0x3b78b8),this['once']('upgradeError',_0x3b78b8);};return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['readyState']='closing',this['writeBuffer']['length']?this['once']('drain',()=>{this['upgrading']?_0x16d2c4():_0x3858bd();}):this['upgrading']?_0x16d2c4():_0x3858bd()),this;}['onError'](_0x4d396c){_0x3c76ea['priorWebsocketSuccess']=!0x1,this['emitReserved']('error',_0x4d396c),this['onClose']('transport\x20error',_0x4d396c);}['onClose'](_0x1f9f14,_0x2b9636){'opening'!==this['readyState']&&'open'!==this['readyState']&&'closing'!==this['readyState']||(this['clearTimeoutFn'](this['pingTimeoutTimer']),this['transport']['removeAllListeners']('close'),this['transport']['close'](),this['transport']['removeAllListeners'](),'function'==typeof removeEventListener&&(removeEventListener('beforeunload',this['beforeunloadEventListener'],!0x1),removeEventListener('offline',this['offlineEventListener'],!0x1)),this['readyState']='closed',this['id']=null,this['emitReserved']('close',_0x1f9f14,_0x2b9636),this['writeBuffer']=[],this['prevBufferLen']=0x0);}['filterUpgrades'](_0x33477a){const _0x209371=[];let _0x11b6ed=0x0;const _0x6a457f=_0x33477a['length'];for(;_0x11b6ed<_0x6a457f;_0x11b6ed++)~this['transports']['indexOf'](_0x33477a[_0x11b6ed])&&_0x209371['push'](_0x33477a[_0x11b6ed]);return _0x209371;}};function _0x2a3509(_0x307211,_0x25dc78='',_0x448769){let _0x22d67f=_0x307211;_0x448769=_0x448769||'undefined'!=typeof location&&location,null==_0x307211&&(_0x307211=_0x448769['protocol']+'//'+_0x448769['host']),'string'==typeof _0x307211&&('/'===_0x307211['charAt'](0x0)&&(_0x307211='/'===_0x307211['charAt'](0x1)?_0x448769['protocol']+_0x307211:_0x448769['host']+_0x307211),/^(https?|wss?):\/\//['test'](_0x307211)||(_0x307211=void 0x0!==_0x448769?_0x448769['protocol']+'//'+_0x307211:'https://'+_0x307211),_0x22d67f=_0x1fd4e2(_0x307211)),_0x22d67f['port']||(/^(http|ws)$/['test'](_0x22d67f['protocol'])?_0x22d67f['port']='80':/^(http|ws)s$/['test'](_0x22d67f['protocol'])&&(_0x22d67f['port']='443')),_0x22d67f['path']=_0x22d67f['path']||'/';const _0x5b64e5=-0x1!==_0x22d67f['host']['indexOf'](':')?'['+_0x22d67f['host']+']':_0x22d67f['host'];return _0x22d67f['id']=_0x22d67f['protocol']+'://'+_0x5b64e5+':'+_0x22d67f['port']+_0x25dc78,_0x22d67f['href']=_0x22d67f['protocol']+'://'+_0x5b64e5+(_0x448769&&_0x448769['port']===_0x22d67f['port']?'':':'+_0x22d67f['port']),_0x22d67f;}Socket$1['protocol']=protocol;const withNativeArrayBuffer='function'==typeof ArrayBuffer,_0x149d71=_0xfa25d4=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0xfa25d4):_0xfa25d4['buffer']instanceof ArrayBuffer,toString=Object['prototype']['toString'],withNativeBlob='function'==typeof Blob||'undefined'!=typeof Blob&&'[object\x20BlobConstructor]'===toString['call'](Blob),withNativeFile='function'==typeof File||'undefined'!=typeof File&&'[object\x20FileConstructor]'===toString['call'](File);function _0x2d9d43(_0xb11143){return withNativeArrayBuffer&&(_0xb11143 instanceof ArrayBuffer||_0x149d71(_0xb11143))||withNativeBlob&&_0xb11143 instanceof Blob||withNativeFile&&_0xb11143 instanceof File;}function _0x41e79f(_0x334283,_0x551f54){if(!_0x334283||'object'!=typeof _0x334283)return!0x1;if(Array['isArray'](_0x334283)){for(let _0x33557a=0x0,_0x5db81e=_0x334283['length'];_0x33557a<_0x5db81e;_0x33557a++)if(_0x41e79f(_0x334283[_0x33557a]))return!0x0;return!0x1;}if(_0x2d9d43(_0x334283))return!0x0;if(_0x334283['toJSON']&&'function'==typeof _0x334283['toJSON']&&0x1===arguments['length'])return _0x41e79f(_0x334283['toJSON'](),!0x0);for(const _0x6d7a38 in _0x334283)if(Object['prototype']['hasOwnProperty']['call'](_0x334283,_0x6d7a38)&&_0x41e79f(_0x334283[_0x6d7a38]))return!0x0;return!0x1;}function deconstructPacket(_0x282aa8){const _0x4169d5=[],_0x4f1fc9=_0x282aa8['data'],_0xf62936=_0x282aa8;return _0xf62936['data']=_deconstructPacket(_0x4f1fc9,_0x4169d5),_0xf62936['attachments']=_0x4169d5['length'],{'packet':_0xf62936,'buffers':_0x4169d5};}function _deconstructPacket(_0x2ff21c,_0x245afc){if(!_0x2ff21c)return _0x2ff21c;if(_0x2d9d43(_0x2ff21c)){const _0x2cc582={'_placeholder':!0x0,'num':_0x245afc['length']};return _0x245afc['push'](_0x2ff21c),_0x2cc582;}if(Array['isArray'](_0x2ff21c)){const _0x2bbbee=new Array(_0x2ff21c['length']);for(let _0x6ca8e0=0x0;_0x6ca8e0<_0x2ff21c['length'];_0x6ca8e0++)_0x2bbbee[_0x6ca8e0]=_deconstructPacket(_0x2ff21c[_0x6ca8e0],_0x245afc);return _0x2bbbee;}if('object'==typeof _0x2ff21c&&!(_0x2ff21c instanceof Date)){const _0x311ab2={};for(const _0xda6e76 in _0x2ff21c)Object['prototype']['hasOwnProperty']['call'](_0x2ff21c,_0xda6e76)&&(_0x311ab2[_0xda6e76]=_deconstructPacket(_0x2ff21c[_0xda6e76],_0x245afc));return _0x311ab2;}return _0x2ff21c;}function reconstructPacket(_0x42bc87,_0x3ab491){return _0x42bc87['data']=_reconstructPacket(_0x42bc87['data'],_0x3ab491),delete _0x42bc87['attachments'],_0x42bc87;}function _reconstructPacket(_0x42233e,_0x218bd2){if(!_0x42233e)return _0x42233e;if(_0x42233e&&!0x0===_0x42233e['_placeholder']){if('number'==typeof _0x42233e['num']&&_0x42233e['num']>=0x0&&_0x42233e['num']<_0x218bd2['length'])return _0x218bd2[_0x42233e['num']];throw new Error('illegal\x20attachments');}if(Array['isArray'](_0x42233e)){for(let _0x11bf68=0x0;_0x11bf68<_0x42233e['length'];_0x11bf68++)_0x42233e[_0x11bf68]=_reconstructPacket(_0x42233e[_0x11bf68],_0x218bd2);}else{if('object'==typeof _0x42233e){for(const _0x1337c4 in _0x42233e)Object['prototype']['hasOwnProperty']['call'](_0x42233e,_0x1337c4)&&(_0x42233e[_0x1337c4]=_reconstructPacket(_0x42233e[_0x1337c4],_0x218bd2));}}return _0x42233e;}const _0x3d6128=['connect','connect_error','disconnect','disconnecting','newListener','removeListener'];var PacketType;!function(_0x32e72a){_0x32e72a[_0x32e72a['CONNECT']=0x0]='CONNECT',_0x32e72a[_0x32e72a['DISCONNECT']=0x1]='DISCONNECT',_0x32e72a[_0x32e72a['EVENT']=0x2]='EVENT',_0x32e72a[_0x32e72a['ACK']=0x3]='ACK',_0x32e72a[_0x32e72a['CONNECT_ERROR']=0x4]='CONNECT_ERROR',_0x32e72a[_0x32e72a['BINARY_EVENT']=0x5]='BINARY_EVENT',_0x32e72a[_0x32e72a['BINARY_ACK']=0x6]='BINARY_ACK';}(PacketType||(PacketType={}));let _0x764d85=class{constructor(_0x587675){this['replacer']=_0x587675;}['encode'](_0x243f6e){return _0x243f6e['type']!==PacketType['EVENT']&&_0x243f6e['type']!==PacketType['ACK']||!_0x41e79f(_0x243f6e)?[this['encodeAsString'](_0x243f6e)]:this['encodeAsBinary']({'type':_0x243f6e['type']===PacketType['EVENT']?PacketType['BINARY_EVENT']:PacketType['BINARY_ACK'],'nsp':_0x243f6e['nsp'],'data':_0x243f6e['data'],'id':_0x243f6e['id']});}['encodeAsString'](_0x14df8c){let _0x57e04f=''+_0x14df8c['type'];return _0x14df8c['type']!==PacketType['BINARY_EVENT']&&_0x14df8c['type']!==PacketType['BINARY_ACK']||(_0x57e04f+=_0x14df8c['attachments']+'-'),_0x14df8c['nsp']&&'/'!==_0x14df8c['nsp']&&(_0x57e04f+=_0x14df8c['nsp']+','),null!=_0x14df8c['id']&&(_0x57e04f+=_0x14df8c['id']),null!=_0x14df8c['data']&&(_0x57e04f+=JSON['stringify'](_0x14df8c['data'],this['replacer'])),_0x57e04f;}['encodeAsBinary'](_0x2fe07b){const _0x2f6d97=deconstructPacket(_0x2fe07b),_0x5eb39b=this['encodeAsString'](_0x2f6d97['packet']),_0x2c2be2=_0x2f6d97['buffers'];return _0x2c2be2['unshift'](_0x5eb39b),_0x2c2be2;}},_0x249914=class _0x56db05 extends Emitter{constructor(_0x5ef26f){super(),this['opts']=Object['assign']({'reviver':void 0x0,'maxAttachments':0xa},'function'==typeof _0x5ef26f?{'reviver':_0x5ef26f}:_0x5ef26f);}['add'](_0x52a1a3){let _0x3c6e3a;if('string'==typeof _0x52a1a3){if(this['reconstructor'])throw new Error('got\x20plaintext\x20data\x20when\x20reconstructing\x20a\x20packet');_0x3c6e3a=this['decodeString'](_0x52a1a3);const _0x164f99=_0x3c6e3a['type']===PacketType['BINARY_EVENT'];_0x164f99||_0x3c6e3a['type']===PacketType['BINARY_ACK']?(_0x3c6e3a['type']=_0x164f99?PacketType['EVENT']:PacketType['ACK'],this['reconstructor']=new BinaryReconstructor(_0x3c6e3a),0x0===_0x3c6e3a['attachments']&&super['emitReserved']('decoded',_0x3c6e3a)):super['emitReserved']('decoded',_0x3c6e3a);}else{if(!_0x2d9d43(_0x52a1a3)&&!_0x52a1a3['base64'])throw new Error('Unknown\x20type:\x20'+_0x52a1a3);if(!this['reconstructor'])throw new Error('got\x20binary\x20data\x20when\x20not\x20reconstructing\x20a\x20packet');_0x3c6e3a=this['reconstructor']['takeBinaryData'](_0x52a1a3),_0x3c6e3a&&(this['reconstructor']=null,super['emitReserved']('decoded',_0x3c6e3a));}}['decodeString'](_0x5ae498){let _0x40fa48=0x0;const _0x3b3488={'type':Number(_0x5ae498['charAt'](0x0))};if(void 0x0===PacketType[_0x3b3488['type']])throw new Error('unknown\x20packet\x20type\x20'+_0x3b3488['type']);if(_0x3b3488['type']===PacketType['BINARY_EVENT']||_0x3b3488['type']===PacketType['BINARY_ACK']){const _0x301f6a=_0x40fa48+0x1;for(;'-'!==_0x5ae498['charAt'](++_0x40fa48)&&_0x40fa48!=_0x5ae498['length'];);const _0x3951a2=_0x5ae498['substring'](_0x301f6a,_0x40fa48);if(_0x3951a2!=Number(_0x3951a2)||'-'!==_0x5ae498['charAt'](_0x40fa48))throw new Error('Illegal\x20attachments');const _0x3f76f1=Number(_0x3951a2);if(!isInteger(_0x3f76f1)||_0x3f76f1<0x0)throw new Error('Illegal\x20attachments');if(_0x3f76f1>this['opts']['maxAttachments'])throw new Error('too\x20many\x20attachments');_0x3b3488['attachments']=_0x3f76f1;}if('/'===_0x5ae498['charAt'](_0x40fa48+0x1)){const _0x18cfc5=_0x40fa48+0x1;for(;++_0x40fa48;){if(','===_0x5ae498['charAt'](_0x40fa48))break;if(_0x40fa48===_0x5ae498['length'])break;}_0x3b3488['nsp']=_0x5ae498['substring'](_0x18cfc5,_0x40fa48);}else _0x3b3488['nsp']='/';const _0x3668e6=_0x5ae498['charAt'](_0x40fa48+0x1);if(''!==_0x3668e6&&Number(_0x3668e6)==_0x3668e6){const _0x454cf0=_0x40fa48+0x1;for(;++_0x40fa48;){const _0x2e6762=_0x5ae498['charAt'](_0x40fa48);if(null==_0x2e6762||Number(_0x2e6762)!=_0x2e6762){--_0x40fa48;break;}if(_0x40fa48===_0x5ae498['length'])break;}_0x3b3488['id']=Number(_0x5ae498['substring'](_0x454cf0,_0x40fa48+0x1));}if(_0x5ae498['charAt'](++_0x40fa48)){const _0x214a3b=this['tryParse'](_0x5ae498['substr'](_0x40fa48));if(!_0x56db05['isPayloadValid'](_0x3b3488['type'],_0x214a3b))throw new Error('invalid\x20payload');_0x3b3488['data']=_0x214a3b;}return _0x3b3488;}['tryParse'](_0x4ad880){try{return JSON['parse'](_0x4ad880,this['opts']['reviver']);}catch(_0x1aeac2){return!0x1;}}static['isPayloadValid'](_0x5b3d19,_0x410442){switch(_0x5b3d19){case PacketType['CONNECT']:return isObject$2(_0x410442);case PacketType['DISCONNECT']:return void 0x0===_0x410442;case PacketType['CONNECT_ERROR']:return'string'==typeof _0x410442||isObject$2(_0x410442);case PacketType['EVENT']:case PacketType['BINARY_EVENT']:return Array['isArray'](_0x410442)&&('number'==typeof _0x410442[0x0]||'string'==typeof _0x410442[0x0]&&-0x1===_0x3d6128['indexOf'](_0x410442[0x0]));case PacketType['ACK']:case PacketType['BINARY_ACK']:return Array['isArray'](_0x410442);}}['destroy'](){this['reconstructor']&&(this['reconstructor']['finishedReconstruction'](),this['reconstructor']=null);}};class BinaryReconstructor{constructor(_0x2c8da9){this['packet']=_0x2c8da9,this['buffers']=[],this['reconPack']=_0x2c8da9;}['takeBinaryData'](_0xb11c8a){if(this['buffers']['push'](_0xb11c8a),this['buffers']['length']===this['reconPack']['attachments']){const _0x1339a8=reconstructPacket(this['reconPack'],this['buffers']);return this['finishedReconstruction'](),_0x1339a8;}return null;}['finishedReconstruction'](){this['reconPack']=null,this['buffers']=[];}}const isInteger=Number['isInteger']||function(_0x5da06b){return'number'==typeof _0x5da06b&&isFinite(_0x5da06b)&&Math['floor'](_0x5da06b)===_0x5da06b;};function isObject$2(_0x51d1d7){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x51d1d7);}var _0x13d4cb=Object['freeze']({'__proto__':null,'Decoder':_0x249914,'Encoder':_0x764d85,get 'PacketType'(){return PacketType;}});function _0x43cf4f(_0x159cf4,_0x460106,_0x1257f5){return _0x159cf4['on'](_0x460106,_0x1257f5),function(){_0x159cf4['off'](_0x460106,_0x1257f5);};}const _0x806963=Object['freeze']({'connect':0x1,'connect_error':0x1,'disconnect':0x1,'disconnecting':0x1,'newListener':0x1,'removeListener':0x1});class Socket extends Emitter{constructor(_0x1c483d,_0x3fdbc8,_0x11ebbf){super(),this['connected']=!0x1,this['recovered']=!0x1,this['receiveBuffer']=[],this['sendBuffer']=[],this['_queue']=[],this['_queueSeq']=0x0,this['ids']=0x0,this['acks']={},this['flags']={},this['io']=_0x1c483d,this['nsp']=_0x3fdbc8,_0x11ebbf&&_0x11ebbf['auth']&&(this['auth']=_0x11ebbf['auth']),this['_opts']=Object['assign']({},_0x11ebbf),this['io']['_autoConnect']&&this['open']();}get['disconnected'](){return!this['connected'];}['subEvents'](){if(this['subs'])return;const _0x18da43=this['io'];this['subs']=[_0x43cf4f(_0x18da43,'open',this['onopen']['bind'](this)),_0x43cf4f(_0x18da43,'packet',this['onpacket']['bind'](this)),_0x43cf4f(_0x18da43,'error',this['onerror']['bind'](this)),_0x43cf4f(_0x18da43,'close',this['onclose']['bind'](this))];}get['active'](){return!!this['subs'];}['connect'](){return this['connected']||(this['subEvents'](),this['io']['_reconnecting']||this['io']['open'](),'open'===this['io']['_readyState']&&this['onopen']()),this;}['open'](){return this['connect']();}['send'](..._0x37087c){return _0x37087c['unshift']('message'),this['emit']['apply'](this,_0x37087c),this;}['emit'](_0x1753de,..._0x27515b){if(_0x806963['hasOwnProperty'](_0x1753de))throw new Error('\x22'+_0x1753de['toString']()+'\x22\x20is\x20a\x20reserved\x20event\x20name');if(_0x27515b['unshift'](_0x1753de),this['_opts']['retries']&&!this['flags']['fromQueue']&&!this['flags']['volatile'])return this['_addToQueue'](_0x27515b),this;const _0x1244fe={'type':PacketType['EVENT'],'data':_0x27515b,'options':{}};if(_0x1244fe['options']['compress']=!0x1!==this['flags']['compress'],'function'==typeof _0x27515b[_0x27515b['length']-0x1]){const _0x23127b=this['ids']++,_0x18439e=_0x27515b['pop']();this['_registerAckCallback'](_0x23127b,_0x18439e),_0x1244fe['id']=_0x23127b;}const _0x5bed8a=this['io']['engine']&&this['io']['engine']['transport']&&this['io']['engine']['transport']['writable'];return this['flags']['volatile']&&(!_0x5bed8a||!this['connected'])||(this['connected']?(this['notifyOutgoingListeners'](_0x1244fe),this['packet'](_0x1244fe)):this['sendBuffer']['push'](_0x1244fe)),this['flags']={},this;}['_registerAckCallback'](_0x17f3ee,_0x4f2e4b){var _0x311ee9;const _0x2d275d=null!==(_0x311ee9=this['flags']['timeout'])&&void 0x0!==_0x311ee9?_0x311ee9:this['_opts']['ackTimeout'];if(void 0x0===_0x2d275d)return void(this['acks'][_0x17f3ee]=_0x4f2e4b);const _0x129a24=this['io']['setTimeoutFn'](()=>{delete this['acks'][_0x17f3ee];for(let _0x381593=0x0;_0x381593<this['sendBuffer']['length'];_0x381593++)this['sendBuffer'][_0x381593]['id']===_0x17f3ee&&this['sendBuffer']['splice'](_0x381593,0x1);_0x4f2e4b['call'](this,new Error('operation\x20has\x20timed\x20out'));},_0x2d275d);this['acks'][_0x17f3ee]=(..._0x80dab5)=>{this['io']['clearTimeoutFn'](_0x129a24),_0x4f2e4b['apply'](this,[null,..._0x80dab5]);};}['emitWithAck'](_0x4b1311,..._0x4ae7c4){const _0x297787=void 0x0!==this['flags']['timeout']||void 0x0!==this['_opts']['ackTimeout'];return new Promise((_0x7a8872,_0x462626)=>{_0x4ae7c4['push']((_0x5aa352,_0x17b5e2)=>_0x297787?_0x5aa352?_0x462626(_0x5aa352):_0x7a8872(_0x17b5e2):_0x7a8872(_0x5aa352)),this['emit'](_0x4b1311,..._0x4ae7c4);});}['_addToQueue'](_0xc07bc3){let _0x3e612d;'function'==typeof _0xc07bc3[_0xc07bc3['length']-0x1]&&(_0x3e612d=_0xc07bc3['pop']());const _0x518b63={'id':this['_queueSeq']++,'tryCount':0x0,'pending':!0x1,'args':_0xc07bc3,'flags':Object['assign']({'fromQueue':!0x0},this['flags'])};_0xc07bc3['push']((_0x3867cb,..._0x3f84a0)=>{if(_0x518b63!==this['_queue'][0x0])return;return null!==_0x3867cb?_0x518b63['tryCount']>this['_opts']['retries']&&(this['_queue']['shift'](),_0x3e612d&&_0x3e612d(_0x3867cb)):(this['_queue']['shift'](),_0x3e612d&&_0x3e612d(null,..._0x3f84a0)),_0x518b63['pending']=!0x1,this['_drainQueue']();}),this['_queue']['push'](_0x518b63),this['_drainQueue']();}['_drainQueue'](_0x5ed54f=!0x1){if(!this['connected']||0x0===this['_queue']['length'])return;const _0x252e03=this['_queue'][0x0];_0x252e03['pending']&&!_0x5ed54f||(_0x252e03['pending']=!0x0,_0x252e03['tryCount']++,this['flags']=_0x252e03['flags'],this['emit']['apply'](this,_0x252e03['args']));}['packet'](_0xa46360){_0xa46360['nsp']=this['nsp'],this['io']['_packet'](_0xa46360);}['onopen'](){'function'==typeof this['auth']?this['auth'](_0xef882c=>{this['_sendConnectPacket'](_0xef882c);}):this['_sendConnectPacket'](this['auth']);}['_sendConnectPacket'](_0x315ba3){this['packet']({'type':PacketType['CONNECT'],'data':this['_pid']?Object['assign']({'pid':this['_pid'],'offset':this['_lastOffset']},_0x315ba3):_0x315ba3});}['onerror'](_0x403735){this['connected']||this['emitReserved']('connect_error',_0x403735);}['onclose'](_0x5776f8,_0x40d039){this['connected']=!0x1,delete this['id'],this['emitReserved']('disconnect',_0x5776f8,_0x40d039);}['onpacket'](_0x2d67a0){if(_0x2d67a0['nsp']===this['nsp'])switch(_0x2d67a0['type']){case PacketType['CONNECT']:_0x2d67a0['data']&&_0x2d67a0['data']['sid']?this['onconnect'](_0x2d67a0['data']['sid'],_0x2d67a0['data']['pid']):this['emitReserved']('connect_error',new Error('It\x20seems\x20you\x20are\x20trying\x20to\x20reach\x20a\x20Socket.IO\x20server\x20in\x20v2.x\x20with\x20a\x20v3.x\x20client,\x20but\x20they\x20are\x20not\x20compatible\x20(more\x20information\x20here:\x20https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)'));break;case PacketType['EVENT']:case PacketType['BINARY_EVENT']:this['onevent'](_0x2d67a0);break;case PacketType['ACK']:case PacketType['BINARY_ACK']:this['onack'](_0x2d67a0);break;case PacketType['DISCONNECT']:this['ondisconnect']();break;case PacketType['CONNECT_ERROR']:this['destroy']();const _0x5d3cfd=new Error(_0x2d67a0['data']['message']);_0x5d3cfd['data']=_0x2d67a0['data']['data'],this['emitReserved']('connect_error',_0x5d3cfd);}}['onevent'](_0xe36efb){const _0x13af9d=_0xe36efb['data']||[];null!=_0xe36efb['id']&&_0x13af9d['push'](this['ack'](_0xe36efb['id'])),this['connected']?this['emitEvent'](_0x13af9d):this['receiveBuffer']['push'](Object['freeze'](_0x13af9d));}['emitEvent'](_0x168376){if(this['_anyListeners']&&this['_anyListeners']['length']){const _0x4cf321=this['_anyListeners']['slice']();for(const _0x1098aa of _0x4cf321)_0x1098aa['apply'](this,_0x168376);}super['emit']['apply'](this,_0x168376),this['_pid']&&_0x168376['length']&&'string'==typeof _0x168376[_0x168376['length']-0x1]&&(this['_lastOffset']=_0x168376[_0x168376['length']-0x1]);}['ack'](_0x19768a){const _0x421936=this;let _0x4b959c=!0x1;return function(..._0x5dcd04){_0x4b959c||(_0x4b959c=!0x0,_0x421936['packet']({'type':PacketType['ACK'],'id':_0x19768a,'data':_0x5dcd04}));};}['onack'](_0x5d4acc){const _0x2bc259=this['acks'][_0x5d4acc['id']];'function'==typeof _0x2bc259&&(_0x2bc259['apply'](this,_0x5d4acc['data']),delete this['acks'][_0x5d4acc['id']]);}['onconnect'](_0x1ce847,_0x1132f1){this['id']=_0x1ce847,this['recovered']=_0x1132f1&&this['_pid']===_0x1132f1,this['_pid']=_0x1132f1,this['connected']=!0x0,this['emitBuffered'](),this['emitReserved']('connect'),this['_drainQueue'](!0x0);}['emitBuffered'](){this['receiveBuffer']['forEach'](_0x747da4=>this['emitEvent'](_0x747da4)),this['receiveBuffer']=[],this['sendBuffer']['forEach'](_0x46a7b2=>{this['notifyOutgoingListeners'](_0x46a7b2),this['packet'](_0x46a7b2);}),this['sendBuffer']=[];}['ondisconnect'](){this['destroy'](),this['onclose']('io\x20server\x20disconnect');}['destroy'](){this['subs']&&(this['subs']['forEach'](_0x557462=>_0x557462()),this['subs']=void 0x0),this['io']['_destroy'](this);}['disconnect'](){return this['connected']&&this['packet']({'type':PacketType['DISCONNECT']}),this['destroy'](),this['connected']&&this['onclose']('io\x20client\x20disconnect'),this;}['close'](){return this['disconnect']();}['compress'](_0xaa6f55){return this['flags']['compress']=_0xaa6f55,this;}get['volatile'](){return this['flags']['volatile']=!0x0,this;}['timeout'](_0x1e2f58){return this['flags']['timeout']=_0x1e2f58,this;}['onAny'](_0x133e44){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['push'](_0x133e44),this;}['prependAny'](_0x1123a2){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['unshift'](_0x1123a2),this;}['offAny'](_0x1cffc3){if(!this['_anyListeners'])return this;if(_0x1cffc3){const _0x52ab03=this['_anyListeners'];for(let _0x235049=0x0;_0x235049<_0x52ab03['length'];_0x235049++)if(_0x1cffc3===_0x52ab03[_0x235049])return _0x52ab03['splice'](_0x235049,0x1),this;}else this['_anyListeners']=[];return this;}['listenersAny'](){return this['_anyListeners']||[];}['onAnyOutgoing'](_0x1920fc){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['push'](_0x1920fc),this;}['prependAnyOutgoing'](_0x20d3ec){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['unshift'](_0x20d3ec),this;}['offAnyOutgoing'](_0x35cc36){if(!this['_anyOutgoingListeners'])return this;if(_0x35cc36){const _0x31f6bb=this['_anyOutgoingListeners'];for(let _0x17fd3f=0x0;_0x17fd3f<_0x31f6bb['length'];_0x17fd3f++)if(_0x35cc36===_0x31f6bb[_0x17fd3f])return _0x31f6bb['splice'](_0x17fd3f,0x1),this;}else this['_anyOutgoingListeners']=[];return this;}['listenersAnyOutgoing'](){return this['_anyOutgoingListeners']||[];}['notifyOutgoingListeners'](_0xfdd4d0){if(this['_anyOutgoingListeners']&&this['_anyOutgoingListeners']['length']){const _0x428ee6=this['_anyOutgoingListeners']['slice']();for(const _0x345092 of _0x428ee6)_0x345092['apply'](this,_0xfdd4d0['data']);}}}function _0x18a789(_0x4a3c71){_0x4a3c71=_0x4a3c71||{},this['ms']=_0x4a3c71['min']||0x64,this['max']=_0x4a3c71['max']||0x2710,this['factor']=_0x4a3c71['factor']||0x2,this['jitter']=_0x4a3c71['jitter']>0x0&&_0x4a3c71['jitter']<=0x1?_0x4a3c71['jitter']:0x0,this['attempts']=0x0;}_0x18a789['prototype']['duration']=function(){var _0x3bcc73=this['ms']*Math['pow'](this['factor'],this['attempts']++);if(this['jitter']){var _0x1c3775=Math['random'](),_0x12d93c=Math['floor'](_0x1c3775*this['jitter']*_0x3bcc73);_0x3bcc73=0x1&Math['floor'](0xa*_0x1c3775)?_0x3bcc73+_0x12d93c:_0x3bcc73-_0x12d93c;}return 0x0|Math['min'](_0x3bcc73,this['max']);},_0x18a789['prototype']['reset']=function(){this['attempts']=0x0;},_0x18a789['prototype']['setMin']=function(_0x33d7a7){this['ms']=_0x33d7a7;},_0x18a789['prototype']['setMax']=function(_0xc2ca1b){this['max']=_0xc2ca1b;},_0x18a789['prototype']['setJitter']=function(_0x11a71e){this['jitter']=_0x11a71e;};class _0x35f561 extends Emitter{constructor(_0x2de875,_0x5888f0){var _0x5db151;super(),this['nsps']={},this['subs']=[],_0x2de875&&'object'==typeof _0x2de875&&(_0x5888f0=_0x2de875,_0x2de875=void 0x0),(_0x5888f0=_0x5888f0||{})['path']=_0x5888f0['path']||'/socket.io',this['opts']=_0x5888f0,installTimerFunctions(this,_0x5888f0),this['reconnection'](!0x1!==_0x5888f0['reconnection']),this['reconnectionAttempts'](_0x5888f0['reconnectionAttempts']||0x1/0x0),this['reconnectionDelay'](_0x5888f0['reconnectionDelay']||0x3e8),this['reconnectionDelayMax'](_0x5888f0['reconnectionDelayMax']||0x1388),this['randomizationFactor'](null!==(_0x5db151=_0x5888f0['randomizationFactor'])&&void 0x0!==_0x5db151?_0x5db151:0.5),this['backoff']=new _0x18a789({'min':this['reconnectionDelay'](),'max':this['reconnectionDelayMax'](),'jitter':this['randomizationFactor']()}),this['timeout'](null==_0x5888f0['timeout']?0x4e20:_0x5888f0['timeout']),this['_readyState']='closed',this['uri']=_0x2de875;const _0x48e68e=_0x5888f0['parser']||_0x13d4cb;this['encoder']=new _0x48e68e['Encoder'](),this['decoder']=new _0x48e68e['Decoder'](),this['_autoConnect']=!0x1!==_0x5888f0['autoConnect'],this['_autoConnect']&&this['open']();}['reconnection'](_0x5a64ae){return arguments['length']?(this['_reconnection']=!!_0x5a64ae,this):this['_reconnection'];}['reconnectionAttempts'](_0x1cae65){return void 0x0===_0x1cae65?this['_reconnectionAttempts']:(this['_reconnectionAttempts']=_0x1cae65,this);}['reconnectionDelay'](_0x2f8b41){var _0xd6e45b;return void 0x0===_0x2f8b41?this['_reconnectionDelay']:(this['_reconnectionDelay']=_0x2f8b41,null===(_0xd6e45b=this['backoff'])||void 0x0===_0xd6e45b||_0xd6e45b['setMin'](_0x2f8b41),this);}['randomizationFactor'](_0x4c1cc3){var _0x5486c8;return void 0x0===_0x4c1cc3?this['_randomizationFactor']:(this['_randomizationFactor']=_0x4c1cc3,null===(_0x5486c8=this['backoff'])||void 0x0===_0x5486c8||_0x5486c8['setJitter'](_0x4c1cc3),this);}['reconnectionDelayMax'](_0x47d2d5){var _0x54a0e6;return void 0x0===_0x47d2d5?this['_reconnectionDelayMax']:(this['_reconnectionDelayMax']=_0x47d2d5,null===(_0x54a0e6=this['backoff'])||void 0x0===_0x54a0e6||_0x54a0e6['setMax'](_0x47d2d5),this);}['timeout'](_0x4379be){return arguments['length']?(this['_timeout']=_0x4379be,this):this['_timeout'];}['maybeReconnectOnOpen'](){!this['_reconnecting']&&this['_reconnection']&&0x0===this['backoff']['attempts']&&this['reconnect']();}['open'](_0x186cb6){if(~this['_readyState']['indexOf']('open'))return this;this['engine']=new Socket$1(this['uri'],this['opts']);const _0x36b4d1=this['engine'],_0x4be136=this;this['_readyState']='opening',this['skipReconnect']=!0x1;const _0x1065f0=_0x43cf4f(_0x36b4d1,'open',function(){_0x4be136['onopen'](),_0x186cb6&&_0x186cb6();}),_0x2486a8=_0x32a3c3=>{this['cleanup'](),this['_readyState']='closed',this['emitReserved']('error',_0x32a3c3),_0x186cb6?_0x186cb6(_0x32a3c3):this['maybeReconnectOnOpen']();},_0x9ba689=_0x43cf4f(_0x36b4d1,'error',_0x2486a8);if(!0x1!==this['_timeout']){const _0x3238c8=this['_timeout'],_0x4c9912=this['setTimeoutFn'](()=>{_0x1065f0(),_0x2486a8(new Error('timeout')),_0x36b4d1['close']();},_0x3238c8);this['opts']['autoUnref']&&_0x4c9912['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x4c9912);});}return this['subs']['push'](_0x1065f0),this['subs']['push'](_0x9ba689),this;}['connect'](_0x157c58){return this['open'](_0x157c58);}['onopen'](){this['cleanup'](),this['_readyState']='open',this['emitReserved']('open');const _0x589116=this['engine'];this['subs']['push'](_0x43cf4f(_0x589116,'ping',this['onping']['bind'](this)),_0x43cf4f(_0x589116,'data',this['ondata']['bind'](this)),_0x43cf4f(_0x589116,'error',this['onerror']['bind'](this)),_0x43cf4f(_0x589116,'close',this['onclose']['bind'](this)),_0x43cf4f(this['decoder'],'decoded',this['ondecoded']['bind'](this)));}['onping'](){this['emitReserved']('ping');}['ondata'](_0x55411e){try{this['decoder']['add'](_0x55411e);}catch(_0x5d6d6a){this['onclose']('parse\x20error',_0x5d6d6a);}}['ondecoded'](_0x2aa840){nextTick(()=>{this['emitReserved']('packet',_0x2aa840);},this['setTimeoutFn']);}['onerror'](_0x5e769a){this['emitReserved']('error',_0x5e769a);}['socket'](_0x27042d,_0x40b659){let _0x56f793=this['nsps'][_0x27042d];return _0x56f793?this['_autoConnect']&&!_0x56f793['active']&&_0x56f793['connect']():(_0x56f793=new Socket(this,_0x27042d,_0x40b659),this['nsps'][_0x27042d]=_0x56f793),_0x56f793;}['_destroy'](_0x348254){const _0x2a711f=Object['keys'](this['nsps']);for(const _0x1a3b98 of _0x2a711f){if(this['nsps'][_0x1a3b98]['active'])return;}this['_close']();}['_packet'](_0x5127b3){const _0x252f43=this['encoder']['encode'](_0x5127b3);for(let _0x597e29=0x0;_0x597e29<_0x252f43['length'];_0x597e29++)this['engine']['write'](_0x252f43[_0x597e29],_0x5127b3['options']);}['cleanup'](){this['subs']['forEach'](_0x5e074d=>_0x5e074d()),this['subs']['length']=0x0,this['decoder']['destroy']();}['_close'](){this['skipReconnect']=!0x0,this['_reconnecting']=!0x1,this['onclose']('forced\x20close'),this['engine']&&this['engine']['close']();}['disconnect'](){return this['_close']();}['onclose'](_0x4b93f5,_0x5a4398){this['cleanup'](),this['backoff']['reset'](),this['_readyState']='closed',this['emitReserved']('close',_0x4b93f5,_0x5a4398),this['_reconnection']&&!this['skipReconnect']&&this['reconnect']();}['reconnect'](){if(this['_reconnecting']||this['skipReconnect'])return this;const _0x540146=this;if(this['backoff']['attempts']>=this['_reconnectionAttempts'])this['backoff']['reset'](),this['emitReserved']('reconnect_failed'),this['_reconnecting']=!0x1;else{const _0x4283a7=this['backoff']['duration']();this['_reconnecting']=!0x0;const _0x3eb4ae=this['setTimeoutFn'](()=>{_0x540146['skipReconnect']||(this['emitReserved']('reconnect_attempt',_0x540146['backoff']['attempts']),_0x540146['skipReconnect']||_0x540146['open'](_0x557011=>{_0x557011?(_0x540146['_reconnecting']=!0x1,_0x540146['reconnect'](),this['emitReserved']('reconnect_error',_0x557011)):_0x540146['onreconnect']();}));},_0x4283a7);this['opts']['autoUnref']&&_0x3eb4ae['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x3eb4ae);});}}['onreconnect'](){const _0x5afb33=this['backoff']['attempts'];this['_reconnecting']=!0x1,this['backoff']['reset'](),this['emitReserved']('reconnect',_0x5afb33);}}const _0x5eb670={};function _0x8b15fd(_0x43643b,_0xe91e5a){'object'==typeof _0x43643b&&(_0xe91e5a=_0x43643b,_0x43643b=void 0x0);const _0x2af422=_0x2a3509(_0x43643b,(_0xe91e5a=_0xe91e5a||{})['path']||'/socket.io'),_0x52fd9b=_0x2af422['source'],_0x130a6b=_0x2af422['id'],_0x4705c6=_0x2af422['path'],_0xb3012f=_0x5eb670[_0x130a6b]&&_0x4705c6 in _0x5eb670[_0x130a6b]['nsps'];let _0x4bea7e;return _0xe91e5a['forceNew']||_0xe91e5a['force\x20new\x20connection']||!0x1===_0xe91e5a['multiplex']||_0xb3012f?_0x4bea7e=new _0x35f561(_0x52fd9b,_0xe91e5a):(_0x5eb670[_0x130a6b]||(_0x5eb670[_0x130a6b]=new _0x35f561(_0x52fd9b,_0xe91e5a)),_0x4bea7e=_0x5eb670[_0x130a6b]),_0x2af422['query']&&!_0xe91e5a['query']&&(_0xe91e5a['query']=_0x2af422['queryKey']),_0x4bea7e['socket'](_0x2af422['path'],_0xe91e5a);}var requiresPort,hasRequiredRequiresPort;function requireRequiresPort(){return hasRequiredRequiresPort||(hasRequiredRequiresPort=0x1,requiresPort=function(_0x281159,_0x4d10f5){if(_0x4d10f5=_0x4d10f5['split'](':')[0x0],!(_0x281159=+_0x281159))return!0x1;switch(_0x4d10f5){case'http':case'ws':return 0x50!==_0x281159;case'https':case'wss':return 0x1bb!==_0x281159;case'ftp':return 0x15!==_0x281159;case'gopher':return 0x46!==_0x281159;case'file':return!0x1;}return 0x0!==_0x281159;}),requiresPort;}Object['assign'](_0x8b15fd,{'Manager':_0x35f561,'Socket':Socket,'io':_0x8b15fd,'connect':_0x8b15fd});var querystringify={},hasRequiredQuerystringify,_0x402cf5,_0x15468a;function requireQuerystringify(){if(hasRequiredQuerystringify)return querystringify;hasRequiredQuerystringify=0x1;var _0x2bc8c8=Object['prototype']['hasOwnProperty'];function _0x430477(_0xf40f68){try{return decodeURIComponent(_0xf40f68['replace'](/\+/g,'\x20'));}catch(_0x35db48){return null;}}function _0x3238c3(_0x3eed2e){try{return encodeURIComponent(_0x3eed2e);}catch(_0x2196f0){return null;}}return querystringify['stringify']=function(_0x1996cc,_0x34ea7f){_0x34ea7f=_0x34ea7f||'';var _0x5ee3d7,_0x2696e1,_0x45f60b=[];for(_0x2696e1 in('string'!=typeof _0x34ea7f&&(_0x34ea7f='?'),_0x1996cc))if(_0x2bc8c8['call'](_0x1996cc,_0x2696e1)){if((_0x5ee3d7=_0x1996cc[_0x2696e1])||null!=_0x5ee3d7&&!isNaN(_0x5ee3d7)||(_0x5ee3d7=''),_0x2696e1=_0x3238c3(_0x2696e1),_0x5ee3d7=_0x3238c3(_0x5ee3d7),null===_0x2696e1||null===_0x5ee3d7)continue;_0x45f60b['push'](_0x2696e1+'='+_0x5ee3d7);}return _0x45f60b['length']?_0x34ea7f+_0x45f60b['join']('&'):'';},querystringify['parse']=function(_0x3ebd41){for(var _0x2e256c,_0x4636d5=/([^=?#&]+)=?([^&]*)/g,_0x55a9b4={};_0x2e256c=_0x4636d5['exec'](_0x3ebd41);){var _0x3233d1=_0x430477(_0x2e256c[0x1]),_0x4c5f4f=_0x430477(_0x2e256c[0x2]);null===_0x3233d1||null===_0x4c5f4f||_0x3233d1 in _0x55a9b4||(_0x55a9b4[_0x3233d1]=_0x4c5f4f);}return _0x55a9b4;},querystringify;}function requireUrlParse(){if(_0x15468a)return _0x402cf5;_0x15468a=0x1;var _0x40b3f5=requireRequiresPort(),_0x425e03=requireQuerystringify(),_0x2ad5f7=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,_0x50c3f4=/[\n\r\t]/g,_0x138ac5=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,_0x4a2dc4=/:\d+$/,_0xff4c73=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,_0x5a3c5f=/^[a-zA-Z]:/;function _0x241a30(_0x623a62){return(_0x623a62||'')['toString']()['replace'](_0x2ad5f7,'');}var _0x42d7df=[['#','hash'],['?','query'],function(_0x365d5a,_0x44a6e8){return _0x23cfd3(_0x44a6e8['protocol'])?_0x365d5a['replace'](/\\/g,'/'):_0x365d5a;},['/','pathname'],['@','auth',0x1],[NaN,'host',void 0x0,0x1,0x1],[/:(\d*)$/,'port',void 0x0,0x1],[NaN,'hostname',void 0x0,0x1,0x1]],_0x4652c6={'hash':0x1,'query':0x1};function _0x5cf17b(_0x42e3d5){var _0x34ebe6,_0x2c3da0=('undefined'!=typeof window?window:void 0x0!==_0x254de2?_0x254de2:'undefined'!=typeof self?self:{})['location']||{},_0x5a85db={},_0x2a074f=typeof(_0x42e3d5=_0x42e3d5||_0x2c3da0);if('blob:'===_0x42e3d5['protocol'])_0x5a85db=new _0x225614(unescape(_0x42e3d5['pathname']),{});else{if('string'===_0x2a074f){for(_0x34ebe6 in(_0x5a85db=new _0x225614(_0x42e3d5,{}),_0x4652c6))delete _0x5a85db[_0x34ebe6];}else{if('object'===_0x2a074f){for(_0x34ebe6 in _0x42e3d5)_0x34ebe6 in _0x4652c6||(_0x5a85db[_0x34ebe6]=_0x42e3d5[_0x34ebe6]);void 0x0===_0x5a85db['slashes']&&(_0x5a85db['slashes']=_0x138ac5['test'](_0x42e3d5['href']));}}}return _0x5a85db;}function _0x23cfd3(_0x3cbec8){return'file:'===_0x3cbec8||'ftp:'===_0x3cbec8||'http:'===_0x3cbec8||'https:'===_0x3cbec8||'ws:'===_0x3cbec8||'wss:'===_0x3cbec8;}function _0x15b132(_0x5d996c,_0x331bb5){_0x5d996c=(_0x5d996c=_0x241a30(_0x5d996c))['replace'](_0x50c3f4,''),_0x331bb5=_0x331bb5||{};var _0x58064b,_0x100848=_0xff4c73['exec'](_0x5d996c),_0x2b2dae=_0x100848[0x1]?_0x100848[0x1]['toLowerCase']():'',_0x41da68=!!_0x100848[0x2],_0x45e53b=!!_0x100848[0x3],_0xc0998b=0x0;return _0x41da68?_0x45e53b?(_0x58064b=_0x100848[0x2]+_0x100848[0x3]+_0x100848[0x4],_0xc0998b=_0x100848[0x2]['length']+_0x100848[0x3]['length']):(_0x58064b=_0x100848[0x2]+_0x100848[0x4],_0xc0998b=_0x100848[0x2]['length']):_0x45e53b?(_0x58064b=_0x100848[0x3]+_0x100848[0x4],_0xc0998b=_0x100848[0x3]['length']):_0x58064b=_0x100848[0x4],'file:'===_0x2b2dae?_0xc0998b>=0x2&&(_0x58064b=_0x58064b['slice'](0x2)):_0x23cfd3(_0x2b2dae)?_0x58064b=_0x100848[0x4]:_0x2b2dae?_0x41da68&&(_0x58064b=_0x58064b['slice'](0x2)):_0xc0998b>=0x2&&_0x23cfd3(_0x331bb5['protocol'])&&(_0x58064b=_0x100848[0x4]),{'protocol':_0x2b2dae,'slashes':_0x41da68||_0x23cfd3(_0x2b2dae),'slashesCount':_0xc0998b,'rest':_0x58064b};}function _0x225614(_0x440ed4,_0x1d9bc8,_0x36fda2){if(_0x440ed4=(_0x440ed4=_0x241a30(_0x440ed4))['replace'](_0x50c3f4,''),!(this instanceof _0x225614))return new _0x225614(_0x440ed4,_0x1d9bc8,_0x36fda2);var _0x17c7ae,_0x43df58,_0x4e178f,_0x27ac7,_0x294327,_0x466624,_0x5be552=_0x42d7df['slice'](),_0x10e3d2=typeof _0x1d9bc8,_0x1d9f92=this,_0x528f30=0x0;for('object'!==_0x10e3d2&&'string'!==_0x10e3d2&&(_0x36fda2=_0x1d9bc8,_0x1d9bc8=null),_0x36fda2&&'function'!=typeof _0x36fda2&&(_0x36fda2=_0x425e03['parse']),_0x17c7ae=!(_0x43df58=_0x15b132(_0x440ed4||'',_0x1d9bc8=_0x5cf17b(_0x1d9bc8)))['protocol']&&!_0x43df58['slashes'],_0x1d9f92['slashes']=_0x43df58['slashes']||_0x17c7ae&&_0x1d9bc8['slashes'],_0x1d9f92['protocol']=_0x43df58['protocol']||_0x1d9bc8['protocol']||'',_0x440ed4=_0x43df58['rest'],('file:'===_0x43df58['protocol']&&(0x2!==_0x43df58['slashesCount']||_0x5a3c5f['test'](_0x440ed4))||!_0x43df58['slashes']&&(_0x43df58['protocol']||_0x43df58['slashesCount']<0x2||!_0x23cfd3(_0x1d9f92['protocol'])))&&(_0x5be552[0x3]=[/(.*)/,'pathname']);_0x528f30<_0x5be552['length'];_0x528f30++)'function'!=typeof(_0x27ac7=_0x5be552[_0x528f30])?(_0x4e178f=_0x27ac7[0x0],_0x466624=_0x27ac7[0x1],_0x4e178f!=_0x4e178f?_0x1d9f92[_0x466624]=_0x440ed4:'string'==typeof _0x4e178f?~(_0x294327='@'===_0x4e178f?_0x440ed4['lastIndexOf'](_0x4e178f):_0x440ed4['indexOf'](_0x4e178f))&&('number'==typeof _0x27ac7[0x2]?(_0x1d9f92[_0x466624]=_0x440ed4['slice'](0x0,_0x294327),_0x440ed4=_0x440ed4['slice'](_0x294327+_0x27ac7[0x2])):(_0x1d9f92[_0x466624]=_0x440ed4['slice'](_0x294327),_0x440ed4=_0x440ed4['slice'](0x0,_0x294327))):(_0x294327=_0x4e178f['exec'](_0x440ed4))&&(_0x1d9f92[_0x466624]=_0x294327[0x1],_0x440ed4=_0x440ed4['slice'](0x0,_0x294327['index'])),_0x1d9f92[_0x466624]=_0x1d9f92[_0x466624]||_0x17c7ae&&_0x27ac7[0x3]&&_0x1d9bc8[_0x466624]||'',_0x27ac7[0x4]&&(_0x1d9f92[_0x466624]=_0x1d9f92[_0x466624]['toLowerCase']())):_0x440ed4=_0x27ac7(_0x440ed4,_0x1d9f92);_0x36fda2&&(_0x1d9f92['query']=_0x36fda2(_0x1d9f92['query'])),_0x17c7ae&&_0x1d9bc8['slashes']&&'/'!==_0x1d9f92['pathname']['charAt'](0x0)&&(''!==_0x1d9f92['pathname']||''!==_0x1d9bc8['pathname'])&&(_0x1d9f92['pathname']=function(_0x54d3a8,_0x2e4846){if(''===_0x54d3a8)return _0x2e4846;for(var _0x3fb34a=(_0x2e4846||'/')['split']('/')['slice'](0x0,-0x1)['concat'](_0x54d3a8['split']('/')),_0x3df605=_0x3fb34a['length'],_0x54700b=_0x3fb34a[_0x3df605-0x1],_0x4bdf69=!0x1,_0x5ed7f3=0x0;_0x3df605--;)'.'===_0x3fb34a[_0x3df605]?_0x3fb34a['splice'](_0x3df605,0x1):'..'===_0x3fb34a[_0x3df605]?(_0x3fb34a['splice'](_0x3df605,0x1),_0x5ed7f3++):_0x5ed7f3&&(0x0===_0x3df605&&(_0x4bdf69=!0x0),_0x3fb34a['splice'](_0x3df605,0x1),_0x5ed7f3--);return _0x4bdf69&&_0x3fb34a['unshift'](''),'.'!==_0x54700b&&'..'!==_0x54700b||_0x3fb34a['push'](''),_0x3fb34a['join']('/');}(_0x1d9f92['pathname'],_0x1d9bc8['pathname'])),'/'!==_0x1d9f92['pathname']['charAt'](0x0)&&_0x23cfd3(_0x1d9f92['protocol'])&&(_0x1d9f92['pathname']='/'+_0x1d9f92['pathname']),_0x40b3f5(_0x1d9f92['port'],_0x1d9f92['protocol'])||(_0x1d9f92['host']=_0x1d9f92['hostname'],_0x1d9f92['port']=''),_0x1d9f92['username']=_0x1d9f92['password']='',_0x1d9f92['auth']&&(~(_0x294327=_0x1d9f92['auth']['indexOf'](':'))?(_0x1d9f92['username']=_0x1d9f92['auth']['slice'](0x0,_0x294327),_0x1d9f92['username']=encodeURIComponent(decodeURIComponent(_0x1d9f92['username'])),_0x1d9f92['password']=_0x1d9f92['auth']['slice'](_0x294327+0x1),_0x1d9f92['password']=encodeURIComponent(decodeURIComponent(_0x1d9f92['password']))):_0x1d9f92['username']=encodeURIComponent(decodeURIComponent(_0x1d9f92['auth'])),_0x1d9f92['auth']=_0x1d9f92['password']?_0x1d9f92['username']+':'+_0x1d9f92['password']:_0x1d9f92['username']),_0x1d9f92['origin']='file:'!==_0x1d9f92['protocol']&&_0x23cfd3(_0x1d9f92['protocol'])&&_0x1d9f92['host']?_0x1d9f92['protocol']+'//'+_0x1d9f92['host']:'null',_0x1d9f92['href']=_0x1d9f92['toString']();}return _0x225614['prototype']={'set':function(_0x2812a9,_0x3c9433,_0x41b5be){var _0x428564=this;switch(_0x2812a9){case'query':'string'==typeof _0x3c9433&&_0x3c9433['length']&&(_0x3c9433=(_0x41b5be||_0x425e03['parse'])(_0x3c9433)),_0x428564[_0x2812a9]=_0x3c9433;break;case'port':_0x428564[_0x2812a9]=_0x3c9433,_0x40b3f5(_0x3c9433,_0x428564['protocol'])?_0x3c9433&&(_0x428564['host']=_0x428564['hostname']+':'+_0x3c9433):(_0x428564['host']=_0x428564['hostname'],_0x428564[_0x2812a9]='');break;case'hostname':_0x428564[_0x2812a9]=_0x3c9433,_0x428564['port']&&(_0x3c9433+=':'+_0x428564['port']),_0x428564['host']=_0x3c9433;break;case'host':_0x428564[_0x2812a9]=_0x3c9433,_0x4a2dc4['test'](_0x3c9433)?(_0x3c9433=_0x3c9433['split'](':'),_0x428564['port']=_0x3c9433['pop'](),_0x428564['hostname']=_0x3c9433['join'](':')):(_0x428564['hostname']=_0x3c9433,_0x428564['port']='');break;case'protocol':_0x428564['protocol']=_0x3c9433['toLowerCase'](),_0x428564['slashes']=!_0x41b5be;break;case'pathname':case'hash':if(_0x3c9433){var _0x53ad5c='pathname'===_0x2812a9?'/':'#';_0x428564[_0x2812a9]=_0x3c9433['charAt'](0x0)!==_0x53ad5c?_0x53ad5c+_0x3c9433:_0x3c9433;}else _0x428564[_0x2812a9]=_0x3c9433;break;case'username':case'password':_0x428564[_0x2812a9]=encodeURIComponent(_0x3c9433);break;case'auth':var _0x5c9aa3=_0x3c9433['indexOf'](':');~_0x5c9aa3?(_0x428564['username']=_0x3c9433['slice'](0x0,_0x5c9aa3),_0x428564['username']=encodeURIComponent(decodeURIComponent(_0x428564['username'])),_0x428564['password']=_0x3c9433['slice'](_0x5c9aa3+0x1),_0x428564['password']=encodeURIComponent(decodeURIComponent(_0x428564['password']))):_0x428564['username']=encodeURIComponent(decodeURIComponent(_0x3c9433));}for(var _0x11c0e6=0x0;_0x11c0e6<_0x42d7df['length'];_0x11c0e6++){var _0x40d391=_0x42d7df[_0x11c0e6];_0x40d391[0x4]&&(_0x428564[_0x40d391[0x1]]=_0x428564[_0x40d391[0x1]]['toLowerCase']());}return _0x428564['auth']=_0x428564['password']?_0x428564['username']+':'+_0x428564['password']:_0x428564['username'],_0x428564['origin']='file:'!==_0x428564['protocol']&&_0x23cfd3(_0x428564['protocol'])&&_0x428564['host']?_0x428564['protocol']+'//'+_0x428564['host']:'null',_0x428564['href']=_0x428564['toString'](),_0x428564;},'toString':function(_0x52fe43){_0x52fe43&&'function'==typeof _0x52fe43||(_0x52fe43=_0x425e03['stringify']);var _0x56a533,_0xb5e875=this,_0x12758f=_0xb5e875['host'],_0x3fd655=_0xb5e875['protocol'];_0x3fd655&&':'!==_0x3fd655['charAt'](_0x3fd655['length']-0x1)&&(_0x3fd655+=':');var _0x2cc5c2=_0x3fd655+(_0xb5e875['protocol']&&_0xb5e875['slashes']||_0x23cfd3(_0xb5e875['protocol'])?'//':'');return _0xb5e875['username']?(_0x2cc5c2+=_0xb5e875['username'],_0xb5e875['password']&&(_0x2cc5c2+=':'+_0xb5e875['password']),_0x2cc5c2+='@'):_0xb5e875['password']?(_0x2cc5c2+=':'+_0xb5e875['password'],_0x2cc5c2+='@'):'file:'!==_0xb5e875['protocol']&&_0x23cfd3(_0xb5e875['protocol'])&&!_0x12758f&&'/'!==_0xb5e875['pathname']&&(_0x2cc5c2+='@'),(':'===_0x12758f[_0x12758f['length']-0x1]||_0x4a2dc4['test'](_0xb5e875['hostname'])&&!_0xb5e875['port'])&&(_0x12758f+=':'),_0x2cc5c2+=_0x12758f+_0xb5e875['pathname'],(_0x56a533='object'==typeof _0xb5e875['query']?_0x52fe43(_0xb5e875['query']):_0xb5e875['query'])&&(_0x2cc5c2+='?'!==_0x56a533['charAt'](0x0)?'?'+_0x56a533:_0x56a533),_0xb5e875['hash']&&(_0x2cc5c2+=_0xb5e875['hash']),_0x2cc5c2;}},_0x225614['extractProtocol']=_0x15b132,_0x225614['location']=_0x5cf17b,_0x225614['trimLeft']=_0x241a30,_0x225614['qs']=_0x425e03,_0x402cf5=_0x225614;}var urlParseExports=requireUrlParse();let getRandomValues;const _0x548f51=new Uint8Array(0x10);function _0x5315df(){if(!getRandomValues&&(getRandomValues='undefined'!=typeof crypto&&crypto['getRandomValues']&&crypto['getRandomValues']['bind'](crypto),!getRandomValues))throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');return getRandomValues(_0x548f51);}const byteToHex=[];for(let _0x1830d3=0x0;_0x1830d3<0x100;++_0x1830d3)byteToHex['push']((_0x1830d3+0x100)['toString'](0x10)['slice'](0x1));function unsafeStringify(_0x1fcfe3,_0x2b076b=0x0){return byteToHex[_0x1fcfe3[_0x2b076b+0x0]]+byteToHex[_0x1fcfe3[_0x2b076b+0x1]]+byteToHex[_0x1fcfe3[_0x2b076b+0x2]]+byteToHex[_0x1fcfe3[_0x2b076b+0x3]]+'-'+byteToHex[_0x1fcfe3[_0x2b076b+0x4]]+byteToHex[_0x1fcfe3[_0x2b076b+0x5]]+'-'+byteToHex[_0x1fcfe3[_0x2b076b+0x6]]+byteToHex[_0x1fcfe3[_0x2b076b+0x7]]+'-'+byteToHex[_0x1fcfe3[_0x2b076b+0x8]]+byteToHex[_0x1fcfe3[_0x2b076b+0x9]]+'-'+byteToHex[_0x1fcfe3[_0x2b076b+0xa]]+byteToHex[_0x1fcfe3[_0x2b076b+0xb]]+byteToHex[_0x1fcfe3[_0x2b076b+0xc]]+byteToHex[_0x1fcfe3[_0x2b076b+0xd]]+byteToHex[_0x1fcfe3[_0x2b076b+0xe]]+byteToHex[_0x1fcfe3[_0x2b076b+0xf]];}const _0x52a0c7='undefined'!=typeof crypto&&crypto['randomUUID']&&crypto['randomUUID']['bind'](crypto);var native$1={'randomUUID':_0x52a0c7};function _0x4338ed(_0x437975,_0x2b908e,_0x46f523){if(native$1['randomUUID']&&!_0x437975)return native$1['randomUUID']();const _0x274f56=(_0x437975=_0x437975||{})['random']||(_0x437975['rng']||_0x5315df)();return _0x274f56[0x6]=0xf&_0x274f56[0x6]|0x40,_0x274f56[0x8]=0x3f&_0x274f56[0x8]|0x80,unsafeStringify(_0x274f56);}class Descriptor{static ['DESCRIPTOR_NAME'];static ['DESCRIPTOR'];constructor(..._0xc575ce){}}class _0x283e82 extends Descriptor{static ['TYPE']='1000';static ['READABLE_TYPE_NAME'];constructor(..._0x5c1257){super();}static['fromJSON'](_0x44ac95){throw new TypeError('Must\x20be\x20implemented\x20in\x20a\x20child\x20class!');}}class GetUserMessage extends _0x283e82{['id'];static ['TYPE']='21';static ['READABLE_TYPE_NAME']='getUser';static ['DESCRIPTOR_NAME']='GetUserMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x21695e){super(),this['id']=_0x21695e;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0x2f6164){return new GetUserMessage(_0x2f6164['id']);}}class GetUserResponse extends _0x283e82{['attributes'];static ['DESCRIPTOR_NAME']='GetUserResponse';static ['DESCRIPTOR']={'fields':{'attributes':{'rule':'repeated','type':'KeyValueDescriptor','id':0x1}}};constructor(_0x5156c8){super(),this['attributes']=_0x5156c8;}['toJSON'](){return{'attributes':Object['keys'](this['attributes'])['map'](_0x24d2f1=>({'key':_0x24d2f1,'value':JSON['stringify'](this['attributes'][_0x24d2f1])}))};}static['fromJSON'](_0x4661c9){const _0x2fbc42=_0x4661c9['attributes']['reduce']((_0x2c56c6,_0x564427)=>(_0x2c56c6[_0x564427['key']]=_0x564427['value']?JSON['parse'](_0x564427['value']):null,_0x2c56c6),{});return new GetUserResponse(_0x2fbc42);}}const _0x52b808=/* #__PURE__ -- @preserve */
((()=>{var _0x3dd834=minimalExports['Reader'],_0x4ed70c=minimalExports['Writer'],_0xdeaf10=minimalExports['util'],_0x416af3=minimalExports['roots']['default']||(minimalExports['roots']['default']={});return _0x416af3['StringStringPacketDataMessage']=(function(){function _0x447145(_0x55b2a6){if(_0x55b2a6){for(var _0x43a331=Object['keys'](_0x55b2a6),_0x942fc1=0x0;_0x942fc1<_0x43a331['length'];++_0x942fc1)null!=_0x55b2a6[_0x43a331[_0x942fc1]]&&(this[_0x43a331[_0x942fc1]]=_0x55b2a6[_0x43a331[_0x942fc1]]);}}return _0x447145['prototype']['data']='',_0x447145['prototype']['data1']='',_0x447145['create']=function(_0x224772){return new _0x447145(_0x224772);},_0x447145['encode']=function(_0x597c59,_0xda6f2f){return _0xda6f2f||(_0xda6f2f=_0x4ed70c['create']()),null!=_0x597c59['data']&&Object['hasOwnProperty']['call'](_0x597c59,'data')&&_0xda6f2f['uint32'](0xa)['string'](_0x597c59['data']),null!=_0x597c59['data1']&&Object['hasOwnProperty']['call'](_0x597c59,'data1')&&_0xda6f2f['uint32'](0x12)['string'](_0x597c59['data1']),_0xda6f2f;},_0x447145['encodeDelimited']=function(_0x13a484,_0x22ab45){return this['encode'](_0x13a484,_0x22ab45)['ldelim']();},_0x447145['decode']=function(_0x10470c,_0x268c05,_0x540fc8){_0x10470c instanceof _0x3dd834||(_0x10470c=_0x3dd834['create'](_0x10470c));for(var _0x4e04ab=void 0x0===_0x268c05?_0x10470c['len']:_0x10470c['pos']+_0x268c05,_0x4bec84=new _0x416af3['StringStringPacketDataMessage']();_0x10470c['pos']<_0x4e04ab;){var _0x2d008f=_0x10470c['uint32']();if(_0x2d008f===_0x540fc8)break;switch(_0x2d008f>>>0x3){case 0x1:_0x4bec84['data']=_0x10470c['string']();break;case 0x2:_0x4bec84['data1']=_0x10470c['string']();break;default:_0x10470c['skipType'](0x7&_0x2d008f);}}return _0x4bec84;},_0x447145['decodeDelimited']=function(_0x407c65){return _0x407c65 instanceof _0x3dd834||(_0x407c65=new _0x3dd834(_0x407c65)),this['decode'](_0x407c65,_0x407c65['uint32']());},_0x447145['verify']=function(_0x4eda92){return'object'!=typeof _0x4eda92||null===_0x4eda92?'object\x20expected':null!=_0x4eda92['data']&&_0x4eda92['hasOwnProperty']('data')&&!_0xdeaf10['isString'](_0x4eda92['data'])?'data:\x20string\x20expected':null!=_0x4eda92['data1']&&_0x4eda92['hasOwnProperty']('data1')&&!_0xdeaf10['isString'](_0x4eda92['data1'])?'data1:\x20string\x20expected':null;},_0x447145['fromObject']=function(_0x2ad9ba){if(_0x2ad9ba instanceof _0x416af3['StringStringPacketDataMessage'])return _0x2ad9ba;var _0x56def4=new _0x416af3['StringStringPacketDataMessage']();return null!=_0x2ad9ba['data']&&(_0x56def4['data']=String(_0x2ad9ba['data'])),null!=_0x2ad9ba['data1']&&(_0x56def4['data1']=String(_0x2ad9ba['data1'])),_0x56def4;},_0x447145['toObject']=function(_0x41cedb,_0x4dbb8d){_0x4dbb8d||(_0x4dbb8d={});var _0x38cca4={};return _0x4dbb8d['defaults']&&(_0x38cca4['data']='',_0x38cca4['data1']=''),null!=_0x41cedb['data']&&_0x41cedb['hasOwnProperty']('data')&&(_0x38cca4['data']=_0x41cedb['data']),null!=_0x41cedb['data1']&&_0x41cedb['hasOwnProperty']('data1')&&(_0x38cca4['data1']=_0x41cedb['data1']),_0x38cca4;},_0x447145['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x447145['getTypeUrl']=function(_0xe368d9){return void 0x0===_0xe368d9&&(_0xe368d9='type.googleapis.com'),_0xe368d9+'/StringStringPacketDataMessage';},_0x447145;}()),_0x416af3['StringObjectPacketDataMessage']=(function(){function _0x5416c1(_0x36516a){if(_0x36516a){for(var _0x5b73a9=Object['keys'](_0x36516a),_0x43948b=0x0;_0x43948b<_0x5b73a9['length'];++_0x43948b)null!=_0x36516a[_0x5b73a9[_0x43948b]]&&(this[_0x5b73a9[_0x43948b]]=_0x36516a[_0x5b73a9[_0x43948b]]);}}return _0x5416c1['prototype']['data']='',_0x5416c1['prototype']['data1']='',_0x5416c1['create']=function(_0x54afc0){return new _0x5416c1(_0x54afc0);},_0x5416c1['encode']=function(_0x6b52f5,_0x530784){return _0x530784||(_0x530784=_0x4ed70c['create']()),null!=_0x6b52f5['data']&&Object['hasOwnProperty']['call'](_0x6b52f5,'data')&&_0x530784['uint32'](0xa)['string'](_0x6b52f5['data']),null!=_0x6b52f5['data1']&&Object['hasOwnProperty']['call'](_0x6b52f5,'data1')&&_0x530784['uint32'](0x12)['string'](_0x6b52f5['data1']),_0x530784;},_0x5416c1['encodeDelimited']=function(_0x1037fa,_0x243dac){return this['encode'](_0x1037fa,_0x243dac)['ldelim']();},_0x5416c1['decode']=function(_0x528812,_0x507089,_0x102034){_0x528812 instanceof _0x3dd834||(_0x528812=_0x3dd834['create'](_0x528812));for(var _0x123dc3=void 0x0===_0x507089?_0x528812['len']:_0x528812['pos']+_0x507089,_0x5f1f5e=new _0x416af3['StringObjectPacketDataMessage']();_0x528812['pos']<_0x123dc3;){var _0x35e888=_0x528812['uint32']();if(_0x35e888===_0x102034)break;switch(_0x35e888>>>0x3){case 0x1:_0x5f1f5e['data']=_0x528812['string']();break;case 0x2:_0x5f1f5e['data1']=_0x528812['string']();break;default:_0x528812['skipType'](0x7&_0x35e888);}}return _0x5f1f5e;},_0x5416c1['decodeDelimited']=function(_0x3afb87){return _0x3afb87 instanceof _0x3dd834||(_0x3afb87=new _0x3dd834(_0x3afb87)),this['decode'](_0x3afb87,_0x3afb87['uint32']());},_0x5416c1['verify']=function(_0x400286){return'object'!=typeof _0x400286||null===_0x400286?'object\x20expected':null!=_0x400286['data']&&_0x400286['hasOwnProperty']('data')&&!_0xdeaf10['isString'](_0x400286['data'])?'data:\x20string\x20expected':null!=_0x400286['data1']&&_0x400286['hasOwnProperty']('data1')&&!_0xdeaf10['isString'](_0x400286['data1'])?'data1:\x20string\x20expected':null;},_0x5416c1['fromObject']=function(_0x1e8ebb){if(_0x1e8ebb instanceof _0x416af3['StringObjectPacketDataMessage'])return _0x1e8ebb;var _0x48a3d2=new _0x416af3['StringObjectPacketDataMessage']();return null!=_0x1e8ebb['data']&&(_0x48a3d2['data']=String(_0x1e8ebb['data'])),null!=_0x1e8ebb['data1']&&(_0x48a3d2['data1']=String(_0x1e8ebb['data1'])),_0x48a3d2;},_0x5416c1['toObject']=function(_0x6993ac,_0x279b0a){_0x279b0a||(_0x279b0a={});var _0x13f0d2={};return _0x279b0a['defaults']&&(_0x13f0d2['data']='',_0x13f0d2['data1']=''),null!=_0x6993ac['data']&&_0x6993ac['hasOwnProperty']('data')&&(_0x13f0d2['data']=_0x6993ac['data']),null!=_0x6993ac['data1']&&_0x6993ac['hasOwnProperty']('data1')&&(_0x13f0d2['data1']=_0x6993ac['data1']),_0x13f0d2;},_0x5416c1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5416c1['getTypeUrl']=function(_0x2dc744){return void 0x0===_0x2dc744&&(_0x2dc744='type.googleapis.com'),_0x2dc744+'/StringObjectPacketDataMessage';},_0x5416c1;}()),_0x416af3['StringNumberPacketDataMessage']=(function(){function _0x181f72(_0x1d7d41){if(_0x1d7d41){for(var _0x2cefaf=Object['keys'](_0x1d7d41),_0x273bc5=0x0;_0x273bc5<_0x2cefaf['length'];++_0x273bc5)null!=_0x1d7d41[_0x2cefaf[_0x273bc5]]&&(this[_0x2cefaf[_0x273bc5]]=_0x1d7d41[_0x2cefaf[_0x273bc5]]);}}return _0x181f72['prototype']['data']='',_0x181f72['prototype']['data1']=0x0,_0x181f72['create']=function(_0x145d04){return new _0x181f72(_0x145d04);},_0x181f72['encode']=function(_0x46b844,_0x5e9bc9){return _0x5e9bc9||(_0x5e9bc9=_0x4ed70c['create']()),null!=_0x46b844['data']&&Object['hasOwnProperty']['call'](_0x46b844,'data')&&_0x5e9bc9['uint32'](0xa)['string'](_0x46b844['data']),null!=_0x46b844['data1']&&Object['hasOwnProperty']['call'](_0x46b844,'data1')&&_0x5e9bc9['uint32'](0x10)['uint32'](_0x46b844['data1']),_0x5e9bc9;},_0x181f72['encodeDelimited']=function(_0x345469,_0x528dbe){return this['encode'](_0x345469,_0x528dbe)['ldelim']();},_0x181f72['decode']=function(_0x412a4a,_0x8c5bfc,_0x28f860){_0x412a4a instanceof _0x3dd834||(_0x412a4a=_0x3dd834['create'](_0x412a4a));for(var _0x16ce48=void 0x0===_0x8c5bfc?_0x412a4a['len']:_0x412a4a['pos']+_0x8c5bfc,_0x29d3ad=new _0x416af3['StringNumberPacketDataMessage']();_0x412a4a['pos']<_0x16ce48;){var _0x58d828=_0x412a4a['uint32']();if(_0x58d828===_0x28f860)break;switch(_0x58d828>>>0x3){case 0x1:_0x29d3ad['data']=_0x412a4a['string']();break;case 0x2:_0x29d3ad['data1']=_0x412a4a['uint32']();break;default:_0x412a4a['skipType'](0x7&_0x58d828);}}return _0x29d3ad;},_0x181f72['decodeDelimited']=function(_0x56d6c5){return _0x56d6c5 instanceof _0x3dd834||(_0x56d6c5=new _0x3dd834(_0x56d6c5)),this['decode'](_0x56d6c5,_0x56d6c5['uint32']());},_0x181f72['verify']=function(_0x4aa29c){return'object'!=typeof _0x4aa29c||null===_0x4aa29c?'object\x20expected':null!=_0x4aa29c['data']&&_0x4aa29c['hasOwnProperty']('data')&&!_0xdeaf10['isString'](_0x4aa29c['data'])?'data:\x20string\x20expected':null!=_0x4aa29c['data1']&&_0x4aa29c['hasOwnProperty']('data1')&&!_0xdeaf10['isInteger'](_0x4aa29c['data1'])?'data1:\x20integer\x20expected':null;},_0x181f72['fromObject']=function(_0x561e49){if(_0x561e49 instanceof _0x416af3['StringNumberPacketDataMessage'])return _0x561e49;var _0x4d8cab=new _0x416af3['StringNumberPacketDataMessage']();return null!=_0x561e49['data']&&(_0x4d8cab['data']=String(_0x561e49['data'])),null!=_0x561e49['data1']&&(_0x4d8cab['data1']=_0x561e49['data1']>>>0x0),_0x4d8cab;},_0x181f72['toObject']=function(_0x1e3289,_0x1f68b3){_0x1f68b3||(_0x1f68b3={});var _0x158cee={};return _0x1f68b3['defaults']&&(_0x158cee['data']='',_0x158cee['data1']=0x0),null!=_0x1e3289['data']&&_0x1e3289['hasOwnProperty']('data')&&(_0x158cee['data']=_0x1e3289['data']),null!=_0x1e3289['data1']&&_0x1e3289['hasOwnProperty']('data1')&&(_0x158cee['data1']=_0x1e3289['data1']),_0x158cee;},_0x181f72['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x181f72['getTypeUrl']=function(_0x20d275){return void 0x0===_0x20d275&&(_0x20d275='type.googleapis.com'),_0x20d275+'/StringNumberPacketDataMessage';},_0x181f72;}()),_0x416af3['StringBytesPacketDataMessage']=(function(){function _0x10f24a(_0x16cc3d){if(_0x16cc3d){for(var _0x48232a=Object['keys'](_0x16cc3d),_0x26cc14=0x0;_0x26cc14<_0x48232a['length'];++_0x26cc14)null!=_0x16cc3d[_0x48232a[_0x26cc14]]&&(this[_0x48232a[_0x26cc14]]=_0x16cc3d[_0x48232a[_0x26cc14]]);}}return _0x10f24a['prototype']['data']='',_0x10f24a['prototype']['data1']=_0xdeaf10['newBuffer']([]),_0x10f24a['create']=function(_0x2b51f8){return new _0x10f24a(_0x2b51f8);},_0x10f24a['encode']=function(_0x14af04,_0x1efd12){return _0x1efd12||(_0x1efd12=_0x4ed70c['create']()),null!=_0x14af04['data']&&Object['hasOwnProperty']['call'](_0x14af04,'data')&&_0x1efd12['uint32'](0xa)['string'](_0x14af04['data']),null!=_0x14af04['data1']&&Object['hasOwnProperty']['call'](_0x14af04,'data1')&&_0x1efd12['uint32'](0x12)['bytes'](_0x14af04['data1']),_0x1efd12;},_0x10f24a['encodeDelimited']=function(_0x4dcb20,_0x61e9bd){return this['encode'](_0x4dcb20,_0x61e9bd)['ldelim']();},_0x10f24a['decode']=function(_0x48fd1b,_0x2fb5e7,_0xb5737c){_0x48fd1b instanceof _0x3dd834||(_0x48fd1b=_0x3dd834['create'](_0x48fd1b));for(var _0x203b31=void 0x0===_0x2fb5e7?_0x48fd1b['len']:_0x48fd1b['pos']+_0x2fb5e7,_0x7e13bc=new _0x416af3['StringBytesPacketDataMessage']();_0x48fd1b['pos']<_0x203b31;){var _0x513ff0=_0x48fd1b['uint32']();if(_0x513ff0===_0xb5737c)break;switch(_0x513ff0>>>0x3){case 0x1:_0x7e13bc['data']=_0x48fd1b['string']();break;case 0x2:_0x7e13bc['data1']=_0x48fd1b['bytes']();break;default:_0x48fd1b['skipType'](0x7&_0x513ff0);}}return _0x7e13bc;},_0x10f24a['decodeDelimited']=function(_0x28ebf0){return _0x28ebf0 instanceof _0x3dd834||(_0x28ebf0=new _0x3dd834(_0x28ebf0)),this['decode'](_0x28ebf0,_0x28ebf0['uint32']());},_0x10f24a['verify']=function(_0x2054e5){return'object'!=typeof _0x2054e5||null===_0x2054e5?'object\x20expected':null!=_0x2054e5['data']&&_0x2054e5['hasOwnProperty']('data')&&!_0xdeaf10['isString'](_0x2054e5['data'])?'data:\x20string\x20expected':null!=_0x2054e5['data1']&&_0x2054e5['hasOwnProperty']('data1')&&!(_0x2054e5['data1']&&'number'==typeof _0x2054e5['data1']['length']||_0xdeaf10['isString'](_0x2054e5['data1']))?'data1:\x20buffer\x20expected':null;},_0x10f24a['fromObject']=function(_0xcbccb0){if(_0xcbccb0 instanceof _0x416af3['StringBytesPacketDataMessage'])return _0xcbccb0;var _0x49ab67=new _0x416af3['StringBytesPacketDataMessage']();return null!=_0xcbccb0['data']&&(_0x49ab67['data']=String(_0xcbccb0['data'])),null!=_0xcbccb0['data1']&&('string'==typeof _0xcbccb0['data1']?_0xdeaf10['base64']['decode'](_0xcbccb0['data1'],_0x49ab67['data1']=_0xdeaf10['newBuffer'](_0xdeaf10['base64']['length'](_0xcbccb0['data1'])),0x0):_0xcbccb0['data1']['length']>=0x0&&(_0x49ab67['data1']=_0xcbccb0['data1'])),_0x49ab67;},_0x10f24a['toObject']=function(_0x265978,_0x486cb7){_0x486cb7||(_0x486cb7={});var _0x369acc={};return _0x486cb7['defaults']&&(_0x369acc['data']='',_0x486cb7['bytes']===String?_0x369acc['data1']='':(_0x369acc['data1']=[],_0x486cb7['bytes']!==Array&&(_0x369acc['data1']=_0xdeaf10['newBuffer'](_0x369acc['data1'])))),null!=_0x265978['data']&&_0x265978['hasOwnProperty']('data')&&(_0x369acc['data']=_0x265978['data']),null!=_0x265978['data1']&&_0x265978['hasOwnProperty']('data1')&&(_0x369acc['data1']=_0x486cb7['bytes']===String?_0xdeaf10['base64']['encode'](_0x265978['data1'],0x0,_0x265978['data1']['length']):_0x486cb7['bytes']===Array?Array['prototype']['slice']['call'](_0x265978['data1']):_0x265978['data1']),_0x369acc;},_0x10f24a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x10f24a['getTypeUrl']=function(_0x590835){return void 0x0===_0x590835&&(_0x590835='type.googleapis.com'),_0x590835+'/StringBytesPacketDataMessage';},_0x10f24a;}()),_0x416af3['PacketOptionsMessage']=(function(){function _0x217601(_0x323f00){if(this['rooms']=[],this['except']=[],_0x323f00){for(var _0x4531b0=Object['keys'](_0x323f00),_0x479111=0x0;_0x479111<_0x4531b0['length'];++_0x479111)null!=_0x323f00[_0x4531b0[_0x479111]]&&(this[_0x4531b0[_0x479111]]=_0x323f00[_0x4531b0[_0x479111]]);}}return _0x217601['prototype']['flags']='',_0x217601['prototype']['rooms']=_0xdeaf10['emptyArray'],_0x217601['prototype']['except']=_0xdeaf10['emptyArray'],_0x217601['create']=function(_0xe346ae){return new _0x217601(_0xe346ae);},_0x217601['encode']=function(_0x92b08c,_0x1dbfaa){if(_0x1dbfaa||(_0x1dbfaa=_0x4ed70c['create']()),null!=_0x92b08c['flags']&&Object['hasOwnProperty']['call'](_0x92b08c,'flags')&&_0x1dbfaa['uint32'](0xa)['string'](_0x92b08c['flags']),null!=_0x92b08c['rooms']&&_0x92b08c['rooms']['length']){for(var _0x85f19f=0x0;_0x85f19f<_0x92b08c['rooms']['length'];++_0x85f19f)_0x1dbfaa['uint32'](0x12)['string'](_0x92b08c['rooms'][_0x85f19f]);}if(null!=_0x92b08c['except']&&_0x92b08c['except']['length']){for(_0x85f19f=0x0;_0x85f19f<_0x92b08c['except']['length'];++_0x85f19f)_0x1dbfaa['uint32'](0x1a)['string'](_0x92b08c['except'][_0x85f19f]);}return _0x1dbfaa;},_0x217601['encodeDelimited']=function(_0xe3fe5a,_0x27c5c1){return this['encode'](_0xe3fe5a,_0x27c5c1)['ldelim']();},_0x217601['decode']=function(_0x4a35b8,_0x11c2e8,_0x276de0){_0x4a35b8 instanceof _0x3dd834||(_0x4a35b8=_0x3dd834['create'](_0x4a35b8));for(var _0x3a2e4c=void 0x0===_0x11c2e8?_0x4a35b8['len']:_0x4a35b8['pos']+_0x11c2e8,_0x28a1f0=new _0x416af3['PacketOptionsMessage']();_0x4a35b8['pos']<_0x3a2e4c;){var _0x514f2f=_0x4a35b8['uint32']();if(_0x514f2f===_0x276de0)break;switch(_0x514f2f>>>0x3){case 0x1:_0x28a1f0['flags']=_0x4a35b8['string']();break;case 0x2:_0x28a1f0['rooms']&&_0x28a1f0['rooms']['length']||(_0x28a1f0['rooms']=[]),_0x28a1f0['rooms']['push'](_0x4a35b8['string']());break;case 0x3:_0x28a1f0['except']&&_0x28a1f0['except']['length']||(_0x28a1f0['except']=[]),_0x28a1f0['except']['push'](_0x4a35b8['string']());break;default:_0x4a35b8['skipType'](0x7&_0x514f2f);}}return _0x28a1f0;},_0x217601['decodeDelimited']=function(_0x27c837){return _0x27c837 instanceof _0x3dd834||(_0x27c837=new _0x3dd834(_0x27c837)),this['decode'](_0x27c837,_0x27c837['uint32']());},_0x217601['verify']=function(_0x2f6cce){if('object'!=typeof _0x2f6cce||null===_0x2f6cce)return'object\x20expected';if(null!=_0x2f6cce['flags']&&_0x2f6cce['hasOwnProperty']('flags')&&!_0xdeaf10['isString'](_0x2f6cce['flags']))return'flags:\x20string\x20expected';if(null!=_0x2f6cce['rooms']&&_0x2f6cce['hasOwnProperty']('rooms')){if(!Array['isArray'](_0x2f6cce['rooms']))return'rooms:\x20array\x20expected';for(var _0x5d5839=0x0;_0x5d5839<_0x2f6cce['rooms']['length'];++_0x5d5839)if(!_0xdeaf10['isString'](_0x2f6cce['rooms'][_0x5d5839]))return'rooms:\x20string[]\x20expected';}if(null!=_0x2f6cce['except']&&_0x2f6cce['hasOwnProperty']('except')){if(!Array['isArray'](_0x2f6cce['except']))return'except:\x20array\x20expected';for(_0x5d5839=0x0;_0x5d5839<_0x2f6cce['except']['length'];++_0x5d5839)if(!_0xdeaf10['isString'](_0x2f6cce['except'][_0x5d5839]))return'except:\x20string[]\x20expected';}return null;},_0x217601['fromObject']=function(_0x1139a2){if(_0x1139a2 instanceof _0x416af3['PacketOptionsMessage'])return _0x1139a2;var _0x3ebbb1=new _0x416af3['PacketOptionsMessage']();if(null!=_0x1139a2['flags']&&(_0x3ebbb1['flags']=String(_0x1139a2['flags'])),_0x1139a2['rooms']){if(!Array['isArray'](_0x1139a2['rooms']))throw TypeError('.PacketOptionsMessage.rooms:\x20array\x20expected');_0x3ebbb1['rooms']=[];for(var _0x21e4b9=0x0;_0x21e4b9<_0x1139a2['rooms']['length'];++_0x21e4b9)_0x3ebbb1['rooms'][_0x21e4b9]=String(_0x1139a2['rooms'][_0x21e4b9]);}if(_0x1139a2['except']){if(!Array['isArray'](_0x1139a2['except']))throw TypeError('.PacketOptionsMessage.except:\x20array\x20expected');for(_0x3ebbb1['except']=[],_0x21e4b9=0x0;_0x21e4b9<_0x1139a2['except']['length'];++_0x21e4b9)_0x3ebbb1['except'][_0x21e4b9]=String(_0x1139a2['except'][_0x21e4b9]);}return _0x3ebbb1;},_0x217601['toObject']=function(_0x53befe,_0x37aaf2){_0x37aaf2||(_0x37aaf2={});var _0x2a31b6={};if((_0x37aaf2['arrays']||_0x37aaf2['defaults'])&&(_0x2a31b6['rooms']=[],_0x2a31b6['except']=[]),_0x37aaf2['defaults']&&(_0x2a31b6['flags']=''),null!=_0x53befe['flags']&&_0x53befe['hasOwnProperty']('flags')&&(_0x2a31b6['flags']=_0x53befe['flags']),_0x53befe['rooms']&&_0x53befe['rooms']['length']){_0x2a31b6['rooms']=[];for(var _0xe21c2e=0x0;_0xe21c2e<_0x53befe['rooms']['length'];++_0xe21c2e)_0x2a31b6['rooms'][_0xe21c2e]=_0x53befe['rooms'][_0xe21c2e];}if(_0x53befe['except']&&_0x53befe['except']['length']){for(_0x2a31b6['except']=[],_0xe21c2e=0x0;_0xe21c2e<_0x53befe['except']['length'];++_0xe21c2e)_0x2a31b6['except'][_0xe21c2e]=_0x53befe['except'][_0xe21c2e];}return _0x2a31b6;},_0x217601['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x217601['getTypeUrl']=function(_0x1e56aa){return void 0x0===_0x1e56aa&&(_0x1e56aa='type.googleapis.com'),_0x1e56aa+'/PacketOptionsMessage';},_0x217601;}()),_0x416af3['PacketMessage']=(function(){function _0x1ddc6b(_0x4e4c3f){if(_0x4e4c3f){for(var _0x3b8db9=Object['keys'](_0x4e4c3f),_0x209f94=0x0;_0x209f94<_0x3b8db9['length'];++_0x209f94)null!=_0x4e4c3f[_0x3b8db9[_0x209f94]]&&(this[_0x3b8db9[_0x209f94]]=_0x4e4c3f[_0x3b8db9[_0x209f94]]);}}return _0x1ddc6b['prototype']['type']=0x0,_0x1ddc6b['prototype']['id']=0x0,_0x1ddc6b['prototype']['nsp']='',_0x1ddc6b['prototype']['data']=_0xdeaf10['newBuffer']([]),_0x1ddc6b['prototype']['options']=_0xdeaf10['newBuffer']([]),_0x1ddc6b['create']=function(_0x19cfaa){return new _0x1ddc6b(_0x19cfaa);},_0x1ddc6b['encode']=function(_0x24d51c,_0x3fe658){return _0x3fe658||(_0x3fe658=_0x4ed70c['create']()),null!=_0x24d51c['type']&&Object['hasOwnProperty']['call'](_0x24d51c,'type')&&_0x3fe658['uint32'](0x8)['uint32'](_0x24d51c['type']),null!=_0x24d51c['id']&&Object['hasOwnProperty']['call'](_0x24d51c,'id')&&_0x3fe658['uint32'](0x10)['uint32'](_0x24d51c['id']),null!=_0x24d51c['nsp']&&Object['hasOwnProperty']['call'](_0x24d51c,'nsp')&&_0x3fe658['uint32'](0x1a)['string'](_0x24d51c['nsp']),null!=_0x24d51c['data']&&Object['hasOwnProperty']['call'](_0x24d51c,'data')&&_0x3fe658['uint32'](0x22)['bytes'](_0x24d51c['data']),null!=_0x24d51c['options']&&Object['hasOwnProperty']['call'](_0x24d51c,'options')&&_0x3fe658['uint32'](0x2a)['bytes'](_0x24d51c['options']),_0x3fe658;},_0x1ddc6b['encodeDelimited']=function(_0x29c9d2,_0x2a32f7){return this['encode'](_0x29c9d2,_0x2a32f7)['ldelim']();},_0x1ddc6b['decode']=function(_0x3638d5,_0x5f86a2,_0x396b09){_0x3638d5 instanceof _0x3dd834||(_0x3638d5=_0x3dd834['create'](_0x3638d5));for(var _0x4cb0e0=void 0x0===_0x5f86a2?_0x3638d5['len']:_0x3638d5['pos']+_0x5f86a2,_0xacc54f=new _0x416af3['PacketMessage']();_0x3638d5['pos']<_0x4cb0e0;){var _0x1991fc=_0x3638d5['uint32']();if(_0x1991fc===_0x396b09)break;switch(_0x1991fc>>>0x3){case 0x1:_0xacc54f['type']=_0x3638d5['uint32']();break;case 0x2:_0xacc54f['id']=_0x3638d5['uint32']();break;case 0x3:_0xacc54f['nsp']=_0x3638d5['string']();break;case 0x4:_0xacc54f['data']=_0x3638d5['bytes']();break;case 0x5:_0xacc54f['options']=_0x3638d5['bytes']();break;default:_0x3638d5['skipType'](0x7&_0x1991fc);}}return _0xacc54f;},_0x1ddc6b['decodeDelimited']=function(_0x4918ca){return _0x4918ca instanceof _0x3dd834||(_0x4918ca=new _0x3dd834(_0x4918ca)),this['decode'](_0x4918ca,_0x4918ca['uint32']());},_0x1ddc6b['verify']=function(_0x29d772){return'object'!=typeof _0x29d772||null===_0x29d772?'object\x20expected':null!=_0x29d772['type']&&_0x29d772['hasOwnProperty']('type')&&!_0xdeaf10['isInteger'](_0x29d772['type'])?'type:\x20integer\x20expected':null!=_0x29d772['id']&&_0x29d772['hasOwnProperty']('id')&&!_0xdeaf10['isInteger'](_0x29d772['id'])?'id:\x20integer\x20expected':null!=_0x29d772['nsp']&&_0x29d772['hasOwnProperty']('nsp')&&!_0xdeaf10['isString'](_0x29d772['nsp'])?'nsp:\x20string\x20expected':null!=_0x29d772['data']&&_0x29d772['hasOwnProperty']('data')&&!(_0x29d772['data']&&'number'==typeof _0x29d772['data']['length']||_0xdeaf10['isString'](_0x29d772['data']))?'data:\x20buffer\x20expected':null!=_0x29d772['options']&&_0x29d772['hasOwnProperty']('options')&&!(_0x29d772['options']&&'number'==typeof _0x29d772['options']['length']||_0xdeaf10['isString'](_0x29d772['options']))?'options:\x20buffer\x20expected':null;},_0x1ddc6b['fromObject']=function(_0x5a8ddc){if(_0x5a8ddc instanceof _0x416af3['PacketMessage'])return _0x5a8ddc;var _0x438f08=new _0x416af3['PacketMessage']();return null!=_0x5a8ddc['type']&&(_0x438f08['type']=_0x5a8ddc['type']>>>0x0),null!=_0x5a8ddc['id']&&(_0x438f08['id']=_0x5a8ddc['id']>>>0x0),null!=_0x5a8ddc['nsp']&&(_0x438f08['nsp']=String(_0x5a8ddc['nsp'])),null!=_0x5a8ddc['data']&&('string'==typeof _0x5a8ddc['data']?_0xdeaf10['base64']['decode'](_0x5a8ddc['data'],_0x438f08['data']=_0xdeaf10['newBuffer'](_0xdeaf10['base64']['length'](_0x5a8ddc['data'])),0x0):_0x5a8ddc['data']['length']>=0x0&&(_0x438f08['data']=_0x5a8ddc['data'])),null!=_0x5a8ddc['options']&&('string'==typeof _0x5a8ddc['options']?_0xdeaf10['base64']['decode'](_0x5a8ddc['options'],_0x438f08['options']=_0xdeaf10['newBuffer'](_0xdeaf10['base64']['length'](_0x5a8ddc['options'])),0x0):_0x5a8ddc['options']['length']>=0x0&&(_0x438f08['options']=_0x5a8ddc['options'])),_0x438f08;},_0x1ddc6b['toObject']=function(_0x2f0963,_0x369f8f){_0x369f8f||(_0x369f8f={});var _0x3239a4={};return _0x369f8f['defaults']&&(_0x3239a4['type']=0x0,_0x3239a4['id']=0x0,_0x3239a4['nsp']='',_0x369f8f['bytes']===String?_0x3239a4['data']='':(_0x3239a4['data']=[],_0x369f8f['bytes']!==Array&&(_0x3239a4['data']=_0xdeaf10['newBuffer'](_0x3239a4['data']))),_0x369f8f['bytes']===String?_0x3239a4['options']='':(_0x3239a4['options']=[],_0x369f8f['bytes']!==Array&&(_0x3239a4['options']=_0xdeaf10['newBuffer'](_0x3239a4['options'])))),null!=_0x2f0963['type']&&_0x2f0963['hasOwnProperty']('type')&&(_0x3239a4['type']=_0x2f0963['type']),null!=_0x2f0963['id']&&_0x2f0963['hasOwnProperty']('id')&&(_0x3239a4['id']=_0x2f0963['id']),null!=_0x2f0963['nsp']&&_0x2f0963['hasOwnProperty']('nsp')&&(_0x3239a4['nsp']=_0x2f0963['nsp']),null!=_0x2f0963['data']&&_0x2f0963['hasOwnProperty']('data')&&(_0x3239a4['data']=_0x369f8f['bytes']===String?_0xdeaf10['base64']['encode'](_0x2f0963['data'],0x0,_0x2f0963['data']['length']):_0x369f8f['bytes']===Array?Array['prototype']['slice']['call'](_0x2f0963['data']):_0x2f0963['data']),null!=_0x2f0963['options']&&_0x2f0963['hasOwnProperty']('options')&&(_0x3239a4['options']=_0x369f8f['bytes']===String?_0xdeaf10['base64']['encode'](_0x2f0963['options'],0x0,_0x2f0963['options']['length']):_0x369f8f['bytes']===Array?Array['prototype']['slice']['call'](_0x2f0963['options']):_0x2f0963['options']),_0x3239a4;},_0x1ddc6b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1ddc6b['getTypeUrl']=function(_0x305ea8){return void 0x0===_0x305ea8&&(_0x305ea8='type.googleapis.com'),_0x305ea8+'/PacketMessage';},_0x1ddc6b;}()),_0x416af3['ObjectObjectPacketDataMessage']=(function(){function _0x16d3c5(_0x15c420){if(_0x15c420){for(var _0x2728c5=Object['keys'](_0x15c420),_0x5f4291=0x0;_0x5f4291<_0x2728c5['length'];++_0x5f4291)null!=_0x15c420[_0x2728c5[_0x5f4291]]&&(this[_0x2728c5[_0x5f4291]]=_0x15c420[_0x2728c5[_0x5f4291]]);}}return _0x16d3c5['prototype']['data']='',_0x16d3c5['prototype']['data1']='',_0x16d3c5['create']=function(_0x58fa3f){return new _0x16d3c5(_0x58fa3f);},_0x16d3c5['encode']=function(_0x1113ae,_0x14020b){return _0x14020b||(_0x14020b=_0x4ed70c['create']()),null!=_0x1113ae['data']&&Object['hasOwnProperty']['call'](_0x1113ae,'data')&&_0x14020b['uint32'](0xa)['string'](_0x1113ae['data']),null!=_0x1113ae['data1']&&Object['hasOwnProperty']['call'](_0x1113ae,'data1')&&_0x14020b['uint32'](0x12)['string'](_0x1113ae['data1']),_0x14020b;},_0x16d3c5['encodeDelimited']=function(_0xb28830,_0x238186){return this['encode'](_0xb28830,_0x238186)['ldelim']();},_0x16d3c5['decode']=function(_0x565932,_0x4f9cea,_0x4b01b0){_0x565932 instanceof _0x3dd834||(_0x565932=_0x3dd834['create'](_0x565932));for(var _0x46b7bc=void 0x0===_0x4f9cea?_0x565932['len']:_0x565932['pos']+_0x4f9cea,_0x3baa8f=new _0x416af3['ObjectObjectPacketDataMessage']();_0x565932['pos']<_0x46b7bc;){var _0x98fe25=_0x565932['uint32']();if(_0x98fe25===_0x4b01b0)break;switch(_0x98fe25>>>0x3){case 0x1:_0x3baa8f['data']=_0x565932['string']();break;case 0x2:_0x3baa8f['data1']=_0x565932['string']();break;default:_0x565932['skipType'](0x7&_0x98fe25);}}return _0x3baa8f;},_0x16d3c5['decodeDelimited']=function(_0x20bc72){return _0x20bc72 instanceof _0x3dd834||(_0x20bc72=new _0x3dd834(_0x20bc72)),this['decode'](_0x20bc72,_0x20bc72['uint32']());},_0x16d3c5['verify']=function(_0x23a5ae){return'object'!=typeof _0x23a5ae||null===_0x23a5ae?'object\x20expected':null!=_0x23a5ae['data']&&_0x23a5ae['hasOwnProperty']('data')&&!_0xdeaf10['isString'](_0x23a5ae['data'])?'data:\x20string\x20expected':null!=_0x23a5ae['data1']&&_0x23a5ae['hasOwnProperty']('data1')&&!_0xdeaf10['isString'](_0x23a5ae['data1'])?'data1:\x20string\x20expected':null;},_0x16d3c5['fromObject']=function(_0x3a3dfc){if(_0x3a3dfc instanceof _0x416af3['ObjectObjectPacketDataMessage'])return _0x3a3dfc;var _0x243943=new _0x416af3['ObjectObjectPacketDataMessage']();return null!=_0x3a3dfc['data']&&(_0x243943['data']=String(_0x3a3dfc['data'])),null!=_0x3a3dfc['data1']&&(_0x243943['data1']=String(_0x3a3dfc['data1'])),_0x243943;},_0x16d3c5['toObject']=function(_0x15407a,_0xf1524a){_0xf1524a||(_0xf1524a={});var _0x5cb7b3={};return _0xf1524a['defaults']&&(_0x5cb7b3['data']='',_0x5cb7b3['data1']=''),null!=_0x15407a['data']&&_0x15407a['hasOwnProperty']('data')&&(_0x5cb7b3['data']=_0x15407a['data']),null!=_0x15407a['data1']&&_0x15407a['hasOwnProperty']('data1')&&(_0x5cb7b3['data1']=_0x15407a['data1']),_0x5cb7b3;},_0x16d3c5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x16d3c5['getTypeUrl']=function(_0x4c3c5d){return void 0x0===_0x4c3c5d&&(_0x4c3c5d='type.googleapis.com'),_0x4c3c5d+'/ObjectObjectPacketDataMessage';},_0x16d3c5;}()),_0x416af3['ObjectBufferPacketDataMessage']=(function(){function _0x541a89(_0x5cb0fc){if(_0x5cb0fc){for(var _0x3281e0=Object['keys'](_0x5cb0fc),_0x31ecd2=0x0;_0x31ecd2<_0x3281e0['length'];++_0x31ecd2)null!=_0x5cb0fc[_0x3281e0[_0x31ecd2]]&&(this[_0x3281e0[_0x31ecd2]]=_0x5cb0fc[_0x3281e0[_0x31ecd2]]);}}return _0x541a89['prototype']['data']='',_0x541a89['prototype']['data1']=_0xdeaf10['newBuffer']([]),_0x541a89['create']=function(_0xc435fd){return new _0x541a89(_0xc435fd);},_0x541a89['encode']=function(_0x173960,_0x47d3be){return _0x47d3be||(_0x47d3be=_0x4ed70c['create']()),null!=_0x173960['data']&&Object['hasOwnProperty']['call'](_0x173960,'data')&&_0x47d3be['uint32'](0xa)['string'](_0x173960['data']),null!=_0x173960['data1']&&Object['hasOwnProperty']['call'](_0x173960,'data1')&&_0x47d3be['uint32'](0x12)['bytes'](_0x173960['data1']),_0x47d3be;},_0x541a89['encodeDelimited']=function(_0x5c7b16,_0xe15358){return this['encode'](_0x5c7b16,_0xe15358)['ldelim']();},_0x541a89['decode']=function(_0x579208,_0x300eed,_0x2bf269){_0x579208 instanceof _0x3dd834||(_0x579208=_0x3dd834['create'](_0x579208));for(var _0x4dfea6=void 0x0===_0x300eed?_0x579208['len']:_0x579208['pos']+_0x300eed,_0xf7b250=new _0x416af3['ObjectBufferPacketDataMessage']();_0x579208['pos']<_0x4dfea6;){var _0x37f127=_0x579208['uint32']();if(_0x37f127===_0x2bf269)break;switch(_0x37f127>>>0x3){case 0x1:_0xf7b250['data']=_0x579208['string']();break;case 0x2:_0xf7b250['data1']=_0x579208['bytes']();break;default:_0x579208['skipType'](0x7&_0x37f127);}}return _0xf7b250;},_0x541a89['decodeDelimited']=function(_0x539d90){return _0x539d90 instanceof _0x3dd834||(_0x539d90=new _0x3dd834(_0x539d90)),this['decode'](_0x539d90,_0x539d90['uint32']());},_0x541a89['verify']=function(_0x337346){return'object'!=typeof _0x337346||null===_0x337346?'object\x20expected':null!=_0x337346['data']&&_0x337346['hasOwnProperty']('data')&&!_0xdeaf10['isString'](_0x337346['data'])?'data:\x20string\x20expected':null!=_0x337346['data1']&&_0x337346['hasOwnProperty']('data1')&&!(_0x337346['data1']&&'number'==typeof _0x337346['data1']['length']||_0xdeaf10['isString'](_0x337346['data1']))?'data1:\x20buffer\x20expected':null;},_0x541a89['fromObject']=function(_0x131a24){if(_0x131a24 instanceof _0x416af3['ObjectBufferPacketDataMessage'])return _0x131a24;var _0x32b716=new _0x416af3['ObjectBufferPacketDataMessage']();return null!=_0x131a24['data']&&(_0x32b716['data']=String(_0x131a24['data'])),null!=_0x131a24['data1']&&('string'==typeof _0x131a24['data1']?_0xdeaf10['base64']['decode'](_0x131a24['data1'],_0x32b716['data1']=_0xdeaf10['newBuffer'](_0xdeaf10['base64']['length'](_0x131a24['data1'])),0x0):_0x131a24['data1']['length']>=0x0&&(_0x32b716['data1']=_0x131a24['data1'])),_0x32b716;},_0x541a89['toObject']=function(_0x4f07b6,_0x274be8){_0x274be8||(_0x274be8={});var _0x1c1022={};return _0x274be8['defaults']&&(_0x1c1022['data']='',_0x274be8['bytes']===String?_0x1c1022['data1']='':(_0x1c1022['data1']=[],_0x274be8['bytes']!==Array&&(_0x1c1022['data1']=_0xdeaf10['newBuffer'](_0x1c1022['data1'])))),null!=_0x4f07b6['data']&&_0x4f07b6['hasOwnProperty']('data')&&(_0x1c1022['data']=_0x4f07b6['data']),null!=_0x4f07b6['data1']&&_0x4f07b6['hasOwnProperty']('data1')&&(_0x1c1022['data1']=_0x274be8['bytes']===String?_0xdeaf10['base64']['encode'](_0x4f07b6['data1'],0x0,_0x4f07b6['data1']['length']):_0x274be8['bytes']===Array?Array['prototype']['slice']['call'](_0x4f07b6['data1']):_0x4f07b6['data1']),_0x1c1022;},_0x541a89['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x541a89['getTypeUrl']=function(_0x2193b3){return void 0x0===_0x2193b3&&(_0x2193b3='type.googleapis.com'),_0x2193b3+'/ObjectBufferPacketDataMessage';},_0x541a89;}()),_0x416af3['NumberStringPacketDataMessage']=(function(){function _0xb7f82a(_0xad0c9a){if(_0xad0c9a){for(var _0x41e61d=Object['keys'](_0xad0c9a),_0x5625d6=0x0;_0x5625d6<_0x41e61d['length'];++_0x5625d6)null!=_0xad0c9a[_0x41e61d[_0x5625d6]]&&(this[_0x41e61d[_0x5625d6]]=_0xad0c9a[_0x41e61d[_0x5625d6]]);}}return _0xb7f82a['prototype']['data']=0x0,_0xb7f82a['prototype']['data1']='',_0xb7f82a['create']=function(_0x3e1bac){return new _0xb7f82a(_0x3e1bac);},_0xb7f82a['encode']=function(_0x24ac0f,_0x326640){return _0x326640||(_0x326640=_0x4ed70c['create']()),null!=_0x24ac0f['data']&&Object['hasOwnProperty']['call'](_0x24ac0f,'data')&&_0x326640['uint32'](0x8)['uint32'](_0x24ac0f['data']),null!=_0x24ac0f['data1']&&Object['hasOwnProperty']['call'](_0x24ac0f,'data1')&&_0x326640['uint32'](0x12)['string'](_0x24ac0f['data1']),_0x326640;},_0xb7f82a['encodeDelimited']=function(_0x1a8281,_0x38dcc5){return this['encode'](_0x1a8281,_0x38dcc5)['ldelim']();},_0xb7f82a['decode']=function(_0x4606c7,_0x3c0b12,_0x368490){_0x4606c7 instanceof _0x3dd834||(_0x4606c7=_0x3dd834['create'](_0x4606c7));for(var _0x5621e2=void 0x0===_0x3c0b12?_0x4606c7['len']:_0x4606c7['pos']+_0x3c0b12,_0x3ae16c=new _0x416af3['NumberStringPacketDataMessage']();_0x4606c7['pos']<_0x5621e2;){var _0x5b5481=_0x4606c7['uint32']();if(_0x5b5481===_0x368490)break;switch(_0x5b5481>>>0x3){case 0x1:_0x3ae16c['data']=_0x4606c7['uint32']();break;case 0x2:_0x3ae16c['data1']=_0x4606c7['string']();break;default:_0x4606c7['skipType'](0x7&_0x5b5481);}}return _0x3ae16c;},_0xb7f82a['decodeDelimited']=function(_0x44c435){return _0x44c435 instanceof _0x3dd834||(_0x44c435=new _0x3dd834(_0x44c435)),this['decode'](_0x44c435,_0x44c435['uint32']());},_0xb7f82a['verify']=function(_0x4700bb){return'object'!=typeof _0x4700bb||null===_0x4700bb?'object\x20expected':null!=_0x4700bb['data']&&_0x4700bb['hasOwnProperty']('data')&&!_0xdeaf10['isInteger'](_0x4700bb['data'])?'data:\x20integer\x20expected':null!=_0x4700bb['data1']&&_0x4700bb['hasOwnProperty']('data1')&&!_0xdeaf10['isString'](_0x4700bb['data1'])?'data1:\x20string\x20expected':null;},_0xb7f82a['fromObject']=function(_0x3e282d){if(_0x3e282d instanceof _0x416af3['NumberStringPacketDataMessage'])return _0x3e282d;var _0x425e91=new _0x416af3['NumberStringPacketDataMessage']();return null!=_0x3e282d['data']&&(_0x425e91['data']=_0x3e282d['data']>>>0x0),null!=_0x3e282d['data1']&&(_0x425e91['data1']=String(_0x3e282d['data1'])),_0x425e91;},_0xb7f82a['toObject']=function(_0x3b1864,_0x5a0e6a){_0x5a0e6a||(_0x5a0e6a={});var _0x2e9ad3={};return _0x5a0e6a['defaults']&&(_0x2e9ad3['data']=0x0,_0x2e9ad3['data1']=''),null!=_0x3b1864['data']&&_0x3b1864['hasOwnProperty']('data')&&(_0x2e9ad3['data']=_0x3b1864['data']),null!=_0x3b1864['data1']&&_0x3b1864['hasOwnProperty']('data1')&&(_0x2e9ad3['data1']=_0x3b1864['data1']),_0x2e9ad3;},_0xb7f82a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xb7f82a['getTypeUrl']=function(_0xa59b4e){return void 0x0===_0xa59b4e&&(_0xa59b4e='type.googleapis.com'),_0xa59b4e+'/NumberStringPacketDataMessage';},_0xb7f82a;}()),_0x416af3['NumberObjectPacketDataMessage']=(function(){function _0x21a823(_0x25acb2){if(_0x25acb2){for(var _0x852b60=Object['keys'](_0x25acb2),_0x333e51=0x0;_0x333e51<_0x852b60['length'];++_0x333e51)null!=_0x25acb2[_0x852b60[_0x333e51]]&&(this[_0x852b60[_0x333e51]]=_0x25acb2[_0x852b60[_0x333e51]]);}}return _0x21a823['prototype']['data']=0x0,_0x21a823['prototype']['data1']='',_0x21a823['create']=function(_0x4e7678){return new _0x21a823(_0x4e7678);},_0x21a823['encode']=function(_0x17035a,_0x111105){return _0x111105||(_0x111105=_0x4ed70c['create']()),null!=_0x17035a['data']&&Object['hasOwnProperty']['call'](_0x17035a,'data')&&_0x111105['uint32'](0x8)['uint32'](_0x17035a['data']),null!=_0x17035a['data1']&&Object['hasOwnProperty']['call'](_0x17035a,'data1')&&_0x111105['uint32'](0x12)['string'](_0x17035a['data1']),_0x111105;},_0x21a823['encodeDelimited']=function(_0x3ca32f,_0x2fe88a){return this['encode'](_0x3ca32f,_0x2fe88a)['ldelim']();},_0x21a823['decode']=function(_0x170e6a,_0x3f25df,_0x200bd2){_0x170e6a instanceof _0x3dd834||(_0x170e6a=_0x3dd834['create'](_0x170e6a));for(var _0x260e89=void 0x0===_0x3f25df?_0x170e6a['len']:_0x170e6a['pos']+_0x3f25df,_0x5828c0=new _0x416af3['NumberObjectPacketDataMessage']();_0x170e6a['pos']<_0x260e89;){var _0x38108a=_0x170e6a['uint32']();if(_0x38108a===_0x200bd2)break;switch(_0x38108a>>>0x3){case 0x1:_0x5828c0['data']=_0x170e6a['uint32']();break;case 0x2:_0x5828c0['data1']=_0x170e6a['string']();break;default:_0x170e6a['skipType'](0x7&_0x38108a);}}return _0x5828c0;},_0x21a823['decodeDelimited']=function(_0xc1fa62){return _0xc1fa62 instanceof _0x3dd834||(_0xc1fa62=new _0x3dd834(_0xc1fa62)),this['decode'](_0xc1fa62,_0xc1fa62['uint32']());},_0x21a823['verify']=function(_0x44ed9a){return'object'!=typeof _0x44ed9a||null===_0x44ed9a?'object\x20expected':null!=_0x44ed9a['data']&&_0x44ed9a['hasOwnProperty']('data')&&!_0xdeaf10['isInteger'](_0x44ed9a['data'])?'data:\x20integer\x20expected':null!=_0x44ed9a['data1']&&_0x44ed9a['hasOwnProperty']('data1')&&!_0xdeaf10['isString'](_0x44ed9a['data1'])?'data1:\x20string\x20expected':null;},_0x21a823['fromObject']=function(_0x2bda43){if(_0x2bda43 instanceof _0x416af3['NumberObjectPacketDataMessage'])return _0x2bda43;var _0x131436=new _0x416af3['NumberObjectPacketDataMessage']();return null!=_0x2bda43['data']&&(_0x131436['data']=_0x2bda43['data']>>>0x0),null!=_0x2bda43['data1']&&(_0x131436['data1']=String(_0x2bda43['data1'])),_0x131436;},_0x21a823['toObject']=function(_0x34f5db,_0x32d00c){_0x32d00c||(_0x32d00c={});var _0x5b5d95={};return _0x32d00c['defaults']&&(_0x5b5d95['data']=0x0,_0x5b5d95['data1']=''),null!=_0x34f5db['data']&&_0x34f5db['hasOwnProperty']('data')&&(_0x5b5d95['data']=_0x34f5db['data']),null!=_0x34f5db['data1']&&_0x34f5db['hasOwnProperty']('data1')&&(_0x5b5d95['data1']=_0x34f5db['data1']),_0x5b5d95;},_0x21a823['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x21a823['getTypeUrl']=function(_0x2bf326){return void 0x0===_0x2bf326&&(_0x2bf326='type.googleapis.com'),_0x2bf326+'/NumberObjectPacketDataMessage';},_0x21a823;}()),_0x416af3['NumberNumberPacketDataMessage']=(function(){function _0x129c9b(_0x185a25){if(_0x185a25){for(var _0x5a043b=Object['keys'](_0x185a25),_0x1459d6=0x0;_0x1459d6<_0x5a043b['length'];++_0x1459d6)null!=_0x185a25[_0x5a043b[_0x1459d6]]&&(this[_0x5a043b[_0x1459d6]]=_0x185a25[_0x5a043b[_0x1459d6]]);}}return _0x129c9b['prototype']['data']=0x0,_0x129c9b['prototype']['data1']=0x0,_0x129c9b['create']=function(_0x101dc8){return new _0x129c9b(_0x101dc8);},_0x129c9b['encode']=function(_0x58ac42,_0x8abcc8){return _0x8abcc8||(_0x8abcc8=_0x4ed70c['create']()),null!=_0x58ac42['data']&&Object['hasOwnProperty']['call'](_0x58ac42,'data')&&_0x8abcc8['uint32'](0x8)['uint32'](_0x58ac42['data']),null!=_0x58ac42['data1']&&Object['hasOwnProperty']['call'](_0x58ac42,'data1')&&_0x8abcc8['uint32'](0x10)['uint32'](_0x58ac42['data1']),_0x8abcc8;},_0x129c9b['encodeDelimited']=function(_0x110229,_0x3c72a3){return this['encode'](_0x110229,_0x3c72a3)['ldelim']();},_0x129c9b['decode']=function(_0x49140c,_0x378636,_0x5ca756){_0x49140c instanceof _0x3dd834||(_0x49140c=_0x3dd834['create'](_0x49140c));for(var _0x50d99c=void 0x0===_0x378636?_0x49140c['len']:_0x49140c['pos']+_0x378636,_0x1cbbf9=new _0x416af3['NumberNumberPacketDataMessage']();_0x49140c['pos']<_0x50d99c;){var _0x3ff529=_0x49140c['uint32']();if(_0x3ff529===_0x5ca756)break;switch(_0x3ff529>>>0x3){case 0x1:_0x1cbbf9['data']=_0x49140c['uint32']();break;case 0x2:_0x1cbbf9['data1']=_0x49140c['uint32']();break;default:_0x49140c['skipType'](0x7&_0x3ff529);}}return _0x1cbbf9;},_0x129c9b['decodeDelimited']=function(_0x5ab26a){return _0x5ab26a instanceof _0x3dd834||(_0x5ab26a=new _0x3dd834(_0x5ab26a)),this['decode'](_0x5ab26a,_0x5ab26a['uint32']());},_0x129c9b['verify']=function(_0x143dd7){return'object'!=typeof _0x143dd7||null===_0x143dd7?'object\x20expected':null!=_0x143dd7['data']&&_0x143dd7['hasOwnProperty']('data')&&!_0xdeaf10['isInteger'](_0x143dd7['data'])?'data:\x20integer\x20expected':null!=_0x143dd7['data1']&&_0x143dd7['hasOwnProperty']('data1')&&!_0xdeaf10['isInteger'](_0x143dd7['data1'])?'data1:\x20integer\x20expected':null;},_0x129c9b['fromObject']=function(_0x3de580){if(_0x3de580 instanceof _0x416af3['NumberNumberPacketDataMessage'])return _0x3de580;var _0x188015=new _0x416af3['NumberNumberPacketDataMessage']();return null!=_0x3de580['data']&&(_0x188015['data']=_0x3de580['data']>>>0x0),null!=_0x3de580['data1']&&(_0x188015['data1']=_0x3de580['data1']>>>0x0),_0x188015;},_0x129c9b['toObject']=function(_0x542b13,_0x1e363d){_0x1e363d||(_0x1e363d={});var _0x316b4c={};return _0x1e363d['defaults']&&(_0x316b4c['data']=0x0,_0x316b4c['data1']=0x0),null!=_0x542b13['data']&&_0x542b13['hasOwnProperty']('data')&&(_0x316b4c['data']=_0x542b13['data']),null!=_0x542b13['data1']&&_0x542b13['hasOwnProperty']('data1')&&(_0x316b4c['data1']=_0x542b13['data1']),_0x316b4c;},_0x129c9b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x129c9b['getTypeUrl']=function(_0x43168c){return void 0x0===_0x43168c&&(_0x43168c='type.googleapis.com'),_0x43168c+'/NumberNumberPacketDataMessage';},_0x129c9b;}()),_0x416af3['NumberBytesPacketDataMessage']=(function(){function _0xb78d37(_0x3f7d40){if(_0x3f7d40){for(var _0x1d5ade=Object['keys'](_0x3f7d40),_0x41edad=0x0;_0x41edad<_0x1d5ade['length'];++_0x41edad)null!=_0x3f7d40[_0x1d5ade[_0x41edad]]&&(this[_0x1d5ade[_0x41edad]]=_0x3f7d40[_0x1d5ade[_0x41edad]]);}}return _0xb78d37['prototype']['data']=0x0,_0xb78d37['prototype']['data1']=_0xdeaf10['newBuffer']([]),_0xb78d37['create']=function(_0x6100fd){return new _0xb78d37(_0x6100fd);},_0xb78d37['encode']=function(_0x7954d8,_0x51b775){return _0x51b775||(_0x51b775=_0x4ed70c['create']()),null!=_0x7954d8['data']&&Object['hasOwnProperty']['call'](_0x7954d8,'data')&&_0x51b775['uint32'](0x8)['uint32'](_0x7954d8['data']),null!=_0x7954d8['data1']&&Object['hasOwnProperty']['call'](_0x7954d8,'data1')&&_0x51b775['uint32'](0x12)['bytes'](_0x7954d8['data1']),_0x51b775;},_0xb78d37['encodeDelimited']=function(_0x1de4e5,_0x19c700){return this['encode'](_0x1de4e5,_0x19c700)['ldelim']();},_0xb78d37['decode']=function(_0x9a5c32,_0x646aa5,_0x198a8c){_0x9a5c32 instanceof _0x3dd834||(_0x9a5c32=_0x3dd834['create'](_0x9a5c32));for(var _0x1fc9ee=void 0x0===_0x646aa5?_0x9a5c32['len']:_0x9a5c32['pos']+_0x646aa5,_0xbaefca=new _0x416af3['NumberBytesPacketDataMessage']();_0x9a5c32['pos']<_0x1fc9ee;){var _0x566159=_0x9a5c32['uint32']();if(_0x566159===_0x198a8c)break;switch(_0x566159>>>0x3){case 0x1:_0xbaefca['data']=_0x9a5c32['uint32']();break;case 0x2:_0xbaefca['data1']=_0x9a5c32['bytes']();break;default:_0x9a5c32['skipType'](0x7&_0x566159);}}return _0xbaefca;},_0xb78d37['decodeDelimited']=function(_0xb922c1){return _0xb922c1 instanceof _0x3dd834||(_0xb922c1=new _0x3dd834(_0xb922c1)),this['decode'](_0xb922c1,_0xb922c1['uint32']());},_0xb78d37['verify']=function(_0x394e2b){return'object'!=typeof _0x394e2b||null===_0x394e2b?'object\x20expected':null!=_0x394e2b['data']&&_0x394e2b['hasOwnProperty']('data')&&!_0xdeaf10['isInteger'](_0x394e2b['data'])?'data:\x20integer\x20expected':null!=_0x394e2b['data1']&&_0x394e2b['hasOwnProperty']('data1')&&!(_0x394e2b['data1']&&'number'==typeof _0x394e2b['data1']['length']||_0xdeaf10['isString'](_0x394e2b['data1']))?'data1:\x20buffer\x20expected':null;},_0xb78d37['fromObject']=function(_0x25cf0f){if(_0x25cf0f instanceof _0x416af3['NumberBytesPacketDataMessage'])return _0x25cf0f;var _0x8705a7=new _0x416af3['NumberBytesPacketDataMessage']();return null!=_0x25cf0f['data']&&(_0x8705a7['data']=_0x25cf0f['data']>>>0x0),null!=_0x25cf0f['data1']&&('string'==typeof _0x25cf0f['data1']?_0xdeaf10['base64']['decode'](_0x25cf0f['data1'],_0x8705a7['data1']=_0xdeaf10['newBuffer'](_0xdeaf10['base64']['length'](_0x25cf0f['data1'])),0x0):_0x25cf0f['data1']['length']>=0x0&&(_0x8705a7['data1']=_0x25cf0f['data1'])),_0x8705a7;},_0xb78d37['toObject']=function(_0x3a56be,_0x48c2a2){_0x48c2a2||(_0x48c2a2={});var _0x30f465={};return _0x48c2a2['defaults']&&(_0x30f465['data']=0x0,_0x48c2a2['bytes']===String?_0x30f465['data1']='':(_0x30f465['data1']=[],_0x48c2a2['bytes']!==Array&&(_0x30f465['data1']=_0xdeaf10['newBuffer'](_0x30f465['data1'])))),null!=_0x3a56be['data']&&_0x3a56be['hasOwnProperty']('data')&&(_0x30f465['data']=_0x3a56be['data']),null!=_0x3a56be['data1']&&_0x3a56be['hasOwnProperty']('data1')&&(_0x30f465['data1']=_0x48c2a2['bytes']===String?_0xdeaf10['base64']['encode'](_0x3a56be['data1'],0x0,_0x3a56be['data1']['length']):_0x48c2a2['bytes']===Array?Array['prototype']['slice']['call'](_0x3a56be['data1']):_0x3a56be['data1']),_0x30f465;},_0xb78d37['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xb78d37['getTypeUrl']=function(_0x4d3727){return void 0x0===_0x4d3727&&(_0x4d3727='type.googleapis.com'),_0x4d3727+'/NumberBytesPacketDataMessage';},_0xb78d37;}()),_0x416af3['BytesBytesPacketDataMessage']=(function(){function _0x115710(_0x9e1765){if(_0x9e1765){for(var _0x51f2f7=Object['keys'](_0x9e1765),_0x2a74d0=0x0;_0x2a74d0<_0x51f2f7['length'];++_0x2a74d0)null!=_0x9e1765[_0x51f2f7[_0x2a74d0]]&&(this[_0x51f2f7[_0x2a74d0]]=_0x9e1765[_0x51f2f7[_0x2a74d0]]);}}return _0x115710['prototype']['data']=_0xdeaf10['newBuffer']([]),_0x115710['prototype']['data1']=_0xdeaf10['newBuffer']([]),_0x115710['create']=function(_0x249610){return new _0x115710(_0x249610);},_0x115710['encode']=function(_0x26a5b7,_0x1a5dc4){return _0x1a5dc4||(_0x1a5dc4=_0x4ed70c['create']()),null!=_0x26a5b7['data']&&Object['hasOwnProperty']['call'](_0x26a5b7,'data')&&_0x1a5dc4['uint32'](0xa)['bytes'](_0x26a5b7['data']),null!=_0x26a5b7['data1']&&Object['hasOwnProperty']['call'](_0x26a5b7,'data1')&&_0x1a5dc4['uint32'](0x12)['bytes'](_0x26a5b7['data1']),_0x1a5dc4;},_0x115710['encodeDelimited']=function(_0x55d90c,_0x2e928f){return this['encode'](_0x55d90c,_0x2e928f)['ldelim']();},_0x115710['decode']=function(_0x5df287,_0x7d772b,_0x516b29){_0x5df287 instanceof _0x3dd834||(_0x5df287=_0x3dd834['create'](_0x5df287));for(var _0x4c8886=void 0x0===_0x7d772b?_0x5df287['len']:_0x5df287['pos']+_0x7d772b,_0x2743cc=new _0x416af3['BytesBytesPacketDataMessage']();_0x5df287['pos']<_0x4c8886;){var _0x1f4ea3=_0x5df287['uint32']();if(_0x1f4ea3===_0x516b29)break;switch(_0x1f4ea3>>>0x3){case 0x1:_0x2743cc['data']=_0x5df287['bytes']();break;case 0x2:_0x2743cc['data1']=_0x5df287['bytes']();break;default:_0x5df287['skipType'](0x7&_0x1f4ea3);}}return _0x2743cc;},_0x115710['decodeDelimited']=function(_0x509832){return _0x509832 instanceof _0x3dd834||(_0x509832=new _0x3dd834(_0x509832)),this['decode'](_0x509832,_0x509832['uint32']());},_0x115710['verify']=function(_0x5e2b5a){return'object'!=typeof _0x5e2b5a||null===_0x5e2b5a?'object\x20expected':null!=_0x5e2b5a['data']&&_0x5e2b5a['hasOwnProperty']('data')&&!(_0x5e2b5a['data']&&'number'==typeof _0x5e2b5a['data']['length']||_0xdeaf10['isString'](_0x5e2b5a['data']))?'data:\x20buffer\x20expected':null!=_0x5e2b5a['data1']&&_0x5e2b5a['hasOwnProperty']('data1')&&!(_0x5e2b5a['data1']&&'number'==typeof _0x5e2b5a['data1']['length']||_0xdeaf10['isString'](_0x5e2b5a['data1']))?'data1:\x20buffer\x20expected':null;},_0x115710['fromObject']=function(_0x3297a4){if(_0x3297a4 instanceof _0x416af3['BytesBytesPacketDataMessage'])return _0x3297a4;var _0x798150=new _0x416af3['BytesBytesPacketDataMessage']();return null!=_0x3297a4['data']&&('string'==typeof _0x3297a4['data']?_0xdeaf10['base64']['decode'](_0x3297a4['data'],_0x798150['data']=_0xdeaf10['newBuffer'](_0xdeaf10['base64']['length'](_0x3297a4['data'])),0x0):_0x3297a4['data']['length']>=0x0&&(_0x798150['data']=_0x3297a4['data'])),null!=_0x3297a4['data1']&&('string'==typeof _0x3297a4['data1']?_0xdeaf10['base64']['decode'](_0x3297a4['data1'],_0x798150['data1']=_0xdeaf10['newBuffer'](_0xdeaf10['base64']['length'](_0x3297a4['data1'])),0x0):_0x3297a4['data1']['length']>=0x0&&(_0x798150['data1']=_0x3297a4['data1'])),_0x798150;},_0x115710['toObject']=function(_0x54d256,_0x24a7d1){_0x24a7d1||(_0x24a7d1={});var _0xd23fc9={};return _0x24a7d1['defaults']&&(_0x24a7d1['bytes']===String?_0xd23fc9['data']='':(_0xd23fc9['data']=[],_0x24a7d1['bytes']!==Array&&(_0xd23fc9['data']=_0xdeaf10['newBuffer'](_0xd23fc9['data']))),_0x24a7d1['bytes']===String?_0xd23fc9['data1']='':(_0xd23fc9['data1']=[],_0x24a7d1['bytes']!==Array&&(_0xd23fc9['data1']=_0xdeaf10['newBuffer'](_0xd23fc9['data1'])))),null!=_0x54d256['data']&&_0x54d256['hasOwnProperty']('data')&&(_0xd23fc9['data']=_0x24a7d1['bytes']===String?_0xdeaf10['base64']['encode'](_0x54d256['data'],0x0,_0x54d256['data']['length']):_0x24a7d1['bytes']===Array?Array['prototype']['slice']['call'](_0x54d256['data']):_0x54d256['data']),null!=_0x54d256['data1']&&_0x54d256['hasOwnProperty']('data1')&&(_0xd23fc9['data1']=_0x24a7d1['bytes']===String?_0xdeaf10['base64']['encode'](_0x54d256['data1'],0x0,_0x54d256['data1']['length']):_0x24a7d1['bytes']===Array?Array['prototype']['slice']['call'](_0x54d256['data1']):_0x54d256['data1']),_0xd23fc9;},_0x115710['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x115710['getTypeUrl']=function(_0x39b66b){return void 0x0===_0x39b66b&&(_0x39b66b='type.googleapis.com'),_0x39b66b+'/BytesBytesPacketDataMessage';},_0x115710;}()),_0x416af3['ChannelMessage']=(function(){function _0x3ef50c(_0xfb6700){if(_0xfb6700){for(var _0x37a0f6=Object['keys'](_0xfb6700),_0xe8562=0x0;_0xe8562<_0x37a0f6['length'];++_0xe8562)null!=_0xfb6700[_0x37a0f6[_0xe8562]]&&(this[_0x37a0f6[_0xe8562]]=_0xfb6700[_0x37a0f6[_0xe8562]]);}}return _0x3ef50c['prototype']['type']=0x0,_0x3ef50c['prototype']['socketId']='',_0x3ef50c['prototype']['data']=_0xdeaf10['newBuffer']([]),_0x3ef50c['create']=function(_0x355cb1){return new _0x3ef50c(_0x355cb1);},_0x3ef50c['encode']=function(_0x10c328,_0x3b5756){return _0x3b5756||(_0x3b5756=_0x4ed70c['create']()),null!=_0x10c328['type']&&Object['hasOwnProperty']['call'](_0x10c328,'type')&&_0x3b5756['uint32'](0x8)['uint32'](_0x10c328['type']),null!=_0x10c328['socketId']&&Object['hasOwnProperty']['call'](_0x10c328,'socketId')&&_0x3b5756['uint32'](0x12)['string'](_0x10c328['socketId']),null!=_0x10c328['data']&&Object['hasOwnProperty']['call'](_0x10c328,'data')&&_0x3b5756['uint32'](0x1a)['bytes'](_0x10c328['data']),_0x3b5756;},_0x3ef50c['encodeDelimited']=function(_0x33988b,_0x3250a3){return this['encode'](_0x33988b,_0x3250a3)['ldelim']();},_0x3ef50c['decode']=function(_0x19c6bf,_0xb6deb6,_0x27a10e){_0x19c6bf instanceof _0x3dd834||(_0x19c6bf=_0x3dd834['create'](_0x19c6bf));for(var _0x47606d=void 0x0===_0xb6deb6?_0x19c6bf['len']:_0x19c6bf['pos']+_0xb6deb6,_0x3d4a2e=new _0x416af3['ChannelMessage']();_0x19c6bf['pos']<_0x47606d;){var _0x5b16c7=_0x19c6bf['uint32']();if(_0x5b16c7===_0x27a10e)break;switch(_0x5b16c7>>>0x3){case 0x1:_0x3d4a2e['type']=_0x19c6bf['uint32']();break;case 0x2:_0x3d4a2e['socketId']=_0x19c6bf['string']();break;case 0x3:_0x3d4a2e['data']=_0x19c6bf['bytes']();break;default:_0x19c6bf['skipType'](0x7&_0x5b16c7);}}return _0x3d4a2e;},_0x3ef50c['decodeDelimited']=function(_0x436cfa){return _0x436cfa instanceof _0x3dd834||(_0x436cfa=new _0x3dd834(_0x436cfa)),this['decode'](_0x436cfa,_0x436cfa['uint32']());},_0x3ef50c['verify']=function(_0x2b9bf5){return'object'!=typeof _0x2b9bf5||null===_0x2b9bf5?'object\x20expected':null!=_0x2b9bf5['type']&&_0x2b9bf5['hasOwnProperty']('type')&&!_0xdeaf10['isInteger'](_0x2b9bf5['type'])?'type:\x20integer\x20expected':null!=_0x2b9bf5['socketId']&&_0x2b9bf5['hasOwnProperty']('socketId')&&!_0xdeaf10['isString'](_0x2b9bf5['socketId'])?'socketId:\x20string\x20expected':null!=_0x2b9bf5['data']&&_0x2b9bf5['hasOwnProperty']('data')&&!(_0x2b9bf5['data']&&'number'==typeof _0x2b9bf5['data']['length']||_0xdeaf10['isString'](_0x2b9bf5['data']))?'data:\x20buffer\x20expected':null;},_0x3ef50c['fromObject']=function(_0x46e21b){if(_0x46e21b instanceof _0x416af3['ChannelMessage'])return _0x46e21b;var _0x409590=new _0x416af3['ChannelMessage']();return null!=_0x46e21b['type']&&(_0x409590['type']=_0x46e21b['type']>>>0x0),null!=_0x46e21b['socketId']&&(_0x409590['socketId']=String(_0x46e21b['socketId'])),null!=_0x46e21b['data']&&('string'==typeof _0x46e21b['data']?_0xdeaf10['base64']['decode'](_0x46e21b['data'],_0x409590['data']=_0xdeaf10['newBuffer'](_0xdeaf10['base64']['length'](_0x46e21b['data'])),0x0):_0x46e21b['data']['length']>=0x0&&(_0x409590['data']=_0x46e21b['data'])),_0x409590;},_0x3ef50c['toObject']=function(_0x1831a9,_0x352435){_0x352435||(_0x352435={});var _0x32f31f={};return _0x352435['defaults']&&(_0x32f31f['type']=0x0,_0x32f31f['socketId']='',_0x352435['bytes']===String?_0x32f31f['data']='':(_0x32f31f['data']=[],_0x352435['bytes']!==Array&&(_0x32f31f['data']=_0xdeaf10['newBuffer'](_0x32f31f['data'])))),null!=_0x1831a9['type']&&_0x1831a9['hasOwnProperty']('type')&&(_0x32f31f['type']=_0x1831a9['type']),null!=_0x1831a9['socketId']&&_0x1831a9['hasOwnProperty']('socketId')&&(_0x32f31f['socketId']=_0x1831a9['socketId']),null!=_0x1831a9['data']&&_0x1831a9['hasOwnProperty']('data')&&(_0x32f31f['data']=_0x352435['bytes']===String?_0xdeaf10['base64']['encode'](_0x1831a9['data'],0x0,_0x1831a9['data']['length']):_0x352435['bytes']===Array?Array['prototype']['slice']['call'](_0x1831a9['data']):_0x1831a9['data']),_0x32f31f;},_0x3ef50c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3ef50c['getTypeUrl']=function(_0xeb5a24){return void 0x0===_0xeb5a24&&(_0xeb5a24='type.googleapis.com'),_0xeb5a24+'/ChannelMessage';},_0x3ef50c;}()),_0x416af3['GetUserResponse']=(function(){function _0x4c3fa7(_0x26825c){if(this['attributes']=[],_0x26825c){for(var _0x4d975f=Object['keys'](_0x26825c),_0xfe24d2=0x0;_0xfe24d2<_0x4d975f['length'];++_0xfe24d2)null!=_0x26825c[_0x4d975f[_0xfe24d2]]&&(this[_0x4d975f[_0xfe24d2]]=_0x26825c[_0x4d975f[_0xfe24d2]]);}}return _0x4c3fa7['prototype']['attributes']=_0xdeaf10['emptyArray'],_0x4c3fa7['create']=function(_0x5a8446){return new _0x4c3fa7(_0x5a8446);},_0x4c3fa7['encode']=function(_0x4357a3,_0x1948af){if(_0x1948af||(_0x1948af=_0x4ed70c['create']()),null!=_0x4357a3['attributes']&&_0x4357a3['attributes']['length']){for(var _0x2f87c9=0x0;_0x2f87c9<_0x4357a3['attributes']['length'];++_0x2f87c9)_0x416af3['KeyValueDescriptor']['encode'](_0x4357a3['attributes'][_0x2f87c9],_0x1948af['uint32'](0xa)['fork']())['ldelim']();}return _0x1948af;},_0x4c3fa7['encodeDelimited']=function(_0x2ab31e,_0x56788e){return this['encode'](_0x2ab31e,_0x56788e)['ldelim']();},_0x4c3fa7['decode']=function(_0x25b475,_0x99f152,_0xca118c){_0x25b475 instanceof _0x3dd834||(_0x25b475=_0x3dd834['create'](_0x25b475));for(var _0x182616=void 0x0===_0x99f152?_0x25b475['len']:_0x25b475['pos']+_0x99f152,_0x1789b1=new _0x416af3['GetUserResponse']();_0x25b475['pos']<_0x182616;){var _0x381337=_0x25b475['uint32']();if(_0x381337===_0xca118c)break;_0x381337>>>0x3==0x1?(_0x1789b1['attributes']&&_0x1789b1['attributes']['length']||(_0x1789b1['attributes']=[]),_0x1789b1['attributes']['push'](_0x416af3['KeyValueDescriptor']['decode'](_0x25b475,_0x25b475['uint32']()))):_0x25b475['skipType'](0x7&_0x381337);}return _0x1789b1;},_0x4c3fa7['decodeDelimited']=function(_0x5ce892){return _0x5ce892 instanceof _0x3dd834||(_0x5ce892=new _0x3dd834(_0x5ce892)),this['decode'](_0x5ce892,_0x5ce892['uint32']());},_0x4c3fa7['verify']=function(_0x53a9e4){if('object'!=typeof _0x53a9e4||null===_0x53a9e4)return'object\x20expected';if(null!=_0x53a9e4['attributes']&&_0x53a9e4['hasOwnProperty']('attributes')){if(!Array['isArray'](_0x53a9e4['attributes']))return'attributes:\x20array\x20expected';for(var _0x551d32=0x0;_0x551d32<_0x53a9e4['attributes']['length'];++_0x551d32){var _0x59b230=_0x416af3['KeyValueDescriptor']['verify'](_0x53a9e4['attributes'][_0x551d32]);if(_0x59b230)return'attributes.'+_0x59b230;}}return null;},_0x4c3fa7['fromObject']=function(_0x150d70){if(_0x150d70 instanceof _0x416af3['GetUserResponse'])return _0x150d70;var _0x58a7db=new _0x416af3['GetUserResponse']();if(_0x150d70['attributes']){if(!Array['isArray'](_0x150d70['attributes']))throw TypeError('.GetUserResponse.attributes:\x20array\x20expected');_0x58a7db['attributes']=[];for(var _0x316dd2=0x0;_0x316dd2<_0x150d70['attributes']['length'];++_0x316dd2){if('object'!=typeof _0x150d70['attributes'][_0x316dd2])throw TypeError('.GetUserResponse.attributes:\x20object\x20expected');_0x58a7db['attributes'][_0x316dd2]=_0x416af3['KeyValueDescriptor']['fromObject'](_0x150d70['attributes'][_0x316dd2]);}}return _0x58a7db;},_0x4c3fa7['toObject']=function(_0x138f04,_0x1913c7){_0x1913c7||(_0x1913c7={});var _0x421fc2={};if((_0x1913c7['arrays']||_0x1913c7['defaults'])&&(_0x421fc2['attributes']=[]),_0x138f04['attributes']&&_0x138f04['attributes']['length']){_0x421fc2['attributes']=[];for(var _0x483481=0x0;_0x483481<_0x138f04['attributes']['length'];++_0x483481)_0x421fc2['attributes'][_0x483481]=_0x416af3['KeyValueDescriptor']['toObject'](_0x138f04['attributes'][_0x483481],_0x1913c7);}return _0x421fc2;},_0x4c3fa7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4c3fa7['getTypeUrl']=function(_0x29c667){return void 0x0===_0x29c667&&(_0x29c667='type.googleapis.com'),_0x29c667+'/GetUserResponse';},_0x4c3fa7;}()),_0x416af3['GetManyUsersResponse']=(function(){function _0x210eec(_0x43d918){if(this['users']=[],_0x43d918){for(var _0x5190ca=Object['keys'](_0x43d918),_0x1736c6=0x0;_0x1736c6<_0x5190ca['length'];++_0x1736c6)null!=_0x43d918[_0x5190ca[_0x1736c6]]&&(this[_0x5190ca[_0x1736c6]]=_0x43d918[_0x5190ca[_0x1736c6]]);}}return _0x210eec['prototype']['users']=_0xdeaf10['emptyArray'],_0x210eec['create']=function(_0x62dca9){return new _0x210eec(_0x62dca9);},_0x210eec['encode']=function(_0x5f2fc1,_0x32b92d){if(_0x32b92d||(_0x32b92d=_0x4ed70c['create']()),null!=_0x5f2fc1['users']&&_0x5f2fc1['users']['length']){for(var _0x4ffeb6=0x0;_0x4ffeb6<_0x5f2fc1['users']['length'];++_0x4ffeb6)_0x416af3['UserDescriptor']['encode'](_0x5f2fc1['users'][_0x4ffeb6],_0x32b92d['uint32'](0xa)['fork']())['ldelim']();}return _0x32b92d;},_0x210eec['encodeDelimited']=function(_0x55e92b,_0x364969){return this['encode'](_0x55e92b,_0x364969)['ldelim']();},_0x210eec['decode']=function(_0x232ac2,_0x3bf152,_0x3741f8){_0x232ac2 instanceof _0x3dd834||(_0x232ac2=_0x3dd834['create'](_0x232ac2));for(var _0x250531=void 0x0===_0x3bf152?_0x232ac2['len']:_0x232ac2['pos']+_0x3bf152,_0x3d7ef0=new _0x416af3['GetManyUsersResponse']();_0x232ac2['pos']<_0x250531;){var _0x881028=_0x232ac2['uint32']();if(_0x881028===_0x3741f8)break;_0x881028>>>0x3==0x1?(_0x3d7ef0['users']&&_0x3d7ef0['users']['length']||(_0x3d7ef0['users']=[]),_0x3d7ef0['users']['push'](_0x416af3['UserDescriptor']['decode'](_0x232ac2,_0x232ac2['uint32']()))):_0x232ac2['skipType'](0x7&_0x881028);}return _0x3d7ef0;},_0x210eec['decodeDelimited']=function(_0x2bcf8c){return _0x2bcf8c instanceof _0x3dd834||(_0x2bcf8c=new _0x3dd834(_0x2bcf8c)),this['decode'](_0x2bcf8c,_0x2bcf8c['uint32']());},_0x210eec['verify']=function(_0x459581){if('object'!=typeof _0x459581||null===_0x459581)return'object\x20expected';if(null!=_0x459581['users']&&_0x459581['hasOwnProperty']('users')){if(!Array['isArray'](_0x459581['users']))return'users:\x20array\x20expected';for(var _0x50ead2=0x0;_0x50ead2<_0x459581['users']['length'];++_0x50ead2){var _0x5dc8c4=_0x416af3['UserDescriptor']['verify'](_0x459581['users'][_0x50ead2]);if(_0x5dc8c4)return'users.'+_0x5dc8c4;}}return null;},_0x210eec['fromObject']=function(_0x1b985a){if(_0x1b985a instanceof _0x416af3['GetManyUsersResponse'])return _0x1b985a;var _0x10673f=new _0x416af3['GetManyUsersResponse']();if(_0x1b985a['users']){if(!Array['isArray'](_0x1b985a['users']))throw TypeError('.GetManyUsersResponse.users:\x20array\x20expected');_0x10673f['users']=[];for(var _0x31d07e=0x0;_0x31d07e<_0x1b985a['users']['length'];++_0x31d07e){if('object'!=typeof _0x1b985a['users'][_0x31d07e])throw TypeError('.GetManyUsersResponse.users:\x20object\x20expected');_0x10673f['users'][_0x31d07e]=_0x416af3['UserDescriptor']['fromObject'](_0x1b985a['users'][_0x31d07e]);}}return _0x10673f;},_0x210eec['toObject']=function(_0x1ddb27,_0x2187aa){_0x2187aa||(_0x2187aa={});var _0x21f5f4={};if((_0x2187aa['arrays']||_0x2187aa['defaults'])&&(_0x21f5f4['users']=[]),_0x1ddb27['users']&&_0x1ddb27['users']['length']){_0x21f5f4['users']=[];for(var _0x3ab803=0x0;_0x3ab803<_0x1ddb27['users']['length'];++_0x3ab803)_0x21f5f4['users'][_0x3ab803]=_0x416af3['UserDescriptor']['toObject'](_0x1ddb27['users'][_0x3ab803],_0x2187aa);}return _0x21f5f4;},_0x210eec['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x210eec['getTypeUrl']=function(_0x21a25e){return void 0x0===_0x21a25e&&(_0x21a25e='type.googleapis.com'),_0x21a25e+'/GetManyUsersResponse';},_0x210eec;}()),_0x416af3['GetUserMessage']=(function(){function _0x484322(_0xa90630){if(_0xa90630){for(var _0x1fbb3b=Object['keys'](_0xa90630),_0x364d0c=0x0;_0x364d0c<_0x1fbb3b['length'];++_0x364d0c)null!=_0xa90630[_0x1fbb3b[_0x364d0c]]&&(this[_0x1fbb3b[_0x364d0c]]=_0xa90630[_0x1fbb3b[_0x364d0c]]);}}return _0x484322['prototype']['id']='',_0x484322['create']=function(_0x3d17cf){return new _0x484322(_0x3d17cf);},_0x484322['encode']=function(_0x3f38ec,_0x3f9fbe){return _0x3f9fbe||(_0x3f9fbe=_0x4ed70c['create']()),null!=_0x3f38ec['id']&&Object['hasOwnProperty']['call'](_0x3f38ec,'id')&&_0x3f9fbe['uint32'](0xa)['string'](_0x3f38ec['id']),_0x3f9fbe;},_0x484322['encodeDelimited']=function(_0x5def25,_0x5df780){return this['encode'](_0x5def25,_0x5df780)['ldelim']();},_0x484322['decode']=function(_0x33fec1,_0x2071a7,_0x4adfe1){_0x33fec1 instanceof _0x3dd834||(_0x33fec1=_0x3dd834['create'](_0x33fec1));for(var _0x2e9454=void 0x0===_0x2071a7?_0x33fec1['len']:_0x33fec1['pos']+_0x2071a7,_0x1c4cb2=new _0x416af3['GetUserMessage']();_0x33fec1['pos']<_0x2e9454;){var _0x4c61d4=_0x33fec1['uint32']();if(_0x4c61d4===_0x4adfe1)break;_0x4c61d4>>>0x3==0x1?_0x1c4cb2['id']=_0x33fec1['string']():_0x33fec1['skipType'](0x7&_0x4c61d4);}return _0x1c4cb2;},_0x484322['decodeDelimited']=function(_0x4bee6b){return _0x4bee6b instanceof _0x3dd834||(_0x4bee6b=new _0x3dd834(_0x4bee6b)),this['decode'](_0x4bee6b,_0x4bee6b['uint32']());},_0x484322['verify']=function(_0xf0a066){return'object'!=typeof _0xf0a066||null===_0xf0a066?'object\x20expected':null!=_0xf0a066['id']&&_0xf0a066['hasOwnProperty']('id')&&!_0xdeaf10['isString'](_0xf0a066['id'])?'id:\x20string\x20expected':null;},_0x484322['fromObject']=function(_0x26a5a4){if(_0x26a5a4 instanceof _0x416af3['GetUserMessage'])return _0x26a5a4;var _0x366dbd=new _0x416af3['GetUserMessage']();return null!=_0x26a5a4['id']&&(_0x366dbd['id']=String(_0x26a5a4['id'])),_0x366dbd;},_0x484322['toObject']=function(_0x35631d,_0x780209){_0x780209||(_0x780209={});var _0x14fc94={};return _0x780209['defaults']&&(_0x14fc94['id']=''),null!=_0x35631d['id']&&_0x35631d['hasOwnProperty']('id')&&(_0x14fc94['id']=_0x35631d['id']),_0x14fc94;},_0x484322['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x484322['getTypeUrl']=function(_0xc8daf2){return void 0x0===_0xc8daf2&&(_0xc8daf2='type.googleapis.com'),_0xc8daf2+'/GetUserMessage';},_0x484322;}()),_0x416af3['GetManyUsersMessage']=(function(){function _0xe5983f(_0x4b34c5){if(this['ids']=[],_0x4b34c5){for(var _0x49d879=Object['keys'](_0x4b34c5),_0x369d79=0x0;_0x369d79<_0x49d879['length'];++_0x369d79)null!=_0x4b34c5[_0x49d879[_0x369d79]]&&(this[_0x49d879[_0x369d79]]=_0x4b34c5[_0x49d879[_0x369d79]]);}}return _0xe5983f['prototype']['ids']=_0xdeaf10['emptyArray'],_0xe5983f['create']=function(_0x2f5db6){return new _0xe5983f(_0x2f5db6);},_0xe5983f['encode']=function(_0x34657b,_0x5ed10f){if(_0x5ed10f||(_0x5ed10f=_0x4ed70c['create']()),null!=_0x34657b['ids']&&_0x34657b['ids']['length']){for(var _0xec3344=0x0;_0xec3344<_0x34657b['ids']['length'];++_0xec3344)_0x5ed10f['uint32'](0xa)['string'](_0x34657b['ids'][_0xec3344]);}return _0x5ed10f;},_0xe5983f['encodeDelimited']=function(_0x4647d8,_0x54f5f2){return this['encode'](_0x4647d8,_0x54f5f2)['ldelim']();},_0xe5983f['decode']=function(_0x43ec2e,_0x1a0d92,_0x1058e2){_0x43ec2e instanceof _0x3dd834||(_0x43ec2e=_0x3dd834['create'](_0x43ec2e));for(var _0x205a02=void 0x0===_0x1a0d92?_0x43ec2e['len']:_0x43ec2e['pos']+_0x1a0d92,_0x369fda=new _0x416af3['GetManyUsersMessage']();_0x43ec2e['pos']<_0x205a02;){var _0x20fa6c=_0x43ec2e['uint32']();if(_0x20fa6c===_0x1058e2)break;_0x20fa6c>>>0x3==0x1?(_0x369fda['ids']&&_0x369fda['ids']['length']||(_0x369fda['ids']=[]),_0x369fda['ids']['push'](_0x43ec2e['string']())):_0x43ec2e['skipType'](0x7&_0x20fa6c);}return _0x369fda;},_0xe5983f['decodeDelimited']=function(_0x1f7cca){return _0x1f7cca instanceof _0x3dd834||(_0x1f7cca=new _0x3dd834(_0x1f7cca)),this['decode'](_0x1f7cca,_0x1f7cca['uint32']());},_0xe5983f['verify']=function(_0x1ee9df){if('object'!=typeof _0x1ee9df||null===_0x1ee9df)return'object\x20expected';if(null!=_0x1ee9df['ids']&&_0x1ee9df['hasOwnProperty']('ids')){if(!Array['isArray'](_0x1ee9df['ids']))return'ids:\x20array\x20expected';for(var _0x5a3abf=0x0;_0x5a3abf<_0x1ee9df['ids']['length'];++_0x5a3abf)if(!_0xdeaf10['isString'](_0x1ee9df['ids'][_0x5a3abf]))return'ids:\x20string[]\x20expected';}return null;},_0xe5983f['fromObject']=function(_0x4f1882){if(_0x4f1882 instanceof _0x416af3['GetManyUsersMessage'])return _0x4f1882;var _0x5136e2=new _0x416af3['GetManyUsersMessage']();if(_0x4f1882['ids']){if(!Array['isArray'](_0x4f1882['ids']))throw TypeError('.GetManyUsersMessage.ids:\x20array\x20expected');_0x5136e2['ids']=[];for(var _0x140825=0x0;_0x140825<_0x4f1882['ids']['length'];++_0x140825)_0x5136e2['ids'][_0x140825]=String(_0x4f1882['ids'][_0x140825]);}return _0x5136e2;},_0xe5983f['toObject']=function(_0x208f2c,_0x11c449){_0x11c449||(_0x11c449={});var _0x1d3b1f={};if((_0x11c449['arrays']||_0x11c449['defaults'])&&(_0x1d3b1f['ids']=[]),_0x208f2c['ids']&&_0x208f2c['ids']['length']){_0x1d3b1f['ids']=[];for(var _0x51da1a=0x0;_0x51da1a<_0x208f2c['ids']['length'];++_0x51da1a)_0x1d3b1f['ids'][_0x51da1a]=_0x208f2c['ids'][_0x51da1a];}return _0x1d3b1f;},_0xe5983f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xe5983f['getTypeUrl']=function(_0x9d9aa6){return void 0x0===_0x9d9aa6&&(_0x9d9aa6='type.googleapis.com'),_0x9d9aa6+'/GetManyUsersMessage';},_0xe5983f;}()),_0x416af3['UserDescriptor']=(function(){function _0xa23464(_0x18d84e){if(this['attributes']=[],_0x18d84e){for(var _0x1db119=Object['keys'](_0x18d84e),_0x487b6a=0x0;_0x487b6a<_0x1db119['length'];++_0x487b6a)null!=_0x18d84e[_0x1db119[_0x487b6a]]&&(this[_0x1db119[_0x487b6a]]=_0x18d84e[_0x1db119[_0x487b6a]]);}}return _0xa23464['prototype']['attributes']=_0xdeaf10['emptyArray'],_0xa23464['create']=function(_0xb05085){return new _0xa23464(_0xb05085);},_0xa23464['encode']=function(_0x8437ff,_0x1558b0){if(_0x1558b0||(_0x1558b0=_0x4ed70c['create']()),null!=_0x8437ff['attributes']&&_0x8437ff['attributes']['length']){for(var _0x9872d6=0x0;_0x9872d6<_0x8437ff['attributes']['length'];++_0x9872d6)_0x416af3['KeyValueDescriptor']['encode'](_0x8437ff['attributes'][_0x9872d6],_0x1558b0['uint32'](0xa)['fork']())['ldelim']();}return _0x1558b0;},_0xa23464['encodeDelimited']=function(_0xfe5b83,_0x115bb4){return this['encode'](_0xfe5b83,_0x115bb4)['ldelim']();},_0xa23464['decode']=function(_0x28e72d,_0xb4c790,_0xe285a2){_0x28e72d instanceof _0x3dd834||(_0x28e72d=_0x3dd834['create'](_0x28e72d));for(var _0x39f952=void 0x0===_0xb4c790?_0x28e72d['len']:_0x28e72d['pos']+_0xb4c790,_0x3a0d03=new _0x416af3['UserDescriptor']();_0x28e72d['pos']<_0x39f952;){var _0x21a5d4=_0x28e72d['uint32']();if(_0x21a5d4===_0xe285a2)break;_0x21a5d4>>>0x3==0x1?(_0x3a0d03['attributes']&&_0x3a0d03['attributes']['length']||(_0x3a0d03['attributes']=[]),_0x3a0d03['attributes']['push'](_0x416af3['KeyValueDescriptor']['decode'](_0x28e72d,_0x28e72d['uint32']()))):_0x28e72d['skipType'](0x7&_0x21a5d4);}return _0x3a0d03;},_0xa23464['decodeDelimited']=function(_0x22287a){return _0x22287a instanceof _0x3dd834||(_0x22287a=new _0x3dd834(_0x22287a)),this['decode'](_0x22287a,_0x22287a['uint32']());},_0xa23464['verify']=function(_0x59ada7){if('object'!=typeof _0x59ada7||null===_0x59ada7)return'object\x20expected';if(null!=_0x59ada7['attributes']&&_0x59ada7['hasOwnProperty']('attributes')){if(!Array['isArray'](_0x59ada7['attributes']))return'attributes:\x20array\x20expected';for(var _0x240bc9=0x0;_0x240bc9<_0x59ada7['attributes']['length'];++_0x240bc9){var _0x4178a5=_0x416af3['KeyValueDescriptor']['verify'](_0x59ada7['attributes'][_0x240bc9]);if(_0x4178a5)return'attributes.'+_0x4178a5;}}return null;},_0xa23464['fromObject']=function(_0x291638){if(_0x291638 instanceof _0x416af3['UserDescriptor'])return _0x291638;var _0x87a545=new _0x416af3['UserDescriptor']();if(_0x291638['attributes']){if(!Array['isArray'](_0x291638['attributes']))throw TypeError('.UserDescriptor.attributes:\x20array\x20expected');_0x87a545['attributes']=[];for(var _0x1af4ff=0x0;_0x1af4ff<_0x291638['attributes']['length'];++_0x1af4ff){if('object'!=typeof _0x291638['attributes'][_0x1af4ff])throw TypeError('.UserDescriptor.attributes:\x20object\x20expected');_0x87a545['attributes'][_0x1af4ff]=_0x416af3['KeyValueDescriptor']['fromObject'](_0x291638['attributes'][_0x1af4ff]);}}return _0x87a545;},_0xa23464['toObject']=function(_0x37d98f,_0x1ac8d2){_0x1ac8d2||(_0x1ac8d2={});var _0x3a44ab={};if((_0x1ac8d2['arrays']||_0x1ac8d2['defaults'])&&(_0x3a44ab['attributes']=[]),_0x37d98f['attributes']&&_0x37d98f['attributes']['length']){_0x3a44ab['attributes']=[];for(var _0x11e6af=0x0;_0x11e6af<_0x37d98f['attributes']['length'];++_0x11e6af)_0x3a44ab['attributes'][_0x11e6af]=_0x416af3['KeyValueDescriptor']['toObject'](_0x37d98f['attributes'][_0x11e6af],_0x1ac8d2);}return _0x3a44ab;},_0xa23464['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xa23464['getTypeUrl']=function(_0x201064){return void 0x0===_0x201064&&(_0x201064='type.googleapis.com'),_0x201064+'/UserDescriptor';},_0xa23464;}()),_0x416af3['TrackChangesGetSuggestionResponse']=(function(){function _0x25293e(_0x42f155){if(_0x42f155){for(var _0x459f88=Object['keys'](_0x42f155),_0x4ef5fa=0x0;_0x4ef5fa<_0x459f88['length'];++_0x4ef5fa)null!=_0x42f155[_0x459f88[_0x4ef5fa]]&&(this[_0x459f88[_0x4ef5fa]]=_0x42f155[_0x459f88[_0x4ef5fa]]);}}return _0x25293e['prototype']['id']='',_0x25293e['prototype']['authorId']='',_0x25293e['prototype']['type']='',_0x25293e['prototype']['createdAt']='',_0x25293e['prototype']['data']='',_0x25293e['prototype']['hasComments']=!0x1,_0x25293e['prototype']['state']='',_0x25293e['prototype']['attributes']='',_0x25293e['create']=function(_0x1bfedf){return new _0x25293e(_0x1bfedf);},_0x25293e['encode']=function(_0x42c251,_0x4714ea){return _0x4714ea||(_0x4714ea=_0x4ed70c['create']()),null!=_0x42c251['id']&&Object['hasOwnProperty']['call'](_0x42c251,'id')&&_0x4714ea['uint32'](0xa)['string'](_0x42c251['id']),null!=_0x42c251['authorId']&&Object['hasOwnProperty']['call'](_0x42c251,'authorId')&&_0x4714ea['uint32'](0x12)['string'](_0x42c251['authorId']),null!=_0x42c251['type']&&Object['hasOwnProperty']['call'](_0x42c251,'type')&&_0x4714ea['uint32'](0x1a)['string'](_0x42c251['type']),null!=_0x42c251['createdAt']&&Object['hasOwnProperty']['call'](_0x42c251,'createdAt')&&_0x4714ea['uint32'](0x22)['string'](_0x42c251['createdAt']),null!=_0x42c251['data']&&Object['hasOwnProperty']['call'](_0x42c251,'data')&&_0x4714ea['uint32'](0x2a)['string'](_0x42c251['data']),null!=_0x42c251['hasComments']&&Object['hasOwnProperty']['call'](_0x42c251,'hasComments')&&_0x4714ea['uint32'](0x30)['bool'](_0x42c251['hasComments']),null!=_0x42c251['state']&&Object['hasOwnProperty']['call'](_0x42c251,'state')&&_0x4714ea['uint32'](0x3a)['string'](_0x42c251['state']),null!=_0x42c251['attributes']&&Object['hasOwnProperty']['call'](_0x42c251,'attributes')&&_0x4714ea['uint32'](0x42)['string'](_0x42c251['attributes']),_0x4714ea;},_0x25293e['encodeDelimited']=function(_0x241b08,_0x5246f5){return this['encode'](_0x241b08,_0x5246f5)['ldelim']();},_0x25293e['decode']=function(_0x577362,_0x33fd6c,_0x3d9256){_0x577362 instanceof _0x3dd834||(_0x577362=_0x3dd834['create'](_0x577362));for(var _0x34af3d=void 0x0===_0x33fd6c?_0x577362['len']:_0x577362['pos']+_0x33fd6c,_0x18d850=new _0x416af3['TrackChangesGetSuggestionResponse']();_0x577362['pos']<_0x34af3d;){var _0x5bc0ac=_0x577362['uint32']();if(_0x5bc0ac===_0x3d9256)break;switch(_0x5bc0ac>>>0x3){case 0x1:_0x18d850['id']=_0x577362['string']();break;case 0x2:_0x18d850['authorId']=_0x577362['string']();break;case 0x3:_0x18d850['type']=_0x577362['string']();break;case 0x4:_0x18d850['createdAt']=_0x577362['string']();break;case 0x5:_0x18d850['data']=_0x577362['string']();break;case 0x6:_0x18d850['hasComments']=_0x577362['bool']();break;case 0x7:_0x18d850['state']=_0x577362['string']();break;case 0x8:_0x18d850['attributes']=_0x577362['string']();break;default:_0x577362['skipType'](0x7&_0x5bc0ac);}}return _0x18d850;},_0x25293e['decodeDelimited']=function(_0x5a7b9f){return _0x5a7b9f instanceof _0x3dd834||(_0x5a7b9f=new _0x3dd834(_0x5a7b9f)),this['decode'](_0x5a7b9f,_0x5a7b9f['uint32']());},_0x25293e['verify']=function(_0x4640b7){return'object'!=typeof _0x4640b7||null===_0x4640b7?'object\x20expected':null!=_0x4640b7['id']&&_0x4640b7['hasOwnProperty']('id')&&!_0xdeaf10['isString'](_0x4640b7['id'])?'id:\x20string\x20expected':null!=_0x4640b7['authorId']&&_0x4640b7['hasOwnProperty']('authorId')&&!_0xdeaf10['isString'](_0x4640b7['authorId'])?'authorId:\x20string\x20expected':null!=_0x4640b7['type']&&_0x4640b7['hasOwnProperty']('type')&&!_0xdeaf10['isString'](_0x4640b7['type'])?'type:\x20string\x20expected':null!=_0x4640b7['createdAt']&&_0x4640b7['hasOwnProperty']('createdAt')&&!_0xdeaf10['isString'](_0x4640b7['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x4640b7['data']&&_0x4640b7['hasOwnProperty']('data')&&!_0xdeaf10['isString'](_0x4640b7['data'])?'data:\x20string\x20expected':null!=_0x4640b7['hasComments']&&_0x4640b7['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x4640b7['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x4640b7['state']&&_0x4640b7['hasOwnProperty']('state')&&!_0xdeaf10['isString'](_0x4640b7['state'])?'state:\x20string\x20expected':null!=_0x4640b7['attributes']&&_0x4640b7['hasOwnProperty']('attributes')&&!_0xdeaf10['isString'](_0x4640b7['attributes'])?'attributes:\x20string\x20expected':null;},_0x25293e['fromObject']=function(_0x519444){if(_0x519444 instanceof _0x416af3['TrackChangesGetSuggestionResponse'])return _0x519444;var _0x5ec06b=new _0x416af3['TrackChangesGetSuggestionResponse']();return null!=_0x519444['id']&&(_0x5ec06b['id']=String(_0x519444['id'])),null!=_0x519444['authorId']&&(_0x5ec06b['authorId']=String(_0x519444['authorId'])),null!=_0x519444['type']&&(_0x5ec06b['type']=String(_0x519444['type'])),null!=_0x519444['createdAt']&&(_0x5ec06b['createdAt']=String(_0x519444['createdAt'])),null!=_0x519444['data']&&(_0x5ec06b['data']=String(_0x519444['data'])),null!=_0x519444['hasComments']&&(_0x5ec06b['hasComments']=Boolean(_0x519444['hasComments'])),null!=_0x519444['state']&&(_0x5ec06b['state']=String(_0x519444['state'])),null!=_0x519444['attributes']&&(_0x5ec06b['attributes']=String(_0x519444['attributes'])),_0x5ec06b;},_0x25293e['toObject']=function(_0x11c2d1,_0x36f149){_0x36f149||(_0x36f149={});var _0x912806={};return _0x36f149['defaults']&&(_0x912806['id']='',_0x912806['authorId']='',_0x912806['type']='',_0x912806['createdAt']='',_0x912806['data']='',_0x912806['hasComments']=!0x1,_0x912806['state']='',_0x912806['attributes']=''),null!=_0x11c2d1['id']&&_0x11c2d1['hasOwnProperty']('id')&&(_0x912806['id']=_0x11c2d1['id']),null!=_0x11c2d1['authorId']&&_0x11c2d1['hasOwnProperty']('authorId')&&(_0x912806['authorId']=_0x11c2d1['authorId']),null!=_0x11c2d1['type']&&_0x11c2d1['hasOwnProperty']('type')&&(_0x912806['type']=_0x11c2d1['type']),null!=_0x11c2d1['createdAt']&&_0x11c2d1['hasOwnProperty']('createdAt')&&(_0x912806['createdAt']=_0x11c2d1['createdAt']),null!=_0x11c2d1['data']&&_0x11c2d1['hasOwnProperty']('data')&&(_0x912806['data']=_0x11c2d1['data']),null!=_0x11c2d1['hasComments']&&_0x11c2d1['hasOwnProperty']('hasComments')&&(_0x912806['hasComments']=_0x11c2d1['hasComments']),null!=_0x11c2d1['state']&&_0x11c2d1['hasOwnProperty']('state')&&(_0x912806['state']=_0x11c2d1['state']),null!=_0x11c2d1['attributes']&&_0x11c2d1['hasOwnProperty']('attributes')&&(_0x912806['attributes']=_0x11c2d1['attributes']),_0x912806;},_0x25293e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x25293e['getTypeUrl']=function(_0x5bf4bd){return void 0x0===_0x5bf4bd&&(_0x5bf4bd='type.googleapis.com'),_0x5bf4bd+'/TrackChangesGetSuggestionResponse';},_0x25293e;}()),_0x416af3['TrackChangesGetAllSuggestionsResponse']=(function(){function _0xc920(_0x23a18e){if(this['suggestions']=[],this['suggestionsV2']=[],_0x23a18e){for(var _0x525be1=Object['keys'](_0x23a18e),_0x3d1261=0x0;_0x3d1261<_0x525be1['length'];++_0x3d1261)null!=_0x23a18e[_0x525be1[_0x3d1261]]&&(this[_0x525be1[_0x3d1261]]=_0x23a18e[_0x525be1[_0x3d1261]]);}}return _0xc920['prototype']['suggestions']=_0xdeaf10['emptyArray'],_0xc920['prototype']['suggestionsV2']=_0xdeaf10['emptyArray'],_0xc920['create']=function(_0x1c3d3f){return new _0xc920(_0x1c3d3f);},_0xc920['encode']=function(_0x5cdae5,_0x9a9606){if(_0x9a9606||(_0x9a9606=_0x4ed70c['create']()),null!=_0x5cdae5['suggestions']&&_0x5cdae5['suggestions']['length']){for(var _0x144c60=0x0;_0x144c60<_0x5cdae5['suggestions']['length'];++_0x144c60)_0x9a9606['uint32'](0xa)['string'](_0x5cdae5['suggestions'][_0x144c60]);}if(null!=_0x5cdae5['suggestionsV2']&&_0x5cdae5['suggestionsV2']['length']){for(_0x144c60=0x0;_0x144c60<_0x5cdae5['suggestionsV2']['length'];++_0x144c60)_0x416af3['SuggestionDescriptor']['encode'](_0x5cdae5['suggestionsV2'][_0x144c60],_0x9a9606['uint32'](0x12)['fork']())['ldelim']();}return _0x9a9606;},_0xc920['encodeDelimited']=function(_0x4d6d70,_0x2f9762){return this['encode'](_0x4d6d70,_0x2f9762)['ldelim']();},_0xc920['decode']=function(_0x358fe1,_0x46f324,_0x3f543d){_0x358fe1 instanceof _0x3dd834||(_0x358fe1=_0x3dd834['create'](_0x358fe1));for(var _0x5215ec=void 0x0===_0x46f324?_0x358fe1['len']:_0x358fe1['pos']+_0x46f324,_0x405558=new _0x416af3['TrackChangesGetAllSuggestionsResponse']();_0x358fe1['pos']<_0x5215ec;){var _0xb8d6cd=_0x358fe1['uint32']();if(_0xb8d6cd===_0x3f543d)break;switch(_0xb8d6cd>>>0x3){case 0x1:_0x405558['suggestions']&&_0x405558['suggestions']['length']||(_0x405558['suggestions']=[]),_0x405558['suggestions']['push'](_0x358fe1['string']());break;case 0x2:_0x405558['suggestionsV2']&&_0x405558['suggestionsV2']['length']||(_0x405558['suggestionsV2']=[]),_0x405558['suggestionsV2']['push'](_0x416af3['SuggestionDescriptor']['decode'](_0x358fe1,_0x358fe1['uint32']()));break;default:_0x358fe1['skipType'](0x7&_0xb8d6cd);}}return _0x405558;},_0xc920['decodeDelimited']=function(_0x1fa8f1){return _0x1fa8f1 instanceof _0x3dd834||(_0x1fa8f1=new _0x3dd834(_0x1fa8f1)),this['decode'](_0x1fa8f1,_0x1fa8f1['uint32']());},_0xc920['verify']=function(_0x2ca689){if('object'!=typeof _0x2ca689||null===_0x2ca689)return'object\x20expected';if(null!=_0x2ca689['suggestions']&&_0x2ca689['hasOwnProperty']('suggestions')){if(!Array['isArray'](_0x2ca689['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x67db5a=0x0;_0x67db5a<_0x2ca689['suggestions']['length'];++_0x67db5a)if(!_0xdeaf10['isString'](_0x2ca689['suggestions'][_0x67db5a]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x2ca689['suggestionsV2']&&_0x2ca689['hasOwnProperty']('suggestionsV2')){if(!Array['isArray'](_0x2ca689['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x67db5a=0x0;_0x67db5a<_0x2ca689['suggestionsV2']['length'];++_0x67db5a){var _0x41de25=_0x416af3['SuggestionDescriptor']['verify'](_0x2ca689['suggestionsV2'][_0x67db5a]);if(_0x41de25)return'suggestionsV2.'+_0x41de25;}}return null;},_0xc920['fromObject']=function(_0x71f77){if(_0x71f77 instanceof _0x416af3['TrackChangesGetAllSuggestionsResponse'])return _0x71f77;var _0x36084a=new _0x416af3['TrackChangesGetAllSuggestionsResponse']();if(_0x71f77['suggestions']){if(!Array['isArray'](_0x71f77['suggestions']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestions:\x20array\x20expected');_0x36084a['suggestions']=[];for(var _0x540999=0x0;_0x540999<_0x71f77['suggestions']['length'];++_0x540999)_0x36084a['suggestions'][_0x540999]=String(_0x71f77['suggestions'][_0x540999]);}if(_0x71f77['suggestionsV2']){if(!Array['isArray'](_0x71f77['suggestionsV2']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20array\x20expected');for(_0x36084a['suggestionsV2']=[],_0x540999=0x0;_0x540999<_0x71f77['suggestionsV2']['length'];++_0x540999){if('object'!=typeof _0x71f77['suggestionsV2'][_0x540999])throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20object\x20expected');_0x36084a['suggestionsV2'][_0x540999]=_0x416af3['SuggestionDescriptor']['fromObject'](_0x71f77['suggestionsV2'][_0x540999]);}}return _0x36084a;},_0xc920['toObject']=function(_0x35320d,_0x25b9e5){_0x25b9e5||(_0x25b9e5={});var _0x2c869a={};if((_0x25b9e5['arrays']||_0x25b9e5['defaults'])&&(_0x2c869a['suggestions']=[],_0x2c869a['suggestionsV2']=[]),_0x35320d['suggestions']&&_0x35320d['suggestions']['length']){_0x2c869a['suggestions']=[];for(var _0x3becd6=0x0;_0x3becd6<_0x35320d['suggestions']['length'];++_0x3becd6)_0x2c869a['suggestions'][_0x3becd6]=_0x35320d['suggestions'][_0x3becd6];}if(_0x35320d['suggestionsV2']&&_0x35320d['suggestionsV2']['length']){for(_0x2c869a['suggestionsV2']=[],_0x3becd6=0x0;_0x3becd6<_0x35320d['suggestionsV2']['length'];++_0x3becd6)_0x2c869a['suggestionsV2'][_0x3becd6]=_0x416af3['SuggestionDescriptor']['toObject'](_0x35320d['suggestionsV2'][_0x3becd6],_0x25b9e5);}return _0x2c869a;},_0xc920['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xc920['getTypeUrl']=function(_0x393e52){return void 0x0===_0x393e52&&(_0x393e52='type.googleapis.com'),_0x393e52+'/TrackChangesGetAllSuggestionsResponse';},_0xc920;}()),_0x416af3['TrackChangesConnectResponse']=(function(){function _0x56e257(_0x41a2ae){if(this['suggestions']=[],this['suggestionsV2']=[],_0x41a2ae){for(var _0x3dd1e3=Object['keys'](_0x41a2ae),_0x3665cb=0x0;_0x3665cb<_0x3dd1e3['length'];++_0x3665cb)null!=_0x41a2ae[_0x3dd1e3[_0x3665cb]]&&(this[_0x3dd1e3[_0x3665cb]]=_0x41a2ae[_0x3dd1e3[_0x3665cb]]);}}return _0x56e257['prototype']['channel']='',_0x56e257['prototype']['suggestions']=_0xdeaf10['emptyArray'],_0x56e257['prototype']['suggestionsV2']=_0xdeaf10['emptyArray'],_0x56e257['create']=function(_0x3f9f36){return new _0x56e257(_0x3f9f36);},_0x56e257['encode']=function(_0x59f020,_0x4a3795){if(_0x4a3795||(_0x4a3795=_0x4ed70c['create']()),null!=_0x59f020['channel']&&Object['hasOwnProperty']['call'](_0x59f020,'channel')&&_0x4a3795['uint32'](0xa)['string'](_0x59f020['channel']),null!=_0x59f020['suggestions']&&_0x59f020['suggestions']['length']){for(var _0x43a4d3=0x0;_0x43a4d3<_0x59f020['suggestions']['length'];++_0x43a4d3)_0x4a3795['uint32'](0x12)['string'](_0x59f020['suggestions'][_0x43a4d3]);}if(null!=_0x59f020['suggestionsV2']&&_0x59f020['suggestionsV2']['length']){for(_0x43a4d3=0x0;_0x43a4d3<_0x59f020['suggestionsV2']['length'];++_0x43a4d3)_0x416af3['SuggestionDescriptor']['encode'](_0x59f020['suggestionsV2'][_0x43a4d3],_0x4a3795['uint32'](0x1a)['fork']())['ldelim']();}return _0x4a3795;},_0x56e257['encodeDelimited']=function(_0x12ddbe,_0x40b7e6){return this['encode'](_0x12ddbe,_0x40b7e6)['ldelim']();},_0x56e257['decode']=function(_0x15b4a2,_0x171c8e,_0x452297){_0x15b4a2 instanceof _0x3dd834||(_0x15b4a2=_0x3dd834['create'](_0x15b4a2));for(var _0x40f521=void 0x0===_0x171c8e?_0x15b4a2['len']:_0x15b4a2['pos']+_0x171c8e,_0x441a05=new _0x416af3['TrackChangesConnectResponse']();_0x15b4a2['pos']<_0x40f521;){var _0x4113b1=_0x15b4a2['uint32']();if(_0x4113b1===_0x452297)break;switch(_0x4113b1>>>0x3){case 0x1:_0x441a05['channel']=_0x15b4a2['string']();break;case 0x2:_0x441a05['suggestions']&&_0x441a05['suggestions']['length']||(_0x441a05['suggestions']=[]),_0x441a05['suggestions']['push'](_0x15b4a2['string']());break;case 0x3:_0x441a05['suggestionsV2']&&_0x441a05['suggestionsV2']['length']||(_0x441a05['suggestionsV2']=[]),_0x441a05['suggestionsV2']['push'](_0x416af3['SuggestionDescriptor']['decode'](_0x15b4a2,_0x15b4a2['uint32']()));break;default:_0x15b4a2['skipType'](0x7&_0x4113b1);}}return _0x441a05;},_0x56e257['decodeDelimited']=function(_0x5ca806){return _0x5ca806 instanceof _0x3dd834||(_0x5ca806=new _0x3dd834(_0x5ca806)),this['decode'](_0x5ca806,_0x5ca806['uint32']());},_0x56e257['verify']=function(_0x35c8dc){if('object'!=typeof _0x35c8dc||null===_0x35c8dc)return'object\x20expected';if(null!=_0x35c8dc['channel']&&_0x35c8dc['hasOwnProperty']('channel')&&!_0xdeaf10['isString'](_0x35c8dc['channel']))return'channel:\x20string\x20expected';if(null!=_0x35c8dc['suggestions']&&_0x35c8dc['hasOwnProperty']('suggestions')){if(!Array['isArray'](_0x35c8dc['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x5f1f59=0x0;_0x5f1f59<_0x35c8dc['suggestions']['length'];++_0x5f1f59)if(!_0xdeaf10['isString'](_0x35c8dc['suggestions'][_0x5f1f59]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x35c8dc['suggestionsV2']&&_0x35c8dc['hasOwnProperty']('suggestionsV2')){if(!Array['isArray'](_0x35c8dc['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x5f1f59=0x0;_0x5f1f59<_0x35c8dc['suggestionsV2']['length'];++_0x5f1f59){var _0x4b7fc0=_0x416af3['SuggestionDescriptor']['verify'](_0x35c8dc['suggestionsV2'][_0x5f1f59]);if(_0x4b7fc0)return'suggestionsV2.'+_0x4b7fc0;}}return null;},_0x56e257['fromObject']=function(_0x46d79b){if(_0x46d79b instanceof _0x416af3['TrackChangesConnectResponse'])return _0x46d79b;var _0x1284cd=new _0x416af3['TrackChangesConnectResponse']();if(null!=_0x46d79b['channel']&&(_0x1284cd['channel']=String(_0x46d79b['channel'])),_0x46d79b['suggestions']){if(!Array['isArray'](_0x46d79b['suggestions']))throw TypeError('.TrackChangesConnectResponse.suggestions:\x20array\x20expected');_0x1284cd['suggestions']=[];for(var _0x20c033=0x0;_0x20c033<_0x46d79b['suggestions']['length'];++_0x20c033)_0x1284cd['suggestions'][_0x20c033]=String(_0x46d79b['suggestions'][_0x20c033]);}if(_0x46d79b['suggestionsV2']){if(!Array['isArray'](_0x46d79b['suggestionsV2']))throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20array\x20expected');for(_0x1284cd['suggestionsV2']=[],_0x20c033=0x0;_0x20c033<_0x46d79b['suggestionsV2']['length'];++_0x20c033){if('object'!=typeof _0x46d79b['suggestionsV2'][_0x20c033])throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20object\x20expected');_0x1284cd['suggestionsV2'][_0x20c033]=_0x416af3['SuggestionDescriptor']['fromObject'](_0x46d79b['suggestionsV2'][_0x20c033]);}}return _0x1284cd;},_0x56e257['toObject']=function(_0xd95edc,_0x4a4da1){_0x4a4da1||(_0x4a4da1={});var _0x1a7262={};if((_0x4a4da1['arrays']||_0x4a4da1['defaults'])&&(_0x1a7262['suggestions']=[],_0x1a7262['suggestionsV2']=[]),_0x4a4da1['defaults']&&(_0x1a7262['channel']=''),null!=_0xd95edc['channel']&&_0xd95edc['hasOwnProperty']('channel')&&(_0x1a7262['channel']=_0xd95edc['channel']),_0xd95edc['suggestions']&&_0xd95edc['suggestions']['length']){_0x1a7262['suggestions']=[];for(var _0x201c1b=0x0;_0x201c1b<_0xd95edc['suggestions']['length'];++_0x201c1b)_0x1a7262['suggestions'][_0x201c1b]=_0xd95edc['suggestions'][_0x201c1b];}if(_0xd95edc['suggestionsV2']&&_0xd95edc['suggestionsV2']['length']){for(_0x1a7262['suggestionsV2']=[],_0x201c1b=0x0;_0x201c1b<_0xd95edc['suggestionsV2']['length'];++_0x201c1b)_0x1a7262['suggestionsV2'][_0x201c1b]=_0x416af3['SuggestionDescriptor']['toObject'](_0xd95edc['suggestionsV2'][_0x201c1b],_0x4a4da1);}return _0x1a7262;},_0x56e257['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x56e257['getTypeUrl']=function(_0x487249){return void 0x0===_0x487249&&(_0x487249='type.googleapis.com'),_0x487249+'/TrackChangesConnectResponse';},_0x56e257;}()),_0x416af3['TrackChangesAddSuggestionResponse']=(function(){function _0x1a5075(_0x152de4){if(_0x152de4){for(var _0x3d896d=Object['keys'](_0x152de4),_0x4df7e1=0x0;_0x4df7e1<_0x3d896d['length'];++_0x4df7e1)null!=_0x152de4[_0x3d896d[_0x4df7e1]]&&(this[_0x3d896d[_0x4df7e1]]=_0x152de4[_0x3d896d[_0x4df7e1]]);}}return _0x1a5075['prototype']['id']='',_0x1a5075['prototype']['authorId']='',_0x1a5075['prototype']['type']='',_0x1a5075['prototype']['createdAt']='',_0x1a5075['prototype']['data']='',_0x1a5075['prototype']['hasComments']=!0x1,_0x1a5075['prototype']['state']='',_0x1a5075['prototype']['attributes']='',_0x1a5075['create']=function(_0x1d2273){return new _0x1a5075(_0x1d2273);},_0x1a5075['encode']=function(_0x3a752d,_0x5e15bc){return _0x5e15bc||(_0x5e15bc=_0x4ed70c['create']()),null!=_0x3a752d['id']&&Object['hasOwnProperty']['call'](_0x3a752d,'id')&&_0x5e15bc['uint32'](0xa)['string'](_0x3a752d['id']),null!=_0x3a752d['authorId']&&Object['hasOwnProperty']['call'](_0x3a752d,'authorId')&&_0x5e15bc['uint32'](0x12)['string'](_0x3a752d['authorId']),null!=_0x3a752d['type']&&Object['hasOwnProperty']['call'](_0x3a752d,'type')&&_0x5e15bc['uint32'](0x1a)['string'](_0x3a752d['type']),null!=_0x3a752d['createdAt']&&Object['hasOwnProperty']['call'](_0x3a752d,'createdAt')&&_0x5e15bc['uint32'](0x22)['string'](_0x3a752d['createdAt']),null!=_0x3a752d['data']&&Object['hasOwnProperty']['call'](_0x3a752d,'data')&&_0x5e15bc['uint32'](0x2a)['string'](_0x3a752d['data']),null!=_0x3a752d['hasComments']&&Object['hasOwnProperty']['call'](_0x3a752d,'hasComments')&&_0x5e15bc['uint32'](0x30)['bool'](_0x3a752d['hasComments']),null!=_0x3a752d['state']&&Object['hasOwnProperty']['call'](_0x3a752d,'state')&&_0x5e15bc['uint32'](0x3a)['string'](_0x3a752d['state']),null!=_0x3a752d['attributes']&&Object['hasOwnProperty']['call'](_0x3a752d,'attributes')&&_0x5e15bc['uint32'](0x42)['string'](_0x3a752d['attributes']),_0x5e15bc;},_0x1a5075['encodeDelimited']=function(_0x41d587,_0xd03fc9){return this['encode'](_0x41d587,_0xd03fc9)['ldelim']();},_0x1a5075['decode']=function(_0x4d768a,_0x5f7ef7,_0x152464){_0x4d768a instanceof _0x3dd834||(_0x4d768a=_0x3dd834['create'](_0x4d768a));for(var _0x3e24cf=void 0x0===_0x5f7ef7?_0x4d768a['len']:_0x4d768a['pos']+_0x5f7ef7,_0x1f73d2=new _0x416af3['TrackChangesAddSuggestionResponse']();_0x4d768a['pos']<_0x3e24cf;){var _0x184fee=_0x4d768a['uint32']();if(_0x184fee===_0x152464)break;switch(_0x184fee>>>0x3){case 0x1:_0x1f73d2['id']=_0x4d768a['string']();break;case 0x2:_0x1f73d2['authorId']=_0x4d768a['string']();break;case 0x3:_0x1f73d2['type']=_0x4d768a['string']();break;case 0x4:_0x1f73d2['createdAt']=_0x4d768a['string']();break;case 0x5:_0x1f73d2['data']=_0x4d768a['string']();break;case 0x6:_0x1f73d2['hasComments']=_0x4d768a['bool']();break;case 0x7:_0x1f73d2['state']=_0x4d768a['string']();break;case 0x8:_0x1f73d2['attributes']=_0x4d768a['string']();break;default:_0x4d768a['skipType'](0x7&_0x184fee);}}return _0x1f73d2;},_0x1a5075['decodeDelimited']=function(_0x139dc3){return _0x139dc3 instanceof _0x3dd834||(_0x139dc3=new _0x3dd834(_0x139dc3)),this['decode'](_0x139dc3,_0x139dc3['uint32']());},_0x1a5075['verify']=function(_0x359a34){return'object'!=typeof _0x359a34||null===_0x359a34?'object\x20expected':null!=_0x359a34['id']&&_0x359a34['hasOwnProperty']('id')&&!_0xdeaf10['isString'](_0x359a34['id'])?'id:\x20string\x20expected':null!=_0x359a34['authorId']&&_0x359a34['hasOwnProperty']('authorId')&&!_0xdeaf10['isString'](_0x359a34['authorId'])?'authorId:\x20string\x20expected':null!=_0x359a34['type']&&_0x359a34['hasOwnProperty']('type')&&!_0xdeaf10['isString'](_0x359a34['type'])?'type:\x20string\x20expected':null!=_0x359a34['createdAt']&&_0x359a34['hasOwnProperty']('createdAt')&&!_0xdeaf10['isString'](_0x359a34['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x359a34['data']&&_0x359a34['hasOwnProperty']('data')&&!_0xdeaf10['isString'](_0x359a34['data'])?'data:\x20string\x20expected':null!=_0x359a34['hasComments']&&_0x359a34['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x359a34['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x359a34['state']&&_0x359a34['hasOwnProperty']('state')&&!_0xdeaf10['isString'](_0x359a34['state'])?'state:\x20string\x20expected':null!=_0x359a34['attributes']&&_0x359a34['hasOwnProperty']('attributes')&&!_0xdeaf10['isString'](_0x359a34['attributes'])?'attributes:\x20string\x20expected':null;},_0x1a5075['fromObject']=function(_0x36f48b){if(_0x36f48b instanceof _0x416af3['TrackChangesAddSuggestionResponse'])return _0x36f48b;var _0x163e55=new _0x416af3['TrackChangesAddSuggestionResponse']();return null!=_0x36f48b['id']&&(_0x163e55['id']=String(_0x36f48b['id'])),null!=_0x36f48b['authorId']&&(_0x163e55['authorId']=String(_0x36f48b['authorId'])),null!=_0x36f48b['type']&&(_0x163e55['type']=String(_0x36f48b['type'])),null!=_0x36f48b['createdAt']&&(_0x163e55['createdAt']=String(_0x36f48b['createdAt'])),null!=_0x36f48b['data']&&(_0x163e55['data']=String(_0x36f48b['data'])),null!=_0x36f48b['hasComments']&&(_0x163e55['hasComments']=Boolean(_0x36f48b['hasComments'])),null!=_0x36f48b['state']&&(_0x163e55['state']=String(_0x36f48b['state'])),null!=_0x36f48b['attributes']&&(_0x163e55['attributes']=String(_0x36f48b['attributes'])),_0x163e55;},_0x1a5075['toObject']=function(_0x1865ad,_0xef52f0){_0xef52f0||(_0xef52f0={});var _0x30bfd3={};return _0xef52f0['defaults']&&(_0x30bfd3['id']='',_0x30bfd3['authorId']='',_0x30bfd3['type']='',_0x30bfd3['createdAt']='',_0x30bfd3['data']='',_0x30bfd3['hasComments']=!0x1,_0x30bfd3['state']='',_0x30bfd3['attributes']=''),null!=_0x1865ad['id']&&_0x1865ad['hasOwnProperty']('id')&&(_0x30bfd3['id']=_0x1865ad['id']),null!=_0x1865ad['authorId']&&_0x1865ad['hasOwnProperty']('authorId')&&(_0x30bfd3['authorId']=_0x1865ad['authorId']),null!=_0x1865ad['type']&&_0x1865ad['hasOwnProperty']('type')&&(_0x30bfd3['type']=_0x1865ad['type']),null!=_0x1865ad['createdAt']&&_0x1865ad['hasOwnProperty']('createdAt')&&(_0x30bfd3['createdAt']=_0x1865ad['createdAt']),null!=_0x1865ad['data']&&_0x1865ad['hasOwnProperty']('data')&&(_0x30bfd3['data']=_0x1865ad['data']),null!=_0x1865ad['hasComments']&&_0x1865ad['hasOwnProperty']('hasComments')&&(_0x30bfd3['hasComments']=_0x1865ad['hasComments']),null!=_0x1865ad['state']&&_0x1865ad['hasOwnProperty']('state')&&(_0x30bfd3['state']=_0x1865ad['state']),null!=_0x1865ad['attributes']&&_0x1865ad['hasOwnProperty']('attributes')&&(_0x30bfd3['attributes']=_0x1865ad['attributes']),_0x30bfd3;},_0x1a5075['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1a5075['getTypeUrl']=function(_0x2c8720){return void 0x0===_0x2c8720&&(_0x2c8720='type.googleapis.com'),_0x2c8720+'/TrackChangesAddSuggestionResponse';},_0x1a5075;}()),_0x416af3['TrackChangesUpdateSuggestionMessage']=(function(){function _0x3ee7aa(_0x33cbdf){if(_0x33cbdf){for(var _0x160ba2=Object['keys'](_0x33cbdf),_0x31a1dc=0x0;_0x31a1dc<_0x160ba2['length'];++_0x31a1dc)null!=_0x33cbdf[_0x160ba2[_0x31a1dc]]&&(this[_0x160ba2[_0x31a1dc]]=_0x33cbdf[_0x160ba2[_0x31a1dc]]);}}return _0x3ee7aa['prototype']['id']='',_0x3ee7aa['prototype']['documentId']='',_0x3ee7aa['prototype']['hasComments']=!0x1,_0x3ee7aa['prototype']['isHasCommentsModified']=!0x1,_0x3ee7aa['prototype']['state']='',_0x3ee7aa['prototype']['attributes']='',_0x3ee7aa['create']=function(_0x5b8e6f){return new _0x3ee7aa(_0x5b8e6f);},_0x3ee7aa['encode']=function(_0x50ee7f,_0x197f15){return _0x197f15||(_0x197f15=_0x4ed70c['create']()),null!=_0x50ee7f['id']&&Object['hasOwnProperty']['call'](_0x50ee7f,'id')&&_0x197f15['uint32'](0xa)['string'](_0x50ee7f['id']),null!=_0x50ee7f['documentId']&&Object['hasOwnProperty']['call'](_0x50ee7f,'documentId')&&_0x197f15['uint32'](0x12)['string'](_0x50ee7f['documentId']),null!=_0x50ee7f['hasComments']&&Object['hasOwnProperty']['call'](_0x50ee7f,'hasComments')&&_0x197f15['uint32'](0x18)['bool'](_0x50ee7f['hasComments']),null!=_0x50ee7f['isHasCommentsModified']&&Object['hasOwnProperty']['call'](_0x50ee7f,'isHasCommentsModified')&&_0x197f15['uint32'](0x20)['bool'](_0x50ee7f['isHasCommentsModified']),null!=_0x50ee7f['state']&&Object['hasOwnProperty']['call'](_0x50ee7f,'state')&&_0x197f15['uint32'](0x2a)['string'](_0x50ee7f['state']),null!=_0x50ee7f['attributes']&&Object['hasOwnProperty']['call'](_0x50ee7f,'attributes')&&_0x197f15['uint32'](0x32)['string'](_0x50ee7f['attributes']),_0x197f15;},_0x3ee7aa['encodeDelimited']=function(_0x21a2ce,_0x49cbab){return this['encode'](_0x21a2ce,_0x49cbab)['ldelim']();},_0x3ee7aa['decode']=function(_0x49022b,_0x3fe015,_0x191ba2){_0x49022b instanceof _0x3dd834||(_0x49022b=_0x3dd834['create'](_0x49022b));for(var _0xb853ff=void 0x0===_0x3fe015?_0x49022b['len']:_0x49022b['pos']+_0x3fe015,_0xc738f9=new _0x416af3['TrackChangesUpdateSuggestionMessage']();_0x49022b['pos']<_0xb853ff;){var _0x48686d=_0x49022b['uint32']();if(_0x48686d===_0x191ba2)break;switch(_0x48686d>>>0x3){case 0x1:_0xc738f9['id']=_0x49022b['string']();break;case 0x2:_0xc738f9['documentId']=_0x49022b['string']();break;case 0x3:_0xc738f9['hasComments']=_0x49022b['bool']();break;case 0x4:_0xc738f9['isHasCommentsModified']=_0x49022b['bool']();break;case 0x5:_0xc738f9['state']=_0x49022b['string']();break;case 0x6:_0xc738f9['attributes']=_0x49022b['string']();break;default:_0x49022b['skipType'](0x7&_0x48686d);}}return _0xc738f9;},_0x3ee7aa['decodeDelimited']=function(_0x408555){return _0x408555 instanceof _0x3dd834||(_0x408555=new _0x3dd834(_0x408555)),this['decode'](_0x408555,_0x408555['uint32']());},_0x3ee7aa['verify']=function(_0x46dbc4){return'object'!=typeof _0x46dbc4||null===_0x46dbc4?'object\x20expected':null!=_0x46dbc4['id']&&_0x46dbc4['hasOwnProperty']('id')&&!_0xdeaf10['isString'](_0x46dbc4['id'])?'id:\x20string\x20expected':null!=_0x46dbc4['documentId']&&_0x46dbc4['hasOwnProperty']('documentId')&&!_0xdeaf10['isString'](_0x46dbc4['documentId'])?'documentId:\x20string\x20expected':null!=_0x46dbc4['hasComments']&&_0x46dbc4['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x46dbc4['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x46dbc4['isHasCommentsModified']&&_0x46dbc4['hasOwnProperty']('isHasCommentsModified')&&'boolean'!=typeof _0x46dbc4['isHasCommentsModified']?'isHasCommentsModified:\x20boolean\x20expected':null!=_0x46dbc4['state']&&_0x46dbc4['hasOwnProperty']('state')&&!_0xdeaf10['isString'](_0x46dbc4['state'])?'state:\x20string\x20expected':null!=_0x46dbc4['attributes']&&_0x46dbc4['hasOwnProperty']('attributes')&&!_0xdeaf10['isString'](_0x46dbc4['attributes'])?'attributes:\x20string\x20expected':null;},_0x3ee7aa['fromObject']=function(_0x5d0dbe){if(_0x5d0dbe instanceof _0x416af3['TrackChangesUpdateSuggestionMessage'])return _0x5d0dbe;var _0x44a20f=new _0x416af3['TrackChangesUpdateSuggestionMessage']();return null!=_0x5d0dbe['id']&&(_0x44a20f['id']=String(_0x5d0dbe['id'])),null!=_0x5d0dbe['documentId']&&(_0x44a20f['documentId']=String(_0x5d0dbe['documentId'])),null!=_0x5d0dbe['hasComments']&&(_0x44a20f['hasComments']=Boolean(_0x5d0dbe['hasComments'])),null!=_0x5d0dbe['isHasCommentsModified']&&(_0x44a20f['isHasCommentsModified']=Boolean(_0x5d0dbe['isHasCommentsModified'])),null!=_0x5d0dbe['state']&&(_0x44a20f['state']=String(_0x5d0dbe['state'])),null!=_0x5d0dbe['attributes']&&(_0x44a20f['attributes']=String(_0x5d0dbe['attributes'])),_0x44a20f;},_0x3ee7aa['toObject']=function(_0x135875,_0x39452f){_0x39452f||(_0x39452f={});var _0x14ac91={};return _0x39452f['defaults']&&(_0x14ac91['id']='',_0x14ac91['documentId']='',_0x14ac91['hasComments']=!0x1,_0x14ac91['isHasCommentsModified']=!0x1,_0x14ac91['state']='',_0x14ac91['attributes']=''),null!=_0x135875['id']&&_0x135875['hasOwnProperty']('id')&&(_0x14ac91['id']=_0x135875['id']),null!=_0x135875['documentId']&&_0x135875['hasOwnProperty']('documentId')&&(_0x14ac91['documentId']=_0x135875['documentId']),null!=_0x135875['hasComments']&&_0x135875['hasOwnProperty']('hasComments')&&(_0x14ac91['hasComments']=_0x135875['hasComments']),null!=_0x135875['isHasCommentsModified']&&_0x135875['hasOwnProperty']('isHasCommentsModified')&&(_0x14ac91['isHasCommentsModified']=_0x135875['isHasCommentsModified']),null!=_0x135875['state']&&_0x135875['hasOwnProperty']('state')&&(_0x14ac91['state']=_0x135875['state']),null!=_0x135875['attributes']&&_0x135875['hasOwnProperty']('attributes')&&(_0x14ac91['attributes']=_0x135875['attributes']),_0x14ac91;},_0x3ee7aa['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3ee7aa['getTypeUrl']=function(_0x1f4572){return void 0x0===_0x1f4572&&(_0x1f4572='type.googleapis.com'),_0x1f4572+'/TrackChangesUpdateSuggestionMessage';},_0x3ee7aa;}()),_0x416af3['TrackChangesGetSuggestionMessage']=(function(){function _0x2fdd75(_0x51a2a9){if(_0x51a2a9){for(var _0x229a23=Object['keys'](_0x51a2a9),_0x3c34cd=0x0;_0x3c34cd<_0x229a23['length'];++_0x3c34cd)null!=_0x51a2a9[_0x229a23[_0x3c34cd]]&&(this[_0x229a23[_0x3c34cd]]=_0x51a2a9[_0x229a23[_0x3c34cd]]);}}return _0x2fdd75['prototype']['id']='',_0x2fdd75['prototype']['documentId']='',_0x2fdd75['create']=function(_0x3c2466){return new _0x2fdd75(_0x3c2466);},_0x2fdd75['encode']=function(_0x4109fe,_0x11c514){return _0x11c514||(_0x11c514=_0x4ed70c['create']()),null!=_0x4109fe['id']&&Object['hasOwnProperty']['call'](_0x4109fe,'id')&&_0x11c514['uint32'](0xa)['string'](_0x4109fe['id']),null!=_0x4109fe['documentId']&&Object['hasOwnProperty']['call'](_0x4109fe,'documentId')&&_0x11c514['uint32'](0x12)['string'](_0x4109fe['documentId']),_0x11c514;},_0x2fdd75['encodeDelimited']=function(_0x48791e,_0x58ebbe){return this['encode'](_0x48791e,_0x58ebbe)['ldelim']();},_0x2fdd75['decode']=function(_0x6bcd46,_0x56290b,_0x3148d5){_0x6bcd46 instanceof _0x3dd834||(_0x6bcd46=_0x3dd834['create'](_0x6bcd46));for(var _0x541ccd=void 0x0===_0x56290b?_0x6bcd46['len']:_0x6bcd46['pos']+_0x56290b,_0x167b08=new _0x416af3['TrackChangesGetSuggestionMessage']();_0x6bcd46['pos']<_0x541ccd;){var _0x13a8f5=_0x6bcd46['uint32']();if(_0x13a8f5===_0x3148d5)break;switch(_0x13a8f5>>>0x3){case 0x1:_0x167b08['id']=_0x6bcd46['string']();break;case 0x2:_0x167b08['documentId']=_0x6bcd46['string']();break;default:_0x6bcd46['skipType'](0x7&_0x13a8f5);}}return _0x167b08;},_0x2fdd75['decodeDelimited']=function(_0x5d53ad){return _0x5d53ad instanceof _0x3dd834||(_0x5d53ad=new _0x3dd834(_0x5d53ad)),this['decode'](_0x5d53ad,_0x5d53ad['uint32']());},_0x2fdd75['verify']=function(_0x4f4e50){return'object'!=typeof _0x4f4e50||null===_0x4f4e50?'object\x20expected':null!=_0x4f4e50['id']&&_0x4f4e50['hasOwnProperty']('id')&&!_0xdeaf10['isString'](_0x4f4e50['id'])?'id:\x20string\x20expected':null!=_0x4f4e50['documentId']&&_0x4f4e50['hasOwnProperty']('documentId')&&!_0xdeaf10['isString'](_0x4f4e50['documentId'])?'documentId:\x20string\x20expected':null;},_0x2fdd75['fromObject']=function(_0x2d6469){if(_0x2d6469 instanceof _0x416af3['TrackChangesGetSuggestionMessage'])return _0x2d6469;var _0xdb3afa=new _0x416af3['TrackChangesGetSuggestionMessage']();return null!=_0x2d6469['id']&&(_0xdb3afa['id']=String(_0x2d6469['id'])),null!=_0x2d6469['documentId']&&(_0xdb3afa['documentId']=String(_0x2d6469['documentId'])),_0xdb3afa;},_0x2fdd75['toObject']=function(_0x5eb84e,_0x415e8c){_0x415e8c||(_0x415e8c={});var _0x4b9cf4={};return _0x415e8c['defaults']&&(_0x4b9cf4['id']='',_0x4b9cf4['documentId']=''),null!=_0x5eb84e['id']&&_0x5eb84e['hasOwnProperty']('id')&&(_0x4b9cf4['id']=_0x5eb84e['id']),null!=_0x5eb84e['documentId']&&_0x5eb84e['hasOwnProperty']('documentId')&&(_0x4b9cf4['documentId']=_0x5eb84e['documentId']),_0x4b9cf4;},_0x2fdd75['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2fdd75['getTypeUrl']=function(_0xc22534){return void 0x0===_0xc22534&&(_0xc22534='type.googleapis.com'),_0xc22534+'/TrackChangesGetSuggestionMessage';},_0x2fdd75;}()),_0x416af3['TrackChangesGetAllSuggestionMessage']=(function(){function _0x11c8ee(_0x5c00cd){if(_0x5c00cd){for(var _0x13ccc6=Object['keys'](_0x5c00cd),_0x2a78fd=0x0;_0x2a78fd<_0x13ccc6['length'];++_0x2a78fd)null!=_0x5c00cd[_0x13ccc6[_0x2a78fd]]&&(this[_0x13ccc6[_0x2a78fd]]=_0x5c00cd[_0x13ccc6[_0x2a78fd]]);}}return _0x11c8ee['prototype']['documentId']='',_0x11c8ee['create']=function(_0x11e7ed){return new _0x11c8ee(_0x11e7ed);},_0x11c8ee['encode']=function(_0x1114e1,_0x344dbc){return _0x344dbc||(_0x344dbc=_0x4ed70c['create']()),null!=_0x1114e1['documentId']&&Object['hasOwnProperty']['call'](_0x1114e1,'documentId')&&_0x344dbc['uint32'](0xa)['string'](_0x1114e1['documentId']),_0x344dbc;},_0x11c8ee['encodeDelimited']=function(_0x531b74,_0x9fb856){return this['encode'](_0x531b74,_0x9fb856)['ldelim']();},_0x11c8ee['decode']=function(_0x8db2a9,_0x46d307,_0x2600b4){_0x8db2a9 instanceof _0x3dd834||(_0x8db2a9=_0x3dd834['create'](_0x8db2a9));for(var _0x3252d7=void 0x0===_0x46d307?_0x8db2a9['len']:_0x8db2a9['pos']+_0x46d307,_0x5936a0=new _0x416af3['TrackChangesGetAllSuggestionMessage']();_0x8db2a9['pos']<_0x3252d7;){var _0x18bc7a=_0x8db2a9['uint32']();if(_0x18bc7a===_0x2600b4)break;_0x18bc7a>>>0x3==0x1?_0x5936a0['documentId']=_0x8db2a9['string']():_0x8db2a9['skipType'](0x7&_0x18bc7a);}return _0x5936a0;},_0x11c8ee['decodeDelimited']=function(_0x118405){return _0x118405 instanceof _0x3dd834||(_0x118405=new _0x3dd834(_0x118405)),this['decode'](_0x118405,_0x118405['uint32']());},_0x11c8ee['verify']=function(_0x400f83){return'object'!=typeof _0x400f83||null===_0x400f83?'object\x20expected':null!=_0x400f83['documentId']&&_0x400f83['hasOwnProperty']('documentId')&&!_0xdeaf10['isString'](_0x400f83['documentId'])?'documentId:\x20string\x20expected':null;},_0x11c8ee['fromObject']=function(_0xcbfa25){if(_0xcbfa25 instanceof _0x416af3['TrackChangesGetAllSuggestionMessage'])return _0xcbfa25;var _0x26b657=new _0x416af3['TrackChangesGetAllSuggestionMessage']();return null!=_0xcbfa25['documentId']&&(_0x26b657['documentId']=String(_0xcbfa25['documentId'])),_0x26b657;},_0x11c8ee['toObject']=function(_0x2f3488,_0xd0912c){_0xd0912c||(_0xd0912c={});var _0x459aa0={};return _0xd0912c['defaults']&&(_0x459aa0['documentId']=''),null!=_0x2f3488['documentId']&&_0x2f3488['hasOwnProperty']('documentId')&&(_0x459aa0['documentId']=_0x2f3488['documentId']),_0x459aa0;},_0x11c8ee['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x11c8ee['getTypeUrl']=function(_0x35dab1){return void 0x0===_0x35dab1&&(_0x35dab1='type.googleapis.com'),_0x35dab1+'/TrackChangesGetAllSuggestionMessage';},_0x11c8ee;}()),_0x416af3['TrackChangesConnectMessage']=(function(){function _0x488f6c(_0x2e5bbf){if(_0x2e5bbf){for(var _0x17f5b1=Object['keys'](_0x2e5bbf),_0x561b0d=0x0;_0x561b0d<_0x17f5b1['length'];++_0x561b0d)null!=_0x2e5bbf[_0x17f5b1[_0x561b0d]]&&(this[_0x17f5b1[_0x561b0d]]=_0x2e5bbf[_0x17f5b1[_0x561b0d]]);}}return _0x488f6c['prototype']['documentId']='',_0x488f6c['create']=function(_0x3aaeb7){return new _0x488f6c(_0x3aaeb7);},_0x488f6c['encode']=function(_0x500d84,_0x596d81){return _0x596d81||(_0x596d81=_0x4ed70c['create']()),null!=_0x500d84['documentId']&&Object['hasOwnProperty']['call'](_0x500d84,'documentId')&&_0x596d81['uint32'](0xa)['string'](_0x500d84['documentId']),_0x596d81;},_0x488f6c['encodeDelimited']=function(_0x23ec64,_0x1556fd){return this['encode'](_0x23ec64,_0x1556fd)['ldelim']();},_0x488f6c['decode']=function(_0x1ccc7b,_0x5ca39c,_0x47a444){_0x1ccc7b instanceof _0x3dd834||(_0x1ccc7b=_0x3dd834['create'](_0x1ccc7b));for(var _0x217122=void 0x0===_0x5ca39c?_0x1ccc7b['len']:_0x1ccc7b['pos']+_0x5ca39c,_0x17f6f4=new _0x416af3['TrackChangesConnectMessage']();_0x1ccc7b['pos']<_0x217122;){var _0x28f94a=_0x1ccc7b['uint32']();if(_0x28f94a===_0x47a444)break;_0x28f94a>>>0x3==0x1?_0x17f6f4['documentId']=_0x1ccc7b['string']():_0x1ccc7b['skipType'](0x7&_0x28f94a);}return _0x17f6f4;},_0x488f6c['decodeDelimited']=function(_0x327390){return _0x327390 instanceof _0x3dd834||(_0x327390=new _0x3dd834(_0x327390)),this['decode'](_0x327390,_0x327390['uint32']());},_0x488f6c['verify']=function(_0x36e7d8){return'object'!=typeof _0x36e7d8||null===_0x36e7d8?'object\x20expected':null!=_0x36e7d8['documentId']&&_0x36e7d8['hasOwnProperty']('documentId')&&!_0xdeaf10['isString'](_0x36e7d8['documentId'])?'documentId:\x20string\x20expected':null;},_0x488f6c['fromObject']=function(_0x27266c){if(_0x27266c instanceof _0x416af3['TrackChangesConnectMessage'])return _0x27266c;var _0x23e751=new _0x416af3['TrackChangesConnectMessage']();return null!=_0x27266c['documentId']&&(_0x23e751['documentId']=String(_0x27266c['documentId'])),_0x23e751;},_0x488f6c['toObject']=function(_0xf7a205,_0x3384de){_0x3384de||(_0x3384de={});var _0x426151={};return _0x3384de['defaults']&&(_0x426151['documentId']=''),null!=_0xf7a205['documentId']&&_0xf7a205['hasOwnProperty']('documentId')&&(_0x426151['documentId']=_0xf7a205['documentId']),_0x426151;},_0x488f6c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x488f6c['getTypeUrl']=function(_0x3cd072){return void 0x0===_0x3cd072&&(_0x3cd072='type.googleapis.com'),_0x3cd072+'/TrackChangesConnectMessage';},_0x488f6c;}()),_0x416af3['TrackChangesBatchUpdateSuggestionsStateMessage']=(function(){function _0x47d152(_0xac7402){if(this['ids']=[],_0xac7402){for(var _0x32e10c=Object['keys'](_0xac7402),_0x3495d9=0x0;_0x3495d9<_0x32e10c['length'];++_0x3495d9)null!=_0xac7402[_0x32e10c[_0x3495d9]]&&(this[_0x32e10c[_0x3495d9]]=_0xac7402[_0x32e10c[_0x3495d9]]);}}return _0x47d152['prototype']['ids']=_0xdeaf10['emptyArray'],_0x47d152['prototype']['documentId']='',_0x47d152['prototype']['state']='',_0x47d152['create']=function(_0x89c92c){return new _0x47d152(_0x89c92c);},_0x47d152['encode']=function(_0x4d53bf,_0x4823cc){if(_0x4823cc||(_0x4823cc=_0x4ed70c['create']()),null!=_0x4d53bf['ids']&&_0x4d53bf['ids']['length']){for(var _0x5244a5=0x0;_0x5244a5<_0x4d53bf['ids']['length'];++_0x5244a5)_0x4823cc['uint32'](0xa)['string'](_0x4d53bf['ids'][_0x5244a5]);}return null!=_0x4d53bf['documentId']&&Object['hasOwnProperty']['call'](_0x4d53bf,'documentId')&&_0x4823cc['uint32'](0x12)['string'](_0x4d53bf['documentId']),null!=_0x4d53bf['state']&&Object['hasOwnProperty']['call'](_0x4d53bf,'state')&&_0x4823cc['uint32'](0x1a)['string'](_0x4d53bf['state']),_0x4823cc;},_0x47d152['encodeDelimited']=function(_0x1e47ca,_0x2a8bb2){return this['encode'](_0x1e47ca,_0x2a8bb2)['ldelim']();},_0x47d152['decode']=function(_0x281de8,_0x546165,_0x291011){_0x281de8 instanceof _0x3dd834||(_0x281de8=_0x3dd834['create'](_0x281de8));for(var _0x1ea0a6=void 0x0===_0x546165?_0x281de8['len']:_0x281de8['pos']+_0x546165,_0x523fc2=new _0x416af3['TrackChangesBatchUpdateSuggestionsStateMessage']();_0x281de8['pos']<_0x1ea0a6;){var _0x2e9851=_0x281de8['uint32']();if(_0x2e9851===_0x291011)break;switch(_0x2e9851>>>0x3){case 0x1:_0x523fc2['ids']&&_0x523fc2['ids']['length']||(_0x523fc2['ids']=[]),_0x523fc2['ids']['push'](_0x281de8['string']());break;case 0x2:_0x523fc2['documentId']=_0x281de8['string']();break;case 0x3:_0x523fc2['state']=_0x281de8['string']();break;default:_0x281de8['skipType'](0x7&_0x2e9851);}}return _0x523fc2;},_0x47d152['decodeDelimited']=function(_0x2a840c){return _0x2a840c instanceof _0x3dd834||(_0x2a840c=new _0x3dd834(_0x2a840c)),this['decode'](_0x2a840c,_0x2a840c['uint32']());},_0x47d152['verify']=function(_0x21afa0){if('object'!=typeof _0x21afa0||null===_0x21afa0)return'object\x20expected';if(null!=_0x21afa0['ids']&&_0x21afa0['hasOwnProperty']('ids')){if(!Array['isArray'](_0x21afa0['ids']))return'ids:\x20array\x20expected';for(var _0x7ee27=0x0;_0x7ee27<_0x21afa0['ids']['length'];++_0x7ee27)if(!_0xdeaf10['isString'](_0x21afa0['ids'][_0x7ee27]))return'ids:\x20string[]\x20expected';}return null!=_0x21afa0['documentId']&&_0x21afa0['hasOwnProperty']('documentId')&&!_0xdeaf10['isString'](_0x21afa0['documentId'])?'documentId:\x20string\x20expected':null!=_0x21afa0['state']&&_0x21afa0['hasOwnProperty']('state')&&!_0xdeaf10['isString'](_0x21afa0['state'])?'state:\x20string\x20expected':null;},_0x47d152['fromObject']=function(_0x2d8971){if(_0x2d8971 instanceof _0x416af3['TrackChangesBatchUpdateSuggestionsStateMessage'])return _0x2d8971;var _0x46d629=new _0x416af3['TrackChangesBatchUpdateSuggestionsStateMessage']();if(_0x2d8971['ids']){if(!Array['isArray'](_0x2d8971['ids']))throw TypeError('.TrackChangesBatchUpdateSuggestionsStateMessage.ids:\x20array\x20expected');_0x46d629['ids']=[];for(var _0x41622b=0x0;_0x41622b<_0x2d8971['ids']['length'];++_0x41622b)_0x46d629['ids'][_0x41622b]=String(_0x2d8971['ids'][_0x41622b]);}return null!=_0x2d8971['documentId']&&(_0x46d629['documentId']=String(_0x2d8971['documentId'])),null!=_0x2d8971['state']&&(_0x46d629['state']=String(_0x2d8971['state'])),_0x46d629;},_0x47d152['toObject']=function(_0x2059e3,_0x571194){_0x571194||(_0x571194={});var _0x17547c={};if((_0x571194['arrays']||_0x571194['defaults'])&&(_0x17547c['ids']=[]),_0x571194['defaults']&&(_0x17547c['documentId']='',_0x17547c['state']=''),_0x2059e3['ids']&&_0x2059e3['ids']['length']){_0x17547c['ids']=[];for(var _0x442f7f=0x0;_0x442f7f<_0x2059e3['ids']['length'];++_0x442f7f)_0x17547c['ids'][_0x442f7f]=_0x2059e3['ids'][_0x442f7f];}return null!=_0x2059e3['documentId']&&_0x2059e3['hasOwnProperty']('documentId')&&(_0x17547c['documentId']=_0x2059e3['documentId']),null!=_0x2059e3['state']&&_0x2059e3['hasOwnProperty']('state')&&(_0x17547c['state']=_0x2059e3['state']),_0x17547c;},_0x47d152['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x47d152['getTypeUrl']=function(_0x58646a){return void 0x0===_0x58646a&&(_0x58646a='type.googleapis.com'),_0x58646a+'/TrackChangesBatchUpdateSuggestionsStateMessage';},_0x47d152;}()),_0x416af3['TrackChangesAddSuggestionMessage']=(function(){function _0x12bdd8(_0x4ece0e){if(_0x4ece0e){for(var _0x5098e5=Object['keys'](_0x4ece0e),_0x24ea71=0x0;_0x24ea71<_0x5098e5['length'];++_0x24ea71)null!=_0x4ece0e[_0x5098e5[_0x24ea71]]&&(this[_0x5098e5[_0x24ea71]]=_0x4ece0e[_0x5098e5[_0x24ea71]]);}}return _0x12bdd8['prototype']['id']='',_0x12bdd8['prototype']['documentId']='',_0x12bdd8['prototype']['type']='',_0x12bdd8['prototype']['data']='',_0x12bdd8['prototype']['originalSuggestionId']='',_0x12bdd8['prototype']['attributes']='',_0x12bdd8['create']=function(_0x5efa99){return new _0x12bdd8(_0x5efa99);},_0x12bdd8['encode']=function(_0x517363,_0x6e2bea){return _0x6e2bea||(_0x6e2bea=_0x4ed70c['create']()),null!=_0x517363['id']&&Object['hasOwnProperty']['call'](_0x517363,'id')&&_0x6e2bea['uint32'](0xa)['string'](_0x517363['id']),null!=_0x517363['documentId']&&Object['hasOwnProperty']['call'](_0x517363,'documentId')&&_0x6e2bea['uint32'](0x12)['string'](_0x517363['documentId']),null!=_0x517363['type']&&Object['hasOwnProperty']['call'](_0x517363,'type')&&_0x6e2bea['uint32'](0x1a)['string'](_0x517363['type']),null!=_0x517363['data']&&Object['hasOwnProperty']['call'](_0x517363,'data')&&_0x6e2bea['uint32'](0x22)['string'](_0x517363['data']),null!=_0x517363['originalSuggestionId']&&Object['hasOwnProperty']['call'](_0x517363,'originalSuggestionId')&&_0x6e2bea['uint32'](0x2a)['string'](_0x517363['originalSuggestionId']),null!=_0x517363['attributes']&&Object['hasOwnProperty']['call'](_0x517363,'attributes')&&_0x6e2bea['uint32'](0x32)['string'](_0x517363['attributes']),_0x6e2bea;},_0x12bdd8['encodeDelimited']=function(_0x2f023,_0x111652){return this['encode'](_0x2f023,_0x111652)['ldelim']();},_0x12bdd8['decode']=function(_0x146d23,_0x59b89c,_0x4583c6){_0x146d23 instanceof _0x3dd834||(_0x146d23=_0x3dd834['create'](_0x146d23));for(var _0x234aba=void 0x0===_0x59b89c?_0x146d23['len']:_0x146d23['pos']+_0x59b89c,_0x418674=new _0x416af3['TrackChangesAddSuggestionMessage']();_0x146d23['pos']<_0x234aba;){var _0xd4800d=_0x146d23['uint32']();if(_0xd4800d===_0x4583c6)break;switch(_0xd4800d>>>0x3){case 0x1:_0x418674['id']=_0x146d23['string']();break;case 0x2:_0x418674['documentId']=_0x146d23['string']();break;case 0x3:_0x418674['type']=_0x146d23['string']();break;case 0x4:_0x418674['data']=_0x146d23['string']();break;case 0x5:_0x418674['originalSuggestionId']=_0x146d23['string']();break;case 0x6:_0x418674['attributes']=_0x146d23['string']();break;default:_0x146d23['skipType'](0x7&_0xd4800d);}}return _0x418674;},_0x12bdd8['decodeDelimited']=function(_0x3608dc){return _0x3608dc instanceof _0x3dd834||(_0x3608dc=new _0x3dd834(_0x3608dc)),this['decode'](_0x3608dc,_0x3608dc['uint32']());},_0x12bdd8['verify']=function(_0x237a18){return'object'!=typeof _0x237a18||null===_0x237a18?'object\x20expected':null!=_0x237a18['id']&&_0x237a18['hasOwnProperty']('id')&&!_0xdeaf10['isString'](_0x237a18['id'])?'id:\x20string\x20expected':null!=_0x237a18['documentId']&&_0x237a18['hasOwnProperty']('documentId')&&!_0xdeaf10['isString'](_0x237a18['documentId'])?'documentId:\x20string\x20expected':null!=_0x237a18['type']&&_0x237a18['hasOwnProperty']('type')&&!_0xdeaf10['isString'](_0x237a18['type'])?'type:\x20string\x20expected':null!=_0x237a18['data']&&_0x237a18['hasOwnProperty']('data')&&!_0xdeaf10['isString'](_0x237a18['data'])?'data:\x20string\x20expected':null!=_0x237a18['originalSuggestionId']&&_0x237a18['hasOwnProperty']('originalSuggestionId')&&!_0xdeaf10['isString'](_0x237a18['originalSuggestionId'])?'originalSuggestionId:\x20string\x20expected':null!=_0x237a18['attributes']&&_0x237a18['hasOwnProperty']('attributes')&&!_0xdeaf10['isString'](_0x237a18['attributes'])?'attributes:\x20string\x20expected':null;},_0x12bdd8['fromObject']=function(_0x5bd59d){if(_0x5bd59d instanceof _0x416af3['TrackChangesAddSuggestionMessage'])return _0x5bd59d;var _0x1408ee=new _0x416af3['TrackChangesAddSuggestionMessage']();return null!=_0x5bd59d['id']&&(_0x1408ee['id']=String(_0x5bd59d['id'])),null!=_0x5bd59d['documentId']&&(_0x1408ee['documentId']=String(_0x5bd59d['documentId'])),null!=_0x5bd59d['type']&&(_0x1408ee['type']=String(_0x5bd59d['type'])),null!=_0x5bd59d['data']&&(_0x1408ee['data']=String(_0x5bd59d['data'])),null!=_0x5bd59d['originalSuggestionId']&&(_0x1408ee['originalSuggestionId']=String(_0x5bd59d['originalSuggestionId'])),null!=_0x5bd59d['attributes']&&(_0x1408ee['attributes']=String(_0x5bd59d['attributes'])),_0x1408ee;},_0x12bdd8['toObject']=function(_0x34d103,_0x2d19ab){_0x2d19ab||(_0x2d19ab={});var _0x1120de={};return _0x2d19ab['defaults']&&(_0x1120de['id']='',_0x1120de['documentId']='',_0x1120de['type']='',_0x1120de['data']='',_0x1120de['originalSuggestionId']='',_0x1120de['attributes']=''),null!=_0x34d103['id']&&_0x34d103['hasOwnProperty']('id')&&(_0x1120de['id']=_0x34d103['id']),null!=_0x34d103['documentId']&&_0x34d103['hasOwnProperty']('documentId')&&(_0x1120de['documentId']=_0x34d103['documentId']),null!=_0x34d103['type']&&_0x34d103['hasOwnProperty']('type')&&(_0x1120de['type']=_0x34d103['type']),null!=_0x34d103['data']&&_0x34d103['hasOwnProperty']('data')&&(_0x1120de['data']=_0x34d103['data']),null!=_0x34d103['originalSuggestionId']&&_0x34d103['hasOwnProperty']('originalSuggestionId')&&(_0x1120de['originalSuggestionId']=_0x34d103['originalSuggestionId']),null!=_0x34d103['attributes']&&_0x34d103['hasOwnProperty']('attributes')&&(_0x1120de['attributes']=_0x34d103['attributes']),_0x1120de;},_0x12bdd8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x12bdd8['getTypeUrl']=function(_0x14f24d){return void 0x0===_0x14f24d&&(_0x14f24d='type.googleapis.com'),_0x14f24d+'/TrackChangesAddSuggestionMessage';},_0x12bdd8;}()),_0x416af3['SuggestionDescriptor']=(function(){function _0x2d0f09(_0x3e3183){if(_0x3e3183){for(var _0x17604e=Object['keys'](_0x3e3183),_0x128241=0x0;_0x128241<_0x17604e['length'];++_0x128241)null!=_0x3e3183[_0x17604e[_0x128241]]&&(this[_0x17604e[_0x128241]]=_0x3e3183[_0x17604e[_0x128241]]);}}return _0x2d0f09['prototype']['id']='',_0x2d0f09['prototype']['authorId']='',_0x2d0f09['prototype']['type']='',_0x2d0f09['prototype']['createdAt']='',_0x2d0f09['prototype']['data']='',_0x2d0f09['prototype']['hasComments']=!0x1,_0x2d0f09['prototype']['state']='',_0x2d0f09['prototype']['attributes']='',_0x2d0f09['create']=function(_0x2e8894){return new _0x2d0f09(_0x2e8894);},_0x2d0f09['encode']=function(_0x35e255,_0x5105ee){return _0x5105ee||(_0x5105ee=_0x4ed70c['create']()),null!=_0x35e255['id']&&Object['hasOwnProperty']['call'](_0x35e255,'id')&&_0x5105ee['uint32'](0xa)['string'](_0x35e255['id']),null!=_0x35e255['authorId']&&Object['hasOwnProperty']['call'](_0x35e255,'authorId')&&_0x5105ee['uint32'](0x12)['string'](_0x35e255['authorId']),null!=_0x35e255['type']&&Object['hasOwnProperty']['call'](_0x35e255,'type')&&_0x5105ee['uint32'](0x1a)['string'](_0x35e255['type']),null!=_0x35e255['createdAt']&&Object['hasOwnProperty']['call'](_0x35e255,'createdAt')&&_0x5105ee['uint32'](0x22)['string'](_0x35e255['createdAt']),null!=_0x35e255['data']&&Object['hasOwnProperty']['call'](_0x35e255,'data')&&_0x5105ee['uint32'](0x2a)['string'](_0x35e255['data']),null!=_0x35e255['hasComments']&&Object['hasOwnProperty']['call'](_0x35e255,'hasComments')&&_0x5105ee['uint32'](0x30)['bool'](_0x35e255['hasComments']),null!=_0x35e255['state']&&Object['hasOwnProperty']['call'](_0x35e255,'state')&&_0x5105ee['uint32'](0x3a)['string'](_0x35e255['state']),null!=_0x35e255['attributes']&&Object['hasOwnProperty']['call'](_0x35e255,'attributes')&&_0x5105ee['uint32'](0x42)['string'](_0x35e255['attributes']),_0x5105ee;},_0x2d0f09['encodeDelimited']=function(_0x13a7b0,_0x11ec82){return this['encode'](_0x13a7b0,_0x11ec82)['ldelim']();},_0x2d0f09['decode']=function(_0x5c60c3,_0x3d76d8,_0xc4f38e){_0x5c60c3 instanceof _0x3dd834||(_0x5c60c3=_0x3dd834['create'](_0x5c60c3));for(var _0xa88a4b=void 0x0===_0x3d76d8?_0x5c60c3['len']:_0x5c60c3['pos']+_0x3d76d8,_0xa9a937=new _0x416af3['SuggestionDescriptor']();_0x5c60c3['pos']<_0xa88a4b;){var _0x1ebba6=_0x5c60c3['uint32']();if(_0x1ebba6===_0xc4f38e)break;switch(_0x1ebba6>>>0x3){case 0x1:_0xa9a937['id']=_0x5c60c3['string']();break;case 0x2:_0xa9a937['authorId']=_0x5c60c3['string']();break;case 0x3:_0xa9a937['type']=_0x5c60c3['string']();break;case 0x4:_0xa9a937['createdAt']=_0x5c60c3['string']();break;case 0x5:_0xa9a937['data']=_0x5c60c3['string']();break;case 0x6:_0xa9a937['hasComments']=_0x5c60c3['bool']();break;case 0x7:_0xa9a937['state']=_0x5c60c3['string']();break;case 0x8:_0xa9a937['attributes']=_0x5c60c3['string']();break;default:_0x5c60c3['skipType'](0x7&_0x1ebba6);}}return _0xa9a937;},_0x2d0f09['decodeDelimited']=function(_0x27e9f9){return _0x27e9f9 instanceof _0x3dd834||(_0x27e9f9=new _0x3dd834(_0x27e9f9)),this['decode'](_0x27e9f9,_0x27e9f9['uint32']());},_0x2d0f09['verify']=function(_0x33fe7d){return'object'!=typeof _0x33fe7d||null===_0x33fe7d?'object\x20expected':null!=_0x33fe7d['id']&&_0x33fe7d['hasOwnProperty']('id')&&!_0xdeaf10['isString'](_0x33fe7d['id'])?'id:\x20string\x20expected':null!=_0x33fe7d['authorId']&&_0x33fe7d['hasOwnProperty']('authorId')&&!_0xdeaf10['isString'](_0x33fe7d['authorId'])?'authorId:\x20string\x20expected':null!=_0x33fe7d['type']&&_0x33fe7d['hasOwnProperty']('type')&&!_0xdeaf10['isString'](_0x33fe7d['type'])?'type:\x20string\x20expected':null!=_0x33fe7d['createdAt']&&_0x33fe7d['hasOwnProperty']('createdAt')&&!_0xdeaf10['isString'](_0x33fe7d['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x33fe7d['data']&&_0x33fe7d['hasOwnProperty']('data')&&!_0xdeaf10['isString'](_0x33fe7d['data'])?'data:\x20string\x20expected':null!=_0x33fe7d['hasComments']&&_0x33fe7d['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x33fe7d['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x33fe7d['state']&&_0x33fe7d['hasOwnProperty']('state')&&!_0xdeaf10['isString'](_0x33fe7d['state'])?'state:\x20string\x20expected':null!=_0x33fe7d['attributes']&&_0x33fe7d['hasOwnProperty']('attributes')&&!_0xdeaf10['isString'](_0x33fe7d['attributes'])?'attributes:\x20string\x20expected':null;},_0x2d0f09['fromObject']=function(_0x54a1a2){if(_0x54a1a2 instanceof _0x416af3['SuggestionDescriptor'])return _0x54a1a2;var _0x3e64c8=new _0x416af3['SuggestionDescriptor']();return null!=_0x54a1a2['id']&&(_0x3e64c8['id']=String(_0x54a1a2['id'])),null!=_0x54a1a2['authorId']&&(_0x3e64c8['authorId']=String(_0x54a1a2['authorId'])),null!=_0x54a1a2['type']&&(_0x3e64c8['type']=String(_0x54a1a2['type'])),null!=_0x54a1a2['createdAt']&&(_0x3e64c8['createdAt']=String(_0x54a1a2['createdAt'])),null!=_0x54a1a2['data']&&(_0x3e64c8['data']=String(_0x54a1a2['data'])),null!=_0x54a1a2['hasComments']&&(_0x3e64c8['hasComments']=Boolean(_0x54a1a2['hasComments'])),null!=_0x54a1a2['state']&&(_0x3e64c8['state']=String(_0x54a1a2['state'])),null!=_0x54a1a2['attributes']&&(_0x3e64c8['attributes']=String(_0x54a1a2['attributes'])),_0x3e64c8;},_0x2d0f09['toObject']=function(_0x226e29,_0x4180c8){_0x4180c8||(_0x4180c8={});var _0x2d58cf={};return _0x4180c8['defaults']&&(_0x2d58cf['id']='',_0x2d58cf['authorId']='',_0x2d58cf['type']='',_0x2d58cf['createdAt']='',_0x2d58cf['data']='',_0x2d58cf['hasComments']=!0x1,_0x2d58cf['state']='',_0x2d58cf['attributes']=''),null!=_0x226e29['id']&&_0x226e29['hasOwnProperty']('id')&&(_0x2d58cf['id']=_0x226e29['id']),null!=_0x226e29['authorId']&&_0x226e29['hasOwnProperty']('authorId')&&(_0x2d58cf['authorId']=_0x226e29['authorId']),null!=_0x226e29['type']&&_0x226e29['hasOwnProperty']('type')&&(_0x2d58cf['type']=_0x226e29['type']),null!=_0x226e29['createdAt']&&_0x226e29['hasOwnProperty']('createdAt')&&(_0x2d58cf['createdAt']=_0x226e29['createdAt']),null!=_0x226e29['data']&&_0x226e29['hasOwnProperty']('data')&&(_0x2d58cf['data']=_0x226e29['data']),null!=_0x226e29['hasComments']&&_0x226e29['hasOwnProperty']('hasComments')&&(_0x2d58cf['hasComments']=_0x226e29['hasComments']),null!=_0x226e29['state']&&_0x226e29['hasOwnProperty']('state')&&(_0x2d58cf['state']=_0x226e29['state']),null!=_0x226e29['attributes']&&_0x226e29['hasOwnProperty']('attributes')&&(_0x2d58cf['attributes']=_0x226e29['attributes']),_0x2d58cf;},_0x2d0f09['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2d0f09['getTypeUrl']=function(_0x4bc8ba){return void 0x0===_0x4bc8ba&&(_0x4bc8ba='type.googleapis.com'),_0x4bc8ba+'/SuggestionDescriptor';},_0x2d0f09;}()),_0x416af3['SessionsConnectResponse']=(function(){function _0x47849b(_0x124c48){if(this['sockets']=[],_0x124c48){for(var _0x35da06=Object['keys'](_0x124c48),_0x4d6cf1=0x0;_0x4d6cf1<_0x35da06['length'];++_0x4d6cf1)null!=_0x124c48[_0x35da06[_0x4d6cf1]]&&(this[_0x35da06[_0x4d6cf1]]=_0x124c48[_0x35da06[_0x4d6cf1]]);}}return _0x47849b['prototype']['channel']='',_0x47849b['prototype']['sockets']=_0xdeaf10['emptyArray'],_0x47849b['create']=function(_0x2622ec){return new _0x47849b(_0x2622ec);},_0x47849b['encode']=function(_0x5a006d,_0x1f9a1c){if(_0x1f9a1c||(_0x1f9a1c=_0x4ed70c['create']()),null!=_0x5a006d['channel']&&Object['hasOwnProperty']['call'](_0x5a006d,'channel')&&_0x1f9a1c['uint32'](0xa)['string'](_0x5a006d['channel']),null!=_0x5a006d['sockets']&&_0x5a006d['sockets']['length']){for(var _0x899628=0x0;_0x899628<_0x5a006d['sockets']['length'];++_0x899628)_0x416af3['SessionsSocketDescriptor']['encode'](_0x5a006d['sockets'][_0x899628],_0x1f9a1c['uint32'](0x12)['fork']())['ldelim']();}return _0x1f9a1c;},_0x47849b['encodeDelimited']=function(_0x3f670b,_0x37474b){return this['encode'](_0x3f670b,_0x37474b)['ldelim']();},_0x47849b['decode']=function(_0x1317ab,_0xc718c7,_0x3821d6){_0x1317ab instanceof _0x3dd834||(_0x1317ab=_0x3dd834['create'](_0x1317ab));for(var _0x5a93d6=void 0x0===_0xc718c7?_0x1317ab['len']:_0x1317ab['pos']+_0xc718c7,_0x1819ad=new _0x416af3['SessionsConnectResponse']();_0x1317ab['pos']<_0x5a93d6;){var _0x6eb703=_0x1317ab['uint32']();if(_0x6eb703===_0x3821d6)break;switch(_0x6eb703>>>0x3){case 0x1:_0x1819ad['channel']=_0x1317ab['string']();break;case 0x2:_0x1819ad['sockets']&&_0x1819ad['sockets']['length']||(_0x1819ad['sockets']=[]),_0x1819ad['sockets']['push'](_0x416af3['SessionsSocketDescriptor']['decode'](_0x1317ab,_0x1317ab['uint32']()));break;default:_0x1317ab['skipType'](0x7&_0x6eb703);}}return _0x1819ad;},_0x47849b['decodeDelimited']=function(_0x56bc80){return _0x56bc80 instanceof _0x3dd834||(_0x56bc80=new _0x3dd834(_0x56bc80)),this['decode'](_0x56bc80,_0x56bc80['uint32']());},_0x47849b['verify']=function(_0x3c97d7){if('object'!=typeof _0x3c97d7||null===_0x3c97d7)return'object\x20expected';if(null!=_0x3c97d7['channel']&&_0x3c97d7['hasOwnProperty']('channel')&&!_0xdeaf10['isString'](_0x3c97d7['channel']))return'channel:\x20string\x20expected';if(null!=_0x3c97d7['sockets']&&_0x3c97d7['hasOwnProperty']('sockets')){if(!Array['isArray'](_0x3c97d7['sockets']))return'sockets:\x20array\x20expected';for(var _0x3ac49e=0x0;_0x3ac49e<_0x3c97d7['sockets']['length'];++_0x3ac49e){var _0x34e488=_0x416af3['SessionsSocketDescriptor']['verify'](_0x3c97d7['sockets'][_0x3ac49e]);if(_0x34e488)return'sockets.'+_0x34e488;}}return null;},_0x47849b['fromObject']=function(_0x31a6a1){if(_0x31a6a1 instanceof _0x416af3['SessionsConnectResponse'])return _0x31a6a1;var _0xf22a70=new _0x416af3['SessionsConnectResponse']();if(null!=_0x31a6a1['channel']&&(_0xf22a70['channel']=String(_0x31a6a1['channel'])),_0x31a6a1['sockets']){if(!Array['isArray'](_0x31a6a1['sockets']))throw TypeError('.SessionsConnectResponse.sockets:\x20array\x20expected');_0xf22a70['sockets']=[];for(var _0x2b694c=0x0;_0x2b694c<_0x31a6a1['sockets']['length'];++_0x2b694c){if('object'!=typeof _0x31a6a1['sockets'][_0x2b694c])throw TypeError('.SessionsConnectResponse.sockets:\x20object\x20expected');_0xf22a70['sockets'][_0x2b694c]=_0x416af3['SessionsSocketDescriptor']['fromObject'](_0x31a6a1['sockets'][_0x2b694c]);}}return _0xf22a70;},_0x47849b['toObject']=function(_0x16474b,_0x24595d){_0x24595d||(_0x24595d={});var _0x438f57={};if((_0x24595d['arrays']||_0x24595d['defaults'])&&(_0x438f57['sockets']=[]),_0x24595d['defaults']&&(_0x438f57['channel']=''),null!=_0x16474b['channel']&&_0x16474b['hasOwnProperty']('channel')&&(_0x438f57['channel']=_0x16474b['channel']),_0x16474b['sockets']&&_0x16474b['sockets']['length']){_0x438f57['sockets']=[];for(var _0x1dc01f=0x0;_0x1dc01f<_0x16474b['sockets']['length'];++_0x1dc01f)_0x438f57['sockets'][_0x1dc01f]=_0x416af3['SessionsSocketDescriptor']['toObject'](_0x16474b['sockets'][_0x1dc01f],_0x24595d);}return _0x438f57;},_0x47849b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x47849b['getTypeUrl']=function(_0x6606fe){return void 0x0===_0x6606fe&&(_0x6606fe='type.googleapis.com'),_0x6606fe+'/SessionsConnectResponse';},_0x47849b;}()),_0x416af3['SocketDisconnectMessage']=(function(){function _0x436ab6(_0x4220ac){if(_0x4220ac){for(var _0x2dcd51=Object['keys'](_0x4220ac),_0x43440e=0x0;_0x43440e<_0x2dcd51['length'];++_0x43440e)null!=_0x4220ac[_0x2dcd51[_0x43440e]]&&(this[_0x2dcd51[_0x43440e]]=_0x4220ac[_0x2dcd51[_0x43440e]]);}}return _0x436ab6['prototype']['id']='',_0x436ab6['create']=function(_0x43d146){return new _0x436ab6(_0x43d146);},_0x436ab6['encode']=function(_0x2cf5e8,_0x2fb17b){return _0x2fb17b||(_0x2fb17b=_0x4ed70c['create']()),null!=_0x2cf5e8['id']&&Object['hasOwnProperty']['call'](_0x2cf5e8,'id')&&_0x2fb17b['uint32'](0xa)['string'](_0x2cf5e8['id']),_0x2fb17b;},_0x436ab6['encodeDelimited']=function(_0x53cc62,_0x4e612d){return this['encode'](_0x53cc62,_0x4e612d)['ldelim']();},_0x436ab6['decode']=function(_0x2a1cbf,_0x5dc06f,_0x206030){_0x2a1cbf instanceof _0x3dd834||(_0x2a1cbf=_0x3dd834['create'](_0x2a1cbf));for(var _0x4ffdf3=void 0x0===_0x5dc06f?_0x2a1cbf['len']:_0x2a1cbf['pos']+_0x5dc06f,_0x36db4d=new _0x416af3['SocketDisconnectMessage']();_0x2a1cbf['pos']<_0x4ffdf3;){var _0x425919=_0x2a1cbf['uint32']();if(_0x425919===_0x206030)break;_0x425919>>>0x3==0x1?_0x36db4d['id']=_0x2a1cbf['string']():_0x2a1cbf['skipType'](0x7&_0x425919);}return _0x36db4d;},_0x436ab6['decodeDelimited']=function(_0x19c453){return _0x19c453 instanceof _0x3dd834||(_0x19c453=new _0x3dd834(_0x19c453)),this['decode'](_0x19c453,_0x19c453['uint32']());},_0x436ab6['verify']=function(_0x3c2001){return'object'!=typeof _0x3c2001||null===_0x3c2001?'object\x20expected':null!=_0x3c2001['id']&&_0x3c2001['hasOwnProperty']('id')&&!_0xdeaf10['isString'](_0x3c2001['id'])?'id:\x20string\x20expected':null;},_0x436ab6['fromObject']=function(_0x498cb){if(_0x498cb instanceof _0x416af3['SocketDisconnectMessage'])return _0x498cb;var _0xe1183f=new _0x416af3['SocketDisconnectMessage']();return null!=_0x498cb['id']&&(_0xe1183f['id']=String(_0x498cb['id'])),_0xe1183f;},_0x436ab6['toObject']=function(_0x3e33a2,_0x225ce1){_0x225ce1||(_0x225ce1={});var _0x30467b={};return _0x225ce1['defaults']&&(_0x30467b['id']=''),null!=_0x3e33a2['id']&&_0x3e33a2['hasOwnProperty']('id')&&(_0x30467b['id']=_0x3e33a2['id']),_0x30467b;},_0x436ab6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x436ab6['getTypeUrl']=function(_0x3fd7ea){return void 0x0===_0x3fd7ea&&(_0x3fd7ea='type.googleapis.com'),_0x3fd7ea+'/SocketDisconnectMessage';},_0x436ab6;}()),_0x416af3['SocketConnectMessage']=(function(){function _0x5ddf82(_0x3b5bdc){if(this['permissions']=[],_0x3b5bdc){for(var _0x2d6d71=Object['keys'](_0x3b5bdc),_0x3777b2=0x0;_0x3777b2<_0x2d6d71['length'];++_0x3777b2)null!=_0x3b5bdc[_0x2d6d71[_0x3777b2]]&&(this[_0x2d6d71[_0x3777b2]]=_0x3b5bdc[_0x2d6d71[_0x3777b2]]);}}return _0x5ddf82['prototype']['id']='',_0x5ddf82['prototype']['userId']='',_0x5ddf82['prototype']['role']='',_0x5ddf82['prototype']['permissions']=_0xdeaf10['emptyArray'],_0x5ddf82['create']=function(_0x490011){return new _0x5ddf82(_0x490011);},_0x5ddf82['encode']=function(_0x48d142,_0x348fdc){if(_0x348fdc||(_0x348fdc=_0x4ed70c['create']()),null!=_0x48d142['id']&&Object['hasOwnProperty']['call'](_0x48d142,'id')&&_0x348fdc['uint32'](0xa)['string'](_0x48d142['id']),null!=_0x48d142['userId']&&Object['hasOwnProperty']['call'](_0x48d142,'userId')&&_0x348fdc['uint32'](0x12)['string'](_0x48d142['userId']),null!=_0x48d142['role']&&Object['hasOwnProperty']['call'](_0x48d142,'role')&&_0x348fdc['uint32'](0x1a)['string'](_0x48d142['role']),null!=_0x48d142['permissions']&&_0x48d142['permissions']['length']){for(var _0x415df6=0x0;_0x415df6<_0x48d142['permissions']['length'];++_0x415df6)_0x348fdc['uint32'](0x22)['string'](_0x48d142['permissions'][_0x415df6]);}return _0x348fdc;},_0x5ddf82['encodeDelimited']=function(_0x49d97c,_0x2448a3){return this['encode'](_0x49d97c,_0x2448a3)['ldelim']();},_0x5ddf82['decode']=function(_0x2b0f9a,_0x264261,_0x5bb147){_0x2b0f9a instanceof _0x3dd834||(_0x2b0f9a=_0x3dd834['create'](_0x2b0f9a));for(var _0x2f26ea=void 0x0===_0x264261?_0x2b0f9a['len']:_0x2b0f9a['pos']+_0x264261,_0x1cf99b=new _0x416af3['SocketConnectMessage']();_0x2b0f9a['pos']<_0x2f26ea;){var _0x1fca56=_0x2b0f9a['uint32']();if(_0x1fca56===_0x5bb147)break;switch(_0x1fca56>>>0x3){case 0x1:_0x1cf99b['id']=_0x2b0f9a['string']();break;case 0x2:_0x1cf99b['userId']=_0x2b0f9a['string']();break;case 0x3:_0x1cf99b['role']=_0x2b0f9a['string']();break;case 0x4:_0x1cf99b['permissions']&&_0x1cf99b['permissions']['length']||(_0x1cf99b['permissions']=[]),_0x1cf99b['permissions']['push'](_0x2b0f9a['string']());break;default:_0x2b0f9a['skipType'](0x7&_0x1fca56);}}return _0x1cf99b;},_0x5ddf82['decodeDelimited']=function(_0x6b1936){return _0x6b1936 instanceof _0x3dd834||(_0x6b1936=new _0x3dd834(_0x6b1936)),this['decode'](_0x6b1936,_0x6b1936['uint32']());},_0x5ddf82['verify']=function(_0x2597bb){if('object'!=typeof _0x2597bb||null===_0x2597bb)return'object\x20expected';if(null!=_0x2597bb['id']&&_0x2597bb['hasOwnProperty']('id')&&!_0xdeaf10['isString'](_0x2597bb['id']))return'id:\x20string\x20expected';if(null!=_0x2597bb['userId']&&_0x2597bb['hasOwnProperty']('userId')&&!_0xdeaf10['isString'](_0x2597bb['userId']))return'userId:\x20string\x20expected';if(null!=_0x2597bb['role']&&_0x2597bb['hasOwnProperty']('role')&&!_0xdeaf10['isString'](_0x2597bb['role']))return'role:\x20string\x20expected';if(null!=_0x2597bb['permissions']&&_0x2597bb['hasOwnProperty']('permissions')){if(!Array['isArray'](_0x2597bb['permissions']))return'permissions:\x20array\x20expected';for(var _0x9b7269=0x0;_0x9b7269<_0x2597bb['permissions']['length'];++_0x9b7269)if(!_0xdeaf10['isString'](_0x2597bb['permissions'][_0x9b7269]))return'permissions:\x20string[]\x20expected';}return null;},_0x5ddf82['fromObject']=function(_0x26f06d){if(_0x26f06d instanceof _0x416af3['SocketConnectMessage'])return _0x26f06d;var _0x11cd01=new _0x416af3['SocketConnectMessage']();if(null!=_0x26f06d['id']&&(_0x11cd01['id']=String(_0x26f06d['id'])),null!=_0x26f06d['userId']&&(_0x11cd01['userId']=String(_0x26f06d['userId'])),null!=_0x26f06d['role']&&(_0x11cd01['role']=String(_0x26f06d['role'])),_0x26f06d['permissions']){if(!Array['isArray'](_0x26f06d['permissions']))throw TypeError('.SocketConnectMessage.permissions:\x20array\x20expected');_0x11cd01['permissions']=[];for(var _0x3b907e=0x0;_0x3b907e<_0x26f06d['permissions']['length'];++_0x3b907e)_0x11cd01['permissions'][_0x3b907e]=String(_0x26f06d['permissions'][_0x3b907e]);}return _0x11cd01;},_0x5ddf82['toObject']=function(_0x3944e2,_0x5cc032){_0x5cc032||(_0x5cc032={});var _0x495818={};if((_0x5cc032['arrays']||_0x5cc032['defaults'])&&(_0x495818['permissions']=[]),_0x5cc032['defaults']&&(_0x495818['id']='',_0x495818['userId']='',_0x495818['role']=''),null!=_0x3944e2['id']&&_0x3944e2['hasOwnProperty']('id')&&(_0x495818['id']=_0x3944e2['id']),null!=_0x3944e2['userId']&&_0x3944e2['hasOwnProperty']('userId')&&(_0x495818['userId']=_0x3944e2['userId']),null!=_0x3944e2['role']&&_0x3944e2['hasOwnProperty']('role')&&(_0x495818['role']=_0x3944e2['role']),_0x3944e2['permissions']&&_0x3944e2['permissions']['length']){_0x495818['permissions']=[];for(var _0x171d28=0x0;_0x171d28<_0x3944e2['permissions']['length'];++_0x171d28)_0x495818['permissions'][_0x171d28]=_0x3944e2['permissions'][_0x171d28];}return _0x495818;},_0x5ddf82['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5ddf82['getTypeUrl']=function(_0xe272e1){return void 0x0===_0xe272e1&&(_0xe272e1='type.googleapis.com'),_0xe272e1+'/SocketConnectMessage';},_0x5ddf82;}()),_0x416af3['SessionsConnectMessage']=(function(){function _0x5b6740(_0x3a0ff1){if(_0x3a0ff1){for(var _0x13bd65=Object['keys'](_0x3a0ff1),_0x4698b4=0x0;_0x4698b4<_0x13bd65['length'];++_0x4698b4)null!=_0x3a0ff1[_0x13bd65[_0x4698b4]]&&(this[_0x13bd65[_0x4698b4]]=_0x3a0ff1[_0x13bd65[_0x4698b4]]);}}return _0x5b6740['prototype']['id']='',_0x5b6740['prototype']['sessionType']=0x0,_0x5b6740['create']=function(_0x26635d){return new _0x5b6740(_0x26635d);},_0x5b6740['encode']=function(_0x276c79,_0x3be3fb){return _0x3be3fb||(_0x3be3fb=_0x4ed70c['create']()),null!=_0x276c79['id']&&Object['hasOwnProperty']['call'](_0x276c79,'id')&&_0x3be3fb['uint32'](0xa)['string'](_0x276c79['id']),null!=_0x276c79['sessionType']&&Object['hasOwnProperty']['call'](_0x276c79,'sessionType')&&_0x3be3fb['uint32'](0x10)['uint32'](_0x276c79['sessionType']),_0x3be3fb;},_0x5b6740['encodeDelimited']=function(_0x182eed,_0x59befc){return this['encode'](_0x182eed,_0x59befc)['ldelim']();},_0x5b6740['decode']=function(_0x4218d4,_0x5ba219,_0x424821){_0x4218d4 instanceof _0x3dd834||(_0x4218d4=_0x3dd834['create'](_0x4218d4));for(var _0x142163=void 0x0===_0x5ba219?_0x4218d4['len']:_0x4218d4['pos']+_0x5ba219,_0x21da37=new _0x416af3['SessionsConnectMessage']();_0x4218d4['pos']<_0x142163;){var _0x399bdc=_0x4218d4['uint32']();if(_0x399bdc===_0x424821)break;switch(_0x399bdc>>>0x3){case 0x1:_0x21da37['id']=_0x4218d4['string']();break;case 0x2:_0x21da37['sessionType']=_0x4218d4['uint32']();break;default:_0x4218d4['skipType'](0x7&_0x399bdc);}}return _0x21da37;},_0x5b6740['decodeDelimited']=function(_0x41c2ad){return _0x41c2ad instanceof _0x3dd834||(_0x41c2ad=new _0x3dd834(_0x41c2ad)),this['decode'](_0x41c2ad,_0x41c2ad['uint32']());},_0x5b6740['verify']=function(_0x517e06){return'object'!=typeof _0x517e06||null===_0x517e06?'object\x20expected':null!=_0x517e06['id']&&_0x517e06['hasOwnProperty']('id')&&!_0xdeaf10['isString'](_0x517e06['id'])?'id:\x20string\x20expected':null!=_0x517e06['sessionType']&&_0x517e06['hasOwnProperty']('sessionType')&&!_0xdeaf10['isInteger'](_0x517e06['sessionType'])?'sessionType:\x20integer\x20expected':null;},_0x5b6740['fromObject']=function(_0x539d57){if(_0x539d57 instanceof _0x416af3['SessionsConnectMessage'])return _0x539d57;var _0x14a3ed=new _0x416af3['SessionsConnectMessage']();return null!=_0x539d57['id']&&(_0x14a3ed['id']=String(_0x539d57['id'])),null!=_0x539d57['sessionType']&&(_0x14a3ed['sessionType']=_0x539d57['sessionType']>>>0x0),_0x14a3ed;},_0x5b6740['toObject']=function(_0x5393cc,_0x38dc17){_0x38dc17||(_0x38dc17={});var _0x4172b7={};return _0x38dc17['defaults']&&(_0x4172b7['id']='',_0x4172b7['sessionType']=0x0),null!=_0x5393cc['id']&&_0x5393cc['hasOwnProperty']('id')&&(_0x4172b7['id']=_0x5393cc['id']),null!=_0x5393cc['sessionType']&&_0x5393cc['hasOwnProperty']('sessionType')&&(_0x4172b7['sessionType']=_0x5393cc['sessionType']),_0x4172b7;},_0x5b6740['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5b6740['getTypeUrl']=function(_0x6dbe9a){return void 0x0===_0x6dbe9a&&(_0x6dbe9a='type.googleapis.com'),_0x6dbe9a+'/SessionsConnectMessage';},_0x5b6740;}()),_0x416af3['SessionsSocketDescriptor']=(function(){function _0x5288ae(_0x5c8afe){if(this['permissions']=[],_0x5c8afe){for(var _0x33525d=Object['keys'](_0x5c8afe),_0x362166=0x0;_0x362166<_0x33525d['length'];++_0x362166)null!=_0x5c8afe[_0x33525d[_0x362166]]&&(this[_0x33525d[_0x362166]]=_0x5c8afe[_0x33525d[_0x362166]]);}}return _0x5288ae['prototype']['session']='',_0x5288ae['prototype']['user']='',_0x5288ae['prototype']['role']='',_0x5288ae['prototype']['permissions']=_0xdeaf10['emptyArray'],_0x5288ae['create']=function(_0x2488ff){return new _0x5288ae(_0x2488ff);},_0x5288ae['encode']=function(_0x2a281c,_0x381a38){if(_0x381a38||(_0x381a38=_0x4ed70c['create']()),null!=_0x2a281c['session']&&Object['hasOwnProperty']['call'](_0x2a281c,'session')&&_0x381a38['uint32'](0xa)['string'](_0x2a281c['session']),null!=_0x2a281c['user']&&Object['hasOwnProperty']['call'](_0x2a281c,'user')&&_0x381a38['uint32'](0x12)['string'](_0x2a281c['user']),null!=_0x2a281c['role']&&Object['hasOwnProperty']['call'](_0x2a281c,'role')&&_0x381a38['uint32'](0x1a)['string'](_0x2a281c['role']),null!=_0x2a281c['permissions']&&_0x2a281c['permissions']['length']){for(var _0x17b30e=0x0;_0x17b30e<_0x2a281c['permissions']['length'];++_0x17b30e)_0x381a38['uint32'](0x22)['string'](_0x2a281c['permissions'][_0x17b30e]);}return _0x381a38;},_0x5288ae['encodeDelimited']=function(_0xba4712,_0x4b9f1c){return this['encode'](_0xba4712,_0x4b9f1c)['ldelim']();},_0x5288ae['decode']=function(_0x3e3069,_0x19330f,_0x32bc62){_0x3e3069 instanceof _0x3dd834||(_0x3e3069=_0x3dd834['create'](_0x3e3069));for(var _0x2bc3ab=void 0x0===_0x19330f?_0x3e3069['len']:_0x3e3069['pos']+_0x19330f,_0x3d592c=new _0x416af3['SessionsSocketDescriptor']();_0x3e3069['pos']<_0x2bc3ab;){var _0x38816c=_0x3e3069['uint32']();if(_0x38816c===_0x32bc62)break;switch(_0x38816c>>>0x3){case 0x1:_0x3d592c['session']=_0x3e3069['string']();break;case 0x2:_0x3d592c['user']=_0x3e3069['string']();break;case 0x3:_0x3d592c['role']=_0x3e3069['string']();break;case 0x4:_0x3d592c['permissions']&&_0x3d592c['permissions']['length']||(_0x3d592c['permissions']=[]),_0x3d592c['permissions']['push'](_0x3e3069['string']());break;default:_0x3e3069['skipType'](0x7&_0x38816c);}}return _0x3d592c;},_0x5288ae['decodeDelimited']=function(_0x11a38c){return _0x11a38c instanceof _0x3dd834||(_0x11a38c=new _0x3dd834(_0x11a38c)),this['decode'](_0x11a38c,_0x11a38c['uint32']());},_0x5288ae['verify']=function(_0x3926c6){if('object'!=typeof _0x3926c6||null===_0x3926c6)return'object\x20expected';if(null!=_0x3926c6['session']&&_0x3926c6['hasOwnProperty']('session')&&!_0xdeaf10['isString'](_0x3926c6['session']))return'session:\x20string\x20expected';if(null!=_0x3926c6['user']&&_0x3926c6['hasOwnProperty']('user')&&!_0xdeaf10['isString'](_0x3926c6['user']))return'user:\x20string\x20expected';if(null!=_0x3926c6['role']&&_0x3926c6['hasOwnProperty']('role')&&!_0xdeaf10['isString'](_0x3926c6['role']))return'role:\x20string\x20expected';if(null!=_0x3926c6['permissions']&&_0x3926c6['hasOwnProperty']('permissions')){if(!Array['isArray'](_0x3926c6['permissions']))return'permissions:\x20array\x20expected';for(var _0x216095=0x0;_0x216095<_0x3926c6['permissions']['length'];++_0x216095)if(!_0xdeaf10['isString'](_0x3926c6['permissions'][_0x216095]))return'permissions:\x20string[]\x20expected';}return null;},_0x5288ae['fromObject']=function(_0x29e0bc){if(_0x29e0bc instanceof _0x416af3['SessionsSocketDescriptor'])return _0x29e0bc;var _0x55eefa=new _0x416af3['SessionsSocketDescriptor']();if(null!=_0x29e0bc['session']&&(_0x55eefa['session']=String(_0x29e0bc['session'])),null!=_0x29e0bc['user']&&(_0x55eefa['user']=String(_0x29e0bc['user'])),null!=_0x29e0bc['role']&&(_0x55eefa['role']=String(_0x29e0bc['role'])),_0x29e0bc['permissions']){if(!Array['isArray'](_0x29e0bc['permissions']))throw TypeError('.SessionsSocketDescriptor.permissions:\x20array\x20expected');_0x55eefa['permissions']=[];for(var _0x44133a=0x0;_0x44133a<_0x29e0bc['permissions']['length'];++_0x44133a)_0x55eefa['permissions'][_0x44133a]=String(_0x29e0bc['permissions'][_0x44133a]);}return _0x55eefa;},_0x5288ae['toObject']=function(_0x3ef3cd,_0x1728bf){_0x1728bf||(_0x1728bf={});var _0x34478a={};if((_0x1728bf['arrays']||_0x1728bf['defaults'])&&(_0x34478a['permissions']=[]),_0x1728bf['defaults']&&(_0x34478a['session']='',_0x34478a['user']='',_0x34478a['role']=''),null!=_0x3ef3cd['session']&&_0x3ef3cd['hasOwnProperty']('session')&&(_0x34478a['session']=_0x3ef3cd['session']),null!=_0x3ef3cd['user']&&_0x3ef3cd['hasOwnProperty']('user')&&(_0x34478a['user']=_0x3ef3cd['user']),null!=_0x3ef3cd['role']&&_0x3ef3cd['hasOwnProperty']('role')&&(_0x34478a['role']=_0x3ef3cd['role']),_0x3ef3cd['permissions']&&_0x3ef3cd['permissions']['length']){_0x34478a['permissions']=[];for(var _0x390463=0x0;_0x390463<_0x3ef3cd['permissions']['length'];++_0x390463)_0x34478a['permissions'][_0x390463]=_0x3ef3cd['permissions'][_0x390463];}return _0x34478a;},_0x5288ae['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5288ae['getTypeUrl']=function(_0x6a9b14){return void 0x0===_0x6a9b14&&(_0x6a9b14='type.googleapis.com'),_0x6a9b14+'/SessionsSocketDescriptor';},_0x5288ae;}()),_0x416af3['RevisionHistoryUpdateRevisionsResponse']=(function(){function _0x94941a(_0x5b808f){if(_0x5b808f){for(var _0x555d6d=Object['keys'](_0x5b808f),_0x3e172f=0x0;_0x3e172f<_0x555d6d['length'];++_0x3e172f)null!=_0x5b808f[_0x555d6d[_0x3e172f]]&&(this[_0x555d6d[_0x3e172f]]=_0x5b808f[_0x555d6d[_0x3e172f]]);}}return _0x94941a['prototype']['requestId']=0x0,_0x94941a['create']=function(_0x263d0c){return new _0x94941a(_0x263d0c);},_0x94941a['encode']=function(_0x35ce54,_0x5c5479){return _0x5c5479||(_0x5c5479=_0x4ed70c['create']()),null!=_0x35ce54['requestId']&&Object['hasOwnProperty']['call'](_0x35ce54,'requestId')&&_0x5c5479['uint32'](0x8)['uint32'](_0x35ce54['requestId']),_0x5c5479;},_0x94941a['encodeDelimited']=function(_0x78b3e0,_0x488361){return this['encode'](_0x78b3e0,_0x488361)['ldelim']();},_0x94941a['decode']=function(_0x468a7a,_0x3b64cf,_0x93bc57){_0x468a7a instanceof _0x3dd834||(_0x468a7a=_0x3dd834['create'](_0x468a7a));for(var _0x683c98=void 0x0===_0x3b64cf?_0x468a7a['len']:_0x468a7a['pos']+_0x3b64cf,_0x56012c=new _0x416af3['RevisionHistoryUpdateRevisionsResponse']();_0x468a7a['pos']<_0x683c98;){var _0x973ff3=_0x468a7a['uint32']();if(_0x973ff3===_0x93bc57)break;_0x973ff3>>>0x3==0x1?_0x56012c['requestId']=_0x468a7a['uint32']():_0x468a7a['skipType'](0x7&_0x973ff3);}return _0x56012c;},_0x94941a['decodeDelimited']=function(_0x4aec97){return _0x4aec97 instanceof _0x3dd834||(_0x4aec97=new _0x3dd834(_0x4aec97)),this['decode'](_0x4aec97,_0x4aec97['uint32']());},_0x94941a['verify']=function(_0x3c37a7){return'object'!=typeof _0x3c37a7||null===_0x3c37a7?'object\x20expected':null!=_0x3c37a7['requestId']&&_0x3c37a7['hasOwnProperty']('requestId')&&!_0xdeaf10['isInteger'](_0x3c37a7['requestId'])?'requestId:\x20integer\x20expected':null;},_0x94941a['fromObject']=function(_0x48ca00){if(_0x48ca00 instanceof _0x416af3['RevisionHistoryUpdateRevisionsResponse'])return _0x48ca00;var _0x5470e=new _0x416af3['RevisionHistoryUpdateRevisionsResponse']();return null!=_0x48ca00['requestId']&&(_0x5470e['requestId']=_0x48ca00['requestId']>>>0x0),_0x5470e;},_0x94941a['toObject']=function(_0x31e189,_0x5019ec){_0x5019ec||(_0x5019ec={});var _0x3781de={};return _0x5019ec['defaults']&&(_0x3781de['requestId']=0x0),null!=_0x31e189['requestId']&&_0x31e189['hasOwnProperty']('requestId')&&(_0x3781de['requestId']=_0x31e189['requestId']),_0x3781de;},_0x94941a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x94941a['getTypeUrl']=function(_0x371460){return void 0x0===_0x371460&&(_0x371460='type.googleapis.com'),_0x371460+'/RevisionHistoryUpdateRevisionsResponse';},_0x94941a;}()),_0x416af3['RevisionHistoryGetRevisionResponse']=(function(){function _0x403dda(_0xc6ee12){if(_0xc6ee12){for(var _0x143a0a=Object['keys'](_0xc6ee12),_0x5bdaaa=0x0;_0x5bdaaa<_0x143a0a['length'];++_0x5bdaaa)null!=_0xc6ee12[_0x143a0a[_0x5bdaaa]]&&(this[_0x143a0a[_0x5bdaaa]]=_0xc6ee12[_0x143a0a[_0x5bdaaa]]);}}return _0x403dda['prototype']['revisionId']='',_0x403dda['prototype']['name']='',_0x403dda['prototype']['creatorId']='',_0x403dda['prototype']['authorsIds']='',_0x403dda['prototype']['diffData']='',_0x403dda['prototype']['createdAt']='',_0x403dda['prototype']['attributes']='',_0x403dda['prototype']['toVersion']=0x0,_0x403dda['prototype']['fromVersion']=0x0,_0x403dda['prototype']['isEmptyCurrent']=!0x1,_0x403dda['create']=function(_0x298dcd){return new _0x403dda(_0x298dcd);},_0x403dda['encode']=function(_0x201917,_0x568140){return _0x568140||(_0x568140=_0x4ed70c['create']()),null!=_0x201917['revisionId']&&Object['hasOwnProperty']['call'](_0x201917,'revisionId')&&_0x568140['uint32'](0xa)['string'](_0x201917['revisionId']),null!=_0x201917['name']&&Object['hasOwnProperty']['call'](_0x201917,'name')&&_0x568140['uint32'](0x12)['string'](_0x201917['name']),null!=_0x201917['creatorId']&&Object['hasOwnProperty']['call'](_0x201917,'creatorId')&&_0x568140['uint32'](0x1a)['string'](_0x201917['creatorId']),null!=_0x201917['authorsIds']&&Object['hasOwnProperty']['call'](_0x201917,'authorsIds')&&_0x568140['uint32'](0x22)['string'](_0x201917['authorsIds']),null!=_0x201917['diffData']&&Object['hasOwnProperty']['call'](_0x201917,'diffData')&&_0x568140['uint32'](0x2a)['string'](_0x201917['diffData']),null!=_0x201917['createdAt']&&Object['hasOwnProperty']['call'](_0x201917,'createdAt')&&_0x568140['uint32'](0x32)['string'](_0x201917['createdAt']),null!=_0x201917['attributes']&&Object['hasOwnProperty']['call'](_0x201917,'attributes')&&_0x568140['uint32'](0x3a)['string'](_0x201917['attributes']),null!=_0x201917['toVersion']&&Object['hasOwnProperty']['call'](_0x201917,'toVersion')&&_0x568140['uint32'](0x40)['uint32'](_0x201917['toVersion']),null!=_0x201917['fromVersion']&&Object['hasOwnProperty']['call'](_0x201917,'fromVersion')&&_0x568140['uint32'](0x48)['uint32'](_0x201917['fromVersion']),null!=_0x201917['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x201917,'isEmptyCurrent')&&_0x568140['uint32'](0x50)['bool'](_0x201917['isEmptyCurrent']),_0x568140;},_0x403dda['encodeDelimited']=function(_0x2f108b,_0x1fa081){return this['encode'](_0x2f108b,_0x1fa081)['ldelim']();},_0x403dda['decode']=function(_0x5edda4,_0x560b3b,_0x23ee5a){_0x5edda4 instanceof _0x3dd834||(_0x5edda4=_0x3dd834['create'](_0x5edda4));for(var _0x18f27a=void 0x0===_0x560b3b?_0x5edda4['len']:_0x5edda4['pos']+_0x560b3b,_0x347341=new _0x416af3['RevisionHistoryGetRevisionResponse']();_0x5edda4['pos']<_0x18f27a;){var _0x4950f2=_0x5edda4['uint32']();if(_0x4950f2===_0x23ee5a)break;switch(_0x4950f2>>>0x3){case 0x1:_0x347341['revisionId']=_0x5edda4['string']();break;case 0x2:_0x347341['name']=_0x5edda4['string']();break;case 0x3:_0x347341['creatorId']=_0x5edda4['string']();break;case 0x4:_0x347341['authorsIds']=_0x5edda4['string']();break;case 0x5:_0x347341['diffData']=_0x5edda4['string']();break;case 0x6:_0x347341['createdAt']=_0x5edda4['string']();break;case 0x7:_0x347341['attributes']=_0x5edda4['string']();break;case 0x8:_0x347341['toVersion']=_0x5edda4['uint32']();break;case 0x9:_0x347341['fromVersion']=_0x5edda4['uint32']();break;case 0xa:_0x347341['isEmptyCurrent']=_0x5edda4['bool']();break;default:_0x5edda4['skipType'](0x7&_0x4950f2);}}return _0x347341;},_0x403dda['decodeDelimited']=function(_0x3120bd){return _0x3120bd instanceof _0x3dd834||(_0x3120bd=new _0x3dd834(_0x3120bd)),this['decode'](_0x3120bd,_0x3120bd['uint32']());},_0x403dda['verify']=function(_0x133323){return'object'!=typeof _0x133323||null===_0x133323?'object\x20expected':null!=_0x133323['revisionId']&&_0x133323['hasOwnProperty']('revisionId')&&!_0xdeaf10['isString'](_0x133323['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x133323['name']&&_0x133323['hasOwnProperty']('name')&&!_0xdeaf10['isString'](_0x133323['name'])?'name:\x20string\x20expected':null!=_0x133323['creatorId']&&_0x133323['hasOwnProperty']('creatorId')&&!_0xdeaf10['isString'](_0x133323['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x133323['authorsIds']&&_0x133323['hasOwnProperty']('authorsIds')&&!_0xdeaf10['isString'](_0x133323['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x133323['diffData']&&_0x133323['hasOwnProperty']('diffData')&&!_0xdeaf10['isString'](_0x133323['diffData'])?'diffData:\x20string\x20expected':null!=_0x133323['createdAt']&&_0x133323['hasOwnProperty']('createdAt')&&!_0xdeaf10['isString'](_0x133323['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x133323['attributes']&&_0x133323['hasOwnProperty']('attributes')&&!_0xdeaf10['isString'](_0x133323['attributes'])?'attributes:\x20string\x20expected':null!=_0x133323['toVersion']&&_0x133323['hasOwnProperty']('toVersion')&&!_0xdeaf10['isInteger'](_0x133323['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x133323['fromVersion']&&_0x133323['hasOwnProperty']('fromVersion')&&!_0xdeaf10['isInteger'](_0x133323['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x133323['isEmptyCurrent']&&_0x133323['hasOwnProperty']('isEmptyCurrent')&&'boolean'!=typeof _0x133323['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null;},_0x403dda['fromObject']=function(_0x524f78){if(_0x524f78 instanceof _0x416af3['RevisionHistoryGetRevisionResponse'])return _0x524f78;var _0x4d0ed4=new _0x416af3['RevisionHistoryGetRevisionResponse']();return null!=_0x524f78['revisionId']&&(_0x4d0ed4['revisionId']=String(_0x524f78['revisionId'])),null!=_0x524f78['name']&&(_0x4d0ed4['name']=String(_0x524f78['name'])),null!=_0x524f78['creatorId']&&(_0x4d0ed4['creatorId']=String(_0x524f78['creatorId'])),null!=_0x524f78['authorsIds']&&(_0x4d0ed4['authorsIds']=String(_0x524f78['authorsIds'])),null!=_0x524f78['diffData']&&(_0x4d0ed4['diffData']=String(_0x524f78['diffData'])),null!=_0x524f78['createdAt']&&(_0x4d0ed4['createdAt']=String(_0x524f78['createdAt'])),null!=_0x524f78['attributes']&&(_0x4d0ed4['attributes']=String(_0x524f78['attributes'])),null!=_0x524f78['toVersion']&&(_0x4d0ed4['toVersion']=_0x524f78['toVersion']>>>0x0),null!=_0x524f78['fromVersion']&&(_0x4d0ed4['fromVersion']=_0x524f78['fromVersion']>>>0x0),null!=_0x524f78['isEmptyCurrent']&&(_0x4d0ed4['isEmptyCurrent']=Boolean(_0x524f78['isEmptyCurrent'])),_0x4d0ed4;},_0x403dda['toObject']=function(_0x35edb7,_0x1ff3fe){_0x1ff3fe||(_0x1ff3fe={});var _0x2d05b7={};return _0x1ff3fe['defaults']&&(_0x2d05b7['revisionId']='',_0x2d05b7['name']='',_0x2d05b7['creatorId']='',_0x2d05b7['authorsIds']='',_0x2d05b7['diffData']='',_0x2d05b7['createdAt']='',_0x2d05b7['attributes']='',_0x2d05b7['toVersion']=0x0,_0x2d05b7['fromVersion']=0x0,_0x2d05b7['isEmptyCurrent']=!0x1),null!=_0x35edb7['revisionId']&&_0x35edb7['hasOwnProperty']('revisionId')&&(_0x2d05b7['revisionId']=_0x35edb7['revisionId']),null!=_0x35edb7['name']&&_0x35edb7['hasOwnProperty']('name')&&(_0x2d05b7['name']=_0x35edb7['name']),null!=_0x35edb7['creatorId']&&_0x35edb7['hasOwnProperty']('creatorId')&&(_0x2d05b7['creatorId']=_0x35edb7['creatorId']),null!=_0x35edb7['authorsIds']&&_0x35edb7['hasOwnProperty']('authorsIds')&&(_0x2d05b7['authorsIds']=_0x35edb7['authorsIds']),null!=_0x35edb7['diffData']&&_0x35edb7['hasOwnProperty']('diffData')&&(_0x2d05b7['diffData']=_0x35edb7['diffData']),null!=_0x35edb7['createdAt']&&_0x35edb7['hasOwnProperty']('createdAt')&&(_0x2d05b7['createdAt']=_0x35edb7['createdAt']),null!=_0x35edb7['attributes']&&_0x35edb7['hasOwnProperty']('attributes')&&(_0x2d05b7['attributes']=_0x35edb7['attributes']),null!=_0x35edb7['toVersion']&&_0x35edb7['hasOwnProperty']('toVersion')&&(_0x2d05b7['toVersion']=_0x35edb7['toVersion']),null!=_0x35edb7['fromVersion']&&_0x35edb7['hasOwnProperty']('fromVersion')&&(_0x2d05b7['fromVersion']=_0x35edb7['fromVersion']),null!=_0x35edb7['isEmptyCurrent']&&_0x35edb7['hasOwnProperty']('isEmptyCurrent')&&(_0x2d05b7['isEmptyCurrent']=_0x35edb7['isEmptyCurrent']),_0x2d05b7;},_0x403dda['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x403dda['getTypeUrl']=function(_0x59b97a){return void 0x0===_0x59b97a&&(_0x59b97a='type.googleapis.com'),_0x59b97a+'/RevisionHistoryGetRevisionResponse';},_0x403dda;}()),_0x416af3['RevisionHistoryConnectResponse']=(function(){function _0x45da2d(_0x158f51){if(this['revisions']=[],_0x158f51){for(var _0xa9850b=Object['keys'](_0x158f51),_0x566d7b=0x0;_0x566d7b<_0xa9850b['length'];++_0x566d7b)null!=_0x158f51[_0xa9850b[_0x566d7b]]&&(this[_0xa9850b[_0x566d7b]]=_0x158f51[_0xa9850b[_0x566d7b]]);}}return _0x45da2d['prototype']['channel']='',_0x45da2d['prototype']['requestId']=0x0,_0x45da2d['prototype']['revisions']=_0xdeaf10['emptyArray'],_0x45da2d['create']=function(_0x1574a9){return new _0x45da2d(_0x1574a9);},_0x45da2d['encode']=function(_0x1c3bf2,_0x4e1b57){if(_0x4e1b57||(_0x4e1b57=_0x4ed70c['create']()),null!=_0x1c3bf2['channel']&&Object['hasOwnProperty']['call'](_0x1c3bf2,'channel')&&_0x4e1b57['uint32'](0xa)['string'](_0x1c3bf2['channel']),null!=_0x1c3bf2['requestId']&&Object['hasOwnProperty']['call'](_0x1c3bf2,'requestId')&&_0x4e1b57['uint32'](0x10)['uint32'](_0x1c3bf2['requestId']),null!=_0x1c3bf2['revisions']&&_0x1c3bf2['revisions']['length']){for(var _0x18840b=0x0;_0x18840b<_0x1c3bf2['revisions']['length'];++_0x18840b)_0x416af3['RevisionDescriptor']['encode'](_0x1c3bf2['revisions'][_0x18840b],_0x4e1b57['uint32'](0x1a)['fork']())['ldelim']();}return _0x4e1b57;},_0x45da2d['encodeDelimited']=function(_0xb94a4f,_0x552a06){return this['encode'](_0xb94a4f,_0x552a06)['ldelim']();},_0x45da2d['decode']=function(_0x273b5c,_0x399293,_0x420310){_0x273b5c instanceof _0x3dd834||(_0x273b5c=_0x3dd834['create'](_0x273b5c));for(var _0x1da6bd=void 0x0===_0x399293?_0x273b5c['len']:_0x273b5c['pos']+_0x399293,_0x263b6d=new _0x416af3['RevisionHistoryConnectResponse']();_0x273b5c['pos']<_0x1da6bd;){var _0x2674ee=_0x273b5c['uint32']();if(_0x2674ee===_0x420310)break;switch(_0x2674ee>>>0x3){case 0x1:_0x263b6d['channel']=_0x273b5c['string']();break;case 0x2:_0x263b6d['requestId']=_0x273b5c['uint32']();break;case 0x3:_0x263b6d['revisions']&&_0x263b6d['revisions']['length']||(_0x263b6d['revisions']=[]),_0x263b6d['revisions']['push'](_0x416af3['RevisionDescriptor']['decode'](_0x273b5c,_0x273b5c['uint32']()));break;default:_0x273b5c['skipType'](0x7&_0x2674ee);}}return _0x263b6d;},_0x45da2d['decodeDelimited']=function(_0x21838a){return _0x21838a instanceof _0x3dd834||(_0x21838a=new _0x3dd834(_0x21838a)),this['decode'](_0x21838a,_0x21838a['uint32']());},_0x45da2d['verify']=function(_0x2c9967){if('object'!=typeof _0x2c9967||null===_0x2c9967)return'object\x20expected';if(null!=_0x2c9967['channel']&&_0x2c9967['hasOwnProperty']('channel')&&!_0xdeaf10['isString'](_0x2c9967['channel']))return'channel:\x20string\x20expected';if(null!=_0x2c9967['requestId']&&_0x2c9967['hasOwnProperty']('requestId')&&!_0xdeaf10['isInteger'](_0x2c9967['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x2c9967['revisions']&&_0x2c9967['hasOwnProperty']('revisions')){if(!Array['isArray'](_0x2c9967['revisions']))return'revisions:\x20array\x20expected';for(var _0x4f2270=0x0;_0x4f2270<_0x2c9967['revisions']['length'];++_0x4f2270){var _0x42dad2=_0x416af3['RevisionDescriptor']['verify'](_0x2c9967['revisions'][_0x4f2270]);if(_0x42dad2)return'revisions.'+_0x42dad2;}}return null;},_0x45da2d['fromObject']=function(_0x2a9af3){if(_0x2a9af3 instanceof _0x416af3['RevisionHistoryConnectResponse'])return _0x2a9af3;var _0x2fc7b9=new _0x416af3['RevisionHistoryConnectResponse']();if(null!=_0x2a9af3['channel']&&(_0x2fc7b9['channel']=String(_0x2a9af3['channel'])),null!=_0x2a9af3['requestId']&&(_0x2fc7b9['requestId']=_0x2a9af3['requestId']>>>0x0),_0x2a9af3['revisions']){if(!Array['isArray'](_0x2a9af3['revisions']))throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20array\x20expected');_0x2fc7b9['revisions']=[];for(var _0x52a86b=0x0;_0x52a86b<_0x2a9af3['revisions']['length'];++_0x52a86b){if('object'!=typeof _0x2a9af3['revisions'][_0x52a86b])throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20object\x20expected');_0x2fc7b9['revisions'][_0x52a86b]=_0x416af3['RevisionDescriptor']['fromObject'](_0x2a9af3['revisions'][_0x52a86b]);}}return _0x2fc7b9;},_0x45da2d['toObject']=function(_0x4af878,_0x552e5d){_0x552e5d||(_0x552e5d={});var _0x1c59ad={};if((_0x552e5d['arrays']||_0x552e5d['defaults'])&&(_0x1c59ad['revisions']=[]),_0x552e5d['defaults']&&(_0x1c59ad['channel']='',_0x1c59ad['requestId']=0x0),null!=_0x4af878['channel']&&_0x4af878['hasOwnProperty']('channel')&&(_0x1c59ad['channel']=_0x4af878['channel']),null!=_0x4af878['requestId']&&_0x4af878['hasOwnProperty']('requestId')&&(_0x1c59ad['requestId']=_0x4af878['requestId']),_0x4af878['revisions']&&_0x4af878['revisions']['length']){_0x1c59ad['revisions']=[];for(var _0x56ee9f=0x0;_0x56ee9f<_0x4af878['revisions']['length'];++_0x56ee9f)_0x1c59ad['revisions'][_0x56ee9f]=_0x416af3['RevisionDescriptor']['toObject'](_0x4af878['revisions'][_0x56ee9f],_0x552e5d);}return _0x1c59ad;},_0x45da2d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x45da2d['getTypeUrl']=function(_0x29cbe0){return void 0x0===_0x29cbe0&&(_0x29cbe0='type.googleapis.com'),_0x29cbe0+'/RevisionHistoryConnectResponse';},_0x45da2d;}()),_0x416af3['RevisionHistoryUpdateRevisionsMessage']=(function(){function _0x59f9cf(_0x456de8){if(this['revisions']=[],_0x456de8){for(var _0x424511=Object['keys'](_0x456de8),_0x3171f3=0x0;_0x3171f3<_0x424511['length'];++_0x3171f3)null!=_0x456de8[_0x424511[_0x3171f3]]&&(this[_0x424511[_0x3171f3]]=_0x456de8[_0x424511[_0x3171f3]]);}}return _0x59f9cf['prototype']['documentId']='',_0x59f9cf['prototype']['requestId']=0x0,_0x59f9cf['prototype']['revisions']=_0xdeaf10['emptyArray'],_0x59f9cf['create']=function(_0x3a6621){return new _0x59f9cf(_0x3a6621);},_0x59f9cf['encode']=function(_0x4a8062,_0x9ef2a8){if(_0x9ef2a8||(_0x9ef2a8=_0x4ed70c['create']()),null!=_0x4a8062['documentId']&&Object['hasOwnProperty']['call'](_0x4a8062,'documentId')&&_0x9ef2a8['uint32'](0xa)['string'](_0x4a8062['documentId']),null!=_0x4a8062['requestId']&&Object['hasOwnProperty']['call'](_0x4a8062,'requestId')&&_0x9ef2a8['uint32'](0x10)['uint32'](_0x4a8062['requestId']),null!=_0x4a8062['revisions']&&_0x4a8062['revisions']['length']){for(var _0x30c8c8=0x0;_0x30c8c8<_0x4a8062['revisions']['length'];++_0x30c8c8)_0x416af3['RevisionDescriptor']['encode'](_0x4a8062['revisions'][_0x30c8c8],_0x9ef2a8['uint32'](0x1a)['fork']())['ldelim']();}return _0x9ef2a8;},_0x59f9cf['encodeDelimited']=function(_0x45a327,_0x487786){return this['encode'](_0x45a327,_0x487786)['ldelim']();},_0x59f9cf['decode']=function(_0x1724fd,_0x18b0e4,_0x398a10){_0x1724fd instanceof _0x3dd834||(_0x1724fd=_0x3dd834['create'](_0x1724fd));for(var _0x47d1ce=void 0x0===_0x18b0e4?_0x1724fd['len']:_0x1724fd['pos']+_0x18b0e4,_0x550e33=new _0x416af3['RevisionHistoryUpdateRevisionsMessage']();_0x1724fd['pos']<_0x47d1ce;){var _0x5b39a5=_0x1724fd['uint32']();if(_0x5b39a5===_0x398a10)break;switch(_0x5b39a5>>>0x3){case 0x1:_0x550e33['documentId']=_0x1724fd['string']();break;case 0x2:_0x550e33['requestId']=_0x1724fd['uint32']();break;case 0x3:_0x550e33['revisions']&&_0x550e33['revisions']['length']||(_0x550e33['revisions']=[]),_0x550e33['revisions']['push'](_0x416af3['RevisionDescriptor']['decode'](_0x1724fd,_0x1724fd['uint32']()));break;default:_0x1724fd['skipType'](0x7&_0x5b39a5);}}return _0x550e33;},_0x59f9cf['decodeDelimited']=function(_0x40fa9b){return _0x40fa9b instanceof _0x3dd834||(_0x40fa9b=new _0x3dd834(_0x40fa9b)),this['decode'](_0x40fa9b,_0x40fa9b['uint32']());},_0x59f9cf['verify']=function(_0xc98952){if('object'!=typeof _0xc98952||null===_0xc98952)return'object\x20expected';if(null!=_0xc98952['documentId']&&_0xc98952['hasOwnProperty']('documentId')&&!_0xdeaf10['isString'](_0xc98952['documentId']))return'documentId:\x20string\x20expected';if(null!=_0xc98952['requestId']&&_0xc98952['hasOwnProperty']('requestId')&&!_0xdeaf10['isInteger'](_0xc98952['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0xc98952['revisions']&&_0xc98952['hasOwnProperty']('revisions')){if(!Array['isArray'](_0xc98952['revisions']))return'revisions:\x20array\x20expected';for(var _0x9da046=0x0;_0x9da046<_0xc98952['revisions']['length'];++_0x9da046){var _0x27d614=_0x416af3['RevisionDescriptor']['verify'](_0xc98952['revisions'][_0x9da046]);if(_0x27d614)return'revisions.'+_0x27d614;}}return null;},_0x59f9cf['fromObject']=function(_0x187791){if(_0x187791 instanceof _0x416af3['RevisionHistoryUpdateRevisionsMessage'])return _0x187791;var _0x330153=new _0x416af3['RevisionHistoryUpdateRevisionsMessage']();if(null!=_0x187791['documentId']&&(_0x330153['documentId']=String(_0x187791['documentId'])),null!=_0x187791['requestId']&&(_0x330153['requestId']=_0x187791['requestId']>>>0x0),_0x187791['revisions']){if(!Array['isArray'](_0x187791['revisions']))throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20array\x20expected');_0x330153['revisions']=[];for(var _0x4d932e=0x0;_0x4d932e<_0x187791['revisions']['length'];++_0x4d932e){if('object'!=typeof _0x187791['revisions'][_0x4d932e])throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20object\x20expected');_0x330153['revisions'][_0x4d932e]=_0x416af3['RevisionDescriptor']['fromObject'](_0x187791['revisions'][_0x4d932e]);}}return _0x330153;},_0x59f9cf['toObject']=function(_0x4b468c,_0xc89fc0){_0xc89fc0||(_0xc89fc0={});var _0x45f671={};if((_0xc89fc0['arrays']||_0xc89fc0['defaults'])&&(_0x45f671['revisions']=[]),_0xc89fc0['defaults']&&(_0x45f671['documentId']='',_0x45f671['requestId']=0x0),null!=_0x4b468c['documentId']&&_0x4b468c['hasOwnProperty']('documentId')&&(_0x45f671['documentId']=_0x4b468c['documentId']),null!=_0x4b468c['requestId']&&_0x4b468c['hasOwnProperty']('requestId')&&(_0x45f671['requestId']=_0x4b468c['requestId']),_0x4b468c['revisions']&&_0x4b468c['revisions']['length']){_0x45f671['revisions']=[];for(var _0x48f2de=0x0;_0x48f2de<_0x4b468c['revisions']['length'];++_0x48f2de)_0x45f671['revisions'][_0x48f2de]=_0x416af3['RevisionDescriptor']['toObject'](_0x4b468c['revisions'][_0x48f2de],_0xc89fc0);}return _0x45f671;},_0x59f9cf['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x59f9cf['getTypeUrl']=function(_0x3ff9f4){return void 0x0===_0x3ff9f4&&(_0x3ff9f4='type.googleapis.com'),_0x3ff9f4+'/RevisionHistoryUpdateRevisionsMessage';},_0x59f9cf;}()),_0x416af3['RevisionHistoryReconnectMessage']=(function(){function _0x49a5fe(_0x2e54d1){if(_0x2e54d1){for(var _0x19af1d=Object['keys'](_0x2e54d1),_0x8dfae=0x0;_0x8dfae<_0x19af1d['length'];++_0x8dfae)null!=_0x2e54d1[_0x19af1d[_0x8dfae]]&&(this[_0x19af1d[_0x8dfae]]=_0x2e54d1[_0x19af1d[_0x8dfae]]);}}return _0x49a5fe['prototype']['documentId']='',_0x49a5fe['prototype']['requestId']=0x0,_0x49a5fe['create']=function(_0x11bb98){return new _0x49a5fe(_0x11bb98);},_0x49a5fe['encode']=function(_0x20378e,_0x2b7fde){return _0x2b7fde||(_0x2b7fde=_0x4ed70c['create']()),null!=_0x20378e['documentId']&&Object['hasOwnProperty']['call'](_0x20378e,'documentId')&&_0x2b7fde['uint32'](0xa)['string'](_0x20378e['documentId']),null!=_0x20378e['requestId']&&Object['hasOwnProperty']['call'](_0x20378e,'requestId')&&_0x2b7fde['uint32'](0x10)['uint32'](_0x20378e['requestId']),_0x2b7fde;},_0x49a5fe['encodeDelimited']=function(_0x48f4b0,_0x1936b9){return this['encode'](_0x48f4b0,_0x1936b9)['ldelim']();},_0x49a5fe['decode']=function(_0xf989d7,_0x11b6b0,_0x1f9d2e){_0xf989d7 instanceof _0x3dd834||(_0xf989d7=_0x3dd834['create'](_0xf989d7));for(var _0x4eaec6=void 0x0===_0x11b6b0?_0xf989d7['len']:_0xf989d7['pos']+_0x11b6b0,_0xc788eb=new _0x416af3['RevisionHistoryReconnectMessage']();_0xf989d7['pos']<_0x4eaec6;){var _0x8b8332=_0xf989d7['uint32']();if(_0x8b8332===_0x1f9d2e)break;switch(_0x8b8332>>>0x3){case 0x1:_0xc788eb['documentId']=_0xf989d7['string']();break;case 0x2:_0xc788eb['requestId']=_0xf989d7['uint32']();break;default:_0xf989d7['skipType'](0x7&_0x8b8332);}}return _0xc788eb;},_0x49a5fe['decodeDelimited']=function(_0xb5dbf6){return _0xb5dbf6 instanceof _0x3dd834||(_0xb5dbf6=new _0x3dd834(_0xb5dbf6)),this['decode'](_0xb5dbf6,_0xb5dbf6['uint32']());},_0x49a5fe['verify']=function(_0x7c92b0){return'object'!=typeof _0x7c92b0||null===_0x7c92b0?'object\x20expected':null!=_0x7c92b0['documentId']&&_0x7c92b0['hasOwnProperty']('documentId')&&!_0xdeaf10['isString'](_0x7c92b0['documentId'])?'documentId:\x20string\x20expected':null!=_0x7c92b0['requestId']&&_0x7c92b0['hasOwnProperty']('requestId')&&!_0xdeaf10['isInteger'](_0x7c92b0['requestId'])?'requestId:\x20integer\x20expected':null;},_0x49a5fe['fromObject']=function(_0x198004){if(_0x198004 instanceof _0x416af3['RevisionHistoryReconnectMessage'])return _0x198004;var _0x4dfc93=new _0x416af3['RevisionHistoryReconnectMessage']();return null!=_0x198004['documentId']&&(_0x4dfc93['documentId']=String(_0x198004['documentId'])),null!=_0x198004['requestId']&&(_0x4dfc93['requestId']=_0x198004['requestId']>>>0x0),_0x4dfc93;},_0x49a5fe['toObject']=function(_0x419f27,_0x24693f){_0x24693f||(_0x24693f={});var _0x3c3303={};return _0x24693f['defaults']&&(_0x3c3303['documentId']='',_0x3c3303['requestId']=0x0),null!=_0x419f27['documentId']&&_0x419f27['hasOwnProperty']('documentId')&&(_0x3c3303['documentId']=_0x419f27['documentId']),null!=_0x419f27['requestId']&&_0x419f27['hasOwnProperty']('requestId')&&(_0x3c3303['requestId']=_0x419f27['requestId']),_0x3c3303;},_0x49a5fe['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x49a5fe['getTypeUrl']=function(_0x24ad3c){return void 0x0===_0x24ad3c&&(_0x24ad3c='type.googleapis.com'),_0x24ad3c+'/RevisionHistoryReconnectMessage';},_0x49a5fe;}()),_0x416af3['RevisionHistoryGetRevisionMessage']=(function(){function _0x41364b(_0x1c6c5d){if(_0x1c6c5d){for(var _0x4ad3b4=Object['keys'](_0x1c6c5d),_0x279b68=0x0;_0x279b68<_0x4ad3b4['length'];++_0x279b68)null!=_0x1c6c5d[_0x4ad3b4[_0x279b68]]&&(this[_0x4ad3b4[_0x279b68]]=_0x1c6c5d[_0x4ad3b4[_0x279b68]]);}}return _0x41364b['prototype']['documentId']='',_0x41364b['prototype']['revisionId']='',_0x41364b['create']=function(_0x239050){return new _0x41364b(_0x239050);},_0x41364b['encode']=function(_0x5d226e,_0x1c6380){return _0x1c6380||(_0x1c6380=_0x4ed70c['create']()),null!=_0x5d226e['documentId']&&Object['hasOwnProperty']['call'](_0x5d226e,'documentId')&&_0x1c6380['uint32'](0xa)['string'](_0x5d226e['documentId']),null!=_0x5d226e['revisionId']&&Object['hasOwnProperty']['call'](_0x5d226e,'revisionId')&&_0x1c6380['uint32'](0x12)['string'](_0x5d226e['revisionId']),_0x1c6380;},_0x41364b['encodeDelimited']=function(_0x1d4b69,_0x4f1a31){return this['encode'](_0x1d4b69,_0x4f1a31)['ldelim']();},_0x41364b['decode']=function(_0x1e87d1,_0x10a68a,_0x17c439){_0x1e87d1 instanceof _0x3dd834||(_0x1e87d1=_0x3dd834['create'](_0x1e87d1));for(var _0x4a49a8=void 0x0===_0x10a68a?_0x1e87d1['len']:_0x1e87d1['pos']+_0x10a68a,_0x33bf2e=new _0x416af3['RevisionHistoryGetRevisionMessage']();_0x1e87d1['pos']<_0x4a49a8;){var _0x2d7fe2=_0x1e87d1['uint32']();if(_0x2d7fe2===_0x17c439)break;switch(_0x2d7fe2>>>0x3){case 0x1:_0x33bf2e['documentId']=_0x1e87d1['string']();break;case 0x2:_0x33bf2e['revisionId']=_0x1e87d1['string']();break;default:_0x1e87d1['skipType'](0x7&_0x2d7fe2);}}return _0x33bf2e;},_0x41364b['decodeDelimited']=function(_0xe3997b){return _0xe3997b instanceof _0x3dd834||(_0xe3997b=new _0x3dd834(_0xe3997b)),this['decode'](_0xe3997b,_0xe3997b['uint32']());},_0x41364b['verify']=function(_0x3aed19){return'object'!=typeof _0x3aed19||null===_0x3aed19?'object\x20expected':null!=_0x3aed19['documentId']&&_0x3aed19['hasOwnProperty']('documentId')&&!_0xdeaf10['isString'](_0x3aed19['documentId'])?'documentId:\x20string\x20expected':null!=_0x3aed19['revisionId']&&_0x3aed19['hasOwnProperty']('revisionId')&&!_0xdeaf10['isString'](_0x3aed19['revisionId'])?'revisionId:\x20string\x20expected':null;},_0x41364b['fromObject']=function(_0x479408){if(_0x479408 instanceof _0x416af3['RevisionHistoryGetRevisionMessage'])return _0x479408;var _0x4d55c9=new _0x416af3['RevisionHistoryGetRevisionMessage']();return null!=_0x479408['documentId']&&(_0x4d55c9['documentId']=String(_0x479408['documentId'])),null!=_0x479408['revisionId']&&(_0x4d55c9['revisionId']=String(_0x479408['revisionId'])),_0x4d55c9;},_0x41364b['toObject']=function(_0x952ef9,_0x27151f){_0x27151f||(_0x27151f={});var _0x33fc6f={};return _0x27151f['defaults']&&(_0x33fc6f['documentId']='',_0x33fc6f['revisionId']=''),null!=_0x952ef9['documentId']&&_0x952ef9['hasOwnProperty']('documentId')&&(_0x33fc6f['documentId']=_0x952ef9['documentId']),null!=_0x952ef9['revisionId']&&_0x952ef9['hasOwnProperty']('revisionId')&&(_0x33fc6f['revisionId']=_0x952ef9['revisionId']),_0x33fc6f;},_0x41364b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x41364b['getTypeUrl']=function(_0x3949a4){return void 0x0===_0x3949a4&&(_0x3949a4='type.googleapis.com'),_0x3949a4+'/RevisionHistoryGetRevisionMessage';},_0x41364b;}()),_0x416af3['RevisionHistoryConnectMessage']=(function(){function _0x2e6f20(_0x375269){if(_0x375269){for(var _0xe559ef=Object['keys'](_0x375269),_0x4a00ae=0x0;_0x4a00ae<_0xe559ef['length'];++_0x4a00ae)null!=_0x375269[_0xe559ef[_0x4a00ae]]&&(this[_0xe559ef[_0x4a00ae]]=_0x375269[_0xe559ef[_0x4a00ae]]);}}return _0x2e6f20['prototype']['documentId']='',_0x2e6f20['create']=function(_0xcf915d){return new _0x2e6f20(_0xcf915d);},_0x2e6f20['encode']=function(_0x1fb46f,_0x38879c){return _0x38879c||(_0x38879c=_0x4ed70c['create']()),null!=_0x1fb46f['documentId']&&Object['hasOwnProperty']['call'](_0x1fb46f,'documentId')&&_0x38879c['uint32'](0xa)['string'](_0x1fb46f['documentId']),_0x38879c;},_0x2e6f20['encodeDelimited']=function(_0xf4f195,_0x556945){return this['encode'](_0xf4f195,_0x556945)['ldelim']();},_0x2e6f20['decode']=function(_0x474a2d,_0x4816ef,_0x8512ab){_0x474a2d instanceof _0x3dd834||(_0x474a2d=_0x3dd834['create'](_0x474a2d));for(var _0x2d6f3c=void 0x0===_0x4816ef?_0x474a2d['len']:_0x474a2d['pos']+_0x4816ef,_0x2c1d7f=new _0x416af3['RevisionHistoryConnectMessage']();_0x474a2d['pos']<_0x2d6f3c;){var _0x2f026d=_0x474a2d['uint32']();if(_0x2f026d===_0x8512ab)break;_0x2f026d>>>0x3==0x1?_0x2c1d7f['documentId']=_0x474a2d['string']():_0x474a2d['skipType'](0x7&_0x2f026d);}return _0x2c1d7f;},_0x2e6f20['decodeDelimited']=function(_0xe1cbb0){return _0xe1cbb0 instanceof _0x3dd834||(_0xe1cbb0=new _0x3dd834(_0xe1cbb0)),this['decode'](_0xe1cbb0,_0xe1cbb0['uint32']());},_0x2e6f20['verify']=function(_0x7e8891){return'object'!=typeof _0x7e8891||null===_0x7e8891?'object\x20expected':null!=_0x7e8891['documentId']&&_0x7e8891['hasOwnProperty']('documentId')&&!_0xdeaf10['isString'](_0x7e8891['documentId'])?'documentId:\x20string\x20expected':null;},_0x2e6f20['fromObject']=function(_0x1fc2d0){if(_0x1fc2d0 instanceof _0x416af3['RevisionHistoryConnectMessage'])return _0x1fc2d0;var _0x498f17=new _0x416af3['RevisionHistoryConnectMessage']();return null!=_0x1fc2d0['documentId']&&(_0x498f17['documentId']=String(_0x1fc2d0['documentId'])),_0x498f17;},_0x2e6f20['toObject']=function(_0x2649ea,_0x52277b){_0x52277b||(_0x52277b={});var _0x4375a2={};return _0x52277b['defaults']&&(_0x4375a2['documentId']=''),null!=_0x2649ea['documentId']&&_0x2649ea['hasOwnProperty']('documentId')&&(_0x4375a2['documentId']=_0x2649ea['documentId']),_0x4375a2;},_0x2e6f20['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2e6f20['getTypeUrl']=function(_0x303043){return void 0x0===_0x303043&&(_0x303043='type.googleapis.com'),_0x303043+'/RevisionHistoryConnectMessage';},_0x2e6f20;}()),_0x416af3['RevisionDescriptor']=(function(){function _0x4e437a(_0xb2b49d){if(_0xb2b49d){for(var _0x3a41d2=Object['keys'](_0xb2b49d),_0x3aa5e7=0x0;_0x3aa5e7<_0x3a41d2['length'];++_0x3aa5e7)null!=_0xb2b49d[_0x3a41d2[_0x3aa5e7]]&&(this[_0x3a41d2[_0x3aa5e7]]=_0xb2b49d[_0x3a41d2[_0x3aa5e7]]);}}return _0x4e437a['prototype']['revisionId']='',_0x4e437a['prototype']['name']='',_0x4e437a['prototype']['creatorId']='',_0x4e437a['prototype']['authorsIds']='',_0x4e437a['prototype']['diffData']='',_0x4e437a['prototype']['createdAt']='',_0x4e437a['prototype']['attributes']='',_0x4e437a['prototype']['toVersion']=0x0,_0x4e437a['prototype']['fromVersion']=0x0,_0x4e437a['prototype']['isEmptyCurrent']=!0x1,_0x4e437a['create']=function(_0x226ca9){return new _0x4e437a(_0x226ca9);},_0x4e437a['encode']=function(_0x1265f5,_0x3648c7){return _0x3648c7||(_0x3648c7=_0x4ed70c['create']()),null!=_0x1265f5['revisionId']&&Object['hasOwnProperty']['call'](_0x1265f5,'revisionId')&&_0x3648c7['uint32'](0xa)['string'](_0x1265f5['revisionId']),null!=_0x1265f5['name']&&Object['hasOwnProperty']['call'](_0x1265f5,'name')&&_0x3648c7['uint32'](0x12)['string'](_0x1265f5['name']),null!=_0x1265f5['creatorId']&&Object['hasOwnProperty']['call'](_0x1265f5,'creatorId')&&_0x3648c7['uint32'](0x1a)['string'](_0x1265f5['creatorId']),null!=_0x1265f5['authorsIds']&&Object['hasOwnProperty']['call'](_0x1265f5,'authorsIds')&&_0x3648c7['uint32'](0x22)['string'](_0x1265f5['authorsIds']),null!=_0x1265f5['diffData']&&Object['hasOwnProperty']['call'](_0x1265f5,'diffData')&&_0x3648c7['uint32'](0x2a)['string'](_0x1265f5['diffData']),null!=_0x1265f5['createdAt']&&Object['hasOwnProperty']['call'](_0x1265f5,'createdAt')&&_0x3648c7['uint32'](0x32)['string'](_0x1265f5['createdAt']),null!=_0x1265f5['attributes']&&Object['hasOwnProperty']['call'](_0x1265f5,'attributes')&&_0x3648c7['uint32'](0x3a)['string'](_0x1265f5['attributes']),null!=_0x1265f5['toVersion']&&Object['hasOwnProperty']['call'](_0x1265f5,'toVersion')&&_0x3648c7['uint32'](0x40)['uint32'](_0x1265f5['toVersion']),null!=_0x1265f5['fromVersion']&&Object['hasOwnProperty']['call'](_0x1265f5,'fromVersion')&&_0x3648c7['uint32'](0x48)['uint32'](_0x1265f5['fromVersion']),null!=_0x1265f5['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x1265f5,'isEmptyCurrent')&&_0x3648c7['uint32'](0x50)['bool'](_0x1265f5['isEmptyCurrent']),_0x3648c7;},_0x4e437a['encodeDelimited']=function(_0x51b946,_0xf370c9){return this['encode'](_0x51b946,_0xf370c9)['ldelim']();},_0x4e437a['decode']=function(_0x425a4c,_0x127d44,_0x32bd12){_0x425a4c instanceof _0x3dd834||(_0x425a4c=_0x3dd834['create'](_0x425a4c));for(var _0x2184e8=void 0x0===_0x127d44?_0x425a4c['len']:_0x425a4c['pos']+_0x127d44,_0x454915=new _0x416af3['RevisionDescriptor']();_0x425a4c['pos']<_0x2184e8;){var _0x5eebc5=_0x425a4c['uint32']();if(_0x5eebc5===_0x32bd12)break;switch(_0x5eebc5>>>0x3){case 0x1:_0x454915['revisionId']=_0x425a4c['string']();break;case 0x2:_0x454915['name']=_0x425a4c['string']();break;case 0x3:_0x454915['creatorId']=_0x425a4c['string']();break;case 0x4:_0x454915['authorsIds']=_0x425a4c['string']();break;case 0x5:_0x454915['diffData']=_0x425a4c['string']();break;case 0x6:_0x454915['createdAt']=_0x425a4c['string']();break;case 0x7:_0x454915['attributes']=_0x425a4c['string']();break;case 0x8:_0x454915['toVersion']=_0x425a4c['uint32']();break;case 0x9:_0x454915['fromVersion']=_0x425a4c['uint32']();break;case 0xa:_0x454915['isEmptyCurrent']=_0x425a4c['bool']();break;default:_0x425a4c['skipType'](0x7&_0x5eebc5);}}return _0x454915;},_0x4e437a['decodeDelimited']=function(_0x13ea9a){return _0x13ea9a instanceof _0x3dd834||(_0x13ea9a=new _0x3dd834(_0x13ea9a)),this['decode'](_0x13ea9a,_0x13ea9a['uint32']());},_0x4e437a['verify']=function(_0x3b0d0e){return'object'!=typeof _0x3b0d0e||null===_0x3b0d0e?'object\x20expected':null!=_0x3b0d0e['revisionId']&&_0x3b0d0e['hasOwnProperty']('revisionId')&&!_0xdeaf10['isString'](_0x3b0d0e['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x3b0d0e['name']&&_0x3b0d0e['hasOwnProperty']('name')&&!_0xdeaf10['isString'](_0x3b0d0e['name'])?'name:\x20string\x20expected':null!=_0x3b0d0e['creatorId']&&_0x3b0d0e['hasOwnProperty']('creatorId')&&!_0xdeaf10['isString'](_0x3b0d0e['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x3b0d0e['authorsIds']&&_0x3b0d0e['hasOwnProperty']('authorsIds')&&!_0xdeaf10['isString'](_0x3b0d0e['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x3b0d0e['diffData']&&_0x3b0d0e['hasOwnProperty']('diffData')&&!_0xdeaf10['isString'](_0x3b0d0e['diffData'])?'diffData:\x20string\x20expected':null!=_0x3b0d0e['createdAt']&&_0x3b0d0e['hasOwnProperty']('createdAt')&&!_0xdeaf10['isString'](_0x3b0d0e['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x3b0d0e['attributes']&&_0x3b0d0e['hasOwnProperty']('attributes')&&!_0xdeaf10['isString'](_0x3b0d0e['attributes'])?'attributes:\x20string\x20expected':null!=_0x3b0d0e['toVersion']&&_0x3b0d0e['hasOwnProperty']('toVersion')&&!_0xdeaf10['isInteger'](_0x3b0d0e['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x3b0d0e['fromVersion']&&_0x3b0d0e['hasOwnProperty']('fromVersion')&&!_0xdeaf10['isInteger'](_0x3b0d0e['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x3b0d0e['isEmptyCurrent']&&_0x3b0d0e['hasOwnProperty']('isEmptyCurrent')&&'boolean'!=typeof _0x3b0d0e['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null;},_0x4e437a['fromObject']=function(_0x171f81){if(_0x171f81 instanceof _0x416af3['RevisionDescriptor'])return _0x171f81;var _0x39a7da=new _0x416af3['RevisionDescriptor']();return null!=_0x171f81['revisionId']&&(_0x39a7da['revisionId']=String(_0x171f81['revisionId'])),null!=_0x171f81['name']&&(_0x39a7da['name']=String(_0x171f81['name'])),null!=_0x171f81['creatorId']&&(_0x39a7da['creatorId']=String(_0x171f81['creatorId'])),null!=_0x171f81['authorsIds']&&(_0x39a7da['authorsIds']=String(_0x171f81['authorsIds'])),null!=_0x171f81['diffData']&&(_0x39a7da['diffData']=String(_0x171f81['diffData'])),null!=_0x171f81['createdAt']&&(_0x39a7da['createdAt']=String(_0x171f81['createdAt'])),null!=_0x171f81['attributes']&&(_0x39a7da['attributes']=String(_0x171f81['attributes'])),null!=_0x171f81['toVersion']&&(_0x39a7da['toVersion']=_0x171f81['toVersion']>>>0x0),null!=_0x171f81['fromVersion']&&(_0x39a7da['fromVersion']=_0x171f81['fromVersion']>>>0x0),null!=_0x171f81['isEmptyCurrent']&&(_0x39a7da['isEmptyCurrent']=Boolean(_0x171f81['isEmptyCurrent'])),_0x39a7da;},_0x4e437a['toObject']=function(_0x4c9981,_0xe6ec8c){_0xe6ec8c||(_0xe6ec8c={});var _0x1c4706={};return _0xe6ec8c['defaults']&&(_0x1c4706['revisionId']='',_0x1c4706['name']='',_0x1c4706['creatorId']='',_0x1c4706['authorsIds']='',_0x1c4706['diffData']='',_0x1c4706['createdAt']='',_0x1c4706['attributes']='',_0x1c4706['toVersion']=0x0,_0x1c4706['fromVersion']=0x0,_0x1c4706['isEmptyCurrent']=!0x1),null!=_0x4c9981['revisionId']&&_0x4c9981['hasOwnProperty']('revisionId')&&(_0x1c4706['revisionId']=_0x4c9981['revisionId']),null!=_0x4c9981['name']&&_0x4c9981['hasOwnProperty']('name')&&(_0x1c4706['name']=_0x4c9981['name']),null!=_0x4c9981['creatorId']&&_0x4c9981['hasOwnProperty']('creatorId')&&(_0x1c4706['creatorId']=_0x4c9981['creatorId']),null!=_0x4c9981['authorsIds']&&_0x4c9981['hasOwnProperty']('authorsIds')&&(_0x1c4706['authorsIds']=_0x4c9981['authorsIds']),null!=_0x4c9981['diffData']&&_0x4c9981['hasOwnProperty']('diffData')&&(_0x1c4706['diffData']=_0x4c9981['diffData']),null!=_0x4c9981['createdAt']&&_0x4c9981['hasOwnProperty']('createdAt')&&(_0x1c4706['createdAt']=_0x4c9981['createdAt']),null!=_0x4c9981['attributes']&&_0x4c9981['hasOwnProperty']('attributes')&&(_0x1c4706['attributes']=_0x4c9981['attributes']),null!=_0x4c9981['toVersion']&&_0x4c9981['hasOwnProperty']('toVersion')&&(_0x1c4706['toVersion']=_0x4c9981['toVersion']),null!=_0x4c9981['fromVersion']&&_0x4c9981['hasOwnProperty']('fromVersion')&&(_0x1c4706['fromVersion']=_0x4c9981['fromVersion']),null!=_0x4c9981['isEmptyCurrent']&&_0x4c9981['hasOwnProperty']('isEmptyCurrent')&&(_0x1c4706['isEmptyCurrent']=_0x4c9981['isEmptyCurrent']),_0x1c4706;},_0x4e437a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4e437a['getTypeUrl']=function(_0x353c80){return void 0x0===_0x353c80&&(_0x353c80='type.googleapis.com'),_0x353c80+'/RevisionDescriptor';},_0x4e437a;}()),_0x416af3['IsEditorBundleUploadedResponse']=(function(){function _0xb43b66(_0x2646a7){if(_0x2646a7){for(var _0x2a0ff5=Object['keys'](_0x2646a7),_0x20c679=0x0;_0x20c679<_0x2a0ff5['length'];++_0x20c679)null!=_0x2646a7[_0x2a0ff5[_0x20c679]]&&(this[_0x2a0ff5[_0x20c679]]=_0x2646a7[_0x2a0ff5[_0x20c679]]);}}return _0xb43b66['prototype']['isUploaded']=!0x1,_0xb43b66['create']=function(_0x26f5d4){return new _0xb43b66(_0x26f5d4);},_0xb43b66['encode']=function(_0x4cd651,_0x4b7076){return _0x4b7076||(_0x4b7076=_0x4ed70c['create']()),null!=_0x4cd651['isUploaded']&&Object['hasOwnProperty']['call'](_0x4cd651,'isUploaded')&&_0x4b7076['uint32'](0x8)['bool'](_0x4cd651['isUploaded']),_0x4b7076;},_0xb43b66['encodeDelimited']=function(_0x366d94,_0x1cb9fb){return this['encode'](_0x366d94,_0x1cb9fb)['ldelim']();},_0xb43b66['decode']=function(_0x438f6a,_0x128c7f,_0x20fcdd){_0x438f6a instanceof _0x3dd834||(_0x438f6a=_0x3dd834['create'](_0x438f6a));for(var _0x24df46=void 0x0===_0x128c7f?_0x438f6a['len']:_0x438f6a['pos']+_0x128c7f,_0x163726=new _0x416af3['IsEditorBundleUploadedResponse']();_0x438f6a['pos']<_0x24df46;){var _0x53203d=_0x438f6a['uint32']();if(_0x53203d===_0x20fcdd)break;_0x53203d>>>0x3==0x1?_0x163726['isUploaded']=_0x438f6a['bool']():_0x438f6a['skipType'](0x7&_0x53203d);}return _0x163726;},_0xb43b66['decodeDelimited']=function(_0x49c01b){return _0x49c01b instanceof _0x3dd834||(_0x49c01b=new _0x3dd834(_0x49c01b)),this['decode'](_0x49c01b,_0x49c01b['uint32']());},_0xb43b66['verify']=function(_0x34f96e){return'object'!=typeof _0x34f96e||null===_0x34f96e?'object\x20expected':null!=_0x34f96e['isUploaded']&&_0x34f96e['hasOwnProperty']('isUploaded')&&'boolean'!=typeof _0x34f96e['isUploaded']?'isUploaded:\x20boolean\x20expected':null;},_0xb43b66['fromObject']=function(_0x5ed6bd){if(_0x5ed6bd instanceof _0x416af3['IsEditorBundleUploadedResponse'])return _0x5ed6bd;var _0x3e8157=new _0x416af3['IsEditorBundleUploadedResponse']();return null!=_0x5ed6bd['isUploaded']&&(_0x3e8157['isUploaded']=Boolean(_0x5ed6bd['isUploaded'])),_0x3e8157;},_0xb43b66['toObject']=function(_0x5aa7d7,_0x1a9141){_0x1a9141||(_0x1a9141={});var _0xf7a155={};return _0x1a9141['defaults']&&(_0xf7a155['isUploaded']=!0x1),null!=_0x5aa7d7['isUploaded']&&_0x5aa7d7['hasOwnProperty']('isUploaded')&&(_0xf7a155['isUploaded']=_0x5aa7d7['isUploaded']),_0xf7a155;},_0xb43b66['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xb43b66['getTypeUrl']=function(_0xa8b314){return void 0x0===_0xa8b314&&(_0xa8b314='type.googleapis.com'),_0xa8b314+'/IsEditorBundleUploadedResponse';},_0xb43b66;}()),_0x416af3['IsEditorBundleUploadedMessage']=(function(){function _0x1a2e38(_0x2a37b9){if(_0x2a37b9){for(var _0x2ef0cf=Object['keys'](_0x2a37b9),_0x374ea5=0x0;_0x374ea5<_0x2ef0cf['length'];++_0x374ea5)null!=_0x2a37b9[_0x2ef0cf[_0x374ea5]]&&(this[_0x2ef0cf[_0x374ea5]]=_0x2a37b9[_0x2ef0cf[_0x374ea5]]);}}return _0x1a2e38['prototype']['bundleVersion']='',_0x1a2e38['create']=function(_0x277d14){return new _0x1a2e38(_0x277d14);},_0x1a2e38['encode']=function(_0x5b2ff0,_0x28058c){return _0x28058c||(_0x28058c=_0x4ed70c['create']()),null!=_0x5b2ff0['bundleVersion']&&Object['hasOwnProperty']['call'](_0x5b2ff0,'bundleVersion')&&_0x28058c['uint32'](0xa)['string'](_0x5b2ff0['bundleVersion']),_0x28058c;},_0x1a2e38['encodeDelimited']=function(_0x3dd3f5,_0x1d04b3){return this['encode'](_0x3dd3f5,_0x1d04b3)['ldelim']();},_0x1a2e38['decode']=function(_0x51fbe7,_0x115147,_0x553259){_0x51fbe7 instanceof _0x3dd834||(_0x51fbe7=_0x3dd834['create'](_0x51fbe7));for(var _0x11469c=void 0x0===_0x115147?_0x51fbe7['len']:_0x51fbe7['pos']+_0x115147,_0x47e24a=new _0x416af3['IsEditorBundleUploadedMessage']();_0x51fbe7['pos']<_0x11469c;){var _0x319028=_0x51fbe7['uint32']();if(_0x319028===_0x553259)break;_0x319028>>>0x3==0x1?_0x47e24a['bundleVersion']=_0x51fbe7['string']():_0x51fbe7['skipType'](0x7&_0x319028);}return _0x47e24a;},_0x1a2e38['decodeDelimited']=function(_0x44f505){return _0x44f505 instanceof _0x3dd834||(_0x44f505=new _0x3dd834(_0x44f505)),this['decode'](_0x44f505,_0x44f505['uint32']());},_0x1a2e38['verify']=function(_0x3553eb){return'object'!=typeof _0x3553eb||null===_0x3553eb?'object\x20expected':null!=_0x3553eb['bundleVersion']&&_0x3553eb['hasOwnProperty']('bundleVersion')&&!_0xdeaf10['isString'](_0x3553eb['bundleVersion'])?'bundleVersion:\x20string\x20expected':null;},_0x1a2e38['fromObject']=function(_0x2528b2){if(_0x2528b2 instanceof _0x416af3['IsEditorBundleUploadedMessage'])return _0x2528b2;var _0x37a5ad=new _0x416af3['IsEditorBundleUploadedMessage']();return null!=_0x2528b2['bundleVersion']&&(_0x37a5ad['bundleVersion']=String(_0x2528b2['bundleVersion'])),_0x37a5ad;},_0x1a2e38['toObject']=function(_0x2af9a4,_0x8dcd84){_0x8dcd84||(_0x8dcd84={});var _0x9af0e5={};return _0x8dcd84['defaults']&&(_0x9af0e5['bundleVersion']=''),null!=_0x2af9a4['bundleVersion']&&_0x2af9a4['hasOwnProperty']('bundleVersion')&&(_0x9af0e5['bundleVersion']=_0x2af9a4['bundleVersion']),_0x9af0e5;},_0x1a2e38['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1a2e38['getTypeUrl']=function(_0x15575d){return void 0x0===_0x15575d&&(_0x15575d='type.googleapis.com'),_0x15575d+'/IsEditorBundleUploadedMessage';},_0x1a2e38;}()),_0x416af3['KeyValueDescriptor']=(function(){function _0x1b0d5e(_0xfa9c84){if(_0xfa9c84){for(var _0x2dd813=Object['keys'](_0xfa9c84),_0x54ac57=0x0;_0x54ac57<_0x2dd813['length'];++_0x54ac57)null!=_0xfa9c84[_0x2dd813[_0x54ac57]]&&(this[_0x2dd813[_0x54ac57]]=_0xfa9c84[_0x2dd813[_0x54ac57]]);}}return _0x1b0d5e['prototype']['key']='',_0x1b0d5e['prototype']['value']='',_0x1b0d5e['create']=function(_0x2f7e8f){return new _0x1b0d5e(_0x2f7e8f);},_0x1b0d5e['encode']=function(_0x285a25,_0x40bed0){return _0x40bed0||(_0x40bed0=_0x4ed70c['create']()),null!=_0x285a25['key']&&Object['hasOwnProperty']['call'](_0x285a25,'key')&&_0x40bed0['uint32'](0xa)['string'](_0x285a25['key']),null!=_0x285a25['value']&&Object['hasOwnProperty']['call'](_0x285a25,'value')&&_0x40bed0['uint32'](0x12)['string'](_0x285a25['value']),_0x40bed0;},_0x1b0d5e['encodeDelimited']=function(_0x4c656c,_0x9b0b2){return this['encode'](_0x4c656c,_0x9b0b2)['ldelim']();},_0x1b0d5e['decode']=function(_0x16bb63,_0x41891e,_0x9cd9c){_0x16bb63 instanceof _0x3dd834||(_0x16bb63=_0x3dd834['create'](_0x16bb63));for(var _0x597ed8=void 0x0===_0x41891e?_0x16bb63['len']:_0x16bb63['pos']+_0x41891e,_0x317bcd=new _0x416af3['KeyValueDescriptor']();_0x16bb63['pos']<_0x597ed8;){var _0x404da3=_0x16bb63['uint32']();if(_0x404da3===_0x9cd9c)break;switch(_0x404da3>>>0x3){case 0x1:_0x317bcd['key']=_0x16bb63['string']();break;case 0x2:_0x317bcd['value']=_0x16bb63['string']();break;default:_0x16bb63['skipType'](0x7&_0x404da3);}}return _0x317bcd;},_0x1b0d5e['decodeDelimited']=function(_0x1d42fb){return _0x1d42fb instanceof _0x3dd834||(_0x1d42fb=new _0x3dd834(_0x1d42fb)),this['decode'](_0x1d42fb,_0x1d42fb['uint32']());},_0x1b0d5e['verify']=function(_0x49c830){return'object'!=typeof _0x49c830||null===_0x49c830?'object\x20expected':null!=_0x49c830['key']&&_0x49c830['hasOwnProperty']('key')&&!_0xdeaf10['isString'](_0x49c830['key'])?'key:\x20string\x20expected':null!=_0x49c830['value']&&_0x49c830['hasOwnProperty']('value')&&!_0xdeaf10['isString'](_0x49c830['value'])?'value:\x20string\x20expected':null;},_0x1b0d5e['fromObject']=function(_0x39a69b){if(_0x39a69b instanceof _0x416af3['KeyValueDescriptor'])return _0x39a69b;var _0x411fb6=new _0x416af3['KeyValueDescriptor']();return null!=_0x39a69b['key']&&(_0x411fb6['key']=String(_0x39a69b['key'])),null!=_0x39a69b['value']&&(_0x411fb6['value']=String(_0x39a69b['value'])),_0x411fb6;},_0x1b0d5e['toObject']=function(_0xb03b65,_0x38699f){_0x38699f||(_0x38699f={});var _0x4c497a={};return _0x38699f['defaults']&&(_0x4c497a['key']='',_0x4c497a['value']=''),null!=_0xb03b65['key']&&_0xb03b65['hasOwnProperty']('key')&&(_0x4c497a['key']=_0xb03b65['key']),null!=_0xb03b65['value']&&_0xb03b65['hasOwnProperty']('value')&&(_0x4c497a['value']=_0xb03b65['value']),_0x4c497a;},_0x1b0d5e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1b0d5e['getTypeUrl']=function(_0x46c904){return void 0x0===_0x46c904&&(_0x46c904='type.googleapis.com'),_0x46c904+'/KeyValueDescriptor';},_0x1b0d5e;}()),_0x416af3['CommentsV2GetDocumentThreadsResponse']=(function(){function _0xec4ece(_0x33a737){if(this['threads']=[],this['threadsV2']=[],_0x33a737){for(var _0x30531a=Object['keys'](_0x33a737),_0x8c78cb=0x0;_0x8c78cb<_0x30531a['length'];++_0x8c78cb)null!=_0x33a737[_0x30531a[_0x8c78cb]]&&(this[_0x30531a[_0x8c78cb]]=_0x33a737[_0x30531a[_0x8c78cb]]);}}return _0xec4ece['prototype']['threads']=_0xdeaf10['emptyArray'],_0xec4ece['prototype']['threadsV2']=_0xdeaf10['emptyArray'],_0xec4ece['create']=function(_0x3b79de){return new _0xec4ece(_0x3b79de);},_0xec4ece['encode']=function(_0x4a10ed,_0x70cd67){if(_0x70cd67||(_0x70cd67=_0x4ed70c['create']()),null!=_0x4a10ed['threads']&&_0x4a10ed['threads']['length']){for(var _0x1bc231=0x0;_0x1bc231<_0x4a10ed['threads']['length'];++_0x1bc231)_0x70cd67['uint32'](0xa)['string'](_0x4a10ed['threads'][_0x1bc231]);}if(null!=_0x4a10ed['threadsV2']&&_0x4a10ed['threadsV2']['length']){for(_0x1bc231=0x0;_0x1bc231<_0x4a10ed['threadsV2']['length'];++_0x1bc231)_0x416af3['CommentsThreadDescriptor']['encode'](_0x4a10ed['threadsV2'][_0x1bc231],_0x70cd67['uint32'](0x12)['fork']())['ldelim']();}return _0x70cd67;},_0xec4ece['encodeDelimited']=function(_0x43ed70,_0x1ee832){return this['encode'](_0x43ed70,_0x1ee832)['ldelim']();},_0xec4ece['decode']=function(_0x456e4a,_0x266315,_0xd3b3e6){_0x456e4a instanceof _0x3dd834||(_0x456e4a=_0x3dd834['create'](_0x456e4a));for(var _0x46536e=void 0x0===_0x266315?_0x456e4a['len']:_0x456e4a['pos']+_0x266315,_0x34d831=new _0x416af3['CommentsV2GetDocumentThreadsResponse']();_0x456e4a['pos']<_0x46536e;){var _0x111000=_0x456e4a['uint32']();if(_0x111000===_0xd3b3e6)break;switch(_0x111000>>>0x3){case 0x1:_0x34d831['threads']&&_0x34d831['threads']['length']||(_0x34d831['threads']=[]),_0x34d831['threads']['push'](_0x456e4a['string']());break;case 0x2:_0x34d831['threadsV2']&&_0x34d831['threadsV2']['length']||(_0x34d831['threadsV2']=[]),_0x34d831['threadsV2']['push'](_0x416af3['CommentsThreadDescriptor']['decode'](_0x456e4a,_0x456e4a['uint32']()));break;default:_0x456e4a['skipType'](0x7&_0x111000);}}return _0x34d831;},_0xec4ece['decodeDelimited']=function(_0x3ad0fc){return _0x3ad0fc instanceof _0x3dd834||(_0x3ad0fc=new _0x3dd834(_0x3ad0fc)),this['decode'](_0x3ad0fc,_0x3ad0fc['uint32']());},_0xec4ece['verify']=function(_0x33888d){if('object'!=typeof _0x33888d||null===_0x33888d)return'object\x20expected';if(null!=_0x33888d['threads']&&_0x33888d['hasOwnProperty']('threads')){if(!Array['isArray'](_0x33888d['threads']))return'threads:\x20array\x20expected';for(var _0x84c3=0x0;_0x84c3<_0x33888d['threads']['length'];++_0x84c3)if(!_0xdeaf10['isString'](_0x33888d['threads'][_0x84c3]))return'threads:\x20string[]\x20expected';}if(null!=_0x33888d['threadsV2']&&_0x33888d['hasOwnProperty']('threadsV2')){if(!Array['isArray'](_0x33888d['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x84c3=0x0;_0x84c3<_0x33888d['threadsV2']['length'];++_0x84c3){var _0x5e693e=_0x416af3['CommentsThreadDescriptor']['verify'](_0x33888d['threadsV2'][_0x84c3]);if(_0x5e693e)return'threadsV2.'+_0x5e693e;}}return null;},_0xec4ece['fromObject']=function(_0x1b1cf6){if(_0x1b1cf6 instanceof _0x416af3['CommentsV2GetDocumentThreadsResponse'])return _0x1b1cf6;var _0x278cca=new _0x416af3['CommentsV2GetDocumentThreadsResponse']();if(_0x1b1cf6['threads']){if(!Array['isArray'](_0x1b1cf6['threads']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threads:\x20array\x20expected');_0x278cca['threads']=[];for(var _0xbacf8b=0x0;_0xbacf8b<_0x1b1cf6['threads']['length'];++_0xbacf8b)_0x278cca['threads'][_0xbacf8b]=String(_0x1b1cf6['threads'][_0xbacf8b]);}if(_0x1b1cf6['threadsV2']){if(!Array['isArray'](_0x1b1cf6['threadsV2']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20array\x20expected');for(_0x278cca['threadsV2']=[],_0xbacf8b=0x0;_0xbacf8b<_0x1b1cf6['threadsV2']['length'];++_0xbacf8b){if('object'!=typeof _0x1b1cf6['threadsV2'][_0xbacf8b])throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20object\x20expected');_0x278cca['threadsV2'][_0xbacf8b]=_0x416af3['CommentsThreadDescriptor']['fromObject'](_0x1b1cf6['threadsV2'][_0xbacf8b]);}}return _0x278cca;},_0xec4ece['toObject']=function(_0x42ba5b,_0x5b6e3f){_0x5b6e3f||(_0x5b6e3f={});var _0x2f10c0={};if((_0x5b6e3f['arrays']||_0x5b6e3f['defaults'])&&(_0x2f10c0['threads']=[],_0x2f10c0['threadsV2']=[]),_0x42ba5b['threads']&&_0x42ba5b['threads']['length']){_0x2f10c0['threads']=[];for(var _0x1018db=0x0;_0x1018db<_0x42ba5b['threads']['length'];++_0x1018db)_0x2f10c0['threads'][_0x1018db]=_0x42ba5b['threads'][_0x1018db];}if(_0x42ba5b['threadsV2']&&_0x42ba5b['threadsV2']['length']){for(_0x2f10c0['threadsV2']=[],_0x1018db=0x0;_0x1018db<_0x42ba5b['threadsV2']['length'];++_0x1018db)_0x2f10c0['threadsV2'][_0x1018db]=_0x416af3['CommentsThreadDescriptor']['toObject'](_0x42ba5b['threadsV2'][_0x1018db],_0x5b6e3f);}return _0x2f10c0;},_0xec4ece['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xec4ece['getTypeUrl']=function(_0x52a453){return void 0x0===_0x52a453&&(_0x52a453='type.googleapis.com'),_0x52a453+'/CommentsV2GetDocumentThreadsResponse';},_0xec4ece;}()),_0x416af3['CommentsV2GetCommentThreadResponse']=(function(){function _0x584687(_0x253ac6){if(this['comments']=[],this['commentsV2']=[],_0x253ac6){for(var _0x3fb6d8=Object['keys'](_0x253ac6),_0x4dc302=0x0;_0x4dc302<_0x3fb6d8['length'];++_0x4dc302)null!=_0x253ac6[_0x3fb6d8[_0x4dc302]]&&(this[_0x3fb6d8[_0x4dc302]]=_0x253ac6[_0x3fb6d8[_0x4dc302]]);}}return _0x584687['prototype']['commentThreadId']='',_0x584687['prototype']['comments']=_0xdeaf10['emptyArray'],_0x584687['prototype']['commentsV2']=_0xdeaf10['emptyArray'],_0x584687['prototype']['resolvedAt']='',_0x584687['prototype']['resolvedBy']='',_0x584687['prototype']['context']='',_0x584687['prototype']['createdAt']='',_0x584687['prototype']['deletedAt']='',_0x584687['prototype']['attributes']='',_0x584687['prototype']['unlinkedAt']='',_0x584687['create']=function(_0x31f2ef){return new _0x584687(_0x31f2ef);},_0x584687['encode']=function(_0x100c38,_0x5cf7c5){if(_0x5cf7c5||(_0x5cf7c5=_0x4ed70c['create']()),null!=_0x100c38['commentThreadId']&&Object['hasOwnProperty']['call'](_0x100c38,'commentThreadId')&&_0x5cf7c5['uint32'](0xa)['string'](_0x100c38['commentThreadId']),null!=_0x100c38['comments']&&_0x100c38['comments']['length']){for(var _0x207db8=0x0;_0x207db8<_0x100c38['comments']['length'];++_0x207db8)_0x5cf7c5['uint32'](0x12)['string'](_0x100c38['comments'][_0x207db8]);}if(null!=_0x100c38['commentsV2']&&_0x100c38['commentsV2']['length']){for(_0x207db8=0x0;_0x207db8<_0x100c38['commentsV2']['length'];++_0x207db8)_0x416af3['CommentDescriptor']['encode'](_0x100c38['commentsV2'][_0x207db8],_0x5cf7c5['uint32'](0x1a)['fork']())['ldelim']();}return null!=_0x100c38['resolvedAt']&&Object['hasOwnProperty']['call'](_0x100c38,'resolvedAt')&&_0x5cf7c5['uint32'](0x22)['string'](_0x100c38['resolvedAt']),null!=_0x100c38['resolvedBy']&&Object['hasOwnProperty']['call'](_0x100c38,'resolvedBy')&&_0x5cf7c5['uint32'](0x2a)['string'](_0x100c38['resolvedBy']),null!=_0x100c38['context']&&Object['hasOwnProperty']['call'](_0x100c38,'context')&&_0x5cf7c5['uint32'](0x32)['string'](_0x100c38['context']),null!=_0x100c38['createdAt']&&Object['hasOwnProperty']['call'](_0x100c38,'createdAt')&&_0x5cf7c5['uint32'](0x3a)['string'](_0x100c38['createdAt']),null!=_0x100c38['deletedAt']&&Object['hasOwnProperty']['call'](_0x100c38,'deletedAt')&&_0x5cf7c5['uint32'](0x42)['string'](_0x100c38['deletedAt']),null!=_0x100c38['attributes']&&Object['hasOwnProperty']['call'](_0x100c38,'attributes')&&_0x5cf7c5['uint32'](0x4a)['string'](_0x100c38['attributes']),null!=_0x100c38['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x100c38,'unlinkedAt')&&_0x5cf7c5['uint32'](0x52)['string'](_0x100c38['unlinkedAt']),_0x5cf7c5;},_0x584687['encodeDelimited']=function(_0x3b66aa,_0xfba6f3){return this['encode'](_0x3b66aa,_0xfba6f3)['ldelim']();},_0x584687['decode']=function(_0x5457c8,_0x3011f5,_0x26c077){_0x5457c8 instanceof _0x3dd834||(_0x5457c8=_0x3dd834['create'](_0x5457c8));for(var _0x1e92a9=void 0x0===_0x3011f5?_0x5457c8['len']:_0x5457c8['pos']+_0x3011f5,_0x2d55b3=new _0x416af3['CommentsV2GetCommentThreadResponse']();_0x5457c8['pos']<_0x1e92a9;){var _0x6f73c4=_0x5457c8['uint32']();if(_0x6f73c4===_0x26c077)break;switch(_0x6f73c4>>>0x3){case 0x1:_0x2d55b3['commentThreadId']=_0x5457c8['string']();break;case 0x2:_0x2d55b3['comments']&&_0x2d55b3['comments']['length']||(_0x2d55b3['comments']=[]),_0x2d55b3['comments']['push'](_0x5457c8['string']());break;case 0x3:_0x2d55b3['commentsV2']&&_0x2d55b3['commentsV2']['length']||(_0x2d55b3['commentsV2']=[]),_0x2d55b3['commentsV2']['push'](_0x416af3['CommentDescriptor']['decode'](_0x5457c8,_0x5457c8['uint32']()));break;case 0x4:_0x2d55b3['resolvedAt']=_0x5457c8['string']();break;case 0x5:_0x2d55b3['resolvedBy']=_0x5457c8['string']();break;case 0x6:_0x2d55b3['context']=_0x5457c8['string']();break;case 0x7:_0x2d55b3['createdAt']=_0x5457c8['string']();break;case 0x8:_0x2d55b3['deletedAt']=_0x5457c8['string']();break;case 0x9:_0x2d55b3['attributes']=_0x5457c8['string']();break;case 0xa:_0x2d55b3['unlinkedAt']=_0x5457c8['string']();break;default:_0x5457c8['skipType'](0x7&_0x6f73c4);}}return _0x2d55b3;},_0x584687['decodeDelimited']=function(_0x553bcc){return _0x553bcc instanceof _0x3dd834||(_0x553bcc=new _0x3dd834(_0x553bcc)),this['decode'](_0x553bcc,_0x553bcc['uint32']());},_0x584687['verify']=function(_0x26910a){if('object'!=typeof _0x26910a||null===_0x26910a)return'object\x20expected';if(null!=_0x26910a['commentThreadId']&&_0x26910a['hasOwnProperty']('commentThreadId')&&!_0xdeaf10['isString'](_0x26910a['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x26910a['comments']&&_0x26910a['hasOwnProperty']('comments')){if(!Array['isArray'](_0x26910a['comments']))return'comments:\x20array\x20expected';for(var _0xe84714=0x0;_0xe84714<_0x26910a['comments']['length'];++_0xe84714)if(!_0xdeaf10['isString'](_0x26910a['comments'][_0xe84714]))return'comments:\x20string[]\x20expected';}if(null!=_0x26910a['commentsV2']&&_0x26910a['hasOwnProperty']('commentsV2')){if(!Array['isArray'](_0x26910a['commentsV2']))return'commentsV2:\x20array\x20expected';for(_0xe84714=0x0;_0xe84714<_0x26910a['commentsV2']['length'];++_0xe84714){var _0x2f5b4a=_0x416af3['CommentDescriptor']['verify'](_0x26910a['commentsV2'][_0xe84714]);if(_0x2f5b4a)return'commentsV2.'+_0x2f5b4a;}}return null!=_0x26910a['resolvedAt']&&_0x26910a['hasOwnProperty']('resolvedAt')&&!_0xdeaf10['isString'](_0x26910a['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x26910a['resolvedBy']&&_0x26910a['hasOwnProperty']('resolvedBy')&&!_0xdeaf10['isString'](_0x26910a['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x26910a['context']&&_0x26910a['hasOwnProperty']('context')&&!_0xdeaf10['isString'](_0x26910a['context'])?'context:\x20string\x20expected':null!=_0x26910a['createdAt']&&_0x26910a['hasOwnProperty']('createdAt')&&!_0xdeaf10['isString'](_0x26910a['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x26910a['deletedAt']&&_0x26910a['hasOwnProperty']('deletedAt')&&!_0xdeaf10['isString'](_0x26910a['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x26910a['attributes']&&_0x26910a['hasOwnProperty']('attributes')&&!_0xdeaf10['isString'](_0x26910a['attributes'])?'attributes:\x20string\x20expected':null!=_0x26910a['unlinkedAt']&&_0x26910a['hasOwnProperty']('unlinkedAt')&&!_0xdeaf10['isString'](_0x26910a['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x584687['fromObject']=function(_0x71e012){if(_0x71e012 instanceof _0x416af3['CommentsV2GetCommentThreadResponse'])return _0x71e012;var _0x4e3d8b=new _0x416af3['CommentsV2GetCommentThreadResponse']();if(null!=_0x71e012['commentThreadId']&&(_0x4e3d8b['commentThreadId']=String(_0x71e012['commentThreadId'])),_0x71e012['comments']){if(!Array['isArray'](_0x71e012['comments']))throw TypeError('.CommentsV2GetCommentThreadResponse.comments:\x20array\x20expected');_0x4e3d8b['comments']=[];for(var _0x5a9eeb=0x0;_0x5a9eeb<_0x71e012['comments']['length'];++_0x5a9eeb)_0x4e3d8b['comments'][_0x5a9eeb]=String(_0x71e012['comments'][_0x5a9eeb]);}if(_0x71e012['commentsV2']){if(!Array['isArray'](_0x71e012['commentsV2']))throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20array\x20expected');for(_0x4e3d8b['commentsV2']=[],_0x5a9eeb=0x0;_0x5a9eeb<_0x71e012['commentsV2']['length'];++_0x5a9eeb){if('object'!=typeof _0x71e012['commentsV2'][_0x5a9eeb])throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20object\x20expected');_0x4e3d8b['commentsV2'][_0x5a9eeb]=_0x416af3['CommentDescriptor']['fromObject'](_0x71e012['commentsV2'][_0x5a9eeb]);}}return null!=_0x71e012['resolvedAt']&&(_0x4e3d8b['resolvedAt']=String(_0x71e012['resolvedAt'])),null!=_0x71e012['resolvedBy']&&(_0x4e3d8b['resolvedBy']=String(_0x71e012['resolvedBy'])),null!=_0x71e012['context']&&(_0x4e3d8b['context']=String(_0x71e012['context'])),null!=_0x71e012['createdAt']&&(_0x4e3d8b['createdAt']=String(_0x71e012['createdAt'])),null!=_0x71e012['deletedAt']&&(_0x4e3d8b['deletedAt']=String(_0x71e012['deletedAt'])),null!=_0x71e012['attributes']&&(_0x4e3d8b['attributes']=String(_0x71e012['attributes'])),null!=_0x71e012['unlinkedAt']&&(_0x4e3d8b['unlinkedAt']=String(_0x71e012['unlinkedAt'])),_0x4e3d8b;},_0x584687['toObject']=function(_0x489927,_0x3fe8ad){_0x3fe8ad||(_0x3fe8ad={});var _0x5f3bd1={};if((_0x3fe8ad['arrays']||_0x3fe8ad['defaults'])&&(_0x5f3bd1['comments']=[],_0x5f3bd1['commentsV2']=[]),_0x3fe8ad['defaults']&&(_0x5f3bd1['commentThreadId']='',_0x5f3bd1['resolvedAt']='',_0x5f3bd1['resolvedBy']='',_0x5f3bd1['context']='',_0x5f3bd1['createdAt']='',_0x5f3bd1['deletedAt']='',_0x5f3bd1['attributes']='',_0x5f3bd1['unlinkedAt']=''),null!=_0x489927['commentThreadId']&&_0x489927['hasOwnProperty']('commentThreadId')&&(_0x5f3bd1['commentThreadId']=_0x489927['commentThreadId']),_0x489927['comments']&&_0x489927['comments']['length']){_0x5f3bd1['comments']=[];for(var _0x4057dc=0x0;_0x4057dc<_0x489927['comments']['length'];++_0x4057dc)_0x5f3bd1['comments'][_0x4057dc]=_0x489927['comments'][_0x4057dc];}if(_0x489927['commentsV2']&&_0x489927['commentsV2']['length']){for(_0x5f3bd1['commentsV2']=[],_0x4057dc=0x0;_0x4057dc<_0x489927['commentsV2']['length'];++_0x4057dc)_0x5f3bd1['commentsV2'][_0x4057dc]=_0x416af3['CommentDescriptor']['toObject'](_0x489927['commentsV2'][_0x4057dc],_0x3fe8ad);}return null!=_0x489927['resolvedAt']&&_0x489927['hasOwnProperty']('resolvedAt')&&(_0x5f3bd1['resolvedAt']=_0x489927['resolvedAt']),null!=_0x489927['resolvedBy']&&_0x489927['hasOwnProperty']('resolvedBy')&&(_0x5f3bd1['resolvedBy']=_0x489927['resolvedBy']),null!=_0x489927['context']&&_0x489927['hasOwnProperty']('context')&&(_0x5f3bd1['context']=_0x489927['context']),null!=_0x489927['createdAt']&&_0x489927['hasOwnProperty']('createdAt')&&(_0x5f3bd1['createdAt']=_0x489927['createdAt']),null!=_0x489927['deletedAt']&&_0x489927['hasOwnProperty']('deletedAt')&&(_0x5f3bd1['deletedAt']=_0x489927['deletedAt']),null!=_0x489927['attributes']&&_0x489927['hasOwnProperty']('attributes')&&(_0x5f3bd1['attributes']=_0x489927['attributes']),null!=_0x489927['unlinkedAt']&&_0x489927['hasOwnProperty']('unlinkedAt')&&(_0x5f3bd1['unlinkedAt']=_0x489927['unlinkedAt']),_0x5f3bd1;},_0x584687['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x584687['getTypeUrl']=function(_0x1e7ada){return void 0x0===_0x1e7ada&&(_0x1e7ada='type.googleapis.com'),_0x1e7ada+'/CommentsV2GetCommentThreadResponse';},_0x584687;}()),_0x416af3['CommentsV2ConnectResponse']=(function(){function _0x3db0bf(_0x442746){if(this['threads']=[],this['threadsV2']=[],_0x442746){for(var _0x2ef9e7=Object['keys'](_0x442746),_0x2cc6b2=0x0;_0x2cc6b2<_0x2ef9e7['length'];++_0x2cc6b2)null!=_0x442746[_0x2ef9e7[_0x2cc6b2]]&&(this[_0x2ef9e7[_0x2cc6b2]]=_0x442746[_0x2ef9e7[_0x2cc6b2]]);}}return _0x3db0bf['prototype']['channel']='',_0x3db0bf['prototype']['threads']=_0xdeaf10['emptyArray'],_0x3db0bf['prototype']['threadsV2']=_0xdeaf10['emptyArray'],_0x3db0bf['create']=function(_0x925ae6){return new _0x3db0bf(_0x925ae6);},_0x3db0bf['encode']=function(_0x557209,_0x3dfd9b){if(_0x3dfd9b||(_0x3dfd9b=_0x4ed70c['create']()),null!=_0x557209['channel']&&Object['hasOwnProperty']['call'](_0x557209,'channel')&&_0x3dfd9b['uint32'](0xa)['string'](_0x557209['channel']),null!=_0x557209['threads']&&_0x557209['threads']['length']){for(var _0x5b1052=0x0;_0x5b1052<_0x557209['threads']['length'];++_0x5b1052)_0x3dfd9b['uint32'](0x12)['string'](_0x557209['threads'][_0x5b1052]);}if(null!=_0x557209['threadsV2']&&_0x557209['threadsV2']['length']){for(_0x5b1052=0x0;_0x5b1052<_0x557209['threadsV2']['length'];++_0x5b1052)_0x416af3['CommentsThreadDescriptor']['encode'](_0x557209['threadsV2'][_0x5b1052],_0x3dfd9b['uint32'](0x1a)['fork']())['ldelim']();}return _0x3dfd9b;},_0x3db0bf['encodeDelimited']=function(_0x2ddd2d,_0x3e8d22){return this['encode'](_0x2ddd2d,_0x3e8d22)['ldelim']();},_0x3db0bf['decode']=function(_0x5cdb2d,_0xc5d82e,_0x553127){_0x5cdb2d instanceof _0x3dd834||(_0x5cdb2d=_0x3dd834['create'](_0x5cdb2d));for(var _0x1cf684=void 0x0===_0xc5d82e?_0x5cdb2d['len']:_0x5cdb2d['pos']+_0xc5d82e,_0x1e50e3=new _0x416af3['CommentsV2ConnectResponse']();_0x5cdb2d['pos']<_0x1cf684;){var _0x3935eb=_0x5cdb2d['uint32']();if(_0x3935eb===_0x553127)break;switch(_0x3935eb>>>0x3){case 0x1:_0x1e50e3['channel']=_0x5cdb2d['string']();break;case 0x2:_0x1e50e3['threads']&&_0x1e50e3['threads']['length']||(_0x1e50e3['threads']=[]),_0x1e50e3['threads']['push'](_0x5cdb2d['string']());break;case 0x3:_0x1e50e3['threadsV2']&&_0x1e50e3['threadsV2']['length']||(_0x1e50e3['threadsV2']=[]),_0x1e50e3['threadsV2']['push'](_0x416af3['CommentsThreadDescriptor']['decode'](_0x5cdb2d,_0x5cdb2d['uint32']()));break;default:_0x5cdb2d['skipType'](0x7&_0x3935eb);}}return _0x1e50e3;},_0x3db0bf['decodeDelimited']=function(_0x427c4c){return _0x427c4c instanceof _0x3dd834||(_0x427c4c=new _0x3dd834(_0x427c4c)),this['decode'](_0x427c4c,_0x427c4c['uint32']());},_0x3db0bf['verify']=function(_0x7db8b2){if('object'!=typeof _0x7db8b2||null===_0x7db8b2)return'object\x20expected';if(null!=_0x7db8b2['channel']&&_0x7db8b2['hasOwnProperty']('channel')&&!_0xdeaf10['isString'](_0x7db8b2['channel']))return'channel:\x20string\x20expected';if(null!=_0x7db8b2['threads']&&_0x7db8b2['hasOwnProperty']('threads')){if(!Array['isArray'](_0x7db8b2['threads']))return'threads:\x20array\x20expected';for(var _0x204aeb=0x0;_0x204aeb<_0x7db8b2['threads']['length'];++_0x204aeb)if(!_0xdeaf10['isString'](_0x7db8b2['threads'][_0x204aeb]))return'threads:\x20string[]\x20expected';}if(null!=_0x7db8b2['threadsV2']&&_0x7db8b2['hasOwnProperty']('threadsV2')){if(!Array['isArray'](_0x7db8b2['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x204aeb=0x0;_0x204aeb<_0x7db8b2['threadsV2']['length'];++_0x204aeb){var _0x5e971c=_0x416af3['CommentsThreadDescriptor']['verify'](_0x7db8b2['threadsV2'][_0x204aeb]);if(_0x5e971c)return'threadsV2.'+_0x5e971c;}}return null;},_0x3db0bf['fromObject']=function(_0x331c38){if(_0x331c38 instanceof _0x416af3['CommentsV2ConnectResponse'])return _0x331c38;var _0x82e248=new _0x416af3['CommentsV2ConnectResponse']();if(null!=_0x331c38['channel']&&(_0x82e248['channel']=String(_0x331c38['channel'])),_0x331c38['threads']){if(!Array['isArray'](_0x331c38['threads']))throw TypeError('.CommentsV2ConnectResponse.threads:\x20array\x20expected');_0x82e248['threads']=[];for(var _0x361d46=0x0;_0x361d46<_0x331c38['threads']['length'];++_0x361d46)_0x82e248['threads'][_0x361d46]=String(_0x331c38['threads'][_0x361d46]);}if(_0x331c38['threadsV2']){if(!Array['isArray'](_0x331c38['threadsV2']))throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20array\x20expected');for(_0x82e248['threadsV2']=[],_0x361d46=0x0;_0x361d46<_0x331c38['threadsV2']['length'];++_0x361d46){if('object'!=typeof _0x331c38['threadsV2'][_0x361d46])throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20object\x20expected');_0x82e248['threadsV2'][_0x361d46]=_0x416af3['CommentsThreadDescriptor']['fromObject'](_0x331c38['threadsV2'][_0x361d46]);}}return _0x82e248;},_0x3db0bf['toObject']=function(_0x2b28a4,_0x2fc427){_0x2fc427||(_0x2fc427={});var _0x205dc6={};if((_0x2fc427['arrays']||_0x2fc427['defaults'])&&(_0x205dc6['threads']=[],_0x205dc6['threadsV2']=[]),_0x2fc427['defaults']&&(_0x205dc6['channel']=''),null!=_0x2b28a4['channel']&&_0x2b28a4['hasOwnProperty']('channel')&&(_0x205dc6['channel']=_0x2b28a4['channel']),_0x2b28a4['threads']&&_0x2b28a4['threads']['length']){_0x205dc6['threads']=[];for(var _0x8a7e81=0x0;_0x8a7e81<_0x2b28a4['threads']['length'];++_0x8a7e81)_0x205dc6['threads'][_0x8a7e81]=_0x2b28a4['threads'][_0x8a7e81];}if(_0x2b28a4['threadsV2']&&_0x2b28a4['threadsV2']['length']){for(_0x205dc6['threadsV2']=[],_0x8a7e81=0x0;_0x8a7e81<_0x2b28a4['threadsV2']['length'];++_0x8a7e81)_0x205dc6['threadsV2'][_0x8a7e81]=_0x416af3['CommentsThreadDescriptor']['toObject'](_0x2b28a4['threadsV2'][_0x8a7e81],_0x2fc427);}return _0x205dc6;},_0x3db0bf['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3db0bf['getTypeUrl']=function(_0x214b1f){return void 0x0===_0x214b1f&&(_0x214b1f='type.googleapis.com'),_0x214b1f+'/CommentsV2ConnectResponse';},_0x3db0bf;}()),_0x416af3['CommentsV2AddCommentResponse']=(function(){function _0x1e83de(_0xa51c15){if(_0xa51c15){for(var _0xc8b4c9=Object['keys'](_0xa51c15),_0x1d8898=0x0;_0x1d8898<_0xc8b4c9['length'];++_0x1d8898)null!=_0xa51c15[_0xc8b4c9[_0x1d8898]]&&(this[_0xc8b4c9[_0x1d8898]]=_0xa51c15[_0xc8b4c9[_0x1d8898]]);}}return _0x1e83de['prototype']['commentThreadId']='',_0x1e83de['prototype']['commentId']='',_0x1e83de['prototype']['createdAt']='',_0x1e83de['create']=function(_0xcfbf1){return new _0x1e83de(_0xcfbf1);},_0x1e83de['encode']=function(_0x244fbe,_0x3f1bb2){return _0x3f1bb2||(_0x3f1bb2=_0x4ed70c['create']()),null!=_0x244fbe['commentThreadId']&&Object['hasOwnProperty']['call'](_0x244fbe,'commentThreadId')&&_0x3f1bb2['uint32'](0xa)['string'](_0x244fbe['commentThreadId']),null!=_0x244fbe['commentId']&&Object['hasOwnProperty']['call'](_0x244fbe,'commentId')&&_0x3f1bb2['uint32'](0x12)['string'](_0x244fbe['commentId']),null!=_0x244fbe['createdAt']&&Object['hasOwnProperty']['call'](_0x244fbe,'createdAt')&&_0x3f1bb2['uint32'](0x1a)['string'](_0x244fbe['createdAt']),_0x3f1bb2;},_0x1e83de['encodeDelimited']=function(_0x148d95,_0x4e4329){return this['encode'](_0x148d95,_0x4e4329)['ldelim']();},_0x1e83de['decode']=function(_0x344f7b,_0x199d2d,_0x5effaa){_0x344f7b instanceof _0x3dd834||(_0x344f7b=_0x3dd834['create'](_0x344f7b));for(var _0xb42f44=void 0x0===_0x199d2d?_0x344f7b['len']:_0x344f7b['pos']+_0x199d2d,_0x3cff66=new _0x416af3['CommentsV2AddCommentResponse']();_0x344f7b['pos']<_0xb42f44;){var _0x4993ca=_0x344f7b['uint32']();if(_0x4993ca===_0x5effaa)break;switch(_0x4993ca>>>0x3){case 0x1:_0x3cff66['commentThreadId']=_0x344f7b['string']();break;case 0x2:_0x3cff66['commentId']=_0x344f7b['string']();break;case 0x3:_0x3cff66['createdAt']=_0x344f7b['string']();break;default:_0x344f7b['skipType'](0x7&_0x4993ca);}}return _0x3cff66;},_0x1e83de['decodeDelimited']=function(_0x328632){return _0x328632 instanceof _0x3dd834||(_0x328632=new _0x3dd834(_0x328632)),this['decode'](_0x328632,_0x328632['uint32']());},_0x1e83de['verify']=function(_0x4b7017){return'object'!=typeof _0x4b7017||null===_0x4b7017?'object\x20expected':null!=_0x4b7017['commentThreadId']&&_0x4b7017['hasOwnProperty']('commentThreadId')&&!_0xdeaf10['isString'](_0x4b7017['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x4b7017['commentId']&&_0x4b7017['hasOwnProperty']('commentId')&&!_0xdeaf10['isString'](_0x4b7017['commentId'])?'commentId:\x20string\x20expected':null!=_0x4b7017['createdAt']&&_0x4b7017['hasOwnProperty']('createdAt')&&!_0xdeaf10['isString'](_0x4b7017['createdAt'])?'createdAt:\x20string\x20expected':null;},_0x1e83de['fromObject']=function(_0x4328ce){if(_0x4328ce instanceof _0x416af3['CommentsV2AddCommentResponse'])return _0x4328ce;var _0x21775b=new _0x416af3['CommentsV2AddCommentResponse']();return null!=_0x4328ce['commentThreadId']&&(_0x21775b['commentThreadId']=String(_0x4328ce['commentThreadId'])),null!=_0x4328ce['commentId']&&(_0x21775b['commentId']=String(_0x4328ce['commentId'])),null!=_0x4328ce['createdAt']&&(_0x21775b['createdAt']=String(_0x4328ce['createdAt'])),_0x21775b;},_0x1e83de['toObject']=function(_0x2f22a5,_0x272500){_0x272500||(_0x272500={});var _0x588efc={};return _0x272500['defaults']&&(_0x588efc['commentThreadId']='',_0x588efc['commentId']='',_0x588efc['createdAt']=''),null!=_0x2f22a5['commentThreadId']&&_0x2f22a5['hasOwnProperty']('commentThreadId')&&(_0x588efc['commentThreadId']=_0x2f22a5['commentThreadId']),null!=_0x2f22a5['commentId']&&_0x2f22a5['hasOwnProperty']('commentId')&&(_0x588efc['commentId']=_0x2f22a5['commentId']),null!=_0x2f22a5['createdAt']&&_0x2f22a5['hasOwnProperty']('createdAt')&&(_0x588efc['createdAt']=_0x2f22a5['createdAt']),_0x588efc;},_0x1e83de['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1e83de['getTypeUrl']=function(_0x188c63){return void 0x0===_0x188c63&&(_0x188c63='type.googleapis.com'),_0x188c63+'/CommentsV2AddCommentResponse';},_0x1e83de;}()),_0x416af3['CommentsV2ResolveCommentThreadResponse']=(function(){function _0x2d35e0(_0x2daae0){if(_0x2daae0){for(var _0x14819d=Object['keys'](_0x2daae0),_0x507d89=0x0;_0x507d89<_0x14819d['length'];++_0x507d89)null!=_0x2daae0[_0x14819d[_0x507d89]]&&(this[_0x14819d[_0x507d89]]=_0x2daae0[_0x14819d[_0x507d89]]);}}return _0x2d35e0['prototype']['commentThreadId']='',_0x2d35e0['prototype']['documentId']='',_0x2d35e0['prototype']['resolvedAt']='',_0x2d35e0['prototype']['resolvedBy']='',_0x2d35e0['create']=function(_0x27207f){return new _0x2d35e0(_0x27207f);},_0x2d35e0['encode']=function(_0x2b7004,_0x5c2256){return _0x5c2256||(_0x5c2256=_0x4ed70c['create']()),null!=_0x2b7004['commentThreadId']&&Object['hasOwnProperty']['call'](_0x2b7004,'commentThreadId')&&_0x5c2256['uint32'](0xa)['string'](_0x2b7004['commentThreadId']),null!=_0x2b7004['documentId']&&Object['hasOwnProperty']['call'](_0x2b7004,'documentId')&&_0x5c2256['uint32'](0x12)['string'](_0x2b7004['documentId']),null!=_0x2b7004['resolvedAt']&&Object['hasOwnProperty']['call'](_0x2b7004,'resolvedAt')&&_0x5c2256['uint32'](0x1a)['string'](_0x2b7004['resolvedAt']),null!=_0x2b7004['resolvedBy']&&Object['hasOwnProperty']['call'](_0x2b7004,'resolvedBy')&&_0x5c2256['uint32'](0x22)['string'](_0x2b7004['resolvedBy']),_0x5c2256;},_0x2d35e0['encodeDelimited']=function(_0x20ec67,_0x521bb1){return this['encode'](_0x20ec67,_0x521bb1)['ldelim']();},_0x2d35e0['decode']=function(_0xa166ae,_0x1beb2c,_0x253286){_0xa166ae instanceof _0x3dd834||(_0xa166ae=_0x3dd834['create'](_0xa166ae));for(var _0x563539=void 0x0===_0x1beb2c?_0xa166ae['len']:_0xa166ae['pos']+_0x1beb2c,_0x4afad3=new _0x416af3['CommentsV2ResolveCommentThreadResponse']();_0xa166ae['pos']<_0x563539;){var _0x46b710=_0xa166ae['uint32']();if(_0x46b710===_0x253286)break;switch(_0x46b710>>>0x3){case 0x1:_0x4afad3['commentThreadId']=_0xa166ae['string']();break;case 0x2:_0x4afad3['documentId']=_0xa166ae['string']();break;case 0x3:_0x4afad3['resolvedAt']=_0xa166ae['string']();break;case 0x4:_0x4afad3['resolvedBy']=_0xa166ae['string']();break;default:_0xa166ae['skipType'](0x7&_0x46b710);}}return _0x4afad3;},_0x2d35e0['decodeDelimited']=function(_0x59c4de){return _0x59c4de instanceof _0x3dd834||(_0x59c4de=new _0x3dd834(_0x59c4de)),this['decode'](_0x59c4de,_0x59c4de['uint32']());},_0x2d35e0['verify']=function(_0x1e28d7){return'object'!=typeof _0x1e28d7||null===_0x1e28d7?'object\x20expected':null!=_0x1e28d7['commentThreadId']&&_0x1e28d7['hasOwnProperty']('commentThreadId')&&!_0xdeaf10['isString'](_0x1e28d7['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x1e28d7['documentId']&&_0x1e28d7['hasOwnProperty']('documentId')&&!_0xdeaf10['isString'](_0x1e28d7['documentId'])?'documentId:\x20string\x20expected':null!=_0x1e28d7['resolvedAt']&&_0x1e28d7['hasOwnProperty']('resolvedAt')&&!_0xdeaf10['isString'](_0x1e28d7['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x1e28d7['resolvedBy']&&_0x1e28d7['hasOwnProperty']('resolvedBy')&&!_0xdeaf10['isString'](_0x1e28d7['resolvedBy'])?'resolvedBy:\x20string\x20expected':null;},_0x2d35e0['fromObject']=function(_0xc94d30){if(_0xc94d30 instanceof _0x416af3['CommentsV2ResolveCommentThreadResponse'])return _0xc94d30;var _0x19a22e=new _0x416af3['CommentsV2ResolveCommentThreadResponse']();return null!=_0xc94d30['commentThreadId']&&(_0x19a22e['commentThreadId']=String(_0xc94d30['commentThreadId'])),null!=_0xc94d30['documentId']&&(_0x19a22e['documentId']=String(_0xc94d30['documentId'])),null!=_0xc94d30['resolvedAt']&&(_0x19a22e['resolvedAt']=String(_0xc94d30['resolvedAt'])),null!=_0xc94d30['resolvedBy']&&(_0x19a22e['resolvedBy']=String(_0xc94d30['resolvedBy'])),_0x19a22e;},_0x2d35e0['toObject']=function(_0x40522c,_0x538262){_0x538262||(_0x538262={});var _0x5577f3={};return _0x538262['defaults']&&(_0x5577f3['commentThreadId']='',_0x5577f3['documentId']='',_0x5577f3['resolvedAt']='',_0x5577f3['resolvedBy']=''),null!=_0x40522c['commentThreadId']&&_0x40522c['hasOwnProperty']('commentThreadId')&&(_0x5577f3['commentThreadId']=_0x40522c['commentThreadId']),null!=_0x40522c['documentId']&&_0x40522c['hasOwnProperty']('documentId')&&(_0x5577f3['documentId']=_0x40522c['documentId']),null!=_0x40522c['resolvedAt']&&_0x40522c['hasOwnProperty']('resolvedAt')&&(_0x5577f3['resolvedAt']=_0x40522c['resolvedAt']),null!=_0x40522c['resolvedBy']&&_0x40522c['hasOwnProperty']('resolvedBy')&&(_0x5577f3['resolvedBy']=_0x40522c['resolvedBy']),_0x5577f3;},_0x2d35e0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2d35e0['getTypeUrl']=function(_0x416af4){return void 0x0===_0x416af4&&(_0x416af4='type.googleapis.com'),_0x416af4+'/CommentsV2ResolveCommentThreadResponse';},_0x2d35e0;}()),_0x416af3['CommentsV2AddCommentThreadResponse']=(function(){function _0x53e946(_0x2ee184){if(this['comments']=[],_0x2ee184){for(var _0x27f6a2=Object['keys'](_0x2ee184),_0x1cf2f2=0x0;_0x1cf2f2<_0x27f6a2['length'];++_0x1cf2f2)null!=_0x2ee184[_0x27f6a2[_0x1cf2f2]]&&(this[_0x27f6a2[_0x1cf2f2]]=_0x2ee184[_0x27f6a2[_0x1cf2f2]]);}}return _0x53e946['prototype']['commentThreadId']='',_0x53e946['prototype']['createdAt']='',_0x53e946['prototype']['comments']=_0xdeaf10['emptyArray'],_0x53e946['create']=function(_0x36957b){return new _0x53e946(_0x36957b);},_0x53e946['encode']=function(_0x74d82c,_0x1b765e){if(_0x1b765e||(_0x1b765e=_0x4ed70c['create']()),null!=_0x74d82c['commentThreadId']&&Object['hasOwnProperty']['call'](_0x74d82c,'commentThreadId')&&_0x1b765e['uint32'](0xa)['string'](_0x74d82c['commentThreadId']),null!=_0x74d82c['createdAt']&&Object['hasOwnProperty']['call'](_0x74d82c,'createdAt')&&_0x1b765e['uint32'](0x12)['string'](_0x74d82c['createdAt']),null!=_0x74d82c['comments']&&_0x74d82c['comments']['length']){for(var _0x4c91a2=0x0;_0x4c91a2<_0x74d82c['comments']['length'];++_0x4c91a2)_0x416af3['CommentThreadAddedCommentDescriptor']['encode'](_0x74d82c['comments'][_0x4c91a2],_0x1b765e['uint32'](0x1a)['fork']())['ldelim']();}return _0x1b765e;},_0x53e946['encodeDelimited']=function(_0x4bf618,_0x3afeb6){return this['encode'](_0x4bf618,_0x3afeb6)['ldelim']();},_0x53e946['decode']=function(_0x3ee37f,_0x1c51b0,_0x4bebdd){_0x3ee37f instanceof _0x3dd834||(_0x3ee37f=_0x3dd834['create'](_0x3ee37f));for(var _0x7fe637=void 0x0===_0x1c51b0?_0x3ee37f['len']:_0x3ee37f['pos']+_0x1c51b0,_0x5d65ca=new _0x416af3['CommentsV2AddCommentThreadResponse']();_0x3ee37f['pos']<_0x7fe637;){var _0x1a2978=_0x3ee37f['uint32']();if(_0x1a2978===_0x4bebdd)break;switch(_0x1a2978>>>0x3){case 0x1:_0x5d65ca['commentThreadId']=_0x3ee37f['string']();break;case 0x2:_0x5d65ca['createdAt']=_0x3ee37f['string']();break;case 0x3:_0x5d65ca['comments']&&_0x5d65ca['comments']['length']||(_0x5d65ca['comments']=[]),_0x5d65ca['comments']['push'](_0x416af3['CommentThreadAddedCommentDescriptor']['decode'](_0x3ee37f,_0x3ee37f['uint32']()));break;default:_0x3ee37f['skipType'](0x7&_0x1a2978);}}return _0x5d65ca;},_0x53e946['decodeDelimited']=function(_0x1064ff){return _0x1064ff instanceof _0x3dd834||(_0x1064ff=new _0x3dd834(_0x1064ff)),this['decode'](_0x1064ff,_0x1064ff['uint32']());},_0x53e946['verify']=function(_0x4bbc4b){if('object'!=typeof _0x4bbc4b||null===_0x4bbc4b)return'object\x20expected';if(null!=_0x4bbc4b['commentThreadId']&&_0x4bbc4b['hasOwnProperty']('commentThreadId')&&!_0xdeaf10['isString'](_0x4bbc4b['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x4bbc4b['createdAt']&&_0x4bbc4b['hasOwnProperty']('createdAt')&&!_0xdeaf10['isString'](_0x4bbc4b['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x4bbc4b['comments']&&_0x4bbc4b['hasOwnProperty']('comments')){if(!Array['isArray'](_0x4bbc4b['comments']))return'comments:\x20array\x20expected';for(var _0x3d128d=0x0;_0x3d128d<_0x4bbc4b['comments']['length'];++_0x3d128d){var _0x32ed7f=_0x416af3['CommentThreadAddedCommentDescriptor']['verify'](_0x4bbc4b['comments'][_0x3d128d]);if(_0x32ed7f)return'comments.'+_0x32ed7f;}}return null;},_0x53e946['fromObject']=function(_0xd0ab95){if(_0xd0ab95 instanceof _0x416af3['CommentsV2AddCommentThreadResponse'])return _0xd0ab95;var _0x3c395b=new _0x416af3['CommentsV2AddCommentThreadResponse']();if(null!=_0xd0ab95['commentThreadId']&&(_0x3c395b['commentThreadId']=String(_0xd0ab95['commentThreadId'])),null!=_0xd0ab95['createdAt']&&(_0x3c395b['createdAt']=String(_0xd0ab95['createdAt'])),_0xd0ab95['comments']){if(!Array['isArray'](_0xd0ab95['comments']))throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20array\x20expected');_0x3c395b['comments']=[];for(var _0x4279c2=0x0;_0x4279c2<_0xd0ab95['comments']['length'];++_0x4279c2){if('object'!=typeof _0xd0ab95['comments'][_0x4279c2])throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20object\x20expected');_0x3c395b['comments'][_0x4279c2]=_0x416af3['CommentThreadAddedCommentDescriptor']['fromObject'](_0xd0ab95['comments'][_0x4279c2]);}}return _0x3c395b;},_0x53e946['toObject']=function(_0x58f46a,_0x2d687c){_0x2d687c||(_0x2d687c={});var _0x5b1d89={};if((_0x2d687c['arrays']||_0x2d687c['defaults'])&&(_0x5b1d89['comments']=[]),_0x2d687c['defaults']&&(_0x5b1d89['commentThreadId']='',_0x5b1d89['createdAt']=''),null!=_0x58f46a['commentThreadId']&&_0x58f46a['hasOwnProperty']('commentThreadId')&&(_0x5b1d89['commentThreadId']=_0x58f46a['commentThreadId']),null!=_0x58f46a['createdAt']&&_0x58f46a['hasOwnProperty']('createdAt')&&(_0x5b1d89['createdAt']=_0x58f46a['createdAt']),_0x58f46a['comments']&&_0x58f46a['comments']['length']){_0x5b1d89['comments']=[];for(var _0x16c61e=0x0;_0x16c61e<_0x58f46a['comments']['length'];++_0x16c61e)_0x5b1d89['comments'][_0x16c61e]=_0x416af3['CommentThreadAddedCommentDescriptor']['toObject'](_0x58f46a['comments'][_0x16c61e],_0x2d687c);}return _0x5b1d89;},_0x53e946['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x53e946['getTypeUrl']=function(_0x78d6f9){return void 0x0===_0x78d6f9&&(_0x78d6f9='type.googleapis.com'),_0x78d6f9+'/CommentsV2AddCommentThreadResponse';},_0x53e946;}()),_0x416af3['CommentsV2UpdateCommentMessage']=(function(){function _0x417fed(_0x5b0797){if(_0x5b0797){for(var _0x22a091=Object['keys'](_0x5b0797),_0xa8f221=0x0;_0xa8f221<_0x22a091['length'];++_0xa8f221)null!=_0x5b0797[_0x22a091[_0xa8f221]]&&(this[_0x22a091[_0xa8f221]]=_0x5b0797[_0x22a091[_0xa8f221]]);}}return _0x417fed['prototype']['commentThreadId']='',_0x417fed['prototype']['commentId']='',_0x417fed['prototype']['content']='',_0x417fed['prototype']['documentId']='',_0x417fed['prototype']['attributes']='',_0x417fed['prototype']['isAttributesUpdated']=!0x1,_0x417fed['prototype']['commentThread']=null,_0x417fed['create']=function(_0x2e305f){return new _0x417fed(_0x2e305f);},_0x417fed['encode']=function(_0x1596a1,_0x211b79){return _0x211b79||(_0x211b79=_0x4ed70c['create']()),null!=_0x1596a1['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1596a1,'commentThreadId')&&_0x211b79['uint32'](0xa)['string'](_0x1596a1['commentThreadId']),null!=_0x1596a1['commentId']&&Object['hasOwnProperty']['call'](_0x1596a1,'commentId')&&_0x211b79['uint32'](0x12)['string'](_0x1596a1['commentId']),null!=_0x1596a1['content']&&Object['hasOwnProperty']['call'](_0x1596a1,'content')&&_0x211b79['uint32'](0x1a)['string'](_0x1596a1['content']),null!=_0x1596a1['documentId']&&Object['hasOwnProperty']['call'](_0x1596a1,'documentId')&&_0x211b79['uint32'](0x22)['string'](_0x1596a1['documentId']),null!=_0x1596a1['attributes']&&Object['hasOwnProperty']['call'](_0x1596a1,'attributes')&&_0x211b79['uint32'](0x2a)['string'](_0x1596a1['attributes']),null!=_0x1596a1['isAttributesUpdated']&&Object['hasOwnProperty']['call'](_0x1596a1,'isAttributesUpdated')&&_0x211b79['uint32'](0x30)['bool'](_0x1596a1['isAttributesUpdated']),null!=_0x1596a1['commentThread']&&Object['hasOwnProperty']['call'](_0x1596a1,'commentThread')&&_0x416af3['CommentsThreadDescriptor']['encode'](_0x1596a1['commentThread'],_0x211b79['uint32'](0x3a)['fork']())['ldelim'](),_0x211b79;},_0x417fed['encodeDelimited']=function(_0x2264ea,_0x26dce8){return this['encode'](_0x2264ea,_0x26dce8)['ldelim']();},_0x417fed['decode']=function(_0x58673c,_0x52faa5,_0xada956){_0x58673c instanceof _0x3dd834||(_0x58673c=_0x3dd834['create'](_0x58673c));for(var _0x2fc41a=void 0x0===_0x52faa5?_0x58673c['len']:_0x58673c['pos']+_0x52faa5,_0x3af9d2=new _0x416af3['CommentsV2UpdateCommentMessage']();_0x58673c['pos']<_0x2fc41a;){var _0x2bce59=_0x58673c['uint32']();if(_0x2bce59===_0xada956)break;switch(_0x2bce59>>>0x3){case 0x1:_0x3af9d2['commentThreadId']=_0x58673c['string']();break;case 0x2:_0x3af9d2['commentId']=_0x58673c['string']();break;case 0x3:_0x3af9d2['content']=_0x58673c['string']();break;case 0x4:_0x3af9d2['documentId']=_0x58673c['string']();break;case 0x5:_0x3af9d2['attributes']=_0x58673c['string']();break;case 0x6:_0x3af9d2['isAttributesUpdated']=_0x58673c['bool']();break;case 0x7:_0x3af9d2['commentThread']=_0x416af3['CommentsThreadDescriptor']['decode'](_0x58673c,_0x58673c['uint32']());break;default:_0x58673c['skipType'](0x7&_0x2bce59);}}return _0x3af9d2;},_0x417fed['decodeDelimited']=function(_0x149570){return _0x149570 instanceof _0x3dd834||(_0x149570=new _0x3dd834(_0x149570)),this['decode'](_0x149570,_0x149570['uint32']());},_0x417fed['verify']=function(_0x49baa0){if('object'!=typeof _0x49baa0||null===_0x49baa0)return'object\x20expected';if(null!=_0x49baa0['commentThreadId']&&_0x49baa0['hasOwnProperty']('commentThreadId')&&!_0xdeaf10['isString'](_0x49baa0['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x49baa0['commentId']&&_0x49baa0['hasOwnProperty']('commentId')&&!_0xdeaf10['isString'](_0x49baa0['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x49baa0['content']&&_0x49baa0['hasOwnProperty']('content')&&!_0xdeaf10['isString'](_0x49baa0['content']))return'content:\x20string\x20expected';if(null!=_0x49baa0['documentId']&&_0x49baa0['hasOwnProperty']('documentId')&&!_0xdeaf10['isString'](_0x49baa0['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x49baa0['attributes']&&_0x49baa0['hasOwnProperty']('attributes')&&!_0xdeaf10['isString'](_0x49baa0['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x49baa0['isAttributesUpdated']&&_0x49baa0['hasOwnProperty']('isAttributesUpdated')&&'boolean'!=typeof _0x49baa0['isAttributesUpdated'])return'isAttributesUpdated:\x20boolean\x20expected';if(null!=_0x49baa0['commentThread']&&_0x49baa0['hasOwnProperty']('commentThread')){var _0x54fe8e=_0x416af3['CommentsThreadDescriptor']['verify'](_0x49baa0['commentThread']);if(_0x54fe8e)return'commentThread.'+_0x54fe8e;}return null;},_0x417fed['fromObject']=function(_0x50612b){if(_0x50612b instanceof _0x416af3['CommentsV2UpdateCommentMessage'])return _0x50612b;var _0x479709=new _0x416af3['CommentsV2UpdateCommentMessage']();if(null!=_0x50612b['commentThreadId']&&(_0x479709['commentThreadId']=String(_0x50612b['commentThreadId'])),null!=_0x50612b['commentId']&&(_0x479709['commentId']=String(_0x50612b['commentId'])),null!=_0x50612b['content']&&(_0x479709['content']=String(_0x50612b['content'])),null!=_0x50612b['documentId']&&(_0x479709['documentId']=String(_0x50612b['documentId'])),null!=_0x50612b['attributes']&&(_0x479709['attributes']=String(_0x50612b['attributes'])),null!=_0x50612b['isAttributesUpdated']&&(_0x479709['isAttributesUpdated']=Boolean(_0x50612b['isAttributesUpdated'])),null!=_0x50612b['commentThread']){if('object'!=typeof _0x50612b['commentThread'])throw TypeError('.CommentsV2UpdateCommentMessage.commentThread:\x20object\x20expected');_0x479709['commentThread']=_0x416af3['CommentsThreadDescriptor']['fromObject'](_0x50612b['commentThread']);}return _0x479709;},_0x417fed['toObject']=function(_0x4bde5a,_0x1da74b){_0x1da74b||(_0x1da74b={});var _0x1d7dda={};return _0x1da74b['defaults']&&(_0x1d7dda['commentThreadId']='',_0x1d7dda['commentId']='',_0x1d7dda['content']='',_0x1d7dda['documentId']='',_0x1d7dda['attributes']='',_0x1d7dda['isAttributesUpdated']=!0x1,_0x1d7dda['commentThread']=null),null!=_0x4bde5a['commentThreadId']&&_0x4bde5a['hasOwnProperty']('commentThreadId')&&(_0x1d7dda['commentThreadId']=_0x4bde5a['commentThreadId']),null!=_0x4bde5a['commentId']&&_0x4bde5a['hasOwnProperty']('commentId')&&(_0x1d7dda['commentId']=_0x4bde5a['commentId']),null!=_0x4bde5a['content']&&_0x4bde5a['hasOwnProperty']('content')&&(_0x1d7dda['content']=_0x4bde5a['content']),null!=_0x4bde5a['documentId']&&_0x4bde5a['hasOwnProperty']('documentId')&&(_0x1d7dda['documentId']=_0x4bde5a['documentId']),null!=_0x4bde5a['attributes']&&_0x4bde5a['hasOwnProperty']('attributes')&&(_0x1d7dda['attributes']=_0x4bde5a['attributes']),null!=_0x4bde5a['isAttributesUpdated']&&_0x4bde5a['hasOwnProperty']('isAttributesUpdated')&&(_0x1d7dda['isAttributesUpdated']=_0x4bde5a['isAttributesUpdated']),null!=_0x4bde5a['commentThread']&&_0x4bde5a['hasOwnProperty']('commentThread')&&(_0x1d7dda['commentThread']=_0x416af3['CommentsThreadDescriptor']['toObject'](_0x4bde5a['commentThread'],_0x1da74b)),_0x1d7dda;},_0x417fed['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x417fed['getTypeUrl']=function(_0x19fb26){return void 0x0===_0x19fb26&&(_0x19fb26='type.googleapis.com'),_0x19fb26+'/CommentsV2UpdateCommentMessage';},_0x417fed;}()),_0x416af3['CommentsV2RemoveCommentThreadMessage']=(function(){function _0x5d4f38(_0x36ee81){if(_0x36ee81){for(var _0x72ef0f=Object['keys'](_0x36ee81),_0x5ea7a5=0x0;_0x5ea7a5<_0x72ef0f['length'];++_0x5ea7a5)null!=_0x36ee81[_0x72ef0f[_0x5ea7a5]]&&(this[_0x72ef0f[_0x5ea7a5]]=_0x36ee81[_0x72ef0f[_0x5ea7a5]]);}}return _0x5d4f38['prototype']['commentThreadId']='',_0x5d4f38['prototype']['documentId']='',_0x5d4f38['create']=function(_0x5931af){return new _0x5d4f38(_0x5931af);},_0x5d4f38['encode']=function(_0x287f0f,_0x52c1cf){return _0x52c1cf||(_0x52c1cf=_0x4ed70c['create']()),null!=_0x287f0f['commentThreadId']&&Object['hasOwnProperty']['call'](_0x287f0f,'commentThreadId')&&_0x52c1cf['uint32'](0xa)['string'](_0x287f0f['commentThreadId']),null!=_0x287f0f['documentId']&&Object['hasOwnProperty']['call'](_0x287f0f,'documentId')&&_0x52c1cf['uint32'](0x12)['string'](_0x287f0f['documentId']),_0x52c1cf;},_0x5d4f38['encodeDelimited']=function(_0x372538,_0x38ec53){return this['encode'](_0x372538,_0x38ec53)['ldelim']();},_0x5d4f38['decode']=function(_0x5c4363,_0x15e870,_0x534aba){_0x5c4363 instanceof _0x3dd834||(_0x5c4363=_0x3dd834['create'](_0x5c4363));for(var _0x166e5d=void 0x0===_0x15e870?_0x5c4363['len']:_0x5c4363['pos']+_0x15e870,_0xefa025=new _0x416af3['CommentsV2RemoveCommentThreadMessage']();_0x5c4363['pos']<_0x166e5d;){var _0x342470=_0x5c4363['uint32']();if(_0x342470===_0x534aba)break;switch(_0x342470>>>0x3){case 0x1:_0xefa025['commentThreadId']=_0x5c4363['string']();break;case 0x2:_0xefa025['documentId']=_0x5c4363['string']();break;default:_0x5c4363['skipType'](0x7&_0x342470);}}return _0xefa025;},_0x5d4f38['decodeDelimited']=function(_0x48a35d){return _0x48a35d instanceof _0x3dd834||(_0x48a35d=new _0x3dd834(_0x48a35d)),this['decode'](_0x48a35d,_0x48a35d['uint32']());},_0x5d4f38['verify']=function(_0x414782){return'object'!=typeof _0x414782||null===_0x414782?'object\x20expected':null!=_0x414782['commentThreadId']&&_0x414782['hasOwnProperty']('commentThreadId')&&!_0xdeaf10['isString'](_0x414782['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x414782['documentId']&&_0x414782['hasOwnProperty']('documentId')&&!_0xdeaf10['isString'](_0x414782['documentId'])?'documentId:\x20string\x20expected':null;},_0x5d4f38['fromObject']=function(_0x43aa38){if(_0x43aa38 instanceof _0x416af3['CommentsV2RemoveCommentThreadMessage'])return _0x43aa38;var _0x5bda17=new _0x416af3['CommentsV2RemoveCommentThreadMessage']();return null!=_0x43aa38['commentThreadId']&&(_0x5bda17['commentThreadId']=String(_0x43aa38['commentThreadId'])),null!=_0x43aa38['documentId']&&(_0x5bda17['documentId']=String(_0x43aa38['documentId'])),_0x5bda17;},_0x5d4f38['toObject']=function(_0x5e9310,_0x596694){_0x596694||(_0x596694={});var _0xad38ab={};return _0x596694['defaults']&&(_0xad38ab['commentThreadId']='',_0xad38ab['documentId']=''),null!=_0x5e9310['commentThreadId']&&_0x5e9310['hasOwnProperty']('commentThreadId')&&(_0xad38ab['commentThreadId']=_0x5e9310['commentThreadId']),null!=_0x5e9310['documentId']&&_0x5e9310['hasOwnProperty']('documentId')&&(_0xad38ab['documentId']=_0x5e9310['documentId']),_0xad38ab;},_0x5d4f38['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5d4f38['getTypeUrl']=function(_0x3bd70a){return void 0x0===_0x3bd70a&&(_0x3bd70a='type.googleapis.com'),_0x3bd70a+'/CommentsV2RemoveCommentThreadMessage';},_0x5d4f38;}()),_0x416af3['CommentsV2RemoveCommentMessage']=(function(){function _0x3c4ffe(_0x3d9f4f){if(_0x3d9f4f){for(var _0x4220d3=Object['keys'](_0x3d9f4f),_0x34783e=0x0;_0x34783e<_0x4220d3['length'];++_0x34783e)null!=_0x3d9f4f[_0x4220d3[_0x34783e]]&&(this[_0x4220d3[_0x34783e]]=_0x3d9f4f[_0x4220d3[_0x34783e]]);}}return _0x3c4ffe['prototype']['commentThreadId']='',_0x3c4ffe['prototype']['commentId']='',_0x3c4ffe['prototype']['documentId']='',_0x3c4ffe['create']=function(_0x5e5117){return new _0x3c4ffe(_0x5e5117);},_0x3c4ffe['encode']=function(_0x1ba8ec,_0x5ab796){return _0x5ab796||(_0x5ab796=_0x4ed70c['create']()),null!=_0x1ba8ec['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1ba8ec,'commentThreadId')&&_0x5ab796['uint32'](0xa)['string'](_0x1ba8ec['commentThreadId']),null!=_0x1ba8ec['commentId']&&Object['hasOwnProperty']['call'](_0x1ba8ec,'commentId')&&_0x5ab796['uint32'](0x12)['string'](_0x1ba8ec['commentId']),null!=_0x1ba8ec['documentId']&&Object['hasOwnProperty']['call'](_0x1ba8ec,'documentId')&&_0x5ab796['uint32'](0x1a)['string'](_0x1ba8ec['documentId']),_0x5ab796;},_0x3c4ffe['encodeDelimited']=function(_0x1a8624,_0x56b5bc){return this['encode'](_0x1a8624,_0x56b5bc)['ldelim']();},_0x3c4ffe['decode']=function(_0x402262,_0x485b1d,_0x568d53){_0x402262 instanceof _0x3dd834||(_0x402262=_0x3dd834['create'](_0x402262));for(var _0x1405a1=void 0x0===_0x485b1d?_0x402262['len']:_0x402262['pos']+_0x485b1d,_0x55b9a8=new _0x416af3['CommentsV2RemoveCommentMessage']();_0x402262['pos']<_0x1405a1;){var _0xb6a403=_0x402262['uint32']();if(_0xb6a403===_0x568d53)break;switch(_0xb6a403>>>0x3){case 0x1:_0x55b9a8['commentThreadId']=_0x402262['string']();break;case 0x2:_0x55b9a8['commentId']=_0x402262['string']();break;case 0x3:_0x55b9a8['documentId']=_0x402262['string']();break;default:_0x402262['skipType'](0x7&_0xb6a403);}}return _0x55b9a8;},_0x3c4ffe['decodeDelimited']=function(_0x3478e5){return _0x3478e5 instanceof _0x3dd834||(_0x3478e5=new _0x3dd834(_0x3478e5)),this['decode'](_0x3478e5,_0x3478e5['uint32']());},_0x3c4ffe['verify']=function(_0x366a73){return'object'!=typeof _0x366a73||null===_0x366a73?'object\x20expected':null!=_0x366a73['commentThreadId']&&_0x366a73['hasOwnProperty']('commentThreadId')&&!_0xdeaf10['isString'](_0x366a73['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x366a73['commentId']&&_0x366a73['hasOwnProperty']('commentId')&&!_0xdeaf10['isString'](_0x366a73['commentId'])?'commentId:\x20string\x20expected':null!=_0x366a73['documentId']&&_0x366a73['hasOwnProperty']('documentId')&&!_0xdeaf10['isString'](_0x366a73['documentId'])?'documentId:\x20string\x20expected':null;},_0x3c4ffe['fromObject']=function(_0x2c3a1d){if(_0x2c3a1d instanceof _0x416af3['CommentsV2RemoveCommentMessage'])return _0x2c3a1d;var _0x5807e4=new _0x416af3['CommentsV2RemoveCommentMessage']();return null!=_0x2c3a1d['commentThreadId']&&(_0x5807e4['commentThreadId']=String(_0x2c3a1d['commentThreadId'])),null!=_0x2c3a1d['commentId']&&(_0x5807e4['commentId']=String(_0x2c3a1d['commentId'])),null!=_0x2c3a1d['documentId']&&(_0x5807e4['documentId']=String(_0x2c3a1d['documentId'])),_0x5807e4;},_0x3c4ffe['toObject']=function(_0x809077,_0x5d2b94){_0x5d2b94||(_0x5d2b94={});var _0x5782b2={};return _0x5d2b94['defaults']&&(_0x5782b2['commentThreadId']='',_0x5782b2['commentId']='',_0x5782b2['documentId']=''),null!=_0x809077['commentThreadId']&&_0x809077['hasOwnProperty']('commentThreadId')&&(_0x5782b2['commentThreadId']=_0x809077['commentThreadId']),null!=_0x809077['commentId']&&_0x809077['hasOwnProperty']('commentId')&&(_0x5782b2['commentId']=_0x809077['commentId']),null!=_0x809077['documentId']&&_0x809077['hasOwnProperty']('documentId')&&(_0x5782b2['documentId']=_0x809077['documentId']),_0x5782b2;},_0x3c4ffe['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3c4ffe['getTypeUrl']=function(_0x10986b){return void 0x0===_0x10986b&&(_0x10986b='type.googleapis.com'),_0x10986b+'/CommentsV2RemoveCommentMessage';},_0x3c4ffe;}()),_0x416af3['CommentsV2GetDocumentThreadsMessage']=(function(){function _0x33c9f9(_0x2b6de3){if(_0x2b6de3){for(var _0x5d3524=Object['keys'](_0x2b6de3),_0x5e8aee=0x0;_0x5e8aee<_0x5d3524['length'];++_0x5e8aee)null!=_0x2b6de3[_0x5d3524[_0x5e8aee]]&&(this[_0x5d3524[_0x5e8aee]]=_0x2b6de3[_0x5d3524[_0x5e8aee]]);}}return _0x33c9f9['prototype']['documentId']='',_0x33c9f9['create']=function(_0x2dde84){return new _0x33c9f9(_0x2dde84);},_0x33c9f9['encode']=function(_0x23861c,_0x4ab642){return _0x4ab642||(_0x4ab642=_0x4ed70c['create']()),null!=_0x23861c['documentId']&&Object['hasOwnProperty']['call'](_0x23861c,'documentId')&&_0x4ab642['uint32'](0xa)['string'](_0x23861c['documentId']),_0x4ab642;},_0x33c9f9['encodeDelimited']=function(_0x2afcbb,_0x1783c0){return this['encode'](_0x2afcbb,_0x1783c0)['ldelim']();},_0x33c9f9['decode']=function(_0x4e4c0c,_0x15964f,_0x2c1c64){_0x4e4c0c instanceof _0x3dd834||(_0x4e4c0c=_0x3dd834['create'](_0x4e4c0c));for(var _0xf7412d=void 0x0===_0x15964f?_0x4e4c0c['len']:_0x4e4c0c['pos']+_0x15964f,_0x2a6579=new _0x416af3['CommentsV2GetDocumentThreadsMessage']();_0x4e4c0c['pos']<_0xf7412d;){var _0x2ca002=_0x4e4c0c['uint32']();if(_0x2ca002===_0x2c1c64)break;_0x2ca002>>>0x3==0x1?_0x2a6579['documentId']=_0x4e4c0c['string']():_0x4e4c0c['skipType'](0x7&_0x2ca002);}return _0x2a6579;},_0x33c9f9['decodeDelimited']=function(_0x21e622){return _0x21e622 instanceof _0x3dd834||(_0x21e622=new _0x3dd834(_0x21e622)),this['decode'](_0x21e622,_0x21e622['uint32']());},_0x33c9f9['verify']=function(_0x20c7aa){return'object'!=typeof _0x20c7aa||null===_0x20c7aa?'object\x20expected':null!=_0x20c7aa['documentId']&&_0x20c7aa['hasOwnProperty']('documentId')&&!_0xdeaf10['isString'](_0x20c7aa['documentId'])?'documentId:\x20string\x20expected':null;},_0x33c9f9['fromObject']=function(_0x25a8b5){if(_0x25a8b5 instanceof _0x416af3['CommentsV2GetDocumentThreadsMessage'])return _0x25a8b5;var _0x383dd0=new _0x416af3['CommentsV2GetDocumentThreadsMessage']();return null!=_0x25a8b5['documentId']&&(_0x383dd0['documentId']=String(_0x25a8b5['documentId'])),_0x383dd0;},_0x33c9f9['toObject']=function(_0x1c0093,_0xe10240){_0xe10240||(_0xe10240={});var _0x17437f={};return _0xe10240['defaults']&&(_0x17437f['documentId']=''),null!=_0x1c0093['documentId']&&_0x1c0093['hasOwnProperty']('documentId')&&(_0x17437f['documentId']=_0x1c0093['documentId']),_0x17437f;},_0x33c9f9['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x33c9f9['getTypeUrl']=function(_0xe80d0f){return void 0x0===_0xe80d0f&&(_0xe80d0f='type.googleapis.com'),_0xe80d0f+'/CommentsV2GetDocumentThreadsMessage';},_0x33c9f9;}()),_0x416af3['CommentsV2GetCommentThreadMessage']=(function(){function _0x381c6b(_0x301f66){if(_0x301f66){for(var _0x411846=Object['keys'](_0x301f66),_0x1004fd=0x0;_0x1004fd<_0x411846['length'];++_0x1004fd)null!=_0x301f66[_0x411846[_0x1004fd]]&&(this[_0x411846[_0x1004fd]]=_0x301f66[_0x411846[_0x1004fd]]);}}return _0x381c6b['prototype']['commentThreadId']='',_0x381c6b['prototype']['documentId']='',_0x381c6b['create']=function(_0xed685){return new _0x381c6b(_0xed685);},_0x381c6b['encode']=function(_0x4256f6,_0x534343){return _0x534343||(_0x534343=_0x4ed70c['create']()),null!=_0x4256f6['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4256f6,'commentThreadId')&&_0x534343['uint32'](0xa)['string'](_0x4256f6['commentThreadId']),null!=_0x4256f6['documentId']&&Object['hasOwnProperty']['call'](_0x4256f6,'documentId')&&_0x534343['uint32'](0x12)['string'](_0x4256f6['documentId']),_0x534343;},_0x381c6b['encodeDelimited']=function(_0x43be47,_0x2b8ad6){return this['encode'](_0x43be47,_0x2b8ad6)['ldelim']();},_0x381c6b['decode']=function(_0x38fcf1,_0x5b9a22,_0x5fba03){_0x38fcf1 instanceof _0x3dd834||(_0x38fcf1=_0x3dd834['create'](_0x38fcf1));for(var _0x2b603e=void 0x0===_0x5b9a22?_0x38fcf1['len']:_0x38fcf1['pos']+_0x5b9a22,_0x255dd2=new _0x416af3['CommentsV2GetCommentThreadMessage']();_0x38fcf1['pos']<_0x2b603e;){var _0x220e43=_0x38fcf1['uint32']();if(_0x220e43===_0x5fba03)break;switch(_0x220e43>>>0x3){case 0x1:_0x255dd2['commentThreadId']=_0x38fcf1['string']();break;case 0x2:_0x255dd2['documentId']=_0x38fcf1['string']();break;default:_0x38fcf1['skipType'](0x7&_0x220e43);}}return _0x255dd2;},_0x381c6b['decodeDelimited']=function(_0xf4a5fd){return _0xf4a5fd instanceof _0x3dd834||(_0xf4a5fd=new _0x3dd834(_0xf4a5fd)),this['decode'](_0xf4a5fd,_0xf4a5fd['uint32']());},_0x381c6b['verify']=function(_0x3d193b){return'object'!=typeof _0x3d193b||null===_0x3d193b?'object\x20expected':null!=_0x3d193b['commentThreadId']&&_0x3d193b['hasOwnProperty']('commentThreadId')&&!_0xdeaf10['isString'](_0x3d193b['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x3d193b['documentId']&&_0x3d193b['hasOwnProperty']('documentId')&&!_0xdeaf10['isString'](_0x3d193b['documentId'])?'documentId:\x20string\x20expected':null;},_0x381c6b['fromObject']=function(_0x37e0de){if(_0x37e0de instanceof _0x416af3['CommentsV2GetCommentThreadMessage'])return _0x37e0de;var _0x322487=new _0x416af3['CommentsV2GetCommentThreadMessage']();return null!=_0x37e0de['commentThreadId']&&(_0x322487['commentThreadId']=String(_0x37e0de['commentThreadId'])),null!=_0x37e0de['documentId']&&(_0x322487['documentId']=String(_0x37e0de['documentId'])),_0x322487;},_0x381c6b['toObject']=function(_0x21ca47,_0x222ee3){_0x222ee3||(_0x222ee3={});var _0x4a95b4={};return _0x222ee3['defaults']&&(_0x4a95b4['commentThreadId']='',_0x4a95b4['documentId']=''),null!=_0x21ca47['commentThreadId']&&_0x21ca47['hasOwnProperty']('commentThreadId')&&(_0x4a95b4['commentThreadId']=_0x21ca47['commentThreadId']),null!=_0x21ca47['documentId']&&_0x21ca47['hasOwnProperty']('documentId')&&(_0x4a95b4['documentId']=_0x21ca47['documentId']),_0x4a95b4;},_0x381c6b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x381c6b['getTypeUrl']=function(_0x5c1c22){return void 0x0===_0x5c1c22&&(_0x5c1c22='type.googleapis.com'),_0x5c1c22+'/CommentsV2GetCommentThreadMessage';},_0x381c6b;}()),_0x416af3['CommentsV2ConnectMessage']=(function(){function _0x4321cb(_0x8b4b7f){if(_0x8b4b7f){for(var _0x1b38a8=Object['keys'](_0x8b4b7f),_0x373271=0x0;_0x373271<_0x1b38a8['length'];++_0x373271)null!=_0x8b4b7f[_0x1b38a8[_0x373271]]&&(this[_0x1b38a8[_0x373271]]=_0x8b4b7f[_0x1b38a8[_0x373271]]);}}return _0x4321cb['prototype']['documentId']='',_0x4321cb['create']=function(_0x189d50){return new _0x4321cb(_0x189d50);},_0x4321cb['encode']=function(_0x58c79e,_0x47b0a2){return _0x47b0a2||(_0x47b0a2=_0x4ed70c['create']()),null!=_0x58c79e['documentId']&&Object['hasOwnProperty']['call'](_0x58c79e,'documentId')&&_0x47b0a2['uint32'](0xa)['string'](_0x58c79e['documentId']),_0x47b0a2;},_0x4321cb['encodeDelimited']=function(_0xb93806,_0x5572a1){return this['encode'](_0xb93806,_0x5572a1)['ldelim']();},_0x4321cb['decode']=function(_0x4fd570,_0x24517b,_0x10613c){_0x4fd570 instanceof _0x3dd834||(_0x4fd570=_0x3dd834['create'](_0x4fd570));for(var _0x233624=void 0x0===_0x24517b?_0x4fd570['len']:_0x4fd570['pos']+_0x24517b,_0x119d1c=new _0x416af3['CommentsV2ConnectMessage']();_0x4fd570['pos']<_0x233624;){var _0x4158a1=_0x4fd570['uint32']();if(_0x4158a1===_0x10613c)break;_0x4158a1>>>0x3==0x1?_0x119d1c['documentId']=_0x4fd570['string']():_0x4fd570['skipType'](0x7&_0x4158a1);}return _0x119d1c;},_0x4321cb['decodeDelimited']=function(_0x3259ff){return _0x3259ff instanceof _0x3dd834||(_0x3259ff=new _0x3dd834(_0x3259ff)),this['decode'](_0x3259ff,_0x3259ff['uint32']());},_0x4321cb['verify']=function(_0x4c09ed){return'object'!=typeof _0x4c09ed||null===_0x4c09ed?'object\x20expected':null!=_0x4c09ed['documentId']&&_0x4c09ed['hasOwnProperty']('documentId')&&!_0xdeaf10['isString'](_0x4c09ed['documentId'])?'documentId:\x20string\x20expected':null;},_0x4321cb['fromObject']=function(_0x2e2e9d){if(_0x2e2e9d instanceof _0x416af3['CommentsV2ConnectMessage'])return _0x2e2e9d;var _0x5c793e=new _0x416af3['CommentsV2ConnectMessage']();return null!=_0x2e2e9d['documentId']&&(_0x5c793e['documentId']=String(_0x2e2e9d['documentId'])),_0x5c793e;},_0x4321cb['toObject']=function(_0x4b2f05,_0x36534a){_0x36534a||(_0x36534a={});var _0x258d2f={};return _0x36534a['defaults']&&(_0x258d2f['documentId']=''),null!=_0x4b2f05['documentId']&&_0x4b2f05['hasOwnProperty']('documentId')&&(_0x258d2f['documentId']=_0x4b2f05['documentId']),_0x258d2f;},_0x4321cb['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4321cb['getTypeUrl']=function(_0x16c023){return void 0x0===_0x16c023&&(_0x16c023='type.googleapis.com'),_0x16c023+'/CommentsV2ConnectMessage';},_0x4321cb;}()),_0x416af3['CommentsV2AddCommentMessage']=(function(){function _0x582d64(_0x3ed06b){if(_0x3ed06b){for(var _0x5be2cc=Object['keys'](_0x3ed06b),_0x4b1bb1=0x0;_0x4b1bb1<_0x5be2cc['length'];++_0x4b1bb1)null!=_0x3ed06b[_0x5be2cc[_0x4b1bb1]]&&(this[_0x5be2cc[_0x4b1bb1]]=_0x3ed06b[_0x5be2cc[_0x4b1bb1]]);}}return _0x582d64['prototype']['commentThreadId']='',_0x582d64['prototype']['content']='',_0x582d64['prototype']['documentId']='',_0x582d64['prototype']['commentId']='',_0x582d64['prototype']['createdAt']='',_0x582d64['prototype']['userId']='',_0x582d64['prototype']['attributes']='',_0x582d64['prototype']['commentThread']=null,_0x582d64['create']=function(_0x3590b2){return new _0x582d64(_0x3590b2);},_0x582d64['encode']=function(_0x4f3e8e,_0x1bc7b5){return _0x1bc7b5||(_0x1bc7b5=_0x4ed70c['create']()),null!=_0x4f3e8e['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4f3e8e,'commentThreadId')&&_0x1bc7b5['uint32'](0xa)['string'](_0x4f3e8e['commentThreadId']),null!=_0x4f3e8e['content']&&Object['hasOwnProperty']['call'](_0x4f3e8e,'content')&&_0x1bc7b5['uint32'](0x12)['string'](_0x4f3e8e['content']),null!=_0x4f3e8e['documentId']&&Object['hasOwnProperty']['call'](_0x4f3e8e,'documentId')&&_0x1bc7b5['uint32'](0x1a)['string'](_0x4f3e8e['documentId']),null!=_0x4f3e8e['commentId']&&Object['hasOwnProperty']['call'](_0x4f3e8e,'commentId')&&_0x1bc7b5['uint32'](0x22)['string'](_0x4f3e8e['commentId']),null!=_0x4f3e8e['createdAt']&&Object['hasOwnProperty']['call'](_0x4f3e8e,'createdAt')&&_0x1bc7b5['uint32'](0x2a)['string'](_0x4f3e8e['createdAt']),null!=_0x4f3e8e['userId']&&Object['hasOwnProperty']['call'](_0x4f3e8e,'userId')&&_0x1bc7b5['uint32'](0x32)['string'](_0x4f3e8e['userId']),null!=_0x4f3e8e['attributes']&&Object['hasOwnProperty']['call'](_0x4f3e8e,'attributes')&&_0x1bc7b5['uint32'](0x3a)['string'](_0x4f3e8e['attributes']),null!=_0x4f3e8e['commentThread']&&Object['hasOwnProperty']['call'](_0x4f3e8e,'commentThread')&&_0x416af3['CommentsThreadDescriptor']['encode'](_0x4f3e8e['commentThread'],_0x1bc7b5['uint32'](0x42)['fork']())['ldelim'](),_0x1bc7b5;},_0x582d64['encodeDelimited']=function(_0x4a4aeb,_0x4cee08){return this['encode'](_0x4a4aeb,_0x4cee08)['ldelim']();},_0x582d64['decode']=function(_0x5cd4b9,_0x10b4b7,_0x3d8429){_0x5cd4b9 instanceof _0x3dd834||(_0x5cd4b9=_0x3dd834['create'](_0x5cd4b9));for(var _0x45cdfe=void 0x0===_0x10b4b7?_0x5cd4b9['len']:_0x5cd4b9['pos']+_0x10b4b7,_0x3ec862=new _0x416af3['CommentsV2AddCommentMessage']();_0x5cd4b9['pos']<_0x45cdfe;){var _0xeb3790=_0x5cd4b9['uint32']();if(_0xeb3790===_0x3d8429)break;switch(_0xeb3790>>>0x3){case 0x1:_0x3ec862['commentThreadId']=_0x5cd4b9['string']();break;case 0x2:_0x3ec862['content']=_0x5cd4b9['string']();break;case 0x3:_0x3ec862['documentId']=_0x5cd4b9['string']();break;case 0x4:_0x3ec862['commentId']=_0x5cd4b9['string']();break;case 0x5:_0x3ec862['createdAt']=_0x5cd4b9['string']();break;case 0x6:_0x3ec862['userId']=_0x5cd4b9['string']();break;case 0x7:_0x3ec862['attributes']=_0x5cd4b9['string']();break;case 0x8:_0x3ec862['commentThread']=_0x416af3['CommentsThreadDescriptor']['decode'](_0x5cd4b9,_0x5cd4b9['uint32']());break;default:_0x5cd4b9['skipType'](0x7&_0xeb3790);}}return _0x3ec862;},_0x582d64['decodeDelimited']=function(_0x1c7f38){return _0x1c7f38 instanceof _0x3dd834||(_0x1c7f38=new _0x3dd834(_0x1c7f38)),this['decode'](_0x1c7f38,_0x1c7f38['uint32']());},_0x582d64['verify']=function(_0x4d5337){if('object'!=typeof _0x4d5337||null===_0x4d5337)return'object\x20expected';if(null!=_0x4d5337['commentThreadId']&&_0x4d5337['hasOwnProperty']('commentThreadId')&&!_0xdeaf10['isString'](_0x4d5337['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x4d5337['content']&&_0x4d5337['hasOwnProperty']('content')&&!_0xdeaf10['isString'](_0x4d5337['content']))return'content:\x20string\x20expected';if(null!=_0x4d5337['documentId']&&_0x4d5337['hasOwnProperty']('documentId')&&!_0xdeaf10['isString'](_0x4d5337['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x4d5337['commentId']&&_0x4d5337['hasOwnProperty']('commentId')&&!_0xdeaf10['isString'](_0x4d5337['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x4d5337['createdAt']&&_0x4d5337['hasOwnProperty']('createdAt')&&!_0xdeaf10['isString'](_0x4d5337['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x4d5337['userId']&&_0x4d5337['hasOwnProperty']('userId')&&!_0xdeaf10['isString'](_0x4d5337['userId']))return'userId:\x20string\x20expected';if(null!=_0x4d5337['attributes']&&_0x4d5337['hasOwnProperty']('attributes')&&!_0xdeaf10['isString'](_0x4d5337['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x4d5337['commentThread']&&_0x4d5337['hasOwnProperty']('commentThread')){var _0xd12c8d=_0x416af3['CommentsThreadDescriptor']['verify'](_0x4d5337['commentThread']);if(_0xd12c8d)return'commentThread.'+_0xd12c8d;}return null;},_0x582d64['fromObject']=function(_0x3a42a2){if(_0x3a42a2 instanceof _0x416af3['CommentsV2AddCommentMessage'])return _0x3a42a2;var _0x3fd963=new _0x416af3['CommentsV2AddCommentMessage']();if(null!=_0x3a42a2['commentThreadId']&&(_0x3fd963['commentThreadId']=String(_0x3a42a2['commentThreadId'])),null!=_0x3a42a2['content']&&(_0x3fd963['content']=String(_0x3a42a2['content'])),null!=_0x3a42a2['documentId']&&(_0x3fd963['documentId']=String(_0x3a42a2['documentId'])),null!=_0x3a42a2['commentId']&&(_0x3fd963['commentId']=String(_0x3a42a2['commentId'])),null!=_0x3a42a2['createdAt']&&(_0x3fd963['createdAt']=String(_0x3a42a2['createdAt'])),null!=_0x3a42a2['userId']&&(_0x3fd963['userId']=String(_0x3a42a2['userId'])),null!=_0x3a42a2['attributes']&&(_0x3fd963['attributes']=String(_0x3a42a2['attributes'])),null!=_0x3a42a2['commentThread']){if('object'!=typeof _0x3a42a2['commentThread'])throw TypeError('.CommentsV2AddCommentMessage.commentThread:\x20object\x20expected');_0x3fd963['commentThread']=_0x416af3['CommentsThreadDescriptor']['fromObject'](_0x3a42a2['commentThread']);}return _0x3fd963;},_0x582d64['toObject']=function(_0x3de2a4,_0x5d4a11){_0x5d4a11||(_0x5d4a11={});var _0x424506={};return _0x5d4a11['defaults']&&(_0x424506['commentThreadId']='',_0x424506['content']='',_0x424506['documentId']='',_0x424506['commentId']='',_0x424506['createdAt']='',_0x424506['userId']='',_0x424506['attributes']='',_0x424506['commentThread']=null),null!=_0x3de2a4['commentThreadId']&&_0x3de2a4['hasOwnProperty']('commentThreadId')&&(_0x424506['commentThreadId']=_0x3de2a4['commentThreadId']),null!=_0x3de2a4['content']&&_0x3de2a4['hasOwnProperty']('content')&&(_0x424506['content']=_0x3de2a4['content']),null!=_0x3de2a4['documentId']&&_0x3de2a4['hasOwnProperty']('documentId')&&(_0x424506['documentId']=_0x3de2a4['documentId']),null!=_0x3de2a4['commentId']&&_0x3de2a4['hasOwnProperty']('commentId')&&(_0x424506['commentId']=_0x3de2a4['commentId']),null!=_0x3de2a4['createdAt']&&_0x3de2a4['hasOwnProperty']('createdAt')&&(_0x424506['createdAt']=_0x3de2a4['createdAt']),null!=_0x3de2a4['userId']&&_0x3de2a4['hasOwnProperty']('userId')&&(_0x424506['userId']=_0x3de2a4['userId']),null!=_0x3de2a4['attributes']&&_0x3de2a4['hasOwnProperty']('attributes')&&(_0x424506['attributes']=_0x3de2a4['attributes']),null!=_0x3de2a4['commentThread']&&_0x3de2a4['hasOwnProperty']('commentThread')&&(_0x424506['commentThread']=_0x416af3['CommentsThreadDescriptor']['toObject'](_0x3de2a4['commentThread'],_0x5d4a11)),_0x424506;},_0x582d64['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x582d64['getTypeUrl']=function(_0x3a6641){return void 0x0===_0x3a6641&&(_0x3a6641='type.googleapis.com'),_0x3a6641+'/CommentsV2AddCommentMessage';},_0x582d64;}()),_0x416af3['CommentsV2UpdateCommentThreadMessage']=(function(){function _0x1adc46(_0x312121){if(_0x312121){for(var _0x53bf71=Object['keys'](_0x312121),_0x380c92=0x0;_0x380c92<_0x53bf71['length'];++_0x380c92)null!=_0x312121[_0x53bf71[_0x380c92]]&&(this[_0x53bf71[_0x380c92]]=_0x312121[_0x53bf71[_0x380c92]]);}}return _0x1adc46['prototype']['commentThreadId']='',_0x1adc46['prototype']['documentId']='',_0x1adc46['prototype']['context']='',_0x1adc46['prototype']['attributes']='',_0x1adc46['prototype']['unlinkedAt']='',_0x1adc46['create']=function(_0x6a58ac){return new _0x1adc46(_0x6a58ac);},_0x1adc46['encode']=function(_0x3eabe7,_0x1024a0){return _0x1024a0||(_0x1024a0=_0x4ed70c['create']()),null!=_0x3eabe7['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3eabe7,'commentThreadId')&&_0x1024a0['uint32'](0xa)['string'](_0x3eabe7['commentThreadId']),null!=_0x3eabe7['documentId']&&Object['hasOwnProperty']['call'](_0x3eabe7,'documentId')&&_0x1024a0['uint32'](0x12)['string'](_0x3eabe7['documentId']),null!=_0x3eabe7['context']&&Object['hasOwnProperty']['call'](_0x3eabe7,'context')&&_0x1024a0['uint32'](0x1a)['string'](_0x3eabe7['context']),null!=_0x3eabe7['attributes']&&Object['hasOwnProperty']['call'](_0x3eabe7,'attributes')&&_0x1024a0['uint32'](0x22)['string'](_0x3eabe7['attributes']),null!=_0x3eabe7['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x3eabe7,'unlinkedAt')&&_0x1024a0['uint32'](0x2a)['string'](_0x3eabe7['unlinkedAt']),_0x1024a0;},_0x1adc46['encodeDelimited']=function(_0x23ccea,_0x58ddd0){return this['encode'](_0x23ccea,_0x58ddd0)['ldelim']();},_0x1adc46['decode']=function(_0x3ad1d6,_0x5cc722,_0x516da3){_0x3ad1d6 instanceof _0x3dd834||(_0x3ad1d6=_0x3dd834['create'](_0x3ad1d6));for(var _0x51a25d=void 0x0===_0x5cc722?_0x3ad1d6['len']:_0x3ad1d6['pos']+_0x5cc722,_0xad8d7b=new _0x416af3['CommentsV2UpdateCommentThreadMessage']();_0x3ad1d6['pos']<_0x51a25d;){var _0x586ef6=_0x3ad1d6['uint32']();if(_0x586ef6===_0x516da3)break;switch(_0x586ef6>>>0x3){case 0x1:_0xad8d7b['commentThreadId']=_0x3ad1d6['string']();break;case 0x2:_0xad8d7b['documentId']=_0x3ad1d6['string']();break;case 0x3:_0xad8d7b['context']=_0x3ad1d6['string']();break;case 0x4:_0xad8d7b['attributes']=_0x3ad1d6['string']();break;case 0x5:_0xad8d7b['unlinkedAt']=_0x3ad1d6['string']();break;default:_0x3ad1d6['skipType'](0x7&_0x586ef6);}}return _0xad8d7b;},_0x1adc46['decodeDelimited']=function(_0x3b8908){return _0x3b8908 instanceof _0x3dd834||(_0x3b8908=new _0x3dd834(_0x3b8908)),this['decode'](_0x3b8908,_0x3b8908['uint32']());},_0x1adc46['verify']=function(_0x1e00e3){return'object'!=typeof _0x1e00e3||null===_0x1e00e3?'object\x20expected':null!=_0x1e00e3['commentThreadId']&&_0x1e00e3['hasOwnProperty']('commentThreadId')&&!_0xdeaf10['isString'](_0x1e00e3['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x1e00e3['documentId']&&_0x1e00e3['hasOwnProperty']('documentId')&&!_0xdeaf10['isString'](_0x1e00e3['documentId'])?'documentId:\x20string\x20expected':null!=_0x1e00e3['context']&&_0x1e00e3['hasOwnProperty']('context')&&!_0xdeaf10['isString'](_0x1e00e3['context'])?'context:\x20string\x20expected':null!=_0x1e00e3['attributes']&&_0x1e00e3['hasOwnProperty']('attributes')&&!_0xdeaf10['isString'](_0x1e00e3['attributes'])?'attributes:\x20string\x20expected':null!=_0x1e00e3['unlinkedAt']&&_0x1e00e3['hasOwnProperty']('unlinkedAt')&&!_0xdeaf10['isString'](_0x1e00e3['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x1adc46['fromObject']=function(_0x34d16b){if(_0x34d16b instanceof _0x416af3['CommentsV2UpdateCommentThreadMessage'])return _0x34d16b;var _0x4b7fc5=new _0x416af3['CommentsV2UpdateCommentThreadMessage']();return null!=_0x34d16b['commentThreadId']&&(_0x4b7fc5['commentThreadId']=String(_0x34d16b['commentThreadId'])),null!=_0x34d16b['documentId']&&(_0x4b7fc5['documentId']=String(_0x34d16b['documentId'])),null!=_0x34d16b['context']&&(_0x4b7fc5['context']=String(_0x34d16b['context'])),null!=_0x34d16b['attributes']&&(_0x4b7fc5['attributes']=String(_0x34d16b['attributes'])),null!=_0x34d16b['unlinkedAt']&&(_0x4b7fc5['unlinkedAt']=String(_0x34d16b['unlinkedAt'])),_0x4b7fc5;},_0x1adc46['toObject']=function(_0x1158dd,_0x464af7){_0x464af7||(_0x464af7={});var _0x35c1bd={};return _0x464af7['defaults']&&(_0x35c1bd['commentThreadId']='',_0x35c1bd['documentId']='',_0x35c1bd['context']='',_0x35c1bd['attributes']='',_0x35c1bd['unlinkedAt']=''),null!=_0x1158dd['commentThreadId']&&_0x1158dd['hasOwnProperty']('commentThreadId')&&(_0x35c1bd['commentThreadId']=_0x1158dd['commentThreadId']),null!=_0x1158dd['documentId']&&_0x1158dd['hasOwnProperty']('documentId')&&(_0x35c1bd['documentId']=_0x1158dd['documentId']),null!=_0x1158dd['context']&&_0x1158dd['hasOwnProperty']('context')&&(_0x35c1bd['context']=_0x1158dd['context']),null!=_0x1158dd['attributes']&&_0x1158dd['hasOwnProperty']('attributes')&&(_0x35c1bd['attributes']=_0x1158dd['attributes']),null!=_0x1158dd['unlinkedAt']&&_0x1158dd['hasOwnProperty']('unlinkedAt')&&(_0x35c1bd['unlinkedAt']=_0x1158dd['unlinkedAt']),_0x35c1bd;},_0x1adc46['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1adc46['getTypeUrl']=function(_0x25eb73){return void 0x0===_0x25eb73&&(_0x25eb73='type.googleapis.com'),_0x25eb73+'/CommentsV2UpdateCommentThreadMessage';},_0x1adc46;}()),_0x416af3['CommentsV2ResolveCommentThreadMessage']=(function(){function _0x122437(_0x48ce1b){if(_0x48ce1b){for(var _0x1d5365=Object['keys'](_0x48ce1b),_0x51a287=0x0;_0x51a287<_0x1d5365['length'];++_0x51a287)null!=_0x48ce1b[_0x1d5365[_0x51a287]]&&(this[_0x1d5365[_0x51a287]]=_0x48ce1b[_0x1d5365[_0x51a287]]);}}return _0x122437['prototype']['commentThreadId']='',_0x122437['prototype']['documentId']='',_0x122437['prototype']['resolvedBy']='',_0x122437['prototype']['resolvedAt']='',_0x122437['create']=function(_0x120479){return new _0x122437(_0x120479);},_0x122437['encode']=function(_0x314c5d,_0x34cebb){return _0x34cebb||(_0x34cebb=_0x4ed70c['create']()),null!=_0x314c5d['commentThreadId']&&Object['hasOwnProperty']['call'](_0x314c5d,'commentThreadId')&&_0x34cebb['uint32'](0xa)['string'](_0x314c5d['commentThreadId']),null!=_0x314c5d['documentId']&&Object['hasOwnProperty']['call'](_0x314c5d,'documentId')&&_0x34cebb['uint32'](0x12)['string'](_0x314c5d['documentId']),null!=_0x314c5d['resolvedBy']&&Object['hasOwnProperty']['call'](_0x314c5d,'resolvedBy')&&_0x34cebb['uint32'](0x1a)['string'](_0x314c5d['resolvedBy']),null!=_0x314c5d['resolvedAt']&&Object['hasOwnProperty']['call'](_0x314c5d,'resolvedAt')&&_0x34cebb['uint32'](0x22)['string'](_0x314c5d['resolvedAt']),_0x34cebb;},_0x122437['encodeDelimited']=function(_0x40235e,_0x2a52b8){return this['encode'](_0x40235e,_0x2a52b8)['ldelim']();},_0x122437['decode']=function(_0x5949a6,_0x6fef7,_0x30ebf9){_0x5949a6 instanceof _0x3dd834||(_0x5949a6=_0x3dd834['create'](_0x5949a6));for(var _0x19f416=void 0x0===_0x6fef7?_0x5949a6['len']:_0x5949a6['pos']+_0x6fef7,_0x3dd9fe=new _0x416af3['CommentsV2ResolveCommentThreadMessage']();_0x5949a6['pos']<_0x19f416;){var _0x447df8=_0x5949a6['uint32']();if(_0x447df8===_0x30ebf9)break;switch(_0x447df8>>>0x3){case 0x1:_0x3dd9fe['commentThreadId']=_0x5949a6['string']();break;case 0x2:_0x3dd9fe['documentId']=_0x5949a6['string']();break;case 0x3:_0x3dd9fe['resolvedBy']=_0x5949a6['string']();break;case 0x4:_0x3dd9fe['resolvedAt']=_0x5949a6['string']();break;default:_0x5949a6['skipType'](0x7&_0x447df8);}}return _0x3dd9fe;},_0x122437['decodeDelimited']=function(_0x5d96d4){return _0x5d96d4 instanceof _0x3dd834||(_0x5d96d4=new _0x3dd834(_0x5d96d4)),this['decode'](_0x5d96d4,_0x5d96d4['uint32']());},_0x122437['verify']=function(_0x48486e){return'object'!=typeof _0x48486e||null===_0x48486e?'object\x20expected':null!=_0x48486e['commentThreadId']&&_0x48486e['hasOwnProperty']('commentThreadId')&&!_0xdeaf10['isString'](_0x48486e['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x48486e['documentId']&&_0x48486e['hasOwnProperty']('documentId')&&!_0xdeaf10['isString'](_0x48486e['documentId'])?'documentId:\x20string\x20expected':null!=_0x48486e['resolvedBy']&&_0x48486e['hasOwnProperty']('resolvedBy')&&!_0xdeaf10['isString'](_0x48486e['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x48486e['resolvedAt']&&_0x48486e['hasOwnProperty']('resolvedAt')&&!_0xdeaf10['isString'](_0x48486e['resolvedAt'])?'resolvedAt:\x20string\x20expected':null;},_0x122437['fromObject']=function(_0x3680eb){if(_0x3680eb instanceof _0x416af3['CommentsV2ResolveCommentThreadMessage'])return _0x3680eb;var _0x5926d2=new _0x416af3['CommentsV2ResolveCommentThreadMessage']();return null!=_0x3680eb['commentThreadId']&&(_0x5926d2['commentThreadId']=String(_0x3680eb['commentThreadId'])),null!=_0x3680eb['documentId']&&(_0x5926d2['documentId']=String(_0x3680eb['documentId'])),null!=_0x3680eb['resolvedBy']&&(_0x5926d2['resolvedBy']=String(_0x3680eb['resolvedBy'])),null!=_0x3680eb['resolvedAt']&&(_0x5926d2['resolvedAt']=String(_0x3680eb['resolvedAt'])),_0x5926d2;},_0x122437['toObject']=function(_0x2e8b17,_0xb2b609){_0xb2b609||(_0xb2b609={});var _0x32307e={};return _0xb2b609['defaults']&&(_0x32307e['commentThreadId']='',_0x32307e['documentId']='',_0x32307e['resolvedBy']='',_0x32307e['resolvedAt']=''),null!=_0x2e8b17['commentThreadId']&&_0x2e8b17['hasOwnProperty']('commentThreadId')&&(_0x32307e['commentThreadId']=_0x2e8b17['commentThreadId']),null!=_0x2e8b17['documentId']&&_0x2e8b17['hasOwnProperty']('documentId')&&(_0x32307e['documentId']=_0x2e8b17['documentId']),null!=_0x2e8b17['resolvedBy']&&_0x2e8b17['hasOwnProperty']('resolvedBy')&&(_0x32307e['resolvedBy']=_0x2e8b17['resolvedBy']),null!=_0x2e8b17['resolvedAt']&&_0x2e8b17['hasOwnProperty']('resolvedAt')&&(_0x32307e['resolvedAt']=_0x2e8b17['resolvedAt']),_0x32307e;},_0x122437['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x122437['getTypeUrl']=function(_0x5bd9c6){return void 0x0===_0x5bd9c6&&(_0x5bd9c6='type.googleapis.com'),_0x5bd9c6+'/CommentsV2ResolveCommentThreadMessage';},_0x122437;}()),_0x416af3['CommentsV2ReopenCommentThreadMessage']=(function(){function _0x311009(_0x365277){if(_0x365277){for(var _0x1c0d12=Object['keys'](_0x365277),_0x1461c1=0x0;_0x1461c1<_0x1c0d12['length'];++_0x1461c1)null!=_0x365277[_0x1c0d12[_0x1461c1]]&&(this[_0x1c0d12[_0x1461c1]]=_0x365277[_0x1c0d12[_0x1461c1]]);}}return _0x311009['prototype']['commentThreadId']='',_0x311009['prototype']['documentId']='',_0x311009['create']=function(_0x402143){return new _0x311009(_0x402143);},_0x311009['encode']=function(_0x93d1ee,_0x55af20){return _0x55af20||(_0x55af20=_0x4ed70c['create']()),null!=_0x93d1ee['commentThreadId']&&Object['hasOwnProperty']['call'](_0x93d1ee,'commentThreadId')&&_0x55af20['uint32'](0xa)['string'](_0x93d1ee['commentThreadId']),null!=_0x93d1ee['documentId']&&Object['hasOwnProperty']['call'](_0x93d1ee,'documentId')&&_0x55af20['uint32'](0x12)['string'](_0x93d1ee['documentId']),_0x55af20;},_0x311009['encodeDelimited']=function(_0x462047,_0x548715){return this['encode'](_0x462047,_0x548715)['ldelim']();},_0x311009['decode']=function(_0x3d9f4b,_0x40de80,_0x222292){_0x3d9f4b instanceof _0x3dd834||(_0x3d9f4b=_0x3dd834['create'](_0x3d9f4b));for(var _0x220e1=void 0x0===_0x40de80?_0x3d9f4b['len']:_0x3d9f4b['pos']+_0x40de80,_0x2edd7f=new _0x416af3['CommentsV2ReopenCommentThreadMessage']();_0x3d9f4b['pos']<_0x220e1;){var _0x931497=_0x3d9f4b['uint32']();if(_0x931497===_0x222292)break;switch(_0x931497>>>0x3){case 0x1:_0x2edd7f['commentThreadId']=_0x3d9f4b['string']();break;case 0x2:_0x2edd7f['documentId']=_0x3d9f4b['string']();break;default:_0x3d9f4b['skipType'](0x7&_0x931497);}}return _0x2edd7f;},_0x311009['decodeDelimited']=function(_0x5c7b1a){return _0x5c7b1a instanceof _0x3dd834||(_0x5c7b1a=new _0x3dd834(_0x5c7b1a)),this['decode'](_0x5c7b1a,_0x5c7b1a['uint32']());},_0x311009['verify']=function(_0x35ca76){return'object'!=typeof _0x35ca76||null===_0x35ca76?'object\x20expected':null!=_0x35ca76['commentThreadId']&&_0x35ca76['hasOwnProperty']('commentThreadId')&&!_0xdeaf10['isString'](_0x35ca76['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x35ca76['documentId']&&_0x35ca76['hasOwnProperty']('documentId')&&!_0xdeaf10['isString'](_0x35ca76['documentId'])?'documentId:\x20string\x20expected':null;},_0x311009['fromObject']=function(_0x2ebdfa){if(_0x2ebdfa instanceof _0x416af3['CommentsV2ReopenCommentThreadMessage'])return _0x2ebdfa;var _0x4a9463=new _0x416af3['CommentsV2ReopenCommentThreadMessage']();return null!=_0x2ebdfa['commentThreadId']&&(_0x4a9463['commentThreadId']=String(_0x2ebdfa['commentThreadId'])),null!=_0x2ebdfa['documentId']&&(_0x4a9463['documentId']=String(_0x2ebdfa['documentId'])),_0x4a9463;},_0x311009['toObject']=function(_0x239ebe,_0x44d27c){_0x44d27c||(_0x44d27c={});var _0xe687cf={};return _0x44d27c['defaults']&&(_0xe687cf['commentThreadId']='',_0xe687cf['documentId']=''),null!=_0x239ebe['commentThreadId']&&_0x239ebe['hasOwnProperty']('commentThreadId')&&(_0xe687cf['commentThreadId']=_0x239ebe['commentThreadId']),null!=_0x239ebe['documentId']&&_0x239ebe['hasOwnProperty']('documentId')&&(_0xe687cf['documentId']=_0x239ebe['documentId']),_0xe687cf;},_0x311009['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x311009['getTypeUrl']=function(_0x456cb8){return void 0x0===_0x456cb8&&(_0x456cb8='type.googleapis.com'),_0x456cb8+'/CommentsV2ReopenCommentThreadMessage';},_0x311009;}()),_0x416af3['CommentsV2AddCommentThreadMessage']=(function(){function _0x4f9c23(_0x383f20){if(this['comments']=[],_0x383f20){for(var _0x5d645f=Object['keys'](_0x383f20),_0x21deb4=0x0;_0x21deb4<_0x5d645f['length'];++_0x21deb4)null!=_0x383f20[_0x5d645f[_0x21deb4]]&&(this[_0x5d645f[_0x21deb4]]=_0x383f20[_0x5d645f[_0x21deb4]]);}}return _0x4f9c23['prototype']['documentId']='',_0x4f9c23['prototype']['commentThreadId']='',_0x4f9c23['prototype']['context']='',_0x4f9c23['prototype']['createdAt']='',_0x4f9c23['prototype']['resolvedAt']='',_0x4f9c23['prototype']['resolvedBy']='',_0x4f9c23['prototype']['attributes']='',_0x4f9c23['prototype']['deletedAt']='',_0x4f9c23['prototype']['comments']=_0xdeaf10['emptyArray'],_0x4f9c23['create']=function(_0x42a39d){return new _0x4f9c23(_0x42a39d);},_0x4f9c23['encode']=function(_0x22b756,_0x2e8c1a){if(_0x2e8c1a||(_0x2e8c1a=_0x4ed70c['create']()),null!=_0x22b756['documentId']&&Object['hasOwnProperty']['call'](_0x22b756,'documentId')&&_0x2e8c1a['uint32'](0xa)['string'](_0x22b756['documentId']),null!=_0x22b756['commentThreadId']&&Object['hasOwnProperty']['call'](_0x22b756,'commentThreadId')&&_0x2e8c1a['uint32'](0x12)['string'](_0x22b756['commentThreadId']),null!=_0x22b756['context']&&Object['hasOwnProperty']['call'](_0x22b756,'context')&&_0x2e8c1a['uint32'](0x1a)['string'](_0x22b756['context']),null!=_0x22b756['createdAt']&&Object['hasOwnProperty']['call'](_0x22b756,'createdAt')&&_0x2e8c1a['uint32'](0x22)['string'](_0x22b756['createdAt']),null!=_0x22b756['resolvedAt']&&Object['hasOwnProperty']['call'](_0x22b756,'resolvedAt')&&_0x2e8c1a['uint32'](0x2a)['string'](_0x22b756['resolvedAt']),null!=_0x22b756['resolvedBy']&&Object['hasOwnProperty']['call'](_0x22b756,'resolvedBy')&&_0x2e8c1a['uint32'](0x32)['string'](_0x22b756['resolvedBy']),null!=_0x22b756['attributes']&&Object['hasOwnProperty']['call'](_0x22b756,'attributes')&&_0x2e8c1a['uint32'](0x3a)['string'](_0x22b756['attributes']),null!=_0x22b756['deletedAt']&&Object['hasOwnProperty']['call'](_0x22b756,'deletedAt')&&_0x2e8c1a['uint32'](0x42)['string'](_0x22b756['deletedAt']),null!=_0x22b756['comments']&&_0x22b756['comments']['length']){for(var _0x2b3aad=0x0;_0x2b3aad<_0x22b756['comments']['length'];++_0x2b3aad)_0x416af3['CommentDescriptor']['encode'](_0x22b756['comments'][_0x2b3aad],_0x2e8c1a['uint32'](0x4a)['fork']())['ldelim']();}return _0x2e8c1a;},_0x4f9c23['encodeDelimited']=function(_0x4c29c1,_0x5cf630){return this['encode'](_0x4c29c1,_0x5cf630)['ldelim']();},_0x4f9c23['decode']=function(_0x7907a7,_0x13faee,_0xfae711){_0x7907a7 instanceof _0x3dd834||(_0x7907a7=_0x3dd834['create'](_0x7907a7));for(var _0x4cfc0c=void 0x0===_0x13faee?_0x7907a7['len']:_0x7907a7['pos']+_0x13faee,_0x38e770=new _0x416af3['CommentsV2AddCommentThreadMessage']();_0x7907a7['pos']<_0x4cfc0c;){var _0x3f9d1a=_0x7907a7['uint32']();if(_0x3f9d1a===_0xfae711)break;switch(_0x3f9d1a>>>0x3){case 0x1:_0x38e770['documentId']=_0x7907a7['string']();break;case 0x2:_0x38e770['commentThreadId']=_0x7907a7['string']();break;case 0x3:_0x38e770['context']=_0x7907a7['string']();break;case 0x4:_0x38e770['createdAt']=_0x7907a7['string']();break;case 0x5:_0x38e770['resolvedAt']=_0x7907a7['string']();break;case 0x6:_0x38e770['resolvedBy']=_0x7907a7['string']();break;case 0x7:_0x38e770['attributes']=_0x7907a7['string']();break;case 0x8:_0x38e770['deletedAt']=_0x7907a7['string']();break;case 0x9:_0x38e770['comments']&&_0x38e770['comments']['length']||(_0x38e770['comments']=[]),_0x38e770['comments']['push'](_0x416af3['CommentDescriptor']['decode'](_0x7907a7,_0x7907a7['uint32']()));break;default:_0x7907a7['skipType'](0x7&_0x3f9d1a);}}return _0x38e770;},_0x4f9c23['decodeDelimited']=function(_0x8f2b6c){return _0x8f2b6c instanceof _0x3dd834||(_0x8f2b6c=new _0x3dd834(_0x8f2b6c)),this['decode'](_0x8f2b6c,_0x8f2b6c['uint32']());},_0x4f9c23['verify']=function(_0x2b7eae){if('object'!=typeof _0x2b7eae||null===_0x2b7eae)return'object\x20expected';if(null!=_0x2b7eae['documentId']&&_0x2b7eae['hasOwnProperty']('documentId')&&!_0xdeaf10['isString'](_0x2b7eae['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x2b7eae['commentThreadId']&&_0x2b7eae['hasOwnProperty']('commentThreadId')&&!_0xdeaf10['isString'](_0x2b7eae['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x2b7eae['context']&&_0x2b7eae['hasOwnProperty']('context')&&!_0xdeaf10['isString'](_0x2b7eae['context']))return'context:\x20string\x20expected';if(null!=_0x2b7eae['createdAt']&&_0x2b7eae['hasOwnProperty']('createdAt')&&!_0xdeaf10['isString'](_0x2b7eae['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x2b7eae['resolvedAt']&&_0x2b7eae['hasOwnProperty']('resolvedAt')&&!_0xdeaf10['isString'](_0x2b7eae['resolvedAt']))return'resolvedAt:\x20string\x20expected';if(null!=_0x2b7eae['resolvedBy']&&_0x2b7eae['hasOwnProperty']('resolvedBy')&&!_0xdeaf10['isString'](_0x2b7eae['resolvedBy']))return'resolvedBy:\x20string\x20expected';if(null!=_0x2b7eae['attributes']&&_0x2b7eae['hasOwnProperty']('attributes')&&!_0xdeaf10['isString'](_0x2b7eae['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x2b7eae['deletedAt']&&_0x2b7eae['hasOwnProperty']('deletedAt')&&!_0xdeaf10['isString'](_0x2b7eae['deletedAt']))return'deletedAt:\x20string\x20expected';if(null!=_0x2b7eae['comments']&&_0x2b7eae['hasOwnProperty']('comments')){if(!Array['isArray'](_0x2b7eae['comments']))return'comments:\x20array\x20expected';for(var _0xa67f0d=0x0;_0xa67f0d<_0x2b7eae['comments']['length'];++_0xa67f0d){var _0xeff220=_0x416af3['CommentDescriptor']['verify'](_0x2b7eae['comments'][_0xa67f0d]);if(_0xeff220)return'comments.'+_0xeff220;}}return null;},_0x4f9c23['fromObject']=function(_0xd87533){if(_0xd87533 instanceof _0x416af3['CommentsV2AddCommentThreadMessage'])return _0xd87533;var _0x425626=new _0x416af3['CommentsV2AddCommentThreadMessage']();if(null!=_0xd87533['documentId']&&(_0x425626['documentId']=String(_0xd87533['documentId'])),null!=_0xd87533['commentThreadId']&&(_0x425626['commentThreadId']=String(_0xd87533['commentThreadId'])),null!=_0xd87533['context']&&(_0x425626['context']=String(_0xd87533['context'])),null!=_0xd87533['createdAt']&&(_0x425626['createdAt']=String(_0xd87533['createdAt'])),null!=_0xd87533['resolvedAt']&&(_0x425626['resolvedAt']=String(_0xd87533['resolvedAt'])),null!=_0xd87533['resolvedBy']&&(_0x425626['resolvedBy']=String(_0xd87533['resolvedBy'])),null!=_0xd87533['attributes']&&(_0x425626['attributes']=String(_0xd87533['attributes'])),null!=_0xd87533['deletedAt']&&(_0x425626['deletedAt']=String(_0xd87533['deletedAt'])),_0xd87533['comments']){if(!Array['isArray'](_0xd87533['comments']))throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20array\x20expected');_0x425626['comments']=[];for(var _0x1be8e2=0x0;_0x1be8e2<_0xd87533['comments']['length'];++_0x1be8e2){if('object'!=typeof _0xd87533['comments'][_0x1be8e2])throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20object\x20expected');_0x425626['comments'][_0x1be8e2]=_0x416af3['CommentDescriptor']['fromObject'](_0xd87533['comments'][_0x1be8e2]);}}return _0x425626;},_0x4f9c23['toObject']=function(_0x5ead21,_0x4e4155){_0x4e4155||(_0x4e4155={});var _0x38214d={};if((_0x4e4155['arrays']||_0x4e4155['defaults'])&&(_0x38214d['comments']=[]),_0x4e4155['defaults']&&(_0x38214d['documentId']='',_0x38214d['commentThreadId']='',_0x38214d['context']='',_0x38214d['createdAt']='',_0x38214d['resolvedAt']='',_0x38214d['resolvedBy']='',_0x38214d['attributes']='',_0x38214d['deletedAt']=''),null!=_0x5ead21['documentId']&&_0x5ead21['hasOwnProperty']('documentId')&&(_0x38214d['documentId']=_0x5ead21['documentId']),null!=_0x5ead21['commentThreadId']&&_0x5ead21['hasOwnProperty']('commentThreadId')&&(_0x38214d['commentThreadId']=_0x5ead21['commentThreadId']),null!=_0x5ead21['context']&&_0x5ead21['hasOwnProperty']('context')&&(_0x38214d['context']=_0x5ead21['context']),null!=_0x5ead21['createdAt']&&_0x5ead21['hasOwnProperty']('createdAt')&&(_0x38214d['createdAt']=_0x5ead21['createdAt']),null!=_0x5ead21['resolvedAt']&&_0x5ead21['hasOwnProperty']('resolvedAt')&&(_0x38214d['resolvedAt']=_0x5ead21['resolvedAt']),null!=_0x5ead21['resolvedBy']&&_0x5ead21['hasOwnProperty']('resolvedBy')&&(_0x38214d['resolvedBy']=_0x5ead21['resolvedBy']),null!=_0x5ead21['attributes']&&_0x5ead21['hasOwnProperty']('attributes')&&(_0x38214d['attributes']=_0x5ead21['attributes']),null!=_0x5ead21['deletedAt']&&_0x5ead21['hasOwnProperty']('deletedAt')&&(_0x38214d['deletedAt']=_0x5ead21['deletedAt']),_0x5ead21['comments']&&_0x5ead21['comments']['length']){_0x38214d['comments']=[];for(var _0x5bdcf6=0x0;_0x5bdcf6<_0x5ead21['comments']['length'];++_0x5bdcf6)_0x38214d['comments'][_0x5bdcf6]=_0x416af3['CommentDescriptor']['toObject'](_0x5ead21['comments'][_0x5bdcf6],_0x4e4155);}return _0x38214d;},_0x4f9c23['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4f9c23['getTypeUrl']=function(_0x5702bc){return void 0x0===_0x5702bc&&(_0x5702bc='type.googleapis.com'),_0x5702bc+'/CommentsV2AddCommentThreadMessage';},_0x4f9c23;}()),_0x416af3['CommentThreadAddedCommentDescriptor']=(function(){function _0x29c3d3(_0x49ea39){if(_0x49ea39){for(var _0x1c1148=Object['keys'](_0x49ea39),_0x2f7ce3=0x0;_0x2f7ce3<_0x1c1148['length'];++_0x2f7ce3)null!=_0x49ea39[_0x1c1148[_0x2f7ce3]]&&(this[_0x1c1148[_0x2f7ce3]]=_0x49ea39[_0x1c1148[_0x2f7ce3]]);}}return _0x29c3d3['prototype']['commentId']='',_0x29c3d3['prototype']['createdAt']='',_0x29c3d3['create']=function(_0xbdf19a){return new _0x29c3d3(_0xbdf19a);},_0x29c3d3['encode']=function(_0x5f21a3,_0x113cc9){return _0x113cc9||(_0x113cc9=_0x4ed70c['create']()),null!=_0x5f21a3['commentId']&&Object['hasOwnProperty']['call'](_0x5f21a3,'commentId')&&_0x113cc9['uint32'](0xa)['string'](_0x5f21a3['commentId']),null!=_0x5f21a3['createdAt']&&Object['hasOwnProperty']['call'](_0x5f21a3,'createdAt')&&_0x113cc9['uint32'](0x12)['string'](_0x5f21a3['createdAt']),_0x113cc9;},_0x29c3d3['encodeDelimited']=function(_0x3f0f64,_0x38b6c0){return this['encode'](_0x3f0f64,_0x38b6c0)['ldelim']();},_0x29c3d3['decode']=function(_0x311ed0,_0xbca8a7,_0x191691){_0x311ed0 instanceof _0x3dd834||(_0x311ed0=_0x3dd834['create'](_0x311ed0));for(var _0x2c2142=void 0x0===_0xbca8a7?_0x311ed0['len']:_0x311ed0['pos']+_0xbca8a7,_0x2402b4=new _0x416af3['CommentThreadAddedCommentDescriptor']();_0x311ed0['pos']<_0x2c2142;){var _0x257895=_0x311ed0['uint32']();if(_0x257895===_0x191691)break;switch(_0x257895>>>0x3){case 0x1:_0x2402b4['commentId']=_0x311ed0['string']();break;case 0x2:_0x2402b4['createdAt']=_0x311ed0['string']();break;default:_0x311ed0['skipType'](0x7&_0x257895);}}return _0x2402b4;},_0x29c3d3['decodeDelimited']=function(_0x5975e0){return _0x5975e0 instanceof _0x3dd834||(_0x5975e0=new _0x3dd834(_0x5975e0)),this['decode'](_0x5975e0,_0x5975e0['uint32']());},_0x29c3d3['verify']=function(_0x50fbfb){return'object'!=typeof _0x50fbfb||null===_0x50fbfb?'object\x20expected':null!=_0x50fbfb['commentId']&&_0x50fbfb['hasOwnProperty']('commentId')&&!_0xdeaf10['isString'](_0x50fbfb['commentId'])?'commentId:\x20string\x20expected':null!=_0x50fbfb['createdAt']&&_0x50fbfb['hasOwnProperty']('createdAt')&&!_0xdeaf10['isString'](_0x50fbfb['createdAt'])?'createdAt:\x20string\x20expected':null;},_0x29c3d3['fromObject']=function(_0x12ea5b){if(_0x12ea5b instanceof _0x416af3['CommentThreadAddedCommentDescriptor'])return _0x12ea5b;var _0x3781d8=new _0x416af3['CommentThreadAddedCommentDescriptor']();return null!=_0x12ea5b['commentId']&&(_0x3781d8['commentId']=String(_0x12ea5b['commentId'])),null!=_0x12ea5b['createdAt']&&(_0x3781d8['createdAt']=String(_0x12ea5b['createdAt'])),_0x3781d8;},_0x29c3d3['toObject']=function(_0x350724,_0x3d9b58){_0x3d9b58||(_0x3d9b58={});var _0x474228={};return _0x3d9b58['defaults']&&(_0x474228['commentId']='',_0x474228['createdAt']=''),null!=_0x350724['commentId']&&_0x350724['hasOwnProperty']('commentId')&&(_0x474228['commentId']=_0x350724['commentId']),null!=_0x350724['createdAt']&&_0x350724['hasOwnProperty']('createdAt')&&(_0x474228['createdAt']=_0x350724['createdAt']),_0x474228;},_0x29c3d3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x29c3d3['getTypeUrl']=function(_0x269bbd){return void 0x0===_0x269bbd&&(_0x269bbd='type.googleapis.com'),_0x269bbd+'/CommentThreadAddedCommentDescriptor';},_0x29c3d3;}()),_0x416af3['CommentsThreadDescriptor']=(function(){function _0x88d43e(_0x5d7e42){if(this['comments']=[],_0x5d7e42){for(var _0xeb0315=Object['keys'](_0x5d7e42),_0x438aeb=0x0;_0x438aeb<_0xeb0315['length'];++_0x438aeb)null!=_0x5d7e42[_0xeb0315[_0x438aeb]]&&(this[_0xeb0315[_0x438aeb]]=_0x5d7e42[_0xeb0315[_0x438aeb]]);}}return _0x88d43e['prototype']['commentThreadId']='',_0x88d43e['prototype']['comments']=_0xdeaf10['emptyArray'],_0x88d43e['prototype']['resolvedAt']='',_0x88d43e['prototype']['resolvedBy']='',_0x88d43e['prototype']['context']='',_0x88d43e['prototype']['createdAt']='',_0x88d43e['prototype']['deletedAt']='',_0x88d43e['prototype']['attributes']='',_0x88d43e['prototype']['unlinkedAt']='',_0x88d43e['create']=function(_0x202817){return new _0x88d43e(_0x202817);},_0x88d43e['encode']=function(_0x1e7316,_0x469c4e){if(_0x469c4e||(_0x469c4e=_0x4ed70c['create']()),null!=_0x1e7316['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1e7316,'commentThreadId')&&_0x469c4e['uint32'](0xa)['string'](_0x1e7316['commentThreadId']),null!=_0x1e7316['comments']&&_0x1e7316['comments']['length']){for(var _0x9ec819=0x0;_0x9ec819<_0x1e7316['comments']['length'];++_0x9ec819)_0x416af3['CommentDescriptor']['encode'](_0x1e7316['comments'][_0x9ec819],_0x469c4e['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x1e7316['resolvedAt']&&Object['hasOwnProperty']['call'](_0x1e7316,'resolvedAt')&&_0x469c4e['uint32'](0x1a)['string'](_0x1e7316['resolvedAt']),null!=_0x1e7316['resolvedBy']&&Object['hasOwnProperty']['call'](_0x1e7316,'resolvedBy')&&_0x469c4e['uint32'](0x22)['string'](_0x1e7316['resolvedBy']),null!=_0x1e7316['context']&&Object['hasOwnProperty']['call'](_0x1e7316,'context')&&_0x469c4e['uint32'](0x2a)['string'](_0x1e7316['context']),null!=_0x1e7316['createdAt']&&Object['hasOwnProperty']['call'](_0x1e7316,'createdAt')&&_0x469c4e['uint32'](0x32)['string'](_0x1e7316['createdAt']),null!=_0x1e7316['deletedAt']&&Object['hasOwnProperty']['call'](_0x1e7316,'deletedAt')&&_0x469c4e['uint32'](0x3a)['string'](_0x1e7316['deletedAt']),null!=_0x1e7316['attributes']&&Object['hasOwnProperty']['call'](_0x1e7316,'attributes')&&_0x469c4e['uint32'](0x42)['string'](_0x1e7316['attributes']),null!=_0x1e7316['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x1e7316,'unlinkedAt')&&_0x469c4e['uint32'](0x4a)['string'](_0x1e7316['unlinkedAt']),_0x469c4e;},_0x88d43e['encodeDelimited']=function(_0x5c9607,_0x58d542){return this['encode'](_0x5c9607,_0x58d542)['ldelim']();},_0x88d43e['decode']=function(_0x2e34f8,_0x3e2165,_0x340836){_0x2e34f8 instanceof _0x3dd834||(_0x2e34f8=_0x3dd834['create'](_0x2e34f8));for(var _0x1db4e0=void 0x0===_0x3e2165?_0x2e34f8['len']:_0x2e34f8['pos']+_0x3e2165,_0x22abf6=new _0x416af3['CommentsThreadDescriptor']();_0x2e34f8['pos']<_0x1db4e0;){var _0x5d48e2=_0x2e34f8['uint32']();if(_0x5d48e2===_0x340836)break;switch(_0x5d48e2>>>0x3){case 0x1:_0x22abf6['commentThreadId']=_0x2e34f8['string']();break;case 0x2:_0x22abf6['comments']&&_0x22abf6['comments']['length']||(_0x22abf6['comments']=[]),_0x22abf6['comments']['push'](_0x416af3['CommentDescriptor']['decode'](_0x2e34f8,_0x2e34f8['uint32']()));break;case 0x3:_0x22abf6['resolvedAt']=_0x2e34f8['string']();break;case 0x4:_0x22abf6['resolvedBy']=_0x2e34f8['string']();break;case 0x5:_0x22abf6['context']=_0x2e34f8['string']();break;case 0x6:_0x22abf6['createdAt']=_0x2e34f8['string']();break;case 0x7:_0x22abf6['deletedAt']=_0x2e34f8['string']();break;case 0x8:_0x22abf6['attributes']=_0x2e34f8['string']();break;case 0x9:_0x22abf6['unlinkedAt']=_0x2e34f8['string']();break;default:_0x2e34f8['skipType'](0x7&_0x5d48e2);}}return _0x22abf6;},_0x88d43e['decodeDelimited']=function(_0x357cf7){return _0x357cf7 instanceof _0x3dd834||(_0x357cf7=new _0x3dd834(_0x357cf7)),this['decode'](_0x357cf7,_0x357cf7['uint32']());},_0x88d43e['verify']=function(_0xf2456){if('object'!=typeof _0xf2456||null===_0xf2456)return'object\x20expected';if(null!=_0xf2456['commentThreadId']&&_0xf2456['hasOwnProperty']('commentThreadId')&&!_0xdeaf10['isString'](_0xf2456['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0xf2456['comments']&&_0xf2456['hasOwnProperty']('comments')){if(!Array['isArray'](_0xf2456['comments']))return'comments:\x20array\x20expected';for(var _0x5404df=0x0;_0x5404df<_0xf2456['comments']['length'];++_0x5404df){var _0x57e15a=_0x416af3['CommentDescriptor']['verify'](_0xf2456['comments'][_0x5404df]);if(_0x57e15a)return'comments.'+_0x57e15a;}}return null!=_0xf2456['resolvedAt']&&_0xf2456['hasOwnProperty']('resolvedAt')&&!_0xdeaf10['isString'](_0xf2456['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0xf2456['resolvedBy']&&_0xf2456['hasOwnProperty']('resolvedBy')&&!_0xdeaf10['isString'](_0xf2456['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0xf2456['context']&&_0xf2456['hasOwnProperty']('context')&&!_0xdeaf10['isString'](_0xf2456['context'])?'context:\x20string\x20expected':null!=_0xf2456['createdAt']&&_0xf2456['hasOwnProperty']('createdAt')&&!_0xdeaf10['isString'](_0xf2456['createdAt'])?'createdAt:\x20string\x20expected':null!=_0xf2456['deletedAt']&&_0xf2456['hasOwnProperty']('deletedAt')&&!_0xdeaf10['isString'](_0xf2456['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0xf2456['attributes']&&_0xf2456['hasOwnProperty']('attributes')&&!_0xdeaf10['isString'](_0xf2456['attributes'])?'attributes:\x20string\x20expected':null!=_0xf2456['unlinkedAt']&&_0xf2456['hasOwnProperty']('unlinkedAt')&&!_0xdeaf10['isString'](_0xf2456['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x88d43e['fromObject']=function(_0x374893){if(_0x374893 instanceof _0x416af3['CommentsThreadDescriptor'])return _0x374893;var _0x12eea0=new _0x416af3['CommentsThreadDescriptor']();if(null!=_0x374893['commentThreadId']&&(_0x12eea0['commentThreadId']=String(_0x374893['commentThreadId'])),_0x374893['comments']){if(!Array['isArray'](_0x374893['comments']))throw TypeError('.CommentsThreadDescriptor.comments:\x20array\x20expected');_0x12eea0['comments']=[];for(var _0x3d66c6=0x0;_0x3d66c6<_0x374893['comments']['length'];++_0x3d66c6){if('object'!=typeof _0x374893['comments'][_0x3d66c6])throw TypeError('.CommentsThreadDescriptor.comments:\x20object\x20expected');_0x12eea0['comments'][_0x3d66c6]=_0x416af3['CommentDescriptor']['fromObject'](_0x374893['comments'][_0x3d66c6]);}}return null!=_0x374893['resolvedAt']&&(_0x12eea0['resolvedAt']=String(_0x374893['resolvedAt'])),null!=_0x374893['resolvedBy']&&(_0x12eea0['resolvedBy']=String(_0x374893['resolvedBy'])),null!=_0x374893['context']&&(_0x12eea0['context']=String(_0x374893['context'])),null!=_0x374893['createdAt']&&(_0x12eea0['createdAt']=String(_0x374893['createdAt'])),null!=_0x374893['deletedAt']&&(_0x12eea0['deletedAt']=String(_0x374893['deletedAt'])),null!=_0x374893['attributes']&&(_0x12eea0['attributes']=String(_0x374893['attributes'])),null!=_0x374893['unlinkedAt']&&(_0x12eea0['unlinkedAt']=String(_0x374893['unlinkedAt'])),_0x12eea0;},_0x88d43e['toObject']=function(_0xa60a35,_0x7ed86a){_0x7ed86a||(_0x7ed86a={});var _0x1f1801={};if((_0x7ed86a['arrays']||_0x7ed86a['defaults'])&&(_0x1f1801['comments']=[]),_0x7ed86a['defaults']&&(_0x1f1801['commentThreadId']='',_0x1f1801['resolvedAt']='',_0x1f1801['resolvedBy']='',_0x1f1801['context']='',_0x1f1801['createdAt']='',_0x1f1801['deletedAt']='',_0x1f1801['attributes']='',_0x1f1801['unlinkedAt']=''),null!=_0xa60a35['commentThreadId']&&_0xa60a35['hasOwnProperty']('commentThreadId')&&(_0x1f1801['commentThreadId']=_0xa60a35['commentThreadId']),_0xa60a35['comments']&&_0xa60a35['comments']['length']){_0x1f1801['comments']=[];for(var _0x5d41ce=0x0;_0x5d41ce<_0xa60a35['comments']['length'];++_0x5d41ce)_0x1f1801['comments'][_0x5d41ce]=_0x416af3['CommentDescriptor']['toObject'](_0xa60a35['comments'][_0x5d41ce],_0x7ed86a);}return null!=_0xa60a35['resolvedAt']&&_0xa60a35['hasOwnProperty']('resolvedAt')&&(_0x1f1801['resolvedAt']=_0xa60a35['resolvedAt']),null!=_0xa60a35['resolvedBy']&&_0xa60a35['hasOwnProperty']('resolvedBy')&&(_0x1f1801['resolvedBy']=_0xa60a35['resolvedBy']),null!=_0xa60a35['context']&&_0xa60a35['hasOwnProperty']('context')&&(_0x1f1801['context']=_0xa60a35['context']),null!=_0xa60a35['createdAt']&&_0xa60a35['hasOwnProperty']('createdAt')&&(_0x1f1801['createdAt']=_0xa60a35['createdAt']),null!=_0xa60a35['deletedAt']&&_0xa60a35['hasOwnProperty']('deletedAt')&&(_0x1f1801['deletedAt']=_0xa60a35['deletedAt']),null!=_0xa60a35['attributes']&&_0xa60a35['hasOwnProperty']('attributes')&&(_0x1f1801['attributes']=_0xa60a35['attributes']),null!=_0xa60a35['unlinkedAt']&&_0xa60a35['hasOwnProperty']('unlinkedAt')&&(_0x1f1801['unlinkedAt']=_0xa60a35['unlinkedAt']),_0x1f1801;},_0x88d43e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x88d43e['getTypeUrl']=function(_0x5e4c11){return void 0x0===_0x5e4c11&&(_0x5e4c11='type.googleapis.com'),_0x5e4c11+'/CommentsThreadDescriptor';},_0x88d43e;}()),_0x416af3['CommentDescriptor']=(function(){function _0x4462cc(_0x34382a){if(_0x34382a){for(var _0x1edb70=Object['keys'](_0x34382a),_0x570acc=0x0;_0x570acc<_0x1edb70['length'];++_0x570acc)null!=_0x34382a[_0x1edb70[_0x570acc]]&&(this[_0x1edb70[_0x570acc]]=_0x34382a[_0x1edb70[_0x570acc]]);}}return _0x4462cc['prototype']['commentId']='',_0x4462cc['prototype']['commentThreadId']='',_0x4462cc['prototype']['userId']='',_0x4462cc['prototype']['content']='',_0x4462cc['prototype']['documentId']='',_0x4462cc['prototype']['createdAt']='',_0x4462cc['prototype']['attributes']='',_0x4462cc['create']=function(_0x586bf8){return new _0x4462cc(_0x586bf8);},_0x4462cc['encode']=function(_0x1d6294,_0x574b51){return _0x574b51||(_0x574b51=_0x4ed70c['create']()),null!=_0x1d6294['commentId']&&Object['hasOwnProperty']['call'](_0x1d6294,'commentId')&&_0x574b51['uint32'](0xa)['string'](_0x1d6294['commentId']),null!=_0x1d6294['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1d6294,'commentThreadId')&&_0x574b51['uint32'](0x12)['string'](_0x1d6294['commentThreadId']),null!=_0x1d6294['userId']&&Object['hasOwnProperty']['call'](_0x1d6294,'userId')&&_0x574b51['uint32'](0x1a)['string'](_0x1d6294['userId']),null!=_0x1d6294['content']&&Object['hasOwnProperty']['call'](_0x1d6294,'content')&&_0x574b51['uint32'](0x22)['string'](_0x1d6294['content']),null!=_0x1d6294['documentId']&&Object['hasOwnProperty']['call'](_0x1d6294,'documentId')&&_0x574b51['uint32'](0x2a)['string'](_0x1d6294['documentId']),null!=_0x1d6294['createdAt']&&Object['hasOwnProperty']['call'](_0x1d6294,'createdAt')&&_0x574b51['uint32'](0x32)['string'](_0x1d6294['createdAt']),null!=_0x1d6294['attributes']&&Object['hasOwnProperty']['call'](_0x1d6294,'attributes')&&_0x574b51['uint32'](0x3a)['string'](_0x1d6294['attributes']),_0x574b51;},_0x4462cc['encodeDelimited']=function(_0x253a89,_0x1723ca){return this['encode'](_0x253a89,_0x1723ca)['ldelim']();},_0x4462cc['decode']=function(_0x153ecc,_0x270369,_0x90cfc4){_0x153ecc instanceof _0x3dd834||(_0x153ecc=_0x3dd834['create'](_0x153ecc));for(var _0x1bfceb=void 0x0===_0x270369?_0x153ecc['len']:_0x153ecc['pos']+_0x270369,_0xa3a1e2=new _0x416af3['CommentDescriptor']();_0x153ecc['pos']<_0x1bfceb;){var _0x251b0d=_0x153ecc['uint32']();if(_0x251b0d===_0x90cfc4)break;switch(_0x251b0d>>>0x3){case 0x1:_0xa3a1e2['commentId']=_0x153ecc['string']();break;case 0x2:_0xa3a1e2['commentThreadId']=_0x153ecc['string']();break;case 0x3:_0xa3a1e2['userId']=_0x153ecc['string']();break;case 0x4:_0xa3a1e2['content']=_0x153ecc['string']();break;case 0x5:_0xa3a1e2['documentId']=_0x153ecc['string']();break;case 0x6:_0xa3a1e2['createdAt']=_0x153ecc['string']();break;case 0x7:_0xa3a1e2['attributes']=_0x153ecc['string']();break;default:_0x153ecc['skipType'](0x7&_0x251b0d);}}return _0xa3a1e2;},_0x4462cc['decodeDelimited']=function(_0x4cc80f){return _0x4cc80f instanceof _0x3dd834||(_0x4cc80f=new _0x3dd834(_0x4cc80f)),this['decode'](_0x4cc80f,_0x4cc80f['uint32']());},_0x4462cc['verify']=function(_0x53d8ba){return'object'!=typeof _0x53d8ba||null===_0x53d8ba?'object\x20expected':null!=_0x53d8ba['commentId']&&_0x53d8ba['hasOwnProperty']('commentId')&&!_0xdeaf10['isString'](_0x53d8ba['commentId'])?'commentId:\x20string\x20expected':null!=_0x53d8ba['commentThreadId']&&_0x53d8ba['hasOwnProperty']('commentThreadId')&&!_0xdeaf10['isString'](_0x53d8ba['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x53d8ba['userId']&&_0x53d8ba['hasOwnProperty']('userId')&&!_0xdeaf10['isString'](_0x53d8ba['userId'])?'userId:\x20string\x20expected':null!=_0x53d8ba['content']&&_0x53d8ba['hasOwnProperty']('content')&&!_0xdeaf10['isString'](_0x53d8ba['content'])?'content:\x20string\x20expected':null!=_0x53d8ba['documentId']&&_0x53d8ba['hasOwnProperty']('documentId')&&!_0xdeaf10['isString'](_0x53d8ba['documentId'])?'documentId:\x20string\x20expected':null!=_0x53d8ba['createdAt']&&_0x53d8ba['hasOwnProperty']('createdAt')&&!_0xdeaf10['isString'](_0x53d8ba['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x53d8ba['attributes']&&_0x53d8ba['hasOwnProperty']('attributes')&&!_0xdeaf10['isString'](_0x53d8ba['attributes'])?'attributes:\x20string\x20expected':null;},_0x4462cc['fromObject']=function(_0x124528){if(_0x124528 instanceof _0x416af3['CommentDescriptor'])return _0x124528;var _0x2715e8=new _0x416af3['CommentDescriptor']();return null!=_0x124528['commentId']&&(_0x2715e8['commentId']=String(_0x124528['commentId'])),null!=_0x124528['commentThreadId']&&(_0x2715e8['commentThreadId']=String(_0x124528['commentThreadId'])),null!=_0x124528['userId']&&(_0x2715e8['userId']=String(_0x124528['userId'])),null!=_0x124528['content']&&(_0x2715e8['content']=String(_0x124528['content'])),null!=_0x124528['documentId']&&(_0x2715e8['documentId']=String(_0x124528['documentId'])),null!=_0x124528['createdAt']&&(_0x2715e8['createdAt']=String(_0x124528['createdAt'])),null!=_0x124528['attributes']&&(_0x2715e8['attributes']=String(_0x124528['attributes'])),_0x2715e8;},_0x4462cc['toObject']=function(_0x122735,_0x4abe0e){_0x4abe0e||(_0x4abe0e={});var _0x3ce034={};return _0x4abe0e['defaults']&&(_0x3ce034['commentId']='',_0x3ce034['commentThreadId']='',_0x3ce034['userId']='',_0x3ce034['content']='',_0x3ce034['documentId']='',_0x3ce034['createdAt']='',_0x3ce034['attributes']=''),null!=_0x122735['commentId']&&_0x122735['hasOwnProperty']('commentId')&&(_0x3ce034['commentId']=_0x122735['commentId']),null!=_0x122735['commentThreadId']&&_0x122735['hasOwnProperty']('commentThreadId')&&(_0x3ce034['commentThreadId']=_0x122735['commentThreadId']),null!=_0x122735['userId']&&_0x122735['hasOwnProperty']('userId')&&(_0x3ce034['userId']=_0x122735['userId']),null!=_0x122735['content']&&_0x122735['hasOwnProperty']('content')&&(_0x3ce034['content']=_0x122735['content']),null!=_0x122735['documentId']&&_0x122735['hasOwnProperty']('documentId')&&(_0x3ce034['documentId']=_0x122735['documentId']),null!=_0x122735['createdAt']&&_0x122735['hasOwnProperty']('createdAt')&&(_0x3ce034['createdAt']=_0x122735['createdAt']),null!=_0x122735['attributes']&&_0x122735['hasOwnProperty']('attributes')&&(_0x3ce034['attributes']=_0x122735['attributes']),_0x3ce034;},_0x4462cc['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4462cc['getTypeUrl']=function(_0xf8f8fa){return void 0x0===_0xf8f8fa&&(_0xf8f8fa='type.googleapis.com'),_0xf8f8fa+'/CommentDescriptor';},_0x4462cc;}()),_0x416af3['GetDocumentDetailsResponse']=(function(){function _0x181151(_0xccd5ea){if(_0xccd5ea){for(var _0x1cccb3=Object['keys'](_0xccd5ea),_0x4119c9=0x0;_0x4119c9<_0x1cccb3['length'];++_0x4119c9)null!=_0xccd5ea[_0x1cccb3[_0x4119c9]]&&(this[_0x1cccb3[_0x4119c9]]=_0xccd5ea[_0x1cccb3[_0x4119c9]]);}}return _0x181151['prototype']['lastDocumentSessionId']='',_0x181151['prototype']['lastDocumentSessionOperationId']='',_0x181151['prototype']['currentDocumentSessionId']='',_0x181151['prototype']['currentDocumentSessionVersion']=0x0,_0x181151['prototype']['currentDocumentSessionOperationId']='',_0x181151['create']=function(_0x19ce7c){return new _0x181151(_0x19ce7c);},_0x181151['encode']=function(_0x25327b,_0x2cc2aa){return _0x2cc2aa||(_0x2cc2aa=_0x4ed70c['create']()),null!=_0x25327b['lastDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x25327b,'lastDocumentSessionId')&&_0x2cc2aa['uint32'](0xa)['string'](_0x25327b['lastDocumentSessionId']),null!=_0x25327b['lastDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x25327b,'lastDocumentSessionOperationId')&&_0x2cc2aa['uint32'](0x12)['string'](_0x25327b['lastDocumentSessionOperationId']),null!=_0x25327b['currentDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x25327b,'currentDocumentSessionId')&&_0x2cc2aa['uint32'](0x1a)['string'](_0x25327b['currentDocumentSessionId']),null!=_0x25327b['currentDocumentSessionVersion']&&Object['hasOwnProperty']['call'](_0x25327b,'currentDocumentSessionVersion')&&_0x2cc2aa['uint32'](0x20)['uint32'](_0x25327b['currentDocumentSessionVersion']),null!=_0x25327b['currentDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x25327b,'currentDocumentSessionOperationId')&&_0x2cc2aa['uint32'](0x2a)['string'](_0x25327b['currentDocumentSessionOperationId']),_0x2cc2aa;},_0x181151['encodeDelimited']=function(_0x3da765,_0x5d66fa){return this['encode'](_0x3da765,_0x5d66fa)['ldelim']();},_0x181151['decode']=function(_0x5e7f40,_0x18ddb2,_0x34a990){_0x5e7f40 instanceof _0x3dd834||(_0x5e7f40=_0x3dd834['create'](_0x5e7f40));for(var _0x5dc914=void 0x0===_0x18ddb2?_0x5e7f40['len']:_0x5e7f40['pos']+_0x18ddb2,_0x144a85=new _0x416af3['GetDocumentDetailsResponse']();_0x5e7f40['pos']<_0x5dc914;){var _0x1000bf=_0x5e7f40['uint32']();if(_0x1000bf===_0x34a990)break;switch(_0x1000bf>>>0x3){case 0x1:_0x144a85['lastDocumentSessionId']=_0x5e7f40['string']();break;case 0x2:_0x144a85['lastDocumentSessionOperationId']=_0x5e7f40['string']();break;case 0x3:_0x144a85['currentDocumentSessionId']=_0x5e7f40['string']();break;case 0x4:_0x144a85['currentDocumentSessionVersion']=_0x5e7f40['uint32']();break;case 0x5:_0x144a85['currentDocumentSessionOperationId']=_0x5e7f40['string']();break;default:_0x5e7f40['skipType'](0x7&_0x1000bf);}}return _0x144a85;},_0x181151['decodeDelimited']=function(_0x33061a){return _0x33061a instanceof _0x3dd834||(_0x33061a=new _0x3dd834(_0x33061a)),this['decode'](_0x33061a,_0x33061a['uint32']());},_0x181151['verify']=function(_0x3c1112){return'object'!=typeof _0x3c1112||null===_0x3c1112?'object\x20expected':null!=_0x3c1112['lastDocumentSessionId']&&_0x3c1112['hasOwnProperty']('lastDocumentSessionId')&&!_0xdeaf10['isString'](_0x3c1112['lastDocumentSessionId'])?'lastDocumentSessionId:\x20string\x20expected':null!=_0x3c1112['lastDocumentSessionOperationId']&&_0x3c1112['hasOwnProperty']('lastDocumentSessionOperationId')&&!_0xdeaf10['isString'](_0x3c1112['lastDocumentSessionOperationId'])?'lastDocumentSessionOperationId:\x20string\x20expected':null!=_0x3c1112['currentDocumentSessionId']&&_0x3c1112['hasOwnProperty']('currentDocumentSessionId')&&!_0xdeaf10['isString'](_0x3c1112['currentDocumentSessionId'])?'currentDocumentSessionId:\x20string\x20expected':null!=_0x3c1112['currentDocumentSessionVersion']&&_0x3c1112['hasOwnProperty']('currentDocumentSessionVersion')&&!_0xdeaf10['isInteger'](_0x3c1112['currentDocumentSessionVersion'])?'currentDocumentSessionVersion:\x20integer\x20expected':null!=_0x3c1112['currentDocumentSessionOperationId']&&_0x3c1112['hasOwnProperty']('currentDocumentSessionOperationId')&&!_0xdeaf10['isString'](_0x3c1112['currentDocumentSessionOperationId'])?'currentDocumentSessionOperationId:\x20string\x20expected':null;},_0x181151['fromObject']=function(_0x1e201b){if(_0x1e201b instanceof _0x416af3['GetDocumentDetailsResponse'])return _0x1e201b;var _0x444bbf=new _0x416af3['GetDocumentDetailsResponse']();return null!=_0x1e201b['lastDocumentSessionId']&&(_0x444bbf['lastDocumentSessionId']=String(_0x1e201b['lastDocumentSessionId'])),null!=_0x1e201b['lastDocumentSessionOperationId']&&(_0x444bbf['lastDocumentSessionOperationId']=String(_0x1e201b['lastDocumentSessionOperationId'])),null!=_0x1e201b['currentDocumentSessionId']&&(_0x444bbf['currentDocumentSessionId']=String(_0x1e201b['currentDocumentSessionId'])),null!=_0x1e201b['currentDocumentSessionVersion']&&(_0x444bbf['currentDocumentSessionVersion']=_0x1e201b['currentDocumentSessionVersion']>>>0x0),null!=_0x1e201b['currentDocumentSessionOperationId']&&(_0x444bbf['currentDocumentSessionOperationId']=String(_0x1e201b['currentDocumentSessionOperationId'])),_0x444bbf;},_0x181151['toObject']=function(_0x44c3d2,_0x22d7d4){_0x22d7d4||(_0x22d7d4={});var _0x4e4bb8={};return _0x22d7d4['defaults']&&(_0x4e4bb8['lastDocumentSessionId']='',_0x4e4bb8['lastDocumentSessionOperationId']='',_0x4e4bb8['currentDocumentSessionId']='',_0x4e4bb8['currentDocumentSessionVersion']=0x0,_0x4e4bb8['currentDocumentSessionOperationId']=''),null!=_0x44c3d2['lastDocumentSessionId']&&_0x44c3d2['hasOwnProperty']('lastDocumentSessionId')&&(_0x4e4bb8['lastDocumentSessionId']=_0x44c3d2['lastDocumentSessionId']),null!=_0x44c3d2['lastDocumentSessionOperationId']&&_0x44c3d2['hasOwnProperty']('lastDocumentSessionOperationId')&&(_0x4e4bb8['lastDocumentSessionOperationId']=_0x44c3d2['lastDocumentSessionOperationId']),null!=_0x44c3d2['currentDocumentSessionId']&&_0x44c3d2['hasOwnProperty']('currentDocumentSessionId')&&(_0x4e4bb8['currentDocumentSessionId']=_0x44c3d2['currentDocumentSessionId']),null!=_0x44c3d2['currentDocumentSessionVersion']&&_0x44c3d2['hasOwnProperty']('currentDocumentSessionVersion')&&(_0x4e4bb8['currentDocumentSessionVersion']=_0x44c3d2['currentDocumentSessionVersion']),null!=_0x44c3d2['currentDocumentSessionOperationId']&&_0x44c3d2['hasOwnProperty']('currentDocumentSessionOperationId')&&(_0x4e4bb8['currentDocumentSessionOperationId']=_0x44c3d2['currentDocumentSessionOperationId']),_0x4e4bb8;},_0x181151['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x181151['getTypeUrl']=function(_0x3a341b){return void 0x0===_0x3a341b&&(_0x3a341b='type.googleapis.com'),_0x3a341b+'/GetDocumentDetailsResponse';},_0x181151;}()),_0x416af3['CollaborativeEditingResponse']=(function(){function _0x1f60d3(_0x236c0d){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x236c0d){for(var _0x2bd1fe=Object['keys'](_0x236c0d),_0x10421b=0x0;_0x10421b<_0x2bd1fe['length'];++_0x10421b)null!=_0x236c0d[_0x2bd1fe[_0x10421b]]&&(this[_0x2bd1fe[_0x10421b]]=_0x236c0d[_0x2bd1fe[_0x10421b]]);}}return _0x1f60d3['prototype']['version']=0x0,_0x1f60d3['prototype']['buffers']=_0xdeaf10['emptyArray'],_0x1f60d3['prototype']['types']=_0xdeaf10['emptyArray'],_0x1f60d3['prototype']['metadata']=_0xdeaf10['emptyArray'],_0x1f60d3['prototype']['lastOperationId']='',_0x1f60d3['prototype']['lastOperationAcceptedAt']='',_0x1f60d3['create']=function(_0x2290db){return new _0x1f60d3(_0x2290db);},_0x1f60d3['encode']=function(_0x16e8be,_0x5234c5){if(_0x5234c5||(_0x5234c5=_0x4ed70c['create']()),null!=_0x16e8be['version']&&Object['hasOwnProperty']['call'](_0x16e8be,'version')&&_0x5234c5['uint32'](0x8)['uint32'](_0x16e8be['version']),null!=_0x16e8be['buffers']&&_0x16e8be['buffers']['length']){for(var _0x45c094=0x0;_0x45c094<_0x16e8be['buffers']['length'];++_0x45c094)_0x5234c5['uint32'](0x12)['bytes'](_0x16e8be['buffers'][_0x45c094]);}if(null!=_0x16e8be['types']&&_0x16e8be['types']['length']){for(_0x5234c5['uint32'](0x1a)['fork'](),_0x45c094=0x0;_0x45c094<_0x16e8be['types']['length'];++_0x45c094)_0x5234c5['uint32'](_0x16e8be['types'][_0x45c094]);_0x5234c5['ldelim']();}if(null!=_0x16e8be['metadata']&&_0x16e8be['metadata']['length']){for(_0x45c094=0x0;_0x45c094<_0x16e8be['metadata']['length'];++_0x45c094)_0x416af3['OperationMetadataDescriptor']['encode'](_0x16e8be['metadata'][_0x45c094],_0x5234c5['uint32'](0x2a)['fork']())['ldelim']();}return null!=_0x16e8be['lastOperationId']&&Object['hasOwnProperty']['call'](_0x16e8be,'lastOperationId')&&_0x5234c5['uint32'](0x32)['string'](_0x16e8be['lastOperationId']),null!=_0x16e8be['lastOperationAcceptedAt']&&Object['hasOwnProperty']['call'](_0x16e8be,'lastOperationAcceptedAt')&&_0x5234c5['uint32'](0x3a)['string'](_0x16e8be['lastOperationAcceptedAt']),_0x5234c5;},_0x1f60d3['encodeDelimited']=function(_0x5ee065,_0x2d92f1){return this['encode'](_0x5ee065,_0x2d92f1)['ldelim']();},_0x1f60d3['decode']=function(_0x34197b,_0x4a0b0a,_0x2e0288){_0x34197b instanceof _0x3dd834||(_0x34197b=_0x3dd834['create'](_0x34197b));for(var _0x23a710=void 0x0===_0x4a0b0a?_0x34197b['len']:_0x34197b['pos']+_0x4a0b0a,_0x40d6ad=new _0x416af3['CollaborativeEditingResponse']();_0x34197b['pos']<_0x23a710;){var _0x5e93e4=_0x34197b['uint32']();if(_0x5e93e4===_0x2e0288)break;switch(_0x5e93e4>>>0x3){case 0x1:_0x40d6ad['version']=_0x34197b['uint32']();break;case 0x2:_0x40d6ad['buffers']&&_0x40d6ad['buffers']['length']||(_0x40d6ad['buffers']=[]),_0x40d6ad['buffers']['push'](_0x34197b['bytes']());break;case 0x3:if(_0x40d6ad['types']&&_0x40d6ad['types']['length']||(_0x40d6ad['types']=[]),0x2==(0x7&_0x5e93e4)){for(var _0xc79220=_0x34197b['uint32']()+_0x34197b['pos'];_0x34197b['pos']<_0xc79220;)_0x40d6ad['types']['push'](_0x34197b['uint32']());}else _0x40d6ad['types']['push'](_0x34197b['uint32']());break;case 0x5:_0x40d6ad['metadata']&&_0x40d6ad['metadata']['length']||(_0x40d6ad['metadata']=[]),_0x40d6ad['metadata']['push'](_0x416af3['OperationMetadataDescriptor']['decode'](_0x34197b,_0x34197b['uint32']()));break;case 0x6:_0x40d6ad['lastOperationId']=_0x34197b['string']();break;case 0x7:_0x40d6ad['lastOperationAcceptedAt']=_0x34197b['string']();break;default:_0x34197b['skipType'](0x7&_0x5e93e4);}}return _0x40d6ad;},_0x1f60d3['decodeDelimited']=function(_0x9413e4){return _0x9413e4 instanceof _0x3dd834||(_0x9413e4=new _0x3dd834(_0x9413e4)),this['decode'](_0x9413e4,_0x9413e4['uint32']());},_0x1f60d3['verify']=function(_0x5e2ba3){if('object'!=typeof _0x5e2ba3||null===_0x5e2ba3)return'object\x20expected';if(null!=_0x5e2ba3['version']&&_0x5e2ba3['hasOwnProperty']('version')&&!_0xdeaf10['isInteger'](_0x5e2ba3['version']))return'version:\x20integer\x20expected';if(null!=_0x5e2ba3['buffers']&&_0x5e2ba3['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x5e2ba3['buffers']))return'buffers:\x20array\x20expected';for(var _0x111046=0x0;_0x111046<_0x5e2ba3['buffers']['length'];++_0x111046)if(!(_0x5e2ba3['buffers'][_0x111046]&&'number'==typeof _0x5e2ba3['buffers'][_0x111046]['length']||_0xdeaf10['isString'](_0x5e2ba3['buffers'][_0x111046])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x5e2ba3['types']&&_0x5e2ba3['hasOwnProperty']('types')){if(!Array['isArray'](_0x5e2ba3['types']))return'types:\x20array\x20expected';for(_0x111046=0x0;_0x111046<_0x5e2ba3['types']['length'];++_0x111046)if(!_0xdeaf10['isInteger'](_0x5e2ba3['types'][_0x111046]))return'types:\x20integer[]\x20expected';}if(null!=_0x5e2ba3['metadata']&&_0x5e2ba3['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x5e2ba3['metadata']))return'metadata:\x20array\x20expected';for(_0x111046=0x0;_0x111046<_0x5e2ba3['metadata']['length'];++_0x111046){var _0x253550=_0x416af3['OperationMetadataDescriptor']['verify'](_0x5e2ba3['metadata'][_0x111046]);if(_0x253550)return'metadata.'+_0x253550;}}return null!=_0x5e2ba3['lastOperationId']&&_0x5e2ba3['hasOwnProperty']('lastOperationId')&&!_0xdeaf10['isString'](_0x5e2ba3['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x5e2ba3['lastOperationAcceptedAt']&&_0x5e2ba3['hasOwnProperty']('lastOperationAcceptedAt')&&!_0xdeaf10['isString'](_0x5e2ba3['lastOperationAcceptedAt'])?'lastOperationAcceptedAt:\x20string\x20expected':null;},_0x1f60d3['fromObject']=function(_0x242fb9){if(_0x242fb9 instanceof _0x416af3['CollaborativeEditingResponse'])return _0x242fb9;var _0x3cdf0e=new _0x416af3['CollaborativeEditingResponse']();if(null!=_0x242fb9['version']&&(_0x3cdf0e['version']=_0x242fb9['version']>>>0x0),_0x242fb9['buffers']){if(!Array['isArray'](_0x242fb9['buffers']))throw TypeError('.CollaborativeEditingResponse.buffers:\x20array\x20expected');_0x3cdf0e['buffers']=[];for(var _0x208314=0x0;_0x208314<_0x242fb9['buffers']['length'];++_0x208314)'string'==typeof _0x242fb9['buffers'][_0x208314]?_0xdeaf10['base64']['decode'](_0x242fb9['buffers'][_0x208314],_0x3cdf0e['buffers'][_0x208314]=_0xdeaf10['newBuffer'](_0xdeaf10['base64']['length'](_0x242fb9['buffers'][_0x208314])),0x0):_0x242fb9['buffers'][_0x208314]['length']>=0x0&&(_0x3cdf0e['buffers'][_0x208314]=_0x242fb9['buffers'][_0x208314]);}if(_0x242fb9['types']){if(!Array['isArray'](_0x242fb9['types']))throw TypeError('.CollaborativeEditingResponse.types:\x20array\x20expected');for(_0x3cdf0e['types']=[],_0x208314=0x0;_0x208314<_0x242fb9['types']['length'];++_0x208314)_0x3cdf0e['types'][_0x208314]=_0x242fb9['types'][_0x208314]>>>0x0;}if(_0x242fb9['metadata']){if(!Array['isArray'](_0x242fb9['metadata']))throw TypeError('.CollaborativeEditingResponse.metadata:\x20array\x20expected');for(_0x3cdf0e['metadata']=[],_0x208314=0x0;_0x208314<_0x242fb9['metadata']['length'];++_0x208314){if('object'!=typeof _0x242fb9['metadata'][_0x208314])throw TypeError('.CollaborativeEditingResponse.metadata:\x20object\x20expected');_0x3cdf0e['metadata'][_0x208314]=_0x416af3['OperationMetadataDescriptor']['fromObject'](_0x242fb9['metadata'][_0x208314]);}}return null!=_0x242fb9['lastOperationId']&&(_0x3cdf0e['lastOperationId']=String(_0x242fb9['lastOperationId'])),null!=_0x242fb9['lastOperationAcceptedAt']&&(_0x3cdf0e['lastOperationAcceptedAt']=String(_0x242fb9['lastOperationAcceptedAt'])),_0x3cdf0e;},_0x1f60d3['toObject']=function(_0x43f869,_0x76d1c6){_0x76d1c6||(_0x76d1c6={});var _0x12932c={};if((_0x76d1c6['arrays']||_0x76d1c6['defaults'])&&(_0x12932c['buffers']=[],_0x12932c['types']=[],_0x12932c['metadata']=[]),_0x76d1c6['defaults']&&(_0x12932c['version']=0x0,_0x12932c['lastOperationId']='',_0x12932c['lastOperationAcceptedAt']=''),null!=_0x43f869['version']&&_0x43f869['hasOwnProperty']('version')&&(_0x12932c['version']=_0x43f869['version']),_0x43f869['buffers']&&_0x43f869['buffers']['length']){_0x12932c['buffers']=[];for(var _0x5cf8a1=0x0;_0x5cf8a1<_0x43f869['buffers']['length'];++_0x5cf8a1)_0x12932c['buffers'][_0x5cf8a1]=_0x76d1c6['bytes']===String?_0xdeaf10['base64']['encode'](_0x43f869['buffers'][_0x5cf8a1],0x0,_0x43f869['buffers'][_0x5cf8a1]['length']):_0x76d1c6['bytes']===Array?Array['prototype']['slice']['call'](_0x43f869['buffers'][_0x5cf8a1]):_0x43f869['buffers'][_0x5cf8a1];}if(_0x43f869['types']&&_0x43f869['types']['length']){for(_0x12932c['types']=[],_0x5cf8a1=0x0;_0x5cf8a1<_0x43f869['types']['length'];++_0x5cf8a1)_0x12932c['types'][_0x5cf8a1]=_0x43f869['types'][_0x5cf8a1];}if(_0x43f869['metadata']&&_0x43f869['metadata']['length']){for(_0x12932c['metadata']=[],_0x5cf8a1=0x0;_0x5cf8a1<_0x43f869['metadata']['length'];++_0x5cf8a1)_0x12932c['metadata'][_0x5cf8a1]=_0x416af3['OperationMetadataDescriptor']['toObject'](_0x43f869['metadata'][_0x5cf8a1],_0x76d1c6);}return null!=_0x43f869['lastOperationId']&&_0x43f869['hasOwnProperty']('lastOperationId')&&(_0x12932c['lastOperationId']=_0x43f869['lastOperationId']),null!=_0x43f869['lastOperationAcceptedAt']&&_0x43f869['hasOwnProperty']('lastOperationAcceptedAt')&&(_0x12932c['lastOperationAcceptedAt']=_0x43f869['lastOperationAcceptedAt']),_0x12932c;},_0x1f60d3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1f60d3['getTypeUrl']=function(_0x41b02c){return void 0x0===_0x41b02c&&(_0x41b02c='type.googleapis.com'),_0x41b02c+'/CollaborativeEditingResponse';},_0x1f60d3;}()),_0x416af3['CollaborativeEditingConnectResponse']=(function(){function _0x5c0b59(_0x3f3551){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x3f3551){for(var _0x37ac8e=Object['keys'](_0x3f3551),_0x40bc47=0x0;_0x40bc47<_0x37ac8e['length'];++_0x40bc47)null!=_0x3f3551[_0x37ac8e[_0x40bc47]]&&(this[_0x37ac8e[_0x40bc47]]=_0x3f3551[_0x37ac8e[_0x40bc47]]);}}return _0x5c0b59['prototype']['channel']='',_0x5c0b59['prototype']['offset']=0x0,_0x5c0b59['prototype']['version']=0x0,_0x5c0b59['prototype']['buffers']=_0xdeaf10['emptyArray'],_0x5c0b59['prototype']['types']=_0xdeaf10['emptyArray'],_0x5c0b59['prototype']['metadata']=_0xdeaf10['emptyArray'],_0x5c0b59['prototype']['initData']='',_0x5c0b59['prototype']['isInitialized']=!0x1,_0x5c0b59['prototype']['sessionId']='',_0x5c0b59['prototype']['lastOperationId']='',_0x5c0b59['prototype']['sessionCreatedAt']='',_0x5c0b59['create']=function(_0x28a034){return new _0x5c0b59(_0x28a034);},_0x5c0b59['encode']=function(_0x38c195,_0x30672e){if(_0x30672e||(_0x30672e=_0x4ed70c['create']()),null!=_0x38c195['channel']&&Object['hasOwnProperty']['call'](_0x38c195,'channel')&&_0x30672e['uint32'](0xa)['string'](_0x38c195['channel']),null!=_0x38c195['offset']&&Object['hasOwnProperty']['call'](_0x38c195,'offset')&&_0x30672e['uint32'](0x10)['uint32'](_0x38c195['offset']),null!=_0x38c195['version']&&Object['hasOwnProperty']['call'](_0x38c195,'version')&&_0x30672e['uint32'](0x18)['uint32'](_0x38c195['version']),null!=_0x38c195['buffers']&&_0x38c195['buffers']['length']){for(var _0x4781ce=0x0;_0x4781ce<_0x38c195['buffers']['length'];++_0x4781ce)_0x30672e['uint32'](0x22)['bytes'](_0x38c195['buffers'][_0x4781ce]);}if(null!=_0x38c195['types']&&_0x38c195['types']['length']){for(_0x30672e['uint32'](0x2a)['fork'](),_0x4781ce=0x0;_0x4781ce<_0x38c195['types']['length'];++_0x4781ce)_0x30672e['uint32'](_0x38c195['types'][_0x4781ce]);_0x30672e['ldelim']();}if(null!=_0x38c195['metadata']&&_0x38c195['metadata']['length']){for(_0x4781ce=0x0;_0x4781ce<_0x38c195['metadata']['length'];++_0x4781ce)_0x416af3['OperationMetadataDescriptor']['encode'](_0x38c195['metadata'][_0x4781ce],_0x30672e['uint32'](0x3a)['fork']())['ldelim']();}return null!=_0x38c195['initData']&&Object['hasOwnProperty']['call'](_0x38c195,'initData')&&_0x30672e['uint32'](0x42)['string'](_0x38c195['initData']),null!=_0x38c195['isInitialized']&&Object['hasOwnProperty']['call'](_0x38c195,'isInitialized')&&_0x30672e['uint32'](0x48)['bool'](_0x38c195['isInitialized']),null!=_0x38c195['sessionId']&&Object['hasOwnProperty']['call'](_0x38c195,'sessionId')&&_0x30672e['uint32'](0x52)['string'](_0x38c195['sessionId']),null!=_0x38c195['lastOperationId']&&Object['hasOwnProperty']['call'](_0x38c195,'lastOperationId')&&_0x30672e['uint32'](0x5a)['string'](_0x38c195['lastOperationId']),null!=_0x38c195['sessionCreatedAt']&&Object['hasOwnProperty']['call'](_0x38c195,'sessionCreatedAt')&&_0x30672e['uint32'](0x62)['string'](_0x38c195['sessionCreatedAt']),_0x30672e;},_0x5c0b59['encodeDelimited']=function(_0x3ecb58,_0x1e2be3){return this['encode'](_0x3ecb58,_0x1e2be3)['ldelim']();},_0x5c0b59['decode']=function(_0x238fda,_0x30a768,_0x3c5bdd){_0x238fda instanceof _0x3dd834||(_0x238fda=_0x3dd834['create'](_0x238fda));for(var _0x1bbecf=void 0x0===_0x30a768?_0x238fda['len']:_0x238fda['pos']+_0x30a768,_0x1a7799=new _0x416af3['CollaborativeEditingConnectResponse']();_0x238fda['pos']<_0x1bbecf;){var _0x4ec38a=_0x238fda['uint32']();if(_0x4ec38a===_0x3c5bdd)break;switch(_0x4ec38a>>>0x3){case 0x1:_0x1a7799['channel']=_0x238fda['string']();break;case 0x2:_0x1a7799['offset']=_0x238fda['uint32']();break;case 0x3:_0x1a7799['version']=_0x238fda['uint32']();break;case 0x4:_0x1a7799['buffers']&&_0x1a7799['buffers']['length']||(_0x1a7799['buffers']=[]),_0x1a7799['buffers']['push'](_0x238fda['bytes']());break;case 0x5:if(_0x1a7799['types']&&_0x1a7799['types']['length']||(_0x1a7799['types']=[]),0x2==(0x7&_0x4ec38a)){for(var _0x5ddad6=_0x238fda['uint32']()+_0x238fda['pos'];_0x238fda['pos']<_0x5ddad6;)_0x1a7799['types']['push'](_0x238fda['uint32']());}else _0x1a7799['types']['push'](_0x238fda['uint32']());break;case 0x7:_0x1a7799['metadata']&&_0x1a7799['metadata']['length']||(_0x1a7799['metadata']=[]),_0x1a7799['metadata']['push'](_0x416af3['OperationMetadataDescriptor']['decode'](_0x238fda,_0x238fda['uint32']()));break;case 0x8:_0x1a7799['initData']=_0x238fda['string']();break;case 0x9:_0x1a7799['isInitialized']=_0x238fda['bool']();break;case 0xa:_0x1a7799['sessionId']=_0x238fda['string']();break;case 0xb:_0x1a7799['lastOperationId']=_0x238fda['string']();break;case 0xc:_0x1a7799['sessionCreatedAt']=_0x238fda['string']();break;default:_0x238fda['skipType'](0x7&_0x4ec38a);}}return _0x1a7799;},_0x5c0b59['decodeDelimited']=function(_0x2f0748){return _0x2f0748 instanceof _0x3dd834||(_0x2f0748=new _0x3dd834(_0x2f0748)),this['decode'](_0x2f0748,_0x2f0748['uint32']());},_0x5c0b59['verify']=function(_0x2daf26){if('object'!=typeof _0x2daf26||null===_0x2daf26)return'object\x20expected';if(null!=_0x2daf26['channel']&&_0x2daf26['hasOwnProperty']('channel')&&!_0xdeaf10['isString'](_0x2daf26['channel']))return'channel:\x20string\x20expected';if(null!=_0x2daf26['offset']&&_0x2daf26['hasOwnProperty']('offset')&&!_0xdeaf10['isInteger'](_0x2daf26['offset']))return'offset:\x20integer\x20expected';if(null!=_0x2daf26['version']&&_0x2daf26['hasOwnProperty']('version')&&!_0xdeaf10['isInteger'](_0x2daf26['version']))return'version:\x20integer\x20expected';if(null!=_0x2daf26['buffers']&&_0x2daf26['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x2daf26['buffers']))return'buffers:\x20array\x20expected';for(var _0x3a5a1c=0x0;_0x3a5a1c<_0x2daf26['buffers']['length'];++_0x3a5a1c)if(!(_0x2daf26['buffers'][_0x3a5a1c]&&'number'==typeof _0x2daf26['buffers'][_0x3a5a1c]['length']||_0xdeaf10['isString'](_0x2daf26['buffers'][_0x3a5a1c])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x2daf26['types']&&_0x2daf26['hasOwnProperty']('types')){if(!Array['isArray'](_0x2daf26['types']))return'types:\x20array\x20expected';for(_0x3a5a1c=0x0;_0x3a5a1c<_0x2daf26['types']['length'];++_0x3a5a1c)if(!_0xdeaf10['isInteger'](_0x2daf26['types'][_0x3a5a1c]))return'types:\x20integer[]\x20expected';}if(null!=_0x2daf26['metadata']&&_0x2daf26['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x2daf26['metadata']))return'metadata:\x20array\x20expected';for(_0x3a5a1c=0x0;_0x3a5a1c<_0x2daf26['metadata']['length'];++_0x3a5a1c){var _0x2643a2=_0x416af3['OperationMetadataDescriptor']['verify'](_0x2daf26['metadata'][_0x3a5a1c]);if(_0x2643a2)return'metadata.'+_0x2643a2;}}return null!=_0x2daf26['initData']&&_0x2daf26['hasOwnProperty']('initData')&&!_0xdeaf10['isString'](_0x2daf26['initData'])?'initData:\x20string\x20expected':null!=_0x2daf26['isInitialized']&&_0x2daf26['hasOwnProperty']('isInitialized')&&'boolean'!=typeof _0x2daf26['isInitialized']?'isInitialized:\x20boolean\x20expected':null!=_0x2daf26['sessionId']&&_0x2daf26['hasOwnProperty']('sessionId')&&!_0xdeaf10['isString'](_0x2daf26['sessionId'])?'sessionId:\x20string\x20expected':null!=_0x2daf26['lastOperationId']&&_0x2daf26['hasOwnProperty']('lastOperationId')&&!_0xdeaf10['isString'](_0x2daf26['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x2daf26['sessionCreatedAt']&&_0x2daf26['hasOwnProperty']('sessionCreatedAt')&&!_0xdeaf10['isString'](_0x2daf26['sessionCreatedAt'])?'sessionCreatedAt:\x20string\x20expected':null;},_0x5c0b59['fromObject']=function(_0x550731){if(_0x550731 instanceof _0x416af3['CollaborativeEditingConnectResponse'])return _0x550731;var _0x5053a0=new _0x416af3['CollaborativeEditingConnectResponse']();if(null!=_0x550731['channel']&&(_0x5053a0['channel']=String(_0x550731['channel'])),null!=_0x550731['offset']&&(_0x5053a0['offset']=_0x550731['offset']>>>0x0),null!=_0x550731['version']&&(_0x5053a0['version']=_0x550731['version']>>>0x0),_0x550731['buffers']){if(!Array['isArray'](_0x550731['buffers']))throw TypeError('.CollaborativeEditingConnectResponse.buffers:\x20array\x20expected');_0x5053a0['buffers']=[];for(var _0x1c21ef=0x0;_0x1c21ef<_0x550731['buffers']['length'];++_0x1c21ef)'string'==typeof _0x550731['buffers'][_0x1c21ef]?_0xdeaf10['base64']['decode'](_0x550731['buffers'][_0x1c21ef],_0x5053a0['buffers'][_0x1c21ef]=_0xdeaf10['newBuffer'](_0xdeaf10['base64']['length'](_0x550731['buffers'][_0x1c21ef])),0x0):_0x550731['buffers'][_0x1c21ef]['length']>=0x0&&(_0x5053a0['buffers'][_0x1c21ef]=_0x550731['buffers'][_0x1c21ef]);}if(_0x550731['types']){if(!Array['isArray'](_0x550731['types']))throw TypeError('.CollaborativeEditingConnectResponse.types:\x20array\x20expected');for(_0x5053a0['types']=[],_0x1c21ef=0x0;_0x1c21ef<_0x550731['types']['length'];++_0x1c21ef)_0x5053a0['types'][_0x1c21ef]=_0x550731['types'][_0x1c21ef]>>>0x0;}if(_0x550731['metadata']){if(!Array['isArray'](_0x550731['metadata']))throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20array\x20expected');for(_0x5053a0['metadata']=[],_0x1c21ef=0x0;_0x1c21ef<_0x550731['metadata']['length'];++_0x1c21ef){if('object'!=typeof _0x550731['metadata'][_0x1c21ef])throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20object\x20expected');_0x5053a0['metadata'][_0x1c21ef]=_0x416af3['OperationMetadataDescriptor']['fromObject'](_0x550731['metadata'][_0x1c21ef]);}}return null!=_0x550731['initData']&&(_0x5053a0['initData']=String(_0x550731['initData'])),null!=_0x550731['isInitialized']&&(_0x5053a0['isInitialized']=Boolean(_0x550731['isInitialized'])),null!=_0x550731['sessionId']&&(_0x5053a0['sessionId']=String(_0x550731['sessionId'])),null!=_0x550731['lastOperationId']&&(_0x5053a0['lastOperationId']=String(_0x550731['lastOperationId'])),null!=_0x550731['sessionCreatedAt']&&(_0x5053a0['sessionCreatedAt']=String(_0x550731['sessionCreatedAt'])),_0x5053a0;},_0x5c0b59['toObject']=function(_0x4219cf,_0x5a6547){_0x5a6547||(_0x5a6547={});var _0xed9fbb={};if((_0x5a6547['arrays']||_0x5a6547['defaults'])&&(_0xed9fbb['buffers']=[],_0xed9fbb['types']=[],_0xed9fbb['metadata']=[]),_0x5a6547['defaults']&&(_0xed9fbb['channel']='',_0xed9fbb['offset']=0x0,_0xed9fbb['version']=0x0,_0xed9fbb['initData']='',_0xed9fbb['isInitialized']=!0x1,_0xed9fbb['sessionId']='',_0xed9fbb['lastOperationId']='',_0xed9fbb['sessionCreatedAt']=''),null!=_0x4219cf['channel']&&_0x4219cf['hasOwnProperty']('channel')&&(_0xed9fbb['channel']=_0x4219cf['channel']),null!=_0x4219cf['offset']&&_0x4219cf['hasOwnProperty']('offset')&&(_0xed9fbb['offset']=_0x4219cf['offset']),null!=_0x4219cf['version']&&_0x4219cf['hasOwnProperty']('version')&&(_0xed9fbb['version']=_0x4219cf['version']),_0x4219cf['buffers']&&_0x4219cf['buffers']['length']){_0xed9fbb['buffers']=[];for(var _0x4e01f4=0x0;_0x4e01f4<_0x4219cf['buffers']['length'];++_0x4e01f4)_0xed9fbb['buffers'][_0x4e01f4]=_0x5a6547['bytes']===String?_0xdeaf10['base64']['encode'](_0x4219cf['buffers'][_0x4e01f4],0x0,_0x4219cf['buffers'][_0x4e01f4]['length']):_0x5a6547['bytes']===Array?Array['prototype']['slice']['call'](_0x4219cf['buffers'][_0x4e01f4]):_0x4219cf['buffers'][_0x4e01f4];}if(_0x4219cf['types']&&_0x4219cf['types']['length']){for(_0xed9fbb['types']=[],_0x4e01f4=0x0;_0x4e01f4<_0x4219cf['types']['length'];++_0x4e01f4)_0xed9fbb['types'][_0x4e01f4]=_0x4219cf['types'][_0x4e01f4];}if(_0x4219cf['metadata']&&_0x4219cf['metadata']['length']){for(_0xed9fbb['metadata']=[],_0x4e01f4=0x0;_0x4e01f4<_0x4219cf['metadata']['length'];++_0x4e01f4)_0xed9fbb['metadata'][_0x4e01f4]=_0x416af3['OperationMetadataDescriptor']['toObject'](_0x4219cf['metadata'][_0x4e01f4],_0x5a6547);}return null!=_0x4219cf['initData']&&_0x4219cf['hasOwnProperty']('initData')&&(_0xed9fbb['initData']=_0x4219cf['initData']),null!=_0x4219cf['isInitialized']&&_0x4219cf['hasOwnProperty']('isInitialized')&&(_0xed9fbb['isInitialized']=_0x4219cf['isInitialized']),null!=_0x4219cf['sessionId']&&_0x4219cf['hasOwnProperty']('sessionId')&&(_0xed9fbb['sessionId']=_0x4219cf['sessionId']),null!=_0x4219cf['lastOperationId']&&_0x4219cf['hasOwnProperty']('lastOperationId')&&(_0xed9fbb['lastOperationId']=_0x4219cf['lastOperationId']),null!=_0x4219cf['sessionCreatedAt']&&_0x4219cf['hasOwnProperty']('sessionCreatedAt')&&(_0xed9fbb['sessionCreatedAt']=_0x4219cf['sessionCreatedAt']),_0xed9fbb;},_0x5c0b59['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5c0b59['getTypeUrl']=function(_0x36f63f){return void 0x0===_0x36f63f&&(_0x36f63f='type.googleapis.com'),_0x36f63f+'/CollaborativeEditingConnectResponse';},_0x5c0b59;}()),_0x416af3['GetDocumentDetailsMessage']=(function(){function _0x2cde98(_0x2b0b1e){if(_0x2b0b1e){for(var _0x308502=Object['keys'](_0x2b0b1e),_0x3eda2e=0x0;_0x3eda2e<_0x308502['length'];++_0x3eda2e)null!=_0x2b0b1e[_0x308502[_0x3eda2e]]&&(this[_0x308502[_0x3eda2e]]=_0x2b0b1e[_0x308502[_0x3eda2e]]);}}return _0x2cde98['prototype']['documentId']='',_0x2cde98['prototype']['environmentId']='',_0x2cde98['create']=function(_0x5c5ecd){return new _0x2cde98(_0x5c5ecd);},_0x2cde98['encode']=function(_0x3c917c,_0x5b5114){return _0x5b5114||(_0x5b5114=_0x4ed70c['create']()),null!=_0x3c917c['documentId']&&Object['hasOwnProperty']['call'](_0x3c917c,'documentId')&&_0x5b5114['uint32'](0xa)['string'](_0x3c917c['documentId']),null!=_0x3c917c['environmentId']&&Object['hasOwnProperty']['call'](_0x3c917c,'environmentId')&&_0x5b5114['uint32'](0x12)['string'](_0x3c917c['environmentId']),_0x5b5114;},_0x2cde98['encodeDelimited']=function(_0x51a8fb,_0x56d2d3){return this['encode'](_0x51a8fb,_0x56d2d3)['ldelim']();},_0x2cde98['decode']=function(_0x5f8c38,_0x3f1cfc,_0x142f8d){_0x5f8c38 instanceof _0x3dd834||(_0x5f8c38=_0x3dd834['create'](_0x5f8c38));for(var _0x2af2f7=void 0x0===_0x3f1cfc?_0x5f8c38['len']:_0x5f8c38['pos']+_0x3f1cfc,_0x1277ab=new _0x416af3['GetDocumentDetailsMessage']();_0x5f8c38['pos']<_0x2af2f7;){var _0x2ffff1=_0x5f8c38['uint32']();if(_0x2ffff1===_0x142f8d)break;switch(_0x2ffff1>>>0x3){case 0x1:_0x1277ab['documentId']=_0x5f8c38['string']();break;case 0x2:_0x1277ab['environmentId']=_0x5f8c38['string']();break;default:_0x5f8c38['skipType'](0x7&_0x2ffff1);}}return _0x1277ab;},_0x2cde98['decodeDelimited']=function(_0x2c029e){return _0x2c029e instanceof _0x3dd834||(_0x2c029e=new _0x3dd834(_0x2c029e)),this['decode'](_0x2c029e,_0x2c029e['uint32']());},_0x2cde98['verify']=function(_0xfb5500){return'object'!=typeof _0xfb5500||null===_0xfb5500?'object\x20expected':null!=_0xfb5500['documentId']&&_0xfb5500['hasOwnProperty']('documentId')&&!_0xdeaf10['isString'](_0xfb5500['documentId'])?'documentId:\x20string\x20expected':null!=_0xfb5500['environmentId']&&_0xfb5500['hasOwnProperty']('environmentId')&&!_0xdeaf10['isString'](_0xfb5500['environmentId'])?'environmentId:\x20string\x20expected':null;},_0x2cde98['fromObject']=function(_0xb1045f){if(_0xb1045f instanceof _0x416af3['GetDocumentDetailsMessage'])return _0xb1045f;var _0x14fbfb=new _0x416af3['GetDocumentDetailsMessage']();return null!=_0xb1045f['documentId']&&(_0x14fbfb['documentId']=String(_0xb1045f['documentId'])),null!=_0xb1045f['environmentId']&&(_0x14fbfb['environmentId']=String(_0xb1045f['environmentId'])),_0x14fbfb;},_0x2cde98['toObject']=function(_0x305cbc,_0x346d4f){_0x346d4f||(_0x346d4f={});var _0x2f03bd={};return _0x346d4f['defaults']&&(_0x2f03bd['documentId']='',_0x2f03bd['environmentId']=''),null!=_0x305cbc['documentId']&&_0x305cbc['hasOwnProperty']('documentId')&&(_0x2f03bd['documentId']=_0x305cbc['documentId']),null!=_0x305cbc['environmentId']&&_0x305cbc['hasOwnProperty']('environmentId')&&(_0x2f03bd['environmentId']=_0x305cbc['environmentId']),_0x2f03bd;},_0x2cde98['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2cde98['getTypeUrl']=function(_0x28abde){return void 0x0===_0x28abde&&(_0x28abde='type.googleapis.com'),_0x28abde+'/GetDocumentDetailsMessage';},_0x2cde98;}()),_0x416af3['CollaborativeEditingUpdateMessage']=(function(){function _0x1765bc(_0x68a0b5){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x68a0b5){for(var _0x177f33=Object['keys'](_0x68a0b5),_0x2cbeb0=0x0;_0x2cbeb0<_0x177f33['length'];++_0x2cbeb0)null!=_0x68a0b5[_0x177f33[_0x2cbeb0]]&&(this[_0x177f33[_0x2cbeb0]]=_0x68a0b5[_0x177f33[_0x2cbeb0]]);}}return _0x1765bc['prototype']['id']='',_0x1765bc['prototype']['baseVersion']=0x0,_0x1765bc['prototype']['buffers']=_0xdeaf10['emptyArray'],_0x1765bc['prototype']['types']=_0xdeaf10['emptyArray'],_0x1765bc['prototype']['metadata']=_0xdeaf10['emptyArray'],_0x1765bc['prototype']['lastOperationId']='',_0x1765bc['create']=function(_0x126d8b){return new _0x1765bc(_0x126d8b);},_0x1765bc['encode']=function(_0x444e9d,_0xcb399c){if(_0xcb399c||(_0xcb399c=_0x4ed70c['create']()),null!=_0x444e9d['id']&&Object['hasOwnProperty']['call'](_0x444e9d,'id')&&_0xcb399c['uint32'](0xa)['string'](_0x444e9d['id']),null!=_0x444e9d['baseVersion']&&Object['hasOwnProperty']['call'](_0x444e9d,'baseVersion')&&_0xcb399c['uint32'](0x10)['uint32'](_0x444e9d['baseVersion']),null!=_0x444e9d['buffers']&&_0x444e9d['buffers']['length']){for(var _0xed6b7b=0x0;_0xed6b7b<_0x444e9d['buffers']['length'];++_0xed6b7b)_0xcb399c['uint32'](0x1a)['bytes'](_0x444e9d['buffers'][_0xed6b7b]);}if(null!=_0x444e9d['types']&&_0x444e9d['types']['length']){for(_0xcb399c['uint32'](0x22)['fork'](),_0xed6b7b=0x0;_0xed6b7b<_0x444e9d['types']['length'];++_0xed6b7b)_0xcb399c['uint32'](_0x444e9d['types'][_0xed6b7b]);_0xcb399c['ldelim']();}if(null!=_0x444e9d['metadata']&&_0x444e9d['metadata']['length']){for(_0xed6b7b=0x0;_0xed6b7b<_0x444e9d['metadata']['length'];++_0xed6b7b)_0x416af3['OperationMetadataDescriptor']['encode'](_0x444e9d['metadata'][_0xed6b7b],_0xcb399c['uint32'](0x32)['fork']())['ldelim']();}return null!=_0x444e9d['lastOperationId']&&Object['hasOwnProperty']['call'](_0x444e9d,'lastOperationId')&&_0xcb399c['uint32'](0x3a)['string'](_0x444e9d['lastOperationId']),_0xcb399c;},_0x1765bc['encodeDelimited']=function(_0x46658c,_0x19b5e7){return this['encode'](_0x46658c,_0x19b5e7)['ldelim']();},_0x1765bc['decode']=function(_0x2c10f0,_0x1a7fdb,_0x59f551){_0x2c10f0 instanceof _0x3dd834||(_0x2c10f0=_0x3dd834['create'](_0x2c10f0));for(var _0x509dc9=void 0x0===_0x1a7fdb?_0x2c10f0['len']:_0x2c10f0['pos']+_0x1a7fdb,_0x5233c9=new _0x416af3['CollaborativeEditingUpdateMessage']();_0x2c10f0['pos']<_0x509dc9;){var _0x1b9d3a=_0x2c10f0['uint32']();if(_0x1b9d3a===_0x59f551)break;switch(_0x1b9d3a>>>0x3){case 0x1:_0x5233c9['id']=_0x2c10f0['string']();break;case 0x2:_0x5233c9['baseVersion']=_0x2c10f0['uint32']();break;case 0x3:_0x5233c9['buffers']&&_0x5233c9['buffers']['length']||(_0x5233c9['buffers']=[]),_0x5233c9['buffers']['push'](_0x2c10f0['bytes']());break;case 0x4:if(_0x5233c9['types']&&_0x5233c9['types']['length']||(_0x5233c9['types']=[]),0x2==(0x7&_0x1b9d3a)){for(var _0x48e8ba=_0x2c10f0['uint32']()+_0x2c10f0['pos'];_0x2c10f0['pos']<_0x48e8ba;)_0x5233c9['types']['push'](_0x2c10f0['uint32']());}else _0x5233c9['types']['push'](_0x2c10f0['uint32']());break;case 0x6:_0x5233c9['metadata']&&_0x5233c9['metadata']['length']||(_0x5233c9['metadata']=[]),_0x5233c9['metadata']['push'](_0x416af3['OperationMetadataDescriptor']['decode'](_0x2c10f0,_0x2c10f0['uint32']()));break;case 0x7:_0x5233c9['lastOperationId']=_0x2c10f0['string']();break;default:_0x2c10f0['skipType'](0x7&_0x1b9d3a);}}return _0x5233c9;},_0x1765bc['decodeDelimited']=function(_0x328b62){return _0x328b62 instanceof _0x3dd834||(_0x328b62=new _0x3dd834(_0x328b62)),this['decode'](_0x328b62,_0x328b62['uint32']());},_0x1765bc['verify']=function(_0x155479){if('object'!=typeof _0x155479||null===_0x155479)return'object\x20expected';if(null!=_0x155479['id']&&_0x155479['hasOwnProperty']('id')&&!_0xdeaf10['isString'](_0x155479['id']))return'id:\x20string\x20expected';if(null!=_0x155479['baseVersion']&&_0x155479['hasOwnProperty']('baseVersion')&&!_0xdeaf10['isInteger'](_0x155479['baseVersion']))return'baseVersion:\x20integer\x20expected';if(null!=_0x155479['buffers']&&_0x155479['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x155479['buffers']))return'buffers:\x20array\x20expected';for(var _0x2a8fde=0x0;_0x2a8fde<_0x155479['buffers']['length'];++_0x2a8fde)if(!(_0x155479['buffers'][_0x2a8fde]&&'number'==typeof _0x155479['buffers'][_0x2a8fde]['length']||_0xdeaf10['isString'](_0x155479['buffers'][_0x2a8fde])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x155479['types']&&_0x155479['hasOwnProperty']('types')){if(!Array['isArray'](_0x155479['types']))return'types:\x20array\x20expected';for(_0x2a8fde=0x0;_0x2a8fde<_0x155479['types']['length'];++_0x2a8fde)if(!_0xdeaf10['isInteger'](_0x155479['types'][_0x2a8fde]))return'types:\x20integer[]\x20expected';}if(null!=_0x155479['metadata']&&_0x155479['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x155479['metadata']))return'metadata:\x20array\x20expected';for(_0x2a8fde=0x0;_0x2a8fde<_0x155479['metadata']['length'];++_0x2a8fde){var _0x4f7ada=_0x416af3['OperationMetadataDescriptor']['verify'](_0x155479['metadata'][_0x2a8fde]);if(_0x4f7ada)return'metadata.'+_0x4f7ada;}}return null!=_0x155479['lastOperationId']&&_0x155479['hasOwnProperty']('lastOperationId')&&!_0xdeaf10['isString'](_0x155479['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x1765bc['fromObject']=function(_0x3ddeb8){if(_0x3ddeb8 instanceof _0x416af3['CollaborativeEditingUpdateMessage'])return _0x3ddeb8;var _0x2a8cf0=new _0x416af3['CollaborativeEditingUpdateMessage']();if(null!=_0x3ddeb8['id']&&(_0x2a8cf0['id']=String(_0x3ddeb8['id'])),null!=_0x3ddeb8['baseVersion']&&(_0x2a8cf0['baseVersion']=_0x3ddeb8['baseVersion']>>>0x0),_0x3ddeb8['buffers']){if(!Array['isArray'](_0x3ddeb8['buffers']))throw TypeError('.CollaborativeEditingUpdateMessage.buffers:\x20array\x20expected');_0x2a8cf0['buffers']=[];for(var _0x64e872=0x0;_0x64e872<_0x3ddeb8['buffers']['length'];++_0x64e872)'string'==typeof _0x3ddeb8['buffers'][_0x64e872]?_0xdeaf10['base64']['decode'](_0x3ddeb8['buffers'][_0x64e872],_0x2a8cf0['buffers'][_0x64e872]=_0xdeaf10['newBuffer'](_0xdeaf10['base64']['length'](_0x3ddeb8['buffers'][_0x64e872])),0x0):_0x3ddeb8['buffers'][_0x64e872]['length']>=0x0&&(_0x2a8cf0['buffers'][_0x64e872]=_0x3ddeb8['buffers'][_0x64e872]);}if(_0x3ddeb8['types']){if(!Array['isArray'](_0x3ddeb8['types']))throw TypeError('.CollaborativeEditingUpdateMessage.types:\x20array\x20expected');for(_0x2a8cf0['types']=[],_0x64e872=0x0;_0x64e872<_0x3ddeb8['types']['length'];++_0x64e872)_0x2a8cf0['types'][_0x64e872]=_0x3ddeb8['types'][_0x64e872]>>>0x0;}if(_0x3ddeb8['metadata']){if(!Array['isArray'](_0x3ddeb8['metadata']))throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20array\x20expected');for(_0x2a8cf0['metadata']=[],_0x64e872=0x0;_0x64e872<_0x3ddeb8['metadata']['length'];++_0x64e872){if('object'!=typeof _0x3ddeb8['metadata'][_0x64e872])throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20object\x20expected');_0x2a8cf0['metadata'][_0x64e872]=_0x416af3['OperationMetadataDescriptor']['fromObject'](_0x3ddeb8['metadata'][_0x64e872]);}}return null!=_0x3ddeb8['lastOperationId']&&(_0x2a8cf0['lastOperationId']=String(_0x3ddeb8['lastOperationId'])),_0x2a8cf0;},_0x1765bc['toObject']=function(_0x3afa20,_0x1cfa9e){_0x1cfa9e||(_0x1cfa9e={});var _0x25b444={};if((_0x1cfa9e['arrays']||_0x1cfa9e['defaults'])&&(_0x25b444['buffers']=[],_0x25b444['types']=[],_0x25b444['metadata']=[]),_0x1cfa9e['defaults']&&(_0x25b444['id']='',_0x25b444['baseVersion']=0x0,_0x25b444['lastOperationId']=''),null!=_0x3afa20['id']&&_0x3afa20['hasOwnProperty']('id')&&(_0x25b444['id']=_0x3afa20['id']),null!=_0x3afa20['baseVersion']&&_0x3afa20['hasOwnProperty']('baseVersion')&&(_0x25b444['baseVersion']=_0x3afa20['baseVersion']),_0x3afa20['buffers']&&_0x3afa20['buffers']['length']){_0x25b444['buffers']=[];for(var _0x47fcf1=0x0;_0x47fcf1<_0x3afa20['buffers']['length'];++_0x47fcf1)_0x25b444['buffers'][_0x47fcf1]=_0x1cfa9e['bytes']===String?_0xdeaf10['base64']['encode'](_0x3afa20['buffers'][_0x47fcf1],0x0,_0x3afa20['buffers'][_0x47fcf1]['length']):_0x1cfa9e['bytes']===Array?Array['prototype']['slice']['call'](_0x3afa20['buffers'][_0x47fcf1]):_0x3afa20['buffers'][_0x47fcf1];}if(_0x3afa20['types']&&_0x3afa20['types']['length']){for(_0x25b444['types']=[],_0x47fcf1=0x0;_0x47fcf1<_0x3afa20['types']['length'];++_0x47fcf1)_0x25b444['types'][_0x47fcf1]=_0x3afa20['types'][_0x47fcf1];}if(_0x3afa20['metadata']&&_0x3afa20['metadata']['length']){for(_0x25b444['metadata']=[],_0x47fcf1=0x0;_0x47fcf1<_0x3afa20['metadata']['length'];++_0x47fcf1)_0x25b444['metadata'][_0x47fcf1]=_0x416af3['OperationMetadataDescriptor']['toObject'](_0x3afa20['metadata'][_0x47fcf1],_0x1cfa9e);}return null!=_0x3afa20['lastOperationId']&&_0x3afa20['hasOwnProperty']('lastOperationId')&&(_0x25b444['lastOperationId']=_0x3afa20['lastOperationId']),_0x25b444;},_0x1765bc['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1765bc['getTypeUrl']=function(_0x176d3d){return void 0x0===_0x176d3d&&(_0x176d3d='type.googleapis.com'),_0x176d3d+'/CollaborativeEditingUpdateMessage';},_0x1765bc;}()),_0x416af3['CollaborativeEditingReconnectMessage']=(function(){function _0x1d6822(_0xa0768e){if(_0xa0768e){for(var _0x4d5eab=Object['keys'](_0xa0768e),_0x43c373=0x0;_0x43c373<_0x4d5eab['length'];++_0x43c373)null!=_0xa0768e[_0x4d5eab[_0x43c373]]&&(this[_0x4d5eab[_0x43c373]]=_0xa0768e[_0x4d5eab[_0x43c373]]);}}return _0x1d6822['prototype']['id']='',_0x1d6822['prototype']['bundleVersion']='',_0x1d6822['prototype']['lastKnowVersion']=0x0,_0x1d6822['create']=function(_0x33f98e){return new _0x1d6822(_0x33f98e);},_0x1d6822['encode']=function(_0x4d3f39,_0x2b4198){return _0x2b4198||(_0x2b4198=_0x4ed70c['create']()),null!=_0x4d3f39['id']&&Object['hasOwnProperty']['call'](_0x4d3f39,'id')&&_0x2b4198['uint32'](0xa)['string'](_0x4d3f39['id']),null!=_0x4d3f39['bundleVersion']&&Object['hasOwnProperty']['call'](_0x4d3f39,'bundleVersion')&&_0x2b4198['uint32'](0x12)['string'](_0x4d3f39['bundleVersion']),null!=_0x4d3f39['lastKnowVersion']&&Object['hasOwnProperty']['call'](_0x4d3f39,'lastKnowVersion')&&_0x2b4198['uint32'](0x18)['uint32'](_0x4d3f39['lastKnowVersion']),_0x2b4198;},_0x1d6822['encodeDelimited']=function(_0x49661d,_0x12034b){return this['encode'](_0x49661d,_0x12034b)['ldelim']();},_0x1d6822['decode']=function(_0x20b4a5,_0x4fe584,_0xbdfd1b){_0x20b4a5 instanceof _0x3dd834||(_0x20b4a5=_0x3dd834['create'](_0x20b4a5));for(var _0x33449b=void 0x0===_0x4fe584?_0x20b4a5['len']:_0x20b4a5['pos']+_0x4fe584,_0x473051=new _0x416af3['CollaborativeEditingReconnectMessage']();_0x20b4a5['pos']<_0x33449b;){var _0x91efb1=_0x20b4a5['uint32']();if(_0x91efb1===_0xbdfd1b)break;switch(_0x91efb1>>>0x3){case 0x1:_0x473051['id']=_0x20b4a5['string']();break;case 0x2:_0x473051['bundleVersion']=_0x20b4a5['string']();break;case 0x3:_0x473051['lastKnowVersion']=_0x20b4a5['uint32']();break;default:_0x20b4a5['skipType'](0x7&_0x91efb1);}}return _0x473051;},_0x1d6822['decodeDelimited']=function(_0x4eb0f7){return _0x4eb0f7 instanceof _0x3dd834||(_0x4eb0f7=new _0x3dd834(_0x4eb0f7)),this['decode'](_0x4eb0f7,_0x4eb0f7['uint32']());},_0x1d6822['verify']=function(_0x470fe9){return'object'!=typeof _0x470fe9||null===_0x470fe9?'object\x20expected':null!=_0x470fe9['id']&&_0x470fe9['hasOwnProperty']('id')&&!_0xdeaf10['isString'](_0x470fe9['id'])?'id:\x20string\x20expected':null!=_0x470fe9['bundleVersion']&&_0x470fe9['hasOwnProperty']('bundleVersion')&&!_0xdeaf10['isString'](_0x470fe9['bundleVersion'])?'bundleVersion:\x20string\x20expected':null!=_0x470fe9['lastKnowVersion']&&_0x470fe9['hasOwnProperty']('lastKnowVersion')&&!_0xdeaf10['isInteger'](_0x470fe9['lastKnowVersion'])?'lastKnowVersion:\x20integer\x20expected':null;},_0x1d6822['fromObject']=function(_0x2f68ce){if(_0x2f68ce instanceof _0x416af3['CollaborativeEditingReconnectMessage'])return _0x2f68ce;var _0x2931de=new _0x416af3['CollaborativeEditingReconnectMessage']();return null!=_0x2f68ce['id']&&(_0x2931de['id']=String(_0x2f68ce['id'])),null!=_0x2f68ce['bundleVersion']&&(_0x2931de['bundleVersion']=String(_0x2f68ce['bundleVersion'])),null!=_0x2f68ce['lastKnowVersion']&&(_0x2931de['lastKnowVersion']=_0x2f68ce['lastKnowVersion']>>>0x0),_0x2931de;},_0x1d6822['toObject']=function(_0x3cde02,_0x30a095){_0x30a095||(_0x30a095={});var _0x3ecbce={};return _0x30a095['defaults']&&(_0x3ecbce['id']='',_0x3ecbce['bundleVersion']='',_0x3ecbce['lastKnowVersion']=0x0),null!=_0x3cde02['id']&&_0x3cde02['hasOwnProperty']('id')&&(_0x3ecbce['id']=_0x3cde02['id']),null!=_0x3cde02['bundleVersion']&&_0x3cde02['hasOwnProperty']('bundleVersion')&&(_0x3ecbce['bundleVersion']=_0x3cde02['bundleVersion']),null!=_0x3cde02['lastKnowVersion']&&_0x3cde02['hasOwnProperty']('lastKnowVersion')&&(_0x3ecbce['lastKnowVersion']=_0x3cde02['lastKnowVersion']),_0x3ecbce;},_0x1d6822['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1d6822['getTypeUrl']=function(_0x1a972a){return void 0x0===_0x1a972a&&(_0x1a972a='type.googleapis.com'),_0x1a972a+'/CollaborativeEditingReconnectMessage';},_0x1d6822;}()),_0x416af3['CollaborativeEditingConnectMessage']=(function(){function _0x13072d(_0x44b248){if(this['buffers']=[],this['types']=[],_0x44b248){for(var _0x128f43=Object['keys'](_0x44b248),_0x7130a8=0x0;_0x7130a8<_0x128f43['length'];++_0x7130a8)null!=_0x44b248[_0x128f43[_0x7130a8]]&&(this[_0x128f43[_0x7130a8]]=_0x44b248[_0x128f43[_0x7130a8]]);}}return _0x13072d['prototype']['id']='',_0x13072d['prototype']['bundleVersion']='',_0x13072d['prototype']['buffers']=_0xdeaf10['emptyArray'],_0x13072d['prototype']['types']=_0xdeaf10['emptyArray'],_0x13072d['prototype']['lastOperationId']='',_0x13072d['create']=function(_0x1ebc28){return new _0x13072d(_0x1ebc28);},_0x13072d['encode']=function(_0x1f386c,_0x5eeadb){if(_0x5eeadb||(_0x5eeadb=_0x4ed70c['create']()),null!=_0x1f386c['id']&&Object['hasOwnProperty']['call'](_0x1f386c,'id')&&_0x5eeadb['uint32'](0xa)['string'](_0x1f386c['id']),null!=_0x1f386c['bundleVersion']&&Object['hasOwnProperty']['call'](_0x1f386c,'bundleVersion')&&_0x5eeadb['uint32'](0x12)['string'](_0x1f386c['bundleVersion']),null!=_0x1f386c['buffers']&&_0x1f386c['buffers']['length']){for(var _0x57fefd=0x0;_0x57fefd<_0x1f386c['buffers']['length'];++_0x57fefd)_0x5eeadb['uint32'](0x1a)['bytes'](_0x1f386c['buffers'][_0x57fefd]);}if(null!=_0x1f386c['types']&&_0x1f386c['types']['length']){for(_0x5eeadb['uint32'](0x22)['fork'](),_0x57fefd=0x0;_0x57fefd<_0x1f386c['types']['length'];++_0x57fefd)_0x5eeadb['uint32'](_0x1f386c['types'][_0x57fefd]);_0x5eeadb['ldelim']();}return null!=_0x1f386c['lastOperationId']&&Object['hasOwnProperty']['call'](_0x1f386c,'lastOperationId')&&_0x5eeadb['uint32'](0x2a)['string'](_0x1f386c['lastOperationId']),_0x5eeadb;},_0x13072d['encodeDelimited']=function(_0x53a805,_0x255697){return this['encode'](_0x53a805,_0x255697)['ldelim']();},_0x13072d['decode']=function(_0x690ef6,_0x1ae19a,_0x4f095a){_0x690ef6 instanceof _0x3dd834||(_0x690ef6=_0x3dd834['create'](_0x690ef6));for(var _0x26a6cd=void 0x0===_0x1ae19a?_0x690ef6['len']:_0x690ef6['pos']+_0x1ae19a,_0x2cde08=new _0x416af3['CollaborativeEditingConnectMessage']();_0x690ef6['pos']<_0x26a6cd;){var _0x52beaf=_0x690ef6['uint32']();if(_0x52beaf===_0x4f095a)break;switch(_0x52beaf>>>0x3){case 0x1:_0x2cde08['id']=_0x690ef6['string']();break;case 0x2:_0x2cde08['bundleVersion']=_0x690ef6['string']();break;case 0x3:_0x2cde08['buffers']&&_0x2cde08['buffers']['length']||(_0x2cde08['buffers']=[]),_0x2cde08['buffers']['push'](_0x690ef6['bytes']());break;case 0x4:if(_0x2cde08['types']&&_0x2cde08['types']['length']||(_0x2cde08['types']=[]),0x2==(0x7&_0x52beaf)){for(var _0x2b45f9=_0x690ef6['uint32']()+_0x690ef6['pos'];_0x690ef6['pos']<_0x2b45f9;)_0x2cde08['types']['push'](_0x690ef6['uint32']());}else _0x2cde08['types']['push'](_0x690ef6['uint32']());break;case 0x5:_0x2cde08['lastOperationId']=_0x690ef6['string']();break;default:_0x690ef6['skipType'](0x7&_0x52beaf);}}return _0x2cde08;},_0x13072d['decodeDelimited']=function(_0x1beddd){return _0x1beddd instanceof _0x3dd834||(_0x1beddd=new _0x3dd834(_0x1beddd)),this['decode'](_0x1beddd,_0x1beddd['uint32']());},_0x13072d['verify']=function(_0x502fc3){if('object'!=typeof _0x502fc3||null===_0x502fc3)return'object\x20expected';if(null!=_0x502fc3['id']&&_0x502fc3['hasOwnProperty']('id')&&!_0xdeaf10['isString'](_0x502fc3['id']))return'id:\x20string\x20expected';if(null!=_0x502fc3['bundleVersion']&&_0x502fc3['hasOwnProperty']('bundleVersion')&&!_0xdeaf10['isString'](_0x502fc3['bundleVersion']))return'bundleVersion:\x20string\x20expected';if(null!=_0x502fc3['buffers']&&_0x502fc3['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x502fc3['buffers']))return'buffers:\x20array\x20expected';for(var _0xf0c388=0x0;_0xf0c388<_0x502fc3['buffers']['length'];++_0xf0c388)if(!(_0x502fc3['buffers'][_0xf0c388]&&'number'==typeof _0x502fc3['buffers'][_0xf0c388]['length']||_0xdeaf10['isString'](_0x502fc3['buffers'][_0xf0c388])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x502fc3['types']&&_0x502fc3['hasOwnProperty']('types')){if(!Array['isArray'](_0x502fc3['types']))return'types:\x20array\x20expected';for(_0xf0c388=0x0;_0xf0c388<_0x502fc3['types']['length'];++_0xf0c388)if(!_0xdeaf10['isInteger'](_0x502fc3['types'][_0xf0c388]))return'types:\x20integer[]\x20expected';}return null!=_0x502fc3['lastOperationId']&&_0x502fc3['hasOwnProperty']('lastOperationId')&&!_0xdeaf10['isString'](_0x502fc3['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x13072d['fromObject']=function(_0x5dcf99){if(_0x5dcf99 instanceof _0x416af3['CollaborativeEditingConnectMessage'])return _0x5dcf99;var _0x203eac=new _0x416af3['CollaborativeEditingConnectMessage']();if(null!=_0x5dcf99['id']&&(_0x203eac['id']=String(_0x5dcf99['id'])),null!=_0x5dcf99['bundleVersion']&&(_0x203eac['bundleVersion']=String(_0x5dcf99['bundleVersion'])),_0x5dcf99['buffers']){if(!Array['isArray'](_0x5dcf99['buffers']))throw TypeError('.CollaborativeEditingConnectMessage.buffers:\x20array\x20expected');_0x203eac['buffers']=[];for(var _0x29e4f4=0x0;_0x29e4f4<_0x5dcf99['buffers']['length'];++_0x29e4f4)'string'==typeof _0x5dcf99['buffers'][_0x29e4f4]?_0xdeaf10['base64']['decode'](_0x5dcf99['buffers'][_0x29e4f4],_0x203eac['buffers'][_0x29e4f4]=_0xdeaf10['newBuffer'](_0xdeaf10['base64']['length'](_0x5dcf99['buffers'][_0x29e4f4])),0x0):_0x5dcf99['buffers'][_0x29e4f4]['length']>=0x0&&(_0x203eac['buffers'][_0x29e4f4]=_0x5dcf99['buffers'][_0x29e4f4]);}if(_0x5dcf99['types']){if(!Array['isArray'](_0x5dcf99['types']))throw TypeError('.CollaborativeEditingConnectMessage.types:\x20array\x20expected');for(_0x203eac['types']=[],_0x29e4f4=0x0;_0x29e4f4<_0x5dcf99['types']['length'];++_0x29e4f4)_0x203eac['types'][_0x29e4f4]=_0x5dcf99['types'][_0x29e4f4]>>>0x0;}return null!=_0x5dcf99['lastOperationId']&&(_0x203eac['lastOperationId']=String(_0x5dcf99['lastOperationId'])),_0x203eac;},_0x13072d['toObject']=function(_0x4bb809,_0x339365){_0x339365||(_0x339365={});var _0x39caf5={};if((_0x339365['arrays']||_0x339365['defaults'])&&(_0x39caf5['buffers']=[],_0x39caf5['types']=[]),_0x339365['defaults']&&(_0x39caf5['id']='',_0x39caf5['bundleVersion']='',_0x39caf5['lastOperationId']=''),null!=_0x4bb809['id']&&_0x4bb809['hasOwnProperty']('id')&&(_0x39caf5['id']=_0x4bb809['id']),null!=_0x4bb809['bundleVersion']&&_0x4bb809['hasOwnProperty']('bundleVersion')&&(_0x39caf5['bundleVersion']=_0x4bb809['bundleVersion']),_0x4bb809['buffers']&&_0x4bb809['buffers']['length']){_0x39caf5['buffers']=[];for(var _0x8c102c=0x0;_0x8c102c<_0x4bb809['buffers']['length'];++_0x8c102c)_0x39caf5['buffers'][_0x8c102c]=_0x339365['bytes']===String?_0xdeaf10['base64']['encode'](_0x4bb809['buffers'][_0x8c102c],0x0,_0x4bb809['buffers'][_0x8c102c]['length']):_0x339365['bytes']===Array?Array['prototype']['slice']['call'](_0x4bb809['buffers'][_0x8c102c]):_0x4bb809['buffers'][_0x8c102c];}if(_0x4bb809['types']&&_0x4bb809['types']['length']){for(_0x39caf5['types']=[],_0x8c102c=0x0;_0x8c102c<_0x4bb809['types']['length'];++_0x8c102c)_0x39caf5['types'][_0x8c102c]=_0x4bb809['types'][_0x8c102c];}return null!=_0x4bb809['lastOperationId']&&_0x4bb809['hasOwnProperty']('lastOperationId')&&(_0x39caf5['lastOperationId']=_0x4bb809['lastOperationId']),_0x39caf5;},_0x13072d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x13072d['getTypeUrl']=function(_0x54d77a){return void 0x0===_0x54d77a&&(_0x54d77a='type.googleapis.com'),_0x54d77a+'/CollaborativeEditingConnectMessage';},_0x13072d;}()),_0x416af3['OperationMetadataDescriptor']=(function(){function _0x3766c3(_0x473852){if(_0x473852){for(var _0x3df91c=Object['keys'](_0x473852),_0x37f686=0x0;_0x37f686<_0x3df91c['length'];++_0x37f686)null!=_0x473852[_0x3df91c[_0x37f686]]&&(this[_0x3df91c[_0x37f686]]=_0x473852[_0x3df91c[_0x37f686]]);}}return _0x3766c3['prototype']['userId']='',_0x3766c3['prototype']['type']='',_0x3766c3['prototype']['createdAt']='',_0x3766c3['create']=function(_0xe7ab5e){return new _0x3766c3(_0xe7ab5e);},_0x3766c3['encode']=function(_0x182215,_0x1d69b1){return _0x1d69b1||(_0x1d69b1=_0x4ed70c['create']()),null!=_0x182215['userId']&&Object['hasOwnProperty']['call'](_0x182215,'userId')&&_0x1d69b1['uint32'](0xa)['string'](_0x182215['userId']),null!=_0x182215['type']&&Object['hasOwnProperty']['call'](_0x182215,'type')&&_0x1d69b1['uint32'](0x12)['string'](_0x182215['type']),null!=_0x182215['createdAt']&&Object['hasOwnProperty']['call'](_0x182215,'createdAt')&&_0x1d69b1['uint32'](0x1a)['string'](_0x182215['createdAt']),_0x1d69b1;},_0x3766c3['encodeDelimited']=function(_0x240165,_0x31f8a3){return this['encode'](_0x240165,_0x31f8a3)['ldelim']();},_0x3766c3['decode']=function(_0x76b8f1,_0x5b9820,_0x9e1e69){_0x76b8f1 instanceof _0x3dd834||(_0x76b8f1=_0x3dd834['create'](_0x76b8f1));for(var _0x176ee8=void 0x0===_0x5b9820?_0x76b8f1['len']:_0x76b8f1['pos']+_0x5b9820,_0x3428e2=new _0x416af3['OperationMetadataDescriptor']();_0x76b8f1['pos']<_0x176ee8;){var _0xc2d0e8=_0x76b8f1['uint32']();if(_0xc2d0e8===_0x9e1e69)break;switch(_0xc2d0e8>>>0x3){case 0x1:_0x3428e2['userId']=_0x76b8f1['string']();break;case 0x2:_0x3428e2['type']=_0x76b8f1['string']();break;case 0x3:_0x3428e2['createdAt']=_0x76b8f1['string']();break;default:_0x76b8f1['skipType'](0x7&_0xc2d0e8);}}return _0x3428e2;},_0x3766c3['decodeDelimited']=function(_0x36ffea){return _0x36ffea instanceof _0x3dd834||(_0x36ffea=new _0x3dd834(_0x36ffea)),this['decode'](_0x36ffea,_0x36ffea['uint32']());},_0x3766c3['verify']=function(_0x1cc601){return'object'!=typeof _0x1cc601||null===_0x1cc601?'object\x20expected':null!=_0x1cc601['userId']&&_0x1cc601['hasOwnProperty']('userId')&&!_0xdeaf10['isString'](_0x1cc601['userId'])?'userId:\x20string\x20expected':null!=_0x1cc601['type']&&_0x1cc601['hasOwnProperty']('type')&&!_0xdeaf10['isString'](_0x1cc601['type'])?'type:\x20string\x20expected':null!=_0x1cc601['createdAt']&&_0x1cc601['hasOwnProperty']('createdAt')&&!_0xdeaf10['isString'](_0x1cc601['createdAt'])?'createdAt:\x20string\x20expected':null;},_0x3766c3['fromObject']=function(_0x2e2a0f){if(_0x2e2a0f instanceof _0x416af3['OperationMetadataDescriptor'])return _0x2e2a0f;var _0x29b598=new _0x416af3['OperationMetadataDescriptor']();return null!=_0x2e2a0f['userId']&&(_0x29b598['userId']=String(_0x2e2a0f['userId'])),null!=_0x2e2a0f['type']&&(_0x29b598['type']=String(_0x2e2a0f['type'])),null!=_0x2e2a0f['createdAt']&&(_0x29b598['createdAt']=String(_0x2e2a0f['createdAt'])),_0x29b598;},_0x3766c3['toObject']=function(_0x5c8e7f,_0x5a4083){_0x5a4083||(_0x5a4083={});var _0x26f1ff={};return _0x5a4083['defaults']&&(_0x26f1ff['userId']='',_0x26f1ff['type']='',_0x26f1ff['createdAt']=''),null!=_0x5c8e7f['userId']&&_0x5c8e7f['hasOwnProperty']('userId')&&(_0x26f1ff['userId']=_0x5c8e7f['userId']),null!=_0x5c8e7f['type']&&_0x5c8e7f['hasOwnProperty']('type')&&(_0x26f1ff['type']=_0x5c8e7f['type']),null!=_0x5c8e7f['createdAt']&&_0x5c8e7f['hasOwnProperty']('createdAt')&&(_0x26f1ff['createdAt']=_0x5c8e7f['createdAt']),_0x26f1ff;},_0x3766c3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3766c3['getTypeUrl']=function(_0x2708a2){return void 0x0===_0x2708a2&&(_0x2708a2='type.googleapis.com'),_0x2708a2+'/OperationMetadataDescriptor';},_0x3766c3;}()),_0x416af3;})());class _0x931510{static['decode'](_0x3037dc,_0x4e4f30){const _0x2317a7=_getType(_0x4e4f30)['decode']('undefined'==typeof window?_0x3037dc:new Uint8Array(_0x3037dc));return _0x4e4f30['fromJSON']({..._0x2317a7});}static['encode'](_0x6ad26d){const _0x2f72e8=_getType(_0x6ad26d['constructor']),_0x5304e4=_0x6ad26d['toJSON'](),_0x10f5a5=_0x2f72e8['verify'](_0x5304e4);if(_0x10f5a5)throw Error(_0x10f5a5);return _0x2f72e8['encode'](_0x2f72e8['create'](_0x5304e4))['finish']();}}function _getType(_0x51e758){return _0x52b808[_0x51e758['DESCRIPTOR_NAME']];}class GetManyUsersMessage extends _0x283e82{['ids'];static ['TYPE']='22';static ['READABLE_TYPE_NAME']='getManyUsers';static ['DESCRIPTOR_NAME']='GetManyUsersMessage';static ['DESCRIPTOR']={'fields':{'ids':{'id':0x1,'type':'string','rule':'repeated'}}};constructor(_0x5c0a10){super(),this['ids']=_0x5c0a10;}['toJSON'](){return{'ids':this['ids']};}static['fromJSON'](_0x344a04){return new GetManyUsersMessage(_0x344a04['ids']);}}class GetManyUsersResponse extends _0x283e82{['users'];static ['DESCRIPTOR_NAME']='GetManyUsersResponse';static ['DESCRIPTOR']={'fields':{'users':{'rule':'repeated','type':'UserDescriptor','id':0x1}}};constructor(_0x1eb913){super(),this['users']=_0x1eb913;}['toJSON'](){return{'users':this['users']['map'](_0x5ef193)};}static['fromJSON'](_0x401f4f){return new GetManyUsersResponse(_0x401f4f['users']['map'](_0x3ffce5));}}function _0x5ef193(_0x5e4da3){return{'attributes':Object['keys'](_0x5e4da3)['map'](_0x2a3c2a=>({'key':_0x2a3c2a,'value':JSON['stringify'](_0x5e4da3[_0x2a3c2a])}))};}function _0x3ffce5(_0xfa72bd){return _0xfa72bd['attributes']['reduce']((_0x540794,_0x5b7cb0)=>(_0x540794[_0x5b7cb0['key']]=_0x5b7cb0['value']?JSON['parse'](_0x5b7cb0['value']):null,_0x540794),{});}class _0x3f1eee{static ['_SERVICE']=0x2;constructor(_0x4e8929={}){this['_attributes']=new Map();for(const _0x47bde2 of Object['keys'](_0x4e8929))'id'!==_0x47bde2?(this['_attributes']['set'](_0x47bde2,_0x4e8929[_0x47bde2]),Object['defineProperty'](this,_0x47bde2,{'enumerable':!0x0,'configurable':!0x1,'get':()=>this['_attributes']['get'](_0x47bde2)})):this['id']=_0x4e8929['id'];}static['fromData'](_0x4a3ed2){return new _0x3f1eee(_0x4a3ed2);}static async['get'](_0x5c56a1,_0x10baf3){const _0x1af683=new GetUserMessage(_0x10baf3);try{const _0x54e6c8=await _0x5c56a1['_sendRequest'](_0x3f1eee['_SERVICE'],GetUserMessage['TYPE'],_0x931510['encode'](_0x1af683)),_0x197091=_0x931510['decode'](_0x54e6c8,GetUserResponse);return new _0x3f1eee(_0x197091['attributes']);}catch(_0x46c24d){return new _0x3f1eee({'id':_0x10baf3});}}static async['getMany'](_0x53d032,_0x30a670){const _0x3305a0=new GetManyUsersMessage(_0x30a670);try{const _0x436d49=await _0x53d032['_sendRequest'](_0x3f1eee['_SERVICE'],GetManyUsersMessage['TYPE'],_0x931510['encode'](_0x3305a0));return _0x931510['decode'](_0x436d49,GetManyUsersResponse)['users']['map'](_0x31ee42=>new _0x3f1eee(_0x31ee42));}catch(_0x48ec34){return _0x30a670['map'](_0x20da72=>new _0x3f1eee({'id':_0x20da72}));}}}class _0x8bced5 extends _0x283e82{['type'];['socketId'];['data'];static ['DESCRIPTOR_NAME']='ChannelMessage';static ['DESCRIPTOR']={'fields':{'type':{'type':'uint32','id':0x1},'socketId':{'type':'string','id':0x2},'data':{'type':'bytes','id':0x3}}};constructor(_0x33cadb,_0x395d78,_0x26fa09){super(),this['type']=_0x33cadb,this['socketId']=_0x395d78,this['data']=_0x26fa09;}['toJSON'](){return{'type':this['type'],'socketId':this['socketId'],'data':this['data']};}static['fromJSON'](_0x4d98f1){return new _0x8bced5(_0x4d98f1['type'],_0x4d98f1['socketId'],_0x4d98f1['data']);}}class _0x2abdcf extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){['_channelName'];['_wsGateway'];['_socket'];constructor(_0x2a2367,_0x368075,_0x3f7e15){super(),this['_channelName']=_0x2a2367,this['_wsGateway']=_0x368075,this['_socket']=_0x3f7e15,this['_subscribeToChannel']();}['remove'](){this['_socket']['off'](this['_channelName']);}['getEventName'](_0x1acdd7,_0xabefad=!0x1){let _0x4476fc='';return _0xabefad&&(_0x4476fc+='all:'),_0x4476fc+='event',_0x1acdd7&&(_0x4476fc+=':'+_0x1acdd7),_0x4476fc;}['_subscribeToChannel'](){this['_socket']['on'](this['_channelName'],_0x465acd=>{const _0x39ecfe=_0x931510['decode'](_0x465acd,_0x8bced5);this['fire'](this['getEventName'](_0x39ecfe['type'],!0x0),_0x39ecfe['data'],_0x39ecfe['socketId']),_0x39ecfe['socketId']!==this['_wsGateway']['socketId']&&this['fire'](this['getEventName'](_0x39ecfe['type']),_0x39ecfe['data'],_0x39ecfe['socketId']);});}}class CKEditorCloudServicesError extends Error{['context'];['code'];['data'];constructor(_0x5c4f13,_0x5ae459,_0x178830=null,_0x352460={}){super('cloud-services-internal-error:\x20'+_0x5c4f13),this['context']=_0x5ae459,this['code']=_0x178830,this['data']=_0x352460,this['name']='CKEditorError';}static['fromPublicError'](_0x39b85b){return new CKEditorCloudServicesError(function(_0x32265c){let _0x4a642f='cloud-services-error:\x20'+_0x32265c['message'];return _0x32265c['data']&&(_0x4a642f+='\x0aError\x20data:\x20'+JSON['stringify'](_0x32265c['data'])),_0x32265c['explanation']&&(_0x4a642f+='\x0aExplanation:\x20'+_0x32265c['explanation']),_0x32265c['action']&&(_0x4a642f+='\x0aAction:\x20'+_0x32265c['action']),_0x32265c['traceId']&&(_0x4a642f+='\x0aTraceId:\x20'+_0x32265c['traceId']),_0x32265c['code']&&(_0x4a642f+='\x0aCode:\x20'+_0x32265c['code']),_0x4a642f;}(_0x39b85b),_0x39b85b);}}class CKEditorCloudServicesServerError extends Error{['code'];['traceId'];['data'];constructor(_0x51a59e,_0xeb4c82){super(),this['name']='CKEditorCloudServicesServerError',this['stack']=void 0x0,this['message']=_0x51a59e,this['code']=_0xeb4c82['code'],this['traceId']=_0xeb4c82['traceId'],this['data']=_0xeb4c82['data'];}static['fromPublicError'](_0x56ffac){return new CKEditorCloudServicesServerError(function(_0x519f96){let _0x46af74='cloud-services-server-error:\x20'+_0x519f96['message'];return _0x519f96['explanation']&&(_0x46af74+='\x0aExplanation:\x20'+_0x519f96['explanation']),_0x519f96['action']&&(_0x46af74+='\x0aAction:\x20'+_0x519f96['action']),_0x519f96['traceId']&&(_0x46af74+='\x0aTraceId:\x20'+_0x519f96['traceId']),_0x519f96['code']&&(_0x46af74+='\x0aCode:\x20'+_0x519f96['code']),_0x46af74;}(_0x56ffac),_0x56ffac);}}class PacketOptionsMessage extends _0x283e82{['flags'];['rooms'];['except'];static ['TYPE']=0xb;static ['DESCRIPTOR_NAME']='PacketOptionsMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'flags':{'type':'string','id':0x1},'rooms':{'type':'string','id':0x2,'rule':'repeated'},'except':{'type':'string','id':0x3,'rule':'repeated'}}}))());constructor(_0xe145a1,_0x21cbfb=[],_0x19fbbd=[]){super(),this['flags']=_0xe145a1,this['rooms']=_0x21cbfb,this['except']=_0x19fbbd;}['toJSON'](){return{'flags':this['flags']?JSON['stringify'](this['flags']):void 0x0,'rooms':this['rooms']?.['length']?this['rooms']:void 0x0,'except':this['except']?.['length']?this['except']:void 0x0};}static['fromJSON'](_0x20f2bc){return new PacketOptionsMessage(_0x20f2bc['flags']&&JSON['parse'](_0x20f2bc['flags']),_0x20f2bc['rooms'],_0x20f2bc['except']);}}const _0xf5da43=/* #__PURE__ -- @preserve */
((()=>!('undefined'==typeof process||!process['versions']?.['node']))()),MessageDataTypes_BUFFER=0x1,MessageDataTypes_STRING=0x2,MessageDataTypes_NUMBER=0x3,MessageDataTypes_OBJECT=0x4;class ParserUtils{static['getPacketType'](..._0xafa1ae){let _0x422fdc=0x0;for(let _0x21d8b6=0x0;_0x21d8b6<_0xafa1ae['length'];_0x21d8b6++)_0x422fdc+=_0xafa1ae[_0x21d8b6]*Math['pow'](0xa,_0xafa1ae['length']-_0x21d8b6-0x1);return _0x422fdc;}static['getType'](_0x5a74d1){if(ParserUtils['isBuffer'](_0x5a74d1))return MessageDataTypes_BUFFER;const _0xa3d431=typeof _0x5a74d1;return'string'===_0xa3d431?MessageDataTypes_STRING:'number'===_0xa3d431?MessageDataTypes_NUMBER:MessageDataTypes_OBJECT;}static['isBuffer'](_0x24956b){return _0xf5da43&&Buffer['isBuffer'](_0x24956b)||_0x24956b instanceof ArrayBuffer||_0x24956b instanceof Uint8Array||this['_isBufferView'](_0x24956b);}static['_isBufferView'](_0x52c228){return'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x52c228):_0x52c228['buffer']instanceof ArrayBuffer;}}class PackageDataMessage extends _0x283e82{['data'];['data1'];static['create'](_0x3dbe78,_0x550c6e){throw new TypeError('Must\x20be\x20implemented\x20in\x20a\x20child\x20class!');}}class NumberBytesPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_NUMBER,MessageDataTypes_BUFFER))());static ['DESCRIPTOR_NAME']='NumberBytesPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x450926,_0x26b0d6){super(),this['data']=_0x450926,this['data1']=_0x26b0d6;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x401550){return new NumberBytesPacketDataMessage(_0x401550['data'],_0x401550['data1']);}static['create'](_0x3eafde,_0x393f26){return new NumberBytesPacketDataMessage(_0x3eafde,_0x393f26);}}class StringBytesPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_STRING,MessageDataTypes_BUFFER))());static ['DESCRIPTOR_NAME']='StringBytesPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x350a68,_0x24f10b){super(),this['data']=_0x350a68,this['data1']=_0x24f10b;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x416620){return new StringBytesPacketDataMessage(_0x416620['data'],_0x416620['data1']);}static['create'](_0x25bc2a,_0x3e621b){return new StringBytesPacketDataMessage(_0x25bc2a,_0x3e621b);}}class BytesBytesPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_BUFFER,MessageDataTypes_BUFFER))());static ['DESCRIPTOR_NAME']='BytesBytesPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'bytes','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0xe29a15,_0x54e02d){super(),this['data']=_0xe29a15,this['data1']=_0x54e02d;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x3e35f6){return new BytesBytesPacketDataMessage(_0x3e35f6['data'],_0x3e35f6['data1']);}static['create'](_0x5aec86,_0xf00bb7){return new BytesBytesPacketDataMessage(_0x5aec86,_0xf00bb7);}}class StringObjectPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_STRING,MessageDataTypes_OBJECT))());static ['DESCRIPTOR_NAME']='StringObjectPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x5c8b5d,_0x528e36){super(),this['data']=_0x5c8b5d,this['data1']=_0x528e36;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x14e420){return new StringObjectPacketDataMessage(_0x14e420['data'],_0x14e420['data1']&&JSON['parse'](_0x14e420['data1']));}static['create'](_0x45fb2d,_0x59537d){return new StringObjectPacketDataMessage(_0x45fb2d,_0x59537d);}}class NumberObjectPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_NUMBER,MessageDataTypes_OBJECT))());static ['DESCRIPTOR_NAME']='NumberObjectPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x3f9420,_0x309771){super(),this['data']=_0x3f9420,this['data1']=_0x309771;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x2adaa1){return new NumberObjectPacketDataMessage(_0x2adaa1['data'],_0x2adaa1['data1']&&JSON['parse'](_0x2adaa1['data1']));}static['create'](_0x85c7d2,_0x501bc9){return new NumberObjectPacketDataMessage(_0x85c7d2,_0x501bc9);}}class ObjectObjectPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_OBJECT,MessageDataTypes_OBJECT))());static ['DESCRIPTOR_NAME']='ObjectObjectPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0xc18d0a,_0x2c611e){super(),this['data']=_0xc18d0a,this['data1']=_0x2c611e;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0xef8c6a){return new ObjectObjectPacketDataMessage(_0xef8c6a['data']&&JSON['parse'](_0xef8c6a['data']),_0xef8c6a['data1']&&JSON['parse'](_0xef8c6a['data1']));}static['create'](_0x326343,_0x4ef296){return new ObjectObjectPacketDataMessage(_0x326343,_0x4ef296);}}class ObjectBufferPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_OBJECT,MessageDataTypes_BUFFER))());static ['DESCRIPTOR_NAME']='ObjectBufferPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x2727d3,_0x596d0c){super(),this['data']=_0x2727d3,this['data1']=_0x596d0c;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']};}static['fromJSON'](_0x17619b){return new ObjectBufferPacketDataMessage(_0x17619b['data']&&JSON['parse'](_0x17619b['data']),_0x17619b['data1']);}static['create'](_0x22dc9b,_0x1d1b33){return new ObjectBufferPacketDataMessage(_0x22dc9b,_0x1d1b33);}}class StringStringPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_STRING,MessageDataTypes_STRING))());static ['DESCRIPTOR_NAME']='StringStringPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x814f93,_0x50a37b){super(),this['data']=_0x814f93,this['data1']=_0x50a37b;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x38a37b){return new StringStringPacketDataMessage(_0x38a37b['data'],_0x38a37b['data1']);}static['create'](_0x6d54ee,_0x393d1d){return new StringStringPacketDataMessage(_0x6d54ee,_0x393d1d);}}class StringNumberPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_STRING,MessageDataTypes_NUMBER))());static ['DESCRIPTOR_NAME']='StringNumberPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'uint32','id':0x2}}}))());constructor(_0x4c5b67,_0x5089c3){super(),this['data']=_0x4c5b67,this['data1']=_0x5089c3;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0xbb7aa8){return new StringNumberPacketDataMessage(_0xbb7aa8['data'],_0xbb7aa8['data1']);}static['create'](_0x2e521e,_0x338d1e){return new StringNumberPacketDataMessage(_0x2e521e,_0x338d1e);}}class NumberNumberPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_NUMBER,MessageDataTypes_NUMBER))());static ['DESCRIPTOR_NAME']='NumberNumberPacketDataMessage';static ['DESCRIPTOR']={'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'uint32','id':0x2}}};constructor(_0x377bde,_0x252c43){super(),this['data']=_0x377bde,this['data1']=_0x252c43;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x46e2e3){return new NumberNumberPacketDataMessage(_0x46e2e3['data'],_0x46e2e3['data1']);}static['create'](_0x33eb82,_0x225681){return new NumberNumberPacketDataMessage(_0x33eb82,_0x225681);}}class NumberStringPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_NUMBER,MessageDataTypes_STRING))());static ['DESCRIPTOR_NAME']='NumberStringPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x496532,_0x1e8fd2){super(),this['data']=_0x496532,this['data1']=_0x1e8fd2;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x57288f){return new NumberStringPacketDataMessage(_0x57288f['data'],_0x57288f['data1']);}static['create'](_0xbcef68,_0x5776cc){return new NumberStringPacketDataMessage(_0xbcef68,_0x5776cc);}}const _0x1a9890=/* #__PURE__ -- @preserve */
((()=>[NumberBytesPacketDataMessage,StringBytesPacketDataMessage,BytesBytesPacketDataMessage,StringObjectPacketDataMessage,NumberObjectPacketDataMessage,ObjectObjectPacketDataMessage,ObjectBufferPacketDataMessage,StringStringPacketDataMessage,StringNumberPacketDataMessage,NumberNumberPacketDataMessage,NumberStringPacketDataMessage]['reduce']((_0xd1232e,_0x1475a1)=>(_0xd1232e[_0x1475a1['TYPE']]=_0x1475a1,_0xd1232e),{}))());class PacketMessage extends _0x283e82{['type'];['data'];['id'];['nsp'];['options'];static ['TYPE']=0xa;static ['DESCRIPTOR_NAME']='PacketMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'type':{'type':'uint32','id':0x1},'id':{'type':'uint32','id':0x2},'nsp':{'type':'string','id':0x3},'data':{'type':'bytes','id':0x4},'options':{'type':'bytes','id':0x5}}}))());constructor(_0x369a0c,_0xedf2b3,_0x40fc60,_0x49a7b6='/',_0x4588a1){super(),this['type']=_0x369a0c,this['data']=_0xedf2b3,this['id']=_0x40fc60,this['nsp']=_0x49a7b6,this['options']=_0x4588a1??new PacketOptionsMessage();}get['packetData'](){return void 0x0===this['data']['data']&&void 0x0===this['data']['data1']?[]:this['data']['data']&&void 0x0===this['data']['data1']?[this['data']['data']]:[this['data']['data'],this['data']['data1']];}['toJSON'](){const _0x24bd27=_0x931510['encode'](this['options']),_0x35c40c=_0x931510['encode'](this['data']);return{'type':this['type']+0xa*this['data']['constructor']['TYPE'],'id':this['id'],'nsp':'/'===this['nsp']?void 0x0:this['nsp'],'data':_0x35c40c,'options':_0x24bd27};}static['fromJSON'](_0x36ef54){const _0x13d879=Math['floor'](_0x36ef54['type']/0xa);return new PacketMessage(_0x36ef54['type']-0xa*_0x13d879,_0x931510['decode'](_0x36ef54['data'],_0x1a9890[_0x13d879]),_0x36ef54['id'],_0x36ef54['nsp'],_0x36ef54['options']?_0x931510['decode'](_0x36ef54['options'],PacketOptionsMessage):new PacketOptionsMessage());}static['create'](_0x2ea9e3,_0x20af40={}){const _0xa10529=ParserUtils['getPacketType'](ParserUtils['getType'](_0x2ea9e3['data'][0x0]),ParserUtils['getType'](_0x2ea9e3['data'][0x1]??_0x2ea9e3['data'][0x0]));return new PacketMessage(_0x2ea9e3['type'],_0x1a9890[_0xa10529]['create'](_0x2ea9e3['data'][0x0],_0x2ea9e3['data'][0x1]),_0x2ea9e3['id'],_0x2ea9e3['nsp'],new PacketOptionsMessage(_0x20af40['flags'],_0x20af40['rooms'],_0x20af40['except']));}}class PacketParser{['encode'](_0x8ab321,_0x2b0b52,_0x550674,_0x41bca8='/',_0x574911={}){if(_0x2b0b52['length']>0x2)throw new Error('PacketParser\x20supports\x20only\x202\x20elements\x20in\x20data');const _0xebd1b1={'type':_0x8ab321,'data':_0x2b0b52,'id':_0x550674,'nsp':_0x41bca8};return _0x931510['encode'](PacketMessage['create'](_0xebd1b1,_0x574911));}['decode'](_0x225f81){const _0x17574f=_0x931510['decode'](_0x225f81,PacketMessage);return{'packet':{'id':_0x17574f['id'],'type':_0x17574f['type'],'data':_0x17574f['packetData'],'nsp':_0x17574f['nsp']},'options':{'flags':_0x17574f['options']['flags'],'rooms':_0x17574f['options']['rooms'],'except':_0x17574f['options']['except']}};}}const _0x1b4c10=/* #__PURE__ -- @preserve */
((()=>[PacketType['EVENT'],PacketType['ACK'],PacketType['BINARY_ACK'],PacketType['BINARY_EVENT']])());class _0x25a14a extends _0x764d85{['_packetParser'];constructor(_0x17368f){super(),this['_packetParser']=_0x17368f??new PacketParser();}['encode'](_0x108030){if(_0x1b4c10['includes'](_0x108030['type']))try{return[this['_packetParser']['encode'](_0x108030['type'],_0x108030['data'],_0x108030['id'],_0x108030['nsp'])];}catch(_0x105add){console['error']('Can\x20not\x20properly\x20serialize\x20or\x20deserialize\x20messages.\x20Check\x20the\x20original\x20error.',{'originalError':{'message':_0x105add['message']}});}return super['encode'](_0x108030);}}class _0x381908 extends _0x249914{['_packetParser'];constructor(_0x7535c6){super(),this['_packetParser']=_0x7535c6??new PacketParser();}['add'](_0x4505dd){if(!ParserUtils['isBuffer'](_0x4505dd))return super['add'](_0x4505dd);let _0xfb73db;try{_0xfb73db=this['_packetParser']['decode'](_0x4505dd)['packet'];}catch(_0x552add){return super['add'](_0x4505dd);}super['emitReserved']('decoded',_0xfb73db);}}class WebSocketRequest{['_context'];['_deferredPromise']=/* #__PURE__ -- @preserve */
_0x2e77e0();['timeout'];constructor(_0x4c86b1,_0xb28d0e){this['_context']=_0x4c86b1,this['timeout']=setTimeout(()=>this['error'](new CKEditorCloudServicesError('Request\x20timeout.',this['_context'])),_0xb28d0e);}get['promise'](){return this['_deferredPromise']['promise'];}['response'](_0x1d1992){this['_deferredPromise']['resolve'](_0x1d1992);}['error'](_0x41680f){this['_deferredPromise']['reject'](_0x41680f);}}class WebSocketGatewayRequestsManager{['_context'];['_requests']=new Set();constructor(_0x20fa78){this['_context']=_0x20fa78;}async['send'](_0x3e143,_0x1ab140=0xafc8){const _0x226bf5=this['_createRequest'](_0x1ab140);try{return _0x3e143(_0x226bf5),await _0x226bf5['promise'];}finally{this['_finishRequest'](_0x226bf5);}}['errorAll'](_0xfa9412){for(const _0x47b781 of this['_requests'])_0x47b781['error'](_0xfa9412);}['waitForAllRequests'](_0xe72103=0xafc8){return this['_waitForRequests'](_0xe72103);}['_createRequest'](_0x3a6ce0){const _0x26a176=new WebSocketRequest(this['_context'],_0x3a6ce0);return this['_requests']['add'](_0x26a176),_0x26a176;}['_finishRequest'](_0x3ea3d6){this['_requests']['delete'](_0x3ea3d6),clearTimeout(_0x3ea3d6['timeout']);}async['_waitForRequests'](_0x38c56e=0x1388,_0x25b17c=0x0){return!this['_requests']['size']||_0x25b17c>=_0x38c56e/0x1f4?Promise['resolve']():(await new Promise(_0x2418f5=>{setTimeout(_0x2418f5,0x1f4);}),this['_waitForRequests'](_0x38c56e,_0x25b17c++));}}function _0x2e77e0(){let _0x25d510,_0x431508;const _0x5f0b44=new Promise((_0x425f85,_0x45a5e2)=>{_0x25d510=_0x425f85,_0x431508=_0x45a5e2;});return{'resolve':_0x25d510,'reject':_0x431508,'promise':_0x5f0b44};}const _0x575fba={'DISCONNECTED':'disconnected','CONNECTING':'connecting','CONNECTED':'connected'};let WebSocketGateway$1=class _0xf4caf5 extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['_requestsManager'];['_url'];['_socket'];['_socketAuth'];['_channels'];['_connectionAttempt']=0x0;['_token'];['_options'];['_connectionProvider'];['_userFactory'];static ['STATE_DISCONNECTED']=/* #__PURE__ -- @preserve */
((()=>_0x575fba['DISCONNECTED'])());static ['STATE_CONNECTING']=/* #__PURE__ -- @preserve */
((()=>_0x575fba['CONNECTING'])());static ['STATE_CONNECTED']=/* #__PURE__ -- @preserve */
((()=>_0x575fba['CONNECTED'])());static ['_CHANGE_STATE_EVENT_PRIORITY']=/* #__PURE__ -- @preserve */
((()=>ckeditor5['priorities']['get']('highest')+0xf423f)());constructor(_0x3c41fd,_0x405f51,_0x5061b1,_0x2b8ec4,_0x2a59f4){if(super(),this['_token']=_0x405f51,this['_options']=_0x5061b1??{},this['_connectionProvider']=_0x2b8ec4??_0x8b15fd,this['_userFactory']=_0x2a59f4??_0x3f1eee['get'],this['_requestsManager']=new WebSocketGatewayRequestsManager(this),this['_channels']=new Map(),!_0x3c41fd)throw new TypeError('Api\x20address\x20must\x20be\x20provided.');if(!this['_token'])throw new TypeError('Token\x20must\x20be\x20provided.');this['_options']['requestTimeout']||(this['_options']['requestTimeout']=0x4e20),this['_url']=urlParseExports(_0x3c41fd['replace'](/^(?!(?:\w+:)?\/\/)/,'https://')),this['set']('state',_0x575fba['DISCONNECTED']),this['set']('socketId',void 0x0),this['set']('me',void 0x0),this['on']('change:state',async(_0x462471,_0x3bbfc6,_0xdd706d)=>{if(this['_debugEvent']('ws-gw:change:state',_0xdd706d),_0xdd706d!==_0xf4caf5['STATE_CONNECTED']){if(_0xdd706d===_0xf4caf5['STATE_DISCONNECTED'])return this['_requestsManager']['errorAll'](new CKEditorCloudServicesError('Not\x20connected.',this));}else try{this['me']=await this['_userFactory']['call'](_0x3f1eee,this,this['_socketAuth']?.['userId']);}catch(_0x10e54a){}},{'priority':_0xf4caf5['_CHANGE_STATE_EVENT_PRIORITY']}),this['on']('error',(_0x557e97,_0x18a817)=>{this['_options']['onError']?this['_options']['onError'](_0x18a817):console['error'](_0x18a817);});}get['sessionId'](){return this['socketId'];}['waitForAllRequests'](_0xa69ba2){return this['_requestsManager']['waitForAllRequests'](_0xa69ba2);}['disconnect'](){this['state']!==_0x575fba['DISCONNECTED']&&(this['_socket']?.['disconnect'](),this['_socket']=void 0x0,this['state']=_0x575fba['DISCONNECTED']);}async['reconnect'](){this['_socket']||this['state']!==_0x575fba['DISCONNECTED']||(await this['_token']['refreshToken'](),await this['_connect']());}static async['connect'](_0x501adf,_0x146ae7='local.cs.dev:443/ws-v2',_0x569b98={},_0x461925=_0x8b15fd,_0x440ba6=_0x3f1eee['get']){const _0x14c191=new _0xf4caf5(_0x146ae7,_0x501adf,_0x569b98,_0x461925,_0x440ba6);return await _0x14c191['_connect'](),_0x14c191;}['_sendRequest'](_0x3c60cc,_0x34e708,_0x16617a){if(!_0x3c60cc)throw new CKEditorCloudServicesError('`serviceName`\x20must\x20be\x20provided.',this);if(this['state']!==_0xf4caf5['STATE_CONNECTED'])throw new CKEditorCloudServicesError('Not\x20connected.',this);if(!this['_socketAuth']||!this['_socketAuth']['isAuthenticated'])throw new CKEditorCloudServicesError('Not\x20authenticated.',this);const _0x2a0572=new ArrayBuffer(_0x16617a['length']+0x2),_0x5e529e=new Uint8Array(_0x2a0572);return _0x5e529e[0x0]=_0x3c60cc,_0x5e529e[0x1]=parseInt(_0x34e708),_0x5e529e['set'](_0x16617a,0x2),this['_emit'](0x1,_0x5e529e);}['_getChannel'](_0x590f41,_0x5abb12){const _0x2b661d=''+_0x590f41+_0x5abb12;return!this['_channels']['has'](_0x2b661d)&&this['_socket']&&this['_channels']['set'](_0x2b661d,new _0x2abdcf(_0x2b661d,this,this['_socket'])),this['_channels']['get'](_0x2b661d);}['_connect'](){return new Promise((_0x5e0e71,_0x24c79f)=>{const _0x41feeb=this['_setupSocket']();!this['socketId']&&_0x41feeb['io']['on']('reconnect_error',()=>{this['_debugEvent']('reconnect_error'),this['_reconnectionAttemptError'](_0x24c79f);}),_0x41feeb['once']('connect',async()=>{this['_debugEvent']('once-connect');try{await this['_onConnect'](),_0x5e0e71();}catch(_0xf5fa13){_0x24c79f(_0xf5fa13);}}),_0x41feeb['connect']();});}['_getPortByProtocol'](_0x533331){return['http:','ws:']['includes'](_0x533331)?0x50:0x1bb;}['_setupSocket'](){if(this['_socket'])return this['_socket'];const _0x2b2d10=this['_url']['port']||this['_getPortByProtocol'](this['_url']['protocol']),_0x48cc60=(this['_url']['protocol']||'https:')+'//'+this['_url']['hostname']+':'+_0x2b2d10,_0x4c003d=this['_url']['pathname']['match'](/^\/.*\/ws/)?this['_url']['pathname']['split']('/ws')[0x0]:'',_0x81c78d=this['_connectionProvider'](_0x48cc60,{'parser':{'Encoder':_0x25a14a,'Decoder':_0x381908},'path':_0x4c003d+'/ws-v2/ws','transports':['websocket'],'timeout':void 0x0!==this['_options']['timeout']?this['_options']['timeout']:0x1388,'reconnection':void 0x0===this['_options']['autoReconnect']||this['_options']['autoReconnect'],'reconnectionDelay':0x3e8,'reconnectionDelayMax':0x1388,'rejectUnauthorized':void 0x0===this['_options']['rejectUnauthorized']||this['_options']['rejectUnauthorized'],'query':{'version':'53.0.3'},'agent':this['_options']['agent']??!0x1,'closeOnBeforeunload':!0x1});return this['state']=_0x575fba['CONNECTING'],_0x81c78d['on']('connect',()=>{this['_debugEvent']('connect'),this['socketId']=_0x81c78d['id'];}),_0x81c78d['on']('connect_error',_0x596d0d=>{this['_debugEvent']('connect_error',_0x596d0d);}),_0x81c78d['on']('disconnect',()=>{this['_debugEvent']('disconnect'),this['_onDisconnect']();}),_0x81c78d['io']['on']('reconnect',async()=>{this['_debugEvent']('reconnect'),await this['_onReconnect']();}),_0x81c78d['io']['on']('reconnect_attempt',_0x2d8c8c=>{this['_debugEvent']('reconnect_attempt',_0x2d8c8c),this['state']=_0x575fba['CONNECTING'],this['_connectionAttempt']=_0x2d8c8c;}),_0x81c78d['on']('unauthorized',_0x366904=>{this['_debugEvent']('unauthorized'),this['_onUnauthorized'](_0x366904);}),_0x81c78d['on']('authenticationRequest',async _0xb5df8c=>{this['_debugEvent']('authenticationRequest',_0xb5df8c['attempt']),await this['_onReconnect']();}),this['_socket']=_0x81c78d,_0x81c78d;}['_emit'](_0x446c19,_0x1baf30){const _0x5d6815=this['_socket'];return this['_requestsManager']['send'](_0x449031=>{_0x5d6815['emit'](_0x446c19,_0x1baf30,(_0x432931,_0x3834dc)=>{if(_0x432931)return _0x449031['error'](CKEditorCloudServicesServerError['fromPublicError'](_0x432931));_0x449031['response'](_0x3834dc);});},this['_options']['requestTimeout']);}['_addAuthData'](_0x587f6c,_0x2b24a4){this['_socketAuth']={'environmentId':_0x587f6c,'userId':_0x2b24a4,'isAuthenticated':!0x0};}['_removeAuthData'](){this['_socketAuth']=void 0x0;}async['_onConnect'](){await this['_authenticate'](this['_token']['value']),this['state']=_0x575fba['CONNECTED'];const _0x13e18f=async(_0x296356,_0x8080ee,_0x358323)=>{this['_debugEvent']('token:value:change');try{await this['_authenticate'](_0x358323);}catch(_0xab6fbe){}};this['_token']['on']('change:value',_0x13e18f),this['_socket']['io']['off']('reconnect_error'),this['on']('disconnect',()=>{this['_token']['off']('change:value',_0x13e18f);});}async['_onReconnect'](){await this['_token']['refreshToken'](),await this['_onConnect']();}['_onDisconnect'](){this['state']=_0x575fba['DISCONNECTED'],this['_connectionAttempt']=0x0,this['fire']('disconnect');for(const _0x1eb8d2 of this['_channels']['values']())_0x1eb8d2['remove']();this['_channels']['clear'](),void 0x0===this['_options']['autoReconnect']||this['_options']['autoReconnect']||(this['_socket']=void 0x0);}['_debugEvent'](_0xefd96f,_0x6816b1){if(!this['_isDebugModeEnabled']())return;const _0x12d846=void 0x0!==_0x6816b1?',\x20data:\x20'+_0x6816b1:'';console['info'](new Date()['toLocaleString']()+'\x20'+_0xefd96f+_0x12d846);}['_reconnectionAttemptError'](_0x4dbcc8){this['_connectionAttempt']>=0x2&&(this['disconnect'](),_0x4dbcc8(CKEditorCloudServicesError['fromPublicError']({'message':'The\x20number\x20of\x20initial\x20connection\x20attempts\x20exceeded.','explanation':'Three\x20initial\x20connection\x20attempts\x20failed.\x20It\x20can\x20be\x20caused\x20by\x20a\x20slow,\x20unstable,\x20missing\x20or\x20blocked\x20Internet\x20connection.','action':'Please\x20verify\x20the\x20stability\x20of\x20your\x20Internet\x20connection\x20and\x20ensure\x20that\x20no\x20antivirus\x20or\x20firewall\x20software\x20blocks\x20the\x20Web\x20Socket\x20protocol\x20connections.'})));}['_onUnauthorized']({error:_0x337362}){this['_removeAuthData'](),this['fire']('error',CKEditorCloudServicesServerError['fromPublicError'](_0x337362));}async['_authenticate'](_0x5d2b03){try{this['_debugEvent']('authenticate:start');const _0x54809c=await this['_emit'](0x2,{'token':_0x5d2b03});this['_debugEvent']('authenticate:success','envId:\x20'+_0x54809c['environmentId']+',\x20userId:\x20'+_0x54809c['userId']),this['_addAuthData'](_0x54809c['environmentId'],_0x54809c['userId']);}catch(_0x8a295e){throw this['_debugEvent']('authenticate:error',_0x8a295e['message']),this['_removeAuthData'](),_0x8a295e;}}['_isDebugModeEnabled'](){return!!ckeditor5['global']['window']['localStorage']&&'true'===(ckeditor5['global']['window']['localStorage']['getItem']('csClientDebugMode')??'false')['toLowerCase']();}};class IsEditorBundleUploadedMessage extends _0x283e82{['bundleVersion'];static ['TYPE']='131';static ['READABLE_TYPE_NAME']='isEditorBundleUploaded';static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedMessage';static ['DESCRIPTOR']={'fields':{'bundleVersion':{'type':'string','id':0x1}}};constructor(_0x3036a9){super(),this['bundleVersion']=_0x3036a9;}['toJSON'](){return{'bundleVersion':this['bundleVersion']};}static['fromJSON'](_0xd68de5){return new IsEditorBundleUploadedMessage(_0xd68de5['bundleVersion']);}}class IsEditorBundleUploadedResponse extends _0x283e82{['isUploaded'];static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedResponse';static ['DESCRIPTOR']={'fields':{'isUploaded':{'type':'bool','id':0x1}}};constructor(_0x3b6259){super(),this['isUploaded']=_0x3b6259;}['toJSON'](){return{'isUploaded':this['isUploaded']};}static['fromJSON'](_0x11a06f){return new IsEditorBundleUploadedResponse(_0x11a06f['isUploaded']);}}class EditorService extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){static ['_SERVICE']=0xd;static async['isBundleUploaded'](_0x4c449d,_0x3b1596){const _0x45290b=new IsEditorBundleUploadedMessage(_0x3b1596);if(_0x4c449d['state']!==_0x575fba['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x4c449d);const _0x5b2a04=await _0x4c449d['_sendRequest'](EditorService['_SERVICE'],IsEditorBundleUploadedMessage['TYPE'],_0x931510['encode'](_0x45290b));return _0x931510['decode'](_0x5b2a04,IsEditorBundleUploadedResponse)['isUploaded'];}}class RevisionHistoryGetRevisionMessage extends _0x283e82{['documentId'];['revisionId'];static ['TYPE']='123';static ['READABLE_TYPE_NAME']='getRevision';static ['DESCRIPTOR_NAME']='RevisionHistoryGetRevisionMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'revisionId':{'type':'string','id':0x2}}};constructor(_0x167b47,_0x353f1d){super(),this['documentId']=_0x167b47,this['revisionId']=_0x353f1d;}['toJSON'](){return{'documentId':this['documentId'],'revisionId':this['revisionId']};}static['fromJSON'](_0x25828e){return new RevisionHistoryGetRevisionMessage(_0x25828e['documentId'],_0x25828e['revisionId']);}}class RevisionDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='RevisionDescriptor';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'revisionId':{'type':'string','id':0x1},'name':{'type':'string','id':0x2},'creatorId':{'type':'string','id':0x3},'authorsIds':{'type':'string','id':0x4},'diffData':{'type':'string','id':0x5},'createdAt':{'type':'string','id':0x6},'attributes':{'type':'string','id':0x7},'toVersion':{'type':'uint32','id':0x8},'fromVersion':{'type':'uint32','id':0x9},'isEmptyCurrent':{'type':'bool','id':0xa}}}))());static['create'](_0x879732){return{'revisionId':_0x879732['id'],'name':_0x879732['name'],'creatorId':_0x879732['creatorId'],'createdAt':_0x879732['createdAt'],'fromVersion':_0x879732['fromVersion'],'toVersion':_0x879732['toVersion'],'isEmptyCurrent':_0x879732['isEmptyCurrent'],'diffData':_0x879732['diffData']?JSON['stringify'](_0x879732['diffData']):void 0x0,'attributes':_0x879732['attributes'],'authorsIds':_0x879732['authorsIds']};}static['toJSON'](_0x1de65d){return{'revisionId':_0x1de65d['revisionId'],'name':_0x1de65d['name'],'creatorId':_0x1de65d['creatorId'],'authorsIds':_0x1de65d['authorsIds']?JSON['stringify'](_0x1de65d['authorsIds']):void 0x0,'diffData':_0x1de65d['diffData'],'createdAt':_0x1de65d['createdAt']?.['toISOString'](),'attributes':_0x1de65d['attributes']?JSON['stringify'](_0x1de65d['attributes']):void 0x0,'toVersion':_0x1de65d['toVersion'],'fromVersion':_0x1de65d['fromVersion'],'isEmptyCurrent':_0x1de65d['isEmptyCurrent']};}static['fromJSON'](_0x4f639f){return{'revisionId':(_0x4f639f={..._0x4f639f})['revisionId'],'name':_0x4f639f['name'],'creatorId':_0x4f639f['creatorId'],'authorsIds':_0x4f639f['authorsIds']?JSON['parse'](_0x4f639f['authorsIds']):void 0x0,'diffData':_0x4f639f['diffData'],'createdAt':_0x4f639f['createdAt']?new Date(_0x4f639f['createdAt']):void 0x0,'attributes':_0x4f639f['attributes']?JSON['parse'](_0x4f639f['attributes']):void 0x0,'toVersion':_0x4f639f['toVersion'],'fromVersion':_0x4f639f['fromVersion'],'isEmptyCurrent':_0x4f639f['isEmptyCurrent']};}static['toObject'](_0x48e2e6){return function(_0x5bb4cc){for(const [_0x27643e,_0x4a5860]of Object['entries'](_0x5bb4cc))void 0x0===_0x4a5860&&delete _0x5bb4cc[_0x27643e];return _0x5bb4cc;}({'id':_0x48e2e6['revisionId'],'name':_0x48e2e6['name'],'creatorId':_0x48e2e6['creatorId'],'createdAt':_0x48e2e6['createdAt'],'fromVersion':_0x48e2e6['fromVersion'],'toVersion':_0x48e2e6['toVersion'],'isEmptyCurrent':_0x48e2e6['isEmptyCurrent'],'diffData':_0x48e2e6['diffData']?JSON['parse'](_0x48e2e6['diffData']):void 0x0,'attributes':_0x48e2e6['attributes'],'authorsIds':_0x48e2e6['authorsIds']});}}class RevisionHistoryGetRevisionResponse extends _0x283e82{['revisionId'];['name'];['creatorId'];['authorsIds'];['createdAt'];['diffData'];['attributes'];['fromVersion'];['toVersion'];['isEmptyCurrent'];static ['DESCRIPTOR_NAME']='RevisionHistoryGetRevisionResponse';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>RevisionDescriptor['DESCRIPTOR'])());constructor(_0x1c08bc,_0x4476a2,_0x3977ce,_0x450c8f,_0x30db4d,_0x595a58,_0x451a41,_0x6f8f71,_0x413f29,_0x44cce5){super(),this['revisionId']=_0x1c08bc,this['name']=_0x4476a2,this['creatorId']=_0x3977ce,this['authorsIds']=_0x450c8f,this['createdAt']=_0x30db4d,this['diffData']=_0x595a58,this['attributes']=_0x451a41,this['fromVersion']=_0x6f8f71,this['toVersion']=_0x413f29,this['isEmptyCurrent']=_0x44cce5;}['toJSON'](){return RevisionDescriptor['toJSON'](this);}['toObject'](){return RevisionDescriptor['toObject'](this);}static['create'](_0x275c7c){return new RevisionHistoryGetRevisionResponse(_0x275c7c['revisionId'],_0x275c7c['name'],_0x275c7c['creatorId'],_0x275c7c['authorsIds'],_0x275c7c['createdAt'],_0x275c7c['diffData'],_0x275c7c['attributes'],_0x275c7c['fromVersion'],_0x275c7c['toVersion'],_0x275c7c['isEmptyCurrent']);}static['fromJSON'](_0x2c8a6c){return new RevisionHistoryGetRevisionResponse(_0x2c8a6c['revisionId'],_0x2c8a6c['name'],_0x2c8a6c['creatorId'],_0x2c8a6c['authorsIds']?JSON['parse'](_0x2c8a6c['authorsIds']):void 0x0,_0x2c8a6c['createdAt']?new Date(_0x2c8a6c['createdAt']):void 0x0,_0x2c8a6c['diffData'],_0x2c8a6c['attributes']?JSON['parse'](_0x2c8a6c['attributes']):void 0x0,_0x2c8a6c['fromVersion'],_0x2c8a6c['toVersion'],_0x2c8a6c['isEmptyCurrent']);}}class RevisionHistoryUpdateRevisionsMessage extends _0x283e82{['documentId'];['requestId'];['revisions'];static ['TYPE']='124';static ['READABLE_TYPE_NAME']='updateRevisions';static ['DESCRIPTOR_NAME']='RevisionHistoryUpdateRevisionsMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'requestId':{'type':'uint32','id':0x2},'revisions':{'type':'RevisionDescriptor','id':0x3,'rule':'repeated'}}};constructor(_0x1ef32f,_0x39f990,_0x1545f5){super(),this['documentId']=_0x1ef32f,this['requestId']=_0x39f990,this['revisions']=_0x1545f5;}['toJSON'](){return{'documentId':this['documentId'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toJSON'])};}['toObject'](){return{'documentId':this['documentId'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toObject'])};}static['create'](_0x499e98){return new RevisionHistoryUpdateRevisionsMessage(_0x499e98['documentId'],_0x499e98['requestId'],_0x499e98['revisions']['map'](RevisionDescriptor['create']));}static['fromJSON'](_0x1fa3c9){return new RevisionHistoryUpdateRevisionsMessage(_0x1fa3c9['documentId'],_0x1fa3c9['requestId'],_0x1fa3c9['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryUpdateRevisionsResponse extends _0x283e82{['requestId'];static ['DESCRIPTOR_NAME']='RevisionHistoryUpdateRevisionsResponse';static ['DESCRIPTOR']={'fields':{'requestId':{'type':'uint32','id':0x1}}};constructor(_0x19f712){super(),this['requestId']=_0x19f712;}['toJSON'](){return{'requestId':this['requestId']};}static['fromJSON'](_0x2cb1a3){return new RevisionHistoryUpdateRevisionsResponse(_0x2cb1a3['requestId']);}}class RevisionHistoryConnectMessage extends _0x283e82{['documentId'];static ['TYPE']='121';static ['READABLE_TYPE_NAME']='connectToRevisionHistory';static ['DESCRIPTOR_NAME']='RevisionHistoryConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x174961){super(),this['documentId']=_0x174961;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x30cb49){return new RevisionHistoryConnectMessage(_0x30cb49['documentId']);}}class RevisionHistoryConnectResponse extends _0x283e82{['channel'];['requestId'];['revisions'];static ['DESCRIPTOR_NAME']='RevisionHistoryConnectResponse';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'channel':{'type':'string','id':0x1},'requestId':{'type':'uint32','id':0x2},'revisions':{'type':'RevisionDescriptor','id':0x3,'rule':'repeated'}}}))());constructor(_0x2959af,_0x1c8160,_0x53050b){super(),this['channel']=_0x2959af,this['requestId']=_0x1c8160,this['revisions']=_0x53050b;}['toJSON'](){return{'channel':this['channel'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toJSON'])};}['toObject'](){return{'channel':this['channel'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toObject'])};}static['fromJSON'](_0x12678f){return new RevisionHistoryConnectResponse(_0x12678f['channel'],_0x12678f['requestId'],_0x12678f['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryReconnectMessage extends _0x283e82{['documentId'];['requestId'];static ['TYPE']='122';static ['READABLE_TYPE_NAME']='reconnectToRevisionHistory';static ['DESCRIPTOR_NAME']='RevisionHistoryReconnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'requestId':{'type':'uint32','id':0x2}}};constructor(_0x4dc6f0,_0xedae57){super(),this['documentId']=_0x4dc6f0,this['requestId']=_0xedae57;}['toJSON'](){return{'documentId':this['documentId'],'requestId':this['requestId']};}static['fromJSON'](_0x54e7f9){return new RevisionHistoryReconnectMessage(_0x54e7f9['documentId'],_0x54e7f9['requestId']);}}class ServiceNotConnectedError extends CKEditorCloudServicesError{constructor(_0x4b3bbc,_0x19f63f){super(_0x4b3bbc+'\x20Service\x20is\x20not\x20connected.',_0x19f63f);}}class RevisionHistoryService extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xc;constructor(_0x265308){super(),this['_documentId']=_0x265308;}get['isConnected'](){return this['_isConnected'];}['connect'](_0x192eb9){return this['_isConnected']?Promise['resolve']():this['_connect'](_0x192eb9,new RevisionHistoryConnectMessage(this['_documentId']));}['disconnect'](){this['_isConnected']&&(this['_isConnected']=!0x1,this['_wsGateway']&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['fire']('disconnected'),this['stopListening']());}['reconnect'](_0x45867c,_0x4ba2c5){if(this['isConnected'])throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0x45867c);return this['_connect'](_0x45867c,new RevisionHistoryReconnectMessage(this['_documentId'],_0x4ba2c5));}async['updateRevisions'](_0x51a2de,_0x463efd){const _0x13c282=RevisionHistoryUpdateRevisionsMessage['create']({'documentId':this['_documentId'],'requestId':_0x463efd,'revisions':_0x51a2de}),_0x27ecda=await this['_sendRequest'](RevisionHistoryUpdateRevisionsMessage['TYPE'],_0x13c282),{requestId:_0x321f68}=_0x931510['decode'](_0x27ecda,RevisionHistoryUpdateRevisionsResponse);return _0x321f68;}async['getRevision'](_0x2cd271){const _0x1c9679=new RevisionHistoryGetRevisionMessage(this['_documentId'],_0x2cd271),_0x5dbe20=await this['_sendRequest'](RevisionHistoryGetRevisionMessage['TYPE'],_0x1c9679);return _0x931510['decode'](_0x5dbe20,RevisionHistoryGetRevisionResponse)['toObject']();}async['_connect'](_0x308913,_0x2f3ba6){if(_0x308913['state']!==_0x575fba['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x308913);this['_wsGateway']=_0x308913,this['stopListening'](_0x308913,'change:state');const _0x2563b=await _0x308913['_sendRequest'](0xc,_0x2f3ba6['constructor']['TYPE'],_0x931510['encode'](_0x2f3ba6)),{channel:_0x6bf1e0,requestId:_0x4a71de,revisions:_0x550d31}=_0x931510['decode'](_0x2563b,RevisionHistoryConnectResponse)['toObject']();return this['listenTo'](_0x308913,'change:state',(_0x5707ac,_0x51aba5,_0xcc9860)=>this['_onWsGatewayStateChange'](_0xcc9860),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x308913,_0x6bf1e0),this['_isConnected']=!0x0,this['fire']('connected'),{'revisions':_0x550d31,'requestId':_0x4a71de};}['_connectToChannel'](_0x576bfe,_0x2e723d){this['_channel']=_0x576bfe['_getChannel'](RevisionHistoryService['_SERVICE'],_0x2e723d),this['_channel']&&this['listenTo'](this['_channel'],this['_channel']['getEventName'](RevisionHistoryUpdateRevisionsMessage['TYPE']),(_0x1eb1ad,_0x1f5c34)=>{const {documentId:_0x5e94a2,requestId:_0x269732,revisions:_0x32ca6f}=_0x931510['decode'](_0x1f5c34,RevisionHistoryUpdateRevisionsMessage)['toObject']();this['fire']('revisionsUpdated',{'documentId':_0x5e94a2,'requestId':_0x269732,'revisionsData':_0x32ca6f});});}['_onWsGatewayStateChange'](_0x390259){_0x390259===_0x575fba['DISCONNECTED']&&this['disconnect']();}['_sendRequest'](_0xbc1127,_0x1b44c9){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Revision\x20History',this);return this['_wsGateway']['_sendRequest'](0xc,_0xbc1127,_0x931510['encode'](_0x1b44c9));}}class AddSuggestionMessage extends _0x283e82{['id'];['documentId'];['type'];['data'];['originalSuggestionId'];['attributes'];static ['TYPE']='101';static ['READABLE_TYPE_NAME']='addSuggestion';static ['DESCRIPTOR_NAME']='TrackChangesAddSuggestionMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'type':{'type':'string','id':0x3},'data':{'type':'string','id':0x4},'originalSuggestionId':{'type':'string','id':0x5},'attributes':{'type':'string','id':0x6}}};constructor(_0x4eeb6d,_0x218e20,_0x2871ae,_0x5a01ac={},_0x8a6fb5=null,_0x428dbf=null){super(),this['id']=_0x4eeb6d,this['documentId']=_0x218e20,this['type']=_0x2871ae,this['data']=_0x5a01ac,this['originalSuggestionId']=_0x8a6fb5,this['attributes']=_0x428dbf;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId'],'type':this['type'],'data':JSON['stringify'](this['data']),'originalSuggestionId':this['originalSuggestionId'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](_0x1a2307){return new AddSuggestionMessage(_0x1a2307['id'],_0x1a2307['documentId'],_0x1a2307['type'],JSON['parse'](_0x1a2307['data']),_0x1a2307['originalSuggestionId']??null,_0x1a2307['attributes']?JSON['parse'](_0x1a2307['attributes']):null);}}class AddSuggestionResponse extends _0x283e82{['id'];['authorId'];['type'];['hasComments'];['state'];['data'];['attributes'];['createdAt'];static ['DESCRIPTOR_NAME']='TrackChangesAddSuggestionResponse';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'authorId':{'type':'string','id':0x2},'type':{'type':'string','id':0x3},'createdAt':{'type':'string','id':0x4},'data':{'type':'string','id':0x5},'hasComments':{'type':'bool','id':0x6},'state':{'type':'string','id':0x7},'attributes':{'type':'string','id':0x8}}};constructor(_0x7580db,_0x1cb084,_0x57f817,_0x2df658,_0x301777,_0x37c936,_0x3341b1={},_0x16e801=null){super(),this['id']=_0x7580db,this['authorId']=_0x1cb084,this['type']=_0x57f817,this['hasComments']=_0x301777,this['state']=_0x37c936,this['data']=_0x3341b1,this['attributes']=_0x16e801,this['createdAt']=_0x2df658?new Date(_0x2df658):void 0x0;}['toJSON'](){return{'id':this['id'],'authorId':this['authorId'],'type':this['type'],'createdAt':this['createdAt']?.['toISOString'](),'data':JSON['stringify'](this['data']),'hasComments':this['hasComments'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](_0x5af543){return new AddSuggestionResponse(_0x5af543['id'],_0x5af543['authorId'],_0x5af543['type'],_0x5af543['createdAt'],_0x5af543['hasComments'],_0x5af543['state'],JSON['parse'](_0x5af543['data']),_0x5af543['attributes']?JSON['parse'](_0x5af543['attributes']):null);}}class GetSuggestionMessage extends _0x283e82{['id'];['documentId'];static ['TYPE']='103';static ['READABLE_TYPE_NAME']='getSuggestion';static ['DESCRIPTOR_NAME']='TrackChangesGetSuggestionMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2}}};constructor(_0x1844b8,_0xa5f593){super(),this['id']=_0x1844b8,this['documentId']=_0xa5f593;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId']};}static['fromJSON'](_0x225c7f){return new GetSuggestionMessage(_0x225c7f['id'],_0x225c7f['documentId']);}}class GetSuggestionResponse extends _0x283e82{['id'];['authorId'];['type'];['hasComments'];['state'];['data'];['attributes'];['createdAt'];static ['DESCRIPTOR_NAME']='TrackChangesGetSuggestionResponse';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'authorId':{'type':'string','id':0x2},'type':{'type':'string','id':0x3},'createdAt':{'type':'string','id':0x4},'data':{'type':'string','id':0x5},'hasComments':{'type':'bool','id':0x6},'state':{'type':'string','id':0x7},'attributes':{'type':'string','id':0x8}}};constructor(_0x40d9f3,_0x42fcf1,_0x4ceefa,_0x10cd6d,_0x5e9415,_0x66f4ac,_0x34c91c={},_0xd5476d=null){super(),this['id']=_0x40d9f3,this['authorId']=_0x42fcf1,this['type']=_0x4ceefa,this['hasComments']=_0x5e9415,this['state']=_0x66f4ac,this['data']=_0x34c91c,this['attributes']=_0xd5476d,this['createdAt']=new Date(_0x10cd6d);}['toJSON'](){return{'id':this['id'],'authorId':this['authorId'],'type':this['type'],'createdAt':this['createdAt']['toISOString'](),'data':JSON['stringify'](this['data']),'hasComments':this['hasComments'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](_0x5c5f5c){return new GetSuggestionResponse(_0x5c5f5c['id'],_0x5c5f5c['authorId'],_0x5c5f5c['type'],_0x5c5f5c['createdAt'],_0x5c5f5c['hasComments'],_0x5c5f5c['state'],JSON['parse'](_0x5c5f5c['data']),_0x5c5f5c['attributes']?JSON['parse'](_0x5c5f5c['attributes']):null);}}class GetAllSuggestionsMessage extends _0x283e82{['documentId'];static ['TYPE']='102';static ['READABLE_TYPE_NAME']='getAllSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesGetAllSuggestionMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x2ced95){super(),this['documentId']=_0x2ced95;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x4da4e1){return new GetAllSuggestionsMessage(_0x4da4e1['documentId']);}}class SuggestionDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='SuggestionDescriptor';static ['DESCRIPTOR']={'fields':{'id':{'id':0x1,'type':'string'},'authorId':{'id':0x2,'type':'string'},'type':{'id':0x3,'type':'string'},'createdAt':{'id':0x4,'type':'string'},'data':{'id':0x5,'type':'string'},'hasComments':{'id':0x6,'type':'bool'},'state':{'id':0x7,'type':'string'},'attributes':{'id':0x8,'type':'string'}}};static['toJSON'](_0x494a32){return{..._0x494a32,'data':_0x494a32['data']?JSON['stringify'](_0x494a32['data']):_0x494a32['data'],'attributes':_0x494a32['attributes']?JSON['stringify'](_0x494a32['attributes']):_0x494a32['attributes'],'createdAt':_0x494a32['createdAt']?.['toISOString']()};}static['fromJSON'](_0xe7b880){return{..._0xe7b880,'data':_0xe7b880['data']?JSON['parse'](_0xe7b880['data']):_0xe7b880['data'],'attributes':_0xe7b880['attributes']?JSON['parse'](_0xe7b880['attributes']):_0xe7b880['attributes'],'createdAt':_0xe7b880['createdAt']?new Date(_0xe7b880['createdAt']):void 0x0};}}class GetAllSuggestionResponse extends _0x283e82{['_suggestions'];['_suggestionsV2'];['suggestions'];static ['DESCRIPTOR_NAME']='TrackChangesGetAllSuggestionsResponse';static ['DESCRIPTOR']={'fields':{'suggestions':{'type':'string','rule':'repeated','id':0x1},'suggestionsV2':{'type':'SuggestionDescriptor','rule':'repeated','id':0x2}}};constructor(_0x21b989,_0x1edfa1){super(),this['_suggestions']=_0x21b989,this['_suggestionsV2']=_0x1edfa1,this['suggestions']=_0x1edfa1?.['length']?_0x1edfa1:_0x21b989;}['toJSON'](){return{'suggestions':this['_suggestions']?.['map'](_0x12f7b3=>JSON['stringify'](_0x12f7b3)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](_0x4b5e75){return new GetAllSuggestionResponse(_0x4b5e75['suggestions']?.['map'](_suggestionFromString),_0x4b5e75['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}}function _suggestionFromString(_0x10b337){const _0x54f42a=JSON['parse'](_0x10b337);return _0x54f42a['createdAt']=_0x54f42a['createdAt']?new Date(_0x54f42a['createdAt']):void 0x0,_0x54f42a;}class UpdateSuggestionMessage extends _0x283e82{['id'];['documentId'];['hasComments'];['isHasCommentsModified'];['state'];['attributes'];static ['TYPE']='104';static ['READABLE_TYPE_NAME']='updateSuggestion';static ['DESCRIPTOR_NAME']='TrackChangesUpdateSuggestionMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'hasComments':{'type':'bool','id':0x3},'isHasCommentsModified':{'type':'bool','id':0x4},'state':{'type':'string','id':0x5},'attributes':{'type':'string','id':0x6}}};constructor(_0x5591a4,_0x5f5031,_0x44418a,_0x54cbe9,_0x8624b3,_0x26632e=null){super(),this['id']=_0x5591a4,this['documentId']=_0x5f5031,this['hasComments']=_0x44418a,this['isHasCommentsModified']=_0x54cbe9,this['state']=_0x8624b3,this['attributes']=_0x26632e;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId'],'hasComments':this['hasComments'],'isHasCommentsModified':this['isHasCommentsModified'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](_0x33cd7b){return new UpdateSuggestionMessage(_0x33cd7b['id'],_0x33cd7b['documentId'],_0x33cd7b['hasComments'],_0x33cd7b['isHasCommentsModified'],_0x33cd7b['state'],_0x33cd7b['attributes']?JSON['parse'](_0x33cd7b['attributes']):null);}}let ConnectMessage$1=class _0x1bdae3 extends _0x283e82{['documentId'];static ['TYPE']='105';static ['READABLE_TYPE_NAME']='connectToSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x40223f){super(),this['documentId']=_0x40223f;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x291e5d){return new _0x1bdae3(_0x291e5d['documentId']);}},ConnectResponse$1=class _0xfd675 extends _0x283e82{['channel'];['_suggestions'];['_suggestionsV2'];['suggestions'];static ['DESCRIPTOR_NAME']='TrackChangesConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'suggestions':{'type':'string','rule':'repeated','id':0x2},'suggestionsV2':{'type':'SuggestionDescriptor','rule':'repeated','id':0x3}}};constructor(_0x409544,_0xfeb97f,_0x48ce8a){super(),this['channel']=_0x409544,this['_suggestions']=_0xfeb97f,this['_suggestionsV2']=_0x48ce8a,this['suggestions']=_0x48ce8a?.['length']?_0x48ce8a:_0xfeb97f;}['toJSON'](){return{'channel':this['channel'],'suggestions':this['_suggestions']?.['map'](_0x3de15a=>JSON['stringify'](_0x3de15a)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](_0x2ee099){return new _0xfd675(_0x2ee099['channel'],_0x2ee099['suggestions']?.['map'](_0x9895a5=>JSON['parse'](_0x9895a5)),_0x2ee099['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}};class BatchUpdateSuggestionsStateMessage extends _0x283e82{['ids'];['documentId'];['state'];static ['TYPE']='106';static ['READABLE_TYPE_NAME']='batchUpdateSuggestionsState';static ['DESCRIPTOR_NAME']='TrackChangesBatchUpdateSuggestionsStateMessage';static ['DESCRIPTOR']={'fields':{'ids':{'type':'string','rule':'repeated','id':0x1},'documentId':{'type':'string','id':0x2},'state':{'type':'string','id':0x3}}};constructor(_0x252f22,_0x317171,_0x2e4f9a){super(),this['ids']=_0x252f22,this['documentId']=_0x317171,this['state']=_0x2e4f9a;}['toJSON'](){return{'ids':this['ids'],'documentId':this['documentId'],'state':this['state']};}static['fromJSON'](_0x3ffb14){return new BatchUpdateSuggestionsStateMessage(_0x3ffb14['ids'],_0x3ffb14['documentId'],_0x3ffb14['state']);}}class _0x3876a9 extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xa;constructor(_0x53d844){super(),this['_documentId']=_0x53d844;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0x5f56f4){if(this['_isConnected'])return;if(_0x5f56f4['state']!==_0x575fba['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x5f56f4);const _0x575711=new ConnectMessage$1(this['_documentId']);this['_wsGateway']=_0x5f56f4,this['stopListening'](_0x5f56f4,'change:state');const _0x7946c=await _0x5f56f4['_sendRequest'](0xa,ConnectMessage$1['TYPE'],_0x931510['encode'](_0x575711)),_0x3036a7=_0x931510['decode'](_0x7946c,ConnectResponse$1);return this['listenTo'](_0x5f56f4,'change:state',(_0x542979,_0x34b041,_0x598332)=>this['_onWsGatewayStateChange'](_0x598332),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x5f56f4,_0x3036a7['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0x3036a7['suggestions'];}['disconnect'](){this['_isConnected']&&(this['_isConnected']=!0x1,this['_wsGateway']&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['fire']('disconnected'),this['stopListening']());}async['add'](_0x911c41,_0x16c3b1,_0x3e47a0,_0x12b861=null,_0x5314a6){const _0xfd748e=new AddSuggestionMessage(_0x911c41,this['_documentId'],_0x16c3b1,_0x3e47a0,_0x12b861,_0x5314a6),_0x14c33f=await this['_sendRequest'](AddSuggestionMessage['TYPE'],_0xfd748e);return _0x931510['decode'](_0x14c33f,AddSuggestionResponse);}async['get'](_0x1eb456,_0x258e43=0x1){const _0x499f01=new GetSuggestionMessage(_0x1eb456,this['_documentId']);try{const _0x5e47eb=await this['_sendRequest'](GetSuggestionMessage['TYPE'],_0x499f01);return _0x931510['decode'](_0x5e47eb,GetSuggestionResponse);}catch(_0x35267f){if('CKEditorCloudServicesServerError'===_0x35267f['name']&&'404'===_0x35267f['code']&&_0x258e43<0x5)return await(_0x107037=0x64*_0x258e43,new Promise(_0x3f4a84=>{setTimeout(_0x3f4a84,_0x107037);})),this['get'](_0x1eb456,_0x258e43+0x1);if('CKEditorCloudServicesServerError'===_0x35267f['name'])throw _0x35267f;throw CKEditorCloudServicesServerError['fromPublicError'](_0x35267f);}var _0x107037;}async['getAll'](){const _0x1c3642=new GetAllSuggestionsMessage(this['_documentId']),_0x38cf15=await this['_sendRequest'](GetAllSuggestionsMessage['TYPE'],_0x1c3642),{suggestions:_0x484e3a}=_0x931510['decode'](_0x38cf15,GetAllSuggestionResponse);return _0x484e3a;}async['update'](_0x4b2c31,_0x22c63e={}){const {hasComments:_0x2f7222,state:_0x5a6bdc,attributes:_0x46226c}=_0x22c63e,_0x8b88b0=void 0x0!==_0x2f7222,_0xfa143=new UpdateSuggestionMessage(_0x4b2c31,this['_documentId'],_0x2f7222,_0x8b88b0,_0x5a6bdc,_0x46226c);await this['_sendRequest'](UpdateSuggestionMessage['TYPE'],_0xfa143);}async['batchUpdateState'](_0x19fc50){const _0x3b80b2=new BatchUpdateSuggestionsStateMessage(_0x19fc50['ids'],this['_documentId'],_0x19fc50['state']);await this['_sendRequest'](BatchUpdateSuggestionsStateMessage['TYPE'],_0x3b80b2);}['_connectToChannel'](_0x56e928,_0x26dabe){this['_channel']=_0x56e928['_getChannel'](_0x3876a9['_SERVICE'],_0x26dabe),this['_channel']&&this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateSuggestionMessage['TYPE']),(_0xa0d96f,_0x57e048)=>{const _0x87e1d0=_0x931510['decode'](_0x57e048,UpdateSuggestionMessage);this['fire']('suggestionUpdated',_0x87e1d0);});}['_onWsGatewayStateChange'](_0x3c94c0){_0x3c94c0===_0x575fba['DISCONNECTED']&&this['disconnect']();}['_sendRequest'](_0x4f4d96,_0x49a86c){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Track\x20Changes',this);return this['_wsGateway']['_sendRequest'](0xa,_0x4f4d96,_0x931510['encode'](_0x49a86c));}}class SessionsConnectResponse extends _0x283e82{['channel'];['sockets'];static ['DESCRIPTOR_NAME']='SessionsConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'sockets':{'rule':'repeated','type':'SessionsSocketDescriptor','id':0x2}}};constructor(_0x495abd,_0x19a1ac=[]){super(),this['channel']=_0x495abd,this['sockets']=_0x19a1ac;}['toJSON'](){return{'channel':this['channel'],'sockets':this['sockets']['map'](_0xb18882=>({'user':_0xb18882['userId'],'session':_0xb18882['id'],'role':_0xb18882['role'],'permissions':_0xb18882['permissions']}))};}static['fromJSON'](_0xe3eee1){return new SessionsConnectResponse(_0xe3eee1['channel'],_0xe3eee1['sockets']['map'](_0x226b58=>({'id':_0x226b58['session'],'userId':_0x226b58['user'],'role':_0x226b58['role'],'permissions':_0x226b58['permissions']})));}}class SessionsConnectMessage extends _0x283e82{['id'];['sessionType'];static ['TYPE']='31';static ['READABLE_TYPE_NAME']='getConnectedSockets';static ['DESCRIPTOR_NAME']='SessionsConnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'sessionType':{'type':'uint32','id':0x2}}};constructor(_0x1208dd,_0x373b0d){super(),this['id']=_0x1208dd,this['sessionType']=_0x373b0d;}['toJSON'](){return{'id':this['id'],'sessionType':this['sessionType']};}static['fromJSON'](_0x3e6180){return new SessionsConnectMessage(_0x3e6180['id'],_0x3e6180['sessionType']);}}class SocketConnectMessage extends _0x283e82{['id'];['userId'];['role'];['permissions'];static ['TYPE']='32';static ['READABLE_TYPE_NAME']='connectSocket';static ['DESCRIPTOR_NAME']='SocketConnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'userId':{'type':'string','id':0x2},'role':{'type':'string','id':0x3},'permissions':{'rule':'repeated','type':'string','id':0x4}}};constructor(_0xfd8cd6,_0x1ba305,_0x5533bc,_0x3c4894){super(),this['id']=_0xfd8cd6,this['userId']=_0x1ba305,this['role']=_0x5533bc,this['permissions']=_0x3c4894;}['toJSON'](){return{'id':this['id'],'userId':this['userId']??void 0x0,'role':this['role']??void 0x0,'permissions':this['permissions']??void 0x0};}static['fromJSON'](_0x1ece73){return new SocketConnectMessage(_0x1ece73['id'],_0x1ece73['userId'],_0x1ece73['role'],_0x1ece73['permissions']);}}class SocketDisconnectMessage extends _0x283e82{['id'];static ['TYPE']='33';static ['READABLE_TYPE_NAME']='disconnectSocket';static ['DESCRIPTOR_NAME']='SocketDisconnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x5d79ec){super(),this['id']=_0x5d79ec;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0x21c39b){return new SocketDisconnectMessage(_0x21c39b['id']);}}class SessionCollection extends ckeditor5['Collection']{['_id'];['_sessionType'];['_handlers']=new Map();['_channel'];['_wsGateway'];['_connected'];['_eventsQueue']=[];['_isRunning']=!0x1;constructor(_0x1b578d,_0x30856b){super({'idProperty':'id'}),this['_id']=_0x1b578d,this['_sessionType']=_0x30856b;}async['connect'](_0x3906c4){this['_wsGateway']=_0x3906c4,this['stopListening'](_0x3906c4,'change:state');const _0x4b959f=new SessionsConnectMessage(this['_id'],this['_sessionType']);let _0x31307;try{const _0x4dda8a=await this['_wsGateway']['_sendRequest'](0x3,SessionsConnectMessage['TYPE'],_0x931510['encode'](_0x4b959f));_0x31307=_0x931510['decode'](_0x4dda8a,SessionsConnectResponse);}catch(_0x474cac){_0x31307=new SessionsConnectResponse(this['_id'],[]);}this['_connectToChannel'](this['_wsGateway'],_0x31307['channel'],this['_sessionType']);const _0x1f8d51=await async function(_0x3941a6,_0x1627c3){const _0x4fa0f8=_0x1627c3['map'](_0x58f1f6=>_0x58f1f6['userId']),_0x2c16d5=_0x4fa0f8['length']?await _0x3f1eee['getMany'](_0x3941a6,_0x4fa0f8):[];return _0x1627c3['map'](_0x2fb4e6=>{const _0x4844a4={'id':_0x2fb4e6['id'],'role':_0x2fb4e6['role'],'permissions':_0x2fb4e6['permissions']};return _0x4844a4['user']=_0x2fb4e6['userId']&&_0x2c16d5['find'](_0x4a8d09=>_0x4a8d09['id']===_0x2fb4e6['userId'])||new _0x3f1eee(),_0x4844a4;});}(this['_wsGateway'],_0x31307['sockets']);for(const _0x12c2a6 of _0x1f8d51)super['add'](_0x12c2a6);this['_connected']=!0x0,this['fire']('connected'),this['listenTo'](this['_wsGateway'],'change:state',(_0x48f1cc,_0x17bbbe,_0x42cf99)=>this['_onWsGatewayStateChange'](_0x42cf99),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),await this['_runQueue']();}['disconnect'](_0x3c5cf8=!0x0){if(this['_connected']){for(this['_connected']=!0x1,this['_eventsQueue']=[];this['length'];)super['remove'](0x0);this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['_wsGateway']&&_0x3c5cf8&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['fire']('disconnected'),_0x3c5cf8&&this['stopListening']();}}['add'](_0x165e77,_0x4758de){throw new TypeError('The\x20collection\x20is\x20read-only.');}['remove'](_0x2d7033){throw new TypeError('The\x20collection\x20is\x20read-only.');}['_connectToChannel'](_0xdb3574,_0x28abc6,_0x3b86f0){this['_channel']=_0xdb3574['_getChannel'](_0x3b86f0,_0x28abc6),this['_channel']&&(this['_addHandler'](this['_channel'],SocketConnectMessage['TYPE'],async _0x1dfef6=>{const _0x4cba59=_0x931510['decode'](_0x1dfef6,SocketConnectMessage);if(-0x1===this['getIndex'](_0x4cba59['id'])){const _0x51ae56={'id':_0x4cba59['id'],'role':_0x4cba59['role'],'permissions':_0x4cba59['permissions']};_0x4cba59['userId']&&(_0x51ae56['user']=await _0x3f1eee['get'](_0xdb3574,_0x4cba59['userId'])),super['add'](_0x51ae56);}}),this['_addHandler'](this['_channel'],SocketDisconnectMessage['TYPE'],_0x365a7c=>{const _0xdd8e29=_0x931510['decode'](_0x365a7c,SocketDisconnectMessage);-0x1!==this['getIndex'](_0xdd8e29['id'])&&super['remove'](_0xdd8e29['id']);}));}async['_onWsGatewayStateChange'](_0x3e3f41){_0x3e3f41===WebSocketGateway$1['STATE_DISCONNECTED']&&this['disconnect'](!0x1),_0x3e3f41===WebSocketGateway$1['STATE_CONNECTED']&&await this['connect'](this['_wsGateway']);}async['_runQueue'](){if(this['_isRunning']||!this['_connected'])return;let _0x355931;for(this['_isRunning']=!0x0;_0x355931=this['_eventsQueue']['shift']();){const _0x2f2662=this['_handlers']['get'](_0x355931['eventName']);_0x2f2662&&await _0x2f2662(_0x355931['data']);}this['_isRunning']=!0x1;}['_addHandler'](_0x530911,_0x1d251b,_0x39536f){const _0xec4341=_0x530911['getEventName'](_0x1d251b,!0x0);this['listenTo'](_0x530911,_0xec4341,async(_0x397654,_0x25f62f)=>{const _0x314234=_0x397654['name'];this['_eventsQueue']['push']({'eventName':_0x314234,'data':_0x25f62f}),await this['_runQueue']();}),this['_handlers']['set'](_0xec4341,_0x39536f);}}let _0x496fd1=class{static async['getConnectedSessions'](_0x368330,_0x2a89aa,_0x5ad876){const _0x3792ec=new SessionCollection(_0x2a89aa,_0x5ad876);return await _0x3792ec['connect'](_0x368330),_0x3792ec;}};class CollaborativeEditingConnectMessage extends _0x283e82{['id'];['buffers'];['types'];['bundleVersion'];['lastOperationId'];static ['TYPE']='11';static ['READABLE_TYPE_NAME']='connectToDocument';static ['DESCRIPTOR_NAME']='CollaborativeEditingConnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'bundleVersion':{'type':'string','id':0x2},'buffers':{'rule':'repeated','type':'bytes','id':0x3},'types':{'rule':'repeated','type':'uint32','id':0x4},'lastOperationId':{'type':'string','id':0x5}}};constructor(_0x22f02e,_0x3c768a,_0xfbab41,_0x22b549,_0x576ddc=''){super(),this['id']=_0x22f02e,this['buffers']=_0x3c768a,this['types']=_0xfbab41,this['bundleVersion']=_0x22b549,this['lastOperationId']=_0x576ddc;}['toJSON'](){return{'id':this['id'],'buffers':this['buffers'],'types':this['types'],'bundleVersion':this['bundleVersion'],'lastOperationId':this['lastOperationId']};}static['fromJSON'](_0x2afa66){return new CollaborativeEditingConnectMessage(_0x2afa66['id'],_0x2afa66['buffers'],_0x2afa66['types'],_0x2afa66['bundleVersion'],_0x2afa66['lastOperationId']);}}class OperationMetadataHelpers{static['prepareMetadataForOperations'](_0xf2acc9,_0x5025e9){if(!_0xf2acc9?.['length']||!_0x5025e9?.['length'])return[];const _0x361fa2=[];let _0x3ce622=0x0;for(const _0x1c928a of _0xf2acc9)if(0x0!==_0x1c928a){if(!_0x5025e9[_0x3ce622])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x361fa2['push'](_0x5025e9[_0x3ce622]),_0x3ce622++;}else _0x361fa2['push'](_0x361fa2[_0x361fa2['length']-0x1]);return _0x361fa2;}static['removeUnnecessaryMetadata'](_0x1df2a0,_0x228232){if(!_0x1df2a0?.['length']||!_0x228232?.['length'])return[];const _0x3c0dee=[];for(let _0x2bddf2=0x0;_0x2bddf2<_0x1df2a0['length'];_0x2bddf2++)if(0x0!==_0x1df2a0[_0x2bddf2]){if(!_0x228232[_0x2bddf2])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x3c0dee['push'](_0x228232[_0x2bddf2]);}return _0x3c0dee;}}class OperationMetadataDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='OperationMetadataDescriptor';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'userId':{'type':'string','id':0x1},'type':{'type':'string','id':0x2},'createdAt':{'type':'string','id':0x3}}}))());static['toJSON']({createdAt:_0x3c33a8,..._0x5e5a84}){const _0x5cca5d={..._0x5e5a84};return _0x3c33a8?.['toISOString']&&(_0x5cca5d['createdAt']=_0x3c33a8['toISOString']()),_0x5cca5d;}static['fromJSON']({createdAt:_0x58f23a,..._0x3cf495}){const _0x402194={..._0x3cf495};return _0x58f23a&&(_0x402194['createdAt']=new Date(_0x58f23a)),_0x402194;}}class CollaborativeEditingUpdateMessage extends _0x283e82{['id'];['buffers'];['types'];['baseVersion'];['metadata'];['lastOperationId'];static ['TYPE']='13';static ['READABLE_TYPE_NAME']='updateDocument';static ['DESCRIPTOR_NAME']='CollaborativeEditingUpdateMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'baseVersion':{'type':'uint32','id':0x2},'buffers':{'rule':'repeated','type':'bytes','id':0x3},'types':{'rule':'repeated','type':'uint32','id':0x4},'metadata':{'rule':'repeated','type':'OperationMetadataDescriptor','id':0x6},'lastOperationId':{'type':'string','id':0x7}}};constructor(_0x3756b4,_0x40299e,_0x43e11b,_0x4065c1,_0x13d6dd=[],_0x332b58=''){super(),this['id']=_0x3756b4,this['buffers']=_0x40299e,this['types']=_0x43e11b,this['baseVersion']=_0x4065c1,this['metadata']=_0x13d6dd,this['lastOperationId']=_0x332b58;}get['data'](){return{'buffers':this['buffers'],'types':this['types'],'baseVersion':this['baseVersion'],'lastOperationId':this['lastOperationId']};}['toJSON'](){return{'id':this['id'],'buffers':this['buffers'],'types':this['types'],'baseVersion':this['baseVersion'],'metadata':OperationMetadataHelpers['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](OperationMetadataDescriptor['toJSON']),'lastOperationId':this['lastOperationId']};}static['fromJSON'](_0x3638cf){return new CollaborativeEditingUpdateMessage(_0x3638cf['id'],_0x3638cf['buffers'],_0x3638cf['types'],_0x3638cf['baseVersion'],OperationMetadataHelpers['prepareMetadataForOperations'](_0x3638cf['types'],_0x3638cf['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),_0x3638cf['lastOperationId']);}}class CollaborativeEditingReconnectMessage extends _0x283e82{['id'];['lastKnowVersion'];['bundleVersion'];static ['TYPE']='12';static ['READABLE_TYPE_NAME']='reconnectToDocument';static ['DESCRIPTOR_NAME']='CollaborativeEditingReconnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'bundleVersion':{'type':'string','id':0x2},'lastKnowVersion':{'type':'uint32','id':0x3}}};constructor(_0x2459e1,_0x884af,_0x26689a){super(),this['id']=_0x2459e1,this['lastKnowVersion']=_0x884af,this['bundleVersion']=_0x26689a;}['toJSON'](){return{'id':this['id'],'bundleVersion':this['bundleVersion'],'lastKnowVersion':this['lastKnowVersion']};}static['fromJSON'](_0x781599){return new CollaborativeEditingReconnectMessage(_0x781599['id'],_0x781599['lastKnowVersion'],_0x781599['bundleVersion']);}}class CollaborativeEditingResponse extends _0x283e82{['version'];['buffers'];['types'];['metadata'];['lastOperationId'];['lastOperationAcceptedAt'];static ['DESCRIPTOR_NAME']='CollaborativeEditingResponse';static ['DESCRIPTOR']={'fields':{'version':{'type':'uint32','id':0x1},'buffers':{'rule':'repeated','type':'bytes','id':0x2},'types':{'rule':'repeated','type':'uint32','id':0x3},'metadata':{'rule':'repeated','type':'OperationMetadataDescriptor','id':0x5},'lastOperationId':{'type':'string','id':0x6},'lastOperationAcceptedAt':{'type':'string','id':0x7}}};constructor(_0xdbdda0,_0x16b42d=[],_0x4866ed=[],_0x12e807=[],_0x3a564d='',_0x3a3b0d=null){super(),this['version']=_0xdbdda0,this['buffers']=_0x16b42d,this['types']=_0x4866ed,this['metadata']=_0x12e807,this['lastOperationId']=_0x3a564d,this['lastOperationAcceptedAt']=_0x3a3b0d;}get['data'](){return{'buffers':this['buffers'],'types':this['types'],'baseVersion':this['version']-this['types']['length'],'lastOperationId':this['lastOperationId'],'lastOperationAcceptedAt':this['lastOperationAcceptedAt']};}get['wereChangesApplied'](){return!this['types']?.['length'];}['toJSON'](){return{'version':this['version'],'buffers':this['buffers'],'types':this['types'],'metadata':OperationMetadataHelpers['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](OperationMetadataDescriptor['toJSON']),'lastOperationId':this['lastOperationId'],'lastOperationAcceptedAt':this['lastOperationAcceptedAt']instanceof Date?this['lastOperationAcceptedAt']['toISOString']():this['lastOperationAcceptedAt']};}static['fromJSON'](_0x2248af){return new CollaborativeEditingResponse(_0x2248af['version'],_0x2248af['buffers'],_0x2248af['types'],OperationMetadataHelpers['prepareMetadataForOperations'](_0x2248af['types'],_0x2248af['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),_0x2248af['lastOperationId'],_0x2248af['lastOperationAcceptedAt']?new Date(_0x2248af['lastOperationAcceptedAt']):null);}static['create'](_0x1285e7){return new CollaborativeEditingResponse(_0x1285e7['version'],_0x1285e7['buffers'],_0x1285e7['types'],_0x1285e7['metadata'],_0x1285e7['lastOperationId'],_0x1285e7['lastOperationAcceptedAt']?new Date(_0x1285e7['lastOperationAcceptedAt']):null);}}class CollaborativeEditingConnectResponse extends _0x283e82{['channel'];['version'];['buffers'];['types'];['offset'];['metadata'];['initData'];['sessionId'];['lastOperationId'];['sessionCreatedAt'];static ['DESCRIPTOR_NAME']='CollaborativeEditingConnectResponse';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'channel':{'type':'string','id':0x1},'offset':{'type':'uint32','id':0x2},'version':{'type':'uint32','id':0x3},'buffers':{'rule':'repeated','type':'bytes','id':0x4},'types':{'rule':'repeated','type':'uint32','id':0x5},'metadata':{'rule':'repeated','type':OperationMetadataDescriptor['DESCRIPTOR_NAME'],'id':0x7},'initData':{'type':'string','id':0x8},'isInitialized':{'type':'bool','id':0x9},'sessionId':{'type':'string','id':0xa},'lastOperationId':{'type':'string','id':0xb},'sessionCreatedAt':{'type':'string','id':0xc}}}))());constructor(_0x16b183,_0x3d76f8,_0x510f9c=[],_0x1e1b77=[],_0x27fd0d=0x0,_0x422f19=[],_0x30c6fe=null,_0xb805b='',_0x76b5bd='',_0x15da7e=null){super(),this['channel']=_0x16b183,this['version']=_0x3d76f8,this['buffers']=_0x510f9c,this['types']=_0x1e1b77,this['offset']=_0x27fd0d,this['metadata']=_0x422f19,this['initData']=_0x30c6fe,this['sessionId']=_0xb805b,this['lastOperationId']=_0x76b5bd,this['sessionCreatedAt']=_0x15da7e;}get['data'](){return{'buffers':this['buffers'],'types':this['types'],'baseVersion':this['version']-this['types']['length'],'lastOperationId':this['lastOperationId'],'sessionCreatedAt':this['sessionCreatedAt']};}get['wereChangesApplied'](){return!this['types']?.['length']&&null===this['initData'];}['toJSON'](){return{'channel':this['channel'],'version':this['version'],'sessionId':this['sessionId'],'buffers':this['buffers'],'types':this['types'],'offset':this['offset'],'metadata':OperationMetadataHelpers['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](OperationMetadataDescriptor['toJSON']),'initData':this['initData']??'','isInitialized':'string'==typeof this['initData'],'lastOperationId':this['lastOperationId'],'sessionCreatedAt':this['sessionCreatedAt']?this['sessionCreatedAt']['toISOString']():null};}static['create'](_0x2f4049){return new CollaborativeEditingConnectResponse(_0x2f4049['channel'],_0x2f4049['version'],_0x2f4049['buffers'],_0x2f4049['types'],_0x2f4049['offset'],_0x2f4049['metadata'],_0x2f4049['initData'],_0x2f4049['sessionId'],_0x2f4049['lastOperationId'],_0x2f4049['sessionCreatedAt']);}static['fromJSON'](_0x37950f){let _0x165038=null;return!0x0===_0x37950f['isInitialized']?_0x165038=_0x37950f['initData']??'':'boolean'!=typeof _0x37950f['isInitialized']&&_0x37950f['initData']&&(_0x165038=_0x37950f['initData']),CollaborativeEditingConnectResponse['create']({'channel':_0x37950f['channel'],'version':_0x37950f['version'],'buffers':_0x37950f['buffers'],'types':_0x37950f['types'],'offset':_0x37950f['offset'],'metadata':OperationMetadataHelpers['prepareMetadataForOperations'](_0x37950f['types'],_0x37950f['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),'initData':_0x165038,'sessionId':_0x37950f['sessionId'],'lastOperationId':_0x37950f['lastOperationId'],'sessionCreatedAt':_0x37950f['sessionCreatedAt']?new Date(_0x37950f['sessionCreatedAt']):null});}}class GetDocumentDetailsResponse extends _0x283e82{['lastDocumentSession'];['currentDocumentSession'];static ['DESCRIPTOR_NAME']='GetDocumentDetailsResponse';static ['DESCRIPTOR']={'fields':{'lastDocumentSessionId':{'type':'string','id':0x1},'lastDocumentSessionOperationId':{'type':'string','id':0x2},'currentDocumentSessionId':{'type':'string','id':0x3},'currentDocumentSessionVersion':{'type':'uint32','id':0x4},'currentDocumentSessionOperationId':{'type':'string','id':0x5}}};constructor(_0x1e935d,_0x492423){super(),this['lastDocumentSession']=_0x1e935d,this['currentDocumentSession']=_0x492423;}get['data'](){return{'lastDocumentSessionId':this['lastDocumentSession']?.['id'],'lastDocumentSessionOperationId':this['lastDocumentSession']?.['lastOperationId'],'currentDocumentSessionId':this['currentDocumentSession']?.['id'],'currentDocumentSessionVersion':this['currentDocumentSession']?.['version'],'currentDocumentSessionOperationId':this['currentDocumentSession']?.['lastOperationId']};}['toJSON'](){return{'lastDocumentSessionId':this['lastDocumentSession']?.['id'],'lastDocumentSessionOperationId':this['lastDocumentSession']?.['lastOperationId'],'currentDocumentSessionId':this['currentDocumentSession']?.['id'],'currentDocumentSessionVersion':this['currentDocumentSession']?.['version'],'currentDocumentSessionOperationId':this['currentDocumentSession']?.['lastOperationId']};}static['fromJSON'](_0x2979a2){const _0x48a37e=_0x2979a2['lastDocumentSessionId']?{'id':_0x2979a2['lastDocumentSessionId'],'lastOperationId':_0x2979a2['lastDocumentSessionOperationId']}:void 0x0,_0x5d21d3=_0x2979a2['currentDocumentSessionId']?{'lastOperationId':_0x2979a2['currentDocumentSessionOperationId'],'version':_0x2979a2['currentDocumentSessionVersion'],'id':_0x2979a2['currentDocumentSessionId']}:void 0x0;return new GetDocumentDetailsResponse(_0x48a37e,_0x5d21d3);}}class GetDocumentDetailsMessage extends _0x283e82{['documentId'];static ['TYPE']='14';static ['READABLE_TYPE_NAME']='getDocumentDetails';static ['DESCRIPTOR_NAME']='GetDocumentDetailsMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'environmentId':{'type':'string','id':0x2}}};constructor(_0x3e915a){super(),this['documentId']=_0x3e915a;}get['data'](){return{'documentId':this['documentId']};}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x3fa27c){return new GetDocumentDetailsMessage(_0x3fa27c['documentId']);}}class CollaborativeEditingService extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){static ['_SERVICE']=0x1;['_bundleVersion'];['_id'];['_isConnected'];['_wsGateway'];['_channel'];['_connectedSessions'];constructor(_0x5b30b4,_0x8fab5a){if(super(),!_0x5b30b4)throw new TypeError('Param\x20\x22bundleVersion\x22\x20must\x20be\x20provided.');this['_id']=_0x8fab5a??_0x4338ed(),this['_isConnected']=!0x1,this['_bundleVersion']=_0x5b30b4;}['getId'](){return this['_id'];}['isConnected'](){return this['_isConnected'];}['connect'](_0x4c5e96,_0xa8c282={'buffers':[],'types':[]},_0x1b8acb){const _0x4ac09f=new CollaborativeEditingConnectMessage(this['getId'](),_0xa8c282['buffers'],_0xa8c282['types'],this['_bundleVersion'],_0x1b8acb);return this['_connect'](_0x4c5e96,_0x4ac09f);}['reconnect'](_0xb55190,_0x20dc9f){if(this['isConnected']())throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0xb55190);return this['_connect'](_0xb55190,new CollaborativeEditingReconnectMessage(this['getId'](),_0x20dc9f,this['_bundleVersion']));}['disconnect'](){this['_isConnected']&&(this['_isConnected']=!0x1,this['_wsGateway']&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['_connectedSessions']&&(this['_connectedSessions']['disconnect'](),this['_connectedSessions']=void 0x0),this['fire']('disconnected'),this['stopListening']());}async['getDocumentDetails'](){const _0xaef94=new GetDocumentDetailsMessage(this['getId']());if(!this['_wsGateway'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x1c436e=await this['_wsGateway']['_sendRequest'](0x1,GetDocumentDetailsMessage['TYPE'],_0x931510['encode'](_0xaef94));return _0x931510['decode'](_0x1c436e,GetDocumentDetailsResponse);}async['sendOperations'](_0x48f1e2,_0x930cdb,_0x276b0d){if(!_0x48f1e2?.['types']?.['length'])throw new CKEditorCloudServicesError('Cannot\x20send\x20empty\x20update.',this['_wsGateway']);const _0x2dbb77='number'==typeof _0x930cdb?_0x930cdb:parseInt(_0x930cdb);if(!Number['isInteger'](_0x2dbb77)||_0x2dbb77<0x0)throw new CKEditorCloudServicesError('Base\x20version\x20not\x20provided.',this['_wsGateway']);const _0x3a8c55=new CollaborativeEditingUpdateMessage(this['getId'](),_0x48f1e2['buffers'],_0x48f1e2['types'],_0x2dbb77,[],_0x276b0d);if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x3266c1=await this['_wsGateway']['_sendRequest'](0x1,CollaborativeEditingUpdateMessage['TYPE'],_0x931510['encode'](_0x3a8c55));return _0x931510['decode'](_0x3266c1,CollaborativeEditingResponse);}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);return this['_connectedSessions']||(this['_connectedSessions']=await _0x496fd1['getConnectedSessions'](this['_wsGateway'],this['_id'],0x1)),this['_connectedSessions'];}static['getConnectedSessions'](_0x21a38b,_0x50cd3f){return _0x496fd1['getConnectedSessions'](_0x21a38b,_0x50cd3f,0x1);}async['_connect'](_0x39fd7e,_0x1672ca){if(this['isConnected']())return;if(_0x39fd7e['state']!==WebSocketGateway$1['STATE_CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x39fd7e);this['_wsGateway']=_0x39fd7e,this['stopListening'](_0x39fd7e,'change:state');const _0x49f87e=await _0x39fd7e['_sendRequest'](0x1,_0x1672ca['constructor']['TYPE'],_0x931510['encode'](_0x1672ca)),_0x101ee9=_0x931510['decode'](_0x49f87e,CollaborativeEditingConnectResponse);return this['listenTo'](_0x39fd7e,'change:state',(_0x5f02af,_0x32a80f,_0x2a0ee6)=>this['_onWsGatewayStateChange'](_0x2a0ee6),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x39fd7e,_0x101ee9['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0x101ee9;}['_connectToChannel'](_0x1b1c65,_0x2968a7){this['_channel']=_0x1b1c65['_getChannel'](0x1,_0x2968a7),this['listenTo'](this['_channel'],this['_channel']['getEventName'](CollaborativeEditingUpdateMessage['TYPE']),(_0x2e2a0d,_0x188de5)=>{const _0x433d7a=_0x931510['decode'](_0x188de5,CollaborativeEditingUpdateMessage);this['fire']('operationsReceived',_0x433d7a['baseVersion'],_0x433d7a['data'],_0x433d7a['metadata']);});}['_onWsGatewayStateChange'](_0x49cde0){_0x49cde0===WebSocketGateway$1['STATE_DISCONNECTED']&&this['disconnect']();}}class CommentDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='CommentDescriptor';static ['DESCRIPTOR']={'fields':{'commentId':{'id':0x1,'type':'string'},'commentThreadId':{'id':0x2,'type':'string'},'userId':{'id':0x3,'type':'string'},'content':{'id':0x4,'type':'string'},'documentId':{'id':0x5,'type':'string'},'createdAt':{'id':0x6,'type':'string'},'attributes':{'id':0x7,'type':'string'}}};static['toJSON'](_0x537703){return{..._0x537703,'createdAt':_0x537703['createdAt']?.['toISOString'](),'attributes':_0x537703['attributes']?JSON['stringify'](_0x537703['attributes']):null};}static['fromJSON'](_0x3db415){return{..._0x3db415,'createdAt':new Date(_0x3db415['createdAt']),'attributes':_0x3db415['attributes']?JSON['parse'](_0x3db415['attributes']):null};}}class CommentsThreadDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='CommentsThreadDescriptor';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'comments':{'type':'CommentDescriptor','rule':'repeated','id':0x2},'resolvedAt':{'type':'string','id':0x3},'resolvedBy':{'type':'string','id':0x4},'context':{'type':'string','id':0x5},'createdAt':{'type':'string','id':0x6},'deletedAt':{'type':'string','id':0x7},'attributes':{'type':'string','id':0x8},'unlinkedAt':{'type':'string','id':0x9}}};static['toJSON'](_0x39627c){return{..._0x39627c,'createdAt':_0x39627c['createdAt']?.['toISOString'](),'deletedAt':_0x39627c['deletedAt']?.['toISOString'](),'resolvedAt':_0x39627c['resolvedAt']?.['toISOString'](),'attributes':_0x39627c['attributes']?JSON['stringify'](_0x39627c['attributes']):null,'context':_0x39627c['context']?JSON['stringify'](_0x39627c['context']):_0x39627c['context'],'comments':_0x39627c['comments']?.['map'](CommentDescriptor['toJSON']),'unlinkedAt':_0x39627c['unlinkedAt']?.['toISOString']()};}static['fromJSON'](_0x117a56){return{..._0x117a56,'createdAt':_0x117a56['createdAt']?new Date(_0x117a56['createdAt']):void 0x0,'deletedAt':_0x117a56['deletedAt']?new Date(_0x117a56['deletedAt']):void 0x0,'resolvedAt':_0x117a56['resolvedAt']?new Date(_0x117a56['resolvedAt']):void 0x0,'attributes':_0x117a56['attributes']?JSON['parse'](_0x117a56['attributes']):null,'context':_0x117a56['context']?JSON['parse'](_0x117a56['context']):void 0x0,'comments':_0x117a56['comments']?.['map'](CommentDescriptor['fromJSON']),'unlinkedAt':_0x117a56['unlinkedAt']?new Date(_0x117a56['unlinkedAt']):void 0x0};}}class AddCommentMessage extends _0x283e82{['documentId'];['commentThreadId'];['content'];['commentId'];['userId'];['attributes'];['commentThread'];['createdAt'];static ['TYPE']='91';static ['READABLE_TYPE_NAME']='addComment';static ['DESCRIPTOR_NAME']='CommentsV2AddCommentMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'content':{'type':'string','id':0x2},'documentId':{'type':'string','id':0x3},'commentId':{'type':'string','id':0x4},'createdAt':{'type':'string','id':0x5},'userId':{'type':'string','id':0x6},'attributes':{'type':'string','id':0x7},'commentThread':{'type':'CommentsThreadDescriptor','id':0x8}}};constructor(_0x31360c,_0x385861,_0x88421b,_0x1a08d9='',_0x5aaa36,_0x115a55='',_0x3f76b4=null,_0x27648f){super(),this['documentId']=_0x31360c,this['commentThreadId']=_0x385861,this['content']=_0x88421b,this['commentId']=_0x1a08d9,this['userId']=_0x115a55,this['attributes']=_0x3f76b4,this['commentThread']=_0x27648f,this['createdAt']=_0x5aaa36?new Date(_0x5aaa36):'';}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'content':this['content'],'documentId':this['documentId'],'commentId':this['commentId'],'createdAt':this['createdAt']instanceof Date?this['createdAt']['toISOString']():this['createdAt'],'userId':this['userId'],'attributes':JSON['stringify'](this['attributes']),'commentThread':this['commentThread']?CommentsThreadDescriptor['toJSON'](this['commentThread']):void 0x0};}static['fromJSON'](_0x14ffc1){return new AddCommentMessage(_0x14ffc1['documentId'],_0x14ffc1['commentThreadId'],_0x14ffc1['content'],_0x14ffc1['commentId']?_0x14ffc1['commentId']:void 0x0,_0x14ffc1['createdAt']?new Date(_0x14ffc1['createdAt']):void 0x0,_0x14ffc1['userId']?_0x14ffc1['userId']:void 0x0,_0x14ffc1['attributes']?JSON['parse'](_0x14ffc1['attributes']):{},_0x14ffc1['commentThread']?CommentsThreadDescriptor['fromJSON'](_0x14ffc1['commentThread']):void 0x0);}}class AddCommentResponse extends _0x283e82{['commentThreadId'];['commentId'];['createdAt'];static ['DESCRIPTOR_NAME']='CommentsV2AddCommentResponse';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'commentId':{'type':'string','id':0x2},'createdAt':{'type':'string','id':0x3}}};constructor(_0x366897,_0x5e4488,_0x45c1f4){super(),this['commentThreadId']=_0x366897,this['commentId']=_0x5e4488,this['createdAt']=new Date(_0x45c1f4);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'commentId':this['commentId'],'createdAt':this['createdAt']['toISOString']()};}static['fromJSON'](_0x1337ef){return new AddCommentResponse(_0x1337ef['commentThreadId'],_0x1337ef['commentId'],_0x1337ef['createdAt']);}}class ConnectMessage extends _0x283e82{['documentId'];static ['TYPE']='92';static ['READABLE_TYPE_NAME']='connectToComment';static ['DESCRIPTOR_NAME']='CommentsV2ConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x58c2a9){super(),this['documentId']=_0x58c2a9;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x4db0c4){return new ConnectMessage(_0x4db0c4['documentId']);}}class ConnectResponse extends _0x283e82{['channel'];['_threads'];['_threadsV2'];['threads'];static ['DESCRIPTOR_NAME']='CommentsV2ConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'threads':{'type':'string','rule':'repeated','id':0x2},'threadsV2':{'type':'CommentsThreadDescriptor','rule':'repeated','id':0x3}}};constructor(_0x33169c,_0x309332,_0x117bb6){super(),this['channel']=_0x33169c,this['_threads']=_0x309332,this['_threadsV2']=_0x117bb6,this['threads']=_0x117bb6?.['length']?_0x117bb6:_0x309332;}['toJSON'](){return{'channel':this['channel'],'threads':this['_threads']?.['map'](_0x1987b5=>JSON['stringify'](_0x1987b5)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](_0x54c369){return new ConnectResponse(_0x54c369['channel'],_0x54c369['threads']?.['map'](_0x3dbbff=>JSON['parse'](_0x3dbbff)),_0x54c369['threadsV2']?.['map'](CommentsThreadDescriptor['fromJSON']));}}class RemoveCommentMessage extends _0x283e82{['documentId'];['commentThreadId'];['commentId'];static ['TYPE']='95';static ['READABLE_TYPE_NAME']='removeComment';static ['DESCRIPTOR_NAME']='CommentsV2RemoveCommentMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'commentId':{'type':'string','id':0x2},'documentId':{'type':'string','id':0x3}}};constructor(_0x260fc4,_0x322e51,_0x144c47){super(),this['documentId']=_0x260fc4,this['commentThreadId']=_0x322e51,this['commentId']=_0x144c47;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'commentId':this['commentId']};}static['fromJSON'](_0x37d691){return new RemoveCommentMessage(_0x37d691['documentId'],_0x37d691['commentThreadId'],_0x37d691['commentId']);}}class RemoveCommentThreadMessage extends _0x283e82{['documentId'];['commentThreadId'];static ['TYPE']='97';static ['READABLE_TYPE_NAME']='removeCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2RemoveCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2}}};constructor(_0x427447,_0x1889a4){super(),this['documentId']=_0x427447,this['commentThreadId']=_0x1889a4;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x425255){return new RemoveCommentThreadMessage(_0x425255['documentId'],_0x425255['commentThreadId']);}}class UpdateCommentMessage extends _0x283e82{['documentId'];['commentThreadId'];['commentId'];['content'];['attributes'];['isAttributesUpdated'];['commentThread'];static ['TYPE']='96';static ['READABLE_TYPE_NAME']='updateComment';static ['DESCRIPTOR_NAME']='CommentsV2UpdateCommentMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'commentId':{'type':'string','id':0x2},'content':{'type':'string','id':0x3},'documentId':{'type':'string','id':0x4},'attributes':{'type':'string','id':0x5},'isAttributesUpdated':{'type':'bool','id':0x6},'commentThread':{'type':'CommentsThreadDescriptor','id':0x7}}};constructor(_0x470d45,_0x43fbab,_0x41e62f,_0x406803,_0x5bcbea=null,_0x55b178=!0x1,_0x595b39){super(),this['documentId']=_0x470d45,this['commentThreadId']=_0x43fbab,this['commentId']=_0x41e62f,this['content']=_0x406803,this['attributes']=_0x5bcbea,this['isAttributesUpdated']=_0x55b178,this['commentThread']=_0x595b39;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'commentId':this['commentId'],'content':this['content'],'attributes':this['attributes']?JSON['stringify'](this['attributes']):null,'isAttributesUpdated':this['isAttributesUpdated'],'commentThread':this['commentThread']?CommentsThreadDescriptor['toJSON'](this['commentThread']):void 0x0};}static['fromJSON'](_0x509c45){return new UpdateCommentMessage(_0x509c45['documentId'],_0x509c45['commentThreadId'],_0x509c45['commentId'],_0x509c45['content'],_0x509c45['attributes']?JSON['parse'](_0x509c45['attributes']):null,_0x509c45['isAttributesUpdated'],_0x509c45['commentThread']?CommentsThreadDescriptor['fromJSON'](_0x509c45['commentThread']):void 0x0);}}class GetCommentThreadMessage extends _0x283e82{['commentThreadId'];['documentId'];static ['TYPE']='93';static ['READABLE_TYPE_NAME']='getComment';static ['DESCRIPTOR_NAME']='CommentsV2GetCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2}}};constructor(_0x20a419,_0x2843e4){super(),this['commentThreadId']=_0x20a419,this['documentId']=_0x2843e4;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId']};}static['fromJSON'](_0x4dd8ee){return new GetCommentThreadMessage(_0x4dd8ee['commentThreadId'],_0x4dd8ee['documentId']);}}class GetCommentThreadResponse extends _0x283e82{['commentThreadId'];['_comments'];['_commentsV2'];['resolvedBy'];['comments'];['createdAt'];['deletedAt'];['resolvedAt'];['attributes'];['context'];['unlinkedAt'];static ['DESCRIPTOR_NAME']='CommentsV2GetCommentThreadResponse';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'comments':{'type':'string','rule':'repeated','id':0x2},'commentsV2':{'type':'CommentDescriptor','rule':'repeated','id':0x3},'resolvedAt':{'type':'string','id':0x4},'resolvedBy':{'type':'string','id':0x5},'context':{'type':'string','id':0x6},'createdAt':{'type':'string','id':0x7},'deletedAt':{'type':'string','id':0x8},'attributes':{'type':'string','id':0x9},'unlinkedAt':{'type':'string','id':0xa}}};constructor(_0x52ce3e,_0x97ace7,_0x1cbed9,_0x47037e,_0x12a439,_0x52911b,_0x8378f4,_0x8ead38,_0x24d76d,_0x43b75c){super(),this['commentThreadId']=_0x52ce3e,this['_comments']=_0x97ace7,this['_commentsV2']=_0x1cbed9,this['resolvedBy']=_0x12a439,this['comments']=_0x1cbed9?.['length']?_0x1cbed9:_0x97ace7,this['createdAt']=_0x8378f4?new Date(_0x8378f4):void 0x0,this['deletedAt']='string'==typeof _0x8ead38?new Date(_0x8ead38):_0x8ead38,this['resolvedAt']='string'==typeof _0x24d76d?new Date(_0x24d76d):_0x24d76d,this['unlinkedAt']='string'==typeof _0x43b75c?new Date(_0x43b75c):_0x43b75c,this['attributes']='string'==typeof _0x47037e?JSON['parse'](_0x47037e):_0x47037e,this['context']='string'==typeof _0x52911b?JSON['parse'](_0x52911b):_0x52911b;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'comments':this['_comments']?.['map'](_0x11010d=>JSON['stringify'](_0x11010d)),'commentsV2':this['_commentsV2']?.['map'](CommentDescriptor['toJSON']),'attributes':this['attributes']?JSON['stringify'](this['attributes']):this['attributes'],'context':this['context']?JSON['stringify'](this['context']):this['context'],'resolvedBy':this['resolvedBy'],'createdAt':this['createdAt']?.['toISOString'](),'deletedAt':this['deletedAt']?.['toISOString'](),'resolvedAt':this['resolvedAt']?.['toISOString'](),'unlinkedAt':this['unlinkedAt']?.['toISOString']()};}static['fromJSON'](_0x5d83db){return new GetCommentThreadResponse(_0x5d83db['commentThreadId'],_0x5d83db['comments']?.['map'](_0x31c48b=>function(_0xf4c7b0){const _0x29956e=JSON['parse'](_0xf4c7b0);return{..._0x29956e,'createdAt':new Date(_0x29956e['createdAt'])};}(_0x31c48b)),_0x5d83db['commentsV2']?.['map'](CommentDescriptor['fromJSON']),_0x5d83db['attributes']?JSON['parse'](_0x5d83db['attributes']):_0x5d83db['attributes'],_0x5d83db['resolvedBy'],_0x5d83db['context']?JSON['parse'](_0x5d83db['context']):_0x5d83db['context'],_0x5d83db['createdAt'],_0x5d83db['deletedAt'],_0x5d83db['resolvedAt'],_0x5d83db['unlinkedAt']);}}class GetDocumentThreadsMessage extends _0x283e82{['documentId'];static ['TYPE']='94';static ['READABLE_TYPE_NAME']='getDocumentThreads';static ['DESCRIPTOR_NAME']='CommentsV2GetDocumentThreadsMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x28ef08){super(),this['documentId']=_0x28ef08;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x1d44e1){return new GetDocumentThreadsMessage(_0x1d44e1['documentId']);}}class GetDocumentThreadsResponse extends _0x283e82{['_threads'];['_threadsV2'];['threads'];static ['DESCRIPTOR_NAME']='CommentsV2GetDocumentThreadsResponse';static ['DESCRIPTOR']={'fields':{'threads':{'type':'string','rule':'repeated','id':0x1},'threadsV2':{'type':'CommentsThreadDescriptor','rule':'repeated','id':0x2}}};constructor(_0x33ccdd,_0x20c1d3){super(),this['_threads']=_0x33ccdd,this['_threadsV2']=_0x20c1d3,this['threads']=_0x20c1d3?.['length']?_0x20c1d3:_0x33ccdd;}['toJSON'](){return{'threads':this['_threads']?.['map'](_0x287fb4=>JSON['stringify'](_0x287fb4)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](_0x4121ed){return new GetDocumentThreadsResponse(_0x4121ed['threads']?.['map'](_0x4e8b7c=>function(_0x19358e){const _0x1b71af=JSON['parse'](_0x19358e),_0x57c48f={..._0x1b71af};return _0x1b71af['comments']&&(_0x57c48f['comments']=_0x1b71af['comments']?.['map'](_0x4980e7=>({..._0x4980e7,'createdAt':new Date(_0x4980e7['createdAt'])}))),_0x57c48f;}(_0x4e8b7c)),_0x4121ed['threadsV2']?.['map'](CommentsThreadDescriptor['fromJSON']));}}class CommentThreadAddedCommentDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='CommentThreadAddedCommentDescriptor';static ['DESCRIPTOR']={'fields':{'commentId':{'id':0x1,'type':'string'},'createdAt':{'id':0x2,'type':'string'}}};static['toJSON'](_0xd202a3){return{'commentId':_0xd202a3['commentId'],'createdAt':_0xd202a3['createdAt']?.['toISOString']()};}static['fromJSON'](_0x93413c){return{'commentId':_0x93413c['commentId'],'createdAt':new Date(_0x93413c['createdAt'])};}}class AddCommentThreadResponse extends _0x283e82{['commentThreadId'];['comments'];['createdAt'];static ['DESCRIPTOR_NAME']='CommentsV2AddCommentThreadResponse';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'createdAt':{'type':'string','id':0x2},'comments':{'type':'CommentThreadAddedCommentDescriptor','rule':'repeated','id':0x3}}};constructor(_0x34af65,_0x231f1b,_0x115f9f=[]){super(),this['commentThreadId']=_0x34af65,this['comments']=_0x115f9f,this['createdAt']=new Date(_0x231f1b);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'createdAt':this['createdAt']['toISOString'](),'comments':this['comments']['map'](_0x5e4cc4=>CommentThreadAddedCommentDescriptor['toJSON'](_0x5e4cc4))};}static['fromJSON'](_0x43d963){return new AddCommentThreadResponse(_0x43d963['commentThreadId'],_0x43d963['createdAt'],_0x43d963['comments']['map'](_0x5255c2=>CommentThreadAddedCommentDescriptor['fromJSON'](_0x5255c2)));}}class AddCommentThreadMessage extends _0x283e82{['documentId'];['commentThreadId'];['comments'];['context'];['resolvedBy'];['attributes'];['createdAt'];['resolvedAt'];['deletedAt'];static ['TYPE']='140';static ['READABLE_TYPE_NAME']='addCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2AddCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'commentThreadId':{'type':'string','id':0x2},'context':{'type':'string','id':0x3},'createdAt':{'type':'string','id':0x4},'resolvedAt':{'type':'string','id':0x5},'resolvedBy':{'type':'string','id':0x6},'attributes':{'type':'string','id':0x7},'deletedAt':{'type':'string','id':0x8},'comments':{'type':'CommentDescriptor','rule':'repeated','id':0x9}}};constructor(_0x13ecf3,_0x1aa130,_0x450fa8=[],_0xdfa97e,_0x3bb428=null,_0xc9e91a=null,_0x2d82ff=null,_0x27385e=null,_0x45c455=null){super(),this['documentId']=_0x13ecf3,this['commentThreadId']=_0x1aa130,this['comments']=_0x450fa8,this['context']=_0xdfa97e,this['resolvedBy']=_0x3bb428,this['attributes']=_0x45c455,this['createdAt']=_0xc9e91a?new Date(_0xc9e91a):'',this['resolvedAt']=_0x2d82ff?new Date(_0x2d82ff):'',this['deletedAt']=_0x27385e?new Date(_0x27385e):'';}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'context':this['context']?JSON['stringify'](this['context']):this['context'],'documentId':this['documentId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']instanceof Date?this['resolvedAt']['toISOString']():this['resolvedAt'],'deletedAt':this['deletedAt']instanceof Date?this['deletedAt']['toISOString']():this['deletedAt'],'createdAt':this['createdAt']instanceof Date?this['createdAt']['toISOString']():this['createdAt'],'attributes':this['attributes']?JSON['stringify'](this['attributes']):this['attributes'],'comments':this['comments']?.['map'](_0xa5c295=>CommentDescriptor['toJSON'](_0xa5c295))};}static['fromJSON'](_0xdf53ef){return new AddCommentThreadMessage(_0xdf53ef['documentId'],_0xdf53ef['commentThreadId'],_0xdf53ef['comments']?.['map'](_0x13ba1e=>CommentDescriptor['fromJSON']({..._0x13ba1e,'documentId':_0xdf53ef['documentId'],'commentThreadId':_0xdf53ef['commentThreadId']})),_0xdf53ef['context']?JSON['parse'](_0xdf53ef['context']):_0xdf53ef['context'],_0xdf53ef['resolvedBy'],_0xdf53ef['createdAt']?new Date(_0xdf53ef['createdAt']):void 0x0,_0xdf53ef['resolvedAt']?new Date(_0xdf53ef['resolvedAt']):void 0x0,_0xdf53ef['deletedAt']?new Date(_0xdf53ef['deletedAt']):void 0x0,_0xdf53ef['attributes']?JSON['parse'](_0xdf53ef['attributes']):_0xdf53ef['attributes']);}}class ResolveCommentThreadMessage extends _0x283e82{['commentThreadId'];['documentId'];['resolvedBy'];['resolvedAt'];static ['TYPE']='142';static ['READABLE_TYPE_NAME']='resolveCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2ResolveCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'resolvedBy':{'type':'string','id':0x3},'resolvedAt':{'type':'string','id':0x4}}};constructor(_0x509541,_0x18bd7e,_0x342282,_0x18488c){super(),this['commentThreadId']=_0x509541,this['documentId']=_0x18bd7e,this['resolvedBy']=_0x342282,this['resolvedAt']=_0x18488c?new Date(_0x18488c):void 0x0;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']?.['toISOString']()};}static['fromJSON'](_0x50bba0){return new ResolveCommentThreadMessage(_0x50bba0['commentThreadId'],_0x50bba0['documentId'],_0x50bba0['resolvedBy'],_0x50bba0['resolvedAt']);}}class ReopenCommentThreadMessage extends _0x283e82{['commentThreadId'];['documentId'];static ['TYPE']='141';static ['READABLE_TYPE_NAME']='reopenCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2ReopenCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2}}};constructor(_0x46364b,_0x11be79){super(),this['commentThreadId']=_0x46364b,this['documentId']=_0x11be79;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x51cde6){return new ReopenCommentThreadMessage(_0x51cde6['commentThreadId'],_0x51cde6['documentId']);}}class UpdateCommentThreadMessage extends _0x283e82{['commentThreadId'];['documentId'];['context'];['attributes'];['unlinkedAt'];static ['TYPE']='143';static ['READABLE_TYPE_NAME']='updateCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2UpdateCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'context':{'type':'string','id':0x3},'attributes':{'type':'string','id':0x4},'unlinkedAt':{'type':'string','id':0x5}}};constructor(_0x1ad952,_0x5238b8,_0x34975e,_0x59322b=null,_0x26efd4=null){super(),this['commentThreadId']=_0x1ad952,this['documentId']=_0x5238b8,this['context']=_0x34975e,this['attributes']=_0x59322b,this['unlinkedAt']=_0x26efd4?new Date(_0x26efd4):'';}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'context':this['context']?JSON['stringify'](this['context']):this['context'],'attributes':this['attributes']?JSON['stringify'](this['attributes']):null,'unlinkedAt':this['unlinkedAt']instanceof Date?this['unlinkedAt']['toISOString']():this['unlinkedAt']};}static['fromJSON'](_0x4b1b34){return new UpdateCommentThreadMessage(_0x4b1b34['commentThreadId'],_0x4b1b34['documentId'],_0x4b1b34['context']?JSON['parse'](_0x4b1b34['context']):_0x4b1b34['context'],_0x4b1b34['attributes']?JSON['parse'](_0x4b1b34['attributes']):null,_0x4b1b34['unlinkedAt']?new Date(_0x4b1b34['unlinkedAt']):null);}}class ResolveCommentThreadResponse extends _0x283e82{['commentThreadId'];['documentId'];['resolvedBy'];['resolvedAt'];static ['DESCRIPTOR_NAME']='CommentsV2ResolveCommentThreadResponse';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'resolvedAt':{'type':'string','id':0x3},'resolvedBy':{'type':'string','id':0x4}}};constructor(_0x1d154a,_0x53a7c0,_0x438d44,_0x1b12a5){super(),this['commentThreadId']=_0x1d154a,this['documentId']=_0x53a7c0,this['resolvedBy']=_0x438d44,this['resolvedAt']=new Date(_0x1b12a5);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']['toISOString']()};}static['fromJSON'](_0x2d7b99){return new ResolveCommentThreadResponse(_0x2d7b99['commentThreadId'],_0x2d7b99['documentId'],_0x2d7b99['resolvedBy'],_0x2d7b99['resolvedAt']);}}class CommentsService extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];['_connectedSessions'];static ['_SERVICE']=0x9;constructor(_0x2327d8){super(),this['_documentId']=_0x2327d8;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0x18bd5a){if(this['_isConnected'])return;if(_0x18bd5a['state']!==_0x575fba['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x18bd5a);const _0x2e3f67=new ConnectMessage(this['_documentId']);this['_wsGateway']=_0x18bd5a,this['stopListening'](_0x18bd5a,'change:state');const _0x3733d5=await _0x18bd5a['_sendRequest'](0x9,ConnectMessage['TYPE'],_0x931510['encode'](_0x2e3f67)),{channel:_0x4ee062,threads:_0x3fa84d}=_0x931510['decode'](_0x3733d5,ConnectResponse);return this['listenTo'](_0x18bd5a,'change:state',(_0x7ec3fc,_0x4d3fbc,_0x1679f9)=>this['_onWsGatewayStateChange'](_0x1679f9),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x18bd5a,_0x4ee062),this['_isConnected']=!0x0,this['fire']('connected'),_0x3fa84d;}['disconnect'](){this['_isConnected']&&(this['_isConnected']=!0x1,this['_wsGateway']&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['_connectedSessions']&&(this['_connectedSessions']['disconnect'](),this['_connectedSessions']=void 0x0),this['fire']('disconnected'),this['stopListening']());}async['addComment'](_0x28eb9f,_0x5de828,_0x23c212,_0x3c5e5f){const _0x23e439=new AddCommentMessage(this['_documentId'],_0x28eb9f,_0x23c212,_0x5de828,void 0x0,void 0x0,_0x3c5e5f),_0x505f85=await this['_sendRequest'](AddCommentMessage['TYPE'],_0x23e439);return _0x931510['decode'](_0x505f85,AddCommentResponse);}async['updateComment'](_0x335702,_0x3ccf3e,_0x3a8a4e,_0x57eb85){const _0x26b455=void 0x0!==_0x57eb85,_0xc05d14=new UpdateCommentMessage(this['_documentId'],_0x335702,_0x3ccf3e,_0x3a8a4e,_0x57eb85,_0x26b455);await this['_sendRequest'](UpdateCommentMessage['TYPE'],_0xc05d14);}async['removeComment'](_0x1fc104,_0x3bf3f3){const _0x1edbb5=new RemoveCommentMessage(this['_documentId'],_0x1fc104,_0x3bf3f3);await this['_sendRequest'](RemoveCommentMessage['TYPE'],_0x1edbb5);}async['removeCommentThread'](_0x2b86b2){const _0xc384ed=new RemoveCommentThreadMessage(this['_documentId'],_0x2b86b2);await this['_sendRequest'](RemoveCommentThreadMessage['TYPE'],_0xc384ed);}async['addCommentThread'](_0x2ac12e){const _0x2f20d0=new AddCommentThreadMessage(this['_documentId'],_0x2ac12e['commentThreadId'],_0x2ac12e['comments']?.['map'](_0xffea2a=>({..._0xffea2a,'documentId':this['_documentId'],'commentThreadId':_0x2ac12e['commentThreadId']})),_0x2ac12e['context'],_0x2ac12e['resolvedBy'],_0x2ac12e['createdAt'],_0x2ac12e['resolvedAt'],_0x2ac12e['deletedAt'],_0x2ac12e['attributes']),_0x406969=await this['_sendRequest'](AddCommentThreadMessage['TYPE'],_0x2f20d0);return _0x931510['decode'](_0x406969,AddCommentThreadResponse);}async['resolveCommentThread'](_0x1930e7){const _0x548ec4=new ResolveCommentThreadMessage(_0x1930e7,this['_documentId']),_0xc4e66e=await this['_sendRequest'](ResolveCommentThreadMessage['TYPE'],_0x548ec4);return _0x931510['decode'](_0xc4e66e,ResolveCommentThreadResponse);}async['reopenCommentThread'](_0x246d1d){const _0x1bf8f0=new ReopenCommentThreadMessage(_0x246d1d,this['_documentId']);await this['_sendRequest'](ReopenCommentThreadMessage['TYPE'],_0x1bf8f0);}async['updateCommentThread'](_0x4727c2){const _0x2c1dff=new UpdateCommentThreadMessage(_0x4727c2['commentThreadId'],this['_documentId'],_0x4727c2['context'],_0x4727c2['attributes'],_0x4727c2['unlinkedAt']);await this['_sendRequest'](UpdateCommentThreadMessage['TYPE'],_0x2c1dff);}async['getCommentThread'](_0x928e2c,_0x58cb22=0x1){const _0xa110d1=new GetCommentThreadMessage(_0x928e2c,this['_documentId']);try{const _0x6b2ef8=await this['_sendRequest'](GetCommentThreadMessage['TYPE'],_0xa110d1),_0x23c1f8=_0x931510['decode'](_0x6b2ef8,GetCommentThreadResponse);return{'commentThreadId':_0x23c1f8['commentThreadId'],'comments':_0x23c1f8['comments'],'attributes':_0x23c1f8['attributes'],'context':_0x23c1f8['context'],'resolvedAt':_0x23c1f8['resolvedAt'],'resolvedBy':_0x23c1f8['resolvedBy'],'deletedAt':_0x23c1f8['deletedAt'],'unlinkedAt':_0x23c1f8['unlinkedAt']};}catch(_0x2aff95){if('CKEditorCloudServicesServerError'===_0x2aff95['name']&&'404'===_0x2aff95['code']&&_0x58cb22<0x5)return await(_0x58024c=0x64*_0x58cb22,new Promise(_0x3beb21=>{setTimeout(_0x3beb21,_0x58024c);})),this['getCommentThread'](_0x928e2c,_0x58cb22+0x1);if('CKEditorCloudServicesServerError'===_0x2aff95['name'])throw _0x2aff95;throw CKEditorCloudServicesServerError['fromPublicError'](_0x2aff95);}var _0x58024c;}async['getDocumentThreads'](){const _0x1c6fbe=new GetDocumentThreadsMessage(this['_documentId']),_0x18806d=await this['_sendRequest'](GetDocumentThreadsMessage['TYPE'],_0x1c6fbe),{threads:_0x2f33db}=_0x931510['decode'](_0x18806d,GetDocumentThreadsResponse);return{'threads':_0x2f33db};}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_connectedSessions']||(this['_connectedSessions']=await _0x496fd1['getConnectedSessions'](this['_wsGateway'],this['_documentId'],0x9)),this['_connectedSessions'];}['_connectToChannel'](_0xb4464b,_0x1de4e4){this['_channel']=_0xb4464b['_getChannel'](CommentsService['_SERVICE'],_0x1de4e4),this['_channel']&&(this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentMessage['TYPE']),(_0x3f4def,_0x28bb76)=>{const _0x3caaf8=_0x931510['decode'](_0x28bb76,AddCommentMessage);this['fire']('commentAdded',_0x3caaf8);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentMessage['TYPE']),(_0x10943e,_0xf76345)=>{const _0x453b0e=_0x931510['decode'](_0xf76345,RemoveCommentMessage);this['fire']('commentRemoved',_0x453b0e);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentMessage['TYPE']),(_0x126972,_0x22d544)=>{const _0x48a162=_0x931510['decode'](_0x22d544,UpdateCommentMessage);this['fire']('commentUpdated',_0x48a162);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentThreadMessage['TYPE']),(_0x56fb2c,_0x44a511)=>{const _0x31bf28=_0x931510['decode'](_0x44a511,RemoveCommentThreadMessage);this['fire']('commentThreadRemoved',_0x31bf28);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentThreadMessage['TYPE']),(_0x52291b,_0x101e70)=>{const _0x4bcc17=_0x931510['decode'](_0x101e70,AddCommentThreadMessage);this['fire']('commentThreadAdded',_0x4bcc17);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentThreadMessage['TYPE']),(_0x1415b9,_0x2644e4)=>{const _0x36e51e=_0x931510['decode'](_0x2644e4,UpdateCommentThreadMessage);this['fire']('commentThreadUpdated',_0x36e51e);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ResolveCommentThreadMessage['TYPE']),(_0x26d458,_0x32953c)=>{const _0x48cdec=_0x931510['decode'](_0x32953c,ResolveCommentThreadMessage);this['fire']('commentThreadResolved',_0x48cdec);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ReopenCommentThreadMessage['TYPE']),(_0x5a162b,_0xfbe751)=>{const _0x25f44e=_0x931510['decode'](_0xfbe751,ReopenCommentThreadMessage);this['fire']('commentThreadReopened',_0x25f44e);}));}['_onWsGatewayStateChange'](_0x535b7c){_0x535b7c===_0x575fba['DISCONNECTED']&&this['disconnect']();}['_sendRequest'](_0x4e0e92,_0x176394){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_wsGateway']['_sendRequest'](0x9,_0x4e0e92,_0x931510['encode'](_0x176394));}}class WebSocketGateway extends ckeditor5['ContextPlugin']{static ['WebSocketGateway']=/* #__PURE__ -- @preserve */
((()=>WebSocketGateway$1)());static ['initialReconnectionInterval']=0x3e8;['connection'];['_reconnectionStack'];['_shouldPluginsReconnect'];['_domEmitter'];static get['requires'](){return['CloudServices',ckeditor5['Notification']];}static get['pluginName'](){return'WebSocketGateway';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1aff9d){super(_0x1aff9d),this['set']('state',_0x575fba['CONNECTED']),this['set']('_isBrowserOffline',!0x1),this['_reconnectionStack']=new Set(),this['_shouldPluginsReconnect']=!0x1,this['_domEmitter']=new(ckeditor5['DomEmitterMixin']())();}['init'](){const _0x2bb385=this['context'],_0x5c7f69=_0x2bb385['plugins']['get']('CloudServices'),_0x535805=_0x2bb385['plugins']['get'](ckeditor5['Notification']);if(!_0x5c7f69['token'])throw new ckeditor5['CKEditorError']('websocketgateway-missing-token',this);if(!_0x5c7f69['webSocketUrl'])throw new ckeditor5['CKEditorError']('websocketgateway-missing-websocket-url',this);return this['_domEmitter']['listenTo'](window,'offline',()=>this['_isBrowserOffline']=!0x0),this['_domEmitter']['listenTo'](window,'online',()=>this['_isBrowserOffline']=!0x1),this['context']['config']['define']('cloudServices.connectionTimeout',0xa),this['context']['config']['define']('cloudServices.requestTimeout',0x14),WebSocketGateway['WebSocketGateway']['connect'](_0x5c7f69['token'],_0x5c7f69['webSocketUrl'],{'timeout':0x3e8*this['context']['config']['get']('cloudServices.connectionTimeout'),'requestTimeout':0x3e8*this['context']['config']['get']('cloudServices.requestTimeout')})['then'](_0x1957a1=>{if(this['connection']=_0x1957a1,this['bind']('state')['to'](_0x1957a1,'state',this,'_isBrowserOffline',(_0x207a3c,_0x585298)=>('connected'!==_0x207a3c&&(this['_shouldPluginsReconnect']=!0x0),_0x585298||_0x207a3c!==_0x575fba['CONNECTED']?_0x575fba['DISCONNECTED']:this['state']==_0x575fba['DISCONNECTED']&&this['_shouldPluginsReconnect']?(this['_shouldPluginsReconnect']=!0x1,this['_reconnect'](),_0x575fba['CONNECTING']):_0x575fba['CONNECTED'])),this['connection']['on']('error',(_0x32c8b5,_0x26fa2d)=>{if('limitExceeded'!==_0x26fa2d['code'])throw console['error'](_0x26fa2d),new ckeditor5['CKEditorError']('cloudservices-init',null,{'originalError':_0x26fa2d});_0x535805['showWarning']('The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.',{'title':'Connected\x20users\x20limit\x20exceeded','namespace':'real-time-collaboration'});}),!_0x1957a1['me'])return new Promise(_0x2948e5=>_0x1957a1['on']('change:me',_0x2948e5));})['catch'](_0x34a6ac=>{throw console['error'](_0x34a6ac),new ckeditor5['CKEditorError']('cloudservices-init',null,{'originalError':_0x34a6ac});});}['addToReconnectionStack'](_0x21469b){if('function'!=typeof _0x21469b['reconnect'])throw new ckeditor5['CKEditorError']('websocketgateway-invalid-plugin-interface',this);if(this['isInReconnectionStack'](_0x21469b))throw new ckeditor5['CKEditorError']('websocketgateway-plugin-already-registered',this,{'name':_0x21469b['constructor']['pluginName']});this['_reconnectionStack']['add'](_0x21469b);}['removeFromReconnectionStack'](_0x23c548){this['_reconnectionStack']['delete'](_0x23c548);}['isInReconnectionStack'](_0x470968){return this['_reconnectionStack']['has'](_0x470968);}['_reconnect'](){return this['connection']['reconnect']()['then'](()=>Promise['all'](Array['from'](this['_reconnectionStack'],_0x37fadd=>_0x37fadd['reconnect']())))['then'](()=>this['state']=_0x575fba['CONNECTED'])['catch'](_0x5a1c45=>{throw console['error'](_0x5a1c45),new ckeditor5['CKEditorError']('cloudservices-reconnection-error',this['context']);});}['disconnect'](){this['connection']&&this['connection']['disconnect'](),this['state']=_0x575fba['DISCONNECTED'],this['_domEmitter']['stopListening']();}['destroy'](){this['disconnect'](),super['destroy']();}}class _0x5ba7c3 extends ckeditor5['ContextPlugin']{['channelSessions'];['channelConnectedUsers'];['allConnectedUsers'];['_registeredSessions'];['_uniqueUsersCount'];['_users'];static get['pluginName'](){return'Sessions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[WebSocketGateway,_0x17009e];}constructor(_0x26fab7){super(_0x26fab7),this['channelSessions']=new Map(),this['channelConnectedUsers']=new Map(),this['allConnectedUsers']=new ckeditor5['Collection'](),this['_registeredSessions']=new Map(),this['_uniqueUsersCount']=0x0,this['_users']=this['context']['plugins']['get'](_0x17009e);}['init'](){const _0x1ebc0b=this['context']['plugins']['get'](WebSocketGateway);this['listenTo'](_0x1ebc0b,'change:state',(_0x3568ec,_0x431122,_0x1b7f98)=>{if('connected'!==_0x1b7f98)this['channelSessions']['forEach'](_0x395432=>_0x395432['clear']()),this['channelConnectedUsers']['forEach'](_0x562f80=>_0x562f80['clear']()),this['allConnectedUsers']['clear']();else{for(const [_0x2815ca,_0x3c77ca]of this['_registeredSessions'])for(const _0xa391d9 of _0x3c77ca)this['_handleSessionAdd'](_0x2815ca,_0xa391d9);}}),this['_createUser'](_0x1ebc0b['connection']['me'],!0x0);}['register'](_0x1aa034,_0xd65687){if(this['_registeredSessions']['has'](_0x1aa034))throw new ckeditor5['CKEditorError']('sessions-register-already-registered',null,{'channelId':_0x1aa034});this['_registeredSessions']['set'](_0x1aa034,_0xd65687),this['channelSessions']['set'](_0x1aa034,new ckeditor5['Collection']()),this['channelConnectedUsers']['set'](_0x1aa034,new ckeditor5['Collection']()),this['listenTo'](_0xd65687,'add',(_0x47cb77,_0x43e44a)=>this['_handleSessionAdd'](_0x1aa034,_0x43e44a)),this['listenTo'](_0xd65687,'remove',(_0x396044,_0x219639)=>this['_handleSessionRemove'](_0x1aa034,_0x219639));for(const _0x550b17 of _0xd65687)this['_handleSessionAdd'](_0x1aa034,_0x550b17);}['unregister'](_0x3334a7){if(!this['_registeredSessions']['has'](_0x3334a7))throw new ckeditor5['CKEditorError']('sessions-unregister-not-exist',null,{'channelId':_0x3334a7});const _0x395fcb=this['_registeredSessions']['get'](_0x3334a7);this['stopListening'](_0x395fcb);for(const _0x33ff91 of _0x395fcb)'connected'===this['context']['plugins']['get'](WebSocketGateway)['state']&&this['_handleSessionRemove'](_0x3334a7,_0x33ff91);this['_registeredSessions']['delete'](_0x3334a7),this['channelSessions']['delete'](_0x3334a7),this['channelConnectedUsers']['delete'](_0x3334a7);}get['mySessionId'](){return this['context']['plugins']['get'](WebSocketGateway)['connection']['sessionId'];}['getUserBySessionId'](_0x41a681){for(const _0x8a7689 of this['channelSessions']['values']())for(const _0x5cfc31 of _0x8a7689)if(_0x5cfc31['id']===_0x41a681)return _0x5cfc31['user'];}['getUserSessions'](_0x485482,_0x2cfcf8){const _0x11de77=_0x2cfcf8?[this['channelSessions']['get'](_0x2cfcf8)]:this['channelSessions']['values'](),_0x1ad02c=new Set();for(const _0x5f1a25 of _0x11de77)for(const _0x3dcc95 of _0x5f1a25)_0x3dcc95['user']['id']===_0x485482['id']&&_0x1ad02c['add'](_0x3dcc95['id']);return _0x1ad02c;}['getUserRole'](_0x1ee285){for(const _0x18c38c of this['channelSessions']['values']())for(const _0x4598d1 of _0x18c38c)if(_0x4598d1['user']===_0x1ee285)return _0x4598d1['role'];}['_handleSessionAdd'](_0x13f5b1,_0x2b178a){if('connected'!==this['context']['plugins']['get'](WebSocketGateway)['state'])return;const _0x198c23=_0x2b178a['user'],_0x124f1b=this['_users']['getUser'](_0x198c23['id'])||this['_createUser'](_0x198c23),_0x45db5b=Object['assign']({},_0x2b178a,{'user':_0x124f1b});if(this['channelSessions']['get'](_0x13f5b1)['add'](_0x45db5b),!_0x198c23['hiddenInPresenceList']){const _0x1a791e=this['channelConnectedUsers']['get'](_0x13f5b1);_0x1a791e['has'](_0x124f1b['id'])||_0x1a791e['add'](_0x124f1b),this['allConnectedUsers']['has'](_0x124f1b['id'])||_0x198c23['hiddenInPresenceList']||this['allConnectedUsers']['add'](_0x124f1b,_0x124f1b['isMe']?0x0:void 0x0);}this['fire']('sessionAdd:'+_0x13f5b1,{'channelId':_0x13f5b1,'session':_0x45db5b});}['_handleSessionRemove'](_0x1df639,_0x29648b){if('connected'!==this['context']['plugins']['get'](WebSocketGateway)['state'])return;const _0x1cb930=this['channelConnectedUsers']['get'](_0x1df639),_0x45072f=_0x29648b['user'];_0x45072f['id']&&(this['channelSessions']['get'](_0x1df639)['remove'](_0x29648b['id']),_0x1cb930['has'](_0x45072f['id'])&&!this['getUserSessions'](_0x45072f,_0x1df639)['size']&&_0x1cb930['remove'](_0x45072f['id']),this['allConnectedUsers']['get'](_0x45072f['id'])&&!this['getUserSessions'](_0x45072f)['size']&&this['allConnectedUsers']['remove'](_0x45072f['id']));}['_createUser'](_0x5e53f6,_0x9107f7){const _0x5502f3=this['_users']['addUser'](_0x5e53f6);return _0x9107f7&&this['_users']['defineMe'](_0x5e53f6['id']),_0x5502f3['orderNumber']=this['_uniqueUsersCount']++,_0x5502f3;}}class _0x327f6d extends ckeditor5['Plugin']{['_domEmitter']=new(ckeditor5['DomEmitterMixin']())();static get['requires'](){return[_0x5ba7c3];}static get['pluginName'](){return'UserMarkers';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5b7acb=this['editor'],_0x2b95a6=_0x5b7acb['plugins']['get'](_0x5ba7c3);_0x5b7acb['conversion']['for']('editingDowncast')['markerToElement']({'model':'user:position','view':(_0x1344d6,{writer:_0x259792})=>createUserPositionViewElement(_0x1344d6,_0x259792,_0x2b95a6,_0x5b7acb)}),_0x5b7acb['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'user:range','view':_0x2d37ab=>createUserRangeViewElement(_0x2d37ab,_0x2b95a6)}),createUserMarkerPostFixer(_0x5b7acb),this['_domEmitter']['listenTo'](ckeditor5['global']['document'],'keydown',(_0x5eaa52,{key:_0x273057})=>{'Escape'===_0x273057&&hideHoveredUserPositionMarkersTooltips(_0x5b7acb);},{'useCapture':!0x0});}['afterInit'](){const _0xabd740=this['editor'],_0x46724c=_0xabd740['commands']['get']('undo');_0x46724c&&_0xabd740['model']['on']('applyOperation',(_0xb20729,_0x1f71e5)=>{const _0x472c19=_0x1f71e5[0x0];if(!_0x472c19['isDocumentOperation'])return;if('marker'!=_0x472c19['type']||!_0x472c19['name']['startsWith']('user:'))return;const _0x1998ed=_0x472c19['batch'];_0x46724c['_createdBatches']['has'](_0x1998ed)&&(_0x472c19['newRange']=_0x472c19['oldRange']?_0xabd740['model']['createRange'](_0x472c19['oldRange']['start'],_0x472c19['oldRange']['end']):null);},{'priority':'highest'});}['destroy'](){return this['_domEmitter']['stopListening'](),super['destroy']();}['createUserMarkerOperations'](){const _0x386bf9=this['editor'],_0x114096=_0x386bf9['model']['document'],_0x23f466=_0x386bf9['plugins']['get'](_0x5ba7c3);_0x386bf9['model']['enqueueChange']({'isUndoable':!0x1},_0x318b87=>{const _0x620d4b='user:range:'+_0x23f466['mySessionId'],_0x569c03='user:position:'+_0x23f466['mySessionId'],_0x1952fb=_0x386bf9['model']['markers']['has'](_0x620d4b);_0x386bf9['editing']['view']['hasDomSelection']?updateUserMarkers(_0x23f466['mySessionId'],_0x114096['selection']['getFirstRange'](),_0x386bf9['model'],_0x318b87):_0x1952fb&&(_0x318b87['removeMarker'](_0x620d4b),_0x318b87['removeMarker'](_0x569c03));});}}function updateUserMarkers(_0x404ea5,_0x20ea1a,_0xa4b9ce,_0xb475f8){const _0x21e5a3='user:range:'+_0x404ea5,_0x2bab4d='user:position:'+_0x404ea5,_0x175db9=_0x20ea1a['getContainedElement']();let _0x169e4a=_0x20ea1a['start'];if(_0x175db9&&_0x175db9['is']('element','tableCell')){const _0x2b9126=getPositionForText(_0x20ea1a,_0xa4b9ce);_0x2b9126&&(_0x169e4a=_0x2b9126,_0x20ea1a=_0xb475f8['createRange'](_0x169e4a));}const _0x134049=_0xb475f8['createRange'](_0x169e4a);_0xa4b9ce['markers']['has'](_0x21e5a3)?(_0xb475f8['updateMarker'](_0x21e5a3,{'range':_0x20ea1a}),_0xb475f8['updateMarker'](_0x2bab4d,{'range':_0x134049})):(_0xb475f8['addMarker'](_0x21e5a3,{'range':_0x20ea1a,'usingOperation':!0x0}),_0xb475f8['addMarker'](_0x2bab4d,{'range':_0x134049,'usingOperation':!0x0}));}function getPositionForText(_0x486cff,_0x1cea02){for(const _0x5b297c of _0x486cff['getPositions']())if(_0x1cea02['schema']['checkChild'](_0x5b297c,'$text'))return _0x5b297c;}function createUserPositionViewElement(_0x132f66,_0x4250de,_0x53887b,_0x4be5b1){const _0x24e736=_0x132f66['markerName']['split'](':')[0x2],_0x40a25d=_0x53887b['getUserBySessionId'](_0x24e736);if(!_0x40a25d||_0x24e736===_0x53887b['mySessionId'])return;if(!_0x4be5b1['model']['schema']['checkChild'](_0x132f66['markerRange']['start'],'$text'))return;const _0x3f7262={'class':'ck-user__marker\x20'+_0x40a25d['color']['getMarkerClass'](),'data-name':_0x40a25d['name'],'data-session-id':_0x24e736},_0x1dca4f=_0x4be5b1['model']['markers']['get'](_0x132f66['markerName'])['getStart'](),_0x32ac1f=_0x1dca4f['nodeAfter'],_0x2fdf05=_0x4be5b1['model']['schema'];if(_0x32ac1f&&_0x2fdf05['isObject'](_0x32ac1f)&&_0x2fdf05['isInline'](_0x32ac1f)&&!_0x4be5b1['model']['markers']['get']('user:range:'+_0x24e736)['getRange']()['isCollapsed'])return;const _0x37aba2=_0x1dca4f['parent'];return _0x4be5b1['model']['schema']['isLimit'](_0x37aba2)&&!_0x4be5b1['model']['hasContent'](_0x37aba2)&&(_0x3f7262['contenteditable']=!0x1),createUserPositionMarkerElement(_0x4250de,_0x3f7262,_0x40a25d);}function createUserRangeViewElement(_0x178094,_0x79d8ef){const _0x21f9c2=_0x178094['markerName']['split'](':')[0x2];if(_0x21f9c2===_0x79d8ef['mySessionId'])return null;const _0x1c581e=_0x79d8ef['getUserBySessionId'](_0x21f9c2);return _0x1c581e?{'id':_0x21f9c2,'classes':['ck-user__selection',_0x1c581e['color']['getSelectionClass']()],'attributes':{'data-session-id':_0x21f9c2},'priority':0x7d0+_0x1c581e['orderNumber']}:{'id':_0x21f9c2,'classes':[]};}function createUserPositionMarkerElement(_0x12a02e,_0x541bd8,_0x5aa6f9){const _0x579c0d=_0x12a02e['createUIElement']('span',_0x541bd8);return _0x12a02e['setCustomProperty']('userPositionMarker',!0x0,_0x579c0d),_0x579c0d['render']=function(_0x530099){const _0x386323=this['toDomElement'](_0x530099),_0x19285b=document['createElement']('span');return _0x19285b['classList']['add']('ck-user__marker-tooltip'),_0x19285b['setAttribute']('contenteditable','false'),_0x19285b['setAttribute']('spellcheck','false'),_0x19285b['textContent']=_0x5aa6f9['name'],_0x386323['innerHTML']='⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>'+_0x19285b['outerHTML']+'⁠',_0x386323['addEventListener']('mouseenter',()=>{_0x386323['classList']['add']('ck-user__marker_hovered');}),_0x386323['addEventListener']('mouseleave',()=>{_0x386323['classList']['remove']('ck-user__marker_hovered');}),_0x386323;},_0x579c0d['isSimilar']=function(_0x43d693){return!(!this['getCustomProperty']('userPositionMarker')||!_0x43d693['getCustomProperty']('userPositionMarker')||this['getAttribute']('data-session-id')!=_0x43d693['getAttribute']('data-session-id'));},_0x579c0d;}function hideHoveredUserPositionMarkersTooltips(_0x56d0f6){_0x56d0f6['editing']['view']['change'](_0x1d0b22=>{for(const _0x2d98ec of _0x56d0f6['model']['markers']){if(!_0x2d98ec['name']['startsWith']('user:position'))continue;const _0x598d79=_0x56d0f6['editing']['mapper']['markerNameToElements'](_0x2d98ec['name']);if(_0x598d79){for(const _0x3f8c9d of _0x598d79)_0x1d0b22['removeClass']('ck-user__marker_hovered',_0x3f8c9d);}}});}function createUserMarkerPostFixer(_0xad1032){const _0x1f43b7=_0xad1032['model'],_0x3010b2=new Map(),_0x467955=_0xad1032['plugins']['get'](_0x5ba7c3);_0x1f43b7['markers']['on']('update:user:range',(_0x5eaf08,_0x48098e,_0x23f74e,_0x36e0a9)=>{if(!_0x36e0a9&&_0x3010b2['get'](_0x48098e['name']))return _0x3010b2['get'](_0x48098e['name'])['detach'](),void _0x3010b2['delete'](_0x48098e['name']);const _0x4a09b0=_0x48098e['name']['split'](':')[0x2];if(_0x4a09b0===_0x467955['mySessionId'])return;const _0x924625='user:position:'+_0x4a09b0;_0x1f43b7['markers']['has'](_0x924625)&&_0xad1032['editing']['reconvertMarker'](_0x924625),_0x48098e['on']('change:range',(_0x19d437,_0x27a3d7,_0x342cb0)=>{if('$graveyard'!=_0x27a3d7['root']['rootName']&&'$graveyard'==_0x48098e['getRange']()['root']['rootName']&&!_0x3010b2['has'](_0x48098e['name'])){const _0x26bb98=_0x1f43b7['schema']['getNearestSelectionRange'](_0x342cb0['deletionPosition']);if(_0x26bb98){const _0x61e534=ckeditor5['ModelLiveRange']['fromRange'](_0x26bb98);_0x3010b2['set'](_0x48098e['name'],_0x61e534),_0x61e534['on']('change:range',(_0x544c95,_0x5bf381,_0x38f54a)=>{if('$graveyard'==_0x61e534['root']['rootName']){const _0x10ed44=_0x1f43b7['schema']['getNearestSelectionRange'](_0x38f54a['deletionPosition']);_0x10ed44?(_0x61e534['start']=_0x10ed44['start'],_0x61e534['end']=_0x10ed44['end']):(_0x3010b2['delete'](_0x48098e['name']),_0x61e534['detach']());}});}}});}),_0x1f43b7['document']['on']('change',()=>{_0x3010b2['size']>0x0&&_0x1f43b7['enqueueChange']({'isUndoable':!0x1},_0x2875c6=>{for(const [_0x456b15,_0x4be169]of _0x3010b2)'$graveyard'==_0x1f43b7['markers']['get'](_0x456b15)['getRange']()['root']['rootName']&&(updateUserMarkers(_0x456b15['split'](':')[0x2],_0x4be169['toRange'](),_0x1f43b7,_0x2875c6),_0x4be169['detach']());_0x3010b2['clear']();});});}function getTranslation$6(_0x3f8be6,_0x9b6455,_0x2b77d1){const _0x51f3ee=_0x3f8be6['t'],t=_0x3f8be6['t'];switch(_0x9b6455){case'PENDING_ACTION_SENDING_DATA':return t({'string':'Sending\x20data\x20to\x20the\x20server.','id':'PENDING_ACTION_SENDING_DATA'});case'The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'Synchronization\x20issue':return t('Synchronization\x20issue');case'Connected\x20users\x20list\x20dropdown\x20menu':return t('Connected\x20users\x20list\x20dropdown\x20menu');case'Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':return t('Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)');case'Connected\x20users\x20list':return t('Connected\x20users\x20list');case'PENDING_ACTION_REVISION_HISTORY':return _0x51f3ee({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'CONNECTED_USERS':return t({'string':'1\x20connected\x20user\x20(me)','plural':'%0\x20connected\x20users','id':'CONNECTED_USERS'},_0x2b77d1);default:return'';}}const _0x562647=/* #__PURE__ -- @preserve */
((()=>{var _0xd73606=minimalExports['Reader'],_0x445a92=minimalExports['Writer'],_0x4c110e=minimalExports['util'],_0x12230d=minimalExports['roots']['default']||(minimalExports['roots']['default']={});return _0x12230d['AttributeOperation']=(function(){function _0x9dfb0a(_0x6abc8a){if(_0x6abc8a){for(var _0x5d1c5b=Object['keys'](_0x6abc8a),_0x4c2d96=0x0;_0x4c2d96<_0x5d1c5b['length'];++_0x4c2d96)null!=_0x6abc8a[_0x5d1c5b[_0x4c2d96]]&&(this[_0x5d1c5b[_0x4c2d96]]=_0x6abc8a[_0x5d1c5b[_0x4c2d96]]);}}return _0x9dfb0a['prototype']['range']=null,_0x9dfb0a['prototype']['key']='',_0x9dfb0a['prototype']['oldValueBoolean']=!0x1,_0x9dfb0a['prototype']['oldValueJson']='',_0x9dfb0a['prototype']['newValueBoolean']=!0x1,_0x9dfb0a['prototype']['newValueJson']='',_0x9dfb0a['prototype']['wasUndone']=!0x1,_0x9dfb0a['create']=function(_0x414ffc){return new _0x9dfb0a(_0x414ffc);},_0x9dfb0a['encode']=function(_0x31365d,_0x4ef1d0){return _0x4ef1d0||(_0x4ef1d0=_0x445a92['create']()),null!=_0x31365d['range']&&Object['hasOwnProperty']['call'](_0x31365d,'range')&&_0x12230d['Range']['encode'](_0x31365d['range'],_0x4ef1d0['uint32'](0xa)['fork']())['ldelim'](),null!=_0x31365d['key']&&Object['hasOwnProperty']['call'](_0x31365d,'key')&&_0x4ef1d0['uint32'](0x12)['string'](_0x31365d['key']),null!=_0x31365d['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x31365d,'oldValueBoolean')&&_0x4ef1d0['uint32'](0x18)['bool'](_0x31365d['oldValueBoolean']),null!=_0x31365d['oldValueJson']&&Object['hasOwnProperty']['call'](_0x31365d,'oldValueJson')&&_0x4ef1d0['uint32'](0x22)['string'](_0x31365d['oldValueJson']),null!=_0x31365d['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x31365d,'newValueBoolean')&&_0x4ef1d0['uint32'](0x28)['bool'](_0x31365d['newValueBoolean']),null!=_0x31365d['newValueJson']&&Object['hasOwnProperty']['call'](_0x31365d,'newValueJson')&&_0x4ef1d0['uint32'](0x32)['string'](_0x31365d['newValueJson']),null!=_0x31365d['wasUndone']&&Object['hasOwnProperty']['call'](_0x31365d,'wasUndone')&&_0x4ef1d0['uint32'](0x38)['bool'](_0x31365d['wasUndone']),_0x4ef1d0;},_0x9dfb0a['encodeDelimited']=function(_0x30085a,_0x5f5451){return this['encode'](_0x30085a,_0x5f5451)['ldelim']();},_0x9dfb0a['decode']=function(_0x35bdb7,_0x45ce16){_0x35bdb7 instanceof _0xd73606||(_0x35bdb7=_0xd73606['create'](_0x35bdb7));for(var _0x25ecad=void 0x0===_0x45ce16?_0x35bdb7['len']:_0x35bdb7['pos']+_0x45ce16,_0x770dfe=new _0x12230d['AttributeOperation']();_0x35bdb7['pos']<_0x25ecad;){var _0x51011c=_0x35bdb7['uint32']();switch(_0x51011c>>>0x3){case 0x1:_0x770dfe['range']=_0x12230d['Range']['decode'](_0x35bdb7,_0x35bdb7['uint32']());break;case 0x2:_0x770dfe['key']=_0x35bdb7['string']();break;case 0x3:_0x770dfe['oldValueBoolean']=_0x35bdb7['bool']();break;case 0x4:_0x770dfe['oldValueJson']=_0x35bdb7['string']();break;case 0x5:_0x770dfe['newValueBoolean']=_0x35bdb7['bool']();break;case 0x6:_0x770dfe['newValueJson']=_0x35bdb7['string']();break;case 0x7:_0x770dfe['wasUndone']=_0x35bdb7['bool']();break;default:_0x35bdb7['skipType'](0x7&_0x51011c);}}return _0x770dfe;},_0x9dfb0a['decodeDelimited']=function(_0x409fec){return _0x409fec instanceof _0xd73606||(_0x409fec=new _0xd73606(_0x409fec)),this['decode'](_0x409fec,_0x409fec['uint32']());},_0x9dfb0a['verify']=function(_0x194e18){if('object'!=typeof _0x194e18||null===_0x194e18)return'object\x20expected';if(null!=_0x194e18['range']&&_0x194e18['hasOwnProperty']('range')){var _0x938ca6=_0x12230d['Range']['verify'](_0x194e18['range']);if(_0x938ca6)return'range.'+_0x938ca6;}return null!=_0x194e18['key']&&_0x194e18['hasOwnProperty']('key')&&!_0x4c110e['isString'](_0x194e18['key'])?'key:\x20string\x20expected':null!=_0x194e18['oldValueBoolean']&&_0x194e18['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x194e18['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x194e18['oldValueJson']&&_0x194e18['hasOwnProperty']('oldValueJson')&&!_0x4c110e['isString'](_0x194e18['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x194e18['newValueBoolean']&&_0x194e18['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x194e18['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x194e18['newValueJson']&&_0x194e18['hasOwnProperty']('newValueJson')&&!_0x4c110e['isString'](_0x194e18['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x194e18['wasUndone']&&_0x194e18['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x194e18['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x9dfb0a['fromObject']=function(_0x1e40a8){if(_0x1e40a8 instanceof _0x12230d['AttributeOperation'])return _0x1e40a8;var _0x1c0076=new _0x12230d['AttributeOperation']();if(null!=_0x1e40a8['range']){if('object'!=typeof _0x1e40a8['range'])throw TypeError('.AttributeOperation.range:\x20object\x20expected');_0x1c0076['range']=_0x12230d['Range']['fromObject'](_0x1e40a8['range']);}return null!=_0x1e40a8['key']&&(_0x1c0076['key']=String(_0x1e40a8['key'])),null!=_0x1e40a8['oldValueBoolean']&&(_0x1c0076['oldValueBoolean']=Boolean(_0x1e40a8['oldValueBoolean'])),null!=_0x1e40a8['oldValueJson']&&(_0x1c0076['oldValueJson']=String(_0x1e40a8['oldValueJson'])),null!=_0x1e40a8['newValueBoolean']&&(_0x1c0076['newValueBoolean']=Boolean(_0x1e40a8['newValueBoolean'])),null!=_0x1e40a8['newValueJson']&&(_0x1c0076['newValueJson']=String(_0x1e40a8['newValueJson'])),null!=_0x1e40a8['wasUndone']&&(_0x1c0076['wasUndone']=Boolean(_0x1e40a8['wasUndone'])),_0x1c0076;},_0x9dfb0a['toObject']=function(_0x58a3fd,_0x5b5259){_0x5b5259||(_0x5b5259={});var _0x4c3ce3={};return _0x5b5259['defaults']&&(_0x4c3ce3['range']=null,_0x4c3ce3['key']='',_0x4c3ce3['oldValueBoolean']=!0x1,_0x4c3ce3['oldValueJson']='',_0x4c3ce3['newValueBoolean']=!0x1,_0x4c3ce3['newValueJson']='',_0x4c3ce3['wasUndone']=!0x1),null!=_0x58a3fd['range']&&_0x58a3fd['hasOwnProperty']('range')&&(_0x4c3ce3['range']=_0x12230d['Range']['toObject'](_0x58a3fd['range'],_0x5b5259)),null!=_0x58a3fd['key']&&_0x58a3fd['hasOwnProperty']('key')&&(_0x4c3ce3['key']=_0x58a3fd['key']),null!=_0x58a3fd['oldValueBoolean']&&_0x58a3fd['hasOwnProperty']('oldValueBoolean')&&(_0x4c3ce3['oldValueBoolean']=_0x58a3fd['oldValueBoolean']),null!=_0x58a3fd['oldValueJson']&&_0x58a3fd['hasOwnProperty']('oldValueJson')&&(_0x4c3ce3['oldValueJson']=_0x58a3fd['oldValueJson']),null!=_0x58a3fd['newValueBoolean']&&_0x58a3fd['hasOwnProperty']('newValueBoolean')&&(_0x4c3ce3['newValueBoolean']=_0x58a3fd['newValueBoolean']),null!=_0x58a3fd['newValueJson']&&_0x58a3fd['hasOwnProperty']('newValueJson')&&(_0x4c3ce3['newValueJson']=_0x58a3fd['newValueJson']),null!=_0x58a3fd['wasUndone']&&_0x58a3fd['hasOwnProperty']('wasUndone')&&(_0x4c3ce3['wasUndone']=_0x58a3fd['wasUndone']),_0x4c3ce3;},_0x9dfb0a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x9dfb0a['getTypeUrl']=function(_0x9d9693){return void 0x0===_0x9d9693&&(_0x9d9693='type.googleapis.com'),_0x9d9693+'/AttributeOperation';},_0x9dfb0a;}()),_0x12230d['InsertOperation']=(function(){function _0x6d8755(_0x298996){if(this['nodes']=[],_0x298996){for(var _0x4627f1=Object['keys'](_0x298996),_0x5cdcd9=0x0;_0x5cdcd9<_0x4627f1['length'];++_0x5cdcd9)null!=_0x298996[_0x4627f1[_0x5cdcd9]]&&(this[_0x4627f1[_0x5cdcd9]]=_0x298996[_0x4627f1[_0x5cdcd9]]);}}return _0x6d8755['prototype']['position']=null,_0x6d8755['prototype']['nodes']=_0x4c110e['emptyArray'],_0x6d8755['prototype']['shouldReceiveAttributes']=!0x1,_0x6d8755['prototype']['wasUndone']=!0x1,_0x6d8755['create']=function(_0x51ae19){return new _0x6d8755(_0x51ae19);},_0x6d8755['encode']=function(_0x5ecfbd,_0x2df6f3){if(_0x2df6f3||(_0x2df6f3=_0x445a92['create']()),null!=_0x5ecfbd['position']&&Object['hasOwnProperty']['call'](_0x5ecfbd,'position')&&_0x12230d['Position']['encode'](_0x5ecfbd['position'],_0x2df6f3['uint32'](0xa)['fork']())['ldelim'](),null!=_0x5ecfbd['nodes']&&_0x5ecfbd['nodes']['length']){for(var _0x5772fe=0x0;_0x5772fe<_0x5ecfbd['nodes']['length'];++_0x5772fe)_0x12230d['Element']['encode'](_0x5ecfbd['nodes'][_0x5772fe],_0x2df6f3['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x5ecfbd['shouldReceiveAttributes']&&Object['hasOwnProperty']['call'](_0x5ecfbd,'shouldReceiveAttributes')&&_0x2df6f3['uint32'](0x18)['bool'](_0x5ecfbd['shouldReceiveAttributes']),null!=_0x5ecfbd['wasUndone']&&Object['hasOwnProperty']['call'](_0x5ecfbd,'wasUndone')&&_0x2df6f3['uint32'](0x20)['bool'](_0x5ecfbd['wasUndone']),_0x2df6f3;},_0x6d8755['encodeDelimited']=function(_0x1c367a,_0x3e9a81){return this['encode'](_0x1c367a,_0x3e9a81)['ldelim']();},_0x6d8755['decode']=function(_0x2be028,_0x2e8ed9){_0x2be028 instanceof _0xd73606||(_0x2be028=_0xd73606['create'](_0x2be028));for(var _0x59cb6b=void 0x0===_0x2e8ed9?_0x2be028['len']:_0x2be028['pos']+_0x2e8ed9,_0x30f8af=new _0x12230d['InsertOperation']();_0x2be028['pos']<_0x59cb6b;){var _0x2f4a21=_0x2be028['uint32']();switch(_0x2f4a21>>>0x3){case 0x1:_0x30f8af['position']=_0x12230d['Position']['decode'](_0x2be028,_0x2be028['uint32']());break;case 0x2:_0x30f8af['nodes']&&_0x30f8af['nodes']['length']||(_0x30f8af['nodes']=[]),_0x30f8af['nodes']['push'](_0x12230d['Element']['decode'](_0x2be028,_0x2be028['uint32']()));break;case 0x3:_0x30f8af['shouldReceiveAttributes']=_0x2be028['bool']();break;case 0x4:_0x30f8af['wasUndone']=_0x2be028['bool']();break;default:_0x2be028['skipType'](0x7&_0x2f4a21);}}return _0x30f8af;},_0x6d8755['decodeDelimited']=function(_0x436037){return _0x436037 instanceof _0xd73606||(_0x436037=new _0xd73606(_0x436037)),this['decode'](_0x436037,_0x436037['uint32']());},_0x6d8755['verify']=function(_0x3d37ee){if('object'!=typeof _0x3d37ee||null===_0x3d37ee)return'object\x20expected';if(null!=_0x3d37ee['position']&&_0x3d37ee['hasOwnProperty']('position')&&(_0x1ccbad=_0x12230d['Position']['verify'](_0x3d37ee['position'])))return'position.'+_0x1ccbad;if(null!=_0x3d37ee['nodes']&&_0x3d37ee['hasOwnProperty']('nodes')){if(!Array['isArray'](_0x3d37ee['nodes']))return'nodes:\x20array\x20expected';for(var _0x491c86=0x0;_0x491c86<_0x3d37ee['nodes']['length'];++_0x491c86){var _0x1ccbad;if(_0x1ccbad=_0x12230d['Element']['verify'](_0x3d37ee['nodes'][_0x491c86]))return'nodes.'+_0x1ccbad;}}return null!=_0x3d37ee['shouldReceiveAttributes']&&_0x3d37ee['hasOwnProperty']('shouldReceiveAttributes')&&'boolean'!=typeof _0x3d37ee['shouldReceiveAttributes']?'shouldReceiveAttributes:\x20boolean\x20expected':null!=_0x3d37ee['wasUndone']&&_0x3d37ee['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x3d37ee['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x6d8755['fromObject']=function(_0x22d09a){if(_0x22d09a instanceof _0x12230d['InsertOperation'])return _0x22d09a;var _0x4937b9=new _0x12230d['InsertOperation']();if(null!=_0x22d09a['position']){if('object'!=typeof _0x22d09a['position'])throw TypeError('.InsertOperation.position:\x20object\x20expected');_0x4937b9['position']=_0x12230d['Position']['fromObject'](_0x22d09a['position']);}if(_0x22d09a['nodes']){if(!Array['isArray'](_0x22d09a['nodes']))throw TypeError('.InsertOperation.nodes:\x20array\x20expected');_0x4937b9['nodes']=[];for(var _0x5ac46f=0x0;_0x5ac46f<_0x22d09a['nodes']['length'];++_0x5ac46f){if('object'!=typeof _0x22d09a['nodes'][_0x5ac46f])throw TypeError('.InsertOperation.nodes:\x20object\x20expected');_0x4937b9['nodes'][_0x5ac46f]=_0x12230d['Element']['fromObject'](_0x22d09a['nodes'][_0x5ac46f]);}}return null!=_0x22d09a['shouldReceiveAttributes']&&(_0x4937b9['shouldReceiveAttributes']=Boolean(_0x22d09a['shouldReceiveAttributes'])),null!=_0x22d09a['wasUndone']&&(_0x4937b9['wasUndone']=Boolean(_0x22d09a['wasUndone'])),_0x4937b9;},_0x6d8755['toObject']=function(_0x17f3f5,_0x148f8d){_0x148f8d||(_0x148f8d={});var _0x55aafb={};if((_0x148f8d['arrays']||_0x148f8d['defaults'])&&(_0x55aafb['nodes']=[]),_0x148f8d['defaults']&&(_0x55aafb['position']=null,_0x55aafb['shouldReceiveAttributes']=!0x1,_0x55aafb['wasUndone']=!0x1),null!=_0x17f3f5['position']&&_0x17f3f5['hasOwnProperty']('position')&&(_0x55aafb['position']=_0x12230d['Position']['toObject'](_0x17f3f5['position'],_0x148f8d)),_0x17f3f5['nodes']&&_0x17f3f5['nodes']['length']){_0x55aafb['nodes']=[];for(var _0x33a23e=0x0;_0x33a23e<_0x17f3f5['nodes']['length'];++_0x33a23e)_0x55aafb['nodes'][_0x33a23e]=_0x12230d['Element']['toObject'](_0x17f3f5['nodes'][_0x33a23e],_0x148f8d);}return null!=_0x17f3f5['shouldReceiveAttributes']&&_0x17f3f5['hasOwnProperty']('shouldReceiveAttributes')&&(_0x55aafb['shouldReceiveAttributes']=_0x17f3f5['shouldReceiveAttributes']),null!=_0x17f3f5['wasUndone']&&_0x17f3f5['hasOwnProperty']('wasUndone')&&(_0x55aafb['wasUndone']=_0x17f3f5['wasUndone']),_0x55aafb;},_0x6d8755['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x6d8755['getTypeUrl']=function(_0x6ef099){return void 0x0===_0x6ef099&&(_0x6ef099='type.googleapis.com'),_0x6ef099+'/InsertOperation';},_0x6d8755;}()),_0x12230d['MarkerOperation']=(function(){function _0x49c190(_0x578da0){if(_0x578da0){for(var _0x36ed77=Object['keys'](_0x578da0),_0x58f5c9=0x0;_0x58f5c9<_0x36ed77['length'];++_0x58f5c9)null!=_0x578da0[_0x36ed77[_0x58f5c9]]&&(this[_0x36ed77[_0x58f5c9]]=_0x578da0[_0x36ed77[_0x58f5c9]]);}}return _0x49c190['prototype']['name']='',_0x49c190['prototype']['oldRange']=null,_0x49c190['prototype']['newRange']=null,_0x49c190['prototype']['affectsData']=!0x1,_0x49c190['prototype']['wasUndone']=!0x1,_0x49c190['create']=function(_0x26c567){return new _0x49c190(_0x26c567);},_0x49c190['encode']=function(_0x2d8991,_0x385348){return _0x385348||(_0x385348=_0x445a92['create']()),null!=_0x2d8991['name']&&Object['hasOwnProperty']['call'](_0x2d8991,'name')&&_0x385348['uint32'](0xa)['string'](_0x2d8991['name']),null!=_0x2d8991['oldRange']&&Object['hasOwnProperty']['call'](_0x2d8991,'oldRange')&&_0x12230d['Range']['encode'](_0x2d8991['oldRange'],_0x385348['uint32'](0x12)['fork']())['ldelim'](),null!=_0x2d8991['newRange']&&Object['hasOwnProperty']['call'](_0x2d8991,'newRange')&&_0x12230d['Range']['encode'](_0x2d8991['newRange'],_0x385348['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x2d8991['affectsData']&&Object['hasOwnProperty']['call'](_0x2d8991,'affectsData')&&_0x385348['uint32'](0x20)['bool'](_0x2d8991['affectsData']),null!=_0x2d8991['wasUndone']&&Object['hasOwnProperty']['call'](_0x2d8991,'wasUndone')&&_0x385348['uint32'](0x28)['bool'](_0x2d8991['wasUndone']),_0x385348;},_0x49c190['encodeDelimited']=function(_0x323f83,_0x3f057a){return this['encode'](_0x323f83,_0x3f057a)['ldelim']();},_0x49c190['decode']=function(_0x170de4,_0x3dd347){_0x170de4 instanceof _0xd73606||(_0x170de4=_0xd73606['create'](_0x170de4));for(var _0x1bdd06=void 0x0===_0x3dd347?_0x170de4['len']:_0x170de4['pos']+_0x3dd347,_0x1f4ed4=new _0x12230d['MarkerOperation']();_0x170de4['pos']<_0x1bdd06;){var _0x5e9dd4=_0x170de4['uint32']();switch(_0x5e9dd4>>>0x3){case 0x1:_0x1f4ed4['name']=_0x170de4['string']();break;case 0x2:_0x1f4ed4['oldRange']=_0x12230d['Range']['decode'](_0x170de4,_0x170de4['uint32']());break;case 0x3:_0x1f4ed4['newRange']=_0x12230d['Range']['decode'](_0x170de4,_0x170de4['uint32']());break;case 0x4:_0x1f4ed4['affectsData']=_0x170de4['bool']();break;case 0x5:_0x1f4ed4['wasUndone']=_0x170de4['bool']();break;default:_0x170de4['skipType'](0x7&_0x5e9dd4);}}return _0x1f4ed4;},_0x49c190['decodeDelimited']=function(_0x57af8e){return _0x57af8e instanceof _0xd73606||(_0x57af8e=new _0xd73606(_0x57af8e)),this['decode'](_0x57af8e,_0x57af8e['uint32']());},_0x49c190['verify']=function(_0x1e8d5a){if('object'!=typeof _0x1e8d5a||null===_0x1e8d5a)return'object\x20expected';if(null!=_0x1e8d5a['name']&&_0x1e8d5a['hasOwnProperty']('name')&&!_0x4c110e['isString'](_0x1e8d5a['name']))return'name:\x20string\x20expected';var _0x53cffb;if(null!=_0x1e8d5a['oldRange']&&_0x1e8d5a['hasOwnProperty']('oldRange')&&(_0x53cffb=_0x12230d['Range']['verify'](_0x1e8d5a['oldRange'])))return'oldRange.'+_0x53cffb;if(null!=_0x1e8d5a['newRange']&&_0x1e8d5a['hasOwnProperty']('newRange')&&(_0x53cffb=_0x12230d['Range']['verify'](_0x1e8d5a['newRange'])))return'newRange.'+_0x53cffb;return null!=_0x1e8d5a['affectsData']&&_0x1e8d5a['hasOwnProperty']('affectsData')&&'boolean'!=typeof _0x1e8d5a['affectsData']?'affectsData:\x20boolean\x20expected':null!=_0x1e8d5a['wasUndone']&&_0x1e8d5a['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x1e8d5a['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x49c190['fromObject']=function(_0x45e3ca){if(_0x45e3ca instanceof _0x12230d['MarkerOperation'])return _0x45e3ca;var _0x7e9f2f=new _0x12230d['MarkerOperation']();if(null!=_0x45e3ca['name']&&(_0x7e9f2f['name']=String(_0x45e3ca['name'])),null!=_0x45e3ca['oldRange']){if('object'!=typeof _0x45e3ca['oldRange'])throw TypeError('.MarkerOperation.oldRange:\x20object\x20expected');_0x7e9f2f['oldRange']=_0x12230d['Range']['fromObject'](_0x45e3ca['oldRange']);}if(null!=_0x45e3ca['newRange']){if('object'!=typeof _0x45e3ca['newRange'])throw TypeError('.MarkerOperation.newRange:\x20object\x20expected');_0x7e9f2f['newRange']=_0x12230d['Range']['fromObject'](_0x45e3ca['newRange']);}return null!=_0x45e3ca['affectsData']&&(_0x7e9f2f['affectsData']=Boolean(_0x45e3ca['affectsData'])),null!=_0x45e3ca['wasUndone']&&(_0x7e9f2f['wasUndone']=Boolean(_0x45e3ca['wasUndone'])),_0x7e9f2f;},_0x49c190['toObject']=function(_0x21b9ab,_0x2d166e){_0x2d166e||(_0x2d166e={});var _0x1b742b={};return _0x2d166e['defaults']&&(_0x1b742b['name']='',_0x1b742b['oldRange']=null,_0x1b742b['newRange']=null,_0x1b742b['affectsData']=!0x1,_0x1b742b['wasUndone']=!0x1),null!=_0x21b9ab['name']&&_0x21b9ab['hasOwnProperty']('name')&&(_0x1b742b['name']=_0x21b9ab['name']),null!=_0x21b9ab['oldRange']&&_0x21b9ab['hasOwnProperty']('oldRange')&&(_0x1b742b['oldRange']=_0x12230d['Range']['toObject'](_0x21b9ab['oldRange'],_0x2d166e)),null!=_0x21b9ab['newRange']&&_0x21b9ab['hasOwnProperty']('newRange')&&(_0x1b742b['newRange']=_0x12230d['Range']['toObject'](_0x21b9ab['newRange'],_0x2d166e)),null!=_0x21b9ab['affectsData']&&_0x21b9ab['hasOwnProperty']('affectsData')&&(_0x1b742b['affectsData']=_0x21b9ab['affectsData']),null!=_0x21b9ab['wasUndone']&&_0x21b9ab['hasOwnProperty']('wasUndone')&&(_0x1b742b['wasUndone']=_0x21b9ab['wasUndone']),_0x1b742b;},_0x49c190['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x49c190['getTypeUrl']=function(_0x58b267){return void 0x0===_0x58b267&&(_0x58b267='type.googleapis.com'),_0x58b267+'/MarkerOperation';},_0x49c190;}()),_0x12230d['MergeOperation']=(function(){function _0x12267f(_0x2cdc4c){if(_0x2cdc4c){for(var _0x515513=Object['keys'](_0x2cdc4c),_0x54cca2=0x0;_0x54cca2<_0x515513['length'];++_0x54cca2)null!=_0x2cdc4c[_0x515513[_0x54cca2]]&&(this[_0x515513[_0x54cca2]]=_0x2cdc4c[_0x515513[_0x54cca2]]);}}return _0x12267f['prototype']['sourcePosition']=null,_0x12267f['prototype']['targetPosition']=null,_0x12267f['prototype']['graveyardPosition']=null,_0x12267f['prototype']['howMany']=0x0,_0x12267f['prototype']['wasUndone']=!0x1,_0x12267f['create']=function(_0x45b5a5){return new _0x12267f(_0x45b5a5);},_0x12267f['encode']=function(_0x282562,_0x2b3f1a){return _0x2b3f1a||(_0x2b3f1a=_0x445a92['create']()),null!=_0x282562['sourcePosition']&&Object['hasOwnProperty']['call'](_0x282562,'sourcePosition')&&_0x12230d['Position']['encode'](_0x282562['sourcePosition'],_0x2b3f1a['uint32'](0xa)['fork']())['ldelim'](),null!=_0x282562['targetPosition']&&Object['hasOwnProperty']['call'](_0x282562,'targetPosition')&&_0x12230d['Position']['encode'](_0x282562['targetPosition'],_0x2b3f1a['uint32'](0x12)['fork']())['ldelim'](),null!=_0x282562['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x282562,'graveyardPosition')&&_0x12230d['Position']['encode'](_0x282562['graveyardPosition'],_0x2b3f1a['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x282562['howMany']&&Object['hasOwnProperty']['call'](_0x282562,'howMany')&&_0x2b3f1a['uint32'](0x20)['uint32'](_0x282562['howMany']),null!=_0x282562['wasUndone']&&Object['hasOwnProperty']['call'](_0x282562,'wasUndone')&&_0x2b3f1a['uint32'](0x28)['bool'](_0x282562['wasUndone']),_0x2b3f1a;},_0x12267f['encodeDelimited']=function(_0x575504,_0x2a0ff9){return this['encode'](_0x575504,_0x2a0ff9)['ldelim']();},_0x12267f['decode']=function(_0x32f07c,_0x4d68f3){_0x32f07c instanceof _0xd73606||(_0x32f07c=_0xd73606['create'](_0x32f07c));for(var _0x2499bc=void 0x0===_0x4d68f3?_0x32f07c['len']:_0x32f07c['pos']+_0x4d68f3,_0x2248b8=new _0x12230d['MergeOperation']();_0x32f07c['pos']<_0x2499bc;){var _0x2e2665=_0x32f07c['uint32']();switch(_0x2e2665>>>0x3){case 0x1:_0x2248b8['sourcePosition']=_0x12230d['Position']['decode'](_0x32f07c,_0x32f07c['uint32']());break;case 0x2:_0x2248b8['targetPosition']=_0x12230d['Position']['decode'](_0x32f07c,_0x32f07c['uint32']());break;case 0x3:_0x2248b8['graveyardPosition']=_0x12230d['Position']['decode'](_0x32f07c,_0x32f07c['uint32']());break;case 0x4:_0x2248b8['howMany']=_0x32f07c['uint32']();break;case 0x5:_0x2248b8['wasUndone']=_0x32f07c['bool']();break;default:_0x32f07c['skipType'](0x7&_0x2e2665);}}return _0x2248b8;},_0x12267f['decodeDelimited']=function(_0x23ef2f){return _0x23ef2f instanceof _0xd73606||(_0x23ef2f=new _0xd73606(_0x23ef2f)),this['decode'](_0x23ef2f,_0x23ef2f['uint32']());},_0x12267f['verify']=function(_0x5e24b3){if('object'!=typeof _0x5e24b3||null===_0x5e24b3)return'object\x20expected';var _0x45a60c;if(null!=_0x5e24b3['sourcePosition']&&_0x5e24b3['hasOwnProperty']('sourcePosition')&&(_0x45a60c=_0x12230d['Position']['verify'](_0x5e24b3['sourcePosition'])))return'sourcePosition.'+_0x45a60c;if(null!=_0x5e24b3['targetPosition']&&_0x5e24b3['hasOwnProperty']('targetPosition')&&(_0x45a60c=_0x12230d['Position']['verify'](_0x5e24b3['targetPosition'])))return'targetPosition.'+_0x45a60c;if(null!=_0x5e24b3['graveyardPosition']&&_0x5e24b3['hasOwnProperty']('graveyardPosition')&&(_0x45a60c=_0x12230d['Position']['verify'](_0x5e24b3['graveyardPosition'])))return'graveyardPosition.'+_0x45a60c;return null!=_0x5e24b3['howMany']&&_0x5e24b3['hasOwnProperty']('howMany')&&!_0x4c110e['isInteger'](_0x5e24b3['howMany'])?'howMany:\x20integer\x20expected':null!=_0x5e24b3['wasUndone']&&_0x5e24b3['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x5e24b3['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x12267f['fromObject']=function(_0x40e943){if(_0x40e943 instanceof _0x12230d['MergeOperation'])return _0x40e943;var _0x5760c2=new _0x12230d['MergeOperation']();if(null!=_0x40e943['sourcePosition']){if('object'!=typeof _0x40e943['sourcePosition'])throw TypeError('.MergeOperation.sourcePosition:\x20object\x20expected');_0x5760c2['sourcePosition']=_0x12230d['Position']['fromObject'](_0x40e943['sourcePosition']);}if(null!=_0x40e943['targetPosition']){if('object'!=typeof _0x40e943['targetPosition'])throw TypeError('.MergeOperation.targetPosition:\x20object\x20expected');_0x5760c2['targetPosition']=_0x12230d['Position']['fromObject'](_0x40e943['targetPosition']);}if(null!=_0x40e943['graveyardPosition']){if('object'!=typeof _0x40e943['graveyardPosition'])throw TypeError('.MergeOperation.graveyardPosition:\x20object\x20expected');_0x5760c2['graveyardPosition']=_0x12230d['Position']['fromObject'](_0x40e943['graveyardPosition']);}return null!=_0x40e943['howMany']&&(_0x5760c2['howMany']=_0x40e943['howMany']>>>0x0),null!=_0x40e943['wasUndone']&&(_0x5760c2['wasUndone']=Boolean(_0x40e943['wasUndone'])),_0x5760c2;},_0x12267f['toObject']=function(_0x3c7713,_0x392f42){_0x392f42||(_0x392f42={});var _0xbd56bb={};return _0x392f42['defaults']&&(_0xbd56bb['sourcePosition']=null,_0xbd56bb['targetPosition']=null,_0xbd56bb['graveyardPosition']=null,_0xbd56bb['howMany']=0x0,_0xbd56bb['wasUndone']=!0x1),null!=_0x3c7713['sourcePosition']&&_0x3c7713['hasOwnProperty']('sourcePosition')&&(_0xbd56bb['sourcePosition']=_0x12230d['Position']['toObject'](_0x3c7713['sourcePosition'],_0x392f42)),null!=_0x3c7713['targetPosition']&&_0x3c7713['hasOwnProperty']('targetPosition')&&(_0xbd56bb['targetPosition']=_0x12230d['Position']['toObject'](_0x3c7713['targetPosition'],_0x392f42)),null!=_0x3c7713['graveyardPosition']&&_0x3c7713['hasOwnProperty']('graveyardPosition')&&(_0xbd56bb['graveyardPosition']=_0x12230d['Position']['toObject'](_0x3c7713['graveyardPosition'],_0x392f42)),null!=_0x3c7713['howMany']&&_0x3c7713['hasOwnProperty']('howMany')&&(_0xbd56bb['howMany']=_0x3c7713['howMany']),null!=_0x3c7713['wasUndone']&&_0x3c7713['hasOwnProperty']('wasUndone')&&(_0xbd56bb['wasUndone']=_0x3c7713['wasUndone']),_0xbd56bb;},_0x12267f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x12267f['getTypeUrl']=function(_0x2054fb){return void 0x0===_0x2054fb&&(_0x2054fb='type.googleapis.com'),_0x2054fb+'/MergeOperation';},_0x12267f;}()),_0x12230d['MoveOperation']=(function(){function _0x2bd21f(_0x5a2934){if(_0x5a2934){for(var _0x3fa9ea=Object['keys'](_0x5a2934),_0x5378fd=0x0;_0x5378fd<_0x3fa9ea['length'];++_0x5378fd)null!=_0x5a2934[_0x3fa9ea[_0x5378fd]]&&(this[_0x3fa9ea[_0x5378fd]]=_0x5a2934[_0x3fa9ea[_0x5378fd]]);}}return _0x2bd21f['prototype']['sourcePosition']=null,_0x2bd21f['prototype']['howMany']=0x0,_0x2bd21f['prototype']['targetPosition']=null,_0x2bd21f['prototype']['wasUndone']=!0x1,_0x2bd21f['create']=function(_0x33e469){return new _0x2bd21f(_0x33e469);},_0x2bd21f['encode']=function(_0x129cc6,_0x4b58e8){return _0x4b58e8||(_0x4b58e8=_0x445a92['create']()),null!=_0x129cc6['sourcePosition']&&Object['hasOwnProperty']['call'](_0x129cc6,'sourcePosition')&&_0x12230d['Position']['encode'](_0x129cc6['sourcePosition'],_0x4b58e8['uint32'](0xa)['fork']())['ldelim'](),null!=_0x129cc6['howMany']&&Object['hasOwnProperty']['call'](_0x129cc6,'howMany')&&_0x4b58e8['uint32'](0x10)['uint32'](_0x129cc6['howMany']),null!=_0x129cc6['targetPosition']&&Object['hasOwnProperty']['call'](_0x129cc6,'targetPosition')&&_0x12230d['Position']['encode'](_0x129cc6['targetPosition'],_0x4b58e8['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x129cc6['wasUndone']&&Object['hasOwnProperty']['call'](_0x129cc6,'wasUndone')&&_0x4b58e8['uint32'](0x20)['bool'](_0x129cc6['wasUndone']),_0x4b58e8;},_0x2bd21f['encodeDelimited']=function(_0x5ccee9,_0x4d2296){return this['encode'](_0x5ccee9,_0x4d2296)['ldelim']();},_0x2bd21f['decode']=function(_0x48096b,_0x4e4b48){_0x48096b instanceof _0xd73606||(_0x48096b=_0xd73606['create'](_0x48096b));for(var _0xa0e346=void 0x0===_0x4e4b48?_0x48096b['len']:_0x48096b['pos']+_0x4e4b48,_0x58e7cb=new _0x12230d['MoveOperation']();_0x48096b['pos']<_0xa0e346;){var _0x5f09f7=_0x48096b['uint32']();switch(_0x5f09f7>>>0x3){case 0x1:_0x58e7cb['sourcePosition']=_0x12230d['Position']['decode'](_0x48096b,_0x48096b['uint32']());break;case 0x2:_0x58e7cb['howMany']=_0x48096b['uint32']();break;case 0x3:_0x58e7cb['targetPosition']=_0x12230d['Position']['decode'](_0x48096b,_0x48096b['uint32']());break;case 0x4:_0x58e7cb['wasUndone']=_0x48096b['bool']();break;default:_0x48096b['skipType'](0x7&_0x5f09f7);}}return _0x58e7cb;},_0x2bd21f['decodeDelimited']=function(_0xb8dedf){return _0xb8dedf instanceof _0xd73606||(_0xb8dedf=new _0xd73606(_0xb8dedf)),this['decode'](_0xb8dedf,_0xb8dedf['uint32']());},_0x2bd21f['verify']=function(_0x58a98f){if('object'!=typeof _0x58a98f||null===_0x58a98f)return'object\x20expected';var _0x243a87;if(null!=_0x58a98f['sourcePosition']&&_0x58a98f['hasOwnProperty']('sourcePosition')&&(_0x243a87=_0x12230d['Position']['verify'](_0x58a98f['sourcePosition'])))return'sourcePosition.'+_0x243a87;if(null!=_0x58a98f['howMany']&&_0x58a98f['hasOwnProperty']('howMany')&&!_0x4c110e['isInteger'](_0x58a98f['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x58a98f['targetPosition']&&_0x58a98f['hasOwnProperty']('targetPosition')&&(_0x243a87=_0x12230d['Position']['verify'](_0x58a98f['targetPosition'])))return'targetPosition.'+_0x243a87;return null!=_0x58a98f['wasUndone']&&_0x58a98f['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x58a98f['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x2bd21f['fromObject']=function(_0x3c7fb9){if(_0x3c7fb9 instanceof _0x12230d['MoveOperation'])return _0x3c7fb9;var _0x2bbe3d=new _0x12230d['MoveOperation']();if(null!=_0x3c7fb9['sourcePosition']){if('object'!=typeof _0x3c7fb9['sourcePosition'])throw TypeError('.MoveOperation.sourcePosition:\x20object\x20expected');_0x2bbe3d['sourcePosition']=_0x12230d['Position']['fromObject'](_0x3c7fb9['sourcePosition']);}if(null!=_0x3c7fb9['howMany']&&(_0x2bbe3d['howMany']=_0x3c7fb9['howMany']>>>0x0),null!=_0x3c7fb9['targetPosition']){if('object'!=typeof _0x3c7fb9['targetPosition'])throw TypeError('.MoveOperation.targetPosition:\x20object\x20expected');_0x2bbe3d['targetPosition']=_0x12230d['Position']['fromObject'](_0x3c7fb9['targetPosition']);}return null!=_0x3c7fb9['wasUndone']&&(_0x2bbe3d['wasUndone']=Boolean(_0x3c7fb9['wasUndone'])),_0x2bbe3d;},_0x2bd21f['toObject']=function(_0x549f49,_0x590f08){_0x590f08||(_0x590f08={});var _0x2c903e={};return _0x590f08['defaults']&&(_0x2c903e['sourcePosition']=null,_0x2c903e['howMany']=0x0,_0x2c903e['targetPosition']=null,_0x2c903e['wasUndone']=!0x1),null!=_0x549f49['sourcePosition']&&_0x549f49['hasOwnProperty']('sourcePosition')&&(_0x2c903e['sourcePosition']=_0x12230d['Position']['toObject'](_0x549f49['sourcePosition'],_0x590f08)),null!=_0x549f49['howMany']&&_0x549f49['hasOwnProperty']('howMany')&&(_0x2c903e['howMany']=_0x549f49['howMany']),null!=_0x549f49['targetPosition']&&_0x549f49['hasOwnProperty']('targetPosition')&&(_0x2c903e['targetPosition']=_0x12230d['Position']['toObject'](_0x549f49['targetPosition'],_0x590f08)),null!=_0x549f49['wasUndone']&&_0x549f49['hasOwnProperty']('wasUndone')&&(_0x2c903e['wasUndone']=_0x549f49['wasUndone']),_0x2c903e;},_0x2bd21f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2bd21f['getTypeUrl']=function(_0x80dd94){return void 0x0===_0x80dd94&&(_0x80dd94='type.googleapis.com'),_0x80dd94+'/MoveOperation';},_0x2bd21f;}()),_0x12230d['RenameOperation']=(function(){function _0x4e11f3(_0x3feda4){if(_0x3feda4){for(var _0x158898=Object['keys'](_0x3feda4),_0x39c5b5=0x0;_0x39c5b5<_0x158898['length'];++_0x39c5b5)null!=_0x3feda4[_0x158898[_0x39c5b5]]&&(this[_0x158898[_0x39c5b5]]=_0x3feda4[_0x158898[_0x39c5b5]]);}}return _0x4e11f3['prototype']['position']=null,_0x4e11f3['prototype']['oldName']='',_0x4e11f3['prototype']['newName']='',_0x4e11f3['prototype']['wasUndone']=!0x1,_0x4e11f3['create']=function(_0x860d9f){return new _0x4e11f3(_0x860d9f);},_0x4e11f3['encode']=function(_0x33f4f0,_0x578fe0){return _0x578fe0||(_0x578fe0=_0x445a92['create']()),null!=_0x33f4f0['position']&&Object['hasOwnProperty']['call'](_0x33f4f0,'position')&&_0x12230d['Position']['encode'](_0x33f4f0['position'],_0x578fe0['uint32'](0xa)['fork']())['ldelim'](),null!=_0x33f4f0['oldName']&&Object['hasOwnProperty']['call'](_0x33f4f0,'oldName')&&_0x578fe0['uint32'](0x12)['string'](_0x33f4f0['oldName']),null!=_0x33f4f0['newName']&&Object['hasOwnProperty']['call'](_0x33f4f0,'newName')&&_0x578fe0['uint32'](0x1a)['string'](_0x33f4f0['newName']),null!=_0x33f4f0['wasUndone']&&Object['hasOwnProperty']['call'](_0x33f4f0,'wasUndone')&&_0x578fe0['uint32'](0x20)['bool'](_0x33f4f0['wasUndone']),_0x578fe0;},_0x4e11f3['encodeDelimited']=function(_0x31c9c2,_0x5b200d){return this['encode'](_0x31c9c2,_0x5b200d)['ldelim']();},_0x4e11f3['decode']=function(_0x3b4221,_0x23763a){_0x3b4221 instanceof _0xd73606||(_0x3b4221=_0xd73606['create'](_0x3b4221));for(var _0x5a3e68=void 0x0===_0x23763a?_0x3b4221['len']:_0x3b4221['pos']+_0x23763a,_0x5e38e8=new _0x12230d['RenameOperation']();_0x3b4221['pos']<_0x5a3e68;){var _0x223a06=_0x3b4221['uint32']();switch(_0x223a06>>>0x3){case 0x1:_0x5e38e8['position']=_0x12230d['Position']['decode'](_0x3b4221,_0x3b4221['uint32']());break;case 0x2:_0x5e38e8['oldName']=_0x3b4221['string']();break;case 0x3:_0x5e38e8['newName']=_0x3b4221['string']();break;case 0x4:_0x5e38e8['wasUndone']=_0x3b4221['bool']();break;default:_0x3b4221['skipType'](0x7&_0x223a06);}}return _0x5e38e8;},_0x4e11f3['decodeDelimited']=function(_0x57dc12){return _0x57dc12 instanceof _0xd73606||(_0x57dc12=new _0xd73606(_0x57dc12)),this['decode'](_0x57dc12,_0x57dc12['uint32']());},_0x4e11f3['verify']=function(_0x266e97){if('object'!=typeof _0x266e97||null===_0x266e97)return'object\x20expected';if(null!=_0x266e97['position']&&_0x266e97['hasOwnProperty']('position')){var _0x1ed214=_0x12230d['Position']['verify'](_0x266e97['position']);if(_0x1ed214)return'position.'+_0x1ed214;}return null!=_0x266e97['oldName']&&_0x266e97['hasOwnProperty']('oldName')&&!_0x4c110e['isString'](_0x266e97['oldName'])?'oldName:\x20string\x20expected':null!=_0x266e97['newName']&&_0x266e97['hasOwnProperty']('newName')&&!_0x4c110e['isString'](_0x266e97['newName'])?'newName:\x20string\x20expected':null!=_0x266e97['wasUndone']&&_0x266e97['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x266e97['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x4e11f3['fromObject']=function(_0x453e93){if(_0x453e93 instanceof _0x12230d['RenameOperation'])return _0x453e93;var _0x155a59=new _0x12230d['RenameOperation']();if(null!=_0x453e93['position']){if('object'!=typeof _0x453e93['position'])throw TypeError('.RenameOperation.position:\x20object\x20expected');_0x155a59['position']=_0x12230d['Position']['fromObject'](_0x453e93['position']);}return null!=_0x453e93['oldName']&&(_0x155a59['oldName']=String(_0x453e93['oldName'])),null!=_0x453e93['newName']&&(_0x155a59['newName']=String(_0x453e93['newName'])),null!=_0x453e93['wasUndone']&&(_0x155a59['wasUndone']=Boolean(_0x453e93['wasUndone'])),_0x155a59;},_0x4e11f3['toObject']=function(_0x31141e,_0x241fc7){_0x241fc7||(_0x241fc7={});var _0x389888={};return _0x241fc7['defaults']&&(_0x389888['position']=null,_0x389888['oldName']='',_0x389888['newName']='',_0x389888['wasUndone']=!0x1),null!=_0x31141e['position']&&_0x31141e['hasOwnProperty']('position')&&(_0x389888['position']=_0x12230d['Position']['toObject'](_0x31141e['position'],_0x241fc7)),null!=_0x31141e['oldName']&&_0x31141e['hasOwnProperty']('oldName')&&(_0x389888['oldName']=_0x31141e['oldName']),null!=_0x31141e['newName']&&_0x31141e['hasOwnProperty']('newName')&&(_0x389888['newName']=_0x31141e['newName']),null!=_0x31141e['wasUndone']&&_0x31141e['hasOwnProperty']('wasUndone')&&(_0x389888['wasUndone']=_0x31141e['wasUndone']),_0x389888;},_0x4e11f3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4e11f3['getTypeUrl']=function(_0x2942d7){return void 0x0===_0x2942d7&&(_0x2942d7='type.googleapis.com'),_0x2942d7+'/RenameOperation';},_0x4e11f3;}()),_0x12230d['RootAttributeOperation']=(function(){function _0x15c9d8(_0x15f561){if(_0x15f561){for(var _0x3130da=Object['keys'](_0x15f561),_0x2602ee=0x0;_0x2602ee<_0x3130da['length'];++_0x2602ee)null!=_0x15f561[_0x3130da[_0x2602ee]]&&(this[_0x3130da[_0x2602ee]]=_0x15f561[_0x3130da[_0x2602ee]]);}}return _0x15c9d8['prototype']['root']='',_0x15c9d8['prototype']['key']='',_0x15c9d8['prototype']['oldValueBoolean']=!0x1,_0x15c9d8['prototype']['oldValueJson']='',_0x15c9d8['prototype']['newValueBoolean']=!0x1,_0x15c9d8['prototype']['newValueJson']='',_0x15c9d8['prototype']['wasUndone']=!0x1,_0x15c9d8['create']=function(_0x5929fd){return new _0x15c9d8(_0x5929fd);},_0x15c9d8['encode']=function(_0x5144da,_0x2663ca){return _0x2663ca||(_0x2663ca=_0x445a92['create']()),null!=_0x5144da['root']&&Object['hasOwnProperty']['call'](_0x5144da,'root')&&_0x2663ca['uint32'](0xa)['string'](_0x5144da['root']),null!=_0x5144da['key']&&Object['hasOwnProperty']['call'](_0x5144da,'key')&&_0x2663ca['uint32'](0x12)['string'](_0x5144da['key']),null!=_0x5144da['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x5144da,'oldValueBoolean')&&_0x2663ca['uint32'](0x18)['bool'](_0x5144da['oldValueBoolean']),null!=_0x5144da['oldValueJson']&&Object['hasOwnProperty']['call'](_0x5144da,'oldValueJson')&&_0x2663ca['uint32'](0x22)['string'](_0x5144da['oldValueJson']),null!=_0x5144da['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x5144da,'newValueBoolean')&&_0x2663ca['uint32'](0x28)['bool'](_0x5144da['newValueBoolean']),null!=_0x5144da['newValueJson']&&Object['hasOwnProperty']['call'](_0x5144da,'newValueJson')&&_0x2663ca['uint32'](0x32)['string'](_0x5144da['newValueJson']),null!=_0x5144da['wasUndone']&&Object['hasOwnProperty']['call'](_0x5144da,'wasUndone')&&_0x2663ca['uint32'](0x38)['bool'](_0x5144da['wasUndone']),_0x2663ca;},_0x15c9d8['encodeDelimited']=function(_0x1f22b1,_0x45bb6a){return this['encode'](_0x1f22b1,_0x45bb6a)['ldelim']();},_0x15c9d8['decode']=function(_0x292695,_0x536488){_0x292695 instanceof _0xd73606||(_0x292695=_0xd73606['create'](_0x292695));for(var _0x29113c=void 0x0===_0x536488?_0x292695['len']:_0x292695['pos']+_0x536488,_0x1474fd=new _0x12230d['RootAttributeOperation']();_0x292695['pos']<_0x29113c;){var _0xb7eae1=_0x292695['uint32']();switch(_0xb7eae1>>>0x3){case 0x1:_0x1474fd['root']=_0x292695['string']();break;case 0x2:_0x1474fd['key']=_0x292695['string']();break;case 0x3:_0x1474fd['oldValueBoolean']=_0x292695['bool']();break;case 0x4:_0x1474fd['oldValueJson']=_0x292695['string']();break;case 0x5:_0x1474fd['newValueBoolean']=_0x292695['bool']();break;case 0x6:_0x1474fd['newValueJson']=_0x292695['string']();break;case 0x7:_0x1474fd['wasUndone']=_0x292695['bool']();break;default:_0x292695['skipType'](0x7&_0xb7eae1);}}return _0x1474fd;},_0x15c9d8['decodeDelimited']=function(_0x59d7b5){return _0x59d7b5 instanceof _0xd73606||(_0x59d7b5=new _0xd73606(_0x59d7b5)),this['decode'](_0x59d7b5,_0x59d7b5['uint32']());},_0x15c9d8['verify']=function(_0x3c09a2){return'object'!=typeof _0x3c09a2||null===_0x3c09a2?'object\x20expected':null!=_0x3c09a2['root']&&_0x3c09a2['hasOwnProperty']('root')&&!_0x4c110e['isString'](_0x3c09a2['root'])?'root:\x20string\x20expected':null!=_0x3c09a2['key']&&_0x3c09a2['hasOwnProperty']('key')&&!_0x4c110e['isString'](_0x3c09a2['key'])?'key:\x20string\x20expected':null!=_0x3c09a2['oldValueBoolean']&&_0x3c09a2['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x3c09a2['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x3c09a2['oldValueJson']&&_0x3c09a2['hasOwnProperty']('oldValueJson')&&!_0x4c110e['isString'](_0x3c09a2['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x3c09a2['newValueBoolean']&&_0x3c09a2['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x3c09a2['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x3c09a2['newValueJson']&&_0x3c09a2['hasOwnProperty']('newValueJson')&&!_0x4c110e['isString'](_0x3c09a2['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x3c09a2['wasUndone']&&_0x3c09a2['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x3c09a2['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x15c9d8['fromObject']=function(_0x18b70b){if(_0x18b70b instanceof _0x12230d['RootAttributeOperation'])return _0x18b70b;var _0x461221=new _0x12230d['RootAttributeOperation']();return null!=_0x18b70b['root']&&(_0x461221['root']=String(_0x18b70b['root'])),null!=_0x18b70b['key']&&(_0x461221['key']=String(_0x18b70b['key'])),null!=_0x18b70b['oldValueBoolean']&&(_0x461221['oldValueBoolean']=Boolean(_0x18b70b['oldValueBoolean'])),null!=_0x18b70b['oldValueJson']&&(_0x461221['oldValueJson']=String(_0x18b70b['oldValueJson'])),null!=_0x18b70b['newValueBoolean']&&(_0x461221['newValueBoolean']=Boolean(_0x18b70b['newValueBoolean'])),null!=_0x18b70b['newValueJson']&&(_0x461221['newValueJson']=String(_0x18b70b['newValueJson'])),null!=_0x18b70b['wasUndone']&&(_0x461221['wasUndone']=Boolean(_0x18b70b['wasUndone'])),_0x461221;},_0x15c9d8['toObject']=function(_0x11bb09,_0x5be82c){_0x5be82c||(_0x5be82c={});var _0x254955={};return _0x5be82c['defaults']&&(_0x254955['root']='',_0x254955['key']='',_0x254955['oldValueBoolean']=!0x1,_0x254955['oldValueJson']='',_0x254955['newValueBoolean']=!0x1,_0x254955['newValueJson']='',_0x254955['wasUndone']=!0x1),null!=_0x11bb09['root']&&_0x11bb09['hasOwnProperty']('root')&&(_0x254955['root']=_0x11bb09['root']),null!=_0x11bb09['key']&&_0x11bb09['hasOwnProperty']('key')&&(_0x254955['key']=_0x11bb09['key']),null!=_0x11bb09['oldValueBoolean']&&_0x11bb09['hasOwnProperty']('oldValueBoolean')&&(_0x254955['oldValueBoolean']=_0x11bb09['oldValueBoolean']),null!=_0x11bb09['oldValueJson']&&_0x11bb09['hasOwnProperty']('oldValueJson')&&(_0x254955['oldValueJson']=_0x11bb09['oldValueJson']),null!=_0x11bb09['newValueBoolean']&&_0x11bb09['hasOwnProperty']('newValueBoolean')&&(_0x254955['newValueBoolean']=_0x11bb09['newValueBoolean']),null!=_0x11bb09['newValueJson']&&_0x11bb09['hasOwnProperty']('newValueJson')&&(_0x254955['newValueJson']=_0x11bb09['newValueJson']),null!=_0x11bb09['wasUndone']&&_0x11bb09['hasOwnProperty']('wasUndone')&&(_0x254955['wasUndone']=_0x11bb09['wasUndone']),_0x254955;},_0x15c9d8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x15c9d8['getTypeUrl']=function(_0xdb08bb){return void 0x0===_0xdb08bb&&(_0xdb08bb='type.googleapis.com'),_0xdb08bb+'/RootAttributeOperation';},_0x15c9d8;}()),_0x12230d['RootOperation']=(function(){function _0x5ebb33(_0x6a4a6c){if(_0x6a4a6c){for(var _0x2f835a=Object['keys'](_0x6a4a6c),_0x50ec22=0x0;_0x50ec22<_0x2f835a['length'];++_0x50ec22)null!=_0x6a4a6c[_0x2f835a[_0x50ec22]]&&(this[_0x2f835a[_0x50ec22]]=_0x6a4a6c[_0x2f835a[_0x50ec22]]);}}return _0x5ebb33['prototype']['rootName']='',_0x5ebb33['prototype']['elementName']='',_0x5ebb33['prototype']['isAdd']=!0x1,_0x5ebb33['prototype']['wasUndone']=!0x1,_0x5ebb33['create']=function(_0x451d31){return new _0x5ebb33(_0x451d31);},_0x5ebb33['encode']=function(_0x2e1012,_0x437ed5){return _0x437ed5||(_0x437ed5=_0x445a92['create']()),null!=_0x2e1012['rootName']&&Object['hasOwnProperty']['call'](_0x2e1012,'rootName')&&_0x437ed5['uint32'](0xa)['string'](_0x2e1012['rootName']),null!=_0x2e1012['elementName']&&Object['hasOwnProperty']['call'](_0x2e1012,'elementName')&&_0x437ed5['uint32'](0x12)['string'](_0x2e1012['elementName']),null!=_0x2e1012['isAdd']&&Object['hasOwnProperty']['call'](_0x2e1012,'isAdd')&&_0x437ed5['uint32'](0x18)['bool'](_0x2e1012['isAdd']),null!=_0x2e1012['wasUndone']&&Object['hasOwnProperty']['call'](_0x2e1012,'wasUndone')&&_0x437ed5['uint32'](0x20)['bool'](_0x2e1012['wasUndone']),_0x437ed5;},_0x5ebb33['encodeDelimited']=function(_0x8c378a,_0x3a2f99){return this['encode'](_0x8c378a,_0x3a2f99)['ldelim']();},_0x5ebb33['decode']=function(_0x29dbeb,_0x2e3aad){_0x29dbeb instanceof _0xd73606||(_0x29dbeb=_0xd73606['create'](_0x29dbeb));for(var _0x4d5e0d=void 0x0===_0x2e3aad?_0x29dbeb['len']:_0x29dbeb['pos']+_0x2e3aad,_0x1da08e=new _0x12230d['RootOperation']();_0x29dbeb['pos']<_0x4d5e0d;){var _0x3c837a=_0x29dbeb['uint32']();switch(_0x3c837a>>>0x3){case 0x1:_0x1da08e['rootName']=_0x29dbeb['string']();break;case 0x2:_0x1da08e['elementName']=_0x29dbeb['string']();break;case 0x3:_0x1da08e['isAdd']=_0x29dbeb['bool']();break;case 0x4:_0x1da08e['wasUndone']=_0x29dbeb['bool']();break;default:_0x29dbeb['skipType'](0x7&_0x3c837a);}}return _0x1da08e;},_0x5ebb33['decodeDelimited']=function(_0x53500e){return _0x53500e instanceof _0xd73606||(_0x53500e=new _0xd73606(_0x53500e)),this['decode'](_0x53500e,_0x53500e['uint32']());},_0x5ebb33['verify']=function(_0x44ffc3){return'object'!=typeof _0x44ffc3||null===_0x44ffc3?'object\x20expected':null!=_0x44ffc3['rootName']&&_0x44ffc3['hasOwnProperty']('rootName')&&!_0x4c110e['isString'](_0x44ffc3['rootName'])?'rootName:\x20string\x20expected':null!=_0x44ffc3['elementName']&&_0x44ffc3['hasOwnProperty']('elementName')&&!_0x4c110e['isString'](_0x44ffc3['elementName'])?'elementName:\x20string\x20expected':null!=_0x44ffc3['isAdd']&&_0x44ffc3['hasOwnProperty']('isAdd')&&'boolean'!=typeof _0x44ffc3['isAdd']?'isAdd:\x20boolean\x20expected':null!=_0x44ffc3['wasUndone']&&_0x44ffc3['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x44ffc3['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x5ebb33['fromObject']=function(_0x2d57c){if(_0x2d57c instanceof _0x12230d['RootOperation'])return _0x2d57c;var _0x3d04a5=new _0x12230d['RootOperation']();return null!=_0x2d57c['rootName']&&(_0x3d04a5['rootName']=String(_0x2d57c['rootName'])),null!=_0x2d57c['elementName']&&(_0x3d04a5['elementName']=String(_0x2d57c['elementName'])),null!=_0x2d57c['isAdd']&&(_0x3d04a5['isAdd']=Boolean(_0x2d57c['isAdd'])),null!=_0x2d57c['wasUndone']&&(_0x3d04a5['wasUndone']=Boolean(_0x2d57c['wasUndone'])),_0x3d04a5;},_0x5ebb33['toObject']=function(_0x4d2991,_0x106d49){_0x106d49||(_0x106d49={});var _0x260525={};return _0x106d49['defaults']&&(_0x260525['rootName']='',_0x260525['elementName']='',_0x260525['isAdd']=!0x1,_0x260525['wasUndone']=!0x1),null!=_0x4d2991['rootName']&&_0x4d2991['hasOwnProperty']('rootName')&&(_0x260525['rootName']=_0x4d2991['rootName']),null!=_0x4d2991['elementName']&&_0x4d2991['hasOwnProperty']('elementName')&&(_0x260525['elementName']=_0x4d2991['elementName']),null!=_0x4d2991['isAdd']&&_0x4d2991['hasOwnProperty']('isAdd')&&(_0x260525['isAdd']=_0x4d2991['isAdd']),null!=_0x4d2991['wasUndone']&&_0x4d2991['hasOwnProperty']('wasUndone')&&(_0x260525['wasUndone']=_0x4d2991['wasUndone']),_0x260525;},_0x5ebb33['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5ebb33['getTypeUrl']=function(_0x42a8a4){return void 0x0===_0x42a8a4&&(_0x42a8a4='type.googleapis.com'),_0x42a8a4+'/RootOperation';},_0x5ebb33;}()),_0x12230d['SplitOperation']=(function(){function _0x2526c3(_0x476504){if(_0x476504){for(var _0x2de1a5=Object['keys'](_0x476504),_0x934d0b=0x0;_0x934d0b<_0x2de1a5['length'];++_0x934d0b)null!=_0x476504[_0x2de1a5[_0x934d0b]]&&(this[_0x2de1a5[_0x934d0b]]=_0x476504[_0x2de1a5[_0x934d0b]]);}}return _0x2526c3['prototype']['splitPosition']=null,_0x2526c3['prototype']['graveyardPosition']=null,_0x2526c3['prototype']['howMany']=0x0,_0x2526c3['prototype']['insertionPosition']=null,_0x2526c3['prototype']['wasUndone']=!0x1,_0x2526c3['create']=function(_0x354a64){return new _0x2526c3(_0x354a64);},_0x2526c3['encode']=function(_0x4e3af0,_0x405dc8){return _0x405dc8||(_0x405dc8=_0x445a92['create']()),null!=_0x4e3af0['splitPosition']&&Object['hasOwnProperty']['call'](_0x4e3af0,'splitPosition')&&_0x12230d['Position']['encode'](_0x4e3af0['splitPosition'],_0x405dc8['uint32'](0xa)['fork']())['ldelim'](),null!=_0x4e3af0['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x4e3af0,'graveyardPosition')&&_0x12230d['Position']['encode'](_0x4e3af0['graveyardPosition'],_0x405dc8['uint32'](0x12)['fork']())['ldelim'](),null!=_0x4e3af0['howMany']&&Object['hasOwnProperty']['call'](_0x4e3af0,'howMany')&&_0x405dc8['uint32'](0x18)['uint32'](_0x4e3af0['howMany']),null!=_0x4e3af0['insertionPosition']&&Object['hasOwnProperty']['call'](_0x4e3af0,'insertionPosition')&&_0x12230d['Position']['encode'](_0x4e3af0['insertionPosition'],_0x405dc8['uint32'](0x22)['fork']())['ldelim'](),null!=_0x4e3af0['wasUndone']&&Object['hasOwnProperty']['call'](_0x4e3af0,'wasUndone')&&_0x405dc8['uint32'](0x28)['bool'](_0x4e3af0['wasUndone']),_0x405dc8;},_0x2526c3['encodeDelimited']=function(_0x57dae6,_0x4c84b6){return this['encode'](_0x57dae6,_0x4c84b6)['ldelim']();},_0x2526c3['decode']=function(_0x279d0b,_0x1d3c4d){_0x279d0b instanceof _0xd73606||(_0x279d0b=_0xd73606['create'](_0x279d0b));for(var _0x487cdb=void 0x0===_0x1d3c4d?_0x279d0b['len']:_0x279d0b['pos']+_0x1d3c4d,_0x4c8107=new _0x12230d['SplitOperation']();_0x279d0b['pos']<_0x487cdb;){var _0x2b5e63=_0x279d0b['uint32']();switch(_0x2b5e63>>>0x3){case 0x1:_0x4c8107['splitPosition']=_0x12230d['Position']['decode'](_0x279d0b,_0x279d0b['uint32']());break;case 0x2:_0x4c8107['graveyardPosition']=_0x12230d['Position']['decode'](_0x279d0b,_0x279d0b['uint32']());break;case 0x3:_0x4c8107['howMany']=_0x279d0b['uint32']();break;case 0x4:_0x4c8107['insertionPosition']=_0x12230d['Position']['decode'](_0x279d0b,_0x279d0b['uint32']());break;case 0x5:_0x4c8107['wasUndone']=_0x279d0b['bool']();break;default:_0x279d0b['skipType'](0x7&_0x2b5e63);}}return _0x4c8107;},_0x2526c3['decodeDelimited']=function(_0x1f3e6f){return _0x1f3e6f instanceof _0xd73606||(_0x1f3e6f=new _0xd73606(_0x1f3e6f)),this['decode'](_0x1f3e6f,_0x1f3e6f['uint32']());},_0x2526c3['verify']=function(_0x26868b){if('object'!=typeof _0x26868b||null===_0x26868b)return'object\x20expected';var _0x227fba;if(null!=_0x26868b['splitPosition']&&_0x26868b['hasOwnProperty']('splitPosition')&&(_0x227fba=_0x12230d['Position']['verify'](_0x26868b['splitPosition'])))return'splitPosition.'+_0x227fba;if(null!=_0x26868b['graveyardPosition']&&_0x26868b['hasOwnProperty']('graveyardPosition')&&(_0x227fba=_0x12230d['Position']['verify'](_0x26868b['graveyardPosition'])))return'graveyardPosition.'+_0x227fba;if(null!=_0x26868b['howMany']&&_0x26868b['hasOwnProperty']('howMany')&&!_0x4c110e['isInteger'](_0x26868b['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x26868b['insertionPosition']&&_0x26868b['hasOwnProperty']('insertionPosition')&&(_0x227fba=_0x12230d['Position']['verify'](_0x26868b['insertionPosition'])))return'insertionPosition.'+_0x227fba;return null!=_0x26868b['wasUndone']&&_0x26868b['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x26868b['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x2526c3['fromObject']=function(_0x4a1b78){if(_0x4a1b78 instanceof _0x12230d['SplitOperation'])return _0x4a1b78;var _0x28e2d4=new _0x12230d['SplitOperation']();if(null!=_0x4a1b78['splitPosition']){if('object'!=typeof _0x4a1b78['splitPosition'])throw TypeError('.SplitOperation.splitPosition:\x20object\x20expected');_0x28e2d4['splitPosition']=_0x12230d['Position']['fromObject'](_0x4a1b78['splitPosition']);}if(null!=_0x4a1b78['graveyardPosition']){if('object'!=typeof _0x4a1b78['graveyardPosition'])throw TypeError('.SplitOperation.graveyardPosition:\x20object\x20expected');_0x28e2d4['graveyardPosition']=_0x12230d['Position']['fromObject'](_0x4a1b78['graveyardPosition']);}if(null!=_0x4a1b78['howMany']&&(_0x28e2d4['howMany']=_0x4a1b78['howMany']>>>0x0),null!=_0x4a1b78['insertionPosition']){if('object'!=typeof _0x4a1b78['insertionPosition'])throw TypeError('.SplitOperation.insertionPosition:\x20object\x20expected');_0x28e2d4['insertionPosition']=_0x12230d['Position']['fromObject'](_0x4a1b78['insertionPosition']);}return null!=_0x4a1b78['wasUndone']&&(_0x28e2d4['wasUndone']=Boolean(_0x4a1b78['wasUndone'])),_0x28e2d4;},_0x2526c3['toObject']=function(_0x5e1267,_0x37d4ce){_0x37d4ce||(_0x37d4ce={});var _0x37d47d={};return _0x37d4ce['defaults']&&(_0x37d47d['splitPosition']=null,_0x37d47d['graveyardPosition']=null,_0x37d47d['howMany']=0x0,_0x37d47d['insertionPosition']=null,_0x37d47d['wasUndone']=!0x1),null!=_0x5e1267['splitPosition']&&_0x5e1267['hasOwnProperty']('splitPosition')&&(_0x37d47d['splitPosition']=_0x12230d['Position']['toObject'](_0x5e1267['splitPosition'],_0x37d4ce)),null!=_0x5e1267['graveyardPosition']&&_0x5e1267['hasOwnProperty']('graveyardPosition')&&(_0x37d47d['graveyardPosition']=_0x12230d['Position']['toObject'](_0x5e1267['graveyardPosition'],_0x37d4ce)),null!=_0x5e1267['howMany']&&_0x5e1267['hasOwnProperty']('howMany')&&(_0x37d47d['howMany']=_0x5e1267['howMany']),null!=_0x5e1267['insertionPosition']&&_0x5e1267['hasOwnProperty']('insertionPosition')&&(_0x37d47d['insertionPosition']=_0x12230d['Position']['toObject'](_0x5e1267['insertionPosition'],_0x37d4ce)),null!=_0x5e1267['wasUndone']&&_0x5e1267['hasOwnProperty']('wasUndone')&&(_0x37d47d['wasUndone']=_0x5e1267['wasUndone']),_0x37d47d;},_0x2526c3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2526c3['getTypeUrl']=function(_0x26d39b){return void 0x0===_0x26d39b&&(_0x26d39b='type.googleapis.com'),_0x26d39b+'/SplitOperation';},_0x2526c3;}()),_0x12230d['Position']=(function(){function _0xca53eb(_0x4771f5){if(this['path']=[],_0x4771f5){for(var _0x3f914e=Object['keys'](_0x4771f5),_0x44433d=0x0;_0x44433d<_0x3f914e['length'];++_0x44433d)null!=_0x4771f5[_0x3f914e[_0x44433d]]&&(this[_0x3f914e[_0x44433d]]=_0x4771f5[_0x3f914e[_0x44433d]]);}}return _0xca53eb['prototype']['root']='',_0xca53eb['prototype']['rootMain']=!0x1,_0xca53eb['prototype']['rootGraveyard']=!0x1,_0xca53eb['prototype']['path']=_0x4c110e['emptyArray'],_0xca53eb['prototype']['stickiness']='',_0xca53eb['create']=function(_0x54c7cf){return new _0xca53eb(_0x54c7cf);},_0xca53eb['encode']=function(_0x8a4dce,_0x5be472){if(_0x5be472||(_0x5be472=_0x445a92['create']()),null!=_0x8a4dce['root']&&Object['hasOwnProperty']['call'](_0x8a4dce,'root')&&_0x5be472['uint32'](0xa)['string'](_0x8a4dce['root']),null!=_0x8a4dce['rootMain']&&Object['hasOwnProperty']['call'](_0x8a4dce,'rootMain')&&_0x5be472['uint32'](0x10)['bool'](_0x8a4dce['rootMain']),null!=_0x8a4dce['rootGraveyard']&&Object['hasOwnProperty']['call'](_0x8a4dce,'rootGraveyard')&&_0x5be472['uint32'](0x18)['bool'](_0x8a4dce['rootGraveyard']),null!=_0x8a4dce['path']&&_0x8a4dce['path']['length']){_0x5be472['uint32'](0x22)['fork']();for(var _0x4d346e=0x0;_0x4d346e<_0x8a4dce['path']['length'];++_0x4d346e)_0x5be472['uint32'](_0x8a4dce['path'][_0x4d346e]);_0x5be472['ldelim']();}return null!=_0x8a4dce['stickiness']&&Object['hasOwnProperty']['call'](_0x8a4dce,'stickiness')&&_0x5be472['uint32'](0x2a)['string'](_0x8a4dce['stickiness']),_0x5be472;},_0xca53eb['encodeDelimited']=function(_0x123b8e,_0x463884){return this['encode'](_0x123b8e,_0x463884)['ldelim']();},_0xca53eb['decode']=function(_0x428f39,_0x37fa9a){_0x428f39 instanceof _0xd73606||(_0x428f39=_0xd73606['create'](_0x428f39));for(var _0x343ac8=void 0x0===_0x37fa9a?_0x428f39['len']:_0x428f39['pos']+_0x37fa9a,_0x1ae27d=new _0x12230d['Position']();_0x428f39['pos']<_0x343ac8;){var _0x3c62e6=_0x428f39['uint32']();switch(_0x3c62e6>>>0x3){case 0x1:_0x1ae27d['root']=_0x428f39['string']();break;case 0x2:_0x1ae27d['rootMain']=_0x428f39['bool']();break;case 0x3:_0x1ae27d['rootGraveyard']=_0x428f39['bool']();break;case 0x4:if(_0x1ae27d['path']&&_0x1ae27d['path']['length']||(_0x1ae27d['path']=[]),0x2==(0x7&_0x3c62e6)){for(var _0xb12af7=_0x428f39['uint32']()+_0x428f39['pos'];_0x428f39['pos']<_0xb12af7;)_0x1ae27d['path']['push'](_0x428f39['uint32']());}else _0x1ae27d['path']['push'](_0x428f39['uint32']());break;case 0x5:_0x1ae27d['stickiness']=_0x428f39['string']();break;default:_0x428f39['skipType'](0x7&_0x3c62e6);}}return _0x1ae27d;},_0xca53eb['decodeDelimited']=function(_0x32cbc0){return _0x32cbc0 instanceof _0xd73606||(_0x32cbc0=new _0xd73606(_0x32cbc0)),this['decode'](_0x32cbc0,_0x32cbc0['uint32']());},_0xca53eb['verify']=function(_0x447058){if('object'!=typeof _0x447058||null===_0x447058)return'object\x20expected';if(null!=_0x447058['root']&&_0x447058['hasOwnProperty']('root')&&!_0x4c110e['isString'](_0x447058['root']))return'root:\x20string\x20expected';if(null!=_0x447058['rootMain']&&_0x447058['hasOwnProperty']('rootMain')&&'boolean'!=typeof _0x447058['rootMain'])return'rootMain:\x20boolean\x20expected';if(null!=_0x447058['rootGraveyard']&&_0x447058['hasOwnProperty']('rootGraveyard')&&'boolean'!=typeof _0x447058['rootGraveyard'])return'rootGraveyard:\x20boolean\x20expected';if(null!=_0x447058['path']&&_0x447058['hasOwnProperty']('path')){if(!Array['isArray'](_0x447058['path']))return'path:\x20array\x20expected';for(var _0x338483=0x0;_0x338483<_0x447058['path']['length'];++_0x338483)if(!_0x4c110e['isInteger'](_0x447058['path'][_0x338483]))return'path:\x20integer[]\x20expected';}return null!=_0x447058['stickiness']&&_0x447058['hasOwnProperty']('stickiness')&&!_0x4c110e['isString'](_0x447058['stickiness'])?'stickiness:\x20string\x20expected':null;},_0xca53eb['fromObject']=function(_0x1b07ba){if(_0x1b07ba instanceof _0x12230d['Position'])return _0x1b07ba;var _0x43165e=new _0x12230d['Position']();if(null!=_0x1b07ba['root']&&(_0x43165e['root']=String(_0x1b07ba['root'])),null!=_0x1b07ba['rootMain']&&(_0x43165e['rootMain']=Boolean(_0x1b07ba['rootMain'])),null!=_0x1b07ba['rootGraveyard']&&(_0x43165e['rootGraveyard']=Boolean(_0x1b07ba['rootGraveyard'])),_0x1b07ba['path']){if(!Array['isArray'](_0x1b07ba['path']))throw TypeError('.Position.path:\x20array\x20expected');_0x43165e['path']=[];for(var _0x1716a7=0x0;_0x1716a7<_0x1b07ba['path']['length'];++_0x1716a7)_0x43165e['path'][_0x1716a7]=_0x1b07ba['path'][_0x1716a7]>>>0x0;}return null!=_0x1b07ba['stickiness']&&(_0x43165e['stickiness']=String(_0x1b07ba['stickiness'])),_0x43165e;},_0xca53eb['toObject']=function(_0x35262d,_0xc3bf29){_0xc3bf29||(_0xc3bf29={});var _0xfb11f={};if((_0xc3bf29['arrays']||_0xc3bf29['defaults'])&&(_0xfb11f['path']=[]),_0xc3bf29['defaults']&&(_0xfb11f['root']='',_0xfb11f['rootMain']=!0x1,_0xfb11f['rootGraveyard']=!0x1,_0xfb11f['stickiness']=''),null!=_0x35262d['root']&&_0x35262d['hasOwnProperty']('root')&&(_0xfb11f['root']=_0x35262d['root']),null!=_0x35262d['rootMain']&&_0x35262d['hasOwnProperty']('rootMain')&&(_0xfb11f['rootMain']=_0x35262d['rootMain']),null!=_0x35262d['rootGraveyard']&&_0x35262d['hasOwnProperty']('rootGraveyard')&&(_0xfb11f['rootGraveyard']=_0x35262d['rootGraveyard']),_0x35262d['path']&&_0x35262d['path']['length']){_0xfb11f['path']=[];for(var _0x1ac929=0x0;_0x1ac929<_0x35262d['path']['length'];++_0x1ac929)_0xfb11f['path'][_0x1ac929]=_0x35262d['path'][_0x1ac929];}return null!=_0x35262d['stickiness']&&_0x35262d['hasOwnProperty']('stickiness')&&(_0xfb11f['stickiness']=_0x35262d['stickiness']),_0xfb11f;},_0xca53eb['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xca53eb['getTypeUrl']=function(_0x3f6a4e){return void 0x0===_0x3f6a4e&&(_0x3f6a4e='type.googleapis.com'),_0x3f6a4e+'/Position';},_0xca53eb;}()),_0x12230d['Range']=(function(){function _0x59e16e(_0x790a08){if(_0x790a08){for(var _0x46856e=Object['keys'](_0x790a08),_0x122236=0x0;_0x122236<_0x46856e['length'];++_0x122236)null!=_0x790a08[_0x46856e[_0x122236]]&&(this[_0x46856e[_0x122236]]=_0x790a08[_0x46856e[_0x122236]]);}}return _0x59e16e['prototype']['start']=null,_0x59e16e['prototype']['end']=null,_0x59e16e['create']=function(_0x11e0d4){return new _0x59e16e(_0x11e0d4);},_0x59e16e['encode']=function(_0x237500,_0x14d723){return _0x14d723||(_0x14d723=_0x445a92['create']()),null!=_0x237500['start']&&Object['hasOwnProperty']['call'](_0x237500,'start')&&_0x12230d['Position']['encode'](_0x237500['start'],_0x14d723['uint32'](0xa)['fork']())['ldelim'](),null!=_0x237500['end']&&Object['hasOwnProperty']['call'](_0x237500,'end')&&_0x12230d['Position']['encode'](_0x237500['end'],_0x14d723['uint32'](0x12)['fork']())['ldelim'](),_0x14d723;},_0x59e16e['encodeDelimited']=function(_0x4f0327,_0x3a4fa8){return this['encode'](_0x4f0327,_0x3a4fa8)['ldelim']();},_0x59e16e['decode']=function(_0x1127a1,_0xab0261){_0x1127a1 instanceof _0xd73606||(_0x1127a1=_0xd73606['create'](_0x1127a1));for(var _0x87bd1d=void 0x0===_0xab0261?_0x1127a1['len']:_0x1127a1['pos']+_0xab0261,_0x140ac9=new _0x12230d['Range']();_0x1127a1['pos']<_0x87bd1d;){var _0x2ffda4=_0x1127a1['uint32']();switch(_0x2ffda4>>>0x3){case 0x1:_0x140ac9['start']=_0x12230d['Position']['decode'](_0x1127a1,_0x1127a1['uint32']());break;case 0x2:_0x140ac9['end']=_0x12230d['Position']['decode'](_0x1127a1,_0x1127a1['uint32']());break;default:_0x1127a1['skipType'](0x7&_0x2ffda4);}}return _0x140ac9;},_0x59e16e['decodeDelimited']=function(_0xb0b5c9){return _0xb0b5c9 instanceof _0xd73606||(_0xb0b5c9=new _0xd73606(_0xb0b5c9)),this['decode'](_0xb0b5c9,_0xb0b5c9['uint32']());},_0x59e16e['verify']=function(_0x1331f1){if('object'!=typeof _0x1331f1||null===_0x1331f1)return'object\x20expected';var _0x4ed654;if(null!=_0x1331f1['start']&&_0x1331f1['hasOwnProperty']('start')&&(_0x4ed654=_0x12230d['Position']['verify'](_0x1331f1['start'])))return'start.'+_0x4ed654;if(null!=_0x1331f1['end']&&_0x1331f1['hasOwnProperty']('end')&&(_0x4ed654=_0x12230d['Position']['verify'](_0x1331f1['end'])))return'end.'+_0x4ed654;return null;},_0x59e16e['fromObject']=function(_0x14102a){if(_0x14102a instanceof _0x12230d['Range'])return _0x14102a;var _0xb29905=new _0x12230d['Range']();if(null!=_0x14102a['start']){if('object'!=typeof _0x14102a['start'])throw TypeError('.Range.start:\x20object\x20expected');_0xb29905['start']=_0x12230d['Position']['fromObject'](_0x14102a['start']);}if(null!=_0x14102a['end']){if('object'!=typeof _0x14102a['end'])throw TypeError('.Range.end:\x20object\x20expected');_0xb29905['end']=_0x12230d['Position']['fromObject'](_0x14102a['end']);}return _0xb29905;},_0x59e16e['toObject']=function(_0x1d7c88,_0x3814b1){_0x3814b1||(_0x3814b1={});var _0x428046={};return _0x3814b1['defaults']&&(_0x428046['start']=null,_0x428046['end']=null),null!=_0x1d7c88['start']&&_0x1d7c88['hasOwnProperty']('start')&&(_0x428046['start']=_0x12230d['Position']['toObject'](_0x1d7c88['start'],_0x3814b1)),null!=_0x1d7c88['end']&&_0x1d7c88['hasOwnProperty']('end')&&(_0x428046['end']=_0x12230d['Position']['toObject'](_0x1d7c88['end'],_0x3814b1)),_0x428046;},_0x59e16e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x59e16e['getTypeUrl']=function(_0xf5287b){return void 0x0===_0xf5287b&&(_0xf5287b='type.googleapis.com'),_0xf5287b+'/Range';},_0x59e16e;}()),_0x12230d['Element']=(function(){function _0x1021f9(_0x46454a){if(this['children']=[],this['attributesBoolean']={},_0x46454a){for(var _0x165478=Object['keys'](_0x46454a),_0x379d6e=0x0;_0x379d6e<_0x165478['length'];++_0x379d6e)null!=_0x46454a[_0x165478[_0x379d6e]]&&(this[_0x165478[_0x379d6e]]=_0x46454a[_0x165478[_0x379d6e]]);}}return _0x1021f9['prototype']['name']='',_0x1021f9['prototype']['children']=_0x4c110e['emptyArray'],_0x1021f9['prototype']['data']='',_0x1021f9['prototype']['attributesBoolean']=_0x4c110e['emptyObject'],_0x1021f9['prototype']['attributesJson']='',_0x1021f9['create']=function(_0x2f29b9){return new _0x1021f9(_0x2f29b9);},_0x1021f9['encode']=function(_0x37b1e1,_0x28adcc){if(_0x28adcc||(_0x28adcc=_0x445a92['create']()),null!=_0x37b1e1['name']&&Object['hasOwnProperty']['call'](_0x37b1e1,'name')&&_0x28adcc['uint32'](0xa)['string'](_0x37b1e1['name']),null!=_0x37b1e1['children']&&_0x37b1e1['children']['length']){for(var _0x3e80d8=0x0;_0x3e80d8<_0x37b1e1['children']['length'];++_0x3e80d8)_0x12230d['Element']['encode'](_0x37b1e1['children'][_0x3e80d8],_0x28adcc['uint32'](0x12)['fork']())['ldelim']();}if(null!=_0x37b1e1['data']&&Object['hasOwnProperty']['call'](_0x37b1e1,'data')&&_0x28adcc['uint32'](0x1a)['string'](_0x37b1e1['data']),null!=_0x37b1e1['attributesBoolean']&&Object['hasOwnProperty']['call'](_0x37b1e1,'attributesBoolean')){var _0x5b50db=Object['keys'](_0x37b1e1['attributesBoolean']);for(_0x3e80d8=0x0;_0x3e80d8<_0x5b50db['length'];++_0x3e80d8)_0x28adcc['uint32'](0x22)['fork']()['uint32'](0xa)['string'](_0x5b50db[_0x3e80d8])['uint32'](0x10)['bool'](_0x37b1e1['attributesBoolean'][_0x5b50db[_0x3e80d8]])['ldelim']();}return null!=_0x37b1e1['attributesJson']&&Object['hasOwnProperty']['call'](_0x37b1e1,'attributesJson')&&_0x28adcc['uint32'](0x2a)['string'](_0x37b1e1['attributesJson']),_0x28adcc;},_0x1021f9['encodeDelimited']=function(_0x22dc19,_0x5ec00c){return this['encode'](_0x22dc19,_0x5ec00c)['ldelim']();},_0x1021f9['decode']=function(_0x132e97,_0xb8cd1e){_0x132e97 instanceof _0xd73606||(_0x132e97=_0xd73606['create'](_0x132e97));for(var _0x26de03,_0x10e4f5,_0x4a08eb=void 0x0===_0xb8cd1e?_0x132e97['len']:_0x132e97['pos']+_0xb8cd1e,_0x59de8c=new _0x12230d['Element']();_0x132e97['pos']<_0x4a08eb;){var _0x1d0465=_0x132e97['uint32']();switch(_0x1d0465>>>0x3){case 0x1:_0x59de8c['name']=_0x132e97['string']();break;case 0x2:_0x59de8c['children']&&_0x59de8c['children']['length']||(_0x59de8c['children']=[]),_0x59de8c['children']['push'](_0x12230d['Element']['decode'](_0x132e97,_0x132e97['uint32']()));break;case 0x3:_0x59de8c['data']=_0x132e97['string']();break;case 0x4:_0x59de8c['attributesBoolean']===_0x4c110e['emptyObject']&&(_0x59de8c['attributesBoolean']={});var _0x522d84=_0x132e97['uint32']()+_0x132e97['pos'];for(_0x26de03='',_0x10e4f5=!0x1;_0x132e97['pos']<_0x522d84;){var _0x417f6b=_0x132e97['uint32']();switch(_0x417f6b>>>0x3){case 0x1:_0x26de03=_0x132e97['string']();break;case 0x2:_0x10e4f5=_0x132e97['bool']();break;default:_0x132e97['skipType'](0x7&_0x417f6b);}}_0x59de8c['attributesBoolean'][_0x26de03]=_0x10e4f5;break;case 0x5:_0x59de8c['attributesJson']=_0x132e97['string']();break;default:_0x132e97['skipType'](0x7&_0x1d0465);}}return _0x59de8c;},_0x1021f9['decodeDelimited']=function(_0x103800){return _0x103800 instanceof _0xd73606||(_0x103800=new _0xd73606(_0x103800)),this['decode'](_0x103800,_0x103800['uint32']());},_0x1021f9['verify']=function(_0x2b64bd){if('object'!=typeof _0x2b64bd||null===_0x2b64bd)return'object\x20expected';if(null!=_0x2b64bd['name']&&_0x2b64bd['hasOwnProperty']('name')&&!_0x4c110e['isString'](_0x2b64bd['name']))return'name:\x20string\x20expected';if(null!=_0x2b64bd['children']&&_0x2b64bd['hasOwnProperty']('children')){if(!Array['isArray'](_0x2b64bd['children']))return'children:\x20array\x20expected';for(var _0x3e28f0=0x0;_0x3e28f0<_0x2b64bd['children']['length'];++_0x3e28f0){var _0x52296d=_0x12230d['Element']['verify'](_0x2b64bd['children'][_0x3e28f0]);if(_0x52296d)return'children.'+_0x52296d;}}if(null!=_0x2b64bd['data']&&_0x2b64bd['hasOwnProperty']('data')&&!_0x4c110e['isString'](_0x2b64bd['data']))return'data:\x20string\x20expected';if(null!=_0x2b64bd['attributesBoolean']&&_0x2b64bd['hasOwnProperty']('attributesBoolean')){if(!_0x4c110e['isObject'](_0x2b64bd['attributesBoolean']))return'attributesBoolean:\x20object\x20expected';var _0x21de68=Object['keys'](_0x2b64bd['attributesBoolean']);for(_0x3e28f0=0x0;_0x3e28f0<_0x21de68['length'];++_0x3e28f0)if('boolean'!=typeof _0x2b64bd['attributesBoolean'][_0x21de68[_0x3e28f0]])return'attributesBoolean:\x20boolean{k:string}\x20expected';}return null!=_0x2b64bd['attributesJson']&&_0x2b64bd['hasOwnProperty']('attributesJson')&&!_0x4c110e['isString'](_0x2b64bd['attributesJson'])?'attributesJson:\x20string\x20expected':null;},_0x1021f9['fromObject']=function(_0xa88f62){if(_0xa88f62 instanceof _0x12230d['Element'])return _0xa88f62;var _0x3fa313=new _0x12230d['Element']();if(null!=_0xa88f62['name']&&(_0x3fa313['name']=String(_0xa88f62['name'])),_0xa88f62['children']){if(!Array['isArray'](_0xa88f62['children']))throw TypeError('.Element.children:\x20array\x20expected');_0x3fa313['children']=[];for(var _0x20b7cc=0x0;_0x20b7cc<_0xa88f62['children']['length'];++_0x20b7cc){if('object'!=typeof _0xa88f62['children'][_0x20b7cc])throw TypeError('.Element.children:\x20object\x20expected');_0x3fa313['children'][_0x20b7cc]=_0x12230d['Element']['fromObject'](_0xa88f62['children'][_0x20b7cc]);}}if(null!=_0xa88f62['data']&&(_0x3fa313['data']=String(_0xa88f62['data'])),_0xa88f62['attributesBoolean']){if('object'!=typeof _0xa88f62['attributesBoolean'])throw TypeError('.Element.attributesBoolean:\x20object\x20expected');_0x3fa313['attributesBoolean']={};var _0x2736d3=Object['keys'](_0xa88f62['attributesBoolean']);for(_0x20b7cc=0x0;_0x20b7cc<_0x2736d3['length'];++_0x20b7cc)_0x3fa313['attributesBoolean'][_0x2736d3[_0x20b7cc]]=Boolean(_0xa88f62['attributesBoolean'][_0x2736d3[_0x20b7cc]]);}return null!=_0xa88f62['attributesJson']&&(_0x3fa313['attributesJson']=String(_0xa88f62['attributesJson'])),_0x3fa313;},_0x1021f9['toObject']=function(_0x2f95bf,_0x30dd8b){_0x30dd8b||(_0x30dd8b={});var _0x531143,_0x6e3135={};if((_0x30dd8b['arrays']||_0x30dd8b['defaults'])&&(_0x6e3135['children']=[]),(_0x30dd8b['objects']||_0x30dd8b['defaults'])&&(_0x6e3135['attributesBoolean']={}),_0x30dd8b['defaults']&&(_0x6e3135['name']='',_0x6e3135['data']='',_0x6e3135['attributesJson']=''),null!=_0x2f95bf['name']&&_0x2f95bf['hasOwnProperty']('name')&&(_0x6e3135['name']=_0x2f95bf['name']),_0x2f95bf['children']&&_0x2f95bf['children']['length']){_0x6e3135['children']=[];for(var _0x138452=0x0;_0x138452<_0x2f95bf['children']['length'];++_0x138452)_0x6e3135['children'][_0x138452]=_0x12230d['Element']['toObject'](_0x2f95bf['children'][_0x138452],_0x30dd8b);}if(null!=_0x2f95bf['data']&&_0x2f95bf['hasOwnProperty']('data')&&(_0x6e3135['data']=_0x2f95bf['data']),_0x2f95bf['attributesBoolean']&&(_0x531143=Object['keys'](_0x2f95bf['attributesBoolean']))['length']){_0x6e3135['attributesBoolean']={};for(_0x138452=0x0;_0x138452<_0x531143['length'];++_0x138452)_0x6e3135['attributesBoolean'][_0x531143[_0x138452]]=_0x2f95bf['attributesBoolean'][_0x531143[_0x138452]];}return null!=_0x2f95bf['attributesJson']&&_0x2f95bf['hasOwnProperty']('attributesJson')&&(_0x6e3135['attributesJson']=_0x2f95bf['attributesJson']),_0x6e3135;},_0x1021f9['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1021f9['getTypeUrl']=function(_0x4b97f8){return void 0x0===_0x4b97f8&&(_0x4b97f8='type.googleapis.com'),_0x4b97f8+'/Element';},_0x1021f9;}()),_0x12230d;})());class ProtobufFactory{['_protobufRoot'];constructor(){this['_protobufRoot']=_0x562647;}['getDescriptor'](_0x3b030b){return new ProtobufDescriptor(this['_protobufRoot'][_0x3b030b]);}}class ProtobufDescriptor{['_protobuf'];constructor(_0x50bca2){this['_protobuf']=_0x50bca2;}['compress'](_0x25bf69){const _0x32a1ab=this['_protobuf']['verify'](_0x25bf69);if(_0x32a1ab)throw Error(_0x32a1ab);return this['_protobuf']['encode'](this['_protobuf']['create'](_0x25bf69))['finish']();}['decompress'](_0x2e3376){return this['_protobuf']['toObject'](this['_protobuf']['decode'](_0x2e3376),{'oneofs':!0x0});}}function getPositionShiftedBy(_0x4d08f3,_0x465e80){const _0x2a61a7=_0x402449(_0x4d08f3);return _0x2a61a7['path'][_0x2a61a7['path']['length']-0x1]+=_0x465e80,_0x2a61a7;}function arePositionsEqual(_0x235ee7,_0x2c8280){return _0x235ee7['root']===_0x2c8280['root']&&_0x295436(_0x235ee7['path'],_0x2c8280['path']);}function parsePositionBeforeCompression(_0x242e0a){_mapPositions(_0x242e0a,_0x555c07=>('main'==_0x555c07['root']?(_0x555c07['rootMain']=!0x0,delete _0x555c07['root']):'$graveyard'==_0x555c07['root']&&(_0x555c07['rootGraveyard']=!0x0,delete _0x555c07['root']),_0x555c07));}function parsePositionAfterCompression(_0x7f39e9){_mapPositions(_0x7f39e9,_0x45709f=>(_0x45709f['rootMain']?(_0x45709f['root']='main',delete _0x45709f['rootMain']):_0x45709f['rootGraveyard']&&(_0x45709f['root']='$graveyard',delete _0x45709f['rootGraveyard']),_0x45709f));}function _mapPositions(_0x2af526,_0x5606ce){for(const _0x238b82 in _0x2af526){const _0x1173a4=_0x2af526[_0x238b82];'nodes'!==_0x238b82&&isObject$3(_0x1173a4)&&(_0x1173a4['path']&&(_0x1173a4['root']||_0x1173a4['rootMain']||_0x1173a4['rootGraveyard'])?_0x2af526[_0x238b82]=_0x5606ce(_0x1173a4):_mapPositions(_0x1173a4,_0x5606ce));}return _0x2af526;}class OperationCompressor{['_id'];['_operationName'];['_protobufDescriptor'];constructor(_0x2a2888,_0x4eef60,_0x3cb70b){this['_id']=_0x2a2888,this['_operationName']=_0x4eef60,this['_protobufDescriptor']=_0x3cb70b;}['compress'](_0x45bf98,_0x91766f){const _0x587d54=_0x91766f['operations'][_0x91766f['index']++];return parsePositionBeforeCompression(_0x587d54),_0x45bf98['buffers']['push'](this['_protobufDescriptor']['compress'](_0x587d54)),_0x45bf98['types']['push'](this['_id']),!0x0;}['decompress'](_0x3b6a0d,_0x1db130){_0x1db130['typeIndex']++;const _0x184fc1=_0x1db130['buffers'][_0x1db130['bufferIndex']++],_0x137761=this['_protobufDescriptor']['decompress'](_0x184fc1);parsePositionAfterCompression(_0x137761),_0x137761['__className']=this['_operationName'],_0x3b6a0d['push'](_0x137761);}}class AttributeOperationCompressor extends OperationCompressor{['compress'](_0x98aa21,_0x4a33ff){const _0x3e8a60=_0x4a33ff['operations'][_0x4a33ff['index']++];return this['_serializeOneOf']('oldValue',_0x3e8a60),this['_serializeOneOf']('newValue',_0x3e8a60),parsePositionBeforeCompression(_0x3e8a60),_0x98aa21['buffers']['push'](this['_protobufDescriptor']['compress'](_0x3e8a60)),_0x98aa21['types']['push'](this['_id']),!0x0;}['decompress'](_0x1e9498,_0x456ac1){_0x456ac1['typeIndex']++;const _0x5902f2=_0x456ac1['buffers'][_0x456ac1['bufferIndex']++],_0x4505e7=this['_protobufDescriptor']['decompress'](_0x5902f2);this['_deserializeOneOf']('oldValue',_0x4505e7),this['_deserializeOneOf']('newValue',_0x4505e7),parsePositionAfterCompression(_0x4505e7),_0x4505e7['__className']=this['_operationName'],_0x1e9498['push'](_0x4505e7);}['_serializeOneOf'](_0x50d5f1,_0x4fde20){const _0x19416c=_0x4fde20[_0x50d5f1];'boolean'==typeof _0x19416c?_0x4fde20[_0x50d5f1+'Boolean']=_0x19416c:_0x4fde20[_0x50d5f1+'Json']=JSON['stringify'](_0x19416c);}['_deserializeOneOf'](_0x20ba11,_0x339f10){const _0x1d3db4=_0x20ba11+'Json';_0x339f10[_0x1d3db4]?(_0x339f10[_0x20ba11]=JSON['parse'](_0x339f10[_0x1d3db4]),delete _0x339f10[_0x1d3db4]):(_0x339f10[_0x20ba11]=_0x339f10[_0x20ba11+'Boolean'],delete _0x339f10[_0x20ba11+'Boolean']);}}class InsertOperationCompressor extends OperationCompressor{['compress'](_0x41f641,_0x36d706){const _0xd09fbc=_0x36d706['operations'][_0x36d706['index']++];return this['_serializeNodesAttributes'](_0xd09fbc['nodes']),parsePositionBeforeCompression(_0xd09fbc),_0x41f641['buffers']['push'](this['_protobufDescriptor']['compress'](_0xd09fbc)),_0x41f641['types']['push'](this['_id']),!0x0;}['decompress'](_0x5ab89b,_0x34bb5a){_0x34bb5a['typeIndex']++;const _0x426fa2=_0x34bb5a['buffers'][_0x34bb5a['bufferIndex']++],_0x1c0f83=this['_protobufDescriptor']['decompress'](_0x426fa2);_0x1c0f83['nodes']||(_0x1c0f83['nodes']=[]),this['_deserializeNodesAttributes'](_0x1c0f83['nodes']),parsePositionAfterCompression(_0x1c0f83),_0x1c0f83['__className']=this['_operationName'],_0x5ab89b['push'](_0x1c0f83);}['_serializeNodesAttributes'](_0x3d75f1){for(const _0x483a4e of _0x3d75f1){if(_0x483a4e['attributes']){const _0x42d82c=_0x483a4e['attributes'];this['_areValuesBoolean'](_0x42d82c)?_0x483a4e['attributesBoolean']=_0x42d82c:_0x483a4e['attributesJson']=JSON['stringify'](_0x42d82c);}_0x483a4e['children']&&this['_serializeNodesAttributes'](_0x483a4e['children']);}}['_deserializeNodesAttributes'](_0xc8e0a0){for(const _0xf973dc of _0xc8e0a0)(_0xf973dc['attributesBoolean']||_0xf973dc['attributesJson'])&&(_0xf973dc['attributesBoolean']?(_0xf973dc['attributes']=_0xf973dc['attributesBoolean'],delete _0xf973dc['attributesBoolean']):(_0xf973dc['attributes']=JSON['parse'](_0xf973dc['attributesJson']),delete _0xf973dc['attributesJson'])),_0xf973dc['children']&&this['_deserializeNodesAttributes'](_0xf973dc['children']);}['_areValuesBoolean'](_0xa80bf0){return Object['keys'](_0xa80bf0)['every'](_0x1ae141=>'boolean'==typeof _0xa80bf0[_0x1ae141]);}}class MarkerOperationCompressor extends OperationCompressor{['decompress'](_0x1de30f,_0x13a5e4){super['decompress'](_0x1de30f,_0x13a5e4);const _0x340a2f=_0x1de30f[_0x1de30f['length']-0x1];_0x340a2f['oldRange']||(_0x340a2f['oldRange']=null),_0x340a2f['newRange']||(_0x340a2f['newRange']=null);}}class NoOperationCompressor extends OperationCompressor{['compress'](_0x8da1f0,_0x1445cb){return _0x1445cb['index']++,_0x8da1f0['types']['push'](this['_id']),!0x0;}['decompress'](_0x422c83,_0x547032){_0x547032['typeIndex']++,_0x422c83['push']({'__className':this['_operationName']});}}class AnnotationMarkerOperationCompressor extends MarkerOperationCompressor{['_omittedNamespace'];constructor(_0xfe4e24,_0x4ab4f7,_0x2b9ade,_0x14cda9){super(_0xfe4e24,_0x4ab4f7,_0x2b9ade),this['_omittedNamespace']=_0x14cda9+':';}['compress'](_0x42a509,_0x57d952){const _0x1fa773=_0x57d952['operations'][_0x57d952['index']];return!('MarkerOperation'!=_0x1fa773['__className']||!_0x1fa773['name']['startsWith'](this['_omittedNamespace']))&&(_0x1fa773['name']=_0x1fa773['name']['replace'](new RegExp('^'+this['_omittedNamespace']),''),super['compress'](_0x42a509,_0x57d952),!0x0);}['decompress'](_0x409084,_0x191ad1){super['decompress'](_0x409084,_0x191ad1);const _0x15190e=_0x409084[_0x409084['length']-0x1];_0x15190e['name']=this['_omittedNamespace']+_0x15190e['name'];}}class ActionCompressor{['_id'];['_context'];constructor(_0x13070e,_0x40cc1e){this['_id']=_0x13070e,this['_context']=_0x40cc1e;}['compress'](_0x30f8bd,_0x507e9f){let _0x326129,_0x5411f6=_0x507e9f['operations'][_0x507e9f['index']],_0x1168d9=_0x507e9f['operations'][_0x507e9f['index']+0x1];for(;_0x1168d9&&this['_compareOperations'](_0x5411f6,_0x1168d9);)_0x326129?(_0x326129=this['_combineNext'](_0x5411f6,_0x326129),_0x30f8bd['types']['push'](0x0)):(_0x326129=_0x402449(_0x5411f6),_0x30f8bd['types']['push'](this['_id'])),_0x507e9f['index']++,_0x5411f6=_0x507e9f['operations'][_0x507e9f['index']],_0x1168d9=_0x507e9f['operations'][_0x507e9f['index']+0x1];return!!_0x326129&&(_0x326129=this['_combineNext'](_0x507e9f['operations'][_0x507e9f['index']++],_0x326129),_0x30f8bd['types']['push'](0x0),_0x30f8bd['buffers']['push'](this['_compressSingleOperation'](_0x326129)),!0x0);}['decompress'](_0x57f7c6,_0x5e7106){const _0x117185=this['_decompressSingleOperation'](_0x5e7106);for(;0x0==_0x5e7106['types'][_0x5e7106['typeIndex']];)_0x5e7106['typeIndex']++,_0x57f7c6['push'](this['_splitCurrent'](_0x117185));_0x57f7c6['push'](_0x117185);}}class TypingActionCompressor extends ActionCompressor{['_combineNext'](_0x165fb7,_0x2a2611){return _0x2a2611['nodes'][0x0]['data']+=_0x165fb7['nodes'][0x0]['data'],_0x2a2611;}['_splitCurrent'](_0x12ac84){const _0x5449b9=_0x402449(_0x12ac84),_0x117ff9=_0x5449b9['nodes'][0x0],_0x17807d=_0x12ac84['nodes'][0x0],_0xd50228=_0x17807d['data'][Symbol['iterator']]()['next']()['value'],_0x4c4da8=_0xd50228['length'];return _0x117ff9['data']=_0xd50228,_0x17807d['data']=_0x17807d['data']['substr'](_0x4c4da8),_0x12ac84['position']=getPositionShiftedBy(_0x12ac84['position'],_0x4c4da8),_0x5449b9;}['_compareOperations'](_0x5a3a9f,_0x136424){if(this['_checkOperation'](_0x5a3a9f)&&this['_checkOperation'](_0x136424)){const _0x1af85d=_0x5a3a9f['nodes'][0x0]['data']['length'],_0x5f2e44=arePositionsEqual(getPositionShiftedBy(_0x5a3a9f['position'],_0x1af85d),_0x136424['position']),_0x42a102=_0x5a3a9f['nodes'][0x0],_0x13993e=_0x136424['nodes'][0x0];return _0x5f2e44&&this['_compareAttributes'](_0x42a102,_0x13993e);}return!0x1;}['_compressSingleOperation'](_0x29b97e){const _0x3fb081={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('InsertOperation')['compress'](_0x3fb081,{'operations':[_0x29b97e],'index':0x0}),_0x3fb081['buffers'][0x0];}['_decompressSingleOperation'](_0x554f0b){const _0x400a35=[];return this['_context']['_getCompressorByName']('InsertOperation')['decompress'](_0x400a35,_0x554f0b),_0x400a35[0x0];}['_checkOperation'](_0x239777){return'InsertOperation'==_0x239777['__className']&&0x1==_0x239777['nodes']['length']&&_0x239777['nodes'][0x0]['data']&&!_0x239777['wasUndone']&&0x1==Array['from'](_0x239777['nodes'][0x0]['data'])['length'];}['_compareAttributes'](_0x4f80d0,_0x1e781a){const _0x124c43=Object['keys'](_0x4f80d0['attributes']||{}),_0x193692=Object['keys'](_0x1e781a['attributes']||{});return _0x124c43['length']===_0x193692['length']&&_0x124c43['every'](_0x37a302=>_0x1e781a['attributes'][_0x37a302]&&_0x1e781a['attributes'][_0x37a302]===_0x4f80d0['attributes'][_0x37a302]);}}class DeletingActionCompressor extends ActionCompressor{['_combineNext'](_0x4ee17a,_0x327766){return _0x327766['howMany']++,_0x327766['sourcePosition']=_0x402449(_0x4ee17a['sourcePosition']),_0x327766;}['_splitCurrent'](_0x59f9c0){const _0x5e24af=_0x402449(_0x59f9c0);return _0x59f9c0['howMany']--,_0x5e24af['howMany']=0x1,_0x5e24af['sourcePosition']=getPositionShiftedBy(_0x5e24af['sourcePosition'],_0x59f9c0['howMany']),_0x5e24af;}['_compareOperations'](_0x2476b8,_0xeb5e9d){return!(!this['_checkOperation'](_0x2476b8)||!this['_checkOperation'](_0xeb5e9d))&&(arePositionsEqual(getPositionShiftedBy(_0x2476b8['sourcePosition'],-0x1),_0xeb5e9d['sourcePosition'])&&arePositionsEqual(_0x2476b8['targetPosition'],_0xeb5e9d['targetPosition']));}['_compressSingleOperation'](_0x2b4784){const _0xeb6093={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0xeb6093,{'operations':[_0x2b4784],'index':0x0}),_0xeb6093['buffers'][0x0];}['_decompressSingleOperation'](_0x330f99){const _0x4c29f4=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x4c29f4,_0x330f99),_0x4c29f4[0x0];}['_checkOperation'](_0x1d6b91){return'MoveOperation'==_0x1d6b91['__className']&&'$graveyard'==_0x1d6b91['targetPosition']['root']&&0x1==_0x1d6b91['howMany']&&!_0x1d6b91['wasUndone'];}}class ForwardDeletingActionCompressor extends ActionCompressor{['_combineNext'](_0x20a790,_0x1af724){return _0x1af724['howMany']++,_0x1af724;}['_splitCurrent'](_0x31cae2){const _0x5f485b=_0x402449(_0x31cae2);return _0x5f485b['howMany']=0x1,_0x31cae2['howMany']--,_0x5f485b;}['_compareOperations'](_0x231815,_0x41790d){return!(!this['_checkOperation'](_0x231815)||!this['_checkOperation'](_0x41790d))&&(arePositionsEqual(_0x231815['sourcePosition'],_0x41790d['sourcePosition'])&&arePositionsEqual(_0x231815['targetPosition'],_0x41790d['targetPosition']));}['_compressSingleOperation'](_0x3ccc13){const _0x1ea8ba={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x1ea8ba,{'operations':[_0x3ccc13],'index':0x0}),_0x1ea8ba['buffers'][0x0];}['_decompressSingleOperation'](_0x13eec0){const _0x7b1dfa=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x7b1dfa,_0x13eec0),_0x7b1dfa[0x0];}['_checkOperation'](_0x3d05fc){return'MoveOperation'==_0x3d05fc['__className']&&'$graveyard'==_0x3d05fc['targetPosition']['root']&&0x1==_0x3d05fc['howMany']&&!_0x3d05fc['wasUndone'];}}class UserSelectionActionCompressor extends ActionCompressor{['compress'](_0x868d7d,_0x3c3275){if(!this['_compareOperations'](_0x3c3275['operations'][_0x3c3275['index']],_0x3c3275['operations'][_0x3c3275['index']+0x1]))return!0x1;const _0x381e09=_0x3c3275['operations'][_0x3c3275['index']++];return _0x381e09['oldRange']=null,_0x381e09['newRange']&&arePositionsEqual(_0x381e09['newRange']['start'],_0x381e09['newRange']['end'])&&(_0x381e09['newRange']['end']=null),_0x3c3275['index']++,_0x868d7d['types']['push'](this['_id']),_0x868d7d['types']['push'](0x0),_0x868d7d['buffers']['push'](this['_compressSingleOperation'](_0x381e09)),!0x0;}['decompress'](_0x250672,_0xf5a121){const _0x4745e2=this['_decompressSingleOperation'](_0xf5a121);_0x4745e2['newRange']&&!_0x4745e2['newRange']['end']&&(_0x4745e2['newRange']['end']=_0x402449(_0x4745e2['newRange']['start']));const _0x280025=_0x402449(_0x4745e2);_0x280025['newRange']&&(_0x280025['newRange']['start']['stickiness']='toNone',_0x280025['newRange']['end']=_0x402449(_0x280025['newRange']['start'])),_0x280025['name']='user:position:'+_0x280025['name']['split'](':')[0x2],_0xf5a121['typeIndex']++,_0x250672['push'](_0x4745e2),_0x250672['push'](_0x280025);}['_compressSingleOperation'](_0x513fee){const _0x57f062={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MarkerOperation')['compress'](_0x57f062,{'operations':[_0x513fee],'index':0x0}),_0x57f062['buffers'][0x0];}['_decompressSingleOperation'](_0x1e08bc){const _0x25404a=[];return this['_context']['_getCompressorByName']('MarkerOperation')['decompress'](_0x25404a,_0x1e08bc),_0x25404a[0x0];}['_compareOperations'](_0x258466,_0x1520f9){return!(!_0x258466||!_0x1520f9)&&('MarkerOperation'==_0x258466['__className']&&'MarkerOperation'==_0x1520f9['__className']&&!(!_0x258466['name']['startsWith']('user:')||!_0x1520f9['name']['startsWith']('user:')||_0x258466['name']==_0x1520f9['name']));}}class _0x3ee0de{['_compressorById'];['_compressorByName'];['_protobufFactory'];constructor(){this['_compressorById']=new Map(),this['_compressorByName']=new Map(),this['_protobufFactory']=new ProtobufFactory();const _0x58b19b=this['_protobufFactory']['getDescriptor']('MarkerOperation');this['_registerCompressor'](0x1,'NoOperation',new NoOperationCompressor(0x1,'NoOperation',void 0x0)),this['_registerOperationCompressor'](0xa,'AttributeOperation',AttributeOperationCompressor),this['_registerOperationCompressor'](0xb,'InsertOperation',InsertOperationCompressor),this['_registerOperationCompressor'](0xc,'MarkerOperation',MarkerOperationCompressor),this['_registerOperationCompressor'](0xd,'MergeOperation',OperationCompressor),this['_registerOperationCompressor'](0xe,'MoveOperation',OperationCompressor),this['_registerOperationCompressor'](0xf,'RenameOperation',OperationCompressor),this['_registerOperationCompressor'](0x10,'RootAttributeOperation',AttributeOperationCompressor),this['_registerOperationCompressor'](0x11,'SplitOperation',OperationCompressor),this['_registerCompressor'](0x12,'CommentMarkerOperation',new AnnotationMarkerOperationCompressor(0x12,'MarkerOperation',_0x58b19b,'comment')),this['_registerCompressor'](0x13,'SuggestionMarkerOperation',new AnnotationMarkerOperationCompressor(0x13,'MarkerOperation',_0x58b19b,'suggestion')),this['_registerOperationCompressor'](0x14,'RootOperation',OperationCompressor),this['_registerActionCompressor'](0x64,'TypingAction',TypingActionCompressor),this['_registerActionCompressor'](0x65,'DeletingAction',DeletingActionCompressor),this['_registerActionCompressor'](0x66,'ForwardDeletingAction',ForwardDeletingActionCompressor),this['_registerActionCompressor'](0x67,'UserSelectionAction',UserSelectionActionCompressor);}['compress'](_0x32c5d8){if(!_0x32c5d8||!_0x32c5d8[0x0])throw new ckeditor5['CKEditorError']('no-operations-provided',this);const _0x8e1c85={'operations':_0x32c5d8,'index':0x0},_0x3f1c27={'types':[],'buffers':[],'baseVersion':_0x32c5d8[0x0]['baseVersion']};for(;_0x8e1c85['index']<_0x8e1c85['operations']['length'];){if(this['_getCompressorByName']('UserSelectionAction')['compress'](_0x3f1c27,_0x8e1c85))continue;if(this['_getCompressorByName']('TypingAction')['compress'](_0x3f1c27,_0x8e1c85))continue;if(this['_getCompressorByName']('DeletingAction')['compress'](_0x3f1c27,_0x8e1c85))continue;if(this['_getCompressorByName']('ForwardDeletingAction')['compress'](_0x3f1c27,_0x8e1c85))continue;if(this['_getCompressorByName']('CommentMarkerOperation')['compress'](_0x3f1c27,_0x8e1c85))continue;if(this['_getCompressorByName']('SuggestionMarkerOperation')['compress'](_0x3f1c27,_0x8e1c85))continue;const _0x16e4a2=_0x8e1c85['operations'][_0x8e1c85['index']]['__className'];this['_getCompressorByName'](_0x16e4a2)['compress'](_0x3f1c27,_0x8e1c85);}return _0x3f1c27;}['decompress'](_0x464fc4){const _0x4261c6=[],_0x3d7f5d={'types':_0x464fc4['types'],'buffers':_0x464fc4['buffers'],'baseVersion':_0x464fc4['baseVersion'],'typeIndex':0x0,'bufferIndex':0x0};for(;_0x3d7f5d['typeIndex']<_0x3d7f5d['types']['length'];){const _0x311890=_0x3d7f5d['types'][_0x3d7f5d['typeIndex']],_0x25ffd8=this['_compressorById']['get'](_0x311890);if(!_0x25ffd8)throw new ckeditor5['CKEditorError']('decompress-compressor-not-found',this,{'type':_0x311890});_0x25ffd8['decompress'](_0x4261c6,_0x3d7f5d);}return _0x4261c6['forEach']((_0x3e007b,_0xe8389)=>_0x3e007b['baseVersion']=_0x464fc4['baseVersion']+_0xe8389),_0x4261c6;}['_getCompressorByName'](_0x269007){return this['_compressorByName']['get'](_0x269007);}['_registerOperationCompressor'](_0x5093c3,_0x2d83bc,_0x2da443){const _0xdc7c58=new _0x2da443(_0x5093c3,_0x2d83bc,this['_protobufFactory']['getDescriptor'](_0x2d83bc));this['_registerCompressor'](_0x5093c3,_0x2d83bc,_0xdc7c58);}['_registerActionCompressor'](_0x296e6f,_0x51f422,_0x3c482b){const _0x347bd3=new _0x3c482b(_0x296e6f,this);this['_registerCompressor'](_0x296e6f,_0x51f422,_0x347bd3);}['_registerCompressor'](_0x5b6b86,_0x12ef96,_0x1fdf28){this['_compressorById']['set'](_0x5b6b86,_0x1fdf28),this['_compressorByName']['set'](_0x12ef96,_0x1fdf28);}}let requestCount=0x1;class RealTimeCollaborationClient extends ckeditor5['Plugin']{static ['CollaborativeEditingService']=/* #__PURE__ -- @preserve */
((()=>CollaborativeEditingService)());['_offset'];['sessionId'];['serverHistory'];['_channelId'];['_service'];['_document'];['_compressor'];['_bufferedOperations'];['_knownOperations'];['_knownRootNames'];['_pendingAction'];['_hasSelectionChanged'];['_sendBufferedOperationsDelayId'];['_baseBufferDelay'];['_currentBufferDelay'];['_lastSyncedOperationId'];['_disconnectionOperations'];['_operationIdentifier'];static get['requires'](){return[WebSocketGateway,_0x5ba7c3,_0x327f6d,ckeditor5['PendingActions'],_0x17009e,ckeditor5['Notification']];}static get['pluginName'](){return'RealTimeCollaborationClient';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['cloudDocumentVersion'](){return this['_lastServerVersion']+this['_offset'];}get['_lastServerVersion'](){return this['serverHistory']['version']-this['_offset'];}get['lastSyncVersion'](){const _0x2284ed=this['serverHistory']['getOperations']();for(let _0x21ee05=_0x2284ed['length']-0x1;_0x21ee05>=0x0;_0x21ee05--){const _0x30cf23=_0x2284ed[_0x21ee05];if(!this['_disconnectionOperations']['has'](_0x30cf23))return _0x30cf23['baseVersion']+0x1-this['_offset'];}return 0x0;}constructor(_0x758946){if(super(_0x758946),this['_offset']=0x0,this['sessionId']=null,this['serverHistory']=new ckeditor5['History'](),this['editor']['config']['define']('collaboration',{}),this['_channelId']=this['editor']['config']['get']('collaboration.channelId'),!this['_channelId'])throw new ckeditor5['CKEditorError']('collaboration-missing-channelid',this);const _0x18816d=_0x758946['config']['get']('cloudServices.bundleVersion')||ckeditor5['version'];this['_service']=new RealTimeCollaborationClient['CollaborativeEditingService'](_0x18816d,this['_channelId']),this['_document']=this['editor']['model']['document'],this['_compressor']=new _0x3ee0de(),this['_bufferedOperations']=[],this['_knownOperations']=new WeakSet(),this['_knownRootNames']=new Set(),this['set']('_isPendingUpdate',!0x1),this['set']('_hasSynchronizationProblem',!0x1),this['_pendingAction']=null,this['_hasSelectionChanged']=!0x1,this['_sendBufferedOperationsDelayId']=null,this['_baseBufferDelay']=0x12c,this['_currentBufferDelay']=this['_baseBufferDelay'],this['_lastSyncedOperationId']=null,this['_disconnectionOperations']=new WeakSet(),this['_operationIdentifier']=new OperationIdentifier(this['_disconnectionOperations']);}['init'](){const _0x5d3897=this['editor'],_0x235b4f=_0x5d3897['plugins']['get'](_0x17009e),_0x488b0c=_0x5d3897['plugins']['get'](WebSocketGateway);this['listenTo'](_0x235b4f,'getOperationAuthor',(_0x4468d1,_0x2c0c43)=>{const _0xf091ea=_0x2c0c43[0x0];_0xf091ea['_authorId']&&(_0x4468d1['return']=_0x235b4f['getUser'](_0xf091ea['_authorId']),_0x4468d1['stop']()),null===_0xf091ea['_authorId']&&(_0x4468d1['return']=null,_0x4468d1['stop']());},{'priority':'high'}),this['listenTo'](_0x5d3897['model']['document']['selection'],'change:range',(_0x474e62,_0x4dd2ab)=>{_0x4dd2ab['directChange']&&this['_refreshUserSelectionMarkers']();}),this['listenTo'](_0x5d3897['editing']['view'],'change:hasDomSelection',()=>{this['_refreshUserSelectionMarkers']();}),this['_initThrowingOnDataSet'](),_0x5d3897['model']['on']('applyOperation',(_0x196c41,_0x3b02fd)=>{const _0x4aa216=_0x3b02fd[0x0];_0x4aa216['isDocumentOperation']&&(this['_saveOperationInBuffer'](_0x4aa216),this['_shouldSendUpdate']()&&this['_sendBufferedOperationsDelayed']());}),this['_setUpDataInit'](),this['bind']('_isEditingAllowed')['to'](_0x488b0c,'state',this,'_hasSynchronizationProblem',(_0x740712,_0x499a00)=>'connected'===_0x740712&&!_0x499a00),this['on']('change:_isEditingAllowed',()=>{this['_isEditingAllowed']?_0x5d3897['disableReadOnlyMode']('rtc-offline'):_0x5d3897['enableReadOnlyMode']('rtc-offline');}),this['_isEditingAllowed']?_0x5d3897['disableReadOnlyMode']('rtc-offline'):_0x5d3897['enableReadOnlyMode']('rtc-offline'),this['set']('_isConnected',!0x1);}async['reconnect'](){const _0x4dae63=this['editor']['plugins']['get'](_0x5ba7c3),_0x1361b0=this['editor']['plugins']['get'](WebSocketGateway);try{this['_isPendingUpdate']=!0x0,_0x4dae63['unregister'](this['_channelId']);const _0x17865d=await this['_service']['reconnect'](_0x1361b0['connection'],this['lastSyncVersion']);await this['_handleReconnectionResponse'](_0x17865d)&&(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());const _0x483405=await this['_service']['getConnectedSessions']();_0x4dae63['register'](this['_channelId'],_0x483405),this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}catch(_0xb91cbb){if(isSessionNotExistingError(_0xb91cbb)&&this['sessionId'])await this['_connectAfterSessionHasBeenFlushed']();else{if(isBaseVersionMismatchError(_0xb91cbb)){const _0x5379b6=getTranslation$6(this['editor']['locale'],'The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');this['_handleReconnectionError'](_0x5379b6);}else{if(!(_0xb91cbb instanceof ReconnectionError))throw _0xb91cbb;this['_handleReconnectionError']();}}}}['destroy'](){const _0x113ae6=this['editor']['plugins']['get'](WebSocketGateway),_0x311732=this['editor']['plugins']['get'](_0x5ba7c3);this['editor']['enableReadOnlyMode']('rtc-destroyed'),_0x311732['channelSessions']['has'](this['_channelId'])&&_0x311732['unregister'](this['_channelId']),_0x113ae6['removeFromReconnectionStack'](this),this['_disconnectService'](),super['destroy']();}async['_handleReconnectionResponse'](_0x3f3286){if(this['sessionId']!==_0x3f3286['sessionId']&&this['_lastSyncedOperationId']!==_0x3f3286['lastOperationId'])throw new ReconnectionError();return this['sessionId']=_0x3f3286['sessionId'],this['_handleServerResponse']([],{..._0x3f3286,'wereChangesApplied':!0x1,'data':_0x3f3286['data']},'reconnect');}async['_connectService'](_0x256251,_0x14bcef=!0x1){const {connection:_0x309cc5}=this['editor']['plugins']['get'](WebSocketGateway);RealTimeCollaborationClient['CollaborativeEditingService']['getConnectedSessions'](_0x309cc5,this['_channelId'])['then'](_0xeb6313=>this['_initSessionsHandling'](_0xeb6313))['catch'](_0x20af9d=>{this['_crash']('realtimecollaborationclient-init-session-connection-error',_0x20af9d);}),this['listenTo'](this['_service'],'operationsReceived',this['_handleReceivedOperations']['bind'](this)),this['listenTo'](this['_service'],'error',(_0x4817fb,_0x3e210d)=>{this['_crash']('realtimecollaborationclient-init-service-internal-error',_0x3e210d);}),this['listenTo'](this['_service'],'disconnected',()=>{this['_isConnected']=!0x1;});const _0x24684d=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x256251);this['_isPendingUpdate']=!0x0;const _0x1a911f=await this['_service']['connect'](_0x309cc5,this['_compressOperations'](_0x256251),_0x24684d);if(this['sessionId']=_0x1a911f['sessionId'],_0x14bcef){if(!_0x1a911f['wereChangesApplied'])return void this['_handleReconnectionError']();this['_isPendingUpdate']=!0x1,this['_clearPendingAction'](),this['serverHistory']['reset'](),this['_offset']=_0x1a911f['offset'],this['serverHistory']['version']=this['_offset'],await this['_handleServerResponse'](_0x256251,_0x1a911f,'reconnection:\x20flushed\x20session');}else await this['_handleInitialConnectionData'](_0x1a911f,_0x256251);this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}['_handleSendingSelectionMarkers'](){const _0x4d7c0f=this['editor']['plugins']['get'](_0x5ba7c3),_0x2c5fa4=this['editor']['plugins']['get'](_0x327f6d),_0x5ddddb=_0x4d7c0f['channelSessions']['get'](this['_channelId']);_0x5ddddb&&_0x5ddddb['length']>0x1?_0x2c5fa4['createUserMarkerOperations']():this['listenTo'](_0x4d7c0f,'sessionAdd:'+this['_channelId'],()=>{0x2===_0x4d7c0f['channelSessions']['get'](this['_channelId'])['length']&&_0x2c5fa4['createUserMarkerOperations']();});}async['_handleReceivedOperations'](_0x1b4b36,_0x4608db,_0x146b47,_0x202375){if(!this['_isPendingUpdate']&&this['_document']['version']==_0x4608db){const _0x23a38=this['_decompressOperations'](_0x146b47,_0x202375);await this['_fetchMissingUsers'](_0x23a38),this['_handleExternalOperations'](_0x23a38,_0x4608db,_0x146b47['lastOperationId'])||this['_crash']('realtimecollaborationclient-init-service-incorrect-server-operation');}}async['_connectAfterSessionHasBeenFlushed'](){this['_disconnectService']();const {locale:_0x251c49}=this['editor'];let _0x37d669;try{_0x37d669=await this['_service']['getDocumentDetails']();}catch{const _0x13980a=getTranslation$6(_0x251c49,'The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');return void this['_handleReconnectionError'](_0x13980a);}const _0x342865=_0x37d669['currentDocumentSession']||_0x37d669['lastDocumentSession'];if(this['_lastSyncedOperationId']!==_0x342865['lastOperationId']){const _0x52cd4d=getTranslation$6(_0x251c49,'The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');return void this['_handleReconnectionError'](_0x52cd4d);}await this['_connectService'](this['editor']['model']['document']['history']['getOperations'](),!0x0);}['_disconnectService'](){this['_service']['disconnect'](),this['_bufferedOperations']=[],clearTimeout(this['_sendBufferedOperationsDelayId']),this['stopListening'](this['_service']);}['_initSessionsHandling'](_0x577d32){const _0xca6675=this['editor']['plugins']['get'](_0x5ba7c3);this['listenTo'](_0xca6675,'sessionAdd:'+this['_channelId'],(_0x47cc23,{session:_0x437c2d})=>{if(_0x437c2d['id']===_0xca6675['mySessionId']){_0x47cc23['off']();const _0x4781b2=this['editor']['plugins']['has']('CommentsOnly')&&this['editor']['plugins']['get']('CommentsOnly');let _0x352006=_0x437c2d['permissions'];_0x4781b2&&_0x4781b2['isEnabled']&&(_0x352006=_0x352006['filter'](_0x34c420=>'document:write'!==_0x34c420)),this['editor']['plugins']['get']('Permissions')['setPermissions'](_0x352006,this['_channelId']);}}),_0xca6675['register'](this['_channelId'],_0x577d32);}['_initThrowingOnDataSet'](){const _0xf536a8=this['editor']['data']['set'];this['editor']['data']['set']=(..._0x166ee0)=>{if(!_0x166ee0[_0x166ee0['length']-0x1]['suppressErrorInCollaboration'])throw new ckeditor5['CKEditorError']('realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration',this);_0xf536a8['apply'](this['editor']['data'],_0x166ee0);};}['_setUpDataInit'](){this['editor']['data']['on']('init',(_0x2f1fe8,[_0x1681e5])=>{if(this['_document']['version'])throw new ckeditor5['CKEditorError']('realtimecollaborationclient-init-document-already-initialized',this);_0x2f1fe8['stop'](),this['_setPendingAction']();const _0x2d7cac=this['editor']['config']['get']('rootsAttributes'),_0x9c3faa=this['_getOperationsFromInitData'](_0x1681e5,_0x2d7cac);0x0==_0x9c3faa['length']&&_0x9c3faa['push'](new ckeditor5['NoOperation'](0x0)),_0x2f1fe8['return']=this['_connectService'](_0x9c3faa)['then'](()=>{this['editor']['plugins']['get'](WebSocketGateway)['addToReconnectionStack'](this),this['editor']['data']['fire']('ready');})['catch'](_0x508982=>this['_crash']('realtimecollaborationclient-init-connection-failed',_0x508982))['finally'](()=>this['_clearPendingAction']());},{'priority':'high'}),this['editor']['on']('loadRoot',async(_0x52c428,[_0x4fca59,_0x4feaae])=>{_0x52c428['stop']();const _0x46c273=this['editor']['model']['document']['getRoot'](_0x4fca59);if(!this['_knownRootNames']['has'](_0x4fca59)){const _0x156437=_0x4feaae&&_0x4feaae['data']?_0x4feaae['data']:'',_0x3904cc=_0x4feaae&&_0x4feaae['attributes']?_0x4feaae['attributes']:{};await this['_loadRoot'](_0x4fca59,_0x156437,_0x3904cc);}this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x46c273['_isLoaded']=!0x0,this['editor']['model']['document']['differ']['_bufferRootLoad'](_0x46c273);});},{'priority':'high'});}async['_fetchMissingUsers'](_0x12017d){const _0x209a62=this['editor']['plugins']['get'](_0x17009e),{connection:_0xc3c8ca}=this['editor']['plugins']['get'](WebSocketGateway),_0x265aa9=new Set();for(const _0x267f22 of _0x12017d){const _0x3de3e0=_0x267f22['_authorId'];_0x3de3e0&&!_0x209a62['getUser'](_0x3de3e0)&&_0x265aa9['add'](_0x3de3e0);}if(0x0===_0x265aa9['size'])return;const _0x46359b=await _0x3f1eee['getMany'](_0xc3c8ca,Array['from'](_0x265aa9));for(const _0x397cf5 of _0x46359b)_0x209a62['getUser'](_0x397cf5['id'])||_0x209a62['addUser'](_0x397cf5);}['_getOperationsFromInitData'](_0x1eb2cc,_0x5c5313={}){const _0x54f4cf=this['editor']['model'],_0x582e8f=[];let _0x3bc9ab=0x0;const _0x717bc5='string'==typeof _0x1eb2cc?{'main':_0x1eb2cc}:_0x1eb2cc;for(const _0xd7bc96 of Object['keys'](_0x717bc5)){if(!this['_document']['roots']['has'](_0xd7bc96))throw new ckeditor5['CKEditorError']('realtimecollaborationclient-init-non-existent-root',this);const _0x297b9b=this['editor']['data']['parse'](_0x717bc5[_0xd7bc96]),_0x2441f3=this['_document']['getRoot'](_0xd7bc96),_0x57dacb=new ckeditor5['InsertOperation'](_0x54f4cf['createPositionAt'](_0x2441f3,0x0),_0x297b9b,_0x3bc9ab++);_0x582e8f['push'](_0x57dacb);for(const [_0xba985a,_0x531eb4]of _0x297b9b['markers']){const _0x4cec23=_0x54f4cf['createRange'](_0x54f4cf['createPositionFromPath'](_0x2441f3,_0x531eb4['start']['path']['slice']()),_0x54f4cf['createPositionFromPath'](_0x2441f3,_0x531eb4['end']['path']['slice']())),_0x5baf7b=new ckeditor5['MarkerOperation'](_0xba985a,null,_0x4cec23,_0x54f4cf['markers'],!0x0,_0x3bc9ab++);_0x582e8f['push'](_0x5baf7b);}}if(_0x5c5313)for(const [_0x186225,_0x38304d]of Object['entries'](_0x5c5313)){const _0x4c8a18=_0x54f4cf['document']['getRoot'](_0x186225);if(!_0x4c8a18)throw new ckeditor5['CKEditorError']('multi-root-editor-root-attributes-no-root',null);for(const [_0x316006,_0x284575]of Object['entries'](_0x38304d))if(null!==_0x284575){const _0x237304=new ckeditor5['RootAttributeOperation'](_0x4c8a18,_0x316006,null,_0x284575,_0x3bc9ab++);_0x582e8f['push'](_0x237304);}}return _0x582e8f;}async['_loadRoot'](_0x4b5ad6,_0x37a4dd,_0x5c5e7d){this['_getOperationsFromInitData']({[_0x4b5ad6]:_0x37a4dd},{[_0x4b5ad6]:_0x5c5e7d})['forEach']((_0x45bd00,_0x1acc1d)=>{_0x45bd00['baseVersion']=this['_document']['version']+_0x1acc1d,_0x45bd00['_isInit']=!0x0,this['_saveOperationInBuffer'](_0x45bd00);}),this['_sendBufferedOperationsDelayed'](),await this['_waitUntilSynced']();}async['_handleInitialConnectionData'](_0xca5042,_0x49456e){let _0x27a755;this['_offset']=_0xca5042['offset'];const _0x49963d=_0xca5042['wereChangesApplied']&&!_0xca5042['initData'],_0x20ed25=_0x49963d?0x0:_0xca5042['data']['baseVersion'];if(_0x49456e['forEach'](_0x2e36ec=>{_0x2e36ec['_isInit']=!0x0,_0x2e36ec['createdAt']=_0xca5042['sessionCreatedAt'],_0x2e36ec['_authorId']=null;}),_0x49963d)_0x27a755=_0x49456e,this['_applyOperationsSet'](_0x27a755,_0x49963d);else{if(_0xca5042['initData']){const _0x4f7d27=this['_getOperationsFromInitData'](_0xca5042['initData']);this['_document']['history']['version']=-_0x4f7d27['length'],_0x4f7d27['forEach'](_0x14677d=>{_0x14677d['baseVersion']-=_0x4f7d27['length'],_0x14677d['createdAt']=_0xca5042['sessionCreatedAt'],_0x14677d['_isInit']=!0x0,_0x14677d['_authorId']=null;}),this['_applyOperationsSet'](_0x4f7d27,!0x0),this['serverHistory']['version']=-_0x4f7d27['length']+this['_offset'],this['_updateServerHistory'](_0x4f7d27);}this['_document']['history']['version']=_0x20ed25,_0x27a755=this['_decompressOperations'](_0xca5042['data'],_0xca5042['metadata']),await this['_fetchMissingUsers'](_0x27a755),this['_applyOperationsSet'](_0x27a755,_0x49963d);}_0xca5042['lastOperationId']&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x27a755,_0xca5042['lastOperationId']),this['_lastSyncedOperationId']=_0xca5042['lastOperationId']),this['serverHistory']['version']=_0x20ed25+this['_offset'],this['_updateServerHistory'](_0x27a755),_0x49456e['filter'](_0x5bf071=>{const _0x42221b=this['_getAffectedRoot'](_0x5bf071);return _0x42221b&&!this['_knownRootNames']['has'](_0x42221b);})['forEach']((_0x479c00,_0x29101f)=>{_0x479c00['baseVersion']=this['_document']['version']+_0x29101f,this['_saveOperationInBuffer'](_0x479c00);}),this['_shouldSendUpdate']()?(this['_currentBufferDelay']=0x0,this['_sendBufferedOperationsDelayed'](!0x0),await this['_waitUntilSynced']()):(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());}['_crash'](_0xf7330f,_0x275910){const _0x373f58=_0x275910&&_0x275910['message'];if(_0x373f58&&_0x373f58['startsWith']('realtimecollaborationclient'))throw _0x275910;const _0x26b5ae=this['editor']['plugins']['get'](WebSocketGateway);throw this['_isPendingUpdate']=!0x0,_0x26b5ae['disconnect'](),this['editor']['enableReadOnlyMode']('realtimecollaborationclient-error'),new ckeditor5['CKEditorError'](_0xf7330f,this['editor'],_0x373f58?{'originalError':_0x373f58}:void 0x0);}['_saveOperationInBuffer'](_0xdf5c74){this['_knownOperations']['has'](_0xdf5c74)||(this['_knownOperations']['add'](_0xdf5c74),this['_bufferedOperations']['push'](_0xdf5c74),this['_pendingAction']||'marker'==_0xdf5c74['type']&&!_0xdf5c74['affectsData']||this['_setPendingAction']());}['_sendBufferedOperationsDelayed'](_0x417d05=!0x1){!_0x417d05&&this['_isPendingUpdate']||(this['_isPendingUpdate']=!0x0,clearTimeout(this['_sendBufferedOperationsDelayId']),this['_sendBufferedOperationsDelayId']=setTimeout(()=>{this['_sendBufferedOperations']()['then'](_0x41356c=>{_0x41356c&&(this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1);})['catch'](_0x2a3e44=>{this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1,isDisconnectionError$3(_0x2a3e44)||this['_crash'](_0x2a3e44['message'],_0x2a3e44);});},this['_currentBufferDelay']));}['_waitUntilSynced'](){return new Promise(_0x7bc847=>{this['on']('change:_isPendingUpdate',()=>{_0x7bc847();});});}async['_sendBufferedOperations'](){const _0x571bbb=this['editor']['plugins']['get'](_0x327f6d);if(this['_shouldSendSelectionUpdate']()&&(_0x571bbb['createUserMarkerOperations'](),this['_hasSelectionChanged']=!0x1),!this['_shouldSendUpdate']())return!0x0;const _0x3ba788=[...this['_bufferedOperations']];for(const _0x5108b1 of _0x3ba788)_0x5108b1['wasUndone']=this['_document']['history']['isUndoneOperation'](_0x5108b1);const _0x1e3f7f=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x3ba788),_0x5f06c1=requestCount++,_0x48c1f3=this['_compressOperations'](_0x3ba788),_0x57613f=await this['_service']['sendOperations'](_0x48c1f3,_0x48c1f3['baseVersion'],_0x1e3f7f);try{return await this['_handleServerResponse'](_0x3ba788,_0x57613f,_0x5f06c1);}catch(_0x36d375){return this['_crash']('realtimecollaborationclient-sendbufferedoperations',_0x36d375);}}async['_handleServerResponse'](_0x2b8719,_0x48e955,_0x2f6bc7){if('error'in _0x48e955)throw _0x48e955['error'];let _0x47ff99=!0x1;if(_0x48e955['wereChangesApplied']){_0x48e955['lastOperationId']&&(this['_lastSyncedOperationId']=_0x48e955['lastOperationId']),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0x4ea7d8=>!_0x2b8719['includes'](_0x4ea7d8));for(const _0x516679 of _0x2b8719)_0x516679['createdAt']='lastOperationAcceptedAt'in _0x48e955&&_0x48e955['lastOperationAcceptedAt']||void 0x0;updateBaseVersions(_0x2b8719,_0x48e955['version']-_0x2b8719['length']),this['_updateServerHistory'](_0x2b8719);const _0x1bb7ce=_0x2b8719['filter'](_0x5a8ee1=>{if(!_0x5a8ee1['_isInit'])return!0x1;const _0x1f3527=this['_getAffectedRoot'](_0x5a8ee1);return _0x1f3527&&!this['_knownRootNames']['has'](_0x1f3527);});updateBaseVersions(_0x1bb7ce,this['_document']['version']),this['_applyOperationsSet'](_0x1bb7ce),_0x47ff99=!0x0,this['_currentBufferDelay']=this['_baseBufferDelay'];}else{const _0x218cac=this['_decompressOperations'](_0x48e955['data'],_0x48e955['metadata'])['filter'](_0x2a9ac4=>_0x2a9ac4['baseVersion']>=this['_lastServerVersion']);_0x218cac['forEach'](_0x2701cb=>this['_addKnownRoot'](_0x2701cb)),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0x28dfb1=>!_0x28dfb1['_isInit']||!this['_knownRootNames']['has'](this['_getAffectedRoot'](_0x28dfb1))),this['_bufferedOperations']['length']&&updateBaseVersions(this['_bufferedOperations'],this['_bufferedOperations'][0x0]['baseVersion']),await this['_fetchMissingUsers'](_0x218cac),_0x47ff99=this['_handleExternalOperations'](_0x218cac,_0x48e955['version'],_0x48e955['lastOperationId']),this['_currentBufferDelay']=Math['round'](this['_currentBufferDelay']/0x2);}return _0x47ff99?!this['_shouldSendUpdate']()||(this['_sendBufferedOperationsDelayed'](!0x0),!0x1):this['_crash']('realtimecollaborationclient-handleserverresponse');}['_handleExternalOperations'](_0x47f6be,_0x423544,_0x5dc45a){try{const _0x5d8cad={'document':this['_document'],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xc07323,operationsB:_0x2be80d,originalOperations:_0xecaca8}=ckeditor5['transformOperationSets'](_0x47f6be,this['_bufferedOperations'],_0x5d8cad);updateBaseVersions(_0xc07323,this['_document']['version']),updateBaseVersions(_0x2be80d,_0x423544);for(const _0x590f2c of _0xc07323){const _0x427a7f=_0xecaca8['get'](_0x590f2c);_0x590f2c['_authorId']=_0x427a7f?_0x427a7f['_authorId']:null;}_0x5dc45a&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x47f6be,_0x5dc45a),this['_lastSyncedOperationId']=_0x5dc45a),this['_bufferedOperations']=[..._0x2be80d],this['_applyOperationsSet'](_0xc07323),this['_updateServerHistory'](_0x47f6be);}catch(_0x319655){return console['error'](_0x319655),!0x1;}return!0x0;}['_applyOperationsSet'](_0x1d221e,_0x3edd84=!0x1){this['editor']['model']['enqueueChange']({'isUndoable':!0x1,'isLocal':!0x1},_0x31f748=>{for(const _0x59095a of _0x1d221e)this['_knownOperations']['add'](_0x59095a),this['_addKnownRoot'](_0x59095a),_0x31f748['batch']['addOperation'](_0x59095a),this['editor']['model']['applyOperation'](_0x59095a);});}['_addKnownRoot'](_0x5e1a7f){const _0x11b691=this['_getAffectedRoot'](_0x5e1a7f);_0x11b691&&this['_knownRootNames']['add'](_0x11b691);}['_getAffectedRoot'](_0x248c47){let _0xa1c23,_0x1c0458;switch(_0x248c47['type']){case'insert':_0xa1c23=_0x248c47['position']['root'];break;case'marker':if(_0x1c0458=_0x248c47['newRange'],!_0x1c0458)return null;_0xa1c23=_0x1c0458['root'];break;case'addRootAttribute':_0xa1c23=_0x248c47['root'];break;case'addRoot':_0xa1c23=_0x248c47['affectedSelectable'];break;case'move':_0xa1c23=_0x248c47['targetPosition']['root'];break;default:return null;}return _0xa1c23['rootName'];}['_updateServerHistory'](_0x3e5a23){_0x3e5a23['forEach'](_0x3ecdd2=>{const _0x16ec92=_0x3ecdd2['clone']();_0x16ec92['_authorId']=_0x3ecdd2['_authorId'],_0x16ec92['_isInit']=!!_0x3ecdd2['_isInit'],_0x16ec92['createdAt']=_0x3ecdd2['createdAt'],_0x16ec92['baseVersion']+=this['_offset'],_0x3ecdd2['_isDisconnection']&&this['_disconnectionOperations']['add'](_0x16ec92),this['serverHistory']['addOperation'](_0x16ec92);});}['_handleReconnectionError'](_0x208b9d){const _0x521f16=this['editor']['plugins']['get']('Notification'),_0x368d1d=this['editor']['locale'];_0x208b9d||(_0x208b9d=getTranslation$6(_0x368d1d,'The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.')),_0x521f16['showWarning'](_0x208b9d,{'title':getTranslation$6(_0x368d1d,'Synchronization\x20issue'),'namespace':'real-time-collaboration'}),this['_hasSynchronizationProblem']=!0x0,clearTimeout(this['_sendBufferedOperationsDelayId']),this['_bufferedOperations']=[],this['editor']['plugins']['get'](WebSocketGateway)['disconnect']();}['_setPendingAction'](){this['_pendingAction']||(this['_pendingAction']=this['editor']['plugins']['get'](ckeditor5['PendingActions'])['add'](getTranslation$6(this['editor']['locale'],'PENDING_ACTION_SENDING_DATA')));}['_clearPendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get'](ckeditor5['PendingActions'])['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_compressOperations'](_0x38504a){const _0x4d464f=_0x38504a['map'](_0x4ad45f=>_0x4ad45f['toJSON']());return this['_compressor']['compress'](_0x4d464f);}['_decompressOperations'](_0x1f3858,_0x32e57d){return this['_compressor']['decompress'](_0x1f3858)['map']((_0x124898,_0x302855)=>{const _0x2db713='init'==_0x32e57d[_0x302855]['type'];if('InsertOperation'==_0x124898['__className']){const _0x455523=_0x124898['position']['root'];!this['_document']['getRoot'](_0x455523)&&(this['_document']['createRoot']('$root',_0x455523)['_isAttached']=!0x1);}const _0x1fae68=ckeditor5['OperationFactory']['fromJSON'](_0x124898,this['_document']);return _0x1fae68['wasUndone']=_0x124898['wasUndone'],_0x1fae68['_isInit']=_0x2db713,_0x1fae68['_authorId']=_0x2db713?null:_0x32e57d[_0x302855]['userId'],_0x1fae68['_isDisconnection']='cs:removeUser'===_0x32e57d[_0x302855]['type'],_0x1fae68['createdAt']=_0x32e57d[_0x302855]['createdAt'],_0x1fae68;});}['_refreshUserSelectionMarkers'](){this['_hasSelectionChanged']=!0x0,this['_shouldSendSelectionUpdate']()?this['_sendBufferedOperationsDelayed']():this['_hasSelectionChanged']=!0x1;}['_shouldSendSelectionUpdate'](){const _0x57adde=this['editor']['plugins']['get'](_0x5ba7c3)['channelSessions']['get'](this['_channelId']);return!this['editor']['isReadOnly']&&!!_0x57adde&&_0x57adde['length']>0x1&&this['_hasSelectionChanged'];}['_shouldSendUpdate'](){return this['_bufferedOperations']['length']>0x0||this['_shouldSendSelectionUpdate']();}}class ReconnectionError extends Error{}function updateBaseVersions(_0x34a25d,_0x117ad1){for(const _0x4affe4 of _0x34a25d)_0x4affe4['baseVersion']=_0x117ad1++;}function isSessionNotExistingError(_0x24567a){return'404'===_0x24567a['code'];}function isBaseVersionMismatchError(_0x4fe666){return'409'===_0x4fe666['code'];}function isDisconnectionError$3(_0xa9eff0){return _0xa9eff0['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0xa9eff0['message']['startsWith']('cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.')||_0xa9eff0['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}class OperationIdentifier{['_ignoredOperations'];['_operationToId'];constructor(_0x33ebd8){this['_ignoredOperations']=_0x33ebd8,this['_operationToId']=new WeakMap();}['getIdOfTheLastOperation'](_0x39e855){let _0x44a221=_0x39e855['length'];for(;_0x44a221--;){const _0x4457d8=_0x39e855[_0x44a221];if(!this['_ignoredOperations']['has'](_0x4457d8)){if(!this['_operationToId']['has'](_0x4457d8)){const _0x1c40e9=ckeditor5['uid']()['slice'](0x1,0x12);this['_operationToId']['set'](_0x4457d8,_0x1c40e9);}return this['_operationToId']['get'](_0x4457d8);}}}['setIdForTheLastOperation'](_0x1bcc5c,_0x1cfaa3){if(!_0x1cfaa3)return;let _0x1f6622=_0x1bcc5c['length'];for(;_0x1f6622--;){const _0x49b3d2=_0x1bcc5c[_0x1f6622];this['_ignoredOperations']['has'](_0x49b3d2)||this['_operationToId']['set'](_0x49b3d2,_0x1cfaa3);}}}class RealTimeCollaborativeEditing extends ckeditor5['Plugin']{static get['requires'](){return[RealTimeCollaborationClient];}static get['pluginName'](){return'RealTimeCollaborativeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class CloudServicesCommentsAdapter extends ckeditor5['ContextPlugin']{static ['CommentsService']=/* #__PURE__ -- @preserve */
((()=>CommentsService)());['_services'];static get['requires'](){return[WebSocketGateway,'CommentsRepository',_0x5ba7c3,_0x17009e];}static get['pluginName'](){return'CloudServicesCommentsAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2f4a15){super(_0x2f4a15),this['_services']=new Map();}async['init'](){const _0xed6cd7=this['context'],_0x4f1369=_0xed6cd7['plugins']['get']('CommentsRepository');if(_0xed6cd7['plugins']['get'](WebSocketGateway)['addToReconnectionStack'](this),_0x4f1369['adapter']={'addCommentThread':async({channelId:_0xf7bcd6,threadId:_0x5ef5b4,comments:_0x287672,resolvedAt:_0x2fd155,resolvedBy:_0x5f2a88,context:_0x425884,attributes:_0x30cb95})=>{const _0x1d44e7=await this['_getService'](_0xf7bcd6)['addCommentThread']({'commentThreadId':_0x5ef5b4,'comments':_0x287672['map'](_0x2562e5=>parseLocalCommentToRemote(_0x2562e5,_0xf7bcd6,_0x5ef5b4)),'resolvedAt':_0x2fd155,'resolvedBy':_0x5f2a88,'context':_0x425884,'attributes':_0x30cb95})['catch'](handleDisconnectionError$1);return{'threadId':_0x1d44e7['commentThreadId'],'comments':_0x1d44e7['comments']};},'getCommentThread':async({channelId:_0x564132,threadId:_0x3b12de})=>{const _0x88749=await this['_getService'](_0x564132)['getCommentThread'](_0x3b12de)['catch'](_0x2aa66e)['catch'](handleDisconnectionError$1);return _0x88749?_0x88749['deletedAt']?null:(await this['_fetchMissingUsersForThreads']([_0x88749]),{'threadId':_0x88749['commentThreadId'],'comments':_0x88749['comments']['map'](parseRemoteCommentToLocal),'context':_0x88749['context'],'resolvedAt':_0x88749['resolvedAt'],'resolvedBy':_0x88749['resolvedBy'],'attributes':_0x88749['attributes']||{}}):null;},'updateCommentThread':async({channelId:_0x44a2d0,threadId:_0x25533e,context:_0x38e167,unlinkedAt:_0x4388a8,attributes:_0x9a45cc})=>this['_getService'](_0x44a2d0)['updateCommentThread']({'commentThreadId':_0x25533e,'context':_0x38e167,'attributes':_0x9a45cc,'unlinkedAt':_0x4388a8})['catch'](_0x2aa66e)['catch'](handleDisconnectionError$1),'resolveCommentThread':async({channelId:_0x1b1cf1,threadId:_0x3eb464})=>{const _0x288da8=await this['_getService'](_0x1b1cf1)['resolveCommentThread'](_0x3eb464)['catch'](_0x2aa66e)['catch'](handleDisconnectionError$1);return{'threadId':_0x288da8['commentThreadId'],'resolvedAt':_0x288da8['resolvedAt'],'resolvedBy':_0x288da8['resolvedBy']};},'reopenCommentThread':async({channelId:_0x47ec54,threadId:_0x1d0361})=>this['_getService'](_0x47ec54)['reopenCommentThread'](_0x1d0361)['catch'](_0x2aa66e)['catch'](handleDisconnectionError$1),'removeCommentThread':({channelId:_0x52f623,threadId:_0x2b0318})=>this['_getService'](_0x52f623)['removeCommentThread'](_0x2b0318)['catch'](_0x2aa66e)['catch'](handleDisconnectionError$1),'addComment':({channelId:_0x1be9e7,threadId:_0x3db75c,commentId:_0x33320b,content:_0x277661,attributes:_0x3526f1})=>this['_getService'](_0x1be9e7)['addComment'](_0x3db75c,_0x33320b,_0x277661,_0x3526f1)['catch'](handleDisconnectionError$1),'updateComment':({channelId:_0x43dc64,threadId:_0x112207,commentId:_0x18acc8,content:_0x2ce4d4,attributes:_0x3429fb})=>this['_getService'](_0x43dc64)['updateComment'](_0x112207,_0x18acc8,_0x2ce4d4,_0x3429fb)['catch'](_0x2aa66e)['catch'](handleDisconnectionError$1),'removeComment':({channelId:_0x31d18d,threadId:_0x98f72a,commentId:_0x2e98cb})=>this['_getService'](_0x31d18d)['removeComment'](_0x98f72a,_0x2e98cb)['catch'](_0x2aa66e)['catch'](handleDisconnectionError$1)},_0xed6cd7 instanceof ckeditor5['Context']){const _0x270e29=_0xed6cd7['config']['get']('collaboration.channelId'),_0x5d8f9a=_0xed6cd7['plugins']['get'](_0x5ba7c3);await this['_setUpService'](_0x270e29);const _0x125513=await this['_services']['get'](_0x270e29)['getConnectedSessions']();this['listenTo'](_0x5d8f9a,'sessionAdd:'+_0x270e29,(_0x183981,{session:_0x1c7cc2})=>{_0x1c7cc2['id']===_0x5d8f9a['mySessionId']&&(_0x183981['off'](),this['context']['plugins']['get']('Permissions')['setPermissions'](_0x1c7cc2['permissions'],_0x270e29));}),_0x5d8f9a['register'](_0x270e29,_0x125513);}}async['_setUpService'](_0x43dcd5){if(this['_services']['has'](_0x43dcd5))throw new ckeditor5['CKEditorError']('cloudservicescommentsadapter-connect-already-connected',null,{'channelId':_0x43dcd5});const _0x2b94c4=this['context']['plugins']['get']('CommentsRepository'),_0x436c00=new CloudServicesCommentsAdapter['CommentsService'](_0x43dcd5);this['_services']['set'](_0x43dcd5,_0x436c00),this['listenTo'](_0x436c00,'commentThreadAdded',(_0xdcdea6,_0x486d75)=>{const {commentThreadId:_0x5583f4,documentId:_0x5b7aa4,context:_0x3809ad,attributes:_0x5cf98e,resolvedAt:_0x43826c,resolvedBy:_0x29906d,comments:_0x1b9137}=_0x486d75;_0x2b94c4['getCommentThread'](_0x5583f4)||_0x2b94c4['addCommentThread']({'threadId':_0x5583f4,'channelId':_0x5b7aa4,'comments':_0x1b9137?_0x1b9137['map'](parseRemoteCommentToLocal):[],'context':_0x3809ad,'attributes':_0x5cf98e,'resolvedAt':_0x43826c,'resolvedBy':_0x29906d,'isFromAdapter':!0x0});}),this['listenTo'](_0x436c00,'commentThreadUpdated',(_0x32d2a4,{commentThreadId:_0x57b909,documentId:_0x516e31,context:_0x23c8a9,unlinkedAt:_0x348ea1,attributes:_0x1814ed})=>{_0x2b94c4['getCommentThread'](_0x57b909)&&_0x2b94c4['updateCommentThread']({'threadId':_0x57b909,'channelId':_0x516e31,'context':_0x23c8a9,'unlinkedAt':_0x348ea1,'attributes':_0x1814ed,'isFromAdapter':!0x0});}),this['listenTo'](_0x436c00,'commentThreadResolved',(_0x393eae,{commentThreadId:_0x55d244,resolvedBy:_0x518500,resolvedAt:_0x14fa0e})=>{const _0x2f1dde=_0x2b94c4['getCommentThread'](_0x55d244);_0x2f1dde&&_0x2f1dde['resolve']({'resolvedBy':_0x518500,'resolvedAt':_0x14fa0e,'isFromAdapter':!0x0});}),this['listenTo'](_0x436c00,'commentThreadReopened',(_0x1b41fa,{commentThreadId:_0x35afc2})=>{const _0x18e35d=_0x2b94c4['getCommentThread'](_0x35afc2);_0x18e35d&&_0x18e35d['reopen']({'isFromAdapter':!0x0});}),this['listenTo'](_0x436c00,'commentThreadRemoved',(_0xac2727,{commentThreadId:_0x6e7f9b})=>{const _0x513891=_0x2b94c4['getCommentThread'](_0x6e7f9b);_0x513891&&_0x513891['remove']({'isFromAdapter':!0x0});}),this['listenTo'](_0x436c00,'commentAdded',(_0x545d5e,_0x44f6e9)=>{const _0x34e89b=_0x44f6e9['commentThreadId'],_0x483adf=_0x2b94c4['getCommentThread'](_0x34e89b);_0x483adf&&_0x483adf['addComment']({...parseRemoteCommentToLocal(_0x44f6e9),'isFromAdapter':!0x0});}),this['listenTo'](_0x436c00,'commentUpdated',(_0x1e6439,{commentThreadId:_0x2aeaf4,commentId:_0x3ed67d,content:_0x198f08,attributes:_0x3e270c})=>{const _0x4f3dd9=_0x2b94c4['getCommentThread'](_0x2aeaf4);if(_0x4f3dd9){const _0x47b89e=_0x4f3dd9['getComment'](_0x3ed67d);_0x47b89e&&_0x47b89e['update']({'content':_0x198f08,'attributes':_0x3e270c,'isFromAdapter':!0x0});}}),this['listenTo'](_0x436c00,'commentRemoved',(_0xa83db0,{commentThreadId:_0x5795bb,commentId:_0x44edc2})=>{const _0xc2dbcc=_0x2b94c4['getCommentThread'](_0x5795bb);if(_0xc2dbcc){const _0x3c7a16=_0xc2dbcc['getComment'](_0x44edc2);_0x3c7a16&&_0x3c7a16['remove']({'isFromAdapter':!0x0});}}),await this['_connectService'](_0x43dcd5);}['destroy'](){if(this['context']instanceof ckeditor5['Context']){const _0x3a08a8=this['context']['config']['get']('collaboration.channelId');this['_terminateService'](_0x3a08a8);}}['_terminateService'](_0x7d848e){if(!this['_services']['has'](_0x7d848e))throw new ckeditor5['CKEditorError']('cloudservicescommentsadapter-disconnect-not-exist',null,{'channelId':_0x7d848e});this['_getService'](_0x7d848e)['disconnect'](),this['_services']['delete'](_0x7d848e);}async['reconnect'](){for(const _0x9da263 of this['_services']['keys']())await this['_connectService'](_0x9da263);if(this['context']instanceof ckeditor5['Context']){const _0x26a5fd=this['context']['config']['get']('collaboration.channelId'),_0x501503=this['context']['plugins']['get'](_0x5ba7c3);_0x501503['unregister'](_0x26a5fd);const _0x5e9952=await this['_services']['get'](_0x26a5fd)['getConnectedSessions']();_0x501503['register'](_0x26a5fd,_0x5e9952);}}async['_connectService'](_0x3af55f){const {connection:_0x30cd73}=this['context']['plugins']['get'](WebSocketGateway),_0x1bffed=this['context']['plugins']['get']('CommentsRepository'),_0x230d68=this['_services']['get'](_0x3af55f),_0x204d06=await _0x230d68['connect'](_0x30cd73);await this['_fetchMissingUsersForThreads'](_0x204d06);const _0x185baa=new Set(Array['from'](_0x1bffed['getCommentThreads']({'channelId':_0x3af55f}),_0x4b0799=>_0x4b0799['id']));for(const _0x22acab of _0x204d06)_0x22acab['deletedAt']||_0x185baa['delete'](_0x22acab['commentThreadId']);for(const _0x583621 of _0x185baa)_0x1bffed['getCommentThread'](_0x583621)['remove']({'isFromAdapter':!0x0});for(const _0x2f6f55 of _0x204d06){let _0x456811=_0x1bffed['getCommentThread'](_0x2f6f55['commentThreadId']);const {commentThreadId:_0x1d0a04,context:_0x294288,attributes:_0x1666e8,resolvedBy:_0x54f55c,resolvedAt:_0x4f306b,unlinkedAt:_0x414f20,deletedAt:_0x46d08f}=_0x2f6f55;if(_0x46d08f)continue;_0x456811||(_0x456811=_0x1bffed['addCommentThread']({'channelId':_0x3af55f,'threadId':_0x1d0a04,'context':_0x294288,'attributes':_0x1666e8||{},'resolvedBy':_0x54f55c,'resolvedAt':_0x4f306b,'unlinkedAt':_0x414f20,'isFromAdapter':!0x0}));const _0xecb46f=new Set(Array['from'](_0x456811['comments'],_0x2f2553=>_0x2f2553['id']));for(const _0x2e2341 of _0x2f6f55['comments'])_0xecb46f['delete'](_0x2e2341['commentId']);for(const _0x4ddac9 of _0xecb46f)_0x456811['getComment'](_0x4ddac9)['remove']({'isFromAdapter':!0x0});for(const _0x2b5938 of _0x2f6f55['comments']){const _0x38046d=_0x456811['getComment'](_0x2b5938['commentId']);_0x38046d?_0x38046d['content']!==_0x2b5938['content']&&_0x38046d['update']({'content':_0x2b5938['content'],'isFromAdapter':!0x0}):_0x456811['addComment'](Object['assign'](parseRemoteCommentToLocal(_0x2b5938),{'isFromAdapter':!0x0}));}}}['_getService'](_0x15aab4){if(!this['_services']['has'](_0x15aab4))throw new ckeditor5['CKEditorError']('cloudservicescommentsadapter-service-not-exist',null,{'channelId':_0x15aab4});return this['_services']['get'](_0x15aab4);}async['_fetchMissingUsersForThreads'](_0x8b7eb4){const _0x5999c6=this['context']['plugins']['get'](_0x17009e),{connection:_0x2888b7}=this['context']['plugins']['get'](WebSocketGateway),_0xc931fd=new Set();for(const {resolvedBy:_0xafafe,comments:_0x980331}of _0x8b7eb4){_0xafafe&&!_0x5999c6['getUser'](_0xafafe)&&_0xc931fd['add'](_0xafafe);for(const {userId:_0x3a35a0}of _0x980331)_0x5999c6['getUser'](_0x3a35a0)||_0xc931fd['add'](_0x3a35a0);}if(0x0===_0xc931fd['size'])return;const _0x4a8a58=await _0x3f1eee['getMany'](_0x2888b7,Array['from'](_0xc931fd));for(const _0x39f2ae of _0x4a8a58)_0x5999c6['getUser'](_0x39f2ae['id'])||_0x5999c6['addUser'](_0x39f2ae);}}async function _0x2aa66e(_0x385474){if('404'!==_0x385474['code'])throw _0x385474;}function handleDisconnectionError$1(_0x907e1d){if(isDisconnectionError$2(_0x907e1d))return new Promise(()=>{});throw _0x907e1d;}function isDisconnectionError$2(_0x59c3f8){return _0x59c3f8['message']['startsWith']('cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.')||_0x59c3f8['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x59c3f8['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}function parseRemoteCommentToLocal(_0x4eafea){return{'threadId':_0x4eafea['commentThreadId'],'commentId':_0x4eafea['commentId'],'content':_0x4eafea['content'],'createdAt':_0x4eafea['createdAt'],'authorId':_0x4eafea['userId'],'attributes':_0x4eafea['attributes']||{}};}function parseLocalCommentToRemote(_0x4b2874,_0xd353a7,_0x3cb64d){return{'commentThreadId':_0x3cb64d,'commentId':_0x4b2874['commentId'],'userId':_0x4b2874['authorId'],'content':_0x4b2874['content'],'documentId':_0xd353a7,'createdAt':_0x4b2874['createdAt'],'attributes':_0x4b2874['attributes']||{}};}class CloudServicesTrackChangesAdapter extends ckeditor5['Plugin']{static ['TrackChangesService']=/* #__PURE__ -- @preserve */
((()=>_0x3876a9)());['_bufferedRequests'];['_trackChangesService'];static get['requires'](){return[CloudServicesCommentsAdapter,'TrackChangesEditing',WebSocketGateway];}static get['pluginName'](){return'CloudServicesTrackChangesAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x321d6d){super(_0x321d6d);const _0x449718=this['editor']['config']['get']('collaboration.channelId');this['_bufferedRequests']=new Map(),this['_trackChangesService']=new CloudServicesTrackChangesAdapter['TrackChangesService'](_0x449718);}['init'](){const _0x551bda=this['editor']['plugins']['get'](WebSocketGateway),_0x2abaf1=this['editor']['plugins']['get']('TrackChangesEditing');return _0x2abaf1['adapter']={'getSuggestion':async _0x377a2f=>{await this['_waitForServiceReady']();const _0x534f99=await this['_trackChangesService']['get'](_0x377a2f)['catch'](handleDisconnectionError);return await this['_fetchMissingUsersForThreads']([_0x534f99]),_0x534f99;},'addSuggestion':async({id:_0x4af5a1,type:_0x2a21dc,data:_0x3ee5b6,originalSuggestionId:_0x23adf6,attributes:_0x8a548})=>{await this['_waitForServiceReady']();const _0x5724a9={'id':_0x4af5a1,'type':_0x2a21dc,'data':_0x3ee5b6,'originalSuggestionId':_0x23adf6,'attributes':_0x8a548},_0x1865af=await this['_trackChangesService']['add'](_0x4af5a1,_0x2a21dc,_0x3ee5b6,_0x23adf6,_0x8a548)['catch'](_0x1b6f3b=>{if(isDisconnectionError$1(_0x1b6f3b))return new Promise(_0xe71721=>{this['_bufferedRequests']['set'](_0x4af5a1,{'resolve':_0xe71721,'suggestionData':_0x5724a9});});throw _0x1b6f3b;});return this['_bufferedRequests']['delete'](_0x4af5a1),_0x1865af;},'updateSuggestion':async(_0x5d3832,_0x59505b)=>{if(await this['_waitForServiceReady'](),'open'!==_0x59505b['state'])return this['_trackChangesService']['update'](_0x5d3832,_0x59505b)['catch'](handleDisconnectionError);}},this['listenTo'](this['_trackChangesService'],'suggestionUpdated',(_0x1c74c9,_0x2e57e)=>{_0x2abaf1['hasSuggestion'](_0x2e57e['id'])&&(_0x2abaf1['getSuggestion'](_0x2e57e['id'])['attributes']=_0x2e57e['attributes']);}),this['_trackChangesService']['connect'](_0x551bda['connection'])['then'](_0x566e19=>(_0x551bda['addToReconnectionStack'](this),this['_fetchMissingUsersForThreads'](_0x566e19)['then'](()=>{for(const _0x2bec00 of _0x566e19){_0x2abaf1['addSuggestionData'](_0x2bec00)['_saved']=!0x0;}})));}async['reconnect'](){const _0x7fd01d=this['editor']['plugins']['get']('TrackChangesEditing'),{connection:_0x1d9b4a}=this['editor']['plugins']['get'](WebSocketGateway),_0x525073=await this['_trackChangesService']['connect'](_0x1d9b4a);await this['_fetchMissingUsersForThreads'](_0x525073);for(const {suggestionData:_0x22a4e4,resolve:_0x13397e}of this['_bufferedRequests']['values']()){let _0x2e7b54=_0x525073['find'](_0x193276=>_0x193276['id']===_0x22a4e4['id']);_0x2e7b54||(_0x2e7b54=await this['_trackChangesService']['add'](_0x22a4e4['id'],_0x22a4e4['type'],_0x22a4e4['data'],_0x22a4e4['originalSuggestionId'])),_0x13397e(_0x2e7b54);}for(const _0x43355d of _0x525073)_0x7fd01d['hasSuggestion'](_0x43355d['id'])||_0x7fd01d['addSuggestionData'](_0x43355d);}async['_waitForServiceReady'](){this['_trackChangesService']['isConnected']||await new Promise(_0x15dd25=>{this['listenTo'](this['_trackChangesService'],'connected',_0x49cffc=>{_0x49cffc['off'](),_0x15dd25();});});}async['_fetchMissingUsersForThreads'](_0x1ac9a3){const _0x2f647f=this['editor']['plugins']['get'](_0x17009e),{connection:_0x5ab8fd}=this['editor']['plugins']['get'](WebSocketGateway),_0x592cc3=new Set();for(const {authorId:_0x57adb1}of _0x1ac9a3)_0x2f647f['getUser'](_0x57adb1)||_0x592cc3['add'](_0x57adb1);if(0x0===_0x592cc3['size'])return;const _0x3bb86e=await _0x3f1eee['getMany'](_0x5ab8fd,Array['from'](_0x592cc3));for(const _0x32a312 of _0x3bb86e)_0x2f647f['getUser'](_0x32a312['id'])||_0x2f647f['addUser'](_0x32a312);}}function handleDisconnectionError(_0x53d946){if(isDisconnectionError$1(_0x53d946))return new Promise(()=>{});throw _0x53d946;}function isDisconnectionError$1(_0x25437f){return _0x25437f['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x25437f['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}class RealTimeCollaborativeComments extends ckeditor5['Plugin']{static get['requires'](){return['Comments',CloudServicesCommentsAdapter,RealTimeCollaborativeEditing,WebSocketGateway];}static get['pluginName'](){return'RealTimeCollaborativeComments';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x447af5=this['editor']['plugins']['get'](WebSocketGateway),_0x2e0c5e=this['editor']['plugins']['get']('CommentsEditing'),_0x4c57ad=this['editor']['plugins']['get'](CloudServicesCommentsAdapter);return this['editor']['data']['once']('ready',()=>{this['listenTo'](_0x447af5,'change:state',(_0x23cb16,_0x8f60a7,_0x17c835)=>{_0x2e0c5e['isThreadsLoadingPaused']='connected'!==_0x17c835;});}),this['listenTo'](_0x447af5,'change:state',(_0x1c7a31,_0x57e5a7,_0x3cd5c3)=>{this['editor']['plugins']['get']('CommentsRepository')['switchReadOnly']('connected'!==_0x3cd5c3);}),_0x4c57ad['_setUpService'](this['editor']['config']['get']('collaboration.channelId'));}['destroy'](){this['editor']['plugins']['get'](CloudServicesCommentsAdapter)['_terminateService'](this['editor']['config']['get']('collaboration.channelId')),super['destroy']();}}class RealTimeCollaborativeTrackChanges extends ckeditor5['Plugin']{static get['requires'](){return[RealTimeCollaborativeComments,CloudServicesTrackChangesAdapter,'TrackChanges'];}static get['pluginName'](){return'RealTimeCollaborativeTrackChanges';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class CloudServicesRevisionHistoryAdapter extends ckeditor5['Plugin']{static ['RevisionHistoryService']=/* #__PURE__ -- @preserve */
((()=>RevisionHistoryService)());['_lastRequestId'];['_revisionTracker'];['_revisionHistoryService'];['_oldOffset'];static get['requires'](){return[WebSocketGateway,RealTimeCollaborationClient,'RevisionHistory',_0x5ba7c3,_0x17009e];}static get['pluginName'](){return'CloudServicesRevisionHistoryAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4e1584){super(_0x4e1584);const _0x592a5f=this['editor']['config']['get']('collaboration.channelId');this['_lastRequestId']=null,this['_revisionTracker']=this['editor']['plugins']['get']('RevisionTracker'),this['_revisionHistoryService']=new CloudServicesRevisionHistoryAdapter['RevisionHistoryService'](_0x592a5f);}async['init'](){const _0x4b3d21=this['editor']['plugins']['get'](RealTimeCollaborationClient),_0x3e9927=_0x4b3d21['serverHistory'],_0x51b0c8=this['editor']['plugins']['get'](WebSocketGateway);this['_revisionTracker']['setSource']({'history':_0x3e9927,'getLatestVersion':()=>this['_getLatestVersion'](),'getCurrentRevisionId':()=>_0x4b3d21['sessionId']});const _0x1b0c42=this['editor']['config']['get']('cloudServices.bundleVersion')||ckeditor5['version'],_0x50c6eb=await EditorService['isBundleUploaded'](_0x51b0c8['connection'],_0x1b0c42);this['editor']['plugins']['get']('RevisionHistory')['adapter']={'getRevision':async({revisionId:_0x3f4026})=>(await this['_waitForServiceReady'](),await this['_revisionHistoryService']['getRevision'](_0x3f4026)),'updateRevisions':async _0x3c73b5=>{await this['_waitForServiceReady']();const _0x2d76d2=this['_revisionTracker']['currentRevision'];if(_0x50c6eb&&0x1===_0x3c73b5['length']&&_0x3c73b5[0x0]['id']===_0x2d76d2['id'])return _0x3c73b5;for(const _0x2e809b of _0x3c73b5)_0x2e809b['id']===_0x2d76d2['id']&&(_0x2e809b['isEmptyCurrent']=_0x2e809b['fromVersion']===_0x2e809b['toVersion']);return this['_revisionHistoryService']['updateRevisions'](_0x3c73b5,this['_lastRequestId'])['then'](_0x3aa7fb=>(this['_lastRequestId']=_0x3aa7fb,_0x3c73b5))['catch'](_0x280b0f=>{if(isDisconnectionError(_0x280b0f)||'400'===_0x280b0f['code']&&void 0x0!==_0x280b0f['data']['wrongRequestId']){for(const _0x567819 of _0x3c73b5){!this['_revisionTracker']['repository']['getRevision'](_0x567819['id'])||this['_revisionTracker']['_bufferUpdate'](_0x567819['id'],_0x567819,!0x1);}if(isDisconnectionError(_0x280b0f))throw _0x280b0f;return _0x3c73b5;}throw _0x280b0f;});}},this['listenTo'](this['_revisionHistoryService'],'revisionsUpdated',(_0x15c393,{revisionsData:_0x52ec3c,requestId:_0x3eba38})=>{Math['max'](..._0x52ec3c['map'](_0x21e0a9=>_0x21e0a9['toVersion']))>this['_getLatestVersionFromServerOperations']()-0x1?this['_getLatestVersion']()['then'](()=>{this['_handleRevisionsUpdate'](_0x52ec3c,_0x3eba38);}):this['_handleRevisionsUpdate'](_0x52ec3c,_0x3eba38);});const {revisions:_0x407b3a,requestId:_0x144677}=await this['_revisionHistoryService']['connect'](_0x51b0c8['connection']);_0x51b0c8['addToReconnectionStack'](this),this['_lastRequestId']=_0x144677,await this['_fetchMissingUsers'](_0x407b3a);for(const _0xe850c6 of _0x407b3a)this['_revisionTracker']['addRevisionData'](_0xe850c6);this['listenTo'](_0x4b3d21,'change:_isConnected',(_0x5997e0,_0x531f72,_0x4d84ab)=>{_0x4d84ab&&(this['_oldOffset']=_0x4b3d21['_offset'],_0x5997e0['off']());}),this['_revisionTracker']['bind']('isEnabled')['to'](_0x51b0c8,'state',_0x38f0bf=>_0x38f0bf===_0x575fba['CONNECTED']);}async['reconnect'](){const _0x1a1c8e=this['editor']['plugins']['get'](WebSocketGateway),_0x3ec446=this['editor']['plugins']['get'](RealTimeCollaborationClient),_0x5d600d=async()=>{const _0x4a832b=this['_revisionTracker']['currentRevision'],_0x3c5e1b=_0x4a832b['id'],_0x4b8641=_0x3c5e1b!==_0x3ec446['sessionId'];if(_0x4b8641){const _0x389dc2=_0x3ec446['_offset']-this['_oldOffset'],_0x5e81e6=this['_getLatestVersionFromServerOperations']();this['_revisionTracker']['_revisionDataBuilder']['reInit']();if(_0x4a832b['toVersion']+_0x389dc2!==_0x5e81e6){const _0x125b50=_0x4a832b['fromVersion']+_0x389dc2,_0x105e66=this['editor']['plugins']['get'](_0x17009e),_0xdb4a8=this['_revisionTracker']['buildRevisionData']({'revision':_0x4a832b,'from':_0x125b50,'to':_0x5e81e6});_0xdb4a8['id']=_0x4a832b['id'];const _0x4b4177=_0xdb4a8['authorsIds']['map'](_0x1a61ac=>_0x105e66['getUser'](_0x1a61ac));_0x4a832b['_update']({..._0xdb4a8,'authors':_0x4b4177},!0x0),this['_revisionTracker']['_bufferUpdate'](_0x4a832b['id'],_0xdb4a8,!0x0);}this['_revisionTracker']['_startingVersion']=_0x5e81e6,(_0x4a832b['toVersion']===_0x4a832b['fromVersion']&&!this['_revisionTracker']['_bufferedUpdates']['has'](_0x3c5e1b)&&this['_revisionTracker']['repository']['_revisions']['remove'](_0x3c5e1b),this['_revisionTracker']['_createCurrentRevision'](_0x5e81e6));}const {revisions:_0x1a8c28,requestId:_0x47b6f7}=await this['_revisionHistoryService']['reconnect'](_0x1a1c8e['connection'],this['_lastRequestId']);_0x4b8641&&_0x1a8c28['length']>0x0?_0x3ec446['_handleReconnectionError']():(await this['_fetchMissingUsers'](_0x1a8c28),this['_handleRevisionsUpdate'](_0x1a8c28,_0x47b6f7),this['_revisionTracker']['sendBufferedUpdates']());};return _0x3ec446['_isConnected']?_0x5d600d():new Promise((_0x54b519,_0x2e9860)=>{_0x3ec446['once']('change:_isConnected',()=>{_0x5d600d()['then'](_0x54b519)['catch'](_0x2e9860);});});}['destroy'](){super['destroy']();}async['_waitForServiceReady'](){this['_revisionHistoryService']['isConnected']||await new Promise(_0x1d1c3a=>{this['listenTo'](this['_revisionHistoryService'],'connected',_0x5e7dda=>{_0x5e7dda['off'](),_0x1d1c3a();});});}['_getLatestVersionFromServerOperations'](){const _0x4a003e=this['editor']['plugins']['get'](RealTimeCollaborationClient)['serverHistory']['getOperations']()['reverse']();for(const _0x3ca369 of _0x4a003e)if('marker'!==_0x3ca369['type']||_0x3ca369['affectsData'])return _0x3ca369['baseVersion']+0x1;}['_getLatestVersion'](){const _0x2b5cd7=this['editor']['plugins']['get'](RealTimeCollaborationClient);return new Promise(_0x1e5653=>{_0x2b5cd7['_isPendingUpdate']?_0x2b5cd7['once']('change:_isPendingUpdate',()=>{_0x1e5653(this['_getLatestVersionFromServerOperations']());}):_0x1e5653(this['_getLatestVersionFromServerOperations']());});}['_handleRevisionsUpdate'](_0x2d1b34,_0x5b05ef){const _0x88ef2d=this['_revisionTracker']['repository'];this['_lastRequestId']=_0x5b05ef;for(const _0x37ad9b of _0x2d1b34){const _0x1eb263=_0x88ef2d['getRevision'](_0x37ad9b['id']);if(_0x1eb263){if((_0x37ad9b['fromVersion']||_0x37ad9b['toVersion'])&&(_0x37ad9b['diffData']=null),_0x1eb263===this['_revisionTracker']['currentRevision']){const _0x1d424c=Math['max'](_0x1eb263['toVersion'],_0x37ad9b['toVersion']),_0x495a94=Math['max'](_0x1eb263['fromVersion'],_0x37ad9b['fromVersion']);let _0x408a22;_0x1eb263['toVersion']===_0x37ad9b['toVersion']&&_0x1eb263['fromVersion']===_0x37ad9b['fromVersion']?(_0x408a22=!0x0,this['_preventResendingRevisionData'](_0x37ad9b)):_0x37ad9b['toVersion']===_0x1d424c&&_0x37ad9b['fromVersion']===_0x495a94?_0x408a22=!0x1:(_0x1eb263['toVersion']===_0x1d424c&&_0x1eb263['fromVersion']===_0x495a94||this['_fixRevision']({'revision':_0x1eb263,'from':_0x495a94,'to':_0x1d424c}),_0x408a22=!0x0),_0x408a22&&(delete _0x37ad9b['fromVersion'],delete _0x37ad9b['toVersion'],delete _0x37ad9b['diffData'],delete _0x37ad9b['createdAt'],delete _0x37ad9b['authorsIds']);}this['_revisionTracker']['setRevisionData'](_0x37ad9b),this['_preventResendingRevisionData'](_0x37ad9b);}else this['_revisionTracker']['addRevisionData'](_0x37ad9b);}const _0x5c0a8b=_0x88ef2d['getRevisions']();_0x5c0a8b['reverse']();for(let _0x13dc70=0x0;_0x13dc70<_0x5c0a8b['length']-0x1;_0x13dc70++){const _0x27a0f7=_0x5c0a8b[_0x13dc70],_0x96fecb=_0x5c0a8b[_0x13dc70+0x1];if(_0x27a0f7['fromVersion']<_0x96fecb['toVersion']){const _0x50a86a=_0x96fecb['toVersion'],_0x2dbcd3=Math['max'](_0x50a86a,_0x27a0f7['toVersion']);this['_fixRevision']({'revision':_0x27a0f7,'from':_0x50a86a,'to':_0x2dbcd3});}}}['_fixRevision']({revision:_0x4501f3,from:_0x5e0923,to:_0xb383c0}={}){const _0x427042=this['editor']['plugins']['get'](_0x17009e),_0x30cebb=this['_revisionTracker']['buildRevisionData']({'revision':_0x4501f3,'from':_0x5e0923,'to':_0xb383c0});_0x30cebb['authors']=_0x30cebb['authorsIds']['map'](_0x55d06b=>_0x427042['getUser'](_0x55d06b)),_0x4501f3['_update'](_0x30cebb);}['_preventResendingRevisionData'](_0x30dac1){const _0x3c4f5f={};_0x3c4f5f['id']=_0x30dac1['id'];for(const _0x1768d7 of Object['keys'](_0x30dac1))'id'!==_0x1768d7&&(_0x3c4f5f[_0x1768d7]=void 0x0);this['_revisionTracker']['_bufferUpdate'](_0x3c4f5f['id'],_0x3c4f5f,!0x0);}async['_fetchMissingUsers'](_0x5a60ce){const _0x49bb2d=this['editor']['plugins']['get'](_0x17009e),{connection:_0x4870d0}=this['editor']['plugins']['get'](WebSocketGateway),_0xd392f=new Set();for(const _0x4659ca of _0x5a60ce){for(const _0x32d608 of _0x4659ca['authorsIds'])_0x303300(_0x32d608);_0x4659ca['creatorId']&&_0x303300(_0x4659ca['creatorId']);}if(0x0===_0xd392f['size'])return;const _0x5b5126=await _0x3f1eee['getMany'](_0x4870d0,Array['from'](_0xd392f));for(const _0x5aa063 of _0x5b5126)_0x49bb2d['getUser'](_0x5aa063['id'])||_0x49bb2d['addUser'](_0x5aa063);function _0x303300(_0x1e3796){_0x49bb2d['getUser'](_0x1e3796)||_0xd392f['add'](_0x1e3796);}}}function isDisconnectionError(_0xde5a54){return _0xde5a54['message']['startsWith']('cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.')||_0xde5a54['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0xde5a54['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}class RealTimeCollaborativeRevisionHistory extends ckeditor5['Plugin']{static get['requires'](){return['RevisionHistory',CloudServicesRevisionHistoryAdapter,RealTimeCollaborativeEditing];}static get['pluginName'](){return'RealTimeCollaborativeRevisionHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class PresenceCounterView extends ckeditor5['View']{['_collapseAt'];constructor(_0x5f58f3,_0x22d757=0x6){super(_0x5f58f3);const _0x5abaf4=this['bindTemplate'];this['set']('isHidden',!0x0),this['set']('usersCount',0x0),this['_collapseAt']=_0x22d757,this['bind']('isHidden')['to'](this,'usersCount',_0x1a8729=>_0x1a8729<_0x22d757),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item',_0x5abaf4['if']('isHidden','ck-presence-list__counter--hidden')],'role':'listitem'},'children':[{'tag':'div','attributes':{'class':['ck','ck-presence-list__users-counter']},'children':[{'tag':'div','attributes':{'class':['ck','ck-presence-list__users-counter__text']},'children':[{'text':_0x5abaf4['to']('usersCount',_0x539112=>'+'+(_0x539112-this['_collapseAt']+0x2)['toString']())}]}]}]});}}class PresenceInlineListView extends ckeditor5['View']{['items'];['keystrokes'];constructor(_0x2c45b7){super(_0x2c45b7);const _0x56122c=this['bindTemplate'];this['items']=this['createCollection'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['set']({'hasPopup':!0x1,'isExpanded':!0x1}),this['setTemplate']({'tag':'div','attributes':{'aria-haspopup':_0x56122c['if']('hasPopup'),'aria-expanded':_0x56122c['to']('isExpanded',_0x556094=>this['hasPopup']&&String(_0x556094)),'aria-label':_0x56122c['to']('hasPopup',_0x2be229=>getTranslation$6(_0x2c45b7,_0x2be229?'Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'Connected\x20users\x20list')),'role':'list','tabindex':_0x56122c['to']('hasPopup',_0x20988e=>!!_0x20988e&&0x0),'class':['ck','ck-presence-list__list']},'children':this['items'],'on':{'mouseenter':_0x56122c['to'](()=>this['fire']('presencelist:show')),'mouseleave':_0x56122c['to'](_0x193172=>{const _0x34838a=_0x193172,_0x5aa79c=document['querySelector']('.ck-presence-list__dropdown-list'),_0x4d6434=document['querySelector']('.ck-balloon-panel_with-arrow');_0x5aa79c?.['contains'](_0x34838a['relatedTarget'])||_0x4d6434?.['contains'](_0x34838a['relatedTarget'])||this['fire']('presencelist:hide');})}}),this['on']('change:hasPopup',(_0x5c90b4,_0x2a9a8d,_0x44266d)=>{this['element']&&(_0x44266d?this['element']['setAttribute']('aria-expanded',String(this['isExpanded'])):this['element']['removeAttribute']('aria-expanded'));});}['focus'](){this['element']['focus']();}['render'](){super['render'](),this['keystrokes']['listenTo'](this['element']);}}class PresenceListView extends ckeditor5['View']{['counterView'];['inlineListView'];constructor(_0x3a70d5,_0x26bd85=0x6){super(_0x3a70d5);const _0x1a8489=this['bindTemplate'];this['set']('isCollapsed',!0x0),this['counterView']=new PresenceCounterView(this['locale'],_0x26bd85),this['inlineListView']=new PresenceInlineListView(_0x3a70d5),this['inlineListView']['bind']('hasPopup')['to'](this,'isCollapsed'),this['listenTo'](this['inlineListView']['items'],'change',()=>{for(const _0x368b36 of this['inlineListView']['items'])_0x368b36['tooltipPosition']='s';this['inlineListView']['items']['first']&&(this['inlineListView']['items']['first']['tooltipPosition']='se');}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-presence-list','ck-reset','ck-rounded-corners',_0x1a8489['if']('isCollapsed','ck-presence-list--collapsed')]},'children':[this['inlineListView']]});}}class PresenceDropdownListView extends ckeditor5['View']{['listWrapperView'];constructor(_0x1c2ace,_0x3f71c1){super(_0x1c2ace);const _0x496553=this['bindTemplate'];this['listWrapperView']=new PresenceDropdownListWrapperView(_0x1c2ace,_0x3f71c1),this['setTemplate']({'tag':'div','attributes':{'tabindex':-0x1,'role':'application','class':['ck','ck-presence-list__dropdown-list'],'aria-label':getTranslation$6(_0x1c2ace,'Connected\x20users\x20list\x20dropdown\x20menu')},'children':[this['listWrapperView']],'on':{'mouseleave':_0x496553['to'](_0xd62891=>{const _0x2b5ee8=_0xd62891,_0x332a4f=document['querySelector']('.ck-presence-list__list'),_0x3f27e7=document['querySelector']('.ck-balloon-panel_with-arrow');_0x332a4f?.['contains'](_0x2b5ee8['relatedTarget'])||_0x3f27e7?.['contains'](_0x2b5ee8['relatedTarget'])||this['fire']('presencelist:hide');})}});}}class PresenceDropdownListWrapperView extends ckeditor5['ListView']{constructor(_0x333d1b,_0x26877f){super(_0x333d1b);const _0x331db0=this['bindTemplate'];this['set']('_isScrollable',!0x1),this['setTemplate']({'tag':_0x26877f?'div':'ul','attributes':{'class':['ck','ck-reset','ck-list','ck-presence-list__dropdown-list-wrapper',_0x331db0['if']('_isScrollable','ck-presence-list__dropdown-list-wrapper_scrollable')],'role':_0x331db0['to']('role'),'aria-label':_0x331db0['to']('ariaLabel'),'aria-labelledby':_0x331db0['to']('ariaLabelledBy')},'children':this['items']}),this['listenTo'](ckeditor5['global']['window'],'resize',()=>this['checkIfScrollable']()),this['items']['on']('change',()=>this['checkIfScrollable']());}['render'](){super['render'](),this['checkIfScrollable']();}['checkIfScrollable'](){const _0xd0c1b0=this['element'];_0xd0c1b0&&(this['_isScrollable']=Math['max'](_0xd0c1b0['scrollHeight'],_0xd0c1b0['clientHeight'])>0.8*window['innerHeight']);}}class PresenceDropdownListItemView extends ckeditor5['ListItemView']{['userView'];constructor(_0x2c0844,_0x1e2e0c,_0x3662af){super(_0x2c0844);const _0x1baece=this['bindTemplate'];this['userView']=new _0xc99411(_0x2c0844,_0x1e2e0c);const _0x569efa={'tag':'li','attributes':{'class':['ck','ck-presence-list__dropdown-list-item'],'tabindex':-0x1,'role':'presentation','aria-label':_0x1e2e0c['name']},'children':[this['userView'],{'tag':'span','attributes':{'class':['ck','ck-user__full-name']},'children':[{'text':_0x1e2e0c['name']}]},{'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x1e2e0c['color']['getBackgroundColorClass']()],'aria-hidden':'true'}}]};_0x3662af&&(_0x569efa['tag']='button',_0x569efa['on']={'click':_0x1baece['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x569efa);}['focus'](){this['element']['focus']();}}class PresenceInlineListItemView extends ckeditor5['View']{['userView'];['markerView'];constructor(_0x563c34,_0x1852a6,_0x3fb649){super(_0x563c34);const _0x3e3f9e=this['bindTemplate'];this['set']('isFocusable',!0x1),this['set']('hasTooltip',!0x0),this['set']('tooltipPosition',''),this['userView']=new _0xc99411(_0x563c34,_0x1852a6),this['markerView']=new _0x2a75e4(_0x563c34,_0x1852a6);const _0x2913df=new ckeditor5['LabelView'](_0x563c34);_0x2913df['template']['tag']='span',_0x2913df['text']=_0x1852a6['name'];const _0x3f18dd={'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item'],'role':'listitem','tabindex':_0x3e3f9e['to']('isFocusable',_0x30b8a2=>!!_0x30b8a2&&0x0),'aria-labelledby':_0x2913df['id'],'data-cke-tooltip-text':this['userView']['name'],'data-cke-tooltip-position':_0x3e3f9e['to']('tooltipPosition'),'data-cke-tooltip-disabled':_0x3e3f9e['to']('hasTooltip',_0xd0bd3f=>!_0xd0bd3f),'data-cke-tooltip-class':'ck-presence-list__list-item__tooltip'},'children':[this['userView'],this['markerView'],_0x2913df]};_0x3fb649&&(_0x3f18dd['tag']='button',_0x3f18dd['on']={'click':_0x3e3f9e['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x3f18dd);}}class _0x2a75e4 extends ckeditor5['View']{constructor(_0x3f467b,_0x454892){super(_0x3f467b),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x454892['color']['getBackgroundColorClass']()],'aria-hidden':'true'}});}}const defaultPresenceListConfig={'collapseAt':0x6,'displayMe':!0x0};class PresenceListUI extends ckeditor5['ContextPlugin']{['currentDisplayedUsers'];['balloonPanelView'];['view'];['presenceDropdownView'];['_bodyCollection']=null;static get['pluginName'](){return'PresenceListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2e775b){super(_0x2e775b),this['context']['config']['define']('presenceList',defaultPresenceListConfig);const _0x3ce8ea=_0x2e775b['config']['get']('presenceList.collapseAt');if('number'!=typeof _0x3ce8ea)throw new ckeditor5['CKEditorError']('presencelist-collapseat-invalid-format',this);if(_0x3ce8ea<0x1)throw new ckeditor5['CKEditorError']('presencelist-collapseat-invalid-format',this);this['_allConnectedUsers']=this['context']['plugins']['get'](_0x5ba7c3)['allConnectedUsers'],this['set']('usersCount',0x0),this['currentDisplayedUsers']=new ckeditor5['Collection'](),this['balloonPanelView']=new ckeditor5['BalloonPanelView'](),this['balloonPanelView']['class']='ck\x20ck-presence-list__balloon',this['view']=this['_createView'](),this['presenceDropdownView']=void 0x0;}static get['requires'](){return[_0x5ba7c3];}['init'](){for(const _0x114edf of this['_allConnectedUsers'])this['_handleUserAdd'](_0x114edf);this['listenTo'](this['_allConnectedUsers'],'add',(_0x45be52,_0x43cbef)=>{this['_handleUserAdd'](_0x43cbef);}),this['listenTo'](this['_allConnectedUsers'],'remove',(_0x5db307,_0x422738)=>{this['_handleUserRemove'](_0x422738);});}['_createView'](){const _0x54261c=this['context'],_0x20fccc=new PresenceListView(this['context']['locale'],this['context']['config']['get']('presenceList.collapseAt')),_0x3793f8=this['balloonPanelView'];if(!isElement$2(_0x54261c['config']['get']('presenceList.container')))throw new ckeditor5['CKEditorError']('presencelist-missing-container',this);return _0x20fccc['counterView']['bind']('usersCount')['to'](this),_0x20fccc['bind']('isCollapsed')['to'](this,'usersCount',_0xc2a07a=>{const {collapseAt:_0x15e882}=_0x54261c['config']['get']('presenceList'),_0x5ae007=_0xc2a07a>=_0x15e882;if(_0x5ae007&&!_0x20fccc['inlineListView']['items']['find'](_0x1efc6f=>_0x1efc6f instanceof PresenceCounterView)){const _0x5381c5=this['context']['config']['get']('presenceList.collapseAt')-0x1;this['currentDisplayedUsers']['length']==_0x5381c5&&this['currentDisplayedUsers']['length']>0x1&&this['currentDisplayedUsers']['remove'](this['currentDisplayedUsers']['length']-0x1),_0x20fccc['inlineListView']['items']['add'](_0x20fccc['counterView']);}return _0x5ae007||this['hideDropdown'](),_0x5ae007;}),_0x20fccc['inlineListView']['items']['bindTo'](this['currentDisplayedUsers'])['using'](_0x28d6a2=>{const _0x1e4f81=_0x54261c['config']['get']('presenceList'),_0x596873=new PresenceInlineListItemView(_0x54261c['locale'],_0x28d6a2,!!_0x1e4f81['onClick']);return _0x596873['bind']('hasTooltip')['to'](_0x20fccc,'isCollapsed',_0x5896e0=>!_0x5896e0),_0x596873['bind']('isFocusable')['to'](_0x20fccc,'isCollapsed',_0x52ca0a=>!_0x52ca0a),_0x1e4f81['onClick']&&this['listenTo'](_0x596873,'execute',()=>{this['view']['isCollapsed']||_0x1e4f81['onClick'](_0x28d6a2,_0x596873['element']);}),_0x596873;}),this['listenTo'](_0x20fccc['inlineListView'],'presencelist:show',()=>{this['view']['isCollapsed']&&this['showDropdown']();}),this['listenTo'](_0x20fccc['inlineListView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();}),_0x20fccc['inlineListView']['keystrokes']['set']('Enter',(_0x302556,_0x96432d)=>{this['view']['isCollapsed']&&(this['showDropdown'](),_0x96432d());}),_0x20fccc['render'](),_0x3793f8['render'](),ckeditor5['clickOutsideHandler']({'emitter':_0x20fccc,'activator':()=>_0x3793f8['isVisible'],'contextElements':[_0x3793f8['element'],_0x20fccc['inlineListView']['element']],'callback':()=>this['hideDropdown']()}),_0x54261c['config']['get']('presenceList.container')['appendChild'](_0x20fccc['element']),this['_bodyCollection']=new ckeditor5['BodyCollection'](this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_bodyCollection']['add'](this['balloonPanelView']),_0x20fccc;}['_handleUserAdd'](_0x59aba1){if(!this['context']['config']['get']('presenceList.displayMe')&&_0x59aba1['isMe'])return;const _0x2b56d1=this['context']['config']['get']('presenceList.collapseAt')-0x1;for(this['usersCount']++;this['currentDisplayedUsers']['length']>=_0x2b56d1-(this['view']['isCollapsed']?0x1:0x0)&&this['currentDisplayedUsers']['length']>0x1;)this['currentDisplayedUsers']['remove'](0x1);const _0x534fca=_0x59aba1['isMe']?0x0:this['currentDisplayedUsers']['length'];this['currentDisplayedUsers']['add'](_0x59aba1,_0x534fca);}['_handleUserRemove'](_0x248639){this['usersCount']--;const {collapseAt:_0x18f91f}=this['context']['config']['get']('presenceList'),_0x227f1d=this['usersCount']>=_0x18f91f;if(this['currentDisplayedUsers']['get'](_0x248639['id']))this['currentDisplayedUsers']['remove'](_0x248639['id']);else{if(_0x227f1d&&this['currentDisplayedUsers']['length']+0x1===_0x18f91f-0x1)return;}if(this['currentDisplayedUsers']['length']+(_0x227f1d?0x1:0x0)<this['usersCount']){for(const _0x2aa9ed of Array['from'](this['_allConnectedUsers'])['reverse']())if(!this['currentDisplayedUsers']['get'](_0x2aa9ed['id'])&&(this['currentDisplayedUsers']['add'](_0x2aa9ed,Math['min'](this['currentDisplayedUsers']['length']-(_0x227f1d?0x1:0x0),0x1)),this['currentDisplayedUsers']['length']+(_0x227f1d?0x1:0x0)===_0x18f91f-0x1))return;}}['showDropdown'](){if(this['presenceDropdownView'])return;const _0x2b62e6=this['context']['config']['get']('presenceList');this['presenceDropdownView']=new PresenceDropdownListView(this['context']['locale'],!!_0x2b62e6['onClick']),this['view']['inlineListView']['isExpanded']=!0x0,this['listenTo'](this['presenceDropdownView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();});const {listWrapperView:_0x58688b}=this['presenceDropdownView'];_0x58688b['items']['bindTo'](this['_allConnectedUsers'])['using'](_0x5f6ea9=>{if(!_0x2b62e6['displayMe']&&_0x5f6ea9['isMe'])return null;const _0x448c4c=new PresenceDropdownListItemView(this['context']['locale'],_0x5f6ea9,!!_0x2b62e6['onClick']);return _0x2b62e6['onClick']&&this['listenTo'](_0x448c4c,'execute',()=>{_0x2b62e6['onClick'](_0x5f6ea9,_0x448c4c['element']);}),_0x448c4c;}),this['balloonPanelView']['content']['add'](this['presenceDropdownView']),this['balloonPanelView']['pin']({'target':this['view']['inlineListView']['element']}),_0x58688b['focus'](),_0x58688b['checkIfScrollable']();const _0x5336d9=(_0xdb5e09,_0x2c5af7)=>{this['hideDropdown'](),this['view']['inlineListView']['focus'](),_0x2c5af7();};_0x58688b['keystrokes']['set']('Esc',_0x5336d9),_0x58688b['keystrokes']['set']('Shift+Tab',_0x5336d9),_0x58688b['keystrokes']['set']('Tab',(_0x4b7fa5,_0x13876f)=>{focusNextElement(this['view']['element']),this['hideDropdown'](),_0x13876f();}),_0x58688b['focusTracker']['add'](this['view']['element']),_0x58688b['focusTracker']['on']('change:isFocused',(_0x464b7a,_0x15b3f0,_0x11966a)=>{_0x11966a||this['hideDropdown']();});}['hideDropdown'](){this['presenceDropdownView']&&(this['view']['inlineListView']['isExpanded']=!0x1,this['balloonPanelView']['unpin'](),this['balloonPanelView']['content']['remove'](this['presenceDropdownView']),this['presenceDropdownView']['destroy'](),this['presenceDropdownView']=void 0x0);}['destroy'](){super['destroy'](),this['view']&&this['view']['isRendered']&&this['view']['destroy'](),this['_bodyCollection']&&(this['_bodyCollection']['detachFromDom'](),this['_bodyCollection']['destroy'](),this['_bodyCollection']=null);}}function focusNextElement(_0x106792){const _0x24b72b=['a','button','input','select','textarea','[tabindex]','[contenteditable]']['map'](_0x527441=>_0x527441+':not([disabled]):not([tabindex=\x22-1\x22])')['join'](','),_0x11b263=[...document['body']['querySelectorAll'](_0x24b72b)]['filter'](_0x217512=>_0x217512===document['activeElement']||_0x217512['offsetWidth']+_0x217512['offsetHeight']>0x0)['sort']((_0x2c30ff,_0x2e78e5)=>(_0x2c30ff['tabIndex']||0x0)-(_0x2e78e5['tabIndex']||0x0)),_0x4fa723=_0x11b263['indexOf'](_0x106792),_0x29d9f7=_0x11b263[(_0x4fa723+0x1)%_0x11b263['length']];_0x29d9f7&&_0x29d9f7['focus']();}class PresenceList extends ckeditor5['ContextPlugin']{static get['requires'](){return[_0x5ba7c3,PresenceListUI];}static get['pluginName'](){return'PresenceList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class _0x2eba52 extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x1fb44d){super(),this['id']=_0x1fb44d['id']||ckeditor5['uid'](),this['creator']=_0x1fb44d['creator']||null,this['authors']=_0x1fb44d['authors']||[],this['diffData']=_0x1fb44d['diffData']||null,this['toVersion']=_0x1fb44d['toVersion']||0x0,this['fromVersion']=_0x1fb44d['fromVersion']||0x0,this['set']('name',_0x1fb44d['name']||''),this['set']('createdAt',_0x1fb44d['createdAt']||new Date()),this['set']('attributes',_0x1fb44d['attributes']||{});}['setName'](_0x35895d){this['_update']({'name':_0x35895d});}['setAttribute'](_0x59b6a3,_0x17cf9c){const _0x35c202=_0x402449(this['attributes']);set(_0x35c202,_0x59b6a3,_0x17cf9c),this['_update']({'attributes':_0x35c202});}['removeAttribute'](_0x5296b2){const _0x1309a5=_0x402449(this['attributes']);unset(_0x1309a5,_0x5296b2),this['_update']({'attributes':_0x1309a5});}['_update'](_0x178442,_0x458461=!0x1){let _0x11c90b=!0x1;const _0xd573b6={'id':this['id']},_0x3e4f67=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x911bfa of _0x3e4f67){const _0x1b8fe5=_0x178442[_0x911bfa];void 0x0!==_0x1b8fe5&&_0x1b8fe5!==this[_0x911bfa]&&(this[_0x911bfa]=_0x1b8fe5,_0xd573b6[_0x911bfa]=_0x1b8fe5,_0x11c90b=!0x0);}_0x11c90b&&(_0xd573b6['authors']&&(_0xd573b6['authorsIds']=_0xd573b6['authors']['map'](_0x20cfe9=>_0x20cfe9['id']),delete _0xd573b6['authors']),this['fire']('_update',_0xd573b6,_0x458461));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x1855ef=>_0x1855ef['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class RevisionsRepository extends ckeditor5['Plugin']{['_revisions'];static get['requires'](){return[_0x17009e];}static get['pluginName'](){return'RevisionsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['length'](){return this['_revisions']['length'];}constructor(_0x87e98e){super(_0x87e98e),this['_revisions']=new ckeditor5['Collection']();}['afterInit'](){_0x58839c(this);}['createRevision'](_0x349467){const _0x54be87=this['editor']['plugins']['get']('Users');return new _0x2eba52({'id':_0x349467['id'],'name':_0x349467['name'],'creator':_0x349467['creatorId']?_0x54be87['getUser'](_0x349467['creatorId']):null,'diffData':_0x349467['diffData']||_0x349467['data'],'authors':_0x349467['authorsIds']['map'](_0x4946f7=>_0x54be87['getUser'](_0x4946f7)),'createdAt':new Date(_0x349467['createdAt']),'attributes':_0x349467['attributes'],'fromVersion':_0x349467['fromVersion'],'toVersion':_0x349467['toVersion']});}['addRevision'](_0x578857,_0x138617=0x0){this['_revisions']['add'](_0x578857,_0x138617);}['getRevision'](_0x56a8e5){return this['_revisions']['get'](_0x56a8e5);}['getRevisions'](_0x4d2fc0={'toJSON':!0x1}){const _0x7bf250=Array['from'](this['_revisions']);return _0x7bf250['reverse'](),_0x4d2fc0['toJSON']?_0x7bf250['map'](_0xb803cf=>_0xb803cf['toJSON']()):_0x7bf250;}['getIndex'](_0x12cbb4){return this['_revisions']['getIndex'](_0x12cbb4);}['getEarlierVisibleRevision'](_0x481be2){const [,_0x260f70]=this['getRevisionsIterator'](_0x481be2,{'direction':'earlier'});return _0x260f70;}['getLaterVisibleRevision'](_0x2420d2){const [,_0x39ff40]=this['getRevisionsIterator'](_0x2420d2,{'direction':'later'});return _0x39ff40;}['getRevisionsInDiff'](_0x1a864c){const _0x3e4ee1=[];for(const _0x333af2 of this['getRevisionsIterator'](_0x1a864c['newRevisionId']))if(_0x3e4ee1['push'](_0x333af2),_0x333af2['id']===_0x1a864c['oldRevisionId'])break;return _0x3e4ee1;}*['getRevisionsIterator'](_0x339031,{direction:_0x465175='earlier',filter:_0x204d5b=()=>!0x0}={}){const _0x41103e='earlier'===_0x465175?0x1:-0x1;let _0x19cc05=this['_revisions']['get'](_0x339031),_0x4e2833=this['getIndex'](_0x19cc05);for(yield _0x19cc05;_0x19cc05;){if(_0x4e2833+=_0x41103e,_0x19cc05=this['getRevision'](_0x4e2833),!_0x19cc05)return;_0x204d5b(_0x19cc05)&&(yield _0x19cc05);}}}async function _0x58839c(_0x4e29ea){const _0x5684b5=_0x126b62([0x76,0x73,0x6d,0x4c,0x34,0x54,0x50,0x70,0x75,0x52,0x35,0x33,0x4d,0x6c,0x71,0x53,0x6a,0x32,0x56,0x58,0x77,0x48,0x39,0x6f,0x45,0x41,0x4e,0x38,0x46,0x78,0x4a,0x74,0x47,0x55,0x4f,0x64,0x62,0x44,0x43,0x5a,0x30,0x31,0x69,0x68,0x79,0x66,0x6b,0x42,0x51,0x59,0x36,0x61,0x63,0x67,0x7a,0x37,0x72,0x49,0x65,0x57,0x4b,0x6e]),_0x49a72e=0xeb829,_0x3d26ae=window[_0x126b62([0x44,0x61,0x74,0x65])][_0x126b62([0x6e,0x6f,0x77])](),_0x220268=_0x4e29ea[_0x126b62([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x19df52=new window[(_0x126b62([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x512662=>{_0x220268[_0x126b62([0x6f,0x6e,0x63,0x65])](_0x126b62([0x72,0x65,0x61,0x64,0x79]),_0x512662);}),_0x55306d={[_0x126b62([0x6b,0x74,0x79])]:_0x126b62([0x45,0x43]),[_0x126b62([0x75,0x73,0x65])]:_0x126b62([0x73,0x69,0x67]),[_0x126b62([0x63,0x72,0x76])]:_0x126b62([0x50,0x2d,0x32,0x35,0x36]),[_0x126b62([0x78])]:_0x126b62([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x126b62([0x79])]:_0x126b62([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x126b62([0x61,0x6c,0x67])]:_0x126b62([0x45,0x53,0x32,0x35,0x36])},_0xe521eb=_0x220268[_0x126b62([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x126b62([0x67,0x65,0x74])](_0x126b62([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x3d7784=await(async function(){let _0x4d6bc2,_0x8a9507=null,_0x1d6292=null;try{if(_0xe521eb==_0x126b62([0x47,0x50,0x4c]))return _0x126b62([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4d6bc2=(function(){const _0x32afee=_0xe521eb[_0x126b62([0x73,0x70,0x6c,0x69,0x74])](_0x126b62([0x2e]));if(0x3!=_0x32afee[_0x126b62([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x549ba9=_0x32afee[0x1];return _0x565dce(_0x549ba9);function _0x565dce(_0x51e4cb){const _0x377a82=_0x5a2d41(_0x51e4cb);return _0x377a82&&_0x1ede33()?_0x377a82:null;function _0x1ede33(){const _0x1f8100=_0x377a82[_0x126b62([0x6a,0x74,0x69])],_0x33c1da=window[_0x126b62([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f8100[_0x126b62([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f8100[_0x126b62([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x473490={..._0x377a82,[_0x126b62([0x6a,0x74,0x69])]:_0x1f8100[_0x126b62([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1f8100[_0x126b62([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x473490[_0x126b62([0x76,0x63])],_0x227b01(_0x473490)==_0x33c1da;}}}()),!_0x4d6bc2)return _0x126b62([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x4d6bc2[_0x126b62([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1d6292=function(_0x136a7d,_0x4b5dfe){return new window[(_0x126b62([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49e29b=>{if(_0x31d914())return _0x49e29b(_0x126b62([0x56,0x61,0x6c,0x69,0x64]));_0x36026b(),_0x220268[_0x126b62([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x126b62([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1c4ab9=!0x1;const _0x15be01=ckeditor5['uid']();function _0x10d271(_0xaff690){return!!_0xaff690&&(typeof _0xaff690===_0x126b62([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xaff690===_0x126b62([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xaff690[_0x126b62([0x74,0x68,0x65,0x6e])]===_0x126b62([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xaff690[_0x126b62([0x63,0x61,0x74,0x63,0x68])]===_0x126b62([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x190835(_0x29fe3d){_0x119419(_0x29fe3d)[_0x126b62([0x74,0x68,0x65,0x6e])](_0x1ed472=>{if(!_0x1ed472||_0x1ed472[_0x126b62([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x126b62([0x6f,0x6b]))return _0x126b62([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xb96d22(_0x227b01(_0x15be01+_0x4b5dfe))!=_0x1ed472[_0x126b62([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x126b62([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x126b62([0x56,0x61,0x6c,0x69,0x64]);})[_0x126b62([0x74,0x68,0x65,0x6e])](_0x381031=>(_0x22be2e(),_0x381031),()=>{const _0x23192c=_0x3dbb92();return null==_0x23192c?(_0x22be2e(),_0x126b62([0x56,0x61,0x6c,0x69,0x64])):_0x126b62(_0x3d26ae-_0x23192c>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x126b62([0x74,0x68,0x65,0x6e])](_0x49e29b)[_0x126b62([0x63,0x61,0x74,0x63,0x68])](()=>{_0x49e29b(_0x126b62([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4d27ae=0x36ee80;function _0x22be2e(){const _0x135dac=_0x126b62([0x6c,0x6c,0x63,0x74,0x2d])+_0xb96d22(_0x227b01(_0x136a7d)),_0x31d73f=_0x4e0056(_0xb96d22(window[_0x126b62([0x4d,0x61,0x74,0x68])][_0x126b62([0x63,0x65,0x69,0x6c])](_0x3d26ae/_0x4d27ae)));window[_0x126b62([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x126b62([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x135dac,_0x31d73f);}function _0x3dbb92(){const _0x4c8efb=_0x126b62([0x6c,0x6c,0x63,0x74,0x2d])+_0xb96d22(_0x227b01(_0x136a7d)),_0x858359=window[_0x126b62([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x126b62([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c8efb);return _0x858359?window[_0x126b62([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e0056(_0x858359),0x10)*_0x4d27ae:null;}function _0x119419(_0x16ac77){return new window[(_0x126b62([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ff295,_0x4b3b52)=>{_0x16ac77[_0x126b62([0x74,0x68,0x65,0x6e])](_0x1ff295,_0x4b3b52),window[_0x126b62([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4b3b52,0x1d4c0);});}}_0x220268[_0x126b62([0x6f,0x6e])](_0x126b62([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x9b48c5,_0x33a4bd)=>{if(_0x33a4bd[0x0]!=_0x136a7d)return _0x49e29b(_0x126b62([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x33a4bd[0x1]={..._0x33a4bd[0x1],[_0x126b62([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x15be01};},{[_0x126b62([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x126b62([0x68,0x69,0x67,0x68])}),_0x220268[_0x126b62([0x6f,0x6e])](_0x126b62([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x40029a=>{_0x10d271(_0x40029a[_0x126b62([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1c4ab9=!0x0,_0x190835(_0x40029a[_0x126b62([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x126b62([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x126b62([0x6c,0x6f,0x77])}),_0x19df52[_0x126b62([0x74,0x68,0x65,0x6e])](()=>{_0x1c4ab9||_0x49e29b(_0x126b62([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x31d914(){return _0x220268[_0x126b62([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x126b62([0x76,0x69,0x65,0x77])][_0x126b62([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x126b62([0x61,0x75,0x74,0x6f]);}function _0x36026b(){_0x220268[_0x126b62([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x126b62([0x76,0x69,0x65,0x77])][_0x126b62([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x126b62([0x61,0x75,0x74,0x6f]);}}(_0x4d6bc2[_0x126b62([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4d6bc2[_0x126b62([0x6a,0x74,0x69])]));const _0x2dab12=await(async function(){let _0x56b91=!0x0;try{const _0x5a05f2=_0xe521eb[_0x126b62([0x73,0x70,0x6c,0x69,0x74])](_0x126b62([0x2e])),[_0x280dd1,_0x19c968,_0x13b669]=_0x5a05f2;return _0x4b08b8(_0x280dd1),await _0x1298c2(_0x280dd1,_0x19c968,_0x13b669),_0x56b91;}catch{return!0x1;}function _0x4b08b8(_0x16bfbc){const _0x4a5f1a=_0x5a2d41(_0x16bfbc);_0x4a5f1a&&_0x4a5f1a[_0x126b62([0x61,0x6c,0x67])]==_0x126b62([0x45,0x53,0x32,0x35,0x36])||(_0x56b91=!0x1);}async function _0x1298c2(_0x5cd200,_0x4e4354,_0x402809){const _0x5f3ce2=window[_0x126b62([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x126b62([0x66,0x72,0x6f,0x6d])](_0x57f539(_0x402809),_0x57ea11=>_0x57ea11[_0x126b62([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3298b3=new window[(_0x126b62([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x126b62([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5cd200+_0x126b62([0x2e])+_0x4e4354),_0x4cb945=window[_0x126b62([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x126b62([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4cb945)return;const _0x4393be=await _0x4cb945[_0x126b62([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x126b62([0x6a,0x77,0x6b]),_0x55306d,{[_0x126b62([0x6e,0x61,0x6d,0x65])]:_0x126b62([0x45,0x43,0x44,0x53,0x41]),[_0x126b62([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x126b62([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x126b62([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4cb945[_0x126b62([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x126b62([0x6e,0x61,0x6d,0x65])]:_0x126b62([0x45,0x43,0x44,0x53,0x41]),[_0x126b62([0x68,0x61,0x73,0x68])]:{[_0x126b62([0x6e,0x61,0x6d,0x65])]:_0x126b62([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4393be,_0x5f3ce2,_0x3298b3)||(_0x56b91=!0x1);}}());return _0x2dab12?(function(){const _0x4f8f37=_0x4d6bc2[_0x126b62([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x4f8f37)return!0x1;if(_0x4f8f37[_0x126b62([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x126b62([0x2a])))return!0x0;if(_0x4f8f37[_0x126b62([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x126b62([0x52,0x48])))return!0x0;if(_0x4f8f37[_0x126b62([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x126b62([0x52,0x52,0x48]))){if(_0x13dc9c(_0x126b62([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x53cbea(_0x126b62([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x126b62([0x73,0x74,0x61,0x74,0x65])]==_0x126b62([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]))return!0x0;if(_0x13dc9c(_0x126b62([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))||_0x13dc9c(_0x126b62([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72])))return!0x0;}return!0x1;}())?(function(){const _0x280100=[_0x126b62([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x126b62([0x74,0x72,0x69,0x61,0x6c])][_0x126b62([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d6bc2[_0x126b62([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3d26ae/0x3e8:0x69e96100;return _0x4d6bc2[_0x126b62([0x65,0x78,0x70])]<_0x280100;}())?_0x126b62([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0xb81380=_0x4d6bc2[_0x126b62([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xb81380||0x0==_0xb81380[_0x126b62([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x21a625}=new URL(window[_0x126b62([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xb81380[_0x126b62([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21a625))return!0x0;const _0x483b03=_0x21a625[_0x126b62([0x73,0x70,0x6c,0x69,0x74])](_0x126b62([0x2e]));return _0xb81380[_0x126b62([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5aae0c=>_0x5aae0c[_0x126b62([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x126b62([0x2a])))[_0x126b62([0x6d,0x61,0x70])](_0x439810=>_0x439810[_0x126b62([0x73,0x70,0x6c,0x69,0x74])](_0x126b62([0x2e])))[_0x126b62([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5c5993=>_0x5c5993[_0x126b62([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x483b03[_0x126b62([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x126b62([0x6d,0x61,0x70])](_0x1c0a26=>Array(_0x483b03[_0x126b62([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1c0a26[_0x126b62([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x126b62([0x66,0x69,0x6c,0x6c])](_0x1c0a26[0x0]===_0x126b62([0x2a])?_0x126b62([0x2a]):'')[_0x126b62([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1c0a26))[_0x126b62([0x73,0x6f,0x6d,0x65])](_0x22d841=>_0x483b03[_0x126b62([0x65,0x76,0x65,0x72,0x79])]((_0x263772,_0x3707ba)=>_0x22d841[_0x3707ba]===_0x263772||_0x22d841[_0x3707ba]===_0x126b62([0x2a])));}())?(_0x4d6bc2[_0x126b62([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x126b62([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x8a9507=function(_0x243454){const _0x5e4ea3=new window[(_0x126b62([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1523de=>setTimeout(_0x1523de,0x93ecc)),_0x4f04ae=_0x19df52[_0x126b62([0x74,0x68,0x65,0x6e])](()=>new window[(_0x126b62([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x493cc0=>{const _0x5527f2=0x7,_0x11e0ef=_0x4e29ea[_0x126b62([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];function _0x35df13(){_0x11e0ef[_0x126b62([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x5527f2&&_0x493cc0();}_0x35df13(),_0x11e0ef[_0x126b62([0x6f,0x6e])](_0x126b62([0x61,0x64,0x64]),_0x35df13);})),_0x569f8c=new window[(_0x126b62([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5538b9=>{function _0x1cff5a(){for(const _0x602511 in window)if(window[_0x126b62([0x4e,0x75,0x6d,0x62,0x65,0x72])]['isNaN'](window[_0x126b62([0x4e,0x75,0x6d,0x62,0x65,0x72])](_0x602511))&&window[_0x602511]==_0x49a72e)return _0x5538b9();_0x220268[_0x126b62([0x73,0x74,0x61,0x74,0x65])]!=_0x126b62([0x64,0x65,0x73,0x74,0x72,0x6f,0x79,0x65,0x64])&&window[_0x126b62([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1cff5a,0x1388);}_0x13dc9c(_0x126b62([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&_0x1cff5a();}),_0x139dc1=[_0x5e4ea3,_0x4f04ae,_0x569f8c];return window[_0x126b62([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x126b62([0x72,0x61,0x63,0x65])](_0x139dc1)[_0x126b62([0x74,0x68,0x65,0x6e])](()=>_0x243454);}(_0x126b62([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x8a9507&&_0x1d6292)return new window[(_0x126b62([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x451e8e,_0x279cab)=>{_0x8a9507[_0x126b62([0x74,0x68,0x65,0x6e])](_0x451e8e,_0x279cab),_0x1d6292[_0x126b62([0x74,0x68,0x65,0x6e])](_0x1acafb=>{_0x1acafb!=_0x126b62([0x56,0x61,0x6c,0x69,0x64])&&_0x451e8e(_0x1acafb);},_0x279cab);});return _0x8a9507||_0x1d6292||_0x126b62([0x56,0x61,0x6c,0x69,0x64]);}())):_0x126b62([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x126b62([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x126b62([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x126b62([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x453c73(){const _0x41f8ee=window[_0x126b62([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x126b62([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x126b62([0x6e,0x6f,0x77])]())[_0x126b62([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x126b62([0x2e]),'');let _0xd0239a=_0x126b62([0x76]);for(let _0x42a957=0x0;_0x42a957<_0x41f8ee[_0x126b62([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x42a957+=0x2){let _0x1a0744=window[_0x126b62([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x41f8ee[_0x126b62([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x42a957,_0x42a957+0x2));_0x1a0744>=_0x5684b5[_0x126b62([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1a0744-=_0x5684b5[_0x126b62([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xd0239a+=_0x5684b5[_0x1a0744];}return _0xd0239a;}function _0x5a2d41(_0x3ccd9d){return _0x3ccd9d[_0x126b62([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x126b62([0x65,0x79]))?JSON[_0x126b62([0x70,0x61,0x72,0x73,0x65])](_0x57f539(_0x3ccd9d)):null;}function _0x57f539(_0x3c1b08){return window[_0x126b62([0x61,0x74,0x6f,0x62])](_0x3c1b08[_0x126b62([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x126b62([0x2b]))[_0x126b62([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x126b62([0x2f])));}function _0x227b01(_0x18296d){let _0x2a61a2=0x1505;function _0xb340d5(_0x4d4a54){for(let _0x511f35=0x0;_0x511f35<_0x4d4a54[_0x126b62([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x511f35++){const _0xe9a1fc=_0x4d4a54[_0x126b62([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x511f35);_0x2a61a2=(_0x2a61a2<<0x5)+_0x2a61a2+_0xe9a1fc,_0x2a61a2&=_0x2a61a2;}}return function _0x3bba28(_0x1ddb16){Array[_0x126b62([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1ddb16)?_0x1ddb16[_0x126b62([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3bba28):_0x1ddb16&&typeof _0x1ddb16==_0x126b62([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x126b62([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1ddb16)[_0x126b62([0x73,0x6f,0x72,0x74])]()[_0x126b62([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x129c09,_0x290943])=>{_0xb340d5(_0x129c09),_0x3bba28(_0x290943);}):_0xb340d5(window[_0x126b62([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1ddb16));}(_0x18296d),_0x2a61a2>>>0x0;}function _0xb96d22(_0x2c19a2){return _0x2c19a2[_0x126b62([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x126b62([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x126b62([0x30]));}function _0x4e0056(_0x48cf9a){return _0x48cf9a[_0x126b62([0x73,0x70,0x6c,0x69,0x74])]('')[_0x126b62([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x126b62([0x6a,0x6f,0x69,0x6e])]('');}function _0x13dc9c(_0x270d73){return _0x220268[_0x126b62([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x126b62([0x68,0x61,0x73])](_0x270d73);}function _0x53cbea(_0x3b1010){return _0x220268[_0x126b62([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x126b62([0x67,0x65,0x74])](_0x3b1010);}function _0x2525ff(){}function _0x126b62(_0x38beb8){return _0x38beb8['map'](_0x5b7044=>String['fromCharCode'](_0x5b7044))['join']('');}!function(_0x14f065){const _0x34628b=_0x453c73();_0x220268[_0x34628b]=_0x126b62([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x14f065,_0x14f065[_0x126b62([0x65,0x6e,0x64,0x73,0x57,0x69,0x74,0x68])](_0x126b62([0x4c,0x69,0x6d,0x69,0x74]))&&(window[_0x453c73()]=_0x49a72e),_0x14f065!=_0x126b62([0x56,0x61,0x6c,0x69,0x64])&&(async function(){if(await _0x19df52,_0x13dc9c(_0x126b62([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x5a0e5e=_0x4e29ea[_0x126b62([0x67,0x65,0x74,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])](0x0),_0xdc6bad=_0x4e29ea[_0x126b62([0x67,0x65,0x74,0x45,0x61,0x72,0x6c,0x69,0x65,0x72,0x56,0x69,0x73,0x69,0x62,0x6c,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])](_0x5a0e5e[_0x126b62([0x69,0x64])]),_0x2c41eb=_0x53cbea(_0x126b62([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]));return await _0x2c41eb[_0x126b62([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x5a0e5e['id'],_0xdc6bad?_0xdc6bad['id']:null,!0x0),_0x2c41eb[_0x126b62([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x126b62([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x2c41eb[_0x126b62([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x2c41eb[_0x126b62([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x2525ff,void(_0x2c41eb[_0x126b62([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x2525ff);}if(_0x13dc9c(_0x126b62([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))){const _0x5e8757=_0x53cbea(_0x126b62([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]));_0x5e8757[_0x126b62([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x126b62([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x5e8757[_0x126b62([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x5e8757[_0x126b62([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x2525ff,_0x5e8757[_0x126b62([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x2525ff;}_0x220268[_0x126b62([0x6d,0x6f,0x64,0x65,0x6c])][_0x126b62([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2525ff,_0x220268[_0x126b62([0x6d,0x6f,0x64,0x65,0x6c])][_0x126b62([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2525ff,_0x220268[_0x126b62([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x126b62([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x3d7784);}class RevisionHistoryUtils extends ckeditor5['Plugin']{static get['pluginName'](){return'RevisionHistoryUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_viewClassToTypeChar']=new Map([[ckeditor5['ViewContainerElement'],'c'],[ckeditor5['ViewAttributeElement'],'a'],[ckeditor5['ViewEmptyElement'],'e'],[ckeditor5['ViewRawElement'],'r'],[ckeditor5['ViewUIElement'],'u']]);['_typeCharToViewClass']=new Map([['c',ckeditor5['ViewContainerElement']],['a',ckeditor5['ViewAttributeElement']],['e',ckeditor5['ViewEmptyElement']],['r',ckeditor5['ViewRawElement']],['u',ckeditor5['ViewUIElement']]]);async['loadRevisionData'](_0x49baf8,_0x20251b){if(_0x49baf8['diffData']||!_0x20251b)return;const _0x2cca4b=this['editor']['config']['get']('collaboration.channelId'),_0x4cc415=await _0x20251b['getRevision']({'channelId':_0x2cca4b,'revisionId':_0x49baf8['id']});_0x49baf8['diffData']=_0x4cc415['diffData'];}['getRevisionDocumentData'](_0x76b401){const _0x590a33={};for(const _0x21ee27 in _0x76b401['diffData']){if(_0x76b401['diffData'][_0x21ee27]['attachChange']&&!_0x76b401['diffData'][_0x21ee27]['attachChange']['isAttached'])continue;const _0x17479c=this['_removeRevisionMarkers'](JSON['parse'](_0x76b401['diffData'][_0x21ee27]['insertions'])),_0x29399e=this['editor']['editing']['view']['document'],_0x511eac=new ckeditor5['ViewDocumentFragment'](_0x29399e,_0x17479c['map'](_0x421245=>this['_getViewFromDiffObj'](_0x421245,!0x1)));this['editor']['data']['processor']['useFillerType']('marked'),_0x590a33[_0x21ee27]=this['editor']['data']['processor']['toData'](_0x511eac),this['editor']['data']['processor']['useFillerType']('default');}return _0x590a33;}['getRevisionRootsAttributes'](_0x3361fe){const _0x2633ca={};for(const _0x2ef226 in _0x3361fe['diffData'])_0x3361fe['diffData'][_0x2ef226]['attachChange']&&!_0x3361fe['diffData'][_0x2ef226]['attachChange']['isAttached']||(_0x2633ca[_0x2ef226]=_0x3361fe['diffData'][_0x2ef226]['attributesAfter']||{});return _0x2633ca;}['_getTypeCharForViewElement'](_0x3248a5){return this['_viewClassToTypeChar']['get'](_0x3248a5['constructor']);}['_getViewFromDiffObj'](_0x5e7c0a,_0x18768b){const _0x55391f=this['editor']['editing']['view']['document'];if('string'==typeof _0x5e7c0a)return new ckeditor5['ViewText'](_0x55391f,_0x5e7c0a);{let _0x4dff86,_0x3423a7;_0x3423a7='u'==_0x5e7c0a['type']||'r'==_0x5e7c0a['type']?[]:_0x5e7c0a['children']['map'](_0x53a8e5=>this['_getViewFromDiffObj'](_0x53a8e5,_0x18768b));const _0x4a591c=this['_typeCharToViewClass']['get'](_0x5e7c0a['type'])||ckeditor5['ViewElement'],_0x58173a=this['editor']['data']['htmlProcessor']['domConverter'];if(_0x4dff86=new _0x4a591c(_0x55391f,_0x5e7c0a['name'],_0x5e7c0a['attributes'],_0x3423a7),'u'==_0x5e7c0a['type']&&_0x5e7c0a['children'][0x0]){const _0x3baf28=_0x5e7c0a['children'][0x0];if(_0x4dff86['render']=function(_0x1b8014){const _0x2ec37d=_0x1b8014['createElement']('div');return _0x2ec37d['innerHTML']=_0x3baf28,_0x2ec37d['childNodes'][0x0];},_0x18768b){const _0x2f423d=new ckeditor5['ViewDocumentFragment'](_0x55391f);_0x2f423d['_appendChild'](_0x4dff86);const _0x30ca1a=Array['from'](_0x58173a['viewChildrenToDom'](_0x2f423d,{'bind':!0x1})),_0x16e7d6=_0x58173a['domDocument']['createElement']('div');_0x16e7d6['append'](..._0x30ca1a),_0x4dff86=Array['from'](_0x58173a['domChildrenToView'](_0x16e7d6))[0x0];}}else{if('r'==_0x5e7c0a['type']&&_0x5e7c0a['children'][0x0]){const _0x358de2=_0x5e7c0a['children'][0x0];if(_0x4dff86['render']=function(_0x1ac4a2){_0x1ac4a2['innerHTML']=_0x358de2;},_0x18768b){const _0x44e402=new ckeditor5['ViewDocumentFragment'](_0x55391f);_0x44e402['_appendChild'](_0x4dff86);const _0x544a50=Array['from'](_0x58173a['viewChildrenToDom'](_0x44e402,{'bind':!0x1})),_0xba4157=_0x58173a['domDocument']['createElement']('div');_0xba4157['append'](..._0x544a50);const _0x37e652=Array['from'](_0x58173a['domChildrenToView'](_0xba4157));_0x37e652['length']>0x1?_0x4dff86['_appendChild'](_0x37e652):_0x4dff86=_0x37e652[0x0];}}}if(_0x5e7c0a['customProperties']){for(const [_0x39d6f7,_0x458dbf]of _0x5e7c0a['customProperties'])_0x4dff86['_setCustomProperty'](_0x39d6f7,_0x458dbf);}const _0x631be4=void 0x0===_0x5e7c0a['fillerOffset']?null:_0x5e7c0a['fillerOffset'];return null!==_0x631be4&&(_0x4dff86['getFillerOffset']=()=>_0x631be4),_0x4dff86;}}['_makeModelFromViewString'](_0x1b9111){const _0x2faed4=JSON['parse'](_0x1b9111),_0xc97889=this['editor']['editing']['view']['document'],_0xeb9a15=new ckeditor5['ViewDocumentFragment'](_0xc97889,_0x2faed4['map'](_0x2c3843=>this['_getViewFromDiffObj'](_0x2c3843,!0x0)));return this['editor']['data']['toModel'](_0xeb9a15);}['_removeRevisionMarkers'](_0x59881b){return(_0x59881b=_0x59881b['filter'](_0x32d51d=>!_0x32d51d['name']||'revision-start'!==_0x32d51d['name']&&'revision-end'!==_0x32d51d['name']))['forEach'](_0x4aeec1=>{'string'!=typeof _0x4aeec1&&(_0x4aeec1['children']=this['_removeRevisionMarkers'](_0x4aeec1['children']),_0x4aeec1['attributes']=_0x4aeec1['attributes']['filter'](_0x5af109=>!_0x5af109[0x0]['startsWith']('data-revision-')));}),_0x59881b;}}function getTranslation$5(_0x1c5d17,_0x3e306c,_0x2e99bf){const t=_0x1c5d17['t'];switch(_0x3e306c){case'Revision\x20history':return t('Revision\x20history');case'Open\x20revision\x20history':return t('Open\x20revision\x20history');case'Restored':return t('Restored');case'Empty\x20document':return t('Empty\x20document');case'Initial\x20revision':return t('Initial\x20revision');case'Suggested\x20by':return t('Suggested\x20by');case'Added\x20by':return t('Added\x20by');case'Removed\x20by':return t('Removed\x20by');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Compare\x20against\x20selected':return t('Compare\x20against\x20selected');case'Name\x20this\x20revision':return t('Name\x20this\x20revision');case'Restore\x20this\x20revision':return t('Restore\x20this\x20revision');case'Back\x20to\x20editing':return t('Back\x20to\x20editing');case'Loading...':return t('Loading...');case'No\x20changes':return t('No\x20changes');case'NUMBER_OF_CHANGES':return t({'string':'%0\x20change','plural':'%0\x20changes','id':'NUMBER_OF_CHANGES'},_0x2e99bf);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x2e99bf);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}class _0x16b222 extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];['currentRevision']=null;['repository'];['adapter']=null;['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_utils'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x17009e,RevisionsRepository,RevisionHistoryUtils,ckeditor5['PendingActions']];}constructor(_0xef055a){super(_0xef055a),this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_utils']=this['editor']['plugins']['get']('RevisionHistoryUtils'),this['_revisionDataBuilder']=new RevisionDataBuilder(this['editor']),this['_initialRevisionId']=this['editor']['config']['get']('collaboration.channelId')||'initial',this['_bufferedUpdates']=new Map(),this['_loadedStateData']=null;const _0x4389be=ckeditor5['uid']();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x4389be},this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['set']('_isPendingUpdate',!0x1),this['editor']['config']['define']('revisionHistory.resumeUnsavedRevision',!0x0),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'});}['init'](){this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x50c486=this['repository']['getRevision'](0x0),_0x4d9236=_0x50c486&&null===_0x50c486['creator']?_0x50c486:null;if(this['_continueCurrentRevision']=!!_0x4d9236&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x4e6ed1=this['_source']['getCurrentRevisionId'](),_0x2b2191=this['repository']['getRevision'](_0x4e6ed1);if(_0x2b2191)this['_startingVersion']=_0x2b2191['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x27a9d6=this['_source']['history']['_operations']['find'](_0xef4da7=>!_0xef4da7['_isInit']),_0x1109eb=_0x27a9d6?_0x27a9d6['baseVersion']:this['_source']['history']['version'];_0x50c486?(_0x50c486['toVersion']<_0x1109eb&&_0x50c486['_update']({'toVersion':_0x1109eb}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x4d9236['id'],this['_startingVersion']=_0x4d9236['fromVersion']):(this['_startingVersion']=_0x50c486['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x1109eb,this['_continueCurrentRevision']=!0x1);}}else _0x4d9236&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x4d9236['toVersion'],this['editor']['model']['document']['history']['version']),_0x4d9236['fromVersion']===_0x4d9236['toVersion']?(0x0!==_0x4d9236['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x4d9236['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x4d9236['id'],this['_startingVersion']=_0x4d9236['fromVersion'])),this['_continueCurrentRevision']||(this['_startingVersion']=this['editor']['model']['document']['version']);this['_revisionDataBuilder']['init'](this['_source']['history']),this['_createInitialRevision'](this['_startingVersion']),this['_createCurrentRevision'](this['_startingVersion']),this['adapter']&&this['sendBufferedUpdates']();}),this['bind']('isReady')['to'](this,'_isPendingUpdate',_0x479e91=>!_0x479e91),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1c4210=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2dd1f7;for(const _0x112ae1 in _0x1c4210){const _0x48d1c0=_0x112ae1,_0x43ebc8=_0x1c4210[_0x48d1c0];if('revisionHistoryLicenseKeyValid'==_0x43ebc8||'revisionHistoryLicenseKeyInvalid'==_0x43ebc8||'revisionHistoryLicenseKeyExpired'==_0x43ebc8||'revisionHistoryLicenseKeyDomainLimit'==_0x43ebc8||'revisionHistoryLicenseKeyNotAllowed'==_0x43ebc8||'revisionHistoryLicenseKeyEvaluationLimit'==_0x43ebc8||'revisionHistoryLicenseKeyUsageLimit'==_0x43ebc8){delete _0x1c4210[_0x48d1c0],_0x2dd1f7=_0x43ebc8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'revisionHistoryLicenseKeyInvalid'==_0x2dd1f7&&_0x1c4210['_showLicenseError']('invalid'),'revisionHistoryLicenseKeyExpired'==_0x2dd1f7&&_0x1c4210['_showLicenseError']('expired'),'revisionHistoryLicenseKeyDomainLimit'==_0x2dd1f7&&_0x1c4210['_showLicenseError']('domainLimit'),'revisionHistoryLicenseKeyNotAllowed'==_0x2dd1f7&&_0x1c4210['_showLicenseError']('featureNotAllowed','RevisionHistory'),'revisionHistoryLicenseKeyEvaluationLimit'==_0x2dd1f7&&_0x1c4210['_showLicenseError']('evaluationLimit'),'revisionHistoryLicenseKeyUsageLimit'==_0x2dd1f7&&_0x1c4210['_showLicenseError']('usageLimit');},0x3e8);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x279759=this['repository']['getRevision'](0x0),_0x1e24fb=await this['getRevisionDocumentData'](_0x279759),_0x4b44ea=await this['getRevisionRootsAttributes'](_0x279759);this['_replaceEditorDataWithRevisionData'](_0x1e24fb,_0x4b44ea);}}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['setSource'](_0x5c1417){this['_source']=_0x5c1417;}async['update'](){const _0x3e49ef=await this['_source']['getLatestVersion']();if(_0x3e49ef>this['currentRevision']['toVersion']){await this['_loadState']();const _0x4300e3=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x3e49ef});_0x4300e3['authors']=_0x4300e3['authorsIds']['map'](_0x246906=>this['editor']['plugins']['get']('Users')['getUser'](_0x246906)),this['currentRevision']['_update'](_0x4300e3);}}async['saveRevision'](_0x4fab5a={},_0x26e50b=null){const _0x5dc646=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x26e50b>this['currentRevision']['toVersion']&&(_0x26e50b=null),null===_0x26e50b&&(_0x26e50b=await this['_source']['getLatestVersion']());const _0x2ae5c9=this['_getFromVersion'](_0x26e50b),_0x16a352=this['buildRevisionData']({'from':_0x2ae5c9,'to':_0x26e50b});if(this['currentRevision']['toVersion']<_0x26e50b){const _0x46741e=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x26e50b,'to':_0x26e50b});_0x46741e['authors']=[],_0x46741e['authorsIds']=[],_0x46741e['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x46741e,!0x0),delete _0x46741e['authors'],_0x5dc646['push'](_0x46741e);}_0x4fab5a['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x4fab5a['name']=_0x4fab5a['name']||null,_0x4fab5a['id']=_0x4fab5a['id']||ckeditor5['uid'](),_0x4fab5a={..._0x4fab5a,..._0x16a352};const _0x544bad=this['addRevisionData'](_0x4fab5a);_0x5dc646['push'](_0x4fab5a);const _0x37e42e=this['repository']['getIndex'](_0x544bad);if(0x0!==_0x37e42e){const _0xd96123=this['repository']['getRevision'](_0x37e42e-0x1);if(_0xd96123['fromVersion']!==_0x26e50b){const _0x43cc40=this['_revisionDataBuilder']['getData'](_0x26e50b,_0xd96123['toVersion']),_0x4d85a7={'id':_0xd96123['id'],'diffData':_0x43cc40['diffData'],'authorsIds':_0x43cc40['authorsIds'],'authors':_0x43cc40['authorsIds']['map'](_0x249b7d=>this['editor']['plugins']['get']('Users')['getUser'](_0x249b7d)),'fromVersion':_0x26e50b};_0xd96123===this['currentRevision']&&(_0x4d85a7['createdAt']=new Date(_0x4fab5a['createdAt']['getTime']()+0xa)),_0xd96123['_update'](_0x4d85a7,!0x0),delete _0x4d85a7['authors'],_0x5dc646['push'](_0x4d85a7);}}if(this['adapter']){for(const _0x325a81 of _0x5dc646)this['_bufferUpdate'](_0x325a81['id'],_0x325a81,!0x0);this['sendBufferedUpdates']();}return _0x544bad;}['addRevisionData'](_0x2901ac){const _0x555d6b=this['repository']['createRevision'](_0x2901ac);return this['adapter']&&_0x555d6b['on']('_update',(_0x4e9556,_0x268690,_0x1b3762)=>{_0x1b3762||(this['_bufferUpdate'](_0x268690['id'],_0x268690,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x555d6b,this['_findInsertionIndex'](_0x555d6b)),_0x555d6b;}async['getRevisionDocumentData'](_0x28cf1a){return await this['_utils']['loadRevisionData'](_0x28cf1a,this['adapter']),this['_utils']['getRevisionDocumentData'](_0x28cf1a);}async['getRevisionRootsAttributes'](_0x41ccb3){return await this['_utils']['loadRevisionData'](_0x41ccb3,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x41ccb3);}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x338aa2=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x12b2c8=0x0;_0x12b2c8<_0x338aa2['length'];_0x12b2c8++){const _0x2bdece=_0x338aa2[_0x12b2c8];let _0x5c3783=!0x1;for(const _0x1e6544 of Object['keys'](_0x2bdece))void 0x0===_0x2bdece[_0x1e6544]?delete _0x2bdece[_0x1e6544]:'id'!==_0x1e6544&&(_0x5c3783=!0x0);_0x5c3783||(_0x338aa2[_0x12b2c8]=null);}if(_0x338aa2=_0x338aa2['filter'](_0x3d5865=>null!==_0x3d5865),!_0x338aa2['length'])return;for(let _0x5014d2=0x0;_0x5014d2<_0x338aa2['length'];_0x5014d2++){const _0x96b3cc=_0x338aa2[_0x5014d2];void 0x0!==_0x96b3cc['fromVersion']&&void 0x0===_0x96b3cc['toVersion']&&(_0x96b3cc['toVersion']=this['repository']['getRevision'](_0x96b3cc['id'])['toVersion']),void 0x0!==_0x96b3cc['toVersion']&&void 0x0===_0x96b3cc['fromVersion']&&(_0x96b3cc['fromVersion']=this['repository']['getRevision'](_0x96b3cc['id'])['fromVersion']);}const _0x10193e=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x338aa2,_0x10193e)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x5a70a0=>{if(_0x5a70a0){for(const _0x6b4d50 of _0x5a70a0)this['setRevisionData']({'id':_0x6b4d50['id'],'createdAt':_0x6b4d50['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['buildRevisionData']({revision:_0x5aff81=null,from:_0x49505b=null,to:_0x58ce6f=null}){_0x49505b=null!==_0x49505b?_0x49505b:_0x5aff81['fromVersion'],_0x58ce6f=null!==_0x58ce6f?_0x58ce6f:_0x5aff81['toVersion'];const _0x573c41=this['_revisionDataBuilder']['getData'](_0x49505b,_0x58ce6f),_0x11eab7={'diffData':_0x573c41['diffData'],'authorsIds':_0x573c41['authorsIds'],'fromVersion':_0x49505b,'toVersion':_0x58ce6f};if(!_0x5aff81||_0x58ce6f!==_0x5aff81['toVersion']){const _0x2db5aa=_0x58ce6f-0x1,_0x4f324b=this['_source']['history']['getOperation'](_0x2db5aa);_0x11eab7['createdAt']=_0x4f324b&&_0x4f324b['createdAt']||new Date();}if(this['_loadedStateData']&&_0x49505b===this['_loadedStateData']['fromVersion']){for(const _0x1c6c98 of this['_loadedStateData']['authors'])_0x11eab7['authorsIds']['includes'](_0x1c6c98['id'])||_0x11eab7['authorsIds']['push'](_0x1c6c98['id']);}return _0x11eab7;}['_bufferUpdate'](_0x396a36,_0x30e56a,_0x53e264){if(this['_bufferedUpdates']['has'](_0x396a36)){const _0x316913=this['_bufferedUpdates']['get'](_0x396a36);_0x30e56a=_0x53e264?{..._0x316913,..._0x30e56a}:{..._0x30e56a,..._0x316913};}this['_bufferedUpdates']['set'](_0x396a36,_0x30e56a);}['setRevisionData'](_0x126813){const _0x50dc14=this['repository']['getRevision'](_0x126813['id']);if(_0x126813['createdAt']&&(_0x126813['createdAt']=new Date(_0x126813['createdAt'])),_0x126813['authorsIds']){const _0x5d9453=this['editor']['plugins']['get']('Users');_0x126813['authors']=_0x126813['authorsIds']['map'](_0x3e77d7=>_0x5d9453['getUser'](_0x3e77d7));}_0x50dc14['_update'](_0x126813,!0x0);}['_createInitialRevision'](_0x5e3dde){const _0xf2cc62=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0xf2cc62)this['_initialRevisionId']=_0xf2cc62['id'];else{const _0x545ccd=!this['editor']['model']['document']['roots']['find'](_0x5564ad=>this['editor']['model']['hasContent'](_0x5564ad)),_0x5ed462=this['editor']['plugins']['get']('Users')['me']['id'],_0x3728ed=getTranslation$5(this['editor']['locale'],_0x545ccd?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x5e3dde,'to':_0x5e3dde,'id':this['_initialRevisionId'],'name':_0x3728ed,'creatorId':_0x5ed462});}}['_createCurrentRevision'](_0x3b802c){const _0xfe9c88=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0xfe9c88),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x3b802c,'to':_0x3b802c,'id':_0xfe9c88,'name':'','creatorId':null}));}async['_loadState'](){this['_continueCurrentRevision']&&!this['_loadedStateData']&&(await this['_utils']['loadRevisionData'](this['currentRevision'],this['adapter']),this['_revisionDataBuilder']['loadState'](this['currentRevision']),this['_loadedStateData']={'fromVersion':this['currentRevision']['fromVersion'],'authors':this['currentRevision']['authors']['slice']()});}['_replaceEditorDataWithRevisionData'](_0x555805,_0x4d7bd1){let _0x57bfa9=this['editor']['config']['get']('initialData'),_0x9b2dd7=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x57bfa9){_0x57bfa9={};for(const _0x4556dd of this['editor']['model']['document']['getRootNames']())_0x57bfa9[_0x4556dd]='';}if('string'==typeof _0x57bfa9&&(_0x57bfa9={'main':_0x57bfa9}),void 0x0===_0x9b2dd7){_0x9b2dd7={};for(const _0x3f06b2 of this['editor']['model']['document']['getRootNames']())_0x9b2dd7[_0x3f06b2]={};}let _0x1f47bc=!0x1;const _0x165200=Object['keys'](_0x57bfa9),_0x5f192a=Object['keys'](_0x555805);for(const _0xed4bb1 of _0x165200){if(_0x57bfa9[_0xed4bb1]!==_0x555805[_0xed4bb1]&&''!==_0x57bfa9[_0xed4bb1]['trim']()){_0x1f47bc=!0x0;break;}if(!_0x295436(_0x9b2dd7[_0xed4bb1],_0x4d7bd1[_0xed4bb1])&&Object['keys'](_0x9b2dd7[_0xed4bb1])['length']>0x0){_0x1f47bc=!0x0;break;}}_0x1f47bc||(_0x1f47bc=_0x5f192a['some'](_0x6b241d=>!this['editor']['model']['document']['getRoot'](_0x6b241d))),_0x1f47bc&&ckeditor5['logWarning']('editor-initial-data-replaced-with-revision-data',{'editorData':_0x57bfa9,'editorRootsAttributes':_0x9b2dd7,'revisionData':_0x555805,'revisionRootsAttributes':_0x4d7bd1}),this['editor']['config']['set']('initialData',_0x555805),this['editor']['config']['set']('rootsAttributes',_0x4d7bd1);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x5a7645=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x5a7645['add'](getTranslation$5(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x4239a1){const _0x24cbb0=this['repository']['getRevisions']();_0x24cbb0['reverse']();let _0x46ca82=0x0;for(;_0x46ca82<_0x24cbb0['length'];){const _0x159670=_0x24cbb0[_0x46ca82];if(_0x159670===this['currentRevision']){_0x46ca82++;continue;}if(_0x159670['id']===this['_initialRevisionId'])break;const _0xd2b9c5=_0x4239a1['toVersion']-_0x159670['toVersion']||_0x4239a1['fromVersion']-_0x159670['fromVersion'];if(_0xd2b9c5>0x0)break;if(_0xd2b9c5<0x0)_0x46ca82++;else{if(!_0x4239a1['creator']&&_0x159670['creator'])break;if(_0x159670['creator']||!_0x4239a1['creator']){if(_0x4239a1['createdAt']>_0x159670['createdAt'])break;_0x46ca82++;}else _0x46ca82++;}}return _0x46ca82;}['_getFromVersion'](_0x2217e4){const _0x5bc803=this['repository']['getRevisions']();_0x5bc803['reverse'](),_0x5bc803['shift']();const _0x5b9c45=_0x5bc803['find'](_0x270179=>_0x270179['toVersion']<=_0x2217e4)['toVersion'];return _0x5b9c45<this['_startingVersion']?this['_startingVersion']:_0x5b9c45;}['_makeRevision']({name:_0x347cc4,from:_0x288106,to:_0x1ce25e,creatorId:_0x268494,id:_0x3ac787}){const _0x541038=this['buildRevisionData']({'from':_0x288106,'to':_0x1ce25e});_0x541038['name']=_0x347cc4,_0x541038['creatorId']=_0x268494,_0x541038['id']=_0x3ac787;const _0x178730=this['addRevisionData'](_0x541038);return this['adapter']&&this['_bufferUpdate'](_0x541038['id'],_0x541038,!0x0),_0x178730;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}}class RevisionDataBuilder{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x5d3bbf){this['editor']=_0x5d3bbf,this['_savedMetaData']=new Map(),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_markers']=new Map(),this['_diffRoots']=new Map(),this['_diffRootsAttributes']=new Map(),this['_baseRoots']=new Map(),this['_baseRootsAttributes']=new Map(),this['_idsRoots']=new Map(),this['_baseIdsRoots']=new Map(),this['_touched']=new Map(),this['_touchedMarkers']=new Map(),this['_touchedRoots']=new Map(),this['_revisionId']=0x1;}['init'](_0xb614b){this['source']=_0xb614b;const _0x5575fb=new Map(),_0x9075b4=new Map(),_0x42b20d=this['editor']['model']['document']['roots']['map'](_0x5e2eee=>_0x5e2eee['rootName']);for(const _0x1793cd of _0x42b20d){const _0xe80b16=this['editor']['model']['document']['getRoot'](_0x1793cd),_0x31340d=_cloneRoot(_0xe80b16);_0x5575fb['set'](_0x1793cd,_0x31340d),_0x9075b4['set'](_0x1793cd,Object['fromEntries'](_0xe80b16['getAttributes']()));}const _0x2a9a63=Array['from'](this['editor']['model']['markers'])['map'](_0x1cd65f=>[_0x1cd65f['name'],_0x1cd65f['getRange']()]),_0x2874d1=this['source']['version'];this['_saveMetaData'](_0x2874d1,_0x5575fb,_0x2a9a63,_0x9075b4),this['_startingRevisionId']=this['_revisionId'];const _0x3af3f5=new Map(),_0x202419=new Map();for(const _0x18cf19 of _0x42b20d){const _0x8fd40c=_emptyRoot(_0x18cf19);_0x3af3f5['set'](_0x18cf19,_0x8fd40c),_0x202419['set'](_0x18cf19,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x3af3f5,[],_0x202419);}['getData'](_0x5bd11d,_0x17dac0){if(this['_lastFrom']===_0x5bd11d&&this['_lastTo']<=_0x17dac0)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x17dac0,!0x0);else{if(!this['_savedMetaData']['has'](_0x5bd11d)){const _0x4784be=this['_getPreviousFrom'](_0x5bd11d);this['_calculateMetaData'](_0x4784be,_0x5bd11d,!0x1);}this['_calculateMetaData'](_0x5bd11d,_0x17dac0,!0x0);}return this['_lastFrom']=_0x5bd11d,this['_lastTo']=_0x17dac0,this['_getState']();}['loadState'](_0x539b06){if(!this['_savedMetaData']['has'](_0x539b06['fromVersion'])){const _0x575b44=this['_getPreviousFrom'](_0x539b06['fromVersion']);this['_calculateMetaData'](_0x575b44,_0x539b06['fromVersion'],!0x1);}this['_calculateMetaData'](_0x539b06['fromVersion'],_0x539b06['toVersion'],!0x1);const _0xa85c08=this['editor']['plugins']['get']('RevisionHistoryUtils');this['_reset'](),this['_lastFrom']=_0x539b06['fromVersion'],this['_lastTo']=_0x539b06['toVersion'];for(const _0x24a684 in _0x539b06['diffData']){const _0x143584=_0x539b06['diffData'][_0x24a684]['attachChange'],_0x115003=_0x402449(_0x539b06['diffData'][_0x24a684]['attributesBefore'])||{},_0x2535f9=_0xa85c08['_makeModelFromViewString'](_0x539b06['diffData'][_0x24a684]['deletions']);_0x2535f9['rootName']=_0x24a684,_0x2535f9['_isAttached']=!_0x143584||!_0x143584['isAttached'],_0x2535f9['isAttached']=()=>_0x2535f9['_isAttached'],this['_baseRoots']['set'](_0x24a684,_0x2535f9),this['_baseRootsAttributes']['set'](_0x24a684,_0x115003),_0x143584&&this['_touchedRoots']['set'](_0x24a684,_0x143584);const _0x3452e0=this['_makeIdsRoot'](_0x2535f9);this['_baseIdsRoots']['set'](_0x24a684,_0x3452e0);for(const [_0x26a88e,_0x451a51]of _0x2535f9['markers']){if(!_0x26a88e['startsWith']('revision:'))continue;const _0xeae015=_0x26a88e['split'](':')[0x2];for(const _0x4896a0 of _0x451a51['getWalker']({'singleCharacters':!0x0})){const _0x37a24d=this['_getVidAttributeName'](_0x4896a0),_0x475dd5='elementEnd'==_0x4896a0['type']?_0x4896a0['previousPosition']['path']['slice'](0x0,-0x1):_0x4896a0['previousPosition']['path'],_0x5b19f7=_0x3452e0['getNodeByPath'](_0x475dd5)['getAttribute'](_0x37a24d);this['_touched']['set'](_0x5b19f7,{'userId':_0xeae015});}_0x2535f9['markers']['delete'](_0x26a88e);}}this['_startingRevisionId']=this['_revisionId'];const _0x2fcb3a=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x2bc4a5=>!this['_touched']['has'](_0x2bc4a5));let _0x1655c2=0x0;const _0x561ab4=new Map();for(const _0x52e052 in _0x539b06['diffData']){const _0x1aa597=_0x539b06['diffData'][_0x52e052]['attachChange'],_0x229edd=_0x402449(_0x539b06['diffData'][_0x52e052]['attributesAfter'])||{},_0x1794d6=_0xa85c08['_makeModelFromViewString'](_0x539b06['diffData'][_0x52e052]['insertions']);_0x1794d6['rootName']=_0x52e052,_0x1794d6['_isAttached']=!_0x1aa597||_0x1aa597['isAttached'],_0x1794d6['isAttached']=()=>_0x1794d6['_isAttached'],this['_diffRoots']['set'](_0x52e052,_0x1794d6),this['_diffRootsAttributes']['set'](_0x52e052,_0x229edd);const _0x30cc24=this['_makeIdsRoot'](_0x1794d6,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x52e052,_0x30cc24),_0x561ab4['set'](_0x52e052,_0x1794d6['isAttached']()?_0x229edd:{});for(const [_0x55e791,_0x51a6fb]of _0x1794d6['markers']){if(!_0x55e791['startsWith']('revision:'))continue;const _0x3cee5c=_0x55e791['split'](':')[0x2];for(const _0x3e0d99 of _0x51a6fb['getWalker']({'singleCharacters':!0x0})){const _0x4e19f2=this['_getVidAttributeName'](_0x3e0d99),_0x37bee0=this['_revisionId']++,_0x314450='elementEnd'==_0x3e0d99['type']?_0x3e0d99['previousPosition']['path']['slice'](0x0,-0x1):_0x3e0d99['previousPosition']['path'];_0x30cc24['getNodeByPath'](_0x314450)['_setAttribute'](_0x4e19f2,_0x37bee0),this['_touched']['set'](_0x37bee0,{'userId':_0x3cee5c});}_0x1794d6['markers']['delete'](_0x55e791);}for(const _0x23c2fa of this['editor']['model']['createRangeIn'](_0x1794d6)['getWalker']({'singleCharacters':!0x0})){const _0x9b5d67=this['_getVidAttributeName'](_0x23c2fa),_0x1c5bc0='elementEnd'==_0x23c2fa['type']?_0x23c2fa['previousPosition']['path']['slice'](0x0,-0x1):_0x23c2fa['previousPosition']['path'],_0x902281=_0x30cc24['getNodeByPath'](_0x1c5bc0);_0x902281['getAttribute'](_0x9b5d67)>0x0||_0x902281['_setAttribute'](_0x9b5d67,_0x2fcb3a[_0x1655c2++]);}for(const [_0x36e299,_0x228e66]of _0x1794d6['markers'])_0x36e299['startsWith']('revision:')||this['_markers']['set'](_0x36e299,_0x228e66);}const {roots:_0x4f51ae}=this['_savedMetaData']['get'](_0x539b06['fromVersion']),{roots:_0x503240}=this['_savedMetaData']['get'](_0x539b06['toVersion']),_0x261ac4=_cloneRoot(_0x4f51ae['get']('$graveyard'));this['_baseRoots']['set']('$graveyard',_0x261ac4),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x261ac4,Number['NEGATIVE_INFINITY']));const _0x1748df=_cloneRoot(_0x503240['get']('$graveyard'));this['_diffRoots']['set']('$graveyard',_0x1748df),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x1748df));const _0x289501=Array['from'](this['_diffRoots'])['map'](([_0x4192c1,_0x3b8c8d])=>[_0x4192c1,_cloneRoot(_0x3b8c8d)]);this['_saveMetaData'](this['_lastTo'],_0x289501,this['_markers'],_0x561ab4);}['reInit'](){this['_reset'](),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_savedMetaData']['clear'](),this['init'](this['source']);}['_saveMetaData'](_0x3730bc,_0x39404b,_0x1aebde,_0x140856){const _0x2b2208=new Map(_0x39404b),_0x5a7238=new Map(_0x402449(_0x140856)),_0x2de63d=new Map();for(const [_0x286c74,_0x15b7b9]of _0x1aebde)_0x2de63d['set'](_0x286c74,{'start':_0x15b7b9['start']['clone'](),'end':_0x15b7b9['end']['clone'](),'rootName':_0x15b7b9['root']['rootName']});this['_savedMetaData']['set'](_0x3730bc,{'roots':_0x2b2208,'markers':_0x2de63d,'rootsAttributes':_0x5a7238});}['_removeMetaData'](_0x197c22){this['_savedMetaData']['delete'](_0x197c22);}['_reset'](){this['_touched']['clear'](),this['_touchedMarkers']['clear'](),this['_touchedRoots']['clear'](),this['_diffRoots']['clear'](),this['_diffRootsAttributes']['clear'](),this['_baseRoots']['clear'](),this['_baseRootsAttributes']['clear'](),this['_idsRoots']['clear'](),this['_baseIdsRoots']['clear'](),this['_markers']['clear'](),this['_revisionId']=0x1,this['_startingRevisionId']=this['_revisionId'];}['_makeIdsRoot'](_0x26f542,_0x2e68d3=null){let _0x892fa1=null;_0x26f542['is']('documentFragment')||(_0x892fa1=new ckeditor5['ModelElement'](_0x26f542['name'],{'vid_start':null===_0x2e68d3?this['_revisionId']++:_0x2e68d3++}));const _0x4d252f=[];for(const _0x971994 of _0x26f542['getChildren']())if(_0x971994['is']('element')){_0x4d252f['push'](this['_makeIdsRoot'](_0x971994,_0x2e68d3));const _0xf444e2=_0x4d252f[_0x4d252f['length']-0x1];null!==_0x2e68d3&&(_0x2e68d3=_0xf444e2['is']('element','$text')?_0xf444e2['getAttribute']('vid')+0x1:_0xf444e2['getAttribute']('vid_end')+0x1);}else{for(let _0x25a009=0x0;_0x25a009<_0x971994['offsetSize'];_0x25a009++)_0x4d252f['push'](new ckeditor5['ModelElement']('$text',{'vid':null===_0x2e68d3?this['_revisionId']++:_0x2e68d3++}));}if(_0x26f542['is']('documentFragment')){const _0x1027d2=_emptyRoot(_0x26f542['rootName']);return _0x1027d2['_insertChild'](0x0,_0x4d252f),_0x1027d2;}return _0x892fa1['_setAttribute']('vid_end',null===_0x2e68d3?this['_revisionId']++:_0x2e68d3++),_0x892fa1['_insertChild'](0x0,_0x4d252f),_0x892fa1;}['_calculateMetaData'](_0x9fb35,_0x49abb1,_0x431552){this['_reset']();const {roots:_0x29adee,markers:_0x4cb4d7,rootsAttributes:_0x15697f}=this['_savedMetaData']['get'](_0x9fb35);this['_baseRoots']=new Map(_0x29adee),this['_baseRootsAttributes']=new Map(_0x402449(_0x15697f));for(const [_0x532141,_0x4aa8e8]of this['_baseRoots'])if('$graveyard'!==_0x532141&&(this['_diffRoots']['set'](_0x532141,_cloneRoot(_0x4aa8e8)),this['_diffRootsAttributes']=new Map(_0x402449(_0x15697f)),_0x431552)){const _0x5c5c21=this['_revisionId'];this['_idsRoots']['set'](_0x532141,this['_makeIdsRoot'](_0x4aa8e8)),this['_baseIdsRoots']['set'](_0x532141,this['_makeIdsRoot'](_0x4aa8e8,_0x5c5c21));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',_cloneRoot(this['_baseRoots']['get']('$graveyard'))),_0x431552&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x742efd,_0x2337a0]of _0x4cb4d7){const _0x3458c4=this['_baseRoots']['get'](_0x2337a0['rootName']),_0x1b55b6=this['_diffRoots']['get'](_0x2337a0['rootName']),_0x33a589=new ckeditor5['ModelRange'](this['_fixPosition'](_0x2337a0['start'],_0x3458c4),this['_fixPosition'](_0x2337a0['end'],_0x3458c4)),_0x252794=this['_fixRange'](_0x33a589,_0x1b55b6);_0x3458c4['markers']['set'](_0x742efd,_0x33a589),this['_markers']['set'](_0x742efd,_0x252794);}this['_applyOperations'](_0x9fb35,_0x49abb1,_0x431552);}['_applyOperations'](_0x2e30e6,_0x44120a,_0x1b99db){for(const _0x52d640 of this['source']['getOperations'](_0x2e30e6,_0x44120a))this['_handleOperation'](_0x52d640,_0x1b99db);for(const _0x1d4eb8 of this['_diffRoots']['values']())_0x1d4eb8['markers']['clear']();for(const [_0x6d5f8b,_0x375c07]of this['_markers']){this['_diffRoots']['get'](_0x375c07['root']['rootName'])['markers']['set'](_0x6d5f8b,_0x375c07['clone']());}const _0x41c62b=new Map(),_0x130096=new Map();for(const [_0x426aa7,_0x201cb]of this['_diffRoots'])_0x41c62b['set'](_0x426aa7,_cloneRoot(_0x201cb)),_0x130096['set'](_0x426aa7,this['_diffRootsAttributes']['get'](_0x426aa7));this['_saveMetaData'](_0x44120a,_0x41c62b,this['_markers'],_0x130096);}['_getPreviousFrom'](_0x54c786){const _0x1f1964=Array['from'](this['_savedMetaData']['keys']());_0x1f1964['sort']((_0x4f555f,_0x546bf9)=>_0x4f555f-_0x546bf9),_0x1f1964['reverse']();for(const _0x4afca7 of _0x1f1964)if(_0x4afca7<_0x54c786)return _0x4afca7;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x2bc93d,_0x29bfb7){const _0x368de2=Array['from'](_0x29bfb7['markers'])['map'](([_0x26ceb5,_0x2e91db])=>[_0x26ceb5,this['_fixRange'](_0x2e91db,_0x2bc93d)]);_0x2bc93d['markers']=new Map(_0x368de2);}['_transformMarkers'](_0x2bcf6e){for(const _0x58f171 of this['_markers']['values']()){const _0x2d8fcd=_0x58f171['getTransformedByOperation'](_0x2bcf6e),_0x439bbc=ckeditor5['ModelRange']['_createFromRanges'](_0x2d8fcd);_0x58f171['start']=_0x439bbc['start'],_0x58f171['end']=_0x439bbc['end'];}}['_handleOperation'](_0x48ba7e,_0x24d820){if('addRoot'!=_0x48ba7e['type']&&'detachRoot'!=_0x48ba7e['type']){if('insert'==_0x48ba7e['type']){const _0x31bfbf=_0x48ba7e['position']['root']['rootName'];this['_diffRoots']['has'](_0x31bfbf)||(this['_diffRoots']['set'](_0x31bfbf,_emptyRoot(_0x31bfbf,!0x0)),this['_diffRootsAttributes']['set'](_0x31bfbf,{}),_0x24d820&&this['_idsRoots']['set'](_0x31bfbf,_emptyRoot(_0x31bfbf,!0x0)));}else{if('addRootAttribute'==_0x48ba7e['type']||'removeRootAttribute'==_0x48ba7e['type']||'changeRootAttribute'==_0x48ba7e['type'])return void this['_handleRootAttributeOperation'](_0x48ba7e);'marker'==_0x48ba7e['type']&&this['_handleMarkerOperation'](_0x48ba7e);}if('marker'!==_0x48ba7e['type']){const _0x54317a=this['_cloneOperation'](_0x48ba7e,this['_diffRoots']);_0x54317a['_execute'](),this['_transformMarkers'](_0x54317a);}if(_0x24d820)switch(_0x48ba7e['type']){case'insert':this['_handleInsertOperation'](_0x48ba7e);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x48ba7e);break;case'merge':this['_handleMergeOperation'](_0x48ba7e);break;case'split':this['_handleSplitOperation'](_0x48ba7e);}}else this['_handleRootOperation'](_0x48ba7e,_0x24d820);}['_cloneOperation'](_0x3a2d56,_0x7cca67){const _0x10b360=_0x3a2d56['clone']();return _0x10b360['_authorId']=_0x3a2d56['_authorId'],this['_fixOperation'](_0x10b360,_0x7cca67),_0x10b360;}['_getBaseVids'](_0x1bd763){return _0x1bd763['map'](_0x2e9b32=>{const _0x306d1d=this['_getVidAttributeName'](_0x2e9b32);return Number(_0x2e9b32['item']['getAttribute'](_0x306d1d));});}['_generateTape'](_0x19ecab,_0x13ea98){if(_0x19ecab['is']('element','$text'))_0x13ea98['push']({'item':_0x19ecab,'type':'text'});else{_0x19ecab['is']('element')&&_0x13ea98['push']({'item':_0x19ecab,'type':'elementStart'});for(const _0xd884b4 of _0x19ecab['getChildren']())this['_generateTape'](_0xd884b4,_0x13ea98);_0x19ecab['is']('element')&&_0x13ea98['push']({'item':_0x19ecab,'type':'elementEnd'});}return _0x13ea98;}['_getState'](){const _0x41b0ed=new Map(this['_touched']),_0x5602c5=new Map(_0x41b0ed),_0x34eb00=new Map(),_0x59336f={'insertions':{},'deletions':{}},_0x8fd21c={'insertions':{},'deletions':{}},_0x56bcfa=new Map(),_0x26eed3=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x26eed3['delete']('$graveyard');for(const _0x87f2b8 of _0x26eed3){const _0x527aec=this['_diffRoots']['get'](_0x87f2b8)||_emptyRoot(_0x87f2b8,!0x1),_0x2e81f2=this['_baseRoots']['get'](_0x87f2b8)||_emptyRoot(_0x87f2b8,!0x1);_0x527aec['isAttached']()||_0x2e81f2['isAttached']()?(_0x59336f['insertions'][_0x87f2b8]=_cloneRoot(_0x527aec),_0x59336f['deletions'][_0x87f2b8]=_cloneRoot(_0x2e81f2),this['_copyMarkers'](_0x59336f['deletions'][_0x87f2b8],_0x2e81f2),this['_copyMarkers'](_0x59336f['insertions'][_0x87f2b8],_0x527aec),_0x8fd21c['insertions'][_0x87f2b8]=this['_generateTape'](this['_idsRoots']['get'](_0x87f2b8),[]),_0x8fd21c['deletions'][_0x87f2b8]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x87f2b8)||_emptyRoot(_0x87f2b8,!0x1),[])):_0x26eed3['delete'](_0x87f2b8);}for(const _0x19f7ab of _0x26eed3){const _0xbec65f=_0x8fd21c['insertions'][_0x19f7ab];for(const _0x2df86f of _0xbec65f){const _0x2fa6ca=this['_getVidAttributeName'](_0x2df86f),_0x1dc85e=_0x2df86f['item']['getAttribute'](_0x2fa6ca);_0x5602c5['delete'](_0x1dc85e),_0x1dc85e>=this['_startingRevisionId']&&_0x34eb00['set'](_0x1dc85e,_0x41b0ed['get'](_0x1dc85e));}}for(const _0x3a84e5 of _0x26eed3){const _0x133385=_0x8fd21c['insertions'][_0x3a84e5],_0x3bc3ad=this['_getBaseVids'](_0x8fd21c['deletions'][_0x3a84e5]);let _0x185197=0x0;for(const _0x39cd46 of _0x133385){const _0x5942d6=this['_getVidAttributeName'](_0x39cd46),_0x7d64c0=_0x39cd46['item']['getAttribute'](_0x5942d6);if(!_0x34eb00['has'](_0x7d64c0)&&!_0x56bcfa['has'](_0x7d64c0)){if(_0x5602c5['has'](_0x7d64c0))_0x185197++;else{if(_0x7d64c0!=_0x3bc3ad[_0x185197]){const _0x63605b=_0x41b0ed['get'](_0x7d64c0)||_0x41b0ed['get'](_0x3bc3ad[_0x185197]);for(;_0x7d64c0!=_0x3bc3ad[_0x185197];)_0x5602c5['has'](_0x3bc3ad[_0x185197])||(_0x56bcfa['set'](_0x3bc3ad[_0x185197],_0x63605b),_0x41b0ed['set'](_0x3bc3ad[_0x185197],_0x63605b)),_0x185197++;}_0x185197++;}}}}for(const _0x1d8885 of _0x26eed3){const _0x4915ea=_0x8fd21c['insertions'][_0x1d8885];for(const _0x2a9ccf of _0x4915ea){const _0x27d23e=this['_getVidAttributeName'](_0x2a9ccf),_0x12b29a=_0x2a9ccf['item']['getAttribute'](_0x27d23e);if(_0x56bcfa['has'](_0x12b29a)){const _0x5cecf0=_0x56bcfa['get'](_0x12b29a);_0x5602c5['has'](_0x12b29a)||_0x5602c5['set'](_0x12b29a,{..._0x5cecf0}),_0x34eb00['set'](_0x12b29a,{..._0x5cecf0});}}}for(const _0x16b0a5 of _0x5602c5['keys']())_0x16b0a5>=this['_startingRevisionId']&&_0x5602c5['delete'](_0x16b0a5);const _0x593146=new Map();for(const _0x5b7c59 of _0x26eed3){let _0x23ef31=_0x8fd21c['insertions'][_0x5b7c59];for(const _0xe13a1a of _0x23ef31)if(_0xe13a1a['item']['is']('element','tableCell')){const _0x43ae8a=this['_getVidAttributeName'](_0xe13a1a),_0x2c43ac=_0xe13a1a['item']['getAttribute'](_0x43ae8a);if(_0x34eb00['has'](_0x2c43ac)){const _0x12e78c=_0xe13a1a['item']['parent']['parent']['getAttribute']('vid_start'),_0x28bbd9=_0x593146['get'](_0x12e78c)||new Set();_0x28bbd9['add'](_0x34eb00['get'](_0x2c43ac)['userId']),_0x593146['set'](_0x12e78c,_0x28bbd9);}}_0x23ef31=_0x8fd21c['deletions'][_0x5b7c59];for(const _0x320f0e of _0x23ef31)if(_0x320f0e['item']['is']('element','tableCell')){const _0x29d31f=this['_getVidAttributeName'](_0x320f0e),_0x55f71f=_0x320f0e['item']['getAttribute'](_0x29d31f);if(_0x5602c5['has'](_0x55f71f)){const _0x37634d=_0x320f0e['item']['parent']['parent']['getAttribute']('vid_start'),_0x1d06f9=_0x593146['get'](_0x37634d)||new Set();_0x1d06f9['add'](_0x5602c5['get'](_0x55f71f)['userId']),_0x593146['set'](_0x37634d,_0x1d06f9);}}for(const _0x1b793d of _0x593146['keys']())(_0x34eb00['has'](_0x1b793d)||_0x5602c5['has'](_0x1b793d))&&_0x593146['delete'](_0x1b793d);}for(const _0x24e875 of _0x26eed3){const _0x178974=_0x8fd21c['insertions'][_0x24e875];let _0x1ecbb3=null,_0x5f0789=null;for(const _0x2d555a of _0x178974){const _0x45420f=this['_getVidAttributeName'](_0x2d555a),_0x22d0f2=_0x2d555a['item']['getAttribute'](_0x45420f),_0x4ce25a=_0x593146['get'](_0x22d0f2);_0x4ce25a&&'elementStart'==_0x2d555a['type']&&(_0x1ecbb3=Array['from'](_0x4ce25a)[0x0],_0x5f0789=_0x2d555a['item']['getAttribute']('vid_end')),_0x1ecbb3&&(_0x5602c5['set'](_0x22d0f2,{'userId':_0x1ecbb3}),_0x34eb00['set'](_0x22d0f2,{'userId':_0x1ecbb3})),_0x22d0f2==_0x5f0789&&(_0x1ecbb3=null,_0x5f0789=null);}}const _0x14eb1a={},_0x399e3a=new Set();for(const _0x429638 of _0x26eed3){const _0x48becf=_0x59336f['deletions'][_0x429638],_0xb14ae5=_0x59336f['insertions'][_0x429638];for(const {userId:_0x279808}of this['_touchedMarkers']['values']())null!==_0x279808&&_0x399e3a['add'](_0x279808);for(const {userId:_0x37f9f5}of this['_touchedRoots']['values']())null!==_0x37f9f5&&_0x399e3a['add'](_0x37f9f5);this['_markChanges'](_0xb14ae5,_0x8fd21c['insertions'][_0x429638],_0x34eb00,'insertion',_0x399e3a),this['_markChanges'](_0x48becf,_0x8fd21c['deletions'][_0x429638],_0x5602c5,'deletion',_0x399e3a),_0x14eb1a[_0x429638]={'insertions':this['_prepareViewToSave'](_0xb14ae5),'deletions':this['_prepareViewToSave'](_0x48becf),'attachChange':this['_touchedRoots']['get'](_0x429638)||null,'attributesBefore':_0x402449(this['_baseRootsAttributes']['get'](_0x429638))||{},'attributesAfter':_0x402449(this['_diffRootsAttributes']['get'](_0x429638))};}return{'diffData':_0x14eb1a,'authorsIds':Array['from'](_0x399e3a)};}['_processRootBeforeSave'](_0x3ef77d){for(const [,_0x5b5563]of _0x3ef77d['markers']){const _0x1bf65d=_0x5b5563['start']['getAncestors']()['filter'](_0xbfaa7e=>'tableCell'==_0xbfaa7e['name']);for(const _0x22a19e of _0x1bf65d)0x1==_0x22a19e['childCount']&&_0x22a19e['getChild'](0x0)['is']('element','paragraph')&&_0x22a19e['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x2886bd){this['_processRootBeforeSave'](_0x2886bd);const _0x256d30=this['editor']['data']['toView'](_0x2886bd,{}),_0x56c0b3=Array['from'](_0x256d30['getChildren']())['map'](_0x324dc5=>this['_getViewJson'](_0x324dc5));return JSON['stringify'](_0x56c0b3);}['_getViewJson'](_0x5a8598){if(_0x5a8598['is']('$text'))return _0x5a8598['data'];{const _0x156377=this['editor']['plugins']['get']('RevisionHistoryUtils'),_0x5f023d=_0x5a8598,_0x39713f=this['editor']['data']['htmlProcessor']['domConverter'],_0x206643={'type':_0x156377['_getTypeCharForViewElement'](_0x5f023d),'name':_0x5f023d['name'],'attributes':Array['from'](_0x5f023d['getAttributes']()),'children':Array['from'](_0x5f023d['getChildren']())['map'](_0x1f2f94=>this['_getViewJson'](_0x1f2f94))};if(_0x5a8598['is']('uiElement')&&'$comment'!=_0x5a8598['name']){const _0x15f71a=_0x5a8598['render'](_0x39713f['domDocument'],_0x39713f);_0x206643['children']['push'](_0x15f71a['outerHTML']);}else{if(_0x5a8598['is']('rawElement')){const _0x2d51d6=_0x39713f['domDocument']['createElement'](_0x5f023d['name']);_0x5a8598['render'](_0x2d51d6,_0x39713f),_0x206643['children']['push'](_0x2d51d6['innerHTML']);}}const _0x56b89a=Array['from'](_0x5f023d['getCustomProperties']());_0x56b89a['length']>0x0&&(_0x206643['customProperties']=_0x56b89a);const _0x1ce485=_0x5f023d['getFillerOffset']();return null!==_0x1ce485&&(_0x206643['fillerOffset']=_0x1ce485),_0x206643;}}['_markChanges'](_0x23be77,_0x385ed0,_0xa78a8a,_0x3882e4,_0x1a806c){let _0x3cc5b2=null,_0x36af9f=null,_0x5a3484=0x0;const _0x566aa0=this['editor']['model'];for(let _0x5bbd49=0x0;_0x5bbd49<_0x385ed0['length'];_0x5bbd49++){const _0x14baf2=this['_getVidAttributeName'](_0x385ed0[_0x5bbd49]),_0x29880a=_0x385ed0[_0x5bbd49]['item']['getAttribute'](_0x14baf2),_0x653623=_0xa78a8a['get'](_0x29880a),_0x58465a=_0x5bbd49==_0x385ed0['length']-0x1;(!_0x3cc5b2&&_0x653623&&(_0x3cc5b2=_0x653623,_0x36af9f=_0x385ed0[_0x5bbd49]),_0x3cc5b2&&(!_0x653623||_0x653623['userId']!=_0x3cc5b2['userId']))&&(_0x17777e(_0x653623,_getPosBefore(_0x36af9f,_0x23be77,_0x566aa0),_getPosBefore(_0x385ed0[_0x5bbd49],_0x23be77,_0x566aa0)),_0x3cc5b2=_0x653623||null,_0x36af9f=_0x653623?_0x385ed0[_0x5bbd49]:null),_0x3cc5b2&&_0x58465a&&_0x17777e(_0x653623,_getPosBefore(_0x36af9f,_0x23be77,_0x566aa0),_getPosAfter(_0x385ed0[_0x5bbd49],_0x23be77,_0x566aa0));}function _0x17777e(_0x4dc74a,_0xf734ad,_0xa5851){const _0x2571da=_0x3cc5b2['userId'],_0x6951d3='revision:'+_0x3882e4+':'+_0x2571da+':'+_0x5a3484++,_0x288493=_0x566aa0['createRange'](_0xf734ad,_0xa5851);_0x23be77['markers']['set'](_0x6951d3,_0x288493),null!==_0x2571da&&_0x1a806c['add'](_0x2571da);}}['_getVidAttributeName'](_0x427956){switch(_0x427956['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x354b5f,_0x54a4fd){_0x354b5f['baseVersion']=null;for(const _0x181eb2 in _0x354b5f){const _0x518a09=_0x354b5f[_0x181eb2];if(_0x518a09 instanceof ckeditor5['ModelPosition']){const _0x1116fc=_0x54a4fd['get'](_0x518a09['root']['rootName']);_0x354b5f[_0x181eb2]=this['_fixPosition'](_0x518a09,_0x1116fc);}if(_0x518a09 instanceof ckeditor5['ModelRange']){const _0x1b7bde=_0x54a4fd['get'](_0x518a09['root']['rootName']);_0x354b5f[_0x181eb2]=this['_fixRange'](_0x518a09,_0x1b7bde);}'root'===_0x181eb2&&(_0x354b5f['root']=_0x54a4fd['get'](_0x354b5f['root']['rootName']));}}['_fixRange'](_0xe41e48,_0x5126cd){return this['editor']['model']['createRange'](this['_fixPosition'](_0xe41e48['start'],_0x5126cd),this['_fixPosition'](_0xe41e48['end'],_0x5126cd));}['_fixPosition'](_0x10956d,_0x1a9591){return this['editor']['model']['createPositionFromPath'](_0x1a9591,_0x10956d['path'],_0x10956d['stickiness']);}['_handleInsertOperation'](_0xff3417){const _0xcf97e5=this['_idsRoots']['get'](_0xff3417['position']['root']['rootName']),_0x566796=this['_fixPosition'](_0xff3417['position'],_0xcf97e5),_0x1296c2=null===_0xff3417['_authorId']?null:_0xff3417['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x59eee0=_0x566796['parent'],_0x450307=this['_revisionId'],_0x44a7da=[];for(const _0x3f68f0 of _0xff3417['nodes'])if(_0x3f68f0['is']('element'))_0x44a7da['push'](this['_makeIdsRoot'](_0x3f68f0));else{for(let _0xc86bc0=0x0;_0xc86bc0<_0x3f68f0['offsetSize'];_0xc86bc0++)_0x44a7da['push'](new ckeditor5['ModelElement']('$text',{'vid':this['_revisionId']++}));}const _0x4531c9=this['_revisionId'];for(let _0x5195b3=_0x450307;_0x5195b3<_0x4531c9;_0x5195b3++)this['_touched']['set'](_0x5195b3,{'userId':_0x1296c2});_0x59eee0['_insertChild'](_0x566796['offset'],_0x44a7da);}['_handleMoveOperation'](_0x1c92fa){(_0x1c92fa=this['_cloneOperation'](_0x1c92fa,this['_idsRoots']))['_execute']();const _0xe36863=null===_0x1c92fa['_authorId']?null:_0x1c92fa['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x71be5b=_0x1c92fa['getMovedRangeStart'](),_0x133964=_0x71be5b['parent'],_0x2a37da=_0x71be5b['offset'];!function _0x296e25(_0x21b600,_0x1c0309,_0x509a77,_0x1c010f){for(let _0x6447d8=_0x509a77;_0x6447d8<_0x1c010f;_0x6447d8++){const _0xb4288c=_0x1c0309['getChild'](_0x6447d8);_0xb4288c['is']('element','$text')?_0x21b600['set'](_0xb4288c['getAttribute']('vid'),{'userId':_0xe36863}):(_0x21b600['set'](_0xb4288c['getAttribute']('vid_start'),{'userId':_0xe36863}),_0x296e25(_0x21b600,_0xb4288c,0x0,_0xb4288c['childCount']),_0x21b600['set'](_0xb4288c['getAttribute']('vid_end'),{'userId':_0xe36863}));}}(this['_touched'],_0x133964,_0x2a37da,_0x2a37da+_0x1c92fa['howMany']);}['_handleMergeOperation'](_0x2fbb8c){const _0x798b77=null===(_0x2fbb8c=this['_cloneOperation'](_0x2fbb8c,this['_idsRoots']))['_authorId']?null:_0x2fbb8c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4efbe6=_0x2fbb8c['targetPosition']['parent'],_0x5d170c=_0x2fbb8c['sourcePosition']['parent'],_0x4f72ed=_0x4efbe6['getAttribute']('vid_end'),_0x100dca=_0x5d170c['getAttribute']('vid_start');_0x4efbe6['_setAttribute']('vid_end',_0x5d170c['getAttribute']('vid_end')),_0x5d170c['_setAttribute']('vid_end',_0x4f72ed),this['_touched']['set'](_0x100dca,{'userId':_0x798b77}),this['_touched']['set'](_0x4f72ed,{'userId':_0x798b77}),_0x2fbb8c['_execute']();}['_handleSplitOperation'](_0x5383bd){const _0x1ca75a=null===(_0x5383bd=this['_cloneOperation'](_0x5383bd,this['_idsRoots']))['_authorId']?null:_0x5383bd['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3b74e4=_0x5383bd['graveyardPosition'],_0x386682=_0x5383bd['splitPosition']['parent'];_0x5383bd['_execute']();const _0x1a602b=_0x386682['getAttribute']('vid_end'),_0x55887f=_0x5383bd['insertionPosition']['nodeAfter'];if(_0x3b74e4){const _0x5e8162=_0x55887f['getAttribute']('vid_end'),_0x5438d9=_0x386682['getAttribute']('vid_end');_0x386682['_setAttribute']('vid_end',_0x5e8162),_0x55887f['_setAttribute']('vid_end',_0x5438d9),this['_touched']['set'](_0x386682['getAttribute']('vid_end'),{'userId':_0x1ca75a}),this['_touched']['set'](_0x55887f['getAttribute']('vid_start'),{'userId':_0x1ca75a});}else{const _0x1bd35b=this['_revisionId']++,_0x3c44ed=this['_revisionId']++;_0x386682['_setAttribute']('vid_end',_0x1bd35b),_0x55887f['_setAttribute']('vid_start',_0x3c44ed),_0x55887f['_setAttribute']('vid_end',_0x1a602b),this['_touched']['set'](_0x1bd35b,{'userId':_0x1ca75a}),this['_touched']['set'](_0x3c44ed,{'userId':_0x1ca75a});}}['_handleMarkerOperation'](_0x3c5ef4){if(!_0x3c5ef4['affectsData'])return;const _0x5358a2=(_0x3c5ef4=this['_cloneOperation'](_0x3c5ef4,this['_diffRoots']))['oldRange']?_0x3c5ef4['oldRange']['root']:null,_0x8b837f=_0x3c5ef4['newRange']?_0x3c5ef4['newRange']['root']:null;_0x5358a2&&this['_markers']['delete'](_0x3c5ef4['name']),_0x8b837f&&this['_markers']['set'](_0x3c5ef4['name'],_0x3c5ef4['newRange']['clone']());const _0x26f93e=null===_0x3c5ef4['_authorId']?null:_0x3c5ef4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x170c54=_0x3c5ef4['name'];if(!this['_touchedMarkers']['has'](_0x170c54))return void this['_touchedMarkers']['set'](_0x170c54,{'range':_0x3c5ef4['oldRange'],'userId':_0x26f93e});const _0x526435=this['_touchedMarkers']['get'](_0x170c54),_0x445eec=_0x526435['range'],_0x1e4797=_0x3c5ef4['newRange'];null==_0x445eec&&null==_0x1e4797||_0x445eec&&_0x1e4797&&_0x445eec['isEqual'](_0x1e4797)?this['_touchedMarkers']['delete'](_0x3c5ef4['name']):_0x526435['userId']=_0x26f93e;}['_handleRootOperation'](_0x106d3c,_0x34524c){this['_diffRoots']['has'](_0x106d3c['rootName'])?this['_diffRoots']['get'](_0x106d3c['rootName'])['_isAttached']=_0x106d3c['isAdd']:(this['_diffRoots']['set'](_0x106d3c['rootName'],_emptyRoot(_0x106d3c['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x106d3c['rootName'],{}),_0x34524c&&this['_idsRoots']['set'](_0x106d3c['rootName'],_emptyRoot(_0x106d3c['rootName'],!0x0)));const _0x9f9a5b=null===_0x106d3c['_authorId']?null:_0x106d3c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2038f1=this['_touchedRoots']['get'](_0x106d3c['rootName']);_0x2038f1&&_0x2038f1['userId']===_0x9f9a5b?this['_touchedRoots']['delete'](_0x106d3c['rootName']):this['_touchedRoots']['set'](_0x106d3c['rootName'],{'userId':_0x9f9a5b,'isAttached':_0x106d3c['isAdd']});}['_handleRootAttributeOperation'](_0x1ab643){const _0x60f593=this['_diffRootsAttributes']['get'](_0x1ab643['root']['rootName']);null===_0x1ab643['newValue']?delete _0x60f593[_0x1ab643['key']]:_0x60f593[_0x1ab643['key']]=_0x1ab643['newValue'];}}function _cloneRoot(_0xce8ca6){const _0x1c6717=_emptyRoot(_0xce8ca6['rootName'],_0xce8ca6['isAttached']());for(const _0x20b1ab of _0xce8ca6['getChildren']()){const _0x21fc77=_0x20b1ab['_clone'](!0x0);_0x1c6717['_appendChild'](_0x21fc77);}return _0x1c6717;}function _emptyRoot(_0x405c3c,_0x2ccd3a=!0x0){const _0x582cc2=new ckeditor5['ModelDocumentFragment']();return _0x582cc2['rootName']=_0x405c3c,_0x582cc2['_isAttached']=_0x2ccd3a,_0x582cc2['isAttached']=()=>_0x582cc2['_isAttached'],_0x582cc2;}function _getPosBefore(_0x50f629,_0x4736c5,_0x3b571a){const _0x5e36d0='elementEnd'==_0x50f629['type']?_0x3b571a['createPositionAt'](_0x50f629['item'],'end'):_0x3b571a['createPositionBefore'](_0x50f629['item']);return _0x3b571a['createPositionFromPath'](_0x4736c5,_0x5e36d0['path'],_0x5e36d0['stickiness']);}function _getPosAfter(_0x169334,_0x3da8bf,_0x927470){const _0x1ed582='elementStart'==_0x169334['type']?_0x927470['createPositionAt'](_0x169334['item'],0x0):_0x927470['createPositionAfter'](_0x169334['item']);return _0x927470['createPositionFromPath'](_0x3da8bf,_0x1ed582['path'],_0x1ed582['stickiness']);}class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
ckeditor5['CssTransitionDisablerMixin'](ckeditor5['View']){['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x44e00f,_0x47d619){super(_0x44e00f),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x47d619),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),this['initializeCssTransitionDisablerMixin']();}['render'](){super['render'](),ckeditor5['submitHandler']({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x2a11d5=_0x4096c2=>_0x4096c2['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2a11d5),this['keystrokes']['set']('arrowleft',_0x2a11d5),this['keystrokes']['set']('arrowup',_0x2a11d5),this['keystrokes']['set']('arrowdown',_0x2a11d5);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x41c38a){this['revisionNameInputView']['fieldView']['element']['value']=_0x41c38a['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x1cdc45){const _0x498193=new ckeditor5['LabeledFieldView'](this['locale'],ckeditor5['createLabeledInputText']),_0x15cbc1=_0x498193['fieldView'];_0x15cbc1['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x1d0d91=getTranslation$5(this['locale'],'Name\x20of\x20the\x20revision');return!_0x1cdc45&&(_0x1d0d91+='\x20('+getTranslation$5(this['locale'],'optional')+')'),(_0x498193['label']=_0x1d0d91,_0x15cbc1['on']('input',()=>{this['revisionNameInputValue']=_0x15cbc1['element']['value']['trim']();}),_0x498193);}}class RevisionHistoryUI extends ckeditor5['Plugin']{static get['pluginName'](){return'RevisionHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x16b222];}['_saveRevisionFormView'];['init'](){const _0x5b30c1=this['editor'],_0x52a7eb=_0x5b30c1['plugins']['get']('RevisionTracker');_0x5b30c1['ui']['componentFactory']['add']('revisionHistory',_0x653529=>{const _0x44a702=ckeditor5['createDropdown'](_0x653529),_0x598021=_0x44a702['panelView']['children'],_0x526e23=new ckeditor5['ListView'](_0x653529),_0x122787=new ckeditor5['ListItemView'](_0x653529),_0x51e6b6=this['_createSaveRevisionButton'](ckeditor5['ButtonView']),_0xf1818d=new ckeditor5['ListItemView'](_0x653529),_0x3ae850=this['_createOpenRevisionButton'](ckeditor5['ButtonView']);return _0x44a702['bind']('isEnabled')['to'](_0x52a7eb,'isReady',_0x52a7eb,'isEnabled',_0x5b30c1,'isReadOnly',(_0x5b1a52,_0x444fd9,_0x4650b8)=>_0x5b1a52&&_0x444fd9&&!_0x4650b8),_0x44a702['buttonView']['set']({'icon':ckeditor5['IconHistory'],'label':getTranslation$5(_0x653529,'Revision\x20history'),'tooltip':!0x0}),_0x51e6b6['set']({'withText':!0x0,'role':'menuitem'}),_0x3ae850['set']({'withText':!0x0,'role':'menuitem'}),this['listenTo'](_0x3ae850,'execute',()=>{_0x44a702['isOpen']=!0x1,_0x5b30c1['editing']['view']['focus']();},{'priority':'low'}),_0x122787['children']['add'](_0x51e6b6),_0xf1818d['children']['add'](_0x3ae850),_0x526e23['role']='menu',_0x526e23['items']['addMany']([_0x122787,_0xf1818d]),_0x598021['add'](_0x526e23),_0x44a702;}),_0x5b30c1['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x45af4c=this['editor'],_0x36fd99=_0x45af4c['locale'],_0x5235bd=_0x45af4c['plugins']['get']('RevisionTracker'),_0x100349=new ckeditor5['MenuBarMenuView'](_0x36fd99),_0x4cccb8=new ckeditor5['MenuBarMenuListView'](_0x36fd99);_0x100349['bind']('isEnabled')['to'](_0x5235bd,'isReady',_0x5235bd,'isEnabled',_0x45af4c,'isReadOnly',(_0x1f1430,_0x10d4f8,_0x2029d7)=>_0x1f1430&&_0x10d4f8&&!_0x2029d7),_0x100349['buttonView']['set']({'icon':ckeditor5['IconHistory'],'label':getTranslation$5(_0x36fd99,'Revision\x20history')});const _0x2ab9c8=new ckeditor5['MenuBarMenuListItemView'](_0x36fd99,_0x100349),_0x13af65=this['_createSaveRevisionButton'](ckeditor5['MenuBarMenuListItemButtonView']);_0x13af65['delegate']('execute')['to'](_0x100349),_0x2ab9c8['children']['add'](_0x13af65),_0x4cccb8['items']['add'](_0x2ab9c8);const _0x227c9b=new ckeditor5['MenuBarMenuListItemView'](_0x36fd99,_0x100349),_0x25b92b=this['_createOpenRevisionButton'](ckeditor5['MenuBarMenuListItemButtonView']);return _0x25b92b['delegate']('execute')['to'](_0x100349),_0x227c9b['children']['add'](_0x25b92b),_0x4cccb8['items']['add'](_0x227c9b),_0x100349['panelView']['children']['add'](_0x4cccb8),_0x100349;}['_createSaveRevisionButton'](_0x3404cf){const _0x5164e4=this['editor'],_0x198e1e=_0x5164e4['plugins']['get']('RevisionTracker'),_0x17a076=new _0x3404cf(_0x5164e4['locale']);return _0x17a076['set']({'label':getTranslation$5(_0x5164e4['locale'],'Save\x20current\x20revision')}),_0x17a076['bind']('isEnabled')['to'](_0x198e1e,'isReady',_0x198e1e,'isEnabled',_0x5164e4,'isReadOnly',(_0x508ac3,_0x549cec,_0x4ae8d5)=>_0x508ac3&&_0x549cec&&!_0x4ae8d5),this['listenTo'](_0x17a076,'execute',()=>{this['_showDialog']();}),_0x17a076;}['_createOpenRevisionButton'](_0x29bb0f){const _0x219d7b=this['editor'],_0x7ca783=_0x219d7b['plugins']['get']('RevisionTracker'),_0x1f52e7=new _0x29bb0f(_0x219d7b['locale']);return _0x1f52e7['set']({'label':getTranslation$5(_0x219d7b['locale'],'Open\x20revision\x20history')}),_0x1f52e7['bind']('isEnabled')['to'](_0x7ca783,'isReady',_0x219d7b,'isReadOnly',(_0x4d0805,_0x26ce6b)=>_0x4d0805&&!_0x26ce6b),this['listenTo'](_0x1f52e7,'execute',()=>{_0x219d7b['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x1f52e7;}['_showDialog'](){const _0x1a85e0=this['editor'],_0x14ad59=_0x1a85e0['locale'],_0x445868=_0x1a85e0['plugins']['get']('Dialog'),_0x499128=_0x1a85e0['plugins']['get']('RevisionTracker');function _0x265e1b(_0x22a280){_0x1a85e0['config']['get']('revisionHistory.requireRevisionName')&&''===_0x22a280['revisionName']?_0x22a280['revisionNameInputView']['errorText']=getTranslation$5(_0x14ad59,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x1a85e0['plugins']['get'](_0x16b222)['saveRevision']({'name':_0x22a280['revisionName']}),_0x445868['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x265e1b(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x445868['show']({'id':'revisionSave','title':getTranslation$5(_0x14ad59,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':getTranslation$5(_0x1a85e0['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x445868['hide']()},{'label':getTranslation$5(_0x1a85e0['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x3b97fc){_0x3b97fc['bind']('isEnabled')['to'](_0x499128,'isReady',_0x499128,'isEnabled',_0x1a85e0,'isReadOnly',(_0x1fb3b4,_0x4ba45f,_0x38a98f)=>_0x1fb3b4&&_0x4ba45f&&!_0x38a98f);},'onExecute':()=>_0x265e1b(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x4cd6b2=this['editor'],_0x5e37ea=_0x4cd6b2['locale'];this['_saveRevisionFormView']=new RevisionHistorySaveRevisionFormView(_0x5e37ea,_0x4cd6b2['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class ChangeDetailsView extends ckeditor5['View']{['changeId'];['_model'];constructor(_0x2223c7,_0x2bc6b5){super(_0x2223c7),this['_model']=_0x2bc6b5,this['changeId']=_0x2bc6b5['id'];const _0x4c6d41=this['bindTemplate'],_0x5e90ea=getTranslation$5(_0x2223c7,_0x2bc6b5['data']['isSuggestion']?'Suggested\x20by':'add'==_0x2bc6b5['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x2bc6b5['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x4c6d41['to']('type',_0x3f01ab=>'ck-revision-change__'+_0x3f01ab)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x5e90ea}]},{'text':'\x20'+_0x2bc6b5['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class ChangeItem extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x1f0f07){super(),this['id']=_0x1f0f07['id']||ckeditor5['uid'](),this['author']=_0x1f0f07['author'],this['type']=_0x1f0f07['type'],this['data']=_0x1f0f07['data']||{},this['rootName']=_0x1f0f07['rootName'],this['set']('createdAt',_0x1f0f07['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}}class _0x10ef85{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x2c5466,_0x53f217){this['newRevisionId']=_0x2c5466,this['oldRevisionId']=_0x53f217,this['changes']=new ckeditor5['Collection']();}['_setChanges'](_0x33592e){for(const _0x2cd569 of _0x33592e)this['changes']['add'](_0x2cd569);}}class _0x52d83b extends ckeditor5['Plugin']{['repository'];['adapter']=null;['_utils'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x17009e,ckeditor5['ContextualBalloon'],RevisionsRepository,RevisionHistoryUtils];}constructor(_0x1bab54){super(_0x1bab54),this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_utils']=this['editor']['plugins']['get']('RevisionHistoryUtils'),this['set']('activeChange',null),this['set']('activeView',null),this['_activeViewTarget']=null,this['set']('diff',null),this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['on']('change:isEnabled',(_0x5032b6,_0x452e1f,_0x43e64a)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0xd82f1=>{for(const _0x4b5c8e of this['editor']['editing']['view']['document']['roots'])_0x43e64a?_0xd82f1['removeClass']('ck-editor__editable__overlay',_0x4b5c8e):_0xd82f1['addClass']('ck-editor__editable__overlay',_0x4b5c8e);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x29ba42=>null!==_0x29ba42),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x518928,_0x4bc5db,_0x253669)=>_0x518928&&_0x253669?_0x4bc5db['changes']['getIndex'](_0x253669):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0xe7b8ec,_0x1da6e5)=>_0xe7b8ec?_0x1da6e5['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['_balloon']=this['editor']['plugins']['get'](ckeditor5['ContextualBalloon']);}['init'](){const _0x13be17=this['editor'],_0x4dc653=new _0x574002(_0x13be17,{'direction':'backward'}),_0x313c74=new _0x574002(_0x13be17,{'direction':'forward'});(_0x13be17['commands']['add']('showPreviousChange',_0x4dc653),_0x13be17['commands']['add']('showNextChange',_0x313c74),_0x13be17['commands']['add']('restoreRevision',new RestoreRevisionCommand(_0x13be17)),this['on']('change:numberOfChanges',()=>{_0x4dc653['refresh'](),_0x313c74['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x13be17['enableReadOnlyMode']('revision-viewer'),_0x13be17['plugins']['has']('WidgetToolbarRepository'))&&_0x13be17['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionDocumentData'](_0x5d9cec){return await this['_utils']['loadRevisionData'](_0x5d9cec,this['adapter']),this['_utils']['getRevisionDocumentData'](_0x5d9cec);}async['getRevisionRootsAttributes'](_0x52d6ee){return await this['_utils']['loadRevisionData'](_0x52d6ee,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x52d6ee);}async['compare'](_0x5de30e,_0x209604,_0x104f78=!0x1){if(!this['isEnabled'])return;const _0x50001e=this['diff'],_0x84b76f=this['repository'],_0x1bcd68='string'==typeof _0x5de30e?_0x84b76f['getRevision'](_0x5de30e):_0x5de30e,_0x4ba5fb='string'==typeof _0x209604?_0x84b76f['getRevision'](_0x209604):_0x209604,_0x4793f9=_0x1bcd68['id'],_0x1a3d4c=_0x4ba5fb?_0x4ba5fb['id']:null;if(!_0x104f78&&this['diff']&&this['diff']['newRevisionId']===_0x4793f9&&this['diff']['oldRevisionId']===_0x1a3d4c)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new _0x10ef85(_0x4793f9,_0x1a3d4c);const _0x494ee1=this['_getRevisionsRange'](_0x1bcd68,_0x4ba5fb,!0x0)['map'](_0x3978f8=>this['_utils']['loadRevisionData'](_0x3978f8,this['adapter']));return _0x494ee1['push'](new Promise(_0x425433=>{setTimeout(_0x425433,0x14);})),Promise['all'](_0x494ee1)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0xfe34ab=this['_getDiff'](_0x4793f9,_0x1a3d4c);for(const _0x44d337 of _0xfe34ab['changes'])this['_changeIdToChange']['set'](_0x44d337['id'],_0x44d337);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x29a899=>{for(const _0x452baf of this['editor']['model']['document']['getRootNames']())_0x29a899['detachRoot'](_0x452baf);for(const _0x28ece1 of Object['keys'](_0xfe34ab['model'])){const _0x4bc94f=_0x29a899['addRoot'](_0x28ece1);for(const _0x4ff59b of Object['keys'](_0xfe34ab['attributes'][_0x28ece1]))_0x29a899['setAttribute'](_0x4ff59b,_0xfe34ab['attributes'][_0x28ece1][_0x4ff59b],_0x4bc94f);_0x29a899['insert'](_0xfe34ab['model'][_0x28ece1],_0x4bc94f,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0xfe34ab['changes'])),this['isReady']=!0x0;})['catch'](_0x4d69ff=>{console['error'](_0x4d69ff),this['_cleanUp'](),_0x50001e&&(this['diff']=_0x50001e),this['isReady']=!0x0;});}['addRevisionData'](_0x16a28d,_0x477ece){const _0x38a94b=this['repository']['createRevision'](_0x16a28d);return _0x38a94b['on']('_update',(_0xe6bb3b,_0x1ca55a,_0x48710e)=>_0x477ece(_0x1ca55a,_0x48710e,_0x38a94b)),this['repository']['addRevision'](_0x38a94b),_0x38a94b;}['_cleanUp'](){this['activeChange']=null,this['_cleanMarkers'](),this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=null,this['_changeIdToChange']['clear'](),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x5c884d=>{for(const _0x3a4238 of this['editor']['model']['document']['getRootNames']())_0x5c884d['detachRoot'](_0x3a4238);});}['_sortAndFilterDiffChanges'](_0x3942f8){const _0x399506=[],_0x337f0f=new Map();for(const _0x29c448 of this['editor']['model']['document']['getRootNames']()){const _0x24e9ec=this['editor']['editing']['view']['getDomRoot'](_0x29c448);if(!_0x24e9ec)continue;const _0x2a8699=_0x24e9ec['getClientRects']()['item'](0x0);_0x2a8699&&(_0x399506['push'](_0x29c448),_0x337f0f['set'](_0x29c448,_0x2a8699));}return _0x399506['sort']((_0x5bd7de,_0x2231cb)=>{const _0x1d7b0c=_0x337f0f['get'](_0x5bd7de),_0x54e769=_0x337f0f['get'](_0x2231cb);return _0x1d7b0c['y']-_0x54e769['y']||_0x1d7b0c['x']-_0x54e769['x'];}),(_0x3942f8=_0x3942f8['filter'](_0x3e5bda=>_0x399506['includes'](_0x3e5bda['rootName'])))['sort']((_0x4fadd6,_0x517234)=>_0x399506['indexOf'](_0x4fadd6['rootName'])-_0x399506['indexOf'](_0x517234['rootName'])),_0x3942f8;}['_makeTape'](_0x4eecec){const _0x3f35bf=Array['from'](_0x4eecec['markers'])['filter'](([_0xc7723a,_0x2ca06d])=>_0xc7723a['startsWith']('revision:')&&!_0x2ca06d['isCollapsed']),_0x3a529f=Array['from'](this['editor']['model']['createRangeIn'](_0x4eecec)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x3f35bf['length'])for(const _0x20e1cc of _0x3a529f){const [_0x383747,_0x2ff0ce]=_0x3f35bf[0x0],[,_0x52c460,_0x15f47f]=_0x383747['split'](':');if(_0x2ff0ce['end']['isEqual'](_0x20e1cc['nextPosition'])&&_0x3f35bf['shift'](),(_0x20e1cc['previousPosition']['isEqual'](_0x2ff0ce['start'])||_0x20e1cc['previousPosition']['isAfter'](_0x2ff0ce['start']))&&('insertion'==_0x52c460?_0x20e1cc['isAdded']={'userId':_0x15f47f}:'deletion'==_0x52c460&&(_0x20e1cc['isRemoved']={'userId':_0x15f47f})),0x0==_0x3f35bf['length'])break;}return _0x3a529f;}['_refreshStartEndIndex'](_0x2a7fb5){const _0x2d6324=new Map();for(let _0x4eb167=0x0;_0x4eb167<_0x2a7fb5['length'];_0x4eb167++)'text'===_0x2a7fb5[_0x4eb167]['type']?(_0x2a7fb5[_0x4eb167]['item']['startIndex']=_0x4eb167,_0x2a7fb5[_0x4eb167]['item']['endIndex']=_0x4eb167):('elementStart'===_0x2a7fb5[_0x4eb167]['type']?_0x2a7fb5[_0x4eb167]['item']['startIndex']=_0x4eb167:'elementEnd'===_0x2a7fb5[_0x4eb167]['type']&&(_0x2a7fb5[_0x4eb167]['item']['endIndex']=_0x4eb167),_0x2d6324['set'](_0x2a7fb5[_0x4eb167]['id'],_0x4eb167));for(const _0x4da7f3 of _0x2d6324['values']())'elementStart'===_0x2a7fb5[_0x4da7f3]['type']?_0x2a7fb5[_0x4da7f3]['item']['endIndex']=_0x2d6324['get'](_0x2a7fb5[_0x4da7f3]['pairId']):'elementEnd'===_0x2a7fb5[_0x4da7f3]['type']&&(_0x2a7fb5[_0x4da7f3]['item']['startIndex']=_0x2d6324['get'](_0x2a7fb5[_0x4da7f3]['pairId']));}['_processTape'](_0x2c9734){for(let _0x2e13f7=0x0;_0x2e13f7<_0x2c9734['length'];_0x2e13f7++){if('elementStart'===_0x2c9734[_0x2e13f7]['type'])_0x2c9734[_0x2e13f7]['item']['startIndex']=_0x2e13f7;else{if('elementEnd'===_0x2c9734[_0x2e13f7]['type']){_0x2c9734[_0x2e13f7]['item']['endIndex']=_0x2e13f7;const _0x590ad5=_0x2c9734[_0x2e13f7]['item']['startIndex'];_0x2c9734[_0x590ad5]['pairId']=_0x2c9734[_0x2e13f7]['id'],_0x2c9734[_0x2e13f7]['pairId']=_0x2c9734[_0x590ad5]['id'];}else _0x2c9734[_0x2e13f7]['item']['startIndex']=_0x2e13f7,_0x2c9734[_0x2e13f7]['item']['endIndex']=_0x2e13f7,_0x2c9734[_0x2e13f7]['pairId']=null;}_0x2c9734[_0x2e13f7]['markersStart']||(_0x2c9734[_0x2e13f7]['markersStart']=[],_0x2c9734[_0x2e13f7]['markersEnd']=[]);}}['_markInsertions'](_0x3dc156,_0x52cf20){const _0x261727=_0x3dc156['filter'](_0x278bc6=>!_0x278bc6['isAdded']);for(let _0xb93b28=0x0;_0xb93b28<_0x52cf20['length'];_0xb93b28++)_0x52cf20[_0xb93b28]['isAdded']&&(_0x261727[_0xb93b28]['isAdded']=_0x52cf20[_0xb93b28]['isAdded']);}['_getDiff'](_0x5610af,_0x49fbf1=null){const _0x1dfa58=this['repository']['getRevision'](_0x5610af),_0x488f27=_0x49fbf1?this['repository']['getRevision'](_0x49fbf1):null,_0x1476af=this['_getRevisionsRange'](_0x1dfa58,_0x488f27),_0x26a96b=_0x1476af[_0x1476af['length']-0x1],_0x1ba6ed=new Map(),_0x1b6221={'model':{},'attributes':{},'changes':[]},_0x49a111=new Set(),_0x470c10=new Map();for(let _0x235eb5=_0x1476af['length']-0x1;_0x235eb5>=0x0;_0x235eb5--){const _0x526f7c=_0x1476af[_0x235eb5];for(const _0x25cef0 of Object['keys'](_0x526f7c['diffData']))if(_0x526f7c['diffData'][_0x25cef0]['attachChange']){const _0x8c8959=_0x526f7c['diffData'][_0x25cef0]['attachChange'];_0x8c8959['isAttached']?(_0x49a111['add'](_0x25cef0),_0x470c10['has'](_0x25cef0)&&_0x470c10['get'](_0x25cef0)['userId']==_0x8c8959['userId']?_0x470c10['delete'](_0x25cef0):_0x470c10['set'](_0x25cef0,_0x8c8959)):_0x470c10['has'](_0x25cef0)?(_0x49a111['delete'](_0x25cef0),_0x470c10['delete'](_0x25cef0)):(_0x49a111['add'](_0x25cef0),_0x470c10['set'](_0x25cef0,_0x8c8959));}else _0x49a111['add'](_0x25cef0);}for(const _0x5d2ad7 of _0x49a111){const _0x25f510=_0x470c10['has'](_0x5d2ad7)&&!_0x470c10['get'](_0x5d2ad7)['isAttached'];let _0x13cb68=_0x25f510?_0x1476af['length']-0x1:0x0;const _0x6ab743=_0x25f510?-0x1:0x1;for(;_0x1476af[_0x13cb68];){const _0x1a3a0a=_0x1476af[_0x13cb68];if(_0x1a3a0a['diffData'][_0x5d2ad7]){const _0x5e3cb5=_0x25f510?_0x1a3a0a['diffData'][_0x5d2ad7]['attributesBefore']:_0x1a3a0a['diffData'][_0x5d2ad7]['attributesAfter'];_0x1b6221['attributes'][_0x5d2ad7]=_0x5e3cb5?_0x402449(_0x5e3cb5):{};break;}_0x13cb68+=_0x6ab743;}}for(const _0x4179c9 of _0x1476af){_0x4179c9['model']={};for(const _0x4385a6 of _0x4179c9['authors'])_0x1ba6ed['set'](_0x4385a6['id'],_0x4385a6);for(const _0x318d4c of _0x49a111){const _0xe2af80=_0x4179c9['diffData'][_0x318d4c]?_0x4179c9['diffData'][_0x318d4c]['insertions']:'[]',_0x42ff7f=_0x4179c9['diffData'][_0x318d4c]?_0x4179c9['diffData'][_0x318d4c]['deletions']:'[]';_0x4179c9['model'][_0x318d4c]={'insertions':this['_utils']['_makeModelFromViewString'](_0xe2af80),'deletions':this['_utils']['_makeModelFromViewString'](_0x42ff7f)};}}for(const _0x49bffb of _0x49a111){let _0x403a26=null,_0x20f779=0x0;const _0xd0994=new Map(Array['from'](_0x1dfa58['model'][_0x49bffb]['insertions']['markers'])['filter'](([_0x4e48f9])=>!_0x4e48f9['startsWith']('revision:')));let _0x1b121=0x0;for(const _0x2cd09f of _0x1476af){const _0xa91acc=this['_makeTape'](_0x2cd09f['model'][_0x49bffb]['insertions']);_0x2cd09f==_0x1dfa58?(_0x403a26=_0xa91acc,_0x20f779=_0x403a26['length'],_0x403a26['forEach'](_0x484a3c=>{_0x484a3c['id']=_0x1b121++;}),this['_processTape'](_0x403a26)):this['_markInsertions'](_0x403a26,_0xa91acc);const _0x33d4fc=_0x403a26['filter'](_0x4196d1=>!_0x4196d1['isAdded'])['map'](_0xad0a35=>_0xad0a35['id']);let _0x9415b5=0x0;const _0x46c7d1=this['_makeTape'](_0x2cd09f['model'][_0x49bffb]['deletions']);_0x46c7d1['forEach'](_0x371441=>{_0x371441['isRemoved']?_0x371441['id']=_0x20f779++:_0x371441['id']=_0x33d4fc[_0x9415b5++];}),this['_processTape'](_0x46c7d1),this['_setDistance'](_0x403a26,'isAdded'),this['_setDistance'](_0x46c7d1,'isRemoved'),_0x2cd09f==_0x1dfa58&&this['_markMarkers'](_0x403a26,_0xd0994),_0x403a26=this['_joinTapes'](_0x403a26,_0x46c7d1),this['_refreshStartEndIndex'](_0x403a26),this['_setDistance'](_0x403a26,'isRemoved');}_0x403a26=_0x403a26['filter'](_0x3533c1=>!(_0x3533c1['isAdded']&&_0x3533c1['isRemoved']));const _0x52552b=new Map(_0x26a96b['model'][_0x49bffb]['deletions']['markers']),_0x1f893a=new Set(_0xd0994['keys']());for(const _0x26334e of _0x52552b['keys']())_0x1f893a['delete'](_0x26334e);this['_markSuggestions'](_0x403a26,_0x1f893a),this['_fixObsoleteTags'](_0x403a26),_0x403a26=this['_removeMissingPairs'](_0x403a26),_0x403a26=this['_markMismatchedRemovedTags'](_0x403a26),_0x403a26=this['_removeUnsupportedChanges'](_0x403a26);const {root:_0x46eeaf,changes:_0x32a13c}=this['_makeModelFromTape'](_0x403a26,_0x1ba6ed,_0x49bffb);_0x1b6221['model'][_0x49bffb]=_0x46eeaf;const _0x212c20=_0x470c10['get'](_0x49bffb);if(_0x212c20){const _0x399dba=_0x1ba6ed['get'](_0x212c20['userId']),_0x497123=new ChangeItem({'author':_0x399dba,'type':_0x212c20['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x49bffb});_0x32a13c['unshift'](_0x497123),_0x1b6221['attributes'][_0x49bffb]['revisionHistoryAttachChange']=_0x497123['id'];}_0x1b6221['changes']=_0x1b6221['changes']['concat'](_0x32a13c);}return _0x1b6221;}['_markMarkers'](_0x41cb17,_0x5d17af){for(let _0x7cbbdc=0x0;_0x7cbbdc<_0x41cb17['length'];_0x7cbbdc++)for(const [_0x49d1bd,_0x32e075]of _0x5d17af)!_0x32e075['isCollapsed']&&_0x32e075['start']['isEqual'](_0x41cb17[_0x7cbbdc]['previousPosition'])&&_0x41cb17[_0x7cbbdc]['markersStart']['push'](_0x49d1bd),_0x32e075['end']['isEqual'](_0x41cb17[_0x7cbbdc]['nextPosition'])&&_0x41cb17[_0x7cbbdc]['markersEnd']['push'](_0x49d1bd);}['_joinTapes'](_0x307e91,_0x1ac923){let _0x59d320=[],_0x4a510e=0x0,_0x4aeceb=0x0;for(;_0x4a510e<_0x307e91['length']||_0x4aeceb<_0x1ac923['length'];){const _0x2c4a62=_0x307e91[_0x4a510e]||{},_0x4b2f7e=_0x1ac923[_0x4aeceb]||{};if(_0x2c4a62['id']==_0x4b2f7e['id'])_0x4a510e++,_0x4aeceb++,_0x59d320['push'](_0x2c4a62);else{if(_0x4b2f7e['isRemoved']&&_0x2c4a62['isAdded']){const {commonTape:_0x964473,iEnd:_0x170c93,jEnd:_0x3cd071}=this['_threeWayMerge'](_0x307e91,_0x4a510e,_0x1ac923,_0x4aeceb);_0x59d320=_0x59d320['concat'](_0x964473),_0x4a510e=_0x170c93,_0x4aeceb=_0x3cd071;}else _0x4b2f7e['isRemoved']?(_0x4aeceb++,_0x59d320['push'](_0x4b2f7e)):(_0x4a510e++,_0x59d320['push'](_0x2c4a62));}}return _0x59d320;}['_markSuggestions'](_0x1f59b4,_0x533c38){const _0x474e44=[];for(let _0x44300d=0x0;_0x44300d<_0x1f59b4['length'];_0x44300d++){for(let _0x1af0d6=0x0;_0x1af0d6<_0x1f59b4[_0x44300d]['markersStart']['length'];_0x1af0d6++){const _0x3ff95a=_0x1f59b4[_0x44300d]['markersStart'][_0x1af0d6];if(!_0x533c38['has'](_0x3ff95a))continue;const {group:_0x46d260,type:_0x238de1,authorId:_0x31b337}=_0x5b33fe(_0x3ff95a);'revision-suggestion'!=_0x46d260||'insertion'!=_0x238de1&&'deletion'!=_0x238de1||(_0x474e44['unshift']({'type':_0x238de1,'name':_0x3ff95a,'userId':_0x31b337}),_0x1f59b4[_0x44300d]['markersStart']['splice'](_0x1af0d6,0x1),_0x1af0d6--);}_0x5b669c(_0x1f59b4[_0x44300d]);for(let _0xdc111b=0x0;_0xdc111b<_0x1f59b4[_0x44300d]['markersEnd']['length'];_0xdc111b++){const _0x39eb7b=_0x1f59b4[_0x44300d]['markersEnd'][_0xdc111b];if(!_0x533c38['has'](_0x39eb7b))continue;const {group:_0x285ac3,type:_0x730689}=_0x5b33fe(_0x39eb7b);if('revision-suggestion'!=_0x285ac3||'insertion'!=_0x730689&&'deletion'!=_0x730689)continue;_0x1f59b4[_0x44300d]['markersEnd']['splice'](_0xdc111b,0x1),_0xdc111b--;const _0x13df91=_0x474e44['findIndex'](_0x3d1118=>_0x3d1118['name']==_0x39eb7b);_0x13df91>-0x1&&_0x474e44['splice'](_0x13df91,0x1);}}function _0x5b33fe(_0x2db4e6){const _0x168009=_0x2db4e6['split'](':');return{'group':_0x168009[0x0],'type':_0x168009[0x1],'subType':_0x168009['length']>=0x5?_0x168009[0x2]:null,'id':_0x168009['length']<0x5?_0x168009[0x2]:_0x168009[0x3],'authorId':_0x168009['length']<0x5?_0x168009[0x3]:_0x168009[0x4],'markerCount':0x6==_0x168009['length']?_0x168009[0x5]:null};}function _0x5b669c(_0x2d55c4){for(let _0x40a612=0x0;_0x40a612<_0x474e44['length'];_0x40a612++){if(_0x2d55c4['isAdded']&&'insertion'==_0x474e44[_0x40a612]['type']&&_0x2d55c4['isAdded']['userId']==_0x474e44[_0x40a612]['userId'])return _0x2d55c4['isAddSuggestion']=_0x474e44[_0x40a612],void delete _0x2d55c4['isAdded'];if(!_0x2d55c4['isAdded']&&!_0x2d55c4['isRemoved']&&'deletion'==_0x474e44[_0x40a612]['type'])return void(_0x2d55c4['isRemoveSuggestion']=_0x474e44[_0x40a612]);}}}['_setDistance'](_0x1064b9,_0x2d51cc){let _0x4a3b6e=0x0,_0x276145=!0x1;const _0x1b34bd=new Map();for(const _0x366ef7 of _0x1064b9)_0x366ef7[_0x2d51cc]?_0x276145&&(_0x4a3b6e++,_0x276145=!0x1):(_0x4a3b6e++,_0x276145=!0x0),_0x1b34bd['set'](_0x366ef7['id'],_0x4a3b6e);for(let _0x56e91f=0x0;_0x56e91f<_0x1064b9['length'];_0x56e91f++){if('isRemoved'==_0x2d51cc&&_0x1064b9[_0x56e91f]['isAdded']||'isAdded'==_0x2d51cc&&_0x1064b9[_0x56e91f]['isRemoved'])continue;if('text'==_0x1064b9[_0x56e91f]['type']){_0x1064b9[_0x56e91f]['distance']=0x0;continue;}const _0x5ace52=_0x1b34bd['get'](_0x1064b9[_0x56e91f]['pairId']),_0x534e80=_0x1b34bd['get'](_0x1064b9[_0x56e91f]['id']);_0x1064b9[_0x56e91f]['distance']=_0x5ace52-_0x534e80;}}['_getRevisionsRange'](_0x4973c6,_0xd85f19,_0x3729da=!0x1){const _0x11bc2c=[];let _0x177203=this['repository']['getIndex'](_0x4973c6),_0x2a7279=this['repository']['getIndex'](_0xd85f19);for(-0x1==_0x2a7279&&(_0x2a7279=this['repository']['_revisions']['length'],_0x3729da=!0x1);_0x177203<_0x2a7279;)_0x11bc2c['push'](this['repository']['getRevision'](_0x177203)),_0x177203++;return _0x3729da&&_0x11bc2c['push'](this['repository']['getRevision'](_0x177203)),_0x11bc2c;}['_threeWayMerge'](_0x15b965,_0x21af8b,_0x33a53d,_0x18cdf9){const _0xbbc2aa=this['editor']['model']['schema'];let _0x170dd0=_0x21af8b;for(;_0x15b965[_0x170dd0]&&_0x15b965[_0x170dd0]['isAdded'];)_0x170dd0++;let _0x4af6a4=_0x18cdf9;for(;_0x33a53d[_0x4af6a4]&&_0x33a53d[_0x4af6a4]['isRemoved'];)_0x4af6a4++;_0x38a53b(_0x15b965,_0x21af8b,_0x170dd0),_0x38a53b(_0x33a53d,_0x18cdf9,_0x4af6a4);const _0x560132=_0x33a53d['slice'](_0x18cdf9,_0x4af6a4)['concat'](_0x15b965['slice'](_0x21af8b,_0x170dd0));return _0x560132['sort']((_0x1b30bc,_0x1b6653)=>_0x1b30bc['side']!=_0x1b6653['side']?_0x1b30bc['side']-_0x1b6653['side']:_0x1b30bc['level']!=_0x1b6653['level']?_0x1b30bc['level']-_0x1b6653['level']:_0x1b30bc['distance']!=_0x1b6653['distance']?_0x1b6653['distance']-_0x1b30bc['distance']:!!_0x1b30bc['isAdded']!=!!_0x1b6653['isAdded']?-0x1==_0x1b30bc['side']||0x0==_0x1b30bc['side']?_0x1b30bc['isAdded']?-0x1:0x1:_0x1b30bc['isAdded']?0x1:-0x1:_0x1b30bc['index']-_0x1b6653['index']),{'commonTape':_0x560132,'iEnd':_0x170dd0,'jEnd':_0x4af6a4};function _0x38a53b(_0x4cc36e,_0x1e2070,_0xff7841){let _0x36dd7b=-0x1,_0x562da7=Number['POSITIVE_INFINITY'],_0x350986=!0x0;for(let _0x4270e4=_0x1e2070;_0x4270e4<_0xff7841;_0x4270e4++)if(_0xbbc2aa['isInline'](_0x4cc36e[_0x4270e4]['item'])||(_0x350986=!0x1),_0x4cc36e[_0x4270e4]['item']['startIndex']<_0x1e2070&&(_0x36dd7b=_0x4270e4),_0x4cc36e[_0x4270e4]['item']['endIndex']>=_0xff7841){_0x562da7=_0x4270e4;break;}_0x350986&&(_0x36dd7b=_0xff7841-0x1);for(let _0x18562a=_0x1e2070;_0x18562a<_0xff7841;_0x18562a++)_0x4cc36e[_0x18562a]['side']=_0x18562a<=_0x36dd7b?-0x1:_0x18562a<_0x562da7?0x0:0x1,_0x4cc36e[_0x18562a]['index']=_0x18562a;let _0x7cd802=0x0;for(let _0x5ae544=_0x1e2070;_0x5ae544<=_0x36dd7b;_0x5ae544++)0x0==_0x4cc36e[_0x5ae544]['distance']?_0x4cc36e[_0x5ae544]['level']=_0x7cd802:(_0x7cd802++,_0x4cc36e[_0x5ae544]['level']=_0x7cd802,_0x7cd802++);for(let _0x4b6e23=_0x1e2070;_0x4b6e23<_0xff7841;_0x4b6e23++)0x0==_0x4cc36e[_0x4b6e23]['side']&&(_0x4cc36e[_0x4b6e23]['level']=_0x7cd802);_0x7cd802=0x0;for(let _0x43e9d3=_0xff7841-0x1;_0x43e9d3>=_0x562da7;_0x43e9d3--)0x0==_0x4cc36e[_0x43e9d3]['distance']?_0x4cc36e[_0x43e9d3]['level']=_0x7cd802:(_0x7cd802--,_0x4cc36e[_0x43e9d3]['level']=_0x7cd802,_0x7cd802--);}}['_fixObsoleteTags'](_0x4b2153){const _0x152a82=new Map(),_0xc12bd6=this['editor']['model']['schema'];for(let _0x3719ff=0x1;_0x3719ff<_0x4b2153['length'];_0x3719ff++){let _0x176676,_0x1810ba,_0x40d730;const _0x563d37=_0x4b2153[_0x3719ff],_0x3e83da=_0x4b2153[_0x3719ff-0x1];if('text'==_0x563d37['type'])continue;if(_0x563d37['type']!=_0x3e83da['type'])continue;if(!_0xc12bd6['isBlock'](_0x3e83da['item'])||_0xc12bd6['isLimit'](_0x3e83da['item']))continue;if(!_0xc12bd6['isBlock'](_0x563d37['item'])||_0xc12bd6['isLimit'](_0x563d37['item']))continue;if((_0x4b2153[_0x3719ff]['isAdded']||_0x4b2153[_0x3719ff]['isAddSuggestion'])&&_0x4b2153[_0x3719ff-0x1]['isRemoved'])_0x176676=_0x4b2153[_0x3719ff],_0x1810ba=_0x4b2153[_0x3719ff-0x1],_0x40d730=_0x3719ff-0x1;else{if(!_0x4b2153[_0x3719ff]['isRemoved']||!_0x4b2153[_0x3719ff-0x1]['isAdded']&&!_0x4b2153[_0x3719ff-0x1]['isAddSuggestion'])continue;_0x176676=_0x4b2153[_0x3719ff-0x1],_0x1810ba=_0x4b2153[_0x3719ff],_0x40d730=_0x3719ff;}const _0x3a0864=_0x176676['level']==_0x1810ba['level'],_0x24bf99=Math['abs'](_0x176676['level'])<Math['abs'](_0x1810ba['level'])&&0x0==_0x1810ba['distance'];(_0x3a0864||_0x24bf99)&&(_0x152a82['set'](_0x1810ba['id'],_0x176676['id']),_0x4b2153['splice'](_0x40d730,0x1),_0x3719ff--,_0x176676['isAdded']=!0x1);}for(let _0x598256=0x0;_0x598256<_0x4b2153['length'];_0x598256++)_0x152a82['has'](_0x4b2153[_0x598256]['pairId'])&&(_0x4b2153[_0x598256]['pairId']=_0x152a82['get'](_0x4b2153[_0x598256]['pairId']));}['_removeMissingPairs'](_0x2b9ea7){const _0x2033cf=new Set(_0x2b9ea7['map'](_0x4d76f4=>_0x4d76f4['id']));for(let _0x2ce635=0x0;_0x2ce635<_0x2b9ea7['length'];_0x2ce635++)_0x2033cf['has'](_0x2b9ea7[_0x2ce635]['pairId'])||0x0==_0x2b9ea7[_0x2ce635]['distance']||(_0x2b9ea7[_0x2ce635]['isIncorrect']=!0x0);return _0x2b9ea7['filter'](_0x1ef1c4=>!_0x1ef1c4['isIncorrect']);}['_markMismatchedRemovedTags'](_0x266814){const _0xf7ee60=new Set();for(let _0x4dad9c=0x0;_0x4dad9c<_0x266814['length'];_0x4dad9c++){if(_0xf7ee60['has'](_0x266814[_0x4dad9c]['id'])&&_0x266814[_0x4dad9c]['isRemoved']&&(_0x266814[_0x4dad9c]['isIncorrect']=!0x0),_0x266814[_0x4dad9c]['isIncorrect'])continue;if(0x0==_0x266814[_0x4dad9c]['distance'])continue;if('elementStart'!=_0x266814[_0x4dad9c]['type'])continue;if(null==_0x266814[_0x4dad9c]['pairId'])continue;let _0x4d46de=_0x4dad9c+0x1,_0x36c991=0x0;for(;_0x266814[_0x4d46de]['id']!=_0x266814[_0x4dad9c]['pairId'];)'elementStart'==_0x266814[_0x4d46de]['type']?_0x36c991++:'elementEnd'==_0x266814[_0x4d46de]['type']&&_0x36c991--,_0x4d46de++;if(0x0!=_0x36c991){if(_0x266814[_0x4dad9c]['isRemoved'])_0x266814[_0x4dad9c]['isIncorrect']=!0x0;else{for(;_0x4d46de!=_0x4dad9c;)_0x266814[_0x4d46de]['isRemoved']&&0x0!=_0x266814[_0x4d46de]['distance']&&(_0x266814[_0x4d46de]['isIncorrect']=!0x0,_0xf7ee60['add'](_0x266814[_0x4d46de]['pairId'])),_0x4d46de--;}}}return _0x266814['filter'](_0x5e5adc=>!_0x5e5adc['isIncorrect']);}['_removeUnsupportedChanges'](_0xc46f5f){const _0x2202f0=this['editor']['model']['schema'];for(let _0x30984a=0x0;_0x30984a<_0xc46f5f['length'];_0x30984a++){if(!(_0xc46f5f[_0x30984a]['isAdded']||_0xc46f5f[_0x30984a]['isAddSuggestion']||_0xc46f5f[_0x30984a]['isRemoved']||_0xc46f5f[_0x30984a]['isRemoveSuggestion']))continue;if(0x0==_0xc46f5f[_0x30984a]['distance'])continue;const _0x294d0d=_0xc46f5f[_0x30984a]['item'];_0x2202f0['isBlock'](_0x294d0d)||_0x2202f0['isLimit'](_0x294d0d)||(_0xc46f5f[_0x30984a]['isAdded']&&delete _0xc46f5f[_0x30984a]['isAdded'],_0xc46f5f[_0x30984a]['isAddSuggestion']&&delete _0xc46f5f[_0x30984a]['isAddSuggestion'],_0xc46f5f[_0x30984a]['isRemoveSuggestion']&&delete _0xc46f5f[_0x30984a]['isRemoveSuggestion'],_0xc46f5f[_0x30984a]['isRemoved']&&(_0xc46f5f[_0x30984a]['isIncorrect']=!0x0));}return _0xc46f5f['filter'](_0x31c23c=>!_0x31c23c['isIncorrect']);}['_makeModelFromTape'](_0x5c21e7,_0x3d833d,_0x2c2a40){const _0x118bfa=new ckeditor5['ModelDocumentFragment'](),_0x30ef46=[],_0x3399ee=new Map(),_0x4d192b=this['editor']['model'],_0x812de=_0x4d192b['schema'],_0x3824cc=[_0x118bfa],_0x5a7664={},_0x16dfe0={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0xb626c4=null;const _0x1b24f7=[0x0];for(let _0x23794=0x0;_0x23794<_0x5c21e7['length'];_0x23794++)if('elementStart'===_0x5c21e7[_0x23794]['type']){_0x5c21e7[_0x23794]['previousPosition']=_0x4d192b['createPositionFromPath'](_0x118bfa,_0x1b24f7);const _0x51dd7e=new ckeditor5['ModelElement'](_0x5c21e7[_0x23794]['item']['name'],_0x5c21e7[_0x23794]['item']['getAttributes']());_0x3824cc[0x0]['_appendChild'](_0x51dd7e),_0x1b24f7['push'](0x0),_0x3824cc['unshift'](_0x51dd7e),_0x5c21e7[_0x23794]['nextPosition']=_0x4d192b['createPositionFromPath'](_0x118bfa,_0x1b24f7);}else'elementEnd'===_0x5c21e7[_0x23794]['type']?(_0x3824cc['shift'](),_0x5c21e7[_0x23794]['previousPosition']=_0x4d192b['createPositionFromPath'](_0x118bfa,_0x1b24f7),_0x1b24f7['pop'](),_0x1b24f7[_0x1b24f7['length']-0x1]++,_0x5c21e7[_0x23794]['nextPosition']=_0x4d192b['createPositionFromPath'](_0x118bfa,_0x1b24f7)):(_0x5c21e7[_0x23794]['previousPosition']=_0x4d192b['createPositionFromPath'](_0x118bfa,_0x1b24f7),_0xb626c4?_0xb626c4['_data']+=_0x5c21e7[_0x23794]['item']['data']:_0xb626c4=new ckeditor5['ModelText'](_0x5c21e7[_0x23794]['item']['data'],_0x5c21e7[_0x23794]['item']['getAttributes']()),_0x5c21e7[_0x23794+0x1]&&'text'===_0x5c21e7[_0x23794+0x1]['type']&&_0x33af69(_0xb626c4,_0x5c21e7[_0x23794+0x1]['item'])||(_0x3824cc[0x0]['_appendChild'](_0xb626c4),_0xb626c4=null),_0x1b24f7[_0x1b24f7['length']-0x1]+=_0x5c21e7[_0x23794]['item']['offsetSize'],_0x5c21e7[_0x23794]['nextPosition']=_0x4d192b['createPositionFromPath'](_0x118bfa,_0x1b24f7));for(let _0x4dd87d=0x0;_0x4dd87d<_0x5c21e7['length'];_0x4dd87d++){const _0x33550d=_0x5c21e7[_0x4dd87d]['previousPosition'],_0xde681a=_0x5c21e7[_0x4dd87d]['nextPosition'];for(const _0x3f3033 of _0x5c21e7[_0x4dd87d]['markersStart'])_0x3399ee['set'](_0x3f3033,{'start':_0x33550d,'end':null});_0x2ceae2('isRemoveSuggestion',_0x4dd87d,_0x33550d,_0xde681a),_0x2ceae2('isAddSuggestion',_0x4dd87d,_0x33550d,_0xde681a),_0x2ceae2('isRemoved',_0x4dd87d,_0x33550d,_0xde681a),_0x2ceae2('isAdded',_0x4dd87d,_0x33550d,_0xde681a);for(const _0x1c2cc4 of _0x5c21e7[_0x4dd87d]['markersEnd']){const _0x13a44e=_0x3399ee['get'](_0x1c2cc4);_0x13a44e?_0x13a44e['end']=_0xde681a:_0x3399ee['set'](_0x1c2cc4,{'start':_0xde681a,'end':_0xde681a});}}for(const [_0x4ed451,_0x486c74]of _0x3399ee){const _0x1653aa=this['editor']['model']['createRange'](_0x486c74['start'],_0x486c74['end']);_0x118bfa['markers']['set'](_0x4ed451,_0x1653aa);}return _0x30ef46['sort']((_0x41a06c,_0x215b87)=>{const _0x3357fa=_0x118bfa['markers']['get']('revision:'+_0x41a06c['id']),_0x2f725c=_0x118bfa['markers']['get']('revision:'+_0x215b87['id']);return _0x3357fa['start']['isBefore'](_0x2f725c['start'])?-0x1:_0x3357fa['start']['isAfter'](_0x2f725c['start'])?0x1:_0x3357fa['end']['isBefore'](_0x2f725c['end'])?-0x1:_0x3357fa['end']['isAfter'](_0x2f725c['end'])?0x1:'add'===_0x41a06c['type']?-0x1:0x1;}),{'root':_0x118bfa,'changes':_0x30ef46};function _0x2ceae2(_0x3451ea,_0xb32d85,_0x58f510,_0x2200ae){const _0x2719f2=!!_0x5c21e7[_0xb32d85][_0x3451ea],_0x8c9d03=_0x2719f2?_0x5c21e7[_0xb32d85][_0x3451ea]['userId']:null,_0x12ebc5=_0xb32d85===_0x5c21e7['length']-0x1,_0x4d4a14=_0x16dfe0[_0x3451ea][0x0],_0x3f882f=_0x812de['isObject'](_0x5c21e7[_0xb32d85]['item']);!_0x5a7664[_0x3451ea]&&_0x2719f2?_0x5a7664[_0x3451ea]={'start':_0x58f510,'tapeItem':_0x5c21e7[_0xb32d85],'userId':_0x8c9d03,'type':_0x3451ea}:_0x5a7664[_0x3451ea]&&!_0x2719f2?(_0x5a7664[_0x3451ea]['end']=_0x58f510,_0x1121f0(_0x5a7664[_0x3451ea]),_0x5a7664[_0x3451ea]=null):_0x5a7664[_0x3451ea]&&_0x2719f2&&_0x5a7664[_0x3451ea]['userId']!==_0x8c9d03&&(_0x5a7664[_0x3451ea]['end']=_0x58f510,_0x4d4a14&&_0x4d4a14['userId']===_0x5a7664[_0x3451ea]['userId']||_0x1121f0(_0x5a7664[_0x3451ea]),_0x5a7664[_0x3451ea]={'start':_0x58f510,'tapeItem':_0x5c21e7[_0xb32d85],'userId':_0x8c9d03,'type':_0x3451ea}),_0x5a7664[_0x3451ea]&&_0x3f882f&&('elementStart'!==_0x5c21e7[_0xb32d85]['type']||_0x4d4a14&&_0x4d4a14['userId']===_0x8c9d03||_0x16dfe0[_0x3451ea]['unshift']({'userId':_0x8c9d03,'object':_0x5c21e7[_0xb32d85]['item'],'change':_0x5a7664[_0x3451ea]}),'elementEnd'===_0x5c21e7[_0xb32d85]['type']&&_0x4d4a14&&_0x4d4a14['object']===_0x5c21e7[_0xb32d85]['item']&&(_0x16dfe0[_0x3451ea]['shift'](),_0x5a7664[_0x3451ea]=_0x4d4a14['change'])),_0x5a7664[_0x3451ea]&&_0x12ebc5&&(_0x5a7664[_0x3451ea]['end']=_0x2200ae,_0x1121f0(_0x5a7664[_0x3451ea]),_0x5a7664[_0x3451ea]=null);}function _0x1121f0({start:_0x8157a8,end:_0x19b1a3,tapeItem:_0x2bc398,userId:_0x187bc7,type:_0x5d0751}){const _0x2d9b2e=_0x2bc398['item'],_0x540615=_0x4d192b['schema']['isBlock'](_0x2d9b2e)&&!_0x4d192b['schema']['isLimit'](_0x2d9b2e),_0x4b36b6=_0x8157a8['nodeAfter']==_0x19b1a3['parent']&&_0x19b1a3['isAtStart'];if(_0x540615&&_0x4b36b6)return;const _0x300519=_0x4d192b['createRange'](_0x8157a8,_0x19b1a3),_0x528ec5=_0x3d833d['get'](_0x187bc7),_0x78d86c=new ChangeItem({'author':_0x528ec5,'type':'isAdded'==_0x5d0751||'isAddSuggestion'==_0x5d0751?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x5d0751||'isRemoveSuggestion'==_0x5d0751},'createdAt':new Date(),'rootName':_0x2c2a40});_0x30ef46['push'](_0x78d86c),_0x118bfa['markers']['set']('revision:'+_0x78d86c['id'],_0x300519);}function _0x33af69(_0x6cb697,_0x49c8c2){const _0x58058a=_0x6cb697['getAttributes'](),_0x5d2eea=_0x49c8c2['getAttributes']();for(const _0x34bf1c of _0x58058a){if(_0x34bf1c[0x1]!==_0x49c8c2['getAttribute'](_0x34bf1c[0x0]))return!0x1;_0x5d2eea['next']();}return _0x5d2eea['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x2a1653=>{const _0x39c1e1=_0x2a1653['markerName']['split'](':')[0x1],_0x1aeb60=this['_getChangeFromId'](_0x39c1e1);if(!_0x1aeb60)return null;const _0x36281e='add'==_0x1aeb60['type']?'insertion':'deletion',_0x11a1f5=['ck-suggestion-marker','ck-suggestion-marker-'+_0x36281e];return _0x1aeb60['data']['isSuggestion']&&_0x11a1f5['push']('ck-suggestion-marker-'+_0x36281e+'-new'),this['activeChange']==_0x1aeb60&&_0x11a1f5['push']('ck-suggestion-marker--active'),{'classes':_0x11a1f5,'attributes':{'data-change-id':_0x39c1e1}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x247e8f=>{_0x247e8f['on']('element:pre',(_0x43acf7,_0x4364e5,_0x28a4e8)=>{const _0x181652=_0x4364e5['viewItem']['getChild'](0x0);if(!_0x181652||!_0x181652['is']('element','code'))return;if(!_0x28a4e8['consumable']['consume'](_0x181652,{'attributes':['vid_start','vid_end']}))return;const _0xd4656d=_0x4364e5['modelRange']['start']['nodeAfter'];_0x28a4e8['writer']['setAttribute']('vid_start',_0x181652['getAttribute']('vid_start'),_0xd4656d),_0x28a4e8['writer']['setAttribute']('vid_end',_0x181652['getAttribute']('vid_end'),_0xd4656d);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x2da357=>{_0x2da357['on']('element',(_0xde5dee,_0x1af23e,_0x1e4e6b)=>{if(!_0x1e4e6b['consumable']['consume'](_0x1af23e['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x1af23e['modelRange']['isCollapsed'])return;const _0x4f8b89=_0x1af23e['modelRange']['start']['nodeAfter'];_0x4f8b89['hasAttribute']('vid_start')||_0x4f8b89['hasAttribute']('vid')||(_0x1e4e6b['writer']['setAttribute']('vid_start',_0x1af23e['viewItem']['getAttribute']('vid_start'),_0x4f8b89),_0x1e4e6b['writer']['setAttribute']('vid_end',_0x1af23e['viewItem']['getAttribute']('vid_end'),_0x4f8b89));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x147021=>_0x147021['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x47619b,[,_0x4b883e])=>{['vid_start','vid_end','vid']['includes'](_0x4b883e)&&(_0x47619b['return']=!0x0,_0x47619b['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0xa49b95=>{_0xa49b95['on']('attribute:vid',(_0x487832,_0x3ba74d,_0x57254a)=>{if('\x20'!=_0x3ba74d['item']['data']||_0x3ba74d['item']['parent']['maxOffset']>0x1)return;if(!_0x57254a['consumable']['consume'](_0x3ba74d['item'],_0x487832['name']))return;const _0x50245a=_0x57254a['writer'],_0x4a98b8=_0x57254a['mapper']['toViewRange'](_0x3ba74d['range']);_0x50245a['wrap'](_0x4a98b8,_0x50245a['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',downcastSplitMergeMarker(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x4d9c10,_0x16cf15,_0x318d3e)=>{const _0x3e3cce=_0x318d3e['mapper']['markerNameToElements'](_0x16cf15['markerName']);if(_0x3e3cce){for(const _0x4a9c77 of _0x3e3cce)(_0x4a9c77['hasClass']('ck-suggestion-marker-split')||_0x4a9c77['hasClass']('ck-suggestion-marker-merge'))&&(_0x318d3e['mapper']['unbindElementFromMarkerName'](_0x4a9c77,_0x16cf15['markerName']),_0x318d3e['writer']['remove'](_0x4a9c77));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x3daace,_0x718a38,_0x3e0456)=>{const _0x389f62=_0x718a38['markerName']['split'](':')[0x1],_0x250960=this['_getChangeFromId'](_0x389f62);if(!_0x250960)return null;const _0x563ce8='add'==_0x250960['type']?'split':'merge';if(_0x3e0456['consumable']['test'](_0x718a38['markerRange'],_0x3daace['name']))for(const _0x45ae87 of _0x718a38['markerRange']['getItems']()){if(!_0x45ae87['is']('element','softBreak'))continue;const _0x4b2d08=_0x3e0456['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x563ce8}),_0x19bcb7=_0x3e0456['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x45ae87));_0x250960['data']['isSuggestion']&&_0x3e0456['writer']['addClass']('ck-suggestion-marker-'+_0x563ce8+'-new',_0x4b2d08),this['activeChange']==_0x250960&&_0x3e0456['writer']['addClass']('ck-suggestion-marker--active',_0x4b2d08),_0x3e0456['writer']['insert'](_0x19bcb7,_0x4b2d08),_0x3e0456['mapper']['bindElementToMarker'](_0x4b2d08,_0x718a38['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x212471=>{for(const _0x2d3d53 of this['editor']['model']['document']['getRootNames']()){const _0x1df5a3=this['editor']['model']['document']['getRoot'](_0x2d3d53),_0x43326b=this['editor']['editing']['view']['document']['getRoot'](_0x2d3d53);if(_0x43326b){const _0x1e5493=_0x1df5a3['getAttribute']('revisionHistoryAttachChange');if(_0x212471['removeAttribute']('data-change-id',_0x43326b),_0x212471['removeClass']('ck-revision-history-root-add',_0x43326b),_0x212471['removeClass']('ck-revision-history-root-remove',_0x43326b),_0x212471['removeClass']('ck-revision-history-root--active',_0x43326b),_0x1e5493){const _0x29b8e5=this['_getChangeFromId'](_0x1e5493);if(!_0x29b8e5)return null;_0x212471['setAttribute']('data-change-id',_0x1e5493,_0x43326b),_0x212471['addClass']('ck-revision-history-root-'+_0x29b8e5['type'],_0x43326b),this['activeChange']==_0x29b8e5&&_0x212471['addClass']('ck-revision-history-root--active',_0x43326b);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x3b35c4=>'revision-comment:'+_0x3b35c4,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x207d6d=>'revision-suggestion:'+_0x207d6d,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x396f7c=>({'name':'suggestion:'+_0x396f7c,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x410ae0=>{const _0x57283c=_0x410ae0['markerName']['split'](':')[0x1];return'insertion'!=_0x57283c&&'deletion'!=_0x57283c?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x57283c]};}}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:deletion',downcastSplitMergeMarkerSuggestion(this['editor'],'merge'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:insertion',downcastSplitMergeMarkerSuggestion(this['editor'],'split'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision-suggestion',(_0x5e4ed8,_0x132af5,_0x2391f1)=>{const _0x16c6e4=_0x2391f1['mapper']['markerNameToElements'](_0x132af5['markerName']);if(_0x16c6e4){for(const _0x1d6007 of _0x16c6e4)_0x1d6007['is']('uiElement')&&(_0x2391f1['mapper']['unbindElementFromMarkerName'](_0x1d6007,_0x132af5['markerName']),_0x2391f1['writer']['remove'](_0x1d6007));}},{'priority':'high'});}['_getChangeFromId'](_0x6e1b1){return this['_changeIdToChange']['get'](_0x6e1b1);}['_getViewForChange'](_0x25c67a){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new ChangeDetailsView(this['editor']['locale'],_0x25c67a),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x4da9d0,_0x2c503f,_0x19da75,_0x85f70e)=>{_0x85f70e&&this['_balloon']['remove'](_0x85f70e),_0x19da75&&(this['_balloon']['add']({'view':_0x19da75,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x38fc86=this['editor']['editing'],_0x2cd117=this['_getChangeFromId'](_0x19da75['changeId']);let _0x4d1f16;if(_0x2cd117['data']['isOnRoot']){const _0x730b52=_0x38fc86['view']['getDomRoot'](_0x2cd117['rootName']);_0x4d1f16=Array['from'](_0x730b52['getClientRects']());}else{const _0x4e275f=this['editor']['model']['markers']['get']('revision:'+_0x19da75['changeId']);_0x4d1f16=Array['from'](_0x38fc86['mapper']['markerNameToElements'](_0x4e275f['name']))['map'](_0x1088f2=>_0x38fc86['view']['domConverter']['mapViewToDom'](_0x1088f2))['map'](_0x4e9983=>Array['from'](_0x4e9983['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x4d1f16[0x0];return _0x4d1f16['find'](_0x1b538b=>_0x1b538b['top']-0x3<=this['_activeViewTarget']['y']&&_0x1b538b['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x1b538b['left']-0x3<=this['_activeViewTarget']['x']&&_0x1b538b['right']+0x3>=this['_activeViewTarget']['x'])||_0x4d1f16[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x4ebdaf,_0xa940c2,_0x2854c5,_0x2e6d73)=>{this['activeView']=_0x2854c5?this['_getViewForChange'](_0x2854c5):null,this['editor']['model']['change'](()=>{const _0x19d1c4=this['editor']['editing'];_0x2e6d73&&(_0x2e6d73['data']['isOnRoot']?_0x19d1c4['view']['change'](_0x3d8ccb=>{_0x3d8ccb['removeClass']('ck-revision-history-root--active',_0x19d1c4['view']['document']['getRoot'](_0x2e6d73['rootName']));}):_0x19d1c4['reconvertMarker']('revision:'+_0x2e6d73['id'])),_0x2854c5&&(_0x2854c5['data']['isOnRoot']?_0x19d1c4['view']['change'](_0x5889be=>{_0x5889be['addClass']('ck-revision-history-root--active',_0x19d1c4['view']['document']['getRoot'](_0x2854c5['rootName']));}):_0x19d1c4['reconvertMarker']('revision:'+_0x2854c5['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x466951,_0x31c1de)=>{if(this['activeChange'])return;const _0x126209=this['_findChangeIdFromDomTarget'](_0x31c1de['target']),_0x3cd9f6=this['_changeIdToChange']['get'](_0x126209);_0x3cd9f6?(this['_activeViewTarget']={'x':_0x31c1de['domEvent']['x'],'y':_0x31c1de['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x3cd9f6)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0xd8bc78,_0x9a071c)=>{const _0x1ae293=this['_findChangeIdFromDomTarget'](_0x9a071c['target']),_0x3c2d38=this['_changeIdToChange']['get'](_0x1ae293);_0x3c2d38?(this['_activeViewTarget']={'x':_0x9a071c['domEvent']['x'],'y':_0x9a071c['domEvent']['y']},_0x3c2d38===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x3c2d38):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x12772d){do{const _0x3a05be=_0x12772d['getAttribute']('data-change-id');if(_0x3a05be)return _0x3a05be;_0x12772d=_0x12772d['parent'];}while(_0x12772d);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x25de41=>{for(const _0x9af659 of this['editor']['model']['markers'])_0x25de41['removeMarker'](_0x9af659);});}}function downcastSplitMergeMarker(_0x263225){const _0x25c8fe=_0x263225['plugins']['get']('RevisionViewer');return(_0x139930,_0x1c6e24,_0x7b8d0)=>{const _0x764c8d=_0x1c6e24['markerName']['split'](':')[0x1],_0x5b174f=_0x25c8fe['_getChangeFromId'](_0x764c8d);if(!_0x5b174f)return null;const _0x241dcc='add'==_0x5b174f['type']?'split':'merge';if(!_0x7b8d0['consumable']['test'](_0x1c6e24['markerRange'],_0x139930['name']))return;const _0x25d71e=_0x1c6e24['markerRange']['getWalker'](),_0x4b8b5e=_0x1c6e24['markerRange']['start'],_0x5e9526=_0x263225['model']['schema'];let _0x257590=null,_0x2e1fdc=null,_0x5480c5=!0x1,_0x2e1b9f=!0x1;for(const _0x18a4ad of _0x25d71e){const _0x530223=_0x18a4ad['item'];_0x5480c5=_0x5480c5||_0x5e9526['isContent'](_0x530223);const _0x2eba9e=_0x7b8d0['mapper']['toViewElement'](_0x530223);if(_0x2eba9e&&_0x2eba9e['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x18a4ad['type']&&(_0x5e9526['isBlock'](_0x530223)&&!_0x5e9526['isLimit'](_0x530223)&&(_0x530223['nextSibling']||_0x4b8b5e['isAtEnd']?_0x257590&&_0x257590['parent']==_0x530223||(_0x257590=_0x530223,_0x5a7c73(_0x18a4ad['previousPosition']),_0x2e1b9f=!0x0):_0x2e1fdc=_0x2e1fdc||_0x18a4ad['previousPosition']));}function _0x5a7c73(_0x2e668c){const _0x577f4f=_0x7b8d0['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x241dcc}),_0x4dc62b=_0x7b8d0['mapper']['toViewPosition'](_0x2e668c);_0x5b174f['data']['isSuggestion']&&_0x7b8d0['writer']['addClass']('ck-suggestion-marker-'+_0x241dcc+'-new',_0x577f4f),_0x25c8fe['activeChange']==_0x5b174f&&_0x7b8d0['writer']['addClass']('ck-suggestion-marker--active',_0x577f4f),_0x7b8d0['writer']['insert'](_0x4dc62b,_0x577f4f),_0x7b8d0['mapper']['bindElementToMarker'](_0x577f4f,_0x1c6e24['markerName']);}_0x5480c5||_0x2e1b9f||!_0x2e1fdc||_0x5a7c73(_0x2e1fdc);};}function downcastSplitMergeMarkerSuggestion(_0x31b966,_0x5b3016){return(_0x1ca4e8,_0x531a63,_0x1f27f0)=>{if(!_0x1f27f0['consumable']['test'](_0x531a63['markerRange'],_0x1ca4e8['name']))return;const _0x43e0f0=_0x531a63['markerRange']['getWalker'](),_0x5cfc3b=_0x531a63['markerRange']['start'],_0x1a78a9=_0x31b966['model']['schema'];let _0xdb6b58=null,_0x615fef=null,_0x4773d6=!0x1,_0x3330b5=!0x1;for(const _0x4c5cc6 of _0x43e0f0){const _0x579cb3=_0x4c5cc6['item'];_0x4773d6=_0x4773d6||_0x1a78a9['isContent'](_0x579cb3);const _0x41fa5b=_0x1f27f0['mapper']['toViewElement'](_0x579cb3);if(_0x41fa5b&&_0x41fa5b['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4c5cc6['type']&&(_0x1a78a9['isBlock'](_0x579cb3)&&!_0x1a78a9['isLimit'](_0x579cb3)&&(_0x579cb3['nextSibling']||_0x5cfc3b['isAtEnd']?_0xdb6b58&&_0xdb6b58['parent']==_0x579cb3||(_0xdb6b58=_0x579cb3,_0x2cd993(_0x4c5cc6['previousPosition']),_0x3330b5=!0x0):_0x615fef=_0x615fef||_0x4c5cc6['previousPosition']));}function _0x2cd993(_0x3fac26){const _0x4778e3=_0x1f27f0['mapper']['toViewPosition'](_0x3fac26),_0x45c477=_0x1f27f0['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x5b3016});_0x1f27f0['writer']['insert'](_0x4778e3,_0x45c477),_0x1f27f0['mapper']['bindElementToMarker'](_0x45c477,_0x531a63['markerName']);}_0x4773d6||_0x3330b5||!_0x615fef||_0x2cd993(_0x615fef);};}class RestoreRevisionCommand extends ckeditor5['Command']{constructor(_0x538f0f){super(_0x538f0f);const _0x2b04b7=_0x538f0f['plugins']['get'](_0x52d83b);this['affectsData']=!0x1,this['listenTo'](_0x2b04b7,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x2b04b7,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x5929cc=this['editor'],_0x35a569=_0x5929cc['plugins']['get'](_0x52d83b),_0x4b0dbc=_0x35a569['isReady']?_0x35a569['diff']['newRevisionId']:null;_0x5929cc['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x4b0dbc);}['refresh'](){const {isReady:_0x4f6f2d,isEnabled:_0x1f3402,repository:_0x3b7ca7,diff:_0x5bc759}=this['editor']['plugins']['get'](_0x52d83b),_0x1a5318=_0x5bc759&&_0x3b7ca7['getLaterVisibleRevision'](_0x5bc759['newRevisionId']);this['isEnabled']=_0x4f6f2d&&_0x1f3402&&Boolean(_0x1a5318);}}class _0x574002 extends ckeditor5['Command']{['_step'];constructor(_0x2d111b,{direction:_0x1059d4}){super(_0x2d111b);const _0x450b6e=_0x2d111b['plugins']['get'](_0x52d83b);this['affectsData']=!0x1,this['_step']='forward'===_0x1059d4?0x1:-0x1,this['listenTo'](_0x450b6e,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x450b6e,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x450b6e,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x557080=this['editor'],_0x47dd9d=_0x557080['plugins']['get'](_0x52d83b),{isNavigationMode:_0x3a7cb7,currentChangeNumber:_0x11f15b}=_0x47dd9d;let _0xe840dd;if(_0x47dd9d['activeChange']=_0x3a7cb7?_0x47dd9d['diff']['changes']['get'](_0x11f15b+this['_step']):_0x47dd9d['diff']['changes']['first'],_0x47dd9d['activeChange']['data']['isOnRoot'])_0xe840dd=_0x557080['editing']['view']['getDomRoot'](_0x47dd9d['activeChange']['rootName']);else{const _0x26096b=_0x557080['model']['markers']['get']('revision:'+_0x47dd9d['activeChange']['id']);_0xe840dd=getMarkerDomElement(_0x557080['editing'],_0x26096b);}ckeditor5['scrollViewportToShowTarget']({'target':_0xe840dd,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x18c023,currentChangeNumber:_0x4d23a6,numberOfChanges:_0x3eafe9,isReady:_0x4043b0,isEnabled:_0x13adb0}=this['editor']['plugins']['get'](_0x52d83b);this['isEnabled']=!!(_0x13adb0&&_0x4043b0&&_0x3eafe9)&&(!_0x18c023||(0x1===this['_step']?_0x4d23a6<_0x3eafe9-0x1:_0x4d23a6>0x0));}}class ChangesNavigationView extends ckeditor5['View']{constructor(_0x339b84){super(_0x339b84);const _0x260301=this['bindTemplate'],_0x5b5188=new ckeditor5['ButtonView'](_0x339b84),_0x3e9005=new ckeditor5['ButtonView'](_0x339b84);this['set']('isNavigationMode',!0x1),this['set']('isReady',!0x1),this['set']('currentChangeNumber',0x0),this['set']('numberOfChanges',0x0),this['set']('isForwardNavigationEnabled',!0x1),this['set']('isBackwardNavigationEnabled',!0x1),this['bind']('_isStatusLabelVisible')['to'](this,'isReady',this,'numberOfChanges',(_0x1c565a,_0x55a1e4)=>_0x1c565a&&_0x55a1e4>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x1be592,_0x2fc5cd,_0x5a68e2,_0x245fb4)=>{if(!_0x1be592)return getTranslation$5(_0x339b84,'Loading...');if(!_0x5a68e2)return getTranslation$5(_0x339b84,'No\x20changes');const _0x2f9fa4=getTranslation$5(_0x339b84,'NUMBER_OF_CHANGES',_0x5a68e2);return _0x245fb4?getTranslation$5(_0x339b84,'X_OF_Y_CHANGES',[_0x2fc5cd+0x1,_0x5a68e2]):_0x2f9fa4;}),_0x5b5188['set']({'label':getTranslation$5(_0x339b84,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':ckeditor5['IconChevronUp']}),_0x3e9005['set']({'label':getTranslation$5(_0x339b84,'Show\x20next\x20change'),'tooltip':!0x0,'icon':ckeditor5['IconChevronDown']}),_0x5b5188['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x3e9005['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x5b5188['on']('execute',()=>this['fire']('execute','backward')),_0x3e9005['on']('execute',()=>this['fire']('execute','forward')),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-revision-history-ui','ck-revision-history-ui__changes-navigation']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__wrapper']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__label',_0x260301['if']('_isStatusLabelVisible','ck-hidden',_0x59ad7b=>!_0x59ad7b)]},'children':[{'text':_0x260301['to']('isNavigationMode',_0xba5f11=>_0xba5f11?getTranslation$5(_0x339b84,'EDIT_X_OF_Y_REVISIONS')+':\x20':getTranslation$5(_0x339b84,'Total')+':\x20')}]},{'text':_0x260301['to']('_statusText')}]},new ckeditor5['ToolbarSeparatorView'](),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x5b5188,_0x3e9005]}]});}}const _0x361606='ck-editor__editable__loading-overlay';class _0x2e240b extends ckeditor5['Plugin']{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['show'](){const _0x4a60fd=this['editor']['editing']['view'];_0x4a60fd['change'](_0x3e53af=>{for(const _0x49bcf7 of _0x4a60fd['document']['roots'])_0x3e53af['addClass'](_0x361606,_0x49bcf7);});}['hide'](){const _0x403259=this['editor']['editing']['view'];_0x403259['change'](_0x24a9d1=>{for(const _0x4ae221 of _0x403259['document']['roots'])_0x24a9d1['removeClass'](_0x361606,_0x4ae221);});}}class _0x5482f7 extends ckeditor5['Plugin']{static get['pluginName'](){return'RevisionViewerUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x52d83b,_0x2e240b];}['init'](){const _0x2d8022=this['editor'],_0xa68bf0=_0x2d8022['plugins']['get'](_0x52d83b),_0x3556b9=_0x2d8022['plugins']['get'](_0x2e240b);_0x2d8022['ui']['componentFactory']['add']('exitToEditing',_0x30bff3=>{const _0x34c6b3=new ckeditor5['ButtonView'](_0x30bff3);return _0x34c6b3['set']({'label':getTranslation$5(_0x30bff3,'Back\x20to\x20editing'),'icon':ckeditor5['IconUndo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x34c6b3,'execute',()=>{_0x2d8022['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x34c6b3;}),_0x2d8022['ui']['componentFactory']['add']('restoreRevision',_0x44ed3c=>{const _0x23a315=new ckeditor5['ButtonView'](_0x44ed3c);return _0x23a315['set']({'label':getTranslation$5(_0x44ed3c,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x23a315['bind']('isEnabled')['to'](_0x2d8022['commands']['get']('restoreRevision')),this['listenTo'](_0x23a315,'execute',()=>_0x2d8022['execute']('restoreRevision')),_0x23a315;}),_0x2d8022['ui']['componentFactory']['add']('changesNavigation',_0x2e8989=>{const _0x447029=new ChangesNavigationView(_0x2e8989),_0x21804b=_0x2d8022['commands']['get']('showPreviousChange'),_0x4bef37=_0x2d8022['commands']['get']('showNextChange');return _0x447029['bind']('isBackwardNavigationEnabled')['to'](_0x21804b,'isEnabled'),_0x447029['bind']('isForwardNavigationEnabled')['to'](_0x4bef37,'isEnabled'),_0x447029['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0xa68bf0),this['listenTo'](_0x447029,'execute',(_0x584d62,_0x2e0a7c)=>{_0x2d8022['execute']('forward'===_0x2e0a7c?'showNextChange':'showPreviousChange');}),_0x447029;}),_0x3556b9['show'](),_0xa68bf0['on']('change:isReady',(_0x4aa433,_0x238b9c,_0x2b78a6)=>{_0x2b78a6?_0x3556b9['hide']():_0x3556b9['show']();});}}class _0x3d3ce2 extends ckeditor5['LabeledFieldView']{['_resizeObserver']=null;constructor(_0x1c2506,_0x473189){super(_0x1c2506,_0x473189);const _0x5e665d=this['bindTemplate'];this['set']({'label':getTranslation$5(_0x1c2506,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=getTranslation$5(_0x1c2506,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x5e665d['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new ckeditor5['ResizeObserver'](this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x1aa738=this['fieldView']['element'];this['_tooltipString']=_0x1aa738['scrollWidth']>_0x1aa738['clientWidth']&&_0x1aa738['value']||'';}}class RevisionAuthorView extends ckeditor5['View']{constructor(_0x1d1f36,_0x5e9d2d,_0x2cda47){super(_0x1d1f36);const _0x10d9aa=new ckeditor5['IconView']();_0x10d9aa['set']({'content':ckeditor5['IconUser'],'viewBox':'0\x200\x2011\x2010'});const _0xeaeb39=['ck','ck-revision-history-sidebar__revision-author'];_0x2cda47&&_0xeaeb39['push']('ck-revision-history-sidebar__revision-author_creator');const _0x24a800=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':getTranslation$5(_0x1d1f36,_0x2cda47?'Revision\x20creator':'Revision\x20author')},'children':[_0x10d9aa,_0x5e9d2d['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0xeaeb39},'children':_0x24a800});}}function dateToPrettyFormat(_0x1fce35,_0x28f2f9){return _0x28f2f9['toLocaleDateString'](_0x1fce35,{'month':'long','day':'numeric'})+',\x20'+_0x28f2f9['toLocaleTimeString'](_0x1fce35,{'hour':'numeric','minute':'numeric'});}function createActionsDropdownView(_0x43d32c,_0xef6ffb){const _0x2fdadc=_0x43d32c['bindTemplate'],_0x510174=_0x43d32c['locale'],_0x39c6c6=ckeditor5['createDropdown'](_0x510174);_0x39c6c6['panelPosition']='sw';const _0x4bdebd=_createDropdownOptions(_0x43d32c,_0xef6ffb);return _0x43d32c['bind']('isActionsDropdownOpen')['to'](_0x39c6c6,'isOpen'),_0x39c6c6['buttonView']['set']({'label':getTranslation$5(_0x510174,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':ckeditor5['IconThreeVerticalDots']}),_0x39c6c6['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x2fdadc['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x2fdadc['to'](_0x24f07e=>_0x24f07e['stopPropagation']())}}),_0x39c6c6['on']('execute',_0x57e744=>{_0x43d32c['isReady']&&'function'==typeof _0x57e744['source']['_action']&&_0x57e744['source']['_action'](_0x43d32c);}),ckeditor5['addListToDropdown'](_0x39c6c6,_0x4bdebd,{'role':'menu'}),_0x39c6c6['listenTo'](_0x43d32c,'change:isActionsDropdownOpen',(_0x14d1da,_0x2670e6,_0x4e324a)=>{if(_0x4e324a)for(const _0x10b6f4 of _0x39c6c6['listView']['items']){const _0xefa07b=_0x10b6f4['children']['first'],_0x21f61e=_0xef6ffb['find'](_0x5cdf86=>_0x5cdf86['action']===_0xefa07b['_action'])['isVisible'];_0x10b6f4['isVisible']=void 0x0===_0x21f61e||_0x21f61e(_0x43d32c);}}),_0x39c6c6;}function _createDropdownOptions(_0x39ab4d,_0x2db95a){const _0x16db86=_getLocalizedOptions(_0x39ab4d,_0x2db95a),_0x2886cb=new ckeditor5['Collection']();for(const _0x497e70 of _0x16db86){const _0x36abd9={'type':'button','model':new ckeditor5['UIModel']({'label':_0x497e70['name'],'class':_0x497e70['class'],'withText':!0x0,'role':'menuitem','_action':_0x497e70['action']})};_0x36abd9['model']['bind']('isEnabled')['to'](_0x39ab4d,'isActionsDropdownOpen',_0x3f83c0=>'function'!=typeof _0x497e70['isEnabled']||(!_0x3f83c0||_0x497e70['isEnabled'](_0x39ab4d))),_0x2886cb['add'](_0x36abd9);}return _0x2886cb;}function _getLocalizedOptions(_0x521fd6,_0x2c7195){const _0x446c4a=_0x521fd6['locale'],_0x2e0080={'Compare\x20against\x20selected':getTranslation$5(_0x446c4a,'Compare\x20against\x20selected'),'Name\x20this\x20revision':getTranslation$5(_0x446c4a,'Name\x20this\x20revision'),'Restore\x20this\x20revision':getTranslation$5(_0x446c4a,'Restore\x20this\x20revision')};return _0x2c7195['map'](_0x5a85be=>{const _0x647b7c=_0x2e0080[_0x5a85be['name']];return _0x647b7c&&_0x647b7c!==_0x5a85be['name']&&(_0x5a85be['name']=_0x647b7c),_0x5a85be;});}class _0x258772 extends/* #__PURE__ -- @preserve */
_0x150618(ckeditor5['View']){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x4d6a5d,_0x57c13c,_0x595d30,_0x46eb70){super(_0x4d6a5d);const _0x168496=this['bindTemplate'],_0x5935c5=getAuthorViews(_0x4d6a5d,_0x57c13c);this['id']=_0x57c13c['id'],this['_revision']=_0x57c13c,this['_requireRevisionName']=_0x46eb70,this['bind']('name','createdAt')['to'](_0x57c13c),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x569030=>dateToPrettyFormat(_0x4d6a5d['uiLanguage'],_0x569030)),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new _0x3d3ce2(_0x4d6a5d,ckeditor5['createLabeledInputText']),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x20121e=>_0x20121e||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x3f49a5,_0x291e1a)=>_0x3f49a5&&_0x291e1a),this['revisionActionsView']=_0x595d30&&_0x595d30['length']?createActionsDropdownView(this,_0x595d30):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x168496['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x168496['if']('isEnabled','ck-disabled',_0x21ec21=>!_0x21ec21),_0x168496['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x168496['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x168496['if']('isActionsDropdownOpen','ck-revision-history-sidebar__actions_dropdown_open')]},'children':[this['revisionNameView'],{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision__date']},'children':[{'text':_0x168496['to']('_createdAtFormatted')}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__revision__controls-wrapper']},'children':[{'tag':'ul','attributes':{'class':['ck','ck-revision-history-sidebar__revision-authors']},'children':_0x5935c5}]},this['revisionActionsView']],'on':{'click':_0x168496['to'](_0x42fd24=>{_0x42fd24['srcElement']['closest']('.ck-confirm-view')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x3d4177=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x3d4177,'change',()=>{this['_requireRevisionName']&&!_0x3d4177['value']||this['fire']('setName',{'id':this['id'],'name':_0x3d4177['value']}),_0x3d4177['value']||(_0x3d4177['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function getAuthorViews(_0x2b006f,_0x4e2b66){const _0x35c262=Array['from'](_0x4e2b66['authors'])['filter'](_0x26f585=>_0x26f585!=_0x4e2b66['creator']);return _0x4e2b66['creator']&&_0x35c262['unshift'](_0x4e2b66['creator']),_0x35c262['map'](_0x10e34d=>new RevisionAuthorView(_0x2b006f,_0x10e34d,_0x10e34d==_0x4e2b66['creator']));}function getDateTimePeriodInfo(_0x407be2,_0x8f1618){const _0x2a0566=DateTime['fromJSDate'](_0x407be2)['setLocale'](_0x8f1618),_0x790169=DateTime['local'](),_0xdac68e=_0x790169['minus']({'days':0x1})['startOf']('day');let _0x2abe14,_0x156458;return _0x2a0566['hasSame'](_0x790169,'day')?(_0x2abe14=_0x2a0566['startOf']('day')['toJSDate'](),_0x156458=_0x2a0566['toRelativeCalendar']()):_0x2a0566['hasSame'](_0xdac68e,'day')?(_0x2abe14=_0xdac68e['toJSDate'](),_0x156458=_0x2a0566['toRelativeCalendar']()):_0x2a0566['hasSame'](_0x790169,'week')?(_0x2abe14=_0x2a0566['startOf']('week')['toJSDate'](),_0x156458=_0x2a0566['weekdayLong']||''):_0x2a0566['hasSame'](_0x790169,'year')?(_0x2abe14=_0x2a0566['startOf']('month')['toJSDate'](),_0x156458=_0x2a0566['monthLong']||''):(_0x2abe14=_0x2a0566['startOf']('year')['toJSDate'](),_0x156458=String(_0x2a0566['year'])),{'startDate':_0x2abe14,'localizedPeriodName':_0x156458};}class _0x417b0c extends ckeditor5['View']{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x2fea99,_0xd50409,_0x953c4c,_0x2bf9f6){super(_0x2fea99);const _0x398694=getDateTimePeriodInfo(_0xd50409,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0xd50409,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x953c4c,this['_requireRevisionName']=_0x2bf9f6,this['revisionViews']['delegate']('select')['to'](this),this['revisionViews']['delegate']('setName')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period']},'children':[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__label']},'children':[{'text':_0x398694}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x1339bb){const _0x486e6f=new _0x258772(this['locale'],_0x1339bb,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x486e6f);}['removeRevision'](_0x4dfc13){const _0x30e9b0=this['revisionViews']['find'](_0x26cc8a=>_0x26cc8a['id']===_0x4dfc13['id']);this['revisionViews']['remove'](_0x30e9b0);}}class _0x20594d extends ckeditor5['View']{constructor(_0x4f1e74){super(_0x4f1e74);const _0x12f1c7=new ckeditor5['IconView']();_0x12f1c7['content']=ckeditor5['IconHistory'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x12f1c7,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[getTranslation$5(_0x4f1e74,'Revision\x20history')]}]});}}class _0x2f6abe extends ckeditor5['View']{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0xff5768,_0x40342b,_0x3b832c,_0x5e22ca){super(_0xff5768);const _0x35db50=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x40342b,this['_revisionActions']=_0x3b832c,this['_requireRevisionName']=_0x5e22ca,this['on']('select',(_0x77bcb7,_0x3f02ee)=>{this['fire']('revisionSelected',_0x3f02ee);}),this['on']('setName',(_0x3c176f,_0xd92a9e)=>{this['fire']('revisionSetName',_0xd92a9e);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new _0x20594d(_0xff5768),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x35db50['if']('isEnabled','ck-disabled',_0x3a0a81=>!_0x3a0a81)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x2a8446 of this['_revisions'])this['_addRevision'](_0x2a8446);this['_revisions']['on']('add',(_0x5b63fe,_0x1a9a70)=>{this['_addRevision'](_0x1a9a70);}),this['_revisions']['on']('remove',(_0x2934e4,_0x2c1eed)=>{this['_removeRevision'](_0x2c1eed);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x430e86=>_0x430e86['revisionViews']['map'](_0x1d8966=>_0x1d8966))['flat']();}['selectRevision'](_0x2cc1c2){for(const _0x48d3e5 of this['revisionViews'])_0x2cc1c2&&_0x2cc1c2['id']===_0x48d3e5['id']?_0x48d3e5['select']():_0x48d3e5['deselect']();}['highlightRevisions'](_0x373437){for(const _0x1e0250 of this['revisionViews'])_0x373437['some'](({id:_0x2d2a2b})=>_0x2d2a2b===_0x1e0250['id'])?_0x1e0250['highlight']():_0x1e0250['unhighlight']();}['_addRevision'](_0x3a75b4){const _0x21cce1=getDateTimePeriodInfo(_0x3a75b4['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x504d7e=this['timePeriodViews']['get'](0x0);_0x504d7e&&_0x504d7e['startDate']['getTime']()===_0x21cce1['getTime']()||(_0x504d7e=new _0x417b0c(this['locale'],_0x21cce1,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x504d7e)),_0x504d7e['addRevision'](_0x3a75b4);}['_removeRevision'](_0x1305ab){const _0x3009b7=getDateTimePeriodInfo(_0x1305ab['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x3009b7)['removeRevision'](_0x1305ab);}['_getTimePeriodViewByStartDate'](_0x1edb0a){return this['timePeriodViews']['find'](_0x528476=>_0x528476['startDate']['getTime']()===_0x1edb0a['getTime']());}}class _0x1c52ec extends ckeditor5['Plugin']{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
((()=>['compareAgainstSelected','restoreRevision','nameRevision'])());static ['availableRevisionActions']=/* #__PURE__ -- @preserve */
availableRevisionActions();static get['pluginName'](){return'RevisionsSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x52d83b];}constructor(_0x3adbda){super(_0x3adbda),this['_revisionViewer']=_0x3adbda['plugins']['get'](_0x52d83b),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x4109ed=this['_revisionsRepository']['_revisions'],_0x41d50b=this['_createRevisionActions'](),_0x43fdaf=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new _0x2f6abe(this['editor']['locale'],_0x4109ed,_0x41d50b,this['editor']['config']['get']('revisionHistory.requireRevisionName')),this['_sidebarView']['on']('revisionSelected',this['_handleRevisionSelected']['bind'](this)),this['_sidebarView']['on']('revisionSetName',this['_handleRevisionSetName']['bind'](this)),this['_sidebarView']['bind']('isEnabled')['to'](this['_revisionViewer']),this['_sidebarView']['timePeriodViews']['on']('add',(_0x1cd6bc,_0xacf814)=>{_0xacf814['revisionViews']['on']('add',(_0x55f16f,_0x48c9f4)=>{_0x48c9f4['bind']('isEnabled','isReady')['to'](this['_revisionViewer']);});}),this['_sidebarView']['render'](),this['listenTo'](this['editor']['data'],'ready',this['_handleEditorDataReady']['bind'](this)),this['listenTo'](this['_revisionViewer'],'change:diff',this['_handleDiffChange']['bind'](this)),_0x43fdaf['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x5ca4f5=this['_revisionsRepository']['getRevision'](0x0);if(_0x5ca4f5){const _0x3e995b=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x5ca4f5['id']);this['_revisionViewer']['compare'](_0x5ca4f5,_0x3e995b);}}['_handleRevisionSelected'](_0x38e515,_0x594324){const _0x45e440=this['_revisionsRepository']['getRevision'](_0x594324['id']),_0x327fbb=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x45e440['id']);this['_revisionViewer']['compare'](_0x45e440,_0x327fbb);}['_handleRevisionSetName'](_0x583e5a,_0x4e5bde){this['_revisionsRepository']['getRevision'](_0x4e5bde['id'])['setName'](_0x4e5bde['name']);}['_handleDiffChange'](_0x5c7056,_0x54281c,_0x29f143){const _0x33fa09=this['_revisionsRepository']['getRevisionsInDiff'](_0x29f143);_0x33fa09['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x33fa09),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x33fa09[0x0]));}['_createRevisionActions'](){const _0x4a7ffe=this['editor'],_0x1ef972=_0x1c52ec['availableRevisionActions'],_0x1429f4=_0x4a7ffe['config']['get']('revisionHistory.revisionActions')||_0x1c52ec['defaultRevisionActions'];if(_0x1429f4['length'])return _0x1429f4['map'](_0x2c15e6=>{const _0x901947='string'==typeof _0x2c15e6?Object['assign']({},_0x1ef972[_0x2c15e6]):_0x2c15e6;return _0x901947['action']=_0x901947['action']['bind'](this,_0x4a7ffe),_0x901947['isVisible']&&(_0x901947['isVisible']=_0x901947['isVisible']['bind'](this,_0x4a7ffe)),_0x901947;});}}function availableRevisionActions(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x4b671e},_0x3c803a)=>{const _0x59d47a=_0x4b671e['get'](_0x52d83b),_0x5191e2=_0x59d47a['repository'];let _0x5db31a=_0x59d47a['diff']['newRevisionId'],_0x4253d0=_0x3c803a['id'];_0x5191e2['getIndex'](_0x5db31a)>_0x5191e2['getIndex'](_0x4253d0)&&([_0x5db31a,_0x4253d0]=[_0x4253d0,_0x5db31a]),_0x59d47a['compare'](_0x5db31a,_0x4253d0);},'isVisible':({plugins:_0x8455f3},_0x54f228)=>{const _0x238c1b=_0x8455f3['get'](_0x52d83b);return!(_0x238c1b['repository']['getRevisionsInDiff'](_0x238c1b['diff'])['length']>0x2)&&!_0x54f228['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x28f8f4,{id:_0x3b3edb})=>{_0x28f8f4['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x3b3edb);},'isVisible':({plugins:_0xfe321f},_0x2e4d8f)=>!!_0xfe321f['get'](_0x52d83b)['repository']['getLaterVisibleRevision'](_0x2e4d8f['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x2e31ef},{id:_0x55d390,revisionNameView:_0x25aa70})=>{const _0x5cc846=_0x2e31ef['get'](_0x52d83b),_0x559aff=_0x5cc846['repository']['getEarlierVisibleRevision'](_0x55d390);_0x5cc846['compare'](_0x55d390,_0x559aff),_0x25aa70['focus'](),_0x25aa70['fieldView']['select']();}}};}class RevisionViewerEditorUI extends ckeditor5['EditorUI']{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x3ee303,_0x45309b){super(_0x3ee303),this['_view']=_0x45309b,this['_toolbarConfig']=ckeditor5['normalizeToolbarConfig'](_0x3ee303['config']['get']('toolbar')),this['_elementReplacer']=new ckeditor5['ElementReplacer']();}get['element'](){return this['view']['element'];}['init'](_0xebd518){const _0xffbca2=this['editor'],_0x55bd5c=this['view'],_0x344554=_0xffbca2['editing']['view'],_0x31b6ae=_0x55bd5c['editable'],_0x3d434a=_0x344554['document']['getRoot']();_0x31b6ae['name']=_0x3d434a['rootName'],_0x55bd5c['render']();const _0x4361a5=_0x31b6ae['element'];this['setEditableElement'](_0x31b6ae['name'],_0x4361a5),_0x55bd5c['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x344554['attachDomRoot'](_0x4361a5),this['_elementReplacer']['replace'](_0xebd518,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x45a100=this['view'],_0x3b59f5=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x3b59f5['detachDomRoot'](_0x45a100['editable']['name']),_0x45a100['destroy']();}['_initToolbar'](){const _0x46b56d=this['view'];_0x46b56d['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x46b56d['stickyPanel']['limiterElement']=_0x46b56d['element'],_0x46b56d['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x17bb89})=>_0x17bb89),_0x46b56d['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x46b56d['toolbar']);}}class RevisionViewerEditorUIView extends ckeditor5['BoxedEditorUIView']{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x16cbf5,_0x3694ac,_0x1fff41={}){super(_0x16cbf5),this['stickyPanel']=new ckeditor5['StickyPanelView'](_0x16cbf5),this['toolbar']=new ckeditor5['ToolbarView'](_0x16cbf5,{'shouldGroupWhenFull':_0x1fff41['shouldToolbarGroupWhenFull']}),this['_editable']=new ckeditor5['InlineEditableUIView'](_0x16cbf5,_0x3694ac);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class RevisionViewerEditor extends/* #__PURE__ -- @preserve */
ckeditor5['ElementApiMixin'](ckeditor5['Editor']){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x17d488,_0x2960a0){super(_0x2960a0),this['sourceElement']=_0x17d488,this['model']['document']['createRoot']();const _0x1f55b7=new RevisionViewerEditorUIView(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new RevisionViewerEditorUI(this,_0x1f55b7);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x1a3584,_0xa84887){const _0xcb18cf=new this(_0x1a3584,_0xa84887);return await _0xcb18cf['initPlugins'](),await _0xcb18cf['ui']['init'](_0x1a3584),await _0xcb18cf['data']['init'](_0xcb18cf['config']['get']('initialData')||''),_0xcb18cf['fire']('ready'),_0xcb18cf;}}const blackListedPlugins$1=['RevisionHistoryUI','RestrictedEditingMode','AIChat','AIReviewMode','AIBalloon','AIQuickActions','AIActions','AIChatShortcuts','AITranslate'];class RevisionViewerIntegration extends ckeditor5['Plugin']{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1cafd3){function _0x2ee06a(_0x23c129){return _0x23c129['map'](_0x330801=>String['fromCharCode'](_0x330801))['join']('');}super(_0x1cafd3),this['result']='end',_0x1cafd3[_0x2ee06a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2ee06a([0x76,0x69,0x65,0x77])][_0x2ee06a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2ee06a([0x61,0x75,0x74,0x6f]),_0x1cafd3[_0x2ee06a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x2ee06a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2ee06a([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x2ee06a([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x2ee06a([0x6f,0x6b])});}}class RevisionHistory extends ckeditor5['Plugin']{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x16b222,RevisionHistoryUI];}constructor(_0xbb1c52){if(super(_0xbb1c52),!this['editor']['config']['get']('revisionHistory'))throw new ckeditor5['CKEditorError']('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['set']('isRevisionViewerOpen',!0x1),this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x258574=>this['_showRevisionViewer']({..._0x258574,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x2d43b6=>this['_closeRevisionViewer'](_0x2d43b6)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x157cd2=>this['_restoreRevision'](_0x157cd2)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x4d24ca){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x4d24ca;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0xc8665d){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0xc8665d);}['getRevision'](_0x59efb4){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x59efb4);}['getRevisions'](_0x3d4b22){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x3d4b22||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x376d78=this['editor'],_0x2c56ee=sanitizeEditorConfig(_0x376d78,blackListedPlugins$1),_0x221757=_0x376d78['plugins']['get']('RevisionTracker'),_0x136927=_0x376d78['plugins']['get']('Users')['users'];_0x2c56ee['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x2c56ee['lazyRoots'];class _0x19ffdb extends ckeditor5['Plugin']{static get['requires'](){return[_0x52d83b,'Users'];}['init'](){const _0x5952fe=this['editor']['plugins']['get']('Users');for(const _0x7689f6 of _0x136927)_0x7689f6['isAnonymous']||_0x5952fe['getUser'](_0x7689f6['id'])||_0x5952fe['addUser'](_0x7689f6);const _0x36d4c5=_0x221757['repository']['getRevisions']();let _0xe38594=null;const _0x51ae84=this['editor']['plugins']['get']('RevisionViewer');_0x51ae84['adapter']=_0x221757['adapter'],_0x51ae84['bind']('isEnabled')['to'](_0x221757),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x376d78,'isReadOnly',_0x1bfaa6=>!_0x1bfaa6);for(const _0x19bdbf of _0x36d4c5){const _0x1ead4d=null===_0x19bdbf['creator'];if(_0x1ead4d&&_0x19bdbf['toVersion']===_0x19bdbf['fromVersion'])continue;const _0x3e723f=_0x19bdbf['toJSON']();_0x51ae84['addRevisionData'](_0x3e723f,(_0x1f26a7,_0x231f3b,_0x51e505)=>{if(_0x1ead4d){if(_0xe38594)_0xe38594['_update'](_0x1f26a7,_0x231f3b);else{if(!_0x231f3b){const _0x3c496d=_0x51e505['toJSON']();_0x3c496d['id']=ckeditor5['uid'](),_0x221757['saveRevision'](_0x3c496d,_0x51e505['toVersion'])['then'](_0x52a271=>{_0xe38594=_0x52a271;});}}}else _0x19bdbf['_update'](_0x1f26a7,_0x231f3b);});}}}return _0x2c56ee['plugins']['push'](RevisionViewerIntegration,_0x52d83b,_0x5482f7,_0x19ffdb,_0x1c52ec),_0x2c56ee;}['_enhanceShowRevisionViewerCallback'](){const _0x5a7403=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x32c2c8=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x3b5115=this['editor']['plugins']['get']('Autosave');await _0x3b5115['save']();}else await _0x32c2c8['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0xcfcaee=this['editor']['plugins']['get']('Dialog');_0xcfcaee['isOpen']&&_0xcfcaee['hide']();}if(this['editor']['plugins']['has']('AITabs')){const _0xd5ef9b=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0x4a0588 of _0xd5ef9b)_0x4a0588['class']=_0x4a0588['class']?_0x4a0588['class']+'\x20ck-tab-panel_disabled':'ck-tab-panel_disabled';if(this['editor']['plugins']['has']('AIChat')){const _0x8f9754=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0x8f9754&&_0x8f9754['setAttribute']('tabindex','-1');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0x3f74f6=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0x3f74f6&&_0x3f74f6['setAttribute']('tabindex','-1');}}const _0x581285=this['_getRevisionViewerEditorConfig']();return _0x5a7403(_0x581285)['then'](_0x2fca13=>{return(this['_viewerEditor']=_0x2fca13,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),(this['editor']['plugins']['has']('DocumentOutline')&&(this['editor']['plugins']['get']('DocumentOutlineUI')['view']['element']['style']['display']='none'),_0x2fca13);})['catch'](_0x47e317=>(console['error'](_0x47e317),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x3372ad=this['editor']['config']['get']('revisionHistory')['closeRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.closeRevisionViewerCallback',()=>{if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('DocumentOutline')&&(this['editor']['plugins']['get']('DocumentOutlineUI')['view']['element']['style']['display']=''),this['editor']['plugins']['has']('AITabs')){const _0x433072=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0x3e3e78 of _0x433072)_0x3e3e78['class']='ck-tab-panel_disabled'===_0x3e3e78['class']?'':_0x3e3e78['class']['replace']('\x20ck-tab-panel_disabled','');if(this['editor']['plugins']['has']('AIChat')){const _0x2c3b8a=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0x2c3b8a&&_0x2c3b8a['removeAttribute']('tabindex');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0x550c48=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0x550c48&&_0x550c48['removeAttribute']('tabindex');}}return this['_viewerEditor']['plugins']['get']('RevisionViewer')['_cleanUp'](),_0x3372ad(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x4cacfc=this['editor']['plugins']['get']('Annotations');_0x4cacfc['refreshVisibility'](),_0x4cacfc['refreshPositioning']();}});});}['_showRevisionViewer'](_0x5756c3){const _0x2a4855=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x5a9ddb=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x5bc16e=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return RevisionViewerEditor['create'](_0x5bc16e,_0x5756c3)['then'](_0x3d8243=>(_0x5a9ddb['style']['display']='block',_0x2a4855['style']['display']='none',this['isRevisionViewerOpen']=!0x0,_0x3d8243));}['_closeRevisionViewer'](_0x2b45e9){const _0x1e0346=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x1e0346['style']['display']='',this['isRevisionViewerOpen']=!0x1,_0x2b45e9['destroy']();}async['_restoreRevision'](_0x58b8a6){const _0x5124d9=this['editor'],_0x15e604=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x5b08cc=_0x5124d9['plugins']['get']('RevisionTracker'),_0x4658a2=_0x5124d9['plugins']['get']('RevisionHistoryUtils'),_0x2c17aa=_0x15e604['repository']['getRevision'](_0x58b8a6);let _0x3a32d3,_0x1087a8,_0x134555;try{await _0x4658a2['loadRevisionData'](_0x2c17aa,this['adapter']),_0x3a32d3=_0x4658a2['getRevisionDocumentData'](_0x2c17aa),_0x1087a8=_0x4658a2['getRevisionRootsAttributes'](_0x2c17aa);}catch(_0x56b6d2){return void console['error'](_0x56b6d2);}_0x5124d9['model']['change'](_0x1ce571=>{for(const _0x3dcaa7 of Array['from'](_0x5124d9['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x1ce571['removeMarker'](_0x3dcaa7);}),_0x15e604['isReady']=!0x1,_0x5124d9['model']['enqueueChange'](_0x3cd08a=>{_0x3cd08a['setSelection'](null),_0x3cd08a['removeSelectionAttribute'](_0x5124d9['model']['document']['selection']['getAttributeKeys']());const _0x4c598b=Object['keys'](_0x3a32d3);for(const _0x196a16 of _0x5124d9['model']['document']['roots'])'$graveyard'!=_0x196a16['rootName']&&_0x196a16['isAttached']()&&!_0x4c598b['includes'](_0x196a16['rootName'])&&_0x3cd08a['detachRoot'](_0x196a16);for(const _0x270226 of _0x4c598b){let _0x45f55f=_0x5124d9['model']['document']['getRoot'](_0x270226);_0x45f55f&&_0x45f55f['isAttached']()||(_0x45f55f=_0x3cd08a['addRoot'](_0x270226));const _0x2fff0e=_0x1087a8[_0x270226],_0x51e46c=Object['keys'](_0x2fff0e),_0x5c3046=_0x3a32d3[_0x270226];for(const _0x31ccca of _0x45f55f['getAttributeKeys']())_0x51e46c['includes'](_0x31ccca)||_0x3cd08a['removeAttribute'](_0x31ccca,_0x45f55f);for(const _0x500a31 of _0x51e46c)_0x3cd08a['setAttribute'](_0x500a31,_0x1087a8[_0x270226][_0x500a31],_0x45f55f);_0x3cd08a['remove'](_0x3cd08a['createRangeIn'](_0x45f55f)),_0x3cd08a['insert'](_0x5124d9['data']['parse'](_0x5c3046,_0x45f55f),_0x45f55f,0x0);}});const _0xe7d48c=getTranslation$5(_0x5124d9['locale'],'Restored');if(_0x2c17aa['name'])_0x134555=-0x1==_0x2c17aa['name']['indexOf'](_0xe7d48c)?_0xe7d48c+':\x20'+_0x2c17aa['name']:_0x2c17aa['name'];else _0x134555=_0xe7d48c+':\x20'+(_0x2c17aa['createdAt']['toLocaleDateString'](_0x5124d9['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x2c17aa['createdAt']['toLocaleTimeString'](_0x5124d9['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x5b08cc['saveRevision']({'name':_0x134555}),_0x15e604['isReady']=!0x0,_0x5124d9['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}function getTranslation$4(_0xb55362,_0x51ce44){const t=_0xb55362['t'],_0x3a6d7d=_0xb55362['t'];switch(_0x51ce44){case'AI\x20Assistant':return _0x3a6d7d('AI\x20Assistant');case'Block\x20quote':return _0x3a6d7d('Block\x20quote');case'Bulleted\x20list':return _0x3a6d7d('Bulleted\x20list');case'Insert\x20code\x20block':return _0x3a6d7d('Insert\x20code\x20block');case'Open\x20file\x20manager':return _0x3a6d7d('Open\x20file\x20manager');case'Insert\x20image':return _0x3a6d7d('Insert\x20image');case'Heading\x201':return _0x3a6d7d('Heading\x201');case'Heading\x202':return _0x3a6d7d('Heading\x202');case'Heading\x203':return _0x3a6d7d('Heading\x203');case'Heading\x204':return _0x3a6d7d('Heading\x204');case'Heading\x205':return _0x3a6d7d('Heading\x205');case'Heading\x206':return _0x3a6d7d('Heading\x206');case'Horizontal\x20line':return _0x3a6d7d('Horizontal\x20line');case'Insert\x20HTML':return _0x3a6d7d('Insert\x20HTML');case'Increase\x20indent':return _0x3a6d7d('Increase\x20indent');case'Insert\x20table':return _0x3a6d7d('Insert\x20table');case'Table\x20of\x20contents':return _0x3a6d7d('Table\x20of\x20contents');case'Numbered\x20list':return _0x3a6d7d('Numbered\x20list');case'Decrease\x20indent':return _0x3a6d7d('Decrease\x20indent');case'Paragraph':return _0x3a6d7d('Paragraph');case'To-do\x20list':return _0x3a6d7d('To-do\x20list');case'Create\x20a\x20block\x20quote':return t('Create\x20a\x20block\x20quote');case'Create\x20a\x20bulleted\x20list':return t('Create\x20a\x20bulleted\x20list');case'Create\x20a\x20code\x20block':return t('Create\x20a\x20code\x20block');case'Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':return t('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file');case'Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':return t('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file');case'Create\x20a\x20heading\x20level\x201':return t('Create\x20a\x20heading\x20level\x201');case'Create\x20a\x20heading\x20level\x202':return t('Create\x20a\x20heading\x20level\x202');case'Create\x20a\x20heading\x20level\x203':return t('Create\x20a\x20heading\x20level\x203');case'Create\x20a\x20heading\x20level\x204':return t('Create\x20a\x20heading\x20level\x204');case'Create\x20a\x20heading\x20level\x205':return t('Create\x20a\x20heading\x20level\x205');case'Create\x20a\x20heading\x20level\x206':return t('Create\x20a\x20heading\x20level\x206');case'Insert\x20a\x20horizontal\x20line':return t('Insert\x20a\x20horizontal\x20line');case'Insert\x20an\x20HTML\x20snippet':return t('Insert\x20an\x20HTML\x20snippet');case'Increase\x20the\x20indentation':return t('Increase\x20the\x20indentation');case'Insert\x20Mermaid\x20diagram':return t('Insert\x20Mermaid\x20diagram');case'Insert\x20the\x20Mermaid\x20diagram':return t('Insert\x20the\x20Mermaid\x20diagram');case'Create\x20a\x20table':return t('Create\x20a\x20table');case'Insert\x20table\x20of\x20contents':return t('Insert\x20table\x20of\x20contents');case'Create\x20a\x20numbered\x20list':return t('Create\x20a\x20numbered\x20list');case'Decrease\x20the\x20indentation':return t('Decrease\x20the\x20indentation');case'Insert\x20a\x20paragraph':return t('Insert\x20a\x20paragraph');case'Create\x20a\x20to-do\x20list':return t('Create\x20a\x20to-do\x20list');case'Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content':return t('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content');case'Insert\x20an\x20emoji':return t('Insert\x20an\x20emoji');case'Insert\x20a\x20footnote':return t('Insert\x20a\x20footnote');default:return _0x51ce44;}}class _0x1f0f03 extends ckeditor5['Plugin']{static get['pluginName'](){return'SlashCommandConfig';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2ec9c7){super(_0x2ec9c7),this['_allowedCommands']=null;}['afterInit'](){const _0x5b3386=this['editor']['config']['get']('slashCommand.removeCommands')||[],_0x4d35ea=getExcludedHeadings(this['editor']['config']['get']('heading.options')),_0x24ad4f=this['getDefaultCommands']()['filter'](_0x5f0f3e=>!_0x4d35ea['includes'](_0x5f0f3e['id']));let _0x43f8dd=_0x24ad4f['filter'](_0x1e5a38=>!_0x5b3386['includes'](_0x1e5a38['commandName']));const _0x1c0828=this['editor']['config']['get']('slashCommand.extraCommands');_0x1c0828&&_0x1c0828['length']&&(_0x43f8dd=_0x43f8dd['concat'](_0x1c0828));const _0xebaef0=this['editor']['config']['get']('template.definitions');_0xebaef0&&_0xebaef0['length']&&(_0x43f8dd=_0x43f8dd['concat'](mapTemplates(_0xebaef0)));const _0x356629=this['editor']['config']['get']('style.definitions');_0x356629&&_0x356629['length']&&(_0x43f8dd=_0x43f8dd['concat'](mapStyles(_0x356629)));const _0x30ec25=_0x43f8dd['filter'](_0x4c306b=>!_0x4c306b['commandName']||void 0x0!==this['editor']['commands']['get'](_0x4c306b['commandName'])),_0x594e67=[];for(const _0x274ac9 of _0x30ec25)_0x594e67['push']({'id':_0x274ac9['id'],'commandName':_0x274ac9['commandName'],'title':'function'==typeof _0x274ac9['title']?_0x274ac9['title'](this['editor']):_0x274ac9['title'],'description':_0x274ac9['description'],'icon':_0x274ac9['icon'],'isIconColorInherited':_0x274ac9['isIconColorInherited'],'aliases':_0x274ac9['aliases'],'isEnabled':()=>this['_proxyIsEnabled'](_0x274ac9),'execute':()=>this['_proxyExecute'](_0x274ac9)});this['_allowedCommands']=_0x594e67['sort'](_0x21c74f),_0x48cb03(this);}['getAllowedCommands'](){return this['_allowedCommands'];}['getDefaultCommands'](){const _0x4c9516=_0x4dc0b1=>getTranslation$4(this['editor']['locale'],_0x4dc0b1);return[{'id':'aiAssistant','commandName':'showAIAssistant','icon':ckeditor5['IconRobotPencil'],'title':_0x4c9516('AI\x20Assistant'),'description':_0x4c9516('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content'),'execute':_0x3d19cf=>{setTimeout(()=>_0x3d19cf['execute']('showAIAssistant'));}},{'id':'blockQuote','commandName':'blockQuote','icon':ckeditor5['IconQuote'],'title':_0x4c9516('Block\x20quote'),'description':_0x4c9516('Create\x20a\x20block\x20quote')},{'id':'bulletedList','commandName':'bulletedList','icon':ckeditor5['IconBulletedList'],'title':_0x4c9516('Bulleted\x20list'),'description':_0x4c9516('Create\x20a\x20bulleted\x20list')},{'id':'codeBlock','commandName':'codeBlock','icon':ckeditor5['IconCodeBlock'],'title':_0x4c9516('Insert\x20code\x20block'),'description':_0x4c9516('Create\x20a\x20code\x20block')},{'id':'ckbox','commandName':'ckbox','icon':ckeditor5['IconBrowseFiles'],'title':_0x4c9516('Open\x20file\x20manager'),'description':_0x4c9516('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckfinder','filemanager','upload']},{'id':'ckfinder','commandName':'ckfinder','icon':ckeditor5['IconBrowseFiles'],'title':_0x4c9516('Insert\x20image'),'description':_0x4c9516('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckbox','filemanager','upload']},{'id':'emoji','commandName':'emoji','icon':ckeditor5['IconEmoji'],'title':_0x4c9516('Emoji'),'description':_0x4c9516('Insert\x20an\x20emoji'),'execute':_0x297647=>{setTimeout(()=>_0x297647['execute']('emoji'));}},{'id':'heading1','commandName':'heading','icon':ckeditor5['IconHeading1'],'title':_0x4c9516('Heading\x201'),'description':_0x4c9516('Create\x20a\x20heading\x20level\x201'),'execute':_0xbf4124=>{_0xbf4124['execute']('heading',{'value':'heading1'});}},{'id':'heading2','commandName':'heading','icon':ckeditor5['IconHeading2'],'title':_0x4c9516('Heading\x202'),'description':_0x4c9516('Create\x20a\x20heading\x20level\x202'),'execute':_0x26bfb7=>{_0x26bfb7['execute']('heading',{'value':'heading2'});}},{'id':'heading3','commandName':'heading','icon':ckeditor5['IconHeading3'],'title':_0x4c9516('Heading\x203'),'description':_0x4c9516('Create\x20a\x20heading\x20level\x203'),'execute':_0x268c15=>{_0x268c15['execute']('heading',{'value':'heading3'});}},{'id':'heading4','commandName':'heading','icon':ckeditor5['IconHeading4'],'title':_0x4c9516('Heading\x204'),'description':_0x4c9516('Create\x20a\x20heading\x20level\x204'),'execute':_0x4b4693=>{_0x4b4693['execute']('heading',{'value':'heading4'});}},{'id':'heading5','commandName':'heading','icon':ckeditor5['IconHeading5'],'title':_0x4c9516('Heading\x205'),'description':_0x4c9516('Create\x20a\x20heading\x20level\x205'),'execute':_0x1468ec=>{_0x1468ec['execute']('heading',{'value':'heading5'});}},{'id':'heading6','commandName':'heading','icon':ckeditor5['IconHeading6'],'title':_0x4c9516('Heading\x206'),'description':_0x4c9516('Create\x20a\x20heading\x20level\x206'),'execute':_0x58e8b0=>{_0x58e8b0['execute']('heading',{'value':'heading6'});}},{'id':'horizontalLine','commandName':'horizontalLine','icon':ckeditor5['IconHorizontalLine'],'title':_0x4c9516('Horizontal\x20line'),'description':_0x4c9516('Insert\x20a\x20horizontal\x20line')},{'id':'htmlEmbed','commandName':'htmlEmbed','icon':ckeditor5['IconHtml'],'title':_0x4c9516('Insert\x20HTML'),'description':_0x4c9516('Insert\x20an\x20HTML\x20snippet')},{'id':'indent','commandName':'indent','icon':ckeditor5['IconIndent'],'title':_0x4c9516('Increase\x20indent'),'description':_0x4c9516('Increase\x20the\x20indentation')},{'id':'insertMermaidCommand','commandName':'insertMermaidCommand','title':_0x4c9516('Insert\x20Mermaid\x20diagram'),'description':_0x4c9516('Insert\x20the\x20Mermaid\x20diagram')},{'id':'insertTable','commandName':'insertTable','icon':ckeditor5['IconTable'],'title':_0x4c9516('Insert\x20table'),'description':_0x4c9516('Create\x20a\x20table')},{'id':'insertTableOfContents','commandName':'insertTableOfContents','icon':ckeditor5['IconTableOfContents'],'title':_0x4c9516('Table\x20of\x20contents'),'description':_0x4c9516('Insert\x20table\x20of\x20contents'),'aliases':['toc']},{'id':'numberedList','commandName':'numberedList','icon':ckeditor5['IconNumberedList'],'title':_0x4c9516('Numbered\x20list'),'description':_0x4c9516('Create\x20a\x20numbered\x20list')},{'id':'outdent','commandName':'outdent','icon':ckeditor5['IconOutdent'],'title':_0x4c9516('Decrease\x20indent'),'description':_0x4c9516('Decrease\x20the\x20indentation')},{'id':'paragraph','commandName':'paragraph','icon':ckeditor5['IconParagraph'],'title':_0x4c9516('Paragraph'),'description':_0x4c9516('Insert\x20a\x20paragraph')},{'id':'todoList','commandName':'todoList','icon':ckeditor5['IconTodoList'],'title':_0x4c9516('To-do\x20list'),'description':_0x4c9516('Create\x20a\x20to-do\x20list')},{'id':'footnote','commandName':'insertFootnote','icon':ckeditor5['IconFootnote'],'title':_0x4c9516('Footnote'),'description':_0x4c9516('Insert\x20a\x20footnote')}];}['_proxyIsEnabled'](_0x42f9c5){return _0x42f9c5['isEnabled']?_0x42f9c5['isEnabled'](this['editor']):!_0x42f9c5['commandName']||this['editor']['commands']['get'](_0x42f9c5['commandName'])['isEnabled'];}['_proxyExecute'](_0x19805a){if(_0x19805a['execute'])_0x19805a['execute'](this['editor']);else{if(!_0x19805a['commandName'])throw new ckeditor5['CKEditorError']('slash-command-execute-missing',this['editor'],{'commandDefinition':_0x19805a});this['editor']['execute'](_0x19805a['commandName']);}}}function _0x21c74f(_0x2c098b,_0x4695eb){return _0x2c098b['title']<_0x4695eb['title']?-0x1:_0x2c098b['title']>_0x4695eb['title']?0x1:0x0;}function convertTitleToId(_0x4b752c,_0x58b436){return _0x58b436+'-'+_0x4b752c['toLowerCase']()['split']('\x20')['join']('-');}function mapTemplates(_0x100fb1){return _0x100fb1['map'](_0x2eed09=>{const {title:_0x1e5b78,icon:_0xdb4d5,description:_0x5e0439,data:_0x2f8f11}=_0x2eed09,_0x4deca1={'id':convertTitleToId(_0x1e5b78,'template'),'commandName':'insertTemplate','execute':_0x1cec2b=>{_0x1cec2b['execute']('insertTemplate',_0x2f8f11);},'description':_0x5e0439,'icon':_0xdb4d5,'title':_0x1e5b78};return _0xdb4d5&&(_0x4deca1['isIconColorInherited']=!0x1),_0x4deca1;});}function mapStyles(_0x653133){return _0x653133['map'](_0x40a531=>{const _0x3ccbdc={'id':convertTitleToId(_0x40a531['name'],'style'),'commandName':'style','execute':_0x5bce6a=>{_0x5bce6a['execute']('style',{'styleName':_0x40a531['name']});},'isEnabled':_0x3ad442=>{const _0x420ed1=_0x3ad442['commands']['get']('style');return _0x420ed1['isEnabled']&&_0x420ed1['enabledStyles']['includes'](_0x40a531['name']);},'title':_0x40a531['name']};return _0x3ccbdc;});}function getExcludedHeadings(_0x3ef803){let _0x136a5a=['heading4','heading5','heading6'];if(_0x3ef803){const _0x23f4c0=_0x3ef803['map'](_0x206c17=>_0x206c17['model']);_0x136a5a=['heading1','heading2','heading3','heading4','heading5','heading6']['filter'](_0x37a694=>!_0x23f4c0['includes'](_0x37a694));}return _0x136a5a;}async function _0x48cb03(_0x29612c){const _0x28ec80=_0x1763ec([0x75,0x6d,0x67,0x6c,0x31,0x46,0x34,0x59,0x6b,0x41,0x56,0x45,0x74,0x76,0x30,0x54,0x63,0x4e,0x36,0x6e,0x4b,0x69,0x58,0x43,0x72,0x68,0x4f,0x44,0x64,0x32,0x50,0x61,0x47,0x4d,0x53,0x49,0x4a,0x62,0x73,0x70,0x79,0x7a,0x39,0x51,0x4c,0x42,0x6f,0x57,0x78,0x55,0x66,0x6a,0x35,0x48,0x5a,0x65,0x77,0x37,0x33,0x38,0x52,0x71]),_0x38aa5f=window[_0x1763ec([0x44,0x61,0x74,0x65])][_0x1763ec([0x6e,0x6f,0x77])](),_0x17939a=_0x29612c[_0x1763ec([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x45fa3b=new window[(_0x1763ec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x334adf=>{_0x17939a[_0x1763ec([0x6f,0x6e,0x63,0x65])](_0x1763ec([0x72,0x65,0x61,0x64,0x79]),_0x334adf);}),_0x1cef6e={[_0x1763ec([0x6b,0x74,0x79])]:_0x1763ec([0x45,0x43]),[_0x1763ec([0x75,0x73,0x65])]:_0x1763ec([0x73,0x69,0x67]),[_0x1763ec([0x63,0x72,0x76])]:_0x1763ec([0x50,0x2d,0x32,0x35,0x36]),[_0x1763ec([0x78])]:_0x1763ec([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x1763ec([0x79])]:_0x1763ec([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x1763ec([0x61,0x6c,0x67])]:_0x1763ec([0x45,0x53,0x32,0x35,0x36])},_0x495e7d=_0x17939a[_0x1763ec([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1763ec([0x67,0x65,0x74])](_0x1763ec([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x2babd1=await(async function(){let _0x3d231d,_0x29cc63=null,_0x5f27cc=null;try{if(_0x495e7d==_0x1763ec([0x47,0x50,0x4c]))return _0x1763ec([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3d231d=(function(){const _0x29f8c5=_0x495e7d[_0x1763ec([0x73,0x70,0x6c,0x69,0x74])](_0x1763ec([0x2e]));if(0x3!=_0x29f8c5[_0x1763ec([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x19742b=_0x29f8c5[0x1];return _0x4c5428(_0x19742b);function _0x4c5428(_0x40c569){const _0x1febd8=_0x4125fa(_0x40c569);return _0x1febd8&&_0xe66900()?_0x1febd8:null;function _0xe66900(){const _0x271a53=_0x1febd8[_0x1763ec([0x6a,0x74,0x69])],_0x2e614c=window[_0x1763ec([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x271a53[_0x1763ec([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x271a53[_0x1763ec([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x140035={..._0x1febd8,[_0x1763ec([0x6a,0x74,0x69])]:_0x271a53[_0x1763ec([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x271a53[_0x1763ec([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x140035[_0x1763ec([0x76,0x63])],_0x583e90(_0x140035)==_0x2e614c;}}}()),!_0x3d231d)return _0x1763ec([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x3d231d[_0x1763ec([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5f27cc=function(_0x40e1ab,_0x643aa0){return new window[(_0x1763ec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe1ba01=>{if(_0x5a1bcf())return _0xe1ba01(_0x1763ec([0x56,0x61,0x6c,0x69,0x64]));_0x148dd7(),_0x17939a[_0x1763ec([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1763ec([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x525be4=!0x1;const _0x50ee37=ckeditor5['uid']();function _0xb156cc(_0x23c3ba){return!!_0x23c3ba&&(typeof _0x23c3ba===_0x1763ec([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x23c3ba===_0x1763ec([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x23c3ba[_0x1763ec([0x74,0x68,0x65,0x6e])]===_0x1763ec([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x23c3ba[_0x1763ec([0x63,0x61,0x74,0x63,0x68])]===_0x1763ec([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3ad90d(_0x3549eb){_0x535eac(_0x3549eb)[_0x1763ec([0x74,0x68,0x65,0x6e])](_0x217cfe=>{if(!_0x217cfe||_0x217cfe[_0x1763ec([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1763ec([0x6f,0x6b]))return _0x1763ec([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3eab71(_0x583e90(_0x50ee37+_0x643aa0))!=_0x217cfe[_0x1763ec([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1763ec([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1763ec([0x56,0x61,0x6c,0x69,0x64]);})[_0x1763ec([0x74,0x68,0x65,0x6e])](_0xae5f26=>(_0x1b6d79(),_0xae5f26),()=>{const _0x4acb4c=_0x4410ac();return null==_0x4acb4c?(_0x1b6d79(),_0x1763ec([0x56,0x61,0x6c,0x69,0x64])):_0x1763ec(_0x38aa5f-_0x4acb4c>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1763ec([0x74,0x68,0x65,0x6e])](_0xe1ba01)[_0x1763ec([0x63,0x61,0x74,0x63,0x68])](()=>{_0xe1ba01(_0x1763ec([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x54980a=0x36ee80;function _0x1b6d79(){const _0x525551=_0x1763ec([0x6c,0x6c,0x63,0x74,0x2d])+_0x3eab71(_0x583e90(_0x40e1ab)),_0x41ecec=_0x152d76(_0x3eab71(window[_0x1763ec([0x4d,0x61,0x74,0x68])][_0x1763ec([0x63,0x65,0x69,0x6c])](_0x38aa5f/_0x54980a)));window[_0x1763ec([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1763ec([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x525551,_0x41ecec);}function _0x4410ac(){const _0x4c3209=_0x1763ec([0x6c,0x6c,0x63,0x74,0x2d])+_0x3eab71(_0x583e90(_0x40e1ab)),_0x3f1b35=window[_0x1763ec([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1763ec([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c3209);return _0x3f1b35?window[_0x1763ec([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x152d76(_0x3f1b35),0x10)*_0x54980a:null;}function _0x535eac(_0x1a84bd){return new window[(_0x1763ec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb9cf5f,_0x3775da)=>{_0x1a84bd[_0x1763ec([0x74,0x68,0x65,0x6e])](_0xb9cf5f,_0x3775da),window[_0x1763ec([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3775da,0x1d4c0);});}}_0x17939a[_0x1763ec([0x6f,0x6e])](_0x1763ec([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x30a8ac,_0x36a29a)=>{if(_0x36a29a[0x0]!=_0x40e1ab)return _0xe1ba01(_0x1763ec([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x36a29a[0x1]={..._0x36a29a[0x1],[_0x1763ec([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x50ee37};},{[_0x1763ec([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1763ec([0x68,0x69,0x67,0x68])}),_0x17939a[_0x1763ec([0x6f,0x6e])](_0x1763ec([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3a510f=>{_0xb156cc(_0x3a510f[_0x1763ec([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x525be4=!0x0,_0x3ad90d(_0x3a510f[_0x1763ec([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1763ec([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1763ec([0x6c,0x6f,0x77])}),_0x45fa3b[_0x1763ec([0x74,0x68,0x65,0x6e])](()=>{_0x525be4||_0xe1ba01(_0x1763ec([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5a1bcf(){return _0x17939a[_0x1763ec([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1763ec([0x76,0x69,0x65,0x77])][_0x1763ec([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1763ec([0x61,0x75,0x74,0x6f]);}function _0x148dd7(){_0x17939a[_0x1763ec([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1763ec([0x76,0x69,0x65,0x77])][_0x1763ec([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1763ec([0x61,0x75,0x74,0x6f]);}}(_0x3d231d[_0x1763ec([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3d231d[_0x1763ec([0x6a,0x74,0x69])]));const _0x3ce8d6=await(async function(){let _0x291cae=!0x0;try{const _0x896483=_0x495e7d[_0x1763ec([0x73,0x70,0x6c,0x69,0x74])](_0x1763ec([0x2e])),[_0x2e602c,_0x3ef220,_0xc2ccc0]=_0x896483;return _0xa6018e(_0x2e602c),await _0x17373f(_0x2e602c,_0x3ef220,_0xc2ccc0),_0x291cae;}catch{return!0x1;}function _0xa6018e(_0x386b36){const _0x31fe6b=_0x4125fa(_0x386b36);_0x31fe6b&&_0x31fe6b[_0x1763ec([0x61,0x6c,0x67])]==_0x1763ec([0x45,0x53,0x32,0x35,0x36])||(_0x291cae=!0x1);}async function _0x17373f(_0x4a0de3,_0x3d3303,_0x3e6898){const _0x56b105=window[_0x1763ec([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1763ec([0x66,0x72,0x6f,0x6d])](_0x32b407(_0x3e6898),_0xff9f6a=>_0xff9f6a[_0x1763ec([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x545c62=new window[(_0x1763ec([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1763ec([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4a0de3+_0x1763ec([0x2e])+_0x3d3303),_0x1c8c69=window[_0x1763ec([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1763ec([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1c8c69)return;const _0x546992=await _0x1c8c69[_0x1763ec([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1763ec([0x6a,0x77,0x6b]),_0x1cef6e,{[_0x1763ec([0x6e,0x61,0x6d,0x65])]:_0x1763ec([0x45,0x43,0x44,0x53,0x41]),[_0x1763ec([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1763ec([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1763ec([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1c8c69[_0x1763ec([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1763ec([0x6e,0x61,0x6d,0x65])]:_0x1763ec([0x45,0x43,0x44,0x53,0x41]),[_0x1763ec([0x68,0x61,0x73,0x68])]:{[_0x1763ec([0x6e,0x61,0x6d,0x65])]:_0x1763ec([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x546992,_0x56b105,_0x545c62)||(_0x291cae=!0x1);}}());return _0x3ce8d6?(function(){const _0x416f21=_0x3d231d[_0x1763ec([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x416f21)return!0x1;if(_0x416f21[_0x1763ec([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1763ec([0x2a])))return!0x0;if(_0x416f21[_0x1763ec([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1763ec([0x53,0x43])))return!0x0;if(_0x416f21[_0x1763ec([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1763ec([0x50,0x50])))return!0x0;if(_0x416f21[_0x1763ec([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1763ec([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x1763ec([0x67,0x6c,0x6f,0x62])]&&window[_0x1763ec([0x67,0x6c,0x6f,0x62])][_0x1763ec([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x51aca5=[_0x1763ec([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1763ec([0x74,0x72,0x69,0x61,0x6c])][_0x1763ec([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d231d[_0x1763ec([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x38aa5f/0x3e8:0x69e96100;return _0x3d231d[_0x1763ec([0x65,0x78,0x70])]<_0x51aca5;}())?_0x1763ec([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0xd106a7=_0x3d231d[_0x1763ec([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xd106a7||0x0==_0xd106a7[_0x1763ec([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2cd5c8}=new URL(window[_0x1763ec([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xd106a7[_0x1763ec([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cd5c8))return!0x0;const _0x57b398=_0x2cd5c8[_0x1763ec([0x73,0x70,0x6c,0x69,0x74])](_0x1763ec([0x2e]));return _0xd106a7[_0x1763ec([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2989ef=>_0x2989ef[_0x1763ec([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1763ec([0x2a])))[_0x1763ec([0x6d,0x61,0x70])](_0x472f97=>_0x472f97[_0x1763ec([0x73,0x70,0x6c,0x69,0x74])](_0x1763ec([0x2e])))[_0x1763ec([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x51df41=>_0x51df41[_0x1763ec([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x57b398[_0x1763ec([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1763ec([0x6d,0x61,0x70])](_0x38efdf=>Array(_0x57b398[_0x1763ec([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x38efdf[_0x1763ec([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1763ec([0x66,0x69,0x6c,0x6c])](_0x38efdf[0x0]===_0x1763ec([0x2a])?_0x1763ec([0x2a]):'')[_0x1763ec([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x38efdf))[_0x1763ec([0x73,0x6f,0x6d,0x65])](_0x4ece05=>_0x57b398[_0x1763ec([0x65,0x76,0x65,0x72,0x79])]((_0x96e62a,_0x58dd97)=>_0x4ece05[_0x58dd97]===_0x96e62a||_0x4ece05[_0x58dd97]===_0x1763ec([0x2a])));}())?(_0x3d231d[_0x1763ec([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1763ec([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x29cc63=function(_0x4754e7){const _0x2b4158=new window[(_0x1763ec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x144f4f=>setTimeout(_0x144f4f,0x93ecc)),_0xff7066=_0x45fa3b[_0x1763ec([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1763ec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a73f4=>{let _0x5d4eac=0x0;_0x17939a[_0x1763ec([0x6d,0x6f,0x64,0x65,0x6c])][_0x1763ec([0x6f,0x6e])](_0x1763ec([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x256ffa,_0x4faa00)=>{_0x4faa00[0x0][_0x1763ec([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5d4eac++,0x5e8==_0x5d4eac&&(_0x4a73f4(),_0x256ffa[_0x1763ec([0x6f,0x66,0x66])]());});})),_0xf7312c=[_0x2b4158,_0xff7066];return window[_0x1763ec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1763ec([0x72,0x61,0x63,0x65])](_0xf7312c)[_0x1763ec([0x74,0x68,0x65,0x6e])](()=>_0x4754e7);}(_0x1763ec([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x29cc63&&_0x5f27cc)return new window[(_0x1763ec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x165ab3,_0x314ec8)=>{_0x29cc63[_0x1763ec([0x74,0x68,0x65,0x6e])](_0x165ab3,_0x314ec8),_0x5f27cc[_0x1763ec([0x74,0x68,0x65,0x6e])](_0x4dfebf=>{_0x4dfebf!=_0x1763ec([0x56,0x61,0x6c,0x69,0x64])&&_0x165ab3(_0x4dfebf);},_0x314ec8);});return _0x29cc63||_0x5f27cc||_0x1763ec([0x56,0x61,0x6c,0x69,0x64]);}())):_0x1763ec([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1763ec([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1763ec([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1763ec([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x4125fa(_0x41ca3a){return _0x41ca3a[_0x1763ec([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1763ec([0x65,0x79]))?JSON[_0x1763ec([0x70,0x61,0x72,0x73,0x65])](_0x32b407(_0x41ca3a)):null;}function _0x32b407(_0x594f79){return window[_0x1763ec([0x61,0x74,0x6f,0x62])](_0x594f79[_0x1763ec([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1763ec([0x2b]))[_0x1763ec([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1763ec([0x2f])));}function _0x583e90(_0x348057){let _0x58d56b=0x1505;function _0x2fbdaa(_0x5aaed1){for(let _0x367578=0x0;_0x367578<_0x5aaed1[_0x1763ec([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x367578++){const _0x39e5f1=_0x5aaed1[_0x1763ec([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x367578);_0x58d56b=(_0x58d56b<<0x5)+_0x58d56b+_0x39e5f1,_0x58d56b&=_0x58d56b;}}return function _0x152807(_0x35a0d2){Array[_0x1763ec([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x35a0d2)?_0x35a0d2[_0x1763ec([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x152807):_0x35a0d2&&typeof _0x35a0d2==_0x1763ec([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1763ec([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x35a0d2)[_0x1763ec([0x73,0x6f,0x72,0x74])]()[_0x1763ec([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5555d2,_0x52c8e8])=>{_0x2fbdaa(_0x5555d2),_0x152807(_0x52c8e8);}):_0x2fbdaa(window[_0x1763ec([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x35a0d2));}(_0x348057),_0x58d56b>>>0x0;}function _0x3eab71(_0x352f22){return _0x352f22[_0x1763ec([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1763ec([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1763ec([0x30]));}function _0x152d76(_0x503fce){return _0x503fce[_0x1763ec([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1763ec([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1763ec([0x6a,0x6f,0x69,0x6e])]('');}function _0x17bbe3(){}function _0x1763ec(_0x3ac1bc){return _0x3ac1bc['map'](_0xe1929a=>String['fromCharCode'](_0xe1929a))['join']('');}!function(_0x1f3e19){const _0x2f4f90=(function(){const _0x51d2df=window[_0x1763ec([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1763ec([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1763ec([0x6e,0x6f,0x77])]())[_0x1763ec([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1763ec([0x2e]),'');let _0x5a4ede=_0x1763ec([0x75]);for(let _0xf875b6=0x0;_0xf875b6<_0x51d2df[_0x1763ec([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf875b6+=0x2){let _0x100109=window[_0x1763ec([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51d2df[_0x1763ec([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf875b6,_0xf875b6+0x2));_0x100109>=_0x28ec80[_0x1763ec([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x100109-=_0x28ec80[_0x1763ec([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5a4ede+=_0x28ec80[_0x100109];}return _0x5a4ede;}());_0x17939a[_0x2f4f90]=_0x1763ec([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1f3e19,_0x1f3e19!=_0x1763ec([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x45fa3b,_0x17939a[_0x1763ec([0x6d,0x6f,0x64,0x65,0x6c])][_0x1763ec([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x17bbe3,_0x17939a[_0x1763ec([0x6d,0x6f,0x64,0x65,0x6c])][_0x1763ec([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x17bbe3,_0x17939a[_0x1763ec([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1763ec([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x2babd1);}class SlashCommandEditing extends ckeditor5['Plugin']{static get['pluginName'](){return'SlashCommandEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x1f0f03];}['getMatchingCommands'](_0x272f7f){const _0x21df85=_0x272f7f&&_0x272f7f['toLowerCase']();let _0xd963b1=this['editor']['plugins']['get']('SlashCommandConfig')['getAllowedCommands']();if(_0xd963b1=_0xd963b1['filter'](_0x28c224=>_0x28c224['isEnabled']()),_0x21df85){const _0x4f113c=[],_0x266e7a=[],_0x4843ee=[],_0x146d3b=[];for(const _0x3bb8df of _0xd963b1)_0x3bb8df['id']['toLowerCase']()['includes'](_0x21df85)?_0x4f113c['push'](_0x3bb8df):_0x3bb8df['title']['toLowerCase']()['includes'](_0x21df85)?_0x266e7a['push'](_0x3bb8df):_0x3bb8df['aliases']&&_0x3bb8df['aliases']['some'](_0x2d8b00=>_0x2d8b00['toLowerCase']()['includes'](_0x21df85))?_0x4843ee['push'](_0x3bb8df):_0x3bb8df['description']&&_0x3bb8df['description']['toLowerCase']()['includes'](_0x21df85)&&_0x146d3b['push'](_0x3bb8df);_0xd963b1=_0x4f113c['concat'](_0x266e7a,_0x4843ee,_0x146d3b);}return _0xd963b1;}}class SlashCommandButtonView extends ckeditor5['ButtonView']{constructor(_0x1a807f,_0x18625d){super(_0x1a807f),this['textPartView']=this['_createTextPartView'](_0x1a807f,_0x18625d),void 0x0!==_0x18625d['isIconColorInherited']&&(this['iconView']['isColorInherited']=_0x18625d['isIconColorInherited']),this['set']({'icon':_0x18625d['icon']||ckeditor5['IconPlay'],'withText':!0x0,'label':_0x18625d['title'],'class':'ck-slash-command-button'});}['render'](){super['render'](),this['children']['add'](this['textPartView']);}['_createTextPartView'](_0x49f36a,_0x3049ac){const _0x3b9ccc=new ckeditor5['View'](_0x49f36a);return _0x3b9ccc['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-slash-command-button__text-part']},'children':_0x3049ac['description']?[this['labelView'],{'tag':'span','attributes':{'class':['ck','ck-slash-command-button__description']},'children':[{'text':_0x3049ac['description']}]}]:[this['labelView']]}),_0x3b9ccc;}}class _0x567c68 extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SlashCommandUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x594fa4){super(_0x594fa4),this['_setupMentionConfiguration']();}['init'](){this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xd81ec9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1257fd;for(const _0x56a05d in _0xd81ec9){const _0x3f1a3c=_0x56a05d,_0x21b941=_0xd81ec9[_0x3f1a3c];if('slashCommandLicenseKeyValid'==_0x21b941||'slashCommandLicenseKeyInvalid'==_0x21b941||'slashCommandLicenseKeyExpired'==_0x21b941||'slashCommandLicenseKeyDomainLimit'==_0x21b941||'slashCommandLicenseKeyNotAllowed'==_0x21b941||'slashCommandLicenseKeyEvaluationLimit'==_0x21b941||'slashCommandLicenseKeyUsageLimit'==_0x21b941){delete _0xd81ec9[_0x3f1a3c],_0x1257fd=_0x21b941,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'slashCommandLicenseKeyInvalid'==_0x1257fd&&_0xd81ec9['_showLicenseError']('invalid'),'slashCommandLicenseKeyExpired'==_0x1257fd&&_0xd81ec9['_showLicenseError']('expired'),'slashCommandLicenseKeyDomainLimit'==_0x1257fd&&_0xd81ec9['_showLicenseError']('domainLimit'),'slashCommandLicenseKeyNotAllowed'==_0x1257fd&&_0xd81ec9['_showLicenseError']('featureNotAllowed','SlashCommand'),'slashCommandLicenseKeyEvaluationLimit'==_0x1257fd&&_0xd81ec9['_showLicenseError']('evaluationLimit'),'slashCommandLicenseKeyUsageLimit'==_0x1257fd&&_0xd81ec9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_setupMentionConfiguration'](){const _0x2a99e0=this['editor'],_0xde047f=this['editor']['plugins']['get']('SlashCommandEditing'),_0x57c4c7=_0x2a99e0['config']['get']('mention.feeds');_0x57c4c7['push']({'marker':'/','feed':_0x35eb62=>_0xde047f['getMatchingCommands'](_0x35eb62),'itemRenderer':this['_customItemRenderer']['bind'](this),'dropdownLimit':_0x2a99e0['config']['get']('slashCommand.dropdownLimit')||0x1/0x0}),_0x2a99e0['config']['set']('mention.feeds',_0x57c4c7);}['_overrideMentionExecuteListener'](){const _0x7b84d5=this['editor'];_0x7b84d5['commands']['get']('mention')['on']('execute',(_0x470367,_0xb0cace)=>{const _0x46c1c3=_0xb0cace[0x0],_0x3aba9f=_0x7b84d5['model'];'/'===_0x46c1c3['marker']&&_0x3aba9f['change'](_0x5abfa5=>{_0x5abfa5['remove'](_0x46c1c3['range']),_0x46c1c3['mention']['execute'](),_0x470367['stop']();});},{'priority':'high'});}['_customItemRenderer'](_0x4453cc){const _0x318085=this['editor']['locale'],_0x44e9e7=new SlashCommandButtonView(_0x318085,_0x4453cc);return _0x44e9e7['render'](),_0x44e9e7['element'];}}class _0x35aab0 extends ckeditor5['Plugin']{static get['requires'](){return['Mention',SlashCommandEditing,_0x567c68];}static get['pluginName'](){return'SlashCommand';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function getTranslation$3(_0x1f3f52,_0x7edd97){const t=_0x1f3f52['t'];switch(_0x7edd97){case'Edit\x20source\x20modal\x20label':return t({'string':'Edit\x20source','id':'Edit\x20source\x20modal\x20label'});case'Source':return t('Source');case'Source\x20Editing\x20Enhanced':return t('Source\x20Editing\x20Enhanced');case'Copy\x20line\x20down':return t('Copy\x20line\x20down');case'Copy\x20line\x20up':return t('Copy\x20line\x20up');case'Delete\x20line':return t('Delete\x20line');case'Indent\x20less':return t('Indent\x20less');case'Indent\x20more':return t('Indent\x20more');case'Fold\x20all':return t('Fold\x20all');case'Fold\x20code\x20(current\x20level)':return t('Fold\x20code\x20(current\x20level)');case'Move\x20line\x20down':return t('Move\x20line\x20down');case'Move\x20line\x20up':return t('Move\x20line\x20up');case'Redo\x20(keystroke)':return t({'id':'Redo\x20(keystroke)','string':'Redo'});case'Select\x20line':return t('Select\x20line');case'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':return t('Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode');case'Toggle\x20block\x20comment':return t('Toggle\x20block\x20comment');case'Toggle\x20comment':return t('Toggle\x20comment');case'Undo\x20(keystroke)':return t({'id':'Undo\x20(keystroke)','string':'Undo'});case'Unfold\x20all':return t('Unfold\x20all');case'Unfold\x20code\x20(current\x20level)':return t('Unfold\x20code\x20(current\x20level)');case'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':return t('Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.');case'Cancel':return t('Cancel');case'Save':return t('Save');default:return _0x7edd97;}}function getActiveRootName(_0x5089b1){const _0x3f0f56=_0x5089b1['editing']['view']['document']['roots'],_0x220d34=_0x3f0f56['length'];if(0x0===_0x220d34)throw new ckeditor5['CKEditorError']('source-editing-enhanced-editor-no-root',_0x5089b1);if(0x1===_0x220d34)return _0x3f0f56['first']['rootName'];return Array['from'](_0x5089b1['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function formatSource(_0x4bdf44){return isHtml(_0x4bdf44)?ckeditor5['formatHtml'](_0x4bdf44):_0x4bdf44;}function unformatSource(_0x3773df){return isHtml(_0x3773df['replace'](/^[\n\s]*/g,''))?_0x3773df['replace'](/\s+/g,''):_0x3773df;}function isHtml(_0x2b0bd2){return _0x2b0bd2['startsWith']('<');}let _0x175b63=[],_0xc839e6=[];function isExtendingChar(_0x2a430d){if(_0x2a430d<0x300)return!0x1;for(let _0x172d28=0x0,_0x3b2621=_0x175b63['length'];;){let _0x140fcf=_0x172d28+_0x3b2621>>0x1;if(_0x2a430d<_0x175b63[_0x140fcf])_0x3b2621=_0x140fcf;else{if(!(_0x2a430d>=_0xc839e6[_0x140fcf]))return!0x0;_0x172d28=_0x140fcf+0x1;}if(_0x172d28==_0x3b2621)return!0x1;}}function isRegionalIndicator(_0xc3fcf7){return _0xc3fcf7>=0x1f1e6&&_0xc3fcf7<=0x1f1ff;}((()=>{let _0x123297='lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o'['split'](',')['map'](_0x1960af=>_0x1960af?parseInt(_0x1960af,0x24):0x1);for(let _0x182094=0x0,_0x3c1b47=0x0;_0x182094<_0x123297['length'];_0x182094++)(_0x182094%0x2?_0xc839e6:_0x175b63)['push'](_0x3c1b47+=_0x123297[_0x182094]);})());const _0x180d62=0x200d;function findClusterBreak$1(_0x2cab2f,_0x175c4c,_0x3282dd=!0x0,_0x353e23=!0x0){return(_0x3282dd?nextClusterBreak:prevClusterBreak)(_0x2cab2f,_0x175c4c,_0x353e23);}function nextClusterBreak(_0x1d2d4c,_0x4d9c40,_0x511cbf){if(_0x4d9c40==_0x1d2d4c['length'])return _0x4d9c40;_0x4d9c40&&surrogateLow$1(_0x1d2d4c['charCodeAt'](_0x4d9c40))&&surrogateHigh$1(_0x1d2d4c['charCodeAt'](_0x4d9c40-0x1))&&_0x4d9c40--;let _0x3f77e8=codePointAt$1(_0x1d2d4c,_0x4d9c40);for(_0x4d9c40+=codePointSize$1(_0x3f77e8);_0x4d9c40<_0x1d2d4c['length'];){let _0x17e605=codePointAt$1(_0x1d2d4c,_0x4d9c40);if(_0x3f77e8==_0x180d62||_0x17e605==_0x180d62||_0x511cbf&&isExtendingChar(_0x17e605))_0x4d9c40+=codePointSize$1(_0x17e605),_0x3f77e8=_0x17e605;else{if(!isRegionalIndicator(_0x17e605))break;{let _0x21f627=0x0,_0x3a04d5=_0x4d9c40-0x2;for(;_0x3a04d5>=0x0&&isRegionalIndicator(codePointAt$1(_0x1d2d4c,_0x3a04d5));)_0x21f627++,_0x3a04d5-=0x2;if(_0x21f627%0x2==0x0)break;_0x4d9c40+=0x2;}}}return _0x4d9c40;}function prevClusterBreak(_0x31bfcc,_0x765999,_0x4e2bc8){for(;_0x765999>0x0;){let _0x4d2f6b=nextClusterBreak(_0x31bfcc,_0x765999-0x2,_0x4e2bc8);if(_0x4d2f6b<_0x765999)return _0x4d2f6b;_0x765999--;}return 0x0;}function codePointAt$1(_0x45a46b,_0x42b7de){let _0x53349a=_0x45a46b['charCodeAt'](_0x42b7de);if(!surrogateHigh$1(_0x53349a)||_0x42b7de+0x1==_0x45a46b['length'])return _0x53349a;let _0x5ba749=_0x45a46b['charCodeAt'](_0x42b7de+0x1);return surrogateLow$1(_0x5ba749)?_0x5ba749-0xdc00+(_0x53349a-0xd800<<0xa)+0x10000:_0x53349a;}function surrogateLow$1(_0x11f0a3){return _0x11f0a3>=0xdc00&&_0x11f0a3<0xe000;}function surrogateHigh$1(_0x58b397){return _0x58b397>=0xd800&&_0x58b397<0xdc00;}function codePointSize$1(_0x4cc4fb){return _0x4cc4fb<0x10000?0x1:0x2;}class Text{['lineAt'](_0xce21cc){if(_0xce21cc<0x0||_0xce21cc>this['length'])throw new RangeError('Invalid\x20position\x20'+_0xce21cc+'\x20in\x20document\x20of\x20length\x20'+this['length']);return this['lineInner'](_0xce21cc,!0x1,0x1,0x0);}['line'](_0x45968b){if(_0x45968b<0x1||_0x45968b>this['lines'])throw new RangeError('Invalid\x20line\x20number\x20'+_0x45968b+'\x20in\x20'+this['lines']+'-line\x20document');return this['lineInner'](_0x45968b,!0x0,0x1,0x0);}['replace'](_0x4a3d1b,_0x22ba64,_0x3c91b5){[_0x4a3d1b,_0x22ba64]=_0x4c9b3d(this,_0x4a3d1b,_0x22ba64);let _0x50bbeb=[];return this['decompose'](0x0,_0x4a3d1b,_0x50bbeb,0x2),_0x3c91b5['length']&&_0x3c91b5['decompose'](0x0,_0x3c91b5['length'],_0x50bbeb,0x3),this['decompose'](_0x22ba64,this['length'],_0x50bbeb,0x1),TextNode['from'](_0x50bbeb,this['length']-(_0x22ba64-_0x4a3d1b)+_0x3c91b5['length']);}['append'](_0x547a07){return this['replace'](this['length'],this['length'],_0x547a07);}['slice'](_0x5663dd,_0x503aec=this['length']){[_0x5663dd,_0x503aec]=_0x4c9b3d(this,_0x5663dd,_0x503aec);let _0x397b45=[];return this['decompose'](_0x5663dd,_0x503aec,_0x397b45,0x0),TextNode['from'](_0x397b45,_0x503aec-_0x5663dd);}['eq'](_0x508b58){if(_0x508b58==this)return!0x0;if(_0x508b58['length']!=this['length']||_0x508b58['lines']!=this['lines'])return!0x1;let _0x3dbdf8=this['scanIdentical'](_0x508b58,0x1),_0x3ca421=this['length']-this['scanIdentical'](_0x508b58,-0x1),_0x264948=new RawTextCursor(this),_0x24f317=new RawTextCursor(_0x508b58);for(let _0x26930f=_0x3dbdf8,_0x1efc55=_0x3dbdf8;;){if(_0x264948['next'](_0x26930f),_0x24f317['next'](_0x26930f),_0x26930f=0x0,_0x264948['lineBreak']!=_0x24f317['lineBreak']||_0x264948['done']!=_0x24f317['done']||_0x264948['value']!=_0x24f317['value'])return!0x1;if(_0x1efc55+=_0x264948['value']['length'],_0x264948['done']||_0x1efc55>=_0x3ca421)return!0x0;}}['iter'](_0xc8b744=0x1){return new RawTextCursor(this,_0xc8b744);}['iterRange'](_0x2ad740,_0x190b0e=this['length']){return new PartialTextCursor(this,_0x2ad740,_0x190b0e);}['iterLines'](_0x1a7692,_0x52f121){let _0x2345d3;if(null==_0x1a7692)_0x2345d3=this['iter']();else{null==_0x52f121&&(_0x52f121=this['lines']+0x1);let _0x148c53=this['line'](_0x1a7692)['from'];_0x2345d3=this['iterRange'](_0x148c53,Math['max'](_0x148c53,_0x52f121==this['lines']+0x1?this['length']:_0x52f121<=0x1?0x0:this['line'](_0x52f121-0x1)['to']));}return new _0x10ade2(_0x2345d3);}['toString'](){return this['sliceString'](0x0);}['toJSON'](){let _0x24536e=[];return this['flatten'](_0x24536e),_0x24536e;}constructor(){}static['of'](_0x24ef7b){if(0x0==_0x24ef7b['length'])throw new RangeError('A\x20document\x20must\x20have\x20at\x20least\x20one\x20line');return 0x1!=_0x24ef7b['length']||_0x24ef7b[0x0]?_0x24ef7b['length']<=0x20?new TextLeaf(_0x24ef7b):TextNode['from'](TextLeaf['split'](_0x24ef7b,[])):Text['empty'];}}class TextLeaf extends Text{constructor(_0x15f809,_0x4a7ad7=textLength(_0x15f809)){super(),this['text']=_0x15f809,this['length']=_0x4a7ad7;}get['lines'](){return this['text']['length'];}get['children'](){return null;}['lineInner'](_0x5d077d,_0x3e8eec,_0x4b1864,_0xecd957){for(let _0x32f0d8=0x0;;_0x32f0d8++){let _0x3d60c9=this['text'][_0x32f0d8],_0x4905d3=_0xecd957+_0x3d60c9['length'];if((_0x3e8eec?_0x4b1864:_0x4905d3)>=_0x5d077d)return new _0x1f188a(_0xecd957,_0x4905d3,_0x4b1864,_0x3d60c9);_0xecd957=_0x4905d3+0x1,_0x4b1864++;}}['decompose'](_0x21cf34,_0x2467cd,_0x5d6bb7,_0x59007e){let _0x5d03c8=_0x21cf34<=0x0&&_0x2467cd>=this['length']?this:new TextLeaf(sliceText(this['text'],_0x21cf34,_0x2467cd),Math['min'](_0x2467cd,this['length'])-Math['max'](0x0,_0x21cf34));if(0x1&_0x59007e){let _0x2be9c5=_0x5d6bb7['pop'](),_0x1c3b77=appendText(_0x5d03c8['text'],_0x2be9c5['text']['slice'](),0x0,_0x5d03c8['length']);if(_0x1c3b77['length']<=0x20)_0x5d6bb7['push'](new TextLeaf(_0x1c3b77,_0x2be9c5['length']+_0x5d03c8['length']));else{let _0x5b2aa7=_0x1c3b77['length']>>0x1;_0x5d6bb7['push'](new TextLeaf(_0x1c3b77['slice'](0x0,_0x5b2aa7)),new TextLeaf(_0x1c3b77['slice'](_0x5b2aa7)));}}else _0x5d6bb7['push'](_0x5d03c8);}['replace'](_0x491b9f,_0x3c07eb,_0x12dce6){if(!(_0x12dce6 instanceof TextLeaf))return super['replace'](_0x491b9f,_0x3c07eb,_0x12dce6);[_0x491b9f,_0x3c07eb]=_0x4c9b3d(this,_0x491b9f,_0x3c07eb);let _0xae27c7=appendText(this['text'],appendText(_0x12dce6['text'],sliceText(this['text'],0x0,_0x491b9f)),_0x3c07eb),_0x1a1a86=this['length']+_0x12dce6['length']-(_0x3c07eb-_0x491b9f);return _0xae27c7['length']<=0x20?new TextLeaf(_0xae27c7,_0x1a1a86):TextNode['from'](TextLeaf['split'](_0xae27c7,[]),_0x1a1a86);}['sliceString'](_0x1b2811,_0xe93017=this['length'],_0x36ff39='\x0a'){[_0x1b2811,_0xe93017]=_0x4c9b3d(this,_0x1b2811,_0xe93017);let _0x3060b1='';for(let _0x4556e0=0x0,_0x3988d2=0x0;_0x4556e0<=_0xe93017&&_0x3988d2<this['text']['length'];_0x3988d2++){let _0x38dd45=this['text'][_0x3988d2],_0x419941=_0x4556e0+_0x38dd45['length'];_0x4556e0>_0x1b2811&&_0x3988d2&&(_0x3060b1+=_0x36ff39),_0x1b2811<_0x419941&&_0xe93017>_0x4556e0&&(_0x3060b1+=_0x38dd45['slice'](Math['max'](0x0,_0x1b2811-_0x4556e0),_0xe93017-_0x4556e0)),_0x4556e0=_0x419941+0x1;}return _0x3060b1;}['flatten'](_0x333c16){for(let _0x522299 of this['text'])_0x333c16['push'](_0x522299);}['scanIdentical'](){return 0x0;}static['split'](_0x391d89,_0x3c444c){let _0x3bd8c0=[],_0x36fe51=-0x1;for(let _0x38dac9 of _0x391d89)_0x3bd8c0['push'](_0x38dac9),_0x36fe51+=_0x38dac9['length']+0x1,0x20==_0x3bd8c0['length']&&(_0x3c444c['push'](new TextLeaf(_0x3bd8c0,_0x36fe51)),_0x3bd8c0=[],_0x36fe51=-0x1);return _0x36fe51>-0x1&&_0x3c444c['push'](new TextLeaf(_0x3bd8c0,_0x36fe51)),_0x3c444c;}}class TextNode extends Text{constructor(_0x19a457,_0x34812a){super(),this['children']=_0x19a457,this['length']=_0x34812a,this['lines']=0x0;for(let _0x55d050 of _0x19a457)this['lines']+=_0x55d050['lines'];}['lineInner'](_0x5e4277,_0x1b8128,_0x1409ec,_0x3bc650){for(let _0x22d4df=0x0;;_0x22d4df++){let _0x454819=this['children'][_0x22d4df],_0x3a3d79=_0x3bc650+_0x454819['length'],_0x475621=_0x1409ec+_0x454819['lines']-0x1;if((_0x1b8128?_0x475621:_0x3a3d79)>=_0x5e4277)return _0x454819['lineInner'](_0x5e4277,_0x1b8128,_0x1409ec,_0x3bc650);_0x3bc650=_0x3a3d79+0x1,_0x1409ec=_0x475621+0x1;}}['decompose'](_0x34e124,_0x544891,_0x2b1ee9,_0x43b282){for(let _0x2aa4f4=0x0,_0x2ee4f5=0x0;_0x2ee4f5<=_0x544891&&_0x2aa4f4<this['children']['length'];_0x2aa4f4++){let _0x3f4467=this['children'][_0x2aa4f4],_0x599e6e=_0x2ee4f5+_0x3f4467['length'];if(_0x34e124<=_0x599e6e&&_0x544891>=_0x2ee4f5){let _0xcebe65=_0x43b282&((_0x2ee4f5<=_0x34e124?0x1:0x0)|(_0x599e6e>=_0x544891?0x2:0x0));_0x2ee4f5>=_0x34e124&&_0x599e6e<=_0x544891&&!_0xcebe65?_0x2b1ee9['push'](_0x3f4467):_0x3f4467['decompose'](_0x34e124-_0x2ee4f5,_0x544891-_0x2ee4f5,_0x2b1ee9,_0xcebe65);}_0x2ee4f5=_0x599e6e+0x1;}}['replace'](_0x1a2855,_0x2e43c8,_0x41a9f3){if([_0x1a2855,_0x2e43c8]=_0x4c9b3d(this,_0x1a2855,_0x2e43c8),_0x41a9f3['lines']<this['lines'])for(let _0x48506e=0x0,_0x32978b=0x0;_0x48506e<this['children']['length'];_0x48506e++){let _0x3736e0=this['children'][_0x48506e],_0x2a764f=_0x32978b+_0x3736e0['length'];if(_0x1a2855>=_0x32978b&&_0x2e43c8<=_0x2a764f){let _0x2ae1fe=_0x3736e0['replace'](_0x1a2855-_0x32978b,_0x2e43c8-_0x32978b,_0x41a9f3),_0x4afceb=this['lines']-_0x3736e0['lines']+_0x2ae1fe['lines'];if(_0x2ae1fe['lines']<_0x4afceb>>0x4&&_0x2ae1fe['lines']>_0x4afceb>>0x6){let _0x380397=this['children']['slice']();return _0x380397[_0x48506e]=_0x2ae1fe,new TextNode(_0x380397,this['length']-(_0x2e43c8-_0x1a2855)+_0x41a9f3['length']);}return super['replace'](_0x32978b,_0x2a764f,_0x2ae1fe);}_0x32978b=_0x2a764f+0x1;}return super['replace'](_0x1a2855,_0x2e43c8,_0x41a9f3);}['sliceString'](_0x5c856f,_0x5922d2=this['length'],_0x2200e3='\x0a'){[_0x5c856f,_0x5922d2]=_0x4c9b3d(this,_0x5c856f,_0x5922d2);let _0x3c6239='';for(let _0x2d4b8b=0x0,_0x5b0a00=0x0;_0x2d4b8b<this['children']['length']&&_0x5b0a00<=_0x5922d2;_0x2d4b8b++){let _0x4ae444=this['children'][_0x2d4b8b],_0x52ab52=_0x5b0a00+_0x4ae444['length'];_0x5b0a00>_0x5c856f&&_0x2d4b8b&&(_0x3c6239+=_0x2200e3),_0x5c856f<_0x52ab52&&_0x5922d2>_0x5b0a00&&(_0x3c6239+=_0x4ae444['sliceString'](_0x5c856f-_0x5b0a00,_0x5922d2-_0x5b0a00,_0x2200e3)),_0x5b0a00=_0x52ab52+0x1;}return _0x3c6239;}['flatten'](_0x136c2a){for(let _0x49d417 of this['children'])_0x49d417['flatten'](_0x136c2a);}['scanIdentical'](_0x19e17e,_0x1000ba){if(!(_0x19e17e instanceof TextNode))return 0x0;let _0x179b8b=0x0,[_0x1deeff,_0x33594b,_0xb799af,_0x43f8f7]=_0x1000ba>0x0?[0x0,0x0,this['children']['length'],_0x19e17e['children']['length']]:[this['children']['length']-0x1,_0x19e17e['children']['length']-0x1,-0x1,-0x1];for(;;_0x1deeff+=_0x1000ba,_0x33594b+=_0x1000ba){if(_0x1deeff==_0xb799af||_0x33594b==_0x43f8f7)return _0x179b8b;let _0x581347=this['children'][_0x1deeff],_0x5ddc1a=_0x19e17e['children'][_0x33594b];if(_0x581347!=_0x5ddc1a)return _0x179b8b+_0x581347['scanIdentical'](_0x5ddc1a,_0x1000ba);_0x179b8b+=_0x581347['length']+0x1;}}static['from'](_0x259ffe,_0x501c83=_0x259ffe['reduce']((_0x489be0,_0x2f9959)=>_0x489be0+_0x2f9959['length']+0x1,-0x1)){let _0x1cbabd=0x0;for(let _0x5cfecc of _0x259ffe)_0x1cbabd+=_0x5cfecc['lines'];if(_0x1cbabd<0x20){let _0x20344b=[];for(let _0x183ade of _0x259ffe)_0x183ade['flatten'](_0x20344b);return new TextLeaf(_0x20344b,_0x501c83);}let _0x235953=Math['max'](0x20,_0x1cbabd>>0x5),_0x51ae98=_0x235953<<0x1,_0xe5a125=_0x235953>>0x1,_0xd38649=[],_0x1b0bc6=0x0,_0x32d875=-0x1,_0x5bbf2a=[];function _0x273d31(_0x4be4eb){let _0x27cd1e;if(_0x4be4eb['lines']>_0x51ae98&&_0x4be4eb instanceof TextNode){for(let _0x1176ee of _0x4be4eb['children'])_0x273d31(_0x1176ee);}else _0x4be4eb['lines']>_0xe5a125&&(_0x1b0bc6>_0xe5a125||!_0x1b0bc6)?(_0x27c205(),_0xd38649['push'](_0x4be4eb)):_0x4be4eb instanceof TextLeaf&&_0x1b0bc6&&(_0x27cd1e=_0x5bbf2a[_0x5bbf2a['length']-0x1])instanceof TextLeaf&&_0x4be4eb['lines']+_0x27cd1e['lines']<=0x20?(_0x1b0bc6+=_0x4be4eb['lines'],_0x32d875+=_0x4be4eb['length']+0x1,_0x5bbf2a[_0x5bbf2a['length']-0x1]=new TextLeaf(_0x27cd1e['text']['concat'](_0x4be4eb['text']),_0x27cd1e['length']+0x1+_0x4be4eb['length'])):(_0x1b0bc6+_0x4be4eb['lines']>_0x235953&&_0x27c205(),_0x1b0bc6+=_0x4be4eb['lines'],_0x32d875+=_0x4be4eb['length']+0x1,_0x5bbf2a['push'](_0x4be4eb));}function _0x27c205(){0x0!=_0x1b0bc6&&(_0xd38649['push'](0x1==_0x5bbf2a['length']?_0x5bbf2a[0x0]:TextNode['from'](_0x5bbf2a,_0x32d875)),_0x32d875=-0x1,_0x1b0bc6=_0x5bbf2a['length']=0x0);}for(let _0x586fa2 of _0x259ffe)_0x273d31(_0x586fa2);return _0x27c205(),0x1==_0xd38649['length']?_0xd38649[0x0]:new TextNode(_0xd38649,_0x501c83);}}function textLength(_0x13ae10){let _0x440b27=-0x1;for(let _0x37b54e of _0x13ae10)_0x440b27+=_0x37b54e['length']+0x1;return _0x440b27;}function appendText(_0x5116d3,_0x417746,_0x2c4514=0x0,_0x3a50e8=0x3b9aca00){for(let _0x4ae383=0x0,_0x262117=0x0,_0x77d41c=!0x0;_0x262117<_0x5116d3['length']&&_0x4ae383<=_0x3a50e8;_0x262117++){let _0x5941f9=_0x5116d3[_0x262117],_0xb1b575=_0x4ae383+_0x5941f9['length'];_0xb1b575>=_0x2c4514&&(_0xb1b575>_0x3a50e8&&(_0x5941f9=_0x5941f9['slice'](0x0,_0x3a50e8-_0x4ae383)),_0x4ae383<_0x2c4514&&(_0x5941f9=_0x5941f9['slice'](_0x2c4514-_0x4ae383)),_0x77d41c?(_0x417746[_0x417746['length']-0x1]+=_0x5941f9,_0x77d41c=!0x1):_0x417746['push'](_0x5941f9)),_0x4ae383=_0xb1b575+0x1;}return _0x417746;}function sliceText(_0x4c0ea9,_0xca4cde,_0x2b91d5){return appendText(_0x4c0ea9,[''],_0xca4cde,_0x2b91d5);}Text['empty']=new TextLeaf([''],0x0);class RawTextCursor{constructor(_0x45c6d6,_0x9df9bd=0x1){this['dir']=_0x9df9bd,this['done']=!0x1,this['lineBreak']=!0x1,this['value']='',this['nodes']=[_0x45c6d6],this['offsets']=[_0x9df9bd>0x0?0x1:(_0x45c6d6 instanceof TextLeaf?_0x45c6d6['text']['length']:_0x45c6d6['children']['length'])<<0x1];}['nextInner'](_0x3e75ae,_0x4497d2){for(this['done']=this['lineBreak']=!0x1;;){let _0x502b0a=this['nodes']['length']-0x1,_0x2cf3f1=this['nodes'][_0x502b0a],_0x2145ab=this['offsets'][_0x502b0a],_0x464826=_0x2145ab>>0x1,_0x82b0f2=_0x2cf3f1 instanceof TextLeaf?_0x2cf3f1['text']['length']:_0x2cf3f1['children']['length'];if(_0x464826==(_0x4497d2>0x0?_0x82b0f2:0x0)){if(0x0==_0x502b0a)return this['done']=!0x0,this['value']='',this;_0x4497d2>0x0&&this['offsets'][_0x502b0a-0x1]++,this['nodes']['pop'](),this['offsets']['pop']();}else{if((0x1&_0x2145ab)==(_0x4497d2>0x0?0x0:0x1)){if(this['offsets'][_0x502b0a]+=_0x4497d2,0x0==_0x3e75ae)return this['lineBreak']=!0x0,this['value']='\x0a',this;_0x3e75ae--;}else{if(_0x2cf3f1 instanceof TextLeaf){let _0x317226=_0x2cf3f1['text'][_0x464826+(_0x4497d2<0x0?-0x1:0x0)];if(this['offsets'][_0x502b0a]+=_0x4497d2,_0x317226['length']>Math['max'](0x0,_0x3e75ae))return this['value']=0x0==_0x3e75ae?_0x317226:_0x4497d2>0x0?_0x317226['slice'](_0x3e75ae):_0x317226['slice'](0x0,_0x317226['length']-_0x3e75ae),this;_0x3e75ae-=_0x317226['length'];}else{let _0x1b626e=_0x2cf3f1['children'][_0x464826+(_0x4497d2<0x0?-0x1:0x0)];_0x3e75ae>_0x1b626e['length']?(_0x3e75ae-=_0x1b626e['length'],this['offsets'][_0x502b0a]+=_0x4497d2):(_0x4497d2<0x0&&this['offsets'][_0x502b0a]--,this['nodes']['push'](_0x1b626e),this['offsets']['push'](_0x4497d2>0x0?0x1:(_0x1b626e instanceof TextLeaf?_0x1b626e['text']['length']:_0x1b626e['children']['length'])<<0x1));}}}}}['next'](_0x5402ca=0x0){return _0x5402ca<0x0&&(this['nextInner'](-_0x5402ca,-this['dir']),_0x5402ca=this['value']['length']),this['nextInner'](_0x5402ca,this['dir']);}}class PartialTextCursor{constructor(_0x3aa837,_0x8e8cb3,_0x5cef9b){this['value']='',this['done']=!0x1,this['cursor']=new RawTextCursor(_0x3aa837,_0x8e8cb3>_0x5cef9b?-0x1:0x1),this['pos']=_0x8e8cb3>_0x5cef9b?_0x3aa837['length']:0x0,this['from']=Math['min'](_0x8e8cb3,_0x5cef9b),this['to']=Math['max'](_0x8e8cb3,_0x5cef9b);}['nextInner'](_0x12692d,_0x228c54){if(_0x228c54<0x0?this['pos']<=this['from']:this['pos']>=this['to'])return this['value']='',this['done']=!0x0,this;_0x12692d+=Math['max'](0x0,_0x228c54<0x0?this['pos']-this['to']:this['from']-this['pos']);let _0x565335=_0x228c54<0x0?this['pos']-this['from']:this['to']-this['pos'];_0x12692d>_0x565335&&(_0x12692d=_0x565335),_0x565335-=_0x12692d;let {value:_0x30bfcb}=this['cursor']['next'](_0x12692d);return this['pos']+=(_0x30bfcb['length']+_0x12692d)*_0x228c54,this['value']=_0x30bfcb['length']<=_0x565335?_0x30bfcb:_0x228c54<0x0?_0x30bfcb['slice'](_0x30bfcb['length']-_0x565335):_0x30bfcb['slice'](0x0,_0x565335),this['done']=!this['value'],this;}['next'](_0x6286ae=0x0){return _0x6286ae<0x0?_0x6286ae=Math['max'](_0x6286ae,this['from']-this['pos']):_0x6286ae>0x0&&(_0x6286ae=Math['min'](_0x6286ae,this['to']-this['pos'])),this['nextInner'](_0x6286ae,this['cursor']['dir']);}get['lineBreak'](){return this['cursor']['lineBreak']&&''!=this['value'];}}class _0x10ade2{constructor(_0x515879){this['inner']=_0x515879,this['afterBreak']=!0x0,this['value']='',this['done']=!0x1;}['next'](_0x86a08c=0x0){let {done:_0x5164a8,lineBreak:_0x487462,value:_0x4c4cb1}=this['inner']['next'](_0x86a08c);return _0x5164a8&&this['afterBreak']?(this['value']='',this['afterBreak']=!0x1):_0x5164a8?(this['done']=!0x0,this['value']=''):_0x487462?this['afterBreak']?this['value']='':(this['afterBreak']=!0x0,this['next']()):(this['value']=_0x4c4cb1,this['afterBreak']=!0x1),this;}get['lineBreak'](){return!0x1;}}'undefined'!=typeof Symbol&&(Text['prototype'][Symbol['iterator']]=function(){return this['iter']();},RawTextCursor['prototype'][Symbol['iterator']]=PartialTextCursor['prototype'][Symbol['iterator']]=_0x10ade2['prototype'][Symbol['iterator']]=function(){return this;});let _0x1f188a=class{constructor(_0x243349,_0x5b8311,_0xf23928,_0x46400f){this['from']=_0x243349,this['to']=_0x5b8311,this['number']=_0xf23928,this['text']=_0x46400f;}get['length'](){return this['to']-this['from'];}};function _0x4c9b3d(_0x3a299d,_0x2117e3,_0x33feb6){return[_0x2117e3=Math['max'](0x0,Math['min'](_0x3a299d['length'],_0x2117e3)),Math['max'](_0x2117e3,Math['min'](_0x3a299d['length'],_0x33feb6))];}function findClusterBreak(_0x1fcd9a,_0xad208f,_0x215a90=!0x0,_0x305123=!0x0){return findClusterBreak$1(_0x1fcd9a,_0xad208f,_0x215a90,_0x305123);}function surrogateLow(_0x816924){return _0x816924>=0xdc00&&_0x816924<0xe000;}function surrogateHigh(_0x545965){return _0x545965>=0xd800&&_0x545965<0xdc00;}function codePointAt(_0x254df9,_0x166add){let _0x48d2b9=_0x254df9['charCodeAt'](_0x166add);if(!surrogateHigh(_0x48d2b9)||_0x166add+0x1==_0x254df9['length'])return _0x48d2b9;let _0x3721d8=_0x254df9['charCodeAt'](_0x166add+0x1);return surrogateLow(_0x3721d8)?_0x3721d8-0xdc00+(_0x48d2b9-0xd800<<0xa)+0x10000:_0x48d2b9;}function fromCodePoint(_0x5f44ed){return _0x5f44ed<=0xffff?String['fromCharCode'](_0x5f44ed):(_0x5f44ed-=0x10000,String['fromCharCode'](0xd800+(_0x5f44ed>>0xa),0xdc00+(0x3ff&_0x5f44ed)));}function codePointSize(_0x5e9016){return _0x5e9016<0x10000?0x1:0x2;}const DefaultSplit=/\r\n?|\n/;var _0x38e9e1=function(_0x25d675){return _0x25d675[_0x25d675['Simple']=0x0]='Simple',_0x25d675[_0x25d675['TrackDel']=0x1]='TrackDel',_0x25d675[_0x25d675['TrackBefore']=0x2]='TrackBefore',_0x25d675[_0x25d675['TrackAfter']=0x3]='TrackAfter',_0x25d675;}(_0x38e9e1||(_0x38e9e1={}));class _0x24335e{constructor(_0x26abe8){this['sections']=_0x26abe8;}get['length'](){let _0x3d57c2=0x0;for(let _0xf9da04=0x0;_0xf9da04<this['sections']['length'];_0xf9da04+=0x2)_0x3d57c2+=this['sections'][_0xf9da04];return _0x3d57c2;}get['newLength'](){let _0xb82031=0x0;for(let _0x187ea1=0x0;_0x187ea1<this['sections']['length'];_0x187ea1+=0x2){let _0x173f7b=this['sections'][_0x187ea1+0x1];_0xb82031+=_0x173f7b<0x0?this['sections'][_0x187ea1]:_0x173f7b;}return _0xb82031;}get['empty'](){return 0x0==this['sections']['length']||0x2==this['sections']['length']&&this['sections'][0x1]<0x0;}['iterGaps'](_0x5c84c6){for(let _0x559f2e=0x0,_0x3eb232=0x0,_0x14acaa=0x0;_0x559f2e<this['sections']['length'];){let _0x282dbb=this['sections'][_0x559f2e++],_0x3d93d8=this['sections'][_0x559f2e++];_0x3d93d8<0x0?(_0x5c84c6(_0x3eb232,_0x14acaa,_0x282dbb),_0x14acaa+=_0x282dbb):_0x14acaa+=_0x3d93d8,_0x3eb232+=_0x282dbb;}}['iterChangedRanges'](_0x2315ec,_0x20989d=!0x1){iterChanges(this,_0x2315ec,_0x20989d);}get['invertedDesc'](){let _0x40101b=[];for(let _0xba8eba=0x0;_0xba8eba<this['sections']['length'];){let _0x1dca74=this['sections'][_0xba8eba++],_0x1a88f4=this['sections'][_0xba8eba++];_0x1a88f4<0x0?_0x40101b['push'](_0x1dca74,_0x1a88f4):_0x40101b['push'](_0x1a88f4,_0x1dca74);}return new _0x24335e(_0x40101b);}['composeDesc'](_0x311965){return this['empty']?_0x311965:_0x311965['empty']?this:composeSets(this,_0x311965);}['mapDesc'](_0x3a32cf,_0x33fd59=!0x1){return _0x3a32cf['empty']?this:mapSet(this,_0x3a32cf,_0x33fd59);}['mapPos'](_0xd505d,_0x56d4d9=-0x1,_0xa890c3=_0x38e9e1['Simple']){let _0x2b9029=0x0,_0x4e2138=0x0;for(let _0x14575c=0x0;_0x14575c<this['sections']['length'];){let _0xac44b8=this['sections'][_0x14575c++],_0x123d7f=this['sections'][_0x14575c++],_0x2e3096=_0x2b9029+_0xac44b8;if(_0x123d7f<0x0){if(_0x2e3096>_0xd505d)return _0x4e2138+(_0xd505d-_0x2b9029);_0x4e2138+=_0xac44b8;}else{if(_0xa890c3!=_0x38e9e1['Simple']&&_0x2e3096>=_0xd505d&&(_0xa890c3==_0x38e9e1['TrackDel']&&_0x2b9029<_0xd505d&&_0x2e3096>_0xd505d||_0xa890c3==_0x38e9e1['TrackBefore']&&_0x2b9029<_0xd505d||_0xa890c3==_0x38e9e1['TrackAfter']&&_0x2e3096>_0xd505d))return null;if(_0x2e3096>_0xd505d||_0x2e3096==_0xd505d&&_0x56d4d9<0x0&&!_0xac44b8)return _0xd505d==_0x2b9029||_0x56d4d9<0x0?_0x4e2138:_0x4e2138+_0x123d7f;_0x4e2138+=_0x123d7f;}_0x2b9029=_0x2e3096;}if(_0xd505d>_0x2b9029)throw new RangeError('Position\x20'+_0xd505d+'\x20is\x20out\x20of\x20range\x20for\x20changeset\x20of\x20length\x20'+_0x2b9029);return _0x4e2138;}['touchesRange'](_0x538e64,_0x496b7f=_0x538e64){for(let _0x36a78d=0x0,_0xee66f=0x0;_0x36a78d<this['sections']['length']&&_0xee66f<=_0x496b7f;){let _0x48d7b9=_0xee66f+this['sections'][_0x36a78d++];if(this['sections'][_0x36a78d++]>=0x0&&_0xee66f<=_0x496b7f&&_0x48d7b9>=_0x538e64)return!(_0xee66f<_0x538e64&&_0x48d7b9>_0x496b7f)||'cover';_0xee66f=_0x48d7b9;}return!0x1;}['toString'](){let _0x9c5e0b='';for(let _0xc406d9=0x0;_0xc406d9<this['sections']['length'];){let _0x1d77cd=this['sections'][_0xc406d9++],_0x31d82f=this['sections'][_0xc406d9++];_0x9c5e0b+=(_0x9c5e0b?'\x20':'')+_0x1d77cd+(_0x31d82f>=0x0?':'+_0x31d82f:'');}return _0x9c5e0b;}['toJSON'](){return this['sections'];}static['fromJSON'](_0x580327){if(!Array['isArray'](_0x580327)||_0x580327['length']%0x2||_0x580327['some'](_0x5e0856=>'number'!=typeof _0x5e0856))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeDesc');return new _0x24335e(_0x580327);}static['create'](_0x50f41d){return new _0x24335e(_0x50f41d);}}class ChangeSet extends _0x24335e{constructor(_0x1160cb,_0x23c3e5){super(_0x1160cb),this['inserted']=_0x23c3e5;}['apply'](_0x2c612f){if(this['length']!=_0x2c612f['length'])throw new RangeError('Applying\x20change\x20set\x20to\x20a\x20document\x20with\x20the\x20wrong\x20length');return iterChanges(this,(_0x59ecf1,_0x2de1b8,_0x48d3c1,_0x2379df,_0x4d949f)=>_0x2c612f=_0x2c612f['replace'](_0x48d3c1,_0x48d3c1+(_0x2de1b8-_0x59ecf1),_0x4d949f),!0x1),_0x2c612f;}['mapDesc'](_0x2bd047,_0x3a0677=!0x1){return mapSet(this,_0x2bd047,_0x3a0677,!0x0);}['invert'](_0x1d337d){let _0x2a430b=this['sections']['slice'](),_0x106f3a=[];for(let _0xf6752b=0x0,_0x18cda8=0x0;_0xf6752b<_0x2a430b['length'];_0xf6752b+=0x2){let _0x586330=_0x2a430b[_0xf6752b],_0x415e7e=_0x2a430b[_0xf6752b+0x1];if(_0x415e7e>=0x0){_0x2a430b[_0xf6752b]=_0x415e7e,_0x2a430b[_0xf6752b+0x1]=_0x586330;let _0x106d96=_0xf6752b>>0x1;for(;_0x106f3a['length']<_0x106d96;)_0x106f3a['push'](Text['empty']);_0x106f3a['push'](_0x586330?_0x1d337d['slice'](_0x18cda8,_0x18cda8+_0x586330):Text['empty']);}_0x18cda8+=_0x586330;}return new ChangeSet(_0x2a430b,_0x106f3a);}['compose'](_0x2890ca){return this['empty']?_0x2890ca:_0x2890ca['empty']?this:composeSets(this,_0x2890ca,!0x0);}['map'](_0x21cd57,_0x523265=!0x1){return _0x21cd57['empty']?this:mapSet(this,_0x21cd57,_0x523265,!0x0);}['iterChanges'](_0x1b5cc6,_0x1dff14=!0x1){iterChanges(this,_0x1b5cc6,_0x1dff14);}get['desc'](){return _0x24335e['create'](this['sections']);}['filter'](_0x7008c3){let _0x1f9779=[],_0x440a95=[],_0x1b15c2=[],_0x3e6c7a=new SectionIter(this);t:for(let _0x4886df=0x0,_0x1ddd67=0x0;;){let _0x2c7dee=_0x4886df==_0x7008c3['length']?0x3b9aca00:_0x7008c3[_0x4886df++];for(;_0x1ddd67<_0x2c7dee||_0x1ddd67==_0x2c7dee&&0x0==_0x3e6c7a['len'];){if(_0x3e6c7a['done'])break t;let _0x50b3d8=Math['min'](_0x3e6c7a['len'],_0x2c7dee-_0x1ddd67);addSection(_0x1b15c2,_0x50b3d8,-0x1);let _0x18a3e7=-0x1==_0x3e6c7a['ins']?-0x1:0x0==_0x3e6c7a['off']?_0x3e6c7a['ins']:0x0;addSection(_0x1f9779,_0x50b3d8,_0x18a3e7),_0x18a3e7>0x0&&addInsert(_0x440a95,_0x1f9779,_0x3e6c7a['text']),_0x3e6c7a['forward'](_0x50b3d8),_0x1ddd67+=_0x50b3d8;}let _0x56279a=_0x7008c3[_0x4886df++];for(;_0x1ddd67<_0x56279a;){if(_0x3e6c7a['done'])break t;let _0x238581=Math['min'](_0x3e6c7a['len'],_0x56279a-_0x1ddd67);addSection(_0x1f9779,_0x238581,-0x1),addSection(_0x1b15c2,_0x238581,-0x1==_0x3e6c7a['ins']?-0x1:0x0==_0x3e6c7a['off']?_0x3e6c7a['ins']:0x0),_0x3e6c7a['forward'](_0x238581),_0x1ddd67+=_0x238581;}}return{'changes':new ChangeSet(_0x1f9779,_0x440a95),'filtered':_0x24335e['create'](_0x1b15c2)};}['toJSON'](){let _0x5bce66=[];for(let _0x15da83=0x0;_0x15da83<this['sections']['length'];_0x15da83+=0x2){let _0x476e06=this['sections'][_0x15da83],_0xe6b40a=this['sections'][_0x15da83+0x1];_0xe6b40a<0x0?_0x5bce66['push'](_0x476e06):0x0==_0xe6b40a?_0x5bce66['push']([_0x476e06]):_0x5bce66['push']([_0x476e06]['concat'](this['inserted'][_0x15da83>>0x1]['toJSON']()));}return _0x5bce66;}static['of'](_0x359486,_0xfeaef4,_0x16908c){let _0x21fdef=[],_0x182dfd=[],_0x3ce8ce=0x0,_0x5640a6=null;function _0x555b68(_0x3a5824=!0x1){if(!_0x3a5824&&!_0x21fdef['length'])return;_0x3ce8ce<_0xfeaef4&&addSection(_0x21fdef,_0xfeaef4-_0x3ce8ce,-0x1);let _0x3f0d7f=new ChangeSet(_0x21fdef,_0x182dfd);_0x5640a6=_0x5640a6?_0x5640a6['compose'](_0x3f0d7f['map'](_0x5640a6)):_0x3f0d7f,_0x21fdef=[],_0x182dfd=[],_0x3ce8ce=0x0;}return function _0xddf5b4(_0x2dc352){if(Array['isArray'](_0x2dc352)){for(let _0x38ab8b of _0x2dc352)_0xddf5b4(_0x38ab8b);}else{if(_0x2dc352 instanceof ChangeSet){if(_0x2dc352['length']!=_0xfeaef4)throw new RangeError('Mismatched\x20change\x20set\x20length\x20(got\x20'+_0x2dc352['length']+',\x20expected\x20'+_0xfeaef4+')');_0x555b68(),_0x5640a6=_0x5640a6?_0x5640a6['compose'](_0x2dc352['map'](_0x5640a6)):_0x2dc352;}else{let {from:_0x557486,to:_0x2220db=_0x557486,insert:_0xfa2220}=_0x2dc352;if(_0x557486>_0x2220db||_0x557486<0x0||_0x2220db>_0xfeaef4)throw new RangeError('Invalid\x20change\x20range\x20'+_0x557486+'\x20to\x20'+_0x2220db+'\x20(in\x20doc\x20of\x20length\x20'+_0xfeaef4+')');let _0x5c6956=_0xfa2220?'string'==typeof _0xfa2220?Text['of'](_0xfa2220['split'](_0x16908c||DefaultSplit)):_0xfa2220:Text['empty'],_0x326268=_0x5c6956['length'];if(_0x557486==_0x2220db&&0x0==_0x326268)return;_0x557486<_0x3ce8ce&&_0x555b68(),_0x557486>_0x3ce8ce&&addSection(_0x21fdef,_0x557486-_0x3ce8ce,-0x1),addSection(_0x21fdef,_0x2220db-_0x557486,_0x326268),addInsert(_0x182dfd,_0x21fdef,_0x5c6956),_0x3ce8ce=_0x2220db;}}}(_0x359486),_0x555b68(!_0x5640a6),_0x5640a6;}static['empty'](_0x1ac904){return new ChangeSet(_0x1ac904?[_0x1ac904,-0x1]:[],[]);}static['fromJSON'](_0x18f5a8){if(!Array['isArray'](_0x18f5a8))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');let _0x29d7fa=[],_0x17054a=[];for(let _0x2fabee=0x0;_0x2fabee<_0x18f5a8['length'];_0x2fabee++){let _0x52443f=_0x18f5a8[_0x2fabee];if('number'==typeof _0x52443f)_0x29d7fa['push'](_0x52443f,-0x1);else{if(!Array['isArray'](_0x52443f)||'number'!=typeof _0x52443f[0x0]||_0x52443f['some']((_0x41a34b,_0x3e5f5d)=>_0x3e5f5d&&'string'!=typeof _0x41a34b))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');if(0x1==_0x52443f['length'])_0x29d7fa['push'](_0x52443f[0x0],0x0);else{for(;_0x17054a['length']<_0x2fabee;)_0x17054a['push'](Text['empty']);_0x17054a[_0x2fabee]=Text['of'](_0x52443f['slice'](0x1)),_0x29d7fa['push'](_0x52443f[0x0],_0x17054a[_0x2fabee]['length']);}}}return new ChangeSet(_0x29d7fa,_0x17054a);}static['createSet'](_0x19430b,_0x341701){return new ChangeSet(_0x19430b,_0x341701);}}function addSection(_0xf820d5,_0x31483b,_0x43697c,_0x371be5=!0x1){if(0x0==_0x31483b&&_0x43697c<=0x0)return;let _0x5ba754=_0xf820d5['length']-0x2;_0x5ba754>=0x0&&_0x43697c<=0x0&&_0x43697c==_0xf820d5[_0x5ba754+0x1]?_0xf820d5[_0x5ba754]+=_0x31483b:_0x5ba754>=0x0&&0x0==_0x31483b&&0x0==_0xf820d5[_0x5ba754]?_0xf820d5[_0x5ba754+0x1]+=_0x43697c:_0x371be5?(_0xf820d5[_0x5ba754]+=_0x31483b,_0xf820d5[_0x5ba754+0x1]+=_0x43697c):_0xf820d5['push'](_0x31483b,_0x43697c);}function addInsert(_0x33d72f,_0x2623fc,_0x30b885){if(0x0==_0x30b885['length'])return;let _0x5462ed=_0x2623fc['length']-0x2>>0x1;if(_0x5462ed<_0x33d72f['length'])_0x33d72f[_0x33d72f['length']-0x1]=_0x33d72f[_0x33d72f['length']-0x1]['append'](_0x30b885);else{for(;_0x33d72f['length']<_0x5462ed;)_0x33d72f['push'](Text['empty']);_0x33d72f['push'](_0x30b885);}}function iterChanges(_0x5e7187,_0x5f0f1c,_0x3b949f){let _0x577962=_0x5e7187['inserted'];for(let _0x370a3e=0x0,_0x375286=0x0,_0x1766fd=0x0;_0x1766fd<_0x5e7187['sections']['length'];){let _0x2bef3f=_0x5e7187['sections'][_0x1766fd++],_0xe0aef6=_0x5e7187['sections'][_0x1766fd++];if(_0xe0aef6<0x0)_0x370a3e+=_0x2bef3f,_0x375286+=_0x2bef3f;else{let _0x40c654=_0x370a3e,_0x536985=_0x375286,_0x261318=Text['empty'];for(;_0x40c654+=_0x2bef3f,_0x536985+=_0xe0aef6,_0xe0aef6&&_0x577962&&(_0x261318=_0x261318['append'](_0x577962[_0x1766fd-0x2>>0x1])),!(_0x3b949f||_0x1766fd==_0x5e7187['sections']['length']||_0x5e7187['sections'][_0x1766fd+0x1]<0x0);)_0x2bef3f=_0x5e7187['sections'][_0x1766fd++],_0xe0aef6=_0x5e7187['sections'][_0x1766fd++];_0x5f0f1c(_0x370a3e,_0x40c654,_0x375286,_0x536985,_0x261318),_0x370a3e=_0x40c654,_0x375286=_0x536985;}}}function mapSet(_0x3920df,_0x53ca9a,_0x5af854,_0x405b30=!0x1){let _0x49aaff=[],_0xbef7cb=_0x405b30?[]:null,_0x7ef305=new SectionIter(_0x3920df),_0x2b67ca=new SectionIter(_0x53ca9a);for(let _0x31d8b2=-0x1;;){if(_0x7ef305['done']&&_0x2b67ca['len']||_0x2b67ca['done']&&_0x7ef305['len'])throw new Error('Mismatched\x20change\x20set\x20lengths');if(-0x1==_0x7ef305['ins']&&-0x1==_0x2b67ca['ins']){let _0x2fe588=Math['min'](_0x7ef305['len'],_0x2b67ca['len']);addSection(_0x49aaff,_0x2fe588,-0x1),_0x7ef305['forward'](_0x2fe588),_0x2b67ca['forward'](_0x2fe588);}else{if(_0x2b67ca['ins']>=0x0&&(_0x7ef305['ins']<0x0||_0x31d8b2==_0x7ef305['i']||0x0==_0x7ef305['off']&&(_0x2b67ca['len']<_0x7ef305['len']||_0x2b67ca['len']==_0x7ef305['len']&&!_0x5af854))){let _0x226934=_0x2b67ca['len'];for(addSection(_0x49aaff,_0x2b67ca['ins'],-0x1);_0x226934;){let _0x5c1807=Math['min'](_0x7ef305['len'],_0x226934);_0x7ef305['ins']>=0x0&&_0x31d8b2<_0x7ef305['i']&&_0x7ef305['len']<=_0x5c1807&&(addSection(_0x49aaff,0x0,_0x7ef305['ins']),_0xbef7cb&&addInsert(_0xbef7cb,_0x49aaff,_0x7ef305['text']),_0x31d8b2=_0x7ef305['i']),_0x7ef305['forward'](_0x5c1807),_0x226934-=_0x5c1807;}_0x2b67ca['next']();}else{if(!(_0x7ef305['ins']>=0x0)){if(_0x7ef305['done']&&_0x2b67ca['done'])return _0xbef7cb?ChangeSet['createSet'](_0x49aaff,_0xbef7cb):_0x24335e['create'](_0x49aaff);throw new Error('Mismatched\x20change\x20set\x20lengths');}{let _0x1412c2=0x0,_0x41ea9b=_0x7ef305['len'];for(;_0x41ea9b;)if(-0x1==_0x2b67ca['ins']){let _0x3b4f92=Math['min'](_0x41ea9b,_0x2b67ca['len']);_0x1412c2+=_0x3b4f92,_0x41ea9b-=_0x3b4f92,_0x2b67ca['forward'](_0x3b4f92);}else{if(!(0x0==_0x2b67ca['ins']&&_0x2b67ca['len']<_0x41ea9b))break;_0x41ea9b-=_0x2b67ca['len'],_0x2b67ca['next']();}addSection(_0x49aaff,_0x1412c2,_0x31d8b2<_0x7ef305['i']?_0x7ef305['ins']:0x0),_0xbef7cb&&_0x31d8b2<_0x7ef305['i']&&addInsert(_0xbef7cb,_0x49aaff,_0x7ef305['text']),_0x31d8b2=_0x7ef305['i'],_0x7ef305['forward'](_0x7ef305['len']-_0x41ea9b);}}}}}function composeSets(_0x277a75,_0x1f64b5,_0x1a5c36=!0x1){let _0x46551e=[],_0x2b55c1=_0x1a5c36?[]:null,_0x580d7a=new SectionIter(_0x277a75),_0x419d27=new SectionIter(_0x1f64b5);for(let _0x42c2c=!0x1;;){if(_0x580d7a['done']&&_0x419d27['done'])return _0x2b55c1?ChangeSet['createSet'](_0x46551e,_0x2b55c1):_0x24335e['create'](_0x46551e);if(0x0==_0x580d7a['ins'])addSection(_0x46551e,_0x580d7a['len'],0x0,_0x42c2c),_0x580d7a['next']();else{if(0x0!=_0x419d27['len']||_0x419d27['done']){if(_0x580d7a['done']||_0x419d27['done'])throw new Error('Mismatched\x20change\x20set\x20lengths');{let _0x22295b=Math['min'](_0x580d7a['len2'],_0x419d27['len']),_0x3347cd=_0x46551e['length'];if(-0x1==_0x580d7a['ins']){let _0x2a6a6b=-0x1==_0x419d27['ins']?-0x1:_0x419d27['off']?0x0:_0x419d27['ins'];addSection(_0x46551e,_0x22295b,_0x2a6a6b,_0x42c2c),_0x2b55c1&&_0x2a6a6b&&addInsert(_0x2b55c1,_0x46551e,_0x419d27['text']);}else-0x1==_0x419d27['ins']?(addSection(_0x46551e,_0x580d7a['off']?0x0:_0x580d7a['len'],_0x22295b,_0x42c2c),_0x2b55c1&&addInsert(_0x2b55c1,_0x46551e,_0x580d7a['textBit'](_0x22295b))):(addSection(_0x46551e,_0x580d7a['off']?0x0:_0x580d7a['len'],_0x419d27['off']?0x0:_0x419d27['ins'],_0x42c2c),_0x2b55c1&&!_0x419d27['off']&&addInsert(_0x2b55c1,_0x46551e,_0x419d27['text']));_0x42c2c=(_0x580d7a['ins']>_0x22295b||_0x419d27['ins']>=0x0&&_0x419d27['len']>_0x22295b)&&(_0x42c2c||_0x46551e['length']>_0x3347cd),_0x580d7a['forward2'](_0x22295b),_0x419d27['forward'](_0x22295b);}}else addSection(_0x46551e,0x0,_0x419d27['ins'],_0x42c2c),_0x2b55c1&&addInsert(_0x2b55c1,_0x46551e,_0x419d27['text']),_0x419d27['next']();}}}class SectionIter{constructor(_0x17c51e){this['set']=_0x17c51e,this['i']=0x0,this['next']();}['next'](){let {sections:_0x950147}=this['set'];this['i']<_0x950147['length']?(this['len']=_0x950147[this['i']++],this['ins']=_0x950147[this['i']++]):(this['len']=0x0,this['ins']=-0x2),this['off']=0x0;}get['done'](){return-0x2==this['ins'];}get['len2'](){return this['ins']<0x0?this['len']:this['ins'];}get['text'](){let {inserted:_0x20467c}=this['set'],_0x15253e=this['i']-0x2>>0x1;return _0x15253e>=_0x20467c['length']?Text['empty']:_0x20467c[_0x15253e];}['textBit'](_0x2fd4d7){let {inserted:_0x1e421f}=this['set'],_0x3ebea5=this['i']-0x2>>0x1;return _0x3ebea5>=_0x1e421f['length']&&!_0x2fd4d7?Text['empty']:_0x1e421f[_0x3ebea5]['slice'](this['off'],null==_0x2fd4d7?void 0x0:this['off']+_0x2fd4d7);}['forward'](_0x5344d1){_0x5344d1==this['len']?this['next']():(this['len']-=_0x5344d1,this['off']+=_0x5344d1);}['forward2'](_0x1a0362){-0x1==this['ins']?this['forward'](_0x1a0362):_0x1a0362==this['ins']?this['next']():(this['ins']-=_0x1a0362,this['off']+=_0x1a0362);}}class SelectionRange{constructor(_0x540d34,_0x2a2d91,_0x561f16){this['from']=_0x540d34,this['to']=_0x2a2d91,this['flags']=_0x561f16;}get['anchor'](){return 0x20&this['flags']?this['to']:this['from'];}get['head'](){return 0x20&this['flags']?this['from']:this['to'];}get['empty'](){return this['from']==this['to'];}get['assoc'](){return 0x8&this['flags']?-0x1:0x10&this['flags']?0x1:0x0;}get['bidiLevel'](){let _0x297c9a=0x7&this['flags'];return 0x7==_0x297c9a?null:_0x297c9a;}get['goalColumn'](){let _0x479329=this['flags']>>0x6;return 0xffffff==_0x479329?void 0x0:_0x479329;}['map'](_0x172793,_0x5b6693=-0x1){let _0x173dbb,_0x55cf95;return this['empty']?_0x173dbb=_0x55cf95=_0x172793['mapPos'](this['from'],_0x5b6693):(_0x173dbb=_0x172793['mapPos'](this['from'],0x1),_0x55cf95=_0x172793['mapPos'](this['to'],-0x1)),_0x173dbb==this['from']&&_0x55cf95==this['to']?this:new SelectionRange(_0x173dbb,_0x55cf95,this['flags']);}['extend'](_0x4964b5,_0x4a5abe=_0x4964b5){if(_0x4964b5<=this['anchor']&&_0x4a5abe>=this['anchor'])return EditorSelection['range'](_0x4964b5,_0x4a5abe);let _0x2a4938=Math['abs'](_0x4964b5-this['anchor'])>Math['abs'](_0x4a5abe-this['anchor'])?_0x4964b5:_0x4a5abe;return EditorSelection['range'](this['anchor'],_0x2a4938);}['eq'](_0x4c3976,_0x434dca=!0x1){return!(this['anchor']!=_0x4c3976['anchor']||this['head']!=_0x4c3976['head']||_0x434dca&&this['empty']&&this['assoc']!=_0x4c3976['assoc']);}['toJSON'](){return{'anchor':this['anchor'],'head':this['head']};}static['fromJSON'](_0x4fb31f){if(!_0x4fb31f||'number'!=typeof _0x4fb31f['anchor']||'number'!=typeof _0x4fb31f['head'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20SelectionRange');return EditorSelection['range'](_0x4fb31f['anchor'],_0x4fb31f['head']);}static['create'](_0x3dde59,_0x2d6f70,_0x176963){return new SelectionRange(_0x3dde59,_0x2d6f70,_0x176963);}}class EditorSelection{constructor(_0x4e0870,_0x37e98a){this['ranges']=_0x4e0870,this['mainIndex']=_0x37e98a;}['map'](_0x43435e,_0x3d0965=-0x1){return _0x43435e['empty']?this:EditorSelection['create'](this['ranges']['map'](_0x5449f4=>_0x5449f4['map'](_0x43435e,_0x3d0965)),this['mainIndex']);}['eq'](_0x14656a,_0x9d2ee2=!0x1){if(this['ranges']['length']!=_0x14656a['ranges']['length']||this['mainIndex']!=_0x14656a['mainIndex'])return!0x1;for(let _0x3e1de3=0x0;_0x3e1de3<this['ranges']['length'];_0x3e1de3++)if(!this['ranges'][_0x3e1de3]['eq'](_0x14656a['ranges'][_0x3e1de3],_0x9d2ee2))return!0x1;return!0x0;}get['main'](){return this['ranges'][this['mainIndex']];}['asSingle'](){return 0x1==this['ranges']['length']?this:new EditorSelection([this['main']],0x0);}['addRange'](_0x11e405,_0x1975ab=!0x0){return EditorSelection['create']([_0x11e405]['concat'](this['ranges']),_0x1975ab?0x0:this['mainIndex']+0x1);}['replaceRange'](_0x1be4c0,_0x24817b=this['mainIndex']){let _0x400a13=this['ranges']['slice']();return _0x400a13[_0x24817b]=_0x1be4c0,EditorSelection['create'](_0x400a13,this['mainIndex']);}['toJSON'](){return{'ranges':this['ranges']['map'](_0x5d89e2=>_0x5d89e2['toJSON']()),'main':this['mainIndex']};}static['fromJSON'](_0x1b8262){if(!_0x1b8262||!Array['isArray'](_0x1b8262['ranges'])||'number'!=typeof _0x1b8262['main']||_0x1b8262['main']>=_0x1b8262['ranges']['length'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorSelection');return new EditorSelection(_0x1b8262['ranges']['map'](_0x3b7a3a=>SelectionRange['fromJSON'](_0x3b7a3a)),_0x1b8262['main']);}static['single'](_0x38e944,_0x382ab5=_0x38e944){return new EditorSelection([EditorSelection['range'](_0x38e944,_0x382ab5)],0x0);}static['create'](_0x17633e,_0x4177e0=0x0){if(0x0==_0x17633e['length'])throw new RangeError('A\x20selection\x20needs\x20at\x20least\x20one\x20range');for(let _0x43ad12=0x0,_0x440fc=0x0;_0x440fc<_0x17633e['length'];_0x440fc++){let _0x3b902e=_0x17633e[_0x440fc];if(_0x3b902e['empty']?_0x3b902e['from']<=_0x43ad12:_0x3b902e['from']<_0x43ad12)return EditorSelection['normalized'](_0x17633e['slice'](),_0x4177e0);_0x43ad12=_0x3b902e['to'];}return new EditorSelection(_0x17633e,_0x4177e0);}static['cursor'](_0x3c65e9,_0x3aa1c0=0x0,_0x22c8d8,_0x25c644){return SelectionRange['create'](_0x3c65e9,_0x3c65e9,(0x0==_0x3aa1c0?0x0:_0x3aa1c0<0x0?0x8:0x10)|(null==_0x22c8d8?0x7:Math['min'](0x6,_0x22c8d8))|(null!=_0x25c644?_0x25c644:0xffffff)<<0x6);}static['range'](_0x271444,_0x3156f7,_0x46555f,_0x240682){let _0x2aa022=(null!=_0x46555f?_0x46555f:0xffffff)<<0x6|(null==_0x240682?0x7:Math['min'](0x6,_0x240682));return _0x3156f7<_0x271444?SelectionRange['create'](_0x3156f7,_0x271444,0x30|_0x2aa022):SelectionRange['create'](_0x271444,_0x3156f7,(_0x3156f7>_0x271444?0x8:0x0)|_0x2aa022);}static['normalized'](_0x1657e5,_0x1a0b79=0x0){let _0x3cfc2=_0x1657e5[_0x1a0b79];_0x1657e5['sort']((_0x546eb3,_0x1acbef)=>_0x546eb3['from']-_0x1acbef['from']),_0x1a0b79=_0x1657e5['indexOf'](_0x3cfc2);for(let _0x5e34ab=0x1;_0x5e34ab<_0x1657e5['length'];_0x5e34ab++){let _0x3e766c=_0x1657e5[_0x5e34ab],_0x1d5636=_0x1657e5[_0x5e34ab-0x1];if(_0x3e766c['empty']?_0x3e766c['from']<=_0x1d5636['to']:_0x3e766c['from']<_0x1d5636['to']){let _0x52939a=_0x1d5636['from'],_0x349c32=Math['max'](_0x3e766c['to'],_0x1d5636['to']);_0x5e34ab<=_0x1a0b79&&_0x1a0b79--,_0x1657e5['splice'](--_0x5e34ab,0x2,_0x3e766c['anchor']>_0x3e766c['head']?EditorSelection['range'](_0x349c32,_0x52939a):EditorSelection['range'](_0x52939a,_0x349c32));}}return new EditorSelection(_0x1657e5,_0x1a0b79);}}function checkSelection(_0x1d055d,_0x579fb6){for(let _0x56083d of _0x1d055d['ranges'])if(_0x56083d['to']>_0x579fb6)throw new RangeError('Selection\x20points\x20outside\x20of\x20document');}let nextID=0x0;class Facet{constructor(_0x5df5bb,_0x1b286e,_0x389580,_0x2cce0c,_0x4b8dfd){this['combine']=_0x5df5bb,this['compareInput']=_0x1b286e,this['compare']=_0x389580,this['isStatic']=_0x2cce0c,this['id']=nextID++,this['default']=_0x5df5bb([]),this['extensions']='function'==typeof _0x4b8dfd?_0x4b8dfd(this):_0x4b8dfd;}get['reader'](){return this;}static['define'](_0x13638d={}){return new Facet(_0x13638d['combine']||(_0x1aecd9=>_0x1aecd9),_0x13638d['compareInput']||((_0x2b3d07,_0x2c0a4f)=>_0x2b3d07===_0x2c0a4f),_0x13638d['compare']||(_0x13638d['combine']?(_0x367227,_0x509051)=>_0x367227===_0x509051:_0x12931e),!!_0x13638d['static'],_0x13638d['enables']);}['of'](_0xc33d34){return new FacetProvider([],this,0x0,_0xc33d34);}['compute'](_0x4c9c57,_0x2a84a8){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new FacetProvider(_0x4c9c57,this,0x1,_0x2a84a8);}['computeN'](_0x1a796a,_0x559bda){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new FacetProvider(_0x1a796a,this,0x2,_0x559bda);}['from'](_0x16d014,_0x239803){return _0x239803||(_0x239803=_0x59f41d=>_0x59f41d),this['compute']([_0x16d014],_0x5df816=>_0x239803(_0x5df816['field'](_0x16d014)));}}function _0x12931e(_0x3472d4,_0x594cc2){return _0x3472d4==_0x594cc2||_0x3472d4['length']==_0x594cc2['length']&&_0x3472d4['every']((_0x16277b,_0x598d67)=>_0x16277b===_0x594cc2[_0x598d67]);}class FacetProvider{constructor(_0x43cdf9,_0x13b7e8,_0x5ebe37,_0x5290e8){this['dependencies']=_0x43cdf9,this['facet']=_0x13b7e8,this['type']=_0x5ebe37,this['value']=_0x5290e8,this['id']=nextID++;}['dynamicSlot'](_0x3d5446){var _0x35f770;let _0x266944=this['value'],_0x47b5b7=this['facet']['compareInput'],_0x15f8d9=this['id'],_0x2a5c0d=_0x3d5446[_0x15f8d9]>>0x1,_0x593944=0x2==this['type'],_0x25c15d=!0x1,_0x241954=!0x1,_0x495c26=[];for(let _0x11c2de of this['dependencies'])'doc'==_0x11c2de?_0x25c15d=!0x0:'selection'==_0x11c2de?_0x241954=!0x0:0x1&(null!==(_0x35f770=_0x3d5446[_0x11c2de['id']])&&void 0x0!==_0x35f770?_0x35f770:0x1)||_0x495c26['push'](_0x3d5446[_0x11c2de['id']]);return{'create':_0x513e07=>(_0x513e07['values'][_0x2a5c0d]=_0x266944(_0x513e07),0x1),'update'(_0x509426,_0x4cc2e3){if(_0x25c15d&&_0x4cc2e3['docChanged']||_0x241954&&(_0x4cc2e3['docChanged']||_0x4cc2e3['selection'])||_0x239ff7(_0x509426,_0x495c26)){let _0x17c167=_0x266944(_0x509426);if(_0x593944?!_0x174495(_0x17c167,_0x509426['values'][_0x2a5c0d],_0x47b5b7):!_0x47b5b7(_0x17c167,_0x509426['values'][_0x2a5c0d]))return _0x509426['values'][_0x2a5c0d]=_0x17c167,0x1;}return 0x0;},'reconfigure':(_0x3cd97b,_0xe85f16)=>{let _0x5d1bf4,_0x1ee8c1=_0xe85f16['config']['address'][_0x15f8d9];if(null!=_0x1ee8c1){let _0x4aaff2=getAddr(_0xe85f16,_0x1ee8c1);if(this['dependencies']['every'](_0x45a53f=>_0x45a53f instanceof Facet?_0xe85f16['facet'](_0x45a53f)===_0x3cd97b['facet'](_0x45a53f):!(_0x45a53f instanceof StateField)||_0xe85f16['field'](_0x45a53f,!0x1)==_0x3cd97b['field'](_0x45a53f,!0x1))||(_0x593944?_0x174495(_0x5d1bf4=_0x266944(_0x3cd97b),_0x4aaff2,_0x47b5b7):_0x47b5b7(_0x5d1bf4=_0x266944(_0x3cd97b),_0x4aaff2)))return _0x3cd97b['values'][_0x2a5c0d]=_0x4aaff2,0x0;}else _0x5d1bf4=_0x266944(_0x3cd97b);return _0x3cd97b['values'][_0x2a5c0d]=_0x5d1bf4,0x1;}};}}function _0x174495(_0x41b565,_0x2b598e,_0x30bb67){if(_0x41b565['length']!=_0x2b598e['length'])return!0x1;for(let _0x4525e3=0x0;_0x4525e3<_0x41b565['length'];_0x4525e3++)if(!_0x30bb67(_0x41b565[_0x4525e3],_0x2b598e[_0x4525e3]))return!0x1;return!0x0;}function _0x239ff7(_0x3d2136,_0x570ddd){let _0x201d6e=!0x1;for(let _0x1500fb of _0x570ddd)0x1&_0x32b09f(_0x3d2136,_0x1500fb)&&(_0x201d6e=!0x0);return _0x201d6e;}function dynamicFacetSlot(_0xa782cd,_0x3cc170,_0x19f1e8){let _0x114131=_0x19f1e8['map'](_0x4b28da=>_0xa782cd[_0x4b28da['id']]),_0x3df02f=_0x19f1e8['map'](_0x116037=>_0x116037['type']),_0x171f0e=_0x114131['filter'](_0x2e85a3=>!(0x1&_0x2e85a3)),_0x3fe703=_0xa782cd[_0x3cc170['id']]>>0x1;function _0x2e7226(_0x3fd1b7){let _0x4a49bb=[];for(let _0x19c9b9=0x0;_0x19c9b9<_0x114131['length'];_0x19c9b9++){let _0x317b26=getAddr(_0x3fd1b7,_0x114131[_0x19c9b9]);if(0x2==_0x3df02f[_0x19c9b9]){for(let _0x4675 of _0x317b26)_0x4a49bb['push'](_0x4675);}else _0x4a49bb['push'](_0x317b26);}return _0x3cc170['combine'](_0x4a49bb);}return{'create'(_0x2b3382){for(let _0x1e72ee of _0x114131)_0x32b09f(_0x2b3382,_0x1e72ee);return _0x2b3382['values'][_0x3fe703]=_0x2e7226(_0x2b3382),0x1;},'update'(_0x212ae7,_0x545446){if(!_0x239ff7(_0x212ae7,_0x171f0e))return 0x0;let _0x150448=_0x2e7226(_0x212ae7);return _0x3cc170['compare'](_0x150448,_0x212ae7['values'][_0x3fe703])?0x0:(_0x212ae7['values'][_0x3fe703]=_0x150448,0x1);},'reconfigure'(_0x311663,_0x14d883){let _0x28561d=_0x239ff7(_0x311663,_0x114131),_0x5609ed=_0x14d883['config']['facets'][_0x3cc170['id']],_0xace85a=_0x14d883['facet'](_0x3cc170);if(_0x5609ed&&!_0x28561d&&_0x12931e(_0x19f1e8,_0x5609ed))return _0x311663['values'][_0x3fe703]=_0xace85a,0x0;let _0xd00e04=_0x2e7226(_0x311663);return _0x3cc170['compare'](_0xd00e04,_0xace85a)?(_0x311663['values'][_0x3fe703]=_0xace85a,0x0):(_0x311663['values'][_0x3fe703]=_0xd00e04,0x1);}};}const initField=Facet['define']({'static':!0x0});class StateField{constructor(_0x4f343a,_0x468fd2,_0xd7fa0e,_0x5647e1,_0x4af029){this['id']=_0x4f343a,this['createF']=_0x468fd2,this['updateF']=_0xd7fa0e,this['compareF']=_0x5647e1,this['spec']=_0x4af029,this['provides']=void 0x0;}static['define'](_0x2150ef){let _0x367bf6=new StateField(nextID++,_0x2150ef['create'],_0x2150ef['update'],_0x2150ef['compare']||((_0xf6b5d9,_0x20e53a)=>_0xf6b5d9===_0x20e53a),_0x2150ef);return _0x2150ef['provide']&&(_0x367bf6['provides']=_0x2150ef['provide'](_0x367bf6)),_0x367bf6;}['create'](_0x2f0a4e){let _0x253805=_0x2f0a4e['facet'](initField)['find'](_0x4419ff=>_0x4419ff['field']==this);return((null==_0x253805?void 0x0:_0x253805['create'])||this['createF'])(_0x2f0a4e);}['slot'](_0x34c068){let _0xf287b6=_0x34c068[this['id']]>>0x1;return{'create':_0x5f56b9=>(_0x5f56b9['values'][_0xf287b6]=this['create'](_0x5f56b9),0x1),'update':(_0x22c93d,_0x136436)=>{let _0x794252=_0x22c93d['values'][_0xf287b6],_0x16514d=this['updateF'](_0x794252,_0x136436);return this['compareF'](_0x794252,_0x16514d)?0x0:(_0x22c93d['values'][_0xf287b6]=_0x16514d,0x1);},'reconfigure':(_0x1541fb,_0x3b23e2)=>{let _0x443362,_0x369742=_0x1541fb['facet'](initField),_0x41284d=_0x3b23e2['facet'](initField);return(_0x443362=_0x369742['find'](_0x183d42=>_0x183d42['field']==this))&&_0x443362!=_0x41284d['find'](_0x2b19c4=>_0x2b19c4['field']==this)?(_0x1541fb['values'][_0xf287b6]=_0x443362['create'](_0x1541fb),0x1):null!=_0x3b23e2['config']['address'][this['id']]?(_0x1541fb['values'][_0xf287b6]=_0x3b23e2['field'](this),0x0):(_0x1541fb['values'][_0xf287b6]=this['create'](_0x1541fb),0x1);}};}['init'](_0x17a204){return[this,initField['of']({'field':this,'create':_0x17a204})];}get['extension'](){return this;}}const _0x1199a6={'lowest':0x4,'low':0x3,'default':0x2,'high':0x1,'highest':0x0};function _0x252880(_0x398bee){return _0x464837=>new PrecExtension(_0x464837,_0x398bee);}const _0x330a03={'highest':_0x252880(_0x1199a6['highest']),'high':_0x252880(_0x1199a6['high']),'default':_0x252880(_0x1199a6['default']),'low':_0x252880(_0x1199a6['low']),'lowest':_0x252880(_0x1199a6['lowest'])};class PrecExtension{constructor(_0x55571f,_0x3ec11f){this['inner']=_0x55571f,this['prec']=_0x3ec11f;}}class Compartment{['of'](_0x2cbbfb){return new CompartmentInstance(this,_0x2cbbfb);}['reconfigure'](_0x3928f5){return Compartment['reconfigure']['of']({'compartment':this,'extension':_0x3928f5});}['get'](_0x55651a){return _0x55651a['config']['compartments']['get'](this);}}class CompartmentInstance{constructor(_0x171b8a,_0x367804){this['compartment']=_0x171b8a,this['inner']=_0x367804;}}class Configuration{constructor(_0xd387e6,_0x2a6331,_0x2d2fe5,_0x4d8486,_0x18f092,_0x4b1caa){for(this['base']=_0xd387e6,this['compartments']=_0x2a6331,this['dynamicSlots']=_0x2d2fe5,this['address']=_0x4d8486,this['staticValues']=_0x18f092,this['facets']=_0x4b1caa,this['statusTemplate']=[];this['statusTemplate']['length']<_0x2d2fe5['length'];)this['statusTemplate']['push'](0x0);}['staticFacet'](_0x10f131){let _0x17d6d3=this['address'][_0x10f131['id']];return null==_0x17d6d3?_0x10f131['default']:this['staticValues'][_0x17d6d3>>0x1];}static['resolve'](_0x33b8a4,_0x3a924d,_0x2f8b7b){let _0x28fce3=[],_0x1654f0=Object['create'](null),_0xc03801=new Map();for(let _0x164d6d of flatten(_0x33b8a4,_0x3a924d,_0xc03801))_0x164d6d instanceof StateField?_0x28fce3['push'](_0x164d6d):(_0x1654f0[_0x164d6d['facet']['id']]||(_0x1654f0[_0x164d6d['facet']['id']]=[]))['push'](_0x164d6d);let _0x53f92a=Object['create'](null),_0x45be00=[],_0x4f0641=[];for(let _0x392464 of _0x28fce3)_0x53f92a[_0x392464['id']]=_0x4f0641['length']<<0x1,_0x4f0641['push'](_0x5b4e87=>_0x392464['slot'](_0x5b4e87));let _0x2e9a08=null==_0x2f8b7b?void 0x0:_0x2f8b7b['config']['facets'];for(let _0x3a118b in _0x1654f0){let _0x4f6338=_0x1654f0[_0x3a118b],_0x33f73a=_0x4f6338[0x0]['facet'],_0x2f6e8a=_0x2e9a08&&_0x2e9a08[_0x3a118b]||[];if(_0x4f6338['every'](_0x5a51dc=>0x0==_0x5a51dc['type'])){if(_0x53f92a[_0x33f73a['id']]=_0x45be00['length']<<0x1|0x1,_0x12931e(_0x2f6e8a,_0x4f6338))_0x45be00['push'](_0x2f8b7b['facet'](_0x33f73a));else{let _0x4f7e19=_0x33f73a['combine'](_0x4f6338['map'](_0xfaf570=>_0xfaf570['value']));_0x45be00['push'](_0x2f8b7b&&_0x33f73a['compare'](_0x4f7e19,_0x2f8b7b['facet'](_0x33f73a))?_0x2f8b7b['facet'](_0x33f73a):_0x4f7e19);}}else{for(let _0x19a536 of _0x4f6338)0x0==_0x19a536['type']?(_0x53f92a[_0x19a536['id']]=_0x45be00['length']<<0x1|0x1,_0x45be00['push'](_0x19a536['value'])):(_0x53f92a[_0x19a536['id']]=_0x4f0641['length']<<0x1,_0x4f0641['push'](_0x13f58d=>_0x19a536['dynamicSlot'](_0x13f58d)));_0x53f92a[_0x33f73a['id']]=_0x4f0641['length']<<0x1,_0x4f0641['push'](_0x40338e=>dynamicFacetSlot(_0x40338e,_0x33f73a,_0x4f6338));}}let _0x4396f5=_0x4f0641['map'](_0x3cbd0f=>_0x3cbd0f(_0x53f92a));return new Configuration(_0x33b8a4,_0xc03801,_0x4396f5,_0x53f92a,_0x45be00,_0x1654f0);}}function flatten(_0x1de79f,_0x339a90,_0xb601ae){let _0xf2d337=[[],[],[],[],[]],_0xd07288=new Map();return function _0x5dcb5c(_0x499247,_0x160051){let _0x4c3abd=_0xd07288['get'](_0x499247);if(null!=_0x4c3abd){if(_0x4c3abd<=_0x160051)return;let _0x1a46fa=_0xf2d337[_0x4c3abd]['indexOf'](_0x499247);_0x1a46fa>-0x1&&_0xf2d337[_0x4c3abd]['splice'](_0x1a46fa,0x1),_0x499247 instanceof CompartmentInstance&&_0xb601ae['delete'](_0x499247['compartment']);}if(_0xd07288['set'](_0x499247,_0x160051),Array['isArray'](_0x499247)){for(let _0x1d3d9e of _0x499247)_0x5dcb5c(_0x1d3d9e,_0x160051);}else{if(_0x499247 instanceof CompartmentInstance){if(_0xb601ae['has'](_0x499247['compartment']))throw new RangeError('Duplicate\x20use\x20of\x20compartment\x20in\x20extensions');let _0x427cb2=_0x339a90['get'](_0x499247['compartment'])||_0x499247['inner'];_0xb601ae['set'](_0x499247['compartment'],_0x427cb2),_0x5dcb5c(_0x427cb2,_0x160051);}else{if(_0x499247 instanceof PrecExtension)_0x5dcb5c(_0x499247['inner'],_0x499247['prec']);else{if(_0x499247 instanceof StateField)_0xf2d337[_0x160051]['push'](_0x499247),_0x499247['provides']&&_0x5dcb5c(_0x499247['provides'],_0x160051);else{if(_0x499247 instanceof FacetProvider)_0xf2d337[_0x160051]['push'](_0x499247),_0x499247['facet']['extensions']&&_0x5dcb5c(_0x499247['facet']['extensions'],_0x1199a6['default']);else{let _0x1679c9=_0x499247['extension'];if(!_0x1679c9)throw new Error('Unrecognized\x20extension\x20value\x20in\x20extension\x20set\x20('+_0x499247+').\x20This\x20sometimes\x20happens\x20because\x20multiple\x20instances\x20of\x20@codemirror/state\x20are\x20loaded,\x20breaking\x20instanceof\x20checks.');_0x5dcb5c(_0x1679c9,_0x160051);}}}}}}(_0x1de79f,_0x1199a6['default']),_0xf2d337['reduce']((_0x2f7a4f,_0x4879dc)=>_0x2f7a4f['concat'](_0x4879dc));}function _0x32b09f(_0x1d9000,_0xbf3129){if(0x1&_0xbf3129)return 0x2;let _0x286625=_0xbf3129>>0x1,_0x2df8fe=_0x1d9000['status'][_0x286625];if(0x4==_0x2df8fe)throw new Error('Cyclic\x20dependency\x20between\x20fields\x20and/or\x20facets');if(0x2&_0x2df8fe)return _0x2df8fe;_0x1d9000['status'][_0x286625]=0x4;let _0x19572b=_0x1d9000['computeSlot'](_0x1d9000,_0x1d9000['config']['dynamicSlots'][_0x286625]);return _0x1d9000['status'][_0x286625]=0x2|_0x19572b;}function getAddr(_0x388162,_0x40b782){return 0x1&_0x40b782?_0x388162['config']['staticValues'][_0x40b782>>0x1]:_0x388162['values'][_0x40b782>>0x1];}const languageData=Facet['define'](),allowMultipleSelections=Facet['define']({'combine':_0x2d4377=>_0x2d4377['some'](_0x4a1a9d=>_0x4a1a9d),'static':!0x0}),lineSeparator=Facet['define']({'combine':_0x3cfda8=>_0x3cfda8['length']?_0x3cfda8[0x0]:void 0x0,'static':!0x0}),changeFilter=Facet['define'](),transactionFilter=Facet['define'](),transactionExtender=Facet['define'](),_0x1c0fd1=Facet['define']({'combine':_0xee6802=>!!_0xee6802['length']&&_0xee6802[0x0]});class Annotation{constructor(_0x56196c,_0x1629fc){this['type']=_0x56196c,this['value']=_0x1629fc;}static['define'](){return new AnnotationType();}}class AnnotationType{['of'](_0x49f785){return new Annotation(this,_0x49f785);}}class StateEffectType{constructor(_0x1c83e2){this['map']=_0x1c83e2;}['of'](_0x2910fb){return new StateEffect(this,_0x2910fb);}}class StateEffect{constructor(_0x2cd1cc,_0x291649){this['type']=_0x2cd1cc,this['value']=_0x291649;}['map'](_0x4a772e){let _0xcb0949=this['type']['map'](this['value'],_0x4a772e);return void 0x0===_0xcb0949?void 0x0:_0xcb0949==this['value']?this:new StateEffect(this['type'],_0xcb0949);}['is'](_0x1b7dcf){return this['type']==_0x1b7dcf;}static['define'](_0x542fa2={}){return new StateEffectType(_0x542fa2['map']||(_0xdaa7d1=>_0xdaa7d1));}static['mapEffects'](_0x1a7d18,_0x46fe9b){if(!_0x1a7d18['length'])return _0x1a7d18;let _0x3783aa=[];for(let _0x25c4a1 of _0x1a7d18){let _0x5217d6=_0x25c4a1['map'](_0x46fe9b);_0x5217d6&&_0x3783aa['push'](_0x5217d6);}return _0x3783aa;}}StateEffect['reconfigure']=StateEffect['define'](),StateEffect['appendConfig']=StateEffect['define']();class Transaction{constructor(_0x2c692e,_0x2bba93,_0x12b60d,_0x64071b,_0x30cde7,_0x433916){this['startState']=_0x2c692e,this['changes']=_0x2bba93,this['selection']=_0x12b60d,this['effects']=_0x64071b,this['annotations']=_0x30cde7,this['scrollIntoView']=_0x433916,this['_doc']=null,this['_state']=null,_0x12b60d&&checkSelection(_0x12b60d,_0x2bba93['newLength']),_0x30cde7['some'](_0x4cc919=>_0x4cc919['type']==Transaction['time'])||(this['annotations']=_0x30cde7['concat'](Transaction['time']['of'](Date['now']())));}static['create'](_0x5b27e1,_0x1abf40,_0x118031,_0x3067a9,_0x52bd4d,_0x57b895){return new Transaction(_0x5b27e1,_0x1abf40,_0x118031,_0x3067a9,_0x52bd4d,_0x57b895);}get['newDoc'](){return this['_doc']||(this['_doc']=this['changes']['apply'](this['startState']['doc']));}get['newSelection'](){return this['selection']||this['startState']['selection']['map'](this['changes']);}get['state'](){return this['_state']||this['startState']['applyTransaction'](this),this['_state'];}['annotation'](_0x49f2ba){for(let _0x398ef4 of this['annotations'])if(_0x398ef4['type']==_0x49f2ba)return _0x398ef4['value'];}get['docChanged'](){return!this['changes']['empty'];}get['reconfigured'](){return this['startState']['config']!=this['state']['config'];}['isUserEvent'](_0x1829d8){let _0x2aab09=this['annotation'](Transaction['userEvent']);return!(!_0x2aab09||!(_0x2aab09==_0x1829d8||_0x2aab09['length']>_0x1829d8['length']&&_0x2aab09['slice'](0x0,_0x1829d8['length'])==_0x1829d8&&'.'==_0x2aab09[_0x1829d8['length']]));}}function _0x17fdae(_0x36d119,_0x364f00){let _0x7cdc1e=[];for(let _0x1305ae=0x0,_0x26d049=0x0;;){let _0x4ed015,_0x3201b7;if(_0x1305ae<_0x36d119['length']&&(_0x26d049==_0x364f00['length']||_0x364f00[_0x26d049]>=_0x36d119[_0x1305ae]))_0x4ed015=_0x36d119[_0x1305ae++],_0x3201b7=_0x36d119[_0x1305ae++];else{if(!(_0x26d049<_0x364f00['length']))return _0x7cdc1e;_0x4ed015=_0x364f00[_0x26d049++],_0x3201b7=_0x364f00[_0x26d049++];}!_0x7cdc1e['length']||_0x7cdc1e[_0x7cdc1e['length']-0x1]<_0x4ed015?_0x7cdc1e['push'](_0x4ed015,_0x3201b7):_0x7cdc1e[_0x7cdc1e['length']-0x1]<_0x3201b7&&(_0x7cdc1e[_0x7cdc1e['length']-0x1]=_0x3201b7);}}function mergeTransaction(_0x57211f,_0x515948,_0x3bbcfb){var _0x1357e6;let _0x5e581a,_0x499901,_0x4a7c8c;return _0x3bbcfb?(_0x5e581a=_0x515948['changes'],_0x499901=ChangeSet['empty'](_0x515948['changes']['length']),_0x4a7c8c=_0x57211f['changes']['compose'](_0x515948['changes'])):(_0x5e581a=_0x515948['changes']['map'](_0x57211f['changes']),_0x499901=_0x57211f['changes']['mapDesc'](_0x515948['changes'],!0x0),_0x4a7c8c=_0x57211f['changes']['compose'](_0x5e581a)),{'changes':_0x4a7c8c,'selection':_0x515948['selection']?_0x515948['selection']['map'](_0x499901):null===(_0x1357e6=_0x57211f['selection'])||void 0x0===_0x1357e6?void 0x0:_0x1357e6['map'](_0x5e581a),'effects':StateEffect['mapEffects'](_0x57211f['effects'],_0x5e581a)['concat'](StateEffect['mapEffects'](_0x515948['effects'],_0x499901)),'annotations':_0x57211f['annotations']['length']?_0x57211f['annotations']['concat'](_0x515948['annotations']):_0x515948['annotations'],'scrollIntoView':_0x57211f['scrollIntoView']||_0x515948['scrollIntoView']};}function resolveTransactionInner(_0x2d6721,_0x47d577,_0x216553){let _0x144276=_0x47d577['selection'],_0x5cb408=_0x449a0a(_0x47d577['annotations']);return _0x47d577['userEvent']&&(_0x5cb408=_0x5cb408['concat'](Transaction['userEvent']['of'](_0x47d577['userEvent']))),{'changes':_0x47d577['changes']instanceof ChangeSet?_0x47d577['changes']:ChangeSet['of'](_0x47d577['changes']||[],_0x216553,_0x2d6721['facet'](lineSeparator)),'selection':_0x144276&&(_0x144276 instanceof EditorSelection?_0x144276:EditorSelection['single'](_0x144276['anchor'],_0x144276['head'])),'effects':_0x449a0a(_0x47d577['effects']),'annotations':_0x5cb408,'scrollIntoView':!!_0x47d577['scrollIntoView']};}function resolveTransaction(_0x1bc951,_0x3314d9,_0x4638cb){let _0x16ce4d=resolveTransactionInner(_0x1bc951,_0x3314d9['length']?_0x3314d9[0x0]:{},_0x1bc951['doc']['length']);_0x3314d9['length']&&!0x1===_0x3314d9[0x0]['filter']&&(_0x4638cb=!0x1);for(let _0x596594=0x1;_0x596594<_0x3314d9['length'];_0x596594++){!0x1===_0x3314d9[_0x596594]['filter']&&(_0x4638cb=!0x1);let _0x31f166=!!_0x3314d9[_0x596594]['sequential'];_0x16ce4d=mergeTransaction(_0x16ce4d,resolveTransactionInner(_0x1bc951,_0x3314d9[_0x596594],_0x31f166?_0x16ce4d['changes']['newLength']:_0x1bc951['doc']['length']),_0x31f166);}let _0x41fbe8=Transaction['create'](_0x1bc951,_0x16ce4d['changes'],_0x16ce4d['selection'],_0x16ce4d['effects'],_0x16ce4d['annotations'],_0x16ce4d['scrollIntoView']);return extendTransaction(_0x4638cb?filterTransaction(_0x41fbe8):_0x41fbe8);}function filterTransaction(_0xb55fb2){let _0x1664bc=_0xb55fb2['startState'],_0x3fcdee=!0x0;for(let _0x27f36e of _0x1664bc['facet'](changeFilter)){let _0x3dbf66=_0x27f36e(_0xb55fb2);if(!0x1===_0x3dbf66){_0x3fcdee=!0x1;break;}Array['isArray'](_0x3dbf66)&&(_0x3fcdee=!0x0===_0x3fcdee?_0x3dbf66:_0x17fdae(_0x3fcdee,_0x3dbf66));}if(!0x0!==_0x3fcdee){let _0xb0ac73,_0x1cb364;if(!0x1===_0x3fcdee)_0x1cb364=_0xb55fb2['changes']['invertedDesc'],_0xb0ac73=ChangeSet['empty'](_0x1664bc['doc']['length']);else{let _0x5f1596=_0xb55fb2['changes']['filter'](_0x3fcdee);_0xb0ac73=_0x5f1596['changes'],_0x1cb364=_0x5f1596['filtered']['mapDesc'](_0x5f1596['changes'])['invertedDesc'];}_0xb55fb2=Transaction['create'](_0x1664bc,_0xb0ac73,_0xb55fb2['selection']&&_0xb55fb2['selection']['map'](_0x1cb364),StateEffect['mapEffects'](_0xb55fb2['effects'],_0x1cb364),_0xb55fb2['annotations'],_0xb55fb2['scrollIntoView']);}let _0x57a3d3=_0x1664bc['facet'](transactionFilter);for(let _0x24726c=_0x57a3d3['length']-0x1;_0x24726c>=0x0;_0x24726c--){let _0x56fd63=_0x57a3d3[_0x24726c](_0xb55fb2);_0xb55fb2=_0x56fd63 instanceof Transaction?_0x56fd63:Array['isArray'](_0x56fd63)&&0x1==_0x56fd63['length']&&_0x56fd63[0x0]instanceof Transaction?_0x56fd63[0x0]:resolveTransaction(_0x1664bc,_0x449a0a(_0x56fd63),!0x1);}return _0xb55fb2;}function extendTransaction(_0x42ce2f){let _0x4736fb=_0x42ce2f['startState'],_0x561359=_0x4736fb['facet'](transactionExtender),_0x234d30=_0x42ce2f;for(let _0x15e854=_0x561359['length']-0x1;_0x15e854>=0x0;_0x15e854--){let _0x4d603e=_0x561359[_0x15e854](_0x42ce2f);_0x4d603e&&Object['keys'](_0x4d603e)['length']&&(_0x234d30=mergeTransaction(_0x234d30,resolveTransactionInner(_0x4736fb,_0x4d603e,_0x42ce2f['changes']['newLength']),!0x0));}return _0x234d30==_0x42ce2f?_0x42ce2f:Transaction['create'](_0x4736fb,_0x42ce2f['changes'],_0x42ce2f['selection'],_0x234d30['effects'],_0x234d30['annotations'],_0x234d30['scrollIntoView']);}Transaction['time']=Annotation['define'](),Transaction['userEvent']=Annotation['define'](),Transaction['addToHistory']=Annotation['define'](),Transaction['remote']=Annotation['define']();const _0x3af50a=[];function _0x449a0a(_0x1b4d60){return null==_0x1b4d60?_0x3af50a:Array['isArray'](_0x1b4d60)?_0x1b4d60:[_0x1b4d60];}var CharCategory=function(_0x495388){return _0x495388[_0x495388['Word']=0x0]='Word',_0x495388[_0x495388['Space']=0x1]='Space',_0x495388[_0x495388['Other']=0x2]='Other',_0x495388;}(CharCategory||(CharCategory={}));const _0x4d8686=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let _0x7ce690;try{_0x7ce690=new RegExp('[\x5cp{Alphabetic}\x5cp{Number}_]','u');}catch(_0xd9f286){}function _0x224a18(_0x3747de){if(_0x7ce690)return _0x7ce690['test'](_0x3747de);for(let _0x468fcc=0x0;_0x468fcc<_0x3747de['length'];_0x468fcc++){let _0x4c616d=_0x3747de[_0x468fcc];if(/\w/['test'](_0x4c616d)||_0x4c616d>'\u0080'&&(_0x4c616d['toUpperCase']()!=_0x4c616d['toLowerCase']()||_0x4d8686['test'](_0x4c616d)))return!0x0;}return!0x1;}function makeCategorizer(_0x985dbd){return _0x279a5d=>{if(!/\S/['test'](_0x279a5d))return CharCategory['Space'];if(_0x224a18(_0x279a5d))return CharCategory['Word'];for(let _0x2ca09d=0x0;_0x2ca09d<_0x985dbd['length'];_0x2ca09d++)if(_0x279a5d['indexOf'](_0x985dbd[_0x2ca09d])>-0x1)return CharCategory['Word'];return CharCategory['Other'];};}class EditorState{constructor(_0x2a32e2,_0x54beef,_0x32f99c,_0x480954,_0x50a19a,_0x577a7d){this['config']=_0x2a32e2,this['doc']=_0x54beef,this['selection']=_0x32f99c,this['values']=_0x480954,this['status']=_0x2a32e2['statusTemplate']['slice'](),this['computeSlot']=_0x50a19a,_0x577a7d&&(_0x577a7d['_state']=this);for(let _0x9d6305=0x0;_0x9d6305<this['config']['dynamicSlots']['length'];_0x9d6305++)_0x32b09f(this,_0x9d6305<<0x1);this['computeSlot']=null;}['field'](_0x5093d0,_0x1dcb7a=!0x0){let _0x36f2eb=this['config']['address'][_0x5093d0['id']];if(null!=_0x36f2eb)return _0x32b09f(this,_0x36f2eb),getAddr(this,_0x36f2eb);if(_0x1dcb7a)throw new RangeError('Field\x20is\x20not\x20present\x20in\x20this\x20state');}['update'](..._0x3f9716){return resolveTransaction(this,_0x3f9716,!0x0);}['applyTransaction'](_0x759e64){let _0x5dfd94,_0x39c900=this['config'],{base:_0x33cc50,compartments:_0x38eae2}=_0x39c900;for(let _0x31a364 of _0x759e64['effects'])_0x31a364['is'](Compartment['reconfigure'])?(_0x39c900&&(_0x38eae2=new Map(),_0x39c900['compartments']['forEach']((_0x31898e,_0x4c5806)=>_0x38eae2['set'](_0x4c5806,_0x31898e)),_0x39c900=null),_0x38eae2['set'](_0x31a364['value']['compartment'],_0x31a364['value']['extension'])):_0x31a364['is'](StateEffect['reconfigure'])?(_0x39c900=null,_0x33cc50=_0x31a364['value']):_0x31a364['is'](StateEffect['appendConfig'])&&(_0x39c900=null,_0x33cc50=_0x449a0a(_0x33cc50)['concat'](_0x31a364['value']));if(_0x39c900)_0x5dfd94=_0x759e64['startState']['values']['slice']();else _0x39c900=Configuration['resolve'](_0x33cc50,_0x38eae2,this),_0x5dfd94=new EditorState(_0x39c900,this['doc'],this['selection'],_0x39c900['dynamicSlots']['map'](()=>null),(_0x68bf89,_0x4d6f5f)=>_0x4d6f5f['reconfigure'](_0x68bf89,this),null)['values'];let _0x44a021=_0x759e64['startState']['facet'](allowMultipleSelections)?_0x759e64['newSelection']:_0x759e64['newSelection']['asSingle']();new EditorState(_0x39c900,_0x759e64['newDoc'],_0x44a021,_0x5dfd94,(_0xb5047,_0x3094cf)=>_0x3094cf['update'](_0xb5047,_0x759e64),_0x759e64);}['replaceSelection'](_0x33b35c){return'string'==typeof _0x33b35c&&(_0x33b35c=this['toText'](_0x33b35c)),this['changeByRange'](_0x507732=>({'changes':{'from':_0x507732['from'],'to':_0x507732['to'],'insert':_0x33b35c},'range':EditorSelection['cursor'](_0x507732['from']+_0x33b35c['length'])}));}['changeByRange'](_0x2491f3){let _0x42d2f0=this['selection'],_0x5ee258=_0x2491f3(_0x42d2f0['ranges'][0x0]),_0xc31766=this['changes'](_0x5ee258['changes']),_0x28539f=[_0x5ee258['range']],_0x3081e0=_0x449a0a(_0x5ee258['effects']);for(let _0x38d8d6=0x1;_0x38d8d6<_0x42d2f0['ranges']['length'];_0x38d8d6++){let _0x2b4619=_0x2491f3(_0x42d2f0['ranges'][_0x38d8d6]),_0x59b2fc=this['changes'](_0x2b4619['changes']),_0x4ff905=_0x59b2fc['map'](_0xc31766);for(let _0x502968=0x0;_0x502968<_0x38d8d6;_0x502968++)_0x28539f[_0x502968]=_0x28539f[_0x502968]['map'](_0x4ff905);let _0x11f78f=_0xc31766['mapDesc'](_0x59b2fc,!0x0);_0x28539f['push'](_0x2b4619['range']['map'](_0x11f78f)),_0xc31766=_0xc31766['compose'](_0x4ff905),_0x3081e0=StateEffect['mapEffects'](_0x3081e0,_0x4ff905)['concat'](StateEffect['mapEffects'](_0x449a0a(_0x2b4619['effects']),_0x11f78f));}return{'changes':_0xc31766,'selection':EditorSelection['create'](_0x28539f,_0x42d2f0['mainIndex']),'effects':_0x3081e0};}['changes'](_0x28fff4=[]){return _0x28fff4 instanceof ChangeSet?_0x28fff4:ChangeSet['of'](_0x28fff4,this['doc']['length'],this['facet'](EditorState['lineSeparator']));}['toText'](_0x113aee){return Text['of'](_0x113aee['split'](this['facet'](EditorState['lineSeparator'])||DefaultSplit));}['sliceDoc'](_0x1c4741=0x0,_0x560758=this['doc']['length']){return this['doc']['sliceString'](_0x1c4741,_0x560758,this['lineBreak']);}['facet'](_0xeb650a){let _0x275874=this['config']['address'][_0xeb650a['id']];return null==_0x275874?_0xeb650a['default']:(_0x32b09f(this,_0x275874),getAddr(this,_0x275874));}['toJSON'](_0x57487){let _0x47cd52={'doc':this['sliceDoc'](),'selection':this['selection']['toJSON']()};if(_0x57487)for(let _0x17b198 in _0x57487){let _0x547083=_0x57487[_0x17b198];_0x547083 instanceof StateField&&null!=this['config']['address'][_0x547083['id']]&&(_0x47cd52[_0x17b198]=_0x547083['spec']['toJSON'](this['field'](_0x57487[_0x17b198]),this));}return _0x47cd52;}static['fromJSON'](_0x225c86,_0x2f7348={},_0x90dc19){if(!_0x225c86||'string'!=typeof _0x225c86['doc'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorState');let _0x18b767=[];if(_0x90dc19){for(let _0x3f3f31 in _0x90dc19)if(Object['prototype']['hasOwnProperty']['call'](_0x225c86,_0x3f3f31)){let _0x15a46e=_0x90dc19[_0x3f3f31],_0xe958f1=_0x225c86[_0x3f3f31];_0x18b767['push'](_0x15a46e['init'](_0x35120f=>_0x15a46e['spec']['fromJSON'](_0xe958f1,_0x35120f)));}}return EditorState['create']({'doc':_0x225c86['doc'],'selection':EditorSelection['fromJSON'](_0x225c86['selection']),'extensions':_0x2f7348['extensions']?_0x18b767['concat']([_0x2f7348['extensions']]):_0x18b767});}static['create'](_0x562526={}){let _0x3ad6c4=Configuration['resolve'](_0x562526['extensions']||[],new Map()),_0x25b7fb=_0x562526['doc']instanceof Text?_0x562526['doc']:Text['of']((_0x562526['doc']||'')['split'](_0x3ad6c4['staticFacet'](EditorState['lineSeparator'])||DefaultSplit)),_0x33d35d=_0x562526['selection']?_0x562526['selection']instanceof EditorSelection?_0x562526['selection']:EditorSelection['single'](_0x562526['selection']['anchor'],_0x562526['selection']['head']):EditorSelection['single'](0x0);return checkSelection(_0x33d35d,_0x25b7fb['length']),_0x3ad6c4['staticFacet'](allowMultipleSelections)||(_0x33d35d=_0x33d35d['asSingle']()),new EditorState(_0x3ad6c4,_0x25b7fb,_0x33d35d,_0x3ad6c4['dynamicSlots']['map'](()=>null),(_0x44a266,_0x12d993)=>_0x12d993['create'](_0x44a266),null);}get['tabSize'](){return this['facet'](EditorState['tabSize']);}get['lineBreak'](){return this['facet'](EditorState['lineSeparator'])||'\x0a';}get['readOnly'](){return this['facet'](_0x1c0fd1);}['phrase'](_0x5dd383,..._0x2366eb){for(let _0x328987 of this['facet'](EditorState['phrases']))if(Object['prototype']['hasOwnProperty']['call'](_0x328987,_0x5dd383)){_0x5dd383=_0x328987[_0x5dd383];break;}return _0x2366eb['length']&&(_0x5dd383=_0x5dd383['replace'](/\$(\$|\d*)/g,(_0x37586b,_0xbd9de9)=>{if('$'==_0xbd9de9)return'$';let _0x4a81e9=+(_0xbd9de9||0x1);return!_0x4a81e9||_0x4a81e9>_0x2366eb['length']?_0x37586b:_0x2366eb[_0x4a81e9-0x1];})),_0x5dd383;}['languageDataAt'](_0x36ab11,_0xc9446,_0x162336=-0x1){let _0x597c46=[];for(let _0x5d72d1 of this['facet'](languageData))for(let _0x247ee4 of _0x5d72d1(this,_0xc9446,_0x162336))Object['prototype']['hasOwnProperty']['call'](_0x247ee4,_0x36ab11)&&_0x597c46['push'](_0x247ee4[_0x36ab11]);return _0x597c46;}['charCategorizer'](_0x308c51){return makeCategorizer(this['languageDataAt']('wordChars',_0x308c51)['join'](''));}['wordAt'](_0x251a7d){let {text:_0x37606a,from:_0x227478,length:_0x817782}=this['doc']['lineAt'](_0x251a7d),_0x1f2d80=this['charCategorizer'](_0x251a7d),_0xec7722=_0x251a7d-_0x227478,_0x578a1f=_0x251a7d-_0x227478;for(;_0xec7722>0x0;){let _0x3e1ca0=findClusterBreak(_0x37606a,_0xec7722,!0x1);if(_0x1f2d80(_0x37606a['slice'](_0x3e1ca0,_0xec7722))!=CharCategory['Word'])break;_0xec7722=_0x3e1ca0;}for(;_0x578a1f<_0x817782;){let _0x5bf685=findClusterBreak(_0x37606a,_0x578a1f);if(_0x1f2d80(_0x37606a['slice'](_0x578a1f,_0x5bf685))!=CharCategory['Word'])break;_0x578a1f=_0x5bf685;}return _0xec7722==_0x578a1f?null:EditorSelection['range'](_0xec7722+_0x227478,_0x578a1f+_0x227478);}}function _0x44c9ef(_0x294238,_0x1bf6f4,_0x17f29d={}){let _0x5ac9aa={};for(let _0x507abc of _0x294238)for(let _0x3e2509 of Object['keys'](_0x507abc)){let _0x21b672=_0x507abc[_0x3e2509],_0x36aa91=_0x5ac9aa[_0x3e2509];if(void 0x0===_0x36aa91)_0x5ac9aa[_0x3e2509]=_0x21b672;else{if(_0x36aa91===_0x21b672||void 0x0===_0x21b672);else{if(!Object['hasOwnProperty']['call'](_0x17f29d,_0x3e2509))throw new Error('Config\x20merge\x20conflict\x20for\x20field\x20'+_0x3e2509);_0x5ac9aa[_0x3e2509]=_0x17f29d[_0x3e2509](_0x36aa91,_0x21b672);}}}for(let _0x1f9cd3 in _0x1bf6f4)void 0x0===_0x5ac9aa[_0x1f9cd3]&&(_0x5ac9aa[_0x1f9cd3]=_0x1bf6f4[_0x1f9cd3]);return _0x5ac9aa;}EditorState['allowMultipleSelections']=allowMultipleSelections,EditorState['tabSize']=Facet['define']({'combine':_0x281905=>_0x281905['length']?_0x281905[0x0]:0x4}),EditorState['lineSeparator']=lineSeparator,EditorState['readOnly']=_0x1c0fd1,EditorState['phrases']=Facet['define']({'compare'(_0x57b6e7,_0x29e31f){let _0xdd28b5=Object['keys'](_0x57b6e7),_0x7b0bb2=Object['keys'](_0x29e31f);return _0xdd28b5['length']==_0x7b0bb2['length']&&_0xdd28b5['every'](_0x110203=>_0x57b6e7[_0x110203]==_0x29e31f[_0x110203]);}}),EditorState['languageData']=languageData,EditorState['changeFilter']=changeFilter,EditorState['transactionFilter']=transactionFilter,EditorState['transactionExtender']=transactionExtender,Compartment['reconfigure']=StateEffect['define']();class _0x4dfe15{['eq'](_0x2bb963){return this==_0x2bb963;}['range'](_0x415016,_0x3d6bf8=_0x415016){return _0x34ee47['create'](_0x415016,_0x3d6bf8,this);}}_0x4dfe15['prototype']['startSide']=_0x4dfe15['prototype']['endSide']=0x0,_0x4dfe15['prototype']['point']=!0x1,_0x4dfe15['prototype']['mapMode']=_0x38e9e1['TrackDel'];let _0x34ee47=class _0x453b3f{constructor(_0x1c32c0,_0x5da5f1,_0x345404){this['from']=_0x1c32c0,this['to']=_0x5da5f1,this['value']=_0x345404;}static['create'](_0x24ba54,_0x25724a,_0x3a5226){return new _0x453b3f(_0x24ba54,_0x25724a,_0x3a5226);}};function _0x27d725(_0x57c5e0,_0x2680db){return _0x57c5e0['from']-_0x2680db['from']||_0x57c5e0['value']['startSide']-_0x2680db['value']['startSide'];}class _0x3b968d{constructor(_0x2d3081,_0x1eabd5,_0x87d529,_0x77626d){this['from']=_0x2d3081,this['to']=_0x1eabd5,this['value']=_0x87d529,this['maxPoint']=_0x77626d;}get['length'](){return this['to'][this['to']['length']-0x1];}['findIndex'](_0x463e94,_0x4a4508,_0x25cd22,_0x2355a2=0x0){let _0x355085=_0x25cd22?this['to']:this['from'];for(let _0x3ee89d=_0x2355a2,_0x2ac32f=_0x355085['length'];;){if(_0x3ee89d==_0x2ac32f)return _0x3ee89d;let _0x3d00bf=_0x3ee89d+_0x2ac32f>>0x1,_0xa409d7=_0x355085[_0x3d00bf]-_0x463e94||(_0x25cd22?this['value'][_0x3d00bf]['endSide']:this['value'][_0x3d00bf]['startSide'])-_0x4a4508;if(_0x3d00bf==_0x3ee89d)return _0xa409d7>=0x0?_0x3ee89d:_0x2ac32f;_0xa409d7>=0x0?_0x2ac32f=_0x3d00bf:_0x3ee89d=_0x3d00bf+0x1;}}['between'](_0x2dee01,_0x10dd14,_0x243af8,_0x1b7298){for(let _0x4de9d2=this['findIndex'](_0x10dd14,-0x3b9aca00,!0x0),_0x1b2d7b=this['findIndex'](_0x243af8,0x3b9aca00,!0x1,_0x4de9d2);_0x4de9d2<_0x1b2d7b;_0x4de9d2++)if(!0x1===_0x1b7298(this['from'][_0x4de9d2]+_0x2dee01,this['to'][_0x4de9d2]+_0x2dee01,this['value'][_0x4de9d2]))return!0x1;}['map'](_0x16bfbb,_0x1524f5){let _0x2a32ae=[],_0x4e73fa=[],_0x592b12=[],_0x7cec17=-0x1,_0x591613=-0x1;for(let _0x16ef8d=0x0;_0x16ef8d<this['value']['length'];_0x16ef8d++){let _0x41046e,_0x11e3da,_0x8d7b29=this['value'][_0x16ef8d],_0x45375d=this['from'][_0x16ef8d]+_0x16bfbb,_0x222a91=this['to'][_0x16ef8d]+_0x16bfbb;if(_0x45375d==_0x222a91){let _0x4bb8fc=_0x1524f5['mapPos'](_0x45375d,_0x8d7b29['startSide'],_0x8d7b29['mapMode']);if(null==_0x4bb8fc)continue;if(_0x41046e=_0x11e3da=_0x4bb8fc,_0x8d7b29['startSide']!=_0x8d7b29['endSide']&&(_0x11e3da=_0x1524f5['mapPos'](_0x45375d,_0x8d7b29['endSide']),_0x11e3da<_0x41046e))continue;}else{if(_0x41046e=_0x1524f5['mapPos'](_0x45375d,_0x8d7b29['startSide']),_0x11e3da=_0x1524f5['mapPos'](_0x222a91,_0x8d7b29['endSide']),_0x41046e>_0x11e3da||_0x41046e==_0x11e3da&&_0x8d7b29['startSide']>0x0&&_0x8d7b29['endSide']<=0x0)continue;}(_0x11e3da-_0x41046e||_0x8d7b29['endSide']-_0x8d7b29['startSide'])<0x0||(_0x7cec17<0x0&&(_0x7cec17=_0x41046e),_0x8d7b29['point']&&(_0x591613=Math['max'](_0x591613,_0x11e3da-_0x41046e)),_0x2a32ae['push'](_0x8d7b29),_0x4e73fa['push'](_0x41046e-_0x7cec17),_0x592b12['push'](_0x11e3da-_0x7cec17));}return{'mapped':_0x2a32ae['length']?new _0x3b968d(_0x4e73fa,_0x592b12,_0x2a32ae,_0x591613):null,'pos':_0x7cec17};}}class RangeSet{constructor(_0x563f94,_0x40eb72,_0x31ce6c,_0x31e29b){this['chunkPos']=_0x563f94,this['chunk']=_0x40eb72,this['nextLayer']=_0x31ce6c,this['maxPoint']=_0x31e29b;}static['create'](_0x5ce3c5,_0x23ace2,_0x29789f,_0x177f83){return new RangeSet(_0x5ce3c5,_0x23ace2,_0x29789f,_0x177f83);}get['length'](){let _0x345473=this['chunk']['length']-0x1;return _0x345473<0x0?0x0:Math['max'](this['chunkEnd'](_0x345473),this['nextLayer']['length']);}get['size'](){if(this['isEmpty'])return 0x0;let _0x333020=this['nextLayer']['size'];for(let _0x3bcb35 of this['chunk'])_0x333020+=_0x3bcb35['value']['length'];return _0x333020;}['chunkEnd'](_0x2aab39){return this['chunkPos'][_0x2aab39]+this['chunk'][_0x2aab39]['length'];}['update'](_0x27b19c){let {add:_0x1f893b=[],sort:_0x416739=!0x1,filterFrom:_0x2e83ea=0x0,filterTo:_0x599d81=this['length']}=_0x27b19c,_0x12d946=_0x27b19c['filter'];if(0x0==_0x1f893b['length']&&!_0x12d946)return this;if(_0x416739&&(_0x1f893b=_0x1f893b['slice']()['sort'](_0x27d725)),this['isEmpty'])return _0x1f893b['length']?RangeSet['of'](_0x1f893b):this;let _0x128441=new _0x3e375d(this,null,-0x1)['goto'](0x0),_0x4b8c64=0x0,_0x19cd96=[],_0xc9c6a0=new RangeSetBuilder();for(;_0x128441['value']||_0x4b8c64<_0x1f893b['length'];)if(_0x4b8c64<_0x1f893b['length']&&(_0x128441['from']-_0x1f893b[_0x4b8c64]['from']||_0x128441['startSide']-_0x1f893b[_0x4b8c64]['value']['startSide'])>=0x0){let _0x57b3e3=_0x1f893b[_0x4b8c64++];_0xc9c6a0['addInner'](_0x57b3e3['from'],_0x57b3e3['to'],_0x57b3e3['value'])||_0x19cd96['push'](_0x57b3e3);}else 0x1==_0x128441['rangeIndex']&&_0x128441['chunkIndex']<this['chunk']['length']&&(_0x4b8c64==_0x1f893b['length']||this['chunkEnd'](_0x128441['chunkIndex'])<_0x1f893b[_0x4b8c64]['from'])&&(!_0x12d946||_0x2e83ea>this['chunkEnd'](_0x128441['chunkIndex'])||_0x599d81<this['chunkPos'][_0x128441['chunkIndex']])&&_0xc9c6a0['addChunk'](this['chunkPos'][_0x128441['chunkIndex']],this['chunk'][_0x128441['chunkIndex']])?_0x128441['nextChunk']():((!_0x12d946||_0x2e83ea>_0x128441['to']||_0x599d81<_0x128441['from']||_0x12d946(_0x128441['from'],_0x128441['to'],_0x128441['value']))&&(_0xc9c6a0['addInner'](_0x128441['from'],_0x128441['to'],_0x128441['value'])||_0x19cd96['push'](_0x34ee47['create'](_0x128441['from'],_0x128441['to'],_0x128441['value']))),_0x128441['next']());return _0xc9c6a0['finishInner'](this['nextLayer']['isEmpty']&&!_0x19cd96['length']?RangeSet['empty']:this['nextLayer']['update']({'add':_0x19cd96,'filter':_0x12d946,'filterFrom':_0x2e83ea,'filterTo':_0x599d81}));}['map'](_0x14d13b){if(_0x14d13b['empty']||this['isEmpty'])return this;let _0x10a105=[],_0x3134b2=[],_0x1ebc37=-0x1;for(let _0x285a93=0x0;_0x285a93<this['chunk']['length'];_0x285a93++){let _0x4a14e4=this['chunkPos'][_0x285a93],_0x366239=this['chunk'][_0x285a93],_0x5f50ea=_0x14d13b['touchesRange'](_0x4a14e4,_0x4a14e4+_0x366239['length']);if(!0x1===_0x5f50ea)_0x1ebc37=Math['max'](_0x1ebc37,_0x366239['maxPoint']),_0x10a105['push'](_0x366239),_0x3134b2['push'](_0x14d13b['mapPos'](_0x4a14e4));else{if(!0x0===_0x5f50ea){let {mapped:_0x2c16f8,pos:_0x11d216}=_0x366239['map'](_0x4a14e4,_0x14d13b);_0x2c16f8&&(_0x1ebc37=Math['max'](_0x1ebc37,_0x2c16f8['maxPoint']),_0x10a105['push'](_0x2c16f8),_0x3134b2['push'](_0x11d216));}}}let _0x6493ea=this['nextLayer']['map'](_0x14d13b);return 0x0==_0x10a105['length']?_0x6493ea:new RangeSet(_0x3134b2,_0x10a105,_0x6493ea||RangeSet['empty'],_0x1ebc37);}['between'](_0x4387bd,_0x269a9b,_0x2cbc70){if(!this['isEmpty']){for(let _0x351dcb=0x0;_0x351dcb<this['chunk']['length'];_0x351dcb++){let _0x249928=this['chunkPos'][_0x351dcb],_0x18adc6=this['chunk'][_0x351dcb];if(_0x269a9b>=_0x249928&&_0x4387bd<=_0x249928+_0x18adc6['length']&&!0x1===_0x18adc6['between'](_0x249928,_0x4387bd-_0x249928,_0x269a9b-_0x249928,_0x2cbc70))return;}this['nextLayer']['between'](_0x4387bd,_0x269a9b,_0x2cbc70);}}['iter'](_0x19a696=0x0){return _0x1384db['from']([this])['goto'](_0x19a696);}get['isEmpty'](){return this['nextLayer']==this;}static['iter'](_0x21035a,_0x595eae=0x0){return _0x1384db['from'](_0x21035a)['goto'](_0x595eae);}static['compare'](_0x561ce8,_0x3d6dcc,_0x4630bc,_0x56d667,_0x59fb29=-0x1){let _0x325595=_0x561ce8['filter'](_0x22c213=>_0x22c213['maxPoint']>0x0||!_0x22c213['isEmpty']&&_0x22c213['maxPoint']>=_0x59fb29),_0x341cc6=_0x3d6dcc['filter'](_0x5a11ba=>_0x5a11ba['maxPoint']>0x0||!_0x5a11ba['isEmpty']&&_0x5a11ba['maxPoint']>=_0x59fb29),_0x167c03=_0x21e9cb(_0x325595,_0x341cc6,_0x4630bc),_0x5b415c=new _0x4563ef(_0x325595,_0x167c03,_0x59fb29),_0x281e14=new _0x4563ef(_0x341cc6,_0x167c03,_0x59fb29);_0x4630bc['iterGaps']((_0x459519,_0x1d1c2c,_0x155abf)=>_0x70590f(_0x5b415c,_0x459519,_0x281e14,_0x1d1c2c,_0x155abf,_0x56d667)),_0x4630bc['empty']&&0x0==_0x4630bc['length']&&_0x70590f(_0x5b415c,0x0,_0x281e14,0x0,0x0,_0x56d667);}static['eq'](_0x5abf4f,_0x54a23b,_0x526c34=0x0,_0x37c247){null==_0x37c247&&(_0x37c247=0x3b9ac9ff);let _0x57ea51=_0x5abf4f['filter'](_0x389289=>!_0x389289['isEmpty']&&_0x54a23b['indexOf'](_0x389289)<0x0),_0x47ebcc=_0x54a23b['filter'](_0x411f94=>!_0x411f94['isEmpty']&&_0x5abf4f['indexOf'](_0x411f94)<0x0);if(_0x57ea51['length']!=_0x47ebcc['length'])return!0x1;if(!_0x57ea51['length'])return!0x0;let _0x5c1d74=_0x21e9cb(_0x57ea51,_0x47ebcc),_0x1e6537=new _0x4563ef(_0x57ea51,_0x5c1d74,0x0)['goto'](_0x526c34),_0x58ea1d=new _0x4563ef(_0x47ebcc,_0x5c1d74,0x0)['goto'](_0x526c34);for(;;){if(_0x1e6537['to']!=_0x58ea1d['to']||!_0x534286(_0x1e6537['active'],_0x58ea1d['active'])||_0x1e6537['point']&&(!_0x58ea1d['point']||!_0x1e6537['point']['eq'](_0x58ea1d['point'])))return!0x1;if(_0x1e6537['to']>_0x37c247)return!0x0;_0x1e6537['next'](),_0x58ea1d['next']();}}static['spans'](_0x1842a6,_0x5a7789,_0x37678d,_0x4cb4f3,_0x5e2b64=-0x1){let _0x4db92=new _0x4563ef(_0x1842a6,null,_0x5e2b64)['goto'](_0x5a7789),_0x3daa7d=_0x5a7789,_0x203e20=_0x4db92['openStart'];for(;;){let _0x5db0ce=Math['min'](_0x4db92['to'],_0x37678d);if(_0x4db92['point']){let _0x2eeeed=_0x4db92['activeForPoint'](_0x4db92['to']),_0x166be2=_0x4db92['pointFrom']<_0x5a7789?_0x2eeeed['length']+0x1:_0x4db92['point']['startSide']<0x0?_0x2eeeed['length']:Math['min'](_0x2eeeed['length'],_0x203e20);_0x4cb4f3['point'](_0x3daa7d,_0x5db0ce,_0x4db92['point'],_0x2eeeed,_0x166be2,_0x4db92['pointRank']),_0x203e20=Math['min'](_0x4db92['openEnd'](_0x5db0ce),_0x2eeeed['length']);}else _0x5db0ce>_0x3daa7d&&(_0x4cb4f3['span'](_0x3daa7d,_0x5db0ce,_0x4db92['active'],_0x203e20),_0x203e20=_0x4db92['openEnd'](_0x5db0ce));if(_0x4db92['to']>_0x37678d)return _0x203e20+(_0x4db92['point']&&_0x4db92['to']>_0x37678d?0x1:0x0);_0x3daa7d=_0x4db92['to'],_0x4db92['next']();}}static['of'](_0x555a03,_0x377c4e=!0x1){let _0x4d02c9=new RangeSetBuilder();for(let _0x2cfab0 of _0x555a03 instanceof _0x34ee47?[_0x555a03]:_0x377c4e?lazySort(_0x555a03):_0x555a03)_0x4d02c9['add'](_0x2cfab0['from'],_0x2cfab0['to'],_0x2cfab0['value']);return _0x4d02c9['finish']();}static['join'](_0x46fcc3){if(!_0x46fcc3['length'])return RangeSet['empty'];let _0x593a55=_0x46fcc3[_0x46fcc3['length']-0x1];for(let _0x2b62f1=_0x46fcc3['length']-0x2;_0x2b62f1>=0x0;_0x2b62f1--)for(let _0x524820=_0x46fcc3[_0x2b62f1];_0x524820!=RangeSet['empty'];_0x524820=_0x524820['nextLayer'])_0x593a55=new RangeSet(_0x524820['chunkPos'],_0x524820['chunk'],_0x593a55,Math['max'](_0x524820['maxPoint'],_0x593a55['maxPoint']));return _0x593a55;}}function lazySort(_0x1628ad){if(_0x1628ad['length']>0x1)for(let _0x1cbfc1=_0x1628ad[0x0],_0x1e8d4e=0x1;_0x1e8d4e<_0x1628ad['length'];_0x1e8d4e++){let _0x177a22=_0x1628ad[_0x1e8d4e];if(_0x27d725(_0x1cbfc1,_0x177a22)>0x0)return _0x1628ad['slice']()['sort'](_0x27d725);_0x1cbfc1=_0x177a22;}return _0x1628ad;}RangeSet['empty']=new RangeSet([],[],null,-0x1),RangeSet['empty']['nextLayer']=RangeSet['empty'];class RangeSetBuilder{['finishChunk'](_0x145385){this['chunks']['push'](new _0x3b968d(this['from'],this['to'],this['value'],this['maxPoint'])),this['chunkPos']['push'](this['chunkStart']),this['chunkStart']=-0x1,this['setMaxPoint']=Math['max'](this['setMaxPoint'],this['maxPoint']),this['maxPoint']=-0x1,_0x145385&&(this['from']=[],this['to']=[],this['value']=[]);}constructor(){this['chunks']=[],this['chunkPos']=[],this['chunkStart']=-0x1,this['last']=null,this['lastFrom']=-0x3b9aca00,this['lastTo']=-0x3b9aca00,this['from']=[],this['to']=[],this['value']=[],this['maxPoint']=-0x1,this['setMaxPoint']=-0x1,this['nextLayer']=null;}['add'](_0x20024b,_0x5bea8e,_0x5b6026){this['addInner'](_0x20024b,_0x5bea8e,_0x5b6026)||(this['nextLayer']||(this['nextLayer']=new RangeSetBuilder()))['add'](_0x20024b,_0x5bea8e,_0x5b6026);}['addInner'](_0x26c49f,_0x41fd10,_0x4f9e87){let _0x2b0ac2=_0x26c49f-this['lastTo']||_0x4f9e87['startSide']-this['last']['endSide'];if(_0x2b0ac2<=0x0&&(_0x26c49f-this['lastFrom']||_0x4f9e87['startSide']-this['last']['startSide'])<0x0)throw new Error('Ranges\x20must\x20be\x20added\x20sorted\x20by\x20`from`\x20position\x20and\x20`startSide`');return!(_0x2b0ac2<0x0)&&(0xfa==this['from']['length']&&this['finishChunk'](!0x0),this['chunkStart']<0x0&&(this['chunkStart']=_0x26c49f),this['from']['push'](_0x26c49f-this['chunkStart']),this['to']['push'](_0x41fd10-this['chunkStart']),this['last']=_0x4f9e87,this['lastFrom']=_0x26c49f,this['lastTo']=_0x41fd10,this['value']['push'](_0x4f9e87),_0x4f9e87['point']&&(this['maxPoint']=Math['max'](this['maxPoint'],_0x41fd10-_0x26c49f)),!0x0);}['addChunk'](_0x27d063,_0x15023c){if((_0x27d063-this['lastTo']||_0x15023c['value'][0x0]['startSide']-this['last']['endSide'])<0x0)return!0x1;this['from']['length']&&this['finishChunk'](!0x0),this['setMaxPoint']=Math['max'](this['setMaxPoint'],_0x15023c['maxPoint']),this['chunks']['push'](_0x15023c),this['chunkPos']['push'](_0x27d063);let _0x44bfbc=_0x15023c['value']['length']-0x1;return this['last']=_0x15023c['value'][_0x44bfbc],this['lastFrom']=_0x15023c['from'][_0x44bfbc]+_0x27d063,this['lastTo']=_0x15023c['to'][_0x44bfbc]+_0x27d063,!0x0;}['finish'](){return this['finishInner'](RangeSet['empty']);}['finishInner'](_0x195f4f){if(this['from']['length']&&this['finishChunk'](!0x1),0x0==this['chunks']['length'])return _0x195f4f;let _0x2380e9=RangeSet['create'](this['chunkPos'],this['chunks'],this['nextLayer']?this['nextLayer']['finishInner'](_0x195f4f):_0x195f4f,this['setMaxPoint']);return this['from']=null,_0x2380e9;}}function _0x21e9cb(_0x4f7131,_0x376645,_0x2b0f05){let _0x349ace=new Map();for(let _0x3ced59 of _0x4f7131)for(let _0xb099a8=0x0;_0xb099a8<_0x3ced59['chunk']['length'];_0xb099a8++)_0x3ced59['chunk'][_0xb099a8]['maxPoint']<=0x0&&_0x349ace['set'](_0x3ced59['chunk'][_0xb099a8],_0x3ced59['chunkPos'][_0xb099a8]);let _0x4c9b40=new Set();for(let _0xc43955 of _0x376645)for(let _0xb1c972=0x0;_0xb1c972<_0xc43955['chunk']['length'];_0xb1c972++){let _0x5f3c3b=_0x349ace['get'](_0xc43955['chunk'][_0xb1c972]);null==_0x5f3c3b||(_0x2b0f05?_0x2b0f05['mapPos'](_0x5f3c3b):_0x5f3c3b)!=_0xc43955['chunkPos'][_0xb1c972]||(null==_0x2b0f05?void 0x0:_0x2b0f05['touchesRange'](_0x5f3c3b,_0x5f3c3b+_0xc43955['chunk'][_0xb1c972]['length']))||_0x4c9b40['add'](_0xc43955['chunk'][_0xb1c972]);}return _0x4c9b40;}class _0x3e375d{constructor(_0x1b05ab,_0x321dab,_0x2cd6b1,_0x2e1ad2=0x0){this['layer']=_0x1b05ab,this['skip']=_0x321dab,this['minPoint']=_0x2cd6b1,this['rank']=_0x2e1ad2;}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}get['endSide'](){return this['value']?this['value']['endSide']:0x0;}['goto'](_0x1263fd,_0x12ef9a=-0x3b9aca00){return this['chunkIndex']=this['rangeIndex']=0x0,this['gotoInner'](_0x1263fd,_0x12ef9a,!0x1),this;}['gotoInner'](_0x190eff,_0x56ae58,_0x2a2ddb){for(;this['chunkIndex']<this['layer']['chunk']['length'];){let _0x479c78=this['layer']['chunk'][this['chunkIndex']];if(!(this['skip']&&this['skip']['has'](_0x479c78)||this['layer']['chunkEnd'](this['chunkIndex'])<_0x190eff||_0x479c78['maxPoint']<this['minPoint']))break;this['chunkIndex']++,_0x2a2ddb=!0x1;}if(this['chunkIndex']<this['layer']['chunk']['length']){let _0x100294=this['layer']['chunk'][this['chunkIndex']]['findIndex'](_0x190eff-this['layer']['chunkPos'][this['chunkIndex']],_0x56ae58,!0x0);(!_0x2a2ddb||this['rangeIndex']<_0x100294)&&this['setRangeIndex'](_0x100294);}this['next']();}['forward'](_0x1b3158,_0x1acd1a){(this['to']-_0x1b3158||this['endSide']-_0x1acd1a)<0x0&&this['gotoInner'](_0x1b3158,_0x1acd1a,!0x0);}['next'](){for(;;){if(this['chunkIndex']==this['layer']['chunk']['length']){this['from']=this['to']=0x3b9aca00,this['value']=null;break;}{let _0x32e31a=this['layer']['chunkPos'][this['chunkIndex']],_0x4cae81=this['layer']['chunk'][this['chunkIndex']],_0x5656a0=_0x32e31a+_0x4cae81['from'][this['rangeIndex']];if(this['from']=_0x5656a0,this['to']=_0x32e31a+_0x4cae81['to'][this['rangeIndex']],this['value']=_0x4cae81['value'][this['rangeIndex']],this['setRangeIndex'](this['rangeIndex']+0x1),this['minPoint']<0x0||this['value']['point']&&this['to']-this['from']>=this['minPoint'])break;}}}['setRangeIndex'](_0x1d65c6){if(_0x1d65c6==this['layer']['chunk'][this['chunkIndex']]['value']['length']){if(this['chunkIndex']++,this['skip']){for(;this['chunkIndex']<this['layer']['chunk']['length']&&this['skip']['has'](this['layer']['chunk'][this['chunkIndex']]);)this['chunkIndex']++;}this['rangeIndex']=0x0;}else this['rangeIndex']=_0x1d65c6;}['nextChunk'](){this['chunkIndex']++,this['rangeIndex']=0x0,this['next']();}['compare'](_0x4a8e32){return this['from']-_0x4a8e32['from']||this['startSide']-_0x4a8e32['startSide']||this['rank']-_0x4a8e32['rank']||this['to']-_0x4a8e32['to']||this['endSide']-_0x4a8e32['endSide'];}}class _0x1384db{constructor(_0x4c45bd){this['heap']=_0x4c45bd;}static['from'](_0x1c5231,_0x239d4a=null,_0x2e67d3=-0x1){let _0x2233af=[];for(let _0x2d3c53=0x0;_0x2d3c53<_0x1c5231['length'];_0x2d3c53++)for(let _0x4d690d=_0x1c5231[_0x2d3c53];!_0x4d690d['isEmpty'];_0x4d690d=_0x4d690d['nextLayer'])_0x4d690d['maxPoint']>=_0x2e67d3&&_0x2233af['push'](new _0x3e375d(_0x4d690d,_0x239d4a,_0x2e67d3,_0x2d3c53));return 0x1==_0x2233af['length']?_0x2233af[0x0]:new _0x1384db(_0x2233af);}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}['goto'](_0x40f879,_0x1beb2e=-0x3b9aca00){for(let _0xf66326 of this['heap'])_0xf66326['goto'](_0x40f879,_0x1beb2e);for(let _0x47938f=this['heap']['length']>>0x1;_0x47938f>=0x0;_0x47938f--)_0x2ed5a9(this['heap'],_0x47938f);return this['next'](),this;}['forward'](_0x2be299,_0x2d8ee5){for(let _0x12ddcd of this['heap'])_0x12ddcd['forward'](_0x2be299,_0x2d8ee5);for(let _0x426b81=this['heap']['length']>>0x1;_0x426b81>=0x0;_0x426b81--)_0x2ed5a9(this['heap'],_0x426b81);(this['to']-_0x2be299||this['value']['endSide']-_0x2d8ee5)<0x0&&this['next']();}['next'](){if(0x0==this['heap']['length'])this['from']=this['to']=0x3b9aca00,this['value']=null,this['rank']=-0x1;else{let _0x2a10ae=this['heap'][0x0];this['from']=_0x2a10ae['from'],this['to']=_0x2a10ae['to'],this['value']=_0x2a10ae['value'],this['rank']=_0x2a10ae['rank'],_0x2a10ae['value']&&_0x2a10ae['next'](),_0x2ed5a9(this['heap'],0x0);}}}function _0x2ed5a9(_0x2d74dd,_0x206a06){for(let _0x4baf58=_0x2d74dd[_0x206a06];;){let _0x14e6e7=0x1+(_0x206a06<<0x1);if(_0x14e6e7>=_0x2d74dd['length'])break;let _0x3d17d3=_0x2d74dd[_0x14e6e7];if(_0x14e6e7+0x1<_0x2d74dd['length']&&_0x3d17d3['compare'](_0x2d74dd[_0x14e6e7+0x1])>=0x0&&(_0x3d17d3=_0x2d74dd[_0x14e6e7+0x1],_0x14e6e7++),_0x4baf58['compare'](_0x3d17d3)<0x0)break;_0x2d74dd[_0x14e6e7]=_0x4baf58,_0x2d74dd[_0x206a06]=_0x3d17d3,_0x206a06=_0x14e6e7;}}class _0x4563ef{constructor(_0x1832cb,_0x1243e9,_0x2e48d3){this['minPoint']=_0x2e48d3,this['active']=[],this['activeTo']=[],this['activeRank']=[],this['minActive']=-0x1,this['point']=null,this['pointFrom']=0x0,this['pointRank']=0x0,this['to']=-0x3b9aca00,this['endSide']=0x0,this['openStart']=-0x1,this['cursor']=_0x1384db['from'](_0x1832cb,_0x1243e9,_0x2e48d3);}['goto'](_0xa60bb3,_0x39fa4b=-0x3b9aca00){return this['cursor']['goto'](_0xa60bb3,_0x39fa4b),this['active']['length']=this['activeTo']['length']=this['activeRank']['length']=0x0,this['minActive']=-0x1,this['to']=_0xa60bb3,this['endSide']=_0x39fa4b,this['openStart']=-0x1,this['next'](),this;}['forward'](_0x15a8eb,_0x5ac78f){for(;this['minActive']>-0x1&&(this['activeTo'][this['minActive']]-_0x15a8eb||this['active'][this['minActive']]['endSide']-_0x5ac78f)<0x0;)this['removeActive'](this['minActive']);this['cursor']['forward'](_0x15a8eb,_0x5ac78f);}['removeActive'](_0x1333a3){_0xedf16f(this['active'],_0x1333a3),_0xedf16f(this['activeTo'],_0x1333a3),_0xedf16f(this['activeRank'],_0x1333a3),this['minActive']=_0x200eed(this['active'],this['activeTo']);}['addActive'](_0x50bb87){let _0x1b62ef=0x0,{value:_0x32032a,to:_0x4f9217,rank:_0x3a24fa}=this['cursor'];for(;_0x1b62ef<this['activeRank']['length']&&(_0x3a24fa-this['activeRank'][_0x1b62ef]||_0x4f9217-this['activeTo'][_0x1b62ef])>0x0;)_0x1b62ef++;insert(this['active'],_0x1b62ef,_0x32032a),insert(this['activeTo'],_0x1b62ef,_0x4f9217),insert(this['activeRank'],_0x1b62ef,_0x3a24fa),_0x50bb87&&insert(_0x50bb87,_0x1b62ef,this['cursor']['from']),this['minActive']=_0x200eed(this['active'],this['activeTo']);}['next'](){let _0x5b44c1=this['to'],_0x17cd88=this['point'];this['point']=null;let _0x30b810=this['openStart']<0x0?[]:null;for(;;){let _0x35a4b5=this['minActive'];if(_0x35a4b5>-0x1&&(this['activeTo'][_0x35a4b5]-this['cursor']['from']||this['active'][_0x35a4b5]['endSide']-this['cursor']['startSide'])<0x0){if(this['activeTo'][_0x35a4b5]>_0x5b44c1){this['to']=this['activeTo'][_0x35a4b5],this['endSide']=this['active'][_0x35a4b5]['endSide'];break;}this['removeActive'](_0x35a4b5),_0x30b810&&_0xedf16f(_0x30b810,_0x35a4b5);}else{if(!this['cursor']['value']){this['to']=this['endSide']=0x3b9aca00;break;}if(this['cursor']['from']>_0x5b44c1){this['to']=this['cursor']['from'],this['endSide']=this['cursor']['startSide'];break;}{let _0x40ba64=this['cursor']['value'];if(_0x40ba64['point']){if(!(_0x17cd88&&this['cursor']['to']==this['to']&&this['cursor']['from']<this['cursor']['to'])){this['point']=_0x40ba64,this['pointFrom']=this['cursor']['from'],this['pointRank']=this['cursor']['rank'],this['to']=this['cursor']['to'],this['endSide']=_0x40ba64['endSide'],this['cursor']['next'](),this['forward'](this['to'],this['endSide']);break;}this['cursor']['next']();}else this['addActive'](_0x30b810),this['cursor']['next']();}}}if(_0x30b810){this['openStart']=0x0;for(let _0x1e4e83=_0x30b810['length']-0x1;_0x1e4e83>=0x0&&_0x30b810[_0x1e4e83]<_0x5b44c1;_0x1e4e83--)this['openStart']++;}}['activeForPoint'](_0x3189f1){if(!this['active']['length'])return this['active'];let _0x54dd95=[];for(let _0xb21ce=this['active']['length']-0x1;_0xb21ce>=0x0&&!(this['activeRank'][_0xb21ce]<this['pointRank']);_0xb21ce--)(this['activeTo'][_0xb21ce]>_0x3189f1||this['activeTo'][_0xb21ce]==_0x3189f1&&this['active'][_0xb21ce]['endSide']>=this['point']['endSide'])&&_0x54dd95['push'](this['active'][_0xb21ce]);return _0x54dd95['reverse']();}['openEnd'](_0x37f243){let _0x3415bd=0x0;for(let _0x236d51=this['activeTo']['length']-0x1;_0x236d51>=0x0&&this['activeTo'][_0x236d51]>_0x37f243;_0x236d51--)_0x3415bd++;return _0x3415bd;}}function _0x70590f(_0x39ba17,_0x4a56b1,_0x1e232e,_0xfab81b,_0x3d6ca5,_0x2d7aed){_0x39ba17['goto'](_0x4a56b1),_0x1e232e['goto'](_0xfab81b);let _0x12f47f=_0xfab81b+_0x3d6ca5,_0xe32aaa=_0xfab81b,_0x1065f5=_0xfab81b-_0x4a56b1;for(;;){let _0x242dca=_0x39ba17['to']+_0x1065f5-_0x1e232e['to'],_0x484aa5=_0x242dca||_0x39ba17['endSide']-_0x1e232e['endSide'],_0x20df31=_0x484aa5<0x0?_0x39ba17['to']+_0x1065f5:_0x1e232e['to'],_0x3c6354=Math['min'](_0x20df31,_0x12f47f);if(_0x39ba17['point']||_0x1e232e['point']?_0x39ba17['point']&&_0x1e232e['point']&&(_0x39ba17['point']==_0x1e232e['point']||_0x39ba17['point']['eq'](_0x1e232e['point']))&&_0x534286(_0x39ba17['activeForPoint'](_0x39ba17['to']),_0x1e232e['activeForPoint'](_0x1e232e['to']))||_0x2d7aed['comparePoint'](_0xe32aaa,_0x3c6354,_0x39ba17['point'],_0x1e232e['point']):_0x3c6354>_0xe32aaa&&!_0x534286(_0x39ba17['active'],_0x1e232e['active'])&&_0x2d7aed['compareRange'](_0xe32aaa,_0x3c6354,_0x39ba17['active'],_0x1e232e['active']),_0x20df31>_0x12f47f)break;(_0x242dca||_0x39ba17['openEnd']!=_0x1e232e['openEnd'])&&_0x2d7aed['boundChange']&&_0x2d7aed['boundChange'](_0x20df31),_0xe32aaa=_0x20df31,_0x484aa5<=0x0&&_0x39ba17['next'](),_0x484aa5>=0x0&&_0x1e232e['next']();}}function _0x534286(_0x4a7b18,_0x15db8a){if(_0x4a7b18['length']!=_0x15db8a['length'])return!0x1;for(let _0x9935b7=0x0;_0x9935b7<_0x4a7b18['length'];_0x9935b7++)if(_0x4a7b18[_0x9935b7]!=_0x15db8a[_0x9935b7]&&!_0x4a7b18[_0x9935b7]['eq'](_0x15db8a[_0x9935b7]))return!0x1;return!0x0;}function _0xedf16f(_0x263771,_0x497189){for(let _0x121a9b=_0x497189,_0x1207e7=_0x263771['length']-0x1;_0x121a9b<_0x1207e7;_0x121a9b++)_0x263771[_0x121a9b]=_0x263771[_0x121a9b+0x1];_0x263771['pop']();}function insert(_0x22e5be,_0x1eb182,_0x9e8904){for(let _0x37b575=_0x22e5be['length']-0x1;_0x37b575>=_0x1eb182;_0x37b575--)_0x22e5be[_0x37b575+0x1]=_0x22e5be[_0x37b575];_0x22e5be[_0x1eb182]=_0x9e8904;}function _0x200eed(_0x29082e,_0x86fad7){let _0x5e7f6e=-0x1,_0x5c8c29=0x3b9aca00;for(let _0x1b487b=0x0;_0x1b487b<_0x86fad7['length'];_0x1b487b++)(_0x86fad7[_0x1b487b]-_0x5c8c29||_0x29082e[_0x1b487b]['endSide']-_0x29082e[_0x5e7f6e]['endSide'])<0x0&&(_0x5e7f6e=_0x1b487b,_0x5c8c29=_0x86fad7[_0x1b487b]);return _0x5e7f6e;}function countColumn(_0x457bb0,_0x895861,_0x41e94c=_0x457bb0['length']){let _0x28870c=0x0;for(let _0x3ebaa8=0x0;_0x3ebaa8<_0x41e94c&&_0x3ebaa8<_0x457bb0['length'];)0x9==_0x457bb0['charCodeAt'](_0x3ebaa8)?(_0x28870c+=_0x895861-_0x28870c%_0x895861,_0x3ebaa8++):(_0x28870c++,_0x3ebaa8=findClusterBreak(_0x457bb0,_0x3ebaa8));return _0x28870c;}function _0x22def6(_0x59fc32,_0x1716a0,_0x42247a,_0x31eb4d){for(let _0x590abd=0x0,_0x392a32=0x0;;){if(_0x392a32>=_0x1716a0)return _0x590abd;if(_0x590abd==_0x59fc32['length'])break;_0x392a32+=0x9==_0x59fc32['charCodeAt'](_0x590abd)?_0x42247a-_0x392a32%_0x42247a:0x1,_0x590abd=findClusterBreak(_0x59fc32,_0x590abd);}return!0x0===_0x31eb4d?-0x1:_0x59fc32['length'];}const _0x154ff1='ͼ',_0x55458a='undefined'==typeof Symbol?'__'+_0x154ff1:Symbol['for'](_0x154ff1),_0x29fba2='undefined'==typeof Symbol?'__styleSet'+Math['floor'](0x5f5e100*Math['random']()):Symbol('styleSet'),top='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:{};class StyleModule{constructor(_0x4ebf1a,_0x29bd6b){this['rules']=[];let {finish:_0x27d064}=_0x29bd6b||{};function _0x377f78(_0x26c2bb){return/^@/['test'](_0x26c2bb)?[_0x26c2bb]:_0x26c2bb['split'](/,\s*/);}function _0x5ee3f9(_0x355bf9,_0x2466e2,_0x320b7b,_0xe9604){let _0x3d1881=[],_0x795884=/^@(\w+)\b/['exec'](_0x355bf9[0x0]),_0x2b1ab3=_0x795884&&'keyframes'==_0x795884[0x1];if(_0x795884&&null==_0x2466e2)return _0x320b7b['push'](_0x355bf9[0x0]+';');for(let _0x1ea2ad in _0x2466e2){let _0x250fec=_0x2466e2[_0x1ea2ad];if(/&/['test'](_0x1ea2ad))_0x5ee3f9(_0x1ea2ad['split'](/,\s*/)['map'](_0x31ebfa=>_0x355bf9['map'](_0x4eb03d=>_0x31ebfa['replace'](/&/,_0x4eb03d)))['reduce']((_0x58e68c,_0x5571df)=>_0x58e68c['concat'](_0x5571df)),_0x250fec,_0x320b7b);else{if(_0x250fec&&'object'==typeof _0x250fec){if(!_0x795884)throw new RangeError('The\x20value\x20of\x20a\x20property\x20('+_0x1ea2ad+')\x20should\x20be\x20a\x20primitive\x20value.');_0x5ee3f9(_0x377f78(_0x1ea2ad),_0x250fec,_0x3d1881,_0x2b1ab3);}else null!=_0x250fec&&_0x3d1881['push'](_0x1ea2ad['replace'](/_.*/,'')['replace'](/[A-Z]/g,_0xc7de24=>'-'+_0xc7de24['toLowerCase']())+':\x20'+_0x250fec+';');}}(_0x3d1881['length']||_0x2b1ab3)&&_0x320b7b['push']((!_0x27d064||_0x795884||_0xe9604?_0x355bf9:_0x355bf9['map'](_0x27d064))['join'](',\x20')+'\x20{'+_0x3d1881['join']('\x20')+'}');}for(let _0x4f7781 in _0x4ebf1a)_0x5ee3f9(_0x377f78(_0x4f7781),_0x4ebf1a[_0x4f7781],this['rules']);}['getRules'](){return this['rules']['join']('\x0a');}static['newName'](){let _0x11964a=top[_0x55458a]||0x1;return top[_0x55458a]=_0x11964a+0x1,_0x154ff1+_0x11964a['toString'](0x24);}static['mount'](_0x1f9e16,_0x2fbc04,_0x2b8602){let _0x1db999=_0x1f9e16[_0x29fba2],_0x643db9=_0x2b8602&&_0x2b8602['nonce'];_0x1db999?_0x643db9&&_0x1db999['setNonce'](_0x643db9):_0x1db999=new StyleSet(_0x1f9e16,_0x643db9),_0x1db999['mount'](Array['isArray'](_0x2fbc04)?_0x2fbc04:[_0x2fbc04],_0x1f9e16);}}let adoptedSet=new Map();class StyleSet{constructor(_0x562fd8,_0x2add45){let _0x5db5b4=_0x562fd8['ownerDocument']||_0x562fd8,_0x2e6860=_0x5db5b4['defaultView'];if(!_0x562fd8['head']&&_0x562fd8['adoptedStyleSheets']&&_0x2e6860['CSSStyleSheet']){let _0x1d6faf=adoptedSet['get'](_0x5db5b4);if(_0x1d6faf)return _0x562fd8[_0x29fba2]=_0x1d6faf;this['sheet']=new _0x2e6860['CSSStyleSheet'](),adoptedSet['set'](_0x5db5b4,this);}else this['styleTag']=_0x5db5b4['createElement']('style'),_0x2add45&&this['styleTag']['setAttribute']('nonce',_0x2add45);this['modules']=[],_0x562fd8[_0x29fba2]=this;}['mount'](_0x300a63,_0x15f93e){let _0x534932=this['sheet'],_0x12e426=0x0,_0x245893=0x0;for(let _0x49f4f5=0x0;_0x49f4f5<_0x300a63['length'];_0x49f4f5++){let _0x41830c=_0x300a63[_0x49f4f5],_0x1e6c20=this['modules']['indexOf'](_0x41830c);if(_0x1e6c20<_0x245893&&_0x1e6c20>-0x1&&(this['modules']['splice'](_0x1e6c20,0x1),_0x245893--,_0x1e6c20=-0x1),-0x1==_0x1e6c20){if(this['modules']['splice'](_0x245893++,0x0,_0x41830c),_0x534932){for(let _0x218f21=0x0;_0x218f21<_0x41830c['rules']['length'];_0x218f21++)_0x534932['insertRule'](_0x41830c['rules'][_0x218f21],_0x12e426++);}}else{for(;_0x245893<_0x1e6c20;)_0x12e426+=this['modules'][_0x245893++]['rules']['length'];_0x12e426+=_0x41830c['rules']['length'],_0x245893++;}}if(_0x534932)_0x15f93e['adoptedStyleSheets']['indexOf'](this['sheet'])<0x0&&(_0x15f93e['adoptedStyleSheets']=[this['sheet'],..._0x15f93e['adoptedStyleSheets']]);else{let _0x24cf40='';for(let _0x1760b8=0x0;_0x1760b8<this['modules']['length'];_0x1760b8++)_0x24cf40+=this['modules'][_0x1760b8]['getRules']()+'\x0a';this['styleTag']['textContent']=_0x24cf40;let _0x4c5ada=_0x15f93e['head']||_0x15f93e;this['styleTag']['parentNode']!=_0x4c5ada&&_0x4c5ada['insertBefore'](this['styleTag'],_0x4c5ada['firstChild']);}}['setNonce'](_0x32be91){this['styleTag']&&this['styleTag']['getAttribute']('nonce')!=_0x32be91&&this['styleTag']['setAttribute']('nonce',_0x32be91);}}for(var _0x2ce4ae={0x8:'Backspace',0x9:'Tab',0xa:'Enter',0xc:'NumLock',0xd:'Enter',0x10:'Shift',0x11:'Control',0x12:'Alt',0x14:'CapsLock',0x1b:'Escape',0x20:'\x20',0x21:'PageUp',0x22:'PageDown',0x23:'End',0x24:'Home',0x25:'ArrowLeft',0x26:'ArrowUp',0x27:'ArrowRight',0x28:'ArrowDown',0x2c:'PrintScreen',0x2d:'Insert',0x2e:'Delete',0x3b:';',0x3d:'=',0x5b:'Meta',0x5c:'Meta',0x6a:'*',0x6b:'+',0x6c:',',0x6d:'-',0x6e:'.',0x6f:'/',0x90:'NumLock',0x91:'ScrollLock',0xa0:'Shift',0xa1:'Shift',0xa2:'Control',0xa3:'Control',0xa4:'Alt',0xa5:'Alt',0xad:'-',0xba:';',0xbb:'=',0xbc:',',0xbd:'-',0xbe:'.',0xbf:'/',0xc0:'`',0xdb:'[',0xdc:'\x5c',0xdd:']',0xde:'\x27'},shift={0x30:')',0x31:'!',0x32:'@',0x33:'#',0x34:'$',0x35:'%',0x36:'^',0x37:'&',0x38:'*',0x39:'(',0x3b:':',0x3d:'+',0xad:'_',0xba:':',0xbb:'+',0xbc:'<',0xbd:'_',0xbe:'>',0xbf:'?',0xc0:'~',0xdb:'{',0xdc:'|',0xdd:'}',0xde:'\x22'},_0x2c5247='undefined'!=typeof navigator&&/Mac/['test'](navigator['platform']),_0x58f694='undefined'!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](navigator['userAgent']),_0x1eb48b=0x0;_0x1eb48b<0xa;_0x1eb48b++)_0x2ce4ae[0x30+_0x1eb48b]=_0x2ce4ae[0x60+_0x1eb48b]=String(_0x1eb48b);for(var _0x1eb48b=0x1;_0x1eb48b<=0x18;_0x1eb48b++)_0x2ce4ae[_0x1eb48b+0x6f]='F'+_0x1eb48b;for(var _0x1eb48b=0x41;_0x1eb48b<=0x5a;_0x1eb48b++)_0x2ce4ae[_0x1eb48b]=String['fromCharCode'](_0x1eb48b+0x20),shift[_0x1eb48b]=String['fromCharCode'](_0x1eb48b);for(var _0x3bf115 in _0x2ce4ae)shift['hasOwnProperty'](_0x3bf115)||(shift[_0x3bf115]=_0x2ce4ae[_0x3bf115]);function _0x56f90a(_0x40f88c){var _0x37b586=!(_0x2c5247&&_0x40f88c['metaKey']&&_0x40f88c['shiftKey']&&!_0x40f88c['ctrlKey']&&!_0x40f88c['altKey']||_0x58f694&&_0x40f88c['shiftKey']&&_0x40f88c['key']&&0x1==_0x40f88c['key']['length']||'Unidentified'==_0x40f88c['key'])&&_0x40f88c['key']||(_0x40f88c['shiftKey']?shift:_0x2ce4ae)[_0x40f88c['keyCode']]||_0x40f88c['key']||'Unidentified';return'Esc'==_0x37b586&&(_0x37b586='Escape'),'Del'==_0x37b586&&(_0x37b586='Delete'),'Left'==_0x37b586&&(_0x37b586='ArrowLeft'),'Up'==_0x37b586&&(_0x37b586='ArrowUp'),'Right'==_0x37b586&&(_0x37b586='ArrowRight'),'Down'==_0x37b586&&(_0x37b586='ArrowDown'),_0x37b586;}let _0x52e3d7='undefined'!=typeof navigator?navigator:{'userAgent':'','vendor':'','platform':''},_0x465e3b='undefined'!=typeof document?document:{'documentElement':{'style':{}}};const _0x401783=/Edge\/(\d+)/['exec'](_0x52e3d7['userAgent']),ie_upto10=/MSIE \d/['test'](_0x52e3d7['userAgent']),_0x16eeaf=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](_0x52e3d7['userAgent']),_0x469a21=!!(ie_upto10||_0x16eeaf||_0x401783),_0x49b752=!_0x469a21&&/gecko\/(\d+)/i['test'](_0x52e3d7['userAgent']),_0x4f6832=!_0x469a21&&/Chrome\/(\d+)/['exec'](_0x52e3d7['userAgent']),webkit='webkitFontSmoothing'in _0x465e3b['documentElement']['style'],_0x372f45=!_0x469a21&&/Apple Computer/['test'](_0x52e3d7['vendor']),_0x1735a7=_0x372f45&&(/Mobile\/\w+/['test'](_0x52e3d7['userAgent'])||_0x52e3d7['maxTouchPoints']>0x2);var _0x28109e={'mac':_0x1735a7||/Mac/['test'](_0x52e3d7['platform']),'windows':/Win/['test'](_0x52e3d7['platform']),'linux':/Linux|X11/['test'](_0x52e3d7['platform']),'ie':_0x469a21,'ie_version':ie_upto10?_0x465e3b['documentMode']||0x6:_0x16eeaf?+_0x16eeaf[0x1]:_0x401783?+_0x401783[0x1]:0x0,'gecko':_0x49b752,'gecko_version':_0x49b752?+(/Firefox\/(\d+)/['exec'](_0x52e3d7['userAgent'])||[0x0,0x0])[0x1]:0x0,'chrome':!!_0x4f6832,'chrome_version':_0x4f6832?+_0x4f6832[0x1]:0x0,'ios':_0x1735a7,'android':/Android\b/['test'](_0x52e3d7['userAgent']),'webkit_version':webkit?+(/\bAppleWebKit\/(\d+)/['exec'](_0x52e3d7['userAgent'])||[0x0,0x0])[0x1]:0x0,'safari':_0x372f45,'safari_version':_0x372f45?+(/\bVersion\/(\d+(\.\d+)?)/['exec'](_0x52e3d7['userAgent'])||[0x0,0x0])[0x1]:0x0,'tabSize':null!=_0x465e3b['documentElement']['style']['tabSize']?'tab-size':'-moz-tab-size'};function getSelection(_0x924574){let _0x17b25e;return _0x17b25e=0xb==_0x924574['nodeType']?_0x924574['getSelection']?_0x924574:_0x924574['ownerDocument']:_0x924574,_0x17b25e['getSelection']();}function contains(_0x38d2ee,_0x2a3a10){return!!_0x2a3a10&&(_0x38d2ee==_0x2a3a10||_0x38d2ee['contains'](0x1!=_0x2a3a10['nodeType']?_0x2a3a10['parentNode']:_0x2a3a10));}function hasSelection(_0xf567a2,_0xcf35fa){if(!_0xcf35fa['anchorNode'])return!0x1;try{return contains(_0xf567a2,_0xcf35fa['anchorNode']);}catch(_0x2bd0c6){return!0x1;}}function clientRectsFor(_0x154a08){return 0x3==_0x154a08['nodeType']?textRange(_0x154a08,0x0,_0x154a08['nodeValue']['length'])['getClientRects']():0x1==_0x154a08['nodeType']?_0x154a08['getClientRects']():[];}function isEquivalentPosition(_0x3cbdd6,_0x4c5e3b,_0x2d3508,_0x5f2606){return!!_0x2d3508&&(_0x26fe78(_0x3cbdd6,_0x4c5e3b,_0x2d3508,_0x5f2606,-0x1)||_0x26fe78(_0x3cbdd6,_0x4c5e3b,_0x2d3508,_0x5f2606,0x1));}function _0x563332(_0x3c1f43){for(var _0x5274e6=0x0;;_0x5274e6++)if(!(_0x3c1f43=_0x3c1f43['previousSibling']))return _0x5274e6;}function isBlockElement(_0x2ed772){return 0x1==_0x2ed772['nodeType']&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/['test'](_0x2ed772['nodeName']);}function _0x26fe78(_0x3f2b7a,_0x1c2a71,_0x22c20c,_0x5555a2,_0x5edff5){for(;;){if(_0x3f2b7a==_0x22c20c&&_0x1c2a71==_0x5555a2)return!0x0;if(_0x1c2a71==(_0x5edff5<0x0?0x0:maxOffset(_0x3f2b7a))){if('DIV'==_0x3f2b7a['nodeName'])return!0x1;let _0x4a475f=_0x3f2b7a['parentNode'];if(!_0x4a475f||0x1!=_0x4a475f['nodeType'])return!0x1;_0x1c2a71=_0x563332(_0x3f2b7a)+(_0x5edff5<0x0?0x0:0x1),_0x3f2b7a=_0x4a475f;}else{if(0x1!=_0x3f2b7a['nodeType'])return!0x1;if(0x1==(_0x3f2b7a=_0x3f2b7a['childNodes'][_0x1c2a71+(_0x5edff5<0x0?-0x1:0x0)])['nodeType']&&'false'==_0x3f2b7a['contentEditable'])return!0x1;_0x1c2a71=_0x5edff5<0x0?maxOffset(_0x3f2b7a):0x0;}}}function maxOffset(_0x4c6249){return 0x3==_0x4c6249['nodeType']?_0x4c6249['nodeValue']['length']:_0x4c6249['childNodes']['length'];}function flattenRect(_0x7b7c7d,_0x4400ef){let _0x478ea2=_0x4400ef?_0x7b7c7d['left']:_0x7b7c7d['right'];return{'left':_0x478ea2,'right':_0x478ea2,'top':_0x7b7c7d['top'],'bottom':_0x7b7c7d['bottom']};}function windowRect(_0x138204){let _0x189889=_0x138204['visualViewport'];return _0x189889?{'left':0x0,'right':_0x189889['width'],'top':0x0,'bottom':_0x189889['height']}:{'left':0x0,'right':_0x138204['innerWidth'],'top':0x0,'bottom':_0x138204['innerHeight']};}function getScale(_0x49c564,_0x505f60){let _0x5b9869=_0x505f60['width']/_0x49c564['offsetWidth'],_0x55c12b=_0x505f60['height']/_0x49c564['offsetHeight'];return(_0x5b9869>0.995&&_0x5b9869<1.005||!isFinite(_0x5b9869)||Math['abs'](_0x505f60['width']-_0x49c564['offsetWidth'])<0x1)&&(_0x5b9869=0x1),(_0x55c12b>0.995&&_0x55c12b<1.005||!isFinite(_0x55c12b)||Math['abs'](_0x505f60['height']-_0x49c564['offsetHeight'])<0x1)&&(_0x55c12b=0x1),{'scaleX':_0x5b9869,'scaleY':_0x55c12b};}function scrollRectIntoView(_0x354e40,_0xb24605,_0x374e6a,_0x58a888,_0x4ed06b,_0x584903,_0x1464c9,_0x58377a){let _0x5d304a=_0x354e40['ownerDocument'],_0x4cb9b6=_0x5d304a['defaultView']||window;for(let _0x14281f=_0x354e40,_0x556ff1=!0x1;_0x14281f&&!_0x556ff1;)if(0x1==_0x14281f['nodeType']){let _0x10ba1f,_0x1eaaf3=_0x14281f==_0x5d304a['body'],_0x56dadf=0x1,_0x52fc60=0x1;if(_0x1eaaf3)_0x10ba1f=windowRect(_0x4cb9b6);else{if(/^(fixed|sticky)$/['test'](getComputedStyle(_0x14281f)['position'])&&(_0x556ff1=!0x0),_0x14281f['scrollHeight']<=_0x14281f['clientHeight']&&_0x14281f['scrollWidth']<=_0x14281f['clientWidth']){_0x14281f=_0x14281f['assignedSlot']||_0x14281f['parentNode'];continue;}let _0x3af0fb=_0x14281f['getBoundingClientRect']();({scaleX:_0x56dadf,scaleY:_0x52fc60}=getScale(_0x14281f,_0x3af0fb),_0x10ba1f={'left':_0x3af0fb['left'],'right':_0x3af0fb['left']+_0x14281f['clientWidth']*_0x56dadf,'top':_0x3af0fb['top'],'bottom':_0x3af0fb['top']+_0x14281f['clientHeight']*_0x52fc60});}let _0x51ade3=0x0,_0x12fe97=0x0;if('nearest'==_0x4ed06b)_0xb24605['top']<_0x10ba1f['top']?(_0x12fe97=_0xb24605['top']-(_0x10ba1f['top']+_0x1464c9),_0x374e6a>0x0&&_0xb24605['bottom']>_0x10ba1f['bottom']+_0x12fe97&&(_0x12fe97=_0xb24605['bottom']-_0x10ba1f['bottom']+_0x1464c9)):_0xb24605['bottom']>_0x10ba1f['bottom']&&(_0x12fe97=_0xb24605['bottom']-_0x10ba1f['bottom']+_0x1464c9,_0x374e6a<0x0&&_0xb24605['top']-_0x12fe97<_0x10ba1f['top']&&(_0x12fe97=_0xb24605['top']-(_0x10ba1f['top']+_0x1464c9)));else{let _0x5ae90e=_0xb24605['bottom']-_0xb24605['top'],_0x3deaa2=_0x10ba1f['bottom']-_0x10ba1f['top'];_0x12fe97=('center'==_0x4ed06b&&_0x5ae90e<=_0x3deaa2?_0xb24605['top']+_0x5ae90e/0x2-_0x3deaa2/0x2:'start'==_0x4ed06b||'center'==_0x4ed06b&&_0x374e6a<0x0?_0xb24605['top']-_0x1464c9:_0xb24605['bottom']-_0x3deaa2+_0x1464c9)-_0x10ba1f['top'];}if('nearest'==_0x58a888)_0xb24605['left']<_0x10ba1f['left']?(_0x51ade3=_0xb24605['left']-(_0x10ba1f['left']+_0x584903),_0x374e6a>0x0&&_0xb24605['right']>_0x10ba1f['right']+_0x51ade3&&(_0x51ade3=_0xb24605['right']-_0x10ba1f['right']+_0x584903)):_0xb24605['right']>_0x10ba1f['right']&&(_0x51ade3=_0xb24605['right']-_0x10ba1f['right']+_0x584903,_0x374e6a<0x0&&_0xb24605['left']<_0x10ba1f['left']+_0x51ade3&&(_0x51ade3=_0xb24605['left']-(_0x10ba1f['left']+_0x584903)));else _0x51ade3=('center'==_0x58a888?_0xb24605['left']+(_0xb24605['right']-_0xb24605['left'])/0x2-(_0x10ba1f['right']-_0x10ba1f['left'])/0x2:'start'==_0x58a888==_0x58377a?_0xb24605['left']-_0x584903:_0xb24605['right']-(_0x10ba1f['right']-_0x10ba1f['left'])+_0x584903)-_0x10ba1f['left'];if(_0x51ade3||_0x12fe97){if(_0x1eaaf3)_0x4cb9b6['scrollBy'](_0x51ade3,_0x12fe97);else{let _0x10c6f3=0x0,_0x49b38c=0x0;if(_0x12fe97){let _0x18a22d=_0x14281f['scrollTop'];_0x14281f['scrollTop']+=_0x12fe97/_0x52fc60,_0x49b38c=(_0x14281f['scrollTop']-_0x18a22d)*_0x52fc60;}if(_0x51ade3){let _0x5b6790=_0x14281f['scrollLeft'];_0x14281f['scrollLeft']+=_0x51ade3/_0x56dadf,_0x10c6f3=(_0x14281f['scrollLeft']-_0x5b6790)*_0x56dadf;}_0xb24605={'left':_0xb24605['left']-_0x10c6f3,'top':_0xb24605['top']-_0x49b38c,'right':_0xb24605['right']-_0x10c6f3,'bottom':_0xb24605['bottom']-_0x49b38c},_0x10c6f3&&Math['abs'](_0x10c6f3-_0x51ade3)<0x1&&(_0x58a888='nearest'),_0x49b38c&&Math['abs'](_0x49b38c-_0x12fe97)<0x1&&(_0x4ed06b='nearest');}}if(_0x1eaaf3)break;(_0xb24605['top']<_0x10ba1f['top']||_0xb24605['bottom']>_0x10ba1f['bottom']||_0xb24605['left']<_0x10ba1f['left']||_0xb24605['right']>_0x10ba1f['right'])&&(_0xb24605={'left':Math['max'](_0xb24605['left'],_0x10ba1f['left']),'right':Math['min'](_0xb24605['right'],_0x10ba1f['right']),'top':Math['max'](_0xb24605['top'],_0x10ba1f['top']),'bottom':Math['min'](_0xb24605['bottom'],_0x10ba1f['bottom'])}),_0x14281f=_0x14281f['assignedSlot']||_0x14281f['parentNode'];}else{if(0xb!=_0x14281f['nodeType'])break;_0x14281f=_0x14281f['host'];}}function scrollableParents(_0x215aaa){let _0x3e379e,_0x5e52b4,_0x19d950=_0x215aaa['ownerDocument'];for(let _0x1cec0b=_0x215aaa['parentNode'];_0x1cec0b&&!(_0x1cec0b==_0x19d950['body']||_0x3e379e&&_0x5e52b4);)if(0x1==_0x1cec0b['nodeType'])!_0x5e52b4&&_0x1cec0b['scrollHeight']>_0x1cec0b['clientHeight']&&(_0x5e52b4=_0x1cec0b),!_0x3e379e&&_0x1cec0b['scrollWidth']>_0x1cec0b['clientWidth']&&(_0x3e379e=_0x1cec0b),_0x1cec0b=_0x1cec0b['assignedSlot']||_0x1cec0b['parentNode'];else{if(0xb!=_0x1cec0b['nodeType'])break;_0x1cec0b=_0x1cec0b['host'];}return{'x':_0x3e379e,'y':_0x5e52b4};}class DOMSelectionState{constructor(){this['anchorNode']=null,this['anchorOffset']=0x0,this['focusNode']=null,this['focusOffset']=0x0;}['eq'](_0x1435d2){return this['anchorNode']==_0x1435d2['anchorNode']&&this['anchorOffset']==_0x1435d2['anchorOffset']&&this['focusNode']==_0x1435d2['focusNode']&&this['focusOffset']==_0x1435d2['focusOffset'];}['setRange'](_0x2827f5){let {anchorNode:_0x1bbd99,focusNode:_0x172791}=_0x2827f5;this['set'](_0x1bbd99,Math['min'](_0x2827f5['anchorOffset'],_0x1bbd99?maxOffset(_0x1bbd99):0x0),_0x172791,Math['min'](_0x2827f5['focusOffset'],_0x172791?maxOffset(_0x172791):0x0));}['set'](_0x452355,_0x421e60,_0x5ca998,_0x4cdc84){this['anchorNode']=_0x452355,this['anchorOffset']=_0x421e60,this['focusNode']=_0x5ca998,this['focusOffset']=_0x4cdc84;}}let preventScrollSupported=null,scratchRange;function focusPreventScroll(_0x4a792a){if(_0x4a792a['setActive'])return _0x4a792a['setActive']();if(preventScrollSupported)return _0x4a792a['focus'](preventScrollSupported);let _0x196313=[];for(let _0xdd5390=_0x4a792a;_0xdd5390&&(_0x196313['push'](_0xdd5390,_0xdd5390['scrollTop'],_0xdd5390['scrollLeft']),_0xdd5390!=_0xdd5390['ownerDocument']);_0xdd5390=_0xdd5390['parentNode']);if(_0x4a792a['focus'](null==preventScrollSupported?{get 'preventScroll'(){return preventScrollSupported={'preventScroll':!0x0},!0x0;}}:void 0x0),!preventScrollSupported){preventScrollSupported=!0x1;for(let _0x3a0a3d=0x0;_0x3a0a3d<_0x196313['length'];){let _0x614d46=_0x196313[_0x3a0a3d++],_0x24ad69=_0x196313[_0x3a0a3d++],_0xfe9a7d=_0x196313[_0x3a0a3d++];_0x614d46['scrollTop']!=_0x24ad69&&(_0x614d46['scrollTop']=_0x24ad69),_0x614d46['scrollLeft']!=_0xfe9a7d&&(_0x614d46['scrollLeft']=_0xfe9a7d);}}}function textRange(_0x330120,_0x122661,_0x3d3c5f=_0x122661){let _0x374e79=scratchRange||(scratchRange=document['createRange']());return _0x374e79['setEnd'](_0x330120,_0x3d3c5f),_0x374e79['setStart'](_0x330120,_0x122661),_0x374e79;}function dispatchKey(_0x1a2760,_0x50e7d9,_0x597694,_0x1db79a){let _0x90d387={'key':_0x50e7d9,'code':_0x50e7d9,'keyCode':_0x597694,'which':_0x597694,'cancelable':!0x0};_0x1db79a&&({altKey:_0x90d387['altKey'],ctrlKey:_0x90d387['ctrlKey'],shiftKey:_0x90d387['shiftKey'],metaKey:_0x90d387['metaKey']}=_0x1db79a);let _0x5c3529=new KeyboardEvent('keydown',_0x90d387);_0x5c3529['synthetic']=!0x0,_0x1a2760['dispatchEvent'](_0x5c3529);let _0x22a46b=new KeyboardEvent('keyup',_0x90d387);return _0x22a46b['synthetic']=!0x0,_0x1a2760['dispatchEvent'](_0x22a46b),_0x5c3529['defaultPrevented']||_0x22a46b['defaultPrevented'];}function getRoot(_0x383b92){for(;_0x383b92;){if(_0x383b92&&(0x9==_0x383b92['nodeType']||0xb==_0x383b92['nodeType']&&_0x383b92['host']))return _0x383b92;_0x383b92=_0x383b92['assignedSlot']||_0x383b92['parentNode'];}return null;}function clearAttributes(_0x2f20f1){for(;_0x2f20f1['attributes']['length'];)_0x2f20f1['removeAttributeNode'](_0x2f20f1['attributes'][0x0]);}function atElementStart(_0x209630,_0x3c8622){let _0x4c0d4a=_0x3c8622['focusNode'],_0x1388c4=_0x3c8622['focusOffset'];if(!_0x4c0d4a||_0x3c8622['anchorNode']!=_0x4c0d4a||_0x3c8622['anchorOffset']!=_0x1388c4)return!0x1;for(_0x1388c4=Math['min'](_0x1388c4,maxOffset(_0x4c0d4a));;)if(_0x1388c4){if(0x1!=_0x4c0d4a['nodeType'])return!0x1;let _0x1446fa=_0x4c0d4a['childNodes'][_0x1388c4-0x1];'false'==_0x1446fa['contentEditable']?_0x1388c4--:(_0x4c0d4a=_0x1446fa,_0x1388c4=maxOffset(_0x4c0d4a));}else{if(_0x4c0d4a==_0x209630)return!0x0;_0x1388c4=_0x563332(_0x4c0d4a),_0x4c0d4a=_0x4c0d4a['parentNode'];}}function isScrolledToBottom(_0x2a2369){return _0x2a2369['scrollTop']>Math['max'](0x1,_0x2a2369['scrollHeight']-_0x2a2369['clientHeight']-0x4);}function textNodeBefore(_0x3558bb,_0x527968){for(let _0x74494d=_0x3558bb,_0x42f12c=_0x527968;;){if(0x3==_0x74494d['nodeType']&&_0x42f12c>0x0)return{'node':_0x74494d,'offset':_0x42f12c};if(0x1==_0x74494d['nodeType']&&_0x42f12c>0x0){if('false'==_0x74494d['contentEditable'])return null;_0x74494d=_0x74494d['childNodes'][_0x42f12c-0x1],_0x42f12c=maxOffset(_0x74494d);}else{if(!_0x74494d['parentNode']||isBlockElement(_0x74494d))return null;_0x42f12c=_0x563332(_0x74494d),_0x74494d=_0x74494d['parentNode'];}}}function textNodeAfter(_0x2d7476,_0x9bae78){for(let _0x55bfa9=_0x2d7476,_0x16e9f2=_0x9bae78;;){if(0x3==_0x55bfa9['nodeType']&&_0x16e9f2<_0x55bfa9['nodeValue']['length'])return{'node':_0x55bfa9,'offset':_0x16e9f2};if(0x1==_0x55bfa9['nodeType']&&_0x16e9f2<_0x55bfa9['childNodes']['length']){if('false'==_0x55bfa9['contentEditable'])return null;_0x55bfa9=_0x55bfa9['childNodes'][_0x16e9f2],_0x16e9f2=0x0;}else{if(!_0x55bfa9['parentNode']||isBlockElement(_0x55bfa9))return null;_0x16e9f2=_0x563332(_0x55bfa9)+0x1,_0x55bfa9=_0x55bfa9['parentNode'];}}}_0x28109e['safari']&&_0x28109e['safari_version']>=0x1a&&(preventScrollSupported=!0x1);class _0x4839d2{constructor(_0x4b3d7d,_0x19c003,_0x1a91cc=!0x0){this['node']=_0x4b3d7d,this['offset']=_0x19c003,this['precise']=_0x1a91cc;}static['before'](_0x20b619,_0x2a85f3){return new _0x4839d2(_0x20b619['parentNode'],_0x563332(_0x20b619),_0x2a85f3);}static['after'](_0x5150ad,_0x271f13){return new _0x4839d2(_0x5150ad['parentNode'],_0x563332(_0x5150ad)+0x1,_0x271f13);}}const _0x5b09b7=[];class ContentView{constructor(){this['parent']=null,this['dom']=null,this['flags']=0x2;}get['overrideDOMText'](){return null;}get['posAtStart'](){return this['parent']?this['parent']['posBefore'](this):0x0;}get['posAtEnd'](){return this['posAtStart']+this['length'];}['posBefore'](_0x58060d){let _0x354ced=this['posAtStart'];for(let _0x245c4d of this['children']){if(_0x245c4d==_0x58060d)return _0x354ced;_0x354ced+=_0x245c4d['length']+_0x245c4d['breakAfter'];}throw new RangeError('Invalid\x20child\x20in\x20posBefore');}['posAfter'](_0x5abe72){return this['posBefore'](_0x5abe72)+_0x5abe72['length'];}['sync'](_0x1e4a05,_0x3fec3c){if(0x2&this['flags']){let _0x21f8a1,_0x51ad66=this['dom'],_0x24b6fe=null;for(let _0xb58762 of this['children']){if(0x7&_0xb58762['flags']){if(!_0xb58762['dom']&&(_0x21f8a1=_0x24b6fe?_0x24b6fe['nextSibling']:_0x51ad66['firstChild'])){let _0x26ed1b=ContentView['get'](_0x21f8a1);(!_0x26ed1b||!_0x26ed1b['parent']&&_0x26ed1b['canReuseDOM'](_0xb58762))&&_0xb58762['reuseDOM'](_0x21f8a1);}_0xb58762['sync'](_0x1e4a05,_0x3fec3c),_0xb58762['flags']&=-0x8;}if(_0x21f8a1=_0x24b6fe?_0x24b6fe['nextSibling']:_0x51ad66['firstChild'],_0x3fec3c&&!_0x3fec3c['written']&&_0x3fec3c['node']==_0x51ad66&&_0x21f8a1!=_0xb58762['dom']&&(_0x3fec3c['written']=!0x0),_0xb58762['dom']['parentNode']==_0x51ad66){for(;_0x21f8a1&&_0x21f8a1!=_0xb58762['dom'];)_0x21f8a1=_0x34c343(_0x21f8a1);}else _0x51ad66['insertBefore'](_0xb58762['dom'],_0x21f8a1);_0x24b6fe=_0xb58762['dom'];}for(_0x21f8a1=_0x24b6fe?_0x24b6fe['nextSibling']:_0x51ad66['firstChild'],_0x21f8a1&&_0x3fec3c&&_0x3fec3c['node']==_0x51ad66&&(_0x3fec3c['written']=!0x0);_0x21f8a1;)_0x21f8a1=_0x34c343(_0x21f8a1);}else{if(0x1&this['flags']){for(let _0x57118f of this['children'])0x7&_0x57118f['flags']&&(_0x57118f['sync'](_0x1e4a05,_0x3fec3c),_0x57118f['flags']&=-0x8);}}}['reuseDOM'](_0x3cae38){}['localPosFromDOM'](_0x11810a,_0x49ecdd){let _0x7db7ca;if(_0x11810a==this['dom'])_0x7db7ca=this['dom']['childNodes'][_0x49ecdd];else{let _0x3e4d73=0x0==maxOffset(_0x11810a)?0x0:0x0==_0x49ecdd?-0x1:0x1;for(;;){let _0x528eeb=_0x11810a['parentNode'];if(_0x528eeb==this['dom'])break;0x0==_0x3e4d73&&_0x528eeb['firstChild']!=_0x528eeb['lastChild']&&(_0x3e4d73=_0x11810a==_0x528eeb['firstChild']?-0x1:0x1),_0x11810a=_0x528eeb;}_0x7db7ca=_0x3e4d73<0x0?_0x11810a:_0x11810a['nextSibling'];}if(_0x7db7ca==this['dom']['firstChild'])return 0x0;for(;_0x7db7ca&&!ContentView['get'](_0x7db7ca);)_0x7db7ca=_0x7db7ca['nextSibling'];if(!_0x7db7ca)return this['length'];for(let _0x63ce6d=0x0,_0x27d2ea=0x0;;_0x63ce6d++){let _0x41247b=this['children'][_0x63ce6d];if(_0x41247b['dom']==_0x7db7ca)return _0x27d2ea;_0x27d2ea+=_0x41247b['length']+_0x41247b['breakAfter'];}}['domBoundsAround'](_0x2e1f01,_0x347cac,_0x548c47=0x0){let _0x36bb34=-0x1,_0x5bbce5=-0x1,_0x2f5ff0=-0x1,_0x3b5616=-0x1;for(let _0x1ad6de=0x0,_0x2be27c=_0x548c47,_0x139457=_0x548c47;_0x1ad6de<this['children']['length'];_0x1ad6de++){let _0x548511=this['children'][_0x1ad6de],_0x5397fe=_0x2be27c+_0x548511['length'];if(_0x2be27c<_0x2e1f01&&_0x5397fe>_0x347cac)return _0x548511['domBoundsAround'](_0x2e1f01,_0x347cac,_0x2be27c);if(_0x5397fe>=_0x2e1f01&&-0x1==_0x36bb34&&(_0x36bb34=_0x1ad6de,_0x5bbce5=_0x2be27c),_0x2be27c>_0x347cac&&_0x548511['dom']['parentNode']==this['dom']){_0x2f5ff0=_0x1ad6de,_0x3b5616=_0x139457;break;}_0x139457=_0x5397fe,_0x2be27c=_0x5397fe+_0x548511['breakAfter'];}return{'from':_0x5bbce5,'to':_0x3b5616<0x0?_0x548c47+this['length']:_0x3b5616,'startDOM':(_0x36bb34?this['children'][_0x36bb34-0x1]['dom']['nextSibling']:null)||this['dom']['firstChild'],'endDOM':_0x2f5ff0<this['children']['length']&&_0x2f5ff0>=0x0?this['children'][_0x2f5ff0]['dom']:null};}['markDirty'](_0x1d67b3=!0x1){this['flags']|=0x2,this['markParentsDirty'](_0x1d67b3);}['markParentsDirty'](_0x535848){for(let _0x31a2d4=this['parent'];_0x31a2d4;_0x31a2d4=_0x31a2d4['parent']){if(_0x535848&&(_0x31a2d4['flags']|=0x2),0x1&_0x31a2d4['flags'])return;_0x31a2d4['flags']|=0x1,_0x535848=!0x1;}}['setParent'](_0x1f04fa){this['parent']!=_0x1f04fa&&(this['parent']=_0x1f04fa,0x7&this['flags']&&this['markParentsDirty'](!0x0));}['setDOM'](_0xf43f1c){this['dom']!=_0xf43f1c&&(this['dom']&&(this['dom']['cmView']=null),this['dom']=_0xf43f1c,_0xf43f1c['cmView']=this);}get['rootView'](){for(let _0x42f991=this;;){let _0x59cf7b=_0x42f991['parent'];if(!_0x59cf7b)return _0x42f991;_0x42f991=_0x59cf7b;}}['replaceChildren'](_0x4d08da,_0x5d606b,_0x367904=_0x5b09b7){this['markDirty']();for(let _0xc95c96=_0x4d08da;_0xc95c96<_0x5d606b;_0xc95c96++){let _0x2f6766=this['children'][_0xc95c96];_0x2f6766['parent']==this&&_0x367904['indexOf'](_0x2f6766)<0x0&&_0x2f6766['destroy']();}_0x367904['length']<0xfa?this['children']['splice'](_0x4d08da,_0x5d606b-_0x4d08da,..._0x367904):this['children']=[]['concat'](this['children']['slice'](0x0,_0x4d08da),_0x367904,this['children']['slice'](_0x5d606b));for(let _0x31f79a=0x0;_0x31f79a<_0x367904['length'];_0x31f79a++)_0x367904[_0x31f79a]['setParent'](this);}['ignoreMutation'](_0x2655fb){return!0x1;}['ignoreEvent'](_0x5ec2e6){return!0x1;}['childCursor'](_0x49615f=this['length']){return new _0x38fc7a(this['children'],_0x49615f,this['children']['length']);}['childPos'](_0x82dc19,_0x4a2c4a=0x1){return this['childCursor']()['findPos'](_0x82dc19,_0x4a2c4a);}['toString'](){let _0x241224=this['constructor']['name']['replace']('View','');return _0x241224+(this['children']['length']?'('+this['children']['join']()+')':this['length']?'['+('Text'==_0x241224?this['text']:this['length'])+']':'')+(this['breakAfter']?'#':'');}static['get'](_0x2f34f5){return _0x2f34f5['cmView'];}get['isEditable'](){return!0x0;}get['isWidget'](){return!0x1;}get['isHidden'](){return!0x1;}['merge'](_0x3b7a0c,_0xe1cdf7,_0xea2f45,_0x1e7c12,_0x47b1c0,_0x43bdb9){return!0x1;}['become'](_0x38b3eb){return!0x1;}['canReuseDOM'](_0x5e8200){return _0x5e8200['constructor']==this['constructor']&&!(0x8&(this['flags']|_0x5e8200['flags']));}['getSide'](){return 0x0;}['destroy'](){for(let _0x1ff99f of this['children'])_0x1ff99f['parent']==this&&_0x1ff99f['destroy']();this['parent']=null;}}function _0x34c343(_0x3a0e2b){let _0x59dff5=_0x3a0e2b['nextSibling'];return _0x3a0e2b['parentNode']['removeChild'](_0x3a0e2b),_0x59dff5;}ContentView['prototype']['breakAfter']=0x0;class _0x38fc7a{constructor(_0x20acc0,_0x35f9fa,_0x5efa78){this['children']=_0x20acc0,this['pos']=_0x35f9fa,this['i']=_0x5efa78,this['off']=0x0;}['findPos'](_0x1b73c4,_0x5afcfe=0x1){for(;;){if(_0x1b73c4>this['pos']||_0x1b73c4==this['pos']&&(_0x5afcfe>0x0||0x0==this['i']||this['children'][this['i']-0x1]['breakAfter']))return this['off']=_0x1b73c4-this['pos'],this;let _0x3fb00d=this['children'][--this['i']];this['pos']-=_0x3fb00d['length']+_0x3fb00d['breakAfter'];}}}function _0x59f919(_0x5f183f,_0x57464d,_0x28aa22,_0x851894,_0x5a304b,_0x693e8c,_0x3ead24,_0x41032c,_0x5149f7){let {children:_0x2d5f4c}=_0x5f183f,_0x3ae4e0=_0x2d5f4c['length']?_0x2d5f4c[_0x57464d]:null,_0x35f8d7=_0x693e8c['length']?_0x693e8c[_0x693e8c['length']-0x1]:null,_0x2c37c7=_0x35f8d7?_0x35f8d7['breakAfter']:_0x3ead24;if(!(_0x57464d==_0x851894&&_0x3ae4e0&&!_0x3ead24&&!_0x2c37c7&&_0x693e8c['length']<0x2&&_0x3ae4e0['merge'](_0x28aa22,_0x5a304b,_0x693e8c['length']?_0x35f8d7:null,0x0==_0x28aa22,_0x41032c,_0x5149f7))){if(_0x851894<_0x2d5f4c['length']){let _0x32eac8=_0x2d5f4c[_0x851894];_0x32eac8&&(_0x5a304b<_0x32eac8['length']||_0x32eac8['breakAfter']&&(null==_0x35f8d7?void 0x0:_0x35f8d7['breakAfter']))?(_0x57464d==_0x851894&&(_0x32eac8=_0x32eac8['split'](_0x5a304b),_0x5a304b=0x0),!_0x2c37c7&&_0x35f8d7&&_0x32eac8['merge'](0x0,_0x5a304b,_0x35f8d7,!0x0,0x0,_0x5149f7)?_0x693e8c[_0x693e8c['length']-0x1]=_0x32eac8:((_0x5a304b||_0x32eac8['children']['length']&&!_0x32eac8['children'][0x0]['length'])&&_0x32eac8['merge'](0x0,_0x5a304b,null,!0x1,0x0,_0x5149f7),_0x693e8c['push'](_0x32eac8))):(null==_0x32eac8?void 0x0:_0x32eac8['breakAfter'])&&(_0x35f8d7?_0x35f8d7['breakAfter']=0x1:_0x3ead24=0x1),_0x851894++;}for(_0x3ae4e0&&(_0x3ae4e0['breakAfter']=_0x3ead24,_0x28aa22>0x0&&(!_0x3ead24&&_0x693e8c['length']&&_0x3ae4e0['merge'](_0x28aa22,_0x3ae4e0['length'],_0x693e8c[0x0],!0x1,_0x41032c,0x0)?_0x3ae4e0['breakAfter']=_0x693e8c['shift']()['breakAfter']:(_0x28aa22<_0x3ae4e0['length']||_0x3ae4e0['children']['length']&&0x0==_0x3ae4e0['children'][_0x3ae4e0['children']['length']-0x1]['length'])&&_0x3ae4e0['merge'](_0x28aa22,_0x3ae4e0['length'],null,!0x1,_0x41032c,0x0),_0x57464d++));_0x57464d<_0x851894&&_0x693e8c['length'];)if(_0x2d5f4c[_0x851894-0x1]['become'](_0x693e8c[_0x693e8c['length']-0x1]))_0x851894--,_0x693e8c['pop'](),_0x5149f7=_0x693e8c['length']?0x0:_0x41032c;else{if(!_0x2d5f4c[_0x57464d]['become'](_0x693e8c[0x0]))break;_0x57464d++,_0x693e8c['shift'](),_0x41032c=_0x693e8c['length']?0x0:_0x5149f7;}!_0x693e8c['length']&&_0x57464d&&_0x851894<_0x2d5f4c['length']&&!_0x2d5f4c[_0x57464d-0x1]['breakAfter']&&_0x2d5f4c[_0x851894]['merge'](0x0,0x0,_0x2d5f4c[_0x57464d-0x1],!0x1,_0x41032c,_0x5149f7)&&_0x57464d--,(_0x57464d<_0x851894||_0x693e8c['length'])&&_0x5f183f['replaceChildren'](_0x57464d,_0x851894,_0x693e8c);}}function mergeChildrenInto(_0x544c38,_0x37ab0e,_0x5e47c8,_0xfc59aa,_0x1a434f,_0x157834){let _0x3b78f2=_0x544c38['childCursor'](),{i:_0x40dfc4,off:_0x2f5a77}=_0x3b78f2['findPos'](_0x5e47c8,0x1),{i:_0x53db5b,off:_0x3d6337}=_0x3b78f2['findPos'](_0x37ab0e,-0x1),_0x4fd3fc=_0x37ab0e-_0x5e47c8;for(let _0x25042d of _0xfc59aa)_0x4fd3fc+=_0x25042d['length'];_0x544c38['length']+=_0x4fd3fc,_0x59f919(_0x544c38,_0x53db5b,_0x3d6337,_0x40dfc4,_0x2f5a77,_0xfc59aa,0x0,_0x1a434f,_0x157834);}const _0x3713a7=0x100;class TextView extends ContentView{constructor(_0x3e9b7c){super(),this['text']=_0x3e9b7c;}get['length'](){return this['text']['length'];}['createDOM'](_0x54e8b2){this['setDOM'](_0x54e8b2||document['createTextNode'](this['text']));}['sync'](_0x213a8f,_0x17b05e){this['dom']||this['createDOM'](),this['dom']['nodeValue']!=this['text']&&(_0x17b05e&&_0x17b05e['node']==this['dom']&&(_0x17b05e['written']=!0x0),this['dom']['nodeValue']=this['text']);}['reuseDOM'](_0x10a9b9){0x3==_0x10a9b9['nodeType']&&this['createDOM'](_0x10a9b9);}['merge'](_0x3800ab,_0x41b5b0,_0x313ac4){return!(0x8&this['flags']||_0x313ac4&&(!(_0x313ac4 instanceof TextView)||this['length']-(_0x41b5b0-_0x3800ab)+_0x313ac4['length']>_0x3713a7||0x8&_0x313ac4['flags']))&&(this['text']=this['text']['slice'](0x0,_0x3800ab)+(_0x313ac4?_0x313ac4['text']:'')+this['text']['slice'](_0x41b5b0),this['markDirty'](),!0x0);}['split'](_0xe4ef96){let _0x3aa813=new TextView(this['text']['slice'](_0xe4ef96));return this['text']=this['text']['slice'](0x0,_0xe4ef96),this['markDirty'](),_0x3aa813['flags']|=0x8&this['flags'],_0x3aa813;}['localPosFromDOM'](_0x50a1e5,_0x428810){return _0x50a1e5==this['dom']?_0x428810:_0x428810?this['text']['length']:0x0;}['domAtPos'](_0x4090ba){return new _0x4839d2(this['dom'],_0x4090ba);}['domBoundsAround'](_0x5dfcdd,_0x20cdf0,_0x5a7ed6){return{'from':_0x5a7ed6,'to':_0x5a7ed6+this['length'],'startDOM':this['dom'],'endDOM':this['dom']['nextSibling']};}['coordsAt'](_0xf51173,_0x3b5d33){return textCoords(this['dom'],_0xf51173,_0x3b5d33);}}class _0x5dcd9c extends ContentView{constructor(_0x287b3b,_0x577f12=[],_0x2eb2db=0x0){super(),this['mark']=_0x287b3b,this['children']=_0x577f12,this['length']=_0x2eb2db;for(let _0x518581 of _0x577f12)_0x518581['setParent'](this);}['setAttrs'](_0x3da884){if(clearAttributes(_0x3da884),this['mark']['class']&&(_0x3da884['className']=this['mark']['class']),this['mark']['attrs']){for(let _0x4fb5af in this['mark']['attrs'])_0x3da884['setAttribute'](_0x4fb5af,this['mark']['attrs'][_0x4fb5af]);}return _0x3da884;}['canReuseDOM'](_0x501bca){return super['canReuseDOM'](_0x501bca)&&!(0x8&(this['flags']|_0x501bca['flags']));}['reuseDOM'](_0x377dcb){_0x377dcb['nodeName']==this['mark']['tagName']['toUpperCase']()&&(this['setDOM'](_0x377dcb),this['flags']|=0x6);}['sync'](_0x1871ea,_0x20056f){this['dom']?0x4&this['flags']&&this['setAttrs'](this['dom']):this['setDOM'](this['setAttrs'](document['createElement'](this['mark']['tagName']))),super['sync'](_0x1871ea,_0x20056f);}['merge'](_0x1967aa,_0x270b1d,_0x4ce5d2,_0x460c6c,_0x28d66a,_0x43357c){return(!_0x4ce5d2||!(!(_0x4ce5d2 instanceof _0x5dcd9c&&_0x4ce5d2['mark']['eq'](this['mark']))||_0x1967aa&&_0x28d66a<=0x0||_0x270b1d<this['length']&&_0x43357c<=0x0))&&(mergeChildrenInto(this,_0x1967aa,_0x270b1d,_0x4ce5d2?_0x4ce5d2['children']['slice']():[],_0x28d66a-0x1,_0x43357c-0x1),this['markDirty'](),!0x0);}['split'](_0x131cc7){let _0x52a2dc=[],_0x424280=0x0,_0xe83973=-0x1,_0x5b5dcc=0x0;for(let _0x333ad5 of this['children']){let _0x500535=_0x424280+_0x333ad5['length'];_0x500535>_0x131cc7&&_0x52a2dc['push'](_0x424280<_0x131cc7?_0x333ad5['split'](_0x131cc7-_0x424280):_0x333ad5),_0xe83973<0x0&&_0x424280>=_0x131cc7&&(_0xe83973=_0x5b5dcc),_0x424280=_0x500535,_0x5b5dcc++;}let _0x13fb82=this['length']-_0x131cc7;return this['length']=_0x131cc7,_0xe83973>-0x1&&(this['children']['length']=_0xe83973,this['markDirty']()),new _0x5dcd9c(this['mark'],_0x52a2dc,_0x13fb82);}['domAtPos'](_0x305bb3){return inlineDOMAtPos(this,_0x305bb3);}['coordsAt'](_0x2cdf6b,_0x5588ec){return _0x4babe6(this,_0x2cdf6b,_0x5588ec);}}function textCoords(_0x1fb5de,_0xbda8a1,_0x5bfbf3){let _0x37e7fc=_0x1fb5de['nodeValue']['length'];_0xbda8a1>_0x37e7fc&&(_0xbda8a1=_0x37e7fc);let _0x283b9c=_0xbda8a1,_0x2df433=_0xbda8a1,_0x7ed018=0x0;0x0==_0xbda8a1&&_0x5bfbf3<0x0||_0xbda8a1==_0x37e7fc&&_0x5bfbf3>=0x0?_0x28109e['chrome']||_0x28109e['gecko']||(_0xbda8a1?(_0x283b9c--,_0x7ed018=0x1):_0x2df433<_0x37e7fc&&(_0x2df433++,_0x7ed018=-0x1)):_0x5bfbf3<0x0?_0x283b9c--:_0x2df433<_0x37e7fc&&_0x2df433++;let _0x28249d=textRange(_0x1fb5de,_0x283b9c,_0x2df433)['getClientRects']();if(!_0x28249d['length'])return null;let _0x4aa40a=_0x28249d[(_0x7ed018?_0x7ed018<0x0:_0x5bfbf3>=0x0)?0x0:_0x28249d['length']-0x1];return _0x28109e['safari']&&!_0x7ed018&&0x0==_0x4aa40a['width']&&(_0x4aa40a=Array['prototype']['find']['call'](_0x28249d,_0x349a0b=>_0x349a0b['width'])||_0x4aa40a),_0x7ed018?flattenRect(_0x4aa40a,_0x7ed018<0x0):_0x4aa40a||null;}class WidgetView extends ContentView{static['create'](_0xd203b4,_0x4f0c0e,_0x27221f){return new WidgetView(_0xd203b4,_0x4f0c0e,_0x27221f);}constructor(_0x30ce85,_0x8cb446,_0x4c0088){super(),this['widget']=_0x30ce85,this['length']=_0x8cb446,this['side']=_0x4c0088,this['prevWidget']=null;}['split'](_0x26f723){let _0x547fb7=WidgetView['create'](this['widget'],this['length']-_0x26f723,this['side']);return this['length']-=_0x26f723,_0x547fb7;}['sync'](_0x139ce1){this['dom']&&this['widget']['updateDOM'](this['dom'],_0x139ce1)||(this['dom']&&this['prevWidget']&&this['prevWidget']['destroy'](this['dom']),this['prevWidget']=null,this['setDOM'](this['widget']['toDOM'](_0x139ce1)),this['widget']['editable']||(this['dom']['contentEditable']='false'));}['getSide'](){return this['side'];}['merge'](_0xb9f92e,_0x4d5773,_0x41e46c,_0x447e19,_0x2550b7,_0x4a28d8){return!(_0x41e46c&&(!(_0x41e46c instanceof WidgetView&&this['widget']['compare'](_0x41e46c['widget']))||_0xb9f92e>0x0&&_0x2550b7<=0x0||_0x4d5773<this['length']&&_0x4a28d8<=0x0))&&(this['length']=_0xb9f92e+(_0x41e46c?_0x41e46c['length']:0x0)+(this['length']-_0x4d5773),!0x0);}['become'](_0x1c129c){return _0x1c129c instanceof WidgetView&&_0x1c129c['side']==this['side']&&this['widget']['constructor']==_0x1c129c['widget']['constructor']&&(this['widget']['compare'](_0x1c129c['widget'])||this['markDirty'](!0x0),this['dom']&&!this['prevWidget']&&(this['prevWidget']=this['widget']),this['widget']=_0x1c129c['widget'],this['length']=_0x1c129c['length'],!0x0);}['ignoreMutation'](){return!0x0;}['ignoreEvent'](_0x29c888){return this['widget']['ignoreEvent'](_0x29c888);}get['overrideDOMText'](){if(0x0==this['length'])return Text['empty'];let _0x3766f1=this;for(;_0x3766f1['parent'];)_0x3766f1=_0x3766f1['parent'];let {view:_0x13ca16}=_0x3766f1,_0x2ffa90=_0x13ca16&&_0x13ca16['state']['doc'],_0x19c7e1=this['posAtStart'];return _0x2ffa90?_0x2ffa90['slice'](_0x19c7e1,_0x19c7e1+this['length']):Text['empty'];}['domAtPos'](_0x4ce3b6){return(this['length']?0x0==_0x4ce3b6:this['side']>0x0)?_0x4839d2['before'](this['dom']):_0x4839d2['after'](this['dom'],_0x4ce3b6==this['length']);}['domBoundsAround'](){return null;}['coordsAt'](_0xdff20b,_0x4d764c){let _0x39f911=this['widget']['coordsAt'](this['dom'],_0xdff20b,_0x4d764c);if(_0x39f911)return _0x39f911;let _0x1206f2=this['dom']['getClientRects'](),_0x26c85b=null;if(!_0x1206f2['length'])return null;let _0x2651de=this['side']?this['side']<0x0:_0xdff20b>0x0;for(let _0x4e36e3=_0x2651de?_0x1206f2['length']-0x1:0x0;_0x26c85b=_0x1206f2[_0x4e36e3],!(_0xdff20b>0x0?0x0==_0x4e36e3:_0x4e36e3==_0x1206f2['length']-0x1||_0x26c85b['top']<_0x26c85b['bottom']);_0x4e36e3+=_0x2651de?-0x1:0x1);return flattenRect(_0x26c85b,!_0x2651de);}get['isEditable'](){return!0x1;}get['isWidget'](){return!0x0;}get['isHidden'](){return this['widget']['isHidden'];}['destroy'](){super['destroy'](),this['dom']&&this['widget']['destroy'](this['dom']);}}class WidgetBufferView extends ContentView{constructor(_0x239c1e){super(),this['side']=_0x239c1e;}get['length'](){return 0x0;}['merge'](){return!0x1;}['become'](_0xeea476){return _0xeea476 instanceof WidgetBufferView&&_0xeea476['side']==this['side'];}['split'](){return new WidgetBufferView(this['side']);}['sync'](){if(!this['dom']){let _0x19f0ff=document['createElement']('img');_0x19f0ff['className']='cm-widgetBuffer',_0x19f0ff['setAttribute']('aria-hidden','true'),this['setDOM'](_0x19f0ff);}}['getSide'](){return this['side'];}['domAtPos'](_0x10abc9){return this['side']>0x0?_0x4839d2['before'](this['dom']):_0x4839d2['after'](this['dom']);}['localPosFromDOM'](){return 0x0;}['domBoundsAround'](){return null;}['coordsAt'](_0x17c4c4){return this['dom']['getBoundingClientRect']();}get['overrideDOMText'](){return Text['empty'];}get['isHidden'](){return!0x0;}}function inlineDOMAtPos(_0x154185,_0x2edf54){let _0x552315=_0x154185['dom'],{children:_0x391077}=_0x154185,_0x2da947=0x0;for(let _0x2d282f=0x0;_0x2da947<_0x391077['length'];_0x2da947++){let _0x37a68d=_0x391077[_0x2da947],_0x3988cf=_0x2d282f+_0x37a68d['length'];if(!(_0x3988cf==_0x2d282f&&_0x37a68d['getSide']()<=0x0)){if(_0x2edf54>_0x2d282f&&_0x2edf54<_0x3988cf&&_0x37a68d['dom']['parentNode']==_0x552315)return _0x37a68d['domAtPos'](_0x2edf54-_0x2d282f);if(_0x2edf54<=_0x2d282f)break;_0x2d282f=_0x3988cf;}}for(let _0x37c60a=_0x2da947;_0x37c60a>0x0;_0x37c60a--){let _0x141adf=_0x391077[_0x37c60a-0x1];if(_0x141adf['dom']['parentNode']==_0x552315)return _0x141adf['domAtPos'](_0x141adf['length']);}for(let _0x25c518=_0x2da947;_0x25c518<_0x391077['length'];_0x25c518++){let _0x3c79c6=_0x391077[_0x25c518];if(_0x3c79c6['dom']['parentNode']==_0x552315)return _0x3c79c6['domAtPos'](0x0);}return new _0x4839d2(_0x552315,0x0);}function joinInlineInto(_0x2beb4c,_0x4ecdab,_0xd5c5cd){let _0x3064cd,{children:_0x148ef9}=_0x2beb4c;_0xd5c5cd>0x0&&_0x4ecdab instanceof _0x5dcd9c&&_0x148ef9['length']&&(_0x3064cd=_0x148ef9[_0x148ef9['length']-0x1])instanceof _0x5dcd9c&&_0x3064cd['mark']['eq'](_0x4ecdab['mark'])?joinInlineInto(_0x3064cd,_0x4ecdab['children'][0x0],_0xd5c5cd-0x1):(_0x148ef9['push'](_0x4ecdab),_0x4ecdab['setParent'](_0x2beb4c)),_0x2beb4c['length']+=_0x4ecdab['length'];}function _0x4babe6(_0x5e0420,_0x3c33c8,_0x454371){let _0xca0d5=null,_0x44b8f3=-0x1,_0x2dacba=null,_0x14f9dc=-0x1;!function _0x3d9f79(_0x4ab2b6,_0x2bd105){for(let _0x21badc=0x0,_0x98783=0x0;_0x21badc<_0x4ab2b6['children']['length']&&_0x98783<=_0x2bd105;_0x21badc++){let _0x1e7b6d=_0x4ab2b6['children'][_0x21badc],_0x31c172=_0x98783+_0x1e7b6d['length'];_0x31c172>=_0x2bd105&&(_0x1e7b6d['children']['length']?_0x3d9f79(_0x1e7b6d,_0x2bd105-_0x98783):(!_0x2dacba||_0x2dacba['isHidden']&&(_0x454371>0x0||_0x3d21b3(_0x2dacba,_0x1e7b6d)))&&(_0x31c172>_0x2bd105||_0x98783==_0x31c172&&_0x1e7b6d['getSide']()>0x0)?(_0x2dacba=_0x1e7b6d,_0x14f9dc=_0x2bd105-_0x98783):(_0x98783<_0x2bd105||_0x98783==_0x31c172&&_0x1e7b6d['getSide']()<0x0&&!_0x1e7b6d['isHidden'])&&(_0xca0d5=_0x1e7b6d,_0x44b8f3=_0x2bd105-_0x98783)),_0x98783=_0x31c172;}}(_0x5e0420,_0x3c33c8);let _0x32cdc5=(_0x454371<0x0?_0xca0d5:_0x2dacba)||_0xca0d5||_0x2dacba;return _0x32cdc5?_0x32cdc5['coordsAt'](Math['max'](0x0,_0x32cdc5==_0xca0d5?_0x44b8f3:_0x14f9dc),_0x454371):fallbackRect(_0x5e0420);}function fallbackRect(_0x3edb3d){let _0x5cd2e5=_0x3edb3d['dom']['lastChild'];if(!_0x5cd2e5)return _0x3edb3d['dom']['getBoundingClientRect']();let _0x1eee80=clientRectsFor(_0x5cd2e5);return _0x1eee80[_0x1eee80['length']-0x1]||null;}function _0x3d21b3(_0x506929,_0x16b2a7){let _0x31040d=_0x506929['coordsAt'](0x0,0x1),_0x2dddc3=_0x16b2a7['coordsAt'](0x0,0x1);return _0x31040d&&_0x2dddc3&&_0x2dddc3['top']<_0x31040d['bottom'];}function combineAttrs(_0x5dab90,_0x10f850){for(let _0x2eedfe in _0x5dab90)'class'==_0x2eedfe&&_0x10f850['class']?_0x10f850['class']+='\x20'+_0x5dab90['class']:'style'==_0x2eedfe&&_0x10f850['style']?_0x10f850['style']+=';'+_0x5dab90['style']:_0x10f850[_0x2eedfe]=_0x5dab90[_0x2eedfe];return _0x10f850;}TextView['prototype']['children']=WidgetView['prototype']['children']=WidgetBufferView['prototype']['children']=_0x5b09b7;const noAttrs$1=Object['create'](null);function attrsEq(_0x502848,_0x646284,_0x4fe566){if(_0x502848==_0x646284)return!0x0;_0x502848||(_0x502848=noAttrs$1),_0x646284||(_0x646284=noAttrs$1);let _0x368970=Object['keys'](_0x502848),_0x1c3fec=Object['keys'](_0x646284);if(_0x368970['length']-(_0x4fe566&&_0x368970['indexOf'](_0x4fe566)>-0x1?0x1:0x0)!=_0x1c3fec['length']-(_0x4fe566&&_0x1c3fec['indexOf'](_0x4fe566)>-0x1?0x1:0x0))return!0x1;for(let _0x369754 of _0x368970)if(_0x369754!=_0x4fe566&&(-0x1==_0x1c3fec['indexOf'](_0x369754)||_0x502848[_0x369754]!==_0x646284[_0x369754]))return!0x1;return!0x0;}function updateAttrs(_0x33c986,_0x469e9a,_0x3c28e0){let _0x59b5da=!0x1;if(_0x469e9a){for(let _0x234d16 in _0x469e9a)_0x3c28e0&&_0x234d16 in _0x3c28e0||(_0x59b5da=!0x0,'style'==_0x234d16?_0x33c986['style']['cssText']='':_0x33c986['removeAttribute'](_0x234d16));}if(_0x3c28e0){for(let _0x2cbe8c in _0x3c28e0)_0x469e9a&&_0x469e9a[_0x2cbe8c]==_0x3c28e0[_0x2cbe8c]||(_0x59b5da=!0x0,'style'==_0x2cbe8c?_0x33c986['style']['cssText']=_0x3c28e0[_0x2cbe8c]:_0x33c986['setAttribute'](_0x2cbe8c,_0x3c28e0[_0x2cbe8c]));}return _0x59b5da;}function getAttrs$1(_0x218593){let _0xfc179a=Object['create'](null);for(let _0x52f594=0x0;_0x52f594<_0x218593['attributes']['length'];_0x52f594++){let _0x5a9537=_0x218593['attributes'][_0x52f594];_0xfc179a[_0x5a9537['name']]=_0x5a9537['value'];}return _0xfc179a;}class WidgetType{['eq'](_0x29ea52){return!0x1;}['updateDOM'](_0x4b767f,_0x550211){return!0x1;}['compare'](_0x3e7d7e){return this==_0x3e7d7e||this['constructor']==_0x3e7d7e['constructor']&&this['eq'](_0x3e7d7e);}get['estimatedHeight'](){return-0x1;}get['lineBreaks'](){return 0x0;}['ignoreEvent'](_0x4fbe5f){return!0x0;}['coordsAt'](_0x311f6a,_0x2d45ed,_0x217e1d){return null;}get['isHidden'](){return!0x1;}get['editable'](){return!0x1;}['destroy'](_0x1b4263){}}var _0x8dd476=function(_0x313125){return _0x313125[_0x313125['Text']=0x0]='Text',_0x313125[_0x313125['WidgetBefore']=0x1]='WidgetBefore',_0x313125[_0x313125['WidgetAfter']=0x2]='WidgetAfter',_0x313125[_0x313125['WidgetRange']=0x3]='WidgetRange',_0x313125;}(_0x8dd476||(_0x8dd476={}));class Decoration extends _0x4dfe15{constructor(_0x22b6b0,_0x1f9642,_0x27590e,_0xdc66b5){super(),this['startSide']=_0x22b6b0,this['endSide']=_0x1f9642,this['widget']=_0x27590e,this['spec']=_0xdc66b5;}get['heightRelevant'](){return!0x1;}static['mark'](_0x1bbc89){return new MarkDecoration(_0x1bbc89);}static['widget'](_0x1ea5ce){let _0x4129ec=Math['max'](-0x2710,Math['min'](0x2710,_0x1ea5ce['side']||0x0)),_0x4a02bf=!!_0x1ea5ce['block'];return _0x4129ec+=_0x4a02bf&&!_0x1ea5ce['inlineOrder']?_0x4129ec>0x0?0x11e1a300:-0x17d78400:_0x4129ec>0x0?0x5f5e100:-0x5f5e100,new PointDecoration(_0x1ea5ce,_0x4129ec,_0x4129ec,_0x4a02bf,_0x1ea5ce['widget']||null,!0x1);}static['replace'](_0x5216f4){let _0x239f6,_0x58345f,_0x24e7c4=!!_0x5216f4['block'];if(_0x5216f4['isBlockGap'])_0x239f6=-0x1dcd6500,_0x58345f=0x17d78400;else{let {start:_0x1068c0,end:_0x3b6ec4}=getInclusive(_0x5216f4,_0x24e7c4);_0x239f6=(_0x1068c0?_0x24e7c4?-0x11e1a300:-0x1:0x1dcd6500)-0x1,_0x58345f=0x1+(_0x3b6ec4?_0x24e7c4?0xbebc200:0x1:-0x23c34600);}return new PointDecoration(_0x5216f4,_0x239f6,_0x58345f,_0x24e7c4,_0x5216f4['widget']||null,!0x0);}static['line'](_0x28b07b){return new LineDecoration(_0x28b07b);}static['set'](_0x46b13f,_0x49ff80=!0x1){return RangeSet['of'](_0x46b13f,_0x49ff80);}['hasHeight'](){return!!this['widget']&&this['widget']['estimatedHeight']>-0x1;}}Decoration['none']=RangeSet['empty'];class MarkDecoration extends Decoration{constructor(_0x1bee88){let {start:_0x109d92,end:_0x3c5ecd}=getInclusive(_0x1bee88);super(_0x109d92?-0x1:0x1dcd6500,_0x3c5ecd?0x1:-0x23c34600,null,_0x1bee88),this['tagName']=_0x1bee88['tagName']||'span',this['class']=_0x1bee88['class']||'',this['attrs']=_0x1bee88['attributes']||null;}['eq'](_0x2f0899){var _0x311fca,_0x241118;return this==_0x2f0899||_0x2f0899 instanceof MarkDecoration&&this['tagName']==_0x2f0899['tagName']&&(this['class']||(null===(_0x311fca=this['attrs'])||void 0x0===_0x311fca?void 0x0:_0x311fca['class']))==(_0x2f0899['class']||(null===(_0x241118=_0x2f0899['attrs'])||void 0x0===_0x241118?void 0x0:_0x241118['class']))&&attrsEq(this['attrs'],_0x2f0899['attrs'],'class');}['range'](_0xa19b19,_0x2f1f92=_0xa19b19){if(_0xa19b19>=_0x2f1f92)throw new RangeError('Mark\x20decorations\x20may\x20not\x20be\x20empty');return super['range'](_0xa19b19,_0x2f1f92);}}MarkDecoration['prototype']['point']=!0x1;class LineDecoration extends Decoration{constructor(_0x57d70f){super(-0xbebc200,-0xbebc200,null,_0x57d70f);}['eq'](_0x37a424){return _0x37a424 instanceof LineDecoration&&this['spec']['class']==_0x37a424['spec']['class']&&attrsEq(this['spec']['attributes'],_0x37a424['spec']['attributes']);}['range'](_0x1bdb95,_0x2039d6=_0x1bdb95){if(_0x2039d6!=_0x1bdb95)throw new RangeError('Line\x20decoration\x20ranges\x20must\x20be\x20zero-length');return super['range'](_0x1bdb95,_0x2039d6);}}LineDecoration['prototype']['mapMode']=_0x38e9e1['TrackBefore'],LineDecoration['prototype']['point']=!0x0;class PointDecoration extends Decoration{constructor(_0x5792bd,_0x4b026f,_0x23072e,_0x24eeee,_0x3125fc,_0x141193){super(_0x4b026f,_0x23072e,_0x3125fc,_0x5792bd),this['block']=_0x24eeee,this['isReplace']=_0x141193,this['mapMode']=_0x24eeee?_0x4b026f<=0x0?_0x38e9e1['TrackBefore']:_0x38e9e1['TrackAfter']:_0x38e9e1['TrackDel'];}get['type'](){return this['startSide']!=this['endSide']?_0x8dd476['WidgetRange']:this['startSide']<=0x0?_0x8dd476['WidgetBefore']:_0x8dd476['WidgetAfter'];}get['heightRelevant'](){return this['block']||!!this['widget']&&(this['widget']['estimatedHeight']>=0x5||this['widget']['lineBreaks']>0x0);}['eq'](_0x5ba5a6){return _0x5ba5a6 instanceof PointDecoration&&widgetsEq(this['widget'],_0x5ba5a6['widget'])&&this['block']==_0x5ba5a6['block']&&this['startSide']==_0x5ba5a6['startSide']&&this['endSide']==_0x5ba5a6['endSide'];}['range'](_0x241e31,_0x2832fa=_0x241e31){if(this['isReplace']&&(_0x241e31>_0x2832fa||_0x241e31==_0x2832fa&&this['startSide']>0x0&&this['endSide']<=0x0))throw new RangeError('Invalid\x20range\x20for\x20replacement\x20decoration');if(!this['isReplace']&&_0x2832fa!=_0x241e31)throw new RangeError('Widget\x20decorations\x20can\x20only\x20have\x20zero-length\x20ranges');return super['range'](_0x241e31,_0x2832fa);}}function getInclusive(_0x18642f,_0x373c4e=!0x1){let {inclusiveStart:_0x1fa4c3,inclusiveEnd:_0x57bb56}=_0x18642f;return null==_0x1fa4c3&&(_0x1fa4c3=_0x18642f['inclusive']),null==_0x57bb56&&(_0x57bb56=_0x18642f['inclusive']),{'start':null!=_0x1fa4c3?_0x1fa4c3:_0x373c4e,'end':null!=_0x57bb56?_0x57bb56:_0x373c4e};}function widgetsEq(_0x134bbf,_0x46388f){return _0x134bbf==_0x46388f||!!(_0x134bbf&&_0x46388f&&_0x134bbf['compare'](_0x46388f));}function _0x2ba0be(_0x465cf5,_0x485d3f,_0x537c6e,_0x395278=0x0){let _0x490372=_0x537c6e['length']-0x1;_0x490372>=0x0&&_0x537c6e[_0x490372]+_0x395278>=_0x465cf5?_0x537c6e[_0x490372]=Math['max'](_0x537c6e[_0x490372],_0x485d3f):_0x537c6e['push'](_0x465cf5,_0x485d3f);}PointDecoration['prototype']['point']=!0x0;class _0x297d09 extends ContentView{constructor(){super(...arguments),this['children']=[],this['length']=0x0,this['prevAttrs']=void 0x0,this['attrs']=null,this['breakAfter']=0x0;}['merge'](_0x3eb796,_0x285741,_0x2506d5,_0x58b373,_0x4832ea,_0x146c07){if(_0x2506d5){if(!(_0x2506d5 instanceof _0x297d09))return!0x1;this['dom']||_0x2506d5['transferDOM'](this);}return _0x58b373&&this['setDeco'](_0x2506d5?_0x2506d5['attrs']:null),mergeChildrenInto(this,_0x3eb796,_0x285741,_0x2506d5?_0x2506d5['children']['slice']():[],_0x4832ea,_0x146c07),!0x0;}['split'](_0x3b2db6){let _0xc688e0=new _0x297d09();if(_0xc688e0['breakAfter']=this['breakAfter'],0x0==this['length'])return _0xc688e0;let {i:_0x47f49a,off:_0x2d78b0}=this['childPos'](_0x3b2db6);_0x2d78b0&&(_0xc688e0['append'](this['children'][_0x47f49a]['split'](_0x2d78b0),0x0),this['children'][_0x47f49a]['merge'](_0x2d78b0,this['children'][_0x47f49a]['length'],null,!0x1,0x0,0x0),_0x47f49a++);for(let _0x407d48=_0x47f49a;_0x407d48<this['children']['length'];_0x407d48++)_0xc688e0['append'](this['children'][_0x407d48],0x0);for(;_0x47f49a>0x0&&0x0==this['children'][_0x47f49a-0x1]['length'];)this['children'][--_0x47f49a]['destroy']();return this['children']['length']=_0x47f49a,this['markDirty'](),this['length']=_0x3b2db6,_0xc688e0;}['transferDOM'](_0xd9fb81){this['dom']&&(this['markDirty'](),_0xd9fb81['setDOM'](this['dom']),_0xd9fb81['prevAttrs']=void 0x0===this['prevAttrs']?this['attrs']:this['prevAttrs'],this['prevAttrs']=void 0x0,this['dom']=null);}['setDeco'](_0x4b362f){attrsEq(this['attrs'],_0x4b362f)||(this['dom']&&(this['prevAttrs']=this['attrs'],this['markDirty']()),this['attrs']=_0x4b362f);}['append'](_0x1c1032,_0x162f00){joinInlineInto(this,_0x1c1032,_0x162f00);}['addLineDeco'](_0x42990b){let _0x50064b=_0x42990b['spec']['attributes'],_0x25fb5c=_0x42990b['spec']['class'];_0x50064b&&(this['attrs']=combineAttrs(_0x50064b,this['attrs']||{})),_0x25fb5c&&(this['attrs']=combineAttrs({'class':_0x25fb5c},this['attrs']||{}));}['domAtPos'](_0x13e137){return inlineDOMAtPos(this,_0x13e137);}['reuseDOM'](_0x44e6b8){'DIV'==_0x44e6b8['nodeName']&&(this['setDOM'](_0x44e6b8),this['flags']|=0x6);}['sync'](_0x9ab27a,_0x5f11a4){var _0xdc826c;this['dom']?0x4&this['flags']&&(clearAttributes(this['dom']),this['dom']['className']='cm-line',this['prevAttrs']=this['attrs']?null:void 0x0):(this['setDOM'](document['createElement']('div')),this['dom']['className']='cm-line',this['prevAttrs']=this['attrs']?null:void 0x0),void 0x0!==this['prevAttrs']&&(updateAttrs(this['dom'],this['prevAttrs'],this['attrs']),this['dom']['classList']['add']('cm-line'),this['prevAttrs']=void 0x0),super['sync'](_0x9ab27a,_0x5f11a4);let _0x3256bf=this['dom']['lastChild'];for(;_0x3256bf&&ContentView['get'](_0x3256bf)instanceof _0x5dcd9c;)_0x3256bf=_0x3256bf['lastChild'];if(!(_0x3256bf&&this['length']&&('BR'==_0x3256bf['nodeName']||0x0!=(null===(_0xdc826c=ContentView['get'](_0x3256bf))||void 0x0===_0xdc826c?void 0x0:_0xdc826c['isEditable'])||_0x28109e['ios']&&this['children']['some'](_0x1d6d01=>_0x1d6d01 instanceof TextView)))){let _0x1304d6=document['createElement']('BR');_0x1304d6['cmIgnore']=!0x0,this['dom']['appendChild'](_0x1304d6);}}['measureTextSize'](){if(0x0==this['children']['length']||this['length']>0x14)return null;let _0x486720,_0x474e87=0x0;for(let _0x1c9ae4 of this['children']){if(!(_0x1c9ae4 instanceof TextView)||/[^ -~]/['test'](_0x1c9ae4['text']))return null;let _0x53efab=clientRectsFor(_0x1c9ae4['dom']);if(0x1!=_0x53efab['length'])return null;_0x474e87+=_0x53efab[0x0]['width'],_0x486720=_0x53efab[0x0]['height'];}return _0x474e87?{'lineHeight':this['dom']['getBoundingClientRect']()['height'],'charWidth':_0x474e87/this['length'],'textHeight':_0x486720}:null;}['coordsAt'](_0x5ad83a,_0x1ac66f){let _0x5eede8=_0x4babe6(this,_0x5ad83a,_0x1ac66f);if(!this['children']['length']&&_0x5eede8&&this['parent']){let {heightOracle:_0x5ee479}=this['parent']['view']['viewState'],_0x4f91b2=_0x5eede8['bottom']-_0x5eede8['top'];if(Math['abs'](_0x4f91b2-_0x5ee479['lineHeight'])<0x2&&_0x5ee479['textHeight']<_0x4f91b2){let _0x2e82d2=(_0x4f91b2-_0x5ee479['textHeight'])/0x2;return{'top':_0x5eede8['top']+_0x2e82d2,'bottom':_0x5eede8['bottom']-_0x2e82d2,'left':_0x5eede8['left'],'right':_0x5eede8['left']};}}return _0x5eede8;}['become'](_0x5980d5){return _0x5980d5 instanceof _0x297d09&&0x0==this['children']['length']&&0x0==_0x5980d5['children']['length']&&attrsEq(this['attrs'],_0x5980d5['attrs'])&&this['breakAfter']==_0x5980d5['breakAfter'];}['covers'](){return!0x0;}static['find'](_0x53cbc7,_0x599dc0){for(let _0x2ae56d=0x0,_0x5b162c=0x0;_0x2ae56d<_0x53cbc7['children']['length'];_0x2ae56d++){let _0x505a5a=_0x53cbc7['children'][_0x2ae56d],_0x16130a=_0x5b162c+_0x505a5a['length'];if(_0x16130a>=_0x599dc0){if(_0x505a5a instanceof _0x297d09)return _0x505a5a;if(_0x16130a>_0x599dc0)break;}_0x5b162c=_0x16130a+_0x505a5a['breakAfter'];}return null;}}class BlockWidgetView extends ContentView{constructor(_0x194473,_0x31d9d3,_0x5ae036){super(),this['widget']=_0x194473,this['length']=_0x31d9d3,this['deco']=_0x5ae036,this['breakAfter']=0x0,this['prevWidget']=null;}['merge'](_0xd3d222,_0x26e024,_0x35a3d2,_0x21d2f8,_0x1a3d88,_0x27ef14){return!(_0x35a3d2&&(!(_0x35a3d2 instanceof BlockWidgetView&&this['widget']['compare'](_0x35a3d2['widget']))||_0xd3d222>0x0&&_0x1a3d88<=0x0||_0x26e024<this['length']&&_0x27ef14<=0x0))&&(this['length']=_0xd3d222+(_0x35a3d2?_0x35a3d2['length']:0x0)+(this['length']-_0x26e024),!0x0);}['domAtPos'](_0x218159){return 0x0==_0x218159?_0x4839d2['before'](this['dom']):_0x4839d2['after'](this['dom'],_0x218159==this['length']);}['split'](_0x2f4d5d){let _0x45fc7b=this['length']-_0x2f4d5d;this['length']=_0x2f4d5d;let _0x3a4022=new BlockWidgetView(this['widget'],_0x45fc7b,this['deco']);return _0x3a4022['breakAfter']=this['breakAfter'],_0x3a4022;}get['children'](){return _0x5b09b7;}['sync'](_0x1ec9e2){this['dom']&&this['widget']['updateDOM'](this['dom'],_0x1ec9e2)||(this['dom']&&this['prevWidget']&&this['prevWidget']['destroy'](this['dom']),this['prevWidget']=null,this['setDOM'](this['widget']['toDOM'](_0x1ec9e2)),this['widget']['editable']||(this['dom']['contentEditable']='false'));}get['overrideDOMText'](){return this['parent']?this['parent']['view']['state']['doc']['slice'](this['posAtStart'],this['posAtEnd']):Text['empty'];}['domBoundsAround'](){return null;}['become'](_0x486072){return _0x486072 instanceof BlockWidgetView&&_0x486072['widget']['constructor']==this['widget']['constructor']&&(_0x486072['widget']['compare'](this['widget'])||this['markDirty'](!0x0),this['dom']&&!this['prevWidget']&&(this['prevWidget']=this['widget']),this['widget']=_0x486072['widget'],this['length']=_0x486072['length'],this['deco']=_0x486072['deco'],this['breakAfter']=_0x486072['breakAfter'],!0x0);}['ignoreMutation'](){return!0x0;}['ignoreEvent'](_0x2163a2){return this['widget']['ignoreEvent'](_0x2163a2);}get['isEditable'](){return!0x1;}get['isWidget'](){return!0x0;}['coordsAt'](_0x53c80f,_0x1cc66a){let _0x886b17=this['widget']['coordsAt'](this['dom'],_0x53c80f,_0x1cc66a);return _0x886b17||(this['widget']instanceof BlockGapWidget?null:flattenRect(this['dom']['getBoundingClientRect'](),this['length']?0x0==_0x53c80f:_0x1cc66a<=0x0));}['destroy'](){super['destroy'](),this['dom']&&this['widget']['destroy'](this['dom']);}['covers'](_0x55dc38){let {startSide:_0x26c402,endSide:_0x1f7720}=this['deco'];return _0x26c402!=_0x1f7720&&(_0x55dc38<0x0?_0x26c402<0x0:_0x1f7720>0x0);}}class BlockGapWidget extends WidgetType{constructor(_0x6e718){super(),this['height']=_0x6e718;}['toDOM'](){let _0x1e8047=document['createElement']('div');return _0x1e8047['className']='cm-gap',this['updateDOM'](_0x1e8047),_0x1e8047;}['eq'](_0x3a7431){return _0x3a7431['height']==this['height'];}['updateDOM'](_0x791681){return _0x791681['style']['height']=this['height']+'px',!0x0;}get['editable'](){return!0x0;}get['estimatedHeight'](){return this['height'];}['ignoreEvent'](){return!0x1;}}class ContentBuilder{constructor(_0x2857e6,_0x18d27a,_0x3fb68a,_0x48ffc5){this['doc']=_0x2857e6,this['pos']=_0x18d27a,this['end']=_0x3fb68a,this['disallowBlockEffectsFor']=_0x48ffc5,this['content']=[],this['curLine']=null,this['breakAtStart']=0x0,this['pendingBuffer']=0x0,this['bufferMarks']=[],this['atCursorPos']=!0x0,this['openStart']=-0x1,this['openEnd']=-0x1,this['text']='',this['textOff']=0x0,this['cursor']=_0x2857e6['iter'](),this['skip']=_0x18d27a;}['posCovered'](){if(0x0==this['content']['length'])return!this['breakAtStart']&&this['doc']['lineAt'](this['pos'])['from']!=this['pos'];let _0x39c4b9=this['content'][this['content']['length']-0x1];return!(_0x39c4b9['breakAfter']||_0x39c4b9 instanceof BlockWidgetView&&_0x39c4b9['deco']['endSide']<0x0);}['getLine'](){return this['curLine']||(this['content']['push'](this['curLine']=new _0x297d09()),this['atCursorPos']=!0x0),this['curLine'];}['flushBuffer'](_0xf20be2=this['bufferMarks']){this['pendingBuffer']&&(this['curLine']['append'](_0x5726b7(new WidgetBufferView(-0x1),_0xf20be2),_0xf20be2['length']),this['pendingBuffer']=0x0);}['addBlockWidget'](_0x5bbac3){this['flushBuffer'](),this['curLine']=null,this['content']['push'](_0x5bbac3);}['finish'](_0xe807e5){this['pendingBuffer']&&_0xe807e5<=this['bufferMarks']['length']?this['flushBuffer']():this['pendingBuffer']=0x0,this['posCovered']()||_0xe807e5&&this['content']['length']&&this['content'][this['content']['length']-0x1]instanceof BlockWidgetView||this['getLine']();}['buildText'](_0x289f70,_0x146c51,_0x53cbce){for(;_0x289f70>0x0;){if(this['textOff']==this['text']['length']){let {value:_0x1c239b,lineBreak:_0x4c6300,done:_0x459aa9}=this['cursor']['next'](this['skip']);if(this['skip']=0x0,_0x459aa9)throw new Error('Ran\x20out\x20of\x20text\x20content\x20when\x20drawing\x20inline\x20views');if(_0x4c6300){this['posCovered']()||this['getLine'](),this['content']['length']?this['content'][this['content']['length']-0x1]['breakAfter']=0x1:this['breakAtStart']=0x1,this['flushBuffer'](),this['curLine']=null,this['atCursorPos']=!0x0,_0x289f70--;continue;}this['text']=_0x1c239b,this['textOff']=0x0;}let _0x48f99e=Math['min'](this['text']['length']-this['textOff'],_0x289f70),_0x4de8c5=Math['min'](_0x48f99e,0x200);this['flushBuffer'](_0x146c51['slice'](_0x146c51['length']-_0x53cbce)),this['getLine']()['append'](_0x5726b7(new TextView(this['text']['slice'](this['textOff'],this['textOff']+_0x4de8c5)),_0x146c51),_0x53cbce),this['atCursorPos']=!0x0,this['textOff']+=_0x4de8c5,_0x289f70-=_0x4de8c5,_0x53cbce=_0x48f99e<=_0x4de8c5?0x0:_0x146c51['length'];}}['span'](_0x5d52d7,_0x336f34,_0x18f05a,_0x4972a1){this['buildText'](_0x336f34-_0x5d52d7,_0x18f05a,_0x4972a1),this['pos']=_0x336f34,this['openStart']<0x0&&(this['openStart']=_0x4972a1);}['point'](_0xdb5504,_0x426bf5,_0x5efb2b,_0x5cbc96,_0x34449a,_0x77c3e1){if(this['disallowBlockEffectsFor'][_0x77c3e1]&&_0x5efb2b instanceof PointDecoration){if(_0x5efb2b['block'])throw new RangeError('Block\x20decorations\x20may\x20not\x20be\x20specified\x20via\x20plugins');if(_0x426bf5>this['doc']['lineAt'](this['pos'])['to'])throw new RangeError('Decorations\x20that\x20replace\x20line\x20breaks\x20may\x20not\x20be\x20specified\x20via\x20plugins');}let _0x1a5dbd=_0x426bf5-_0xdb5504;if(_0x5efb2b instanceof PointDecoration){if(_0x5efb2b['block'])_0x5efb2b['startSide']>0x0&&!this['posCovered']()&&this['getLine'](),this['addBlockWidget'](new BlockWidgetView(_0x5efb2b['widget']||NullWidget['block'],_0x1a5dbd,_0x5efb2b));else{let _0x27f63a=WidgetView['create'](_0x5efb2b['widget']||NullWidget['inline'],_0x1a5dbd,_0x1a5dbd?0x0:_0x5efb2b['startSide']),_0x4bf4ae=this['atCursorPos']&&!_0x27f63a['isEditable']&&_0x34449a<=_0x5cbc96['length']&&(_0xdb5504<_0x426bf5||_0x5efb2b['startSide']>0x0),_0x7f1ca=!_0x27f63a['isEditable']&&(_0xdb5504<_0x426bf5||_0x34449a>_0x5cbc96['length']||_0x5efb2b['startSide']<=0x0),_0x3b5ec7=this['getLine']();0x2!=this['pendingBuffer']||_0x4bf4ae||_0x27f63a['isEditable']||(this['pendingBuffer']=0x0),this['flushBuffer'](_0x5cbc96),_0x4bf4ae&&(_0x3b5ec7['append'](_0x5726b7(new WidgetBufferView(0x1),_0x5cbc96),_0x34449a),_0x34449a=_0x5cbc96['length']+Math['max'](0x0,_0x34449a-_0x5cbc96['length'])),_0x3b5ec7['append'](_0x5726b7(_0x27f63a,_0x5cbc96),_0x34449a),this['atCursorPos']=_0x7f1ca,this['pendingBuffer']=_0x7f1ca?_0xdb5504<_0x426bf5||_0x34449a>_0x5cbc96['length']?0x1:0x2:0x0,this['pendingBuffer']&&(this['bufferMarks']=_0x5cbc96['slice']());}}else this['doc']['lineAt'](this['pos'])['from']==this['pos']&&this['getLine']()['addLineDeco'](_0x5efb2b);_0x1a5dbd&&(this['textOff']+_0x1a5dbd<=this['text']['length']?this['textOff']+=_0x1a5dbd:(this['skip']+=_0x1a5dbd-(this['text']['length']-this['textOff']),this['text']='',this['textOff']=0x0),this['pos']=_0x426bf5),this['openStart']<0x0&&(this['openStart']=_0x34449a);}static['build'](_0xa71693,_0x2b8115,_0x2843c5,_0x15548c,_0x39a414){let _0x1908c1=new ContentBuilder(_0xa71693,_0x2b8115,_0x2843c5,_0x39a414);return _0x1908c1['openEnd']=RangeSet['spans'](_0x15548c,_0x2b8115,_0x2843c5,_0x1908c1),_0x1908c1['openStart']<0x0&&(_0x1908c1['openStart']=_0x1908c1['openEnd']),_0x1908c1['finish'](_0x1908c1['openEnd']),_0x1908c1;}}function _0x5726b7(_0x25a719,_0x391aa2){for(let _0x434f6e of _0x391aa2)_0x25a719=new _0x5dcd9c(_0x434f6e,[_0x25a719],_0x25a719['length']);return _0x25a719;}class NullWidget extends WidgetType{constructor(_0x2fcc37){super(),this['tag']=_0x2fcc37;}['eq'](_0x4d584f){return _0x4d584f['tag']==this['tag'];}['toDOM'](){return document['createElement'](this['tag']);}['updateDOM'](_0xc2d675){return _0xc2d675['nodeName']['toLowerCase']()==this['tag'];}get['isHidden'](){return!0x0;}}NullWidget['inline']=new NullWidget('span'),NullWidget['block']=new NullWidget('div');var Direction=function(_0x12abfb){return _0x12abfb[_0x12abfb['LTR']=0x0]='LTR',_0x12abfb[_0x12abfb['RTL']=0x1]='RTL',_0x12abfb;}(Direction||(Direction={}));const _0x32d5ea=Direction['LTR'],_0x29a618=Direction['RTL'];function _0x13f537(_0x534ccb){let _0x3ef26e=[];for(let _0x1b2748=0x0;_0x1b2748<_0x534ccb['length'];_0x1b2748++)_0x3ef26e['push'](0x1<<+_0x534ccb[_0x1b2748]);return _0x3ef26e;}const _0x34758a=_0x13f537('88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008'),_0x2cbdb7=_0x13f537('4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333'),Brackets=Object['create'](null),BracketStack=[];for(let _0x13cd98 of['()','[]','{}']){let _0x5609fd=_0x13cd98['charCodeAt'](0x0),_0x1da4b3=_0x13cd98['charCodeAt'](0x1);Brackets[_0x5609fd]=_0x1da4b3,Brackets[_0x1da4b3]=-_0x5609fd;}function _0x483b75(_0x3405c3){return _0x3405c3<=0xf7?_0x34758a[_0x3405c3]:0x590<=_0x3405c3&&_0x3405c3<=0x5f4?0x2:0x600<=_0x3405c3&&_0x3405c3<=0x6f9?_0x2cbdb7[_0x3405c3-0x600]:0x6ee<=_0x3405c3&&_0x3405c3<=0x8ac?0x4:0x2000<=_0x3405c3&&_0x3405c3<=0x200c?0x100:0xfb50<=_0x3405c3&&_0x3405c3<=0xfdff?0x4:0x1;}const _0x391c8d=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class _0x1439bf{get['dir'](){return this['level']%0x2?_0x29a618:_0x32d5ea;}constructor(_0x2ab911,_0x12db5a,_0x512ae3){this['from']=_0x2ab911,this['to']=_0x12db5a,this['level']=_0x512ae3;}['side'](_0x14c667,_0x2d8989){return this['dir']==_0x2d8989==_0x14c667?this['to']:this['from'];}['forward'](_0x5878ae,_0x112140){return _0x5878ae==(this['dir']==_0x112140);}static['find'](_0x386bee,_0x16ab1d,_0x1e1cfc,_0x53cc06){let _0xaba362=-0x1;for(let _0x30c573=0x0;_0x30c573<_0x386bee['length'];_0x30c573++){let _0x1bd474=_0x386bee[_0x30c573];if(_0x1bd474['from']<=_0x16ab1d&&_0x1bd474['to']>=_0x16ab1d){if(_0x1bd474['level']==_0x1e1cfc)return _0x30c573;(_0xaba362<0x0||(0x0!=_0x53cc06?_0x53cc06<0x0?_0x1bd474['from']<_0x16ab1d:_0x1bd474['to']>_0x16ab1d:_0x386bee[_0xaba362]['level']>_0x1bd474['level']))&&(_0xaba362=_0x30c573);}}if(_0xaba362<0x0)throw new RangeError('Index\x20out\x20of\x20range');return _0xaba362;}}function isolatesEq(_0x3d8452,_0x40f123){if(_0x3d8452['length']!=_0x40f123['length'])return!0x1;for(let _0x363b25=0x0;_0x363b25<_0x3d8452['length'];_0x363b25++){let _0x79eee5=_0x3d8452[_0x363b25],_0x933b2=_0x40f123[_0x363b25];if(_0x79eee5['from']!=_0x933b2['from']||_0x79eee5['to']!=_0x933b2['to']||_0x79eee5['direction']!=_0x933b2['direction']||!isolatesEq(_0x79eee5['inner'],_0x933b2['inner']))return!0x1;}return!0x0;}const types=[];function computeCharTypes(_0x4b892e,_0x1593c0,_0x219168,_0x2c4c22,_0x1e0bb0){for(let _0xe7e43b=0x0;_0xe7e43b<=_0x2c4c22['length'];_0xe7e43b++){let _0x2aafd2=_0xe7e43b?_0x2c4c22[_0xe7e43b-0x1]['to']:_0x1593c0,_0x18c3cc=_0xe7e43b<_0x2c4c22['length']?_0x2c4c22[_0xe7e43b]['from']:_0x219168,_0x154023=_0xe7e43b?0x100:_0x1e0bb0;for(let _0x39938e=_0x2aafd2,_0x411eab=_0x154023,_0x318d93=_0x154023;_0x39938e<_0x18c3cc;_0x39938e++){let _0x4c3652=_0x483b75(_0x4b892e['charCodeAt'](_0x39938e));0x200==_0x4c3652?_0x4c3652=_0x411eab:0x8==_0x4c3652&&0x4==_0x318d93&&(_0x4c3652=0x10),types[_0x39938e]=0x4==_0x4c3652?0x2:_0x4c3652,0x7&_0x4c3652&&(_0x318d93=_0x4c3652),_0x411eab=_0x4c3652;}for(let _0x3f7fe8=_0x2aafd2,_0x1f2f7f=_0x154023,_0x47791c=_0x154023;_0x3f7fe8<_0x18c3cc;_0x3f7fe8++){let _0x5f4007=types[_0x3f7fe8];if(0x80==_0x5f4007)_0x3f7fe8<_0x18c3cc-0x1&&_0x1f2f7f==types[_0x3f7fe8+0x1]&&0x18&_0x1f2f7f?_0x5f4007=types[_0x3f7fe8]=_0x1f2f7f:types[_0x3f7fe8]=0x100;else{if(0x40==_0x5f4007){let _0xae1e41=_0x3f7fe8+0x1;for(;_0xae1e41<_0x18c3cc&&0x40==types[_0xae1e41];)_0xae1e41++;let _0x26ca84=_0x3f7fe8&&0x8==_0x1f2f7f||_0xae1e41<_0x219168&&0x8==types[_0xae1e41]?0x1==_0x47791c?0x1:0x8:0x100;for(let _0x104f4a=_0x3f7fe8;_0x104f4a<_0xae1e41;_0x104f4a++)types[_0x104f4a]=_0x26ca84;_0x3f7fe8=_0xae1e41-0x1;}else 0x8==_0x5f4007&&0x1==_0x47791c&&(types[_0x3f7fe8]=0x1);}_0x1f2f7f=_0x5f4007,0x7&_0x5f4007&&(_0x47791c=_0x5f4007);}}}function processBracketPairs(_0x27c0d6,_0x3cd40f,_0x1e0a68,_0x5043a0,_0x57735b){let _0x44f985=0x1==_0x57735b?0x2:0x1;for(let _0x2d8da9=0x0,_0x583c81=0x0,_0x4910ab=0x0;_0x2d8da9<=_0x5043a0['length'];_0x2d8da9++){let _0x5a3352=_0x2d8da9?_0x5043a0[_0x2d8da9-0x1]['to']:_0x3cd40f,_0x3c2eb5=_0x2d8da9<_0x5043a0['length']?_0x5043a0[_0x2d8da9]['from']:_0x1e0a68;for(let _0x379b71,_0xb70c7a,_0x20d409,_0x2a39a4=_0x5a3352;_0x2a39a4<_0x3c2eb5;_0x2a39a4++)if(_0xb70c7a=Brackets[_0x379b71=_0x27c0d6['charCodeAt'](_0x2a39a4)]){if(_0xb70c7a<0x0){for(let _0x58ad5b=_0x583c81-0x3;_0x58ad5b>=0x0;_0x58ad5b-=0x3)if(BracketStack[_0x58ad5b+0x1]==-_0xb70c7a){let _0x1bb6d9=BracketStack[_0x58ad5b+0x2],_0x18f70e=0x2&_0x1bb6d9?_0x57735b:0x4&_0x1bb6d9?0x1&_0x1bb6d9?_0x44f985:_0x57735b:0x0;_0x18f70e&&(types[_0x2a39a4]=types[BracketStack[_0x58ad5b]]=_0x18f70e),_0x583c81=_0x58ad5b;break;}}else{if(0xbd==BracketStack['length'])break;BracketStack[_0x583c81++]=_0x2a39a4,BracketStack[_0x583c81++]=_0x379b71,BracketStack[_0x583c81++]=_0x4910ab;}}else{if(0x2==(_0x20d409=types[_0x2a39a4])||0x1==_0x20d409){let _0x250a0e=_0x20d409==_0x57735b;_0x4910ab=_0x250a0e?0x0:0x1;for(let _0xefec17=_0x583c81-0x3;_0xefec17>=0x0;_0xefec17-=0x3){let _0x29b439=BracketStack[_0xefec17+0x2];if(0x2&_0x29b439)break;if(_0x250a0e)BracketStack[_0xefec17+0x2]|=0x2;else{if(0x4&_0x29b439)break;BracketStack[_0xefec17+0x2]|=0x4;}}}}}}function processNeutrals(_0x14ad87,_0x145e65,_0xd0a1fd,_0x427b4a){for(let _0x4986b2=0x0,_0xcd9a4e=_0x427b4a;_0x4986b2<=_0xd0a1fd['length'];_0x4986b2++){let _0xf3d16d=_0x4986b2?_0xd0a1fd[_0x4986b2-0x1]['to']:_0x14ad87,_0x44f92a=_0x4986b2<_0xd0a1fd['length']?_0xd0a1fd[_0x4986b2]['from']:_0x145e65;for(let _0x1120e6=_0xf3d16d;_0x1120e6<_0x44f92a;){let _0x154e12=types[_0x1120e6];if(0x100==_0x154e12){let _0x54f244=_0x1120e6+0x1;for(;;)if(_0x54f244==_0x44f92a){if(_0x4986b2==_0xd0a1fd['length'])break;_0x54f244=_0xd0a1fd[_0x4986b2++]['to'],_0x44f92a=_0x4986b2<_0xd0a1fd['length']?_0xd0a1fd[_0x4986b2]['from']:_0x145e65;}else{if(0x100!=types[_0x54f244])break;_0x54f244++;}let _0x5e1c9d=0x1==_0xcd9a4e,_0x4768dd=_0x5e1c9d==(0x1==(_0x54f244<_0x145e65?types[_0x54f244]:_0x427b4a))?_0x5e1c9d?0x1:0x2:_0x427b4a;for(let _0x53d2bb=_0x54f244,_0x17803f=_0x4986b2,_0x48635e=_0x17803f?_0xd0a1fd[_0x17803f-0x1]['to']:_0x14ad87;_0x53d2bb>_0x1120e6;)_0x53d2bb==_0x48635e&&(_0x53d2bb=_0xd0a1fd[--_0x17803f]['from'],_0x48635e=_0x17803f?_0xd0a1fd[_0x17803f-0x1]['to']:_0x14ad87),types[--_0x53d2bb]=_0x4768dd;_0x1120e6=_0x54f244;}else _0xcd9a4e=_0x154e12,_0x1120e6++;}}}function emitSpans(_0x588f41,_0x11b429,_0x1c6128,_0x1824db,_0x15738b,_0x394cd9,_0x292cf6){let _0x36d6c8=_0x1824db%0x2?0x2:0x1;if(_0x1824db%0x2==_0x15738b%0x2)for(let _0x5c6cde=_0x11b429,_0x5b4e77=0x0;_0x5c6cde<_0x1c6128;){let _0x1b0fd2=!0x0,_0xa09846=!0x1;if(_0x5b4e77==_0x394cd9['length']||_0x5c6cde<_0x394cd9[_0x5b4e77]['from']){let _0x4bf986=types[_0x5c6cde];_0x4bf986!=_0x36d6c8&&(_0x1b0fd2=!0x1,_0xa09846=0x10==_0x4bf986);}let _0x2ac2f2=_0x1b0fd2||0x1!=_0x36d6c8?null:[],_0x4acf0b=_0x1b0fd2?_0x1824db:_0x1824db+0x1,_0x7dc92b=_0x5c6cde;t:for(;;)if(_0x5b4e77<_0x394cd9['length']&&_0x7dc92b==_0x394cd9[_0x5b4e77]['from']){if(_0xa09846)break t;let _0x4d0f03=_0x394cd9[_0x5b4e77];if(!_0x1b0fd2)for(let _0x2a191b=_0x4d0f03['to'],_0x3b1ef4=_0x5b4e77+0x1;;){if(_0x2a191b==_0x1c6128)break t;if(!(_0x3b1ef4<_0x394cd9['length']&&_0x394cd9[_0x3b1ef4]['from']==_0x2a191b)){if(types[_0x2a191b]==_0x36d6c8)break t;break;}_0x2a191b=_0x394cd9[_0x3b1ef4++]['to'];}if(_0x5b4e77++,_0x2ac2f2)_0x2ac2f2['push'](_0x4d0f03);else _0x4d0f03['from']>_0x5c6cde&&_0x292cf6['push'](new _0x1439bf(_0x5c6cde,_0x4d0f03['from'],_0x4acf0b)),computeSectionOrder(_0x588f41,_0x4d0f03['direction']==_0x32d5ea!=!(_0x4acf0b%0x2)?_0x1824db+0x1:_0x1824db,_0x15738b,_0x4d0f03['inner'],_0x4d0f03['from'],_0x4d0f03['to'],_0x292cf6),_0x5c6cde=_0x4d0f03['to'];_0x7dc92b=_0x4d0f03['to'];}else{if(_0x7dc92b==_0x1c6128||(_0x1b0fd2?types[_0x7dc92b]!=_0x36d6c8:types[_0x7dc92b]==_0x36d6c8))break;_0x7dc92b++;}_0x2ac2f2?emitSpans(_0x588f41,_0x5c6cde,_0x7dc92b,_0x1824db+0x1,_0x15738b,_0x2ac2f2,_0x292cf6):_0x5c6cde<_0x7dc92b&&_0x292cf6['push'](new _0x1439bf(_0x5c6cde,_0x7dc92b,_0x4acf0b)),_0x5c6cde=_0x7dc92b;}else for(let _0x21113e=_0x1c6128,_0x496007=_0x394cd9['length'];_0x21113e>_0x11b429;){let _0x6bdfd1=!0x0,_0x5de084=!0x1;if(!_0x496007||_0x21113e>_0x394cd9[_0x496007-0x1]['to']){let _0x5a7145=types[_0x21113e-0x1];_0x5a7145!=_0x36d6c8&&(_0x6bdfd1=!0x1,_0x5de084=0x10==_0x5a7145);}let _0x4e714b=_0x6bdfd1||0x1!=_0x36d6c8?null:[],_0x2dc0c3=_0x6bdfd1?_0x1824db:_0x1824db+0x1,_0x1b91fc=_0x21113e;t:for(;;)if(_0x496007&&_0x1b91fc==_0x394cd9[_0x496007-0x1]['to']){if(_0x5de084)break t;let _0x25fe44=_0x394cd9[--_0x496007];if(!_0x6bdfd1)for(let _0x13a385=_0x25fe44['from'],_0xfcfbab=_0x496007;;){if(_0x13a385==_0x11b429)break t;if(!_0xfcfbab||_0x394cd9[_0xfcfbab-0x1]['to']!=_0x13a385){if(types[_0x13a385-0x1]==_0x36d6c8)break t;break;}_0x13a385=_0x394cd9[--_0xfcfbab]['from'];}if(_0x4e714b)_0x4e714b['push'](_0x25fe44);else _0x25fe44['to']<_0x21113e&&_0x292cf6['push'](new _0x1439bf(_0x25fe44['to'],_0x21113e,_0x2dc0c3)),computeSectionOrder(_0x588f41,_0x25fe44['direction']==_0x32d5ea!=!(_0x2dc0c3%0x2)?_0x1824db+0x1:_0x1824db,_0x15738b,_0x25fe44['inner'],_0x25fe44['from'],_0x25fe44['to'],_0x292cf6),_0x21113e=_0x25fe44['from'];_0x1b91fc=_0x25fe44['from'];}else{if(_0x1b91fc==_0x11b429||(_0x6bdfd1?types[_0x1b91fc-0x1]!=_0x36d6c8:types[_0x1b91fc-0x1]==_0x36d6c8))break;_0x1b91fc--;}_0x4e714b?emitSpans(_0x588f41,_0x1b91fc,_0x21113e,_0x1824db+0x1,_0x15738b,_0x4e714b,_0x292cf6):_0x1b91fc<_0x21113e&&_0x292cf6['push'](new _0x1439bf(_0x1b91fc,_0x21113e,_0x2dc0c3)),_0x21113e=_0x1b91fc;}}function computeSectionOrder(_0x2cd4e4,_0xaa2a67,_0x1149b3,_0x4ab7b1,_0x4abbf0,_0x11c961,_0x119f2c){let _0x4be101=_0xaa2a67%0x2?0x2:0x1;computeCharTypes(_0x2cd4e4,_0x4abbf0,_0x11c961,_0x4ab7b1,_0x4be101),processBracketPairs(_0x2cd4e4,_0x4abbf0,_0x11c961,_0x4ab7b1,_0x4be101),processNeutrals(_0x4abbf0,_0x11c961,_0x4ab7b1,_0x4be101),emitSpans(_0x2cd4e4,_0x4abbf0,_0x11c961,_0xaa2a67,_0x1149b3,_0x4ab7b1,_0x119f2c);}function computeOrder(_0x3ac019,_0xe0eb7d,_0x27893a){if(!_0x3ac019)return[new _0x1439bf(0x0,0x0,_0xe0eb7d==_0x29a618?0x1:0x0)];if(_0xe0eb7d==_0x32d5ea&&!_0x27893a['length']&&!_0x391c8d['test'](_0x3ac019))return trivialOrder(_0x3ac019['length']);if(_0x27893a['length']){for(;_0x3ac019['length']>types['length'];)types[types['length']]=0x100;}let _0x121173=[],_0x5c083f=_0xe0eb7d==_0x32d5ea?0x0:0x1;return computeSectionOrder(_0x3ac019,_0x5c083f,_0x5c083f,_0x27893a,0x0,_0x3ac019['length'],_0x121173),_0x121173;}function trivialOrder(_0x3b27e7){return[new _0x1439bf(0x0,_0x3b27e7,0x0)];}let _0x299ff8='';function _0x577806(_0x48a1a9,_0x3ab657,_0x64ac00,_0x3d8528,_0x16a7e7){var _0x41f753;let _0x5ba9cf=_0x3d8528['head']-_0x48a1a9['from'],_0x1679c5=_0x1439bf['find'](_0x3ab657,_0x5ba9cf,null!==(_0x41f753=_0x3d8528['bidiLevel'])&&void 0x0!==_0x41f753?_0x41f753:-0x1,_0x3d8528['assoc']),_0x1a5ff4=_0x3ab657[_0x1679c5],_0x4c4921=_0x1a5ff4['side'](_0x16a7e7,_0x64ac00);if(_0x5ba9cf==_0x4c4921){let _0x5450aa=_0x1679c5+=_0x16a7e7?0x1:-0x1;if(_0x5450aa<0x0||_0x5450aa>=_0x3ab657['length'])return null;_0x1a5ff4=_0x3ab657[_0x1679c5=_0x5450aa],_0x5ba9cf=_0x1a5ff4['side'](!_0x16a7e7,_0x64ac00),_0x4c4921=_0x1a5ff4['side'](_0x16a7e7,_0x64ac00);}let _0x72961a=findClusterBreak(_0x48a1a9['text'],_0x5ba9cf,_0x1a5ff4['forward'](_0x16a7e7,_0x64ac00));(_0x72961a<_0x1a5ff4['from']||_0x72961a>_0x1a5ff4['to'])&&(_0x72961a=_0x4c4921),_0x299ff8=_0x48a1a9['text']['slice'](Math['min'](_0x5ba9cf,_0x72961a),Math['max'](_0x5ba9cf,_0x72961a));let _0x1a94c2=_0x1679c5==(_0x16a7e7?_0x3ab657['length']-0x1:0x0)?null:_0x3ab657[_0x1679c5+(_0x16a7e7?0x1:-0x1)];return _0x1a94c2&&_0x72961a==_0x4c4921&&_0x1a94c2['level']+(_0x16a7e7?0x0:0x1)<_0x1a5ff4['level']?EditorSelection['cursor'](_0x1a94c2['side'](!_0x16a7e7,_0x64ac00)+_0x48a1a9['from'],_0x1a94c2['forward'](_0x16a7e7,_0x64ac00)?0x1:-0x1,_0x1a94c2['level']):EditorSelection['cursor'](_0x72961a+_0x48a1a9['from'],_0x1a5ff4['forward'](_0x16a7e7,_0x64ac00)?-0x1:0x1,_0x1a5ff4['level']);}function autoDirection(_0x499c29,_0x4a7cff,_0x2b3ae9){for(let _0x9b30f2=_0x4a7cff;_0x9b30f2<_0x2b3ae9;_0x9b30f2++){let _0x13011a=_0x483b75(_0x499c29['charCodeAt'](_0x9b30f2));if(0x1==_0x13011a)return _0x32d5ea;if(0x2==_0x13011a||0x4==_0x13011a)return _0x29a618;}return _0x32d5ea;}const clickAddsSelectionRange=Facet['define'](),dragMovesSelection$1=Facet['define'](),mouseSelectionStyle=Facet['define'](),exceptionSink=Facet['define'](),updateListener=Facet['define'](),inputHandler$1=Facet['define'](),focusChangeEffect=Facet['define'](),clipboardInputFilter=Facet['define'](),clipboardOutputFilter=Facet['define'](),perLineTextDirection=Facet['define']({'combine':_0x16a985=>_0x16a985['some'](_0x3fe266=>_0x3fe266)}),nativeSelectionHidden=Facet['define']({'combine':_0x1ad0ec=>_0x1ad0ec['some'](_0x5059b8=>_0x5059b8)}),_0x5b118c=Facet['define']();class ScrollTarget{constructor(_0x50d8b5,_0x504657='nearest',_0x2b8621='nearest',_0xd11dcd=0x5,_0x14f543=0x5,_0x4b16fc=!0x1){this['range']=_0x50d8b5,this['y']=_0x504657,this['x']=_0x2b8621,this['yMargin']=_0xd11dcd,this['xMargin']=_0x14f543,this['isSnapshot']=_0x4b16fc;}['map'](_0x31d255){return _0x31d255['empty']?this:new ScrollTarget(this['range']['map'](_0x31d255),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}['clip'](_0x6ede75){return this['range']['to']<=_0x6ede75['doc']['length']?this:new ScrollTarget(EditorSelection['cursor'](_0x6ede75['doc']['length']),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}}const scrollIntoView$1=StateEffect['define']({'map':(t,_0x17bb98)=>t['map'](_0x17bb98)}),setEditContextFormatting=StateEffect['define']();function logException(_0x760fc2,_0x57482e,_0x3d190c){let _0x35a470=_0x760fc2['facet'](exceptionSink);_0x35a470['length']?_0x35a470[0x0](_0x57482e):window['onerror']&&window['onerror'](String(_0x57482e),_0x3d190c,void 0x0,void 0x0,_0x57482e)||(_0x3d190c?console['error'](_0x3d190c+':',_0x57482e):console['error'](_0x57482e));}const editable=Facet['define']({'combine':_0x5d2bf8=>!_0x5d2bf8['length']||_0x5d2bf8[0x0]});let nextPluginID=0x0;const _0x29fa65=Facet['define']({'combine':_0x540afd=>_0x540afd['filter']((_0x435fc9,_0x305d4a)=>{for(let _0x4e0bba=0x0;_0x4e0bba<_0x305d4a;_0x4e0bba++)if(_0x540afd[_0x4e0bba]['plugin']==_0x435fc9['plugin'])return!0x1;return!0x0;})});class _0x1d7143{constructor(_0x2804e3,_0x41e19b,_0x3e0191,_0x2f72f2,_0x1f6795){this['id']=_0x2804e3,this['create']=_0x41e19b,this['domEventHandlers']=_0x3e0191,this['domEventObservers']=_0x2f72f2,this['baseExtensions']=_0x1f6795(this),this['extension']=this['baseExtensions']['concat'](_0x29fa65['of']({'plugin':this,'arg':void 0x0}));}['of'](_0x1c287){return this['baseExtensions']['concat'](_0x29fa65['of']({'plugin':this,'arg':_0x1c287}));}static['define'](_0x2459fe,_0x13d1a3){const {eventHandlers:_0x59fac0,eventObservers:_0x29f50a,provide:_0x2ced3f,decorations:_0x3ad316}=_0x13d1a3||{};return new _0x1d7143(nextPluginID++,_0x2459fe,_0x59fac0,_0x29f50a,_0x1054e6=>{let _0x244b79=[];return _0x3ad316&&_0x244b79['push'](decorations['of'](_0x3451c9=>{let _0x2e0f3f=_0x3451c9['plugin'](_0x1054e6);return _0x2e0f3f?_0x3ad316(_0x2e0f3f):Decoration['none'];})),_0x2ced3f&&_0x244b79['push'](_0x2ced3f(_0x1054e6)),_0x244b79;});}static['fromClass'](_0x54b509,_0x3185e0){return _0x1d7143['define']((_0x5e17d0,_0x5caf60)=>new _0x54b509(_0x5e17d0,_0x5caf60),_0x3185e0);}}class PluginInstance{constructor(_0x2b3f7d){this['spec']=_0x2b3f7d,this['mustUpdate']=null,this['value']=null;}get['plugin'](){return this['spec']&&this['spec']['plugin'];}['update'](_0x3f465a){if(this['value']){if(this['mustUpdate']){let _0x175b31=this['mustUpdate'];if(this['mustUpdate']=null,this['value']['update'])try{this['value']['update'](_0x175b31);}catch(_0x5f1055){if(logException(_0x175b31['state'],_0x5f1055,'CodeMirror\x20plugin\x20crashed'),this['value']['destroy'])try{this['value']['destroy']();}catch(_0x47e9ca){}this['deactivate']();}}}else{if(this['spec'])try{this['value']=this['spec']['plugin']['create'](_0x3f465a,this['spec']['arg']);}catch(_0x110729){logException(_0x3f465a['state'],_0x110729,'CodeMirror\x20plugin\x20crashed'),this['deactivate']();}}return this;}['destroy'](_0xb844b1){var _0x2262f1;if(null===(_0x2262f1=this['value'])||void 0x0===_0x2262f1?void 0x0:_0x2262f1['destroy'])try{this['value']['destroy']();}catch(_0x5798e3){logException(_0xb844b1['state'],_0x5798e3,'CodeMirror\x20plugin\x20crashed');}}['deactivate'](){this['spec']=this['value']=null;}}const editorAttributes=Facet['define'](),contentAttributes=Facet['define'](),decorations=Facet['define'](),outerDecorations=Facet['define'](),atomicRanges=Facet['define'](),bidiIsolatedRanges=Facet['define']();function getIsolatedRanges(_0x2f041f,_0x52ae9f){let _0x16f98a=_0x2f041f['state']['facet'](bidiIsolatedRanges);if(!_0x16f98a['length'])return _0x16f98a;let _0x2a7988=_0x16f98a['map'](_0x8a45f=>_0x8a45f instanceof Function?_0x8a45f(_0x2f041f):_0x8a45f),_0x5e8db0=[];return RangeSet['spans'](_0x2a7988,_0x52ae9f['from'],_0x52ae9f['to'],{'point'(){},'span'(_0x2d8dbc,_0xf1a02,_0x327b21,_0x414daa){let _0x106ad8=_0x2d8dbc-_0x52ae9f['from'],_0x85cb03=_0xf1a02-_0x52ae9f['from'],_0x593da9=_0x5e8db0;for(let _0x216ea2=_0x327b21['length']-0x1;_0x216ea2>=0x0;_0x216ea2--,_0x414daa--){let _0x3250cf,_0x6e72b1=_0x327b21[_0x216ea2]['spec']['bidiIsolate'];if(null==_0x6e72b1&&(_0x6e72b1=autoDirection(_0x52ae9f['text'],_0x106ad8,_0x85cb03)),_0x414daa>0x0&&_0x593da9['length']&&(_0x3250cf=_0x593da9[_0x593da9['length']-0x1])['to']==_0x106ad8&&_0x3250cf['direction']==_0x6e72b1)_0x3250cf['to']=_0x85cb03,_0x593da9=_0x3250cf['inner'];else{let _0x557b64={'from':_0x106ad8,'to':_0x85cb03,'direction':_0x6e72b1,'inner':[]};_0x593da9['push'](_0x557b64),_0x593da9=_0x557b64['inner'];}}}}),_0x5e8db0;}const _0x34c01c=Facet['define']();function getScrollMargins(_0xcbbcac){let _0x3f540f=0x0,_0x345605=0x0,_0xe18aa7=0x0,_0x467619=0x0;for(let _0x35c9bd of _0xcbbcac['state']['facet'](_0x34c01c)){let _0x13ed18=_0x35c9bd(_0xcbbcac);_0x13ed18&&(null!=_0x13ed18['left']&&(_0x3f540f=Math['max'](_0x3f540f,_0x13ed18['left'])),null!=_0x13ed18['right']&&(_0x345605=Math['max'](_0x345605,_0x13ed18['right'])),null!=_0x13ed18['top']&&(_0xe18aa7=Math['max'](_0xe18aa7,_0x13ed18['top'])),null!=_0x13ed18['bottom']&&(_0x467619=Math['max'](_0x467619,_0x13ed18['bottom'])));}return{'left':_0x3f540f,'right':_0x345605,'top':_0xe18aa7,'bottom':_0x467619};}const styleModule=Facet['define']();class _0x5d6dd5{constructor(_0x37aa84,_0x131bbf,_0x36bc9a,_0x49229d){this['fromA']=_0x37aa84,this['toA']=_0x131bbf,this['fromB']=_0x36bc9a,this['toB']=_0x49229d;}['join'](_0x12b215){return new _0x5d6dd5(Math['min'](this['fromA'],_0x12b215['fromA']),Math['max'](this['toA'],_0x12b215['toA']),Math['min'](this['fromB'],_0x12b215['fromB']),Math['max'](this['toB'],_0x12b215['toB']));}['addToSet'](_0x4ec33c){let _0x47e5e4=_0x4ec33c['length'],_0x148552=this;for(;_0x47e5e4>0x0;_0x47e5e4--){let _0x5c926b=_0x4ec33c[_0x47e5e4-0x1];if(!(_0x5c926b['fromA']>_0x148552['toA'])){if(_0x5c926b['toA']<_0x148552['fromA'])break;_0x148552=_0x148552['join'](_0x5c926b),_0x4ec33c['splice'](_0x47e5e4-0x1,0x1);}}return _0x4ec33c['splice'](_0x47e5e4,0x0,_0x148552),_0x4ec33c;}static['extendWithRanges'](_0x2ec8de,_0x6e87d0){if(0x0==_0x6e87d0['length'])return _0x2ec8de;let _0x89e8d5=[];for(let _0x12971a=0x0,_0x1bf291=0x0,_0x33731f=0x0,_0x5dc412=0x0;;_0x12971a++){let _0x24a551=_0x12971a==_0x2ec8de['length']?null:_0x2ec8de[_0x12971a],_0x1a512b=_0x33731f-_0x5dc412,_0x544829=_0x24a551?_0x24a551['fromB']:0x3b9aca00;for(;_0x1bf291<_0x6e87d0['length']&&_0x6e87d0[_0x1bf291]<_0x544829;){let _0x5eb2b6=_0x6e87d0[_0x1bf291],_0x4e2fc8=_0x6e87d0[_0x1bf291+0x1],_0xf28d6b=Math['max'](_0x5dc412,_0x5eb2b6),_0x337af0=Math['min'](_0x544829,_0x4e2fc8);if(_0xf28d6b<=_0x337af0&&new _0x5d6dd5(_0xf28d6b+_0x1a512b,_0x337af0+_0x1a512b,_0xf28d6b,_0x337af0)['addToSet'](_0x89e8d5),_0x4e2fc8>_0x544829)break;_0x1bf291+=0x2;}if(!_0x24a551)return _0x89e8d5;new _0x5d6dd5(_0x24a551['fromA'],_0x24a551['toA'],_0x24a551['fromB'],_0x24a551['toB'])['addToSet'](_0x89e8d5),_0x33731f=_0x24a551['toA'],_0x5dc412=_0x24a551['toB'];}}}class ViewUpdate{constructor(_0x16c669,_0x3ef356,_0xcd75d9){this['view']=_0x16c669,this['state']=_0x3ef356,this['transactions']=_0xcd75d9,this['flags']=0x0,this['startState']=_0x16c669['state'],this['changes']=ChangeSet['empty'](this['startState']['doc']['length']);for(let _0x2fcd83 of _0xcd75d9)this['changes']=this['changes']['compose'](_0x2fcd83['changes']);let _0x3a6baa=[];this['changes']['iterChangedRanges']((_0x2d2581,_0x4c9b52,_0x5f52d9,_0x4c5652)=>_0x3a6baa['push'](new _0x5d6dd5(_0x2d2581,_0x4c9b52,_0x5f52d9,_0x4c5652))),this['changedRanges']=_0x3a6baa;}static['create'](_0x4b6ec5,_0x3a58f9,_0x28d543){return new ViewUpdate(_0x4b6ec5,_0x3a58f9,_0x28d543);}get['viewportChanged'](){return(0x4&this['flags'])>0x0;}get['viewportMoved'](){return(0x8&this['flags'])>0x0;}get['heightChanged'](){return(0x2&this['flags'])>0x0;}get['geometryChanged'](){return this['docChanged']||(0x12&this['flags'])>0x0;}get['focusChanged'](){return(0x1&this['flags'])>0x0;}get['docChanged'](){return!this['changes']['empty'];}get['selectionSet'](){return this['transactions']['some'](_0x273d79=>_0x273d79['selection']);}get['empty'](){return 0x0==this['flags']&&0x0==this['transactions']['length'];}}class _0x51d61f extends ContentView{get['length'](){return this['view']['state']['doc']['length'];}constructor(_0x55efef){super(),this['view']=_0x55efef,this['decorations']=[],this['dynamicDecorationMap']=[!0x1],this['domChanged']=null,this['hasComposition']=null,this['markedForComposition']=new Set(),this['editContextFormatting']=Decoration['none'],this['lastCompositionAfterCursor']=!0x1,this['minWidth']=0x0,this['minWidthFrom']=0x0,this['minWidthTo']=0x0,this['impreciseAnchor']=null,this['impreciseHead']=null,this['forceSelection']=!0x1,this['lastUpdate']=Date['now'](),this['setDOM'](_0x55efef['contentDOM']),this['children']=[new _0x297d09()],this['children'][0x0]['setParent'](this),this['updateDeco'](),this['updateInner']([new _0x5d6dd5(0x0,0x0,0x0,_0x55efef['state']['doc']['length'])],0x0,null);}['update'](_0x4d50ac){var _0x31fee6;let _0x4d2b5b=_0x4d50ac['changedRanges'];this['minWidth']>0x0&&_0x4d2b5b['length']&&(_0x4d2b5b['every'](({fromA:_0x544b63,toA:_0x10c858})=>_0x10c858<this['minWidthFrom']||_0x544b63>this['minWidthTo'])?(this['minWidthFrom']=_0x4d50ac['changes']['mapPos'](this['minWidthFrom'],0x1),this['minWidthTo']=_0x4d50ac['changes']['mapPos'](this['minWidthTo'],0x1)):this['minWidth']=this['minWidthFrom']=this['minWidthTo']=0x0),this['updateEditContextFormatting'](_0x4d50ac);let _0x1eb695=-0x1;this['view']['inputState']['composing']>=0x0&&!this['view']['observer']['editContext']&&((null===(_0x31fee6=this['domChanged'])||void 0x0===_0x31fee6?void 0x0:_0x31fee6['newSel'])?_0x1eb695=this['domChanged']['newSel']['head']:touchesComposition(_0x4d50ac['changes'],this['hasComposition'])||_0x4d50ac['selectionSet']||(_0x1eb695=_0x4d50ac['state']['selection']['main']['head']));let _0x158391=_0x1eb695>-0x1?findCompositionRange(this['view'],_0x4d50ac['changes'],_0x1eb695):null;if(this['domChanged']=null,this['hasComposition']){this['markedForComposition']['clear']();let {from:_0x375591,to:_0x5e937c}=this['hasComposition'];_0x4d2b5b=new _0x5d6dd5(_0x375591,_0x5e937c,_0x4d50ac['changes']['mapPos'](_0x375591,-0x1),_0x4d50ac['changes']['mapPos'](_0x5e937c,0x1))['addToSet'](_0x4d2b5b['slice']());}this['hasComposition']=_0x158391?{'from':_0x158391['range']['fromB'],'to':_0x158391['range']['toB']}:null,(_0x28109e['ie']||_0x28109e['chrome'])&&!_0x158391&&_0x4d50ac&&_0x4d50ac['state']['doc']['lines']!=_0x4d50ac['startState']['doc']['lines']&&(this['forceSelection']=!0x0);let _0x15f292=_0x2b63e4(this['decorations'],this['updateDeco'](),_0x4d50ac['changes']);return _0x4d2b5b=_0x5d6dd5['extendWithRanges'](_0x4d2b5b,_0x15f292),!!(0x7&this['flags']||0x0!=_0x4d2b5b['length'])&&(this['updateInner'](_0x4d2b5b,_0x4d50ac['startState']['doc']['length'],_0x158391),_0x4d50ac['transactions']['length']&&(this['lastUpdate']=Date['now']()),!0x0);}['updateInner'](_0x1d230c,_0x4e6f5d,_0x5e69e9){this['view']['viewState']['mustMeasureContent']=!0x0,this['updateChildren'](_0x1d230c,_0x4e6f5d,_0x5e69e9);let {observer:_0x3c5b9f}=this['view'];_0x3c5b9f['ignore'](()=>{this['dom']['style']['height']=this['view']['viewState']['contentHeight']/this['view']['scaleY']+'px',this['dom']['style']['flexBasis']=this['minWidth']?this['minWidth']+'px':'';let _0x5c6fda=_0x28109e['chrome']||_0x28109e['ios']?{'node':_0x3c5b9f['selectionRange']['focusNode'],'written':!0x1}:void 0x0;this['sync'](this['view'],_0x5c6fda),this['flags']&=-0x8,_0x5c6fda&&(_0x5c6fda['written']||_0x3c5b9f['selectionRange']['focusNode']!=_0x5c6fda['node'])&&(this['forceSelection']=!0x0),this['dom']['style']['height']='';}),this['markedForComposition']['forEach'](_0x3716ee=>_0x3716ee['flags']&=-0x9);let _0x1f7a36=[];if(this['view']['viewport']['from']||this['view']['viewport']['to']<this['view']['state']['doc']['length']){for(let _0x15a356 of this['children'])_0x15a356 instanceof BlockWidgetView&&_0x15a356['widget']instanceof BlockGapWidget&&_0x1f7a36['push'](_0x15a356['dom']);}_0x3c5b9f['updateGaps'](_0x1f7a36);}['updateChildren'](_0x1ffbba,_0x42b999,_0x33c87d){let _0x566bdd=_0x33c87d?_0x33c87d['range']['addToSet'](_0x1ffbba['slice']()):_0x1ffbba,_0x4bcec0=this['childCursor'](_0x42b999);for(let _0x3f6df5=_0x566bdd['length']-0x1;;_0x3f6df5--){let _0x396e45=_0x3f6df5>=0x0?_0x566bdd[_0x3f6df5]:null;if(!_0x396e45)break;let _0x7f5eb3,_0x2d94d5,_0xf66f87,_0x3f8c7d,{fromA:_0x4706d1,toA:_0x12ca6b,fromB:_0x2ada5e,toB:_0x32583a}=_0x396e45;if(_0x33c87d&&_0x33c87d['range']['fromB']<_0x32583a&&_0x33c87d['range']['toB']>_0x2ada5e){let _0x2b24d9=ContentBuilder['build'](this['view']['state']['doc'],_0x2ada5e,_0x33c87d['range']['fromB'],this['decorations'],this['dynamicDecorationMap']),_0x4dd73b=ContentBuilder['build'](this['view']['state']['doc'],_0x33c87d['range']['toB'],_0x32583a,this['decorations'],this['dynamicDecorationMap']);_0x2d94d5=_0x2b24d9['breakAtStart'],_0xf66f87=_0x2b24d9['openStart'],_0x3f8c7d=_0x4dd73b['openEnd'];let _0x1e3cbc=this['compositionView'](_0x33c87d);_0x4dd73b['breakAtStart']?_0x1e3cbc['breakAfter']=0x1:_0x4dd73b['content']['length']&&_0x1e3cbc['merge'](_0x1e3cbc['length'],_0x1e3cbc['length'],_0x4dd73b['content'][0x0],!0x1,_0x4dd73b['openStart'],0x0)&&(_0x1e3cbc['breakAfter']=_0x4dd73b['content'][0x0]['breakAfter'],_0x4dd73b['content']['shift']()),_0x2b24d9['content']['length']&&_0x1e3cbc['merge'](0x0,0x0,_0x2b24d9['content'][_0x2b24d9['content']['length']-0x1],!0x0,0x0,_0x2b24d9['openEnd'])&&_0x2b24d9['content']['pop'](),_0x7f5eb3=_0x2b24d9['content']['concat'](_0x1e3cbc)['concat'](_0x4dd73b['content']);}else({content:_0x7f5eb3,breakAtStart:_0x2d94d5,openStart:_0xf66f87,openEnd:_0x3f8c7d}=ContentBuilder['build'](this['view']['state']['doc'],_0x2ada5e,_0x32583a,this['decorations'],this['dynamicDecorationMap']));let {i:_0x283f7a,off:_0xd28835}=_0x4bcec0['findPos'](_0x12ca6b,0x1),{i:_0x5b7281,off:_0x47f4dc}=_0x4bcec0['findPos'](_0x4706d1,-0x1);_0x59f919(this,_0x5b7281,_0x47f4dc,_0x283f7a,_0xd28835,_0x7f5eb3,_0x2d94d5,_0xf66f87,_0x3f8c7d);}_0x33c87d&&this['fixCompositionDOM'](_0x33c87d);}['updateEditContextFormatting'](_0x34a519){this['editContextFormatting']=this['editContextFormatting']['map'](_0x34a519['changes']);for(let _0x102378 of _0x34a519['transactions'])for(let _0xbdd45b of _0x102378['effects'])_0xbdd45b['is'](setEditContextFormatting)&&(this['editContextFormatting']=_0xbdd45b['value']);}['compositionView'](_0x462103){let _0x50dacb=new TextView(_0x462103['text']['nodeValue']);_0x50dacb['flags']|=0x8;for(let {deco:_0x95ce57}of _0x462103['marks'])_0x50dacb=new _0x5dcd9c(_0x95ce57,[_0x50dacb],_0x50dacb['length']);let _0x70f19=new _0x297d09();return _0x70f19['append'](_0x50dacb,0x0),_0x70f19;}['fixCompositionDOM'](_0x15527e){let _0x4c7e7c=(_0x1c2bb5,_0x3426fd)=>{_0x3426fd['flags']|=0x8|(_0x3426fd['children']['some'](_0x507f73=>0x7&_0x507f73['flags'])?0x1:0x0),this['markedForComposition']['add'](_0x3426fd);let _0xf4acbd=ContentView['get'](_0x1c2bb5);_0xf4acbd&&_0xf4acbd!=_0x3426fd&&(_0xf4acbd['dom']=null),_0x3426fd['setDOM'](_0x1c2bb5);},_0x14a8ff=this['childPos'](_0x15527e['range']['fromB'],0x1),_0x5130c4=this['children'][_0x14a8ff['i']];_0x4c7e7c(_0x15527e['line'],_0x5130c4);for(let _0x18fdb0=_0x15527e['marks']['length']-0x1;_0x18fdb0>=-0x1;_0x18fdb0--)_0x14a8ff=_0x5130c4['childPos'](_0x14a8ff['off'],0x1),_0x5130c4=_0x5130c4['children'][_0x14a8ff['i']],_0x4c7e7c(_0x18fdb0>=0x0?_0x15527e['marks'][_0x18fdb0]['node']:_0x15527e['text'],_0x5130c4);}['updateSelection'](_0x3ab864=!0x1,_0x2a2a28=!0x1){!_0x3ab864&&this['view']['observer']['selectionRange']['focusNode']||this['view']['observer']['readSelectionRange']();let _0x10a560=this['view']['root']['activeElement'],_0x42a30d=_0x10a560==this['dom'],_0x2b52e7=!_0x42a30d&&!(this['view']['state']['facet'](editable)||this['dom']['tabIndex']>-0x1)&&hasSelection(this['dom'],this['view']['observer']['selectionRange'])&&!(_0x10a560&&this['dom']['contains'](_0x10a560));if(!(_0x42a30d||_0x2a2a28||_0x2b52e7))return;let _0x3d5af5=this['forceSelection'];this['forceSelection']=!0x1;let _0x5f2fcc=this['view']['state']['selection']['main'],_0xb4267d=this['moveToLine'](this['domAtPos'](_0x5f2fcc['anchor'])),_0x502a88=_0x5f2fcc['empty']?_0xb4267d:this['moveToLine'](this['domAtPos'](_0x5f2fcc['head']));if(_0x28109e['gecko']&&_0x5f2fcc['empty']&&!this['hasComposition']&&betweenUneditable(_0xb4267d)){let _0xcf42e1=document['createTextNode']('');this['view']['observer']['ignore'](()=>_0xb4267d['node']['insertBefore'](_0xcf42e1,_0xb4267d['node']['childNodes'][_0xb4267d['offset']]||null)),_0xb4267d=_0x502a88=new _0x4839d2(_0xcf42e1,0x0),_0x3d5af5=!0x0;}let _0x5c8cbf=this['view']['observer']['selectionRange'];!_0x3d5af5&&_0x5c8cbf['focusNode']&&(isEquivalentPosition(_0xb4267d['node'],_0xb4267d['offset'],_0x5c8cbf['anchorNode'],_0x5c8cbf['anchorOffset'])&&isEquivalentPosition(_0x502a88['node'],_0x502a88['offset'],_0x5c8cbf['focusNode'],_0x5c8cbf['focusOffset'])||this['suppressWidgetCursorChange'](_0x5c8cbf,_0x5f2fcc))||(this['view']['observer']['ignore'](()=>{_0x28109e['android']&&_0x28109e['chrome']&&this['dom']['contains'](_0x5c8cbf['focusNode'])&&inUneditable(_0x5c8cbf['focusNode'],this['dom'])&&(this['dom']['blur'](),this['dom']['focus']({'preventScroll':!0x0}));let _0x542818=getSelection(this['view']['root']);if(_0x542818){if(_0x5f2fcc['empty']){if(_0x28109e['gecko']){let _0x28ceee=nextToUneditable(_0xb4267d['node'],_0xb4267d['offset']);if(_0x28ceee&&0x3!=_0x28ceee){let _0x41d924=(0x1==_0x28ceee?textNodeBefore:textNodeAfter)(_0xb4267d['node'],_0xb4267d['offset']);_0x41d924&&(_0xb4267d=new _0x4839d2(_0x41d924['node'],_0x41d924['offset']));}}_0x542818['collapse'](_0xb4267d['node'],_0xb4267d['offset']),null!=_0x5f2fcc['bidiLevel']&&void 0x0!==_0x542818['caretBidiLevel']&&(_0x542818['caretBidiLevel']=_0x5f2fcc['bidiLevel']);}else{if(_0x542818['extend']){_0x542818['collapse'](_0xb4267d['node'],_0xb4267d['offset']);try{_0x542818['extend'](_0x502a88['node'],_0x502a88['offset']);}catch(_0x149a18){}}else{let _0x135bd3=document['createRange']();_0x5f2fcc['anchor']>_0x5f2fcc['head']&&([_0xb4267d,_0x502a88]=[_0x502a88,_0xb4267d]),_0x135bd3['setEnd'](_0x502a88['node'],_0x502a88['offset']),_0x135bd3['setStart'](_0xb4267d['node'],_0xb4267d['offset']),_0x542818['removeAllRanges'](),_0x542818['addRange'](_0x135bd3);}}}else;_0x2b52e7&&this['view']['root']['activeElement']==this['dom']&&(this['dom']['blur'](),_0x10a560&&_0x10a560['focus']());}),this['view']['observer']['setSelectionRange'](_0xb4267d,_0x502a88)),this['impreciseAnchor']=_0xb4267d['precise']?null:new _0x4839d2(_0x5c8cbf['anchorNode'],_0x5c8cbf['anchorOffset']),this['impreciseHead']=_0x502a88['precise']?null:new _0x4839d2(_0x5c8cbf['focusNode'],_0x5c8cbf['focusOffset']);}['suppressWidgetCursorChange'](_0x48e925,_0x245973){return this['hasComposition']&&_0x245973['empty']&&isEquivalentPosition(_0x48e925['focusNode'],_0x48e925['focusOffset'],_0x48e925['anchorNode'],_0x48e925['anchorOffset'])&&this['posFromDOM'](_0x48e925['focusNode'],_0x48e925['focusOffset'])==_0x245973['head'];}['enforceCursorAssoc'](){if(this['hasComposition'])return;let {view:_0x5a3a02}=this,_0x24d92b=_0x5a3a02['state']['selection']['main'],_0x86b37c=getSelection(_0x5a3a02['root']),{anchorNode:_0x4407bd,anchorOffset:_0x1502b8}=_0x5a3a02['observer']['selectionRange'];if(!(_0x86b37c&&_0x24d92b['empty']&&_0x24d92b['assoc']&&_0x86b37c['modify']))return;let _0x3c9f0e=_0x297d09['find'](this,_0x24d92b['head']);if(!_0x3c9f0e)return;let _0x472b56=_0x3c9f0e['posAtStart'];if(_0x24d92b['head']==_0x472b56||_0x24d92b['head']==_0x472b56+_0x3c9f0e['length'])return;let _0x1af08e=this['coordsAt'](_0x24d92b['head'],-0x1),_0x4b549f=this['coordsAt'](_0x24d92b['head'],0x1);if(!_0x1af08e||!_0x4b549f||_0x1af08e['bottom']>_0x4b549f['top'])return;let _0x13d033=this['domAtPos'](_0x24d92b['head']+_0x24d92b['assoc']);_0x86b37c['collapse'](_0x13d033['node'],_0x13d033['offset']),_0x86b37c['modify']('move',_0x24d92b['assoc']<0x0?'forward':'backward','lineboundary'),_0x5a3a02['observer']['readSelectionRange']();let _0x2881a4=_0x5a3a02['observer']['selectionRange'];_0x5a3a02['docView']['posFromDOM'](_0x2881a4['anchorNode'],_0x2881a4['anchorOffset'])!=_0x24d92b['from']&&_0x86b37c['collapse'](_0x4407bd,_0x1502b8);}['moveToLine'](_0x412454){let _0x2ce88a,_0x26f52a=this['dom'];if(_0x412454['node']!=_0x26f52a)return _0x412454;for(let _0x5375e3=_0x412454['offset'];!_0x2ce88a&&_0x5375e3<_0x26f52a['childNodes']['length'];_0x5375e3++){let _0x3dc48f=ContentView['get'](_0x26f52a['childNodes'][_0x5375e3]);_0x3dc48f instanceof _0x297d09&&(_0x2ce88a=_0x3dc48f['domAtPos'](0x0));}for(let _0x17111f=_0x412454['offset']-0x1;!_0x2ce88a&&_0x17111f>=0x0;_0x17111f--){let _0x48e8f3=ContentView['get'](_0x26f52a['childNodes'][_0x17111f]);_0x48e8f3 instanceof _0x297d09&&(_0x2ce88a=_0x48e8f3['domAtPos'](_0x48e8f3['length']));}return _0x2ce88a?new _0x4839d2(_0x2ce88a['node'],_0x2ce88a['offset'],!0x0):_0x412454;}['nearest'](_0x19a4c6){for(let _0x4093a3=_0x19a4c6;_0x4093a3;){let _0x33f510=ContentView['get'](_0x4093a3);if(_0x33f510&&_0x33f510['rootView']==this)return _0x33f510;_0x4093a3=_0x4093a3['parentNode'];}return null;}['posFromDOM'](_0x1748e7,_0x19a0e3){let _0x3ff960=this['nearest'](_0x1748e7);if(!_0x3ff960)throw new RangeError('Trying\x20to\x20find\x20position\x20for\x20a\x20DOM\x20position\x20outside\x20of\x20the\x20document');return _0x3ff960['localPosFromDOM'](_0x1748e7,_0x19a0e3)+_0x3ff960['posAtStart'];}['domAtPos'](_0x1670d2){let {i:_0x20302c,off:_0x28831a}=this['childCursor']()['findPos'](_0x1670d2,-0x1);for(;_0x20302c<this['children']['length']-0x1;){let _0x3a807d=this['children'][_0x20302c];if(_0x28831a<_0x3a807d['length']||_0x3a807d instanceof _0x297d09)break;_0x20302c++,_0x28831a=0x0;}return this['children'][_0x20302c]['domAtPos'](_0x28831a);}['coordsAt'](_0x4666c9,_0x423f82){let _0x3b3379=null,_0x2c4700=0x0;for(let _0x2bf9e9=this['length'],_0x55f6c2=this['children']['length']-0x1;_0x55f6c2>=0x0;_0x55f6c2--){let _0x44c39a=this['children'][_0x55f6c2],_0xd186b8=_0x2bf9e9-_0x44c39a['breakAfter'],_0x28fa8f=_0xd186b8-_0x44c39a['length'];if(_0xd186b8<_0x4666c9)break;if(_0x28fa8f<=_0x4666c9&&(_0x28fa8f<_0x4666c9||_0x44c39a['covers'](-0x1))&&(_0xd186b8>_0x4666c9||_0x44c39a['covers'](0x1))&&(!_0x3b3379||_0x44c39a instanceof _0x297d09&&!(_0x3b3379 instanceof _0x297d09&&_0x423f82>=0x0)))_0x3b3379=_0x44c39a,_0x2c4700=_0x28fa8f;else{if(_0x3b3379&&_0x28fa8f==_0x4666c9&&_0xd186b8==_0x4666c9&&_0x44c39a instanceof BlockWidgetView&&Math['abs'](_0x423f82)<0x2){if(_0x44c39a['deco']['startSide']<0x0)break;_0x55f6c2&&(_0x3b3379=null);}}_0x2bf9e9=_0x28fa8f;}return _0x3b3379?_0x3b3379['coordsAt'](_0x4666c9-_0x2c4700,_0x423f82):null;}['coordsForChar'](_0x5d0ad1){let {i:_0x29d80a,off:_0x46e201}=this['childPos'](_0x5d0ad1,0x1),_0x225649=this['children'][_0x29d80a];if(!(_0x225649 instanceof _0x297d09))return null;for(;_0x225649['children']['length'];){let {i:_0x2c5eb0,off:_0x4eb01a}=_0x225649['childPos'](_0x46e201,0x1);for(;;_0x2c5eb0++){if(_0x2c5eb0==_0x225649['children']['length'])return null;if((_0x225649=_0x225649['children'][_0x2c5eb0])['length'])break;}_0x46e201=_0x4eb01a;}if(!(_0x225649 instanceof TextView))return null;let _0x3668cc=findClusterBreak(_0x225649['text'],_0x46e201);if(_0x3668cc==_0x46e201)return null;let _0xc42343=textRange(_0x225649['dom'],_0x46e201,_0x3668cc)['getClientRects']();for(let _0x15700e=0x0;_0x15700e<_0xc42343['length'];_0x15700e++){let _0x469eb4=_0xc42343[_0x15700e];if(_0x15700e==_0xc42343['length']-0x1||_0x469eb4['top']<_0x469eb4['bottom']&&_0x469eb4['left']<_0x469eb4['right'])return _0x469eb4;}return null;}['measureVisibleLineHeights'](_0x5286f4){let _0x4d240a=[],{from:_0x49563f,to:_0x3910f0}=_0x5286f4,_0x6d422d=this['view']['contentDOM']['clientWidth'],_0x2fe439=_0x6d422d>Math['max'](this['view']['scrollDOM']['clientWidth'],this['minWidth'])+0x1,_0x206192=-0x1,_0x9abd3f=this['view']['textDirection']==Direction['LTR'];for(let _0x3ccf9a=0x0,_0x4867e8=0x0;_0x4867e8<this['children']['length'];_0x4867e8++){let _0x28f003=this['children'][_0x4867e8],_0xf5c2ae=_0x3ccf9a+_0x28f003['length'];if(_0xf5c2ae>_0x3910f0)break;if(_0x3ccf9a>=_0x49563f){let _0x154fc3=_0x28f003['dom']['getBoundingClientRect']();if(_0x4d240a['push'](_0x154fc3['height']),_0x2fe439){let _0x29a4a3=_0x28f003['dom']['lastChild'],_0x33c4f6=_0x29a4a3?clientRectsFor(_0x29a4a3):[];if(_0x33c4f6['length']){let _0x56b22c=_0x33c4f6[_0x33c4f6['length']-0x1],_0x5a6d0b=_0x9abd3f?_0x56b22c['right']-_0x154fc3['left']:_0x154fc3['right']-_0x56b22c['left'];_0x5a6d0b>_0x206192&&(_0x206192=_0x5a6d0b,this['minWidth']=_0x6d422d,this['minWidthFrom']=_0x3ccf9a,this['minWidthTo']=_0xf5c2ae);}}}_0x3ccf9a=_0xf5c2ae+_0x28f003['breakAfter'];}return _0x4d240a;}['textDirectionAt'](_0x19b6ac){let {i:_0x39b9b5}=this['childPos'](_0x19b6ac,0x1);return'rtl'==getComputedStyle(this['children'][_0x39b9b5]['dom'])['direction']?Direction['RTL']:Direction['LTR'];}['measureTextSize'](){for(let _0x1b6948 of this['children'])if(_0x1b6948 instanceof _0x297d09){let _0x5d3334=_0x1b6948['measureTextSize']();if(_0x5d3334)return _0x5d3334;}let _0x16dd8c,_0x2d79a2,_0x38ef20,_0xbda32b=document['createElement']('div');return _0xbda32b['className']='cm-line',_0xbda32b['style']['width']='99999px',_0xbda32b['style']['position']='absolute',_0xbda32b['textContent']='abc\x20def\x20ghi\x20jkl\x20mno\x20pqr\x20stu',this['view']['observer']['ignore'](()=>{this['dom']['appendChild'](_0xbda32b);let _0x480d42=clientRectsFor(_0xbda32b['firstChild'])[0x0];_0x16dd8c=_0xbda32b['getBoundingClientRect']()['height'],_0x2d79a2=_0x480d42?_0x480d42['width']/0x1b:0x7,_0x38ef20=_0x480d42?_0x480d42['height']:_0x16dd8c,_0xbda32b['remove']();}),{'lineHeight':_0x16dd8c,'charWidth':_0x2d79a2,'textHeight':_0x38ef20};}['childCursor'](_0x25768d=this['length']){let _0x439a27=this['children']['length'];return _0x439a27&&(_0x25768d-=this['children'][--_0x439a27]['length']),new _0x38fc7a(this['children'],_0x25768d,_0x439a27);}['computeBlockGapDeco'](){let _0x45c0d2=[],_0x5add6e=this['view']['viewState'];for(let _0x10fea1=0x0,_0x46132c=0x0;;_0x46132c++){let _0x56d211=_0x46132c==_0x5add6e['viewports']['length']?null:_0x5add6e['viewports'][_0x46132c],_0x4b8284=_0x56d211?_0x56d211['from']-0x1:this['length'];if(_0x4b8284>_0x10fea1){let _0x10b407=(_0x5add6e['lineBlockAt'](_0x4b8284)['bottom']-_0x5add6e['lineBlockAt'](_0x10fea1)['top'])/this['view']['scaleY'];_0x45c0d2['push'](Decoration['replace']({'widget':new BlockGapWidget(_0x10b407),'block':!0x0,'inclusive':!0x0,'isBlockGap':!0x0})['range'](_0x10fea1,_0x4b8284));}if(!_0x56d211)break;_0x10fea1=_0x56d211['to']+0x1;}return Decoration['set'](_0x45c0d2);}['updateDeco'](){let _0x23f2c4=0x1,_0x418a90=this['view']['state']['facet'](decorations)['map'](_0x1aade6=>(this['dynamicDecorationMap'][_0x23f2c4++]='function'==typeof _0x1aade6)?_0x1aade6(this['view']):_0x1aade6),_0x3274c4=!0x1,_0x4dcec1=this['view']['state']['facet'](outerDecorations)['map']((_0x382d4f,_0x56f05e)=>{let _0x9fb81a='function'==typeof _0x382d4f;return _0x9fb81a&&(_0x3274c4=!0x0),_0x9fb81a?_0x382d4f(this['view']):_0x382d4f;});for(_0x4dcec1['length']&&(this['dynamicDecorationMap'][_0x23f2c4++]=_0x3274c4,_0x418a90['push'](RangeSet['join'](_0x4dcec1))),this['decorations']=[this['editContextFormatting'],..._0x418a90,this['computeBlockGapDeco'](),this['view']['viewState']['lineGapDeco']];_0x23f2c4<this['decorations']['length'];)this['dynamicDecorationMap'][_0x23f2c4++]=!0x1;return this['decorations'];}['scrollIntoView'](_0x36605a){if(_0x36605a['isSnapshot']){let _0x6acf5=this['view']['viewState']['lineBlockAt'](_0x36605a['range']['head']);return this['view']['scrollDOM']['scrollTop']=_0x6acf5['top']-_0x36605a['yMargin'],void(this['view']['scrollDOM']['scrollLeft']=_0x36605a['xMargin']);}for(let _0x39b845 of this['view']['state']['facet'](_0x5b118c))try{if(_0x39b845(this['view'],_0x36605a['range'],_0x36605a))return!0x0;}catch(_0x3f1e29){logException(this['view']['state'],_0x3f1e29,'scroll\x20handler');}let _0x309832,{range:_0x2f8f45}=_0x36605a,_0x54f5e5=this['coordsAt'](_0x2f8f45['head'],_0x2f8f45['empty']?_0x2f8f45['assoc']:_0x2f8f45['head']>_0x2f8f45['anchor']?-0x1:0x1);if(!_0x54f5e5)return;!_0x2f8f45['empty']&&(_0x309832=this['coordsAt'](_0x2f8f45['anchor'],_0x2f8f45['anchor']>_0x2f8f45['head']?-0x1:0x1))&&(_0x54f5e5={'left':Math['min'](_0x54f5e5['left'],_0x309832['left']),'top':Math['min'](_0x54f5e5['top'],_0x309832['top']),'right':Math['max'](_0x54f5e5['right'],_0x309832['right']),'bottom':Math['max'](_0x54f5e5['bottom'],_0x309832['bottom'])});let _0xde722e=getScrollMargins(this['view']),_0x2ca0c7={'left':_0x54f5e5['left']-_0xde722e['left'],'top':_0x54f5e5['top']-_0xde722e['top'],'right':_0x54f5e5['right']+_0xde722e['right'],'bottom':_0x54f5e5['bottom']+_0xde722e['bottom']},{offsetWidth:_0xc57dc4,offsetHeight:_0x1d57a5}=this['view']['scrollDOM'];scrollRectIntoView(this['view']['scrollDOM'],_0x2ca0c7,_0x2f8f45['head']<_0x2f8f45['anchor']?-0x1:0x1,_0x36605a['x'],_0x36605a['y'],Math['max'](Math['min'](_0x36605a['xMargin'],_0xc57dc4),-_0xc57dc4),Math['max'](Math['min'](_0x36605a['yMargin'],_0x1d57a5),-_0x1d57a5),this['view']['textDirection']==Direction['LTR']);}}function betweenUneditable(_0x25b732){return 0x1==_0x25b732['node']['nodeType']&&_0x25b732['node']['firstChild']&&(0x0==_0x25b732['offset']||'false'==_0x25b732['node']['childNodes'][_0x25b732['offset']-0x1]['contentEditable'])&&(_0x25b732['offset']==_0x25b732['node']['childNodes']['length']||'false'==_0x25b732['node']['childNodes'][_0x25b732['offset']]['contentEditable']);}function findCompositionNode(_0x60ae26,_0x923857){let _0x1527c7=_0x60ae26['observer']['selectionRange'];if(!_0x1527c7['focusNode'])return null;let _0x174666=textNodeBefore(_0x1527c7['focusNode'],_0x1527c7['focusOffset']),_0x4909c2=textNodeAfter(_0x1527c7['focusNode'],_0x1527c7['focusOffset']),_0x31b1bf=_0x174666||_0x4909c2;if(_0x4909c2&&_0x174666&&_0x4909c2['node']!=_0x174666['node']){let _0x103940=ContentView['get'](_0x4909c2['node']);if(!_0x103940||_0x103940 instanceof TextView&&_0x103940['text']!=_0x4909c2['node']['nodeValue'])_0x31b1bf=_0x4909c2;else{if(_0x60ae26['docView']['lastCompositionAfterCursor']){let _0xf8088=ContentView['get'](_0x174666['node']);!_0xf8088||_0xf8088 instanceof TextView&&_0xf8088['text']!=_0x174666['node']['nodeValue']||(_0x31b1bf=_0x4909c2);}}}if(_0x60ae26['docView']['lastCompositionAfterCursor']=_0x31b1bf!=_0x174666,!_0x31b1bf)return null;let _0x4a661c=_0x923857-_0x31b1bf['offset'];return{'from':_0x4a661c,'to':_0x4a661c+_0x31b1bf['node']['nodeValue']['length'],'node':_0x31b1bf['node']};}function findCompositionRange(_0xf4d90d,_0x4f01af,_0x3c4b59){let _0x37b332=findCompositionNode(_0xf4d90d,_0x3c4b59);if(!_0x37b332)return null;let {node:_0x2b5701,from:_0x15aa4d,to:_0x1bd7a9}=_0x37b332,_0x3954a1=_0x2b5701['nodeValue'];if(/[\n\r]/['test'](_0x3954a1))return null;if(_0xf4d90d['state']['doc']['sliceString'](_0x37b332['from'],_0x37b332['to'])!=_0x3954a1)return null;let _0x287e8a=_0x4f01af['invertedDesc'],_0x58b52f=new _0x5d6dd5(_0x287e8a['mapPos'](_0x15aa4d),_0x287e8a['mapPos'](_0x1bd7a9),_0x15aa4d,_0x1bd7a9),_0x10c815=[];for(let _0x37d4f5=_0x2b5701['parentNode'];;_0x37d4f5=_0x37d4f5['parentNode']){let _0x152c5d=ContentView['get'](_0x37d4f5);if(_0x152c5d instanceof _0x5dcd9c)_0x10c815['push']({'node':_0x37d4f5,'deco':_0x152c5d['mark']});else{if(_0x152c5d instanceof _0x297d09||'DIV'==_0x37d4f5['nodeName']&&_0x37d4f5['parentNode']==_0xf4d90d['contentDOM'])return{'range':_0x58b52f,'text':_0x2b5701,'marks':_0x10c815,'line':_0x37d4f5};if(_0x37d4f5==_0xf4d90d['contentDOM'])return null;_0x10c815['push']({'node':_0x37d4f5,'deco':new MarkDecoration({'inclusive':!0x0,'attributes':getAttrs$1(_0x37d4f5),'tagName':_0x37d4f5['tagName']['toLowerCase']()})});}}}function nextToUneditable(_0x5f232d,_0x550e19){return 0x1!=_0x5f232d['nodeType']?0x0:(_0x550e19&&'false'==_0x5f232d['childNodes'][_0x550e19-0x1]['contentEditable']?0x1:0x0)|(_0x550e19<_0x5f232d['childNodes']['length']&&'false'==_0x5f232d['childNodes'][_0x550e19]['contentEditable']?0x2:0x0);}let DecorationComparator$1=class{constructor(){this['changes']=[];}['compareRange'](_0x10ef0d,_0x4c6dec){_0x2ba0be(_0x10ef0d,_0x4c6dec,this['changes']);}['comparePoint'](_0x4ececc,_0x2096d2){_0x2ba0be(_0x4ececc,_0x2096d2,this['changes']);}['boundChange'](_0x5dfd7a){_0x2ba0be(_0x5dfd7a,_0x5dfd7a,this['changes']);}};function _0x2b63e4(_0x44d4e6,_0x114352,_0x33c227){let _0x46f1e1=new DecorationComparator$1();return RangeSet['compare'](_0x44d4e6,_0x114352,_0x33c227,_0x46f1e1),_0x46f1e1['changes'];}function inUneditable(_0x504f59,_0x18d4fb){for(let _0x37f3c8=_0x504f59;_0x37f3c8&&_0x37f3c8!=_0x18d4fb;_0x37f3c8=_0x37f3c8['assignedSlot']||_0x37f3c8['parentNode'])if(0x1==_0x37f3c8['nodeType']&&'false'==_0x37f3c8['contentEditable'])return!0x0;return!0x1;}function touchesComposition(_0x54e0a1,_0x55eaef){let _0x2f2973=!0x1;return _0x55eaef&&_0x54e0a1['iterChangedRanges']((_0x1345b1,_0x4fbdda)=>{_0x1345b1<_0x55eaef['to']&&_0x4fbdda>_0x55eaef['from']&&(_0x2f2973=!0x0);}),_0x2f2973;}function groupAt(_0x19619b,_0x431b9d,_0x57d3a8=0x1){let _0x4102e4=_0x19619b['charCategorizer'](_0x431b9d),_0xe8b84f=_0x19619b['doc']['lineAt'](_0x431b9d),_0x1206dd=_0x431b9d-_0xe8b84f['from'];if(0x0==_0xe8b84f['length'])return EditorSelection['cursor'](_0x431b9d);0x0==_0x1206dd?_0x57d3a8=0x1:_0x1206dd==_0xe8b84f['length']&&(_0x57d3a8=-0x1);let _0x5dc59d=_0x1206dd,_0x4726d5=_0x1206dd;_0x57d3a8<0x0?_0x5dc59d=findClusterBreak(_0xe8b84f['text'],_0x1206dd,!0x1):_0x4726d5=findClusterBreak(_0xe8b84f['text'],_0x1206dd);let _0x3b7bbe=_0x4102e4(_0xe8b84f['text']['slice'](_0x5dc59d,_0x4726d5));for(;_0x5dc59d>0x0;){let _0x37523e=findClusterBreak(_0xe8b84f['text'],_0x5dc59d,!0x1);if(_0x4102e4(_0xe8b84f['text']['slice'](_0x37523e,_0x5dc59d))!=_0x3b7bbe)break;_0x5dc59d=_0x37523e;}for(;_0x4726d5<_0xe8b84f['length'];){let _0x570c8c=findClusterBreak(_0xe8b84f['text'],_0x4726d5);if(_0x4102e4(_0xe8b84f['text']['slice'](_0x4726d5,_0x570c8c))!=_0x3b7bbe)break;_0x4726d5=_0x570c8c;}return EditorSelection['range'](_0x5dc59d+_0xe8b84f['from'],_0x4726d5+_0xe8b84f['from']);}function getdx(_0x19da88,_0x3af96a){return _0x3af96a['left']>_0x19da88?_0x3af96a['left']-_0x19da88:Math['max'](0x0,_0x19da88-_0x3af96a['right']);}function getdy(_0x1f08ad,_0x13e21e){return _0x13e21e['top']>_0x1f08ad?_0x13e21e['top']-_0x1f08ad:Math['max'](0x0,_0x1f08ad-_0x13e21e['bottom']);}function _0x58c6fd(_0x505a36,_0x5a5950){return _0x505a36['top']<_0x5a5950['bottom']-0x1&&_0x505a36['bottom']>_0x5a5950['top']+0x1;}function _0x40282a(_0x4ffd23,_0x18c83c){return _0x18c83c<_0x4ffd23['top']?{'top':_0x18c83c,'left':_0x4ffd23['left'],'right':_0x4ffd23['right'],'bottom':_0x4ffd23['bottom']}:_0x4ffd23;}function upBot(_0x1d1c0d,_0x16fb8c){return _0x16fb8c>_0x1d1c0d['bottom']?{'top':_0x1d1c0d['top'],'left':_0x1d1c0d['left'],'right':_0x1d1c0d['right'],'bottom':_0x16fb8c}:_0x1d1c0d;}function domPosAtCoords(_0x3b75f3,_0x977f62,_0x5f1307){let _0x29b8a5,_0x218b0b,_0x21b029,_0x1cd8d,_0xf12942,_0x1a2799,_0x3c4316,_0x262b49,_0x3b0e3a=!0x1;for(let _0x530d2d=_0x3b75f3['firstChild'];_0x530d2d;_0x530d2d=_0x530d2d['nextSibling']){let _0x27322e=clientRectsFor(_0x530d2d);for(let _0xb662b2=0x0;_0xb662b2<_0x27322e['length'];_0xb662b2++){let _0x602fb3=_0x27322e[_0xb662b2];_0x218b0b&&_0x58c6fd(_0x218b0b,_0x602fb3)&&(_0x602fb3=_0x40282a(upBot(_0x602fb3,_0x218b0b['bottom']),_0x218b0b['top']));let _0x5e16f0=getdx(_0x977f62,_0x602fb3),_0x240257=getdy(_0x5f1307,_0x602fb3);if(0x0==_0x5e16f0&&0x0==_0x240257)return 0x3==_0x530d2d['nodeType']?domPosInText(_0x530d2d,_0x977f62,_0x5f1307):domPosAtCoords(_0x530d2d,_0x977f62,_0x5f1307);(!_0x29b8a5||_0x1cd8d>_0x240257||_0x1cd8d==_0x240257&&_0x21b029>_0x5e16f0)&&(_0x29b8a5=_0x530d2d,_0x218b0b=_0x602fb3,_0x21b029=_0x5e16f0,_0x1cd8d=_0x240257,_0x3b0e3a=!_0x5e16f0||(_0x977f62<_0x602fb3['left']?_0xb662b2>0x0:_0xb662b2<_0x27322e['length']-0x1)),0x0==_0x5e16f0?_0x5f1307>_0x602fb3['bottom']&&(!_0x3c4316||_0x3c4316['bottom']<_0x602fb3['bottom'])?(_0xf12942=_0x530d2d,_0x3c4316=_0x602fb3):_0x5f1307<_0x602fb3['top']&&(!_0x262b49||_0x262b49['top']>_0x602fb3['top'])&&(_0x1a2799=_0x530d2d,_0x262b49=_0x602fb3):_0x3c4316&&_0x58c6fd(_0x3c4316,_0x602fb3)?_0x3c4316=upBot(_0x3c4316,_0x602fb3['bottom']):_0x262b49&&_0x58c6fd(_0x262b49,_0x602fb3)&&(_0x262b49=_0x40282a(_0x262b49,_0x602fb3['top']));}}if(_0x3c4316&&_0x3c4316['bottom']>=_0x5f1307?(_0x29b8a5=_0xf12942,_0x218b0b=_0x3c4316):_0x262b49&&_0x262b49['top']<=_0x5f1307&&(_0x29b8a5=_0x1a2799,_0x218b0b=_0x262b49),!_0x29b8a5)return{'node':_0x3b75f3,'offset':0x0};let _0x5a310e=Math['max'](_0x218b0b['left'],Math['min'](_0x218b0b['right'],_0x977f62));return 0x3==_0x29b8a5['nodeType']?domPosInText(_0x29b8a5,_0x5a310e,_0x5f1307):_0x3b0e3a&&'false'!=_0x29b8a5['contentEditable']?domPosAtCoords(_0x29b8a5,_0x5a310e,_0x5f1307):{'node':_0x3b75f3,'offset':Array['prototype']['indexOf']['call'](_0x3b75f3['childNodes'],_0x29b8a5)+(_0x977f62>=(_0x218b0b['left']+_0x218b0b['right'])/0x2?0x1:0x0)};}function domPosInText(_0xd2ef41,_0x2f0912,_0x58c538){let _0x4b50c5=_0xd2ef41['nodeValue']['length'],_0x57e68e=-0x1,_0x2bc06a=0x3b9aca00,_0x45052b=0x0;for(let _0x11bc95=0x0;_0x11bc95<_0x4b50c5;_0x11bc95++){let _0x541a3d=textRange(_0xd2ef41,_0x11bc95,_0x11bc95+0x1)['getClientRects']();for(let _0x14ac05=0x0;_0x14ac05<_0x541a3d['length'];_0x14ac05++){let _0xbfc35c=_0x541a3d[_0x14ac05];if(_0xbfc35c['top']==_0xbfc35c['bottom'])continue;_0x45052b||(_0x45052b=_0x2f0912-_0xbfc35c['left']);let _0x484fe0=(_0xbfc35c['top']>_0x58c538?_0xbfc35c['top']-_0x58c538:_0x58c538-_0xbfc35c['bottom'])-0x1;if(_0xbfc35c['left']-0x1<=_0x2f0912&&_0xbfc35c['right']+0x1>=_0x2f0912&&_0x484fe0<_0x2bc06a){let _0x558d62=_0x2f0912>=(_0xbfc35c['left']+_0xbfc35c['right'])/0x2,_0x176861=_0x558d62;(_0x28109e['chrome']||_0x28109e['gecko'])&&(textRange(_0xd2ef41,_0x11bc95)['getBoundingClientRect']()['left']==_0xbfc35c['right']&&(_0x176861=!_0x558d62));if(_0x484fe0<=0x0)return{'node':_0xd2ef41,'offset':_0x11bc95+(_0x176861?0x1:0x0)};_0x57e68e=_0x11bc95+(_0x176861?0x1:0x0),_0x2bc06a=_0x484fe0;}}}return{'node':_0xd2ef41,'offset':_0x57e68e>-0x1?_0x57e68e:_0x45052b>0x0?_0xd2ef41['nodeValue']['length']:0x0};}function posAtCoords(_0x21f97c,_0x137043,_0x29b8a6,_0x2744fd=-0x1){var _0x2d9fb0,_0xaebd4f;let _0x59fef0,_0x263893=_0x21f97c['contentDOM']['getBoundingClientRect'](),_0x375f69=_0x263893['top']+_0x21f97c['viewState']['paddingTop'],{docHeight:_0x15a332}=_0x21f97c['viewState'],{x:_0x15f3ed,y:_0x49ba54}=_0x137043,_0x9faee4=_0x49ba54-_0x375f69;if(_0x9faee4<0x0)return 0x0;if(_0x9faee4>_0x15a332)return _0x21f97c['state']['doc']['length'];for(let _0x16ece2=_0x21f97c['viewState']['heightOracle']['textHeight']/0x2,_0x596a34=!0x1;_0x59fef0=_0x21f97c['elementAtHeight'](_0x9faee4),_0x59fef0['type']!=_0x8dd476['Text'];)for(;_0x9faee4=_0x2744fd>0x0?_0x59fef0['bottom']+_0x16ece2:_0x59fef0['top']-_0x16ece2,!(_0x9faee4>=0x0&&_0x9faee4<=_0x15a332);){if(_0x596a34)return _0x29b8a6?null:0x0;_0x596a34=!0x0,_0x2744fd=-_0x2744fd;}_0x49ba54=_0x375f69+_0x9faee4;let _0x5bccc8=_0x59fef0['from'];if(_0x5bccc8<_0x21f97c['viewport']['from'])return 0x0==_0x21f97c['viewport']['from']?0x0:_0x29b8a6?null:posAtCoordsImprecise(_0x21f97c,_0x263893,_0x59fef0,_0x15f3ed,_0x49ba54);if(_0x5bccc8>_0x21f97c['viewport']['to'])return _0x21f97c['viewport']['to']==_0x21f97c['state']['doc']['length']?_0x21f97c['state']['doc']['length']:_0x29b8a6?null:posAtCoordsImprecise(_0x21f97c,_0x263893,_0x59fef0,_0x15f3ed,_0x49ba54);let _0xf4a3e2=_0x21f97c['dom']['ownerDocument'],_0x43e93e=_0x21f97c['root']['elementFromPoint']?_0x21f97c['root']:_0xf4a3e2,_0x194670=_0x43e93e['elementFromPoint'](_0x15f3ed,_0x49ba54);_0x194670&&!_0x21f97c['contentDOM']['contains'](_0x194670)&&(_0x194670=null),_0x194670||(_0x15f3ed=Math['max'](_0x263893['left']+0x1,Math['min'](_0x263893['right']-0x1,_0x15f3ed)),_0x194670=_0x43e93e['elementFromPoint'](_0x15f3ed,_0x49ba54),_0x194670&&!_0x21f97c['contentDOM']['contains'](_0x194670)&&(_0x194670=null));let _0x49f6d3,_0x4e1887=-0x1;if(_0x194670&&0x0!=(null===(_0x2d9fb0=_0x21f97c['docView']['nearest'](_0x194670))||void 0x0===_0x2d9fb0?void 0x0:_0x2d9fb0['isEditable'])){if(_0xf4a3e2['caretPositionFromPoint']){let _0x469f9c=_0xf4a3e2['caretPositionFromPoint'](_0x15f3ed,_0x49ba54);_0x469f9c&&({offsetNode:_0x49f6d3,offset:_0x4e1887}=_0x469f9c);}else{if(_0xf4a3e2['caretRangeFromPoint']){let _0x4aa647=_0xf4a3e2['caretRangeFromPoint'](_0x15f3ed,_0x49ba54);_0x4aa647&&({startContainer:_0x49f6d3,startOffset:_0x4e1887}=_0x4aa647);}}_0x49f6d3&&(!_0x21f97c['contentDOM']['contains'](_0x49f6d3)||_0x28109e['safari']&&isSuspiciousSafariCaretResult(_0x49f6d3,_0x4e1887,_0x15f3ed)||_0x28109e['chrome']&&isSuspiciousChromeCaretResult(_0x49f6d3,_0x4e1887,_0x15f3ed))&&(_0x49f6d3=void 0x0),_0x49f6d3&&(_0x4e1887=Math['min'](maxOffset(_0x49f6d3),_0x4e1887));}if(!_0x49f6d3||!_0x21f97c['docView']['dom']['contains'](_0x49f6d3)){let _0x29128b=_0x297d09['find'](_0x21f97c['docView'],_0x5bccc8);if(!_0x29128b)return _0x9faee4>_0x59fef0['top']+_0x59fef0['height']/0x2?_0x59fef0['to']:_0x59fef0['from'];({node:_0x49f6d3,offset:_0x4e1887}=domPosAtCoords(_0x29128b['dom'],_0x15f3ed,_0x49ba54));}let _0x483662=_0x21f97c['docView']['nearest'](_0x49f6d3);if(!_0x483662)return null;if(_0x483662['isWidget']&&0x1==(null===(_0xaebd4f=_0x483662['dom'])||void 0x0===_0xaebd4f?void 0x0:_0xaebd4f['nodeType'])){let _0x59fba3=_0x483662['dom']['getBoundingClientRect']();return _0x137043['y']<_0x59fba3['top']||_0x137043['y']<=_0x59fba3['bottom']&&_0x137043['x']<=(_0x59fba3['left']+_0x59fba3['right'])/0x2?_0x483662['posAtStart']:_0x483662['posAtEnd'];}return _0x483662['localPosFromDOM'](_0x49f6d3,_0x4e1887)+_0x483662['posAtStart'];}function posAtCoordsImprecise(_0xec3677,_0x24ff10,_0x3b7689,_0x29a3dd,_0x4f08be){let _0x2693e8=Math['round']((_0x29a3dd-_0x24ff10['left'])*_0xec3677['defaultCharacterWidth']);if(_0xec3677['lineWrapping']&&_0x3b7689['height']>1.5*_0xec3677['defaultLineHeight']){let _0x334645=_0xec3677['viewState']['heightOracle']['textHeight'];_0x2693e8+=Math['floor']((_0x4f08be-_0x3b7689['top']-0.5*(_0xec3677['defaultLineHeight']-_0x334645))/_0x334645)*_0xec3677['viewState']['heightOracle']['lineLength'];}let _0x473637=_0xec3677['state']['sliceDoc'](_0x3b7689['from'],_0x3b7689['to']);return _0x3b7689['from']+_0x22def6(_0x473637,_0x2693e8,_0xec3677['state']['tabSize']);}function _0xa8be22(_0x504d38,_0x285dba,_0x56623e){let _0x39090f,_0x1e2af0=_0x504d38;if(0x3!=_0x504d38['nodeType']||_0x285dba!=(_0x39090f=_0x504d38['nodeValue']['length']))return!0x1;for(;;){let _0x459b3d=_0x1e2af0['nextSibling'];if(_0x459b3d){if('BR'==_0x459b3d['nodeName'])break;return!0x1;}{let _0x3faeff=_0x1e2af0['parentNode'];if(!_0x3faeff||'DIV'==_0x3faeff['nodeName'])break;_0x1e2af0=_0x3faeff;}}return textRange(_0x504d38,_0x39090f-0x1,_0x39090f)['getBoundingClientRect']()['right']>_0x56623e;}function isSuspiciousSafariCaretResult(_0x323340,_0x4b5ef8,_0x5c428c){return _0xa8be22(_0x323340,_0x4b5ef8,_0x5c428c);}function isSuspiciousChromeCaretResult(_0x1734ff,_0x5079fe,_0x400cf4){if(0x0!=_0x5079fe)return _0xa8be22(_0x1734ff,_0x5079fe,_0x400cf4);for(let _0x41eb95=_0x1734ff;;){let _0x3be4ab=_0x41eb95['parentNode'];if(!_0x3be4ab||0x1!=_0x3be4ab['nodeType']||_0x3be4ab['firstChild']!=_0x41eb95)return!0x1;if(_0x3be4ab['classList']['contains']('cm-line'))break;_0x41eb95=_0x3be4ab;}return _0x400cf4-(0x1==_0x1734ff['nodeType']?_0x1734ff['getBoundingClientRect']():textRange(_0x1734ff,0x0,Math['max'](_0x1734ff['nodeValue']['length'],0x1))['getBoundingClientRect']())['left']>0x5;}function blockAt(_0x2cdb1b,_0x4d6ef,_0x40ca60){let _0x57d58a=_0x2cdb1b['lineBlockAt'](_0x4d6ef);if(Array['isArray'](_0x57d58a['type'])){let _0x5f2b5a;for(let _0x573d48 of _0x57d58a['type']){if(_0x573d48['from']>_0x4d6ef)break;if(!(_0x573d48['to']<_0x4d6ef)){if(_0x573d48['from']<_0x4d6ef&&_0x573d48['to']>_0x4d6ef)return _0x573d48;_0x5f2b5a&&(_0x573d48['type']!=_0x8dd476['Text']||_0x5f2b5a['type']==_0x573d48['type']&&!(_0x40ca60<0x0?_0x573d48['from']<_0x4d6ef:_0x573d48['to']>_0x4d6ef))||(_0x5f2b5a=_0x573d48);}}return _0x5f2b5a||_0x57d58a;}return _0x57d58a;}function _0x264098(_0x512853,_0x42406a,_0x278851,_0x546462){let _0x24e268=blockAt(_0x512853,_0x42406a['head'],_0x42406a['assoc']||-0x1),_0x25f8c4=_0x546462&&_0x24e268['type']==_0x8dd476['Text']&&(_0x512853['lineWrapping']||_0x24e268['widgetLineBreaks'])?_0x512853['coordsAtPos'](_0x42406a['assoc']<0x0&&_0x42406a['head']>_0x24e268['from']?_0x42406a['head']-0x1:_0x42406a['head']):null;if(_0x25f8c4){let _0x122159=_0x512853['dom']['getBoundingClientRect'](),_0x3c88c2=_0x512853['textDirectionAt'](_0x24e268['from']),_0x20a794=_0x512853['posAtCoords']({'x':_0x278851==(_0x3c88c2==Direction['LTR'])?_0x122159['right']-0x1:_0x122159['left']+0x1,'y':(_0x25f8c4['top']+_0x25f8c4['bottom'])/0x2});if(null!=_0x20a794)return EditorSelection['cursor'](_0x20a794,_0x278851?-0x1:0x1);}return EditorSelection['cursor'](_0x278851?_0x24e268['to']:_0x24e268['from'],_0x278851?-0x1:0x1);}function _0x4875af(_0x488885,_0x3f6054,_0x367cfe,_0x26d94d){let _0x29a8c2=_0x488885['state']['doc']['lineAt'](_0x3f6054['head']),_0x4b3c1d=_0x488885['bidiSpans'](_0x29a8c2),_0x39b507=_0x488885['textDirectionAt'](_0x29a8c2['from']);for(let _0x4ca323=_0x3f6054,_0x2fc4ce=null;;){let _0xb0ebc1=_0x577806(_0x29a8c2,_0x4b3c1d,_0x39b507,_0x4ca323,_0x367cfe),_0x1c4f37=_0x299ff8;if(!_0xb0ebc1){if(_0x29a8c2['number']==(_0x367cfe?_0x488885['state']['doc']['lines']:0x1))return _0x4ca323;_0x1c4f37='\x0a',_0x29a8c2=_0x488885['state']['doc']['line'](_0x29a8c2['number']+(_0x367cfe?0x1:-0x1)),_0x4b3c1d=_0x488885['bidiSpans'](_0x29a8c2),_0xb0ebc1=_0x488885['visualLineSide'](_0x29a8c2,!_0x367cfe);}if(_0x2fc4ce){if(!_0x2fc4ce(_0x1c4f37))return _0x4ca323;}else{if(!_0x26d94d)return _0xb0ebc1;_0x2fc4ce=_0x26d94d(_0x1c4f37);}_0x4ca323=_0xb0ebc1;}}function _0x3c6c5b(_0x2a6830,_0x584ade,_0x5b12b6){let _0x1db389=_0x2a6830['state']['charCategorizer'](_0x584ade),_0x521edc=_0x1db389(_0x5b12b6);return _0x53d375=>{let _0x2cd8ce=_0x1db389(_0x53d375);return _0x521edc==CharCategory['Space']&&(_0x521edc=_0x2cd8ce),_0x521edc==_0x2cd8ce;};}function moveVertically(_0x503944,_0x5164fd,_0x5edbc1,_0x314e48){let _0x236fac=_0x5164fd['head'],_0x2ed4a9=_0x5edbc1?0x1:-0x1;if(_0x236fac==(_0x5edbc1?_0x503944['state']['doc']['length']:0x0))return EditorSelection['cursor'](_0x236fac,_0x5164fd['assoc']);let _0xdd6e0f,_0x21b3d7=_0x5164fd['goalColumn'],_0x13fa3a=_0x503944['contentDOM']['getBoundingClientRect'](),_0x30e7d6=_0x503944['coordsAtPos'](_0x236fac,_0x5164fd['assoc']||-0x1),_0x52135b=_0x503944['documentTop'];if(_0x30e7d6)null==_0x21b3d7&&(_0x21b3d7=_0x30e7d6['left']-_0x13fa3a['left']),_0xdd6e0f=_0x2ed4a9<0x0?_0x30e7d6['top']:_0x30e7d6['bottom'];else{let _0x35e182=_0x503944['viewState']['lineBlockAt'](_0x236fac);null==_0x21b3d7&&(_0x21b3d7=Math['min'](_0x13fa3a['right']-_0x13fa3a['left'],_0x503944['defaultCharacterWidth']*(_0x236fac-_0x35e182['from']))),_0xdd6e0f=(_0x2ed4a9<0x0?_0x35e182['top']:_0x35e182['bottom'])+_0x52135b;}let _0x3c9d89=_0x13fa3a['left']+_0x21b3d7,_0x302126=null!=_0x314e48?_0x314e48:_0x503944['viewState']['heightOracle']['textHeight']>>0x1;for(let _0x3808f4=0x0;;_0x3808f4+=0xa){let _0x218ea2=_0xdd6e0f+(_0x302126+_0x3808f4)*_0x2ed4a9,_0x4437c8=posAtCoords(_0x503944,{'x':_0x3c9d89,'y':_0x218ea2},!0x1,_0x2ed4a9);if(_0x218ea2<_0x13fa3a['top']||_0x218ea2>_0x13fa3a['bottom']||(_0x2ed4a9<0x0?_0x4437c8<_0x236fac:_0x4437c8>_0x236fac)){let _0x58a763=_0x503944['docView']['coordsForChar'](_0x4437c8),_0xba0c34=!_0x58a763||_0x218ea2<_0x58a763['top']?-0x1:0x1;return EditorSelection['cursor'](_0x4437c8,_0xba0c34,void 0x0,_0x21b3d7);}}}function skipAtomicRanges(_0x2e2846,_0x17a6a2,_0x1f51c6){for(;;){let _0x59fdae=0x0;for(let _0x4597ed of _0x2e2846)_0x4597ed['between'](_0x17a6a2-0x1,_0x17a6a2+0x1,(_0x293955,_0x127610,_0x1daf04)=>{if(_0x17a6a2>_0x293955&&_0x17a6a2<_0x127610){let _0x57ce28=_0x59fdae||_0x1f51c6||(_0x17a6a2-_0x293955<_0x127610-_0x17a6a2?-0x1:0x1);_0x17a6a2=_0x57ce28<0x0?_0x293955:_0x127610,_0x59fdae=_0x57ce28;}});if(!_0x59fdae)return _0x17a6a2;}}function skipAtomsForSelection(_0xa8ee,_0x196b24){let _0x2169e3=null;for(let _0x506bc6=0x0;_0x506bc6<_0x196b24['ranges']['length'];_0x506bc6++){let _0x363f4b=_0x196b24['ranges'][_0x506bc6],_0x513826=null;if(_0x363f4b['empty']){let _0x585b6c=skipAtomicRanges(_0xa8ee,_0x363f4b['from'],0x0);_0x585b6c!=_0x363f4b['from']&&(_0x513826=EditorSelection['cursor'](_0x585b6c,-0x1));}else{let _0x3e1a8b=skipAtomicRanges(_0xa8ee,_0x363f4b['from'],-0x1),_0x169788=skipAtomicRanges(_0xa8ee,_0x363f4b['to'],0x1);_0x3e1a8b==_0x363f4b['from']&&_0x169788==_0x363f4b['to']||(_0x513826=EditorSelection['range'](_0x363f4b['from']==_0x363f4b['anchor']?_0x3e1a8b:_0x169788,_0x363f4b['from']==_0x363f4b['head']?_0x3e1a8b:_0x169788));}_0x513826&&(_0x2169e3||(_0x2169e3=_0x196b24['ranges']['slice']()),_0x2169e3[_0x506bc6]=_0x513826);}return _0x2169e3?EditorSelection['create'](_0x2169e3,_0x196b24['mainIndex']):_0x196b24;}function skipAtoms(_0x13ae6b,_0x327d23,_0x15fa07){let _0x2b19e9=skipAtomicRanges(_0x13ae6b['state']['facet'](atomicRanges)['map'](_0x2cba5b=>_0x2cba5b(_0x13ae6b)),_0x15fa07['from'],_0x327d23['head']>_0x15fa07['from']?-0x1:0x1);return _0x2b19e9==_0x15fa07['from']?_0x15fa07:EditorSelection['cursor'](_0x2b19e9,_0x2b19e9<_0x15fa07['from']?0x1:-0x1);}const _0x43390d='';class _0xd9fd49{constructor(_0x2c2c0b,_0x347fce){this['points']=_0x2c2c0b,this['text']='',this['lineSeparator']=_0x347fce['facet'](EditorState['lineSeparator']);}['append'](_0x52922d){this['text']+=_0x52922d;}['lineBreak'](){this['text']+=_0x43390d;}['readRange'](_0x165703,_0x20ebe2){if(!_0x165703)return this;let _0x429284=_0x165703['parentNode'];for(let _0x89547=_0x165703;;){this['findPointBefore'](_0x429284,_0x89547);let _0x19cc42=this['text']['length'];this['readNode'](_0x89547);let _0xd73ea9=_0x89547['nextSibling'];if(_0xd73ea9==_0x20ebe2)break;let _0x3ea9a9=ContentView['get'](_0x89547),_0x566ca0=ContentView['get'](_0xd73ea9);(_0x3ea9a9&&_0x566ca0?_0x3ea9a9['breakAfter']:(_0x3ea9a9?_0x3ea9a9['breakAfter']:isBlockElement(_0x89547))||isBlockElement(_0xd73ea9)&&('BR'!=_0x89547['nodeName']||_0x89547['cmIgnore'])&&this['text']['length']>_0x19cc42)&&!isEmptyToEnd(_0xd73ea9,_0x20ebe2)&&this['lineBreak'](),_0x89547=_0xd73ea9;}return this['findPointBefore'](_0x429284,_0x20ebe2),this;}['readTextNode'](_0x338c74){let _0x5eb097=_0x338c74['nodeValue'];for(let _0x5de70d of this['points'])_0x5de70d['node']==_0x338c74&&(_0x5de70d['pos']=this['text']['length']+Math['min'](_0x5de70d['offset'],_0x5eb097['length']));for(let _0x26938d=0x0,_0x290917=this['lineSeparator']?null:/\r\n?|\n/g;;){let _0x1b8d30,_0x246404=-0x1,_0x10b96e=0x1;if(this['lineSeparator']?(_0x246404=_0x5eb097['indexOf'](this['lineSeparator'],_0x26938d),_0x10b96e=this['lineSeparator']['length']):(_0x1b8d30=_0x290917['exec'](_0x5eb097))&&(_0x246404=_0x1b8d30['index'],_0x10b96e=_0x1b8d30[0x0]['length']),this['append'](_0x5eb097['slice'](_0x26938d,_0x246404<0x0?_0x5eb097['length']:_0x246404)),_0x246404<0x0)break;if(this['lineBreak'](),_0x10b96e>0x1){for(let _0x509e96 of this['points'])_0x509e96['node']==_0x338c74&&_0x509e96['pos']>this['text']['length']&&(_0x509e96['pos']-=_0x10b96e-0x1);}_0x26938d=_0x246404+_0x10b96e;}}['readNode'](_0x59db46){if(_0x59db46['cmIgnore'])return;let _0x3a5df6=ContentView['get'](_0x59db46),_0x26467f=_0x3a5df6&&_0x3a5df6['overrideDOMText'];if(null!=_0x26467f){this['findPointInside'](_0x59db46,_0x26467f['length']);for(let _0x5eca3c=_0x26467f['iter']();!_0x5eca3c['next']()['done'];)_0x5eca3c['lineBreak']?this['lineBreak']():this['append'](_0x5eca3c['value']);}else 0x3==_0x59db46['nodeType']?this['readTextNode'](_0x59db46):'BR'==_0x59db46['nodeName']?_0x59db46['nextSibling']&&this['lineBreak']():0x1==_0x59db46['nodeType']&&this['readRange'](_0x59db46['firstChild'],null);}['findPointBefore'](_0x4d3e0e,_0x95e106){for(let _0x1d5e4a of this['points'])_0x1d5e4a['node']==_0x4d3e0e&&_0x4d3e0e['childNodes'][_0x1d5e4a['offset']]==_0x95e106&&(_0x1d5e4a['pos']=this['text']['length']);}['findPointInside'](_0x269e49,_0x24ea70){for(let _0x8e9035 of this['points'])(0x3==_0x269e49['nodeType']?_0x8e9035['node']==_0x269e49:_0x269e49['contains'](_0x8e9035['node']))&&(_0x8e9035['pos']=this['text']['length']+(isAtEnd(_0x269e49,_0x8e9035['node'],_0x8e9035['offset'])?_0x24ea70:0x0));}}function isAtEnd(_0x5ef8c9,_0x37b095,_0x583012){for(;;){if(!_0x37b095||_0x583012<maxOffset(_0x37b095))return!0x1;if(_0x37b095==_0x5ef8c9)return!0x0;_0x583012=_0x563332(_0x37b095)+0x1,_0x37b095=_0x37b095['parentNode'];}}function isEmptyToEnd(_0x3f71cb,_0x2423d6){let _0xe8e846;for(;_0x3f71cb!=_0x2423d6&&_0x3f71cb;_0x3f71cb=_0x3f71cb['nextSibling']){let _0x440460=ContentView['get'](_0x3f71cb);if(!(null==_0x440460?void 0x0:_0x440460['isWidget'])&&!_0x3f71cb['cmIgnore'])return!0x1;_0x440460&&(_0xe8e846||(_0xe8e846=[]))['push'](_0x440460);}if(_0xe8e846)for(let _0x4d5343 of _0xe8e846){let _0x5ea64b=_0x4d5343['overrideDOMText'];if(null==_0x5ea64b?void 0x0:_0x5ea64b['length'])return!0x1;}return!0x0;}class DOMPoint{constructor(_0x220177,_0x51b304){this['node']=_0x220177,this['offset']=_0x51b304,this['pos']=-0x1;}}class _0x11d3d5{constructor(_0xfff9d7,_0x243fa7,_0x15fde4,_0x1611af){this['typeOver']=_0x1611af,this['bounds']=null,this['text']='',this['domChanged']=_0x243fa7>-0x1;let {impreciseHead:_0x2c6f60,impreciseAnchor:_0x287be0}=_0xfff9d7['docView'];if(_0xfff9d7['state']['readOnly']&&_0x243fa7>-0x1)this['newSel']=null;else{if(_0x243fa7>-0x1&&(this['bounds']=_0xfff9d7['docView']['domBoundsAround'](_0x243fa7,_0x15fde4,0x0))){let _0x35d91d=_0x2c6f60||_0x287be0?[]:selectionPoints(_0xfff9d7),_0x30ef8d=new _0xd9fd49(_0x35d91d,_0xfff9d7['state']);_0x30ef8d['readRange'](this['bounds']['startDOM'],this['bounds']['endDOM']),this['text']=_0x30ef8d['text'],this['newSel']=selectionFromPoints(_0x35d91d,this['bounds']['from']);}else{let _0x37f253=_0xfff9d7['observer']['selectionRange'],_0x221434=_0x2c6f60&&_0x2c6f60['node']==_0x37f253['focusNode']&&_0x2c6f60['offset']==_0x37f253['focusOffset']||!contains(_0xfff9d7['contentDOM'],_0x37f253['focusNode'])?_0xfff9d7['state']['selection']['main']['head']:_0xfff9d7['docView']['posFromDOM'](_0x37f253['focusNode'],_0x37f253['focusOffset']),_0x24ba70=_0x287be0&&_0x287be0['node']==_0x37f253['anchorNode']&&_0x287be0['offset']==_0x37f253['anchorOffset']||!contains(_0xfff9d7['contentDOM'],_0x37f253['anchorNode'])?_0xfff9d7['state']['selection']['main']['anchor']:_0xfff9d7['docView']['posFromDOM'](_0x37f253['anchorNode'],_0x37f253['anchorOffset']),_0x4980f2=_0xfff9d7['viewport'];if((_0x28109e['ios']||_0x28109e['chrome'])&&_0xfff9d7['state']['selection']['main']['empty']&&_0x221434!=_0x24ba70&&(_0x4980f2['from']>0x0||_0x4980f2['to']<_0xfff9d7['state']['doc']['length'])){let _0x5b0a32=Math['min'](_0x221434,_0x24ba70),_0x579320=Math['max'](_0x221434,_0x24ba70),_0x542c05=_0x4980f2['from']-_0x5b0a32,_0x421890=_0x4980f2['to']-_0x579320;0x0!=_0x542c05&&0x1!=_0x542c05&&0x0!=_0x5b0a32||0x0!=_0x421890&&-0x1!=_0x421890&&_0x579320!=_0xfff9d7['state']['doc']['length']||(_0x221434=0x0,_0x24ba70=_0xfff9d7['state']['doc']['length']);}this['newSel']=EditorSelection['single'](_0x24ba70,_0x221434);}}}}function _0x36963b(_0x2a94eb,_0x9b446){let _0x38ad74,{newSel:_0x346ba9}=_0x9b446,_0x39eec3=_0x2a94eb['state']['selection']['main'],_0x557aec=_0x2a94eb['inputState']['lastKeyTime']>Date['now']()-0x64?_0x2a94eb['inputState']['lastKeyCode']:-0x1;if(_0x9b446['bounds']){let {from:_0x404af6,to:_0xc18104}=_0x9b446['bounds'],_0x2dcaa9=_0x39eec3['from'],_0xc33305=null;(0x8===_0x557aec||_0x28109e['android']&&_0x9b446['text']['length']<_0xc18104-_0x404af6)&&(_0x2dcaa9=_0x39eec3['to'],_0xc33305='end');let _0x2ebc03=_0x592c96(_0x2a94eb['state']['doc']['sliceString'](_0x404af6,_0xc18104,_0x43390d),_0x9b446['text'],_0x2dcaa9-_0x404af6,_0xc33305);_0x2ebc03&&(_0x28109e['chrome']&&0xd==_0x557aec&&_0x2ebc03['toB']==_0x2ebc03['from']+0x2&&_0x9b446['text']['slice'](_0x2ebc03['from'],_0x2ebc03['toB'])==_0x43390d+_0x43390d&&_0x2ebc03['toB']--,_0x38ad74={'from':_0x404af6+_0x2ebc03['from'],'to':_0x404af6+_0x2ebc03['toA'],'insert':Text['of'](_0x9b446['text']['slice'](_0x2ebc03['from'],_0x2ebc03['toB'])['split'](_0x43390d))});}else _0x346ba9&&(!_0x2a94eb['hasFocus']&&_0x2a94eb['state']['facet'](editable)||_0x346ba9['main']['eq'](_0x39eec3))&&(_0x346ba9=null);if(!_0x38ad74&&!_0x346ba9)return!0x1;if(!_0x38ad74&&_0x9b446['typeOver']&&!_0x39eec3['empty']&&_0x346ba9&&_0x346ba9['main']['empty']?_0x38ad74={'from':_0x39eec3['from'],'to':_0x39eec3['to'],'insert':_0x2a94eb['state']['doc']['slice'](_0x39eec3['from'],_0x39eec3['to'])}:(_0x28109e['mac']||_0x28109e['android'])&&_0x38ad74&&_0x38ad74['from']==_0x38ad74['to']&&_0x38ad74['from']==_0x39eec3['head']-0x1&&/^\. ?$/['test'](_0x38ad74['insert']['toString']())&&'off'==_0x2a94eb['contentDOM']['getAttribute']('autocorrect')?(_0x346ba9&&0x2==_0x38ad74['insert']['length']&&(_0x346ba9=EditorSelection['single'](_0x346ba9['main']['anchor']-0x1,_0x346ba9['main']['head']-0x1)),_0x38ad74={'from':_0x38ad74['from'],'to':_0x38ad74['to'],'insert':Text['of']([_0x38ad74['insert']['toString']()['replace']('.','\x20')])}):_0x38ad74&&_0x38ad74['from']>=_0x39eec3['from']&&_0x38ad74['to']<=_0x39eec3['to']&&(_0x38ad74['from']!=_0x39eec3['from']||_0x38ad74['to']!=_0x39eec3['to'])&&_0x39eec3['to']-_0x39eec3['from']-(_0x38ad74['to']-_0x38ad74['from'])<=0x4?_0x38ad74={'from':_0x39eec3['from'],'to':_0x39eec3['to'],'insert':_0x2a94eb['state']['doc']['slice'](_0x39eec3['from'],_0x38ad74['from'])['append'](_0x38ad74['insert'])['append'](_0x2a94eb['state']['doc']['slice'](_0x38ad74['to'],_0x39eec3['to']))}:_0x28109e['chrome']&&_0x38ad74&&_0x38ad74['from']==_0x38ad74['to']&&_0x38ad74['from']==_0x39eec3['head']&&'\x0a\x20'==_0x38ad74['insert']['toString']()&&_0x2a94eb['lineWrapping']&&(_0x346ba9&&(_0x346ba9=EditorSelection['single'](_0x346ba9['main']['anchor']-0x1,_0x346ba9['main']['head']-0x1)),_0x38ad74={'from':_0x39eec3['from'],'to':_0x39eec3['to'],'insert':Text['of'](['\x20'])}),_0x38ad74)return _0x3111af(_0x2a94eb,_0x38ad74,_0x346ba9,_0x557aec);if(_0x346ba9&&!_0x346ba9['main']['eq'](_0x39eec3)){let _0x357506=!0x1,_0x2cf23c='select';return _0x2a94eb['inputState']['lastSelectionTime']>Date['now']()-0x32&&('select'==_0x2a94eb['inputState']['lastSelectionOrigin']&&(_0x357506=!0x0),_0x2cf23c=_0x2a94eb['inputState']['lastSelectionOrigin'],'select.pointer'==_0x2cf23c&&(_0x346ba9=skipAtomsForSelection(_0x2a94eb['state']['facet'](atomicRanges)['map'](_0x39ccca=>_0x39ccca(_0x2a94eb)),_0x346ba9))),_0x2a94eb['dispatch']({'selection':_0x346ba9,'scrollIntoView':_0x357506,'userEvent':_0x2cf23c}),!0x0;}return!0x1;}function _0x3111af(_0x4ca684,_0x41122b,_0x3bec2c,_0x226b42=-0x1){if(_0x28109e['ios']&&_0x4ca684['inputState']['flushIOSKey'](_0x41122b))return!0x0;let _0x273dda=_0x4ca684['state']['selection']['main'];if(_0x28109e['android']&&(_0x41122b['to']==_0x273dda['to']&&(_0x41122b['from']==_0x273dda['from']||_0x41122b['from']==_0x273dda['from']-0x1&&'\x20'==_0x4ca684['state']['sliceDoc'](_0x41122b['from'],_0x273dda['from']))&&0x1==_0x41122b['insert']['length']&&0x2==_0x41122b['insert']['lines']&&dispatchKey(_0x4ca684['contentDOM'],'Enter',0xd)||(_0x41122b['from']==_0x273dda['from']-0x1&&_0x41122b['to']==_0x273dda['to']&&0x0==_0x41122b['insert']['length']||0x8==_0x226b42&&_0x41122b['insert']['length']<_0x41122b['to']-_0x41122b['from']&&_0x41122b['to']>_0x273dda['head'])&&dispatchKey(_0x4ca684['contentDOM'],'Backspace',0x8)||_0x41122b['from']==_0x273dda['from']&&_0x41122b['to']==_0x273dda['to']+0x1&&0x0==_0x41122b['insert']['length']&&dispatchKey(_0x4ca684['contentDOM'],'Delete',0x2e)))return!0x0;let _0x2c23ab,_0x1568fd=_0x41122b['insert']['toString']();_0x4ca684['inputState']['composing']>=0x0&&_0x4ca684['inputState']['composing']++;let _0x795ee0=()=>_0x2c23ab||(_0x2c23ab=applyDefaultInsert(_0x4ca684,_0x41122b,_0x3bec2c));return _0x4ca684['state']['facet'](inputHandler$1)['some'](_0xbf8833=>_0xbf8833(_0x4ca684,_0x41122b['from'],_0x41122b['to'],_0x1568fd,_0x795ee0))||_0x4ca684['dispatch'](_0x795ee0()),!0x0;}function applyDefaultInsert(_0x3da8c6,_0xf365db,_0x40f7c3){let _0x3659c1,_0x2b5071=_0x3da8c6['state'],_0x5e170f=_0x2b5071['selection']['main'],_0x10dbef=-0x1;if(_0xf365db['from']==_0xf365db['to']&&_0xf365db['from']<_0x5e170f['from']||_0xf365db['from']>_0x5e170f['to']){let _0xad9657=_0xf365db['from']<_0x5e170f['from']?-0x1:0x1,_0x31da62=_0xad9657<0x0?_0x5e170f['from']:_0x5e170f['to'],_0x3d0ba2=skipAtomicRanges(_0x2b5071['facet'](atomicRanges)['map'](_0x671b3f=>_0x671b3f(_0x3da8c6)),_0x31da62,_0xad9657);_0xf365db['from']==_0x3d0ba2&&(_0x10dbef=_0x3d0ba2);}if(_0x10dbef>-0x1)_0x3659c1={'changes':_0xf365db,'selection':EditorSelection['cursor'](_0xf365db['from']+_0xf365db['insert']['length'],-0x1)};else{if(_0xf365db['from']>=_0x5e170f['from']&&_0xf365db['to']<=_0x5e170f['to']&&_0xf365db['to']-_0xf365db['from']>=(_0x5e170f['to']-_0x5e170f['from'])/0x3&&(!_0x40f7c3||_0x40f7c3['main']['empty']&&_0x40f7c3['main']['from']==_0xf365db['from']+_0xf365db['insert']['length'])&&_0x3da8c6['inputState']['composing']<0x0){let _0x444da5=_0x5e170f['from']<_0xf365db['from']?_0x2b5071['sliceDoc'](_0x5e170f['from'],_0xf365db['from']):'',_0x1e2744=_0x5e170f['to']>_0xf365db['to']?_0x2b5071['sliceDoc'](_0xf365db['to'],_0x5e170f['to']):'';_0x3659c1=_0x2b5071['replaceSelection'](_0x3da8c6['state']['toText'](_0x444da5+_0xf365db['insert']['sliceString'](0x0,void 0x0,_0x3da8c6['state']['lineBreak'])+_0x1e2744));}else{let _0x238c93=_0x2b5071['changes'](_0xf365db),_0xa3aa15=_0x40f7c3&&_0x40f7c3['main']['to']<=_0x238c93['newLength']?_0x40f7c3['main']:void 0x0;if(_0x2b5071['selection']['ranges']['length']>0x1&&_0x3da8c6['inputState']['composing']>=0x0&&_0xf365db['to']<=_0x5e170f['to']&&_0xf365db['to']>=_0x5e170f['to']-0xa){let _0x410a6b,_0x9ed95b=_0x3da8c6['state']['sliceDoc'](_0xf365db['from'],_0xf365db['to']),_0x4eefcd=_0x40f7c3&&findCompositionNode(_0x3da8c6,_0x40f7c3['main']['head']);if(_0x4eefcd){let _0x4c31cb=_0xf365db['insert']['length']-(_0xf365db['to']-_0xf365db['from']);_0x410a6b={'from':_0x4eefcd['from'],'to':_0x4eefcd['to']-_0x4c31cb};}else _0x410a6b=_0x3da8c6['state']['doc']['lineAt'](_0x5e170f['head']);let _0x33731b=_0x5e170f['to']-_0xf365db['to'],_0x59e5c1=_0x5e170f['to']-_0x5e170f['from'];_0x3659c1=_0x2b5071['changeByRange'](_0x545d00=>{if(_0x545d00['from']==_0x5e170f['from']&&_0x545d00['to']==_0x5e170f['to'])return{'changes':_0x238c93,'range':_0xa3aa15||_0x545d00['map'](_0x238c93)};let _0xb5122e=_0x545d00['to']-_0x33731b,_0x36b884=_0xb5122e-_0x9ed95b['length'];if(_0x545d00['to']-_0x545d00['from']!=_0x59e5c1||_0x3da8c6['state']['sliceDoc'](_0x36b884,_0xb5122e)!=_0x9ed95b||_0x545d00['to']>=_0x410a6b['from']&&_0x545d00['from']<=_0x410a6b['to'])return{'range':_0x545d00};let _0x101a57=_0x2b5071['changes']({'from':_0x36b884,'to':_0xb5122e,'insert':_0xf365db['insert']}),_0x19ee48=_0x545d00['to']-_0x5e170f['to'];return{'changes':_0x101a57,'range':_0xa3aa15?EditorSelection['range'](Math['max'](0x0,_0xa3aa15['anchor']+_0x19ee48),Math['max'](0x0,_0xa3aa15['head']+_0x19ee48)):_0x545d00['map'](_0x101a57)};});}else _0x3659c1={'changes':_0x238c93,'selection':_0xa3aa15&&_0x2b5071['selection']['replaceRange'](_0xa3aa15)};}}let _0x3b69ee='input.type';return(_0x3da8c6['composing']||_0x3da8c6['inputState']['compositionPendingChange']&&_0x3da8c6['inputState']['compositionEndedAt']>Date['now']()-0x32)&&(_0x3da8c6['inputState']['compositionPendingChange']=!0x1,_0x3b69ee+='.compose',_0x3da8c6['inputState']['compositionFirstChange']&&(_0x3b69ee+='.start',_0x3da8c6['inputState']['compositionFirstChange']=!0x1)),_0x2b5071['update'](_0x3659c1,{'userEvent':_0x3b69ee,'scrollIntoView':!0x0});}function _0x592c96(_0x59d253,_0x1feb76,_0x228d8e,_0x4a5864){let _0x59fa80=Math['min'](_0x59d253['length'],_0x1feb76['length']),_0x466983=0x0;for(;_0x466983<_0x59fa80&&_0x59d253['charCodeAt'](_0x466983)==_0x1feb76['charCodeAt'](_0x466983);)_0x466983++;if(_0x466983==_0x59fa80&&_0x59d253['length']==_0x1feb76['length'])return null;let _0x222812=_0x59d253['length'],_0x1f4774=_0x1feb76['length'];for(;_0x222812>0x0&&_0x1f4774>0x0&&_0x59d253['charCodeAt'](_0x222812-0x1)==_0x1feb76['charCodeAt'](_0x1f4774-0x1);)_0x222812--,_0x1f4774--;'end'==_0x4a5864&&(_0x228d8e-=_0x222812+Math['max'](0x0,_0x466983-Math['min'](_0x222812,_0x1f4774))-_0x466983);if(_0x222812<_0x466983&&_0x59d253['length']<_0x1feb76['length'])_0x466983-=_0x228d8e<=_0x466983&&_0x228d8e>=_0x222812?_0x466983-_0x228d8e:0x0,_0x1f4774=_0x466983+(_0x1f4774-_0x222812),_0x222812=_0x466983;else _0x1f4774<_0x466983&&(_0x466983-=_0x228d8e<=_0x466983&&_0x228d8e>=_0x1f4774?_0x466983-_0x228d8e:0x0,_0x222812=_0x466983+(_0x222812-_0x1f4774),_0x1f4774=_0x466983);return{'from':_0x466983,'toA':_0x222812,'toB':_0x1f4774};}function selectionPoints(_0x5e8a88){let _0x3436b7=[];if(_0x5e8a88['root']['activeElement']!=_0x5e8a88['contentDOM'])return _0x3436b7;let {anchorNode:_0x354624,anchorOffset:_0x594a31,focusNode:_0x5d1d52,focusOffset:_0xd01dbf}=_0x5e8a88['observer']['selectionRange'];return _0x354624&&(_0x3436b7['push'](new DOMPoint(_0x354624,_0x594a31)),_0x5d1d52==_0x354624&&_0xd01dbf==_0x594a31||_0x3436b7['push'](new DOMPoint(_0x5d1d52,_0xd01dbf))),_0x3436b7;}function selectionFromPoints(_0x10836f,_0x5c573e){if(0x0==_0x10836f['length'])return null;let _0x3b4753=_0x10836f[0x0]['pos'],_0x1d7efc=0x2==_0x10836f['length']?_0x10836f[0x1]['pos']:_0x3b4753;return _0x3b4753>-0x1&&_0x1d7efc>-0x1?EditorSelection['single'](_0x3b4753+_0x5c573e,_0x1d7efc+_0x5c573e):null;}class InputState{['setSelectionOrigin'](_0x376da0){this['lastSelectionOrigin']=_0x376da0,this['lastSelectionTime']=Date['now']();}constructor(_0x4c0f28){this['view']=_0x4c0f28,this['lastKeyCode']=0x0,this['lastKeyTime']=0x0,this['lastTouchTime']=0x0,this['lastFocusTime']=0x0,this['lastScrollTop']=0x0,this['lastScrollLeft']=0x0,this['pendingIOSKey']=void 0x0,this['tabFocusMode']=-0x1,this['lastSelectionOrigin']=null,this['lastSelectionTime']=0x0,this['lastContextMenu']=0x0,this['scrollHandlers']=[],this['handlers']=Object['create'](null),this['composing']=-0x1,this['compositionFirstChange']=null,this['compositionEndedAt']=0x0,this['compositionPendingKey']=!0x1,this['compositionPendingChange']=!0x1,this['mouseSelection']=null,this['draggedContent']=null,this['handleEvent']=this['handleEvent']['bind'](this),this['notifiedFocused']=_0x4c0f28['hasFocus'],_0x28109e['safari']&&_0x4c0f28['contentDOM']['addEventListener']('input',()=>null),_0x28109e['gecko']&&firefoxCopyCutHack(_0x4c0f28['contentDOM']['ownerDocument']);}['handleEvent'](_0x20742d){eventBelongsToEditor(this['view'],_0x20742d)&&!this['ignoreDuringComposition'](_0x20742d)&&('keydown'==_0x20742d['type']&&this['keydown'](_0x20742d)||(0x0!=this['view']['updateState']?Promise['resolve']()['then'](()=>this['runHandlers'](_0x20742d['type'],_0x20742d)):this['runHandlers'](_0x20742d['type'],_0x20742d)));}['runHandlers'](_0x42d534,_0x343ee7){let _0x145d37=this['handlers'][_0x42d534];if(_0x145d37){for(let _0x23b5df of _0x145d37['observers'])_0x23b5df(this['view'],_0x343ee7);for(let _0x205015 of _0x145d37['handlers']){if(_0x343ee7['defaultPrevented'])break;if(_0x205015(this['view'],_0x343ee7)){_0x343ee7['preventDefault']();break;}}}}['ensureHandlers'](_0x248934){let _0x5877a6=computeHandlers(_0x248934),_0x46d9b1=this['handlers'],_0x49f507=this['view']['contentDOM'];for(let _0x5126e in _0x5877a6)if('scroll'!=_0x5126e){let _0x27775d=!_0x5877a6[_0x5126e]['handlers']['length'],_0x26de46=_0x46d9b1[_0x5126e];_0x26de46&&_0x27775d!=!_0x26de46['handlers']['length']&&(_0x49f507['removeEventListener'](_0x5126e,this['handleEvent']),_0x26de46=null),_0x26de46||_0x49f507['addEventListener'](_0x5126e,this['handleEvent'],{'passive':_0x27775d});}for(let _0x551444 in _0x46d9b1)'scroll'==_0x551444||_0x5877a6[_0x551444]||_0x49f507['removeEventListener'](_0x551444,this['handleEvent']);this['handlers']=_0x5877a6;}['keydown'](_0x5b8dad){if(this['lastKeyCode']=_0x5b8dad['keyCode'],this['lastKeyTime']=Date['now'](),0x9==_0x5b8dad['keyCode']&&this['tabFocusMode']>-0x1&&(!this['tabFocusMode']||Date['now']()<=this['tabFocusMode']))return!0x0;if(this['tabFocusMode']>0x0&&0x1b!=_0x5b8dad['keyCode']&&_0x3a60dd['indexOf'](_0x5b8dad['keyCode'])<0x0&&(this['tabFocusMode']=-0x1),_0x28109e['android']&&_0x28109e['chrome']&&!_0x5b8dad['synthetic']&&(0xd==_0x5b8dad['keyCode']||0x8==_0x5b8dad['keyCode']))return this['view']['observer']['delayAndroidKey'](_0x5b8dad['key'],_0x5b8dad['keyCode']),!0x0;let _0x1fda1a;return!_0x28109e['ios']||_0x5b8dad['synthetic']||_0x5b8dad['altKey']||_0x5b8dad['metaKey']||!((_0x1fda1a=_0xc61b91['find'](_0x52ab57=>_0x52ab57['keyCode']==_0x5b8dad['keyCode']))&&!_0x5b8dad['ctrlKey']||_0x3635c8['indexOf'](_0x5b8dad['key'])>-0x1&&_0x5b8dad['ctrlKey']&&!_0x5b8dad['shiftKey'])?(0xe5!=_0x5b8dad['keyCode']&&this['view']['observer']['forceFlush'](),!0x1):(this['pendingIOSKey']=_0x1fda1a||_0x5b8dad,setTimeout(()=>this['flushIOSKey'](),0xfa),!0x0);}['flushIOSKey'](_0x332939){let _0x53ce8f=this['pendingIOSKey'];return!!_0x53ce8f&&(!('Enter'==_0x53ce8f['key']&&_0x332939&&_0x332939['from']<_0x332939['to']&&/^\S+$/['test'](_0x332939['insert']['toString']()))&&(this['pendingIOSKey']=void 0x0,dispatchKey(this['view']['contentDOM'],_0x53ce8f['key'],_0x53ce8f['keyCode'],_0x53ce8f instanceof KeyboardEvent?_0x53ce8f:void 0x0)));}['ignoreDuringComposition'](_0x46d645){return!(!/^key/['test'](_0x46d645['type'])||_0x46d645['synthetic'])&&(this['composing']>0x0||!!(_0x28109e['safari']&&!_0x28109e['ios']&&this['compositionPendingKey']&&Date['now']()-this['compositionEndedAt']<0x64)&&(this['compositionPendingKey']=!0x1,!0x0));}['startMouseSelection'](_0x1cecd6){this['mouseSelection']&&this['mouseSelection']['destroy'](),this['mouseSelection']=_0x1cecd6;}['update'](_0x7f0399){this['view']['observer']['update'](_0x7f0399),this['mouseSelection']&&this['mouseSelection']['update'](_0x7f0399),this['draggedContent']&&_0x7f0399['docChanged']&&(this['draggedContent']=this['draggedContent']['map'](_0x7f0399['changes'])),_0x7f0399['transactions']['length']&&(this['lastKeyCode']=this['lastSelectionTime']=0x0);}['destroy'](){this['mouseSelection']&&this['mouseSelection']['destroy']();}}function _0x32269b(_0x5e5abc,_0x44da2c){return(_0x50d08f,_0x4fd255)=>{try{return _0x44da2c['call'](_0x5e5abc,_0x4fd255,_0x50d08f);}catch(_0x21ae40){logException(_0x50d08f['state'],_0x21ae40);}};}function computeHandlers(_0x16364a){let _0x2ff2c6=Object['create'](null);function _0x4bc1d2(_0x254689){return _0x2ff2c6[_0x254689]||(_0x2ff2c6[_0x254689]={'observers':[],'handlers':[]});}for(let _0x57b78d of _0x16364a){let _0x46ef23=_0x57b78d['spec'],_0x3fcdb2=_0x46ef23&&_0x46ef23['plugin']['domEventHandlers'],_0x28aeb6=_0x46ef23&&_0x46ef23['plugin']['domEventObservers'];if(_0x3fcdb2)for(let _0x826af3 in _0x3fcdb2){let _0xc15a88=_0x3fcdb2[_0x826af3];_0xc15a88&&_0x4bc1d2(_0x826af3)['handlers']['push'](_0x32269b(_0x57b78d['value'],_0xc15a88));}if(_0x28aeb6)for(let _0x44bad8 in _0x28aeb6){let _0x443bcc=_0x28aeb6[_0x44bad8];_0x443bcc&&_0x4bc1d2(_0x44bad8)['observers']['push'](_0x32269b(_0x57b78d['value'],_0x443bcc));}}for(let _0x4ca0e3 in _0x15bfb6)_0x4bc1d2(_0x4ca0e3)['handlers']['push'](_0x15bfb6[_0x4ca0e3]);for(let _0x57b5a6 in _0x2aba55)_0x4bc1d2(_0x57b5a6)['observers']['push'](_0x2aba55[_0x57b5a6]);return _0x2ff2c6;}const _0xc61b91=[{'key':'Backspace','keyCode':0x8,'inputType':'deleteContentBackward'},{'key':'Enter','keyCode':0xd,'inputType':'insertParagraph'},{'key':'Enter','keyCode':0xd,'inputType':'insertLineBreak'},{'key':'Delete','keyCode':0x2e,'inputType':'deleteContentForward'}],_0x3635c8='dthko',_0x3a60dd=[0x10,0x11,0x12,0x14,0x5b,0x5c,0xe0,0xe1],_0xedfc9b=0x6;function _0x412d67(_0x1ab543){return 0.7*Math['max'](0x0,_0x1ab543)+0x8;}function dist(_0x2bb5fa,_0x63d54e){return Math['max'](Math['abs'](_0x2bb5fa['clientX']-_0x63d54e['clientX']),Math['abs'](_0x2bb5fa['clientY']-_0x63d54e['clientY']));}class MouseSelection{constructor(_0x5bbfc2,_0x1676ea,_0x3dbda6,_0x295cbe){this['view']=_0x5bbfc2,this['startEvent']=_0x1676ea,this['style']=_0x3dbda6,this['mustSelect']=_0x295cbe,this['scrollSpeed']={'x':0x0,'y':0x0},this['scrolling']=-0x1,this['lastEvent']=_0x1676ea,this['scrollParents']=scrollableParents(_0x5bbfc2['contentDOM']),this['atoms']=_0x5bbfc2['state']['facet'](atomicRanges)['map'](_0x18d0de=>_0x18d0de(_0x5bbfc2));let _0x6aad31=_0x5bbfc2['contentDOM']['ownerDocument'];_0x6aad31['addEventListener']('mousemove',this['move']=this['move']['bind'](this)),_0x6aad31['addEventListener']('mouseup',this['up']=this['up']['bind'](this)),this['extend']=_0x1676ea['shiftKey'],this['multiple']=_0x5bbfc2['state']['facet'](EditorState['allowMultipleSelections'])&&addsSelectionRange(_0x5bbfc2,_0x1676ea),this['dragging']=!(!isInPrimarySelection(_0x5bbfc2,_0x1676ea)||0x1!=getClickType(_0x1676ea))&&null;}['start'](_0x24947f){!0x1===this['dragging']&&this['select'](_0x24947f);}['move'](_0x321246){if(0x0==_0x321246['buttons'])return this['destroy']();if(this['dragging']||null==this['dragging']&&dist(this['startEvent'],_0x321246)<0xa)return;this['select'](this['lastEvent']=_0x321246);let _0x2aeac5=0x0,_0x28e2d6=0x0,_0x108fff=0x0,_0x991bd5=0x0,_0x34c123=this['view']['win']['innerWidth'],_0x1e56e9=this['view']['win']['innerHeight'];this['scrollParents']['x']&&({left:_0x108fff,right:_0x34c123}=this['scrollParents']['x']['getBoundingClientRect']()),this['scrollParents']['y']&&({top:_0x991bd5,bottom:_0x1e56e9}=this['scrollParents']['y']['getBoundingClientRect']());let _0x488970=getScrollMargins(this['view']);_0x321246['clientX']-_0x488970['left']<=_0x108fff+_0xedfc9b?_0x2aeac5=-_0x412d67(_0x108fff-_0x321246['clientX']):_0x321246['clientX']+_0x488970['right']>=_0x34c123-_0xedfc9b&&(_0x2aeac5=_0x412d67(_0x321246['clientX']-_0x34c123)),_0x321246['clientY']-_0x488970['top']<=_0x991bd5+_0xedfc9b?_0x28e2d6=-_0x412d67(_0x991bd5-_0x321246['clientY']):_0x321246['clientY']+_0x488970['bottom']>=_0x1e56e9-_0xedfc9b&&(_0x28e2d6=_0x412d67(_0x321246['clientY']-_0x1e56e9)),this['setScrollSpeed'](_0x2aeac5,_0x28e2d6);}['up'](_0x57da94){null==this['dragging']&&this['select'](this['lastEvent']),this['dragging']||_0x57da94['preventDefault'](),this['destroy']();}['destroy'](){this['setScrollSpeed'](0x0,0x0);let _0x25c374=this['view']['contentDOM']['ownerDocument'];_0x25c374['removeEventListener']('mousemove',this['move']),_0x25c374['removeEventListener']('mouseup',this['up']),this['view']['inputState']['mouseSelection']=this['view']['inputState']['draggedContent']=null;}['setScrollSpeed'](_0x108563,_0x2f6727){this['scrollSpeed']={'x':_0x108563,'y':_0x2f6727},_0x108563||_0x2f6727?this['scrolling']<0x0&&(this['scrolling']=setInterval(()=>this['scroll'](),0x32)):this['scrolling']>-0x1&&(clearInterval(this['scrolling']),this['scrolling']=-0x1);}['scroll'](){let {x:_0x545133,y:_0x4c159d}=this['scrollSpeed'];_0x545133&&this['scrollParents']['x']&&(this['scrollParents']['x']['scrollLeft']+=_0x545133,_0x545133=0x0),_0x4c159d&&this['scrollParents']['y']&&(this['scrollParents']['y']['scrollTop']+=_0x4c159d,_0x4c159d=0x0),(_0x545133||_0x4c159d)&&this['view']['win']['scrollBy'](_0x545133,_0x4c159d),!0x1===this['dragging']&&this['select'](this['lastEvent']);}['select'](_0x2ea1b){let {view:_0x42cfcb}=this,_0x3ed840=skipAtomsForSelection(this['atoms'],this['style']['get'](_0x2ea1b,this['extend'],this['multiple']));!this['mustSelect']&&_0x3ed840['eq'](_0x42cfcb['state']['selection'],!0x1===this['dragging'])||this['view']['dispatch']({'selection':_0x3ed840,'userEvent':'select.pointer'}),this['mustSelect']=!0x1;}['update'](_0x496f0a){_0x496f0a['transactions']['some'](_0x4e2752=>_0x4e2752['isUserEvent']('input.type'))?this['destroy']():this['style']['update'](_0x496f0a)&&setTimeout(()=>this['select'](this['lastEvent']),0x14);}}function addsSelectionRange(_0x548b2c,_0xbb94fb){let _0x100a18=_0x548b2c['state']['facet'](clickAddsSelectionRange);return _0x100a18['length']?_0x100a18[0x0](_0xbb94fb):_0x28109e['mac']?_0xbb94fb['metaKey']:_0xbb94fb['ctrlKey'];}function dragMovesSelection(_0x8be291,_0x81a1b9){let _0x43c8d2=_0x8be291['state']['facet'](dragMovesSelection$1);return _0x43c8d2['length']?_0x43c8d2[0x0](_0x81a1b9):_0x28109e['mac']?!_0x81a1b9['altKey']:!_0x81a1b9['ctrlKey'];}function isInPrimarySelection(_0xfaf497,_0x17fa0b){let {main:_0x4bf885}=_0xfaf497['state']['selection'];if(_0x4bf885['empty'])return!0x1;let _0x5be859=getSelection(_0xfaf497['root']);if(!_0x5be859||0x0==_0x5be859['rangeCount'])return!0x0;let _0x37f3d6=_0x5be859['getRangeAt'](0x0)['getClientRects']();for(let _0x743a4a=0x0;_0x743a4a<_0x37f3d6['length'];_0x743a4a++){let _0x59d6bb=_0x37f3d6[_0x743a4a];if(_0x59d6bb['left']<=_0x17fa0b['clientX']&&_0x59d6bb['right']>=_0x17fa0b['clientX']&&_0x59d6bb['top']<=_0x17fa0b['clientY']&&_0x59d6bb['bottom']>=_0x17fa0b['clientY'])return!0x0;}return!0x1;}function eventBelongsToEditor(_0x1a54f8,_0x58b15b){if(!_0x58b15b['bubbles'])return!0x0;if(_0x58b15b['defaultPrevented'])return!0x1;for(let _0xb4b215,_0x407685=_0x58b15b['target'];_0x407685!=_0x1a54f8['contentDOM'];_0x407685=_0x407685['parentNode'])if(!_0x407685||0xb==_0x407685['nodeType']||(_0xb4b215=ContentView['get'](_0x407685))&&_0xb4b215['ignoreEvent'](_0x58b15b))return!0x1;return!0x0;}const _0x15bfb6=Object['create'](null),_0x2aba55=Object['create'](null),_0x3a288f=_0x28109e['ie']&&_0x28109e['ie_version']<0xf||_0x28109e['ios']&&_0x28109e['webkit_version']<0x25c;function capturePaste(_0x1ac5e2){let _0x304ee4=_0x1ac5e2['dom']['parentNode'];if(!_0x304ee4)return;let _0x45f38c=_0x304ee4['appendChild'](document['createElement']('textarea'));_0x45f38c['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x45f38c['focus'](),setTimeout(()=>{_0x1ac5e2['focus'](),_0x45f38c['remove'](),doPaste(_0x1ac5e2,_0x45f38c['value']);},0x32);}function textFilter(_0x329dab,_0x1fcaed,_0x122115){for(let _0x2183d1 of _0x329dab['facet'](_0x1fcaed))_0x122115=_0x2183d1(_0x122115,_0x329dab);return _0x122115;}function doPaste(_0x4d0754,_0xa41897){_0xa41897=textFilter(_0x4d0754['state'],clipboardInputFilter,_0xa41897);let _0x434b86,{state:_0xc9044}=_0x4d0754,_0x6e0a94=0x1,_0xaf0fb9=_0xc9044['toText'](_0xa41897),_0x3bd8c6=_0xaf0fb9['lines']==_0xc9044['selection']['ranges']['length'];if(null!=lastLinewiseCopy&&_0xc9044['selection']['ranges']['every'](_0x3ba4a2=>_0x3ba4a2['empty'])&&lastLinewiseCopy==_0xaf0fb9['toString']()){let _0x291d02=-0x1;_0x434b86=_0xc9044['changeByRange'](_0x37a9aa=>{let _0x33d0e0=_0xc9044['doc']['lineAt'](_0x37a9aa['from']);if(_0x33d0e0['from']==_0x291d02)return{'range':_0x37a9aa};_0x291d02=_0x33d0e0['from'];let _0x989d8c=_0xc9044['toText']((_0x3bd8c6?_0xaf0fb9['line'](_0x6e0a94++)['text']:_0xa41897)+_0xc9044['lineBreak']);return{'changes':{'from':_0x33d0e0['from'],'insert':_0x989d8c},'range':EditorSelection['cursor'](_0x37a9aa['from']+_0x989d8c['length'])};});}else _0x434b86=_0x3bd8c6?_0xc9044['changeByRange'](_0x55f24d=>{let _0x20dbc2=_0xaf0fb9['line'](_0x6e0a94++);return{'changes':{'from':_0x55f24d['from'],'to':_0x55f24d['to'],'insert':_0x20dbc2['text']},'range':EditorSelection['cursor'](_0x55f24d['from']+_0x20dbc2['length'])};}):_0xc9044['replaceSelection'](_0xaf0fb9);_0x4d0754['dispatch'](_0x434b86,{'userEvent':'input.paste','scrollIntoView':!0x0});}function _0x857f13(_0x19bb5b,_0xe04d88,_0x5dbad0,_0x4c985f){if(0x1==_0x4c985f)return EditorSelection['cursor'](_0xe04d88,_0x5dbad0);if(0x2==_0x4c985f)return groupAt(_0x19bb5b['state'],_0xe04d88,_0x5dbad0);{let _0x31bfba=_0x297d09['find'](_0x19bb5b['docView'],_0xe04d88),_0x133a60=_0x19bb5b['state']['doc']['lineAt'](_0x31bfba?_0x31bfba['posAtEnd']:_0xe04d88),_0x391894=_0x31bfba?_0x31bfba['posAtStart']:_0x133a60['from'],_0xeb3776=_0x31bfba?_0x31bfba['posAtEnd']:_0x133a60['to'];return _0xeb3776<_0x19bb5b['state']['doc']['length']&&_0xeb3776==_0x133a60['to']&&_0xeb3776++,EditorSelection['range'](_0x391894,_0xeb3776);}}_0x2aba55['scroll']=_0x5897d6=>{_0x5897d6['inputState']['lastScrollTop']=_0x5897d6['scrollDOM']['scrollTop'],_0x5897d6['inputState']['lastScrollLeft']=_0x5897d6['scrollDOM']['scrollLeft'];},_0x15bfb6['keydown']=(_0x292388,_0x4df8be)=>(_0x292388['inputState']['setSelectionOrigin']('select'),0x1b==_0x4df8be['keyCode']&&0x0!=_0x292388['inputState']['tabFocusMode']&&(_0x292388['inputState']['tabFocusMode']=Date['now']()+0x7d0),!0x1),_0x2aba55['touchstart']=(_0x55fad2,_0x83444a)=>{_0x55fad2['inputState']['lastTouchTime']=Date['now'](),_0x55fad2['inputState']['setSelectionOrigin']('select.pointer');},_0x2aba55['touchmove']=_0x3f5bf2=>{_0x3f5bf2['inputState']['setSelectionOrigin']('select.pointer');},_0x15bfb6['mousedown']=(_0x4584d1,_0x4ecde4)=>{if(_0x4584d1['observer']['flush'](),_0x4584d1['inputState']['lastTouchTime']>Date['now']()-0x7d0)return!0x1;let _0x4275fd=null;for(let _0xf56ca7 of _0x4584d1['state']['facet'](mouseSelectionStyle))if(_0x4275fd=_0xf56ca7(_0x4584d1,_0x4ecde4),_0x4275fd)break;if(_0x4275fd||0x0!=_0x4ecde4['button']||(_0x4275fd=basicMouseSelection(_0x4584d1,_0x4ecde4)),_0x4275fd){let _0x1355d9=!_0x4584d1['hasFocus'];_0x4584d1['inputState']['startMouseSelection'](new MouseSelection(_0x4584d1,_0x4ecde4,_0x4275fd,_0x1355d9)),_0x1355d9&&_0x4584d1['observer']['ignore'](()=>{focusPreventScroll(_0x4584d1['contentDOM']);let _0x2ecfdb=_0x4584d1['root']['activeElement'];_0x2ecfdb&&!_0x2ecfdb['contains'](_0x4584d1['contentDOM'])&&_0x2ecfdb['blur']();});let _0x1f374f=_0x4584d1['inputState']['mouseSelection'];if(_0x1f374f)return _0x1f374f['start'](_0x4ecde4),!0x1===_0x1f374f['dragging'];}else _0x4584d1['inputState']['setSelectionOrigin']('select.pointer');return!0x1;};let _0x1ab23f=(_0x1eb8d0,_0x3a6894,_0x12887d)=>_0x3a6894>=_0x12887d['top']&&_0x3a6894<=_0x12887d['bottom']&&_0x1eb8d0>=_0x12887d['left']&&_0x1eb8d0<=_0x12887d['right'];function findPositionSide(_0x15c0cb,_0x3cc35d,_0x372292,_0x3e3852){let _0x13936a=_0x297d09['find'](_0x15c0cb['docView'],_0x3cc35d);if(!_0x13936a)return 0x1;let _0x548706=_0x3cc35d-_0x13936a['posAtStart'];if(0x0==_0x548706)return 0x1;if(_0x548706==_0x13936a['length'])return-0x1;let _0x3ba11d=_0x13936a['coordsAt'](_0x548706,-0x1);if(_0x3ba11d&&_0x1ab23f(_0x372292,_0x3e3852,_0x3ba11d))return-0x1;let _0x5f4a6a=_0x13936a['coordsAt'](_0x548706,0x1);return _0x5f4a6a&&_0x1ab23f(_0x372292,_0x3e3852,_0x5f4a6a)?0x1:_0x3ba11d&&_0x3ba11d['bottom']>=_0x3e3852?-0x1:0x1;}function _0x4eced9(_0x279b3e,_0x2062bb){let _0x386e64=_0x279b3e['posAtCoords']({'x':_0x2062bb['clientX'],'y':_0x2062bb['clientY']},!0x1);return{'pos':_0x386e64,'bias':findPositionSide(_0x279b3e,_0x386e64,_0x2062bb['clientX'],_0x2062bb['clientY'])};}const BadMouseDetail=_0x28109e['ie']&&_0x28109e['ie_version']<=0xb;let lastMouseDown=null,lastMouseDownCount=0x0,lastMouseDownTime=0x0;function getClickType(_0x4d1ff1){if(!BadMouseDetail)return _0x4d1ff1['detail'];let _0x569b6c=lastMouseDown,_0x5b5411=lastMouseDownTime;return lastMouseDown=_0x4d1ff1,lastMouseDownTime=Date['now'](),lastMouseDownCount=!_0x569b6c||_0x5b5411>Date['now']()-0x190&&Math['abs'](_0x569b6c['clientX']-_0x4d1ff1['clientX'])<0x2&&Math['abs'](_0x569b6c['clientY']-_0x4d1ff1['clientY'])<0x2?(lastMouseDownCount+0x1)%0x3:0x1;}function basicMouseSelection(_0x4031bb,_0x1ee47e){let _0x5745d9=_0x4eced9(_0x4031bb,_0x1ee47e),_0x103907=getClickType(_0x1ee47e),_0x32115d=_0x4031bb['state']['selection'];return{'update'(_0x3b3697){_0x3b3697['docChanged']&&(_0x5745d9['pos']=_0x3b3697['changes']['mapPos'](_0x5745d9['pos']),_0x32115d=_0x32115d['map'](_0x3b3697['changes']));},'get'(_0x500b03,_0x47ef8d,_0xfb40c5){let _0x3591c1,_0x48dd61=_0x4eced9(_0x4031bb,_0x500b03),_0x3741ba=_0x857f13(_0x4031bb,_0x48dd61['pos'],_0x48dd61['bias'],_0x103907);if(_0x5745d9['pos']!=_0x48dd61['pos']&&!_0x47ef8d){let _0x274ce2=_0x857f13(_0x4031bb,_0x5745d9['pos'],_0x5745d9['bias'],_0x103907),_0x504055=Math['min'](_0x274ce2['from'],_0x3741ba['from']),_0x120349=Math['max'](_0x274ce2['to'],_0x3741ba['to']);_0x3741ba=_0x504055<_0x3741ba['from']?EditorSelection['range'](_0x504055,_0x120349):EditorSelection['range'](_0x120349,_0x504055);}return _0x47ef8d?_0x32115d['replaceRange'](_0x32115d['main']['extend'](_0x3741ba['from'],_0x3741ba['to'])):_0xfb40c5&&0x1==_0x103907&&_0x32115d['ranges']['length']>0x1&&(_0x3591c1=_0x5bf4d7(_0x32115d,_0x48dd61['pos']))?_0x3591c1:_0xfb40c5?_0x32115d['addRange'](_0x3741ba):EditorSelection['create']([_0x3741ba]);}};}function _0x5bf4d7(_0x1fc2ca,_0x19744c){for(let _0x2b5ef4=0x0;_0x2b5ef4<_0x1fc2ca['ranges']['length'];_0x2b5ef4++){let {from:_0x38a0b4,to:_0x5c01ea}=_0x1fc2ca['ranges'][_0x2b5ef4];if(_0x38a0b4<=_0x19744c&&_0x5c01ea>=_0x19744c)return EditorSelection['create'](_0x1fc2ca['ranges']['slice'](0x0,_0x2b5ef4)['concat'](_0x1fc2ca['ranges']['slice'](_0x2b5ef4+0x1)),_0x1fc2ca['mainIndex']==_0x2b5ef4?0x0:_0x1fc2ca['mainIndex']-(_0x1fc2ca['mainIndex']>_0x2b5ef4?0x1:0x0));}return null;}function dropText(_0x46a126,_0x1eb983,_0x4d78b3,_0x35eb7e){if(!(_0x4d78b3=textFilter(_0x46a126['state'],clipboardInputFilter,_0x4d78b3)))return;let _0x428208=_0x46a126['posAtCoords']({'x':_0x1eb983['clientX'],'y':_0x1eb983['clientY']},!0x1),{draggedContent:_0x3b11f3}=_0x46a126['inputState'],_0x5ddd16=_0x35eb7e&&_0x3b11f3&&dragMovesSelection(_0x46a126,_0x1eb983)?{'from':_0x3b11f3['from'],'to':_0x3b11f3['to']}:null,_0x562c3c={'from':_0x428208,'insert':_0x4d78b3},_0x24ad94=_0x46a126['state']['changes'](_0x5ddd16?[_0x5ddd16,_0x562c3c]:_0x562c3c);_0x46a126['focus'](),_0x46a126['dispatch']({'changes':_0x24ad94,'selection':{'anchor':_0x24ad94['mapPos'](_0x428208,-0x1),'head':_0x24ad94['mapPos'](_0x428208,0x1)},'userEvent':_0x5ddd16?'move.drop':'input.drop'}),_0x46a126['inputState']['draggedContent']=null;}function captureCopy(_0x104434,_0x1293f2){let _0x5b6c94=_0x104434['dom']['parentNode'];if(!_0x5b6c94)return;let _0x49bc01=_0x5b6c94['appendChild'](document['createElement']('textarea'));_0x49bc01['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x49bc01['value']=_0x1293f2,_0x49bc01['focus'](),_0x49bc01['selectionEnd']=_0x1293f2['length'],_0x49bc01['selectionStart']=0x0,setTimeout(()=>{_0x49bc01['remove'](),_0x104434['focus']();},0x32);}function _0x3afa07(_0x5205bf){let _0x449f8b=[],_0x4da387=[],_0xbb4e54=!0x1;for(let _0x19134f of _0x5205bf['selection']['ranges'])_0x19134f['empty']||(_0x449f8b['push'](_0x5205bf['sliceDoc'](_0x19134f['from'],_0x19134f['to'])),_0x4da387['push'](_0x19134f));if(!_0x449f8b['length']){let _0xc637ef=-0x1;for(let {from:_0x1aa40a}of _0x5205bf['selection']['ranges']){let _0xe5a537=_0x5205bf['doc']['lineAt'](_0x1aa40a);_0xe5a537['number']>_0xc637ef&&(_0x449f8b['push'](_0xe5a537['text']),_0x4da387['push']({'from':_0xe5a537['from'],'to':Math['min'](_0x5205bf['doc']['length'],_0xe5a537['to']+0x1)})),_0xc637ef=_0xe5a537['number'];}_0xbb4e54=!0x0;}return{'text':textFilter(_0x5205bf,clipboardOutputFilter,_0x449f8b['join'](_0x5205bf['lineBreak'])),'ranges':_0x4da387,'linewise':_0xbb4e54};}_0x15bfb6['dragstart']=(_0x406eaa,_0x3db915)=>{let {selection:{main:_0x2847cc}}=_0x406eaa['state'];if(_0x3db915['target']['draggable']){let _0xa571a2=_0x406eaa['docView']['nearest'](_0x3db915['target']);if(_0xa571a2&&_0xa571a2['isWidget']){let _0xdb12b9=_0xa571a2['posAtStart'],_0x367196=_0xdb12b9+_0xa571a2['length'];(_0xdb12b9>=_0x2847cc['to']||_0x367196<=_0x2847cc['from'])&&(_0x2847cc=EditorSelection['range'](_0xdb12b9,_0x367196));}}let {inputState:_0x8793ca}=_0x406eaa;return _0x8793ca['mouseSelection']&&(_0x8793ca['mouseSelection']['dragging']=!0x0),_0x8793ca['draggedContent']=_0x2847cc,_0x3db915['dataTransfer']&&(_0x3db915['dataTransfer']['setData']('Text',textFilter(_0x406eaa['state'],clipboardOutputFilter,_0x406eaa['state']['sliceDoc'](_0x2847cc['from'],_0x2847cc['to']))),_0x3db915['dataTransfer']['effectAllowed']='copyMove'),!0x1;},_0x15bfb6['dragend']=_0x4e4fd1=>(_0x4e4fd1['inputState']['draggedContent']=null,!0x1),_0x15bfb6['drop']=(_0x1b2122,_0x4f6c0e)=>{if(!_0x4f6c0e['dataTransfer'])return!0x1;if(_0x1b2122['state']['readOnly'])return!0x0;let _0x2d44ef=_0x4f6c0e['dataTransfer']['files'];if(_0x2d44ef&&_0x2d44ef['length']){let _0x2e67e2=Array(_0x2d44ef['length']),_0x77e24b=0x0,_0x2e9fa4=()=>{++_0x77e24b==_0x2d44ef['length']&&dropText(_0x1b2122,_0x4f6c0e,_0x2e67e2['filter'](_0x17bdf6=>null!=_0x17bdf6)['join'](_0x1b2122['state']['lineBreak']),!0x1);};for(let _0x138e4f=0x0;_0x138e4f<_0x2d44ef['length'];_0x138e4f++){let _0xc886a6=new FileReader();_0xc886a6['onerror']=_0x2e9fa4,_0xc886a6['onload']=()=>{/[\x00-\x08\x0e-\x1f]{2}/['test'](_0xc886a6['result'])||(_0x2e67e2[_0x138e4f]=_0xc886a6['result']),_0x2e9fa4();},_0xc886a6['readAsText'](_0x2d44ef[_0x138e4f]);}return!0x0;}{let _0x1fa504=_0x4f6c0e['dataTransfer']['getData']('Text');if(_0x1fa504)return dropText(_0x1b2122,_0x4f6c0e,_0x1fa504,!0x0),!0x0;}return!0x1;},_0x15bfb6['paste']=(_0x537de6,_0x42ef96)=>{if(_0x537de6['state']['readOnly'])return!0x0;_0x537de6['observer']['flush']();let _0xcd210e=_0x3a288f?null:_0x42ef96['clipboardData'];return _0xcd210e?(doPaste(_0x537de6,_0xcd210e['getData']('text/plain')||_0xcd210e['getData']('text/uri-list')),!0x0):(capturePaste(_0x537de6),!0x1);};let lastLinewiseCopy=null;_0x15bfb6['copy']=_0x15bfb6['cut']=(_0x531091,_0x3f77de)=>{let {text:_0x57b74f,ranges:_0x48ceb3,linewise:_0x22a3a0}=_0x3afa07(_0x531091['state']);if(!_0x57b74f&&!_0x22a3a0)return!0x1;lastLinewiseCopy=_0x22a3a0?_0x57b74f:null,'cut'!=_0x3f77de['type']||_0x531091['state']['readOnly']||_0x531091['dispatch']({'changes':_0x48ceb3,'scrollIntoView':!0x0,'userEvent':'delete.cut'});let _0x5a0d77=_0x3a288f?null:_0x3f77de['clipboardData'];return _0x5a0d77?(_0x5a0d77['clearData'](),_0x5a0d77['setData']('text/plain',_0x57b74f),!0x0):(captureCopy(_0x531091,_0x57b74f),!0x1);};const _0x24d434=Annotation['define']();function focusChangeTransaction(_0x447856,_0x3c52e3){let _0x31677a=[];for(let _0x3e26a8 of _0x447856['facet'](focusChangeEffect)){let _0x250208=_0x3e26a8(_0x447856,_0x3c52e3);_0x250208&&_0x31677a['push'](_0x250208);}return _0x31677a['length']?_0x447856['update']({'effects':_0x31677a,'annotations':_0x24d434['of'](!0x0)}):null;}function updateForFocusChange(_0x5a8fcc){setTimeout(()=>{let _0x59a61e=_0x5a8fcc['hasFocus'];if(_0x59a61e!=_0x5a8fcc['inputState']['notifiedFocused']){let _0x48d23e=focusChangeTransaction(_0x5a8fcc['state'],_0x59a61e);_0x48d23e?_0x5a8fcc['dispatch'](_0x48d23e):_0x5a8fcc['update']([]);}},0xa);}_0x2aba55['focus']=_0xc85681=>{_0xc85681['inputState']['lastFocusTime']=Date['now'](),_0xc85681['scrollDOM']['scrollTop']||!_0xc85681['inputState']['lastScrollTop']&&!_0xc85681['inputState']['lastScrollLeft']||(_0xc85681['scrollDOM']['scrollTop']=_0xc85681['inputState']['lastScrollTop'],_0xc85681['scrollDOM']['scrollLeft']=_0xc85681['inputState']['lastScrollLeft']),updateForFocusChange(_0xc85681);},_0x2aba55['blur']=_0x179e0b=>{_0x179e0b['observer']['clearSelectionRange'](),updateForFocusChange(_0x179e0b);},_0x2aba55['compositionstart']=_0x2aba55['compositionupdate']=_0x17e5ce=>{_0x17e5ce['observer']['editContext']||(null==_0x17e5ce['inputState']['compositionFirstChange']&&(_0x17e5ce['inputState']['compositionFirstChange']=!0x0),_0x17e5ce['inputState']['composing']<0x0&&(_0x17e5ce['inputState']['composing']=0x0));},_0x2aba55['compositionend']=_0x5dfd2a=>{_0x5dfd2a['observer']['editContext']||(_0x5dfd2a['inputState']['composing']=-0x1,_0x5dfd2a['inputState']['compositionEndedAt']=Date['now'](),_0x5dfd2a['inputState']['compositionPendingKey']=!0x0,_0x5dfd2a['inputState']['compositionPendingChange']=_0x5dfd2a['observer']['pendingRecords']()['length']>0x0,_0x5dfd2a['inputState']['compositionFirstChange']=null,_0x28109e['chrome']&&_0x28109e['android']?_0x5dfd2a['observer']['flushSoon']():_0x5dfd2a['inputState']['compositionPendingChange']?Promise['resolve']()['then'](()=>_0x5dfd2a['observer']['flush']()):setTimeout(()=>{_0x5dfd2a['inputState']['composing']<0x0&&_0x5dfd2a['docView']['hasComposition']&&_0x5dfd2a['update']([]);},0x32));},_0x2aba55['contextmenu']=_0x362775=>{_0x362775['inputState']['lastContextMenu']=Date['now']();},_0x15bfb6['beforeinput']=(_0x49538a,_0x37cc88)=>{var _0x15fa33,_0x58ca20;if('insertReplacementText'==_0x37cc88['inputType']&&_0x49538a['observer']['editContext']){let _0x55a6bc=null===(_0x15fa33=_0x37cc88['dataTransfer'])||void 0x0===_0x15fa33?void 0x0:_0x15fa33['getData']('text/plain'),_0x1c1b0e=_0x37cc88['getTargetRanges']();if(_0x55a6bc&&_0x1c1b0e['length']){let _0x508a79=_0x1c1b0e[0x0],_0x17de08=_0x49538a['posAtDOM'](_0x508a79['startContainer'],_0x508a79['startOffset']),_0x1945b7=_0x49538a['posAtDOM'](_0x508a79['endContainer'],_0x508a79['endOffset']);return _0x3111af(_0x49538a,{'from':_0x17de08,'to':_0x1945b7,'insert':_0x49538a['state']['toText'](_0x55a6bc)},null),!0x0;}}let _0x9a4c50;if(_0x28109e['chrome']&&_0x28109e['android']&&(_0x9a4c50=_0xc61b91['find'](_0x2540c0=>_0x2540c0['inputType']==_0x37cc88['inputType']))&&(_0x49538a['observer']['delayAndroidKey'](_0x9a4c50['key'],_0x9a4c50['keyCode']),'Backspace'==_0x9a4c50['key']||'Delete'==_0x9a4c50['key'])){let _0x246549=(null===(_0x58ca20=window['visualViewport'])||void 0x0===_0x58ca20?void 0x0:_0x58ca20['height'])||0x0;setTimeout(()=>{var _0x203357;((null===(_0x203357=window['visualViewport'])||void 0x0===_0x203357?void 0x0:_0x203357['height'])||0x0)>_0x246549+0xa&&_0x49538a['hasFocus']&&(_0x49538a['contentDOM']['blur'](),_0x49538a['focus']());},0x64);}return _0x28109e['ios']&&'deleteContentForward'==_0x37cc88['inputType']&&_0x49538a['observer']['flushSoon'](),_0x28109e['safari']&&'insertText'==_0x37cc88['inputType']&&_0x49538a['inputState']['composing']>=0x0&&setTimeout(()=>_0x2aba55['compositionend'](_0x49538a,_0x37cc88),0x14),!0x1;};const _0x5b6fa9=new Set();function firefoxCopyCutHack(_0x2dce96){_0x5b6fa9['has'](_0x2dce96)||(_0x5b6fa9['add'](_0x2dce96),_0x2dce96['addEventListener']('copy',()=>{}),_0x2dce96['addEventListener']('cut',()=>{}));}const wrappingWhiteSpace=['pre-wrap','normal','pre-line','break-spaces'];let heightChangeFlag=!0x1;function clearHeightChangeFlag(){heightChangeFlag=!0x1;}class HeightOracle{constructor(_0x47541c){this['lineWrapping']=_0x47541c,this['doc']=Text['empty'],this['heightSamples']={},this['lineHeight']=0xe,this['charWidth']=0x7,this['textHeight']=0xe,this['lineLength']=0x1e;}['heightForGap'](_0x494070,_0x241f43){let _0x3a9b42=this['doc']['lineAt'](_0x241f43)['number']-this['doc']['lineAt'](_0x494070)['number']+0x1;return this['lineWrapping']&&(_0x3a9b42+=Math['max'](0x0,Math['ceil']((_0x241f43-_0x494070-_0x3a9b42*this['lineLength']*0.5)/this['lineLength']))),this['lineHeight']*_0x3a9b42;}['heightForLine'](_0x2e146d){if(!this['lineWrapping'])return this['lineHeight'];return(0x1+Math['max'](0x0,Math['ceil']((_0x2e146d-this['lineLength'])/Math['max'](0x1,this['lineLength']-0x5))))*this['lineHeight'];}['setDoc'](_0x561d45){return this['doc']=_0x561d45,this;}['mustRefreshForWrapping'](_0x4c12c4){return wrappingWhiteSpace['indexOf'](_0x4c12c4)>-0x1!=this['lineWrapping'];}['mustRefreshForHeights'](_0x1b44b3){let _0x326802=!0x1;for(let _0x3154be=0x0;_0x3154be<_0x1b44b3['length'];_0x3154be++){let _0x2f282a=_0x1b44b3[_0x3154be];_0x2f282a<0x0?_0x3154be++:this['heightSamples'][Math['floor'](0xa*_0x2f282a)]||(_0x326802=!0x0,this['heightSamples'][Math['floor'](0xa*_0x2f282a)]=!0x0);}return _0x326802;}['refresh'](_0x141ee7,_0x3fcab6,_0x3534e9,_0x252f03,_0x32c4db,_0x21bebe){let _0x33a318=wrappingWhiteSpace['indexOf'](_0x141ee7)>-0x1,_0x42861e=Math['round'](_0x3fcab6)!=Math['round'](this['lineHeight'])||this['lineWrapping']!=_0x33a318;if(this['lineWrapping']=_0x33a318,this['lineHeight']=_0x3fcab6,this['charWidth']=_0x3534e9,this['textHeight']=_0x252f03,this['lineLength']=_0x32c4db,_0x42861e){this['heightSamples']={};for(let _0xcea1=0x0;_0xcea1<_0x21bebe['length'];_0xcea1++){let _0x1c3ae1=_0x21bebe[_0xcea1];_0x1c3ae1<0x0?_0xcea1++:this['heightSamples'][Math['floor'](0xa*_0x1c3ae1)]=!0x0;}}return _0x42861e;}}class MeasuredHeights{constructor(_0x319c64,_0x1b8cdc){this['from']=_0x319c64,this['heights']=_0x1b8cdc,this['index']=0x0;}get['more'](){return this['index']<this['heights']['length'];}}class _0x137a71{constructor(_0x1bfc66,_0x2f519e,_0x573bd0,_0x55280b,_0x1ad8e7){this['from']=_0x1bfc66,this['length']=_0x2f519e,this['top']=_0x573bd0,this['height']=_0x55280b,this['_content']=_0x1ad8e7;}get['type'](){return'number'==typeof this['_content']?_0x8dd476['Text']:Array['isArray'](this['_content'])?this['_content']:this['_content']['type'];}get['to'](){return this['from']+this['length'];}get['bottom'](){return this['top']+this['height'];}get['widget'](){return this['_content']instanceof PointDecoration?this['_content']['widget']:null;}get['widgetLineBreaks'](){return'number'==typeof this['_content']?this['_content']:0x0;}['join'](_0x28e050){let _0xb0cd9f=(Array['isArray'](this['_content'])?this['_content']:[this])['concat'](Array['isArray'](_0x28e050['_content'])?_0x28e050['_content']:[_0x28e050]);return new _0x137a71(this['from'],this['length']+_0x28e050['length'],this['top'],this['height']+_0x28e050['height'],_0xb0cd9f);}}var _0x246545=function(_0x12acf8){return _0x12acf8[_0x12acf8['ByPos']=0x0]='ByPos',_0x12acf8[_0x12acf8['ByHeight']=0x1]='ByHeight',_0x12acf8[_0x12acf8['ByPosNoHeight']=0x2]='ByPosNoHeight',_0x12acf8;}(_0x246545||(_0x246545={}));const _0x9b88c0=0.001;class HeightMap{constructor(_0x5a6a84,_0x132804,_0x2dc297=0x2){this['length']=_0x5a6a84,this['height']=_0x132804,this['flags']=_0x2dc297;}get['outdated'](){return(0x2&this['flags'])>0x0;}set['outdated'](_0x4b227e){this['flags']=(_0x4b227e?0x2:0x0)|-0x3&this['flags'];}['setHeight'](_0x486714){this['height']!=_0x486714&&(Math['abs'](this['height']-_0x486714)>_0x9b88c0&&(heightChangeFlag=!0x0),this['height']=_0x486714);}['replace'](_0x3a5b2b,_0x567054,_0x440992){return HeightMap['of'](_0x440992);}['decomposeLeft'](_0x8cc647,_0x49ff30){_0x49ff30['push'](this);}['decomposeRight'](_0x530373,_0x42f7d7){_0x42f7d7['push'](this);}['applyChanges'](_0x2e89c5,_0x20ec0a,_0x413d5d,_0xd2f4a3){let _0x1b4847=this,_0x46ca45=_0x413d5d['doc'];for(let _0x4f69eb=_0xd2f4a3['length']-0x1;_0x4f69eb>=0x0;_0x4f69eb--){let {fromA:_0x48bdb5,toA:_0x5f58f1,fromB:_0x5b49e4,toB:_0x19c2ed}=_0xd2f4a3[_0x4f69eb],_0x3eef32=_0x1b4847['lineAt'](_0x48bdb5,_0x246545['ByPosNoHeight'],_0x413d5d['setDoc'](_0x20ec0a),0x0,0x0),_0x1e377b=_0x3eef32['to']>=_0x5f58f1?_0x3eef32:_0x1b4847['lineAt'](_0x5f58f1,_0x246545['ByPosNoHeight'],_0x413d5d,0x0,0x0);for(_0x19c2ed+=_0x1e377b['to']-_0x5f58f1,_0x5f58f1=_0x1e377b['to'];_0x4f69eb>0x0&&_0x3eef32['from']<=_0xd2f4a3[_0x4f69eb-0x1]['toA'];)_0x48bdb5=_0xd2f4a3[_0x4f69eb-0x1]['fromA'],_0x5b49e4=_0xd2f4a3[_0x4f69eb-0x1]['fromB'],_0x4f69eb--,_0x48bdb5<_0x3eef32['from']&&(_0x3eef32=_0x1b4847['lineAt'](_0x48bdb5,_0x246545['ByPosNoHeight'],_0x413d5d,0x0,0x0));_0x5b49e4+=_0x3eef32['from']-_0x48bdb5,_0x48bdb5=_0x3eef32['from'];let _0x32ca43=_0x20cd3f['build'](_0x413d5d['setDoc'](_0x46ca45),_0x2e89c5,_0x5b49e4,_0x19c2ed);_0x1b4847=_0xbb65f4(_0x1b4847,_0x1b4847['replace'](_0x48bdb5,_0x5f58f1,_0x32ca43));}return _0x1b4847['updateHeight'](_0x413d5d,0x0);}static['empty'](){return new HeightMapText(0x0,0x0);}static['of'](_0x550fda){if(0x1==_0x550fda['length'])return _0x550fda[0x0];let _0x33170a=0x0,_0x3155b7=_0x550fda['length'],_0x3cf717=0x0,_0x57ee80=0x0;for(;;)if(_0x33170a==_0x3155b7){if(_0x3cf717>0x2*_0x57ee80){let _0x2b098a=_0x550fda[_0x33170a-0x1];_0x2b098a['break']?_0x550fda['splice'](--_0x33170a,0x1,_0x2b098a['left'],null,_0x2b098a['right']):_0x550fda['splice'](--_0x33170a,0x1,_0x2b098a['left'],_0x2b098a['right']),_0x3155b7+=0x1+_0x2b098a['break'],_0x3cf717-=_0x2b098a['size'];}else{if(!(_0x57ee80>0x2*_0x3cf717))break;{let _0x1cb039=_0x550fda[_0x3155b7];_0x1cb039['break']?_0x550fda['splice'](_0x3155b7,0x1,_0x1cb039['left'],null,_0x1cb039['right']):_0x550fda['splice'](_0x3155b7,0x1,_0x1cb039['left'],_0x1cb039['right']),_0x3155b7+=0x2+_0x1cb039['break'],_0x57ee80-=_0x1cb039['size'];}}}else{if(_0x3cf717<_0x57ee80){let _0xfa7eff=_0x550fda[_0x33170a++];_0xfa7eff&&(_0x3cf717+=_0xfa7eff['size']);}else{let _0x3c08d2=_0x550fda[--_0x3155b7];_0x3c08d2&&(_0x57ee80+=_0x3c08d2['size']);}}let _0x4ba861=0x0;return null==_0x550fda[_0x33170a-0x1]?(_0x4ba861=0x1,_0x33170a--):null==_0x550fda[_0x33170a]&&(_0x4ba861=0x1,_0x3155b7++),new HeightMapBranch(HeightMap['of'](_0x550fda['slice'](0x0,_0x33170a)),_0x4ba861,HeightMap['of'](_0x550fda['slice'](_0x3155b7)));}}function _0xbb65f4(_0x3848a8,_0x2d8179){return _0x3848a8==_0x2d8179?_0x3848a8:(_0x3848a8['constructor']!=_0x2d8179['constructor']&&(heightChangeFlag=!0x0),_0x2d8179);}HeightMap['prototype']['size']=0x1;class HeightMapBlock extends HeightMap{constructor(_0x2c3f5f,_0x4bb9da,_0x18c9a0){super(_0x2c3f5f,_0x4bb9da),this['deco']=_0x18c9a0;}['blockAt'](_0x4cde20,_0x109916,_0x16d9c5,_0x104260){return new _0x137a71(_0x104260,this['length'],_0x16d9c5,this['height'],this['deco']||0x0);}['lineAt'](_0x4b36bf,_0x4490ca,_0x55ff45,_0x185a2a,_0x205c2b){return this['blockAt'](0x0,_0x55ff45,_0x185a2a,_0x205c2b);}['forEachLine'](_0x231c39,_0x6b06b4,_0x3ece83,_0x4f160a,_0x375e38,_0x2148c3){_0x231c39<=_0x375e38+this['length']&&_0x6b06b4>=_0x375e38&&_0x2148c3(this['blockAt'](0x0,_0x3ece83,_0x4f160a,_0x375e38));}['updateHeight'](_0x448137,_0x4e6818=0x0,_0x44d4e7=!0x1,_0x168fea){return _0x168fea&&_0x168fea['from']<=_0x4e6818&&_0x168fea['more']&&this['setHeight'](_0x168fea['heights'][_0x168fea['index']++]),this['outdated']=!0x1,this;}['toString'](){return'block('+this['length']+')';}}class HeightMapText extends HeightMapBlock{constructor(_0x565e84,_0x1189a8){super(_0x565e84,_0x1189a8,null),this['collapsed']=0x0,this['widgetHeight']=0x0,this['breaks']=0x0;}['blockAt'](_0x536026,_0x22b4e0,_0x54d126,_0x487cd2){return new _0x137a71(_0x487cd2,this['length'],_0x54d126,this['height'],this['breaks']);}['replace'](_0x20ce91,_0x465183,_0x44f1fd){let _0x348848=_0x44f1fd[0x0];return 0x1==_0x44f1fd['length']&&(_0x348848 instanceof HeightMapText||_0x348848 instanceof HeightMapGap&&0x4&_0x348848['flags'])&&Math['abs'](this['length']-_0x348848['length'])<0xa?(_0x348848 instanceof HeightMapGap?_0x348848=new HeightMapText(_0x348848['length'],this['height']):_0x348848['height']=this['height'],this['outdated']||(_0x348848['outdated']=!0x1),_0x348848):HeightMap['of'](_0x44f1fd);}['updateHeight'](_0x3f33f6,_0x185e42=0x0,_0x3aab9b=!0x1,_0x2288f3){return _0x2288f3&&_0x2288f3['from']<=_0x185e42&&_0x2288f3['more']?this['setHeight'](_0x2288f3['heights'][_0x2288f3['index']++]):(_0x3aab9b||this['outdated'])&&this['setHeight'](Math['max'](this['widgetHeight'],_0x3f33f6['heightForLine'](this['length']-this['collapsed']))+this['breaks']*_0x3f33f6['lineHeight']),this['outdated']=!0x1,this;}['toString'](){return'line('+this['length']+(this['collapsed']?-this['collapsed']:'')+(this['widgetHeight']?':'+this['widgetHeight']:'')+')';}}class HeightMapGap extends HeightMap{constructor(_0x24edb3){super(_0x24edb3,0x0);}['heightMetrics'](_0x393258,_0x3ab521){let _0x367ec9,_0xe9d554=_0x393258['doc']['lineAt'](_0x3ab521)['number'],_0x181870=_0x393258['doc']['lineAt'](_0x3ab521+this['length'])['number'],_0x12a5ed=_0x181870-_0xe9d554+0x1,_0xfdc500=0x0;if(_0x393258['lineWrapping']){let _0x3b47ec=Math['min'](this['height'],_0x393258['lineHeight']*_0x12a5ed);_0x367ec9=_0x3b47ec/_0x12a5ed,this['length']>_0x12a5ed+0x1&&(_0xfdc500=(this['height']-_0x3b47ec)/(this['length']-_0x12a5ed-0x1));}else _0x367ec9=this['height']/_0x12a5ed;return{'firstLine':_0xe9d554,'lastLine':_0x181870,'perLine':_0x367ec9,'perChar':_0xfdc500};}['blockAt'](_0x5c8308,_0x12df90,_0x27feae,_0x5a1863){let {firstLine:_0xfe3df1,lastLine:_0x39d527,perLine:_0x34b834,perChar:_0x13a073}=this['heightMetrics'](_0x12df90,_0x5a1863);if(_0x12df90['lineWrapping']){let _0x508116=_0x5a1863+(_0x5c8308<_0x12df90['lineHeight']?0x0:Math['round'](Math['max'](0x0,Math['min'](0x1,(_0x5c8308-_0x27feae)/this['height']))*this['length'])),_0x7b1adb=_0x12df90['doc']['lineAt'](_0x508116),_0x25b944=_0x34b834+_0x7b1adb['length']*_0x13a073,_0x3f2e17=Math['max'](_0x27feae,_0x5c8308-_0x25b944/0x2);return new _0x137a71(_0x7b1adb['from'],_0x7b1adb['length'],_0x3f2e17,_0x25b944,0x0);}{let _0x10cc5d=Math['max'](0x0,Math['min'](_0x39d527-_0xfe3df1,Math['floor']((_0x5c8308-_0x27feae)/_0x34b834))),{from:_0x211f33,length:_0x3acdae}=_0x12df90['doc']['line'](_0xfe3df1+_0x10cc5d);return new _0x137a71(_0x211f33,_0x3acdae,_0x27feae+_0x34b834*_0x10cc5d,_0x34b834,0x0);}}['lineAt'](_0x1e8d25,_0x3eb052,_0x5128bd,_0x5ece18,_0x281496){if(_0x3eb052==_0x246545['ByHeight'])return this['blockAt'](_0x1e8d25,_0x5128bd,_0x5ece18,_0x281496);if(_0x3eb052==_0x246545['ByPosNoHeight']){let {from:_0x43dbd3,to:_0x1602eb}=_0x5128bd['doc']['lineAt'](_0x1e8d25);return new _0x137a71(_0x43dbd3,_0x1602eb-_0x43dbd3,0x0,0x0,0x0);}let {firstLine:_0xa9c0b2,perLine:_0x45825a,perChar:_0x510928}=this['heightMetrics'](_0x5128bd,_0x281496),_0x1f923c=_0x5128bd['doc']['lineAt'](_0x1e8d25),_0x29e724=_0x45825a+_0x1f923c['length']*_0x510928,_0x104ff9=_0x1f923c['number']-_0xa9c0b2,_0x25969f=_0x5ece18+_0x45825a*_0x104ff9+_0x510928*(_0x1f923c['from']-_0x281496-_0x104ff9);return new _0x137a71(_0x1f923c['from'],_0x1f923c['length'],Math['max'](_0x5ece18,Math['min'](_0x25969f,_0x5ece18+this['height']-_0x29e724)),_0x29e724,0x0);}['forEachLine'](_0x120c12,_0x814a18,_0x131b80,_0x1932cf,_0x41c685,_0x3a194d){_0x120c12=Math['max'](_0x120c12,_0x41c685),_0x814a18=Math['min'](_0x814a18,_0x41c685+this['length']);let {firstLine:_0x8c635b,perLine:_0x1c5162,perChar:_0x50230a}=this['heightMetrics'](_0x131b80,_0x41c685);for(let _0x1b88ab=_0x120c12,_0x58a184=_0x1932cf;_0x1b88ab<=_0x814a18;){let _0x4ebf33=_0x131b80['doc']['lineAt'](_0x1b88ab);if(_0x1b88ab==_0x120c12){let _0x587ec9=_0x4ebf33['number']-_0x8c635b;_0x58a184+=_0x1c5162*_0x587ec9+_0x50230a*(_0x120c12-_0x41c685-_0x587ec9);}let _0x4277b7=_0x1c5162+_0x50230a*_0x4ebf33['length'];_0x3a194d(new _0x137a71(_0x4ebf33['from'],_0x4ebf33['length'],_0x58a184,_0x4277b7,0x0)),_0x58a184+=_0x4277b7,_0x1b88ab=_0x4ebf33['to']+0x1;}}['replace'](_0xf49fb7,_0x1a2f15,_0x4dcdc5){let _0xaf8c7e=this['length']-_0x1a2f15;if(_0xaf8c7e>0x0){let _0x5769a0=_0x4dcdc5[_0x4dcdc5['length']-0x1];_0x5769a0 instanceof HeightMapGap?_0x4dcdc5[_0x4dcdc5['length']-0x1]=new HeightMapGap(_0x5769a0['length']+_0xaf8c7e):_0x4dcdc5['push'](null,new HeightMapGap(_0xaf8c7e-0x1));}if(_0xf49fb7>0x0){let _0x536fd9=_0x4dcdc5[0x0];_0x536fd9 instanceof HeightMapGap?_0x4dcdc5[0x0]=new HeightMapGap(_0xf49fb7+_0x536fd9['length']):_0x4dcdc5['unshift'](new HeightMapGap(_0xf49fb7-0x1),null);}return HeightMap['of'](_0x4dcdc5);}['decomposeLeft'](_0x3fa148,_0x5cb472){_0x5cb472['push'](new HeightMapGap(_0x3fa148-0x1),null);}['decomposeRight'](_0x41fa86,_0x1db550){_0x1db550['push'](null,new HeightMapGap(this['length']-_0x41fa86-0x1));}['updateHeight'](_0x35efdf,_0x9c218e=0x0,_0x4cdd55=!0x1,_0x40965f){let _0x560565=_0x9c218e+this['length'];if(_0x40965f&&_0x40965f['from']<=_0x9c218e+this['length']&&_0x40965f['more']){let _0x562d9a=[],_0x5b37eb=Math['max'](_0x9c218e,_0x40965f['from']),_0x30f76c=-0x1;for(_0x40965f['from']>_0x9c218e&&_0x562d9a['push'](new HeightMapGap(_0x40965f['from']-_0x9c218e-0x1)['updateHeight'](_0x35efdf,_0x9c218e));_0x5b37eb<=_0x560565&&_0x40965f['more'];){let _0x2390a4=_0x35efdf['doc']['lineAt'](_0x5b37eb)['length'];_0x562d9a['length']&&_0x562d9a['push'](null);let _0xe0c64b=_0x40965f['heights'][_0x40965f['index']++];-0x1==_0x30f76c?_0x30f76c=_0xe0c64b:Math['abs'](_0xe0c64b-_0x30f76c)>=_0x9b88c0&&(_0x30f76c=-0x2);let _0x2479f7=new HeightMapText(_0x2390a4,_0xe0c64b);_0x2479f7['outdated']=!0x1,_0x562d9a['push'](_0x2479f7),_0x5b37eb+=_0x2390a4+0x1;}_0x5b37eb<=_0x560565&&_0x562d9a['push'](null,new HeightMapGap(_0x560565-_0x5b37eb)['updateHeight'](_0x35efdf,_0x5b37eb));let _0x283262=HeightMap['of'](_0x562d9a);return(_0x30f76c<0x0||Math['abs'](_0x283262['height']-this['height'])>=_0x9b88c0||Math['abs'](_0x30f76c-this['heightMetrics'](_0x35efdf,_0x9c218e)['perLine'])>=_0x9b88c0)&&(heightChangeFlag=!0x0),_0xbb65f4(this,_0x283262);}return(_0x4cdd55||this['outdated'])&&(this['setHeight'](_0x35efdf['heightForGap'](_0x9c218e,_0x9c218e+this['length'])),this['outdated']=!0x1),this;}['toString'](){return'gap('+this['length']+')';}}class HeightMapBranch extends HeightMap{constructor(_0xff5a09,_0x29e2b9,_0x4121fc){super(_0xff5a09['length']+_0x29e2b9+_0x4121fc['length'],_0xff5a09['height']+_0x4121fc['height'],_0x29e2b9|(_0xff5a09['outdated']||_0x4121fc['outdated']?0x2:0x0)),this['left']=_0xff5a09,this['right']=_0x4121fc,this['size']=_0xff5a09['size']+_0x4121fc['size'];}get['break'](){return 0x1&this['flags'];}['blockAt'](_0x784496,_0x483bb0,_0x269483,_0x4721f2){let _0x26cdf8=_0x269483+this['left']['height'];return _0x784496<_0x26cdf8?this['left']['blockAt'](_0x784496,_0x483bb0,_0x269483,_0x4721f2):this['right']['blockAt'](_0x784496,_0x483bb0,_0x26cdf8,_0x4721f2+this['left']['length']+this['break']);}['lineAt'](_0x19fcec,_0x1c926a,_0x1536ca,_0x438912,_0x201a19){let _0x1214aa=_0x438912+this['left']['height'],_0x427381=_0x201a19+this['left']['length']+this['break'],_0x302e4b=_0x1c926a==_0x246545['ByHeight']?_0x19fcec<_0x1214aa:_0x19fcec<_0x427381,_0x19d6e4=_0x302e4b?this['left']['lineAt'](_0x19fcec,_0x1c926a,_0x1536ca,_0x438912,_0x201a19):this['right']['lineAt'](_0x19fcec,_0x1c926a,_0x1536ca,_0x1214aa,_0x427381);if(this['break']||(_0x302e4b?_0x19d6e4['to']<_0x427381:_0x19d6e4['from']>_0x427381))return _0x19d6e4;let _0x818c9=_0x1c926a==_0x246545['ByPosNoHeight']?_0x246545['ByPosNoHeight']:_0x246545['ByPos'];return _0x302e4b?_0x19d6e4['join'](this['right']['lineAt'](_0x427381,_0x818c9,_0x1536ca,_0x1214aa,_0x427381)):this['left']['lineAt'](_0x427381,_0x818c9,_0x1536ca,_0x438912,_0x201a19)['join'](_0x19d6e4);}['forEachLine'](_0x22e883,_0x121f39,_0x3ba431,_0x67bfaa,_0xbc4905,_0x249d61){let _0x3bf740=_0x67bfaa+this['left']['height'],_0x5cbdc2=_0xbc4905+this['left']['length']+this['break'];if(this['break'])_0x22e883<_0x5cbdc2&&this['left']['forEachLine'](_0x22e883,_0x121f39,_0x3ba431,_0x67bfaa,_0xbc4905,_0x249d61),_0x121f39>=_0x5cbdc2&&this['right']['forEachLine'](_0x22e883,_0x121f39,_0x3ba431,_0x3bf740,_0x5cbdc2,_0x249d61);else{let _0x1e0b5c=this['lineAt'](_0x5cbdc2,_0x246545['ByPos'],_0x3ba431,_0x67bfaa,_0xbc4905);_0x22e883<_0x1e0b5c['from']&&this['left']['forEachLine'](_0x22e883,_0x1e0b5c['from']-0x1,_0x3ba431,_0x67bfaa,_0xbc4905,_0x249d61),_0x1e0b5c['to']>=_0x22e883&&_0x1e0b5c['from']<=_0x121f39&&_0x249d61(_0x1e0b5c),_0x121f39>_0x1e0b5c['to']&&this['right']['forEachLine'](_0x1e0b5c['to']+0x1,_0x121f39,_0x3ba431,_0x3bf740,_0x5cbdc2,_0x249d61);}}['replace'](_0x1e8a19,_0x228c47,_0x335383){let _0x23245e=this['left']['length']+this['break'];if(_0x228c47<_0x23245e)return this['balanced'](this['left']['replace'](_0x1e8a19,_0x228c47,_0x335383),this['right']);if(_0x1e8a19>this['left']['length'])return this['balanced'](this['left'],this['right']['replace'](_0x1e8a19-_0x23245e,_0x228c47-_0x23245e,_0x335383));let _0x6fc87d=[];_0x1e8a19>0x0&&this['decomposeLeft'](_0x1e8a19,_0x6fc87d);let _0x164bba=_0x6fc87d['length'];for(let _0x44478f of _0x335383)_0x6fc87d['push'](_0x44478f);if(_0x1e8a19>0x0&&_0x47d9d5(_0x6fc87d,_0x164bba-0x1),_0x228c47<this['length']){let _0xce849=_0x6fc87d['length'];this['decomposeRight'](_0x228c47,_0x6fc87d),_0x47d9d5(_0x6fc87d,_0xce849);}return HeightMap['of'](_0x6fc87d);}['decomposeLeft'](_0x1530d7,_0x32868a){let _0x4a09a4=this['left']['length'];if(_0x1530d7<=_0x4a09a4)return this['left']['decomposeLeft'](_0x1530d7,_0x32868a);_0x32868a['push'](this['left']),this['break']&&(_0x4a09a4++,_0x1530d7>=_0x4a09a4&&_0x32868a['push'](null)),_0x1530d7>_0x4a09a4&&this['right']['decomposeLeft'](_0x1530d7-_0x4a09a4,_0x32868a);}['decomposeRight'](_0x1f5687,_0x1151c9){let _0x55836b=this['left']['length'],_0x558339=_0x55836b+this['break'];if(_0x1f5687>=_0x558339)return this['right']['decomposeRight'](_0x1f5687-_0x558339,_0x1151c9);_0x1f5687<_0x55836b&&this['left']['decomposeRight'](_0x1f5687,_0x1151c9),this['break']&&_0x1f5687<_0x558339&&_0x1151c9['push'](null),_0x1151c9['push'](this['right']);}['balanced'](_0x3fbba9,_0x5648a5){return _0x3fbba9['size']>0x2*_0x5648a5['size']||_0x5648a5['size']>0x2*_0x3fbba9['size']?HeightMap['of'](this['break']?[_0x3fbba9,null,_0x5648a5]:[_0x3fbba9,_0x5648a5]):(this['left']=_0xbb65f4(this['left'],_0x3fbba9),this['right']=_0xbb65f4(this['right'],_0x5648a5),this['setHeight'](_0x3fbba9['height']+_0x5648a5['height']),this['outdated']=_0x3fbba9['outdated']||_0x5648a5['outdated'],this['size']=_0x3fbba9['size']+_0x5648a5['size'],this['length']=_0x3fbba9['length']+this['break']+_0x5648a5['length'],this);}['updateHeight'](_0xf6abbb,_0x5c14ca=0x0,_0x210e39=!0x1,_0x3ce1a7){let {left:_0x5609da,right:_0x20e886}=this,_0x2ee183=_0x5c14ca+_0x5609da['length']+this['break'],_0xfae4d9=null;return _0x3ce1a7&&_0x3ce1a7['from']<=_0x5c14ca+_0x5609da['length']&&_0x3ce1a7['more']?_0xfae4d9=_0x5609da=_0x5609da['updateHeight'](_0xf6abbb,_0x5c14ca,_0x210e39,_0x3ce1a7):_0x5609da['updateHeight'](_0xf6abbb,_0x5c14ca,_0x210e39),_0x3ce1a7&&_0x3ce1a7['from']<=_0x2ee183+_0x20e886['length']&&_0x3ce1a7['more']?_0xfae4d9=_0x20e886=_0x20e886['updateHeight'](_0xf6abbb,_0x2ee183,_0x210e39,_0x3ce1a7):_0x20e886['updateHeight'](_0xf6abbb,_0x2ee183,_0x210e39),_0xfae4d9?this['balanced'](_0x5609da,_0x20e886):(this['height']=this['left']['height']+this['right']['height'],this['outdated']=!0x1,this);}['toString'](){return this['left']+(this['break']?'\x20':'-')+this['right'];}}function _0x47d9d5(_0xc37e2d,_0x4e2b62){let _0x44f4b1,_0x5a0b93;null==_0xc37e2d[_0x4e2b62]&&(_0x44f4b1=_0xc37e2d[_0x4e2b62-0x1])instanceof HeightMapGap&&(_0x5a0b93=_0xc37e2d[_0x4e2b62+0x1])instanceof HeightMapGap&&_0xc37e2d['splice'](_0x4e2b62-0x1,0x3,new HeightMapGap(_0x44f4b1['length']+0x1+_0x5a0b93['length']));}const relevantWidgetHeight=0x5;class _0x20cd3f{constructor(_0x13815f,_0x21384e){this['pos']=_0x13815f,this['oracle']=_0x21384e,this['nodes']=[],this['lineStart']=-0x1,this['lineEnd']=-0x1,this['covering']=null,this['writtenTo']=_0x13815f;}get['isCovered'](){return this['covering']&&this['nodes'][this['nodes']['length']-0x1]==this['covering'];}['span'](_0x2a3ba8,_0x2e44b8){if(this['lineStart']>-0x1){let _0x3d01ca=Math['min'](_0x2e44b8,this['lineEnd']),_0x5c8d45=this['nodes'][this['nodes']['length']-0x1];_0x5c8d45 instanceof HeightMapText?_0x5c8d45['length']+=_0x3d01ca-this['pos']:(_0x3d01ca>this['pos']||!this['isCovered'])&&this['nodes']['push'](new HeightMapText(_0x3d01ca-this['pos'],-0x1)),this['writtenTo']=_0x3d01ca,_0x2e44b8>_0x3d01ca&&(this['nodes']['push'](null),this['writtenTo']++,this['lineStart']=-0x1);}this['pos']=_0x2e44b8;}['point'](_0x2cb86e,_0x2301cd,_0x141beb){if(_0x2cb86e<_0x2301cd||_0x141beb['heightRelevant']){let _0x4d1e4c=_0x141beb['widget']?_0x141beb['widget']['estimatedHeight']:0x0,_0x2824c8=_0x141beb['widget']?_0x141beb['widget']['lineBreaks']:0x0;_0x4d1e4c<0x0&&(_0x4d1e4c=this['oracle']['lineHeight']);let _0x4f224c=_0x2301cd-_0x2cb86e;_0x141beb['block']?this['addBlock'](new HeightMapBlock(_0x4f224c,_0x4d1e4c,_0x141beb)):(_0x4f224c||_0x2824c8||_0x4d1e4c>=relevantWidgetHeight)&&this['addLineDeco'](_0x4d1e4c,_0x2824c8,_0x4f224c);}else _0x2301cd>_0x2cb86e&&this['span'](_0x2cb86e,_0x2301cd);this['lineEnd']>-0x1&&this['lineEnd']<this['pos']&&(this['lineEnd']=this['oracle']['doc']['lineAt'](this['pos'])['to']);}['enterLine'](){if(this['lineStart']>-0x1)return;let {from:_0x2dee20,to:_0x278c28}=this['oracle']['doc']['lineAt'](this['pos']);this['lineStart']=_0x2dee20,this['lineEnd']=_0x278c28,this['writtenTo']<_0x2dee20&&((this['writtenTo']<_0x2dee20-0x1||null==this['nodes'][this['nodes']['length']-0x1])&&this['nodes']['push'](this['blankContent'](this['writtenTo'],_0x2dee20-0x1)),this['nodes']['push'](null)),this['pos']>_0x2dee20&&this['nodes']['push'](new HeightMapText(this['pos']-_0x2dee20,-0x1)),this['writtenTo']=this['pos'];}['blankContent'](_0x2ef0fb,_0xb27577){let _0x127556=new HeightMapGap(_0xb27577-_0x2ef0fb);return this['oracle']['doc']['lineAt'](_0x2ef0fb)['to']==_0xb27577&&(_0x127556['flags']|=0x4),_0x127556;}['ensureLine'](){this['enterLine']();let _0x532648=this['nodes']['length']?this['nodes'][this['nodes']['length']-0x1]:null;if(_0x532648 instanceof HeightMapText)return _0x532648;let _0x5d7829=new HeightMapText(0x0,-0x1);return this['nodes']['push'](_0x5d7829),_0x5d7829;}['addBlock'](_0x1c2fa5){this['enterLine']();let _0x4202a5=_0x1c2fa5['deco'];_0x4202a5&&_0x4202a5['startSide']>0x0&&!this['isCovered']&&this['ensureLine'](),this['nodes']['push'](_0x1c2fa5),this['writtenTo']=this['pos']=this['pos']+_0x1c2fa5['length'],_0x4202a5&&_0x4202a5['endSide']>0x0&&(this['covering']=_0x1c2fa5);}['addLineDeco'](_0xa4f993,_0x3ef0e0,_0x1aad1d){let _0x5d4c74=this['ensureLine']();_0x5d4c74['length']+=_0x1aad1d,_0x5d4c74['collapsed']+=_0x1aad1d,_0x5d4c74['widgetHeight']=Math['max'](_0x5d4c74['widgetHeight'],_0xa4f993),_0x5d4c74['breaks']+=_0x3ef0e0,this['writtenTo']=this['pos']=this['pos']+_0x1aad1d;}['finish'](_0x4c3084){let _0x334b76=0x0==this['nodes']['length']?null:this['nodes'][this['nodes']['length']-0x1];!(this['lineStart']>-0x1)||_0x334b76 instanceof HeightMapText||this['isCovered']?(this['writtenTo']<this['pos']||null==_0x334b76)&&this['nodes']['push'](this['blankContent'](this['writtenTo'],this['pos'])):this['nodes']['push'](new HeightMapText(0x0,-0x1));let _0x1106ea=_0x4c3084;for(let _0x5900b9 of this['nodes'])_0x5900b9 instanceof HeightMapText&&_0x5900b9['updateHeight'](this['oracle'],_0x1106ea),_0x1106ea+=_0x5900b9?_0x5900b9['length']:0x1;return this['nodes'];}static['build'](_0x425759,_0x30e122,_0x136c5b,_0xa9aa7d){let _0x45c5f5=new _0x20cd3f(_0x136c5b,_0x425759);return RangeSet['spans'](_0x30e122,_0x136c5b,_0xa9aa7d,_0x45c5f5,0x0),_0x45c5f5['finish'](_0x136c5b);}}function heightRelevantDecoChanges(_0x48c875,_0xffad77,_0x1f2fb1){let _0x468b5b=new DecorationComparator();return RangeSet['compare'](_0x48c875,_0xffad77,_0x1f2fb1,_0x468b5b,0x0),_0x468b5b['changes'];}class DecorationComparator{constructor(){this['changes']=[];}['compareRange'](){}['comparePoint'](_0x1f9d29,_0xf2ed5b,_0x4bb1be,_0x4d8f2f){(_0x1f9d29<_0xf2ed5b||_0x4bb1be&&_0x4bb1be['heightRelevant']||_0x4d8f2f&&_0x4d8f2f['heightRelevant'])&&_0x2ba0be(_0x1f9d29,_0xf2ed5b,this['changes'],0x5);}}function _0x3b6766(_0x3f2639,_0xf203cb){let _0x43095d=_0x3f2639['getBoundingClientRect'](),_0x20b566=_0x3f2639['ownerDocument'],_0x531a52=_0x20b566['defaultView']||window,_0x41748f=Math['max'](0x0,_0x43095d['left']),_0x38a4f6=Math['min'](_0x531a52['innerWidth'],_0x43095d['right']),_0x82fb2f=Math['max'](0x0,_0x43095d['top']),_0x79f648=Math['min'](_0x531a52['innerHeight'],_0x43095d['bottom']);for(let _0x25d224=_0x3f2639['parentNode'];_0x25d224&&_0x25d224!=_0x20b566['body'];)if(0x1==_0x25d224['nodeType']){let _0x21c239=_0x25d224,_0x3d61d0=window['getComputedStyle'](_0x21c239);if((_0x21c239['scrollHeight']>_0x21c239['clientHeight']||_0x21c239['scrollWidth']>_0x21c239['clientWidth'])&&'visible'!=_0x3d61d0['overflow']){let _0xff208b=_0x21c239['getBoundingClientRect']();_0x41748f=Math['max'](_0x41748f,_0xff208b['left']),_0x38a4f6=Math['min'](_0x38a4f6,_0xff208b['right']),_0x82fb2f=Math['max'](_0x82fb2f,_0xff208b['top']),_0x79f648=Math['min'](_0x25d224==_0x3f2639['parentNode']?_0x531a52['innerHeight']:_0x79f648,_0xff208b['bottom']);}_0x25d224='absolute'==_0x3d61d0['position']||'fixed'==_0x3d61d0['position']?_0x21c239['offsetParent']:_0x21c239['parentNode'];}else{if(0xb!=_0x25d224['nodeType'])break;_0x25d224=_0x25d224['host'];}return{'left':_0x41748f-_0x43095d['left'],'right':Math['max'](_0x41748f,_0x38a4f6)-_0x43095d['left'],'top':_0x82fb2f-(_0x43095d['top']+_0xf203cb),'bottom':Math['max'](_0x82fb2f,_0x79f648)-(_0x43095d['top']+_0xf203cb)};}function _0x7c8f1a(_0x508bf8){let _0xc5cf19=_0x508bf8['getBoundingClientRect'](),_0x718eae=_0x508bf8['ownerDocument']['defaultView']||window;return _0xc5cf19['left']<_0x718eae['innerWidth']&&_0xc5cf19['right']>0x0&&_0xc5cf19['top']<_0x718eae['innerHeight']&&_0xc5cf19['bottom']>0x0;}function _0x28c70b(_0x27ddd7,_0xf96b85){let _0x27cedd=_0x27ddd7['getBoundingClientRect']();return{'left':0x0,'right':_0x27cedd['right']-_0x27cedd['left'],'top':_0xf96b85,'bottom':_0x27cedd['bottom']-(_0x27cedd['top']+_0xf96b85)};}class _0x1a1e63{constructor(_0x276e8e,_0x8ffacd,_0x349aa9,_0x526811){this['from']=_0x276e8e,this['to']=_0x8ffacd,this['size']=_0x349aa9,this['displaySize']=_0x526811;}static['same'](_0x313d33,_0xd144d3){if(_0x313d33['length']!=_0xd144d3['length'])return!0x1;for(let _0x523261=0x0;_0x523261<_0x313d33['length'];_0x523261++){let _0x19b3d8=_0x313d33[_0x523261],_0x495bbf=_0xd144d3[_0x523261];if(_0x19b3d8['from']!=_0x495bbf['from']||_0x19b3d8['to']!=_0x495bbf['to']||_0x19b3d8['size']!=_0x495bbf['size'])return!0x1;}return!0x0;}['draw'](_0xaec2cc,_0x3252be){return Decoration['replace']({'widget':new LineGapWidget(this['displaySize']*(_0x3252be?_0xaec2cc['scaleY']:_0xaec2cc['scaleX']),_0x3252be)})['range'](this['from'],this['to']);}}class LineGapWidget extends WidgetType{constructor(_0x124972,_0x469bcc){super(),this['size']=_0x124972,this['vertical']=_0x469bcc;}['eq'](_0x18d610){return _0x18d610['size']==this['size']&&_0x18d610['vertical']==this['vertical'];}['toDOM'](){let _0x570350=document['createElement']('div');return this['vertical']?_0x570350['style']['height']=this['size']+'px':(_0x570350['style']['width']=this['size']+'px',_0x570350['style']['height']='2px',_0x570350['style']['display']='inline-block'),_0x570350;}get['estimatedHeight'](){return this['vertical']?this['size']:-0x1;}}class ViewState{constructor(_0x3accec){this['state']=_0x3accec,this['pixelViewport']={'left':0x0,'right':window['innerWidth'],'top':0x0,'bottom':0x0},this['inView']=!0x0,this['paddingTop']=0x0,this['paddingBottom']=0x0,this['contentDOMWidth']=0x0,this['contentDOMHeight']=0x0,this['editorHeight']=0x0,this['editorWidth']=0x0,this['scrollTop']=0x0,this['scrolledToBottom']=!0x1,this['scaleX']=0x1,this['scaleY']=0x1,this['scrollAnchorPos']=0x0,this['scrollAnchorHeight']=-0x1,this['scaler']=_0x3089e6,this['scrollTarget']=null,this['printing']=!0x1,this['mustMeasureContent']=!0x0,this['defaultTextDirection']=Direction['LTR'],this['visibleRanges']=[],this['mustEnforceCursorAssoc']=!0x1;let _0x33efdd=_0x3accec['facet'](contentAttributes)['some'](_0x4e8124=>'function'!=typeof _0x4e8124&&'cm-lineWrapping'==_0x4e8124['class']);this['heightOracle']=new HeightOracle(_0x33efdd),this['stateDeco']=_0x3accec['facet'](decorations)['filter'](_0x474736=>'function'!=typeof _0x474736),this['heightMap']=HeightMap['empty']()['applyChanges'](this['stateDeco'],Text['empty'],this['heightOracle']['setDoc'](_0x3accec['doc']),[new _0x5d6dd5(0x0,0x0,0x0,_0x3accec['doc']['length'])]);for(let _0x2ecf19=0x0;_0x2ecf19<0x2&&(this['viewport']=this['getViewport'](0x0,null),this['updateForViewport']());_0x2ecf19++);this['updateViewportLines'](),this['lineGaps']=this['ensureLineGaps']([]),this['lineGapDeco']=Decoration['set'](this['lineGaps']['map'](_0x33d284=>_0x33d284['draw'](this,!0x1))),this['computeVisibleRanges']();}['updateForViewport'](){let _0x3e951c=[this['viewport']],{main:_0x6bf6c0}=this['state']['selection'];for(let _0x2b0cab=0x0;_0x2b0cab<=0x1;_0x2b0cab++){let _0x3c8114=_0x2b0cab?_0x6bf6c0['head']:_0x6bf6c0['anchor'];if(!_0x3e951c['some'](({from:_0x597896,to:_0x4b65e4})=>_0x3c8114>=_0x597896&&_0x3c8114<=_0x4b65e4)){let {from:_0x336288,to:_0x284c10}=this['lineBlockAt'](_0x3c8114);_0x3e951c['push'](new Viewport(_0x336288,_0x284c10));}}return this['viewports']=_0x3e951c['sort']((_0x4d4c3e,_0x27369c)=>_0x4d4c3e['from']-_0x27369c['from']),this['updateScaler']();}['updateScaler'](){let _0x5efe88=this['scaler'];return this['scaler']=this['heightMap']['height']<=0x6acfc0?_0x3089e6:new _0x36d695(this['heightOracle'],this['heightMap'],this['viewports']),_0x5efe88['eq'](this['scaler'])?0x0:0x2;}['updateViewportLines'](){this['viewportLines']=[],this['heightMap']['forEachLine'](this['viewport']['from'],this['viewport']['to'],this['heightOracle']['setDoc'](this['state']['doc']),0x0,0x0,_0x5324cb=>{this['viewportLines']['push'](_0x8dcf6c(_0x5324cb,this['scaler']));});}['update'](_0x44ed80,_0x1b5b5c=null){this['state']=_0x44ed80['state'];let _0x1203cd=this['stateDeco'];this['stateDeco']=this['state']['facet'](decorations)['filter'](_0xa1d074=>'function'!=typeof _0xa1d074);let _0x5a72a4=_0x44ed80['changedRanges'],_0x4fa955=_0x5d6dd5['extendWithRanges'](_0x5a72a4,heightRelevantDecoChanges(_0x1203cd,this['stateDeco'],_0x44ed80?_0x44ed80['changes']:ChangeSet['empty'](this['state']['doc']['length']))),_0x49e0e2=this['heightMap']['height'],_0x3be49d=this['scrolledToBottom']?null:this['scrollAnchorAt'](this['scrollTop']);clearHeightChangeFlag(),this['heightMap']=this['heightMap']['applyChanges'](this['stateDeco'],_0x44ed80['startState']['doc'],this['heightOracle']['setDoc'](this['state']['doc']),_0x4fa955),(this['heightMap']['height']!=_0x49e0e2||heightChangeFlag)&&(_0x44ed80['flags']|=0x2),_0x3be49d?(this['scrollAnchorPos']=_0x44ed80['changes']['mapPos'](_0x3be49d['from'],-0x1),this['scrollAnchorHeight']=_0x3be49d['top']):(this['scrollAnchorPos']=-0x1,this['scrollAnchorHeight']=_0x49e0e2);let _0x396b82=_0x4fa955['length']?this['mapViewport'](this['viewport'],_0x44ed80['changes']):this['viewport'];(_0x1b5b5c&&(_0x1b5b5c['range']['head']<_0x396b82['from']||_0x1b5b5c['range']['head']>_0x396b82['to'])||!this['viewportIsAppropriate'](_0x396b82))&&(_0x396b82=this['getViewport'](0x0,_0x1b5b5c));let _0x4f7c1c=_0x396b82['from']!=this['viewport']['from']||_0x396b82['to']!=this['viewport']['to'];this['viewport']=_0x396b82,_0x44ed80['flags']|=this['updateForViewport'](),(_0x4f7c1c||!_0x44ed80['changes']['empty']||0x2&_0x44ed80['flags'])&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](this['mapLineGaps'](this['lineGaps'],_0x44ed80['changes']))),_0x44ed80['flags']|=this['computeVisibleRanges'](_0x44ed80['changes']),_0x1b5b5c&&(this['scrollTarget']=_0x1b5b5c),!this['mustEnforceCursorAssoc']&&_0x44ed80['selectionSet']&&_0x44ed80['view']['lineWrapping']&&_0x44ed80['state']['selection']['main']['empty']&&_0x44ed80['state']['selection']['main']['assoc']&&!_0x44ed80['state']['facet'](nativeSelectionHidden)&&(this['mustEnforceCursorAssoc']=!0x0);}['measure'](_0x222f25){let _0x5b912d=_0x222f25['contentDOM'],_0x1b9964=window['getComputedStyle'](_0x5b912d),_0x194995=this['heightOracle'],_0x57c199=_0x1b9964['whiteSpace'];this['defaultTextDirection']='rtl'==_0x1b9964['direction']?Direction['RTL']:Direction['LTR'];let _0x1b55bf=this['heightOracle']['mustRefreshForWrapping'](_0x57c199),_0x317f61=_0x5b912d['getBoundingClientRect'](),_0x4cda56=_0x1b55bf||this['mustMeasureContent']||this['contentDOMHeight']!=_0x317f61['height'];this['contentDOMHeight']=_0x317f61['height'],this['mustMeasureContent']=!0x1;let _0x5578e2=0x0,_0x43baee=0x0;if(_0x317f61['width']&&_0x317f61['height']){let {scaleX:_0x31a093,scaleY:_0x306a87}=getScale(_0x5b912d,_0x317f61);(_0x31a093>0.005&&Math['abs'](this['scaleX']-_0x31a093)>0.005||_0x306a87>0.005&&Math['abs'](this['scaleY']-_0x306a87)>0.005)&&(this['scaleX']=_0x31a093,this['scaleY']=_0x306a87,_0x5578e2|=0x10,_0x1b55bf=_0x4cda56=!0x0);}let _0x27c749=(parseInt(_0x1b9964['paddingTop'])||0x0)*this['scaleY'],_0xa04d20=(parseInt(_0x1b9964['paddingBottom'])||0x0)*this['scaleY'];this['paddingTop']==_0x27c749&&this['paddingBottom']==_0xa04d20||(this['paddingTop']=_0x27c749,this['paddingBottom']=_0xa04d20,_0x5578e2|=0x12),this['editorWidth']!=_0x222f25['scrollDOM']['clientWidth']&&(_0x194995['lineWrapping']&&(_0x4cda56=!0x0),this['editorWidth']=_0x222f25['scrollDOM']['clientWidth'],_0x5578e2|=0x10);let _0xfafa70=_0x222f25['scrollDOM']['scrollTop']*this['scaleY'];this['scrollTop']!=_0xfafa70&&(this['scrollAnchorHeight']=-0x1,this['scrollTop']=_0xfafa70),this['scrolledToBottom']=isScrolledToBottom(_0x222f25['scrollDOM']);let _0x3aacff=(this['printing']?_0x28c70b:_0x3b6766)(_0x5b912d,this['paddingTop']),_0x4ca95e=_0x3aacff['top']-this['pixelViewport']['top'],_0x1d3458=_0x3aacff['bottom']-this['pixelViewport']['bottom'];this['pixelViewport']=_0x3aacff;let _0x6e9e0=this['pixelViewport']['bottom']>this['pixelViewport']['top']&&this['pixelViewport']['right']>this['pixelViewport']['left'];if(_0x6e9e0!=this['inView']&&(this['inView']=_0x6e9e0,_0x6e9e0&&(_0x4cda56=!0x0)),!this['inView']&&!this['scrollTarget']&&!_0x7c8f1a(_0x222f25['dom']))return 0x0;let _0x15bc59=_0x317f61['width'];if(this['contentDOMWidth']==_0x15bc59&&this['editorHeight']==_0x222f25['scrollDOM']['clientHeight']||(this['contentDOMWidth']=_0x317f61['width'],this['editorHeight']=_0x222f25['scrollDOM']['clientHeight'],_0x5578e2|=0x10),_0x4cda56){let _0x108a48=_0x222f25['docView']['measureVisibleLineHeights'](this['viewport']);if(_0x194995['mustRefreshForHeights'](_0x108a48)&&(_0x1b55bf=!0x0),_0x1b55bf||_0x194995['lineWrapping']&&Math['abs'](_0x15bc59-this['contentDOMWidth'])>_0x194995['charWidth']){let {lineHeight:_0x4a2cf0,charWidth:_0x26cc12,textHeight:_0x7f9bc6}=_0x222f25['docView']['measureTextSize']();_0x1b55bf=_0x4a2cf0>0x0&&_0x194995['refresh'](_0x57c199,_0x4a2cf0,_0x26cc12,_0x7f9bc6,Math['max'](0x5,_0x15bc59/_0x26cc12),_0x108a48),_0x1b55bf&&(_0x222f25['docView']['minWidth']=0x0,_0x5578e2|=0x10);}_0x4ca95e>0x0&&_0x1d3458>0x0?_0x43baee=Math['max'](_0x4ca95e,_0x1d3458):_0x4ca95e<0x0&&_0x1d3458<0x0&&(_0x43baee=Math['min'](_0x4ca95e,_0x1d3458)),clearHeightChangeFlag();for(let _0x13f619 of this['viewports']){let _0x28f75f=_0x13f619['from']==this['viewport']['from']?_0x108a48:_0x222f25['docView']['measureVisibleLineHeights'](_0x13f619);this['heightMap']=(_0x1b55bf?HeightMap['empty']()['applyChanges'](this['stateDeco'],Text['empty'],this['heightOracle'],[new _0x5d6dd5(0x0,0x0,0x0,_0x222f25['state']['doc']['length'])]):this['heightMap'])['updateHeight'](_0x194995,0x0,_0x1b55bf,new MeasuredHeights(_0x13f619['from'],_0x28f75f));}heightChangeFlag&&(_0x5578e2|=0x2);}let _0x40a5c4=!this['viewportIsAppropriate'](this['viewport'],_0x43baee)||this['scrollTarget']&&(this['scrollTarget']['range']['head']<this['viewport']['from']||this['scrollTarget']['range']['head']>this['viewport']['to']);return _0x40a5c4&&(0x2&_0x5578e2&&(_0x5578e2|=this['updateScaler']()),this['viewport']=this['getViewport'](_0x43baee,this['scrollTarget']),_0x5578e2|=this['updateForViewport']()),(0x2&_0x5578e2||_0x40a5c4)&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](_0x1b55bf?[]:this['lineGaps'],_0x222f25)),_0x5578e2|=this['computeVisibleRanges'](),this['mustEnforceCursorAssoc']&&(this['mustEnforceCursorAssoc']=!0x1,_0x222f25['docView']['enforceCursorAssoc']()),_0x5578e2;}get['visibleTop'](){return this['scaler']['fromDOM'](this['pixelViewport']['top']);}get['visibleBottom'](){return this['scaler']['fromDOM'](this['pixelViewport']['bottom']);}['getViewport'](_0x229951,_0x366bf8){let _0x500e6b=0.5-Math['max'](-0.5,Math['min'](0.5,_0x229951/0x3e8/0x2)),_0x39549f=this['heightMap'],_0x2db074=this['heightOracle'],{visibleTop:_0x3d9b91,visibleBottom:_0x199be1}=this,_0x42a3a0=new Viewport(_0x39549f['lineAt'](_0x3d9b91-0x3e8*_0x500e6b,_0x246545['ByHeight'],_0x2db074,0x0,0x0)['from'],_0x39549f['lineAt'](_0x199be1+0x3e8*(0x1-_0x500e6b),_0x246545['ByHeight'],_0x2db074,0x0,0x0)['to']);if(_0x366bf8){let {head:_0x23bf76}=_0x366bf8['range'];if(_0x23bf76<_0x42a3a0['from']||_0x23bf76>_0x42a3a0['to']){let _0x3a9e9f,_0x43cd0c=Math['min'](this['editorHeight'],this['pixelViewport']['bottom']-this['pixelViewport']['top']),_0x28209e=_0x39549f['lineAt'](_0x23bf76,_0x246545['ByPos'],_0x2db074,0x0,0x0);_0x3a9e9f='center'==_0x366bf8['y']?(_0x28209e['top']+_0x28209e['bottom'])/0x2-_0x43cd0c/0x2:'start'==_0x366bf8['y']||'nearest'==_0x366bf8['y']&&_0x23bf76<_0x42a3a0['from']?_0x28209e['top']:_0x28209e['bottom']-_0x43cd0c,_0x42a3a0=new Viewport(_0x39549f['lineAt'](_0x3a9e9f-0x1f4,_0x246545['ByHeight'],_0x2db074,0x0,0x0)['from'],_0x39549f['lineAt'](_0x3a9e9f+_0x43cd0c+0x1f4,_0x246545['ByHeight'],_0x2db074,0x0,0x0)['to']);}}return _0x42a3a0;}['mapViewport'](_0x39be4c,_0x3ef4d7){let _0x4c5c32=_0x3ef4d7['mapPos'](_0x39be4c['from'],-0x1),_0x1e7041=_0x3ef4d7['mapPos'](_0x39be4c['to'],0x1);return new Viewport(this['heightMap']['lineAt'](_0x4c5c32,_0x246545['ByPos'],this['heightOracle'],0x0,0x0)['from'],this['heightMap']['lineAt'](_0x1e7041,_0x246545['ByPos'],this['heightOracle'],0x0,0x0)['to']);}['viewportIsAppropriate']({from:_0x29a564,to:_0x482339},_0x149b71=0x0){if(!this['inView'])return!0x0;let {top:_0x184681}=this['heightMap']['lineAt'](_0x29a564,_0x246545['ByPos'],this['heightOracle'],0x0,0x0),{bottom:_0x1c2d1d}=this['heightMap']['lineAt'](_0x482339,_0x246545['ByPos'],this['heightOracle'],0x0,0x0),{visibleTop:_0x42474b,visibleBottom:_0x47f39e}=this;return(0x0==_0x29a564||_0x184681<=_0x42474b-Math['max'](0xa,Math['min'](-_0x149b71,0xfa)))&&(_0x482339==this['state']['doc']['length']||_0x1c2d1d>=_0x47f39e+Math['max'](0xa,Math['min'](_0x149b71,0xfa)))&&_0x184681>_0x42474b-0x7d0&&_0x1c2d1d<_0x47f39e+0x7d0;}['mapLineGaps'](_0x1131dd,_0x32af42){if(!_0x1131dd['length']||_0x32af42['empty'])return _0x1131dd;let _0x1780ad=[];for(let _0x3e1ff3 of _0x1131dd)_0x32af42['touchesRange'](_0x3e1ff3['from'],_0x3e1ff3['to'])||_0x1780ad['push'](new _0x1a1e63(_0x32af42['mapPos'](_0x3e1ff3['from']),_0x32af42['mapPos'](_0x3e1ff3['to']),_0x3e1ff3['size'],_0x3e1ff3['displaySize']));return _0x1780ad;}['ensureLineGaps'](_0x1b5ac2,_0x3b5d03){let _0x31064d=this['heightOracle']['lineWrapping'],_0xe02986=_0x31064d?0x2710:0x7d0,_0x414c0d=_0xe02986>>0x1,_0x13ce9b=_0xe02986<<0x1;if(this['defaultTextDirection']!=Direction['LTR']&&!_0x31064d)return[];let _0x4b4fcb=[],_0x3b15a2=(_0x51e5c6,_0x31d612,_0x11a79c,_0x297842)=>{if(_0x31d612-_0x51e5c6<_0x414c0d)return;let _0x2ea419=this['state']['selection']['main'],_0x2ce411=[_0x2ea419['from']];_0x2ea419['empty']||_0x2ce411['push'](_0x2ea419['to']);for(let _0xff6a5f of _0x2ce411)if(_0xff6a5f>_0x51e5c6&&_0xff6a5f<_0x31d612)return _0x3b15a2(_0x51e5c6,_0xff6a5f-0xa,_0x11a79c,_0x297842),void _0x3b15a2(_0xff6a5f+0xa,_0x31d612,_0x11a79c,_0x297842);let _0x870fdf=_0x220605(_0x1b5ac2,_0x2ecf0b=>_0x2ecf0b['from']>=_0x11a79c['from']&&_0x2ecf0b['to']<=_0x11a79c['to']&&Math['abs'](_0x2ecf0b['from']-_0x51e5c6)<_0x414c0d&&Math['abs'](_0x2ecf0b['to']-_0x31d612)<_0x414c0d&&!_0x2ce411['some'](_0x197af9=>_0x2ecf0b['from']<_0x197af9&&_0x2ecf0b['to']>_0x197af9));if(!_0x870fdf){if(_0x31d612<_0x11a79c['to']&&_0x3b5d03&&_0x31064d&&_0x3b5d03['visibleRanges']['some'](_0x4f5a80=>_0x4f5a80['from']<=_0x31d612&&_0x4f5a80['to']>=_0x31d612)){let _0x2a666c=_0x3b5d03['moveToLineBoundary'](EditorSelection['cursor'](_0x31d612),!0x1,!0x0)['head'];_0x2a666c>_0x51e5c6&&(_0x31d612=_0x2a666c);}let _0x39b7d0=this['gapSize'](_0x11a79c,_0x51e5c6,_0x31d612,_0x297842);_0x870fdf=new _0x1a1e63(_0x51e5c6,_0x31d612,_0x39b7d0,_0x31064d||_0x39b7d0<0x1e8480?_0x39b7d0:0x1e8480);}_0x4b4fcb['push'](_0x870fdf);},_0x42ebae=_0x3a7452=>{if(_0x3a7452['length']<_0x13ce9b||_0x3a7452['type']!=_0x8dd476['Text'])return;let _0x19f7e7=lineStructure(_0x3a7452['from'],_0x3a7452['to'],this['stateDeco']);if(_0x19f7e7['total']<_0x13ce9b)return;let _0x1cda10,_0x32a1dc,_0x3aff30=this['scrollTarget']?this['scrollTarget']['range']['head']:null;if(_0x31064d){let _0x52cc1d,_0x49b6b4,_0x3c22b9=_0xe02986/this['heightOracle']['lineLength']*this['heightOracle']['lineHeight'];if(null!=_0x3aff30){let _0x35a581=findFraction(_0x19f7e7,_0x3aff30),_0x544997=((this['visibleBottom']-this['visibleTop'])/0x2+_0x3c22b9)/_0x3a7452['height'];_0x52cc1d=_0x35a581-_0x544997,_0x49b6b4=_0x35a581+_0x544997;}else _0x52cc1d=(this['visibleTop']-_0x3a7452['top']-_0x3c22b9)/_0x3a7452['height'],_0x49b6b4=(this['visibleBottom']-_0x3a7452['top']+_0x3c22b9)/_0x3a7452['height'];_0x1cda10=findPosition(_0x19f7e7,_0x52cc1d),_0x32a1dc=findPosition(_0x19f7e7,_0x49b6b4);}else{let _0x4e345f=_0x19f7e7['total']*this['heightOracle']['charWidth'],_0x2c1000=_0xe02986*this['heightOracle']['charWidth'],_0x1fa54e=0x0;if(_0x4e345f>0x1e8480){for(let _0x32e8e4 of _0x1b5ac2)_0x32e8e4['from']>=_0x3a7452['from']&&_0x32e8e4['from']<_0x3a7452['to']&&_0x32e8e4['size']!=_0x32e8e4['displaySize']&&_0x32e8e4['from']*this['heightOracle']['charWidth']+_0x1fa54e<this['pixelViewport']['left']&&(_0x1fa54e=_0x32e8e4['size']-_0x32e8e4['displaySize']);}let _0x48a275,_0x33a1dc,_0x3f3d2b=this['pixelViewport']['left']+_0x1fa54e,_0x22fadb=this['pixelViewport']['right']+_0x1fa54e;if(null!=_0x3aff30){let _0x31d562=findFraction(_0x19f7e7,_0x3aff30),_0x5b0433=((_0x22fadb-_0x3f3d2b)/0x2+_0x2c1000)/_0x4e345f;_0x48a275=_0x31d562-_0x5b0433,_0x33a1dc=_0x31d562+_0x5b0433;}else _0x48a275=(_0x3f3d2b-_0x2c1000)/_0x4e345f,_0x33a1dc=(_0x22fadb+_0x2c1000)/_0x4e345f;_0x1cda10=findPosition(_0x19f7e7,_0x48a275),_0x32a1dc=findPosition(_0x19f7e7,_0x33a1dc);}_0x1cda10>_0x3a7452['from']&&_0x3b15a2(_0x3a7452['from'],_0x1cda10,_0x3a7452,_0x19f7e7),_0x32a1dc<_0x3a7452['to']&&_0x3b15a2(_0x32a1dc,_0x3a7452['to'],_0x3a7452,_0x19f7e7);};for(let _0x11d79e of this['viewportLines'])Array['isArray'](_0x11d79e['type'])?_0x11d79e['type']['forEach'](_0x42ebae):_0x42ebae(_0x11d79e);return _0x4b4fcb;}['gapSize'](_0x49cf12,_0x266e02,_0x257b68,_0x595b83){let _0x25ac6d=findFraction(_0x595b83,_0x257b68)-findFraction(_0x595b83,_0x266e02);return this['heightOracle']['lineWrapping']?_0x49cf12['height']*_0x25ac6d:_0x595b83['total']*this['heightOracle']['charWidth']*_0x25ac6d;}['updateLineGaps'](_0x5e3039){_0x1a1e63['same'](_0x5e3039,this['lineGaps'])||(this['lineGaps']=_0x5e3039,this['lineGapDeco']=Decoration['set'](_0x5e3039['map'](_0x11a998=>_0x11a998['draw'](this,this['heightOracle']['lineWrapping']))));}['computeVisibleRanges'](_0x1f035a){let _0x10b846=this['stateDeco'];this['lineGaps']['length']&&(_0x10b846=_0x10b846['concat'](this['lineGapDeco']));let _0x933aec=[];RangeSet['spans'](_0x10b846,this['viewport']['from'],this['viewport']['to'],{'span'(_0xec3e2c,_0x2141a9){_0x933aec['push']({'from':_0xec3e2c,'to':_0x2141a9});},'point'(){}},0x14);let _0x39b952=0x0;if(_0x933aec['length']!=this['visibleRanges']['length'])_0x39b952=0xc;else for(let _0x410290=0x0;_0x410290<_0x933aec['length']&&!(0x8&_0x39b952);_0x410290++){let _0x398b4a=this['visibleRanges'][_0x410290],_0xf29a5e=_0x933aec[_0x410290];_0x398b4a['from']==_0xf29a5e['from']&&_0x398b4a['to']==_0xf29a5e['to']||(_0x39b952|=0x4,_0x1f035a&&_0x1f035a['mapPos'](_0x398b4a['from'],-0x1)==_0xf29a5e['from']&&_0x1f035a['mapPos'](_0x398b4a['to'],0x1)==_0xf29a5e['to']||(_0x39b952|=0x8));}return this['visibleRanges']=_0x933aec,_0x39b952;}['lineBlockAt'](_0x54fe8c){return _0x54fe8c>=this['viewport']['from']&&_0x54fe8c<=this['viewport']['to']&&this['viewportLines']['find'](_0x319873=>_0x319873['from']<=_0x54fe8c&&_0x319873['to']>=_0x54fe8c)||_0x8dcf6c(this['heightMap']['lineAt'](_0x54fe8c,_0x246545['ByPos'],this['heightOracle'],0x0,0x0),this['scaler']);}['lineBlockAtHeight'](_0x5b2752){return _0x5b2752>=this['viewportLines'][0x0]['top']&&_0x5b2752<=this['viewportLines'][this['viewportLines']['length']-0x1]['bottom']&&this['viewportLines']['find'](_0xa943c7=>_0xa943c7['top']<=_0x5b2752&&_0xa943c7['bottom']>=_0x5b2752)||_0x8dcf6c(this['heightMap']['lineAt'](this['scaler']['fromDOM'](_0x5b2752),_0x246545['ByHeight'],this['heightOracle'],0x0,0x0),this['scaler']);}['scrollAnchorAt'](_0x3ba154){let _0x265ca3=this['lineBlockAtHeight'](_0x3ba154+0x8);return _0x265ca3['from']>=this['viewport']['from']||this['viewportLines'][0x0]['top']-_0x3ba154>0xc8?_0x265ca3:this['viewportLines'][0x0];}['elementAtHeight'](_0x2686c4){return _0x8dcf6c(this['heightMap']['blockAt'](this['scaler']['fromDOM'](_0x2686c4),this['heightOracle'],0x0,0x0),this['scaler']);}get['docHeight'](){return this['scaler']['toDOM'](this['heightMap']['height']);}get['contentHeight'](){return this['docHeight']+this['paddingTop']+this['paddingBottom'];}}class Viewport{constructor(_0x1e31fd,_0x24eead){this['from']=_0x1e31fd,this['to']=_0x24eead;}}function lineStructure(_0x466c9d,_0x34c9c9,_0x49cfb3){let _0xe226e1=[],_0x1492ea=_0x466c9d,_0x3c1bc1=0x0;return RangeSet['spans'](_0x49cfb3,_0x466c9d,_0x34c9c9,{'span'(){},'point'(_0x19103f,_0x219467){_0x19103f>_0x1492ea&&(_0xe226e1['push']({'from':_0x1492ea,'to':_0x19103f}),_0x3c1bc1+=_0x19103f-_0x1492ea),_0x1492ea=_0x219467;}},0x14),_0x1492ea<_0x34c9c9&&(_0xe226e1['push']({'from':_0x1492ea,'to':_0x34c9c9}),_0x3c1bc1+=_0x34c9c9-_0x1492ea),{'total':_0x3c1bc1,'ranges':_0xe226e1};}function findPosition({total:_0x28bb43,ranges:_0x178fd7},_0x527963){if(_0x527963<=0x0)return _0x178fd7[0x0]['from'];if(_0x527963>=0x1)return _0x178fd7[_0x178fd7['length']-0x1]['to'];let _0x499798=Math['floor'](_0x28bb43*_0x527963);for(let _0x30c5bd=0x0;;_0x30c5bd++){let {from:_0x22efec,to:_0x34f935}=_0x178fd7[_0x30c5bd],_0x434f90=_0x34f935-_0x22efec;if(_0x499798<=_0x434f90)return _0x22efec+_0x499798;_0x499798-=_0x434f90;}}function findFraction(_0x5dd254,_0x98a491){let _0x16eca4=0x0;for(let {from:_0x8bd37d,to:_0x27973e}of _0x5dd254['ranges']){if(_0x98a491<=_0x27973e){_0x16eca4+=_0x98a491-_0x8bd37d;break;}_0x16eca4+=_0x27973e-_0x8bd37d;}return _0x16eca4/_0x5dd254['total'];}function _0x220605(_0x4cd85e,_0x344b69){for(let _0x26c48d of _0x4cd85e)if(_0x344b69(_0x26c48d))return _0x26c48d;}const _0x3089e6={'toDOM':_0x5b616a=>_0x5b616a,'fromDOM':_0x3ff955=>_0x3ff955,'scale':0x1,'eq'(_0x3def44){return _0x3def44==this;}};class _0x36d695{constructor(_0x514d12,_0x5be636,_0x3c8b64){let _0x38e4ad=0x0,_0x1477e=0x0,_0x448192=0x0;this['viewports']=_0x3c8b64['map'](({from:_0x512b53,to:_0x63f9bd})=>{let _0x293b10=_0x5be636['lineAt'](_0x512b53,_0x246545['ByPos'],_0x514d12,0x0,0x0)['top'],_0x553417=_0x5be636['lineAt'](_0x63f9bd,_0x246545['ByPos'],_0x514d12,0x0,0x0)['bottom'];return _0x38e4ad+=_0x553417-_0x293b10,{'from':_0x512b53,'to':_0x63f9bd,'top':_0x293b10,'bottom':_0x553417,'domTop':0x0,'domBottom':0x0};}),this['scale']=(0x6acfc0-_0x38e4ad)/(_0x5be636['height']-_0x38e4ad);for(let _0x4063c4 of this['viewports'])_0x4063c4['domTop']=_0x448192+(_0x4063c4['top']-_0x1477e)*this['scale'],_0x448192=_0x4063c4['domBottom']=_0x4063c4['domTop']+(_0x4063c4['bottom']-_0x4063c4['top']),_0x1477e=_0x4063c4['bottom'];}['toDOM'](_0x1b8d5e){for(let _0x5af769=0x0,_0x4fea82=0x0,_0x477c7f=0x0;;_0x5af769++){let _0x208eea=_0x5af769<this['viewports']['length']?this['viewports'][_0x5af769]:null;if(!_0x208eea||_0x1b8d5e<_0x208eea['top'])return _0x477c7f+(_0x1b8d5e-_0x4fea82)*this['scale'];if(_0x1b8d5e<=_0x208eea['bottom'])return _0x208eea['domTop']+(_0x1b8d5e-_0x208eea['top']);_0x4fea82=_0x208eea['bottom'],_0x477c7f=_0x208eea['domBottom'];}}['fromDOM'](_0x3a1ac3){for(let _0x3d0c23=0x0,_0x5d4c31=0x0,_0x24c18e=0x0;;_0x3d0c23++){let _0x9eea2c=_0x3d0c23<this['viewports']['length']?this['viewports'][_0x3d0c23]:null;if(!_0x9eea2c||_0x3a1ac3<_0x9eea2c['domTop'])return _0x5d4c31+(_0x3a1ac3-_0x24c18e)/this['scale'];if(_0x3a1ac3<=_0x9eea2c['domBottom'])return _0x9eea2c['top']+(_0x3a1ac3-_0x9eea2c['domTop']);_0x5d4c31=_0x9eea2c['bottom'],_0x24c18e=_0x9eea2c['domBottom'];}}['eq'](_0x49643e){return _0x49643e instanceof _0x36d695&&(this['scale']==_0x49643e['scale']&&this['viewports']['length']==_0x49643e['viewports']['length']&&this['viewports']['every']((_0x640c88,_0x3f7442)=>_0x640c88['from']==_0x49643e['viewports'][_0x3f7442]['from']&&_0x640c88['to']==_0x49643e['viewports'][_0x3f7442]['to']));}}function _0x8dcf6c(_0x56ac42,_0x3fef76){if(0x1==_0x3fef76['scale'])return _0x56ac42;let _0x49bafd=_0x3fef76['toDOM'](_0x56ac42['top']),_0x1a4066=_0x3fef76['toDOM'](_0x56ac42['bottom']);return new _0x137a71(_0x56ac42['from'],_0x56ac42['length'],_0x49bafd,_0x1a4066-_0x49bafd,Array['isArray'](_0x56ac42['_content'])?_0x56ac42['_content']['map'](_0x5b5104=>_0x8dcf6c(_0x5b5104,_0x3fef76)):_0x56ac42['_content']);}const theme=Facet['define']({'combine':_0x292f23=>_0x292f23['join']('\x20')}),_0x60eb21=Facet['define']({'combine':_0x46cc1b=>_0x46cc1b['indexOf'](!0x0)>-0x1}),_0x5cf6ae=StyleModule['newName'](),baseLightID=StyleModule['newName'](),_0x3f4c52=StyleModule['newName'](),lightDarkIDs={'&light':'.'+baseLightID,'&dark':'.'+_0x3f4c52};function _0x3a6a5a(_0x21aee8,_0x2b5e25,_0x5e915f){return new StyleModule(_0x2b5e25,{'finish':_0x5b78a4=>/&/['test'](_0x5b78a4)?_0x5b78a4['replace'](/&\w*/,_0x3be891=>{if('&'==_0x3be891)return _0x21aee8;if(!_0x5e915f||!_0x5e915f[_0x3be891])throw new RangeError('Unsupported\x20selector:\x20'+_0x3be891);return _0x5e915f[_0x3be891];}):_0x21aee8+'\x20'+_0x5b78a4});}const _0x432253=_0x3a6a5a('.'+_0x5cf6ae,{'&':{'position':'relative\x20!important','boxSizing':'border-box','&.cm-focused':{'outline':'1px\x20dotted\x20#212121'},'display':'flex\x20!important','flexDirection':'column'},'.cm-scroller':{'display':'flex\x20!important','alignItems':'flex-start\x20!important','fontFamily':'monospace','lineHeight':1.4,'height':'100%','overflowX':'auto','position':'relative','zIndex':0x0,'overflowAnchor':'none'},'.cm-content':{'margin':0x0,'flexGrow':0x2,'flexShrink':0x0,'display':'block','whiteSpace':'pre','wordWrap':'normal','boxSizing':'border-box','minHeight':'100%','padding':'4px\x200','outline':'none','&[contenteditable=true]':{'WebkitUserModify':'read-write-plaintext-only'}},'.cm-lineWrapping':{'whiteSpace_fallback':'pre-wrap','whiteSpace':'break-spaces','wordBreak':'break-word','overflowWrap':'anywhere','flexShrink':0x1},'&light\x20.cm-content':{'caretColor':'black'},'&dark\x20.cm-content':{'caretColor':'white'},'.cm-line':{'display':'block','padding':'0\x202px\x200\x206px'},'.cm-layer':{'position':'absolute','left':0x0,'top':0x0,'contain':'size\x20style','&\x20>\x20*':{'position':'absolute'}},'&light\x20.cm-selectionBackground':{'background':'#d9d9d9'},'&dark\x20.cm-selectionBackground':{'background':'#222'},'&light.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-selectionLayer\x20.cm-selectionBackground':{'background':'#d7d4f0'},'&dark.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-selectionLayer\x20.cm-selectionBackground':{'background':'#233'},'.cm-cursorLayer':{'pointerEvents':'none'},'&.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-cursorLayer':{'animation':'steps(1)\x20cm-blink\x201.2s\x20infinite'},'@keyframes\x20cm-blink':{'0%':{},'50%':{'opacity':0x0},'100%':{}},'@keyframes\x20cm-blink2':{'0%':{},'50%':{'opacity':0x0},'100%':{}},'.cm-cursor,\x20.cm-dropCursor':{'borderLeft':'1.2px\x20solid\x20black','marginLeft':'-0.6px','pointerEvents':'none'},'.cm-cursor':{'display':'none'},'&dark\x20.cm-cursor':{'borderLeftColor':'#ddd'},'.cm-dropCursor':{'position':'absolute'},'&.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-cursorLayer\x20.cm-cursor':{'display':'block'},'.cm-iso':{'unicodeBidi':'isolate'},'.cm-announced':{'position':'fixed','top':'-10000px'},'@media\x20print':{'.cm-announced':{'display':'none'}},'&light\x20.cm-activeLine':{'backgroundColor':'#cceeff44'},'&dark\x20.cm-activeLine':{'backgroundColor':'#99eeff33'},'&light\x20.cm-specialChar':{'color':'red'},'&dark\x20.cm-specialChar':{'color':'#f78'},'.cm-gutters':{'flexShrink':0x0,'display':'flex','height':'100%','boxSizing':'border-box','zIndex':0xc8},'.cm-gutters-before':{'insetInlineStart':0x0},'.cm-gutters-after':{'insetInlineEnd':0x0},'&light\x20.cm-gutters':{'backgroundColor':'#f5f5f5','color':'#6c6c6c','border':'0px\x20solid\x20#ddd','&.cm-gutters-before':{'borderRightWidth':'1px'},'&.cm-gutters-after':{'borderLeftWidth':'1px'}},'&dark\x20.cm-gutters':{'backgroundColor':'#333338','color':'#ccc'},'.cm-gutter':{'display':'flex\x20!important','flexDirection':'column','flexShrink':0x0,'boxSizing':'border-box','minHeight':'100%','overflow':'hidden'},'.cm-gutterElement':{'boxSizing':'border-box'},'.cm-lineNumbers\x20.cm-gutterElement':{'padding':'0\x203px\x200\x205px','minWidth':'20px','textAlign':'right','whiteSpace':'nowrap'},'&light\x20.cm-activeLineGutter':{'backgroundColor':'#e2f2ff'},'&dark\x20.cm-activeLineGutter':{'backgroundColor':'#222227'},'.cm-panels':{'boxSizing':'border-box','position':'sticky','left':0x0,'right':0x0,'zIndex':0x12c},'&light\x20.cm-panels':{'backgroundColor':'#f5f5f5','color':'black'},'&light\x20.cm-panels-top':{'borderBottom':'1px\x20solid\x20#ddd'},'&light\x20.cm-panels-bottom':{'borderTop':'1px\x20solid\x20#ddd'},'&dark\x20.cm-panels':{'backgroundColor':'#333338','color':'white'},'.cm-dialog':{'padding':'2px\x2019px\x204px\x206px','position':'relative','&\x20label':{'fontSize':'80%'}},'.cm-dialog-close':{'position':'absolute','top':'3px','right':'4px','backgroundColor':'inherit','border':'none','font':'inherit','fontSize':'14px','padding':'0'},'.cm-tab':{'display':'inline-block','overflow':'hidden','verticalAlign':'bottom'},'.cm-widgetBuffer':{'verticalAlign':'text-top','height':'1em','width':0x0,'display':'inline'},'.cm-placeholder':{'color':'#888','display':'inline-block','verticalAlign':'top','userSelect':'none'},'.cm-highlightSpace':{'backgroundImage':'radial-gradient(circle\x20at\x2050%\x2055%,\x20#aaa\x2020%,\x20transparent\x205%)','backgroundPosition':'center'},'.cm-highlightTab':{'backgroundImage':'url(\x27data:image/svg+xml,<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20width=\x22200\x22\x20height=\x2220\x22><path\x20stroke=\x22%23888\x22\x20stroke-width=\x221\x22\x20fill=\x22none\x22\x20d=\x22M1\x2010H196L190\x205M190\x2015L196\x2010M197\x204L197\x2016\x22/></svg>\x27)','backgroundSize':'auto\x20100%','backgroundPosition':'right\x2090%','backgroundRepeat':'no-repeat'},'.cm-trailingSpace':{'backgroundColor':'#ff332255'},'.cm-button':{'verticalAlign':'middle','color':'inherit','fontSize':'70%','padding':'.2em\x201em','borderRadius':'1px'},'&light\x20.cm-button':{'backgroundImage':'linear-gradient(#eff1f5,\x20#d9d9df)','border':'1px\x20solid\x20#888','&:active':{'backgroundImage':'linear-gradient(#b4b4b4,\x20#d0d3d6)'}},'&dark\x20.cm-button':{'backgroundImage':'linear-gradient(#393939,\x20#111)','border':'1px\x20solid\x20#888','&:active':{'backgroundImage':'linear-gradient(#111,\x20#333)'}},'.cm-textfield':{'verticalAlign':'middle','color':'inherit','fontSize':'70%','border':'1px\x20solid\x20silver','padding':'.2em\x20.5em'},'&light\x20.cm-textfield':{'backgroundColor':'white'},'&dark\x20.cm-textfield':{'border':'1px\x20solid\x20#555','backgroundColor':'inherit'}},lightDarkIDs),observeOptions={'childList':!0x0,'characterData':!0x0,'subtree':!0x0,'attributes':!0x0,'characterDataOldValue':!0x0},useCharData=_0x28109e['ie']&&_0x28109e['ie_version']<=0xb;class _0x596fc7{constructor(_0x2353f0){this['view']=_0x2353f0,this['active']=!0x1,this['editContext']=null,this['selectionRange']=new DOMSelectionState(),this['selectionChanged']=!0x1,this['delayedFlush']=-0x1,this['resizeTimeout']=-0x1,this['queue']=[],this['delayedAndroidKey']=null,this['flushingAndroidKey']=-0x1,this['lastChange']=0x0,this['scrollTargets']=[],this['intersection']=null,this['resizeScroll']=null,this['intersecting']=!0x1,this['gapIntersection']=null,this['gaps']=[],this['printQuery']=null,this['parentCheck']=-0x1,this['dom']=_0x2353f0['contentDOM'],this['observer']=new MutationObserver(_0x108fbd=>{for(let _0x360a4d of _0x108fbd)this['queue']['push'](_0x360a4d);(_0x28109e['ie']&&_0x28109e['ie_version']<=0xb||_0x28109e['ios']&&_0x2353f0['composing'])&&_0x108fbd['some'](_0x483ad1=>'childList'==_0x483ad1['type']&&_0x483ad1['removedNodes']['length']||'characterData'==_0x483ad1['type']&&_0x483ad1['oldValue']['length']>_0x483ad1['target']['nodeValue']['length'])?this['flushSoon']():this['flush']();}),!window['EditContext']||!_0x28109e['android']||!0x1===_0x2353f0['constructor']['EDIT_CONTEXT']||_0x28109e['chrome']&&_0x28109e['chrome_version']<0x7e||(this['editContext']=new EditContextManager(_0x2353f0),_0x2353f0['state']['facet'](editable)&&(_0x2353f0['contentDOM']['editContext']=this['editContext']['editContext'])),useCharData&&(this['onCharData']=_0x297500=>{this['queue']['push']({'target':_0x297500['target'],'type':'characterData','oldValue':_0x297500['prevValue']}),this['flushSoon']();}),this['onSelectionChange']=this['onSelectionChange']['bind'](this),this['onResize']=this['onResize']['bind'](this),this['onPrint']=this['onPrint']['bind'](this),this['onScroll']=this['onScroll']['bind'](this),window['matchMedia']&&(this['printQuery']=window['matchMedia']('print')),'function'==typeof ResizeObserver&&(this['resizeScroll']=new ResizeObserver(()=>{var _0x38901b;(null===(_0x38901b=this['view']['docView'])||void 0x0===_0x38901b?void 0x0:_0x38901b['lastUpdate'])<Date['now']()-0x4b&&this['onResize']();}),this['resizeScroll']['observe'](_0x2353f0['scrollDOM'])),this['addWindowListeners'](this['win']=_0x2353f0['win']),this['start'](),'function'==typeof IntersectionObserver&&(this['intersection']=new IntersectionObserver(_0x451e3a=>{this['parentCheck']<0x0&&(this['parentCheck']=setTimeout(this['listenForScroll']['bind'](this),0x3e8)),_0x451e3a['length']>0x0&&_0x451e3a[_0x451e3a['length']-0x1]['intersectionRatio']>0x0!=this['intersecting']&&(this['intersecting']=!this['intersecting'],this['intersecting']!=this['view']['inView']&&this['onScrollChanged'](document['createEvent']('Event')));},{'threshold':[0x0,0.001]}),this['intersection']['observe'](this['dom']),this['gapIntersection']=new IntersectionObserver(_0x2c8318=>{_0x2c8318['length']>0x0&&_0x2c8318[_0x2c8318['length']-0x1]['intersectionRatio']>0x0&&this['onScrollChanged'](document['createEvent']('Event'));},{})),this['listenForScroll'](),this['readSelectionRange']();}['onScrollChanged'](_0x20f989){this['view']['inputState']['runHandlers']('scroll',_0x20f989),this['intersecting']&&this['view']['measure']();}['onScroll'](_0x344396){this['intersecting']&&this['flush'](!0x1),this['editContext']&&this['view']['requestMeasure'](this['editContext']['measureReq']),this['onScrollChanged'](_0x344396);}['onResize'](){this['resizeTimeout']<0x0&&(this['resizeTimeout']=setTimeout(()=>{this['resizeTimeout']=-0x1,this['view']['requestMeasure']();},0x32));}['onPrint'](_0x178486){('change'!=_0x178486['type']&&_0x178486['type']||_0x178486['matches'])&&(this['view']['viewState']['printing']=!0x0,this['view']['measure'](),setTimeout(()=>{this['view']['viewState']['printing']=!0x1,this['view']['requestMeasure']();},0x1f4));}['updateGaps'](_0x3d0482){if(this['gapIntersection']&&(_0x3d0482['length']!=this['gaps']['length']||this['gaps']['some']((_0x579791,_0x270a6f)=>_0x579791!=_0x3d0482[_0x270a6f]))){this['gapIntersection']['disconnect']();for(let _0x1dc059 of _0x3d0482)this['gapIntersection']['observe'](_0x1dc059);this['gaps']=_0x3d0482;}}['onSelectionChange'](_0x4021fc){let _0x173f59=this['selectionChanged'];if(!this['readSelectionRange']()||this['delayedAndroidKey'])return;let {view:_0x2084b4}=this,_0x1e1f23=this['selectionRange'];if(_0x2084b4['state']['facet'](editable)?_0x2084b4['root']['activeElement']!=this['dom']:!hasSelection(this['dom'],_0x1e1f23))return;let _0x74211f=_0x1e1f23['anchorNode']&&_0x2084b4['docView']['nearest'](_0x1e1f23['anchorNode']);_0x74211f&&_0x74211f['ignoreEvent'](_0x4021fc)?_0x173f59||(this['selectionChanged']=!0x1):(_0x28109e['ie']&&_0x28109e['ie_version']<=0xb||_0x28109e['android']&&_0x28109e['chrome'])&&!_0x2084b4['state']['selection']['main']['empty']&&_0x1e1f23['focusNode']&&isEquivalentPosition(_0x1e1f23['focusNode'],_0x1e1f23['focusOffset'],_0x1e1f23['anchorNode'],_0x1e1f23['anchorOffset'])?this['flushSoon']():this['flush'](!0x1);}['readSelectionRange'](){let {view:_0x5c759a}=this,_0x29dfef=getSelection(_0x5c759a['root']);if(!_0x29dfef)return!0x1;let _0x5860f6=_0x28109e['safari']&&0xb==_0x5c759a['root']['nodeType']&&_0x5c759a['root']['activeElement']==this['dom']&&safariSelectionRangeHack(this['view'],_0x29dfef)||_0x29dfef;if(!_0x5860f6||this['selectionRange']['eq'](_0x5860f6))return!0x1;let _0x7b5fd7=hasSelection(this['dom'],_0x5860f6);return _0x7b5fd7&&!this['selectionChanged']&&_0x5c759a['inputState']['lastFocusTime']>Date['now']()-0xc8&&_0x5c759a['inputState']['lastTouchTime']<Date['now']()-0x12c&&atElementStart(this['dom'],_0x5860f6)?(this['view']['inputState']['lastFocusTime']=0x0,_0x5c759a['docView']['updateSelection'](),!0x1):(this['selectionRange']['setRange'](_0x5860f6),_0x7b5fd7&&(this['selectionChanged']=!0x0),!0x0);}['setSelectionRange'](_0x37c84b,_0x477952){this['selectionRange']['set'](_0x37c84b['node'],_0x37c84b['offset'],_0x477952['node'],_0x477952['offset']),this['selectionChanged']=!0x1;}['clearSelectionRange'](){this['selectionRange']['set'](null,0x0,null,0x0);}['listenForScroll'](){this['parentCheck']=-0x1;let _0x43616=0x0,_0x5ea0b5=null;for(let _0x33b48e=this['dom'];_0x33b48e;)if(0x1==_0x33b48e['nodeType'])!_0x5ea0b5&&_0x43616<this['scrollTargets']['length']&&this['scrollTargets'][_0x43616]==_0x33b48e?_0x43616++:_0x5ea0b5||(_0x5ea0b5=this['scrollTargets']['slice'](0x0,_0x43616)),_0x5ea0b5&&_0x5ea0b5['push'](_0x33b48e),_0x33b48e=_0x33b48e['assignedSlot']||_0x33b48e['parentNode'];else{if(0xb!=_0x33b48e['nodeType'])break;_0x33b48e=_0x33b48e['host'];}if(_0x43616<this['scrollTargets']['length']&&!_0x5ea0b5&&(_0x5ea0b5=this['scrollTargets']['slice'](0x0,_0x43616)),_0x5ea0b5){for(let _0x42910d of this['scrollTargets'])_0x42910d['removeEventListener']('scroll',this['onScroll']);for(let _0x4f8795 of this['scrollTargets']=_0x5ea0b5)_0x4f8795['addEventListener']('scroll',this['onScroll']);}}['ignore'](_0x5c906c){if(!this['active'])return _0x5c906c();try{return this['stop'](),_0x5c906c();}finally{this['start'](),this['clear']();}}['start'](){this['active']||(this['observer']['observe'](this['dom'],observeOptions),useCharData&&this['dom']['addEventListener']('DOMCharacterDataModified',this['onCharData']),this['active']=!0x0);}['stop'](){this['active']&&(this['active']=!0x1,this['observer']['disconnect'](),useCharData&&this['dom']['removeEventListener']('DOMCharacterDataModified',this['onCharData']));}['clear'](){this['processRecords'](),this['queue']['length']=0x0,this['selectionChanged']=!0x1;}['delayAndroidKey'](_0x306007,_0x597d31){var _0x2d20b4;if(!this['delayedAndroidKey']){let _0x1b0dd2=()=>{let _0x5da8e4=this['delayedAndroidKey'];_0x5da8e4&&(this['clearDelayedAndroidKey'](),this['view']['inputState']['lastKeyCode']=_0x5da8e4['keyCode'],this['view']['inputState']['lastKeyTime']=Date['now'](),!this['flush']()&&_0x5da8e4['force']&&dispatchKey(this['dom'],_0x5da8e4['key'],_0x5da8e4['keyCode']));};this['flushingAndroidKey']=this['view']['win']['requestAnimationFrame'](_0x1b0dd2);}this['delayedAndroidKey']&&'Enter'!=_0x306007||(this['delayedAndroidKey']={'key':_0x306007,'keyCode':_0x597d31,'force':this['lastChange']<Date['now']()-0x32||!!(null===(_0x2d20b4=this['delayedAndroidKey'])||void 0x0===_0x2d20b4?void 0x0:_0x2d20b4['force'])});}['clearDelayedAndroidKey'](){this['win']['cancelAnimationFrame'](this['flushingAndroidKey']),this['delayedAndroidKey']=null,this['flushingAndroidKey']=-0x1;}['flushSoon'](){this['delayedFlush']<0x0&&(this['delayedFlush']=this['view']['win']['requestAnimationFrame'](()=>{this['delayedFlush']=-0x1,this['flush']();}));}['forceFlush'](){this['delayedFlush']>=0x0&&(this['view']['win']['cancelAnimationFrame'](this['delayedFlush']),this['delayedFlush']=-0x1),this['flush']();}['pendingRecords'](){for(let _0x2919b2 of this['observer']['takeRecords']())this['queue']['push'](_0x2919b2);return this['queue'];}['processRecords'](){let _0x54b704=this['pendingRecords']();_0x54b704['length']&&(this['queue']=[]);let _0x1e3656=-0x1,_0x2eab1c=-0x1,_0x105793=!0x1;for(let _0x45da49 of _0x54b704){let _0x554a4b=this['readMutation'](_0x45da49);_0x554a4b&&(_0x554a4b['typeOver']&&(_0x105793=!0x0),-0x1==_0x1e3656?{from:_0x1e3656,to:_0x2eab1c}=_0x554a4b:(_0x1e3656=Math['min'](_0x554a4b['from'],_0x1e3656),_0x2eab1c=Math['max'](_0x554a4b['to'],_0x2eab1c)));}return{'from':_0x1e3656,'to':_0x2eab1c,'typeOver':_0x105793};}['readChange'](){let {from:_0x5219a7,to:_0x587314,typeOver:_0x4f334f}=this['processRecords'](),_0x2aaf35=this['selectionChanged']&&hasSelection(this['dom'],this['selectionRange']);if(_0x5219a7<0x0&&!_0x2aaf35)return null;_0x5219a7>-0x1&&(this['lastChange']=Date['now']()),this['view']['inputState']['lastFocusTime']=0x0,this['selectionChanged']=!0x1;let _0x1e715d=new _0x11d3d5(this['view'],_0x5219a7,_0x587314,_0x4f334f);return this['view']['docView']['domChanged']={'newSel':_0x1e715d['newSel']?_0x1e715d['newSel']['main']:null},_0x1e715d;}['flush'](_0xece48d=!0x0){if(this['delayedFlush']>=0x0||this['delayedAndroidKey'])return!0x1;_0xece48d&&this['readSelectionRange']();let _0x13c78b=this['readChange']();if(!_0x13c78b)return this['view']['requestMeasure'](),!0x1;let _0x345fa6=this['view']['state'],_0x46182f=_0x36963b(this['view'],_0x13c78b);return this['view']['state']==_0x345fa6&&(_0x13c78b['domChanged']||_0x13c78b['newSel']&&!_0x13c78b['newSel']['main']['eq'](this['view']['state']['selection']['main']))&&this['view']['update']([]),_0x46182f;}['readMutation'](_0x37a474){let _0x592a88=this['view']['docView']['nearest'](_0x37a474['target']);if(!_0x592a88||_0x592a88['ignoreMutation'](_0x37a474))return null;if(_0x592a88['markDirty']('attributes'==_0x37a474['type']),'attributes'==_0x37a474['type']&&(_0x592a88['flags']|=0x4),'childList'==_0x37a474['type']){let _0x31db8c=_0x260afb(_0x592a88,_0x37a474['previousSibling']||_0x37a474['target']['previousSibling'],-0x1),_0x23be2a=_0x260afb(_0x592a88,_0x37a474['nextSibling']||_0x37a474['target']['nextSibling'],0x1);return{'from':_0x31db8c?_0x592a88['posAfter'](_0x31db8c):_0x592a88['posAtStart'],'to':_0x23be2a?_0x592a88['posBefore'](_0x23be2a):_0x592a88['posAtEnd'],'typeOver':!0x1};}return'characterData'==_0x37a474['type']?{'from':_0x592a88['posAtStart'],'to':_0x592a88['posAtEnd'],'typeOver':_0x37a474['target']['nodeValue']==_0x37a474['oldValue']}:null;}['setWindow'](_0x51ee20){_0x51ee20!=this['win']&&(this['removeWindowListeners'](this['win']),this['win']=_0x51ee20,this['addWindowListeners'](this['win']));}['addWindowListeners'](_0x703727){_0x703727['addEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['addEventListener']?this['printQuery']['addEventListener']('change',this['onPrint']):this['printQuery']['addListener'](this['onPrint']):_0x703727['addEventListener']('beforeprint',this['onPrint']),_0x703727['addEventListener']('scroll',this['onScroll']),_0x703727['document']['addEventListener']('selectionchange',this['onSelectionChange']);}['removeWindowListeners'](_0x5ed240){_0x5ed240['removeEventListener']('scroll',this['onScroll']),_0x5ed240['removeEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['removeEventListener']?this['printQuery']['removeEventListener']('change',this['onPrint']):this['printQuery']['removeListener'](this['onPrint']):_0x5ed240['removeEventListener']('beforeprint',this['onPrint']),_0x5ed240['document']['removeEventListener']('selectionchange',this['onSelectionChange']);}['update'](_0x59b6c8){this['editContext']&&(this['editContext']['update'](_0x59b6c8),_0x59b6c8['startState']['facet'](editable)!=_0x59b6c8['state']['facet'](editable)&&(_0x59b6c8['view']['contentDOM']['editContext']=_0x59b6c8['state']['facet'](editable)?this['editContext']['editContext']:null));}['destroy'](){var _0x3ee1e1,_0x36ff15,_0x696278;this['stop'](),null===(_0x3ee1e1=this['intersection'])||void 0x0===_0x3ee1e1||_0x3ee1e1['disconnect'](),null===(_0x36ff15=this['gapIntersection'])||void 0x0===_0x36ff15||_0x36ff15['disconnect'](),null===(_0x696278=this['resizeScroll'])||void 0x0===_0x696278||_0x696278['disconnect']();for(let _0x5d0e31 of this['scrollTargets'])_0x5d0e31['removeEventListener']('scroll',this['onScroll']);this['removeWindowListeners'](this['win']),clearTimeout(this['parentCheck']),clearTimeout(this['resizeTimeout']),this['win']['cancelAnimationFrame'](this['delayedFlush']),this['win']['cancelAnimationFrame'](this['flushingAndroidKey']),this['editContext']&&(this['view']['contentDOM']['editContext']=null,this['editContext']['destroy']());}}function _0x260afb(_0x278942,_0x1f5479,_0x5db69f){for(;_0x1f5479;){let _0x3edbcd=ContentView['get'](_0x1f5479);if(_0x3edbcd&&_0x3edbcd['parent']==_0x278942)return _0x3edbcd;let _0xac14ba=_0x1f5479['parentNode'];_0x1f5479=_0xac14ba!=_0x278942['dom']?_0xac14ba:_0x5db69f>0x0?_0x1f5479['nextSibling']:_0x1f5479['previousSibling'];}return null;}function buildSelectionRangeFromRange(_0x3d7c9a,_0x3d760b){let _0x5345cb=_0x3d760b['startContainer'],_0x48911b=_0x3d760b['startOffset'],_0x4c54f7=_0x3d760b['endContainer'],_0x50dd4e=_0x3d760b['endOffset'],_0x112cc6=_0x3d7c9a['docView']['domAtPos'](_0x3d7c9a['state']['selection']['main']['anchor']);return isEquivalentPosition(_0x112cc6['node'],_0x112cc6['offset'],_0x4c54f7,_0x50dd4e)&&([_0x5345cb,_0x48911b,_0x4c54f7,_0x50dd4e]=[_0x4c54f7,_0x50dd4e,_0x5345cb,_0x48911b]),{'anchorNode':_0x5345cb,'anchorOffset':_0x48911b,'focusNode':_0x4c54f7,'focusOffset':_0x50dd4e};}function safariSelectionRangeHack(_0x55cf48,_0x31be83){if(_0x31be83['getComposedRanges']){let _0x41bf6b=_0x31be83['getComposedRanges'](_0x55cf48['root'])[0x0];if(_0x41bf6b)return buildSelectionRangeFromRange(_0x55cf48,_0x41bf6b);}let _0x20388c=null;function _0x3a8f4b(_0x251037){_0x251037['preventDefault'](),_0x251037['stopImmediatePropagation'](),_0x20388c=_0x251037['getTargetRanges']()[0x0];}return _0x55cf48['contentDOM']['addEventListener']('beforeinput',_0x3a8f4b,!0x0),_0x55cf48['dom']['ownerDocument']['execCommand']('indent'),_0x55cf48['contentDOM']['removeEventListener']('beforeinput',_0x3a8f4b,!0x0),_0x20388c?buildSelectionRangeFromRange(_0x55cf48,_0x20388c):null;}class EditContextManager{constructor(_0x68d23b){this['from']=0x0,this['to']=0x0,this['pendingContextChange']=null,this['handlers']=Object['create'](null),this['composing']=null,this['resetRange'](_0x68d23b['state']);let _0x256ecb=this['editContext']=new window['EditContext']({'text':_0x68d23b['state']['doc']['sliceString'](this['from'],this['to']),'selectionStart':this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x68d23b['state']['selection']['main']['anchor']))),'selectionEnd':this['toContextPos'](_0x68d23b['state']['selection']['main']['head'])});this['handlers']['textupdate']=_0x46953f=>{let _0x13c5a8=_0x68d23b['state']['selection']['main'],{anchor:_0x2b3e0d,head:_0x4526ea}=_0x13c5a8,_0x5299d1=this['toEditorPos'](_0x46953f['updateRangeStart']),_0x3eaefb=this['toEditorPos'](_0x46953f['updateRangeEnd']);_0x68d23b['inputState']['composing']>=0x0&&!this['composing']&&(this['composing']={'contextBase':_0x46953f['updateRangeStart'],'editorBase':_0x5299d1,'drifted':!0x1});let _0x18ae2f=_0x3eaefb-_0x5299d1>_0x46953f['text']['length'];_0x5299d1==this['from']&&_0x2b3e0d<this['from']?_0x5299d1=_0x2b3e0d:_0x3eaefb==this['to']&&_0x2b3e0d>this['to']&&(_0x3eaefb=_0x2b3e0d);let _0x22ead5=_0x592c96(_0x68d23b['state']['sliceDoc'](_0x5299d1,_0x3eaefb),_0x46953f['text'],(_0x18ae2f?_0x13c5a8['from']:_0x13c5a8['to'])-_0x5299d1,_0x18ae2f?'end':null);if(!_0x22ead5){let _0x977bb=EditorSelection['single'](this['toEditorPos'](_0x46953f['selectionStart']),this['toEditorPos'](_0x46953f['selectionEnd']));return void(_0x977bb['main']['eq'](_0x13c5a8)||_0x68d23b['dispatch']({'selection':_0x977bb,'userEvent':'select'}));}let _0x35a7e2={'from':_0x22ead5['from']+_0x5299d1,'to':_0x22ead5['toA']+_0x5299d1,'insert':Text['of'](_0x46953f['text']['slice'](_0x22ead5['from'],_0x22ead5['toB'])['split']('\x0a'))};if((_0x28109e['mac']||_0x28109e['android'])&&_0x35a7e2['from']==_0x4526ea-0x1&&/^\. ?$/['test'](_0x46953f['text'])&&'off'==_0x68d23b['contentDOM']['getAttribute']('autocorrect')&&(_0x35a7e2={'from':_0x5299d1,'to':_0x3eaefb,'insert':Text['of']([_0x46953f['text']['replace']('.','\x20')])}),this['pendingContextChange']=_0x35a7e2,!_0x68d23b['state']['readOnly']){let _0x295dc9=this['to']-this['from']+(_0x35a7e2['to']-_0x35a7e2['from']+_0x35a7e2['insert']['length']);_0x3111af(_0x68d23b,_0x35a7e2,EditorSelection['single'](this['toEditorPos'](_0x46953f['selectionStart'],_0x295dc9),this['toEditorPos'](_0x46953f['selectionEnd'],_0x295dc9)));}this['pendingContextChange']&&(this['revertPending'](_0x68d23b['state']),this['setSelection'](_0x68d23b['state'])),_0x35a7e2['from']<_0x35a7e2['to']&&!_0x35a7e2['insert']['length']&&_0x68d23b['inputState']['composing']>=0x0&&!/[\\p{Alphabetic}\\p{Number}_]/['test'](_0x256ecb['text']['slice'](Math['max'](0x0,_0x46953f['updateRangeStart']-0x1),Math['min'](_0x256ecb['text']['length'],_0x46953f['updateRangeStart']+0x1)))&&this['handlers']['compositionend'](_0x46953f);},this['handlers']['characterboundsupdate']=_0x46b4ea=>{let _0x256062=[],_0x7b477f=null;for(let _0x4c06eb=this['toEditorPos'](_0x46b4ea['rangeStart']),_0x22234f=this['toEditorPos'](_0x46b4ea['rangeEnd']);_0x4c06eb<_0x22234f;_0x4c06eb++){let _0x4af691=_0x68d23b['coordsForChar'](_0x4c06eb);_0x7b477f=_0x4af691&&new DOMRect(_0x4af691['left'],_0x4af691['top'],_0x4af691['right']-_0x4af691['left'],_0x4af691['bottom']-_0x4af691['top'])||_0x7b477f||new DOMRect(),_0x256062['push'](_0x7b477f);}_0x256ecb['updateCharacterBounds'](_0x46b4ea['rangeStart'],_0x256062);},this['handlers']['textformatupdate']=_0x1e81cd=>{let _0xe41528=[];for(let _0x590454 of _0x1e81cd['getTextFormats']()){let _0x1b50e8=_0x590454['underlineStyle'],_0x53de77=_0x590454['underlineThickness'];if(!/none/i['test'](_0x1b50e8)&&!/none/i['test'](_0x53de77)){let _0x315acd=this['toEditorPos'](_0x590454['rangeStart']),_0x3ec018=this['toEditorPos'](_0x590454['rangeEnd']);if(_0x315acd<_0x3ec018){let _0x189af3='text-decoration:\x20underline\x20'+(/^[a-z]/['test'](_0x1b50e8)?_0x1b50e8+'\x20':'Dashed'==_0x1b50e8?'dashed\x20':'Squiggle'==_0x1b50e8?'wavy\x20':'')+(/thin/i['test'](_0x53de77)?0x1:0x2)+'px';_0xe41528['push'](Decoration['mark']({'attributes':{'style':_0x189af3}})['range'](_0x315acd,_0x3ec018));}}}_0x68d23b['dispatch']({'effects':setEditContextFormatting['of'](Decoration['set'](_0xe41528))});},this['handlers']['compositionstart']=()=>{_0x68d23b['inputState']['composing']<0x0&&(_0x68d23b['inputState']['composing']=0x0,_0x68d23b['inputState']['compositionFirstChange']=!0x0);},this['handlers']['compositionend']=()=>{if(_0x68d23b['inputState']['composing']=-0x1,_0x68d23b['inputState']['compositionFirstChange']=null,this['composing']){let {drifted:_0xc7be8f}=this['composing'];this['composing']=null,_0xc7be8f&&this['reset'](_0x68d23b['state']);}};for(let _0x46ec85 in this['handlers'])_0x256ecb['addEventListener'](_0x46ec85,this['handlers'][_0x46ec85]);this['measureReq']={'read':_0x1e51ca=>{this['editContext']['updateControlBounds'](_0x1e51ca['contentDOM']['getBoundingClientRect']());let _0x41002d=getSelection(_0x1e51ca['root']);_0x41002d&&_0x41002d['rangeCount']&&this['editContext']['updateSelectionBounds'](_0x41002d['getRangeAt'](0x0)['getBoundingClientRect']());}};}['applyEdits'](_0x4756f8){let _0x566f73=0x0,_0x24b29d=!0x1,_0x50616e=this['pendingContextChange'];return _0x4756f8['changes']['iterChanges']((_0x44065d,_0x3bb26c,_0x5d3ffa,_0x3a0c0b,_0x32a341)=>{if(_0x24b29d)return;let _0x4d1bd1=_0x32a341['length']-(_0x3bb26c-_0x44065d);if(_0x50616e&&_0x3bb26c>=_0x50616e['to']){if(_0x50616e['from']==_0x44065d&&_0x50616e['to']==_0x3bb26c&&_0x50616e['insert']['eq'](_0x32a341))return _0x50616e=this['pendingContextChange']=null,_0x566f73+=_0x4d1bd1,void(this['to']+=_0x4d1bd1);_0x50616e=null,this['revertPending'](_0x4756f8['state']);}if(_0x44065d+=_0x566f73,(_0x3bb26c+=_0x566f73)<=this['from'])this['from']+=_0x4d1bd1,this['to']+=_0x4d1bd1;else{if(_0x44065d<this['to']){if(_0x44065d<this['from']||_0x3bb26c>this['to']||this['to']-this['from']+_0x32a341['length']>0x7530)return void(_0x24b29d=!0x0);this['editContext']['updateText'](this['toContextPos'](_0x44065d),this['toContextPos'](_0x3bb26c),_0x32a341['toString']()),this['to']+=_0x4d1bd1;}}_0x566f73+=_0x4d1bd1;}),_0x50616e&&!_0x24b29d&&this['revertPending'](_0x4756f8['state']),!_0x24b29d;}['update'](_0x4415f6){let _0x5e8ecd=this['pendingContextChange'],_0x4c6335=_0x4415f6['startState']['selection']['main'];this['composing']&&(this['composing']['drifted']||!_0x4415f6['changes']['touchesRange'](_0x4c6335['from'],_0x4c6335['to'])&&_0x4415f6['transactions']['some'](_0x131053=>!_0x131053['isUserEvent']('input.type')&&_0x131053['changes']['touchesRange'](this['from'],this['to'])))?(this['composing']['drifted']=!0x0,this['composing']['editorBase']=_0x4415f6['changes']['mapPos'](this['composing']['editorBase'])):this['applyEdits'](_0x4415f6)&&this['rangeIsValid'](_0x4415f6['state'])?(_0x4415f6['docChanged']||_0x4415f6['selectionSet']||_0x5e8ecd)&&this['setSelection'](_0x4415f6['state']):(this['pendingContextChange']=null,this['reset'](_0x4415f6['state'])),(_0x4415f6['geometryChanged']||_0x4415f6['docChanged']||_0x4415f6['selectionSet'])&&_0x4415f6['view']['requestMeasure'](this['measureReq']);}['resetRange'](_0x297c28){let {head:_0x2c6697}=_0x297c28['selection']['main'];this['from']=Math['max'](0x0,_0x2c6697-0x2710),this['to']=Math['min'](_0x297c28['doc']['length'],_0x2c6697+0x2710);}['reset'](_0x45ce33){this['resetRange'](_0x45ce33),this['editContext']['updateText'](0x0,this['editContext']['text']['length'],_0x45ce33['doc']['sliceString'](this['from'],this['to'])),this['setSelection'](_0x45ce33);}['revertPending'](_0x58a7bf){let _0x14d40d=this['pendingContextChange'];this['pendingContextChange']=null,this['editContext']['updateText'](this['toContextPos'](_0x14d40d['from']),this['toContextPos'](_0x14d40d['from']+_0x14d40d['insert']['length']),_0x58a7bf['doc']['sliceString'](_0x14d40d['from'],_0x14d40d['to']));}['setSelection'](_0x3c9a46){let {main:_0x59b87c}=_0x3c9a46['selection'],_0x5e3e8a=this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x59b87c['anchor']))),_0x169cc=this['toContextPos'](_0x59b87c['head']);this['editContext']['selectionStart']==_0x5e3e8a&&this['editContext']['selectionEnd']==_0x169cc||this['editContext']['updateSelection'](_0x5e3e8a,_0x169cc);}['rangeIsValid'](_0x4c95b4){let {head:_0x1e7a80}=_0x4c95b4['selection']['main'];return!(this['from']>0x0&&_0x1e7a80-this['from']<0x1f4||this['to']<_0x4c95b4['doc']['length']&&this['to']-_0x1e7a80<0x1f4||this['to']-this['from']>0x7530);}['toEditorPos'](_0x476f1b,_0x32bf06=this['to']-this['from']){_0x476f1b=Math['min'](_0x476f1b,_0x32bf06);let _0xb71780=this['composing'];return _0xb71780&&_0xb71780['drifted']?_0xb71780['editorBase']+(_0x476f1b-_0xb71780['contextBase']):_0x476f1b+this['from'];}['toContextPos'](_0x5e5082){let _0x23fa01=this['composing'];return _0x23fa01&&_0x23fa01['drifted']?_0x23fa01['contextBase']+(_0x5e5082-_0x23fa01['editorBase']):_0x5e5082-this['from'];}['destroy'](){for(let _0x186677 in this['handlers'])this['editContext']['removeEventListener'](_0x186677,this['handlers'][_0x186677]);}}class EditorView{get['state'](){return this['viewState']['state'];}get['viewport'](){return this['viewState']['viewport'];}get['visibleRanges'](){return this['viewState']['visibleRanges'];}get['inView'](){return this['viewState']['inView'];}get['composing'](){return!!this['inputState']&&this['inputState']['composing']>0x0;}get['compositionStarted'](){return!!this['inputState']&&this['inputState']['composing']>=0x0;}get['root'](){return this['_root'];}get['win'](){return this['dom']['ownerDocument']['defaultView']||window;}constructor(_0x23584f={}){var _0x13c05a;this['plugins']=[],this['pluginMap']=new Map(),this['editorAttrs']={},this['contentAttrs']={},this['bidiCache']=[],this['destroyed']=!0x1,this['updateState']=0x2,this['measureScheduled']=-0x1,this['measureRequests']=[],this['contentDOM']=document['createElement']('div'),this['scrollDOM']=document['createElement']('div'),this['scrollDOM']['tabIndex']=-0x1,this['scrollDOM']['className']='cm-scroller',this['scrollDOM']['appendChild'](this['contentDOM']),this['announceDOM']=document['createElement']('div'),this['announceDOM']['className']='cm-announced',this['announceDOM']['setAttribute']('aria-live','polite'),this['dom']=document['createElement']('div'),this['dom']['appendChild'](this['announceDOM']),this['dom']['appendChild'](this['scrollDOM']),_0x23584f['parent']&&_0x23584f['parent']['appendChild'](this['dom']);let {dispatch:_0x1038de}=_0x23584f;this['dispatchTransactions']=_0x23584f['dispatchTransactions']||_0x1038de&&(_0x44a431=>_0x44a431['forEach'](_0x572818=>_0x1038de(_0x572818,this)))||(_0x4b426b=>this['update'](_0x4b426b)),this['dispatch']=this['dispatch']['bind'](this),this['_root']=_0x23584f['root']||getRoot(_0x23584f['parent'])||document,this['viewState']=new ViewState(_0x23584f['state']||EditorState['create'](_0x23584f)),_0x23584f['scrollTo']&&_0x23584f['scrollTo']['is'](scrollIntoView$1)&&(this['viewState']['scrollTarget']=_0x23584f['scrollTo']['value']['clip'](this['viewState']['state'])),this['plugins']=this['state']['facet'](_0x29fa65)['map'](_0x5975c8=>new PluginInstance(_0x5975c8));for(let _0x442e1f of this['plugins'])_0x442e1f['update'](this);this['observer']=new _0x596fc7(this),this['inputState']=new InputState(this),this['inputState']['ensureHandlers'](this['plugins']),this['docView']=new _0x51d61f(this),this['mountStyles'](),this['updateAttrs'](),this['updateState']=0x0,this['requestMeasure'](),(null===(_0x13c05a=document['fonts'])||void 0x0===_0x13c05a?void 0x0:_0x13c05a['ready'])&&document['fonts']['ready']['then'](()=>this['requestMeasure']());}['dispatch'](..._0x3bf634){let _0x2fa26f=0x1==_0x3bf634['length']&&_0x3bf634[0x0]instanceof Transaction?_0x3bf634:0x1==_0x3bf634['length']&&Array['isArray'](_0x3bf634[0x0])?_0x3bf634[0x0]:[this['state']['update'](..._0x3bf634)];this['dispatchTransactions'](_0x2fa26f,this);}['update'](_0x44a881){if(0x0!=this['updateState'])throw new Error('Calls\x20to\x20EditorView.update\x20are\x20not\x20allowed\x20while\x20an\x20update\x20is\x20in\x20progress');let _0x8a5811,_0x43a61c=!0x1,_0x57f368=!0x1,_0x1fe1c0=this['state'];for(let _0x3d697e of _0x44a881){if(_0x3d697e['startState']!=_0x1fe1c0)throw new RangeError('Trying\x20to\x20update\x20state\x20with\x20a\x20transaction\x20that\x20doesn\x27t\x20start\x20from\x20the\x20previous\x20state.');_0x1fe1c0=_0x3d697e['state'];}if(this['destroyed'])return void(this['viewState']['state']=_0x1fe1c0);let _0x2d4a15=this['hasFocus'],_0x223bdb=0x0,_0x457066=null;_0x44a881['some'](_0x44e844=>_0x44e844['annotation'](_0x24d434))?(this['inputState']['notifiedFocused']=_0x2d4a15,_0x223bdb=0x1):_0x2d4a15!=this['inputState']['notifiedFocused']&&(this['inputState']['notifiedFocused']=_0x2d4a15,_0x457066=focusChangeTransaction(_0x1fe1c0,_0x2d4a15),_0x457066||(_0x223bdb=0x1));let _0x46f888=this['observer']['delayedAndroidKey'],_0x55b85f=null;if(_0x46f888?(this['observer']['clearDelayedAndroidKey'](),_0x55b85f=this['observer']['readChange'](),(_0x55b85f&&!this['state']['doc']['eq'](_0x1fe1c0['doc'])||!this['state']['selection']['eq'](_0x1fe1c0['selection']))&&(_0x55b85f=null)):this['observer']['clear'](),_0x1fe1c0['facet'](EditorState['phrases'])!=this['state']['facet'](EditorState['phrases']))return this['setState'](_0x1fe1c0);_0x8a5811=ViewUpdate['create'](this,_0x1fe1c0,_0x44a881),_0x8a5811['flags']|=_0x223bdb;let _0x359dbe=this['viewState']['scrollTarget'];try{this['updateState']=0x2;for(let _0x50ab2a of _0x44a881){if(_0x359dbe&&(_0x359dbe=_0x359dbe['map'](_0x50ab2a['changes'])),_0x50ab2a['scrollIntoView']){let {main:_0x295404}=_0x50ab2a['state']['selection'];_0x359dbe=new ScrollTarget(_0x295404['empty']?_0x295404:EditorSelection['cursor'](_0x295404['head'],_0x295404['head']>_0x295404['anchor']?-0x1:0x1));}for(let _0xde97cc of _0x50ab2a['effects'])_0xde97cc['is'](scrollIntoView$1)&&(_0x359dbe=_0xde97cc['value']['clip'](this['state']));}this['viewState']['update'](_0x8a5811,_0x359dbe),this['bidiCache']=_0x20de71['update'](this['bidiCache'],_0x8a5811['changes']),_0x8a5811['empty']||(this['updatePlugins'](_0x8a5811),this['inputState']['update'](_0x8a5811)),_0x43a61c=this['docView']['update'](_0x8a5811),this['state']['facet'](styleModule)!=this['styleModules']&&this['mountStyles'](),_0x57f368=this['updateAttrs'](),this['showAnnouncements'](_0x44a881),this['docView']['updateSelection'](_0x43a61c,_0x44a881['some'](_0x57795a=>_0x57795a['isUserEvent']('select.pointer')));}finally{this['updateState']=0x0;}if(_0x8a5811['startState']['facet'](theme)!=_0x8a5811['state']['facet'](theme)&&(this['viewState']['mustMeasureContent']=!0x0),(_0x43a61c||_0x57f368||_0x359dbe||this['viewState']['mustEnforceCursorAssoc']||this['viewState']['mustMeasureContent'])&&this['requestMeasure'](),_0x43a61c&&this['docViewUpdate'](),!_0x8a5811['empty']){for(let _0x6a0ea4 of this['state']['facet'](updateListener))try{_0x6a0ea4(_0x8a5811);}catch(_0x2ef61f){logException(this['state'],_0x2ef61f,'update\x20listener');}}(_0x457066||_0x55b85f)&&Promise['resolve']()['then'](()=>{_0x457066&&this['state']==_0x457066['startState']&&this['dispatch'](_0x457066),_0x55b85f&&!_0x36963b(this,_0x55b85f)&&_0x46f888['force']&&dispatchKey(this['contentDOM'],_0x46f888['key'],_0x46f888['keyCode']);});}['setState'](_0x2d1122){if(0x0!=this['updateState'])throw new Error('Calls\x20to\x20EditorView.setState\x20are\x20not\x20allowed\x20while\x20an\x20update\x20is\x20in\x20progress');if(this['destroyed'])return void(this['viewState']['state']=_0x2d1122);this['updateState']=0x2;let _0x630470=this['hasFocus'];try{for(let _0x2224f2 of this['plugins'])_0x2224f2['destroy'](this);this['viewState']=new ViewState(_0x2d1122),this['plugins']=_0x2d1122['facet'](_0x29fa65)['map'](_0x10b0ad=>new PluginInstance(_0x10b0ad)),this['pluginMap']['clear']();for(let _0x158f7e of this['plugins'])_0x158f7e['update'](this);this['docView']['destroy'](),this['docView']=new _0x51d61f(this),this['inputState']['ensureHandlers'](this['plugins']),this['mountStyles'](),this['updateAttrs'](),this['bidiCache']=[];}finally{this['updateState']=0x0;}_0x630470&&this['focus'](),this['requestMeasure']();}['updatePlugins'](_0x153b97){let _0x14422d=_0x153b97['startState']['facet'](_0x29fa65),_0x3cae94=_0x153b97['state']['facet'](_0x29fa65);if(_0x14422d!=_0x3cae94){let _0x420889=[];for(let _0x5bde74 of _0x3cae94){let _0x2407b9=_0x14422d['indexOf'](_0x5bde74);if(_0x2407b9<0x0)_0x420889['push'](new PluginInstance(_0x5bde74));else{let _0x423dba=this['plugins'][_0x2407b9];_0x423dba['mustUpdate']=_0x153b97,_0x420889['push'](_0x423dba);}}for(let _0x443a9e of this['plugins'])_0x443a9e['mustUpdate']!=_0x153b97&&_0x443a9e['destroy'](this);this['plugins']=_0x420889,this['pluginMap']['clear']();}else{for(let _0x259634 of this['plugins'])_0x259634['mustUpdate']=_0x153b97;}for(let _0x23d5ce=0x0;_0x23d5ce<this['plugins']['length'];_0x23d5ce++)this['plugins'][_0x23d5ce]['update'](this);_0x14422d!=_0x3cae94&&this['inputState']['ensureHandlers'](this['plugins']);}['docViewUpdate'](){for(let _0x5eaa46 of this['plugins']){let _0x1c5fa2=_0x5eaa46['value'];if(_0x1c5fa2&&_0x1c5fa2['docViewUpdate'])try{_0x1c5fa2['docViewUpdate'](this);}catch(_0x83d2ef){logException(this['state'],_0x83d2ef,'doc\x20view\x20update\x20listener');}}}['measure'](_0xe2db77=!0x0){if(this['destroyed'])return;if(this['measureScheduled']>-0x1&&this['win']['cancelAnimationFrame'](this['measureScheduled']),this['observer']['delayedAndroidKey'])return this['measureScheduled']=-0x1,void this['requestMeasure']();this['measureScheduled']=0x0,_0xe2db77&&this['observer']['forceFlush']();let _0x460253=null,_0x36aac7=this['scrollDOM'],_0x3872dd=_0x36aac7['scrollTop']*this['scaleY'],{scrollAnchorPos:_0x276e63,scrollAnchorHeight:_0x9bc672}=this['viewState'];Math['abs'](_0x3872dd-this['viewState']['scrollTop'])>0x1&&(_0x9bc672=-0x1),this['viewState']['scrollAnchorHeight']=-0x1;try{for(let _0x496028=0x0;;_0x496028++){if(_0x9bc672<0x0){if(isScrolledToBottom(_0x36aac7))_0x276e63=-0x1,_0x9bc672=this['viewState']['heightMap']['height'];else{let _0x1b20df=this['viewState']['scrollAnchorAt'](_0x3872dd);_0x276e63=_0x1b20df['from'],_0x9bc672=_0x1b20df['top'];}}this['updateState']=0x1;let _0x3d142e=this['viewState']['measure'](this);if(!_0x3d142e&&!this['measureRequests']['length']&&null==this['viewState']['scrollTarget'])break;if(_0x496028>0x5){console['warn'](this['measureRequests']['length']?'Measure\x20loop\x20restarted\x20more\x20than\x205\x20times':'Viewport\x20failed\x20to\x20stabilize');break;}let _0xfcd523=[];0x4&_0x3d142e||([this['measureRequests'],_0xfcd523]=[_0xfcd523,this['measureRequests']]);let _0x37b8b4=_0xfcd523['map'](_0x300756=>{try{return _0x300756['read'](this);}catch(_0x5696ea){return logException(this['state'],_0x5696ea),_0x1690c9;}}),_0xaf62cc=ViewUpdate['create'](this,this['state'],[]),_0x4031d5=!0x1;_0xaf62cc['flags']|=_0x3d142e,_0x460253?_0x460253['flags']|=_0x3d142e:_0x460253=_0xaf62cc,this['updateState']=0x2,_0xaf62cc['empty']||(this['updatePlugins'](_0xaf62cc),this['inputState']['update'](_0xaf62cc),this['updateAttrs'](),_0x4031d5=this['docView']['update'](_0xaf62cc),_0x4031d5&&this['docViewUpdate']());for(let _0x35065a=0x0;_0x35065a<_0xfcd523['length'];_0x35065a++)if(_0x37b8b4[_0x35065a]!=_0x1690c9)try{let _0x5e1b78=_0xfcd523[_0x35065a];_0x5e1b78['write']&&_0x5e1b78['write'](_0x37b8b4[_0x35065a],this);}catch(_0x273c90){logException(this['state'],_0x273c90);}if(_0x4031d5&&this['docView']['updateSelection'](!0x0),!_0xaf62cc['viewportChanged']&&0x0==this['measureRequests']['length']){if(this['viewState']['editorHeight']){if(this['viewState']['scrollTarget']){this['docView']['scrollIntoView'](this['viewState']['scrollTarget']),this['viewState']['scrollTarget']=null,_0x9bc672=-0x1;continue;}{let _0x559e76=(_0x276e63<0x0?this['viewState']['heightMap']['height']:this['viewState']['lineBlockAt'](_0x276e63)['top'])-_0x9bc672;if(_0x559e76>0x1||_0x559e76<-0x1){_0x3872dd+=_0x559e76,_0x36aac7['scrollTop']=_0x3872dd/this['scaleY'],_0x9bc672=-0x1;continue;}}}break;}}}finally{this['updateState']=0x0,this['measureScheduled']=-0x1;}if(_0x460253&&!_0x460253['empty']){for(let _0x56db6e of this['state']['facet'](updateListener))_0x56db6e(_0x460253);}}get['themeClasses'](){return _0x5cf6ae+'\x20'+(this['state']['facet'](_0x60eb21)?_0x3f4c52:baseLightID)+'\x20'+this['state']['facet'](theme);}['updateAttrs'](){let _0x43a7de=attrsFromFacet(this,editorAttributes,{'class':'cm-editor'+(this['hasFocus']?'\x20cm-focused\x20':'\x20')+this['themeClasses']}),_0xe430d5={'spellcheck':'false','autocorrect':'off','autocapitalize':'off','writingsuggestions':'false','translate':'no','contenteditable':this['state']['facet'](editable)?'true':'false','class':'cm-content','style':_0x28109e['tabSize']+':\x20'+this['state']['tabSize'],'role':'textbox','aria-multiline':'true'};this['state']['readOnly']&&(_0xe430d5['aria-readonly']='true'),attrsFromFacet(this,contentAttributes,_0xe430d5);let _0x3783ca=this['observer']['ignore'](()=>{let _0x171d1e=updateAttrs(this['contentDOM'],this['contentAttrs'],_0xe430d5),_0x5ab07a=updateAttrs(this['dom'],this['editorAttrs'],_0x43a7de);return _0x171d1e||_0x5ab07a;});return this['editorAttrs']=_0x43a7de,this['contentAttrs']=_0xe430d5,_0x3783ca;}['showAnnouncements'](_0xb13d5){let _0xa682e5=!0x0;for(let _0xb1383f of _0xb13d5)for(let _0x1c2eb1 of _0xb1383f['effects'])_0x1c2eb1['is'](EditorView['announce'])&&(_0xa682e5&&(this['announceDOM']['textContent']=''),_0xa682e5=!0x1,this['announceDOM']['appendChild'](document['createElement']('div'))['textContent']=_0x1c2eb1['value']);}['mountStyles'](){this['styleModules']=this['state']['facet'](styleModule);let _0x436129=this['state']['facet'](EditorView['cspNonce']);StyleModule['mount'](this['root'],this['styleModules']['concat'](_0x432253)['reverse'](),_0x436129?{'nonce':_0x436129}:void 0x0);}['readMeasured'](){if(0x2==this['updateState'])throw new Error('Reading\x20the\x20editor\x20layout\x20isn\x27t\x20allowed\x20during\x20an\x20update');0x0==this['updateState']&&this['measureScheduled']>-0x1&&this['measure'](!0x1);}['requestMeasure'](_0xf05224){if(this['measureScheduled']<0x0&&(this['measureScheduled']=this['win']['requestAnimationFrame'](()=>this['measure']())),_0xf05224){if(this['measureRequests']['indexOf'](_0xf05224)>-0x1)return;if(null!=_0xf05224['key']){for(let _0x130801=0x0;_0x130801<this['measureRequests']['length'];_0x130801++)if(this['measureRequests'][_0x130801]['key']===_0xf05224['key'])return void(this['measureRequests'][_0x130801]=_0xf05224);}this['measureRequests']['push'](_0xf05224);}}['plugin'](_0x2f6197){let _0x2b729a=this['pluginMap']['get'](_0x2f6197);return(void 0x0===_0x2b729a||_0x2b729a&&_0x2b729a['plugin']!=_0x2f6197)&&this['pluginMap']['set'](_0x2f6197,_0x2b729a=this['plugins']['find'](_0x472e59=>_0x472e59['plugin']==_0x2f6197)||null),_0x2b729a&&_0x2b729a['update'](this)['value'];}get['documentTop'](){return this['contentDOM']['getBoundingClientRect']()['top']+this['viewState']['paddingTop'];}get['documentPadding'](){return{'top':this['viewState']['paddingTop'],'bottom':this['viewState']['paddingBottom']};}get['scaleX'](){return this['viewState']['scaleX'];}get['scaleY'](){return this['viewState']['scaleY'];}['elementAtHeight'](_0x4b34d){return this['readMeasured'](),this['viewState']['elementAtHeight'](_0x4b34d);}['lineBlockAtHeight'](_0x21ba55){return this['readMeasured'](),this['viewState']['lineBlockAtHeight'](_0x21ba55);}get['viewportLineBlocks'](){return this['viewState']['viewportLines'];}['lineBlockAt'](_0x2ef47b){return this['viewState']['lineBlockAt'](_0x2ef47b);}get['contentHeight'](){return this['viewState']['contentHeight'];}['moveByChar'](_0x4da6c3,_0x4de1a3,_0x5e6d43){return skipAtoms(this,_0x4da6c3,_0x4875af(this,_0x4da6c3,_0x4de1a3,_0x5e6d43));}['moveByGroup'](_0x1dcd21,_0x5514c8){return skipAtoms(this,_0x1dcd21,_0x4875af(this,_0x1dcd21,_0x5514c8,_0x289756=>_0x3c6c5b(this,_0x1dcd21['head'],_0x289756)));}['visualLineSide'](_0x1d56c5,_0x1c9a5b){let _0x453758=this['bidiSpans'](_0x1d56c5),_0x34db5f=this['textDirectionAt'](_0x1d56c5['from']),_0x50377c=_0x453758[_0x1c9a5b?_0x453758['length']-0x1:0x0];return EditorSelection['cursor'](_0x50377c['side'](_0x1c9a5b,_0x34db5f)+_0x1d56c5['from'],_0x50377c['forward'](!_0x1c9a5b,_0x34db5f)?0x1:-0x1);}['moveToLineBoundary'](_0x2c5fb1,_0x44e512,_0x59895e=!0x0){return _0x264098(this,_0x2c5fb1,_0x44e512,_0x59895e);}['moveVertically'](_0x2b7f7e,_0x4c8571,_0x41eef4){return skipAtoms(this,_0x2b7f7e,moveVertically(this,_0x2b7f7e,_0x4c8571,_0x41eef4));}['domAtPos'](_0x454162){return this['docView']['domAtPos'](_0x454162);}['posAtDOM'](_0x174735,_0x397bba=0x0){return this['docView']['posFromDOM'](_0x174735,_0x397bba);}['posAtCoords'](_0x592eec,_0xd75c40=!0x0){return this['readMeasured'](),posAtCoords(this,_0x592eec,_0xd75c40);}['coordsAtPos'](_0x4bfc6c,_0x1a2fbe=0x1){this['readMeasured']();let _0x344d13=this['docView']['coordsAt'](_0x4bfc6c,_0x1a2fbe);if(!_0x344d13||_0x344d13['left']==_0x344d13['right'])return _0x344d13;let _0x317d98=this['state']['doc']['lineAt'](_0x4bfc6c),_0x287eba=this['bidiSpans'](_0x317d98);return flattenRect(_0x344d13,_0x287eba[_0x1439bf['find'](_0x287eba,_0x4bfc6c-_0x317d98['from'],-0x1,_0x1a2fbe)]['dir']==Direction['LTR']==_0x1a2fbe>0x0);}['coordsForChar'](_0x35df64){return this['readMeasured'](),this['docView']['coordsForChar'](_0x35df64);}get['defaultCharacterWidth'](){return this['viewState']['heightOracle']['charWidth'];}get['defaultLineHeight'](){return this['viewState']['heightOracle']['lineHeight'];}get['textDirection'](){return this['viewState']['defaultTextDirection'];}['textDirectionAt'](_0x329640){return!this['state']['facet'](perLineTextDirection)||_0x329640<this['viewport']['from']||_0x329640>this['viewport']['to']?this['textDirection']:(this['readMeasured'](),this['docView']['textDirectionAt'](_0x329640));}get['lineWrapping'](){return this['viewState']['heightOracle']['lineWrapping'];}['bidiSpans'](_0x1b4eeb){if(_0x1b4eeb['length']>_0x2cb230)return trivialOrder(_0x1b4eeb['length']);let _0x30551b,_0x5a2a74=this['textDirectionAt'](_0x1b4eeb['from']);for(let _0x2f8f6e of this['bidiCache'])if(_0x2f8f6e['from']==_0x1b4eeb['from']&&_0x2f8f6e['dir']==_0x5a2a74&&(_0x2f8f6e['fresh']||isolatesEq(_0x2f8f6e['isolates'],_0x30551b=getIsolatedRanges(this,_0x1b4eeb))))return _0x2f8f6e['order'];_0x30551b||(_0x30551b=getIsolatedRanges(this,_0x1b4eeb));let _0x411c19=computeOrder(_0x1b4eeb['text'],_0x5a2a74,_0x30551b);return this['bidiCache']['push'](new _0x20de71(_0x1b4eeb['from'],_0x1b4eeb['to'],_0x5a2a74,_0x30551b,!0x0,_0x411c19)),_0x411c19;}get['hasFocus'](){var _0x17f3f3;return(this['dom']['ownerDocument']['hasFocus']()||_0x28109e['safari']&&(null===(_0x17f3f3=this['inputState'])||void 0x0===_0x17f3f3?void 0x0:_0x17f3f3['lastContextMenu'])>Date['now']()-0x7530)&&this['root']['activeElement']==this['contentDOM'];}['focus'](){this['observer']['ignore'](()=>{focusPreventScroll(this['contentDOM']),this['docView']['updateSelection']();});}['setRoot'](_0xa4e69b){this['_root']!=_0xa4e69b&&(this['_root']=_0xa4e69b,this['observer']['setWindow']((0x9==_0xa4e69b['nodeType']?_0xa4e69b:_0xa4e69b['ownerDocument'])['defaultView']||window),this['mountStyles']());}['destroy'](){this['root']['activeElement']==this['contentDOM']&&this['contentDOM']['blur']();for(let _0x2fa18f of this['plugins'])_0x2fa18f['destroy'](this);this['plugins']=[],this['inputState']['destroy'](),this['docView']['destroy'](),this['dom']['remove'](),this['observer']['destroy'](),this['measureScheduled']>-0x1&&this['win']['cancelAnimationFrame'](this['measureScheduled']),this['destroyed']=!0x0;}static['scrollIntoView'](_0x57d38c,_0x3e3671={}){return scrollIntoView$1['of'](new ScrollTarget('number'==typeof _0x57d38c?EditorSelection['cursor'](_0x57d38c):_0x57d38c,_0x3e3671['y'],_0x3e3671['x'],_0x3e3671['yMargin'],_0x3e3671['xMargin']));}['scrollSnapshot'](){let {scrollTop:_0x5bae2f,scrollLeft:_0x163c39}=this['scrollDOM'],_0x23b36c=this['viewState']['scrollAnchorAt'](_0x5bae2f);return scrollIntoView$1['of'](new ScrollTarget(EditorSelection['cursor'](_0x23b36c['from']),'start','start',_0x23b36c['top']-_0x5bae2f,_0x163c39,!0x0));}['setTabFocusMode'](_0x2d6719){null==_0x2d6719?this['inputState']['tabFocusMode']=this['inputState']['tabFocusMode']<0x0?0x0:-0x1:'boolean'==typeof _0x2d6719?this['inputState']['tabFocusMode']=_0x2d6719?0x0:-0x1:0x0!=this['inputState']['tabFocusMode']&&(this['inputState']['tabFocusMode']=Date['now']()+_0x2d6719);}static['domEventHandlers'](_0x47fc97){return _0x1d7143['define'](()=>({}),{'eventHandlers':_0x47fc97});}static['domEventObservers'](_0xd13c0a){return _0x1d7143['define'](()=>({}),{'eventObservers':_0xd13c0a});}static['theme'](_0x1dce04,_0x22cc73){let _0x22187b=StyleModule['newName'](),_0x416670=[theme['of'](_0x22187b),styleModule['of'](_0x3a6a5a('.'+_0x22187b,_0x1dce04))];return _0x22cc73&&_0x22cc73['dark']&&_0x416670['push'](_0x60eb21['of'](!0x0)),_0x416670;}static['baseTheme'](_0x178267){return _0x330a03['lowest'](styleModule['of'](_0x3a6a5a('.'+_0x5cf6ae,_0x178267,lightDarkIDs)));}static['findFromDOM'](_0xb908b9){var _0x25f7b1;let _0x2c60cf=_0xb908b9['querySelector']('.cm-content'),_0x40c394=_0x2c60cf&&ContentView['get'](_0x2c60cf)||ContentView['get'](_0xb908b9);return(null===(_0x25f7b1=null==_0x40c394?void 0x0:_0x40c394['rootView'])||void 0x0===_0x25f7b1?void 0x0:_0x25f7b1['view'])||null;}}EditorView['styleModule']=styleModule,EditorView['inputHandler']=inputHandler$1,EditorView['clipboardInputFilter']=clipboardInputFilter,EditorView['clipboardOutputFilter']=clipboardOutputFilter,EditorView['scrollHandler']=_0x5b118c,EditorView['focusChangeEffect']=focusChangeEffect,EditorView['perLineTextDirection']=perLineTextDirection,EditorView['exceptionSink']=exceptionSink,EditorView['updateListener']=updateListener,EditorView['editable']=editable,EditorView['mouseSelectionStyle']=mouseSelectionStyle,EditorView['dragMovesSelection']=dragMovesSelection$1,EditorView['clickAddsSelectionRange']=clickAddsSelectionRange,EditorView['decorations']=decorations,EditorView['outerDecorations']=outerDecorations,EditorView['atomicRanges']=atomicRanges,EditorView['bidiIsolatedRanges']=bidiIsolatedRanges,EditorView['scrollMargins']=_0x34c01c,EditorView['darkTheme']=_0x60eb21,EditorView['cspNonce']=Facet['define']({'combine':_0x322bab=>_0x322bab['length']?_0x322bab[0x0]:''}),EditorView['contentAttributes']=contentAttributes,EditorView['editorAttributes']=editorAttributes,EditorView['lineWrapping']=EditorView['contentAttributes']['of']({'class':'cm-lineWrapping'}),EditorView['announce']=StateEffect['define']();const _0x2cb230=0x1000,_0x1690c9={};class _0x20de71{constructor(_0x40d683,_0x9251f8,_0x18cbab,_0x416729,_0x3d817e,_0x9623bf){this['from']=_0x40d683,this['to']=_0x9251f8,this['dir']=_0x18cbab,this['isolates']=_0x416729,this['fresh']=_0x3d817e,this['order']=_0x9623bf;}static['update'](_0x3668a5,_0x53941e){if(_0x53941e['empty']&&!_0x3668a5['some'](_0x26d688=>_0x26d688['fresh']))return _0x3668a5;let _0x62f3d7=[],_0xd83fc2=_0x3668a5['length']?_0x3668a5[_0x3668a5['length']-0x1]['dir']:Direction['LTR'];for(let _0x56cbaf=Math['max'](0x0,_0x3668a5['length']-0xa);_0x56cbaf<_0x3668a5['length'];_0x56cbaf++){let _0x3abf1e=_0x3668a5[_0x56cbaf];_0x3abf1e['dir']!=_0xd83fc2||_0x53941e['touchesRange'](_0x3abf1e['from'],_0x3abf1e['to'])||_0x62f3d7['push'](new _0x20de71(_0x53941e['mapPos'](_0x3abf1e['from'],0x1),_0x53941e['mapPos'](_0x3abf1e['to'],-0x1),_0x3abf1e['dir'],_0x3abf1e['isolates'],!0x1,_0x3abf1e['order']));}return _0x62f3d7;}}function attrsFromFacet(_0x31cdd2,_0x5de3ff,_0x25fcac){for(let _0x23c7f9=_0x31cdd2['state']['facet'](_0x5de3ff),_0x451a3f=_0x23c7f9['length']-0x1;_0x451a3f>=0x0;_0x451a3f--){let _0x2ff210=_0x23c7f9[_0x451a3f],_0x5acf0d='function'==typeof _0x2ff210?_0x2ff210(_0x31cdd2):_0x2ff210;_0x5acf0d&&combineAttrs(_0x5acf0d,_0x25fcac);}return _0x25fcac;}const currentPlatform=_0x28109e['mac']?'mac':_0x28109e['windows']?'win':_0x28109e['linux']?'linux':'key';function _0x38dbc2(_0x581764,_0x4a2623){const _0x4fc18e=_0x581764['split'](/-(?!$)/);let _0x4fbc53,_0x26653f,_0x1f0ca1,_0xd4761a,_0x30a8fe=_0x4fc18e[_0x4fc18e['length']-0x1];'Space'==_0x30a8fe&&(_0x30a8fe='\x20');for(let _0x441ed8=0x0;_0x441ed8<_0x4fc18e['length']-0x1;++_0x441ed8){const _0x7ff950=_0x4fc18e[_0x441ed8];if(/^(cmd|meta|m)$/i['test'](_0x7ff950))_0xd4761a=!0x0;else{if(/^a(lt)?$/i['test'](_0x7ff950))_0x4fbc53=!0x0;else{if(/^(c|ctrl|control)$/i['test'](_0x7ff950))_0x26653f=!0x0;else{if(/^s(hift)?$/i['test'](_0x7ff950))_0x1f0ca1=!0x0;else{if(!/^mod$/i['test'](_0x7ff950))throw new Error('Unrecognized\x20modifier\x20name:\x20'+_0x7ff950);'mac'==_0x4a2623?_0xd4761a=!0x0:_0x26653f=!0x0;}}}}}return _0x4fbc53&&(_0x30a8fe='Alt-'+_0x30a8fe),_0x26653f&&(_0x30a8fe='Ctrl-'+_0x30a8fe),_0xd4761a&&(_0x30a8fe='Meta-'+_0x30a8fe),_0x1f0ca1&&(_0x30a8fe='Shift-'+_0x30a8fe),_0x30a8fe;}function _0x3fa530(_0x2eedb6,_0x2c04c5,_0x477676){return _0x2c04c5['altKey']&&(_0x2eedb6='Alt-'+_0x2eedb6),_0x2c04c5['ctrlKey']&&(_0x2eedb6='Ctrl-'+_0x2eedb6),_0x2c04c5['metaKey']&&(_0x2eedb6='Meta-'+_0x2eedb6),!0x1!==_0x477676&&_0x2c04c5['shiftKey']&&(_0x2eedb6='Shift-'+_0x2eedb6),_0x2eedb6;}const handleKeyEvents=_0x330a03['default'](EditorView['domEventHandlers']({'keydown':(_0x3fa74c,_0x13dc81)=>_0x24a261(getKeymap(_0x13dc81['state']),_0x3fa74c,_0x13dc81,'editor')})),_0x2e8851=Facet['define']({'enables':handleKeyEvents}),_0x26bcd2=new WeakMap();function getKeymap(_0x4338aa){let _0x8d4fc8=_0x4338aa['facet'](_0x2e8851),_0x13d1de=_0x26bcd2['get'](_0x8d4fc8);return _0x13d1de||_0x26bcd2['set'](_0x8d4fc8,_0x13d1de=_0xa60073(_0x8d4fc8['reduce']((_0x1b6398,_0xbbd713)=>_0x1b6398['concat'](_0xbbd713),[]))),_0x13d1de;}let storedPrefix=null;const PrefixTimeout=0xfa0;function _0xa60073(_0x4223d5,_0x52c1b1=currentPlatform){let _0x21939a=Object['create'](null),_0x2eaacf=Object['create'](null),_0x1a4163=(_0x13d2a7,_0x1bc764)=>{let _0x1f000a=_0x2eaacf[_0x13d2a7];if(null==_0x1f000a)_0x2eaacf[_0x13d2a7]=_0x1bc764;else{if(_0x1f000a!=_0x1bc764)throw new Error('Key\x20binding\x20'+_0x13d2a7+'\x20is\x20used\x20both\x20as\x20a\x20regular\x20binding\x20and\x20as\x20a\x20multi-stroke\x20prefix');}},_0x586b83=(_0x21176a,_0x3e6cf7,_0x1c15a1,_0x4e6102,_0x1ab24d)=>{var _0x217988,_0x14572d;let _0x2ee2e3=_0x21939a[_0x21176a]||(_0x21939a[_0x21176a]=Object['create'](null)),_0x3d03c3=_0x3e6cf7['split'](/ (?!$)/)['map'](_0x3483f9=>_0x38dbc2(_0x3483f9,_0x52c1b1));for(let _0xcb7e5=0x1;_0xcb7e5<_0x3d03c3['length'];_0xcb7e5++){let _0x56d6bc=_0x3d03c3['slice'](0x0,_0xcb7e5)['join']('\x20');_0x1a4163(_0x56d6bc,!0x0),_0x2ee2e3[_0x56d6bc]||(_0x2ee2e3[_0x56d6bc]={'preventDefault':!0x0,'stopPropagation':!0x1,'run':[_0x54b231=>{let _0x7e8c8b=storedPrefix={'view':_0x54b231,'prefix':_0x56d6bc,'scope':_0x21176a};return setTimeout(()=>{storedPrefix==_0x7e8c8b&&(storedPrefix=null);},PrefixTimeout),!0x0;}]});}let _0x31c77d=_0x3d03c3['join']('\x20');_0x1a4163(_0x31c77d,!0x1);let _0x3715a1=_0x2ee2e3[_0x31c77d]||(_0x2ee2e3[_0x31c77d]={'preventDefault':!0x1,'stopPropagation':!0x1,'run':(null===(_0x14572d=null===(_0x217988=_0x2ee2e3['_any'])||void 0x0===_0x217988?void 0x0:_0x217988['run'])||void 0x0===_0x14572d?void 0x0:_0x14572d['slice']())||[]});_0x1c15a1&&_0x3715a1['run']['push'](_0x1c15a1),_0x4e6102&&(_0x3715a1['preventDefault']=!0x0),_0x1ab24d&&(_0x3715a1['stopPropagation']=!0x0);};for(let _0x5be3ff of _0x4223d5){let _0x41a6b7=_0x5be3ff['scope']?_0x5be3ff['scope']['split']('\x20'):['editor'];if(_0x5be3ff['any'])for(let _0x40edea of _0x41a6b7){let _0x39c656=_0x21939a[_0x40edea]||(_0x21939a[_0x40edea]=Object['create'](null));_0x39c656['_any']||(_0x39c656['_any']={'preventDefault':!0x1,'stopPropagation':!0x1,'run':[]});let {any:_0x4f8725}=_0x5be3ff;for(let _0xcdd245 in _0x39c656)_0x39c656[_0xcdd245]['run']['push'](_0x1590b5=>_0x4f8725(_0x1590b5,currentKeyEvent));}let _0x5ebd95=_0x5be3ff[_0x52c1b1]||_0x5be3ff['key'];if(_0x5ebd95){for(let _0x295e9f of _0x41a6b7)_0x586b83(_0x295e9f,_0x5ebd95,_0x5be3ff['run'],_0x5be3ff['preventDefault'],_0x5be3ff['stopPropagation']),_0x5be3ff['shift']&&_0x586b83(_0x295e9f,'Shift-'+_0x5ebd95,_0x5be3ff['shift'],_0x5be3ff['preventDefault'],_0x5be3ff['stopPropagation']);}}return _0x21939a;}let currentKeyEvent=null;function _0x24a261(_0x3dee61,_0x3165fb,_0x150578,_0x3e9e05){currentKeyEvent=_0x3165fb;let _0x1ea546=_0x56f90a(_0x3165fb),_0x35b7c8=codePointSize(codePointAt(_0x1ea546,0x0))==_0x1ea546['length']&&'\x20'!=_0x1ea546,_0x146210='',_0x56ac05=!0x1,_0x5acf46=!0x1,_0x2ca2fb=!0x1;storedPrefix&&storedPrefix['view']==_0x150578&&storedPrefix['scope']==_0x3e9e05&&(_0x146210=storedPrefix['prefix']+'\x20',_0x3a60dd['indexOf'](_0x3165fb['keyCode'])<0x0&&(_0x5acf46=!0x0,storedPrefix=null));let _0x1d9168,_0x3b7470,_0x5d42ba=new Set(),_0x2e5295=_0xbf2006=>{if(_0xbf2006){for(let _0x135952 of _0xbf2006['run'])if(!_0x5d42ba['has'](_0x135952)&&(_0x5d42ba['add'](_0x135952),_0x135952(_0x150578)))return _0xbf2006['stopPropagation']&&(_0x2ca2fb=!0x0),!0x0;_0xbf2006['preventDefault']&&(_0xbf2006['stopPropagation']&&(_0x2ca2fb=!0x0),_0x5acf46=!0x0);}return!0x1;},_0x11a406=_0x3dee61[_0x3e9e05];return _0x11a406&&(_0x2e5295(_0x11a406[_0x146210+_0x3fa530(_0x1ea546,_0x3165fb,!_0x35b7c8)])?_0x56ac05=!0x0:!_0x35b7c8||!(_0x3165fb['altKey']||_0x3165fb['metaKey']||_0x3165fb['ctrlKey'])||_0x28109e['windows']&&_0x3165fb['ctrlKey']&&_0x3165fb['altKey']||_0x28109e['mac']&&_0x3165fb['altKey']&&!_0x3165fb['ctrlKey']&&!_0x3165fb['metaKey']||!(_0x1d9168=_0x2ce4ae[_0x3165fb['keyCode']])||_0x1d9168==_0x1ea546?_0x35b7c8&&_0x3165fb['shiftKey']&&_0x2e5295(_0x11a406[_0x146210+_0x3fa530(_0x1ea546,_0x3165fb,!0x0)])&&(_0x56ac05=!0x0):(_0x2e5295(_0x11a406[_0x146210+_0x3fa530(_0x1d9168,_0x3165fb,!0x0)])||_0x3165fb['shiftKey']&&(_0x3b7470=shift[_0x3165fb['keyCode']])!=_0x1ea546&&_0x3b7470!=_0x1d9168&&_0x2e5295(_0x11a406[_0x146210+_0x3fa530(_0x3b7470,_0x3165fb,!0x1)]))&&(_0x56ac05=!0x0),!_0x56ac05&&_0x2e5295(_0x11a406['_any'])&&(_0x56ac05=!0x0)),_0x5acf46&&(_0x56ac05=!0x0),_0x56ac05&&_0x2ca2fb&&_0x3165fb['stopPropagation'](),currentKeyEvent=null,_0x56ac05;}class RectangleMarker{constructor(_0x5036c8,_0x506fba,_0x20e0ea,_0x3c19d8,_0x252999){this['className']=_0x5036c8,this['left']=_0x506fba,this['top']=_0x20e0ea,this['width']=_0x3c19d8,this['height']=_0x252999;}['draw'](){let _0x4ed191=document['createElement']('div');return _0x4ed191['className']=this['className'],this['adjust'](_0x4ed191),_0x4ed191;}['update'](_0x2ff81f,_0x11d753){return _0x11d753['className']==this['className']&&(this['adjust'](_0x2ff81f),!0x0);}['adjust'](_0x53b9ce){_0x53b9ce['style']['left']=this['left']+'px',_0x53b9ce['style']['top']=this['top']+'px',null!=this['width']&&(_0x53b9ce['style']['width']=this['width']+'px'),_0x53b9ce['style']['height']=this['height']+'px';}['eq'](_0x87c5e7){return this['left']==_0x87c5e7['left']&&this['top']==_0x87c5e7['top']&&this['width']==_0x87c5e7['width']&&this['height']==_0x87c5e7['height']&&this['className']==_0x87c5e7['className'];}static['forRange'](_0x9e65a5,_0x1ffb59,_0x25e34d){if(_0x25e34d['empty']){let _0x5c9dbf=_0x9e65a5['coordsAtPos'](_0x25e34d['head'],_0x25e34d['assoc']||0x1);if(!_0x5c9dbf)return[];let _0x527006=getBase(_0x9e65a5);return[new RectangleMarker(_0x1ffb59,_0x5c9dbf['left']-_0x527006['left'],_0x5c9dbf['top']-_0x527006['top'],null,_0x5c9dbf['bottom']-_0x5c9dbf['top'])];}return rectanglesForRange(_0x9e65a5,_0x1ffb59,_0x25e34d);}}function getBase(_0x25dea8){let _0x415d92=_0x25dea8['scrollDOM']['getBoundingClientRect']();return{'left':(_0x25dea8['textDirection']==Direction['LTR']?_0x415d92['left']:_0x415d92['right']-_0x25dea8['scrollDOM']['clientWidth']*_0x25dea8['scaleX'])-_0x25dea8['scrollDOM']['scrollLeft']*_0x25dea8['scaleX'],'top':_0x415d92['top']-_0x25dea8['scrollDOM']['scrollTop']*_0x25dea8['scaleY']};}function _0x2cb5c1(_0x3cfe66,_0xc70ba8,_0x5516ba,_0x35edac){let _0x3d0698=_0x3cfe66['coordsAtPos'](_0xc70ba8,0x2*_0x5516ba);if(!_0x3d0698)return _0x35edac;let _0x1c8bce=_0x3cfe66['dom']['getBoundingClientRect'](),_0x179b96=(_0x3d0698['top']+_0x3d0698['bottom'])/0x2,_0x58851d=_0x3cfe66['posAtCoords']({'x':_0x1c8bce['left']+0x1,'y':_0x179b96}),_0x5c37ac=_0x3cfe66['posAtCoords']({'x':_0x1c8bce['right']-0x1,'y':_0x179b96});return null==_0x58851d||null==_0x5c37ac?_0x35edac:{'from':Math['max'](_0x35edac['from'],Math['min'](_0x58851d,_0x5c37ac)),'to':Math['min'](_0x35edac['to'],Math['max'](_0x58851d,_0x5c37ac))};}function rectanglesForRange(_0x397441,_0x1c2389,_0x3003c5){if(_0x3003c5['to']<=_0x397441['viewport']['from']||_0x3003c5['from']>=_0x397441['viewport']['to'])return[];let _0x4014b0=Math['max'](_0x3003c5['from'],_0x397441['viewport']['from']),_0x3ac793=Math['min'](_0x3003c5['to'],_0x397441['viewport']['to']),_0x532eac=_0x397441['textDirection']==Direction['LTR'],_0x2c412e=_0x397441['contentDOM'],_0x325678=_0x2c412e['getBoundingClientRect'](),_0xce0dcc=getBase(_0x397441),_0x21af3c=_0x2c412e['querySelector']('.cm-line'),_0x46a046=_0x21af3c&&window['getComputedStyle'](_0x21af3c),_0x31a030=_0x325678['left']+(_0x46a046?parseInt(_0x46a046['paddingLeft'])+Math['min'](0x0,parseInt(_0x46a046['textIndent'])):0x0),_0x4c9980=_0x325678['right']-(_0x46a046?parseInt(_0x46a046['paddingRight']):0x0),_0x29577c=blockAt(_0x397441,_0x4014b0,0x1),_0x4c9ded=blockAt(_0x397441,_0x3ac793,-0x1),_0x34df0f=_0x29577c['type']==_0x8dd476['Text']?_0x29577c:null,_0x48a90d=_0x4c9ded['type']==_0x8dd476['Text']?_0x4c9ded:null;if(_0x34df0f&&(_0x397441['lineWrapping']||_0x29577c['widgetLineBreaks'])&&(_0x34df0f=_0x2cb5c1(_0x397441,_0x4014b0,0x1,_0x34df0f)),_0x48a90d&&(_0x397441['lineWrapping']||_0x4c9ded['widgetLineBreaks'])&&(_0x48a90d=_0x2cb5c1(_0x397441,_0x3ac793,-0x1,_0x48a90d)),_0x34df0f&&_0x48a90d&&_0x34df0f['from']==_0x48a90d['from']&&_0x34df0f['to']==_0x48a90d['to'])return _0x49b7ef(_0x185dcb(_0x3003c5['from'],_0x3003c5['to'],_0x34df0f));{let _0x4cd6b9=_0x34df0f?_0x185dcb(_0x3003c5['from'],null,_0x34df0f):_0x44011b(_0x29577c,!0x1),_0x6e23bd=_0x48a90d?_0x185dcb(null,_0x3003c5['to'],_0x48a90d):_0x44011b(_0x4c9ded,!0x0),_0x3d0ecf=[];return(_0x34df0f||_0x29577c)['to']<(_0x48a90d||_0x4c9ded)['from']-(_0x34df0f&&_0x48a90d?0x1:0x0)||_0x29577c['widgetLineBreaks']>0x1&&_0x4cd6b9['bottom']+_0x397441['defaultLineHeight']/0x2<_0x6e23bd['top']?_0x3d0ecf['push'](_0x4bea0d(_0x31a030,_0x4cd6b9['bottom'],_0x4c9980,_0x6e23bd['top'])):_0x4cd6b9['bottom']<_0x6e23bd['top']&&_0x397441['elementAtHeight']((_0x4cd6b9['bottom']+_0x6e23bd['top'])/0x2)['type']==_0x8dd476['Text']&&(_0x4cd6b9['bottom']=_0x6e23bd['top']=(_0x4cd6b9['bottom']+_0x6e23bd['top'])/0x2),_0x49b7ef(_0x4cd6b9)['concat'](_0x3d0ecf)['concat'](_0x49b7ef(_0x6e23bd));}function _0x4bea0d(_0x14fcba,_0x419487,_0x219b2a,_0x5995ff){return new RectangleMarker(_0x1c2389,_0x14fcba-_0xce0dcc['left'],_0x419487-_0xce0dcc['top'],_0x219b2a-_0x14fcba,_0x5995ff-_0x419487);}function _0x49b7ef({top:_0x39faaa,bottom:_0xa16f3a,horizontal:_0x36cd8a}){let _0xa33ee0=[];for(let _0x1cd69f=0x0;_0x1cd69f<_0x36cd8a['length'];_0x1cd69f+=0x2)_0xa33ee0['push'](_0x4bea0d(_0x36cd8a[_0x1cd69f],_0x39faaa,_0x36cd8a[_0x1cd69f+0x1],_0xa16f3a));return _0xa33ee0;}function _0x185dcb(_0x5374f6,_0x4c7c26,_0x3635fe){let _0x1dda63=0x3b9aca00,_0x5492cb=-0x3b9aca00,_0x45a3d7=[];function _0x57a2ce(_0x414791,_0x1fb674,_0x161bbe,_0x330f9a,_0x27c9ed){let _0x4ef6f5=_0x397441['coordsAtPos'](_0x414791,_0x414791==_0x3635fe['to']?-0x2:0x2),_0x49e490=_0x397441['coordsAtPos'](_0x161bbe,_0x161bbe==_0x3635fe['from']?0x2:-0x2);_0x4ef6f5&&_0x49e490&&(_0x1dda63=Math['min'](_0x4ef6f5['top'],_0x49e490['top'],_0x1dda63),_0x5492cb=Math['max'](_0x4ef6f5['bottom'],_0x49e490['bottom'],_0x5492cb),_0x27c9ed==Direction['LTR']?_0x45a3d7['push'](_0x532eac&&_0x1fb674?_0x31a030:_0x4ef6f5['left'],_0x532eac&&_0x330f9a?_0x4c9980:_0x49e490['right']):_0x45a3d7['push'](!_0x532eac&&_0x330f9a?_0x31a030:_0x49e490['left'],!_0x532eac&&_0x1fb674?_0x4c9980:_0x4ef6f5['right']));}let _0x4d52d1=null!=_0x5374f6?_0x5374f6:_0x3635fe['from'],_0x297dec=null!=_0x4c7c26?_0x4c7c26:_0x3635fe['to'];for(let _0x46d1a0 of _0x397441['visibleRanges'])if(_0x46d1a0['to']>_0x4d52d1&&_0x46d1a0['from']<_0x297dec)for(let _0x5a2f45=Math['max'](_0x46d1a0['from'],_0x4d52d1),_0x352c94=Math['min'](_0x46d1a0['to'],_0x297dec);;){let _0x164a6c=_0x397441['state']['doc']['lineAt'](_0x5a2f45);for(let _0x5d825c of _0x397441['bidiSpans'](_0x164a6c)){let _0x82a162=_0x5d825c['from']+_0x164a6c['from'],_0x427ba0=_0x5d825c['to']+_0x164a6c['from'];if(_0x82a162>=_0x352c94)break;_0x427ba0>_0x5a2f45&&_0x57a2ce(Math['max'](_0x82a162,_0x5a2f45),null==_0x5374f6&&_0x82a162<=_0x4d52d1,Math['min'](_0x427ba0,_0x352c94),null==_0x4c7c26&&_0x427ba0>=_0x297dec,_0x5d825c['dir']);}if(_0x5a2f45=_0x164a6c['to']+0x1,_0x5a2f45>=_0x352c94)break;}return 0x0==_0x45a3d7['length']&&_0x57a2ce(_0x4d52d1,null==_0x5374f6,_0x297dec,null==_0x4c7c26,_0x397441['textDirection']),{'top':_0x1dda63,'bottom':_0x5492cb,'horizontal':_0x45a3d7};}function _0x44011b(_0x21dcd4,_0x8929e0){let _0x5a9aa5=_0x325678['top']+(_0x8929e0?_0x21dcd4['top']:_0x21dcd4['bottom']);return{'top':_0x5a9aa5,'bottom':_0x5a9aa5,'horizontal':[]};}}function _0x540b2b(_0x4cb1b6,_0x5858a9){return _0x4cb1b6['constructor']==_0x5858a9['constructor']&&_0x4cb1b6['eq'](_0x5858a9);}class _0x3b05af{constructor(_0x529fac,_0x22ed0e){this['view']=_0x529fac,this['layer']=_0x22ed0e,this['drawn']=[],this['scaleX']=0x1,this['scaleY']=0x1,this['measureReq']={'read':this['measure']['bind'](this),'write':this['draw']['bind'](this)},this['dom']=_0x529fac['scrollDOM']['appendChild'](document['createElement']('div')),this['dom']['classList']['add']('cm-layer'),_0x22ed0e['above']&&this['dom']['classList']['add']('cm-layer-above'),_0x22ed0e['class']&&this['dom']['classList']['add'](_0x22ed0e['class']),this['scale'](),this['dom']['setAttribute']('aria-hidden','true'),this['setOrder'](_0x529fac['state']),_0x529fac['requestMeasure'](this['measureReq']),_0x22ed0e['mount']&&_0x22ed0e['mount'](this['dom'],_0x529fac);}['update'](_0x11fb65){_0x11fb65['startState']['facet'](_0x24c362)!=_0x11fb65['state']['facet'](_0x24c362)&&this['setOrder'](_0x11fb65['state']),(this['layer']['update'](_0x11fb65,this['dom'])||_0x11fb65['geometryChanged'])&&(this['scale'](),_0x11fb65['view']['requestMeasure'](this['measureReq']));}['docViewUpdate'](_0x2f7e52){!0x1!==this['layer']['updateOnDocViewUpdate']&&_0x2f7e52['requestMeasure'](this['measureReq']);}['setOrder'](_0x3a9aed){let _0x29f2d3=0x0,_0xcd2468=_0x3a9aed['facet'](_0x24c362);for(;_0x29f2d3<_0xcd2468['length']&&_0xcd2468[_0x29f2d3]!=this['layer'];)_0x29f2d3++;this['dom']['style']['zIndex']=String((this['layer']['above']?0x96:-0x1)-_0x29f2d3);}['measure'](){return this['layer']['markers'](this['view']);}['scale'](){let {scaleX:_0x3b9fa5,scaleY:_0x30bead}=this['view'];_0x3b9fa5==this['scaleX']&&_0x30bead==this['scaleY']||(this['scaleX']=_0x3b9fa5,this['scaleY']=_0x30bead,this['dom']['style']['transform']='scale('+0x1/_0x3b9fa5+',\x20'+0x1/_0x30bead+')');}['draw'](_0x49a417){if(_0x49a417['length']!=this['drawn']['length']||_0x49a417['some']((_0x391858,_0x4671c6)=>!_0x540b2b(_0x391858,this['drawn'][_0x4671c6]))){let _0xd6c686=this['dom']['firstChild'],_0x1ee67a=0x0;for(let _0x197e56 of _0x49a417)_0x197e56['update']&&_0xd6c686&&_0x197e56['constructor']&&this['drawn'][_0x1ee67a]['constructor']&&_0x197e56['update'](_0xd6c686,this['drawn'][_0x1ee67a])?(_0xd6c686=_0xd6c686['nextSibling'],_0x1ee67a++):this['dom']['insertBefore'](_0x197e56['draw'](),_0xd6c686);for(;_0xd6c686;){let _0x5a2bca=_0xd6c686['nextSibling'];_0xd6c686['remove'](),_0xd6c686=_0x5a2bca;}this['drawn']=_0x49a417,_0x28109e['safari']&&_0x28109e['safari_version']>=0x1a&&(this['dom']['style']['display']=this['dom']['firstChild']?'':'none');}}['destroy'](){this['layer']['destroy']&&this['layer']['destroy'](this['dom'],this['view']),this['dom']['remove']();}}const _0x24c362=Facet['define']();function _0x41c0d0(_0x413d44){return[_0x1d7143['define'](_0x49ab30=>new _0x3b05af(_0x49ab30,_0x413d44)),_0x24c362['of'](_0x413d44)];}const selectionConfig=Facet['define']({'combine':_0x546bd5=>_0x44c9ef(_0x546bd5,{'cursorBlinkRate':0x4b0,'drawRangeCursor':!0x0},{'cursorBlinkRate':(_0x4aef9a,_0x1c599e)=>Math['min'](_0x4aef9a,_0x1c599e),'drawRangeCursor':(_0x48d1de,_0x24227d)=>_0x48d1de||_0x24227d})});function drawSelection(_0x595c7f={}){return[selectionConfig['of'](_0x595c7f),_0x371983,selectionLayer,hideNativeSelection,nativeSelectionHidden['of'](!0x0)];}function _0x50bee8(_0x30ca64){return _0x30ca64['startState']['facet'](selectionConfig)!=_0x30ca64['state']['facet'](selectionConfig);}const _0x371983=_0x41c0d0({'above':!0x0,'markers'(_0x420d13){let {state:_0x4b5c3c}=_0x420d13,_0x3a77a5=_0x4b5c3c['facet'](selectionConfig),_0x8c03a9=[];for(let _0x5004a5 of _0x4b5c3c['selection']['ranges']){let _0x518f82=_0x5004a5==_0x4b5c3c['selection']['main'];if(_0x5004a5['empty']||_0x3a77a5['drawRangeCursor']){let _0x1f9f3a=_0x518f82?'cm-cursor\x20cm-cursor-primary':'cm-cursor\x20cm-cursor-secondary',_0x230115=_0x5004a5['empty']?_0x5004a5:EditorSelection['cursor'](_0x5004a5['head'],_0x5004a5['head']>_0x5004a5['anchor']?-0x1:0x1);for(let _0x20b2ab of RectangleMarker['forRange'](_0x420d13,_0x1f9f3a,_0x230115))_0x8c03a9['push'](_0x20b2ab);}}return _0x8c03a9;},'update'(_0x5a9e0e,_0x5f3fb3){_0x5a9e0e['transactions']['some'](_0x4fe9ad=>_0x4fe9ad['selection'])&&(_0x5f3fb3['style']['animationName']='cm-blink'==_0x5f3fb3['style']['animationName']?'cm-blink2':'cm-blink');let _0x5c59e8=_0x50bee8(_0x5a9e0e);return _0x5c59e8&&setBlinkRate(_0x5a9e0e['state'],_0x5f3fb3),_0x5a9e0e['docChanged']||_0x5a9e0e['selectionSet']||_0x5c59e8;},'mount'(_0x405e97,_0x45ab47){setBlinkRate(_0x45ab47['state'],_0x405e97);},'class':'cm-cursorLayer'});function setBlinkRate(_0x540bb3,_0x2f95d0){_0x2f95d0['style']['animationDuration']=_0x540bb3['facet'](selectionConfig)['cursorBlinkRate']+'ms';}const selectionLayer=_0x41c0d0({'above':!0x1,'markers':_0x1affb1=>_0x1affb1['state']['selection']['ranges']['map'](_0x16be5b=>_0x16be5b['empty']?[]:RectangleMarker['forRange'](_0x1affb1,'cm-selectionBackground',_0x16be5b))['reduce']((_0xbeef9d,_0x6aa3e)=>_0xbeef9d['concat'](_0x6aa3e)),'update':(_0x37c393,_0x1fffa6)=>_0x37c393['docChanged']||_0x37c393['selectionSet']||_0x37c393['viewportChanged']||_0x50bee8(_0x37c393),'class':'cm-selectionLayer'}),hideNativeSelection=_0x330a03['highest'](EditorView['theme']({'.cm-line':{'&\x20::selection,\x20&::selection':{'backgroundColor':'transparent\x20!important'},'caretColor':'transparent\x20!important'},'.cm-content':{'caretColor':'transparent\x20!important','&\x20:focus':{'caretColor':'initial\x20!important','&::selection,\x20&\x20::selection':{'backgroundColor':'Highlight\x20!important'}}}})),setDropCursorPos=StateEffect['define']({'map':(_0x210389,_0x15777d)=>null==_0x210389?null:_0x15777d['mapPos'](_0x210389)}),_0x24dd89=StateField['define']({'create':()=>null,'update':(_0x30dd74,_0x3228fc)=>(null!=_0x30dd74&&(_0x30dd74=_0x3228fc['changes']['mapPos'](_0x30dd74)),_0x3228fc['effects']['reduce']((_0x580a67,_0x3fcd07)=>_0x3fcd07['is'](setDropCursorPos)?_0x3fcd07['value']:_0x580a67,_0x30dd74))}),_0x400953=_0x1d7143['fromClass'](class{constructor(_0x21519c){this['view']=_0x21519c,this['cursor']=null,this['measureReq']={'read':this['readPos']['bind'](this),'write':this['drawCursor']['bind'](this)};}['update'](_0x160a8e){var _0x25a67a;let _0x35dff9=_0x160a8e['state']['field'](_0x24dd89);null==_0x35dff9?null!=this['cursor']&&(null===(_0x25a67a=this['cursor'])||void 0x0===_0x25a67a||_0x25a67a['remove'](),this['cursor']=null):(this['cursor']||(this['cursor']=this['view']['scrollDOM']['appendChild'](document['createElement']('div')),this['cursor']['className']='cm-dropCursor'),(_0x160a8e['startState']['field'](_0x24dd89)!=_0x35dff9||_0x160a8e['docChanged']||_0x160a8e['geometryChanged'])&&this['view']['requestMeasure'](this['measureReq']));}['readPos'](){let {view:_0x27d801}=this,_0x2d9ae8=_0x27d801['state']['field'](_0x24dd89),_0x3c8753=null!=_0x2d9ae8&&_0x27d801['coordsAtPos'](_0x2d9ae8);if(!_0x3c8753)return null;let _0x2bb97c=_0x27d801['scrollDOM']['getBoundingClientRect']();return{'left':_0x3c8753['left']-_0x2bb97c['left']+_0x27d801['scrollDOM']['scrollLeft']*_0x27d801['scaleX'],'top':_0x3c8753['top']-_0x2bb97c['top']+_0x27d801['scrollDOM']['scrollTop']*_0x27d801['scaleY'],'height':_0x3c8753['bottom']-_0x3c8753['top']};}['drawCursor'](_0x579a32){if(this['cursor']){let {scaleX:_0x22d8a2,scaleY:_0x5f0393}=this['view'];_0x579a32?(this['cursor']['style']['left']=_0x579a32['left']/_0x22d8a2+'px',this['cursor']['style']['top']=_0x579a32['top']/_0x5f0393+'px',this['cursor']['style']['height']=_0x579a32['height']/_0x5f0393+'px'):this['cursor']['style']['left']='-100000px';}}['destroy'](){this['cursor']&&this['cursor']['remove']();}['setDropPos'](_0x4be087){this['view']['state']['field'](_0x24dd89)!=_0x4be087&&this['view']['dispatch']({'effects':setDropCursorPos['of'](_0x4be087)});}},{'eventObservers':{'dragover'(_0x1620f2){this['setDropPos'](this['view']['posAtCoords']({'x':_0x1620f2['clientX'],'y':_0x1620f2['clientY']}));},'dragleave'(_0x41ecac){_0x41ecac['target']!=this['view']['contentDOM']&&this['view']['contentDOM']['contains'](_0x41ecac['relatedTarget'])||this['setDropPos'](null);},'dragend'(){this['setDropPos'](null);},'drop'(){this['setDropPos'](null);}}});function _0x290371(){return[_0x24dd89,_0x400953];}function iterMatches(_0x49e485,_0x25c99f,_0x1512a2,_0x9c0561,_0x15593f){_0x25c99f['lastIndex']=0x0;for(let _0x7a9145,_0x38e185=_0x49e485['iterRange'](_0x1512a2,_0x9c0561),_0x102568=_0x1512a2;!_0x38e185['next']()['done'];_0x102568+=_0x38e185['value']['length'])if(!_0x38e185['lineBreak']){for(;_0x7a9145=_0x25c99f['exec'](_0x38e185['value']);)_0x15593f(_0x102568+_0x7a9145['index'],_0x7a9145);}}function matchRanges(_0x1d44fe,_0x528901){let _0x35d534=_0x1d44fe['visibleRanges'];if(0x1==_0x35d534['length']&&_0x35d534[0x0]['from']==_0x1d44fe['viewport']['from']&&_0x35d534[0x0]['to']==_0x1d44fe['viewport']['to'])return _0x35d534;let _0x338b4a=[];for(let {from:_0x13b3ae,to:_0x360794}of _0x35d534)_0x13b3ae=Math['max'](_0x1d44fe['state']['doc']['lineAt'](_0x13b3ae)['from'],_0x13b3ae-_0x528901),_0x360794=Math['min'](_0x1d44fe['state']['doc']['lineAt'](_0x360794)['to'],_0x360794+_0x528901),_0x338b4a['length']&&_0x338b4a[_0x338b4a['length']-0x1]['to']>=_0x13b3ae?_0x338b4a[_0x338b4a['length']-0x1]['to']=_0x360794:_0x338b4a['push']({'from':_0x13b3ae,'to':_0x360794});return _0x338b4a;}class MatchDecorator{constructor(_0x1127a0){const {regexp:_0x53647b,decoration:_0xb77b81,decorate:_0x525896,boundary:_0x139e80,maxLength:_0x353419=0x3e8}=_0x1127a0;if(!_0x53647b['global'])throw new RangeError('The\x20regular\x20expression\x20given\x20to\x20MatchDecorator\x20should\x20have\x20its\x20\x27g\x27\x20flag\x20set');if(this['regexp']=_0x53647b,_0x525896)this['addMatch']=(_0x515c9f,_0x5892ad,_0x44d545,_0x3e6bff)=>_0x525896(_0x3e6bff,_0x44d545,_0x44d545+_0x515c9f[0x0]['length'],_0x515c9f,_0x5892ad);else{if('function'==typeof _0xb77b81)this['addMatch']=(_0x45eb05,_0x56577e,_0x5008dd,_0x13ac67)=>{let _0x4d4859=_0xb77b81(_0x45eb05,_0x56577e,_0x5008dd);_0x4d4859&&_0x13ac67(_0x5008dd,_0x5008dd+_0x45eb05[0x0]['length'],_0x4d4859);};else{if(!_0xb77b81)throw new RangeError('Either\x20\x27decorate\x27\x20or\x20\x27decoration\x27\x20should\x20be\x20provided\x20to\x20MatchDecorator');this['addMatch']=(_0xe5004c,_0x180e39,_0x457bc2,_0x15d0ed)=>_0x15d0ed(_0x457bc2,_0x457bc2+_0xe5004c[0x0]['length'],_0xb77b81);}}this['boundary']=_0x139e80,this['maxLength']=_0x353419;}['createDeco'](_0x5d6e1b){let _0x21541c=new RangeSetBuilder(),_0x4efc4d=_0x21541c['add']['bind'](_0x21541c);for(let {from:_0x128d6b,to:_0x43a17e}of matchRanges(_0x5d6e1b,this['maxLength']))iterMatches(_0x5d6e1b['state']['doc'],this['regexp'],_0x128d6b,_0x43a17e,(_0x1799ce,_0x257c34)=>this['addMatch'](_0x257c34,_0x5d6e1b,_0x1799ce,_0x4efc4d));return _0x21541c['finish']();}['updateDeco'](_0x145459,_0x352648){let _0x1244af=0x3b9aca00,_0x4fb8bf=-0x1;return _0x145459['docChanged']&&_0x145459['changes']['iterChanges']((_0x3e3d37,_0x43c676,_0x136a6e,_0x269a23)=>{_0x269a23>=_0x145459['view']['viewport']['from']&&_0x136a6e<=_0x145459['view']['viewport']['to']&&(_0x1244af=Math['min'](_0x136a6e,_0x1244af),_0x4fb8bf=Math['max'](_0x269a23,_0x4fb8bf));}),_0x145459['viewportMoved']||_0x4fb8bf-_0x1244af>0x3e8?this['createDeco'](_0x145459['view']):_0x4fb8bf>-0x1?this['updateRange'](_0x145459['view'],_0x352648['map'](_0x145459['changes']),_0x1244af,_0x4fb8bf):_0x352648;}['updateRange'](_0x4186b9,_0x37506b,_0x3a84bb,_0x101a19){for(let _0x129172 of _0x4186b9['visibleRanges']){let _0x655d0e=Math['max'](_0x129172['from'],_0x3a84bb),_0x1e8713=Math['min'](_0x129172['to'],_0x101a19);if(_0x1e8713>=_0x655d0e){let _0x2a1518=_0x4186b9['state']['doc']['lineAt'](_0x655d0e),_0x11dc45=_0x2a1518['to']<_0x1e8713?_0x4186b9['state']['doc']['lineAt'](_0x1e8713):_0x2a1518,_0x31f645=Math['max'](_0x129172['from'],_0x2a1518['from']),_0x596c72=Math['min'](_0x129172['to'],_0x11dc45['to']);if(this['boundary']){for(;_0x655d0e>_0x2a1518['from'];_0x655d0e--)if(this['boundary']['test'](_0x2a1518['text'][_0x655d0e-0x1-_0x2a1518['from']])){_0x31f645=_0x655d0e;break;}for(;_0x1e8713<_0x11dc45['to'];_0x1e8713++)if(this['boundary']['test'](_0x11dc45['text'][_0x1e8713-_0x11dc45['from']])){_0x596c72=_0x1e8713;break;}}let _0x50bd0c,_0x3d9eb9=[],_0x1c0ec9=(_0x547799,_0x12072f,_0x458f9f)=>_0x3d9eb9['push'](_0x458f9f['range'](_0x547799,_0x12072f));if(_0x2a1518==_0x11dc45){for(this['regexp']['lastIndex']=_0x31f645-_0x2a1518['from'];(_0x50bd0c=this['regexp']['exec'](_0x2a1518['text']))&&_0x50bd0c['index']<_0x596c72-_0x2a1518['from'];)this['addMatch'](_0x50bd0c,_0x4186b9,_0x50bd0c['index']+_0x2a1518['from'],_0x1c0ec9);}else iterMatches(_0x4186b9['state']['doc'],this['regexp'],_0x31f645,_0x596c72,(_0x40a0a3,_0x5c767c)=>this['addMatch'](_0x5c767c,_0x4186b9,_0x40a0a3,_0x1c0ec9));_0x37506b=_0x37506b['update']({'filterFrom':_0x31f645,'filterTo':_0x596c72,'filter':(_0x2e45a0,_0x2ff2df)=>_0x2e45a0<_0x31f645||_0x2ff2df>_0x596c72,'add':_0x3d9eb9});}}return _0x37506b;}}const UnicodeRegexpSupport=null!=/x/['unicode']?'gu':'g',_0x1ee055=new RegExp('[\x00-\x08\x0a-\x1f\x7f-\u009f­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\ufeff￹-￼]',UnicodeRegexpSupport),_0x582241={0x0:'null',0x7:'bell',0x8:'backspace',0xa:'newline',0xb:'vertical\x20tab',0xd:'carriage\x20return',0x1b:'escape',0x200b:'zero\x20width\x20space',0x200c:'zero\x20width\x20non-joiner',0x200d:'zero\x20width\x20joiner',0x200e:'left-to-right\x20mark',0x200f:'right-to-left\x20mark',0x2028:'line\x20separator',0x202d:'left-to-right\x20override',0x202e:'right-to-left\x20override',0x2066:'left-to-right\x20isolate',0x2067:'right-to-left\x20isolate',0x2069:'pop\x20directional\x20isolate',0x2029:'paragraph\x20separator',0xfeff:'zero\x20width\x20no-break\x20space',0xfffc:'object\x20replacement'};let _supportsTabSize=null;function supportsTabSize(){var _0x295f09;if(null==_supportsTabSize&&'undefined'!=typeof document&&document['body']){let _0xbf0055=document['body']['style'];_supportsTabSize=null!=(null!==(_0x295f09=_0xbf0055['tabSize'])&&void 0x0!==_0x295f09?_0x295f09:_0xbf0055['MozTabSize']);}return _supportsTabSize||!0x1;}const _0x5c3790=Facet['define']({'combine'(_0x1ecc02){let _0x3bbf59=_0x44c9ef(_0x1ecc02,{'render':null,'specialChars':_0x1ee055,'addSpecialChars':null});return(_0x3bbf59['replaceTabs']=!supportsTabSize())&&(_0x3bbf59['specialChars']=new RegExp('\x09|'+_0x3bbf59['specialChars']['source'],UnicodeRegexpSupport)),_0x3bbf59['addSpecialChars']&&(_0x3bbf59['specialChars']=new RegExp(_0x3bbf59['specialChars']['source']+'|'+_0x3bbf59['addSpecialChars']['source'],UnicodeRegexpSupport)),_0x3bbf59;}});function highlightSpecialChars(_0x1956eb={}){return[_0x5c3790['of'](_0x1956eb),_0x4e6045()];}let _0x138e0b=null;function _0x4e6045(){return _0x138e0b||(_0x138e0b=_0x1d7143['fromClass'](class{constructor(_0xf49677){this['view']=_0xf49677,this['decorations']=Decoration['none'],this['decorationCache']=Object['create'](null),this['decorator']=this['makeDecorator'](_0xf49677['state']['facet'](_0x5c3790)),this['decorations']=this['decorator']['createDeco'](_0xf49677);}['makeDecorator'](_0x2fc17b){return new MatchDecorator({'regexp':_0x2fc17b['specialChars'],'decoration':(_0x19fd1e,_0x3ead3d,_0x5c41a0)=>{let {doc:_0x16b48c}=_0x3ead3d['state'],_0x100084=codePointAt(_0x19fd1e[0x0],0x0);if(0x9==_0x100084){let _0x32a292=_0x16b48c['lineAt'](_0x5c41a0),_0x40f4ea=_0x3ead3d['state']['tabSize'],_0x267226=countColumn(_0x32a292['text'],_0x40f4ea,_0x5c41a0-_0x32a292['from']);return Decoration['replace']({'widget':new TabWidget((_0x40f4ea-_0x267226%_0x40f4ea)*this['view']['defaultCharacterWidth']/this['view']['scaleX'])});}return this['decorationCache'][_0x100084]||(this['decorationCache'][_0x100084]=Decoration['replace']({'widget':new SpecialCharWidget(_0x2fc17b,_0x100084)}));},'boundary':_0x2fc17b['replaceTabs']?void 0x0:/[^]/});}['update'](_0x22c316){let _0x176fd4=_0x22c316['state']['facet'](_0x5c3790);_0x22c316['startState']['facet'](_0x5c3790)!=_0x176fd4?(this['decorator']=this['makeDecorator'](_0x176fd4),this['decorations']=this['decorator']['createDeco'](_0x22c316['view'])):this['decorations']=this['decorator']['updateDeco'](_0x22c316,this['decorations']);}},{'decorations':_0x3ad0e5=>_0x3ad0e5['decorations']}));}const DefaultPlaceholder='•';function _0x5b487a(_0x4a9bfb){return _0x4a9bfb>=0x20?DefaultPlaceholder:0xa==_0x4a9bfb?'␤':String['fromCharCode'](0x2400+_0x4a9bfb);}class SpecialCharWidget extends WidgetType{constructor(_0x4ac0cb,_0x3d17cc){super(),this['options']=_0x4ac0cb,this['code']=_0x3d17cc;}['eq'](_0x22115d){return _0x22115d['code']==this['code'];}['toDOM'](_0x1995a1){let _0xe0189=_0x5b487a(this['code']),_0x1d5d1e=_0x1995a1['state']['phrase']('Control\x20character')+'\x20'+(_0x582241[this['code']]||'0x'+this['code']['toString'](0x10)),_0x3ce58d=this['options']['render']&&this['options']['render'](this['code'],_0x1d5d1e,_0xe0189);if(_0x3ce58d)return _0x3ce58d;let _0x3aa408=document['createElement']('span');return _0x3aa408['textContent']=_0xe0189,_0x3aa408['title']=_0x1d5d1e,_0x3aa408['setAttribute']('aria-label',_0x1d5d1e),_0x3aa408['className']='cm-specialChar',_0x3aa408;}['ignoreEvent'](){return!0x1;}}class TabWidget extends WidgetType{constructor(_0x2609dc){super(),this['width']=_0x2609dc;}['eq'](_0x38da86){return _0x38da86['width']==this['width'];}['toDOM'](){let _0x5563e4=document['createElement']('span');return _0x5563e4['textContent']='\x09',_0x5563e4['className']='cm-tab',_0x5563e4['style']['width']=this['width']+'px',_0x5563e4;}['ignoreEvent'](){return!0x1;}}function highlightActiveLine(){return activeLineHighlighter;}const _0x6c9298=Decoration['line']({'class':'cm-activeLine'}),activeLineHighlighter=_0x1d7143['fromClass'](class{constructor(_0x2abdb9){this['decorations']=this['getDeco'](_0x2abdb9);}['update'](_0x5be5da){(_0x5be5da['docChanged']||_0x5be5da['selectionSet'])&&(this['decorations']=this['getDeco'](_0x5be5da['view']));}['getDeco'](_0x2e9d30){let _0x230d78=-0x1,_0x47046e=[];for(let _0x2b41bf of _0x2e9d30['state']['selection']['ranges']){let _0x5f026b=_0x2e9d30['lineBlockAt'](_0x2b41bf['head']);_0x5f026b['from']>_0x230d78&&(_0x47046e['push'](_0x6c9298['range'](_0x5f026b['from'])),_0x230d78=_0x5f026b['from']);}return Decoration['set'](_0x47046e);}},{'decorations':_0x2d5b55=>_0x2d5b55['decorations']}),_0x4fe084=0x7d0;function rectangleFor(_0x235ae,_0xc75393,_0x272ff4){let _0x27c367=Math['min'](_0xc75393['line'],_0x272ff4['line']),_0x51a31b=Math['max'](_0xc75393['line'],_0x272ff4['line']),_0x19aad9=[];if(_0xc75393['off']>_0x4fe084||_0x272ff4['off']>_0x4fe084||_0xc75393['col']<0x0||_0x272ff4['col']<0x0){let _0x204646=Math['min'](_0xc75393['off'],_0x272ff4['off']),_0x4e768b=Math['max'](_0xc75393['off'],_0x272ff4['off']);for(let _0xd2423a=_0x27c367;_0xd2423a<=_0x51a31b;_0xd2423a++){let _0x3c2e98=_0x235ae['doc']['line'](_0xd2423a);_0x3c2e98['length']<=_0x4e768b&&_0x19aad9['push'](EditorSelection['range'](_0x3c2e98['from']+_0x204646,_0x3c2e98['to']+_0x4e768b));}}else{let _0x44b28a=Math['min'](_0xc75393['col'],_0x272ff4['col']),_0x388d52=Math['max'](_0xc75393['col'],_0x272ff4['col']);for(let _0x1f2d53=_0x27c367;_0x1f2d53<=_0x51a31b;_0x1f2d53++){let _0xc1bdd1=_0x235ae['doc']['line'](_0x1f2d53),_0x211c19=_0x22def6(_0xc1bdd1['text'],_0x44b28a,_0x235ae['tabSize'],!0x0);if(_0x211c19<0x0)_0x19aad9['push'](EditorSelection['cursor'](_0xc1bdd1['to']));else{let _0x1f1d97=_0x22def6(_0xc1bdd1['text'],_0x388d52,_0x235ae['tabSize']);_0x19aad9['push'](EditorSelection['range'](_0xc1bdd1['from']+_0x211c19,_0xc1bdd1['from']+_0x1f1d97));}}}return _0x19aad9;}function absoluteColumn(_0x4732d0,_0x66a548){let _0x43262e=_0x4732d0['coordsAtPos'](_0x4732d0['viewport']['from']);return _0x43262e?Math['round'](Math['abs']((_0x43262e['left']-_0x66a548)/_0x4732d0['defaultCharacterWidth'])):-0x1;}function getPos(_0x8fffb,_0x2cf918){let _0x44242d=_0x8fffb['posAtCoords']({'x':_0x2cf918['clientX'],'y':_0x2cf918['clientY']},!0x1),_0x2f18bd=_0x8fffb['state']['doc']['lineAt'](_0x44242d),_0x47e59c=_0x44242d-_0x2f18bd['from'],_0x591fbd=_0x47e59c>_0x4fe084?-0x1:_0x47e59c==_0x2f18bd['length']?absoluteColumn(_0x8fffb,_0x2cf918['clientX']):countColumn(_0x2f18bd['text'],_0x8fffb['state']['tabSize'],_0x44242d-_0x2f18bd['from']);return{'line':_0x2f18bd['number'],'col':_0x591fbd,'off':_0x47e59c};}function rectangleSelectionStyle(_0x14a38a,_0x9df2e0){let _0xe47cb0=getPos(_0x14a38a,_0x9df2e0),_0x263bb7=_0x14a38a['state']['selection'];return _0xe47cb0?{'update'(_0xcf6582){if(_0xcf6582['docChanged']){let _0x1f5cf6=_0xcf6582['changes']['mapPos'](_0xcf6582['startState']['doc']['line'](_0xe47cb0['line'])['from']),_0xe37d48=_0xcf6582['state']['doc']['lineAt'](_0x1f5cf6);_0xe47cb0={'line':_0xe37d48['number'],'col':_0xe47cb0['col'],'off':Math['min'](_0xe47cb0['off'],_0xe37d48['length'])},_0x263bb7=_0x263bb7['map'](_0xcf6582['changes']);}},'get'(_0x98138,_0x45d2aa,_0x4e42de){let _0x3e8e95=getPos(_0x14a38a,_0x98138);if(!_0x3e8e95)return _0x263bb7;let _0x35fd2b=rectangleFor(_0x14a38a['state'],_0xe47cb0,_0x3e8e95);return _0x35fd2b['length']?_0x4e42de?EditorSelection['create'](_0x35fd2b['concat'](_0x263bb7['ranges'])):EditorSelection['create'](_0x35fd2b):_0x263bb7;}}:null;}function rectangularSelection(_0x22af94){return EditorView['mouseSelectionStyle']['of']((_0x401944,_0x1b4942)=>{return(_0xa79980=_0x1b4942)['altKey']&&0x0==_0xa79980['button']?rectangleSelectionStyle(_0x401944,_0x1b4942):null;var _0xa79980;});}const _0xd4d8f9={'Alt':[0x12,_0x3bd269=>!!_0x3bd269['altKey']],'Control':[0x11,_0x3024d5=>!!_0x3024d5['ctrlKey']],'Shift':[0x10,_0x3d4532=>!!_0x3d4532['shiftKey']],'Meta':[0x5b,_0xac4534=>!!_0xac4534['metaKey']]},_0x5e77ff={'style':'cursor:\x20crosshair'};function _0x2b8518(_0x398c76={}){let [_0x27c2c6,_0x13f0b6]=_0xd4d8f9[_0x398c76['key']||'Alt'],_0x2be15d=_0x1d7143['fromClass'](class{constructor(_0x4ac9ab){this['view']=_0x4ac9ab,this['isDown']=!0x1;}['set'](_0x1dac8e){this['isDown']!=_0x1dac8e&&(this['isDown']=_0x1dac8e,this['view']['update']([]));}},{'eventObservers':{'keydown'(_0x3989ba){this['set'](_0x3989ba['keyCode']==_0x27c2c6||_0x13f0b6(_0x3989ba));},'keyup'(_0x84c7f2){_0x84c7f2['keyCode']!=_0x27c2c6&&_0x13f0b6(_0x84c7f2)||this['set'](!0x1);},'mousemove'(_0x10c01c){this['set'](_0x13f0b6(_0x10c01c));}}});return[_0x2be15d,EditorView['contentAttributes']['of'](_0x19ad6c=>{var _0x14e88a;return(null===(_0x14e88a=_0x19ad6c['plugin'](_0x2be15d))||void 0x0===_0x14e88a?void 0x0:_0x14e88a['isDown'])?_0x5e77ff:null;})];}const Outside='-10000px';class TooltipViewManager{constructor(_0x19813f,_0x442a28,_0x288a9b,_0x3e5f85){this['facet']=_0x442a28,this['createTooltipView']=_0x288a9b,this['removeTooltipView']=_0x3e5f85,this['input']=_0x19813f['state']['facet'](_0x442a28),this['tooltips']=this['input']['filter'](t=>t);let _0x5a6cc0=null;this['tooltipViews']=this['tooltips']['map'](t=>_0x5a6cc0=_0x288a9b(t,_0x5a6cc0));}['update'](_0x3c4aaf,_0x1fb0a3){var _0x7e3724;let _0x21f2e3=_0x3c4aaf['state']['facet'](this['facet']),_0x2fb63d=_0x21f2e3['filter'](_0x28bbb4=>_0x28bbb4);if(_0x21f2e3===this['input']){for(let t of this['tooltipViews'])t['update']&&t['update'](_0x3c4aaf);return!0x1;}let _0x418ab2=[],_0x4b7cd2=_0x1fb0a3?[]:null;for(let _0x2cf57c=0x0;_0x2cf57c<_0x2fb63d['length'];_0x2cf57c++){let _0x5ac516=_0x2fb63d[_0x2cf57c],_0x4b8cdf=-0x1;if(_0x5ac516){for(let _0x34220a=0x0;_0x34220a<this['tooltips']['length'];_0x34220a++){let _0x2414d1=this['tooltips'][_0x34220a];_0x2414d1&&_0x2414d1['create']==_0x5ac516['create']&&(_0x4b8cdf=_0x34220a);}if(_0x4b8cdf<0x0)_0x418ab2[_0x2cf57c]=this['createTooltipView'](_0x5ac516,_0x2cf57c?_0x418ab2[_0x2cf57c-0x1]:null),_0x4b7cd2&&(_0x4b7cd2[_0x2cf57c]=!!_0x5ac516['above']);else{let _0x3bdd39=_0x418ab2[_0x2cf57c]=this['tooltipViews'][_0x4b8cdf];_0x4b7cd2&&(_0x4b7cd2[_0x2cf57c]=_0x1fb0a3[_0x4b8cdf]),_0x3bdd39['update']&&_0x3bdd39['update'](_0x3c4aaf);}}}for(let t of this['tooltipViews'])_0x418ab2['indexOf'](t)<0x0&&(this['removeTooltipView'](t),null===(_0x7e3724=t['destroy'])||void 0x0===_0x7e3724||_0x7e3724['call'](t));return _0x1fb0a3&&(_0x4b7cd2['forEach']((_0x6c98a2,_0x2b02a7)=>_0x1fb0a3[_0x2b02a7]=_0x6c98a2),_0x1fb0a3['length']=_0x4b7cd2['length']),this['input']=_0x21f2e3,this['tooltips']=_0x2fb63d,this['tooltipViews']=_0x418ab2,!0x0;}}function _0x2efcfd(_0x5cb965){let _0x34f23e=_0x5cb965['dom']['ownerDocument']['documentElement'];return{'top':0x0,'left':0x0,'bottom':_0x34f23e['clientHeight'],'right':_0x34f23e['clientWidth']};}const tooltipConfig=Facet['define']({'combine':_0x447fb6=>{var _0x5d2852,_0x3209af,_0x46807b;return{'position':_0x28109e['ios']?'absolute':(null===(_0x5d2852=_0x447fb6['find'](_0x1145df=>_0x1145df['position']))||void 0x0===_0x5d2852?void 0x0:_0x5d2852['position'])||'fixed','parent':(null===(_0x3209af=_0x447fb6['find'](_0x5ca022=>_0x5ca022['parent']))||void 0x0===_0x3209af?void 0x0:_0x3209af['parent'])||null,'tooltipSpace':(null===(_0x46807b=_0x447fb6['find'](_0x209388=>_0x209388['tooltipSpace']))||void 0x0===_0x46807b?void 0x0:_0x46807b['tooltipSpace'])||_0x2efcfd};}}),knownHeight=new WeakMap(),tooltipPlugin=_0x1d7143['fromClass'](class{constructor(_0x56e4a3){this['view']=_0x56e4a3,this['above']=[],this['inView']=!0x0,this['madeAbsolute']=!0x1,this['lastTransaction']=0x0,this['measureTimeout']=-0x1;let _0x5b495b=_0x56e4a3['state']['facet'](tooltipConfig);this['position']=_0x5b495b['position'],this['parent']=_0x5b495b['parent'],this['classes']=_0x56e4a3['themeClasses'],this['createContainer'](),this['measureReq']={'read':this['readMeasure']['bind'](this),'write':this['writeMeasure']['bind'](this),'key':this},this['resizeObserver']='function'==typeof ResizeObserver?new ResizeObserver(()=>this['measureSoon']()):null,this['manager']=new TooltipViewManager(_0x56e4a3,showTooltip,(t,_0x277a77)=>this['createTooltip'](t,_0x277a77),t=>{this['resizeObserver']&&this['resizeObserver']['unobserve'](t['dom']),t['dom']['remove']();}),this['above']=this['manager']['tooltips']['map'](t=>!!t['above']),this['intersectionObserver']='function'==typeof IntersectionObserver?new IntersectionObserver(_0x5698cb=>{Date['now']()>this['lastTransaction']-0x32&&_0x5698cb['length']>0x0&&_0x5698cb[_0x5698cb['length']-0x1]['intersectionRatio']<0x1&&this['measureSoon']();},{'threshold':[0x1]}):null,this['observeIntersection'](),_0x56e4a3['win']['addEventListener']('resize',this['measureSoon']=this['measureSoon']['bind'](this)),this['maybeMeasure']();}['createContainer'](){this['parent']?(this['container']=document['createElement']('div'),this['container']['style']['position']='relative',this['container']['className']=this['view']['themeClasses'],this['parent']['appendChild'](this['container'])):this['container']=this['view']['dom'];}['observeIntersection'](){if(this['intersectionObserver']){this['intersectionObserver']['disconnect']();for(let _0x356c1d of this['manager']['tooltipViews'])this['intersectionObserver']['observe'](_0x356c1d['dom']);}}['measureSoon'](){this['measureTimeout']<0x0&&(this['measureTimeout']=setTimeout(()=>{this['measureTimeout']=-0x1,this['maybeMeasure']();},0x32));}['update'](_0x233fa5){_0x233fa5['transactions']['length']&&(this['lastTransaction']=Date['now']());let _0x5d29df=this['manager']['update'](_0x233fa5,this['above']);_0x5d29df&&this['observeIntersection']();let _0x25a28f=_0x5d29df||_0x233fa5['geometryChanged'],_0x2427da=_0x233fa5['state']['facet'](tooltipConfig);if(_0x2427da['position']!=this['position']&&!this['madeAbsolute']){this['position']=_0x2427da['position'];for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']=this['position'];_0x25a28f=!0x0;}if(_0x2427da['parent']!=this['parent']){this['parent']&&this['container']['remove'](),this['parent']=_0x2427da['parent'],this['createContainer']();for(let t of this['manager']['tooltipViews'])this['container']['appendChild'](t['dom']);_0x25a28f=!0x0;}else this['parent']&&this['view']['themeClasses']!=this['classes']&&(this['classes']=this['container']['className']=this['view']['themeClasses']);_0x25a28f&&this['maybeMeasure']();}['createTooltip'](_0x4d89fc,_0x581772){let _0x194b50=_0x4d89fc['create'](this['view']),_0x10e98a=_0x581772?_0x581772['dom']:null;if(_0x194b50['dom']['classList']['add']('cm-tooltip'),_0x4d89fc['arrow']&&!_0x194b50['dom']['querySelector']('.cm-tooltip\x20>\x20.cm-tooltip-arrow')){let _0x2970e8=document['createElement']('div');_0x2970e8['className']='cm-tooltip-arrow',_0x194b50['dom']['appendChild'](_0x2970e8);}return _0x194b50['dom']['style']['position']=this['position'],_0x194b50['dom']['style']['top']=Outside,_0x194b50['dom']['style']['left']='0px',this['container']['insertBefore'](_0x194b50['dom'],_0x10e98a),_0x194b50['mount']&&_0x194b50['mount'](this['view']),this['resizeObserver']&&this['resizeObserver']['observe'](_0x194b50['dom']),_0x194b50;}['destroy'](){var _0x862c8e,_0x29fc75,_0x449a89;this['view']['win']['removeEventListener']('resize',this['measureSoon']);for(let _0x4f8996 of this['manager']['tooltipViews'])_0x4f8996['dom']['remove'](),null===(_0x862c8e=_0x4f8996['destroy'])||void 0x0===_0x862c8e||_0x862c8e['call'](_0x4f8996);this['parent']&&this['container']['remove'](),null===(_0x29fc75=this['resizeObserver'])||void 0x0===_0x29fc75||_0x29fc75['disconnect'](),null===(_0x449a89=this['intersectionObserver'])||void 0x0===_0x449a89||_0x449a89['disconnect'](),clearTimeout(this['measureTimeout']);}['readMeasure'](){let _0x470bf8=0x1,_0x52791f=0x1,_0x42772b=!0x1;if('fixed'==this['position']&&this['manager']['tooltipViews']['length']){let {dom:_0x454ccd}=this['manager']['tooltipViews'][0x0];if(_0x28109e['gecko'])_0x42772b=_0x454ccd['offsetParent']!=this['container']['ownerDocument']['body'];else{if(_0x454ccd['style']['top']==Outside&&'0px'==_0x454ccd['style']['left']){let _0x48097a=_0x454ccd['getBoundingClientRect']();_0x42772b=Math['abs'](_0x48097a['top']+0x2710)>0x1||Math['abs'](_0x48097a['left'])>0x1;}}}if(_0x42772b||'absolute'==this['position']){if(this['parent']){let _0x2d8aa8=this['parent']['getBoundingClientRect']();_0x2d8aa8['width']&&_0x2d8aa8['height']&&(_0x470bf8=_0x2d8aa8['width']/this['parent']['offsetWidth'],_0x52791f=_0x2d8aa8['height']/this['parent']['offsetHeight']);}else({scaleX:_0x470bf8,scaleY:_0x52791f}=this['view']['viewState']);}let _0x48c7c3=this['view']['scrollDOM']['getBoundingClientRect'](),_0x370cf2=getScrollMargins(this['view']);return{'visible':{'left':_0x48c7c3['left']+_0x370cf2['left'],'top':_0x48c7c3['top']+_0x370cf2['top'],'right':_0x48c7c3['right']-_0x370cf2['right'],'bottom':_0x48c7c3['bottom']-_0x370cf2['bottom']},'parent':this['parent']?this['container']['getBoundingClientRect']():this['view']['dom']['getBoundingClientRect'](),'pos':this['manager']['tooltips']['map']((t,_0x36be65)=>{let _0x411659=this['manager']['tooltipViews'][_0x36be65];return _0x411659['getCoords']?_0x411659['getCoords'](t['pos']):this['view']['coordsAtPos'](t['pos']);}),'size':this['manager']['tooltipViews']['map'](({dom:_0x3e95d8})=>_0x3e95d8['getBoundingClientRect']()),'space':this['view']['state']['facet'](tooltipConfig)['tooltipSpace'](this['view']),'scaleX':_0x470bf8,'scaleY':_0x52791f,'makeAbsolute':_0x42772b};}['writeMeasure'](_0x5a424f){var _0x17e0f5;if(_0x5a424f['makeAbsolute']){this['madeAbsolute']=!0x0,this['position']='absolute';for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']='absolute';}let {visible:_0x15f9b3,space:_0x480b53,scaleX:_0x532a94,scaleY:_0x55078c}=_0x5a424f,_0x4e1027=[];for(let _0x1ba593=0x0;_0x1ba593<this['manager']['tooltips']['length'];_0x1ba593++){let _0x57d8a8=this['manager']['tooltips'][_0x1ba593],_0xa8c2b0=this['manager']['tooltipViews'][_0x1ba593],{dom:_0x4b2c22}=_0xa8c2b0,_0x38f5e7=_0x5a424f['pos'][_0x1ba593],_0x317e2e=_0x5a424f['size'][_0x1ba593];if(!_0x38f5e7||!0x1!==_0x57d8a8['clip']&&(_0x38f5e7['bottom']<=Math['max'](_0x15f9b3['top'],_0x480b53['top'])||_0x38f5e7['top']>=Math['min'](_0x15f9b3['bottom'],_0x480b53['bottom'])||_0x38f5e7['right']<Math['max'](_0x15f9b3['left'],_0x480b53['left'])-0.1||_0x38f5e7['left']>Math['min'](_0x15f9b3['right'],_0x480b53['right'])+0.1)){_0x4b2c22['style']['top']=Outside;continue;}let _0x579faa=_0x57d8a8['arrow']?_0xa8c2b0['dom']['querySelector']('.cm-tooltip-arrow'):null,_0x22cf82=_0x579faa?0x7:0x0,_0x4d0f29=_0x317e2e['right']-_0x317e2e['left'],_0xbee974=null!==(_0x17e0f5=knownHeight['get'](_0xa8c2b0))&&void 0x0!==_0x17e0f5?_0x17e0f5:_0x317e2e['bottom']-_0x317e2e['top'],_0x37b8a9=_0xa8c2b0['offset']||noOffset,_0x1fd7d2=this['view']['textDirection']==Direction['LTR'],_0x480469=_0x317e2e['width']>_0x480b53['right']-_0x480b53['left']?_0x1fd7d2?_0x480b53['left']:_0x480b53['right']-_0x317e2e['width']:_0x1fd7d2?Math['max'](_0x480b53['left'],Math['min'](_0x38f5e7['left']-(_0x579faa?0xe:0x0)+_0x37b8a9['x'],_0x480b53['right']-_0x4d0f29)):Math['min'](Math['max'](_0x480b53['left'],_0x38f5e7['left']-_0x4d0f29+(_0x579faa?0xe:0x0)-_0x37b8a9['x']),_0x480b53['right']-_0x4d0f29),_0x20ec0e=this['above'][_0x1ba593];!_0x57d8a8['strictSide']&&(_0x20ec0e?_0x38f5e7['top']-_0xbee974-_0x22cf82-_0x37b8a9['y']<_0x480b53['top']:_0x38f5e7['bottom']+_0xbee974+_0x22cf82+_0x37b8a9['y']>_0x480b53['bottom'])&&_0x20ec0e==_0x480b53['bottom']-_0x38f5e7['bottom']>_0x38f5e7['top']-_0x480b53['top']&&(_0x20ec0e=this['above'][_0x1ba593]=!_0x20ec0e);let _0xfeb9f2=(_0x20ec0e?_0x38f5e7['top']-_0x480b53['top']:_0x480b53['bottom']-_0x38f5e7['bottom'])-_0x22cf82;if(_0xfeb9f2<_0xbee974&&!0x1!==_0xa8c2b0['resize']){if(_0xfeb9f2<this['view']['defaultLineHeight']){_0x4b2c22['style']['top']=Outside;continue;}knownHeight['set'](_0xa8c2b0,_0xbee974),_0x4b2c22['style']['height']=(_0xbee974=_0xfeb9f2)/_0x55078c+'px';}else _0x4b2c22['style']['height']&&(_0x4b2c22['style']['height']='');let _0x278636=_0x20ec0e?_0x38f5e7['top']-_0xbee974-_0x22cf82-_0x37b8a9['y']:_0x38f5e7['bottom']+_0x22cf82+_0x37b8a9['y'],_0x2683f1=_0x480469+_0x4d0f29;if(!0x0!==_0xa8c2b0['overlap']){for(let _0x1cad88 of _0x4e1027)_0x1cad88['left']<_0x2683f1&&_0x1cad88['right']>_0x480469&&_0x1cad88['top']<_0x278636+_0xbee974&&_0x1cad88['bottom']>_0x278636&&(_0x278636=_0x20ec0e?_0x1cad88['top']-_0xbee974-0x2-_0x22cf82:_0x1cad88['bottom']+_0x22cf82+0x2);}if('absolute'==this['position']?(_0x4b2c22['style']['top']=(_0x278636-_0x5a424f['parent']['top'])/_0x55078c+'px',setLeftStyle(_0x4b2c22,(_0x480469-_0x5a424f['parent']['left'])/_0x532a94)):(_0x4b2c22['style']['top']=_0x278636/_0x55078c+'px',setLeftStyle(_0x4b2c22,_0x480469/_0x532a94)),_0x579faa){let _0x5dfe94=_0x38f5e7['left']+(_0x1fd7d2?_0x37b8a9['x']:-_0x37b8a9['x'])-(_0x480469+0xe-0x7);_0x579faa['style']['left']=_0x5dfe94/_0x532a94+'px';}!0x0!==_0xa8c2b0['overlap']&&_0x4e1027['push']({'left':_0x480469,'top':_0x278636,'right':_0x2683f1,'bottom':_0x278636+_0xbee974}),_0x4b2c22['classList']['toggle']('cm-tooltip-above',_0x20ec0e),_0x4b2c22['classList']['toggle']('cm-tooltip-below',!_0x20ec0e),_0xa8c2b0['positioned']&&_0xa8c2b0['positioned'](_0x5a424f['space']);}}['maybeMeasure'](){if(this['manager']['tooltips']['length']&&(this['view']['inView']&&this['view']['requestMeasure'](this['measureReq']),this['inView']!=this['view']['inView']&&(this['inView']=this['view']['inView'],!this['inView']))){for(let _0x580029 of this['manager']['tooltipViews'])_0x580029['dom']['style']['top']=Outside;}}},{'eventObservers':{'scroll'(){this['maybeMeasure']();}}});function setLeftStyle(_0x1a46e2,_0x1bffff){let _0x24d28b=parseInt(_0x1a46e2['style']['left'],0xa);(isNaN(_0x24d28b)||Math['abs'](_0x1bffff-_0x24d28b)>0x1)&&(_0x1a46e2['style']['left']=_0x1bffff+'px');}const _0x27aaab=EditorView['baseTheme']({'.cm-tooltip':{'zIndex':0x1f4,'boxSizing':'border-box'},'&light\x20.cm-tooltip':{'border':'1px\x20solid\x20#bbb','backgroundColor':'#f5f5f5'},'&light\x20.cm-tooltip-section:not(:first-child)':{'borderTop':'1px\x20solid\x20#bbb'},'&dark\x20.cm-tooltip':{'backgroundColor':'#333338','color':'white'},'.cm-tooltip-arrow':{'height':'7px','width':'14px','position':'absolute','zIndex':-0x1,'overflow':'hidden','&:before,\x20&:after':{'content':'\x27\x27','position':'absolute','width':0x0,'height':0x0,'borderLeft':'7px\x20solid\x20transparent','borderRight':'7px\x20solid\x20transparent'},'.cm-tooltip-above\x20&':{'bottom':'-7px','&:before':{'borderTop':'7px\x20solid\x20#bbb'},'&:after':{'borderTop':'7px\x20solid\x20#f5f5f5','bottom':'1px'}},'.cm-tooltip-below\x20&':{'top':'-7px','&:before':{'borderBottom':'7px\x20solid\x20#bbb'},'&:after':{'borderBottom':'7px\x20solid\x20#f5f5f5','top':'1px'}}},'&dark\x20.cm-tooltip\x20.cm-tooltip-arrow':{'&:before':{'borderTopColor':'#333338','borderBottomColor':'#333338'},'&:after':{'borderTopColor':'transparent','borderBottomColor':'transparent'}}}),noOffset={'x':0x0,'y':0x0},showTooltip=Facet['define']({'enables':[tooltipPlugin,_0x27aaab]});function getTooltip(_0x14a9ce,_0x53bc83){let _0xe815e5=_0x14a9ce['plugin'](tooltipPlugin);if(!_0xe815e5)return null;let _0x3c6429=_0xe815e5['manager']['tooltips']['indexOf'](_0x53bc83);return _0x3c6429<0x0?null:_0xe815e5['manager']['tooltipViews'][_0x3c6429];}class GutterMarker extends _0x4dfe15{['compare'](_0x436062){return this==_0x436062||this['constructor']==_0x436062['constructor']&&this['eq'](_0x436062);}['eq'](_0x490dee){return!0x1;}['destroy'](_0x14e4dd){}}GutterMarker['prototype']['elementClass']='',GutterMarker['prototype']['toDOM']=void 0x0,GutterMarker['prototype']['mapMode']=_0x38e9e1['TrackBefore'],GutterMarker['prototype']['startSide']=GutterMarker['prototype']['endSide']=-0x1,GutterMarker['prototype']['point']=!0x0;const gutterLineClass=Facet['define'](),gutterWidgetClass=Facet['define'](),defaults$1={'class':'','renderEmptyElements':!0x1,'elementStyle':'','markers':()=>RangeSet['empty'],'lineMarker':()=>null,'widgetMarker':()=>null,'lineMarkerChange':null,'initialSpacer':null,'updateSpacer':null,'domEventHandlers':{},'side':'before'},activeGutters=Facet['define']();function gutter(_0x2e817f){return[gutters(),activeGutters['of']({...defaults$1,..._0x2e817f})];}const unfixGutters=Facet['define']({'combine':_0x5920d0=>_0x5920d0['some'](_0x3f1933=>_0x3f1933)});function gutters(_0x449200){return[gutterView];}const gutterView=_0x1d7143['fromClass'](class{constructor(_0x290355){this['view']=_0x290355,this['domAfter']=null,this['prevViewport']=_0x290355['viewport'],this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutters\x20cm-gutters-before',this['dom']['setAttribute']('aria-hidden','true'),this['dom']['style']['minHeight']=this['view']['contentHeight']/this['view']['scaleY']+'px',this['gutters']=_0x290355['state']['facet'](activeGutters)['map'](_0x3e86d1=>new SingleGutterView(_0x290355,_0x3e86d1)),this['fixed']=!_0x290355['state']['facet'](unfixGutters);for(let _0x2b9db9 of this['gutters'])'after'==_0x2b9db9['config']['side']?this['getDOMAfter']()['appendChild'](_0x2b9db9['dom']):this['dom']['appendChild'](_0x2b9db9['dom']);this['fixed']&&(this['dom']['style']['position']='sticky'),this['syncGutters'](!0x1),_0x290355['scrollDOM']['insertBefore'](this['dom'],_0x290355['contentDOM']);}['getDOMAfter'](){return this['domAfter']||(this['domAfter']=document['createElement']('div'),this['domAfter']['className']='cm-gutters\x20cm-gutters-after',this['domAfter']['setAttribute']('aria-hidden','true'),this['domAfter']['style']['minHeight']=this['view']['contentHeight']/this['view']['scaleY']+'px',this['domAfter']['style']['position']=this['fixed']?'sticky':'',this['view']['scrollDOM']['appendChild'](this['domAfter'])),this['domAfter'];}['update'](_0x5cab9b){if(this['updateGutters'](_0x5cab9b)){let _0x1ac012=this['prevViewport'],_0x30ab82=_0x5cab9b['view']['viewport'],_0x50e744=Math['min'](_0x1ac012['to'],_0x30ab82['to'])-Math['max'](_0x1ac012['from'],_0x30ab82['from']);this['syncGutters'](_0x50e744<0.8*(_0x30ab82['to']-_0x30ab82['from']));}if(_0x5cab9b['geometryChanged']){let _0x34d5b5=this['view']['contentHeight']/this['view']['scaleY']+'px';this['dom']['style']['minHeight']=_0x34d5b5,this['domAfter']&&(this['domAfter']['style']['minHeight']=_0x34d5b5);}this['view']['state']['facet'](unfixGutters)!=!this['fixed']&&(this['fixed']=!this['fixed'],this['dom']['style']['position']=this['fixed']?'sticky':'',this['domAfter']&&(this['domAfter']['style']['position']=this['fixed']?'sticky':'')),this['prevViewport']=_0x5cab9b['view']['viewport'];}['syncGutters'](_0x857e8c){let _0x5020a7=this['dom']['nextSibling'];_0x857e8c&&(this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']());let _0x195261=RangeSet['iter'](this['view']['state']['facet'](gutterLineClass),this['view']['viewport']['from']),_0x38eb54=[],_0x5d1d2c=this['gutters']['map'](_0x2e8658=>new UpdateContext(_0x2e8658,this['view']['viewport'],-this['view']['documentPadding']['top']));for(let _0x521086 of this['view']['viewportLineBlocks'])if(_0x38eb54['length']&&(_0x38eb54=[]),Array['isArray'](_0x521086['type'])){let _0x534683=!0x0;for(let _0x4b20b4 of _0x521086['type'])if(_0x4b20b4['type']==_0x8dd476['Text']&&_0x534683){_0x389d34(_0x195261,_0x38eb54,_0x4b20b4['from']);for(let _0x20b02b of _0x5d1d2c)_0x20b02b['line'](this['view'],_0x4b20b4,_0x38eb54);_0x534683=!0x1;}else{if(_0x4b20b4['widget']){for(let _0x4895a5 of _0x5d1d2c)_0x4895a5['widget'](this['view'],_0x4b20b4);}}}else{if(_0x521086['type']==_0x8dd476['Text']){_0x389d34(_0x195261,_0x38eb54,_0x521086['from']);for(let _0x4846c5 of _0x5d1d2c)_0x4846c5['line'](this['view'],_0x521086,_0x38eb54);}else{if(_0x521086['widget']){for(let _0x513849 of _0x5d1d2c)_0x513849['widget'](this['view'],_0x521086);}}}for(let _0x4bc4c1 of _0x5d1d2c)_0x4bc4c1['finish']();_0x857e8c&&(this['view']['scrollDOM']['insertBefore'](this['dom'],_0x5020a7),this['domAfter']&&this['view']['scrollDOM']['appendChild'](this['domAfter']));}['updateGutters'](_0x6fc52d){let _0x3ec6b8=_0x6fc52d['startState']['facet'](activeGutters),_0x35a6c2=_0x6fc52d['state']['facet'](activeGutters),_0x1c68ed=_0x6fc52d['docChanged']||_0x6fc52d['heightChanged']||_0x6fc52d['viewportChanged']||!RangeSet['eq'](_0x6fc52d['startState']['facet'](gutterLineClass),_0x6fc52d['state']['facet'](gutterLineClass),_0x6fc52d['view']['viewport']['from'],_0x6fc52d['view']['viewport']['to']);if(_0x3ec6b8==_0x35a6c2){for(let _0x1499ab of this['gutters'])_0x1499ab['update'](_0x6fc52d)&&(_0x1c68ed=!0x0);}else{_0x1c68ed=!0x0;let _0x254e7d=[];for(let _0x102f6e of _0x35a6c2){let _0x1b5e6f=_0x3ec6b8['indexOf'](_0x102f6e);_0x1b5e6f<0x0?_0x254e7d['push'](new SingleGutterView(this['view'],_0x102f6e)):(this['gutters'][_0x1b5e6f]['update'](_0x6fc52d),_0x254e7d['push'](this['gutters'][_0x1b5e6f]));}for(let _0x33bc6f of this['gutters'])_0x33bc6f['dom']['remove'](),_0x254e7d['indexOf'](_0x33bc6f)<0x0&&_0x33bc6f['destroy']();for(let _0x23c661 of _0x254e7d)'after'==_0x23c661['config']['side']?this['getDOMAfter']()['appendChild'](_0x23c661['dom']):this['dom']['appendChild'](_0x23c661['dom']);this['gutters']=_0x254e7d;}return _0x1c68ed;}['destroy'](){for(let _0x13829d of this['gutters'])_0x13829d['destroy']();this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']();}},{'provide':_0x16132b=>EditorView['scrollMargins']['of'](_0x4ee722=>{let _0x44bc06=_0x4ee722['plugin'](_0x16132b);if(!_0x44bc06||0x0==_0x44bc06['gutters']['length']||!_0x44bc06['fixed'])return null;let _0x4b3c14=_0x44bc06['dom']['offsetWidth']*_0x4ee722['scaleX'],_0x3a6e50=_0x44bc06['domAfter']?_0x44bc06['domAfter']['offsetWidth']*_0x4ee722['scaleX']:0x0;return _0x4ee722['textDirection']==Direction['LTR']?{'left':_0x4b3c14,'right':_0x3a6e50}:{'right':_0x4b3c14,'left':_0x3a6e50};})});function _0x1db215(_0x17e3b9){return Array['isArray'](_0x17e3b9)?_0x17e3b9:[_0x17e3b9];}function _0x389d34(_0x3f7363,_0x18c688,_0x45c209){for(;_0x3f7363['value']&&_0x3f7363['from']<=_0x45c209;)_0x3f7363['from']==_0x45c209&&_0x18c688['push'](_0x3f7363['value']),_0x3f7363['next']();}class UpdateContext{constructor(_0x35c06c,_0x25cedf,_0x1fa0f6){this['gutter']=_0x35c06c,this['height']=_0x1fa0f6,this['i']=0x0,this['cursor']=RangeSet['iter'](_0x35c06c['markers'],_0x25cedf['from']);}['addElement'](_0x50aafa,_0x1dfb9e,_0x2fb6e9){let {gutter:_0x19c76e}=this,_0x1b1fc6=(_0x1dfb9e['top']-this['height'])/_0x50aafa['scaleY'],_0x3901cf=_0x1dfb9e['height']/_0x50aafa['scaleY'];if(this['i']==_0x19c76e['elements']['length']){let _0x2f976b=new GutterElement(_0x50aafa,_0x3901cf,_0x1b1fc6,_0x2fb6e9);_0x19c76e['elements']['push'](_0x2f976b),_0x19c76e['dom']['appendChild'](_0x2f976b['dom']);}else _0x19c76e['elements'][this['i']]['update'](_0x50aafa,_0x3901cf,_0x1b1fc6,_0x2fb6e9);this['height']=_0x1dfb9e['bottom'],this['i']++;}['line'](_0x5e1066,_0x73ee38,_0x53ef55){let _0x9138bd=[];_0x389d34(this['cursor'],_0x9138bd,_0x73ee38['from']),_0x53ef55['length']&&(_0x9138bd=_0x9138bd['concat'](_0x53ef55));let _0x549198=this['gutter']['config']['lineMarker'](_0x5e1066,_0x73ee38,_0x9138bd);_0x549198&&_0x9138bd['unshift'](_0x549198);let _0x4ac1ac=this['gutter'];(0x0!=_0x9138bd['length']||_0x4ac1ac['config']['renderEmptyElements'])&&this['addElement'](_0x5e1066,_0x73ee38,_0x9138bd);}['widget'](_0x531a6a,_0x3b54b6){let _0xb5f6b8=this['gutter']['config']['widgetMarker'](_0x531a6a,_0x3b54b6['widget'],_0x3b54b6),_0x44cfe9=_0xb5f6b8?[_0xb5f6b8]:null;for(let _0x327a1f of _0x531a6a['state']['facet'](gutterWidgetClass)){let _0x22ef6c=_0x327a1f(_0x531a6a,_0x3b54b6['widget'],_0x3b54b6);_0x22ef6c&&(_0x44cfe9||(_0x44cfe9=[]))['push'](_0x22ef6c);}_0x44cfe9&&this['addElement'](_0x531a6a,_0x3b54b6,_0x44cfe9);}['finish'](){let _0x1443f8=this['gutter'];for(;_0x1443f8['elements']['length']>this['i'];){let _0x1968bb=_0x1443f8['elements']['pop']();_0x1443f8['dom']['removeChild'](_0x1968bb['dom']),_0x1968bb['destroy']();}}}class SingleGutterView{constructor(_0x246223,_0x779fb9){this['view']=_0x246223,this['config']=_0x779fb9,this['elements']=[],this['spacer']=null,this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutter'+(this['config']['class']?'\x20'+this['config']['class']:'');for(let _0x5cd64b in _0x779fb9['domEventHandlers'])this['dom']['addEventListener'](_0x5cd64b,_0x5d8b16=>{let _0x2cb00d,_0x1a6324=_0x5d8b16['target'];if(_0x1a6324!=this['dom']&&this['dom']['contains'](_0x1a6324)){for(;_0x1a6324['parentNode']!=this['dom'];)_0x1a6324=_0x1a6324['parentNode'];let _0x2098e6=_0x1a6324['getBoundingClientRect']();_0x2cb00d=(_0x2098e6['top']+_0x2098e6['bottom'])/0x2;}else _0x2cb00d=_0x5d8b16['clientY'];let _0x77338f=_0x246223['lineBlockAtHeight'](_0x2cb00d-_0x246223['documentTop']);_0x779fb9['domEventHandlers'][_0x5cd64b](_0x246223,_0x77338f,_0x5d8b16)&&_0x5d8b16['preventDefault']();});this['markers']=_0x1db215(_0x779fb9['markers'](_0x246223)),_0x779fb9['initialSpacer']&&(this['spacer']=new GutterElement(_0x246223,0x0,0x0,[_0x779fb9['initialSpacer'](_0x246223)]),this['dom']['appendChild'](this['spacer']['dom']),this['spacer']['dom']['style']['cssText']+='visibility:\x20hidden;\x20pointer-events:\x20none');}['update'](_0x23f021){let _0x16d2b4=this['markers'];if(this['markers']=_0x1db215(this['config']['markers'](_0x23f021['view'])),this['spacer']&&this['config']['updateSpacer']){let _0xd21402=this['config']['updateSpacer'](this['spacer']['markers'][0x0],_0x23f021);_0xd21402!=this['spacer']['markers'][0x0]&&this['spacer']['update'](_0x23f021['view'],0x0,0x0,[_0xd21402]);}let _0x355469=_0x23f021['view']['viewport'];return!RangeSet['eq'](this['markers'],_0x16d2b4,_0x355469['from'],_0x355469['to'])||!!this['config']['lineMarkerChange']&&this['config']['lineMarkerChange'](_0x23f021);}['destroy'](){for(let _0x179bcb of this['elements'])_0x179bcb['destroy']();}}class GutterElement{constructor(_0x573751,_0x5bde61,_0x4297f0,_0x20a536){this['height']=-0x1,this['above']=0x0,this['markers']=[],this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutterElement',this['update'](_0x573751,_0x5bde61,_0x4297f0,_0x20a536);}['update'](_0x3fb506,_0x1ceae5,_0x2df625,_0x2c93dc){this['height']!=_0x1ceae5&&(this['height']=_0x1ceae5,this['dom']['style']['height']=_0x1ceae5+'px'),this['above']!=_0x2df625&&(this['dom']['style']['marginTop']=(this['above']=_0x2df625)?_0x2df625+'px':''),_0x2c5027(this['markers'],_0x2c93dc)||this['setMarkers'](_0x3fb506,_0x2c93dc);}['setMarkers'](_0x503526,_0x1b72c0){let _0x4caade='cm-gutterElement',_0x36ae40=this['dom']['firstChild'];for(let _0x3aad28=0x0,_0x3a0504=0x0;;){let _0xa9ceac=_0x3a0504,_0x1b88fc=_0x3aad28<_0x1b72c0['length']?_0x1b72c0[_0x3aad28++]:null,_0x338b55=!0x1;if(_0x1b88fc){let _0x4b4578=_0x1b88fc['elementClass'];_0x4b4578&&(_0x4caade+='\x20'+_0x4b4578);for(let _0x5aec44=_0x3a0504;_0x5aec44<this['markers']['length'];_0x5aec44++)if(this['markers'][_0x5aec44]['compare'](_0x1b88fc)){_0xa9ceac=_0x5aec44,_0x338b55=!0x0;break;}}else _0xa9ceac=this['markers']['length'];for(;_0x3a0504<_0xa9ceac;){let _0x44bcfa=this['markers'][_0x3a0504++];if(_0x44bcfa['toDOM']){_0x44bcfa['destroy'](_0x36ae40);let _0x300e66=_0x36ae40['nextSibling'];_0x36ae40['remove'](),_0x36ae40=_0x300e66;}}if(!_0x1b88fc)break;_0x1b88fc['toDOM']&&(_0x338b55?_0x36ae40=_0x36ae40['nextSibling']:this['dom']['insertBefore'](_0x1b88fc['toDOM'](_0x503526),_0x36ae40)),_0x338b55&&_0x3a0504++;}this['dom']['className']=_0x4caade,this['markers']=_0x1b72c0;}['destroy'](){this['setMarkers'](null,[]);}}function _0x2c5027(_0x15f8bb,_0x12c9d3){if(_0x15f8bb['length']!=_0x12c9d3['length'])return!0x1;for(let _0x4ec248=0x0;_0x4ec248<_0x15f8bb['length'];_0x4ec248++)if(!_0x15f8bb[_0x4ec248]['compare'](_0x12c9d3[_0x4ec248]))return!0x1;return!0x0;}const _0x27dfca=Facet['define'](),lineNumberWidgetMarker=Facet['define'](),_0x54d223=Facet['define']({'combine':_0x22b065=>_0x44c9ef(_0x22b065,{'formatNumber':String,'domEventHandlers':{}},{'domEventHandlers'(_0x25f255,_0x874869){let _0xb9ddac=Object['assign']({},_0x25f255);for(let _0x16ea99 in _0x874869){let _0x146c66=_0xb9ddac[_0x16ea99],_0x3cc55f=_0x874869[_0x16ea99];_0xb9ddac[_0x16ea99]=_0x146c66?(_0x3ac9c6,_0x37228c,_0x1d0305)=>_0x146c66(_0x3ac9c6,_0x37228c,_0x1d0305)||_0x3cc55f(_0x3ac9c6,_0x37228c,_0x1d0305):_0x3cc55f;}return _0xb9ddac;}})});class _0x3c4518 extends GutterMarker{constructor(_0x593ad7){super(),this['number']=_0x593ad7;}['eq'](_0x5a7b07){return this['number']==_0x5a7b07['number'];}['toDOM'](){return document['createTextNode'](this['number']);}}function formatNumber(_0x52b448,_0x162da3){return _0x52b448['state']['facet'](_0x54d223)['formatNumber'](_0x162da3,_0x52b448['state']);}const lineNumberGutter=activeGutters['compute']([_0x54d223],_0x7f0bd5=>({'class':'cm-lineNumbers','renderEmptyElements':!0x1,'markers':_0x24e385=>_0x24e385['state']['facet'](_0x27dfca),'lineMarker':(_0x356b4b,_0x22c6c3,_0x37a4d7)=>_0x37a4d7['some'](_0x3e6f57=>_0x3e6f57['toDOM'])?null:new _0x3c4518(formatNumber(_0x356b4b,_0x356b4b['state']['doc']['lineAt'](_0x22c6c3['from'])['number'])),'widgetMarker':(_0x3a6c5a,_0x47a046,_0x5aed5a)=>{for(let _0x500dfe of _0x3a6c5a['state']['facet'](lineNumberWidgetMarker)){let _0x41b717=_0x500dfe(_0x3a6c5a,_0x47a046,_0x5aed5a);if(_0x41b717)return _0x41b717;}return null;},'lineMarkerChange':_0x4a41d2=>_0x4a41d2['startState']['facet'](_0x54d223)!=_0x4a41d2['state']['facet'](_0x54d223),'initialSpacer':_0x23555e=>new _0x3c4518(formatNumber(_0x23555e,_0xf8aaa0(_0x23555e['state']['doc']['lines']))),'updateSpacer'(_0xc7947f,_0x266d38){let _0x3189aa=formatNumber(_0x266d38['view'],_0xf8aaa0(_0x266d38['view']['state']['doc']['lines']));return _0x3189aa==_0xc7947f['number']?_0xc7947f:new _0x3c4518(_0x3189aa);},'domEventHandlers':_0x7f0bd5['facet'](_0x54d223)['domEventHandlers'],'side':'before'}));function _0x389a91(_0x1bb064={}){return[_0x54d223['of'](_0x1bb064),gutters(),lineNumberGutter];}function _0xf8aaa0(_0x5d0438){let _0x3c689b=0x9;for(;_0x3c689b<_0x5d0438;)_0x3c689b=0xa*_0x3c689b+0x9;return _0x3c689b;}const activeLineGutterMarker=new class extends GutterMarker{constructor(){super(...arguments),this['elementClass']='cm-activeLineGutter';}}(),activeLineGutterHighlighter=gutterLineClass['compute'](['selection'],_0x24d0be=>{let _0x120901=[],_0x17e704=-0x1;for(let _0x358452 of _0x24d0be['selection']['ranges']){let _0x117610=_0x24d0be['doc']['lineAt'](_0x358452['head'])['from'];_0x117610>_0x17e704&&(_0x17e704=_0x117610,_0x120901['push'](activeLineGutterMarker['range'](_0x117610)));}return RangeSet['of'](_0x120901);});function highlightActiveLineGutter(){return activeLineGutterHighlighter;}const DefaultBufferLength=0x400;let nextPropID=0x0;class _0x19500d{constructor(_0x3c4cb9,_0x532af4){this['from']=_0x3c4cb9,this['to']=_0x532af4;}}class _0x258b5f{constructor(_0x2a131c={}){this['id']=nextPropID++,this['perNode']=!!_0x2a131c['perNode'],this['deserialize']=_0x2a131c['deserialize']||(()=>{throw new Error('This\x20node\x20type\x20doesn\x27t\x20define\x20a\x20deserialize\x20function');}),this['combine']=_0x2a131c['combine']||null;}['add'](_0x41e001){if(this['perNode'])throw new RangeError('Can\x27t\x20add\x20per-node\x20props\x20to\x20node\x20types');return'function'!=typeof _0x41e001&&(_0x41e001=_0x5a565d['match'](_0x41e001)),_0x40bf7b=>{let _0x2b3102=_0x41e001(_0x40bf7b);return void 0x0===_0x2b3102?null:[this,_0x2b3102];};}}_0x258b5f['closedBy']=new _0x258b5f({'deserialize':_0x4e348a=>_0x4e348a['split']('\x20')}),_0x258b5f['openedBy']=new _0x258b5f({'deserialize':_0x5b5806=>_0x5b5806['split']('\x20')}),_0x258b5f['group']=new _0x258b5f({'deserialize':_0xb2c200=>_0xb2c200['split']('\x20')}),_0x258b5f['isolate']=new _0x258b5f({'deserialize':_0x53354a=>{if(_0x53354a&&'rtl'!=_0x53354a&&'ltr'!=_0x53354a&&'auto'!=_0x53354a)throw new RangeError('Invalid\x20value\x20for\x20isolate:\x20'+_0x53354a);return _0x53354a||'auto';}}),_0x258b5f['contextHash']=new _0x258b5f({'perNode':!0x0}),_0x258b5f['lookAhead']=new _0x258b5f({'perNode':!0x0}),_0x258b5f['mounted']=new _0x258b5f({'perNode':!0x0});class MountedTree{constructor(_0x241cb1,_0x487415,_0x54a61d){this['tree']=_0x241cb1,this['overlay']=_0x487415,this['parser']=_0x54a61d;}static['get'](_0x164d69){return _0x164d69&&_0x164d69['props']&&_0x164d69['props'][_0x258b5f['mounted']['id']];}}const _0x1a519d=Object['create'](null);class _0x5a565d{constructor(_0x1c6247,_0x409fd3,_0x22e220,_0xc5f0d6=0x0){this['name']=_0x1c6247,this['props']=_0x409fd3,this['id']=_0x22e220,this['flags']=_0xc5f0d6;}static['define'](_0x109ac4){let _0x9bbc7d=_0x109ac4['props']&&_0x109ac4['props']['length']?Object['create'](null):_0x1a519d,_0x3dade4=(_0x109ac4['top']?0x1:0x0)|(_0x109ac4['skipped']?0x2:0x0)|(_0x109ac4['error']?0x4:0x0)|(null==_0x109ac4['name']?0x8:0x0),_0x33df3a=new _0x5a565d(_0x109ac4['name']||'',_0x9bbc7d,_0x109ac4['id'],_0x3dade4);if(_0x109ac4['props']){for(let _0x15db09 of _0x109ac4['props'])if(Array['isArray'](_0x15db09)||(_0x15db09=_0x15db09(_0x33df3a)),_0x15db09){if(_0x15db09[0x0]['perNode'])throw new RangeError('Can\x27t\x20store\x20a\x20per-node\x20prop\x20on\x20a\x20node\x20type');_0x9bbc7d[_0x15db09[0x0]['id']]=_0x15db09[0x1];}}return _0x33df3a;}['prop'](_0x5e859c){return this['props'][_0x5e859c['id']];}get['isTop'](){return(0x1&this['flags'])>0x0;}get['isSkipped'](){return(0x2&this['flags'])>0x0;}get['isError'](){return(0x4&this['flags'])>0x0;}get['isAnonymous'](){return(0x8&this['flags'])>0x0;}['is'](_0x2f9d64){if('string'==typeof _0x2f9d64){if(this['name']==_0x2f9d64)return!0x0;let _0x240ce8=this['prop'](_0x258b5f['group']);return!!_0x240ce8&&_0x240ce8['indexOf'](_0x2f9d64)>-0x1;}return this['id']==_0x2f9d64;}static['match'](_0x48a9dc){let _0x536ede=Object['create'](null);for(let _0x469b8b in _0x48a9dc)for(let _0x7e1127 of _0x469b8b['split']('\x20'))_0x536ede[_0x7e1127]=_0x48a9dc[_0x469b8b];return _0x496baa=>{for(let _0x4aa45f=_0x496baa['prop'](_0x258b5f['group']),_0xd50ec9=-0x1;_0xd50ec9<(_0x4aa45f?_0x4aa45f['length']:0x0);_0xd50ec9++){let _0x1dc152=_0x536ede[_0xd50ec9<0x0?_0x496baa['name']:_0x4aa45f[_0xd50ec9]];if(_0x1dc152)return _0x1dc152;}};}}_0x5a565d['none']=new _0x5a565d('',Object['create'](null),0x0,0x8);class NodeSet{constructor(_0x541b5b){this['types']=_0x541b5b;for(let _0x48fd59=0x0;_0x48fd59<_0x541b5b['length'];_0x48fd59++)if(_0x541b5b[_0x48fd59]['id']!=_0x48fd59)throw new RangeError('Node\x20type\x20ids\x20should\x20correspond\x20to\x20array\x20positions\x20when\x20creating\x20a\x20node\x20set');}['extend'](..._0x2e69af){let _0xda122f=[];for(let _0x4aeddd of this['types']){let _0x1b3634=null;for(let _0x347102 of _0x2e69af){let _0x5aee6c=_0x347102(_0x4aeddd);if(_0x5aee6c){_0x1b3634||(_0x1b3634=Object['assign']({},_0x4aeddd['props']));let _0x1ba7f8=_0x5aee6c[0x1],_0x252638=_0x5aee6c[0x0];_0x252638['combine']&&_0x252638['id']in _0x1b3634&&(_0x1ba7f8=_0x252638['combine'](_0x1b3634[_0x252638['id']],_0x1ba7f8)),_0x1b3634[_0x252638['id']]=_0x1ba7f8;}}_0xda122f['push'](_0x1b3634?new _0x5a565d(_0x4aeddd['name'],_0x1b3634,_0x4aeddd['id'],_0x4aeddd['flags']):_0x4aeddd);}return new NodeSet(_0xda122f);}}const _0x5af60c=new WeakMap(),_0x4f0f12=new WeakMap();var IterMode;!function(_0x316281){_0x316281[_0x316281['ExcludeBuffers']=0x1]='ExcludeBuffers',_0x316281[_0x316281['IncludeAnonymous']=0x2]='IncludeAnonymous',_0x316281[_0x316281['IgnoreMounts']=0x4]='IgnoreMounts',_0x316281[_0x316281['IgnoreOverlays']=0x8]='IgnoreOverlays';}(IterMode||(IterMode={}));class _0x2a3dd6{constructor(_0x616204,_0x407b63,_0x25f05b,_0x4d5db5,_0x37ffc7){if(this['type']=_0x616204,this['children']=_0x407b63,this['positions']=_0x25f05b,this['length']=_0x4d5db5,this['props']=null,_0x37ffc7&&_0x37ffc7['length']){this['props']=Object['create'](null);for(let [_0x293db2,_0x3daeea]of _0x37ffc7)this['props']['number'==typeof _0x293db2?_0x293db2:_0x293db2['id']]=_0x3daeea;}}['toString'](){let _0x158acc=MountedTree['get'](this);if(_0x158acc&&!_0x158acc['overlay'])return _0x158acc['tree']['toString']();let _0x1a9137='';for(let _0x2d0d83 of this['children']){let _0x3fa4c2=_0x2d0d83['toString']();_0x3fa4c2&&(_0x1a9137&&(_0x1a9137+=','),_0x1a9137+=_0x3fa4c2);}return this['type']['name']?(/\W/['test'](this['type']['name'])&&!this['type']['isError']?JSON['stringify'](this['type']['name']):this['type']['name'])+(_0x1a9137['length']?'('+_0x1a9137+')':''):_0x1a9137;}['cursor'](_0x399d21=0x0){return new _0x344937(this['topNode'],_0x399d21);}['cursorAt'](_0xd66f0b,_0x20bd76=0x0,_0x56331e=0x0){let _0x39623d=_0x5af60c['get'](this)||this['topNode'],_0x37e0a8=new _0x344937(_0x39623d);return _0x37e0a8['moveTo'](_0xd66f0b,_0x20bd76),_0x5af60c['set'](this,_0x37e0a8['_tree']),_0x37e0a8;}get['topNode'](){return new _0x3c90a1(this,0x0,0x0,null);}['resolve'](_0x52404e,_0x57cd85=0x0){let _0x4bfa84=_0xf47682(_0x5af60c['get'](this)||this['topNode'],_0x52404e,_0x57cd85,!0x1);return _0x5af60c['set'](this,_0x4bfa84),_0x4bfa84;}['resolveInner'](_0x549005,_0xdb3633=0x0){let _0xc570ae=_0xf47682(_0x4f0f12['get'](this)||this['topNode'],_0x549005,_0xdb3633,!0x0);return _0x4f0f12['set'](this,_0xc570ae),_0xc570ae;}['resolveStack'](_0x2a7d87,_0xc140cc=0x0){return stackIterator(this,_0x2a7d87,_0xc140cc);}['iterate'](_0x3e0350){let {enter:_0x120fbe,leave:_0x56fddf,from:_0x2f5fcf=0x0,to:_0x5e940b=this['length']}=_0x3e0350,_0x47e51b=_0x3e0350['mode']||0x0,_0x30d3ad=(_0x47e51b&IterMode['IncludeAnonymous'])>0x0;for(let _0x3c6782=this['cursor'](_0x47e51b|IterMode['IncludeAnonymous']);;){let _0x460f61=!0x1;if(_0x3c6782['from']<=_0x5e940b&&_0x3c6782['to']>=_0x2f5fcf&&(!_0x30d3ad&&_0x3c6782['type']['isAnonymous']||!0x1!==_0x120fbe(_0x3c6782))){if(_0x3c6782['firstChild']())continue;_0x460f61=!0x0;}for(;_0x460f61&&_0x56fddf&&(_0x30d3ad||!_0x3c6782['type']['isAnonymous'])&&_0x56fddf(_0x3c6782),!_0x3c6782['nextSibling']();){if(!_0x3c6782['parent']())return;_0x460f61=!0x0;}}}['prop'](_0x1b2fdb){return _0x1b2fdb['perNode']?this['props']?this['props'][_0x1b2fdb['id']]:void 0x0:this['type']['prop'](_0x1b2fdb);}get['propValues'](){let _0x3c03d6=[];if(this['props']){for(let _0x7d6071 in this['props'])_0x3c03d6['push']([+_0x7d6071,this['props'][_0x7d6071]]);}return _0x3c03d6;}['balance'](_0x22a0dd={}){return this['children']['length']<=0x8?this:_0x56137e(_0x5a565d['none'],this['children'],this['positions'],0x0,this['children']['length'],0x0,this['length'],(_0x4a6a3a,_0x272e30,_0x176e11)=>new _0x2a3dd6(this['type'],_0x4a6a3a,_0x272e30,_0x176e11,this['propValues']),_0x22a0dd['makeTree']||((_0x59f27d,_0x3eb762,_0x5f19e5)=>new _0x2a3dd6(_0x5a565d['none'],_0x59f27d,_0x3eb762,_0x5f19e5)));}static['build'](_0x3d6a31){return _0x4d97bb(_0x3d6a31);}}_0x2a3dd6['empty']=new _0x2a3dd6(_0x5a565d['none'],[],[],0x0);class FlatBufferCursor{constructor(_0x3580fc,_0x4fabb7){this['buffer']=_0x3580fc,this['index']=_0x4fabb7;}get['id'](){return this['buffer'][this['index']-0x4];}get['start'](){return this['buffer'][this['index']-0x3];}get['end'](){return this['buffer'][this['index']-0x2];}get['size'](){return this['buffer'][this['index']-0x1];}get['pos'](){return this['index'];}['next'](){this['index']-=0x4;}['fork'](){return new FlatBufferCursor(this['buffer'],this['index']);}}class _0x45e26b{constructor(_0x367472,_0x49c446,_0x184b44){this['buffer']=_0x367472,this['length']=_0x49c446,this['set']=_0x184b44;}get['type'](){return _0x5a565d['none'];}['toString'](){let _0x4dd6ea=[];for(let _0x54828d=0x0;_0x54828d<this['buffer']['length'];)_0x4dd6ea['push'](this['childString'](_0x54828d)),_0x54828d=this['buffer'][_0x54828d+0x3];return _0x4dd6ea['join'](',');}['childString'](_0x452fa1){let _0x2c759f=this['buffer'][_0x452fa1],_0x4d2efe=this['buffer'][_0x452fa1+0x3],_0x1a47e0=this['set']['types'][_0x2c759f],_0x3e7114=_0x1a47e0['name'];if(/\W/['test'](_0x3e7114)&&!_0x1a47e0['isError']&&(_0x3e7114=JSON['stringify'](_0x3e7114)),_0x4d2efe==(_0x452fa1+=0x4))return _0x3e7114;let _0x1d734f=[];for(;_0x452fa1<_0x4d2efe;)_0x1d734f['push'](this['childString'](_0x452fa1)),_0x452fa1=this['buffer'][_0x452fa1+0x3];return _0x3e7114+'('+_0x1d734f['join'](',')+')';}['findChild'](_0x12611d,_0xbe9e49,_0x11ac3a,_0x1c134f,_0x43870a){let {buffer:_0x1a9cb9}=this,_0x26b87f=-0x1;for(let _0x8a5002=_0x12611d;_0x8a5002!=_0xbe9e49&&!(_0x4e0082(_0x43870a,_0x1c134f,_0x1a9cb9[_0x8a5002+0x1],_0x1a9cb9[_0x8a5002+0x2])&&(_0x26b87f=_0x8a5002,_0x11ac3a>0x0));_0x8a5002=_0x1a9cb9[_0x8a5002+0x3]);return _0x26b87f;}['slice'](_0x41e950,_0x3113d2,_0x445370){let _0x493bf1=this['buffer'],_0x44e89c=new Uint16Array(_0x3113d2-_0x41e950),_0x50869e=0x0;for(let _0xf17268=_0x41e950,_0x4c35f0=0x0;_0xf17268<_0x3113d2;){_0x44e89c[_0x4c35f0++]=_0x493bf1[_0xf17268++],_0x44e89c[_0x4c35f0++]=_0x493bf1[_0xf17268++]-_0x445370;let _0x40e2cc=_0x44e89c[_0x4c35f0++]=_0x493bf1[_0xf17268++]-_0x445370;_0x44e89c[_0x4c35f0++]=_0x493bf1[_0xf17268++]-_0x41e950,_0x50869e=Math['max'](_0x50869e,_0x40e2cc);}return new _0x45e26b(_0x44e89c,_0x50869e,this['set']);}}function _0x4e0082(_0x3d0f0d,_0x21bf22,_0x5e5e7a,_0x12ff43){switch(_0x3d0f0d){case-0x2:return _0x5e5e7a<_0x21bf22;case-0x1:return _0x12ff43>=_0x21bf22&&_0x5e5e7a<_0x21bf22;case 0x0:return _0x5e5e7a<_0x21bf22&&_0x12ff43>_0x21bf22;case 0x1:return _0x5e5e7a<=_0x21bf22&&_0x12ff43>_0x21bf22;case 0x2:return _0x12ff43>_0x21bf22;case 0x4:return!0x0;}}function _0xf47682(_0x5b7ee8,_0x3aa091,_0x29c463,_0x1ff08d){for(var _0x412e12;_0x5b7ee8['from']==_0x5b7ee8['to']||(_0x29c463<0x1?_0x5b7ee8['from']>=_0x3aa091:_0x5b7ee8['from']>_0x3aa091)||(_0x29c463>-0x1?_0x5b7ee8['to']<=_0x3aa091:_0x5b7ee8['to']<_0x3aa091);){let _0xe6555=!_0x1ff08d&&_0x5b7ee8 instanceof _0x3c90a1&&_0x5b7ee8['index']<0x0?null:_0x5b7ee8['parent'];if(!_0xe6555)return _0x5b7ee8;_0x5b7ee8=_0xe6555;}let _0x516784=_0x1ff08d?0x0:IterMode['IgnoreOverlays'];if(_0x1ff08d){for(let _0x507104=_0x5b7ee8,_0x5f5b1a=_0x507104['parent'];_0x5f5b1a;_0x507104=_0x5f5b1a,_0x5f5b1a=_0x507104['parent'])_0x507104 instanceof _0x3c90a1&&_0x507104['index']<0x0&&(null===(_0x412e12=_0x5f5b1a['enter'](_0x3aa091,_0x29c463,_0x516784))||void 0x0===_0x412e12?void 0x0:_0x412e12['from'])!=_0x507104['from']&&(_0x5b7ee8=_0x5f5b1a);}for(;;){let _0x4b9dbe=_0x5b7ee8['enter'](_0x3aa091,_0x29c463,_0x516784);if(!_0x4b9dbe)return _0x5b7ee8;_0x5b7ee8=_0x4b9dbe;}}class _0x476a17{['cursor'](_0x5e2426=0x0){return new _0x344937(this,_0x5e2426);}['getChild'](_0x277cb6,_0x2b951c=null,_0x3c2ab6=null){let _0x1092fb=getChildren(this,_0x277cb6,_0x2b951c,_0x3c2ab6);return _0x1092fb['length']?_0x1092fb[0x0]:null;}['getChildren'](_0x1c932d,_0x73ff7a=null,_0x7029f0=null){return getChildren(this,_0x1c932d,_0x73ff7a,_0x7029f0);}['resolve'](_0x43e41a,_0x11bddd=0x0){return _0xf47682(this,_0x43e41a,_0x11bddd,!0x1);}['resolveInner'](_0x22a8ea,_0x2dd5dc=0x0){return _0xf47682(this,_0x22a8ea,_0x2dd5dc,!0x0);}['matchContext'](_0x168476){return matchNodeContext(this['parent'],_0x168476);}['enterUnfinishedNodesBefore'](_0x113345){let _0x3f633c=this['childBefore'](_0x113345),_0x416adb=this;for(;_0x3f633c;){let _0x12be52=_0x3f633c['lastChild'];if(!_0x12be52||_0x12be52['to']!=_0x3f633c['to'])break;_0x12be52['type']['isError']&&_0x12be52['from']==_0x12be52['to']?(_0x416adb=_0x3f633c,_0x3f633c=_0x12be52['prevSibling']):_0x3f633c=_0x12be52;}return _0x416adb;}get['node'](){return this;}get['next'](){return this['parent'];}}class _0x3c90a1 extends _0x476a17{constructor(_0x536a4f,_0x2d7611,_0x24b26b,_0x318839){super(),this['_tree']=_0x536a4f,this['from']=_0x2d7611,this['index']=_0x24b26b,this['_parent']=_0x318839;}get['type'](){return this['_tree']['type'];}get['name'](){return this['_tree']['type']['name'];}get['to'](){return this['from']+this['_tree']['length'];}['nextChild'](_0xbc2af5,_0x2649f3,_0x399b26,_0x3ff526,_0x289161=0x0){for(let _0x5e2a72=this;;){for(let {children:_0x41d3f0,positions:_0x377806}=_0x5e2a72['_tree'],_0x16ff3f=_0x2649f3>0x0?_0x41d3f0['length']:-0x1;_0xbc2af5!=_0x16ff3f;_0xbc2af5+=_0x2649f3){let _0x318292=_0x41d3f0[_0xbc2af5],_0x10ffeb=_0x377806[_0xbc2af5]+_0x5e2a72['from'];if(_0x4e0082(_0x3ff526,_0x399b26,_0x10ffeb,_0x10ffeb+_0x318292['length'])){if(_0x318292 instanceof _0x45e26b){if(_0x289161&IterMode['ExcludeBuffers'])continue;let _0x3de3ad=_0x318292['findChild'](0x0,_0x318292['buffer']['length'],_0x2649f3,_0x399b26-_0x10ffeb,_0x3ff526);if(_0x3de3ad>-0x1)return new _0x1170fc(new BufferContext(_0x5e2a72,_0x318292,_0xbc2af5,_0x10ffeb),null,_0x3de3ad);}else{if(_0x289161&IterMode['IncludeAnonymous']||!_0x318292['type']['isAnonymous']||_0x32c2d4(_0x318292)){let _0x20cef6;if(!(_0x289161&IterMode['IgnoreMounts'])&&(_0x20cef6=MountedTree['get'](_0x318292))&&!_0x20cef6['overlay'])return new _0x3c90a1(_0x20cef6['tree'],_0x10ffeb,_0xbc2af5,_0x5e2a72);let _0x29ae8d=new _0x3c90a1(_0x318292,_0x10ffeb,_0xbc2af5,_0x5e2a72);return _0x289161&IterMode['IncludeAnonymous']||!_0x29ae8d['type']['isAnonymous']?_0x29ae8d:_0x29ae8d['nextChild'](_0x2649f3<0x0?_0x318292['children']['length']-0x1:0x0,_0x2649f3,_0x399b26,_0x3ff526);}}}}if(_0x289161&IterMode['IncludeAnonymous']||!_0x5e2a72['type']['isAnonymous'])return null;if(_0xbc2af5=_0x5e2a72['index']>=0x0?_0x5e2a72['index']+_0x2649f3:_0x2649f3<0x0?-0x1:_0x5e2a72['_parent']['_tree']['children']['length'],_0x5e2a72=_0x5e2a72['_parent'],!_0x5e2a72)return null;}}get['firstChild'](){return this['nextChild'](0x0,0x1,0x0,0x4);}get['lastChild'](){return this['nextChild'](this['_tree']['children']['length']-0x1,-0x1,0x0,0x4);}['childAfter'](_0x3c104a){return this['nextChild'](0x0,0x1,_0x3c104a,0x2);}['childBefore'](_0x4f400f){return this['nextChild'](this['_tree']['children']['length']-0x1,-0x1,_0x4f400f,-0x2);}['enter'](_0x386b75,_0x9bb484,_0x45fbec=0x0){let _0x11f14b;if(!(_0x45fbec&IterMode['IgnoreOverlays'])&&(_0x11f14b=MountedTree['get'](this['_tree']))&&_0x11f14b['overlay']){let _0x5b58fb=_0x386b75-this['from'];for(let {from:_0x524f86,to:_0x580158}of _0x11f14b['overlay'])if((_0x9bb484>0x0?_0x524f86<=_0x5b58fb:_0x524f86<_0x5b58fb)&&(_0x9bb484<0x0?_0x580158>=_0x5b58fb:_0x580158>_0x5b58fb))return new _0x3c90a1(_0x11f14b['tree'],_0x11f14b['overlay'][0x0]['from']+this['from'],-0x1,this);}return this['nextChild'](0x0,0x1,_0x386b75,_0x9bb484,_0x45fbec);}['nextSignificantParent'](){let _0xe9eb6a=this;for(;_0xe9eb6a['type']['isAnonymous']&&_0xe9eb6a['_parent'];)_0xe9eb6a=_0xe9eb6a['_parent'];return _0xe9eb6a;}get['parent'](){return this['_parent']?this['_parent']['nextSignificantParent']():null;}get['nextSibling'](){return this['_parent']&&this['index']>=0x0?this['_parent']['nextChild'](this['index']+0x1,0x1,0x0,0x4):null;}get['prevSibling'](){return this['_parent']&&this['index']>=0x0?this['_parent']['nextChild'](this['index']-0x1,-0x1,0x0,0x4):null;}get['tree'](){return this['_tree'];}['toTree'](){return this['_tree'];}['toString'](){return this['_tree']['toString']();}}function getChildren(_0x4480e1,_0x15379,_0x36427e,_0x45a9d7){let _0x4dab17=_0x4480e1['cursor'](),_0x45f74c=[];if(!_0x4dab17['firstChild']())return _0x45f74c;if(null!=_0x36427e){for(let _0x15d3b2=!0x1;!_0x15d3b2;)if(_0x15d3b2=_0x4dab17['type']['is'](_0x36427e),!_0x4dab17['nextSibling']())return _0x45f74c;}for(;;){if(null!=_0x45a9d7&&_0x4dab17['type']['is'](_0x45a9d7))return _0x45f74c;if(_0x4dab17['type']['is'](_0x15379)&&_0x45f74c['push'](_0x4dab17['node']),!_0x4dab17['nextSibling']())return null==_0x45a9d7?_0x45f74c:[];}}function matchNodeContext(_0x166204,_0x59f8e8,_0x1f5e70=_0x59f8e8['length']-0x1){for(let _0x46228d=_0x166204;_0x1f5e70>=0x0;_0x46228d=_0x46228d['parent']){if(!_0x46228d)return!0x1;if(!_0x46228d['type']['isAnonymous']){if(_0x59f8e8[_0x1f5e70]&&_0x59f8e8[_0x1f5e70]!=_0x46228d['name'])return!0x1;_0x1f5e70--;}}return!0x0;}class BufferContext{constructor(_0x135d9c,_0x11c7b8,_0x29b11b,_0x2223f6){this['parent']=_0x135d9c,this['buffer']=_0x11c7b8,this['index']=_0x29b11b,this['start']=_0x2223f6;}}class _0x1170fc extends _0x476a17{get['name'](){return this['type']['name'];}get['from'](){return this['context']['start']+this['context']['buffer']['buffer'][this['index']+0x1];}get['to'](){return this['context']['start']+this['context']['buffer']['buffer'][this['index']+0x2];}constructor(_0x11881e,_0x256180,_0xddd704){super(),this['context']=_0x11881e,this['_parent']=_0x256180,this['index']=_0xddd704,this['type']=_0x11881e['buffer']['set']['types'][_0x11881e['buffer']['buffer'][_0xddd704]];}['child'](_0x3fb98b,_0x38c622,_0x38ba67){let {buffer:_0x295bce}=this['context'],_0x37e5c7=_0x295bce['findChild'](this['index']+0x4,_0x295bce['buffer'][this['index']+0x3],_0x3fb98b,_0x38c622-this['context']['start'],_0x38ba67);return _0x37e5c7<0x0?null:new _0x1170fc(this['context'],this,_0x37e5c7);}get['firstChild'](){return this['child'](0x1,0x0,0x4);}get['lastChild'](){return this['child'](-0x1,0x0,0x4);}['childAfter'](_0x5963e6){return this['child'](0x1,_0x5963e6,0x2);}['childBefore'](_0x18dfa2){return this['child'](-0x1,_0x18dfa2,-0x2);}['enter'](_0x5ac6e1,_0x45e3e2,_0x4a2a44=0x0){if(_0x4a2a44&IterMode['ExcludeBuffers'])return null;let {buffer:_0x331b4b}=this['context'],_0x3eab3c=_0x331b4b['findChild'](this['index']+0x4,_0x331b4b['buffer'][this['index']+0x3],_0x45e3e2>0x0?0x1:-0x1,_0x5ac6e1-this['context']['start'],_0x45e3e2);return _0x3eab3c<0x0?null:new _0x1170fc(this['context'],this,_0x3eab3c);}get['parent'](){return this['_parent']||this['context']['parent']['nextSignificantParent']();}['externalSibling'](_0x212de8){return this['_parent']?null:this['context']['parent']['nextChild'](this['context']['index']+_0x212de8,_0x212de8,0x0,0x4);}get['nextSibling'](){let {buffer:_0x3c42e9}=this['context'],_0x14daed=_0x3c42e9['buffer'][this['index']+0x3];return _0x14daed<(this['_parent']?_0x3c42e9['buffer'][this['_parent']['index']+0x3]:_0x3c42e9['buffer']['length'])?new _0x1170fc(this['context'],this['_parent'],_0x14daed):this['externalSibling'](0x1);}get['prevSibling'](){let {buffer:_0x4c2eca}=this['context'],_0x277949=this['_parent']?this['_parent']['index']+0x4:0x0;return this['index']==_0x277949?this['externalSibling'](-0x1):new _0x1170fc(this['context'],this['_parent'],_0x4c2eca['findChild'](_0x277949,this['index'],-0x1,0x0,0x4));}get['tree'](){return null;}['toTree'](){let _0x369ff6=[],_0x19b990=[],{buffer:_0x433343}=this['context'],_0x5904fa=this['index']+0x4,_0x59d128=_0x433343['buffer'][this['index']+0x3];if(_0x59d128>_0x5904fa){let _0x18788c=_0x433343['buffer'][this['index']+0x1];_0x369ff6['push'](_0x433343['slice'](_0x5904fa,_0x59d128,_0x18788c)),_0x19b990['push'](0x0);}return new _0x2a3dd6(this['type'],_0x369ff6,_0x19b990,this['to']-this['from']);}['toString'](){return this['context']['buffer']['childString'](this['index']);}}function iterStack(_0x18856c){if(!_0x18856c['length'])return null;let _0x2b078f=0x0,_0x4e6e4e=_0x18856c[0x0];for(let _0x446fa9=0x1;_0x446fa9<_0x18856c['length'];_0x446fa9++){let _0x21604e=_0x18856c[_0x446fa9];(_0x21604e['from']>_0x4e6e4e['from']||_0x21604e['to']<_0x4e6e4e['to'])&&(_0x4e6e4e=_0x21604e,_0x2b078f=_0x446fa9);}let _0x357aae=_0x4e6e4e instanceof _0x3c90a1&&_0x4e6e4e['index']<0x0?null:_0x4e6e4e['parent'],_0x6065c4=_0x18856c['slice']();return _0x357aae?_0x6065c4[_0x2b078f]=_0x357aae:_0x6065c4['splice'](_0x2b078f,0x1),new StackIterator(_0x6065c4,_0x4e6e4e);}class StackIterator{constructor(_0x1dfbd6,_0x38e53e){this['heads']=_0x1dfbd6,this['node']=_0x38e53e;}get['next'](){return iterStack(this['heads']);}}function stackIterator(_0x437c36,_0x4262a0,_0x24de9c){let _0x90cfb7=_0x437c36['resolveInner'](_0x4262a0,_0x24de9c),_0x3df724=null;for(let _0x54cdea=_0x90cfb7 instanceof _0x3c90a1?_0x90cfb7:_0x90cfb7['context']['parent'];_0x54cdea;_0x54cdea=_0x54cdea['parent'])if(_0x54cdea['index']<0x0){let _0x27ab5e=_0x54cdea['parent'];(_0x3df724||(_0x3df724=[_0x90cfb7]))['push'](_0x27ab5e['resolve'](_0x4262a0,_0x24de9c)),_0x54cdea=_0x27ab5e;}else{let _0x3fc9ed=MountedTree['get'](_0x54cdea['tree']);if(_0x3fc9ed&&_0x3fc9ed['overlay']&&_0x3fc9ed['overlay'][0x0]['from']<=_0x4262a0&&_0x3fc9ed['overlay'][_0x3fc9ed['overlay']['length']-0x1]['to']>=_0x4262a0){let _0x2f984f=new _0x3c90a1(_0x3fc9ed['tree'],_0x3fc9ed['overlay'][0x0]['from']+_0x54cdea['from'],-0x1,_0x54cdea);(_0x3df724||(_0x3df724=[_0x90cfb7]))['push'](_0xf47682(_0x2f984f,_0x4262a0,_0x24de9c,!0x1));}}return _0x3df724?iterStack(_0x3df724):_0x90cfb7;}class _0x344937{get['name'](){return this['type']['name'];}constructor(_0x714769,_0x90f5e6=0x0){if(this['mode']=_0x90f5e6,this['buffer']=null,this['stack']=[],this['index']=0x0,this['bufferNode']=null,_0x714769 instanceof _0x3c90a1)this['yieldNode'](_0x714769);else{this['_tree']=_0x714769['context']['parent'],this['buffer']=_0x714769['context'];for(let _0x532610=_0x714769['_parent'];_0x532610;_0x532610=_0x532610['_parent'])this['stack']['unshift'](_0x532610['index']);this['bufferNode']=_0x714769,this['yieldBuf'](_0x714769['index']);}}['yieldNode'](_0xc5bfd3){return!!_0xc5bfd3&&(this['_tree']=_0xc5bfd3,this['type']=_0xc5bfd3['type'],this['from']=_0xc5bfd3['from'],this['to']=_0xc5bfd3['to'],!0x0);}['yieldBuf'](_0x4dc5cf,_0x386047){this['index']=_0x4dc5cf;let {start:_0x5810fe,buffer:_0x5f1c3a}=this['buffer'];return this['type']=_0x386047||_0x5f1c3a['set']['types'][_0x5f1c3a['buffer'][_0x4dc5cf]],this['from']=_0x5810fe+_0x5f1c3a['buffer'][_0x4dc5cf+0x1],this['to']=_0x5810fe+_0x5f1c3a['buffer'][_0x4dc5cf+0x2],!0x0;}['yield'](_0x15549a){return!!_0x15549a&&(_0x15549a instanceof _0x3c90a1?(this['buffer']=null,this['yieldNode'](_0x15549a)):(this['buffer']=_0x15549a['context'],this['yieldBuf'](_0x15549a['index'],_0x15549a['type'])));}['toString'](){return this['buffer']?this['buffer']['buffer']['childString'](this['index']):this['_tree']['toString']();}['enterChild'](_0x23a7d4,_0x1fe317,_0x1b4b26){if(!this['buffer'])return this['yield'](this['_tree']['nextChild'](_0x23a7d4<0x0?this['_tree']['_tree']['children']['length']-0x1:0x0,_0x23a7d4,_0x1fe317,_0x1b4b26,this['mode']));let {buffer:_0x40261f}=this['buffer'],_0x3d785c=_0x40261f['findChild'](this['index']+0x4,_0x40261f['buffer'][this['index']+0x3],_0x23a7d4,_0x1fe317-this['buffer']['start'],_0x1b4b26);return!(_0x3d785c<0x0)&&(this['stack']['push'](this['index']),this['yieldBuf'](_0x3d785c));}['firstChild'](){return this['enterChild'](0x1,0x0,0x4);}['lastChild'](){return this['enterChild'](-0x1,0x0,0x4);}['childAfter'](_0x3275a4){return this['enterChild'](0x1,_0x3275a4,0x2);}['childBefore'](_0x736072){return this['enterChild'](-0x1,_0x736072,-0x2);}['enter'](_0x253bb1,_0x3b1a68,_0x2fe724=this['mode']){return this['buffer']?!(_0x2fe724&IterMode['ExcludeBuffers'])&&this['enterChild'](0x1,_0x253bb1,_0x3b1a68):this['yield'](this['_tree']['enter'](_0x253bb1,_0x3b1a68,_0x2fe724));}['parent'](){if(!this['buffer'])return this['yieldNode'](this['mode']&IterMode['IncludeAnonymous']?this['_tree']['_parent']:this['_tree']['parent']);if(this['stack']['length'])return this['yieldBuf'](this['stack']['pop']());let _0xf14ad6=this['mode']&IterMode['IncludeAnonymous']?this['buffer']['parent']:this['buffer']['parent']['nextSignificantParent']();return this['buffer']=null,this['yieldNode'](_0xf14ad6);}['sibling'](_0x517486){if(!this['buffer'])return!!this['_tree']['_parent']&&this['yield'](this['_tree']['index']<0x0?null:this['_tree']['_parent']['nextChild'](this['_tree']['index']+_0x517486,_0x517486,0x0,0x4,this['mode']));let {buffer:_0x26cc4e}=this['buffer'],_0x266ddf=this['stack']['length']-0x1;if(_0x517486<0x0){let _0x47f561=_0x266ddf<0x0?0x0:this['stack'][_0x266ddf]+0x4;if(this['index']!=_0x47f561)return this['yieldBuf'](_0x26cc4e['findChild'](_0x47f561,this['index'],-0x1,0x0,0x4));}else{let _0x142680=_0x26cc4e['buffer'][this['index']+0x3];if(_0x142680<(_0x266ddf<0x0?_0x26cc4e['buffer']['length']:_0x26cc4e['buffer'][this['stack'][_0x266ddf]+0x3]))return this['yieldBuf'](_0x142680);}return _0x266ddf<0x0&&this['yield'](this['buffer']['parent']['nextChild'](this['buffer']['index']+_0x517486,_0x517486,0x0,0x4,this['mode']));}['nextSibling'](){return this['sibling'](0x1);}['prevSibling'](){return this['sibling'](-0x1);}['atLastNode'](_0x5bb8c5){let _0x1ca4ac,_0x30646f,{buffer:_0x4e052f}=this;if(_0x4e052f){if(_0x5bb8c5>0x0){if(this['index']<_0x4e052f['buffer']['buffer']['length'])return!0x1;}else{for(let _0x45e7fc=0x0;_0x45e7fc<this['index'];_0x45e7fc++)if(_0x4e052f['buffer']['buffer'][_0x45e7fc+0x3]<this['index'])return!0x1;}({index:_0x1ca4ac,parent:_0x30646f}=_0x4e052f);}else({index:_0x1ca4ac,_parent:_0x30646f}=this['_tree']);for(;_0x30646f;{index:_0x1ca4ac,_parent:_0x30646f}=_0x30646f)if(_0x1ca4ac>-0x1)for(let _0x459f1b=_0x1ca4ac+_0x5bb8c5,_0x3b59c8=_0x5bb8c5<0x0?-0x1:_0x30646f['_tree']['children']['length'];_0x459f1b!=_0x3b59c8;_0x459f1b+=_0x5bb8c5){let _0xe825e4=_0x30646f['_tree']['children'][_0x459f1b];if(this['mode']&IterMode['IncludeAnonymous']||_0xe825e4 instanceof _0x45e26b||!_0xe825e4['type']['isAnonymous']||_0x32c2d4(_0xe825e4))return!0x1;}return!0x0;}['move'](_0x2c4e2a,_0x4d4a57){if(_0x4d4a57&&this['enterChild'](_0x2c4e2a,0x0,0x4))return!0x0;for(;;){if(this['sibling'](_0x2c4e2a))return!0x0;if(this['atLastNode'](_0x2c4e2a)||!this['parent']())return!0x1;}}['next'](_0xf007fa=!0x0){return this['move'](0x1,_0xf007fa);}['prev'](_0x36dc22=!0x0){return this['move'](-0x1,_0x36dc22);}['moveTo'](_0x3d2819,_0x3dddea=0x0){for(;(this['from']==this['to']||(_0x3dddea<0x1?this['from']>=_0x3d2819:this['from']>_0x3d2819)||(_0x3dddea>-0x1?this['to']<=_0x3d2819:this['to']<_0x3d2819))&&this['parent'](););for(;this['enterChild'](0x1,_0x3d2819,_0x3dddea););return this;}get['node'](){if(!this['buffer'])return this['_tree'];let _0x5aaebc=this['bufferNode'],_0x38cc22=null,_0x465d26=0x0;if(_0x5aaebc&&_0x5aaebc['context']==this['buffer']){t:for(let _0x17a58a=this['index'],_0xff236a=this['stack']['length'];_0xff236a>=0x0;){for(let _0x26810d=_0x5aaebc;_0x26810d;_0x26810d=_0x26810d['_parent'])if(_0x26810d['index']==_0x17a58a){if(_0x17a58a==this['index'])return _0x26810d;_0x38cc22=_0x26810d,_0x465d26=_0xff236a+0x1;break t;}_0x17a58a=this['stack'][--_0xff236a];}}for(let _0x763167=_0x465d26;_0x763167<this['stack']['length'];_0x763167++)_0x38cc22=new _0x1170fc(this['buffer'],_0x38cc22,this['stack'][_0x763167]);return this['bufferNode']=new _0x1170fc(this['buffer'],_0x38cc22,this['index']);}get['tree'](){return this['buffer']?null:this['_tree']['_tree'];}['iterate'](_0x296dbc,_0x4d7543){for(let _0x33c9d8=0x0;;){let _0x2255fb=!0x1;if(this['type']['isAnonymous']||!0x1!==_0x296dbc(this)){if(this['firstChild']()){_0x33c9d8++;continue;}this['type']['isAnonymous']||(_0x2255fb=!0x0);}for(;;){if(_0x2255fb&&_0x4d7543&&_0x4d7543(this),_0x2255fb=this['type']['isAnonymous'],!_0x33c9d8)return;if(this['nextSibling']())break;this['parent'](),_0x33c9d8--,_0x2255fb=!0x0;}}}['matchContext'](_0x1b241b){if(!this['buffer'])return matchNodeContext(this['node']['parent'],_0x1b241b);let {buffer:_0x43f0da}=this['buffer'],{types:_0x5c6179}=_0x43f0da['set'];for(let _0xe64cfb=_0x1b241b['length']-0x1,_0x2bf199=this['stack']['length']-0x1;_0xe64cfb>=0x0;_0x2bf199--){if(_0x2bf199<0x0)return matchNodeContext(this['_tree'],_0x1b241b,_0xe64cfb);let _0x525972=_0x5c6179[_0x43f0da['buffer'][this['stack'][_0x2bf199]]];if(!_0x525972['isAnonymous']){if(_0x1b241b[_0xe64cfb]&&_0x1b241b[_0xe64cfb]!=_0x525972['name'])return!0x1;_0xe64cfb--;}}return!0x0;}}function _0x32c2d4(_0x35daab){return _0x35daab['children']['some'](_0x5a3784=>_0x5a3784 instanceof _0x45e26b||!_0x5a3784['type']['isAnonymous']||_0x32c2d4(_0x5a3784));}function _0x4d97bb(_0x583986){var _0x24d470;let {buffer:_0x5d81a9,nodeSet:_0x23a636,maxBufferLength:_0x18706b=DefaultBufferLength,reused:_0x202d86=[],minRepeatType:_0x3c0dfc=_0x23a636['types']['length']}=_0x583986,_0x32dc2a=Array['isArray'](_0x5d81a9)?new FlatBufferCursor(_0x5d81a9,_0x5d81a9['length']):_0x5d81a9,_0x3c3b3a=_0x23a636['types'],_0x2b2b92=0x0,_0x47b87d=0x0;function _0xde9ae1(_0x55a959,_0x4f711e,_0x346eb3,_0x3b59c9,_0x2c12e8,_0x120447){let {id:_0x15fac5,start:_0x74926a,end:_0x50c71b,size:_0x11e2a6}=_0x32dc2a,_0x44c49d=_0x47b87d,_0x5de87b=_0x2b2b92;if(_0x11e2a6<0x0){if(_0x32dc2a['next'](),-0x1==_0x11e2a6){let _0xd3ad45=_0x202d86[_0x15fac5];return _0x346eb3['push'](_0xd3ad45),void _0x3b59c9['push'](_0x74926a-_0x55a959);}if(-0x3==_0x11e2a6)return void(_0x2b2b92=_0x15fac5);if(-0x4==_0x11e2a6)return void(_0x47b87d=_0x15fac5);throw new RangeError('Unrecognized\x20record\x20size:\x20'+_0x11e2a6);}let _0x4d3966,_0x572f3a,_0x323189=_0x3c3b3a[_0x15fac5],_0x291f3a=_0x74926a-_0x55a959;if(_0x50c71b-_0x74926a<=_0x18706b&&(_0x572f3a=function(_0x7fbdcd,_0x124233){let _0x52f525=_0x32dc2a['fork'](),_0xeb919b=0x0,_0x247123=0x0,_0x5bff62=0x0,_0x14806b=_0x52f525['end']-_0x18706b,_0x4e239c={'size':0x0,'start':0x0,'skip':0x0};t:for(let _0x5ad9b3=_0x52f525['pos']-_0x7fbdcd;_0x52f525['pos']>_0x5ad9b3;){let _0x4734e6=_0x52f525['size'];if(_0x52f525['id']==_0x124233&&_0x4734e6>=0x0){_0x4e239c['size']=_0xeb919b,_0x4e239c['start']=_0x247123,_0x4e239c['skip']=_0x5bff62,_0x5bff62+=0x4,_0xeb919b+=0x4,_0x52f525['next']();continue;}let _0x173d79=_0x52f525['pos']-_0x4734e6;if(_0x4734e6<0x0||_0x173d79<_0x5ad9b3||_0x52f525['start']<_0x14806b)break;let _0x4520e7=_0x52f525['id']>=_0x3c0dfc?0x4:0x0,_0x2f6741=_0x52f525['start'];for(_0x52f525['next']();_0x52f525['pos']>_0x173d79;){if(_0x52f525['size']<0x0){if(-0x3!=_0x52f525['size'])break t;_0x4520e7+=0x4;}else _0x52f525['id']>=_0x3c0dfc&&(_0x4520e7+=0x4);_0x52f525['next']();}_0x247123=_0x2f6741,_0xeb919b+=_0x4734e6,_0x5bff62+=_0x4520e7;}return(_0x124233<0x0||_0xeb919b==_0x7fbdcd)&&(_0x4e239c['size']=_0xeb919b,_0x4e239c['start']=_0x247123,_0x4e239c['skip']=_0x5bff62),_0x4e239c['size']>0x4?_0x4e239c:void 0x0;}(_0x32dc2a['pos']-_0x4f711e,_0x2c12e8))){let _0x4db11c=new Uint16Array(_0x572f3a['size']-_0x572f3a['skip']),_0x2e827c=_0x32dc2a['pos']-_0x572f3a['size'],_0x106d00=_0x4db11c['length'];for(;_0x32dc2a['pos']>_0x2e827c;)_0x106d00=_0x9b38e7(_0x572f3a['start'],_0x4db11c,_0x106d00);_0x4d3966=new _0x45e26b(_0x4db11c,_0x50c71b-_0x572f3a['start'],_0x23a636),_0x291f3a=_0x572f3a['start']-_0x55a959;}else{let _0x4467bb=_0x32dc2a['pos']-_0x11e2a6;_0x32dc2a['next']();let _0x30bb21=[],_0x9da36=[],_0x1921ec=_0x15fac5>=_0x3c0dfc?_0x15fac5:-0x1,_0x5d8058=0x0,_0x181e39=_0x50c71b;for(;_0x32dc2a['pos']>_0x4467bb;)_0x1921ec>=0x0&&_0x32dc2a['id']==_0x1921ec&&_0x32dc2a['size']>=0x0?(_0x32dc2a['end']<=_0x181e39-_0x18706b&&(_0x22cf2d(_0x30bb21,_0x9da36,_0x74926a,_0x5d8058,_0x32dc2a['end'],_0x181e39,_0x1921ec,_0x44c49d,_0x5de87b),_0x5d8058=_0x30bb21['length'],_0x181e39=_0x32dc2a['end']),_0x32dc2a['next']()):_0x120447>0x9c4?_0x2e712e(_0x74926a,_0x4467bb,_0x30bb21,_0x9da36):_0xde9ae1(_0x74926a,_0x4467bb,_0x30bb21,_0x9da36,_0x1921ec,_0x120447+0x1);if(_0x1921ec>=0x0&&_0x5d8058>0x0&&_0x5d8058<_0x30bb21['length']&&_0x22cf2d(_0x30bb21,_0x9da36,_0x74926a,_0x5d8058,_0x74926a,_0x181e39,_0x1921ec,_0x44c49d,_0x5de87b),_0x30bb21['reverse'](),_0x9da36['reverse'](),_0x1921ec>-0x1&&_0x5d8058>0x0){let _0x1aa82a=function(_0x41a0c3,_0x2b5fe4){return(_0x47f404,_0xc9c7dc,_0xf8fa21)=>{let _0x34591a,_0x2327f8,_0xdf3afe=0x0,_0x4df782=_0x47f404['length']-0x1;if(_0x4df782>=0x0&&(_0x34591a=_0x47f404[_0x4df782])instanceof _0x2a3dd6){if(!_0x4df782&&_0x34591a['type']==_0x41a0c3&&_0x34591a['length']==_0xf8fa21)return _0x34591a;(_0x2327f8=_0x34591a['prop'](_0x258b5f['lookAhead']))&&(_0xdf3afe=_0xc9c7dc[_0x4df782]+_0x34591a['length']+_0x2327f8);}return _0x42612e(_0x41a0c3,_0x47f404,_0xc9c7dc,_0xf8fa21,_0xdf3afe,_0x2b5fe4);};}(_0x323189,_0x5de87b);_0x4d3966=_0x56137e(_0x323189,_0x30bb21,_0x9da36,0x0,_0x30bb21['length'],0x0,_0x50c71b-_0x74926a,_0x1aa82a,_0x1aa82a);}else _0x4d3966=_0x42612e(_0x323189,_0x30bb21,_0x9da36,_0x50c71b-_0x74926a,_0x44c49d-_0x50c71b,_0x5de87b);}_0x346eb3['push'](_0x4d3966),_0x3b59c9['push'](_0x291f3a);}function _0x2e712e(_0x228c3a,_0x1ecd59,_0x408c33,_0x296d8e){let _0x1497b4=[],_0x3a3c64=0x0,_0x49cd8d=-0x1;for(;_0x32dc2a['pos']>_0x1ecd59;){let {id:_0x15aff0,start:_0x29a438,end:_0x4827cf,size:_0x4175c0}=_0x32dc2a;if(_0x4175c0>0x4)_0x32dc2a['next']();else{if(_0x49cd8d>-0x1&&_0x29a438<_0x49cd8d)break;_0x49cd8d<0x0&&(_0x49cd8d=_0x4827cf-_0x18706b),_0x1497b4['push'](_0x15aff0,_0x29a438,_0x4827cf),_0x3a3c64++,_0x32dc2a['next']();}}if(_0x3a3c64){let _0x5e7a4c=new Uint16Array(0x4*_0x3a3c64),_0x428da6=_0x1497b4[_0x1497b4['length']-0x2];for(let _0x4d578f=_0x1497b4['length']-0x3,_0x5e1da3=0x0;_0x4d578f>=0x0;_0x4d578f-=0x3)_0x5e7a4c[_0x5e1da3++]=_0x1497b4[_0x4d578f],_0x5e7a4c[_0x5e1da3++]=_0x1497b4[_0x4d578f+0x1]-_0x428da6,_0x5e7a4c[_0x5e1da3++]=_0x1497b4[_0x4d578f+0x2]-_0x428da6,_0x5e7a4c[_0x5e1da3++]=_0x5e1da3;_0x408c33['push'](new _0x45e26b(_0x5e7a4c,_0x1497b4[0x2]-_0x428da6,_0x23a636)),_0x296d8e['push'](_0x428da6-_0x228c3a);}}function _0x22cf2d(_0x542886,_0x392734,_0x4af568,_0x1dba26,_0x4a8fdc,_0x11a044,_0x18dd1d,_0x4176cc,_0x5a5ad8){let _0x11363d=[],_0x5a7851=[];for(;_0x542886['length']>_0x1dba26;)_0x11363d['push'](_0x542886['pop']()),_0x5a7851['push'](_0x392734['pop']()+_0x4af568-_0x4a8fdc);_0x542886['push'](_0x42612e(_0x23a636['types'][_0x18dd1d],_0x11363d,_0x5a7851,_0x11a044-_0x4a8fdc,_0x4176cc-_0x11a044,_0x5a5ad8)),_0x392734['push'](_0x4a8fdc-_0x4af568);}function _0x42612e(_0x3bd8ac,_0x411f6e,_0x49d139,_0x19874b,_0x232fe8,_0x8c5df7,_0x11d145){if(_0x8c5df7){let _0x567a07=[_0x258b5f['contextHash'],_0x8c5df7];_0x11d145=_0x11d145?[_0x567a07]['concat'](_0x11d145):[_0x567a07];}if(_0x232fe8>0x19){let _0x4e9ec5=[_0x258b5f['lookAhead'],_0x232fe8];_0x11d145=_0x11d145?[_0x4e9ec5]['concat'](_0x11d145):[_0x4e9ec5];}return new _0x2a3dd6(_0x3bd8ac,_0x411f6e,_0x49d139,_0x19874b,_0x11d145);}function _0x9b38e7(_0x3c5e93,_0x23aab1,_0xa7785){let {id:_0x5c9d89,start:_0x50985b,end:_0x1efbcd,size:_0x3f7e22}=_0x32dc2a;if(_0x32dc2a['next'](),_0x3f7e22>=0x0&&_0x5c9d89<_0x3c0dfc){let _0xb7488f=_0xa7785;if(_0x3f7e22>0x4){let _0x2668c7=_0x32dc2a['pos']-(_0x3f7e22-0x4);for(;_0x32dc2a['pos']>_0x2668c7;)_0xa7785=_0x9b38e7(_0x3c5e93,_0x23aab1,_0xa7785);}_0x23aab1[--_0xa7785]=_0xb7488f,_0x23aab1[--_0xa7785]=_0x1efbcd-_0x3c5e93,_0x23aab1[--_0xa7785]=_0x50985b-_0x3c5e93,_0x23aab1[--_0xa7785]=_0x5c9d89;}else-0x3==_0x3f7e22?_0x2b2b92=_0x5c9d89:-0x4==_0x3f7e22&&(_0x47b87d=_0x5c9d89);return _0xa7785;}let _0x1aca94=[],_0x4b9871=[];for(;_0x32dc2a['pos']>0x0;)_0xde9ae1(_0x583986['start']||0x0,_0x583986['bufferStart']||0x0,_0x1aca94,_0x4b9871,-0x1,0x0);let _0x1d9b73=null!==(_0x24d470=_0x583986['length'])&&void 0x0!==_0x24d470?_0x24d470:_0x1aca94['length']?_0x4b9871[0x0]+_0x1aca94[0x0]['length']:0x0;return new _0x2a3dd6(_0x3c3b3a[_0x583986['topID']],_0x1aca94['reverse'](),_0x4b9871['reverse'](),_0x1d9b73);}const _0x21cd3c=new WeakMap();function _0x468516(_0x310785,_0x49b567){if(!_0x310785['isAnonymous']||_0x49b567 instanceof _0x45e26b||_0x49b567['type']!=_0x310785)return 0x1;let _0x360075=_0x21cd3c['get'](_0x49b567);if(null==_0x360075){_0x360075=0x1;for(let _0x2ad476 of _0x49b567['children']){if(_0x2ad476['type']!=_0x310785||!(_0x2ad476 instanceof _0x2a3dd6)){_0x360075=0x1;break;}_0x360075+=_0x468516(_0x310785,_0x2ad476);}_0x21cd3c['set'](_0x49b567,_0x360075);}return _0x360075;}function _0x56137e(_0x426899,_0x378d05,_0x4d7153,_0x595ae9,_0x3d8814,_0x4575e3,_0x3086fc,_0x2876b8,_0x518c15){let _0x194499=0x0;for(let _0x461519=_0x595ae9;_0x461519<_0x3d8814;_0x461519++)_0x194499+=_0x468516(_0x426899,_0x378d05[_0x461519]);let _0xb9eb52=Math['ceil'](1.5*_0x194499/0x8),_0xfe0f19=[],_0x5cce88=[];return function _0x3b3d8d(_0x2b972d,_0x571437,_0x52b447,_0x7f653c,_0x2ae162){for(let _0x7c56c8=_0x52b447;_0x7c56c8<_0x7f653c;){let _0x5927fc=_0x7c56c8,_0x17c811=_0x571437[_0x7c56c8],_0x39c83a=_0x468516(_0x426899,_0x2b972d[_0x7c56c8]);for(_0x7c56c8++;_0x7c56c8<_0x7f653c;_0x7c56c8++){let _0xe7780d=_0x468516(_0x426899,_0x2b972d[_0x7c56c8]);if(_0x39c83a+_0xe7780d>=_0xb9eb52)break;_0x39c83a+=_0xe7780d;}if(_0x7c56c8==_0x5927fc+0x1){if(_0x39c83a>_0xb9eb52){let _0x1fb633=_0x2b972d[_0x5927fc];_0x3b3d8d(_0x1fb633['children'],_0x1fb633['positions'],0x0,_0x1fb633['children']['length'],_0x571437[_0x5927fc]+_0x2ae162);continue;}_0xfe0f19['push'](_0x2b972d[_0x5927fc]);}else{let _0x3e28cd=_0x571437[_0x7c56c8-0x1]+_0x2b972d[_0x7c56c8-0x1]['length']-_0x17c811;_0xfe0f19['push'](_0x56137e(_0x426899,_0x2b972d,_0x571437,_0x5927fc,_0x7c56c8,_0x17c811,_0x3e28cd,null,_0x518c15));}_0x5cce88['push'](_0x17c811+_0x2ae162-_0x4575e3);}}(_0x378d05,_0x4d7153,_0x595ae9,_0x3d8814,0x0),(_0x2876b8||_0x518c15)(_0xfe0f19,_0x5cce88,_0x3086fc);}class _0x190bcf{constructor(){this['map']=new WeakMap();}['setBuffer'](_0x403c46,_0x575054,_0x363823){let _0x1766cb=this['map']['get'](_0x403c46);_0x1766cb||this['map']['set'](_0x403c46,_0x1766cb=new Map()),_0x1766cb['set'](_0x575054,_0x363823);}['getBuffer'](_0x2528d9,_0x418fb9){let _0x14cbd4=this['map']['get'](_0x2528d9);return _0x14cbd4&&_0x14cbd4['get'](_0x418fb9);}['set'](_0x3bc43b,_0x2a578d){_0x3bc43b instanceof _0x1170fc?this['setBuffer'](_0x3bc43b['context']['buffer'],_0x3bc43b['index'],_0x2a578d):_0x3bc43b instanceof _0x3c90a1&&this['map']['set'](_0x3bc43b['tree'],_0x2a578d);}['get'](_0x4d2ef0){return _0x4d2ef0 instanceof _0x1170fc?this['getBuffer'](_0x4d2ef0['context']['buffer'],_0x4d2ef0['index']):_0x4d2ef0 instanceof _0x3c90a1?this['map']['get'](_0x4d2ef0['tree']):void 0x0;}['cursorSet'](_0x1755a4,_0x265e1e){_0x1755a4['buffer']?this['setBuffer'](_0x1755a4['buffer']['buffer'],_0x1755a4['index'],_0x265e1e):this['map']['set'](_0x1755a4['tree'],_0x265e1e);}['cursorGet'](_0x434651){return _0x434651['buffer']?this['getBuffer'](_0x434651['buffer']['buffer'],_0x434651['index']):this['map']['get'](_0x434651['tree']);}}class TreeFragment{constructor(_0x5caa34,_0x16642f,_0x25ae06,_0x1ee296,_0x2e830f=!0x1,_0x3fdc66=!0x1){this['from']=_0x5caa34,this['to']=_0x16642f,this['tree']=_0x25ae06,this['offset']=_0x1ee296,this['open']=(_0x2e830f?0x1:0x0)|(_0x3fdc66?0x2:0x0);}get['openStart'](){return(0x1&this['open'])>0x0;}get['openEnd'](){return(0x2&this['open'])>0x0;}static['addTree'](_0x5a5244,_0x5f49af=[],_0x2a0e2c=!0x1){let _0x1441d9=[new TreeFragment(0x0,_0x5a5244['length'],_0x5a5244,0x0,!0x1,_0x2a0e2c)];for(let _0x4c3c13 of _0x5f49af)_0x4c3c13['to']>_0x5a5244['length']&&_0x1441d9['push'](_0x4c3c13);return _0x1441d9;}static['applyChanges'](_0x184af9,_0x12feb7,_0x3a1dd6=0x80){if(!_0x12feb7['length'])return _0x184af9;let _0x3a330b=[],_0x4704cd=0x1,_0x29ef71=_0x184af9['length']?_0x184af9[0x0]:null;for(let _0x1ac35c=0x0,_0x3bbe2c=0x0,_0x2781d3=0x0;;_0x1ac35c++){let _0x2cf68f=_0x1ac35c<_0x12feb7['length']?_0x12feb7[_0x1ac35c]:null,_0x19b60a=_0x2cf68f?_0x2cf68f['fromA']:0x3b9aca00;if(_0x19b60a-_0x3bbe2c>=_0x3a1dd6)for(;_0x29ef71&&_0x29ef71['from']<_0x19b60a;){let _0x5ba07b=_0x29ef71;if(_0x3bbe2c>=_0x5ba07b['from']||_0x19b60a<=_0x5ba07b['to']||_0x2781d3){let _0xb58538=Math['max'](_0x5ba07b['from'],_0x3bbe2c)-_0x2781d3,_0x104af4=Math['min'](_0x5ba07b['to'],_0x19b60a)-_0x2781d3;_0x5ba07b=_0xb58538>=_0x104af4?null:new TreeFragment(_0xb58538,_0x104af4,_0x5ba07b['tree'],_0x5ba07b['offset']+_0x2781d3,_0x1ac35c>0x0,!!_0x2cf68f);}if(_0x5ba07b&&_0x3a330b['push'](_0x5ba07b),_0x29ef71['to']>_0x19b60a)break;_0x29ef71=_0x4704cd<_0x184af9['length']?_0x184af9[_0x4704cd++]:null;}if(!_0x2cf68f)break;_0x3bbe2c=_0x2cf68f['toA'],_0x2781d3=_0x2cf68f['toA']-_0x2cf68f['toB'];}return _0x3a330b;}}class _0x20778a{['startParse'](_0x534d88,_0x3535b1,_0x166057){return'string'==typeof _0x534d88&&(_0x534d88=new StringInput(_0x534d88)),_0x166057=_0x166057?_0x166057['length']?_0x166057['map'](_0x91d83a=>new _0x19500d(_0x91d83a['from'],_0x91d83a['to'])):[new _0x19500d(0x0,0x0)]:[new _0x19500d(0x0,_0x534d88['length'])],this['createParse'](_0x534d88,_0x3535b1||[],_0x166057);}['parse'](_0x295555,_0x59a939,_0xd735a6){let _0xdeab43=this['startParse'](_0x295555,_0x59a939,_0xd735a6);for(;;){let _0x1d3ae8=_0xdeab43['advance']();if(_0x1d3ae8)return _0x1d3ae8;}}}class StringInput{constructor(_0x5d54e8){this['string']=_0x5d54e8;}get['length'](){return this['string']['length'];}['chunk'](_0x295146){return this['string']['slice'](_0x295146);}get['lineChunks'](){return!0x1;}['read'](_0x43f7b2,_0x31f9da){return this['string']['slice'](_0x43f7b2,_0x31f9da);}}function _0x11a58b(_0x494d02){return(_0x359424,_0x4928e3,_0x3dda77,_0x37d413)=>new _0x111e73(_0x359424,_0x494d02,_0x4928e3,_0x3dda77,_0x37d413);}class _0x17c25d{constructor(_0x4ce058,_0x3046ac,_0x39c984,_0x766355,_0x4a92da){this['parser']=_0x4ce058,this['parse']=_0x3046ac,this['overlay']=_0x39c984,this['target']=_0x766355,this['from']=_0x4a92da;}}function _0x168abf(_0x4e7de0){if(!_0x4e7de0['length']||_0x4e7de0['some'](_0x424d5f=>_0x424d5f['from']>=_0x424d5f['to']))throw new RangeError('Invalid\x20inner\x20parse\x20ranges\x20given:\x20'+JSON['stringify'](_0x4e7de0));}class ActiveOverlay{constructor(_0x189648,_0x13b1a9,_0x955fb4,_0x1ed64b,_0x2b0e6a,_0xefc0af,_0x37ef66){this['parser']=_0x189648,this['predicate']=_0x13b1a9,this['mounts']=_0x955fb4,this['index']=_0x1ed64b,this['start']=_0x2b0e6a,this['target']=_0xefc0af,this['prev']=_0x37ef66,this['depth']=0x0,this['ranges']=[];}}const stoppedInner=new _0x258b5f({'perNode':!0x0});class _0x111e73{constructor(_0x1656e7,_0xa4450d,_0x1fec4f,_0x246290,_0x19d513){this['nest']=_0xa4450d,this['input']=_0x1fec4f,this['fragments']=_0x246290,this['ranges']=_0x19d513,this['inner']=[],this['innerDone']=0x0,this['baseTree']=null,this['stoppedAt']=null,this['baseParse']=_0x1656e7;}['advance'](){if(this['baseParse']){let _0x572bd5=this['baseParse']['advance']();if(!_0x572bd5)return null;if(this['baseParse']=null,this['baseTree']=_0x572bd5,this['startInner'](),null!=this['stoppedAt']){for(let _0x3b45f5 of this['inner'])_0x3b45f5['parse']['stopAt'](this['stoppedAt']);}}if(this['innerDone']==this['inner']['length']){let _0x51a640=this['baseTree'];return null!=this['stoppedAt']&&(_0x51a640=new _0x2a3dd6(_0x51a640['type'],_0x51a640['children'],_0x51a640['positions'],_0x51a640['length'],_0x51a640['propValues']['concat']([[stoppedInner,this['stoppedAt']]]))),_0x51a640;}let _0x340990=this['inner'][this['innerDone']],_0x1b4de7=_0x340990['parse']['advance']();if(_0x1b4de7){this['innerDone']++;let _0x8eccb1=Object['assign'](Object['create'](null),_0x340990['target']['props']);_0x8eccb1[_0x258b5f['mounted']['id']]=new MountedTree(_0x1b4de7,_0x340990['overlay'],_0x340990['parser']),_0x340990['target']['props']=_0x8eccb1;}return null;}get['parsedPos'](){if(this['baseParse'])return 0x0;let _0x5a7852=this['input']['length'];for(let _0x262350=this['innerDone'];_0x262350<this['inner']['length'];_0x262350++)this['inner'][_0x262350]['from']<_0x5a7852&&(_0x5a7852=Math['min'](_0x5a7852,this['inner'][_0x262350]['parse']['parsedPos']));return _0x5a7852;}['stopAt'](_0x42d4fd){if(this['stoppedAt']=_0x42d4fd,this['baseParse'])this['baseParse']['stopAt'](_0x42d4fd);else{for(let _0xd726bb=this['innerDone'];_0xd726bb<this['inner']['length'];_0xd726bb++)this['inner'][_0xd726bb]['parse']['stopAt'](_0x42d4fd);}}['startInner'](){let _0x5370e0=new FragmentCursor$2(this['fragments']),_0x27fec5=null,_0x5de428=null,_0x2e3787=new _0x344937(new _0x3c90a1(this['baseTree'],this['ranges'][0x0]['from'],0x0,null),IterMode['IncludeAnonymous']|IterMode['IgnoreMounts']);t:for(let _0x5bf0eb,_0x1b21ce;;){let _0x1bef94,_0x4528f4=!0x0;if(null!=this['stoppedAt']&&_0x2e3787['from']>=this['stoppedAt'])_0x4528f4=!0x1;else{if(_0x5370e0['hasNode'](_0x2e3787)){if(_0x27fec5){let _0x30661b=_0x27fec5['mounts']['find'](_0x1b6456=>_0x1b6456['frag']['from']<=_0x2e3787['from']&&_0x1b6456['frag']['to']>=_0x2e3787['to']&&_0x1b6456['mount']['overlay']);if(_0x30661b)for(let _0xf86ea9 of _0x30661b['mount']['overlay']){let _0x484170=_0xf86ea9['from']+_0x30661b['pos'],_0x394c34=_0xf86ea9['to']+_0x30661b['pos'];_0x484170>=_0x2e3787['from']&&_0x394c34<=_0x2e3787['to']&&!_0x27fec5['ranges']['some'](_0x25f6c9=>_0x25f6c9['from']<_0x394c34&&_0x25f6c9['to']>_0x484170)&&_0x27fec5['ranges']['push']({'from':_0x484170,'to':_0x394c34});}}_0x4528f4=!0x1;}else{if(_0x5de428&&(_0x1b21ce=_0x5e1349(_0x5de428['ranges'],_0x2e3787['from'],_0x2e3787['to'])))_0x4528f4=0x2!=_0x1b21ce;else{if(!_0x2e3787['type']['isAnonymous']&&(_0x5bf0eb=this['nest'](_0x2e3787,this['input']))&&(_0x2e3787['from']<_0x2e3787['to']||!_0x5bf0eb['overlay'])){_0x2e3787['tree']||(materialize(_0x2e3787),_0x27fec5&&_0x27fec5['depth']++,_0x5de428&&_0x5de428['depth']++);let _0x186bca=_0x5370e0['findMounts'](_0x2e3787['from'],_0x5bf0eb['parser']);if('function'==typeof _0x5bf0eb['overlay'])_0x27fec5=new ActiveOverlay(_0x5bf0eb['parser'],_0x5bf0eb['overlay'],_0x186bca,this['inner']['length'],_0x2e3787['from'],_0x2e3787['tree'],_0x27fec5);else{let _0x3aab02=_0x4d9f8d(this['ranges'],_0x5bf0eb['overlay']||(_0x2e3787['from']<_0x2e3787['to']?[new _0x19500d(_0x2e3787['from'],_0x2e3787['to'])]:[]));_0x3aab02['length']&&_0x168abf(_0x3aab02),!_0x3aab02['length']&&_0x5bf0eb['overlay']||this['inner']['push'](new _0x17c25d(_0x5bf0eb['parser'],_0x3aab02['length']?_0x5bf0eb['parser']['startParse'](this['input'],enterFragments(_0x186bca,_0x3aab02),_0x3aab02):_0x5bf0eb['parser']['startParse'](''),_0x5bf0eb['overlay']?_0x5bf0eb['overlay']['map'](_0x4f9315=>new _0x19500d(_0x4f9315['from']-_0x2e3787['from'],_0x4f9315['to']-_0x2e3787['from'])):null,_0x2e3787['tree'],_0x3aab02['length']?_0x3aab02[0x0]['from']:_0x2e3787['from'])),_0x5bf0eb['overlay']?_0x3aab02['length']&&(_0x5de428={'ranges':_0x3aab02,'depth':0x0,'prev':_0x5de428}):_0x4528f4=!0x1;}}else{if(_0x27fec5&&(_0x1bef94=_0x27fec5['predicate'](_0x2e3787))&&(!0x0===_0x1bef94&&(_0x1bef94=new _0x19500d(_0x2e3787['from'],_0x2e3787['to'])),_0x1bef94['from']<_0x1bef94['to'])){let _0x97fed4=_0x27fec5['ranges']['length']-0x1;_0x97fed4>=0x0&&_0x27fec5['ranges'][_0x97fed4]['to']==_0x1bef94['from']?_0x27fec5['ranges'][_0x97fed4]={'from':_0x27fec5['ranges'][_0x97fed4]['from'],'to':_0x1bef94['to']}:_0x27fec5['ranges']['push'](_0x1bef94);}}}}}if(_0x4528f4&&_0x2e3787['firstChild']())_0x27fec5&&_0x27fec5['depth']++,_0x5de428&&_0x5de428['depth']++;else for(;!_0x2e3787['nextSibling']();){if(!_0x2e3787['parent']())break t;if(_0x27fec5&&!--_0x27fec5['depth']){let _0x28e1fc=_0x4d9f8d(this['ranges'],_0x27fec5['ranges']);_0x28e1fc['length']&&(_0x168abf(_0x28e1fc),this['inner']['splice'](_0x27fec5['index'],0x0,new _0x17c25d(_0x27fec5['parser'],_0x27fec5['parser']['startParse'](this['input'],enterFragments(_0x27fec5['mounts'],_0x28e1fc),_0x28e1fc),_0x27fec5['ranges']['map'](_0x1cd053=>new _0x19500d(_0x1cd053['from']-_0x27fec5['start'],_0x1cd053['to']-_0x27fec5['start'])),_0x27fec5['target'],_0x28e1fc[0x0]['from']))),_0x27fec5=_0x27fec5['prev'];}_0x5de428&&!--_0x5de428['depth']&&(_0x5de428=_0x5de428['prev']);}}}}function _0x5e1349(_0x58e84a,_0x5e96ba,_0x137e72){for(let _0x20794f of _0x58e84a){if(_0x20794f['from']>=_0x137e72)break;if(_0x20794f['to']>_0x5e96ba)return _0x20794f['from']<=_0x5e96ba&&_0x20794f['to']>=_0x137e72?0x2:0x1;}return 0x0;}function _0x1019e7(_0xf277de,_0x2ac3bf,_0x4cf7ea,_0x58e4fd,_0x11b569,_0x4da0aa){if(_0x2ac3bf<_0x4cf7ea){let _0x2e0609=_0xf277de['buffer'][_0x2ac3bf+0x1];_0x58e4fd['push'](_0xf277de['slice'](_0x2ac3bf,_0x4cf7ea,_0x2e0609)),_0x11b569['push'](_0x2e0609-_0x4da0aa);}}function materialize(_0x2a573e){let {node:_0x3399d9}=_0x2a573e,_0x2ed917=[],_0x3a8942=_0x3399d9['context']['buffer'];do{_0x2ed917['push'](_0x2a573e['index']),_0x2a573e['parent']();}while(!_0x2a573e['tree']);let _0x447c5f=_0x2a573e['tree'],_0xfec628=_0x447c5f['children']['indexOf'](_0x3a8942),_0x109c58=_0x447c5f['children'][_0xfec628],_0x1aa63b=_0x109c58['buffer'],_0x4effdf=[_0xfec628];_0x447c5f['children'][_0xfec628]=function _0x27bdbc(_0x5761ad,_0x4408a5,_0x1606bd,_0x184ade,_0x3558ce,_0x52718a){let _0x356a89=_0x2ed917[_0x52718a],_0x13ea35=[],_0x2f6340=[];_0x1019e7(_0x109c58,_0x5761ad,_0x356a89,_0x13ea35,_0x2f6340,_0x184ade);let _0xec5353=_0x1aa63b[_0x356a89+0x1],_0x31bedb=_0x1aa63b[_0x356a89+0x2];_0x4effdf['push'](_0x13ea35['length']);let _0x20a8ab=_0x52718a?_0x27bdbc(_0x356a89+0x4,_0x1aa63b[_0x356a89+0x3],_0x109c58['set']['types'][_0x1aa63b[_0x356a89]],_0xec5353,_0x31bedb-_0xec5353,_0x52718a-0x1):_0x3399d9['toTree']();return _0x13ea35['push'](_0x20a8ab),_0x2f6340['push'](_0xec5353-_0x184ade),_0x1019e7(_0x109c58,_0x1aa63b[_0x356a89+0x3],_0x4408a5,_0x13ea35,_0x2f6340,_0x184ade),new _0x2a3dd6(_0x1606bd,_0x13ea35,_0x2f6340,_0x3558ce);}(0x0,_0x1aa63b['length'],_0x5a565d['none'],0x0,_0x109c58['length'],_0x2ed917['length']-0x1);for(let _0x54bf1b of _0x4effdf){let _0x55a5eb=_0x2a573e['tree']['children'][_0x54bf1b],_0x1ddb01=_0x2a573e['tree']['positions'][_0x54bf1b];_0x2a573e['yield'](new _0x3c90a1(_0x55a5eb,_0x1ddb01+_0x2a573e['from'],_0x54bf1b,_0x2a573e['_tree']));}}class StructureCursor{constructor(_0xd3ceac,_0x5e33c5){this['offset']=_0x5e33c5,this['done']=!0x1,this['cursor']=_0xd3ceac['cursor'](IterMode['IncludeAnonymous']|IterMode['IgnoreMounts']);}['moveTo'](_0x4daf21){let {cursor:_0x482b43}=this,_0x18c845=_0x4daf21-this['offset'];for(;!this['done']&&_0x482b43['from']<_0x18c845;)_0x482b43['to']>=_0x4daf21&&_0x482b43['enter'](_0x18c845,0x1,IterMode['IgnoreOverlays']|IterMode['ExcludeBuffers'])||_0x482b43['next'](!0x1)||(this['done']=!0x0);}['hasNode'](_0x5d7d2b){if(this['moveTo'](_0x5d7d2b['from']),!this['done']&&this['cursor']['from']+this['offset']==_0x5d7d2b['from']&&this['cursor']['tree'])for(let _0x29ec7c=this['cursor']['tree'];;){if(_0x29ec7c==_0x5d7d2b['tree'])return!0x0;if(!(_0x29ec7c['children']['length']&&0x0==_0x29ec7c['positions'][0x0]&&_0x29ec7c['children'][0x0]instanceof _0x2a3dd6))break;_0x29ec7c=_0x29ec7c['children'][0x0];}return!0x1;}}let FragmentCursor$2=class{constructor(_0xdc5b41){var _0x2c7ceb;if(this['fragments']=_0xdc5b41,this['curTo']=0x0,this['fragI']=0x0,_0xdc5b41['length']){let _0x5a79eb=this['curFrag']=_0xdc5b41[0x0];this['curTo']=null!==(_0x2c7ceb=_0x5a79eb['tree']['prop'](stoppedInner))&&void 0x0!==_0x2c7ceb?_0x2c7ceb:_0x5a79eb['to'],this['inner']=new StructureCursor(_0x5a79eb['tree'],-_0x5a79eb['offset']);}else this['curFrag']=this['inner']=null;}['hasNode'](_0x4c34e0){for(;this['curFrag']&&_0x4c34e0['from']>=this['curTo'];)this['nextFrag']();return this['curFrag']&&this['curFrag']['from']<=_0x4c34e0['from']&&this['curTo']>=_0x4c34e0['to']&&this['inner']['hasNode'](_0x4c34e0);}['nextFrag'](){var _0x34bf62;if(this['fragI']++,this['fragI']==this['fragments']['length'])this['curFrag']=this['inner']=null;else{let _0xb95a63=this['curFrag']=this['fragments'][this['fragI']];this['curTo']=null!==(_0x34bf62=_0xb95a63['tree']['prop'](stoppedInner))&&void 0x0!==_0x34bf62?_0x34bf62:_0xb95a63['to'],this['inner']=new StructureCursor(_0xb95a63['tree'],-_0xb95a63['offset']);}}['findMounts'](_0x2c9494,_0x4a4757){var _0x13ff5a;let _0x406ccd=[];if(this['inner']){this['inner']['cursor']['moveTo'](_0x2c9494,0x1);for(let _0x84502b=this['inner']['cursor']['node'];_0x84502b;_0x84502b=_0x84502b['parent']){let _0x1a66d8=null===(_0x13ff5a=_0x84502b['tree'])||void 0x0===_0x13ff5a?void 0x0:_0x13ff5a['prop'](_0x258b5f['mounted']);if(_0x1a66d8&&_0x1a66d8['parser']==_0x4a4757)for(let _0x3ed631=this['fragI'];_0x3ed631<this['fragments']['length'];_0x3ed631++){let _0x2d78d8=this['fragments'][_0x3ed631];if(_0x2d78d8['from']>=_0x84502b['to'])break;_0x2d78d8['tree']==this['curFrag']['tree']&&_0x406ccd['push']({'frag':_0x2d78d8,'pos':_0x84502b['from']-_0x2d78d8['offset'],'mount':_0x1a66d8});}}}return _0x406ccd;}};function _0x4d9f8d(_0x23a8e6,_0x10f4f8){let _0x5f434a=null,_0x350868=_0x10f4f8;for(let _0x529e15=0x1,_0x582c75=0x0;_0x529e15<_0x23a8e6['length'];_0x529e15++){let _0x172a85=_0x23a8e6[_0x529e15-0x1]['to'],_0x3c879f=_0x23a8e6[_0x529e15]['from'];for(;_0x582c75<_0x350868['length'];_0x582c75++){let _0x230d55=_0x350868[_0x582c75];if(_0x230d55['from']>=_0x3c879f)break;_0x230d55['to']<=_0x172a85||(_0x5f434a||(_0x350868=_0x5f434a=_0x10f4f8['slice']()),_0x230d55['from']<_0x172a85?(_0x5f434a[_0x582c75]=new _0x19500d(_0x230d55['from'],_0x172a85),_0x230d55['to']>_0x3c879f&&_0x5f434a['splice'](_0x582c75+0x1,0x0,new _0x19500d(_0x3c879f,_0x230d55['to']))):_0x230d55['to']>_0x3c879f?_0x5f434a[_0x582c75--]=new _0x19500d(_0x3c879f,_0x230d55['to']):_0x5f434a['splice'](_0x582c75--,0x1));}}return _0x350868;}function _0x46919d(_0x31a954,_0x1dd82f,_0x83730d,_0x1082fd){let _0x354d6c=0x0,_0x5509dc=0x0,_0xcc9926=!0x1,_0x423c17=!0x1,_0xc70324=-0x3b9aca00,_0x2defbc=[];for(;;){let _0x48f3f4=_0x354d6c==_0x31a954['length']?0x3b9aca00:_0xcc9926?_0x31a954[_0x354d6c]['to']:_0x31a954[_0x354d6c]['from'],_0x4cdef0=_0x5509dc==_0x1dd82f['length']?0x3b9aca00:_0x423c17?_0x1dd82f[_0x5509dc]['to']:_0x1dd82f[_0x5509dc]['from'];if(_0xcc9926!=_0x423c17){let _0x459801=Math['max'](_0xc70324,_0x83730d),_0x4f55b0=Math['min'](_0x48f3f4,_0x4cdef0,_0x1082fd);_0x459801<_0x4f55b0&&_0x2defbc['push'](new _0x19500d(_0x459801,_0x4f55b0));}if(_0xc70324=Math['min'](_0x48f3f4,_0x4cdef0),0x3b9aca00==_0xc70324)break;_0x48f3f4==_0xc70324&&(_0xcc9926?(_0xcc9926=!0x1,_0x354d6c++):_0xcc9926=!0x0),_0x4cdef0==_0xc70324&&(_0x423c17?(_0x423c17=!0x1,_0x5509dc++):_0x423c17=!0x0);}return _0x2defbc;}function enterFragments(_0xa9cc0,_0x301733){let _0x4484de=[];for(let {pos:_0x1df70c,mount:_0x1363e3,frag:_0x4ab4b7}of _0xa9cc0){let _0x39d717=_0x1df70c+(_0x1363e3['overlay']?_0x1363e3['overlay'][0x0]['from']:0x0),_0x26e51c=_0x39d717+_0x1363e3['tree']['length'],_0x18ca83=Math['max'](_0x4ab4b7['from'],_0x39d717),_0x32781c=Math['min'](_0x4ab4b7['to'],_0x26e51c);if(_0x1363e3['overlay']){let _0x42884c=_0x46919d(_0x301733,_0x1363e3['overlay']['map'](_0x41ed10=>new _0x19500d(_0x41ed10['from']+_0x1df70c,_0x41ed10['to']+_0x1df70c)),_0x18ca83,_0x32781c);for(let _0x562e6b=0x0,_0x139281=_0x18ca83;;_0x562e6b++){let _0x16464e=_0x562e6b==_0x42884c['length'],_0x2b50de=_0x16464e?_0x32781c:_0x42884c[_0x562e6b]['from'];if(_0x2b50de>_0x139281&&_0x4484de['push'](new TreeFragment(_0x139281,_0x2b50de,_0x1363e3['tree'],-_0x39d717,_0x4ab4b7['from']>=_0x139281||_0x4ab4b7['openStart'],_0x4ab4b7['to']<=_0x2b50de||_0x4ab4b7['openEnd'])),_0x16464e)break;_0x139281=_0x42884c[_0x562e6b]['to'];}}else _0x4484de['push'](new TreeFragment(_0x18ca83,_0x32781c,_0x1363e3['tree'],-_0x39d717,_0x4ab4b7['from']>=_0x39d717||_0x4ab4b7['openStart'],_0x4ab4b7['to']<=_0x26e51c||_0x4ab4b7['openEnd']));}return _0x4484de;}let nextTagID=0x0;class _0x3ac04e{constructor(_0xa4fbd3,_0x4be7d6,_0x50cafc,_0x5dd90e){this['name']=_0xa4fbd3,this['set']=_0x4be7d6,this['base']=_0x50cafc,this['modified']=_0x5dd90e,this['id']=nextTagID++;}['toString'](){let {name:_0x50685c}=this;for(let _0x154163 of this['modified'])_0x154163['name']&&(_0x50685c=_0x154163['name']+'('+_0x50685c+')');return _0x50685c;}static['define'](_0x165094,_0x29dc13){let _0x1033b2='string'==typeof _0x165094?_0x165094:'?';if(_0x165094 instanceof _0x3ac04e&&(_0x29dc13=_0x165094),null==_0x29dc13?void 0x0:_0x29dc13['base'])throw new Error('Can\x20not\x20derive\x20from\x20a\x20modified\x20tag');let _0x2281e3=new _0x3ac04e(_0x1033b2,[],null,[]);if(_0x2281e3['set']['push'](_0x2281e3),_0x29dc13){for(let t of _0x29dc13['set'])_0x2281e3['set']['push'](t);}return _0x2281e3;}static['defineModifier'](_0x4f3b79){let _0x460c67=new _0x113658(_0x4f3b79);return _0x4effa4=>_0x4effa4['modified']['indexOf'](_0x460c67)>-0x1?_0x4effa4:_0x113658['get'](_0x4effa4['base']||_0x4effa4,_0x4effa4['modified']['concat'](_0x460c67)['sort']((_0x3d55f3,_0x25c680)=>_0x3d55f3['id']-_0x25c680['id']));}}let nextModifierID=0x0;class _0x113658{constructor(_0x1cfa9c){this['name']=_0x1cfa9c,this['instances']=[],this['id']=nextModifierID++;}static['get'](_0x21baa4,_0x102416){if(!_0x102416['length'])return _0x21baa4;let _0x3c36ae=_0x102416[0x0]['instances']['find'](t=>t['base']==_0x21baa4&&_0x9f14ad(_0x102416,t['modified']));if(_0x3c36ae)return _0x3c36ae;let _0x5c30e2=[],_0x51e64a=new _0x3ac04e(_0x21baa4['name'],_0x5c30e2,_0x21baa4,_0x102416);for(let _0x1e680a of _0x102416)_0x1e680a['instances']['push'](_0x51e64a);let _0x30e530=powerSet(_0x102416);for(let _0x577cdd of _0x21baa4['set'])if(!_0x577cdd['modified']['length']){for(let _0x5620cc of _0x30e530)_0x5c30e2['push'](_0x113658['get'](_0x577cdd,_0x5620cc));}return _0x51e64a;}}function _0x9f14ad(_0x17b03f,_0x364f48){return _0x17b03f['length']==_0x364f48['length']&&_0x17b03f['every']((_0x367700,_0x5e0c37)=>_0x367700==_0x364f48[_0x5e0c37]);}function powerSet(_0x4b496a){let _0x2b2bbb=[[]];for(let _0x36bb4f=0x0;_0x36bb4f<_0x4b496a['length'];_0x36bb4f++)for(let _0x5ae031=0x0,_0x363004=_0x2b2bbb['length'];_0x5ae031<_0x363004;_0x5ae031++)_0x2b2bbb['push'](_0x2b2bbb[_0x5ae031]['concat'](_0x4b496a[_0x36bb4f]));return _0x2b2bbb['sort']((_0x410ce2,_0x24660f)=>_0x24660f['length']-_0x410ce2['length']);}function styleTags(_0x5ac2f7){let _0xa00c7d=Object['create'](null);for(let _0x417148 in _0x5ac2f7){let _0x196bde=_0x5ac2f7[_0x417148];Array['isArray'](_0x196bde)||(_0x196bde=[_0x196bde]);for(let _0xf86501 of _0x417148['split']('\x20'))if(_0xf86501){let _0x322d96=[],_0x49967b=0x2,_0x383dd2=_0xf86501;for(let _0x50891a=0x0;;){if('...'==_0x383dd2&&_0x50891a>0x0&&_0x50891a+0x3==_0xf86501['length']){_0x49967b=0x1;break;}let _0x2bf223=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/['exec'](_0x383dd2);if(!_0x2bf223)throw new RangeError('Invalid\x20path:\x20'+_0xf86501);if(_0x322d96['push']('*'==_0x2bf223[0x0]?'':'\x22'==_0x2bf223[0x0][0x0]?JSON['parse'](_0x2bf223[0x0]):_0x2bf223[0x0]),_0x50891a+=_0x2bf223[0x0]['length'],_0x50891a==_0xf86501['length'])break;let _0x5e1197=_0xf86501[_0x50891a++];if(_0x50891a==_0xf86501['length']&&'!'==_0x5e1197){_0x49967b=0x0;break;}if('/'!=_0x5e1197)throw new RangeError('Invalid\x20path:\x20'+_0xf86501);_0x383dd2=_0xf86501['slice'](_0x50891a);}let _0x4ba216=_0x322d96['length']-0x1,_0x23ca6d=_0x322d96[_0x4ba216];if(!_0x23ca6d)throw new RangeError('Invalid\x20path:\x20'+_0xf86501);let _0x5ee4a3=new _0x4c9201(_0x196bde,_0x49967b,_0x4ba216>0x0?_0x322d96['slice'](0x0,_0x4ba216):null);_0xa00c7d[_0x23ca6d]=_0x5ee4a3['sort'](_0xa00c7d[_0x23ca6d]);}}return _0x48fee5['add'](_0xa00c7d);}const _0x48fee5=new _0x258b5f({'combine'(_0x57b1ab,_0x490d21){let _0x220f3d,_0x27add8,_0x587b85;for(;_0x57b1ab||_0x490d21;){if(!_0x57b1ab||_0x490d21&&_0x57b1ab['depth']>=_0x490d21['depth']?(_0x587b85=_0x490d21,_0x490d21=_0x490d21['next']):(_0x587b85=_0x57b1ab,_0x57b1ab=_0x57b1ab['next']),_0x220f3d&&_0x220f3d['mode']==_0x587b85['mode']&&!_0x587b85['context']&&!_0x220f3d['context'])continue;let _0x35e93e=new _0x4c9201(_0x587b85['tags'],_0x587b85['mode'],_0x587b85['context']);_0x220f3d?_0x220f3d['next']=_0x35e93e:_0x27add8=_0x35e93e,_0x220f3d=_0x35e93e;}return _0x27add8;}});class _0x4c9201{constructor(_0x54c103,_0x1f6f16,_0x59a864,_0x170f5b){this['tags']=_0x54c103,this['mode']=_0x1f6f16,this['context']=_0x59a864,this['next']=_0x170f5b;}get['opaque'](){return 0x0==this['mode'];}get['inherit'](){return 0x1==this['mode'];}['sort'](_0x28d91a){return!_0x28d91a||_0x28d91a['depth']<this['depth']?(this['next']=_0x28d91a,this):(_0x28d91a['next']=this['sort'](_0x28d91a['next']),_0x28d91a);}get['depth'](){return this['context']?this['context']['length']:0x0;}}function tagHighlighter(_0x24487f,_0x4371b0){let _0x117a51=Object['create'](null);for(let _0x48d846 of _0x24487f)if(Array['isArray'](_0x48d846['tag'])){for(let _0x5de3f8 of _0x48d846['tag'])_0x117a51[_0x5de3f8['id']]=_0x48d846['class'];}else _0x117a51[_0x48d846['tag']['id']]=_0x48d846['class'];let {scope:_0x1bc739,all:_0x1c9e45=null}=_0x4371b0||{};return{'style':_0x189b80=>{let _0x3c1c4b=_0x1c9e45;for(let _0x3ada23 of _0x189b80)for(let _0x1d91d6 of _0x3ada23['set']){let _0x1db1ea=_0x117a51[_0x1d91d6['id']];if(_0x1db1ea){_0x3c1c4b=_0x3c1c4b?_0x3c1c4b+'\x20'+_0x1db1ea:_0x1db1ea;break;}}return _0x3c1c4b;},'scope':_0x1bc739};}function highlightTags(_0x32551a,_0x480375){let _0xdb97c6=null;for(let _0x2d37bf of _0x32551a){let _0x474b6e=_0x2d37bf['style'](_0x480375);_0x474b6e&&(_0xdb97c6=_0xdb97c6?_0xdb97c6+'\x20'+_0x474b6e:_0x474b6e);}return _0xdb97c6;}function highlightTree(_0x5b0c91,_0x310f83,_0x437b50,_0x4c5220=0x0,_0x616f8d=_0x5b0c91['length']){let _0x5431cc=new HighlightBuilder(_0x4c5220,Array['isArray'](_0x310f83)?_0x310f83:[_0x310f83],_0x437b50);_0x5431cc['highlightRange'](_0x5b0c91['cursor'](),_0x4c5220,_0x616f8d,'',_0x5431cc['highlighters']),_0x5431cc['flush'](_0x616f8d);}_0x4c9201['empty']=new _0x4c9201([],0x2,null);class HighlightBuilder{constructor(_0x4de6eb,_0x15bc4e,_0x1873cb){this['at']=_0x4de6eb,this['highlighters']=_0x15bc4e,this['span']=_0x1873cb,this['class']='';}['startSpan'](_0x321f2b,_0x277cd9){_0x277cd9!=this['class']&&(this['flush'](_0x321f2b),_0x321f2b>this['at']&&(this['at']=_0x321f2b),this['class']=_0x277cd9);}['flush'](_0x4903a6){_0x4903a6>this['at']&&this['class']&&this['span'](this['at'],_0x4903a6,this['class']);}['highlightRange'](_0x5f396c,_0x2de54d,_0x41e647,_0x50788c,_0x56447f){let {type:_0x4fb870,from:_0x254fd8,to:_0x566b04}=_0x5f396c;if(_0x254fd8>=_0x41e647||_0x566b04<=_0x2de54d)return;_0x4fb870['isTop']&&(_0x56447f=this['highlighters']['filter'](_0x18cd42=>!_0x18cd42['scope']||_0x18cd42['scope'](_0x4fb870)));let _0x2dda8b=_0x50788c,_0x46fe3f=getStyleTags(_0x5f396c)||_0x4c9201['empty'],_0x6c946e=highlightTags(_0x56447f,_0x46fe3f['tags']);if(_0x6c946e&&(_0x2dda8b&&(_0x2dda8b+='\x20'),_0x2dda8b+=_0x6c946e,0x1==_0x46fe3f['mode']&&(_0x50788c+=(_0x50788c?'\x20':'')+_0x6c946e)),this['startSpan'](Math['max'](_0x2de54d,_0x254fd8),_0x2dda8b),_0x46fe3f['opaque'])return;let _0x3e93aa=_0x5f396c['tree']&&_0x5f396c['tree']['prop'](_0x258b5f['mounted']);if(_0x3e93aa&&_0x3e93aa['overlay']){let _0x5cda99=_0x5f396c['node']['enter'](_0x3e93aa['overlay'][0x0]['from']+_0x254fd8,0x1),_0x1c1788=this['highlighters']['filter'](_0x2c8d0b=>!_0x2c8d0b['scope']||_0x2c8d0b['scope'](_0x3e93aa['tree']['type'])),_0x53a600=_0x5f396c['firstChild']();for(let _0x27f89c=0x0,_0x2de5c8=_0x254fd8;;_0x27f89c++){let _0x2e4cbe=_0x27f89c<_0x3e93aa['overlay']['length']?_0x3e93aa['overlay'][_0x27f89c]:null,_0x5b3a58=_0x2e4cbe?_0x2e4cbe['from']+_0x254fd8:_0x566b04,_0x198700=Math['max'](_0x2de54d,_0x2de5c8),_0x5205b8=Math['min'](_0x41e647,_0x5b3a58);if(_0x198700<_0x5205b8&&_0x53a600){for(;_0x5f396c['from']<_0x5205b8&&(this['highlightRange'](_0x5f396c,_0x198700,_0x5205b8,_0x50788c,_0x56447f),this['startSpan'](Math['min'](_0x5205b8,_0x5f396c['to']),_0x2dda8b),!(_0x5f396c['to']>=_0x5b3a58)&&_0x5f396c['nextSibling']()););}if(!_0x2e4cbe||_0x5b3a58>_0x41e647)break;_0x2de5c8=_0x2e4cbe['to']+_0x254fd8,_0x2de5c8>_0x2de54d&&(this['highlightRange'](_0x5cda99['cursor'](),Math['max'](_0x2de54d,_0x2e4cbe['from']+_0x254fd8),Math['min'](_0x41e647,_0x2de5c8),'',_0x1c1788),this['startSpan'](Math['min'](_0x41e647,_0x2de5c8),_0x2dda8b));}_0x53a600&&_0x5f396c['parent']();}else{if(_0x5f396c['firstChild']()){_0x3e93aa&&(_0x50788c='');do{if(!(_0x5f396c['to']<=_0x2de54d)){if(_0x5f396c['from']>=_0x41e647)break;this['highlightRange'](_0x5f396c,_0x2de54d,_0x41e647,_0x50788c,_0x56447f),this['startSpan'](Math['min'](_0x41e647,_0x5f396c['to']),_0x2dda8b);}}while(_0x5f396c['nextSibling']());_0x5f396c['parent']();}}}}function getStyleTags(_0x417577){let _0x257c93=_0x417577['type']['prop'](_0x48fee5);for(;_0x257c93&&_0x257c93['context']&&!_0x417577['matchContext'](_0x257c93['context']);)_0x257c93=_0x257c93['next'];return _0x257c93||null;}const t=_0x3ac04e['define'],comment=t(),_0x17433a=t(),typeName=t(_0x17433a),propertyName=t(_0x17433a),literal=t(),string=t(literal),_0x5ed3af=t(literal),content=t(),_0x8a9109=t(content),_0x44883f=t(),operator=t(),punctuation=t(),bracket=t(punctuation),meta=t(),tags$1={'comment':comment,'lineComment':t(comment),'blockComment':t(comment),'docComment':t(comment),'name':_0x17433a,'variableName':t(_0x17433a),'typeName':typeName,'tagName':t(typeName),'propertyName':propertyName,'attributeName':t(propertyName),'className':t(_0x17433a),'labelName':t(_0x17433a),'namespace':t(_0x17433a),'macroName':t(_0x17433a),'literal':literal,'string':string,'docString':t(string),'character':t(string),'attributeValue':t(string),'number':_0x5ed3af,'integer':t(_0x5ed3af),'float':t(_0x5ed3af),'bool':t(literal),'regexp':t(literal),'escape':t(literal),'color':t(literal),'url':t(literal),'keyword':_0x44883f,'self':t(_0x44883f),'null':t(_0x44883f),'atom':t(_0x44883f),'unit':t(_0x44883f),'modifier':t(_0x44883f),'operatorKeyword':t(_0x44883f),'controlKeyword':t(_0x44883f),'definitionKeyword':t(_0x44883f),'moduleKeyword':t(_0x44883f),'operator':operator,'derefOperator':t(operator),'arithmeticOperator':t(operator),'logicOperator':t(operator),'bitwiseOperator':t(operator),'compareOperator':t(operator),'updateOperator':t(operator),'definitionOperator':t(operator),'typeOperator':t(operator),'controlOperator':t(operator),'punctuation':punctuation,'separator':t(punctuation),'bracket':bracket,'angleBracket':t(bracket),'squareBracket':t(bracket),'paren':t(bracket),'brace':t(bracket),'content':content,'heading':_0x8a9109,'heading1':t(_0x8a9109),'heading2':t(_0x8a9109),'heading3':t(_0x8a9109),'heading4':t(_0x8a9109),'heading5':t(_0x8a9109),'heading6':t(_0x8a9109),'contentSeparator':t(content),'list':t(content),'quote':t(content),'emphasis':t(content),'strong':t(content),'link':t(content),'monospace':t(content),'strikethrough':t(content),'inserted':t(),'deleted':t(),'changed':t(),'invalid':t(),'meta':meta,'documentMeta':t(meta),'annotation':t(meta),'processingInstruction':t(meta),'definition':_0x3ac04e['defineModifier']('definition'),'constant':_0x3ac04e['defineModifier']('constant'),'function':_0x3ac04e['defineModifier']('function'),'standard':_0x3ac04e['defineModifier']('standard'),'local':_0x3ac04e['defineModifier']('local'),'special':_0x3ac04e['defineModifier']('special')};for(let _0x2f8212 in tags$1){let _0x36fc4e=tags$1[_0x2f8212];_0x36fc4e instanceof _0x3ac04e&&(_0x36fc4e['name']=_0x2f8212);}var _0x297f42;tagHighlighter([{'tag':tags$1['link'],'class':'tok-link'},{'tag':tags$1['heading'],'class':'tok-heading'},{'tag':tags$1['emphasis'],'class':'tok-emphasis'},{'tag':tags$1['strong'],'class':'tok-strong'},{'tag':tags$1['keyword'],'class':'tok-keyword'},{'tag':tags$1['atom'],'class':'tok-atom'},{'tag':tags$1['bool'],'class':'tok-bool'},{'tag':tags$1['url'],'class':'tok-url'},{'tag':tags$1['labelName'],'class':'tok-labelName'},{'tag':tags$1['inserted'],'class':'tok-inserted'},{'tag':tags$1['deleted'],'class':'tok-deleted'},{'tag':tags$1['literal'],'class':'tok-literal'},{'tag':tags$1['string'],'class':'tok-string'},{'tag':tags$1['number'],'class':'tok-number'},{'tag':[tags$1['regexp'],tags$1['escape'],tags$1['special'](tags$1['string'])],'class':'tok-string2'},{'tag':tags$1['variableName'],'class':'tok-variableName'},{'tag':tags$1['local'](tags$1['variableName']),'class':'tok-variableName\x20tok-local'},{'tag':tags$1['definition'](tags$1['variableName']),'class':'tok-variableName\x20tok-definition'},{'tag':tags$1['special'](tags$1['variableName']),'class':'tok-variableName2'},{'tag':tags$1['definition'](tags$1['propertyName']),'class':'tok-propertyName\x20tok-definition'},{'tag':tags$1['typeName'],'class':'tok-typeName'},{'tag':tags$1['namespace'],'class':'tok-namespace'},{'tag':tags$1['className'],'class':'tok-className'},{'tag':tags$1['macroName'],'class':'tok-macroName'},{'tag':tags$1['propertyName'],'class':'tok-propertyName'},{'tag':tags$1['operator'],'class':'tok-operator'},{'tag':tags$1['comment'],'class':'tok-comment'},{'tag':tags$1['meta'],'class':'tok-meta'},{'tag':tags$1['invalid'],'class':'tok-invalid'},{'tag':tags$1['punctuation'],'class':'tok-punctuation'}]);const languageDataProp=new _0x258b5f();function defineLanguageFacet(_0x25475d){return Facet['define']({'combine':_0x25475d?_0xa63bd0=>_0xa63bd0['concat'](_0x25475d):void 0x0});}const _0x5b84b4=new _0x258b5f();class _0x2b9943{constructor(_0x2b9aec,_0x4e8e58,_0x2776a7=[],_0x55ab20=''){this['data']=_0x2b9aec,this['name']=_0x55ab20,EditorState['prototype']['hasOwnProperty']('tree')||Object['defineProperty'](EditorState['prototype'],'tree',{'get'(){return syntaxTree(this);}}),this['parser']=_0x4e8e58,this['extension']=[_0x240963['of'](this),EditorState['languageData']['of']((_0x31c18e,_0x14b3d3,_0x2ab956)=>{let _0x24f56b=topNodeAt(_0x31c18e,_0x14b3d3,_0x2ab956),_0x437f39=_0x24f56b['type']['prop'](languageDataProp);if(!_0x437f39)return[];let _0x11603a=_0x31c18e['facet'](_0x437f39),_0x221024=_0x24f56b['type']['prop'](_0x5b84b4);if(_0x221024){let _0x38ff94=_0x24f56b['resolve'](_0x14b3d3-_0x24f56b['from'],_0x2ab956);for(let _0x4072d5 of _0x221024)if(_0x4072d5['test'](_0x38ff94,_0x31c18e)){let _0x3d4486=_0x31c18e['facet'](_0x4072d5['facet']);return'replace'==_0x4072d5['type']?_0x3d4486:_0x3d4486['concat'](_0x11603a);}}return _0x11603a;})]['concat'](_0x2776a7);}['isActiveAt'](_0x1283f7,_0x3e2c60,_0x149f7c=-0x1){return topNodeAt(_0x1283f7,_0x3e2c60,_0x149f7c)['type']['prop'](languageDataProp)==this['data'];}['findRegions'](_0x37ad9a){let _0x1462ba=_0x37ad9a['facet'](_0x240963);if((null==_0x1462ba?void 0x0:_0x1462ba['data'])==this['data'])return[{'from':0x0,'to':_0x37ad9a['doc']['length']}];if(!_0x1462ba||!_0x1462ba['allowsNesting'])return[];let _0x235bdd=[],_0x147280=(_0x254079,_0x4fd0ad)=>{if(_0x254079['prop'](languageDataProp)==this['data'])return void _0x235bdd['push']({'from':_0x4fd0ad,'to':_0x4fd0ad+_0x254079['length']});let _0x28af6d=_0x254079['prop'](_0x258b5f['mounted']);if(_0x28af6d){if(_0x28af6d['tree']['prop'](languageDataProp)==this['data']){if(_0x28af6d['overlay']){for(let _0xe2bf76 of _0x28af6d['overlay'])_0x235bdd['push']({'from':_0xe2bf76['from']+_0x4fd0ad,'to':_0xe2bf76['to']+_0x4fd0ad});}else _0x235bdd['push']({'from':_0x4fd0ad,'to':_0x4fd0ad+_0x254079['length']});return;}if(_0x28af6d['overlay']){let _0x3ed2dd=_0x235bdd['length'];if(_0x147280(_0x28af6d['tree'],_0x28af6d['overlay'][0x0]['from']+_0x4fd0ad),_0x235bdd['length']>_0x3ed2dd)return;}}for(let _0x5d5bc9=0x0;_0x5d5bc9<_0x254079['children']['length'];_0x5d5bc9++){let _0x1de6aa=_0x254079['children'][_0x5d5bc9];_0x1de6aa instanceof _0x2a3dd6&&_0x147280(_0x1de6aa,_0x254079['positions'][_0x5d5bc9]+_0x4fd0ad);}};return _0x147280(syntaxTree(_0x37ad9a),0x0),_0x235bdd;}get['allowsNesting'](){return!0x0;}}function topNodeAt(_0x30d300,_0x3c2da9,_0x54b81d){let _0x40bfd9=_0x30d300['facet'](_0x240963),_0x9edc03=syntaxTree(_0x30d300)['topNode'];if(!_0x40bfd9||_0x40bfd9['allowsNesting']){for(let _0x503dbc=_0x9edc03;_0x503dbc;_0x503dbc=_0x503dbc['enter'](_0x3c2da9,_0x54b81d,IterMode['ExcludeBuffers']))_0x503dbc['type']['isTop']&&(_0x9edc03=_0x503dbc);}return _0x9edc03;}_0x2b9943['setState']=StateEffect['define']();class _0x383241 extends _0x2b9943{constructor(_0x4f54e7,_0x4900ea,_0x1aab95){super(_0x4f54e7,_0x4900ea,[],_0x1aab95),this['parser']=_0x4900ea;}static['define'](_0x3bffdb){let _0x2f39a0=defineLanguageFacet(_0x3bffdb['languageData']);return new _0x383241(_0x2f39a0,_0x3bffdb['parser']['configure']({'props':[languageDataProp['add'](_0x6d2e75=>_0x6d2e75['isTop']?_0x2f39a0:void 0x0)]}),_0x3bffdb['name']);}['configure'](_0x1764c5,_0x508c1d){return new _0x383241(this['data'],this['parser']['configure'](_0x1764c5),_0x508c1d||this['name']);}get['allowsNesting'](){return this['parser']['hasWrappers']();}}function syntaxTree(_0x354f1a){let _0x276ac9=_0x354f1a['field'](_0x2b9943['state'],!0x1);return _0x276ac9?_0x276ac9['tree']:_0x2a3dd6['empty'];}class DocInput{constructor(_0x92e606){this['doc']=_0x92e606,this['cursorPos']=0x0,this['string']='',this['cursor']=_0x92e606['iter']();}get['length'](){return this['doc']['length'];}['syncTo'](_0x4c4fee){return this['string']=this['cursor']['next'](_0x4c4fee-this['cursorPos'])['value'],this['cursorPos']=_0x4c4fee+this['string']['length'],this['cursorPos']-this['string']['length'];}['chunk'](_0x23070d){return this['syncTo'](_0x23070d),this['string'];}get['lineChunks'](){return!0x0;}['read'](_0x5281a8,_0x40ba7b){let _0x37df4b=this['cursorPos']-this['string']['length'];return _0x5281a8<_0x37df4b||_0x40ba7b>=this['cursorPos']?this['doc']['sliceString'](_0x5281a8,_0x40ba7b):this['string']['slice'](_0x5281a8-_0x37df4b,_0x40ba7b-_0x37df4b);}}let currentContext=null;class ParseContext{constructor(_0xe2cfef,_0x218c67,_0xbc98c5=[],_0x525b9c,_0x260765,_0x4cd634,_0x1e82cc,_0x5e0414){this['parser']=_0xe2cfef,this['state']=_0x218c67,this['fragments']=_0xbc98c5,this['tree']=_0x525b9c,this['treeLen']=_0x260765,this['viewport']=_0x4cd634,this['skipped']=_0x1e82cc,this['scheduleOn']=_0x5e0414,this['parse']=null,this['tempSkipped']=[];}static['create'](_0x4ae00c,_0x382ab0,_0x5af9f4){return new ParseContext(_0x4ae00c,_0x382ab0,[],_0x2a3dd6['empty'],0x0,_0x5af9f4,[],null);}['startParse'](){return this['parser']['startParse'](new DocInput(this['state']['doc']),this['fragments']);}['work'](_0x4f5a09,_0x403d55){return null!=_0x403d55&&_0x403d55>=this['state']['doc']['length']&&(_0x403d55=void 0x0),this['tree']!=_0x2a3dd6['empty']&&this['isDone'](null!=_0x403d55?_0x403d55:this['state']['doc']['length'])?(this['takeTree'](),!0x0):this['withContext'](()=>{var _0x31c641;if('number'==typeof _0x4f5a09){let _0x5bb5fb=Date['now']()+_0x4f5a09;_0x4f5a09=()=>Date['now']()>_0x5bb5fb;}for(this['parse']||(this['parse']=this['startParse']()),null!=_0x403d55&&(null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x403d55)&&_0x403d55<this['state']['doc']['length']&&this['parse']['stopAt'](_0x403d55);;){let _0x1a574f=this['parse']['advance']();if(_0x1a574f){if(this['fragments']=this['withoutTempSkipped'](TreeFragment['addTree'](_0x1a574f,this['fragments'],null!=this['parse']['stoppedAt'])),this['treeLen']=null!==(_0x31c641=this['parse']['stoppedAt'])&&void 0x0!==_0x31c641?_0x31c641:this['state']['doc']['length'],this['tree']=_0x1a574f,this['parse']=null,!(this['treeLen']<(null!=_0x403d55?_0x403d55:this['state']['doc']['length'])))return!0x0;this['parse']=this['startParse']();}if(_0x4f5a09())return!0x1;}});}['takeTree'](){let _0x332830,_0x402d28;this['parse']&&(_0x332830=this['parse']['parsedPos'])>=this['treeLen']&&((null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x332830)&&this['parse']['stopAt'](_0x332830),this['withContext'](()=>{for(;!(_0x402d28=this['parse']['advance']()););}),this['treeLen']=_0x332830,this['tree']=_0x402d28,this['fragments']=this['withoutTempSkipped'](TreeFragment['addTree'](this['tree'],this['fragments'],!0x0)),this['parse']=null);}['withContext'](_0x5965e7){let _0x531635=currentContext;currentContext=this;try{return _0x5965e7();}finally{currentContext=_0x531635;}}['withoutTempSkipped'](_0xc1e3d6){for(let _0x27e333;_0x27e333=this['tempSkipped']['pop']();)_0xc1e3d6=cutFragments(_0xc1e3d6,_0x27e333['from'],_0x27e333['to']);return _0xc1e3d6;}['changes'](_0x31b4bf,_0x387472){let {fragments:_0x4ee068,tree:_0x155376,treeLen:_0x2bb7a8,viewport:_0x1fdf18,skipped:_0x173fa6}=this;if(this['takeTree'](),!_0x31b4bf['empty']){let _0x4ecccc=[];if(_0x31b4bf['iterChangedRanges']((_0x481c0e,_0x430643,_0xb2c7d3,_0x4694b1)=>_0x4ecccc['push']({'fromA':_0x481c0e,'toA':_0x430643,'fromB':_0xb2c7d3,'toB':_0x4694b1})),_0x4ee068=TreeFragment['applyChanges'](_0x4ee068,_0x4ecccc),_0x155376=_0x2a3dd6['empty'],_0x2bb7a8=0x0,_0x1fdf18={'from':_0x31b4bf['mapPos'](_0x1fdf18['from'],-0x1),'to':_0x31b4bf['mapPos'](_0x1fdf18['to'],0x1)},this['skipped']['length']){_0x173fa6=[];for(let _0x14e50d of this['skipped']){let _0x2f4d14=_0x31b4bf['mapPos'](_0x14e50d['from'],0x1),_0x44bcac=_0x31b4bf['mapPos'](_0x14e50d['to'],-0x1);_0x2f4d14<_0x44bcac&&_0x173fa6['push']({'from':_0x2f4d14,'to':_0x44bcac});}}}return new ParseContext(this['parser'],_0x387472,_0x4ee068,_0x155376,_0x2bb7a8,_0x1fdf18,_0x173fa6,this['scheduleOn']);}['updateViewport'](_0x131a96){if(this['viewport']['from']==_0x131a96['from']&&this['viewport']['to']==_0x131a96['to'])return!0x1;this['viewport']=_0x131a96;let _0x3b6d9a=this['skipped']['length'];for(let _0x40837b=0x0;_0x40837b<this['skipped']['length'];_0x40837b++){let {from:_0x442446,to:_0x569de6}=this['skipped'][_0x40837b];_0x442446<_0x131a96['to']&&_0x569de6>_0x131a96['from']&&(this['fragments']=cutFragments(this['fragments'],_0x442446,_0x569de6),this['skipped']['splice'](_0x40837b--,0x1));}return!(this['skipped']['length']>=_0x3b6d9a)&&(this['reset'](),!0x0);}['reset'](){this['parse']&&(this['takeTree'](),this['parse']=null);}['skipUntilInView'](_0x5c1ffd,_0x20a750){this['skipped']['push']({'from':_0x5c1ffd,'to':_0x20a750});}static['getSkippingParser'](_0x214a50){return new class extends _0x20778a{['createParse'](_0x26050e,_0x1e824f,_0x33b91f){let _0x56ee33=_0x33b91f[0x0]['from'],_0x202d16=_0x33b91f[_0x33b91f['length']-0x1]['to'];return{'parsedPos':_0x56ee33,'advance'(){let _0x783cec=currentContext;if(_0x783cec){for(let _0x965016 of _0x33b91f)_0x783cec['tempSkipped']['push'](_0x965016);_0x214a50&&(_0x783cec['scheduleOn']=_0x783cec['scheduleOn']?Promise['all']([_0x783cec['scheduleOn'],_0x214a50]):_0x214a50);}return this['parsedPos']=_0x202d16,new _0x2a3dd6(_0x5a565d['none'],[],[],_0x202d16-_0x56ee33);},'stoppedAt':null,'stopAt'(){}};}}();}['isDone'](_0x42e34e){_0x42e34e=Math['min'](_0x42e34e,this['state']['doc']['length']);let _0x1d3d44=this['fragments'];return this['treeLen']>=_0x42e34e&&_0x1d3d44['length']&&0x0==_0x1d3d44[0x0]['from']&&_0x1d3d44[0x0]['to']>=_0x42e34e;}static['get'](){return currentContext;}}function cutFragments(_0x468302,_0x189f78,_0x15e05c){return TreeFragment['applyChanges'](_0x468302,[{'fromA':_0x189f78,'toA':_0x15e05c,'fromB':_0x189f78,'toB':_0x15e05c}]);}class LanguageState{constructor(_0x438b19){this['context']=_0x438b19,this['tree']=_0x438b19['tree'];}['apply'](_0x38605c){if(!_0x38605c['docChanged']&&this['tree']==this['context']['tree'])return this;let _0x1cc820=this['context']['changes'](_0x38605c['changes'],_0x38605c['state']),_0x23f327=this['context']['treeLen']==_0x38605c['startState']['doc']['length']?void 0x0:Math['max'](_0x38605c['changes']['mapPos'](this['context']['treeLen']),_0x1cc820['viewport']['to']);return _0x1cc820['work'](0x14,_0x23f327)||_0x1cc820['takeTree'](),new LanguageState(_0x1cc820);}static['init'](_0x10d6ba){let _0x3fedde=Math['min'](0xbb8,_0x10d6ba['doc']['length']),_0x258b79=ParseContext['create'](_0x10d6ba['facet'](_0x240963)['parser'],_0x10d6ba,{'from':0x0,'to':_0x3fedde});return _0x258b79['work'](0x14,_0x3fedde)||_0x258b79['takeTree'](),new LanguageState(_0x258b79);}}_0x2b9943['state']=StateField['define']({'create':LanguageState['init'],'update'(_0x4f1a61,_0x2c3bd5){for(let _0x4be1b2 of _0x2c3bd5['effects'])if(_0x4be1b2['is'](_0x2b9943['setState']))return _0x4be1b2['value'];return _0x2c3bd5['startState']['facet'](_0x240963)!=_0x2c3bd5['state']['facet'](_0x240963)?LanguageState['init'](_0x2c3bd5['state']):_0x4f1a61['apply'](_0x2c3bd5);}});let requestIdle=_0x3cc545=>{let _0x1febb4=setTimeout(()=>_0x3cc545(),0x1f4);return()=>clearTimeout(_0x1febb4);};'undefined'!=typeof requestIdleCallback&&(requestIdle=_0x28164f=>{let _0x5bc141=-0x1,_0x14dbec=setTimeout(()=>{_0x5bc141=requestIdleCallback(_0x28164f,{'timeout':0x190});},0x64);return()=>_0x5bc141<0x0?clearTimeout(_0x14dbec):cancelIdleCallback(_0x5bc141);});const isInputPending='undefined'!=typeof navigator&&(null===(_0x297f42=navigator['scheduling'])||void 0x0===_0x297f42?void 0x0:_0x297f42['isInputPending'])?()=>navigator['scheduling']['isInputPending']():null,_0x37e2f0=_0x1d7143['fromClass'](class{constructor(_0x29c316){this['view']=_0x29c316,this['working']=null,this['workScheduled']=0x0,this['chunkEnd']=-0x1,this['chunkBudget']=-0x1,this['work']=this['work']['bind'](this),this['scheduleWork']();}['update'](_0x1c2893){let _0x4fc103=this['view']['state']['field'](_0x2b9943['state'])['context'];(_0x4fc103['updateViewport'](_0x1c2893['view']['viewport'])||this['view']['viewport']['to']>_0x4fc103['treeLen'])&&this['scheduleWork'](),(_0x1c2893['docChanged']||_0x1c2893['selectionSet'])&&(this['view']['hasFocus']&&(this['chunkBudget']+=0x32),this['scheduleWork']()),this['checkAsyncSchedule'](_0x4fc103);}['scheduleWork'](){if(this['working'])return;let {state:_0x1bc002}=this['view'],_0x4a38e7=_0x1bc002['field'](_0x2b9943['state']);_0x4a38e7['tree']==_0x4a38e7['context']['tree']&&_0x4a38e7['context']['isDone'](_0x1bc002['doc']['length'])||(this['working']=requestIdle(this['work']));}['work'](_0x2cb9f1){this['working']=null;let _0x44c217=Date['now']();if(this['chunkEnd']<_0x44c217&&(this['chunkEnd']<0x0||this['view']['hasFocus'])&&(this['chunkEnd']=_0x44c217+0x7530,this['chunkBudget']=0xbb8),this['chunkBudget']<=0x0)return;let {state:_0x2b5d33,viewport:{to:_0x5326f0}}=this['view'],_0x2eb447=_0x2b5d33['field'](_0x2b9943['state']);if(_0x2eb447['tree']==_0x2eb447['context']['tree']&&_0x2eb447['context']['isDone'](_0x5326f0+0x186a0))return;let _0x50fb74=Date['now']()+Math['min'](this['chunkBudget'],0x64,_0x2cb9f1&&!isInputPending?Math['max'](0x19,_0x2cb9f1['timeRemaining']()-0x5):0x3b9aca00),_0x245ac0=_0x2eb447['context']['treeLen']<_0x5326f0&&_0x2b5d33['doc']['length']>_0x5326f0+0x3e8,_0x4fc3a4=_0x2eb447['context']['work'](()=>isInputPending&&isInputPending()||Date['now']()>_0x50fb74,_0x5326f0+(_0x245ac0?0x0:0x186a0));this['chunkBudget']-=Date['now']()-_0x44c217,(_0x4fc3a4||this['chunkBudget']<=0x0)&&(_0x2eb447['context']['takeTree'](),this['view']['dispatch']({'effects':_0x2b9943['setState']['of'](new LanguageState(_0x2eb447['context']))})),this['chunkBudget']>0x0&&(!_0x4fc3a4||_0x245ac0)&&this['scheduleWork'](),this['checkAsyncSchedule'](_0x2eb447['context']);}['checkAsyncSchedule'](_0x7d51e2){_0x7d51e2['scheduleOn']&&(this['workScheduled']++,_0x7d51e2['scheduleOn']['then'](()=>this['scheduleWork']())['catch'](_0x3c653c=>logException(this['view']['state'],_0x3c653c))['then'](()=>this['workScheduled']--),_0x7d51e2['scheduleOn']=null);}['destroy'](){this['working']&&this['working']();}['isWorking'](){return!!(this['working']||this['workScheduled']>0x0);}},{'eventHandlers':{'focus'(){this['scheduleWork']();}}}),_0x240963=Facet['define']({'combine':_0x5a45c3=>_0x5a45c3['length']?_0x5a45c3[0x0]:null,'enables':_0x17d536=>[_0x2b9943['state'],_0x37e2f0,EditorView['contentAttributes']['compute']([_0x17d536],_0x11a9d4=>{let _0x5486d8=_0x11a9d4['facet'](_0x17d536);return _0x5486d8&&_0x5486d8['name']?{'data-language':_0x5486d8['name']}:{};})]});class LanguageSupport{constructor(_0x5f45a9,_0x81ab23=[]){this['language']=_0x5f45a9,this['support']=_0x81ab23,this['extension']=[_0x5f45a9,_0x81ab23];}}class LanguageDescription{constructor(_0x58521c,_0xba3f7c,_0x129eff,_0x510743,_0x158bd2,_0x1f845e=void 0x0){this['name']=_0x58521c,this['alias']=_0xba3f7c,this['extensions']=_0x129eff,this['filename']=_0x510743,this['loadFunc']=_0x158bd2,this['support']=_0x1f845e,this['loading']=null;}['load'](){return this['loading']||(this['loading']=this['loadFunc']()['then'](_0x512b16=>this['support']=_0x512b16,_0x282932=>{throw this['loading']=null,_0x282932;}));}static['of'](_0x36a5f5){let {load:_0x6c169e,support:_0x49a9ab}=_0x36a5f5;if(!_0x6c169e){if(!_0x49a9ab)throw new RangeError('Must\x20pass\x20either\x20\x27load\x27\x20or\x20\x27support\x27\x20to\x20LanguageDescription.of');_0x6c169e=()=>Promise['resolve'](_0x49a9ab);}return new LanguageDescription(_0x36a5f5['name'],(_0x36a5f5['alias']||[])['concat'](_0x36a5f5['name'])['map'](_0x374699=>_0x374699['toLowerCase']()),_0x36a5f5['extensions']||[],_0x36a5f5['filename'],_0x6c169e,_0x49a9ab);}static['matchFilename'](_0x394c30,_0x63685b){for(let _0x4705e0 of _0x394c30)if(_0x4705e0['filename']&&_0x4705e0['filename']['test'](_0x63685b))return _0x4705e0;let _0x57bcf1=/\.([^.]+)$/['exec'](_0x63685b);if(_0x57bcf1){for(let _0x3a8c30 of _0x394c30)if(_0x3a8c30['extensions']['indexOf'](_0x57bcf1[0x1])>-0x1)return _0x3a8c30;}return null;}static['matchLanguageName'](_0x3d824d,_0x587cf2,_0x4ddcbc=!0x0){_0x587cf2=_0x587cf2['toLowerCase']();for(let _0x127b03 of _0x3d824d)if(_0x127b03['alias']['some'](_0x8973a6=>_0x8973a6==_0x587cf2))return _0x127b03;if(_0x4ddcbc){for(let _0x4264f6 of _0x3d824d)for(let _0x7dc442 of _0x4264f6['alias']){let _0x15d084=_0x587cf2['indexOf'](_0x7dc442);if(_0x15d084>-0x1&&(_0x7dc442['length']>0x2||!/\w/['test'](_0x587cf2[_0x15d084-0x1])&&!/\w/['test'](_0x587cf2[_0x15d084+_0x7dc442['length']])))return _0x4264f6;}}return null;}}const indentService=Facet['define'](),indentUnit=Facet['define']({'combine':_0x3c2457=>{if(!_0x3c2457['length'])return'\x20\x20';let _0x688023=_0x3c2457[0x0];if(!_0x688023||/\S/['test'](_0x688023)||Array['from'](_0x688023)['some'](_0x1bca79=>_0x1bca79!=_0x688023[0x0]))throw new Error('Invalid\x20indent\x20unit:\x20'+JSON['stringify'](_0x3c2457[0x0]));return _0x688023;}});function getIndentUnit(_0x39158d){let _0x15f0c7=_0x39158d['facet'](indentUnit);return 0x9==_0x15f0c7['charCodeAt'](0x0)?_0x39158d['tabSize']*_0x15f0c7['length']:_0x15f0c7['length'];}function indentString(_0x4997b2,_0xbe8c8d){let _0x53df41='',_0x1e7530=_0x4997b2['tabSize'],_0xef1673=_0x4997b2['facet'](indentUnit)[0x0];if('\x09'==_0xef1673){for(;_0xbe8c8d>=_0x1e7530;)_0x53df41+='\x09',_0xbe8c8d-=_0x1e7530;_0xef1673='\x20';}for(let _0x377226=0x0;_0x377226<_0xbe8c8d;_0x377226++)_0x53df41+=_0xef1673;return _0x53df41;}function getIndentation(_0x2e0164,_0x235779){_0x2e0164 instanceof EditorState&&(_0x2e0164=new IndentContext(_0x2e0164));for(let _0x1bda8c of _0x2e0164['state']['facet'](indentService)){let _0x2207d0=_0x1bda8c(_0x2e0164,_0x235779);if(void 0x0!==_0x2207d0)return _0x2207d0;}let _0x357ac1=syntaxTree(_0x2e0164['state']);return _0x357ac1['length']>=_0x235779?syntaxIndentation(_0x2e0164,_0x357ac1,_0x235779):null;}class IndentContext{constructor(_0x20bd6b,_0x28f67e={}){this['state']=_0x20bd6b,this['options']=_0x28f67e,this['unit']=getIndentUnit(_0x20bd6b);}['lineAt'](_0x20d4e6,_0x105f00=0x1){let _0x26e33c=this['state']['doc']['lineAt'](_0x20d4e6),{simulateBreak:_0x1cf40b,simulateDoubleBreak:_0x402d02}=this['options'];return null!=_0x1cf40b&&_0x1cf40b>=_0x26e33c['from']&&_0x1cf40b<=_0x26e33c['to']?_0x402d02&&_0x1cf40b==_0x20d4e6?{'text':'','from':_0x20d4e6}:(_0x105f00<0x0?_0x1cf40b<_0x20d4e6:_0x1cf40b<=_0x20d4e6)?{'text':_0x26e33c['text']['slice'](_0x1cf40b-_0x26e33c['from']),'from':_0x1cf40b}:{'text':_0x26e33c['text']['slice'](0x0,_0x1cf40b-_0x26e33c['from']),'from':_0x26e33c['from']}:_0x26e33c;}['textAfterPos'](_0x5857e2,_0x3abdb1=0x1){if(this['options']['simulateDoubleBreak']&&_0x5857e2==this['options']['simulateBreak'])return'';let {text:_0x2c1d40,from:_0x4ee815}=this['lineAt'](_0x5857e2,_0x3abdb1);return _0x2c1d40['slice'](_0x5857e2-_0x4ee815,Math['min'](_0x2c1d40['length'],_0x5857e2+0x64-_0x4ee815));}['column'](_0x23b648,_0x527a7c=0x1){let {text:_0x40645e,from:_0x27d882}=this['lineAt'](_0x23b648,_0x527a7c),_0x3d78d1=this['countColumn'](_0x40645e,_0x23b648-_0x27d882),_0x2cf9ad=this['options']['overrideIndentation']?this['options']['overrideIndentation'](_0x27d882):-0x1;return _0x2cf9ad>-0x1&&(_0x3d78d1+=_0x2cf9ad-this['countColumn'](_0x40645e,_0x40645e['search'](/\S|$/))),_0x3d78d1;}['countColumn'](_0x28ffe5,_0x5366e0=_0x28ffe5['length']){return countColumn(_0x28ffe5,this['state']['tabSize'],_0x5366e0);}['lineIndent'](_0x1dad9d,_0x3d95fc=0x1){let {text:_0x3b9b27,from:_0x5f1ca3}=this['lineAt'](_0x1dad9d,_0x3d95fc),_0x4a4a77=this['options']['overrideIndentation'];if(_0x4a4a77){let _0x42fa29=_0x4a4a77(_0x5f1ca3);if(_0x42fa29>-0x1)return _0x42fa29;}return this['countColumn'](_0x3b9b27,_0x3b9b27['search'](/\S|$/));}get['simulatedBreak'](){return this['options']['simulateBreak']||null;}}const indentNodeProp=new _0x258b5f();function syntaxIndentation(_0x3aed24,_0xd810b5,_0x560fcb){let _0x33df5c=_0xd810b5['resolveStack'](_0x560fcb),_0xdc3d7b=_0xd810b5['resolveInner'](_0x560fcb,-0x1)['resolve'](_0x560fcb,0x0)['enterUnfinishedNodesBefore'](_0x560fcb);if(_0xdc3d7b!=_0x33df5c['node']){let _0x1defa4=[];for(let _0x1099a1=_0xdc3d7b;_0x1099a1&&!(_0x1099a1['from']<_0x33df5c['node']['from']||_0x1099a1['to']>_0x33df5c['node']['to']||_0x1099a1['from']==_0x33df5c['node']['from']&&_0x1099a1['type']==_0x33df5c['node']['type']);_0x1099a1=_0x1099a1['parent'])_0x1defa4['push'](_0x1099a1);for(let _0x521c97=_0x1defa4['length']-0x1;_0x521c97>=0x0;_0x521c97--)_0x33df5c={'node':_0x1defa4[_0x521c97],'next':_0x33df5c};}return indentFor(_0x33df5c,_0x3aed24,_0x560fcb);}function indentFor(_0x3d95b5,_0x1bb356,_0x22e3d5){for(let _0x6a9ece=_0x3d95b5;_0x6a9ece;_0x6a9ece=_0x6a9ece['next']){let _0x3bff66=indentStrategy(_0x6a9ece['node']);if(_0x3bff66)return _0x3bff66(TreeIndentContext['create'](_0x1bb356,_0x22e3d5,_0x6a9ece));}return 0x0;}function _0x2de72f(_0x9380fa){return _0x9380fa['pos']==_0x9380fa['options']['simulateBreak']&&_0x9380fa['options']['simulateDoubleBreak'];}function indentStrategy(_0x3544b){let _0x46dfe8=_0x3544b['type']['prop'](indentNodeProp);if(_0x46dfe8)return _0x46dfe8;let _0x554ef6,_0xe99c9f=_0x3544b['firstChild'];if(_0xe99c9f&&(_0x554ef6=_0xe99c9f['type']['prop'](_0x258b5f['closedBy']))){let _0x276397=_0x3544b['lastChild'],_0x363704=_0x276397&&_0x554ef6['indexOf'](_0x276397['name'])>-0x1;return _0x4297e4=>delimitedStrategy(_0x4297e4,!0x0,0x1,void 0x0,_0x363704&&!_0x2de72f(_0x4297e4)?_0x276397['from']:void 0x0);}return null==_0x3544b['parent']?topIndent:null;}function topIndent(){return 0x0;}class TreeIndentContext extends IndentContext{constructor(_0x20cb8b,_0x317ce5,_0x44acd2){super(_0x20cb8b['state'],_0x20cb8b['options']),this['base']=_0x20cb8b,this['pos']=_0x317ce5,this['context']=_0x44acd2;}get['node'](){return this['context']['node'];}static['create'](_0x5e2c17,_0x1e6bf7,_0x39d141){return new TreeIndentContext(_0x5e2c17,_0x1e6bf7,_0x39d141);}get['textAfter'](){return this['textAfterPos'](this['pos']);}get['baseIndent'](){return this['baseIndentFor'](this['node']);}['baseIndentFor'](_0x1ef4aa){let _0x2d9488=this['state']['doc']['lineAt'](_0x1ef4aa['from']);for(;;){let _0x8a8846=_0x1ef4aa['resolve'](_0x2d9488['from']);for(;_0x8a8846['parent']&&_0x8a8846['parent']['from']==_0x8a8846['from'];)_0x8a8846=_0x8a8846['parent'];if(isParent(_0x8a8846,_0x1ef4aa))break;_0x2d9488=this['state']['doc']['lineAt'](_0x8a8846['from']);}return this['lineIndent'](_0x2d9488['from']);}['continue'](){return indentFor(this['context']['next'],this['base'],this['pos']);}}function isParent(_0x1bed9b,_0x305945){for(let _0x24185f=_0x305945;_0x24185f;_0x24185f=_0x24185f['parent'])if(_0x1bed9b==_0x24185f)return!0x0;return!0x1;}function bracketedAligned(_0x1aafec){let _0x69239f=_0x1aafec['node'],_0x7be4d2=_0x69239f['childAfter'](_0x69239f['from']),_0x3ff449=_0x69239f['lastChild'];if(!_0x7be4d2)return null;let _0x2f149e=_0x1aafec['options']['simulateBreak'],_0x5a44de=_0x1aafec['state']['doc']['lineAt'](_0x7be4d2['from']),_0x567bea=null==_0x2f149e||_0x2f149e<=_0x5a44de['from']?_0x5a44de['to']:Math['min'](_0x5a44de['to'],_0x2f149e);for(let _0xc7170d=_0x7be4d2['to'];;){let _0x591c20=_0x69239f['childAfter'](_0xc7170d);if(!_0x591c20||_0x591c20==_0x3ff449)return null;if(!_0x591c20['type']['isSkipped']){if(_0x591c20['from']>=_0x567bea)return null;let _0x3a1091=/^ */['exec'](_0x5a44de['text']['slice'](_0x7be4d2['to']-_0x5a44de['from']))[0x0]['length'];return{'from':_0x7be4d2['from'],'to':_0x7be4d2['to']+_0x3a1091};}_0xc7170d=_0x591c20['to'];}}function delimitedIndent({closing:_0x17e858,align:_0x38e98e=!0x0,units:_0x1d97e4=0x1}){return _0x656b16=>delimitedStrategy(_0x656b16,_0x38e98e,_0x1d97e4,_0x17e858);}function delimitedStrategy(_0x4e9581,_0x357bca,_0x39810b,_0x17fc25,_0x4a9ef6){let _0x5a54a4=_0x4e9581['textAfter'],_0x27cc22=_0x5a54a4['match'](/^\s*/)[0x0]['length'],_0x34a597=_0x17fc25&&_0x5a54a4['slice'](_0x27cc22,_0x27cc22+_0x17fc25['length'])==_0x17fc25||_0x4a9ef6==_0x4e9581['pos']+_0x27cc22,_0xbfe9d5=_0x357bca?bracketedAligned(_0x4e9581):null;return _0xbfe9d5?_0x34a597?_0x4e9581['column'](_0xbfe9d5['from']):_0x4e9581['column'](_0xbfe9d5['to']):_0x4e9581['baseIndent']+(_0x34a597?0x0:_0x4e9581['unit']*_0x39810b);}const flatIndent=_0x18e1f6=>_0x18e1f6['baseIndent'];function continuedIndent({except:_0x2f960d,units:_0x19567d=0x1}={}){return _0x5d6e14=>{let _0x1af29e=_0x2f960d&&_0x2f960d['test'](_0x5d6e14['textAfter']);return _0x5d6e14['baseIndent']+(_0x1af29e?0x0:_0x19567d*_0x5d6e14['unit']);};}const DontIndentBeyond=0xc8;function indentOnInput(){return EditorState['transactionFilter']['of'](_0xfdfa05=>{if(!_0xfdfa05['docChanged']||!_0xfdfa05['isUserEvent']('input.type')&&!_0xfdfa05['isUserEvent']('input.complete'))return _0xfdfa05;let _0x5a53a9=_0xfdfa05['startState']['languageDataAt']('indentOnInput',_0xfdfa05['startState']['selection']['main']['head']);if(!_0x5a53a9['length'])return _0xfdfa05;let _0x280ec4=_0xfdfa05['newDoc'],{head:_0x4d6537}=_0xfdfa05['newSelection']['main'],_0x36aa67=_0x280ec4['lineAt'](_0x4d6537);if(_0x4d6537>_0x36aa67['from']+DontIndentBeyond)return _0xfdfa05;let _0x5eafc9=_0x280ec4['sliceString'](_0x36aa67['from'],_0x4d6537);if(!_0x5a53a9['some'](_0x3cbdf3=>_0x3cbdf3['test'](_0x5eafc9)))return _0xfdfa05;let {state:_0x1e7733}=_0xfdfa05,_0x301d12=-0x1,_0x40600d=[];for(let {head:_0x4cc92c}of _0x1e7733['selection']['ranges']){let _0xf426a4=_0x1e7733['doc']['lineAt'](_0x4cc92c);if(_0xf426a4['from']==_0x301d12)continue;_0x301d12=_0xf426a4['from'];let _0x1a1c4e=getIndentation(_0x1e7733,_0xf426a4['from']);if(null==_0x1a1c4e)continue;let _0xbc1016=/^\s*/['exec'](_0xf426a4['text'])[0x0],_0x509525=indentString(_0x1e7733,_0x1a1c4e);_0xbc1016!=_0x509525&&_0x40600d['push']({'from':_0xf426a4['from'],'to':_0xf426a4['from']+_0xbc1016['length'],'insert':_0x509525});}return _0x40600d['length']?[_0xfdfa05,{'changes':_0x40600d,'sequential':!0x0}]:_0xfdfa05;});}const _0x93d3d5=Facet['define'](),_0x586808=new _0x258b5f();function _0x35c32f(_0x327f9c){let _0x2777b6=_0x327f9c['firstChild'],_0xcb5131=_0x327f9c['lastChild'];return _0x2777b6&&_0x2777b6['to']<_0xcb5131['from']?{'from':_0x2777b6['to'],'to':_0xcb5131['type']['isError']?_0x327f9c['to']:_0xcb5131['from']}:null;}function syntaxFolding(_0x356b88,_0xebe4f6,_0x2e601a){let _0xa7b5d3=syntaxTree(_0x356b88);if(_0xa7b5d3['length']<_0x2e601a)return null;let _0x262c1b=null;for(let _0x1e08c0=_0xa7b5d3['resolveStack'](_0x2e601a,0x1);_0x1e08c0;_0x1e08c0=_0x1e08c0['next']){let _0x2f31e0=_0x1e08c0['node'];if(_0x2f31e0['to']<=_0x2e601a||_0x2f31e0['from']>_0x2e601a)continue;if(_0x262c1b&&_0x2f31e0['from']<_0xebe4f6)break;let _0x46bbe7=_0x2f31e0['type']['prop'](_0x586808);if(_0x46bbe7&&(_0x2f31e0['to']<_0xa7b5d3['length']-0x32||_0xa7b5d3['length']==_0x356b88['doc']['length']||!_0x340a26(_0x2f31e0))){let _0x3fab40=_0x46bbe7(_0x2f31e0,_0x356b88);_0x3fab40&&_0x3fab40['from']<=_0x2e601a&&_0x3fab40['from']>=_0xebe4f6&&_0x3fab40['to']>_0x2e601a&&(_0x262c1b=_0x3fab40);}}return _0x262c1b;}function _0x340a26(_0x56ee45){let _0x1c4181=_0x56ee45['lastChild'];return _0x1c4181&&_0x1c4181['to']==_0x56ee45['to']&&_0x1c4181['type']['isError'];}function _0x46d548(_0x4581d1,_0x2238a0,_0x211fb1){for(let _0x3414a3 of _0x4581d1['facet'](_0x93d3d5)){let _0x1c4eea=_0x3414a3(_0x4581d1,_0x2238a0,_0x211fb1);if(_0x1c4eea)return _0x1c4eea;}return syntaxFolding(_0x4581d1,_0x2238a0,_0x211fb1);}function _0x465d42(_0x560033,_0xcee9d5){let _0x17b80f=_0xcee9d5['mapPos'](_0x560033['from'],0x1),_0x3b5332=_0xcee9d5['mapPos'](_0x560033['to'],-0x1);return _0x17b80f>=_0x3b5332?void 0x0:{'from':_0x17b80f,'to':_0x3b5332};}const foldEffect=StateEffect['define']({'map':_0x465d42}),unfoldEffect=StateEffect['define']({'map':_0x465d42});function selectedLines(_0x10a38b){let _0x272a95=[];for(let {head:_0x4a1839}of _0x10a38b['state']['selection']['ranges'])_0x272a95['some'](_0x4080aa=>_0x4080aa['from']<=_0x4a1839&&_0x4080aa['to']>=_0x4a1839)||_0x272a95['push'](_0x10a38b['lineBlockAt'](_0x4a1839));return _0x272a95;}const foldState=StateField['define']({'create':()=>Decoration['none'],'update'(_0x546b47,_0x58b3c7){_0x58b3c7['isUserEvent']('delete')&&_0x58b3c7['changes']['iterChangedRanges']((_0x1180d6,_0x4f8745)=>_0x546b47=_0x1f1a72(_0x546b47,_0x1180d6,_0x4f8745)),_0x546b47=_0x546b47['map'](_0x58b3c7['changes']);for(let _0x197a8b of _0x58b3c7['effects'])if(_0x197a8b['is'](foldEffect)&&!foldExists(_0x546b47,_0x197a8b['value']['from'],_0x197a8b['value']['to'])){let {preparePlaceholder:_0x12caed}=_0x58b3c7['state']['facet'](_0x57ed6f),_0x287048=_0x12caed?Decoration['replace']({'widget':new PreparedFoldWidget(_0x12caed(_0x58b3c7['state'],_0x197a8b['value']))}):foldWidget;_0x546b47=_0x546b47['update']({'add':[_0x287048['range'](_0x197a8b['value']['from'],_0x197a8b['value']['to'])]});}else _0x197a8b['is'](unfoldEffect)&&(_0x546b47=_0x546b47['update']({'filter':(_0x56904d,_0x352aca)=>_0x197a8b['value']['from']!=_0x56904d||_0x197a8b['value']['to']!=_0x352aca,'filterFrom':_0x197a8b['value']['from'],'filterTo':_0x197a8b['value']['to']}));return _0x58b3c7['selection']&&(_0x546b47=_0x1f1a72(_0x546b47,_0x58b3c7['selection']['main']['head'])),_0x546b47;},'provide':_0x16f4e4=>EditorView['decorations']['from'](_0x16f4e4),'toJSON'(_0x5cd7d0,_0x488079){let _0xc77b26=[];return _0x5cd7d0['between'](0x0,_0x488079['doc']['length'],(_0x2d094a,_0x398c5c)=>{_0xc77b26['push'](_0x2d094a,_0x398c5c);}),_0xc77b26;},'fromJSON'(_0x364c93){if(!Array['isArray'](_0x364c93)||_0x364c93['length']%0x2)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');let _0x18f4bf=[];for(let _0x5458e4=0x0;_0x5458e4<_0x364c93['length'];){let _0x1d3650=_0x364c93[_0x5458e4++],_0x14b48e=_0x364c93[_0x5458e4++];if('number'!=typeof _0x1d3650||'number'!=typeof _0x14b48e)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');_0x18f4bf['push'](foldWidget['range'](_0x1d3650,_0x14b48e));}return Decoration['set'](_0x18f4bf,!0x0);}});function _0x1f1a72(_0x2b9e1d,_0x29940c,_0x2bd827=_0x29940c){let _0x398aef=!0x1;return _0x2b9e1d['between'](_0x29940c,_0x2bd827,(_0x264704,_0x3aefaf)=>{_0x264704<_0x2bd827&&_0x3aefaf>_0x29940c&&(_0x398aef=!0x0);}),_0x398aef?_0x2b9e1d['update']({'filterFrom':_0x29940c,'filterTo':_0x2bd827,'filter':(_0x1f6a31,_0x1861ec)=>_0x1f6a31>=_0x2bd827||_0x1861ec<=_0x29940c}):_0x2b9e1d;}function _0x3d1f91(_0xefb665,_0x1b4fd7,_0x2aeb1b){var _0x3dbb6b;let _0x1a46b3=null;return null===(_0x3dbb6b=_0xefb665['field'](foldState,!0x1))||void 0x0===_0x3dbb6b||_0x3dbb6b['between'](_0x1b4fd7,_0x2aeb1b,(_0x483d60,_0x4e0b24)=>{(!_0x1a46b3||_0x1a46b3['from']>_0x483d60)&&(_0x1a46b3={'from':_0x483d60,'to':_0x4e0b24});}),_0x1a46b3;}function foldExists(_0x3fd609,_0x430d92,_0x283253){let _0x1e1329=!0x1;return _0x3fd609['between'](_0x430d92,_0x430d92,(_0x5b8301,_0x1f5f35)=>{_0x5b8301==_0x430d92&&_0x1f5f35==_0x283253&&(_0x1e1329=!0x0);}),_0x1e1329;}function _0x452978(_0x3a4e9d,_0x548008){return _0x3a4e9d['field'](foldState,!0x1)?_0x548008:_0x548008['concat'](StateEffect['appendConfig']['of'](_0xf7baf8()));}const _0x36470d=_0x3a8509=>{for(let _0x3320db of selectedLines(_0x3a8509)){let _0x38f24e=_0x46d548(_0x3a8509['state'],_0x3320db['from'],_0x3320db['to']);if(_0x38f24e)return _0x3a8509['dispatch']({'effects':_0x452978(_0x3a8509['state'],[foldEffect['of'](_0x38f24e),_0x2d5e9d(_0x3a8509,_0x38f24e)])}),!0x0;}return!0x1;},_0xb8884a=_0x51a7ba=>{if(!_0x51a7ba['state']['field'](foldState,!0x1))return!0x1;let _0x2e343a=[];for(let _0x38e704 of selectedLines(_0x51a7ba)){let _0x5758d7=_0x3d1f91(_0x51a7ba['state'],_0x38e704['from'],_0x38e704['to']);_0x5758d7&&_0x2e343a['push'](unfoldEffect['of'](_0x5758d7),_0x2d5e9d(_0x51a7ba,_0x5758d7,!0x1));}return _0x2e343a['length']&&_0x51a7ba['dispatch']({'effects':_0x2e343a}),_0x2e343a['length']>0x0;};function _0x2d5e9d(_0x103aaf,_0xe1bdb1,_0x5c80d6=!0x0){let _0x627090=_0x103aaf['state']['doc']['lineAt'](_0xe1bdb1['from'])['number'],_0x2bb848=_0x103aaf['state']['doc']['lineAt'](_0xe1bdb1['to'])['number'];return EditorView['announce']['of'](_0x103aaf['state']['phrase'](_0x5c80d6?'Folded\x20lines':'Unfolded\x20lines')+'\x20'+_0x627090+'\x20'+_0x103aaf['state']['phrase']('to')+'\x20'+_0x2bb848+'.');}const _0xc596c2=_0x26923a=>{let {state:_0x39b85a}=_0x26923a,_0x574f07=[];for(let _0x1227df=0x0;_0x1227df<_0x39b85a['doc']['length'];){let _0x11bcfa=_0x26923a['lineBlockAt'](_0x1227df),_0x13bc6a=_0x46d548(_0x39b85a,_0x11bcfa['from'],_0x11bcfa['to']);_0x13bc6a&&_0x574f07['push'](foldEffect['of'](_0x13bc6a)),_0x1227df=(_0x13bc6a?_0x26923a['lineBlockAt'](_0x13bc6a['to']):_0x11bcfa)['to']+0x1;}return _0x574f07['length']&&_0x26923a['dispatch']({'effects':_0x452978(_0x26923a['state'],_0x574f07)}),!!_0x574f07['length'];},_0x3d518c=_0x4c3e16=>{let _0x3d1a04=_0x4c3e16['state']['field'](foldState,!0x1);if(!_0x3d1a04||!_0x3d1a04['size'])return!0x1;let _0x178e1f=[];return _0x3d1a04['between'](0x0,_0x4c3e16['state']['doc']['length'],(_0x572258,_0x52696f)=>{_0x178e1f['push'](unfoldEffect['of']({'from':_0x572258,'to':_0x52696f}));}),_0x4c3e16['dispatch']({'effects':_0x178e1f}),!0x0;},_0x8f5b74=[{'key':'Ctrl-Shift-[','mac':'Cmd-Alt-[','run':_0x36470d},{'key':'Ctrl-Shift-]','mac':'Cmd-Alt-]','run':_0xb8884a},{'key':'Ctrl-Alt-[','run':_0xc596c2},{'key':'Ctrl-Alt-]','run':_0x3d518c}],defaultConfig={'placeholderDOM':null,'preparePlaceholder':null,'placeholderText':'…'},_0x57ed6f=Facet['define']({'combine':_0x5d1e11=>_0x44c9ef(_0x5d1e11,defaultConfig)});function _0xf7baf8(_0x3263ee){return[foldState,_0x2fd7a8];}function widgetToDOM(_0x5417d7,_0x3786ad){let {state:_0xc9389}=_0x5417d7,_0x349443=_0xc9389['facet'](_0x57ed6f),_0x411e57=_0x5c9fd7=>{let _0x5503d9=_0x5417d7['lineBlockAt'](_0x5417d7['posAtDOM'](_0x5c9fd7['target'])),_0x40aced=_0x3d1f91(_0x5417d7['state'],_0x5503d9['from'],_0x5503d9['to']);_0x40aced&&_0x5417d7['dispatch']({'effects':unfoldEffect['of'](_0x40aced)}),_0x5c9fd7['preventDefault']();};if(_0x349443['placeholderDOM'])return _0x349443['placeholderDOM'](_0x5417d7,_0x411e57,_0x3786ad);let _0xf00260=document['createElement']('span');return _0xf00260['textContent']=_0x349443['placeholderText'],_0xf00260['setAttribute']('aria-label',_0xc9389['phrase']('folded\x20code')),_0xf00260['title']=_0xc9389['phrase']('unfold'),_0xf00260['className']='cm-foldPlaceholder',_0xf00260['onclick']=_0x411e57,_0xf00260;}const foldWidget=Decoration['replace']({'widget':new class extends WidgetType{['toDOM'](_0x275bcd){return widgetToDOM(_0x275bcd,null);}}()});class PreparedFoldWidget extends WidgetType{constructor(_0x385b6e){super(),this['value']=_0x385b6e;}['eq'](_0x1dbd52){return this['value']==_0x1dbd52['value'];}['toDOM'](_0x1e497c){return widgetToDOM(_0x1e497c,this['value']);}}const foldGutterDefaults={'openText':'⌄','closedText':'›','markerDOM':null,'domEventHandlers':{},'foldingChanged':()=>!0x1};class _0x21af49 extends GutterMarker{constructor(_0x38e217,_0xfbbab0){super(),this['config']=_0x38e217,this['open']=_0xfbbab0;}['eq'](_0x1fb9d3){return this['config']==_0x1fb9d3['config']&&this['open']==_0x1fb9d3['open'];}['toDOM'](_0x4ce900){if(this['config']['markerDOM'])return this['config']['markerDOM'](this['open']);let _0x3a8f30=document['createElement']('span');return _0x3a8f30['textContent']=this['open']?this['config']['openText']:this['config']['closedText'],_0x3a8f30['title']=_0x4ce900['state']['phrase'](this['open']?'Fold\x20line':'Unfold\x20line'),_0x3a8f30;}}function foldGutter(_0x410800={}){let _0x300414={...foldGutterDefaults,..._0x410800},_0x33b45a=new _0x21af49(_0x300414,!0x0),_0x44b434=new _0x21af49(_0x300414,!0x1),_0xf27edd=_0x1d7143['fromClass'](class{constructor(_0x27e0b7){this['from']=_0x27e0b7['viewport']['from'],this['markers']=this['buildMarkers'](_0x27e0b7);}['update'](_0x42742f){(_0x42742f['docChanged']||_0x42742f['viewportChanged']||_0x42742f['startState']['facet'](_0x240963)!=_0x42742f['state']['facet'](_0x240963)||_0x42742f['startState']['field'](foldState,!0x1)!=_0x42742f['state']['field'](foldState,!0x1)||syntaxTree(_0x42742f['startState'])!=syntaxTree(_0x42742f['state'])||_0x300414['foldingChanged'](_0x42742f))&&(this['markers']=this['buildMarkers'](_0x42742f['view']));}['buildMarkers'](_0x5406f6){let _0x1ca316=new RangeSetBuilder();for(let _0x2633b0 of _0x5406f6['viewportLineBlocks']){let _0x25c048=_0x3d1f91(_0x5406f6['state'],_0x2633b0['from'],_0x2633b0['to'])?_0x44b434:_0x46d548(_0x5406f6['state'],_0x2633b0['from'],_0x2633b0['to'])?_0x33b45a:null;_0x25c048&&_0x1ca316['add'](_0x2633b0['from'],_0x2633b0['from'],_0x25c048);}return _0x1ca316['finish']();}}),{domEventHandlers:_0x56a6c0}=_0x300414;return[_0xf27edd,gutter({'class':'cm-foldGutter','markers'(_0x281030){var _0x30c06e;return(null===(_0x30c06e=_0x281030['plugin'](_0xf27edd))||void 0x0===_0x30c06e?void 0x0:_0x30c06e['markers'])||RangeSet['empty'];},'initialSpacer':()=>new _0x21af49(_0x300414,!0x1),'domEventHandlers':{..._0x56a6c0,'click':(_0x34e1ba,_0x2be278,_0x4ee172)=>{if(_0x56a6c0['click']&&_0x56a6c0['click'](_0x34e1ba,_0x2be278,_0x4ee172))return!0x0;let _0x43c2d2=_0x3d1f91(_0x34e1ba['state'],_0x2be278['from'],_0x2be278['to']);if(_0x43c2d2)return _0x34e1ba['dispatch']({'effects':unfoldEffect['of'](_0x43c2d2)}),!0x0;let _0x434413=_0x46d548(_0x34e1ba['state'],_0x2be278['from'],_0x2be278['to']);return!!_0x434413&&(_0x34e1ba['dispatch']({'effects':foldEffect['of'](_0x434413)}),!0x0);}}}),_0xf7baf8()];}const _0x2fd7a8=EditorView['baseTheme']({'.cm-foldPlaceholder':{'backgroundColor':'#eee','border':'1px\x20solid\x20#ddd','color':'#888','borderRadius':'.2em','margin':'0\x201px','padding':'0\x201px','cursor':'pointer'},'.cm-foldGutter\x20span':{'padding':'0\x201px','cursor':'pointer'}});class HighlightStyle{constructor(_0x470b4b,_0x450649){let _0x5c6c68;function _0x44f0fb(_0x4ee8e1){let _0x8ccd7a=StyleModule['newName']();return(_0x5c6c68||(_0x5c6c68=Object['create'](null)))['.'+_0x8ccd7a]=_0x4ee8e1,_0x8ccd7a;}this['specs']=_0x470b4b;const _0x14b747='string'==typeof _0x450649['all']?_0x450649['all']:_0x450649['all']?_0x44f0fb(_0x450649['all']):void 0x0,_0x4171a7=_0x450649['scope'];this['scope']=_0x4171a7 instanceof _0x2b9943?_0x357a68=>_0x357a68['prop'](languageDataProp)==_0x4171a7['data']:_0x4171a7?_0x42bc2e=>_0x42bc2e==_0x4171a7:void 0x0,this['style']=tagHighlighter(_0x470b4b['map'](_0xbda610=>({'tag':_0xbda610['tag'],'class':_0xbda610['class']||_0x44f0fb(Object['assign']({},_0xbda610,{'tag':null}))})),{'all':_0x14b747})['style'],this['module']=_0x5c6c68?new StyleModule(_0x5c6c68):null,this['themeType']=_0x450649['themeType'];}static['define'](_0x111ebf,_0x2bb34c){return new HighlightStyle(_0x111ebf,_0x2bb34c||{});}}const highlighterFacet=Facet['define'](),fallbackHighlighter=Facet['define']({'combine':_0x5b4ff9=>_0x5b4ff9['length']?[_0x5b4ff9[0x0]]:null});function getHighlighters(_0x5d8104){let _0x4995e7=_0x5d8104['facet'](highlighterFacet);return _0x4995e7['length']?_0x4995e7:_0x5d8104['facet'](fallbackHighlighter);}function syntaxHighlighting(_0x1d8caa,_0x3ee1b7){let _0x2f7ac4,_0x16e0a2=[treeHighlighter];return _0x1d8caa instanceof HighlightStyle&&(_0x1d8caa['module']&&_0x16e0a2['push'](EditorView['styleModule']['of'](_0x1d8caa['module'])),_0x2f7ac4=_0x1d8caa['themeType']),(null==_0x3ee1b7?void 0x0:_0x3ee1b7['fallback'])?_0x16e0a2['push'](fallbackHighlighter['of'](_0x1d8caa)):_0x2f7ac4?_0x16e0a2['push'](highlighterFacet['computeN']([EditorView['darkTheme']],_0x15a567=>_0x15a567['facet'](EditorView['darkTheme'])==('dark'==_0x2f7ac4)?[_0x1d8caa]:[])):_0x16e0a2['push'](highlighterFacet['of'](_0x1d8caa)),_0x16e0a2;}class TreeHighlighter{constructor(_0x14ae85){this['markCache']=Object['create'](null),this['tree']=syntaxTree(_0x14ae85['state']),this['decorations']=this['buildDeco'](_0x14ae85,getHighlighters(_0x14ae85['state'])),this['decoratedTo']=_0x14ae85['viewport']['to'];}['update'](_0x10a44f){let _0x244d5c=syntaxTree(_0x10a44f['state']),_0x23a598=getHighlighters(_0x10a44f['state']),_0x4a5b40=_0x23a598!=getHighlighters(_0x10a44f['startState']),{viewport:_0x723194}=_0x10a44f['view'],_0x2b07e3=_0x10a44f['changes']['mapPos'](this['decoratedTo'],0x1);_0x244d5c['length']<_0x723194['to']&&!_0x4a5b40&&_0x244d5c['type']==this['tree']['type']&&_0x2b07e3>=_0x723194['to']?(this['decorations']=this['decorations']['map'](_0x10a44f['changes']),this['decoratedTo']=_0x2b07e3):(_0x244d5c!=this['tree']||_0x10a44f['viewportChanged']||_0x4a5b40)&&(this['tree']=_0x244d5c,this['decorations']=this['buildDeco'](_0x10a44f['view'],_0x23a598),this['decoratedTo']=_0x723194['to']);}['buildDeco'](_0x1472f7,_0x5bcd27){if(!_0x5bcd27||!this['tree']['length'])return Decoration['none'];let _0x21abb7=new RangeSetBuilder();for(let {from:_0x320b59,to:_0x3e386d}of _0x1472f7['visibleRanges'])highlightTree(this['tree'],_0x5bcd27,(_0x299ef6,_0x4b1af7,_0x164116)=>{_0x21abb7['add'](_0x299ef6,_0x4b1af7,this['markCache'][_0x164116]||(this['markCache'][_0x164116]=Decoration['mark']({'class':_0x164116})));},_0x320b59,_0x3e386d);return _0x21abb7['finish']();}}const treeHighlighter=_0x330a03['high'](_0x1d7143['fromClass'](TreeHighlighter,{'decorations':_0x1d5300=>_0x1d5300['decorations']})),defaultHighlightStyle=HighlightStyle['define']([{'tag':tags$1['meta'],'color':'#404740'},{'tag':tags$1['link'],'textDecoration':'underline'},{'tag':tags$1['heading'],'textDecoration':'underline','fontWeight':'bold'},{'tag':tags$1['emphasis'],'fontStyle':'italic'},{'tag':tags$1['strong'],'fontWeight':'bold'},{'tag':tags$1['strikethrough'],'textDecoration':'line-through'},{'tag':tags$1['keyword'],'color':'#708'},{'tag':[tags$1['atom'],tags$1['bool'],tags$1['url'],tags$1['contentSeparator'],tags$1['labelName']],'color':'#219'},{'tag':[tags$1['literal'],tags$1['inserted']],'color':'#164'},{'tag':[tags$1['string'],tags$1['deleted']],'color':'#a11'},{'tag':[tags$1['regexp'],tags$1['escape'],tags$1['special'](tags$1['string'])],'color':'#e40'},{'tag':tags$1['definition'](tags$1['variableName']),'color':'#00f'},{'tag':tags$1['local'](tags$1['variableName']),'color':'#30a'},{'tag':[tags$1['typeName'],tags$1['namespace']],'color':'#085'},{'tag':tags$1['className'],'color':'#167'},{'tag':[tags$1['special'](tags$1['variableName']),tags$1['macroName']],'color':'#256'},{'tag':tags$1['definition'](tags$1['propertyName']),'color':'#00c'},{'tag':tags$1['comment'],'color':'#940'},{'tag':tags$1['invalid'],'color':'#f00'}]),_0x35c03f=EditorView['baseTheme']({'&.cm-focused\x20.cm-matchingBracket':{'backgroundColor':'#328c8252'},'&.cm-focused\x20.cm-nonmatchingBracket':{'backgroundColor':'#bb555544'}}),DefaultScanDist=0x2710,DefaultBrackets='()[]{}',bracketMatchingConfig=Facet['define']({'combine':_0x4eced0=>_0x44c9ef(_0x4eced0,{'afterCursor':!0x0,'brackets':DefaultBrackets,'maxScanDistance':DefaultScanDist,'renderMatch':defaultRenderMatch})}),matchingMark=Decoration['mark']({'class':'cm-matchingBracket'}),nonmatchingMark=Decoration['mark']({'class':'cm-nonmatchingBracket'});function defaultRenderMatch(_0xe237af){let _0x11bff2=[],_0x45472c=_0xe237af['matched']?matchingMark:nonmatchingMark;return _0x11bff2['push'](_0x45472c['range'](_0xe237af['start']['from'],_0xe237af['start']['to'])),_0xe237af['end']&&_0x11bff2['push'](_0x45472c['range'](_0xe237af['end']['from'],_0xe237af['end']['to'])),_0x11bff2;}const bracketMatchingState=StateField['define']({'create':()=>Decoration['none'],'update'(_0x554054,_0x39b9fa){if(!_0x39b9fa['docChanged']&&!_0x39b9fa['selection'])return _0x554054;let _0x2a1ce3=[],_0x44ba44=_0x39b9fa['state']['facet'](bracketMatchingConfig);for(let _0x346ad2 of _0x39b9fa['state']['selection']['ranges']){if(!_0x346ad2['empty'])continue;let _0x17bef0=matchBrackets(_0x39b9fa['state'],_0x346ad2['head'],-0x1,_0x44ba44)||_0x346ad2['head']>0x0&&matchBrackets(_0x39b9fa['state'],_0x346ad2['head']-0x1,0x1,_0x44ba44)||_0x44ba44['afterCursor']&&(matchBrackets(_0x39b9fa['state'],_0x346ad2['head'],0x1,_0x44ba44)||_0x346ad2['head']<_0x39b9fa['state']['doc']['length']&&matchBrackets(_0x39b9fa['state'],_0x346ad2['head']+0x1,-0x1,_0x44ba44));_0x17bef0&&(_0x2a1ce3=_0x2a1ce3['concat'](_0x44ba44['renderMatch'](_0x17bef0,_0x39b9fa['state'])));}return Decoration['set'](_0x2a1ce3,!0x0);},'provide':_0x56695b=>EditorView['decorations']['from'](_0x56695b)}),bracketMatchingUnique=[bracketMatchingState,_0x35c03f];function bracketMatching(_0x194f55={}){return[bracketMatchingConfig['of'](_0x194f55),bracketMatchingUnique];}const bracketMatchingHandle=new _0x258b5f();function matchingNodes(_0x250c5f,_0x4ce95a,_0x162143){let _0x4c7af8=_0x250c5f['prop'](_0x4ce95a<0x0?_0x258b5f['openedBy']:_0x258b5f['closedBy']);if(_0x4c7af8)return _0x4c7af8;if(0x1==_0x250c5f['name']['length']){let _0x31f1cc=_0x162143['indexOf'](_0x250c5f['name']);if(_0x31f1cc>-0x1&&_0x31f1cc%0x2==(_0x4ce95a<0x0?0x1:0x0))return[_0x162143[_0x31f1cc+_0x4ce95a]];}return null;}function _0x2ef01d(_0x2b0c74){let _0x17c4d9=_0x2b0c74['type']['prop'](bracketMatchingHandle);return _0x17c4d9?_0x17c4d9(_0x2b0c74['node']):_0x2b0c74;}function matchBrackets(_0x35638b,_0x26d2c1,_0x43a4cd,_0x58c280={}){let _0x352fd4=_0x58c280['maxScanDistance']||DefaultScanDist,_0x598e02=_0x58c280['brackets']||DefaultBrackets,_0x314e63=syntaxTree(_0x35638b),_0x45d072=_0x314e63['resolveInner'](_0x26d2c1,_0x43a4cd);for(let _0x5db3a8=_0x45d072;_0x5db3a8;_0x5db3a8=_0x5db3a8['parent']){let _0x243c97=matchingNodes(_0x5db3a8['type'],_0x43a4cd,_0x598e02);if(_0x243c97&&_0x5db3a8['from']<_0x5db3a8['to']){let _0x7e4ec5=_0x2ef01d(_0x5db3a8);if(_0x7e4ec5&&(_0x43a4cd>0x0?_0x26d2c1>=_0x7e4ec5['from']&&_0x26d2c1<_0x7e4ec5['to']:_0x26d2c1>_0x7e4ec5['from']&&_0x26d2c1<=_0x7e4ec5['to']))return matchMarkedBrackets(_0x35638b,_0x26d2c1,_0x43a4cd,_0x5db3a8,_0x7e4ec5,_0x243c97,_0x598e02);}}return matchPlainBrackets(_0x35638b,_0x26d2c1,_0x43a4cd,_0x314e63,_0x45d072['type'],_0x352fd4,_0x598e02);}function matchMarkedBrackets(_0x592bba,_0x213743,_0x5406a5,_0x4cb784,_0x3cec07,_0x3c2fbf,_0x2dcd8d){let _0x19613f=_0x4cb784['parent'],_0x30bd86={'from':_0x3cec07['from'],'to':_0x3cec07['to']},_0x221893=0x0,_0x45f34e=null==_0x19613f?void 0x0:_0x19613f['cursor']();if(_0x45f34e&&(_0x5406a5<0x0?_0x45f34e['childBefore'](_0x4cb784['from']):_0x45f34e['childAfter'](_0x4cb784['to'])))do{if(_0x5406a5<0x0?_0x45f34e['to']<=_0x4cb784['from']:_0x45f34e['from']>=_0x4cb784['to']){if(0x0==_0x221893&&_0x3c2fbf['indexOf'](_0x45f34e['type']['name'])>-0x1&&_0x45f34e['from']<_0x45f34e['to']){let _0x55ceda=_0x2ef01d(_0x45f34e);return{'start':_0x30bd86,'end':_0x55ceda?{'from':_0x55ceda['from'],'to':_0x55ceda['to']}:void 0x0,'matched':!0x0};}if(matchingNodes(_0x45f34e['type'],_0x5406a5,_0x2dcd8d))_0x221893++;else{if(matchingNodes(_0x45f34e['type'],-_0x5406a5,_0x2dcd8d)){if(0x0==_0x221893){let _0x5eb847=_0x2ef01d(_0x45f34e);return{'start':_0x30bd86,'end':_0x5eb847&&_0x5eb847['from']<_0x5eb847['to']?{'from':_0x5eb847['from'],'to':_0x5eb847['to']}:void 0x0,'matched':!0x1};}_0x221893--;}}}}while(_0x5406a5<0x0?_0x45f34e['prevSibling']():_0x45f34e['nextSibling']());return{'start':_0x30bd86,'matched':!0x1};}function matchPlainBrackets(_0x49456c,_0x3d5749,_0x5c7dfe,_0x1b0a1b,_0x418471,_0x12769f,_0x5641c4){let _0x4e8be2=_0x5c7dfe<0x0?_0x49456c['sliceDoc'](_0x3d5749-0x1,_0x3d5749):_0x49456c['sliceDoc'](_0x3d5749,_0x3d5749+0x1),_0x323e4d=_0x5641c4['indexOf'](_0x4e8be2);if(_0x323e4d<0x0||_0x323e4d%0x2==0x0!=_0x5c7dfe>0x0)return null;let _0x2b9a89={'from':_0x5c7dfe<0x0?_0x3d5749-0x1:_0x3d5749,'to':_0x5c7dfe>0x0?_0x3d5749+0x1:_0x3d5749},_0x51f94f=_0x49456c['doc']['iterRange'](_0x3d5749,_0x5c7dfe>0x0?_0x49456c['doc']['length']:0x0),_0x35423a=0x0;for(let _0xb90895=0x0;!_0x51f94f['next']()['done']&&_0xb90895<=_0x12769f;){let _0x5a6c4d=_0x51f94f['value'];_0x5c7dfe<0x0&&(_0xb90895+=_0x5a6c4d['length']);let _0x4ba73c=_0x3d5749+_0xb90895*_0x5c7dfe;for(let _0x2585af=_0x5c7dfe>0x0?0x0:_0x5a6c4d['length']-0x1,_0x37f8e9=_0x5c7dfe>0x0?_0x5a6c4d['length']:-0x1;_0x2585af!=_0x37f8e9;_0x2585af+=_0x5c7dfe){let _0x190300=_0x5641c4['indexOf'](_0x5a6c4d[_0x2585af]);if(!(_0x190300<0x0||_0x1b0a1b['resolveInner'](_0x4ba73c+_0x2585af,0x1)['type']!=_0x418471)){if(_0x190300%0x2==0x0==_0x5c7dfe>0x0)_0x35423a++;else{if(0x1==_0x35423a)return{'start':_0x2b9a89,'end':{'from':_0x4ba73c+_0x2585af,'to':_0x4ba73c+_0x2585af+0x1},'matched':_0x190300>>0x1==_0x323e4d>>0x1};_0x35423a--;}}}_0x5c7dfe>0x0&&(_0xb90895+=_0x5a6c4d['length']);}return _0x51f94f['done']?{'start':_0x2b9a89,'matched':!0x1}:null;}const _0x4c0c75=Object['create'](null),typeArray=[_0x5a565d['none']],_0x249d41=[],_0x516d25=Object['create'](null),defaultTable=Object['create'](null);for(let [_0x423cb0,_0x46f674]of[['variable','variableName'],['variable-2','variableName.special'],['string-2','string.special'],['def','variableName.definition'],['tag','tagName'],['attribute','attributeName'],['type','typeName'],['builtin','variableName.standard'],['qualifier','modifier'],['error','invalid'],['header','heading'],['property','propertyName']])defaultTable[_0x423cb0]=createTokenType(_0x4c0c75,_0x46f674);function warnForPart(_0x149159,_0x2c5038){_0x249d41['indexOf'](_0x149159)>-0x1||(_0x249d41['push'](_0x149159),console['warn'](_0x2c5038));}function createTokenType(_0x2372c2,_0x17d42b){let _0x35c562=[];for(let _0x36bf4a of _0x17d42b['split']('\x20')){let _0x420577=[];for(let _0x5816d1 of _0x36bf4a['split']('.')){let _0x41f6a5=_0x2372c2[_0x5816d1]||tags$1[_0x5816d1];_0x41f6a5?'function'==typeof _0x41f6a5?_0x420577['length']?_0x420577=_0x420577['map'](_0x41f6a5):warnForPart(_0x5816d1,'Modifier\x20'+_0x5816d1+'\x20used\x20at\x20start\x20of\x20tag'):_0x420577['length']?warnForPart(_0x5816d1,'Tag\x20'+_0x5816d1+'\x20used\x20as\x20modifier'):_0x420577=Array['isArray'](_0x41f6a5)?_0x41f6a5:[_0x41f6a5]:warnForPart(_0x5816d1,'Unknown\x20highlighting\x20tag\x20'+_0x5816d1);}for(let _0x115735 of _0x420577)_0x35c562['push'](_0x115735);}if(!_0x35c562['length'])return 0x0;let _0x4018fe=_0x17d42b['replace'](/ /g,'_'),_0x155b91=_0x4018fe+'\x20'+_0x35c562['map'](t=>t['id']),_0x208869=_0x516d25[_0x155b91];if(_0x208869)return _0x208869['id'];let _0x54dc16=_0x516d25[_0x155b91]=_0x5a565d['define']({'id':typeArray['length'],'name':_0x4018fe,'props':[styleTags({[_0x4018fe]:_0x35c562})]});return typeArray['push'](_0x54dc16),_0x54dc16['id'];}Direction['RTL'],Direction['LTR'];const toggleComment=_0x133fd4=>{let {state:_0x215ebf}=_0x133fd4,_0x19d7b8=_0x215ebf['doc']['lineAt'](_0x215ebf['selection']['main']['from']),_0x2accf7=getConfig(_0x133fd4['state'],_0x19d7b8['from']);return _0x2accf7['line']?toggleLineComment(_0x133fd4):!!_0x2accf7['block']&&toggleBlockCommentByLine(_0x133fd4);};function _0x241c0c(_0x4272d8,_0x27235d){return({state:_0x12fb08,dispatch:_0x5c858a})=>{if(_0x12fb08['readOnly'])return!0x1;let _0x38c27f=_0x4272d8(_0x27235d,_0x12fb08);return!!_0x38c27f&&(_0x5c858a(_0x12fb08['update'](_0x38c27f)),!0x0);};}const toggleLineComment=_0x241c0c(changeLineComment,0x0),toggleBlockComment=_0x241c0c(changeBlockComment,0x0),toggleBlockCommentByLine=_0x241c0c((_0x1034c1,_0x798527)=>changeBlockComment(_0x1034c1,_0x798527,selectedLineRanges(_0x798527)),0x0);function getConfig(_0x57931f,_0x366f95){let _0x3d20b7=_0x57931f['languageDataAt']('commentTokens',_0x366f95,0x1);return _0x3d20b7['length']?_0x3d20b7[0x0]:{};}const _0x529fdb=0x32;function findBlockComment(_0x528d2a,{open:_0x54af86,close:_0x3197be},_0x427c4b,_0x3053c2){let _0x4a81c4,_0x139ea3,_0x38272b=_0x528d2a['sliceDoc'](_0x427c4b-_0x529fdb,_0x427c4b),_0x9caa7e=_0x528d2a['sliceDoc'](_0x3053c2,_0x3053c2+_0x529fdb),_0x2e6ec0=/\s*$/['exec'](_0x38272b)[0x0]['length'],_0x2d174f=/^\s*/['exec'](_0x9caa7e)[0x0]['length'],_0x54b103=_0x38272b['length']-_0x2e6ec0;if(_0x38272b['slice'](_0x54b103-_0x54af86['length'],_0x54b103)==_0x54af86&&_0x9caa7e['slice'](_0x2d174f,_0x2d174f+_0x3197be['length'])==_0x3197be)return{'open':{'pos':_0x427c4b-_0x2e6ec0,'margin':_0x2e6ec0&&0x1},'close':{'pos':_0x3053c2+_0x2d174f,'margin':_0x2d174f&&0x1}};_0x3053c2-_0x427c4b<=0x2*_0x529fdb?_0x4a81c4=_0x139ea3=_0x528d2a['sliceDoc'](_0x427c4b,_0x3053c2):(_0x4a81c4=_0x528d2a['sliceDoc'](_0x427c4b,_0x427c4b+_0x529fdb),_0x139ea3=_0x528d2a['sliceDoc'](_0x3053c2-_0x529fdb,_0x3053c2));let _0x46d45e=/^\s*/['exec'](_0x4a81c4)[0x0]['length'],_0x4c91b5=/\s*$/['exec'](_0x139ea3)[0x0]['length'],_0x278f92=_0x139ea3['length']-_0x4c91b5-_0x3197be['length'];return _0x4a81c4['slice'](_0x46d45e,_0x46d45e+_0x54af86['length'])==_0x54af86&&_0x139ea3['slice'](_0x278f92,_0x278f92+_0x3197be['length'])==_0x3197be?{'open':{'pos':_0x427c4b+_0x46d45e+_0x54af86['length'],'margin':/\s/['test'](_0x4a81c4['charAt'](_0x46d45e+_0x54af86['length']))?0x1:0x0},'close':{'pos':_0x3053c2-_0x4c91b5-_0x3197be['length'],'margin':/\s/['test'](_0x139ea3['charAt'](_0x278f92-0x1))?0x1:0x0}}:null;}function selectedLineRanges(_0x34f6b4){let _0x3e90b5=[];for(let _0xcb878e of _0x34f6b4['selection']['ranges']){let _0x3a8d1=_0x34f6b4['doc']['lineAt'](_0xcb878e['from']),_0x37948d=_0xcb878e['to']<=_0x3a8d1['to']?_0x3a8d1:_0x34f6b4['doc']['lineAt'](_0xcb878e['to']);_0x37948d['from']>_0x3a8d1['from']&&_0x37948d['from']==_0xcb878e['to']&&(_0x37948d=_0xcb878e['to']==_0x3a8d1['to']+0x1?_0x3a8d1:_0x34f6b4['doc']['lineAt'](_0xcb878e['to']-0x1));let _0x19a9ac=_0x3e90b5['length']-0x1;_0x19a9ac>=0x0&&_0x3e90b5[_0x19a9ac]['to']>_0x3a8d1['from']?_0x3e90b5[_0x19a9ac]['to']=_0x37948d['to']:_0x3e90b5['push']({'from':_0x3a8d1['from']+/^\s*/['exec'](_0x3a8d1['text'])[0x0]['length'],'to':_0x37948d['to']});}return _0x3e90b5;}function changeBlockComment(_0x54137c,_0x3ae252,_0x3af564=_0x3ae252['selection']['ranges']){let _0x2f14a1=_0x3af564['map'](_0xbd67ab=>getConfig(_0x3ae252,_0xbd67ab['from'])['block']);if(!_0x2f14a1['every'](_0x5ed676=>_0x5ed676))return null;let _0x488141=_0x3af564['map']((_0x1a4bd6,_0x12a90e)=>findBlockComment(_0x3ae252,_0x2f14a1[_0x12a90e],_0x1a4bd6['from'],_0x1a4bd6['to']));if(0x2!=_0x54137c&&!_0x488141['every'](_0x2bd652=>_0x2bd652))return{'changes':_0x3ae252['changes'](_0x3af564['map']((_0x1d37a7,_0x37bd7e)=>_0x488141[_0x37bd7e]?[]:[{'from':_0x1d37a7['from'],'insert':_0x2f14a1[_0x37bd7e]['open']+'\x20'},{'from':_0x1d37a7['to'],'insert':'\x20'+_0x2f14a1[_0x37bd7e]['close']}]))};if(0x1!=_0x54137c&&_0x488141['some'](_0x2ff1b7=>_0x2ff1b7)){let _0x310b6b=[];for(let _0x272587,_0x5462c7=0x0;_0x5462c7<_0x488141['length'];_0x5462c7++)if(_0x272587=_0x488141[_0x5462c7]){let _0x3ac9ed=_0x2f14a1[_0x5462c7],{open:_0x4e3ecb,close:_0x240366}=_0x272587;_0x310b6b['push']({'from':_0x4e3ecb['pos']-_0x3ac9ed['open']['length'],'to':_0x4e3ecb['pos']+_0x4e3ecb['margin']},{'from':_0x240366['pos']-_0x240366['margin'],'to':_0x240366['pos']+_0x3ac9ed['close']['length']});}return{'changes':_0x310b6b};}return null;}function changeLineComment(_0x541393,_0x57401a,_0x1d2f17=_0x57401a['selection']['ranges']){let _0x35464c=[],_0x5f32dd=-0x1;for(let {from:_0x4a81b9,to:_0x58b5d9}of _0x1d2f17){let _0x165ce3=_0x35464c['length'],_0x25e18c=0x3b9aca00,_0x4c8ac6=getConfig(_0x57401a,_0x4a81b9)['line'];if(_0x4c8ac6){for(let _0x541258=_0x4a81b9;_0x541258<=_0x58b5d9;){let _0x5e6809=_0x57401a['doc']['lineAt'](_0x541258);if(_0x5e6809['from']>_0x5f32dd&&(_0x4a81b9==_0x58b5d9||_0x58b5d9>_0x5e6809['from'])){_0x5f32dd=_0x5e6809['from'];let _0x12b48c=/^\s*/['exec'](_0x5e6809['text'])[0x0]['length'],_0x42a483=_0x12b48c==_0x5e6809['length'],_0xed538b=_0x5e6809['text']['slice'](_0x12b48c,_0x12b48c+_0x4c8ac6['length'])==_0x4c8ac6?_0x12b48c:-0x1;_0x12b48c<_0x5e6809['text']['length']&&_0x12b48c<_0x25e18c&&(_0x25e18c=_0x12b48c),_0x35464c['push']({'line':_0x5e6809,'comment':_0xed538b,'token':_0x4c8ac6,'indent':_0x12b48c,'empty':_0x42a483,'single':!0x1});}_0x541258=_0x5e6809['to']+0x1;}if(_0x25e18c<0x3b9aca00){for(let _0x50235a=_0x165ce3;_0x50235a<_0x35464c['length'];_0x50235a++)_0x35464c[_0x50235a]['indent']<_0x35464c[_0x50235a]['line']['text']['length']&&(_0x35464c[_0x50235a]['indent']=_0x25e18c);}_0x35464c['length']==_0x165ce3+0x1&&(_0x35464c[_0x165ce3]['single']=!0x0);}}if(0x2!=_0x541393&&_0x35464c['some'](_0x59775c=>_0x59775c['comment']<0x0&&(!_0x59775c['empty']||_0x59775c['single']))){let _0x5468e9=[];for(let {line:_0x24cedd,token:_0x115d62,indent:_0x5e6926,empty:_0x50bae6,single:_0xf9709a}of _0x35464c)!_0xf9709a&&_0x50bae6||_0x5468e9['push']({'from':_0x24cedd['from']+_0x5e6926,'insert':_0x115d62+'\x20'});let _0x8474be=_0x57401a['changes'](_0x5468e9);return{'changes':_0x8474be,'selection':_0x57401a['selection']['map'](_0x8474be,0x1)};}if(0x1!=_0x541393&&_0x35464c['some'](_0x2f8adf=>_0x2f8adf['comment']>=0x0)){let _0x3ec794=[];for(let {line:_0x41b09d,comment:_0x2e126b,token:_0x16268d}of _0x35464c)if(_0x2e126b>=0x0){let _0x478a35=_0x41b09d['from']+_0x2e126b,_0x3b3b9f=_0x478a35+_0x16268d['length'];'\x20'==_0x41b09d['text'][_0x3b3b9f-_0x41b09d['from']]&&_0x3b3b9f++,_0x3ec794['push']({'from':_0x478a35,'to':_0x3b3b9f});}return{'changes':_0x3ec794};}return null;}const fromHistory=Annotation['define'](),isolateHistory=Annotation['define'](),invertedEffects=Facet['define'](),historyConfig=Facet['define']({'combine':_0x2bdf3a=>_0x44c9ef(_0x2bdf3a,{'minDepth':0x64,'newGroupDelay':0x1f4,'joinToEvent':(_0x5d8c8a,_0x9e968c)=>_0x9e968c},{'minDepth':Math['max'],'newGroupDelay':Math['min'],'joinToEvent':(_0x51c0bc,_0x54f4c5)=>(_0x39f5f7,_0x1545ff)=>_0x51c0bc(_0x39f5f7,_0x1545ff)||_0x54f4c5(_0x39f5f7,_0x1545ff)})}),historyField_=StateField['define']({'create':()=>HistoryState['empty'],'update'(_0x5b0706,_0x503cc3){let _0x19d044=_0x503cc3['state']['facet'](historyConfig),_0x48591f=_0x503cc3['annotation'](fromHistory);if(_0x48591f){let _0xcc2cd2=HistEvent['fromTransaction'](_0x503cc3,_0x48591f['selection']),_0x1b7803=_0x48591f['side'],_0x1a5a03=0x0==_0x1b7803?_0x5b0706['undone']:_0x5b0706['done'];return _0x1a5a03=_0xcc2cd2?updateBranch(_0x1a5a03,_0x1a5a03['length'],_0x19d044['minDepth'],_0xcc2cd2):addSelection(_0x1a5a03,_0x503cc3['startState']['selection']),new HistoryState(0x0==_0x1b7803?_0x48591f['rest']:_0x1a5a03,0x0==_0x1b7803?_0x1a5a03:_0x48591f['rest']);}let _0x3f563b=_0x503cc3['annotation'](isolateHistory);if('full'!=_0x3f563b&&'before'!=_0x3f563b||(_0x5b0706=_0x5b0706['isolate']()),!0x1===_0x503cc3['annotation'](Transaction['addToHistory']))return _0x503cc3['changes']['empty']?_0x5b0706:_0x5b0706['addMapping'](_0x503cc3['changes']['desc']);let _0xdaff0=HistEvent['fromTransaction'](_0x503cc3),_0x56f0ba=_0x503cc3['annotation'](Transaction['time']),_0x944d1c=_0x503cc3['annotation'](Transaction['userEvent']);return _0xdaff0?_0x5b0706=_0x5b0706['addChanges'](_0xdaff0,_0x56f0ba,_0x944d1c,_0x19d044,_0x503cc3):_0x503cc3['selection']&&(_0x5b0706=_0x5b0706['addSelection'](_0x503cc3['startState']['selection'],_0x56f0ba,_0x944d1c,_0x19d044['newGroupDelay'])),'full'!=_0x3f563b&&'after'!=_0x3f563b||(_0x5b0706=_0x5b0706['isolate']()),_0x5b0706;},'toJSON':_0x23a327=>({'done':_0x23a327['done']['map'](_0x4c4c59=>_0x4c4c59['toJSON']()),'undone':_0x23a327['undone']['map'](_0x24e7e8=>_0x24e7e8['toJSON']())}),'fromJSON':_0x22e20f=>new HistoryState(_0x22e20f['done']['map'](HistEvent['fromJSON']),_0x22e20f['undone']['map'](HistEvent['fromJSON']))});function history(_0x1544f4={}){return[historyField_,historyConfig['of'](_0x1544f4),EditorView['domEventHandlers']({'beforeinput'(_0x22312c,_0x4f823a){let _0x5cc7e4='historyUndo'==_0x22312c['inputType']?_0x5cfc20:'historyRedo'==_0x22312c['inputType']?_0x421920:null;return!!_0x5cc7e4&&(_0x22312c['preventDefault'](),_0x5cc7e4(_0x4f823a));}})];}function _0x5c3d59(_0x1ceab1,_0x375b41){return function({state:_0x49819b,dispatch:_0x34ea57}){if(!_0x375b41&&_0x49819b['readOnly'])return!0x1;let _0x3856f2=_0x49819b['field'](historyField_,!0x1);if(!_0x3856f2)return!0x1;let _0x26bc27=_0x3856f2['pop'](_0x1ceab1,_0x49819b,_0x375b41);return!!_0x26bc27&&(_0x34ea57(_0x26bc27),!0x0);};}const _0x5cfc20=_0x5c3d59(0x0,!0x1),_0x421920=_0x5c3d59(0x1,!0x1),undoSelection=_0x5c3d59(0x0,!0x0),redoSelection=_0x5c3d59(0x1,!0x0);class HistEvent{constructor(_0x59653e,_0x3687c7,_0x2005f5,_0x24871a,_0x2b834c){this['changes']=_0x59653e,this['effects']=_0x3687c7,this['mapped']=_0x2005f5,this['startSelection']=_0x24871a,this['selectionsAfter']=_0x2b834c;}['setSelAfter'](_0x2ce318){return new HistEvent(this['changes'],this['effects'],this['mapped'],this['startSelection'],_0x2ce318);}['toJSON'](){var _0x57f41b,_0x47f6dd,_0x30335e;return{'changes':null===(_0x57f41b=this['changes'])||void 0x0===_0x57f41b?void 0x0:_0x57f41b['toJSON'](),'mapped':null===(_0x47f6dd=this['mapped'])||void 0x0===_0x47f6dd?void 0x0:_0x47f6dd['toJSON'](),'startSelection':null===(_0x30335e=this['startSelection'])||void 0x0===_0x30335e?void 0x0:_0x30335e['toJSON'](),'selectionsAfter':this['selectionsAfter']['map'](_0x42b105=>_0x42b105['toJSON']())};}static['fromJSON'](_0x5981ba){return new HistEvent(_0x5981ba['changes']&&ChangeSet['fromJSON'](_0x5981ba['changes']),[],_0x5981ba['mapped']&&_0x24335e['fromJSON'](_0x5981ba['mapped']),_0x5981ba['startSelection']&&EditorSelection['fromJSON'](_0x5981ba['startSelection']),_0x5981ba['selectionsAfter']['map'](EditorSelection['fromJSON']));}static['fromTransaction'](_0x2fd1b2,_0x3ec71e){let _0x337b20=_0x4a5615;for(let _0x24a0a7 of _0x2fd1b2['startState']['facet'](invertedEffects)){let _0x407bed=_0x24a0a7(_0x2fd1b2);_0x407bed['length']&&(_0x337b20=_0x337b20['concat'](_0x407bed));}return!_0x337b20['length']&&_0x2fd1b2['changes']['empty']?null:new HistEvent(_0x2fd1b2['changes']['invert'](_0x2fd1b2['startState']['doc']),_0x337b20,void 0x0,_0x3ec71e||_0x2fd1b2['startState']['selection'],_0x4a5615);}static['selection'](_0x54b931){return new HistEvent(void 0x0,_0x4a5615,void 0x0,void 0x0,_0x54b931);}}function updateBranch(_0x281986,_0x291950,_0x394269,_0x4450ee){let _0x392457=_0x291950+0x1>_0x394269+0x14?_0x291950-_0x394269-0x1:0x0,_0x3c7bb1=_0x281986['slice'](_0x392457,_0x291950);return _0x3c7bb1['push'](_0x4450ee),_0x3c7bb1;}function isAdjacent(_0xf79145,_0x155e46){let _0x24b028=[],_0x1cdc48=!0x1;return _0xf79145['iterChangedRanges']((_0x5d33b3,t)=>_0x24b028['push'](_0x5d33b3,t)),_0x155e46['iterChangedRanges']((_0x255b34,_0xd3ff3,_0x5b61e2,t)=>{for(let _0x57cddf=0x0;_0x57cddf<_0x24b028['length'];){let _0x2fa89b=_0x24b028[_0x57cddf++],_0x3275a2=_0x24b028[_0x57cddf++];t>=_0x2fa89b&&_0x5b61e2<=_0x3275a2&&(_0x1cdc48=!0x0);}}),_0x1cdc48;}function eqSelectionShape(_0x4a0ec8,_0xc07b31){return _0x4a0ec8['ranges']['length']==_0xc07b31['ranges']['length']&&0x0===_0x4a0ec8['ranges']['filter']((_0x351792,_0x304af2)=>_0x351792['empty']!=_0xc07b31['ranges'][_0x304af2]['empty'])['length'];}function _0x2eb4c7(_0xa842a6,_0x364568){return _0xa842a6['length']?_0x364568['length']?_0xa842a6['concat'](_0x364568):_0xa842a6:_0x364568;}const _0x4a5615=[],MaxSelectionsPerEvent=0xc8;function addSelection(_0x384500,_0x53a4d0){if(_0x384500['length']){let _0x3785ea=_0x384500[_0x384500['length']-0x1],_0x4f5dc3=_0x3785ea['selectionsAfter']['slice'](Math['max'](0x0,_0x3785ea['selectionsAfter']['length']-MaxSelectionsPerEvent));return _0x4f5dc3['length']&&_0x4f5dc3[_0x4f5dc3['length']-0x1]['eq'](_0x53a4d0)?_0x384500:(_0x4f5dc3['push'](_0x53a4d0),updateBranch(_0x384500,_0x384500['length']-0x1,0x3b9aca00,_0x3785ea['setSelAfter'](_0x4f5dc3)));}return[HistEvent['selection']([_0x53a4d0])];}function popSelection(_0x2a85dc){let _0x203cba=_0x2a85dc[_0x2a85dc['length']-0x1],_0xb3af3=_0x2a85dc['slice']();return _0xb3af3[_0x2a85dc['length']-0x1]=_0x203cba['setSelAfter'](_0x203cba['selectionsAfter']['slice'](0x0,_0x203cba['selectionsAfter']['length']-0x1)),_0xb3af3;}function _0x59f4fd(_0x458b9d,_0x19f0a4){if(!_0x458b9d['length'])return _0x458b9d;let _0x1bc493=_0x458b9d['length'],_0x5c9b7c=_0x4a5615;for(;_0x1bc493;){let _0x5e941f=mapEvent(_0x458b9d[_0x1bc493-0x1],_0x19f0a4,_0x5c9b7c);if(_0x5e941f['changes']&&!_0x5e941f['changes']['empty']||_0x5e941f['effects']['length']){let _0x650786=_0x458b9d['slice'](0x0,_0x1bc493);return _0x650786[_0x1bc493-0x1]=_0x5e941f,_0x650786;}_0x19f0a4=_0x5e941f['mapped'],_0x1bc493--,_0x5c9b7c=_0x5e941f['selectionsAfter'];}return _0x5c9b7c['length']?[HistEvent['selection'](_0x5c9b7c)]:_0x4a5615;}function mapEvent(_0x1dc622,_0x50879b,_0x355d1d){let _0x5ccb28=_0x2eb4c7(_0x1dc622['selectionsAfter']['length']?_0x1dc622['selectionsAfter']['map'](_0x388632=>_0x388632['map'](_0x50879b)):_0x4a5615,_0x355d1d);if(!_0x1dc622['changes'])return HistEvent['selection'](_0x5ccb28);let _0x2235e0=_0x1dc622['changes']['map'](_0x50879b),_0x2ddbb0=_0x50879b['mapDesc'](_0x1dc622['changes'],!0x0),_0x1ce2ff=_0x1dc622['mapped']?_0x1dc622['mapped']['composeDesc'](_0x2ddbb0):_0x2ddbb0;return new HistEvent(_0x2235e0,StateEffect['mapEffects'](_0x1dc622['effects'],_0x50879b),_0x1ce2ff,_0x1dc622['startSelection']['map'](_0x2ddbb0),_0x5ccb28);}const joinableUserEvent=/^(input\.type|delete)($|\.)/;class HistoryState{constructor(_0x31425b,_0x5c1263,_0x3e6eec=0x0,_0x4c4356=void 0x0){this['done']=_0x31425b,this['undone']=_0x5c1263,this['prevTime']=_0x3e6eec,this['prevUserEvent']=_0x4c4356;}['isolate'](){return this['prevTime']?new HistoryState(this['done'],this['undone']):this;}['addChanges'](_0x3a3afd,_0xc2cbff,_0x35c4bf,_0xc21bcf,_0x59b493){let _0x275b91=this['done'],_0x35a46d=_0x275b91[_0x275b91['length']-0x1];return _0x275b91=_0x35a46d&&_0x35a46d['changes']&&!_0x35a46d['changes']['empty']&&_0x3a3afd['changes']&&(!_0x35c4bf||joinableUserEvent['test'](_0x35c4bf))&&(!_0x35a46d['selectionsAfter']['length']&&_0xc2cbff-this['prevTime']<_0xc21bcf['newGroupDelay']&&_0xc21bcf['joinToEvent'](_0x59b493,isAdjacent(_0x35a46d['changes'],_0x3a3afd['changes']))||'input.type.compose'==_0x35c4bf)?updateBranch(_0x275b91,_0x275b91['length']-0x1,_0xc21bcf['minDepth'],new HistEvent(_0x3a3afd['changes']['compose'](_0x35a46d['changes']),_0x2eb4c7(StateEffect['mapEffects'](_0x3a3afd['effects'],_0x35a46d['changes']),_0x35a46d['effects']),_0x35a46d['mapped'],_0x35a46d['startSelection'],_0x4a5615)):updateBranch(_0x275b91,_0x275b91['length'],_0xc21bcf['minDepth'],_0x3a3afd),new HistoryState(_0x275b91,_0x4a5615,_0xc2cbff,_0x35c4bf);}['addSelection'](_0x5a0a32,_0x1aa1d1,_0x29a5f3,_0x475615){let _0x2930d2=this['done']['length']?this['done'][this['done']['length']-0x1]['selectionsAfter']:_0x4a5615;return _0x2930d2['length']>0x0&&_0x1aa1d1-this['prevTime']<_0x475615&&_0x29a5f3==this['prevUserEvent']&&_0x29a5f3&&/^select($|\.)/['test'](_0x29a5f3)&&eqSelectionShape(_0x2930d2[_0x2930d2['length']-0x1],_0x5a0a32)?this:new HistoryState(addSelection(this['done'],_0x5a0a32),this['undone'],_0x1aa1d1,_0x29a5f3);}['addMapping'](_0x5d811c){return new HistoryState(_0x59f4fd(this['done'],_0x5d811c),_0x59f4fd(this['undone'],_0x5d811c),this['prevTime'],this['prevUserEvent']);}['pop'](_0x15af64,_0x406591,_0xe3049e){let _0xc48c4=0x0==_0x15af64?this['done']:this['undone'];if(0x0==_0xc48c4['length'])return null;let _0x2cfbbb=_0xc48c4[_0xc48c4['length']-0x1],_0x2010e5=_0x2cfbbb['selectionsAfter'][0x0]||_0x406591['selection'];if(_0xe3049e&&_0x2cfbbb['selectionsAfter']['length'])return _0x406591['update']({'selection':_0x2cfbbb['selectionsAfter'][_0x2cfbbb['selectionsAfter']['length']-0x1],'annotations':fromHistory['of']({'side':_0x15af64,'rest':popSelection(_0xc48c4),'selection':_0x2010e5}),'userEvent':0x0==_0x15af64?'select.undo':'select.redo','scrollIntoView':!0x0});if(_0x2cfbbb['changes']){let _0x2ea3bc=0x1==_0xc48c4['length']?_0x4a5615:_0xc48c4['slice'](0x0,_0xc48c4['length']-0x1);return _0x2cfbbb['mapped']&&(_0x2ea3bc=_0x59f4fd(_0x2ea3bc,_0x2cfbbb['mapped'])),_0x406591['update']({'changes':_0x2cfbbb['changes'],'selection':_0x2cfbbb['startSelection'],'effects':_0x2cfbbb['effects'],'annotations':fromHistory['of']({'side':_0x15af64,'rest':_0x2ea3bc,'selection':_0x2010e5}),'filter':!0x1,'userEvent':0x0==_0x15af64?'undo':'redo','scrollIntoView':!0x0});}return null;}}HistoryState['empty']=new HistoryState(_0x4a5615,_0x4a5615);const historyKeymap=[{'key':'Mod-z','run':_0x5cfc20,'preventDefault':!0x0},{'key':'Mod-y','mac':'Mod-Shift-z','run':_0x421920,'preventDefault':!0x0},{'linux':'Ctrl-Shift-z','run':_0x421920,'preventDefault':!0x0},{'key':'Mod-u','run':undoSelection,'preventDefault':!0x0},{'key':'Alt-u','mac':'Mod-Shift-u','run':redoSelection,'preventDefault':!0x0}];function updateSel(_0x58685d,_0x5c1e65){return EditorSelection['create'](_0x58685d['ranges']['map'](_0x5c1e65),_0x58685d['mainIndex']);}function setSel(_0x59bd83,_0x539f8e){return _0x59bd83['update']({'selection':_0x539f8e,'scrollIntoView':!0x0,'userEvent':'select'});}function _0x5613cb({state:_0x2b0fbb,dispatch:_0x236a6c},_0x47d831){let _0x371105=updateSel(_0x2b0fbb['selection'],_0x47d831);return!_0x371105['eq'](_0x2b0fbb['selection'],!0x0)&&(_0x236a6c(setSel(_0x2b0fbb,_0x371105)),!0x0);}function _0x2a4a0f(_0x360604,_0x415059){return EditorSelection['cursor'](_0x415059?_0x360604['to']:_0x360604['from']);}function _0x5cd3d7(_0x983e08,_0xac44f5){return _0x5613cb(_0x983e08,_0x2900d4=>_0x2900d4['empty']?_0x983e08['moveByChar'](_0x2900d4,_0xac44f5):_0x2a4a0f(_0x2900d4,_0xac44f5));}function ltrAtCursor(_0x3ca060){return _0x3ca060['textDirectionAt'](_0x3ca060['state']['selection']['main']['head'])==Direction['LTR'];}const cursorCharLeft=_0x9879a1=>_0x5cd3d7(_0x9879a1,!ltrAtCursor(_0x9879a1)),cursorCharRight=_0x2960ef=>_0x5cd3d7(_0x2960ef,ltrAtCursor(_0x2960ef));function _0x2d2f92(_0x17b529,_0x155ddd){return _0x5613cb(_0x17b529,_0x46ef1b=>_0x46ef1b['empty']?_0x17b529['moveByGroup'](_0x46ef1b,_0x155ddd):_0x2a4a0f(_0x46ef1b,_0x155ddd));}const cursorGroupLeft=_0x28d6e8=>_0x2d2f92(_0x28d6e8,!ltrAtCursor(_0x28d6e8)),cursorGroupRight=_0x2e9db1=>_0x2d2f92(_0x2e9db1,ltrAtCursor(_0x2e9db1));function interestingNode(_0x6ddeaf,_0x5046ec,_0x5ea373){if(_0x5046ec['type']['prop'](_0x5ea373))return!0x0;let _0x6a0d9a=_0x5046ec['to']-_0x5046ec['from'];return _0x6a0d9a&&(_0x6a0d9a>0x2||/[^\s,.;:]/['test'](_0x6ddeaf['sliceDoc'](_0x5046ec['from'],_0x5046ec['to'])))||_0x5046ec['firstChild'];}function moveBySyntax(_0x573739,_0x336e3a,_0x2d9c2e){let _0x1c8a4a,_0x1a2d04,_0x535c33=syntaxTree(_0x573739)['resolveInner'](_0x336e3a['head']),_0x2310e5=_0x2d9c2e?_0x258b5f['closedBy']:_0x258b5f['openedBy'];for(let _0x475223=_0x336e3a['head'];;){let _0x2cd3fb=_0x2d9c2e?_0x535c33['childAfter'](_0x475223):_0x535c33['childBefore'](_0x475223);if(!_0x2cd3fb)break;interestingNode(_0x573739,_0x2cd3fb,_0x2310e5)?_0x535c33=_0x2cd3fb:_0x475223=_0x2d9c2e?_0x2cd3fb['to']:_0x2cd3fb['from'];}return _0x1a2d04=_0x535c33['type']['prop'](_0x2310e5)&&(_0x1c8a4a=_0x2d9c2e?matchBrackets(_0x573739,_0x535c33['from'],0x1):matchBrackets(_0x573739,_0x535c33['to'],-0x1))&&_0x1c8a4a['matched']?_0x2d9c2e?_0x1c8a4a['end']['to']:_0x1c8a4a['end']['from']:_0x2d9c2e?_0x535c33['to']:_0x535c33['from'],EditorSelection['cursor'](_0x1a2d04,_0x2d9c2e?-0x1:0x1);}const cursorSyntaxLeft=_0x23e4f6=>_0x5613cb(_0x23e4f6,_0x34861e=>moveBySyntax(_0x23e4f6['state'],_0x34861e,!ltrAtCursor(_0x23e4f6))),cursorSyntaxRight=_0x49f3b6=>_0x5613cb(_0x49f3b6,_0x297bbe=>moveBySyntax(_0x49f3b6['state'],_0x297bbe,ltrAtCursor(_0x49f3b6)));function _0xe25d(_0x347379,_0x2c362c){return _0x5613cb(_0x347379,_0x178cad=>{if(!_0x178cad['empty'])return _0x2a4a0f(_0x178cad,_0x2c362c);let _0x3986c6=_0x347379['moveVertically'](_0x178cad,_0x2c362c);return _0x3986c6['head']!=_0x178cad['head']?_0x3986c6:_0x347379['moveToLineBoundary'](_0x178cad,_0x2c362c);});}const _0x27cb1d=_0x4b6527=>_0xe25d(_0x4b6527,!0x1),_0x26a558=_0x57e912=>_0xe25d(_0x57e912,!0x0);function _0x4a4739(_0x75e083){let _0x2b0608,_0x4ce9ef=_0x75e083['scrollDOM']['clientHeight']<_0x75e083['scrollDOM']['scrollHeight']-0x2,_0x4001b3=0x0,_0x3a84d8=0x0;if(_0x4ce9ef){for(let _0x41f188 of _0x75e083['state']['facet'](EditorView['scrollMargins'])){let _0x5a3cbc=_0x41f188(_0x75e083);(null==_0x5a3cbc?void 0x0:_0x5a3cbc['top'])&&(_0x4001b3=Math['max'](null==_0x5a3cbc?void 0x0:_0x5a3cbc['top'],_0x4001b3)),(null==_0x5a3cbc?void 0x0:_0x5a3cbc['bottom'])&&(_0x3a84d8=Math['max'](null==_0x5a3cbc?void 0x0:_0x5a3cbc['bottom'],_0x3a84d8));}_0x2b0608=_0x75e083['scrollDOM']['clientHeight']-_0x4001b3-_0x3a84d8;}else _0x2b0608=(_0x75e083['dom']['ownerDocument']['defaultView']||window)['innerHeight'];return{'marginTop':_0x4001b3,'marginBottom':_0x3a84d8,'selfScroll':_0x4ce9ef,'height':Math['max'](_0x75e083['defaultLineHeight'],_0x2b0608-0x5)};}function _0x27bab0(_0x79927f,_0x14de19){let _0xcb1d1,_0x39deba=_0x4a4739(_0x79927f),{state:_0x1a4b9e}=_0x79927f,_0x3953e4=updateSel(_0x1a4b9e['selection'],_0xdcb19e=>_0xdcb19e['empty']?_0x79927f['moveVertically'](_0xdcb19e,_0x14de19,_0x39deba['height']):_0x2a4a0f(_0xdcb19e,_0x14de19));if(_0x3953e4['eq'](_0x1a4b9e['selection']))return!0x1;if(_0x39deba['selfScroll']){let _0x20075a=_0x79927f['coordsAtPos'](_0x1a4b9e['selection']['main']['head']),_0x13f368=_0x79927f['scrollDOM']['getBoundingClientRect'](),_0x4682d3=_0x13f368['top']+_0x39deba['marginTop'],_0x38ed3f=_0x13f368['bottom']-_0x39deba['marginBottom'];_0x20075a&&_0x20075a['top']>_0x4682d3&&_0x20075a['bottom']<_0x38ed3f&&(_0xcb1d1=EditorView['scrollIntoView'](_0x3953e4['main']['head'],{'y':'start','yMargin':_0x20075a['top']-_0x4682d3}));}return _0x79927f['dispatch'](setSel(_0x1a4b9e,_0x3953e4),{'effects':_0xcb1d1}),!0x0;}const _0x1d75ec=_0x4646e1=>_0x27bab0(_0x4646e1,!0x1),_0x3af549=_0x5a5f5f=>_0x27bab0(_0x5a5f5f,!0x0);function _0x1c9508(_0x2f2993,_0x418f24,_0x12487c){let _0x72836=_0x2f2993['lineBlockAt'](_0x418f24['head']),_0xaf1c4d=_0x2f2993['moveToLineBoundary'](_0x418f24,_0x12487c);if(_0xaf1c4d['head']==_0x418f24['head']&&_0xaf1c4d['head']!=(_0x12487c?_0x72836['to']:_0x72836['from'])&&(_0xaf1c4d=_0x2f2993['moveToLineBoundary'](_0x418f24,_0x12487c,!0x1)),!_0x12487c&&_0xaf1c4d['head']==_0x72836['from']&&_0x72836['length']){let _0x1b7a87=/^\s*/['exec'](_0x2f2993['state']['sliceDoc'](_0x72836['from'],Math['min'](_0x72836['from']+0x64,_0x72836['to'])))[0x0]['length'];_0x1b7a87&&_0x418f24['head']!=_0x72836['from']+_0x1b7a87&&(_0xaf1c4d=EditorSelection['cursor'](_0x72836['from']+_0x1b7a87));}return _0xaf1c4d;}const _0x277649=_0x169db3=>_0x5613cb(_0x169db3,_0x58e982=>_0x1c9508(_0x169db3,_0x58e982,!0x0)),_0x5e9e80=_0x29fb66=>_0x5613cb(_0x29fb66,_0x3061d3=>_0x1c9508(_0x29fb66,_0x3061d3,!0x1)),cursorLineBoundaryLeft=_0x10e51d=>_0x5613cb(_0x10e51d,_0x4a988f=>_0x1c9508(_0x10e51d,_0x4a988f,!ltrAtCursor(_0x10e51d))),cursorLineBoundaryRight=_0x560ec1=>_0x5613cb(_0x560ec1,_0xfb0d8c=>_0x1c9508(_0x560ec1,_0xfb0d8c,ltrAtCursor(_0x560ec1))),cursorLineStart=_0x2e2aad=>_0x5613cb(_0x2e2aad,_0x2edfd5=>EditorSelection['cursor'](_0x2e2aad['lineBlockAt'](_0x2edfd5['head'])['from'],0x1)),_0x43ba43=_0x255eeb=>_0x5613cb(_0x255eeb,_0x2f54ea=>EditorSelection['cursor'](_0x255eeb['lineBlockAt'](_0x2f54ea['head'])['to'],-0x1));function toMatchingBracket(_0xf41020,_0x115cd5,_0xf4e611){let _0x4d4c55=!0x1,_0x370446=updateSel(_0xf41020['selection'],_0x1e0d45=>{let _0x1bbeac=matchBrackets(_0xf41020,_0x1e0d45['head'],-0x1)||matchBrackets(_0xf41020,_0x1e0d45['head'],0x1)||_0x1e0d45['head']>0x0&&matchBrackets(_0xf41020,_0x1e0d45['head']-0x1,0x1)||_0x1e0d45['head']<_0xf41020['doc']['length']&&matchBrackets(_0xf41020,_0x1e0d45['head']+0x1,-0x1);if(!_0x1bbeac||!_0x1bbeac['end'])return _0x1e0d45;_0x4d4c55=!0x0;let _0x359dbb=_0x1bbeac['start']['from']==_0x1e0d45['head']?_0x1bbeac['end']['to']:_0x1bbeac['end']['from'];return EditorSelection['cursor'](_0x359dbb);});return!!_0x4d4c55&&(_0x115cd5(setSel(_0xf41020,_0x370446)),!0x0);}const cursorMatchingBracket=({state:_0x3b7593,dispatch:_0x32f675})=>toMatchingBracket(_0x3b7593,_0x32f675);function extendSel(_0x18dcc7,_0x649319){let _0x101709=updateSel(_0x18dcc7['state']['selection'],_0xefa47=>{let _0x4af666=_0x649319(_0xefa47);return EditorSelection['range'](_0xefa47['anchor'],_0x4af666['head'],_0x4af666['goalColumn'],_0x4af666['bidiLevel']||void 0x0);});return!_0x101709['eq'](_0x18dcc7['state']['selection'])&&(_0x18dcc7['dispatch'](setSel(_0x18dcc7['state'],_0x101709)),!0x0);}function selectByChar(_0x5e8fa0,_0x2c5853){return extendSel(_0x5e8fa0,_0x56a477=>_0x5e8fa0['moveByChar'](_0x56a477,_0x2c5853));}const selectCharLeft=_0x2a8ade=>selectByChar(_0x2a8ade,!ltrAtCursor(_0x2a8ade)),selectCharRight=_0x2c5994=>selectByChar(_0x2c5994,ltrAtCursor(_0x2c5994));function selectByGroup(_0x43a6d1,_0x24cc8f){return extendSel(_0x43a6d1,_0x525df2=>_0x43a6d1['moveByGroup'](_0x525df2,_0x24cc8f));}const selectGroupLeft=_0x4818f7=>selectByGroup(_0x4818f7,!ltrAtCursor(_0x4818f7)),selectGroupRight=_0xc95fba=>selectByGroup(_0xc95fba,ltrAtCursor(_0xc95fba)),selectSyntaxLeft=_0x1e86dc=>extendSel(_0x1e86dc,_0x14688f=>moveBySyntax(_0x1e86dc['state'],_0x14688f,!ltrAtCursor(_0x1e86dc))),selectSyntaxRight=_0xfc4a5a=>extendSel(_0xfc4a5a,_0x265d5a=>moveBySyntax(_0xfc4a5a['state'],_0x265d5a,ltrAtCursor(_0xfc4a5a)));function selectByLine(_0x5602a6,_0x5a4a9f){return extendSel(_0x5602a6,_0x35ba78=>_0x5602a6['moveVertically'](_0x35ba78,_0x5a4a9f));}const selectLineUp=_0x6b1b66=>selectByLine(_0x6b1b66,!0x1),selectLineDown=_0x4e5078=>selectByLine(_0x4e5078,!0x0);function selectByPage(_0x12e735,_0x2fce56){return extendSel(_0x12e735,_0x1f52f8=>_0x12e735['moveVertically'](_0x1f52f8,_0x2fce56,_0x4a4739(_0x12e735)['height']));}const selectPageUp=_0x369dcf=>selectByPage(_0x369dcf,!0x1),selectPageDown=_0x3a9d9a=>selectByPage(_0x3a9d9a,!0x0),selectLineBoundaryForward=_0x3ffcfa=>extendSel(_0x3ffcfa,_0x2ee51c=>_0x1c9508(_0x3ffcfa,_0x2ee51c,!0x0)),selectLineBoundaryBackward=_0x1e8bbf=>extendSel(_0x1e8bbf,_0xa014d8=>_0x1c9508(_0x1e8bbf,_0xa014d8,!0x1)),selectLineBoundaryLeft=_0x2c1a76=>extendSel(_0x2c1a76,_0x480b9f=>_0x1c9508(_0x2c1a76,_0x480b9f,!ltrAtCursor(_0x2c1a76))),selectLineBoundaryRight=_0x1ab398=>extendSel(_0x1ab398,_0x6640ae=>_0x1c9508(_0x1ab398,_0x6640ae,ltrAtCursor(_0x1ab398))),selectLineStart=_0x8e673a=>extendSel(_0x8e673a,_0x1828ce=>EditorSelection['cursor'](_0x8e673a['lineBlockAt'](_0x1828ce['head'])['from'])),selectLineEnd=_0x54c9a1=>extendSel(_0x54c9a1,_0x2f8f7f=>EditorSelection['cursor'](_0x54c9a1['lineBlockAt'](_0x2f8f7f['head'])['to'])),cursorDocStart=({state:_0x1f070f,dispatch:_0x7ed789})=>(_0x7ed789(setSel(_0x1f070f,{'anchor':0x0})),!0x0),_0x160d48=({state:_0x1fee7a,dispatch:_0x918fa5})=>(_0x918fa5(setSel(_0x1fee7a,{'anchor':_0x1fee7a['doc']['length']})),!0x0),selectDocStart=({state:_0x80477b,dispatch:_0x39ae94})=>(_0x39ae94(setSel(_0x80477b,{'anchor':_0x80477b['selection']['main']['anchor'],'head':0x0})),!0x0),selectDocEnd=({state:_0x46faad,dispatch:_0x5b41b9})=>(_0x5b41b9(setSel(_0x46faad,{'anchor':_0x46faad['selection']['main']['anchor'],'head':_0x46faad['doc']['length']})),!0x0),selectAll=({state:_0x36c7dc,dispatch:_0x2c09c7})=>(_0x2c09c7(_0x36c7dc['update']({'selection':{'anchor':0x0,'head':_0x36c7dc['doc']['length']},'userEvent':'select'})),!0x0),selectLine=({state:_0x8f4c3a,dispatch:_0x674999})=>{let _0x3f24b9=selectedLineBlocks(_0x8f4c3a)['map'](({from:_0x40f2df,to:_0x4f38c2})=>EditorSelection['range'](_0x40f2df,Math['min'](_0x4f38c2+0x1,_0x8f4c3a['doc']['length'])));return _0x674999(_0x8f4c3a['update']({'selection':EditorSelection['create'](_0x3f24b9),'userEvent':'select'})),!0x0;},selectParentSyntax=({state:_0x381c3b,dispatch:_0x564ae0})=>{let _0x2f347d=updateSel(_0x381c3b['selection'],_0x555d81=>{let _0x446c82=syntaxTree(_0x381c3b),_0x39e7af=_0x446c82['resolveStack'](_0x555d81['from'],0x1);if(_0x555d81['empty']){let _0x229408=_0x446c82['resolveStack'](_0x555d81['from'],-0x1);_0x229408['node']['from']>=_0x39e7af['node']['from']&&_0x229408['node']['to']<=_0x39e7af['node']['to']&&(_0x39e7af=_0x229408);}for(let _0x1a1e84=_0x39e7af;_0x1a1e84;_0x1a1e84=_0x1a1e84['next']){let {node:_0x2956b1}=_0x1a1e84;if((_0x2956b1['from']<_0x555d81['from']&&_0x2956b1['to']>=_0x555d81['to']||_0x2956b1['to']>_0x555d81['to']&&_0x2956b1['from']<=_0x555d81['from'])&&_0x1a1e84['next'])return EditorSelection['range'](_0x2956b1['to'],_0x2956b1['from']);}return _0x555d81;});return!_0x2f347d['eq'](_0x381c3b['selection'])&&(_0x564ae0(setSel(_0x381c3b,_0x2f347d)),!0x0);},simplifySelection=({state:_0x4679d5,dispatch:_0x30e7c3})=>{let _0x413e2e=_0x4679d5['selection'],_0x21598c=null;return _0x413e2e['ranges']['length']>0x1?_0x21598c=EditorSelection['create']([_0x413e2e['main']]):_0x413e2e['main']['empty']||(_0x21598c=EditorSelection['create']([EditorSelection['cursor'](_0x413e2e['main']['head'])])),!!_0x21598c&&(_0x30e7c3(setSel(_0x4679d5,_0x21598c)),!0x0);};function deleteBy(_0x14c2e3,_0x501857){if(_0x14c2e3['state']['readOnly'])return!0x1;let _0x38cd44='delete.selection',{state:_0x32a0d5}=_0x14c2e3,_0x2e8082=_0x32a0d5['changeByRange'](_0xb3f629=>{let {from:_0x329b76,to:_0x258ac1}=_0xb3f629;if(_0x329b76==_0x258ac1){let _0x5956b8=_0x501857(_0xb3f629);_0x5956b8<_0x329b76?(_0x38cd44='delete.backward',_0x5956b8=skipAtomic(_0x14c2e3,_0x5956b8,!0x1)):_0x5956b8>_0x329b76&&(_0x38cd44='delete.forward',_0x5956b8=skipAtomic(_0x14c2e3,_0x5956b8,!0x0)),_0x329b76=Math['min'](_0x329b76,_0x5956b8),_0x258ac1=Math['max'](_0x258ac1,_0x5956b8);}else _0x329b76=skipAtomic(_0x14c2e3,_0x329b76,!0x1),_0x258ac1=skipAtomic(_0x14c2e3,_0x258ac1,!0x0);return _0x329b76==_0x258ac1?{'range':_0xb3f629}:{'changes':{'from':_0x329b76,'to':_0x258ac1},'range':EditorSelection['cursor'](_0x329b76,_0x329b76<_0xb3f629['head']?-0x1:0x1)};});return!_0x2e8082['changes']['empty']&&(_0x14c2e3['dispatch'](_0x32a0d5['update'](_0x2e8082,{'scrollIntoView':!0x0,'userEvent':_0x38cd44,'effects':'delete.selection'==_0x38cd44?EditorView['announce']['of'](_0x32a0d5['phrase']('Selection\x20deleted')):void 0x0})),!0x0);}function skipAtomic(_0x21bb1d,_0x339cc7,_0x40f69d){if(_0x21bb1d instanceof EditorView){for(let _0x235899 of _0x21bb1d['state']['facet'](EditorView['atomicRanges'])['map'](_0x463114=>_0x463114(_0x21bb1d)))_0x235899['between'](_0x339cc7,_0x339cc7,(_0x39d22b,_0x805f0a)=>{_0x39d22b<_0x339cc7&&_0x805f0a>_0x339cc7&&(_0x339cc7=_0x40f69d?_0x805f0a:_0x39d22b);});}return _0x339cc7;}const deleteByChar=(_0x3fdab0,_0x753a90,_0x4e3971)=>deleteBy(_0x3fdab0,_0x3c3bef=>{let _0x1969d1,_0x1bc5ea,_0x4834a5=_0x3c3bef['from'],{state:_0x1ea166}=_0x3fdab0,_0xc2a45a=_0x1ea166['doc']['lineAt'](_0x4834a5);if(_0x4e3971&&!_0x753a90&&_0x4834a5>_0xc2a45a['from']&&_0x4834a5<_0xc2a45a['from']+0xc8&&!/[^ \t]/['test'](_0x1969d1=_0xc2a45a['text']['slice'](0x0,_0x4834a5-_0xc2a45a['from']))){if('\x09'==_0x1969d1[_0x1969d1['length']-0x1])return _0x4834a5-0x1;let _0x27424e=countColumn(_0x1969d1,_0x1ea166['tabSize'])%getIndentUnit(_0x1ea166)||getIndentUnit(_0x1ea166);for(let _0x46c5b3=0x0;_0x46c5b3<_0x27424e&&'\x20'==_0x1969d1[_0x1969d1['length']-0x1-_0x46c5b3];_0x46c5b3++)_0x4834a5--;_0x1bc5ea=_0x4834a5;}else _0x1bc5ea=findClusterBreak(_0xc2a45a['text'],_0x4834a5-_0xc2a45a['from'],_0x753a90,_0x753a90)+_0xc2a45a['from'],_0x1bc5ea==_0x4834a5&&_0xc2a45a['number']!=(_0x753a90?_0x1ea166['doc']['lines']:0x1)?_0x1bc5ea+=_0x753a90?0x1:-0x1:!_0x753a90&&/[\ufe00-\ufe0f]/['test'](_0xc2a45a['text']['slice'](_0x1bc5ea-_0xc2a45a['from'],_0x4834a5-_0xc2a45a['from']))&&(_0x1bc5ea=findClusterBreak(_0xc2a45a['text'],_0x1bc5ea-_0xc2a45a['from'],!0x1,!0x1)+_0xc2a45a['from']);return _0x1bc5ea;}),deleteCharBackward=_0x24d96e=>deleteByChar(_0x24d96e,!0x1,!0x0),deleteCharForward=_0x8651d0=>deleteByChar(_0x8651d0,!0x0,!0x1),deleteByGroup=(_0x5f25dc,_0x2ad95d)=>deleteBy(_0x5f25dc,_0x29c695=>{let _0x5ecf0c=_0x29c695['head'],{state:_0x51bfc8}=_0x5f25dc,_0x11bc6b=_0x51bfc8['doc']['lineAt'](_0x5ecf0c),_0x1037f0=_0x51bfc8['charCategorizer'](_0x5ecf0c);for(let _0x1e29fc=null;;){if(_0x5ecf0c==(_0x2ad95d?_0x11bc6b['to']:_0x11bc6b['from'])){_0x5ecf0c==_0x29c695['head']&&_0x11bc6b['number']!=(_0x2ad95d?_0x51bfc8['doc']['lines']:0x1)&&(_0x5ecf0c+=_0x2ad95d?0x1:-0x1);break;}let _0x1a00b0=findClusterBreak(_0x11bc6b['text'],_0x5ecf0c-_0x11bc6b['from'],_0x2ad95d)+_0x11bc6b['from'],_0x152e59=_0x11bc6b['text']['slice'](Math['min'](_0x5ecf0c,_0x1a00b0)-_0x11bc6b['from'],Math['max'](_0x5ecf0c,_0x1a00b0)-_0x11bc6b['from']),_0x3de1e7=_0x1037f0(_0x152e59);if(null!=_0x1e29fc&&_0x3de1e7!=_0x1e29fc)break;'\x20'==_0x152e59&&_0x5ecf0c==_0x29c695['head']||(_0x1e29fc=_0x3de1e7),_0x5ecf0c=_0x1a00b0;}return _0x5ecf0c;}),deleteGroupBackward=_0x2dcc22=>deleteByGroup(_0x2dcc22,!0x1),deleteGroupForward=_0xa73d99=>deleteByGroup(_0xa73d99,!0x0),deleteToLineEnd=_0x28ef14=>deleteBy(_0x28ef14,_0x442f61=>{let _0x18e7f4=_0x28ef14['lineBlockAt'](_0x442f61['head'])['to'];return _0x442f61['head']<_0x18e7f4?_0x18e7f4:Math['min'](_0x28ef14['state']['doc']['length'],_0x442f61['head']+0x1);}),deleteLineBoundaryBackward=_0x2b5fa4=>deleteBy(_0x2b5fa4,_0x4b8170=>{let _0x5b6452=_0x2b5fa4['moveToLineBoundary'](_0x4b8170,!0x1)['head'];return _0x4b8170['head']>_0x5b6452?_0x5b6452:Math['max'](0x0,_0x4b8170['head']-0x1);}),deleteLineBoundaryForward=_0x3db721=>deleteBy(_0x3db721,_0x31dd81=>{let _0xc8a0f=_0x3db721['moveToLineBoundary'](_0x31dd81,!0x0)['head'];return _0x31dd81['head']<_0xc8a0f?_0xc8a0f:Math['min'](_0x3db721['state']['doc']['length'],_0x31dd81['head']+0x1);}),splitLine=({state:_0x1a1d93,dispatch:_0x1cf239})=>{if(_0x1a1d93['readOnly'])return!0x1;let _0x235c97=_0x1a1d93['changeByRange'](_0x5aba27=>({'changes':{'from':_0x5aba27['from'],'to':_0x5aba27['to'],'insert':Text['of'](['',''])},'range':EditorSelection['cursor'](_0x5aba27['from'])}));return _0x1cf239(_0x1a1d93['update'](_0x235c97,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;},transposeChars=({state:_0x16bdf1,dispatch:_0x1f0904})=>{if(_0x16bdf1['readOnly'])return!0x1;let _0x5905f2=_0x16bdf1['changeByRange'](_0x4c74eb=>{if(!_0x4c74eb['empty']||0x0==_0x4c74eb['from']||_0x4c74eb['from']==_0x16bdf1['doc']['length'])return{'range':_0x4c74eb};let _0x587cd7=_0x4c74eb['from'],_0xe5aa9d=_0x16bdf1['doc']['lineAt'](_0x587cd7),_0x4c53e1=_0x587cd7==_0xe5aa9d['from']?_0x587cd7-0x1:findClusterBreak(_0xe5aa9d['text'],_0x587cd7-_0xe5aa9d['from'],!0x1)+_0xe5aa9d['from'],_0x4fa752=_0x587cd7==_0xe5aa9d['to']?_0x587cd7+0x1:findClusterBreak(_0xe5aa9d['text'],_0x587cd7-_0xe5aa9d['from'],!0x0)+_0xe5aa9d['from'];return{'changes':{'from':_0x4c53e1,'to':_0x4fa752,'insert':_0x16bdf1['doc']['slice'](_0x587cd7,_0x4fa752)['append'](_0x16bdf1['doc']['slice'](_0x4c53e1,_0x587cd7))},'range':EditorSelection['cursor'](_0x4fa752)};});return!_0x5905f2['changes']['empty']&&(_0x1f0904(_0x16bdf1['update'](_0x5905f2,{'scrollIntoView':!0x0,'userEvent':'move.character'})),!0x0);};function selectedLineBlocks(_0x3343f3){let _0x4da558=[],_0x272282=-0x1;for(let _0x37dee3 of _0x3343f3['selection']['ranges']){let _0x157b7d=_0x3343f3['doc']['lineAt'](_0x37dee3['from']),_0x5b5d3b=_0x3343f3['doc']['lineAt'](_0x37dee3['to']);if(_0x37dee3['empty']||_0x37dee3['to']!=_0x5b5d3b['from']||(_0x5b5d3b=_0x3343f3['doc']['lineAt'](_0x37dee3['to']-0x1)),_0x272282>=_0x157b7d['number']){let _0x22d778=_0x4da558[_0x4da558['length']-0x1];_0x22d778['to']=_0x5b5d3b['to'],_0x22d778['ranges']['push'](_0x37dee3);}else _0x4da558['push']({'from':_0x157b7d['from'],'to':_0x5b5d3b['to'],'ranges':[_0x37dee3]});_0x272282=_0x5b5d3b['number']+0x1;}return _0x4da558;}function _0x4687af(_0xea437a,_0x10554f,_0x15b67e){if(_0xea437a['readOnly'])return!0x1;let _0x137ee3=[],_0x2eaf96=[];for(let _0x46dbd6 of selectedLineBlocks(_0xea437a)){if(_0x15b67e?_0x46dbd6['to']==_0xea437a['doc']['length']:0x0==_0x46dbd6['from'])continue;let _0x21cbbf=_0xea437a['doc']['lineAt'](_0x15b67e?_0x46dbd6['to']+0x1:_0x46dbd6['from']-0x1),_0x2df08e=_0x21cbbf['length']+0x1;if(_0x15b67e){_0x137ee3['push']({'from':_0x46dbd6['to'],'to':_0x21cbbf['to']},{'from':_0x46dbd6['from'],'insert':_0x21cbbf['text']+_0xea437a['lineBreak']});for(let _0x5155a5 of _0x46dbd6['ranges'])_0x2eaf96['push'](EditorSelection['range'](Math['min'](_0xea437a['doc']['length'],_0x5155a5['anchor']+_0x2df08e),Math['min'](_0xea437a['doc']['length'],_0x5155a5['head']+_0x2df08e)));}else{_0x137ee3['push']({'from':_0x21cbbf['from'],'to':_0x46dbd6['from']},{'from':_0x46dbd6['to'],'insert':_0xea437a['lineBreak']+_0x21cbbf['text']});for(let _0x4da76c of _0x46dbd6['ranges'])_0x2eaf96['push'](EditorSelection['range'](_0x4da76c['anchor']-_0x2df08e,_0x4da76c['head']-_0x2df08e));}}return!!_0x137ee3['length']&&(_0x10554f(_0xea437a['update']({'changes':_0x137ee3,'scrollIntoView':!0x0,'selection':EditorSelection['create'](_0x2eaf96,_0xea437a['selection']['mainIndex']),'userEvent':'move.line'})),!0x0);}const _0x100c70=({state:_0x2e4572,dispatch:_0x207f00})=>_0x4687af(_0x2e4572,_0x207f00,!0x1),_0x41efe7=({state:_0x4ff1f4,dispatch:_0x5bb27d})=>_0x4687af(_0x4ff1f4,_0x5bb27d,!0x0);function _0x158376(_0xa68ec2,_0x4309a0,_0x2daadf){if(_0xa68ec2['readOnly'])return!0x1;let _0x27b4b8=[];for(let _0x418d89 of selectedLineBlocks(_0xa68ec2))_0x2daadf?_0x27b4b8['push']({'from':_0x418d89['from'],'insert':_0xa68ec2['doc']['slice'](_0x418d89['from'],_0x418d89['to'])+_0xa68ec2['lineBreak']}):_0x27b4b8['push']({'from':_0x418d89['to'],'insert':_0xa68ec2['lineBreak']+_0xa68ec2['doc']['slice'](_0x418d89['from'],_0x418d89['to'])});return _0x4309a0(_0xa68ec2['update']({'changes':_0x27b4b8,'scrollIntoView':!0x0,'userEvent':'input.copyline'})),!0x0;}const _0x37d5d4=({state:_0x5f909e,dispatch:_0x61c288})=>_0x158376(_0x5f909e,_0x61c288,!0x1),_0x4262d4=({state:_0x50d0ec,dispatch:_0x4344fb})=>_0x158376(_0x50d0ec,_0x4344fb,!0x0),deleteLine=_0x3fa731=>{if(_0x3fa731['state']['readOnly'])return!0x1;let {state:_0x2a3418}=_0x3fa731,_0x45ad48=_0x2a3418['changes'](selectedLineBlocks(_0x2a3418)['map'](({from:_0x45d812,to:_0x352203})=>(_0x45d812>0x0?_0x45d812--:_0x352203<_0x2a3418['doc']['length']&&_0x352203++,{'from':_0x45d812,'to':_0x352203}))),_0x555298=updateSel(_0x2a3418['selection'],_0x39f988=>{let _0x25a833;if(_0x3fa731['lineWrapping']){let _0x22fb19=_0x3fa731['lineBlockAt'](_0x39f988['head']),_0x7c8c02=_0x3fa731['coordsAtPos'](_0x39f988['head'],_0x39f988['assoc']||0x1);_0x7c8c02&&(_0x25a833=_0x22fb19['bottom']+_0x3fa731['documentTop']-_0x7c8c02['bottom']+_0x3fa731['defaultLineHeight']/0x2);}return _0x3fa731['moveVertically'](_0x39f988,!0x0,_0x25a833);})['map'](_0x45ad48);return _0x3fa731['dispatch']({'changes':_0x45ad48,'selection':_0x555298,'scrollIntoView':!0x0,'userEvent':'delete.line'}),!0x0;};function isBetweenBrackets(_0x3a2a55,_0x1949af){if(/\(\)|\[\]|\{\}/['test'](_0x3a2a55['sliceDoc'](_0x1949af-0x1,_0x1949af+0x1)))return{'from':_0x1949af,'to':_0x1949af};let _0x46a526,_0x5c1dfe=syntaxTree(_0x3a2a55)['resolveInner'](_0x1949af),_0x29c2aa=_0x5c1dfe['childBefore'](_0x1949af),_0x56d04c=_0x5c1dfe['childAfter'](_0x1949af);return _0x29c2aa&&_0x56d04c&&_0x29c2aa['to']<=_0x1949af&&_0x56d04c['from']>=_0x1949af&&(_0x46a526=_0x29c2aa['type']['prop'](_0x258b5f['closedBy']))&&_0x46a526['indexOf'](_0x56d04c['name'])>-0x1&&_0x3a2a55['doc']['lineAt'](_0x29c2aa['to'])['from']==_0x3a2a55['doc']['lineAt'](_0x56d04c['from'])['from']&&!/\S/['test'](_0x3a2a55['sliceDoc'](_0x29c2aa['to'],_0x56d04c['from']))?{'from':_0x29c2aa['to'],'to':_0x56d04c['from']}:null;}const insertNewlineAndIndent=newlineAndIndent(!0x1),insertBlankLine=newlineAndIndent(!0x0);function newlineAndIndent(_0x1c8016){return({state:_0x31086d,dispatch:_0x792943})=>{if(_0x31086d['readOnly'])return!0x1;let _0x45b55b=_0x31086d['changeByRange'](_0x4ad01e=>{let {from:_0x22dc9d,to:_0x1046fe}=_0x4ad01e,_0x499d4f=_0x31086d['doc']['lineAt'](_0x22dc9d),_0x25d180=!_0x1c8016&&_0x22dc9d==_0x1046fe&&isBetweenBrackets(_0x31086d,_0x22dc9d);_0x1c8016&&(_0x22dc9d=_0x1046fe=(_0x1046fe<=_0x499d4f['to']?_0x499d4f:_0x31086d['doc']['lineAt'](_0x1046fe))['to']);let _0x38f8e0=new IndentContext(_0x31086d,{'simulateBreak':_0x22dc9d,'simulateDoubleBreak':!!_0x25d180}),_0x12b8f0=getIndentation(_0x38f8e0,_0x22dc9d);for(null==_0x12b8f0&&(_0x12b8f0=countColumn(/^\s*/['exec'](_0x31086d['doc']['lineAt'](_0x22dc9d)['text'])[0x0],_0x31086d['tabSize']));_0x1046fe<_0x499d4f['to']&&/\s/['test'](_0x499d4f['text'][_0x1046fe-_0x499d4f['from']]);)_0x1046fe++;_0x25d180?{from:_0x22dc9d,to:_0x1046fe}=_0x25d180:_0x22dc9d>_0x499d4f['from']&&_0x22dc9d<_0x499d4f['from']+0x64&&!/\S/['test'](_0x499d4f['text']['slice'](0x0,_0x22dc9d))&&(_0x22dc9d=_0x499d4f['from']);let _0x2ffa14=['',indentString(_0x31086d,_0x12b8f0)];return _0x25d180&&_0x2ffa14['push'](indentString(_0x31086d,_0x38f8e0['lineIndent'](_0x499d4f['from'],-0x1))),{'changes':{'from':_0x22dc9d,'to':_0x1046fe,'insert':Text['of'](_0x2ffa14)},'range':EditorSelection['cursor'](_0x22dc9d+0x1+_0x2ffa14[0x1]['length'])};});return _0x792943(_0x31086d['update'](_0x45b55b,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;};}function changeBySelectedLine(_0x474fd3,_0x32a9b0){let _0x1e6956=-0x1;return _0x474fd3['changeByRange'](_0x2d0ccc=>{let _0x369052=[];for(let _0x226fe6=_0x2d0ccc['from'];_0x226fe6<=_0x2d0ccc['to'];){let _0x92ad12=_0x474fd3['doc']['lineAt'](_0x226fe6);_0x92ad12['number']>_0x1e6956&&(_0x2d0ccc['empty']||_0x2d0ccc['to']>_0x92ad12['from'])&&(_0x32a9b0(_0x92ad12,_0x369052,_0x2d0ccc),_0x1e6956=_0x92ad12['number']),_0x226fe6=_0x92ad12['to']+0x1;}let _0x45a4cc=_0x474fd3['changes'](_0x369052);return{'changes':_0x369052,'range':EditorSelection['range'](_0x45a4cc['mapPos'](_0x2d0ccc['anchor'],0x1),_0x45a4cc['mapPos'](_0x2d0ccc['head'],0x1))};});}const indentSelection=({state:_0x39dff5,dispatch:_0xff7149})=>{if(_0x39dff5['readOnly'])return!0x1;let _0x47107f=Object['create'](null),_0xdbd7d1=new IndentContext(_0x39dff5,{'overrideIndentation':_0x9e7f83=>{let _0x1c6c7a=_0x47107f[_0x9e7f83];return null==_0x1c6c7a?-0x1:_0x1c6c7a;}}),_0x355a18=changeBySelectedLine(_0x39dff5,(_0x5c5851,_0x2ead41,_0x4a13f0)=>{let _0x290b71=getIndentation(_0xdbd7d1,_0x5c5851['from']);if(null==_0x290b71)return;/\S/['test'](_0x5c5851['text'])||(_0x290b71=0x0);let _0x226389=/^\s*/['exec'](_0x5c5851['text'])[0x0],_0x21a60a=indentString(_0x39dff5,_0x290b71);(_0x226389!=_0x21a60a||_0x4a13f0['from']<_0x5c5851['from']+_0x226389['length'])&&(_0x47107f[_0x5c5851['from']]=_0x290b71,_0x2ead41['push']({'from':_0x5c5851['from'],'to':_0x5c5851['from']+_0x226389['length'],'insert':_0x21a60a}));});return _0x355a18['changes']['empty']||_0xff7149(_0x39dff5['update'](_0x355a18,{'userEvent':'indent'})),!0x0;},indentMore=({state:_0x5eea24,dispatch:_0x562235})=>!_0x5eea24['readOnly']&&(_0x562235(_0x5eea24['update'](changeBySelectedLine(_0x5eea24,(_0x3e3ae5,_0xf0f6b8)=>{_0xf0f6b8['push']({'from':_0x3e3ae5['from'],'insert':_0x5eea24['facet'](indentUnit)});}),{'userEvent':'input.indent'})),!0x0),indentLess=({state:_0x46386b,dispatch:_0x590fa5})=>!_0x46386b['readOnly']&&(_0x590fa5(_0x46386b['update'](changeBySelectedLine(_0x46386b,(_0x1455ca,_0x5344ee)=>{let _0x1c84d7=/^\s*/['exec'](_0x1455ca['text'])[0x0];if(!_0x1c84d7)return;let _0x245eaf=countColumn(_0x1c84d7,_0x46386b['tabSize']),_0x229343=0x0,_0x650e58=indentString(_0x46386b,Math['max'](0x0,_0x245eaf-getIndentUnit(_0x46386b)));for(;_0x229343<_0x1c84d7['length']&&_0x229343<_0x650e58['length']&&_0x1c84d7['charCodeAt'](_0x229343)==_0x650e58['charCodeAt'](_0x229343);)_0x229343++;_0x5344ee['push']({'from':_0x1455ca['from']+_0x229343,'to':_0x1455ca['from']+_0x1c84d7['length'],'insert':_0x650e58['slice'](_0x229343)});}),{'userEvent':'delete.dedent'})),!0x0),toggleTabFocusMode=_0x34c4ac=>(_0x34c4ac['setTabFocusMode'](),!0x0),emacsStyleKeymap=[{'key':'Ctrl-b','run':cursorCharLeft,'shift':selectCharLeft,'preventDefault':!0x0},{'key':'Ctrl-f','run':cursorCharRight,'shift':selectCharRight},{'key':'Ctrl-p','run':_0x27cb1d,'shift':selectLineUp},{'key':'Ctrl-n','run':_0x26a558,'shift':selectLineDown},{'key':'Ctrl-a','run':cursorLineStart,'shift':selectLineStart},{'key':'Ctrl-e','run':_0x43ba43,'shift':selectLineEnd},{'key':'Ctrl-d','run':deleteCharForward},{'key':'Ctrl-h','run':deleteCharBackward},{'key':'Ctrl-k','run':deleteToLineEnd},{'key':'Ctrl-Alt-h','run':deleteGroupBackward},{'key':'Ctrl-o','run':splitLine},{'key':'Ctrl-t','run':transposeChars},{'key':'Ctrl-v','run':_0x3af549}],standardKeymap=[{'key':'ArrowLeft','run':cursorCharLeft,'shift':selectCharLeft,'preventDefault':!0x0},{'key':'Mod-ArrowLeft','mac':'Alt-ArrowLeft','run':cursorGroupLeft,'shift':selectGroupLeft,'preventDefault':!0x0},{'mac':'Cmd-ArrowLeft','run':cursorLineBoundaryLeft,'shift':selectLineBoundaryLeft,'preventDefault':!0x0},{'key':'ArrowRight','run':cursorCharRight,'shift':selectCharRight,'preventDefault':!0x0},{'key':'Mod-ArrowRight','mac':'Alt-ArrowRight','run':cursorGroupRight,'shift':selectGroupRight,'preventDefault':!0x0},{'mac':'Cmd-ArrowRight','run':cursorLineBoundaryRight,'shift':selectLineBoundaryRight,'preventDefault':!0x0},{'key':'ArrowUp','run':_0x27cb1d,'shift':selectLineUp,'preventDefault':!0x0},{'mac':'Cmd-ArrowUp','run':cursorDocStart,'shift':selectDocStart},{'mac':'Ctrl-ArrowUp','run':_0x1d75ec,'shift':selectPageUp},{'key':'ArrowDown','run':_0x26a558,'shift':selectLineDown,'preventDefault':!0x0},{'mac':'Cmd-ArrowDown','run':_0x160d48,'shift':selectDocEnd},{'mac':'Ctrl-ArrowDown','run':_0x3af549,'shift':selectPageDown},{'key':'PageUp','run':_0x1d75ec,'shift':selectPageUp},{'key':'PageDown','run':_0x3af549,'shift':selectPageDown},{'key':'Home','run':_0x5e9e80,'shift':selectLineBoundaryBackward,'preventDefault':!0x0},{'key':'Mod-Home','run':cursorDocStart,'shift':selectDocStart},{'key':'End','run':_0x277649,'shift':selectLineBoundaryForward,'preventDefault':!0x0},{'key':'Mod-End','run':_0x160d48,'shift':selectDocEnd},{'key':'Enter','run':insertNewlineAndIndent,'shift':insertNewlineAndIndent},{'key':'Mod-a','run':selectAll},{'key':'Backspace','run':deleteCharBackward,'shift':deleteCharBackward},{'key':'Delete','run':deleteCharForward},{'key':'Mod-Backspace','mac':'Alt-Backspace','run':deleteGroupBackward},{'key':'Mod-Delete','mac':'Alt-Delete','run':deleteGroupForward},{'mac':'Mod-Backspace','run':deleteLineBoundaryBackward},{'mac':'Mod-Delete','run':deleteLineBoundaryForward}]['concat'](emacsStyleKeymap['map'](_0x5808cd=>({'mac':_0x5808cd['key'],'run':_0x5808cd['run'],'shift':_0x5808cd['shift']}))),defaultKeymap=[{'key':'Alt-ArrowLeft','mac':'Ctrl-ArrowLeft','run':cursorSyntaxLeft,'shift':selectSyntaxLeft},{'key':'Alt-ArrowRight','mac':'Ctrl-ArrowRight','run':cursorSyntaxRight,'shift':selectSyntaxRight},{'key':'Alt-ArrowUp','run':_0x100c70},{'key':'Shift-Alt-ArrowUp','run':_0x37d5d4},{'key':'Alt-ArrowDown','run':_0x41efe7},{'key':'Shift-Alt-ArrowDown','run':_0x4262d4},{'key':'Escape','run':simplifySelection},{'key':'Mod-Enter','run':insertBlankLine},{'key':'Alt-l','mac':'Ctrl-l','run':selectLine},{'key':'Mod-i','run':selectParentSyntax,'preventDefault':!0x0},{'key':'Mod-[','run':indentLess},{'key':'Mod-]','run':indentMore},{'key':'Mod-Alt-\x5c','run':indentSelection},{'key':'Shift-Mod-k','run':deleteLine},{'key':'Shift-Mod-\x5c','run':cursorMatchingBracket},{'key':'Mod-/','run':toggleComment},{'key':'Alt-A','run':toggleBlockComment},{'key':'Ctrl-m','mac':'Shift-Alt-m','run':toggleTabFocusMode}]['concat'](standardKeymap);class CompletionContext{constructor(_0x2b0c88,_0x4dc280,_0x598c06,_0x4abc47){this['state']=_0x2b0c88,this['pos']=_0x4dc280,this['explicit']=_0x598c06,this['view']=_0x4abc47,this['abortListeners']=[],this['abortOnDocChange']=!0x1;}['tokenBefore'](_0x3cec37){let _0x1267ef=syntaxTree(this['state'])['resolveInner'](this['pos'],-0x1);for(;_0x1267ef&&_0x3cec37['indexOf'](_0x1267ef['name'])<0x0;)_0x1267ef=_0x1267ef['parent'];return _0x1267ef?{'from':_0x1267ef['from'],'to':this['pos'],'text':this['state']['sliceDoc'](_0x1267ef['from'],this['pos']),'type':_0x1267ef['type']}:null;}['matchBefore'](_0x4d01b3){let _0x3bccf7=this['state']['doc']['lineAt'](this['pos']),_0x237f08=Math['max'](_0x3bccf7['from'],this['pos']-0xfa),_0x331d7d=_0x3bccf7['text']['slice'](_0x237f08-_0x3bccf7['from'],this['pos']-_0x3bccf7['from']),_0x49a8ad=_0x331d7d['search'](_0x8273b(_0x4d01b3,!0x1));return _0x49a8ad<0x0?null:{'from':_0x237f08+_0x49a8ad,'to':this['pos'],'text':_0x331d7d['slice'](_0x49a8ad)};}get['aborted'](){return null==this['abortListeners'];}['addEventListener'](_0x24e309,_0x1e4f92,_0xd2bfab){'abort'==_0x24e309&&this['abortListeners']&&(this['abortListeners']['push'](_0x1e4f92),_0xd2bfab&&_0xd2bfab['onDocChange']&&(this['abortOnDocChange']=!0x0));}}function toSet(_0x465cd3){let _0x1680b1=Object['keys'](_0x465cd3)['join'](''),_0x53c403=/\w/['test'](_0x1680b1);return _0x53c403&&(_0x1680b1=_0x1680b1['replace'](/\w/g,'')),'['+(_0x53c403?'\x5cw':'')+_0x1680b1['replace'](/[^\w\s]/g,'\x5c$&')+']';}function prefixMatch(_0xb9a00a){let _0x3b958c=Object['create'](null),_0x3fd868=Object['create'](null);for(let {label:_0x2b19c5}of _0xb9a00a){_0x3b958c[_0x2b19c5[0x0]]=!0x0;for(let _0x35a0b2=0x1;_0x35a0b2<_0x2b19c5['length'];_0x35a0b2++)_0x3fd868[_0x2b19c5[_0x35a0b2]]=!0x0;}let _0x276e1a=toSet(_0x3b958c)+toSet(_0x3fd868)+'*$';return[new RegExp('^'+_0x276e1a),new RegExp(_0x276e1a)];}function completeFromList(_0x5799b1){let _0x5a524b=_0x5799b1['map'](_0x592e81=>'string'==typeof _0x592e81?{'label':_0x592e81}:_0x592e81),[_0x4f30d4,_0x176f98]=_0x5a524b['every'](_0x50ad2c=>/^\w+$/['test'](_0x50ad2c['label']))?[/\w*$/,/\w+$/]:prefixMatch(_0x5a524b);return _0x14f5cc=>{let _0x5a92a8=_0x14f5cc['matchBefore'](_0x176f98);return _0x5a92a8||_0x14f5cc['explicit']?{'from':_0x5a92a8?_0x5a92a8['from']:_0x14f5cc['pos'],'options':_0x5a524b,'validFor':_0x4f30d4}:null;};}function ifNotIn(_0xa5c3e7,_0x5ed1af){return _0xe4ba7f=>{for(let _0x405e1c=syntaxTree(_0xe4ba7f['state'])['resolveInner'](_0xe4ba7f['pos'],-0x1);_0x405e1c;_0x405e1c=_0x405e1c['parent']){if(_0xa5c3e7['indexOf'](_0x405e1c['name'])>-0x1)return null;if(_0x405e1c['type']['isTop'])break;}return _0x5ed1af(_0xe4ba7f);};}class Option{constructor(_0x3e3401,_0x24ec93,_0x535cd9,_0x4294d0){this['completion']=_0x3e3401,this['source']=_0x24ec93,this['match']=_0x535cd9,this['score']=_0x4294d0;}}function _0x3474a8(_0x2e3a13){return _0x2e3a13['selection']['main']['from'];}function _0x8273b(_0x52e95f,_0x51e705){var _0x579b51;let {source:_0x3319c9}=_0x52e95f,_0xa6ea50=_0x51e705&&'^'!=_0x3319c9[0x0],_0x44dd20='$'!=_0x3319c9[_0x3319c9['length']-0x1];return _0xa6ea50||_0x44dd20?new RegExp((_0xa6ea50?'^':'')+'(?:'+_0x3319c9+')'+(_0x44dd20?'$':''),null!==(_0x579b51=_0x52e95f['flags'])&&void 0x0!==_0x579b51?_0x579b51:_0x52e95f['ignoreCase']?'i':''):_0x52e95f;}const pickedCompletion=Annotation['define']();function insertCompletionText(_0x441f78,_0x3ca3d9,_0x2856a7,_0x30d44d){let {main:_0x140720}=_0x441f78['selection'],_0x222503=_0x2856a7-_0x140720['from'],_0x193698=_0x30d44d-_0x140720['from'];return{..._0x441f78['changeByRange'](_0x5d7a4c=>{if(_0x5d7a4c!=_0x140720&&_0x2856a7!=_0x30d44d&&_0x441f78['sliceDoc'](_0x5d7a4c['from']+_0x222503,_0x5d7a4c['from']+_0x193698)!=_0x441f78['sliceDoc'](_0x2856a7,_0x30d44d))return{'range':_0x5d7a4c};let _0x519203=_0x441f78['toText'](_0x3ca3d9);return{'changes':{'from':_0x5d7a4c['from']+_0x222503,'to':_0x30d44d==_0x140720['from']?_0x5d7a4c['to']:_0x5d7a4c['from']+_0x193698,'insert':_0x519203},'range':EditorSelection['cursor'](_0x5d7a4c['from']+_0x222503+_0x519203['length'])};}),'scrollIntoView':!0x0,'userEvent':'input.complete'};}const _0x53d624=new WeakMap();function _0x7a3e19(_0x3981a0){if(!Array['isArray'](_0x3981a0))return _0x3981a0;let _0x36a14f=_0x53d624['get'](_0x3981a0);return _0x36a14f||_0x53d624['set'](_0x3981a0,_0x36a14f=completeFromList(_0x3981a0)),_0x36a14f;}const startCompletionEffect=StateEffect['define'](),closeCompletionEffect=StateEffect['define']();class FuzzyMatcher{constructor(_0x3ed53f){this['pattern']=_0x3ed53f,this['chars']=[],this['folded']=[],this['any']=[],this['precise']=[],this['byWord']=[],this['score']=0x0,this['matched']=[];for(let _0x2d5058=0x0;_0x2d5058<_0x3ed53f['length'];){let _0x8cf4fc=codePointAt(_0x3ed53f,_0x2d5058),_0x24a3c9=codePointSize(_0x8cf4fc);this['chars']['push'](_0x8cf4fc);let _0x1eaefa=_0x3ed53f['slice'](_0x2d5058,_0x2d5058+_0x24a3c9),_0xa894f7=_0x1eaefa['toUpperCase']();this['folded']['push'](codePointAt(_0xa894f7==_0x1eaefa?_0x1eaefa['toLowerCase']():_0xa894f7,0x0)),_0x2d5058+=_0x24a3c9;}this['astral']=_0x3ed53f['length']!=this['chars']['length'];}['ret'](_0x831f5b,_0x119842){return this['score']=_0x831f5b,this['matched']=_0x119842,this;}['match'](_0x52c387){if(0x0==this['pattern']['length'])return this['ret'](-0x64,[]);if(_0x52c387['length']<this['pattern']['length'])return null;let {chars:_0x13928b,folded:_0x252efe,any:_0x29a719,precise:_0x9f9dfd,byWord:_0xfaead8}=this;if(0x1==_0x13928b['length']){let _0x2cbdc8=codePointAt(_0x52c387,0x0),_0x433f89=codePointSize(_0x2cbdc8),_0xb78e1a=_0x433f89==_0x52c387['length']?0x0:-0x64;if(_0x2cbdc8==_0x13928b[0x0]);else{if(_0x2cbdc8!=_0x252efe[0x0])return null;_0xb78e1a+=-0xc8;}return this['ret'](_0xb78e1a,[0x0,_0x433f89]);}let _0x48d449=_0x52c387['indexOf'](this['pattern']);if(0x0==_0x48d449)return this['ret'](_0x52c387['length']==this['pattern']['length']?0x0:-0x64,[0x0,this['pattern']['length']]);let _0x95e582=_0x13928b['length'],_0x5a12a3=0x0;if(_0x48d449<0x0){for(let _0x2e39bf=0x0,_0x496199=Math['min'](_0x52c387['length'],0xc8);_0x2e39bf<_0x496199&&_0x5a12a3<_0x95e582;){let _0x3d0586=codePointAt(_0x52c387,_0x2e39bf);_0x3d0586!=_0x13928b[_0x5a12a3]&&_0x3d0586!=_0x252efe[_0x5a12a3]||(_0x29a719[_0x5a12a3++]=_0x2e39bf),_0x2e39bf+=codePointSize(_0x3d0586);}if(_0x5a12a3<_0x95e582)return null;}let _0x447420=0x0,_0x32205a=0x0,_0x142cab=!0x1,_0xaabefc=0x0,_0x2d7a79=-0x1,_0x20f9b6=-0x1,_0x85b05c=/[a-z]/['test'](_0x52c387),_0x8f2096=!0x0;for(let _0x4a84c5=0x0,_0x16c910=Math['min'](_0x52c387['length'],0xc8),_0x26bed7=0x0;_0x4a84c5<_0x16c910&&_0x32205a<_0x95e582;){let _0x598c26=codePointAt(_0x52c387,_0x4a84c5);_0x48d449<0x0&&(_0x447420<_0x95e582&&_0x598c26==_0x13928b[_0x447420]&&(_0x9f9dfd[_0x447420++]=_0x4a84c5),_0xaabefc<_0x95e582&&(_0x598c26==_0x13928b[_0xaabefc]||_0x598c26==_0x252efe[_0xaabefc]?(0x0==_0xaabefc&&(_0x2d7a79=_0x4a84c5),_0x20f9b6=_0x4a84c5+0x1,_0xaabefc++):_0xaabefc=0x0));let _0xb7125f,_0x5cbd38=_0x598c26<0xff?_0x598c26>=0x30&&_0x598c26<=0x39||_0x598c26>=0x61&&_0x598c26<=0x7a?0x2:_0x598c26>=0x41&&_0x598c26<=0x5a?0x1:0x0:(_0xb7125f=fromCodePoint(_0x598c26))!=_0xb7125f['toLowerCase']()?0x1:_0xb7125f!=_0xb7125f['toUpperCase']()?0x2:0x0;(!_0x4a84c5||0x1==_0x5cbd38&&_0x85b05c||0x0==_0x26bed7&&0x0!=_0x5cbd38)&&(_0x13928b[_0x32205a]==_0x598c26||_0x252efe[_0x32205a]==_0x598c26&&(_0x142cab=!0x0)?_0xfaead8[_0x32205a++]=_0x4a84c5:_0xfaead8['length']&&(_0x8f2096=!0x1)),_0x26bed7=_0x5cbd38,_0x4a84c5+=codePointSize(_0x598c26);}return _0x32205a==_0x95e582&&0x0==_0xfaead8[0x0]&&_0x8f2096?this['result']((_0x142cab?-0xc8:0x0)-0x64,_0xfaead8,_0x52c387):_0xaabefc==_0x95e582&&0x0==_0x2d7a79?this['ret'](-0xc8-_0x52c387['length']+(_0x20f9b6==_0x52c387['length']?0x0:-0x64),[0x0,_0x20f9b6]):_0x48d449>-0x1?this['ret'](-0x2bc-_0x52c387['length'],[_0x48d449,_0x48d449+this['pattern']['length']]):_0xaabefc==_0x95e582?this['ret'](-0x384-_0x52c387['length'],[_0x2d7a79,_0x20f9b6]):_0x32205a==_0x95e582?this['result']((_0x142cab?-0xc8:0x0)-0x64-0x2bc+(_0x8f2096?0x0:-0x44c),_0xfaead8,_0x52c387):0x2==_0x13928b['length']?null:this['result']((_0x29a719[0x0]?-0x2bc:0x0)-0xc8-0x44c,_0x29a719,_0x52c387);}['result'](_0x546752,_0x4dd44e,_0x3a92ff){let _0x1b35ab=[],_0xba8444=0x0;for(let _0x521b5e of _0x4dd44e){let _0x220420=_0x521b5e+(this['astral']?codePointSize(codePointAt(_0x3a92ff,_0x521b5e)):0x1);_0xba8444&&_0x1b35ab[_0xba8444-0x1]==_0x521b5e?_0x1b35ab[_0xba8444-0x1]=_0x220420:(_0x1b35ab[_0xba8444++]=_0x521b5e,_0x1b35ab[_0xba8444++]=_0x220420);}return this['ret'](_0x546752-_0x3a92ff['length'],_0x1b35ab);}}class StrictMatcher{constructor(_0x1bdf98){this['pattern']=_0x1bdf98,this['matched']=[],this['score']=0x0,this['folded']=_0x1bdf98['toLowerCase']();}['match'](_0x470560){if(_0x470560['length']<this['pattern']['length'])return null;let _0x39f629=_0x470560['slice'](0x0,this['pattern']['length']),_0x597f64=_0x39f629==this['pattern']?0x0:_0x39f629['toLowerCase']()==this['folded']?-0xc8:null;return null==_0x597f64?null:(this['matched']=[0x0,_0x39f629['length']],this['score']=_0x597f64+(_0x470560['length']==this['pattern']['length']?0x0:-0x64),this);}}const completionConfig=Facet['define']({'combine':_0xbca679=>_0x44c9ef(_0xbca679,{'activateOnTyping':!0x0,'activateOnCompletion':()=>!0x1,'activateOnTypingDelay':0x64,'selectOnOpen':!0x0,'override':null,'closeOnBlur':!0x0,'maxRenderedOptions':0x64,'defaultKeymap':!0x0,'tooltipClass':()=>'','optionClass':()=>'','aboveCursor':!0x1,'icons':!0x0,'addToOptions':[],'positionInfo':defaultPositionInfo,'filterStrict':!0x1,'compareCompletions':(_0x19cd4d,_0x3ef522)=>_0x19cd4d['label']['localeCompare'](_0x3ef522['label']),'interactionDelay':0x4b,'updateSyncTime':0x64},{'defaultKeymap':(_0x147d50,_0x68bec5)=>_0x147d50&&_0x68bec5,'closeOnBlur':(_0x5b6545,_0xce2bde)=>_0x5b6545&&_0xce2bde,'icons':(_0x25896f,_0x2d5b09)=>_0x25896f&&_0x2d5b09,'tooltipClass':(_0x1b9fef,_0x206f22)=>_0x23d379=>_0x5da3e8(_0x1b9fef(_0x23d379),_0x206f22(_0x23d379)),'optionClass':(_0xf55932,_0x19e2d7)=>_0xa76c5d=>_0x5da3e8(_0xf55932(_0xa76c5d),_0x19e2d7(_0xa76c5d)),'addToOptions':(_0x536b42,_0x2fcb1c)=>_0x536b42['concat'](_0x2fcb1c),'filterStrict':(_0x18d2c5,_0x3c1b25)=>_0x18d2c5||_0x3c1b25})});function _0x5da3e8(_0x426eca,_0x5beca5){return _0x426eca?_0x5beca5?_0x426eca+'\x20'+_0x5beca5:_0x426eca:_0x5beca5;}function defaultPositionInfo(_0x426125,_0x232809,_0x32faf1,_0x290fca,_0x38ec93,_0x2c7310){let _0x3f4e5e,_0x45a6fa,_0x529131=_0x426125['textDirection']==Direction['RTL'],_0x4cd8d6=_0x529131,_0x2a8888=!0x1,_0x43751c='top',_0x1233a4=_0x232809['left']-_0x38ec93['left'],_0x3f7fcc=_0x38ec93['right']-_0x232809['right'],_0x50aa29=_0x290fca['right']-_0x290fca['left'],_0x15ab5b=_0x290fca['bottom']-_0x290fca['top'];if(_0x4cd8d6&&_0x1233a4<Math['min'](_0x50aa29,_0x3f7fcc)?_0x4cd8d6=!0x1:!_0x4cd8d6&&_0x3f7fcc<Math['min'](_0x50aa29,_0x1233a4)&&(_0x4cd8d6=!0x0),_0x50aa29<=(_0x4cd8d6?_0x1233a4:_0x3f7fcc))_0x3f4e5e=Math['max'](_0x38ec93['top'],Math['min'](_0x32faf1['top'],_0x38ec93['bottom']-_0x15ab5b))-_0x232809['top'],_0x45a6fa=Math['min'](0x190,_0x4cd8d6?_0x1233a4:_0x3f7fcc);else{_0x2a8888=!0x0,_0x45a6fa=Math['min'](0x190,(_0x529131?_0x232809['right']:_0x38ec93['right']-_0x232809['left'])-0x1e);let _0x105598=_0x38ec93['bottom']-_0x232809['bottom'];_0x105598>=_0x15ab5b||_0x105598>_0x232809['top']?_0x3f4e5e=_0x32faf1['bottom']-_0x232809['top']:(_0x43751c='bottom',_0x3f4e5e=_0x232809['bottom']-_0x32faf1['top']);}return{'style':_0x43751c+':\x20'+_0x3f4e5e/((_0x232809['bottom']-_0x232809['top'])/_0x2c7310['offsetHeight'])+'px;\x20max-width:\x20'+_0x45a6fa/((_0x232809['right']-_0x232809['left'])/_0x2c7310['offsetWidth'])+'px','class':'cm-completionInfo-'+(_0x2a8888?_0x529131?'left-narrow':'right-narrow':_0x4cd8d6?'left':'right')};}function optionContent(_0x14bb81){let _0x217db6=_0x14bb81['addToOptions']['slice']();return _0x14bb81['icons']&&_0x217db6['push']({'render'(_0x4f326e){let _0x4e72b6=document['createElement']('div');return _0x4e72b6['classList']['add']('cm-completionIcon'),_0x4f326e['type']&&_0x4e72b6['classList']['add'](..._0x4f326e['type']['split'](/\s+/g)['map'](_0x2d3780=>'cm-completionIcon-'+_0x2d3780)),_0x4e72b6['setAttribute']('aria-hidden','true'),_0x4e72b6;},'position':0x14}),_0x217db6['push']({'render'(_0x4b1c5b,_0x4c15f2,_0x5b4a26,_0x589abc){let _0xa9417f=document['createElement']('span');_0xa9417f['className']='cm-completionLabel';let _0xa52059=_0x4b1c5b['displayLabel']||_0x4b1c5b['label'],_0x340c19=0x0;for(let _0x3d688e=0x0;_0x3d688e<_0x589abc['length'];){let _0x4ba196=_0x589abc[_0x3d688e++],_0x2d27f6=_0x589abc[_0x3d688e++];_0x4ba196>_0x340c19&&_0xa9417f['appendChild'](document['createTextNode'](_0xa52059['slice'](_0x340c19,_0x4ba196)));let _0x175e4a=_0xa9417f['appendChild'](document['createElement']('span'));_0x175e4a['appendChild'](document['createTextNode'](_0xa52059['slice'](_0x4ba196,_0x2d27f6))),_0x175e4a['className']='cm-completionMatchedText',_0x340c19=_0x2d27f6;}return _0x340c19<_0xa52059['length']&&_0xa9417f['appendChild'](document['createTextNode'](_0xa52059['slice'](_0x340c19))),_0xa9417f;},'position':0x32},{'render'(_0x5ddcff){if(!_0x5ddcff['detail'])return null;let _0x382bdc=document['createElement']('span');return _0x382bdc['className']='cm-completionDetail',_0x382bdc['textContent']=_0x5ddcff['detail'],_0x382bdc;},'position':0x50}),_0x217db6['sort']((_0x1232fb,_0x162e3e)=>_0x1232fb['position']-_0x162e3e['position'])['map'](_0x2764f7=>_0x2764f7['render']);}function rangeAroundSelected(_0x5d6407,_0xd45d0a,_0x3bc58e){if(_0x5d6407<=_0x3bc58e)return{'from':0x0,'to':_0x5d6407};if(_0xd45d0a<0x0&&(_0xd45d0a=0x0),_0xd45d0a<=_0x5d6407>>0x1){let _0x2e27db=Math['floor'](_0xd45d0a/_0x3bc58e);return{'from':_0x2e27db*_0x3bc58e,'to':(_0x2e27db+0x1)*_0x3bc58e};}let _0x16b56a=Math['floor']((_0x5d6407-_0xd45d0a)/_0x3bc58e);return{'from':_0x5d6407-(_0x16b56a+0x1)*_0x3bc58e,'to':_0x5d6407-_0x16b56a*_0x3bc58e};}class CompletionTooltip{constructor(_0x1364fb,_0x2fb7d0,_0x1b728c){this['view']=_0x1364fb,this['stateField']=_0x2fb7d0,this['applyCompletion']=_0x1b728c,this['info']=null,this['infoDestroy']=null,this['placeInfoReq']={'read':()=>this['measureInfo'](),'write':_0x1faad6=>this['placeInfo'](_0x1faad6),'key':this},this['space']=null,this['currentClass']='';let _0x437f8c=_0x1364fb['state']['field'](_0x2fb7d0),{options:_0x22c9d5,selected:_0x1aa902}=_0x437f8c['open'],_0x4a01a8=_0x1364fb['state']['facet'](completionConfig);this['optionContent']=optionContent(_0x4a01a8),this['optionClass']=_0x4a01a8['optionClass'],this['tooltipClass']=_0x4a01a8['tooltipClass'],this['range']=rangeAroundSelected(_0x22c9d5['length'],_0x1aa902,_0x4a01a8['maxRenderedOptions']),this['dom']=document['createElement']('div'),this['dom']['className']='cm-tooltip-autocomplete',this['updateTooltipClass'](_0x1364fb['state']),this['dom']['addEventListener']('mousedown',_0x2580ba=>{let {options:_0x3546b0}=_0x1364fb['state']['field'](_0x2fb7d0)['open'];for(let _0x89ddf3,_0x48a5ec=_0x2580ba['target'];_0x48a5ec&&_0x48a5ec!=this['dom'];_0x48a5ec=_0x48a5ec['parentNode'])if('LI'==_0x48a5ec['nodeName']&&(_0x89ddf3=/-(\d+)$/['exec'](_0x48a5ec['id']))&&+_0x89ddf3[0x1]<_0x3546b0['length'])return this['applyCompletion'](_0x1364fb,_0x3546b0[+_0x89ddf3[0x1]]),void _0x2580ba['preventDefault']();}),this['dom']['addEventListener']('focusout',_0x56786a=>{let _0x388137=_0x1364fb['state']['field'](this['stateField'],!0x1);_0x388137&&_0x388137['tooltip']&&_0x1364fb['state']['facet'](completionConfig)['closeOnBlur']&&_0x56786a['relatedTarget']!=_0x1364fb['contentDOM']&&_0x1364fb['dispatch']({'effects':closeCompletionEffect['of'](null)});}),this['showOptions'](_0x22c9d5,_0x437f8c['id']);}['mount'](){this['updateSel']();}['showOptions'](_0x14f1a6,_0x35c7fb){this['list']&&this['list']['remove'](),this['list']=this['dom']['appendChild'](this['createListBox'](_0x14f1a6,_0x35c7fb,this['range'])),this['list']['addEventListener']('scroll',()=>{this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);});}['update'](_0x3d3d37){var _0x536f0c;let _0x4031e4=_0x3d3d37['state']['field'](this['stateField']),_0x168d8b=_0x3d3d37['startState']['field'](this['stateField']);if(this['updateTooltipClass'](_0x3d3d37['state']),_0x4031e4!=_0x168d8b){let {options:_0xad09e5,selected:_0x5886fc,disabled:_0x1de9af}=_0x4031e4['open'];_0x168d8b['open']&&_0x168d8b['open']['options']==_0xad09e5||(this['range']=rangeAroundSelected(_0xad09e5['length'],_0x5886fc,_0x3d3d37['state']['facet'](completionConfig)['maxRenderedOptions']),this['showOptions'](_0xad09e5,_0x4031e4['id'])),this['updateSel'](),_0x1de9af!=(null===(_0x536f0c=_0x168d8b['open'])||void 0x0===_0x536f0c?void 0x0:_0x536f0c['disabled'])&&this['dom']['classList']['toggle']('cm-tooltip-autocomplete-disabled',!!_0x1de9af);}}['updateTooltipClass'](_0x397376){let _0x4d5ea4=this['tooltipClass'](_0x397376);if(_0x4d5ea4!=this['currentClass']){for(let _0x35b6f1 of this['currentClass']['split']('\x20'))_0x35b6f1&&this['dom']['classList']['remove'](_0x35b6f1);for(let _0x49b32b of _0x4d5ea4['split']('\x20'))_0x49b32b&&this['dom']['classList']['add'](_0x49b32b);this['currentClass']=_0x4d5ea4;}}['positioned'](_0x5edade){this['space']=_0x5edade,this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);}['updateSel'](){let _0x2f8c6c=this['view']['state']['field'](this['stateField']),_0x34b395=_0x2f8c6c['open'];(_0x34b395['selected']>-0x1&&_0x34b395['selected']<this['range']['from']||_0x34b395['selected']>=this['range']['to'])&&(this['range']=rangeAroundSelected(_0x34b395['options']['length'],_0x34b395['selected'],this['view']['state']['facet'](completionConfig)['maxRenderedOptions']),this['showOptions'](_0x34b395['options'],_0x2f8c6c['id']));let _0x4ccc39=this['updateSelectedOption'](_0x34b395['selected']);if(_0x4ccc39){this['destroyInfo']();let {completion:_0x1b7e40}=_0x34b395['options'][_0x34b395['selected']],{info:_0x5c9c7b}=_0x1b7e40;if(!_0x5c9c7b)return;let _0x185d9b='string'==typeof _0x5c9c7b?document['createTextNode'](_0x5c9c7b):_0x5c9c7b(_0x1b7e40);if(!_0x185d9b)return;'then'in _0x185d9b?_0x185d9b['then'](_0x2f08d7=>{_0x2f08d7&&this['view']['state']['field'](this['stateField'],!0x1)==_0x2f8c6c&&this['addInfoPane'](_0x2f08d7,_0x1b7e40);})['catch'](_0x5960b2=>logException(this['view']['state'],_0x5960b2,'completion\x20info')):(this['addInfoPane'](_0x185d9b,_0x1b7e40),_0x4ccc39['setAttribute']('aria-describedby',this['info']['id']));}}['addInfoPane'](_0x3752af,_0x3afbfb){this['destroyInfo']();let _0x27388a=this['info']=document['createElement']('div');if(_0x27388a['className']='cm-tooltip\x20cm-completionInfo',_0x27388a['id']='cm-completionInfo-'+Math['floor'](0xffff*Math['random']())['toString'](0x10),null!=_0x3752af['nodeType'])_0x27388a['appendChild'](_0x3752af),this['infoDestroy']=null;else{let {dom:_0x5ec49a,destroy:_0x1b6614}=_0x3752af;_0x27388a['appendChild'](_0x5ec49a),this['infoDestroy']=_0x1b6614||null;}this['dom']['appendChild'](_0x27388a),this['view']['requestMeasure'](this['placeInfoReq']);}['updateSelectedOption'](_0x249fa2){let _0x532c8b=null;for(let _0x3353e2=this['list']['firstChild'],_0x477134=this['range']['from'];_0x3353e2;_0x3353e2=_0x3353e2['nextSibling'],_0x477134++)'LI'==_0x3353e2['nodeName']&&_0x3353e2['id']?_0x477134==_0x249fa2?_0x3353e2['hasAttribute']('aria-selected')||(_0x3353e2['setAttribute']('aria-selected','true'),_0x532c8b=_0x3353e2):_0x3353e2['hasAttribute']('aria-selected')&&(_0x3353e2['removeAttribute']('aria-selected'),_0x3353e2['removeAttribute']('aria-describedby')):_0x477134--;return _0x532c8b&&scrollIntoView(this['list'],_0x532c8b),_0x532c8b;}['measureInfo'](){let _0x31930f=this['dom']['querySelector']('[aria-selected]');if(!_0x31930f||!this['info'])return null;let _0x30a566=this['dom']['getBoundingClientRect'](),_0x45427b=this['info']['getBoundingClientRect'](),_0xd23f50=_0x31930f['getBoundingClientRect'](),_0x2a675a=this['space'];if(!_0x2a675a){let _0x2c9676=this['dom']['ownerDocument']['documentElement'];_0x2a675a={'left':0x0,'top':0x0,'right':_0x2c9676['clientWidth'],'bottom':_0x2c9676['clientHeight']};}return _0xd23f50['top']>Math['min'](_0x2a675a['bottom'],_0x30a566['bottom'])-0xa||_0xd23f50['bottom']<Math['max'](_0x2a675a['top'],_0x30a566['top'])+0xa?null:this['view']['state']['facet'](completionConfig)['positionInfo'](this['view'],_0x30a566,_0xd23f50,_0x45427b,_0x2a675a,this['dom']);}['placeInfo'](_0x16f9f1){this['info']&&(_0x16f9f1?(_0x16f9f1['style']&&(this['info']['style']['cssText']=_0x16f9f1['style']),this['info']['className']='cm-tooltip\x20cm-completionInfo\x20'+(_0x16f9f1['class']||'')):this['info']['style']['cssText']='top:\x20-1e6px');}['createListBox'](_0x143f23,_0x1125cb,_0x44e6d3){const _0x2fdaef=document['createElement']('ul');_0x2fdaef['id']=_0x1125cb,_0x2fdaef['setAttribute']('role','listbox'),_0x2fdaef['setAttribute']('aria-expanded','true'),_0x2fdaef['setAttribute']('aria-label',this['view']['state']['phrase']('Completions')),_0x2fdaef['addEventListener']('mousedown',_0x24aeb6=>{_0x24aeb6['target']==_0x2fdaef&&_0x24aeb6['preventDefault']();});let _0x4a2434=null;for(let _0x4eb0a2=_0x44e6d3['from'];_0x4eb0a2<_0x44e6d3['to'];_0x4eb0a2++){let {completion:_0x42fa4a,match:_0x157bed}=_0x143f23[_0x4eb0a2],{section:_0x2a905f}=_0x42fa4a;if(_0x2a905f){let _0x49f6b5='string'==typeof _0x2a905f?_0x2a905f:_0x2a905f['name'];if(_0x49f6b5!=_0x4a2434&&(_0x4eb0a2>_0x44e6d3['from']||0x0==_0x44e6d3['from'])){if(_0x4a2434=_0x49f6b5,'string'!=typeof _0x2a905f&&_0x2a905f['header'])_0x2fdaef['appendChild'](_0x2a905f['header'](_0x2a905f));else _0x2fdaef['appendChild'](document['createElement']('completion-section'))['textContent']=_0x49f6b5;}}const _0x14a0d9=_0x2fdaef['appendChild'](document['createElement']('li'));_0x14a0d9['id']=_0x1125cb+'-'+_0x4eb0a2,_0x14a0d9['setAttribute']('role','option');let _0x2354b9=this['optionClass'](_0x42fa4a);_0x2354b9&&(_0x14a0d9['className']=_0x2354b9);for(let _0x2fa54e of this['optionContent']){let _0x29659b=_0x2fa54e(_0x42fa4a,this['view']['state'],this['view'],_0x157bed);_0x29659b&&_0x14a0d9['appendChild'](_0x29659b);}}return _0x44e6d3['from']&&_0x2fdaef['classList']['add']('cm-completionListIncompleteTop'),_0x44e6d3['to']<_0x143f23['length']&&_0x2fdaef['classList']['add']('cm-completionListIncompleteBottom'),_0x2fdaef;}['destroyInfo'](){this['info']&&(this['infoDestroy']&&this['infoDestroy'](),this['info']['remove'](),this['info']=null);}['destroy'](){this['destroyInfo']();}}function completionTooltip(_0x161d56,_0x4839e6){return _0x33200f=>new CompletionTooltip(_0x33200f,_0x161d56,_0x4839e6);}function scrollIntoView(_0x19b049,_0x3d7969){let _0x3834b9=_0x19b049['getBoundingClientRect'](),_0x2028cb=_0x3d7969['getBoundingClientRect'](),_0x8c5071=_0x3834b9['height']/_0x19b049['offsetHeight'];_0x2028cb['top']<_0x3834b9['top']?_0x19b049['scrollTop']-=(_0x3834b9['top']-_0x2028cb['top'])/_0x8c5071:_0x2028cb['bottom']>_0x3834b9['bottom']&&(_0x19b049['scrollTop']+=(_0x2028cb['bottom']-_0x3834b9['bottom'])/_0x8c5071);}function _0x5c4777(_0x246a85){return 0x64*(_0x246a85['boost']||0x0)+(_0x246a85['apply']?0xa:0x0)+(_0x246a85['info']?0x5:0x0)+(_0x246a85['type']?0x1:0x0);}function sortOptions(_0x338c71,_0x56ab04){let _0x47ac93=[],_0x2087c7=null,_0x2f2d7a=null,_0x25cfd1=_0x589440=>{_0x47ac93['push'](_0x589440);let {section:_0xd13c4a}=_0x589440['completion'];if(_0xd13c4a){_0x2087c7||(_0x2087c7=[]);let _0x41692e='string'==typeof _0xd13c4a?_0xd13c4a:_0xd13c4a['name'];_0x2087c7['some'](_0x3fafb9=>_0x3fafb9['name']==_0x41692e)||_0x2087c7['push']('string'==typeof _0xd13c4a?{'name':_0x41692e}:_0xd13c4a);}},_0x4aeaf8=_0x56ab04['facet'](completionConfig);for(let _0x119ebe of _0x338c71)if(_0x119ebe['hasResult']()){let _0x497f12=_0x119ebe['result']['getMatch'];if(!0x1===_0x119ebe['result']['filter']){for(let _0x10b27a of _0x119ebe['result']['options'])_0x25cfd1(new Option(_0x10b27a,_0x119ebe['source'],_0x497f12?_0x497f12(_0x10b27a):[],0x3b9aca00-_0x47ac93['length']));}else{let _0x38392d,_0x239b6c=_0x56ab04['sliceDoc'](_0x119ebe['from'],_0x119ebe['to']),_0x467779=_0x4aeaf8['filterStrict']?new StrictMatcher(_0x239b6c):new FuzzyMatcher(_0x239b6c);for(let _0xa8974d of _0x119ebe['result']['options'])if(_0x38392d=_0x467779['match'](_0xa8974d['label'])){let _0xa34088=_0xa8974d['displayLabel']?_0x497f12?_0x497f12(_0xa8974d,_0x38392d['matched']):[]:_0x38392d['matched'],_0x31005b=_0x38392d['score']+(_0xa8974d['boost']||0x0);if(_0x25cfd1(new Option(_0xa8974d,_0x119ebe['source'],_0xa34088,_0x31005b)),'object'==typeof _0xa8974d['section']&&'dynamic'===_0xa8974d['section']['rank']){let {name:_0x401331}=_0xa8974d['section'];_0x2f2d7a||(_0x2f2d7a=Object['create'](null)),_0x2f2d7a[_0x401331]=Math['max'](_0x31005b,_0x2f2d7a[_0x401331]||-0x3b9aca00);}}}}if(_0x2087c7){let _0xcc0725=Object['create'](null),_0x12641c=0x0,_0x4e08b1=(_0x6c76e1,_0x476143)=>('dynamic'===_0x6c76e1['rank']&&'dynamic'===_0x476143['rank']?_0x2f2d7a[_0x476143['name']]-_0x2f2d7a[_0x6c76e1['name']]:0x0)||('number'==typeof _0x6c76e1['rank']?_0x6c76e1['rank']:0x3b9aca00)-('number'==typeof _0x476143['rank']?_0x476143['rank']:0x3b9aca00)||(_0x6c76e1['name']<_0x476143['name']?-0x1:0x1);for(let _0x227d48 of _0x2087c7['sort'](_0x4e08b1))_0x12641c-=0x186a0,_0xcc0725[_0x227d48['name']]=_0x12641c;for(let _0x3718a8 of _0x47ac93){let {section:_0x49ea94}=_0x3718a8['completion'];_0x49ea94&&(_0x3718a8['score']+=_0xcc0725['string'==typeof _0x49ea94?_0x49ea94:_0x49ea94['name']]);}}let _0x40d6e3=[],_0x4bedde=null,_0x283696=_0x4aeaf8['compareCompletions'];for(let _0x20c330 of _0x47ac93['sort']((_0x422fd2,_0x355003)=>_0x355003['score']-_0x422fd2['score']||_0x283696(_0x422fd2['completion'],_0x355003['completion']))){let _0x6e5919=_0x20c330['completion'];!_0x4bedde||_0x4bedde['label']!=_0x6e5919['label']||_0x4bedde['detail']!=_0x6e5919['detail']||null!=_0x4bedde['type']&&null!=_0x6e5919['type']&&_0x4bedde['type']!=_0x6e5919['type']||_0x4bedde['apply']!=_0x6e5919['apply']||_0x4bedde['boost']!=_0x6e5919['boost']?_0x40d6e3['push'](_0x20c330):_0x5c4777(_0x20c330['completion'])>_0x5c4777(_0x4bedde)&&(_0x40d6e3[_0x40d6e3['length']-0x1]=_0x20c330),_0x4bedde=_0x20c330['completion'];}return _0x40d6e3;}class CompletionDialog{constructor(_0x3b054e,_0x626efd,_0x267107,_0x215415,_0x3ef127,_0xa16238){this['options']=_0x3b054e,this['attrs']=_0x626efd,this['tooltip']=_0x267107,this['timestamp']=_0x215415,this['selected']=_0x3ef127,this['disabled']=_0xa16238;}['setSelected'](_0xf144b9,_0x12e3de){return _0xf144b9==this['selected']||_0xf144b9>=this['options']['length']?this:new CompletionDialog(this['options'],makeAttrs(_0x12e3de,_0xf144b9),this['tooltip'],this['timestamp'],_0xf144b9,this['disabled']);}static['build'](_0x1c7dbd,_0x3f9d77,_0x2e2ae7,_0x366173,_0x5adf9e,_0xd28a76){if(_0x366173&&!_0xd28a76&&_0x1c7dbd['some'](_0x5f10ca=>_0x5f10ca['isPending']))return _0x366173['setDisabled']();let _0x6e9018=sortOptions(_0x1c7dbd,_0x3f9d77);if(!_0x6e9018['length'])return _0x366173&&_0x1c7dbd['some'](_0x2d681b=>_0x2d681b['isPending'])?_0x366173['setDisabled']():null;let _0x2d9196=_0x3f9d77['facet'](completionConfig)['selectOnOpen']?0x0:-0x1;if(_0x366173&&_0x366173['selected']!=_0x2d9196&&-0x1!=_0x366173['selected']){let _0x158bcf=_0x366173['options'][_0x366173['selected']]['completion'];for(let _0x576249=0x0;_0x576249<_0x6e9018['length'];_0x576249++)if(_0x6e9018[_0x576249]['completion']==_0x158bcf){_0x2d9196=_0x576249;break;}}return new CompletionDialog(_0x6e9018,makeAttrs(_0x2e2ae7,_0x2d9196),{'pos':_0x1c7dbd['reduce']((_0x22100d,_0x24fc53)=>_0x24fc53['hasResult']()?Math['min'](_0x22100d,_0x24fc53['from']):_0x22100d,0x5f5e100),'create':createTooltip,'above':_0x5adf9e['aboveCursor']},_0x366173?_0x366173['timestamp']:Date['now'](),_0x2d9196,!0x1);}['map'](_0x107173){return new CompletionDialog(this['options'],this['attrs'],{...this['tooltip'],'pos':_0x107173['mapPos'](this['tooltip']['pos'])},this['timestamp'],this['selected'],this['disabled']);}['setDisabled'](){return new CompletionDialog(this['options'],this['attrs'],this['tooltip'],this['timestamp'],this['selected'],!0x0);}}class CompletionState{constructor(_0x13908f,_0x5838fe,_0x5568a0){this['active']=_0x13908f,this['id']=_0x5838fe,this['open']=_0x5568a0;}static['start'](){return new CompletionState(_0x3d5370,'cm-ac-'+Math['floor'](0x1e8480*Math['random']())['toString'](0x24),null);}['update'](_0x2666cb){let {state:_0x307ecd}=_0x2666cb,_0x3efbf4=_0x307ecd['facet'](completionConfig),_0x267367=(_0x3efbf4['override']||_0x307ecd['languageDataAt']('autocomplete',_0x3474a8(_0x307ecd))['map'](_0x7a3e19))['map'](_0x3b20e2=>{let _0x4bb441=this['active']['find'](_0x2a53c0=>_0x2a53c0['source']==_0x3b20e2)||new ActiveSource(_0x3b20e2,this['active']['some'](_0xbf0a0f=>0x0!=_0xbf0a0f['state'])?0x1:0x0);return _0x4bb441['update'](_0x2666cb,_0x3efbf4);});_0x267367['length']==this['active']['length']&&_0x267367['every']((_0xd2a908,_0x2ff1e3)=>_0xd2a908==this['active'][_0x2ff1e3])&&(_0x267367=this['active']);let _0x3824b0=this['open'],_0x5b62a9=_0x2666cb['effects']['some'](_0x5a9295=>_0x5a9295['is'](setActiveEffect));_0x3824b0&&_0x2666cb['docChanged']&&(_0x3824b0=_0x3824b0['map'](_0x2666cb['changes'])),_0x2666cb['selection']||_0x267367['some'](_0x446b83=>_0x446b83['hasResult']()&&_0x2666cb['changes']['touchesRange'](_0x446b83['from'],_0x446b83['to']))||!sameResults(_0x267367,this['active'])||_0x5b62a9?_0x3824b0=CompletionDialog['build'](_0x267367,_0x307ecd,this['id'],_0x3824b0,_0x3efbf4,_0x5b62a9):_0x3824b0&&_0x3824b0['disabled']&&!_0x267367['some'](_0x434b0c=>_0x434b0c['isPending'])&&(_0x3824b0=null),!_0x3824b0&&_0x267367['every'](_0x5ca19b=>!_0x5ca19b['isPending'])&&_0x267367['some'](_0x2ff814=>_0x2ff814['hasResult']())&&(_0x267367=_0x267367['map'](_0x4d37f6=>_0x4d37f6['hasResult']()?new ActiveSource(_0x4d37f6['source'],0x0):_0x4d37f6));for(let _0x538d66 of _0x2666cb['effects'])_0x538d66['is'](setSelectedEffect)&&(_0x3824b0=_0x3824b0&&_0x3824b0['setSelected'](_0x538d66['value'],this['id']));return _0x267367==this['active']&&_0x3824b0==this['open']?this:new CompletionState(_0x267367,this['id'],_0x3824b0);}get['tooltip'](){return this['open']?this['open']['tooltip']:null;}get['attrs'](){return this['open']?this['open']['attrs']:this['active']['length']?baseAttrs:noAttrs;}}function sameResults(_0x361b3f,_0x441f4b){if(_0x361b3f==_0x441f4b)return!0x0;for(let _0x1b1cf8=0x0,_0x3bf394=0x0;;){for(;_0x1b1cf8<_0x361b3f['length']&&!_0x361b3f[_0x1b1cf8]['hasResult']();)_0x1b1cf8++;for(;_0x3bf394<_0x441f4b['length']&&!_0x441f4b[_0x3bf394]['hasResult']();)_0x3bf394++;let _0x232204=_0x1b1cf8==_0x361b3f['length'],_0x505031=_0x3bf394==_0x441f4b['length'];if(_0x232204||_0x505031)return _0x232204==_0x505031;if(_0x361b3f[_0x1b1cf8++]['result']!=_0x441f4b[_0x3bf394++]['result'])return!0x1;}}const baseAttrs={'aria-autocomplete':'list'},noAttrs={};function makeAttrs(_0x25b615,_0x24be1a){let _0x435fd9={'aria-autocomplete':'list','aria-haspopup':'listbox','aria-controls':_0x25b615};return _0x24be1a>-0x1&&(_0x435fd9['aria-activedescendant']=_0x25b615+'-'+_0x24be1a),_0x435fd9;}const _0x3d5370=[];function getUpdateType(_0x3be5d1,_0x324273){if(_0x3be5d1['isUserEvent']('input.complete')){let _0x219d42=_0x3be5d1['annotation'](pickedCompletion);if(_0x219d42&&_0x324273['activateOnCompletion'](_0x219d42))return 0xc;}let _0x120557=_0x3be5d1['isUserEvent']('input.type');return _0x120557&&_0x324273['activateOnTyping']?0x5:_0x120557?0x1:_0x3be5d1['isUserEvent']('delete.backward')?0x2:_0x3be5d1['selection']?0x8:_0x3be5d1['docChanged']?0x10:0x0;}class ActiveSource{constructor(_0x4bd7ba,_0x197d19,_0x2f7164=!0x1){this['source']=_0x4bd7ba,this['state']=_0x197d19,this['explicit']=_0x2f7164;}['hasResult'](){return!0x1;}get['isPending'](){return 0x1==this['state'];}['update'](_0x4d2fa9,_0x299960){let _0x254845=getUpdateType(_0x4d2fa9,_0x299960),_0xac273d=this;(0x8&_0x254845||0x10&_0x254845&&this['touches'](_0x4d2fa9))&&(_0xac273d=new ActiveSource(_0xac273d['source'],0x0)),0x4&_0x254845&&0x0==_0xac273d['state']&&(_0xac273d=new ActiveSource(this['source'],0x1)),_0xac273d=_0xac273d['updateFor'](_0x4d2fa9,_0x254845);for(let _0x1cd667 of _0x4d2fa9['effects'])if(_0x1cd667['is'](startCompletionEffect))_0xac273d=new ActiveSource(_0xac273d['source'],0x1,_0x1cd667['value']);else{if(_0x1cd667['is'](closeCompletionEffect))_0xac273d=new ActiveSource(_0xac273d['source'],0x0);else{if(_0x1cd667['is'](setActiveEffect)){for(let _0x72b7ce of _0x1cd667['value'])_0x72b7ce['source']==_0xac273d['source']&&(_0xac273d=_0x72b7ce);}}}return _0xac273d;}['updateFor'](_0x725cb6,_0x1e107e){return this['map'](_0x725cb6['changes']);}['map'](_0x4da01c){return this;}['touches'](_0x2b8b3e){return _0x2b8b3e['changes']['touchesRange'](_0x3474a8(_0x2b8b3e['state']));}}class ActiveResult extends ActiveSource{constructor(_0x18a5ce,_0x205fcd,_0x35b05b,_0x4cf92d,_0x3db741,_0x11c8ca){super(_0x18a5ce,0x3,_0x205fcd),this['limit']=_0x35b05b,this['result']=_0x4cf92d,this['from']=_0x3db741,this['to']=_0x11c8ca;}['hasResult'](){return!0x0;}['updateFor'](_0xf3294,_0x3d864b){var _0x2b8e16;if(!(0x3&_0x3d864b))return this['map'](_0xf3294['changes']);let _0x149a70=this['result'];_0x149a70['map']&&!_0xf3294['changes']['empty']&&(_0x149a70=_0x149a70['map'](_0x149a70,_0xf3294['changes']));let _0x35b879=_0xf3294['changes']['mapPos'](this['from']),_0x522cb3=_0xf3294['changes']['mapPos'](this['to'],0x1),_0x3b3dc1=_0x3474a8(_0xf3294['state']);if(_0x3b3dc1>_0x522cb3||!_0x149a70||0x2&_0x3d864b&&(_0x3474a8(_0xf3294['startState'])==this['from']||_0x3b3dc1<this['limit']))return new ActiveSource(this['source'],0x4&_0x3d864b?0x1:0x0);let _0x358dd7=_0xf3294['changes']['mapPos'](this['limit']);return _0x1f39f4(_0x149a70['validFor'],_0xf3294['state'],_0x35b879,_0x522cb3)?new ActiveResult(this['source'],this['explicit'],_0x358dd7,_0x149a70,_0x35b879,_0x522cb3):_0x149a70['update']&&(_0x149a70=_0x149a70['update'](_0x149a70,_0x35b879,_0x522cb3,new CompletionContext(_0xf3294['state'],_0x3b3dc1,!0x1)))?new ActiveResult(this['source'],this['explicit'],_0x358dd7,_0x149a70,_0x149a70['from'],null!==(_0x2b8e16=_0x149a70['to'])&&void 0x0!==_0x2b8e16?_0x2b8e16:_0x3474a8(_0xf3294['state'])):new ActiveSource(this['source'],0x1,this['explicit']);}['map'](_0x445d90){if(_0x445d90['empty'])return this;return(this['result']['map']?this['result']['map'](this['result'],_0x445d90):this['result'])?new ActiveResult(this['source'],this['explicit'],_0x445d90['mapPos'](this['limit']),this['result'],_0x445d90['mapPos'](this['from']),_0x445d90['mapPos'](this['to'],0x1)):new ActiveSource(this['source'],0x0);}['touches'](_0x26c6ab){return _0x26c6ab['changes']['touchesRange'](this['from'],this['to']);}}function _0x1f39f4(_0x5de5c2,_0x1b0579,_0x16870f,_0x548c4c){if(!_0x5de5c2)return!0x1;let _0x3df364=_0x1b0579['sliceDoc'](_0x16870f,_0x548c4c);return'function'==typeof _0x5de5c2?_0x5de5c2(_0x3df364,_0x16870f,_0x548c4c,_0x1b0579):_0x8273b(_0x5de5c2,!0x0)['test'](_0x3df364);}const setActiveEffect=StateEffect['define']({'map':(_0x137e2c,_0x290c9c)=>_0x137e2c['map'](_0x5d9548=>_0x5d9548['map'](_0x290c9c))}),setSelectedEffect=StateEffect['define'](),completionState=StateField['define']({'create':()=>CompletionState['start'](),'update':(_0x2804d6,_0x20510c)=>_0x2804d6['update'](_0x20510c),'provide':_0x449aff=>[showTooltip['from'](_0x449aff,_0x253a83=>_0x253a83['tooltip']),EditorView['contentAttributes']['from'](_0x449aff,_0x164482=>_0x164482['attrs'])]});function applyCompletion(_0x2b5af2,_0x3c825c){const _0x47046d=_0x3c825c['completion']['apply']||_0x3c825c['completion']['label'];let _0x213481=_0x2b5af2['state']['field'](completionState)['active']['find'](_0x16ee29=>_0x16ee29['source']==_0x3c825c['source']);return _0x213481 instanceof ActiveResult&&('string'==typeof _0x47046d?_0x2b5af2['dispatch']({...insertCompletionText(_0x2b5af2['state'],_0x47046d,_0x213481['from'],_0x213481['to']),'annotations':pickedCompletion['of'](_0x3c825c['completion'])}):_0x47046d(_0x2b5af2,_0x3c825c['completion'],_0x213481['from'],_0x213481['to']),!0x0);}const createTooltip=completionTooltip(completionState,applyCompletion);function moveCompletionSelection(_0x2c7c9d,_0x5846ff='option'){return _0x5595c0=>{let _0x3e1c33=_0x5595c0['state']['field'](completionState,!0x1);if(!_0x3e1c33||!_0x3e1c33['open']||_0x3e1c33['open']['disabled']||Date['now']()-_0x3e1c33['open']['timestamp']<_0x5595c0['state']['facet'](completionConfig)['interactionDelay'])return!0x1;let _0x3d9170,_0x152a74=0x1;'page'==_0x5846ff&&(_0x3d9170=getTooltip(_0x5595c0,_0x3e1c33['open']['tooltip']))&&(_0x152a74=Math['max'](0x2,Math['floor'](_0x3d9170['dom']['offsetHeight']/_0x3d9170['dom']['querySelector']('li')['offsetHeight'])-0x1));let {length:_0x5108fb}=_0x3e1c33['open']['options'],_0x46a135=_0x3e1c33['open']['selected']>-0x1?_0x3e1c33['open']['selected']+_0x152a74*(_0x2c7c9d?0x1:-0x1):_0x2c7c9d?0x0:_0x5108fb-0x1;return _0x46a135<0x0?_0x46a135='page'==_0x5846ff?0x0:_0x5108fb-0x1:_0x46a135>=_0x5108fb&&(_0x46a135='page'==_0x5846ff?_0x5108fb-0x1:0x0),_0x5595c0['dispatch']({'effects':setSelectedEffect['of'](_0x46a135)}),!0x0;};}const acceptCompletion=_0x1ae6c0=>{let _0x136266=_0x1ae6c0['state']['field'](completionState,!0x1);return!(_0x1ae6c0['state']['readOnly']||!_0x136266||!_0x136266['open']||_0x136266['open']['selected']<0x0||_0x136266['open']['disabled']||Date['now']()-_0x136266['open']['timestamp']<_0x1ae6c0['state']['facet'](completionConfig)['interactionDelay'])&&applyCompletion(_0x1ae6c0,_0x136266['open']['options'][_0x136266['open']['selected']]);},startCompletion=_0xd72a=>!!_0xd72a['state']['field'](completionState,!0x1)&&(_0xd72a['dispatch']({'effects':startCompletionEffect['of'](!0x0)}),!0x0),closeCompletion=_0x3c7e3a=>{let _0x322de4=_0x3c7e3a['state']['field'](completionState,!0x1);return!(!_0x322de4||!_0x322de4['active']['some'](_0x28f00d=>0x0!=_0x28f00d['state']))&&(_0x3c7e3a['dispatch']({'effects':closeCompletionEffect['of'](null)}),!0x0);};class _0x4d247a{constructor(_0x12dc94,_0x25cce9){this['active']=_0x12dc94,this['context']=_0x25cce9,this['time']=Date['now'](),this['updates']=[],this['done']=void 0x0;}}const MaxUpdateCount=0x32,MinAbortTime=0x3e8,completionPlugin=_0x1d7143['fromClass'](class{constructor(_0x4f0be2){this['view']=_0x4f0be2,this['debounceUpdate']=-0x1,this['running']=[],this['debounceAccept']=-0x1,this['pendingStart']=!0x1,this['composing']=0x0;for(let _0x53d372 of _0x4f0be2['state']['field'](completionState)['active'])_0x53d372['isPending']&&this['startQuery'](_0x53d372);}['update'](_0x3fa771){let _0x52bc95=_0x3fa771['state']['field'](completionState),_0xe9074e=_0x3fa771['state']['facet'](completionConfig);if(!_0x3fa771['selectionSet']&&!_0x3fa771['docChanged']&&_0x3fa771['startState']['field'](completionState)==_0x52bc95)return;let _0x251a8c=_0x3fa771['transactions']['some'](_0x31d3cd=>{let _0x5ad344=getUpdateType(_0x31d3cd,_0xe9074e);return 0x8&_0x5ad344||(_0x31d3cd['selection']||_0x31d3cd['docChanged'])&&!(0x3&_0x5ad344);});for(let _0x143cf1=0x0;_0x143cf1<this['running']['length'];_0x143cf1++){let _0x32893a=this['running'][_0x143cf1];if(_0x251a8c||_0x32893a['context']['abortOnDocChange']&&_0x3fa771['docChanged']||_0x32893a['updates']['length']+_0x3fa771['transactions']['length']>MaxUpdateCount&&Date['now']()-_0x32893a['time']>MinAbortTime){for(let _0x1ddd61 of _0x32893a['context']['abortListeners'])try{_0x1ddd61();}catch(_0x56fd26){logException(this['view']['state'],_0x56fd26);}_0x32893a['context']['abortListeners']=null,this['running']['splice'](_0x143cf1--,0x1);}else _0x32893a['updates']['push'](..._0x3fa771['transactions']);}this['debounceUpdate']>-0x1&&clearTimeout(this['debounceUpdate']),_0x3fa771['transactions']['some'](_0x5a667f=>_0x5a667f['effects']['some'](_0x11b189=>_0x11b189['is'](startCompletionEffect)))&&(this['pendingStart']=!0x0);let _0x28dccb=this['pendingStart']?0x32:_0xe9074e['activateOnTypingDelay'];if(this['debounceUpdate']=_0x52bc95['active']['some'](_0x377f96=>_0x377f96['isPending']&&!this['running']['some'](_0x309d49=>_0x309d49['active']['source']==_0x377f96['source']))?setTimeout(()=>this['startUpdate'](),_0x28dccb):-0x1,0x0!=this['composing']){for(let _0x47e815 of _0x3fa771['transactions'])_0x47e815['isUserEvent']('input.type')?this['composing']=0x2:0x2==this['composing']&&_0x47e815['selection']&&(this['composing']=0x3);}}['startUpdate'](){this['debounceUpdate']=-0x1,this['pendingStart']=!0x1;let {state:_0x5f57b3}=this['view'],_0x26b7df=_0x5f57b3['field'](completionState);for(let _0x47efbc of _0x26b7df['active'])_0x47efbc['isPending']&&!this['running']['some'](_0x237ded=>_0x237ded['active']['source']==_0x47efbc['source'])&&this['startQuery'](_0x47efbc);this['running']['length']&&_0x26b7df['open']&&_0x26b7df['open']['disabled']&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](completionConfig)['updateSyncTime']));}['startQuery'](_0x14c685){let {state:_0x27e662}=this['view'],_0x3c2400=_0x3474a8(_0x27e662),_0x56637e=new CompletionContext(_0x27e662,_0x3c2400,_0x14c685['explicit'],this['view']),_0x2b9c08=new _0x4d247a(_0x14c685,_0x56637e);this['running']['push'](_0x2b9c08),Promise['resolve'](_0x14c685['source'](_0x56637e))['then'](_0xae1ce0=>{_0x2b9c08['context']['aborted']||(_0x2b9c08['done']=_0xae1ce0||null,this['scheduleAccept']());},_0x4704fc=>{this['view']['dispatch']({'effects':closeCompletionEffect['of'](null)}),logException(this['view']['state'],_0x4704fc);});}['scheduleAccept'](){this['running']['every'](_0xf84f4=>void 0x0!==_0xf84f4['done'])?this['accept']():this['debounceAccept']<0x0&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](completionConfig)['updateSyncTime']));}['accept'](){var _0x239b2a;this['debounceAccept']>-0x1&&clearTimeout(this['debounceAccept']),this['debounceAccept']=-0x1;let _0x2792a1=[],_0x4a343d=this['view']['state']['facet'](completionConfig),_0x580656=this['view']['state']['field'](completionState);for(let _0x2f4a91=0x0;_0x2f4a91<this['running']['length'];_0x2f4a91++){let _0x1635d7=this['running'][_0x2f4a91];if(void 0x0===_0x1635d7['done'])continue;if(this['running']['splice'](_0x2f4a91--,0x1),_0x1635d7['done']){let _0x2944f4=_0x3474a8(_0x1635d7['updates']['length']?_0x1635d7['updates'][0x0]['startState']:this['view']['state']),_0x5aa2f6=Math['min'](_0x2944f4,_0x1635d7['done']['from']+(_0x1635d7['active']['explicit']?0x0:0x1)),_0x51b205=new ActiveResult(_0x1635d7['active']['source'],_0x1635d7['active']['explicit'],_0x5aa2f6,_0x1635d7['done'],_0x1635d7['done']['from'],null!==(_0x239b2a=_0x1635d7['done']['to'])&&void 0x0!==_0x239b2a?_0x239b2a:_0x2944f4);for(let _0x35c795 of _0x1635d7['updates'])_0x51b205=_0x51b205['update'](_0x35c795,_0x4a343d);if(_0x51b205['hasResult']()){_0x2792a1['push'](_0x51b205);continue;}}let _0x27e7ba=_0x580656['active']['find'](_0x2d679f=>_0x2d679f['source']==_0x1635d7['active']['source']);if(_0x27e7ba&&_0x27e7ba['isPending']){if(null==_0x1635d7['done']){let _0x10812c=new ActiveSource(_0x1635d7['active']['source'],0x0);for(let _0x3f1175 of _0x1635d7['updates'])_0x10812c=_0x10812c['update'](_0x3f1175,_0x4a343d);_0x10812c['isPending']||_0x2792a1['push'](_0x10812c);}else this['startQuery'](_0x27e7ba);}}(_0x2792a1['length']||_0x580656['open']&&_0x580656['open']['disabled'])&&this['view']['dispatch']({'effects':setActiveEffect['of'](_0x2792a1)});}},{'eventHandlers':{'blur'(_0x7f7612){let _0x6fc88a=this['view']['state']['field'](completionState,!0x1);if(_0x6fc88a&&_0x6fc88a['tooltip']&&this['view']['state']['facet'](completionConfig)['closeOnBlur']){let _0x10bb5e=_0x6fc88a['open']&&getTooltip(this['view'],_0x6fc88a['open']['tooltip']);_0x10bb5e&&_0x10bb5e['dom']['contains'](_0x7f7612['relatedTarget'])||setTimeout(()=>this['view']['dispatch']({'effects':closeCompletionEffect['of'](null)}),0xa);}},'compositionstart'(){this['composing']=0x1;},'compositionend'(){0x3==this['composing']&&setTimeout(()=>this['view']['dispatch']({'effects':startCompletionEffect['of'](!0x1)}),0x14),this['composing']=0x0;}}}),_0x35e9a3='object'==typeof navigator&&/Win/['test'](navigator['platform']),commitCharacters=_0x330a03['highest'](EditorView['domEventHandlers']({'keydown'(_0x2fe467,_0x573cf6){let _0x504f75=_0x573cf6['state']['field'](completionState,!0x1);if(!_0x504f75||!_0x504f75['open']||_0x504f75['open']['disabled']||_0x504f75['open']['selected']<0x0||_0x2fe467['key']['length']>0x1||_0x2fe467['ctrlKey']&&(!_0x35e9a3||!_0x2fe467['altKey'])||_0x2fe467['metaKey'])return!0x1;let _0x1171ee=_0x504f75['open']['options'][_0x504f75['open']['selected']],_0x11f683=_0x504f75['active']['find'](_0x54f44a=>_0x54f44a['source']==_0x1171ee['source']),_0x1a3cb7=_0x1171ee['completion']['commitCharacters']||_0x11f683['result']['commitCharacters'];return _0x1a3cb7&&_0x1a3cb7['indexOf'](_0x2fe467['key'])>-0x1&&applyCompletion(_0x573cf6,_0x1171ee),!0x1;}})),_0x1970d0=EditorView['baseTheme']({'.cm-tooltip.cm-tooltip-autocomplete':{'&\x20>\x20ul':{'fontFamily':'monospace','whiteSpace':'nowrap','overflow':'hidden\x20auto','maxWidth_fallback':'700px','maxWidth':'min(700px,\x2095vw)','minWidth':'250px','maxHeight':'10em','height':'100%','listStyle':'none','margin':0x0,'padding':0x0,'&\x20>\x20li,\x20&\x20>\x20completion-section':{'padding':'1px\x203px','lineHeight':1.2},'&\x20>\x20li':{'overflowX':'hidden','textOverflow':'ellipsis','cursor':'pointer'},'&\x20>\x20completion-section':{'display':'list-item','borderBottom':'1px\x20solid\x20silver','paddingLeft':'0.5em','opacity':0.7}}},'&light\x20.cm-tooltip-autocomplete\x20ul\x20li[aria-selected]':{'background':'#17c','color':'white'},'&light\x20.cm-tooltip-autocomplete-disabled\x20ul\x20li[aria-selected]':{'background':'#777'},'&dark\x20.cm-tooltip-autocomplete\x20ul\x20li[aria-selected]':{'background':'#347','color':'white'},'&dark\x20.cm-tooltip-autocomplete-disabled\x20ul\x20li[aria-selected]':{'background':'#444'},'.cm-completionListIncompleteTop:before,\x20.cm-completionListIncompleteBottom:after':{'content':'\x22···\x22','opacity':0.5,'display':'block','textAlign':'center'},'.cm-tooltip.cm-completionInfo':{'position':'absolute','padding':'3px\x209px','width':'max-content','maxWidth':'400px','boxSizing':'border-box','whiteSpace':'pre-line'},'.cm-completionInfo.cm-completionInfo-left':{'right':'100%'},'.cm-completionInfo.cm-completionInfo-right':{'left':'100%'},'.cm-completionInfo.cm-completionInfo-left-narrow':{'right':'30px'},'.cm-completionInfo.cm-completionInfo-right-narrow':{'left':'30px'},'&light\x20.cm-snippetField':{'backgroundColor':'#00000022'},'&dark\x20.cm-snippetField':{'backgroundColor':'#ffffff22'},'.cm-snippetFieldPosition':{'verticalAlign':'text-top','width':0x0,'height':'1.15em','display':'inline-block','margin':'0\x20-0.7px\x20-.7em','borderLeft':'1.4px\x20dotted\x20#888'},'.cm-completionMatchedText':{'textDecoration':'underline'},'.cm-completionDetail':{'marginLeft':'0.5em','fontStyle':'italic'},'.cm-completionIcon':{'fontSize':'90%','width':'.8em','display':'inline-block','textAlign':'center','paddingRight':'.6em','opacity':'0.6','boxSizing':'content-box'},'.cm-completionIcon-function,\x20.cm-completionIcon-method':{'&:after':{'content':'\x27ƒ\x27'}},'.cm-completionIcon-class':{'&:after':{'content':'\x27○\x27'}},'.cm-completionIcon-interface':{'&:after':{'content':'\x27◌\x27'}},'.cm-completionIcon-variable':{'&:after':{'content':'\x27𝑥\x27'}},'.cm-completionIcon-constant':{'&:after':{'content':'\x27𝐶\x27'}},'.cm-completionIcon-type':{'&:after':{'content':'\x27𝑡\x27'}},'.cm-completionIcon-enum':{'&:after':{'content':'\x27∪\x27'}},'.cm-completionIcon-property':{'&:after':{'content':'\x27□\x27'}},'.cm-completionIcon-keyword':{'&:after':{'content':'\x27🔑︎\x27'}},'.cm-completionIcon-namespace':{'&:after':{'content':'\x27▢\x27'}},'.cm-completionIcon-text':{'&:after':{'content':'\x27abc\x27','fontSize':'50%','verticalAlign':'middle'}}});class _0x7ba325{constructor(_0x3553f1,_0x31eeb0,_0x19a8a1,_0x1cfed4){this['field']=_0x3553f1,this['line']=_0x31eeb0,this['from']=_0x19a8a1,this['to']=_0x1cfed4;}}class _0x3d8f70{constructor(_0x15cb3e,_0x5d9d1a,_0x966576){this['field']=_0x15cb3e,this['from']=_0x5d9d1a,this['to']=_0x966576;}['map'](_0x36a5a2){let _0x2c8138=_0x36a5a2['mapPos'](this['from'],-0x1,_0x38e9e1['TrackDel']),_0x31797e=_0x36a5a2['mapPos'](this['to'],0x1,_0x38e9e1['TrackDel']);return null==_0x2c8138||null==_0x31797e?null:new _0x3d8f70(this['field'],_0x2c8138,_0x31797e);}}class Snippet{constructor(_0x555087,_0x3beab6){this['lines']=_0x555087,this['fieldPositions']=_0x3beab6;}['instantiate'](_0x6ead17,_0x588738){let _0x465f02=[],_0x486ae7=[_0x588738],_0x441a61=_0x6ead17['doc']['lineAt'](_0x588738),_0x53c007=/^\s*/['exec'](_0x441a61['text'])[0x0];for(let _0x69e39c of this['lines']){if(_0x465f02['length']){let _0x4f4f88=_0x53c007,_0x5eccca=/^\t*/['exec'](_0x69e39c)[0x0]['length'];for(let _0x231653=0x0;_0x231653<_0x5eccca;_0x231653++)_0x4f4f88+=_0x6ead17['facet'](indentUnit);_0x486ae7['push'](_0x588738+_0x4f4f88['length']-_0x5eccca),_0x69e39c=_0x4f4f88+_0x69e39c['slice'](_0x5eccca);}_0x465f02['push'](_0x69e39c),_0x588738+=_0x69e39c['length']+0x1;}let _0x5e3d9e=this['fieldPositions']['map'](_0x5c059e=>new _0x3d8f70(_0x5c059e['field'],_0x486ae7[_0x5c059e['line']]+_0x5c059e['from'],_0x486ae7[_0x5c059e['line']]+_0x5c059e['to']));return{'text':_0x465f02,'ranges':_0x5e3d9e};}static['parse'](_0x2d9fbe){let _0x1b0c5d,_0x1402fc=[],_0x369b86=[],_0x37db41=[];for(let _0x1bd6dc of _0x2d9fbe['split'](/\r\n?|\n/)){for(;_0x1b0c5d=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/['exec'](_0x1bd6dc);){let _0x4dba2b=_0x1b0c5d[0x1]?+_0x1b0c5d[0x1]:null,_0x498fef=_0x1b0c5d[0x2]||_0x1b0c5d[0x3]||'',_0x30c9f5=-0x1,_0x1b2520=_0x498fef['replace'](/\\[{}]/g,_0x849291=>_0x849291[0x1]);for(let _0x1588eb=0x0;_0x1588eb<_0x1402fc['length'];_0x1588eb++)(null!=_0x4dba2b?_0x1402fc[_0x1588eb]['seq']==_0x4dba2b:_0x1b2520&&_0x1402fc[_0x1588eb]['name']==_0x1b2520)&&(_0x30c9f5=_0x1588eb);if(_0x30c9f5<0x0){let _0x27d3ae=0x0;for(;_0x27d3ae<_0x1402fc['length']&&(null==_0x4dba2b||null!=_0x1402fc[_0x27d3ae]['seq']&&_0x1402fc[_0x27d3ae]['seq']<_0x4dba2b);)_0x27d3ae++;_0x1402fc['splice'](_0x27d3ae,0x0,{'seq':_0x4dba2b,'name':_0x1b2520}),_0x30c9f5=_0x27d3ae;for(let _0x534a4f of _0x37db41)_0x534a4f['field']>=_0x30c9f5&&_0x534a4f['field']++;}for(let _0x26203c of _0x37db41)if(_0x26203c['line']==_0x369b86['length']&&_0x26203c['from']>_0x1b0c5d['index']){let _0x34bb5e=_0x1b0c5d[0x2]?0x3+(_0x1b0c5d[0x1]||'')['length']:0x2;_0x26203c['from']-=_0x34bb5e,_0x26203c['to']-=_0x34bb5e;}_0x37db41['push'](new _0x7ba325(_0x30c9f5,_0x369b86['length'],_0x1b0c5d['index'],_0x1b0c5d['index']+_0x1b2520['length'])),_0x1bd6dc=_0x1bd6dc['slice'](0x0,_0x1b0c5d['index'])+_0x498fef+_0x1bd6dc['slice'](_0x1b0c5d['index']+_0x1b0c5d[0x0]['length']);}_0x1bd6dc=_0x1bd6dc['replace'](/\\([{}])/g,(_0x15de5a,_0x2c056f,_0x5e6289)=>{for(let _0x26ca04 of _0x37db41)_0x26ca04['line']==_0x369b86['length']&&_0x26ca04['from']>_0x5e6289&&(_0x26ca04['from']--,_0x26ca04['to']--);return _0x2c056f;}),_0x369b86['push'](_0x1bd6dc);}return new Snippet(_0x369b86,_0x37db41);}}let _0x22efc3=Decoration['widget']({'widget':new class extends WidgetType{['toDOM'](){let _0x2cf16f=document['createElement']('span');return _0x2cf16f['className']='cm-snippetFieldPosition',_0x2cf16f;}['ignoreEvent'](){return!0x1;}}()}),_0x4ce14b=Decoration['mark']({'class':'cm-snippetField'});class ActiveSnippet{constructor(_0x3fd386,_0x34025a){this['ranges']=_0x3fd386,this['active']=_0x34025a,this['deco']=Decoration['set'](_0x3fd386['map'](_0x3da1d1=>(_0x3da1d1['from']==_0x3da1d1['to']?_0x22efc3:_0x4ce14b)['range'](_0x3da1d1['from'],_0x3da1d1['to'])),!0x0);}['map'](_0x12cd9f){let _0x45b91c=[];for(let _0x2e2620 of this['ranges']){let _0xd65751=_0x2e2620['map'](_0x12cd9f);if(!_0xd65751)return null;_0x45b91c['push'](_0xd65751);}return new ActiveSnippet(_0x45b91c,this['active']);}['selectionInsideField'](_0x5600f8){return _0x5600f8['ranges']['every'](_0x1b476a=>this['ranges']['some'](_0x59e529=>_0x59e529['field']==this['active']&&_0x59e529['from']<=_0x1b476a['from']&&_0x59e529['to']>=_0x1b476a['to']));}}const setActive=StateEffect['define']({'map':(_0x25060e,_0x8702d6)=>_0x25060e&&_0x25060e['map'](_0x8702d6)}),_0x3dc16e=StateEffect['define'](),snippetState=StateField['define']({'create':()=>null,'update'(_0x3cdc03,_0x48cec2){for(let _0x263dce of _0x48cec2['effects']){if(_0x263dce['is'](setActive))return _0x263dce['value'];if(_0x263dce['is'](_0x3dc16e)&&_0x3cdc03)return new ActiveSnippet(_0x3cdc03['ranges'],_0x263dce['value']);}return _0x3cdc03&&_0x48cec2['docChanged']&&(_0x3cdc03=_0x3cdc03['map'](_0x48cec2['changes'])),_0x3cdc03&&_0x48cec2['selection']&&!_0x3cdc03['selectionInsideField'](_0x48cec2['selection'])&&(_0x3cdc03=null),_0x3cdc03;},'provide':_0x25c5af=>EditorView['decorations']['from'](_0x25c5af,_0x57a7a2=>_0x57a7a2?_0x57a7a2['deco']:Decoration['none'])});function fieldSelection(_0x5c9e8c,_0x1d21cc){return EditorSelection['create'](_0x5c9e8c['filter'](_0x95fd9c=>_0x95fd9c['field']==_0x1d21cc)['map'](_0x1b845c=>EditorSelection['range'](_0x1b845c['from'],_0x1b845c['to'])));}function snippet(_0x333dc3){let _0x54562e=Snippet['parse'](_0x333dc3);return(_0xa1ba83,_0x2f4f3e,_0x535be0,_0x18013e)=>{let {text:_0x2cf70e,ranges:_0x492d72}=_0x54562e['instantiate'](_0xa1ba83['state'],_0x535be0),{main:_0x4c5848}=_0xa1ba83['state']['selection'],_0x109a1f={'changes':{'from':_0x535be0,'to':_0x18013e==_0x4c5848['from']?_0x4c5848['to']:_0x18013e,'insert':Text['of'](_0x2cf70e)},'scrollIntoView':!0x0,'annotations':_0x2f4f3e?[pickedCompletion['of'](_0x2f4f3e),Transaction['userEvent']['of']('input.complete')]:void 0x0};if(_0x492d72['length']&&(_0x109a1f['selection']=fieldSelection(_0x492d72,0x0)),_0x492d72['some'](_0x53e435=>_0x53e435['field']>0x0)){let _0x5574f4=new ActiveSnippet(_0x492d72,0x0),_0x107980=_0x109a1f['effects']=[setActive['of'](_0x5574f4)];void 0x0===_0xa1ba83['state']['field'](snippetState,!0x1)&&_0x107980['push'](StateEffect['appendConfig']['of']([snippetState,addSnippetKeymap,snippetPointerHandler,_0x1970d0]));}_0xa1ba83['dispatch'](_0xa1ba83['state']['update'](_0x109a1f));};}function _0x3d1f33(_0x2d94e9){return({state:_0x2d0e68,dispatch:_0x54a385})=>{let _0x42c016=_0x2d0e68['field'](snippetState,!0x1);if(!_0x42c016||_0x2d94e9<0x0&&0x0==_0x42c016['active'])return!0x1;let _0x320c79=_0x42c016['active']+_0x2d94e9,_0x2d9abd=_0x2d94e9>0x0&&!_0x42c016['ranges']['some'](_0x5e875f=>_0x5e875f['field']==_0x320c79+_0x2d94e9);return _0x54a385(_0x2d0e68['update']({'selection':fieldSelection(_0x42c016['ranges'],_0x320c79),'effects':setActive['of'](_0x2d9abd?null:new ActiveSnippet(_0x42c016['ranges'],_0x320c79)),'scrollIntoView':!0x0})),!0x0;};}const clearSnippet=({state:_0xbc29bf,dispatch:_0x3f1fc8})=>!!_0xbc29bf['field'](snippetState,!0x1)&&(_0x3f1fc8(_0xbc29bf['update']({'effects':setActive['of'](null)})),!0x0),nextSnippetField=_0x3d1f33(0x1),prevSnippetField=_0x3d1f33(-0x1),defaultSnippetKeymap=[{'key':'Tab','run':nextSnippetField,'shift':prevSnippetField},{'key':'Escape','run':clearSnippet}],snippetKeymap=Facet['define']({'combine':_0x3b6507=>_0x3b6507['length']?_0x3b6507[0x0]:defaultSnippetKeymap}),addSnippetKeymap=_0x330a03['highest'](_0x2e8851['compute']([snippetKeymap],_0x278e82=>_0x278e82['facet'](snippetKeymap)));function snippetCompletion(_0x4e4743,_0x270eb5){return{..._0x270eb5,'apply':snippet(_0x4e4743)};}const snippetPointerHandler=EditorView['domEventHandlers']({'mousedown'(_0x10f22e,_0x15710b){let _0x11c648,_0x23a5c7=_0x15710b['state']['field'](snippetState,!0x1);if(!_0x23a5c7||null==(_0x11c648=_0x15710b['posAtCoords']({'x':_0x10f22e['clientX'],'y':_0x10f22e['clientY']})))return!0x1;let _0x170094=_0x23a5c7['ranges']['find'](_0x17749d=>_0x17749d['from']<=_0x11c648&&_0x17749d['to']>=_0x11c648);return!(!_0x170094||_0x170094['field']==_0x23a5c7['active'])&&(_0x15710b['dispatch']({'selection':fieldSelection(_0x23a5c7['ranges'],_0x170094['field']),'effects':setActive['of'](_0x23a5c7['ranges']['some'](_0x3b1f42=>_0x3b1f42['field']>_0x170094['field'])?new ActiveSnippet(_0x23a5c7['ranges'],_0x170094['field']):null),'scrollIntoView':!0x0}),!0x0);}}),defaults={'brackets':['(','[','{','\x27','\x22'],'before':')]}:;>','stringPrefixes':[]},closeBracketEffect=StateEffect['define']({'map'(_0x5e80f1,_0x1296bb){let _0x33c77d=_0x1296bb['mapPos'](_0x5e80f1,-0x1,_0x38e9e1['TrackAfter']);return null==_0x33c77d?void 0x0:_0x33c77d;}}),closedBracket=new class extends _0x4dfe15{}();closedBracket['startSide']=0x1,closedBracket['endSide']=-0x1;const bracketState=StateField['define']({'create':()=>RangeSet['empty'],'update'(_0x6d4ab3,_0x521a78){if(_0x6d4ab3=_0x6d4ab3['map'](_0x521a78['changes']),_0x521a78['selection']){let _0x42fb2f=_0x521a78['state']['doc']['lineAt'](_0x521a78['selection']['main']['head']);_0x6d4ab3=_0x6d4ab3['update']({'filter':_0x1f3be7=>_0x1f3be7>=_0x42fb2f['from']&&_0x1f3be7<=_0x42fb2f['to']});}for(let _0x364513 of _0x521a78['effects'])_0x364513['is'](closeBracketEffect)&&(_0x6d4ab3=_0x6d4ab3['update']({'add':[closedBracket['range'](_0x364513['value'],_0x364513['value']+0x1)]}));return _0x6d4ab3;}});function closeBrackets(){return[inputHandler,bracketState];}const _0x3cf8bd='()[]{}<>«»»«［］｛｝';function _0x1622d1(_0x587ef7){for(let _0xc5fbec=0x0;_0xc5fbec<_0x3cf8bd['length'];_0xc5fbec+=0x2)if(_0x3cf8bd['charCodeAt'](_0xc5fbec)==_0x587ef7)return _0x3cf8bd['charAt'](_0xc5fbec+0x1);return fromCodePoint(_0x587ef7<0x80?_0x587ef7:_0x587ef7+0x1);}function _0x5582e1(_0x457fec,_0x11303d){return _0x457fec['languageDataAt']('closeBrackets',_0x11303d)[0x0]||defaults;}const _0x5aa9c2='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),inputHandler=EditorView['inputHandler']['of']((_0x3d760f,_0x377816,_0x436554,_0x581f30)=>{if((_0x5aa9c2?_0x3d760f['composing']:_0x3d760f['compositionStarted'])||_0x3d760f['state']['readOnly'])return!0x1;let _0x3a51ee=_0x3d760f['state']['selection']['main'];if(_0x581f30['length']>0x2||0x2==_0x581f30['length']&&0x1==codePointSize(codePointAt(_0x581f30,0x0))||_0x377816!=_0x3a51ee['from']||_0x436554!=_0x3a51ee['to'])return!0x1;let _0x2f31bd=insertBracket(_0x3d760f['state'],_0x581f30);return!!_0x2f31bd&&(_0x3d760f['dispatch'](_0x2f31bd),!0x0);}),deleteBracketPair=({state:_0x1d4b81,dispatch:_0x2fb6a8})=>{if(_0x1d4b81['readOnly'])return!0x1;let _0x347bf8=_0x5582e1(_0x1d4b81,_0x1d4b81['selection']['main']['head'])['brackets']||defaults['brackets'],_0x2ae9a6=null,_0x2bc520=_0x1d4b81['changeByRange'](_0x1cf1a2=>{if(_0x1cf1a2['empty']){let _0x569d67=_0x1c1164(_0x1d4b81['doc'],_0x1cf1a2['head']);for(let _0x15e679 of _0x347bf8)if(_0x15e679==_0x569d67&&nextChar(_0x1d4b81['doc'],_0x1cf1a2['head'])==_0x1622d1(codePointAt(_0x15e679,0x0)))return{'changes':{'from':_0x1cf1a2['head']-_0x15e679['length'],'to':_0x1cf1a2['head']+_0x15e679['length']},'range':EditorSelection['cursor'](_0x1cf1a2['head']-_0x15e679['length'])};}return{'range':_0x2ae9a6=_0x1cf1a2};});return _0x2ae9a6||_0x2fb6a8(_0x1d4b81['update'](_0x2bc520,{'scrollIntoView':!0x0,'userEvent':'delete.backward'})),!_0x2ae9a6;},closeBracketsKeymap=[{'key':'Backspace','run':deleteBracketPair}];function insertBracket(_0x13ca5,_0x16d6c6){let _0x32439b=_0x5582e1(_0x13ca5,_0x13ca5['selection']['main']['head']),_0x1aac8d=_0x32439b['brackets']||defaults['brackets'];for(let _0x59f478 of _0x1aac8d){let _0x171cd6=_0x1622d1(codePointAt(_0x59f478,0x0));if(_0x16d6c6==_0x59f478)return _0x171cd6==_0x59f478?_0x2530d9(_0x13ca5,_0x59f478,_0x1aac8d['indexOf'](_0x59f478+_0x59f478+_0x59f478)>-0x1,_0x32439b):_0xe0ae71(_0x13ca5,_0x59f478,_0x171cd6,_0x32439b['before']||defaults['before']);if(_0x16d6c6==_0x171cd6&&closedBracketAt(_0x13ca5,_0x13ca5['selection']['main']['from']))return _0x5b28ac(_0x13ca5,_0x59f478,_0x171cd6);}return null;}function closedBracketAt(_0x2d551c,_0x5f2d29){let _0x544ab2=!0x1;return _0x2d551c['field'](bracketState)['between'](0x0,_0x2d551c['doc']['length'],_0x24a522=>{_0x24a522==_0x5f2d29&&(_0x544ab2=!0x0);}),_0x544ab2;}function nextChar(_0x1a48fe,_0x4e2781){let _0x571efe=_0x1a48fe['sliceString'](_0x4e2781,_0x4e2781+0x2);return _0x571efe['slice'](0x0,codePointSize(codePointAt(_0x571efe,0x0)));}function _0x1c1164(_0x49fb6d,_0x1a1fac){let _0xbf2c71=_0x49fb6d['sliceString'](_0x1a1fac-0x2,_0x1a1fac);return codePointSize(codePointAt(_0xbf2c71,0x0))==_0xbf2c71['length']?_0xbf2c71:_0xbf2c71['slice'](0x1);}function _0xe0ae71(_0x425fa7,_0x3746b6,_0x50e4c3,_0x29f4ca){let _0x8e1ea6=null,_0x1d7a51=_0x425fa7['changeByRange'](_0x28aec3=>{if(!_0x28aec3['empty'])return{'changes':[{'insert':_0x3746b6,'from':_0x28aec3['from']},{'insert':_0x50e4c3,'from':_0x28aec3['to']}],'effects':closeBracketEffect['of'](_0x28aec3['to']+_0x3746b6['length']),'range':EditorSelection['range'](_0x28aec3['anchor']+_0x3746b6['length'],_0x28aec3['head']+_0x3746b6['length'])};let _0x2eefe3=nextChar(_0x425fa7['doc'],_0x28aec3['head']);return!_0x2eefe3||/\s/['test'](_0x2eefe3)||_0x29f4ca['indexOf'](_0x2eefe3)>-0x1?{'changes':{'insert':_0x3746b6+_0x50e4c3,'from':_0x28aec3['head']},'effects':closeBracketEffect['of'](_0x28aec3['head']+_0x3746b6['length']),'range':EditorSelection['cursor'](_0x28aec3['head']+_0x3746b6['length'])}:{'range':_0x8e1ea6=_0x28aec3};});return _0x8e1ea6?null:_0x425fa7['update'](_0x1d7a51,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function _0x5b28ac(_0x1b2c99,_0x3cc044,_0x5a6ec8){let _0x2df365=null,_0x3743ef=_0x1b2c99['changeByRange'](_0x18b6a5=>_0x18b6a5['empty']&&nextChar(_0x1b2c99['doc'],_0x18b6a5['head'])==_0x5a6ec8?{'changes':{'from':_0x18b6a5['head'],'to':_0x18b6a5['head']+_0x5a6ec8['length'],'insert':_0x5a6ec8},'range':EditorSelection['cursor'](_0x18b6a5['head']+_0x5a6ec8['length'])}:_0x2df365={'range':_0x18b6a5});return _0x2df365?null:_0x1b2c99['update'](_0x3743ef,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function _0x2530d9(_0x3bf7ed,_0xdca02a,_0x262a00,_0x542e60){let _0x2e796e=_0x542e60['stringPrefixes']||defaults['stringPrefixes'],_0x4db107=null,_0x6d0b49=_0x3bf7ed['changeByRange'](_0x200af7=>{if(!_0x200af7['empty'])return{'changes':[{'insert':_0xdca02a,'from':_0x200af7['from']},{'insert':_0xdca02a,'from':_0x200af7['to']}],'effects':closeBracketEffect['of'](_0x200af7['to']+_0xdca02a['length']),'range':EditorSelection['range'](_0x200af7['anchor']+_0xdca02a['length'],_0x200af7['head']+_0xdca02a['length'])};let _0xfb669f,_0x3f2df3=_0x200af7['head'],_0x56abf0=nextChar(_0x3bf7ed['doc'],_0x3f2df3);if(_0x56abf0==_0xdca02a){if(nodeStart(_0x3bf7ed,_0x3f2df3))return{'changes':{'insert':_0xdca02a+_0xdca02a,'from':_0x3f2df3},'effects':closeBracketEffect['of'](_0x3f2df3+_0xdca02a['length']),'range':EditorSelection['cursor'](_0x3f2df3+_0xdca02a['length'])};if(closedBracketAt(_0x3bf7ed,_0x3f2df3)){let _0xc5942=_0x262a00&&_0x3bf7ed['sliceDoc'](_0x3f2df3,_0x3f2df3+0x3*_0xdca02a['length'])==_0xdca02a+_0xdca02a+_0xdca02a?_0xdca02a+_0xdca02a+_0xdca02a:_0xdca02a;return{'changes':{'from':_0x3f2df3,'to':_0x3f2df3+_0xc5942['length'],'insert':_0xc5942},'range':EditorSelection['cursor'](_0x3f2df3+_0xc5942['length'])};}}else{if(_0x262a00&&_0x3bf7ed['sliceDoc'](_0x3f2df3-0x2*_0xdca02a['length'],_0x3f2df3)==_0xdca02a+_0xdca02a&&(_0xfb669f=canStartStringAt(_0x3bf7ed,_0x3f2df3-0x2*_0xdca02a['length'],_0x2e796e))>-0x1&&nodeStart(_0x3bf7ed,_0xfb669f))return{'changes':{'insert':_0xdca02a+_0xdca02a+_0xdca02a+_0xdca02a,'from':_0x3f2df3},'effects':closeBracketEffect['of'](_0x3f2df3+_0xdca02a['length']),'range':EditorSelection['cursor'](_0x3f2df3+_0xdca02a['length'])};if(_0x3bf7ed['charCategorizer'](_0x3f2df3)(_0x56abf0)!=CharCategory['Word']&&canStartStringAt(_0x3bf7ed,_0x3f2df3,_0x2e796e)>-0x1&&!probablyInString(_0x3bf7ed,_0x3f2df3,_0xdca02a,_0x2e796e))return{'changes':{'insert':_0xdca02a+_0xdca02a,'from':_0x3f2df3},'effects':closeBracketEffect['of'](_0x3f2df3+_0xdca02a['length']),'range':EditorSelection['cursor'](_0x3f2df3+_0xdca02a['length'])};}return{'range':_0x4db107=_0x200af7};});return _0x4db107?null:_0x3bf7ed['update'](_0x6d0b49,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function nodeStart(_0x595dc4,_0x3ce35e){let _0x56dc93=syntaxTree(_0x595dc4)['resolveInner'](_0x3ce35e+0x1);return _0x56dc93['parent']&&_0x56dc93['from']==_0x3ce35e;}function probablyInString(_0x1cccc4,_0x5da371,_0x5c44c9,_0x107487){let _0x2eecc8=syntaxTree(_0x1cccc4)['resolveInner'](_0x5da371,-0x1),_0x496876=_0x107487['reduce']((_0x1e1b0a,_0x22ebcc)=>Math['max'](_0x1e1b0a,_0x22ebcc['length']),0x0);for(let _0x5b8dbc=0x0;_0x5b8dbc<0x5;_0x5b8dbc++){let _0x500218=_0x1cccc4['sliceDoc'](_0x2eecc8['from'],Math['min'](_0x2eecc8['to'],_0x2eecc8['from']+_0x5c44c9['length']+_0x496876)),_0x19f427=_0x500218['indexOf'](_0x5c44c9);if(!_0x19f427||_0x19f427>-0x1&&_0x107487['indexOf'](_0x500218['slice'](0x0,_0x19f427))>-0x1){let _0x578fc=_0x2eecc8['firstChild'];for(;_0x578fc&&_0x578fc['from']==_0x2eecc8['from']&&_0x578fc['to']-_0x578fc['from']>_0x5c44c9['length']+_0x19f427;){if(_0x1cccc4['sliceDoc'](_0x578fc['to']-_0x5c44c9['length'],_0x578fc['to'])==_0x5c44c9)return!0x1;_0x578fc=_0x578fc['firstChild'];}return!0x0;}let _0x879d6f=_0x2eecc8['to']==_0x5da371&&_0x2eecc8['parent'];if(!_0x879d6f)break;_0x2eecc8=_0x879d6f;}return!0x1;}function canStartStringAt(_0x1e01e9,_0x513f6a,_0x4561d5){let _0x3994a2=_0x1e01e9['charCategorizer'](_0x513f6a);if(_0x3994a2(_0x1e01e9['sliceDoc'](_0x513f6a-0x1,_0x513f6a))!=CharCategory['Word'])return _0x513f6a;for(let _0x3f6e63 of _0x4561d5){let _0x205839=_0x513f6a-_0x3f6e63['length'];if(_0x1e01e9['sliceDoc'](_0x205839,_0x513f6a)==_0x3f6e63&&_0x3994a2(_0x1e01e9['sliceDoc'](_0x205839-0x1,_0x205839))!=CharCategory['Word'])return _0x205839;}return-0x1;}function autocompletion(_0x172e0f={}){return[commitCharacters,completionState,completionConfig['of'](_0x172e0f),completionPlugin,completionKeymapExt,_0x1970d0];}const completionKeymap=[{'key':'Ctrl-Space','run':startCompletion},{'mac':'Alt-`','run':startCompletion},{'mac':'Alt-i','run':startCompletion},{'key':'Escape','run':closeCompletion},{'key':'ArrowDown','run':moveCompletionSelection(!0x0)},{'key':'ArrowUp','run':moveCompletionSelection(!0x1)},{'key':'PageDown','run':moveCompletionSelection(!0x0,'page')},{'key':'PageUp','run':moveCompletionSelection(!0x1,'page')},{'key':'Enter','run':acceptCompletion}],completionKeymapExt=_0x330a03['highest'](_0x2e8851['computeN']([completionConfig],_0x2d00fd=>_0x2d00fd['facet'](completionConfig)['defaultKeymap']?[completionKeymap]:[]));class Stack{constructor(_0x450a75,_0x529243,_0xe41b15,_0x273616,_0x4b8f9c,_0x18d3b6,_0x51da6b,_0xa210d0,_0x181386,_0x59b893=0x0,_0x474814){this['p']=_0x450a75,this['stack']=_0x529243,this['state']=_0xe41b15,this['reducePos']=_0x273616,this['pos']=_0x4b8f9c,this['score']=_0x18d3b6,this['buffer']=_0x51da6b,this['bufferBase']=_0xa210d0,this['curContext']=_0x181386,this['lookAhead']=_0x59b893,this['parent']=_0x474814;}['toString'](){return'['+this['stack']['filter']((_0x36c7d4,_0x32144b)=>_0x32144b%0x3==0x0)['concat'](this['state'])+']@'+this['pos']+(this['score']?'!'+this['score']:'');}static['start'](_0x1a3547,_0x9a7182,_0x40dfe2=0x0){let _0x5a1352=_0x1a3547['parser']['context'];return new Stack(_0x1a3547,[],_0x9a7182,_0x40dfe2,_0x40dfe2,0x0,[],0x0,_0x5a1352?new StackContext(_0x5a1352,_0x5a1352['start']):null,0x0,null);}get['context'](){return this['curContext']?this['curContext']['context']:null;}['pushState'](_0x1b8a62,_0x26e12d){this['stack']['push'](this['state'],_0x26e12d,this['bufferBase']+this['buffer']['length']),this['state']=_0x1b8a62;}['reduce'](_0x4e25ee){var _0x613508;let _0x30764d=_0x4e25ee>>0x13,_0x408c3e=0xffff&_0x4e25ee,{parser:_0x36896f}=this['p'],_0x27f901=this['reducePos']<this['pos']-0x19;_0x27f901&&this['setLookAhead'](this['pos']);let _0x49049c=_0x36896f['dynamicPrecedence'](_0x408c3e);if(_0x49049c&&(this['score']+=_0x49049c),0x0==_0x30764d)return this['pushState'](_0x36896f['getGoto'](this['state'],_0x408c3e,!0x0),this['reducePos']),_0x408c3e<_0x36896f['minRepeatTerm']&&this['storeNode'](_0x408c3e,this['reducePos'],this['reducePos'],_0x27f901?0x8:0x4,!0x0),void this['reduceContext'](_0x408c3e,this['reducePos']);let _0x341c3e=this['stack']['length']-0x3*(_0x30764d-0x1)-(0x40000&_0x4e25ee?0x6:0x0),_0x3cad45=_0x341c3e?this['stack'][_0x341c3e-0x2]:this['p']['ranges'][0x0]['from'],_0x205e76=this['reducePos']-_0x3cad45;_0x205e76>=0x7d0&&!(null===(_0x613508=this['p']['parser']['nodeSet']['types'][_0x408c3e])||void 0x0===_0x613508?void 0x0:_0x613508['isAnonymous'])&&(_0x3cad45==this['p']['lastBigReductionStart']?(this['p']['bigReductionCount']++,this['p']['lastBigReductionSize']=_0x205e76):this['p']['lastBigReductionSize']<_0x205e76&&(this['p']['bigReductionCount']=0x1,this['p']['lastBigReductionStart']=_0x3cad45,this['p']['lastBigReductionSize']=_0x205e76));let _0x10178e=_0x341c3e?this['stack'][_0x341c3e-0x1]:0x0,_0x210650=this['bufferBase']+this['buffer']['length']-_0x10178e;if(_0x408c3e<_0x36896f['minRepeatTerm']||0x20000&_0x4e25ee){let _0x411abf=_0x36896f['stateFlag'](this['state'],0x1)?this['pos']:this['reducePos'];this['storeNode'](_0x408c3e,_0x3cad45,_0x411abf,_0x210650+0x4,!0x0);}if(0x40000&_0x4e25ee)this['state']=this['stack'][_0x341c3e];else{let _0x21daa6=this['stack'][_0x341c3e-0x3];this['state']=_0x36896f['getGoto'](_0x21daa6,_0x408c3e,!0x0);}for(;this['stack']['length']>_0x341c3e;)this['stack']['pop']();this['reduceContext'](_0x408c3e,_0x3cad45);}['storeNode'](_0x1f1054,_0x4ec021,_0x91a167,_0x3baf8b=0x4,_0x3bff40=!0x1){if(0x0==_0x1f1054&&(!this['stack']['length']||this['stack'][this['stack']['length']-0x1]<this['buffer']['length']+this['bufferBase'])){let _0x16caa1=this,_0x5515f0=this['buffer']['length'];if(0x0==_0x5515f0&&_0x16caa1['parent']&&(_0x5515f0=_0x16caa1['bufferBase']-_0x16caa1['parent']['bufferBase'],_0x16caa1=_0x16caa1['parent']),_0x5515f0>0x0&&0x0==_0x16caa1['buffer'][_0x5515f0-0x4]&&_0x16caa1['buffer'][_0x5515f0-0x1]>-0x1){if(_0x4ec021==_0x91a167)return;if(_0x16caa1['buffer'][_0x5515f0-0x2]>=_0x4ec021)return void(_0x16caa1['buffer'][_0x5515f0-0x2]=_0x91a167);}}if(_0x3bff40&&this['pos']!=_0x91a167){let _0x155ad9=this['buffer']['length'];if(_0x155ad9>0x0&&(0x0!=this['buffer'][_0x155ad9-0x4]||this['buffer'][_0x155ad9-0x1]<0x0)){let _0x483a91=!0x1;for(let _0x343ae0=_0x155ad9;_0x343ae0>0x0&&this['buffer'][_0x343ae0-0x2]>_0x91a167;_0x343ae0-=0x4)if(this['buffer'][_0x343ae0-0x1]>=0x0){_0x483a91=!0x0;break;}if(_0x483a91){for(;_0x155ad9>0x0&&this['buffer'][_0x155ad9-0x2]>_0x91a167;)this['buffer'][_0x155ad9]=this['buffer'][_0x155ad9-0x4],this['buffer'][_0x155ad9+0x1]=this['buffer'][_0x155ad9-0x3],this['buffer'][_0x155ad9+0x2]=this['buffer'][_0x155ad9-0x2],this['buffer'][_0x155ad9+0x3]=this['buffer'][_0x155ad9-0x1],_0x155ad9-=0x4,_0x3baf8b>0x4&&(_0x3baf8b-=0x4);}}this['buffer'][_0x155ad9]=_0x1f1054,this['buffer'][_0x155ad9+0x1]=_0x4ec021,this['buffer'][_0x155ad9+0x2]=_0x91a167,this['buffer'][_0x155ad9+0x3]=_0x3baf8b;}else this['buffer']['push'](_0x1f1054,_0x4ec021,_0x91a167,_0x3baf8b);}['shift'](_0x59de2a,_0x37e0a7,_0x266a63,_0x5bfaf9){if(0x20000&_0x59de2a)this['pushState'](0xffff&_0x59de2a,this['pos']);else{if(0x40000&_0x59de2a)this['pos']=_0x5bfaf9,this['shiftContext'](_0x37e0a7,_0x266a63),_0x37e0a7<=this['p']['parser']['maxNode']&&this['buffer']['push'](_0x37e0a7,_0x266a63,_0x5bfaf9,0x4);else{let _0x5a261d=_0x59de2a,{parser:_0x5e851d}=this['p'];(_0x5bfaf9>this['pos']||_0x37e0a7<=_0x5e851d['maxNode'])&&(this['pos']=_0x5bfaf9,_0x5e851d['stateFlag'](_0x5a261d,0x1)||(this['reducePos']=_0x5bfaf9)),this['pushState'](_0x5a261d,_0x266a63),this['shiftContext'](_0x37e0a7,_0x266a63),_0x37e0a7<=_0x5e851d['maxNode']&&this['buffer']['push'](_0x37e0a7,_0x266a63,_0x5bfaf9,0x4);}}}['apply'](_0x46798d,_0x170789,_0x1fcb8c,_0x19e89f){0x10000&_0x46798d?this['reduce'](_0x46798d):this['shift'](_0x46798d,_0x170789,_0x1fcb8c,_0x19e89f);}['useNode'](_0xa3b5be,_0x4599f0){let _0x1734b5=this['p']['reused']['length']-0x1;(_0x1734b5<0x0||this['p']['reused'][_0x1734b5]!=_0xa3b5be)&&(this['p']['reused']['push'](_0xa3b5be),_0x1734b5++);let _0x3eb2b9=this['pos'];this['reducePos']=this['pos']=_0x3eb2b9+_0xa3b5be['length'],this['pushState'](_0x4599f0,_0x3eb2b9),this['buffer']['push'](_0x1734b5,_0x3eb2b9,this['reducePos'],-0x1),this['curContext']&&this['updateContext'](this['curContext']['tracker']['reuse'](this['curContext']['context'],_0xa3b5be,this,this['p']['stream']['reset'](this['pos']-_0xa3b5be['length'])));}['split'](){let _0x37807e=this,_0x1bfc1c=_0x37807e['buffer']['length'];for(;_0x1bfc1c>0x0&&_0x37807e['buffer'][_0x1bfc1c-0x2]>_0x37807e['reducePos'];)_0x1bfc1c-=0x4;let _0x35ee0f=_0x37807e['buffer']['slice'](_0x1bfc1c),_0x4ab9fd=_0x37807e['bufferBase']+_0x1bfc1c;for(;_0x37807e&&_0x4ab9fd==_0x37807e['bufferBase'];)_0x37807e=_0x37807e['parent'];return new Stack(this['p'],this['stack']['slice'](),this['state'],this['reducePos'],this['pos'],this['score'],_0x35ee0f,_0x4ab9fd,this['curContext'],this['lookAhead'],_0x37807e);}['recoverByDelete'](_0x5d07e4,_0x23f592){let _0x498c43=_0x5d07e4<=this['p']['parser']['maxNode'];_0x498c43&&this['storeNode'](_0x5d07e4,this['pos'],_0x23f592,0x4),this['storeNode'](0x0,this['pos'],_0x23f592,_0x498c43?0x8:0x4),this['pos']=this['reducePos']=_0x23f592,this['score']-=0xbe;}['canShift'](_0x394611){for(let _0x2beae9=new SimulatedStack(this);;){let _0x436333=this['p']['parser']['stateSlot'](_0x2beae9['state'],0x4)||this['p']['parser']['hasAction'](_0x2beae9['state'],_0x394611);if(0x0==_0x436333)return!0x1;if(!(0x10000&_0x436333))return!0x0;_0x2beae9['reduce'](_0x436333);}}['recoverByInsert'](_0x47e44d){if(this['stack']['length']>=0x12c)return[];let _0x2dd328=this['p']['parser']['nextStates'](this['state']);if(_0x2dd328['length']>0x8||this['stack']['length']>=0x78){let _0x5d334a=[];for(let _0x3b85a3,_0x4a5875=0x0;_0x4a5875<_0x2dd328['length'];_0x4a5875+=0x2)(_0x3b85a3=_0x2dd328[_0x4a5875+0x1])!=this['state']&&this['p']['parser']['hasAction'](_0x3b85a3,_0x47e44d)&&_0x5d334a['push'](_0x2dd328[_0x4a5875],_0x3b85a3);if(this['stack']['length']<0x78)for(let _0x5af9c7=0x0;_0x5d334a['length']<0x8&&_0x5af9c7<_0x2dd328['length'];_0x5af9c7+=0x2){let _0x329354=_0x2dd328[_0x5af9c7+0x1];_0x5d334a['some']((_0x9162a4,_0x403064)=>0x1&_0x403064&&_0x9162a4==_0x329354)||_0x5d334a['push'](_0x2dd328[_0x5af9c7],_0x329354);}_0x2dd328=_0x5d334a;}let _0x331fca=[];for(let _0x4fc2bc=0x0;_0x4fc2bc<_0x2dd328['length']&&_0x331fca['length']<0x4;_0x4fc2bc+=0x2){let _0x5ceb54=_0x2dd328[_0x4fc2bc+0x1];if(_0x5ceb54==this['state'])continue;let _0x4edcd6=this['split']();_0x4edcd6['pushState'](_0x5ceb54,this['pos']),_0x4edcd6['storeNode'](0x0,_0x4edcd6['pos'],_0x4edcd6['pos'],0x4,!0x0),_0x4edcd6['shiftContext'](_0x2dd328[_0x4fc2bc],this['pos']),_0x4edcd6['reducePos']=this['pos'],_0x4edcd6['score']-=0xc8,_0x331fca['push'](_0x4edcd6);}return _0x331fca;}['forceReduce'](){let {parser:_0x7b85a7}=this['p'],_0x298ecb=_0x7b85a7['stateSlot'](this['state'],0x5);if(!(0x10000&_0x298ecb))return!0x1;if(!_0x7b85a7['validAction'](this['state'],_0x298ecb)){let _0x330c40=_0x298ecb>>0x13,_0x3573df=0xffff&_0x298ecb,_0x53ce39=this['stack']['length']-0x3*_0x330c40;if(_0x53ce39<0x0||_0x7b85a7['getGoto'](this['stack'][_0x53ce39],_0x3573df,!0x1)<0x0){let _0x410e15=this['findForcedReduction']();if(null==_0x410e15)return!0x1;_0x298ecb=_0x410e15;}this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['score']-=0x64;}return this['reducePos']=this['pos'],this['reduce'](_0x298ecb),!0x0;}['findForcedReduction'](){let {parser:_0x4cc625}=this['p'],_0x7f459b=[],_0x33bee3=(_0x3131af,_0x31732b)=>{if(!_0x7f459b['includes'](_0x3131af))return _0x7f459b['push'](_0x3131af),_0x4cc625['allActions'](_0x3131af,_0x484ded=>{if(0x60000&_0x484ded);else{if(0x10000&_0x484ded){let _0x2915bb=(_0x484ded>>0x13)-_0x31732b;if(_0x2915bb>0x1){let _0x5bec0e=0xffff&_0x484ded,_0x5c6a38=this['stack']['length']-0x3*_0x2915bb;if(_0x5c6a38>=0x0&&_0x4cc625['getGoto'](this['stack'][_0x5c6a38],_0x5bec0e,!0x1)>=0x0)return _0x2915bb<<0x13|0x10000|_0x5bec0e;}}else{let _0x6e87f9=_0x33bee3(_0x484ded,_0x31732b+0x1);if(null!=_0x6e87f9)return _0x6e87f9;}}});};return _0x33bee3(this['state'],0x0);}['forceAll'](){for(;!this['p']['parser']['stateFlag'](this['state'],0x2);)if(!this['forceReduce']()){this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0);break;}return this;}get['deadEnd'](){if(0x3!=this['stack']['length'])return!0x1;let {parser:_0x48425a}=this['p'];return 0xffff==_0x48425a['data'][_0x48425a['stateSlot'](this['state'],0x1)]&&!_0x48425a['stateSlot'](this['state'],0x4);}['restart'](){this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['state']=this['stack'][0x0],this['stack']['length']=0x0;}['sameState'](_0x29faf2){if(this['state']!=_0x29faf2['state']||this['stack']['length']!=_0x29faf2['stack']['length'])return!0x1;for(let _0x3b32e1=0x0;_0x3b32e1<this['stack']['length'];_0x3b32e1+=0x3)if(this['stack'][_0x3b32e1]!=_0x29faf2['stack'][_0x3b32e1])return!0x1;return!0x0;}get['parser'](){return this['p']['parser'];}['dialectEnabled'](_0x4917b9){return this['p']['parser']['dialect']['flags'][_0x4917b9];}['shiftContext'](_0x452095,_0x3e2dd6){this['curContext']&&this['updateContext'](this['curContext']['tracker']['shift'](this['curContext']['context'],_0x452095,this,this['p']['stream']['reset'](_0x3e2dd6)));}['reduceContext'](_0x210f98,_0x2f471f){this['curContext']&&this['updateContext'](this['curContext']['tracker']['reduce'](this['curContext']['context'],_0x210f98,this,this['p']['stream']['reset'](_0x2f471f)));}['emitContext'](){let _0x57c46c=this['buffer']['length']-0x1;(_0x57c46c<0x0||-0x3!=this['buffer'][_0x57c46c])&&this['buffer']['push'](this['curContext']['hash'],this['pos'],this['pos'],-0x3);}['emitLookAhead'](){let _0x4ae171=this['buffer']['length']-0x1;(_0x4ae171<0x0||-0x4!=this['buffer'][_0x4ae171])&&this['buffer']['push'](this['lookAhead'],this['pos'],this['pos'],-0x4);}['updateContext'](_0xc5ed52){if(_0xc5ed52!=this['curContext']['context']){let _0xc3937b=new StackContext(this['curContext']['tracker'],_0xc5ed52);_0xc3937b['hash']!=this['curContext']['hash']&&this['emitContext'](),this['curContext']=_0xc3937b;}}['setLookAhead'](_0xa6eeb4){_0xa6eeb4>this['lookAhead']&&(this['emitLookAhead'](),this['lookAhead']=_0xa6eeb4);}['close'](){this['curContext']&&this['curContext']['tracker']['strict']&&this['emitContext'](),this['lookAhead']>0x0&&this['emitLookAhead']();}}class StackContext{constructor(_0x220138,_0x2012bd){this['tracker']=_0x220138,this['context']=_0x2012bd,this['hash']=_0x220138['strict']?_0x220138['hash'](_0x2012bd):0x0;}}class SimulatedStack{constructor(_0x1bcd26){this['start']=_0x1bcd26,this['state']=_0x1bcd26['state'],this['stack']=_0x1bcd26['stack'],this['base']=this['stack']['length'];}['reduce'](_0x28a928){let _0x2c3955=0xffff&_0x28a928,_0x3f283d=_0x28a928>>0x13;0x0==_0x3f283d?(this['stack']==this['start']['stack']&&(this['stack']=this['stack']['slice']()),this['stack']['push'](this['state'],0x0,0x0),this['base']+=0x3):this['base']-=0x3*(_0x3f283d-0x1);let _0x14cc02=this['start']['p']['parser']['getGoto'](this['stack'][this['base']-0x3],_0x2c3955,!0x0);this['state']=_0x14cc02;}}class StackBufferCursor{constructor(_0x10915a,_0x226c9d,_0x587f90){this['stack']=_0x10915a,this['pos']=_0x226c9d,this['index']=_0x587f90,this['buffer']=_0x10915a['buffer'],0x0==this['index']&&this['maybeNext']();}static['create'](_0x1c4976,_0x53c2c6=_0x1c4976['bufferBase']+_0x1c4976['buffer']['length']){return new StackBufferCursor(_0x1c4976,_0x53c2c6,_0x53c2c6-_0x1c4976['bufferBase']);}['maybeNext'](){let _0x233e37=this['stack']['parent'];null!=_0x233e37&&(this['index']=this['stack']['bufferBase']-_0x233e37['bufferBase'],this['stack']=_0x233e37,this['buffer']=_0x233e37['buffer']);}get['id'](){return this['buffer'][this['index']-0x4];}get['start'](){return this['buffer'][this['index']-0x3];}get['end'](){return this['buffer'][this['index']-0x2];}get['size'](){return this['buffer'][this['index']-0x1];}['next'](){this['index']-=0x4,this['pos']-=0x4,0x0==this['index']&&this['maybeNext']();}['fork'](){return new StackBufferCursor(this['stack'],this['pos'],this['index']);}}function _0x420f16(_0x2a222d,_0x2b2b97=Uint16Array){if('string'!=typeof _0x2a222d)return _0x2a222d;let _0x249862=null;for(let _0x3bd515=0x0,_0xa1a6cb=0x0;_0x3bd515<_0x2a222d['length'];){let _0x3069e6=0x0;for(;;){let _0x2ed9f2=_0x2a222d['charCodeAt'](_0x3bd515++),_0x366a56=!0x1;if(0x7e==_0x2ed9f2){_0x3069e6=0xffff;break;}_0x2ed9f2>=0x5c&&_0x2ed9f2--,_0x2ed9f2>=0x22&&_0x2ed9f2--;let _0x3707b9=_0x2ed9f2-0x20;if(_0x3707b9>=0x2e&&(_0x3707b9-=0x2e,_0x366a56=!0x0),_0x3069e6+=_0x3707b9,_0x366a56)break;_0x3069e6*=0x2e;}_0x249862?_0x249862[_0xa1a6cb++]=_0x3069e6:_0x249862=new _0x2b2b97(_0x3069e6);}return _0x249862;}class _0xcf1052{constructor(){this['start']=-0x1,this['value']=-0x1,this['end']=-0x1,this['extended']=-0x1,this['lookAhead']=0x0,this['mask']=0x0,this['context']=0x0;}}const _0x49e9a4=new _0xcf1052();class InputStream{constructor(_0xac62a5,_0x38017d){this['input']=_0xac62a5,this['ranges']=_0x38017d,this['chunk']='',this['chunkOff']=0x0,this['chunk2']='',this['chunk2Pos']=0x0,this['next']=-0x1,this['token']=_0x49e9a4,this['rangeIndex']=0x0,this['pos']=this['chunkPos']=_0x38017d[0x0]['from'],this['range']=_0x38017d[0x0],this['end']=_0x38017d[_0x38017d['length']-0x1]['to'],this['readNext']();}['resolveOffset'](_0x119a55,_0x282dea){let _0x4bc32f=this['range'],_0x79a48=this['rangeIndex'],_0x337814=this['pos']+_0x119a55;for(;_0x337814<_0x4bc32f['from'];){if(!_0x79a48)return null;let _0x531768=this['ranges'][--_0x79a48];_0x337814-=_0x4bc32f['from']-_0x531768['to'],_0x4bc32f=_0x531768;}for(;_0x282dea<0x0?_0x337814>_0x4bc32f['to']:_0x337814>=_0x4bc32f['to'];){if(_0x79a48==this['ranges']['length']-0x1)return null;let _0x1d9117=this['ranges'][++_0x79a48];_0x337814+=_0x1d9117['from']-_0x4bc32f['to'],_0x4bc32f=_0x1d9117;}return _0x337814;}['clipPos'](_0x31ae1d){if(_0x31ae1d>=this['range']['from']&&_0x31ae1d<this['range']['to'])return _0x31ae1d;for(let _0x521fef of this['ranges'])if(_0x521fef['to']>_0x31ae1d)return Math['max'](_0x31ae1d,_0x521fef['from']);return this['end'];}['peek'](_0x4ab016){let _0x39f007,_0x11ff9f,_0x3c2637=this['chunkOff']+_0x4ab016;if(_0x3c2637>=0x0&&_0x3c2637<this['chunk']['length'])_0x39f007=this['pos']+_0x4ab016,_0x11ff9f=this['chunk']['charCodeAt'](_0x3c2637);else{let _0x2fd3c9=this['resolveOffset'](_0x4ab016,0x1);if(null==_0x2fd3c9)return-0x1;if(_0x39f007=_0x2fd3c9,_0x39f007>=this['chunk2Pos']&&_0x39f007<this['chunk2Pos']+this['chunk2']['length'])_0x11ff9f=this['chunk2']['charCodeAt'](_0x39f007-this['chunk2Pos']);else{let _0x565647=this['rangeIndex'],_0x9e5dd=this['range'];for(;_0x9e5dd['to']<=_0x39f007;)_0x9e5dd=this['ranges'][++_0x565647];this['chunk2']=this['input']['chunk'](this['chunk2Pos']=_0x39f007),_0x39f007+this['chunk2']['length']>_0x9e5dd['to']&&(this['chunk2']=this['chunk2']['slice'](0x0,_0x9e5dd['to']-_0x39f007)),_0x11ff9f=this['chunk2']['charCodeAt'](0x0);}}return _0x39f007>=this['token']['lookAhead']&&(this['token']['lookAhead']=_0x39f007+0x1),_0x11ff9f;}['acceptToken'](_0xcad18,_0x481c74=0x0){let _0x21f75f=_0x481c74?this['resolveOffset'](_0x481c74,-0x1):this['pos'];if(null==_0x21f75f||_0x21f75f<this['token']['start'])throw new RangeError('Token\x20end\x20out\x20of\x20bounds');this['token']['value']=_0xcad18,this['token']['end']=_0x21f75f;}['acceptTokenTo'](_0x1ca5c1,_0x328242){this['token']['value']=_0x1ca5c1,this['token']['end']=_0x328242;}['getChunk'](){if(this['pos']>=this['chunk2Pos']&&this['pos']<this['chunk2Pos']+this['chunk2']['length']){let {chunk:_0x141add,chunkPos:_0x1d00b8}=this;this['chunk']=this['chunk2'],this['chunkPos']=this['chunk2Pos'],this['chunk2']=_0x141add,this['chunk2Pos']=_0x1d00b8,this['chunkOff']=this['pos']-this['chunkPos'];}else{this['chunk2']=this['chunk'],this['chunk2Pos']=this['chunkPos'];let _0x18d443=this['input']['chunk'](this['pos']),_0x4bc9b3=this['pos']+_0x18d443['length'];this['chunk']=_0x4bc9b3>this['range']['to']?_0x18d443['slice'](0x0,this['range']['to']-this['pos']):_0x18d443,this['chunkPos']=this['pos'],this['chunkOff']=0x0;}}['readNext'](){return this['chunkOff']>=this['chunk']['length']&&(this['getChunk'](),this['chunkOff']==this['chunk']['length'])?this['next']=-0x1:this['next']=this['chunk']['charCodeAt'](this['chunkOff']);}['advance'](_0x5e912c=0x1){for(this['chunkOff']+=_0x5e912c;this['pos']+_0x5e912c>=this['range']['to'];){if(this['rangeIndex']==this['ranges']['length']-0x1)return this['setDone']();_0x5e912c-=this['range']['to']-this['pos'],this['range']=this['ranges'][++this['rangeIndex']],this['pos']=this['range']['from'];}return this['pos']+=_0x5e912c,this['pos']>=this['token']['lookAhead']&&(this['token']['lookAhead']=this['pos']+0x1),this['readNext']();}['setDone'](){return this['pos']=this['chunkPos']=this['end'],this['range']=this['ranges'][this['rangeIndex']=this['ranges']['length']-0x1],this['chunk']='',this['next']=-0x1;}['reset'](_0xcb673d,_0x4183ef){if(_0x4183ef?(this['token']=_0x4183ef,_0x4183ef['start']=_0xcb673d,_0x4183ef['lookAhead']=_0xcb673d+0x1,_0x4183ef['value']=_0x4183ef['extended']=-0x1):this['token']=_0x49e9a4,this['pos']!=_0xcb673d){if(this['pos']=_0xcb673d,_0xcb673d==this['end'])return this['setDone'](),this;for(;_0xcb673d<this['range']['from'];)this['range']=this['ranges'][--this['rangeIndex']];for(;_0xcb673d>=this['range']['to'];)this['range']=this['ranges'][++this['rangeIndex']];_0xcb673d>=this['chunkPos']&&_0xcb673d<this['chunkPos']+this['chunk']['length']?this['chunkOff']=_0xcb673d-this['chunkPos']:(this['chunk']='',this['chunkOff']=0x0),this['readNext']();}return this;}['read'](_0x2abba5,_0x495cb4){if(_0x2abba5>=this['chunkPos']&&_0x495cb4<=this['chunkPos']+this['chunk']['length'])return this['chunk']['slice'](_0x2abba5-this['chunkPos'],_0x495cb4-this['chunkPos']);if(_0x2abba5>=this['chunk2Pos']&&_0x495cb4<=this['chunk2Pos']+this['chunk2']['length'])return this['chunk2']['slice'](_0x2abba5-this['chunk2Pos'],_0x495cb4-this['chunk2Pos']);if(_0x2abba5>=this['range']['from']&&_0x495cb4<=this['range']['to'])return this['input']['read'](_0x2abba5,_0x495cb4);let _0x480185='';for(let _0x3bbe9c of this['ranges']){if(_0x3bbe9c['from']>=_0x495cb4)break;_0x3bbe9c['to']>_0x2abba5&&(_0x480185+=this['input']['read'](Math['max'](_0x3bbe9c['from'],_0x2abba5),Math['min'](_0x3bbe9c['to'],_0x495cb4)));}return _0x480185;}}class _0x4e5dd7{constructor(_0x4ae145,_0x441c81){this['data']=_0x4ae145,this['id']=_0x441c81;}['token'](_0x54fea4,_0x3981e4){let {parser:_0x30ec68}=_0x3981e4['p'];_0x3634bb(this['data'],_0x54fea4,_0x3981e4,this['id'],_0x30ec68['data'],_0x30ec68['tokenPrecTable']);}}_0x4e5dd7['prototype']['contextual']=_0x4e5dd7['prototype']['fallback']=_0x4e5dd7['prototype']['extend']=!0x1;class _0x54c8d5{constructor(_0x2b0903,_0x44bd5d,_0x4c5ca5){this['precTable']=_0x44bd5d,this['elseToken']=_0x4c5ca5,this['data']='string'==typeof _0x2b0903?_0x420f16(_0x2b0903):_0x2b0903;}['token'](_0x21b3d8,_0x45aaf1){let _0x53c550=_0x21b3d8['pos'],_0x225569=0x0;for(;;){let _0x31b514=_0x21b3d8['next']<0x0,_0x316093=_0x21b3d8['resolveOffset'](0x1,0x1);if(_0x3634bb(this['data'],_0x21b3d8,_0x45aaf1,0x0,this['data'],this['precTable']),_0x21b3d8['token']['value']>-0x1)break;if(null==this['elseToken'])return;if(_0x31b514||_0x225569++,null==_0x316093)break;_0x21b3d8['reset'](_0x316093,_0x21b3d8['token']);}_0x225569&&(_0x21b3d8['reset'](_0x53c550,_0x21b3d8['token']),_0x21b3d8['acceptToken'](this['elseToken'],_0x225569));}}_0x54c8d5['prototype']['contextual']=_0x4e5dd7['prototype']['fallback']=_0x4e5dd7['prototype']['extend']=!0x1;class ExternalTokenizer{constructor(_0x11a8c9,_0x15da16={}){this['token']=_0x11a8c9,this['contextual']=!!_0x15da16['contextual'],this['fallback']=!!_0x15da16['fallback'],this['extend']=!!_0x15da16['extend'];}}function _0x3634bb(_0x30a52f,_0x385953,_0x51a390,_0x2d4ebe,_0x1f5c4d,_0x3b3f67){let _0x1c9805=0x0,_0x1e6111=0x1<<_0x2d4ebe,{dialect:_0x17a8bd}=_0x51a390['p']['parser'];t:for(;0x0!=(_0x1e6111&_0x30a52f[_0x1c9805]);){let _0x48a333=_0x30a52f[_0x1c9805+0x1];for(let _0x1729f5=_0x1c9805+0x3;_0x1729f5<_0x48a333;_0x1729f5+=0x2)if((_0x30a52f[_0x1729f5+0x1]&_0x1e6111)>0x0){let _0x1c33d1=_0x30a52f[_0x1729f5];if(_0x17a8bd['allows'](_0x1c33d1)&&(-0x1==_0x385953['token']['value']||_0x385953['token']['value']==_0x1c33d1||_0x455d21(_0x1c33d1,_0x385953['token']['value'],_0x1f5c4d,_0x3b3f67))){_0x385953['acceptToken'](_0x1c33d1);break;}}let _0x46c21e=_0x385953['next'],_0x3c933a=0x0,_0x10390f=_0x30a52f[_0x1c9805+0x2];if(!(_0x385953['next']<0x0&&_0x10390f>_0x3c933a&&0xffff==_0x30a52f[_0x48a333+0x3*_0x10390f-0x3])){for(;_0x3c933a<_0x10390f;){let _0x3c2cfb=_0x3c933a+_0x10390f>>0x1,_0x180c5b=_0x48a333+_0x3c2cfb+(_0x3c2cfb<<0x1),_0xe41487=_0x30a52f[_0x180c5b],_0x36712f=_0x30a52f[_0x180c5b+0x1]||0x10000;if(_0x46c21e<_0xe41487)_0x10390f=_0x3c2cfb;else{if(!(_0x46c21e>=_0x36712f)){_0x1c9805=_0x30a52f[_0x180c5b+0x2],_0x385953['advance']();continue t;}_0x3c933a=_0x3c2cfb+0x1;}}break;}_0x1c9805=_0x30a52f[_0x48a333+0x3*_0x10390f-0x1];}}function findOffset(_0x5a2883,_0x4b8524,_0x380d06){for(let _0x17cc3a,_0x5c6506=_0x4b8524;0xffff!=(_0x17cc3a=_0x5a2883[_0x5c6506]);_0x5c6506++)if(_0x17cc3a==_0x380d06)return _0x5c6506-_0x4b8524;return-0x1;}function _0x455d21(_0x51b48c,_0x2d326e,_0x4d9e2e,_0x1cd97d){let _0x3dc920=findOffset(_0x4d9e2e,_0x1cd97d,_0x2d326e);return _0x3dc920<0x0||findOffset(_0x4d9e2e,_0x1cd97d,_0x51b48c)<_0x3dc920;}const _0x5b89a1='undefined'!=typeof process&&process['env']&&/\bparse\b/['test'](process['env']['LOG']);let stackIDs=null;function cutAt(_0x49eea3,_0x12dab4,_0x3d2770){let _0x3cdb37=_0x49eea3['cursor'](IterMode['IncludeAnonymous']);for(_0x3cdb37['moveTo'](_0x12dab4);;)if(!(_0x3d2770<0x0?_0x3cdb37['childBefore'](_0x12dab4):_0x3cdb37['childAfter'](_0x12dab4)))for(;;){if((_0x3d2770<0x0?_0x3cdb37['to']<_0x12dab4:_0x3cdb37['from']>_0x12dab4)&&!_0x3cdb37['type']['isError'])return _0x3d2770<0x0?Math['max'](0x0,Math['min'](_0x3cdb37['to']-0x1,_0x12dab4-0x19)):Math['min'](_0x49eea3['length'],Math['max'](_0x3cdb37['from']+0x1,_0x12dab4+0x19));if(_0x3d2770<0x0?_0x3cdb37['prevSibling']():_0x3cdb37['nextSibling']())break;if(!_0x3cdb37['parent']())return _0x3d2770<0x0?0x0:_0x49eea3['length'];}}let FragmentCursor$1=class{constructor(_0x37cf64,_0x526505){this['fragments']=_0x37cf64,this['nodeSet']=_0x526505,this['i']=0x0,this['fragment']=null,this['safeFrom']=-0x1,this['safeTo']=-0x1,this['trees']=[],this['start']=[],this['index']=[],this['nextFragment']();}['nextFragment'](){let _0xb1b736=this['fragment']=this['i']==this['fragments']['length']?null:this['fragments'][this['i']++];if(_0xb1b736){for(this['safeFrom']=_0xb1b736['openStart']?cutAt(_0xb1b736['tree'],_0xb1b736['from']+_0xb1b736['offset'],0x1)-_0xb1b736['offset']:_0xb1b736['from'],this['safeTo']=_0xb1b736['openEnd']?cutAt(_0xb1b736['tree'],_0xb1b736['to']+_0xb1b736['offset'],-0x1)-_0xb1b736['offset']:_0xb1b736['to'];this['trees']['length'];)this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();this['trees']['push'](_0xb1b736['tree']),this['start']['push'](-_0xb1b736['offset']),this['index']['push'](0x0),this['nextStart']=this['safeFrom'];}else this['nextStart']=0x3b9aca00;}['nodeAt'](_0x4af8b3){if(_0x4af8b3<this['nextStart'])return null;for(;this['fragment']&&this['safeTo']<=_0x4af8b3;)this['nextFragment']();if(!this['fragment'])return null;for(;;){let _0x58a8fc=this['trees']['length']-0x1;if(_0x58a8fc<0x0)return this['nextFragment'](),null;let _0x4aa53a=this['trees'][_0x58a8fc],_0x4216fa=this['index'][_0x58a8fc];if(_0x4216fa==_0x4aa53a['children']['length']){this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();continue;}let _0x4eb3a3=_0x4aa53a['children'][_0x4216fa],_0x2fe060=this['start'][_0x58a8fc]+_0x4aa53a['positions'][_0x4216fa];if(_0x2fe060>_0x4af8b3)return this['nextStart']=_0x2fe060,null;if(_0x4eb3a3 instanceof _0x2a3dd6){if(_0x2fe060==_0x4af8b3){if(_0x2fe060<this['safeFrom'])return null;let _0x612ab2=_0x2fe060+_0x4eb3a3['length'];if(_0x612ab2<=this['safeTo']){let _0xa20b17=_0x4eb3a3['prop'](_0x258b5f['lookAhead']);if(!_0xa20b17||_0x612ab2+_0xa20b17<this['fragment']['to'])return _0x4eb3a3;}}this['index'][_0x58a8fc]++,_0x2fe060+_0x4eb3a3['length']>=Math['max'](this['safeFrom'],_0x4af8b3)&&(this['trees']['push'](_0x4eb3a3),this['start']['push'](_0x2fe060),this['index']['push'](0x0));}else this['index'][_0x58a8fc]++,this['nextStart']=_0x2fe060+_0x4eb3a3['length'];}}};class _0x1fb9b9{constructor(_0x1c3a1f,_0x51cc6f){this['stream']=_0x51cc6f,this['tokens']=[],this['mainToken']=null,this['actions']=[],this['tokens']=_0x1c3a1f['tokenizers']['map'](_0x1e03f3=>new _0xcf1052());}['getActions'](_0x456302){let _0x4315af=0x0,_0x21926f=null,{parser:_0x211966}=_0x456302['p'],{tokenizers:_0x3423a8}=_0x211966,_0x80b2c7=_0x211966['stateSlot'](_0x456302['state'],0x3),_0x565700=_0x456302['curContext']?_0x456302['curContext']['hash']:0x0,_0x55cfc9=0x0;for(let _0x2ed932=0x0;_0x2ed932<_0x3423a8['length'];_0x2ed932++){if(!(0x1<<_0x2ed932&_0x80b2c7))continue;let _0xf2ae76=_0x3423a8[_0x2ed932],_0x13057e=this['tokens'][_0x2ed932];if((!_0x21926f||_0xf2ae76['fallback'])&&((_0xf2ae76['contextual']||_0x13057e['start']!=_0x456302['pos']||_0x13057e['mask']!=_0x80b2c7||_0x13057e['context']!=_0x565700)&&(this['updateCachedToken'](_0x13057e,_0xf2ae76,_0x456302),_0x13057e['mask']=_0x80b2c7,_0x13057e['context']=_0x565700),_0x13057e['lookAhead']>_0x13057e['end']+0x19&&(_0x55cfc9=Math['max'](_0x13057e['lookAhead'],_0x55cfc9)),0x0!=_0x13057e['value'])){let _0x3f7281=_0x4315af;if(_0x13057e['extended']>-0x1&&(_0x4315af=this['addActions'](_0x456302,_0x13057e['extended'],_0x13057e['end'],_0x4315af)),_0x4315af=this['addActions'](_0x456302,_0x13057e['value'],_0x13057e['end'],_0x4315af),!_0xf2ae76['extend']&&(_0x21926f=_0x13057e,_0x4315af>_0x3f7281))break;}}for(;this['actions']['length']>_0x4315af;)this['actions']['pop']();return _0x55cfc9&&_0x456302['setLookAhead'](_0x55cfc9),_0x21926f||_0x456302['pos']!=this['stream']['end']||(_0x21926f=new _0xcf1052(),_0x21926f['value']=_0x456302['p']['parser']['eofTerm'],_0x21926f['start']=_0x21926f['end']=_0x456302['pos'],_0x4315af=this['addActions'](_0x456302,_0x21926f['value'],_0x21926f['end'],_0x4315af)),this['mainToken']=_0x21926f,this['actions'];}['getMainToken'](_0x42f287){if(this['mainToken'])return this['mainToken'];let _0x2ab1de=new _0xcf1052(),{pos:_0x160c0d,p:_0x166887}=_0x42f287;return _0x2ab1de['start']=_0x160c0d,_0x2ab1de['end']=Math['min'](_0x160c0d+0x1,_0x166887['stream']['end']),_0x2ab1de['value']=_0x160c0d==_0x166887['stream']['end']?_0x166887['parser']['eofTerm']:0x0,_0x2ab1de;}['updateCachedToken'](_0x26a395,_0x1f2c6b,_0x593f37){let _0x3ffdb3=this['stream']['clipPos'](_0x593f37['pos']);if(_0x1f2c6b['token'](this['stream']['reset'](_0x3ffdb3,_0x26a395),_0x593f37),_0x26a395['value']>-0x1){let {parser:_0x4ef114}=_0x593f37['p'];for(let _0x4359a7=0x0;_0x4359a7<_0x4ef114['specialized']['length'];_0x4359a7++)if(_0x4ef114['specialized'][_0x4359a7]==_0x26a395['value']){let _0x1c9c10=_0x4ef114['specializers'][_0x4359a7](this['stream']['read'](_0x26a395['start'],_0x26a395['end']),_0x593f37);if(_0x1c9c10>=0x0&&_0x593f37['p']['parser']['dialect']['allows'](_0x1c9c10>>0x1)){0x1&_0x1c9c10?_0x26a395['extended']=_0x1c9c10>>0x1:_0x26a395['value']=_0x1c9c10>>0x1;break;}}}else _0x26a395['value']=0x0,_0x26a395['end']=this['stream']['clipPos'](_0x3ffdb3+0x1);}['putAction'](_0x5b8c7e,_0x1840ea,_0x1dcf8e,_0x5569f0){for(let _0x59f028=0x0;_0x59f028<_0x5569f0;_0x59f028+=0x3)if(this['actions'][_0x59f028]==_0x5b8c7e)return _0x5569f0;return this['actions'][_0x5569f0++]=_0x5b8c7e,this['actions'][_0x5569f0++]=_0x1840ea,this['actions'][_0x5569f0++]=_0x1dcf8e,_0x5569f0;}['addActions'](_0x3e9cec,_0x24e972,_0x8656fa,_0x1b4c64){let {state:_0x5efde7}=_0x3e9cec,{parser:_0x2a589d}=_0x3e9cec['p'],{data:_0x595d4b}=_0x2a589d;for(let _0x292141=0x0;_0x292141<0x2;_0x292141++)for(let _0x57f7f0=_0x2a589d['stateSlot'](_0x5efde7,_0x292141?0x2:0x1);;_0x57f7f0+=0x3){if(0xffff==_0x595d4b[_0x57f7f0]){if(0x1!=_0x595d4b[_0x57f7f0+0x1]){0x0==_0x1b4c64&&0x2==_0x595d4b[_0x57f7f0+0x1]&&(_0x1b4c64=this['putAction'](_0x19b9fc(_0x595d4b,_0x57f7f0+0x2),_0x24e972,_0x8656fa,_0x1b4c64));break;}_0x57f7f0=_0x19b9fc(_0x595d4b,_0x57f7f0+0x2);}_0x595d4b[_0x57f7f0]==_0x24e972&&(_0x1b4c64=this['putAction'](_0x19b9fc(_0x595d4b,_0x57f7f0+0x1),_0x24e972,_0x8656fa,_0x1b4c64));}return _0x1b4c64;}}class _0x3035f2{constructor(_0xa36733,_0x333b13,_0x59c55b,_0x19b803){this['parser']=_0xa36733,this['input']=_0x333b13,this['ranges']=_0x19b803,this['recovering']=0x0,this['nextStackID']=0x2654,this['minStackPos']=0x0,this['reused']=[],this['stoppedAt']=null,this['lastBigReductionStart']=-0x1,this['lastBigReductionSize']=0x0,this['bigReductionCount']=0x0,this['stream']=new InputStream(_0x333b13,_0x19b803),this['tokens']=new _0x1fb9b9(_0xa36733,this['stream']),this['topTerm']=_0xa36733['top'][0x1];let {from:_0x5d1904}=_0x19b803[0x0];this['stacks']=[Stack['start'](this,_0xa36733['top'][0x0],_0x5d1904)],this['fragments']=_0x59c55b['length']&&this['stream']['end']-_0x5d1904>0x4*_0xa36733['bufferLength']?new FragmentCursor$1(_0x59c55b,_0xa36733['nodeSet']):null;}get['parsedPos'](){return this['minStackPos'];}['advance'](){let _0x190137,_0x13f59f,_0x19c9cc=this['stacks'],_0x569114=this['minStackPos'],_0xbdc51c=this['stacks']=[];if(this['bigReductionCount']>0x12c&&0x1==_0x19c9cc['length']){let [_0x5e57a7]=_0x19c9cc;for(;_0x5e57a7['forceReduce']()&&_0x5e57a7['stack']['length']&&_0x5e57a7['stack'][_0x5e57a7['stack']['length']-0x2]>=this['lastBigReductionStart'];);this['bigReductionCount']=this['lastBigReductionSize']=0x0;}for(let _0x50832a=0x0;_0x50832a<_0x19c9cc['length'];_0x50832a++){let _0x251ede=_0x19c9cc[_0x50832a];for(;;){if(this['tokens']['mainToken']=null,_0x251ede['pos']>_0x569114)_0xbdc51c['push'](_0x251ede);else{if(this['advanceStack'](_0x251ede,_0xbdc51c,_0x19c9cc))continue;{_0x190137||(_0x190137=[],_0x13f59f=[]),_0x190137['push'](_0x251ede);let _0x325540=this['tokens']['getMainToken'](_0x251ede);_0x13f59f['push'](_0x325540['value'],_0x325540['end']);}}break;}}if(!_0xbdc51c['length']){let _0x14fa61=_0x190137&&_0x16c2b8(_0x190137);if(_0x14fa61)return _0x5b89a1&&console['log']('Finish\x20with\x20'+this['stackID'](_0x14fa61)),this['stackToTree'](_0x14fa61);if(this['parser']['strict'])throw _0x5b89a1&&_0x190137&&console['log']('Stuck\x20with\x20token\x20'+(this['tokens']['mainToken']?this['parser']['getName'](this['tokens']['mainToken']['value']):'none')),new SyntaxError('No\x20parse\x20at\x20'+_0x569114);this['recovering']||(this['recovering']=0x5);}if(this['recovering']&&_0x190137){let _0x330f47=null!=this['stoppedAt']&&_0x190137[0x0]['pos']>this['stoppedAt']?_0x190137[0x0]:this['runRecovery'](_0x190137,_0x13f59f,_0xbdc51c);if(_0x330f47)return _0x5b89a1&&console['log']('Force-finish\x20'+this['stackID'](_0x330f47)),this['stackToTree'](_0x330f47['forceAll']());}if(this['recovering']){let _0x11b424=0x1==this['recovering']?0x1:0x3*this['recovering'];if(_0xbdc51c['length']>_0x11b424){for(_0xbdc51c['sort']((_0x87703e,_0x5d717e)=>_0x5d717e['score']-_0x87703e['score']);_0xbdc51c['length']>_0x11b424;)_0xbdc51c['pop']();}_0xbdc51c['some'](_0x5b609f=>_0x5b609f['reducePos']>_0x569114)&&this['recovering']--;}else{if(_0xbdc51c['length']>0x1){t:for(let _0x2e040e=0x0;_0x2e040e<_0xbdc51c['length']-0x1;_0x2e040e++){let _0x2445c2=_0xbdc51c[_0x2e040e];for(let _0x3b5da6=_0x2e040e+0x1;_0x3b5da6<_0xbdc51c['length'];_0x3b5da6++){let _0x5a7c85=_0xbdc51c[_0x3b5da6];if(_0x2445c2['sameState'](_0x5a7c85)||_0x2445c2['buffer']['length']>0x1f4&&_0x5a7c85['buffer']['length']>0x1f4){if(!((_0x2445c2['score']-_0x5a7c85['score']||_0x2445c2['buffer']['length']-_0x5a7c85['buffer']['length'])>0x0)){_0xbdc51c['splice'](_0x2e040e--,0x1);continue t;}_0xbdc51c['splice'](_0x3b5da6--,0x1);}}}_0xbdc51c['length']>0xc&&_0xbdc51c['splice'](0xc,_0xbdc51c['length']-0xc);}}this['minStackPos']=_0xbdc51c[0x0]['pos'];for(let _0x5eaa59=0x1;_0x5eaa59<_0xbdc51c['length'];_0x5eaa59++)_0xbdc51c[_0x5eaa59]['pos']<this['minStackPos']&&(this['minStackPos']=_0xbdc51c[_0x5eaa59]['pos']);return null;}['stopAt'](_0x1e9a8a){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x1e9a8a)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x1e9a8a;}['advanceStack'](_0x217993,_0x3bec4b,_0x597ff1){let _0x8d881a=_0x217993['pos'],{parser:_0x10fcf8}=this,_0x18d679=_0x5b89a1?this['stackID'](_0x217993)+'\x20->\x20':'';if(null!=this['stoppedAt']&&_0x8d881a>this['stoppedAt'])return _0x217993['forceReduce']()?_0x217993:null;if(this['fragments']){let _0x1f912f=_0x217993['curContext']&&_0x217993['curContext']['tracker']['strict'],_0x2fb967=_0x1f912f?_0x217993['curContext']['hash']:0x0;for(let _0x537e11=this['fragments']['nodeAt'](_0x8d881a);_0x537e11;){let _0x547fea=this['parser']['nodeSet']['types'][_0x537e11['type']['id']]==_0x537e11['type']?_0x10fcf8['getGoto'](_0x217993['state'],_0x537e11['type']['id']):-0x1;if(_0x547fea>-0x1&&_0x537e11['length']&&(!_0x1f912f||(_0x537e11['prop'](_0x258b5f['contextHash'])||0x0)==_0x2fb967))return _0x217993['useNode'](_0x537e11,_0x547fea),_0x5b89a1&&console['log'](_0x18d679+this['stackID'](_0x217993)+('\x20(via\x20reuse\x20of\x20'+_0x10fcf8['getName'](_0x537e11['type']['id'])+')')),!0x0;if(!(_0x537e11 instanceof _0x2a3dd6)||0x0==_0x537e11['children']['length']||_0x537e11['positions'][0x0]>0x0)break;let _0x43a8ac=_0x537e11['children'][0x0];if(!(_0x43a8ac instanceof _0x2a3dd6&&0x0==_0x537e11['positions'][0x0]))break;_0x537e11=_0x43a8ac;}}let _0x195c34=_0x10fcf8['stateSlot'](_0x217993['state'],0x4);if(_0x195c34>0x0)return _0x217993['reduce'](_0x195c34),_0x5b89a1&&console['log'](_0x18d679+this['stackID'](_0x217993)+('\x20(via\x20always-reduce\x20'+_0x10fcf8['getName'](0xffff&_0x195c34)+')')),!0x0;if(_0x217993['stack']['length']>=0x20d0){for(;_0x217993['stack']['length']>0x1770&&_0x217993['forceReduce'](););}let _0xbf926c=this['tokens']['getActions'](_0x217993);for(let _0x21c463=0x0;_0x21c463<_0xbf926c['length'];){let _0xa31e8c=_0xbf926c[_0x21c463++],_0x4b1d80=_0xbf926c[_0x21c463++],_0x163859=_0xbf926c[_0x21c463++],_0x33a88e=_0x21c463==_0xbf926c['length']||!_0x597ff1,_0x49b9d1=_0x33a88e?_0x217993:_0x217993['split'](),_0x561539=this['tokens']['mainToken'];if(_0x49b9d1['apply'](_0xa31e8c,_0x4b1d80,_0x561539?_0x561539['start']:_0x49b9d1['pos'],_0x163859),_0x5b89a1&&console['log'](_0x18d679+this['stackID'](_0x49b9d1)+('\x20(via\x20'+(0x10000&_0xa31e8c?'reduce\x20of\x20'+_0x10fcf8['getName'](0xffff&_0xa31e8c):'shift')+'\x20for\x20'+_0x10fcf8['getName'](_0x4b1d80)+'\x20@\x20'+_0x8d881a+(_0x49b9d1==_0x217993?'':',\x20split')+')')),_0x33a88e)return!0x0;_0x49b9d1['pos']>_0x8d881a?_0x3bec4b['push'](_0x49b9d1):_0x597ff1['push'](_0x49b9d1);}return!0x1;}['advanceFully'](_0x10545d,_0x36751e){let _0x3aa821=_0x10545d['pos'];for(;;){if(!this['advanceStack'](_0x10545d,null,null))return!0x1;if(_0x10545d['pos']>_0x3aa821)return pushStackDedup(_0x10545d,_0x36751e),!0x0;}}['runRecovery'](_0x590135,_0x357440,_0x1e9ad9){let _0x8b1d03=null,_0x54c1e3=!0x1;for(let _0x5a5a7e=0x0;_0x5a5a7e<_0x590135['length'];_0x5a5a7e++){let _0x350395=_0x590135[_0x5a5a7e],_0x4e2b4c=_0x357440[_0x5a5a7e<<0x1],_0x5a2a4a=_0x357440[0x1+(_0x5a5a7e<<0x1)],_0x3fa10a=_0x5b89a1?this['stackID'](_0x350395)+'\x20->\x20':'';if(_0x350395['deadEnd']){if(_0x54c1e3)continue;if(_0x54c1e3=!0x0,_0x350395['restart'](),_0x5b89a1&&console['log'](_0x3fa10a+this['stackID'](_0x350395)+'\x20(restarted)'),this['advanceFully'](_0x350395,_0x1e9ad9))continue;}let _0x53a1e0=_0x350395['split'](),_0x57a18b=_0x3fa10a;for(let _0x5443aa=0x0;_0x5443aa<0xa&&_0x53a1e0['forceReduce']();_0x5443aa++){if(_0x5b89a1&&console['log'](_0x57a18b+this['stackID'](_0x53a1e0)+'\x20(via\x20force-reduce)'),this['advanceFully'](_0x53a1e0,_0x1e9ad9))break;_0x5b89a1&&(_0x57a18b=this['stackID'](_0x53a1e0)+'\x20->\x20');}for(let _0x34b121 of _0x350395['recoverByInsert'](_0x4e2b4c))_0x5b89a1&&console['log'](_0x3fa10a+this['stackID'](_0x34b121)+'\x20(via\x20recover-insert)'),this['advanceFully'](_0x34b121,_0x1e9ad9);this['stream']['end']>_0x350395['pos']?(_0x5a2a4a==_0x350395['pos']&&(_0x5a2a4a++,_0x4e2b4c=0x0),_0x350395['recoverByDelete'](_0x4e2b4c,_0x5a2a4a),_0x5b89a1&&console['log'](_0x3fa10a+this['stackID'](_0x350395)+('\x20(via\x20recover-delete\x20'+this['parser']['getName'](_0x4e2b4c)+')')),pushStackDedup(_0x350395,_0x1e9ad9)):(!_0x8b1d03||_0x8b1d03['score']<_0x350395['score'])&&(_0x8b1d03=_0x350395);}return _0x8b1d03;}['stackToTree'](_0x3219ca){return _0x3219ca['close'](),_0x2a3dd6['build']({'buffer':StackBufferCursor['create'](_0x3219ca),'nodeSet':this['parser']['nodeSet'],'topID':this['topTerm'],'maxBufferLength':this['parser']['bufferLength'],'reused':this['reused'],'start':this['ranges'][0x0]['from'],'length':_0x3219ca['pos']-this['ranges'][0x0]['from'],'minRepeatType':this['parser']['minRepeatTerm']});}['stackID'](_0x3c0f9b){let _0x101f05=(stackIDs||(stackIDs=new WeakMap()))['get'](_0x3c0f9b);return _0x101f05||stackIDs['set'](_0x3c0f9b,_0x101f05=String['fromCodePoint'](this['nextStackID']++)),_0x101f05+_0x3c0f9b;}}function pushStackDedup(_0x4b2594,_0x2957d3){for(let _0x3c8558=0x0;_0x3c8558<_0x2957d3['length'];_0x3c8558++){let _0xdb7198=_0x2957d3[_0x3c8558];if(_0xdb7198['pos']==_0x4b2594['pos']&&_0xdb7198['sameState'](_0x4b2594))return void(_0x2957d3[_0x3c8558]['score']<_0x4b2594['score']&&(_0x2957d3[_0x3c8558]=_0x4b2594));}_0x2957d3['push'](_0x4b2594);}class Dialect{constructor(_0x1c48ff,_0x106ed0,_0x1280e6){this['source']=_0x1c48ff,this['flags']=_0x106ed0,this['disabled']=_0x1280e6;}['allows'](_0x44f512){return!this['disabled']||0x0==this['disabled'][_0x44f512];}}const _0x4f6e5a=_0x12049d=>_0x12049d;class ContextTracker{constructor(_0x48975b){this['start']=_0x48975b['start'],this['shift']=_0x48975b['shift']||_0x4f6e5a,this['reduce']=_0x48975b['reduce']||_0x4f6e5a,this['reuse']=_0x48975b['reuse']||_0x4f6e5a,this['hash']=_0x48975b['hash']||(()=>0x0),this['strict']=!0x1!==_0x48975b['strict'];}}class _0x4f33c4 extends _0x20778a{constructor(_0x2d6bc3){if(super(),this['wrappers']=[],0xe!=_0x2d6bc3['version'])throw new RangeError('Parser\x20version\x20('+_0x2d6bc3['version']+')\x20doesn\x27t\x20match\x20runtime\x20version\x20(14)');let _0x496e29=_0x2d6bc3['nodeNames']['split']('\x20');this['minRepeatTerm']=_0x496e29['length'];for(let _0x32f418=0x0;_0x32f418<_0x2d6bc3['repeatNodeCount'];_0x32f418++)_0x496e29['push']('');let _0x3266ed=Object['keys'](_0x2d6bc3['topRules'])['map'](_0x27b2f8=>_0x2d6bc3['topRules'][_0x27b2f8][0x1]),_0x547191=[];for(let _0x18515c=0x0;_0x18515c<_0x496e29['length'];_0x18515c++)_0x547191['push']([]);function _0x128f7a(_0x287c38,_0x8d7557,_0x4ac94e){_0x547191[_0x287c38]['push']([_0x8d7557,_0x8d7557['deserialize'](String(_0x4ac94e))]);}if(_0x2d6bc3['nodeProps'])for(let _0x2636f8 of _0x2d6bc3['nodeProps']){let _0xfffc53=_0x2636f8[0x0];'string'==typeof _0xfffc53&&(_0xfffc53=_0x258b5f[_0xfffc53]);for(let _0x1cd80f=0x1;_0x1cd80f<_0x2636f8['length'];){let _0xac8434=_0x2636f8[_0x1cd80f++];if(_0xac8434>=0x0)_0x128f7a(_0xac8434,_0xfffc53,_0x2636f8[_0x1cd80f++]);else{let _0x1d70bb=_0x2636f8[_0x1cd80f+-_0xac8434];for(let _0x412569=-_0xac8434;_0x412569>0x0;_0x412569--)_0x128f7a(_0x2636f8[_0x1cd80f++],_0xfffc53,_0x1d70bb);_0x1cd80f++;}}}this['nodeSet']=new NodeSet(_0x496e29['map']((_0x48515d,_0x1b664a)=>_0x5a565d['define']({'name':_0x1b664a>=this['minRepeatTerm']?void 0x0:_0x48515d,'id':_0x1b664a,'props':_0x547191[_0x1b664a],'top':_0x3266ed['indexOf'](_0x1b664a)>-0x1,'error':0x0==_0x1b664a,'skipped':_0x2d6bc3['skippedNodes']&&_0x2d6bc3['skippedNodes']['indexOf'](_0x1b664a)>-0x1}))),_0x2d6bc3['propSources']&&(this['nodeSet']=this['nodeSet']['extend'](..._0x2d6bc3['propSources'])),this['strict']=!0x1,this['bufferLength']=DefaultBufferLength;let _0x22c1b4=_0x420f16(_0x2d6bc3['tokenData']);this['context']=_0x2d6bc3['context'],this['specializerSpecs']=_0x2d6bc3['specialized']||[],this['specialized']=new Uint16Array(this['specializerSpecs']['length']);for(let _0x69e68e=0x0;_0x69e68e<this['specializerSpecs']['length'];_0x69e68e++)this['specialized'][_0x69e68e]=this['specializerSpecs'][_0x69e68e]['term'];this['specializers']=this['specializerSpecs']['map'](getSpecializer),this['states']=_0x420f16(_0x2d6bc3['states'],Uint32Array),this['data']=_0x420f16(_0x2d6bc3['stateData']),this['goto']=_0x420f16(_0x2d6bc3['goto']),this['maxTerm']=_0x2d6bc3['maxTerm'],this['tokenizers']=_0x2d6bc3['tokenizers']['map'](_0x41741e=>'number'==typeof _0x41741e?new _0x4e5dd7(_0x22c1b4,_0x41741e):_0x41741e),this['topRules']=_0x2d6bc3['topRules'],this['dialects']=_0x2d6bc3['dialects']||{},this['dynamicPrecedences']=_0x2d6bc3['dynamicPrecedences']||null,this['tokenPrecTable']=_0x2d6bc3['tokenPrec'],this['termNames']=_0x2d6bc3['termNames']||null,this['maxNode']=this['nodeSet']['types']['length']-0x1,this['dialect']=this['parseDialect'](),this['top']=this['topRules'][Object['keys'](this['topRules'])[0x0]];}['createParse'](_0x4f969e,_0x4c800c,_0x226668){let _0x110e5c=new _0x3035f2(this,_0x4f969e,_0x4c800c,_0x226668);for(let _0x573332 of this['wrappers'])_0x110e5c=_0x573332(_0x110e5c,_0x4f969e,_0x4c800c,_0x226668);return _0x110e5c;}['getGoto'](_0x4e0740,_0x291e59,_0x2007e8=!0x1){let _0x646ae9=this['goto'];if(_0x291e59>=_0x646ae9[0x0])return-0x1;for(let _0x5848db=_0x646ae9[_0x291e59+0x1];;){let _0x3d4b33=_0x646ae9[_0x5848db++],_0x152a0d=0x1&_0x3d4b33,_0x28d645=_0x646ae9[_0x5848db++];if(_0x152a0d&&_0x2007e8)return _0x28d645;for(let _0x4a7032=_0x5848db+(_0x3d4b33>>0x1);_0x5848db<_0x4a7032;_0x5848db++)if(_0x646ae9[_0x5848db]==_0x4e0740)return _0x28d645;if(_0x152a0d)return-0x1;}}['hasAction'](_0x2bca63,_0x447755){let _0x21852b=this['data'];for(let _0x5ad5dd=0x0;_0x5ad5dd<0x2;_0x5ad5dd++)for(let _0x564ab2,_0x2fc9a4=this['stateSlot'](_0x2bca63,_0x5ad5dd?0x2:0x1);;_0x2fc9a4+=0x3){if(0xffff==(_0x564ab2=_0x21852b[_0x2fc9a4])){if(0x1!=_0x21852b[_0x2fc9a4+0x1]){if(0x2==_0x21852b[_0x2fc9a4+0x1])return _0x19b9fc(_0x21852b,_0x2fc9a4+0x2);break;}_0x564ab2=_0x21852b[_0x2fc9a4=_0x19b9fc(_0x21852b,_0x2fc9a4+0x2)];}if(_0x564ab2==_0x447755||0x0==_0x564ab2)return _0x19b9fc(_0x21852b,_0x2fc9a4+0x1);}return 0x0;}['stateSlot'](_0x462a94,_0x27ac6f){return this['states'][0x6*_0x462a94+_0x27ac6f];}['stateFlag'](_0x2168a0,_0xa0f796){return(this['stateSlot'](_0x2168a0,0x0)&_0xa0f796)>0x0;}['validAction'](_0x361fb4,_0x7a1c72){return!!this['allActions'](_0x361fb4,_0x243b84=>_0x243b84==_0x7a1c72||null);}['allActions'](_0xe664d,_0x15d21e){let _0x7f6275=this['stateSlot'](_0xe664d,0x4),_0x200b06=_0x7f6275?_0x15d21e(_0x7f6275):void 0x0;for(let _0x4b84da=this['stateSlot'](_0xe664d,0x1);null==_0x200b06;_0x4b84da+=0x3){if(0xffff==this['data'][_0x4b84da]){if(0x1!=this['data'][_0x4b84da+0x1])break;_0x4b84da=_0x19b9fc(this['data'],_0x4b84da+0x2);}_0x200b06=_0x15d21e(_0x19b9fc(this['data'],_0x4b84da+0x1));}return _0x200b06;}['nextStates'](_0x47a485){let _0x11ff9a=[];for(let _0x1be696=this['stateSlot'](_0x47a485,0x1);;_0x1be696+=0x3){if(0xffff==this['data'][_0x1be696]){if(0x1!=this['data'][_0x1be696+0x1])break;_0x1be696=_0x19b9fc(this['data'],_0x1be696+0x2);}if(!(0x1&this['data'][_0x1be696+0x2])){let _0x2ebe80=this['data'][_0x1be696+0x1];_0x11ff9a['some']((_0x4b139c,_0xeced03)=>0x1&_0xeced03&&_0x4b139c==_0x2ebe80)||_0x11ff9a['push'](this['data'][_0x1be696],_0x2ebe80);}}return _0x11ff9a;}['configure'](_0x63e490){let _0x4986ba=Object['assign'](Object['create'](_0x4f33c4['prototype']),this);if(_0x63e490['props']&&(_0x4986ba['nodeSet']=this['nodeSet']['extend'](..._0x63e490['props'])),_0x63e490['top']){let _0x504707=this['topRules'][_0x63e490['top']];if(!_0x504707)throw new RangeError('Invalid\x20top\x20rule\x20name\x20'+_0x63e490['top']);_0x4986ba['top']=_0x504707;}return _0x63e490['tokenizers']&&(_0x4986ba['tokenizers']=this['tokenizers']['map'](t=>{let _0xbb8866=_0x63e490['tokenizers']['find'](_0x40e21c=>_0x40e21c['from']==t);return _0xbb8866?_0xbb8866['to']:t;})),_0x63e490['specializers']&&(_0x4986ba['specializers']=this['specializers']['slice'](),_0x4986ba['specializerSpecs']=this['specializerSpecs']['map']((_0x12f2f1,_0x163099)=>{let _0x5254e2=_0x63e490['specializers']['find'](_0x4805a3=>_0x4805a3['from']==_0x12f2f1['external']);if(!_0x5254e2)return _0x12f2f1;let _0x57beb9=Object['assign'](Object['assign']({},_0x12f2f1),{'external':_0x5254e2['to']});return _0x4986ba['specializers'][_0x163099]=getSpecializer(_0x57beb9),_0x57beb9;})),_0x63e490['contextTracker']&&(_0x4986ba['context']=_0x63e490['contextTracker']),_0x63e490['dialect']&&(_0x4986ba['dialect']=this['parseDialect'](_0x63e490['dialect'])),null!=_0x63e490['strict']&&(_0x4986ba['strict']=_0x63e490['strict']),_0x63e490['wrap']&&(_0x4986ba['wrappers']=_0x4986ba['wrappers']['concat'](_0x63e490['wrap'])),null!=_0x63e490['bufferLength']&&(_0x4986ba['bufferLength']=_0x63e490['bufferLength']),_0x4986ba;}['hasWrappers'](){return this['wrappers']['length']>0x0;}['getName'](_0x2f8149){return this['termNames']?this['termNames'][_0x2f8149]:String(_0x2f8149<=this['maxNode']&&this['nodeSet']['types'][_0x2f8149]['name']||_0x2f8149);}get['eofTerm'](){return this['maxNode']+0x1;}get['topNode'](){return this['nodeSet']['types'][this['top'][0x1]];}['dynamicPrecedence'](_0x57b2b3){let _0x38dcbf=this['dynamicPrecedences'];return null==_0x38dcbf?0x0:_0x38dcbf[_0x57b2b3]||0x0;}['parseDialect'](_0x13652d){let _0x33a35b=Object['keys'](this['dialects']),_0x34f52d=_0x33a35b['map'](()=>!0x1);if(_0x13652d)for(let _0x30988e of _0x13652d['split']('\x20')){let _0x3f560f=_0x33a35b['indexOf'](_0x30988e);_0x3f560f>=0x0&&(_0x34f52d[_0x3f560f]=!0x0);}let _0x2e9b74=null;for(let _0x1b6dee=0x0;_0x1b6dee<_0x33a35b['length'];_0x1b6dee++)if(!_0x34f52d[_0x1b6dee]){for(let _0x5e514b,_0x4fa6d7=this['dialects'][_0x33a35b[_0x1b6dee]];0xffff!=(_0x5e514b=this['data'][_0x4fa6d7++]);)(_0x2e9b74||(_0x2e9b74=new Uint8Array(this['maxTerm']+0x1)))[_0x5e514b]=0x1;}return new Dialect(_0x13652d,_0x34f52d,_0x2e9b74);}static['deserialize'](_0xea75ed){return new _0x4f33c4(_0xea75ed);}}function _0x19b9fc(_0x1d4157,_0x4390f9){return _0x1d4157[_0x4390f9]|_0x1d4157[_0x4390f9+0x1]<<0x10;}function _0x16c2b8(_0x583832){let _0x520ef1=null;for(let _0x576e82 of _0x583832){let _0x34ff10=_0x576e82['p']['stoppedAt'];(_0x576e82['pos']==_0x576e82['p']['stream']['end']||null!=_0x34ff10&&_0x576e82['pos']>_0x34ff10)&&_0x576e82['p']['parser']['stateFlag'](_0x576e82['state'],0x2)&&(!_0x520ef1||_0x520ef1['score']<_0x576e82['score'])&&(_0x520ef1=_0x576e82);}return _0x520ef1;}function getSpecializer(_0x29a979){if(_0x29a979['external']){let _0x12333b=_0x29a979['extend']?0x1:0x0;return(_0x251789,_0x398976)=>_0x29a979['external'](_0x251789,_0x398976)<<0x1|_0x12333b;}return _0x29a979['get'];}const scriptText=0x37,StartCloseScriptTag=0x1,styleText=0x38,StartCloseStyleTag=0x2,textareaText=0x39,StartCloseTextareaTag=0x3,_0x55f793=0x4,_0x371d31=0x5,StartTag=0x6,StartScriptTag=0x7,StartStyleTag=0x8,StartTextareaTag=0x9,StartSelfClosingTag=0xa,StartCloseTag=0xb,NoMatchStartCloseTag=0xc,MismatchedStartCloseTag=0xd,_0x4ee826=0x3a,IncompleteTag=0xe,IncompleteCloseTag=0xf,commentContent$1=0x3b,Element$2=0x15,_0x481ffb=0x17,Attribute=0x18,AttributeName=0x19,AttributeValue=0x1b,UnquotedAttributeValue=0x1c,ScriptText=0x1d,StyleText=0x20,TextareaText=0x23,_0x5c30eb=0x25,_0x383927=0x26,Dialect_noMatch=0x0,Dialect_selfClosing=0x1,_0x356e13={'area':!0x0,'base':!0x0,'br':!0x0,'col':!0x0,'command':!0x0,'embed':!0x0,'frame':!0x0,'hr':!0x0,'img':!0x0,'input':!0x0,'keygen':!0x0,'link':!0x0,'meta':!0x0,'param':!0x0,'source':!0x0,'track':!0x0,'wbr':!0x0,'menuitem':!0x0},implicitlyClosed={'dd':!0x0,'li':!0x0,'optgroup':!0x0,'option':!0x0,'p':!0x0,'rp':!0x0,'rt':!0x0,'tbody':!0x0,'td':!0x0,'tfoot':!0x0,'th':!0x0,'tr':!0x0},_0x37deac={'dd':{'dd':!0x0,'dt':!0x0},'dt':{'dd':!0x0,'dt':!0x0},'li':{'li':!0x0},'option':{'option':!0x0,'optgroup':!0x0},'optgroup':{'optgroup':!0x0},'p':{'address':!0x0,'article':!0x0,'aside':!0x0,'blockquote':!0x0,'dir':!0x0,'div':!0x0,'dl':!0x0,'fieldset':!0x0,'footer':!0x0,'form':!0x0,'h1':!0x0,'h2':!0x0,'h3':!0x0,'h4':!0x0,'h5':!0x0,'h6':!0x0,'header':!0x0,'hgroup':!0x0,'hr':!0x0,'menu':!0x0,'nav':!0x0,'ol':!0x0,'p':!0x0,'pre':!0x0,'section':!0x0,'table':!0x0,'ul':!0x0},'rp':{'rp':!0x0,'rt':!0x0},'rt':{'rp':!0x0,'rt':!0x0},'tbody':{'tbody':!0x0,'tfoot':!0x0},'td':{'td':!0x0,'th':!0x0},'tfoot':{'tbody':!0x0},'th':{'td':!0x0,'th':!0x0},'thead':{'tbody':!0x0,'tfoot':!0x0},'tr':{'tr':!0x0}};function _0x530633(_0x454608){return 0x2d==_0x454608||0x2e==_0x454608||0x3a==_0x454608||_0x454608>=0x41&&_0x454608<=0x5a||0x5f==_0x454608||_0x454608>=0x61&&_0x454608<=0x7a||_0x454608>=0xa1;}let _0x3f3bdb=null,cachedInput=null,_0x588c83=0x0;function tagNameAfter(_0x2196d4,_0x291b56){let _0x4af47e=_0x2196d4['pos']+_0x291b56;if(_0x588c83==_0x4af47e&&cachedInput==_0x2196d4)return _0x3f3bdb;let _0x3b2a3a=_0x2196d4['peek'](_0x291b56),_0x480e9d='';for(;_0x530633(_0x3b2a3a);)_0x480e9d+=String['fromCharCode'](_0x3b2a3a),_0x3b2a3a=_0x2196d4['peek'](++_0x291b56);return cachedInput=_0x2196d4,_0x588c83=_0x4af47e,_0x3f3bdb=_0x480e9d?_0x480e9d['toLowerCase']():_0x3b2a3a==question$1||_0x3b2a3a==_0x4664f3?void 0x0:null;}const _0x2a2102=0x3c,greaterThan=0x3e,_0x51ec6a=0x2f,question$1=0x3f,_0x4664f3=0x21,_0x90839d=0x2d;function ElementContext(_0x1dd744,_0x354fab){this['name']=_0x1dd744,this['parent']=_0x354fab;}const startTagTerms=[StartTag,StartSelfClosingTag,StartScriptTag,StartStyleTag,StartTextareaTag],elementContext=new ContextTracker({'start':null,'shift':(_0x26ac09,_0x517c88,_0x1093f5,_0x1d7978)=>startTagTerms['indexOf'](_0x517c88)>-0x1?new ElementContext(tagNameAfter(_0x1d7978,0x1)||'',_0x26ac09):_0x26ac09,'reduce':(_0x173ac9,_0x1d506f)=>_0x1d506f==Element$2&&_0x173ac9?_0x173ac9['parent']:_0x173ac9,'reuse'(_0xd5c6e1,_0xe7d3e3,_0x19c842,_0x190c25){let _0x418565=_0xe7d3e3['type']['id'];return _0x418565==StartTag||_0x418565==_0x5c30eb?new ElementContext(tagNameAfter(_0x190c25,0x1)||'',_0xd5c6e1):_0xd5c6e1;},'strict':!0x1}),tagStart=new ExternalTokenizer((_0xe9964,_0x3d11e9)=>{if(_0xe9964['next']!=_0x2a2102)return void(_0xe9964['next']<0x0&&_0x3d11e9['context']&&_0xe9964['acceptToken'](_0x4ee826));_0xe9964['advance']();let _0x108f83=_0xe9964['next']==_0x51ec6a;_0x108f83&&_0xe9964['advance']();let _0x294301=tagNameAfter(_0xe9964,0x0);if(void 0x0===_0x294301)return;if(!_0x294301)return _0xe9964['acceptToken'](_0x108f83?IncompleteCloseTag:IncompleteTag);let _0x43964f=_0x3d11e9['context']?_0x3d11e9['context']['name']:null;if(_0x108f83){if(_0x294301==_0x43964f)return _0xe9964['acceptToken'](StartCloseTag);if(_0x43964f&&implicitlyClosed[_0x43964f])return _0xe9964['acceptToken'](_0x4ee826,-0x2);if(_0x3d11e9['dialectEnabled'](Dialect_noMatch))return _0xe9964['acceptToken'](NoMatchStartCloseTag);for(let _0x37cf30=_0x3d11e9['context'];_0x37cf30;_0x37cf30=_0x37cf30['parent'])if(_0x37cf30['name']==_0x294301)return;_0xe9964['acceptToken'](MismatchedStartCloseTag);}else{if('script'==_0x294301)return _0xe9964['acceptToken'](StartScriptTag);if('style'==_0x294301)return _0xe9964['acceptToken'](StartStyleTag);if('textarea'==_0x294301)return _0xe9964['acceptToken'](StartTextareaTag);if(_0x356e13['hasOwnProperty'](_0x294301))return _0xe9964['acceptToken'](StartSelfClosingTag);_0x43964f&&_0x37deac[_0x43964f]&&_0x37deac[_0x43964f][_0x294301]?_0xe9964['acceptToken'](_0x4ee826,-0x1):_0xe9964['acceptToken'](StartTag);}},{'contextual':!0x0}),commentContent=new ExternalTokenizer(_0x49a8f7=>{for(let _0x3d1daf=0x0,_0x4e99e9=0x0;;_0x4e99e9++){if(_0x49a8f7['next']<0x0){_0x4e99e9&&_0x49a8f7['acceptToken'](commentContent$1);break;}if(_0x49a8f7['next']==_0x90839d)_0x3d1daf++;else{if(_0x49a8f7['next']==greaterThan&&_0x3d1daf>=0x2){_0x4e99e9>=0x3&&_0x49a8f7['acceptToken'](commentContent$1,-0x2);break;}_0x3d1daf=0x0;}_0x49a8f7['advance']();}});function inForeignElement(_0x5c7d87){for(;_0x5c7d87;_0x5c7d87=_0x5c7d87['parent'])if('svg'==_0x5c7d87['name']||'math'==_0x5c7d87['name'])return!0x0;return!0x1;}const _0x2e0a04=new ExternalTokenizer((_0x88e3c6,_0x518c7b)=>{if(_0x88e3c6['next']==_0x51ec6a&&_0x88e3c6['peek'](0x1)==greaterThan){let _0x3211db=_0x518c7b['dialectEnabled'](Dialect_selfClosing)||inForeignElement(_0x518c7b['context']);_0x88e3c6['acceptToken'](_0x3211db?_0x371d31:_0x55f793,0x2);}else _0x88e3c6['next']==greaterThan&&_0x88e3c6['acceptToken'](_0x55f793,0x1);});function contentTokenizer(_0x15fed0,_0x8b855b,_0x9b2ed6){let _0x5c8cf5=0x2+_0x15fed0['length'];return new ExternalTokenizer(_0x2a75dc=>{for(let _0x25f6e9=0x0,_0xf557ef=0x0,_0x4b0133=0x0;;_0x4b0133++){if(_0x2a75dc['next']<0x0){_0x4b0133&&_0x2a75dc['acceptToken'](_0x8b855b);break;}if(0x0==_0x25f6e9&&_0x2a75dc['next']==_0x2a2102||0x1==_0x25f6e9&&_0x2a75dc['next']==_0x51ec6a||_0x25f6e9>=0x2&&_0x25f6e9<_0x5c8cf5&&_0x2a75dc['next']==_0x15fed0['charCodeAt'](_0x25f6e9-0x2))_0x25f6e9++,_0xf557ef++;else{if(_0x25f6e9==_0x5c8cf5&&_0x2a75dc['next']==greaterThan){_0x4b0133>_0xf557ef?_0x2a75dc['acceptToken'](_0x8b855b,-_0xf557ef):_0x2a75dc['acceptToken'](_0x9b2ed6,-(_0xf557ef-0x2));break;}if((0xa==_0x2a75dc['next']||0xd==_0x2a75dc['next'])&&_0x4b0133){_0x2a75dc['acceptToken'](_0x8b855b,0x1);break;}_0x25f6e9=_0xf557ef=0x0;}_0x2a75dc['advance']();}});}const scriptTokens=contentTokenizer('script',scriptText,StartCloseScriptTag),styleTokens=contentTokenizer('style',styleText,StartCloseStyleTag),textareaTokens=contentTokenizer('textarea',textareaText,StartCloseTextareaTag),htmlHighlighting=styleTags({'Text\x20RawText\x20IncompleteTag\x20IncompleteCloseTag':tags$1['content'],'StartTag\x20StartCloseTag\x20SelfClosingEndTag\x20EndTag':tags$1['angleBracket'],'TagName':tags$1['tagName'],'MismatchedCloseTag/TagName':[tags$1['tagName'],tags$1['invalid']],'AttributeName':tags$1['attributeName'],'AttributeValue\x20UnquotedAttributeValue':tags$1['attributeValue'],'Is':tags$1['definitionOperator'],'EntityReference\x20CharacterReference':tags$1['character'],'Comment':tags$1['blockComment'],'ProcessingInst':tags$1['processingInstruction'],'DoctypeDecl':tags$1['documentMeta']}),_0x564d04=_0x4f33c4['deserialize']({'version':0xe,'states':',xOVO!rOOO!ZQ#tO\x27#CrO!`Q#tO\x27#C{O!eQ#tO\x27#DOO!jQ#tO\x27#DRO!oQ#tO\x27#DTO!tOaO\x27#CqO#PObO\x27#CqO#[OdO\x27#CqO$kO!rO\x27#CqOOO`\x27#Cq\x27#CqO$rO$fO\x27#DUO$zQ#tO\x27#DWO%PQ#tO\x27#DXOOO`\x27#Dl\x27#DlOOO`\x27#DZ\x27#DZQVO!rOOO%UQ&rO,59^O%aQ&rO,59gO%lQ&rO,59jO%wQ&rO,59mO&SQ&rO,59oOOOa\x27#D_\x27#D_O&_OaO\x27#CyO&jOaO,59]OOOb\x27#D`\x27#D`O&rObO\x27#C|O&}ObO,59]OOOd\x27#Da\x27#DaO\x27VOdO\x27#DPO\x27bOdO,59]OOO`\x27#Db\x27#DbO\x27jO!rO,59]O\x27qQ#tO\x27#DSOOO`,59],59]OOOp\x27#Dc\x27#DcO\x27vO$fO,59pOOO`,59p,59pO(OQ#|O,59rO(TQ#|O,59sOOO`-E7X-E7XO(YQ&rO\x27#CtOOQW\x27#D[\x27#D[O(hQ&rO1G.xOOOa1G.x1G.xOOO`1G/Z1G/ZO(sQ&rO1G/ROOOb1G/R1G/RO)OQ&rO1G/UOOOd1G/U1G/UO)ZQ&rO1G/XOOO`1G/X1G/XO)fQ&rO1G/ZOOOa-E7]-E7]O)qQ#tO\x27#CzOOO`1G.w1G.wOOOb-E7^-E7^O)vQ#tO\x27#C}OOOd-E7_-E7_O){Q#tO\x27#DQOOO`-E7`-E7`O*QQ#|O,59nOOOp-E7a-E7aOOO`1G/[1G/[OOO`1G/^1G/^OOO`1G/_1G/_O*VQ,UO,59`OOQW-E7Y-E7YOOOa7+$d7+$dOOO`7+$u7+$uOOOb7+$m7+$mOOOd7+$p7+$pOOO`7+$s7+$sO*bQ#|O,59fO*gQ#|O,59iO*lQ#|O,59lOOO`1G/Y1G/YO*qO7[O\x27#CwO+SOMhO\x27#CwOOQW1G.z1G.zOOO`1G/Q1G/QOOO`1G/T1G/TOOO`1G/W1G/WOOOO\x27#D]\x27#D]O+eO7[O,59cOOQW,59c,59cOOOO\x27#D^\x27#D^O+vOMhO,59cOOOO-E7Z-E7ZOOQW1G.}1G.}OOOO-E7[-E7[','stateData':',c~O!_OS~OUSOVPOWQOXROYTO[]O][O^^O_^Oa^Ob^Oc^Od^Oy^O|_O!eZO~OgaO~OgbO~OgcO~OgdO~OgeO~O!XfOPmP![mP~O!YiOQpP![pP~O!ZlORsP![sP~OUSOVPOWQOXROYTOZqO[]O][O^^O_^Oa^Ob^Oc^Od^Oy^O!eZO~O![rO~P#gO!]sO!fuO~OgvO~OgwO~OS|OT}OiyO~OS!POT}OiyO~OS!ROT}OiyO~OS!TOT}OiyO~OS}OT}OiyO~O!XfOPmX![mX~OP!WO![!XO~O!YiOQpX![pX~OQ!ZO![!XO~O!ZlORsX![sX~OR!]O![!XO~O![!XO~P#gOg!_O~O!]sO!f!aO~OS!bO~OS!cO~Oj!dOShXThXihX~OS!fOT!gOiyO~OS!hOT!gOiyO~OS!iOT!gOiyO~OS!jOT!gOiyO~OS!gOT!gOiyO~Og!kO~Og!lO~Og!mO~OS!nO~Ol!qO!a!oO!c!pO~OS!rO~OS!sO~OS!tO~Ob!uOc!uOd!uO!a!wO!b!uO~Ob!xOc!xOd!xO!c!wO!d!xO~Ob!uOc!uOd!uO!a!{O!b!uO~Ob!xOc!xOd!xO!c!{O!d!xO~OT~cbd!ey|!e~','goto':'%q!aPPPPPPPPPPPPPPPPPPPPP!b!hP!nPP!zP!}#Q#T#Z#^#a#g#j#m#s#y!bP!b!bP$P$V$m$s$y%P%V%]%cPPPPPPPP%iX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp','nodeNames':'⚠\x20StartCloseTag\x20StartCloseTag\x20StartCloseTag\x20EndTag\x20SelfClosingEndTag\x20StartTag\x20StartTag\x20StartTag\x20StartTag\x20StartTag\x20StartCloseTag\x20StartCloseTag\x20StartCloseTag\x20IncompleteTag\x20IncompleteCloseTag\x20Document\x20Text\x20EntityReference\x20CharacterReference\x20InvalidEntity\x20Element\x20OpenTag\x20TagName\x20Attribute\x20AttributeName\x20Is\x20AttributeValue\x20UnquotedAttributeValue\x20ScriptText\x20CloseTag\x20OpenTag\x20StyleText\x20CloseTag\x20OpenTag\x20TextareaText\x20CloseTag\x20OpenTag\x20CloseTag\x20SelfClosingTag\x20Comment\x20ProcessingInst\x20MismatchedCloseTag\x20CloseTag\x20DoctypeDecl','maxTerm':0x44,'context':elementContext,'nodeProps':[['closedBy',-0xa,0x1,0x2,0x3,0x7,0x8,0x9,0xa,0xb,0xc,0xd,'EndTag',0x6,'EndTag\x20SelfClosingEndTag',-0x4,0x16,0x1f,0x22,0x25,'CloseTag'],['openedBy',0x4,'StartTag\x20StartCloseTag',0x5,'StartTag',-0x4,0x1e,0x21,0x24,0x26,'OpenTag'],['group',-0xa,0xe,0xf,0x12,0x13,0x14,0x15,0x28,0x29,0x2a,0x2b,'Entity',0x11,'Entity\x20TextContent',-0x3,0x1d,0x20,0x23,'TextContent\x20Entity'],['isolate',-0xb,0x16,0x1e,0x1f,0x21,0x22,0x24,0x25,0x26,0x27,0x2a,0x2b,'ltr',-0x3,0x1b,0x1c,0x28,'']],'propSources':[htmlHighlighting],'skippedNodes':[0x0],'repeatNodeCount':0x9,'tokenData':'!<p!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs3_sv-_vw3}wxHYx}-_}!OH{!O!P-_!P!Q$q!Q![-_![!]Mz!]!^-_!^!_!$S!_!`!;x!`!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4U-_4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;\x27SMz;\x27S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!Z$|caPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv$qvw+Pwx(tx!^$q!^!_*V!_!a&X!a#S$q#S#T&X#T;\x27S$q;\x27S;=`+z<%lO$q!R&bXaP!b`!dpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;\x27S&X;\x27S;=`*y<%lO&Xq\x27UVaP!dpOv&}wx\x27kx!^&}!^!_(V!_;\x27S&};\x27S;=`(n<%lO&}P\x27pTaPOv\x27kw!^\x27k!_;\x27S\x27k;\x27S;=`(P<%lO\x27kP(SP;=`<%l\x27kp([S!dpOv(Vx;\x27S(V;\x27S;=`(h<%lO(Vp(kP;=`<%l(Vq(qP;=`<%l&}a({WaP!b`Or(trs\x27ksv(tw!^(t!^!_)e!_;\x27S(t;\x27S;=`*P<%lO(t`)jT!b`Or)esv)ew;\x27S)e;\x27S;=`)y<%lO)e`)|P;=`<%l)ea*SP;=`<%l(t!Q*^V!b`!dpOr*Vrs(Vsv*Vwx)ex;\x27S*V;\x27S;=`*s<%lO*V!Q*vP;=`<%l*V!R*|P;=`<%l&XW+UYlWOX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;\x27S+P;\x27S;=`+t<%lO+PW+wP;=`<%l+P!Z+}P;=`<%l$q!a,]`aP!b`!dp!_^OX&XXY,QYZ,QZ]&X]^,Q^p&Xpq,Qqr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;\x27S&X;\x27S;=`*y<%lO&X!_-ljiSaPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;\x27S-_;\x27S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q[/ebiSlWOX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;\x27S/^;\x27S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+PS0rXiSqr0msw0mx!P0m!Q!^0m!a#s0m$f;\x27S0m;\x27S;=`1_<%l?Ah0m?BY?Mn0mS1bP;=`<%l0m[1hP;=`<%l/^!V1vciSaP!b`!dpOq&Xqr1krs&}sv1kvw0mwx(tx!P1k!P!Q&X!Q!^1k!^!_*V!_!a&X!a#s1k#s$f&X$f;\x27S1k;\x27S;=`3R<%l?Ah1k?Ah?BY&X?BY?Mn1k?MnO&X!V3UP;=`<%l1k!_3[P;=`<%l-_!Z3hV!ahaP!dpOv&}wx\x27kx!^&}!^!_(V!_;\x27S&};\x27S;=`(n<%lO&}!_4WiiSlWd!ROX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst>]tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^/^!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;\x27S8t;\x27S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!Z5zblWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;\x27S5u;\x27S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;\x27S7S;\x27S;=`7q<%lO7S!R7qOb!R!R7tP;=`<%l7S!Z8OYlWb!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;\x27S+P;\x27S;=`+t<%lO+P!Z8qP;=`<%l5u!_8{iiSlWOX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst/^tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^:j!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;\x27S8t;\x27S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!_:sbiSlWb!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;\x27S/^;\x27S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!V<QciSOp7Sqr;{rs7Sst0mtw;{wx7Sx!P;{!P!Q7S!Q!];{!]!^=]!^!a7S!a#s;{#s$f7S$f;\x27S;{;\x27S;=`>P<%l?Ah;{?Ah?BY7S?BY?Mn;{?MnO7S!V=dXiSb!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;\x27S0m;\x27S;=`1_<%l?Ah0m?BY?Mn0m!V>SP;=`<%l;{!_>YP;=`<%l8t!_>dhiSlWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^/^!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;\x27SBw;\x27S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!Z@TalWOX@OXZAYZ[@O[^AY^p@Oqr@OrsAYsw@OwxAYx!]@O!]!^Az!^!aAY!a#S@O#S#TAY#T;\x27S@O;\x27S;=`Bq<%lO@O!RA]UOpAYq!]AY!]!^Ao!^;\x27SAY;\x27S;=`At<%lOAY!RAtOc!R!RAwP;=`<%lAY!ZBRYlWc!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;\x27S+P;\x27S;=`+t<%lO+P!ZBtP;=`<%l@O!_COhiSlWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^Dj!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;\x27SBw;\x27S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!_DsbiSlWc!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;\x27S/^;\x27S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VFQbiSOpAYqrE{rsAYswE{wxAYx!PE{!P!QAY!Q!]E{!]!^GY!^!aAY!a#sE{#s$fAY$f;\x27SE{;\x27S;=`G|<%l?AhE{?Ah?BYAY?BY?MnE{?MnOAY!VGaXiSc!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;\x27S0m;\x27S;=`1_<%l?Ah0m?BY?Mn0m!VHPP;=`<%lE{!_HVP;=`<%lBw!ZHcW!cxaP!b`Or(trs\x27ksv(tw!^(t!^!_)e!_;\x27S(t;\x27S;=`*P<%lO(t!aIYliSaPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OKQ!O!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;\x27S-_;\x27S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!aK_kiSaPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!`&X!`!aMS!a#S-_#S#T1k#T#s-_#s$f$q$f;\x27S-_;\x27S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!TM_XaP!b`!dp!fQOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;\x27S&X;\x27S;=`*y<%lO&X!aNZ!ZiSgQaPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OMz!O!PMz!P!Q$q!Q![Mz![!]Mz!]!^-_!^!_*V!_!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f$}-_$}%OMz%O%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4UMz4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Je-_$Je$JgMz$Jg$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;\x27SMz;\x27S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!a!$PP;=`<%lMz!R!$ZY!b`!dpOq*Vqr!$yrs(Vsv*Vwx)ex!a*V!a!b!4t!b;\x27S*V;\x27S;=`*s<%lO*V!R!%Q]!b`!dpOr*Vrs(Vsv*Vwx)ex}*V}!O!%y!O!f*V!f!g!\x27]!g#W*V#W#X!0`#X;\x27S*V;\x27S;=`*s<%lO*V!R!&QX!b`!dpOr*Vrs(Vsv*Vwx)ex}*V}!O!&m!O;\x27S*V;\x27S;=`*s<%lO*V!R!&vV!b`!dp!ePOr*Vrs(Vsv*Vwx)ex;\x27S*V;\x27S;=`*s<%lO*V!R!\x27dX!b`!dpOr*Vrs(Vsv*Vwx)ex!q*V!q!r!(P!r;\x27S*V;\x27S;=`*s<%lO*V!R!(WX!b`!dpOr*Vrs(Vsv*Vwx)ex!e*V!e!f!(s!f;\x27S*V;\x27S;=`*s<%lO*V!R!(zX!b`!dpOr*Vrs(Vsv*Vwx)ex!v*V!v!w!)g!w;\x27S*V;\x27S;=`*s<%lO*V!R!)nX!b`!dpOr*Vrs(Vsv*Vwx)ex!{*V!{!|!*Z!|;\x27S*V;\x27S;=`*s<%lO*V!R!*bX!b`!dpOr*Vrs(Vsv*Vwx)ex!r*V!r!s!*}!s;\x27S*V;\x27S;=`*s<%lO*V!R!+UX!b`!dpOr*Vrs(Vsv*Vwx)ex!g*V!g!h!+q!h;\x27S*V;\x27S;=`*s<%lO*V!R!+xY!b`!dpOr!+qrs!,hsv!+qvw!-Swx!.[x!`!+q!`!a!/j!a;\x27S!+q;\x27S;=`!0Y<%lO!+qq!,mV!dpOv!,hvx!-Sx!`!,h!`!a!-q!a;\x27S!,h;\x27S;=`!.U<%lO!,hP!-VTO!`!-S!`!a!-f!a;\x27S!-S;\x27S;=`!-k<%lO!-SP!-kO|PP!-nP;=`<%l!-Sq!-xS!dp|POv(Vx;\x27S(V;\x27S;=`(h<%lO(Vq!.XP;=`<%l!,ha!.aX!b`Or!.[rs!-Ssv!.[vw!-Sw!`!.[!`!a!.|!a;\x27S!.[;\x27S;=`!/d<%lO!.[a!/TT!b`|POr)esv)ew;\x27S)e;\x27S;=`)y<%lO)ea!/gP;=`<%l!.[!R!/sV!b`!dp|POr*Vrs(Vsv*Vwx)ex;\x27S*V;\x27S;=`*s<%lO*V!R!0]P;=`<%l!+q!R!0gX!b`!dpOr*Vrs(Vsv*Vwx)ex#c*V#c#d!1S#d;\x27S*V;\x27S;=`*s<%lO*V!R!1ZX!b`!dpOr*Vrs(Vsv*Vwx)ex#V*V#V#W!1v#W;\x27S*V;\x27S;=`*s<%lO*V!R!1}X!b`!dpOr*Vrs(Vsv*Vwx)ex#h*V#h#i!2j#i;\x27S*V;\x27S;=`*s<%lO*V!R!2qX!b`!dpOr*Vrs(Vsv*Vwx)ex#m*V#m#n!3^#n;\x27S*V;\x27S;=`*s<%lO*V!R!3eX!b`!dpOr*Vrs(Vsv*Vwx)ex#d*V#d#e!4Q#e;\x27S*V;\x27S;=`*s<%lO*V!R!4XX!b`!dpOr*Vrs(Vsv*Vwx)ex#X*V#X#Y!+q#Y;\x27S*V;\x27S;=`*s<%lO*V!R!4{Y!b`!dpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;\x27S!4t;\x27S;=`!;r<%lO!4tq!5pV!dpOv!5kvx!6Vx!a!5k!a!b!7W!b;\x27S!5k;\x27S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;\x27S!6V;\x27S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;\x27S!6V;\x27S;=`!7Q<%lO!6VP!7QOyPP!7TP;=`<%l!6Vq!7]V!dpOv!5kvx!6Vx!`!5k!`!a!7r!a;\x27S!5k;\x27S;=`!8V<%lO!5kq!7yS!dpyPOv(Vx;\x27S(V;\x27S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!b`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;\x27S!8];\x27S;=`!:V<%lO!8]a!9SX!b`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;\x27S!8];\x27S;=`!:V<%lO!8]a!9vT!b`yPOr)esv)ew;\x27S)e;\x27S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!b`!dpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;\x27S!4t;\x27S;=`!;r<%lO!4t!R!;]V!b`!dpyPOr*Vrs(Vsv*Vwx)ex;\x27S*V;\x27S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!<TXjSaP!b`!dpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;\x27S&X;\x27S;=`*y<%lO&X','tokenizers':[scriptTokens,styleTokens,textareaTokens,_0x2e0a04,tagStart,commentContent,0x0,0x1,0x2,0x3,0x4,0x5],'topRules':{'Document':[0x0,0x10]},'dialects':{'noMatch':0x0,'selfClosing':0x203},'tokenPrec':0x205});function getAttrs(_0x55335a,_0x16b0e0){let _0x33f214=Object['create'](null);for(let _0x35eed9 of _0x55335a['getChildren'](Attribute)){let _0x2123ae=_0x35eed9['getChild'](AttributeName),_0x50d658=_0x35eed9['getChild'](AttributeValue)||_0x35eed9['getChild'](UnquotedAttributeValue);_0x2123ae&&(_0x33f214[_0x16b0e0['read'](_0x2123ae['from'],_0x2123ae['to'])]=_0x50d658?_0x50d658['type']['id']==AttributeValue?_0x16b0e0['read'](_0x50d658['from']+0x1,_0x50d658['to']-0x1):_0x16b0e0['read'](_0x50d658['from'],_0x50d658['to']):'');}return _0x33f214;}function _0x206bb7(_0x28aaa6,_0x57497f){let _0x2a07aa=_0x28aaa6['getChild'](_0x481ffb);return _0x2a07aa?_0x57497f['read'](_0x2a07aa['from'],_0x2a07aa['to']):'\x20';}function maybeNest(_0x51d074,_0x12dc1c,_0x5912d5){let _0x345744;for(let _0x5b3aef of _0x5912d5)if(!_0x5b3aef['attrs']||_0x5b3aef['attrs'](_0x345744||(_0x345744=getAttrs(_0x51d074['node']['parent']['firstChild'],_0x12dc1c))))return{'parser':_0x5b3aef['parser']};return null;}function configureNesting(_0x3d5dae=[],_0x2d1943=[]){let _0xa944fa=[],_0x4a8c65=[],_0x53f112=[],_0x2e51d6=[];for(let _0x4c23da of _0x3d5dae){('script'==_0x4c23da['tag']?_0xa944fa:'style'==_0x4c23da['tag']?_0x4a8c65:'textarea'==_0x4c23da['tag']?_0x53f112:_0x2e51d6)['push'](_0x4c23da);}let _0x57354c=_0x2d1943['length']?Object['create'](null):null;for(let _0x37ce1e of _0x2d1943)(_0x57354c[_0x37ce1e['name']]||(_0x57354c[_0x37ce1e['name']]=[]))['push'](_0x37ce1e);return _0x11a58b((_0xbed9dc,_0x511f4f)=>{let _0x22eb41=_0xbed9dc['type']['id'];if(_0x22eb41==ScriptText)return maybeNest(_0xbed9dc,_0x511f4f,_0xa944fa);if(_0x22eb41==StyleText)return maybeNest(_0xbed9dc,_0x511f4f,_0x4a8c65);if(_0x22eb41==TextareaText)return maybeNest(_0xbed9dc,_0x511f4f,_0x53f112);if(_0x22eb41==Element$2&&_0x2e51d6['length']){let _0x3a2c90,_0x465f39=_0xbed9dc['node'],_0x55eb7b=_0x465f39['firstChild'],_0x3586db=_0x55eb7b&&_0x206bb7(_0x55eb7b,_0x511f4f);if(_0x3586db){for(let _0x2d8c6b of _0x2e51d6)if(_0x2d8c6b['tag']==_0x3586db&&(!_0x2d8c6b['attrs']||_0x2d8c6b['attrs'](_0x3a2c90||(_0x3a2c90=getAttrs(_0x55eb7b,_0x511f4f))))){let _0x15e33a=_0x465f39['lastChild'],_0x13fcfb=_0x15e33a['type']['id']==_0x383927?_0x15e33a['from']:_0x465f39['to'];if(_0x13fcfb>_0x55eb7b['to'])return{'parser':_0x2d8c6b['parser'],'overlay':[{'from':_0x55eb7b['to'],'to':_0x13fcfb}]};}}}if(_0x57354c&&_0x22eb41==Attribute){let _0x54a6e6,_0x333062=_0xbed9dc['node'];if(_0x54a6e6=_0x333062['firstChild']){let _0x322549=_0x57354c[_0x511f4f['read'](_0x54a6e6['from'],_0x54a6e6['to'])];if(_0x322549)for(let _0x1065c4 of _0x322549){if(_0x1065c4['tagName']&&_0x1065c4['tagName']!=_0x206bb7(_0x333062['parent'],_0x511f4f))continue;let _0x3209c5=_0x333062['lastChild'];if(_0x3209c5['type']['id']==AttributeValue){let _0x4b0289=_0x3209c5['from']+0x1,_0x2996eb=_0x3209c5['lastChild'],_0xd8a8b6=_0x3209c5['to']-(_0x2996eb&&_0x2996eb['isError']?0x0:0x1);if(_0xd8a8b6>_0x4b0289)return{'parser':_0x1065c4['parser'],'overlay':[{'from':_0x4b0289,'to':_0xd8a8b6}]};}else{if(_0x3209c5['type']['id']==UnquotedAttributeValue)return{'parser':_0x1065c4['parser'],'overlay':[{'from':_0x3209c5['from'],'to':_0x3209c5['to']}]};}}}}return null;});}const descendantOp=0x7a,Unit=0x1,identifier$2=0x7b,_0xf0ed62=0x7c,_0x3c2a6f=0x2,queryIdentifier=0x7d,_0x590b37=0x3,_0xb673aa=0x4,_0x4ee332=[0x9,0xa,0xb,0xc,0xd,0x20,0x85,0xa0,0x1680,0x2000,0x2001,0x2002,0x2003,0x2004,0x2005,0x2006,0x2007,0x2008,0x2009,0x200a,0x2028,0x2029,0x202f,0x205f,0x3000],_0x43ff86=0x3a,_0x1f5939=0x28,_0x490f03=0x5f,bracketL$1=0x5b,_0x499c97=0x2d,_0x46e5d2=0x2e,_0x43bf6f=0x23,percent=0x25,_0x1fb998=0x26,_0x566f78=0x5c,_0x5969af=0xa,asterisk=0x2a;function _0x1bdaba(_0xa7f638){return _0xa7f638>=0x41&&_0xa7f638<=0x5a||_0xa7f638>=0x61&&_0xa7f638<=0x7a||_0xa7f638>=0xa1;}function isDigit(_0x4aeaff){return _0x4aeaff>=0x30&&_0x4aeaff<=0x39;}function _0x58cfe7(_0x1ad6a7){return isDigit(_0x1ad6a7)||_0x1ad6a7>=0x61&&_0x1ad6a7<=0x66||_0x1ad6a7>=0x41&&_0x1ad6a7<=0x46;}const identifierTokens=(_0x2f807a,_0x5a6493,_0x54459a)=>(_0x2b71a4,_0x193f3f)=>{for(let _0x575358=!0x1,_0x165d1f=0x0,_0x34550a=0x0;;_0x34550a++){let {next:_0x1ecbbc}=_0x2b71a4;if(_0x1bdaba(_0x1ecbbc)||_0x1ecbbc==_0x499c97||_0x1ecbbc==_0x490f03||_0x575358&&isDigit(_0x1ecbbc))!_0x575358&&(_0x1ecbbc!=_0x499c97||_0x34550a>0x0)&&(_0x575358=!0x0),_0x165d1f===_0x34550a&&_0x1ecbbc==_0x499c97&&_0x165d1f++,_0x2b71a4['advance']();else{if(_0x1ecbbc!=_0x566f78||_0x2b71a4['peek'](0x1)==_0x5969af){_0x575358&&_0x2b71a4['acceptToken'](0x2==_0x165d1f&&_0x193f3f['canShift'](_0x3c2a6f)?_0x5a6493:_0x1ecbbc==_0x1f5939?_0x54459a:_0x2f807a);break;}if(_0x2b71a4['advance'](),_0x58cfe7(_0x2b71a4['next'])){do{_0x2b71a4['advance']();}while(_0x58cfe7(_0x2b71a4['next']));0x20==_0x2b71a4['next']&&_0x2b71a4['advance']();}else _0x2b71a4['next']>-0x1&&_0x2b71a4['advance']();_0x575358=!0x0;}}},identifiers=new ExternalTokenizer(identifierTokens(identifier$2,_0x3c2a6f,_0xf0ed62)),queryIdentifiers=new ExternalTokenizer(identifierTokens(queryIdentifier,_0x590b37,_0xb673aa)),descendant=new ExternalTokenizer(_0x248b20=>{if(_0x4ee332['includes'](_0x248b20['peek'](-0x1))){let {next:_0xdbe2bb}=_0x248b20;(_0x1bdaba(_0xdbe2bb)||_0xdbe2bb==_0x490f03||_0xdbe2bb==_0x43bf6f||_0xdbe2bb==_0x46e5d2||_0xdbe2bb==asterisk||_0xdbe2bb==bracketL$1||_0xdbe2bb==_0x43ff86&&_0x1bdaba(_0x248b20['peek'](0x1))||_0xdbe2bb==_0x499c97||_0xdbe2bb==_0x1fb998)&&_0x248b20['acceptToken'](descendantOp);}}),unitToken=new ExternalTokenizer(_0x2a0fd5=>{if(!_0x4ee332['includes'](_0x2a0fd5['peek'](-0x1))){let {next:_0x15c60e}=_0x2a0fd5;if(_0x15c60e==percent&&(_0x2a0fd5['advance'](),_0x2a0fd5['acceptToken'](Unit)),_0x1bdaba(_0x15c60e)){do{_0x2a0fd5['advance']();}while(_0x1bdaba(_0x2a0fd5['next'])||isDigit(_0x2a0fd5['next']));_0x2a0fd5['acceptToken'](Unit);}}}),cssHighlighting=styleTags({'AtKeyword\x20import\x20charset\x20namespace\x20keyframes\x20media\x20supports':tags$1['definitionKeyword'],'from\x20to\x20selector':tags$1['keyword'],'NamespaceName':tags$1['namespace'],'KeyframeName':tags$1['labelName'],'KeyframeRangeName':tags$1['operatorKeyword'],'TagName':tags$1['tagName'],'ClassName':tags$1['className'],'PseudoClassName':tags$1['constant'](tags$1['className']),'IdName':tags$1['labelName'],'FeatureName\x20PropertyName':tags$1['propertyName'],'AttributeName':tags$1['attributeName'],'NumberLiteral':tags$1['number'],'KeywordQuery':tags$1['keyword'],'UnaryQueryOp':tags$1['operatorKeyword'],'CallTag\x20ValueName':tags$1['atom'],'VariableName':tags$1['variableName'],'Callee':tags$1['operatorKeyword'],'Unit':tags$1['unit'],'UniversalSelector\x20NestingSelector':tags$1['definitionOperator'],'MatchOp\x20CompareOp':tags$1['compareOperator'],'ChildOp\x20SiblingOp,\x20LogicOp':tags$1['logicOperator'],'BinOp':tags$1['arithmeticOperator'],'Important':tags$1['modifier'],'Comment':tags$1['blockComment'],'ColorLiteral':tags$1['color'],'ParenthesizedContent\x20StringLiteral':tags$1['string'],':':tags$1['punctuation'],'PseudoOp\x20#':tags$1['derefOperator'],';\x20,':tags$1['separator'],'(\x20)':tags$1['paren'],'[\x20]':tags$1['squareBracket'],'{\x20}':tags$1['brace']}),_0x3d4967={'__proto__':null,'lang':0x26,'nth-child':0x26,'nth-last-child':0x26,'nth-of-type':0x26,'nth-last-of-type':0x26,'dir':0x26,'host-context':0x26,'if':0x54,'url':0x7c,'url-prefix':0x7c,'domain':0x7c,'regexp':0x7c},spec_queryIdentifier={'__proto__':null,'or':0x62,'and':0x62,'not':0x6a,'only':0x6a,'layer':0xaa},_0x3cc3ba={'__proto__':null,'selector':0x70,'layer':0xa6},spec_AtKeyword={'__proto__':null,'@import':0xa2,'@media':0xae,'@charset':0xb2,'@namespace':0xb6,'@keyframes':0xbc,'@supports':0xc8,'@scope':0xcc},spec_identifier$1={'__proto__':null,'to':0xcf},_0x54d1e9=_0x4f33c4['deserialize']({'version':0xe,'states':'EbQYQdOOO#qQdOOP#xO`OOOOQP\x27#Cf\x27#CfOOQP\x27#Ce\x27#CeO#}QdO\x27#ChO$nQaO\x27#CcO$xQdO\x27#CkO%TQdO\x27#DpO%YQdO\x27#DrO%_QdO\x27#DuO%_QdO\x27#DxOOQP\x27#FV\x27#FVO&eQhO\x27#EhOOQS\x27#FU\x27#FUOOQS\x27#Ek\x27#EkQYQdOOO&lQdO\x27#EOO&PQhO\x27#EUO&lQdO\x27#EWO\x27aQdO\x27#EYO\x27lQdO\x27#E]O\x27tQhO\x27#EcO(VQdO\x27#EeO(bQaO\x27#CfO)VQ`O\x27#D{O)[Q`O\x27#F`O)gQdO\x27#F`QOQ`OOP)qO&jO\x27#CaPOOO)C@t)C@tOOQP\x27#Cj\x27#CjOOQP,59S,59SO#}QdO,59SO)|QdO,59VO%TQdO,5:[O%YQdO,5:^O%_QdO,5:aO%_QdO,5:cO%_QdO,5:dO%_QdO\x27#ErO*XQ`O,58}O*aQdO\x27#DzOOQS,58},58}OOQP\x27#Cn\x27#CnOOQO\x27#Dn\x27#DnOOQP,59V,59VO*hQ`O,59VO*mQ`O,59VOOQP\x27#Dq\x27#DqOOQP,5:[,5:[OOQO\x27#Ds\x27#DsO*rQpO,5:^O+]QaO,5:aO+sQaO,5:dOOQW\x27#DZ\x27#DZO,ZQhO\x27#DdO,xQhO\x27#FaO\x27tQhO\x27#DbO-WQ`O\x27#DhOOQW\x27#F[\x27#F[O-]Q`O,5;SO-eQ`O\x27#DeOOQS-E8i-E8iOOQ[\x27#Cs\x27#CsO-jQdO\x27#CtO.QQdO\x27#CzO.hQdO\x27#C}O/OQ!pO\x27#DPO1RQ!jO,5:jOOQO\x27#DU\x27#DUO*mQ`O\x27#DTO1cQ!nO\x27#FXO3`Q`O\x27#DVO3eQ`O\x27#DkOOQ[\x27#FX\x27#FXO-`Q`O,5:pO3jQ!bO,5:rOOQS\x27#E[\x27#E[O3rQ`O,5:tO3wQdO,5:tOOQO\x27#E_\x27#E_O4PQ`O,5:wO4UQhO,5:}O%_QdO\x27#DgOOQS,5;P,5;PO-eQ`O,5;PO4^QdO,5;PO4fQdO,5:gO4vQdO\x27#EtO5TQ`O,5;zO5TQ`O,5;zPOOO\x27#Ej\x27#EjP5`O&jO,58{POOO,58{,58{OOQP1G.n1G.nOOQP1G.q1G.qO*hQ`O1G.qO*mQ`O1G.qOOQP1G/v1G/vO5kQpO1G/xO5sQaO1G/{O6ZQaO1G/}O6qQaO1G0OO7XQaO,5;^OOQO-E8p-E8pOOQS1G.i1G.iO7cQ`O,5:fO7hQdO\x27#DoO7oQdO\x27#CrOOQP1G/x1G/xO&lQdO1G/xO7vQ!jO\x27#DZO8UQ!bO,59vO8^QhO,5:OOOQO\x27#F]\x27#F]O8XQ!bO,59zO\x27tQhO,59xO8fQhO\x27#EvO8sQ`O,5;{O9OQhO,59|O9uQhO\x27#DiOOQW,5:S,5:SOOQS1G0n1G0nOOQW,5:P,5:PO9|Q!fO\x27#FYOOQS\x27#FY\x27#FYOOQS\x27#Em\x27#EmO;^QdO,59`OOQ[,59`,59`O;tQdO,59fOOQ[,59f,59fO<[QdO,59iOOQ[,59i,59iOOQ[,59k,59kO&lQdO,59mO<rQhO\x27#EQOOQW\x27#EQ\x27#EQO=WQ`O1G0UO1[QhO1G0UOOQ[,59o,59oO\x27tQhO\x27#DXOOQ[,59q,59qO=]Q#tO,5:VOOQS1G0[1G0[OOQS1G0^1G0^OOQS1G0`1G0`O=hQ`O1G0`O=mQdO\x27#E`OOQS1G0c1G0cOOQS1G0i1G0iO=xQaO,5:RO-`Q`O1G0kOOQS1G0k1G0kO-eQ`O1G0kO>PQ!fO1G0ROOQO1G0R1G0ROOQO,5;`,5;`O>gQdO,5;`OOQO-E8r-E8rO>tQ`O1G1fPOOO-E8h-E8hPOOO1G.g1G.gOOQP7+$]7+$]OOQP7+%d7+%dO&lQdO7+%dOOQS1G0Q1G0QO?PQaO\x27#F_O?ZQ`O,5:ZO?`Q!fO\x27#ElO@^QdO\x27#FWO@hQ`O,59^O@mQ!bO7+%dO&lQdO1G/bO@uQhO1G/fOOQW1G/j1G/jOOQW1G/d1G/dOAWQhO,5;bOOQO-E8t-E8tOAfQhO\x27#DZOAtQhO\x27#F^OBPQ`O\x27#F^OBUQ`O,5:TOOQS-E8k-E8kOOQ[1G.z1G.zOOQ[1G/Q1G/QOOQ[1G/T1G/TOOQ[1G/X1G/XOBZQdO,5:lOOQS7+%p7+%pOB`Q`O7+%pOBeQhO\x27#DYOBmQ`O,59sO\x27tQhO,59sOOQ[1G/q1G/qOBuQ`O1G/qOOQS7+%z7+%zOBzQbO\x27#DPOOQO\x27#Eb\x27#EbOCYQ`O\x27#EaOOQO\x27#Ea\x27#EaOCeQ`O\x27#EwOCmQdO,5:zOOQS,5:z,5:zOOQ[1G/m1G/mOOQS7+&V7+&VO-`Q`O7+&VOCxQ!fO\x27#EsO&lQdO\x27#EsOEPQdO7+%mOOQO7+%m7+%mOOQO1G0z1G0zOEdQ!bO<<IOOElQdO\x27#EqOEvQ`O,5;yOOQP1G/u1G/uOOQS-E8j-E8jOFOQdO\x27#EpOFYQ`O,5;rOOQ]1G.x1G.xOOQP<<IO<<IOOFbQdO7+$|OOQO\x27#D]\x27#D]OFiQ!bO7+%QOFqQhO\x27#EoOF{Q`O,5;xO&lQdO,5;xOOQW1G/o1G/oOOQO\x27#ES\x27#ESOGTQ`O1G0WOOQS<<I[<<I[O&lQdO,59tOGnQhO1G/_OOQ[1G/_1G/_OGuQ`O1G/_OOQW-E8l-E8lOOQ[7+%]7+%]OOQO,5:{,5:{O=pQdO\x27#ExOCeQ`O,5;cOOQS,5;c,5;cOOQS-E8u-E8uOOQS1G0f1G0fOOQS<<Iq<<IqOG}Q!fO,5;_OOQS-E8q-E8qOOQO<<IX<<IXOOQPAN>jAN>jOIUQaO,5;]OOQO-E8o-E8oOI`QdO,5;[OOQO-E8n-E8nOOQW<<Hh<<HhOOQW<<Hl<<HlOIjQhO<<HlOI{QhO,5;ZOJWQ`O,5;ZOOQO-E8m-E8mOJ]QdO1G1dOBZQdO\x27#EuOJgQ`O7+%rOOQW7+%r7+%rOJoQ!bO1G/`OOQ[7+$y7+$yOJzQhO7+$yPKRQ`O\x27#EnOOQO,5;d,5;dOOQO-E8v-E8vOOQS1G0}1G0}OKWQ`OAN>WO&lQdO1G0uOK]Q`O7+\x27OOOQO,5;a,5;aOOQO-E8s-E8sOOQW<<I^<<I^OOQ[<<He<<HePOQW,5;Y,5;YOOQWG23rG23rOKeQdO7+&a','stateData':'Kx~O#sOS#tQQ~OW[OZ[O]TO`VOaVOi]OjWOmXO!jYO!mZO!saO!ybO!{cO!}dO#QeO#WfO#YgO#oRO~OQiOW[OZ[O]TO`VOaVOi]OjWOmXO!jYO!mZO!saO!ybO!{cO!}dO#QeO#WfO#YgO#ohO~O#m$SP~P!dO#tmO~O#ooO~O]qO`rOarOjsOmtO!juO!mwO#nvO~OpzO!^xO~P$SOc!QO#o|O#p}O~O#o!RO~O#o!TO~OW[OZ[O]TO`VOaVOjWOmXO!jYO!mZO#oRO~OS!]Oe!YO!V![O!Y!`O#q!XOp$TP~Ok$TP~P&POQ!jOe!cOm!dOp!eOr!mOt!mOz!kO!`!lO#o!bO#p!hO#}!fO~Ot!qO!`!lO#o!pO~Ot!sO#o!sO~OS!]Oe!YO!V![O!Y!`O#q!XO~Oe!vOpzO#Z!xO~O]YX`YX`!pXaYXjYXmYXpYX!^YX!jYX!mYX#nYX~O`!zO~Ok!{O#m$SXo$SX~O#m$SXo$SX~P!dO#u#OO#v#OO#w#QO~Oc#UO#o|O#p}O~OpzO!^xO~Oo$SP~P!dOe#`O~Oe#aO~Ol#bO!h#cO~O]qO`rOarOjsOmtO~Op!ia!^!ia!j!ia!m!ia#n!iad!ia~P*zOp!la!^!la!j!la!m!la#n!lad!la~P*zOR#gOS!]Oe!YOr#gOt#gO!V![O!Y!`O#q#dO#}!fO~O!R#iO!^#jOk$TXp$TX~Oe#mO~Ok#oOpzO~Oe!vO~O]#rO`#rOd#uOi#rOj#rOk#rO~P&lO]#rO`#rOi#rOj#rOk#rOl#wO~P&lO]#rO`#rOi#rOj#rOk#rOo#yO~P&lOP#zOSsXesXksXvsX!VsX!YsX!usX!wsX#qsX!TsXQsX]sX`sXdsXisXjsXmsXpsXrsXtsXzsX!`sX#osX#psX#}sXlsXosX!^sX!qsX#msX~Ov#{O!u#|O!w#}Ok$TP~P\x27tOe#aOS#{Xk#{Xv#{X!V#{X!Y#{X!u#{X!w#{X#q#{XQ#{X]#{X`#{Xd#{Xi#{Xj#{Xm#{Xp#{Xr#{Xt#{Xz#{X!`#{X#o#{X#p#{X#}#{Xl#{Xo#{X!^#{X!q#{X#m#{X~Oe$RO~Oe$TO~Ok$VOv#{O~Ok$WO~Ot$XO!`!lO~Op$YO~OpzO!R#iO~OpzO#Z$`O~O!q$bOk!oa#m!oao!oa~P&lOk#hX#m#hXo#hX~P!dOk!{O#m$Sao$Sa~O#u#OO#v#OO#w$hO~Ol$jO!h$kO~Op!ii!^!ii!j!ii!m!ii#n!iid!ii~P*zOp!ki!^!ki!j!ki!m!ki#n!kid!ki~P*zOp!li!^!li!j!li!m!li#n!lid!li~P*zOp#fa!^#fa~P$SOo$lO~Od$RP~P%_Od#zP~P&lO`!PXd}X!R}X!T!PX~O`$sO!T$tO~Od$uO!R#iO~Ok#jXp#jX!^#jX~P\x27tO!^#jOk$Tap$Ta~O!R#iOk!Uap!Ua!^!Uad!Ua`!Ua~OS!]Oe!YO!V![O!Y!`O#q$yO~Od$QP~P9dOv#{OQ#|X]#|X`#|Xd#|Xe#|Xi#|Xj#|Xk#|Xm#|Xp#|Xr#|Xt#|Xz#|X!`#|X#o#|X#p#|X#}#|Xl#|Xo#|X~O]#rO`#rOd%OOi#rOj#rOk#rO~P&lO]#rO`#rOi#rOj#rOk#rOl%PO~P&lO]#rO`#rOi#rOj#rOk#rOo%QO~P&lOe%SOS!tXk!tX!V!tX!Y!tX#q!tX~Ok%TO~Od%YOt%ZO!a%ZO~Ok%[O~Oo%cO#o%^O#}%]O~Od%dO~P$SOv#{O!^%hO!q%jOk!oi#m!oio!oi~P&lOk#ha#m#hao#ha~P!dOk!{O#m$Sio$Si~O!^%mOd$RX~P$SOd%oO~Ov#{OQ#`Xd#`Xe#`Xm#`Xp#`Xr#`Xt#`Xz#`X!^#`X!`#`X#o#`X#p#`X#}#`X~O!^%qOd#zX~P&lOd%sO~Ol%tOv#{O~OR#gOr#gOt#gO#q%vO#}!fO~O!R#iOk#jap#ja!^#ja~O`!PXd}X!R}X!^}X~O!R#iO!^%xOd$QX~O`%zO~Od%{O~O#o%|O~Ok&OO~O`&PO!R#iO~Od&ROk&QO~Od&UO~OP#zOpsX!^sXdsX~O#}%]Op#TX!^#TX~OpzO!^&WO~Oo&[O#o%^O#}%]O~Ov#{OQ#gXe#gXk#gXm#gXp#gXr#gXt#gXz#gX!^#gX!`#gX!q#gX#m#gX#o#gX#p#gX#}#gXo#gX~O!^%hO!q&`Ok!oq#m!oqo!oq~P&lOl&aOv#{O~Od#eX!^#eX~P%_O!^%mOd$Ra~Od#dX!^#dX~P&lO!^%qOd#za~Od&fO~P&lOd&gO!T&hO~Od#cX!^#cX~P9dO!^%xOd$Qa~O]&mOd&oO~OS#bae#ba!V#ba!Y#ba#q#ba~Od&qO~PG]Od&qOk&rO~Ov#{OQ#gae#gak#gam#gap#gar#gat#gaz#ga!^#ga!`#ga!q#ga#m#ga#o#ga#p#ga#}#gao#ga~Od#ea!^#ea~P$SOd#da!^#da~P&lOR#gOr#gOt#gO#q%vO#}%]O~O!R#iOd#ca!^#ca~O`&xO~O!^%xOd$Qi~P&lO]&mOd&|O~Ov#{Od|ik|i~Od&}O~PG]Ok\x27OO~Od\x27PO~O!^%xOd$Qq~Od#cq!^#cq~P&lO#s!a#t#}]#}v!m~','goto':'2h$UPPPPP$VP$YP$c$uP$cP%X$cPP%_PPP%e%o%oPPPPP%oPP%oP&]P%oP%o\x27W%oP\x27t\x27w\x27}\x27}(^\x27}P\x27}P\x27}P\x27}\x27}P(m\x27}(yP(|PP)p)v$c)|$c*SP$cP$c$cP*Y*{+YP$YP+aP+dP$YP$YP$YP+j$YP+m+p+s+z$YP$YPP$YP,P,V,f,|-[-b-l-r-x.O.U.`.f.l.rPPPPPPPPPPP.x/R/w/z0|P1U1u2O2R2U2[RnQ_^OP`kz!{$dq[OPYZ`kuvwxz!v!{#`$d%mqSOPYZ`kuvwxz!v!{#`$d%mQpTR#RqQ!OVR#SrQ#S!QS$Q!i!jR$i#U!V!mac!c!d!e!z#a#c#t#v#x#{$a$k$p$s%h%i%q%u%z&P&d&l&x\x27Q!U!mac!c!d!e!z#a#c#t#v#x#{$a$k$p$s%h%i%q%u%z&P&d&l&x\x27QU#g!Y$t&hU%`$Y%b&WR&V%_!V!iac!c!d!e!z#a#c#t#v#x#{$a$k$p$s%h%i%q%u%z&P&d&l&x\x27QR$S!kQ%W$RR&S%Xk!^]bf!Y![!g#i#j#m$P$R%X%xQ#e!YQ${#mQ%w$tQ&j%xR&w&hQ!ygQ#p!`Q$^!xR%f$`R#n!]!U!mac!c!d!e!z#a#c#t#v#x#{$a$k$p$s%h%i%q%u%z&P&d&l&x\x27QQ!qdR$X!rQ!PVR#TrQ#S!PR$i#TQ!SWR#VsQ!UXR#WtQ{UQ!wgQ#^yQ#o!_Q$U!nQ$[!uQ$_!yQ%e$^Q&Y%aQ&]%fR&v&XSjPzQ!}kQ$c!{R%k$dZiPkz!{$dR$P!gQ%}%SR&z&mR!rdR!teR$Z!tS%a$Y%bR&t&WV%_$Y%b&WQ#PmR$g#PQ`OSkPzU!a`k$dR$d!{Q$p#aY%p$p%u&d&l\x27QQ%u$sQ&d%qQ&l%zR\x27Q&xQ#t!cQ#v!dQ#x!eV$}#t#v#xQ%X$RR&T%XQ%y$zS&k%y&yR&y&lQ%r$pR&e%rQ%n$mR&c%nQyUR#]yQ%i$aR&_%iQ!|jS$e!|$fR$f!}Q&n%}R&{&nQ#k!ZR$x#kQ%b$YR&Z%bQ&X%aR&u&X__OP`kz!{$d^UOP`kz!{$dQ!VYQ!WZQ#XuQ#YvQ#ZwQ#[xQ$]!vQ$m#`R&b%mR$q#aQ!gaQ!oc[#q!c!d!e#t#v#xQ$a!zd$o#a$p$s%q%u%z&d&l&x\x27QQ$r#cQ%R#{S%g$a%iQ%l$kQ&^%hR&p&P]#s!c!d!e#t#v#xW!Z]b!g$PQ!ufQ#f!YQ#l![Q$v#iQ$w#jQ$z#mS%V$R%XR&i%xQ#h!YQ%w$tR&w&hR$|#mR$n#`QlPR#_zQ!_]Q!nbQ$O!gR%U$P','nodeNames':'⚠\x20Unit\x20VariableName\x20VariableName\x20QueryCallee\x20Comment\x20StyleSheet\x20RuleSet\x20UniversalSelector\x20TagSelector\x20TagName\x20NestingSelector\x20ClassSelector\x20.\x20ClassName\x20PseudoClassSelector\x20:\x20::\x20PseudoClassName\x20PseudoClassName\x20)\x20(\x20ArgList\x20ValueName\x20ParenthesizedValue\x20AtKeyword\x20#\x20;\x20]\x20[\x20BracketedValue\x20}\x20{\x20BracedValue\x20ColorLiteral\x20NumberLiteral\x20StringLiteral\x20BinaryExpression\x20BinOp\x20CallExpression\x20Callee\x20IfExpression\x20if\x20ArgList\x20IfBranch\x20KeywordQuery\x20FeatureQuery\x20FeatureName\x20BinaryQuery\x20LogicOp\x20ComparisonQuery\x20CompareOp\x20UnaryQuery\x20UnaryQueryOp\x20ParenthesizedQuery\x20SelectorQuery\x20selector\x20ParenthesizedSelector\x20CallQuery\x20ArgList\x20,\x20CallLiteral\x20CallTag\x20ParenthesizedContent\x20PseudoClassName\x20ArgList\x20IdSelector\x20IdName\x20AttributeSelector\x20AttributeName\x20MatchOp\x20ChildSelector\x20ChildOp\x20DescendantSelector\x20SiblingSelector\x20SiblingOp\x20Block\x20Declaration\x20PropertyName\x20Important\x20ImportStatement\x20import\x20Layer\x20layer\x20LayerName\x20layer\x20MediaStatement\x20media\x20CharsetStatement\x20charset\x20NamespaceStatement\x20namespace\x20NamespaceName\x20KeyframesStatement\x20keyframes\x20KeyframeName\x20KeyframeList\x20KeyframeSelector\x20KeyframeRangeName\x20SupportsStatement\x20supports\x20ScopeStatement\x20scope\x20to\x20AtRule\x20Styles','maxTerm':0x8f,'nodeProps':[['isolate',-0x2,0x5,0x24,''],['openedBy',0x14,'(',0x1c,'[',0x1f,'{'],['closedBy',0x15,')',0x1d,']',0x20,'}']],'propSources':[cssHighlighting],'skippedNodes':[0x0,0x5,0x6a],'repeatNodeCount':0xf,'tokenData':'JQ~R!YOX$qX^%i^p$qpq%iqr({rs-ust/itu6Wuv$qvw7Qwx7cxy9Qyz9cz{9h{|:R|}>t}!O?V!O!P?t!P!Q@]!Q![AU![!]BP!]!^B{!^!_C^!_!`DY!`!aDm!a!b$q!b!cEn!c!}$q!}#OG{#O#P$q#P#QH^#Q#R6W#R#o$q#o#pHo#p#q6W#q#rIQ#r#sIc#s#y$q#y#z%i#z$f$q$f$g%i$g#BY$q#BY#BZ%i#BZ$IS$q$IS$I_%i$I_$I|$q$I|$JO%i$JO$JT$q$JT$JU%i$JU$KV$q$KV$KW%i$KW&FU$q&FU&FV%i&FV;\x27S$q;\x27S;=`Iz<%lO$q`$tSOy%Qz;\x27S%Q;\x27S;=`%c<%lO%Q`%VS!a`Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%Q`%fP;=`<%l%Q~%nh#s~OX%QX^\x27Y^p%Qpq\x27Yqy%Qz#y%Q#y#z\x27Y#z$f%Q$f$g\x27Y$g#BY%Q#BY#BZ\x27Y#BZ$IS%Q$IS$I_\x27Y$I_$I|%Q$I|$JO\x27Y$JO$JT%Q$JT$JU\x27Y$JU$KV%Q$KV$KW\x27Y$KW&FU%Q&FU&FV\x27Y&FV;\x27S%Q;\x27S;=`%c<%lO%Q~\x27ah#s~!a`OX%QX^\x27Y^p%Qpq\x27Yqy%Qz#y%Q#y#z\x27Y#z$f%Q$f$g\x27Y$g#BY%Q#BY#BZ\x27Y#BZ$IS%Q$IS$I_\x27Y$I_$I|%Q$I|$JO\x27Y$JO$JT%Q$JT$JU\x27Y$JU$KV%Q$KV$KW\x27Y$KW&FU%Q&FU&FV\x27Y&FV;\x27S%Q;\x27S;=`%c<%lO%Qj)OUOy%Qz#]%Q#]#^)b#^;\x27S%Q;\x27S;=`%c<%lO%Qj)gU!a`Oy%Qz#a%Q#a#b)y#b;\x27S%Q;\x27S;=`%c<%lO%Qj*OU!a`Oy%Qz#d%Q#d#e*b#e;\x27S%Q;\x27S;=`%c<%lO%Qj*gU!a`Oy%Qz#c%Q#c#d*y#d;\x27S%Q;\x27S;=`%c<%lO%Qj+OU!a`Oy%Qz#f%Q#f#g+b#g;\x27S%Q;\x27S;=`%c<%lO%Qj+gU!a`Oy%Qz#h%Q#h#i+y#i;\x27S%Q;\x27S;=`%c<%lO%Qj,OU!a`Oy%Qz#T%Q#T#U,b#U;\x27S%Q;\x27S;=`%c<%lO%Qj,gU!a`Oy%Qz#b%Q#b#c,y#c;\x27S%Q;\x27S;=`%c<%lO%Qj-OU!a`Oy%Qz#h%Q#h#i-b#i;\x27S%Q;\x27S;=`%c<%lO%Qj-iS!qY!a`Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%Q~-xWOY-uZr-urs.bs#O-u#O#P.g#P;\x27S-u;\x27S;=`/c<%lO-u~.gOt~~.jRO;\x27S-u;\x27S;=`.s;=`O-u~.vXOY-uZr-urs.bs#O-u#O#P.g#P;\x27S-u;\x27S;=`/c;=`<%l-u<%lO-u~/fP;=`<%l-uj/nYjYOy%Qz!Q%Q!Q![0^![!c%Q!c!i0^!i#T%Q#T#Z0^#Z;\x27S%Q;\x27S;=`%c<%lO%Qj0cY!a`Oy%Qz!Q%Q!Q![1R![!c%Q!c!i1R!i#T%Q#T#Z1R#Z;\x27S%Q;\x27S;=`%c<%lO%Qj1WY!a`Oy%Qz!Q%Q!Q![1v![!c%Q!c!i1v!i#T%Q#T#Z1v#Z;\x27S%Q;\x27S;=`%c<%lO%Qj1}YrY!a`Oy%Qz!Q%Q!Q![2m![!c%Q!c!i2m!i#T%Q#T#Z2m#Z;\x27S%Q;\x27S;=`%c<%lO%Qj2tYrY!a`Oy%Qz!Q%Q!Q![3d![!c%Q!c!i3d!i#T%Q#T#Z3d#Z;\x27S%Q;\x27S;=`%c<%lO%Qj3iY!a`Oy%Qz!Q%Q!Q![4X![!c%Q!c!i4X!i#T%Q#T#Z4X#Z;\x27S%Q;\x27S;=`%c<%lO%Qj4`YrY!a`Oy%Qz!Q%Q!Q![5O![!c%Q!c!i5O!i#T%Q#T#Z5O#Z;\x27S%Q;\x27S;=`%c<%lO%Qj5TY!a`Oy%Qz!Q%Q!Q![5s![!c%Q!c!i5s!i#T%Q#T#Z5s#Z;\x27S%Q;\x27S;=`%c<%lO%Qj5zSrY!a`Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%Qd6ZUOy%Qz!_%Q!_!`6m!`;\x27S%Q;\x27S;=`%c<%lO%Qd6tS!hS!a`Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%Qb7VSZQOy%Qz;\x27S%Q;\x27S;=`%c<%lO%Q~7fWOY7cZw7cwx.bx#O7c#O#P8O#P;\x27S7c;\x27S;=`8z<%lO7c~8RRO;\x27S7c;\x27S;=`8[;=`O7c~8_XOY7cZw7cwx.bx#O7c#O#P8O#P;\x27S7c;\x27S;=`8z;=`<%l7c<%lO7c~8}P;=`<%l7cj9VSeYOy%Qz;\x27S%Q;\x27S;=`%c<%lO%Q~9hOd~n9oUWQvWOy%Qz!_%Q!_!`6m!`;\x27S%Q;\x27S;=`%c<%lO%Qj:YWvW!mQOy%Qz!O%Q!O!P:r!P!Q%Q!Q![=w![;\x27S%Q;\x27S;=`%c<%lO%Qj:wU!a`Oy%Qz!Q%Q!Q![;Z![;\x27S%Q;\x27S;=`%c<%lO%Qj;bY!a`#}YOy%Qz!Q%Q!Q![;Z![!g%Q!g!h<Q!h#X%Q#X#Y<Q#Y;\x27S%Q;\x27S;=`%c<%lO%Qj<VY!a`Oy%Qz{%Q{|<u|}%Q}!O<u!O!Q%Q!Q![=^![;\x27S%Q;\x27S;=`%c<%lO%Qj<zU!a`Oy%Qz!Q%Q!Q![=^![;\x27S%Q;\x27S;=`%c<%lO%Qj=eU!a`#}YOy%Qz!Q%Q!Q![=^![;\x27S%Q;\x27S;=`%c<%lO%Qj>O[!a`#}YOy%Qz!O%Q!O!P;Z!P!Q%Q!Q![=w![!g%Q!g!h<Q!h#X%Q#X#Y<Q#Y;\x27S%Q;\x27S;=`%c<%lO%Qj>yS!^YOy%Qz;\x27S%Q;\x27S;=`%c<%lO%Qj?[WvWOy%Qz!O%Q!O!P:r!P!Q%Q!Q![=w![;\x27S%Q;\x27S;=`%c<%lO%Qj?yU]YOy%Qz!Q%Q!Q![;Z![;\x27S%Q;\x27S;=`%c<%lO%Q~@bTvWOy%Qz{@q{;\x27S%Q;\x27S;=`%c<%lO%Q~@xS!a`#t~Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%QjAZ[#}YOy%Qz!O%Q!O!P;Z!P!Q%Q!Q![=w![!g%Q!g!h<Q!h#X%Q#X#Y<Q#Y;\x27S%Q;\x27S;=`%c<%lO%QjBUU`YOy%Qz![%Q![!]Bh!];\x27S%Q;\x27S;=`%c<%lO%QbBoSaQ!a`Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%QjCQSkYOy%Qz;\x27S%Q;\x27S;=`%c<%lO%QhCcU!TWOy%Qz!_%Q!_!`Cu!`;\x27S%Q;\x27S;=`%c<%lO%QhC|S!TW!a`Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%QlDaS!TW!hSOy%Qz;\x27S%Q;\x27S;=`%c<%lO%QjDtV!jQ!TWOy%Qz!_%Q!_!`Cu!`!aEZ!a;\x27S%Q;\x27S;=`%c<%lO%QbEbS!jQ!a`Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%QjEqYOy%Qz}%Q}!OFa!O!c%Q!c!}GO!}#T%Q#T#oGO#o;\x27S%Q;\x27S;=`%c<%lO%QjFfW!a`Oy%Qz!c%Q!c!}GO!}#T%Q#T#oGO#o;\x27S%Q;\x27S;=`%c<%lO%QjGV[iY!a`Oy%Qz}%Q}!OGO!O!Q%Q!Q![GO![!c%Q!c!}GO!}#T%Q#T#oGO#o;\x27S%Q;\x27S;=`%c<%lO%QjHQSmYOy%Qz;\x27S%Q;\x27S;=`%c<%lO%QnHcSl^Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%QjHtSpYOy%Qz;\x27S%Q;\x27S;=`%c<%lO%QjIVSoYOy%Qz;\x27S%Q;\x27S;=`%c<%lO%QfIhU!mQOy%Qz!_%Q!_!`6m!`;\x27S%Q;\x27S;=`%c<%lO%Q`I}P;=`<%l$q','tokenizers':[descendant,unitToken,identifiers,queryIdentifiers,0x1,0x2,0x3,0x4,new _0x54c8d5('m~RRYZ[z{a~~g~aO#v~~dP!P!Qg~lO#w~~',0x1c,0x81)],'topRules':{'StyleSheet':[0x0,0x6],'Styles':[0x1,0x69]},'specialized':[{'term':0x7c,'get':_0x2eb16d=>_0x3d4967[_0x2eb16d]||-0x1},{'term':0x7d,'get':_0x50571b=>spec_queryIdentifier[_0x50571b]||-0x1},{'term':0x4,'get':_0x59d4f3=>_0x3cc3ba[_0x59d4f3]||-0x1},{'term':0x19,'get':_0x53d5de=>spec_AtKeyword[_0x53d5de]||-0x1},{'term':0x7b,'get':_0x104d5d=>spec_identifier$1[_0x104d5d]||-0x1}],'tokenPrec':0x7ab});let _properties=null;function properties(){if(!_properties&&'object'==typeof document&&document['body']){let {style:_0x2db7ff}=document['body'],_0x111150=[],_0x16dc22=new Set();for(let _0x35c8c1 in _0x2db7ff)'cssText'!=_0x35c8c1&&'cssFloat'!=_0x35c8c1&&'string'==typeof _0x2db7ff[_0x35c8c1]&&(/[A-Z]/['test'](_0x35c8c1)&&(_0x35c8c1=_0x35c8c1['replace'](/[A-Z]/g,_0x5e3f1e=>'-'+_0x5e3f1e['toLowerCase']())),_0x16dc22['has'](_0x35c8c1)||(_0x111150['push'](_0x35c8c1),_0x16dc22['add'](_0x35c8c1)));_properties=_0x111150['sort']()['map'](_0x2580ae=>({'type':'property','label':_0x2580ae,'apply':_0x2580ae+':\x20'}));}return _properties||[];}const _0x354130=['active','after','any-link','autofill','backdrop','before','checked','cue','default','defined','disabled','empty','enabled','file-selector-button','first','first-child','first-letter','first-line','first-of-type','focus','focus-visible','focus-within','fullscreen','has','host','host-context','hover','in-range','indeterminate','invalid','is','lang','last-child','last-of-type','left','link','marker','modal','not','nth-child','nth-last-child','nth-last-of-type','nth-of-type','only-child','only-of-type','optional','out-of-range','part','placeholder','placeholder-shown','read-only','read-write','required','right','root','scope','selection','slotted','target','target-text','valid','visited','where']['map'](_0x3a16e3=>({'type':'class','label':_0x3a16e3})),_0x3182bd=['above','absolute','activeborder','additive','activecaption','after-white-space','ahead','alias','all','all-scroll','alphabetic','alternate','always','antialiased','appworkspace','asterisks','attr','auto','auto-flow','avoid','avoid-column','avoid-page','avoid-region','axis-pan','background','backwards','baseline','below','bidi-override','blink','block','block-axis','bold','bolder','border','border-box','both','bottom','break','break-all','break-word','bullets','button','button-bevel','buttonface','buttonhighlight','buttonshadow','buttontext','calc','capitalize','caps-lock-indicator','caption','captiontext','caret','cell','center','checkbox','circle','cjk-decimal','clear','clip','close-quote','col-resize','collapse','color','color-burn','color-dodge','column','column-reverse','compact','condensed','contain','content','contents','content-box','context-menu','continuous','copy','counter','counters','cover','crop','cross','crosshair','currentcolor','cursive','cyclic','darken','dashed','decimal','decimal-leading-zero','default','default-button','dense','destination-atop','destination-in','destination-out','destination-over','difference','disc','discard','disclosure-closed','disclosure-open','document','dot-dash','dot-dot-dash','dotted','double','down','e-resize','ease','ease-in','ease-in-out','ease-out','element','ellipse','ellipsis','embed','end','ethiopic-abegede-gez','ethiopic-halehame-aa-er','ethiopic-halehame-gez','ew-resize','exclusion','expanded','extends','extra-condensed','extra-expanded','fantasy','fast','fill','fill-box','fixed','flat','flex','flex-end','flex-start','footnotes','forwards','from','geometricPrecision','graytext','grid','groove','hand','hard-light','help','hidden','hide','higher','highlight','highlighttext','horizontal','hsl','hsla','hue','icon','ignore','inactiveborder','inactivecaption','inactivecaptiontext','infinite','infobackground','infotext','inherit','initial','inline','inline-axis','inline-block','inline-flex','inline-grid','inline-table','inset','inside','intrinsic','invert','italic','justify','keep-all','landscape','large','larger','left','level','lighter','lighten','line-through','linear','linear-gradient','lines','list-item','listbox','listitem','local','logical','loud','lower','lower-hexadecimal','lower-latin','lower-norwegian','lowercase','ltr','luminosity','manipulation','match','matrix','matrix3d','medium','menu','menutext','message-box','middle','min-intrinsic','mix','monospace','move','multiple','multiple_mask_images','multiply','n-resize','narrower','ne-resize','nesw-resize','no-close-quote','no-drop','no-open-quote','no-repeat','none','normal','not-allowed','nowrap','ns-resize','numbers','numeric','nw-resize','nwse-resize','oblique','opacity','open-quote','optimizeLegibility','optimizeSpeed','outset','outside','outside-shape','overlay','overline','padding','padding-box','painted','page','paused','perspective','pinch-zoom','plus-darker','plus-lighter','pointer','polygon','portrait','pre','pre-line','pre-wrap','preserve-3d','progress','push-button','radial-gradient','radio','read-only','read-write','read-write-plaintext-only','rectangle','region','relative','repeat','repeating-linear-gradient','repeating-radial-gradient','repeat-x','repeat-y','reset','reverse','rgb','rgba','ridge','right','rotate','rotate3d','rotateX','rotateY','rotateZ','round','row','row-resize','row-reverse','rtl','run-in','running','s-resize','sans-serif','saturation','scale','scale3d','scaleX','scaleY','scaleZ','screen','scroll','scrollbar','scroll-position','se-resize','self-start','self-end','semi-condensed','semi-expanded','separate','serif','show','single','skew','skewX','skewY','skip-white-space','slide','slider-horizontal','slider-vertical','sliderthumb-horizontal','sliderthumb-vertical','slow','small','small-caps','small-caption','smaller','soft-light','solid','source-atop','source-in','source-out','source-over','space','space-around','space-between','space-evenly','spell-out','square','start','static','status-bar','stretch','stroke','stroke-box','sub','subpixel-antialiased','svg_masks','super','sw-resize','symbolic','symbols','system-ui','table','table-caption','table-cell','table-column','table-column-group','table-footer-group','table-header-group','table-row','table-row-group','text','text-bottom','text-top','textarea','textfield','thick','thin','threeddarkshadow','threedface','threedhighlight','threedlightshadow','threedshadow','to','top','transform','translate','translate3d','translateX','translateY','translateZ','transparent','ultra-condensed','ultra-expanded','underline','unidirectional-pan','unset','up','upper-latin','uppercase','url','var','vertical','vertical-text','view-box','visible','visibleFill','visiblePainted','visibleStroke','visual','w-resize','wait','wave','wider','window','windowframe','windowtext','words','wrap','wrap-reverse','x-large','x-small','xor','xx-large','xx-small']['map'](_0x4a1ae3=>({'type':'keyword','label':_0x4a1ae3}))['concat'](['aliceblue','antiquewhite','aqua','aquamarine','azure','beige','bisque','black','blanchedalmond','blue','blueviolet','brown','burlywood','cadetblue','chartreuse','chocolate','coral','cornflowerblue','cornsilk','crimson','cyan','darkblue','darkcyan','darkgoldenrod','darkgray','darkgreen','darkkhaki','darkmagenta','darkolivegreen','darkorange','darkorchid','darkred','darksalmon','darkseagreen','darkslateblue','darkslategray','darkturquoise','darkviolet','deeppink','deepskyblue','dimgray','dodgerblue','firebrick','floralwhite','forestgreen','fuchsia','gainsboro','ghostwhite','gold','goldenrod','gray','grey','green','greenyellow','honeydew','hotpink','indianred','indigo','ivory','khaki','lavender','lavenderblush','lawngreen','lemonchiffon','lightblue','lightcoral','lightcyan','lightgoldenrodyellow','lightgray','lightgreen','lightpink','lightsalmon','lightseagreen','lightskyblue','lightslategray','lightsteelblue','lightyellow','lime','limegreen','linen','magenta','maroon','mediumaquamarine','mediumblue','mediumorchid','mediumpurple','mediumseagreen','mediumslateblue','mediumspringgreen','mediumturquoise','mediumvioletred','midnightblue','mintcream','mistyrose','moccasin','navajowhite','navy','oldlace','olive','olivedrab','orange','orangered','orchid','palegoldenrod','palegreen','paleturquoise','palevioletred','papayawhip','peachpuff','peru','pink','plum','powderblue','purple','rebeccapurple','red','rosybrown','royalblue','saddlebrown','salmon','sandybrown','seagreen','seashell','sienna','silver','skyblue','slateblue','slategray','snow','springgreen','steelblue','tan','teal','thistle','tomato','turquoise','violet','wheat','white','whitesmoke','yellow','yellowgreen']['map'](_0x4c2f44=>({'type':'constant','label':_0x4c2f44}))),tags=['a','abbr','address','article','aside','b','bdi','bdo','blockquote','body','br','button','canvas','caption','cite','code','col','colgroup','dd','del','details','dfn','dialog','div','dl','dt','em','figcaption','figure','footer','form','header','hgroup','h1','h2','h3','h4','h5','h6','hr','html','i','iframe','img','input','ins','kbd','label','legend','li','main','meter','nav','ol','output','p','pre','ruby','section','select','small','source','span','strong','sub','summary','sup','table','tbody','td','template','textarea','tfoot','th','thead','tr','u','ul']['map'](_0x244227=>({'type':'type','label':_0x244227})),atRules=['@charset','@color-profile','@container','@counter-style','@font-face','@font-feature-values','@font-palette-values','@import','@keyframes','@layer','@media','@namespace','@page','@position-try','@property','@scope','@starting-style','@supports','@view-transition']['map'](_0x3ffb39=>({'type':'keyword','label':_0x3ffb39})),identifier$1=/^(\w[\w-]*|-\w[\w-]*|)$/,_0x2c8553=/^-(-[\w-]*)?$/;function _0x2cb90f(_0xe7133b,_0x439b8e){var _0xb468c2;if(('('==_0xe7133b['name']||_0xe7133b['type']['isError'])&&(_0xe7133b=_0xe7133b['parent']||_0xe7133b),'ArgList'!=_0xe7133b['name'])return!0x1;let _0x9fd069=null===(_0xb468c2=_0xe7133b['parent'])||void 0x0===_0xb468c2?void 0x0:_0xb468c2['firstChild'];return'Callee'==(null==_0x9fd069?void 0x0:_0x9fd069['name'])&&'var'==_0x439b8e['sliceString'](_0x9fd069['from'],_0x9fd069['to']);}const _0x384033=new _0x190bcf(),declSelector=['Declaration'];function astTop(_0x299cc3){for(let _0x3bbd01=_0x299cc3;;){if(_0x3bbd01['type']['isTop'])return _0x3bbd01;if(!(_0x3bbd01=_0x3bbd01['parent']))return _0x299cc3;}}function _0x530651(_0x120bdf,_0x4f3dc9,_0x305a11){if(_0x4f3dc9['to']-_0x4f3dc9['from']>0x1000){let _0x1923c3=_0x384033['get'](_0x4f3dc9);if(_0x1923c3)return _0x1923c3;let _0xa8e96=[],_0x45374f=new Set(),_0x441140=_0x4f3dc9['cursor'](IterMode['IncludeAnonymous']);if(_0x441140['firstChild']())do{for(let _0x159d94 of _0x530651(_0x120bdf,_0x441140['node'],_0x305a11))_0x45374f['has'](_0x159d94['label'])||(_0x45374f['add'](_0x159d94['label']),_0xa8e96['push'](_0x159d94));}while(_0x441140['nextSibling']());return _0x384033['set'](_0x4f3dc9,_0xa8e96),_0xa8e96;}{let _0x579d75=[],_0x5ddb8e=new Set();return _0x4f3dc9['cursor']()['iterate'](_0xccb65b=>{var _0x110228;if(_0x305a11(_0xccb65b)&&_0xccb65b['matchContext'](declSelector)&&':'==(null===(_0x110228=_0xccb65b['node']['nextSibling'])||void 0x0===_0x110228?void 0x0:_0x110228['name'])){let _0x1ca9ea=_0x120bdf['sliceString'](_0xccb65b['from'],_0xccb65b['to']);_0x5ddb8e['has'](_0x1ca9ea)||(_0x5ddb8e['add'](_0x1ca9ea),_0x579d75['push']({'label':_0x1ca9ea,'type':'variable'}));}}),_0x579d75;}}const defineCSSCompletionSource=_0x38c4ab=>_0x4934a6=>{let {state:_0x4311f2,pos:_0x497979}=_0x4934a6,_0x45c187=syntaxTree(_0x4311f2)['resolveInner'](_0x497979,-0x1),_0x21da53=_0x45c187['type']['isError']&&_0x45c187['from']==_0x45c187['to']-0x1&&'-'==_0x4311f2['doc']['sliceString'](_0x45c187['from'],_0x45c187['to']);if('PropertyName'==_0x45c187['name']||(_0x21da53||'TagName'==_0x45c187['name'])&&/^(Block|Styles)$/['test'](_0x45c187['resolve'](_0x45c187['to'])['name']))return{'from':_0x45c187['from'],'options':properties(),'validFor':identifier$1};if('ValueName'==_0x45c187['name'])return{'from':_0x45c187['from'],'options':_0x3182bd,'validFor':identifier$1};if('PseudoClassName'==_0x45c187['name'])return{'from':_0x45c187['from'],'options':_0x354130,'validFor':identifier$1};if(_0x38c4ab(_0x45c187)||(_0x4934a6['explicit']||_0x21da53)&&_0x2cb90f(_0x45c187,_0x4311f2['doc']))return{'from':_0x38c4ab(_0x45c187)||_0x21da53?_0x45c187['from']:_0x497979,'options':_0x530651(_0x4311f2['doc'],astTop(_0x45c187),_0x38c4ab),'validFor':_0x2c8553};if('TagName'==_0x45c187['name']){for(let {parent:_0xaf845a}=_0x45c187;_0xaf845a;_0xaf845a=_0xaf845a['parent'])if('Block'==_0xaf845a['name'])return{'from':_0x45c187['from'],'options':properties(),'validFor':identifier$1};return{'from':_0x45c187['from'],'options':tags,'validFor':identifier$1};}if('AtKeyword'==_0x45c187['name'])return{'from':_0x45c187['from'],'options':atRules,'validFor':identifier$1};if(!_0x4934a6['explicit'])return null;let _0x1f6763=_0x45c187['resolve'](_0x497979),_0xe125e9=_0x1f6763['childBefore'](_0x497979);return _0xe125e9&&':'==_0xe125e9['name']&&'PseudoClassSelector'==_0x1f6763['name']?{'from':_0x497979,'options':_0x354130,'validFor':identifier$1}:_0xe125e9&&':'==_0xe125e9['name']&&'Declaration'==_0x1f6763['name']||'ArgList'==_0x1f6763['name']?{'from':_0x497979,'options':_0x3182bd,'validFor':identifier$1}:'Block'==_0x1f6763['name']||'Styles'==_0x1f6763['name']?{'from':_0x497979,'options':properties(),'validFor':identifier$1}:null;},cssCompletionSource=defineCSSCompletionSource(_0x3092df=>'VariableName'==_0x3092df['name']),_0x28cded=_0x383241['define']({'name':'css','parser':_0x54d1e9['configure']({'props':[indentNodeProp['add']({'Declaration':continuedIndent()}),_0x586808['add']({'Block\x20KeyframeList':_0x35c32f})]}),'languageData':{'commentTokens':{'block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*\}$/,'wordChars':'-'}});function _0x52f72f(){return new LanguageSupport(_0x28cded,_0x28cded['data']['of']({'autocomplete':cssCompletionSource}));}const _0x3592ff=0x13c,_0x358fe6=0x13d,_0x3cb8ac=0x1,_0xf89a4b=0x2,questionDot=0x3,JSXStartTag=0x4,insertSemi=0x13e,_0x3835a8=0x140,_0x25b066=0x141,LineComment=0x5,BlockComment=0x6,Dialect_jsx=0x0,_0x1a754f=[0x9,0xa,0xb,0xc,0xd,0x20,0x85,0xa0,0x1680,0x2000,0x2001,0x2002,0x2003,0x2004,0x2005,0x2006,0x2007,0x2008,0x2009,0x200a,0x2028,0x2029,0x202f,0x205f,0x3000],_0x35433c=0x7d,_0x13dfb1=0x3b,_0x1e4848=0x2f,star=0x2a,_0x3c0c4d=0x2b,_0x41647e=0x2d,lt=0x3c,_0x2fb7b1=0x2c,question=0x3f,dot=0x2e,bracketL=0x5b,trackNewline=new ContextTracker({'start':!0x1,'shift':(_0x2bc16c,_0x53b3ed)=>_0x53b3ed==LineComment||_0x53b3ed==BlockComment||_0x53b3ed==_0x3835a8?_0x2bc16c:_0x53b3ed==_0x25b066,'strict':!0x1}),insertSemicolon=new ExternalTokenizer((_0x30ff9c,_0x4c649e)=>{let {next:_0x1bfed9}=_0x30ff9c;(_0x1bfed9==_0x35433c||-0x1==_0x1bfed9||_0x4c649e['context'])&&_0x30ff9c['acceptToken'](insertSemi);},{'contextual':!0x0,'fallback':!0x0}),_0x21c1bb=new ExternalTokenizer((_0x270965,_0x7445dc)=>{let _0x10ae6d,{next:_0x5876df}=_0x270965;_0x1a754f['indexOf'](_0x5876df)>-0x1||(_0x5876df!=_0x1e4848||(_0x10ae6d=_0x270965['peek'](0x1))!=_0x1e4848&&_0x10ae6d!=star)&&(_0x5876df==_0x35433c||_0x5876df==_0x13dfb1||-0x1==_0x5876df||_0x7445dc['context']||_0x270965['acceptToken'](_0x3592ff));},{'contextual':!0x0}),_0x2837d4=new ExternalTokenizer((_0x5e007c,_0x1172be)=>{_0x5e007c['next']!=bracketL||_0x1172be['context']||_0x5e007c['acceptToken'](_0x358fe6);},{'contextual':!0x0}),operatorToken=new ExternalTokenizer((_0x8cc066,_0x58f4b3)=>{let {next:_0x297f23}=_0x8cc066;if(_0x297f23==_0x3c0c4d||_0x297f23==_0x41647e){if(_0x8cc066['advance'](),_0x297f23==_0x8cc066['next']){_0x8cc066['advance']();let _0x5d213a=!_0x58f4b3['context']&&_0x58f4b3['canShift'](_0x3cb8ac);_0x8cc066['acceptToken'](_0x5d213a?_0x3cb8ac:_0xf89a4b);}}else _0x297f23==question&&_0x8cc066['peek'](0x1)==dot&&(_0x8cc066['advance'](),_0x8cc066['advance'](),(_0x8cc066['next']<0x30||_0x8cc066['next']>0x39)&&_0x8cc066['acceptToken'](questionDot));},{'contextual':!0x0});function identifierChar(_0x303094,_0x2f4116){return _0x303094>=0x41&&_0x303094<=0x5a||_0x303094>=0x61&&_0x303094<=0x7a||0x5f==_0x303094||_0x303094>=0xc0||!_0x2f4116&&_0x303094>=0x30&&_0x303094<=0x39;}const _0x44a589=new ExternalTokenizer((_0x3dcdbc,_0x5de101)=>{if(_0x3dcdbc['next']!=lt||!_0x5de101['dialectEnabled'](Dialect_jsx))return;if(_0x3dcdbc['advance'](),_0x3dcdbc['next']==_0x1e4848)return;let _0x3dc093=0x0;for(;_0x1a754f['indexOf'](_0x3dcdbc['next'])>-0x1;)_0x3dcdbc['advance'](),_0x3dc093++;if(identifierChar(_0x3dcdbc['next'],!0x0)){for(_0x3dcdbc['advance'](),_0x3dc093++;identifierChar(_0x3dcdbc['next'],!0x1);)_0x3dcdbc['advance'](),_0x3dc093++;for(;_0x1a754f['indexOf'](_0x3dcdbc['next'])>-0x1;)_0x3dcdbc['advance'](),_0x3dc093++;if(_0x3dcdbc['next']==_0x2fb7b1)return;for(let _0x1b96f9=0x0;;_0x1b96f9++){if(0x7==_0x1b96f9){if(!identifierChar(_0x3dcdbc['next'],!0x0))return;break;}if(_0x3dcdbc['next']!='extends'['charCodeAt'](_0x1b96f9))break;_0x3dcdbc['advance'](),_0x3dc093++;}}_0x3dcdbc['acceptToken'](JSXStartTag,-_0x3dc093);}),jsHighlight=styleTags({'get\x20set\x20async\x20static':tags$1['modifier'],'for\x20while\x20do\x20if\x20else\x20switch\x20try\x20catch\x20finally\x20return\x20throw\x20break\x20continue\x20default\x20case\x20defer':tags$1['controlKeyword'],'in\x20of\x20await\x20yield\x20void\x20typeof\x20delete\x20instanceof\x20as\x20satisfies':tags$1['operatorKeyword'],'let\x20var\x20const\x20using\x20function\x20class\x20extends':tags$1['definitionKeyword'],'import\x20export\x20from':tags$1['moduleKeyword'],'with\x20debugger\x20new':tags$1['keyword'],'TemplateString':tags$1['special'](tags$1['string']),'super':tags$1['atom'],'BooleanLiteral':tags$1['bool'],'this':tags$1['self'],'null':tags$1['null'],'Star':tags$1['modifier'],'VariableName':tags$1['variableName'],'CallExpression/VariableName\x20TaggedTemplateExpression/VariableName':tags$1['function'](tags$1['variableName']),'VariableDefinition':tags$1['definition'](tags$1['variableName']),'Label':tags$1['labelName'],'PropertyName':tags$1['propertyName'],'PrivatePropertyName':tags$1['special'](tags$1['propertyName']),'CallExpression/MemberExpression/PropertyName':tags$1['function'](tags$1['propertyName']),'FunctionDeclaration/VariableDefinition':tags$1['function'](tags$1['definition'](tags$1['variableName'])),'ClassDeclaration/VariableDefinition':tags$1['definition'](tags$1['className']),'NewExpression/VariableName':tags$1['className'],'PropertyDefinition':tags$1['definition'](tags$1['propertyName']),'PrivatePropertyDefinition':tags$1['definition'](tags$1['special'](tags$1['propertyName'])),'UpdateOp':tags$1['updateOperator'],'LineComment\x20Hashbang':tags$1['lineComment'],'BlockComment':tags$1['blockComment'],'Number':tags$1['number'],'String':tags$1['string'],'Escape':tags$1['escape'],'ArithOp':tags$1['arithmeticOperator'],'LogicOp':tags$1['logicOperator'],'BitOp':tags$1['bitwiseOperator'],'CompareOp':tags$1['compareOperator'],'RegExp':tags$1['regexp'],'Equals':tags$1['definitionOperator'],'Arrow':tags$1['function'](tags$1['punctuation']),':\x20Spread':tags$1['punctuation'],'(\x20)':tags$1['paren'],'[\x20]':tags$1['squareBracket'],'{\x20}':tags$1['brace'],'InterpolationStart\x20InterpolationEnd':tags$1['special'](tags$1['brace']),'.':tags$1['derefOperator'],',\x20;':tags$1['separator'],'@':tags$1['meta'],'TypeName':tags$1['typeName'],'TypeDefinition':tags$1['definition'](tags$1['typeName']),'type\x20enum\x20interface\x20implements\x20namespace\x20module\x20declare':tags$1['definitionKeyword'],'abstract\x20global\x20Privacy\x20readonly\x20override':tags$1['modifier'],'is\x20keyof\x20unique\x20infer\x20asserts':tags$1['operatorKeyword'],'JSXAttributeValue':tags$1['attributeValue'],'JSXText':tags$1['content'],'JSXStartTag\x20JSXStartCloseTag\x20JSXSelfCloseEndTag\x20JSXEndTag':tags$1['angleBracket'],'JSXIdentifier\x20JSXNameSpacedName':tags$1['tagName'],'JSXAttribute/JSXIdentifier\x20JSXAttribute/JSXNameSpacedName':tags$1['attributeName'],'JSXBuiltin/JSXIdentifier':tags$1['standard'](tags$1['tagName'])}),spec_identifier={'__proto__':null,'export':0x14,'as':0x19,'from':0x21,'default':0x24,'async':0x29,'function':0x2a,'in':0x34,'out':0x37,'const':0x38,'extends':0x3c,'this':0x40,'true':0x48,'false':0x48,'null':0x54,'void':0x58,'typeof':0x5c,'super':0x6c,'new':0x8e,'delete':0x9a,'yield':0xa3,'await':0xa7,'class':0xac,'public':0xeb,'private':0xeb,'protected':0xeb,'readonly':0xed,'instanceof':0x100,'satisfies':0x103,'import':0x124,'keyof':0x15d,'unique':0x161,'infer':0x167,'asserts':0x18b,'is':0x18d,'abstract':0x1a1,'implements':0x1a3,'type':0x1a5,'let':0x1a8,'var':0x1aa,'using':0x1ad,'interface':0x1b3,'enum':0x1b7,'namespace':0x1bd,'module':0x1bf,'declare':0x1c3,'global':0x1c7,'defer':0x1d7,'for':0x1dc,'of':0x1e5,'while':0x1e8,'with':0x1ec,'do':0x1f0,'if':0x1f4,'else':0x1f6,'switch':0x1fa,'case':0x200,'try':0x206,'catch':0x20a,'finally':0x20e,'return':0x212,'throw':0x216,'break':0x21a,'continue':0x21e,'debugger':0x222},_0x3a5d99={'__proto__':null,'async':0x81,'get':0x83,'set':0x85,'declare':0xc3,'public':0xc5,'private':0xc5,'protected':0xc5,'static':0xc7,'abstract':0xc9,'override':0xcb,'readonly':0xd1,'accessor':0xd3,'new':0x191},_0x5914cd={'__proto__':null,'<':0xc1},_0x388d8e=_0x4f33c4['deserialize']({'version':0xe,'states':'$F|Q%TQlOOO%[QlOOO\x27_QpOOP(lO`OOO*zQ!0MxO\x27#CiO+RO#tO\x27#CjO+aO&jO\x27#CjO+oO#@ItO\x27#DaO.QQlO\x27#DgO.bQlO\x27#DrO%[QlO\x27#DzO0fQlO\x27#ESOOQ!0Lf\x27#E[\x27#E[O1PQ`O\x27#EXOOQO\x27#Ep\x27#EpOOQO\x27#Il\x27#IlO1XQ`O\x27#GsO1dQ`O\x27#EoO1iQ`O\x27#EoO3hQ!0MxO\x27#JrO6[Q!0MxO\x27#JsO6uQ`O\x27#F]O6zQ,UO\x27#FtOOQ!0Lf\x27#Ff\x27#FfO7VO7dO\x27#FfO9XQMhO\x27#F|O9`Q`O\x27#F{OOQ!0Lf\x27#Js\x27#JsOOQ!0Lb\x27#Jr\x27#JrO9eQ`O\x27#GwOOQ[\x27#K_\x27#K_O9pQ`O\x27#IYO9uQ!0LrO\x27#IZOOQ[\x27#J`\x27#J`OOQ[\x27#I_\x27#I_Q`QlOOQ`QlOOO9}Q!L^O\x27#DvO:UQlO\x27#EOO:]QlO\x27#EQO9kQ`O\x27#GsO:dQMhO\x27#CoO:rQ`O\x27#EnO:}Q`O\x27#EyO;hQMhO\x27#FeO;xQ`O\x27#GsOOQO\x27#K`\x27#K`O;}Q`O\x27#K`O<]Q`O\x27#G{O<]Q`O\x27#G|O<]Q`O\x27#HOO9kQ`O\x27#HRO=SQ`O\x27#HUO>kQ`O\x27#CeO>{Q`O\x27#HcO?TQ`O\x27#HiO?TQ`O\x27#HkO`QlO\x27#HmO?TQ`O\x27#HoO?TQ`O\x27#HrO?YQ`O\x27#HxO?_Q!0LsO\x27#IOO%[QlO\x27#IQO?jQ!0LsO\x27#ISO?uQ!0LsO\x27#IUO9uQ!0LrO\x27#IWO@QQ!0MxO\x27#CiOASQpO\x27#DlQOQ`OOO%[QlO\x27#EQOAjQ`O\x27#ETO:dQMhO\x27#EnOAuQ`O\x27#EnOBQQ!bO\x27#FeOOQ[\x27#Cg\x27#CgOOQ!0Lb\x27#Dq\x27#DqOOQ!0Lb\x27#Jv\x27#JvO%[QlO\x27#JvOOQO\x27#Jy\x27#JyOOQO\x27#Ih\x27#IhOCQQpO\x27#EgOOQ!0Lb\x27#Ef\x27#EfOOQ!0Lb\x27#J}\x27#J}OC|Q!0MSO\x27#EgODWQpO\x27#EWOOQO\x27#Jx\x27#JxODlQpO\x27#JyOEyQpO\x27#EWODWQpO\x27#EgPFWO&2DjO\x27#CbPOOO)CD})CD}OOOO\x27#I`\x27#I`OFcO#tO,59UOOQ!0Lh,59U,59UOOOO\x27#Ia\x27#IaOFqO&jO,59UOGPQ!L^O\x27#DcOOOO\x27#Ic\x27#IcOGWO#@ItO,59{OOQ!0Lf,59{,59{OGfQlO\x27#IdOGyQ`O\x27#JtOIxQ!fO\x27#JtO+}QlO\x27#JtOJPQ`O,5:ROJgQ`O\x27#EpOJtQ`O\x27#KTOKPQ`O\x27#KSOKPQ`O\x27#KSOKXQ`O,5;^OK^Q`O\x27#KROOQ!0Ln,5:^,5:^OKeQlO,5:^OMcQ!0MxO,5:fONSQ`O,5:nONmQ!0LrO\x27#KQONtQ`O\x27#KPO9eQ`O\x27#KPO!\x20YQ`O\x27#KPO!\x20bQ`O,5;]O!\x20gQ`O\x27#KPO!#lQ!fO\x27#JsOOQ!0Lh\x27#Ci\x27#CiO%[QlO\x27#ESO!$[Q!fO,5:sOOQS\x27#Jz\x27#JzOOQO-E<j-E<jO9kQ`O,5=_O!$rQ`O,5=_O!$wQlO,5;ZO!&zQMhO\x27#EkO!(eQ`O,5;ZO!(jQlO\x27#DyO!(tQpO,5;dO!(|QpO,5;dO%[QlO,5;dOOQ[\x27#FT\x27#FTOOQ[\x27#FV\x27#FVO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eOOQ[\x27#FZ\x27#FZO!)[QlO,5;tOOQ!0Lf,5;y,5;yOOQ!0Lf,5;z,5;zOOQ!0Lf,5;|,5;|O%[QlO\x27#IpO!+_Q!0LrO,5<iO%[QlO,5;eO!&zQMhO,5;eO!+|QMhO,5;eO!-nQMhO\x27#E^O%[QlO,5;wOOQ!0Lf,5;{,5;{O!-uQ,UO\x27#FjO!.rQ,UO\x27#KXO!.^Q,UO\x27#KXO!.yQ,UO\x27#KXOOQO\x27#KX\x27#KXO!/_Q,UO,5<SOOOW,5<`,5<`O!/pQlO\x27#FvOOOW\x27#Io\x27#IoO7VO7dO,5<QO!/wQ,UO\x27#FxOOQ!0Lf,5<Q,5<QO!0hQ$IUO\x27#CyOOQ!0Lh\x27#C}\x27#C}O!0{O#@ItO\x27#DRO!1iQMjO,5<eO!1pQ`O,5<hO!3YQ(CWO\x27#GXO!3jQ`O\x27#GYO!3oQ`O\x27#GYO!5_Q(CWO\x27#G^O!6dQpO\x27#GbOOQO\x27#Gn\x27#GnO!,TQMhO\x27#GmOOQO\x27#Gp\x27#GpO!,TQMhO\x27#GoO!7VQ$IUO\x27#JlOOQ!0Lh\x27#Jl\x27#JlO!7aQ`O\x27#JkO!7oQ`O\x27#JjO!7wQ`O\x27#CuOOQ!0Lh\x27#C{\x27#C{O!8YQ`O\x27#C}OOQ!0Lh\x27#DV\x27#DVOOQ!0Lh\x27#DX\x27#DXO!8_Q`O,5<eO1SQ`O\x27#DZO!,TQMhO\x27#GPO!,TQMhO\x27#GRO!8gQ`O\x27#GTO!8lQ`O\x27#GUO!3oQ`O\x27#G[O!,TQMhO\x27#GaO<]Q`O\x27#JkO!8qQ`O\x27#EqO!9`Q`O,5<gOOQ!0Lb\x27#Cr\x27#CrO!9hQ`O\x27#ErO!:bQpO\x27#EsOOQ!0Lb\x27#KR\x27#KRO!:iQ!0LrO\x27#KaO9uQ!0LrO,5=cO`QlO,5>tOOQ[\x27#Jh\x27#JhOOQ[,5>u,5>uOOQ[-E<]-E<]O!<hQ!0MxO,5:bO!:]QpO,5:`O!?RQ!0MxO,5:jO%[QlO,5:jO!AiQ!0MxO,5:lOOQO,5@z,5@zO!BYQMhO,5=_O!BhQ!0LrO\x27#JiO9`Q`O\x27#JiO!ByQ!0LrO,59ZO!CUQpO,59ZO!C^QMhO,59ZO:dQMhO,59ZO!CiQ`O,5;ZO!CqQ`O\x27#HbO!DVQ`O\x27#KdO%[QlO,5;}O!:]QpO,5<PO!D_Q`O,5=zO!DdQ`O,5=zO!DiQ`O,5=zO!DwQ`O,5=zO9uQ!0LrO,5=zO<]Q`O,5=jOOQO\x27#Cy\x27#CyO!EOQpO,5=gO!EWQMhO,5=hO!EcQ`O,5=jO!EhQ!bO,5=mO!EpQ`O\x27#K`O?YQ`O\x27#HWO9kQ`O\x27#HYO!EuQ`O\x27#HYO:dQMhO\x27#H[O!EzQ`O\x27#H[OOQ[,5=p,5=pO!FPQ`O\x27#H]O!FbQ`O\x27#CoO!FgQ`O,59PO!FqQ`O,59PO!HvQlO,59POOQ[,59P,59PO!IWQ!0LrO,59PO%[QlO,59PO!KcQlO\x27#HeOOQ[\x27#Hf\x27#HfOOQ[\x27#Hg\x27#HgO`QlO,5=}O!KyQ`O,5=}O`QlO,5>TO`QlO,5>VO!LOQ`O,5>XO`QlO,5>ZO!LTQ`O,5>^O!LYQlO,5>dOOQ[,5>j,5>jO%[QlO,5>jO9uQ!0LrO,5>lOOQ[,5>n,5>nO#!dQ`O,5>nOOQ[,5>p,5>pO#!dQ`O,5>pOOQ[,5>r,5>rO##QQpO\x27#D_O%[QlO\x27#JvO##sQpO\x27#JvO##}QpO\x27#DmO#$`QpO\x27#DmO#&qQlO\x27#DmO#&xQ`O\x27#JuO#\x27QQ`O,5:WO#\x27VQ`O\x27#EtO#\x27eQ`O\x27#KUO#\x27mQ`O,5;_O#\x27rQpO\x27#DmO#(PQpO\x27#EVOOQ!0Lf,5:o,5:oO%[QlO,5:oO#(WQ`O,5:oO?YQ`O,5;YO!CUQpO,5;YO!C^QMhO,5;YO:dQMhO,5;YO#(`Q`O,5@bO#(eQ07dO,5:sOOQO-E<f-E<fO#)kQ!0MSO,5;RODWQpO,5:rO#)uQpO,5:rODWQpO,5;RO!ByQ!0LrO,5:rOOQ!0Lb\x27#Ej\x27#EjOOQO,5;R,5;RO%[QlO,5;RO#*SQ!0LrO,5;RO#*_Q!0LrO,5;RO!CUQpO,5:rOOQO,5;X,5;XO#*mQ!0LrO,5;RPOOO\x27#I^\x27#I^P#+RO&2DjO,58|POOO,58|,58|OOOO-E<^-E<^OOQ!0Lh1G.p1G.pOOOO-E<_-E<_OOOO,59},59}O#+^Q!bO,59}OOOO-E<a-E<aOOQ!0Lf1G/g1G/gO#+cQ!fO,5?OO+}QlO,5?OOOQO,5?U,5?UO#+mQlO\x27#IdOOQO-E<b-E<bO#+zQ`O,5@`O#,SQ!fO,5@`O#,ZQ`O,5@nOOQ!0Lf1G/m1G/mO%[QlO,5@oO#,cQ`O\x27#IjOOQO-E<h-E<hO#,ZQ`O,5@nOOQ!0Lb1G0x1G0xOOQ!0Ln1G/x1G/xOOQ!0Ln1G0Y1G0YO%[QlO,5@lO#,wQ!0LrO,5@lO#-YQ!0LrO,5@lO#-aQ`O,5@kO9eQ`O,5@kO#-iQ`O,5@kO#-wQ`O\x27#ImO#-aQ`O,5@kOOQ!0Lb1G0w1G0wO!(tQpO,5:uO!)PQpO,5:uOOQS,5:w,5:wO#.iQdO,5:wO#.qQMhO1G2yO9kQ`O1G2yOOQ!0Lf1G0u1G0uO#/PQ!0MxO1G0uO#0UQ!0MvO,5;VOOQ!0Lh\x27#GW\x27#GWO#0rQ!0MzO\x27#JlO!$wQlO1G0uO#2}Q!fO\x27#JwO%[QlO\x27#JwO#3XQ`O,5:eOOQ!0Lh\x27#D_\x27#D_OOQ!0Lf1G1O1G1OO%[QlO1G1OOOQ!0Lf1G1f1G1fO#3^Q`O1G1OO#5rQ!0MxO1G1PO#5yQ!0MxO1G1PO#8aQ!0MxO1G1PO#8hQ!0MxO1G1PO#;OQ!0MxO1G1PO#=fQ!0MxO1G1PO#=mQ!0MxO1G1PO#=tQ!0MxO1G1PO#@[Q!0MxO1G1PO#@cQ!0MxO1G1PO#BpQ?MtO\x27#CiO#DkQ?MtO1G1`O#DrQ?MtO\x27#JsO#EVQ!0MxO,5?[OOQ!0Lb-E<n-E<nO#GdQ!0MxO1G1PO#HaQ!0MzO1G1POOQ!0Lf1G1P1G1PO#IdQMjO\x27#J|O#InQ`O,5:xO#IsQ!0MxO1G1cO#JgQ,UO,5<WO#JoQ,UO,5<XO#JwQ,UO\x27#FoO#K`Q`O\x27#FnOOQO\x27#KY\x27#KYOOQO\x27#In\x27#InO#KeQ,UO1G1nOOQ!0Lf1G1n1G1nOOOW1G1y1G1yO#KvQ?MtO\x27#JrO#LQQ`O,5<bO!)[QlO,5<bOOOW-E<m-E<mOOQ!0Lf1G1l1G1lO#LVQpO\x27#KXOOQ!0Lf,5<d,5<dO#L_QpO,5<dO#LdQMhO\x27#DTOOOO\x27#Ib\x27#IbO#LkO#@ItO,59mOOQ!0Lh,59m,59mO%[QlO1G2PO!8lQ`O\x27#IrO#LvQ`O,5<zOOQ!0Lh,5<w,5<wO!,TQMhO\x27#IuO#MdQMjO,5=XO!,TQMhO\x27#IwO#NVQMjO,5=ZO!&zQMhO,5=]OOQO1G2S1G2SO#NaQ!dO\x27#CrO#NtQ(CWO\x27#ErO$\x20|QpO\x27#GbO$!dQ!dO,5<sO$!kQ`O\x27#K[O9eQ`O\x27#K[O$!yQ`O,5<uO$#aQ!dO\x27#C{O!,TQMhO,5<tO$#kQ`O\x27#GZO$$PQ`O,5<tO$$UQ!dO\x27#GWO$$cQ!dO\x27#K]O$$mQ`O\x27#K]O!&zQMhO\x27#K]O$$rQ`O,5<xO$$wQlO\x27#JvO$%RQpO\x27#GcO#$`QpO\x27#GcO$%dQ`O\x27#GgO!3oQ`O\x27#GkO$%iQ!0LrO\x27#ItO$%tQpO,5<|OOQ!0Lp,5<|,5<|O$%{QpO\x27#GcO$&YQpO\x27#GdO$&kQpO\x27#GdO$&pQMjO,5=XO$\x27QQMjO,5=ZOOQ!0Lh,5=^,5=^O!,TQMhO,5@VO!,TQMhO,5@VO$\x27bQ`O\x27#IyO$\x27vQ`O,5@UO$(OQ`O,59aOOQ!0Lh,59i,59iO$(TQ`O,5@VO$)TQ$IYO,59uOOQ!0Lh\x27#Jp\x27#JpO$)vQMjO,5<kO$*iQMjO,5<mO@zQ`O,5<oOOQ!0Lh,5<p,5<pO$*sQ`O,5<vO$*xQMjO,5<{O$+YQ`O\x27#KPO!$wQlO1G2RO$+_Q`O1G2RO9eQ`O\x27#KSO9eQ`O\x27#EtO%[QlO\x27#EtO9eQ`O\x27#I{O$+dQ!0LrO,5@{OOQ[1G2}1G2}OOQ[1G4`1G4`OOQ!0Lf1G/|1G/|OOQ!0Lf1G/z1G/zO$-fQ!0MxO1G0UOOQ[1G2y1G2yO!&zQMhO1G2yO%[QlO1G2yO#.tQ`O1G2yO$/jQMhO\x27#EkOOQ!0Lb,5@T,5@TO$/wQ!0LrO,5@TOOQ[1G.u1G.uO!ByQ!0LrO1G.uO!CUQpO1G.uO!C^QMhO1G.uO$0YQ`O1G0uO$0_Q`O\x27#CiO$0jQ`O\x27#KeO$0rQ`O,5=|O$0wQ`O\x27#KeO$0|Q`O\x27#KeO$1[Q`O\x27#JRO$1jQ`O,5AOO$1rQ!fO1G1iOOQ!0Lf1G1k1G1kO9kQ`O1G3fO@zQ`O1G3fO$1yQ`O1G3fO$2OQ`O1G3fO!DiQ`O1G3fO9uQ!0LrO1G3fOOQ[1G3f1G3fO!EcQ`O1G3UO!&zQMhO1G3RO$2TQ`O1G3ROOQ[1G3S1G3SO!&zQMhO1G3SO$2YQ`O1G3SO$2bQpO\x27#HQOOQ[1G3U1G3UO!6_QpO\x27#I}O!EhQ!bO1G3XOOQ[1G3X1G3XOOQ[,5=r,5=rO$2jQMhO,5=tO9kQ`O,5=tO$%dQ`O,5=vO9`Q`O,5=vO!CUQpO,5=vO!C^QMhO,5=vO:dQMhO,5=vO$2xQ`O\x27#KcO$3TQ`O,5=wOOQ[1G.k1G.kO$3YQ!0LrO1G.kO@zQ`O1G.kO$3eQ`O1G.kO9uQ!0LrO1G.kO$5mQ!fO,5AQO$5zQ`O,5AQO9eQ`O,5AQO$6VQlO,5>PO$6^Q`O,5>POOQ[1G3i1G3iO`QlO1G3iOOQ[1G3o1G3oOOQ[1G3q1G3qO?TQ`O1G3sO$6cQlO1G3uO$:gQlO\x27#HtOOQ[1G3x1G3xO$:tQ`O\x27#HzO?YQ`O\x27#H|OOQ[1G4O1G4OO$:|QlO1G4OO9uQ!0LrO1G4UOOQ[1G4W1G4WOOQ!0Lb\x27#G_\x27#G_O9uQ!0LrO1G4YO9uQ!0LrO1G4[O$?TQ`O,5@bO!)[QlO,5;`O9eQ`O,5;`O?YQ`O,5:XO!)[QlO,5:XO!CUQpO,5:XO$?YQ?MtO,5:XOOQO,5;`,5;`O$?dQpO\x27#IeO$?zQ`O,5@aOOQ!0Lf1G/r1G/rO$@SQpO\x27#IkO$@^Q`O,5@pOOQ!0Lb1G0y1G0yO#$`QpO,5:XOOQO\x27#Ig\x27#IgO$@fQpO,5:qOOQ!0Ln,5:q,5:qO#(ZQ`O1G0ZOOQ!0Lf1G0Z1G0ZO%[QlO1G0ZOOQ!0Lf1G0t1G0tO?YQ`O1G0tO!CUQpO1G0tO!C^QMhO1G0tOOQ!0Lb1G5|1G5|O!ByQ!0LrO1G0^OOQO1G0m1G0mO%[QlO1G0mO$@mQ!0LrO1G0mO$@xQ!0LrO1G0mO!CUQpO1G0^ODWQpO1G0^O$AWQ!0LrO1G0mOOQO1G0^1G0^O$AlQ!0MxO1G0mPOOO-E<[-E<[POOO1G.h1G.hOOOO1G/i1G/iO$AvQ!bO,5<iO$BOQ!fO1G4jOOQO1G4p1G4pO%[QlO,5?OO$BYQ`O1G5zO$BbQ`O1G6YO$BjQ!fO1G6ZO9eQ`O,5?UO$BtQ!0MxO1G6WO%[QlO1G6WO$CUQ!0LrO1G6WO$CgQ`O1G6VO$CgQ`O1G6VO9eQ`O1G6VO$CoQ`O,5?XO9eQ`O,5?XOOQO,5?X,5?XO$DTQ`O,5?XO$+YQ`O,5?XOOQO-E<k-E<kOOQS1G0a1G0aOOQS1G0c1G0cO#.lQ`O1G0cOOQ[7+(e7+(eO!&zQMhO7+(eO%[QlO7+(eO$DcQ`O7+(eO$DnQMhO7+(eO$D|Q!0MzO,5=XO$GXQ!0MzO,5=ZO$IdQ!0MzO,5=XO$KuQ!0MzO,5=ZO$NWQ!0MzO,59uO%!]Q!0MzO,5<kO%$hQ!0MzO,5<mO%&sQ!0MzO,5<{OOQ!0Lf7+&a7+&aO%)UQ!0MxO7+&aO%)xQlO\x27#IfO%*VQ`O,5@cO%*_Q!fO,5@cOOQ!0Lf1G0P1G0PO%*iQ`O7+&jOOQ!0Lf7+&j7+&jO%*nQ?MtO,5:fO%[QlO7+&zO%*xQ?MtO,5:bO%+VQ?MtO,5:jO%+aQ?MtO,5:lO%+kQMhO\x27#IiO%+uQ`O,5@hOOQ!0Lh1G0d1G0dOOQO1G1r1G1rOOQO1G1s1G1sO%+}Q!jO,5<ZO!)[QlO,5<YOOQO-E<l-E<lOOQ!0Lf7+\x27Y7+\x27YOOOW7+\x27e7+\x27eOOOW1G1|1G1|O%,YQ`O1G1|OOQ!0Lf1G2O1G2OOOOO,59o,59oO%,_Q!dO,59oOOOO-E<`-E<`OOQ!0Lh1G/X1G/XO%,fQ!0MxO7+\x27kOOQ!0Lh,5?^,5?^O%-YQMhO1G2fP%-aQ`O\x27#IrPOQ!0Lh-E<p-E<pO%-}QMjO,5?aOOQ!0Lh-E<s-E<sO%.pQMjO,5?cOOQ!0Lh-E<u-E<uO%.zQ!dO1G2wO%/RQ!dO\x27#CrO%/iQMhO\x27#KSO$$wQlO\x27#JvOOQ!0Lh1G2_1G2_O%/sQ`O\x27#IqO%0[Q`O,5@vO%0[Q`O,5@vO%0dQ`O,5@vO%0oQ`O,5@vOOQO1G2a1G2aO%0}QMjO1G2`O$+YQ`O\x27#K[O!,TQMhO1G2`O%1_Q(CWO\x27#IsO%1lQ`O,5@wO!&zQMhO,5@wO%1tQ!dO,5@wOOQ!0Lh1G2d1G2dO%4UQ!fO\x27#CiO%4`Q`O,5=POOQ!0Lb,5<},5<}O%4hQpO,5<}OOQ!0Lb,5=O,5=OOCwQ`O,5<}O%4sQpO,5<}OOQ!0Lb,5=R,5=RO$+YQ`O,5=VOOQO,5?`,5?`OOQO-E<r-E<rOOQ!0Lp1G2h1G2hO#$`QpO,5<}O$$wQlO,5=PO%5RQ`O,5=OO%5^QpO,5=OO!,TQMhO\x27#IuO%6WQMjO1G2sO!,TQMhO\x27#IwO%6yQMjO1G2uO%7TQMjO1G5qO%7_QMjO1G5qOOQO,5?e,5?eOOQO-E<w-E<wOOQO1G.{1G.{O!,TQMhO1G5qO!,TQMhO1G5qO!:]QpO,59wO%[QlO,59wOOQ!0Lh,5<j,5<jO%7lQ`O1G2ZO!,TQMhO1G2bO%7qQ!0MxO7+\x27mOOQ!0Lf7+\x27m7+\x27mO!$wQlO7+\x27mO%8eQ`O,5;`OOQ!0Lb,5?g,5?gOOQ!0Lb-E<y-E<yO%8jQ!dO\x27#K^O#(ZQ`O7+(eO4UQ!fO7+(eO$DfQ`O7+(eO%8tQ!0MvO\x27#CiO%9XQ!0MvO,5=SO%9lQ`O,5=SO%9tQ`O,5=SOOQ!0Lb1G5o1G5oOOQ[7+$a7+$aO!ByQ!0LrO7+$aO!CUQpO7+$aO!$wQlO7+&aO%9yQ`O\x27#JQO%:bQ`O,5APOOQO1G3h1G3hO9kQ`O,5APO%:bQ`O,5APO%:jQ`O,5APOOQO,5?m,5?mOOQO-E=P-E=POOQ!0Lf7+\x27T7+\x27TO%:oQ`O7+)QO9uQ!0LrO7+)QO9kQ`O7+)QO@zQ`O7+)QO%:tQ`O7+)QOOQ[7+)Q7+)QOOQ[7+(p7+(pO%:yQ!0MvO7+(mO!&zQMhO7+(mO!E^Q`O7+(nOOQ[7+(n7+(nO!&zQMhO7+(nO%;TQ`O\x27#KbO%;`Q`O,5=lOOQO,5?i,5?iOOQO-E<{-E<{OOQ[7+(s7+(sO%<rQpO\x27#HZOOQ[1G3`1G3`O!&zQMhO1G3`O%[QlO1G3`O%<yQ`O1G3`O%=UQMhO1G3`O9uQ!0LrO1G3bO$%dQ`O1G3bO9`Q`O1G3bO!CUQpO1G3bO!C^QMhO1G3bO%=dQ`O\x27#JPO%=xQ`O,5@}O%>QQpO,5@}OOQ!0Lb1G3c1G3cOOQ[7+$V7+$VO@zQ`O7+$VO9uQ!0LrO7+$VO%>]Q`O7+$VO%[QlO1G6lO%[QlO1G6mO%>bQ!0LrO1G6lO%>lQlO1G3kO%>sQ`O1G3kO%>xQlO1G3kOOQ[7+)T7+)TO9uQ!0LrO7+)_O`QlO7+)aOOQ[\x27#Kh\x27#KhOOQ[\x27#JS\x27#JSO%?PQlO,5>`OOQ[,5>`,5>`O%[QlO\x27#HuO%?^Q`O\x27#HwOOQ[,5>f,5>fO9eQ`O,5>fOOQ[,5>h,5>hOOQ[7+)j7+)jOOQ[7+)p7+)pOOQ[7+)t7+)tOOQ[7+)v7+)vO%?cQpO1G5|O%?}Q?MtO1G0zO%@XQ`O1G0zOOQO1G/s1G/sO%@dQ?MtO1G/sO?YQ`O1G/sO!)[QlO\x27#DmOOQO,5?P,5?POOQO-E<c-E<cOOQO,5?V,5?VOOQO-E<i-E<iO!CUQpO1G/sOOQO-E<e-E<eOOQ!0Ln1G0]1G0]OOQ!0Lf7+%u7+%uO#(ZQ`O7+%uOOQ!0Lf7+&`7+&`O?YQ`O7+&`O!CUQpO7+&`OOQO7+%x7+%xO$AlQ!0MxO7+&XOOQO7+&X7+&XO%[QlO7+&XO%@nQ!0LrO7+&XO!ByQ!0LrO7+%xO!CUQpO7+%xO%@yQ!0LrO7+&XO%AXQ!0MxO7++rO%[QlO7++rO%AiQ`O7++qO%AiQ`O7++qOOQO1G4s1G4sO9eQ`O1G4sO%AqQ`O1G4sOOQS7+%}7+%}O#(ZQ`O<<LPO4UQ!fO<<LPO%BPQ`O<<LPOOQ[<<LP<<LPO!&zQMhO<<LPO%[QlO<<LPO%BXQ`O<<LPO%BdQ!0MzO,5?aO%DoQ!0MzO,5?cO%FzQ!0MzO1G2`O%I]Q!0MzO1G2sO%KhQ!0MzO1G2uO%MsQ!fO,5?QO%[QlO,5?QOOQO-E<d-E<dO%M}Q`O1G5}OOQ!0Lf<<JU<<JUO%NVQ?MtO1G0uO&!^Q?MtO1G1PO&!eQ?MtO1G1PO&$fQ?MtO1G1PO&$mQ?MtO1G1PO&&nQ?MtO1G1PO&(oQ?MtO1G1PO&(vQ?MtO1G1PO&(}Q?MtO1G1PO&+OQ?MtO1G1PO&+VQ?MtO1G1PO&+^Q!0MxO<<JfO&-UQ?MtO1G1PO&.RQ?MvO1G1PO&/UQ?MvO\x27#JlO&1[Q?MtO1G1cO&1iQ?MtO1G0UO&1sQMjO,5?TOOQO-E<g-E<gO!)[QlO\x27#FqOOQO\x27#KZ\x27#KZOOQO1G1u1G1uO&1}Q`O1G1tO&2SQ?MtO,5?[OOOW7+\x27h7+\x27hOOOO1G/Z1G/ZO&2^Q!dO1G4xOOQ!0Lh7+(Q7+(QP!&zQMhO,5?^O!,TQMhO7+(cO&2eQ`O,5?]O9eQ`O,5?]O$+YQ`O,5?]OOQO-E<o-E<oO&2sQ`O1G6bO&2sQ`O1G6bO&2{Q`O1G6bO&3WQMjO7+\x27zO&3hQ!dO,5?_O&3rQ`O,5?_O!&zQMhO,5?_OOQO-E<q-E<qO&3wQ!dO1G6cO&4RQ`O1G6cO&4ZQ`O1G2kO!&zQMhO1G2kOOQ!0Lb1G2i1G2iOOQ!0Lb1G2j1G2jO%4hQpO1G2iO!CUQpO1G2iOCwQ`O1G2iOOQ!0Lb1G2q1G2qO&4`QpO1G2iO&4nQ`O1G2kO$+YQ`O1G2jOCwQ`O1G2jO$$wQlO1G2kO&4vQ`O1G2jO&5jQMjO,5?aOOQ!0Lh-E<t-E<tO&6]QMjO,5?cOOQ!0Lh-E<v-E<vO!,TQMhO7++]O&6gQMjO7++]O&6qQMjO7++]OOQ!0Lh1G/c1G/cO&7OQ`O1G/cOOQ!0Lh7+\x27u7+\x27uO&7TQMjO7+\x27|O&7eQ!0MxO<<KXOOQ!0Lf<<KX<<KXO&8XQ`O1G0zO!&zQMhO\x27#IzO&8^Q`O,5@xO&:`Q!fO<<LPO!&zQMhO1G2nO&:gQ!0LrO1G2nOOQ[<<G{<<G{O!ByQ!0LrO<<G{O&:xQ!0MxO<<I{OOQ!0Lf<<I{<<I{OOQO,5?l,5?lO&;lQ`O,5?lO&;qQ`O,5?lOOQO-E=O-E=OO&<PQ`O1G6kO&<PQ`O1G6kO9kQ`O1G6kO@zQ`O<<LlOOQ[<<Ll<<LlO&<XQ`O<<LlO9uQ!0LrO<<LlO9kQ`O<<LlOOQ[<<LX<<LXO%:yQ!0MvO<<LXOOQ[<<LY<<LYO!E^Q`O<<LYO&<^QpO\x27#I|O&<iQ`O,5@|O!)[QlO,5@|OOQ[1G3W1G3WOOQO\x27#JO\x27#JOO9uQ!0LrO\x27#JOO&<qQpO,5=uOOQ[,5=u,5=uO&<xQpO\x27#EgO&=PQpO\x27#GeO&=UQ`O7+(zO&=ZQ`O7+(zOOQ[7+(z7+(zO!&zQMhO7+(zO%[QlO7+(zO&=cQ`O7+(zOOQ[7+(|7+(|O9uQ!0LrO7+(|O$%dQ`O7+(|O9`Q`O7+(|O!CUQpO7+(|O&=nQ`O,5?kOOQO-E<}-E<}OOQO\x27#H^\x27#H^O&=yQ`O1G6iO9uQ!0LrO<<GqOOQ[<<Gq<<GqO@zQ`O<<GqO&>RQ`O7+,WO&>WQ`O7+,XO%[QlO7+,WO%[QlO7+,XOOQ[7+)V7+)VO&>]Q`O7+)VO&>bQlO7+)VO&>iQ`O7+)VOOQ[<<Ly<<LyOOQ[<<L{<<L{OOQ[-E=Q-E=QOOQ[1G3z1G3zO&>nQ`O,5>aOOQ[,5>c,5>cO&>sQ`O1G4QO9eQ`O7+&fO!)[QlO7+&fOOQO7+%_7+%_O&>xQ?MtO1G6ZO?YQ`O7+%_OOQ!0Lf<<Ia<<IaOOQ!0Lf<<Iz<<IzO?YQ`O<<IzOOQO<<Is<<IsO$AlQ!0MxO<<IsO%[QlO<<IsOOQO<<Id<<IdO!ByQ!0LrO<<IdO&?SQ!0LrO<<IsO&?_Q!0MxO<=\x20^O&?oQ`O<=\x20]OOQO7+*_7+*_O9eQ`O7+*_OOQ[ANAkANAkO&?wQ!fOANAkO!&zQMhOANAkO#(ZQ`OANAkO4UQ!fOANAkO&@OQ`OANAkO%[QlOANAkO&@WQ!0MzO7+\x27zO&BiQ!0MzO,5?aO&DtQ!0MzO,5?cO&GPQ!0MzO7+\x27|O&IbQ!fO1G4lO&IlQ?MtO7+&aO&KpQ?MvO,5=XO&MwQ?MvO,5=ZO&NXQ?MvO,5=XO&NiQ?MvO,5=ZO&NyQ?MvO,59uO\x27#PQ?MvO,5<kO\x27%SQ?MvO,5<mO\x27\x27hQ?MvO,5<{O\x27)^Q?MtO7+\x27kO\x27)kQ?MtO7+\x27mO\x27)xQ`O,5<]OOQO7+\x27`7+\x27`OOQ!0Lh7+*d7+*dO\x27)}QMjO<<K}OOQO1G4w1G4wO\x27*UQ`O1G4wO\x27*aQ`O1G4wO\x27*oQ`O7++|O\x27*oQ`O7++|O!&zQMhO1G4yO\x27*wQ!dO1G4yO\x27+RQ`O7++}O\x27+ZQ`O7+(VO\x27+fQ!dO7+(VOOQ!0Lb7+(T7+(TOOQ!0Lb7+(U7+(UO!CUQpO7+(TOCwQ`O7+(TO\x27+pQ`O7+(VO!&zQMhO7+(VO$+YQ`O7+(UO\x27+uQ`O7+(VOCwQ`O7+(UO\x27+}QMjO<<NwO!,TQMhO<<NwOOQ!0Lh7+$}7+$}O\x27,XQ!dO,5?fOOQO-E<x-E<xO\x27,cQ!0MvO7+(YO!&zQMhO7+(YOOQ[AN=gAN=gO9kQ`O1G5WOOQO1G5W1G5WO\x27,sQ`O1G5WO\x27,xQ`O7+,VO\x27,xQ`O7+,VO9uQ!0LrOANBWO@zQ`OANBWOOQ[ANBWANBWO\x27-QQ`OANBWOOQ[ANAsANAsOOQ[ANAtANAtO\x27-VQ`O,5?hOOQO-E<z-E<zO\x27-bQ?MtO1G6hOOQO,5?j,5?jOOQO-E<|-E<|OOQ[1G3a1G3aO\x27-lQ`O,5=POOQ[<<Lf<<LfO!&zQMhO<<LfO&=UQ`O<<LfO\x27-qQ`O<<LfO%[QlO<<LfOOQ[<<Lh<<LhO9uQ!0LrO<<LhO$%dQ`O<<LhO9`Q`O<<LhO\x27-yQpO1G5VO\x27.UQ`O7+,TOOQ[AN=]AN=]O9uQ!0LrOAN=]OOQ[<=\x20r<=\x20rOOQ[<=\x20s<=\x20sO\x27.^Q`O<=\x20rO\x27.cQ`O<=\x20sOOQ[<<Lq<<LqO\x27.hQ`O<<LqO\x27.mQlO<<LqOOQ[1G3{1G3{O?YQ`O7+)lO\x27.tQ`O<<JQO\x27/PQ?MtO<<JQOOQO<<Hy<<HyOOQ!0LfAN?fAN?fOOQOAN?_AN?_O$AlQ!0MxOAN?_OOQOAN?OAN?OO%[QlOAN?_OOQO<<My<<MyOOQ[G27VG27VO!&zQMhOG27VO#(ZQ`OG27VO\x27/ZQ!fOG27VO4UQ!fOG27VO\x27/bQ`OG27VO\x27/jQ?MtO<<JfO\x27/wQ?MvO1G2`O\x271mQ?MvO,5?aO\x273pQ?MvO,5?cO\x275sQ?MvO1G2sO\x277vQ?MvO1G2uO\x279yQ?MtO<<KXO\x27:WQ?MtO<<I{OOQO1G1w1G1wO!,TQMhOANAiOOQO7+*c7+*cO\x27:eQ`O7+*cO\x27:pQ`O<=\x20hO\x27:xQ!dO7+*eOOQ!0Lb<<Kq<<KqO$+YQ`O<<KqOCwQ`O<<KqO\x27;SQ`O<<KqO!&zQMhO<<KqOOQ!0Lb<<Ko<<KoO!CUQpO<<KoO\x27;_Q!dO<<KqOOQ!0Lb<<Kp<<KpO\x27;iQ`O<<KqO!&zQMhO<<KqO$+YQ`O<<KpO\x27;nQMjOANDcO\x27;xQ!0MvO<<KtOOQO7+*r7+*rO9kQ`O7+*rO\x27<YQ`O<=\x20qOOQ[G27rG27rO9uQ!0LrOG27rO@zQ`OG27rO!)[QlO1G5SO\x27<bQ`O7+,SO\x27<jQ`O1G2kO&=UQ`OANBQOOQ[ANBQANBQO!&zQMhOANBQO\x27<oQ`OANBQOOQ[ANBSANBSO9uQ!0LrOANBSO$%dQ`OANBSOOQO\x27#H_\x27#H_OOQO7+*q7+*qOOQ[G22wG22wOOQ[ANE^ANE^OOQ[ANE_ANE_OOQ[ANB]ANB]O\x27<wQ`OANB]OOQ[<<MW<<MWO!)[QlOAN?lOOQOG24yG24yO$AlQ!0MxOG24yO#(ZQ`OLD,qOOQ[LD,qLD,qO!&zQMhOLD,qO\x27<|Q!fOLD,qO\x27=TQ?MvO7+\x27zO\x27>yQ?MvO,5?aO\x27@|Q?MvO,5?cO\x27CPQ?MvO7+\x27|O\x27DuQMjOG27TOOQO<<M}<<M}OOQ!0LbANA]ANA]O$+YQ`OANA]OCwQ`OANA]O\x27EVQ!dOANA]OOQ!0LbANAZANAZO\x27E^Q`OANA]O!&zQMhOANA]O\x27EiQ!dOANA]OOQ!0LbANA[ANA[OOQO<<N^<<N^OOQ[LD-^LD-^O9uQ!0LrOLD-^O\x27EsQ?MtO7+*nOOQO\x27#Gf\x27#GfOOQ[G27lG27lO&=UQ`OG27lO!&zQMhOG27lOOQ[G27nG27nO9uQ!0LrOG27nOOQ[G27wG27wO\x27E}Q?MtOG25WOOQOLD*eLD*eOOQ[!$(!]!$(!]O#(ZQ`O!$(!]O!&zQMhO!$(!]O\x27FXQ!0MzOG27TOOQ!0LbG26wG26wO$+YQ`OG26wO\x27HjQ`OG26wOCwQ`OG26wO\x27HuQ!dOG26wO!&zQMhOG26wOOQ[!$(!x!$(!xOOQ[LD-WLD-WO&=UQ`OLD-WOOQ[LD-YLD-YOOQ[!)9Ew!)9EwO#(ZQ`O!)9EwOOQ!0LbLD,cLD,cO$+YQ`OLD,cOCwQ`OLD,cO\x27H|Q`OLD,cO\x27IXQ!dOLD,cOOQ[!$(!r!$(!rOOQ[!.K;c!.K;cO\x27I`Q?MvOG27TOOQ!0Lb!$(\x20}!$(\x20}O$+YQ`O!$(\x20}OCwQ`O!$(\x20}O\x27KUQ`O!$(\x20}OOQ!0Lb!)9Ei!)9EiO$+YQ`O!)9EiOCwQ`O!)9EiOOQ!0Lb!.K;T!.K;TO$+YQ`O!.K;TOOQ!0Lb!4/0o!4/0oO!)[QlO\x27#DzO1PQ`O\x27#EXO\x27KaQ!fO\x27#JrO\x27KhQ!L^O\x27#DvO\x27KoQlO\x27#EOO\x27KvQ!fO\x27#CiO\x27N^Q!fO\x27#CiO!)[QlO\x27#EQO\x27NnQlO,5;ZO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO\x27#IpO(!qQ`O,5<iO!)[QlO,5;eO(!yQMhO,5;eO($dQMhO,5;eO!)[QlO,5;wO!&zQMhO\x27#GmO(!yQMhO\x27#GmO!&zQMhO\x27#GoO(!yQMhO\x27#GoO1SQ`O\x27#DZO1SQ`O\x27#DZO!&zQMhO\x27#GPO(!yQMhO\x27#GPO!&zQMhO\x27#GRO(!yQMhO\x27#GRO!&zQMhO\x27#GaO(!yQMhO\x27#GaO!)[QlO,5:jO($kQpO\x27#D_O($uQpO\x27#JvO!)[QlO,5@oO\x27NnQlO1G0uO(%PQ?MtO\x27#CiO!)[QlO1G2PO!&zQMhO\x27#IuO(!yQMhO\x27#IuO!&zQMhO\x27#IwO(!yQMhO\x27#IwO(%ZQ!dO\x27#CrO!&zQMhO,5<tO(!yQMhO,5<tO\x27NnQlO1G2RO!)[QlO7+&zO!&zQMhO1G2`O(!yQMhO1G2`O!&zQMhO\x27#IuO(!yQMhO\x27#IuO!&zQMhO\x27#IwO(!yQMhO\x27#IwO!&zQMhO1G2bO(!yQMhO1G2bO\x27NnQlO7+\x27mO\x27NnQlO7+&aO!&zQMhOANAiO(!yQMhOANAiO(%nQ`O\x27#EoO(%sQ`O\x27#EoO(%{Q`O\x27#F]O(&QQ`O\x27#EyO(&VQ`O\x27#KTO(&bQ`O\x27#KRO(&mQ`O,5;ZO(&rQMjO,5<eO(&yQ`O\x27#GYO(\x27OQ`O\x27#GYO(\x27TQ`O,5<eO(\x27]Q`O,5<gO(\x27eQ`O,5;ZO(\x27mQ?MtO1G1`O(\x27tQ`O,5<tO(\x27yQ`O,5<tO((OQ`O,5<vO((TQ`O,5<vO((YQ`O1G2RO((_Q`O1G0uO((dQMjO<<K}O((kQMjO<<K}O((rQMhO\x27#F|O9`Q`O\x27#F{OAuQ`O\x27#EnO!)[QlO,5;tO!3oQ`O\x27#GYO!3oQ`O\x27#GYO!3oQ`O\x27#G[O!3oQ`O\x27#G[O!,TQMhO7+(cO!,TQMhO7+(cO%.zQ!dO1G2wO%.zQ!dO1G2wO!&zQMhO,5=]O!&zQMhO,5=]','stateData':'()x~O\x27|OS\x27}OSTOS(ORQ~OPYOQYOSfOY!VOaqOdzOeyOl!POpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_XO!iuO!lZO!oYO!pYO!qYO!svO!uwO!xxO!|]O$W|O$niO%h}O%j!QO%l!OO%m!OO%n!OO%q!RO%s!SO%v!TO%w!TO%y!UO&W!WO&^!XO&`!YO&b!ZO&d![O&g!]O&m!^O&s!_O&u!`O&w!aO&y!bO&{!cO(TSO(VTO(YUO(aVO(o[O~OWtO~P`OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(T!dO(VTO(YUO(aVO(o[O~Oa!wOs!nO!S!oO!b!yO!c!vO!d!vO!|<VO#T!pO#U!pO#V!xO#W!pO#X!pO#[!zO#]!zO(U!lO(VTO(YUO(e!mO(o!sO~O(O!{O~OP]XR]X[]Xa]Xj]Xr]X!Q]X!S]X!]]X!l]X!p]X#R]X#S]X#`]X#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X\x27z]X(a]X(r]X(y]X(z]X~O!g%RX~P(qO_!}O(V#PO(W!}O(X#PO~O_#QO(X#PO(Y#PO(Z#QO~Ox#SO!U#TO(b#TO(c#VO~OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(T<ZO(VTO(YUO(aVO(o[O~O![#ZO!]#WO!Y(hP!Y(vP~P+}O!^#cO~P`OPYOQYOSfOd!jOe!iOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(VTO(YUO(aVO(o[O~Op#mO![#iO!|]O#i#lO#j#iO(T<[O!k(sP~P.iO!l#oO(T#nO~O!x#sO!|]O%h#tO~O#k#uO~O!g#vO#k#uO~OP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!]$_O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO#z$WO#{$XO(aVO(r$YO(y#|O(z#}O~Oa(fX\x27z(fX\x27w(fX!k(fX!Y(fX!_(fX%i(fX!g(fX~P1qO#S$dO#`$eO$Q$eOP(gXR(gX[(gXj(gXr(gX!Q(gX!S(gX!](gX!l(gX!p(gX#R(gX#n(gX#o(gX#p(gX#q(gX#r(gX#s(gX#t(gX#u(gX#v(gX#x(gX#z(gX#{(gX(a(gX(r(gX(y(gX(z(gX!_(gX%i(gX~Oa(gX\x27z(gX\x27w(gX!Y(gX!k(gXv(gX!g(gX~P4UO#`$eO~O$]$hO$_$gO$f$mO~OSfO!_$nO$i$oO$k$qO~Oh%VOj%dOk%dOp%WOr%XOs$tOt$tOz%YO|%ZO!O%]O!S${O!_$|O!i%bO!l$xO#j%cO$W%`O$t%^O$v%_O$y%aO(T$sO(VTO(YUO(a$uO(y$}O(z%POg(^P~Ol%[O~P7eO!l%eO~O!S%hO!_%iO(T%gO~O!g%mO~Oa%nO\x27z%nO~O!Q%rO~P%[O(U!lO~P%[O%n%vO~P%[Oh%VO!l%eO(T%gO(U!lO~Oe%}O!l%eO(T%gO~Oj$RO~O!_&PO(T%gO(U!lO(VTO(YUO`)WP~O!Q&SO!l&RO%j&VO&T&WO~P;SO!x#sO~O%s&YO!S)SX!_)SX(T)SX~O(T&ZO~Ol!PO!u&`O%j!QO%l!OO%m!OO%n!OO%q!RO%s!SO%v!TO%w!TO~Od&eOe&dO!x&bO%h&cO%{&aO~P<bOd&hOeyOl!PO!_&gO!u&`O!xxO!|]O%h}O%l!OO%m!OO%n!OO%q!RO%s!SO%v!TO%w!TO%y!UO~Ob&kO#`&nO%j&iO(U!lO~P=gO!l&oO!u&sO~O!l#oO~O!_XO~Oa%nO\x27x&{O\x27z%nO~Oa%nO\x27x\x27OO\x27z%nO~Oa%nO\x27x\x27QO\x27z%nO~O\x27w]X!Y]Xv]X!k]X&[]X!_]X%i]X!g]X~P(qO!b\x27_O!c\x27WO!d\x27WO(U!lO(VTO(YUO~Os\x27UO!S\x27TO![\x27XO(e\x27SO!^(iP!^(xP~P@nOn\x27bO!_\x27`O(T%gO~Oe\x27gO!l%eO(T%gO~O!Q&SO!l&RO~Os!nO!S!oO!|<VO#T!pO#U!pO#W!pO#X!pO(U!lO(VTO(YUO(e!mO(o!sO~O!b\x27mO!c\x27lO!d\x27lO#V!pO#[\x27nO#]\x27nO~PBYOa%nOh%VO!g#vO!l%eO\x27z%nO(r\x27pO~O!p\x27tO#`\x27rO~PChOs!nO!S!oO(VTO(YUO(e!mO(o!sO~O!_XOs(mX!S(mX!b(mX!c(mX!d(mX!|(mX#T(mX#U(mX#V(mX#W(mX#X(mX#[(mX#](mX(U(mX(V(mX(Y(mX(e(mX(o(mX~O!c\x27lO!d\x27lO(U!lO~PDWO(P\x27xO(Q\x27xO(R\x27zO~O_!}O(V\x27|O(W!}O(X\x27|O~O_#QO(X\x27|O(Y\x27|O(Z#QO~Ov(OO~P%[Ox#SO!U#TO(b#TO(c(RO~O![(TO!Y\x27WX!Y\x27^X!]\x27WX!]\x27^X~P+}O!](VO!Y(hX~OP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!](VO!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO#z$WO#{$XO(aVO(r$YO(y#|O(z#}O~O!Y(hX~PHRO!Y([O~O!Y(uX!](uX!g(uX!k(uX(r(uX~O#`(uX#k#dX!^(uX~PJUO#`(]O!Y(wX!](wX~O!](^O!Y(vX~O!Y(aO~O#`$eO~PJUO!^(bO~P`OR#zO!Q#yO!S#{O!l#xO(aVOP!na[!naj!nar!na!]!na!p!na#R!na#n!na#o!na#p!na#q!na#r!na#s!na#t!na#u!na#v!na#x!na#z!na#{!na(r!na(y!na(z!na~Oa!na\x27z!na\x27w!na!Y!na!k!nav!na!_!na%i!na!g!na~PKlO!k(cO~O!g#vO#`(dO(r\x27pO!](tXa(tX\x27z(tX~O!k(tX~PNXO!S%hO!_%iO!|]O#i(iO#j(hO(T%gO~O!](jO!k(sX~O!k(lO~O!S%hO!_%iO#j(hO(T%gO~OP(gXR(gX[(gXj(gXr(gX!Q(gX!S(gX!](gX!l(gX!p(gX#R(gX#n(gX#o(gX#p(gX#q(gX#r(gX#s(gX#t(gX#u(gX#v(gX#x(gX#z(gX#{(gX(a(gX(r(gX(y(gX(z(gX~O!g#vO!k(gX~P!\x20uOR(nO!Q(mO!l#xO#S$dO!|!{a!S!{a~O!x!{a%h!{a!_!{a#i!{a#j!{a(T!{a~P!#vO!x(rO~OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_XO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(T!dO(VTO(YUO(aVO(o[O~Oh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O<sO!S${O!_$|O!i>VO!l$xO#j<yO$W%`O$t<uO$v<wO$y%aO(T(vO(VTO(YUO(a$uO(y$}O(z%PO~O#k(xO~O![(zO!k(kP~P%[O(e(|O(o[O~O!S)OO!l#xO(e(|O(o[O~OP<UOQ<UOSfOd>ROe!iOpkOr<UOskOtkOzkO|<UO!O<UO!SWO!WkO!XkO!_!eO!i<XO!lZO!o<UO!p<UO!q<UO!s<YO!u<]O!x!hO$W!kO$n>PO(T)]O(VTO(YUO(aVO(o[O~O!]$_Oa$qa\x27z$qa\x27w$qa!k$qa!Y$qa!_$qa%i$qa!g$qa~Ol)dO~P!&zOh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O%]O!S${O!_$|O!i%bO!l$xO#j%cO$W%`O$t%^O$v%_O$y%aO(T(vO(VTO(YUO(a$uO(y$}O(z%PO~Og(pP~P!,TO!Q)iO!g)hO!_$^X$Z$^X$]$^X$_$^X$f$^X~O!g)hO!_({X$Z({X$]({X$_({X$f({X~O!Q)iO~P!.^O!Q)iO!_({X$Z({X$]({X$_({X$f({X~O!_)kO$Z)oO$])jO$_)jO$f)pO~O![)sO~P!)[O$]$hO$_$gO$f)wO~On$zX!Q$zX#S$zX\x27y$zX(y$zX(z$zX~OgmXg$zXnmX!]mX#`mX~P!0SOx)yO(b)zO(c)|O~On*VO!Q*OO\x27y*PO(y$}O(z%PO~Og)}O~P!1WOg*WO~Oh%VOr%XOs$tOt$tOz%YO|%ZO!O<sO!S*YO!_*ZO!i>VO!l$xO#j<yO$W%`O$t<uO$v<wO$y%aO(VTO(YUO(a$uO(y$}O(z%PO~Op*`O![*^O(T*XO!k)OP~P!1uO#k*aO~O!l*bO~Oh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O<sO!S${O!_$|O!i>VO!l$xO#j<yO$W%`O$t<uO$v<wO$y%aO(T*dO(VTO(YUO(a$uO(y$}O(z%PO~O![*gO!Y)PP~P!3tOr*sOs!nO!S*iO!b*qO!c*kO!d*kO!l*bO#[*rO%`*mO(U!lO(VTO(YUO(e!mO~O!^*pO~P!5iO#S$dOn(`X!Q(`X\x27y(`X(y(`X(z(`X!](`X#`(`X~Og(`X$O(`X~P!6kOn*xO#`*wOg(_X!](_X~O!]*yOg(^X~Oj%dOk%dOl%dO(T&ZOg(^P~Os*|O~Og)}O(T&ZO~O!l+SO~O(T(vO~Op+WO!S%hO![#iO!_%iO!|]O#i#lO#j#iO(T%gO!k(sP~O!g#vO#k+XO~O!S%hO![+ZO!](^O!_%iO(T%gO!Y(vP~Os\x27[O!S+]O![+[O(VTO(YUO(e(|O~O!^(xP~P!9|O!]+^Oa)TX\x27z)TX~OP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO#z$WO#{$XO(aVO(r$YO(y#|O(z#}O~Oa!ja!]!ja\x27z!ja\x27w!ja!Y!ja!k!jav!ja!_!ja%i!ja!g!ja~P!:tOR#zO!Q#yO!S#{O!l#xO(aVOP!ra[!raj!rar!ra!]!ra!p!ra#R!ra#n!ra#o!ra#p!ra#q!ra#r!ra#s!ra#t!ra#u!ra#v!ra#x!ra#z!ra#{!ra(r!ra(y!ra(z!ra~Oa!ra\x27z!ra\x27w!ra!Y!ra!k!rav!ra!_!ra%i!ra!g!ra~P!=[OR#zO!Q#yO!S#{O!l#xO(aVOP!ta[!taj!tar!ta!]!ta!p!ta#R!ta#n!ta#o!ta#p!ta#q!ta#r!ta#s!ta#t!ta#u!ta#v!ta#x!ta#z!ta#{!ta(r!ta(y!ta(z!ta~Oa!ta\x27z!ta\x27w!ta!Y!ta!k!tav!ta!_!ta%i!ta!g!ta~P!?rOh%VOn+gO!_\x27`O%i+fO~O!g+iOa(]X!_(]X\x27z(]X!](]X~Oa%nO!_XO\x27z%nO~Oh%VO!l%eO~Oh%VO!l%eO(T%gO~O!g#vO#k(xO~Ob+tO%j+uO(T+qO(VTO(YUO!^)XP~O!]+vO`)WX~O[+zO~O`+{O~O!_&PO(T%gO(U!lO`)WP~O%j,OO~P;SOh%VO#`,SO~Oh%VOn,VO!_$|O~O!_,XO~O!Q,ZO!_XO~O%n%vO~O!x,`O~Oe,eO~Ob,fO(T#nO(VTO(YUO!^)VP~Oe%}O~O%j!QO(T&ZO~P=gO[,kO`,jO~OPYOQYOSfOdzOeyOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!iuO!lZO!oYO!pYO!qYO!svO!xxO!|]O$niO%h}O(VTO(YUO(aVO(o[O~O!_!eO!u!gO$W!kO(T!dO~P!FyO`,jOa%nO\x27z%nO~OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!x!hO$W!kO$niO(T!dO(VTO(YUO(aVO(o[O~Oa,pOl!OO!uwO%l!OO%m!OO%n!OO~P!IcO!l&oO~O&^,vO~O!_,xO~O&o,zO&q,{OP&laQ&laS&laY&laa&lad&lae&lal&lap&lar&las&lat&laz&la|&la!O&la!S&la!W&la!X&la!_&la!i&la!l&la!o&la!p&la!q&la!s&la!u&la!x&la!|&la$W&la$n&la%h&la%j&la%l&la%m&la%n&la%q&la%s&la%v&la%w&la%y&la&W&la&^&la&`&la&b&la&d&la&g&la&m&la&s&la&u&la&w&la&y&la&{&la\x27w&la(T&la(V&la(Y&la(a&la(o&la!^&la&e&lab&la&j&la~O(T-QO~Oh!eX!]!RX!^!RX!g!RX!g!eX!l!eX#`!RX~O!]!eX!^!eX~P#!iO!g-VO#`-UOh(jX!]#hX!^#hX!g(jX!l(jX~O!](jX!^(jX~P##[Oh%VO!g-XO!l%eO!]!aX!^!aX~Os!nO!S!oO(VTO(YUO(e!mO~OP<UOQ<UOSfOd>ROe!iOpkOr<UOskOtkOzkO|<UO!O<UO!SWO!WkO!XkO!_!eO!i<XO!lZO!o<UO!p<UO!q<UO!s<YO!u<]O!x!hO$W!kO$n>PO(VTO(YUO(aVO(o[O~O(T=QO~P#$qO!]-]O!^(iX~O!^-_O~O!g-VO#`-UO!]#hX!^#hX~O!]-`O!^(xX~O!^-bO~O!c-cO!d-cO(U!lO~P#$`O!^-fO~P\x27_On-iO!_\x27`O~O!Y-nO~Os!{a!b!{a!c!{a!d!{a#T!{a#U!{a#V!{a#W!{a#X!{a#[!{a#]!{a(U!{a(V!{a(Y!{a(e!{a(o!{a~P!#vO!p-sO#`-qO~PChO!c-uO!d-uO(U!lO~PDWOa%nO#`-qO\x27z%nO~Oa%nO!g#vO#`-qO\x27z%nO~Oa%nO!g#vO!p-sO#`-qO\x27z%nO(r\x27pO~O(P\x27xO(Q\x27xO(R-zO~Ov-{O~O!Y\x27Wa!]\x27Wa~P!:tO![.PO!Y\x27WX!]\x27WX~P%[O!](VO!Y(ha~O!Y(ha~PHRO!](^O!Y(va~O!S%hO![.TO!_%iO(T%gO!Y\x27^X!]\x27^X~O#`.VO!](ta!k(taa(ta\x27z(ta~O!g#vO~P#,wO!](jO!k(sa~O!S%hO!_%iO#j.ZO(T%gO~Op.`O!S%hO![.]O!_%iO!|]O#i._O#j.]O(T%gO!]\x27aX!k\x27aX~OR.dO!l#xO~Oh%VOn.gO!_\x27`O%i.fO~Oa#ci!]#ci\x27z#ci\x27w#ci!Y#ci!k#civ#ci!_#ci%i#ci!g#ci~P!:tOn>]O!Q*OO\x27y*PO(y$}O(z%PO~O#k#_aa#_a#`#_a\x27z#_a!]#_a!k#_a!_#_a!Y#_a~P#/sO#k(`XP(`XR(`X[(`Xa(`Xj(`Xr(`X!S(`X!l(`X!p(`X#R(`X#n(`X#o(`X#p(`X#q(`X#r(`X#s(`X#t(`X#u(`X#v(`X#x(`X#z(`X#{(`X\x27z(`X(a(`X(r(`X!k(`X!Y(`X\x27w(`Xv(`X!_(`X%i(`X!g(`X~P!6kO!].tO!k(kX~P!:tO!k.wO~O!Y.yO~OP$[OR#zO!Q#yO!S#{O!l#xO!p$[O(aVO[#mia#mij#mir#mi!]#mi#R#mi#o#mi#p#mi#q#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi\x27z#mi(r#mi(y#mi(z#mi\x27w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#n#mi~P#3cO#n$OO~P#3cOP$[OR#zOr$aO!Q#yO!S#{O!l#xO!p$[O#n$OO#o$PO#p$PO#q$PO(aVO[#mia#mij#mi!]#mi#R#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi\x27z#mi(r#mi(y#mi(z#mi\x27w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#r#mi~P#6QO#r$QO~P#6QOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO(aVOa#mi!]#mi#x#mi#z#mi#{#mi\x27z#mi(r#mi(y#mi(z#mi\x27w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#v#mi~P#8oOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO(aVO(z#}Oa#mi!]#mi#z#mi#{#mi\x27z#mi(r#mi(y#mi\x27w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#x$UO~P#;VO#x#mi~P#;VO#v$SO~P#8oOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO(aVO(y#|O(z#}Oa#mi!]#mi#{#mi\x27z#mi(r#mi\x27w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#z#mi~P#={O#z$WO~P#={OP]XR]X[]Xj]Xr]X!Q]X!S]X!l]X!p]X#R]X#S]X#`]X#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X(a]X(r]X(y]X(z]X!]]X!^]X~O$O]X~P#@jOP$[OR#zO[<mOj<bOr<kO!Q#yO!S#{O!l#xO!p$[O#R<bO#n<_O#o<`O#p<`O#q<`O#r<aO#s<bO#t<bO#u<lO#v<cO#x<eO#z<gO#{<hO(aVO(r$YO(y#|O(z#}O~O$O.{O~P#BwO#S$dO#`<nO$Q<nO$O(gX!^(gX~P!\x20uOa\x27da!]\x27da\x27z\x27da\x27w\x27da!k\x27da!Y\x27dav\x27da!_\x27da%i\x27da!g\x27da~P!:tO[#mia#mij#mir#mi!]#mi#R#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi\x27z#mi(r#mi\x27w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~OP$[OR#zO!Q#yO!S#{O!l#xO!p$[O#n$OO#o$PO#p$PO#q$PO(aVO(y#mi(z#mi~P#EyOn>]O!Q*OO\x27y*PO(y$}O(z%POP#miR#mi!S#mi!l#mi!p#mi#n#mi#o#mi#p#mi#q#mi(a#mi~P#EyO!]/POg(pX~P!1WOg/RO~Oa$Pi!]$Pi\x27z$Pi\x27w$Pi!Y$Pi!k$Piv$Pi!_$Pi%i$Pi!g$Pi~P!:tO$]/SO$_/SO~O$]/TO$_/TO~O!g)hO#`/UO!_$cX$Z$cX$]$cX$_$cX$f$cX~O![/VO~O!_)kO$Z/XO$])jO$_)jO$f/YO~O!]<iO!^(fX~P#BwO!^/ZO~O!g)hO$f({X~O$f/]O~Ov/^O~P!&zOx)yO(b)zO(c/aO~O!S/dO~O(y$}On%aa!Q%aa\x27y%aa(z%aa!]%aa#`%aa~Og%aa$O%aa~P#L{O(z%POn%ca!Q%ca\x27y%ca(y%ca!]%ca#`%ca~Og%ca$O%ca~P#MnO!]fX!gfX!kfX!k$zX(rfX~P!0SOp%WO![/mO!](^O(T/lO!Y(vP!Y)PP~P!1uOr*sO!b*qO!c*kO!d*kO!l*bO#[*rO%`*mO(U!lO(VTO(YUO~Os<}O!S/nO![+[O!^*pO(e<|O!^(xP~P$\x20[O!k/oO~P#/sO!]/pO!g#vO(r\x27pO!k)OX~O!k/uO~OnoX!QoX\x27yoX(yoX(zoX~O!g#vO!koX~P$#OOp/wO!S%hO![*^O!_%iO(T%gO!k)OP~O#k/xO~O!Y$zX!]$zX!g%RX~P!0SO!]/yO!Y)PX~P#/sO!g/{O~O!Y/}O~OpkO(T0OO~P.iOh%VOr0TO!g#vO!l%eO(r\x27pO~O!g+iO~Oa%nO!]0XO\x27z%nO~O!^0ZO~P!5iO!c0[O!d0[O(U!lO~P#$`Os!nO!S0]O(VTO(YUO(e!mO~O#[0_O~Og%aa!]%aa#`%aa$O%aa~P!1WOg%ca!]%ca#`%ca$O%ca~P!1WOj%dOk%dOl%dO(T&ZOg\x27mX!]\x27mX~O!]*yOg(^a~Og0hO~On0jO#`0iOg(_a!](_a~OR0kO!Q0kO!S0lO#S$dOn}a\x27y}a(y}a(z}a!]}a#`}a~Og}a$O}a~P$(cO!Q*OO\x27y*POn$sa(y$sa(z$sa!]$sa#`$sa~Og$sa$O$sa~P$)_O!Q*OO\x27y*POn$ua(y$ua(z$ua!]$ua#`$ua~Og$ua$O$ua~P$*QO#k0oO~Og%Ta!]%Ta#`%Ta$O%Ta~P!1WO!g#vO~O#k0rO~O!]+^Oa)Ta\x27z)Ta~OR#zO!Q#yO!S#{O!l#xO(aVOP!ri[!rij!rir!ri!]!ri!p!ri#R!ri#n!ri#o!ri#p!ri#q!ri#r!ri#s!ri#t!ri#u!ri#v!ri#x!ri#z!ri#{!ri(r!ri(y!ri(z!ri~Oa!ri\x27z!ri\x27w!ri!Y!ri!k!riv!ri!_!ri%i!ri!g!ri~P$+oOh%VOr%XOs$tOt$tOz%YO|%ZO!O<sO!S${O!_$|O!i>VO!l$xO#j<yO$W%`O$t<uO$v<wO$y%aO(VTO(YUO(a$uO(y$}O(z%PO~Op0{O%]0|O(T0zO~P$.VO!g+iOa(]a!_(]a\x27z(]a!](]a~O#k1SO~O[]X!]fX!^fX~O!]1TO!^)XX~O!^1VO~O[1WO~Ob1YO(T+qO(VTO(YUO~O!_&PO(T%gO`\x27uX!]\x27uX~O!]+vO`)Wa~O!k1]O~P!:tO[1`O~O`1aO~O#`1fO~On1iO!_$|O~O(e(|O!^)UP~Oh%VOn1rO!_1oO%i1qO~O[1|O!]1zO!^)VX~O!^1}O~O`2POa%nO\x27z%nO~O(T#nO(VTO(YUO~O#S$dO#`$eO$Q$eOP(gXR(gX[(gXr(gX!Q(gX!S(gX!](gX!l(gX!p(gX#R(gX#n(gX#o(gX#p(gX#q(gX#r(gX#s(gX#t(gX#u(gX#v(gX#x(gX#z(gX#{(gX(a(gX(r(gX(y(gX(z(gX~Oj2SO&[2TOa(gX~P$3pOj2SO#`$eO&[2TO~Oa2VO~P%[Oa2XO~O&e2[OP&ciQ&ciS&ciY&cia&cid&cie&cil&cip&cir&cis&cit&ciz&ci|&ci!O&ci!S&ci!W&ci!X&ci!_&ci!i&ci!l&ci!o&ci!p&ci!q&ci!s&ci!u&ci!x&ci!|&ci$W&ci$n&ci%h&ci%j&ci%l&ci%m&ci%n&ci%q&ci%s&ci%v&ci%w&ci%y&ci&W&ci&^&ci&`&ci&b&ci&d&ci&g&ci&m&ci&s&ci&u&ci&w&ci&y&ci&{&ci\x27w&ci(T&ci(V&ci(Y&ci(a&ci(o&ci!^&cib&ci&j&ci~Ob2bO!^2`O&j2aO~P`O!_XO!l2dO~O&q,{OP&liQ&liS&liY&lia&lid&lie&lil&lip&lir&lis&lit&liz&li|&li!O&li!S&li!W&li!X&li!_&li!i&li!l&li!o&li!p&li!q&li!s&li!u&li!x&li!|&li$W&li$n&li%h&li%j&li%l&li%m&li%n&li%q&li%s&li%v&li%w&li%y&li&W&li&^&li&`&li&b&li&d&li&g&li&m&li&s&li&u&li&w&li&y&li&{&li\x27w&li(T&li(V&li(Y&li(a&li(o&li!^&li&e&lib&li&j&li~O!Y2jO~O!]!aa!^!aa~P#BwOs!nO!S!oO![2pO(e!mO!]\x27XX!^\x27XX~P@nO!]-]O!^(ia~O!]\x27_X!^\x27_X~P!9|O!]-`O!^(xa~O!^2wO~P\x27_Oa%nO#`3QO\x27z%nO~Oa%nO!g#vO#`3QO\x27z%nO~Oa%nO!g#vO!p3UO#`3QO\x27z%nO(r\x27pO~Oa%nO\x27z%nO~P!:tO!]$_Ov$qa~O!Y\x27Wi!]\x27Wi~P!:tO!](VO!Y(hi~O!](^O!Y(vi~O!Y(wi!](wi~P!:tO!](ti!k(tia(ti\x27z(ti~P!:tO#`3WO!](ti!k(tia(ti\x27z(ti~O!](jO!k(si~O!S%hO!_%iO!|]O#i3]O#j3[O(T%gO~O!S%hO!_%iO#j3[O(T%gO~On3dO!_\x27`O%i3cO~Oh%VOn3dO!_\x27`O%i3cO~O#k%aaP%aaR%aa[%aaa%aaj%aar%aa!S%aa!l%aa!p%aa#R%aa#n%aa#o%aa#p%aa#q%aa#r%aa#s%aa#t%aa#u%aa#v%aa#x%aa#z%aa#{%aa\x27z%aa(a%aa(r%aa!k%aa!Y%aa\x27w%aav%aa!_%aa%i%aa!g%aa~P#L{O#k%caP%caR%ca[%caa%caj%car%ca!S%ca!l%ca!p%ca#R%ca#n%ca#o%ca#p%ca#q%ca#r%ca#s%ca#t%ca#u%ca#v%ca#x%ca#z%ca#{%ca\x27z%ca(a%ca(r%ca!k%ca!Y%ca\x27w%cav%ca!_%ca%i%ca!g%ca~P#MnO#k%aaP%aaR%aa[%aaa%aaj%aar%aa!S%aa!]%aa!l%aa!p%aa#R%aa#n%aa#o%aa#p%aa#q%aa#r%aa#s%aa#t%aa#u%aa#v%aa#x%aa#z%aa#{%aa\x27z%aa(a%aa(r%aa!k%aa!Y%aa\x27w%aa#`%aav%aa!_%aa%i%aa!g%aa~P#/sO#k%caP%caR%ca[%caa%caj%car%ca!S%ca!]%ca!l%ca!p%ca#R%ca#n%ca#o%ca#p%ca#q%ca#r%ca#s%ca#t%ca#u%ca#v%ca#x%ca#z%ca#{%ca\x27z%ca(a%ca(r%ca!k%ca!Y%ca\x27w%ca#`%cav%ca!_%ca%i%ca!g%ca~P#/sO#k}aP}a[}aa}aj}ar}a!l}a!p}a#R}a#n}a#o}a#p}a#q}a#r}a#s}a#t}a#u}a#v}a#x}a#z}a#{}a\x27z}a(a}a(r}a!k}a!Y}a\x27w}av}a!_}a%i}a!g}a~P$(cO#k$saP$saR$sa[$saa$saj$sar$sa!S$sa!l$sa!p$sa#R$sa#n$sa#o$sa#p$sa#q$sa#r$sa#s$sa#t$sa#u$sa#v$sa#x$sa#z$sa#{$sa\x27z$sa(a$sa(r$sa!k$sa!Y$sa\x27w$sav$sa!_$sa%i$sa!g$sa~P$)_O#k$uaP$uaR$ua[$uaa$uaj$uar$ua!S$ua!l$ua!p$ua#R$ua#n$ua#o$ua#p$ua#q$ua#r$ua#s$ua#t$ua#u$ua#v$ua#x$ua#z$ua#{$ua\x27z$ua(a$ua(r$ua!k$ua!Y$ua\x27w$uav$ua!_$ua%i$ua!g$ua~P$*QO#k%TaP%TaR%Ta[%Taa%Taj%Tar%Ta!S%Ta!]%Ta!l%Ta!p%Ta#R%Ta#n%Ta#o%Ta#p%Ta#q%Ta#r%Ta#s%Ta#t%Ta#u%Ta#v%Ta#x%Ta#z%Ta#{%Ta\x27z%Ta(a%Ta(r%Ta!k%Ta!Y%Ta\x27w%Ta#`%Tav%Ta!_%Ta%i%Ta!g%Ta~P#/sOa#cq!]#cq\x27z#cq\x27w#cq!Y#cq!k#cqv#cq!_#cq%i#cq!g#cq~P!:tO![3lO!]\x27YX!k\x27YX~P%[O!].tO!k(ka~O!].tO!k(ka~P!:tO!Y3oO~O$O!na!^!na~PKlO$O!ja!]!ja!^!ja~P#BwO$O!ra!^!ra~P!=[O$O!ta!^!ta~P!?rOg\x27]X!]\x27]X~P!,TO!]/POg(pa~OSfO!_4TO$d4UO~O!^4YO~Ov4ZO~P#/sOa$mq!]$mq\x27z$mq\x27w$mq!Y$mq!k$mqv$mq!_$mq%i$mq!g$mq~P!:tO!Y4]O~P!&zO!S4^O~O!Q*OO\x27y*PO(z%POn\x27ia(y\x27ia!]\x27ia#`\x27ia~Og\x27ia$O\x27ia~P%-fO!Q*OO\x27y*POn\x27ka(y\x27ka(z\x27ka!]\x27ka#`\x27ka~Og\x27ka$O\x27ka~P%.XO(r$YO~P#/sO!YfX!Y$zX!]fX!]$zX!g%RX#`fX~P!0SOp%WO(T=WO~P!1uOp4bO!S%hO![4aO!_%iO(T%gO!]\x27eX!k\x27eX~O!]/pO!k)Oa~O!]/pO!g#vO!k)Oa~O!]/pO!g#vO(r\x27pO!k)Oa~Og$|i!]$|i#`$|i$O$|i~P!1WO![4jO!Y\x27gX!]\x27gX~P!3tO!]/yO!Y)Pa~O!]/yO!Y)Pa~P#/sOP]XR]X[]Xj]Xr]X!Q]X!S]X!Y]X!]]X!l]X!p]X#R]X#S]X#`]X#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X(a]X(r]X(y]X(z]X~Oj%YX!g%YX~P%2OOj4oO!g#vO~Oh%VO!g#vO!l%eO~Oh%VOr4tO!l%eO(r\x27pO~Or4yO!g#vO(r\x27pO~Os!nO!S4zO(VTO(YUO(e!mO~O(y$}On%ai!Q%ai\x27y%ai(z%ai!]%ai#`%ai~Og%ai$O%ai~P%5oO(z%POn%ci!Q%ci\x27y%ci(y%ci!]%ci#`%ci~Og%ci$O%ci~P%6bOg(_i!](_i~P!1WO#`5QOg(_i!](_i~P!1WO!k5VO~Oa$oq!]$oq\x27z$oq\x27w$oq!Y$oq!k$oqv$oq!_$oq%i$oq!g$oq~P!:tO!Y5ZO~O!]5[O!_)QX~P#/sOa$zX!_$zX%^]X\x27z$zX!]$zX~P!0SO%^5_OaoX!_oX\x27zoX!]oX~P$#OOp5`O(T#nO~O%^5_O~Ob5fO%j5gO(T+qO(VTO(YUO!]\x27tX!^\x27tX~O!]1TO!^)Xa~O[5kO~O`5lO~O[5pO~Oa%nO\x27z%nO~P#/sO!]5uO#`5wO!^)UX~O!^5xO~Or6OOs!nO!S*iO!b!yO!c!vO!d!vO!|<VO#T!pO#U!pO#V!pO#W!pO#X!pO#[5}O#]!zO(U!lO(VTO(YUO(e!mO(o!sO~O!^5|O~P%;eOn6TO!_1oO%i6SO~Oh%VOn6TO!_1oO%i6SO~Ob6[O(T#nO(VTO(YUO!]\x27sX!^\x27sX~O!]1zO!^)Va~O(VTO(YUO(e6^O~O`6bO~Oj6eO&[6fO~PNXO!k6gO~P%[Oa6iO~Oa6iO~P%[Ob2bO!^6nO&j2aO~P`O!g6pO~O!g6rOh(ji!](ji!^(ji!g(ji!l(jir(ji(r(ji~O!]#hi!^#hi~P#BwO#`6sO!]#hi!^#hi~O!]!ai!^!ai~P#BwOa%nO#`6|O\x27z%nO~Oa%nO!g#vO#`6|O\x27z%nO~O!](tq!k(tqa(tq\x27z(tq~P!:tO!](jO!k(sq~O!S%hO!_%iO#j7TO(T%gO~O!_\x27`O%i7WO~On7[O!_\x27`O%i7WO~O#k\x27iaP\x27iaR\x27ia[\x27iaa\x27iaj\x27iar\x27ia!S\x27ia!l\x27ia!p\x27ia#R\x27ia#n\x27ia#o\x27ia#p\x27ia#q\x27ia#r\x27ia#s\x27ia#t\x27ia#u\x27ia#v\x27ia#x\x27ia#z\x27ia#{\x27ia\x27z\x27ia(a\x27ia(r\x27ia!k\x27ia!Y\x27ia\x27w\x27iav\x27ia!_\x27ia%i\x27ia!g\x27ia~P%-fO#k\x27kaP\x27kaR\x27ka[\x27kaa\x27kaj\x27kar\x27ka!S\x27ka!l\x27ka!p\x27ka#R\x27ka#n\x27ka#o\x27ka#p\x27ka#q\x27ka#r\x27ka#s\x27ka#t\x27ka#u\x27ka#v\x27ka#x\x27ka#z\x27ka#{\x27ka\x27z\x27ka(a\x27ka(r\x27ka!k\x27ka!Y\x27ka\x27w\x27kav\x27ka!_\x27ka%i\x27ka!g\x27ka~P%.XO#k$|iP$|iR$|i[$|ia$|ij$|ir$|i!S$|i!]$|i!l$|i!p$|i#R$|i#n$|i#o$|i#p$|i#q$|i#r$|i#s$|i#t$|i#u$|i#v$|i#x$|i#z$|i#{$|i\x27z$|i(a$|i(r$|i!k$|i!Y$|i\x27w$|i#`$|iv$|i!_$|i%i$|i!g$|i~P#/sO#k%aiP%aiR%ai[%aia%aij%air%ai!S%ai!l%ai!p%ai#R%ai#n%ai#o%ai#p%ai#q%ai#r%ai#s%ai#t%ai#u%ai#v%ai#x%ai#z%ai#{%ai\x27z%ai(a%ai(r%ai!k%ai!Y%ai\x27w%aiv%ai!_%ai%i%ai!g%ai~P%5oO#k%ciP%ciR%ci[%cia%cij%cir%ci!S%ci!l%ci!p%ci#R%ci#n%ci#o%ci#p%ci#q%ci#r%ci#s%ci#t%ci#u%ci#v%ci#x%ci#z%ci#{%ci\x27z%ci(a%ci(r%ci!k%ci!Y%ci\x27w%civ%ci!_%ci%i%ci!g%ci~P%6bO!]\x27Ya!k\x27Ya~P!:tO!].tO!k(ki~O$O#ci!]#ci!^#ci~P#BwOP$[OR#zO!Q#yO!S#{O!l#xO!p$[O(aVO[#mij#mir#mi#R#mi#o#mi#p#mi#q#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi$O#mi(r#mi(y#mi(z#mi!]#mi!^#mi~O#n#mi~P%NdO#n<_O~P%NdOP$[OR#zOr<kO!Q#yO!S#{O!l#xO!p$[O#n<_O#o<`O#p<`O#q<`O(aVO[#mij#mi#R#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi$O#mi(r#mi(y#mi(z#mi!]#mi!^#mi~O#r#mi~P&!lO#r<aO~P&!lOP$[OR#zO[<mOj<bOr<kO!Q#yO!S#{O!l#xO!p$[O#R<bO#n<_O#o<`O#p<`O#q<`O#r<aO#s<bO#t<bO#u<lO(aVO#x#mi#z#mi#{#mi$O#mi(r#mi(y#mi(z#mi!]#mi!^#mi~O#v#mi~P&$tOP$[OR#zO[<mOj<bOr<kO!Q#yO!S#{O!l#xO!p$[O#R<bO#n<_O#o<`O#p<`O#q<`O#r<aO#s<bO#t<bO#u<lO#v<cO(aVO(z#}O#z#mi#{#mi$O#mi(r#mi(y#mi!]#mi!^#mi~O#x<eO~P&&uO#x#mi~P&&uO#v<cO~P&$tOP$[OR#zO[<mOj<bOr<kO!Q#yO!S#{O!l#xO!p$[O#R<bO#n<_O#o<`O#p<`O#q<`O#r<aO#s<bO#t<bO#u<lO#v<cO#x<eO(aVO(y#|O(z#}O#{#mi$O#mi(r#mi!]#mi!^#mi~O#z#mi~P&)UO#z<gO~P&)UOa#|y!]#|y\x27z#|y\x27w#|y!Y#|y!k#|yv#|y!_#|y%i#|y!g#|y~P!:tO[#mij#mir#mi#R#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi$O#mi(r#mi!]#mi!^#mi~OP$[OR#zO!Q#yO!S#{O!l#xO!p$[O#n<_O#o<`O#p<`O#q<`O(aVO(y#mi(z#mi~P&,QOn>^O!Q*OO\x27y*PO(y$}O(z%POP#miR#mi!S#mi!l#mi!p#mi#n#mi#o#mi#p#mi#q#mi(a#mi~P&,QO#S$dOP(`XR(`X[(`Xj(`Xn(`Xr(`X!Q(`X!S(`X!l(`X!p(`X#R(`X#n(`X#o(`X#p(`X#q(`X#r(`X#s(`X#t(`X#u(`X#v(`X#x(`X#z(`X#{(`X$O(`X\x27y(`X(a(`X(r(`X(y(`X(z(`X!](`X!^(`X~O$O$Pi!]$Pi!^$Pi~P#BwO$O!ri!^!ri~P$+oOg\x27]a!]\x27]a~P!1WO!^7nO~O!]\x27da!^\x27da~P#BwO!Y7oO~P#/sO!g#vO(r\x27pO!]\x27ea!k\x27ea~O!]/pO!k)Oi~O!]/pO!g#vO!k)Oi~Og$|q!]$|q#`$|q$O$|q~P!1WO!Y\x27ga!]\x27ga~P#/sO!g7vO~O!]/yO!Y)Pi~P#/sO!]/yO!Y)Pi~O!Y7yO~Oh%VOr8OO!l%eO(r\x27pO~Oj8QO!g#vO~Or8TO!g#vO(r\x27pO~O!Q*OO\x27y*PO(z%POn\x27ja(y\x27ja!]\x27ja#`\x27ja~Og\x27ja$O\x27ja~P&5RO!Q*OO\x27y*POn\x27la(y\x27la(z\x27la!]\x27la#`\x27la~Og\x27la$O\x27la~P&5tOg(_q!](_q~P!1WO#`8VOg(_q!](_q~P!1WO!Y8WO~Og%Oq!]%Oq#`%Oq$O%Oq~P!1WOa$oy!]$oy\x27z$oy\x27w$oy!Y$oy!k$oyv$oy!_$oy%i$oy!g$oy~P!:tO!g6rO~O!]5[O!_)Qa~O!_\x27`OP$TaR$Ta[$Taj$Tar$Ta!Q$Ta!S$Ta!]$Ta!l$Ta!p$Ta#R$Ta#n$Ta#o$Ta#p$Ta#q$Ta#r$Ta#s$Ta#t$Ta#u$Ta#v$Ta#x$Ta#z$Ta#{$Ta(a$Ta(r$Ta(y$Ta(z$Ta~O%i7WO~P&8fO%^8[Oa%[i!_%[i\x27z%[i!]%[i~Oa#cy!]#cy\x27z#cy\x27w#cy!Y#cy!k#cyv#cy!_#cy%i#cy!g#cy~P!:tO[8^O~Ob8`O(T+qO(VTO(YUO~O!]1TO!^)Xi~O`8dO~O(e(|O!]\x27pX!^\x27pX~O!]5uO!^)Ua~O!^8nO~P%;eO(o!sO~P$&YO#[8oO~O!_1oO~O!_1oO%i8qO~On8tO!_1oO%i8qO~O[8yO!]\x27sa!^\x27sa~O!]1zO!^)Vi~O!k8}O~O!k9OO~O!k9RO~O!k9RO~P%[Oa9TO~O!g9UO~O!k9VO~O!](wi!^(wi~P#BwOa%nO#`9_O\x27z%nO~O!](ty!k(tya(ty\x27z(ty~P!:tO!](jO!k(sy~O%i9bO~P&8fO!_\x27`O%i9bO~O#k$|qP$|qR$|q[$|qa$|qj$|qr$|q!S$|q!]$|q!l$|q!p$|q#R$|q#n$|q#o$|q#p$|q#q$|q#r$|q#s$|q#t$|q#u$|q#v$|q#x$|q#z$|q#{$|q\x27z$|q(a$|q(r$|q!k$|q!Y$|q\x27w$|q#`$|qv$|q!_$|q%i$|q!g$|q~P#/sO#k\x27jaP\x27jaR\x27ja[\x27jaa\x27jaj\x27jar\x27ja!S\x27ja!l\x27ja!p\x27ja#R\x27ja#n\x27ja#o\x27ja#p\x27ja#q\x27ja#r\x27ja#s\x27ja#t\x27ja#u\x27ja#v\x27ja#x\x27ja#z\x27ja#{\x27ja\x27z\x27ja(a\x27ja(r\x27ja!k\x27ja!Y\x27ja\x27w\x27jav\x27ja!_\x27ja%i\x27ja!g\x27ja~P&5RO#k\x27laP\x27laR\x27la[\x27laa\x27laj\x27lar\x27la!S\x27la!l\x27la!p\x27la#R\x27la#n\x27la#o\x27la#p\x27la#q\x27la#r\x27la#s\x27la#t\x27la#u\x27la#v\x27la#x\x27la#z\x27la#{\x27la\x27z\x27la(a\x27la(r\x27la!k\x27la!Y\x27la\x27w\x27lav\x27la!_\x27la%i\x27la!g\x27la~P&5tO#k%OqP%OqR%Oq[%Oqa%Oqj%Oqr%Oq!S%Oq!]%Oq!l%Oq!p%Oq#R%Oq#n%Oq#o%Oq#p%Oq#q%Oq#r%Oq#s%Oq#t%Oq#u%Oq#v%Oq#x%Oq#z%Oq#{%Oq\x27z%Oq(a%Oq(r%Oq!k%Oq!Y%Oq\x27w%Oq#`%Oqv%Oq!_%Oq%i%Oq!g%Oq~P#/sO!]\x27Yi!k\x27Yi~P!:tO$O#cq!]#cq!^#cq~P#BwO(y$}OP%aaR%aa[%aaj%aar%aa!S%aa!l%aa!p%aa#R%aa#n%aa#o%aa#p%aa#q%aa#r%aa#s%aa#t%aa#u%aa#v%aa#x%aa#z%aa#{%aa$O%aa(a%aa(r%aa!]%aa!^%aa~On%aa!Q%aa\x27y%aa(z%aa~P&IyO(z%POP%caR%ca[%caj%car%ca!S%ca!l%ca!p%ca#R%ca#n%ca#o%ca#p%ca#q%ca#r%ca#s%ca#t%ca#u%ca#v%ca#x%ca#z%ca#{%ca$O%ca(a%ca(r%ca!]%ca!^%ca~On%ca!Q%ca\x27y%ca(y%ca~P&LQOn>^O!Q*OO\x27y*PO(z%PO~P&IyOn>^O!Q*OO\x27y*PO(y$}O~P&LQOR0kO!Q0kO!S0lO#S$dOP}a[}aj}an}ar}a!l}a!p}a#R}a#n}a#o}a#p}a#q}a#r}a#s}a#t}a#u}a#v}a#x}a#z}a#{}a$O}a\x27y}a(a}a(r}a(y}a(z}a!]}a!^}a~O!Q*OO\x27y*POP$saR$sa[$saj$san$sar$sa!S$sa!l$sa!p$sa#R$sa#n$sa#o$sa#p$sa#q$sa#r$sa#s$sa#t$sa#u$sa#v$sa#x$sa#z$sa#{$sa$O$sa(a$sa(r$sa(y$sa(z$sa!]$sa!^$sa~O!Q*OO\x27y*POP$uaR$ua[$uaj$uan$uar$ua!S$ua!l$ua!p$ua#R$ua#n$ua#o$ua#p$ua#q$ua#r$ua#s$ua#t$ua#u$ua#v$ua#x$ua#z$ua#{$ua$O$ua(a$ua(r$ua(y$ua(z$ua!]$ua!^$ua~On>^O!Q*OO\x27y*PO(y$}O(z%PO~OP%TaR%Ta[%Taj%Tar%Ta!S%Ta!l%Ta!p%Ta#R%Ta#n%Ta#o%Ta#p%Ta#q%Ta#r%Ta#s%Ta#t%Ta#u%Ta#v%Ta#x%Ta#z%Ta#{%Ta$O%Ta(a%Ta(r%Ta!]%Ta!^%Ta~P\x27\x27VO$O$mq!]$mq!^$mq~P#BwO$O$oq!]$oq!^$oq~P#BwO!^9oO~O$O9pO~P!1WO!g#vO!]\x27ei!k\x27ei~O!g#vO(r\x27pO!]\x27ei!k\x27ei~O!]/pO!k)Oq~O!Y\x27gi!]\x27gi~P#/sO!]/yO!Y)Pq~Or9wO!g#vO(r\x27pO~O[9yO!Y9xO~P#/sO!Y9xO~Oj:PO!g#vO~Og(_y!](_y~P!1WO!]\x27na!_\x27na~P#/sOa%[q!_%[q\x27z%[q!]%[q~P#/sO[:UO~O!]1TO!^)Xq~O`:YO~O#`:ZO!]\x27pa!^\x27pa~O!]5uO!^)Ui~P#BwO!S:]O~O!_1oO%i:`O~O(VTO(YUO(e:eO~O!]1zO!^)Vq~O!k:hO~O!k:iO~O!k:jO~O!k:jO~P%[O#`:mO!]#hy!^#hy~O!]#hy!^#hy~P#BwO%i:rO~P&8fO!_\x27`O%i:rO~O$O#|y!]#|y!^#|y~P#BwOP$|iR$|i[$|ij$|ir$|i!S$|i!l$|i!p$|i#R$|i#n$|i#o$|i#p$|i#q$|i#r$|i#s$|i#t$|i#u$|i#v$|i#x$|i#z$|i#{$|i$O$|i(a$|i(r$|i!]$|i!^$|i~P\x27\x27VO!Q*OO\x27y*PO(z%POP\x27iaR\x27ia[\x27iaj\x27ian\x27iar\x27ia!S\x27ia!l\x27ia!p\x27ia#R\x27ia#n\x27ia#o\x27ia#p\x27ia#q\x27ia#r\x27ia#s\x27ia#t\x27ia#u\x27ia#v\x27ia#x\x27ia#z\x27ia#{\x27ia$O\x27ia(a\x27ia(r\x27ia(y\x27ia!]\x27ia!^\x27ia~O!Q*OO\x27y*POP\x27kaR\x27ka[\x27kaj\x27kan\x27kar\x27ka!S\x27ka!l\x27ka!p\x27ka#R\x27ka#n\x27ka#o\x27ka#p\x27ka#q\x27ka#r\x27ka#s\x27ka#t\x27ka#u\x27ka#v\x27ka#x\x27ka#z\x27ka#{\x27ka$O\x27ka(a\x27ka(r\x27ka(y\x27ka(z\x27ka!]\x27ka!^\x27ka~O(y$}OP%aiR%ai[%aij%ain%air%ai!Q%ai!S%ai!l%ai!p%ai#R%ai#n%ai#o%ai#p%ai#q%ai#r%ai#s%ai#t%ai#u%ai#v%ai#x%ai#z%ai#{%ai$O%ai\x27y%ai(a%ai(r%ai(z%ai!]%ai!^%ai~O(z%POP%ciR%ci[%cij%cin%cir%ci!Q%ci!S%ci!l%ci!p%ci#R%ci#n%ci#o%ci#p%ci#q%ci#r%ci#s%ci#t%ci#u%ci#v%ci#x%ci#z%ci#{%ci$O%ci\x27y%ci(a%ci(r%ci(y%ci!]%ci!^%ci~O$O$oy!]$oy!^$oy~P#BwO$O#cy!]#cy!^#cy~P#BwO!g#vO!]\x27eq!k\x27eq~O!]/pO!k)Oy~O!Y\x27gq!]\x27gq~P#/sOr:|O!g#vO(r\x27pO~O[;QO!Y;PO~P#/sO!Y;PO~Og(_!R!](_!R~P!1WOa%[y!_%[y\x27z%[y!]%[y~P#/sO!]1TO!^)Xy~O!]5uO!^)Uq~O(T;XO~O!_1oO%i;[O~O!k;_O~O%i;dO~P&8fOP$|qR$|q[$|qj$|qr$|q!S$|q!l$|q!p$|q#R$|q#n$|q#o$|q#p$|q#q$|q#r$|q#s$|q#t$|q#u$|q#v$|q#x$|q#z$|q#{$|q$O$|q(a$|q(r$|q!]$|q!^$|q~P\x27\x27VO!Q*OO\x27y*PO(z%POP\x27jaR\x27ja[\x27jaj\x27jan\x27jar\x27ja!S\x27ja!l\x27ja!p\x27ja#R\x27ja#n\x27ja#o\x27ja#p\x27ja#q\x27ja#r\x27ja#s\x27ja#t\x27ja#u\x27ja#v\x27ja#x\x27ja#z\x27ja#{\x27ja$O\x27ja(a\x27ja(r\x27ja(y\x27ja!]\x27ja!^\x27ja~O!Q*OO\x27y*POP\x27laR\x27la[\x27laj\x27lan\x27lar\x27la!S\x27la!l\x27la!p\x27la#R\x27la#n\x27la#o\x27la#p\x27la#q\x27la#r\x27la#s\x27la#t\x27la#u\x27la#v\x27la#x\x27la#z\x27la#{\x27la$O\x27la(a\x27la(r\x27la(y\x27la(z\x27la!]\x27la!^\x27la~OP%OqR%Oq[%Oqj%Oqr%Oq!S%Oq!l%Oq!p%Oq#R%Oq#n%Oq#o%Oq#p%Oq#q%Oq#r%Oq#s%Oq#t%Oq#u%Oq#v%Oq#x%Oq#z%Oq#{%Oq$O%Oq(a%Oq(r%Oq!]%Oq!^%Oq~P\x27\x27VOg%e!Z!]%e!Z#`%e!Z$O%e!Z~P!1WO!Y;hO~P#/sOr;iO!g#vO(r\x27pO~O[;kO!Y;hO~P#/sO!]\x27pq!^\x27pq~P#BwO!]#h!Z!^#h!Z~P#BwO#k%e!ZP%e!ZR%e!Z[%e!Za%e!Zj%e!Zr%e!Z!S%e!Z!]%e!Z!l%e!Z!p%e!Z#R%e!Z#n%e!Z#o%e!Z#p%e!Z#q%e!Z#r%e!Z#s%e!Z#t%e!Z#u%e!Z#v%e!Z#x%e!Z#z%e!Z#{%e!Z\x27z%e!Z(a%e!Z(r%e!Z!k%e!Z!Y%e!Z\x27w%e!Z#`%e!Zv%e!Z!_%e!Z%i%e!Z!g%e!Z~P#/sOr;tO!g#vO(r\x27pO~O!Y;uO~P#/sOr;|O!g#vO(r\x27pO~O!Y;}O~P#/sOP%e!ZR%e!Z[%e!Zj%e!Zr%e!Z!S%e!Z!l%e!Z!p%e!Z#R%e!Z#n%e!Z#o%e!Z#p%e!Z#q%e!Z#r%e!Z#s%e!Z#t%e!Z#u%e!Z#v%e!Z#x%e!Z#z%e!Z#{%e!Z$O%e!Z(a%e!Z(r%e!Z!]%e!Z!^%e!Z~P\x27\x27VOr<QO!g#vO(r\x27pO~Ov(fX~P1qO!Q%rO~P!)[O(U!lO~P!)[O!YfX!]fX#`fX~P%2OOP]XR]X[]Xj]Xr]X!Q]X!S]X!]]X!]fX!l]X!p]X#R]X#S]X#`]X#`fX#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X(a]X(r]X(y]X(z]X~O!gfX!k]X!kfX(rfX~P\x27LTOP<UOQ<UOSfOd>ROe!iOpkOr<UOskOtkOzkO|<UO!O<UO!SWO!WkO!XkO!_XO!i<XO!lZO!o<UO!p<UO!q<UO!s<YO!u<]O!x!hO$W!kO$n>PO(T)]O(VTO(YUO(aVO(o[O~O!]<iO!^$qa~Oh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O<tO!S${O!_$|O!i>WO!l$xO#j<zO$W%`O$t<vO$v<xO$y%aO(T(vO(VTO(YUO(a$uO(y$}O(z%PO~Ol)dO~P(!yOr!eX(r!eX~P#!iOr(jX(r(jX~P##[O!^]X!^fX~P\x27LTO!YfX!Y$zX!]fX!]$zX#`fX~P!0SO#k<^O~O!g#vO#k<^O~O#`<nO~Oj<bO~O#`=OO!](wX!^(wX~O#`<nO!](uX!^(uX~O#k=PO~Og=RO~P!1WO#k=XO~O#k=YO~Og=RO(T&ZO~O!g#vO#k=ZO~O!g#vO#k=PO~O$O=[O~P#BwO#k=]O~O#k=^O~O#k=cO~O#k=dO~O#k=eO~O#k=fO~O$O=gO~P!1WO$O=hO~P!1WOl=sO~P7eOk#S#T#U#W#X#[#i#j#u$n$t$v$y%]%^%h%i%j%q%s%v%w%y%{~(OT#o!X\x27|(U#ps#n#qr!Q\x27}$]\x27}(T$_(e~','goto':'$9Y)]PPPPPP)^PP)aP)rP+W/]PPPP6mPP7TPP=QPPP@tPA^PA^PPPA^PCfPA^PA^PA^PCjPCoPD^PIWPPPI[PPPPI[L_PPPLeMVPI[PI[PP!\x20eI[PPPI[PI[P!#lI[P!\x27S!(X!(bP!)U!)Y!)U!,gPPPPPPP!-W!(XPP!-h!/YP!2iI[I[!2n!5z!:h!:h!>gPPP!>oI[PPPPPPPPP!BOP!C]PPI[!DnPI[PI[I[I[I[I[PI[!FQP!I[P!LbP!Lf!Lp!Lt!LtP!IXP!Lx!LxP#!OP#!SI[PI[#!Y#%_CjA^PA^PA^A^P#&lA^A^#)OA^#+vA^#.SA^A^#.r#1W#1W#1]#1f#1W#1qPP#1WPA^#2ZA^#6YA^A^6mPPP#:_PPP#:x#:xP#:xP#;`#:xPP#;fP#;]P#;]#;y#;]#<e#<k#<n)aP#<q)aP#<z#<z#<zP)aP)aP)aP)aPP)aP#=Q#=TP#=T)aP#=XP#=[P)aP)aP)aP)aP)aP)a)aPP#=b#=h#=s#=y#>P#>V#>]#>k#>q#>{#?R#?]#?c#?s#?y#@k#@}#AT#AZ#Ai#BO#Cs#DR#DY#Et#FS#Gt#HS#HY#H`#Hf#Hp#Hv#H|#IW#Ij#IpPPPPPPPPPPP#IvPPPPPPP#Jk#Mx$\x20b$\x20i$\x20qPPP$\x27]P$\x27f$*_$0x$0{$1O$1}$2Q$2X$2aP$2g$2jP$3W$3[$4S$5b$5g$5}PP$6S$6Y$6^$6a$6e$6i$7e$7|$8e$8i$8l$8o$8y$8|$9Q$9UR!|RoqOXst!Z#d%m&r&t&u&w,s,x2[2_Y!vQ\x27`-e1o5{Q%tvQ%|yQ&T|Q&j!VS\x27W!e-]Q\x27f!iS\x27l!r!yU*k$|*Z*oQ+o%}S+|&V&WQ,d&dQ-c\x27_Q-m\x27gQ-u\x27mQ0[*qQ1b,OQ1y,eR<{<Y%SdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&r&t&u&w&{\x27T\x27b\x27r(T(V(](d(x(z)O)}*i+X+],p,s,x-i-q.P.V.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3l4z6T6e6f6i6|8t9T9_S#q]<V!r)_$Z$n\x27X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SU+P%]<s<tQ+t&PQ,f&gQ,m&oQ0x+gQ0}+iQ1Y+uQ2R,kQ3`.gQ5`0|Q5f1TQ6[1zQ7Y3dQ8`5gR9e7[\x27QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{\x27T\x27X\x27b\x27r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>S!S!nQ!r!v!y!z$|\x27W\x27_\x27`\x27l\x27m\x27n*k*o*q*r-]-c-e-u0[0_1o5{5}%[$ti#v$b$c$d$x${%O%Q%^%_%c)y*R*T*V*Y*a*g*w*x+f+i,S,V.f/P/d/m/x/y/{0`0b0i0j0o1f1i1q3c4^4_4j4o5Q5[5_6S7W7v8Q8V8[8q9b9p9y:P:`:r;Q;[;d;k<l<m<o<p<q<r<u<v<w<x<y<z=S=T=U=V=X=Y=]=^=_=`=a=b=c=d=g=h>P>X>Y>]>^Q&X|Q\x27U!eS\x27[%i-`Q+t&PQ,P&WQ,f&gQ0n+SQ1Y+uQ1_+{Q2Q,jQ2R,kQ5f1TQ5o1aQ6[1zQ6_1|Q6`2PQ8`5gQ8c5lQ8|6bQ:X8dQ:f8yQ;V:YR<}*ZrnOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_R,h&k&z^OPXYstuvwz!Z!`!g!j!o#S#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{\x27T\x27b\x27r(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>R>S[#]WZ#W#Z\x27X(T!b%jm#h#i#l$x%e%h(^(h(i(j*Y*^*b+Z+[+^,o-V.T.Z.[.]._/m/p2d3[3]4a6r7TQ%wxQ%{yW&Q|&V&W,OQ&_!TQ\x27c!hQ\x27e!iQ(q#sS+n%|%}Q+r&PQ,_&bQ,c&dS-l\x27f\x27gQ.i(rQ1R+oQ1X+uQ1Z+vQ1^+zQ1t,`S1x,d,eQ2|-mQ5e1TQ5i1WQ5n1`Q6Z1yQ8_5gQ8b5kQ8f5pQ:T8^R;T:U!U$zi$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y!^%yy!i!u%{%|%}\x27V\x27e\x27f\x27g\x27k\x27u*j+n+o-Y-l-m-t0R0U1R2u2|3T4r4s4v7}9{Q+h%wQ,T&[Q,W&]Q,b&dQ.h(qQ1s,_U1w,c,d,eQ3e.iQ6U1tS6Y1x1yQ8x6Z#f>T#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^o>U<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=hW%Ti%V*y>PS&[!Q&iQ&]!RQ&^!SU*}%[%d=sR,R&Y%]%Si#v$b$c$d$x${%O%Q%^%_%c)y*R*T*V*Y*a*g*w*x+f+i,S,V.f/P/d/m/x/y/{0`0b0i0j0o1f1i1q3c4^4_4j4o5Q5[5_6S7W7v8Q8V8[8q9b9p9y:P:`:r;Q;[;d;k<l<m<o<p<q<r<u<v<w<x<y<z=S=T=U=V=X=Y=]=^=_=`=a=b=c=d=g=h>P>X>Y>]>^T)z$u){V+P%]<s<tW\x27[!e%i*Z-`S(}#y#zQ+c%rQ+y&SS.b(m(nQ1j,XQ5T0kR8i5u\x27QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{\x27T\x27X\x27b\x27r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>S$i$^c#Y#e%q%s%u(S(Y(t(y)R)S)T)U)V)W)X)Y)Z)[)^)`)b)g)q+d+x-Z-x-}.S.U.s.v.z.|.}/O/b0p2k2n3O3V3k3p3q3r3s3t3u3v3w3x3y3z3{3|4P4Q4X5X5c6u6{7Q7a7b7k7l8k9X9]9g9m9n:o;W;`<W=vT#TV#U\x27RkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{\x27T\x27X\x27b\x27r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SQ\x27Y!eR2q-]!W!nQ!e!r!v!y!z$|\x27W\x27_\x27`\x27l\x27m\x27n*Z*k*o*q*r-]-c-e-u0[0_1o5{5}R1l,ZnqOXst!Z#d%m&r&t&u&w,s,x2[2_Q&y!^Q\x27v!xS(s#u<^Q+l%zQ,]&_Q,^&aQ-j\x27dQ-w\x27oS.r(x=PS0q+X=ZQ1P+mQ1n,[Q2c,zQ2e,{Q2m-WQ2z-kQ2}-oS5Y0r=eQ5a1QS5d1S=fQ6t2oQ6x2{Q6}3SQ8]5bQ9Y6vQ9Z6yQ9^7OR:l9V$d$]c#Y#e%s%u(S(Y(t(y)R)S)T)U)V)W)X)Y)Z)[)^)`)b)g)q+d+x-Z-x-}.S.U.s.v.z.}/O/b0p2k2n3O3V3k3p3q3r3s3t3u3v3w3x3y3z3{3|4P4Q4X5X5c6u6{7Q7a7b7k7l8k9X9]9g9m9n:o;W;`<W=vS(o#p\x27iQ)P#zS+b%q.|S.c(n(pR3^.d\x27QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{\x27T\x27X\x27b\x27r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SS#q]<VQ&t!XQ&u!YQ&w![Q&x!]R2Z,vQ\x27a!hQ+e%wQ-h\x27cS.e(q+hQ2x-gW3b.h.i0w0yQ6w2yW7U3_3a3e5^U9a7V7X7ZU:q9c9d9fS;b:p:sQ;p;cR;x;qU!wQ\x27`-eT5y1o5{!Q_OXZ`st!V!Z#d#h%e%m&i&k&r&t&u&w(j,s,x.[2[2_]!pQ!r\x27`-e1o5{T#q]<V%^{OPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{\x27T\x27b\x27r(T(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_S(}#y#zS.b(m(n!s=l$Z$n\x27X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SU$fd)_,mS(p#p\x27iU*v%R(w4OU0m+O.n7gQ5^0xQ7V3`Q9d7YR:s9em!tQ!r!v!y!z\x27`\x27l\x27m\x27n-e-u1o5{5}Q\x27t!uS(f#g2US-s\x27k\x27wQ/s*]Q0R*jQ3U-vQ4f/tQ4r0TQ4s0UQ4x0^Q7r4`S7}4t4vS8R4y4{Q9r7sQ9v7yQ9{8OQ:Q8TS:{9w9xS;g:|;PS;s;h;iS;{;t;uS<P;|;}R<S<QQ#wbQ\x27s!uS(e#g2US(g#m+WQ+Y%fQ+j%xQ+p&OU-r\x27k\x27t\x27wQ.W(fU/r*]*`/wQ0S*jQ0V*lQ1O+kQ1u,aS3R-s-vQ3Z.`S4e/s/tQ4n0PS4q0R0^Q4u0WQ6W1vQ7P3US7q4`4bQ7u4fU7|4r4x4{Q8P4wQ8v6XS9q7r7sQ9u7yQ9}8RQ:O8SQ:c8wQ:y9rS:z9v9xQ;S:QQ;^:dS;f:{;PS;r;g;hS;z;s;uS<O;{;}Q<R<PQ<T<SQ=o=jQ={=tR=|=uV!wQ\x27`-e%^aOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{\x27T\x27b\x27r(T(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_S#wz!j!r=i$Z$n\x27X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SR=o>R%^bOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{\x27T\x27b\x27r(T(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_Q%fj!^%xy!i!u%{%|%}\x27V\x27e\x27f\x27g\x27k\x27u*j+n+o-Y-l-m-t0R0U1R2u2|3T4r4s4v7}9{S&Oz!jQ+k%yQ,a&dW1v,b,c,d,eU6X1w1x1yS8w6Y6ZQ:d8x!r=j$Z$n\x27X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SQ=t>QR=u>R%QeOPXYstuvw!Z!`!g!o#S#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&r&t&u&w&{\x27T\x27b\x27r(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_Y#bWZ#W#Z(T!b%jm#h#i#l$x%e%h(^(h(i(j*Y*^*b+Z+[+^,o-V.T.Z.[.]._/m/p2d3[3]4a6r7TQ,n&o!p=k$Z$n)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SR=n\x27XU\x27]!e%i*ZR2s-`%SdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&r&t&u&w&{\x27T\x27b\x27r(T(V(](d(x(z)O)}*i+X+],p,s,x-i-q.P.V.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3l4z6T6e6f6i6|8t9T9_!r)_$Z$n\x27X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SQ,m&oQ0x+gQ3`.gQ7Y3dR9e7[!b$Tc#Y%q(S(Y(t(y)Z)[)`)g+x-x-}.S.U.s.v/b0p3O3V3k3{5X5c6{7Q7a9]:o<W!P<d)^)q-Z.|2k2n3p3y3z4P4X6u7b7k7l8k9X9g9m9n;W;`=v!f$Vc#Y%q(S(Y(t(y)W)X)Z)[)`)g+x-x-}.S.U.s.v/b0p3O3V3k3{5X5c6{7Q7a9]:o<W!T<f)^)q-Z.|2k2n3p3v3w3y3z4P4X6u7b7k7l8k9X9g9m9n;W;`=v!^$Zc#Y%q(S(Y(t(y)`)g+x-x-}.S.U.s.v/b0p3O3V3k3{5X5c6{7Q7a9]:o<WQ4_/kz>S)^)q-Z.|2k2n3p4P4X6u7b7k7l8k9X9g9m9n;W;`=vQ>X>ZR>Y>[\x27QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{\x27T\x27X\x27b\x27r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SS$oh$pR4U/U\x27XgOPWXYZhstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n$p%m%t&R&k&n&o&r&t&u&w&{\x27T\x27X\x27b\x27r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/U/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>ST$kf$qQ$ifS)j$l)nR)v$qT$jf$qT)l$l)n\x27XhOPWXYZhstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n$p%m%t&R&k&n&o&r&t&u&w&{\x27T\x27X\x27b\x27r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/U/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>ST$oh$pQ$rhR)u$p%^jOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{\x27T\x27b\x27r(T(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_!s>Q$Z$n\x27X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>S#glOPXZst!Z!`!o#S#d#o#{$n%m&k&n&o&r&t&u&w&{\x27T\x27b)O)s*i+]+g,p,s,x-i.g/V/n0]0l1r2S2T2V2X2[2_2a3d4T4z6T6e6f6i7[8t9T!U%Ri$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y#f(w#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^Q+T%aQ/c*Oo4O<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=h!U$yi$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>YQ*c$zU*l$|*Z*oQ+U%bQ0W*m#f=q#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^n=r<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=hQ=w>TQ=x>UQ=y>VR=z>W!U%Ri$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y#f(w#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^o4O<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=hnoOXst!Z#d%m&r&t&u&w,s,x2[2_S*f${*YQ-R\x27OQ-S\x27QR4i/y%[%Si#v$b$c$d$x${%O%Q%^%_%c)y*R*T*V*Y*a*g*w*x+f+i,S,V.f/P/d/m/x/y/{0`0b0i0j0o1f1i1q3c4^4_4j4o5Q5[5_6S7W7v8Q8V8[8q9b9p9y:P:`:r;Q;[;d;k<l<m<o<p<q<r<u<v<w<x<y<z=S=T=U=V=X=Y=]=^=_=`=a=b=c=d=g=h>P>X>Y>]>^Q,U&]Q1h,WQ5s1gR8h5tV*n$|*Z*oU*n$|*Z*oT5z1o5{S0P*i/nQ4w0]T8S4z:]Q+j%xQ0V*lQ1O+kQ1u,aQ6W1vQ8v6XQ:c8wR;^:d!U%Oi$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Yx*R$v)e*S*u+V/v0d0e4R4g5R5S5W7p8U:R:x=p=}>OS0`*t0a#f<o#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^n<p<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=h!d=S(u)c*[*e.j.m.q/_/k/|0v1e3h4[4h4l5r7]7`7w7z8X8Z9t9|:S:};R;e;j;v>Z>[`=T3}7c7f7j9h:t:w;yS=_.l3iT=`7e9k!U%Qi$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y|*T$v)e*U*t+V/g/v0d0e4R4g4|5R5S5W7p8U:R:x=p=}>OS0b*u0c#f<q#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^n<r<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=h!h=U(u)c*[*e.k.l.q/_/k/|0v1e3f3h4[4h4l5r7]7^7`7w7z8X8Z9t9|:S:};R;e;j;v>Z>[d=V3}7d7e7j9h9i:t:u:w;yS=a.m3jT=b7f9lrnOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_Q&f!UR,p&ornOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_R&f!UQ,Y&^R1d,RsnOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_Q1p,_S6R1s1tU8p6P6Q6US:_8r8sS;Y:^:aQ;m;ZR;w;nQ&m!VR,i&iR6_1|R:f8yW&Q|&V&W,OR1Z+vQ&r!WR,s&sR,y&xT2],x2_R,}&yQ,|&yR2f,}Q\x27y!{R-y\x27ySsOtQ#dXT%ps#dQ#OTR\x27{#OQ#RUR\x27}#RQ){$uR/`){Q#UVR(Q#UQ#XWU(W#X(X.QQ(X#YR.Q(YQ-^\x27YR2r-^Q.u(yS3m.u3nR3n.vQ-e\x27`R2v-eY!rQ\x27`-e1o5{R\x27j!rQ/Q)eR4S/QU#_W%h*YU(_#_(`.RQ(`#`R.R(ZQ-a\x27]R2t-at`OXst!V!Z#d%m&i&k&r&t&u&w,s,x2[2_S#hZ%eU#r`#h.[R.[(jQ(k#jQ.X(gW.a(k.X3X7RQ3X.YR7R3YQ)n$lR/W)nQ$phR)t$pQ$`cU)a$`-|<jQ-|<WR<j)qQ/q*]W4c/q4d7t9sU4d/r/s/tS7t4e4fR9s7u$e*Q$v(u)c)e*[*e*t*u+Q+R+V.l.m.o.p.q/_/g/i/k/v/|0d0e0v1e3f3g3h3}4R4[4g4h4l4|5O5R5S5W5r7]7^7_7`7e7f7h7i7j7p7w7z8U8X8Z9h9i9j9t9|:R:S:t:u:v:w:x:};R;e;j;v;y=p=}>O>Z>[Q/z*eU4k/z4m7xQ4m/|R7x4lS*o$|*ZR0Y*ox*S$v)e*t*u+V/v0d0e4R4g5R5S5W7p8U:R:x=p=}>O!d.j(u)c*[*e.l.m.q/_/k/|0v1e3h4[4h4l5r7]7`7w7z8X8Z9t9|:S:};R;e;j;v>Z>[U/h*S.j7ca7c3}7e7f7j9h:t:w;yQ0a*tQ3i.lU4}0a3i9kR9k7e|*U$v)e*t*u+V/g/v0d0e4R4g4|5R5S5W7p8U:R:x=p=}>O!h.k(u)c*[*e.l.m.q/_/k/|0v1e3f3h4[4h4l5r7]7^7`7w7z8X8Z9t9|:S:};R;e;j;v>Z>[U/j*U.k7de7d3}7e7f7j9h9i:t:u:w;yQ0c*uQ3j.mU5P0c3j9lR9l7fQ*z%UR0g*zQ5]0vR8Y5]Q+_%kR0u+_Q5v1jS8j5v:[R:[8kQ,[&_R1m,[Q5{1oR8m5{Q1{,fS6]1{8zR8z6_Q1U+rW5h1U5j8a:VQ5j1XQ8a5iR:V8bQ+w&QR1[+wQ2_,xR6m2_YrOXst#dQ&v!ZQ+a%mQ,r&rQ,t&tQ,u&uQ,w&wQ2Y,sS2],x2_R6l2[Q%opQ&z!_Q&}!aQ\x27P!bQ\x27R!cQ\x27q!uQ+`%lQ+l%zQ,Q&XQ,h&mQ-P&|W-p\x27k\x27s\x27t\x27wQ-w\x27oQ0X*nQ1P+mQ1c,PS2O,i,lQ2g-OQ2h-RQ2i-SQ2}-oW3P-r-s-v-xQ5a1QQ5m1_Q5q1eQ6V1uQ6a2QQ6k2ZU6z3O3R3UQ6}3SQ8]5bQ8e5oQ8g5rQ8l5zQ8u6WQ8{6`S9[6{7PQ9^7OQ:W8cQ:b8vQ:g8|Q:n9]Q;U:XQ;]:cQ;a:oQ;l;VR;o;^Q%zyQ\x27d!iQ\x27o!uU+m%{%|%}Q-W\x27VU-k\x27e\x27f\x27gS-o\x27k\x27uQ0Q*jS1Q+n+oQ2o-YS2{-l-mQ3S-tS4p0R0UQ5b1RQ6v2uQ6y2|Q7O3TU7{4r4s4vQ9z7}R;O9{S$wi>PR*{%VU%Ui%V>PR0f*yQ$viS(u#v+iS)c$b$cQ)e$dQ*[$xS*e${*YQ*t%OQ*u%QQ+Q%^Q+R%_Q+V%cQ.l<oQ.m<qQ.o<uQ.p<wQ.q<yQ/_)yQ/g*RQ/i*TQ/k*VQ/v*aS/|*g/mQ0d*wQ0e*xl0v+f,V.f1i1q3c6S7W8q9b:`:r;[;dQ1e,SQ3f=SQ3g=UQ3h=XS3}<l<mQ4R/PS4[/d4^Q4g/xQ4h/yQ4l/{Q4|0`Q5O0bQ5R0iQ5S0jQ5W0oQ5r1fQ7]=]Q7^=_Q7_=aQ7`=cQ7e<pQ7f<rQ7h<vQ7i<xQ7j<zQ7p4_Q7w4jQ7z4oQ8U5QQ8X5[Q8Z5_Q9h=YQ9i=TQ9j=VQ9t7vQ9|8QQ:R8VQ:S8[Q:t=^Q:u=`Q:v=bQ:w=dQ:x9pQ:}9yQ;R:PQ;e=gQ;j;QQ;v;kQ;y=hQ=p>PQ=}>XQ>O>YQ>Z>]R>[>^Q+O%]Q.n<sR7g<tnpOXst!Z#d%m&r&t&u&w,s,x2[2_Q!fPS#fZ#oQ&|!`W\x27h!o*i0]4zQ(P#SQ)Q#{Q)r$nS,l&k&nQ,q&oQ-O&{S-T\x27T/nQ-g\x27bQ.x)OQ/[)sQ0s+]Q0y+gQ2W,pQ2y-iQ3a.gQ4W/VQ5U0lQ6Q1rQ6c2SQ6d2TQ6h2VQ6j2XQ6o2aQ7Z3dQ7m4TQ8s6TQ9P6eQ9Q6fQ9S6iQ9f7[Q:a8tR:k9T#[cOPXZst!Z!`!o#d#o#{%m&k&n&o&r&t&u&w&{\x27T\x27b)O*i+]+g,p,s,x-i.g/n0]0l1r2S2T2V2X2[2_2a3d4z6T6e6f6i7[8t9TQ#YWQ#eYQ%quQ%svS%uw!gS(S#W(VQ(Y#ZQ(t#uQ(y#xQ)R$OQ)S$PQ)T$QQ)U$RQ)V$SQ)W$TQ)X$UQ)Y$VQ)Z$WQ)[$XQ)^$ZQ)`$_Q)b$aQ)g$eW)q$n)s/V4TQ+d%tQ+x&RS-Z\x27X2pQ-x\x27rS-}(T.PQ.S(]Q.U(dQ.s(xQ.v(zQ.z<UQ.|<XQ.}<YQ/O<]Q/b)}Q0p+XQ2k-UQ2n-XQ3O-qQ3V.VQ3k.tQ3p<^Q3q<_Q3r<`Q3s<aQ3t<bQ3u<cQ3v<dQ3w<eQ3x<fQ3y<gQ3z<hQ3{.{Q3|<kQ4P<nQ4Q<{Q4X<iQ5X0rQ5c1SQ6u=OQ6{3QQ7Q3WQ7a3lQ7b=PQ7k=RQ7l=ZQ8k5wQ9X6sQ9]6|Q9g=[Q9m=eQ9n=fQ:o9_Q;W:ZQ;`:mQ<W#SR=v>SR#[WR\x27Z!el!tQ!r!v!y!z\x27`\x27l\x27m\x27n-e-u1o5{5}S\x27V!e-]U*j$|*Z*oS-Y\x27W\x27_S0U*k*qQ0^*rQ2u-cQ4v0[R4{0_R({#xQ!fQT-d\x27`-e]!qQ!r\x27`-e1o5{Q#p]R\x27i<VR)f$dY!uQ\x27`-e1o5{Q\x27k!rS\x27u!v!yS\x27w!z5}S-t\x27l\x27mQ-v\x27nR3T-uT#kZ%eS#jZ%eS%km,oU(g#h#i#lS.Y(h(iQ.^(jQ0t+^Q3Y.ZU3Z.[.]._S7S3[3]R9`7Td#^W#W#Z%h(T(^*Y+Z.T/mr#gZm#h#i#l%e(h(i(j+^.Z.[.]._3[3]7TS*]$x*bQ/t*^Q2U,oQ2l-VQ4`/pQ6q2dQ7s4aQ9W6rT=m\x27X+[V#aW%h*YU#`W%h*YS(U#W(^U(Z#Z+Z/mS-[\x27X+[T.O(T.TV\x27^!e%i*ZQ$lfR)x$qT)m$l)nR4V/UT*_$x*bT*h${*YQ0w+fQ1g,VQ3_.fQ5t1iQ6P1qQ7X3cQ8r6SQ9c7WQ:^8qQ:p9bQ;Z:`Q;c:rQ;n;[R;q;dnqOXst!Z#d%m&r&t&u&w,s,x2[2_Q&l!VR,h&itmOXst!U!V!Z#d%m&i&r&t&u&w,s,x2[2_R,o&oT%lm,oR1k,XR,g&gQ&U|S+}&V&WR1^,OR+s&PT&p!W&sT&q!W&sT2^,x2_','nodeNames':'⚠\x20ArithOp\x20ArithOp\x20?.\x20JSXStartTag\x20LineComment\x20BlockComment\x20Script\x20Hashbang\x20ExportDeclaration\x20export\x20Star\x20as\x20VariableName\x20String\x20Escape\x20from\x20;\x20default\x20FunctionDeclaration\x20async\x20function\x20VariableDefinition\x20>\x20<\x20TypeParamList\x20in\x20out\x20const\x20TypeDefinition\x20extends\x20ThisType\x20this\x20LiteralType\x20ArithOp\x20Number\x20BooleanLiteral\x20TemplateType\x20InterpolationEnd\x20Interpolation\x20InterpolationStart\x20NullType\x20null\x20VoidType\x20void\x20TypeofType\x20typeof\x20MemberExpression\x20.\x20PropertyName\x20[\x20TemplateString\x20Escape\x20Interpolation\x20super\x20RegExp\x20]\x20ArrayExpression\x20Spread\x20,\x20}\x20{\x20ObjectExpression\x20Property\x20async\x20get\x20set\x20PropertyDefinition\x20Block\x20:\x20NewTarget\x20new\x20NewExpression\x20)\x20(\x20ArgList\x20UnaryExpression\x20delete\x20LogicOp\x20BitOp\x20YieldExpression\x20yield\x20AwaitExpression\x20await\x20ParenthesizedExpression\x20ClassExpression\x20class\x20ClassBody\x20MethodDeclaration\x20Decorator\x20@\x20MemberExpression\x20PrivatePropertyName\x20CallExpression\x20TypeArgList\x20CompareOp\x20<\x20declare\x20Privacy\x20static\x20abstract\x20override\x20PrivatePropertyDefinition\x20PropertyDeclaration\x20readonly\x20accessor\x20Optional\x20TypeAnnotation\x20Equals\x20StaticBlock\x20FunctionExpression\x20ArrowFunction\x20ParamList\x20ParamList\x20ArrayPattern\x20ObjectPattern\x20PatternProperty\x20Privacy\x20readonly\x20Arrow\x20MemberExpression\x20BinaryExpression\x20ArithOp\x20ArithOp\x20ArithOp\x20ArithOp\x20BitOp\x20CompareOp\x20instanceof\x20satisfies\x20CompareOp\x20BitOp\x20BitOp\x20BitOp\x20LogicOp\x20LogicOp\x20ConditionalExpression\x20LogicOp\x20LogicOp\x20AssignmentExpression\x20UpdateOp\x20PostfixExpression\x20CallExpression\x20InstantiationExpression\x20TaggedTemplateExpression\x20DynamicImport\x20import\x20ImportMeta\x20JSXElement\x20JSXSelfCloseEndTag\x20JSXSelfClosingTag\x20JSXIdentifier\x20JSXBuiltin\x20JSXIdentifier\x20JSXNamespacedName\x20JSXMemberExpression\x20JSXSpreadAttribute\x20JSXAttribute\x20JSXAttributeValue\x20JSXEscape\x20JSXEndTag\x20JSXOpenTag\x20JSXFragmentTag\x20JSXText\x20JSXEscape\x20JSXStartCloseTag\x20JSXCloseTag\x20PrefixCast\x20<\x20ArrowFunction\x20TypeParamList\x20SequenceExpression\x20InstantiationExpression\x20KeyofType\x20keyof\x20UniqueType\x20unique\x20ImportType\x20InferredType\x20infer\x20TypeName\x20ParenthesizedType\x20FunctionSignature\x20ParamList\x20NewSignature\x20IndexedType\x20TupleType\x20Label\x20ArrayType\x20ReadonlyType\x20ObjectType\x20MethodType\x20PropertyType\x20IndexSignature\x20PropertyDefinition\x20CallSignature\x20TypePredicate\x20asserts\x20is\x20NewSignature\x20new\x20UnionType\x20LogicOp\x20IntersectionType\x20LogicOp\x20ConditionalType\x20ParameterizedType\x20ClassDeclaration\x20abstract\x20implements\x20type\x20VariableDeclaration\x20let\x20var\x20using\x20TypeAliasDeclaration\x20InterfaceDeclaration\x20interface\x20EnumDeclaration\x20enum\x20EnumBody\x20NamespaceDeclaration\x20namespace\x20module\x20AmbientDeclaration\x20declare\x20GlobalDeclaration\x20global\x20ClassDeclaration\x20ClassBody\x20AmbientFunctionDeclaration\x20ExportGroup\x20VariableName\x20VariableName\x20ImportDeclaration\x20defer\x20ImportGroup\x20ForStatement\x20for\x20ForSpec\x20ForInSpec\x20ForOfSpec\x20of\x20WhileStatement\x20while\x20WithStatement\x20with\x20DoStatement\x20do\x20IfStatement\x20if\x20else\x20SwitchStatement\x20switch\x20SwitchBody\x20CaseLabel\x20case\x20DefaultLabel\x20TryStatement\x20try\x20CatchClause\x20catch\x20FinallyClause\x20finally\x20ReturnStatement\x20return\x20ThrowStatement\x20throw\x20BreakStatement\x20break\x20ContinueStatement\x20continue\x20DebuggerStatement\x20debugger\x20LabeledStatement\x20ExpressionStatement\x20SingleExpression\x20SingleClassItem','maxTerm':0x17c,'context':trackNewline,'nodeProps':[['isolate',-0x8,0x5,0x6,0xe,0x25,0x27,0x33,0x35,0x37,''],['group',-0x1a,0x9,0x11,0x13,0x44,0xcf,0xd3,0xd7,0xd8,0xda,0xdd,0xe0,0xea,0xed,0xf3,0xf5,0xf7,0xf9,0xfc,0x102,0x108,0x10a,0x10c,0x10e,0x110,0x112,0x113,'Statement',-0x22,0xd,0xe,0x20,0x23,0x24,0x2a,0x33,0x36,0x37,0x39,0x3e,0x46,0x48,0x4c,0x50,0x52,0x54,0x55,0x6e,0x6f,0x78,0x79,0x88,0x8b,0x8d,0x8e,0x8f,0x90,0x91,0x93,0x94,0xa7,0xa9,0xab,'Expression',-0x17,0x1f,0x21,0x25,0x29,0x2b,0x2d,0xad,0xaf,0xb1,0xb2,0xb4,0xb5,0xb6,0xb8,0xb9,0xba,0xbc,0xbd,0xbe,0xc9,0xcb,0xcd,0xce,'Type',-0x3,0x58,0x67,0x6d,'ClassItem'],['openedBy',0x17,'<',0x26,'InterpolationStart',0x38,'[',0x3c,'{',0x49,'(',0xa0,'JSXStartCloseTag'],['closedBy',-0x2,0x18,0xa8,'>',0x28,'InterpolationEnd',0x32,']',0x3d,'}',0x4a,')',0xa5,'JSXEndTag']],'propSources':[jsHighlight],'skippedNodes':[0x0,0x5,0x6,0x116],'repeatNodeCount':0x25,'tokenData':'$Fq07[R!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx!\x20Yxy!\x27iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#:O!R![#<_![!]#I_!]!^#Jk!^!_#Ku!_!`$![!`!a$$v!a!b$*T!b!c$,r!c!}Er!}#O$-|#O#P$/W#P#Q$4o#Q#R$5y#R#SEr#S#T$7W#T#o$8b#o#p$<r#p#q$=h#q#r$>x#r#s$@U#s$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$I|Er$I|$I}$Dk$I}$JO$Dk$JO$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;\x27SEr;\x27S;=`I|<%l?HTEr?HT?HU$A`?HUOEr(n%d_$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z&j&hT$i&jO!^&c!_#o&c#p;\x27S&c;\x27S;=`&w<%lO&c&j&zP;=`<%l&c\x27|\x27U]$i&j(Z!bOY&}YZ&cZw&}wx&cx!^&}!^!_\x27}!_#O&}#O#P&c#P#o&}#o#p\x27}#p;\x27S&};\x27S;=`(l<%lO&}!b(SU(Z!bOY\x27}Zw\x27}x#O\x27}#P;\x27S\x27};\x27S;=`(f<%lO\x27}!b(iP;=`<%l\x27}\x27|(oP;=`<%l&}\x27[(y]$i&j(WpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;\x27S(r;\x27S;=`*a<%lO(rp)wU(WpOY)rZr)rs#O)r#P;\x27S)r;\x27S;=`*Z<%lO)rp*^P;=`<%l)r\x27[*dP;=`<%l(r#S*nX(Wp(Z!bOY*gZr*grs\x27}sw*gwx)rx#O*g#P;\x27S*g;\x27S;=`+Z<%lO*g#S+^P;=`<%l*g(n+dP;=`<%l%Z07[+rq$i&j(Wp(Z!b\x27|0/lOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p$f%Z$f$g+g$g#BY%Z#BY#BZ+g#BZ$IS%Z$IS$I_+g$I_$JT%Z$JT$JU+g$JU$KV%Z$KV$KW+g$KW&FU%Z&FU&FV+g&FV;\x27S%Z;\x27S;=`+a<%l?HT%Z?HT?HU+g?HUO%Z07[.ST(X#S$i&j\x27}0/lO!^&c!_#o&c#p;\x27S&c;\x27S;=`&w<%lO&c07[.n_$i&j(Wp(Z!b\x27}0/lOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z)3p/x`$i&j!p),Q(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KW1V`#v(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`2X!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KW2d_#v(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27At3l_(V\x27:f$i&j(Z!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;\x27S4k;\x27S;=`:X<%lO4k(^4r_$i&j(Z!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;\x27S4k;\x27S;=`:X<%lO4k&z5vX$i&jOr5qrs6cs!^5q!^!_6y!_#o5q#o#p6y#p;\x27S5q;\x27S;=`7h<%lO5q&z6jT$d`$i&jO!^&c!_#o&c#p;\x27S&c;\x27S;=`&w<%lO&c`6|TOr6yrs7]s;\x27S6y;\x27S;=`7b<%lO6y`7bO$d``7eP;=`<%l6y&z7kP;=`<%l5q(^7w]$d`$i&j(Z!bOY&}YZ&cZw&}wx&cx!^&}!^!_\x27}!_#O&}#O#P&c#P#o&}#o#p\x27}#p;\x27S&};\x27S;=`(l<%lO&}!r8uZ(Z!bOY8pYZ6yZr8prs9hsw8pwx6yx#O8p#O#P6y#P;\x27S8p;\x27S;=`:R<%lO8p!r9oU$d`(Z!bOY\x27}Zw\x27}x#O\x27}#P;\x27S\x27};\x27S;=`(f<%lO\x27}!r:UP;=`<%l8p(^:[P;=`<%l4k%9[:hh$i&j(Wp(Z!bOY%ZYZ&cZq%Zqr<Srs&}st%ZtuCruw%Zwx(rx!^%Z!^!_*g!_!c%Z!c!}Cr!}#O%Z#O#P&c#P#R%Z#R#SCr#S#T%Z#T#oCr#o#p*g#p$g%Z$g;\x27SCr;\x27S;=`El<%lOCr(r<__WS$i&j(Wp(Z!bOY<SYZ&cZr<Srs=^sw<Swx@nx!^<S!^!_Bm!_#O<S#O#P>`#P#o<S#o#pBm#p;\x27S<S;\x27S;=`Cl<%lO<S(Q=g]WS$i&j(Z!bOY=^YZ&cZw=^wx>`x!^=^!^!_?q!_#O=^#O#P>`#P#o=^#o#p?q#p;\x27S=^;\x27S;=`@h<%lO=^&n>gXWS$i&jOY>`YZ&cZ!^>`!^!_?S!_#o>`#o#p?S#p;\x27S>`;\x27S;=`?k<%lO>`S?XSWSOY?SZ;\x27S?S;\x27S;=`?e<%lO?SS?hP;=`<%l?S&n?nP;=`<%l>`!f?xWWS(Z!bOY?qZw?qwx?Sx#O?q#O#P?S#P;\x27S?q;\x27S;=`@b<%lO?q!f@eP;=`<%l?q(Q@kP;=`<%l=^\x27`@w]WS$i&j(WpOY@nYZ&cZr@nrs>`s!^@n!^!_Ap!_#O@n#O#P>`#P#o@n#o#pAp#p;\x27S@n;\x27S;=`Bg<%lO@ntAwWWS(WpOYApZrAprs?Ss#OAp#O#P?S#P;\x27SAp;\x27S;=`Ba<%lOAptBdP;=`<%lAp\x27`BjP;=`<%l@n#WBvYWS(Wp(Z!bOYBmZrBmrs?qswBmwxApx#OBm#O#P?S#P;\x27SBm;\x27S;=`Cf<%lOBm#WCiP;=`<%lBm(rCoP;=`<%l<S%9[C}i$i&j(o%1l(Wp(Z!bOY%ZYZ&cZr%Zrs&}st%ZtuCruw%Zwx(rx!Q%Z!Q![Cr![!^%Z!^!_*g!_!c%Z!c!}Cr!}#O%Z#O#P&c#P#R%Z#R#SCr#S#T%Z#T#oCr#o#p*g#p$g%Z$g;\x27SCr;\x27S;=`El<%lOCr%9[EoP;=`<%lCr07[FRk$i&j(Wp(Z!b$]#t(T,2j(e$I[OY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;\x27SEr;\x27S;=`I|<%lOEr+dHRk$i&j(Wp(Z!b$]#tOY%ZYZ&cZr%Zrs&}st%ZtuGvuw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Gv![!^%Z!^!_*g!_!c%Z!c!}Gv!}#O%Z#O#P&c#P#R%Z#R#SGv#S#T%Z#T#oGv#o#p*g#p$g%Z$g;\x27SGv;\x27S;=`Iv<%lOGv+dIyP;=`<%lGv07[JPP;=`<%lEr(KWJ_`$i&j(Wp(Z!b#p(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KWKl_$i&j$Q(Ch(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z,#xLva(z+JY$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sv%ZvwM{wx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KWNW`$i&j#z(Ch(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27At!\x20c_(Y\x27;W$i&j(WpOY!!bYZ!#hZr!!brs!#hsw!!bwx!$xx!^!!b!^!_!%z!_#O!!b#O#P!#h#P#o!!b#o#p!%z#p;\x27S!!b;\x27S;=`!\x27c<%lO!!b\x27l!!i_$i&j(WpOY!!bYZ!#hZr!!brs!#hsw!!bwx!$xx!^!!b!^!_!%z!_#O!!b#O#P!#h#P#o!!b#o#p!%z#p;\x27S!!b;\x27S;=`!\x27c<%lO!!b&z!#mX$i&jOw!#hwx6cx!^!#h!^!_!$Y!_#o!#h#o#p!$Y#p;\x27S!#h;\x27S;=`!$r<%lO!#h`!$]TOw!$Ywx7]x;\x27S!$Y;\x27S;=`!$l<%lO!$Y`!$oP;=`<%l!$Y&z!$uP;=`<%l!#h\x27l!%R]$d`$i&j(WpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;\x27S(r;\x27S;=`*a<%lO(r!Q!&PZ(WpOY!%zYZ!$YZr!%zrs!$Ysw!%zwx!&rx#O!%z#O#P!$Y#P;\x27S!%z;\x27S;=`!\x27]<%lO!%z!Q!&yU$d`(WpOY)rZr)rs#O)r#P;\x27S)r;\x27S;=`*Z<%lO)r!Q!\x27`P;=`<%l!%z\x27l!\x27fP;=`<%l!!b/5|!\x27t_!l/.^$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z#&U!)O_!k!Lf$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z-!n!*[b$i&j(Wp(Z!b(U%&f#q(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rxz%Zz{!+d{!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KW!+o`$i&j(Wp(Z!b#n(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z+;x!,|`$i&j(Wp(Z!br+4YOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z,$U!.Z_!]+Jf$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z07[!/ec$i&j(Wp(Z!b!Q.2^OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!0p!P!Q%Z!Q![!3Y![!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z#%|!0ya$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!2O!P!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z#%|!2Z_![!L^$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad!3eg$i&j(Wp(Z!bs\x279tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!3Y![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S!3Y#S#X%Z#X#Y!4|#Y#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad!5Vg$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx{%Z{|!6n|}%Z}!O!6n!O!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad!6wc$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad!8_c$i&j(Wp(Z!bs\x279tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z07[!9uf$i&j(Wp(Z!b#o(ChOY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcxz!;Zz{#-}{!P!;Z!P!Q#/d!Q!^!;Z!^!_#(i!_!`#7S!`!a#8i!a!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;\x27S!;Z;\x27S;=`#-w<%lO!;Z?O!;fb$i&j(Wp(Z!b!X7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;\x27S!;Z;\x27S;=`#-w<%lO!;Z>^!<w`$i&j(Z!b!X7`OY!<nYZ&cZw!<nwx!=yx!P!<n!P!Q!Eq!Q!^!<n!^!_!Gr!_!}!<n!}#O!KS#O#P!Dy#P#o!<n#o#p!Gr#p;\x27S!<n;\x27S;=`!L]<%lO!<n<z!>Q^$i&j!X7`OY!=yYZ&cZ!P!=y!P!Q!>|!Q!^!=y!^!_!@c!_!}!=y!}#O!CW#O#P!Dy#P#o!=y#o#p!@c#p;\x27S!=y;\x27S;=`!Ek<%lO!=y<z!?Td$i&j!X7`O!^&c!_#W&c#W#X!>|#X#Z&c#Z#[!>|#[#]&c#]#^!>|#^#a&c#a#b!>|#b#g&c#g#h!>|#h#i&c#i#j!>|#j#k!>|#k#m&c#m#n!>|#n#o&c#p;\x27S&c;\x27S;=`&w<%lO&c7`!@hX!X7`OY!@cZ!P!@c!P!Q!AT!Q!}!@c!}#O!Ar#O#P!Bq#P;\x27S!@c;\x27S;=`!CQ<%lO!@c7`!AYW!X7`#W#X!AT#Z#[!AT#]#^!AT#a#b!AT#g#h!AT#i#j!AT#j#k!AT#m#n!AT7`!AuVOY!ArZ#O!Ar#O#P!B[#P#Q!@c#Q;\x27S!Ar;\x27S;=`!Bk<%lO!Ar7`!B_SOY!ArZ;\x27S!Ar;\x27S;=`!Bk<%lO!Ar7`!BnP;=`<%l!Ar7`!BtSOY!@cZ;\x27S!@c;\x27S;=`!CQ<%lO!@c7`!CTP;=`<%l!@c<z!C][$i&jOY!CWYZ&cZ!^!CW!^!_!Ar!_#O!CW#O#P!DR#P#Q!=y#Q#o!CW#o#p!Ar#p;\x27S!CW;\x27S;=`!Ds<%lO!CW<z!DWX$i&jOY!CWYZ&cZ!^!CW!^!_!Ar!_#o!CW#o#p!Ar#p;\x27S!CW;\x27S;=`!Ds<%lO!CW<z!DvP;=`<%l!CW<z!EOX$i&jOY!=yYZ&cZ!^!=y!^!_!@c!_#o!=y#o#p!@c#p;\x27S!=y;\x27S;=`!Ek<%lO!=y<z!EnP;=`<%l!=y>^!Ezl$i&j(Z!b!X7`OY&}YZ&cZw&}wx&cx!^&}!^!_\x27}!_#O&}#O#P&c#P#W&}#W#X!Eq#X#Z&}#Z#[!Eq#[#]&}#]#^!Eq#^#a&}#a#b!Eq#b#g&}#g#h!Eq#h#i&}#i#j!Eq#j#k!Eq#k#m&}#m#n!Eq#n#o&}#o#p\x27}#p;\x27S&};\x27S;=`(l<%lO&}8r!GyZ(Z!b!X7`OY!GrZw!Grwx!@cx!P!Gr!P!Q!Hl!Q!}!Gr!}#O!JU#O#P!Bq#P;\x27S!Gr;\x27S;=`!J|<%lO!Gr8r!Hse(Z!b!X7`OY\x27}Zw\x27}x#O\x27}#P#W\x27}#W#X!Hl#X#Z\x27}#Z#[!Hl#[#]\x27}#]#^!Hl#^#a\x27}#a#b!Hl#b#g\x27}#g#h!Hl#h#i\x27}#i#j!Hl#j#k!Hl#k#m\x27}#m#n!Hl#n;\x27S\x27};\x27S;=`(f<%lO\x27}8r!JZX(Z!bOY!JUZw!JUwx!Arx#O!JU#O#P!B[#P#Q!Gr#Q;\x27S!JU;\x27S;=`!Jv<%lO!JU8r!JyP;=`<%l!JU8r!KPP;=`<%l!Gr>^!KZ^$i&j(Z!bOY!KSYZ&cZw!KSwx!CWx!^!KS!^!_!JU!_#O!KS#O#P!DR#P#Q!<n#Q#o!KS#o#p!JU#p;\x27S!KS;\x27S;=`!LV<%lO!KS>^!LYP;=`<%l!KS>^!L`P;=`<%l!<n=l!Ll`$i&j(Wp!X7`OY!LcYZ&cZr!Lcrs!=ys!P!Lc!P!Q!Mn!Q!^!Lc!^!_#\x20o!_!}!Lc!}#O#%P#O#P!Dy#P#o!Lc#o#p#\x20o#p;\x27S!Lc;\x27S;=`#&Y<%lO!Lc=l!Mwl$i&j(Wp!X7`OY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#W(r#W#X!Mn#X#Z(r#Z#[!Mn#[#](r#]#^!Mn#^#a(r#a#b!Mn#b#g(r#g#h!Mn#h#i(r#i#j!Mn#j#k!Mn#k#m(r#m#n!Mn#n#o(r#o#p)r#p;\x27S(r;\x27S;=`*a<%lO(r8Q#\x20vZ(Wp!X7`OY#\x20oZr#\x20ors!@cs!P#\x20o!P!Q#!i!Q!}#\x20o!}#O#$R#O#P!Bq#P;\x27S#\x20o;\x27S;=`#$y<%lO#\x20o8Q#!pe(Wp!X7`OY)rZr)rs#O)r#P#W)r#W#X#!i#X#Z)r#Z#[#!i#[#])r#]#^#!i#^#a)r#a#b#!i#b#g)r#g#h#!i#h#i)r#i#j#!i#j#k#!i#k#m)r#m#n#!i#n;\x27S)r;\x27S;=`*Z<%lO)r8Q#$WX(WpOY#$RZr#$Rrs!Ars#O#$R#O#P!B[#P#Q#\x20o#Q;\x27S#$R;\x27S;=`#$s<%lO#$R8Q#$vP;=`<%l#$R8Q#$|P;=`<%l#\x20o=l#%W^$i&j(WpOY#%PYZ&cZr#%Prs!CWs!^#%P!^!_#$R!_#O#%P#O#P!DR#P#Q!Lc#Q#o#%P#o#p#$R#p;\x27S#%P;\x27S;=`#&S<%lO#%P=l#&VP;=`<%l#%P=l#&]P;=`<%l!Lc?O#&kn$i&j(Wp(Z!b!X7`OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#W%Z#W#X#&`#X#Z%Z#Z#[#&`#[#]%Z#]#^#&`#^#a%Z#a#b#&`#b#g%Z#g#h#&`#h#i%Z#i#j#&`#j#k#&`#k#m%Z#m#n#&`#n#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z9d#(r](Wp(Z!b!X7`OY#(iZr#(irs!Grsw#(iwx#\x20ox!P#(i!P!Q#)k!Q!}#(i!}#O#+`#O#P!Bq#P;\x27S#(i;\x27S;=`#,`<%lO#(i9d#)th(Wp(Z!b!X7`OY*gZr*grs\x27}sw*gwx)rx#O*g#P#W*g#W#X#)k#X#Z*g#Z#[#)k#[#]*g#]#^#)k#^#a*g#a#b#)k#b#g*g#g#h#)k#h#i*g#i#j#)k#j#k#)k#k#m*g#m#n#)k#n;\x27S*g;\x27S;=`+Z<%lO*g9d#+gZ(Wp(Z!bOY#+`Zr#+`rs!JUsw#+`wx#$Rx#O#+`#O#P!B[#P#Q#(i#Q;\x27S#+`;\x27S;=`#,Y<%lO#+`9d#,]P;=`<%l#+`9d#,cP;=`<%l#(i?O#,o`$i&j(Wp(Z!bOY#,fYZ&cZr#,frs!KSsw#,fwx#%Px!^#,f!^!_#+`!_#O#,f#O#P!DR#P#Q!;Z#Q#o#,f#o#p#+`#p;\x27S#,f;\x27S;=`#-q<%lO#,f?O#-tP;=`<%l#,f?O#-zP;=`<%l!;Z07[#.[b$i&j(Wp(Z!b(O0/l!X7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;\x27S!;Z;\x27S;=`#-w<%lO!;Z07[#/o_$i&j(Wp(Z!bT0/lOY#/dYZ&cZr#/drs#0nsw#/dwx#4Ox!^#/d!^!_#5}!_#O#/d#O#P#1p#P#o#/d#o#p#5}#p;\x27S#/d;\x27S;=`#6|<%lO#/d06j#0w]$i&j(Z!bT0/lOY#0nYZ&cZw#0nwx#1px!^#0n!^!_#3R!_#O#0n#O#P#1p#P#o#0n#o#p#3R#p;\x27S#0n;\x27S;=`#3x<%lO#0n05W#1wX$i&jT0/lOY#1pYZ&cZ!^#1p!^!_#2d!_#o#1p#o#p#2d#p;\x27S#1p;\x27S;=`#2{<%lO#1p0/l#2iST0/lOY#2dZ;\x27S#2d;\x27S;=`#2u<%lO#2d0/l#2xP;=`<%l#2d05W#3OP;=`<%l#1p01O#3YW(Z!bT0/lOY#3RZw#3Rwx#2dx#O#3R#O#P#2d#P;\x27S#3R;\x27S;=`#3r<%lO#3R01O#3uP;=`<%l#3R06j#3{P;=`<%l#0n05x#4X]$i&j(WpT0/lOY#4OYZ&cZr#4Ors#1ps!^#4O!^!_#5Q!_#O#4O#O#P#1p#P#o#4O#o#p#5Q#p;\x27S#4O;\x27S;=`#5w<%lO#4O00^#5XW(WpT0/lOY#5QZr#5Qrs#2ds#O#5Q#O#P#2d#P;\x27S#5Q;\x27S;=`#5q<%lO#5Q00^#5tP;=`<%l#5Q05x#5zP;=`<%l#4O01p#6WY(Wp(Z!bT0/lOY#5}Zr#5}rs#3Rsw#5}wx#5Qx#O#5}#O#P#2d#P;\x27S#5};\x27S;=`#6v<%lO#5}01p#6yP;=`<%l#5}07[#7PP;=`<%l#/d)3h#7ab$i&j$Q(Ch(Wp(Z!b!X7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;\x27S!;Z;\x27S;=`#-w<%lO!;ZAt#8vb$Z#t$i&j(Wp(Z!b!X7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;\x27S!;Z;\x27S;=`#-w<%lO!;Z\x27Ad#:Zp$i&j(Wp(Z!bs\x279tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!3Y!P!Q%Z!Q![#<_![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S#<_#S#U%Z#U#V#?i#V#X%Z#X#Y!4|#Y#b%Z#b#c#>_#c#d#Bq#d#l%Z#l#m#Es#m#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad#<jk$i&j(Wp(Z!bs\x279tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!3Y!P!Q%Z!Q![#<_![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S#<_#S#X%Z#X#Y!4|#Y#b%Z#b#c#>_#c#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad#>j_$i&j(Wp(Z!bs\x279tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad#?rd$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad#A]f$i&j(Wp(Z!bs\x279tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad#Bzc$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad#Dbe$i&j(Wp(Z!bs\x279tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad#E|g$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad#Gpi$i&j(Wp(Z!bs\x279tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#b%Z#b#c#>_#c#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z*)x#Il_!g$b$i&j$O)Lv(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z)[#Jv_al$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z04f#LS^h#)`#R-<U(Wp(Z!b$n7`OY*gZr*grs\x27}sw*gwx)rx!P*g!P!Q#MO!Q!^*g!^!_#Mt!_!`$\x20f!`#O*g#P;\x27S*g;\x27S;=`+Z<%lO*g(n#MXX$k&j(Wp(Z!bOY*gZr*grs\x27}sw*gwx)rx#O*g#P;\x27S*g;\x27S;=`+Z<%lO*g(El#M}Z#r(Ch(Wp(Z!bOY*gZr*grs\x27}sw*gwx)rx!_*g!_!`#Np!`#O*g#P;\x27S*g;\x27S;=`+Z<%lO*g(El#NyX$Q(Ch(Wp(Z!bOY*gZr*grs\x27}sw*gwx)rx#O*g#P;\x27S*g;\x27S;=`+Z<%lO*g(El$\x20oX#s(Ch(Wp(Z!bOY*gZr*grs\x27}sw*gwx)rx#O*g#P;\x27S*g;\x27S;=`+Z<%lO*g*)x$!ga#`*!Y$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`!a$#l!a#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(K[$#w_#k(Cl$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z*)x$%Vag!*r#s(Ch$f#|$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`$&[!`!a$\x27f!a#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KW$&g_#s(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KW$\x27qa#r(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`!a$(v!a#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KW$)R`#r(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(Kd$*`a(r(Ct$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!a%Z!a!b$+e!b#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KW$+p`$i&j#{(Ch(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z%#`$,}_!|$Ip$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z04f$.X_!S0,v$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(n$/]Z$i&jO!^$0O!^!_$0f!_#i$0O#i#j$0k#j#l$0O#l#m$2^#m#o$0O#o#p$0f#p;\x27S$0O;\x27S;=`$4i<%lO$0O(n$0VT_#S$i&jO!^&c!_#o&c#p;\x27S&c;\x27S;=`&w<%lO&c#S$0kO_#S(n$0p[$i&jO!Q&c!Q![$1f![!^&c!_!c&c!c!i$1f!i#T&c#T#Z$1f#Z#o&c#o#p$3|#p;\x27S&c;\x27S;=`&w<%lO&c(n$1kZ$i&jO!Q&c!Q![$2^![!^&c!_!c&c!c!i$2^!i#T&c#T#Z$2^#Z#o&c#p;\x27S&c;\x27S;=`&w<%lO&c(n$2cZ$i&jO!Q&c!Q![$3U![!^&c!_!c&c!c!i$3U!i#T&c#T#Z$3U#Z#o&c#p;\x27S&c;\x27S;=`&w<%lO&c(n$3ZZ$i&jO!Q&c!Q![$0O![!^&c!_!c&c!c!i$0O!i#T&c#T#Z$0O#Z#o&c#p;\x27S&c;\x27S;=`&w<%lO&c#S$4PR!Q![$4Y!c!i$4Y#T#Z$4Y#S$4]S!Q![$4Y!c!i$4Y#T#Z$4Y#q#r$0f(n$4lP;=`<%l$0O#1[$4z_!Y#)l$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KW$6U`#x(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z+;p$7c_$i&j(Wp(Z!b(a+4QOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z07[$8qk$i&j(Wp(Z!b(T,2j$_#t(e$I[OY%ZYZ&cZr%Zrs&}st%Ztu$8buw%Zwx(rx}%Z}!O$:f!O!Q%Z!Q![$8b![!^%Z!^!_*g!_!c%Z!c!}$8b!}#O%Z#O#P&c#P#R%Z#R#S$8b#S#T%Z#T#o$8b#o#p*g#p$g%Z$g;\x27S$8b;\x27S;=`$<l<%lO$8b+d$:qk$i&j(Wp(Z!b$_#tOY%ZYZ&cZr%Zrs&}st%Ztu$:fuw%Zwx(rx}%Z}!O$:f!O!Q%Z!Q![$:f![!^%Z!^!_*g!_!c%Z!c!}$:f!}#O%Z#O#P&c#P#R%Z#R#S$:f#S#T%Z#T#o$:f#o#p*g#p$g%Z$g;\x27S$:f;\x27S;=`$<f<%lO$:f+d$<iP;=`<%l$:f07[$<oP;=`<%l$8b#Jf$<{X!_#Hb(Wp(Z!bOY*gZr*grs\x27}sw*gwx)rx#O*g#P;\x27S*g;\x27S;=`+Z<%lO*g,#x$=sa(y+JY$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p#q$+e#q;\x27S%Z;\x27S;=`+a<%lO%Z)>v$?V_!^(CdvBr$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z?O$@a_!q7`$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z07[$Aq|$i&j(Wp(Z!b\x27|0/l$]#t(T,2j(e$I[OX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;\x27SEr;\x27S;=`I|<%l?HTEr?HT?HU$A`?HUOEr07[$D|k$i&j(Wp(Z!b\x27}0/l$]#t(T,2j(e$I[OY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;\x27SEr;\x27S;=`I|<%lOEr','tokenizers':[_0x21c1bb,_0x2837d4,operatorToken,_0x44a589,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,insertSemicolon,new _0x54c8d5('$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOx~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;\x27S!P;\x27S;=`#v<%lO!P~!UO!U~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(c~~',0x8d,0x154),new _0x54c8d5('j~RQYZXz{^~^O(Q~~aP!P!Qd~iO(R~~',0x19,0x143)],'topRules':{'Script':[0x0,0x7],'SingleExpression':[0x1,0x114],'SingleClassItem':[0x2,0x115]},'dialects':{'jsx':0x0,'ts':0x3b47},'dynamicPrecedences':{0x50:0x1,0x52:0x1,0x5e:0x1,0xa9:0x1,0xc7:0x1},'specialized':[{'term':0x147,'get':_0x1d3280=>spec_identifier[_0x1d3280]||-0x1},{'term':0x157,'get':_0x4c7599=>_0x3a5d99[_0x4c7599]||-0x1},{'term':0x5f,'get':_0x5065d2=>_0x5914cd[_0x5065d2]||-0x1}],'tokenPrec':0x3b61}),snippets=[snippetCompletion('function\x20${name}(${params})\x20{\x0a\x09${}\x0a}',{'label':'function','detail':'definition','type':'keyword'}),snippetCompletion('for\x20(let\x20${index}\x20=\x200;\x20${index}\x20<\x20${bound};\x20${index}++)\x20{\x0a\x09${}\x0a}',{'label':'for','detail':'loop','type':'keyword'}),snippetCompletion('for\x20(let\x20${name}\x20of\x20${collection})\x20{\x0a\x09${}\x0a}',{'label':'for','detail':'of\x20loop','type':'keyword'}),snippetCompletion('do\x20{\x0a\x09${}\x0a}\x20while\x20(${})',{'label':'do','detail':'loop','type':'keyword'}),snippetCompletion('while\x20(${})\x20{\x0a\x09${}\x0a}',{'label':'while','detail':'loop','type':'keyword'}),snippetCompletion('try\x20{\x0a\x09${}\x0a}\x20catch\x20(${error})\x20{\x0a\x09${}\x0a}',{'label':'try','detail':'/\x20catch\x20block','type':'keyword'}),snippetCompletion('if\x20(${})\x20{\x0a\x09${}\x0a}',{'label':'if','detail':'block','type':'keyword'}),snippetCompletion('if\x20(${})\x20{\x0a\x09${}\x0a}\x20else\x20{\x0a\x09${}\x0a}',{'label':'if','detail':'/\x20else\x20block','type':'keyword'}),snippetCompletion('class\x20${name}\x20{\x0a\x09constructor(${params})\x20{\x0a\x09\x09${}\x0a\x09}\x0a}',{'label':'class','detail':'definition','type':'keyword'}),snippetCompletion('import\x20{${names}}\x20from\x20\x22${module}\x22\x0a${}',{'label':'import','detail':'named','type':'keyword'}),snippetCompletion('import\x20${name}\x20from\x20\x22${module}\x22\x0a${}',{'label':'import','detail':'default','type':'keyword'})],typescriptSnippets=snippets['concat']([snippetCompletion('interface\x20${name}\x20{\x0a\x09${}\x0a}',{'label':'interface','detail':'definition','type':'keyword'}),snippetCompletion('type\x20${name}\x20=\x20${type}',{'label':'type','detail':'definition','type':'keyword'}),snippetCompletion('enum\x20${name}\x20{\x0a\x09${}\x0a}',{'label':'enum','detail':'definition','type':'keyword'})]),_0x338863=new _0x190bcf(),_0x3b18d6=new Set(['Script','Block','FunctionExpression','FunctionDeclaration','ArrowFunction','MethodDeclaration','ForStatement']);function _0x47ddc2(_0x5137bb){return(_0x309215,_0x627678)=>{let _0x410315=_0x309215['node']['getChild']('VariableDefinition');return _0x410315&&_0x627678(_0x410315,_0x5137bb),!0x0;};}const functionContext=['FunctionDeclaration'],gatherCompletions={'FunctionDeclaration':_0x47ddc2('function'),'ClassDeclaration':_0x47ddc2('class'),'ClassExpression':()=>!0x0,'EnumDeclaration':_0x47ddc2('constant'),'TypeAliasDeclaration':_0x47ddc2('type'),'NamespaceDeclaration':_0x47ddc2('namespace'),'VariableDefinition'(_0x57165,_0x10af4e){_0x57165['matchContext'](functionContext)||_0x10af4e(_0x57165,'variable');},'TypeDefinition'(_0x3f00ea,_0x710973){_0x710973(_0x3f00ea,'type');},'__proto__':null};function getScope(_0xcbdc47,_0x34aa45){let _0x3e7cb5=_0x338863['get'](_0x34aa45);if(_0x3e7cb5)return _0x3e7cb5;let _0x444582=[],_0x3691ac=!0x0;function _0x1f69d8(_0x4a24ca,_0x29c230){let _0x4ab363=_0xcbdc47['sliceString'](_0x4a24ca['from'],_0x4a24ca['to']);_0x444582['push']({'label':_0x4ab363,'type':_0x29c230});}return _0x34aa45['cursor'](IterMode['IncludeAnonymous'])['iterate'](_0x43d922=>{if(_0x3691ac)_0x3691ac=!0x1;else{if(_0x43d922['name']){let _0x1f385a=gatherCompletions[_0x43d922['name']];if(_0x1f385a&&_0x1f385a(_0x43d922,_0x1f69d8)||_0x3b18d6['has'](_0x43d922['name']))return!0x1;}else{if(_0x43d922['to']-_0x43d922['from']>0x2000){for(let _0x4e840d of getScope(_0xcbdc47,_0x43d922['node']))_0x444582['push'](_0x4e840d);return!0x1;}}}}),_0x338863['set'](_0x34aa45,_0x444582),_0x444582;}const Identifier=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,dontComplete=['TemplateString','String','RegExp','LineComment','BlockComment','VariableDefinition','TypeDefinition','Label','PropertyDefinition','PropertyName','PrivatePropertyDefinition','PrivatePropertyName','JSXText','JSXAttributeValue','JSXOpenTag','JSXCloseTag','JSXSelfClosingTag','.','?.'];function localCompletionSource(_0x46d0a3){let _0x5ea320=syntaxTree(_0x46d0a3['state'])['resolveInner'](_0x46d0a3['pos'],-0x1);if(dontComplete['indexOf'](_0x5ea320['name'])>-0x1)return null;let _0x5cb0f1='VariableName'==_0x5ea320['name']||_0x5ea320['to']-_0x5ea320['from']<0x14&&Identifier['test'](_0x46d0a3['state']['sliceDoc'](_0x5ea320['from'],_0x5ea320['to']));if(!_0x5cb0f1&&!_0x46d0a3['explicit'])return null;let _0x37f9fe=[];for(let _0x42def3=_0x5ea320;_0x42def3;_0x42def3=_0x42def3['parent'])_0x3b18d6['has'](_0x42def3['name'])&&(_0x37f9fe=_0x37f9fe['concat'](getScope(_0x46d0a3['state']['doc'],_0x42def3)));return{'options':_0x37f9fe,'from':_0x5cb0f1?_0x5ea320['from']:_0x46d0a3['pos'],'validFor':Identifier};}const javascriptLanguage=_0x383241['define']({'name':'javascript','parser':_0x388d8e['configure']({'props':[indentNodeProp['add']({'IfStatement':continuedIndent({'except':/^\s*({|else\b)/}),'TryStatement':continuedIndent({'except':/^\s*({|catch\b|finally\b)/}),'LabeledStatement':flatIndent,'SwitchBody':_0x4e1e3a=>{let _0xbe3105=_0x4e1e3a['textAfter'],_0x42c21f=/^\s*\}/['test'](_0xbe3105),_0x22656f=/^\s*(case|default)\b/['test'](_0xbe3105);return _0x4e1e3a['baseIndent']+(_0x42c21f?0x0:_0x22656f?0x1:0x2)*_0x4e1e3a['unit'];},'Block':delimitedIndent({'closing':'}'}),'ArrowFunction':_0x18d5da=>_0x18d5da['baseIndent']+_0x18d5da['unit'],'TemplateString\x20BlockComment':()=>null,'Statement\x20Property':continuedIndent({'except':/^\s*{/}),'JSXElement'(_0x57e13c){let _0x45d129=/^\s*<\//['test'](_0x57e13c['textAfter']);return _0x57e13c['lineIndent'](_0x57e13c['node']['from'])+(_0x45d129?0x0:_0x57e13c['unit']);},'JSXEscape'(_0x187822){let _0x2e5b15=/\s*\}/['test'](_0x187822['textAfter']);return _0x187822['lineIndent'](_0x187822['node']['from'])+(_0x2e5b15?0x0:_0x187822['unit']);},'JSXOpenTag\x20JSXSelfClosingTag':_0x5df317=>_0x5df317['column'](_0x5df317['node']['from'])+_0x5df317['unit']}),_0x586808['add']({'Block\x20ClassBody\x20SwitchBody\x20EnumBody\x20ObjectExpression\x20ArrayExpression\x20ObjectType':_0x35c32f,'BlockComment':_0x373445=>({'from':_0x373445['from']+0x2,'to':_0x373445['to']-0x2})})]}),'languageData':{'closeBrackets':{'brackets':['(','[','{','\x27','\x22','`']},'commentTokens':{'line':'//','block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*(?:case |default:|\{|\}|<\/)$/,'wordChars':'$'}}),_0x31781f={'test':_0x1131c0=>/^JSX/['test'](_0x1131c0['name']),'facet':defineLanguageFacet({'commentTokens':{'block':{'open':'{/*','close':'*/}'}}})},typescriptLanguage=javascriptLanguage['configure']({'dialect':'ts'},'typescript'),_0xdadeb2=javascriptLanguage['configure']({'dialect':'jsx','props':[_0x5b84b4['add'](_0x49e727=>_0x49e727['isTop']?[_0x31781f]:void 0x0)]}),tsxLanguage=javascriptLanguage['configure']({'dialect':'jsx\x20ts','props':[_0x5b84b4['add'](_0x2bce3d=>_0x2bce3d['isTop']?[_0x31781f]:void 0x0)]},'typescript');let kwCompletion=_0x27e2af=>({'label':_0x27e2af,'type':'keyword'});const _0x1d82df='break\x20case\x20const\x20continue\x20default\x20delete\x20export\x20extends\x20false\x20finally\x20in\x20instanceof\x20let\x20new\x20return\x20static\x20super\x20switch\x20this\x20throw\x20true\x20typeof\x20var\x20yield'['split']('\x20')['map'](kwCompletion),typescriptKeywords=_0x1d82df['concat'](['declare','implements','private','protected','public']['map'](kwCompletion));function javascript(_0x4f2d14={}){let _0x920669=_0x4f2d14['jsx']?_0x4f2d14['typescript']?tsxLanguage:_0xdadeb2:_0x4f2d14['typescript']?typescriptLanguage:javascriptLanguage,_0x3f01f0=_0x4f2d14['typescript']?typescriptSnippets['concat'](typescriptKeywords):snippets['concat'](_0x1d82df);return new LanguageSupport(_0x920669,[javascriptLanguage['data']['of']({'autocomplete':ifNotIn(dontComplete,completeFromList(_0x3f01f0))}),javascriptLanguage['data']['of']({'autocomplete':localCompletionSource}),_0x4f2d14['jsx']?autoCloseTags$1:[]]);}function _0x21fa32(_0x23482a){for(;;){if('JSXOpenTag'==_0x23482a['name']||'JSXSelfClosingTag'==_0x23482a['name']||'JSXFragmentTag'==_0x23482a['name'])return _0x23482a;if('JSXEscape'==_0x23482a['name']||!_0x23482a['parent'])return null;_0x23482a=_0x23482a['parent'];}}function elementName$1(_0x2441d0,_0x1d1102,_0x1544a2=_0x2441d0['length']){for(let _0x5d3321=null==_0x1d1102?void 0x0:_0x1d1102['firstChild'];_0x5d3321;_0x5d3321=_0x5d3321['nextSibling'])if('JSXIdentifier'==_0x5d3321['name']||'JSXBuiltin'==_0x5d3321['name']||'JSXNamespacedName'==_0x5d3321['name']||'JSXMemberExpression'==_0x5d3321['name'])return _0x2441d0['sliceString'](_0x5d3321['from'],Math['min'](_0x5d3321['to'],_0x1544a2));return'';}const _0x4f9ed8='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),autoCloseTags$1=EditorView['inputHandler']['of']((_0x24a199,_0x3cf523,_0x58f75b,_0xa515a9,_0x68059c)=>{if((_0x4f9ed8?_0x24a199['composing']:_0x24a199['compositionStarted'])||_0x24a199['state']['readOnly']||_0x3cf523!=_0x58f75b||'>'!=_0xa515a9&&'/'!=_0xa515a9||!javascriptLanguage['isActiveAt'](_0x24a199['state'],_0x3cf523,-0x1))return!0x1;let _0x550766=_0x68059c(),{state:_0x220ea5}=_0x550766,_0x2b4d81=_0x220ea5['changeByRange'](_0x30f8e3=>{var _0x1b9a70;let _0x480b0a,{head:_0x3f1f22}=_0x30f8e3,_0x1aa7e1=syntaxTree(_0x220ea5)['resolveInner'](_0x3f1f22-0x1,-0x1);if('JSXStartTag'==_0x1aa7e1['name']&&(_0x1aa7e1=_0x1aa7e1['parent']),_0x220ea5['doc']['sliceString'](_0x3f1f22-0x1,_0x3f1f22)!=_0xa515a9||'JSXAttributeValue'==_0x1aa7e1['name']&&_0x1aa7e1['to']>_0x3f1f22);else{if('>'==_0xa515a9&&'JSXFragmentTag'==_0x1aa7e1['name'])return{'range':_0x30f8e3,'changes':{'from':_0x3f1f22,'insert':'</>'}};if('/'==_0xa515a9&&'JSXStartCloseTag'==_0x1aa7e1['name']){let _0x15cf95=_0x1aa7e1['parent'],_0x36ea44=_0x15cf95['parent'];if(_0x36ea44&&_0x15cf95['from']==_0x3f1f22-0x2&&((_0x480b0a=elementName$1(_0x220ea5['doc'],_0x36ea44['firstChild'],_0x3f1f22))||'JSXFragmentTag'==(null===(_0x1b9a70=_0x36ea44['firstChild'])||void 0x0===_0x1b9a70?void 0x0:_0x1b9a70['name']))){let _0x5ce066=_0x480b0a+'>';return{'range':EditorSelection['cursor'](_0x3f1f22+_0x5ce066['length'],-0x1),'changes':{'from':_0x3f1f22,'insert':_0x5ce066}};}}else{if('>'==_0xa515a9){let _0x4d77f8=_0x21fa32(_0x1aa7e1);if(_0x4d77f8&&'JSXOpenTag'==_0x4d77f8['name']&&!/^\/?>|^<\//['test'](_0x220ea5['doc']['sliceString'](_0x3f1f22,_0x3f1f22+0x2))&&(_0x480b0a=elementName$1(_0x220ea5['doc'],_0x4d77f8,_0x3f1f22)))return{'range':_0x30f8e3,'changes':{'from':_0x3f1f22,'insert':'</'+_0x480b0a+'>'}};}}}return{'range':_0x30f8e3};});return!_0x2b4d81['changes']['empty']&&(_0x24a199['dispatch']([_0x550766,_0x220ea5['update'](_0x2b4d81,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);}),Targets=['_blank','_self','_top','_parent'],Charsets=['ascii','utf-8','utf-16','latin1','latin1'],Methods=['get','post','put','delete'],_0x7c30bd=['application/x-www-form-urlencoded','multipart/form-data','text/plain'],_0x558721=['true','false'],_0x202945={},_0x191c75={'a':{'attrs':{'href':null,'ping':null,'type':null,'media':null,'target':Targets,'hreflang':null}},'abbr':_0x202945,'address':_0x202945,'area':{'attrs':{'alt':null,'coords':null,'href':null,'target':null,'ping':null,'media':null,'hreflang':null,'type':null,'shape':['default','rect','circle','poly']}},'article':_0x202945,'aside':_0x202945,'audio':{'attrs':{'src':null,'mediagroup':null,'crossorigin':['anonymous','use-credentials'],'preload':['none','metadata','auto'],'autoplay':['autoplay'],'loop':['loop'],'controls':['controls']}},'b':_0x202945,'base':{'attrs':{'href':null,'target':Targets}},'bdi':_0x202945,'bdo':_0x202945,'blockquote':{'attrs':{'cite':null}},'body':_0x202945,'br':_0x202945,'button':{'attrs':{'form':null,'formaction':null,'name':null,'value':null,'autofocus':['autofocus'],'disabled':['autofocus'],'formenctype':_0x7c30bd,'formmethod':Methods,'formnovalidate':['novalidate'],'formtarget':Targets,'type':['submit','reset','button']}},'canvas':{'attrs':{'width':null,'height':null}},'caption':_0x202945,'center':_0x202945,'cite':_0x202945,'code':_0x202945,'col':{'attrs':{'span':null}},'colgroup':{'attrs':{'span':null}},'command':{'attrs':{'type':['command','checkbox','radio'],'label':null,'icon':null,'radiogroup':null,'command':null,'title':null,'disabled':['disabled'],'checked':['checked']}},'data':{'attrs':{'value':null}},'datagrid':{'attrs':{'disabled':['disabled'],'multiple':['multiple']}},'datalist':{'attrs':{'data':null}},'dd':_0x202945,'del':{'attrs':{'cite':null,'datetime':null}},'details':{'attrs':{'open':['open']}},'dfn':_0x202945,'div':_0x202945,'dl':_0x202945,'dt':_0x202945,'em':_0x202945,'embed':{'attrs':{'src':null,'type':null,'width':null,'height':null}},'eventsource':{'attrs':{'src':null}},'fieldset':{'attrs':{'disabled':['disabled'],'form':null,'name':null}},'figcaption':_0x202945,'figure':_0x202945,'footer':_0x202945,'form':{'attrs':{'action':null,'name':null,'accept-charset':Charsets,'autocomplete':['on','off'],'enctype':_0x7c30bd,'method':Methods,'novalidate':['novalidate'],'target':Targets}},'h1':_0x202945,'h2':_0x202945,'h3':_0x202945,'h4':_0x202945,'h5':_0x202945,'h6':_0x202945,'head':{'children':['title','base','link','style','meta','script','noscript','command']},'header':_0x202945,'hgroup':_0x202945,'hr':_0x202945,'html':{'attrs':{'manifest':null}},'i':_0x202945,'iframe':{'attrs':{'src':null,'srcdoc':null,'name':null,'width':null,'height':null,'sandbox':['allow-top-navigation','allow-same-origin','allow-forms','allow-scripts'],'seamless':['seamless']}},'img':{'attrs':{'alt':null,'src':null,'ismap':null,'usemap':null,'width':null,'height':null,'crossorigin':['anonymous','use-credentials']}},'input':{'attrs':{'alt':null,'dirname':null,'form':null,'formaction':null,'height':null,'list':null,'max':null,'maxlength':null,'min':null,'name':null,'pattern':null,'placeholder':null,'size':null,'src':null,'step':null,'value':null,'width':null,'accept':['audio/*','video/*','image/*'],'autocomplete':['on','off'],'autofocus':['autofocus'],'checked':['checked'],'disabled':['disabled'],'formenctype':_0x7c30bd,'formmethod':Methods,'formnovalidate':['novalidate'],'formtarget':Targets,'multiple':['multiple'],'readonly':['readonly'],'required':['required'],'type':['hidden','text','search','tel','url','email','password','datetime','date','month','week','time','datetime-local','number','range','color','checkbox','radio','file','submit','image','reset','button']}},'ins':{'attrs':{'cite':null,'datetime':null}},'kbd':_0x202945,'keygen':{'attrs':{'challenge':null,'form':null,'name':null,'autofocus':['autofocus'],'disabled':['disabled'],'keytype':['RSA']}},'label':{'attrs':{'for':null,'form':null}},'legend':_0x202945,'li':{'attrs':{'value':null}},'link':{'attrs':{'href':null,'type':null,'hreflang':null,'media':null,'sizes':['all','16x16','16x16\x2032x32','16x16\x2032x32\x2064x64']}},'map':{'attrs':{'name':null}},'mark':_0x202945,'menu':{'attrs':{'label':null,'type':['list','context','toolbar']}},'meta':{'attrs':{'content':null,'charset':Charsets,'name':['viewport','application-name','author','description','generator','keywords'],'http-equiv':['content-language','content-type','default-style','refresh']}},'meter':{'attrs':{'value':null,'min':null,'low':null,'high':null,'max':null,'optimum':null}},'nav':_0x202945,'noscript':_0x202945,'object':{'attrs':{'data':null,'type':null,'name':null,'usemap':null,'form':null,'width':null,'height':null,'typemustmatch':['typemustmatch']}},'ol':{'attrs':{'reversed':['reversed'],'start':null,'type':['1','a','A','i','I']},'children':['li','script','template','ul','ol']},'optgroup':{'attrs':{'disabled':['disabled'],'label':null}},'option':{'attrs':{'disabled':['disabled'],'label':null,'selected':['selected'],'value':null}},'output':{'attrs':{'for':null,'form':null,'name':null}},'p':_0x202945,'param':{'attrs':{'name':null,'value':null}},'pre':_0x202945,'progress':{'attrs':{'value':null,'max':null}},'q':{'attrs':{'cite':null}},'rp':_0x202945,'rt':_0x202945,'ruby':_0x202945,'samp':_0x202945,'script':{'attrs':{'type':['text/javascript'],'src':null,'async':['async'],'defer':['defer'],'charset':Charsets}},'section':_0x202945,'select':{'attrs':{'form':null,'name':null,'size':null,'autofocus':['autofocus'],'disabled':['disabled'],'multiple':['multiple']}},'slot':{'attrs':{'name':null}},'small':_0x202945,'source':{'attrs':{'src':null,'type':null,'media':null}},'span':_0x202945,'strong':_0x202945,'style':{'attrs':{'type':['text/css'],'media':null,'scoped':null}},'sub':_0x202945,'summary':_0x202945,'sup':_0x202945,'table':_0x202945,'tbody':_0x202945,'td':{'attrs':{'colspan':null,'rowspan':null,'headers':null}},'template':_0x202945,'textarea':{'attrs':{'dirname':null,'form':null,'maxlength':null,'name':null,'placeholder':null,'rows':null,'cols':null,'autofocus':['autofocus'],'disabled':['disabled'],'readonly':['readonly'],'required':['required'],'wrap':['soft','hard']}},'tfoot':_0x202945,'th':{'attrs':{'colspan':null,'rowspan':null,'headers':null,'scope':['row','col','rowgroup','colgroup']}},'thead':_0x202945,'time':{'attrs':{'datetime':null}},'title':_0x202945,'tr':_0x202945,'track':{'attrs':{'src':null,'label':null,'default':null,'kind':['subtitles','captions','descriptions','chapters','metadata'],'srclang':null}},'ul':{'children':['li','script','template','ul','ol']},'var':_0x202945,'video':{'attrs':{'src':null,'poster':null,'width':null,'height':null,'crossorigin':['anonymous','use-credentials'],'preload':['auto','metadata','none'],'autoplay':['autoplay'],'mediagroup':['movie'],'muted':['muted'],'controls':['controls']}},'wbr':_0x202945},GlobalAttrs={'accesskey':null,'class':null,'contenteditable':_0x558721,'contextmenu':null,'dir':['ltr','rtl','auto'],'draggable':['true','false','auto'],'dropzone':['copy','move','link','string:','file:'],'hidden':['hidden'],'id':null,'inert':['inert'],'itemid':null,'itemprop':null,'itemref':null,'itemscope':['itemscope'],'itemtype':null,'lang':['ar','bn','de','en-GB','en-US','es','fr','hi','id','ja','pa','pt','ru','tr','zh'],'spellcheck':_0x558721,'autocorrect':_0x558721,'autocapitalize':_0x558721,'style':null,'tabindex':null,'title':null,'translate':['yes','no'],'rel':['stylesheet','alternate','author','bookmark','help','license','next','nofollow','noreferrer','prefetch','prev','search','tag'],'role':'alert\x20application\x20article\x20banner\x20button\x20cell\x20checkbox\x20complementary\x20contentinfo\x20dialog\x20document\x20feed\x20figure\x20form\x20grid\x20gridcell\x20heading\x20img\x20list\x20listbox\x20listitem\x20main\x20navigation\x20region\x20row\x20rowgroup\x20search\x20switch\x20tab\x20table\x20tabpanel\x20textbox\x20timer'['split']('\x20'),'aria-activedescendant':null,'aria-atomic':_0x558721,'aria-autocomplete':['inline','list','both','none'],'aria-busy':_0x558721,'aria-checked':['true','false','mixed','undefined'],'aria-controls':null,'aria-describedby':null,'aria-disabled':_0x558721,'aria-dropeffect':null,'aria-expanded':['true','false','undefined'],'aria-flowto':null,'aria-grabbed':['true','false','undefined'],'aria-haspopup':_0x558721,'aria-hidden':_0x558721,'aria-invalid':['true','false','grammar','spelling'],'aria-label':null,'aria-labelledby':null,'aria-level':null,'aria-live':['off','polite','assertive'],'aria-multiline':_0x558721,'aria-multiselectable':_0x558721,'aria-owns':null,'aria-posinset':null,'aria-pressed':['true','false','mixed','undefined'],'aria-readonly':_0x558721,'aria-relevant':null,'aria-required':_0x558721,'aria-selected':['true','false','undefined'],'aria-setsize':null,'aria-sort':['ascending','descending','none','other'],'aria-valuemax':null,'aria-valuemin':null,'aria-valuenow':null,'aria-valuetext':null},eventAttributes='beforeunload\x20copy\x20cut\x20dragstart\x20dragover\x20dragleave\x20dragenter\x20dragend\x20drag\x20paste\x20focus\x20blur\x20change\x20click\x20load\x20mousedown\x20mouseenter\x20mouseleave\x20mouseup\x20keydown\x20keyup\x20resize\x20scroll\x20unload'['split']('\x20')['map'](_0x34edba=>'on'+_0x34edba);for(let _0x23c705 of eventAttributes)GlobalAttrs[_0x23c705]=null;class _0x4e4c38{constructor(_0x12a366,_0x2080e4){this['tags']={..._0x191c75,..._0x12a366},this['globalAttrs']={...GlobalAttrs,..._0x2080e4},this['allTags']=Object['keys'](this['tags']),this['globalAttrNames']=Object['keys'](this['globalAttrs']);}}function elementName(_0x3242f6,_0x1e80cf,_0x3a3530=_0x3242f6['length']){if(!_0x1e80cf)return'';let _0x20eebf=_0x1e80cf['firstChild'],_0x15fb72=_0x20eebf&&_0x20eebf['getChild']('TagName');return _0x15fb72?_0x3242f6['sliceString'](_0x15fb72['from'],Math['min'](_0x15fb72['to'],_0x3a3530)):'';}function findParentElement(_0x1c3132,_0x476aa4=!0x1){for(;_0x1c3132;_0x1c3132=_0x1c3132['parent'])if('Element'==_0x1c3132['name']){if(!_0x476aa4)return _0x1c3132;_0x476aa4=!0x1;}return null;}function _0x38d452(_0x2bebea,_0x124c63,_0x2100f0){let _0x419952=_0x2100f0['tags'][elementName(_0x2bebea,findParentElement(_0x124c63))];return(null==_0x419952?void 0x0:_0x419952['children'])||_0x2100f0['allTags'];}function _0x522933(_0x276fcb,_0x2f2950){let _0x32c77f=[];for(let _0x15f2fa=findParentElement(_0x2f2950);_0x15f2fa&&!_0x15f2fa['type']['isTop'];_0x15f2fa=findParentElement(_0x15f2fa['parent'])){let _0x4659cb=elementName(_0x276fcb,_0x15f2fa);if(_0x4659cb&&'CloseTag'==_0x15f2fa['lastChild']['name'])break;_0x4659cb&&_0x32c77f['indexOf'](_0x4659cb)<0x0&&('EndTag'==_0x2f2950['name']||_0x2f2950['from']>=_0x15f2fa['firstChild']['to'])&&_0x32c77f['push'](_0x4659cb);}return _0x32c77f;}_0x4e4c38['default']=new _0x4e4c38();const identifier=/^[:\-\.\w\u00b7-\uffff]*$/;function completeTag(_0x595199,_0x7f8cb8,_0x23e3c2,_0x18f459,_0x2f98b6){let _0xb4b8c8=/\s*>/['test'](_0x595199['sliceDoc'](_0x2f98b6,_0x2f98b6+0x5))?'':'>',_0x1450ae=findParentElement(_0x23e3c2,'StartTag'==_0x23e3c2['name']||'TagName'==_0x23e3c2['name']);return{'from':_0x18f459,'to':_0x2f98b6,'options':_0x38d452(_0x595199['doc'],_0x1450ae,_0x7f8cb8)['map'](_0x1bab70=>({'label':_0x1bab70,'type':'type'}))['concat'](_0x522933(_0x595199['doc'],_0x23e3c2)['map']((_0x330064,_0x20ccd9)=>({'label':'/'+_0x330064,'apply':'/'+_0x330064+_0xb4b8c8,'type':'type','boost':0x63-_0x20ccd9}))),'validFor':/^\/?[:\-\.\w\u00b7-\uffff]*$/};}function completeCloseTag(_0xd532b3,_0x535e29,_0x986e09,_0x18ddc5){let _0x202429=/\s*>/['test'](_0xd532b3['sliceDoc'](_0x18ddc5,_0x18ddc5+0x5))?'':'>';return{'from':_0x986e09,'to':_0x18ddc5,'options':_0x522933(_0xd532b3['doc'],_0x535e29)['map']((_0x4f5fa3,_0x152f8c)=>({'label':_0x4f5fa3,'apply':_0x4f5fa3+_0x202429,'type':'type','boost':0x63-_0x152f8c})),'validFor':identifier};}function completeStartTag(_0x522b4d,_0x408b50,_0x18f06e,_0x2c5cc8){let _0x497d34=[],_0x551d6d=0x0;for(let _0x16546a of _0x38d452(_0x522b4d['doc'],_0x18f06e,_0x408b50))_0x497d34['push']({'label':'<'+_0x16546a,'type':'type'});for(let _0x35d3f7 of _0x522933(_0x522b4d['doc'],_0x18f06e))_0x497d34['push']({'label':'</'+_0x35d3f7+'>','type':'type','boost':0x63-_0x551d6d++});return{'from':_0x2c5cc8,'to':_0x2c5cc8,'options':_0x497d34,'validFor':/^<\/?[:\-\.\w\u00b7-\uffff]*$/};}function completeAttrName(_0x4f6354,_0x4f6a07,_0x50ba77,_0x6462ea,_0x35b558){let _0x2cc28a=findParentElement(_0x50ba77),_0x2a67d5=_0x2cc28a?_0x4f6a07['tags'][elementName(_0x4f6354['doc'],_0x2cc28a)]:null,_0x139a9b=_0x2a67d5&&_0x2a67d5['attrs']?Object['keys'](_0x2a67d5['attrs']):[];return{'from':_0x6462ea,'to':_0x35b558,'options':(_0x2a67d5&&!0x1===_0x2a67d5['globalAttrs']?_0x139a9b:_0x139a9b['length']?_0x139a9b['concat'](_0x4f6a07['globalAttrNames']):_0x4f6a07['globalAttrNames'])['map'](_0x1d9671=>({'label':_0x1d9671,'type':'property'})),'validFor':identifier};}function completeAttrValue(_0x53785a,_0xef06f1,_0x49926d,_0xa0c8e1,_0x59aa39){var _0x5e841f;let _0x45d62b,_0x3513e5=null===(_0x5e841f=_0x49926d['parent'])||void 0x0===_0x5e841f?void 0x0:_0x5e841f['getChild']('AttributeName'),_0x2d5322=[];if(_0x3513e5){let _0x519ac9=_0x53785a['sliceDoc'](_0x3513e5['from'],_0x3513e5['to']),_0x21d084=_0xef06f1['globalAttrs'][_0x519ac9];if(!_0x21d084){let _0x73a84=findParentElement(_0x49926d),_0x3018aa=_0x73a84?_0xef06f1['tags'][elementName(_0x53785a['doc'],_0x73a84)]:null;_0x21d084=(null==_0x3018aa?void 0x0:_0x3018aa['attrs'])&&_0x3018aa['attrs'][_0x519ac9];}if(_0x21d084){let _0x4448fc=_0x53785a['sliceDoc'](_0xa0c8e1,_0x59aa39)['toLowerCase'](),_0x11c5f8='\x22',_0x1551e9='\x22';/^['"]/['test'](_0x4448fc)?(_0x45d62b='\x22'==_0x4448fc[0x0]?/^[^"]*$/:/^[^']*$/,_0x11c5f8='',_0x1551e9=_0x53785a['sliceDoc'](_0x59aa39,_0x59aa39+0x1)==_0x4448fc[0x0]?'':_0x4448fc[0x0],_0x4448fc=_0x4448fc['slice'](0x1),_0xa0c8e1++):_0x45d62b=/^[^\s<>='"]*$/;for(let _0x1ed927 of _0x21d084)_0x2d5322['push']({'label':_0x1ed927,'apply':_0x11c5f8+_0x1ed927+_0x1551e9,'type':'constant'});}}return{'from':_0xa0c8e1,'to':_0x59aa39,'options':_0x2d5322,'validFor':_0x45d62b};}function htmlCompletionFor(_0x29038c,_0x2aa34d){let {state:_0x401d56,pos:_0x56c061}=_0x2aa34d,_0x5898ac=syntaxTree(_0x401d56)['resolveInner'](_0x56c061,-0x1),_0x4d1b37=_0x5898ac['resolve'](_0x56c061);for(let _0x508d9b,_0x4ae281=_0x56c061;_0x4d1b37==_0x5898ac&&(_0x508d9b=_0x5898ac['childBefore'](_0x4ae281));){let _0x1b8ff3=_0x508d9b['lastChild'];if(!_0x1b8ff3||!_0x1b8ff3['type']['isError']||_0x1b8ff3['from']<_0x1b8ff3['to'])break;_0x4d1b37=_0x5898ac=_0x508d9b,_0x4ae281=_0x1b8ff3['from'];}return'TagName'==_0x5898ac['name']?_0x5898ac['parent']&&/CloseTag$/['test'](_0x5898ac['parent']['name'])?completeCloseTag(_0x401d56,_0x5898ac,_0x5898ac['from'],_0x56c061):completeTag(_0x401d56,_0x29038c,_0x5898ac,_0x5898ac['from'],_0x56c061):'StartTag'==_0x5898ac['name']||'IncompleteTag'==_0x5898ac['name']?completeTag(_0x401d56,_0x29038c,_0x5898ac,_0x56c061,_0x56c061):'StartCloseTag'==_0x5898ac['name']||'IncompleteCloseTag'==_0x5898ac['name']?completeCloseTag(_0x401d56,_0x5898ac,_0x56c061,_0x56c061):'OpenTag'==_0x5898ac['name']||'SelfClosingTag'==_0x5898ac['name']||'AttributeName'==_0x5898ac['name']?completeAttrName(_0x401d56,_0x29038c,_0x5898ac,'AttributeName'==_0x5898ac['name']?_0x5898ac['from']:_0x56c061,_0x56c061):'Is'==_0x5898ac['name']||'AttributeValue'==_0x5898ac['name']||'UnquotedAttributeValue'==_0x5898ac['name']?completeAttrValue(_0x401d56,_0x29038c,_0x5898ac,'Is'==_0x5898ac['name']?_0x56c061:_0x5898ac['from'],_0x56c061):!_0x2aa34d['explicit']||'Element'!=_0x4d1b37['name']&&'Text'!=_0x4d1b37['name']&&'Document'!=_0x4d1b37['name']?null:completeStartTag(_0x401d56,_0x29038c,_0x5898ac,_0x56c061);}function htmlCompletionSource(_0x3fd12c){return htmlCompletionFor(_0x4e4c38['default'],_0x3fd12c);}function htmlCompletionSourceWith(_0x18fb43){let {extraTags:_0x5cd5e5,extraGlobalAttributes:_0x316bd3}=_0x18fb43,_0x3581e9=_0x316bd3||_0x5cd5e5?new _0x4e4c38(_0x5cd5e5,_0x316bd3):_0x4e4c38['default'];return _0x27e5d2=>htmlCompletionFor(_0x3581e9,_0x27e5d2);}const _0xe33f3c=javascriptLanguage['parser']['configure']({'top':'SingleExpression'}),defaultNesting=[{'tag':'script','attrs':_0x5eb37d=>'text/typescript'==_0x5eb37d['type']||'ts'==_0x5eb37d['lang'],'parser':typescriptLanguage['parser']},{'tag':'script','attrs':_0x1b5a2d=>'text/babel'==_0x1b5a2d['type']||'text/jsx'==_0x1b5a2d['type'],'parser':_0xdadeb2['parser']},{'tag':'script','attrs':_0x4124d2=>'text/typescript-jsx'==_0x4124d2['type'],'parser':tsxLanguage['parser']},{'tag':'script','attrs':_0x145b7c=>/^(importmap|speculationrules|application\/(.+\+)?json)$/i['test'](_0x145b7c['type']),'parser':_0xe33f3c},{'tag':'script','attrs':_0x4109ba=>!_0x4109ba['type']||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i['test'](_0x4109ba['type']),'parser':javascriptLanguage['parser']},{'tag':'style','attrs':_0x19f8ac=>(!_0x19f8ac['lang']||'css'==_0x19f8ac['lang'])&&(!_0x19f8ac['type']||/^(text\/)?(x-)?(stylesheet|css)$/i['test'](_0x19f8ac['type'])),'parser':_0x28cded['parser']}],defaultAttrs=[{'name':'style','parser':_0x28cded['parser']['configure']({'top':'Styles'})}]['concat'](eventAttributes['map'](_0x366505=>({'name':_0x366505,'parser':javascriptLanguage['parser']}))),htmlPlain=_0x383241['define']({'name':'html','parser':_0x564d04['configure']({'props':[indentNodeProp['add']({'Element'(_0x3cfdd4){let _0x26647c=/^(\s*)(<\/)?/['exec'](_0x3cfdd4['textAfter']);return _0x3cfdd4['node']['to']<=_0x3cfdd4['pos']+_0x26647c[0x0]['length']?_0x3cfdd4['continue']():_0x3cfdd4['lineIndent'](_0x3cfdd4['node']['from'])+(_0x26647c[0x2]?0x0:_0x3cfdd4['unit']);},'OpenTag\x20CloseTag\x20SelfClosingTag':_0xaa754e=>_0xaa754e['column'](_0xaa754e['node']['from'])+_0xaa754e['unit'],'Document'(_0x20e139){if(_0x20e139['pos']+/\s*/['exec'](_0x20e139['textAfter'])[0x0]['length']<_0x20e139['node']['to'])return _0x20e139['continue']();let _0x3fb985,_0x4a1813=null;for(let _0x2d1522=_0x20e139['node'];;){let _0x48dccf=_0x2d1522['lastChild'];if(!_0x48dccf||'Element'!=_0x48dccf['name']||_0x48dccf['to']!=_0x2d1522['to'])break;_0x4a1813=_0x2d1522=_0x48dccf;}return _0x4a1813&&(!(_0x3fb985=_0x4a1813['lastChild'])||'CloseTag'!=_0x3fb985['name']&&'SelfClosingTag'!=_0x3fb985['name'])?_0x20e139['lineIndent'](_0x4a1813['from'])+_0x20e139['unit']:null;}}),_0x586808['add']({'Element'(_0x48b2bf){let _0x432e81=_0x48b2bf['firstChild'],_0x4accee=_0x48b2bf['lastChild'];return _0x432e81&&'OpenTag'==_0x432e81['name']?{'from':_0x432e81['to'],'to':'CloseTag'==_0x4accee['name']?_0x4accee['from']:_0x48b2bf['to']}:null;}}),bracketMatchingHandle['add']({'OpenTag\x20CloseTag':_0x3f4ff0=>_0x3f4ff0['getChild']('TagName')})]}),'languageData':{'commentTokens':{'block':{'open':'<!--','close':'-->'}},'indentOnInput':/^\s*<\/\w+\W$/,'wordChars':'-_'}}),htmlLanguage=htmlPlain['configure']({'wrap':configureNesting(defaultNesting,defaultAttrs)});function html(_0x4c7b56={}){let _0x5844fc,_0x37879f='';!0x1===_0x4c7b56['matchClosingTags']&&(_0x37879f='noMatch'),!0x0===_0x4c7b56['selfClosingTags']&&(_0x37879f=(_0x37879f?_0x37879f+'\x20':'')+'selfClosing'),(_0x4c7b56['nestedLanguages']&&_0x4c7b56['nestedLanguages']['length']||_0x4c7b56['nestedAttributes']&&_0x4c7b56['nestedAttributes']['length'])&&(_0x5844fc=configureNesting((_0x4c7b56['nestedLanguages']||[])['concat'](defaultNesting),(_0x4c7b56['nestedAttributes']||[])['concat'](defaultAttrs)));let _0x996332=_0x5844fc?htmlPlain['configure']({'wrap':_0x5844fc,'dialect':_0x37879f}):_0x37879f?htmlLanguage['configure']({'dialect':_0x37879f}):htmlLanguage;return new LanguageSupport(_0x996332,[htmlLanguage['data']['of']({'autocomplete':htmlCompletionSourceWith(_0x4c7b56)}),!0x1!==_0x4c7b56['autoCloseTags']?autoCloseTags:[],javascript()['support'],_0x52f72f()['support']]);}const _0x12cdc3=new Set('area\x20base\x20br\x20col\x20command\x20embed\x20frame\x20hr\x20img\x20input\x20keygen\x20link\x20meta\x20param\x20source\x20track\x20wbr\x20menuitem'['split']('\x20')),autoCloseTags=EditorView['inputHandler']['of']((_0x5235a9,_0x1a2736,_0x5fedca,_0x5c1313,_0x483473)=>{if(_0x5235a9['composing']||_0x5235a9['state']['readOnly']||_0x1a2736!=_0x5fedca||'>'!=_0x5c1313&&'/'!=_0x5c1313||!htmlLanguage['isActiveAt'](_0x5235a9['state'],_0x1a2736,-0x1))return!0x1;let _0x1296d3=_0x483473(),{state:_0x171053}=_0x1296d3,_0x27786d=_0x171053['changeByRange'](_0x5946e6=>{var _0xeade16,_0x306267,_0x3646ad;let _0xe97225,_0x4d2fe8=_0x171053['doc']['sliceString'](_0x5946e6['from']-0x1,_0x5946e6['to'])==_0x5c1313,{head:_0x231fb4}=_0x5946e6,_0x1dc9dc=syntaxTree(_0x171053)['resolveInner'](_0x231fb4,-0x1);if(_0x4d2fe8&&'>'==_0x5c1313&&'EndTag'==_0x1dc9dc['name']){let _0x519225=_0x1dc9dc['parent'];if('CloseTag'!=(null===(_0x306267=null===(_0xeade16=_0x519225['parent'])||void 0x0===_0xeade16?void 0x0:_0xeade16['lastChild'])||void 0x0===_0x306267?void 0x0:_0x306267['name'])&&(_0xe97225=elementName(_0x171053['doc'],_0x519225['parent'],_0x231fb4))&&!_0x12cdc3['has'](_0xe97225))return{'range':_0x5946e6,'changes':{'from':_0x231fb4,'to':_0x231fb4+('>'===_0x171053['doc']['sliceString'](_0x231fb4,_0x231fb4+0x1)?0x1:0x0),'insert':'</'+_0xe97225+'>'}};}else{if(_0x4d2fe8&&'/'==_0x5c1313&&'IncompleteCloseTag'==_0x1dc9dc['name']){let _0x20bf25=_0x1dc9dc['parent'];if(_0x1dc9dc['from']==_0x231fb4-0x2&&'CloseTag'!=(null===(_0x3646ad=_0x20bf25['lastChild'])||void 0x0===_0x3646ad?void 0x0:_0x3646ad['name'])&&(_0xe97225=elementName(_0x171053['doc'],_0x20bf25,_0x231fb4))&&!_0x12cdc3['has'](_0xe97225)){let _0x27c0a5=_0x231fb4+('>'===_0x171053['doc']['sliceString'](_0x231fb4,_0x231fb4+0x1)?0x1:0x0),_0x382f61=_0xe97225+'>';return{'range':EditorSelection['cursor'](_0x231fb4+_0x382f61['length'],-0x1),'changes':{'from':_0x231fb4,'to':_0x27c0a5,'insert':_0x382f61}};}}}return{'range':_0x5946e6};});return!_0x27786d['changes']['empty']&&(_0x5235a9['dispatch']([_0x1296d3,_0x171053['update'](_0x27786d,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);});class CompositeBlock{static['create'](_0x398f69,_0x111de9,_0x2e2de3,_0x5e08f8,_0x1cf5e9){return new CompositeBlock(_0x398f69,_0x111de9,_0x2e2de3,_0x5e08f8+(_0x5e08f8<<0x8)+_0x398f69+(_0x111de9<<0x4)|0x0,_0x1cf5e9,[],[]);}constructor(_0x44770d,_0x561aaf,_0x299c8f,_0x3e467c,_0x4b7895,_0x5cfaa4,_0x756e1e){this['type']=_0x44770d,this['value']=_0x561aaf,this['from']=_0x299c8f,this['hash']=_0x3e467c,this['end']=_0x4b7895,this['children']=_0x5cfaa4,this['positions']=_0x756e1e,this['hashProp']=[[_0x258b5f['contextHash'],_0x3e467c]];}['addChild'](_0x27f254,_0x2fdb63){_0x27f254['prop'](_0x258b5f['contextHash'])!=this['hash']&&(_0x27f254=new _0x2a3dd6(_0x27f254['type'],_0x27f254['children'],_0x27f254['positions'],_0x27f254['length'],this['hashProp'])),this['children']['push'](_0x27f254),this['positions']['push'](_0x2fdb63);}['toTree'](_0xc9d295,_0x43107b=this['end']){let _0x8a8c58=this['children']['length']-0x1;return _0x8a8c58>=0x0&&(_0x43107b=Math['max'](_0x43107b,this['positions'][_0x8a8c58]+this['children'][_0x8a8c58]['length']+this['from'])),new _0x2a3dd6(_0xc9d295['types'][this['type']],this['children'],this['positions'],_0x43107b-this['from'])['balance']({'makeTree':(_0x59b1d4,_0x7f23f2,_0x2bb40b)=>new _0x2a3dd6(_0x5a565d['none'],_0x59b1d4,_0x7f23f2,_0x2bb40b,this['hashProp'])});}}var _0x244747;!function(_0x5e5f64){_0x5e5f64[_0x5e5f64['Document']=0x1]='Document',_0x5e5f64[_0x5e5f64['CodeBlock']=0x2]='CodeBlock',_0x5e5f64[_0x5e5f64['FencedCode']=0x3]='FencedCode',_0x5e5f64[_0x5e5f64['Blockquote']=0x4]='Blockquote',_0x5e5f64[_0x5e5f64['HorizontalRule']=0x5]='HorizontalRule',_0x5e5f64[_0x5e5f64['BulletList']=0x6]='BulletList',_0x5e5f64[_0x5e5f64['OrderedList']=0x7]='OrderedList',_0x5e5f64[_0x5e5f64['ListItem']=0x8]='ListItem',_0x5e5f64[_0x5e5f64['ATXHeading1']=0x9]='ATXHeading1',_0x5e5f64[_0x5e5f64['ATXHeading2']=0xa]='ATXHeading2',_0x5e5f64[_0x5e5f64['ATXHeading3']=0xb]='ATXHeading3',_0x5e5f64[_0x5e5f64['ATXHeading4']=0xc]='ATXHeading4',_0x5e5f64[_0x5e5f64['ATXHeading5']=0xd]='ATXHeading5',_0x5e5f64[_0x5e5f64['ATXHeading6']=0xe]='ATXHeading6',_0x5e5f64[_0x5e5f64['SetextHeading1']=0xf]='SetextHeading1',_0x5e5f64[_0x5e5f64['SetextHeading2']=0x10]='SetextHeading2',_0x5e5f64[_0x5e5f64['HTMLBlock']=0x11]='HTMLBlock',_0x5e5f64[_0x5e5f64['LinkReference']=0x12]='LinkReference',_0x5e5f64[_0x5e5f64['Paragraph']=0x13]='Paragraph',_0x5e5f64[_0x5e5f64['CommentBlock']=0x14]='CommentBlock',_0x5e5f64[_0x5e5f64['ProcessingInstructionBlock']=0x15]='ProcessingInstructionBlock',_0x5e5f64[_0x5e5f64['Escape']=0x16]='Escape',_0x5e5f64[_0x5e5f64['Entity']=0x17]='Entity',_0x5e5f64[_0x5e5f64['HardBreak']=0x18]='HardBreak',_0x5e5f64[_0x5e5f64['Emphasis']=0x19]='Emphasis',_0x5e5f64[_0x5e5f64['StrongEmphasis']=0x1a]='StrongEmphasis',_0x5e5f64[_0x5e5f64['Link']=0x1b]='Link',_0x5e5f64[_0x5e5f64['Image']=0x1c]='Image',_0x5e5f64[_0x5e5f64['InlineCode']=0x1d]='InlineCode',_0x5e5f64[_0x5e5f64['HTMLTag']=0x1e]='HTMLTag',_0x5e5f64[_0x5e5f64['Comment']=0x1f]='Comment',_0x5e5f64[_0x5e5f64['ProcessingInstruction']=0x20]='ProcessingInstruction',_0x5e5f64[_0x5e5f64['Autolink']=0x21]='Autolink',_0x5e5f64[_0x5e5f64['HeaderMark']=0x22]='HeaderMark',_0x5e5f64[_0x5e5f64['QuoteMark']=0x23]='QuoteMark',_0x5e5f64[_0x5e5f64['ListMark']=0x24]='ListMark',_0x5e5f64[_0x5e5f64['LinkMark']=0x25]='LinkMark',_0x5e5f64[_0x5e5f64['EmphasisMark']=0x26]='EmphasisMark',_0x5e5f64[_0x5e5f64['CodeMark']=0x27]='CodeMark',_0x5e5f64[_0x5e5f64['CodeText']=0x28]='CodeText',_0x5e5f64[_0x5e5f64['CodeInfo']=0x29]='CodeInfo',_0x5e5f64[_0x5e5f64['LinkTitle']=0x2a]='LinkTitle',_0x5e5f64[_0x5e5f64['LinkLabel']=0x2b]='LinkLabel',_0x5e5f64[_0x5e5f64['URL']=0x2c]='URL';}(_0x244747||(_0x244747={}));class _0x1f50d9{constructor(_0x1af0be,_0x5a00e4){this['start']=_0x1af0be,this['content']=_0x5a00e4,this['marks']=[],this['parsers']=[];}}class _0xbd05e3{constructor(){this['text']='',this['baseIndent']=0x0,this['basePos']=0x0,this['depth']=0x0,this['markers']=[],this['pos']=0x0,this['indent']=0x0,this['next']=-0x1;}['forward'](){this['basePos']>this['pos']&&this['forwardInner']();}['forwardInner'](){let _0x3eee18=this['skipSpace'](this['basePos']);this['indent']=this['countIndent'](_0x3eee18,this['pos'],this['indent']),this['pos']=_0x3eee18,this['next']=_0x3eee18==this['text']['length']?-0x1:this['text']['charCodeAt'](_0x3eee18);}['skipSpace'](_0x1c5ec6){return _0x2b3f4c(this['text'],_0x1c5ec6);}['reset'](_0x58b073){for(this['text']=_0x58b073,this['baseIndent']=this['basePos']=this['pos']=this['indent']=0x0,this['forwardInner'](),this['depth']=0x1;this['markers']['length'];)this['markers']['pop']();}['moveBase'](_0x21b7df){this['basePos']=_0x21b7df,this['baseIndent']=this['countIndent'](_0x21b7df,this['pos'],this['indent']);}['moveBaseColumn'](_0x1d6493){this['baseIndent']=_0x1d6493,this['basePos']=this['findColumn'](_0x1d6493);}['addMarker'](_0x3cc354){this['markers']['push'](_0x3cc354);}['countIndent'](_0x166dba,_0x5c103e=0x0,_0x3ac948=0x0){for(let _0x798588=_0x5c103e;_0x798588<_0x166dba;_0x798588++)_0x3ac948+=0x9==this['text']['charCodeAt'](_0x798588)?0x4-_0x3ac948%0x4:0x1;return _0x3ac948;}['findColumn'](_0x5a658f){let _0x158eef=0x0;for(let _0x16471d=0x0;_0x158eef<this['text']['length']&&_0x16471d<_0x5a658f;_0x158eef++)_0x16471d+=0x9==this['text']['charCodeAt'](_0x158eef)?0x4-_0x16471d%0x4:0x1;return _0x158eef;}['scrub'](){if(!this['baseIndent'])return this['text'];let _0x4d0aa1='';for(let _0x344719=0x0;_0x344719<this['basePos'];_0x344719++)_0x4d0aa1+='\x20';return _0x4d0aa1+this['text']['slice'](this['basePos']);}}function skipForList(_0x5d9a8b,_0x4863d7,_0xae2701){if(_0xae2701['pos']==_0xae2701['text']['length']||_0x5d9a8b!=_0x4863d7['block']&&_0xae2701['indent']>=_0x4863d7['stack'][_0xae2701['depth']+0x1]['value']+_0xae2701['baseIndent'])return!0x0;if(_0xae2701['indent']>=_0xae2701['baseIndent']+0x4)return!0x1;let _0x49bcd6=(_0x5d9a8b['type']==_0x244747['OrderedList']?isOrderedList:isBulletList)(_0xae2701,_0x4863d7,!0x1);return _0x49bcd6>0x0&&(_0x5d9a8b['type']!=_0x244747['BulletList']||isHorizontalRule(_0xae2701,_0x4863d7,!0x1)<0x0)&&_0xae2701['text']['charCodeAt'](_0xae2701['pos']+_0x49bcd6-0x1)==_0x5d9a8b['value'];}const DefaultSkipMarkup={[_0x244747['Blockquote']]:(_0x232bb8,_0x265cf1,_0x259bd5)=>0x3e==_0x259bd5['next']&&(_0x259bd5['markers']['push'](elt(_0x244747['QuoteMark'],_0x265cf1['lineStart']+_0x259bd5['pos'],_0x265cf1['lineStart']+_0x259bd5['pos']+0x1)),_0x259bd5['moveBase'](_0x259bd5['pos']+(_0xcee54(_0x259bd5['text']['charCodeAt'](_0x259bd5['pos']+0x1))?0x2:0x1)),_0x232bb8['end']=_0x265cf1['lineStart']+_0x259bd5['text']['length'],!0x0),[_0x244747['ListItem']]:(_0x1214d4,_0x37f990,_0x50cf31)=>!(_0x50cf31['indent']<_0x50cf31['baseIndent']+_0x1214d4['value']&&_0x50cf31['next']>-0x1)&&(_0x50cf31['moveBaseColumn'](_0x50cf31['baseIndent']+_0x1214d4['value']),!0x0),[_0x244747['OrderedList']]:skipForList,[_0x244747['BulletList']]:skipForList,[_0x244747['Document']]:()=>!0x0};function _0xcee54(_0x2110de){return 0x20==_0x2110de||0x9==_0x2110de||0xa==_0x2110de||0xd==_0x2110de;}function _0x2b3f4c(_0x21fdaf,_0x2de3b5=0x0){for(;_0x2de3b5<_0x21fdaf['length']&&_0xcee54(_0x21fdaf['charCodeAt'](_0x2de3b5));)_0x2de3b5++;return _0x2de3b5;}function _0x5431c6(_0x21858a,_0x382b56,_0x1d310c){for(;_0x382b56>_0x1d310c&&_0xcee54(_0x21858a['charCodeAt'](_0x382b56-0x1));)_0x382b56--;return _0x382b56;}function _0x119dda(_0x57797c){if(0x60!=_0x57797c['next']&&0x7e!=_0x57797c['next'])return-0x1;let _0x389339=_0x57797c['pos']+0x1;for(;_0x389339<_0x57797c['text']['length']&&_0x57797c['text']['charCodeAt'](_0x389339)==_0x57797c['next'];)_0x389339++;if(_0x389339<_0x57797c['pos']+0x3)return-0x1;if(0x60==_0x57797c['next']){for(let _0x5ef021=_0x389339;_0x5ef021<_0x57797c['text']['length'];_0x5ef021++)if(0x60==_0x57797c['text']['charCodeAt'](_0x5ef021))return-0x1;}return _0x389339;}function isBlockquote(_0x5ab407){return 0x3e!=_0x5ab407['next']?-0x1:0x20==_0x5ab407['text']['charCodeAt'](_0x5ab407['pos']+0x1)?0x2:0x1;}function isHorizontalRule(_0x1ae886,_0x3ad8d4,_0x2d7b1d){if(0x2a!=_0x1ae886['next']&&0x2d!=_0x1ae886['next']&&0x5f!=_0x1ae886['next'])return-0x1;let _0x24a905=0x1;for(let _0x745eab=_0x1ae886['pos']+0x1;_0x745eab<_0x1ae886['text']['length'];_0x745eab++){let _0x548b8e=_0x1ae886['text']['charCodeAt'](_0x745eab);if(_0x548b8e==_0x1ae886['next'])_0x24a905++;else{if(!_0xcee54(_0x548b8e))return-0x1;}}return _0x2d7b1d&&0x2d==_0x1ae886['next']&&isSetextUnderline(_0x1ae886)>-0x1&&_0x1ae886['depth']==_0x3ad8d4['stack']['length']&&_0x3ad8d4['parser']['leafBlockParsers']['indexOf'](DefaultLeafBlocks['SetextHeading'])>-0x1||_0x24a905<0x3?-0x1:0x1;}function inList(_0x117e25,_0x1083b8){for(let _0x3a79e6=_0x117e25['stack']['length']-0x1;_0x3a79e6>=0x0;_0x3a79e6--)if(_0x117e25['stack'][_0x3a79e6]['type']==_0x1083b8)return!0x0;return!0x1;}function isBulletList(_0x4ca6a8,_0x1fcaa9,_0x4ee976){return 0x2d!=_0x4ca6a8['next']&&0x2b!=_0x4ca6a8['next']&&0x2a!=_0x4ca6a8['next']||_0x4ca6a8['pos']!=_0x4ca6a8['text']['length']-0x1&&!_0xcee54(_0x4ca6a8['text']['charCodeAt'](_0x4ca6a8['pos']+0x1))||!(!_0x4ee976||inList(_0x1fcaa9,_0x244747['BulletList'])||_0x4ca6a8['skipSpace'](_0x4ca6a8['pos']+0x2)<_0x4ca6a8['text']['length'])?-0x1:0x1;}function isOrderedList(_0x1ec713,_0x3e8b38,_0x1bc9b1){let _0x5194dd=_0x1ec713['pos'],_0x2f367b=_0x1ec713['next'];for(;_0x2f367b>=0x30&&_0x2f367b<=0x39;){if(_0x5194dd++,_0x5194dd==_0x1ec713['text']['length'])return-0x1;_0x2f367b=_0x1ec713['text']['charCodeAt'](_0x5194dd);}return _0x5194dd==_0x1ec713['pos']||_0x5194dd>_0x1ec713['pos']+0x9||0x2e!=_0x2f367b&&0x29!=_0x2f367b||_0x5194dd<_0x1ec713['text']['length']-0x1&&!_0xcee54(_0x1ec713['text']['charCodeAt'](_0x5194dd+0x1))||_0x1bc9b1&&!inList(_0x3e8b38,_0x244747['OrderedList'])&&(_0x1ec713['skipSpace'](_0x5194dd+0x1)==_0x1ec713['text']['length']||_0x5194dd>_0x1ec713['pos']+0x1||0x31!=_0x1ec713['next'])?-0x1:_0x5194dd+0x1-_0x1ec713['pos'];}function isAtxHeading(_0x8e8b11){if(0x23!=_0x8e8b11['next'])return-0x1;let _0xf7ecc2=_0x8e8b11['pos']+0x1;for(;_0xf7ecc2<_0x8e8b11['text']['length']&&0x23==_0x8e8b11['text']['charCodeAt'](_0xf7ecc2);)_0xf7ecc2++;if(_0xf7ecc2<_0x8e8b11['text']['length']&&0x20!=_0x8e8b11['text']['charCodeAt'](_0xf7ecc2))return-0x1;let _0x18a7ea=_0xf7ecc2-_0x8e8b11['pos'];return _0x18a7ea>0x6?-0x1:_0x18a7ea;}function isSetextUnderline(_0x38603e){if(0x2d!=_0x38603e['next']&&0x3d!=_0x38603e['next']||_0x38603e['indent']>=_0x38603e['baseIndent']+0x4)return-0x1;let _0x5a7e46=_0x38603e['pos']+0x1;for(;_0x5a7e46<_0x38603e['text']['length']&&_0x38603e['text']['charCodeAt'](_0x5a7e46)==_0x38603e['next'];)_0x5a7e46++;let _0x5f2c56=_0x5a7e46;for(;_0x5a7e46<_0x38603e['text']['length']&&_0xcee54(_0x38603e['text']['charCodeAt'](_0x5a7e46));)_0x5a7e46++;return _0x5a7e46==_0x38603e['text']['length']?_0x5f2c56:-0x1;}const EmptyLine=/^[ \t]*$/,CommentEnd=/-->/,_0x1e85be=/\?>/,HTMLBlockStyle=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,CommentEnd],[/^\s*<\?/,_0x1e85be],[/^\s*<![A-Z]/,/>/],[/^\s*<!\[CDATA\[/,/\]\]>/],[/^\s*<\/?(?:address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h1|h2|h3|h4|h5|h6|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|\/?>|$)/i,EmptyLine],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,EmptyLine]];function _0x5addd3(_0x4d1ae7,_0x1b9f05,_0x39840e){if(0x3c!=_0x4d1ae7['next'])return-0x1;let _0xecee28=_0x4d1ae7['text']['slice'](_0x4d1ae7['pos']);for(let _0x26137d=0x0,_0x1f0183=HTMLBlockStyle['length']-(_0x39840e?0x1:0x0);_0x26137d<_0x1f0183;_0x26137d++)if(HTMLBlockStyle[_0x26137d][0x0]['test'](_0xecee28))return _0x26137d;return-0x1;}function getListIndent(_0x5acb6f,_0x388047){let _0x25e87a=_0x5acb6f['countIndent'](_0x388047,_0x5acb6f['pos'],_0x5acb6f['indent']),_0x1a0c81=_0x5acb6f['countIndent'](_0x5acb6f['skipSpace'](_0x388047),_0x388047,_0x25e87a);return _0x1a0c81>=_0x25e87a+0x5?_0x25e87a+0x1:_0x1a0c81;}function addCodeText(_0x2afc23,_0xd3438a,_0x7f6d5e){let _0x5e1de7=_0x2afc23['length']-0x1;_0x5e1de7>=0x0&&_0x2afc23[_0x5e1de7]['to']==_0xd3438a&&_0x2afc23[_0x5e1de7]['type']==_0x244747['CodeText']?_0x2afc23[_0x5e1de7]['to']=_0x7f6d5e:_0x2afc23['push'](elt(_0x244747['CodeText'],_0xd3438a,_0x7f6d5e));}const DefaultBlockParsers={'LinkReference':void 0x0,'IndentedCode'(_0x4b7fe1,_0x18a251){let _0x48f7cf=_0x18a251['baseIndent']+0x4;if(_0x18a251['indent']<_0x48f7cf)return!0x1;let _0x52934c=_0x18a251['findColumn'](_0x48f7cf),_0x8ca47c=_0x4b7fe1['lineStart']+_0x52934c,_0x42730c=_0x4b7fe1['lineStart']+_0x18a251['text']['length'],_0x16546d=[],_0xce9479=[];for(addCodeText(_0x16546d,_0x8ca47c,_0x42730c);_0x4b7fe1['nextLine']()&&_0x18a251['depth']>=_0x4b7fe1['stack']['length'];)if(_0x18a251['pos']==_0x18a251['text']['length']){addCodeText(_0xce9479,_0x4b7fe1['lineStart']-0x1,_0x4b7fe1['lineStart']);for(let _0x101ff8 of _0x18a251['markers'])_0xce9479['push'](_0x101ff8);}else{if(_0x18a251['indent']<_0x48f7cf)break;{if(_0xce9479['length']){for(let _0x110015 of _0xce9479)_0x110015['type']==_0x244747['CodeText']?addCodeText(_0x16546d,_0x110015['from'],_0x110015['to']):_0x16546d['push'](_0x110015);_0xce9479=[];}addCodeText(_0x16546d,_0x4b7fe1['lineStart']-0x1,_0x4b7fe1['lineStart']);for(let _0x5cfa31 of _0x18a251['markers'])_0x16546d['push'](_0x5cfa31);_0x42730c=_0x4b7fe1['lineStart']+_0x18a251['text']['length'];let _0x1188a5=_0x4b7fe1['lineStart']+_0x18a251['findColumn'](_0x18a251['baseIndent']+0x4);_0x1188a5<_0x42730c&&addCodeText(_0x16546d,_0x1188a5,_0x42730c);}}return _0xce9479['length']&&(_0xce9479=_0xce9479['filter'](_0x491c8c=>_0x491c8c['type']!=_0x244747['CodeText']),_0xce9479['length']&&(_0x18a251['markers']=_0xce9479['concat'](_0x18a251['markers']))),_0x4b7fe1['addNode'](_0x4b7fe1['buffer']['writeElements'](_0x16546d,-_0x8ca47c)['finish'](_0x244747['CodeBlock'],_0x42730c-_0x8ca47c),_0x8ca47c),!0x0;},'FencedCode'(_0x199422,_0xb19663){let _0xe35284=_0x119dda(_0xb19663);if(_0xe35284<0x0)return!0x1;let _0x531366=_0x199422['lineStart']+_0xb19663['pos'],_0x2d1315=_0xb19663['next'],_0x4fdbba=_0xe35284-_0xb19663['pos'],_0x21dbfb=_0xb19663['skipSpace'](_0xe35284),_0x4f12b5=_0x5431c6(_0xb19663['text'],_0xb19663['text']['length'],_0x21dbfb),_0xe290e9=[elt(_0x244747['CodeMark'],_0x531366,_0x531366+_0x4fdbba)];_0x21dbfb<_0x4f12b5&&_0xe290e9['push'](elt(_0x244747['CodeInfo'],_0x199422['lineStart']+_0x21dbfb,_0x199422['lineStart']+_0x4f12b5));for(let _0x55b07a=!0x0;_0x199422['nextLine']()&&_0xb19663['depth']>=_0x199422['stack']['length'];_0x55b07a=!0x1){let _0x616e84=_0xb19663['pos'];if(_0xb19663['indent']-_0xb19663['baseIndent']<0x4){for(;_0x616e84<_0xb19663['text']['length']&&_0xb19663['text']['charCodeAt'](_0x616e84)==_0x2d1315;)_0x616e84++;}if(_0x616e84-_0xb19663['pos']>=_0x4fdbba&&_0xb19663['skipSpace'](_0x616e84)==_0xb19663['text']['length']){for(let _0x4462c4 of _0xb19663['markers'])_0xe290e9['push'](_0x4462c4);_0xe290e9['push'](elt(_0x244747['CodeMark'],_0x199422['lineStart']+_0xb19663['pos'],_0x199422['lineStart']+_0x616e84)),_0x199422['nextLine']();break;}{_0x55b07a||addCodeText(_0xe290e9,_0x199422['lineStart']-0x1,_0x199422['lineStart']);for(let _0x4c73f9 of _0xb19663['markers'])_0xe290e9['push'](_0x4c73f9);let _0x2b30e0=_0x199422['lineStart']+_0xb19663['basePos'],_0x1cc6e8=_0x199422['lineStart']+_0xb19663['text']['length'];_0x2b30e0<_0x1cc6e8&&addCodeText(_0xe290e9,_0x2b30e0,_0x1cc6e8);}}return _0x199422['addNode'](_0x199422['buffer']['writeElements'](_0xe290e9,-_0x531366)['finish'](_0x244747['FencedCode'],_0x199422['prevLineEnd']()-_0x531366),_0x531366),!0x0;},'Blockquote'(_0x5dcbf1,_0x413398){let _0x2ab522=isBlockquote(_0x413398);return!(_0x2ab522<0x0)&&(_0x5dcbf1['startContext'](_0x244747['Blockquote'],_0x413398['pos']),_0x5dcbf1['addNode'](_0x244747['QuoteMark'],_0x5dcbf1['lineStart']+_0x413398['pos'],_0x5dcbf1['lineStart']+_0x413398['pos']+0x1),_0x413398['moveBase'](_0x413398['pos']+_0x2ab522),null);},'HorizontalRule'(_0x5bd930,_0x5ebef9){if(isHorizontalRule(_0x5ebef9,_0x5bd930,!0x1)<0x0)return!0x1;let _0x2fc87f=_0x5bd930['lineStart']+_0x5ebef9['pos'];return _0x5bd930['nextLine'](),_0x5bd930['addNode'](_0x244747['HorizontalRule'],_0x2fc87f),!0x0;},'BulletList'(_0x265581,_0x4fc9f6){let _0x160f26=isBulletList(_0x4fc9f6,_0x265581,!0x1);if(_0x160f26<0x0)return!0x1;_0x265581['block']['type']!=_0x244747['BulletList']&&_0x265581['startContext'](_0x244747['BulletList'],_0x4fc9f6['basePos'],_0x4fc9f6['next']);let _0x20d8b7=getListIndent(_0x4fc9f6,_0x4fc9f6['pos']+0x1);return _0x265581['startContext'](_0x244747['ListItem'],_0x4fc9f6['basePos'],_0x20d8b7-_0x4fc9f6['baseIndent']),_0x265581['addNode'](_0x244747['ListMark'],_0x265581['lineStart']+_0x4fc9f6['pos'],_0x265581['lineStart']+_0x4fc9f6['pos']+_0x160f26),_0x4fc9f6['moveBaseColumn'](_0x20d8b7),null;},'OrderedList'(_0x15134b,_0xb73f37){let _0x1dcf1c=isOrderedList(_0xb73f37,_0x15134b,!0x1);if(_0x1dcf1c<0x0)return!0x1;_0x15134b['block']['type']!=_0x244747['OrderedList']&&_0x15134b['startContext'](_0x244747['OrderedList'],_0xb73f37['basePos'],_0xb73f37['text']['charCodeAt'](_0xb73f37['pos']+_0x1dcf1c-0x1));let _0x411b85=getListIndent(_0xb73f37,_0xb73f37['pos']+_0x1dcf1c);return _0x15134b['startContext'](_0x244747['ListItem'],_0xb73f37['basePos'],_0x411b85-_0xb73f37['baseIndent']),_0x15134b['addNode'](_0x244747['ListMark'],_0x15134b['lineStart']+_0xb73f37['pos'],_0x15134b['lineStart']+_0xb73f37['pos']+_0x1dcf1c),_0xb73f37['moveBaseColumn'](_0x411b85),null;},'ATXHeading'(_0x54a93c,_0xd61289){let _0x13c9ac=isAtxHeading(_0xd61289);if(_0x13c9ac<0x0)return!0x1;let _0x17196d=_0xd61289['pos'],_0x31aa80=_0x54a93c['lineStart']+_0x17196d,_0x233faa=_0x5431c6(_0xd61289['text'],_0xd61289['text']['length'],_0x17196d),_0x1e0c9a=_0x233faa;for(;_0x1e0c9a>_0x17196d&&_0xd61289['text']['charCodeAt'](_0x1e0c9a-0x1)==_0xd61289['next'];)_0x1e0c9a--;_0x1e0c9a!=_0x233faa&&_0x1e0c9a!=_0x17196d&&_0xcee54(_0xd61289['text']['charCodeAt'](_0x1e0c9a-0x1))||(_0x1e0c9a=_0xd61289['text']['length']);let _0x27e239=_0x54a93c['buffer']['write'](_0x244747['HeaderMark'],0x0,_0x13c9ac)['writeElements'](_0x54a93c['parser']['parseInline'](_0xd61289['text']['slice'](_0x17196d+_0x13c9ac+0x1,_0x1e0c9a),_0x31aa80+_0x13c9ac+0x1),-_0x31aa80);_0x1e0c9a<_0xd61289['text']['length']&&_0x27e239['write'](_0x244747['HeaderMark'],_0x1e0c9a-_0x17196d,_0x233faa-_0x17196d);let _0x305647=_0x27e239['finish'](_0x244747['ATXHeading1']-0x1+_0x13c9ac,_0xd61289['text']['length']-_0x17196d);return _0x54a93c['nextLine'](),_0x54a93c['addNode'](_0x305647,_0x31aa80),!0x0;},'HTMLBlock'(_0x223116,_0x4387aa){let _0x2b7dde=_0x5addd3(_0x4387aa,_0x223116,!0x1);if(_0x2b7dde<0x0)return!0x1;let _0x180bfe=_0x223116['lineStart']+_0x4387aa['pos'],_0x26d8f8=HTMLBlockStyle[_0x2b7dde][0x1],_0x3d1171=[],_0x545fa4=_0x26d8f8!=EmptyLine;for(;!_0x26d8f8['test'](_0x4387aa['text'])&&_0x223116['nextLine']();){if(_0x4387aa['depth']<_0x223116['stack']['length']){_0x545fa4=!0x1;break;}for(let _0x3ffb84 of _0x4387aa['markers'])_0x3d1171['push'](_0x3ffb84);}_0x545fa4&&_0x223116['nextLine']();let _0x21ae5a=_0x26d8f8==CommentEnd?_0x244747['CommentBlock']:_0x26d8f8==_0x1e85be?_0x244747['ProcessingInstructionBlock']:_0x244747['HTMLBlock'],_0x3d3473=_0x223116['prevLineEnd']();return _0x223116['addNode'](_0x223116['buffer']['writeElements'](_0x3d1171,-_0x180bfe)['finish'](_0x21ae5a,_0x3d3473-_0x180bfe),_0x180bfe),!0x0;},'SetextHeading':void 0x0};class _0x4edd34{constructor(_0x20ef11){this['stage']=0x0,this['elts']=[],this['pos']=0x0,this['start']=_0x20ef11['start'],this['advance'](_0x20ef11['content']);}['nextLine'](_0x342b90,_0x23f8e6,_0x8e7e4){if(-0x1==this['stage'])return!0x1;let _0x46e166=_0x8e7e4['content']+'\x0a'+_0x23f8e6['scrub'](),_0x10d105=this['advance'](_0x46e166);return _0x10d105>-0x1&&_0x10d105<_0x46e166['length']&&this['complete'](_0x342b90,_0x8e7e4,_0x10d105);}['finish'](_0x223157,_0x437cbf){return(0x2==this['stage']||0x3==this['stage'])&&_0x2b3f4c(_0x437cbf['content'],this['pos'])==_0x437cbf['content']['length']&&this['complete'](_0x223157,_0x437cbf,_0x437cbf['content']['length']);}['complete'](_0x4beba3,_0x5e7deb,_0x2baa96){return _0x4beba3['addLeafElement'](_0x5e7deb,elt(_0x244747['LinkReference'],this['start'],this['start']+_0x2baa96,this['elts'])),!0x0;}['nextStage'](_0x4802db){return _0x4802db?(this['pos']=_0x4802db['to']-this['start'],this['elts']['push'](_0x4802db),this['stage']++,!0x0):(!0x1===_0x4802db&&(this['stage']=-0x1),!0x1);}['advance'](_0x4edf84){for(;;){if(-0x1==this['stage'])return-0x1;if(0x0==this['stage']){if(!this['nextStage'](_0x1ade8c(_0x4edf84,this['pos'],this['start'],!0x0)))return-0x1;if(0x3a!=_0x4edf84['charCodeAt'](this['pos']))return this['stage']=-0x1;this['elts']['push'](elt(_0x244747['LinkMark'],this['pos']+this['start'],this['pos']+this['start']+0x1)),this['pos']++;}else{if(0x1!=this['stage']){if(0x2==this['stage']){let _0x1aaca2=_0x2b3f4c(_0x4edf84,this['pos']),_0x22ebaf=0x0;if(_0x1aaca2>this['pos']){let _0xab532c=parseLinkTitle(_0x4edf84,_0x1aaca2,this['start']);if(_0xab532c){let _0x4719e4=_0x4a90fd(_0x4edf84,_0xab532c['to']-this['start']);_0x4719e4>0x0&&(this['nextStage'](_0xab532c),_0x22ebaf=_0x4719e4);}}return _0x22ebaf||(_0x22ebaf=_0x4a90fd(_0x4edf84,this['pos'])),_0x22ebaf>0x0&&_0x22ebaf<_0x4edf84['length']?_0x22ebaf:-0x1;}return _0x4a90fd(_0x4edf84,this['pos']);}if(!this['nextStage'](_0xf2a9cb(_0x4edf84,_0x2b3f4c(_0x4edf84,this['pos']),this['start'])))return-0x1;}}}}function _0x4a90fd(_0x1393e0,_0x5d5f6a){for(;_0x5d5f6a<_0x1393e0['length'];_0x5d5f6a++){let _0x32d5f0=_0x1393e0['charCodeAt'](_0x5d5f6a);if(0xa==_0x32d5f0)break;if(!_0xcee54(_0x32d5f0))return-0x1;}return _0x5d5f6a;}class SetextHeadingParser{['nextLine'](_0x4b4232,_0x5c9568,_0x55a922){let _0x134a55=_0x5c9568['depth']<_0x4b4232['stack']['length']?-0x1:isSetextUnderline(_0x5c9568),_0x46c926=_0x5c9568['next'];if(_0x134a55<0x0)return!0x1;let _0x400281=elt(_0x244747['HeaderMark'],_0x4b4232['lineStart']+_0x5c9568['pos'],_0x4b4232['lineStart']+_0x134a55);return _0x4b4232['nextLine'](),_0x4b4232['addLeafElement'](_0x55a922,elt(0x3d==_0x46c926?_0x244747['SetextHeading1']:_0x244747['SetextHeading2'],_0x55a922['start'],_0x4b4232['prevLineEnd'](),[..._0x4b4232['parser']['parseInline'](_0x55a922['content'],_0x55a922['start']),_0x400281])),!0x0;}['finish'](){return!0x1;}}const DefaultLeafBlocks={'LinkReference':(_0x464fa2,_0x147026)=>0x5b==_0x147026['content']['charCodeAt'](0x0)?new _0x4edd34(_0x147026):null,'SetextHeading':()=>new SetextHeadingParser()},DefaultEndLeaf=[(_0x35d46c,_0xc9d561)=>isAtxHeading(_0xc9d561)>=0x0,(_0x12b1ba,_0x273915)=>_0x119dda(_0x273915)>=0x0,(_0x4e1da6,_0x44b111)=>isBlockquote(_0x44b111)>=0x0,(_0xd965c9,_0x3f0440)=>isBulletList(_0x3f0440,_0xd965c9,!0x0)>=0x0,(_0x1ec7f7,_0x11df84)=>isOrderedList(_0x11df84,_0x1ec7f7,!0x0)>=0x0,(_0x1dc46c,_0x1036e5)=>isHorizontalRule(_0x1036e5,_0x1dc46c,!0x0)>=0x0,(_0x481fde,_0x946c3a)=>_0x5addd3(_0x946c3a,_0x481fde,!0x0)>=0x0],scanLineResult={'text':'','end':0x0};class BlockContext{constructor(_0x4b4337,_0x28f7bf,_0x5b2e5f,_0x28f6c0){this['parser']=_0x4b4337,this['input']=_0x28f7bf,this['ranges']=_0x28f6c0,this['line']=new _0xbd05e3(),this['atEnd']=!0x1,this['reusePlaceholders']=new Map(),this['stoppedAt']=null,this['rangeI']=0x0,this['to']=_0x28f6c0[_0x28f6c0['length']-0x1]['to'],this['lineStart']=this['absoluteLineStart']=this['absoluteLineEnd']=_0x28f6c0[0x0]['from'],this['block']=CompositeBlock['create'](_0x244747['Document'],0x0,this['lineStart'],0x0,0x0),this['stack']=[this['block']],this['fragments']=_0x5b2e5f['length']?new FragmentCursor(_0x5b2e5f,_0x28f7bf):null,this['readLine']();}get['parsedPos'](){return this['absoluteLineStart'];}['advance'](){if(null!=this['stoppedAt']&&this['absoluteLineStart']>this['stoppedAt'])return this['finish']();let {line:_0x3782e3}=this;for(;;){for(let _0x57bece=0x0;;){let _0x1f8ced=_0x3782e3['depth']<this['stack']['length']?this['stack'][this['stack']['length']-0x1]:null;for(;_0x57bece<_0x3782e3['markers']['length']&&(!_0x1f8ced||_0x3782e3['markers'][_0x57bece]['from']<_0x1f8ced['end']);){let _0xf26b65=_0x3782e3['markers'][_0x57bece++];this['addNode'](_0xf26b65['type'],_0xf26b65['from'],_0xf26b65['to']);}if(!_0x1f8ced)break;this['finishContext']();}if(_0x3782e3['pos']<_0x3782e3['text']['length'])break;if(!this['nextLine']())return this['finish']();}if(this['fragments']&&this['reuseFragment'](_0x3782e3['basePos']))return null;t:for(;;){for(let _0x3a4e77 of this['parser']['blockParsers'])if(_0x3a4e77){let _0x1ba937=_0x3a4e77(this,_0x3782e3);if(0x0!=_0x1ba937){if(0x1==_0x1ba937)return null;_0x3782e3['forward']();continue t;}}break;}let _0x177a2d=new _0x1f50d9(this['lineStart']+_0x3782e3['pos'],_0x3782e3['text']['slice'](_0x3782e3['pos']));for(let _0x111bbb of this['parser']['leafBlockParsers'])if(_0x111bbb){let _0x2aa3aa=_0x111bbb(this,_0x177a2d);_0x2aa3aa&&_0x177a2d['parsers']['push'](_0x2aa3aa);}t:for(;this['nextLine']()&&_0x3782e3['pos']!=_0x3782e3['text']['length'];){if(_0x3782e3['indent']<_0x3782e3['baseIndent']+0x4){for(let _0x1a2153 of this['parser']['endLeafBlock'])if(_0x1a2153(this,_0x3782e3,_0x177a2d))break t;}for(let _0x1d5df7 of _0x177a2d['parsers'])if(_0x1d5df7['nextLine'](this,_0x3782e3,_0x177a2d))return null;_0x177a2d['content']+='\x0a'+_0x3782e3['scrub']();for(let _0x2031cb of _0x3782e3['markers'])_0x177a2d['marks']['push'](_0x2031cb);}return this['finishLeaf'](_0x177a2d),null;}['stopAt'](_0x426736){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x426736)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x426736;}['reuseFragment'](_0x5818c6){if(!this['fragments']['moveTo'](this['absoluteLineStart']+_0x5818c6,this['absoluteLineStart'])||!this['fragments']['matches'](this['block']['hash']))return!0x1;let _0x292743=this['fragments']['takeNodes'](this);return!!_0x292743&&(this['absoluteLineStart']+=_0x292743,this['lineStart']=toRelative(this['absoluteLineStart'],this['ranges']),this['moveRangeI'](),this['absoluteLineStart']<this['to']?(this['lineStart']++,this['absoluteLineStart']++,this['readLine']()):(this['atEnd']=!0x0,this['readLine']()),!0x0);}get['depth'](){return this['stack']['length'];}['parentType'](_0x233ec4=this['depth']-0x1){return this['parser']['nodeSet']['types'][this['stack'][_0x233ec4]['type']];}['nextLine'](){return this['lineStart']+=this['line']['text']['length'],this['absoluteLineEnd']>=this['to']?(this['absoluteLineStart']=this['absoluteLineEnd'],this['atEnd']=!0x0,this['readLine'](),!0x1):(this['lineStart']++,this['absoluteLineStart']=this['absoluteLineEnd']+0x1,this['moveRangeI'](),this['readLine'](),!0x0);}['peekLine'](){return this['scanLine'](this['absoluteLineEnd']+0x1)['text'];}['moveRangeI'](){for(;this['rangeI']<this['ranges']['length']-0x1&&this['absoluteLineStart']>=this['ranges'][this['rangeI']]['to'];)this['rangeI']++,this['absoluteLineStart']=Math['max'](this['absoluteLineStart'],this['ranges'][this['rangeI']]['from']);}['scanLine'](_0x2c74b3){let _0x104dde=scanLineResult;if(_0x104dde['end']=_0x2c74b3,_0x2c74b3>=this['to'])_0x104dde['text']='';else{if(_0x104dde['text']=this['lineChunkAt'](_0x2c74b3),_0x104dde['end']+=_0x104dde['text']['length'],this['ranges']['length']>0x1){let _0x37f28f=this['absoluteLineStart'],_0x28701=this['rangeI'];for(;this['ranges'][_0x28701]['to']<_0x104dde['end'];){_0x28701++;let _0x239c12=this['ranges'][_0x28701]['from'],_0x33305d=this['lineChunkAt'](_0x239c12);_0x104dde['end']=_0x239c12+_0x33305d['length'],_0x104dde['text']=_0x104dde['text']['slice'](0x0,this['ranges'][_0x28701-0x1]['to']-_0x37f28f)+_0x33305d,_0x37f28f=_0x104dde['end']-_0x104dde['text']['length'];}}}return _0x104dde;}['readLine'](){let {line:_0x3593f3}=this,{text:_0x3db014,end:_0x102189}=this['scanLine'](this['absoluteLineStart']);for(this['absoluteLineEnd']=_0x102189,_0x3593f3['reset'](_0x3db014);_0x3593f3['depth']<this['stack']['length'];_0x3593f3['depth']++){let _0xda86bb=this['stack'][_0x3593f3['depth']],_0x3d8aed=this['parser']['skipContextMarkup'][_0xda86bb['type']];if(!_0x3d8aed)throw new Error('Unhandled\x20block\x20context\x20'+_0x244747[_0xda86bb['type']]);let _0x551374=this['line']['markers']['length'];if(!_0x3d8aed(_0xda86bb,this,_0x3593f3)){this['line']['markers']['length']>_0x551374&&(_0xda86bb['end']=this['line']['markers'][this['line']['markers']['length']-0x1]['to']);break;}_0x3593f3['forward']();}}['lineChunkAt'](_0x3b43b4){let _0x4263c2,_0x3ccdf4=this['input']['chunk'](_0x3b43b4);if(this['input']['lineChunks'])_0x4263c2='\x0a'==_0x3ccdf4?'':_0x3ccdf4;else{let _0x237b2f=_0x3ccdf4['indexOf']('\x0a');_0x4263c2=_0x237b2f<0x0?_0x3ccdf4:_0x3ccdf4['slice'](0x0,_0x237b2f);}return _0x3b43b4+_0x4263c2['length']>this['to']?_0x4263c2['slice'](0x0,this['to']-_0x3b43b4):_0x4263c2;}['prevLineEnd'](){return this['atEnd']?this['lineStart']:this['lineStart']-0x1;}['startContext'](_0x161ebd,_0x3f9a34,_0x832ac7=0x0){this['block']=CompositeBlock['create'](_0x161ebd,_0x832ac7,this['lineStart']+_0x3f9a34,this['block']['hash'],this['lineStart']+this['line']['text']['length']),this['stack']['push'](this['block']);}['startComposite'](_0x61f278,_0x492cdd,_0x4cb072=0x0){this['startContext'](this['parser']['getNodeType'](_0x61f278),_0x492cdd,_0x4cb072);}['addNode'](_0x4ceb52,_0x20ad7b,_0xaa3b83){'number'==typeof _0x4ceb52&&(_0x4ceb52=new _0x2a3dd6(this['parser']['nodeSet']['types'][_0x4ceb52],_0x2487bf,_0x2487bf,(null!=_0xaa3b83?_0xaa3b83:this['prevLineEnd']())-_0x20ad7b)),this['block']['addChild'](_0x4ceb52,_0x20ad7b-this['block']['from']);}['addElement'](_0x349c16){this['block']['addChild'](_0x349c16['toTree'](this['parser']['nodeSet']),_0x349c16['from']-this['block']['from']);}['addLeafElement'](_0x593450,_0x59be58){this['addNode'](this['buffer']['writeElements'](injectMarks(_0x59be58['children'],_0x593450['marks']),-_0x59be58['from'])['finish'](_0x59be58['type'],_0x59be58['to']-_0x59be58['from']),_0x59be58['from']);}['finishContext'](){let _0xfcef28=this['stack']['pop'](),_0x5b9380=this['stack'][this['stack']['length']-0x1];_0x5b9380['addChild'](_0xfcef28['toTree'](this['parser']['nodeSet']),_0xfcef28['from']-_0x5b9380['from']),this['block']=_0x5b9380;}['finish'](){for(;this['stack']['length']>0x1;)this['finishContext']();return this['addGaps'](this['block']['toTree'](this['parser']['nodeSet'],this['lineStart']));}['addGaps'](_0x1648e5){return this['ranges']['length']>0x1?injectGaps(this['ranges'],0x0,_0x1648e5['topNode'],this['ranges'][0x0]['from'],this['reusePlaceholders']):_0x1648e5;}['finishLeaf'](_0x5a1680){for(let _0x248c91 of _0x5a1680['parsers'])if(_0x248c91['finish'](this,_0x5a1680))return;let _0x1005c9=injectMarks(this['parser']['parseInline'](_0x5a1680['content'],_0x5a1680['start']),_0x5a1680['marks']);this['addNode'](this['buffer']['writeElements'](_0x1005c9,-_0x5a1680['start'])['finish'](_0x244747['Paragraph'],_0x5a1680['content']['length']),_0x5a1680['start']);}['elt'](_0xc797c3,_0x2eea42,_0x13b181,_0x4ed629){return'string'==typeof _0xc797c3?elt(this['parser']['getNodeType'](_0xc797c3),_0x2eea42,_0x13b181,_0x4ed629):new TreeElement(_0xc797c3,_0x2eea42);}get['buffer'](){return new _0x53f288(this['parser']['nodeSet']);}}function injectGaps(_0x3cb139,_0x1ca351,_0x4fad8b,_0x37c481,_0x12ad6c){let _0x320c51=_0x3cb139[_0x1ca351]['to'],_0x3ac1f8=[],_0x522128=[],_0x5324f0=_0x4fad8b['from']+_0x37c481;function _0x4111dc(_0x1b027f,_0x102f46){for(;_0x102f46?_0x1b027f>=_0x320c51:_0x1b027f>_0x320c51;){let _0x1beb96=_0x3cb139[_0x1ca351+0x1]['from']-_0x320c51;_0x37c481+=_0x1beb96,_0x1b027f+=_0x1beb96,_0x1ca351++,_0x320c51=_0x3cb139[_0x1ca351]['to'];}}for(let _0x2b3222=_0x4fad8b['firstChild'];_0x2b3222;_0x2b3222=_0x2b3222['nextSibling']){_0x4111dc(_0x2b3222['from']+_0x37c481,!0x0);let _0x534917,_0x45795a=_0x2b3222['from']+_0x37c481,_0x3f0f8f=_0x12ad6c['get'](_0x2b3222['tree']);_0x3f0f8f?_0x534917=_0x3f0f8f:_0x2b3222['to']+_0x37c481>_0x320c51?(_0x534917=injectGaps(_0x3cb139,_0x1ca351,_0x2b3222,_0x37c481,_0x12ad6c),_0x4111dc(_0x2b3222['to']+_0x37c481,!0x1)):_0x534917=_0x2b3222['toTree'](),_0x3ac1f8['push'](_0x534917),_0x522128['push'](_0x45795a-_0x5324f0);}return _0x4111dc(_0x4fad8b['to']+_0x37c481,!0x1),new _0x2a3dd6(_0x4fad8b['type'],_0x3ac1f8,_0x522128,_0x4fad8b['to']+_0x37c481-_0x5324f0,_0x4fad8b['tree']?_0x4fad8b['tree']['propValues']:void 0x0);}class _0x373a89 extends _0x20778a{constructor(_0x30f1b6,_0x2cf2a1,_0x3999b0,_0xf9301e,_0x51d355,_0x2f129d,_0x18f4b4,_0x1fff30,_0x219cdf){super(),this['nodeSet']=_0x30f1b6,this['blockParsers']=_0x2cf2a1,this['leafBlockParsers']=_0x3999b0,this['blockNames']=_0xf9301e,this['endLeafBlock']=_0x51d355,this['skipContextMarkup']=_0x2f129d,this['inlineParsers']=_0x18f4b4,this['inlineNames']=_0x1fff30,this['wrappers']=_0x219cdf,this['nodeTypes']=Object['create'](null);for(let t of _0x30f1b6['types'])this['nodeTypes'][t['name']]=t['id'];}['createParse'](_0x2f87ba,_0x9dd155,_0x39c209){let _0x3f7376=new BlockContext(this,_0x2f87ba,_0x9dd155,_0x39c209);for(let _0x28d102 of this['wrappers'])_0x3f7376=_0x28d102(_0x3f7376,_0x2f87ba,_0x9dd155,_0x39c209);return _0x3f7376;}['configure'](_0x5dae34){let _0x1d1a51=_0x5066fd(_0x5dae34);if(!_0x1d1a51)return this;let {nodeSet:_0x16b3a4,skipContextMarkup:_0x12884e}=this,_0x3dfc53=this['blockParsers']['slice'](),_0x1dfdab=this['leafBlockParsers']['slice'](),_0x2c8b1f=this['blockNames']['slice'](),_0xe91845=this['inlineParsers']['slice'](),_0x4f51cc=this['inlineNames']['slice'](),_0x1c4478=this['endLeafBlock']['slice'](),_0x11d437=this['wrappers'];if(nonEmpty(_0x1d1a51['defineNodes'])){_0x12884e=Object['assign']({},_0x12884e);let _0x356ff3,_0xd1623d=_0x16b3a4['types']['slice']();for(let _0x90b1b0 of _0x1d1a51['defineNodes']){let {name:_0x31d4a1,block:_0x174599,composite:_0x4ff3a7,style:_0x559b17}='string'==typeof _0x90b1b0?{'name':_0x90b1b0}:_0x90b1b0;if(_0xd1623d['some'](t=>t['name']==_0x31d4a1))continue;_0x4ff3a7&&(_0x12884e[_0xd1623d['length']]=(_0x133e57,_0x28248a,_0x5ce7c1)=>_0x4ff3a7(_0x28248a,_0x5ce7c1,_0x133e57['value']));let _0x70dd20=_0xd1623d['length'],_0x5bb3b3=_0x4ff3a7?['Block','BlockContext']:_0x174599?_0x70dd20>=_0x244747['ATXHeading1']&&_0x70dd20<=_0x244747['SetextHeading2']?['Block','LeafBlock','Heading']:['Block','LeafBlock']:void 0x0;_0xd1623d['push'](_0x5a565d['define']({'id':_0x70dd20,'name':_0x31d4a1,'props':_0x5bb3b3&&[[_0x258b5f['group'],_0x5bb3b3]]})),_0x559b17&&(_0x356ff3||(_0x356ff3={}),Array['isArray'](_0x559b17)||_0x559b17 instanceof _0x3ac04e?_0x356ff3[_0x31d4a1]=_0x559b17:Object['assign'](_0x356ff3,_0x559b17));}_0x16b3a4=new NodeSet(_0xd1623d),_0x356ff3&&(_0x16b3a4=_0x16b3a4['extend'](styleTags(_0x356ff3)));}if(nonEmpty(_0x1d1a51['props'])&&(_0x16b3a4=_0x16b3a4['extend'](..._0x1d1a51['props'])),nonEmpty(_0x1d1a51['remove']))for(let _0x578647 of _0x1d1a51['remove']){let _0x3ce902=this['blockNames']['indexOf'](_0x578647),_0x4db845=this['inlineNames']['indexOf'](_0x578647);_0x3ce902>-0x1&&(_0x3dfc53[_0x3ce902]=_0x1dfdab[_0x3ce902]=void 0x0),_0x4db845>-0x1&&(_0xe91845[_0x4db845]=void 0x0);}if(nonEmpty(_0x1d1a51['parseBlock']))for(let _0x45d66e of _0x1d1a51['parseBlock']){let _0xa1ad34=_0x2c8b1f['indexOf'](_0x45d66e['name']);if(_0xa1ad34>-0x1)_0x3dfc53[_0xa1ad34]=_0x45d66e['parse'],_0x1dfdab[_0xa1ad34]=_0x45d66e['leaf'];else{let _0x1f7016=_0x45d66e['before']?_0x59aa94(_0x2c8b1f,_0x45d66e['before']):_0x45d66e['after']?_0x59aa94(_0x2c8b1f,_0x45d66e['after'])+0x1:_0x2c8b1f['length']-0x1;_0x3dfc53['splice'](_0x1f7016,0x0,_0x45d66e['parse']),_0x1dfdab['splice'](_0x1f7016,0x0,_0x45d66e['leaf']),_0x2c8b1f['splice'](_0x1f7016,0x0,_0x45d66e['name']);}_0x45d66e['endLeaf']&&_0x1c4478['push'](_0x45d66e['endLeaf']);}if(nonEmpty(_0x1d1a51['parseInline']))for(let _0xb54fe5 of _0x1d1a51['parseInline']){let _0x13c0ec=_0x4f51cc['indexOf'](_0xb54fe5['name']);if(_0x13c0ec>-0x1)_0xe91845[_0x13c0ec]=_0xb54fe5['parse'];else{let _0x3c98e2=_0xb54fe5['before']?_0x59aa94(_0x4f51cc,_0xb54fe5['before']):_0xb54fe5['after']?_0x59aa94(_0x4f51cc,_0xb54fe5['after'])+0x1:_0x4f51cc['length']-0x1;_0xe91845['splice'](_0x3c98e2,0x0,_0xb54fe5['parse']),_0x4f51cc['splice'](_0x3c98e2,0x0,_0xb54fe5['name']);}}return _0x1d1a51['wrap']&&(_0x11d437=_0x11d437['concat'](_0x1d1a51['wrap'])),new _0x373a89(_0x16b3a4,_0x3dfc53,_0x1dfdab,_0x2c8b1f,_0x1c4478,_0x12884e,_0xe91845,_0x4f51cc,_0x11d437);}['getNodeType'](_0xc88537){let _0x282428=this['nodeTypes'][_0xc88537];if(null==_0x282428)throw new RangeError('Unknown\x20node\x20type\x20\x27'+_0xc88537+'\x27');return _0x282428;}['parseInline'](_0x5c98ac,_0x21e631){let _0x11e4bb=new InlineContext(this,_0x5c98ac,_0x21e631);t:for(let _0x7a78a3=_0x21e631;_0x7a78a3<_0x11e4bb['end'];){let _0x2b46b5=_0x11e4bb['char'](_0x7a78a3);for(let _0x509d2f of this['inlineParsers'])if(_0x509d2f){let _0x454f22=_0x509d2f(_0x11e4bb,_0x2b46b5,_0x7a78a3);if(_0x454f22>=0x0){_0x7a78a3=_0x454f22;continue t;}}_0x7a78a3++;}return _0x11e4bb['resolveMarkers'](0x0);}}function nonEmpty(_0x5a0d00){return null!=_0x5a0d00&&_0x5a0d00['length']>0x0;}function _0x5066fd(_0x41cff9){if(!Array['isArray'](_0x41cff9))return _0x41cff9;if(0x0==_0x41cff9['length'])return null;let _0x59d7a9=_0x5066fd(_0x41cff9[0x0]);if(0x1==_0x41cff9['length'])return _0x59d7a9;let _0x5cf270=_0x5066fd(_0x41cff9['slice'](0x1));if(!_0x5cf270||!_0x59d7a9)return _0x59d7a9||_0x5cf270;let _0x1bfb2f=(_0x3d451c,_0x2e7563)=>(_0x3d451c||_0x2487bf)['concat'](_0x2e7563||_0x2487bf),_0x1c327e=_0x59d7a9['wrap'],_0x5687ca=_0x5cf270['wrap'];return{'props':_0x1bfb2f(_0x59d7a9['props'],_0x5cf270['props']),'defineNodes':_0x1bfb2f(_0x59d7a9['defineNodes'],_0x5cf270['defineNodes']),'parseBlock':_0x1bfb2f(_0x59d7a9['parseBlock'],_0x5cf270['parseBlock']),'parseInline':_0x1bfb2f(_0x59d7a9['parseInline'],_0x5cf270['parseInline']),'remove':_0x1bfb2f(_0x59d7a9['remove'],_0x5cf270['remove']),'wrap':_0x1c327e?_0x5687ca?(_0x33ee07,_0x32cec6,_0x9be810,_0x23396a)=>_0x1c327e(_0x5687ca(_0x33ee07,_0x32cec6,_0x9be810,_0x23396a),_0x32cec6,_0x9be810,_0x23396a):_0x1c327e:_0x5687ca};}function _0x59aa94(_0x526c21,_0x5baefa){let _0x11ad32=_0x526c21['indexOf'](_0x5baefa);if(_0x11ad32<0x0)throw new RangeError('Position\x20specified\x20relative\x20to\x20unknown\x20parser\x20'+_0x5baefa);return _0x11ad32;}let _0x518fc5=[_0x5a565d['none']];for(let _0x3e1462=0x1,_0x1ce7fb;_0x1ce7fb=_0x244747[_0x3e1462];_0x3e1462++)_0x518fc5[_0x3e1462]=_0x5a565d['define']({'id':_0x3e1462,'name':_0x1ce7fb,'props':_0x3e1462>=_0x244747['Escape']?[]:[[_0x258b5f['group'],_0x3e1462 in DefaultSkipMarkup?['Block','BlockContext']:['Block','LeafBlock']]],'top':'Document'==_0x1ce7fb});const _0x2487bf=[];let _0x53f288=class{constructor(_0x17b9d4){this['nodeSet']=_0x17b9d4,this['content']=[],this['nodes']=[];}['write'](_0x13b41f,_0x262638,_0xe8411b,_0x4d2d5a=0x0){return this['content']['push'](_0x13b41f,_0x262638,_0xe8411b,0x4+0x4*_0x4d2d5a),this;}['writeElements'](_0x41daa6,_0x5dc67c=0x0){for(let _0x58c900 of _0x41daa6)_0x58c900['writeTo'](this,_0x5dc67c);return this;}['finish'](_0x193bfe,_0x14bea2){return _0x2a3dd6['build']({'buffer':this['content'],'nodeSet':this['nodeSet'],'reused':this['nodes'],'topID':_0x193bfe,'length':_0x14bea2});}},Element$1=class{constructor(_0x4d6efa,_0x277472,_0xa05d62,_0x194c41=_0x2487bf){this['type']=_0x4d6efa,this['from']=_0x277472,this['to']=_0xa05d62,this['children']=_0x194c41;}['writeTo'](_0x26b684,_0x370061){let _0x2f8504=_0x26b684['content']['length'];_0x26b684['writeElements'](this['children'],_0x370061),_0x26b684['content']['push'](this['type'],this['from']+_0x370061,this['to']+_0x370061,_0x26b684['content']['length']+0x4-_0x2f8504);}['toTree'](_0x363fc4){return new _0x53f288(_0x363fc4)['writeElements'](this['children'],-this['from'])['finish'](this['type'],this['to']-this['from']);}};class TreeElement{constructor(_0x40097b,_0x233cfe){this['tree']=_0x40097b,this['from']=_0x233cfe;}get['to'](){return this['from']+this['tree']['length'];}get['type'](){return this['tree']['type']['id'];}get['children'](){return _0x2487bf;}['writeTo'](_0x249b85,_0x44e98b){_0x249b85['nodes']['push'](this['tree']),_0x249b85['content']['push'](_0x249b85['nodes']['length']-0x1,this['from']+_0x44e98b,this['to']+_0x44e98b,-0x1);}['toTree'](){return this['tree'];}}function elt(_0x553ba1,_0x12bd10,_0x160d2d,_0x1f2962){return new Element$1(_0x553ba1,_0x12bd10,_0x160d2d,_0x1f2962);}const _0x778ab7={'resolve':'Emphasis','mark':'EmphasisMark'},EmphasisAsterisk={'resolve':'Emphasis','mark':'EmphasisMark'},LinkStart={},ImageStart={};class InlineDelimiter{constructor(_0x46c70c,_0x5e956a,_0x4da75f,_0x27ffc0){this['type']=_0x46c70c,this['from']=_0x5e956a,this['to']=_0x4da75f,this['side']=_0x27ffc0;}}const _0x5f47f9='!\x22#$%&\x27()*+,-./:;<=>?@[\x5c]^_`{|}~';let Punctuation=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{Punctuation=new RegExp('[\x5cp{S}|\x5cp{P}]','u');}catch(_0x4113a9){}const DefaultInline={'Escape'(_0x3bbde2,_0x56d68e,_0x2dcc2c){if(0x5c!=_0x56d68e||_0x2dcc2c==_0x3bbde2['end']-0x1)return-0x1;let _0x4ad0dc=_0x3bbde2['char'](_0x2dcc2c+0x1);for(let _0x40f4d4=0x0;_0x40f4d4<_0x5f47f9['length'];_0x40f4d4++)if(_0x5f47f9['charCodeAt'](_0x40f4d4)==_0x4ad0dc)return _0x3bbde2['append'](elt(_0x244747['Escape'],_0x2dcc2c,_0x2dcc2c+0x2));return-0x1;},'Entity'(_0x1c3431,_0x5b5ac2,_0x164fd6){if(0x26!=_0x5b5ac2)return-0x1;let _0x3618fa=/^(?:#\d+|#x[a-f\d]+|\w+);/i['exec'](_0x1c3431['slice'](_0x164fd6+0x1,_0x164fd6+0x1f));return _0x3618fa?_0x1c3431['append'](elt(_0x244747['Entity'],_0x164fd6,_0x164fd6+0x1+_0x3618fa[0x0]['length'])):-0x1;},'InlineCode'(_0x466995,_0x5a5109,_0x3e5cbf){if(0x60!=_0x5a5109||_0x3e5cbf&&0x60==_0x466995['char'](_0x3e5cbf-0x1))return-0x1;let _0x30b53e=_0x3e5cbf+0x1;for(;_0x30b53e<_0x466995['end']&&0x60==_0x466995['char'](_0x30b53e);)_0x30b53e++;let _0x5c06d1=_0x30b53e-_0x3e5cbf,_0xf29c45=0x0;for(;_0x30b53e<_0x466995['end'];_0x30b53e++)if(0x60==_0x466995['char'](_0x30b53e)){if(_0xf29c45++,_0xf29c45==_0x5c06d1&&0x60!=_0x466995['char'](_0x30b53e+0x1))return _0x466995['append'](elt(_0x244747['InlineCode'],_0x3e5cbf,_0x30b53e+0x1,[elt(_0x244747['CodeMark'],_0x3e5cbf,_0x3e5cbf+_0x5c06d1),elt(_0x244747['CodeMark'],_0x30b53e+0x1-_0x5c06d1,_0x30b53e+0x1)]));}else _0xf29c45=0x0;return-0x1;},'HTMLTag'(_0x114ddc,_0x231733,_0xba912){if(0x3c!=_0x231733||_0xba912==_0x114ddc['end']-0x1)return-0x1;let _0x2515ab=_0x114ddc['slice'](_0xba912+0x1,_0x114ddc['end']),_0x1fbd19=/^(?:[a-z][-\w+.]+:[^\s>]+|[a-z\d.!#$%&'*+/=?^_`{|}~-]+@[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)*)>/i['exec'](_0x2515ab);if(_0x1fbd19)return _0x114ddc['append'](elt(_0x244747['Autolink'],_0xba912,_0xba912+0x1+_0x1fbd19[0x0]['length'],[elt(_0x244747['LinkMark'],_0xba912,_0xba912+0x1),elt(_0x244747['URL'],_0xba912+0x1,_0xba912+_0x1fbd19[0x0]['length']),elt(_0x244747['LinkMark'],_0xba912+_0x1fbd19[0x0]['length'],_0xba912+0x1+_0x1fbd19[0x0]['length'])]));let _0x136d4b=/^!--[^>](?:-[^-]|[^-])*?-->/i['exec'](_0x2515ab);if(_0x136d4b)return _0x114ddc['append'](elt(_0x244747['Comment'],_0xba912,_0xba912+0x1+_0x136d4b[0x0]['length']));let _0x9956b2=/^\?[^]*?\?>/['exec'](_0x2515ab);if(_0x9956b2)return _0x114ddc['append'](elt(_0x244747['ProcessingInstruction'],_0xba912,_0xba912+0x1+_0x9956b2[0x0]['length']));let _0x53dbca=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/['exec'](_0x2515ab);return _0x53dbca?_0x114ddc['append'](elt(_0x244747['HTMLTag'],_0xba912,_0xba912+0x1+_0x53dbca[0x0]['length'])):-0x1;},'Emphasis'(_0x2451b5,_0x2986e5,_0x40d893){if(0x5f!=_0x2986e5&&0x2a!=_0x2986e5)return-0x1;let _0x336e8d=_0x40d893+0x1;for(;_0x2451b5['char'](_0x336e8d)==_0x2986e5;)_0x336e8d++;let _0xb115d2=_0x2451b5['slice'](_0x40d893-0x1,_0x40d893),_0x473e7e=_0x2451b5['slice'](_0x336e8d,_0x336e8d+0x1),_0x946cb5=Punctuation['test'](_0xb115d2),_0x84ddd6=Punctuation['test'](_0x473e7e),_0x42fc21=/\s|^$/['test'](_0xb115d2),_0x2968ea=/\s|^$/['test'](_0x473e7e),_0x30a8da=!_0x2968ea&&(!_0x84ddd6||_0x42fc21||_0x946cb5),_0x4d0ca0=!_0x42fc21&&(!_0x946cb5||_0x2968ea||_0x84ddd6),_0x37040e=_0x30a8da&&(0x2a==_0x2986e5||!_0x4d0ca0||_0x946cb5),_0x319984=_0x4d0ca0&&(0x2a==_0x2986e5||!_0x30a8da||_0x84ddd6);return _0x2451b5['append'](new InlineDelimiter(0x5f==_0x2986e5?_0x778ab7:EmphasisAsterisk,_0x40d893,_0x336e8d,(_0x37040e?0x1:0x0)|(_0x319984?0x2:0x0)));},'HardBreak'(_0x50f1ef,_0x32d6e8,_0x161b30){if(0x5c==_0x32d6e8&&0xa==_0x50f1ef['char'](_0x161b30+0x1))return _0x50f1ef['append'](elt(_0x244747['HardBreak'],_0x161b30,_0x161b30+0x2));if(0x20==_0x32d6e8){let _0x393882=_0x161b30+0x1;for(;0x20==_0x50f1ef['char'](_0x393882);)_0x393882++;if(0xa==_0x50f1ef['char'](_0x393882)&&_0x393882>=_0x161b30+0x2)return _0x50f1ef['append'](elt(_0x244747['HardBreak'],_0x161b30,_0x393882+0x1));}return-0x1;},'Link':(_0x1aa3b8,_0x2e59,_0x57ac92)=>0x5b==_0x2e59?_0x1aa3b8['append'](new InlineDelimiter(LinkStart,_0x57ac92,_0x57ac92+0x1,0x1)):-0x1,'Image':(_0xd1ec5e,_0x45f4f5,_0x1bb4bb)=>0x21==_0x45f4f5&&0x5b==_0xd1ec5e['char'](_0x1bb4bb+0x1)?_0xd1ec5e['append'](new InlineDelimiter(ImageStart,_0x1bb4bb,_0x1bb4bb+0x2,0x1)):-0x1,'LinkEnd'(_0x8751d2,_0x72e5f6,_0x4d3e69){if(0x5d!=_0x72e5f6)return-0x1;for(let _0x49dcce=_0x8751d2['parts']['length']-0x1;_0x49dcce>=0x0;_0x49dcce--){let _0x2526fc=_0x8751d2['parts'][_0x49dcce];if(_0x2526fc instanceof InlineDelimiter&&(_0x2526fc['type']==LinkStart||_0x2526fc['type']==ImageStart)){if(!_0x2526fc['side']||_0x8751d2['skipSpace'](_0x2526fc['to'])==_0x4d3e69&&!/[(\[]/['test'](_0x8751d2['slice'](_0x4d3e69+0x1,_0x4d3e69+0x2)))return _0x8751d2['parts'][_0x49dcce]=null,-0x1;let _0x3d3922=_0x8751d2['takeContent'](_0x49dcce),_0x371705=_0x8751d2['parts'][_0x49dcce]=_0x578296(_0x8751d2,_0x3d3922,_0x2526fc['type']==LinkStart?_0x244747['Link']:_0x244747['Image'],_0x2526fc['from'],_0x4d3e69+0x1);if(_0x2526fc['type']==LinkStart)for(let _0x13ecd2=0x0;_0x13ecd2<_0x49dcce;_0x13ecd2++){let _0x2dcd03=_0x8751d2['parts'][_0x13ecd2];_0x2dcd03 instanceof InlineDelimiter&&_0x2dcd03['type']==LinkStart&&(_0x2dcd03['side']=0x0);}return _0x371705['to'];}}return-0x1;}};function _0x578296(_0x27365a,_0x1c343c,_0x5e1f7b,_0x5c4dec,_0x151905){let {text:_0x271ec1}=_0x27365a,_0x933248=_0x27365a['char'](_0x151905),_0x41924a=_0x151905;if(_0x1c343c['unshift'](elt(_0x244747['LinkMark'],_0x5c4dec,_0x5c4dec+(_0x5e1f7b==_0x244747['Image']?0x2:0x1))),_0x1c343c['push'](elt(_0x244747['LinkMark'],_0x151905-0x1,_0x151905)),0x28==_0x933248){let _0xeaa866,_0x59826c=_0x27365a['skipSpace'](_0x151905+0x1),_0x2ca83f=_0xf2a9cb(_0x271ec1,_0x59826c-_0x27365a['offset'],_0x27365a['offset']);_0x2ca83f&&(_0x59826c=_0x27365a['skipSpace'](_0x2ca83f['to']),_0x59826c!=_0x2ca83f['to']&&(_0xeaa866=parseLinkTitle(_0x271ec1,_0x59826c-_0x27365a['offset'],_0x27365a['offset']),_0xeaa866&&(_0x59826c=_0x27365a['skipSpace'](_0xeaa866['to'])))),0x29==_0x27365a['char'](_0x59826c)&&(_0x1c343c['push'](elt(_0x244747['LinkMark'],_0x151905,_0x151905+0x1)),_0x41924a=_0x59826c+0x1,_0x2ca83f&&_0x1c343c['push'](_0x2ca83f),_0xeaa866&&_0x1c343c['push'](_0xeaa866),_0x1c343c['push'](elt(_0x244747['LinkMark'],_0x59826c,_0x41924a)));}else{if(0x5b==_0x933248){let _0x160c20=_0x1ade8c(_0x271ec1,_0x151905-_0x27365a['offset'],_0x27365a['offset'],!0x1);_0x160c20&&(_0x1c343c['push'](_0x160c20),_0x41924a=_0x160c20['to']);}}return elt(_0x5e1f7b,_0x5c4dec,_0x41924a,_0x1c343c);}function _0xf2a9cb(_0x35a104,_0xbdaae2,_0x1de3d3){if(0x3c==_0x35a104['charCodeAt'](_0xbdaae2)){for(let _0x679b9c=_0xbdaae2+0x1;_0x679b9c<_0x35a104['length'];_0x679b9c++){let _0x4e8ca3=_0x35a104['charCodeAt'](_0x679b9c);if(0x3e==_0x4e8ca3)return elt(_0x244747['URL'],_0xbdaae2+_0x1de3d3,_0x679b9c+0x1+_0x1de3d3);if(0x3c==_0x4e8ca3||0xa==_0x4e8ca3)return!0x1;}return null;}{let _0x1321b7=0x0,_0x7b6719=_0xbdaae2;for(let _0x271f4e=!0x1;_0x7b6719<_0x35a104['length'];_0x7b6719++){let _0x441acf=_0x35a104['charCodeAt'](_0x7b6719);if(_0xcee54(_0x441acf))break;if(_0x271f4e)_0x271f4e=!0x1;else{if(0x28==_0x441acf)_0x1321b7++;else{if(0x29==_0x441acf){if(!_0x1321b7)break;_0x1321b7--;}else 0x5c==_0x441acf&&(_0x271f4e=!0x0);}}}return _0x7b6719>_0xbdaae2?elt(_0x244747['URL'],_0xbdaae2+_0x1de3d3,_0x7b6719+_0x1de3d3):_0x7b6719==_0x35a104['length']&&null;}}function parseLinkTitle(_0x53459b,_0x17c066,_0x5e37a2){let _0x2127cb=_0x53459b['charCodeAt'](_0x17c066);if(0x27!=_0x2127cb&&0x22!=_0x2127cb&&0x28!=_0x2127cb)return!0x1;let _0xa6d822=0x28==_0x2127cb?0x29:_0x2127cb;for(let _0x4cab59=_0x17c066+0x1,_0x3e224c=!0x1;_0x4cab59<_0x53459b['length'];_0x4cab59++){let _0xe0b315=_0x53459b['charCodeAt'](_0x4cab59);if(_0x3e224c)_0x3e224c=!0x1;else{if(_0xe0b315==_0xa6d822)return elt(_0x244747['LinkTitle'],_0x17c066+_0x5e37a2,_0x4cab59+0x1+_0x5e37a2);0x5c==_0xe0b315&&(_0x3e224c=!0x0);}}return null;}function _0x1ade8c(_0x249d9c,_0x5712f7,_0x48da02,_0x545ed2){for(let _0x531a76=!0x1,_0x119c7b=_0x5712f7+0x1,_0x542d7b=Math['min'](_0x249d9c['length'],_0x119c7b+0x3e7);_0x119c7b<_0x542d7b;_0x119c7b++){let _0x1cb1b2=_0x249d9c['charCodeAt'](_0x119c7b);if(_0x531a76)_0x531a76=!0x1;else{if(0x5d==_0x1cb1b2)return!_0x545ed2&&elt(_0x244747['LinkLabel'],_0x5712f7+_0x48da02,_0x119c7b+0x1+_0x48da02);if(_0x545ed2&&!_0xcee54(_0x1cb1b2)&&(_0x545ed2=!0x1),0x5b==_0x1cb1b2)return!0x1;0x5c==_0x1cb1b2&&(_0x531a76=!0x0);}}return null;}class InlineContext{constructor(_0x263d04,_0x504b37,_0x3143eb){this['parser']=_0x263d04,this['text']=_0x504b37,this['offset']=_0x3143eb,this['parts']=[];}['char'](_0x237b6f){return _0x237b6f>=this['end']?-0x1:this['text']['charCodeAt'](_0x237b6f-this['offset']);}get['end'](){return this['offset']+this['text']['length'];}['slice'](_0x4c1221,_0x3fd5d1){return this['text']['slice'](_0x4c1221-this['offset'],_0x3fd5d1-this['offset']);}['append'](_0x4cce48){return this['parts']['push'](_0x4cce48),_0x4cce48['to'];}['addDelimiter'](_0x382ab8,_0x3a6d71,_0x417f06,_0x24166b,_0x2bf0df){return this['append'](new InlineDelimiter(_0x382ab8,_0x3a6d71,_0x417f06,(_0x24166b?0x1:0x0)|(_0x2bf0df?0x2:0x0)));}get['hasOpenLink'](){for(let _0x5837b5=this['parts']['length']-0x1;_0x5837b5>=0x0;_0x5837b5--){let _0x3c523c=this['parts'][_0x5837b5];if(_0x3c523c instanceof InlineDelimiter&&(_0x3c523c['type']==LinkStart||_0x3c523c['type']==ImageStart))return!0x0;}return!0x1;}['addElement'](_0x5186eb){return this['append'](_0x5186eb);}['resolveMarkers'](_0x5a0c9d){for(let _0x1da3a1=_0x5a0c9d;_0x1da3a1<this['parts']['length'];_0x1da3a1++){let _0x525ddb=this['parts'][_0x1da3a1];if(!(_0x525ddb instanceof InlineDelimiter&&_0x525ddb['type']['resolve']&&0x2&_0x525ddb['side']))continue;let _0x1d7837,_0x10fa4a=_0x525ddb['type']==_0x778ab7||_0x525ddb['type']==EmphasisAsterisk,_0x302e09=_0x525ddb['to']-_0x525ddb['from'],_0x58e69a=_0x1da3a1-0x1;for(;_0x58e69a>=_0x5a0c9d;_0x58e69a--){let _0x10f817=this['parts'][_0x58e69a];if(_0x10f817 instanceof InlineDelimiter&&0x1&_0x10f817['side']&&_0x10f817['type']==_0x525ddb['type']&&!(_0x10fa4a&&(0x1&_0x525ddb['side']||0x2&_0x10f817['side'])&&(_0x10f817['to']-_0x10f817['from']+_0x302e09)%0x3==0x0&&((_0x10f817['to']-_0x10f817['from'])%0x3||_0x302e09%0x3))){_0x1d7837=_0x10f817;break;}}if(!_0x1d7837)continue;let _0x1e2133=_0x525ddb['type']['resolve'],_0x1f1462=[],_0x5ed83b=_0x1d7837['from'],_0x12c2e1=_0x525ddb['to'];if(_0x10fa4a){let _0x17bc1f=Math['min'](0x2,_0x1d7837['to']-_0x1d7837['from'],_0x302e09);_0x5ed83b=_0x1d7837['to']-_0x17bc1f,_0x12c2e1=_0x525ddb['from']+_0x17bc1f,_0x1e2133=0x1==_0x17bc1f?'Emphasis':'StrongEmphasis';}_0x1d7837['type']['mark']&&_0x1f1462['push'](this['elt'](_0x1d7837['type']['mark'],_0x5ed83b,_0x1d7837['to']));for(let _0x387e88=_0x58e69a+0x1;_0x387e88<_0x1da3a1;_0x387e88++)this['parts'][_0x387e88]instanceof Element$1&&_0x1f1462['push'](this['parts'][_0x387e88]),this['parts'][_0x387e88]=null;_0x525ddb['type']['mark']&&_0x1f1462['push'](this['elt'](_0x525ddb['type']['mark'],_0x525ddb['from'],_0x12c2e1));let _0x29bb64=this['elt'](_0x1e2133,_0x5ed83b,_0x12c2e1,_0x1f1462);this['parts'][_0x58e69a]=_0x10fa4a&&_0x1d7837['from']!=_0x5ed83b?new InlineDelimiter(_0x1d7837['type'],_0x1d7837['from'],_0x5ed83b,_0x1d7837['side']):null,(this['parts'][_0x1da3a1]=_0x10fa4a&&_0x525ddb['to']!=_0x12c2e1?new InlineDelimiter(_0x525ddb['type'],_0x12c2e1,_0x525ddb['to'],_0x525ddb['side']):null)?this['parts']['splice'](_0x1da3a1,0x0,_0x29bb64):this['parts'][_0x1da3a1]=_0x29bb64;}let _0x8f3496=[];for(let _0x51cc0d=_0x5a0c9d;_0x51cc0d<this['parts']['length'];_0x51cc0d++){let _0x351107=this['parts'][_0x51cc0d];_0x351107 instanceof Element$1&&_0x8f3496['push'](_0x351107);}return _0x8f3496;}['findOpeningDelimiter'](_0x547fd2){for(let _0x272445=this['parts']['length']-0x1;_0x272445>=0x0;_0x272445--){let _0x623a31=this['parts'][_0x272445];if(_0x623a31 instanceof InlineDelimiter&&_0x623a31['type']==_0x547fd2&&0x1&_0x623a31['side'])return _0x272445;}return null;}['takeContent'](_0xabd0eb){let _0x50b788=this['resolveMarkers'](_0xabd0eb);return this['parts']['length']=_0xabd0eb,_0x50b788;}['getDelimiterAt'](_0x5db993){let _0x34f17c=this['parts'][_0x5db993];return _0x34f17c instanceof InlineDelimiter?_0x34f17c:null;}['skipSpace'](_0x2e0356){return _0x2b3f4c(this['text'],_0x2e0356-this['offset'])+this['offset'];}['elt'](_0x5146d0,_0x469d69,_0x3e9cc6,_0x2d2055){return'string'==typeof _0x5146d0?elt(this['parser']['getNodeType'](_0x5146d0),_0x469d69,_0x3e9cc6,_0x2d2055):new TreeElement(_0x5146d0,_0x469d69);}}function injectMarks(_0x26048a,_0x3a9183){if(!_0x3a9183['length'])return _0x26048a;if(!_0x26048a['length'])return _0x3a9183;let _0x2a20fe=_0x26048a['slice'](),_0x327323=0x0;for(let _0x39bcef of _0x3a9183){for(;_0x327323<_0x2a20fe['length']&&_0x2a20fe[_0x327323]['to']<_0x39bcef['to'];)_0x327323++;if(_0x327323<_0x2a20fe['length']&&_0x2a20fe[_0x327323]['from']<_0x39bcef['from']){let _0x39f803=_0x2a20fe[_0x327323];_0x39f803 instanceof Element$1&&(_0x2a20fe[_0x327323]=new Element$1(_0x39f803['type'],_0x39f803['from'],_0x39f803['to'],injectMarks(_0x39f803['children'],[_0x39bcef])));}else _0x2a20fe['splice'](_0x327323++,0x0,_0x39bcef);}return _0x2a20fe;}InlineContext['linkStart']=LinkStart,InlineContext['imageStart']=ImageStart;const NotLast=[_0x244747['CodeBlock'],_0x244747['ListItem'],_0x244747['OrderedList'],_0x244747['BulletList']];class FragmentCursor{constructor(_0x287c28,_0x2a5082){this['fragments']=_0x287c28,this['input']=_0x2a5082,this['i']=0x0,this['fragment']=null,this['fragmentEnd']=-0x1,this['cursor']=null,_0x287c28['length']&&(this['fragment']=_0x287c28[this['i']++]);}['nextFragment'](){this['fragment']=this['i']<this['fragments']['length']?this['fragments'][this['i']++]:null,this['cursor']=null,this['fragmentEnd']=-0x1;}['moveTo'](_0x55cbbc,_0x39ec07){for(;this['fragment']&&this['fragment']['to']<=_0x55cbbc;)this['nextFragment']();if(!this['fragment']||this['fragment']['from']>(_0x55cbbc?_0x55cbbc-0x1:0x0))return!0x1;if(this['fragmentEnd']<0x0){let _0x64694=this['fragment']['to'];for(;_0x64694>0x0&&'\x0a'!=this['input']['read'](_0x64694-0x1,_0x64694);)_0x64694--;this['fragmentEnd']=_0x64694?_0x64694-0x1:0x0;}let _0x253a51=this['cursor'];_0x253a51||(_0x253a51=this['cursor']=this['fragment']['tree']['cursor'](),_0x253a51['firstChild']());let _0x27c6d7=_0x55cbbc+this['fragment']['offset'];for(;_0x253a51['to']<=_0x27c6d7;)if(!_0x253a51['parent']())return!0x1;for(;;){if(_0x253a51['from']>=_0x27c6d7)return this['fragment']['from']<=_0x39ec07;if(!_0x253a51['childAfter'](_0x27c6d7))return!0x1;}}['matches'](_0x5f33c9){let _0x21c22e=this['cursor']['tree'];return _0x21c22e&&_0x21c22e['prop'](_0x258b5f['contextHash'])==_0x5f33c9;}['takeNodes'](_0x3a65af){let _0x106131=this['cursor'],_0x2d7058=this['fragment']['offset'],_0x5815a3=this['fragmentEnd']-(this['fragment']['openEnd']?0x1:0x0),_0x37c5d8=_0x3a65af['absoluteLineStart'],_0x1596af=_0x37c5d8,_0x206849=_0x3a65af['block']['children']['length'],_0x3f4f51=_0x1596af,_0x597e46=_0x206849;for(;;){if(_0x106131['to']-_0x2d7058>_0x5815a3){if(_0x106131['type']['isAnonymous']&&_0x106131['firstChild']())continue;break;}let _0x4537eb=toRelative(_0x106131['from']-_0x2d7058,_0x3a65af['ranges']);if(_0x106131['to']-_0x2d7058<=_0x3a65af['ranges'][_0x3a65af['rangeI']]['to'])_0x3a65af['addNode'](_0x106131['tree'],_0x4537eb);else{let _0x55e7a3=new _0x2a3dd6(_0x3a65af['parser']['nodeSet']['types'][_0x244747['Paragraph']],[],[],0x0,_0x3a65af['block']['hashProp']);_0x3a65af['reusePlaceholders']['set'](_0x55e7a3,_0x106131['tree']),_0x3a65af['addNode'](_0x55e7a3,_0x4537eb);}if(_0x106131['type']['is']('Block')&&(NotLast['indexOf'](_0x106131['type']['id'])<0x0?(_0x1596af=_0x106131['to']-_0x2d7058,_0x206849=_0x3a65af['block']['children']['length']):(_0x1596af=_0x3f4f51,_0x206849=_0x597e46,_0x3f4f51=_0x106131['to']-_0x2d7058,_0x597e46=_0x3a65af['block']['children']['length'])),!_0x106131['nextSibling']())break;}for(;_0x3a65af['block']['children']['length']>_0x206849;)_0x3a65af['block']['children']['pop'](),_0x3a65af['block']['positions']['pop']();return _0x1596af-_0x37c5d8;}}function toRelative(_0x35090a,_0x4aa56b){let _0x3fc48c=_0x35090a;for(let _0x45e575=0x1;_0x45e575<_0x4aa56b['length'];_0x45e575++){let _0x40aec0=_0x4aa56b[_0x45e575-0x1]['to'],_0x55c557=_0x4aa56b[_0x45e575]['from'];_0x40aec0<_0x35090a&&(_0x3fc48c-=_0x55c557-_0x40aec0);}return _0x3fc48c;}const markdownHighlighting=styleTags({'Blockquote/...':tags$1['quote'],'HorizontalRule':tags$1['contentSeparator'],'ATXHeading1/...\x20SetextHeading1/...':tags$1['heading1'],'ATXHeading2/...\x20SetextHeading2/...':tags$1['heading2'],'ATXHeading3/...':tags$1['heading3'],'ATXHeading4/...':tags$1['heading4'],'ATXHeading5/...':tags$1['heading5'],'ATXHeading6/...':tags$1['heading6'],'Comment\x20CommentBlock':tags$1['comment'],'Escape':tags$1['escape'],'Entity':tags$1['character'],'Emphasis/...':tags$1['emphasis'],'StrongEmphasis/...':tags$1['strong'],'Link/...\x20Image/...':tags$1['link'],'OrderedList/...\x20BulletList/...':tags$1['list'],'BlockQuote/...':tags$1['quote'],'InlineCode\x20CodeText':tags$1['monospace'],'URL\x20Autolink':tags$1['url'],'HeaderMark\x20HardBreak\x20QuoteMark\x20ListMark\x20LinkMark\x20EmphasisMark\x20CodeMark':tags$1['processingInstruction'],'CodeInfo\x20LinkLabel':tags$1['labelName'],'LinkTitle':tags$1['string'],'Paragraph':tags$1['content']}),_0x338c4b=new _0x373a89(new NodeSet(_0x518fc5)['extend'](markdownHighlighting),Object['keys'](DefaultBlockParsers)['map'](_0x307f31=>DefaultBlockParsers[_0x307f31]),Object['keys'](DefaultBlockParsers)['map'](_0x1125c9=>DefaultLeafBlocks[_0x1125c9]),Object['keys'](DefaultBlockParsers),DefaultEndLeaf,DefaultSkipMarkup,Object['keys'](DefaultInline)['map'](_0x242fdc=>DefaultInline[_0x242fdc]),Object['keys'](DefaultInline),[]);function leftOverSpace(_0x49423b,_0x16c731,_0x3784f2){let _0x3f8b50=[];for(let _0x5d11d3=_0x49423b['firstChild'],_0x5b9ed9=_0x16c731;;_0x5d11d3=_0x5d11d3['nextSibling']){let _0x3e36c6=_0x5d11d3?_0x5d11d3['from']:_0x3784f2;if(_0x3e36c6>_0x5b9ed9&&_0x3f8b50['push']({'from':_0x5b9ed9,'to':_0x3e36c6}),!_0x5d11d3)break;_0x5b9ed9=_0x5d11d3['to'];}return _0x3f8b50;}function _0x589e0b(_0x4bff1b){let {codeParser:_0x2f7855,htmlParser:_0xb5cc19}=_0x4bff1b,_0x1a6c9d=_0x11a58b((_0x17859d,_0xa6585b)=>{let _0x388e0f=_0x17859d['type']['id'];if(!_0x2f7855||_0x388e0f!=_0x244747['CodeBlock']&&_0x388e0f!=_0x244747['FencedCode']){if(_0xb5cc19&&(_0x388e0f==_0x244747['HTMLBlock']||_0x388e0f==_0x244747['HTMLTag']||_0x388e0f==_0x244747['CommentBlock']))return{'parser':_0xb5cc19,'overlay':leftOverSpace(_0x17859d['node'],_0x17859d['from'],_0x17859d['to'])};}else{let _0x240b93='';if(_0x388e0f==_0x244747['FencedCode']){let _0x135bfe=_0x17859d['node']['getChild'](_0x244747['CodeInfo']);_0x135bfe&&(_0x240b93=_0xa6585b['read'](_0x135bfe['from'],_0x135bfe['to']));}let _0x524c00=_0x2f7855(_0x240b93);if(_0x524c00)return{'parser':_0x524c00,'overlay':_0xb6f043=>_0xb6f043['type']['id']==_0x244747['CodeText']};}return null;});return{'wrap':_0x1a6c9d};}const StrikethroughDelim={'resolve':'Strikethrough','mark':'StrikethroughMark'},Strikethrough={'defineNodes':[{'name':'Strikethrough','style':{'Strikethrough/...':tags$1['strikethrough']}},{'name':'StrikethroughMark','style':tags$1['processingInstruction']}],'parseInline':[{'name':'Strikethrough','parse'(_0x4da713,_0x40c262,_0x2e98fa){if(0x7e!=_0x40c262||0x7e!=_0x4da713['char'](_0x2e98fa+0x1)||0x7e==_0x4da713['char'](_0x2e98fa+0x2))return-0x1;let _0xd86707=_0x4da713['slice'](_0x2e98fa-0x1,_0x2e98fa),_0x164ee1=_0x4da713['slice'](_0x2e98fa+0x2,_0x2e98fa+0x3),_0x401d60=/\s|^$/['test'](_0xd86707),_0x51eeda=/\s|^$/['test'](_0x164ee1),_0x15ea50=Punctuation['test'](_0xd86707),_0x11d65b=Punctuation['test'](_0x164ee1);return _0x4da713['addDelimiter'](StrikethroughDelim,_0x2e98fa,_0x2e98fa+0x2,!_0x51eeda&&(!_0x11d65b||_0x401d60||_0x15ea50),!_0x401d60&&(!_0x15ea50||_0x51eeda||_0x11d65b));},'after':'Emphasis'}]};function _0x372c78(_0x348c0c,_0x5ce4e7,_0x34b557=0x0,_0x51ff8b,_0x92c6eb=0x0){let _0x11740d=0x0,_0x4a2e03=!0x0,_0x2a5ee5=-0x1,_0x113c6f=-0x1,_0x217350=!0x1,_0xa7390d=()=>{_0x51ff8b['push'](_0x348c0c['elt']('TableCell',_0x92c6eb+_0x2a5ee5,_0x92c6eb+_0x113c6f,_0x348c0c['parser']['parseInline'](_0x5ce4e7['slice'](_0x2a5ee5,_0x113c6f),_0x92c6eb+_0x2a5ee5)));};for(let _0x24b375=_0x34b557;_0x24b375<_0x5ce4e7['length'];_0x24b375++){let _0x520a43=_0x5ce4e7['charCodeAt'](_0x24b375);0x7c!=_0x520a43||_0x217350?(_0x217350||0x20!=_0x520a43&&0x9!=_0x520a43)&&(_0x2a5ee5<0x0&&(_0x2a5ee5=_0x24b375),_0x113c6f=_0x24b375+0x1):((!_0x4a2e03||_0x2a5ee5>-0x1)&&_0x11740d++,_0x4a2e03=!0x1,_0x51ff8b&&(_0x2a5ee5>-0x1&&_0xa7390d(),_0x51ff8b['push'](_0x348c0c['elt']('TableDelimiter',_0x24b375+_0x92c6eb,_0x24b375+_0x92c6eb+0x1))),_0x2a5ee5=_0x113c6f=-0x1),_0x217350=!_0x217350&&0x5c==_0x520a43;}return _0x2a5ee5>-0x1&&(_0x11740d++,_0x51ff8b&&_0xa7390d()),_0x11740d;}function _0x410bfb(_0x3df84c,_0x4e86a8){for(let _0x41164a=_0x4e86a8;_0x41164a<_0x3df84c['length'];_0x41164a++){let _0x4bea82=_0x3df84c['charCodeAt'](_0x41164a);if(0x7c==_0x4bea82)return!0x0;0x5c==_0x4bea82&&_0x41164a++;}return!0x1;}const delimiterLine=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/;class _0x346510{constructor(){this['rows']=null;}['nextLine'](_0x2f2d56,_0x37ae7e,_0x539670){if(null==this['rows']){let _0x1a81be;if(this['rows']=!0x1,(0x2d==_0x37ae7e['next']||0x3a==_0x37ae7e['next']||0x7c==_0x37ae7e['next'])&&delimiterLine['test'](_0x1a81be=_0x37ae7e['text']['slice'](_0x37ae7e['pos']))){let _0x1ee745=[];_0x372c78(_0x2f2d56,_0x539670['content'],0x0,_0x1ee745,_0x539670['start'])==_0x372c78(_0x2f2d56,_0x1a81be,_0x37ae7e['pos'])&&(this['rows']=[_0x2f2d56['elt']('TableHeader',_0x539670['start'],_0x539670['start']+_0x539670['content']['length'],_0x1ee745),_0x2f2d56['elt']('TableDelimiter',_0x2f2d56['lineStart']+_0x37ae7e['pos'],_0x2f2d56['lineStart']+_0x37ae7e['text']['length'])]);}}else{if(this['rows']){let _0xe0873=[];_0x372c78(_0x2f2d56,_0x37ae7e['text'],_0x37ae7e['pos'],_0xe0873,_0x2f2d56['lineStart']),this['rows']['push'](_0x2f2d56['elt']('TableRow',_0x2f2d56['lineStart']+_0x37ae7e['pos'],_0x2f2d56['lineStart']+_0x37ae7e['text']['length'],_0xe0873));}}return!0x1;}['finish'](_0x2c6d11,_0x380cad){return!!this['rows']&&(_0x2c6d11['addLeafElement'](_0x380cad,_0x2c6d11['elt']('Table',_0x380cad['start'],_0x380cad['start']+_0x380cad['content']['length'],this['rows'])),!0x0);}}const _0x40d190={'defineNodes':[{'name':'Table','block':!0x0},{'name':'TableHeader','style':{'TableHeader/...':tags$1['heading']}},'TableRow',{'name':'TableCell','style':tags$1['content']},{'name':'TableDelimiter','style':tags$1['processingInstruction']}],'parseBlock':[{'name':'Table','leaf':(_0x4015c3,_0x51de96)=>_0x410bfb(_0x51de96['content'],0x0)?new _0x346510():null,'endLeaf'(_0x414fe2,_0x263e1d,_0x353e3a){if(_0x353e3a['parsers']['some'](_0x317e20=>_0x317e20 instanceof _0x346510)||!_0x410bfb(_0x263e1d['text'],_0x263e1d['basePos']))return!0x1;let _0x4f5575=_0x414fe2['peekLine']();return delimiterLine['test'](_0x4f5575)&&_0x372c78(_0x414fe2,_0x263e1d['text'],_0x263e1d['basePos'])==_0x372c78(_0x414fe2,_0x4f5575,_0x263e1d['basePos']);},'before':'SetextHeading'}]};class _0x3f894b{['nextLine'](){return!0x1;}['finish'](_0x332343,_0x3237e5){return _0x332343['addLeafElement'](_0x3237e5,_0x332343['elt']('Task',_0x3237e5['start'],_0x3237e5['start']+_0x3237e5['content']['length'],[_0x332343['elt']('TaskMarker',_0x3237e5['start'],_0x3237e5['start']+0x3),..._0x332343['parser']['parseInline'](_0x3237e5['content']['slice'](0x3),_0x3237e5['start']+0x3)])),!0x0;}}const TaskList={'defineNodes':[{'name':'Task','block':!0x0,'style':tags$1['list']},{'name':'TaskMarker','style':tags$1['atom']}],'parseBlock':[{'name':'TaskList','leaf':(_0x21578d,_0x46c472)=>/^\[[ xX]\][ \t]/['test'](_0x46c472['content'])&&'ListItem'==_0x21578d['parentType']()['name']?new _0x3f894b():null,'after':'SetextHeading'}]},autolinkRE=/(www\.)|(https?:\/\/)|([\w.+-]{1,100}@)|(mailto:|xmpp:)/gy,_0x1aee09=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,lastTwoDomainWords=/[\w-]+\.[\w-]+($|\/)/,_0x378cef=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,_0x5f3e1b=/\/[a-zA-Z\d@.]+/gy;function count(_0x547544,_0x231cd2,_0x28142d,_0x53405d){let _0x218e95=0x0;for(let _0x432760=_0x231cd2;_0x432760<_0x28142d;_0x432760++)_0x547544[_0x432760]==_0x53405d&&_0x218e95++;return _0x218e95;}function autolinkURLEnd(_0x6f9213,_0x24348d){_0x1aee09['lastIndex']=_0x24348d;let _0x32c647=_0x1aee09['exec'](_0x6f9213);if(!_0x32c647||lastTwoDomainWords['exec'](_0x32c647[0x0])[0x0]['indexOf']('_')>-0x1)return-0x1;let _0x387ba2=_0x24348d+_0x32c647[0x0]['length'];for(;;){let _0x293aa5,_0x1d5ae0=_0x6f9213[_0x387ba2-0x1];if(/[?!.,:*_~]/['test'](_0x1d5ae0)||')'==_0x1d5ae0&&count(_0x6f9213,_0x24348d,_0x387ba2,')')>count(_0x6f9213,_0x24348d,_0x387ba2,'('))_0x387ba2--;else{if(';'!=_0x1d5ae0||!(_0x293aa5=/&(?:#\d+|#x[a-f\d]+|\w+);$/['exec'](_0x6f9213['slice'](_0x24348d,_0x387ba2))))break;_0x387ba2=_0x24348d+_0x293aa5['index'];}}return _0x387ba2;}function autolinkEmailEnd(_0x51539a,_0xd3d02f){_0x378cef['lastIndex']=_0xd3d02f;let _0x419147=_0x378cef['exec'](_0x51539a);if(!_0x419147)return-0x1;let _0x527918=_0x419147[0x0][_0x419147[0x0]['length']-0x1];return'_'==_0x527918||'-'==_0x527918?-0x1:_0xd3d02f+_0x419147[0x0]['length']-('.'==_0x527918?0x1:0x0);}const Autolink={'parseInline':[{'name':'Autolink','parse'(_0x54540c,_0x3d1b5b,_0xfb8742){let _0x457d79=_0xfb8742-_0x54540c['offset'];if(_0x457d79&&/\w/['test'](_0x54540c['text'][_0x457d79-0x1]))return-0x1;autolinkRE['lastIndex']=_0x457d79;let _0x243038=autolinkRE['exec'](_0x54540c['text']),_0x4d9590=-0x1;if(!_0x243038)return-0x1;if(_0x243038[0x1]||_0x243038[0x2])(_0x4d9590=autolinkURLEnd(_0x54540c['text'],_0x457d79+_0x243038[0x0]['length']),_0x4d9590>-0x1&&_0x54540c['hasOpenLink'])&&(_0x4d9590=_0x457d79+/([^\[\]]|\[[^\]]*\])*/['exec'](_0x54540c['text']['slice'](_0x457d79,_0x4d9590))[0x0]['length']);else _0x243038[0x3]?_0x4d9590=autolinkEmailEnd(_0x54540c['text'],_0x457d79):(_0x4d9590=autolinkEmailEnd(_0x54540c['text'],_0x457d79+_0x243038[0x0]['length']),_0x4d9590>-0x1&&'xmpp:'==_0x243038[0x0]&&(_0x5f3e1b['lastIndex']=_0x4d9590,_0x243038=_0x5f3e1b['exec'](_0x54540c['text']),_0x243038&&(_0x4d9590=_0x243038['index']+_0x243038[0x0]['length'])));return _0x4d9590<0x0?-0x1:(_0x54540c['addElement'](_0x54540c['elt']('URL',_0xfb8742,_0x4d9590+_0x54540c['offset'])),_0x4d9590+_0x54540c['offset']);}}]},_0x462a25=[_0x40d190,TaskList,Strikethrough,Autolink];function _0x37ff7c(_0x12bfed,_0x48da4b,_0x57bfbc){return(_0x5c7de8,_0x1c097e,_0x481e30)=>{if(_0x1c097e!=_0x12bfed||_0x5c7de8['char'](_0x481e30+0x1)==_0x12bfed)return-0x1;let _0x1f2c0f=[_0x5c7de8['elt'](_0x57bfbc,_0x481e30,_0x481e30+0x1)];for(let _0x191555=_0x481e30+0x1;_0x191555<_0x5c7de8['end'];_0x191555++){let _0x450327=_0x5c7de8['char'](_0x191555);if(_0x450327==_0x12bfed)return _0x5c7de8['addElement'](_0x5c7de8['elt'](_0x48da4b,_0x481e30,_0x191555+0x1,_0x1f2c0f['concat'](_0x5c7de8['elt'](_0x57bfbc,_0x191555,_0x191555+0x1))));if(0x5c==_0x450327&&_0x1f2c0f['push'](_0x5c7de8['elt']('Escape',_0x191555,0x2+_0x191555++)),_0xcee54(_0x450327))break;}return-0x1;};}const Superscript={'defineNodes':[{'name':'Superscript','style':tags$1['special'](tags$1['content'])},{'name':'SuperscriptMark','style':tags$1['processingInstruction']}],'parseInline':[{'name':'Superscript','parse':_0x37ff7c(0x5e,'Superscript','SuperscriptMark')}]},Subscript={'defineNodes':[{'name':'Subscript','style':tags$1['special'](tags$1['content'])},{'name':'SubscriptMark','style':tags$1['processingInstruction']}],'parseInline':[{'name':'Subscript','parse':_0x37ff7c(0x7e,'Subscript','SubscriptMark')}]},_0x2b78b0={'defineNodes':[{'name':'Emoji','style':tags$1['character']}],'parseInline':[{'name':'Emoji','parse'(_0x44f78c,_0x561642,_0x13b21a){let _0x53721b;return 0x3a==_0x561642&&(_0x53721b=/^[a-zA-Z_0-9]+:/['exec'](_0x44f78c['slice'](_0x13b21a+0x1,_0x44f78c['end'])))?_0x44f78c['addElement'](_0x44f78c['elt']('Emoji',_0x13b21a,_0x13b21a+0x1+_0x53721b[0x0]['length'])):-0x1;}}]},data=defineLanguageFacet({'commentTokens':{'block':{'open':'<!--','close':'-->'}}}),_0x40570c=new _0x258b5f(),_0x19830d=_0x338c4b['configure']({'props':[_0x586808['add'](_0x428168=>!_0x428168['is']('Block')||_0x428168['is']('Document')||null!=_0x55e79f(_0x428168)||isList(_0x428168)?void 0x0:(_0x11cea0,_0x82ce97)=>({'from':_0x82ce97['doc']['lineAt'](_0x11cea0['from'])['to'],'to':_0x11cea0['to']})),_0x40570c['add'](_0x55e79f),indentNodeProp['add']({'Document':()=>null}),languageDataProp['add']({'Document':data})]});function _0x55e79f(_0x30f86d){let _0x2ffba3=/^(?:ATX|Setext)Heading(\d)$/['exec'](_0x30f86d['name']);return _0x2ffba3?+_0x2ffba3[0x1]:void 0x0;}function isList(_0x18a395){return'OrderedList'==_0x18a395['name']||'BulletList'==_0x18a395['name'];}function findSectionEnd(_0x7d6641,_0x2f7b28){let _0x4f9f7a=_0x7d6641;for(;;){let _0xabb60f,_0x514482=_0x4f9f7a['nextSibling'];if(!_0x514482||null!=(_0xabb60f=_0x55e79f(_0x514482['type']))&&_0xabb60f<=_0x2f7b28)break;_0x4f9f7a=_0x514482;}return _0x4f9f7a['to'];}const headerIndent=_0x93d3d5['of']((_0x1a1190,_0x1e07fa,_0x33a120)=>{for(let _0x3c797e=syntaxTree(_0x1a1190)['resolveInner'](_0x33a120,-0x1);_0x3c797e&&!(_0x3c797e['from']<_0x1e07fa);_0x3c797e=_0x3c797e['parent']){let _0x5ba9db=_0x3c797e['type']['prop'](_0x40570c);if(null==_0x5ba9db)continue;let _0x355f4b=findSectionEnd(_0x3c797e,_0x5ba9db);if(_0x355f4b>_0x33a120)return{'from':_0x33a120,'to':_0x355f4b};}return null;});function _0x2587d9(_0x12c27b){return new _0x2b9943(data,_0x12c27b,[headerIndent],'markdown');}const _0x54023b=_0x2587d9(_0x19830d),extended=_0x19830d['configure']([_0x462a25,Subscript,Superscript,_0x2b78b0,{'props':[_0x586808['add']({'Table':(_0x4855c8,_0x2a27cf)=>({'from':_0x2a27cf['doc']['lineAt'](_0x4855c8['from'])['to'],'to':_0x4855c8['to']})})]}]),_0x47a9de=_0x2587d9(extended);function getCodeParser(_0x3c6a24,_0x4ae119){return _0x3f35c7=>{if(_0x3f35c7&&_0x3c6a24){let _0x2d500a=null;if(_0x3f35c7=/\S*/['exec'](_0x3f35c7)[0x0],_0x2d500a='function'==typeof _0x3c6a24?_0x3c6a24(_0x3f35c7):LanguageDescription['matchLanguageName'](_0x3c6a24,_0x3f35c7,!0x0),_0x2d500a instanceof LanguageDescription)return _0x2d500a['support']?_0x2d500a['support']['language']['parser']:ParseContext['getSkippingParser'](_0x2d500a['load']());if(_0x2d500a)return _0x2d500a['parser'];}return _0x4ae119?_0x4ae119['parser']:null;};}class Context{constructor(_0x4d73a1,_0x143924,_0x2eeef3,_0x1c12ae,_0x404db3,_0x8ca096,_0x243aba){this['node']=_0x4d73a1,this['from']=_0x143924,this['to']=_0x2eeef3,this['spaceBefore']=_0x1c12ae,this['spaceAfter']=_0x404db3,this['type']=_0x8ca096,this['item']=_0x243aba;}['blank'](_0x398e76,_0x41862c=!0x0){let _0x11ae04=this['spaceBefore']+('Blockquote'==this['node']['name']?'>':'');if(null!=_0x398e76){for(;_0x11ae04['length']<_0x398e76;)_0x11ae04+='\x20';return _0x11ae04;}for(let _0x12274a=this['to']-this['from']-_0x11ae04['length']-this['spaceAfter']['length'];_0x12274a>0x0;_0x12274a--)_0x11ae04+='\x20';return _0x11ae04+(_0x41862c?this['spaceAfter']:'');}['marker'](_0x5446fd,_0x436c80){let _0xa1c166='OrderedList'==this['node']['name']?String(+itemNumber(this['item'],_0x5446fd)[0x2]+_0x436c80):'';return this['spaceBefore']+_0xa1c166+this['type']+this['spaceAfter'];}}function getContext(_0x346fb2,_0x34453b){let _0x4ad737=[],_0x468300=[];for(let _0x2dd048=_0x346fb2;_0x2dd048;_0x2dd048=_0x2dd048['parent']){if('FencedCode'==_0x2dd048['name'])return _0x468300;'ListItem'!=_0x2dd048['name']&&'Blockquote'!=_0x2dd048['name']||_0x4ad737['push'](_0x2dd048);}for(let _0x2144ed=_0x4ad737['length']-0x1;_0x2144ed>=0x0;_0x2144ed--){let _0xc9e848,_0x4b46ba=_0x4ad737[_0x2144ed],_0x2e359a=_0x34453b['lineAt'](_0x4b46ba['from']),_0xd451d8=_0x4b46ba['from']-_0x2e359a['from'];if('Blockquote'==_0x4b46ba['name']&&(_0xc9e848=/^ *>( ?)/['exec'](_0x2e359a['text']['slice'](_0xd451d8))))_0x468300['push'](new Context(_0x4b46ba,_0xd451d8,_0xd451d8+_0xc9e848[0x0]['length'],'',_0xc9e848[0x1],'>',null));else{if('ListItem'==_0x4b46ba['name']&&'OrderedList'==_0x4b46ba['parent']['name']&&(_0xc9e848=/^( *)\d+([.)])( *)/['exec'](_0x2e359a['text']['slice'](_0xd451d8)))){let _0x42ca10=_0xc9e848[0x3],_0x32180b=_0xc9e848[0x0]['length'];_0x42ca10['length']>=0x4&&(_0x42ca10=_0x42ca10['slice'](0x0,_0x42ca10['length']-0x4),_0x32180b-=0x4),_0x468300['push'](new Context(_0x4b46ba['parent'],_0xd451d8,_0xd451d8+_0x32180b,_0xc9e848[0x1],_0x42ca10,_0xc9e848[0x2],_0x4b46ba));}else{if('ListItem'==_0x4b46ba['name']&&'BulletList'==_0x4b46ba['parent']['name']&&(_0xc9e848=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/['exec'](_0x2e359a['text']['slice'](_0xd451d8)))){let _0x5e9e55=_0xc9e848[0x4],_0x20addc=_0xc9e848[0x0]['length'];_0x5e9e55['length']>0x4&&(_0x5e9e55=_0x5e9e55['slice'](0x0,_0x5e9e55['length']-0x4),_0x20addc-=0x4);let _0x11b899=_0xc9e848[0x2];_0xc9e848[0x3]&&(_0x11b899+=_0xc9e848[0x3]['replace'](/[xX]/,'\x20')),_0x468300['push'](new Context(_0x4b46ba['parent'],_0xd451d8,_0xd451d8+_0x20addc,_0xc9e848[0x1],_0x5e9e55,_0x11b899,_0x4b46ba));}}}}return _0x468300;}function itemNumber(_0x1e7141,_0x16a397){return/^(\s*)(\d+)(?=[.)])/['exec'](_0x16a397['sliceString'](_0x1e7141['from'],_0x1e7141['from']+0xa));}function renumberList(_0x76fef2,_0x4066b9,_0x27e869,_0xacc5ef=0x0){for(let _0x375669=-0x1,_0x17d487=_0x76fef2;;){if('ListItem'==_0x17d487['name']){let _0x412fca=itemNumber(_0x17d487,_0x4066b9),_0x23176a=+_0x412fca[0x2];if(_0x375669>=0x0){if(_0x23176a!=_0x375669+0x1)return;_0x27e869['push']({'from':_0x17d487['from']+_0x412fca[0x1]['length'],'to':_0x17d487['from']+_0x412fca[0x0]['length'],'insert':String(_0x375669+0x2+_0xacc5ef)});}_0x375669=_0x23176a;}let _0x32c448=_0x17d487['nextSibling'];if(!_0x32c448)break;_0x17d487=_0x32c448;}}function normalizeIndent(_0x36c16f,_0x19dad3){let _0x4d309d=/^[ \t]*/['exec'](_0x36c16f)[0x0]['length'];if(!_0x4d309d||'\x09'!=_0x19dad3['facet'](indentUnit))return _0x36c16f;let _0x5526aa='';for(let _0x988d02=countColumn(_0x36c16f,0x4,_0x4d309d);_0x988d02>0x0;)_0x988d02>=0x4?(_0x5526aa+='\x09',_0x988d02-=0x4):(_0x5526aa+='\x20',_0x988d02--);return _0x5526aa+_0x36c16f['slice'](_0x4d309d);}const insertNewlineContinueMarkup=({state:_0x1f85a1,dispatch:_0x5b7055})=>{let _0x450203=syntaxTree(_0x1f85a1),{doc:_0x3d1e97}=_0x1f85a1,_0x1fd05a=null,_0x5dc0e3=_0x1f85a1['changeByRange'](_0x5957f6=>{if(!_0x5957f6['empty']||!_0x47a9de['isActiveAt'](_0x1f85a1,_0x5957f6['from'],0x0))return _0x1fd05a={'range':_0x5957f6};let _0x203f19=_0x5957f6['from'],_0x444e60=_0x3d1e97['lineAt'](_0x203f19),_0x19455d=getContext(_0x450203['resolveInner'](_0x203f19,-0x1),_0x3d1e97);for(;_0x19455d['length']&&_0x19455d[_0x19455d['length']-0x1]['from']>_0x203f19-_0x444e60['from'];)_0x19455d['pop']();if(!_0x19455d['length'])return _0x1fd05a={'range':_0x5957f6};let _0x8e0094=_0x19455d[_0x19455d['length']-0x1];if(_0x8e0094['to']-_0x8e0094['spaceAfter']['length']>_0x203f19-_0x444e60['from'])return _0x1fd05a={'range':_0x5957f6};let _0x5cb03c=_0x203f19>=_0x8e0094['to']-_0x8e0094['spaceAfter']['length']&&!/\S/['test'](_0x444e60['text']['slice'](_0x8e0094['to']));if(_0x8e0094['item']&&_0x5cb03c){let _0x5635d5=_0x8e0094['node']['firstChild'],_0x3b3839=_0x8e0094['node']['getChild']('ListItem','ListItem');if(_0x5635d5['to']>=_0x203f19||_0x3b3839&&_0x3b3839['to']<_0x203f19||_0x444e60['from']>0x0&&!/[^\s>]/['test'](_0x3d1e97['lineAt'](_0x444e60['from']-0x1)['text'])){let _0x6fbeb9,_0x113d74=_0x19455d['length']>0x1?_0x19455d[_0x19455d['length']-0x2]:null,_0x15efba='';_0x113d74&&_0x113d74['item']?(_0x6fbeb9=_0x444e60['from']+_0x113d74['from'],_0x15efba=_0x113d74['marker'](_0x3d1e97,0x1)):_0x6fbeb9=_0x444e60['from']+(_0x113d74?_0x113d74['to']:0x0);let _0x294a57=[{'from':_0x6fbeb9,'to':_0x203f19,'insert':_0x15efba}];return'OrderedList'==_0x8e0094['node']['name']&&renumberList(_0x8e0094['item'],_0x3d1e97,_0x294a57,-0x2),_0x113d74&&'OrderedList'==_0x113d74['node']['name']&&renumberList(_0x113d74['item'],_0x3d1e97,_0x294a57),{'range':EditorSelection['cursor'](_0x6fbeb9+_0x15efba['length']),'changes':_0x294a57};}{let _0x142b9c=_0x9ed850(_0x19455d,_0x1f85a1,_0x444e60);return{'range':EditorSelection['cursor'](_0x203f19+_0x142b9c['length']+0x1),'changes':{'from':_0x444e60['from'],'insert':_0x142b9c+_0x1f85a1['lineBreak']}};}}if('Blockquote'==_0x8e0094['node']['name']&&_0x5cb03c&&_0x444e60['from']){let _0x36792c=_0x3d1e97['lineAt'](_0x444e60['from']-0x1),_0x3c2e91=/>\s*$/['exec'](_0x36792c['text']);if(_0x3c2e91&&_0x3c2e91['index']==_0x8e0094['from']){let _0xc7a17b=_0x1f85a1['changes']([{'from':_0x36792c['from']+_0x3c2e91['index'],'to':_0x36792c['to']},{'from':_0x444e60['from']+_0x8e0094['from'],'to':_0x444e60['to']}]);return{'range':_0x5957f6['map'](_0xc7a17b),'changes':_0xc7a17b};}}let _0x515bdd=[];'OrderedList'==_0x8e0094['node']['name']&&renumberList(_0x8e0094['item'],_0x3d1e97,_0x515bdd);let _0x1df93e=_0x8e0094['item']&&_0x8e0094['item']['from']<_0x444e60['from'],_0x452fa3='';if(!_0x1df93e||/^[\s\d.)\-+*>]*/['exec'](_0x444e60['text'])[0x0]['length']>=_0x8e0094['to']){for(let _0x14b2ea=0x0,_0x1926e4=_0x19455d['length']-0x1;_0x14b2ea<=_0x1926e4;_0x14b2ea++)_0x452fa3+=_0x14b2ea!=_0x1926e4||_0x1df93e?_0x19455d[_0x14b2ea]['blank'](_0x14b2ea<_0x1926e4?countColumn(_0x444e60['text'],0x4,_0x19455d[_0x14b2ea+0x1]['from'])-_0x452fa3['length']:null):_0x19455d[_0x14b2ea]['marker'](_0x3d1e97,0x1);}let _0xa9e966=_0x203f19;for(;_0xa9e966>_0x444e60['from']&&/\s/['test'](_0x444e60['text']['charAt'](_0xa9e966-_0x444e60['from']-0x1));)_0xa9e966--;return _0x452fa3=normalizeIndent(_0x452fa3,_0x1f85a1),nonTightList(_0x8e0094['node'],_0x1f85a1['doc'])&&(_0x452fa3=_0x9ed850(_0x19455d,_0x1f85a1,_0x444e60)+_0x1f85a1['lineBreak']+_0x452fa3),_0x515bdd['push']({'from':_0xa9e966,'to':_0x203f19,'insert':_0x1f85a1['lineBreak']+_0x452fa3}),{'range':EditorSelection['cursor'](_0xa9e966+_0x452fa3['length']+0x1),'changes':_0x515bdd};});return!_0x1fd05a&&(_0x5b7055(_0x1f85a1['update'](_0x5dc0e3,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0);};function _0x55f573(_0x46fa45){return'QuoteMark'==_0x46fa45['name']||'ListMark'==_0x46fa45['name'];}function nonTightList(_0x1c5675,_0x4357b7){if('OrderedList'!=_0x1c5675['name']&&'BulletList'!=_0x1c5675['name'])return!0x1;let _0x550008=_0x1c5675['firstChild'],_0xcc8e1b=_0x1c5675['getChild']('ListItem','ListItem');if(!_0xcc8e1b)return!0x1;let _0x142133=_0x4357b7['lineAt'](_0x550008['to']),_0x226ead=_0x4357b7['lineAt'](_0xcc8e1b['from']),_0x45860e=/^[\s>]*$/['test'](_0x142133['text']);return _0x142133['number']+(_0x45860e?0x0:0x1)<_0x226ead['number'];}function _0x9ed850(_0x182d36,_0xf2a318,_0x3e515a){let _0x2cfb16='';for(let _0x12b150=0x0,_0xdd212=_0x182d36['length']-0x2;_0x12b150<=_0xdd212;_0x12b150++)_0x2cfb16+=_0x182d36[_0x12b150]['blank'](_0x12b150<_0xdd212?countColumn(_0x3e515a['text'],0x4,Math['min'](_0x3e515a['text']['length'],_0x182d36[_0x12b150+0x1]['from']))-_0x2cfb16['length']:null,_0x12b150<_0xdd212);return normalizeIndent(_0x2cfb16,_0xf2a318);}function contextNodeForDelete(_0x3dd91e,_0x267566){let _0x3ed4a6=_0x3dd91e['resolveInner'](_0x267566,-0x1),_0x52507c=_0x267566;_0x55f573(_0x3ed4a6)&&(_0x52507c=_0x3ed4a6['from'],_0x3ed4a6=_0x3ed4a6['parent']);for(let _0x563c96;_0x563c96=_0x3ed4a6['childBefore'](_0x52507c);)if(_0x55f573(_0x563c96))_0x52507c=_0x563c96['from'];else{if('OrderedList'!=_0x563c96['name']&&'BulletList'!=_0x563c96['name'])break;_0x3ed4a6=_0x563c96['lastChild'],_0x52507c=_0x3ed4a6['to'];}return _0x3ed4a6;}const deleteMarkupBackward=({state:_0x8e4924,dispatch:_0x541976})=>{let _0x363f28=syntaxTree(_0x8e4924),_0x2d3510=null,_0x53951c=_0x8e4924['changeByRange'](_0x47b75a=>{let _0x3b3d74=_0x47b75a['from'],{doc:_0x45ca11}=_0x8e4924;if(_0x47b75a['empty']&&_0x47a9de['isActiveAt'](_0x8e4924,_0x47b75a['from'])){let _0x5acc62=_0x45ca11['lineAt'](_0x3b3d74),_0x47512a=getContext(contextNodeForDelete(_0x363f28,_0x3b3d74),_0x45ca11);if(_0x47512a['length']){let _0x378c76=_0x47512a[_0x47512a['length']-0x1],_0xd732af=_0x378c76['to']-_0x378c76['spaceAfter']['length']+(_0x378c76['spaceAfter']?0x1:0x0);if(_0x3b3d74-_0x5acc62['from']>_0xd732af&&!/\S/['test'](_0x5acc62['text']['slice'](_0xd732af,_0x3b3d74-_0x5acc62['from'])))return{'range':EditorSelection['cursor'](_0x5acc62['from']+_0xd732af),'changes':{'from':_0x5acc62['from']+_0xd732af,'to':_0x3b3d74}};if(_0x3b3d74-_0x5acc62['from']==_0xd732af&&(!_0x378c76['item']||_0x5acc62['from']<=_0x378c76['item']['from']||!/\S/['test'](_0x5acc62['text']['slice'](0x0,_0x378c76['to'])))){let _0x41a3ec=_0x5acc62['from']+_0x378c76['from'];if(_0x378c76['item']&&_0x378c76['node']['from']<_0x378c76['item']['from']&&/\S/['test'](_0x5acc62['text']['slice'](_0x378c76['from'],_0x378c76['to']))){let _0x522208=_0x378c76['blank'](countColumn(_0x5acc62['text'],0x4,_0x378c76['to'])-countColumn(_0x5acc62['text'],0x4,_0x378c76['from']));return _0x41a3ec==_0x5acc62['from']&&(_0x522208=normalizeIndent(_0x522208,_0x8e4924)),{'range':EditorSelection['cursor'](_0x41a3ec+_0x522208['length']),'changes':{'from':_0x41a3ec,'to':_0x5acc62['from']+_0x378c76['to'],'insert':_0x522208}};}if(_0x41a3ec<_0x3b3d74)return{'range':EditorSelection['cursor'](_0x41a3ec),'changes':{'from':_0x41a3ec,'to':_0x3b3d74}};}}}return _0x2d3510={'range':_0x47b75a};});return!_0x2d3510&&(_0x541976(_0x8e4924['update'](_0x53951c,{'scrollIntoView':!0x0,'userEvent':'delete'})),!0x0);},_0x564ae5=[{'key':'Enter','run':insertNewlineContinueMarkup},{'key':'Backspace','run':deleteMarkupBackward}],htmlNoMatch=html({'matchClosingTags':!0x1});function _0x24adee(_0x20a815={}){let {codeLanguages:_0x184f5e,defaultCodeLanguage:_0x54ddd9,addKeymap:_0x3ac979=!0x0,base:{parser:_0x464ea4}=_0x54023b,completeHTMLTags:_0x5eda8c=!0x0,htmlTagLanguage:_0xeb5a17=htmlNoMatch}=_0x20a815;if(!(_0x464ea4 instanceof _0x373a89))throw new RangeError('Base\x20parser\x20provided\x20to\x20`markdown`\x20should\x20be\x20a\x20Markdown\x20parser');let _0x384b7,_0x2a3a8a=_0x20a815['extensions']?[_0x20a815['extensions']]:[],_0x231d6f=[_0xeb5a17['support']];_0x54ddd9 instanceof LanguageSupport?(_0x231d6f['push'](_0x54ddd9['support']),_0x384b7=_0x54ddd9['language']):_0x54ddd9&&(_0x384b7=_0x54ddd9);let _0x434fa7=_0x184f5e||_0x384b7?getCodeParser(_0x184f5e,_0x384b7):void 0x0;_0x2a3a8a['push'](_0x589e0b({'codeParser':_0x434fa7,'htmlParser':_0xeb5a17['language']['parser']})),_0x3ac979&&_0x231d6f['push'](_0x330a03['high'](_0x2e8851['of'](_0x564ae5)));let _0x3ec401=_0x2587d9(_0x464ea4['configure'](_0x2a3a8a));return _0x5eda8c&&_0x231d6f['push'](_0x3ec401['data']['of']({'autocomplete':htmlTagCompletion})),new LanguageSupport(_0x3ec401,_0x231d6f);}function htmlTagCompletion(_0x4bb317){let {state:_0x414592,pos:_0x46985b}=_0x4bb317,_0x52fe91=/<[:\-\.\w\u00b7-\uffff]*$/['exec'](_0x414592['sliceDoc'](_0x46985b-0x19,_0x46985b));if(!_0x52fe91)return null;let _0x5eb30d=syntaxTree(_0x414592)['resolveInner'](_0x46985b,-0x1);for(;_0x5eb30d&&!_0x5eb30d['type']['isTop'];){if('CodeBlock'==_0x5eb30d['name']||'FencedCode'==_0x5eb30d['name']||'ProcessingInstructionBlock'==_0x5eb30d['name']||'CommentBlock'==_0x5eb30d['name']||'Link'==_0x5eb30d['name']||'Image'==_0x5eb30d['name'])return null;_0x5eb30d=_0x5eb30d['parent'];}return{'from':_0x46985b-_0x52fe91[0x0]['length'],'to':_0x46985b,'options':htmlTagCompletions(),'validFor':/^<[:\-\.\w\u00b7-\uffff]*$/};}let _tagCompletions=null;function htmlTagCompletions(){if(_tagCompletions)return _tagCompletions;let _0x114e3a=htmlCompletionSource(new CompletionContext(EditorState['create']({'extensions':htmlNoMatch}),0x0,!0x0));return _tagCompletions=_0x114e3a?_0x114e3a['options']:[];}const _0x293ea2='#e5c07b',_0x1253ca='#e06c75',_0x24f65d='#56b6c2',_0x19d475='#ffffff',_0x590b8e='#abb2bf',stone='#7d8799',_0x457c49='#61afef',_0x1e2092='#98c379',_0x155ce0='#d19a66',violet='#c678dd',_0x26a300='#21252b',highlightBackground='#2c313a',_0x542c85='#282c34',tooltipBackground='#353a42',selection='#3E4451',_0x20070a='#528bff',_0xd30f57=EditorView['theme']({'&':{'color':_0x590b8e,'backgroundColor':_0x542c85},'.cm-content':{'caretColor':_0x20070a},'.cm-cursor,\x20.cm-dropCursor':{'borderLeftColor':_0x20070a},'&.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-selectionLayer\x20.cm-selectionBackground,\x20.cm-selectionBackground,\x20.cm-content\x20::selection':{'backgroundColor':selection},'.cm-panels':{'backgroundColor':_0x26a300,'color':_0x590b8e},'.cm-panels.cm-panels-top':{'borderBottom':'2px\x20solid\x20black'},'.cm-panels.cm-panels-bottom':{'borderTop':'2px\x20solid\x20black'},'.cm-searchMatch':{'backgroundColor':'#72a1ff59','outline':'1px\x20solid\x20#457dff'},'.cm-searchMatch.cm-searchMatch-selected':{'backgroundColor':'#6199ff2f'},'.cm-activeLine':{'backgroundColor':'#6699ff0b'},'.cm-selectionMatch':{'backgroundColor':'#aafe661a'},'&.cm-focused\x20.cm-matchingBracket,\x20&.cm-focused\x20.cm-nonmatchingBracket':{'backgroundColor':'#bad0f847'},'.cm-gutters':{'backgroundColor':_0x542c85,'color':stone,'border':'none'},'.cm-activeLineGutter':{'backgroundColor':highlightBackground},'.cm-foldPlaceholder':{'backgroundColor':'transparent','border':'none','color':'#ddd'},'.cm-tooltip':{'border':'none','backgroundColor':tooltipBackground},'.cm-tooltip\x20.cm-tooltip-arrow:before':{'borderTopColor':'transparent','borderBottomColor':'transparent'},'.cm-tooltip\x20.cm-tooltip-arrow:after':{'borderTopColor':tooltipBackground,'borderBottomColor':tooltipBackground},'.cm-tooltip-autocomplete':{'&\x20>\x20ul\x20>\x20li[aria-selected]':{'backgroundColor':highlightBackground,'color':_0x590b8e}}},{'dark':!0x0}),oneDarkHighlightStyle=HighlightStyle['define']([{'tag':tags$1['keyword'],'color':violet},{'tag':[tags$1['name'],tags$1['deleted'],tags$1['character'],tags$1['propertyName'],tags$1['macroName']],'color':_0x1253ca},{'tag':[tags$1['function'](tags$1['variableName']),tags$1['labelName']],'color':_0x457c49},{'tag':[tags$1['color'],tags$1['constant'](tags$1['name']),tags$1['standard'](tags$1['name'])],'color':_0x155ce0},{'tag':[tags$1['definition'](tags$1['name']),tags$1['separator']],'color':_0x590b8e},{'tag':[tags$1['typeName'],tags$1['className'],tags$1['number'],tags$1['changed'],tags$1['annotation'],tags$1['modifier'],tags$1['self'],tags$1['namespace']],'color':_0x293ea2},{'tag':[tags$1['operator'],tags$1['operatorKeyword'],tags$1['url'],tags$1['escape'],tags$1['regexp'],tags$1['link'],tags$1['special'](tags$1['string'])],'color':_0x24f65d},{'tag':[tags$1['meta'],tags$1['comment']],'color':stone},{'tag':tags$1['strong'],'fontWeight':'bold'},{'tag':tags$1['emphasis'],'fontStyle':'italic'},{'tag':tags$1['strikethrough'],'textDecoration':'line-through'},{'tag':tags$1['link'],'color':stone,'textDecoration':'underline'},{'tag':tags$1['heading'],'fontWeight':'bold','color':_0x1253ca},{'tag':[tags$1['atom'],tags$1['bool'],tags$1['special'](tags$1['variableName'])],'color':_0x155ce0},{'tag':[tags$1['processingInstruction'],tags$1['string'],tags$1['inserted']],'color':_0x1e2092},{'tag':tags$1['invalid'],'color':_0x19d475}]),_0x1449e3=[_0xd30f57,syntaxHighlighting(oneDarkHighlightStyle)];function createCodeMirrorEditor(_0x2768ec){const _0x28fd82=getDefaultExtensions(),_0x4dfae8=new Compartment();_0x28fd82['push'](_0x4dfae8['of'](EditorView['editable']['of'](!0x0))),'html'===_0x2768ec['syntaxLanguage']?_0x28fd82['push'](html()):_0x28fd82['push'](_0x24adee());const _0x296f7e=_0x2d9405(_0x2768ec['theme']);_0x296f7e&&_0x28fd82['push'](_0x296f7e),_0x28fd82['push'](...getKeybindings());const _0x2bcca8=new EditorView({'extensions':_0x28fd82,'parent':_0x2768ec['parent']});return toggleTabFocusMode(_0x2bcca8),{'focus':()=>{_0x2bcca8['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x2bcca8['focus']();},'getData':()=>_0x2bcca8['state']['doc']['toString'](),'setData':_0x24f8a9=>{_0x2bcca8['dispatch']({'changes':{'from':0x0,'to':_0x2bcca8['state']['doc']['length'],'insert':_0x24f8a9},'annotations':Transaction['addToHistory']['of'](!0x1)});},'setReadOnly':_0x22be18=>{_0x2bcca8['dispatch']({'effects':[_0x4dfae8['reconfigure'](EditorView['editable']['of'](!_0x22be18))]});},'destroy':()=>{_0x2bcca8['destroy']();},'instance':_0x2bcca8};}function _0x2d9405(_0x3f994c){return _0x3f994c&&'default'!==_0x3f994c?'dark'===_0x3f994c?_0x1449e3:_0x3f994c:null;}function getKeybindings(){return[_0x2e8851['of']([...closeBracketsKeymap,...defaultKeymap,...historyKeymap,..._0x8f5b74,...completionKeymap,{'key':'Tab','run':indentMore,'shift':indentLess,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x421920,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x421920,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x5cfc20,'preventDefault':!0x0,'stopPropagation':!0x0}])];}function getDefaultExtensions(){return[EditorView['lineWrapping'],autocompletion(),bracketMatching(),closeBrackets(),_0x2b8518(),drawSelection(),_0x290371(),_0x389a91(),foldGutter(),highlightActiveLine(),highlightActiveLineGutter(),highlightSpecialChars(),history(),indentOnInput(),rectangularSelection(),syntaxHighlighting(defaultHighlightStyle,{'fallback':!0x0})];}class CodeEditorView extends ckeditor5['View']{['_codeEditorApi']=null;['_options'];constructor(_0x32b59c,_0xd4cb31){super(_0x32b59c),this['_options']=_0xd4cb31,this['set']('isReadOnly',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-code-editor'],'tabindex':-0x1}});}['render'](){super['render'](),this['_codeEditorApi']=createCodeMirrorEditor({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x159878,_0x12694d,_0x2995a7)=>{this['setReadOnly'](_0x2995a7);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x2a912d){this['_codeEditorApi']['setData'](_0x2a912d);}['setReadOnly'](_0x216410){this['_codeEditorApi']['setReadOnly'](_0x216410);}}const _0x568c4c='SourceEditingEnhancedMode';class EditSourceCommand extends ckeditor5['Command']{constructor(_0x185a44){super(_0x185a44),this['affectsData']=!0x1,this['editor']['plugins']['get'](ckeditor5['PendingActions'])['on']('change:hasAny',(_0x355028,_0xc950b7,_0x5d80bc)=>{_0x5d80bc?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0xd32d33=this['editor'];for(const _0x3d6deb of _0xd32d33['commands']['names']())['replaceSource','editSource']['includes'](_0x3d6deb)||_0xd32d33['commands']['get'](_0x3d6deb)['forceDisabled'](_0x568c4c);}['_enableCommands'](){const _0x2cbd89=this['editor'];for(const _0x1bf736 of _0x2cbd89['commands']['commands']())_0x1bf736['clearForceDisabled'](_0x568c4c);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x77e05b=this['editor'],_0x3dfc7b=_0x77e05b['locale'],_0x412401=_0x77e05b['plugins']['get']('Dialog'),_0x23cf5a=getActiveRootName(_0x77e05b),_0x5cd0f7=formatSource(_0x77e05b['data']['get']({'rootName':_0x23cf5a})),_0x34b55f=new CodeEditorView(_0x3dfc7b,{'syntaxLanguage':_0x77e05b['plugins']['has']('Markdown')?'markdown':'html','theme':_0x77e05b['config']['get']('sourceEditingEnhanced.theme')});let _0xff4e7c=!0x0;const _0x1a3c99=_0x40e724=>{if(!_0xff4e7c)return;return unformatSource(_0x34b55f['getData']())!==unformatSource(_0x5cd0f7)?window['confirm'](getTranslation$3(_0x3dfc7b,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x40e724['stop']():void 0x0;};_0x412401['show']({'id':'sourceEditingEnhanced','title':getTranslation$3(_0x3dfc7b,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x34b55f,'actionButtons':[{'label':getTranslation$3(_0x3dfc7b,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x412401['hide']();}},{'label':getTranslation$3(_0x3dfc7b,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x1049d4=unformatSource(_0x34b55f['getData']())!==unformatSource(_0x5cd0f7);(_0x1049d4&&_0x77e05b['execute']('replaceSource',_0x34b55f['getData']()),_0xff4e7c=!0x1,_0x412401['hide'](),_0x1049d4&&'editables'in _0x77e05b['ui']['view'])&&_0x77e05b['ui']['view']['editables'][_0x23cf5a]['element']['focus']();},'onCreate':_0x2efa27=>{_0x2efa27['set']('isEnabled',!_0x77e05b['isReadOnly']),_0x2efa27['bind']('isEnabled')['to'](_0x77e05b,'isReadOnly',this,'isEnabled',(_0x54dc36,_0x501a68)=>!_0x54dc36&&_0x501a68);}}],'onHide':()=>{this['_enableCommands'](),_0x412401['off']('hide',_0x1a3c99),_0x34b55f['destroy']();},'onShow':()=>{_0x34b55f['bind']('isReadOnly')['to'](_0x77e05b,'isReadOnly',this,'isEnabled',(_0x1a313d,_0x19a13e)=>_0x1a313d||!_0x19a13e),_0x34b55f['setData'](_0x5cd0f7),_0x34b55f['focus'](),_0x412401['on']('hide',_0x1a3c99,{'priority':'highest'}),this['_disableCommands']();}});}}class SourceEditingEnhancedUI extends ckeditor5['Plugin']{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[ckeditor5['PendingActions']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2f17b1=this['editor'],_0x3bd918=_0x2f17b1['locale'],_0x56ee53=new EditSourceCommand(_0x2f17b1);_0x2f17b1['commands']['add']('editSource',_0x56ee53),_0x2f17b1['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0xae1404=this['_createButton'](ckeditor5['ButtonView'],_0x56ee53);return _0xae1404['set']({'label':getTranslation$3(_0x3bd918,'Source'),'icon':ckeditor5['IconSource'],'tooltip':getTranslation$3(_0x3bd918,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0xae1404;}),_0x2f17b1['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x1e1c89=this['_createButton'](ckeditor5['MenuBarMenuListItemButtonView'],_0x56ee53,!0x0);return _0x1e1c89['set']({'label':getTranslation$3(_0x3bd918,'Edit\x20source\x20modal\x20label'),'icon':ckeditor5['IconSource'],'role':'menuitemcheckbox'}),_0x1e1c89;}),this['_registerKeybindings']();}['afterInit'](){_0x339d20(this);}['_createButton'](_0x377744,_0x16821e,_0x642f82=!0x1){const _0x57598b=new _0x377744(this['editor']['locale']);return _0x57598b['set']({'withText':_0x642f82,'isToggleable':!0x1}),_0x57598b['bind']('isEnabled')['to'](_0x16821e,'isEnabled'),this['listenTo'](_0x57598b,'execute',()=>_0x16821e['execute']()),_0x57598b;}['_registerKeybindings'](){const _0x1a33b2=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':getTranslation$3(_0x1a33b2,'Source\x20Editing\x20Enhanced')});const _0x313185=ckeditor5['env']['isMac']||ckeditor5['env']['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':getTranslation$3(_0x1a33b2,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':getTranslation$3(_0x1a33b2,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':getTranslation$3(_0x1a33b2,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':getTranslation$3(_0x1a33b2,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':getTranslation$3(_0x1a33b2,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':getTranslation$3(_0x1a33b2,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':getTranslation$3(_0x1a33b2,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x313185?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':getTranslation$3(_0x1a33b2,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':getTranslation$3(_0x1a33b2,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':getTranslation$3(_0x1a33b2,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':getTranslation$3(_0x1a33b2,'Select\x20line'),'keystroke':_0x313185?'Ctrl!+L':'Alt+L'},{'label':getTranslation$3(_0x1a33b2,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x313185?'Alt+Shift+M':'Ctrl+M'},{'label':getTranslation$3(_0x1a33b2,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':getTranslation$3(_0x1a33b2,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':getTranslation$3(_0x1a33b2,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':getTranslation$3(_0x1a33b2,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':getTranslation$3(_0x1a33b2,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x313185?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}async function _0x339d20(_0x5a61a2){const _0x24cdfc=_0x368b23([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x289ea1=window[_0x368b23([0x44,0x61,0x74,0x65])][_0x368b23([0x6e,0x6f,0x77])](),_0x52c19c=_0x5a61a2[_0x368b23([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x10ac78=new window[(_0x368b23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42de70=>{_0x52c19c[_0x368b23([0x6f,0x6e,0x63,0x65])](_0x368b23([0x72,0x65,0x61,0x64,0x79]),_0x42de70);}),_0x4bd31d={[_0x368b23([0x6b,0x74,0x79])]:_0x368b23([0x45,0x43]),[_0x368b23([0x75,0x73,0x65])]:_0x368b23([0x73,0x69,0x67]),[_0x368b23([0x63,0x72,0x76])]:_0x368b23([0x50,0x2d,0x32,0x35,0x36]),[_0x368b23([0x78])]:_0x368b23([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x368b23([0x79])]:_0x368b23([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x368b23([0x61,0x6c,0x67])]:_0x368b23([0x45,0x53,0x32,0x35,0x36])},_0x2ca1c7=_0x52c19c[_0x368b23([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x368b23([0x67,0x65,0x74])](_0x368b23([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x30ded6=await(async function(){let _0x4d68fa,_0x351c4e=null,_0x5a842b=null;try{if(_0x2ca1c7==_0x368b23([0x47,0x50,0x4c]))return _0x368b23([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4d68fa=(function(){const _0x1b77ec=_0x2ca1c7[_0x368b23([0x73,0x70,0x6c,0x69,0x74])](_0x368b23([0x2e]));if(0x3!=_0x1b77ec[_0x368b23([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x44e8ea=_0x1b77ec[0x1];return _0x217fdf(_0x44e8ea);function _0x217fdf(_0x284dae){const _0x53511c=_0x4f7aa4(_0x284dae);return _0x53511c&&_0x3c76fc()?_0x53511c:null;function _0x3c76fc(){const _0x1c5f30=_0x53511c[_0x368b23([0x6a,0x74,0x69])],_0x5694e9=window[_0x368b23([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c5f30[_0x368b23([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1c5f30[_0x368b23([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x539da5={..._0x53511c,[_0x368b23([0x6a,0x74,0x69])]:_0x1c5f30[_0x368b23([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1c5f30[_0x368b23([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x539da5[_0x368b23([0x76,0x63])],_0xc2798a(_0x539da5)==_0x5694e9;}}}()),!_0x4d68fa)return _0x368b23([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x4d68fa[_0x368b23([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5a842b=function(_0x59c134,_0x42d6d3){return new window[(_0x368b23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x270a83=>{if(_0x257c05())return _0x270a83(_0x368b23([0x56,0x61,0x6c,0x69,0x64]));_0x2648d7(),_0x52c19c[_0x368b23([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x368b23([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1c2c18=!0x1;const _0x381a07=ckeditor5['uid']();function _0x30eeed(_0x361798){return!!_0x361798&&(typeof _0x361798===_0x368b23([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x361798===_0x368b23([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x361798[_0x368b23([0x74,0x68,0x65,0x6e])]===_0x368b23([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x361798[_0x368b23([0x63,0x61,0x74,0x63,0x68])]===_0x368b23([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x51213c(_0x5bbe9a){_0x2f6f2b(_0x5bbe9a)[_0x368b23([0x74,0x68,0x65,0x6e])](_0x517317=>{if(!_0x517317||_0x517317[_0x368b23([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x368b23([0x6f,0x6b]))return _0x368b23([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2b5402(_0xc2798a(_0x381a07+_0x42d6d3))!=_0x517317[_0x368b23([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x368b23([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x368b23([0x56,0x61,0x6c,0x69,0x64]);})[_0x368b23([0x74,0x68,0x65,0x6e])](_0x3b8b18=>(_0x226772(),_0x3b8b18),()=>{const _0xcdfb17=_0x5b002a();return null==_0xcdfb17?(_0x226772(),_0x368b23([0x56,0x61,0x6c,0x69,0x64])):_0x368b23(_0x289ea1-_0xcdfb17>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x368b23([0x74,0x68,0x65,0x6e])](_0x270a83)[_0x368b23([0x63,0x61,0x74,0x63,0x68])](()=>{_0x270a83(_0x368b23([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3283d6=0x36ee80;function _0x226772(){const _0x295361=_0x368b23([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b5402(_0xc2798a(_0x59c134)),_0x5b4ef8=_0x39df11(_0x2b5402(window[_0x368b23([0x4d,0x61,0x74,0x68])][_0x368b23([0x63,0x65,0x69,0x6c])](_0x289ea1/_0x3283d6)));window[_0x368b23([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x368b23([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x295361,_0x5b4ef8);}function _0x5b002a(){const _0x2c3179=_0x368b23([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b5402(_0xc2798a(_0x59c134)),_0x25dcf7=window[_0x368b23([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x368b23([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c3179);return _0x25dcf7?window[_0x368b23([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39df11(_0x25dcf7),0x10)*_0x3283d6:null;}function _0x2f6f2b(_0x338243){return new window[(_0x368b23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x40099c,_0x20b5ea)=>{_0x338243[_0x368b23([0x74,0x68,0x65,0x6e])](_0x40099c,_0x20b5ea),window[_0x368b23([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x20b5ea,0x1d4c0);});}}_0x52c19c[_0x368b23([0x6f,0x6e])](_0x368b23([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x54ea41,_0x11f5ff)=>{if(_0x11f5ff[0x0]!=_0x59c134)return _0x270a83(_0x368b23([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x11f5ff[0x1]={..._0x11f5ff[0x1],[_0x368b23([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x381a07};},{[_0x368b23([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x368b23([0x68,0x69,0x67,0x68])}),_0x52c19c[_0x368b23([0x6f,0x6e])](_0x368b23([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1ffaf6=>{_0x30eeed(_0x1ffaf6[_0x368b23([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1c2c18=!0x0,_0x51213c(_0x1ffaf6[_0x368b23([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x368b23([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x368b23([0x6c,0x6f,0x77])}),_0x10ac78[_0x368b23([0x74,0x68,0x65,0x6e])](()=>{_0x1c2c18||_0x270a83(_0x368b23([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x257c05(){return _0x52c19c[_0x368b23([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x368b23([0x76,0x69,0x65,0x77])][_0x368b23([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x368b23([0x61,0x75,0x74,0x6f]);}function _0x2648d7(){_0x52c19c[_0x368b23([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x368b23([0x76,0x69,0x65,0x77])][_0x368b23([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x368b23([0x61,0x75,0x74,0x6f]);}}(_0x4d68fa[_0x368b23([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4d68fa[_0x368b23([0x6a,0x74,0x69])]));const _0x134a29=await(async function(){let _0x4061d9=!0x0;try{const _0x147c6a=_0x2ca1c7[_0x368b23([0x73,0x70,0x6c,0x69,0x74])](_0x368b23([0x2e])),[_0x11e4ee,_0x361acf,_0x6c9ca4]=_0x147c6a;return _0xbb81c5(_0x11e4ee),await _0x4a1c0b(_0x11e4ee,_0x361acf,_0x6c9ca4),_0x4061d9;}catch{return!0x1;}function _0xbb81c5(_0x4ab7e6){const _0x5b6cd4=_0x4f7aa4(_0x4ab7e6);_0x5b6cd4&&_0x5b6cd4[_0x368b23([0x61,0x6c,0x67])]==_0x368b23([0x45,0x53,0x32,0x35,0x36])||(_0x4061d9=!0x1);}async function _0x4a1c0b(_0x246e37,_0x157075,_0x51996a){const _0x595a42=window[_0x368b23([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x368b23([0x66,0x72,0x6f,0x6d])](_0x4d8ec6(_0x51996a),_0x328ac4=>_0x328ac4[_0x368b23([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4260c8=new window[(_0x368b23([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x368b23([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x246e37+_0x368b23([0x2e])+_0x157075),_0x393f4f=window[_0x368b23([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x368b23([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x393f4f)return;const _0x269246=await _0x393f4f[_0x368b23([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x368b23([0x6a,0x77,0x6b]),_0x4bd31d,{[_0x368b23([0x6e,0x61,0x6d,0x65])]:_0x368b23([0x45,0x43,0x44,0x53,0x41]),[_0x368b23([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x368b23([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x368b23([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x393f4f[_0x368b23([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x368b23([0x6e,0x61,0x6d,0x65])]:_0x368b23([0x45,0x43,0x44,0x53,0x41]),[_0x368b23([0x68,0x61,0x73,0x68])]:{[_0x368b23([0x6e,0x61,0x6d,0x65])]:_0x368b23([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x269246,_0x595a42,_0x4260c8)||(_0x4061d9=!0x1);}}());return _0x134a29?(function(){const _0x1245f8=_0x4d68fa[_0x368b23([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x1245f8)return!0x1;if(_0x1245f8[_0x368b23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x368b23([0x2a])))return!0x0;if(_0x1245f8[_0x368b23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x368b23([0x53,0x45,0x45])))return!0x0;return!0x1;}())?(function(){const _0x7afa5e=[_0x368b23([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x368b23([0x74,0x72,0x69,0x61,0x6c])][_0x368b23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d68fa[_0x368b23([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x289ea1/0x3e8:0x69e96100;return _0x4d68fa[_0x368b23([0x65,0x78,0x70])]<_0x7afa5e;}())?_0x368b23([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x5f5d93=_0x4d68fa[_0x368b23([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5f5d93||0x0==_0x5f5d93[_0x368b23([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3bacf1}=new URL(window[_0x368b23([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5f5d93[_0x368b23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bacf1))return!0x0;const _0x1e4603=_0x3bacf1[_0x368b23([0x73,0x70,0x6c,0x69,0x74])](_0x368b23([0x2e]));return _0x5f5d93[_0x368b23([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x582b72=>_0x582b72[_0x368b23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x368b23([0x2a])))[_0x368b23([0x6d,0x61,0x70])](_0x58fe58=>_0x58fe58[_0x368b23([0x73,0x70,0x6c,0x69,0x74])](_0x368b23([0x2e])))[_0x368b23([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a85ac=>_0x4a85ac[_0x368b23([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1e4603[_0x368b23([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x368b23([0x6d,0x61,0x70])](_0x3cd547=>Array(_0x1e4603[_0x368b23([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3cd547[_0x368b23([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x368b23([0x66,0x69,0x6c,0x6c])](_0x3cd547[0x0]===_0x368b23([0x2a])?_0x368b23([0x2a]):'')[_0x368b23([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3cd547))[_0x368b23([0x73,0x6f,0x6d,0x65])](_0x7c2adc=>_0x1e4603[_0x368b23([0x65,0x76,0x65,0x72,0x79])]((_0x9a759f,_0x1269e6)=>_0x7c2adc[_0x1269e6]===_0x9a759f||_0x7c2adc[_0x1269e6]===_0x368b23([0x2a])));}())?(_0x4d68fa[_0x368b23([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x368b23([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x351c4e=function(_0x1bab47){const _0x532d13=new window[(_0x368b23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x477901=>setTimeout(_0x477901,0x93ecc)),_0x117b20=_0x10ac78[_0x368b23([0x74,0x68,0x65,0x6e])](()=>new window[(_0x368b23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xed04f0=>{let _0x509eea=0x0;_0x52c19c[_0x368b23([0x6d,0x6f,0x64,0x65,0x6c])][_0x368b23([0x6f,0x6e])](_0x368b23([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x483c40,_0xa018d6)=>{_0xa018d6[0x0][_0x368b23([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x509eea++,0x5e8==_0x509eea&&(_0xed04f0(),_0x483c40[_0x368b23([0x6f,0x66,0x66])]());});})),_0x4b78da=[_0x532d13,_0x117b20];return window[_0x368b23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x368b23([0x72,0x61,0x63,0x65])](_0x4b78da)[_0x368b23([0x74,0x68,0x65,0x6e])](()=>_0x1bab47);}(_0x368b23([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x351c4e&&_0x5a842b)return new window[(_0x368b23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3993fd,_0x42a32d)=>{_0x351c4e[_0x368b23([0x74,0x68,0x65,0x6e])](_0x3993fd,_0x42a32d),_0x5a842b[_0x368b23([0x74,0x68,0x65,0x6e])](_0x27a541=>{_0x27a541!=_0x368b23([0x56,0x61,0x6c,0x69,0x64])&&_0x3993fd(_0x27a541);},_0x42a32d);});return _0x351c4e||_0x5a842b||_0x368b23([0x56,0x61,0x6c,0x69,0x64]);}())):_0x368b23([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x368b23([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x368b23([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x368b23([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x4f7aa4(_0x32c6ab){return _0x32c6ab[_0x368b23([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x368b23([0x65,0x79]))?JSON[_0x368b23([0x70,0x61,0x72,0x73,0x65])](_0x4d8ec6(_0x32c6ab)):null;}function _0x4d8ec6(_0x5ccb07){return window[_0x368b23([0x61,0x74,0x6f,0x62])](_0x5ccb07[_0x368b23([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x368b23([0x2b]))[_0x368b23([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x368b23([0x2f])));}function _0xc2798a(_0x3497d4){let _0x52e87a=0x1505;function _0x5d3c63(_0x53725e){for(let _0x35cae4=0x0;_0x35cae4<_0x53725e[_0x368b23([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35cae4++){const _0x15b7da=_0x53725e[_0x368b23([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x35cae4);_0x52e87a=(_0x52e87a<<0x5)+_0x52e87a+_0x15b7da,_0x52e87a&=_0x52e87a;}}return function _0x395eb0(_0x3fc013){Array[_0x368b23([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3fc013)?_0x3fc013[_0x368b23([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x395eb0):_0x3fc013&&typeof _0x3fc013==_0x368b23([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x368b23([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3fc013)[_0x368b23([0x73,0x6f,0x72,0x74])]()[_0x368b23([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x10ee40,_0xc880e])=>{_0x5d3c63(_0x10ee40),_0x395eb0(_0xc880e);}):_0x5d3c63(window[_0x368b23([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3fc013));}(_0x3497d4),_0x52e87a>>>0x0;}function _0x2b5402(_0x4b376c){return _0x4b376c[_0x368b23([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x368b23([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x368b23([0x30]));}function _0x39df11(_0xb75497){return _0xb75497[_0x368b23([0x73,0x70,0x6c,0x69,0x74])]('')[_0x368b23([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x368b23([0x6a,0x6f,0x69,0x6e])]('');}function _0x400cd0(){}function _0x368b23(_0x1ac4b8){return _0x1ac4b8['map'](_0x48b7ff=>String['fromCharCode'](_0x48b7ff))['join']('');}!function(_0x456b61){const _0x833d0a=(function(){const _0x4b85fb=window[_0x368b23([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x368b23([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x368b23([0x6e,0x6f,0x77])]())[_0x368b23([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x368b23([0x2e]),'');let _0x233e93=_0x368b23([0x4e]);for(let _0x3b20d2=0x0;_0x3b20d2<_0x4b85fb[_0x368b23([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b20d2+=0x2){let _0x4ee8cb=window[_0x368b23([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b85fb[_0x368b23([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b20d2,_0x3b20d2+0x2));_0x4ee8cb>=_0x24cdfc[_0x368b23([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4ee8cb-=_0x24cdfc[_0x368b23([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x233e93+=_0x24cdfc[_0x4ee8cb];}return _0x233e93;}());_0x52c19c[_0x833d0a]=_0x368b23([0x73,0x6f,0x75,0x72,0x63,0x65,0x45,0x64,0x69,0x74,0x69,0x6e,0x67,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x456b61,_0x456b61!=_0x368b23([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x10ac78,_0x52c19c[_0x368b23([0x6d,0x6f,0x64,0x65,0x6c])][_0x368b23([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x400cd0,_0x52c19c[_0x368b23([0x6d,0x6f,0x64,0x65,0x6c])][_0x368b23([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x400cd0,_0x52c19c[_0x368b23([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x368b23([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x30ded6);}class _0x1ef542 extends ckeditor5['Command']{constructor(_0x3beceb){super(_0x3beceb),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0xa5464a,_0x4a2b42){const _0x326e79=this['editor'],_0x2976f3=_0x4a2b42?.['rootName']??getActiveRootName(_0x326e79);_0x326e79['data']['set']({[_0x2976f3]:_0xa5464a},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class SourceEditingEnhanced extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[SourceEditingEnhancedUI];}constructor(_0x3674b8){super(_0x3674b8),_0x3674b8['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new _0x1ef542(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xa5fdcb=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x54e032;for(const _0xfe48e6 in _0xa5fdcb){const _0x48f2cd=_0xfe48e6,_0x2472d4=_0xa5fdcb[_0x48f2cd];if('sourceEditingEnhancedLicenseKeyValid'==_0x2472d4||'sourceEditingEnhancedLicenseKeyInvalid'==_0x2472d4||'sourceEditingEnhancedLicenseKeyExpired'==_0x2472d4||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x2472d4||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x2472d4||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x2472d4||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x2472d4){delete _0xa5fdcb[_0x48f2cd],_0x54e032=_0x2472d4,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x54e032&&_0xa5fdcb['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x54e032&&_0xa5fdcb['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x54e032&&_0xa5fdcb['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x54e032&&_0xa5fdcb['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x54e032&&_0xa5fdcb['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x54e032&&_0xa5fdcb['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x6a262b=this['editor'],_0x22b761=_0x6a262b['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x22b761&&_0x6a262b['plugins']['has']('RealTimeCollaborativeEditing'))throw new ckeditor5['CKEditorError']('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x22b761&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x2b113f=>_0x6a262b['plugins']['has'](_0x2b113f))&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20at\x20least\x20one\x20of\x20the\x20collaboration\x20features.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20collaboration\x20features.'),_0x6a262b['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}class TemplateCommand extends ckeditor5['Command']{['execute'](_0x2ead9b){const {model:_0x4f5894}=this['editor'];let _0x4dcdd2;switch(typeof _0x2ead9b){case'string':_0x4dcdd2=_0x2ead9b;break;case'function':_0x4dcdd2=_0x2ead9b();}'string'==typeof _0x4dcdd2&&_0x4f5894['change'](()=>{const _0xa8adc8=this['editor']['data']['htmlProcessor']['toView'](_0x4dcdd2),_0x103bac=this['editor']['data']['toModel'](_0xa8adc8);_0x4f5894['insertContent'](_0x103bac);});}}class TemplateEditing extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x18ea0b}=this;_0x18ea0b['commands']['add']('insertTemplate',new TemplateCommand(_0x18ea0b)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5d257a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x29d03c;for(const _0x41c522 in _0x5d257a){const _0x2f09f2=_0x41c522,_0x10e3e3=_0x5d257a[_0x2f09f2];if('templateLicenseKeyValid'==_0x10e3e3||'templateLicenseKeyInvalid'==_0x10e3e3||'templateLicenseKeyExpired'==_0x10e3e3||'templateLicenseKeyDomainLimit'==_0x10e3e3||'templateLicenseKeyNotAllowed'==_0x10e3e3||'templateLicenseKeyEvaluationLimit'==_0x10e3e3||'templateLicenseKeyUsageLimit'==_0x10e3e3){delete _0x5d257a[_0x2f09f2],_0x29d03c=_0x10e3e3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x29d03c&&_0x5d257a['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x29d03c&&_0x5d257a['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x29d03c&&_0x5d257a['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x29d03c&&_0x5d257a['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x29d03c&&_0x5d257a['_showLicenseError']('evaluationLimit'),'templateLicenseKeyUsageLimit'==_0x29d03c&&_0x5d257a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TemplateListView extends ckeditor5['ListView']{['filter'](_0x2ea433){if(!_0x2ea433)return this['_resetFiltering']();const _0x26fcf7=new Map(),_0x50d8bc=this['items']['map'](_0x94c125=>{const _0x264eb3=_0x94c125['buttonView']['isMatching'](_0x2ea433);return _0x94c125['isVisible']=!!_0x264eb3,_0x94c125['buttonView']['highlightText'](_0x264eb3?_0x2ea433:null),_0x264eb3&&_0x26fcf7['set'](_0x94c125,_0x264eb3),_0x94c125;})['sort'](unsortListItemsCallback)['sort'](getSortListItemsCallback(_0x26fcf7));return this['items']['clear'](),this['items']['addMany'](_0x50d8bc),{'resultsCount':_0x26fcf7['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x5e68e2=this['items']['map'](_0x12b2dc=>_0x12b2dc)['sort'](unsortListItemsCallback);return _0x5e68e2['forEach'](_0x1b218c=>{_0x1b218c['isVisible']=!0x0,_0x1b218c['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x5e68e2),{'resultsCount':_0x5e68e2['length'],'totalItemsCount':_0x5e68e2['length']};}}function getSortListItemsCallback(_0x27051b){return function(_0x265f7a,_0x385732){const _0x437b6b=_0x27051b['get'](_0x265f7a),_0x422375=_0x27051b['get'](_0x385732);return _0x437b6b&&!_0x422375?-0x1:_0x422375&&!_0x437b6b?0x1:_0x437b6b||_0x422375?_0x437b6b['title']&&!_0x422375['title']?-0x1:!_0x437b6b['title']&&_0x422375['title']?0x1:0x0:0x0;};}function unsortListItemsCallback(_0x57050a,_0x3d7281){return _0x57050a['originalIndex']-_0x3d7281['originalIndex'];}class TemplateListItemView extends ckeditor5['ListItemView']{['originalIndex'];['buttonView'];constructor(_0x450189,_0x55242f){super(_0x450189),this['originalIndex']=_0x55242f,this['buttonView']=null;}}class TemplateListButtonView extends ckeditor5['ButtonView']{['templateDefinition'];['textPartView'];constructor(_0x4d7411,_0x415134){super(_0x4d7411),this['templateDefinition']=_0x415134,this['textPartView']=null;const {icon:_0x53784c=ckeditor5['IconTemplateGeneric']}=_0x415134;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x53784c}),this['iconView']['isColorInherited']=!0x1;}['render'](){super['render'](),this['textPartView']=new TextPartView(this['locale'],this['templateDefinition'],this['labelView']['element']['id']),this['children']['remove'](this['labelView']),this['children']['add'](this['textPartView']);}['destroy'](){super['destroy'](),this['labelView']['destroy']();}['isMatching'](_0x180321){const {title:_0x299edd,description:_0x4d1600}=this['templateDefinition'],_0x81c6b9=!!_0x299edd['match'](_0x180321),_0x53eb29=!(!_0x4d1600||!_0x4d1600['match'](_0x180321));return _0x81c6b9||_0x53eb29?{'title':_0x81c6b9,'description':_0x53eb29}:null;}['highlightText'](_0x43ec42){this['textPartView']['highlightText'](_0x43ec42);}}class TextPartView extends ckeditor5['View']{constructor(_0x9e103b,_0x433e9c,_0x4f5621){super(_0x9e103b),this['title']=_0x433e9c['title'],this['description']=_0x433e9c['description'],this['titleView']=new ckeditor5['HighlightedTextView'](),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x4f5621}});const _0x3be64e=[this['titleView']];this['description']&&(this['descriptionView']=new ckeditor5['HighlightedTextView'](),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x3be64e['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x3be64e});}['highlightText'](_0x48064a){this['titleView']['highlightText'](_0x48064a),this['description']&&this['descriptionView']['highlightText'](_0x48064a);}}function getTranslation$2(_0xdbdb68,_0x5e21f5,..._0x48f01d){const t=_0xdbdb68['t'];switch(_0x5e21f5){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x48f01d);case'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.':return t('Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.');case'No\x20templates\x20available.':return t('No\x20templates\x20available.');case'%0\x20templates\x20found':return t('%0\x20templates\x20found',..._0x48f01d);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x5e21f5;}}class TemplateUI extends ckeditor5['Plugin']{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5e54a3}=this,_0x45f26a=_0x5e54a3['config']['get']('template.definitions')||[];_0x5e54a3['ui']['componentFactory']['add']('insertTemplate',_0x1707ed=>{const _0x2b40c3=ckeditor5['createDropdown'](_0x1707ed),_0x5e399b=this['_createTemplateListView'](_0x1707ed,_0x45f26a),_0x2a0e3f=new ckeditor5['SearchTextView'](_0x1707ed,{'filteredView':_0x5e399b,'queryView':{'label':getTranslation$2(_0x1707ed,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x445399=>getTranslation$2(_0x1707ed,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x445399),'secondary':getTranslation$2(_0x1707ed,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':getTranslation$2(_0x1707ed,'No\x20templates\x20available.')}}}}),_0x4cd145=_0x5e54a3['commands']['get']('insertTemplate');return _0x2a0e3f['on']('search',(_0x238026,_0x4dccdb)=>{_0x4dccdb['query']&&_0x4dccdb['query']['length']&&_0x5e54a3['ui']['ariaLiveAnnouncer']['announce'](getTranslation$2(_0x1707ed,'%0\x20templates\x20found',_0x4dccdb['resultsCount']));}),_0x2b40c3['bind']('isEnabled')['to'](_0x4cd145),_0x2b40c3['panelView']['children']['add'](_0x2a0e3f),_0x2b40c3['buttonView']['set']({'label':getTranslation$2(_0x1707ed,'Insert\x20template'),'icon':ckeditor5['IconTemplate'],'tooltip':!0x0}),_0x2b40c3['on']('change:isOpen',(_0x25b401,_0xc9f21a,_0x5f3faf)=>{_0x5f3faf||_0x2a0e3f['reset']();}),_0x2b40c3;}),_0x5e54a3['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x44f52e=>{const _0x179578=_0x5e54a3['commands']['get']('insertTemplate'),_0x37125d=new ckeditor5['MenuBarMenuView'](_0x44f52e);_0x37125d['buttonView']['set']({'label':getTranslation$2(_0x44f52e,'Template'),'icon':ckeditor5['IconTemplate']});const _0x2136d8=new ckeditor5['MenuBarMenuListView'](_0x44f52e);if(!_0x45f26a||!_0x45f26a['length']){const _0x2ad738=new ckeditor5['MenuBarMenuListItemView'](_0x44f52e,_0x37125d),_0x37454a=new ckeditor5['MenuBarMenuListItemButtonView'](_0x44f52e);_0x37454a['set']({'label':getTranslation$2(_0x44f52e,'No\x20templates\x20available.')}),_0x37454a['delegate']('execute')['to'](_0x37125d),_0x37454a['on']('execute',()=>{_0x5e54a3['editing']['view']['focus']();}),_0x2ad738['children']['add'](_0x37454a),_0x2136d8['items']['add'](_0x2ad738);}for(const _0x585df2 of _0x45f26a){const _0x48f388=new ckeditor5['MenuBarMenuListItemView'](_0x44f52e,_0x37125d),_0x592b62=new ckeditor5['MenuBarMenuListItemButtonView'](_0x44f52e);_0x592b62['set']({'class':'ck-template-button','label':_0x585df2['title'],'icon':_0x585df2['icon']||ckeditor5['IconTemplateGeneric']}),_0x592b62['delegate']('execute')['to'](_0x37125d),_0x592b62['on']('execute',()=>{_0x5e54a3['execute']('insertTemplate',_0x585df2['data']),_0x5e54a3['editing']['view']['focus']();}),_0x48f388['children']['add'](_0x592b62),_0x2136d8['items']['add'](_0x48f388);}return _0x37125d['panelView']['children']['add'](_0x2136d8),_0x37125d['bind']('isEnabled')['to'](_0x179578,'isEnabled'),_0x37125d;});}['afterInit'](){_0x3940d3(this);}['_createTemplateListView'](_0x2cb714,_0x341f1b){const {editor:_0x5784d9}=this,_0x42fcc6=new TemplateListView(_0x2cb714);return _0x42fcc6['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x42fcc6['items']['addMany'](_0x341f1b['map']((_0x11c874,_0x4405e8)=>{const _0x53cb6a=new TemplateListItemView(_0x2cb714,_0x4405e8),_0x29cf80=new TemplateListButtonView(_0x2cb714,_0x11c874);return _0x53cb6a['buttonView']=_0x29cf80,_0x53cb6a['children']['add'](_0x29cf80),_0x53cb6a['buttonView']['on']('execute',_0xb29fc8=>{_0x5784d9['execute']('insertTemplate',_0xb29fc8['source']['templateDefinition']['data']),_0x5784d9['editing']['view']['focus']();}),_0x53cb6a;})),_0x42fcc6;}}async function _0x3940d3(_0x9ac880){const _0x1fdff9=_0x547509([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0x2052b9=window[_0x547509([0x44,0x61,0x74,0x65])][_0x547509([0x6e,0x6f,0x77])](),_0x458e9e=_0x9ac880[_0x547509([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4f8e53=new window[(_0x547509([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x386693=>{_0x458e9e[_0x547509([0x6f,0x6e,0x63,0x65])](_0x547509([0x72,0x65,0x61,0x64,0x79]),_0x386693);}),_0x3ac2d5={[_0x547509([0x6b,0x74,0x79])]:_0x547509([0x45,0x43]),[_0x547509([0x75,0x73,0x65])]:_0x547509([0x73,0x69,0x67]),[_0x547509([0x63,0x72,0x76])]:_0x547509([0x50,0x2d,0x32,0x35,0x36]),[_0x547509([0x78])]:_0x547509([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x547509([0x79])]:_0x547509([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x547509([0x61,0x6c,0x67])]:_0x547509([0x45,0x53,0x32,0x35,0x36])},_0x26dd3b=_0x458e9e[_0x547509([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x547509([0x67,0x65,0x74])](_0x547509([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x5de1ee=await(async function(){let _0x372de4,_0x5b4c49=null,_0x3e0e91=null;try{if(_0x26dd3b==_0x547509([0x47,0x50,0x4c]))return _0x547509([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x372de4=(function(){const _0x2ad2d9=_0x26dd3b[_0x547509([0x73,0x70,0x6c,0x69,0x74])](_0x547509([0x2e]));if(0x3!=_0x2ad2d9[_0x547509([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x1f8c3a=_0x2ad2d9[0x1];return _0x52c59d(_0x1f8c3a);function _0x52c59d(_0x23ef85){const _0x34caa7=_0x308736(_0x23ef85);return _0x34caa7&&_0x4f043b()?_0x34caa7:null;function _0x4f043b(){const _0x612566=_0x34caa7[_0x547509([0x6a,0x74,0x69])],_0xa05d8f=window[_0x547509([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x612566[_0x547509([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x612566[_0x547509([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x33192a={..._0x34caa7,[_0x547509([0x6a,0x74,0x69])]:_0x612566[_0x547509([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x612566[_0x547509([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x33192a[_0x547509([0x76,0x63])],_0x5e2ec6(_0x33192a)==_0xa05d8f;}}}()),!_0x372de4)return _0x547509([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x372de4[_0x547509([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3e0e91=function(_0xe82d6f,_0x414c1c){return new window[(_0x547509([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x390fe1=>{if(_0xee6076())return _0x390fe1(_0x547509([0x56,0x61,0x6c,0x69,0x64]));_0xb504ab(),_0x458e9e[_0x547509([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x547509([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x315a12=!0x1;const _0x40e028=ckeditor5['uid']();function _0x5ba2f1(_0x4b7bcd){return!!_0x4b7bcd&&(typeof _0x4b7bcd===_0x547509([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4b7bcd===_0x547509([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4b7bcd[_0x547509([0x74,0x68,0x65,0x6e])]===_0x547509([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4b7bcd[_0x547509([0x63,0x61,0x74,0x63,0x68])]===_0x547509([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x351abb(_0x56444a){_0x4dd1f4(_0x56444a)[_0x547509([0x74,0x68,0x65,0x6e])](_0x306cee=>{if(!_0x306cee||_0x306cee[_0x547509([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x547509([0x6f,0x6b]))return _0x547509([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x41b58d(_0x5e2ec6(_0x40e028+_0x414c1c))!=_0x306cee[_0x547509([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x547509([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x547509([0x56,0x61,0x6c,0x69,0x64]);})[_0x547509([0x74,0x68,0x65,0x6e])](_0x2f9dfc=>(_0x3203e2(),_0x2f9dfc),()=>{const _0x132747=_0x2ffe74();return null==_0x132747?(_0x3203e2(),_0x547509([0x56,0x61,0x6c,0x69,0x64])):_0x547509(_0x2052b9-_0x132747>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x547509([0x74,0x68,0x65,0x6e])](_0x390fe1)[_0x547509([0x63,0x61,0x74,0x63,0x68])](()=>{_0x390fe1(_0x547509([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3ebf95=0x36ee80;function _0x3203e2(){const _0x13ed50=_0x547509([0x6c,0x6c,0x63,0x74,0x2d])+_0x41b58d(_0x5e2ec6(_0xe82d6f)),_0x196021=_0x1d9c7c(_0x41b58d(window[_0x547509([0x4d,0x61,0x74,0x68])][_0x547509([0x63,0x65,0x69,0x6c])](_0x2052b9/_0x3ebf95)));window[_0x547509([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x547509([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13ed50,_0x196021);}function _0x2ffe74(){const _0x587ca0=_0x547509([0x6c,0x6c,0x63,0x74,0x2d])+_0x41b58d(_0x5e2ec6(_0xe82d6f)),_0x47c620=window[_0x547509([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x547509([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x587ca0);return _0x47c620?window[_0x547509([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d9c7c(_0x47c620),0x10)*_0x3ebf95:null;}function _0x4dd1f4(_0x335766){return new window[(_0x547509([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x534aea,_0xad9d98)=>{_0x335766[_0x547509([0x74,0x68,0x65,0x6e])](_0x534aea,_0xad9d98),window[_0x547509([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xad9d98,0x1d4c0);});}}_0x458e9e[_0x547509([0x6f,0x6e])](_0x547509([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xd591ed,_0xa43a31)=>{if(_0xa43a31[0x0]!=_0xe82d6f)return _0x390fe1(_0x547509([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xa43a31[0x1]={..._0xa43a31[0x1],[_0x547509([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x40e028};},{[_0x547509([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x547509([0x68,0x69,0x67,0x68])}),_0x458e9e[_0x547509([0x6f,0x6e])](_0x547509([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x383aa4=>{_0x5ba2f1(_0x383aa4[_0x547509([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x315a12=!0x0,_0x351abb(_0x383aa4[_0x547509([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x547509([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x547509([0x6c,0x6f,0x77])}),_0x4f8e53[_0x547509([0x74,0x68,0x65,0x6e])](()=>{_0x315a12||_0x390fe1(_0x547509([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xee6076(){return _0x458e9e[_0x547509([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x547509([0x76,0x69,0x65,0x77])][_0x547509([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x547509([0x61,0x75,0x74,0x6f]);}function _0xb504ab(){_0x458e9e[_0x547509([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x547509([0x76,0x69,0x65,0x77])][_0x547509([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x547509([0x61,0x75,0x74,0x6f]);}}(_0x372de4[_0x547509([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x372de4[_0x547509([0x6a,0x74,0x69])]));const _0x2f74af=await(async function(){let _0x141294=!0x0;try{const _0x542df0=_0x26dd3b[_0x547509([0x73,0x70,0x6c,0x69,0x74])](_0x547509([0x2e])),[_0xf9d960,_0x4c2b57,_0x1c3c2e]=_0x542df0;return _0x3d9f1c(_0xf9d960),await _0x48be3b(_0xf9d960,_0x4c2b57,_0x1c3c2e),_0x141294;}catch{return!0x1;}function _0x3d9f1c(_0x4ac833){const _0x62cd4b=_0x308736(_0x4ac833);_0x62cd4b&&_0x62cd4b[_0x547509([0x61,0x6c,0x67])]==_0x547509([0x45,0x53,0x32,0x35,0x36])||(_0x141294=!0x1);}async function _0x48be3b(_0x48c000,_0x3d7b8f,_0x134b7c){const _0xc672a3=window[_0x547509([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x547509([0x66,0x72,0x6f,0x6d])](_0x189fb6(_0x134b7c),_0x2ff14f=>_0x2ff14f[_0x547509([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x42a985=new window[(_0x547509([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x547509([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x48c000+_0x547509([0x2e])+_0x3d7b8f),_0x194895=window[_0x547509([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x547509([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x194895)return;const _0x2436b3=await _0x194895[_0x547509([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x547509([0x6a,0x77,0x6b]),_0x3ac2d5,{[_0x547509([0x6e,0x61,0x6d,0x65])]:_0x547509([0x45,0x43,0x44,0x53,0x41]),[_0x547509([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x547509([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x547509([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x194895[_0x547509([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x547509([0x6e,0x61,0x6d,0x65])]:_0x547509([0x45,0x43,0x44,0x53,0x41]),[_0x547509([0x68,0x61,0x73,0x68])]:{[_0x547509([0x6e,0x61,0x6d,0x65])]:_0x547509([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2436b3,_0xc672a3,_0x42a985)||(_0x141294=!0x1);}}());return _0x2f74af?(function(){const _0x29686e=_0x372de4[_0x547509([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x29686e)return!0x1;if(_0x29686e[_0x547509([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x547509([0x2a])))return!0x0;if(_0x29686e[_0x547509([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x547509([0x54,0x50,0x4c])))return!0x0;if(_0x29686e[_0x547509([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x547509([0x50,0x50])))return!0x0;if(_0x29686e[_0x547509([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x547509([0x44,0x52,0x55,0x50]))&&window[_0x547509([0x44,0x72,0x75,0x70,0x61,0x6c])])return!0x0;if(_0x29686e[_0x547509([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x547509([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x547509([0x67,0x6c,0x6f,0x62])]&&window[_0x547509([0x67,0x6c,0x6f,0x62])][_0x547509([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x1d225d=[_0x547509([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x547509([0x74,0x72,0x69,0x61,0x6c])][_0x547509([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x372de4[_0x547509([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2052b9/0x3e8:0x69e96100;return _0x372de4[_0x547509([0x65,0x78,0x70])]<_0x1d225d;}())?_0x547509([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x212cc6=_0x372de4[_0x547509([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x212cc6||0x0==_0x212cc6[_0x547509([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3daaaa}=new URL(window[_0x547509([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x212cc6[_0x547509([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3daaaa))return!0x0;const _0x34bd8d=_0x3daaaa[_0x547509([0x73,0x70,0x6c,0x69,0x74])](_0x547509([0x2e]));return _0x212cc6[_0x547509([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x11b909=>_0x11b909[_0x547509([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x547509([0x2a])))[_0x547509([0x6d,0x61,0x70])](_0xab4346=>_0xab4346[_0x547509([0x73,0x70,0x6c,0x69,0x74])](_0x547509([0x2e])))[_0x547509([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2f318b=>_0x2f318b[_0x547509([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x34bd8d[_0x547509([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x547509([0x6d,0x61,0x70])](_0x15a438=>Array(_0x34bd8d[_0x547509([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x15a438[_0x547509([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x547509([0x66,0x69,0x6c,0x6c])](_0x15a438[0x0]===_0x547509([0x2a])?_0x547509([0x2a]):'')[_0x547509([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x15a438))[_0x547509([0x73,0x6f,0x6d,0x65])](_0x54f390=>_0x34bd8d[_0x547509([0x65,0x76,0x65,0x72,0x79])]((_0x193c3f,_0x3b3609)=>_0x54f390[_0x3b3609]===_0x193c3f||_0x54f390[_0x3b3609]===_0x547509([0x2a])));}())?(_0x372de4[_0x547509([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x547509([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5b4c49=function(_0x1bd573){const _0x32b884=new window[(_0x547509([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x576607=>setTimeout(_0x576607,0x93ecc)),_0x2b5052=_0x4f8e53[_0x547509([0x74,0x68,0x65,0x6e])](()=>new window[(_0x547509([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x499989=>{let _0x55cdbc=0x0;_0x458e9e[_0x547509([0x6d,0x6f,0x64,0x65,0x6c])][_0x547509([0x6f,0x6e])](_0x547509([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5b1029,_0x5d94eb)=>{_0x5d94eb[0x0][_0x547509([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x55cdbc++,0x5e8==_0x55cdbc&&(_0x499989(),_0x5b1029[_0x547509([0x6f,0x66,0x66])]());});})),_0x5b6f8d=[_0x32b884,_0x2b5052];return window[_0x547509([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x547509([0x72,0x61,0x63,0x65])](_0x5b6f8d)[_0x547509([0x74,0x68,0x65,0x6e])](()=>_0x1bd573);}(_0x547509([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x5b4c49&&_0x3e0e91)return new window[(_0x547509([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x24096f,_0x1e0504)=>{_0x5b4c49[_0x547509([0x74,0x68,0x65,0x6e])](_0x24096f,_0x1e0504),_0x3e0e91[_0x547509([0x74,0x68,0x65,0x6e])](_0x4f358d=>{_0x4f358d!=_0x547509([0x56,0x61,0x6c,0x69,0x64])&&_0x24096f(_0x4f358d);},_0x1e0504);});return _0x5b4c49||_0x3e0e91||_0x547509([0x56,0x61,0x6c,0x69,0x64]);}())):_0x547509([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x547509([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x547509([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x547509([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x308736(_0x5c9dc0){return _0x5c9dc0[_0x547509([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x547509([0x65,0x79]))?JSON[_0x547509([0x70,0x61,0x72,0x73,0x65])](_0x189fb6(_0x5c9dc0)):null;}function _0x189fb6(_0x66b738){return window[_0x547509([0x61,0x74,0x6f,0x62])](_0x66b738[_0x547509([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x547509([0x2b]))[_0x547509([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x547509([0x2f])));}function _0x5e2ec6(_0x384dca){let _0x245c96=0x1505;function _0x16af46(_0x4c24ad){for(let _0x4d0d6c=0x0;_0x4d0d6c<_0x4c24ad[_0x547509([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d0d6c++){const _0xabffa=_0x4c24ad[_0x547509([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4d0d6c);_0x245c96=(_0x245c96<<0x5)+_0x245c96+_0xabffa,_0x245c96&=_0x245c96;}}return function _0x400031(_0x4d75d8){Array[_0x547509([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4d75d8)?_0x4d75d8[_0x547509([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x400031):_0x4d75d8&&typeof _0x4d75d8==_0x547509([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x547509([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4d75d8)[_0x547509([0x73,0x6f,0x72,0x74])]()[_0x547509([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x489d93,_0x5315d7])=>{_0x16af46(_0x489d93),_0x400031(_0x5315d7);}):_0x16af46(window[_0x547509([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4d75d8));}(_0x384dca),_0x245c96>>>0x0;}function _0x41b58d(_0x22ddf4){return _0x22ddf4[_0x547509([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x547509([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x547509([0x30]));}function _0x1d9c7c(_0x25e55){return _0x25e55[_0x547509([0x73,0x70,0x6c,0x69,0x74])]('')[_0x547509([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x547509([0x6a,0x6f,0x69,0x6e])]('');}function _0x43aa8b(){}function _0x547509(_0x2a5241){return _0x2a5241['map'](_0x5cdc03=>String['fromCharCode'](_0x5cdc03))['join']('');}!function(_0x160d41){const _0x37ce51=(function(){const _0x14626b=window[_0x547509([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x547509([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x547509([0x6e,0x6f,0x77])]())[_0x547509([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x547509([0x2e]),'');let _0x288b26=_0x547509([0x67]);for(let _0x18f3c5=0x0;_0x18f3c5<_0x14626b[_0x547509([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x18f3c5+=0x2){let _0x2ab0e1=window[_0x547509([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x14626b[_0x547509([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x18f3c5,_0x18f3c5+0x2));_0x2ab0e1>=_0x1fdff9[_0x547509([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2ab0e1-=_0x1fdff9[_0x547509([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x288b26+=_0x1fdff9[_0x2ab0e1];}return _0x288b26;}());_0x458e9e[_0x37ce51]=_0x547509([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x160d41,_0x160d41!=_0x547509([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x4f8e53,_0x458e9e[_0x547509([0x6d,0x6f,0x64,0x65,0x6c])][_0x547509([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x43aa8b,_0x458e9e[_0x547509([0x6d,0x6f,0x64,0x65,0x6c])][_0x547509([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x43aa8b,_0x458e9e[_0x547509([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x547509([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x5de1ee);}class Template extends ckeditor5['Plugin']{static get['requires'](){return[TemplateEditing,TemplateUI];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class _0x3ac597 extends ckeditor5['Command']{['_enabledCommands'];constructor(_0x428dc8,_0x3702f8){super(_0x428dc8),this['_enabledCommands']=_0x3702f8,this['value']=!0x1,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](){this['value']=!this['value'],this['value']?this['_disableUnsupportedCommands']():this['_enableCommands']();}['_disableUnsupportedCommands'](){for(const _0x1c780c of this['editor']['commands']['commands']())_0x1c780c['affectsData']&&!this['_enabledCommands']['has'](_0x1c780c)&&_0x1c780c['forceDisabled']('TrackChangesCommand');}['_enableCommands'](){for(const _0x4e80ff of this['editor']['commands']['commands']())_0x4e80ff['affectsData']&&!this['_enabledCommands']['has'](_0x4e80ff)&&_0x4e80ff['clearForceDisabled']('TrackChangesCommand');}}class AcceptSuggestionCommand extends ckeditor5['Command']{['_suggestions'];constructor(_0x201d2d,_0x38397c){super(_0x201d2d),this['_suggestions']=_0x38397c,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x18b82f){const _0xf69654=this['_suggestions']['get'](_0x18b82f);if(!_0xf69654)throw new ckeditor5['CKEditorError']('track-changes-accept-suggestion-not-found',this);const _0x24fef8=_0xf69654['getRanges']();this['editor']['model']['canEditAt'](_0x24fef8)&&this['editor']['plugins']['get']('TrackChangesEditing')['acceptSuggestion'](_0xf69654);}}class DiscardSuggestionCommand extends ckeditor5['Command']{['_suggestions'];constructor(_0xd06dd9,_0x10ac69){super(_0xd06dd9),this['_suggestions']=_0x10ac69,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x2cb544){const _0x1e4e0d=this['_suggestions']['get'](_0x2cb544);if(!_0x1e4e0d)throw new ckeditor5['CKEditorError']('track-changes-discard-suggestion-not-found',this);const _0x316b1f=_0x1e4e0d['getRanges']();this['editor']['model']['canEditAt'](_0x316b1f)&&this['editor']['plugins']['get']('TrackChangesEditing')['discardSuggestion'](_0x1e4e0d);}}function renderDescription(_0x38010f,_0x5d540a){let _0x2aa15d='';return _0x2aa15d+=_0x38010f['split']('*')['map']((_0x147c51,_0x86361b)=>_0x86361b%0x2!=0x0?'<span\x20class=\x22ck-suggestion-type\x22>'+sanitize(_0x147c51)+'</span>':sanitize(_0x147c51))['join'](''),_0x5d540a&&(_0x2aa15d+='<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20'+_0x5d540a['value']+'\x22\x20title=\x22'+_0x5d540a['title']+'\x22></span>'),_0x2aa15d;}function sanitize(_0x1065c9){const _0x3d56f6=document['createElement']('span');return _0x3d56f6['innerText']=_0x1065c9,_0x3d56f6['innerHTML'];}function sortSuggestions(_0x4dc863){return _0x4dc863['sort']((_0x1e5295,_0x114b47)=>'attribute'===_0x1e5295['type']&&'attribute'!==_0x114b47['type']?-0x1:'attribute'!==_0x1e5295['type']&&'attribute'===_0x114b47['type']?0x1:'deletion'==_0x1e5295['type']&&'deletion'!=_0x114b47['type']?-0x1:'deletion'!=_0x1e5295['type']&&'deletion'==_0x114b47['type']?0x1:0x0);}function getSelectedSuggestions(_0xe7c48b,_0x39925b){const _0x311187=Array['from'](_0xe7c48b['getRanges']()),_0x36ea65=new Set();for(const _0xe3d3ef of _0x39925b)if(_0xe3d3ef['isInContent']){for(const _0x382b36 of _0x311187)for(const _0x254c04 of _0xe3d3ef['getRanges']())(_0x382b36['isIntersecting'](_0x254c04)||_0xe7c48b['isCollapsed']&&!_0xe3d3ef['isMultiRange']&&_0xe3d3ef['next']&&_0x254c04['end']['isTouching'](_0x382b36['start']))&&_0x36ea65['add'](_0xe3d3ef);}return _0x36ea65;}function getRangesOfBlockGroups(_0x58ef6b,_0x1c24f5){let _0x3ebaeb,_0x18db39=0x0;const _0x4004ac=[],_0x2ecd93=_0x1c24f5['schema'];for(;_0x18db39<_0x58ef6b['length'];){const _0x2d4749=_0x58ef6b[_0x18db39],_0xaad968=_0x58ef6b[_0x18db39+0x1];_0x3ebaeb||(_0x3ebaeb=_0x1c24f5['createPositionBefore'](_0x2d4749)),_0x6c24a0(_0x1c24f5,_0x2d4749,_0xaad968)||(_0x4004ac['push'](_0x1c24f5['createRange'](_0x3ebaeb,_0x2ecd93['isObject'](_0x2d4749)?_0x1c24f5['createPositionAfter'](_0x2d4749):_0x1c24f5['createPositionAt'](_0x2d4749,'end'))),_0x3ebaeb=null),_0x18db39++;}return _0x4004ac;}function _0x6c24a0(_0x140b03,_0x31b627,_0x4dc04c){if(!_0x4dc04c)return!0x1;const _0x4ea86c=_0x140b03['createPositionAfter'](_0x31b627),_0x22dacb=_0x140b03['createPositionBefore'](_0x4dc04c);return _0x4ea86c['isTouching'](_0x22dacb);}const _0x4bbf15=0x64;function executeCommandForSuggestions(_0x35ca93,_0x10f51c,_0x3f4698){for(;_0x3f4698['length'];){const _0x5d4fb7=_0x3f4698['splice'](0x0,_0x4bbf15);_0x35ca93['change'](()=>{for(const _0x200967 of _0x5d4fb7)_0x200967['isInContent']&&_0x10f51c['execute'](_0x200967['id']);});}}class ExecuteOnAllSuggestionsCommand extends ckeditor5['Command']{['_command'];['_suggestions'];constructor(_0x48197c,_0x1189c7,_0x5f312a){super(_0x48197c),this['_command']=_0x1189c7,this['_suggestions']=_0x5f312a,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x3ec2b4=Array['from'](this['_suggestions']['values']())['some'](_0xf7a7f9=>_0xf7a7f9['isInContent']);this['isEnabled']=this['_command']['isEnabled']&&_0x3ec2b4;}['execute'](){const _0x296fe0=sortSuggestions(Array['from'](this['_suggestions']['values']()));for(const _0x84ac60 of _0x296fe0){const _0x454255=_0x84ac60['getRanges']();if(!this['editor']['model']['canEditAt'](_0x454255))return;}executeCommandForSuggestions(this['editor']['model'],this['_command'],_0x296fe0);}}class ExecuteOnSelectedSuggestionsCommand extends ckeditor5['Command']{['_command'];['_suggestions'];['_selectedSuggestions'];constructor(_0x34473d,_0x3775dd,_0x57776f){super(_0x34473d),this['_command']=_0x3775dd,this['_suggestions']=_0x57776f,this['_selectedSuggestions']=new Set(),this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x37634c=this['editor']['model']['document']['selection'],_0x27be7f=Array['from'](this['_suggestions']['values']());this['_selectedSuggestions']=getSelectedSuggestions(_0x37634c,_0x27be7f),this['isEnabled']=this['_command']['isEnabled']&&!!this['_selectedSuggestions']['size'];}['execute'](){const _0x5946a7=sortSuggestions(Array['from'](this['_selectedSuggestions']));for(const _0x1d36ca of _0x5946a7){const _0x4b4f02=_0x1d36ca['getRanges']();if(!this['editor']['model']['canEditAt'](_0x4b4f02))return;}executeCommandForSuggestions(this['editor']['model'],this['_command'],_0x5946a7);}}class Suggestion extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['id'];['type'];['subType'];['author'];['creator'];['isExternal'];['data'];['createdAt'];['_originalSuggestionId'];['_isDataLoaded']=!0x1;['_model'];['_onAccept'];['_onDiscard'];['_onAttributesChange'];['_markerNames'];constructor(_0x5e6b7d,_0x2f1b5d){super(),this['id']=_0x2f1b5d['id'],this['type']=_0x2f1b5d['type'],this['subType']=_0x2f1b5d['subType']||null,this['author']=_0x2f1b5d['author'],this['creator']=_0x2f1b5d['creator']||_0x2f1b5d['author'],this['isExternal']=Boolean(_0x2f1b5d['attributes']&&_0x2f1b5d['attributes']['@external']),this['data']=null,this['_originalSuggestionId']=_0x2f1b5d['originalSuggestionId']||null,this['_model']=_0x5e6b7d,this['_onAccept']=_0x2f1b5d['onAccept'],this['_onDiscard']=_0x2f1b5d['onDiscard'],this['_onAttributesChange']=_0x2f1b5d['onAttributesChange'],this['_markerNames']=new Set(),this['createdAt']=null,this['set']('authoredAt',null),this['set']('attributes',_0x2f1b5d['attributes']||{}),this['set']('previous',null),this['set']('next',null),this['set']('commentThread',null),this['set']('_saved',!0x1),this['decorate']('accept'),this['decorate']('discard');}get['head'](){let _0x49d9f4=this;for(;_0x49d9f4['previous'];)_0x49d9f4=_0x49d9f4['previous'];return _0x49d9f4;}get['hasComments'](){return!!this['commentThread']&&this['commentThread']['length']>0x0;}get['isMultiRange'](){if(0x0==this['_markerNames']['size'])return!0x1;return 0x6==Array['from'](this['_markerNames'])[0x0]['split'](':')['length'];}get['isInContent'](){return null!==this['getFirstMarker']();}['addMarkerName'](_0x4fc532){this['_markerNames']['add'](_0x4fc532);}['getMarkerNames'](){return Array['from'](this['_markerNames']);}['getMarkers'](){return this['getMarkerNames']()['map'](_0x32bef5=>this['_model']['markers']['get'](_0x32bef5))['filter'](_0x4258f4=>_0x4258f4);}['getFirstMarker'](){return this['getMarkers']()[0x0]||null;}['removeMarkers'](){this['_model']['change'](_0x4e798e=>{for(const _0x444daf of this['getMarkers']())_0x4e798e['removeMarker'](_0x444daf);}),this['_markerNames']['clear']();}['removeMarker'](_0x55412d){this['_model']['change'](_0x343aed=>{_0x343aed['removeMarker'](_0x55412d);}),this['_markerNames']['delete'](_0x55412d);}['addRange'](_0x313c7f){const _0x273355='suggestion:'+this['type']+':'+this['subType']+':'+this['id']+':'+this['creator']['id']+':'+Suggestion['getMultiRangeId']();this['addMarkerName'](_0x273355),this['_model']['change'](_0x22e77b=>{_0x22e77b['addMarker'](_0x273355,{'range':_0x313c7f,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x1a7640){for(const _0x9ddd8 of this['getRanges']())if(_0x9ddd8['isIntersecting'](_0x1a7640))return!0x0;return!0x1;}['getRanges'](){return this['getMarkers']()['map'](_0x2e49d0=>_0x2e49d0['getRange']());}['getItems'](){return this['getRanges']()['reduce']((_0x5e98aa,_0x37f006)=>[..._0x5e98aa,..._0x37f006['getItems']()],[]);}['getFirstRange'](){return this['getFirstMarker']()?.['getRange']()||null;}['getContainedElement'](){const _0x50777f=this['getRanges']();if(0x1!=_0x50777f['length'])return null;const _0x519a19=_0x50777f[0x0],_0x21aa93=_0x519a19['start']['nodeAfter'],_0x502e87=_0x519a19['end']['nodeBefore'];return _0x21aa93 instanceof ckeditor5['ModelElement']?_0x21aa93!=_0x502e87?null:_0x21aa93:null;}['accept'](){this['_onAccept'](this['getRanges'](),this['data'],this['attributes']),this['removeMarkers']();}['discard'](){this['_onDiscard'](this['getRanges'](),this['data'],this['attributes']),this['removeMarkers']();}['getAllAdjacentSuggestions'](){const _0x463faa=[];let _0x512239=this['head'];for(;_0x512239;)_0x463faa['push'](_0x512239),_0x512239=_0x512239['next'];return _0x463faa;}['setAttribute'](_0x6aee39,_0x451826){const _0x369a9c=_0x402449(this['attributes']);set(_0x369a9c,_0x6aee39,_0x451826),_0x295436(_0x369a9c,this['attributes'])||(this['attributes']=_0x369a9c,this['_onAttributesChange'](_0x369a9c));}['removeAttribute'](_0x852991){const _0x4013f7=_0x402449(this['attributes']);unset(_0x4013f7,_0x852991),_0x295436(_0x4013f7,this['attributes'])||(this['attributes']=_0x4013f7,this['_onAttributesChange'](this['attributes']));}['toJSON'](){return{'id':this['id'],'type':this['subType']?this['type']+':'+this['subType']:this['type'],'authorId':this['creator']['id'],'createdAt':this['createdAt'],'hasComments':this['hasComments'],'data':this['data'],'attributes':this['attributes']};}static['getMultiRangeId'](){return ckeditor5['uid']()['substr'](0x1,0x5);}}function getTranslation$1(_0x2b64ea,_0x28542a,_0x2c7567){const _0x27ace5=_0x2b64ea['t'],t=_0x2b64ea['t'];switch(_0x28542a){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'Preview\x20final\x20content':return t('Preview\x20final\x20content');case'Final\x20content\x20preview':return t('Final\x20content\x20preview');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x2c7567);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x2c7567);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x2c7567);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x2c7567);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x2c7567);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0x2c7567);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x2c7567);case'*Replace\x20image*':return t('*Replace\x20image*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x2c7567);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x2c7567);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x2c7567);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x2c7567);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x2c7567);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x2c7567);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x2c7567);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x2c7567);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x2c7567);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x2c7567);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x2c7567);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x2c7567);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x2c7567);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x2c7567);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x2c7567);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x2c7567);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x2c7567);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x2c7567);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0x2c7567);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x2c7567);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x2c7567);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x2c7567);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x2c7567);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x2c7567);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x2c7567);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x2c7567);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x2c7567);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x2c7567);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x2c7567);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x2c7567);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x2c7567);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_NUMBERED_LIST_ARABIC_INDIC':return t({'string':'numbered\x20list\x20(arabic-indic)','id':'ELEMENT_NUMBERED_LIST_ARABIC_INDIC'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x2c7567);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x2c7567);case'FORMAT_ALIGNMENT':return t({'string':'alignment','id':'FORMAT_ALIGNMENT'});case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x2c7567);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_TYPE':return t({'string':'table\x20cell\x20type','id':'FORMAT_TABLE_CELL_TYPE'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x2c7567);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x2c7567);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0x2c7567);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x2c7567);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0x2c7567);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x2c7567);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x2c7567);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x2c7567);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x2c7567);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x2c7567);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x2c7567);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x2c7567);case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return _0x27ace5({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x2c7567);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x27ace5({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x2c7567);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x2c7567);case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x2c7567);case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x2c7567);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x2c7567);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x28542a;}}class SuggestionDescriptionFactory{['_customCallbacks'];['_itemLabels'];['_itemLabelsCallbacks'];['_attributeLabels'];['_schema'];['_locale'];constructor(_0x1d8d12,_0x566f3b){this['_customCallbacks']=[],this['_itemLabels']=new Map(),this['_itemLabelsCallbacks']=[],this['_attributeLabels']=new Map(),this['_schema']=_0x1d8d12,this['_locale']=_0x566f3b;}['getDescriptions'](_0x4b2ab8){const _0x2716a8=[],_0x3888b3=new Set(),_0x4c1639=new Set();for(let _0x496c1b=0x0;_0x496c1b<_0x4b2ab8['length'];_0x496c1b++){const _0x555de9=_0x4b2ab8[_0x496c1b];if(!_0x555de9['isInContent'])continue;const _0x2b52fb=this['_handleCustomCallbackDescription'](_0x555de9);if(_0x2b52fb){if(null!=_0x555de9['subType']){if(_0x3888b3['has'](_0x555de9['subType']))continue;_0x3888b3['add'](_0x555de9['subType']);}_0x2716a8['push'](_0x2b52fb);}else{if('attribute'==_0x555de9['type']){const _0x536be6=_0x555de9['data']['key'];if(_0x4c1639['has'](_0x536be6))continue;_0x4c1639['add'](_0x555de9['data']['key']),_0x536be6==renameAttributeKey?this['_handleRenameSuggestionDescription'](_0x2716a8,_0x555de9):this['_handleAttributeSuggestionDescription'](_0x2716a8,_0x555de9);continue;}'insertion'!=_0x555de9['type']&&'deletion'!=_0x555de9['type']||this['_handleInsertRemoveSuggestionDescription'](_0x2716a8,_0x555de9,_0x4b2ab8[_0x496c1b+0x1]);}}return this['_resolveDescriptionItems'](_0x2716a8);}['registerDescriptionCallback'](_0x285148){this['_customCallbacks']['push'](_0x285148);}['registerElementLabel'](_0x2ccb0e,_0xbef500,_0x263d62=ckeditor5['priorities']['normal']){'function'==typeof _0x2ccb0e?ckeditor5['insertToPriorityArray'](this['_itemLabelsCallbacks'],{'matchingCallback':_0x2ccb0e,'label':_0xbef500,'priority':_0x263d62}):this['_itemLabels']['set'](_0x2ccb0e,_0xbef500);}['registerAttributeLabel'](_0x484ce3,_0x201f2c){this['_attributeLabels']['set'](_0x484ce3,_0x201f2c);}['getItemLabel'](_0x28309f,_0x45b6f4=0x1){let _0x4a6401;for(const _0x2e4a3e of this['_itemLabelsCallbacks'])if(_0x2e4a3e['matchingCallback'](_0x28309f)){_0x4a6401=_0x2e4a3e['label'];break;}return _0x4a6401||(_0x4a6401=this['_itemLabels']['get'](_0x28309f['name'])),_0x4a6401?_0x4a6401(_0x45b6f4):0x1!==_0x45b6f4?_0x45b6f4+'\x20'+_0x28309f['name']+'s':''+_0x28309f['name'];}['_addDescriptionItems'](_0xb306e8,_0x30c169){const _0x48821d=_0x30c169['getFirstRange']()['getWalker'](),_0x3f7261='insertion'==_0x30c169['type']?'add':'remove';for(const _0x3eb6f1 of _0x48821d){const _0x1e4931=_0x3eb6f1['item'],_0x53d27d=_0xb306e8[_0xb306e8['length']-0x1];if(_0x1e4931['is']('$textProxy'))_0x53d27d&&_0x53d27d['type']['indexOf']('Container')>-0x1&&_0xb306e8['pop'](),_0x53d27d&&'text'==_0x53d27d['type']?_0x53d27d[_0x3f7261]+=_0x1e4931['data']:_0xb306e8['push']({'type':'text','add':'add'==_0x3f7261?_0x1e4931['data']:'','remove':'remove'==_0x3f7261?_0x1e4931['data']:''});else{if(this['_schema']['isObject'](_0x1e4931)){const _0x4153d4=_0x1e4931;if(_0x53d27d&&_0x53d27d['type']['indexOf']('Container')>-0x1&&_0xb306e8['pop'](),'elementEnd'==_0x3eb6f1['type'])continue;_0x53d27d&&_0x53d27d['type']==_0x3f7261+'Object'&&_0x53d27d['element']['name']==_0x4153d4['name']?_0x53d27d['quantity']++:_0xb306e8['push']({'type':_0x3f7261+'Object','element':_0x4153d4,'quantity':0x1}),_0x48821d['skip'](_0x3672aa=>!('elementEnd'==_0x3672aa['type']&&_0x3672aa['item']==_0x1e4931));}else{if(this['_schema']['checkChild'](_0x1e4931,'$text')||_0x1e4931['is']('element','softBreak')){const _0x50ff49=_0x1e4931;if('add'==_0x3f7261&&'elementStart'==_0x3eb6f1['type']||'remove'==_0x3f7261&&'elementEnd'==_0x3eb6f1['type'])continue;if(_0x53d27d&&-0x1==_0x53d27d['type']['indexOf']('Container')){'text'==_0x53d27d['type']&&(_0x53d27d[_0x3f7261]+='\x0a');continue;}let _0x236ab9;if(_0x236ab9='add'==_0x3f7261?_0x50ff49['nextSibling']&&!this['_schema']['isObject'](_0x50ff49['nextSibling'])?_0x50ff49['nextSibling']:null:_0x50ff49['previousSibling']&&!this['_schema']['isObject'](_0x50ff49['previousSibling'])?_0x50ff49['previousSibling']:null,_0x50ff49['isEmpty']||_0x236ab9&&_0x236ab9['isEmpty']){const _0x4ec7c9=_0x236ab9&&_0x236ab9['isEmpty']?_0x236ab9:_0x50ff49;_0x53d27d&&_0x53d27d['type']==_0x3f7261+'EmptyContainer'&&_0x53d27d['element']['name']==_0x4ec7c9['name']?_0x53d27d['quantity']++:_0xb306e8['push']({'type':_0x3f7261+'EmptyContainer','element':_0x4ec7c9,'quantity':0x1});}else _0xb306e8['push']({'type':_0x3f7261+'Container','element':_0x50ff49});}}}}}['_resolveDescriptionItems'](_0x22c36a){const _0x55298b=this['_locale'],_0x2303ef=[],_0x3995ef=[],_0x4f1871=[];for(const _0x90a3ed of _0x22c36a)switch(_0x90a3ed['type']){case'text':if(_0x90a3ed['add']=_0x90a3ed['add']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),_0x90a3ed['remove']=_0x90a3ed['remove']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),''!=_0x90a3ed['add']&&''!=_0x90a3ed['remove']){_0x2303ef['push']({'type':'replace','content':getTranslation$1(_0x55298b,'REPLACE_TEXT',['\x22'+_0x90a3ed['remove']+'\x22','\x22'+_0x90a3ed['add']+'\x22'])});continue;}if(null!=_0x90a3ed['add']['match'](/^ +$/)){_0x2303ef['push']({'type':'insertion','content':getTranslation$1(_0x55298b,'*Insert:*\x20%0',getTranslation$1(_0x55298b,'ELEMENT_SPACE',_0x90a3ed['add']['length']))});continue;}if(null!=_0x90a3ed['remove']['match'](/^ +$/)){_0x2303ef['push']({'type':'deletion','content':getTranslation$1(_0x55298b,'*Remove:*\x20%0',getTranslation$1(_0x55298b,'ELEMENT_SPACE',_0x90a3ed['remove']['length']))});continue;}if(''!=_0x90a3ed['add']){_0x2303ef['push']({'type':'insertion','content':getTranslation$1(_0x55298b,'*Insert:*\x20%0','\x22'+_0x90a3ed['add']+'\x22')});continue;}_0x2303ef['push']({'type':'deletion','content':getTranslation$1(_0x55298b,'*Remove:*\x20%0','\x22'+_0x90a3ed['remove']+'\x22')});continue;case'addEmptyContainer':case'addObject':_0x2303ef['push']({'type':'insertion','content':getTranslation$1(_0x55298b,'*Insert:*\x20%0',this['getItemLabel'](_0x90a3ed['element'],_0x90a3ed['quantity']))});continue;case'removeEmptyContainer':case'removeObject':_0x2303ef['push']({'type':'deletion','content':getTranslation$1(_0x55298b,'*Remove:*\x20%0',this['getItemLabel'](_0x90a3ed['element'],_0x90a3ed['quantity']))});continue;case'addContainer':_0x2303ef['push']({'type':'insertion','content':getTranslation$1(_0x55298b,'*Split:*\x20%0',this['getItemLabel'](_0x90a3ed['element'],_0x90a3ed['quantity']))});continue;case'removeContainer':_0x2303ef['push']({'type':'deletion','content':getTranslation$1(_0x55298b,'*Merge:*\x20%0',this['getItemLabel'](_0x90a3ed['element'],_0x90a3ed['quantity']))});continue;case'addFormat':_0x3995ef['push'](_0x90a3ed['key']);continue;case'removeFormat':_0x4f1871['push'](_0x90a3ed['key']);continue;default:_0x2303ef['push'](_0x90a3ed);}if(_0x3995ef['length']){const _0x3510e5=_0x3995ef['map'](_0x43d719=>this['_attributeLabels']['has'](_0x43d719)?this['_attributeLabels']['get'](_0x43d719):_0x43d719)['join'](',\x20');_0x2303ef['push']({'type':'format','content':getTranslation$1(this['_locale'],'*Set\x20format:*\x20%0',_0x3510e5)});}if(_0x4f1871['length']){const _0x4ad8b5=_0x4f1871['map'](_0x462e17=>this['_attributeLabels']['has'](_0x462e17)?this['_attributeLabels']['get'](_0x462e17):_0x462e17)['join'](',\x20');_0x2303ef['push']({'type':'format','content':getTranslation$1(this['_locale'],'*Remove\x20format:*\x20%0',_0x4ad8b5)});}return _0x2303ef;}['_handleCustomCallbackDescription'](_0x47ebd8){for(const _0x14cf0d of this['_customCallbacks']){const _0x4bfa32=_0x14cf0d(_0x47ebd8);if(_0x4bfa32&&'type'in _0x4bfa32)return _0x4bfa32;}}['_handleAttributeSuggestionDescription'](_0x5505fc,_0x1522f1){const _0xc453f5=_0x1522f1['data'],_0x4b88d7=void 0x0===_0xc453f5['newValue']?'removeFormat':'addFormat';_0x5505fc['push']({'type':_0x4b88d7,'key':_0xc453f5['key']});}['_handleRenameSuggestionDescription'](_0x4ed346,_0x496fd3){_0x4ed346['push']({'type':'format','content':getTranslation$1(this['_locale'],'*Change\x20to:*\x20%0',this['getItemLabel'](_0x496fd3['getFirstRange']()['start']['nodeAfter'],0x1))});}['_handleInsertRemoveSuggestionDescription'](_0x4e45c8,_0xfe837f,_0x48ad8e){if(this['_addDescriptionItems'](_0x4e45c8,_0xfe837f),_0x48ad8e&&_0x48ad8e['getFirstRange']()&&!_0xfe837f['getFirstRange']()['end']['isEqual'](_0x48ad8e['getFirstRange']()['start'])){const _0x35fbb9=_0x4e45c8[_0x4e45c8['length']-0x1],_0x72bf66='insertion'==_0xfe837f['type']?'add':'remove';_0x35fbb9&&'text'==_0x35fbb9['type']&&(_0x35fbb9[_0x72bf66]+='\x0a');}}}class TrackChangesAIAssistant extends ckeditor5['Plugin']{['afterInit'](){const _0x25e645=this['editor'],_0x2a949d=_0x25e645['plugins']['get']('TrackChangesEditing');_0x25e645['commands']['get']('showAIAssistant')&&_0x2a949d['enableCommand']('showAIAssistant');}}class _0x2b7303 extends ckeditor5['Plugin']{['afterInit'](){const _0x2e51bc=this['editor'],_0x42ed9c=_0x2e51bc['plugins']['get']('TrackChangesEditing');_0x2e51bc['commands']['get']('toggleAi')&&_0x42ed9c['enableCommand']('toggleAi');}}class TrackChangesAIQuickActions extends ckeditor5['Plugin']{['afterInit'](){const _0x26312a=this['editor'],_0x539125=_0x26312a['plugins']['get']('TrackChangesEditing');_0x26312a['commands']['get']('aiQuickAction')&&_0x539125['enableCommand']('aiQuickAction');}}class TrackChangesAlignment extends ckeditor5['Plugin']{['afterInit'](){const _0x21bf7e=this['editor'],_0x61ef48=_0x21bf7e['locale'];if(!_0x21bf7e['plugins']['has']('AlignmentEditing'))return;const _0x4a4a6d=_0x21bf7e['plugins']['get']('TrackChangesEditing');_0x4a4a6d['enableDefaultAttributesIntegration']('alignment'),_0x4a4a6d['descriptionFactory']['registerAttributeLabel']('alignment',getTranslation$1(_0x61ef48,'FORMAT_ALIGNMENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x28d393=this['editor'],_0x5c81ab=_0x28d393['locale'];_0x28d393['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x24c54e=>{if('formatBlock'!=_0x24c54e['type'])return;const {data:_0x5db888}=_0x24c54e;if(_0x5db888&&'alignment'==_0x5db888['commandName']){const _0xbe3909=_0x5db888['commandParams'][0x0]['value'];return{'type':'format','content':getTranslation$1(_0x5c81ab,'*Format:*\x20%0',function(_0x39a369){switch(_0x39a369){case'left':return getTranslation$1(_0x5c81ab,'FORMAT_ALIGN_TO_LEFT');case'right':return getTranslation$1(_0x5c81ab,'FORMAT_ALIGN_TO_RIGHT');case'center':return getTranslation$1(_0x5c81ab,'FORMAT_ALIGN_TO_CENTER');case'justify':return getTranslation$1(_0x5c81ab,'FORMAT_JUSTIFY_TEXT');}}(_0xbe3909))};}});}}const basicStylesPlugins=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class TrackChangesBasicStyles extends ckeditor5['Plugin']{['afterInit'](){const _0x17a56b=this['editor'],_0x3f3119=_0x17a56b['plugins']['get']('TrackChangesEditing'),_0x2a887d=_0x17a56b['locale'];for(const _0x57135b of basicStylesPlugins){if(!_0x17a56b['plugins']['has'](_0x57135b))continue;const _0x4ee63b=_0x57135b['slice'](0x0,-0x7)['toLowerCase'](),_0x1d820f='FORMAT_'+_0x4ee63b['toUpperCase']();_0x3f3119['enableDefaultAttributesIntegration'](_0x4ee63b),_0x3f3119['descriptionFactory']['registerAttributeLabel'](_0x4ee63b,getTranslation$1(_0x2a887d,_0x1d820f));}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x31c634=this['editor'],_0x9effa2=_0x31c634['locale'],_0x573bb9=_0x31c634['plugins']['get']('TrackChangesEditing');function _0x53e4b6(_0x4d39c0,_0x74f0c0){_0x573bb9['descriptionFactory']['registerDescriptionCallback'](_0x4eba82=>{if('formatInline'!=_0x4eba82['type'])return;const {data:_0x1dfdfb}=_0x4eba82;return _0x1dfdfb&&_0x1dfdfb['commandName']===_0x4d39c0?_0x1dfdfb['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x9effa2,'*Format:*\x20%0',_0x74f0c0)}:{'type':'format','content':getTranslation$1(_0x9effa2,'*Remove\x20format:*\x20%0',_0x74f0c0)}:void 0x0;});}_0x53e4b6('bold',getTranslation$1(_0x9effa2,'FORMAT_BOLD')),_0x53e4b6('italic',getTranslation$1(_0x9effa2,'FORMAT_ITALIC')),_0x53e4b6('underline',getTranslation$1(_0x9effa2,'FORMAT_UNDERLINE')),_0x53e4b6('code',getTranslation$1(_0x9effa2,'FORMAT_CODE')),_0x53e4b6('strikethrough',getTranslation$1(_0x9effa2,'FORMAT_STRIKETHROUGH')),_0x53e4b6('subscript',getTranslation$1(_0x9effa2,'FORMAT_SUBSCRIPT')),_0x53e4b6('superscript',getTranslation$1(_0x9effa2,'FORMAT_SUPERSCRIPT'));}}class TrackChangesBlockQuote extends ckeditor5['Plugin']{['afterInit'](){const _0x19776b=this['editor'],_0x85a2eb=_0x19776b['locale'];if(!_0x19776b['plugins']['has']('BlockQuoteEditing'))return;const _0x38b97e=_0x19776b['plugins']['get']('TrackChangesEditing'),_0x343d1a=this['editor']['commands']['get']('blockQuote');_0x38b97e['enableCommand']('blockQuote',(_0x457b89,_0x4f3983={})=>{const _0x19b074=this['editor']['model']['document']['selection'],_0x19da16=_0x4f3983&&void 0x0!==_0x4f3983['forceValue']?_0x4f3983['forceValue']:!_0x343d1a['value'];let _0x21a121=[];if(_0x19da16){const _0x433f7d=Array['from'](_0x19b074['getSelectedBlocks']())['filter'](_0xdcaa22=>isInQuote(_0xdcaa22)||checkCanBeQuoted(_0xdcaa22,this['editor']['model']['schema']));_0x21a121=getRangesOfBlockGroups(_0x433f7d,_0x19776b['model']);}else{const _0x87ed96=Array['from'](_0x19b074['getSelectedBlocks']())['filter'](_0x3353e8=>isInQuote(_0x3353e8));_0x21a121=getRangesOfBlockGroups(_0x87ed96,_0x19776b['model']);}_0x19776b['model']['change'](()=>{for(const _0x5b2707 of _0x21a121)_0x38b97e['markBlockFormat'](_0x5b2707,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x19da16}]});});}),_0x38b97e['descriptionFactory']['registerDescriptionCallback'](_0x29a444=>{const {data:_0x58eae1}=_0x29a444;if(_0x58eae1&&'blockQuote'==_0x58eae1['commandName']){const _0x237dd8=getTranslation$1(_0x85a2eb,'ELEMENT_BLOCK_QUOTE');return _0x58eae1['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x85a2eb,'*Set\x20format:*\x20%0',_0x237dd8)}:{'type':'format','content':getTranslation$1(_0x85a2eb,'*Remove\x20format:*\x20%0',_0x237dd8)};}});}}function checkCanBeQuoted(_0x94673f,_0x3e5cc8){const _0x204ea6=_0x3e5cc8['checkChild'](_0x94673f['parent'],'blockQuote'),_0x5bb262=_0x3e5cc8['checkChild'](['$root','blockQuote'],_0x94673f);return _0x204ea6&&_0x5bb262;}function isInQuote(_0xb1285){return'blockQuote'==_0xb1285['parent']['name'];}class _0x111c9f extends ckeditor5['Plugin']{['afterInit'](){const _0x45306c=this['editor'],_0x4895e2=_0x45306c['locale'],_0x4a304b=_0x45306c['plugins']['get']('TrackChangesEditing');_0x45306c['plugins']['has']('BookmarkEditing')&&(_0x4a304b['enableCommand']('insertBookmark'),_0x4a304b['enableDefaultAttributesIntegration']('updateBookmark'),_0x4a304b['descriptionFactory']['registerDescriptionCallback'](_0x35864b=>{if('insertion'!=_0x35864b['type']&&'deletion'!=_0x35864b['type']&&'attribute'!=_0x35864b['type'])return;const _0x5c92bd=_0x35864b['getContainedElement']();if(null==_0x5c92bd)return;if(!_0x5c92bd['is']('element','bookmark'))return;const _0x11fbd8=_0x5c92bd['getAttribute']('bookmarkId');if('insertion'==_0x35864b['type'])return{'type':'insertion','content':getTranslation$1(_0x4895e2,'*Insert:*\x20%0','\x22'+_0x11fbd8+'\x22\x20'+getTranslation$1(_0x4895e2,'ELEMENT_BOOKMARK'))};if('deletion'==_0x35864b['type'])return{'type':'deletion','content':getTranslation$1(_0x4895e2,'*Remove:*\x20%0','\x22'+_0x11fbd8+'\x22\x20'+getTranslation$1(_0x4895e2,'ELEMENT_BOOKMARK'))};const {data:_0x42c405}=_0x35864b;if(!_0x42c405||'bookmarkId'!=_0x42c405['key'])return;return{'type':'format','content':getTranslation$1(_0x4895e2,'*Set\x20bookmark:*\x20%0','\x22'+_0x42c405['newValue']+'\x22')};}));}}class _0x5872a5 extends ckeditor5['Plugin']{['afterInit'](){const _0x2d63b1=this['editor'];_0x2d63b1['plugins']['has']('CaseChange')&&(_0x2d63b1['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseUpper'),_0x2d63b1['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseLower'),_0x2d63b1['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseTitle'));}}class _0xfa44cb extends ckeditor5['Plugin']{['afterInit'](){const _0x230e88=this['editor'];_0x230e88['commands']['get']('ckbox')&&_0x230e88['plugins']['get']('TrackChangesEditing')['enableCommand']('ckbox');}}class _0x50bf17 extends ckeditor5['Plugin']{['afterInit'](){const _0x40c57b=this['editor'];if(!_0x40c57b['plugins']['has']('CodeBlock'))return;const _0x34293c=_0x40c57b['plugins']['get']('TrackChangesEditing'),_0x1b18f5=_0x40c57b['locale'],_0x237799=_0x40c57b['config']['get']('codeBlock')['languages'],_0xe7e27f=_0x40c57b['commands']['get']('codeBlock');_0x34293c['enableCommand']('indentCodeBlock'),_0x34293c['enableCommand']('outdentCodeBlock'),_0x34293c['enableCommand']('codeBlock',(_0x2b58d9,_0x5df0fb={})=>{const _0x267ce7=_0x40c57b['model'],_0x2746b9=_0x40c57b['model']['document']['selection'],_0x2518d6=_0x5df0fb&&void 0x0!==_0x5df0fb['forceValue']?_0x5df0fb['forceValue']:!_0xe7e27f['value'];let _0x22d3d5;_0x5df0fb['language']||(_0x5df0fb['language']=_0x237799[0x0]['language']),_0x22d3d5=_0x2518d6?Array['from'](_0x2746b9['getSelectedBlocks']())['filter'](_0x2ad3d7=>_0x1a4fd7(_0x2ad3d7)||_0xbbc2ef(_0x2ad3d7,_0x267ce7['schema'])):Array['from'](_0x2746b9['getSelectedBlocks']())['filter'](_0x539699=>_0x1a4fd7(_0x539699));const _0x103e62=getRangesOfBlockGroups(_0x22d3d5,_0x267ce7);_0x267ce7['change'](()=>{for(const _0x18085e of _0x103e62)_0x34293c['markBlockFormat'](_0x18085e,{'commandName':'codeBlock','commandParams':[{..._0x5df0fb,'forceValue':_0x2518d6}],'formatGroupId':'blockName'});});}),(_0x34293c['descriptionFactory']['registerElementLabel']('codeBlock',_0x1d0593=>getTranslation$1(_0x1b18f5,'ELEMENT_CODE_BLOCK',_0x1d0593)),_0x34293c['descriptionFactory']['registerDescriptionCallback'](_0x458c65=>{if('formatBlock'!=_0x458c65['type'])return;const _0x1b2f70=_0x1b18f5['t'],{data:_0x2e20cd}=_0x458c65;if(!_0x2e20cd||'codeBlock'!=_0x2e20cd['commandName'])return;const _0x2aaccd=_0x2e20cd['commandParams'][0x0]['language'],_0x5f3249=_0x237799['find'](_0x59bcc9=>_0x59bcc9['language']===_0x2aaccd)['label'],_0x54bd3c=_0x1b2f70(_0x5f3249)['toLowerCase']();return _0x2e20cd['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x1b18f5,'*Set\x20format:*\x20%0',getTranslation$1(_0x1b18f5,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x54bd3c+')')}:{'type':'format','content':getTranslation$1(_0x1b18f5,'*Remove\x20format:*\x20%0',getTranslation$1(_0x1b18f5,'ELEMENT_CODE_BLOCK',0x1))};}));}}function _0xbbc2ef(_0x13cb4e,_0x365e55){return!_0x13cb4e['is']('rootElement')&&!_0x365e55['isLimit'](_0x13cb4e)&&_0x365e55['checkChild'](_0x13cb4e['parent'],'codeBlock');}function _0x1a4fd7(_0x4d7401){return'codeBlock'==_0x4d7401['name'];}class TrackChangesComments extends ckeditor5['Plugin']{['afterInit'](){const _0x403de7=this['editor'];if(!_0x403de7['plugins']['has']('CommentsEditing'))return;_0x403de7['plugins']['get']('TrackChangesEditing')['enableCommand']('addCommentThread');}}class TrackChangesDeleteCommand extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['Delete']];}['init'](){const _0xf98840=this['editor'],_0xbb7b3a=_0xf98840['plugins']['get']('TrackChangesEditing');_0xbb7b3a['enableCommand']('delete');const _0x477a60=_0xf98840['commands']['get']('deleteForward');_0xbb7b3a['enableCommand']('deleteForward',(_0x19dcbc,_0x5e4a31={})=>{const _0x5a1abb=_0xf98840['model']['createSelection'](_0xf98840['model']['document']['selection']);_0x5a1abb['isCollapsed']&&_0xf98840['model']['modifySelection'](_0x5a1abb,{'direction':'forward','unit':_0x5e4a31['unit']});const _0x1035fc=_0x5a1abb['getFirstRange'](),_0x2537b2=ckeditor5['ModelLiveRange']['fromRange'](_0x1035fc);let _0x3af9c5;_0x19dcbc(_0x5e4a31),_0x3af9c5='$graveyard'==_0x2537b2['root']['rootName']?_0xf98840['model']['createRange'](_0x1035fc['start']):_0xf98840['model']['createRange'](_0x2537b2['start'],_0x2537b2['end']),_0x2537b2['detach'](),_0xf98840['model']['enqueueChange'](_0x477a60['buffer']['batch'],_0x31878a=>{_0x477a60['buffer']['lock'](),_0x31878a['setSelection'](_0x31878a['createRange'](_0x3af9c5['end'])),_0x477a60['buffer']['unlock']();});});}}class TrackChangesList extends ckeditor5['Plugin']{['afterInit'](){const _0x1de990=this['editor'];if(!_0x1de990['plugins']['has']('ListEditing'))return;const _0x5e0c35=_0x1de990['locale'],_0x2b5ce2=_0x1de990['plugins']['get']('TrackChangesEditing'),_0x5d0324=_0x1de990['plugins']['has']('TodoListEditing'),_0x14f99e=!!_0x1de990['config']['get']('list.multiBlock');function _0x17b0d2(_0x5eb428){return{'type':'format','content':''+getTranslation$1(_0x5e0c35,'*Set\x20format:*\x20%0',_0x5eb428)};}function _0x37c365(_0x2d0801){return{'type':'format','content':''+getTranslation$1(_0x5e0c35,'*Remove\x20format:*\x20%0',_0x2d0801)};}_0x2b5ce2['enableDefaultAttributesIntegration']('numberedList'),_0x2b5ce2['enableDefaultAttributesIntegration']('bulletedList'),_0x2b5ce2['enableDefaultAttributesIntegration']('customNumberedList'),_0x2b5ce2['enableDefaultAttributesIntegration']('customBulletedList'),_0x2b5ce2['enableDefaultAttributesIntegration']('indentList'),_0x2b5ce2['enableDefaultAttributesIntegration']('outdentList'),_0x2b5ce2['enableDefaultAttributesIntegration']('splitListItemAfter'),_0x2b5ce2['enableDefaultAttributesIntegration']('splitListItemBefore'),_0x14f99e&&(_0x2b5ce2['enableDefaultAttributesIntegration']('mergeListItemBackward'),_0x2b5ce2['enableDefaultAttributesIntegration']('mergeListItemForward')),_0x5d0324&&(_0x2b5ce2['enableDefaultAttributesIntegration']('todoList'),_0x2b5ce2['enableDefaultAttributesIntegration']('checkTodoList'),_0x2b5ce2['descriptionFactory']['registerDescriptionCallback'](_0x2e1598=>{const {data:_0x195cf4}=_0x2e1598;if(_0x195cf4&&'todoListChecked'==_0x195cf4['key'])return{'type':'format','content':_0x195cf4['newValue']?getTranslation$1(_0x5e0c35,'*Check\x20item*'):getTranslation$1(_0x5e0c35,'*Uncheck\x20item*')};}),this['editor']['model']['document']['registerPostFixer'](_0x11178e=>{if(_0x11178e['batch']['isUndo'])return!0x1;let _0x1d0642=!0x1;const _0x4bfeda=_0x2b5ce2['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x46a311=>'todoListChecked'===_0x2b5ce2['_getAttributeKey'](_0x46a311));for(const _0x15726e of _0x4bfeda){'todo'!=_0x15726e['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')&&(_0x2b5ce2['_findSuggestions'](_0x15726e['getFirstRange'](),'attribute')['find'](_0x4bfcea=>'listType'===_0x2b5ce2['_getAttributeKey'](_0x4bfcea['suggestion']))||(_0x11178e['removeMarker'](_0x15726e['getFirstMarker']()),_0x1d0642=!0x0));}return _0x1d0642;})),_0x2b5ce2['descriptionFactory']['registerAttributeLabel']('listIndent',getTranslation$1(_0x5e0c35,'FORMAT_INDENT'));const _0x152c01={'type':'format','content':''};_0x2b5ce2['descriptionFactory']['registerDescriptionCallback'](_0x1b10e9=>{const {data:_0x35a98f}=_0x1b10e9;if(!_0x35a98f||'listType'!=_0x35a98f['key'])return;let _0xa79b61=_0x1b10e9['head'];for(;_0xa79b61;){if(_0xa79b61['data']&&(('listStyle'==_0xa79b61['data']['key']||'listMarkerStyle'==_0xa79b61['data']['key'])&&(_0xa79b61['data']['newValue']&&'default'!=_0xa79b61['data']['newValue']||'default'!=_0xa79b61['data']['oldValue']&&!_0x35a98f['newValue'])||!_0x14f99e&&_0xa79b61['data']['key']==renameAttributeKey))return _0x152c01;_0xa79b61=_0xa79b61['next'];}if(null==_0x35a98f['newValue'])switch(_0x35a98f['oldValue']){case'bulleted':return _0x37c365(getTranslation$1(_0x5e0c35,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x37c365(getTranslation$1(_0x5e0c35,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x37c365(getTranslation$1(_0x5e0c35,'ELEMENT_TODO_LIST'));}switch(_0x35a98f['newValue']){case'bulleted':return _0x17b0d2(getTranslation$1(_0x5e0c35,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x17b0d2(getTranslation$1(_0x5e0c35,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x17b0d2(getTranslation$1(_0x5e0c35,'ELEMENT_TODO_LIST'));}}),_0x2b5ce2['descriptionFactory']['registerDescriptionCallback'](_0x5774f8=>{const {data:_0x10a142}=_0x5774f8;if(_0x10a142&&'listIndent'==_0x10a142['key'])return null==_0x10a142['newValue']||null==_0x10a142['oldValue']&&0x0==_0x10a142['newValue']?_0x152c01:void 0x0;}),_0x2b5ce2['descriptionFactory']['registerDescriptionCallback'](_0x6429b0=>{if('attribute'!=_0x6429b0['type'])return;const {data:_0x3b2e81}=_0x6429b0;if(!_0x3b2e81||'listItemId'!=_0x3b2e81['key'])return;const _0x938f16=checkSiblingsListItemId(_0x6429b0);return'newValue'==_0x938f16?{'type':'format','content':getTranslation$1(_0x5e0c35,'*Merge:*\x20list\x20item')}:'oldValue'==_0x938f16?{'type':'format','content':getTranslation$1(_0x5e0c35,'*Split:*\x20list\x20item')}:_0x152c01;}),_0x1de990['model']['document']['registerPostFixer'](_0x51fd32=>this['listItemIdFixer'](_0x51fd32)),_0x1de990['model']['document']['registerPostFixer'](_0x46f885=>this['noTrackChangesFixer'](_0x46f885)),_0x1de990['model']['document']['on']('change:data',(_0x1a02ae,_0x1375e7)=>{if(_0x1375e7['isUndo']||!_0x1375e7['isLocal'])return!0x1;this['assureChains']();},{'priority':'high'}),this['_supportLegacySuggestions']();}['listItemIdFixer'](_0x161366){if(_0x161366['batch']['isUndo']||!_0x161366['batch']['isLocal'])return!0x1;let _0x2fd473=!0x1;const _0x327df6=this['editor']['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x4df55b=>_0x4df55b['data']&&'listItemId'==_0x4df55b['data']['key'])['filter'](_0x1829eb=>_0x1829eb['data']['newValue']&&_0x1829eb['data']['oldValue']);for(const _0x4bcc3a of _0x327df6)checkSiblingsListItemId(_0x4bcc3a)||(_0x161366['removeMarker'](_0x4bcc3a['getFirstMarker']()),_0x2fd473=!0x0);return _0x2fd473;}['noTrackChangesFixer'](_0x11a4e7){if(_0x11a4e7['batch']['isUndo']||!_0x11a4e7['batch']['isLocal'])return!0x1;const _0x405132=this['editor']['plugins']['get']('TrackChangesEditing');if(_0x405132['trackChangesCommand']['value'])return!0x1;let _0x2e7d5c=!0x1;const _0x5e8309=['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle'],_0x17b5a5=this['editor']['model']['document']['differ']['getChanges']()['filter'](_0x8bf0f7=>'attribute'==_0x8bf0f7['type'])['filter'](_0x4a89d7=>_0x5e8309['includes'](_0x4a89d7['attributeKey']));if(0x0==_0x17b5a5['length'])return _0x2e7d5c;for(const _0x577780 of _0x17b5a5){const _0x38b115=_0x405132['_findSuggestions'](_0x577780['range'],'attribute')['filter'](_0x52cf7f=>!_0x52cf7f['meta']['isNextTo'])['map'](_0x4f80f7=>_0x4f80f7['suggestion'])['filter'](_0x4be891=>{const _0x28eeba=_0x405132['_getAttributeKey'](_0x4be891);return _0x5e8309['includes'](_0x28eeba);});if(_0x38b115['length']){for(const _0x450434 of _0x38b115)_0x11a4e7['removeMarker'](_0x450434['getFirstMarker']());_0x2e7d5c=!0x0;}}return _0x2e7d5c;}['assureChains'](){const _0x4d6e33=this['editor']['plugins']['get']('TrackChangesEditing'),_0xde12fb=['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle'];let _0xabeb19;const _0x3bb38e=new Set(this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x235f37=>{if(_0x235f37['data']['oldRange']||!_0x235f37['data']['newRange'])return null;if(!_0x235f37['name']['startsWith']('suggestion:attribute:'))return null;const {id:_0x3b3038}=_0x4d6e33['_splitMarkerName'](_0x235f37['name']);if(!_0x4d6e33['hasSuggestion'](_0x3b3038))return null;const _0x219ddc=_0x4d6e33['getSuggestion'](_0x3b3038);return _0xde12fb['includes'](_0x219ddc['data']['key']);})['map'](_0x4f2b06=>{const {id:_0x4e210b}=_0x4d6e33['_splitMarkerName'](_0x4f2b06['name']),_0xf3d757=_0x4d6e33['getSuggestion'](_0x4e210b);return _0xabeb19=_0xf3d757['attributes']['groupId'],_0xf3d757['getFirstRange']()['start']['nodeAfter'];}));if(0x0==_0x3bb38e['size'])return;const _0x115bf4=_0x4d6e33['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x23adf7=>'attribute'==_0x23adf7['type']&&_0x23adf7['data']&&_0xde12fb['includes'](_0x23adf7['data']['key'])&&_0x23adf7['attributes']['groupId']!=_0xabeb19)['map'](_0x5ece87=>({'listItem':_0x5ece87['getFirstRange']()['start']['nodeAfter'],'groupId':_0x5ece87['attributes']['groupId']})),_0x502d0c=new Set();for(const {groupId:_0x57329e,listItem:_0x3883c7}of _0x115bf4)_0x3bb38e['has'](_0x3883c7)&&_0x502d0c['add'](_0x57329e);for(const _0x2892f6 of _0x4d6e33['getSuggestions']())_0x502d0c['has'](_0x2892f6['attributes']['groupId'])&&_0x2892f6['setAttribute']('groupId',_0xabeb19);}['_supportLegacySuggestions'](){const _0xaac5b7=this['editor'],_0x4e0536=_0xaac5b7['locale'],_0x32fab3=_0xaac5b7['plugins']['get']('TrackChangesEditing');this['_registerLegacyDescription'](),_0x32fab3['_suggestionFactory']['registerCustomCallback']('formatBlock','documentList','accept',function(_0x1e4bf6,_0x105d19){const _0x343ae3=[];for(let _0x3dbd48 of _0x1e4bf6)_0x3dbd48['start']['nodeAfter']===_0x3dbd48['end']['parent']&&(_0x3dbd48=_0xaac5b7['model']['createRange'](_0xaac5b7['model']['createPositionAt'](_0x3dbd48['start']['nodeAfter'],0x0))),_0x343ae3['push'](_0x3dbd48);_0xaac5b7['model']['change'](_0xddfc74=>{const _0x95eb44=_0xaac5b7['model']['document']['selection'],_0xb76db7=Array['from'](_0x95eb44['getRanges']())['map'](_0x1b4603=>ckeditor5['ModelLiveRange']['fromRange'](_0x1b4603));_0xddfc74['setSelection'](_0x343ae3),_0xaac5b7['commands']['get'](_0x105d19['commandName'])['refresh'](),_0x105d19['commandParams']['push']({'forceDefaultExecution':!0x0}),_0xaac5b7['execute'](_0x105d19['commandName'],..._0x105d19['commandParams']),_0xddfc74['setSelection'](_0xb76db7);for(const _0x498a7e of _0xb76db7)_0x498a7e['detach']();});}),_0x32fab3['descriptionFactory']['registerElementLabel'](function(_0x41fdf1){const _0x231a8c=!_0xaac5b7['model']['schema']['isObject'](_0x41fdf1),_0x2e4748=_0x41fdf1['previousSibling'],_0x35d7c2=_0x41fdf1['nextSibling'],_0x23f78c=_0x41fdf1['getAttribute']('listItemId'),_0x2037f3=!_0x2e4748||_0x2e4748['getAttribute']('listItemId')!==_0x23f78c,_0x31bbeb=!_0x35d7c2||_0x35d7c2['getAttribute']('listItemId')!==_0x23f78c;return _0x231a8c&&Boolean(_0x23f78c)&&_0x2037f3&&_0x31bbeb;},_0x487dff=>getTranslation$1(_0x4e0536,'ELEMENT_LIST_ITEM',_0x487dff));}['_registerLegacyDescription'](){const _0x5697f2=this['editor'],_0x5767e4=_0x5697f2['locale'];function _0x570c3b(_0x5a8940){const _0x4538a0=_0x5697f2['commands']['get']('bulletedList')['value'],_0x2414db=_0x5697f2['commands']['get']('numberedList')['value'];return'numberedList'===_0x5a8940?_0x4538a0:_0x2414db;}_0x5697f2['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](function(_0x5497e1){if('formatBlock'!=_0x5497e1['type'])return;const {data:_0x1ddc1f}=_0x5497e1;if(!_0x1ddc1f)return;let _0x43c0da,_0x4700d8,_0x283c77,_0x50e01f;switch(_0x1ddc1f['commandName']){case'bulletedList':_0x283c77=_0x1ddc1f['commandParams'][0x0]['forceValue'],_0x50e01f=_0x570c3b(_0x1ddc1f['commandName']),_0x43c0da=_0x283c77?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x50e01f&&_0x5697f2['config']['get']('list.multiBlock')||(_0x43c0da='*Change\x20to:*\x20%0'),_0x4700d8={'type':'format','content':getTranslation$1(_0x5767e4,_0x43c0da,getTranslation$1(_0x5767e4,'ELEMENT_BULLETED_LIST'))};break;case'numberedList':_0x283c77=_0x1ddc1f['commandParams'][0x0]['forceValue'],_0x50e01f=_0x570c3b(_0x1ddc1f['commandName']),_0x43c0da=_0x283c77?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x50e01f&&_0x5697f2['config']['get']('list.multiBlock')||(_0x43c0da='*Change\x20to:*\x20%0'),_0x4700d8={'type':'format','content':getTranslation$1(_0x5767e4,_0x43c0da,getTranslation$1(_0x5767e4,'ELEMENT_NUMBERED_LIST'))};break;case'indentList':_0x43c0da='*Indent:*\x20%0',_0x4700d8={'type':'format','content':getTranslation$1(_0x5767e4,_0x43c0da,getTranslation$1(_0x5767e4,'ELEMENT_LIST_ITEM'))};break;case'outdentList':_0x43c0da=function(_0x74c247){const _0x42a9fc=_0x74c247['getFirstRange']();let _0x1c5d6a=_0x42a9fc['start']['nodeAfter'];for(;_0x1c5d6a&&_0x42a9fc['containsItem'](_0x1c5d6a);){if(_0x1c5d6a['getAttribute']('listIndent')>0x0)return!0x1;_0x1c5d6a=_0x1c5d6a['nextSibling'];}return!0x0;}(_0x5497e1)?getTranslation$1(_0x5767e4,'*Format:*\x20remove\x20from\x20%0',getTranslation$1(_0x5767e4,function(_0x3e2687){return'ELEMENT_'+_0x3e2687['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST';}(_0x5497e1))):getTranslation$1(_0x5767e4,'*Outdent:*\x20%0',getTranslation$1(_0x5767e4,'ELEMENT_LIST_ITEM')),_0x4700d8={'type':'format','content':_0x43c0da};break;case'mergeListItemBackward':case'mergeListItemForward':!0x1===_0x1ddc1f['multipleBlocks']&&(_0x43c0da='*Merge:*\x20%0',_0x4700d8={'type':'deletion','content':getTranslation$1(_0x5767e4,_0x43c0da,getTranslation$1(_0x5767e4,'ELEMENT_LIST_ITEM'))});}return _0x4700d8;});}}function checkSiblingsListItemId(_0x15fe0d){let _0x56ad3f=_0x15fe0d['getFirstRange']()['start']['nodeAfter']['previousSibling'];for(;_0x56ad3f;){const _0x10dbf7=_0x56ad3f['getAttribute']('listItemId');if(!_0x10dbf7)return!0x1;if(_0x10dbf7==_0x15fe0d['data']['newValue'])return'newValue';if(_0x10dbf7==_0x15fe0d['data']['oldValue'])return'oldValue';_0x56ad3f=_0x56ad3f['previousSibling'];}return!0x1;}class TrackChangesDocumentListProperties extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x5f0714=this['editor']['config']['get']('list.properties'),_0x2ac502=this['editor']['plugins']['get']('TrackChangesEditing');_0x5f0714['styles']&&_0x2ac502['enableDefaultAttributesIntegration']('listStyle'),_0x5f0714['reversed']&&_0x2ac502['enableDefaultAttributesIntegration']('listReversed'),_0x5f0714['startIndex']&&_0x2ac502['enableDefaultAttributesIntegration']('listStart');const _0x5c787a={'type':'format','content':''};_0x2ac502['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));const _0x43e283=this['editor']['locale'];_0x2ac502['descriptionFactory']['registerAttributeLabel']('listReversed',getTranslation$1(_0x43e283,'FORMAT_LIST_REVERSED')),_0x2ac502['descriptionFactory']['registerDescriptionCallback'](_0x4115db=>{const {data:_0x1b9473}=_0x4115db;if(_0x1b9473&&'listReversed'==_0x1b9473['key'])return null==_0x1b9473['newValue']||0x0==_0x1b9473['newValue']&&null==_0x1b9473['oldValue']?_0x5c787a:void 0x0;}),_0x2ac502['descriptionFactory']['registerAttributeLabel']('listStart',getTranslation$1(_0x43e283,'FORMAT_LIST_START')),_0x2ac502['descriptionFactory']['registerDescriptionCallback'](_0x41f81e=>{const {data:_0xc45377}=_0x41f81e;if(_0xc45377&&'listStart'==_0xc45377['key'])return null==_0xc45377['newValue']||0x1==_0xc45377['newValue']&&null==_0xc45377['oldValue']?_0x5c787a:void 0x0;}),this['editor']['model']['document']['registerPostFixer'](_0x30e346=>{if(_0x30e346['batch']['isUndo'])return!0x1;let _0x133667=!0x1;const _0x58261e=_0x2ac502['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x5e04c8=>{const _0x38acb1=_0x2ac502['_getAttributeKey'](_0x5e04c8);return'listStart'==_0x38acb1||'listReversed'==_0x38acb1;});for(const _0x4c790a of _0x58261e){const _0x11cf81=_0x4c790a['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType');if('numbered'==_0x11cf81||'customNumbered'==_0x11cf81)continue;_0x2ac502['_findSuggestions'](_0x4c790a['getFirstRange'](),'attribute')['find'](_0x32b88f=>'listType'==_0x2ac502['_getAttributeKey'](_0x32b88f['suggestion']))||(_0x30e346['removeMarker'](_0x4c790a['getFirstMarker']()),_0x133667=!0x0);}return _0x133667;}),this['_registerLegacyDescription']();}['handleDescriptions'](_0x4c27f1){const _0x31a70b=this['editor']['locale'],{data:_0x39b8cb}=_0x4c27f1,_0x332ca9={'type':'format','content':''};if(!_0x39b8cb||'listStyle'!=_0x39b8cb['key'])return;if(!_0x39b8cb['oldValue'])return'default'==_0x39b8cb['newValue']?_0x332ca9:{'type':'format','content':''+getTranslation$1(_0x31a70b,'*Set\x20format:*\x20%0',getTranslation$1(_0x31a70b,this['_getTranslationKeyForListStyle'](_0x39b8cb['newValue'])))};if(!_0x39b8cb['newValue']){if('default'==_0x39b8cb['oldValue'])return _0x332ca9;let _0x28b3e2=_0x4c27f1['head'];for(;_0x28b3e2;){if(_0x28b3e2['data']&&'listType'==_0x28b3e2['data']['key']&&_0x28b3e2['data']['newValue'])return _0x332ca9;_0x28b3e2=_0x28b3e2['next'];}return{'type':'format','content':''+getTranslation$1(_0x31a70b,'*Remove\x20format:*\x20%0',getTranslation$1(_0x31a70b,this['_getTranslationKeyForListStyle'](_0x39b8cb['oldValue'])))};}if('default'!=_0x39b8cb['newValue'])return{'type':'format','content':''+getTranslation$1(_0x31a70b,'*Set\x20format:*\x20%0',getTranslation$1(_0x31a70b,this['_getTranslationKeyForListStyle'](_0x39b8cb['newValue'])))};let _0x5b2b27=_0x4c27f1['head'];for(;_0x5b2b27;){if(_0x5b2b27['data']&&'listType'==_0x5b2b27['data']['key']&&_0x5b2b27['data']['newValue']&&_0x5b2b27['data']['oldValue'])return _0x332ca9;_0x5b2b27=_0x5b2b27['next'];}return{'type':'format','content':getTranslation$1(_0x31a70b,'*Set\x20format:*\x20%0',getTranslation$1(_0x31a70b,'ELEMENT_'+_0x4c27f1['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST_DEFAULT'))};}['_registerLegacyDescription'](){const _0x3e600f=this['editor'],_0x452bf6=_0x3e600f['locale'];_0x3e600f['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0xd4a86a=>{if('formatBlock'!=_0xd4a86a['type'])return;const {data:_0x45f6b1}=_0xd4a86a;if(!_0x45f6b1)return;let _0x26d1da,_0xc960a8;switch(_0x45f6b1['commandName']){case'listStyle':_0x26d1da='*Change\x20to:*\x20%0',_0xc960a8={'type':'format','content':getTranslation$1(_0x452bf6,_0x26d1da,getTranslation$1(_0x452bf6,this['_getTranslationKeyForListStyle'](_0x45f6b1['commandParams'][0x0]['type'])))};break;case'listReversed':_0x26d1da=_0x45f6b1['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0xc960a8={'type':'format','content':getTranslation$1(_0x452bf6,_0x26d1da)};break;case'listStart':_0x26d1da='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0xc960a8={'type':'format','content':getTranslation$1(_0x452bf6,_0x26d1da,_0x45f6b1['commandParams'][0x0]['startIndex'])};}return _0xc960a8;});}['_getTranslationKeyForListStyle'](_0x5aa717){return'ELEMENT_'+getListTypeFromListStyleType(_0x5aa717)['toUpperCase']()+'_LIST_'+_0x5aa717['toUpperCase']()['replace'](/-/g,'_');}}const _0x2f8239=['disc','circle','square'],_0x55cfc1=['decimal','decimal-leading-zero','lower-roman','upper-roman','lower-latin','upper-latin','arabic-indic'];function getListTypeFromListStyleType(_0x56e292){return _0x2f8239['includes'](_0x56e292)?'bulleted':_0x55cfc1['includes'](_0x56e292)?'numbered':null;}class _0x4c6f11 extends ckeditor5['Plugin']{['afterInit'](){const _0x16e367=this['editor'];_0x16e367['commands']['get']('emoji')&&_0x16e367['plugins']['get']('TrackChangesEditing')['enableCommand']('emoji');}}class TrackChangesEnterCommand extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['Enter']];}['init'](){const _0x3d5c41=this['editor'],_0x2681f=_0x3d5c41['plugins']['get']('TrackChangesEditing'),_0x105334=_0x3d5c41['commands']['get']('enter');_0x2681f['enableCommand']('enter',()=>{_0x3d5c41['model']['change'](_0x95dcfe=>{const _0x116b37=_0x3d5c41['model']['document']['selection'],_0x4d5c6e=_0x116b37['getFirstPosition'](),_0x2188db=ckeditor5['ModelLiveRange']['fromRange'](_0x116b37['getFirstRange']());if(_0x105334['enterBlock'](_0x95dcfe)){const _0x2d4055=_0x3d5c41['model']['createPositionAt'](_0x4d5c6e['parent']['nextSibling'],0x0),_0x145f82=_0x95dcfe['createRange'](_0x4d5c6e,_0x2d4055);_0x2681f['markInsertion'](_0x145f82);}else _0x95dcfe['setSelection'](_0x95dcfe['createRange'](_0x2188db['end']));_0x2188db['detach'](),_0x105334['fire']('afterExecute',{'writer':_0x95dcfe});});});}}class _0x6e8408 extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('FindAndReplaceEditing'))return;const _0x2581cb=this['editor']['plugins']['get']('TrackChangesEditing');_0x2581cb['enableCommand']('find',this['handleFindCommand']['bind'](this)),_0x2581cb['enableCommand']('findNext'),_0x2581cb['enableCommand']('findPrevious'),_0x2581cb['enableCommand']('replace'),_0x2581cb['enableCommand']('replaceAll');}['handleFindCommand'](_0x1ee850,_0x2274ca,_0x135464={}){const _0x3dd3f3=this['editor']['plugins']['get']('FindAndReplaceUtils');return _0x1ee850(_0x41b669=>{let _0x12bccc=('string'==typeof _0x2274ca?_0x3dd3f3['findByTextCallback'](_0x2274ca,_0x135464):_0x2274ca)(_0x41b669);Array['isArray'](_0x12bccc)&&(_0x12bccc={'results':_0x12bccc,'searchText':'string'==typeof _0x2274ca?_0x2274ca:''});const _0x18735b=_0x12bccc['results']['filter'](_0x19aa92=>!0x1===this['_isInDeletionRange'](_0x19aa92,_0x41b669['item']));return{..._0x12bccc,'results':_0x18735b};},_0x135464);}['_isInDeletionRange'](_0x2b8d71,_0x3f52af){const _0x9239b6=this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x3f52af,_0x2b8d71['start']),this['editor']['model']['createPositionAt'](_0x3f52af,_0x2b8d71['end']));for(const _0x38b461 of this['editor']['model']['markers']['getMarkersGroup']('suggestion:deletion'))if(null!==_0x9239b6['getIntersection'](_0x38b461['getRange']()))return!0x0;return!0x1;}}const fontPlugins=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class TrackChangesFont extends ckeditor5['Plugin']{['afterInit'](){const _0x57ecaf=this['editor']['locale'],_0x3835d5=this['editor']['plugins']['get']('TrackChangesEditing');for(const {pluginName:_0x584c6d,commandName:_0x5ca4e6}of fontPlugins)this['editor']['plugins']['has'](_0x584c6d)&&_0x3835d5['enableDefaultAttributesIntegration'](_0x5ca4e6);_0x3835d5['descriptionFactory']['registerAttributeLabel']('fontSize',getTranslation$1(_0x57ecaf,'FORMAT_FONT_SIZE')),_0x3835d5['descriptionFactory']['registerAttributeLabel']('fontFamily',getTranslation$1(_0x57ecaf,'FORMAT_FONT_FAMILY')),_0x3835d5['descriptionFactory']['registerAttributeLabel']('fontColor',getTranslation$1(_0x57ecaf,'FORMAT_FONT_COLOR')),_0x3835d5['descriptionFactory']['registerAttributeLabel']('fontBackgroundColor',getTranslation$1(_0x57ecaf,'FORMAT_FONT_BACKGROUND')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x1a7f73=this['editor'],_0x4a9319=_0x1a7f73['locale'];_0x1a7f73['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x281c22=>{const _0x4568c4=_0x4a9319['t'];if('formatInline'!=_0x281c22['type'])return;const {data:_0x1bf92f}=_0x281c22;if(null!=_0x1bf92f){if('fontSize'==_0x1bf92f['commandName']){const _0x32f91d=_0x1bf92f['commandParams'][0x0]['value'];if(_0x32f91d){const _0x5be34f=_0x4568c4(this['editor']['plugins']['get']('FontSize')['normalizeSizeOptions'](this['editor']['config']['get']('fontSize.options'))['find'](_0x49083b=>_0x49083b['model']==_0x32f91d)['title'])['toLowerCase']();return{'type':'format','content':getTranslation$1(_0x4a9319,'*Set\x20font\x20size:*\x20%0',_0x5be34f)};}return{'type':'format','content':getTranslation$1(_0x4a9319,'*Reset\x20font\x20size*')};}if('fontFamily'==_0x1bf92f['commandName']){const _0x4c6317=_0x1bf92f['commandParams'][0x0]['value'];return _0x4c6317?{'type':'format','content':getTranslation$1(_0x4a9319,'*Set\x20font\x20family:*\x20%0',_0x4c6317)}:{'type':'format','content':getTranslation$1(_0x4a9319,'*Reset\x20font\x20family*')};}if('fontColor'==_0x1bf92f['commandName']){const _0x12bb6d=_0x1bf92f['commandParams'][0x0]['value'];if(_0x12bb6d){const _0x1cf624=ckeditor5['normalizeColorOptions'](this['editor']['config']['get']('fontColor.colors'))['find'](_0x34d5b0=>_0x34d5b0['model']==_0x12bb6d);let _0x18dc37=_0x12bb6d,_0x32a55c='';return _0x1cf624&&(_0x18dc37=_0x1cf624['label'],_0x32a55c=_0x4568c4(_0x18dc37)['toLowerCase']()),{'type':'format','content':getTranslation$1(_0x4a9319,'*Set\x20font\x20color:*\x20%0',_0x32a55c)['trim'](),'color':{'value':_0x12bb6d,'title':_0x32a55c||_0x18dc37}};}return{'type':'format','content':getTranslation$1(_0x4a9319,'*Reset\x20font\x20color*')};}if('fontBackgroundColor'==_0x1bf92f['commandName']){const _0x31bd63=_0x1bf92f['commandParams'][0x0]['value'];if(_0x31bd63){const _0x334780=ckeditor5['normalizeColorOptions'](this['editor']['config']['get']('fontBackgroundColor.colors'))['find'](_0x2bdd7c=>_0x2bdd7c['model']==_0x31bd63);let _0x5d0493=_0x31bd63,_0x3fe760='';return _0x334780&&(_0x5d0493=_0x334780['label'],_0x3fe760=_0x4568c4(_0x5d0493)['toLowerCase']()),{'type':'format','content':getTranslation$1(_0x4a9319,'*Set\x20font\x20background\x20color:*\x20%0',_0x3fe760)['trim'](),'color':{'value':_0x31bd63,'title':_0x3fe760||_0x5d0493}};}return{'type':'format','content':getTranslation$1(_0x4a9319,'*Reset\x20font\x20background\x20color*')};}}});}}class TrackChangesFootnotes extends ckeditor5['Plugin']{['afterInit'](){const {plugins:_0x58f5a9}=this['editor'];_0x58f5a9['has']('FootnotesEditing')&&this['_registerFootnotesEditingIntegration'](),_0x58f5a9['has']('FootnotesPropertiesEditing')&&this['_registerFootnotesPropertiesEditingIntegration']();}['_registerFootnotesPropertiesEditingIntegration'](){const {locale:_0x105a78,plugins:_0x385452,commands:_0x529e45}=this['editor'],_0x26c59f=_0x385452['get']('TrackChangesEditing');_0x529e45['get']('footnotesStyle')&&_0x26c59f['enableDefaultAttributesIntegration']('footnotesStyle'),_0x529e45['get']('footnotesStart')&&_0x26c59f['enableDefaultAttributesIntegration']('footnotesStart'),_0x26c59f['descriptionFactory']['registerAttributeLabel']('footnotesListStyle',getTranslation$1(_0x105a78,'FORMAT_FOOTNOTES_LIST_STYLE')),_0x26c59f['descriptionFactory']['registerAttributeLabel']('footnotesListStart',getTranslation$1(_0x105a78,'FORMAT_FOOTNOTES_LIST_START'));}['_registerFootnotesEditingIntegration'](){const _0x48af8f=this['editor']['plugins']['get']('TrackChangesEditing'),{locale:_0x19f8a3,commands:_0x4a6d86}=this['editor'];_0x4a6d86['get']('insertFootnote')&&_0x48af8f['enableCommand']('insertFootnote'),_0x48af8f['descriptionFactory']['registerElementLabel']('footnoteRef',_0x474c45=>getTranslation$1(_0x19f8a3,'ELEMENT_FOOTNOTE_REF',_0x474c45)),_0x48af8f['descriptionFactory']['registerElementLabel']('footnoteDefinition',_0x1e6fae=>getTranslation$1(_0x19f8a3,'ELEMENT_FOOTNOTE_DEFINITION',_0x1e6fae)),_0x48af8f['descriptionFactory']['registerElementLabel']('footnotesDefinitions',_0x3cd6f9=>getTranslation$1(_0x19f8a3,'ELEMENT_FOOTNOTES_DEFINITIONS_LIST',_0x3cd6f9));}}class TrackChangesFormatPainter extends ckeditor5['Plugin']{['afterInit'](){const _0x307948=this['editor'],_0x3cb727=_0x307948['plugins']['get']('TrackChangesEditing'),_0x3b6a21=_0x307948['commands']['get']('copyFormat'),_0xfd62ae=_0x307948['commands']['get']('pasteFormat');_0x3b6a21&&_0xfd62ae&&(_0x3cb727['enableDefaultAttributesIntegration']('pasteFormat'),_0x3cb727['enableCommand']('copyFormat'),this['_registerLegacyDescription']());}['_registerLegacyDescription'](){const _0xb50e98=this['editor'],_0x3e859f=_0xb50e98['locale'];_0xb50e98['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x3469cf=>{if('formatBlock'!=_0x3469cf['type']&&'formatInline'!=_0x3469cf['type'])return;const {data:_0x48354f}=_0x3469cf;if(_0x48354f&&'pasteFormat'===_0x48354f['commandName']){const _0x34a877=[],_0x2714da=_0x48354f['commandParams'][0x0];for(const [_0x340c86,_0x2bca94]of Object['entries'](_0x2714da))_0x34a877['push'](translateFormatting(_0xb50e98,_0x340c86,_0x2bca94));return _0x34a877['length']?{'type':'format','content':getTranslation$1(_0x3e859f,'*Set\x20format\x20to:*\x20%0',_0x34a877['join'](',\x20'))}:{'type':'format','content':getTranslation$1(_0x3e859f,'*Remove\x20all\x20formatting*')};}});}}function translateFormatting(_0x376cb0,_0xe43d92,_0x2f38e2){const _0xbfa21f=_0x376cb0['locale']['t'],_0x597d9b=_0xe43d92['split'](/(?=[A-Z])/)['join']('\x20'),_0x36c107=_0xbfa21f(_0x597d9b['charAt'](0x0)['toUpperCase']()+_0x597d9b['slice'](0x1))['toLowerCase']();if('boolean'==typeof _0x2f38e2)return _0x36c107;if('fontColor'===_0xe43d92||'fontBackgroundColor'===_0xe43d92){const _0x1bceb3=ckeditor5['normalizeColorOptions'](_0x376cb0['config']['get']('fontColor.colors'))['find'](_0x12b300=>_0x12b300['model']==_0x2f38e2);return _0x36c107+'\x20('+(_0x1bceb3?_0xbfa21f(_0x1bceb3['label'])['toLowerCase']():_0x2f38e2)+')';}if('fontSize'===_0xe43d92&&isNaN(parseFloat(_0x2f38e2))){const _0x158336=_0x376cb0['plugins']['get']('FontSize')['normalizeSizeOptions'](_0x376cb0['config']['get']('fontSize.options'))['find'](_0x4205f5=>_0x4205f5['model']==_0x2f38e2);return _0x36c107+'\x20('+(_0x158336?_0xbfa21f(_0x158336['title'])['toLowerCase']():_0x2f38e2)+')';}return _0x36c107+'\x20('+_0x2f38e2+')';}class _0x59c0d7 extends ckeditor5['Plugin']{['_headingOptions'];['afterInit'](){const _0x45ad1c=this['editor'];if(!_0x45ad1c['plugins']['has']('HeadingEditing'))return;this['_headingOptions']=_0x45ad1c['config']['get']('heading.options');const _0x3e5c19=_0x45ad1c['locale'],_0x4ec692=_0x45ad1c['plugins']['get']('TrackChangesEditing');_0x4ec692['enableDefaultAttributesIntegration']('heading');for(const _0x1cc635 of this['_headingOptions'])'paragraph'!=_0x1cc635['model']&&_0x4ec692['descriptionFactory']['registerElementLabel'](_0x1cc635['model'],_0x349a9f=>{const _0x1bbf87=this['_getHeadingLevel'](_0x1cc635['model']);return null!==_0x1bbf87?_0x3a1649(_0x349a9f,_0x1bbf87):_0x376cea(_0x349a9f,_0x1cc635['title']);});function _0x3a1649(_0x253214,_0x46abca){return getTranslation$1(_0x3e5c19,'ELEMENT_HEADING',[_0x253214,_0x46abca]);}function _0x376cea(_0x42abe1,_0x21abd2){return getTranslation$1(_0x3e5c19,'ELEMENT_HEADING_CUSTOM',[_0x42abe1,_0x21abd2]);}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x389832=this['editor'],_0x2070db=_0x389832['locale'];function _0x22665b(_0x386ed8,_0x2caea1){return getTranslation$1(_0x2070db,'ELEMENT_HEADING_CUSTOM',[_0x386ed8,_0x2caea1]);}_0x389832['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x2a250f=>{if('formatBlock'!=_0x2a250f['type'])return;const {data:_0x49ecd8}=_0x2a250f;if(_0x49ecd8&&'heading'==_0x49ecd8['commandName']){const _0x4e5c36=_0x49ecd8['commandParams'][0x0]['value'],_0x2418ab=this['_getHeadingLevel'](_0x4e5c36);if(null!==_0x2418ab)return{'type':'format','content':getTranslation$1(_0x2070db,'*Change\x20to:*\x20%0',(_0x4ef34b=0x1,_0x4ba14f=_0x2418ab,getTranslation$1(_0x2070db,'ELEMENT_HEADING',[_0x4ef34b,_0x4ba14f])))};const _0x29f2b3=this['_headingOptions']['find'](_0x183e3c=>_0x183e3c['model']===_0x4e5c36)['title'];return{'type':'format','content':getTranslation$1(_0x2070db,'*Change\x20to:*\x20%0',_0x22665b(0x1,_0x29f2b3))};}var _0x4ef34b,_0x4ba14f;});}['_getHeadingLevel'](_0x1a1792){const _0x347b9f=_0x1a1792['match'](/^heading(\d+)/);if(_0x347b9f)return _0x347b9f[0x1];const _0x53cba4=this['_headingOptions']?.['find'](_0x38f5eb=>_0x38f5eb['model']==_0x1a1792);if(_0x53cba4&&_0x53cba4['view']){const _0x3a0fce=_0x53cba4['view'],_0x5aedc4=(_0x3a0fce['name']??_0x3a0fce)['match'](/^h(\d+)/);if(_0x5aedc4)return _0x5aedc4[0x1];}return null;}}class TrackChangesHighlight extends ckeditor5['Plugin']{['afterInit'](){const _0x1fe766=this['editor'];if(!_0x1fe766['plugins']['has']('HighlightEditing'))return;const _0x3af9ec=_0x1fe766['plugins']['get']('TrackChangesEditing'),_0x21624b=_0x1fe766['locale'];_0x3af9ec['enableDefaultAttributesIntegration']('highlight'),_0x3af9ec['descriptionFactory']['registerAttributeLabel']('highlight',getTranslation$1(_0x21624b,'FORMAT_HIGHLIGHT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x2781d6=this['editor'],_0x864bae=_0x2781d6['locale'];_0x2781d6['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x26817f=>{if('formatInline'!=_0x26817f['type'])return;const {data:_0x160122}=_0x26817f;if(_0x160122&&'highlight'==_0x160122['commandName']){const _0xdfc4fe=_0x864bae['t'],_0x23221b=_0x160122['commandParams'][0x0]['value'];if(_0x23221b){const _0x3f605c=_0x2781d6['config']['get']('highlight.options')['find'](_0x2bc987=>_0x2bc987['model']==_0x23221b),_0x5d1a5e=_0xdfc4fe(_0x3f605c['title'])['toLowerCase']();return{'type':'format','content':getTranslation$1(_0x864bae,'*Set\x20highlight:*\x20%0',_0x5d1a5e),'color':{'value':_0x3f605c['color'],'title':_0x3f605c['title']}};}return{'type':'format','content':getTranslation$1(_0x864bae,'*Remove\x20highlight*',getTranslation$1(_0x864bae,'FORMAT_HIGHLIGHT'))};}});}}class TrackChangesHorizontalLine extends ckeditor5['Plugin']{['afterInit'](){const _0xa3bf50=this['editor'];if(!_0xa3bf50['plugins']['has']('HorizontalLineEditing'))return;_0xa3bf50['plugins']['get']('TrackChangesEditing')['enableCommand']('horizontalLine');const _0x326dd9=_0xa3bf50['plugins']['get']('TrackChangesEditing'),_0x55ebe1=_0xa3bf50['locale'];_0x326dd9['descriptionFactory']['registerElementLabel']('horizontalLine',_0x46dead=>getTranslation$1(_0x55ebe1,'ELEMENT_HORIZONTAL_LINE',_0x46dead));}}class TrackChangesHtmlEmbed extends ckeditor5['Plugin']{['afterInit'](){const _0x347d94=this['editor'];if(!_0x347d94['plugins']['has']('HtmlEmbed'))return;const _0x47448b=_0x347d94['plugins']['get']('TrackChangesEditing'),_0x5660f0=_0x347d94['locale'];_0x47448b['descriptionFactory']['registerElementLabel']('rawHtml',_0x28b869=>getTranslation$1(_0x5660f0,'ELEMENT_HTML_EMBED',_0x28b869)),_0x47448b['enableDefaultAttributesIntegration']('htmlEmbed'),_0x47448b['descriptionFactory']['registerDescriptionCallback'](_0xb00158=>{if('attribute'!=_0xb00158['type'])return;const {data:_0x56afa7}=_0xb00158;if(_0x56afa7&&'value'==_0x56afa7['key']&&_0xb00158['getFirstRange']()['start']['nodeAfter']['is']('element','rawHtml')){const _0x2c5f93=getTranslation$1(_0x5660f0,'ELEMENT_HTML_EMBED');return{'type':'format','content':getTranslation$1(_0x5660f0,'*Change\x20%0\x20content*',_0x2c5f93)};}}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x1cf989=this['editor'],_0x55a8fe=_0x1cf989['locale'];_0x1cf989['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x19cb70=>{if('formatBlock'!=_0x19cb70['type'])return;const {data:_0x5c48b5}=_0x19cb70;if(_0x5c48b5&&'htmlEmbed'==_0x5c48b5['commandName']){const _0x208ced=getTranslation$1(_0x55a8fe,'ELEMENT_HTML_EMBED');return{'type':'format','content':getTranslation$1(_0x55a8fe,'*Change\x20%0\x20content*',_0x208ced)};}});}}class _0x502de2 extends ckeditor5['Plugin']{['afterInit'](){const _0x19d2db=this['editor'];if(!_0x19d2db['plugins']['has']('ImageEditing'))return;const _0x3d8c69=_0x19d2db['plugins']['get']('TrackChangesEditing'),_0xc9847d=_0x19d2db['plugins']['get']('ImageUtils'),_0x3adc3f=_0x19d2db['locale'];_0x3d8c69['enableCommand']('insertImage'),_0x3d8c69['descriptionFactory']['registerElementLabel']('imageBlock',_0x590981=>getTranslation$1(_0x3adc3f,'ELEMENT_IMAGE',_0x590981)),_0x3d8c69['descriptionFactory']['registerElementLabel']('imageInline',_0x41d94a=>getTranslation$1(_0x3adc3f,'ELEMENT_INLINE_IMAGE',_0x41d94a)),_0x3d8c69['descriptionFactory']['registerElementLabel']('caption',()=>getTranslation$1(_0x3adc3f,'ELEMENT_CAPTION')),_0x19d2db['plugins']['has']('ImageUploadEditing')&&_0x3d8c69['enableCommand']('uploadImage'),_0x19d2db['plugins']['has']('ImageBlockEditing')&&_0x19d2db['plugins']['has']('ImageInlineEditing')&&(_0x3d8c69['enableCommand']('imageTypeInline',(_0xf08c2a,_0x412c28)=>{const _0x331eaf=_0xc9847d['getClosestSelectedImageElement'](_0x19d2db['model']['document']['selection']);_0x19d2db['model']['change'](()=>{_0x3d8c69['markBlockFormat'](_0x331eaf,{'commandName':'imageTypeInline','commandParams':[_0x412c28]},[],'convertBlockImageToInline');});}),_0x3d8c69['enableCommand']('imageTypeBlock',(_0x594fc4,_0x580081)=>{_0x19d2db['model']['change'](_0x1d8e6b=>{let _0x122982=_0xc9847d['getClosestSelectedImageElement'](_0x19d2db['model']['document']['selection']),_0x57c2c4=_0x1d8e6b['createRangeOn'](_0x122982);const _0x7b2f90=ckeditor5['ModelLivePosition']['fromPosition'](_0x57c2c4['start'],'toPrevious'),_0x32f48b=ckeditor5['ModelLivePosition']['fromPosition'](_0x57c2c4['end'],'toNext');_0x3d8c69['forceDefaultExecution'](()=>_0x594fc4(_0x580081)),_0x122982=_0xc9847d['getClosestSelectedImageElement'](_0x19d2db['model']['document']['selection']),_0x57c2c4=_0x1d8e6b['createRangeOn'](_0x122982);const _0x47fc5b=_0x1d8e6b['createRange'](_0x7b2f90,_0x32f48b);_0x7b2f90['detach'](),_0x32f48b['detach'](),_0x3d8c69['markBlockFormat'](_0x122982,{'commandName':'imageTypeInline','commandParams':[_0x580081]},[],'convertInlineImageToBlock'),_0x47fc5b['start']['isBefore'](_0x57c2c4['start'])&&_0x3d8c69['markInsertion'](_0x1d8e6b['createRange'](_0x47fc5b['start'],_0x57c2c4['start']),'convertInlineImageToBlock'),_0x57c2c4['end']['isBefore'](_0x47fc5b['end'])&&_0x3d8c69['markInsertion'](_0x1d8e6b['createRange'](_0x57c2c4['end'],_0x47fc5b['end']),'convertInlineImageToBlock');});}),_0x3d8c69['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','join',()=>!0x1),_0x3d8c69['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','accept',()=>!0x1),_0x3d8c69['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','discard',_0x3d8c69['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')),_0x3d8c69['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','join',()=>!0x1),_0x3d8c69['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','discard',([_0x4fc9e5])=>{const _0x4faadb=_0x3d8c69['_suggestionFactory']['getSuggestionCallback']('insertion','','discard');let _0x420a10=_0x4fc9e5['start'],_0x5d57f5=_0x4fc9e5['end'];const _0x221bd6=_0x19d2db['model']['schema']['getNearestSelectionRange'](_0x420a10,'backward'),_0x3d1c46=_0x19d2db['model']['schema']['getNearestSelectionRange'](_0x5d57f5,'forward');_0x221bd6['isCollapsed']&&(_0x420a10=_0x221bd6['start']),_0x3d1c46['isCollapsed']&&(_0x5d57f5=_0x3d1c46['end']),_0x4faadb([_0x19d2db['model']['createRange'](_0x420a10,_0x5d57f5)]);}),_0x3d8c69['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','chain',_0x49aa69),_0x3d8c69['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','chain',_0x49aa69)),_0x19d2db['plugins']['has']('ImageCaptionEditing')&&(_0x3d8c69['enableCommand']('toggleImageCaption',(_0x1ac9e5,_0x316720)=>{const _0x2adaa8=_0x19d2db['plugins']['get']('ImageCaptionUtils');let _0x22a048=_0xc9847d['getClosestSelectedImageElement'](_0x19d2db['model']['document']['selection']),_0x8e7826=_0x2adaa8['getCaptionFromImageModelElement'](_0x22a048);_0x19d2db['model']['change'](()=>{if(_0x8e7826)return void _0x3d8c69['markDeletion'](_0x19d2db['model']['createRangeOn'](_0x8e7826));const _0x946bad=_0xc9847d['isBlockImage'](_0x22a048);_0x1ac9e5(_0x316720),_0x22a048=_0xc9847d['getClosestSelectedImageElement'](_0x19d2db['model']['document']['selection']),_0x8e7826=_0x2adaa8['getCaptionFromImageModelElement'](_0x22a048),_0x3d8c69['markInsertion'](_0x19d2db['model']['createRangeOn'](_0x8e7826),_0x946bad?null:'imageCaption');});}),_0x3d8c69['_suggestionFactory']['registerCustomCallback']('insertion','imageCaption','chain',_0x49aa69));const _0x3369f5=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x266d8d(_0x1bc9f3,_0x2618aa){const _0x16d823=_0x3369f5['findIndex'](({type:_0x5cc5a3,subType:_0x541f19})=>_0x1bc9f3['type']==_0x5cc5a3&&_0x1bc9f3['subType']==_0x541f19),_0x4f6e84=_0x3369f5['findIndex'](({type:_0x217078,subType:_0x4d3cec})=>_0x2618aa['type']==_0x217078&&_0x2618aa['subType']==_0x4d3cec);if(_0x16d823<0x0||_0x4f6e84<0x0)return!0x1;const _0x17dbec=_0x1bc9f3['getFirstRange'](),_0x34858c=_0x2618aa['getFirstRange']();if((0x0==_0x16d823||0x1==_0x16d823)&&0x2==_0x4f6e84&&_0x17dbec['isIntersecting'](_0x34858c))return!0x0;if(0x2==_0x16d823&&0x3==_0x4f6e84){const _0x3509dd=_0x3d8c69['_findSuggestions'](_0x17dbec,'insertion')['filter'](({suggestion:_0x9b912d,meta:_0x367ff9})=>_0x367ff9['isOwn']&&'convertInlineImageToBlock'==_0x9b912d['subType']);if(_0x3509dd['length']>0x1&&_0x34858c['end']['isEqual'](_0x17dbec['start']))return!0x0;if(0x1==_0x3509dd['length']&&(_0x17dbec['start']['isEqual'](_0x34858c['end'])||_0x17dbec['end']['isEqual'](_0x34858c['start'])))return!0x0;}if(0x3==_0x16d823&&0x3==_0x4f6e84&&_0x17dbec['start']['isBefore'](_0x34858c['start'])){const _0x15f1f6=_0x17dbec['end']['nodeAfter'],_0x37b447=_0x34858c['start']['nodeBefore'];return _0xc9847d['isBlockImage'](_0x15f1f6)&&_0x15f1f6===_0x37b447;}return!0x1;}function _0x49aa69(_0x3da6ac,_0x193bf8){return _0x266d8d(_0x3da6ac,_0x193bf8)?[_0x3da6ac,_0x193bf8]:_0x266d8d(_0x193bf8,_0x3da6ac)?[_0x193bf8,_0x3da6ac]:null;}_0x19d2db['plugins']['has']('ImageResize')&&(_0x3d8c69['enableDefaultAttributesIntegration']('resizeImage'),_0x3d8c69['descriptionFactory']['registerAttributeLabel']('resizedWidth',getTranslation$1(_0x3adc3f,'FORMAT_IMAGE_SIZE'))),_0x19d2db['plugins']['has']('ImageTextAlternativeEditing')&&_0x3d8c69['enableDefaultAttributesIntegration']('imageTextAlternative'),_0x19d2db['plugins']['has']('PictureEditing')&&_0x3d8c69['descriptionFactory']['registerDescriptionCallback'](_0x476c58=>{if('attribute'!=_0x476c58['type'])return;const {data:_0x267da9}=_0x476c58;return _0x267da9&&'sources'==_0x267da9['key']?{'type':'format','content':''}:void 0x0;}),_0x19d2db['plugins']['has']('ImageSizeAttributes')&&_0x3d8c69['descriptionFactory']['registerDescriptionCallback'](_0x2c2469=>{if('attribute'!=_0x2c2469['type'])return;const {data:_0x36f611}=_0x2c2469;return!_0x36f611||'width'!=_0x36f611['key']&&'height'!=_0x36f611['key']?void 0x0:{'type':'format','content':''};}),_0x3d8c69['descriptionFactory']['registerDescriptionCallback'](_0x5aee63=>{if(!!_0x3369f5['find'](({type:_0x47a186,subType:_0x1a48f6})=>_0x5aee63['type']==_0x47a186&&_0x5aee63['subType']==_0x1a48f6))return _0x5aee63['previous']?{}:void 0x0;}),_0x3d8c69['descriptionFactory']['registerDescriptionCallback'](_0x5b259d=>{if('insertion'==_0x5b259d['type']||'deletion'==_0x5b259d['type']){const _0x52d639=_0x5b259d['getContainedElement']();if(_0x52d639&&_0x52d639['is']('element','caption'))return{'type':'insertion'==_0x5b259d['type']?'addObject':'removeObject','element':_0x52d639,'quantity':0x1};}}),_0x3d8c69['descriptionFactory']['registerDescriptionCallback'](_0x5db898=>'formatBlock'==_0x5db898['type']&&'convertInlineImageToBlock'==_0x5db898['subType']?{'type':'format','content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x5db898['type']&&'convertBlockImageToInline'==_0x5db898['subType']?{'type':'format','content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x3d8c69['descriptionFactory']['registerDescriptionCallback'](_0xb0a648=>{if('attribute'!=_0xb0a648['type'])return;const {data:_0x6bfc38}=_0xb0a648;if(!_0x6bfc38||'alt'!=_0x6bfc38['key'])return;const _0x17922e=_0x6bfc38['newValue'];return _0x17922e?{'type':'format','content':getTranslation$1(_0x3adc3f,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x17922e+'\x22')}:{'type':'format','content':getTranslation$1(_0x3adc3f,'*Remove\x20image\x20text\x20alternative*')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x181a96=this['editor'],_0x47381e=_0x181a96['locale'];_0x181a96['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x312451=>{if('formatBlock'!=_0x312451['type']&&'formatInline'!=_0x312451['type'])return;const {data:_0x115d82}=_0x312451;if(_0x115d82){if('imageTextAlternative'==_0x115d82['commandName']){const _0x314467=_0x115d82['commandParams'][0x0]['newValue'];return _0x314467?{'type':'format','content':getTranslation$1(_0x47381e,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x314467+'\x22')}:{'type':'format','content':getTranslation$1(_0x47381e,'*Remove\x20image\x20text\x20alternative*')};}if('resizeImage'==_0x115d82['commandName']){const _0x11ae52=_0x115d82['commandParams'][0x0]['width'];return _0x11ae52?{'type':'format','content':getTranslation$1(_0x47381e,'*Set\x20image\x20width:*\x20%0',_0x11ae52)}:{'type':'format','content':getTranslation$1(_0x47381e,'*Reset\x20image\x20width*')};}}});}}class _0x61984d extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('ImageEditing'))return;const _0x43a5eb=this['editor']['locale'],_0x3c9feb=this['editor']['plugins']['get']('TrackChangesEditing');_0x3c9feb['enableDefaultAttributesIntegration']('replaceImageSource'),_0x3c9feb['descriptionFactory']['registerDescriptionCallback'](_0x1e10bb=>{if('attribute'!=_0x1e10bb['type'])return;const {data:_0x31a1c2}=_0x1e10bb;return _0x31a1c2&&'src'==_0x31a1c2['key']?_0x31a1c2['newValue']&&_0x31a1c2['oldValue']?{'type':'format','content':getTranslation$1(_0x43a5eb,'*Replace\x20image*')}:{'type':'format','content':''}:void 0x0;}),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x2133c4=this['editor']['plugins']['get']('TrackChangesEditing');_0x2133c4['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','accept',_0x2133c4['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x2133c4['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','discard',_0x2133c4['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x3cda70=this['editor'],_0xacfb2a=_0x3cda70['locale'];_0x3cda70['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x1b4abf=>{if('formatBlock'!=_0x1b4abf['type']&&'formatInline'!=_0x1b4abf['type'])return;const {data:_0x1154c9}=_0x1b4abf;if(!_0x1154c9||'replaceImageSource'!=_0x1154c9['commandName'])return;return{'type':'format','content':getTranslation$1(_0xacfb2a,'*Format:*\x20replace\x20image\x20URL')};});}}class TrackChangesImageStyle extends ckeditor5['Plugin']{['afterInit'](){const _0x39e242=this['editor'];if(!_0x39e242['plugins']['has']('ImageStyleEditing'))return;const _0x5aceb6=_0x39e242['plugins']['get']('TrackChangesEditing'),_0x834db0=_0x39e242['plugins']['get']('ImageUtils'),_0x2e824c={};_0x5aceb6['enableCommand']('imageStyle',(_0x33ddfb,_0x7d6ceb)=>{const _0x1ef198=_0x39e242['plugins']['get']('Users')['me'],_0x3554c3=_0x39e242['commands']['get']('imageStyle');let _0x4e6794=_0x834db0['getClosestSelectedImageElement'](_0x39e242['model']['document']['selection']),_0x14d16b=_0x39e242['model']['createRangeOn'](_0x4e6794),_0x39210c=_0x3554c3['value'];if(_0x39210c==_0x7d6ceb['value'])return;const _0x3e0581={'commandName':'imageStyle','commandParams':[_0x7d6ceb],'formatGroupId':ckeditor5['uid']()};_0x39e242['model']['change'](()=>{if(_0x5aceb6['getSuggestions']()['filter'](_0x42f767=>_0x42f767['isInContent']&&_0x1ef198==_0x42f767['author']&&('formatBlock'==_0x42f767['type']||'formatInline'==_0x42f767['type'])&&('imageStylePreApply'==_0x42f767['subType']||'imageStylePostApply'==_0x42f767['subType'])&&_0x42f767['getFirstRange']()['isEqual'](_0x14d16b))['forEach'](_0x17b134=>_0x5aceb6['discardSuggestion'](_0x17b134['head'])),_0x4e6794=_0x834db0['getClosestSelectedImageElement'](_0x39e242['model']['document']['selection']),_0x14d16b=_0x39e242['model']['createRangeOn'](_0x4e6794),_0x3554c3['refresh'](),_0x39e242['commands']['get']('imageTypeInline')['refresh'](),_0x39e242['commands']['get']('imageTypeBlock')['refresh'](),_0x39210c=_0x3554c3['value'],_0x39210c!=_0x7d6ceb['value'])return _0x834db0['isInlineImage'](_0x4e6794)&&_0x3554c3['shouldConvertImageType'](_0x7d6ceb['value'],_0x4e6794)?(_0x33ddfb({..._0x7d6ceb,'setImageSizes':!0x1}),_0x4e6794=_0x834db0['getClosestSelectedImageElement'](_0x39e242['model']['document']['selection']),void _0x5aceb6['markBlockFormat'](_0x4e6794,{..._0x3e0581,'commandReversedParams':[{'value':_0x39210c||null,'setImageSizes':!0x1}]},[],'imageStylePreApply')):void(_0x834db0['isBlockImage'](_0x4e6794)?_0x5aceb6['markBlockFormat'](_0x4e6794,_0x3e0581,[],'imageStylePostApply'):_0x5aceb6['markInlineFormat'](_0x14d16b,_0x3e0581,'imageStylePostApply'));});});for(const _0x1acb40 of _0x39e242['plugins']['get']('ImageStyleEditing')['normalizedStyles'])_0x2e824c[_0x1acb40['name']]=_0x1acb40['title']['toLowerCase']();_0x5aceb6['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','join',()=>!0x1),_0x5aceb6['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePostApply','join',()=>!0x1),_0x5aceb6['_suggestionFactory']['registerCustomCallback']('formatInline','imageStylePostApply','join',()=>!0x1),_0x5aceb6['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','accept',([_0x421a70])=>{_0x834db0['setImageNaturalSizeAttributes'](_0x421a70['getContainedElement']());}),_0x5aceb6['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','discard',(_0x1a6881,_0x376625)=>{_0x5aceb6['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')(_0x1a6881,{'commandName':_0x376625['commandName'],'commandParams':_0x376625['commandReversedParams']});}),_0x5aceb6['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','chain',function(_0x22cbe8,_0x447abf){if(_0x576cb7(_0x22cbe8,_0x447abf))return[_0x22cbe8,_0x447abf];if(_0x576cb7(_0x447abf,_0x22cbe8))return[_0x447abf,_0x22cbe8];return null;});const _0xc60a7a=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x576cb7(_0x25a6c4,_0x5a6201){const _0xd3f6c8=_0xc60a7a['findIndex'](({type:_0x1e2098,subType:_0xb7f32e})=>_0x25a6c4['type']==_0x1e2098&&_0x25a6c4['subType']==_0xb7f32e),_0x21f5f0=_0xc60a7a['findIndex'](({type:_0x5d1bd5,subType:_0x592a9a})=>_0x5a6201['type']==_0x5d1bd5&&_0x5a6201['subType']==_0x592a9a);if(_0xd3f6c8<0x0||_0x21f5f0<0x0)return!0x1;const _0x591d3c=_0x25a6c4['getFirstRange'](),_0x8900d5=_0x5a6201['getFirstRange']();if((0x0==_0xd3f6c8||0x1==_0xd3f6c8)&&0x2==_0x21f5f0&&_0x591d3c['isIntersecting'](_0x8900d5))return!0x0;if(0x2==_0xd3f6c8&&0x3==_0x21f5f0){const _0x32c778=_0x5aceb6['_findSuggestions'](_0x591d3c,'insertion')['filter'](({suggestion:_0x1087b4,meta:_0x2147b2})=>_0x2147b2['isOwn']&&'convertInlineImageToBlock'==_0x1087b4['subType']);if(_0x32c778['length']>0x1&&_0x8900d5['end']['isEqual'](_0x591d3c['start']))return!0x0;if(0x1==_0x32c778['length']&&(_0x591d3c['start']['isEqual'](_0x8900d5['end'])||_0x591d3c['end']['isEqual'](_0x8900d5['start'])))return!0x0;}if(0x3==_0xd3f6c8&&0x3==_0x21f5f0&&_0x591d3c['start']['isBefore'](_0x8900d5['start'])){const _0x208a0f=_0x591d3c['end']['nodeAfter'],_0x9e77c7=_0x8900d5['start']['nodeBefore'];return _0x834db0['isBlockImage'](_0x208a0f)&&_0x208a0f===_0x9e77c7;}return!0x1;}_0x39e242['model']['document']['registerPostFixer'](()=>{let _0x2bce89=!0x1;const _0x36b9a1=Array['from'](_0x39e242['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x285092,data:_0x673751}of _0x36b9a1){const {group:_0x4001c1,type:_0x38ecb2,subType:_0x4ebdf3,id:_0x6cafd3}=_0x5aceb6['_splitMarkerName'](_0x285092);if('suggestion'==_0x4001c1&&_0x5aceb6['hasSuggestion'](_0x6cafd3)){if('formatBlock'==_0x38ecb2&&('imageStylePreApply'==_0x4ebdf3||'imageStylePostApply'==_0x4ebdf3)){const _0x2b7f60=_0x5aceb6['getSuggestion'](_0x6cafd3);if(_0x673751['newRange']){const _0x5de223=_0x2b7f60['getFirstRange']()['getContainedElement']();if(_0x834db0['isBlockImage'](_0x5de223))continue;_0x5aceb6['discardSuggestion'](_0x2b7f60),_0x2bce89=!0x0;}}if('insertion'==_0x38ecb2&&'imageCaption'==_0x4ebdf3&&!_0x673751['newRange']){const _0x13f3a9=_0x5aceb6['getSuggestion'](_0x6cafd3);_0x13f3a9['next']&&_0x13f3a9['next']['isInContent']&&(_0x5aceb6['discardSuggestion'](_0x13f3a9['next']),_0x2bce89=!0x0);}}}return _0x2bce89;}),this['_registerLegacyDescription'](_0x2e824c);}['_registerLegacyDescription'](_0x542460){const _0x4cd8a3=this['editor'],_0x381824=_0x4cd8a3['locale'];_0x4cd8a3['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x35f672=>{if('formatBlock'!=_0x35f672['type']&&'formatInline'!=_0x35f672['type'])return;const {data:_0x4e4d4c}=_0x35f672;if(!_0x4e4d4c||'imageStyle'!=_0x4e4d4c['commandName'])return;const _0x6505f=_0x4e4d4c['commandParams'][0x0]['value'];return _0x3a9fb5('side'===_0x6505f?getTranslation$1(_0x381824,'FORMAT_SIDE_IMAGE'):_0x542460[_0x6505f]||_0x6505f);function _0x3a9fb5(_0x469ec4){return{'type':'format','content':getTranslation$1(_0x381824,'*Format:*\x20%0',_0x469ec4)};}});}}class TrackChangesImportWord extends ckeditor5['Plugin']{['_trackChangesValueDuringImport'];['_trackChangesExecuted'];constructor(_0x6662a5){super(_0x6662a5),this['_trackChangesValueDuringImport']=!0x1,this['_trackChangesExecuted']=!0x1;}['afterInit'](){const _0x4e7bee=this['editor'],_0x357547=_0x4e7bee['commands']['get']('importWord'),_0x50ced1=_0x4e7bee['commands']['get']('trackChanges');_0x357547&&(_0x357547['on']('execute',(_0x802908,[,_0x347299])=>{this['_trackChangesValueDuringImport']=_0x50ced1['value'],_0x347299['collaboration_features']['track_changes']=!this['_trackChangesValueDuringImport'];},{'priority':'high'}),this['listenTo'](_0x357547,'dataInsert',this['_handleImportedData']['bind'](this)),this['listenTo'](_0x357547,'dataInsert',()=>{this['_trackChangesExecuted']&&(_0x50ced1['execute'](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x4e7bee['plugins']['get']('TrackChangesEditing')['enableCommand']('importWord'));}['_handleImportedData'](_0x1d3eda,_0x475372){const {suggestions:_0x601298}=_0x475372,_0x358419=this['editor']['commands']['get']('trackChanges'),_0x760bc3=_0x358419['value'];this['_trackChangesValueDuringImport']!==_0x760bc3&&(_0x358419['execute'](),this['_trackChangesExecuted']=!0x0),_0x601298&&_0x601298['forEach'](({id:_0x3f61db,type:_0x3c6f42,author:_0x5041ba,created_at:_0x418a55})=>{const _0x48716f={'id':_0x3f61db,'type':_0x3c6f42,'authorId':this['editor']['plugins']['get']('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x5041ba,'createdAt':_0x418a55?new Date(_0x418a55):new Date(),'source':'importWord'}}};this['editor']['plugins']['get']('TrackChangesEditing')['_setSuggestionData'](_0x48716f);});}}class TrackChangesIndent extends ckeditor5['Plugin']{['afterInit'](){const _0x13bd17=this['editor'],_0x5b3033=_0x13bd17['plugins']['get']('TrackChangesEditing');if(_0x13bd17['plugins']['has']('IndentEditing')&&(_0x5b3033['enableCommand']('indent'),_0x5b3033['enableCommand']('outdent')),_0x13bd17['plugins']['has']('IndentBlock')){for(const _0x21405f of['indentBlock','outdentBlock'])_0x5b3033['enableDefaultAttributesIntegration'](_0x21405f);if(_0x13bd17['plugins']['has']('ListEditing')){for(const _0x27365d of['indentBlockList','indentBlockListItem','outdentBlockList','outdentBlockListItem'])_0x5b3033['enableDefaultAttributesIntegration'](_0x27365d);}}const _0x3c4b4a=_0x13bd17['locale'];_0x5b3033['descriptionFactory']['registerAttributeLabel']('blockIndent',getTranslation$1(_0x3c4b4a,'FORMAT_INDENT')),_0x5b3033['descriptionFactory']['registerAttributeLabel']('blockIndentList',getTranslation$1(_0x3c4b4a,'FORMAT_INDENT')),_0x5b3033['descriptionFactory']['registerAttributeLabel']('blockIndentListItem',getTranslation$1(_0x3c4b4a,'FORMAT_INDENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x4e08c4=this['editor'],_0x43b0de=_0x4e08c4['locale'],_0x44e169=_0x4e08c4['plugins']['get']('TrackChangesEditing');_0x44e169['descriptionFactory']['registerDescriptionCallback'](_0x417e5e=>{if('formatBlock'!=_0x417e5e['type'])return;const {data:_0x5bbf5c}=_0x417e5e;if(!_0x5bbf5c)return;if('indentBlock'!=_0x5bbf5c['commandName']&&'outdentBlock'!=_0x5bbf5c['commandName'])return;const _0x59b516=_0x417e5e['getItems']()[0x0],_0x17b6a2=_0x44e169['descriptionFactory']['getItemLabel'](_0x59b516);return'indentBlock'==_0x5bbf5c['commandName']?{'type':'format','content':getTranslation$1(_0x43b0de,'*Indent:*\x20%0',_0x17b6a2)}:'outdentBlock'==_0x5bbf5c['commandName']?{'type':'format','content':getTranslation$1(_0x43b0de,'*Outdent:*\x20%0',_0x17b6a2)}:void 0x0;});}}class TrackChangesInputCommand extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['Input']];}['init'](){this['editor']['plugins']['get']('TrackChangesEditing')['enableCommand']('input');}}class _0x271d59 extends ckeditor5['Plugin']{['afterInit'](){const _0x59800c=this['editor'];if(!_0x59800c['plugins']['has']('LinkEditing'))return;const _0x57bd18=_0x59800c['plugins']['get']('TrackChangesEditing'),_0x46429e=_0x59800c['commands']['get']('link');_0x57bd18['enableDefaultAttributesIntegration']('link'),_0x57bd18['enableDefaultAttributesIntegration']('unlink');for(const _0x531bd4 of _0x46429e['manualDecorators'])_0x57bd18['descriptionFactory']['registerAttributeLabel'](_0x531bd4['id'],'link\x20('+_0x531bd4['label']['toLowerCase']()+')');_0x57bd18['descriptionFactory']['registerDescriptionCallback'](_0x1943e1=>{if('attribute'!=_0x1943e1['type'])return;const {data:_0x1e18d7}=_0x1943e1;if(!_0x1e18d7||'linkHref'!=_0x1e18d7['key'])return;const _0x2fed61=_0x1e18d7['newValue'],_0x49462a=_0x59800c['locale'];return{'type':'format','content':null==_0x2fed61?getTranslation$1(_0x49462a,'*Remove\x20link*'):getTranslation$1(_0x49462a,'*Set\x20link:*\x20%0','\x22'+_0x2fed61+'\x22')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x54033b=this['editor'],_0x347216=_0x54033b['locale'];_0x54033b['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x326877=>{if('formatInline'!=_0x326877['type'])return;const {data:_0x9a790d}=_0x326877;if(_0x9a790d){if('link'==_0x9a790d['commandName']){const _0x3bed7e=_0x9a790d['commandParams'][0x0];return{'type':'format','content':getTranslation$1(_0x347216,'*Set\x20link:*\x20%0','\x22'+_0x3bed7e+'\x22')};}return'unlink'==_0x9a790d['commandName']?{'type':'format','content':getTranslation$1(_0x347216,'*Remove\x20link*')}:void 0x0;}});}}class TrackChangesLegacyList extends ckeditor5['Plugin']{['afterInit'](){const _0x1ee1f0=this['editor'],_0x8246dc=_0x1ee1f0['locale'];if(!_0x1ee1f0['plugins']['has']('LegacyListEditing'))return;const _0x2aa623=_0x1ee1f0['plugins']['get']('TrackChangesEditing'),_0xf5155b=_0x1ee1f0['plugins']['has']('LegacyTodoListEditing');function _0x43341d(_0x27d9e6){return()=>{const _0x594357=_0x1ee1f0['model']['document']['selection'],_0x50c918=_0x1ee1f0['commands']['get'](_0x27d9e6);if(_0x50c918['value'])return void _0x1ee1f0['execute']('paragraph',{});const _0x355539=_0x27d9e6['slice'](0x0,-0x4),_0x2b7df0=getBlocksToMarkForListTypeChange(_0x594357['getSelectedBlocks'](),_0x355539,_0x1ee1f0['model']['schema']);_0x1ee1f0['model']['change'](()=>{for(const _0x538aa0 of _0x2b7df0)_0x2aa623['markBlockFormat'](_0x538aa0,{'commandName':_0x27d9e6,'commandParams':[{'forceValue':!_0x50c918['value']}],'formatGroupId':'blockName'},getBlocksAffectedByListTypeChange(_0x538aa0));});};}function _0x207208(_0x2558ac){return()=>{const _0x4a5e7f=getBlocksToMarkForIndentChange(_0x1ee1f0['model']['document']['selection']['getSelectedBlocks']()),_0x436e3a=_0x1ee1f0['model']['createRange'](_0x1ee1f0['model']['createPositionAt'](_0x4a5e7f[0x0],'before'),_0x1ee1f0['model']['createPositionAt'](_0x4a5e7f[_0x4a5e7f['length']-0x1],'end'));_0x1ee1f0['model']['change'](()=>{_0x2aa623['markBlockFormat'](_0x436e3a,{'commandName':_0x2558ac,'commandParams':[],'formatGroupId':'listIndent'},getBlocksAffectedByIndent(_0x4a5e7f));});};}_0x2aa623['enableCommand']('numberedList',_0x43341d('numberedList')),_0x2aa623['enableCommand']('bulletedList',_0x43341d('bulletedList')),_0xf5155b&&_0x2aa623['enableCommand']('todoList',_0x43341d('todoList')),_0x2aa623['enableCommand']('indentList',_0x207208('indentList')),_0x2aa623['enableCommand']('outdentList',_0x207208('outdentList')),_0xf5155b&&_0x2aa623['enableCommand']('checkTodoList',()=>{const _0x750564=_0x1ee1f0['commands']['get']('checkTodoList'),_0x35a3cb=Array['from'](_0x750564['_selectedElements']);_0x35a3cb['filter'](_0x3d99dc=>_0x3d99dc['getAttribute']('todoListChecked')!=_0x750564['value']),_0x1ee1f0['model']['change'](()=>{for(const _0x1f05af of _0x35a3cb)_0x2aa623['markBlockFormat'](_0x1f05af,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x750564['value']}]});});}),_0x2aa623['descriptionFactory']['registerElementLabel']('listItem',_0x3c0dde=>getTranslation$1(_0x8246dc,'ELEMENT_LIST_ITEM',_0x3c0dde)),_0x2aa623['descriptionFactory']['registerDescriptionCallback'](_0x1776c3=>{if('formatBlock'!=_0x1776c3['type']&&'formatInline'!=_0x1776c3['type'])return;const {data:_0x283314}=_0x1776c3;if(_0x283314){if('numberedList'==_0x283314['commandName']||'bulletedList'==_0x283314['commandName']||'todoList'==_0x283314['commandName'])switch(_0x283314['commandName']['replace']('List','')){case'bulleted':return _0x5fefef(getTranslation$1(_0x8246dc,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x5fefef(getTranslation$1(_0x8246dc,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x5fefef(getTranslation$1(_0x8246dc,'ELEMENT_TODO_LIST'));}if('indentList'==_0x283314['commandName'])return{'type':'format','content':getTranslation$1(_0x8246dc,'*Indent:*\x20%0',getTranslation$1(_0x8246dc,'ELEMENT_LIST_ITEM'))};if('outdentList'==_0x283314['commandName'])return{'type':'format','content':getTranslation$1(_0x8246dc,'*Outdent:*\x20%0',getTranslation$1(_0x8246dc,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0x283314['commandName'])return _0x283314['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x8246dc,'*Check\x20item*')}:{'type':'format','content':getTranslation$1(_0x8246dc,'*Uncheck\x20item*')};}function _0x5fefef(_0x4b0d93){return{'type':'format','content':getTranslation$1(_0x8246dc,'*Change\x20to:*\x20%0',_0x4b0d93)};}});}}function getBlocksToMarkForListTypeChange(_0x4bf05f,_0x59112e,_0x26d6c8){let _0x3dc00c=Array['from'](_0x4bf05f)['filter'](_0x1807b1=>checkCanBecomeListItem(_0x1807b1,_0x26d6c8));_0x3dc00c=_0x3dc00c['filter'](_0x58aad8=>!_0x58aad8['is']('element','listItem')||_0x58aad8['getAttribute']('listType')!=_0x59112e);const _0x5f2171=new Set();for(const _0xd685eb of _0x3dc00c)_0xd685eb['is']('element','listItem')?_0x5f2171['add'](getListHead(_0xd685eb)):_0x5f2171['add'](_0xd685eb);return Array['from'](_0x5f2171);}function checkCanBecomeListItem(_0x42485c,_0x1ee783){return _0x1ee783['checkChild'](_0x42485c['parent'],'listItem')&&!_0x1ee783['isObject'](_0x42485c);}function getBlocksToMarkForIndentChange(_0x346b61){let _0x3262e9=Array['from'](_0x346b61);const _0x3b5f8a=_0x3262e9['findIndex'](_0xff3fe8=>'listItem'!=_0xff3fe8['name']);return _0x3b5f8a>-0x1&&(_0x3262e9=_0x3262e9['slice'](0x0,_0x3b5f8a)),_0x3262e9;}function getListHead(_0x1512af){const _0x318aab=_0x1512af['getAttribute']('listIndent');if(0x0==_0x318aab)return _0x1512af;let _0x2c8f1a=_0x1512af;for(;_0x1512af['previousSibling']&&_0x1512af['previousSibling']['is']('element','listItem');){const _0x5d2ed0=_0x1512af['previousSibling']['getAttribute']('listIndent');if(_0x5d2ed0==_0x318aab)_0x2c8f1a=_0x1512af['previousSibling'];else{if(_0x5d2ed0<_0x318aab)break;}_0x1512af=_0x1512af['previousSibling'];}return _0x2c8f1a;}function getBlocksAffectedByListTypeChange(_0x4a253b){const _0x1b548e=[];if(_0x4a253b['is']('element','listItem')&&_0x4a253b['getAttribute']('listIndent')>0x0){let _0x3c8489=_0x4a253b['nextSibling'];for(;_0x3c8489&&'listItem'==_0x3c8489['name']&&_0x3c8489['getAttribute']('listIndent')==_0x4a253b['getAttribute']('listIndent');)_0x1b548e['push'](_0x3c8489),_0x3c8489=_0x3c8489['nextSibling'];}return _0x1b548e;}function getBlocksAffectedByIndent(_0x58d0af){const _0x2a56a0=new Set();for(const _0x11ad43 of _0x58d0af){let _0x32e67f=_0x11ad43['nextSibling'];for(;_0x32e67f&&_0x32e67f['getAttribute']('listIndent')>_0x11ad43['getAttribute']('listIndent');)_0x2a56a0['add'](_0x32e67f),_0x32e67f=_0x32e67f['nextSibling'];}return Array['from'](_0x2a56a0);}class TrackChangesLegacyListProperties extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('LegacyListPropertiesEditing'))return;const _0x1e36f5=this['editor']['config']['get']('list.properties'),_0x3ff75f=this['editor']['plugins']['get']('TrackChangesEditing');_0x1e36f5['styles']&&_0x3ff75f['enableCommand']('listStyle',this['handleListStyleCommand']['bind'](this)),_0x1e36f5['reversed']&&_0x3ff75f['enableCommand']('listReversed',this['handleListReversedCommand']['bind'](this)),_0x1e36f5['startIndex']&&_0x3ff75f['enableCommand']('listStart',this['handleListStartCommand']['bind'](this)),_0x3ff75f['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));}['handleListStyleCommand'](_0x228a39,_0x59c1f3={}){const _0x4882ea=this['editor']['plugins']['get']('TrackChangesEditing'),_0x1dcfea=this['_getSuggestionBlocksForListStyle']();this['editor']['model']['change'](()=>{_0x4882ea['markMultiRangeBlockFormat'](_0x1dcfea,{'commandName':'listStyle','commandParams':[{'type':_0x59c1f3['type']}],'formatGroupId':'listStyle'});});}['handleListReversedCommand'](_0x4c8eff,_0xbf1794={}){const _0x20aef6=this['editor']['plugins']['get']('TrackChangesEditing'),_0x5d0f27=this['_getSuggestionBlocks'](_0x2c8d83=>_0x2c8d83['is']('element','listItem')&&'numbered'===_0x2c8d83['getAttribute']('listType'));if(_0x5d0f27['length']<0x1)return;const _0x2c5b39=_0x5d0f27['map'](_0x588e03=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x588e03,'before'),this['editor']['model']['createPositionAt'](_0x588e03,0x0)));this['editor']['model']['change'](()=>{_0x20aef6['markMultiRangeBlockFormat'](_0x2c5b39,{'commandName':'listReversed','commandParams':[{'reversed':_0xbf1794['reversed']}],'formatGroupId':'listReversed'});});}['handleListStartCommand'](_0x245b00,_0x5917d9={}){const _0x23386c=this['editor']['plugins']['get']('TrackChangesEditing'),_0x37378e=this['_getSuggestionBlocks'](_0x570344=>_0x570344['is']('element','listItem')&&'numbered'===_0x570344['getAttribute']('listType'));if(_0x37378e['length']<0x1)return;const _0x2c01b4=_0x37378e['map'](_0x236013=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x236013,'before'),this['editor']['model']['createPositionAt'](_0x236013,0x0)));this['editor']['model']['change'](()=>{_0x23386c['markMultiRangeBlockFormat'](_0x2c01b4,{'commandName':'listStart','commandParams':[{'startIndex':_0x5917d9['startIndex']}],'formatGroupId':'listStart'});});}['handleDescriptions'](_0x7f03a5){if('formatBlock'!=_0x7f03a5['type']&&'formatInline'!=_0x7f03a5['type'])return;const _0x12ae28=this['editor']['locale'],{data:_0x4cce36}=_0x7f03a5;if(!_0x4cce36)return;let _0x2b3d53,_0x3443e5;switch(_0x4cce36['commandName']){case'listStyle':_0x2b3d53='*Change\x20to:*\x20%0',_0x3443e5={'type':'format','content':getTranslation$1(_0x12ae28,_0x2b3d53,getTranslation$1(_0x12ae28,this['_getTranslationKeyForListStyle'](_0x4cce36['commandParams'][0x0]['type'])))};break;case'listReversed':_0x2b3d53=_0x4cce36['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x3443e5={'type':'format','content':getTranslation$1(_0x12ae28,_0x2b3d53)};break;case'listStart':_0x2b3d53='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x3443e5={'type':'format','content':getTranslation$1(_0x12ae28,_0x2b3d53,_0x4cce36['commandParams'][0x0]['startIndex'])};}return _0x3443e5;}['_getSuggestionBlocksForListStyle'](){const _0xb77120=this['editor']['plugins']['get']('LegacyListUtils');let _0x26e124=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']());return _0x26e124[0x0]?.['is']('element','listItem')&&_0x26e124['unshift'](..._0xb77120['getSiblingNodes'](this['editor']['model']['document']['selection']['getFirstPosition'](),'backward')),_0x26e124[_0x26e124['length']-0x1]?.['is']('element','listItem')&&_0x26e124['push'](..._0xb77120['getSiblingNodes'](this['editor']['model']['document']['selection']['getLastPosition'](),'forward')),_0x26e124=[...new Set(_0x26e124)],this['editor']['model']['document']['selection']['getFirstPosition']()?.['parent']?.['is']('element','listItem')&&(_0x26e124=_0x26e124['filter'](_0x482154=>_0x482154['is']('element','listItem'))),_0x26e124;}['_getSuggestionBlocks'](_0x310c7a){const _0xfc6c99=this['editor']['plugins']['get']('LegacyListUtils');let _0x563fc8=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']())['filter'](_0x310c7a)['map'](_0x353e09=>{const _0x414b24=this['editor']['model']['createPositionAt'](_0x353e09,0x0);return[..._0xfc6c99['getSiblingNodes'](_0x414b24,'backward'),..._0xfc6c99['getSiblingNodes'](_0x414b24,'forward')];})['flat']();return _0x563fc8=[...new Set(_0x563fc8)],_0x563fc8;}['_getTranslationKeyForListStyle'](_0x3f5113){return'ELEMENT_'+(this['editor']['plugins']['get']('LegacyListUtils')['getListTypeFromListStyleType'](_0x3f5113)||'default')['toUpperCase']()+'_LIST_'+_0x3f5113['toUpperCase']()['replace'](/-/g,'_');}}class _0x57a26d extends ckeditor5['Plugin']{['afterInit'](){const _0x3a2276=this['editor'];if(!_0x3a2276['plugins']['has']('MediaEmbedEditing'))return;const _0x432af6=_0x3a2276['plugins']['get']('TrackChangesEditing'),_0x27ffa7=_0x3a2276['locale'];_0x432af6['enableCommand']('mediaEmbed'),_0x432af6['descriptionFactory']['registerElementLabel']('media',_0x3c0d98=>getTranslation$1(_0x27ffa7,'ELEMENT_MEDIA',_0x3c0d98));}}class TrackChangesMention extends ckeditor5['Plugin']{['afterInit'](){const _0x823cb=this['editor'];_0x823cb['plugins']['has']('MentionEditing')&&_0x823cb['plugins']['get']('TrackChangesEditing')['enableCommand']('mention');}}class _0x1ac05f extends ckeditor5['Plugin']{['afterInit'](){const _0x3f16a5=this['editor'];if(!_0x3f16a5['plugins']['has']('MergeFieldsEditing'))return;const _0x2c0a59=_0x3f16a5['plugins']['get']('TrackChangesEditing'),_0x2766df=_0x3f16a5['locale'];_0x2c0a59['enableCommand']('insertMergeField'),_0x2c0a59['enableCommand']('insertMergeFieldBlock'),_0x2c0a59['enableCommand']('insertMergeFieldImage'),_0x2c0a59['descriptionFactory']['registerElementLabel']('mergeField',_0x353be9=>getTranslation$1(_0x2766df,'ELEMENT_MERGE_FIELD',_0x353be9)),_0x2c0a59['descriptionFactory']['registerElementLabel']('mergeFieldBlock',_0x4871be=>getTranslation$1(_0x2766df,'ELEMENT_MERGE_FIELD',_0x4871be)),_0x2c0a59['descriptionFactory']['registerDescriptionCallback'](_0x200279=>{if('insertion'!=_0x200279['type']&&'deletion'!=_0x200279['type'])return;const _0x5eb445=_0x200279['getContainedElement']();if(null==_0x5eb445)return;const _0xabdbf2=_0x3f16a5['plugins']['get']('MergeFieldsEditing');let _0x4c305f;switch(_0xabdbf2['getMergeFieldType'](_0x5eb445)){case null:return;case'image':{const _0x39ee39=_0xabdbf2['unwrapAffixes'](_0x5eb445['getAttribute']('src'));_0x4c305f=_0xabdbf2['getLabel'](_0x39ee39)||_0x39ee39;break;}default:{const _0x3d45f2=_0x5eb445['getAttribute']('id');_0x4c305f=_0xabdbf2['getLabel'](_0x3d45f2)||_0x3d45f2;break;}}return'insertion'==_0x200279['type']?{'type':'insertion','content':getTranslation$1(_0x2766df,'*Insert:*\x20%0','\x22'+_0x4c305f+'\x22\x20'+getTranslation$1(_0x2766df,'ELEMENT_MERGE_FIELD'))}:{'type':'deletion','content':getTranslation$1(_0x2766df,'*Remove:*\x20%0','\x22'+_0x4c305f+'\x22\x20'+getTranslation$1(_0x2766df,'ELEMENT_MERGE_FIELD'))};});}}class TrackChangesMultiLevelList extends ckeditor5['Plugin']{['afterInit'](){const _0x1a9845=this['editor'],_0x9c28c4=_0x1a9845['plugins']['get']('TrackChangesEditing');_0x1a9845['plugins']['has']('MultiLevelList')&&(_0x9c28c4['enableDefaultAttributesIntegration']('multiLevelList'),_0x9c28c4['descriptionFactory']['registerDescriptionCallback'](_0x3d5fed=>this['handleDescriptions'](_0x3d5fed)));}['handleDescriptions'](_0x433f04){const _0x1988af=this['editor']['locale'],{data:_0x14f3ac}=_0x433f04,_0xd8522f={'type':'format','content':''};if(_0x14f3ac&&'listMarkerStyle'==_0x14f3ac['key']){if(!_0x14f3ac['oldValue'])return{'type':'format','content':getTranslation$1(_0x1988af,'*Set\x20format:*\x20%0',getTranslation$1(_0x1988af,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0x14f3ac['newValue']+')'};if(!_0x14f3ac['newValue']){let _0x147059=_0x433f04['head'];for(;_0x147059;){if(_0x147059['data']&&'listType'==_0x147059['data']['key']&&_0x147059['data']['newValue'])return _0xd8522f;_0x147059=_0x147059['next'];}return{'type':'format','content':getTranslation$1(_0x1988af,'*Remove\x20format:*\x20%0',getTranslation$1(_0x1988af,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0x14f3ac['oldValue']+')'};}}}}class _0x579bee extends ckeditor5['Plugin']{['afterInit'](){const _0x16392a=this['editor'];if(!_0x16392a['plugins']['has']('PageBreakEditing'))return;_0x16392a['plugins']['get']('TrackChangesEditing')['enableCommand']('pageBreak');const _0x543beb=_0x16392a['plugins']['get']('TrackChangesEditing'),_0x4b1f2d=_0x16392a['locale'];_0x543beb['descriptionFactory']['registerElementLabel']('pageBreak',_0x29176a=>getTranslation$1(_0x4b1f2d,'ELEMENT_PAGE_BREAK',_0x29176a));}}class _0x32bff7 extends ckeditor5['Plugin']{['afterInit'](){const _0x1fd634=this['editor'];if(!_0x1fd634['plugins']['has']('Paragraph'))return;const _0x258302=_0x1fd634['locale'],_0x3c26ba=_0x1fd634['plugins']['get']('TrackChangesEditing');_0x3c26ba['descriptionFactory']['registerElementLabel']('paragraph',_0x4c833a=>getTranslation$1(_0x258302,'ELEMENT_PARAGRAPH',_0x4c833a)),_0x3c26ba['enableDefaultAttributesIntegration']('paragraph'),_0x3c26ba['enableCommand']('insertParagraph');const _0xca595a=_0x3c26ba['descriptionFactory'];_0xca595a['registerDescriptionCallback'](_0x113b1d=>{if('insertion'!==_0x113b1d['type'])return;const {start:_0x3124a2,end:_0x1784f8}=_0x113b1d['getFirstRange']();if(!_0x3124a2['isTouching'](_0x1784f8)||!_0x3124a2['nodeAfter'])return;const _0x240ca5=_0x1fd634['model']['schema'],_0x1357ed=_0x3124a2['nodeAfter'];return _0x240ca5['isBlock'](_0x1357ed)&&!_0x240ca5['isLimit'](_0x1357ed)&&_0x240ca5['checkChild'](_0x1357ed,'$text')?{'type':'insertion','content':getTranslation$1(_0x258302,'*Insert:*\x20%0',_0xca595a['getItemLabel'](_0x1357ed,0x1))}:void 0x0;}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x5c63d0=this['editor'],_0x165718=_0x5c63d0['locale'];_0x5c63d0['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x317629=>{if('formatBlock'!=_0x317629['type'])return;const {data:_0x242480}=_0x317629;return _0x242480&&'paragraph'==_0x242480['commandName']?{'type':'format','content':getTranslation$1(_0x165718,'*Change\x20to:*\x20%0',getTranslation$1(_0x165718,'ELEMENT_PARAGRAPH'))}:void 0x0;});}}class _0xe17658 extends ckeditor5['Plugin']{['afterInit'](){const _0x360077=this['editor'];_0x360077['commands']['get']('replaceSource')&&_0x360077['plugins']['get']('TrackChangesEditing')['enableCommand']('replaceSource');}}class TrackChangesRemoveFormat extends ckeditor5['Plugin']{['afterInit'](){const _0x3da029=this['editor'];if(!_0x3da029['plugins']['has']('RemoveFormatEditing'))return;_0x3da029['plugins']['get']('TrackChangesEditing')['enableDefaultAttributesIntegration']('removeFormat'),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x3d1e2c=this['editor'];_0x3d1e2c['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x1358b8=>{if('formatBlock'!=_0x1358b8['type']&&'formatInline'!=_0x1358b8['type'])return;const {data:_0x272117}=_0x1358b8;return _0x272117&&'removeFormat'==_0x272117['commandName']?{'type':'format','content':getTranslation$1(_0x3d1e2c['locale'],'*Remove\x20all\x20formatting*')}:void 0x0;});}}class TrackChangesRestrictedEditingMode extends ckeditor5['Plugin']{['afterInit'](){const _0x1d97f7=this['editor'];if(!_0x1d97f7['plugins']['has']('RestrictedEditingModeEditing'))return;const _0x5acda0=_0x1d97f7['plugins']['get']('TrackChangesEditing');_0x5acda0['enableCommand']('goToPreviousRestrictedEditingException'),_0x5acda0['enableCommand']('goToNextRestrictedEditingException');const _0x470912=_0x1d97f7['plugins']['get']('RestrictedEditingModeEditing');_0x470912['enableCommand']('trackChanges'),_0x470912['enableCommand']('acceptSuggestion'),_0x470912['enableCommand']('discardSuggestion'),_0x470912['enableCommand']('acceptAllSuggestions'),_0x470912['enableCommand']('discardAllSuggestions'),_0x470912['enableCommand']('acceptSelectedSuggestions'),_0x470912['enableCommand']('discardSelectedSuggestions');}}class TrackChangesShiftEnterCommand extends ckeditor5['Plugin']{['afterInit'](){const _0x5b40a4=this['editor'];if(!_0x5b40a4['plugins']['has']('ShiftEnter'))return;const _0x183694=_0x5b40a4['plugins']['get']('TrackChangesEditing');_0x183694['enableCommand']('shiftEnter'),_0x183694['descriptionFactory']['registerElementLabel']('softBreak',_0x5b9aa9=>getTranslation$1(_0x5b40a4['locale'],'ELEMENT_LINE_BREAK',_0x5b9aa9));}}function getRangesWithAttribute(_0x142e71,_0x32b4e9,_0x511f43){const _0x304968=[];for(const _0x454e96 of _0x32b4e9['getItems']())_0x454e96['hasAttribute'](_0x142e71)&&_0x304968['push'](_0x511f43['createRangeOn'](_0x454e96));return _0x304968;}class TrackChangesStandardEditingMode extends ckeditor5['Plugin']{['afterInit'](){const _0x308495=this['editor'],_0x216849=_0x308495['plugins']['get']('TrackChangesEditing');_0x308495['plugins']['has']('StandardEditingModeEditing')&&(this['_enableEditingExceptionCommand'](),this['_enableEditingExceptionBlockCommand'](),_0x216849['enableCommand']('restrictedEditingExceptionAuto'));}['_enableEditingExceptionCommand'](){const _0x24eb7a=this['editor'],_0x53df4a=_0x24eb7a['model'],_0x17d266=_0x24eb7a['locale'],_0x37f1ed=_0x24eb7a['plugins']['get']('TrackChangesEditing'),_0x47520c='restrictedEditingException',_0x2e94d0=_0x24eb7a['commands']['get'](_0x47520c);_0x37f1ed['enableCommand'](_0x47520c,(_0x2a4eec,_0x367b1c={})=>{const _0x30d697=_0x53df4a['document']['selection'];if(_0x30d697['isCollapsed'])return void _0x2a4eec(_0x367b1c);const _0x352b43=void 0x0!==_0x367b1c['forceValue']?_0x367b1c['forceValue']:!_0x2e94d0['value'];_0x53df4a['change'](()=>{const _0x4c37bf=Array['from'](_0x30d697['getRanges']());for(const _0x3fd163 of _0x4c37bf){const _0x4c16b9=_0x352b43?[_0x3fd163]:getRangesWithAttribute(_0x47520c,_0x3fd163,_0x53df4a);for(const _0x4a75c2 of _0x4c16b9)_0x37f1ed['markInlineFormat'](_0x4a75c2,{'commandName':_0x47520c,'commandParams':[{'forceValue':_0x352b43}]});}});}),_0x37f1ed['descriptionFactory']['registerDescriptionCallback'](_0x4bc299=>{if('formatBlock'!=_0x4bc299['type']&&'formatInline'!=_0x4bc299['type'])return;const {data:_0x37b60b}=_0x4bc299;return _0x37b60b&&_0x37b60b['commandName']==_0x47520c?_0x37b60b['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x17d266,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':getTranslation$1(_0x17d266,'FORMAT_RESTRICTED_DISABLED')}:void 0x0;});}['_enableEditingExceptionBlockCommand'](){const _0x251474=this['editor'],_0x10f2e4=_0x251474['locale'],_0x2c6aca=_0x251474['plugins']['get']('TrackChangesEditing'),_0x2b6411='restrictedEditingExceptionBlock',_0x2449c4=this['editor']['commands']['get'](_0x2b6411);_0x2c6aca['enableCommand'](_0x2b6411,(_0x35954f,_0x3cea9f={})=>{const _0x2c71eb=this['editor']['model']['document']['selection'],_0xd85135=_0x3cea9f&&void 0x0!==_0x3cea9f['forceValue']?_0x3cea9f['forceValue']:!_0x2449c4['value'];let _0x3e8547=[];if(_0xd85135){const _0x385d93=Array['from'](_0x2c71eb['getSelectedBlocks']())['filter'](_0x91c49e=>isInBlockException(_0x91c49e)||_0x19f1b3(_0x91c49e,this['editor']['model']['schema']));_0x3e8547=getRangesOfBlockGroups(_0x385d93,_0x251474['model']);}else{const _0x419e10=Array['from'](_0x2c71eb['getSelectedBlocks']())['map'](_0x20f062=>findExceptionContentBlock(_0x20f062))['filter'](_0x56cd53=>!!_0x56cd53);_0x3e8547=getRangesOfBlockGroups(_0x419e10,_0x251474['model']);}_0x251474['model']['change'](()=>{for(const _0x2246c5 of _0x3e8547)_0x2c6aca['markBlockFormat'](_0x2246c5,{'commandName':_0x2b6411,'commandParams':[{'forceValue':_0xd85135}]});});}),_0x2c6aca['descriptionFactory']['registerDescriptionCallback'](_0x4099b0=>{const {data:_0x44e7d9}=_0x4099b0;if(_0x44e7d9&&_0x44e7d9['commandName']==_0x2b6411)return _0x44e7d9['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x10f2e4,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':getTranslation$1(_0x10f2e4,'FORMAT_RESTRICTED_DISABLED')};});}}function _0x19f1b3(_0x43d9d4,_0x3afdd3){const _0x4a75c1=_0x3afdd3['createContext'](_0x43d9d4['parent']);return!!_0x3afdd3['checkChild'](_0x4a75c1,'restrictedEditingException')&&!!_0x3afdd3['checkChild'](_0x4a75c1['push']('restrictedEditingException'),_0x43d9d4);}function isInBlockException(_0x507121){return!!_0x507121['findAncestor']('restrictedEditingException',{'includeSelf':!0x0});}function findExceptionContentBlock(_0x2fd6f6){let _0x385ba9=_0x2fd6f6;for(;_0x385ba9['parent'];){if('restrictedEditingException'==_0x385ba9['parent']['name'])return _0x385ba9;_0x385ba9=_0x385ba9['parent'];}return null;}class TrackChangesStylesDropdown extends ckeditor5['Plugin']{['afterInit'](){const _0x5444e1=this['editor'];if(!_0x5444e1['plugins']['has']('Style')||!_0x5444e1['plugins']['has']('DataSchema'))return;const _0x3a7539=_0x5444e1['plugins']['get']('TrackChangesEditing'),_0x6f3264=_0x5444e1['locale'],_0x2d229f=_0x5444e1['config']['get']('style')||{},_0x4abd0c=_0x5444e1['plugins']['get']('GeneralHtmlSupport'),_0x4ed3ab=_0x5444e1['plugins']['get']('StyleUtils')['normalizeConfig'](_0x5444e1['plugins']['get']('DataSchema'),_0x2d229f['definitions']);_0x3a7539['enableDefaultAttributesIntegration']('style');const _0x31da32=new Set();for(const _0x449da6 of _0x4ed3ab['block']){const _0x4d2ada=_0x4abd0c['getGhsAttributeNameForElement'](_0x449da6['element']);_0x31da32['add'](_0x4d2ada);}const _0x365b9a=new Set();for(const _0xb31acb of _0x4ed3ab['inline']){const _0x4edad6=_0x4abd0c['getGhsAttributeNameForElement'](_0xb31acb['element']);_0x365b9a['add'](_0x4edad6);for(const _0x4dcbb0 of _0xb31acb['ghsAttributes'])_0x365b9a['add'](_0x4dcbb0);}for(const _0x181a1a of _0x31da32)_0x3a7539['descriptionFactory']['registerAttributeLabel'](_0x181a1a,getTranslation$1(_0x6f3264,'FORMAT_STYLE'));for(const _0x50b056 of _0x365b9a)_0x3a7539['descriptionFactory']['registerAttributeLabel'](_0x50b056,getTranslation$1(_0x6f3264,'FORMAT_STYLE'));this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x3c84e1=this['editor'],_0x42d8b7=_0x3c84e1['locale'];_0x3c84e1['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x3af15e=>{if('formatBlock'!=_0x3af15e['type']&&'formatInline'!=_0x3af15e['type'])return;const {data:_0x3ef39f}=_0x3af15e;return _0x3ef39f&&'style'===_0x3ef39f['commandName']?_0x3ef39f['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x42d8b7,'*Set\x20format:*\x20%0',_0x3ef39f['commandParams'][0x0]['styleName']['toLowerCase']())}:{'type':'format','content':getTranslation$1(_0x42d8b7,'*Remove\x20format:*\x20%0',_0x3ef39f['commandParams'][0x0]['styleName']['toLowerCase']())}:void 0x0;});}}class _0x5da27b extends ckeditor5['Plugin']{['_tablePostFixingSubtypes'];['_tableSuggestions'];constructor(_0x306376){super(_0x306376),this['_tablePostFixingSubtypes']=['tableRow','tableColumn'],this['_tableSuggestions']=new Set();}['afterInit'](){const _0x41c796=this['editor'],_0x392d31=_0x41c796['model']['document']['selection'];if(!_0x41c796['plugins']['has']('TableEditing'))return;const _0x482c44=_0x41c796['locale'],_0x1a9aa1=_0x41c796['plugins']['get']('TrackChangesEditing'),_0x13d805=_0x41c796['plugins']['get']('TableUtils');_0x1a9aa1['descriptionFactory']['registerElementLabel']('table',_0x21db32=>getTranslation$1(_0x482c44,'ELEMENT_TABLE',_0x21db32)),this['_setupColumnsRowsFixing'](),_0x1a9aa1['enableCommand']('insertTable'),_0x1a9aa1['enableCommand']('selectTableRow'),_0x1a9aa1['enableCommand']('selectTableColumn');for(const _0x44475c of['insertTableRowAbove','insertTableRowBelow']){const _0x4f191d=_0x41c796['commands']['get'](_0x44475c);_0x1a9aa1['enableCommand'](_0x44475c,_0x5076f5=>{_0x41c796['model']['change'](_0x578a77=>{_0x5076f5();const _0x3a4c1c='above'===_0x4f191d['order'],_0x14c8e6=_0x13d805['getSelectionAffectedTableCells'](_0x392d31),_0x17ab1e=_0x13d805['getRowIndexes'](_0x14c8e6),_0x56d239=_0x3a4c1c?_0x17ab1e['first']-0x1:_0x17ab1e['last']+0x1,_0x189e30=_0x14c8e6[0x0]['findAncestor']('table'),_0x15a341=_0x13d805['createTableWalker'](_0x189e30,{'startRow':_0x56d239,'endRow':_0x56d239}),_0x54a41b=Array['from'](_0x15a341)['map'](_0x47928f=>_0x578a77['createRangeOn'](_0x47928f['cell']));_0x1a9aa1['markMultiRangeInsertion'](_0x54a41b,'tableRow');});});}for(const _0x56b901 of['insertTableColumnLeft','insertTableColumnRight']){const _0x3bbef7=_0x41c796['commands']['get'](_0x56b901);_0x1a9aa1['enableCommand'](_0x56b901,_0x1552f9=>{_0x41c796['model']['change'](_0x16c09b=>{_0x1552f9();const _0x2ba3fa='left'===_0x3bbef7['order'],_0x55dfd1=_0x13d805['getSelectionAffectedTableCells'](_0x392d31),_0x4db0ee=_0x13d805['getColumnIndexes'](_0x55dfd1),_0x374731=_0x2ba3fa?_0x4db0ee['first']-0x1:_0x4db0ee['last']+0x1,_0x466fbb=_0x55dfd1[0x0]['findAncestor']('table'),_0x5a1ef3=_0x13d805['createTableWalker'](_0x466fbb,{'startRow':0x0,'column':_0x374731,'includeAllSlots':!0x1}),_0x4266c8=Array['from'](_0x5a1ef3)['map'](_0x2db170=>_0x16c09b['createRangeOn'](_0x2db170['cell']));_0x1a9aa1['markMultiRangeInsertion'](_0x4266c8,'tableColumn');});});}for(const _0x6d4564 of['removeTableRow','removeTableColumn']){const _0xc0ee57=_0x6d4564['substr'](0xb),_0xcd2785=_0xc0ee57['toLowerCase'](),_0x39f2a0=_0xcd2785['substr'](0x0,0x3)+'span',_0x4aa2be='table'+_0xc0ee57,_0x176ead='min'+_0xc0ee57,_0x2590bf='max'+_0xc0ee57;_0x1a9aa1['enableCommand'](_0x6d4564,()=>{_0x41c796['model']['change'](_0xffd8d6=>{const _0x56677f=_0x13d805['getSelectionAffectedTableCells'](_0x392d31),_0x116f95=_0x56677f[0x0]['findAncestor']('table');let _0x4c853f;if('removeTableRow'==_0x6d4564){const _0x1f40a0=_0x13d805['getRowIndexes'](_0x56677f);_0x4c853f={'startRow':_0x1f40a0['first'],'endRow':_0x1f40a0['last'],'includeAllSlots':!0x0};}else{const _0x41738d=_0x13d805['getColumnIndexes'](_0x56677f);_0x4c853f={'startColumn':_0x41738d['first'],'endColumn':_0x41738d['last'],'includeAllSlots':!0x0};}const _0x2d19c8=_0x13d805['createTableWalker'](_0x116f95,_0x4c853f),_0x42dba3=Array['from'](_0x2d19c8)['map'](({cell:_0x4ce4d8})=>_0x4ce4d8),_0x3b3d1e=_0x39ee6b(_0x42dba3['filter'](_0x18fecf=>_0x18fecf['hasAttribute'](_0x39f2a0))),_0x5098c1=_0x39ee6b(_0x42dba3['filter'](_0x5429aa=>!_0x5429aa['hasAttribute'](_0x39f2a0)))['map'](_0x87c3f1=>_0xffd8d6['createRangeOn'](_0x87c3f1)),_0xbc9405=_0x1a9aa1['markMultiRangeDeletion'](_0x5098c1,_0x4aa2be);if(_0xbc9405&&('tableRow'==_0xbc9405['subType']||'tableColumn'==_0xbc9405['subType'])){const _0x356ec8=this['_getSuggestionCoords'](_0xbc9405);for(const _0x5160bd of _0x3b3d1e){const _0x45a96c=_0xffd8d6['createRangeOn'](_0x5160bd),_0x2d448d=_0x13d805['getCellLocation'](_0x5160bd),_0x1125dd=_0x5160bd['getAttribute'](_0x39f2a0)-0x1,_0x5d9559=_0x356ec8[_0x176ead],_0x37407e=_0x356ec8[_0x2590bf];_0x5d9559<=_0x2d448d[_0xcd2785]&&_0x2d448d[_0xcd2785]+_0x1125dd<=_0x37407e&&_0xbc9405['addRange'](_0x45a96c);}}});});}function _0x54ac1c(_0x2ab37b){const _0x364370=Array['from'](_0x392d31['getRanges']())['map'](_0x3e3aa7=>ckeditor5['ModelLiveRange']['fromRange'](_0x3e3aa7));_0x41c796['model']['change'](_0x3fe7fc=>{const _0x23f987=_0x3fe7fc['batch'];_0x2ab37b=_0x2ab37b['filter'](_0x14746d=>'$graveyard'!=_0x14746d['root']['rootName']),_0x3fe7fc['setSelection'](_0x2ab37b),_0x41c796['commands']['get']('removeTableRow')['refresh'](),_0x41c796['execute']('removeTableRow',{'forceDefaultExecution':!0x0}),_0x41c796['model']['enqueueChange'](()=>{_0x41c796['model']['enqueueChange'](_0x23f987,_0x830272=>{const _0x1d59fc=_0x364370['filter'](_0x41eff2=>'$graveyard'!=_0x41eff2['root']['rootName']);_0x1d59fc['length']>0x0&&_0x830272['setSelection'](_0x1d59fc);for(const _0x9cbab7 of _0x364370)_0x9cbab7['detach']();});});});}function _0x416c42(_0xa54399){_0x41c796['model']['change'](_0x49023f=>{const _0x4718c6=Array['from'](_0x392d31['getRanges']())['map'](_0x5d9a62=>ckeditor5['ModelLiveRange']['fromRange'](_0x5d9a62)),_0x39ea3a=[];for(const _0x4cf901 of _0xa54399)for(const _0x9ea06b of _0x4cf901['getItems']({'shallow':!0x0}))_0x39ea3a['push'](_0x9ea06b);for(const _0x4e436c of _0x39ea3a)'$graveyard'!=_0x4e436c['root']['rootName']&&(_0x49023f['setSelection'](_0x49023f['createPositionAt'](_0x4e436c,0x0)),_0x41c796['commands']['get']('removeTableColumn')['refresh'](),_0x41c796['execute']('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x17ede7=_0x4718c6['filter'](_0x41aa8c=>'$graveyard'!=_0x41aa8c['root']['rootName']);_0x17ede7['length']>0x0&&_0x49023f['setSelection'](_0x17ede7);for(const _0x1f62c8 of _0x4718c6)_0x1f62c8['detach']();});}function _0xe0b5dd(_0x41bd0c,_0xc08356){return _0xc08356['every'](_0x556e94=>_0x41bd0c['some'](_0xa2cf25=>_0xa2cf25['end']['isEqual'](_0x556e94['start'])||_0x556e94['end']['isEqual'](_0xa2cf25['start'])));}function _0xc5baeb(_0xf12520,_0x39890b){return!_0xf12520['some'](_0x5762b0=>_0x39890b['some'](_0x11368a=>_0x5762b0['isIntersecting'](_0x11368a)))&&_0xf12520['some'](_0x529afe=>_0x39890b['some'](_0x2aab1e=>_0x529afe['end']['isTouching'](_0x2aab1e['start'])));}_0x1a9aa1['descriptionFactory']['registerDescriptionCallback'](_0x29cdf8=>{if('insertion'!=_0x29cdf8['type']&&'deletion'!=_0x29cdf8['type'])return;const _0x31cb65=_0x29cdf8['getContainedElement']();if(null!=_0x31cb65&&_0x31cb65['is']('element','table')){if('insertion'==_0x29cdf8['type']){const _0x52a3ad=_0x29cdf8['getItems']()['filter'](_0x2c02f6=>_0x2c02f6['is']('$textProxy'))['map'](_0x4e9925=>_0x4e9925['data']);if(_0x52a3ad['length'])return{'type':'insertion','content':getTranslation$1(_0x482c44,'*Insert:*\x20%0',getTranslation$1(_0x482c44,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x52a3ad['join']('\x20')+'\x22'))};}if('deletion'==_0x29cdf8['type']){const _0x3f3b8f=_0x29cdf8['getItems']()['filter'](_0x220201=>_0x220201['is']('$textProxy'))['map'](_0x30676a=>_0x30676a['data']);if(_0x3f3b8f['length'])return{'type':'deletion','content':getTranslation$1(_0x482c44,'*Remove:*\x20%0',getTranslation$1(_0x482c44,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x3f3b8f['join']('\x20')+'\x22'))};}}}),_0x1a9aa1['descriptionFactory']['registerDescriptionCallback'](_0x1a1048=>{if('tableRow'==_0x1a1048['subType']){const _0x45d408=_0x1a1048['getItems']()['filter'](_0x131ae5=>_0x131ae5['is']('$textProxy'))['map'](_0xc8579=>_0xc8579['data']),_0x586d62=this['_getSuggestionCoords'](_0x1a1048),_0x4116a6=_0x586d62['maxRow']-_0x586d62['minRow']+0x1;if('insertion'==_0x1a1048['type'])return _0x45d408['length']?{'type':'insertion','content':getTranslation$1(_0x482c44,'*Insert:*\x20%0',getTranslation$1(_0x482c44,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x4116a6,'\x22'+_0x45d408['join']('\x20')+'\x22']))}:{'type':'insertion','content':getTranslation$1(_0x482c44,'*Insert:*\x20%0',getTranslation$1(_0x482c44,'ELEMENT_TABLE_ROW',_0x4116a6))};if('deletion'==_0x1a1048['type'])return _0x45d408['length']?{'type':'deletion','content':getTranslation$1(_0x482c44,'*Remove:*\x20%0',getTranslation$1(_0x482c44,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x4116a6,'\x22'+_0x45d408['join']('\x20')+'\x22']))}:{'type':'deletion','content':getTranslation$1(_0x482c44,'*Remove:*\x20%0',getTranslation$1(_0x482c44,'ELEMENT_TABLE_ROW',_0x4116a6))};}if('tableColumn'==_0x1a1048['subType']){const _0x514422=_0x1a1048['getItems']()['filter'](_0x33c31d=>_0x33c31d['is']('$textProxy'))['map'](_0x124228=>_0x124228['data']),_0x3a7f96=this['_getSuggestionCoords'](_0x1a1048),_0xe7d77=_0x3a7f96['maxColumn']-_0x3a7f96['minColumn']+0x1;if('insertion'==_0x1a1048['type'])return _0x514422['length']?{'type':'insertion','content':getTranslation$1(_0x482c44,'*Insert:*\x20%0',getTranslation$1(_0x482c44,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0xe7d77,'\x22'+_0x514422['join']('\x20')+'\x22']))}:{'type':'insertion','content':getTranslation$1(_0x482c44,'*Insert:*\x20%0',getTranslation$1(_0x482c44,'ELEMENT_TABLE_COLUMN',_0xe7d77))};if('deletion'==_0x1a1048['type'])return _0x514422['length']?{'type':'deletion','content':getTranslation$1(_0x482c44,'*Remove:*\x20%0',getTranslation$1(_0x482c44,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0xe7d77,'\x22'+_0x514422['join']('\x20')+'\x22']))}:{'type':'deletion','content':getTranslation$1(_0x482c44,'*Remove:*\x20%0',getTranslation$1(_0x482c44,'ELEMENT_TABLE_COLUMN',_0xe7d77))};}}),_0x1a9aa1['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','discard',_0x54ac1c),_0x1a9aa1['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','accept',_0x54ac1c),_0x1a9aa1['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','discard',_0x416c42),_0x1a9aa1['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','accept',_0x416c42),_0x1a9aa1['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','join',_0xe0b5dd),_0x1a9aa1['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','join',_0xe0b5dd),_0x1a9aa1['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','join',_0xc5baeb),_0x1a9aa1['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','join',_0xc5baeb);}['_acceptFormatSuggestionCallbackFactory'](){const _0x21f0e4=this['editor'],_0x349ac4=_0x21f0e4['model']['document']['selection'];return(_0x34f836,_0x535dca)=>{_0x21f0e4['model']['change'](_0x5187de=>{const {commandName:_0xb3b92b,commandParams:_0x4a8a16}=_0x535dca;let _0x5baab1=_0x34f836[0x0]['end']['nodeBefore'];_0x4a8a16&&_0x4a8a16[0x0]&&!0x1===_0x4a8a16[0x0]['forceValue']&&(_0x5baab1=_0x34f836[0x0]['start']['nodeAfter']);const _0x406b9b=_0x5187de['createRangeIn'](_0x5baab1);if('$graveyard'==_0x406b9b['root']['rootName'])return;const _0x5cdaec=Array['from'](_0x349ac4['getRanges']())['map'](_0x21ec30=>ckeditor5['ModelLiveRange']['fromRange'](_0x21ec30));_0x5187de['setSelection'](_0x406b9b),_0x21f0e4['commands']['get'](_0xb3b92b)['refresh'](),_0x4a8a16['push']({'forceDefaultExecution':!0x0}),_0x21f0e4['execute'](_0xb3b92b,..._0x4a8a16);const _0x14f46d=_0x5cdaec['filter'](_0x2d9398=>'$graveyard'!=_0x2d9398['root']['rootName']);_0x14f46d['length']>0x0&&_0x5187de['setSelection'](_0x14f46d);for(const _0x23eeb9 of _0x5cdaec)_0x23eeb9['detach']();});};}['_getCoordsForCells'](_0x415cfe){const _0x4c19cf=this['editor']['plugins']['get']('TableUtils');let _0x28f707=Number['MAX_SAFE_INTEGER'],_0x38156f=Number['MIN_SAFE_INTEGER'],_0x541bca=Number['MAX_SAFE_INTEGER'],_0x4c0061=Number['MIN_SAFE_INTEGER'];for(const _0x3ad4c6 of _0x415cfe){if('$graveyard'==_0x3ad4c6['root']['rootName'])continue;const {row:_0x165369,column:_0x3fb9b3}=_0x4c19cf['getCellLocation'](_0x3ad4c6),_0x4695f0=_0x3ad4c6['hasAttribute']('rowspan')?_0x3ad4c6['getAttribute']('rowspan')-0x1:0x0,_0x58eb4d=_0x3ad4c6['hasAttribute']('colspan')?_0x3ad4c6['getAttribute']('colspan')-0x1:0x0;_0x28f707=_0x165369<_0x28f707?_0x165369:_0x28f707,_0x38156f=_0x165369+_0x4695f0>_0x38156f?_0x165369+_0x4695f0:_0x38156f,_0x541bca=_0x3fb9b3<_0x541bca?_0x3fb9b3:_0x541bca,_0x4c0061=_0x3fb9b3+_0x58eb4d>_0x4c0061?_0x3fb9b3+_0x58eb4d:_0x4c0061;}return{'minRow':_0x28f707,'maxRow':_0x38156f,'minColumn':_0x541bca,'maxColumn':_0x4c0061};}['_setupColumnsRowsFixing'](){const _0xb90bbc=this['editor'],_0x25598e=_0xb90bbc['plugins']['get']('TrackChangesEditing'),_0x596425=_0xb90bbc['plugins']['get']('TableUtils');_0xb90bbc['model']['document']['on']('change:data',()=>{const _0x42e529=Array['from'](_0xb90bbc['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x105f4f,data:_0x34bd34}of _0x42e529){const {group:_0x390a17,id:_0x2449d9,subType:_0x585188}=_0x25598e['_splitMarkerName'](_0x105f4f);if('suggestion'!=_0x390a17)continue;if(null!=_0x34bd34['oldRange'])continue;const _0x57600d=_0x25598e['getSuggestion'](_0x2449d9);this['_tablePostFixingSubtypes']['includes'](_0x585188)&&this['_tableSuggestions']['add'](_0x57600d);}},{'priority':'low'});const _0x1beebc=(_0x18f477,_0x417555)=>{let _0x518f3f=!0x1;const _0x4b97bd=_0x417555['createRangeOn'](_0x18f477),_0xd8a37c=_0x18f477['findAncestor']('table'),_0xa7d33a=_0x596425['getCellLocation'](_0x18f477);for(const _0x5cad30 of this['_tableSuggestions']){const _0x4369b9=_0x5cad30['subType'],_0x42da34=_0x4369b9['startsWith']('tablePaste'),_0x17436b=_0x4369b9['substr'](_0x42da34?0xa:0x5),_0x4aca80=_0x17436b['toLowerCase'](),_0x58271f=_0x4aca80['substr'](0x0,0x3)+'span',_0x22f58e='min'+_0x17436b,_0x412ffd='max'+_0x17436b;if(!_0x5cad30['isInContent'])continue;if(_0xd8a37c!=_0x5cad30['getFirstRange']()['start']['findAncestor']('table'))continue;if(_0x5cad30['isIntersectingWithRange'](_0x4b97bd))continue;const _0x4f381f=_0x18f477['hasAttribute'](_0x58271f)?_0x18f477['getAttribute'](_0x58271f)-0x1:0x0,_0x130324=this['_getSuggestionCoords'](_0x5cad30),_0x157e2e=_0x130324[_0x22f58e],_0x5d0b2b=_0x130324[_0x412ffd];_0x157e2e<=_0xa7d33a[_0x4aca80]&&_0xa7d33a[_0x4aca80]+_0x4f381f<=_0x5d0b2b&&(_0x5cad30['addRange'](_0x4b97bd),_0x518f3f=!0x0);}return _0x518f3f;};_0xb90bbc['model']['document']['registerPostFixer'](_0x3cd9c6=>{let _0x72d5ec=!0x1;for(const _0x20d43b of _0xb90bbc['model']['document']['differ']['getChanges']())if('insert'==_0x20d43b['type']){if('tableRow'==_0x20d43b['name']){for(const _0x11931c of _0x20d43b['position']['nodeAfter']['getChildren']())_0x72d5ec=_0x72d5ec||_0x1beebc(_0x11931c,_0x3cd9c6);}else'tableCell'==_0x20d43b['name']&&(_0x72d5ec=_0x72d5ec||_0x1beebc(_0x20d43b['position']['nodeAfter'],_0x3cd9c6));}return _0x72d5ec;});}['_getSuggestionCoords'](_0x40e5d6){return this['_getCoordsForCells'](_0x40e5d6['getRanges']()['map'](_0x5a35be=>_0x5a35be['start']['nodeAfter']));}}function _0x39ee6b(_0x6a2aaa){return Array['from'](new Set(_0x6a2aaa)['values']());}class TrackChangesTableMergeSplit extends ckeditor5['Plugin']{static get['requires'](){return[_0x5da27b];}['afterInit'](){const _0x5b9e1b=this['editor'],_0x3b82b5=_0x5b9e1b['model']['document']['selection'],_0x4082e4=_0x5b9e1b['locale'];if(!_0x5b9e1b['plugins']['has']('TableEditing'))return;const _0xa5c7d5=_0x5b9e1b['plugins']['get']('TrackChangesEditing'),_0x50f8b3=_0x5b9e1b['plugins']['get']('TableUtils'),_0x44f0de=_0x5b9e1b['plugins']['get'](_0x5da27b);_0x44f0de['_tablePostFixingSubtypes']['push']('mergeTableCells'),_0xa5c7d5['enableCommand']('mergeTableCells',()=>{const _0x48ebb4=_0x50f8b3['getSelectionAffectedTableCells'](_0x5b9e1b['model']['document']['selection']);_0x5b9e1b['model']['change'](()=>{_0xa5c7d5['markMultiRangeBlockFormat'](_0x48ebb4,{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});}),_0x5b9e1b['commands']['get']('mergeTableCells')['on']('execute',(_0x49aab8,_0x5cf747)=>{_0x5b9e1b['commands']['get']('trackChanges')['value']&&(_0x5cf747['length']>0x0&&_0x5cf747[_0x5cf747['length']-0x1]&&_0x5cf747[_0x5cf747['length']-0x1]['forceDefaultExecution']||_0xa5c7d5['_isForcedDefaultExecutionBlock']||this['_areSelectedCellsMergable']()||_0x49aab8['stop']());},{'priority':'highest'});for(const _0x4ed40f of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft']){const _0x56e5a1=_0x5b9e1b['commands']['get'](_0x4ed40f);_0xa5c7d5['enableCommand'](_0x4ed40f,()=>{const _0x4dc41e=_0x5b9e1b['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x403ed0=>_0x403ed0['is']('element','tableCell')),_0x42375a=_0x56e5a1['value'];_0x5b9e1b['model']['change'](()=>{_0xa5c7d5['markMultiRangeBlockFormat']([_0x4dc41e,_0x42375a],{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});});}for(const _0x1f6cdd of['splitTableCellVertically','splitTableCellHorizontally']){const _0x168454=_0x5b9e1b['commands']['get'](_0x1f6cdd);_0xa5c7d5['enableCommand'](_0x1f6cdd,()=>{const _0x1d3885=_0x50f8b3['getSelectionAffectedTableCells'](_0x5b9e1b['model']['document']['selection'])[0x0],_0x2f03fb=_0x1d3885['findAncestor']('table'),{column:_0x71de8a,row:_0xebde53}=_0x50f8b3['getCellLocation'](_0x1d3885);let _0x1c25e6=[];if('horizontally'==_0x168454['direction']){const _0x251df3=_0x50f8b3['createTableWalker'](_0x2f03fb,{'startRow':_0xebde53,'endRow':_0xebde53,'includeAllSlots':!0x0});_0x1c25e6=Array['from'](_0x251df3)['map'](_0x3a053f=>_0x3a053f['cell']);}else{const _0x5d9b30=_0x50f8b3['createTableWalker'](_0x2f03fb,{'column':_0x71de8a,'includeAllSlots':!0x0});_0x1c25e6=Array['from'](_0x5d9b30)['map'](_0x2779ea=>_0x2779ea['cell']);}_0x5b9e1b['model']['change'](_0xa91fd4=>{_0xa5c7d5['markBlockFormat'](_0xa91fd4['createRangeOn'](_0x1d3885),{'commandName':_0x1f6cdd,'commandParams':[]},_0x1c25e6,_0x1f6cdd);});});}_0xa5c7d5['descriptionFactory']['registerDescriptionCallback'](_0x1a398c=>{if('formatBlock'!=_0x1a398c['type']&&'formatInline'!=_0x1a398c['type'])return;const {data:_0x275e62}=_0x1a398c;return _0x275e62&&'mergeTableCells'==_0x275e62['commandName']?{'type':'format','content':getTranslation$1(_0x4082e4,'*Merge\x20cells*')}:void 0x0;}),_0xa5c7d5['descriptionFactory']['registerDescriptionCallback'](_0x34b70a=>{if('formatBlock'!=_0x34b70a['type']&&'formatInline'!=_0x34b70a['type'])return;const {data:_0x3523af}=_0x34b70a;return _0x3523af?'splitTableCellVertically'==_0x3523af['commandName']?{'type':'format','content':getTranslation$1(_0x4082e4,'*Split\x20cell:*\x20vertically')}:'splitTableCellHorizontally'==_0x3523af['commandName']?{'type':'format','content':getTranslation$1(_0x4082e4,'*Split\x20cell:*\x20horizontally')}:void 0x0:void 0x0;});const _0x592487=_0x44f0de['_acceptFormatSuggestionCallbackFactory']();for(const _0x20846c of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft'])_0xa5c7d5['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x20846c,'accept',_0x592487);for(const _0x15f2b6 of['splitTableCellVertically','splitTableCellHorizontally'])_0xa5c7d5['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x15f2b6,'accept',_0x592487);_0xa5c7d5['_suggestionFactory']['registerCustomCallback']('formatBlock','mergeTableCells','accept',_0x5d943e=>{_0x5b9e1b['model']['change'](_0x55a8dd=>{const _0x1fc9b0=Array['from'](_0x3b82b5['getRanges']())['map'](_0x405658=>ckeditor5['ModelLiveRange']['fromRange'](_0x405658));_0x55a8dd['setSelection'](_0x5d943e),_0x5b9e1b['commands']['get']('mergeTableCells')['refresh'](),_0x5b9e1b['execute']('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x736ad0=_0x1fc9b0['filter'](_0x494493=>'$graveyard'!=_0x494493['root']['rootName']);_0x736ad0['length']>0x0&&_0x55a8dd['setSelection'](_0x736ad0);for(const _0x3e02db of _0x1fc9b0)_0x3e02db['detach']();});});for(const _0x436e0c of['mergeTableCellUp','mergeTableCellDown','mergeTableCellLeft','mergeTableCellRight']){const _0x1475fc=_0x5b9e1b['commands']['get'](_0x436e0c);_0x1475fc['on']('set:isEnabled',(_0x163edc,_0x3094b9,_0x554289)=>{if(_0x554289){const _0x2db21d=_0x5b9e1b['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x146c5e=>_0x146c5e['is']('element','tableCell'));this['_areMergableCells'](_0x1475fc['value'],_0x2db21d)||(_0x163edc['return']=!0x1,_0x163edc['stop']());}},{'priority':'low'});}}['_areSelectedCellsMergable'](){const _0x5195ae=this['editor']['commands']['get']('mergeTableCells'),_0x29c5b7=this['editor']['plugins']['get']('TableUtils');if(!_0x5195ae['isEnabled'])return!0x1;const _0x2d21db=_0x29c5b7['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);for(const _0xd439ca of _0x2d21db)for(const _0x32c809 of _0x2d21db)if(_0xd439ca!=_0x32c809&&!this['_areMergableCells'](_0xd439ca,_0x32c809))return!0x1;return!0x0;}['_areMergableCells'](_0x24d034,_0x3762e1){const _0x2f642e=this['editor']['plugins']['get']('TrackChangesEditing'),_0x3be047=this['editor']['model']['createRangeOn'](_0x24d034),_0x41af3f=this['editor']['model']['createRangeOn'](_0x3762e1),_0x33acdc=new Set(),_0x4b9233=new Set();for(const _0x52b58b of _0x2f642e['getSuggestions']())if(('insertion'==_0x52b58b['type']||'deletion'==_0x52b58b['type']||'mergeTableCells'==_0x52b58b['subType'])&&_0x52b58b['isInContent']){for(const _0x4b27e4 of _0x52b58b['getRanges']())_0x4b27e4['containsRange'](_0x3be047,!0x0)&&_0x33acdc['add'](_0x52b58b['type']+':'+_0x52b58b['author']['id']),_0x4b27e4['containsRange'](_0x41af3f,!0x0)&&_0x4b9233['add'](_0x52b58b['type']+':'+_0x52b58b['author']['id']);}if(_0x33acdc['size']!=_0x4b9233['size'])return!0x1;for(const _0x164e8a of _0x33acdc)if(!_0x4b9233['has'](_0x164e8a))return!0x1;return!0x0;}}class _0x1d4bed extends ckeditor5['Plugin']{static get['requires'](){return[_0x5da27b];}['afterInit'](){const _0x349ea4=this['editor'];if(!_0x349ea4['plugins']['has']('TableEditing'))return;const _0x29ed23=_0x349ea4['locale'],_0x107ea7=_0x349ea4['plugins']['get']('TrackChangesEditing');_0x107ea7['enableDefaultAttributesIntegration']('setTableRowHeader'),_0x107ea7['enableDefaultAttributesIntegration']('setTableColumnHeader'),_0x107ea7['descriptionFactory']['registerAttributeLabel']('headingRows',getTranslation$1(_0x29ed23,'FORMAT_HEADER_ROW')),_0x107ea7['descriptionFactory']['registerAttributeLabel']('headingColumns',getTranslation$1(_0x29ed23,'FORMAT_HEADER_COLUMN')),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x1a00cf=this['editor']['plugins']['get']('TrackChangesEditing'),_0xe73c26=this['editor']['plugins']['get'](_0x5da27b)['_acceptFormatSuggestionCallbackFactory']();_0x1a00cf['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableRowHeader','accept',_0xe73c26),_0x1a00cf['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableColumnHeader','accept',_0xe73c26),this['_registerLegacyConverters'](),this['_registerLegacyDescription']();}['_registerLegacyConverters'](){const _0x2c49cc=this['editor']['plugins']['get']('TrackChangesEditing'),_0x55d791=this['editor']['plugins']['get']('TableUtils');function _0x3b310c({showActiveMarker:_0x3615bf=!0x0,setDataAttribute:_0x6d8ec9=!0x0}={}){return(_0x3f2528,_0x407286,_0x34746)=>{const {type:_0x50fb69,id:_0x38a04e}=_0x2c49cc['_splitMarkerName'](_0x407286['markerName']);if(!_0x2c49cc['hasSuggestion'](_0x38a04e))return;const _0x378c6c=_0x2c49cc['getSuggestion'](_0x38a04e),_0x4a62a1=_0x378c6c['data'];if('formatBlock'!=_0x378c6c['type']||!_0x4a62a1||'setTableColumnHeader'!=_0x4a62a1['commandName'])return;if(_0x407286['item'])return void _0x3f2528['stop']();if(!_0x34746['consumable']['consume'](_0x407286['markerRange'],_0x3f2528['name']))return;const _0x114eb6=_0x407286['markerRange']['start']['nodeAfter'],_0x43d6b1=_0x407286['markerRange']['end']['nodeBefore'],_0x46814a=_0x114eb6['parent']['parent'],{column:_0x122c5b}=_0x55d791['getCellLocation'](_0x114eb6),{column:_0x4a1f14}=_0x55d791['getCellLocation'](_0x43d6b1);for(let _0x17578c=_0x122c5b;_0x17578c<=_0x4a1f14;_0x17578c++){const _0x13160a=_0x55d791['createTableWalker'](_0x46814a,{'column':_0x17578c,'includeAllSlots':!0x1});for(const _0x5ae101 of _0x13160a){const _0x579746=_0x5ae101['cell'],_0x2af92d=_0x34746['mapper']['toViewElement'](_0x579746);_0x34746['writer']['addClass']('ck-suggestion-marker-'+_0x50fb69,_0x2af92d),_0x6d8ec9&&_0x34746['writer']['setAttribute']('data-suggestion',_0x38a04e,_0x2af92d),_0x34746['mapper']['bindElementToMarker'](_0x2af92d,_0x407286['markerName']),_0x3615bf&&(_0x2c49cc['activeMarkers']['includes'](_0x407286['markerName'])?_0x34746['writer']['addClass']('ck-suggestion-marker--active',_0x2af92d):_0x34746['writer']['removeClass']('ck-suggestion-marker--active',_0x2af92d));}}};}this['editor']['editing']['downcastDispatcher']['on']('addMarker:suggestion',_0x3b310c(),{'priority':'highest'}),this['editor']['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x4d1693,_0x38310c,_0x54b61d)=>{_0x54b61d['options']['showSuggestionHighlights']&&_0x3b310c({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x4d1693,_0x38310c,_0x54b61d);},{'priority':'highest'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x2b9b5c,_0x38232b,_0x3852a0)=>{const {type:_0x4b8b41,id:_0x5df45d}=_0x2c49cc['_splitMarkerName'](_0x38232b['markerName']);if(!_0x2c49cc['hasSuggestion'](_0x5df45d))return;const _0x454235=_0x2c49cc['getSuggestion'](_0x5df45d),_0x8bbd5a=_0x454235['data'];if('formatBlock'!=_0x454235['type']||!_0x8bbd5a||'setTableColumnHeader'!=_0x8bbd5a['commandName'])return;const _0x4a9818=_0x3852a0['mapper']['markerNameToElements'](_0x38232b['markerName']);if(_0x4a9818){for(const _0x33b7f1 of _0x4a9818)_0x3852a0['writer']['removeClass']('ck-suggestion-marker-'+_0x4b8b41,_0x33b7f1),_0x3852a0['writer']['removeClass']('ck-suggestion-marker--active',_0x33b7f1),_0x3852a0['writer']['removeAttribute']('data-suggestion',_0x33b7f1),_0x3852a0['mapper']['unbindElementFromMarkerName'](_0x33b7f1,_0x38232b['markerName']);}},{'priority':'highest'});}['_registerLegacyDescription'](){const _0x119cc2=this['editor'],_0x2bfded=_0x119cc2['locale'];function _0x1ccdf8(_0x7f48b5){return{'type':'format','content':getTranslation$1(_0x2bfded,'*Format:*\x20%0',_0x7f48b5)};}_0x119cc2['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x5100dd=>{if('formatBlock'!=_0x5100dd['type'])return;const {data:_0x47f8c0}=_0x5100dd;if(_0x47f8c0){if('setTableRowHeader'==_0x47f8c0['commandName']){const _0x1532dd=_0x47f8c0['commandParams'][0x0]['forceValue'];return _0x1ccdf8(getTranslation$1(_0x2bfded,_0x1532dd?'FORMAT_HEADER_ROW':'FORMAT_REGULAR_ROW'));}if('setTableColumnHeader'==_0x47f8c0['commandName']){const _0x354e31=_0x47f8c0['commandParams'][0x0]['forceValue'];return _0x1ccdf8(getTranslation$1(_0x2bfded,_0x354e31?'FORMAT_HEADER_COLUMN':'FORMAT_REGULAR_COLUMN'));}}});}}class TrackChangesTableLayout extends ckeditor5['Plugin']{['afterInit'](){const _0x42b58f=this['editor'],_0x58c8ba=_0x42b58f['locale'],_0x552024=_0x42b58f['plugins']['get']('TrackChangesEditing');function _0xe0c2b0(_0x5ae916){return{'type':'format','content':''+getTranslation$1(_0x58c8ba,'*Set\x20table\x20type:*\x20%0',_0x5ae916)};}_0x42b58f['plugins']['has']('TableLayout')&&(_0x552024['enableCommand']('insertTableLayout'),_0x552024['enableDefaultAttributesIntegration']('tableType'),_0x552024['descriptionFactory']['registerElementLabel'](_0x52ae4b=>_0x52ae4b['is']('element','table')&&'layout'===_0x52ae4b['getAttribute']('tableType'),_0x1a1ceb=>getTranslation$1(_0x58c8ba,'ELEMENT_LAYOUT_TABLE',_0x1a1ceb)),_0x552024['descriptionFactory']['registerDescriptionCallback'](_0x256608=>{const {data:_0x119207}=_0x256608;if(_0x119207&&'tableType'==_0x119207['key'])switch(_0x119207['newValue']){case'layout':return _0xe0c2b0(getTranslation$1(_0x58c8ba,'ELEMENT_LAYOUT_TABLE'));case'content':return _0xe0c2b0(getTranslation$1(_0x58c8ba,'ELEMENT_CONTENT_TABLE'));}}));}}const tableCellStyleAttributeNames=['tableCellBorderWidth','tableCellBorderColor','tableCellBorderStyle','tableCellHorizontalAlignment','tableCellVerticalAlignment','tableCellBackgroundColor','tableCellPadding'],tableCellStyleAttributesObject=/* #__PURE__ -- @preserve */
Object['fromEntries'](tableCellStyleAttributeNames['map'](_0x33f292=>[_0x33f292,null]));class _0x1036b3 extends ckeditor5['Plugin']{static get['requires'](){return[_0x5da27b];}['afterInit'](){const _0x228cb1=this['editor'];if(!_0x228cb1['plugins']['has']('TableClipboard'))return;const _0xcaa9d0=_0x228cb1['plugins']['get']('TrackChangesEditing'),_0x366361=_0x228cb1['plugins']['get']('TableUtils'),_0x5544a7=_0x228cb1['plugins']['get'](_0x5da27b),_0x51e3c6=_0x228cb1['plugins']['get']('TableClipboard'),_0x41dc97=_0x228cb1['plugins']['get']('TableSelection'),_0x7186de=_0x228cb1['plugins']['get'](ckeditor5['ClipboardPipeline']);_0x5544a7['_tablePostFixingSubtypes']['push']('tablePasteRow','tablePasteColumn'),_0x228cb1['model']['schema']['register']('tableCellSuggestion',{'allowIn':'tableCell','allowContentOf':'tableCell','isLimit':!0x0}),_0x228cb1['conversion']['elementToElement']({'model':'tableCellSuggestion','view':'suggestion-td'});let _0x33c2ab=null,_0x44ef1c=!0x1;_0x7186de['on']('contentInsertion',(_0x393a6c,_0x10baf6)=>{_0x44ef1c='paste'===_0x10baf6['method'];}),_0x228cb1['model']['on']('insertContent',(_0x4666ed,_0x23e1ec)=>{if(!_0x44ef1c&&null===_0x41dc97['getSelectedTableCells']())return;const [_0x303ce8,_0x36b063]=_0x23e1ec,_0x1ce05f=_0x23e1ec[_0x23e1ec['length']-0x1];_0x1ce05f&&_0x1ce05f['forceDefaultExecution']||_0xcaa9d0['_isForcedDefaultExecutionBlock']||this['editor']['commands']['get']('trackChanges')['value']&&isPasteTableIntoTable(_0x303ce8,_0x36b063,_0x228cb1['model'],_0x366361,_0x51e3c6)&&(_0x4666ed['stop'](),_0x33c2ab={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x228cb1['model']['change'](()=>{_0x228cb1['model']['insertContent'](_0x23e1ec[0x0],_0x23e1ec[0x1],_0x23e1ec[0x2],{'forceDefaultExecution':!0x0});const _0x4eb1c6=ckeditor5['uid'](),{rowInsertionRanges:_0x5f4158,columnInsertionRanges:_0x381a37,insertionRanges:_0x4dc3d0,deletionRanges:_0x52cb86,cells:_0x42b960}=_0x33c2ab;_0x5f4158['length']&&_0xcaa9d0['markMultiRangeInsertion'](_0x5f4158,'tablePasteRow',{'tablePasteChainId':_0x4eb1c6}),_0x381a37['length']&&_0xcaa9d0['markMultiRangeInsertion'](_0x381a37,'tablePasteColumn',{'tablePasteChainId':_0x4eb1c6}),_0x4dc3d0['length']&&(_0xcaa9d0['markMultiRangeInsertion'](_0x4dc3d0,'tablePaste',{'tablePasteChainId':_0x4eb1c6,'skipNestingCheck':!0x0}),_0x4dc3d0['forEach'](_0x5d3dbb=>_0x5d3dbb['detach']?.())),_0x52cb86['length']&&(_0xcaa9d0['markMultiRangeDeletion'](_0x52cb86,'tablePaste',{'tablePasteChainId':_0x4eb1c6,'skipNestingCheck':!0x0}),_0x52cb86['forEach'](_0x5b06fc=>_0x5b06fc['detach']?.()));const _0x39271f=_0xcaa9d0['markMultiRangeBlockFormat'](_0x42b960['map'](({element:_0x49a7be})=>_0x49a7be),{'formatGroupId':ckeditor5['uid']()},[],'tablePasteCell',{'tablePasteChainId':_0x4eb1c6});if(_0x39271f){const _0x131359=_0x39271f['getMarkers'](),_0x34dbb0=[];for(const {element:_0x3b2c75,attributes:_0x1e090d}of _0x42b960){if(!_0x1e090d)continue;const _0x52eaa6=_0x228cb1['model']['createRangeOn'](_0x3b2c75),_0x56bf1f=_0x131359['find'](_0xaeb878=>_0xaeb878['getRange']()['isEqual'](_0x52eaa6));_0x56bf1f&&_0x34dbb0['push']([_0x56bf1f['name'],_0x1e090d]);}_0x34dbb0['length']&&_0x39271f['setAttribute']('markerAttributes',Object['fromEntries'](_0x34dbb0));}_0x33c2ab=null;}));},{'priority':ckeditor5['priorities']['high']+0xa}),_0x7186de['on']('contentInsertion',()=>{_0x44ef1c=!0x1;},{'priority':'lowest'}),_0x228cb1['plugins']['get']('TableClipboard')['on']('_replaceTableSlotCell',(_0x50ebf4,_0x6d1052)=>{const [_0x1a51fc,_0x44b8a1,,_0x26d803]=_0x6d1052;if(!_0x33c2ab)return;_0x50ebf4['stop']();const _0x27b40b=_0x1a51fc['cell'],_0x47e7ac=_0x44b8a1,_0x9f6af8=isEmpty(_0x27b40b),_0x15ef72=isEmpty(_0x47e7ac);_0x50ebf4['return']=_0x27b40b;let _0x2967d6=null,_0x5e2147=null;if(_0x15ef72||_0x9f6af8){if(_0x9f6af8&&!_0x15ef72){_0x26d803['remove'](_0x27b40b['getChild'](0x0));for(const _0x2f7938 of Array['from'](_0x47e7ac['getChildren']()))_0x26d803['insert'](_0x2f7938,_0x27b40b,'end');const _0x3ec91e=_0x33c2ab['rowInsertionIndexes']['includes'](_0x1a51fc['row']),_0x3c2cf0=_0x33c2ab['columnInsertionIndexes']['includes'](_0x1a51fc['column']);_0x3ec91e||_0x3c2cf0||(_0x2967d6=ckeditor5['ModelLiveRange']['fromRange'](_0x26d803['createRangeIn'](_0x27b40b)));}else _0x15ef72&&!_0x9f6af8&&(_0x5e2147=_0x26d803['createRangeIn'](_0x27b40b));}else{const _0x54e663=_0x26d803['createElement']('tableCellSuggestion'),_0x30dabb=_0x26d803['createElement']('tableCellSuggestion');_0x26d803['wrap'](_0x26d803['createRangeIn'](_0x27b40b),_0x30dabb),_0x26d803['insert'](_0x54e663,_0x27b40b,0x0);for(const _0x33a20c of Array['from'](_0x47e7ac['getChildren']()))_0x26d803['insert'](_0x33a20c,_0x54e663,'end');_0x2967d6=ckeditor5['ModelLiveRange']['fromRange'](_0x26d803['createRangeOn'](_0x54e663)),_0x5e2147=ckeditor5['ModelLiveRange']['fromRange'](_0x26d803['createRangeOn'](_0x30dabb));}const _0x22ab0c=Array['from'](_0x47e7ac['getAttributes']())['filter'](([_0x3c4fb2])=>tableCellStyleAttributeNames['includes'](_0x3c4fb2));_0x33c2ab['cells']['push']({'element':_0x27b40b,'attributes':_0x22ab0c['length']?Object['fromEntries'](_0x22ab0c):null}),_0x2967d6&&_0x33c2ab['insertionRanges']['push'](_0x2967d6),_0x5e2147&&_0x33c2ab['deletionRanges']['push'](_0x5e2147);},{'priority':'high'}),_0x366361['on']('insertColumns',(_0x37752d,_0x122b07)=>{const [_0x43cb5d,_0x35d1a1={}]=_0x122b07;if(!_0x33c2ab)return;const _0x4f3f91=_0x35d1a1['at']||0x0,_0x66ecd0=_0x35d1a1['columns']||0x1;_0x33c2ab['columnInsertionIndexes']=new Array(_0x66ecd0)['fill'](_0x4f3f91)['map']((_0x4a6cef,_0x3dc0c4)=>_0x4a6cef+_0x3dc0c4);for(const {cell:_0x29d4ca}of _0x366361['createTableWalker'](_0x43cb5d,{'startColumn':_0x4f3f91,'endColumn':_0x4f3f91+_0x66ecd0-0x1}))_0x33c2ab['columnInsertionRanges']['push'](_0x228cb1['model']['createRangeOn'](_0x29d4ca));},{'priority':'low'}),_0x366361['on']('insertRows',(_0x56e7c8,_0x5639d9)=>{const [_0xc09dcf,_0x45e382={}]=_0x5639d9;if(!_0x33c2ab)return;const _0x1d3a84=_0x45e382['at']||0x0,_0x3f5915=_0x45e382['rows']||0x1;_0x33c2ab['rowInsertionIndexes']=new Array(_0x3f5915)['fill'](_0x1d3a84)['map']((_0x3af235,_0x3a8fc0)=>_0x3af235+_0x3a8fc0);for(const {cell:_0x24ad07}of _0x366361['createTableWalker'](_0xc09dcf,{'startRow':_0x1d3a84,'endRow':_0x1d3a84+_0x3f5915-0x1}))_0x33c2ab['rowInsertionRanges']['push'](_0x228cb1['model']['createRangeOn'](_0x24ad07));},{'priority':'low'}),_0xcaa9d0['descriptionFactory']['registerDescriptionCallback'](_0x3aeb04=>{if(_0x3aeb04['subType']&&_0x3aeb04['subType']['startsWith']('tablePaste'))return _0x3aeb04['previous']?{}:{'type':'insertion','content':getTranslation$1(_0x228cb1['locale'],'*Replace\x20table\x20cells*')};});const _0xf31b62=()=>!0x1;for(const _0xeff48 of['tablePaste','tablePasteColumn','tablePasteRow','tablePasteCell'])_0xcaa9d0['_suggestionFactory']['registerCustomCallback']('insertion',_0xeff48,'join',_0xf31b62),_0xcaa9d0['_suggestionFactory']['registerCustomCallback']('deletion',_0xeff48,'join',_0xf31b62),_0xcaa9d0['_suggestionFactory']['registerCustomCallback']('formatBlock',_0xeff48,'join',_0xf31b62);_0xcaa9d0['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','discard',_0xf31b62),_0xcaa9d0['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','accept',(_0x18f8e5,_0x5c0a77,_0x579b89)=>{const _0x51d4ca=_0x18f8e5['map'](_0x14d747=>_0x14d747['getContainedElement']())['filter'](_0x151eda=>_0x151eda),_0x29a82d=new Map(_0x51d4ca['map'](_0x5de293=>[_0x5de293,null]));if(_0x33c2ab){for(const {element:_0x1679f6,attributes:_0x1a5900}of _0x33c2ab['cells'])_0x1a5900&&_0x29a82d['set'](_0x1679f6,_0x1a5900);}else{if(_0x579b89&&_0x579b89['markerAttributes'])for(const [_0x46a7cf,_0x502028]of Object['entries'](_0x579b89['markerAttributes'])){const _0xdaef2c=_0x228cb1['model']['markers']['get'](_0x46a7cf),_0x1055b8=_0xdaef2c?_0xdaef2c['getRange']()['getContainedElement']():null;_0x1055b8&&_0x29a82d['set'](_0x1055b8,_0x502028);}}_0x228cb1['model']['change'](_0x46fe16=>{for(const [_0x14bdc7,_0x4b437f]of _0x29a82d)_0x46fe16['setAttributes']({...tableCellStyleAttributesObject,..._0x4b437f},_0x14bdc7);});});const _0x48e327=(_0x473e24,_0x281c80)=>{_0xcaa9d0['_suggestionFactory']['registerCustomCallback'](_0x473e24,'tablePaste',_0x281c80,(_0x571ccd,_0x41cdf0,_0x3f24cd)=>{_0x228cb1['model']['change'](_0x4de01e=>{const _0x62f7ed=[];for(const _0x19afe2 of _0x571ccd){const _0x2cf74a=_0x19afe2['start']['nodeAfter'];_0x2cf74a['is']('element','tableCellSuggestion')&&_0x62f7ed['push'](_0x2cf74a);}_0xcaa9d0['_suggestionFactory']['getSuggestionCallback'](_0x473e24,null,_0x281c80)(_0x571ccd,_0x41cdf0,_0x3f24cd);for(const _0x2d696a of _0x62f7ed)'$graveyard'!=_0x2d696a['root']['rootName']&&_0x4de01e['unwrap'](_0x2d696a);});});};_0x48e327('insertion','accept'),_0x48e327('insertion','discard'),_0x48e327('deletion','accept'),_0x48e327('deletion','discard'),_0xcaa9d0['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteRow','discard',_0x1f191b=>{const _0x50caa3=_0x1f191b['map'](_0x3e7a3b=>_0x3e7a3b['getContainedElement']()),_0x514c3b=_0x50caa3[0x0]['findAncestor']('table'),{minRow:_0x43e139,maxRow:_0x5d5f44}=_0x5544a7['_getCoordsForCells'](_0x50caa3);_0x366361['removeRows'](_0x514c3b,{'at':_0x43e139,'rows':_0x5d5f44-_0x43e139+0x1});}),_0xcaa9d0['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteColumn','discard',_0x6bce0b=>{const _0x4d0af3=_0x6bce0b['map'](_0x1d07c8=>_0x1d07c8['getContainedElement']()),_0x3be559=_0x4d0af3[0x0]['findAncestor']('table'),{minColumn:_0x4cafed,maxColumn:_0x11dcfe}=_0x5544a7['_getCoordsForCells'](_0x4d0af3);_0x366361['removeColumns'](_0x3be559,{'at':_0x4cafed,'columns':_0x11dcfe-_0x4cafed+0x1});});const _0x41dc86=(_0x4177ca,_0x46695d)=>{if(!_0x46695d['subType']||!_0x46695d['subType']['startsWith']('tablePaste'))return;const _0x1db5dd=_0x46695d['attributes']['tablePasteChainId'],_0x1b0472=_0xcaa9d0['getSuggestions']()['filter'](_0x5c1b64=>_0x5c1b64['isInContent']&&_0x5c1b64['attributes']&&_0x5c1b64['attributes']['tablePasteChainId']==_0x1db5dd);_0x1b0472['length']&&_0x46695d['getAllAdjacentSuggestions']()['length']!=_0x1b0472['length']&&_0x1b0472['reduce']((_0x2ba47d,_0x5486c2)=>(_0x2ba47d['next']=_0x5486c2,_0x5486c2['previous']=_0x2ba47d,_0x5486c2));};function _0x361aeb(_0x1dd27a,_0x2a9595=!0x0){const {id:_0xb84099,authorId:_0x25f98e}=_0xcaa9d0['_splitMarkerName'](_0x1dd27a['markerName']),_0x2a3328=['ck-suggestion-marker','ck-suggestion-marker-insertion'],_0x52314b=_0xcaa9d0['activeMarkers']['includes'](_0x1dd27a['markerName']);return _0x52314b&&_0x2a3328['push']('ck-suggestion-marker--active'),{'classes':_0x2a3328,'attributes':{'data-suggestion':_0xb84099,'data-author-id':_0x25f98e},'priority':_0x52314b&&_0x2a9595?0xbc2:0xbb8};}_0xcaa9d0['on']('suggestionLoaded',_0x41dc86,{'priority':'high'}),_0xcaa9d0['on']('suggestionUnloaded',_0x41dc86,{'priority':'high'}),_0x228cb1['model']['document']['registerPostFixer'](()=>{let _0x374a9c=!0x1;const _0x40d732=Array['from'](_0x228cb1['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x18a082,data:_0xdbcbf4}of _0x40d732){const {group:_0xce3f8f,type:_0x288fcb,id:_0x1203b1}=_0xcaa9d0['_splitMarkerName'](_0x18a082);if('suggestion'!=_0xce3f8f||'deletion'!=_0x288fcb||_0xdbcbf4['oldRange'])continue;if(!_0xcaa9d0['hasSuggestion'](_0x1203b1))continue;const _0x2e82f9=_0xcaa9d0['getSuggestion'](_0x1203b1)['getRanges'](),_0x5b4c07=_0x228cb1['plugins']['get']('Users')['me'];for(const _0x3e9322 of _0xcaa9d0['getSuggestions']()){if(!_0x3e9322['isInContent']||_0x3e9322['author']!=_0x5b4c07)continue;if('formatBlock'!=_0x3e9322['type']||'tablePasteCell'!=_0x3e9322['subType'])continue;if(_0x3e9322['getRanges']()['every'](_0x424c16=>_0x2e82f9['some'](_0x42ae1a=>_0x42ae1a['containsRange'](_0x424c16,!0x0)))){for(const _0x382bdf of _0x3e9322['getAllAdjacentSuggestions']())_0x382bdf['isInContent']&&(_0x382bdf['discard'](),_0x374a9c=!0x0);}}}return _0x374a9c;}),_0x228cb1['model']['document']['registerPostFixer'](_0x175055=>{const _0x59272c=_0x228cb1['commands']['get']('redo');if(!_0x59272c||!_0x59272c['_createdBatches']['has'](_0x175055['batch']))return!0x1;let _0x3eb77a=!0x1;const _0x2f03a6=_0x228cb1['plugins']['get']('Users')['me'],_0x440adf=_0x228cb1['model']['document']['differ']['getChanges'](),_0x29724e=Array['from'](_0x228cb1['model']['document']['differ']['getChangedMarkers']())['filter'](({name:_0x352d97,data:_0x3f1227})=>{const {group:_0xca482d,subType:_0x5b99a9,authorId:_0x46d1cb}=_0xcaa9d0['_splitMarkerName'](_0x352d97);return'suggestion'==_0xca482d&&'tablePaste'==_0x5b99a9&&_0x46d1cb==_0x2f03a6['id']&&!_0x3f1227['oldRange'];});for(const _0x55d419 of _0x440adf){if('insert'!=_0x55d419['type']||'tableCellSuggestion'!=_0x55d419['name']||0x1!=_0x55d419['length'])continue;const _0x443492=_0x175055['createRange'](_0x55d419['position'],_0x55d419['position']['getShiftedBy'](0x1)),_0x126e46=_0x29724e['find'](({data:_0x4332ce})=>_0x4332ce['newRange']['isEqual'](_0x443492));if(!_0x126e46){for(const {name:_0x157387,data:_0x4f8b3b}of _0x29724e)if(_0x443492['containsRange'](_0x4f8b3b['newRange'])){_0x175055['updateMarker'](_0x157387,{'range':_0x443492}),_0x3eb77a=!0x0;break;}}}return _0x3eb77a;}),_0x228cb1['model']['document']['registerPostFixer'](_0x213e5a=>{let _0x36c332=!0x1;const _0x52cf6c=_0x228cb1['plugins']['get']('Users')['me'],_0x57eaf3=_0xcaa9d0['getSuggestions']()['filter'](_0x2fdf0f=>_0x2fdf0f['isInContent']&&_0x2fdf0f['author']==_0x52cf6c),_0xee7291=new Set(),_0x55310b=new Set();for(const _0x1c9d2b of _0x57eaf3)if('tablePaste'==_0x1c9d2b['subType'])for(const _0x599db0 of _0x1c9d2b['getMarkers']()){const _0x407839=_0x599db0['getRange']()['getContainedElement']();if(_0x407839){if(_0x407839['is']('element','tableCellSuggestion')&&isEmpty(_0x407839)){_0x1c9d2b['removeMarker'](_0x599db0['name']),_0xee7291['add'](_0x407839),_0x36c332=!0x0;const _0xa97134=_0x407839['nextSibling'],_0xdef5a2=_0x407839['previousSibling'],_0xf7c9f9=_0xa97134&&_0xa97134['is']('element','tableCellSuggestion'),_0x254c82=_0xdef5a2&&_0xdef5a2['is']('element','tableCellSuggestion');_0xf7c9f9&&!_0xee7291['has'](_0xa97134)&&_0x55310b['add'](_0xa97134),_0x254c82&&!_0xee7291['has'](_0xdef5a2)&&_0x55310b['add'](_0xdef5a2);}else _0x407839['is']('element','paragraph')&&_0x407839['isEmpty']&&(_0x1c9d2b['removeMarker'](_0x599db0['name']),_0x36c332=!0x0);}}else{if('tablePasteCell'==_0x1c9d2b['subType']){if(!_0x1c9d2b['attributes']||!_0x1c9d2b['attributes']['tablePasteChainId'])continue;const _0x36e060=_0x1c9d2b['attributes']['markerAttributes'];if(_0x36e060&&Object['keys'](_0x36e060)['length'])continue;const _0x5af5a4=_0x1c9d2b['attributes']['tablePasteChainId'];let _0x1af15d=!0x0,_0x389e26=!0x0;for(const _0x4f0fee of _0x57eaf3)if(_0x4f0fee['subType']&&_0x4f0fee['subType']['startsWith']('tablePaste')){if(!_0x4f0fee['attributes']['tablePasteChainId']){_0x389e26=!0x1;break;}if(_0x4f0fee['id']!=_0x1c9d2b['id']&&_0x4f0fee['attributes']['tablePasteChainId']==_0x5af5a4){_0x1af15d=!0x1;break;}}_0x389e26&&_0x1af15d&&(_0x1c9d2b['removeMarkers'](),_0x36c332=!0x0);}}for(const _0x31e7e7 of _0xee7291)_0x213e5a['remove'](_0x31e7e7);for(const _0x135615 of _0x55310b)_0x213e5a['unwrap'](_0x135615);return _0x36c332;}),_0x228cb1['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':_0x3ba270=>_0x361aeb(_0x3ba270),'converterPriority':'high'}),_0x228cb1['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x381eb5,_0x55046a)=>_0x55046a['options']['showSuggestionHighlights']?_0x361aeb(_0x381eb5,!0x1):null,'converterPriority':'high'});const _0xd4335=_0x228cb1['editing']['view'];this['listenTo'](_0xd4335['document'],'clipboardOutput',(_0x5101fa,_0x5f0780)=>{const _0xba34c4=[];for(const _0x550bde of _0xd4335['createRangeIn'](_0x5f0780['content'])['getItems']())_0x550bde['is']('element','suggestion-td')&&_0xba34c4['push'](_0x550bde);_0xd4335['change'](_0x4a5aea=>{for(const _0x1513a2 of _0xba34c4)_0x4a5aea['move'](_0x4a5aea['createRangeIn'](_0x1513a2),_0x4a5aea['createPositionBefore'](_0x1513a2)),_0x4a5aea['remove'](_0x1513a2);});});}}function isEmpty(_0x3b91db){if(_0x3b91db['isEmpty'])return!0x0;const _0x2d367d=_0x3b91db['getChild'](0x0);return _0x2d367d['is']('element','paragraph')&&_0x2d367d['isEmpty'];}function isPasteTableIntoTable(_0x59f10f,_0x187cc1,_0x5e2b9b,_0x45c6dd,_0x4bdcb5){if(_0x187cc1&&!_0x187cc1['is']('documentSelection'))return!0x1;const _0x3e5efb=_0x4bdcb5['getTableIfOnlyTableInContent'](_0x59f10f,_0x5e2b9b);if(!_0x3e5efb||!_0x52f8ab(_0x3e5efb,void 0x0,_0x45c6dd))return!0x1;const _0x44d2f9=_0x45c6dd['getSelectionAffectedTableCells'](_0x5e2b9b['document']['selection']);if(!_0x44d2f9['length'])return!0x1;const _0x38932d=_0x44d2f9[0x0]['findAncestor']('table'),_0x2d3efc=_0x45c6dd['getRowIndexes'](_0x44d2f9),_0xb981e5=_0x45c6dd['getColumnIndexes'](_0x44d2f9),_0x9aff4a={'startRow':_0x2d3efc['first'],'endRow':_0x2d3efc['last'],'startColumn':_0xb981e5['first'],'endColumn':_0xb981e5['last']};return 0x1==_0x44d2f9['length']&&(_0x9aff4a['endRow']+=_0x45c6dd['getRows'](_0x3e5efb)-0x1,_0x9aff4a['endColumn']+=_0x45c6dd['getColumns'](_0x3e5efb)-0x1),_0x52f8ab(_0x38932d,_0x9aff4a,_0x45c6dd);}function _0x52f8ab(_0xc543f7,_0x5af546={},_0x5f26e4){for(const {isAnchor:_0x4765c9,cellHeight:_0xfcf23c,cellWidth:_0x2ae651}of _0x5f26e4['createTableWalker'](_0xc543f7,{'includeAllSlots':!0x0,..._0x5af546}))if(!_0x4765c9||0x1!=_0xfcf23c||0x1!=_0x2ae651)return!0x1;return!0x0;}class _0x31e352 extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('TableColumnResizeEditing'))return;const _0x55e7fb=this['editor']['plugins']['get']('TrackChangesEditing');_0x55e7fb['enableCommand']('resizeTableWidth',this['handleResizeTableWidthCommand']['bind'](this)),_0x55e7fb['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','accept',_0x55e7fb['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x55e7fb['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','discard',_0x55e7fb['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),_0x55e7fb['descriptionFactory']['registerDescriptionCallback'](this['handleSuggestionDescription']['bind'](this));}['handleResizeTableWidthCommand'](_0x1c924e,_0x2489f7){const _0x26556f=this['editor']['plugins']['get']('TrackChangesEditing'),_0x58e575=this['editor']['plugins']['get']('TableColumnResizeEditing'),_0x148468=_0x2489f7['table']||this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](()=>{const _0x5b1f3e=_0x58e575['getColumnGroupElement'](_0x148468);let _0x2e929f=_0x5b1f3e?_0x58e575['getTableColumnsWidths'](_0x5b1f3e):null,_0x4a3227=_0x148468['getAttribute']('tableWidth')||null;const _0x42a3f9=_0x2489f7['tableWidth']||_0x4a3227,_0x2610fb=_0x2489f7['columnWidths']||_0x2e929f,_0x418a22=this['editor']['plugins']['get']('Users')['me'];for(const _0x261291 of _0x26556f['getSuggestions']()){const _0x3ebdb4=_0x261291['getContainedElement']();if('resizeTable'===_0x261291['subType']&&_0x3ebdb4===_0x148468){_0x261291['author']!==_0x418a22&&_0x261291['discard']();const _0x57ed15=_0x261291['data']['commandParams'];_0x4a3227=_0x57ed15[0x0]['tableWidth'],_0x2e929f=_0x57ed15[0x0]['columnWidths'];break;}}_0x1c924e({'table':_0x148468,'tableWidth':_0x42a3f9,'columnWidths':_0x2610fb}),_0x26556f['markBlockFormat'](_0x148468,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x4a3227,'columnWidths':_0x2e929f}],'formatGroupId':'resizeTable'},[],'resizeTable');});}['handleSuggestionDescription'](_0x2d15c4){if('formatBlock'!=_0x2d15c4['type']&&'formatInline'!=_0x2d15c4['type'])return;const {data:_0x515771}=_0x2d15c4;if(_0x515771&&'resizeTable'===_0x515771['formatGroupId']){const _0x50e0c0='*Format:*\x20resize\x20table';return{'type':'format','content':getTranslation$1(this['editor']['locale'],_0x50e0c0)};}}}class TrackChangesTemplate extends ckeditor5['Plugin']{['afterInit'](){const _0x3da736=this['editor'];_0x3da736['plugins']['has']('Template')&&_0x3da736['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTemplate');}}class TrackChangesTableOfContents extends ckeditor5['Plugin']{['afterInit'](){const _0x5c14d5=this['editor'];if(!_0x5c14d5['commands']['get']('insertTableOfContents'))return;_0x5c14d5['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTableOfContents');const _0x21a6f7=_0x5c14d5['plugins']['get']('TrackChangesEditing'),_0x275ef1=_0x5c14d5['locale'];_0x21a6f7['descriptionFactory']['registerElementLabel']('tableOfContents',_0x3a9748=>getTranslation$1(_0x275ef1,'ELEMENT_TABLE_OF_CONTENTS',_0x3a9748));}}class TrackChangesTitle extends ckeditor5['Plugin']{['afterInit'](){const _0xd288e7=this['editor'];if(!_0xd288e7['plugins']['has']('Title'))return;const _0x3e736b=_0xd288e7['plugins']['get']('TrackChangesEditing');_0x3e736b['descriptionFactory']['registerElementLabel']('title-content',()=>getTranslation$1(_0xd288e7['locale'],'ELEMENT_TITLE')),_0xd288e7['model']['document']['registerPostFixer'](_0x3f7a8b=>{let _0x3a6bf7=!0x1;const _0x1234a6=Array['from'](_0xd288e7['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x6ac1f3,data:_0x83add2}of _0x1234a6){const {group:_0x490b84}=_0x3e736b['_splitMarkerName'](_0x6ac1f3);if('suggestion'!==_0x490b84||!_0x83add2['newRange'])continue;const _0x267a45=_0x83add2['newRange'],_0x44dd9a=_0x267a45['end']['nodeBefore'];if(!_0x44dd9a||!_0x44dd9a['is']('element','title-content'))continue;if(!_0x267a45['start']['isTouching'](_0x267a45['end']))continue;const _0x53b6f3=_0xd288e7['model']['schema']['getNearestSelectionRange'](_0x267a45['end'],'forward');if(_0x53b6f3&&_0x53b6f3['isCollapsed']){const _0x50cc58=_0x3f7a8b['createRange'](_0x267a45['start'],_0x53b6f3['start']);_0x50cc58['isEqual'](_0x267a45)||(_0x3f7a8b['updateMarker'](_0x6ac1f3,{'range':_0x50cc58}),_0x3a6bf7=!0x0);}_0x3a6bf7||(_0x3f7a8b['removeMarker'](_0x6ac1f3),_0x3a6bf7=!0x0);}return _0x3a6bf7;});}}class _0xd76f9f extends ckeditor5['Plugin']{['afterInit'](){const _0x410f9a=this['editor'],_0x54d67c=_0x410f9a['plugins']['get']('TrackChangesEditing');_0x410f9a['plugins']['has']('Uploadcare')&&(_0x54d67c['enableCommand']('uploadcare'),_0x410f9a['plugins']['has']('UploadcareImageEdit')&&(_0x54d67c['enableCommand']('uploadcareImageEdit'),_0x54d67c['enableDefaultAttributesIntegration']('uploadcareImageReplace'),_0x54d67c['descriptionFactory']['registerDescriptionCallback'](_0x56b515=>{if('attribute'!=_0x56b515['type'])return;const {data:_0xec9870}=_0x56b515;return _0xec9870&&'uploadcareImageId'==_0xec9870['key']?{'type':'format','content':''}:void 0x0;})));}}class _0x2ab302 extends ckeditor5['Plugin']{['afterInit'](){const _0x4c9ef6=this['editor'],_0x3f4c59=_0x4c9ef6['plugins']['get']('TrackChangesEditing');_0x4c9ef6['plugins']['has']('UndoEditing')&&(_0x3f4c59['enableCommand']('undo'),_0x3f4c59['enableCommand']('redo'));}}class TrackChangesTableCaption extends ckeditor5['Plugin']{static get['requires'](){return[_0x5da27b];}['afterInit'](){const _0x2c952d=this['editor'];if(!_0x2c952d['plugins']['has']('TableCaptionEditing'))return;_0x2c952d['plugins']['get']('TrackChangesEditing')['enableCommand']('toggleTableCaption');}}class TrackChangesTableProperties extends ckeditor5['Plugin']{['tableProperties'];['tableCellProperties'];constructor(_0x4a7389){super(_0x4a7389),this['tableProperties']=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'],this['tableCellProperties']=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'],_0x4a7389['config']['get']('experimentalFlags.tableCellTypeSupport')&&this['tableCellProperties']['push']('tableCellType');}static get['pluginName'](){return'TrackChangesTableProperties';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x5b6147=this['editor']['plugins']['get']('TrackChangesEditing');if(this['editor']['plugins']['has']('TablePropertiesEditing')){for(const _0x490151 of this['tableProperties'])_0x5b6147['enableCommand'](_0x490151,(_0x55d29c,_0x3189af)=>{const _0x1c3a52=this['editor']['model']['document']['selection']['getFirstPosition']()['findAncestor']('table');this['_handlePropertyChange'](_0x490151,[_0x1c3a52],this['tableProperties'],'tableProperties',_0x55d29c,_0x3189af);});_0x5b6147['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','accept',_0x5b6147['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x5b6147['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','discard',(_0x379eb2,_0x185a9c)=>this['handleDiscardAction'](this['tableProperties'],_0x379eb2,_0x185a9c)),_0x5b6147['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','join',()=>!0x1);}if(this['editor']['plugins']['has']('TableCellPropertiesEditing')){for(const _0x34cb6e of this['tableCellProperties'])this['editor']['commands']['get'](_0x34cb6e)&&_0x5b6147['enableCommand'](_0x34cb6e,(_0x5a15f0,_0x4973c7)=>{const _0x4f44ee=this['editor']['plugins']['get']('TableUtils')['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);this['_handlePropertyChange'](_0x34cb6e,_0x4f44ee,this['tableCellProperties'],'tableCellProperties',_0x5a15f0,_0x4973c7);});_0x5b6147['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','accept',_0x5b6147['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x5b6147['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','discard',(_0x4891f5,_0x553329)=>this['handleDiscardAction'](this['tableCellProperties'],_0x4891f5,_0x553329)),_0x5b6147['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','join',()=>!0x1),this['editor']['model']['schema']['checkAttribute']('tableCell','tableCellType')&&_0x5b6147['descriptionFactory']['registerAttributeLabel']('tableCellType',getTranslation$1(this['editor']['locale'],'FORMAT_TABLE_CELL_TYPE'));}_0x5b6147['descriptionFactory']['registerDescriptionCallback'](_0x257bc3=>this['handleSuggestionDescription'](_0x257bc3)),this['_registerTablePropertiesAttributes']();}['_handlePropertyChange'](_0x20fc16,_0x165545,_0x4b1524,_0x5e6e4c,_0x28d76c,_0x39aa13){const _0x5e7440=this['editor']['plugins']['get']('TrackChangesEditing');this['editor']['model']['enqueueChange'](_0x39aa13['batch'],()=>{for(const _0xabf5c4 of _0x165545){if(this['_getSuggestion'](_0xabf5c4,_0x5e6e4c))_0x28d76c(_0x39aa13);else{const _0x686ba7={};for(const _0x108cc8 of _0x4b1524){const _0x4192fe=_0xabf5c4['getAttribute'](_0x108cc8);void 0x0!==_0x4192fe&&(_0x686ba7[_0x108cc8]=_0x4192fe);}_0x28d76c(_0x39aa13),_0x5e7440['markBlockFormat'](_0xabf5c4,{'commandParams':[_0x686ba7]},[],_0x5e6e4c);}}});}['handleDiscardAction'](_0x4aa5c8,_0x29c8e6,_0x488cb3){const _0x4ce9da=_0x29c8e6[0x0]['start']['nodeAfter'],_0x4f5f22=_0x488cb3['commandParams'][0x0];this['editor']['model']['change'](_0x35f58a=>{for(const _0x145531 of _0x4aa5c8)void 0x0!==_0x4f5f22[_0x145531]?_0x35f58a['setAttribute'](_0x145531,_0x4f5f22[_0x145531],_0x4ce9da):_0x35f58a['removeAttribute'](_0x145531,_0x4ce9da);});}['handleSuggestionDescription'](_0x70ccd2){if(_0x70ccd2['data'])switch(_0x70ccd2['subType']){case'tableProperties':return{'type':'format','content':getTranslation$1(this['editor']['locale'],'*Format:*\x20change\x20table\x20properties')};case'tableCellProperties':return{'type':'format','content':getTranslation$1(this['editor']['locale'],'*Format:*\x20change\x20table\x20cell\x20properties')};}}['_getSuggestion'](_0x31416,_0x5526e5){const _0x14e337=this['editor']['plugins']['get']('TrackChangesEditing');for(const _0x4080c1 of _0x14e337['getSuggestions']({'skipNotAttached':!0x0})){const _0x5a0940=_0x4080c1['getContainedElement']();if(_0x4080c1['subType']===_0x5526e5&&_0x5a0940===_0x31416)return _0x4080c1;}return null;}['_registerTablePropertiesAttributes'](){const _0x5d5db5=this['editor']['plugins']['get']('TrackChangesEditing'),_0x2c8328=[...this['tableProperties'],...this['tableCellProperties']];for(const _0x186103 of _0x2c8328){const _0x60d416=_0x186103['replace'](/([A-Z])/g,'_$1')['toUpperCase']();_0x5d5db5['descriptionFactory']['registerAttributeLabel'](_0x186103,getTranslation$1(this['editor']['locale'],'FORMAT_'+_0x60d416));}}}class TrackChangesLineHeight extends ckeditor5['Plugin']{['afterInit'](){const _0x381975=this['editor'];if(!_0x381975['plugins']['has']('LineHeight'))return;const _0x5cc7d8=_0x381975['plugins']['get']('TrackChangesEditing'),_0xb613be=_0x381975['locale'];_0x5cc7d8['enableDefaultAttributesIntegration']('lineHeight'),_0x5cc7d8['descriptionFactory']['registerAttributeLabel']('lineHeight',getTranslation$1(_0xb613be,'FORMAT_LINE_HEIGHT'));}}const renameAttributeKey='$elementName';class TrackChangesEditing extends ckeditor5['Plugin']{['descriptionFactory'];['trackChangesCommand'];['_adapter'];['_suggestionFactory'];['_suggestions'];['_commentsRepository'];['_enabledCommands'];['_model'];['_suggestionState'];['_isForcedDefaultExecutionBlock'];['_trackFormatChanges'];['_mergeNestedSuggestions'];['_recordAttributeSuggestions']=!0x1;['_trackingSessionId']=null;static get['requires'](){return['CommentsRepository',SuggestionsConversion,_0x17009e,ckeditor5['PendingActions'],DocumentCompare,TrackChangesAIAssistant,_0x2b7303,TrackChangesAIQuickActions,TrackChangesAlignment,TrackChangesBasicStyles,TrackChangesBlockQuote,_0x111c9f,_0xfa44cb,_0x5872a5,_0x50bf17,TrackChangesComments,TrackChangesDeleteCommand,_0x4c6f11,TrackChangesEnterCommand,_0x6e8408,TrackChangesFont,TrackChangesFootnotes,TrackChangesFormatPainter,_0x59c0d7,TrackChangesHighlight,TrackChangesHorizontalLine,TrackChangesHtmlEmbed,_0x502de2,TrackChangesImageStyle,_0x61984d,TrackChangesImportWord,TrackChangesIndent,TrackChangesInputCommand,TrackChangesLegacyList,TrackChangesLegacyListProperties,TrackChangesMultiLevelList,_0x271d59,TrackChangesList,TrackChangesLineHeight,TrackChangesDocumentListProperties,_0x57a26d,TrackChangesMention,_0x1ac05f,_0x579bee,_0x32bff7,_0xe17658,TrackChangesRemoveFormat,TrackChangesRestrictedEditingMode,TrackChangesShiftEnterCommand,TrackChangesStandardEditingMode,TrackChangesStylesDropdown,_0x5da27b,TrackChangesTableMergeSplit,_0x1d4bed,TrackChangesTableLayout,TrackChangesTableCaption,_0x1036b3,_0x31e352,TrackChangesTableOfContents,TrackChangesTableProperties,TrackChangesTemplate,TrackChangesTitle,_0xd76f9f,_0x2ab302];}static get['pluginName'](){return'TrackChangesEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x8f87d8){super(_0x8f87d8),this['set']('activeMarkers',[]),this['on']('change:activeMarkers',(_0x33b80e,_0x1c7eb2,_0x1e7cf2,_0x2b8f81)=>{this['_model']['change'](()=>{for(const _0x324d02 of[..._0x2b8f81,..._0x1e7cf2])this['_model']['markers']['has'](_0x324d02)&&_0x8f87d8['editing']['reconvertMarker'](_0x324d02);});}),this['descriptionFactory']=new SuggestionDescriptionFactory(this['editor']['model']['schema'],this['editor']['locale']),this['_adapter']=null,this['_suggestionFactory']=new SuggestionFactory(this['editor']),this['_suggestions']=new Map(),this['_commentsRepository']=_0x8f87d8['plugins']['get']('CommentsRepository'),this['_enabledCommands']=new Set(),this['_model']=this['editor']['model'],this['_suggestionState']=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,_0x8f87d8['config']['define']('trackChanges.trackFormatChanges','default'),this['_trackFormatChanges']=_0x8f87d8['config']['get']('trackChanges.trackFormatChanges'),_0x8f87d8['config']['define']('trackChanges.mergeNestedSuggestions',!0x0),this['_mergeNestedSuggestions']=_0x8f87d8['config']['get']('trackChanges.mergeNestedSuggestions'),this['trackChangesCommand']=new _0x3ac597(_0x8f87d8,this['_enabledCommands']),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x3e871b=this['editor'];_0x3e871b['conversion']['for']('upcast')['elementToElement']({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x406c90,{writer:_0x41bf46})=>{let _0x5e59c7='suggestion:'+_0x406c90['getAttribute']('suggestion-type')+':'+_0x406c90['getAttribute']('id');return _0x406c90['getAttribute']('marker-count')&&(_0x5e59c7+=':'+_0x406c90['getAttribute']('marker-count')),_0x41bf46['createElement']('$marker',{'data-name':_0x5e59c7});}}),_0x3e871b['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion'}),_0x3e871b['model']['document']['registerPostFixer'](_0x27b9fa=>{let _0x5382c2=!0x1;const _0x4b4d56=Array['from'](_0x3e871b['model']['document']['differ']['getChangedMarkers']()),_0x526f8a=new Set();for(const {name:_0x21baca,data:_0x3a4ed2}of _0x4b4d56){const {group:_0x3186d9,type:_0x197b5c,subType:_0xf6cad2,id:_0x145bb}=this['_splitMarkerName'](_0x21baca);if('suggestion'!==_0x3186d9)continue;const _0x274628=_0xf6cad2?'suggestion:'+_0x197b5c+':'+_0xf6cad2+':'+_0x145bb:'suggestion:'+_0x197b5c+':'+_0x145bb,_0x58a4ad=_0x3e871b['model']['markers']['getMarkersGroup'](_0x274628),_0x5edd44=_0x3e871b['model']['markers']['get'](_0x21baca),_0x367613=this['_suggestions']['get'](_0x145bb);if(null!=_0x3a4ed2['newRange']){'formatInline'==_0x197b5c&&(_0x5382c2=_0x5382c2||trimFormatInlineSuggestionRange(_0x3a4ed2['newRange'],_0x21baca,_0x27b9fa,_0x3e871b['model']['schema']));const _0x5dca26='attribute'==_0x197b5c&&this['_isBlockAttribute'](_0xf6cad2['split']('|')[0x0]),_0x2936a3='attribute'==_0x197b5c&&this['_isInlineAttribute'](_0xf6cad2['split']('|')[0x0]);if(_0x3a4ed2['newRange']['isCollapsed']||'$graveyard'==_0x3a4ed2['newRange']['root']['rootName']||'formatBlock'==_0x197b5c&&!isCorrectFormatBlockSuggestionRange(_0x3a4ed2['newRange'])||_0x5dca26&&!isCorrectFormatBlockSuggestionRange(_0x3a4ed2['newRange'])||_0x2936a3&&isEmptyRange(_0x3a4ed2['newRange'])||'deletion'==_0x197b5c&&isEmptyRange(_0x3a4ed2['newRange'])||_0x5edd44&&isIntersectingWithOtherMarkers(_0x5edd44,_0x58a4ad))_0x27b9fa['removeMarker'](_0x21baca),_0x5382c2=!0x0;else{if(!_0x367613||!_0x367613['isInContent'])continue;if(_0x3a4ed2['newRange']&&_0x3a4ed2['oldRange']&&_0x3a4ed2['newRange']['isEqual'](_0x3a4ed2['oldRange']))continue;_0x526f8a['add'](_0x367613);}}}return _0x526f8a['size']>0x0&&(_0x5382c2=!!this['_joinWithAdjacentSuggestions'](_0x526f8a)||_0x5382c2),_0x5382c2;}),_0x3e871b['model']['document']['registerPostFixer'](_0x590cf9=>{let _0x466cd6=!0x1;for(const _0x312a48 of _0x3e871b['model']['document']['differ']['getChanges']())if('insert'==_0x312a48['type'])for(const _0x6d2e73 of this['_suggestions']['values']()){if(_0x6d2e73['isMultiRange']||!_0x6d2e73['isInContent'])continue;const _0x3441ef='formatBlock'==_0x6d2e73['type'],_0x1a6735=this['_getAttributeKey'](_0x6d2e73),_0x386b4a=_0x1a6735&&this['_isBlockAttribute'](_0x1a6735);if(!_0x3441ef&&!_0x386b4a)continue;const _0x5485bd=_0x6d2e73['getFirstRange']();if(_0x5485bd['start']['parent']!=_0x5485bd['end']['parent']&&!_0x5485bd['end']['isAtEnd']){const _0x52c413=_0x3e871b['model']['createPositionAt'](_0x5485bd['start']['nodeAfter'],'end'),_0x5dc94e=_0x3e871b['model']['createRange'](_0x5485bd['start'],_0x52c413);_0x590cf9['updateMarker'](_0x6d2e73['getFirstMarker'](),{'range':_0x5dc94e}),_0x466cd6=!0x0;}}return _0x466cd6;}),_0x3e871b['model']['document']['registerPostFixer'](_0x4fcbd0=>this['_processAttributeChanges'](_0x4fcbd0)),_0x3e871b['model']['document']['registerPostFixer'](_0x794787=>!_0x794787['batch']['isLocal']&&this['_processAttributeSuggestions'](_0x794787)),_0x3e871b['model']['on']('_afterChanges',()=>{this['_recordAttributeSuggestions']=!0x1;}),_0x3e871b['model']['document']['on']('change:data',(_0x3b3256,_0x353b4f)=>{if(!_0x353b4f['isLocal']||_0x353b4f['isUndo'])return;if(!this['_recordAttributeSuggestions'])return;const _0x2edda5=_0x3e871b['model']['document']['differ']['getChanges']();if(0x0==_0x2edda5['length'])return;const _0x6b1352=[],_0x4ebe09=_0x2edda5['filter'](_0x42ca91=>'attribute'==_0x42ca91['type']),_0x4b49ed=_0x2edda5['filter'](_0x3525b0=>'insert'==_0x3525b0['type']&&'$text'!=_0x3525b0['name']);for(const _0x554793 of _0x4ebe09)this['_isRegisteredAttribute'](_0x554793['attributeKey'])&&_0x6b1352['push']({'key':_0x554793['attributeKey'],'newValue':_0x554793['attributeNewValue'],'oldValue':_0x554793['attributeOldValue'],'range':fixAttributeSuggestionRange(_0x554793['range'],_0x3e871b['model'])});for(const _0x55a07f of _0x4b49ed){if('rename'!=_0x55a07f['action']&&'refresh'!=_0x55a07f['action'])continue;const _0x11860e=createBlockFormatRangeForElement(_0x55a07f['position']['nodeAfter'],_0x3e871b['model']),_0x19dcd7=_0x55a07f['before'];'rename'==_0x55a07f['action']&&_0x6b1352['push']({'key':renameAttributeKey,'newValue':_0x55a07f['name'],'oldValue':_0x19dcd7['name'],'range':_0x11860e});for(const [_0x1cde25,_0x4f4025]of _0x19dcd7['attributes']){if(!this['_isRegisteredAttribute'](_0x1cde25))continue;const _0x5afc7e=_0x55a07f['attributes']['get'](_0x1cde25);_0x4f4025!==_0x5afc7e&&_0x6b1352['push']({'key':_0x1cde25,'newValue':_0x5afc7e,'oldValue':_0x4f4025,'range':_0x11860e});}for(const [_0x54062e,_0x11c4b3]of _0x55a07f['attributes'])this['_isRegisteredAttribute'](_0x54062e)&&(_0x19dcd7['attributes']['has'](_0x54062e)||_0x6b1352['push']({'key':_0x54062e,'newValue':_0x11c4b3,'oldValue':null,'range':_0x11860e}));}0x0!=_0x6b1352['length']&&_0x3e871b['model']['enqueueChange'](_0x353b4f,_0x1be1d7=>{const _0x18792d=ckeditor5['uid']();for(const {range:_0x19fe6c,key:_0x1b9f42,oldValue:_0x2f95fa,newValue:_0x17aa69}of _0x6b1352)this['markAttributeChange'](_0x19fe6c,_0x1b9f42,_0x2f95fa,_0x17aa69,{'groupId':_0x18792d});this['_reduceExistingSuggestions'](_0x1be1d7,_0x6b1352);});},{'priority':'lowest'}),_0x3e871b['model']['markers']['on']('update:suggestion',(_0x1707b2,_0x2a61d1,_0x1d0a53)=>{if(null==_0x1d0a53){const {id:_0x76bd12}=this['_splitMarkerName'](_0x2a61d1['name']),_0x28c19e=this['_suggestions']['get'](_0x76bd12);_0x28c19e&&_0x28c19e['addMarkerName'](_0x2a61d1['name']);}}),_0x3e871b['model']['document']['on']('change:data',()=>{const _0x5d0fbd=Array['from'](_0x3e871b['model']['document']['differ']['getChangedMarkers']())['filter'](_0x4017e7=>'suggestion'===this['_splitMarkerName'](_0x4017e7['name'])['group']);if(0x0===_0x5d0fbd['length'])return;_0x5d0fbd['sort']((_0x294a49,_0x53e331)=>{const _0x192dcd=_0x294a49['data']['oldRange'],_0x43e9ef=_0x53e331['data']['oldRange'];return null===_0x192dcd&&null===_0x43e9ef?0x0:null===_0x192dcd&&null!==_0x43e9ef?-0x1:null!==_0x192dcd&&null===_0x43e9ef?0x1:_0x192dcd['start']['isBefore'](_0x43e9ef['start'])?-0x1:0x1;});const _0x253769=new Set(),_0x158ce4=new Set();for(const {name:_0x35a5b0,data:_0x4e4992}of _0x5d0fbd){const {id:_0xbad200}=this['_splitMarkerName'](_0x35a5b0);if(null===_0x4e4992['oldRange']){const _0x2971a7=this['_handleNewSuggestionMarker'](_0x35a5b0);_0x158ce4['add'](_0x2971a7);}else{const _0x2ff484=this['_suggestions']['get'](_0xbad200);null!==_0x4e4992['newRange']||_0x2ff484['isInContent']?(_0x253769['add'](_0x2ff484['head']),_0x158ce4['add'](_0x2ff484)):this['_removeSuggestion'](_0x2ff484);}}_0x158ce4['size']>0x0&&this['_refreshSuggestionsChain'](_0x158ce4);for(const _0x4d959c of _0x253769)this['fire']('suggestionChanged',_0x4d959c);}),_0x3e871b['model']['on']('applyOperation',(_0x2fbfb2,_0x44c5d1)=>{const _0x54e469=_0x44c5d1[0x0];if(!this['_suggestions']['size'])return;if(!_0x54e469['isDocumentOperation'])return;if(_0x54e469['batch']['isUndo']||!_0x54e469['batch']['isLocal'])return;let _0x52e12a,_0x12ee32;switch(_0x54e469['type']){case'insert':_0x52e12a=_0x3e871b['model']['createPositionAt'](_0x54e469['position']),_0x12ee32=_0x52e12a['getShiftedBy'](_0x54e469['howMany']);break;case'split':_0x52e12a=_0x3e871b['model']['createPositionAt'](_0x54e469['splitPosition']),_0x12ee32=_0x3e871b['model']['createPositionAt'](_0x54e469['moveTargetPosition']);break;case'move':_0x52e12a=_0x3e871b['model']['createPositionAt'](_0x54e469['targetPosition']),_0x12ee32=_0x52e12a['getShiftedBy'](_0x54e469['howMany']);break;default:return;}const _0x66a582=_0x3e871b['model']['createRange'](_0x52e12a,_0x12ee32);_0x3e871b['model']['change'](()=>{for(const {suggestion:_0x508fb9,meta:_0x3ec723}of this['_findSuggestions'](_0x66a582)){if(_0x508fb9['isMultiRange'])continue;if('formatInline'==_0x508fb9['type'])continue;const _0xa65b7e=this['_getAttributeKey'](_0x508fb9);if(_0xa65b7e&&this['_isBlockAttribute'](_0xa65b7e)&&'split'!=_0x54e469['type'])continue;const _0x5184a8=_0x508fb9['data']&&_0x508fb9['data']['multipleBlocks'];('formatBlock'!=_0x508fb9['type']||'split'==_0x54e469['type']&&!_0x5184a8)&&(_0x3ec723['containsRangeInObject']||'insertion'==_0x508fb9['type']&&_0x3ec723['isOwn']||_0x508fb9['getFirstRange']()['containsRange'](_0x66a582)&&this['_breakSuggestionMarker'](_0x508fb9,_0x52e12a,_0x12ee32));}});},{'priority':'lowest'}),_0x3e871b['model']['on']('deleteContent',(_0x5ec349,_0x12c27f)=>{const _0x154738=_0x12c27f[0x0],_0xd0b9d=_0x12c27f[0x1];if(_0xd0b9d&&_0xd0b9d['forceDefaultExecution'])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this['trackChangesCommand']['value'])return;if(_0x154738['isCollapsed'])return;const _0x532296=_0x3e871b['model']['schema'],{start:_0x27b295,end:_0x4fa9fb}=_0x154738['getFirstRange'](),_0x4693bd=_0x27b295['nodeAfter']&&_0x532296['isLimit'](_0x27b295['nodeAfter'])?null:_0x532296['getNearestSelectionRange'](_0x27b295,'forward'),_0x546c04=_0x4fa9fb['nodeBefore']&&_0x532296['isLimit'](_0x4fa9fb['nodeBefore'])?null:_0x532296['getNearestSelectionRange'](_0x4fa9fb,'backward'),_0x2e71d7=_0x3e871b['model']['createRange'](_0x4693bd?_0x4693bd['start']:_0x27b295,_0x546c04?_0x546c04['end']:_0x4fa9fb);_0x3e871b['model']['change'](_0x5f5b07=>{this['markDeletion'](_0x2e71d7);const _0x17ef4a=_0x3e871b['model']['schema']['getNearestSelectionRange'](_0x2e71d7['start']);_0x154738['is']('documentSelection')?_0x5f5b07['setSelection'](_0x17ef4a):_0x154738['setTo'](_0x17ef4a);}),_0x5ec349['stop']();},{'priority':ckeditor5['priorities']['normal']+0xa}),_0x3e871b['model']['on']('insertContent',(_0x386e43,_0x3ebb19)=>{const _0x40d0b=_0x3ebb19[_0x3ebb19['length']-0x1];_0x40d0b&&_0x40d0b['forceDefaultExecution']||this['_isForcedDefaultExecutionBlock']||this['trackChangesCommand']['value']&&(_0x3e871b['model']['change'](()=>{let _0xe2b51f=_0x3e871b['model']['insertContent'](_0x3ebb19[0x0],_0x3ebb19[0x1],_0x3ebb19[0x2],{'forceDefaultExecution':!0x0});if(!_0xe2b51f)return;_0x386e43['return']=_0xe2b51f['clone']();const _0x199d34=_0xe2b51f['end']['nodeBefore'],_0x142722=_0x3e871b['model']['schema'];_0x199d34&&_0x142722['isBlock'](_0x199d34)&&!_0x142722['isObject'](_0x199d34)&&(_0xe2b51f=_0x3e871b['model']['createRange'](_0xe2b51f['start'],_0x3e871b['model']['createPositionAt'](_0x199d34,'end'))),this['markInsertion'](_0xe2b51f);}),_0x386e43['stop']());},{'priority':'high'}),this['editor']['commands']['add']('trackChanges',this['trackChangesCommand']),this['enableCommand']('trackChanges');const _0x1524a2=new AcceptSuggestionCommand(_0x3e871b,this['_suggestions']);_0x3e871b['commands']['add']('acceptSuggestion',_0x1524a2),this['enableCommand']('acceptSuggestion');const _0x4e3b37=new DiscardSuggestionCommand(_0x3e871b,this['_suggestions']);_0x3e871b['commands']['add']('discardSuggestion',_0x4e3b37),this['enableCommand']('discardSuggestion'),_0x3e871b['commands']['add']('acceptAllSuggestions',new ExecuteOnAllSuggestionsCommand(_0x3e871b,_0x1524a2,this['_suggestions'])),this['enableCommand']('acceptAllSuggestions'),_0x3e871b['commands']['add']('discardAllSuggestions',new ExecuteOnAllSuggestionsCommand(_0x3e871b,_0x4e3b37,this['_suggestions'])),this['enableCommand']('discardAllSuggestions'),_0x3e871b['commands']['add']('acceptSelectedSuggestions',new ExecuteOnSelectedSuggestionsCommand(_0x3e871b,_0x1524a2,this['_suggestions'])),this['enableCommand']('acceptSelectedSuggestions'),_0x3e871b['commands']['add']('discardSelectedSuggestions',new ExecuteOnSelectedSuggestionsCommand(_0x3e871b,_0x4e3b37,this['_suggestions'])),this['enableCommand']('discardSelectedSuggestions');const _0x16dbe1=_0x3e871b['plugins']['get']('CommentsRepository');this['listenTo'](_0x16dbe1,'addComment',(_0x24c98f,{threadId:_0x44c31f})=>{const _0x2daf06=this['_suggestions']['get'](_0x44c31f);_0x2daf06&&_0x2daf06['commentThread']&&0x1===_0x2daf06['commentThread']['length']&&this['_updateSuggestionData'](_0x44c31f,{'hasComments':!0x0});},{'priority':'low'}),this['listenTo'](_0x16dbe1,'removeComment',(_0x3ea68e,{threadId:_0x1fe6a5})=>{const _0x5a97cf=this['_suggestions']['get'](_0x1fe6a5);_0x5a97cf&&_0x5a97cf['commentThread']&&!_0x5a97cf['commentThread']['length']&&this['_updateSuggestionData'](_0x1fe6a5,{'hasComments':!0x1});},{'priority':'low'});}['afterInit'](){_0x17ea8e(this);}set['adapter'](_0x5b511c){if(this['_adapter'])throw new ckeditor5['CKEditorError']('track-changes-adapter-already-set',this);this['_adapter']=_0x5b511c;}get['adapter'](){return this['_adapter'];}['getSuggestions']({skipNotAttached:_0x3a8cbc=!0x1,toJSON:_0x3f1246=!0x1}={}){const _0x1922e6=[];for(const _0x444ce2 of this['_suggestions']['values']())_0x3a8cbc&&!_0x444ce2['isInContent']||_0x1922e6['push'](_0x444ce2);return _0x3f1246?_0x1922e6['map'](_0x551131=>_0x551131['toJSON']()):_0x1922e6;}['getSuggestion'](_0x309fd4){const _0x2e7985=this['_suggestions']['get'](_0x309fd4);if(!_0x2e7985)throw new ckeditor5['CKEditorError']('track-changes-suggestion-not-found',this);return _0x2e7985;}['hasSuggestion'](_0x11f45a){return this['_suggestions']['has'](_0x11f45a);}['addSuggestionData'](_0x56190c){const {authorId:_0x3bd443,id:_0x43496a,originalSuggestionId:_0x51936e,attributes:_0x4fbb23}=_0x56190c,[_0x2b3ec2,_0xfcdad]=_0x56190c['type']['split'](':'),_0x2a0cb1=this['_suggestions']['get'](_0x43496a)||this['_createSuggestion'](_0x2b3ec2,_0xfcdad,_0x43496a,_0x3bd443,_0x4fbb23,_0x51936e);if(this['_addThreadToSuggestion'](_0x2a0cb1),this['_checkSuggestionCorrectness'](_0x2a0cb1,_0x2b3ec2,_0xfcdad||null,_0x3bd443),_0x2a0cb1['createdAt']=_0x56190c['createdAt'],_0x2a0cb1['_isDataLoaded']=!0x0,_0x4fbb23&&_0x4fbb23['@external']){const _0x25167d=_0x4fbb23['@external'],_0x1ff27e=this['_getExternalAuthor'](_0x25167d['authorName']);_0x2a0cb1['authoredAt']=_0x25167d['createdAt'],_0x2a0cb1['author']=_0x1ff27e,_0x2a0cb1['isExternal']=!0x0;}else _0x2a0cb1['authoredAt']=_0x56190c['createdAt'];switch(_0x56190c['data']&&(_0x2a0cb1['data']=_0x56190c['data']),_0x56190c['attributes']&&(_0x2a0cb1['attributes']=_0x56190c['attributes']),this['_adapter']&&this['_adapter']['addSuggestion']||(_0x2a0cb1['_saved']=!0x0),this['_suggestionState']['get'](_0x2a0cb1)){case'notReady':this['_suggestionState']['set'](_0x2a0cb1,'dataReady');break;case'markerReady':_0x2a0cb1['isInContent']?(this['_joinWithAdjacentSuggestions'](new Set([_0x2a0cb1])),this['_refreshSuggestionsChain'](new Set([_0x2a0cb1])),this['_suggestionState']['set'](_0x2a0cb1,'ready'),this['fire']('suggestionLoaded',_0x2a0cb1)):this['_suggestionState']['set'](_0x2a0cb1,'removed');}return _0x2a0cb1;}['acceptSuggestion'](_0x4024c3){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x12b09f of _0x4024c3['getAllAdjacentSuggestions']())_0x12b09f['accept']();});});}['discardSuggestion'](_0x5632c3){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x2fd111 of _0x5632c3['getAllAdjacentSuggestions']())_0x2fd111['discard']();});});}['enableCommand'](_0x3f889b,_0x36412d){const _0x377bfd=this['editor']['commands']['get'](_0x3f889b);if(!_0x377bfd)throw new ckeditor5['CKEditorError']('track-changes-command-not-found',this,{'commandName':_0x3f889b});if(this['_enabledCommands']['has'](_0x377bfd))throw new ckeditor5['CKEditorError']('track-changes-enable-command-twice',this,{'commandName':_0x3f889b});this['_enabledCommands']['add'](_0x377bfd),_0x36412d&&_0x377bfd['on']('execute',(_0x1e49fe,_0x56525b)=>{this['trackChangesCommand']['value']&&(this['_isForcedDefaultExecutionBlock']||(_0x56525b['length']>0x0&&_0x56525b[_0x56525b['length']-0x1]&&_0x56525b[_0x56525b['length']-0x1]['forceDefaultExecution']?_0x56525b['pop']():(_0x1e49fe['return']=_0x36412d((..._0xdb1530)=>_0x377bfd['execute'](..._0xdb1530,{'forceDefaultExecution':!0x0}),..._0x56525b),_0x1e49fe['stop']())));},{'priority':'high'});}['forceDefaultExecution'](_0x1d12d3){let _0x27e014,_0x110128;const _0x544327=this['_isForcedDefaultExecutionBlock'];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x27e014=_0x1d12d3();}catch(_0x105e1e){_0x110128=_0x105e1e;}return _0x544327||(this['_isForcedDefaultExecutionBlock']=!0x1),_0x110128&&ckeditor5['CKEditorError']['rethrowUnexpectedError'](_0x110128,this),_0x27e014;}['markInsertion'](_0x55d9d7,_0x57b2b1=null,_0x7b94c7={}){if(_0x55d9d7['isCollapsed'])return null;const _0x57a228=this['editor']['plugins']['get']('Users')['me'];this['_trackingSessionId']&&(_0x7b94c7['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x24349e,meta:_0x3cb1e8}of this['_findSuggestions'](_0x55d9d7,'insertion'))if(_0x3cb1e8['isOwn']){if(!_0x3cb1e8['isNextTo']){if(_0x3cb1e8['containsRangeInObject']){if(!this['_mergeNestedSuggestions']||!_areSimilarAttributes(_0x24349e,_0x7b94c7))continue;return _0x24349e;}if(_areSimilarAttributes(_0x24349e,_0x7b94c7))return _0x24349e;this['_breakSuggestionMarker'](_0x24349e,_0x55d9d7['start'],_0x55d9d7['end']);break;}if(_0x57b2b1==_0x24349e['subType']&&_areSimilarAttributes(_0x24349e,_0x7b94c7)){const _0x303fe7=_0x24349e['getFirstRange']();return _0x303fe7['start']['isEqual'](_0x55d9d7['end'])?this['_setSuggestionRange'](_0x24349e,this['_model']['createRange'](_0x55d9d7['start'],_0x303fe7['end'])):this['_setSuggestionRange'](_0x24349e,this['_model']['createRange'](_0x303fe7['start'],_0x55d9d7['end'])),_0x24349e;}}const _0x350982=ckeditor5['uid'](),_0xc28ff0=_0x57a228['id'],_0x56cffe=_0x57b2b1?'insertion:'+_0x57b2b1:'insertion',_0x5ec812=this['_setSuggestionData']({'id':_0x350982,'type':_0x56cffe,'createdAt':new Date(),'authorId':_0xc28ff0,'attributes':_0x7b94c7});return this['_addSuggestionMarker'](_0x56cffe,_0x350982,_0xc28ff0,_0x55d9d7),_0x5ec812;}['markMultiRangeInsertion'](_0x2a1d26,_0x33d88e='multi',_0x342527={}){const _0x3c412c=this['editor']['plugins']['get']('Users')['me'],_0x1b9717=this['_suggestionFactory']['getSuggestionCallback']('insertion',_0x33d88e,'join');this['_trackingSessionId']&&(_0x342527['trackingSessionId']=this['_trackingSessionId']);for(const _0x480ca6 of this['getSuggestions']())if(_0x480ca6['author']['id']==_0x3c412c['id']&&'insertion'==_0x480ca6['type']&&_0x480ca6['subType']==_0x33d88e&&_areSimilarAttributes(_0x480ca6,_0x342527)&&(_0x1b9717(_0x480ca6['getRanges'](),_0x2a1d26)||_0x1b9717(_0x2a1d26,_0x480ca6['getRanges']()))){for(const _0xf612fc of _0x2a1d26)_0x480ca6['addRange'](_0xf612fc);return _0x480ca6;}for(const {suggestion:_0xd1e79d,meta:_0x186de2}of this['_findSuggestions'](_0x2a1d26,'insertion')){if(!_0x186de2['isOwn'])continue;if(!this['_mergeNestedSuggestions']&&_0x186de2['containsRangeInObject'])continue;if(!_areSimilarAttributes(_0xd1e79d,_0x342527))continue;let _0x355914=!0x0;for(const _0xc701d2 of _0xd1e79d['getRanges']())for(const _0x2e499c of _0x2a1d26)if(!_0xc701d2['containsRange'](_0x2e499c)){_0x355914=!0x1;break;}if(_0x355914)return _0xd1e79d;}const _0x3552ae=ckeditor5['uid'](),_0x1486f0=_0x3c412c['id'],_0x420a9e='insertion:'+_0x33d88e,_0x4af81c=this['_setSuggestionData']({'id':_0x3552ae,'type':_0x420a9e,'createdAt':new Date(),'authorId':_0x1486f0,'attributes':_0x342527});for(const _0x256915 of _0x2a1d26)this['_addSuggestionMarker'](_0x420a9e,_0x3552ae,_0x1486f0,_0x256915,Suggestion['getMultiRangeId']());return _0x4af81c;}['markInlineFormat'](_0x5bc63a,_0x5e8d0e,_0x5b1218=null,_0x102159={}){if(_0x5b1218=_0x5b1218||createFormatSubType(_0x5e8d0e),_0x5bc63a['isCollapsed'])return null;if(this['_trackingSessionId']&&(_0x102159['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x7e505=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0x5b1218,'accept');return this['forceDefaultExecution'](()=>_0x7e505([_0x5bc63a],_0x5e8d0e,_0x102159)),null;}const _0xe0f63d=this['editor']['plugins']['get']('Users')['me'],_0x464236=[];if('always'!==this['_trackFormatChanges']){for(const {suggestion:_0x4a0458,meta:_0x4b9295}of this['_findSuggestions'](_0x5bc63a,'insertion'))_0x4b9295['isOwn']&&!_0x4b9295['isInsideObject']&&_0x464236['push'](..._0x4a0458['getRanges']());}const _0x19370d=getIntersectionsWithMultipleRanges(_0x5bc63a,_0x464236),_0x590f2a=getDifferencesWithMultipleRanges(_0x5bc63a,_0x464236);_0x19370d['length']&&this['_model']['change'](()=>{for(const _0x50943f of _0x19370d){const _0x43bf49=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0x5b1218,'accept');this['forceDefaultExecution'](()=>_0x43bf49([_0x50943f],_0x5e8d0e,_0x102159));}});for(const _0x4c23bd of _0x590f2a){let _0x4446d2=null,_0x2df11c=_0x4c23bd['start'],_0x4cb931=_0x4c23bd['end'];for(const {suggestion:_0x32285e,meta:_0x124472}of this['_findSuggestions'](_0x4c23bd,'formatInline')){if(!_0x124472['isOwn'])continue;if(_0x32285e['subType']!=_0x5b1218)continue;if(!_areSimilarAttributes(_0x32285e,_0x102159))continue;const _0x1bf402=_0x32285e['getFirstRange']();if(_0x1bf402['containsRange'](_0x4c23bd,!0x0))return null;_0x2df11c=_0x2df11c['isBefore'](_0x1bf402['start'])?_0x2df11c:_0x1bf402['start'],_0x4cb931=_0x4cb931['isAfter'](_0x1bf402['end'])?_0x4cb931:_0x1bf402['end'],_0x4446d2?_0x1bf402['start']['isBefore'](_0x4446d2['getFirstRange']()['start'])?(_0x4446d2['removeMarkers'](),_0x4446d2=_0x32285e):_0x32285e['removeMarkers']():_0x4446d2=_0x32285e;}const _0x1a2fb6=this['_model']['createRange'](_0x2df11c,_0x4cb931);if(_0x4446d2)this['_setSuggestionRange'](_0x4446d2,_0x1a2fb6);else{const _0x733128=ckeditor5['uid'](),_0x247006=_0xe0f63d['id'];this['_setSuggestionData']({'id':_0x733128,'type':'formatInline:'+_0x5b1218,'data':_0x5e8d0e,'createdAt':new Date(),'authorId':_0x247006,'attributes':_0x102159}),this['_addSuggestionMarker']('formatInline:'+_0x5b1218,_0x733128,_0x247006,_0x1a2fb6);}}return null;}['markBlockFormat'](_0xad01f8,_0x229c60,_0x189cb6=[],_0x361756=null,_0x59cbc5={}){_0x229c60['formatGroupId']||(_0x229c60['formatGroupId']=_0x229c60['commandName']),_0x229c60['multipleBlocks']=_0xad01f8['is']('range'),_0x361756=_0x361756||createFormatSubType(_0x229c60);const _0x322a4d=_0x189cb6['map'](_0x21d296=>createBlockFormatRangeForElement(_0x21d296,this['_model'])),_0x3be44a=_0xad01f8['is']('range')?_0xad01f8:createBlockFormatRangeForElement(_0xad01f8,this['_model']);if(this['_trackingSessionId']&&(_0x59cbc5['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x152c69=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x361756,'accept');return this['forceDefaultExecution'](()=>_0x152c69([_0x3be44a],_0x229c60,_0x59cbc5)),null;}_0x322a4d['push'](_0x3be44a);let _0x3c63f2=!0x0;for(const _0x70db98 of _0x322a4d)if(!this['_rangeIsInLocalUserInsertion'](_0x70db98)){_0x3c63f2=!0x1;break;}if(_0x3c63f2&&'always'!==this['_trackFormatChanges']){const _0xe96b07=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x361756,'accept');return this['forceDefaultExecution'](()=>_0xe96b07([_0x3be44a],_0x229c60,_0x59cbc5)),null;}let _0x2e9ef7=null,_0x53fdc4=_0x3be44a['start'],_0x34c135=_0x3be44a['end'];for(const {suggestion:_0xf21ac7,meta:_0xd3c246}of this['_findSuggestions'](_0x3be44a,'formatBlock')){if(!_0xd3c246['isOwn'])continue;if(_0xd3c246['isNextTo']||_0xd3c246['containsRangeInObject']||_0xd3c246['isInsideObject'])continue;if(_0xf21ac7['data']['formatGroupId']!=_0x229c60['formatGroupId'])continue;if(!_areSimilarAttributes(_0xf21ac7,_0x59cbc5))continue;const _0x1c7714=_0xf21ac7['getFirstRange']();if(_0xf21ac7['subType']==_0x361756){if(_0x1c7714['containsRange'](_0x3be44a,!0x0))return null;_0x53fdc4=_0x53fdc4['isBefore'](_0x1c7714['start'])?_0x53fdc4:_0x1c7714['start'],_0x34c135=_0x34c135['isAfter'](_0x1c7714['end'])?_0x34c135:_0x1c7714['end'],_0x2e9ef7?_0x1c7714['start']['isBefore'](_0x2e9ef7['getFirstRange']()['start'])?(_0x2e9ef7['removeMarkers'](),_0x2e9ef7=_0xf21ac7):_0xf21ac7['removeMarkers']():_0x2e9ef7=_0xf21ac7;}else{const _0x37da18=_0x3be44a['getIntersection'](_0x1c7714);this['_cutOutSuggestionMarker'](_0xf21ac7,_0x37da18);}}const _0x38d91b=this['editor']['plugins']['get']('Users')['me'],_0x21a8f5=ckeditor5['uid'](),_0x34c7ea=_0x38d91b['id'];if(_0x2e9ef7)return this['_setSuggestionRange'](_0x2e9ef7,this['_model']['createRange'](_0x53fdc4,_0x34c135)),_0x2e9ef7;{const _0x455d6a=this['_setSuggestionData']({'id':_0x21a8f5,'type':'formatBlock:'+_0x361756,'data':_0x229c60,'createdAt':new Date(),'authorId':_0x34c7ea,'attributes':_0x59cbc5});return this['_addSuggestionMarker']('formatBlock:'+_0x361756,_0x21a8f5,_0x34c7ea,this['_model']['createRange'](_0x53fdc4,_0x34c135)),_0x455d6a;}}['markMultiRangeBlockFormat'](_0x4c643f,_0x155fa6,_0x5eb4ae=[],_0x47b22b=null,_0x5333ba={}){_0x155fa6['formatGroupId']||(_0x155fa6['formatGroupId']=_0x155fa6['commandName']);const _0x310957=_0x4c643f[0x0];_0x155fa6['multipleBlocks']=_0x310957['is']('range'),_0x47b22b=_0x47b22b||createFormatSubType(_0x155fa6);const _0xf395c8=_0x5eb4ae['map'](_0x87aaf9=>createBlockFormatRangeForElement(_0x87aaf9,this['_model'])),_0x4690cc=_0x310957['is']('range')?_0x4c643f:_0x4c643f['map'](_0xc9dbfa=>createBlockFormatRangeForElement(_0xc9dbfa,this['_model']));if(this['_trackingSessionId']&&(_0x5333ba['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0xff900a=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x47b22b,'accept');return this['forceDefaultExecution'](()=>_0xff900a(_0x4690cc,_0x155fa6,_0x5333ba)),null;}_0xf395c8['push'](..._0x4690cc);let _0x2eb675=!0x0;for(const _0x22fb0f of _0xf395c8)if(!this['_rangeIsInLocalUserInsertion'](_0x22fb0f)){_0x2eb675=!0x1;break;}if(_0x2eb675&&'always'!==this['_trackFormatChanges']){const _0x383a0b=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x47b22b,'accept');return this['forceDefaultExecution'](()=>_0x383a0b(_0x4690cc,_0x155fa6,_0x5333ba)),null;}const _0x5cb2ad=this['editor']['plugins']['get']('Users')['me'];for(const _0x2a294d of this['getSuggestions']()){const _0x460e55=_0x2a294d['data'];if(_0x2a294d['author']['id']!=_0x5cb2ad['id'])continue;if('formatBlock'!=_0x2a294d['type']||_0x460e55['formatGroupId']!=_0x155fa6['formatGroupId'])continue;if(!_areSimilarAttributes(_0x2a294d,_0x5333ba))continue;const _0xf669fd=_0x2a294d['subType']==_0x47b22b;for(let _0x46271d=0x0;_0x46271d<_0x4690cc['length'];_0x46271d++){const _0x4b17cf=_0x4690cc[_0x46271d];for(const _0x44cc56 of _0x2a294d['getMarkers']()){const _0x1d572d=_0x44cc56['getRange']();if(_0x4b17cf['isEqual'](_0x1d572d)){_0xf669fd?(_0x4690cc['splice'](_0x46271d,0x1),_0x46271d--):_0x2a294d['removeMarker'](_0x44cc56['name']);break;}}}}if(0x0==_0x4690cc['length'])return null;const _0x2a6498=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x47b22b,'join');for(const _0x27de6c of this['getSuggestions']()){const _0x8a766b=_0x27de6c['data'];if(_0x27de6c['author']['id']==_0x5cb2ad['id']&&('formatBlock'==_0x27de6c['type']&&_0x8a766b['formatGroupId']==_0x155fa6['formatGroupId']&&_0x27de6c['subType']==_0x47b22b&&_areSimilarAttributes(_0x27de6c,_0x5333ba)&&(_0x2a6498(_0x27de6c['getRanges'](),_0x4690cc)||_0x2a6498(_0x4690cc,_0x27de6c['getRanges']())))){for(const _0x5dbe13 of _0x4690cc)_0x27de6c['addRange'](_0x5dbe13);return _0x27de6c;}}const _0xd01a3a=ckeditor5['uid'](),_0x9be341=_0x5cb2ad['id'],_0x353923='formatBlock:'+_0x47b22b,_0x5a99f7=this['_setSuggestionData']({'id':_0xd01a3a,'type':_0x353923,'data':_0x155fa6,'createdAt':new Date(),'authorId':_0x9be341,'attributes':_0x5333ba});for(const _0x110b5f of _0x4690cc)this['_addSuggestionMarker'](_0x353923,_0xd01a3a,_0x9be341,_0x110b5f,Suggestion['getMultiRangeId']());return _0x5a99f7;}['markDeletion'](_0xcd5097,_0xe5c6d6=null,_0x303806={}){if(_0xcd5097['isCollapsed'])return null;const _0x555416=this['editor']['plugins']['get']('Users')['me'],_0x3abf15=new ckeditor5['ModelLiveRange'](_0xcd5097['start'],_0xcd5097['end']);this['_trackingSessionId']&&(_0x303806['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x4f0002,meta:_0x170521}of this['_findSuggestions'](_0x3abf15,'insertion'))if(_0x170521['isOwn']&&!_0x170521['isNextTo']){if(_0x4f0002['isMultiRange']){const _0x4cda89=_0x4f0002['getRanges']()['filter'](_0x447cc6=>'$graveyard'!=_0x447cc6['root']['rootName']);_0x4cda89['every'](_0x2c4d39=>_0x3abf15['containsRange'](_0x2c4d39,!0x0))&&_0x4f0002['discard']();if(_0x4cda89['some'](_0x2a61cc=>_0x2a61cc['containsRange'](_0x3abf15,!0x0))){const _0x5df14a=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0xe5c6d6,'accept');return this['forceDefaultExecution'](()=>_0x5df14a([_0x3abf15],null,_0x303806)),null;}}else{const _0x2a80bb=_0x3abf15['getIntersection'](_0x4f0002['getFirstRange']());null!==_0x2a80bb&&_0x4f0002['_onDiscard']([_0x2a80bb],null,_0x303806);}}if(_0x3abf15['detach'](),_0x3abf15['isCollapsed']||'$graveyard'==_0x3abf15['root']['rootName'])return null;let _0x731cfb=null,_0x337379=_0x3abf15['start'],_0x4301eb=_0x3abf15['end'];const _0x1a170a=this['_findSuggestions'](_0x3abf15,'deletion');for(const {suggestion:_0x52ae6f,meta:_0xa67e83}of _0x1a170a){const _0x5875ea=this['_model']['createRange'](_0x337379,_0x4301eb);if(_0xa67e83['isOwn']&&(this['_mergeNestedSuggestions']||!_0xa67e83['containsRangeInObject']&&!_0xa67e83['isInsideObject'])){if(_0x52ae6f['isMultiRange']){if(!_areSimilarAttributes(_0x52ae6f,_0x303806))continue;let _0x3d2f04=!0x0;for(const _0xfd050 of _0x52ae6f['getRanges']()){if(_0xfd050['containsRange'](_0x5875ea,!0x0))return _0x52ae6f;_0x5875ea['containsRange'](_0xfd050)||(_0x3d2f04=!0x1);}_0x3d2f04&&_0x52ae6f['discard']();}else{const _0x50db5b=_0x52ae6f['getFirstRange']();if(_0x50db5b['containsRange'](_0x5875ea,!0x0))return _0x52ae6f;if(!_areSimilarAttributes(_0x52ae6f,_0x303806)){_0x5875ea['containsRange'](_0x50db5b)?_0x52ae6f['removeMarkers']():_0x50db5b['containsPosition'](_0x337379)?_0x337379=_0x50db5b['end']:_0x50db5b['containsPosition'](_0x4301eb)&&(_0x4301eb=_0x50db5b['start']);continue;}_0x337379=_0x337379['isBefore'](_0x50db5b['start'])?_0x337379:_0x50db5b['start'],_0x4301eb=_0x4301eb['isAfter'](_0x50db5b['end'])?_0x4301eb:_0x50db5b['end'],_0x303806=Object['assign']({},_0x52ae6f['attributes']),_0x731cfb?_0x50db5b['start']['isBefore'](_0x731cfb['getFirstRange']()['start'])?(_0x731cfb['removeMarkers'](),_0x731cfb=_0x52ae6f):_0x52ae6f['removeMarkers']():_0x731cfb=_0x52ae6f;}}}if(_0x731cfb)return this['_setSuggestionRange'](_0x731cfb,this['_model']['createRange'](_0x337379,_0x4301eb)),_0x731cfb;{const _0x402628=ckeditor5['uid'](),_0x468dae=this['_model']['createRange'](_0x337379,_0x4301eb),_0x4d82ee=_0x555416['id'],_0x4d228a=_0xe5c6d6?'deletion:'+_0xe5c6d6:'deletion',_0x24f2b2=this['_setSuggestionData']({'id':_0x402628,'type':_0x4d228a,'createdAt':new Date(),'authorId':_0x4d82ee,'attributes':_0x303806});return this['_addSuggestionMarker'](_0x4d228a,_0x402628,_0x4d82ee,_0x468dae),_0x24f2b2;}}['markMultiRangeDeletion'](_0x35bf73,_0x427875='multi',_0x12da4e={}){const _0x3a7a6c=this['editor']['plugins']['get']('Users')['me'],_0x5181da=_0x35bf73['map'](_0x42d4f3=>new ckeditor5['ModelLiveRange'](_0x42d4f3['start'],_0x42d4f3['end'])),_0xee3cfb=new Set();this['_trackingSessionId']&&(_0x12da4e['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x496363,meta:_0x277b05}of this['_findSuggestions'](_0x5181da,'insertion'))_0x277b05['isOwn']&&!_0x277b05['isNextTo']&&_0xee3cfb['add'](_0x496363);for(const _0x5ddb56 of _0xee3cfb)if(_0x5ddb56['isMultiRange']){const _0x596248=_0x5ddb56['getRanges']();(!_0x5ddb56['attributes']||!_0x5ddb56['attributes']['skipNestingCheck'])&&(_0x596248['every'](_0x7bd5d1=>_0x5181da['some'](_0x1ca050=>_0x1ca050['containsRange'](_0x7bd5d1,!0x0)))&&_0x5ddb56['discard']());if(_0x5181da['every'](_0x145868=>_0x596248['some'](_0x4c987a=>_0x4c987a['containsRange'](_0x145868,!0x0)))){const _0x51135e=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x427875,'accept');return this['forceDefaultExecution'](()=>_0x51135e(_0x35bf73,null,_0x12da4e)),null;}}else{const _0x477164=_0x5ddb56['getFirstRange']();_0x5181da['some'](_0x1ddfe0=>_0x1ddfe0['containsRange'](_0x477164,!0x0))&&_0x5ddb56['discard']();if(_0x5181da['every'](_0xd50478=>_0x477164['containsRange'](_0xd50478,!0x0))){const _0x2855f3=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x427875,'accept');return this['forceDefaultExecution'](()=>_0x2855f3(_0x5181da,null,_0x12da4e)),null;}}const _0x5cf73c=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x427875,'join');let _0x233b1=null;for(const _0x58f954 of this['getSuggestions']())if(_0x58f954['author']['id']==_0x3a7a6c['id']&&_0x58f954['isInContent']&&'deletion'==_0x58f954['type']&&_0x58f954['subType']==_0x427875&&_areSimilarAttributes(_0x58f954,_0x12da4e)&&(_0x5cf73c(_0x58f954['getRanges'](),_0x5181da)||_0x5cf73c(_0x5181da,_0x58f954['getRanges']()))){if(_0x233b1){if(_0x58f954['commentThread']&&_0x58f954['commentThread']['length'])continue;for(const _0x15d9a1 of _0x58f954['getRanges']())_0x233b1['isIntersectingWithRange'](_0x15d9a1)||_0x233b1['addRange'](_0x15d9a1);_0x58f954['removeMarkers']();}else{_0x233b1=_0x58f954;for(const _0x386898 of _0x5181da)_0x58f954['isIntersectingWithRange'](_0x386898)||_0x58f954['addRange'](_0x386898);}}if(_0x233b1)return _0x233b1;_0xee3cfb['clear']();for(const {suggestion:_0x59a639,meta:_0x4fd7c9}of this['_findSuggestions'](_0x5181da,'deletion'))_0x4fd7c9['isOwn']&&(this['_mergeNestedSuggestions']||!_0x4fd7c9['containsRangeInObject']&&!_0x4fd7c9['isInsideObject'])&&_areSimilarAttributes(_0x59a639,_0x12da4e)&&_0xee3cfb['add'](_0x59a639);for(const _0x3c5793 of _0xee3cfb){const _0x9d9582=_0x3c5793['getRanges']();if(!_0x12da4e||!_0x12da4e['skipNestingCheck']){if(_0x5181da['every'](_0x1dcb59=>_0x9d9582['some'](_0x307d1e=>_0x307d1e['containsRange'](_0x1dcb59,!0x0))))return _0x3c5793;}(!_0x3c5793['attributes']||!_0x3c5793['attributes']['skipNestingCheck'])&&(_0x9d9582['every'](_0x2af0f3=>_0x5181da['some'](_0x2c2ce4=>_0x2c2ce4['containsRange'](_0x2af0f3,!0x0)))&&_0x3c5793['discard']());}const _0x1a5ad7=ckeditor5['uid'](),_0x4dee75=_0x3a7a6c['id'],_0x11dbd0='deletion:'+_0x427875,_0x2fefcf=this['_setSuggestionData']({'id':_0x1a5ad7,'type':_0x11dbd0,'createdAt':new Date(),'authorId':_0x4dee75,'attributes':_0x12da4e});for(const _0x12809e of _0x5181da)_0x12809e['detach'](),_0x12809e['isCollapsed']||'$graveyard'==_0x12809e['root']['rootName']||this['_addSuggestionMarker'](_0x11dbd0,_0x1a5ad7,_0x4dee75,_0x12809e,Suggestion['getMultiRangeId']());return _0x2fefcf;}['markAttributeChange'](_0x329f1c,_0x2af0a3,_0x3031a1,_0x80b0b5,_0x58c2ef){if(_0x329f1c['isCollapsed'])return[];if('never'===this['_trackFormatChanges'])return[];const _0x519704=this['editor']['plugins']['get']('Users')['me']['id'],_0x10be77=Array['from'](this['_suggestions']['values']())['filter'](_0x2e04e3=>'attribute'==_0x2e04e3['type']&&_0x2e04e3['data']['key']==_0x2af0a3&&_0x2e04e3['isIntersectingWithRange'](_0x329f1c));if(this['_trackingSessionId']&&(_0x58c2ef['trackingSessionId']=this['_trackingSessionId']),'default'===this['_trackFormatChanges']){const _0x519a5a=this['_findSuggestions'](_0x329f1c,'insertion')['filter'](({meta:_0x4e4ab1})=>_0x4e4ab1['isOwn']&&!_0x4e4ab1['isInsideObject']&&!_0x4e4ab1['isNextTo'])['map'](({suggestion:_0xbbdc41})=>_0xbbdc41);_0x10be77['unshift'](..._0x519a5a);}const _0x1b9ba3=new Map([[_0x329f1c,_0x3031a1]]);for(const _0x33bb8c of _0x10be77){const _0x22f79a='attribute'==_0x33bb8c['type']?_0x33bb8c['data']['oldValue']:void 0x0,_0x2bc0bb=_0x33bb8c['getFirstRange'](),_0x433faa=Array['from'](_0x1b9ba3['keys']())['find'](_0x464bdd=>_0x464bdd['isIntersecting'](_0x2bc0bb));if(!_0x433faa)continue;const _0x38d1fa=_0x433faa['getDifference'](_0x2bc0bb);this['_isBlockAttribute'](_0x2af0a3)&&'insertion'==_0x33bb8c['type']&&0x0!=_0x38d1fa['length']||(_0x1b9ba3['delete'](_0x433faa),_0x38d1fa['forEach'](_0x489629=>{_0x1b9ba3['set'](_0x489629,_0x3031a1);}),'insertion'!=_0x33bb8c['type']&&_0x22f79a!=_0x80b0b5&&_0x1b9ba3['set'](_0x433faa['getIntersection'](_0x2bc0bb),_0x22f79a));}const _0x2cc11f=[];for(const [_0x4ede91,_0x47a627]of _0x1b9ba3){const _0x1705c2=ckeditor5['uid'](),_0xc18b50={'key':_0x2af0a3,'oldValue':_0x47a627,'newValue':_0x80b0b5};_0x2af0a3['length']>0x25&&console['warn']('Creating\x20a\x20suggestion\x20for\x20attribute\x20with\x20too\x20long\x20attribute\x20key.\x20This\x20may\x20lead\x20to\x20errors.\x20Change\x20the\x20attribute\x20key\x20to\x20a\x20value\x20shorter\x20than\x2037\x20characters.',{'key':_0x2af0a3});const _0x5b5638=('attribute:'+(_0x2af0a3+'|'+createFormatSubType({'newValue':_0x80b0b5})))['substring'](0x0,0x3c),_0x14fa6c=this['_setSuggestionData']({'id':_0x1705c2,'type':_0x5b5638,'data':_0xc18b50,'createdAt':new Date(),'authorId':_0x519704,'attributes':_0x58c2ef});_0x2cc11f['push'](_0x14fa6c),this['_addSuggestionMarker'](_0x5b5638,_0x1705c2,_0x519704,_0x4ede91);}return _0x2cc11f;}['enableDefaultAttributesIntegration'](_0xeb4e28){this['enableCommand'](_0xeb4e28,(_0x59fa69,..._0x5d8641)=>{this['recordAttributeChanges'](()=>{_0x59fa69(..._0x5d8641);});});}['registerBlockAttribute'](_0x4c17e2){this['editor']['plugins']['get'](SuggestionsConversion)['registerBlockAttribute'](_0x4c17e2);}['registerInlineAttribute'](_0x1ab009){this['editor']['plugins']['get'](SuggestionsConversion)['registerInlineAttribute'](_0x1ab009);}['startTrackingSession'](_0x46dc7c){return this['_trackingSessionId']=void 0x0!==_0x46dc7c?_0x46dc7c:ckeditor5['uid'](),this['_trackingSessionId'];}['_getAttributeKey'](_0x44e09c){return'attribute'==_0x44e09c['type']?_getAttributeKeyFromSubType(_0x44e09c['subType']):null;}['_applyOperationsAsSuggestions'](_0x3058c){if(0x0==_0x3058c['length'])return;const _0x22a176=this['editor'],_0x391ade=_0x22a176['plugins']['get'](DocumentCompare),_0xa3f77c=[];_0x22a176['model']['change'](_0x4cfbce=>{for(let _0x41ec96=0x0;_0x41ec96<_0x3058c['length'];_0x41ec96++){const _0x21e4c8=_0x3058c[_0x41ec96];if(_0x21e4c8['baseVersion']=_0x22a176['model']['document']['version'],_0x21e4c8['isDocumentOperation']=!0x0,_0x391ade['isMarkedRemoveOperation'](_0x21e4c8)){const _0x338adb=fixElementSuggestionRange(_0x21e4c8['newRange'],_0x22a176['model']);_0xa3f77c['unshift'](ckeditor5['ModelLiveRange']['fromRange'](_0x338adb));}else switch(_0x21e4c8['type']){case'rename':{const _0x4ddf0a=_0x21e4c8['oldName'],_0x5e9363=_0x21e4c8['newName'];if(_0x4ddf0a==_0x5e9363)break;_0x4cfbce['batch']['addOperation'](_0x21e4c8),_0x22a176['model']['applyOperation'](_0x21e4c8);const _0x3ed178='$elementName',_0x123750=_0x21e4c8['position'],_0x109cf4=_0x22a176['model']['createRange'](_0x123750,_0x22a176['model']['createPositionAt'](_0x123750['nodeAfter'],'end'));this['markAttributeChange'](_0x109cf4,_0x3ed178,_0x4ddf0a,_0x5e9363,{'groupId':ckeditor5['uid']()});break;}case'addAttribute':case'removeAttribute':case'changeAttribute':{const _0x404e40=_0x21e4c8['oldValue'],_0x23b155=_0x21e4c8['newValue'];if(_0x404e40==_0x23b155)break;_0x4cfbce['batch']['addOperation'](_0x21e4c8),_0x22a176['model']['applyOperation'](_0x21e4c8);const _0x5f0c12=_0x21e4c8['key'];if(!this['_isRegisteredAttribute'](_0x5f0c12))break;const _0x2999f6=fixElementSuggestionRange(_0x21e4c8['range'],_0x22a176['model']);this['markAttributeChange'](_0x2999f6,_0x5f0c12,_0x404e40,_0x23b155,{'groupId':ckeditor5['uid']()});break;}case'insert':{_0x4cfbce['batch']['addOperation'](_0x21e4c8),_0x22a176['model']['applyOperation'](_0x21e4c8);if(_0x3058c[_0x41ec96+0x1]&&'move'==_0x3058c[_0x41ec96+0x1]['type'])break;const _0x4763ee=_0x21e4c8['position'],_0xe7a25b=_0x21e4c8['howMany'],_0x3e8ba1=fixElementSuggestionRange(_0x22a176['model']['createRange'](_0x4763ee,_0x4763ee['getShiftedBy'](_0xe7a25b)),_0x22a176['model']);this['markInsertion'](_0x3e8ba1);break;}case'split':{_0x4cfbce['batch']['addOperation'](_0x21e4c8),_0x22a176['model']['applyOperation'](_0x21e4c8);const _0x25fb79=_0x21e4c8['splitPosition'],_0x4ef285=_0x21e4c8['moveTargetPosition'];this['markInsertion'](_0x22a176['model']['createRange'](_0x25fb79,_0x4ef285));break;}case'move':case'remove':_0x4cfbce['batch']['addOperation'](_0x21e4c8),_0x22a176['model']['applyOperation'](_0x21e4c8);}}for(const _0x2ca46d of _0xa3f77c)_0x2ca46d['detach'](),this['markDeletion'](_0x2ca46d);});}['_setSuggestionRange'](_0xe281dd,_0x5574b3){const _0x1b0558=_0xe281dd['getFirstMarker']();this['_model']['change'](_0x455e5e=>{_0x455e5e['updateMarker'](_0x1b0558,{'range':_0x5574b3});});}['_addThreadToSuggestion'](_0x349cb4){const _0x3db130=_0x349cb4['id'],_0x49b4b6=this['editor']['config']['get']('collaboration.channelId');this['_commentsRepository']['hasCommentThread'](_0x3db130)||this['_commentsRepository']['addCommentThread']({'channelId':_0x49b4b6,'threadId':_0x3db130,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x1e1610=this['_commentsRepository']['getCommentThread'](_0x3db130);_0x1e1610['unbind']('isRemovable'),_0x1e1610['isRemovable']=!0x1,_0x349cb4['commentThread']=_0x1e1610;}['_checkSuggestionCorrectness'](_0x13a8ab,_0x44262c,_0x24e328,_0x2c7af8){if(_0x13a8ab['type']!=_0x44262c||_0x13a8ab['subType']!=_0x24e328||_0x13a8ab['creator']['id']!=_0x2c7af8)throw this['editor']['enableReadOnlyMode']('track-changes-suggestion-data-mismatch'),new ckeditor5['CKEditorError']('track-changes-suggestion-data-mismatch',this);}['_cutOutSuggestionMarker'](_0x5d3575,_0x348e61){const _0x3d9f6c=_0x5d3575['getFirstRange']();if(_0x348e61['isEqual'](_0x3d9f6c))_0x5d3575['removeMarkers']();else{if(_0x3d9f6c['containsRange'](_0x348e61)){const _0x14931b=this['_model']['createPositionAt'](_0x348e61['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x5d3575,this['_model']['createRange'](_0x3d9f6c['start'],_0x14931b));const _0x5765f7=ckeditor5['uid'](),_0x32001c=_0x5d3575['creator']['id'],_0x4a1149=_0x5d3575['type']+':'+_0x5d3575['subType'];this['_setSuggestionData']({'id':_0x5765f7,'type':_0x4a1149,'createdAt':new Date(),'authorId':_0x32001c,'data':_0x5d3575['data'],'attributes':_0x5d3575['attributes']});const _0x514b0e=this['_model']['createPositionAt'](_0x348e61['end']['parent'],'after'),_0xd2540e=this['_model']['createRange'](_0x514b0e,_0x3d9f6c['end']);this['_addSuggestionMarker'](_0x4a1149,_0x5765f7,_0x32001c,_0xd2540e);}else{if(_0x3d9f6c['containsPosition'](_0x348e61['start'])){const _0x5834f2=this['_model']['createPositionAt'](_0x348e61['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x5d3575,this['_model']['createRange'](_0x3d9f6c['start'],_0x5834f2));}else{const _0x2d199d=this['_model']['createPositionAt'](_0x348e61['end']['parent'],'after');this['_setSuggestionRange'](_0x5d3575,this['_model']['createRange'](_0x2d199d,_0x3d9f6c['end']));}}}}['_rangeIsInLocalUserInsertion'](_0x182a1b){for(const {suggestion:_0x401da6,meta:_0xe190fa}of this['_findSuggestions'](_0x182a1b,'insertion')){if(!_0xe190fa['isOwn'])continue;const _0x229416=_0x401da6['getRanges']();for(const _0x4da699 of _0x229416)if(!_0x182a1b['getDifference'](_0x4da699)['length'])return!0x0;}return!0x1;}['_getAuthorFromId'](_0x86e22e){return this['editor']['plugins']['get']('Users')['getUser'](_0x86e22e);}['_getExternalAuthor'](_0x33ba3){const _0x455954=this['editor']['plugins']['get']('Users'),_0x12ee48=hashObject('external:'+_0x33ba3),_0x175985=_0x455954['getUser'](_0x12ee48);return _0x175985||_0x455954['addUser']({'id':_0x12ee48,'name':_0x33ba3});}['_createSuggestion'](_0x1aa299,_0x237b4c,_0x129eef,_0x4029e4,_0x17058a,_0x1359ba){const _0x5745fa=this['_getAuthorFromId'](_0x4029e4);if(!_0x5745fa)throw new ckeditor5['CKEditorError']('track-changes-user-not-found',this,{'authorId':_0x4029e4,'suggestionId':_0x129eef});const _0xce717d=this['_suggestionFactory']['buildSuggestion'](_0x1aa299,_0x237b4c,_0x129eef,_0x5745fa,_0x17058a,_0x5ef41a=>{this['_updateSuggestionData'](_0x129eef,{'attributes':_0x5ef41a});const _0xb09975=this['getSuggestion'](_0x129eef);this['_joinWithAdjacentSuggestions'](new Set([_0xb09975])),this['_refreshSuggestionsChain'](new Set([_0xb09975]));},_0x1359ba);return this['listenTo'](_0xce717d,'accept',()=>{this['_updateSuggestionData'](_0x129eef,{'state':'accepted'});},{'priority':'high'}),this['listenTo'](_0xce717d,'discard',()=>{this['_updateSuggestionData'](_0x129eef,{'state':'rejected'});},{'priority':'high'}),this['_suggestions']['set'](_0x129eef,_0xce717d),this['_suggestionState']['set'](_0xce717d,'notReady'),_0xce717d;}['_splitMarkerName'](_0x413eb5){return splitSuggestionMarkerName(_0x413eb5);}['_breakSuggestionMarker'](_0x1941e0,_0x899587,_0x8662e){const _0x25f591=_0x1941e0['getFirstRange'](),_0x510fb9=_0x25f591['start'],_0x408501=_0x25f591['end'];this['_setSuggestionRange'](_0x1941e0,this['_model']['createRange'](_0x510fb9,_0x899587));const _0x25ea9e=ckeditor5['uid'](),_0x2491c8=_0x1941e0['creator']['id'],_0x34b36d=_0x1941e0['type']+(_0x1941e0['subType']?':'+_0x1941e0['subType']:'');this['_setSuggestionData']({'id':_0x25ea9e,'type':_0x34b36d,'createdAt':new Date(),'authorId':_0x2491c8,'originalSuggestionId':_0x1941e0['_originalSuggestionId']||_0x1941e0['id'],'attributes':_0x1941e0['attributes'],'data':_0x1941e0['data']});const _0x5caea8=this['_getAttributeKey'](_0x1941e0);('formatBlock'==_0x1941e0['type']||_0x5caea8&&this['_isBlockAttribute'](_0x5caea8))&&(_0x8662e=this['_model']['createPositionBefore'](_0x8662e['parent'])),this['_addSuggestionMarker'](_0x34b36d,_0x25ea9e,_0x2491c8,this['_model']['createRange'](_0x8662e,_0x408501));}['_findSuggestions'](_0x4e1c20,_0x532dfa=null){const _0x4d0ea0=[],_0x1b2d46=this['editor']['plugins']['get']('Users')['me'];Array['isArray'](_0x4e1c20)||(_0x4e1c20=[_0x4e1c20]);for(const _0x751de of this['getSuggestions']()){if(!_0x751de['isInContent'])continue;if(_0x532dfa&&_0x751de['type']!=_0x532dfa)continue;let _0x37245a=!0x1;for(const _0x57f13d of _0x751de['getRanges']()){for(const _0x5484cc of _0x4e1c20){const _0x669ef6=_0x5484cc['start']['isEqual'](_0x57f13d['end'])||_0x5484cc['end']['isEqual'](_0x57f13d['start']);if(_0x669ef6||_0x5484cc['getIntersection'](_0x57f13d)){const _0x1aa31d=_0x5484cc['containsRange'](_0x57f13d)&&_isInObject(this['_model']['schema'],_0x57f13d['start'],_0x5484cc),_0x58f141=_0x57f13d['containsRange'](_0x5484cc)&&_isInObject(this['_model']['schema'],_0x5484cc['start'],_0x57f13d);_0x4d0ea0['push']({'suggestion':_0x751de,'meta':{'isOwn':_0x1b2d46==_0x751de['author'],'isNextTo':_0x669ef6,'isInsideObject':_0x1aa31d,'containsRangeInObject':_0x58f141}}),_0x37245a=!0x0;break;}}if(_0x37245a)break;}}return _0x4d0ea0;}['_addSuggestionMarker'](_0x5f1f43,_0x2aed3d,_0xe05c95,_0x347050,_0x5549b7){this['_model']['change'](_0x12dd9e=>{let _0x16557b='suggestion:'+_0x5f1f43+':'+_0x2aed3d+':'+_0xe05c95;_0x5549b7&&(_0x16557b=_0x16557b+':'+_0x5549b7),_0x12dd9e['addMarker'](_0x16557b,{'range':_0x347050,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0x8dc3ba){const _0x38e531=_0x8dc3ba['previous'],_0x1ffdaa=_0x8dc3ba['next'];_0x8dc3ba['previous']=null,_0x8dc3ba['next']=null,null!=_0x38e531&&_0x38e531['next']==_0x8dc3ba&&(_0x38e531['next']=_0x1ffdaa),null!=_0x1ffdaa&&_0x1ffdaa['previous']==_0x8dc3ba&&(_0x1ffdaa['previous']=_0x38e531),'ready'==this['_suggestionState']['get'](_0x8dc3ba)&&(this['_suggestionState']['set'](_0x8dc3ba,'removed'),this['fire']('suggestionUnloaded',_0x8dc3ba,_0x38e531,_0x1ffdaa));}['_setSuggestionData'](_0x3f0f2e){const _0xe8bf9c=_0x3f0f2e['id'],_0x514c46=this['addSuggestionData'](_0x3f0f2e);if(this['_adapter']&&this['_adapter']['addSuggestion']){const _0x32b95f=this['editor']['plugins']['get']('PendingActions'),_0x998b0c=_0x514c46['hasComments'],_0xad5711=_0x514c46['subType']?_0x514c46['type']+':'+_0x514c46['subType']:_0x514c46['type'],_0x54b101=this['editor']['locale'],_0x1d5c6c=_0x32b95f['add'](getTranslation$1(_0x54b101,'PENDING_ACTION_SUGGESTION')),_0x14e209={'id':_0xe8bf9c,'type':_0xad5711,'hasComments':_0x998b0c,'data':_0x3f0f2e['data']||null,'originalSuggestionId':_0x3f0f2e['originalSuggestionId']||null,'attributes':_0x514c46['attributes']};this['_adapter']['addSuggestion'](_0x14e209)['then'](_0x4698ff=>{_0x514c46['_saved']=!0x0,_0x32b95f['remove'](_0x1d5c6c),_0x4698ff&&_0x4698ff['createdAt']&&(this['_suggestions']['get'](_0xe8bf9c)['createdAt']=_0x4698ff['createdAt']);})['catch'](_0x8ecc9c=>{throw ckeditor5['logWarning']('error-saving-suggestion-data-suggestion-discarded'),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x514c46['discard']();}),_0x514c46['stopListening'](),this['_suggestions']['delete'](_0x514c46['id']),this['_suggestionState']['delete'](_0x514c46),_0x8ecc9c;});}return _0x514c46;}['_isBlockAttribute'](_0x31ea90){return this['editor']['plugins']['get'](SuggestionsConversion)['isBlockAttribute'](_0x31ea90);}['_isInlineAttribute'](_0x4acc6c){return this['editor']['plugins']['get'](SuggestionsConversion)['isInlineAttribute'](_0x4acc6c);}['_updateSuggestionData'](_0x1b132f,_0x2c5fc1){const _0x2e9cd0=this['editor']['plugins']['get']('PendingActions'),_0x5455ea=this['getSuggestion'](_0x1b132f);if(this['_adapter']&&this['_adapter']['updateSuggestion']){if(_0x5455ea['_saved']){const _0x28dfa6=_0x2e9cd0['add'](getTranslation$1(this['editor']['locale'],'PENDING_ACTION_SUGGESTION'));this['_adapter']['updateSuggestion'](_0x1b132f,_0x2c5fc1)['then'](()=>{_0x2e9cd0['remove'](_0x28dfa6);});}else _0x5455ea['on']('change:_saved',()=>{this['_updateSuggestionData'](_0x1b132f,_0x2c5fc1);});}}['_getSuggestionData'](_0x355b17){if(!this['_adapter']||!this['_adapter']['getSuggestion'])throw new ckeditor5['CKEditorError']('track-changes-adapter-missing-getsuggestion',this);return this['_adapter']['getSuggestion'](_0x355b17);}['_handleNewSuggestionMarker'](_0x39cacd){const {id:_0x532ede,type:_0x4552fe,subType:_0x243d3b,authorId:_0x1dd55a}=this['_splitMarkerName'](_0x39cacd),_0x2703f2=this['_suggestions']['get'](_0x532ede)||this['_createSuggestion'](_0x4552fe,_0x243d3b,_0x532ede,_0x1dd55a,{});switch(this['_checkSuggestionCorrectness'](_0x2703f2,_0x4552fe,_0x243d3b,_0x1dd55a),this['_suggestionState']['get'](_0x2703f2)){case'notReady':this['_getSuggestionData'](_0x532ede)['then'](_0x342579=>{let _0xf69946=Promise['resolve']();_0x342579['hasComments']&&(_0xf69946=this['_commentsRepository']['fetchCommentThread']({'channelId':this['editor']['config']['get']('collaboration.channelId'),'threadId':_0x532ede})),_0xf69946['then'](()=>{this['addSuggestionData'](_0x342579)['_saved']=!0x0;});}),this['_suggestionState']['set'](_0x2703f2,'markerReady');break;case'removed':this['_updateSuggestionData'](_0x532ede,{'state':'open'});case'dataReady':this['_suggestionState']['set'](_0x2703f2,'ready'),this['fire']('suggestionLoaded',_0x2703f2);break;case'ready':this['fire']('suggestionChanged',_0x2703f2);}return _0x2703f2['addMarkerName'](_0x39cacd),_0x2703f2;}['_refreshSuggestionsChain'](_0x5cd17a){const _0x446a7b=Array['from'](_0x5cd17a),_0x459636=_0x446a7b['filter'](_0x5554bd=>'attribute'==_0x5554bd['type']);this['_refreshAttributeSuggestionsChain'](_0x459636);const _0x2a95b5=_0x446a7b['filter'](_0x3fb3c2=>!_0x3fb3c2['isMultiRange']&&'attribute'!=_0x3fb3c2['type']),_0x5b941e=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x243dcc=>!_0x243dcc['isMultiRange']&&'attribute'!=_0x243dcc['type']),_0x1578a4=_0x5b941e['filter'](_0x3ea40e=>!_0x5cd17a['has'](_0x3ea40e)),_0x37cab9=new Map(_0x5b941e['map'](_0x3744f4=>[_0x3744f4,this['_suggestionFactory']['getSuggestionCallback'](_0x3744f4['type'],_0x3744f4['subType'],'chain')])),_0x3aa8d4=new Map(_0x5b941e['map'](_0x14de38=>[_0x14de38,_0x14de38['getFirstRange']()])),_0x4d0d7c=new Set(),_0x5a04bc=new Set();for(let _0x1d8c73=0x0;_0x1d8c73<_0x2a95b5['length'];_0x1d8c73++)_0x430a4c(_0x2a95b5[_0x1d8c73],_0x2a95b5,_0x1d8c73+0x1);for(let _0x17fd8d=0x0;_0x17fd8d<_0x2a95b5['length'];_0x17fd8d++)_0x430a4c(_0x2a95b5[_0x17fd8d],_0x1578a4,0x0);const _0x1d0a5d=new Set();for(let _0x19e2b3=0x0;_0x19e2b3<_0x2a95b5['length'];_0x19e2b3++){const _0x4f3c52=_0x2a95b5[_0x19e2b3];!_0x5a04bc['has'](_0x4f3c52)&&_0x4f3c52['previous']&&(_0x1d0a5d['add'](_0x4f3c52['previous']),_0x4f3c52['previous']['next']===_0x4f3c52&&(_0x4f3c52['previous']['next']=null),_0x4f3c52['previous']=null),!_0x4d0d7c['has'](_0x4f3c52)&&_0x4f3c52['next']&&(_0x1d0a5d['add'](_0x4f3c52['next']),_0x4f3c52['next']['previous']===_0x4f3c52&&(_0x4f3c52['next']['previous']=null),_0x4f3c52['next']=null);}function _0x430a4c(_0xa5f028,_0x3a7a58,_0x4f0e73){for(let _0x265e38=_0x4f0e73;_0x265e38<_0x3a7a58['length'];_0x265e38++){const _0x161e5e=_0x58cb62(_0xa5f028,_0x3a7a58[_0x265e38]);_0x161e5e&&(_0x161e5e[0x0]['next']=_0x161e5e[0x1],_0x161e5e[0x1]['previous']=_0x161e5e[0x0],_0x4d0d7c['add'](_0x161e5e[0x0]),_0x5a04bc['add'](_0x161e5e[0x1]));}}function _0x58cb62(_0x371b43,_0x4b5b0d){if(_0x371b43['author']['id']!==_0x4b5b0d['author']['id'])return null;const _0x17e81b=_0x37cab9['get'](_0x371b43)(_0x371b43,_0x4b5b0d,_0x3aa8d4['get'](_0x371b43),_0x3aa8d4['get'](_0x4b5b0d));if(!_0x17e81b)return null;return _0x37cab9['get'](_0x4b5b0d)(_0x371b43,_0x4b5b0d,_0x3aa8d4['get'](_0x371b43),_0x3aa8d4['get'](_0x4b5b0d))?_0x17e81b[0x1]['commentThread']&&_0x17e81b[0x1]['commentThread']['length']?null:_0x17e81b:null;}_0x1d0a5d['size']&&this['_refreshSuggestionsChain'](_0x1d0a5d);}['_refreshAttributeSuggestionsChain'](_0x1f6b45){if(0x0==_0x1f6b45['length'])return;const _0x4f6db5=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x34c15e=>'attribute'==_0x34c15e['type']&&_0x34c15e['_isDataLoaded']),_0x5a83e3=[],_0x18854d=new Map();for(const _0x10f33e of _0x4f6db5){const _0x1e28d9=hashObject(_0x10f33e['attributes']);_0x18854d['has'](_0x1e28d9)||(_0x18854d['set'](_0x1e28d9,_0x5a83e3['length']),_0x5a83e3['push']([]));const _0x2a5d69=_0x18854d['get'](_0x1e28d9);_0x5a83e3[_0x2a5d69]['push'](_0x10f33e);}!(function(){_0x5a83e3['sort']((_0x515d77,_0x15b9a5)=>{const _0xf4e276=_0x515d77[0x0]['createdAt'],_0x2c8898=_0x15b9a5[0x0]['createdAt'];return _0xf4e276==_0x2c8898?_0x515d77[0x0]['attributes']['groupId']<_0x15b9a5[0x0]['attributes']['groupId']?-0x1:0x1:_0xf4e276<_0x2c8898?-0x1:0x1;});for(const _0x108637 of _0x5a83e3)_0x108637['sort']((_0x422590,_0x5a583f)=>_0x422590['id']<_0x5a583f['id']?-0x1:0x1);}());for(let _0x49ae22=0x0;_0x49ae22<_0x5a83e3['length'];_0x49ae22++){if(0x0==_0x5a83e3[_0x49ae22]['length'])continue;const _0x47d632=[];for(let _0x2bd3ea=_0x49ae22+0x1;_0x2bd3ea<_0x5a83e3['length'];_0x2bd3ea++)0x0!=_0x5a83e3[_0x2bd3ea]['length']&&_0x1e8258(_0x5a83e3[_0x49ae22],_0x5a83e3[_0x2bd3ea])&&_0x47d632['push'](_0x2bd3ea);for(const _0x49ec95 of _0x47d632)_0x5a83e3[_0x49ae22]=_0x5a83e3[_0x49ae22]['concat'](_0x5a83e3[_0x49ec95]),_0x5a83e3[_0x49ec95]=[];}for(const _0x53e887 of _0x5a83e3)for(let _0x1e0dc6=0x0;_0x1e0dc6<_0x53e887['length'];_0x1e0dc6++){const _0x17597d=_0x53e887[_0x1e0dc6+0x1]||null;_0x53e887[_0x1e0dc6]['next']!==_0x17597d&&(_0x53e887[_0x1e0dc6]['next']=_0x17597d);}for(const _0x597c3f of _0x5a83e3)for(let _0x581df1=0x0;_0x581df1<_0x597c3f['length'];_0x581df1++){const _0x22f9fb=_0x597c3f[_0x581df1-0x1]||null;_0x597c3f[_0x581df1]['previous']!==_0x22f9fb&&(_0x597c3f[_0x581df1]['previous']=_0x22f9fb);}function _0x1e8258(_0x301843,_0x1a5876){if(_0x301843[0x0]['attributes']['groupId']!==_0x1a5876[0x0]['attributes']['groupId']&&_0x301843[0x0]['author']!==_0x1a5876[0x0]['author'])return!0x1;if(!function(_0x229ea9,_0x41a5bb){if(!_0x229ea9['hasComments']&&!_0x41a5bb['hasComments'])return!0x0;if(_0x229ea9['hasComments']&&_0x41a5bb['hasComments'])return!0x1;if(_0x229ea9['hasComments']&&_0x41a5bb['createdAt']<_0x229ea9['commentThread']['comments']['get'](0x0)['createdAt'])return!0x0;if(_0x41a5bb['hasComments']&&_0x229ea9['createdAt']<_0x41a5bb['commentThread']['comments']['get'](0x0)['createdAt'])return!0x0;return!0x1;}(_0x301843[0x0],_0x1a5876[0x0]))return!0x1;if(!_0x295436(omit(_0x301843[0x0]['attributes'],['groupId','trackingSessionId']),omit(_0x1a5876[0x0]['attributes'],['groupId','trackingSessionId'])))return!0x1;if(_0x301843[0x0]['attributes']['groupId']==_0x1a5876[0x0]['attributes']['groupId'])return!0x0;if(_0x301843[0x0]['attributes']['trackingSessionId']!==_0x1a5876[0x0]['attributes']['trackingSessionId'])return!0x1;return!!_0x301843['every'](_0x5300cd=>_0x1a5876['some'](_0x601178=>_0x5300cd['getFirstRange']()['isEqual'](_0x601178['getFirstRange']())))&&_0x1a5876['every'](_0x18ec6a=>_0x301843['some'](_0x43f867=>_0x18ec6a['getFirstRange']()['isEqual'](_0x43f867['getFirstRange']())));}}['_joinWithAdjacentSuggestions'](_0xc8f5fa){const _0x4110aa=Array['from'](_0xc8f5fa),_0x504066=this['getSuggestions']({'skipNotAttached':!0x0}),_0x26bc54=_0x504066['filter'](_0x367dbb=>!_0xc8f5fa['has'](_0x367dbb)),_0x3a97df=new Map(_0x4110aa['map'](_0x5187c4=>[_0x5187c4,this['_suggestionFactory']['getSuggestionCallback'](_0x5187c4['type'],_0x5187c4['subType'],'join')])),_0x4bd606=new Map(_0x504066['map'](_0x5afc3b=>[_0x5afc3b,_0x5afc3b['getRanges']()]));for(let _0x588c77=0x0;_0x588c77<_0x4110aa['length'];_0x588c77++){if(_0x3df0bb(this,_0x4110aa[_0x588c77],_0x4110aa,_0x588c77+0x1))return!0x0;}for(let _0x28103d=0x0;_0x28103d<_0x4110aa['length'];_0x28103d++){if(_0x3df0bb(this,_0x4110aa[_0x28103d],_0x26bc54,0x0))return!0x0;}return!0x1;function _0x3df0bb(_0x549091,_0x2fce71,_0x2bbff6,_0x7e8c27){for(let _0x4e9335=_0x7e8c27;_0x4e9335<_0x2bbff6['length'];_0x4e9335++){const _0x13c3c4=_0x2bbff6[_0x4e9335];if(_0x13c3c4['type']!==_0x2fce71['type']||_0x13c3c4['author']['id']!==_0x2fce71['author']['id']||_0x13c3c4['subType']!==_0x2fce71['subType'])continue;if(!_haveSameAttributes(_0x2fce71,_0x13c3c4))continue;if('attribute'==_0x2fce71['type']&&_0x2fce71['data']['oldValue']!=_0x13c3c4['data']['oldValue'])continue;if('attribute'==_0x2fce71['type']&&_0x549091['_isBlockAttribute'](_0x2fce71['data']['key']))continue;if('formatBlock'==_0x2fce71['type']){const _0x218e63=_0x549091['editor']['model'],_0x4a4588=_0x2fce71['getContainedElement']();if(_0x4a4588&&(_0x218e63['schema']['isObject'](_0x4a4588)||_0x218e63['schema']['isLimit'](_0x4a4588)))continue;}const _0x3274dc=_0x3a97df['get'](_0x2fce71),_0x20e925=_0x4bd606['get'](_0x2fce71),_0x10caed=_0x4bd606['get'](_0x13c3c4),_0x10a5ce=_0x2fce71['commentThread']&&_0x2fce71['commentThread']['length'],_0x651004=_0x13c3c4['commentThread']&&_0x13c3c4['commentThread']['length'];if(!_0x10a5ce&&_0x3274dc(_0x10caed,_0x20e925))return _0x549091['_joinSuggestions'](_0x13c3c4,_0x2fce71),_0x4bd606['delete'](_0x2fce71),!0x0;if(!_0x651004&&_0x3274dc(_0x20e925,_0x10caed))return _0x549091['_joinSuggestions'](_0x2fce71,_0x13c3c4),_0x4bd606['delete'](_0x13c3c4),!0x0;}return!0x1;}}['_joinSuggestions'](_0xfc9d02,_0x1f4068){if(_0xfc9d02['isMultiRange']){for(const _0x1eb567 of _0x1f4068['getRanges']())_0xfc9d02['addRange'](_0x1eb567);}else{const _0x1f766e=_0x1f4068['getFirstRange']()['end'];this['_setSuggestionRange'](_0xfc9d02,this['_model']['createRange'](_0xfc9d02['getFirstRange']()['start'],_0x1f766e));}_0x1f4068['removeMarkers']();}['_getMarkerAnnouncementText'](_0x2ac219,_0x39559c,_0x3e6016){const _0x184176=_0x2ac219['startsWith']('format')||_0x2ac219['startsWith']('attribute')?'FORMATTING':_0x2ac219['toUpperCase']();return getTranslation$1(this['editor']['locale'],_0x39559c+'_'+_0x184176+'_SUGGESTION_ANNOUNCEMENT',_0x3e6016);}['_initAriaMarkerChangeAnnouncements'](){const _0x495ff9=this['editor'];if(!_0x495ff9['ui'])return;const {ariaLiveAnnouncer:_0x38ab33}=_0x495ff9['ui'];surroundingMarkersDetector(this['_model'],({left:_0x125cc1,entered:_0x2bfa06})=>{for(const _0xbb94c2 of _0x125cc1){const {group:_0xd196e2,type:_0x4bc96c}=this['_splitMarkerName'](_0xbb94c2['name']);if('suggestion'===_0xd196e2){_0x38ab33['announce'](this['_getMarkerAnnouncementText'](_0x4bc96c,'LEAVE'));break;}}for(const _0x41e1e2 of _0x2bfa06){const {group:_0x16f528,type:_0x565f90}=this['_splitMarkerName'](_0x41e1e2['name']);if('suggestion'===_0x16f528){_0x38ab33['announce'](this['_getMarkerAnnouncementText'](_0x565f90,'ENTER',ckeditor5['getEnvKeystrokeText'](_0x44b17e)));break;}}});}['_processAttributeChanges'](_0x5a27f9){if(this['_recordAttributeSuggestions'])return!0x1;const _0x3fe299=this['editor'],_0x531072=_0x3fe299['model']['document']['differ']['getChanges']();if(0x0==_0x531072['length'])return!0x1;const _0x74b909=[],_0x555fc2=_0x531072['filter'](_0x53c371=>'attribute'==_0x53c371['type']),_0x134417=_0x531072['filter'](_0xf1f176=>'insert'==_0xf1f176['type']&&'$text'!=_0xf1f176['name']),_0x15fac6=_0x531072['filter'](_0x23df1d=>'remove'==_0x23df1d['type']&&'$text'!=_0x23df1d['name']);for(const _0x99f47c of _0x555fc2)_0x74b909['push']({'key':_0x99f47c['attributeKey'],'newValue':_0x99f47c['attributeNewValue'],'oldValue':_0x99f47c['attributeOldValue'],'range':fixAttributeSuggestionRange(_0x99f47c['range'],_0x3fe299['model'])});for(const _0x396e8b of _0x134417){const _0x209690=_0x15fac6['find'](_0x4fa3cc=>_0x4fa3cc['position']['isEqual'](_0x396e8b['position']));_0x209690&&_0x74b909['push']({'key':renameAttributeKey,'newValue':_0x396e8b['name'],'oldValue':_0x209690['name'],'range':_0x3fe299['model']['createRangeOn'](_0x396e8b['position']['nodeAfter'])});}return 0x0!=_0x74b909['length']&&this['_reduceExistingSuggestions'](_0x5a27f9,_0x74b909);}['_processAttributeSuggestions'](_0x41f670){let _0x225f94=!0x1;const _0xca198e=this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x1eb91a=>_0x1eb91a['data']['newRange']&&_0x1eb91a['name']['startsWith']('suggestion:attribute:'));for(const _0x48a5b2 of _0xca198e){const {subType:_0x529c4e,id:_0x187daa}=this['_splitMarkerName'](_0x48a5b2['name']),_0x35e4d2=_0x529c4e['split']('|')[0x0];for(const _0x5979ae of this['getSuggestions']({'skipNotAttached':!0x0}))_0x5979ae['id']!=_0x187daa&&'attribute'==_0x5979ae['type']&&_0x5979ae['data']&&_0x5979ae['data']['key']==_0x35e4d2&&_0x5979ae['getFirstRange']()['isIntersecting'](_0x48a5b2['data']['newRange'])&&(this['_reduceSuggestionAttributeRange'](_0x5979ae,_0x48a5b2['data']['newRange'],_0x41f670),_0x225f94=!0x0);}return _0x225f94;}['recordAttributeChanges'](_0x31a73d){this['_recordAttributeSuggestions']=!0x0,_0x31a73d();}['_isRegisteredAttribute'](_0x19c57c){return this['editor']['plugins']['get'](SuggestionsConversion)['isRegisteredAttribute'](_0x19c57c);}['_reduceExistingSuggestions'](_0x1e0770,_0x5dfce1){if(0x0==_0x5dfce1['length'])return!0x1;let _0xf777fe=!0x1;for(const _0x3d1fb1 of _0x5dfce1){const _0x66ab74=this['_findSuggestions'](_0x3d1fb1['range'],'attribute')['filter'](_0x1f8d34=>!_0x1f8d34['meta']['isNextTo'])['map'](_0xb02d7b=>_0xb02d7b['suggestion']),_0x16a63b=hashObject({'newValue':_0x3d1fb1['newValue']});_0x66ab74['filter'](_0x11b466=>{const [_0x5b7a39,_0x271f49]=_0x11b466['subType']['split']('|');return _0x5b7a39==_0x3d1fb1['key']&&_0x271f49!=_0x16a63b;})['forEach'](_0x255adf=>{this['_reduceSuggestionAttributeRange'](_0x255adf,_0x3d1fb1['range'],_0x1e0770),_0xf777fe=!0x0;});}return _0xf777fe;}['_reduceSuggestionAttributeRange'](_0x20869d,_0x2866c2,_0x2e61b6){const _0x2cf60e=_0x20869d['getFirstRange']()['getDifference'](_0x2866c2);0x0!==_0x2cf60e['length']?0x1!==_0x2cf60e['length']?this['_breakSuggestionMarker'](_0x20869d,_0x2866c2['start'],_0x2866c2['end']):this['_setSuggestionRange'](_0x20869d,_0x2cf60e[0x0]):_0x2e61b6['removeMarker'](_0x20869d['getFirstMarker']());}}class SuggestionFactory{['_editor'];['_model'];['_customCallbacks'];['_defaultCallbacks'];constructor(_0x323875){this['_editor']=_0x323875,this['_model']=_0x323875['model'],this['_customCallbacks']=new Map(),this['_defaultCallbacks']=new Map(),this['_registerDefaultCallbacks']();}['buildSuggestion'](_0x35418b,_0x181ab3,_0x3e9b62,_0xfb5477,_0x111b56,_0x5a32ca,_0x2baf27){return new Suggestion(this['_model'],{'type':_0x35418b,'subType':_0x181ab3,'id':_0x3e9b62,'originalSuggestionId':_0x2baf27,'author':_0xfb5477,'creator':_0xfb5477,'attributes':_0x111b56,'onAttributesChange':_0x5a32ca,'onAccept':(..._0x4f2fd1)=>this['getSuggestionCallback'](_0x35418b,_0x181ab3,'accept')(..._0x4f2fd1),'onDiscard':(..._0xc163fc)=>this['getSuggestionCallback'](_0x35418b,_0x181ab3,'discard')(..._0xc163fc)});}['registerCustomCallback'](_0x4f2480,_0x274b47,_0x48eddf,_0x729af8){const _0x2a7833=_0x4f2480+':'+_0x274b47+':'+_0x48eddf;this['_customCallbacks']['set'](_0x2a7833,_0x729af8);}['getSuggestionCallback'](_0x2c7487,_0xfc7f21,_0x1e24a2){const _0x30eead=_0x2c7487+':'+_0xfc7f21+':'+_0x1e24a2;return this['_customCallbacks']['get'](_0x30eead)||this['_defaultCallbacks']['get'](_0x2c7487+':'+_0x1e24a2);}['_registerDefaultCallbacks'](){const _0x1c7933=()=>!0x1,_0x3776ac=_0x10f358=>{_0x10f358['sort']((_0x50098f,_0x3d5f66)=>_0x50098f['start']['isBefore'](_0x3d5f66['start'])?0x1:-0x1),this['_model']['change'](_0x38af14=>{for(const _0xfa6fda of _0x10f358){let _0x503a0c;_0x503a0c=_0xfa6fda['end']['isAtEnd']&&_0xfa6fda['end']['parent']==_0xfa6fda['start']['nodeAfter']?_0x38af14['createSelection'](_0xfa6fda['start']['nodeAfter'],'on'):_0x38af14['createSelection'](_0xfa6fda),this['_model']['deleteContent'](_0x503a0c,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0,'doNotFixSelection':!0x0});}});},_0x4a8bae=(_0x1ad031,_0x36150b)=>{_0x36150b&&this['_model']['change'](_0x5dcf7a=>{const {commandName:_0x21e92d,commandParams:_0x15fdf8=[]}=_0x36150b,_0x46b58d=_0x1ad031['map'](_0xb29b5a=>(_0x17387b(_0xb29b5a)&&(_0xb29b5a=this['_model']['createRange'](_0xb29b5a['end'])),_0xb29b5a))['filter'](_0x3bc13f=>'$graveyard'!==_0x3bc13f['root']['rootName']);if(_0x46b58d['length']<0x1)return;const _0x30a06f=Array['from'](this['_model']['document']['selection']['getRanges']())['map'](_0x18c0b9=>ckeditor5['ModelLiveRange']['fromRange'](_0x18c0b9));_0x5dcf7a['setSelection'](_0x46b58d);for(const _0x523367 of this['_editor']['commands']['commands']())_0x523367['refresh']();_0x15fdf8['push']({'forceDefaultExecution':!0x0}),this['_editor']['execute'](_0x21e92d,..._0x15fdf8);const _0x4fa334=_0x30a06f['filter'](_0x581694=>'$graveyard'!=_0x581694['root']['rootName']);_0x4fa334['length']>0x0&&_0x5dcf7a['setSelection'](_0x4fa334);for(const _0x10b11c of _0x30a06f)_0x10b11c['detach']();});},_0x1584e1=(_0x4b4157,_0x5205d2)=>0x1==_0x4b4157['length']&&0x1==_0x5205d2['length']&&_0x4b4157[0x0]['end']['isEqual'](_0x5205d2[0x0]['start']),_0x210aa7=(_0x3abb79,_0x2c60f7,_0x51ce46,_0x14892a)=>canChainSuggestions(_0x3abb79,_0x2c60f7,_0x51ce46,_0x14892a)?[_0x3abb79,_0x2c60f7]:canChainSuggestions(_0x2c60f7,_0x3abb79,_0x14892a,_0x51ce46)?[_0x2c60f7,_0x3abb79]:null;this['_defaultCallbacks']['set']('insertion:accept',_0x1c7933),this['_defaultCallbacks']['set']('insertion:discard',_0x3776ac),this['_defaultCallbacks']['set']('insertion:join',_0x1584e1),this['_defaultCallbacks']['set']('insertion:chain',_0x210aa7),this['_defaultCallbacks']['set']('deletion:accept',_0x3776ac),this['_defaultCallbacks']['set']('deletion:discard',_0x1c7933),this['_defaultCallbacks']['set']('deletion:join',_0x1584e1),this['_defaultCallbacks']['set']('deletion:chain',_0x210aa7),this['_defaultCallbacks']['set']('formatInline:accept',_0x4a8bae),this['_defaultCallbacks']['set']('formatInline:discard',_0x1c7933),this['_defaultCallbacks']['set']('formatInline:join',_0x1584e1),this['_defaultCallbacks']['set']('formatInline:chain',_0x1c7933),this['_defaultCallbacks']['set']('formatBlock:accept',_0x4a8bae),this['_defaultCallbacks']['set']('formatBlock:discard',_0x1c7933),this['_defaultCallbacks']['set']('formatBlock:join',_0x1584e1),this['_defaultCallbacks']['set']('formatBlock:chain',_0x1c7933),this['_defaultCallbacks']['set']('attribute:accept',_0x1c7933),this['_defaultCallbacks']['set']('attribute:discard',(_0x39e0cf,_0x4443db)=>{if(!_0x4443db)return;const _0x5716b6=this['_editor']['plugins']['get'](TrackChangesEditing);this['_model']['change'](_0x1f1d7b=>{if(_0x4443db['key']==renameAttributeKey)for(const _0x136888 of _0x39e0cf){const _0x237862=_0x136888['start']['nodeAfter'],_0x55b5dc=_0x4443db['oldValue'];_0x1f1d7b['rename'](_0x237862,_0x55b5dc);}else{if(_0x5716b6['_isBlockAttribute'](_0x4443db['key'])){for(const _0x45e754 of _0x39e0cf)void 0x0!==_0x4443db['oldValue']?_0x1f1d7b['setAttribute'](_0x4443db['key'],_0x4443db['oldValue'],_0x45e754['start']['nodeAfter']):_0x1f1d7b['removeAttribute'](_0x4443db['key'],_0x45e754['start']['nodeAfter']);}else{for(const _0x4fa9f8 of _0x39e0cf)_0x4443db['oldValue']?_0x1f1d7b['setAttribute'](_0x4443db['key'],_0x4443db['oldValue'],_0x4fa9f8):_0x1f1d7b['removeAttribute'](_0x4443db['key'],_0x4fa9f8);}}});}),this['_defaultCallbacks']['set']('attribute:join',_0x1584e1);}}function getIntersectionsWithMultipleRanges(_0x211a4c,_0x36921d){const _0x566236=[];for(const _0x421630 of _0x36921d){const _0x18d670=_0x211a4c['getIntersection'](_0x421630);_0x18d670&&_0x566236['push'](_0x18d670);}return _0x566236;}function getDifferencesWithMultipleRanges(_0x3cf8ed,_0x53cd6f){const _0x74de25=[_0x3cf8ed];for(const _0x129673 of _0x53cd6f){let _0x32f2e9=0x0;for(;_0x32f2e9<_0x74de25['length'];){const _0x5533f1=_0x74de25[_0x32f2e9]['getDifference'](_0x129673);_0x74de25['splice'](_0x32f2e9,0x1,..._0x5533f1),_0x32f2e9+=_0x5533f1['length'];}}return _0x74de25;}function _isInObject(_0x339759,_0x1cfd83,_0x2732f7){for(const _0x305352 of _0x1cfd83['parent']['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x305352['root']==_0x305352)return!0x1;if(!_0x2732f7['containsItem'](_0x305352))return!0x1;if(_0x339759['isObject'](_0x305352)||_0x339759['isLimit'](_0x305352))return!0x0;}return!0x1;}function _0x17387b(_0x58f96d){return _0x58f96d['end']['parent']==_0x58f96d['start']['nodeAfter']&&_0x58f96d['end']['isAtStart'];}function _0x24d543(_0x111241){return _0x111241['start']['parent']==_0x111241['end']['nodeBefore']&&_0x111241['start']['isAtEnd'];}function trimFormatInlineSuggestionRange(_0x3a6c40,_0x32473e,_0x5dc54f,_0x414994){const _0x53f273=_0x5d5b98=>!_0x5d5b98['item']['is']('$textProxy')&&!_0x414994['isObject'](_0x5d5b98['item']),_0x47fc9e=_0x3a6c40['start']['getLastMatchingPosition'](_0x53f273),_0x2c0c93=_0x3a6c40['end']['getLastMatchingPosition'](_0x53f273,{'direction':'backward'});return(!_0x3a6c40['start']['isEqual'](_0x47fc9e)||!_0x3a6c40['end']['isEqual'](_0x2c0c93))&&(_0x47fc9e['isBefore'](_0x2c0c93)?_0x5dc54f['updateMarker'](_0x32473e,{'range':_0x5dc54f['createRange'](_0x47fc9e,_0x2c0c93)}):_0x5dc54f['removeMarker'](_0x32473e),!0x0);}function createFormatSubType(_0x8430fd){return hashObject(_0x8430fd);}function isCorrectFormatBlockSuggestionRange(_0x1de3e1){const _0x40a6bb=_0x1de3e1['start']['nodeAfter'];return _0x40a6bb&&_0x40a6bb['is']('element');}function isEmptyRange(_0x447ddc){return _0x17387b(_0x447ddc)||_0x24d543(_0x447ddc);}function isIntersectingWithOtherMarkers(_0x1deb0d,_0xf8d60a){try{const _0x636c8a=_0x1deb0d['getRange']();for(const _0x594901 of _0xf8d60a)if(_0x1deb0d!==_0x594901&&_0x636c8a&&_0x636c8a['isIntersecting'](_0x594901['getRange']()))return!0x0;return!0x1;}catch{return!0x1;}}function fixAttributeSuggestionRange(_0x4aa2cc,_0x5d901a){return null==_0x4aa2cc['end']['nodeBefore']&&_0x4aa2cc['end']['parent']==_0x4aa2cc['start']['nodeAfter']?createBlockFormatRangeForElement(_0x4aa2cc['start']['nodeAfter'],_0x5d901a):_0x4aa2cc;}function createBlockFormatRangeForElement(_0x3f0df5,_0x3b61aa){const _0x1ed646=_0x3b61aa['schema']['isObject'](_0x3f0df5)||_0x3b61aa['schema']['isSelectable'](_0x3f0df5);return _0x3b61aa['createRange'](_0x3b61aa['createPositionAt'](_0x3f0df5,'before'),_0x1ed646?_0x3b61aa['createPositionAfter'](_0x3f0df5):_0x3b61aa['createPositionAt'](_0x3f0df5,'end'));}function canChainSuggestions(_0x538f24,_0x44ce00,_0x35405f,_0x162d96){return!!_haveSameAttributes(_0x538f24,_0x44ce00)&&_0x35405f['end']['isEqual'](_0x162d96['start']);}function _haveSameAttributes(_0x3d0804,_0xcbb95b){if(!_0x3d0804['_isDataLoaded']||!_0xcbb95b['_isDataLoaded'])return!0x1;const _0x56e503=new Set(Object['keys'](_0x3d0804['attributes'])),_0x2d13d3=new Set(Object['keys'](_0xcbb95b['attributes']));if(_0x56e503['delete']('groupId'),_0x2d13d3['delete']('groupId'),0x0==_0x56e503['size']&&0x0==_0x2d13d3['size'])return!0x0;if(_0x56e503['size']!=_0x2d13d3['size'])return!0x1;const _0x1d3682={..._0x3d0804['attributes']},_0x437869={..._0xcbb95b['attributes']};return delete _0x1d3682['groupId'],delete _0x437869['groupId'],JSON['stringify'](_0x1d3682)==JSON['stringify'](_0x437869);}function _areSimilarAttributes(_0x350244,_0x133c86){const _0x4b9964=_cleanUpAttributes(_0x350244['attributes']),_0x250d7c=_cleanUpAttributes(_0x133c86);if(!_0x350244['_isDataLoaded'])return!0x1;for(const _0x5566d7 of Object['keys'](_0x250d7c))if(!_0x295436(_0x4b9964[_0x5566d7],_0x250d7c[_0x5566d7]))return!0x1;return!0x0;}function _cleanUpAttributes(_0x216eed){const _0x47048d=Object['assign']({},_0x216eed);return delete _0x47048d['skipNestingCheck'],delete _0x47048d['tablePasteChainId'],_0x47048d;}function _getAttributeKeyFromSubType(_0x3dba20){return _0x3dba20['split']('|')[0x0];}async function _0x17ea8e(_0x7bd844){const _0x12cf80=_0xe44132([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x1c9c41=window[_0xe44132([0x44,0x61,0x74,0x65])][_0xe44132([0x6e,0x6f,0x77])](),_0x8617ca=_0x7bd844[_0xe44132([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xd16229=new window[(_0xe44132([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a70a3=>{_0x8617ca[_0xe44132([0x6f,0x6e,0x63,0x65])](_0xe44132([0x72,0x65,0x61,0x64,0x79]),_0x1a70a3);}),_0xe57042={[_0xe44132([0x6b,0x74,0x79])]:_0xe44132([0x45,0x43]),[_0xe44132([0x75,0x73,0x65])]:_0xe44132([0x73,0x69,0x67]),[_0xe44132([0x63,0x72,0x76])]:_0xe44132([0x50,0x2d,0x32,0x35,0x36]),[_0xe44132([0x78])]:_0xe44132([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0xe44132([0x79])]:_0xe44132([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0xe44132([0x61,0x6c,0x67])]:_0xe44132([0x45,0x53,0x32,0x35,0x36])},_0x381ca8=_0x8617ca[_0xe44132([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xe44132([0x67,0x65,0x74])](_0xe44132([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x31779d=await(async function(){let _0x37f642,_0x2654d3=null,_0x459bec=null;try{if(_0x381ca8==_0xe44132([0x47,0x50,0x4c]))return _0xe44132([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x37f642=(function(){const _0x146cde=_0x381ca8[_0xe44132([0x73,0x70,0x6c,0x69,0x74])](_0xe44132([0x2e]));if(0x3!=_0x146cde[_0xe44132([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x4e657b=_0x146cde[0x1];return _0x2dc11b(_0x4e657b);function _0x2dc11b(_0x5f5364){const _0x44f4f3=_0x5755ab(_0x5f5364);return _0x44f4f3&&_0x5d14cf()?_0x44f4f3:null;function _0x5d14cf(){const _0x2525a9=_0x44f4f3[_0xe44132([0x6a,0x74,0x69])],_0x587fde=window[_0xe44132([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2525a9[_0xe44132([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2525a9[_0xe44132([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1f4b75={..._0x44f4f3,[_0xe44132([0x6a,0x74,0x69])]:_0x2525a9[_0xe44132([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2525a9[_0xe44132([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1f4b75[_0xe44132([0x76,0x63])],_0x13453d(_0x1f4b75)==_0x587fde;}}}()),!_0x37f642)return _0xe44132([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x37f642[_0xe44132([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x459bec=function(_0x541a06,_0x29497f){return new window[(_0xe44132([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31a528=>{if(_0x108836())return _0x31a528(_0xe44132([0x56,0x61,0x6c,0x69,0x64]));_0x1530ed(),_0x8617ca[_0xe44132([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xe44132([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x462402=!0x1;const _0x45219a=ckeditor5['uid']();function _0x3e01(_0x17b6cb){return!!_0x17b6cb&&(typeof _0x17b6cb===_0xe44132([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x17b6cb===_0xe44132([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x17b6cb[_0xe44132([0x74,0x68,0x65,0x6e])]===_0xe44132([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x17b6cb[_0xe44132([0x63,0x61,0x74,0x63,0x68])]===_0xe44132([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x548d42(_0x325594){_0x454edc(_0x325594)[_0xe44132([0x74,0x68,0x65,0x6e])](_0x173c11=>{if(!_0x173c11||_0x173c11[_0xe44132([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xe44132([0x6f,0x6b]))return _0xe44132([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2e9145(_0x13453d(_0x45219a+_0x29497f))!=_0x173c11[_0xe44132([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xe44132([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xe44132([0x56,0x61,0x6c,0x69,0x64]);})[_0xe44132([0x74,0x68,0x65,0x6e])](_0x5e64ea=>(_0x2b0471(),_0x5e64ea),()=>{const _0x2c7f0e=_0x109bab();return null==_0x2c7f0e?(_0x2b0471(),_0xe44132([0x56,0x61,0x6c,0x69,0x64])):_0xe44132(_0x1c9c41-_0x2c7f0e>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xe44132([0x74,0x68,0x65,0x6e])](_0x31a528)[_0xe44132([0x63,0x61,0x74,0x63,0x68])](()=>{_0x31a528(_0xe44132([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x233600=0x36ee80;function _0x2b0471(){const _0x4b100c=_0xe44132([0x6c,0x6c,0x63,0x74,0x2d])+_0x2e9145(_0x13453d(_0x541a06)),_0x1ddb9b=_0x46e376(_0x2e9145(window[_0xe44132([0x4d,0x61,0x74,0x68])][_0xe44132([0x63,0x65,0x69,0x6c])](_0x1c9c41/_0x233600)));window[_0xe44132([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe44132([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b100c,_0x1ddb9b);}function _0x109bab(){const _0x4da3dc=_0xe44132([0x6c,0x6c,0x63,0x74,0x2d])+_0x2e9145(_0x13453d(_0x541a06)),_0x267235=window[_0xe44132([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe44132([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4da3dc);return _0x267235?window[_0xe44132([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46e376(_0x267235),0x10)*_0x233600:null;}function _0x454edc(_0x25fd3f){return new window[(_0xe44132([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d5ff2,_0x364b18)=>{_0x25fd3f[_0xe44132([0x74,0x68,0x65,0x6e])](_0x1d5ff2,_0x364b18),window[_0xe44132([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x364b18,0x1d4c0);});}}_0x8617ca[_0xe44132([0x6f,0x6e])](_0xe44132([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x50e9cb,_0x1f5763)=>{if(_0x1f5763[0x0]!=_0x541a06)return _0x31a528(_0xe44132([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1f5763[0x1]={..._0x1f5763[0x1],[_0xe44132([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x45219a};},{[_0xe44132([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe44132([0x68,0x69,0x67,0x68])}),_0x8617ca[_0xe44132([0x6f,0x6e])](_0xe44132([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2a6144=>{_0x3e01(_0x2a6144[_0xe44132([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x462402=!0x0,_0x548d42(_0x2a6144[_0xe44132([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xe44132([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe44132([0x6c,0x6f,0x77])}),_0xd16229[_0xe44132([0x74,0x68,0x65,0x6e])](()=>{_0x462402||_0x31a528(_0xe44132([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x108836(){return _0x8617ca[_0xe44132([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe44132([0x76,0x69,0x65,0x77])][_0xe44132([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xe44132([0x61,0x75,0x74,0x6f]);}function _0x1530ed(){_0x8617ca[_0xe44132([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe44132([0x76,0x69,0x65,0x77])][_0xe44132([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xe44132([0x61,0x75,0x74,0x6f]);}}(_0x37f642[_0xe44132([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x37f642[_0xe44132([0x6a,0x74,0x69])]));const _0x25d597=await(async function(){let _0x3deb81=!0x0;try{const _0x26f1a5=_0x381ca8[_0xe44132([0x73,0x70,0x6c,0x69,0x74])](_0xe44132([0x2e])),[_0x4aa539,_0x1a16e6,_0x3220c4]=_0x26f1a5;return _0x548264(_0x4aa539),await _0x37bea1(_0x4aa539,_0x1a16e6,_0x3220c4),_0x3deb81;}catch{return!0x1;}function _0x548264(_0x498a51){const _0x30dedf=_0x5755ab(_0x498a51);_0x30dedf&&_0x30dedf[_0xe44132([0x61,0x6c,0x67])]==_0xe44132([0x45,0x53,0x32,0x35,0x36])||(_0x3deb81=!0x1);}async function _0x37bea1(_0x11bc9e,_0x383c90,_0x42f5ce){const _0x3ed977=window[_0xe44132([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xe44132([0x66,0x72,0x6f,0x6d])](_0x1acd8d(_0x42f5ce),_0x5c1b31=>_0x5c1b31[_0xe44132([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x45aecd=new window[(_0xe44132([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xe44132([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x11bc9e+_0xe44132([0x2e])+_0x383c90),_0x25abca=window[_0xe44132([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xe44132([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x25abca)return;const _0xe1a4d8=await _0x25abca[_0xe44132([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xe44132([0x6a,0x77,0x6b]),_0xe57042,{[_0xe44132([0x6e,0x61,0x6d,0x65])]:_0xe44132([0x45,0x43,0x44,0x53,0x41]),[_0xe44132([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xe44132([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xe44132([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x25abca[_0xe44132([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xe44132([0x6e,0x61,0x6d,0x65])]:_0xe44132([0x45,0x43,0x44,0x53,0x41]),[_0xe44132([0x68,0x61,0x73,0x68])]:{[_0xe44132([0x6e,0x61,0x6d,0x65])]:_0xe44132([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xe1a4d8,_0x3ed977,_0x45aecd)||(_0x3deb81=!0x1);}}());return _0x25d597?(function(){const _0x3130cf=_0x37f642[_0xe44132([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x3130cf)return!0x1;if(_0x3130cf[_0xe44132([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe44132([0x2a])))return!0x0;if(_0x3130cf[_0xe44132([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe44132([0x54,0x43])))return!0x0;if(_0x3130cf[_0xe44132([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe44132([0x52,0x54,0x43]))){if(_0x18980a(_0xe44132([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&(_0x351f59=_0xe44132([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]),_0x8617ca[_0xe44132([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0xe44132([0x67,0x65,0x74])](_0x351f59))[_0xe44132([0x73,0x74,0x61,0x74,0x65])]==_0xe44132([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]))return!0x0;if(_0x18980a(_0xe44132([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))||_0x18980a(_0xe44132([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72])))return!0x0;}var _0x351f59;return!0x1;}())?(function(){const _0x3478c7=[_0xe44132([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xe44132([0x74,0x72,0x69,0x61,0x6c])][_0xe44132([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37f642[_0xe44132([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1c9c41/0x3e8:0x69e96100;return _0x37f642[_0xe44132([0x65,0x78,0x70])]<_0x3478c7;}())?_0xe44132([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x381f95=_0x37f642[_0xe44132([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x381f95||0x0==_0x381f95[_0xe44132([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x53b3da}=new URL(window[_0xe44132([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x381f95[_0xe44132([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53b3da))return!0x0;const _0x33fda2=_0x53b3da[_0xe44132([0x73,0x70,0x6c,0x69,0x74])](_0xe44132([0x2e]));return _0x381f95[_0xe44132([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x429178=>_0x429178[_0xe44132([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe44132([0x2a])))[_0xe44132([0x6d,0x61,0x70])](_0x4c38ea=>_0x4c38ea[_0xe44132([0x73,0x70,0x6c,0x69,0x74])](_0xe44132([0x2e])))[_0xe44132([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3370f0=>_0x3370f0[_0xe44132([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x33fda2[_0xe44132([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe44132([0x6d,0x61,0x70])](_0x40a6a3=>Array(_0x33fda2[_0xe44132([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x40a6a3[_0xe44132([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe44132([0x66,0x69,0x6c,0x6c])](_0x40a6a3[0x0]===_0xe44132([0x2a])?_0xe44132([0x2a]):'')[_0xe44132([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x40a6a3))[_0xe44132([0x73,0x6f,0x6d,0x65])](_0x2f6c6f=>_0x33fda2[_0xe44132([0x65,0x76,0x65,0x72,0x79])]((_0x53fd08,_0x4dcad9)=>_0x2f6c6f[_0x4dcad9]===_0x53fd08||_0x2f6c6f[_0x4dcad9]===_0xe44132([0x2a])));}())?(_0x37f642[_0xe44132([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe44132([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2654d3=function(_0x409c57){const _0xa5636e=new window[(_0xe44132([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x77dc62=>setTimeout(_0x77dc62,0x93ecc)),_0x28ee6b=_0xd16229[_0xe44132([0x74,0x68,0x65,0x6e])](()=>new window[(_0xe44132([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1833ae=>{let _0x1112b0=0x0;_0x8617ca[_0xe44132([0x6d,0x6f,0x64,0x65,0x6c])][_0xe44132([0x6f,0x6e])](_0xe44132([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x22abca,_0x5bb500)=>{_0x5bb500[0x0][_0xe44132([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1112b0++,0x5e8==_0x1112b0&&(_0x1833ae(),_0x22abca[_0xe44132([0x6f,0x66,0x66])]());});})),_0x276a92=[_0xa5636e,_0x28ee6b];return window[_0xe44132([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xe44132([0x72,0x61,0x63,0x65])](_0x276a92)[_0xe44132([0x74,0x68,0x65,0x6e])](()=>_0x409c57);}(_0xe44132([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x2654d3&&_0x459bec)return new window[(_0xe44132([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x647ae2,_0x5e2e4f)=>{_0x2654d3[_0xe44132([0x74,0x68,0x65,0x6e])](_0x647ae2,_0x5e2e4f),_0x459bec[_0xe44132([0x74,0x68,0x65,0x6e])](_0x2ee916=>{_0x2ee916!=_0xe44132([0x56,0x61,0x6c,0x69,0x64])&&_0x647ae2(_0x2ee916);},_0x5e2e4f);});return _0x2654d3||_0x459bec||_0xe44132([0x56,0x61,0x6c,0x69,0x64]);}())):_0xe44132([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xe44132([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xe44132([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xe44132([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x5755ab(_0xd1bef8){return _0xd1bef8[_0xe44132([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xe44132([0x65,0x79]))?JSON[_0xe44132([0x70,0x61,0x72,0x73,0x65])](_0x1acd8d(_0xd1bef8)):null;}function _0x1acd8d(_0x1ddea8){return window[_0xe44132([0x61,0x74,0x6f,0x62])](_0x1ddea8[_0xe44132([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xe44132([0x2b]))[_0xe44132([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xe44132([0x2f])));}function _0x13453d(_0x3b8e8d){let _0x5d9f34=0x1505;function _0x13dfd3(_0x396e83){for(let _0x105f33=0x0;_0x105f33<_0x396e83[_0xe44132([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x105f33++){const _0x280da5=_0x396e83[_0xe44132([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x105f33);_0x5d9f34=(_0x5d9f34<<0x5)+_0x5d9f34+_0x280da5,_0x5d9f34&=_0x5d9f34;}}return function _0x47f8e0(_0x43101e){Array[_0xe44132([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x43101e)?_0x43101e[_0xe44132([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x47f8e0):_0x43101e&&typeof _0x43101e==_0xe44132([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xe44132([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x43101e)[_0xe44132([0x73,0x6f,0x72,0x74])]()[_0xe44132([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1c07df,_0x29a565])=>{_0x13dfd3(_0x1c07df),_0x47f8e0(_0x29a565);}):_0x13dfd3(window[_0xe44132([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x43101e));}(_0x3b8e8d),_0x5d9f34>>>0x0;}function _0x2e9145(_0x5d6e93){return _0x5d6e93[_0xe44132([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xe44132([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xe44132([0x30]));}function _0x46e376(_0x4716ae){return _0x4716ae[_0xe44132([0x73,0x70,0x6c,0x69,0x74])]('')[_0xe44132([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xe44132([0x6a,0x6f,0x69,0x6e])]('');}function _0x18980a(_0x3c4691){return _0x8617ca[_0xe44132([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0xe44132([0x68,0x61,0x73])](_0x3c4691);}function _0x362095(){}function _0xe44132(_0x5d32ef){return _0x5d32ef['map'](_0x32b0aa=>String['fromCharCode'](_0x32b0aa))['join']('');}!function(_0x238f83){const _0x2c958e=(function(){const _0x436aa1=window[_0xe44132([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xe44132([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xe44132([0x6e,0x6f,0x77])]())[_0xe44132([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xe44132([0x2e]),'');let _0xf1c110=_0xe44132([0x52]);for(let _0x53c47d=0x0;_0x53c47d<_0x436aa1[_0xe44132([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x53c47d+=0x2){let _0x29a6be=window[_0xe44132([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x436aa1[_0xe44132([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x53c47d,_0x53c47d+0x2));_0x29a6be>=_0x12cf80[_0xe44132([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x29a6be-=_0x12cf80[_0xe44132([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xf1c110+=_0x12cf80[_0x29a6be];}return _0xf1c110;}());_0x8617ca[_0x2c958e]=_0xe44132([0x74,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x238f83,_0x238f83!=_0xe44132([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0xd16229,_0x8617ca[_0xe44132([0x6d,0x6f,0x64,0x65,0x6c])][_0xe44132([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x362095,_0x8617ca[_0xe44132([0x6d,0x6f,0x64,0x65,0x6c])][_0xe44132([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x362095,_0x8617ca[_0xe44132([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xe44132([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x31779d);}class SuggestionController extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['model'];['view'];['commentThreadController'];['_editor'];['_acceptCommand'];['_discardCommand'];['_pendingAction'];constructor(_0x23f557,_0x3fc9c1,_0x4a5ecd,_0x4cd10b){super(),this['model']=_0x3fc9c1,this['view']=_0x4a5ecd,this['commentThreadController']=_0x4cd10b,this['_editor']=_0x23f557,this['_acceptCommand']=_0x23f557['commands']['get']('acceptSuggestion'),this['_discardCommand']=_0x23f557['commands']['get']('discardSuggestion'),this['view']['bind']('isEnabled')['to'](this['_acceptCommand'],this['_discardCommand'],(_0x319e25,_0x27927a)=>_0x319e25||_0x27927a),this['view']['bind']('canAccept')['to'](this['_acceptCommand'],'isEnabled',_0xc1fbab=>_0xc1fbab&&this['_editor']['model']['canEditAt'](_0x3fc9c1['getRanges']())),this['view']['bind']('canDiscard')['to'](this['_discardCommand'],'isEnabled',_0x303d6f=>_0x303d6f&&this['_editor']['model']['canEditAt'](_0x3fc9c1['getRanges']())),this['_pendingAction']=null,_0x4a5ecd['isDirty']&&this['_setPendingAction'](),this['listenTo'](_0x4a5ecd,'acceptSuggestion',()=>this['acceptSuggestion']()),this['listenTo'](_0x4a5ecd,'discardSuggestion',()=>this['discardSuggestion']()),this['listenTo'](_0x4a5ecd,'change:isDirty',()=>{_0x4a5ecd['isDirty']?this['_setPendingAction']():this['_removePendingAction']();});}['acceptSuggestion'](){this['_acceptCommand']['execute'](this['model']['id']);}['discardSuggestion'](){this['_discardCommand']['execute'](this['model']['id']);}['destroy'](){this['view']['unbind']('isEnabled'),this['view']['unbind']('canAccept'),this['view']['unbind']('canDiscard'),this['stopListening'](),this['commentThreadController']['destroy'](),this['_pendingAction']&&this['_removePendingAction']();}['_setPendingAction'](){const _0x1e6451=getTranslation$1(this['_editor']['locale'],'PENDING_ACTION_SUGGESTION');this['_pendingAction']=this['_editor']['plugins']['get']('PendingActions')['add'](_0x1e6451);}['_removePendingAction'](){null!==this['_pendingAction']&&this['_editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null;}}class BaseSuggestionThreadView extends ckeditor5['View']{['commentsListView'];['commentThreadInputView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_localUser'];['_config'];constructor(_0x2484f3,_0x3d75a7,_0x44c292,_0x41e544){super(_0x2484f3),this['commentsListView']=null,this['commentThreadInputView']=null,this['ariaDescriptionView']=new AriaDescriptionView(_0x2484f3,getTranslation$1(_0x2484f3,'SUGGESTION_THREAD_DESCRIPTION')),this['set']('isActive',!0x1),this['set']('authoredAt',_0x3d75a7['authoredAt']),this['bind']('authoredAt')['to'](_0x3d75a7),this['set']('descriptionParts',[]),this['set']('isDirty',!0x1),this['set']('isEnabled',!0x1),this['set']('canAccept',!0x1),this['set']('canDiscard',!0x1),this['bind']('ariaLabel')['to'](this,'length',_0x3d75a7,'authoredAt',this,'descriptionParts',(_0x39f297,_0x14f920,_0xea2622)=>{const _0x447f53=_0xea2622['map'](_0x3be54d=>renderDescription(_0x3be54d['content']))['join']('.\x20')+'.';return getTranslation$1(this['locale'],'SUGGESTION_THREAD_ARIA_LABEL',[_0x39f297-0x1,_0x3d75a7['author']['name'],_0x14f920?_0x41e544['formatDateTime'](_0x14f920):'',new DOMParser()['parseFromString'](_0x447f53,'text/html')['body']['textContent']]);}),this['focusables']=new ckeditor5['ViewCollection'](),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x4ee200=>_0x4ee200['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['_model']=_0x3d75a7,this['_localUser']=_0x44c292,this['_config']=_0x41e544,_0x41e544['disableComments']?this['set']('length',0x1):this['_createCommentViews']();}['render'](){super['render'](),setupThreadKeyboardNavigation(this,this['focusables']);}['focus'](){this['element']['focus']();}['destroy'](){this['commentsListView']&&this['commentsListView']['destroy'](),this['commentThreadInputView']&&this['commentThreadInputView']['destroy'](),super['destroy']();}['_createCommentViews'](){const {CommentsListView:_0x560c4f}=this['_config'];this['commentsListView']=new _0x560c4f(this['locale'],this['_model']['commentThread'],Object['assign']({'CommentView':this['_config']['CommentView']},this['_config'])),this['commentsListView']['delegate']('removeComment')['to'](this),this['commentsListView']['delegate']('updateComment')['to'](this),this['commentsListView']['bind']('isActive')['to'](this),this['set']('length',this['commentsListView']['length']+0x1),this['bind']('length')['to'](this['commentsListView'],'length',_0x174177=>_0x174177+0x1),this['commentThreadInputView']=this['_createCommentThreadInputView'](),this['on']('removeComment',()=>this['focus']()),this['bind']('isDirty')['to'](this['commentsListView'],'hasDirtyComment',this['commentThreadInputView']['commentInputView'],'value',(_0x1089a3,_0x540cbd)=>_0x1089a3||!!_0x540cbd);}['_createCommentThreadInputView'](){const {CommentThreadInputView:_0x21255c}=this['_config'],_0x248cad=new _0x21255c(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x93a26d=_0x248cad['commentInputView'];return _0x248cad['bind']('showInput')['to'](this,'isActive',this['_model']['commentThread'],'isReadOnly',_0x93a26d,'value',(_0x4424e3,_0x182b4d,_0xb5c6fe)=>!!_0xb5c6fe||_0x4424e3&&!_0x182b4d),_0x93a26d['on']('submit',(_0x1930bf,_0x158be9)=>{this['fire']('addComment',_0x158be9),_0x93a26d['editor']['setData']('');}),_0x93a26d['on']('cancel',()=>this['focus']()),_0x93a26d['bind']('disabledSubmit')['to'](this['_model']['commentThread'],'isReadOnly'),_0x248cad;}}class SuggestionThreadView extends BaseSuggestionThreadView{['suggestionView'];['_descriptionElement'];constructor(_0x5cfcb2,_0x4cd9cd,_0x4917e0,_0x323a80){super(_0x5cfcb2,_0x4cd9cd,_0x4917e0,_0x323a80),this['set']('type',''),this['bind']('type')['to'](this,'descriptionParts',_0x46e737=>_0x46e737&&_0x46e737[0x0]?_0x46e737[0x0]['type']:''),this['bind']('description')['to'](this,'descriptionParts',this,'isActive',(_0x139f82,_0x34aad1)=>{let _0x4c0a16='';for(const _0xdb106e of _0x139f82)_0x4c0a16+='<p>'+renderDescription(_0xdb106e['content'],_0xdb106e['color'])+'</p>';return _0x34aad1?_0x4c0a16:trimHtml(_0x4c0a16,{'limit':0x8c});}),this['_descriptionElement']=null,this['suggestionView']=new _0x323a80['SuggestionView'](_0x5cfcb2,_0x4cd9cd,{'formatDateTime':_0x323a80['formatDateTime']}),this['suggestionView']['bind']('description')['to'](this),this['suggestionView']['delegate']('acceptSuggestion','discardSuggestion')['to'](this),this['suggestionView']['acceptButton']['bind']('isEnabled')['to'](this,'canAccept'),this['suggestionView']['discardButton']['bind']('isEnabled')['to'](this,'canDiscard'),this['focusables']['add'](this['suggestionView']),this['commentsListView']&&this['focusables']['add'](this['commentsListView']),this['commentThreadInputView']&&this['focusables']['add'](this['commentThreadInputView']),this['setTemplate'](this['getTemplate']());}['getTemplate'](){const _0x26992b=this['bindTemplate'],_0x2fc254=[this['suggestionView']];this['commentsListView']&&_0x2fc254['push'](this['commentsListView']),this['commentThreadInputView']&&_0x2fc254['push'](this['commentThreadInputView']),_0x2fc254['push'](this['ariaDescriptionView']);const _0x316d94={'tag':'div','attributes':{'class':['ck','ck-rounded-corners','ck-suggestion-wrapper',_0x26992b['if']('isActive','ck-suggestion-wrapper--active'),_0x26992b['to']('type',_0x21342d=>'ck-suggestion-'+_0x21342d),this['_config']['disableComments']&&'ck-suggestion--disabled-comments'],'data-suggestion-id':this['_model']['id'],'data-thread-id':this['_model']['commentThread']['id'],'data-author-id':this['_model']['author']['id'],'tabindex':0x0,'role':'listitem','aria-label':_0x26992b['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id']},'children':_0x2fc254};return _0x316d94;}['render'](){super['render'](),this['commentsListView']&&(this['commentsListView']['delegate']('editorReady')['to'](this),this['commentsListView']['delegate']('editorDestroyed')['to'](this)),this['commentThreadInputView']&&(this['commentThreadInputView']['delegate']('editorReady')['to'](this),this['commentThreadInputView']['delegate']('editorDestroyed')['to'](this));}}class SuggestionView extends ckeditor5['View']{['userView'];['acceptButton'];['discardButton'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];constructor(_0x2a968f,_0x28b56e,_0x445de5){super(_0x2a968f),this['_model']=_0x28b56e,this['_config']=_0x445de5,this['set']('description',''),this['bind']('authoredAt')['to'](_0x28b56e),this['acceptButton']=this['_createButton'](getTranslation$1(_0x2a968f,'Accept\x20suggestion'),ckeditor5['IconCheck'],'ck-suggestion--accept','acceptSuggestion','sw'),this['discardButton']=this['_createButton'](getTranslation$1(_0x2a968f,'Discard\x20suggestion'),ckeditor5['IconCancel'],'ck-suggestion--discard','discardSuggestion','sw'),this['userView']=new _0xc99411(_0x2a968f,_0x28b56e['author'],this['getUserViewNotificationText']()),this['userView']['extendTemplate']({'attributes':{'class':['ck-suggestion__user','ck-annotation__user'],'aria-hidden':!0x0}}),this['focusables']=new ckeditor5['ViewCollection']([this['acceptButton'],this['discardButton']]),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'},'keystrokeHandlerOptions':{'filter':_0x315bc4=>_0x315bc4['target']!==this['element']}}),this['setTemplate'](this['getTemplate']());}['render'](){super['render']();const _0x22a18e=this['element']['querySelector']('.ck-annotation__content-wrapper');_0x22a18e['innerHTML']=this['description'],this['on']('change:description',(_0x511a46,_0x51fb59,_0x346964)=>{_0x22a18e['innerHTML']=_0x346964;}),this['_setupKeyboardNavigation']();}['getTemplate'](){const _0x2b59b6=this['bindTemplate'],_0x38f146=[{'tag':'div','attributes':{'class':['ck-suggestion__info','ck-annotation__info']},'children':[{'tag':'span','children':[{'text':this['userView']['name']}],'attributes':{'class':['ck-suggestion__info-name','ck-annotation__info-name'],'data-cke-tooltip-text':this['userView']['name']}},{'tag':'time','attributes':{'datetime':_0x2b59b6['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x2b59b6['to']('authoredAt',_0x3e418d=>this['_config']['formatDateTime'](_0x3e418d))}]}]},{'tag':'div','attributes':{'class':['ck-suggestion__actions','ck-annotation__actions']},'children':[this['acceptButton'],this['discardButton']]},{'tag':'div','attributes':{'class':['ck-annotation__content-wrapper']}}];return this['_model']['isExternal']&&_0x38f146['push']({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalSuggestionNote']()}]}),{'tag':'div','attributes':{'class':['ck-suggestion','ck-annotation'],'tabindex':-0x1},'children':[this['userView'],{'tag':'div','attributes':{'class':['ck-suggestion__main','ck-annotation__main'],'role':'presentation'},'children':_0x38f146}]};}['focus'](){this['element']['focus']();}['getUserViewNotificationText'](){return this['_model']['isExternal']?'importWord'===this['_model']['attributes']['@external']['source']?getTranslation$1(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator']['name']):getTranslation$1(this['locale'],'EXTERNAL_AVATAR',this['_model']['creator']['name']):null;}['getExternalSuggestionNote'](){return'importWord'===this['_model']['attributes']['@external']['source']?getTranslation$1(this['locale'],'EXTERNAL_IMPORT_WORD_SUGGESTION'):getTranslation$1(this['locale'],'EXTERNAL_SUGGESTION');}['_createButton'](_0x110f49,_0x145c48,_0x36ed8f,_0x277f19,_0x5d916b){const _0x2279ae=new LateFocusButtonView(this['locale']);return _0x2279ae['set']({'label':_0x110f49,'icon':_0x145c48,'tooltip':!0x0,'tooltipPosition':_0x5d916b}),_0x2279ae['extendTemplate']({'attributes':{'class':_0x36ed8f}}),_0x2279ae['on']('execute',()=>{this['fire'](_0x277f19,this['_model']['id']);}),_0x2279ae;}['_setupKeyboardNavigation'](){const _0xd37c5=this['element'];this['keystrokes']['listenTo'](_0xd37c5);for(const _0x4dae8e of this['focusables'])this['focusTracker']['add'](_0x4dae8e['element']),this['keystrokes']['listenTo'](_0x4dae8e['element']);this['keystrokes']['set']('enter',(_0x435a73,_0x54871d)=>{_0xd37c5===_0x435a73['target']&&(this['focusCycler']['focusFirst'](),_0x54871d());}),this['keystrokes']['set']('esc',(_0x2bccc4,_0x38fdec)=>{_0xd37c5!==_0x2bccc4['target']&&(this['focus'](),_0x38fdec());});}}class _0x117bd7 extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];['_suggestionToController'];['_viewToController'];['_annotationViews'];['_handleControllerBuffer'];['_disableComments'];static get['requires'](){return[TrackChangesEditing,_0x17009e,'CommentsRepository','Annotations','EditorAnnotations'];}static get['pluginName'](){return'TrackChangesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x34d6ed){super(_0x34d6ed),this['_suggestionToController']=new Map(),this['_viewToController']=new Map(),this['_annotationViews']=new Map(),this['_handleControllerBuffer']=new Map();const _0x2af22a=this['editor']['config'];_0x2af22a['define']('trackChanges.SuggestionThreadView',SuggestionThreadView),_0x2af22a['define']('trackChanges.SuggestionView',SuggestionView),_0x2af22a['define']('trackChanges.disableComments',!0x1),this['_disableComments']=_0x2af22a['get']('trackChanges.disableComments');}['_handleSuggestionControllerDelayed'](_0x214357,_0x9946a6){0x0===this['_handleControllerBuffer']['size']&&setTimeout(()=>{for(const [_0x5bcfe4,_0x1276d5]of this['_handleControllerBuffer']){const _0x5d637b=this['_suggestionToController']['has'](_0x5bcfe4);_0x5d637b||_0x1276d5?_0x5d637b&&_0x1276d5&&this['_destroyController'](_0x5bcfe4):this['_initializeController'](_0x5bcfe4);}this['_handleControllerBuffer']['clear'](),this['editor']['plugins']['get']('EditorAnnotations')['refreshSelectedViews'](),this['_refreshActiveMarkers']();},0xa),this['_handleControllerBuffer']['set'](_0x214357,_0x9946a6);}['init'](){const _0x4e503e=this['editor'],_0x46f0b7=_0x4e503e['plugins']['get']('TrackChangesEditing'),_0x1f2563=_0x4e503e['plugins']['get']('Annotations'),_0x44b124=_0x4e503e['plugins']['get']('EditorAnnotations'),_0x200852=_0x4e503e['plugins']['get']('CommentsRepository');this['_addUIComponentsToFactory'](),_0x44b124['addSourceCollector'](()=>{const _0x1e6981=[];for(const [_0x5d5d39,_0x56976c]of Array['from'](this['_suggestionToController'])){const _0x40d0ff=_0x5d5d39['getAllAdjacentSuggestions'](),_0x1e7170=[];for(const _0x5ce344 of _0x40d0ff){if(!_0x5ce344['isInContent'])continue;if(_0x5ce344['isMultiRange']){_0x1e7170['push'](..._0x5ce344['getRanges']());continue;}const _0x34fd0d=_0x5ce344['getFirstRange']();if(_0x1e7170['length']>0x0){const _0x1740fc=_0x1e7170[0x0]['getJoined'](_0x34fd0d);if(_0x1740fc){_0x1e7170[0x0]=_0x1740fc;continue;}}_0x1e7170['push'](_0x34fd0d);}_0x1e6981['push']([_0x56976c['view'],_0x1e7170]);}return _0x1e6981;}),this['listenTo'](_0x46f0b7,'suggestionLoaded',(_0x382ddf,_0x48e486)=>{this['listenTo'](_0x48e486,'change:previous',(_0x79bd25,_0x1e74ab,_0x2ca93e,_0x55b77c)=>{_0x48e486['isInContent']&&(null==_0x2ca93e?(this['_updateController'](_0x55b77c['head']),this['_handleSuggestionControllerDelayed'](_0x48e486,!0x1)):(this['_updateController'](_0x2ca93e['head']),null==_0x55b77c&&this['_handleSuggestionControllerDelayed'](_0x48e486,!0x0)));}),null!==_0x48e486['previous']?this['_updateController'](_0x48e486['head']):this['_handleSuggestionControllerDelayed'](_0x48e486,!0x1);}),this['listenTo'](_0x46f0b7,'suggestionUnloaded',(_0x493c28,_0x548451,_0x4adc2e)=>{this['stopListening'](_0x548451,'change:previous'),this['_handleControllerBuffer']['delete'](_0x548451),this['_suggestionToController']['has'](_0x548451)&&this['_destroyController'](_0x548451),_0x4adc2e&&this['_updateController'](_0x4adc2e['head']);}),this['listenTo'](_0x46f0b7,'suggestionChanged',(_0x3f4f01,_0x53e826)=>{this['_updateController'](_0x53e826);}),this['listenTo'](_0x1f2563,'change:activeAnnotations',()=>{this['_refreshActiveMarkers']();}),this['listenTo'](_0x200852,'addComment',(_0x1aa747,{threadId:_0x6f8134,isFromAdapter:_0x1c2957})=>{if(_0x1c2957||!_0x46f0b7['hasSuggestion'](_0x6f8134))return;const _0x140ca2=_0x46f0b7['getSuggestion'](_0x6f8134);this['_suggestionToController']['get'](_0x140ca2)['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x32a4c9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x137488;for(const _0xce3c2a in _0x32a4c9){const _0x5354d2=_0xce3c2a,_0x5217ca=_0x32a4c9[_0x5354d2];if('trackChangesLicenseKeyValid'==_0x5217ca||'trackChangesLicenseKeyInvalid'==_0x5217ca||'trackChangesLicenseKeyExpired'==_0x5217ca||'trackChangesLicenseKeyDomainLimit'==_0x5217ca||'trackChangesLicenseKeyNotAllowed'==_0x5217ca||'trackChangesLicenseKeyEvaluationLimit'==_0x5217ca||'trackChangesLicenseKeyUsageLimit'==_0x5217ca){delete _0x32a4c9[_0x5354d2],_0x137488=_0x5217ca,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'trackChangesLicenseKeyInvalid'==_0x137488&&_0x32a4c9['_showLicenseError']('invalid'),'trackChangesLicenseKeyExpired'==_0x137488&&_0x32a4c9['_showLicenseError']('expired'),'trackChangesLicenseKeyDomainLimit'==_0x137488&&_0x32a4c9['_showLicenseError']('domainLimit'),'trackChangesLicenseKeyNotAllowed'==_0x137488&&_0x32a4c9['_showLicenseError']('featureNotAllowed','TrackChanges'),'trackChangesLicenseKeyEvaluationLimit'==_0x137488&&_0x32a4c9['_showLicenseError']('evaluationLimit'),'trackChangesLicenseKeyUsageLimit'==_0x137488&&_0x32a4c9['_showLicenseError']('usageLimit');},0x3e8);}['getAnnotationForSuggestion'](_0x4098ee){const _0x1b4498=this['_suggestionToController']['get'](_0x4098ee);if(!_0x1b4498)return null;return this['editor']['plugins']['get']('Annotations')['getByInnerView'](_0x1b4498['view'])||null;}['getSuggestionForAnnotation'](_0x25be79){const _0x46b7f5=this['_viewToController']['get'](_0x25be79['innerView']);return _0x46b7f5?_0x46b7f5['model']:null;}['_refreshActiveMarkers'](){const _0x2b4709=this['editor']['plugins']['get']('Annotations'),_0x572871=this['editor']['plugins']['get']('TrackChangesEditing'),_0xfa021e=Array['from'](_0x2b4709['activeAnnotations'],_0x35aa28=>_0x35aa28['innerView'])['filter'](_0x59d7fe=>this['_viewToController']['has'](_0x59d7fe)),_0x5971e8=[];for(const _0x3c9193 of _0xfa021e){const _0x5b07ee=this['_viewToController']['get'](_0x3c9193)['model']['getAllAdjacentSuggestions']();_0x5971e8['push'](..._0x5b07ee['reduce']((_0x374f5f,_0xd6eb7c)=>[..._0x374f5f,..._0xd6eb7c['getMarkerNames']()],[]));}_0x572871['activeMarkers']=_0x5971e8;}['_addUIComponentsToFactory'](){const _0x344187=this['editor'],_0x1e5397=_0x344187['locale'],_0x10d956=getTranslation$1(_0x1e5397,'Track\x20changes'),_0x479ba1=new ckeditor5['Collection']([{'type':'switchbutton','model':new ckeditor5['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x10d956,'commandName':'trackChanges','role':'menuitemcheckbox'})},{'type':'separator'},{'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$1(_0x1e5397,'Accept\x20all\x20suggestions'),'commandName':'acceptAllSuggestions','role':'menuitem'})},{'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$1(_0x1e5397,'Accept\x20all\x20selected\x20suggestions'),'commandName':'acceptSelectedSuggestions','role':'menuitem'})},{'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$1(_0x1e5397,'Discard\x20all\x20suggestions'),'commandName':'discardAllSuggestions','role':'menuitem'})},{'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$1(_0x1e5397,'Discard\x20all\x20selected\x20suggestions'),'commandName':'discardSelectedSuggestions','role':'menuitem'})}]);_0x344187['plugins']['has']('TrackChangesPreview')&&_0x479ba1['addMany']([{'type':'separator'},{'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$1(_0x1e5397,'Preview\x20final\x20content'),'commandName':'previewFinalContent','role':'menuitem'})}]);for(const _0x4818cf of _0x479ba1)if(isListDropdownButtonDefinition(_0x4818cf)){const _0x2a15af=_0x344187['commands']['get'](_0x4818cf['model']['commandName']);_0x4818cf['model']['bind']('isOn','isEnabled')['to'](_0x2a15af,'value','isEnabled');}_0x344187['ui']['componentFactory']['add']('trackChanges',_0x4c05c7=>this['_createToolbarButton'](_0x4c05c7,_0x479ba1,_0x10d956)),_0x344187['ui']['componentFactory']['add']('menuBar:trackChanges',_0x971983=>this['_createMenuBarMenu'](_0x971983,_0x479ba1,_0x10d956));}['_createToolbarButton'](_0x258972,_0x1ab805,_0x28fe40){const _0x4eed20=ckeditor5['createDropdown'](_0x258972,ckeditor5['SplitButtonView']),_0x8aea34=this['editor']['commands']['get']('trackChanges');_0x4eed20['buttonView']['set']({'tooltip':_0x28fe40,'label':_0x28fe40,'icon':ckeditor5['IconTrackChanges']}),_0x4eed20['buttonView']['bind']('isOn')['to'](_0x8aea34,'value'),_0x4eed20['buttonView']['on']('execute',()=>{_0x8aea34['execute'](),this['editor']['editing']['view']['focus']();}),ckeditor5['addListToDropdown'](_0x4eed20,_0x1ab805,{'role':'menu'});const _0x55f2d=[];for(const _0x4b8510 of _0x1ab805)isListDropdownButtonDefinition(_0x4b8510)&&_0x55f2d['push'](this['editor']['commands']['get'](_0x4b8510['model']['commandName']));const _0x5ac427=_0x4eed20['buttonView'];return _0x5ac427['actionView']['unbind']('isEnabled'),_0x5ac427['arrowView']['unbind']('isEnabled'),_0x5ac427['actionView']['bind']('isEnabled')['to'](_0x8aea34,'isEnabled'),_0x5ac427['arrowView']['bind']('isEnabled')['toMany'](_0x55f2d,'isEnabled',(..._0x12b39d)=>_0x12b39d['some'](_0x1a4d27=>_0x1a4d27)),_0x4eed20['on']('execute',_0x11b395=>{this['editor']['execute'](_0x11b395['source']['commandName']),this['editor']['editing']['view']['focus']();}),_0x4eed20;}['_createMenuBarMenu'](_0x37ee75,_0x58230f,_0x2c8196){const _0x18d4fa=new ckeditor5['MenuBarMenuView'](_0x37ee75),_0x580d51=this['editor']['commands']['get']('trackChanges');_0x18d4fa['buttonView']['set']({'label':_0x2c8196,'icon':ckeditor5['IconTrackChanges']});const _0x528cfd=new ckeditor5['MenuBarMenuListView'](_0x37ee75);for(const _0x4af053 of _0x58230f){if('separator'==_0x4af053['type']){_0x528cfd['items']['add'](new ckeditor5['ListSeparatorView'](_0x37ee75));continue;}const _0xf4ddb7=new ckeditor5['MenuBarMenuListItemView'](_0x37ee75,_0x18d4fa),_0x236a03=new ckeditor5['MenuBarMenuListItemButtonView'](_0x37ee75),_0x422d89=_0x4af053['model'];_0x236a03['bind'](...Object['keys'](_0x422d89))['to'](_0x422d89),_0x236a03['delegate']('execute')['to'](_0x18d4fa),_0x236a03['on']('execute',()=>{this['editor']['execute'](_0x422d89['commandName']),this['editor']['editing']['view']['focus']();}),_0xf4ddb7['children']['add'](_0x236a03),_0x528cfd['items']['add'](_0xf4ddb7);}return _0x18d4fa['bind']('isEnabled')['to'](_0x580d51,'isEnabled'),_0x18d4fa['panelView']['children']['add'](_0x528cfd),_0x18d4fa;}['_initializeController'](_0x103db4){const _0x1509d2=this['editor'],_0x5b4f89=_0x1509d2['config'],_0x347e6a=_0x1509d2['plugins']['get']('Annotations'),_0x178e55=_0x1509d2['plugins']['get']('CommentsRepository'),_0x20eacf=_0x1509d2['plugins']['get']('EditorAnnotations'),_0x2bfb43=_0x1509d2['plugins']['get'](_0x17009e)['me'],_0x2d0f80=_0x5b4f89['get']('trackChanges')['SuggestionThreadView'],_0x5e8521=_0x5b4f89['get']('trackChanges')['SuggestionView'],{CommentsListView:_0x479e92,CommentThreadInputView:_0x2076ed}=_0x1509d2['plugins']['get']('CommentsUI');let _0x3f4c99,_0x43da6b,_0x387db4;this['_annotationViews']['has'](_0x103db4['id'])?(_0x43da6b=this['_annotationViews']['get'](_0x103db4['id']),_0x3f4c99=_0x43da6b['mainView']):(_0x3f4c99=new _0x2d0f80(_0x1509d2['locale'],_0x103db4,_0x2bfb43,{'disableComments':this['_disableComments'],'editorConfig':{..._0x5b4f89['get']('comments.editorConfig'),'licenseKey':_0x5b4f89['get']('licenseKey')},'maxCommentsWhenCollapsed':_0x5b4f89['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x5b4f89['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x5b4f89['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':getDateTimeFormatter(_0x5b4f89['get']('locale'),_0x1509d2['locale']),'CommentView':_0x5b4f89['get']('comments')['CommentView'],'CommentsListView':_0x479e92,'CommentThreadInputView':_0x2076ed,'SuggestionView':_0x5e8521}),_0x3f4c99['suggestionView']['acceptButton']['on']('execute',()=>{_0x1509d2['editing']['view']['focus']();}),_0x3f4c99['suggestionView']['discardButton']['on']('execute',()=>{_0x1509d2['editing']['view']['focus']();}),_0x43da6b=_0x347e6a['createAnnotationView'](this['editor']['locale'],_0x3f4c99),_0x43da6b['bind']('isDirty')['to'](_0x3f4c99,'isDirty'),_0x43da6b['bind']('length')['to'](_0x3f4c99),_0x43da6b['bind']('type')['to'](_0x3f4c99,'type',_0x6be13f=>'suggestion-'+_0x6be13f),_0x3f4c99['on']('escape',()=>{_0x387db4['fire']('escape');}),this['_annotationViews']['set'](_0x103db4['id'],_0x43da6b));const _0x4d7cdc=_0x178e55['createCommentThreadController'](_0x103db4['commentThread'],_0x3f4c99),_0x24b25d=new SuggestionController(_0x1509d2,_0x103db4,_0x3f4c99,_0x4d7cdc),_0x4f9098=_0x103db4['getAllAdjacentSuggestions']()['filter'](_0x47df89=>_0x47df89['isInContent']);_0x3f4c99['descriptionParts']=_0x1509d2['plugins']['get']('TrackChangesEditing')['descriptionFactory']['getDescriptions'](_0x4f9098),this['_suggestionToController']['set'](_0x103db4,_0x24b25d),this['_viewToController']['set'](_0x3f4c99,_0x24b25d);const _0x42596d=()=>{const _0x37d95f=[],_0xc47bc=_0x103db4['getAllAdjacentSuggestions']()['filter'](_0x2f8c05=>_0x2f8c05['isInContent']);for(const _0x55a85a of _0xc47bc)_0x37d95f['push'](..._0x55a85a['getMarkers']());return getAllMarkersDomElementsSorted(_0x1509d2['editing'],_0x37d95f);};_0x387db4=_0x347e6a['createAnnotation']({'view':_0x43da6b,'target':_0x42596d,'type':()=>'suggestion-'+_0x24b25d['view']['type'],'isVisible':!!_0x42596d()}),_0x178e55['_bindAnnotationToEditors'](_0x3f4c99,_0x387db4),_0x347e6a['add'](_0x387db4),_0x20eacf['registerAnnotation'](_0x387db4);}['_destroyController'](_0x530d0b){const _0x5e8e62=this['editor']['plugins']['get']('CommentsRepository'),_0x11e971=this['editor']['plugins']['get']('Annotations'),_0x3289b2=this['_suggestionToController']['get'](_0x530d0b),_0x2ed059=_0x3289b2['view'],_0x154479=_0x11e971['getByInnerView'](_0x2ed059);_0x5e8e62['_unbindEditors'](_0x2ed059),_0x154479&&_0x11e971['remove'](_0x154479),this['_suggestionToController']['delete'](_0x530d0b),this['_viewToController']['delete'](_0x2ed059),_0x3289b2['destroy']();}['_updateController'](_0x17e863){if(!_0x17e863['isInContent']||!this['_suggestionToController']['has'](_0x17e863))return;const _0x38a58f=this['editor']['plugins']['get']('TrackChangesEditing'),_0x1809fa=this['_suggestionToController']['get'](_0x17e863),_0x338365=_0x17e863['getAllAdjacentSuggestions']();_0x1809fa['view']['descriptionParts']=_0x38a58f['descriptionFactory']['getDescriptions'](_0x338365);}['destroy'](){for(const _0x1d79b3 of this['_suggestionToController']['keys']())this['_destroyController'](_0x1d79b3);for(const _0x1bf8be of this['_annotationViews']['values']())_0x1bf8be['mainView']['destroy']();super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function isListDropdownButtonDefinition(_0x37ec0a){return'model'in _0x37ec0a;}class _0x2cd70f extends ckeditor5['Plugin']{static get['requires'](){return[TrackChangesEditing,_0x117bd7,'Comments'];}static get['pluginName'](){return'TrackChanges';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}set['adapter'](_0x53d35a){this['editor']['plugins']['get'](TrackChangesEditing)['adapter']=_0x53d35a;}get['adapter'](){return this['editor']['plugins']['get'](TrackChangesEditing)['adapter'];}['addSuggestion'](_0x9dce53){return this['editor']['plugins']['get'](TrackChangesEditing)['addSuggestionData'](_0x9dce53);}['getSuggestions']({skipNotAttached:_0x165f73=!0x1,toJSON:_0x57c908=!0x1}={}){return this['editor']['plugins']['get'](TrackChangesEditing)['getSuggestions']({'skipNotAttached':_0x165f73,'toJSON':_0x57c908});}['getSuggestion'](_0x5651bd){return this['editor']['plugins']['get'](TrackChangesEditing)['getSuggestion'](_0x5651bd);}}const blackListedPlugins=['Pagination'];class TrackChangesData extends ckeditor5['Plugin']{static get['requires'](){return[TrackChangesEditing];}static get['pluginName'](){return'TrackChangesData';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x269177=this['editor'];if(_0x269177['config']['define']('trackChangesData.editorCreator',_0x390c68=>{const _0x23639f=_0x269177['model']['document']['getRootNames']()['reduce']((_0x17e1e4,_0x1038b3)=>(_0x17e1e4[_0x1038b3]='',_0x17e1e4),{});return _0x269177['constructor']['create'](_0x23639f,_0x390c68);}),'function'!=typeof _0x269177['config']['get']('trackChangesData')['editorCreator'])throw new ckeditor5['CKEditorError']('track-changes-data-invalid-editor-creator');}['getDataWithAcceptedSuggestions'](_0x45a2ed){return getTrackChangesData(this['editor'],!0x0,_0x45a2ed);}['getDataWithDiscardedSuggestions'](_0x15935f){return getTrackChangesData(this['editor'],!0x1,_0x15935f);}}class TrackChangesDataGetter extends ckeditor5['Plugin']{['result'];static get['pluginName'](){return'TrackChangesDataGetter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xafc1f8){function _0x14a46a(_0x1c7b9c){return _0x1c7b9c['map'](_0x409dac=>String['fromCharCode'](_0x409dac))['join']('');}super(_0xafc1f8),this['result']='end',_0xafc1f8[_0x14a46a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x14a46a([0x76,0x69,0x65,0x77])][_0x14a46a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x14a46a([0x61,0x75,0x74,0x6f]),_0xafc1f8[_0x14a46a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x14a46a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x14a46a([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x14a46a([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x14a46a([0x6f,0x6b])});}['init'](){this['editor']['plugins']['get']('CommentsRepository')['_adapter']={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this['editor']['plugins']['get']('TrackChangesEditing')['_adapter']=null;}}function isMultiRootEditor$1(_0x2b88cd){return void 0x0!==_0x2b88cd['getRootsAttributes'];}async function getTrackChangesData(_0x39e1c2,_0x1b5335,_0x56c2ab){const _0x16df58=sanitizeEditorConfig(_0x39e1c2,blackListedPlugins);_0x16df58['plugins']['push'](TrackChangesEditing,TrackChangesDataGetter),_0x16df58['rootsAttributes']=isMultiRootEditor$1(_0x39e1c2)?_0x39e1c2['getRootsAttributes']():void 0x0;const _0x253ba9=document['createDocumentFragment'](),_0x39779b=_0x39e1c2['config']['get']('trackChangesData')['editorCreator'],_0x4293a2=await _0x39779b(_0x16df58,()=>createAttachedElement(_0x253ba9));copyEditorData(_0x39e1c2,_0x4293a2),_0x4293a2['execute'](_0x1b5335?'acceptAllSuggestions':'discardAllSuggestions');const _0x3247ea=isMultiRootEditor$1(_0x4293a2)?_0x4293a2['getFullData'](_0x56c2ab):_0x4293a2['data']['get'](_0x56c2ab);return await _0x4293a2['destroy'](),_0x3247ea;}function copyEditorData(_0x4b65b2,_0x1f68f6){const _0x37ec2a=_0x4b65b2['model']['document']['getRootNames']()['reduce']((_0x5bfff0,_0x506a0b)=>(_0x5bfff0[_0x506a0b]=_0x4b65b2['data']['get']({'rootName':_0x506a0b}),_0x5bfff0),{}),_0x51a3c0=_0x4b65b2['plugins']['get']('Users')['users']['map'](_0x462a27=>({'id':_0x462a27['id'],'name':_0x462a27['name']})),_0xd1b73a=_0x4b65b2['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x310b97=_0x4b65b2['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x3e9eea=_0x1f68f6['plugins']['get']('Users'),_0x3ac6ae=_0x1f68f6['plugins']['get']('TrackChangesEditing'),_0x43dd18=_0x1f68f6['plugins']['get']('CommentsRepository');for(const _0x23d560 of _0x43dd18['getCommentThreads']())_0x23d560['remove']();for(const _0x53e8ed of _0x51a3c0)_0x3e9eea['getUser'](_0x53e8ed['id'])||_0x3e9eea['addUser'](_0x53e8ed);_0x3e9eea['me']||_0x3e9eea['useAnonymousUser']();for(const _0x1e9034 of _0x310b97)_0x43dd18['addCommentThread'](_0x1e9034);for(const _0xb82258 of _0xd1b73a)_0x3ac6ae['addSuggestionData'](_0xb82258);_0x1f68f6['data']['set'](_0x37ec2a);}function createAttachedElement(_0x288cfa){const _0x407dba=document['createElement']('div');return _0x288cfa['appendChild'](_0x407dba),_0x407dba;}class _0x35540e extends ckeditor5['View']{['options'];constructor(_0x4b58b2,_0x268adc){super(_0x4b58b2),this['options']=_0x268adc,this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-track-changes-preview'],'tabindex':-0x1}});}['render'](){super['render'](),this['element']['style']['width']=this['options']['dialogRects']['width']+'px',this['element']['style']['height']=this['options']['dialogRects']['height']+'px';}['setPreviewData'](_0x257433,_0x4b67e7){if(!this['element'])return;const _0x35de33=[];for(const [_0x240ecd,_0x1d0d37]of _0x257433){const _0x460e50=document['createElement']('div');_0x460e50['setAttribute']('data-ck-root-name',_0x240ecd),_0x460e50['className']=_0x1d0d37['classes']+'\x20ck-track-changes-preview__root-container',_0x460e50['innerHTML']=_0x1d0d37['content'],_0x35de33['push'](_0x460e50);}_0x4b67e7(this['element'],_0x35de33),this['element']['style']['height']='',this['fire']('previewDataReady');}['focus'](){this['element']['focus']();}}class PreviewFinalContentCommand extends ckeditor5['Command']{constructor(_0x4845d9){super(_0x4845d9),this['affectsData']=!0x1,this['isEnabled']=!0x0;}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x3568a2=this['editor'],_0x5865be=_0x3568a2['locale'],_0x4ec67d=_0x3568a2['plugins']['get']('Dialog');let _0x1dfee0;const _0x523bf6=getEditables(_0x3568a2),_0x11696d=calculateDialogRects(_0x523bf6);_0x4ec67d['show']({'id':'finalContentPreview','title':getTranslation$1(_0x5865be,'Final\x20content\x20preview'),'isModal':!0x0,'className':'ck-track-changes-preview-dialog','content':new _0x35540e(_0x5865be,{'dialogRects':_0x11696d}),'onHide':()=>{_0x1dfee0['detachFromDom']();},'onShow':()=>{_0x3568a2['plugins']['get']('TrackChangesData')['getDataWithAcceptedSuggestions']({...this['_getMergeFieldsData']()})['then'](_0x1a5bb6=>{const _0xd78964=this['_standarizeRootsData'](_0x1a5bb6,_0x3568a2,_0x523bf6);_0x4ec67d['view']['contentView']['children']['get'](0x0)['setPreviewData'](_0xd78964,_0x3568a2['config']['get']('trackChanges.preview.renderFunction'));}),_0x1dfee0=new ckeditor5['BodyCollection'](_0x5865be,[_0x4ec67d['view']]),_0x1dfee0['attachToDom'](),_0x1dfee0['bodyCollectionContainer']['classList']['remove']('ck-reset_all'),_0x3568a2['once']('destroy',()=>{_0x1dfee0['detachFromDom']();});const _0x1fad98=_0x4ec67d['view']['headerView']['class'];_0x4ec67d['view']['headerView']['class']=_0x1fad98?_0x1fad98+'\x20ck-reset_all':'ck-reset_all',_0x4ec67d['view']['contentView']['children']['get'](0x0)['on']('previewDataReady',()=>{_0x4ec67d['view']['updatePosition']();});}});}['_getMergeFieldsData'](){if(!this['editor']['plugins']['has']('MergeFieldsEditing'))return{};const _0x198a88=this['editor']['plugins']['get']('MergeFieldsEditing'),_0x1fcd61=_0x198a88['previewMode'],_0x344592={};if('$labels'===_0x1fcd61){for(const _0x517cc3 of _0x198a88['getMergeFieldsIds']())_0x344592[_0x517cc3]=_0x198a88['getLabel'](_0x517cc3)||_0x517cc3;}else{const _0x478d09='$defaultValues'===_0x1fcd61?_0x198a88['getDefaultValues']():_0x198a88['getDataSetValues'](_0x1fcd61,!0x0);for(const _0x4c8133 of Object['entries'](_0x478d09)){const [_0x3ab786,_0x1a5591]=_0x4c8133;_0x344592[_0x3ab786]=null!==_0x1a5591?_0x1a5591:_0x198a88['getLabel'](_0x3ab786)||_0x3ab786;}}return{'mergeFieldsData':_0x344592};}['_standarizeRootsData'](_0x24b6ff,_0xaccb20,_0x2cef0c){let _0x21588e;if('string'==typeof _0x24b6ff){const _0x4aeee9=_0xaccb20['model']['document']['getRootNames']()[0x0];_0x21588e={[_0x4aeee9]:_0x24b6ff};}else _0x21588e=_0x24b6ff;const _0x3df4e3=this['_fixMediaEmbeds'](_0x21588e,_0xaccb20);return addEditableClasses(this['_sortRoots'](_0xaccb20)['reduce']((_0x5790d4,_0x2a8db9)=>(_0x5790d4['push']([_0x2a8db9,{'content':_0x3df4e3[_0x2a8db9],'classes':''}]),_0x5790d4),[]),_0x2cef0c);}['_fixMediaEmbeds'](_0x4d3aaf,_0x5ed47d){if(!_0x5ed47d['plugins']['has']('MediaEmbedEditing'))return _0x4d3aaf;const _0x58504c=_0x5ed47d['plugins']['get']('MediaEmbedEditing');for(const [_0x55590f,_0x1556d3]of Object['entries'](_0x4d3aaf)){const _0x480864=document['createElement']('div');_0x480864['innerHTML']=_0x1556d3,(_0x480864['querySelectorAll']('figure.media')['forEach'](_0x3d0f6a=>{const _0x4bde95=_0x3d0f6a['querySelector']('oembed');if(_0x4bde95){const _0x5ecd0b=_0x4bde95['getAttribute']('url');if(_0x5ecd0b){const _0x463848=_0x58504c['registry']['getMediaViewElement'](new ckeditor5['ViewDowncastWriter'](_0x5ed47d['editing']['view']['document']),_0x5ecd0b,{'elementName':'','renderForEditingView':!0x0}),_0x60150a=document['createElement']('div');_0x60150a['classList']['add']('ck-media__wrapper'),_0x463848['render'](_0x60150a,_0x5ed47d['editing']['view']['domConverter']),_0x4bde95['replaceWith'](_0x60150a);}}}),_0x4d3aaf[_0x55590f]=_0x480864['innerHTML']);}return _0x4d3aaf;}['_sortRoots'](_0x44f097){if(!isMultiRootEditor(_0x44f097))return _0x44f097['model']['document']['getRootNames']();const _0x3dd116=[],_0x4d6063=new Map();for(const _0xeae36 of _0x44f097['model']['document']['getRootNames']()){const _0x48563c=_0x44f097['editing']['view']['getDomRoot'](_0xeae36)['getClientRects']()['item'](0x0);_0x3dd116['push'](_0xeae36),_0x4d6063['set'](_0xeae36,_0x48563c);}return _0x3dd116['sort']((_0x9bc451,_0x2ed83b)=>{const _0x48016d=_0x4d6063['get'](_0x9bc451),_0xaef1e2=_0x4d6063['get'](_0x2ed83b);return _0x48016d['y']-_0xaef1e2['y']||_0x48016d['x']-_0xaef1e2['x'];}),_0x3dd116;}}function getEditables(_0x272e46){const _0x5d26a0={};if('editables'in _0x272e46['ui']['view']){for(const [_0x1cd55b,_0x9c4622]of Object['entries'](_0x272e46['ui']['view']['editables']))_0x5d26a0[_0x1cd55b]=_0x9c4622['element'];}else _0x5d26a0[_0x272e46['model']['document']['getRootNames']()[0x0]]=_0x272e46['ui']['view']['editable']['element'];return _0x5d26a0;}function calculateDialogRects(_0x3eac6e){let _0x355ac5=0x0;for(const _0x38c45b of Object['values'](_0x3eac6e))_0x355ac5=Math['max'](_0x355ac5,_0x38c45b['getBoundingClientRect']()['width']);let _0xc917d8=0x0;for(const _0x2782e7 of Object['values'](_0x3eac6e))_0xc917d8+=_0x2782e7['getBoundingClientRect']()['height'];const _0x1efbc8=0.8*Math['max'](document['documentElement']['clientHeight'],window['innerHeight']);return{'width':_0x355ac5,'height':Math['min'](_0xc917d8,_0x1efbc8)};}function addEditableClasses(_0x1777ad,_0x260567){for(const [_0x334642,_0xde888f]of _0x1777ad)_0xde888f['classes']=_0x260567[_0x334642]['classList']['value']['replace']('ck-focused','');return _0x1777ad;}function isMultiRootEditor(_0x4b052c){return void 0x0!==_0x4b052c['getRootsAttributes'];}class _0x490bdb extends ckeditor5['Plugin']{static get['requires'](){return[TrackChangesData,ckeditor5['Dialog']];}static get['pluginName'](){return'TrackChangesPreview';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x27cc38){super(_0x27cc38),_0x27cc38['commands']['add']('previewFinalContent',new PreviewFinalContentCommand(this['editor'])),_0x27cc38['config']['define']('trackChanges.preview.renderFunction',(_0x1faa17,_0x310766)=>{for(const _0x2679a3 of _0x310766)_0x1faa17['appendChild'](_0x2679a3);});}}var _0x4d4e15=function(_0x37f447){return _0x37f447['Local']='local',_0x37f447['URL']='url',_0x37f447['Dropbox']='dropbox',_0x37f447['GDrive']='gdrive',_0x37f447['Facebook']='facebook',_0x37f447['GPhotos']='gphotos',_0x37f447['OneDrive']='onedrive',_0x37f447;}({});function getTranslation(_0x7ca591,_0x24f0a3,_0x30210b){const t=_0x7ca591['t'],_0x16d9f4=_0x7ca591['t'];switch(_0x24f0a3){case _0x4d4e15['Local']:return{'text':_0x16d9f4('Insert'===_0x30210b?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x16d9f4('From\x20computer')};case _0x4d4e15['URL']:return{'text':'Insert'===_0x30210b?_0x16d9f4('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x16d9f4('Via\x20URL')};case _0x4d4e15['Dropbox']:return{'text':t('Insert'===_0x30210b?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x4d4e15['Facebook']:return{'text':t('Insert'===_0x30210b?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x4d4e15['GDrive']:return{'text':t('Insert'===_0x30210b?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x4d4e15['GPhotos']:return{'text':t('Insert'===_0x30210b?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x4d4e15['OneDrive']:return{'text':t('Insert'===_0x30210b?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x24f0a3;}}class _0x50ac83 extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'UploadcareUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2d4265=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x443c9f;for(const _0x3a226b in _0x2d4265){const _0x2f8a34=_0x3a226b,_0x4b80e6=_0x2d4265[_0x2f8a34];if('uploadcareLicenseKeyValid'==_0x4b80e6||'uploadcareLicenseKeyInvalid'==_0x4b80e6||'uploadcareLicenseKeyExpired'==_0x4b80e6||'uploadcareLicenseKeyDomainLimit'==_0x4b80e6||'uploadcareLicenseKeyNotAllowed'==_0x4b80e6||'uploadcareLicenseKeyEvaluationLimit'==_0x4b80e6||'uploadcareLicenseKeyUsageLimit'==_0x4b80e6){delete _0x2d4265[_0x2f8a34],_0x443c9f=_0x4b80e6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x443c9f&&_0x2d4265['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x443c9f&&_0x2d4265['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x443c9f&&_0x2d4265['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x443c9f&&_0x2d4265['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x443c9f&&_0x2d4265['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x443c9f&&_0x2d4265['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x350438}=this,_0x46a732=_0x350438['commands']['get']('uploadcare');if(!_0x46a732)return;const _0x5f52e6=this['_normalizeConfigSourceList'](_0x350438['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x27d2ae,_0x4c9a1e)=>{const _0x82396d=this['_getIntegrationKey'](_0x4c9a1e['type']);return _0x27d2ae[_0x82396d]||(_0x27d2ae[_0x82396d]=[]),_0x27d2ae[_0x82396d]['push'](_0x4c9a1e),_0x27d2ae;},{});_0x350438['plugins']['has']('ImageInsertUI')&&_0x350438['commands']['get']('uploadcare')&&Object['entries'](_0x5f52e6)['forEach'](([_0x378e87,_0x45450d])=>{_0x350438['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x378e87,'observable':()=>_0x46a732,'buttonViewCreator':()=>this['_createToolbarButton'](_0x45450d),'formViewCreator':()=>this['_createDropdownButtons'](_0x45450d),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x45450d),'override':'assetManager'!==_0x378e87});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x4d7a7c){const {locale:_0x9070d4}=this['editor'];return _0x4d7a7c['map'](_0x236063=>{const _0x4ac1d7=getTranslation(_0x9070d4,_0x236063,'Insert');switch(_0x236063){case _0x4d4e15['Local']:return{'icon':ckeditor5['IconUploadcareImageUpload'],'type':_0x4d4e15['Local'],..._0x4ac1d7};case _0x4d4e15['URL']:return{'icon':ckeditor5['IconUploadcareLink'],'type':_0x4d4e15['URL'],..._0x4ac1d7};case _0x4d4e15['Dropbox']:return{'icon':ckeditor5['IconDropbox'],'type':_0x4d4e15['Dropbox'],..._0x4ac1d7};case _0x4d4e15['Facebook']:return{'icon':ckeditor5['IconFacebook'],'type':_0x4d4e15['Facebook'],..._0x4ac1d7};case _0x4d4e15['GDrive']:return{'icon':ckeditor5['IconGoogleDrive'],'type':_0x4d4e15['GDrive'],..._0x4ac1d7};case _0x4d4e15['GPhotos']:return{'icon':ckeditor5['IconGooglePhotos'],'type':_0x4d4e15['GPhotos'],..._0x4ac1d7};case _0x4d4e15['OneDrive']:return{'icon':ckeditor5['IconOneDrive'],'type':_0x4d4e15['OneDrive'],..._0x4ac1d7};}});}['_getIntegrationKey'](_0x5c92ad){switch(_0x5c92ad){case _0x4d4e15['Local']:return'upload';case _0x4d4e15['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x43b22f,_0x3721db){const _0x3645ff=this['editor'],_0x410c81=new _0x43b22f(_0x3645ff['locale']),_0x38d024=_0x3645ff['commands']['get']('uploadcare');return _0x410c81['bind']('isEnabled')['to'](_0x38d024),_0x410c81['on']('execute',()=>{_0x38d024['execute'](_0x3721db);}),_0x410c81;}['_createToolbarButton'](_0x2dfd8a){const {locale:_0x60de72}=this['editor'],_0x39c88a=this['editor']['plugins']['get']('ImageInsertUI'),_0x52e08e=_0x2dfd8a[0x0],_0x5f558b=this['_createButton'](ckeditor5['ButtonView'],_0x52e08e['type']);return _0x5f558b['icon']=_0x52e08e['icon'],_0x5f558b['bind']('label')['to'](_0x39c88a,'isImageSelected',_0x377351=>getTranslation(_0x60de72,_0x52e08e['type'],_0x377351?'Replace':'Insert')['text']),_0x5f558b['tooltip']=!0x0,_0x5f558b;}['_createDropdownButtons'](_0x1a27ca){const {locale:_0x392ef2}=this['editor'],_0x4f595b=this['editor']['plugins']['get']('ImageInsertUI');return _0x1a27ca['map'](_0x231f9b=>{const _0x59061e=this['_createButton'](ckeditor5['ButtonView'],_0x231f9b['type']);return _0x59061e['withText']=!0x0,_0x59061e['icon']=_0x231f9b['icon'],_0x59061e['bind']('label')['to'](_0x4f595b,'isImageSelected',_0x3bf682=>getTranslation(_0x392ef2,_0x231f9b['type'],_0x3bf682?'Replace':'Insert')['text']),_0x59061e;});}['_createMenuBarButtons'](_0x59372c){return _0x59372c['map'](_0x40e7a1=>{const _0xee15e6=this['_createButton'](ckeditor5['MenuBarMenuListItemButtonView'],_0x40e7a1['type']);return _0xee15e6['icon']=_0x40e7a1['icon'],_0xee15e6['label']=_0x40e7a1['shortText'],_0xee15e6;});}}class _0x37123c extends ckeditor5['View']{['focusTracker'];['focusCycler'];constructor(_0x1ee447){super(_0x1ee447),this['focusTracker']=new ckeditor5['FocusTracker'](),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class _0x564b59 extends _0x37123c{constructor(_0x94646a,_0x5beac8){super(_0x94646a),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader-'+_0x5beac8}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function createEditabilityChecker(_0x2d7a9d){const _0x45fa50=createUrlChecker(_0x2d7a9d);return _0xef2561=>!(!_0xef2561||!_0xef2561['is']('element','imageBlock')&&!_0xef2561['is']('element','imageInline'))&&(!!_0xef2561['hasAttribute']('uploadcareImageId')||!!_0xef2561['hasAttribute']('src')&&_0x45fa50(_0xef2561['getAttribute']('src')));}function getImageUrls(_0x3de723,_0xeb7d76){const _0x212c9e=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x4deb19=>_0x4deb19<=_0xeb7d76)['map'](_0x4b084a=>_0x3de723['replace'](/\/$/,'')+'/-/resize/'+_0x4b084a+'x/\x20'+_0x4b084a+'w');return{'imageFallbackUrl':_0x3de723,'imageSources':[{'srcset':_0x212c9e['join'](',\x20'),'sizes':'(max-width:\x20'+_0xeb7d76+'px)\x20100vw,\x20'+_0xeb7d76+'px','type':'image/webp'}]};}function getImageDimension(_0x538ebf,_0x1ee89c,_0x5af073){const _0x35c323=_0x538ebf['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x35c323?parseInt(_0x35c323[0x1],0xa):_0x1ee89c,'height':_0x35c323?parseInt(_0x35c323[0x2],0xa):_0x5af073};}function showImageProcessingIndicator(_0x116bed,_0x4f602f){const _0x314f4f=new(ckeditor5['DomEmitterMixin']())(),_0x3551c6=_0x116bed['plugins']['get']('ImageUtils'),_0x32d11c=_0x116bed['editing']['mapper']['toViewElement'](_0x4f602f),_0x5e5004=_0x3551c6['findViewImgElement'](_0x32d11c),_0xd246b4=_0x116bed['editing']['view']['domConverter']['viewToDom'](_0x5e5004),_0xe25b6=_0x4f602f['getAttribute']('width'),_0x3a3b3a=_0x4f602f['getAttribute']('height'),_0x8872b0='image-processing';_0x116bed['editing']['view']['change'](_0x1f1903=>{_0x1f1903['addClass'](_0x8872b0,_0x32d11c),_0x1f1903['setStyle']('aspect-ratio',_0xe25b6+'/'+_0x3a3b3a,_0x5e5004);}),_0x314f4f['listenTo'](_0xd246b4,'load',()=>{_0x314f4f['stopListening'](_0xd246b4,'load'),_0x116bed['editing']['view']['change'](_0x1b428f=>{_0x1b428f['removeClass'](_0x8872b0,_0x32d11c),_0x1b428f['removeStyle']('aspect-ratio',_0x5e5004);});});}function createUrlChecker(_0x4fd077){if(Array['isArray'](_0x4fd077)){const _0x1acb1e=_0x4fd077['map'](createUrlChecker);return _0x5a25b1=>_0x1acb1e['some'](_0x4d40fb=>_0x4d40fb(_0x5a25b1));}if('origin'==_0x4fd077){const _0x245d25=ckeditor5['global']['window']['location']['origin'];return _0x35cd65=>new URL(_0x35cd65,ckeditor5['global']['document']['baseURI'])['origin']==_0x245d25;}return'function'==typeof _0x4fd077?_0x4fd077:_0x4fd077 instanceof RegExp?_0x5386e2=>!(!_0x5386e2['match'](_0x4fd077)&&!_0x5386e2['replace'](/^https?:\/\//,'')['match'](_0x4fd077)):()=>!0x1;}function isAncestor(_0x1b31b6,_0xae0d4b){return ckeditor5['getAncestors'](_0x1b31b6['target'])['includes'](_0xae0d4b);}class UploadcareController extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x5810e2,_0x20bf6a,_0x5139f4){super(),this['_editor']=_0x5810e2,this['_editing']=_0x20bf6a,this['_dialog']=_0x5810e2['plugins']['get'](ckeditor5['Dialog']),this['_api']=_0x20bf6a['ctxElement']['getAPI'](),this['_type']=_0x5139f4,this['_editing']['configElement']['setAttribute']('source-list',this['_type']),this['_initDialog'](),this['_initListeners'](),this['_api']['initFlow']();}['destroy'](){this['_formView']&&(this['_formView']['destroy'](),this['_formView']=null),this['_api']&&this['_api']['doneFlow'](),this['stopListening'](),this['stopDelegating']();}['_initDialog'](){const {locale:_0x4860cb,model:_0x35820a}=this['_editor'],_0x2448fd=_0x35820a['document']['selection']['getSelectedElement'](),_0x11b74a=_0x2448fd&&(_0x2448fd['is']('element','imageBlock')||_0x2448fd['is']('element','imageInline'));this['_formView']=new _0x564b59(_0x4860cb,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':ckeditor5['IconUploadcareImageUpload'],'title':getTranslation(_0x4860cb,this['_type'],_0x11b74a?'Replace':'Insert')['text'],'content':this['_formView'],'position':ckeditor5['DialogViewPosition']['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3d4af4=>!isAncestor(_0x3d4af4,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x5ee3c3}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x1c584a=>{const _0x32e66a=_0x5ee3c3['length'];for(const _0x588953 of _0x5ee3c3){const _0x17330f=_0x588953===_0x5ee3c3[_0x32e66a-0x1],{cdnUrl:_0x3a6efc,fileInfo:_0x3b8e59}=_0x588953;if(!_0x3a6efc||!_0x3b8e59)continue;const {width:_0x51a916,height:_0x3d55bf}=_0x3b8e59['imageInfo'],_0x3132e0=getImageDimension(_0x3a6efc,_0x51a916,_0x3d55bf),_0x249f87=getImageUrls(_0x3a6efc,_0x3132e0['width']),_0x5b697d={'id':_0x3b8e59['uuid'],'type':'image','attributes':{'imageDimension':_0x3132e0,..._0x249f87}};this['_insertAsset'](_0x5b697d,_0x17330f,_0x1c584a);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x259b33=>{'idle'===_0x259b33['detail']['status']&&!_0x259b33['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===_0x4d4e15['Local']?this['_api']['setCurrentActivity'](_0x4d4e15['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x1bffac,_0x24d00c,_0x22c836){const _0x30defd=this['_editor']['model']['document']['selection'],_0x8c7f45=_0x30defd['getSelectedElement'](),_0x2f10d7=!(!_0x8c7f45||!_0x8c7f45['is']('element','imageInline'));_0x22c836['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x1bffac,_0x2f10d7),_0x24d00c||_0x22c836['setSelection'](_0x30defd['getLastPosition']());}['_insertImage'](_0x246260,_0x5a894f){const _0x36fda5=this['_editor'],{imageDimension:_0x2656b2,imageFallbackUrl:_0x36e03b,imageSources:_0x3cc4cc}=_0x246260['attributes'];_0x36fda5['execute']('insertImage',{'imageType':_0x5a894f?'imageInline':null,'source':{'uploadcareImageId':_0x246260['id'],'src':_0x36e03b,'sources':_0x3cc4cc,..._0x2656b2}});}}class _0x2c3464 extends ckeditor5['Command']{['_editing'];['_controller']=null;static get['requires'](){return[ckeditor5['Dialog'],UploadcareEditing];}constructor(_0x28d6a1){super(_0x28d6a1),this['_editing']=_0x28d6a1['plugins']['get'](UploadcareEditing);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x19b74e){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new UploadcareController(this['editor'],this['_editing'],_0x19b74e);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}function isObject$1(_0x4c916d){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x4c916d);}const _0x335cf8=/\W|_/g;function camelizeString$1(_0x4d5500){return _0x4d5500['split'](_0x335cf8)['map']((_0x151cf7,_0x11454a)=>_0x151cf7['charAt'](0x0)[_0x11454a>0x0?'toUpperCase':'toLowerCase']()+_0x151cf7['slice'](0x1))['join']('');}function camelizeArrayItems$1(_0x34b184,{ignoreKeys:_0x3c687c}={'ignoreKeys':[]}){return Array['isArray'](_0x34b184)?_0x34b184['map'](_0x57c312=>_0x485adb(_0x57c312,{'ignoreKeys':_0x3c687c})):_0x34b184;}function _0x485adb(_0x4883bd,{ignoreKeys:_0x12842b}={'ignoreKeys':[]}){if(Array['isArray'](_0x4883bd))return camelizeArrayItems$1(_0x4883bd,{'ignoreKeys':_0x12842b});if(!isObject$1(_0x4883bd))return _0x4883bd;const _0x3b013b={};for(const _0x2df6be of Object['keys'](_0x4883bd)){let _0x200540=_0x4883bd[_0x2df6be];_0x12842b['includes'](_0x2df6be)?_0x3b013b[_0x2df6be]=_0x200540:(isObject$1(_0x200540)?_0x200540=_0x485adb(_0x200540,{'ignoreKeys':_0x12842b}):Array['isArray'](_0x200540)&&(_0x200540=camelizeArrayItems$1(_0x200540,{'ignoreKeys':_0x12842b})),_0x3b013b[camelizeString$1(_0x2df6be)]=_0x200540);}return _0x3b013b;}const _0x1914b3=_0x458b80=>new Promise(_0x5e3b58=>setTimeout(_0x5e3b58,_0x458b80));function getUserAgent$1$1({libraryName:_0xc8feb3,libraryVersion:_0x15845d,userAgent:_0x53d9f7,publicKey:_0xb32116='',integration:_0x5bdc66=''}){const _0x293d80='JavaScript';if('string'==typeof _0x53d9f7)return _0x53d9f7;if('function'==typeof _0x53d9f7)return _0x53d9f7({'publicKey':_0xb32116,'libraryName':_0xc8feb3,'libraryVersion':_0x15845d,'languageName':_0x293d80,'integration':_0x5bdc66});return[_0xc8feb3,_0x15845d,_0xb32116]['filter'](Boolean)['join']('/')+'\x20('+[_0x293d80,_0x5bdc66]['filter'](Boolean)['join'](';\x20')+')';}const defaultOptions$1={'factor':0x2,'time':0x64};function retrier$1(_0x26065b,_0x284c19=defaultOptions$1){let _0x4dc333=0x0;return function _0xd212c2(_0x3b4213){const _0x17ab5b=Math['round'](_0x284c19['time']*_0x284c19['factor']**_0x4dc333);return _0x3b4213({'attempt':_0x4dc333,'retry':_0x938f1c=>_0x1914b3(_0x938f1c??_0x17ab5b)['then'](()=>(_0x4dc333+=0x1,_0xd212c2(_0x3b4213)))});}(_0x26065b);}let _0x21b862=class extends Error{},NetworkError$1=class _0x13e4d6 extends _0x21b862{['originalProgressEvent'];constructor(_0x473294){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,_0x13e4d6['prototype']),this['originalProgressEvent']=_0x473294;}};const _0x19f29e=(_0x1e9597,_0x3a167f)=>{_0x1e9597&&(_0x1e9597['aborted']?Promise['resolve']()['then'](_0x3a167f):_0x1e9597['addEventListener']('abort',()=>_0x3a167f(),{'once':!0x0}));};let _0x3eea97=class _0x1d0230 extends _0x21b862{['isCancel']=!0x0;constructor(_0x5c714d='Request\x20canceled'){super(_0x5c714d),this['name']='CancelError',Object['setPrototypeOf'](this,_0x1d0230['prototype']);}};const _0x1b8325=0x1f4,_0x2262e8=({check:_0x5d2c41,interval:_0x353164=_0x1b8325,timeout:_0x2821e1,signal:_0x133282})=>new Promise((_0x2f1a87,_0x6a44c0)=>{let _0x497099,_0x3f228a;_0x19f29e(_0x133282,()=>{_0x497099&&clearTimeout(_0x497099),_0x6a44c0(new _0x3eea97('Poll\x20cancelled'));}),_0x2821e1&&(_0x3f228a=setTimeout(()=>{_0x497099&&clearTimeout(_0x497099),_0x6a44c0(new _0x3eea97('Timed\x20out'));},_0x2821e1));const _0x54459e=()=>{try{Promise['resolve'](_0x5d2c41(_0x133282))['then'](_0xd254ea=>{_0xd254ea?(_0x3f228a&&clearTimeout(_0x3f228a),_0x2f1a87(_0xd254ea)):_0x497099=setTimeout(_0x54459e,_0x353164);})['catch'](_0x1ed376=>{_0x3f228a&&clearTimeout(_0x3f228a),_0x6a44c0(_0x1ed376);});}catch(_0x25fd76){_0x3f228a&&clearTimeout(_0x3f228a),_0x6a44c0(_0x25fd76);}};_0x497099=setTimeout(_0x54459e,0x0);}),defaultSettings$1={'baseCDN':'https://ucarecdn.com','baseURL':'https://upload.uploadcare.com','retryThrottledRequestMaxTimes':0x1,'retryNetworkErrorMaxTimes':0x3,'multipartMinFileSize':0x1900000,'multipartChunkSize':0x500000,'maxConcurrentRequests':0x4,'pusherKey':'79ae88bd931ea68464d9'},defaultContentType$1='application/octet-stream',defaultFilename$1='original',request$1=({method:_0x163bb7,url:_0xb8c667,data:_0x110373,headers:_0x29f090={},signal:_0x1608b9,onProgress:_0x5c30c6})=>new Promise((_0x59cd28,_0x570c46)=>{const _0x5f46a6=new XMLHttpRequest(),_0x558925=_0x163bb7?.['toUpperCase']()||'GET';let _0x54447f=!0x1;_0x5f46a6['open'](_0x558925,_0xb8c667,!0x0),_0x29f090&&Object['entries'](_0x29f090)['forEach'](_0x57acc7=>{const [_0x123e0e,_0x5604ab]=_0x57acc7;void 0x0!==_0x5604ab&&!Array['isArray'](_0x5604ab)&&_0x5f46a6['setRequestHeader'](_0x123e0e,_0x5604ab);}),_0x5f46a6['responseType']='text',_0x19f29e(_0x1608b9,()=>{_0x54447f=!0x0,_0x5f46a6['abort'](),_0x570c46(new _0x3eea97());}),_0x5f46a6['onload']=()=>{if(0xc8!=_0x5f46a6['status'])_0x570c46(new Error('Error\x20'+_0x5f46a6['status']+':\x20'+_0x5f46a6['statusText']));else{const _0x47069d={'method':_0x558925,'url':_0xb8c667,'data':_0x110373,'headers':_0x29f090||void 0x0,'signal':_0x1608b9,'onProgress':_0x5c30c6},_0x5cd57a=_0x5f46a6['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0x238b88={};_0x5cd57a['forEach'](function(_0x2098b8){const _0xb984a2=_0x2098b8['split'](':\x20'),_0x35db73=_0xb984a2['shift'](),_0x339fb3=_0xb984a2['join'](':\x20');_0x35db73&&void 0x0!==_0x35db73&&(_0x238b88[_0x35db73]=_0x339fb3);});const _0x566e4a=_0x5f46a6['response'],_0x5c89c5=_0x5f46a6['status'];_0x59cd28({'request':_0x47069d,'data':_0x566e4a,'headers':_0x238b88,'status':_0x5c89c5});}},_0x5f46a6['onerror']=_0x580920=>{_0x54447f||_0x570c46(new NetworkError$1(_0x580920));},_0x5c30c6&&'function'==typeof _0x5c30c6&&(_0x5f46a6['upload']['onprogress']=_0x41c879=>{_0x41c879['lengthComputable']?_0x5c30c6({'isComputable':!0x0,'value':_0x41c879['loaded']/_0x41c879['total']}):_0x5c30c6({'isComputable':!0x1});}),_0x110373?_0x5f46a6['send'](_0x110373):_0x5f46a6['send']();});function identity$1(_0x2cf478,..._0x43dfc7){return _0x2cf478;}const getFileOptions$1=({name:_0x301e19})=>_0x301e19?[_0x301e19]:[],transformFile$1=identity$1;var getFormData$1=()=>new FormData();const _0xf9d3c7=_0x251675=>!0x1,_0x52f213=_0x5b8289=>'undefined'!=typeof Blob&&_0x5b8289 instanceof Blob,_0x594f6d=_0x3d5f88=>'undefined'!=typeof File&&_0x3d5f88 instanceof File,isReactNativeAsset$1=_0x5f583e=>!!_0x5f583e&&'object'==typeof _0x5f583e&&!Array['isArray'](_0x5f583e)&&'uri'in _0x5f583e&&'string'==typeof _0x5f583e['uri'],isFileData$1=_0x387dd0=>_0x52f213(_0x387dd0)||_0x594f6d(_0x387dd0)||_0xf9d3c7()||isReactNativeAsset$1(_0x387dd0),_0x128e94=_0x1350e0=>'string'==typeof _0x1350e0||'number'==typeof _0x1350e0||void 0x0===_0x1350e0,isObjectValue$1=_0x5b6ec9=>!!_0x5b6ec9&&'object'==typeof _0x5b6ec9&&!Array['isArray'](_0x5b6ec9),_0x29fa14=_0x2e0d3c=>!!_0x2e0d3c&&'object'==typeof _0x2e0d3c&&'data'in _0x2e0d3c&&isFileData$1(_0x2e0d3c['data']);function collectParams$1(_0x3fd56f,_0x1d9490,_0x57adf4){if(Array['isArray'](_0x57adf4)){for(const _0x35c703 of _0x57adf4)collectParams$1(_0x3fd56f,_0x1d9490+'[]',_0x35c703);}else{if(_0x29fa14(_0x57adf4)){const {name:_0x4e0139,contentType:_0x84a244}=_0x57adf4,_0x4f95ae=transformFile$1(_0x57adf4['data'],_0x4e0139,_0x84a244??defaultContentType$1),_0x46f62c=getFileOptions$1({'name':_0x4e0139});_0x3fd56f['push']([_0x1d9490,_0x4f95ae,..._0x46f62c]);}else{if(isObjectValue$1(_0x57adf4)){for(const [_0x314355,_0x1b4d8f]of Object['entries'](_0x57adf4))void 0x0!==_0x1b4d8f&&_0x3fd56f['push']([_0x1d9490+'['+_0x314355+']',String(_0x1b4d8f)]);}else _0x128e94(_0x57adf4)&&_0x57adf4&&_0x3fd56f['push']([_0x1d9490,_0x57adf4['toString']()]);}}}function getFormDataParams$1(_0x34de76){const _0x28e7e6=[];for(const [_0x357470,_0x18f7bc]of Object['entries'](_0x34de76))collectParams$1(_0x28e7e6,_0x357470,_0x18f7bc);return _0x28e7e6;}function buildFormData$1(_0x3a9475){const _0x5073ae=getFormData$1(),_0x53b57d=getFormDataParams$1(_0x3a9475);for(const _0x2ea6dc of _0x53b57d){const [_0x55bdaf,_0x36f557,..._0x13c8ed]=_0x2ea6dc;_0x5073ae['append'](_0x55bdaf,_0x36f557,..._0x13c8ed);}return _0x5073ae;}let _0x103e9d=class _0x3f7e66 extends _0x21b862{['code'];['request'];['response'];['headers'];constructor(_0x5e2b46,_0xc4adca,_0x2f3de8,_0x422505,_0x33f9b6){super(),this['name']='UploadError',this['message']=_0x5e2b46,this['code']=_0xc4adca,this['request']=_0x2f3de8,this['response']=_0x422505,this['headers']=_0x33f9b6,Object['setPrototypeOf'](this,_0x3f7e66['prototype']);}};const _0x5af2f7=_0x75fcb1=>{const _0x1f6088=new URLSearchParams();for(const [_0x578257,_0xec720d]of Object['entries'](_0x75fcb1))_0xec720d&&'object'==typeof _0xec720d&&!Array['isArray'](_0xec720d)?Object['entries'](_0xec720d)['filter'](_0x440f52=>_0x440f52[0x1]??!0x1)['forEach'](_0x1f1b1c=>_0x1f6088['set'](_0x578257+'['+_0x1f1b1c[0x0]+']',String(_0x1f1b1c[0x1]))):Array['isArray'](_0xec720d)?_0xec720d['forEach'](_0x4c0b84=>{_0x1f6088['append'](_0x578257+'[]',_0x4c0b84);}):'string'==typeof _0xec720d&&_0xec720d?_0x1f6088['set'](_0x578257,_0xec720d):'number'==typeof _0xec720d&&_0x1f6088['set'](_0x578257,_0xec720d['toString']());return _0x1f6088['toString']();},getUrl$1=(_0x39e795,_0x19cc12,_0x3d903e)=>{const _0x426780=new URL(_0x39e795);return _0x426780['pathname']=(_0x426780['pathname']+_0x19cc12)['replace']('//','/'),_0x3d903e&&(_0x426780['search']=_0x5af2f7(_0x3d903e)),_0x426780['toString']();};var _0x3340f6='6.14.3';const _0x3f977f='UploadcareUploadClient',_0x438cbb=_0x3340f6;function getUserAgent$2(_0x361cab){return getUserAgent$1$1({'libraryName':_0x3f977f,'libraryVersion':_0x438cbb,..._0x361cab});}const _0x3c92fb='RequestThrottledError',_0x1b7b5a=0x3a98,_0xbed72f=0x3e8;function getTimeoutFromThrottledRequest$1(_0x4c526c){const {headers:_0x3b41e8}=_0x4c526c||{};if(!_0x3b41e8||'string'!=typeof _0x3b41e8['retry-after'])return _0x1b7b5a;const _0x54a3fa=parseInt(_0x3b41e8['retry-after'],0xa);return Number['isFinite'](_0x54a3fa)?0x3e8*_0x54a3fa:_0x1b7b5a;}function retryIfFailed$1(_0x44c2ab,_0x128fec){const {retryThrottledRequestMaxTimes:_0x50984b,retryNetworkErrorMaxTimes:_0x198fc8}=_0x128fec;return retrier$1(({attempt:_0x393d15,retry:_0x27699b})=>_0x44c2ab()['catch'](_0x5bf0b0=>{if('response'in _0x5bf0b0&&_0x5bf0b0?.['code']===_0x3c92fb&&_0x393d15<_0x50984b)return _0x27699b(getTimeoutFromThrottledRequest$1(_0x5bf0b0));if(_0x5bf0b0 instanceof NetworkError$1&&_0x393d15<_0x198fc8)return _0x27699b((_0x393d15+0x1)*_0xbed72f);throw _0x5bf0b0;}));}const getContentType$1=_0x499b55=>{let _0x3e59db='';return(_0x52f213(_0x499b55)||_0x594f6d(_0x499b55)||isReactNativeAsset$1(_0x499b55))&&(_0x3e59db=_0x499b55['type']),_0x3e59db||defaultContentType$1;},getFileName$1=_0x5d2e8f=>{let _0x5136a2='';return _0x594f6d(_0x5d2e8f)&&_0x5d2e8f['name']?_0x5136a2=_0x5d2e8f['name']:_0x52f213(_0x5d2e8f)||_0xf9d3c7()?_0x5136a2='':isReactNativeAsset$1(_0x5d2e8f)&&_0x5d2e8f['name']&&(_0x5136a2=_0x5d2e8f['name']),_0x5136a2||defaultFilename$1;};function getStoreValue$1(_0x585800){return void 0x0===_0x585800||'auto'===_0x585800?'auto':_0x585800?'1':'0';}function _0x13cde7(_0x54a68c,{publicKey:_0x52f348,fileName:_0x8b02a,contentType:_0x2f6a45,baseURL:_0x393a3d=defaultSettings$1['baseURL'],secureSignature:_0x105b1e,secureExpire:_0x4e1851,store:_0x2b37b9,signal:_0x59d0dd,onProgress:_0x206476,source:_0x5d68f5='local',integration:_0x1928fc,userAgent:_0x2a42b7,retryThrottledRequestMaxTimes:_0x21fb86=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x176c67=defaultSettings$1['retryNetworkErrorMaxTimes'],metadata:_0x2d7938}){return retryIfFailed$1(()=>request$1({'method':'POST','url':getUrl$1(_0x393a3d,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x52f348,'integration':_0x1928fc,'userAgent':_0x2a42b7})},'data':buildFormData$1({'file':{'data':_0x54a68c,'name':_0x8b02a||getFileName$1(_0x54a68c),'contentType':_0x2f6a45||getContentType$1(_0x54a68c)},'UPLOADCARE_PUB_KEY':_0x52f348,'UPLOADCARE_STORE':getStoreValue$1(_0x2b37b9),'signature':_0x105b1e,'expire':_0x4e1851,'source':_0x5d68f5,'metadata':_0x2d7938}),'signal':_0x59d0dd,'onProgress':_0x206476})['then'](({data:_0x29966c,headers:_0x2ba03c,request:_0x2f8329})=>{const _0x302bde=_0x485adb(JSON['parse'](_0x29966c));if('error'in _0x302bde)throw new _0x103e9d(_0x302bde['error']['content'],_0x302bde['error']['errorCode'],_0x2f8329,_0x302bde,_0x2ba03c);return _0x302bde;}),{'retryNetworkErrorMaxTimes':_0x176c67,'retryThrottledRequestMaxTimes':_0x21fb86});}var _0x16e4a0,Status$1;function _0x534e9f(_0x2356ef,{publicKey:_0x44a02b,baseURL:_0x17d81d=defaultSettings$1['baseURL'],store:_0x28c046,fileName:_0x4a3c0e,checkForUrlDuplicates:_0x13a7cd,saveUrlForRecurrentUploads:_0x59eff1,secureSignature:_0x596933,secureExpire:_0x3e54e0,source:_0x157171='url',signal:_0x243561,integration:_0x1a300a,userAgent:_0x471012,retryThrottledRequestMaxTimes:_0x4a873a=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x6b0081=defaultSettings$1['retryNetworkErrorMaxTimes'],metadata:_0x476d91}){return retryIfFailed$1(()=>request$1({'method':'POST','headers':{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x44a02b,'integration':_0x1a300a,'userAgent':_0x471012})},'url':getUrl$1(_0x17d81d,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x44a02b,'source_url':_0x2356ef,'store':getStoreValue$1(_0x28c046),'filename':_0x4a3c0e,'check_URL_duplicates':_0x13a7cd?0x1:void 0x0,'save_URL_duplicates':_0x59eff1?0x1:void 0x0,'signature':_0x596933,'expire':_0x3e54e0,'source':_0x157171,'metadata':_0x476d91}),'signal':_0x243561})['then'](({data:_0x248634,headers:_0x2affa2,request:_0x4aa235})=>{const _0x64855c=_0x485adb(JSON['parse'](_0x248634));if('error'in _0x64855c)throw new _0x103e9d(_0x64855c['error']['content'],_0x64855c['error']['errorCode'],_0x4aa235,_0x64855c,_0x2affa2);return _0x64855c;}),{'retryNetworkErrorMaxTimes':_0x6b0081,'retryThrottledRequestMaxTimes':_0x4a873a});}!function(_0x58b11c){_0x58b11c['Token']='token',_0x58b11c['FileInfo']='file_info';}(_0x16e4a0||(_0x16e4a0={})),function(_0x1f760a){_0x1f760a['Unknown']='unknown',_0x1f760a['Waiting']='waiting',_0x1f760a['Progress']='progress',_0x1f760a['Error']='error',_0x1f760a['Success']='success';}(Status$1||(Status$1={}));const _0x5bdb98=_0x320236=>'status'in _0x320236&&_0x320236['status']===Status$1['Error'];function fromUrlStatus$1(_0x2ee115,{publicKey:_0x50c88a,baseURL:_0x14c668=defaultSettings$1['baseURL'],signal:_0x2a797a,integration:_0x1ceeb5,userAgent:_0x21a367,retryThrottledRequestMaxTimes:_0x5686f7=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x1a8f54=defaultSettings$1['retryNetworkErrorMaxTimes']}={}){return retryIfFailed$1(()=>request$1({'method':'GET','headers':_0x50c88a?{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x50c88a,'integration':_0x1ceeb5,'userAgent':_0x21a367})}:void 0x0,'url':getUrl$1(_0x14c668,'/from_url/status/',{'jsonerrors':0x1,'token':_0x2ee115}),'signal':_0x2a797a})['then'](({data:_0xcf3954,headers:_0x4bd373,request:_0x4cf2ae})=>{const _0x33bf52=_0x485adb(JSON['parse'](_0xcf3954));if('error'in _0x33bf52&&!_0x5bdb98(_0x33bf52))throw new _0x103e9d(_0x33bf52['error']['content'],_0x33bf52['error']['errorCode'],_0x4cf2ae,_0x33bf52,_0x4bd373);return _0x33bf52;}),{'retryNetworkErrorMaxTimes':_0x1a8f54,'retryThrottledRequestMaxTimes':_0x5686f7});}function _0x33afe5(_0x44e459,{publicKey:_0x4e5e5a,baseURL:_0x925d3e=defaultSettings$1['baseURL'],signal:_0x2db8b7,source:_0x1eb6d4,integration:_0xdde631,userAgent:_0x2c09bb,retryThrottledRequestMaxTimes:_0x508bb7=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x3e854d=defaultSettings$1['retryNetworkErrorMaxTimes']}){return retryIfFailed$1(()=>request$1({'method':'GET','headers':{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x4e5e5a,'integration':_0xdde631,'userAgent':_0x2c09bb})},'url':getUrl$1(_0x925d3e,'/info/',{'jsonerrors':0x1,'pub_key':_0x4e5e5a,'file_id':_0x44e459,'source':_0x1eb6d4}),'signal':_0x2db8b7})['then'](({data:_0x123072,headers:_0x5c328d,request:_0x2e27c1})=>{const _0x5119d7=_0x485adb(JSON['parse'](_0x123072));if('error'in _0x5119d7)throw new _0x103e9d(_0x5119d7['error']['content'],_0x5119d7['error']['errorCode'],_0x2e27c1,_0x5119d7,_0x5c328d);return _0x5119d7;}),{'retryThrottledRequestMaxTimes':_0x508bb7,'retryNetworkErrorMaxTimes':_0x3e854d});}function multipartStart$1(_0x30c662,{publicKey:_0x1af8a9,contentType:_0x18dd73,fileName:_0x34ce80,multipartChunkSize:_0x58980b=defaultSettings$1['multipartChunkSize'],baseURL:_0x462aef='',secureSignature:_0x52ba19,secureExpire:_0x1f79f7,store:_0x24e146,signal:_0x49270f,source:_0x53bc88='local',integration:_0x46864a,userAgent:_0x34f165,retryThrottledRequestMaxTimes:_0x3535e2=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x5c500e=defaultSettings$1['retryNetworkErrorMaxTimes'],metadata:_0x1c9df3}){return retryIfFailed$1(()=>request$1({'method':'POST','url':getUrl$1(_0x462aef,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x1af8a9,'integration':_0x46864a,'userAgent':_0x34f165})},'data':buildFormData$1({'filename':_0x34ce80,'size':_0x30c662,'content_type':_0x18dd73||defaultContentType$1,'part_size':_0x58980b,'UPLOADCARE_STORE':getStoreValue$1(_0x24e146),'UPLOADCARE_PUB_KEY':_0x1af8a9,'signature':_0x52ba19,'expire':_0x1f79f7,'source':_0x53bc88,'metadata':_0x1c9df3}),'signal':_0x49270f})['then'](({data:_0x1d8473,headers:_0x3cfdfa,request:_0x29097c})=>{const _0xd7acdf=_0x485adb(JSON['parse'](_0x1d8473));if('error'in _0xd7acdf)throw new _0x103e9d(_0xd7acdf['error']['content'],_0xd7acdf['error']['errorCode'],_0x29097c,_0xd7acdf,_0x3cfdfa);return _0xd7acdf['parts']=Object['keys'](_0xd7acdf['parts'])['map'](_0x1e4458=>_0xd7acdf['parts'][Number(_0x1e4458)]),_0xd7acdf;}),{'retryThrottledRequestMaxTimes':_0x3535e2,'retryNetworkErrorMaxTimes':_0x5c500e});}function multipartUpload$1(_0x41428f,_0x13e7aa,{contentType:_0x37573a,signal:_0x230fe9,onProgress:_0x32905f,retryThrottledRequestMaxTimes:_0x4cea26=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x4ad067=defaultSettings$1['retryNetworkErrorMaxTimes']}){return retryIfFailed$1(()=>request$1({'method':'PUT','url':_0x13e7aa,'data':_0x41428f,'onProgress':_0x32905f,'signal':_0x230fe9,'headers':{'Content-Type':_0x37573a||defaultContentType$1}})['then'](_0x405267=>(_0x32905f&&_0x32905f({'isComputable':!0x0,'value':0x1}),_0x405267))['then'](({status:_0x4d3ddf})=>({'code':_0x4d3ddf})),{'retryThrottledRequestMaxTimes':_0x4cea26,'retryNetworkErrorMaxTimes':_0x4ad067});}function multipartComplete$1(_0x30580b,{publicKey:_0xc028db,baseURL:_0x42e9d7=defaultSettings$1['baseURL'],source:_0x1d6576='local',signal:_0x33c226,integration:_0x522067,userAgent:_0x54f6fe,retryThrottledRequestMaxTimes:_0x2a2c90=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x1a6bfc=defaultSettings$1['retryNetworkErrorMaxTimes']}){return retryIfFailed$1(()=>request$1({'method':'POST','url':getUrl$1(_0x42e9d7,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0xc028db,'integration':_0x522067,'userAgent':_0x54f6fe})},'data':buildFormData$1({'uuid':_0x30580b,'UPLOADCARE_PUB_KEY':_0xc028db,'source':_0x1d6576}),'signal':_0x33c226})['then'](({data:_0x5ab96d,headers:_0x1e02c4,request:_0x1dbf11})=>{const _0x1c83b8=_0x485adb(JSON['parse'](_0x5ab96d));if('error'in _0x1c83b8)throw new _0x103e9d(_0x1c83b8['error']['content'],_0x1c83b8['error']['errorCode'],_0x1dbf11,_0x1c83b8,_0x1e02c4);return _0x1c83b8;}),{'retryThrottledRequestMaxTimes':_0x2a2c90,'retryNetworkErrorMaxTimes':_0x1a6bfc});}function _0x554078(_0x497431,{publicKey:_0x16e1f7,baseURL:_0x111d8d,source:_0x2d9450,integration:_0x49c326,userAgent:_0x3149c9,retryThrottledRequestMaxTimes:_0x5eb44f,retryNetworkErrorMaxTimes:_0x4995a8,signal:_0x37f16a,onProgress:_0x9dae1f}){return _0x2262e8({'check':_0x3dd6c2=>_0x33afe5(_0x497431,{'publicKey':_0x16e1f7,'baseURL':_0x111d8d,'signal':_0x3dd6c2,'source':_0x2d9450,'integration':_0x49c326,'userAgent':_0x3149c9,'retryThrottledRequestMaxTimes':_0x5eb44f,'retryNetworkErrorMaxTimes':_0x4995a8})['then'](_0xeef025=>_0xeef025['isReady']?_0xeef025:(_0x9dae1f&&_0x9dae1f({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x37f16a});}function _0x369f1b(_0x5d5f50){return'defaultEffects'in _0x5d5f50;}let _0xb1f69e=class{['uuid'];['name'];['size'];['isStored'];['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];['contentInfo'];['metadata'];['s3Bucket'];['defaultEffects']=null;constructor(_0x4dae3d,{baseCDN:_0x512295=defaultSettings$1['baseCDN'],fileName:_0x4dbe76}={}){const {uuid:_0xc30ee,s3Bucket:_0x1b63d9}=_0x4dae3d,_0x463567=getUrl$1(_0x512295,_0xc30ee+'/'),_0x164587=_0x1b63d9?getUrl$1('https://'+_0x1b63d9+'.s3.amazonaws.com/',_0xc30ee+'/'+_0x4dae3d['filename']):null;this['uuid']=_0xc30ee,this['name']=_0x4dbe76||_0x4dae3d['filename'],this['size']=_0x4dae3d['size'],this['isStored']=_0x4dae3d['isStored'],this['isImage']=_0x4dae3d['isImage'],this['mimeType']=_0x4dae3d['mimeType'],this['cdnUrl']=_0x463567,this['originalFilename']=_0x4dae3d['originalFilename'],this['imageInfo']=_0x4dae3d['imageInfo'],this['videoInfo']=_0x4dae3d['videoInfo'],this['contentInfo']=_0x4dae3d['contentInfo'],this['metadata']=_0x4dae3d['metadata']||null,this['s3Bucket']=_0x1b63d9||null,this['s3Url']=_0x164587,_0x369f1b(_0x4dae3d)&&(this['defaultEffects']=_0x4dae3d['defaultEffects']);}};const uploadDirect$1=(_0x38a0c5,{publicKey:_0x13941a,fileName:_0x3c05b5,baseURL:_0x20e36b,secureSignature:_0x17e76a,secureExpire:_0x453195,store:_0x56aafe,contentType:_0x2f83ff,signal:_0x4deff4,onProgress:_0x370e5e,source:_0x4b703d,integration:_0x40bc4c,userAgent:_0x52c2f1,retryThrottledRequestMaxTimes:_0x1a7572,retryNetworkErrorMaxTimes:_0x3d08fe,baseCDN:_0x55b1dc,metadata:_0xdb1774})=>_0x13cde7(_0x38a0c5,{'publicKey':_0x13941a,'fileName':_0x3c05b5,'contentType':_0x2f83ff,'baseURL':_0x20e36b,'secureSignature':_0x17e76a,'secureExpire':_0x453195,'store':_0x56aafe,'signal':_0x4deff4,'onProgress':_0x370e5e,'source':_0x4b703d,'integration':_0x40bc4c,'userAgent':_0x52c2f1,'retryThrottledRequestMaxTimes':_0x1a7572,'retryNetworkErrorMaxTimes':_0x3d08fe,'metadata':_0xdb1774})['then'](({file:_0x19a79b})=>_0x554078(_0x19a79b,{'publicKey':_0x13941a,'baseURL':_0x20e36b,'source':_0x4b703d,'integration':_0x40bc4c,'userAgent':_0x52c2f1,'retryThrottledRequestMaxTimes':_0x1a7572,'retryNetworkErrorMaxTimes':_0x3d08fe,'onProgress':_0x370e5e,'signal':_0x4deff4}))['then'](_0x3944a9=>new _0xb1f69e(_0x3944a9,{'baseCDN':_0x55b1dc})),_0x2f6b16=(_0x2c0598,{publicKey:_0x46cce2,fileName:_0x12d168,baseURL:_0x75cc4f,signal:_0x9d3227,onProgress:_0x7e2d38,source:_0x14d84e,integration:_0x21e70b,userAgent:_0x358bac,retryThrottledRequestMaxTimes:_0x20adf3,retryNetworkErrorMaxTimes:_0x2f6086,baseCDN:_0x2ffda8})=>_0x33afe5(_0x2c0598,{'publicKey':_0x46cce2,'baseURL':_0x75cc4f,'signal':_0x9d3227,'source':_0x14d84e,'integration':_0x21e70b,'userAgent':_0x358bac,'retryThrottledRequestMaxTimes':_0x20adf3,'retryNetworkErrorMaxTimes':_0x2f6086})['then'](_0x1d3deb=>new _0xb1f69e(_0x1d3deb,{'baseCDN':_0x2ffda8,'fileName':_0x12d168}))['then'](_0x1e2020=>(_0x7e2d38&&_0x7e2d38({'isComputable':!0x0,'value':0x1}),_0x1e2020)),_0x4c69fa=(_0xd0bede,{signal:_0xb15ec7}={})=>{let _0x44e0df=null,_0x3c3846=null;const _0x35e45b=_0xd0bede['map'](()=>new AbortController());return _0x19f29e(_0xb15ec7,()=>{_0x35e45b['forEach'](_0x1c4568=>_0x1c4568['abort']());}),Promise['all'](_0xd0bede['map']((_0x2de429,_0x531a43)=>{const _0x19e5e3=(_0x995f5a=>()=>{_0x3c3846=_0x995f5a,_0x35e45b['forEach']((_0x376f84,_0x5ae7ea)=>_0x5ae7ea!==_0x995f5a&&_0x376f84['abort']());})(_0x531a43);return Promise['resolve']()['then'](()=>_0x2de429({'stopRace':_0x19e5e3,'signal':_0x35e45b[_0x531a43]['signal']}))['then'](_0x3b4685=>(_0x19e5e3(),_0x3b4685))['catch'](_0x387e29=>(_0x44e0df=_0x387e29,null));}))['then'](_0x1d7cbe=>{if(null===_0x3c3846)throw _0x44e0df;return _0x1d7cbe[_0x3c3846];});};var WebSocket$1=window['WebSocket'];let Events$1=class{['events']=Object['create']({});['emit'](_0x47a3e4,_0x18fa3c){this['events'][_0x47a3e4]?.['forEach'](_0x18a065=>_0x18a065(_0x18fa3c));}['on'](_0x32fd87,_0x4c0675){this['events'][_0x32fd87]=this['events'][_0x32fd87]||[],this['events'][_0x32fd87]['push'](_0x4c0675);}['off'](_0x362407,_0x1e333f){this['events'][_0x362407]=_0x1e333f?this['events'][_0x362407]['filter'](_0x169fbe=>_0x169fbe!==_0x1e333f):[];}};const _0x5bbe76=(_0x8be0b3,_0x403a6d)=>'success'===_0x8be0b3?{'status':Status$1['Success'],..._0x403a6d}:'progress'===_0x8be0b3?{'status':Status$1['Progress'],..._0x403a6d}:{'status':Status$1['Error'],..._0x403a6d};let _0x5c4041=class{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new Events$1();['disconnectTimeoutId']=null;constructor(_0x40b283,_0x3487f6=0x7530){this['key']=_0x40b283,this['disconnectTime']=_0x3487f6;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){const _0x1587a6='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new WebSocket$1(_0x1587a6),this['ws']['addEventListener']('error',_0xd96f27=>{this['emmitter']['emit']('error',new Error(_0xd96f27['message']));}),this['emmitter']['on']('connected',()=>{this['isConnected']=!0x0,this['queue']['forEach'](_0x3bc2eb=>this['send'](_0x3bc2eb['event'],_0x3bc2eb['data'])),this['queue']=[];}),this['ws']['addEventListener']('message',_0x4e5d4f=>{const _0x5b9741=JSON['parse'](_0x4e5d4f['data']['toString']());switch(_0x5b9741['event']){case'pusher:connection_established':this['emmitter']['emit']('connected',void 0x0);break;case'pusher:ping':this['send']('pusher:pong',{});break;case'progress':case'success':case'fail':this['emmitter']['emit'](_0x5b9741['channel'],_0x5bbe76(_0x5b9741['event'],JSON['parse'](_0x5b9741['data'])));}});}}['disconnect'](){const _0x53d3c8=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0x53d3c8();},this['disconnectTime']):_0x53d3c8();}['send'](_0x342ca5,_0x5b6a61){const _0x11027d=JSON['stringify']({'event':_0x342ca5,'data':_0x5b6a61});this['ws']?.['send'](_0x11027d);}['subscribe'](_0x574abc,_0x19d920){this['subscribers']+=0x1,this['connect']();const _0x29d9ae='task-status-'+_0x574abc,_0x5e37d2={'event':'pusher:subscribe','data':{'channel':_0x29d9ae}};this['emmitter']['on'](_0x29d9ae,_0x19d920),this['isConnected']?this['send'](_0x5e37d2['event'],_0x5e37d2['data']):this['queue']['push'](_0x5e37d2);}['unsubscribe'](_0x229210){this['subscribers']-=0x1;const _0x437aef='task-status-'+_0x229210,_0x42a83a={'event':'pusher:unsubscribe','data':{'channel':_0x437aef}};this['emmitter']['off'](_0x437aef),this['isConnected']?this['send'](_0x42a83a['event'],_0x42a83a['data']):this['queue']=this['queue']['filter'](_0x4e4694=>_0x4e4694['data']['channel']!==_0x437aef),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x30a8e5){return this['emmitter']['on']('error',_0x30a8e5),()=>this['emmitter']['off']('error',_0x30a8e5);}},_0x83a722=null;const getPusher$1=_0x22142a=>{if(!_0x83a722){const _0x3a1fe8='undefined'==typeof window?0x0:0x7530;_0x83a722=new _0x5c4041(_0x22142a,_0x3a1fe8);}return _0x83a722;},preconnect$1=_0x196282=>{getPusher$1(_0x196282)['connect']();};function pollStrategy$1({token:_0x5429b0,publicKey:_0x435916,baseURL:_0x3aa793,integration:_0x2b0290,userAgent:_0x3e161b,retryThrottledRequestMaxTimes:_0x5420fc,retryNetworkErrorMaxTimes:_0x584626,onProgress:_0x13f1ba,signal:_0x177d04}){return _0x2262e8({'check':_0x4d58a6=>fromUrlStatus$1(_0x5429b0,{'publicKey':_0x435916,'baseURL':_0x3aa793,'integration':_0x2b0290,'userAgent':_0x3e161b,'retryThrottledRequestMaxTimes':_0x5420fc,'retryNetworkErrorMaxTimes':_0x584626,'signal':_0x4d58a6})['then'](_0x32c3b1=>{switch(_0x32c3b1['status']){case Status$1['Error']:return new _0x103e9d(_0x32c3b1['error'],_0x32c3b1['errorCode']);case Status$1['Waiting']:return!0x1;case Status$1['Unknown']:return new _0x103e9d('Token\x20\x22'+_0x5429b0+'\x22\x20was\x20not\x20found.');case Status$1['Progress']:return _0x13f1ba&&('unknown'===_0x32c3b1['total']?_0x13f1ba({'isComputable':!0x1}):_0x13f1ba({'isComputable':!0x0,'value':_0x32c3b1['done']/_0x32c3b1['total']})),!0x1;case Status$1['Success']:return _0x13f1ba&&_0x13f1ba({'isComputable':!0x0,'value':_0x32c3b1['done']/_0x32c3b1['total']}),_0x32c3b1;default:throw new Error('Unknown\x20status');}}),'signal':_0x177d04});}const pushStrategy$1=({token:_0x33c5f8,pusherKey:_0x4638f4,signal:_0x474d15,onProgress:_0x3cb43b})=>new Promise((_0x199b8c,_0x1da113)=>{const _0x2be63f=getPusher$1(_0x4638f4),_0x3d3301=_0x2be63f['onError'](_0x1da113),_0x467624=()=>{_0x3d3301(),_0x2be63f['unsubscribe'](_0x33c5f8);};_0x19f29e(_0x474d15,()=>{_0x467624(),_0x1da113(new _0x3eea97('pusher\x20cancelled'));}),_0x2be63f['subscribe'](_0x33c5f8,_0x2857f2=>{switch(_0x2857f2['status']){case Status$1['Progress']:_0x3cb43b&&('unknown'===_0x2857f2['total']?_0x3cb43b({'isComputable':!0x1}):_0x3cb43b({'isComputable':!0x0,'value':_0x2857f2['done']/_0x2857f2['total']}));break;case Status$1['Success']:_0x467624(),_0x3cb43b&&_0x3cb43b({'isComputable':!0x0,'value':_0x2857f2['done']/_0x2857f2['total']}),_0x199b8c(_0x2857f2);break;case Status$1['Error']:_0x467624(),_0x1da113(new _0x103e9d(_0x2857f2['msg'],_0x2857f2['error_code']));}});}),_0x273f65=(_0x5427bc,{publicKey:_0x1cc592,fileName:_0x53caad,baseURL:_0x5f35b3,baseCDN:_0x1f04c7,checkForUrlDuplicates:_0xfa64af,saveUrlForRecurrentUploads:_0xe2ac7a,secureSignature:_0x2c0f3a,secureExpire:_0x49503c,store:_0x42cc14,signal:_0x2d9485,onProgress:_0x390a2c,source:_0x429769,integration:_0x4fa65c,userAgent:_0xbc8df8,retryThrottledRequestMaxTimes:_0x4e2da3,pusherKey:_0x3138bf=defaultSettings$1['pusherKey'],metadata:_0x1e7b7a})=>Promise['resolve'](preconnect$1(_0x3138bf))['then'](()=>_0x534e9f(_0x5427bc,{'publicKey':_0x1cc592,'fileName':_0x53caad,'baseURL':_0x5f35b3,'checkForUrlDuplicates':_0xfa64af,'saveUrlForRecurrentUploads':_0xe2ac7a,'secureSignature':_0x2c0f3a,'secureExpire':_0x49503c,'store':_0x42cc14,'signal':_0x2d9485,'source':_0x429769,'integration':_0x4fa65c,'userAgent':_0xbc8df8,'retryThrottledRequestMaxTimes':_0x4e2da3,'metadata':_0x1e7b7a}))['catch'](_0x5d56cc=>{const _0xaa5dbc=getPusher$1(_0x3138bf);return _0xaa5dbc?.['disconnect'](),Promise['reject'](_0x5d56cc);})['then'](_0x248ae7=>_0x248ae7['type']===_0x16e4a0['FileInfo']?_0x248ae7:_0x4c69fa([({signal:_0x202f4f})=>pollStrategy$1({'token':_0x248ae7['token'],'publicKey':_0x1cc592,'baseURL':_0x5f35b3,'integration':_0x4fa65c,'userAgent':_0xbc8df8,'retryThrottledRequestMaxTimes':_0x4e2da3,'onProgress':_0x390a2c,'signal':_0x202f4f}),({signal:_0x4e66de})=>pushStrategy$1({'token':_0x248ae7['token'],'pusherKey':_0x3138bf,'signal':_0x4e66de,'onProgress':_0x390a2c})],{'signal':_0x2d9485}))['then'](_0x1b1ab5=>{if(_0x1b1ab5 instanceof _0x103e9d)throw _0x1b1ab5;return _0x1b1ab5;})['then'](_0x278196=>_0x554078(_0x278196['uuid'],{'publicKey':_0x1cc592,'baseURL':_0x5f35b3,'integration':_0x4fa65c,'userAgent':_0xbc8df8,'retryThrottledRequestMaxTimes':_0x4e2da3,'onProgress':_0x390a2c,'signal':_0x2d9485}))['then'](_0x50eed5=>new _0xb1f69e(_0x50eed5,{'baseCDN':_0x1f04c7})),_0x3ae89f=new WeakMap(),getBlobFromReactNativeAsset$1=async _0x2fa961=>{if(_0x3ae89f['has'](_0x2fa961))return _0x3ae89f['get'](_0x2fa961);const _0x5adbd1=await fetch(_0x2fa961['uri'])['then'](_0x358eee=>_0x358eee['blob']());return _0x3ae89f['set'](_0x2fa961,_0x5adbd1),_0x5adbd1;},getFileSize$1=async _0x2268d8=>{if(_0x594f6d(_0x2268d8)||_0x52f213(_0x2268d8))return _0x2268d8['size'];if(isReactNativeAsset$1(_0x2268d8))return(await getBlobFromReactNativeAsset$1(_0x2268d8))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},isMultipart$1=(_0x237eb1,_0x9077e0=defaultSettings$1['multipartMinFileSize'])=>_0x237eb1>=_0x9077e0,_0x35ceb3=_0x42ef71=>{const _0x4855df=new RegExp('[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}');return!isFileData$1(_0x42ef71)&&_0x4855df['test'](_0x42ef71);},_0x4731e9=_0x577c9d=>{const _0x2b16a7=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!isFileData$1(_0x577c9d)&&_0x2b16a7['test'](_0x577c9d);},runWithConcurrency$1=(_0x1a39bf,_0x555708)=>new Promise((_0xeec2d2,_0x5d3197)=>{const _0x3c9ada=[];let _0x429aaf=!0x1,_0x5df0c2=_0x555708['length'];const _0x28e2c3=[..._0x555708],_0x26bbf6=()=>{const _0xaf752=_0x555708['length']-_0x28e2c3['length'],_0x47918b=_0x28e2c3['shift']();_0x47918b&&_0x47918b()['then'](_0x532ab9=>{_0x429aaf||(_0x3c9ada[_0xaf752]=_0x532ab9,_0x5df0c2-=0x1,_0x5df0c2?_0x26bbf6():_0xeec2d2(_0x3c9ada));})['catch'](_0x19e343=>{_0x429aaf=!0x0,_0x5d3197(_0x19e343);});};for(let _0x3cce3b=0x0;_0x3cce3b<_0x1a39bf;_0x3cce3b++)_0x26bbf6();}),_0x2b5bc6=(_0x37fdce,_0x420986,_0x486f23,_0x38cf3b)=>{const _0x4355c5=_0x38cf3b*_0x420986,_0xe4b32d=Math['min'](_0x4355c5+_0x38cf3b,_0x486f23);return _0x37fdce['slice'](_0x4355c5,_0xe4b32d);},_0x4514f3=async(_0x4bf46f,_0x258ebd,_0x4ebae5)=>_0x22407b=>_0x2b5bc6(_0x4bf46f,_0x22407b,_0x258ebd,_0x4ebae5),uploadPart$1=(_0x28e440,_0x2fd1d5,{publicKey:_0x6f5433,contentType:_0x358261,onProgress:_0x594ef3,signal:_0x19b468,integration:_0xee7656,retryThrottledRequestMaxTimes:_0x3553d2,retryNetworkErrorMaxTimes:_0x450d44})=>multipartUpload$1(_0x28e440,_0x2fd1d5,{'contentType':_0x358261,'onProgress':_0x594ef3,'signal':_0x19b468,'retryThrottledRequestMaxTimes':_0x3553d2,'retryNetworkErrorMaxTimes':_0x450d44}),uploadMultipart$1=async(_0x5007e7,{publicKey:_0x28b801,fileName:_0x59dd73,fileSize:_0x4378c2,baseURL:_0x5bc22a,secureSignature:_0x91394a,secureExpire:_0x28978b,store:_0x2737b9,signal:_0x440211,onProgress:_0x431759,source:_0x15d606,integration:_0x5cb5e0,userAgent:_0x323ea1,retryThrottledRequestMaxTimes:_0x470da3,retryNetworkErrorMaxTimes:_0x359a67,contentType:_0xa45f60,multipartChunkSize:_0x49a797=defaultSettings$1['multipartChunkSize'],maxConcurrentRequests:_0x13ee6a=defaultSettings$1['maxConcurrentRequests'],baseCDN:_0x553161,metadata:_0x33bcdf})=>{const _0x1095d7=_0x4378c2??await getFileSize$1(_0x5007e7);let _0x35fe10;const _0x5ca108=(_0x2f2a04,_0x103e81)=>{if(!_0x431759)return;_0x35fe10||(_0x35fe10=Array(_0x2f2a04)['fill'](0x0));const _0x638069=_0x314e2e=>_0x314e2e['reduce']((_0x1471d8,_0x209add)=>_0x1471d8+_0x209add,0x0);return _0x25339a=>{_0x25339a['isComputable']&&(_0x35fe10[_0x103e81]=_0x25339a['value'],_0x431759({'isComputable':!0x0,'value':_0x638069(_0x35fe10)/_0x2f2a04}));};};return _0xa45f60||=getContentType$1(_0x5007e7),multipartStart$1(_0x1095d7,{'publicKey':_0x28b801,'contentType':_0xa45f60,'fileName':_0x59dd73||getFileName$1(_0x5007e7),'baseURL':_0x5bc22a,'secureSignature':_0x91394a,'secureExpire':_0x28978b,'store':_0x2737b9,'signal':_0x440211,'source':_0x15d606,'integration':_0x5cb5e0,'userAgent':_0x323ea1,'retryThrottledRequestMaxTimes':_0x470da3,'retryNetworkErrorMaxTimes':_0x359a67,'metadata':_0x33bcdf,'multipartChunkSize':_0x49a797})['then'](async({uuid:_0x5778f1,parts:_0x13c2b6})=>{const _0xceebb=await _0x4514f3(_0x5007e7,_0x1095d7,_0x49a797);return Promise['all']([_0x5778f1,runWithConcurrency$1(_0x13ee6a,_0x13c2b6['map']((_0x14cb10,_0x52f682)=>()=>uploadPart$1(_0xceebb(_0x52f682),_0x14cb10,{'publicKey':_0x28b801,'contentType':_0xa45f60,'onProgress':_0x5ca108(_0x13c2b6['length'],_0x52f682),'signal':_0x440211,'integration':_0x5cb5e0,'retryThrottledRequestMaxTimes':_0x470da3,'retryNetworkErrorMaxTimes':_0x359a67})))]);})['then'](([_0xd61afa])=>multipartComplete$1(_0xd61afa,{'publicKey':_0x28b801,'baseURL':_0x5bc22a,'source':_0x15d606,'integration':_0x5cb5e0,'userAgent':_0x323ea1,'retryThrottledRequestMaxTimes':_0x470da3,'retryNetworkErrorMaxTimes':_0x359a67}))['then'](_0x146717=>_0x146717['isReady']?_0x146717:_0x554078(_0x146717['uuid'],{'publicKey':_0x28b801,'baseURL':_0x5bc22a,'source':_0x15d606,'integration':_0x5cb5e0,'userAgent':_0x323ea1,'retryThrottledRequestMaxTimes':_0x470da3,'retryNetworkErrorMaxTimes':_0x359a67,'onProgress':_0x431759,'signal':_0x440211}))['then'](_0x3f2234=>new _0xb1f69e(_0x3f2234,{'baseCDN':_0x553161}));};async function _0x4a2600(_0x39efd3,{publicKey:_0x229b8a,fileName:_0x410b74,baseURL:_0x336ab3=defaultSettings$1['baseURL'],secureSignature:_0x41811a,secureExpire:_0x73ab1d,store:_0x4c8622,signal:_0x2bdad8,onProgress:_0x5ab73d,source:_0x261d18,integration:_0x85c31d,userAgent:_0x11f75b,retryThrottledRequestMaxTimes:_0x124cc1,retryNetworkErrorMaxTimes:_0x1e3db7,contentType:_0xf0eae8,multipartMinFileSize:_0x37d45c,multipartChunkSize:_0x4141a6,maxConcurrentRequests:_0x4c7556,baseCDN:_0x244d33=defaultSettings$1['baseCDN'],checkForUrlDuplicates:_0x42f5e8,saveUrlForRecurrentUploads:_0x54d0af,pusherKey:_0x3418c6,metadata:_0x11c040}){if(isFileData$1(_0x39efd3)){const _0x34097e=await getFileSize$1(_0x39efd3);return isMultipart$1(_0x34097e,_0x37d45c)?uploadMultipart$1(_0x39efd3,{'publicKey':_0x229b8a,'contentType':_0xf0eae8,'multipartChunkSize':_0x4141a6,'fileSize':_0x34097e,'fileName':_0x410b74,'baseURL':_0x336ab3,'secureSignature':_0x41811a,'secureExpire':_0x73ab1d,'store':_0x4c8622,'signal':_0x2bdad8,'onProgress':_0x5ab73d,'source':_0x261d18,'integration':_0x85c31d,'userAgent':_0x11f75b,'maxConcurrentRequests':_0x4c7556,'retryThrottledRequestMaxTimes':_0x124cc1,'retryNetworkErrorMaxTimes':_0x1e3db7,'baseCDN':_0x244d33,'metadata':_0x11c040}):uploadDirect$1(_0x39efd3,{'publicKey':_0x229b8a,'fileName':_0x410b74,'contentType':_0xf0eae8,'baseURL':_0x336ab3,'secureSignature':_0x41811a,'secureExpire':_0x73ab1d,'store':_0x4c8622,'signal':_0x2bdad8,'onProgress':_0x5ab73d,'source':_0x261d18,'integration':_0x85c31d,'userAgent':_0x11f75b,'retryThrottledRequestMaxTimes':_0x124cc1,'retryNetworkErrorMaxTimes':_0x1e3db7,'baseCDN':_0x244d33,'metadata':_0x11c040});}if(_0x4731e9(_0x39efd3))return _0x273f65(_0x39efd3,{'publicKey':_0x229b8a,'fileName':_0x410b74,'baseURL':_0x336ab3,'baseCDN':_0x244d33,'checkForUrlDuplicates':_0x42f5e8,'saveUrlForRecurrentUploads':_0x54d0af,'secureSignature':_0x41811a,'secureExpire':_0x73ab1d,'store':_0x4c8622,'signal':_0x2bdad8,'onProgress':_0x5ab73d,'source':_0x261d18,'integration':_0x85c31d,'userAgent':_0x11f75b,'retryThrottledRequestMaxTimes':_0x124cc1,'pusherKey':_0x3418c6,'metadata':_0x11c040});if(_0x35ceb3(_0x39efd3))return _0x2f6b16(_0x39efd3,{'publicKey':_0x229b8a,'fileName':_0x410b74,'baseURL':_0x336ab3,'signal':_0x2bdad8,'onProgress':_0x5ab73d,'source':_0x261d18,'integration':_0x85c31d,'userAgent':_0x11f75b,'retryThrottledRequestMaxTimes':_0x124cc1,'retryNetworkErrorMaxTimes':_0x1e3db7,'baseCDN':_0x244d33});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x39efd3+'\x22\x20is\x20not\x20supported');}class UploadUtils{static['upload']({file:_0x3f23f7,..._0x1e1873}){return _0x4a2600(_0x3f23f7,_0x1e1873);}static['getInfo'](_0x1f6083,_0x2f12dc){return _0x33afe5(_0x1f6083,_0x2f12dc);}}class UploadcareUploadAdapter extends ckeditor5['Plugin']{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',ckeditor5['FileRepository'],UploadcareEditing];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x87b27e=this['editor'];if(!!!_0x87b27e['config']['get']('uploadcare'))return;_0x87b27e['plugins']['get'](ckeditor5['FileRepository'])['createUploadAdapter']=_0x45b3ad=>new Adapter(_0x45b3ad,_0x87b27e),_0x87b27e['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4acb56,{imageElement:_0x3328ed,data:_0x88898f})=>{_0x87b27e['model']['change'](_0x57f700=>{_0x57f700['setAttribute']('uploadcareImageId',_0x88898f['uploadcareImageId'],_0x3328ed);});});}}class Adapter{['loader'];['editor'];['controller'];constructor(_0x67ce28,_0x2ff9ae){this['loader']=_0x67ce28,this['editor']=_0x2ff9ae,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x284b5c=await this['loader']['file'];return UploadUtils['upload']({'file':_0x284b5c,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x2880f4=>{_0x2880f4&&_0x2880f4['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2880f4['value']);}})['then'](async _0x13651f=>{const {imageFallbackUrl:_0x2849cc,imageSources:_0x367241}=getImageUrls(_0x13651f['cdnUrl'],_0x13651f['imageInfo']['width']);return{'uploadcareImageId':_0x13651f['uuid'],'default':_0x2849cc,'sources':_0x367241};})['catch'](()=>{const _0x22ddd4=t('Cannot\x20upload\x20file:')+('\x20'+_0x284b5c['name']+'.');return Promise['reject'](_0x22ddd4);});}['abort'](){this['controller']['abort']();}}class UploadcareEditing extends ckeditor5['Plugin']{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',UploadcareUploadAdapter,ckeditor5['Dialog']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x1dd431){super(_0x1dd431),this['ucContextId']=ckeditor5['uid']();}['init'](){const _0x301684=this['editor'];_0x301684['commands']['add']('uploadcare',new _0x2c3464(_0x301684));}['afterInit'](){this['_initSchema'](),this['_initConversion'](),this['_initConfig'](),this['_initCtx'](),this['_initImageProcessingIndicator'](),this['listenTo'](this['editor'],'destroy',()=>{this['_configElement']&&(this['_configElement']['remove'](),this['_configElement']=null),this['_ctxElement']&&(this['_ctxElement']['remove'](),this['_ctxElement']=null);const _0x5c79a2=ckeditor5['global']['document']['querySelector']('input[uploadcare-file-input]');_0x5c79a2&&_0x5c79a2['remove']();}),_0x75eaf0(this);}['_initSchema'](){const _0x58964a=this['editor']['model']['schema'];_0x58964a['isRegistered']('imageBlock')&&_0x58964a['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x58964a['isRegistered']('imageInline')&&_0x58964a['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x521f22=this['editor'];_0x521f22['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x521f22['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x5186c8=>_0x5186c8['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3873d4=_0x521f22['commands']['get']('replaceImageSource');_0x3873d4&&this['listenTo'](_0x3873d4,'cleanupImage',(_0x279261,[_0x5581ed,_0x2fc1a8])=>{_0x5581ed['removeAttribute']('uploadcareImageId',_0x2fc1a8);});}['_initConfig'](){const _0x4db959=this['editor']['config']['get']('uploadcare.uploader')||{},_0x478265=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=ckeditor5['createElement'](ckeditor5['global']['document'],'uc-config',{..._0x4db959,'pubkey':_0x478265,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x298c39=>{if('closeMax'==_0x298c39)return'#uc-icon-arrow-down';},ckeditor5['global']['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=ckeditor5['createElement'](ckeditor5['global']['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),ckeditor5['global']['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x3c40c5=this['editor']['commands']['get']('insertImage');_0x3c40c5&&this['listenTo'](_0x3c40c5,'execute',()=>{const _0x231698=this['editor']['model']['document']['selection']['getSelectedElement']();_0x231698&&_0x231698['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{showImageProcessingIndicator(this['editor'],_0x231698);});});const _0x1a4722=this['editor']['commands']['get']('uploadcareImageReplace');_0x1a4722&&this['listenTo'](_0x1a4722,'execute',()=>{const _0x1c8d74=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1c8d74&&_0x1c8d74['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{showImageProcessingIndicator(this['editor'],_0x1c8d74);});});}}async function _0x75eaf0(_0x42679d){const _0x5bd267=_0x17f7a4([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x53871c=window[_0x17f7a4([0x44,0x61,0x74,0x65])][_0x17f7a4([0x6e,0x6f,0x77])](),_0x4c15e4=_0x42679d[_0x17f7a4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x363af6=new window[(_0x17f7a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20c774=>{_0x4c15e4[_0x17f7a4([0x6f,0x6e,0x63,0x65])](_0x17f7a4([0x72,0x65,0x61,0x64,0x79]),_0x20c774);}),_0x396e5f={[_0x17f7a4([0x6b,0x74,0x79])]:_0x17f7a4([0x45,0x43]),[_0x17f7a4([0x75,0x73,0x65])]:_0x17f7a4([0x73,0x69,0x67]),[_0x17f7a4([0x63,0x72,0x76])]:_0x17f7a4([0x50,0x2d,0x32,0x35,0x36]),[_0x17f7a4([0x78])]:_0x17f7a4([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x17f7a4([0x79])]:_0x17f7a4([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x17f7a4([0x61,0x6c,0x67])]:_0x17f7a4([0x45,0x53,0x32,0x35,0x36])},_0x2f5dc2=_0x4c15e4[_0x17f7a4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x17f7a4([0x67,0x65,0x74])](_0x17f7a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x1c7f26=await(async function(){let _0x1e53fa,_0x2faebc=null,_0xf82ae5=null;try{if(_0x2f5dc2==_0x17f7a4([0x47,0x50,0x4c]))return _0x17f7a4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1e53fa=(function(){const _0x199195=_0x2f5dc2[_0x17f7a4([0x73,0x70,0x6c,0x69,0x74])](_0x17f7a4([0x2e]));if(0x3!=_0x199195[_0x17f7a4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x2f0b5b=_0x199195[0x1];return _0x51e82c(_0x2f0b5b);function _0x51e82c(_0x3fc74a){const _0x1f4cfa=_0x5b0cbb(_0x3fc74a);return _0x1f4cfa&&_0x49aa24()?_0x1f4cfa:null;function _0x49aa24(){const _0x30384d=_0x1f4cfa[_0x17f7a4([0x6a,0x74,0x69])],_0x24ebf4=window[_0x17f7a4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30384d[_0x17f7a4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x30384d[_0x17f7a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3b4986={..._0x1f4cfa,[_0x17f7a4([0x6a,0x74,0x69])]:_0x30384d[_0x17f7a4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x30384d[_0x17f7a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3b4986[_0x17f7a4([0x76,0x63])],_0x1b11c0(_0x3b4986)==_0x24ebf4;}}}()),!_0x1e53fa)return _0x17f7a4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x1e53fa[_0x17f7a4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xf82ae5=function(_0x1cc92b,_0x522055){return new window[(_0x17f7a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e5c15=>{if(_0x19f89e())return _0x5e5c15(_0x17f7a4([0x56,0x61,0x6c,0x69,0x64]));_0x43e24a(),_0x4c15e4[_0x17f7a4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x17f7a4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x125028=!0x1;const _0x29752c=ckeditor5['uid']();function _0x1446c9(_0x3eec14){return!!_0x3eec14&&(typeof _0x3eec14===_0x17f7a4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3eec14===_0x17f7a4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3eec14[_0x17f7a4([0x74,0x68,0x65,0x6e])]===_0x17f7a4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3eec14[_0x17f7a4([0x63,0x61,0x74,0x63,0x68])]===_0x17f7a4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x18d1bb(_0x2002e4){_0x17d996(_0x2002e4)[_0x17f7a4([0x74,0x68,0x65,0x6e])](_0x258764=>{if(!_0x258764||_0x258764[_0x17f7a4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x17f7a4([0x6f,0x6b]))return _0x17f7a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1515af(_0x1b11c0(_0x29752c+_0x522055))!=_0x258764[_0x17f7a4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x17f7a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x17f7a4([0x56,0x61,0x6c,0x69,0x64]);})[_0x17f7a4([0x74,0x68,0x65,0x6e])](_0x17c43a=>(_0xe7d76b(),_0x17c43a),()=>{const _0x2f0345=_0xdfe712();return null==_0x2f0345?(_0xe7d76b(),_0x17f7a4([0x56,0x61,0x6c,0x69,0x64])):_0x17f7a4(_0x53871c-_0x2f0345>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x17f7a4([0x74,0x68,0x65,0x6e])](_0x5e5c15)[_0x17f7a4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5e5c15(_0x17f7a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x40a992=0x36ee80;function _0xe7d76b(){const _0x5bed99=_0x17f7a4([0x6c,0x6c,0x63,0x74,0x2d])+_0x1515af(_0x1b11c0(_0x1cc92b)),_0x1c6884=_0x39ed7f(_0x1515af(window[_0x17f7a4([0x4d,0x61,0x74,0x68])][_0x17f7a4([0x63,0x65,0x69,0x6c])](_0x53871c/_0x40a992)));window[_0x17f7a4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x17f7a4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5bed99,_0x1c6884);}function _0xdfe712(){const _0xf88de0=_0x17f7a4([0x6c,0x6c,0x63,0x74,0x2d])+_0x1515af(_0x1b11c0(_0x1cc92b)),_0x2bb5c7=window[_0x17f7a4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x17f7a4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xf88de0);return _0x2bb5c7?window[_0x17f7a4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39ed7f(_0x2bb5c7),0x10)*_0x40a992:null;}function _0x17d996(_0x2c7954){return new window[(_0x17f7a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x41636b,_0x4f375b)=>{_0x2c7954[_0x17f7a4([0x74,0x68,0x65,0x6e])](_0x41636b,_0x4f375b),window[_0x17f7a4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4f375b,0x1d4c0);});}}_0x4c15e4[_0x17f7a4([0x6f,0x6e])](_0x17f7a4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2da5bc,_0x641b72)=>{if(_0x641b72[0x0]!=_0x1cc92b)return _0x5e5c15(_0x17f7a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x641b72[0x1]={..._0x641b72[0x1],[_0x17f7a4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x29752c};},{[_0x17f7a4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x17f7a4([0x68,0x69,0x67,0x68])}),_0x4c15e4[_0x17f7a4([0x6f,0x6e])](_0x17f7a4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x55ff70=>{_0x1446c9(_0x55ff70[_0x17f7a4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x125028=!0x0,_0x18d1bb(_0x55ff70[_0x17f7a4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x17f7a4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x17f7a4([0x6c,0x6f,0x77])}),_0x363af6[_0x17f7a4([0x74,0x68,0x65,0x6e])](()=>{_0x125028||_0x5e5c15(_0x17f7a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x19f89e(){return _0x4c15e4[_0x17f7a4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x17f7a4([0x76,0x69,0x65,0x77])][_0x17f7a4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x17f7a4([0x61,0x75,0x74,0x6f]);}function _0x43e24a(){_0x4c15e4[_0x17f7a4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x17f7a4([0x76,0x69,0x65,0x77])][_0x17f7a4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x17f7a4([0x61,0x75,0x74,0x6f]);}}(_0x1e53fa[_0x17f7a4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1e53fa[_0x17f7a4([0x6a,0x74,0x69])]));const _0x356469=await(async function(){let _0x2f9cf7=!0x0;try{const _0x4a9ece=_0x2f5dc2[_0x17f7a4([0x73,0x70,0x6c,0x69,0x74])](_0x17f7a4([0x2e])),[_0x21cee7,_0x167938,_0x3c92cb]=_0x4a9ece;return _0x4a469f(_0x21cee7),await _0x395397(_0x21cee7,_0x167938,_0x3c92cb),_0x2f9cf7;}catch{return!0x1;}function _0x4a469f(_0x2cb00b){const _0x46c2af=_0x5b0cbb(_0x2cb00b);_0x46c2af&&_0x46c2af[_0x17f7a4([0x61,0x6c,0x67])]==_0x17f7a4([0x45,0x53,0x32,0x35,0x36])||(_0x2f9cf7=!0x1);}async function _0x395397(_0x5aead3,_0x50524e,_0x4421ac){const _0x162022=window[_0x17f7a4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x17f7a4([0x66,0x72,0x6f,0x6d])](_0x477af5(_0x4421ac),_0x40b696=>_0x40b696[_0x17f7a4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x378346=new window[(_0x17f7a4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x17f7a4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5aead3+_0x17f7a4([0x2e])+_0x50524e),_0x333340=window[_0x17f7a4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x17f7a4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x333340)return;const _0x528e6d=await _0x333340[_0x17f7a4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x17f7a4([0x6a,0x77,0x6b]),_0x396e5f,{[_0x17f7a4([0x6e,0x61,0x6d,0x65])]:_0x17f7a4([0x45,0x43,0x44,0x53,0x41]),[_0x17f7a4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x17f7a4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x17f7a4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x333340[_0x17f7a4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x17f7a4([0x6e,0x61,0x6d,0x65])]:_0x17f7a4([0x45,0x43,0x44,0x53,0x41]),[_0x17f7a4([0x68,0x61,0x73,0x68])]:{[_0x17f7a4([0x6e,0x61,0x6d,0x65])]:_0x17f7a4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x528e6d,_0x162022,_0x378346)||(_0x2f9cf7=!0x1);}}());return _0x356469?(function(){const _0x7cc1f1=_0x1e53fa[_0x17f7a4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x7cc1f1)return!0x1;if(_0x7cc1f1[_0x17f7a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17f7a4([0x2a])))return!0x0;if(_0x7cc1f1[_0x17f7a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17f7a4([0x55,0x50,0x4c,0x43])))return!0x0;return!0x1;}())?(function(){const _0x45a96b=[_0x17f7a4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x17f7a4([0x74,0x72,0x69,0x61,0x6c])][_0x17f7a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e53fa[_0x17f7a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x53871c/0x3e8:0x69e96100;return _0x1e53fa[_0x17f7a4([0x65,0x78,0x70])]<_0x45a96b;}())?_0x17f7a4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x33bcee=_0x1e53fa[_0x17f7a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x33bcee||0x0==_0x33bcee[_0x17f7a4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x14fab4}=new URL(window[_0x17f7a4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x33bcee[_0x17f7a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14fab4))return!0x0;const _0x4e70a7=_0x14fab4[_0x17f7a4([0x73,0x70,0x6c,0x69,0x74])](_0x17f7a4([0x2e]));return _0x33bcee[_0x17f7a4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x796c3f=>_0x796c3f[_0x17f7a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17f7a4([0x2a])))[_0x17f7a4([0x6d,0x61,0x70])](_0x4a6d71=>_0x4a6d71[_0x17f7a4([0x73,0x70,0x6c,0x69,0x74])](_0x17f7a4([0x2e])))[_0x17f7a4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e72c1=>_0x4e72c1[_0x17f7a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4e70a7[_0x17f7a4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x17f7a4([0x6d,0x61,0x70])](_0x33ee88=>Array(_0x4e70a7[_0x17f7a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x33ee88[_0x17f7a4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x17f7a4([0x66,0x69,0x6c,0x6c])](_0x33ee88[0x0]===_0x17f7a4([0x2a])?_0x17f7a4([0x2a]):'')[_0x17f7a4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x33ee88))[_0x17f7a4([0x73,0x6f,0x6d,0x65])](_0x2a854f=>_0x4e70a7[_0x17f7a4([0x65,0x76,0x65,0x72,0x79])]((_0x25342d,_0x4b6469)=>_0x2a854f[_0x4b6469]===_0x25342d||_0x2a854f[_0x4b6469]===_0x17f7a4([0x2a])));}())?(_0x1e53fa[_0x17f7a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x17f7a4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2faebc=function(_0x5ebfcb){const _0x22bdd3=new window[(_0x17f7a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e79d6=>setTimeout(_0x5e79d6,0x93ecc)),_0x1c4a66=_0x363af6[_0x17f7a4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x17f7a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f3322=>{let _0x48c67a=0x0;_0x4c15e4[_0x17f7a4([0x6d,0x6f,0x64,0x65,0x6c])][_0x17f7a4([0x6f,0x6e])](_0x17f7a4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3415be,_0x82b2f3)=>{_0x82b2f3[0x0][_0x17f7a4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x48c67a++,0x5e8==_0x48c67a&&(_0x2f3322(),_0x3415be[_0x17f7a4([0x6f,0x66,0x66])]());});})),_0x1c0f3b=[_0x22bdd3,_0x1c4a66];return window[_0x17f7a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x17f7a4([0x72,0x61,0x63,0x65])](_0x1c0f3b)[_0x17f7a4([0x74,0x68,0x65,0x6e])](()=>_0x5ebfcb);}(_0x17f7a4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x2faebc&&_0xf82ae5)return new window[(_0x17f7a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x7f5779,_0x44e367)=>{_0x2faebc[_0x17f7a4([0x74,0x68,0x65,0x6e])](_0x7f5779,_0x44e367),_0xf82ae5[_0x17f7a4([0x74,0x68,0x65,0x6e])](_0x11b6e3=>{_0x11b6e3!=_0x17f7a4([0x56,0x61,0x6c,0x69,0x64])&&_0x7f5779(_0x11b6e3);},_0x44e367);});return _0x2faebc||_0xf82ae5||_0x17f7a4([0x56,0x61,0x6c,0x69,0x64]);}())):_0x17f7a4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x17f7a4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x17f7a4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x17f7a4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x5b0cbb(_0x39be7a){return _0x39be7a[_0x17f7a4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x17f7a4([0x65,0x79]))?JSON[_0x17f7a4([0x70,0x61,0x72,0x73,0x65])](_0x477af5(_0x39be7a)):null;}function _0x477af5(_0x38649f){return window[_0x17f7a4([0x61,0x74,0x6f,0x62])](_0x38649f[_0x17f7a4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x17f7a4([0x2b]))[_0x17f7a4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x17f7a4([0x2f])));}function _0x1b11c0(_0xe7988f){let _0x1df440=0x1505;function _0x3031aa(_0x26ac84){for(let _0x2a38c4=0x0;_0x2a38c4<_0x26ac84[_0x17f7a4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2a38c4++){const _0xf2e157=_0x26ac84[_0x17f7a4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2a38c4);_0x1df440=(_0x1df440<<0x5)+_0x1df440+_0xf2e157,_0x1df440&=_0x1df440;}}return function _0x588e7a(_0x3fdb62){Array[_0x17f7a4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3fdb62)?_0x3fdb62[_0x17f7a4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x588e7a):_0x3fdb62&&typeof _0x3fdb62==_0x17f7a4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x17f7a4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3fdb62)[_0x17f7a4([0x73,0x6f,0x72,0x74])]()[_0x17f7a4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4d17eb,_0x4c8a72])=>{_0x3031aa(_0x4d17eb),_0x588e7a(_0x4c8a72);}):_0x3031aa(window[_0x17f7a4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3fdb62));}(_0xe7988f),_0x1df440>>>0x0;}function _0x1515af(_0x4e3d71){return _0x4e3d71[_0x17f7a4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x17f7a4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x17f7a4([0x30]));}function _0x39ed7f(_0x4367ce){return _0x4367ce[_0x17f7a4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x17f7a4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x17f7a4([0x6a,0x6f,0x69,0x6e])]('');}function _0x36a267(){}function _0x17f7a4(_0x5bd5c8){return _0x5bd5c8['map'](_0x36a3d4=>String['fromCharCode'](_0x36a3d4))['join']('');}!function(_0x3b545b){const _0x448d79=(function(){const _0x3adf70=window[_0x17f7a4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x17f7a4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x17f7a4([0x6e,0x6f,0x77])]())[_0x17f7a4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x17f7a4([0x2e]),'');let _0x188ed4=_0x17f7a4([0x68]);for(let _0x4a6954=0x0;_0x4a6954<_0x3adf70[_0x17f7a4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a6954+=0x2){let _0x15119d=window[_0x17f7a4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3adf70[_0x17f7a4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a6954,_0x4a6954+0x2));_0x15119d>=_0x5bd267[_0x17f7a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x15119d-=_0x5bd267[_0x17f7a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x188ed4+=_0x5bd267[_0x15119d];}return _0x188ed4;}());_0x4c15e4[_0x448d79]=_0x17f7a4([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3b545b,_0x3b545b!=_0x17f7a4([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x363af6,_0x4c15e4[_0x17f7a4([0x6d,0x6f,0x64,0x65,0x6c])][_0x17f7a4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x36a267,_0x4c15e4[_0x17f7a4([0x6d,0x6f,0x64,0x65,0x6c])][_0x17f7a4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x36a267,_0x4c15e4[_0x17f7a4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x17f7a4([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x1c7f26);}var _0x3b54f7=Object['defineProperty'],_0x2ce615=(_0x427fb6,_0x46830d,_0x2a563b)=>_0x46830d in _0x427fb6?_0x3b54f7(_0x427fb6,_0x46830d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2a563b}):_0x427fb6[_0x46830d]=_0x2a563b,_0x1346c0=(_0x1ed210,_0x2afb6a,_0xb80a26)=>(_0x2ce615(_0x1ed210,'symbol'!=typeof _0x2afb6a?_0x2afb6a+'':_0x2afb6a,_0xb80a26),_0xb80a26);function _0x2e976e(_0x5e51ad){let _0x5442e7=_0x4f33c2=>{var _0xf0be62;for(let _0x5956d2 in _0x4f33c2)(null==(_0xf0be62=_0x4f33c2[_0x5956d2])?void 0x0:_0xf0be62['constructor'])===Object&&(_0x4f33c2[_0x5956d2]=_0x5442e7(_0x4f33c2[_0x5956d2]));return{..._0x4f33c2};};return _0x5442e7(_0x5e51ad);}var Data=class{constructor(_0x33e3fa){_0x33e3fa['constructor']===Object?this['store']=_0x2e976e(_0x33e3fa):(this['_storeIsProxy']=!0x0,this['store']=_0x33e3fa),this['callbackMap']=Object['create'](null);}static['warn'](_0x3d5dac,_0x5888da){console['warn']('Symbiote\x20Data:\x20cannot\x20'+_0x3d5dac+'.\x20Prop\x20name:\x20'+_0x5888da);}['read'](_0x46a094){return this['_storeIsProxy']||this['store']['hasOwnProperty'](_0x46a094)?this['store'][_0x46a094]:(Data['warn']('read',_0x46a094),null);}['has'](_0x5e60db){return this['_storeIsProxy']?void 0x0!==this['store'][_0x5e60db]:this['store']['hasOwnProperty'](_0x5e60db);}['add'](_0x33e71e,_0x5145c0,_0x481b6e=!0x1){!_0x481b6e&&Object['keys'](this['store'])['includes'](_0x33e71e)||(this['store'][_0x33e71e]=_0x5145c0,this['notify'](_0x33e71e));}['pub'](_0x24a207,_0x5d84c5){this['_storeIsProxy']||this['store']['hasOwnProperty'](_0x24a207)?(this['store'][_0x24a207]=_0x5d84c5,this['notify'](_0x24a207)):Data['warn']('publish',_0x24a207);}['multiPub'](_0x5c088a){for(let _0xddea77 in _0x5c088a)this['pub'](_0xddea77,_0x5c088a[_0xddea77]);}['notify'](_0x2b0a50){this['callbackMap'][_0x2b0a50]&&this['callbackMap'][_0x2b0a50]['forEach'](_0x5c6d03=>{_0x5c6d03(this['store'][_0x2b0a50]);});}['sub'](_0x546359,_0x1c98ba,_0x1a132d=!0x0){return this['_storeIsProxy']||this['store']['hasOwnProperty'](_0x546359)?(this['callbackMap'][_0x546359]||(this['callbackMap'][_0x546359]=new Set()),this['callbackMap'][_0x546359]['add'](_0x1c98ba),_0x1a132d&&_0x1c98ba(this['store'][_0x546359]),{'remove':()=>{this['callbackMap'][_0x546359]['delete'](_0x1c98ba),this['callbackMap'][_0x546359]['size']||delete this['callbackMap'][_0x546359];},'callback':_0x1c98ba}):(Data['warn']('subscribe',_0x546359),null);}static['registerCtx'](_0x43d016,_0x5dff0b=Symbol()){let _0xeda65c=Data['globalStore']['get'](_0x5dff0b);return _0xeda65c?console['warn']('State:\x20context\x20UID\x20\x22'+_0x5dff0b+'\x22\x20already\x20in\x20use'):(_0xeda65c=new Data(_0x43d016),Data['globalStore']['set'](_0x5dff0b,_0xeda65c)),_0xeda65c;}static['deleteCtx'](_0x1f0928){Data['globalStore']['delete'](_0x1f0928);}static['getCtx'](_0x3575b1,_0x4c4dd6=!0x0){return Data['globalStore']['get'](_0x3575b1)||(_0x4c4dd6&&console['warn']('State:\x20wrong\x20context\x20UID\x20-\x20\x22'+_0x3575b1+'\x22'),null);}};Data['globalStore']=new Map();var _0x3ab676=Object['freeze']({'BIND_ATTR':'set','ATTR_BIND_PRFX':'@','EXT_DATA_CTX_PRFX':'*','NAMED_DATA_CTX_SPLTR':'/','CTX_NAME_ATTR':'ctx-name','CTX_OWNER_ATTR':'ctx-owner','CSS_CTX_PROP':'--ctx-name','EL_REF_ATTR':'ref','AUTO_TAG_PRFX':'sym','REPEAT_ATTR':'repeat','REPEAT_ITEM_TAG_ATTR':'repeat-item-tag','SET_LATER_KEY':'__toSetLater__','USE_TPL':'use-template','ROOT_STYLE_ATTR_NAME':'sym-component'}),_0xd1f212='1234567890QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnm',_0x58f5cb=_0xd1f212['length']-0x1,_0x48eed4=class{static['generate'](_0x5006af='XXXXXXXXX-XXX'){let _0x2e2ec5='';for(let _0x5a716b=0x0;_0x5a716b<_0x5006af['length'];_0x5a716b++)_0x2e2ec5+='-'===_0x5006af[_0x5a716b]?_0x5006af[_0x5a716b]:_0xd1f212['charAt'](Math['random']()*_0x58f5cb);return _0x2e2ec5;}};function setNestedProp(_0x6d1653,_0x6f6ef4,_0x5c7242){let _0x546fe3,_0x4eba4=!0x0,_0x19406b=_0x6f6ef4['split']('.');return _0x19406b['forEach']((_0x2a7dbd,_0xf438ca)=>{_0xf438ca<_0x19406b['length']-0x1?_0x6d1653=_0x6d1653[_0x2a7dbd]:_0x546fe3=_0x2a7dbd;}),_0x6d1653?_0x6d1653[_0x546fe3]=_0x5c7242:_0x4eba4=!0x1,_0x4eba4;}function _0xe6e0b5(_0x547bc0){return _0x547bc0['split']('-')['map']((_0x1fe01d,_0x5f1dbe)=>_0x1fe01d&&_0x5f1dbe?_0x1fe01d[0x0]['toUpperCase']()+_0x1fe01d['slice'](0x1):_0x1fe01d)['join']('')['split']('_')['map']((_0x21a15b,_0x236727)=>_0x21a15b&&_0x236727?_0x21a15b['toUpperCase']():_0x21a15b)['join']('');}function repeatProcessor(_0x49d5f6,_0x4cf077){[..._0x49d5f6['querySelectorAll']('['+_0x3ab676['REPEAT_ATTR']+']')]['forEach'](_0x159717=>{let _0x30fa19,_0x441400=_0x159717['getAttribute'](_0x3ab676['REPEAT_ITEM_TAG_ATTR']);if(_0x441400&&(_0x30fa19=window['customElements']['get'](_0x441400)),!_0x30fa19){_0x30fa19=class extends _0x4cf077['BaseComponent']{constructor(){super(),_0x441400||(this['style']['display']='contents');}};let _0x21627c=_0x159717['innerHTML'];_0x30fa19['template']=_0x21627c,_0x30fa19['reg'](_0x441400);}for(;_0x159717['firstChild'];)_0x159717['firstChild']['remove']();let _0x55a36c=_0x159717['getAttribute'](_0x3ab676['REPEAT_ATTR']);_0x4cf077['sub'](_0x55a36c,_0x989636=>{if(!_0x989636){for(;_0x159717['firstChild'];)_0x159717['firstChild']['remove']();return;}let _0x238963,_0x5008a2=[..._0x159717['children']],_0x4f359d=_0x3c952b=>{_0x3c952b['forEach']((_0x4c8239,_0x19ae88)=>{if(_0x5008a2[_0x19ae88]){if(_0x5008a2[_0x19ae88]['set$'])setTimeout(()=>{_0x5008a2[_0x19ae88]['set$'](_0x4c8239);});else{for(let _0x398859 in _0x4c8239)_0x5008a2[_0x19ae88][_0x398859]=_0x4c8239[_0x398859];}}else{_0x238963||(_0x238963=new DocumentFragment());let _0x5a8bfd=new _0x30fa19();Object['assign'](_0x5a8bfd['init$'],_0x4c8239),_0x238963['appendChild'](_0x5a8bfd);}}),_0x238963&&_0x159717['appendChild'](_0x238963);let _0x21729e=_0x5008a2['slice'](_0x3c952b['length'],_0x5008a2['length']);for(let _0x430443 of _0x21729e)_0x430443['remove']();};if(_0x989636['constructor']===Array)_0x4f359d(_0x989636);else{if(_0x989636['constructor']===Object){let _0x44b976=[];for(let _0x4b1c55 in _0x989636){let _0x7735b6=_0x989636[_0x4b1c55];Object['defineProperty'](_0x7735b6,'_KEY_',{'value':_0x4b1c55,'enumerable':!0x0}),_0x44b976['push'](_0x7735b6);}_0x4f359d(_0x44b976);}else console['warn']('Symbiote\x20repeat\x20data\x20type\x20error:'),console['log'](_0x989636);}}),_0x159717['removeAttribute'](_0x3ab676['REPEAT_ATTR']),_0x159717['removeAttribute'](_0x3ab676['REPEAT_ITEM_TAG_ATTR']);});}var _0x52cd5c='__default__';function slotProcessor(_0x37e8f0,_0x2cf06c){if(_0x2cf06c['shadowRoot'])return;let _0x5bc7d9=[..._0x37e8f0['querySelectorAll']('slot')];if(!_0x5bc7d9['length'])return;let _0x2d2331={};_0x5bc7d9['forEach'](_0x5377ab=>{let _0x159e05=_0x5377ab['getAttribute']('name')||_0x52cd5c;_0x2d2331[_0x159e05]={'slot':_0x5377ab,'fr':document['createDocumentFragment']()};}),_0x2cf06c['initChildren']['forEach'](_0x5c15ac=>{var _0x38ad05;let _0x47e5ad=_0x52cd5c;_0x5c15ac instanceof Element&&_0x5c15ac['hasAttribute']('slot')&&(_0x47e5ad=_0x5c15ac['getAttribute']('slot'),_0x5c15ac['removeAttribute']('slot')),null==(_0x38ad05=_0x2d2331[_0x47e5ad])||_0x38ad05['fr']['appendChild'](_0x5c15ac);}),Object['values'](_0x2d2331)['forEach'](_0x9d60c0=>{if(_0x9d60c0['fr']['childNodes']['length'])_0x9d60c0['slot']['parentNode']['replaceChild'](_0x9d60c0['fr'],_0x9d60c0['slot']);else{if(_0x9d60c0['slot']['childNodes']['length']){let _0x740db9=document['createDocumentFragment']();_0x740db9['append'](..._0x9d60c0['slot']['childNodes']),_0x9d60c0['slot']['parentNode']['replaceChild'](_0x740db9,_0x9d60c0['slot']);}else _0x9d60c0['slot']['remove']();}});}function _0x562683(_0x247d3f,_0x3d88dd){[..._0x247d3f['querySelectorAll']('['+_0x3ab676['EL_REF_ATTR']+']')]['forEach'](_0x371ce8=>{let _0x3de626=_0x371ce8['getAttribute'](_0x3ab676['EL_REF_ATTR']);_0x3d88dd['ref'][_0x3de626]=_0x371ce8,_0x371ce8['removeAttribute'](_0x3ab676['EL_REF_ATTR']);});}function domSetProcessor(_0x56a26e,_0x45a132){[..._0x56a26e['querySelectorAll']('['+_0x3ab676['BIND_ATTR']+']')]['forEach'](_0x5113fc=>{let _0x295845=_0x5113fc['getAttribute'](_0x3ab676['BIND_ATTR'])['split'](';');[..._0x5113fc['attributes']]['forEach'](_0xe227eb=>{if(_0xe227eb['name']['startsWith']('-')&&_0xe227eb['value']){let _0x396fb1=_0xe6e0b5(_0xe227eb['name']['replace']('-',''));_0x295845['push'](_0x396fb1+':'+_0xe227eb['value']),_0x5113fc['removeAttribute'](_0xe227eb['name']);}}),_0x295845['forEach'](_0x106266=>{if(!_0x106266)return;let _0x574750,_0x31705f=_0x106266['split'](':')['map'](_0x2c902f=>_0x2c902f['trim']()),_0x2f9467=_0x31705f[0x0];0x0===_0x2f9467['indexOf'](_0x3ab676['ATTR_BIND_PRFX'])&&(_0x574750=!0x0,_0x2f9467=_0x2f9467['replace'](_0x3ab676['ATTR_BIND_PRFX'],''));let _0xcb6e8d=_0x31705f[0x1]['split'](',')['map'](_0x4a963b=>_0x4a963b['trim']());for(let _0x220a35 of _0xcb6e8d){let _0x133420;_0x220a35['startsWith']('!!')?(_0x133420='double',_0x220a35=_0x220a35['replace']('!!','')):_0x220a35['startsWith']('!')&&(_0x133420='single',_0x220a35=_0x220a35['replace']('!','')),_0x45a132['sub'](_0x220a35,_0x3eccb4=>{'double'===_0x133420?_0x3eccb4=!!_0x3eccb4:'single'===_0x133420&&(_0x3eccb4=!_0x3eccb4),_0x574750?(null==_0x3eccb4?void 0x0:_0x3eccb4['constructor'])===Boolean?_0x3eccb4?_0x5113fc['setAttribute'](_0x2f9467,''):_0x5113fc['removeAttribute'](_0x2f9467):_0x5113fc['setAttribute'](_0x2f9467,_0x3eccb4):setNestedProp(_0x5113fc,_0x2f9467,_0x3eccb4)||(_0x5113fc[_0x3ab676['SET_LATER_KEY']]||(_0x5113fc[_0x3ab676['SET_LATER_KEY']]=Object['create'](null)),_0x5113fc[_0x3ab676['SET_LATER_KEY']][_0x2f9467]=_0x3eccb4);});}}),_0x5113fc['removeAttribute'](_0x3ab676['BIND_ATTR']);});}var _0x4afbb9='{{',_0x177a11='}}',_0x47e9f6='skip-text';function getTextNodesWithTokens(_0x5b9e92){let _0x542dc4,_0x117ef5=[],_0x51a99a=document['createTreeWalker'](_0x5b9e92,NodeFilter['SHOW_TEXT'],{'acceptNode':_0x74b9c6=>{var _0x9dd45f;return!(null==(_0x9dd45f=_0x74b9c6['parentElement'])?void 0x0:_0x9dd45f['hasAttribute'](_0x47e9f6))&&_0x74b9c6['textContent']['includes'](_0x4afbb9)&&_0x74b9c6['textContent']['includes'](_0x177a11)&&0x1;}});for(;_0x542dc4=_0x51a99a['nextNode']();)_0x117ef5['push'](_0x542dc4);return _0x117ef5;}var txtNodesProcessor=function(_0x3386b4,_0x18eaec){getTextNodesWithTokens(_0x3386b4)['forEach'](_0x5a2c9d=>{let _0x20582c,_0x371f7e=[];for(;_0x5a2c9d['textContent']['includes'](_0x177a11);)_0x5a2c9d['textContent']['startsWith'](_0x4afbb9)?(_0x20582c=_0x5a2c9d['textContent']['indexOf'](_0x177a11)+_0x177a11['length'],_0x5a2c9d['splitText'](_0x20582c),_0x371f7e['push'](_0x5a2c9d)):(_0x20582c=_0x5a2c9d['textContent']['indexOf'](_0x4afbb9),_0x5a2c9d['splitText'](_0x20582c)),_0x5a2c9d=_0x5a2c9d['nextSibling'];_0x371f7e['forEach'](_0x231e22=>{let _0x8357e=_0x231e22['textContent']['replace'](_0x4afbb9,'')['replace'](_0x177a11,'');_0x231e22['textContent']='',_0x18eaec['sub'](_0x8357e,_0x474954=>{_0x231e22['textContent']=_0x474954;});});});},tpl_processors_default=[repeatProcessor,slotProcessor,_0x562683,domSetProcessor,txtNodesProcessor],_0x426b49='\x27',_0x69c31a='\x22',_0x583ef1=/\\([0-9a-fA-F]{1,6} ?)/g;function hasLeadingTrailingQuotes(_0x5abdab){return!(_0x5abdab[0x0]!==_0x69c31a&&_0x5abdab[0x0]!==_0x426b49||_0x5abdab[_0x5abdab['length']-0x1]!==_0x69c31a&&_0x5abdab[_0x5abdab['length']-0x1]!==_0x426b49);}function trimQuotes(_0x12fdac){return _0x12fdac[0x0]!==_0x69c31a&&_0x12fdac[0x0]!==_0x426b49||(_0x12fdac=_0x12fdac['slice'](0x1)),_0x12fdac[_0x12fdac['length']-0x1]!==_0x69c31a&&_0x12fdac[_0x12fdac['length']-0x1]!==_0x426b49||(_0x12fdac=_0x12fdac['slice'](0x0,-0x1)),_0x12fdac;}function escapeQuotes(_0x43f554){let _0x5ee03d='',_0x55f3b9='';for(var _0xf65dcf=0x0;_0xf65dcf<_0x43f554['length'];_0xf65dcf++){const _0x55f240=_0x43f554[_0xf65dcf+0x1];'\x5c'===_0x43f554[_0xf65dcf]&&'\x22'===_0x55f240?(_0x5ee03d+='\x5c\x22',_0xf65dcf++):'\x22'===_0x43f554[_0xf65dcf]&&'\x5c'!==_0x55f3b9?_0x5ee03d+='\x5c\x22':_0x5ee03d+=_0x43f554[_0xf65dcf],_0x55f3b9=_0x43f554[_0xf65dcf];}return _0x5ee03d;}function parseCssPropertyValue(_0x40d032){let _0x2cef73=_0x40d032;hasLeadingTrailingQuotes(_0x40d032)&&(_0x2cef73=trimQuotes(_0x2cef73),_0x2cef73=_0x2cef73['replace'](_0x583ef1,(_0x195789,_0x545212)=>String['fromCodePoint'](parseInt(_0x545212['trim'](),0x10))),_0x2cef73=_0x2cef73['replaceAll']('\x5c\x0a','\x5cn'),_0x2cef73=escapeQuotes(_0x2cef73),_0x2cef73=_0x69c31a+_0x2cef73+_0x69c31a);try{return JSON['parse'](_0x2cef73);}catch(_0x53bdde){throw new Error('Failed\x20to\x20parse\x20CSS\x20property\x20value:\x20'+_0x2cef73+'.\x20Original\x20input:\x20'+_0x40d032);}}var autoTagsCount=0x0,styleMutationObserver=null,styleMutationObserverCbList=null,_BaseComponent=class extends HTMLElement{constructor(){super(),_0x1346c0(this,'updateCssData',()=>{var _0x31ad66;this['dropCssDataCache'](),null==(_0x31ad66=this['__boundCssProps'])||_0x31ad66['forEach'](_0x8f52fa=>{let _0x294b7c=this['getCssData'](this['__extractCssName'](_0x8f52fa),!0x0);null!==_0x294b7c&&this['$'][_0x8f52fa]!==_0x294b7c&&(this['$'][_0x8f52fa]=_0x294b7c);});}),this['init$']=Object['create'](null),this['cssInit$']=Object['create'](null),this['tplProcessors']=new Set(),this['ref']=Object['create'](null),this['allSubs']=new Set(),this['pauseRender']=!0x1,this['renderShadow']=!0x1,this['readyToDestroy']=!0x0,this['processInnerHtml']=!0x1,this['allowCustomTemplate']=!0x1,this['ctxOwner']=!0x1;}get['BaseComponent'](){return _BaseComponent;}['initCallback'](){}['__initCallback'](){var _0x34b03;this['__initialized']||(this['__initialized']=!0x0,null==(_0x34b03=this['initCallback'])||_0x34b03['call'](this));}['render'](_0xa3c1b1,_0x13e26d=this['renderShadow']){let _0x2722c9;if(!_0x13e26d&&!this['constructor']['__shadowStylesUrl']||this['shadowRoot']||this['attachShadow']({'mode':'open'}),this['allowCustomTemplate']){let _0x1b1620=this['getAttribute'](_0x3ab676['USE_TPL']);if(_0x1b1620){let _0x43db7a=this['getRootNode'](),_0xfdd81c=(null==_0x43db7a?void 0x0:_0x43db7a['querySelector'](_0x1b1620))||document['querySelector'](_0x1b1620);_0xfdd81c?_0xa3c1b1=_0xfdd81c['content']['cloneNode'](!0x0):console['warn']('Symbiote\x20template\x20\x22'+_0x1b1620+'\x22\x20is\x20not\x20found...');}}if(this['processInnerHtml']){for(let _0x304673 of this['tplProcessors'])_0x304673(this,this);}if(_0xa3c1b1||this['constructor']['template']){if(this['constructor']['template']&&!this['constructor']['__tpl']&&(this['constructor']['__tpl']=document['createElement']('template'),this['constructor']['__tpl']['innerHTML']=this['constructor']['template']),(null==_0xa3c1b1?void 0x0:_0xa3c1b1['constructor'])===DocumentFragment)_0x2722c9=_0xa3c1b1;else{if((null==_0xa3c1b1?void 0x0:_0xa3c1b1['constructor'])===String){let _0x43e7d2=document['createElement']('template');_0x43e7d2['innerHTML']=_0xa3c1b1,_0x2722c9=_0x43e7d2['content']['cloneNode'](!0x0);}else this['constructor']['__tpl']&&(_0x2722c9=this['constructor']['__tpl']['content']['cloneNode'](!0x0));}for(let _0x5f12b2 of this['tplProcessors'])_0x5f12b2(_0x2722c9,this);}let _0x33acb2=()=>{_0x2722c9&&(_0x13e26d&&this['shadowRoot']['appendChild'](_0x2722c9)||this['appendChild'](_0x2722c9)),this['__initCallback']();};if(this['constructor']['__shadowStylesUrl']){_0x13e26d=!0x0;let _0x5ab785=document['createElement']('link');_0x5ab785['rel']='stylesheet',_0x5ab785['href']=this['constructor']['__shadowStylesUrl'],_0x5ab785['onload']=_0x33acb2,this['shadowRoot']['prepend'](_0x5ab785);}else _0x33acb2();}['addTemplateProcessor'](_0x214d64){this['tplProcessors']['add'](_0x214d64);}get['autoCtxName'](){return this['__autoCtxName']||(this['__autoCtxName']=_0x48eed4['generate'](),this['style']['setProperty'](_0x3ab676['CSS_CTX_PROP'],'\x27'+this['__autoCtxName']+'\x27')),this['__autoCtxName'];}get['cssCtxName'](){return this['getCssData'](_0x3ab676['CSS_CTX_PROP'],!0x0);}get['ctxName'](){var _0x77ff6b;let _0x400f64=(null==(_0x77ff6b=this['getAttribute'](_0x3ab676['CTX_NAME_ATTR']))?void 0x0:_0x77ff6b['trim']())||this['cssCtxName']||this['__cachedCtxName']||this['autoCtxName'];return this['__cachedCtxName']=_0x400f64,_0x400f64;}get['localCtx'](){return this['__localCtx']||(this['__localCtx']=Data['registerCtx']({},this)),this['__localCtx'];}get['nodeCtx'](){return Data['getCtx'](this['ctxName'],!0x1)||Data['registerCtx']({},this['ctxName']);}static['__parseProp'](_0x4df426,_0x34909a){let _0x2fa728,_0x55ffa2;if(_0x4df426['startsWith'](_0x3ab676['EXT_DATA_CTX_PRFX']))_0x2fa728=_0x34909a['nodeCtx'],_0x55ffa2=_0x4df426['replace'](_0x3ab676['EXT_DATA_CTX_PRFX'],'');else{if(_0x4df426['includes'](_0x3ab676['NAMED_DATA_CTX_SPLTR'])){let _0x577f1c=_0x4df426['split'](_0x3ab676['NAMED_DATA_CTX_SPLTR']);_0x2fa728=Data['getCtx'](_0x577f1c[0x0]),_0x55ffa2=_0x577f1c[0x1];}else _0x2fa728=_0x34909a['localCtx'],_0x55ffa2=_0x4df426;}return{'ctx':_0x2fa728,'name':_0x55ffa2};}['sub'](_0x2473b0,_0x5f2326,_0x5dc2d3=!0x0){let _0x53396f=_0xf7dab0=>{this['isConnected']&&_0x5f2326(_0xf7dab0);},_0xf8617a=_BaseComponent['__parseProp'](_0x2473b0,this);_0xf8617a['ctx']['has'](_0xf8617a['name'])?this['allSubs']['add'](_0xf8617a['ctx']['sub'](_0xf8617a['name'],_0x53396f,_0x5dc2d3)):window['setTimeout'](()=>{this['allSubs']['add'](_0xf8617a['ctx']['sub'](_0xf8617a['name'],_0x53396f,_0x5dc2d3));});}['notify'](_0x2f04c4){let _0x5b17f3=_BaseComponent['__parseProp'](_0x2f04c4,this);_0x5b17f3['ctx']['notify'](_0x5b17f3['name']);}['has'](_0xddf8ba){let _0x17fb07=_BaseComponent['__parseProp'](_0xddf8ba,this);return _0x17fb07['ctx']['has'](_0x17fb07['name']);}['add'](_0x358ffd,_0x531733,_0xc3a56a=!0x1){let _0x14747b=_BaseComponent['__parseProp'](_0x358ffd,this);_0x14747b['ctx']['add'](_0x14747b['name'],_0x531733,_0xc3a56a);}['add$'](_0x2a5e13,_0x2447dc=!0x1){for(let _0xbf721d in _0x2a5e13)this['add'](_0xbf721d,_0x2a5e13[_0xbf721d],_0x2447dc);}get['$'](){if(!this['__stateProxy']){let _0x3e12d2=Object['create'](null);this['__stateProxy']=new Proxy(_0x3e12d2,{'set':(_0x22016c,_0x2bb2bf,_0xe5399f)=>{let _0x445861=_BaseComponent['__parseProp'](_0x2bb2bf,this);return _0x445861['ctx']['pub'](_0x445861['name'],_0xe5399f),!0x0;},'get':(_0x432699,_0x5a57ee)=>{let _0x518586=_BaseComponent['__parseProp'](_0x5a57ee,this);return _0x518586['ctx']['read'](_0x518586['name']);}});}return this['__stateProxy'];}['set$'](_0xc57881,_0x1af367=!0x1){for(let _0x2fc717 in _0xc57881){let _0x12025f=_0xc57881[_0x2fc717],_0xbe737d=[String,Number,Boolean];(_0x1af367||!_0xbe737d['includes'](null==_0x12025f?void 0x0:_0x12025f['constructor'])||this['$'][_0x2fc717]!==_0x12025f)&&(this['$'][_0x2fc717]=_0x12025f);}}get['__ctxOwner'](){return this['ctxOwner']||this['hasAttribute'](_0x3ab676['CTX_OWNER_ATTR'])&&'false'!==this['getAttribute'](_0x3ab676['CTX_OWNER_ATTR']);}['__initDataCtx'](){let _0x3890d2=this['constructor']['__attrDesc'];if(_0x3890d2){for(let _0x9cc69b of Object['values'](_0x3890d2))Object['keys'](this['init$'])['includes'](_0x9cc69b)||(this['init$'][_0x9cc69b]='');}for(let _0x1caf58 in this['init$'])if(_0x1caf58['startsWith'](_0x3ab676['EXT_DATA_CTX_PRFX']))this['nodeCtx']['add'](_0x1caf58['replace'](_0x3ab676['EXT_DATA_CTX_PRFX'],''),this['init$'][_0x1caf58],this['__ctxOwner']);else{if(_0x1caf58['includes'](_0x3ab676['NAMED_DATA_CTX_SPLTR'])){let _0xe1f9a5=_0x1caf58['split'](_0x3ab676['NAMED_DATA_CTX_SPLTR']),_0x99b2cf=_0xe1f9a5[0x0]['trim'](),_0x235a6d=_0xe1f9a5[0x1]['trim']();if(_0x99b2cf&&_0x235a6d){let _0x186914=Data['getCtx'](_0x99b2cf,!0x1);_0x186914||(_0x186914=Data['registerCtx']({},_0x99b2cf)),_0x186914['add'](_0x235a6d,this['init$'][_0x1caf58]);}}else this['localCtx']['add'](_0x1caf58,this['init$'][_0x1caf58]);}for(let _0x3ad512 in this['cssInit$'])this['bindCssData'](_0x3ad512,this['cssInit$'][_0x3ad512]);this['__dataCtxInitialized']=!0x0;}['connectedCallback'](){var _0xdcf36a;if(this['isConnected']){if(this['__disconnectTimeout']&&window['clearTimeout'](this['__disconnectTimeout']),!this['connectedOnce']){let _0x109fdc=null==(_0xdcf36a=this['getAttribute'](_0x3ab676['CTX_NAME_ATTR']))?void 0x0:_0xdcf36a['trim']();if(_0x109fdc&&this['style']['setProperty'](_0x3ab676['CSS_CTX_PROP'],'\x27'+_0x109fdc+'\x27'),this['__initDataCtx'](),this[_0x3ab676['SET_LATER_KEY']]){for(let _0x31d841 in this[_0x3ab676['SET_LATER_KEY']])setNestedProp(this,_0x31d841,this[_0x3ab676['SET_LATER_KEY']][_0x31d841]);delete this[_0x3ab676['SET_LATER_KEY']];}this['initChildren']=[...this['childNodes']];for(let _0x6f4e9 of tpl_processors_default)this['addTemplateProcessor'](_0x6f4e9);if(this['pauseRender'])this['__initCallback']();else{if(this['constructor']['__rootStylesLink']){let _0x53624e=this['getRootNode']();if(!_0x53624e)return;if(null==_0x53624e?void 0x0:_0x53624e['querySelector']('link['+_0x3ab676['ROOT_STYLE_ATTR_NAME']+'=\x22'+this['constructor']['is']+'\x22]'))return void this['render']();let _0x1ebf83=this['constructor']['__rootStylesLink']['cloneNode'](!0x0);_0x1ebf83['setAttribute'](_0x3ab676['ROOT_STYLE_ATTR_NAME'],this['constructor']['is']),_0x1ebf83['onload']=()=>{this['render']();},_0x53624e['nodeType']===Node['DOCUMENT_NODE']?_0x53624e['head']['appendChild'](_0x1ebf83):_0x53624e['prepend'](_0x1ebf83);}else this['render']();}}this['connectedOnce']=!0x0;}}['destroyCallback'](){}['disconnectedCallback'](){this['connectedOnce']&&(this['dropCssDataCache'](),this['readyToDestroy']&&(this['__disconnectTimeout']&&window['clearTimeout'](this['__disconnectTimeout']),this['__disconnectTimeout']=window['setTimeout'](()=>{this['destroyCallback']();for(let _0x14d9e3 of this['allSubs'])_0x14d9e3['remove'](),this['allSubs']['delete'](_0x14d9e3);for(let _0x22bd4b of this['tplProcessors'])this['tplProcessors']['delete'](_0x22bd4b);null==styleMutationObserverCbList||styleMutationObserverCbList['delete'](this['updateCssData']),(null==styleMutationObserverCbList?void 0x0:styleMutationObserverCbList['size'])||(null==styleMutationObserver||styleMutationObserver['disconnect'](),styleMutationObserver=null,styleMutationObserverCbList=null);},0x64)));}static['reg'](_0x4dda0a,_0x481065=!0x1){_0x4dda0a||(autoTagsCount++,_0x4dda0a=_0x3ab676['AUTO_TAG_PRFX']+'-'+autoTagsCount),this['__tag']=_0x4dda0a;let _0x5a0909=window['customElements']['get'](_0x4dda0a);_0x5a0909?_0x481065||_0x5a0909===this||console['warn'](['Element\x20with\x20tag\x20name\x20\x22'+_0x4dda0a+'\x22\x20already\x20registered.','You\x27re\x20trying\x20to\x20override\x20it\x20with\x20another\x20class\x20\x22'+this['name']+'\x22.','This\x20is\x20most\x20likely\x20a\x20mistake.','New\x20element\x20will\x20not\x20be\x20registered.']['join']('\x0a')):window['customElements']['define'](_0x4dda0a,_0x481065?class extends this{}:this);}static get['is'](){return this['__tag']||this['reg'](),this['__tag'];}static['bindAttributes'](_0x2c7c74){this['observedAttributes']=Object['keys'](_0x2c7c74),this['__attrDesc']=_0x2c7c74;}['attributeChangedCallback'](_0x2cf972,_0x25b2d3,_0x374ab8){var _0x5901c7;if(_0x25b2d3===_0x374ab8)return;let _0x8f15c1=null==(_0x5901c7=this['constructor']['__attrDesc'])?void 0x0:_0x5901c7[_0x2cf972];_0x8f15c1?this['__dataCtxInitialized']?this['$'][_0x8f15c1]=_0x374ab8:this['init$'][_0x8f15c1]=_0x374ab8:this[_0x2cf972]=_0x374ab8;}['getCssData'](_0x3e63c9,_0x5b97c7=!0x1){if(this['__cssDataCache']||(this['__cssDataCache']=Object['create'](null)),!Object['keys'](this['__cssDataCache'])['includes'](_0x3e63c9)){this['__computedStyle']||(this['__computedStyle']=window['getComputedStyle'](this));let _0x368383=this['__computedStyle']['getPropertyValue'](_0x3e63c9)['trim']();try{this['__cssDataCache'][_0x3e63c9]=parseCssPropertyValue(_0x368383);}catch(_0x35da84){!_0x5b97c7&&console['warn']('CSS\x20Data\x20error:\x20'+_0x3e63c9),this['__cssDataCache'][_0x3e63c9]=null;}}return this['__cssDataCache'][_0x3e63c9];}['__extractCssName'](_0x356050){return _0x356050['split']('--')['map']((_0x51ad12,_0xbe83cb)=>0x0===_0xbe83cb?'':_0x51ad12)['join']('--');}['__initStyleAttrObserver'](){styleMutationObserverCbList||(styleMutationObserverCbList=new Set()),styleMutationObserverCbList['add'](this['updateCssData']),styleMutationObserver||(styleMutationObserver=new MutationObserver(_0x141de4=>{'attributes'===_0x141de4[0x0]['type']&&styleMutationObserverCbList['forEach'](_0x112753=>{_0x112753();});}))['observe'](document,{'childList':!0x0,'subtree':!0x0,'attributes':!0x0,'attributeFilter':['style']});}['bindCssData'](_0x1b9441,_0x34b693=''){this['__boundCssProps']||(this['__boundCssProps']=new Set()),this['__boundCssProps']['add'](_0x1b9441);let _0x44e86e=this['getCssData'](this['__extractCssName'](_0x1b9441),!0x0);null===_0x44e86e&&(_0x44e86e=_0x34b693),this['add'](_0x1b9441,_0x44e86e),this['__initStyleAttrObserver']();}['dropCssDataCache'](){this['__cssDataCache']=null,this['__computedStyle']=null;}['defineAccessor'](_0x2afb92,_0x492940,_0xd42a3b){let _0x1bb2a7='__'+_0x2afb92;this[_0x1bb2a7]=this[_0x2afb92],Object['defineProperty'](this,_0x2afb92,{'set':_0x325713=>{this[_0x1bb2a7]=_0x325713,_0xd42a3b?window['setTimeout'](()=>{null==_0x492940||_0x492940(_0x325713);}):null==_0x492940||_0x492940(_0x325713);},'get':()=>this[_0x1bb2a7]}),this[_0x2afb92]=this[_0x1bb2a7];}static set['shadowStyles'](_0x47af8b){let _0x389f11=new Blob([_0x47af8b],{'type':'text/css'});this['__shadowStylesUrl']=URL['createObjectURL'](_0x389f11);}static set['rootStyles'](_0x5e33e9){if(!this['__rootStylesLink']){let _0x968017=new Blob([_0x5e33e9],{'type':'text/css'}),_0x3bd6d5=URL['createObjectURL'](_0x968017),_0xe86f6=document['createElement']('link');_0xe86f6['href']=_0x3bd6d5,_0xe86f6['rel']='stylesheet',this['__rootStylesLink']=_0xe86f6;}}},BaseComponent=_BaseComponent;function applyStyles(_0x1f04a6,_0x24362c){for(let _0x299f78 in _0x24362c)_0x299f78['includes']('-')?_0x1f04a6['style']['setProperty'](_0x299f78,_0x24362c[_0x299f78]):_0x1f04a6['style'][_0x299f78]=_0x24362c[_0x299f78];}function applyAttributes(_0x310299,_0x20d357){for(let _0x5479ae in _0x20d357)_0x20d357[_0x5479ae]['constructor']===Boolean?_0x20d357[_0x5479ae]?_0x310299['setAttribute'](_0x5479ae,''):_0x310299['removeAttribute'](_0x5479ae):_0x310299['setAttribute'](_0x5479ae,_0x20d357[_0x5479ae]);}function create(_0xea1b13={'tag':'div'}){let _0x4039e3=document['createElement'](_0xea1b13['tag']);if(_0xea1b13['attributes']&&applyAttributes(_0x4039e3,_0xea1b13['attributes']),_0xea1b13['styles']&&applyStyles(_0x4039e3,_0xea1b13['styles']),_0xea1b13['properties']){for(let _0x210aab in _0xea1b13['properties'])_0x4039e3[_0x210aab]=_0xea1b13['properties'][_0x210aab];}return _0xea1b13['processors']&&_0xea1b13['processors']['forEach'](_0x341b1e=>{_0x341b1e(_0x4039e3);}),_0xea1b13['children']&&_0xea1b13['children']['forEach'](_0x255675=>{let _0x358556=create(_0x255675);_0x4039e3['appendChild'](_0x358556);}),_0x4039e3;}_0x1346c0(BaseComponent,'template');var _0x59d0a5='idb-store-ready',_0x499395='symbiote-db',_0x235233='symbiote-idb-update_',DbInstance=class{['_notifyWhenReady'](_0x2d96a7=null){window['dispatchEvent'](new CustomEvent(_0x59d0a5,{'detail':{'dbName':this['name'],'storeName':this['storeName'],'event':_0x2d96a7}}));}get['_updEventName'](){return _0x235233+this['name'];}['_getUpdateEvent'](_0x3446c2){return new CustomEvent(this['_updEventName'],{'detail':{'key':this['name'],'newValue':_0x3446c2}});}['_notifySubscribers'](_0x293dfd){window['localStorage']['removeItem'](this['name']),window['localStorage']['setItem'](this['name'],_0x293dfd),window['dispatchEvent'](this['_getUpdateEvent'](_0x293dfd));}constructor(_0x28dd3f,_0x5a2c80){this['name']=_0x28dd3f,this['storeName']=_0x5a2c80,this['version']=0x1,this['request']=window['indexedDB']['open'](this['name'],this['version']),this['request']['onupgradeneeded']=_0x21b357=>{this['db']=_0x21b357['target']['result'],this['objStore']=this['db']['createObjectStore'](_0x5a2c80,{'keyPath':'_key'}),this['objStore']['transaction']['oncomplete']=_0x1f48a0=>{this['_notifyWhenReady'](_0x1f48a0);};},this['request']['onsuccess']=_0x269e01=>{this['db']=_0x269e01['target']['result'],this['_notifyWhenReady'](_0x269e01);},this['request']['onerror']=_0x122d85=>{console['error'](_0x122d85);},this['_subscriptionsMap']={},this['_updateHandler']=_0x17540c=>{_0x17540c['key']===this['name']&&this['_subscriptionsMap'][_0x17540c['newValue']]&&this['_subscriptionsMap'][_0x17540c['newValue']]['forEach'](async _0xfc1de6=>{_0xfc1de6(await this['read'](_0x17540c['newValue']));});},this['_localUpdateHandler']=_0x2bf022=>{this['_updateHandler'](_0x2bf022['detail']);},window['addEventListener']('storage',this['_updateHandler']),window['addEventListener'](this['_updEventName'],this['_localUpdateHandler']);}['read'](_0x2e6446){let _0x268ada=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['get'](_0x2e6446);return new Promise((_0x571b3e,_0x4df6ea)=>{_0x268ada['onsuccess']=_0x3c7006=>{var _0x3a4d14;(null==(_0x3a4d14=_0x3c7006['target']['result'])?void 0x0:_0x3a4d14['_value'])?_0x571b3e(_0x3c7006['target']['result']['_value']):(_0x571b3e(null),console['warn']('IDB:\x20cannot\x20read\x20\x22'+_0x2e6446+'\x22'));},_0x268ada['onerror']=_0x5b01bb=>{_0x4df6ea(_0x5b01bb);};});}['write'](_0x254da6,_0x584f44,_0x30c42f=!0x1){let _0x611766={'_key':_0x254da6,'_value':_0x584f44},_0x67160c=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['put'](_0x611766);return new Promise((_0x28e03e,_0x2461f3)=>{_0x67160c['onsuccess']=_0x210ee8=>{_0x30c42f||this['_notifySubscribers'](_0x254da6),_0x28e03e(_0x210ee8['target']['result']);},_0x67160c['onerror']=_0xd78127=>{_0x2461f3(_0xd78127);};});}['delete'](_0x58767f,_0x2c389f=!0x1){let _0x368d0f=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['delete'](_0x58767f);return new Promise((_0x12d20f,_0x3eebf3)=>{_0x368d0f['onsuccess']=_0x1121df=>{_0x2c389f||this['_notifySubscribers'](_0x58767f),_0x12d20f(_0x1121df);},_0x368d0f['onerror']=_0x41e006=>{_0x3eebf3(_0x41e006);};});}['getAll'](){let _0x1a3178=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['getAll']();return new Promise((_0x3166fc,_0x1e3739)=>{_0x1a3178['onsuccess']=_0x198c82=>{let _0x49bbb3=_0x198c82['target']['result'];_0x3166fc(_0x49bbb3['map'](_0xb4b26b=>_0xb4b26b['_value']));},_0x1a3178['onerror']=_0x196779=>{_0x1e3739(_0x196779);};});}['subscribe'](_0x3a8254,_0x46a34b){this['_subscriptionsMap'][_0x3a8254]||(this['_subscriptionsMap'][_0x3a8254]=new Set());let _0x43d1ce=this['_subscriptionsMap'][_0x3a8254];return _0x43d1ce['add'](_0x46a34b),{'remove':()=>{_0x43d1ce['delete'](_0x46a34b),_0x43d1ce['size']||delete this['_subscriptionsMap'][_0x3a8254];}};}['stop'](){window['removeEventListener']('storage',this['_updateHandler']),this['_subscriptionsMap']=null,_0x38dc6c['clear'](this['name']);}},_0x38dc6c=class{static get['readyEventName'](){return _0x59d0a5;}static['open'](_0x55caab=_0x499395,_0x1c76e='store'){let _0x4c867d=_0x55caab+'/'+_0x1c76e;return this['_reg'][_0x4c867d]||(this['_reg'][_0x4c867d]=new DbInstance(_0x55caab,_0x1c76e)),this['_reg'][_0x4c867d];}static['clear'](_0xe9bc90){window['indexedDB']['deleteDatabase'](_0xe9bc90);for(let _0x5df14b in this['_reg'])_0x5df14b['split']('/')[0x0]===_0xe9bc90&&delete this['_reg'][_0x5df14b];}};function isObject(_0x27464e){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x27464e);}_0x1346c0(_0x38dc6c,'_reg',Object['create'](null));const _0x4292ff=/\W|_/g;function camelizeString(_0x1036d9){return _0x1036d9['split'](_0x4292ff)['map']((_0x235bf2,_0x4b329e)=>_0x235bf2['charAt'](0x0)[_0x4b329e>0x0?'toUpperCase':'toLowerCase']()+_0x235bf2['slice'](0x1))['join']('');}function camelizeArrayItems(_0x3d4fe7,{ignoreKeys:_0x4f7210}={'ignoreKeys':[]}){return Array['isArray'](_0x3d4fe7)?_0x3d4fe7['map'](_0x27fbfd=>_0x1f5a6(_0x27fbfd,{'ignoreKeys':_0x4f7210})):_0x3d4fe7;}function _0x1f5a6(_0x5d3bf7,{ignoreKeys:_0x3eae79}={'ignoreKeys':[]}){if(Array['isArray'](_0x5d3bf7))return camelizeArrayItems(_0x5d3bf7,{'ignoreKeys':_0x3eae79});if(!isObject(_0x5d3bf7))return _0x5d3bf7;const _0x504be6={};for(const _0x188a5f of Object['keys'](_0x5d3bf7)){let _0x4eb61e=_0x5d3bf7[_0x188a5f];_0x3eae79['includes'](_0x188a5f)?_0x504be6[_0x188a5f]=_0x4eb61e:(isObject(_0x4eb61e)?_0x4eb61e=_0x1f5a6(_0x4eb61e,{'ignoreKeys':_0x3eae79}):Array['isArray'](_0x4eb61e)&&(_0x4eb61e=camelizeArrayItems(_0x4eb61e,{'ignoreKeys':_0x3eae79})),_0x504be6[camelizeString(_0x188a5f)]=_0x4eb61e);}return _0x504be6;}const _0x3b91ce=_0x147e2c=>new Promise(_0x1e94c3=>setTimeout(_0x1e94c3,_0x147e2c));function getUserAgent$1({libraryName:_0x76caef,libraryVersion:_0x47c59c,userAgent:_0x2513c8,publicKey:_0x24de61='',integration:_0x4abc85=''}){const _0x3375a7='JavaScript';if('string'==typeof _0x2513c8)return _0x2513c8;if('function'==typeof _0x2513c8)return _0x2513c8({'publicKey':_0x24de61,'libraryName':_0x76caef,'libraryVersion':_0x47c59c,'languageName':_0x3375a7,'integration':_0x4abc85});return[_0x76caef,_0x47c59c,_0x24de61]['filter'](Boolean)['join']('/')+'\x20('+[_0x3375a7,_0x4abc85]['filter'](Boolean)['join'](';\x20')+')';}const defaultOptions={'factor':0x2,'time':0x64};function retrier(_0x14328f,_0x177d0a=defaultOptions){let _0x1dc255=0x0;return function _0x2b054b(_0x4d706c){const _0x176030=Math['round'](_0x177d0a['time']*_0x177d0a['factor']**_0x1dc255);return _0x4d706c({'attempt':_0x1dc255,'retry':_0x1b4f44=>_0x3b91ce(_0x1b4f44??_0x176030)['then'](()=>(_0x1dc255+=0x1,_0x2b054b(_0x4d706c)))});}(_0x14328f);}class _0x469624 extends Error{}class NetworkError extends _0x469624{['originalProgressEvent'];constructor(_0x3c9a39){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,NetworkError['prototype']),this['originalProgressEvent']=_0x3c9a39;}}const _0x2b4217=(_0x52f782,_0x5be4dc)=>{_0x52f782&&(_0x52f782['aborted']?Promise['resolve']()['then'](_0x5be4dc):_0x52f782['addEventListener']('abort',()=>_0x5be4dc(),{'once':!0x0}));};class _0x57a7f2 extends _0x469624{['isCancel']=!0x0;constructor(_0x33a6be='Request\x20canceled'){super(_0x33a6be),this['name']='CancelError',Object['setPrototypeOf'](this,_0x57a7f2['prototype']);}}const _0x21a34a=0x1f4,_0x330ccb=({check:_0x4397cc,interval:_0x1bf5a5=_0x21a34a,timeout:_0xea76f0,signal:_0x51512a})=>new Promise((_0x105669,_0x1ba0c4)=>{let _0xb6aaba,_0x14863b;_0x2b4217(_0x51512a,()=>{_0xb6aaba&&clearTimeout(_0xb6aaba),_0x1ba0c4(new _0x57a7f2('Poll\x20cancelled'));}),_0xea76f0&&(_0x14863b=setTimeout(()=>{_0xb6aaba&&clearTimeout(_0xb6aaba),_0x1ba0c4(new _0x57a7f2('Timed\x20out'));},_0xea76f0));const _0x1b7eb5=()=>{try{Promise['resolve'](_0x4397cc(_0x51512a))['then'](_0x510731=>{_0x510731?(_0x14863b&&clearTimeout(_0x14863b),_0x105669(_0x510731)):_0xb6aaba=setTimeout(_0x1b7eb5,_0x1bf5a5);})['catch'](_0x4997cb=>{_0x14863b&&clearTimeout(_0x14863b),_0x1ba0c4(_0x4997cb);});}catch(_0x5dfb61){_0x14863b&&clearTimeout(_0x14863b),_0x1ba0c4(_0x5dfb61);}};_0xb6aaba=setTimeout(_0x1b7eb5,0x0);}),defaultSettings={'baseCDN':'https://ucarecdn.com','baseURL':'https://upload.uploadcare.com','retryThrottledRequestMaxTimes':0x1,'retryNetworkErrorMaxTimes':0x3,'multipartMinFileSize':0x1900000,'multipartChunkSize':0x500000,'maxConcurrentRequests':0x4,'pusherKey':'79ae88bd931ea68464d9'},defaultContentType='application/octet-stream',defaultFilename='original',request=({method:_0x33b110,url:_0x115b51,data:_0x33edf7,headers:_0x23d9d3={},signal:_0x410742,onProgress:_0x3ffa2a})=>new Promise((_0x3a3eee,_0x2de28a)=>{const _0x15e131=new XMLHttpRequest(),_0x8edd30=_0x33b110?.['toUpperCase']()||'GET';let _0x4cdce7=!0x1;_0x15e131['open'](_0x8edd30,_0x115b51,!0x0),_0x23d9d3&&Object['entries'](_0x23d9d3)['forEach'](_0x500b18=>{const [_0x58220e,_0x1a6ffa]=_0x500b18;void 0x0!==_0x1a6ffa&&!Array['isArray'](_0x1a6ffa)&&_0x15e131['setRequestHeader'](_0x58220e,_0x1a6ffa);}),_0x15e131['responseType']='text',_0x2b4217(_0x410742,()=>{_0x4cdce7=!0x0,_0x15e131['abort'](),_0x2de28a(new _0x57a7f2());}),_0x15e131['onload']=()=>{if(0xc8!=_0x15e131['status'])_0x2de28a(new Error('Error\x20'+_0x15e131['status']+':\x20'+_0x15e131['statusText']));else{const _0x2849f8={'method':_0x8edd30,'url':_0x115b51,'data':_0x33edf7,'headers':_0x23d9d3||void 0x0,'signal':_0x410742,'onProgress':_0x3ffa2a},_0x3ac035=_0x15e131['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0x5f4487={};_0x3ac035['forEach'](function(_0x25fbc7){const _0x294f42=_0x25fbc7['split'](':\x20'),_0x22c992=_0x294f42['shift'](),_0x30d90c=_0x294f42['join'](':\x20');_0x22c992&&void 0x0!==_0x22c992&&(_0x5f4487[_0x22c992]=_0x30d90c);});const _0x360bde=_0x15e131['response'],_0x4a40ae=_0x15e131['status'];_0x3a3eee({'request':_0x2849f8,'data':_0x360bde,'headers':_0x5f4487,'status':_0x4a40ae});}},_0x15e131['onerror']=_0x55ed4f=>{_0x4cdce7||_0x2de28a(new NetworkError(_0x55ed4f));},_0x3ffa2a&&'function'==typeof _0x3ffa2a&&(_0x15e131['upload']['onprogress']=_0x5dd764=>{_0x5dd764['lengthComputable']?_0x3ffa2a({'isComputable':!0x0,'value':_0x5dd764['loaded']/_0x5dd764['total']}):_0x3ffa2a({'isComputable':!0x1});}),_0x33edf7?_0x15e131['send'](_0x33edf7):_0x15e131['send']();});function identity(_0x503861,..._0x288adf){return _0x503861;}const getFileOptions=({name:_0x3bf6ee})=>_0x3bf6ee?[_0x3bf6ee]:[],transformFile=identity;var getFormData=()=>new FormData();const _0x46a9be=_0x690ad0=>!0x1,_0x3bd446=_0x3680ef=>'undefined'!=typeof Blob&&_0x3680ef instanceof Blob,_0x42f04e=_0x420154=>'undefined'!=typeof File&&_0x420154 instanceof File,isReactNativeAsset=_0xff893b=>!!_0xff893b&&'object'==typeof _0xff893b&&!Array['isArray'](_0xff893b)&&'uri'in _0xff893b&&'string'==typeof _0xff893b['uri'],isFileData=_0x41dd2b=>_0x3bd446(_0x41dd2b)||_0x42f04e(_0x41dd2b)||_0x46a9be()||isReactNativeAsset(_0x41dd2b),_0x172c4e=_0x51a827=>'string'==typeof _0x51a827||'number'==typeof _0x51a827||void 0x0===_0x51a827,isObjectValue=_0x4886f4=>!!_0x4886f4&&'object'==typeof _0x4886f4&&!Array['isArray'](_0x4886f4),_0x4a285d=_0x20341e=>!!_0x20341e&&'object'==typeof _0x20341e&&'data'in _0x20341e&&isFileData(_0x20341e['data']);function collectParams(_0x1d9065,_0x385b09,_0x5b54b9){if(Array['isArray'](_0x5b54b9)){for(const _0x5c9904 of _0x5b54b9)collectParams(_0x1d9065,_0x385b09+'[]',_0x5c9904);}else{if(_0x4a285d(_0x5b54b9)){const {name:_0x320868,contentType:_0x213aba}=_0x5b54b9,_0x2c3182=transformFile(_0x5b54b9['data'],_0x320868,_0x213aba??defaultContentType),_0xae8552=getFileOptions({'name':_0x320868});_0x1d9065['push']([_0x385b09,_0x2c3182,..._0xae8552]);}else{if(isObjectValue(_0x5b54b9)){for(const [_0x9affbf,_0x18c383]of Object['entries'](_0x5b54b9))void 0x0!==_0x18c383&&_0x1d9065['push']([_0x385b09+'['+_0x9affbf+']',String(_0x18c383)]);}else _0x172c4e(_0x5b54b9)&&_0x5b54b9&&_0x1d9065['push']([_0x385b09,_0x5b54b9['toString']()]);}}}function getFormDataParams(_0x10db25){const _0x3998db=[];for(const [_0x533cbc,_0x4e46aa]of Object['entries'](_0x10db25))collectParams(_0x3998db,_0x533cbc,_0x4e46aa);return _0x3998db;}function buildFormData(_0xc89501){const _0x545c97=getFormData(),_0x5ee4b7=getFormDataParams(_0xc89501);for(const _0x60dda0 of _0x5ee4b7){const [_0x781a30,_0x1c6a92,..._0x34bbe7]=_0x60dda0;_0x545c97['append'](_0x781a30,_0x1c6a92,..._0x34bbe7);}return _0x545c97;}class _0x3e5bd6 extends _0x469624{['code'];['request'];['response'];['headers'];constructor(_0x1fd8cf,_0x291ec6,_0x49e89b,_0x548f56,_0x1e3046){super(),this['name']='UploadError',this['message']=_0x1fd8cf,this['code']=_0x291ec6,this['request']=_0x49e89b,this['response']=_0x548f56,this['headers']=_0x1e3046,Object['setPrototypeOf'](this,_0x3e5bd6['prototype']);}}const _0x3b506e=_0xbd5383=>{const _0x22c4aa=new URLSearchParams();for(const [_0x1ab9d2,_0x33345c]of Object['entries'](_0xbd5383))_0x33345c&&'object'==typeof _0x33345c&&!Array['isArray'](_0x33345c)?Object['entries'](_0x33345c)['filter'](_0x24b10b=>_0x24b10b[0x1]??!0x1)['forEach'](_0x1de861=>_0x22c4aa['set'](_0x1ab9d2+'['+_0x1de861[0x0]+']',String(_0x1de861[0x1]))):Array['isArray'](_0x33345c)?_0x33345c['forEach'](_0x7a4bc5=>{_0x22c4aa['append'](_0x1ab9d2+'[]',_0x7a4bc5);}):'string'==typeof _0x33345c&&_0x33345c?_0x22c4aa['set'](_0x1ab9d2,_0x33345c):'number'==typeof _0x33345c&&_0x22c4aa['set'](_0x1ab9d2,_0x33345c['toString']());return _0x22c4aa['toString']();},getUrl=(_0x51b0c4,_0x2a76bd,_0x155336)=>{const _0x5155e7=new URL(_0x51b0c4);return _0x5155e7['pathname']=(_0x5155e7['pathname']+_0x2a76bd)['replace']('//','/'),_0x155336&&(_0x5155e7['search']=_0x3b506e(_0x155336)),_0x5155e7['toString']();};var _0x1a489e='6.18.2';const _0x4f7040='UploadcareUploadClient',_0x3a266b=_0x1a489e;function getUserAgent(_0x3ebbbe){return getUserAgent$1({'libraryName':_0x4f7040,'libraryVersion':_0x3a266b,..._0x3ebbbe});}const _0x318c5a='RequestThrottledError',_0x586a6a=0x3a98,_0x4bc138=0x3e8;function getTimeoutFromThrottledRequest(_0x477631){const {headers:_0x593cef}=_0x477631||{};if(!_0x593cef||'string'!=typeof _0x593cef['retry-after'])return _0x586a6a;const _0x5761fc=parseInt(_0x593cef['retry-after'],0xa);return Number['isFinite'](_0x5761fc)?0x3e8*_0x5761fc:_0x586a6a;}function retryIfFailed(_0x1b0b3c,_0x30a0c9){const {retryThrottledRequestMaxTimes:_0xc0f59c,retryNetworkErrorMaxTimes:_0xec728d}=_0x30a0c9;return retrier(({attempt:_0x5bd497,retry:_0x1bf4c1})=>_0x1b0b3c()['catch'](_0x1554ab=>{if('response'in _0x1554ab&&_0x1554ab?.['code']===_0x318c5a&&_0x5bd497<_0xc0f59c)return _0x1bf4c1(getTimeoutFromThrottledRequest(_0x1554ab));if(_0x1554ab instanceof NetworkError&&_0x5bd497<_0xec728d)return _0x1bf4c1((_0x5bd497+0x1)*_0x4bc138);throw _0x1554ab;}));}const getContentType=_0x22e1fd=>{let _0x52457e='';return(_0x3bd446(_0x22e1fd)||_0x42f04e(_0x22e1fd)||isReactNativeAsset(_0x22e1fd))&&(_0x52457e=_0x22e1fd['type']),_0x52457e||defaultContentType;},getFileName=_0x12358a=>{let _0x4f5fbe='';return _0x42f04e(_0x12358a)&&_0x12358a['name']?_0x4f5fbe=_0x12358a['name']:_0x3bd446(_0x12358a)||_0x46a9be()?_0x4f5fbe='':isReactNativeAsset(_0x12358a)&&_0x12358a['name']&&(_0x4f5fbe=_0x12358a['name']),_0x4f5fbe||defaultFilename;};function getStoreValue(_0x180074){return void 0x0===_0x180074||'auto'===_0x180074?'auto':_0x180074?'1':'0';}function _0x3d7c0a(_0x1e0a3c,{publicKey:_0x3b784c,fileName:_0x1525d8,contentType:_0x387302,baseURL:_0xfba43c=defaultSettings['baseURL'],secureSignature:_0x3a16d9,secureExpire:_0x1c8eae,store:_0x1dd626,signal:_0x3ff132,onProgress:_0x3c5070,source:_0x36f27c='local',integration:_0x4968bb,userAgent:_0xb918a1,retryThrottledRequestMaxTimes:_0x1158e6=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x3cb997=defaultSettings['retryNetworkErrorMaxTimes'],metadata:_0x534bb2}){return retryIfFailed(()=>request({'method':'POST','url':getUrl(_0xfba43c,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x3b784c,'integration':_0x4968bb,'userAgent':_0xb918a1})},'data':buildFormData({'file':{'data':_0x1e0a3c,'name':_0x1525d8||getFileName(_0x1e0a3c),'contentType':_0x387302||getContentType(_0x1e0a3c)},'UPLOADCARE_PUB_KEY':_0x3b784c,'UPLOADCARE_STORE':getStoreValue(_0x1dd626),'signature':_0x3a16d9,'expire':_0x1c8eae,'source':_0x36f27c,'metadata':_0x534bb2}),'signal':_0x3ff132,'onProgress':_0x3c5070})['then'](({data:_0x1fea76,headers:_0x52946e,request:_0xf21d1a})=>{const _0x21df74=_0x1f5a6(JSON['parse'](_0x1fea76));if('error'in _0x21df74)throw new _0x3e5bd6(_0x21df74['error']['content'],_0x21df74['error']['errorCode'],_0xf21d1a,_0x21df74,_0x52946e);return _0x21df74;}),{'retryNetworkErrorMaxTimes':_0x3cb997,'retryThrottledRequestMaxTimes':_0x1158e6});}var _0x13b8c7,Status;function _0x9ac9dd(_0x4e9a77,{publicKey:_0x4b00ee,baseURL:_0x3fbd96=defaultSettings['baseURL'],store:_0x4f0e79,fileName:_0x3662cd,checkForUrlDuplicates:_0x2d5868,saveUrlForRecurrentUploads:_0x596ff0,secureSignature:_0x523653,secureExpire:_0x3906a9,source:_0x3c3948='url',signal:_0xadd4e0,integration:_0x44cdec,userAgent:_0x5d6695,retryThrottledRequestMaxTimes:_0x43cbda=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x261359=defaultSettings['retryNetworkErrorMaxTimes'],metadata:_0x5c871e}){return retryIfFailed(()=>request({'method':'POST','headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x4b00ee,'integration':_0x44cdec,'userAgent':_0x5d6695})},'url':getUrl(_0x3fbd96,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x4b00ee,'source_url':_0x4e9a77,'store':getStoreValue(_0x4f0e79),'filename':_0x3662cd,'check_URL_duplicates':_0x2d5868?0x1:void 0x0,'save_URL_duplicates':_0x596ff0?0x1:void 0x0,'signature':_0x523653,'expire':_0x3906a9,'source':_0x3c3948,'metadata':_0x5c871e}),'signal':_0xadd4e0})['then'](({data:_0x4ed9ad,headers:_0x5dc641,request:_0x7d14bd})=>{const _0x48f3c2=_0x1f5a6(JSON['parse'](_0x4ed9ad));if('error'in _0x48f3c2)throw new _0x3e5bd6(_0x48f3c2['error']['content'],_0x48f3c2['error']['errorCode'],_0x7d14bd,_0x48f3c2,_0x5dc641);return _0x48f3c2;}),{'retryNetworkErrorMaxTimes':_0x261359,'retryThrottledRequestMaxTimes':_0x43cbda});}!function(_0x476446){_0x476446['Token']='token',_0x476446['FileInfo']='file_info';}(_0x13b8c7||(_0x13b8c7={})),function(_0x27b40e){_0x27b40e['Unknown']='unknown',_0x27b40e['Waiting']='waiting',_0x27b40e['Progress']='progress',_0x27b40e['Error']='error',_0x27b40e['Success']='success';}(Status||(Status={}));const _0x10d43a=_0x5617fd=>'status'in _0x5617fd&&_0x5617fd['status']===Status['Error'];function fromUrlStatus(_0x3b85ea,{publicKey:_0x18fd4a,baseURL:_0x57dd26=defaultSettings['baseURL'],signal:_0x31ec23,integration:_0x301dc0,userAgent:_0x2abd0d,retryThrottledRequestMaxTimes:_0x506cf6=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x297010=defaultSettings['retryNetworkErrorMaxTimes']}={}){return retryIfFailed(()=>request({'method':'GET','headers':_0x18fd4a?{'X-UC-User-Agent':getUserAgent({'publicKey':_0x18fd4a,'integration':_0x301dc0,'userAgent':_0x2abd0d})}:void 0x0,'url':getUrl(_0x57dd26,'/from_url/status/',{'jsonerrors':0x1,'token':_0x3b85ea}),'signal':_0x31ec23})['then'](({data:_0x13df99,headers:_0x394b67,request:_0x57785f})=>{const _0x2d93d1=_0x1f5a6(JSON['parse'](_0x13df99));if('error'in _0x2d93d1&&!_0x10d43a(_0x2d93d1))throw new _0x3e5bd6(_0x2d93d1['error']['content'],_0x2d93d1['error']['errorCode'],_0x57785f,_0x2d93d1,_0x394b67);return _0x2d93d1;}),{'retryNetworkErrorMaxTimes':_0x297010,'retryThrottledRequestMaxTimes':_0x506cf6});}function _0x575632(_0x42924c,{publicKey:_0x5ca41b,baseURL:_0x36aec5=defaultSettings['baseURL'],jsonpCallback:_0x1b3f92,secureSignature:_0xdcad51,secureExpire:_0x515432,signal:_0x2357e1,source:_0x2832fd,integration:_0x4c0b65,userAgent:_0xd2e239,retryThrottledRequestMaxTimes:_0x1d878b=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x2fd4ba=defaultSettings['retryNetworkErrorMaxTimes']}){return retryIfFailed(()=>request({'method':'POST','headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x5ca41b,'integration':_0x4c0b65,'userAgent':_0xd2e239})},'url':getUrl(_0x36aec5,'/group/',{'jsonerrors':0x1}),'data':buildFormData({'files':_0x42924c,'callback':_0x1b3f92,'pub_key':_0x5ca41b,'signature':_0xdcad51,'expire':_0x515432,'source':_0x2832fd}),'signal':_0x2357e1})['then'](({data:_0x5a14a6,headers:_0x5d48eb,request:_0x419bf3})=>{const _0x434846=_0x1f5a6(JSON['parse'](_0x5a14a6));if('error'in _0x434846)throw new _0x3e5bd6(_0x434846['error']['content'],_0x434846['error']['errorCode'],_0x419bf3,_0x434846,_0x5d48eb);return _0x434846;}),{'retryNetworkErrorMaxTimes':_0x2fd4ba,'retryThrottledRequestMaxTimes':_0x1d878b});}function _0x892fcf(_0xe98c6c,{publicKey:_0x39963a,baseURL:_0x4e1e2d=defaultSettings['baseURL'],signal:_0x2c134e,source:_0x3fc95a,integration:_0x3973b0,userAgent:_0x559e41,retryThrottledRequestMaxTimes:_0x49c0ad=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x46893b=defaultSettings['retryNetworkErrorMaxTimes']}){return retryIfFailed(()=>request({'method':'GET','headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x39963a,'integration':_0x3973b0,'userAgent':_0x559e41})},'url':getUrl(_0x4e1e2d,'/info/',{'jsonerrors':0x1,'pub_key':_0x39963a,'file_id':_0xe98c6c,'source':_0x3fc95a}),'signal':_0x2c134e})['then'](({data:_0x14023d,headers:_0x5bd22d,request:_0x1f19d8})=>{const _0x12c673=_0x1f5a6(JSON['parse'](_0x14023d));if('error'in _0x12c673)throw new _0x3e5bd6(_0x12c673['error']['content'],_0x12c673['error']['errorCode'],_0x1f19d8,_0x12c673,_0x5bd22d);return _0x12c673;}),{'retryThrottledRequestMaxTimes':_0x49c0ad,'retryNetworkErrorMaxTimes':_0x46893b});}function multipartStart(_0x2c973b,{publicKey:_0x47b3eb,contentType:_0x264083,fileName:_0x56f47b,multipartChunkSize:_0x583a68=defaultSettings['multipartChunkSize'],baseURL:_0x5d1c65='',secureSignature:_0x2f82b4,secureExpire:_0x375254,store:_0x4ee898,signal:_0x332529,source:_0x579295='local',integration:_0x163ac3,userAgent:_0x454b64,retryThrottledRequestMaxTimes:_0x1201cd=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x44cf1f=defaultSettings['retryNetworkErrorMaxTimes'],metadata:_0x4f7cab}){return retryIfFailed(()=>request({'method':'POST','url':getUrl(_0x5d1c65,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x47b3eb,'integration':_0x163ac3,'userAgent':_0x454b64})},'data':buildFormData({'filename':_0x56f47b||defaultFilename,'size':_0x2c973b,'content_type':_0x264083||defaultContentType,'part_size':_0x583a68,'UPLOADCARE_STORE':getStoreValue(_0x4ee898),'UPLOADCARE_PUB_KEY':_0x47b3eb,'signature':_0x2f82b4,'expire':_0x375254,'source':_0x579295,'metadata':_0x4f7cab}),'signal':_0x332529})['then'](({data:_0x20a302,headers:_0x526623,request:_0x150e51})=>{const _0x34d969=_0x1f5a6(JSON['parse'](_0x20a302));if('error'in _0x34d969)throw new _0x3e5bd6(_0x34d969['error']['content'],_0x34d969['error']['errorCode'],_0x150e51,_0x34d969,_0x526623);return _0x34d969['parts']=Object['keys'](_0x34d969['parts'])['map'](_0x107a2b=>_0x34d969['parts'][Number(_0x107a2b)]),_0x34d969;}),{'retryThrottledRequestMaxTimes':_0x1201cd,'retryNetworkErrorMaxTimes':_0x44cf1f});}function multipartUpload(_0x4057ac,_0x14f42f,{contentType:_0x26bfcc,signal:_0x4c8294,onProgress:_0x4f710f,retryThrottledRequestMaxTimes:_0x11e70d=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x65e5cb=defaultSettings['retryNetworkErrorMaxTimes']}){return retryIfFailed(()=>request({'method':'PUT','url':_0x14f42f,'data':_0x4057ac,'onProgress':_0x4f710f,'signal':_0x4c8294,'headers':{'Content-Type':_0x26bfcc||defaultContentType}})['then'](_0x5aad4d=>(_0x4f710f&&_0x4f710f({'isComputable':!0x0,'value':0x1}),_0x5aad4d))['then'](({status:_0x5e5623})=>({'code':_0x5e5623})),{'retryThrottledRequestMaxTimes':_0x11e70d,'retryNetworkErrorMaxTimes':_0x65e5cb});}function multipartComplete(_0xd31b6b,{publicKey:_0x5d32de,baseURL:_0x162e53=defaultSettings['baseURL'],source:_0x19469f='local',signal:_0x4775a3,integration:_0x18df13,userAgent:_0x2fa5e1,retryThrottledRequestMaxTimes:_0x80b34c=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x550307=defaultSettings['retryNetworkErrorMaxTimes']}){return retryIfFailed(()=>request({'method':'POST','url':getUrl(_0x162e53,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x5d32de,'integration':_0x18df13,'userAgent':_0x2fa5e1})},'data':buildFormData({'uuid':_0xd31b6b,'UPLOADCARE_PUB_KEY':_0x5d32de,'source':_0x19469f}),'signal':_0x4775a3})['then'](({data:_0x423b64,headers:_0x17991f,request:_0x10cb27})=>{const _0x5ae643=_0x1f5a6(JSON['parse'](_0x423b64));if('error'in _0x5ae643)throw new _0x3e5bd6(_0x5ae643['error']['content'],_0x5ae643['error']['errorCode'],_0x10cb27,_0x5ae643,_0x17991f);return _0x5ae643;}),{'retryThrottledRequestMaxTimes':_0x80b34c,'retryNetworkErrorMaxTimes':_0x550307});}function _0x54446c(_0x416882,{publicKey:_0x357dbe,baseURL:_0x4d77e6,source:_0x118c2,integration:_0x579336,userAgent:_0x42856a,retryThrottledRequestMaxTimes:_0x4beb88,retryNetworkErrorMaxTimes:_0x1eadae,signal:_0x45b46e,onProgress:_0x1f245}){return _0x330ccb({'check':_0x23f145=>_0x892fcf(_0x416882,{'publicKey':_0x357dbe,'baseURL':_0x4d77e6,'signal':_0x23f145,'source':_0x118c2,'integration':_0x579336,'userAgent':_0x42856a,'retryThrottledRequestMaxTimes':_0x4beb88,'retryNetworkErrorMaxTimes':_0x1eadae})['then'](_0x3ab81a=>_0x3ab81a['isReady']?_0x3ab81a:(_0x1f245&&_0x1f245({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x45b46e});}function _0xd9d011(_0x170b53){return'defaultEffects'in _0x170b53;}class _0x5e95ad{['uuid'];['name'];['size'];['isStored'];['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];['contentInfo'];['metadata'];['s3Bucket'];['defaultEffects']=null;constructor(_0x3f78d6,{baseCDN:_0x22ca93=defaultSettings['baseCDN'],fileName:_0x50703c}={}){const {uuid:_0x246b34,s3Bucket:_0x566a3f}=_0x3f78d6,_0x1b79fa=getUrl(_0x22ca93,_0x246b34+'/'),_0x258e73=_0x566a3f?getUrl('https://'+_0x566a3f+'.s3.amazonaws.com/',_0x246b34+'/'+_0x3f78d6['filename']):null;this['uuid']=_0x246b34,this['name']=_0x50703c||_0x3f78d6['filename'],this['size']=_0x3f78d6['size'],this['isStored']=_0x3f78d6['isStored'],this['isImage']=_0x3f78d6['isImage'],this['mimeType']=_0x3f78d6['mimeType'],this['cdnUrl']=_0x1b79fa,this['originalFilename']=_0x3f78d6['originalFilename'],this['imageInfo']=_0x3f78d6['imageInfo'],this['videoInfo']=_0x3f78d6['videoInfo'],this['contentInfo']=_0x3f78d6['contentInfo'],this['metadata']=_0x3f78d6['metadata']||null,this['s3Bucket']=_0x566a3f||null,this['s3Url']=_0x258e73,_0xd9d011(_0x3f78d6)&&(this['defaultEffects']=_0x3f78d6['defaultEffects']);}}const uploadDirect=(_0x1cf7b5,{publicKey:_0x27c355,fileName:_0x7118bc,baseURL:_0x24722b,secureSignature:_0x17a359,secureExpire:_0xb02503,store:_0x307ac5,contentType:_0x15c153,signal:_0x366051,onProgress:_0x31f798,source:_0x412722,integration:_0x20f5f1,userAgent:_0xb0753e,retryThrottledRequestMaxTimes:_0x4c73f7,retryNetworkErrorMaxTimes:_0x2e3052,baseCDN:_0x278fe2,metadata:_0x276561})=>_0x3d7c0a(_0x1cf7b5,{'publicKey':_0x27c355,'fileName':_0x7118bc,'contentType':_0x15c153,'baseURL':_0x24722b,'secureSignature':_0x17a359,'secureExpire':_0xb02503,'store':_0x307ac5,'signal':_0x366051,'onProgress':_0x31f798,'source':_0x412722,'integration':_0x20f5f1,'userAgent':_0xb0753e,'retryThrottledRequestMaxTimes':_0x4c73f7,'retryNetworkErrorMaxTimes':_0x2e3052,'metadata':_0x276561})['then'](({file:_0x646b0f})=>_0x54446c(_0x646b0f,{'publicKey':_0x27c355,'baseURL':_0x24722b,'source':_0x412722,'integration':_0x20f5f1,'userAgent':_0xb0753e,'retryThrottledRequestMaxTimes':_0x4c73f7,'retryNetworkErrorMaxTimes':_0x2e3052,'onProgress':_0x31f798,'signal':_0x366051}))['then'](_0x19b94f=>new _0x5e95ad(_0x19b94f,{'baseCDN':_0x278fe2})),_0x2fc90e=(_0x21a600,{publicKey:_0x2b4ed1,fileName:_0x2750ae,baseURL:_0x230870,signal:_0x452187,onProgress:_0x1ede31,source:_0x23bec1,integration:_0x453d7b,userAgent:_0x595674,retryThrottledRequestMaxTimes:_0x55c45e,retryNetworkErrorMaxTimes:_0x45fe05,baseCDN:_0x130228})=>_0x892fcf(_0x21a600,{'publicKey':_0x2b4ed1,'baseURL':_0x230870,'signal':_0x452187,'source':_0x23bec1,'integration':_0x453d7b,'userAgent':_0x595674,'retryThrottledRequestMaxTimes':_0x55c45e,'retryNetworkErrorMaxTimes':_0x45fe05})['then'](_0xf2a361=>new _0x5e95ad(_0xf2a361,{'baseCDN':_0x130228,'fileName':_0x2750ae}))['then'](_0x37ddde=>(_0x1ede31&&_0x1ede31({'isComputable':!0x0,'value':0x1}),_0x37ddde)),_0x264752=(_0x104896,{signal:_0x42fce0}={})=>{let _0x1c37f4=null,_0x5c647a=null;const _0x577bae=_0x104896['map'](()=>new AbortController());return _0x2b4217(_0x42fce0,()=>{_0x577bae['forEach'](_0x2ab0cb=>_0x2ab0cb['abort']());}),Promise['all'](_0x104896['map']((_0x4aa668,_0xdb77dd)=>{const _0x4c84e8=(_0x39a45e=>()=>{_0x5c647a=_0x39a45e,_0x577bae['forEach']((_0x17054c,_0x3e4d0b)=>_0x3e4d0b!==_0x39a45e&&_0x17054c['abort']());})(_0xdb77dd);return Promise['resolve']()['then'](()=>_0x4aa668({'stopRace':_0x4c84e8,'signal':_0x577bae[_0xdb77dd]['signal']}))['then'](_0x36af55=>(_0x4c84e8(),_0x36af55))['catch'](_0x3e98ad=>(_0x1c37f4=_0x3e98ad,null));}))['then'](_0x1f67a8=>{if(null===_0x5c647a)throw _0x1c37f4;return _0x1f67a8[_0x5c647a];});};var WebSocket=window['WebSocket'];class Events{['events']=Object['create']({});['emit'](_0x235324,_0xd83e5f){this['events'][_0x235324]?.['forEach'](_0xd9ffe8=>_0xd9ffe8(_0xd83e5f));}['on'](_0x18cc02,_0x1ebf03){this['events'][_0x18cc02]=this['events'][_0x18cc02]||[],this['events'][_0x18cc02]['push'](_0x1ebf03);}['off'](_0x2e0ea9,_0x2c3479){this['events'][_0x2e0ea9]=_0x2c3479?this['events'][_0x2e0ea9]['filter'](_0x3259df=>_0x3259df!==_0x2c3479):[];}}const _0x5f4480=(_0x1f48ca,_0x3ee660)=>'success'===_0x1f48ca?{'status':Status['Success'],..._0x3ee660}:'progress'===_0x1f48ca?{'status':Status['Progress'],..._0x3ee660}:{'status':Status['Error'],..._0x3ee660};class _0x5ecc72{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new Events();['disconnectTimeoutId']=null;constructor(_0x4f5ebe,_0x3515ed=0x7530){this['key']=_0x4f5ebe,this['disconnectTime']=_0x3515ed;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){const _0x852d5='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new WebSocket(_0x852d5),this['ws']['addEventListener']('error',_0x4ed782=>{this['emmitter']['emit']('error',new Error(_0x4ed782['message']));}),this['emmitter']['on']('connected',()=>{this['isConnected']=!0x0,this['queue']['forEach'](_0x7e2ace=>this['send'](_0x7e2ace['event'],_0x7e2ace['data'])),this['queue']=[];}),this['ws']['addEventListener']('message',_0x40aee6=>{const _0x105848=JSON['parse'](_0x40aee6['data']['toString']());switch(_0x105848['event']){case'pusher:connection_established':this['emmitter']['emit']('connected',void 0x0);break;case'pusher:ping':this['send']('pusher:pong',{});break;case'progress':case'success':case'fail':this['emmitter']['emit'](_0x105848['channel'],_0x5f4480(_0x105848['event'],JSON['parse'](_0x105848['data'])));}});}}['disconnect'](){const _0x53e749=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0x53e749();},this['disconnectTime']):_0x53e749();}['send'](_0xe62d9e,_0x3e4755){const _0x1c0888=JSON['stringify']({'event':_0xe62d9e,'data':_0x3e4755});this['ws']?.['send'](_0x1c0888);}['subscribe'](_0x618b0f,_0x5a485c){this['subscribers']+=0x1,this['connect']();const _0x98e52c='task-status-'+_0x618b0f,_0x3ad162={'event':'pusher:subscribe','data':{'channel':_0x98e52c}};this['emmitter']['on'](_0x98e52c,_0x5a485c),this['isConnected']?this['send'](_0x3ad162['event'],_0x3ad162['data']):this['queue']['push'](_0x3ad162);}['unsubscribe'](_0x4f9b5d){this['subscribers']-=0x1;const _0xe41302='task-status-'+_0x4f9b5d,_0x462434={'event':'pusher:unsubscribe','data':{'channel':_0xe41302}};this['emmitter']['off'](_0xe41302),this['isConnected']?this['send'](_0x462434['event'],_0x462434['data']):this['queue']=this['queue']['filter'](_0x872b0b=>_0x872b0b['data']['channel']!==_0xe41302),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x15834a){return this['emmitter']['on']('error',_0x15834a),()=>this['emmitter']['off']('error',_0x15834a);}}let _0x1ac7a6=null;const getPusher=_0x37524b=>{if(!_0x1ac7a6){const _0x4c7839='undefined'==typeof window?0x0:0x7530;_0x1ac7a6=new _0x5ecc72(_0x37524b,_0x4c7839);}return _0x1ac7a6;},preconnect=_0x36b5b4=>{getPusher(_0x36b5b4)['connect']();};function pollStrategy({token:_0xa3d3b1,publicKey:_0x180226,baseURL:_0x19851d,integration:_0x396e1f,userAgent:_0x23cfd8,retryThrottledRequestMaxTimes:_0x5df7c0,retryNetworkErrorMaxTimes:_0x478d83,onProgress:_0x31d54a,signal:_0xeb0d81}){return _0x330ccb({'check':_0x2ebc87=>fromUrlStatus(_0xa3d3b1,{'publicKey':_0x180226,'baseURL':_0x19851d,'integration':_0x396e1f,'userAgent':_0x23cfd8,'retryThrottledRequestMaxTimes':_0x5df7c0,'retryNetworkErrorMaxTimes':_0x478d83,'signal':_0x2ebc87})['then'](_0x1629a0=>{switch(_0x1629a0['status']){case Status['Error']:return new _0x3e5bd6(_0x1629a0['error'],_0x1629a0['errorCode']);case Status['Waiting']:return!0x1;case Status['Unknown']:return new _0x3e5bd6('Token\x20\x22'+_0xa3d3b1+'\x22\x20was\x20not\x20found.');case Status['Progress']:return _0x31d54a&&('unknown'===_0x1629a0['total']?_0x31d54a({'isComputable':!0x1}):_0x31d54a({'isComputable':!0x0,'value':_0x1629a0['done']/_0x1629a0['total']})),!0x1;case Status['Success']:return _0x31d54a&&_0x31d54a({'isComputable':!0x0,'value':_0x1629a0['done']/_0x1629a0['total']}),_0x1629a0;default:throw new Error('Unknown\x20status');}}),'signal':_0xeb0d81});}const pushStrategy=({token:_0x192622,pusherKey:_0x500f3,signal:_0x3495b0,onProgress:_0x28d434})=>new Promise((_0x3785a2,_0x7bc8d7)=>{const _0x25ea26=getPusher(_0x500f3),_0x122071=_0x25ea26['onError'](_0x7bc8d7),_0x321296=()=>{_0x122071(),_0x25ea26['unsubscribe'](_0x192622);};_0x2b4217(_0x3495b0,()=>{_0x321296(),_0x7bc8d7(new _0x57a7f2('pusher\x20cancelled'));}),_0x25ea26['subscribe'](_0x192622,_0x33f243=>{switch(_0x33f243['status']){case Status['Progress']:_0x28d434&&('unknown'===_0x33f243['total']?_0x28d434({'isComputable':!0x1}):_0x28d434({'isComputable':!0x0,'value':_0x33f243['done']/_0x33f243['total']}));break;case Status['Success']:_0x321296(),_0x28d434&&_0x28d434({'isComputable':!0x0,'value':_0x33f243['done']/_0x33f243['total']}),_0x3785a2(_0x33f243);break;case Status['Error']:_0x321296(),_0x7bc8d7(new _0x3e5bd6(_0x33f243['msg'],_0x33f243['error_code']));}});}),_0xdf9eb=(_0x3a15f1,{publicKey:_0x439b90,fileName:_0x5644dd,baseURL:_0x1c0eea,baseCDN:_0x4c924a,checkForUrlDuplicates:_0x55e8be,saveUrlForRecurrentUploads:_0x1d572a,secureSignature:_0x52ff15,secureExpire:_0x5941b7,store:_0x421b9f,signal:_0x41f3fa,onProgress:_0x4d1cb0,source:_0x454097,integration:_0x22f2f4,userAgent:_0x104564,retryThrottledRequestMaxTimes:_0x53442a,pusherKey:_0x46a442=defaultSettings['pusherKey'],metadata:_0x4bb365})=>Promise['resolve'](preconnect(_0x46a442))['then'](()=>_0x9ac9dd(_0x3a15f1,{'publicKey':_0x439b90,'fileName':_0x5644dd,'baseURL':_0x1c0eea,'checkForUrlDuplicates':_0x55e8be,'saveUrlForRecurrentUploads':_0x1d572a,'secureSignature':_0x52ff15,'secureExpire':_0x5941b7,'store':_0x421b9f,'signal':_0x41f3fa,'source':_0x454097,'integration':_0x22f2f4,'userAgent':_0x104564,'retryThrottledRequestMaxTimes':_0x53442a,'metadata':_0x4bb365}))['catch'](_0x3e910a=>{const _0x277a04=getPusher(_0x46a442);return _0x277a04?.['disconnect'](),Promise['reject'](_0x3e910a);})['then'](_0x2c4942=>_0x2c4942['type']===_0x13b8c7['FileInfo']?_0x2c4942:_0x264752([({signal:_0xf13731})=>pollStrategy({'token':_0x2c4942['token'],'publicKey':_0x439b90,'baseURL':_0x1c0eea,'integration':_0x22f2f4,'userAgent':_0x104564,'retryThrottledRequestMaxTimes':_0x53442a,'onProgress':_0x4d1cb0,'signal':_0xf13731}),({signal:_0x3431ab})=>pushStrategy({'token':_0x2c4942['token'],'pusherKey':_0x46a442,'signal':_0x3431ab,'onProgress':_0x4d1cb0})],{'signal':_0x41f3fa}))['then'](_0x3c9a1f=>{if(_0x3c9a1f instanceof _0x3e5bd6)throw _0x3c9a1f;return _0x3c9a1f;})['then'](_0x160815=>_0x54446c(_0x160815['uuid'],{'publicKey':_0x439b90,'baseURL':_0x1c0eea,'integration':_0x22f2f4,'userAgent':_0x104564,'retryThrottledRequestMaxTimes':_0x53442a,'onProgress':_0x4d1cb0,'signal':_0x41f3fa}))['then'](_0x2014a7=>new _0x5e95ad(_0x2014a7,{'baseCDN':_0x4c924a})),_0xb66fef=new WeakMap(),getBlobFromReactNativeAsset=async _0x1e99e0=>{if(_0xb66fef['has'](_0x1e99e0))return _0xb66fef['get'](_0x1e99e0);const _0xd8952d=await fetch(_0x1e99e0['uri'])['then'](_0x4b9509=>_0x4b9509['blob']());return _0xb66fef['set'](_0x1e99e0,_0xd8952d),_0xd8952d;},getFileSize=async _0x298ac6=>{if(_0x42f04e(_0x298ac6)||_0x3bd446(_0x298ac6))return _0x298ac6['size'];if(isReactNativeAsset(_0x298ac6))return(await getBlobFromReactNativeAsset(_0x298ac6))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},isMultipart=(_0x413e72,_0x4a2341=defaultSettings['multipartMinFileSize'])=>_0x413e72>=_0x4a2341,_0x57465c=_0x55a363=>{const _0x5a5092=new RegExp('[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}');return!isFileData(_0x55a363)&&_0x5a5092['test'](_0x55a363);},_0x1adba6=_0xe6be6d=>{const _0x334a3a=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!isFileData(_0xe6be6d)&&_0x334a3a['test'](_0xe6be6d);},runWithConcurrency=(_0x353f37,_0x53bddb)=>new Promise((_0x491d6b,_0x4d056e)=>{const _0xa1d1b8=[];let _0x282757=!0x1,_0xad1997=_0x53bddb['length'];const _0x92c1f3=[..._0x53bddb],_0x3d8f27=()=>{const _0x376a5f=_0x53bddb['length']-_0x92c1f3['length'],_0x5b5605=_0x92c1f3['shift']();_0x5b5605&&_0x5b5605()['then'](_0x598972=>{_0x282757||(_0xa1d1b8[_0x376a5f]=_0x598972,_0xad1997-=0x1,_0xad1997?_0x3d8f27():_0x491d6b(_0xa1d1b8));})['catch'](_0xbb79fe=>{_0x282757=!0x0,_0x4d056e(_0xbb79fe);});};for(let _0x4dd2ef=0x0;_0x4dd2ef<_0x353f37;_0x4dd2ef++)_0x3d8f27();}),_0x185d19=(_0xee45bb,_0xdef9c0,_0x498861,_0x20f585)=>{const _0x1702a4=_0x20f585*_0xdef9c0,_0x189af7=Math['min'](_0x1702a4+_0x20f585,_0x498861);return _0xee45bb['slice'](_0x1702a4,_0x189af7);},_0x538989=async(_0x4e2b6a,_0x550763,_0x21ac4d)=>_0x20fe69=>_0x185d19(_0x4e2b6a,_0x20fe69,_0x550763,_0x21ac4d),uploadPart=(_0x29e847,_0x3c56c8,{publicKey:_0x86fb26,contentType:_0x1032e1,onProgress:_0xf1a91a,signal:_0x1b293c,integration:_0x1b4c9d,retryThrottledRequestMaxTimes:_0x1c7100,retryNetworkErrorMaxTimes:_0x5c19c2})=>multipartUpload(_0x29e847,_0x3c56c8,{'contentType':_0x1032e1,'onProgress':_0xf1a91a,'signal':_0x1b293c,'retryThrottledRequestMaxTimes':_0x1c7100,'retryNetworkErrorMaxTimes':_0x5c19c2}),uploadMultipart=async(_0x511c46,{publicKey:_0x5937ab,fileName:_0x208c09,fileSize:_0x495f23,baseURL:_0x395ba9,secureSignature:_0x68183e,secureExpire:_0x5c6c85,store:_0x27a475,signal:_0x391f7c,onProgress:_0x22b8a6,source:_0x18b5af,integration:_0x4a589a,userAgent:_0x4d1f5f,retryThrottledRequestMaxTimes:_0x42eea9,retryNetworkErrorMaxTimes:_0x3769b4,contentType:_0x254723,multipartChunkSize:_0x40d44f=defaultSettings['multipartChunkSize'],maxConcurrentRequests:_0xbd2b69=defaultSettings['maxConcurrentRequests'],baseCDN:_0x2303ca,metadata:_0x2e8fa4})=>{const _0x185433=_0x495f23??await getFileSize(_0x511c46);let _0x4730db;const _0x40fae3=(_0x14eab5,_0xc9b3b3)=>{if(!_0x22b8a6)return;_0x4730db||(_0x4730db=Array(_0x14eab5)['fill'](0x0));const _0x2d082f=_0xf4231f=>_0xf4231f['reduce']((_0x5941c2,_0x439549)=>_0x5941c2+_0x439549,0x0);return _0x2522ef=>{_0x2522ef['isComputable']&&(_0x4730db[_0xc9b3b3]=_0x2522ef['value'],_0x22b8a6({'isComputable':!0x0,'value':_0x2d082f(_0x4730db)/_0x14eab5}));};};return _0x254723||=getContentType(_0x511c46),multipartStart(_0x185433,{'publicKey':_0x5937ab,'contentType':_0x254723,'fileName':_0x208c09||getFileName(_0x511c46),'baseURL':_0x395ba9,'secureSignature':_0x68183e,'secureExpire':_0x5c6c85,'store':_0x27a475,'signal':_0x391f7c,'source':_0x18b5af,'integration':_0x4a589a,'userAgent':_0x4d1f5f,'retryThrottledRequestMaxTimes':_0x42eea9,'retryNetworkErrorMaxTimes':_0x3769b4,'metadata':_0x2e8fa4,'multipartChunkSize':_0x40d44f})['then'](async({uuid:_0x57fae4,parts:_0xb806ac})=>{const _0x31152c=await _0x538989(_0x511c46,_0x185433,_0x40d44f);return Promise['all']([_0x57fae4,runWithConcurrency(_0xbd2b69,_0xb806ac['map']((_0x29ba00,_0x49f88e)=>()=>uploadPart(_0x31152c(_0x49f88e),_0x29ba00,{'publicKey':_0x5937ab,'contentType':_0x254723,'onProgress':_0x40fae3(_0xb806ac['length'],_0x49f88e),'signal':_0x391f7c,'integration':_0x4a589a,'retryThrottledRequestMaxTimes':_0x42eea9,'retryNetworkErrorMaxTimes':_0x3769b4})))]);})['then'](([_0x3bb109])=>multipartComplete(_0x3bb109,{'publicKey':_0x5937ab,'baseURL':_0x395ba9,'source':_0x18b5af,'integration':_0x4a589a,'userAgent':_0x4d1f5f,'retryThrottledRequestMaxTimes':_0x42eea9,'retryNetworkErrorMaxTimes':_0x3769b4}))['then'](_0x306d5d=>_0x306d5d['isReady']?_0x306d5d:_0x54446c(_0x306d5d['uuid'],{'publicKey':_0x5937ab,'baseURL':_0x395ba9,'source':_0x18b5af,'integration':_0x4a589a,'userAgent':_0x4d1f5f,'retryThrottledRequestMaxTimes':_0x42eea9,'retryNetworkErrorMaxTimes':_0x3769b4,'onProgress':_0x22b8a6,'signal':_0x391f7c}))['then'](_0x197930=>new _0x5e95ad(_0x197930,{'baseCDN':_0x2303ca}));};async function _0x47ee8c(_0x7dfa14,{publicKey:_0x2f0978,fileName:_0x4ed077,baseURL:_0x3a005c=defaultSettings['baseURL'],secureSignature:_0xa47510,secureExpire:_0x34e014,store:_0x6a082b,signal:_0x299019,onProgress:_0x2f41c0,source:_0x5cfed2,integration:_0x3e10a2,userAgent:_0x54a49f,retryThrottledRequestMaxTimes:_0xf34fd,retryNetworkErrorMaxTimes:_0x59f546,contentType:_0x5f542e,multipartMinFileSize:_0xfd8487,multipartChunkSize:_0x3b6666,maxConcurrentRequests:_0x4847c1,baseCDN:_0x5f4151=defaultSettings['baseCDN'],checkForUrlDuplicates:_0x235835,saveUrlForRecurrentUploads:_0x260a20,pusherKey:_0x26fca3,metadata:_0x5107de}){if(isFileData(_0x7dfa14)){const _0x47b54b=await getFileSize(_0x7dfa14);return isMultipart(_0x47b54b,_0xfd8487)?uploadMultipart(_0x7dfa14,{'publicKey':_0x2f0978,'contentType':_0x5f542e,'multipartChunkSize':_0x3b6666,'fileSize':_0x47b54b,'fileName':_0x4ed077,'baseURL':_0x3a005c,'secureSignature':_0xa47510,'secureExpire':_0x34e014,'store':_0x6a082b,'signal':_0x299019,'onProgress':_0x2f41c0,'source':_0x5cfed2,'integration':_0x3e10a2,'userAgent':_0x54a49f,'maxConcurrentRequests':_0x4847c1,'retryThrottledRequestMaxTimes':_0xf34fd,'retryNetworkErrorMaxTimes':_0x59f546,'baseCDN':_0x5f4151,'metadata':_0x5107de}):uploadDirect(_0x7dfa14,{'publicKey':_0x2f0978,'fileName':_0x4ed077,'contentType':_0x5f542e,'baseURL':_0x3a005c,'secureSignature':_0xa47510,'secureExpire':_0x34e014,'store':_0x6a082b,'signal':_0x299019,'onProgress':_0x2f41c0,'source':_0x5cfed2,'integration':_0x3e10a2,'userAgent':_0x54a49f,'retryThrottledRequestMaxTimes':_0xf34fd,'retryNetworkErrorMaxTimes':_0x59f546,'baseCDN':_0x5f4151,'metadata':_0x5107de});}if(_0x1adba6(_0x7dfa14))return _0xdf9eb(_0x7dfa14,{'publicKey':_0x2f0978,'fileName':_0x4ed077,'baseURL':_0x3a005c,'baseCDN':_0x5f4151,'checkForUrlDuplicates':_0x235835,'saveUrlForRecurrentUploads':_0x260a20,'secureSignature':_0xa47510,'secureExpire':_0x34e014,'store':_0x6a082b,'signal':_0x299019,'onProgress':_0x2f41c0,'source':_0x5cfed2,'integration':_0x3e10a2,'userAgent':_0x54a49f,'retryThrottledRequestMaxTimes':_0xf34fd,'pusherKey':_0x26fca3,'metadata':_0x5107de});if(_0x57465c(_0x7dfa14))return _0x2fc90e(_0x7dfa14,{'publicKey':_0x2f0978,'fileName':_0x4ed077,'baseURL':_0x3a005c,'signal':_0x299019,'onProgress':_0x2f41c0,'source':_0x5cfed2,'integration':_0x3e10a2,'userAgent':_0x54a49f,'retryThrottledRequestMaxTimes':_0xf34fd,'retryNetworkErrorMaxTimes':_0x59f546,'baseCDN':_0x5f4151});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x7dfa14+'\x22\x20is\x20not\x20supported');}class _0x543faf{['uuid'];['filesCount'];['totalSize'];['isStored'];['isImage'];['cdnUrl'];['files'];['createdAt'];['storedAt']=null;constructor(_0x8deb21,{baseCDN:_0x480492=defaultSettings['baseCDN']}={}){this['uuid']=_0x8deb21['id'],this['filesCount']=_0x8deb21['filesCount'];const _0x265998=_0x8deb21['files']['filter'](Boolean);this['totalSize']=Object['values'](_0x265998)['reduce']((_0x3942c4,_0x31f170)=>_0x3942c4+_0x31f170['size'],0x0),this['isStored']=!!_0x8deb21['datetimeStored'],this['isImage']=!!Object['values'](_0x265998)['filter'](_0x44e8f9=>_0x44e8f9['isImage'])['length'],this['cdnUrl']=_0x8deb21['cdnUrl'],this['files']=_0x265998['map'](_0x78fa67=>new _0x5e95ad(_0x78fa67,{'baseCDN':_0x480492})),this['createdAt']=_0x8deb21['datetimeCreated'],this['storedAt']=_0x8deb21['datetimeStored'];}}const isFileDataArray=_0x2790a1=>{for(const _0xeb8b7e of _0x2790a1)if(!isFileData(_0xeb8b7e))return!0x1;return!0x0;},_0x162763=_0x446309=>{for(const _0xa9ca3b of _0x446309)if(!_0x57465c(_0xa9ca3b))return!0x1;return!0x0;},_0x4c8757=_0x559ff8=>{for(const _0x4b2e68 of _0x559ff8)if(!_0x1adba6(_0x4b2e68))return!0x1;return!0x0;};function _0x53bfb4(_0x1d34f2,{publicKey:_0x494c,fileName:_0x48624e,baseURL:_0xbe3e30=defaultSettings['baseURL'],secureSignature:_0x4d1ba9,secureExpire:_0x56420a,store:_0x1fdefe,signal:_0x37e594,onProgress:_0x1bdadb,source:_0x38479d,integration:_0x2b250f,userAgent:_0x57b515,retryThrottledRequestMaxTimes:_0x2ff21f,retryNetworkErrorMaxTimes:_0x1f3ac3,contentType:_0x1d8b8f,multipartChunkSize:_0x21f0d5=defaultSettings['multipartChunkSize'],baseCDN:_0x2ab5f7=defaultSettings['baseCDN'],checkForUrlDuplicates:_0x4458ba,saveUrlForRecurrentUploads:_0x5ce8c6,jsonpCallback:_0xa73740}){if(!isFileDataArray(_0x1d34f2)&&!_0x4c8757(_0x1d34f2)&&!_0x162763(_0x1d34f2))throw new TypeError('Group\x20uploading\x20from\x20\x22'+_0x1d34f2+'\x22\x20is\x20not\x20supported');let _0x5e5a5d,_0xf7d269=!0x0;const _0x4f84ab=_0x1d34f2['length'],_0x46f38c=(_0x49ccbe,_0x16336d)=>{if(!_0x1bdadb)return;_0x5e5a5d||(_0x5e5a5d=Array(_0x49ccbe)['fill'](0x0));const _0x533abe=_0x476de3=>_0x476de3['reduce']((_0x2da7a5,_0xe1115c)=>_0x2da7a5+_0xe1115c)/_0x49ccbe;return _0x492ada=>{if(!_0x492ada['isComputable']||!_0xf7d269)return _0xf7d269=!0x1,void _0x1bdadb({'isComputable':!0x1});_0x5e5a5d[_0x16336d]=_0x492ada['value'],_0x1bdadb({'isComputable':!0x0,'value':_0x533abe(_0x5e5a5d)});};};return Promise['all'](_0x1d34f2['map']((_0x29f875,_0xe0e42b)=>isFileData(_0x29f875)||_0x1adba6(_0x29f875)?_0x47ee8c(_0x29f875,{'publicKey':_0x494c,'fileName':_0x48624e,'baseURL':_0xbe3e30,'secureSignature':_0x4d1ba9,'secureExpire':_0x56420a,'store':_0x1fdefe,'signal':_0x37e594,'onProgress':_0x46f38c(_0x4f84ab,_0xe0e42b),'source':_0x38479d,'integration':_0x2b250f,'userAgent':_0x57b515,'retryThrottledRequestMaxTimes':_0x2ff21f,'retryNetworkErrorMaxTimes':_0x1f3ac3,'contentType':_0x1d8b8f,'multipartChunkSize':_0x21f0d5,'baseCDN':_0x2ab5f7,'checkForUrlDuplicates':_0x4458ba,'saveUrlForRecurrentUploads':_0x5ce8c6})['then'](_0x21702e=>_0x21702e['uuid']):_0x29f875))['then'](_0xcb74ef=>_0x575632(_0xcb74ef,{'publicKey':_0x494c,'baseURL':_0xbe3e30,'jsonpCallback':_0xa73740,'secureSignature':_0x4d1ba9,'secureExpire':_0x56420a,'signal':_0x37e594,'source':_0x38479d,'integration':_0x2b250f,'userAgent':_0x57b515,'retryThrottledRequestMaxTimes':_0x2ff21f,'retryNetworkErrorMaxTimes':_0x1f3ac3})['then'](_0x5a4ceb=>new _0x543faf(_0x5a4ceb,{'baseCDN':_0x2ab5f7}))['then'](_0xe96385=>(_0x1bdadb&&_0x1bdadb({'isComputable':!0x0,'value':0x1}),_0xe96385)));}class _0x413a32{['_concurrency']=0x1;['_pending']=[];['_running']=0x0;['_resolvers']=new Map();['_rejectors']=new Map();constructor(_0x1c0142){this['_concurrency']=_0x1c0142;}['run'](){const _0x7ff820=this['_concurrency']-this['_running'];for(let _0x4d56dc=0x0;_0x4d56dc<_0x7ff820;_0x4d56dc++){const _0x4bf378=this['_pending']['shift']();if(!_0x4bf378)return;const _0x13135e=this['_resolvers']['get'](_0x4bf378),_0x3095f3=this['_rejectors']['get'](_0x4bf378);if(!_0x13135e||!_0x3095f3)throw new Error('Unexpected\x20behavior:\x20resolver\x20or\x20rejector\x20is\x20undefined');this['_running']+=0x1,_0x4bf378()['finally'](()=>{this['_resolvers']['delete'](_0x4bf378),this['_rejectors']['delete'](_0x4bf378),this['_running']-=0x1,this['run']();})['then'](_0x24a04b=>_0x13135e(_0x24a04b))['catch'](_0xfc8d7d=>_0x3095f3(_0xfc8d7d));}}['add'](_0x5e2aa5,{autoRun:_0x4bce71}={'autoRun':!0x0}){return new Promise((_0x4a710e,_0x33dd84)=>{this['_resolvers']['set'](_0x5e2aa5,_0x4a710e),this['_rejectors']['set'](_0x5e2aa5,_0x33dd84),this['_pending']['push'](_0x5e2aa5),_0x4bce71&&this['run']();});}get['pending'](){return this['_pending']['length'];}get['running'](){return this['_running'];}set['concurrency'](_0x51f6ed){this['_concurrency']=_0x51f6ed,this['run']();}get['concurrency'](){return this['_concurrency'];}}const _0x2c1c48={'button':['toolbar'],'checkbox':['toolbar'],'menuitem':['menu','menubar'],'option':['listbox'],'tab':['tablist']};function _0x27aef4(_0x4b458c,_0x3221ba){_0x3221ba['tabIndex']=0x0,_0x3221ba['focus'](),_0x4b458c['tabIndex']=-0x1;}function findGroupNodeByEventTarget(_0x5ea72f){let _0x3c7faf=_0x5ea72f['role']||_0x5ea72f['type']||_0x5ea72f['tagName'];if(!_0x3c7faf)return null;let _0x542952=_0x2c1c48[_0x3c7faf['toLowerCase']()];if(!_0x542952)return null;for(let _0x39786e of _0x542952){let _0x212d35=_0x5ea72f['closest']('[role='+_0x39786e+']');if(_0x212d35)return _0x212d35;}}function getItems(_0x147f77,_0x15f181){return'toolbar'===_0x15f181['role']?getToolbarItems(_0x15f181):_0x15f181['querySelectorAll']('[role='+_0x147f77['role']+']');}function getToolbarItems(_0x18d359){return[..._0x18d359['querySelectorAll']('*')]['filter'](_0x110652=>'button'===_0x110652['role']||'button'===_0x110652['type']||'checkbox'===_0x110652['role']||'checkbox'===_0x110652['type']);}function isHorizontalOrientation(_0x563d75){let _0x250f27=_0x563d75['getAttribute']('aria-orientation');if('vertical'===_0x250f27)return!0x1;if('horizontal'===_0x250f27)return!0x0;let _0x117f53=_0x563d75['role'];return'menubar'===_0x117f53||'tablist'===_0x117f53||'toolbar'===_0x117f53;}function _0x1fe5bd(_0x5be898){return _0x131f0c=>{let _0x1184ac=!0x1,_0x454dfd=0x0,_0xe36b71='';function _0x138560(_0x44df10){let _0x2d4a9b=findGroupNodeByEventTarget(_0x44df10['target']);if(!_0x2d4a9b)return void _0x2a8917();let _0x1fb920=getItems(_0x44df10['target'],_0x2d4a9b),_0x47f22d=Array['from'](_0x1fb920)['indexOf'](_0x44df10['target']),_0x39d3b3='ArrowDown',_0x182310='ArrowUp';if(isHorizontalOrientation(_0x2d4a9b)&&('rtl'===_0x131f0c['document']['dir']?(_0x39d3b3='ArrowLeft',_0x182310='ArrowRight'):(_0x39d3b3='ArrowRight',_0x182310='ArrowLeft')),_0x44df10['key']===_0x39d3b3)_0x44df10['preventDefault'](),_0x27aef4(_0x44df10['target'],_0x1fb920[_0x47f22d+0x1]||_0x1fb920[0x0]);else{if(_0x44df10['key']===_0x182310)_0x44df10['preventDefault'](),_0x27aef4(_0x44df10['target'],_0x1fb920[_0x47f22d-0x1]||_0x1fb920[_0x1fb920['length']-0x1]);else{if('Home'===_0x44df10['key'])_0x44df10['preventDefault'](),_0x27aef4(_0x44df10['target'],_0x1fb920[0x0]);else{if('End'===_0x44df10['key'])_0x44df10['preventDefault'](),_0x27aef4(_0x44df10['target'],_0x1fb920[_0x1fb920['length']-0x1]);else{if(0x1===_0x44df10['key']['length']&&'tablist'!==_0x2d4a9b['role']){let _0x5867f1=Date['now']();_0x5867f1-_0x454dfd<=0x12c?_0xe36b71+=_0x44df10['key']['toLowerCase']():_0xe36b71=_0x44df10['key']['toLowerCase'](),_0x454dfd=_0x5867f1;let _0xacce66=Array['from'](_0x1fb920)['find'](_0x46f7b9=>_0x46f7b9['textContent']?.['trim']()?.['toLowerCase']()?.['startsWith'](_0xe36b71));_0xacce66&&(_0x44df10['preventDefault'](),_0x27aef4(_0x44df10['target'],_0xacce66));}}}}}}function _0x2a8917(){_0x1184ac=!0x1,_0x131f0c['removeEventListener']('keydown',_0x138560);}function _0xe48017(_0x1af06b){let _0x4a0a79=findGroupNodeByEventTarget(_0x1af06b['target']);if(_0x4a0a79){_0x1184ac||(_0x1184ac=!0x0,_0x131f0c['addEventListener']('keydown',_0x138560));let _0xd1e15=getItems(_0x1af06b['target'],_0x4a0a79);for(let _0x3d4d6c of _0xd1e15)_0x3d4d6c!==_0x1af06b['target']&&_0x3d4d6c['setAttribute']('tabindex',-0x1);}else _0x1184ac&&_0x2a8917();}function _0x30d9ce(_0x456446){_0x456446['relatedTarget']&&_0x456446['relatedTarget']!==_0x131f0c['document']||_0x2a8917();}function _0x5a619c(_0x57c1d8){let _0x1136d1=findGroupNodeByEventTarget(_0x57c1d8['target']);if(_0x1136d1){let _0x1c1c73=getItems(_0x57c1d8['target'],_0x1136d1);for(let _0x3cd73d of _0x1c1c73)_0x3cd73d!==_0x57c1d8['target']&&_0x3cd73d['setAttribute']('tabindex',-0x1);_0x57c1d8['target']['setAttribute']('tabindex',0x0);}}return _0x131f0c['addEventListener']('click',_0x5a619c),_0x131f0c['addEventListener']('focusin',_0xe48017),_0x131f0c['addEventListener']('focusout',_0x30d9ce),()=>{_0x2a8917(),_0x131f0c['removeEventListener']('click',_0x5a619c),_0x131f0c['removeEventListener']('focusin',_0xe48017),_0x131f0c['removeEventListener']('focusout',_0x30d9ce);};};}function _0x40bbc8(){return _0x5f475e=>{let _0x598352,_0x438dc1;function _0x464e29(_0x397079){if('true'===_0x397079['target']['getAttribute']('aria-hidden')){_0x598352=_0x397079['target'],_0x598352['setAttribute']('aria-hidden','false'),_0x438dc1=_0x598352['hidden'],_0x438dc1&&(_0x598352['hidden']=!0x1);let _0x243a4a=_0x397079['target']['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x243a4a&&(_0x243a4a['tabIndex']=0x0);}}function _0x1fd9a1(_0x59443f){!_0x598352||!_0x598352['contains'](_0x59443f['target'])||_0x59443f['relatedTarget']&&_0x598352['contains'](_0x59443f['relatedTarget'])||(_0x59443f['target']['tabIndex']=-0x1,_0x598352['setAttribute']('aria-hidden','true'),_0x438dc1&&(_0x598352['hidden']=!0x0),_0x598352=null);}return _0x5f475e['addEventListener']('keyuxJump',_0x464e29),_0x5f475e['addEventListener']('focusout',_0x1fd9a1),()=>{_0x5f475e['removeEventListener']('keyuxJump',_0x464e29),_0x5f475e['removeEventListener']('focusout',_0x1fd9a1);};};}function _0x3907a7(){return _0x37550a=>{let _0x5b1643=[];function _0x59c8a1(){let _0x88ef61=_0x5b1643['pop']();if(!_0x88ef61)return void _0x37550a['document']['activeElement']['blur']();let _0x31ad03=_0x88ef61['deref']();_0x31ad03&&_0x31ad03['isConnected']?_0x31ad03['focus']():_0x59c8a1();}let _0x8c3d4a,_0xce3f21=0x0;function _0x38082d(_0x13a5dc){clearInterval(_0x8c3d4a);let _0x4a8796=_0x13a5dc['getAttribute']('aria-controls');_0x8c3d4a=setInterval(()=>{if(_0xce3f21++>0x32)return void clearInterval(_0x8c3d4a);let _0x2ad040=_0x37550a['document']['getElementById'](_0x4a8796);if(_0x2ad040){let _0x5e1ea8=_0x2ad040['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x5e1ea8&&(clearInterval(_0x8c3d4a),_0x2ad040['dispatchEvent'](new _0x37550a['CustomEvent']('keyuxJump',{'bubbles':!0x0})),function(_0xa2674f){let _0x39f5db=_0x37550a['document']['activeElement'];_0x39f5db&&_0x39f5db!==_0x37550a['document']['body']&&_0x5b1643['push'](new WeakRef(_0x39f5db)),_0xa2674f['focus']({'focusVisible':!0x0});}(_0x5e1ea8));}},0x32);}function _0x32e621(_0x1369fc){_0x1369fc['target']['getAttribute']('aria-controls')&&'Enter'===_0x1369fc['key']&&_0x38082d(_0x1369fc['target']),'Escape'===_0x1369fc['key']&&_0x59c8a1();}return _0x37550a['addEventListener']('keydown',_0x32e621),()=>{_0x37550a['removeEventListener']('keydown',_0x32e621);};};}function _0x3711ee(_0x52634b){let _0x311dbe,_0x34f956,_0x19bb46=_0x52634b['split']('\x20');function _0x464fa6(_0x528fe9){'Enter'!==_0x528fe9['key']||'BUTTON'!==_0x528fe9['target']['tagName']&&'A'!==_0x528fe9['target']['tagName']||(_0x22281b(),_0x528fe9['target']['classList']['add'](..._0x19bb46),_0x311dbe=_0x528fe9['target'],_0x34f956=_0x528fe9['target']);}function _0x22281b(){_0x311dbe&&_0x311dbe['classList']['remove'](..._0x19bb46),_0x34f956=null;}function _0x481674(_0x4ca5b1){0x0===_0x4ca5b1['clientX']&&0x0===_0x4ca5b1['clientY']&&_0x34f956!==_0x4ca5b1['target']&&(_0x22281b(),_0x4ca5b1['target']['classList']['add'](..._0x19bb46),_0x311dbe=_0x4ca5b1['target']);}return _0x4f8930=>(_0x4f8930['addEventListener']('click',_0x481674),_0x4f8930['addEventListener']('keydown',_0x464fa6),_0x4f8930['addEventListener']('keyup',_0x22281b),()=>{_0x4f8930['removeEventListener']('click',_0x481674),_0x4f8930['removeEventListener']('keydown',_0x464fa6),_0x4f8930['removeEventListener']('keyup',_0x22281b);});}function startKeyUX(_0x2e7979,_0x243d87){let _0x1d95a0=_0x243d87['map'](_0x3234ab=>_0x3234ab(_0x2e7979));return()=>{_0x1d95a0['forEach'](_0x7ce77a=>_0x7ce77a());};}function _0x172cc0(_0x298c30){return _0x298c30['replace'](/[A-Z]/g,_0x4b4a9f=>'_'+_0x4b4a9f['toLowerCase']())['replace'](/__/g,'_');}function _0x25bebb(_0x4263cb){return Array['isArray'](_0x4263cb)?_0x4263cb['map'](_0x4c7a77=>'object'==typeof _0x4c7a77&&null!==_0x4c7a77?_0x25bebb(_0x4c7a77):_0x4c7a77):'object'!=typeof _0x4263cb||null===_0x4263cb?_0x4263cb:Object['fromEntries'](Object['entries'](_0x4263cb)['map'](([_0x9ee6bf,_0x4fda08])=>{const t=_0x172cc0(_0x9ee6bf);return'object'==typeof _0x4fda08&&null!==_0x4fda08?[t,_0x25bebb(_0x4fda08)]:[t,_0x4fda08];}));}function _0x1639ca(_0x5b8fb5){return{'ok':!0x0,'value':_0x5b8fb5};}function _0x44a38b(_0x587784){return{'ok':!0x1,'error':_0x587784};}const _0x2c5552='https://tlm.uploadcare.com/api/';class _0x3b7b66{constructor(_0x42ebaf=_0x2c5552){this['baseUrl']=_0x42ebaf;}async['base'](_0x13d10e,_0x46ff85={}){const t=''+this['baseUrl']+_0x13d10e;try{const _0x5eb991=await fetch(t,_0x46ff85);if(!_0x5eb991['ok'])return _0x44a38b(new Error('Got\x20non-200\x20response\x20from\x20\x22'+t+'\x22.\x20Status:\x20'+_0x5eb991['status']['toString']()));try{return _0x1639ca(await _0x5eb991['json']());}catch(_0x2b51ae){return _0x44a38b(new Error('Error\x20parsing\x20JSON\x20from\x20\x22'+t+'\x22.\x20Error:\x20'+_0x2b51ae));}}catch(_0x1de3d1){return _0x44a38b(new Error('Error\x20fetching\x20data\x20from\x20\x22'+t+'\x22.\x20Error:\x20'+_0x1de3d1));}}async['post'](_0x3f6911,_0x434264,t={}){return await this['base'](_0x3f6911,{...t,'method':'POST','body':JSON['stringify'](_0x25bebb(_0x434264)),'headers':{'Content-Type':'application/json',...t['headers']||{}}});}async['get'](_0x4a7530,_0x39cf04={}){return await this['base'](_0x4a7530,{'method':'GET',..._0x39cf04});}}const _0x2ae394=async(_0x4849ce,_0x285298)=>({'success':!0x0,'data':_0x285298});class _0xd924de extends _0x3b7b66{constructor(){super();}async['sendEvent'](_0x3d9653,_0x5453e1){const t=await _0x2ae394(void 0x0,_0x3d9653);if(!t['success'])throw console['error']('TelemetryAPIService:\x20events:\x20body\x20is\x20invalid',t['error']),new Error('TelemetryAPIService:\x20events:\x20body\x20is\x20invalid');return this['post']('v1/events',_0x3d9653,_0x5453e1);}}const _0x39e011=(_0x4f4e05,_0x45cc74)=>{const _0x59e7c9=new URL(_0x45cc74);return _0x59e7c9['hostname']=_0x4f4e05+'.'+_0x59e7c9['hostname'],_0x59e7c9['toString']()['replace'](/\/$/,'');},_0x3cd6ef='0123456789abcdefghijklmnopqrstuvwxyz',_0x5009f6=_0x3d0f82=>{if(_0x3d0f82<=0x0n)return'0';let _0x15797c='';for(;_0x3d0f82>0x0n;){_0x15797c=_0x3cd6ef[Number(_0x3d0f82%0x24n)]+_0x15797c,_0x3d0f82/=0x24n;}return _0x15797c;},_0x11bfb2=(_0x44c65b,_0x535ef7)=>{try{const _0x4382cd=new URL(_0x44c65b),t=new URL(_0x535ef7);return _0x4382cd['hostname']['endsWith'](t['hostname']);}catch{return!0x1;}},_0x3f94b1=async _0xce3b0d=>{const _0x334fb9=new TextEncoder()['encode'](_0xce3b0d),t=await window['crypto']['subtle']['digest']('SHA-256',_0x334fb9),_0x3fc9ab=Array['from'](new Uint8Array(t))['map'](_0x566229=>_0x566229['toString'](0x10)['padStart'](0x2,'0'))['join']('');return BigInt('0x'+_0x3fc9ab);},_0x3d9e4b=0xa,_0x191a87=async _0x59b802=>{const _0x4c828c=await _0x3f94b1(_0x59b802);return _0x5009f6(_0x4c828c)['slice'](0x0,_0x3d9e4b);},_0x17efc3=async(_0x2294b9,_0x3f6d5d)=>{const t=await _0x191a87(_0x2294b9);return _0x39e011(t,_0x3f6d5d);},_0xffa42f=()=>{const _0x31879a=[];return{'stack':_0x31879a,'promiseReadJpegChunks':_0x223d29=>new Promise((_0x389ebe,_0x3bdae3)=>{let _0x1bba16=0x2;const _0x2e583e=(_0x375339,_0x45aeb5)=>{const _0x4b53fa=new FileReader();_0x4b53fa['addEventListener']('load',()=>{_0x45aeb5(new DataView(_0x4b53fa['result']));}),_0x4b53fa['addEventListener']('error',_0x2823c0=>{_0x3bdae3('Reader\x20error:\x20'+_0x2823c0);}),_0x4b53fa['readAsArrayBuffer'](_0x375339);},_0x2bd097=()=>_0x2e583e(_0x223d29['slice'](_0x1bba16,_0x1bba16+0x80),_0x4fa33d=>{let _0x125c94,_0x3f62d3,_0x16dcd0;for(_0x125c94=_0x3f62d3=0x0,_0x16dcd0=_0x4fa33d['byteLength'];_0x16dcd0>=0x0?_0x3f62d3<_0x16dcd0:_0x3f62d3>_0x16dcd0;_0x125c94=_0x16dcd0>=0x0?++_0x3f62d3:--_0x3f62d3)if(0xff===_0x4fa33d['getUint8'](_0x125c94)){_0x1bba16+=_0x125c94;break;}_0x349399();}),_0x349399=()=>{const _0x33325f=_0x1bba16;return _0x2e583e(_0x223d29['slice'](_0x1bba16,_0x1bba16+=0x4),_0x387df3=>{if(0x4!==_0x387df3['byteLength']||0xff!==_0x387df3['getUint8'](0x0))return void _0x3bdae3('Corrupted');const _0x298870=_0x387df3['getUint8'](0x1);if(0xda===_0x298870)return void _0x389ebe(!0x0);const _0x3d46c5=_0x387df3['getUint16'](0x2)-0x2;return _0x2e583e(_0x223d29['slice'](_0x1bba16,_0x1bba16+=_0x3d46c5),_0x145d60=>{_0x145d60['byteLength']===_0x3d46c5?(_0x31879a['push']({'startPos':_0x33325f,'length':_0x3d46c5,'marker':_0x298870,'view':_0x145d60}),_0x2bd097()):_0x3bdae3('Corrupted');});});};FileReader&&DataView||_0x3bdae3('Not\x20Support'),_0x2e583e(_0x223d29['slice'](0x0,0x2),_0x14a8da=>{0xffd8!==_0x14a8da['getUint16'](0x0)&&_0x3bdae3('Not\x20jpeg'),_0x2bd097();});})};},getIccProfile=async _0x4cca0a=>{const _0x1c5a0f=[],{promiseReadJpegChunks:_0x3c9b2c,stack:_0x360688}=_0xffa42f();return await _0x3c9b2c(_0x4cca0a),_0x360688['forEach'](({marker:_0x2e1a4d,view:_0x4806f9})=>{0xe2===_0x2e1a4d&&0x4943435f===_0x4806f9['getUint32'](0x0)&&0x50524f46===_0x4806f9['getUint32'](0x4)&&0x494c4500===_0x4806f9['getUint32'](0x8)&&_0x1c5a0f['push'](_0x4806f9);}),_0x1c5a0f;},_0x3dcd7b=async(_0x56e651,_0xec8e07,_0x54466e)=>{{const _0x1d9e81=[],_0x1ec798=[],{promiseReadJpegChunks:_0x58bf45,stack:_0x3c7fba}=_0xffa42f();await _0x58bf45(_0x56e651),_0x3c7fba['forEach'](_0x628597=>{if(_0x628597['marker']===_0xec8e07)return _0x1d9e81['push'](_0x628597['startPos']),_0x1ec798['push'](_0x628597['length']);});const _0x398858=[_0x56e651['slice'](0x0,0x2)];for(const _0x1380a3 of _0x54466e){const _0x4860ba=new DataView(new ArrayBuffer(0x4));_0x4860ba['setUint16'](0x0,0xff00+_0xec8e07),_0x4860ba['setUint16'](0x2,_0x1380a3['byteLength']+0x2),_0x398858['push'](_0x4860ba['buffer']),_0x398858['push'](_0x1380a3);}let _0x457a1b=0x2;for(let _0x5664b1=0x0;_0x5664b1<_0x1d9e81['length'];_0x5664b1++)_0x1d9e81[_0x5664b1]>_0x457a1b&&_0x398858['push'](_0x56e651['slice'](_0x457a1b,_0x1d9e81[_0x5664b1])),_0x457a1b=_0x1d9e81[_0x5664b1]+_0x1ec798[_0x5664b1]+0x4;return _0x398858['push'](_0x56e651['slice'](_0x457a1b,_0x56e651['size'])),new Blob(_0x398858,{'type':_0x56e651['type']});}},_0x3ed2b8=0xe2,_0xf5b01d=(_0x109251,_0x232583)=>_0x3dcd7b(_0x109251,_0x3ed2b8,_0x232583['map'](_0x3633dd=>_0x3633dd['buffer'])),stripIccProfile=async _0x4f937b=>{try{return await _0xf5b01d(_0x4f937b,[]);}catch(_0x8c4e22){throw new Error('Failed\x20to\x20strip\x20ICC\x20profile:\x20'+_0x8c4e22);}},_0x15d285=(_0xd2f971,_0x43e7e9,_0xa24bee)=>new Promise((_0x44d85e,_0x1e1eb0)=>{_0xd2f971['toBlob'](_0x53329a=>{_0x53329a?_0x44d85e(_0x53329a):_0x1e1eb0('Failed\x20to\x20convert\x20canvas\x20to\x20blob');},_0x43e7e9,_0xa24bee),_0xd2f971['width']=_0xd2f971['height']=0x1;}),createCanvas=()=>{const _0x2f61a2=document['createElement']('canvas'),_0x3acfe=_0x2f61a2['getContext']('2d');return{'canvas':_0x2f61a2,'ctx':_0x3acfe};},_0x35696f=_0x2e3eae=>{const {ctx:_0x3fdb08,canvas:_0x1b5d13}=createCanvas();_0x1b5d13['width']=_0x1b5d13['height']=0x32,_0x3fdb08['drawImage'](_0x2e3eae,0x0,0x0,0x32,0x32);const _0x3151f6=_0x3fdb08['getImageData'](0x0,0x0,0x32,0x32)['data'];_0x1b5d13['width']=_0x1b5d13['height']=0x1;for(let _0x52e61b=0x3;_0x52e61b<_0x3151f6['length'];_0x52e61b+=0x4)if(_0x3151f6[_0x52e61b]<0xfe)return!0x0;return!0x1;},getExif=async _0x269dab=>{let _0x4e5149=null;const {promiseReadJpegChunks:_0x3e02c2,stack:_0x8bd5a8}=_0xffa42f();return await _0x3e02c2(_0x269dab),_0x8bd5a8['forEach'](({marker:_0x247372,view:_0x2961b5})=>{!_0x4e5149&&0xe1===_0x247372&&_0x2961b5['byteLength']>=0xe&&0x45786966===_0x2961b5['getUint32'](0x0)&&0x0===_0x2961b5['getUint16'](0x4)&&(_0x4e5149=_0x2961b5);}),_0x4e5149;},_0x30a657='data:image/jpg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4QA6RXhpZgAATU0AKgAAAAgAAwESAAMAAAABAAYAAAEoAAMAAAABAAIAAAITAAMAAAABAAEAAAAAAAD/2wBDAP//////////////////////////////////////////////////////////////////////////////////////wAALCAABAAIBASIA/8QAJgABAAAAAAAAAAAAAAAAAAAAAxABAAAAAAAAAAAAAAAAAAAAAP/aAAgBAQAAPwBH/9k=';let _0x516e59;const isBrowserApplyExifOrientation=()=>new Promise(_0x4febf7=>{if(void 0x0!==_0x516e59)_0x4febf7(_0x516e59);else{const _0x209178=new Image();_0x209178['addEventListener']('load',()=>{_0x516e59=_0x209178['naturalWidth']<_0x209178['naturalHeight'],_0x209178['src']='//:0',_0x4febf7(_0x516e59);}),_0x209178['src']=_0x30a657;}}),findExifOrientation=(_0x9b20cb,_0x1037ce)=>{let _0x1e3d7a,_0x4e1c23,_0x4a4b64,_0x40153c;if(!_0x9b20cb||_0x9b20cb['byteLength']<0xe||0x45786966!==_0x9b20cb['getUint32'](0x0)||0x0!==_0x9b20cb['getUint16'](0x4))return;if(0x4949===_0x9b20cb['getUint16'](0x6))_0x4e1c23=!0x0;else{if(0x4d4d!==_0x9b20cb['getUint16'](0x6))return;_0x4e1c23=!0x1;}if(0x2a!==_0x9b20cb['getUint16'](0x8,_0x4e1c23))return;_0x4a4b64=0x8+_0x9b20cb['getUint32'](0xa,_0x4e1c23);for(_0x1e3d7a=0x0,_0x40153c=_0x9b20cb['getUint16'](_0x4a4b64-0x2,_0x4e1c23);_0x40153c>=0x0?_0x1e3d7a<_0x40153c:_0x1e3d7a>_0x40153c;_0x40153c>=0x0?++_0x1e3d7a:--_0x1e3d7a){if(_0x9b20cb['byteLength']<_0x4a4b64+0xa)return;0x112===_0x9b20cb['getUint16'](_0x4a4b64,_0x4e1c23)&&_0x1037ce(_0x4a4b64+0x8,_0x4e1c23),_0x4a4b64+=0xc;}},setExifOrientation=(_0x239db9,_0x65d538)=>{findExifOrientation(_0x239db9,(_0x4a39ec,_0x2a3f5b)=>_0x239db9['setUint16'](_0x4a39ec,_0x65d538,_0x2a3f5b));},_0x26bc10=async(_0x508899,_0x465ae4,_0x17fa03)=>(_0x17fa03&&setExifOrientation(_0x465ae4,0x1),_0x3dcd7b(_0x508899,0xe1,[_0x465ae4['buffer']])),_0x5ad2dd=(_0x1a6a55,_0x7e3152)=>new Promise((_0x5f4ab1,_0x2b506b)=>{_0x7e3152&&(_0x1a6a55['src']=_0x7e3152),_0x1a6a55['complete']?_0x5f4ab1(_0x1a6a55):(_0x1a6a55['addEventListener']('load',()=>{_0x5f4ab1(_0x1a6a55);}),_0x1a6a55['addEventListener']('error',()=>{_0x2b506b(new Error('Failed\x20to\x20load\x20image.\x20Probably\x20not\x20an\x20image.'));}));}),_0xafab0b=_0x4872d7=>_0x5ad2dd(new Image(),_0x4872d7),_0x3cdb19=[0x1,0x3],_0x2d5e44=[0xc0,0xc1,0xc2,0xc3,0xc5,0xc6,0xc7,0xc9,0xca,0xcb,0xcd,0xce,0xcf],_0x2ee55b={'squareSide':[Math['floor'](Math['sqrt'](0x4c4b40)),0x1000,0x2000,0x2bac,0x2a54,0x2c8a,0x376c,0x4000],'dimension':[0x1000,0x2000,0x4000,0x7fff,0xffff]},_0x3c418d=async _0x2def5e=>{let _0x45696a=!0x1;const {promiseReadJpegChunks:_0x5a5708,stack:_0x9cea62}=_0xffa42f();return await _0x5a5708(_0x2def5e)['then'](()=>(_0x9cea62['forEach'](({marker:_0x39b870,view:_0x189a92})=>{if(!_0x45696a&&_0x2d5e44['indexOf'](_0x39b870)>=0x0){const _0x12c46d=_0x189a92['getUint8'](0x5);_0x3cdb19['indexOf'](_0x12c46d)<0x0&&(_0x45696a=!0x0);}}),_0x45696a))['catch'](()=>_0x45696a);},_0x2b3466=(_0x41b8d6,_0x3feacc)=>{const _0x3e36e6={};return(..._0x1ab0c3)=>{const _0x262afe=_0x3feacc(_0x1ab0c3,_0x3e36e6);return _0x262afe in _0x3e36e6?_0x3e36e6[_0x262afe]:_0x3e36e6[_0x262afe]=_0x41b8d6(..._0x1ab0c3);};},_0x2d2afc=(_0x5c0d53,_0x19215e)=>{const [_0x4d2e88]=_0x5c0d53,_0x425c29=Object['keys'](_0x19215e)['map'](_0x4990e9=>parseInt(_0x4990e9,0xa))['sort']((_0x1d9adb,_0x4d445a)=>_0x1d9adb-_0x4d445a);for(let _0x4370e3=0x0;_0x4370e3<_0x425c29['length'];_0x4370e3++){const _0x10cb96=_0x425c29[_0x4370e3],_0x459579=!!_0x19215e[_0x10cb96];if(_0x10cb96>_0x4d2e88&&_0x459579)return _0x10cb96;if(_0x10cb96<_0x4d2e88&&!_0x459579)return _0x10cb96;}return _0x4d2e88;},TestPixel={'R':0x37,'G':0x6e,'B':0xa5,'A':0xff},_0x10f481='rgba('+TestPixel['R']+',\x20'+TestPixel['G']+',\x20'+TestPixel['B']+',\x20'+TestPixel['A']/0xff+')',canvasTest=(_0x5234e5,_0x30494c)=>{try{const _0x466d18=[_0x5234e5-0x1,_0x30494c-0x1,0x1,0x1],{canvas:_0x1714d7,ctx:_0x6c394}=createCanvas();_0x1714d7['width']=0x1,_0x1714d7['height']=0x1;const {canvas:_0x44d925,ctx:_0x4483d2}=createCanvas();_0x44d925['width']=_0x5234e5,_0x44d925['height']=_0x30494c,_0x4483d2&&(_0x4483d2['fillStyle']=_0x10f481,_0x4483d2['fillRect'](..._0x466d18),_0x6c394['drawImage'](_0x44d925,_0x5234e5-0x1,_0x30494c-0x1,0x1,0x1,0x0,0x0,0x1,0x1));const _0x469034=_0x6c394&&_0x6c394['getImageData'](0x0,0x0,0x1,0x1)['data'];let _0xbaa965=!0x1;return _0x469034&&(_0xbaa965=_0x469034[0x0]===TestPixel['R']&&_0x469034[0x1]===TestPixel['G']&&_0x469034[0x2]===TestPixel['B']&&_0x469034[0x3]===TestPixel['A']),_0x44d925['width']=_0x44d925['height']=0x1,_0xbaa965;}catch(_0x3d3514){return console['error']('Failed\x20to\x20test\x20for\x20max\x20canvas\x20size\x20of\x20'+_0x5234e5+'x'+_0x30494c+'.'),!0x1;}};function _0x2c7391(_0x3219d1){return(..._0x4e6b1e)=>new Promise(_0x1bd68c=>{setTimeout(()=>{const _0x32c191=_0x3219d1(..._0x4e6b1e);_0x1bd68c(_0x32c191);},0x0);});}const squareTest=_0x2c7391(_0x2b3466(canvasTest,_0x2d2afc)),dimensionTest=_0x2c7391(_0x2b3466(canvasTest,_0x2d2afc)),testCanvasSize=async(_0x14d469,_0x1b01b5)=>{const _0x1cfb68=_0x2ee55b['squareSide']['find'](_0x1e07cd=>_0x1e07cd*_0x1e07cd>=_0x14d469*_0x1b01b5),_0x10d0b5=_0x2ee55b['dimension']['find'](_0x2dea5f=>_0x2dea5f>=_0x14d469&&_0x2dea5f>=_0x1b01b5);if(!_0x1cfb68||!_0x10d0b5)throw new Error('Not\x20supported');const [_0x69cf0b,_0x520f14]=await Promise['all']([squareTest(_0x1cfb68,_0x1cfb68),dimensionTest(_0x10d0b5,0x1)]);if(_0x69cf0b&&_0x520f14)return!0x0;throw new Error('Not\x20supported');},_0x4e0ace=async(_0x7972bb,_0x93671c,_0x5e3f4b)=>{try{const {ctx:_0x11e786,canvas:_0x2b2eff}=createCanvas();return _0x2b2eff['width']=_0x93671c,_0x2b2eff['height']=_0x5e3f4b,_0x11e786['imageSmoothingQuality']='high',_0x11e786['drawImage'](_0x7972bb,0x0,0x0,_0x93671c,_0x5e3f4b),_0x7972bb instanceof HTMLImageElement&&(_0x7972bb['src']='//:0'),_0x7972bb instanceof HTMLCanvasElement&&(_0x7972bb['width']=_0x7972bb['height']=0x1),_0x2b2eff;}catch(_0x55bb61){throw new Error('Canvas\x20resize\x20error',{'cause':_0x55bb61});}},native=({img:_0x4be0fc,targetW:_0x1b6ec8,targetH:_0x575333})=>_0x4e0ace(_0x4be0fc,_0x1b6ec8,_0x575333),calcShrinkSteps=function({sourceW:_0x314187,targetW:_0x376798,targetH:_0x45c237,step:_0x502c9c}){const _0x52f920=[];let _0x45a288=_0x376798,_0x512897=_0x45c237;do{_0x52f920['push']([_0x45a288,_0x512897]),_0x45a288=Math['round'](_0x45a288/_0x502c9c),_0x512897=Math['round'](_0x512897/_0x502c9c);}while(_0x45a288<_0x314187*_0x502c9c);return _0x52f920['reverse']();},_0x451b0c=({img:_0x589a06,sourceW:_0x59fbbb,targetW:_0x54eca4,targetH:_0x487102,step:_0x28da91})=>{const _0x2b8daa=calcShrinkSteps({'sourceW':_0x59fbbb,'targetW':_0x54eca4,'targetH':_0x487102,'step':_0x28da91});return _0x2b8daa['reduce']((_0xe189e7,[_0x210b04,_0x40b390],_0x5f1e9b)=>_0xe189e7['then'](_0xe5389d=>testCanvasSize(_0x210b04,_0x40b390)['then'](()=>_0x4e0ace(_0xe5389d,_0x210b04,_0x40b390))['catch'](()=>{if(_0x5f1e9b===_0x2b8daa['length']-0x1)throw new Error('Not\x20supported');return _0xe5389d;})),Promise['resolve'](_0x589a06));},_0x459e7d=()=>!!/iPad|iPhone|iPod/['test'](navigator['platform'])||navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform']),_0x4cc19a=navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform']),_0xdaa184=0.71,_0xada2b8=(_0x820406,_0x4baa4f)=>{if(_0x820406['width']*_0xdaa184*_0x820406['height']*_0xdaa184<_0x4baa4f['size'])throw new Error('Not\x20required');const _0x553cf0=_0x820406['width'],_0x4bc90d=_0x820406['height'],_0x1cb1cd=_0x553cf0/_0x4bc90d,_0x3db40f=Math['floor'](Math['sqrt'](_0x4baa4f['size']*_0x1cb1cd)),_0x4970c0=Math['floor'](_0x4baa4f['size']/Math['sqrt'](_0x4baa4f['size']*_0x1cb1cd));return testCanvasSize(_0x3db40f,_0x4970c0)['then'](()=>{const {ctx:_0x316e0a}=createCanvas();return'imageSmoothingQuality'in _0x316e0a&&!_0x459e7d()&&!_0x4cc19a?native({'img':_0x820406,'targetW':_0x3db40f,'targetH':_0x4970c0}):_0x451b0c({'img':_0x820406,'sourceW':_0x553cf0,'targetW':_0x3db40f,'targetH':_0x4970c0,'step':_0xdaa184});})['catch'](()=>Promise['reject']('Not\x20supported'));},_0x58aecb=async(_0x33dff8,_0x2b2c55)=>{try{if(await _0x3c418d(_0x33dff8))throw new Error('Should\x20skipped');const _0x5c5841=await Promise['allSettled']([getExif(_0x33dff8),isBrowserApplyExifOrientation(),getIccProfile(_0x33dff8)]),_0x5e4259=!_0x5c5841['some'](_0x3a3527=>'rejected'===_0x3a3527['status']),[_0x6fc06b,_0x595719,_0x112dba]=_0x5c5841,_0x263851=await stripIccProfile(_0x33dff8)['catch'](()=>_0x33dff8),_0x40f7bd=await _0xafab0b(URL['createObjectURL'](_0x263851));URL['revokeObjectURL'](_0x40f7bd['src']);const _0x1d96fc=await _0xada2b8(_0x40f7bd,_0x2b2c55);let _0x19dba3='image/jpeg',_0x552a75=_0x2b2c55?.['quality']||0.8;!_0x5e4259&&_0x35696f(_0x1d96fc)&&(_0x19dba3='image/png',_0x552a75=void 0x0);let _0x56c7a0=await _0x15d285(_0x1d96fc,_0x19dba3,_0x552a75);if(_0x5e4259&&'fulfilled'===_0x6fc06b['status']&&_0x6fc06b['value']){const _0x466c59=_0x6fc06b['value'],_0x3d8d26='fulfilled'===_0x595719['status']&&_0x595719['value'];_0x56c7a0=await _0x26bc10(_0x56c7a0,_0x466c59,_0x3d8d26);}return _0x5e4259&&'fulfilled'===_0x112dba['status']&&_0x112dba['value']['length']>0x0&&(_0x56c7a0=await _0xf5b01d(_0x56c7a0,_0x112dba['value'])),_0x56c7a0;}catch(_0x3bccf6){let _0xc49523;throw _0x3bccf6 instanceof Error&&(_0xc49523=_0x3bccf6['message']),'string'==typeof _0x3bccf6&&(_0xc49523=_0x3bccf6),new Error('Failed\x20to\x20shrink\x20image.\x20'+(_0xc49523?'Message:\x20\x22'+_0xc49523+'\x22.':''),{'cause':_0x3bccf6});}};var _0x469cd6=0x14,InternalEventType=Object['freeze']({'INIT_SOLUTION':'init-solution','CHANGE_CONFIG':'change-config','ACTION_EVENT':'action-event','ERROR_EVENT':'error-event'}),EventType=Object['freeze']({'FILE_ADDED':'file-added','FILE_REMOVED':'file-removed','FILE_UPLOAD_START':'file-upload-start','FILE_UPLOAD_PROGRESS':'file-upload-progress','FILE_UPLOAD_SUCCESS':'file-upload-success','FILE_UPLOAD_FAILED':'file-upload-failed','FILE_URL_CHANGED':'file-url-changed','MODAL_OPEN':'modal-open','MODAL_CLOSE':'modal-close','DONE_CLICK':'done-click','UPLOAD_CLICK':'upload-click','ACTIVITY_CHANGE':'activity-change','COMMON_UPLOAD_START':'common-upload-start','COMMON_UPLOAD_PROGRESS':'common-upload-progress','COMMON_UPLOAD_SUCCESS':'common-upload-success','COMMON_UPLOAD_FAILED':'common-upload-failed','CHANGE':'change','GROUP_CREATED':'group-created'}),EventEmitter=class{['_timeoutStore']=new Map();['_targets']=new Set();['_debugPrint']=null;constructor(_0xfeca97){this['_debugPrint']=_0xfeca97;}['bindTarget'](_0x45e832){this['_targets']['add'](_0x45e832);}['unbindTarget'](_0xfbb244){this['_targets']['delete'](_0xfbb244);}['_dispatch'](_0x3e0789,_0x424487){for(const _0x2e5f1a of this['_targets'])_0x2e5f1a['dispatchEvent'](new CustomEvent(_0x3e0789,{'detail':_0x424487}));this['_debugPrint']?.(()=>{const _0x5c0943=_0x424487&&'object'==typeof _0x424487?{..._0x424487}:_0x424487;return['event\x20\x22'+_0x3e0789+'\x22',_0x5c0943];});}['emit'](_0x5ad71b,_0x1dc112,_0x506d99={}){const {debounce:_0x1faa87}=_0x506d99;if('number'!=typeof _0x1faa87&&!_0x1faa87)return void this['_dispatch'](_0x5ad71b,'function'==typeof _0x1dc112?_0x1dc112():_0x1dc112);this['_timeoutStore']['has'](_0x5ad71b)&&window['clearTimeout'](this['_timeoutStore']['get'](_0x5ad71b));const _0x32ee21='number'==typeof _0x1faa87?_0x1faa87:_0x469cd6,_0x4f0f8d=window['setTimeout'](()=>{this['_dispatch'](_0x5ad71b,'function'==typeof _0x1dc112?_0x1dc112():_0x1dc112),this['_timeoutStore']['delete'](_0x5ad71b);},_0x32ee21);this['_timeoutStore']['set'](_0x5ad71b,_0x4f0f8d);}};function _0x491199(_0x4ebc43,_0xc00789){let _0x1d4ff4;const _0x3be503=(..._0x5bae39)=>{_0x1d4ff4&&clearTimeout(_0x1d4ff4),_0x1d4ff4=setTimeout(()=>_0x4ebc43(..._0x5bae39),_0xc00789);};return _0x3be503['cancel']=()=>{_0x1d4ff4&&clearTimeout(_0x1d4ff4);},_0x3be503;}var _0x40941e=_0x4e17af=>_0x4e17af?_0x4e17af['split'](',')['map'](_0x38d8cc=>_0x38d8cc['trim']())['filter'](Boolean):[],_0x12bad6=_0x5b76ff=>_0x5b76ff['join'](','),normalizeCdnOperation=_0x26e43b=>{if('string'!=typeof _0x26e43b||!_0x26e43b)return'';let _0x1b523b=_0x26e43b['trim']();return _0x1b523b['startsWith']('-/')?_0x1b523b=_0x1b523b['slice'](0x2):_0x1b523b['startsWith']('/')&&(_0x1b523b=_0x1b523b['slice'](0x1)),_0x1b523b['endsWith']('/')&&(_0x1b523b=_0x1b523b['slice'](0x0,_0x1b523b['length']-0x1)),_0x1b523b;},joinCdnOperations=(..._0x5782e1)=>_0x5782e1['filter'](_0x41cca0=>'string'==typeof _0x41cca0&&!!_0x41cca0)['map'](_0x2f4695=>normalizeCdnOperation(_0x2f4695))['join']('/-/'),createCdnUrlModifiers=(..._0x21f5de)=>{const _0x207bda=joinCdnOperations(..._0x21f5de);return _0x207bda?'-/'+_0x207bda+'/':'';};function extractFilename(_0x563214){const _0x1cf9f8=new URL(_0x563214),_0x5284cb=_0x1cf9f8['pathname']+_0x1cf9f8['search']+_0x1cf9f8['hash'],_0x4873b2=_0x5284cb['lastIndexOf']('http'),_0x2c016f=_0x5284cb['lastIndexOf']('/');let _0xb52a92='';return _0x4873b2>=0x0?_0xb52a92=_0x5284cb['slice'](_0x4873b2):_0x2c016f>=0x0&&(_0xb52a92=_0x5284cb['slice'](_0x2c016f+0x1)),_0xb52a92;}function extractUuid(_0x5dfce2){const _0x4e2348=new URL(_0x5dfce2),{pathname:_0x3717e6}=_0x4e2348,_0x308e4f=_0x3717e6['indexOf']('/'),_0x5773bc=_0x3717e6['indexOf']('/',_0x308e4f+0x1);return _0x3717e6['substring'](_0x308e4f+0x1,_0x5773bc);}function extractCdnUrlModifiers(_0xfd71e){const _0x53eff6=trimFilename(_0xfd71e),_0x4cff01=new URL(_0x53eff6),_0x1b7b54=_0x4cff01['pathname']['indexOf']('/-/');if(-0x1===_0x1b7b54)return'';return _0x4cff01['pathname']['substring'](_0x1b7b54)['slice'](0x1);}function extractOperations(_0x51482c){return extractCdnUrlModifiers(_0x51482c)['split']('/-/')['filter'](Boolean)['map'](_0x103d1a=>normalizeCdnOperation(_0x103d1a));}function trimFilename(_0x584a35){const _0x53445a=new URL(_0x584a35),_0x565711=extractFilename(_0x584a35),_0x3b230b=_0x14f5fc(_0x565711)?splitFileUrl(_0x565711)['pathname']:_0x565711;return _0x53445a['pathname']=_0x53445a['pathname']['replace'](_0x3b230b,''),_0x53445a['search']='',_0x53445a['hash']='',_0x53445a['toString']();}function _0x14f5fc(_0x32a866){return _0x32a866['startsWith']('http');}function splitFileUrl(_0xd67542){const _0x4e8288=new URL(_0xd67542);return{'pathname':''+_0x4e8288['origin']+(_0x4e8288['pathname']??''),'search':_0x4e8288['search']??'','hash':_0x4e8288['hash']??''};}var createCdnUrl=(_0x3e8889,_0x341fce,_0x2f04b0)=>{const _0x3ab3b1=new URL(trimFilename(_0x3e8889)),_0x46260d=_0x2f04b0??extractFilename(_0x3e8889),_0x5e2c9f=_0x341fce??'';if(_0x3ab3b1['pathname']['startsWith']('//')&&(_0x3ab3b1['pathname']=_0x3ab3b1['pathname']['replace']('//','/')),_0x46260d&&_0x14f5fc(_0x46260d)){const _0x5927b3=splitFileUrl(_0x46260d);_0x3ab3b1['pathname']=''+_0x3ab3b1['pathname']+_0x5e2c9f+(_0x5927b3['pathname']||''),_0x3ab3b1['search']=_0x5927b3['search'],_0x3ab3b1['hash']=_0x5927b3['hash'];}else _0x3ab3b1['pathname']=''+_0x3ab3b1['pathname']+_0x5e2c9f+(_0x46260d||'');return _0x3ab3b1['toString']();},createOriginalUrl=(_0x35c000,_0x143fcb)=>{const _0xd52f38=new URL(_0x35c000);return _0xd52f38['pathname']=_0x143fcb+'/',_0xd52f38['toString']();},stringToArray=(_0x12fa98,_0x3814b0=',')=>_0x12fa98['trim']()['split'](_0x3814b0)['map'](_0x9fa50d=>_0x9fa50d['trim']())['filter'](_0x4c90bf=>_0x4c90bf['length']>0x0),_0x121345=Object['freeze']({'brightness':0x0,'exposure':0x0,'gamma':0x64,'contrast':0x0,'saturation':0x0,'vibrance':0x0,'warmth':0x0,'enhance':0x0,'filter':0x0,'rotate':0x0,'mirror':!0x1,'flip':!0x1,'crop':void 0x0}),_0x5b6aec=['enhance','brightness','exposure','gamma','contrast','saturation','vibrance','warmth','filter','mirror','flip','rotate','crop'];function transformationToStr(_0x270add,_0x2adee2){if('number'==typeof _0x2adee2){const _0x689ea1=_0x2adee2;return _0x121345[_0x270add]!==_0x689ea1?_0x270add+'/'+_0x689ea1:'';}if('boolean'==typeof _0x2adee2){const _0x277a2a=_0x2adee2;return _0x121345[_0x270add]!==_0x277a2a?''+_0x270add:'';}if('filter'===_0x270add&&_0x2adee2){const {name:_0x8ffb8f,amount:_0x3bd203}=_0x2adee2;return _0x121345['filter']===_0x3bd203?'':_0x270add+'/'+_0x8ffb8f+'/'+_0x3bd203;}if('crop'===_0x270add&&_0x2adee2){const {dimensions:_0x1e1e4f,coords:_0x10db71}=_0x2adee2;return _0x270add+'/'+_0x1e1e4f['join']('x')+'/'+_0x10db71['join'](',');}return'';}function transformationsToOperations(_0xe7816c){return joinCdnOperations(..._0x5b6aec['filter'](_0x2808fd=>void 0x0!==_0xe7816c[_0x2808fd]&&null!==_0xe7816c[_0x2808fd])['map'](_0x3e5bfd=>transformationToStr(_0x3e5bfd,_0xe7816c[_0x3e5bfd]))['filter'](_0x4e0a6a=>!!_0x4e0a6a));}var _0x297a0b=joinCdnOperations('format/auto','progressive/yes'),_0x2300dc=([_0x140a68])=>void 0x0!==_0x140a68?Number(_0x140a68):void 0x0,_0x339b83=()=>!0x0,asFilter=([_0x4cfe68,_0xc362e5])=>({'name':_0x4cfe68,'amount':void 0x0!==_0xc362e5?Number(_0xc362e5):0x64}),_0x1e177e=([_0x4aa095,_0x4f7c09])=>{if(!/\d+x\d+/['test'](_0x4aa095)||!/\d+,\d+/['test'](_0x4f7c09))throw new Error('Crop\x20by\x20aspect\x20ratio,\x20percentage\x20or\x20alignment\x20shortcuts\x20is\x20not\x20supported.');return{'dimensions':stringToArray(_0x4aa095,'x')['map'](Number),'coords':stringToArray(_0x4f7c09)['map'](Number)};},_0x18aa8d=Object['freeze']({'enhance':_0x2300dc,'brightness':_0x2300dc,'exposure':_0x2300dc,'gamma':_0x2300dc,'contrast':_0x2300dc,'saturation':_0x2300dc,'vibrance':_0x2300dc,'warmth':_0x2300dc,'filter':asFilter,'mirror':_0x339b83,'flip':_0x339b83,'rotate':_0x2300dc,'crop':_0x34ad06=>{const [_0xf1a0e,_0x518591]=_0x34ad06,{dimensions:_0x307351,coords:_0x6edb37}=_0x1e177e([_0xf1a0e,_0x518591]);return{'dimensions':_0x307351,'coords':_0x6edb37};}});function operationsToTransformations(_0x36c4f9){const _0x17c432={};for(const _0x379bc0 of _0x36c4f9){const [_0x39ab35,..._0x3c2fd8]=_0x379bc0['split']('/');if(!_0x39ab35||!_0x5b6aec['includes'](_0x39ab35))continue;const _0x39bc27=_0x39ab35,_0x1937a6=_0x18aa8d[_0x39bc27];try{const _0x1a38cc=_0x1937a6(_0x3c2fd8);_0x17c432[_0x39bc27]=_0x1a38cc;}catch(_0xd741f1){console['warn'](['Failed\x20to\x20parse\x20URL\x20operation\x20\x22'+_0x379bc0+'\x22.\x20It\x20will\x20be\x20ignored.',_0xd741f1 instanceof Error?'Error\x20message:\x20\x22'+_0xd741f1['message']+'\x22':_0xd741f1,'If\x20you\x20need\x20this\x20functionality,\x20please\x20feel\x20free\x20to\x20open\x20an\x20issue\x20at\x20https://github.com/uploadcare/blocks/issues/new']['join']('\x0a'));}}return _0x17c432;}var _0x3aa6c4=Object['freeze']({'CROP':'crop','TUNING':'tuning','FILTERS':'filters'}),_0x53655e=Object['freeze']([_0x3aa6c4['CROP'],_0x3aa6c4['TUNING'],_0x3aa6c4['FILTERS']]),_0x40a64f=Object['freeze'](['brightness','exposure','gamma','contrast','saturation','vibrance','warmth','enhance']),_0x1424f3=Object['freeze'](['adaris','briaril','calarel','carris','cynarel','cyren','elmet','elonni','enzana','erydark','fenralan','ferand','galen','gavin','gethriel','iorill','iothari','iselva','jadis','lavra','misiara','namala','nerion','nethari','pamaya','sarnar','sedis','sewen','sorahel','sorlen','tarian','thellassan','varriel','varven','vevera','virkas','yedis','yllara','zatvel','zevcen']),_0x17c25c=Object['freeze'](['rotate','mirror','flip']),_0xbbbe75=_0x121345,_0x33f8f5=Object['freeze']({'brightness':{'zero':_0xbbbe75['brightness'],'range':[-0x64,0x64],'keypointsNumber':0x2},'exposure':{'zero':_0xbbbe75['exposure'],'range':[-0x1f4,0x1f4],'keypointsNumber':0x2},'gamma':{'zero':_0xbbbe75['gamma'],'range':[0x0,0x3e8],'keypointsNumber':0x2},'contrast':{'zero':_0xbbbe75['contrast'],'range':[-0x64,0x1f4],'keypointsNumber':0x2},'saturation':{'zero':_0xbbbe75['saturation'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'vibrance':{'zero':_0xbbbe75['vibrance'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'warmth':{'zero':_0xbbbe75['warmth'],'range':[-0x64,0x64],'keypointsNumber':0x1},'enhance':{'zero':_0xbbbe75['enhance'],'range':[0x0,0x64],'keypointsNumber':0x1},'filter':{'zero':_0xbbbe75['filter'],'range':[0x0,0x64],'keypointsNumber':0x1}}),_0x235448='https://ucarecdn.com',_0x49dc71='https://upload.uploadcare.com',_0xb6046='https://social.uploadcare.com',_0x261e5d='https://ucarecd.net',_0x4aa057={'pubkey':'','multiple':!0x0,'multipleMin':0x0,'multipleMax':Number['MAX_SAFE_INTEGER'],'confirmUpload':!0x1,'imgOnly':!0x1,'accept':'','externalSourcesPreferredTypes':'','externalSourcesEmbedCss':'','store':'auto','cameraMirror':!0x1,'cameraCapture':'','sourceList':'local,\x20url,\x20camera,\x20dropbox,\x20gdrive','topLevelOrigin':'','cloudImageEditorTabs':_0x12bad6(_0x53655e),'maxLocalFileSizeBytes':0x0,'thumbSize':0x4c,'showEmptyList':!0x1,'useLocalImageEditor':!0x1,'useCloudImageEditor':!0x0,'removeCopyright':!0x1,'cropPreset':'','imageShrink':'','modalScrollLock':!0x0,'modalBackdropStrokes':!0x1,'sourceListWrap':!0x0,'remoteTabSessionKey':'','cdnCname':_0x235448,'cdnCnamePrefixed':_0x261e5d,'baseUrl':_0x49dc71,'socialBaseUrl':_0xb6046,'secureSignature':'','secureExpire':'','secureDeliveryProxy':'','retryThrottledRequestMaxTimes':0xa,'retryNetworkErrorMaxTimes':0x3,'multipartMinFileSize':0x1900000,'multipartChunkSize':0x500000,'maxConcurrentRequests':0xa,'multipartMaxConcurrentRequests':0x4,'multipartMaxAttempts':0x3,'checkForUrlDuplicates':!0x1,'saveUrlForRecurrentUploads':!0x1,'groupOutput':!0x1,'userAgentIntegration':'','debug':!0x1,'metadata':null,'localeName':'en','localeDefinitionOverride':null,'secureUploadsExpireThreshold':0x927c0,'secureUploadsSignatureResolver':null,'secureDeliveryProxyUrlResolver':null,'iconHrefResolver':null,'fileValidators':[],'collectionValidators':[],'validationTimeout':0x3a98,'validationConcurrency':0x64,'cameraModes':'photo,\x20video','defaultCameraMode':null,'enableAudioRecording':!0x0,'enableVideoRecording':null,'maxVideoRecordingDuration':null,'mediaRecorderOptions':null,'filesViewMode':'list','gridShowFileNames':!0x1,'cloudImageEditorAutoOpen':!0x1,'cloudImageEditorMaskHref':null,'testMode':!0x1,'qualityInsights':!0x0},initialConfig=Object['freeze'](_0x4aa057),getLocaleDirection=_0x25c5cf=>{const _0x8e9968=new Intl['Locale'](_0x25c5cf);let _0x4f188c='ltr';const _0x264971=_0x8e9968['getTextInfo']?.()['direction'];return _0x264971?_0x4f188c=_0x264971:_0x8e9968['textInfo']?.['direction']&&(_0x4f188c=_0x8e9968['textInfo']['direction']),_0x4f188c;},getPluralForm=(_0x36e019,_0xd7e5e3)=>new Intl['PluralRules'](_0x36e019)['select'](_0xd7e5e3),_0x57c351=_0x1fd335=>_0x1fd335,_0x4d3f5f='{{',_0x514eb9='}}',_0x3fee1e='plural:';function applyTemplateData(_0x58f6de,_0x2a5950={},_0x5d8df5={}){const {openToken:_0x44ea6d=_0x4d3f5f,closeToken:_0x20b682=_0x514eb9,transform:_0x236185=_0x57c351}=_0x5d8df5;for(const _0x11c594 in _0x2a5950){const _0xdc0922=_0x2a5950[_0x11c594],_0x22fca3=null!=_0xdc0922?_0xdc0922['toString']():void 0x0,_0x960e7c='string'==typeof _0x22fca3?_0x236185(_0x22fca3):String(_0x22fca3);_0x58f6de=_0x58f6de['replaceAll'](_0x44ea6d+_0x11c594+_0x20b682,_0x960e7c);}return _0x58f6de;}function getPluralObjects(_0x5827f8){const _0x51c403=[];let _0x50ba54=_0x5827f8['indexOf'](_0x4d3f5f);for(;-0x1!==_0x50ba54;){const _0x39e9eb=_0x5827f8['indexOf'](_0x514eb9,_0x50ba54);if(-0x1===_0x39e9eb)break;const _0x40e4e4=_0x5827f8['substring'](_0x50ba54+0x2,_0x39e9eb);if(_0x40e4e4['startsWith'](_0x3fee1e)){const _0x398bb2=_0x5827f8['substring'](_0x50ba54+0x2,_0x39e9eb)['replace'](_0x3fee1e,''),_0x394fe6=_0x398bb2['substring'](0x0,_0x398bb2['indexOf']('(')),_0x82a87a=_0x398bb2['substring'](_0x398bb2['indexOf']('(')+0x1,_0x398bb2['indexOf'](')'));_0x51c403['push']({'variable':_0x40e4e4,'pluralKey':_0x394fe6,'countVariable':_0x82a87a});}_0x50ba54=_0x5827f8['indexOf'](_0x4d3f5f,_0x39e9eb);}return _0x51c403;}var _0x437d70='--uploadcare-blocks-window-height',WindowHeightTracker=class _0x2621b4{static ['clientsRegistry']=new Set();static ['flush']=_0x491199(()=>{document['documentElement']['style']['setProperty'](_0x437d70,window['innerHeight']+'px');},0x64);static['registerClient'](_0x218fcd){0x0===_0x2621b4['clientsRegistry']['size']&&_0x2621b4['attachTracker'](),_0x2621b4['clientsRegistry']['add'](_0x218fcd);}static['unregisterClient'](_0x505c9e){_0x2621b4['clientsRegistry']['delete'](_0x505c9e),0x0===_0x2621b4['clientsRegistry']['size']&&_0x2621b4['detachTracker']();}static['attachTracker'](){window['addEventListener']('resize',_0x2621b4['flush'],{'passive':!0x0,'capture':!0x0}),_0x2621b4['flush']();}static['detachTracker'](){window['removeEventListener']('resize',_0x2621b4['flush'],{'capture':!0x0}),document['documentElement']['style']['removeProperty'](_0x437d70);}},waitForAttribute=({element:_0x3bfb63,attribute:_0x325eae,onSuccess:_0x642f64,onTimeout:_0x505ffc,timeout:_0x5c284b=0x12c})=>{const _0x289bff=_0x3bfb63['getAttribute'](_0x325eae);if(null!==_0x289bff)return void _0x642f64(_0x289bff);const _0xa7b89e=new MutationObserver(_0x5c5d61=>{const _0x390418=_0x5c5d61[_0x5c5d61['length']-0x1];_0x390418&&_0x19f515(_0x390418);});_0xa7b89e['observe'](_0x3bfb63,{'attributes':!0x0,'attributeFilter':[_0x325eae]});const _0x197df1=window['setTimeout'](()=>{_0xa7b89e['disconnect'](),_0x505ffc();},_0x5c284b),_0x19f515=_0x410fea=>{const _0x398072=_0x3bfb63['getAttribute'](_0x325eae);'attributes'===_0x410fea['type']&&_0x410fea['attributeName']===_0x325eae&&null!==_0x398072&&(window['clearTimeout'](_0x197df1),_0xa7b89e['disconnect'](),_0x642f64(_0x398072));};},blockCtx=()=>({}),activityBlockCtx=_0x33292c=>({...blockCtx(),'*currentActivity':null,'*currentActivityParams':{},'*history':[],'*historyBack':null,'*closeModal':()=>{_0x33292c['modalManager']?.['close'](_0x33292c['$']['*currentActivity']),_0x33292c['set$']({'*currentActivity':null});}}),uploaderBlockCtx=_0x193037=>({...activityBlockCtx(_0x193037),'*commonProgress':0x0,'*uploadList':[],'*uploadQueue':new _0x413a32(0x1),'*collectionErrors':[],'*collectionState':null,'*groupInfo':null,'*uploadTrigger':new Set(),'*secureUploadsManager':null}),solutionBlockCtx=_0x47e294=>({...uploaderBlockCtx(_0x47e294),'*solution':null}),en_default={'locale-id':'en','social-source-lang':'en','upload-file':'Upload\x20file','upload-files':'Upload\x20files','choose-file':'Choose\x20file','choose-files':'Choose\x20files','drop-files-here':'Drop\x20files\x20here','select-file-source':'Select\x20file\x20source','selected':'Selected','upload':'Upload','add-more':'Add\x20more','cancel':'Cancel','start-from-cancel':'Cancel','clear':'Clear','camera-shot':'Shot','upload-url':'Import','upload-url-placeholder':'Paste\x20link\x20here','edit-image':'Edit\x20image','edit-detail':'Details','back':'Back','done':'Done','ok':'Ok','remove-from-list':'Remove','no':'No','yes':'Yes','confirm-your-action':'Confirm\x20your\x20action','are-you-sure':'Are\x20you\x20sure?','selected-count':'{{count}}\x20of\x20{{total}}\x20selected','select-all':'Select\x20all','deselect-all':'Deselect\x20all','upload-error':'Upload\x20error','validation-error':'Validation\x20error','no-files':'No\x20files\x20selected','browse':'Browse','not-uploaded-yet':'Not\x20uploaded\x20yet...','file__one':'file','file__other':'files','error__one':'error','error__other':'errors','header-uploading':'Uploading\x20{{count}}\x20{{plural:file(count)}}','header-failed':'{{count}}\x20{{plural:error(count)}}','header-succeed':'{{count}}\x20{{plural:file(count)}}\x20uploaded','header-total':'{{count}}\x20{{plural:file(count)}}\x20selected','src-type-local':'From\x20device','src-type-from-url':'From\x20link','src-type-camera':'Camera','src-type-mobile-video-camera':'Video','src-type-mobile-photo-camera':'Photo','src-type-draw':'Draw','src-type-facebook':'Facebook','src-type-dropbox':'Dropbox','src-type-gdrive':'Google\x20Drive','src-type-ngdrive':'Google\x20Drive','src-type-gphotos':'Google\x20Photos','src-type-flickr':'Flickr','src-type-vk':'VK','src-type-evernote':'Evernote','src-type-box':'Box','src-type-onedrive':'OneDrive','src-type-huddle':'Huddle','src-type-other':'Other','caption-from-url':'Import\x20from\x20link','caption-camera':'Camera','caption-draw':'Draw','caption-edit-file':'Edit\x20file','file-no-name':'No\x20name...','toggle-fullscreen':'Toggle\x20fullscreen','toggle-guides':'Toggle\x20guides','rotate':'Rotate','flip-vertical':'Flip\x20vertical','flip-horizontal':'Flip\x20horizontal','apply':'Apply','brightness':'Brightness','contrast':'Contrast','saturation':'Saturation','exposure':'Exposure','gamma':'Gamma','vibrance':'Vibrance','warmth':'Warmth','enhance':'Enhance','original':'Original','resize':'Resize\x20image','crop':'Crop','select-color':'Select\x20color','text':'Text','draw':'Draw','cancel-edit':'Cancel\x20edit','tab-view':'Preview','tab-details':'Details','file-name':'Name','file-size':'Size','cdn-url':'CDN\x20URL','file-size-unknown':'Unknown','camera-permissions-denied':'Camera\x20access\x20denied','camera-permissions-prompt':'Please\x20allow\x20access\x20to\x20the\x20camera','camera-permissions-request':'Request\x20access','files-count-limit-error-title':'Files\x20count\x20limit\x20overflow','files-count-limit-error-too-few':'You’ve\x20chosen\x20{{total}}\x20{{plural:file(total)}}.\x20At\x20least\x20{{min}}\x20{{plural:file(min)}}\x20required.','files-count-limit-error-too-many':'You’ve\x20chosen\x20too\x20many\x20files.\x20{{max}}\x20{{plural:file(max)}}\x20is\x20maximum.','files-max-size-limit-error':'File\x20is\x20too\x20big.\x20Max\x20file\x20size\x20is\x20{{maxFileSize}}.','has-validation-errors':'File\x20validation\x20error\x20occurred.\x20Please,\x20check\x20your\x20files\x20before\x20upload.','images-only-accepted':'Only\x20image\x20files\x20are\x20accepted.','file-type-not-allowed':'Uploading\x20of\x20these\x20file\x20types\x20is\x20not\x20allowed.','some-files-were-not-uploaded':'Some\x20files\x20were\x20not\x20uploaded.','file-item-edit-button':'Edit','file-item-remove-button':'Remove','a11y-editor-tab-filters':'Filters','a11y-editor-tab-tuning':'Tuning','a11y-editor-tab-crop':'Crop','a11y-activity-header-button-close':'Close','flip':'Flip','mirror':'Mirror','a11y-cloud-editor-apply-filter':'Apply\x20{{name}}\x20filter','a11y-cloud-editor-apply-crop':'Apply\x20{{name}}\x20operation','a11y-cloud-editor-apply-tuning':'Apply\x20{{name}}\x20tuning','a11y-cloud-editor-apply-aspect-ratio':'Apply\x20operation\x20{{name}}\x20{{value}}','finished':'Finished','failed':'Failed','uploading':'Uploading','idle':'Idle','a11y-file-item-status':'File\x20{{fileName}}\x20in\x20status\x20{{status}}','waiting-for':'Waiting\x20for\x20{{source}}','queued-uploading':'Queued\x20for\x20upload','queued-validation':'Queued\x20for\x20validation','validation':'Validating','crop-to-shape':'Crop\x20to\x20{{value}}','custom':'Freeform','freeform-crop':'Freeform\x20crop'},localeRegistry=new Map(),_0xc45af2=new Map(),_0x2f1f62=(_0xde29da,_0x49cd53)=>{localeRegistry['has'](_0xde29da)&&console['log']('Locale\x20'+_0xde29da+'\x20is\x20already\x20defined.\x20Overwriting...'),localeRegistry['set'](_0xde29da,{...en_default,..._0x49cd53});},_0x281624=(_0x2db1c4,_0x34ba13)=>{_0xc45af2['set'](_0x2db1c4,_0x34ba13);},_0x5144ba=(_0x4ee31a,_0x260165)=>{'function'==typeof _0x260165?_0x281624(_0x4ee31a,_0x260165):_0x2f1f62(_0x4ee31a,_0x260165);},resolveLocaleDefinition=async _0x5c0df9=>{if(!localeRegistry['has'](_0x5c0df9)){if(!_0xc45af2['has'](_0x5c0df9))throw new Error('Locale\x20'+_0x5c0df9+'\x20is\x20not\x20defined');const _0x3fba7b=_0xc45af2['get'](_0x5c0df9),_0xc2c579=await _0x3fba7b();_0x2f1f62(_0x5c0df9,_0xc2c579);}return localeRegistry['get'](_0x5c0df9);};_0x5144ba('en',en_default);var localeStateKey=_0x4e2b31=>'*l10n/'+_0x4e2b31,_0x364503='en',_0x36c34d=class{['_blockInstance']=null;['_localeName']='';['_callbacks']=new Set();['_boundBlocks']=new Map();constructor(_0x4a8a89){this['_blockInstance']=_0x4a8a89;for(const [_0x5cfe0c,_0x2c8347]of Object['entries'](en_default)){const _0x1c7e4a=!this['_blockInstance']['has'](localeStateKey(_0x5cfe0c))||!this['_blockInstance']['$'][localeStateKey(_0x5cfe0c)];this['_blockInstance']['add'](localeStateKey(_0x5cfe0c),_0x2c8347,_0x1c7e4a);}setTimeout(()=>{_0x4a8a89['subConfigValue']('localeName',async _0x1d519b=>{if(!this['_blockInstance']||!_0x1d519b)return;this['_localeName']=_0x1d519b;const _0x186d9f=await resolveLocaleDefinition(_0x1d519b);if(_0x1d519b!==_0x364503&&this['_localeName']!==_0x1d519b)return;const _0x3d45a2=this['_blockInstance']['cfg']['localeDefinitionOverride']?.[_0x1d519b];for(const [_0x49ca0d,_0x180c45]of Object['entries'](_0x186d9f)){const _0x33f5a2=_0x3d45a2?.[_0x49ca0d];this['_blockInstance']['add'](localeStateKey(_0x49ca0d),_0x33f5a2??_0x180c45,!0x0);for(const _0x54b924 of this['_callbacks'])_0x54b924();}}),_0x4a8a89['subConfigValue']('localeDefinitionOverride',_0x25ab7e=>{if(!_0x25ab7e)return;const _0x8d686b=_0x25ab7e[this['_localeName']];if(_0x8d686b)for(const [_0xdf4106,_0x2f9e80]of Object['entries'](_0x8d686b)){this['_blockInstance']?.['add'](localeStateKey(_0xdf4106),_0x2f9e80,!0x0);for(const _0x42e2ff of this['_callbacks'])_0x42e2ff();}});});}['onLocaleChange'](_0x149769){const _0x21b968=_0x491199(_0x149769,0x0);return this['_callbacks']['add'](_0x21b968),()=>{this['_callbacks']['delete'](_0x21b968);};}['bindL10n'](_0x2fc602,_0x4d7425,_0x325dea){_0x2fc602['$'][_0x4d7425]=_0x325dea(),this['_boundBlocks']['has'](_0x2fc602)||this['_boundBlocks']['set'](_0x2fc602,new Map()),this['_boundBlocks']['get'](_0x2fc602)?.['get'](_0x4d7425)?.();const _0x336058=this['onLocaleChange'](()=>{_0x2fc602['$'][_0x4d7425]=_0x325dea();});this['_boundBlocks']['get'](_0x2fc602)?.['set'](_0x4d7425,_0x336058);}['destroyL10nBindings'](_0x25daba){const _0x418c5c=this['_boundBlocks']['get'](_0x25daba);if(_0x418c5c){for(const _0x3e614a of _0x418c5c['values']())_0x3e614a();this['_boundBlocks']['delete'](_0x25daba);}}['destroy'](){this['_callbacks']['clear']();}};function _0x44b51a(_0x4fe6bf,_0x145a00){[..._0x4fe6bf['querySelectorAll']('[l10n]')]['forEach'](_0x5976ef=>{const _0x7d8f03=_0x5976ef['getAttribute']('l10n');if(!_0x7d8f03)return;const _0x1f5afe=_0x7d8f03['split'](';');for(const _0x48984b of _0x1f5afe)_0x48984b&&_0x176646(_0x5976ef,_0x48984b,_0x145a00);});}var _0x176646=(_0x2ca371,_0x4b794f,_0x456d0c)=>{let _0x58128f='textContent',_0x2c2b30=!0x1;if(_0x4b794f['includes'](':')){const _0x4f32df=_0x4b794f['split'](':');if(0x2!==_0x4f32df['length'])return void console['warn']('l10n\x20attribute\x20value\x20should\x20be\x20in\x20format\x20\x22property:key\x22\x20or\x20\x22key\x22.\x20Found:\x20'+_0x4b794f);const _0x10ea17=_0x4f32df;_0x58128f=_0x10ea17[0x0],_0x4b794f=_0x10ea17[0x1],_0x58128f['startsWith']('@')&&(_0x58128f=_0x58128f['slice'](0x1),_0x2c2b30=!0x0);}const _0x22e184=_0x4b794f;_0x456d0c['has'](_0x22e184)&&_0x456d0c['sub'](_0x22e184,_0x37413d=>{if(!_0x37413d)return;_0x456d0c['l10nProcessorSubs']['has'](_0x22e184)||_0x456d0c['l10nProcessorSubs']['set'](_0x22e184,new Set());const _0x1f63b9=_0x456d0c['l10nProcessorSubs']['get'](_0x22e184);_0x1f63b9?.['forEach'](_0x43caf4=>{_0x43caf4['remove'](),_0x1f63b9['delete'](_0x43caf4),_0x456d0c['allSubs']['delete'](_0x43caf4);});const _0x5bd843=localeStateKey(_0x37413d)['replace']('*','');_0x456d0c['nodeCtx']['has'](_0x5bd843)||_0x456d0c['nodeCtx']['add'](_0x5bd843,_0x37413d);const _0x5dd763=_0x456d0c['nodeCtx']['sub'](_0x5bd843,()=>{_0x2ca371[_0x58128f]=_0x456d0c['l10n'](_0x37413d);});_0x1f63b9?.['add'](_0x5dd763),_0x456d0c['allSubs']['add'](_0x5dd763),_0x2ca371['removeAttribute']('l10n');});const _0x4ffbd8=localeStateKey(_0x4b794f);_0x456d0c['has'](_0x4ffbd8)||_0x456d0c['add'](_0x4ffbd8,''),_0x456d0c['sub'](_0x4ffbd8,()=>{_0x2c2b30?_0x2ca371['setAttribute'](_0x58128f,_0x456d0c['l10n'](_0x4b794f)):_0x2ca371[_0x58128f]=_0x456d0c['l10n'](_0x4b794f);}),_0x2ca371['removeAttribute']('l10n');},_0x55badf=class{['_listeners']=new Map();['_scope']=[];['addEventListener'](_0x4bd181,_0x43b87d){const _0x23c2ea=_0x4279e5=>{const _0x3f285a=_0x4279e5['target'];_0x3f285a instanceof Node&&this['_scope']['some'](_0x10b208=>_0x10b208===_0x3f285a||_0x10b208['contains'](_0x3f285a))&&_0x43b87d(_0x4279e5);};this['_listeners']['set'](_0x43b87d,_0x23c2ea),window['addEventListener'](_0x4bd181,_0x23c2ea);}['removeEventListener'](_0x51b420,_0x5a7de8){const _0x449d44=this['_listeners']['get'](_0x5a7de8);_0x449d44&&window['removeEventListener'](_0x51b420,_0x449d44),this['_listeners']['delete'](_0x5a7de8);}get['CustomEvent'](){return window['CustomEvent'];}get['document'](){return window['document'];}get['navigator'](){return window['navigator'];}['registerScope'](_0x573024){this['_scope']['push'](_0x573024);}['destroy'](){this['_scope']=[];for(const _0xad735c of this['_listeners']['values']())window['removeEventListener']('keydown',_0xad735c),window['removeEventListener']('keyup',_0xad735c);this['_listeners']['clear']();}},_0x40671a=class{['_destroyKeyUX'];['_scopedWindow'];constructor(){this['_scopedWindow']=new _0x55badf(),this['_destroyKeyUX']=startKeyUX(this['_scopedWindow'],[_0x1fe5bd(),_0x3711ee('is-pressed'),_0x3907a7(),_0x40bbc8()]);}['registerBlock'](_0x111b13){this['_scopedWindow']['registerScope'](_0x111b13);}['destroy'](){this['_destroyKeyUX']?.(),this['_scopedWindow']['destroy']();}},ModalEvents=Object['freeze']({'ADD':'modal:add','DELETE':'modal:delete','OPEN':'modal:open','CLOSE':'modal:close','CLOSE_ALL':'modal:closeAll','DESTROY':'modal:destroy'}),_0x2e06e8=class{['_modals']=new Map();['_activeModals']=new Set();['_subscribers']=new Map();['_block'];constructor(_0x3f552c){this['_block']=_0x3f552c;}['_debugPrint'](..._0x40d84a){this['_block']['debugPrint']('[modal-manager]',..._0x40d84a);}['registerModal'](_0x30e521,_0x64dd89){this['_modals']['set'](_0x30e521,_0x64dd89),this['_notify'](ModalEvents['ADD'],{'id':_0x30e521,'modal':_0x64dd89});}['deleteModal'](_0x53212f){if(!this['_modals']['has'](_0x53212f))return!0x1;const _0x1c79ec=this['_modals']['get'](_0x53212f);return this['_modals']['delete'](_0x53212f),this['_activeModals']['delete'](_0x53212f),this['_notify'](ModalEvents['DELETE'],{'id':_0x53212f,'modal':_0x1c79ec}),!0x0;}['open'](_0x3cb6af){if(!this['_modals']['has'](_0x3cb6af))return this['_debugPrint']('Modal\x20with\x20ID\x20\x22'+_0x3cb6af+'\x22\x20not\x20found'),!0x1;const _0x495127=this['_modals']['get'](_0x3cb6af);return this['_activeModals']['add'](_0x3cb6af),this['_notify'](ModalEvents['OPEN'],{'modal':_0x495127,'id':_0x3cb6af}),!0x0;}['close'](_0x5686e0){if(!this['_modals']['has'](_0x5686e0)||!this['_activeModals']['has'](_0x5686e0))return this['_debugPrint']('Modal\x20with\x20ID\x20\x22'+_0x5686e0+'\x22\x20not\x20found\x20or\x20not\x20active'),!0x1;const _0x86d69f=this['_modals']['get'](_0x5686e0);return this['_activeModals']['delete'](_0x5686e0),this['_notify'](ModalEvents['CLOSE'],{'id':_0x5686e0,'modal':_0x86d69f}),!0x0;}['toggle'](_0x59952c){return this['_modals']['has'](_0x59952c)?this['_activeModals']['has'](_0x59952c)?this['close'](_0x59952c):this['open'](_0x59952c):(this['_debugPrint']('Modal\x20with\x20ID\x20\x22'+_0x59952c+'\x22\x20not\x20found'),!0x1);}get['hasActiveModals'](){return this['_activeModals']['size']>0x0;}['back'](){if(0x0===this['_activeModals']['size'])return this['_debugPrint']('No\x20active\x20modals\x20to\x20go\x20back\x20from'),!0x1;const _0x58b972=Array['from'](this['_activeModals'])['pop']();return!!_0x58b972&&this['close'](_0x58b972);}['closeAll'](){const _0x4ad3f4=this['_activeModals']['size'];return this['_activeModals']['clear'](),this['_notify'](ModalEvents['CLOSE_ALL'],{}),_0x4ad3f4;}['subscribe'](_0x2ee1bd,_0x2300a7){return this['_subscribers']['has'](_0x2ee1bd)||this['_subscribers']['set'](_0x2ee1bd,new Set()),this['_subscribers']['get'](_0x2ee1bd)?.['add'](_0x2300a7),()=>this['unsubscribe'](_0x2ee1bd,_0x2300a7);}['unsubscribe'](_0x5ec749,_0xc4bbe5){this['_subscribers']['has'](_0x5ec749)&&this['_subscribers']['get'](_0x5ec749)?.['delete'](_0xc4bbe5);}['_notify'](_0x5c6045,_0x594010){if(this['_subscribers']['has'](_0x5c6045)){for(const _0x263b86 of this['_subscribers']['get'](_0x5c6045)??new Set())try{_0x263b86(_0x594010);}catch(_0x2f3fa3){this['_block']['telemetryManager']['sendEventError'](_0x2f3fa3,'modal\x20subscriber'),this['_debugPrint']('Error\x20in\x20modal\x20subscriber:',_0x2f3fa3);}}}['destroy'](){this['closeAll'](),this['_modals']['clear'](),this['_subscribers']['clear'](),this['_notify'](ModalEvents['DESTROY'],{});}},_0x3072d2='1.24.5',_0x1ad11e='blocks',_0x575df8=_0x3072d2,TelemetryManager=class{['_sessionId']=crypto['randomUUID']();['_telemetryInstance'];['_block'];['_config']=structuredClone(initialConfig);['_initialized']=!0x1;['_lastPayload']=null;['_queue'];constructor(_0x3a8435){this['_block']=_0x3a8435,this['_telemetryInstance']=new _0xd924de(),this['_queue']=new _0x413a32(0xa);for(const _0x30facb of Object['keys'](this['_config']))this['_block']['subConfigValue'](_0x30facb,_0x15ab4f=>{this['_initialized']&&this['_config'][_0x30facb]!==_0x15ab4f&&this['sendEvent']({'eventType':InternalEventType['CHANGE_CONFIG']}),this['_setConfig'](_0x30facb,_0x15ab4f);});}['_init'](_0x569428){_0x569428!==InternalEventType['INIT_SOLUTION']||this['_initialized']||(this['_initialized']=!0x0);}['_setConfig'](_0x3c58fc,_0x354b89){this['_config'][_0x3c58fc]!==_0x354b89&&(this['_config'][_0x3c58fc]=_0x354b89);}['_formattingPayload'](_0x21bdc1){const _0x28a607=_0x21bdc1['payload']?{..._0x21bdc1['payload']}:{};_0x28a607['activity']&&(_0x28a607['activity']=void 0x0);const _0x38f934={..._0x21bdc1};return _0x21bdc1['eventType']!==InternalEventType['INIT_SOLUTION']&&_0x21bdc1['eventType']!==InternalEventType['CHANGE_CONFIG']||(_0x38f934['config']=this['_config']),{..._0x38f934,'appVersion':_0x575df8,'appName':_0x1ad11e,'sessionId':this['_sessionId'],'component':this['_solution'],'activity':this['_activity'],'projectPubkey':this['_config']['pubkey'],'userAgent':navigator['userAgent'],'eventType':_0x38f934['eventType']??'','eventTimestamp':this['_timestamp'],'payload':{'location':this['_location'],..._0x28a607}};}['_excludedEvents'](_0x36f0be){return!(!_0x36f0be||![EventType['CHANGE'],EventType['COMMON_UPLOAD_PROGRESS'],EventType['FILE_ADDED'],EventType['FILE_REMOVED'],EventType['FILE_UPLOAD_START'],EventType['FILE_UPLOAD_PROGRESS'],EventType['FILE_UPLOAD_SUCCESS'],EventType['FILE_UPLOAD_FAILED']]['includes'](_0x36f0be));}['sendEvent'](_0x22a04d){const _0x1615fc=this['_formattingPayload']({'eventType':_0x22a04d['eventType'],'payload':_0x22a04d['payload'],'config':_0x22a04d['config']});this['_init'](_0x22a04d['eventType']);if(this['_excludedEvents'](_0x22a04d['eventType']))return;this['_lastPayload']&&this['_checkObj'](this['_lastPayload'],_0x1615fc)||this['_queue']['add'](async()=>{this['_lastPayload']=_0x1615fc,await this['_telemetryInstance']['sendEvent'](_0x1615fc);});}['sendEventError'](_0x69bab5,_0x2fc64a='unknown'){this['sendEvent']({'eventType':InternalEventType['ERROR_EVENT'],'payload':{'metadata':{'event':'error','text':'Error\x20in\x20'+_0x2fc64a,'error':_0x69bab5['message']}}});}['sendEventCloudImageEditor'](_0x20a4ae,_0x4d1cbe,_0x72d611={}){this['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'tabId':_0x4d1cbe,'node':_0x20a4ae['currentTarget']?.['tagName'],'event':_0x20a4ae['type'],..._0x72d611}}});}['_checkObj'](_0xc93215,_0x2f33fa){if(JSON['stringify'](_0xc93215)===JSON['stringify'](_0x2f33fa))return!0x0;if('object'!=typeof _0xc93215||'object'!=typeof _0x2f33fa||null==_0xc93215||null==_0x2f33fa)return!0x1;const _0x1c0f43=Object['keys'](_0xc93215),_0x37ae40=Object['keys'](_0x2f33fa);if(_0x1c0f43['length']!==_0x37ae40['length'])return!0x1;for(const _0x3922a3 of _0x1c0f43){if(!Object['hasOwn'](_0x2f33fa,_0x3922a3))return!0x1;if(!this['_checkObj'](_0xc93215[_0x3922a3],_0x2f33fa[_0x3922a3]))return!0x1;}return!0x0;}get['_timestamp'](){return Date['now']();}get['_solution'](){if(!this['_block']['has']('*solution'))return null;const _0x5ec37d=this['_block']['$']['*solution'];return _0x5ec37d?_0x5ec37d['toLowerCase']():null;}get['_activity'](){return this['_block']['has']('*currentActivity')?this['_block']['$']['*currentActivity']??null:null;}get['_location'](){return location['origin'];}},_0x1b2219=_0x2053f4=>'*cfg/'+_0x2053f4;function testModeProcessor(_0x1b1d97,_0x2ac1ef){const _0x1d3666=_0x1b1d97['querySelectorAll']('[data-testid]');if(0x0===_0x1d3666['length'])return;const _0xd33a12=new WeakMap();for(const _0x4feb0e of _0x1d3666){const _0x31332b=_0x4feb0e['getAttribute']('data-testid');_0x31332b&&_0xd33a12['set'](_0x4feb0e,_0x31332b);}_0x2ac1ef['subConfigValue']('testMode',_0x3587f2=>{if(!_0x3587f2){for(const _0xa97eaf of _0x1d3666)_0xa97eaf['removeAttribute']('data-testid');return;}const _0x1eb7bc=_0x2ac1ef['testId'];for(const _0x239617 of _0x1d3666){const _0x292dcc=_0xd33a12['get'](_0x239617);_0x292dcc&&_0x239617['setAttribute']('data-testid',_0x1eb7bc+'--'+_0x292dcc);}});}var _0x5bb133='uc-',_0x2a3fee=class extends BaseComponent{['__cfgProxy'];['l10nProcessorSubs']=new Map();static ['StateConsumerScope']=null;static ['styleAttrs']=[];['requireCtxName']=!0x1;['activityType']=null;['init$']=blockCtx();['l10n'](_0x32422d,_0x24098c={}){if(!_0x32422d)return'';const _0xe69bec=this['$'][localeStateKey(_0x32422d)]||_0x32422d,_0x4a7d98=getPluralObjects(_0xe69bec);for(const _0x49076a of _0x4a7d98)_0x24098c[_0x49076a['variable']]=this['pluralize'](_0x49076a['pluralKey'],Number(_0x24098c[_0x49076a['countVariable']]));return applyTemplateData(_0xe69bec,_0x24098c);}['pluralize'](_0x1d217c,_0x5de36b){const _0x5e8a6b=this['l10n']('locale-id')||'en',_0x25e577=getPluralForm(_0x5e8a6b,_0x5de36b);return this['l10n'](_0x1d217c+'__'+_0x25e577);}['bindL10n'](_0x401ba3,_0x1a0f44){this['localeManager']?.['bindL10n'](this,_0x401ba3,_0x1a0f44);}constructor(){super(),this['addTemplateProcessor'](_0x44b51a),this['addTemplateProcessor'](testModeProcessor);}['emit'](_0x2c1eef,_0x9519d5,_0x597dec){const _0x2e3464=this['has']('*eventEmitter')?this['$']['*eventEmitter']:void 0x0;_0x2e3464&&(_0x2e3464['emit'](_0x2c1eef,_0x9519d5,_0x597dec),this['telemetryManager']['sendEvent']({'eventType':_0x2c1eef,'payload':'function'==typeof _0x9519d5?_0x9519d5():_0x9519d5}));}['hasBlockInCtx'](_0x555755){for(const _0x107531 of this['blocksRegistry'])if(_0x555755(_0x107531))return!0x0;return!0x1;}['setOrAddState'](_0x1e7b90,_0x330514){this['add$']({[_0x1e7b90]:_0x330514},!0x0);}['connectedCallback'](){this['constructor']['styleAttrs']['forEach'](_0x1648c5=>{this['setAttribute'](_0x1648c5,'');}),this['hasAttribute']('retpl')&&(this['constructor']['template']=null,this['processInnerHtml']=!0x0),this['requireCtxName']?waitForAttribute({'element':this,'attribute':'ctx-name','onSuccess':()=>{super['connectedCallback']();},'onTimeout':()=>{console['error']('Attribute\x20`ctx-name`\x20is\x20required\x20and\x20it\x20is\x20not\x20set.');}}):super['connectedCallback'](),WindowHeightTracker['registerClient'](this);}['disconnectedCallback'](){super['disconnectedCallback'](),WindowHeightTracker['unregisterClient'](this);}['initCallback'](){this['has']('*blocksRegistry')||this['add']('*blocksRegistry',new Set()),(this['$']['*blocksRegistry']['add'](this),this['has']('*eventEmitter')||this['add']('*eventEmitter',new EventEmitter(this['debugPrint']['bind'](this))),this['has']('*localeManager')||this['add']('*localeManager',new _0x36c34d(this)),this['cfg']['qualityInsights']&&!this['has']('*telemetryManager')&&this['add']('*telemetryManager',new TelemetryManager(this)),this['has']('*a11y')||this['add']('*a11y',new _0x40671a()),this['has']('*modalManager')||this['add']('*modalManager',new _0x2e06e8(this)),this['sub'](localeStateKey('locale-id'),_0x333cf1=>{const _0xad0984=getLocaleDirection(_0x333cf1);this['style']['direction']='ltr'===_0xad0984?'':_0xad0984;}),this['subConfigValue']('testMode',_0x333ca6=>{_0x333ca6&&this['testId']?this['setAttribute']('data-testid',this['testId']):this['removeAttribute']('data-testid');}));}get['testId'](){return window['customElements']['getName'](this['constructor']);}get['modalManager'](){return this['has']('*modalManager')?this['$']['*modalManager']:void 0x0;}get['telemetryManager'](){return this['cfg']['qualityInsights']?this['has']('*telemetryManager')&&this['$']['*telemetryManager']:{'sendEvent':()=>{},'sendEventCloudImageEditor':()=>{},'sendEventError':()=>{}};}get['localeManager'](){return this['has']('*localeManager')?this['$']['*localeManager']:null;}get['a11y'](){return this['has']('*a11y')?this['$']['*a11y']:null;}get['blocksRegistry'](){return this['$']['*blocksRegistry'];}['destroyCallback'](){super['destroyCallback']();const _0x271f2c=this['blocksRegistry'];_0x271f2c?.['delete'](this),this['localeManager']?.['destroyL10nBindings'](this),this['l10nProcessorSubs']=new Map(),Data['deleteCtx'](this),0x0===_0x271f2c?.['size']&&setTimeout(()=>{this['destroyCtxCallback']();},0x0);}['destroyCtxCallback'](){Data['deleteCtx'](this['ctxName']),this['localeManager']?.['destroy'](),this['modalManager']?.['destroy']();}async['proxyUrl'](_0xf7afb6){if(this['cfg']['secureDeliveryProxy']&&this['cfg']['secureDeliveryProxyUrlResolver']&&console['warn']('Both\x20secureDeliveryProxy\x20and\x20secureDeliveryProxyUrlResolver\x20are\x20set.\x20The\x20secureDeliveryProxyUrlResolver\x20will\x20be\x20used.'),this['cfg']['secureDeliveryProxyUrlResolver'])try{return await this['cfg']['secureDeliveryProxyUrlResolver'](_0xf7afb6,{'uuid':extractUuid(_0xf7afb6),'cdnUrlModifiers':extractCdnUrlModifiers(_0xf7afb6),'fileName':extractFilename(_0xf7afb6)});}catch(_0x2649bf){return console['error']('Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.',_0x2649bf),this['telemetryManager']['sendEventError'](_0x2649bf,'secureDeliveryProxyUrlResolver.\x20Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.'),_0xf7afb6;}return this['cfg']['secureDeliveryProxy']?applyTemplateData(this['cfg']['secureDeliveryProxy'],{'previewUrl':_0xf7afb6},{'transform':_0x494293=>window['encodeURIComponent'](_0x494293)}):_0xf7afb6;}get['cfg'](){if(!this['__cfgProxy']){const _0xef433a=Object['create'](null);this['__cfgProxy']=new Proxy(_0xef433a,{'set':(_0x377a70,_0x168c00,_0x14b262)=>{if('string'!=typeof _0x168c00)return!0x1;const _0x497130=_0x1b2219(_0x168c00);return this['has'](_0x497130)||this['add'](_0x497130,initialConfig[_0x168c00]),this['$'][_0x497130]=_0x14b262,!0x0;},'get':(_0x45a3ae,_0x250ce2)=>{const _0x29231f=_0x1b2219(_0x250ce2);return this['has'](_0x29231f)||this['add'](_0x29231f,initialConfig[_0x250ce2]),this['$'][_0x1b2219(_0x250ce2)];}});}return this['__cfgProxy'];}['subConfigValue'](_0x57cbc4,_0xd04f8e){const _0x34e095=_0x1b2219(_0x57cbc4);this['has'](_0x34e095)||this['add'](_0x34e095,initialConfig[_0x57cbc4]),this['sub'](_0x34e095,_0xd04f8e);}['debugPrint'](..._0x3e8c6b){if(!this['cfg']['debug'])return;let _0x57ec72=_0x3e8c6b;'function'==typeof _0x3e8c6b?.[0x0]&&(_0x57ec72=(0x0,_0x3e8c6b[0x0])()),console['log']('['+this['ctxName']+']',..._0x57ec72);}static['reg'](_0x5a7cbc){_0x5a7cbc?_0x5a7cbc['startsWith'](_0x5bb133)&&super['reg'](_0x5a7cbc):super['reg']();}},_0x218b2b='active',_0x4a9632='___ACTIVITY_IS_ACTIVE___',ActivityBlock=class _0x3b560a extends _0x2a3fee{['historyTracked']=!0x1;[_0x4a9632];['init$']=activityBlockCtx(this);['_debouncedHistoryFlush']=_0x491199(this['_historyFlush']['bind'](this),0xa);['_deactivate'](){const _0x24705c=_0x3b560a['_activityCallbacks']['get'](this);this[_0x4a9632]=!0x1,this['removeAttribute'](_0x218b2b),_0x24705c?.['deactivateCallback']?.();}['_activate'](){const _0x8de334=_0x3b560a['_activityCallbacks']['get'](this);this['$']['*historyBack']=this['historyBack']['bind'](this),this[_0x4a9632]=!0x0,this['setAttribute'](_0x218b2b,''),_0x8de334?.['activateCallback']?.(),this['_debouncedHistoryFlush'](),this['emit'](EventType['ACTIVITY_CHANGE'],{'activity':this['activityType']});}['initCallback'](){super['initCallback'](),this['activityType']&&(this['hasAttribute']('activity')||this['setAttribute']('activity',this['activityType']),this['sub']('*currentActivity',_0x452c6a=>{try{this['activityType']!==_0x452c6a&&this[_0x4a9632]?this['_deactivate']():this['activityType']!==_0x452c6a||this[_0x4a9632]||this['_activate']();}catch(_0x3465f1){this['telemetryManager']['sendEventError'](_0x3465f1,'activity\x20\x22'+this['activityType']+'\x22'),console['error']('Error\x20in\x20activity\x20\x22'+this['activityType']+'\x22.\x20',_0x3465f1),this['$']['*currentActivity']=this['$']['*history'][this['$']['*history']['length']-0x1]??null;}_0x452c6a||(this['$']['*history']=[]);}));}['_historyFlush'](){let _0x30bb7a=this['$']['*history'];_0x30bb7a&&(_0x30bb7a['length']>0xa&&(_0x30bb7a=_0x30bb7a['slice'](_0x30bb7a['length']-0xb,_0x30bb7a['length']-0x1)),this['historyTracked']&&_0x30bb7a[_0x30bb7a['length']-0x1]!==this['activityType']&&_0x30bb7a['push'](this['activityType']),this['$']['*history']=_0x30bb7a);}['_isActivityRegistered'](){return!!this['activityType']&&_0x3b560a['_activityCallbacks']['has'](this);}static ['_activityCallbacks']=new Map();static ['activities'];get['isActivityActive'](){return!!this[_0x4a9632];}get['couldOpenActivity'](){return!0x0;}['registerActivity'](_0x4e0200,_0x2ed389={}){const {onActivate:_0x462412,onDeactivate:_0x114be3}=_0x2ed389;_0x3b560a['_activityCallbacks']['set'](this,{'activateCallback':_0x462412,'deactivateCallback':_0x114be3});}['unregisterActivity'](){this['isActivityActive']&&this['_deactivate'](),_0x3b560a['_activityCallbacks']['delete'](this);}['destroyCallback'](){super['destroyCallback'](),this['_isActivityRegistered']()&&this['unregisterActivity']();const _0x4acf39=this['$']['*currentActivity'];!![...this['blocksRegistry']]['find'](_0x4850ad=>_0x4850ad instanceof _0x3b560a&&_0x4850ad['activityType']===_0x4acf39)||(this['$']['*currentActivity']=null,this['modalManager']?.['closeAll']());}get['activityKey'](){return this['ctxName']+this['activityType'];}get['activityParams'](){return this['$']['*currentActivityParams'];}get['initActivity'](){return this['getCssData']('--cfg-init-activity');}get['doneActivity'](){return this['getCssData']('--cfg-done-activity');}['historyBack'](){const _0x254cc3=this['$']['*history'];if(_0x254cc3){let _0x564b95=_0x254cc3['pop']();for(;_0x564b95===this['activityType'];)_0x564b95=_0x254cc3['pop']();let _0x391862=!!_0x564b95;if(_0x564b95){const _0x350463=[...this['blocksRegistry']]['find'](_0x5cf44a=>_0x5cf44a['activityType']===_0x564b95);_0x391862=_0x350463?.['couldOpenActivity']??!0x1;}_0x564b95=_0x391862?_0x564b95:void 0x0,_0x564b95&&this['modalManager']?.['open'](_0x564b95),this['$']['*currentActivity']=_0x564b95,this['$']['*history']=_0x254cc3,_0x564b95||this['modalManager']?.['closeAll']();}}};function defineComponents(_0x2e3c9c){for(const _0x3ef68e in _0x2e3c9c){let _0x189d06=[..._0x3ef68e]['reduce']((_0x5e0399,_0x3fbe96)=>(_0x3fbe96['toUpperCase']()===_0x3fbe96&&(_0x3fbe96='-'+_0x3fbe96['toLowerCase']()),_0x5e0399+=_0x3fbe96),'');_0x189d06['startsWith']('-')&&(_0x189d06=_0x189d06['replace']('-','')),_0x189d06['startsWith']('uc-')||(_0x189d06='uc-'+_0x189d06),_0x2e3c9c[_0x3ef68e]['reg']&&_0x2e3c9c[_0x3ef68e]['reg'](_0x189d06);}}ActivityBlock['activities']=Object['freeze']({'START_FROM':'start-from','CAMERA':'camera','DRAW':'draw','UPLOAD_LIST':'upload-list','URL':'url','CLOUD_IMG_EDIT':'cloud-image-edit','EXTERNAL':'external'});var _0x272d0a='UC';function _0x273ef3(_0x1b62dd,_0x360f59=!0x1){return new Promise((_0x2d5ce7,_0xbe8acf)=>{if('object'!=typeof document)return void _0x2d5ce7(null);if('object'==typeof window&&window[_0x272d0a])return void _0x2d5ce7(window[_0x272d0a]);const _0x57701f=document['createElement']('script');_0x57701f['async']=!0x0,_0x57701f['src']=_0x1b62dd,_0x57701f['onerror']=()=>{_0xbe8acf();},_0x57701f['onload']=()=>{const _0x19508e=window[_0x272d0a];_0x360f59&&defineComponents(_0x19508e),_0x2d5ce7(_0x19508e);},document['head']['appendChild'](_0x57701f);});}var svg_sprite_default='<svg\x20width=\x270\x27\x20height=\x270\x27\x20style=\x27position:absolute\x27><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-about\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M11.152\x2014.12v.1h1.523v-.1c.007-.409.053-.752.138-1.028.086-.277.22-.517.405-.72.188-.202.434-.397.735-.586.32-.191.593-.412.82-.66.232-.249.41-.531.533-.847.125-.32.187-.678.187-1.076\x200-.579-.137-1.085-.41-1.518a2.717\x202.717\x200\x200\x200-1.14-1.018c-.49-.245-1.062-.367-1.715-.367-.597\x200-1.142.114-1.636.34-.49.228-.884.564-1.182\x201.008-.299.44-.46.98-.485\x201.619h1.62c.024-.377.118-.684.282-.922a1.48\x201.48\x200\x200\x201\x20.617-.532c.25-.114.51-.17.784-.17.301\x200\x20.575.063.82.191.248.124.447.302.597.533.149.23.223.504.223.82\x200\x20.263-.05.502-.149.72a1.91\x201.91\x200\x200\x201-.405.574\x203.48\x203.48\x200\x200\x201-.575.453\x204.22\x204.22\x200\x200\x200-.847.66c-.234.242-.415.558-.543.949-.125.39-.19.916-.197\x201.577Zm.053\x203.03c.21.206.46.31.75.31.196\x200\x20.374-.049.534-.144a1.1\x201.1\x200\x200\x200\x20.383-.384c.1-.163.15-.343.15-.538a1\x201\x200\x200\x200-.32-.746\x201.019\x201.019\x200\x200\x200-.746-.314c-.291\x200-.542.105-.751.314-.21.206-.314.455-.314.746\x200\x20.295.104.547.314.756ZM24\x2012c0\x206.627-5.373\x2012-12\x2012S0\x2018.627\x200\x2012\x205.373\x200\x2012\x200s12\x205.373\x2012\x2012Zm-1.5\x200c0\x205.799-4.701\x2010.5-10.5\x2010.5S1.5\x2017.799\x201.5\x2012\x206.201\x201.5\x2012\x201.5\x2022.5\x206.201\x2022.5\x2012Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-add\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M12.75\x2021a.75.75\x200\x200\x201-1.5\x200v-8.25H3a.75.75\x200\x200\x201\x200-1.5h8.25V3a.75.75\x200\x200\x201\x201.5\x200v8.25H21a.75.75\x200\x200\x201\x200\x201.5h-8.25V21Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-arrow-down\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M11.5\x2023.03a.75.75\x200\x200\x200\x20.999\x200l9.29-8.276a.75.75\x200\x200\x200-.998-1.12l-8.042\x207.164V1.53a.75.75\x200\x200\x200-1.5\x200v19.267l-8.04-7.163a.75.75\x200\x200\x200-.998\x201.12z\x27/></symbol><symbol\x20fill=\x27none\x27\x20viewBox=\x270\x200\x209\x206\x27\x20id=\x27uc-icon-arrow-dropdown\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke=\x27currentColor\x27\x20d=\x27m1.5\x201.667\x203\x202.666\x203-2.666\x27\x20opacity=\x27.5\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-aspect-ratio\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke=\x27currentColor\x27\x20d=\x27M7.395\x2022.5H2.454v-5.25m14.824\x205.25h4.94v-5.25m0-10.5V1.5h-4.94m-9.883\x200H2.454v5.25\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-back\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M20.251\x2012a.75.75\x200\x200\x201-.75.75H6.067l5.72\x205.85a.75.75\x200\x201\x201-1.072\x201.05L4.136\x2012.92a1.292\x201.292\x200\x200\x201\x200-1.842l6.579-6.728a.75.75\x200\x201\x201\x201.072\x201.048l-5.72\x205.851H19.5a.75.75\x200\x200\x201\x20.75.75Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-badge-error\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M13.6\x2018.4a1.6\x201.6\x200\x201\x201-3.2\x200\x201.6\x201.6\x200\x200\x201\x203.2\x200zM12\x204.5A1.5\x201.5\x200\x200\x201\x2013.5\x206v7a1.5\x201.5\x200\x200\x201-3\x200V6A1.5\x201.5\x200\x200\x201\x2012\x204.5z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-badge-success\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27m10.5\x2018.204\x207.6-8.183a1.5\x201.5\x200\x200\x200-2.2-2.042l-5.4\x205.817-2.4-2.586a1.5\x201.5\x200\x201\x200-2.2\x202.041l4.6\x204.953Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-box\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M1.01\x204.148a.75.75\x200\x200\x201\x20.75.75v4.348a4.437\x204.437\x200\x200\x201\x202.988-1.153c1.734\x200\x203.23.992\x203.978\x202.438a4.478\x204.478\x200\x200\x201\x203.978-2.438c2.49\x200\x204.488\x202.044\x204.488\x204.543\x200\x202.5-1.999\x204.544-4.488\x204.544a4.478\x204.478\x200\x200\x201-3.978-2.438\x204.478\x204.478\x200\x200\x201-3.978\x202.438C2.26\x2017.18.26\x2015.135.26\x2012.636V4.898a.75.75\x200\x200\x201\x20.75-.75Zm.75\x208.488c0\x201.692\x201.348\x203.044\x202.988\x203.044s2.989-1.352\x202.989-3.044c0-1.691-1.349-3.043-2.989-3.043S1.76\x2010.945\x201.76\x2012.636Zm10.944-3.043c-1.64\x200-2.988\x201.352-2.988\x203.043\x200\x201.692\x201.348\x203.044\x202.988\x203.044s2.988-1.352\x202.988-3.044c0-1.69-1.348-3.043-2.988-3.043Zm4.328-1.23a.75.75\x200\x200\x201\x201.052.128l2.333\x202.983\x202.333-2.983a.75.75\x200\x200\x201\x201.181.924l-2.562\x203.277\x202.562\x203.276a.75.75\x200\x201\x201-1.181.924l-2.333-2.983-2.333\x202.983a.75.75\x200\x201\x201-1.181-.924l2.562-3.276-2.562-3.277a.75.75\x200\x200\x201\x20.129-1.052Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-camera\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M7.65\x202.55a.75.75\x200\x200\x201\x20.6-.3h7.5a.75.75\x200\x200\x201\x20.6.3l2.025\x202.7H21a3\x203\x200\x200\x201\x203\x203v10.5a3\x203\x200\x200\x201-3\x203H3a3\x203\x200\x200\x201-3-3V8.25a3\x203\x200\x200\x201\x203-3h2.625zm.975\x201.2L6.6\x206.45a.75.75\x200\x200\x201-.6.3H3a1.5\x201.5\x200\x200\x200-1.5\x201.5v10.5a1.5\x201.5\x200\x200\x200\x201.5\x201.5h18a1.5\x201.5\x200\x200\x200\x201.5-1.5V8.25a1.5\x201.5\x200\x200\x200-1.5-1.5h-3a.75.75\x200\x200\x201-.6-.3l-2.025-2.7zm3.375\x206a3.375\x203.375\x200\x201\x200\x200\x206.75\x203.375\x203.375\x200\x200\x200\x200-6.75zm-4.875\x203.375a4.875\x204.875\x200\x201\x201\x209.75\x200\x204.875\x204.875\x200\x200\x201-9.75\x200z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-camera-full\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill-rule=\x27evenodd\x27\x20clip-rule=\x27evenodd\x27\x20d=\x27M2\x204.667a2\x202\x200\x200\x200-2\x202V16a2\x202\x200\x200\x200\x202\x202h16a2\x202\x200\x200\x200\x202-2V6.667a2\x202\x200\x200\x200-2-2h-2.667l-2-2.667H6.667l-2\x202.667H2Zm8\x2010a3.667\x203.667\x200\x201\x200\x200-7.334\x203.667\x203.667\x200\x200\x200\x200\x207.334Z\x27\x20fill=\x27currentColor\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-close\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M4.604\x204.604a.75.75\x200\x200\x201\x201.06\x200L12\x2010.939l6.335-6.335a.75.75\x200\x201\x201\x201.061\x201.06L13.061\x2012l6.335\x206.335a.75.75\x200\x201\x201-1.06\x201.061L12\x2013.061l-6.335\x206.335a.75.75\x200\x200\x201-1.061-1.06L10.939\x2012\x204.604\x205.665a.75.75\x200\x200\x201\x200-1.061z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-collapse\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M3.116\x2012a.75.75\x200\x200\x201\x20.75-.75h16.268a.75.75\x200\x200\x201\x200\x201.5H3.866a.75.75\x200\x200\x201-.75-.75Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-default\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M11.501.392a.75.75\x200\x200\x201\x20.998\x200l6.704\x205.972a.75.75\x200\x200\x201-.998\x201.12l-5.455-4.86v13.439a.75.75\x200\x200\x201-1.5\x200V2.625l-5.454\x204.86a.75.75\x200\x201\x201-.998-1.12zM.857\x2016.73a.75.75\x200\x200\x201\x20.75.75v4.914h20.786v-4.914a.75.75\x200\x200\x201\x201.5\x200v5.664a.75.75\x200\x200\x201-.75.75H.857a.75.75\x200\x200\x201-.75-.75v-5.664a.75.75\x200\x200\x201\x20.75-.75z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-dropbox\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M6.019\x201.92a.75.75\x200\x200\x201\x20.806\x200L12\x205.219l5.176-3.297a.75.75\x200\x200\x201\x20.806\x200l5.577\x203.553a.75.75\x200\x200\x201\x200\x201.265l-4.574\x202.914\x204.574\x202.914a.75.75\x200\x200\x201\x200\x201.265l-5.577\x203.554a.75.75\x200\x200\x201-.806\x200L12\x2014.089l-5.175\x203.297a.75.75\x200\x200\x201-.806\x200L.44\x2013.833a.75.75\x200\x200\x201\x200-1.266l4.575-2.914L.44\x206.74a.75.75\x200\x200\x201\x200-1.265zm.403\x208.616L2.24\x2013.2l4.182\x202.664\x204.181-2.664zm6.975\x202.664\x204.182\x202.664L21.76\x2013.2l-4.181-2.664zm2.776-3.547L12\x2012.311\x207.828\x209.653\x2012\x206.995zm1.406-.882\x204.181-2.664-4.181-2.664-4.182\x202.664zm-6.976-2.664L6.422\x203.443\x202.24\x206.107\x206.422\x208.77zM5.791\x2018.544a.75.75\x200\x200\x201\x201.035-.23l5.175\x203.297\x205.175-3.297a.75.75\x200\x201\x201\x20.806\x201.265l-5.578\x203.554a.75.75\x200\x200\x201-.806\x200L6.02\x2019.579a.75.75\x200\x200\x201-.23-1.035z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-edit-file\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M18.558\x202.804a.78.78\x200\x200\x200-.557.235l-.008.007-2.472\x202.46\x203.847\x203.848\x202.46-2.473.004-.003a.78.78\x200\x200\x200\x200-1.108l-.004-.003-2.712-2.728a.78.78\x200\x200\x200-.558-.235Zm-.248\x207.613-3.852-3.852-8.93\x208.887-1.516\x205.41\x205.41-1.515\x208.888-8.93Zm-.636-8.934a2.28\x202.28\x200\x200\x201\x202.512.505l2.702\x202.717.002.002a2.278\x202.278\x200\x200\x201\x200\x203.234l-.002.002-12.541\x2012.602a.75.75\x200\x200\x201-.33.193l-6.884\x201.928a.75.75\x200\x200\x201-.925-.924l1.928-6.885a.75.75\x200\x200\x201\x20.193-.33l12.603-12.54a2.28\x202.28\x200\x200\x201\x20.742-.504Z\x27\x20clip-rule=\x27evenodd\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-error\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M13\x2013h-2V7h2m0\x2010h-2v-2h2M12\x202A10\x2010\x200\x200\x200\x202\x2012a10\x2010\x200\x200\x200\x2010\x2010\x2010\x2010\x200\x200\x200\x2010-10A10\x2010\x200\x200\x200\x2012\x202Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-evernote\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M9.804\x202.27v-.048c.055-.263.313-.562.85-.562h.44c.142\x200\x20.325.014.526.033.066.009.124.023.267.06l.13.032h.002c.319.079.515.275.644.482a1.461\x201.461\x200\x200\x201\x20.16.356l.004.012a.75.75\x200\x200\x200\x20.603.577l1.191.207a1988.512\x201988.512\x200\x200\x200\x202.332.402c.512.083\x201.1.178\x201.665.442.64.3\x201.19.795\x201.376\x201.77.548\x202.931.657\x205.829.621\x208a39.233\x2039.233\x200\x200\x201-.125\x202.602\x2017.518\x2017.518\x200\x200\x201-.092.849.735.735\x200\x200\x200-.024.112c-.378\x202.705-1.269\x203.796-2.04\x204.27-.746.457-1.53.451-2.217.447h-.192c-.46\x200-1.073-.23-1.581-.635-.518-.412-.763-.87-.763-1.217\x200-.45.188-.688.355-.786.161-.095.436-.137.796.087a.75.75\x200\x201\x200\x20.792-1.274c-.766-.476-1.64-.52-2.345-.108-.7.409-1.098\x201.188-1.098\x202.08\x200\x20.996.634\x201.84\x201.329\x202.392.704.56\x201.638.96\x202.515.96l.185.002c.667.009\x201.874.025\x203.007-.67\x201.283-.786\x202.314-2.358\x202.733-5.276a4.213\x204.213\x200\x200\x200\x20.056-.335c.023-.184.051-.445.079-.772.055-.655.111-1.585.13-2.704.037-2.234-.074-5.239-.647-8.301v-.002c-.294-1.544-1.233-2.391-2.215-2.85-.777-.363-1.623-.496-2.129-.576a8.872\x208.872\x200\x200\x201-.25-.041l-.006-.001-1.99-.345-.761-.132a2.93\x202.93\x200\x200\x200-.182-.338A2.532\x202.532\x200\x200\x200\x2012.379.329l-.091-.023a3.967\x203.967\x200\x200\x200-.493-.103L11.769.2a7.846\x207.846\x200\x200\x200-.675-.04h-.44c-.733\x200-1.368.284-1.795.742L2.416\x207.431c-.468.428-.751\x201.071-.751\x201.81\x200\x20.02\x200\x20.041.003.062l.003.034c.017.21.038.468.096.796.107.715.275\x201.47.391\x201.994.029.13.055.245.075.342l.002.008c.258\x201.141.641\x201.94.978\x202.466.168.263.323.456.444.589a2.808\x202.808\x200\x200\x200\x20.192.194c1.536\x201.562\x203.713\x202.196\x205.731\x202.08.13-.005.35-.032.537-.073a2.627\x202.627\x200\x200\x200\x20.652-.24c.425-.26.75-.661.992-1.046.184-.294.342-.61.473-.915a3.8\x203.8\x200\x200\x200\x20.627.493\x205.022\x205.022\x200\x200\x200\x201.97.709l.023.002.018.003.11.016c.088.014.205.035.325.058l.056.014c.088.022.164.04.235.061a1.736\x201.736\x200\x200\x201\x20.145.048l.03.014c.765.34\x201.302\x201.09\x201.302\x201.871a.75.75\x200\x200\x200\x201.5\x200c0-1.456-.964-2.69-2.18-3.235a3.595\x203.595\x200\x200\x200-.679-.217l-.063-.015a10.616\x2010.616\x200\x200\x200-.606-.105l-.02-.003-.03-.003h-.002a3.542\x203.542\x200\x200\x201-1.331-.485c-.471-.298-.788-.692-.828-1.234a.75.75\x200\x200\x200-1.48-.106l-.001.003-.004.017a8.23\x208.23\x200\x200\x201-.092.352\x209.963\x209.963\x200\x200\x201-.298.892c-.132.34-.29.68-.47.966-.174.276-.339.454-.478.549a1.178\x201.178\x200\x200\x201-.221.072\x201.949\x201.949\x200\x200\x201-.241.036h-.013l-.032.002c-1.684.1-3.423-.437-4.604-1.65a.746.746\x200\x200\x200-.053-.05L4.84\x2014.6a1.348\x201.348\x200\x200\x201-.07-.073\x202.99\x202.99\x200\x200\x201-.293-.392c-.242-.379-.558-1.014-.778-1.985a54.1\x2054.1\x200\x200\x200-.083-.376\x2027.494\x2027.494\x200\x200\x201-.367-1.872l-.003-.02a6.791\x206.791\x200\x200\x201-.08-.67c.004-.277.086-.475.2-.609l.067-.067a.63.63\x200\x200\x201\x20.292-.145h.05c.18\x200\x201.095.055\x202.013.115l1.207.08.534.037a.747.747\x200\x200\x200\x20.052.002c.782\x200\x201.349-.206\x201.759-.585l.005-.005c.553-.52.622-1.225.622-1.76V6.24l-.026-.565A774.97\x20774.97\x200\x200\x201\x209.885\x204.4c-.042-.961-.081-1.939-.081-2.13ZM4.995\x206.953a251.126\x20251.126\x200\x200\x201\x202.102.137l.508.035c.48-.004.646-.122.715-.185.07-.068.146-.209.147-.649l-.024-.548a791.69\x20791.69\x200\x200\x201-.095-2.187L4.995\x206.953Zm16.122\x209.996Zm-5.479-5.323a.75.75\x200\x200\x200\x201.014.31\x202.04\x202.04\x200\x200\x201\x20.304-.089\x201.84\x201.84\x200\x200\x201\x20.544-.039c.215.023.321.06.37.085.033.016.039.026.047.04a.75.75\x200\x200\x200\x201.289-.767c-.337-.567-.906-.783-1.552-.85a3.334\x203.334\x200\x200\x200-1.002.062c-.27.056-.531.14-.705.234a.75.75\x200\x200\x200-.31\x201.014Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-expand\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27m12\x208.337-8.47\x208.47a.75.75\x200\x200\x201-1.06-1.06l8.605-8.606a1.29\x201.29\x200\x200\x201\x201.85\x200l8.605\x208.605a.75.75\x200\x201\x201-1.06\x201.06L12\x208.338Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-external-source-placeholder\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M6.341\x203.27a10.5\x2010.5\x200\x200\x201\x205.834-1.77.75.75\x200\x200\x200\x200-1.5\x2012\x2012\x200\x201\x200\x2012\x2012\x20.75.75\x200\x200\x200-1.5\x200A10.5\x2010.5\x200\x201\x201\x206.34\x203.27Zm14.145\x201.48a.75.75\x200\x201\x200-1.06-1.062L9.925\x2013.19V7.95a.75.75\x200\x201\x200-1.5\x200V15c0\x20.414.336.75.75.75h7.05a.75.75\x200\x200\x200\x200-1.5h-5.24l9.501-9.5Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-facebook\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M12\x201.5C6.201\x201.5\x201.5\x206.201\x201.5\x2012c0\x204.943\x203.416\x209.089\x208.016\x2010.204v-6.108H7.383a.75.75\x200\x200\x201-.75-.75v-3.281a.75.75\x200\x200\x201\x20.75-.75h2.133V9.393c0-.958.225-2.511\x201.38-3.65\x201.194-1.177\x203.174-1.718\x206.254-1.056a.75.75\x200\x200\x201\x20.592.733v2.754a.75.75\x200\x200\x201-.75.75c-.692\x200-1.203.026-1.584.082-.387.057-.578.137-.675.202-.109.073-.237.205-.237\x201.029v1.078h2.39a.75.75\x200\x200\x201\x20.742.866l-.516\x203.281a.75.75\x200\x200\x201-.74.634h-1.876v6.106C19.09\x2021.082\x2022.5\x2016.939\x2022.5\x2012c0-5.799-4.701-10.5-10.5-10.5zM0\x2012C0\x205.373\x205.373\x200\x2012\x200s12\x205.373\x2012\x2012c0\x205.995-4.395\x2010.961-10.138\x2011.856a.75.75\x200\x200\x201-.866-.74v-7.77a.75.75\x200\x200\x201\x20.75-.75h1.984l.28-1.781h-2.264a.75.75\x200\x200\x201-.75-.75v-1.828c0-.829.089-1.729.9-2.274.363-.244.807-.37\x201.293-.441a9.623\x209.623\x200\x200\x201\x201.053-.086V6.04c-2.41-.405-3.645.132-4.293.771-.737.728-.933\x201.793-.933\x202.582v2.672a.75.75\x200\x200\x201-.75.75H8.133v1.78h2.133a.75.75\x200\x200\x201\x20.75.75v7.772a.75.75\x200\x200\x201-.865.741C4.4\x2022.968\x200\x2018\x200\x2012z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-file\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M2.895\x201.201c0-.473.383-.857.857-.857h8.4c.227\x200\x20.445.09.606.251l8.4\x208.4c.16.16.25.379.25.606v13.2a.857.857\x200\x200\x201-.856.857h-16.8a.857.857\x200\x200\x201-.857-.857zm1.714.857v19.886h15.085V10.458h-7.542a.857.857\x200\x200\x201-.858-.857V2.058zm8.4\x201.213\x205.473\x205.473H13.01z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-flickr\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M5.959\x207.926c-2.298\x200-4.14\x201.834-4.14\x204.073\x200\x202.241\x201.842\x204.075\x204.14\x204.075\x202.302\x200\x204.145-1.834\x204.145-4.075\x200-2.238-1.843-4.073-4.145-4.073Zm-5.64\x204.073c0-3.086\x202.533-5.573\x205.64-5.573\x203.11\x200\x205.645\x202.486\x205.645\x205.573\x200\x203.089-2.535\x205.575-5.645\x205.575-3.107\x200-5.64-2.487-5.64-5.575Zm18.07-4.073c-2.301\x200-4.144\x201.835-4.144\x204.073\x200\x202.24\x201.843\x204.075\x204.145\x204.075\x202.299\x200\x204.141-1.834\x204.141-4.075\x200-2.239-1.842-4.073-4.141-4.073Zm-5.644\x204.073c0-3.087\x202.535-5.573\x205.645-5.573\x203.108\x200\x205.641\x202.487\x205.641\x205.573\x200\x203.088-2.533\x205.575-5.641\x205.575-3.11\x200-5.645-2.486-5.645-5.575Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-gdrive\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M7.736\x201.818a.75.75\x200\x200\x201\x20.647-.37h7.587a.75.75\x200\x200\x201\x20.655.383l7.233\x2012.946a.75.75\x200\x200\x201-.003.737l-3.794\x206.66a.75.75\x200\x200\x201-.651.378H4.59a.75.75\x200\x200\x201-.651-.378l-3.794-6.66a.75.75\x200\x200\x201\x20.005-.75zm.64\x201.876L1.663\x2015.148l2.93\x205.145\x206.655-11.581zm3.736\x206.526-2.398\x204.173H14.5zm4.116\x204.173h5.697L15.53\x202.947H9.677zm5.685\x201.5H8.852l-2.966\x205.16h13.088z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-gphotos\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M12.51\x200c-.702\x200-1.272.57-1.272\x201.273V7.35A6.381\x206.381\x200\x200\x200\x200\x2011.489c0\x20.703.57\x201.273\x201.273\x201.273H7.35A6.381\x206.381\x200\x200\x200\x2011.488\x2024c.704\x200\x201.274-.57\x201.274-1.273V16.65A6.381\x206.381\x200\x200\x200\x2024\x2012.51c0-.703-.57-1.273-1.273-1.273H16.65A6.381\x206.381\x200\x200\x200\x2012.511\x200Zm.252\x2011.232V1.53a4.857\x204.857\x200\x200\x201\x200\x209.702Zm-1.53.006H1.53a4.857\x204.857\x200\x200\x201\x209.702\x200Zm1.536\x201.524a4.857\x204.857\x200\x200\x200\x209.702\x200h-9.702Zm-6.136\x204.857c0-2.598\x202.04-4.72\x204.606-4.85v9.7a4.857\x204.857\x200\x200\x201-4.606-4.85Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-huddle\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M6.204\x202.002c-.252.23-.357.486-.357.67V21.07c0\x20.15.084.505.313.812.208.28.499.477.929.477.519\x200\x20.796-.174.956-.365.178-.212.286-.535.286-.924v-.013l.117-6.58c.004-1.725\x201.419-3.883\x203.867-3.883\x201.33\x200\x202.332.581\x202.987\x201.364.637.762.95\x201.717.95\x202.526v6.47c0\x20.392.11.751.305.995.175.22.468.41\x201.008.41.52\x200\x20.816-.198\x201.002-.437.207-.266.31-.633.31-.969V14.04c0-2.81-1.943-5.108-4.136-5.422a5.971\x205.971\x200\x200\x200-3.183.41c-.912.393-1.538.96-1.81\x201.489a.75.75\x200\x200\x201-1.417-.344v-7.5c0-.587-.47-1.031-1.242-1.031-.315\x200-.638.136-.885.36ZM5.194.892A2.844\x202.844\x200\x200\x201\x207.09.142c1.328\x200\x202.742.867\x202.742\x202.53v5.607a6.358\x206.358\x200\x200\x201\x201.133-.629\x207.47\x207.47\x200\x200\x201\x203.989-.516c3.056.436\x205.425\x203.482\x205.425\x206.906v6.914c0\x20.602-.177\x201.313-.627\x201.89-.47.605-1.204\x201.016-2.186\x201.016-.96\x200-1.698-.37-2.179-.973-.46-.575-.633-1.294-.633-1.933v-6.469c0-.456-.19-1.071-.602-1.563-.394-.471-.986-.827-1.836-.827-1.447\x200-2.367\x201.304-2.367\x202.39v.014l-.117\x206.58c-.001.64-.177\x201.333-.637\x201.881-.48.57-1.2.9-2.105.9-.995\x200-1.7-.5-2.132-1.081-.41-.552-.61-1.217-.61-1.708V2.672c0-.707.366-1.341.847-1.78Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-info\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M11\x209h2V7h-2m1\x2013c-4.41\x200-8-3.59-8-8s3.59-8\x208-8\x208\x203.59\x208\x208-3.59\x208-8\x208m0-18A10\x2010\x200\x200\x200\x202\x2012a10\x2010\x200\x200\x200\x2010\x2010\x2010\x2010\x200\x200\x200\x2010-10A10\x2010\x200\x200\x200\x2012\x202m-1\x2015h2v-6h-2v6Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-local\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M3\x203.75a1.5\x201.5\x200\x200\x200-1.5\x201.5v13.5a1.5\x201.5\x200\x200\x200\x201.5\x201.5h18a1.5\x201.5\x200\x200\x200\x201.5-1.5V9A1.5\x201.5\x200\x200\x200\x2021\x207.5h-9a.75.75\x200\x200\x201-.643-.364L9.325\x203.75zm-3\x201.5a3\x203\x200\x200\x201\x203-3h6.75a.75.75\x200\x200\x201\x20.643.364L12.425\x206H21a3\x203\x200\x200\x201\x203\x203v9.75a3\x203\x200\x200\x201-3\x203H3a3\x203\x200\x200\x201-3-3z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-microphone\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20clip-rule=\x27evenodd\x27\x20d=\x27M7.5\x204.781a4.5\x204.5\x200\x200\x201\x209\x200v6.469a4.5\x204.5\x200\x201\x201-9\x200V4.781Zm4.5-3a3\x203\x200\x200\x200-3\x203v6.469a3\x203\x200\x201\x200\x206\x200V4.781a3\x203\x200\x200\x200-3-3Zm-8.156\x208.11a.75.75\x200\x200\x201\x20.75.75\x207.406\x207.406\x200\x201\x200\x2014.812\x200\x20.75.75\x200\x200\x201\x201.5\x200\x208.907\x208.907\x200\x200\x201-8.156\x208.875v2.703h3.258a.75.75\x200\x201\x201\x200\x201.5H7.992a.75.75\x200\x200\x201\x200-1.5h3.258v-2.703a8.907\x208.907\x200\x200\x201-8.156-8.875.75.75\x200\x200\x201\x20.75-.75Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-microphone-mute\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20clip-rule=\x27evenodd\x27\x20d=\x27M7.5\x204.781a4.5\x204.5\x200\x200\x201\x209\x200V6l3.524-3.524a.75.75\x200\x201\x201\x201.061\x201.06L5.036\x2019.585a.75.75\x200\x200\x201-1.06-1.06l1.656-1.657a8.88\x208.88\x200\x200\x201-2.538-6.227.75.75\x200\x200\x201\x201.5\x200c0\x202.009.8\x203.83\x202.1\x205.166l1.771-1.772A4.483\x204.483\x200\x200\x201\x207.5\x2011.25V4.781Zm2.037\x208.182L15\x207.5V4.781a3\x203\x200\x201\x200-6\x200v6.469c0\x20.637.198\x201.227.537\x201.713Zm10.62-3.072a.75.75\x200\x200\x201\x20.75.75\x208.907\x208.907\x200\x200\x201-8.157\x208.875v2.703h3.258a.75.75\x200\x201\x201\x200\x201.5H7.992a.75.75\x200\x200\x201\x200-1.5h3.258v-2.703a8.855\x208.855\x200\x200\x201-3.035-.811.75.75\x200\x201\x201\x20.638-1.358\x207.406\x207.406\x200\x200\x200\x2010.553-6.707.75.75\x200\x200\x201\x20.75-.75ZM15\x2010.81a.75.75\x200\x200\x201\x201.5\x200v.439a4.5\x204.5\x200\x200\x201-5\x204.473.75.75\x200\x201\x201\x20.166-1.491A3\x203\x200\x200\x200\x2015\x2011.25v-.44Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-mobile-photo-camera\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M7.65\x202.55a.75.75\x200\x200\x201\x20.6-.3h7.5a.75.75\x200\x200\x201\x20.6.3l2.025\x202.7H21a3\x203\x200\x200\x201\x203\x203v10.5a3\x203\x200\x200\x201-3\x203H3a3\x203\x200\x200\x201-3-3V8.25a3\x203\x200\x200\x201\x203-3h2.625zm.975\x201.2L6.6\x206.45a.75.75\x200\x200\x201-.6.3H3a1.5\x201.5\x200\x200\x200-1.5\x201.5v10.5a1.5\x201.5\x200\x200\x200\x201.5\x201.5h18a1.5\x201.5\x200\x200\x200\x201.5-1.5V8.25a1.5\x201.5\x200\x200\x200-1.5-1.5h-3a.75.75\x200\x200\x201-.6-.3l-2.025-2.7zm3.375\x206a3.375\x203.375\x200\x201\x200\x200\x206.75\x203.375\x203.375\x200\x200\x200\x200-6.75zm-4.875\x203.375a4.875\x204.875\x200\x201\x201\x209.75\x200\x204.875\x204.875\x200\x200\x201-9.75\x200z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-mobile-video-camera\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20clip-rule=\x27evenodd\x27\x20d=\x27M0\x206.75a3\x203\x200\x200\x201\x203-3h12a3\x203\x200\x200\x201\x203\x203v1.078L22.873\x205A.75.75\x200\x200\x201\x2024\x205.648v12.704a.75.75\x200\x200\x201-1.123.65L18\x2016.207v1.043a3\x203\x200\x200\x201-3\x203H3a3\x203\x200\x200\x201-3-3V6.75Zm18\x207.728\x204.5\x202.58V6.95L18\x209.562v4.916ZM16.5\x206.75a1.5\x201.5\x200\x200\x200-1.5-1.5H3a1.5\x201.5\x200\x200\x200-1.5\x201.5v10.5a1.5\x201.5\x200\x200\x200\x201.5\x201.5h12a1.5\x201.5\x200\x200\x200\x201.5-1.5V6.75Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-ngdrive\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M7.736\x201.818a.75.75\x200\x200\x201\x20.647-.37h7.587a.75.75\x200\x200\x201\x20.655.383l7.233\x2012.946a.75.75\x200\x200\x201-.003.737l-3.794\x206.66a.75.75\x200\x200\x201-.651.378H4.59a.75.75\x200\x200\x201-.651-.378l-3.794-6.66a.75.75\x200\x200\x201\x20.005-.75zm.64\x201.876L1.663\x2015.148l2.93\x205.145\x206.655-11.581zm3.736\x206.526-2.398\x204.173H14.5zm4.116\x204.173h5.697L15.53\x202.947H9.677zm5.685\x201.5H8.852l-2.966\x205.16h13.088z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-onedrive\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M13.616\x204.147a7.689\x207.689\x200\x200\x200-7.642\x203.285A6.299\x206.299\x200\x200\x200\x201.455\x2017.3c.684.894\x202.473\x202.658\x205.17\x202.658h12.141c.95\x200\x201.882-.256\x202.697-.743.815-.486\x201.514-1.247\x201.964-2.083a5.26\x205.26\x200\x200\x200-3.713-7.612\x207.69\x207.69\x200\x200\x200-6.098-5.373ZM3.34\x2017.15c.674.63\x201.761\x201.308\x203.284\x201.308h12.142a3.76\x203.76\x200\x200\x200\x202.915-1.383l-7.494-4.489L3.34\x2017.15Zm10.875-6.25\x202.47-1.038a5.239\x205.239\x200\x200\x201\x201.427-.389\x206.19\x206.19\x200\x200\x200-10.3-1.952\x206.338\x206.338\x200\x200\x201\x202.118.813l4.285\x202.567Zm4.55.033c-.512\x200-1.019.104-1.489.307l-.006.003-1.414.594\x206.521\x203.906a3.76\x203.76\x200\x200\x200-3.357-4.8l-.254-.01ZM4.097\x209.617A4.799\x204.799\x200\x200\x201\x206.558\x208.9c.9\x200\x201.84.25\x202.587.713l3.4\x202.037-10.17\x204.28a4.799\x204.799\x200\x200\x201\x201.721-6.312Z\x27/></symbol><symbol\x20fill=\x27none\x27\x20viewBox=\x270\x200\x2010\x2010\x27\x20id=\x27uc-icon-pause\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20d=\x27M1\x200h2.5v10H1zM6.5\x200H9v10H6.5z\x27/></symbol><symbol\x20fill=\x27none\x27\x20viewBox=\x270\x200\x2010\x2010\x27\x20id=\x27uc-icon-play\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20d=\x27m1\x200\x209\x205-9\x205V0Z\x27\x20fill=\x27currentColor\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-remove-file\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M11.955\x203.3A2.969\x202.969\x200\x200\x200\x208.998\x206h5.914a2.97\x202.97\x200\x200\x200-2.957-2.7zM16.416\x206a4.47\x204.47\x200\x200\x200-8.922\x200h-2.32a.755.755\x200\x200\x200-.111.008H3.075a.75.75\x200\x201\x200\x200\x201.5h1.35V19.35a2.85\x202.85\x200\x200\x200\x202.85\x202.85h9.45a2.85\x202.85\x200\x200\x200\x202.85-2.85V7.508h1.35a.75.75\x200\x200\x200\x200-1.5h-1.989A.754.754\x200\x200\x200\x2018.825\x206zM5.925\x207.508V19.35a1.35\x201.35\x200\x200\x200\x201.35\x201.35h9.45a1.35\x201.35\x200\x200\x200\x201.35-1.35V7.508z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-select\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27m7\x2010\x205\x205\x205-5H7Z\x27/></symbol><symbol\x20fill=\x27none\x27\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-square\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><rect\x20width=\x2720\x27\x20height=\x2720\x27\x20rx=\x274\x27\x20fill=\x27#fff\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-upload\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M11.501.392a.75.75\x200\x200\x201\x20.998\x200l6.704\x205.972a.75.75\x200\x200\x201-.998\x201.12l-5.455-4.86v13.439a.75.75\x200\x200\x201-1.5\x200V2.625l-5.454\x204.86a.75.75\x200\x201\x201-.998-1.12zM.857\x2016.73a.75.75\x200\x200\x201\x20.75.75v4.914h20.786v-4.914a.75.75\x200\x200\x201\x201.5\x200v5.664a.75.75\x200\x200\x201-.75.75H.857a.75.75\x200\x200\x201-.75-.75v-5.664a.75.75\x200\x200\x201\x20.75-.75z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-upload-error\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M13\x2013h-2V7h2m0\x2010h-2v-2h2M12\x202A10\x2010\x200\x200\x200\x202\x2012a10\x2010\x200\x200\x200\x2010\x2010\x2010\x2010\x200\x200\x200\x2010-10A10\x2010\x200\x200\x200\x2012\x202Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-url\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M19.11\x203.67c-1.71-1.709-4.578-1.682-6.408.148l-2.22\x202.22a.75.75\x200\x200\x201-1.062-1.06l2.222-2.221C14.018.381\x2017.836.276\x2020.17\x202.61l1.22\x201.22c2.335\x202.334\x202.23\x206.153-.147\x208.529l-2.22\x202.22a.75.75\x200\x200\x201-1.062-1.06l2.222-2.221c1.83-1.83\x201.856-4.698.147-6.408zm-3.36\x204.58a.75.75\x200\x200\x201\x200\x201.06l-6.439\x206.44a.75.75\x200\x200\x201-1.06-1.06l6.439-6.44a.75.75\x200\x200\x201\x201.06\x200zM6.04\x209.42a.75.75\x200\x200\x201\x200\x201.061l-2.222\x202.222c-1.83\x201.83-1.856\x204.698-.147\x206.407l1.22\x201.22c1.71\x201.71\x204.578\x201.683\x206.408-.147l2.221-2.221a.75.75\x200\x201\x201\x201.06\x201.06l-2.22\x202.222c-2.377\x202.376-6.195\x202.481-8.53.147l-1.22-1.22c-2.334-2.334-2.228-6.153.148-8.53l2.221-2.22a.75.75\x200\x200\x201\x201.06\x200z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-video-camera\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20clip-rule=\x27evenodd\x27\x20d=\x27M0\x206.75a3\x203\x200\x200\x201\x203-3h12a3\x203\x200\x200\x201\x203\x203v1.078L22.873\x205A.75.75\x200\x200\x201\x2024\x205.648v12.704a.75.75\x200\x200\x201-1.123.65L18\x2016.207v1.043a3\x203\x200\x200\x201-3\x203H3a3\x203\x200\x200\x201-3-3V6.75Zm18\x207.728\x204.5\x202.58V6.95L18\x209.562v4.916ZM16.5\x206.75a1.5\x201.5\x200\x200\x200-1.5-1.5H3a1.5\x201.5\x200\x200\x200-1.5\x201.5v10.5a1.5\x201.5\x200\x200\x200\x201.5\x201.5h12a1.5\x201.5\x200\x200\x200\x201.5-1.5V6.75Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-video-camera-full\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20d=\x27M2\x203.333a2\x202\x200\x200\x200-2\x202v9.334a2\x202\x200\x200\x200\x202\x202h10.938a2\x202\x200\x200\x200\x202-2v-2.013L20\x2015.646V4.354l-5.063\x203.03v-2.05a2\x202\x200\x200\x200-2-2H2Z\x27\x20fill=\x27currentColor\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-vk\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M6.341\x203.27a10.5\x2010.5\x200\x200\x201\x205.834-1.77.75.75\x200\x200\x200\x200-1.5\x2012\x2012\x200\x201\x200\x2012\x2012\x20.75.75\x200\x200\x200-1.5\x200A10.5\x2010.5\x200\x201\x201\x206.34\x203.27Zm14.145\x201.48a.75.75\x200\x201\x200-1.06-1.062L9.925\x2013.19V7.95a.75.75\x200\x201\x200-1.5\x200V15c0\x20.414.336.75.75.75h7.05a.75.75\x200\x200\x200\x200-1.5h-5.24l9.501-9.5Z\x27/></symbol></svg>',SolutionBlock=class extends _0x2a3fee{static ['styleAttrs']=['uc-wgt-common'];['requireCtxName']=!0x0;['init$']=solutionBlockCtx(this);static ['_template']='';['initCallback'](){super['initCallback'](),this['a11y']?.['registerBlock'](this);}static set['template'](_0x4240fd){this['_template']=svg_sprite_default+_0x4240fd+'<slot></slot>';}static get['template'](){return this['_template'];}},_0x248f2b=0x14,_0x4ab822=0x18,_0x4a3e10=0x22,_0x33596c=0x3,_0x1bdb19=_0x33596c/0x2,_0x1663e8=0x1,_0x151757=0x64/0x3,_0x2fb93c=0x1,_0x1b1410=0x18,_0x154082=0x6;function setSvgNodeAttrs(_0x3adf7c,_0x43f47b){for(const [_0x3df9e2,_0x4ae597]of Object['entries'](_0x43f47b))_0x3adf7c['setAttributeNS'](null,_0x3df9e2,_0x4ae597['toString']());}function createSvgNode(_0x144bfa,_0x21e8fb={}){const _0xd7c87b=document['createElementNS']('http://www.w3.org/2000/svg',_0x144bfa);return setSvgNodeAttrs(_0xd7c87b,_0x21e8fb),_0xd7c87b;}function cornerPath(_0x5ae700,_0x534456,_0x49e130){const {x:_0x1711b3,y:_0x39a7e4,width:_0x45a50d,height:_0x58d329}=_0x5ae700,_0x4f74ed=_0x534456['includes']('w')?0x0:0x1,_0x1b9e25=_0x534456['includes']('n')?0x0:0x1,_0x6379ff=0x0===_0x4f74ed?-0x1:0x1,_0x15c14a=0x0===_0x1b9e25?-0x1:0x1,_0x483d57=[_0x1711b3+_0x4f74ed*_0x45a50d+_0x1bdb19*_0x6379ff,_0x39a7e4+_0x1b9e25*_0x58d329+_0x1bdb19*_0x15c14a-_0x4ab822*_0x49e130*_0x15c14a],_0x14db32=[_0x1711b3+_0x4f74ed*_0x45a50d+_0x1bdb19*_0x6379ff,_0x39a7e4+_0x1b9e25*_0x58d329+_0x1bdb19*_0x15c14a],_0x49c103=[_0x1711b3+_0x4f74ed*_0x45a50d-_0x4ab822*_0x49e130*_0x6379ff+_0x1bdb19*_0x6379ff,_0x39a7e4+_0x1b9e25*_0x58d329+_0x1bdb19*_0x15c14a];return{'d':'M\x20'+_0x483d57[0x0]+'\x20'+_0x483d57[0x1]+'\x20L\x20'+_0x14db32[0x0]+'\x20'+_0x14db32[0x1]+'\x20L\x20'+_0x49c103[0x0]+'\x20'+_0x49c103[0x1],'center':[_0x14db32[0x0],_0x14db32[0x1]]};}function sidePath(_0x2c6eef,_0x56bd6d,_0x8213a9){const {x:_0x29c906,y:_0xfbfcdb,width:_0x48ba7c,height:_0x235392}=_0x2c6eef,_0x168ca6='n'===_0x56bd6d||'s'===_0x56bd6d,_0xd85c4d=_0x168ca6?0.5:'w'===_0x56bd6d?0x0:0x1,_0x9b3157='w'===_0x56bd6d||'e'===_0x56bd6d?0.5:'n'===_0x56bd6d?0x0:0x1,_0x4f8331='w'===_0x56bd6d?-0x1:'e'===_0x56bd6d?0x1:0x0,_0x35781b='n'===_0x56bd6d?-0x1:'s'===_0x56bd6d?0x1:0x0;let _0x230767,_0x4ecc4a;return _0x168ca6?(_0x230767=[_0x29c906+_0xd85c4d*_0x48ba7c-_0x4a3e10*_0x8213a9/0x2,_0xfbfcdb+_0x9b3157*_0x235392+_0x1bdb19*_0x35781b],_0x4ecc4a=[_0x29c906+_0xd85c4d*_0x48ba7c+_0x4a3e10*_0x8213a9/0x2,_0xfbfcdb+_0x9b3157*_0x235392+_0x1bdb19*_0x35781b]):(_0x230767=[_0x29c906+_0xd85c4d*_0x48ba7c+_0x1bdb19*_0x4f8331,_0xfbfcdb+_0x9b3157*_0x235392-_0x4a3e10*_0x8213a9/0x2],_0x4ecc4a=[_0x29c906+_0xd85c4d*_0x48ba7c+_0x1bdb19*_0x4f8331,_0xfbfcdb+_0x9b3157*_0x235392+_0x4a3e10*_0x8213a9/0x2]),{'d':'M\x20'+_0x230767[0x0]+'\x20'+_0x230767[0x1]+'\x20L\x20'+_0x4ecc4a[0x0]+'\x20'+_0x4ecc4a[0x1],'center':[(_0x230767[0x0]+_0x4ecc4a[0x0])/0x2,(_0x230767[0x1]+_0x4ecc4a[0x1])/0x2]};}function thumbCursor(_0x1769c1){return''===_0x1769c1?'move':['e','w']['includes'](_0x1769c1)?'ew-resize':['n','s']['includes'](_0x1769c1)?'ns-resize':['nw','se']['includes'](_0x1769c1)?'nwse-resize':'nesw-resize';}function moveRect({rect:_0x1bd541,delta:[_0x1c6236,_0x3871ac],imageBox:_0x4f7e41}){return constraintRect({..._0x1bd541,'x':_0x1bd541['x']+_0x1c6236,'y':_0x1bd541['y']+_0x3871ac},_0x4f7e41);}function constraintRect(_0xb982f3,_0x4963df){let {x:_0x4561c2}=_0xb982f3,{y:_0x3e01ff}=_0xb982f3;return _0xb982f3['x']<_0x4963df['x']?_0x4561c2=_0x4963df['x']:_0xb982f3['x']+_0xb982f3['width']>_0x4963df['x']+_0x4963df['width']&&(_0x4561c2=_0x4963df['x']+_0x4963df['width']-_0xb982f3['width']),_0xb982f3['y']<_0x4963df['y']?_0x3e01ff=_0x4963df['y']:_0xb982f3['y']+_0xb982f3['height']>_0x4963df['y']+_0x4963df['height']&&(_0x3e01ff=_0x4963df['y']+_0x4963df['height']-_0xb982f3['height']),{..._0xb982f3,'x':_0x4561c2,'y':_0x3e01ff};}function resizeNorth({rect:_0xa09bf0,delta:_0x3a6fa7,aspectRatio:_0x32b198,imageBox:_0x555f92}){const [,_0x1f69cb]=_0x3a6fa7;let {y:_0x5a559b,width:_0x4419d5,height:_0x45cf8a}=_0xa09bf0;_0x5a559b+=_0x1f69cb,_0x45cf8a-=_0x1f69cb,_0x32b198&&(_0x4419d5=_0x45cf8a*_0x32b198);let _0x1b3770=_0xa09bf0['x']+_0xa09bf0['width']/0x2-_0x4419d5/0x2;return _0x5a559b<=_0x555f92['y']&&(_0x5a559b=_0x555f92['y'],_0x45cf8a=_0xa09bf0['y']+_0xa09bf0['height']-_0x5a559b,_0x32b198&&(_0x4419d5=_0x45cf8a*_0x32b198,_0x1b3770=_0xa09bf0['x']+_0xa09bf0['width']/0x2-_0x4419d5/0x2)),_0x1b3770<=_0x555f92['x']&&(_0x1b3770=_0x555f92['x'],_0x5a559b=_0xa09bf0['y']+_0xa09bf0['height']-_0x45cf8a),_0x1b3770+_0x4419d5>=_0x555f92['x']+_0x555f92['width']&&(_0x1b3770=Math['max'](_0x555f92['x'],_0x555f92['x']+_0x555f92['width']-_0x4419d5),_0x4419d5=_0x555f92['x']+_0x555f92['width']-_0x1b3770,_0x32b198&&(_0x45cf8a=_0x4419d5/_0x32b198),_0x5a559b=_0xa09bf0['y']+_0xa09bf0['height']-_0x45cf8a),_0x45cf8a<_0x2fb93c&&(_0x45cf8a=_0x2fb93c,_0x32b198&&(_0x4419d5=_0x45cf8a*_0x32b198,_0x1b3770=_0xa09bf0['x']+_0xa09bf0['width']/0x2-_0x4419d5/0x2),_0x5a559b=_0xa09bf0['y']+_0xa09bf0['height']-_0x45cf8a),_0x4419d5<_0x2fb93c&&(_0x4419d5=_0x2fb93c,_0x32b198&&(_0x45cf8a=_0x4419d5/_0x32b198,_0x1b3770=_0xa09bf0['x']+_0xa09bf0['width']/0x2-_0x4419d5/0x2),_0x5a559b=_0xa09bf0['y']+_0xa09bf0['height']-_0x45cf8a),{'x':_0x1b3770,'y':_0x5a559b,'width':_0x4419d5,'height':_0x45cf8a};}function resizeWest({rect:_0x4b8612,delta:_0x3a88c0,aspectRatio:_0x27d663,imageBox:_0x3dad6c}){const [_0x17aeda]=_0x3a88c0;let {x:_0x54e174,width:_0x80d6ca,height:_0x2ac013}=_0x4b8612;_0x54e174+=_0x17aeda,_0x80d6ca-=_0x17aeda,_0x27d663&&(_0x2ac013=_0x80d6ca/_0x27d663);let _0x54584d=_0x4b8612['y']+_0x4b8612['height']/0x2-_0x2ac013/0x2;return _0x54e174<=_0x3dad6c['x']&&(_0x54e174=_0x3dad6c['x'],_0x80d6ca=_0x4b8612['x']+_0x4b8612['width']-_0x54e174,_0x27d663&&(_0x2ac013=_0x80d6ca/_0x27d663,_0x54584d=_0x4b8612['y']+_0x4b8612['height']/0x2-_0x2ac013/0x2)),_0x54584d<=_0x3dad6c['y']&&(_0x54584d=_0x3dad6c['y'],_0x54e174=_0x4b8612['x']+_0x4b8612['width']-_0x80d6ca),_0x54584d+_0x2ac013>=_0x3dad6c['y']+_0x3dad6c['height']&&(_0x54584d=Math['max'](_0x3dad6c['y'],_0x3dad6c['y']+_0x3dad6c['height']-_0x2ac013),_0x2ac013=_0x3dad6c['y']+_0x3dad6c['height']-_0x54584d,_0x27d663&&(_0x80d6ca=_0x2ac013*_0x27d663),_0x54e174=_0x4b8612['x']+_0x4b8612['width']-_0x80d6ca),_0x2ac013<_0x2fb93c&&(_0x2ac013=_0x2fb93c,_0x27d663&&(_0x80d6ca=_0x2ac013*_0x27d663),_0x54584d=_0x4b8612['y']+_0x4b8612['height']/0x2-_0x2ac013/0x2,_0x54e174=_0x4b8612['x']+_0x4b8612['width']-_0x80d6ca),_0x80d6ca<_0x2fb93c&&(_0x80d6ca=_0x2fb93c,_0x27d663&&(_0x2ac013=_0x80d6ca/_0x27d663),_0x54584d=_0x4b8612['y']+_0x4b8612['height']/0x2-_0x2ac013/0x2,_0x54e174=_0x4b8612['x']+_0x4b8612['width']-_0x80d6ca),{'x':_0x54e174,'y':_0x54584d,'width':_0x80d6ca,'height':_0x2ac013};}function resizeSouth({rect:_0x59f448,delta:_0x2858a4,aspectRatio:_0x2fdc76,imageBox:_0x48a135}){const [,_0x46b982]=_0x2858a4;let {y:_0xc5c458,width:_0x3ac7de,height:_0x2fb049}=_0x59f448;_0x2fb049+=_0x46b982,_0x2fdc76&&(_0x3ac7de=_0x2fb049*_0x2fdc76);let _0x14e33c=_0x59f448['x']+_0x59f448['width']/0x2-_0x3ac7de/0x2;return _0xc5c458+_0x2fb049>=_0x48a135['y']+_0x48a135['height']&&(_0x2fb049=_0x48a135['y']+_0x48a135['height']-_0xc5c458,_0x2fdc76&&(_0x3ac7de=_0x2fb049*_0x2fdc76),_0x14e33c=_0x59f448['x']+_0x59f448['width']/0x2-_0x3ac7de/0x2),_0x14e33c<=_0x48a135['x']&&(_0x14e33c=_0x48a135['x'],_0xc5c458=_0x59f448['y']),_0x14e33c+_0x3ac7de>=_0x48a135['x']+_0x48a135['width']&&(_0x14e33c=Math['max'](_0x48a135['x'],_0x48a135['x']+_0x48a135['width']-_0x3ac7de),_0x3ac7de=_0x48a135['x']+_0x48a135['width']-_0x14e33c,_0x2fdc76&&(_0x2fb049=_0x3ac7de/_0x2fdc76),_0xc5c458=_0x59f448['y']),_0x2fb049<_0x2fb93c&&(_0x2fb049=_0x2fb93c,_0x2fdc76&&(_0x3ac7de=_0x2fb049*_0x2fdc76),_0x14e33c=_0x59f448['x']+_0x59f448['width']/0x2-_0x3ac7de/0x2),_0x3ac7de<_0x2fb93c&&(_0x3ac7de=_0x2fb93c,_0x2fdc76&&(_0x2fb049=_0x3ac7de/_0x2fdc76),_0x14e33c=_0x59f448['x']+_0x59f448['width']/0x2-_0x3ac7de/0x2),{'x':_0x14e33c,'y':_0xc5c458,'width':_0x3ac7de,'height':_0x2fb049};}function resizeEast({rect:_0x5e726f,delta:_0x284510,aspectRatio:_0x4c1a80,imageBox:_0x367e29}){const [_0xee7c1b]=_0x284510;let {x:_0x2b1596,width:_0x365703,height:_0x167e6e}=_0x5e726f;_0x365703+=_0xee7c1b,_0x4c1a80&&(_0x167e6e=_0x365703/_0x4c1a80);let _0x514821=_0x5e726f['y']+_0x5e726f['height']/0x2-_0x167e6e/0x2;return _0x2b1596+_0x365703>=_0x367e29['x']+_0x367e29['width']&&(_0x365703=_0x367e29['x']+_0x367e29['width']-_0x2b1596,_0x4c1a80&&(_0x167e6e=_0x365703/_0x4c1a80),_0x514821=_0x5e726f['y']+_0x5e726f['height']/0x2-_0x167e6e/0x2),_0x514821<=_0x367e29['y']&&(_0x514821=_0x367e29['y'],_0x2b1596=_0x5e726f['x']),_0x514821+_0x167e6e>=_0x367e29['y']+_0x367e29['height']&&(_0x514821=Math['max'](_0x367e29['y'],_0x367e29['y']+_0x367e29['height']-_0x167e6e),_0x167e6e=_0x367e29['y']+_0x367e29['height']-_0x514821,_0x4c1a80&&(_0x365703=_0x167e6e*_0x4c1a80),_0x2b1596=_0x5e726f['x']),_0x167e6e<_0x2fb93c&&(_0x167e6e=_0x2fb93c,_0x4c1a80&&(_0x365703=_0x167e6e*_0x4c1a80),_0x514821=_0x5e726f['y']+_0x5e726f['height']/0x2-_0x167e6e/0x2),_0x365703<_0x2fb93c&&(_0x365703=_0x2fb93c,_0x4c1a80&&(_0x167e6e=_0x365703/_0x4c1a80),_0x514821=_0x5e726f['y']+_0x5e726f['height']/0x2-_0x167e6e/0x2),{'x':_0x2b1596,'y':_0x514821,'width':_0x365703,'height':_0x167e6e};}function resizeNorthWest({rect:_0x1995b5,delta:_0x128551,aspectRatio:_0xdfb4ca,imageBox:_0x26967a}){let [_0x47595e,_0x461f02]=_0x128551,{x:_0x59a665,y:_0x280660,width:_0x5466ac,height:_0x23c59b}=_0x1995b5;return _0x59a665+_0x47595e<_0x26967a['x']&&(_0x47595e=_0x26967a['x']-_0x59a665),_0x280660+_0x461f02<_0x26967a['y']&&(_0x461f02=_0x26967a['y']-_0x280660),_0x59a665+=_0x47595e,_0x5466ac-=_0x47595e,_0x280660+=_0x461f02,_0x23c59b-=_0x461f02,_0xdfb4ca&&Math['abs'](_0x5466ac/_0x23c59b)>_0xdfb4ca?(_0x461f02=_0x5466ac/_0xdfb4ca-_0x23c59b,_0x23c59b+=_0x461f02,_0x280660-=_0x461f02,_0x280660<=_0x26967a['y']&&(_0x23c59b-=_0x26967a['y']-_0x280660,_0x5466ac=_0x23c59b*_0xdfb4ca,_0x59a665=_0x1995b5['x']+_0x1995b5['width']-_0x5466ac,_0x280660=_0x26967a['y'])):_0xdfb4ca&&(_0x47595e=_0x23c59b*_0xdfb4ca-_0x5466ac,_0x5466ac+=_0x47595e,_0x59a665-=_0x47595e,_0x59a665<=_0x26967a['x']&&(_0x5466ac-=_0x26967a['x']-_0x59a665,_0x23c59b=_0x5466ac/_0xdfb4ca,_0x59a665=_0x26967a['x'],_0x280660=_0x1995b5['y']+_0x1995b5['height']-_0x23c59b)),_0x23c59b<_0x2fb93c&&(_0x23c59b=_0x2fb93c,_0xdfb4ca&&(_0x5466ac=_0x23c59b*_0xdfb4ca),_0x59a665=_0x1995b5['x']+_0x1995b5['width']-_0x5466ac,_0x280660=_0x1995b5['y']+_0x1995b5['height']-_0x23c59b),_0x5466ac<_0x2fb93c&&(_0x5466ac=_0x2fb93c,_0xdfb4ca&&(_0x23c59b=_0x5466ac/_0xdfb4ca),_0x59a665=_0x1995b5['x']+_0x1995b5['width']-_0x5466ac,_0x280660=_0x1995b5['y']+_0x1995b5['height']-_0x23c59b),{'x':_0x59a665,'y':_0x280660,'width':_0x5466ac,'height':_0x23c59b};}function resizeNorthEast({rect:_0x42fbd3,delta:_0x23fa41,aspectRatio:_0x464ef3,imageBox:_0x2e4c46}){let [_0x57e933,_0x63be38]=_0x23fa41,{x:_0x59dc7c,y:_0x115304,width:_0x5e6482,height:_0x2dd239}=_0x42fbd3;return _0x59dc7c+_0x5e6482+_0x57e933>_0x2e4c46['x']+_0x2e4c46['width']&&(_0x57e933=_0x2e4c46['x']+_0x2e4c46['width']-_0x59dc7c-_0x5e6482),_0x115304+_0x63be38<_0x2e4c46['y']&&(_0x63be38=_0x2e4c46['y']-_0x115304),_0x5e6482+=_0x57e933,_0x115304+=_0x63be38,_0x2dd239-=_0x63be38,_0x464ef3&&Math['abs'](_0x5e6482/_0x2dd239)>_0x464ef3?(_0x63be38=_0x5e6482/_0x464ef3-_0x2dd239,_0x2dd239+=_0x63be38,_0x115304-=_0x63be38,_0x115304<=_0x2e4c46['y']&&(_0x2dd239-=_0x2e4c46['y']-_0x115304,_0x5e6482=_0x2dd239*_0x464ef3,_0x59dc7c=_0x42fbd3['x'],_0x115304=_0x2e4c46['y'])):_0x464ef3&&(_0x57e933=_0x2dd239*_0x464ef3-_0x5e6482,_0x5e6482+=_0x57e933,_0x59dc7c+_0x5e6482>=_0x2e4c46['x']+_0x2e4c46['width']&&(_0x5e6482=_0x2e4c46['x']+_0x2e4c46['width']-_0x59dc7c,_0x2dd239=_0x5e6482/_0x464ef3,_0x59dc7c=_0x2e4c46['x']+_0x2e4c46['width']-_0x5e6482,_0x115304=_0x42fbd3['y']+_0x42fbd3['height']-_0x2dd239)),_0x2dd239<_0x2fb93c&&(_0x2dd239=_0x2fb93c,_0x464ef3&&(_0x5e6482=_0x2dd239*_0x464ef3),_0x115304=_0x42fbd3['y']+_0x42fbd3['height']-_0x2dd239),_0x5e6482<_0x2fb93c&&(_0x5e6482=_0x2fb93c,_0x464ef3&&(_0x2dd239=_0x5e6482/_0x464ef3),_0x115304=_0x42fbd3['y']+_0x42fbd3['height']-_0x2dd239),{'x':_0x59dc7c,'y':_0x115304,'width':_0x5e6482,'height':_0x2dd239};}function resizeSouthWest({rect:_0x2930c9,delta:_0x47db90,aspectRatio:_0x479a2f,imageBox:_0xa76094}){let [_0x83c703,_0x23f287]=_0x47db90,{x:_0x276d1f,y:_0x18f6a0,width:_0x1a6378,height:_0xa9b821}=_0x2930c9;return _0x276d1f+_0x83c703<_0xa76094['x']&&(_0x83c703=_0xa76094['x']-_0x276d1f),_0x18f6a0+_0xa9b821+_0x23f287>_0xa76094['y']+_0xa76094['height']&&(_0x23f287=_0xa76094['y']+_0xa76094['height']-_0x18f6a0-_0xa9b821),_0x276d1f+=_0x83c703,_0x1a6378-=_0x83c703,_0xa9b821+=_0x23f287,_0x479a2f&&Math['abs'](_0x1a6378/_0xa9b821)>_0x479a2f?(_0x23f287=_0x1a6378/_0x479a2f-_0xa9b821,_0xa9b821+=_0x23f287,_0x18f6a0+_0xa9b821>=_0xa76094['y']+_0xa76094['height']&&(_0xa9b821=_0xa76094['y']+_0xa76094['height']-_0x18f6a0,_0x1a6378=_0xa9b821*_0x479a2f,_0x276d1f=_0x2930c9['x']+_0x2930c9['width']-_0x1a6378,_0x18f6a0=_0xa76094['y']+_0xa76094['height']-_0xa9b821)):_0x479a2f&&(_0x83c703=_0xa9b821*_0x479a2f-_0x1a6378,_0x1a6378+=_0x83c703,_0x276d1f-=_0x83c703,_0x276d1f<=_0xa76094['x']&&(_0x1a6378-=_0xa76094['x']-_0x276d1f,_0xa9b821=_0x1a6378/_0x479a2f,_0x276d1f=_0xa76094['x'],_0x18f6a0=_0x2930c9['y'])),_0xa9b821<_0x2fb93c&&(_0xa9b821=_0x2fb93c,_0x479a2f&&(_0x1a6378=_0xa9b821*_0x479a2f),_0x276d1f=_0x2930c9['x']+_0x2930c9['width']-_0x1a6378),_0x1a6378<_0x2fb93c&&(_0x1a6378=_0x2fb93c,_0x479a2f&&(_0xa9b821=_0x1a6378/_0x479a2f),_0x276d1f=_0x2930c9['x']+_0x2930c9['width']-_0x1a6378),{'x':_0x276d1f,'y':_0x18f6a0,'width':_0x1a6378,'height':_0xa9b821};}function resizeSouthEast({rect:_0xeaa4ff,delta:_0x5f4ef7,aspectRatio:_0x22a07,imageBox:_0x4bc052}){let [_0x91044,_0x205f41]=_0x5f4ef7,{x:_0x437c24,y:_0x24188f,width:_0x4d9ffb,height:_0x387306}=_0xeaa4ff;return _0x437c24+_0x4d9ffb+_0x91044>_0x4bc052['x']+_0x4bc052['width']&&(_0x91044=_0x4bc052['x']+_0x4bc052['width']-_0x437c24-_0x4d9ffb),_0x24188f+_0x387306+_0x205f41>_0x4bc052['y']+_0x4bc052['height']&&(_0x205f41=_0x4bc052['y']+_0x4bc052['height']-_0x24188f-_0x387306),_0x4d9ffb+=_0x91044,_0x387306+=_0x205f41,_0x22a07&&Math['abs'](_0x4d9ffb/_0x387306)>_0x22a07?(_0x205f41=_0x4d9ffb/_0x22a07-_0x387306,_0x387306+=_0x205f41,_0x24188f+_0x387306>=_0x4bc052['y']+_0x4bc052['height']&&(_0x387306=_0x4bc052['y']+_0x4bc052['height']-_0x24188f,_0x4d9ffb=_0x387306*_0x22a07,_0x437c24=_0xeaa4ff['x'],_0x24188f=_0x4bc052['y']+_0x4bc052['height']-_0x387306)):_0x22a07&&(_0x91044=_0x387306*_0x22a07-_0x4d9ffb,_0x4d9ffb+=_0x91044,_0x437c24+_0x4d9ffb>=_0x4bc052['x']+_0x4bc052['width']&&(_0x4d9ffb=_0x4bc052['x']+_0x4bc052['width']-_0x437c24,_0x387306=_0x4d9ffb/_0x22a07,_0x437c24=_0x4bc052['x']+_0x4bc052['width']-_0x4d9ffb,_0x24188f=_0xeaa4ff['y'])),_0x387306<_0x2fb93c&&(_0x387306=_0x2fb93c,_0x22a07&&(_0x4d9ffb=_0x387306*_0x22a07)),_0x4d9ffb<_0x2fb93c&&(_0x4d9ffb=_0x2fb93c,_0x22a07&&(_0x387306=_0x4d9ffb/_0x22a07)),{'x':_0x437c24,'y':_0x24188f,'width':_0x4d9ffb,'height':_0x387306};}function resizeRect({direction:_0x3b48ff,..._0x2cedbb}){switch(_0x3b48ff){case'n':return resizeNorth(_0x2cedbb);case'w':return resizeWest(_0x2cedbb);case's':return resizeSouth(_0x2cedbb);case'e':return resizeEast(_0x2cedbb);case'nw':return resizeNorthWest(_0x2cedbb);case'ne':return resizeNorthEast(_0x2cedbb);case'sw':return resizeSouthWest(_0x2cedbb);case'se':return resizeSouthEast(_0x2cedbb);default:return _0x2cedbb['rect'];}}function rectContainsPoint(_0x458318,[_0x4bb3a2,_0x3867ed]){return _0x458318['x']<=_0x4bb3a2&&_0x4bb3a2<=_0x458318['x']+_0x458318['width']&&_0x458318['y']<=_0x3867ed&&_0x3867ed<=_0x458318['y']+_0x458318['height'];}function isRectInsideRect(_0x135bcc,_0x280578){return _0x135bcc['x']>=_0x280578['x']&&_0x135bcc['y']>=_0x280578['y']&&_0x135bcc['x']+_0x135bcc['width']<=_0x280578['x']+_0x280578['width']&&_0x135bcc['y']+_0x135bcc['height']<=_0x280578['y']+_0x280578['height'];}function isRectMatchesAspectRatio(_0x246763,_0x33f691){return Math['abs'](_0x246763['width']/_0x246763['height']-_0x33f691)<0.1;}function rotateSize({width:_0x6e59b0,height:_0x53d99b},_0x3bf0c4){const _0x34ea80=_0x3bf0c4/0x5a%0x2!=0x0;return{'width':_0x34ea80?_0x53d99b:_0x6e59b0,'height':_0x34ea80?_0x6e59b0:_0x53d99b};}function calculateMaxCenteredCropFrame(_0x35196a,_0x4d299e,_0x479674){let _0x5a062e,_0x4ee39e;_0x35196a/_0x4d299e>_0x479674?(_0x5a062e=Math['round'](_0x4d299e*_0x479674),_0x4ee39e=_0x4d299e):(_0x5a062e=_0x35196a,_0x4ee39e=Math['round'](_0x35196a/_0x479674));const _0x4ca9e7=Math['round']((_0x35196a-_0x5a062e)/0x2),_0x4497d3=Math['round']((_0x4d299e-_0x4ee39e)/0x2);return _0x4ca9e7+_0x5a062e>_0x35196a&&(_0x5a062e=_0x35196a-_0x4ca9e7),_0x4497d3+_0x4ee39e>_0x4d299e&&(_0x4ee39e=_0x4d299e-_0x4497d3),{'x':_0x4ca9e7,'y':_0x4497d3,'width':_0x5a062e,'height':_0x4ee39e};}function roundRect(_0x2b6305){return{'x':Math['round'](_0x2b6305['x']),'y':Math['round'](_0x2b6305['y']),'width':Math['round'](_0x2b6305['width']),'height':Math['round'](_0x2b6305['height'])};}function _0x21806f(_0x23d177,_0x47be67,_0x491c21){return Math['min'](Math['max'](_0x23d177,_0x47be67),_0x491c21);}var _0x212307=['free'],parseCropPreset=_0x107d99=>{const _0x1ac840=stringToArray(_0x107d99);if(!_0x1ac840||0x0===_0x1ac840['length'])return[];const _0xa28a9b=[];for(const _0x5a09d5 of _0x1ac840){const _0x55391d=_0x5a09d5['trim']();if(!_0x55391d)continue;const _0x46f3f8=_0x55391d['indexOf'](':');if(-0x1===_0x46f3f8&&!_0x212307['includes'](_0x55391d)){console['warn']('Invalid\x20crop\x20preset:\x20'+_0x55391d);continue;}const _0x2cc16d=Number(_0x55391d['slice'](0x0,_0x46f3f8)),_0x537e8d=Number(_0x55391d['slice'](_0x46f3f8+0x1));!(!Number['isFinite'](_0x2cc16d)||!Number['isFinite'](_0x537e8d)||_0x2cc16d<=0x0||_0x537e8d<=0x0)||_0x212307['includes'](_0x55391d)?_0xa28a9b['push']({'id':_0x48eed4['generate'](),'type':'aspect-ratio','width':_0x212307['includes'](_0x55391d)?0x0:_0x2cc16d,'height':_0x212307['includes'](_0x55391d)?0x0:_0x537e8d,'hasFreeform':_0x212307['includes'](_0x55391d)}):console['warn']('Invalid\x20crop\x20preset:\x20'+_0x55391d);}return _0xa28a9b;},getClosestAspectRatio=(_0x477177,_0x6f5dff,_0xc7170a,_0x49e888=0.1)=>{const _0x49b6a2=_0x477177/_0x6f5dff;let _0xc6e3a8=null,_0x3ff782=0x1/0x0;for(const _0x47b458 of _0xc7170a){const [_0x237dbf,_0xe782c4]=[_0x47b458['width'],_0x47b458['height']],_0x81e4da=_0x237dbf/_0xe782c4,_0x1399cf=Math['abs'](_0x49b6a2-_0x81e4da);_0x1399cf<_0x3ff782&&(_0x3ff782=_0x1399cf,_0xc6e3a8=_0x47b458);}if(_0xc6e3a8){const [_0x42b498,_0xca1d1e]=[_0xc6e3a8['width'],_0xc6e3a8['height']],_0x5569fa=_0x42b498/_0xca1d1e;if(Math['abs'](_0x49b6a2-_0x5569fa)/_0x5569fa>_0x49e888)return null;}return _0xc6e3a8;},ExternalUploadSource=Object['freeze']({'FACEBOOK':'facebook','DROPBOX':'dropbox','GDRIVE':'gdrive','GPHOTOS':'gphotos','FLICKR':'flickr','VK':'vk','EVERNOTE':'evernote','BOX':'box','ONEDRIVE':'onedrive','HUDDLE':'huddle'}),_0x2bb866=Object['freeze']({'MOBILE_VIDEO_CAMERA':'mobile-video-camera','MOBILE_PHOTO_CAMERA':'mobile-photo-camera'}),_0xdfac6a=Object['freeze']({'LOCAL':'local','DROP_AREA':'drop-area','CAMERA':'camera','EXTERNAL':'external','API':'js-api','URL':'url','DRAW':'draw',..._0x2bb866,...ExternalUploadSource});function customUserAgent(_0x4d73e0){return getUserAgent$1({..._0x4d73e0,'libraryName':_0x1ad11e,'libraryVersion':_0x575df8});}var msToUnixTimestamp=_0x25751a=>'number'!=typeof _0x25751a?0x0:Math['floor'](_0x25751a/0x3e8),_0x2c9af9=(_0x52dc9a,{threshold:_0xcceecf})=>{const {secureExpire:_0x1d03ef}=_0x52dc9a,_0x3cb8ca=msToUnixTimestamp(Date['now']()),_0x47bbcd=Number(_0x1d03ef);return _0x3cb8ca+msToUnixTimestamp(_0xcceecf)>=_0x47bbcd;},_0x452b68=class{['_block'];['_secureToken']=null;constructor(_0x225fff){this['_block']=_0x225fff;}['_debugPrint'](..._0x2b5e02){this['_block']['debugPrint']('[secure-uploads]',..._0x2b5e02);}async['getSecureToken'](){const {secureSignature:_0x2b1774,secureExpire:_0x3e5ffa,secureUploadsSignatureResolver:_0x14539d}=this['_block']['cfg'];if((_0x2b1774||_0x3e5ffa)&&_0x14539d&&console['warn']('Both\x20secureSignature/secureExpire\x20and\x20secureUploadsSignatureResolver\x20are\x20set.\x20secureUploadsSignatureResolver\x20will\x20be\x20used.'),_0x14539d){if(!this['_secureToken']||_0x2c9af9(this['_secureToken'],{'threshold':this['_block']['cfg']['secureUploadsExpireThreshold']})){this['_secureToken']?this['_debugPrint']('Secure\x20signature\x20is\x20expired.\x20Resolving\x20a\x20new\x20one...'):this['_debugPrint']('Secure\x20signature\x20is\x20not\x20set\x20yet.');try{const _0x664498=await _0x14539d();_0x664498?_0x664498['secureSignature']&&_0x664498['secureExpire']?(this['_debugPrint']('Secure\x20signature\x20resolved:',_0x664498),this['_debugPrint']('Secure\x20signature\x20will\x20expire\x20in',new Date(0x3e8*Number(_0x664498['secureExpire']))['toISOString']()),this['_secureToken']=_0x664498):console['error']('Secure\x20signature\x20resolver\x20returned\x20an\x20invalid\x20result:',_0x664498):(this['_debugPrint']('Secure\x20signature\x20resolver\x20returned\x20nothing.'),this['_secureToken']=null);}catch(_0x5b9c72){console['error']('Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.',_0x5b9c72),this['_block']['telemetryManager']['sendEventError'](_0x5b9c72,'secureUploadsSignatureResolver.\x20Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.');}}return this['_secureToken'];}return _0x2b1774&&_0x3e5ffa?(this['_debugPrint']('Secure\x20signature\x20and\x20expire\x20are\x20set.\x20Using\x20them...',{'secureSignature':_0x2b1774,'secureExpire':_0x3e5ffa}),{'secureSignature':_0x2b1774,'secureExpire':_0x3e5ffa}):null;}},validateCollectionUploadError=(_0x405d7f,_0x364fc5)=>{if(_0x405d7f['failedCount']>0x0)return{'type':'SOME_FILES_HAS_ERRORS','message':_0x364fc5['l10n']('some-files-were-not-uploaded')};},validateMultiple=(_0x2c20ff,_0x4c108d)=>{const _0x590579=_0x2c20ff['totalCount'],_0x58bb28=_0x4c108d['cfg']['multiple']?_0x4c108d['cfg']['multipleMin']:0x0,_0x14ab47=_0x4c108d['cfg']['multiple']?_0x4c108d['cfg']['multipleMax']:0x1;if(_0x58bb28&&_0x590579<_0x58bb28)return{'type':'TOO_FEW_FILES','message':_0x4c108d['l10n']('files-count-limit-error-too-few',{'min':_0x58bb28,'max':_0x14ab47,'total':_0x590579}),'payload':{'total':_0x590579,'min':_0x58bb28,'max':_0x14ab47}};if(_0x14ab47&&_0x590579>_0x14ab47)return{'type':'TOO_MANY_FILES','message':_0x4c108d['l10n']('files-count-limit-error-too-many',{'min':_0x58bb28,'max':_0x14ab47,'total':_0x590579}),'payload':{'total':_0x590579,'min':_0x58bb28,'max':_0x14ab47}};},calcIsDesktopSafari=()=>{const _0x3771b9=navigator['userAgent'];return/Macintosh|Windows/['test'](_0x3771b9)&&/Version\/[\d.]+.*Safari/['test'](_0x3771b9)&&!/Chrome|Chromium|Edg|OPR/['test'](_0x3771b9);},calcHtmlMediaCaptureSupport=()=>'capture'in document['createElement']('input'),_0x19e6f4=()=>({'safariDesktop':calcIsDesktopSafari()}),calcBrowserFeatures=()=>({'htmlMediaCapture':calcHtmlMediaCaptureSupport()}),_0x3e0c2d=_0x19e6f4(),browserFeatures=calcBrowserFeatures(),_0x596b19='image/*',_0x57388f='video/*',_0x3dadbc=['image/heif','image/heif-sequence','image/heic','image/heic-sequence','image/avif','image/avif-sequence','.heif','.heifs','.heic','.heics','.avif','.avifs'],calcImageAcceptList=()=>_0x3e0c2d['safariDesktop']?[_0x596b19]:[_0x596b19,..._0x3dadbc],_0x427387=calcImageAcceptList(),_0x2146bb=_0x136d8c=>_0x136d8c?_0x136d8c['filter'](_0x41ce04=>'string'==typeof _0x41ce04)['flatMap'](_0x421e14=>stringToArray(_0x421e14)):[],matchMimeType=(_0x5875eb,_0x141363)=>_0x141363['some'](_0x3690b6=>{if(_0x3690b6['endsWith']('*')){const _0x26d0e1=_0x3690b6['replace']('*','');return _0x5875eb['startsWith'](_0x26d0e1);}return _0x5875eb===_0x3690b6;}),matchExtension=(_0xefc691,_0x465683)=>_0x465683['some'](_0x16be0e=>!!_0x16be0e['startsWith']('.')&&_0xefc691['toLowerCase']()['endsWith'](_0x16be0e['toLowerCase']())),_0x5b3989=_0x7f90e5=>{const _0x51500c=_0x7f90e5?.['type'];return!!_0x51500c&&matchMimeType(_0x51500c,_0x427387);},validateFileType=(_0x114263,_0x307b90)=>{const _0x5018b2=_0x307b90['cfg']['imgOnly'],_0x3af48d=_0x307b90['cfg']['accept'],_0x34acd7=_0x2146bb([..._0x5018b2?_0x427387:[],_0x3af48d]);if(!_0x34acd7['length'])return;const _0x1150e7=_0x114263['mimeType'],_0x27e730=_0x114263['name'];if(!_0x1150e7||!_0x27e730)return;const _0x5c87c9=matchMimeType(_0x1150e7,_0x34acd7),_0x1858ed=matchExtension(_0x27e730,_0x34acd7);return _0x5c87c9||_0x1858ed?void 0x0:{'type':'FORBIDDEN_FILE_TYPE','message':_0x307b90['l10n']('file-type-not-allowed'),'payload':{'entry':_0x114263}};},validateIsImage=(_0x580917,_0x200f2c)=>{const _0x2c588b=_0x200f2c['cfg']['imgOnly'],_0x35b928=_0x580917['isImage'];if(_0x2c588b&&!_0x35b928&&(_0x580917['fileInfo']||!_0x580917['externalUrl'])&&(_0x580917['fileInfo']||_0x580917['mimeType']))return{'type':'NOT_AN_IMAGE','message':_0x200f2c['l10n']('images-only-accepted'),'payload':{'entry':_0x580917}};},_0x20167d=0x3e8,ByteUnitEnum=Object['freeze']({'AUTO':'auto','BYTE':'byte','KB':'kb','MB':'mb','GB':'gb','TB':'tb','PB':'pb'}),_0x4992d9=_0x581f77=>Math['ceil'](0x64*_0x581f77)/0x64,prettyBytes=(_0x530e25,_0x4dc1b8=ByteUnitEnum['AUTO'])=>{const _0x3f01e6=_0x4dc1b8===ByteUnitEnum['AUTO'];if(_0x4dc1b8===ByteUnitEnum['BYTE']||_0x3f01e6&&_0x530e25<_0x20167d**0x1)return _0x530e25+'\x20'+('one'===getPluralForm('en-US',_0x530e25)?'byte':'bytes');return _0x4dc1b8===ByteUnitEnum['KB']||_0x3f01e6&&_0x530e25<_0x20167d**0x2?_0x4992d9(_0x530e25/_0x20167d**0x1)+'\x20KB':_0x4dc1b8===ByteUnitEnum['MB']||_0x3f01e6&&_0x530e25<_0x20167d**0x3?_0x4992d9(_0x530e25/_0x20167d**0x2)+'\x20MB':_0x4dc1b8===ByteUnitEnum['GB']||_0x3f01e6&&_0x530e25<_0x20167d**0x4?_0x4992d9(_0x530e25/_0x20167d**0x3)+'\x20GB':_0x4dc1b8===ByteUnitEnum['TB']||_0x3f01e6&&_0x530e25<_0x20167d**0x5?_0x4992d9(_0x530e25/_0x20167d**0x4)+'\x20TB':_0x4992d9(_0x530e25/_0x20167d**0x5)+'\x20PB';},validateMaxSizeLimit=(_0x4b122e,_0x35c2c6)=>{const _0x49b484=_0x35c2c6['cfg']['maxLocalFileSizeBytes'],_0x208bce=_0x4b122e['size'];if(_0x49b484&&_0x208bce&&_0x208bce>_0x49b484)return{'type':'FILE_SIZE_EXCEEDED','message':_0x35c2c6['l10n']('files-max-size-limit-error',{'maxFileSize':prettyBytes(_0x49b484)}),'payload':{'entry':_0x4b122e}};},validateUploadError=(_0x5c286e,_0x5674c1)=>{const {internalId:_0x1ca3a5}=_0x5c286e,_0x439631=_0x5674c1['_uploadCollection']['read'](_0x1ca3a5),_0x41f90a=_0x439631?.['getValue']('uploadError');if(!_0x41f90a)return;if(_0x41f90a instanceof _0x3e5bd6)return{'type':'UPLOAD_ERROR','message':_0x41f90a['message'],'payload':{'entry':_0x5c286e,'error':_0x41f90a}};if(_0x41f90a instanceof NetworkError)return{'type':'NETWORK_ERROR','message':_0x41f90a['message'],'payload':{'entry':_0x5c286e,'error':_0x41f90a}};const _0x399ec4=_0x41f90a instanceof Error?_0x41f90a:new Error('Unknown\x20error',{'cause':_0x41f90a});return{'type':'UNKNOWN_ERROR','message':_0x399ec4['message'],'payload':{'entry':_0x5c286e,'error':_0x399ec4}};},withResolvers=()=>{let _0x2046c9=()=>{},_0x1b6905=()=>{};return{'promise':new Promise((_0x465eb3,_0x2dda25)=>{_0x2046c9=_0x465eb3,_0x1b6905=_0x2dda25;}),'resolve':_0x2046c9,'reject':_0x1b6905};},_0x1c3b68={'FILE_VALIDATION_FAILED':'File\x20validator\x20execution\x20has\x20failed','FILE_VALIDATION_TIMEOUT':'File\x20validator\x20execution\x20has\x20timed\x20out','COLLECTION_VALIDATION_FAILED':'Collection\x20validator\x20execution\x20has\x20failed','MISSING_ERROR_MESSAGE':'Missing\x20message.\x20We\x20recommend\x20adding\x20message:\x20value.'},getValidatorDescriptor=_0x27224c=>'function'==typeof _0x27224c?{'runOn':'change','validator':_0x27224c}:_0x27224c,ValidationManager=class{['_blockInstance'];['_uploadCollection'];['_commonFileValidators']=[validateIsImage,validateFileType,validateMaxSizeLimit,validateUploadError];['_commonCollectionValidators']=[validateMultiple,validateCollectionUploadError];['_queue']=new _0x413a32(0x14);['_runQueueDebounced']=_0x491199(()=>{this['_queue']['run']();},0x1f4);['_entryValidationState']=new Map();constructor(_0x5615c3){this['_blockInstance']=_0x5615c3,this['_uploadCollection']=this['_blockInstance']['uploadCollection'];const _0x198e91=()=>{this['runFileValidators']('change'),this['runCollectionValidators']();};this['_blockInstance']['subConfigValue']('maxLocalFileSizeBytes',_0x198e91),this['_blockInstance']['subConfigValue']('multipleMin',_0x198e91),this['_blockInstance']['subConfigValue']('multipleMax',_0x198e91),this['_blockInstance']['subConfigValue']('multiple',_0x198e91),this['_blockInstance']['subConfigValue']('imgOnly',_0x198e91),this['_blockInstance']['subConfigValue']('accept',_0x198e91),this['_blockInstance']['subConfigValue']('validationConcurrency',_0xbf9ccf=>{this['_queue']['concurrency']=_0xbf9ccf;});}['runFileValidators'](_0x503492,_0x1eb564){const _0x200a53=_0x1eb564??this['_uploadCollection']['items']();for(const _0x2b8f6e of _0x200a53){const _0x38718c=this['_uploadCollection']['read'](_0x2b8f6e);_0x38718c&&this['_runFileValidatorsForEntry'](_0x38718c,_0x503492);}}['runCollectionValidators'](){const _0x1903c4=this['_blockInstance']['api']['getOutputCollectionState'](),_0x268518=[];for(const _0x5b5560 of[...this['_commonCollectionValidators'],...this['_blockInstance']['cfg']['collectionValidators']])try{const _0x33a666=_0x5b5560(_0x1903c4,this['_blockInstance']['api']);if(!_0x33a666)continue;_0x33a666&&(_0x268518['push'](this['_addCustomTypeToValidationError'](_0x33a666)),_0x33a666['message']||console['warn'](_0x1c3b68['MISSING_ERROR_MESSAGE']));}catch(_0x486fd1){console['warn'](_0x1c3b68['COLLECTION_VALIDATION_FAILED'],_0x486fd1);}this['_blockInstance']['$']['*collectionErrors']=_0x268518,_0x268518['length']>0x0&&this['_blockInstance']['emit'](EventType['COMMON_UPLOAD_FAILED'],()=>this['_blockInstance']['api']['getOutputCollectionState'](),{'debounce':!0x0});}['cleanupValidationForEntry'](_0x3da8c3){const _0x1b17b6=this['_entryValidationState']['get'](_0x3da8c3['uid']);_0x1b17b6&&(_0x1b17b6['abortController']?.['abort'](),this['_entryValidationState']['delete'](_0x3da8c3['uid']));}async['_runFileValidatorsForEntry'](_0x4000b9,_0x567388){const _0x105324=this['_getValidatorDescriptorsForEntry'](_0x4000b9,_0x567388);if(0x0===_0x105324['length'])return;_0x4000b9['setMultipleValues']({'isQueuedForValidation':!0x0,'isValidationPending':!0x0});const _0x1262a3=this['_blockInstance']['api']['getOutputItem'](_0x4000b9['uid']),_0x196319=this['_getEntryValidationState'](_0x4000b9);_0x196319['promise']&&await _0x196319['promise'];const {promise:_0x31328f,resolve:_0x1837e3}=withResolvers();_0x196319['promise']=_0x31328f;const _0x52678a=new AbortController();_0x196319['abortController']=_0x52678a;const _0x1235e9=this['_blockInstance']['cfg']['validationTimeout'],_0x9f9891=this['_getValidatorDescriptors'](),_0x1c9a94=new Set(_0x105324['map'](_0x263507=>_0x263507['validator'])),_0x2b8259=[];for(const _0x1bffd4 of _0x9f9891)if(!_0x1c9a94['has'](_0x1bffd4['validator'])){const _0x25b0c7=_0x196319['lastErrorThrownByValidator']['get'](_0x1bffd4['validator']);_0x25b0c7&&_0x2b8259['push'](_0x25b0c7);}const _0x44e7b4=_0x105324['map'](_0x407d46=>async()=>{if(!this['_blockInstance']['isConnected'])return;const _0xc40eb6=setTimeout(()=>{_0x196319['skippedValidators']['add'](_0x407d46['validator']),_0x52678a['abort'](),console['warn'](_0x1c3b68['FILE_VALIDATION_TIMEOUT']);},_0x1235e9);try{const _0x3f0599=await _0x407d46['validator'](_0x1262a3,this['_blockInstance']['api'],{'signal':_0x52678a['signal']});if(!_0x3f0599||_0x52678a['signal']['aborted'])return void _0x196319['lastErrorThrownByValidator']['set'](_0x407d46['validator'],void 0x0);const _0x5c4a5b=this['_addCustomTypeToValidationError'](_0x3f0599);_0x196319['lastErrorThrownByValidator']['set'](_0x407d46['validator'],_0x5c4a5b),_0x2b8259['push'](_0x5c4a5b),_0x3f0599['message']||console['warn'](_0x1c3b68['MISSING_ERROR_MESSAGE']);}catch(_0x4812a0){_0x52678a['signal']['aborted']||(_0x196319['skippedValidators']['add'](_0x407d46['validator']),console['warn'](_0x1c3b68['FILE_VALIDATION_FAILED'],_0x4812a0),this['_blockInstance']['telemetryManager']['sendEventError'](_0x4812a0,'file\x20validator.\x20'+_0x1c3b68['FILE_VALIDATION_FAILED']));}finally{clearTimeout(_0xc40eb6),'change'!==_0x407d46['runOn']&&_0x196319['skippedValidators']['add'](_0x407d46['validator']);}});if(this['_runQueueDebounced'](),await this['_queue']['add'](async()=>{_0x4000b9['setValue']('isQueuedForValidation',!0x1),await Promise['all'](_0x44e7b4['map'](_0x289395=>_0x289395()))['catch'](()=>{});},{'autoRun':!0x1}),_0x52678a['signal']['aborted'])return _0x4000b9['setMultipleValues']({'isQueuedForValidation':!0x1,'isValidationPending':!0x1}),void _0x1837e3();_0x4000b9['setMultipleValues']({'isValidationPending':!0x1,'isQueuedForValidation':!0x1,'errors':_0x2b8259}),_0x1837e3();}['_addCustomTypeToValidationError'](_0x525c1c){return{..._0x525c1c,'type':_0x525c1c['type']??'CUSTOM_ERROR'};}['_getEntryValidationState'](_0x5f196c){const _0x3920a9=this['_entryValidationState']['get'](_0x5f196c['uid']);if(_0x3920a9)return _0x3920a9;const _0x2b0ae9={'abortController':void 0x0,'skippedValidators':new WeakSet(),'promise':void 0x0,'lastErrorThrownByValidator':new WeakMap()};return this['_entryValidationState']['set'](_0x5f196c['uid'],_0x2b0ae9),_0x2b0ae9;}['_getValidatorDescriptors'](){return[...this['_commonFileValidators'],...this['_blockInstance']['cfg']['fileValidators']]['map'](getValidatorDescriptor);}['_getValidatorDescriptorsForEntry'](_0x48028e,_0x1ba5c7){const _0x33dcd5=this['_getEntryValidationState'](_0x48028e);return this['_getValidatorDescriptors']()['filter'](_0x2b0098=>!_0x33dcd5['skippedValidators']['has'](_0x2b0098['validator']))['filter'](_0x1a586b=>_0x1a586b['runOn']===_0x1ba5c7);}},_0x47fce3='[Typed\x20State]\x20Wrong\x20property\x20name:\x20',_0x338a6c='[Typed\x20State]\x20Wrong\x20property\x20type:\x20',TypedData=class{['__typedSchema'];['__ctxId'];['__schema'];['__data'];constructor(_0x109675,_0x1009da){this['__typedSchema']=_0x109675,this['__ctxId']=_0x1009da||_0x48eed4['generate'](),this['__schema']=Object['keys'](_0x109675)['reduce']((_0x10e06b,_0x17deac)=>(_0x109675[_0x17deac]&&(_0x10e06b[_0x17deac]=_0x109675[_0x17deac]['value']),_0x10e06b),{}),this['__data']=Data['registerCtx'](this['__schema'],this['__ctxId']);}get['uid'](){return this['__ctxId'];}['setValue'](_0x182892,_0x25b928){if(!Object['hasOwn'](this['__typedSchema'],_0x182892)||!this['__typedSchema'][_0x182892])return void console['warn'](_0x47fce3+_0x182892);const _0x3e89c5=this['__typedSchema'][_0x182892],_0x5f2f38=_0x25b928?.['constructor']===_0x3e89c5['type'],_0x27723b=_0x25b928 instanceof _0x3e89c5['type'],_0x4967de=_0x3e89c5['nullable']&&null===_0x25b928;_0x5f2f38||_0x27723b||_0x4967de?this['__data']['pub'](_0x182892,_0x25b928):console['warn'](_0x338a6c+_0x182892);}['setMultipleValues'](_0x5f9fd8){for(const [_0x2be2c7,_0x22ec40]of Object['entries'](_0x5f9fd8))this['setValue'](_0x2be2c7,_0x22ec40);}['getValue'](_0x48ec12){return Object['hasOwn'](this['__typedSchema'],_0x48ec12)||console['warn'](_0x47fce3+_0x48ec12),this['__data']['read'](_0x48ec12);}['subscribe'](_0x21259e,_0x1dfe89){return this['__data']['sub'](_0x21259e,_0x1dfe89);}['remove'](){Data['deleteCtx'](this['__ctxId']);}},TypedCollection=class{['__typedSchema'];['__ctxId'];['__data'];['__watchList'];['__subsMap']=Object['create'](null);['__propertyObservers']=new Set();['__collectionObservers']=new Set();['__items']=new Set();['__removed']=new Set();['__added']=new Set();['__observeTimeout'];['__notifyTimeout'];['__notifyObservers'];constructor(_0x56813b){this['__typedSchema']=_0x56813b['typedSchema'],this['__ctxId']=_0x56813b['ctxName']||_0x48eed4['generate'](),this['__data']=Data['registerCtx']({},this['__ctxId']),this['__watchList']=_0x56813b['watchList']||[];let _0x898416=Object['create'](null);this['__notifyObservers']=(_0x2dea16,_0xb214f2)=>{this['__observeTimeout']&&window['clearTimeout'](this['__observeTimeout']),_0x898416[_0x2dea16]||(_0x898416[_0x2dea16]=new Set()),_0x898416[_0x2dea16]['add'](_0xb214f2),this['__observeTimeout']=window['setTimeout'](()=>{0x0!==Object['keys'](_0x898416)['length']&&(this['__propertyObservers']['forEach'](_0x467506=>{_0x467506({..._0x898416});}),_0x898416=Object['create'](null));});},_0x56813b['handler']&&this['observeCollection'](_0x56813b['handler']);}['notify'](){this['__notifyTimeout']&&window['clearTimeout'](this['__notifyTimeout']),this['__notifyTimeout']=window['setTimeout'](()=>{const _0x512d76=new Set(this['__added']),_0x4529e9=new Set(this['__removed']);this['__added']['clear'](),this['__removed']['clear']();for(const _0x3e90dd of this['__collectionObservers'])_0x3e90dd?.([...this['__items']],_0x512d76,_0x4529e9);});}['observeCollection'](_0x43cd55){return this['__collectionObservers']['add'](_0x43cd55),this['__items']['size']>0x0&&this['notify'](),()=>{this['unobserveCollection'](_0x43cd55);};}['unobserveCollection'](_0x3559c6){this['__collectionObservers']['delete'](_0x3559c6);}['add'](_0x3d793e){const _0x3cd385=new TypedData(this['__typedSchema']);for(const [_0x1f5904,_0x1c14d0]of Object['entries'](_0x3d793e))void 0x0!==_0x1c14d0&&_0x3cd385['setValue'](_0x1f5904,_0x1c14d0);return this['__items']['add'](_0x3cd385['uid']),this['notify'](),this['__data']['add'](_0x3cd385['uid'],_0x3cd385),this['__added']['add'](_0x3cd385),this['__watchList']['forEach'](_0x4d434d=>{this['__subsMap'][_0x3cd385['uid']]||(this['__subsMap'][_0x3cd385['uid']]=[]),this['__subsMap'][_0x3cd385['uid']]?.['push'](_0x3cd385['subscribe'](_0x4d434d,()=>{this['__notifyObservers'](_0x4d434d,_0x3cd385['uid']);}));}),_0x3cd385['uid'];}['read'](_0x561e30){return this['__data']['read'](_0x561e30);}['readProp'](_0x533ccf,_0x2ef38a){const _0x5393ea=this['read'](_0x533ccf);return _0x5393ea?_0x5393ea['getValue'](_0x2ef38a):(console['warn']('Item\x20with\x20id\x20'+_0x533ccf+'\x20not\x20found'),null);}['publishProp'](_0x1b105b,_0x35fbfd,_0x231bd4){const _0x446b00=this['read'](_0x1b105b);_0x446b00?_0x446b00['setValue'](_0x35fbfd,_0x231bd4):console['warn']('Item\x20with\x20id\x20'+_0x1b105b+'\x20not\x20found');}['remove'](_0x30c4fa){const _0x274705=this['read'](_0x30c4fa);_0x274705&&this['__removed']['add'](_0x274705),this['__items']['delete'](_0x30c4fa),this['notify'](),this['__data']['pub'](_0x30c4fa,null),delete this['__subsMap'][_0x30c4fa];}['clearAll'](){this['__items']['forEach'](_0x3fa1a1=>{this['remove'](_0x3fa1a1);});}['observeProperties'](_0x78bc6){return this['__propertyObservers']['add'](_0x78bc6),()=>{this['unobserveProperties'](_0x78bc6);};}['unobserveProperties'](_0x88c393){this['__propertyObservers']['delete'](_0x88c393);}['findItems'](_0x1510ef){const _0x537aaf=[];return this['__items']['forEach'](_0x4345c6=>{const _0x1937f3=this['read'](_0x4345c6);_0x1937f3&&_0x1510ef(_0x1937f3)&&_0x537aaf['push'](_0x4345c6);}),_0x537aaf;}['items'](){return[...this['__items']];}get['size'](){return this['__items']['size'];}['destroy'](){Data['deleteCtx'](this['__ctxId']),this['__propertyObservers']=new Set(),this['__collectionObservers']=new Set();for(const _0x550df0 in this['__subsMap'])this['__subsMap'][_0x550df0]?.['forEach'](_0x2df7ef=>{_0x2df7ef['remove']();}),delete this['__subsMap'][_0x550df0];}},_0xa0c6ec=Object['freeze']({'PHOTO':'photo','VIDEO':'video'}),CameraSourceEvents=Object['freeze']({'IDLE':'idle','SHOT':'shot','PLAY':'play','PAUSE':'pause','RESUME':'resume','STOP':'stop','RETAKE':'retake','ACCEPT':'accept'}),_0x49df86=_0x42d0c6=>({'isVideoRecordingEnabled':_0x40941e(_0x42d0c6['cameraModes'])['includes'](_0xa0c6ec['VIDEO']),'isPhotoEnabled':_0x40941e(_0x42d0c6['cameraModes'])['includes'](_0xa0c6ec['PHOTO'])}),_0x1d3a27=/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/i,_0x170c11=new RegExp('^/?('+_0x1d3a27['source']+')(?:/(-/(?:[^/]+/)+)?([^/]*))?$','i'),_0x33160e=({url:_0x296236,cdnBase:_0x47bb19})=>{const _0x1e4b94=new URL(_0x47bb19),_0x20807d=new URL(_0x235448),_0x4ee68a=new URL(_0x296236);if(_0x1e4b94['host']!==_0x4ee68a['host']&&_0x20807d['host']!==_0x4ee68a['host'])return null;const _0x2d7a95=_0x170c11['exec'](_0x4ee68a['pathname']);if(!_0x2d7a95)return null;const [,_0x14629f,_0x16447d,_0x1b2938]=_0x2d7a95;return _0x14629f?{'uuid':_0x14629f,'cdnUrlModifiers':_0x16447d||'','filename':_0x1b2938||null}:null;};function _0x56ef93(_0x5ec432){const _0xd1f9a8=new Map();return(..._0x48ae78)=>{const _0x1d5331=JSON['stringify'](_0x48ae78);if(_0xd1f9a8['has'](_0x1d5331))return _0xd1f9a8['get'](_0x1d5331);const _0x1c180a=_0x5ec432(..._0x48ae78);return _0xd1f9a8['set'](_0x1d5331,_0x1c180a),_0x1c180a;};}var _0x3658ba=new Set();function _0x22627a(_0x3c5e2a){_0x3658ba['has'](_0x3c5e2a)||(_0x3658ba['add'](_0x3c5e2a),console['warn'](_0x3c5e2a));}function createAsyncAssertWrapper(_0xefa802){let _0x4a8e1e=!0x1;return setTimeout(()=>{_0x4a8e1e=!0x0;},0x0),_0x531f5e=>(..._0x136917)=>(_0x4a8e1e&&_0x22627a(_0xefa802),_0x531f5e(..._0x136917));}function buildOutputCollectionState(_0x120840){const _0x6ee629={},_0x54b3b4={'progress':()=>_0x120840['$']['*commonProgress'],'errors':()=>_0x120840['$']['*collectionErrors'],'group':()=>_0x120840['$']['*groupInfo'],'totalCount':()=>_0x120840['uploadCollection']['size'],'failedCount':()=>_0x6ee629['failedEntries']['length'],'successCount':()=>_0x6ee629['successEntries']['length'],'uploadingCount':()=>_0x6ee629['uploadingEntries']['length'],'status':()=>_0x6ee629['isFailed']?'failed':_0x6ee629['isUploading']?'uploading':_0x6ee629['isSuccess']?'success':'idle','isSuccess':()=>_0x6ee629['allEntries']['length']>0x0&&0x0===_0x6ee629['errors']['length']&&_0x6ee629['successEntries']['length']===_0x6ee629['allEntries']['length'],'isUploading':()=>_0x6ee629['allEntries']['some'](_0x99150d=>'uploading'===_0x99150d['status']),'isFailed':()=>_0x6ee629['errors']['length']>0x0||_0x6ee629['failedEntries']['length']>0x0,'allEntries':()=>_0x120840['getOutputData'](),'successEntries':()=>_0x6ee629['allEntries']['filter'](_0xd020e=>'success'===_0xd020e['status']),'failedEntries':()=>_0x6ee629['allEntries']['filter'](_0x4400d1=>'failed'===_0x4400d1['status']),'uploadingEntries':()=>_0x6ee629['allEntries']['filter'](_0x35fce6=>'uploading'===_0x35fce6['status']),'idleEntries':()=>_0x6ee629['allEntries']['filter'](_0x192b13=>'idle'===_0x192b13['status'])},_0x56e7f2=createAsyncAssertWrapper('You\x27re\x20trying\x20to\x20access\x20the\x20OutputCollectionState\x20asynchronously.\x20In\x20this\x20case,\x20the\x20data\x20you\x20retrieve\x20will\x20be\x20newer\x20than\x20it\x20was\x20when\x20the\x20OutputCollectionState\x20was\x20created\x20or\x20when\x20the\x20event\x20was\x20dispatched.\x20If\x20you\x20want\x20to\x20retain\x20the\x20state\x20at\x20a\x20specific\x20moment\x20in\x20time,\x20you\x20should\x20use\x20the\x20spread\x20operator\x20like\x20this:\x20`{...outputCollectionState}`\x20or\x20`{...e.detail}`');for(const [_0x2dd579,_0x356ab3]of Object['entries'](_0x54b3b4)){const _0xcbce5e=_0x2dd579,_0x5a64fd=_0x56ef93(_0x56e7f2(_0x356ab3));Object['defineProperty'](_0x6ee629,_0xcbce5e,{'get':_0x5a64fd,'enumerable':!0x0});}return _0x6ee629;}var _0x362da4=class{['_ctx'];constructor(_0x3e4631){this['_ctx']=_0x3e4631;}get['_uploadCollection'](){return this['_ctx']['uploadCollection'];}get['cfg'](){return this['_ctx']['cfg'];}get['l10n'](){return this['_ctx']['l10n']['bind'](this['_ctx']);}['addFileFromUrl']=(_0x499c3a,{silent:_0x42647d,fileName:_0x201a46,source:_0x31a2a6}={})=>{const _0x291310=this['_uploadCollection']['add']({'externalUrl':_0x499c3a,'fileName':_0x201a46??null,'silent':_0x42647d??!0x1,'source':_0x31a2a6??_0xdfac6a['API']});return this['getOutputItem'](_0x291310);};['addFileFromUuid']=(_0x5a6452,{silent:_0x25626e,fileName:_0x4b400a,source:_0x3a528f}={})=>{const _0x1801f8=this['_uploadCollection']['add']({'uuid':_0x5a6452,'fileName':_0x4b400a??null,'silent':_0x25626e??!0x1,'source':_0x3a528f??_0xdfac6a['API']});return this['getOutputItem'](_0x1801f8);};['addFileFromCdnUrl']=(_0x5830a1,{silent:_0x25256d,fileName:_0x2d865c,source:_0x1f81a3}={})=>{const _0x1da34f=_0x33160e({'url':_0x5830a1,'cdnBase':this['cfg']['cdnCname']});if(!_0x1da34f)throw new Error('Invalid\x20CDN\x20URL');const _0x488c2d=this['_uploadCollection']['add']({'uuid':_0x1da34f['uuid'],'cdnUrl':_0x5830a1,'cdnUrlModifiers':_0x1da34f['cdnUrlModifiers'],'fileName':_0x2d865c??_0x1da34f['filename']??null,'silent':_0x25256d??!0x1,'source':_0x1f81a3??_0xdfac6a['API']});return this['getOutputItem'](_0x488c2d);};['addFileFromObject']=(_0x9a97ff,{silent:_0x262f85,fileName:_0xec7abd,source:_0x1185bb,fullPath:_0x29fd81}={})=>{const _0x3336a0=this['_uploadCollection']['add']({'file':_0x9a97ff,'isImage':_0x5b3989(_0x9a97ff),'mimeType':_0x9a97ff['type'],'fileName':_0xec7abd??_0x9a97ff['name'],'fileSize':_0x9a97ff['size'],'silent':_0x262f85??!0x1,'source':_0x1185bb??_0xdfac6a['API'],'fullPath':_0x29fd81??null});return this['getOutputItem'](_0x3336a0);};['removeFileByInternalId']=_0x3fc02a=>{if(!this['_uploadCollection']['read'](_0x3fc02a))throw new Error('File\x20with\x20internalId\x20'+_0x3fc02a+'\x20not\x20found');this['_uploadCollection']['remove'](_0x3fc02a);};['removeAllFiles'](){this['_uploadCollection']['clearAll']();}['uploadAll']=()=>{const _0x2fcfde=this['_uploadCollection']['items']()['filter'](_0x12710d=>{const _0x335354=this['_uploadCollection']['read'](_0x12710d);return!!_0x335354&&!(_0x335354['getValue']('isRemoved')||_0x335354['getValue']('isUploading')||_0x335354['getValue']('fileInfo')||0x0!==_0x335354['getValue']('errors')['length']||_0x335354['getValue']('isValidationPending')||_0x335354['getValue']('isQueuedForValidation'));});0x0!==_0x2fcfde['length']&&(this['_ctx']['$']['*uploadTrigger']=new Set(_0x2fcfde),this['_ctx']['emit'](EventType['COMMON_UPLOAD_START'],this['getOutputCollectionState']()));};['openSystemDialog']=(_0x4f26b0={})=>{const _0x46a876=_0x12bad6(_0x2146bb([this['cfg']['accept']??'',...this['cfg']['imgOnly']?_0x427387:[]])),_0x40fb3d='uploadcare-file-input',_0x303006=document['createElement']('input');if(_0x303006['setAttribute'](_0x40fb3d,''),applyStyles(_0x303006,{'opacity':0x0,'height':0x0,'width':0x0,'visibility':'hidden','position':'absolute','top':0x0,'left':0x0}),_0x303006['type']='file',_0x303006['multiple']=this['cfg']['multiple'],_0x4f26b0['captureCamera']){_0x303006['capture']=this['cfg']['cameraCapture'];const {isPhotoEnabled:_0x4d77a6,isVideoRecordingEnabled:_0x343746}=_0x49df86(this['cfg']);_0x4f26b0['modeCamera']===_0xa0c6ec['PHOTO']&&_0x4d77a6?_0x303006['accept']=_0x596b19:_0x4f26b0['modeCamera']===_0xa0c6ec['VIDEO']&&_0x343746?_0x303006['accept']=_0x57388f:_0x303006['accept']=[_0x596b19,_0x343746&&_0x57388f]['filter'](Boolean)['join'](',');}else _0x303006['accept']=_0x46a876;_0x303006['addEventListener']('change',()=>{_0x303006['files']&&([..._0x303006['files']]['forEach'](_0x42d4bb=>{this['addFileFromObject'](_0x42d4bb,{'source':_0x4f26b0['captureCamera']?_0xdfac6a['CAMERA']:_0xdfac6a['LOCAL']});}),this['_ctx']['modalManager']?.['open'](ActivityBlock['activities']['UPLOAD_LIST']),this['_ctx']['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'],_0x303006['remove']());},{'once':!0x0}),document['querySelectorAll']('['+_0x40fb3d+']')['forEach'](_0xeed15d=>{_0xeed15d['remove']();}),document['body']['appendChild'](_0x303006),_0x303006['dispatchEvent'](new MouseEvent('click'));};['getOutputItem'](_0x5893f6){const _0x18ffab=Data['getCtx'](_0x5893f6)['store'],_0x9d6f20=_0x18ffab['fileInfo'],_0x1ae72b=_0x18ffab['isRemoved']?'removed':_0x18ffab['errors']['length']>0x0?'failed':_0x18ffab['fileInfo']?'success':_0x18ffab['isUploading']?'uploading':'idle';return{'uuid':_0x9d6f20?.['uuid']??_0x18ffab['uuid']??null,'internalId':_0x5893f6,'name':_0x9d6f20?.['originalFilename']??_0x18ffab['fileName'],'size':_0x9d6f20?.['size']??_0x18ffab['fileSize'],'isImage':_0x9d6f20?.['isImage']??_0x18ffab['isImage'],'mimeType':_0x9d6f20?.['mimeType']??_0x18ffab['mimeType'],'file':_0x18ffab['file'],'externalUrl':_0x18ffab['externalUrl'],'cdnUrlModifiers':_0x18ffab['cdnUrlModifiers'],'cdnUrl':_0x18ffab['cdnUrl']??_0x9d6f20?.['cdnUrl']??null,'fullPath':_0x18ffab['fullPath'],'uploadProgress':_0x18ffab['uploadProgress'],'fileInfo':_0x9d6f20??null,'metadata':_0x18ffab['metadata']??_0x9d6f20?.['metadata']??null,'isSuccess':'success'===_0x1ae72b,'isUploading':'uploading'===_0x1ae72b,'isFailed':'failed'===_0x1ae72b,'isRemoved':'removed'===_0x1ae72b,'isValidationPending':_0x18ffab['isValidationPending'],'errors':_0x18ffab['errors'],'status':_0x1ae72b,'source':_0x18ffab?.['source']};}['getOutputCollectionState'](){return buildOutputCollectionState(this['_ctx']);}['initFlow']=(_0x23ae9b=!0x1)=>{if(this['_uploadCollection']['size']>0x0&&!_0x23ae9b)this['_ctx']['modalManager']?.['open'](ActivityBlock['activities']['UPLOAD_LIST']),this['_ctx']['set$']({'*currentActivity':ActivityBlock['activities']['UPLOAD_LIST']});else{if(0x1===this['_sourceList']?.['length']){const _0x3c21fe=this['_sourceList'][0x0];if('local'===_0x3c21fe)return this['_ctx']['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'],void this['openSystemDialog']();if('camera'===_0x3c21fe&&browserFeatures['htmlMediaCapture']){const {isPhotoEnabled:_0x371125,isVideoRecordingEnabled:_0x2cc1c9}=_0x49df86(this['cfg']);if(_0x371125&&_0x2cc1c9)return void this['_ctx']['set$']({'*currentActivity':ActivityBlock['activities']['START_FROM']});if(_0x371125||_0x2cc1c9)return void this['openSystemDialog']({'captureCamera':!0x0,'modeCamera':_0x371125?_0xa0c6ec['PHOTO']:_0xa0c6ec['VIDEO']});this['openSystemDialog']({'captureCamera':!0x0,'modeCamera':_0xa0c6ec['PHOTO']});}const _0x37383f=[...this['_ctx']['$']['*blocksRegistry']]['find'](_0x13a94=>'type'in _0x13a94&&_0x13a94['type']===_0x3c21fe);_0x37383f?.['activate'](),this['_ctx']['$']['*currentActivity']&&this['_ctx']['modalManager']?.['open'](this['_ctx']['$']['*currentActivity']);}else this['_ctx']['modalManager']?.['open'](ActivityBlock['activities']['START_FROM']),this['_ctx']['set$']({'*currentActivity':ActivityBlock['activities']['START_FROM']});}};['doneFlow']=()=>{this['_ctx']['set$']({'*currentActivity':this['_ctx']['doneActivity'],'*history':this['_ctx']['doneActivity']?[this['_ctx']['doneActivity']]:[]}),this['_ctx']['$']['*currentActivity']||this['_ctx']['modalManager']?.['closeAll']();};['setCurrentActivity']=(_0x372ad4,..._0x2c5faa)=>{this['_ctx']['hasBlockInCtx'](_0x5e80c6=>_0x5e80c6['activityType']===_0x372ad4)?this['_ctx']['set$']({'*currentActivityParams':_0x2c5faa??{},'*currentActivity':_0x372ad4}):console['warn']('Activity\x20type\x20\x22'+_0x372ad4+'\x22\x20not\x20found\x20in\x20the\x20context');};['getCurrentActivity']=()=>this['_ctx']['$']['*currentActivity'];['setModalState']=_0x432142=>{!_0x432142||this['_ctx']['$']['*currentActivity']?_0x432142?this['_ctx']['modalManager']?.['open'](this['_ctx']['$']['*currentActivity']):(this['_ctx']['modalManager']?.['close'](this['_ctx']['$']['*currentActivity']),this['_ctx']['$']['*currentActivity']=null):console['warn']('Can\x27t\x20open\x20modal\x20without\x20current\x20activity.\x20Please\x20use\x20\x22setCurrentActivity\x22\x20method\x20first.');};get['_sourceList'](){let _0x4c8ad2=[];return this['cfg']['sourceList']&&(_0x4c8ad2=stringToArray(this['cfg']['sourceList'])),_0x4c8ad2;}},uploadEntrySchema=Object['freeze']({'file':Object['freeze']({'type':File,'value':null,'nullable':!0x0}),'externalUrl':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'fileName':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'fileSize':Object['freeze']({'type':Number,'value':null,'nullable':!0x0}),'lastModified':Object['freeze']({'type':Number,'value':Date['now']()}),'uploadProgress':Object['freeze']({'type':Number,'value':0x0}),'uuid':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'isImage':Object['freeze']({'type':Boolean,'value':!0x1}),'mimeType':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'ctxName':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'cdnUrl':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'cdnUrlModifiers':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'fileInfo':Object['freeze']({'type':_0x5e95ad,'value':null,'nullable':!0x0}),'isUploading':Object['freeze']({'type':Boolean,'value':!0x1}),'abortController':Object['freeze']({'type':AbortController,'value':null,'nullable':!0x0}),'thumbUrl':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'silent':Object['freeze']({'type':Boolean,'value':!0x1}),'source':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'fullPath':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'metadata':Object['freeze']({'type':Object,'value':null,'nullable':!0x0}),'errors':Object['freeze']({'type':Array,'value':[]}),'uploadError':Object['freeze']({'type':Error,'value':null,'nullable':!0x0}),'isRemoved':Object['freeze']({'type':Boolean,'value':!0x1}),'isQueuedForUploading':Object['freeze']({'type':Boolean,'value':!0x1}),'isValidationPending':Object['freeze']({'type':Boolean,'value':!0x1}),'isQueuedForValidation':Object['freeze']({'type':Boolean,'value':!0x1})}),_0x14dc68=class _0x4e602a extends ActivityBlock{static ['extSrcList'];static ['sourceTypes'];['couldBeCtxOwner']=!0x1;['isCtxOwner']=!0x1;['_unobserveCollection'];['_unobserveCollectionProperties'];['init$']=uploaderBlockCtx(this);get['hasCtxOwner'](){return this['hasBlockInCtx'](_0x5acd7d=>_0x5acd7d instanceof _0x4e602a&&(_0x5acd7d['isCtxOwner']&&_0x5acd7d['isConnected']&&_0x5acd7d!==this));}['initCallback'](){if(super['initCallback'](),!this['has']('*uploadCollection')){const _0x2811e0=new TypedCollection({'typedSchema':uploadEntrySchema,'watchList':['uploadProgress','uploadError','fileInfo','errors','cdnUrl','isUploading','isValidationPending']});this['add']('*uploadCollection',_0x2811e0);}this['has']('*publicApi')||this['add']('*publicApi',new _0x362da4(this)),this['has']('*validationManager')||this['add']('*validationManager',new ValidationManager(this)),!this['hasCtxOwner']&&this['couldBeCtxOwner']&&this['_initCtxOwner']();}get['validationManager'](){if(!this['has']('*validationManager'))throw new Error('Unexpected\x20error:\x20ValidationManager\x20is\x20not\x20initialized');return this['$']['*validationManager'];}get['api'](){if(!this['has']('*publicApi'))throw new Error('Unexpected\x20error:\x20UploaderPublicApi\x20is\x20not\x20initialized');return this['$']['*publicApi'];}['getAPI'](){return this['api'];}get['uploadCollection'](){if(!this['has']('*uploadCollection'))throw new Error('Unexpected\x20error:\x20TypedCollection\x20is\x20not\x20initialized');return this['$']['*uploadCollection'];}['destroyCtxCallback'](){this['uploadCollection']['destroy'](),this['$']['*uploadCollection']=null,super['destroyCtxCallback']();}['disconnectedCallback'](){super['disconnectedCallback'](),this['isCtxOwner']&&this['_unobserveUploadCollection']();}['connectedCallback'](){super['connectedCallback'](),this['isCtxOwner']&&this['_observeUploadCollection']();}['destroyCallback'](){super['destroyCallback'](),this['_flushOutputItems']['cancel']();}['_initCtxOwner'](){this['isCtxOwner']=!0x0,this['_observeUploadCollection'](),this['subConfigValue']('maxConcurrentRequests',_0x1ad6a6=>{this['$']['*uploadQueue']['concurrency']=Number(_0x1ad6a6)||0x1;}),this['$']['*secureUploadsManager']||(this['$']['*secureUploadsManager']=new _0x452b68(this));}['_observeUploadCollection'](){this['_unobserveUploadCollection'](),this['_unobserveCollection']=this['uploadCollection']['observeCollection'](this['_handleCollectionUpdate']),this['_unobserveCollectionProperties']=this['uploadCollection']['observeProperties'](this['_handleCollectionPropertiesUpdate']);}['_unobserveUploadCollection'](){this['_unobserveCollectionProperties']?.(),this['_unobserveCollection']?.(),this['_unobserveCollectionProperties']=void 0x0,this['_unobserveCollection']=void 0x0;}async['_createGroup'](_0x2c30a1){const _0x5378e9=await this['getUploadClientOptions'](),_0x1bda55=_0x2c30a1['allEntries']['map'](_0x344cd3=>_0x344cd3['uuid']+(_0x344cd3['cdnUrlModifiers']?'/'+_0x344cd3['cdnUrlModifiers']:'')),_0x1ca7d0=new AbortController(),_0x395dda=await _0x53bfb4(_0x1bda55,{..._0x5378e9,'signal':_0x1ca7d0['signal']});if(this['$']['*collectionState']!==_0x2c30a1)return void _0x1ca7d0['abort']();this['$']['*groupInfo']=_0x395dda;const _0xbff94e=this['api']['getOutputCollectionState']();this['emit'](EventType['GROUP_CREATED'],_0xbff94e),this['emit'](EventType['CHANGE'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}),this['$']['*collectionState']=_0xbff94e;}['_flushOutputItems']=_0x491199(async()=>{if(this['getOutputData']()['length']!==this['uploadCollection']['size'])return;const e=this['api']['getOutputCollectionState']();this['$']['*collectionState']=e,this['emit'](EventType['CHANGE'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}),this['cfg']['groupOutput']&&e['totalCount']>0x0&&'success'===e['status']&&this['_createGroup'](e);},0x12c);['_handleCollectionUpdate']=(_0x4dedfa,_0x20d153,_0x1e6cdc)=>{(_0x20d153['size']||_0x1e6cdc['size'])&&(this['$']['*groupInfo']=null),this['validationManager']['runFileValidators']('add',[..._0x20d153]['map'](_0x4b535=>_0x4b535['uid']));for(const _0x310908 of _0x20d153)_0x310908['getValue']('silent')||this['emit'](EventType['FILE_ADDED'],this['api']['getOutputItem'](_0x310908['uid']));this['validationManager']['runCollectionValidators']();for(const _0x3142dc of _0x1e6cdc){this['$']['*uploadTrigger']['delete'](_0x3142dc['uid']),this['validationManager']['cleanupValidationForEntry'](_0x3142dc),_0x3142dc['getValue']('abortController')?.['abort'](),_0x3142dc['setMultipleValues']({'isRemoved':!0x0,'abortController':null,'isUploading':!0x1,'uploadProgress':0x0});const _0x39f12b=_0x3142dc?.['getValue']('thumbUrl');_0x39f12b&&URL['revokeObjectURL'](_0x39f12b),this['emit'](EventType['FILE_REMOVED'],this['api']['getOutputItem'](_0x3142dc['uid']));}this['$']['*uploadList']=_0x4dedfa['map'](_0xded2d=>({'uid':_0xded2d})),this['_flushCommonUploadProgress'](),this['_flushOutputItems']();};['_handleCollectionPropertiesUpdate']=_0x316d0b=>{this['_flushOutputItems']();const _0x348e86=this['uploadCollection'],_0x18b4fe=[...new Set(Object['entries'](_0x316d0b)['filter'](([_0x331300])=>['uploadError','fileInfo','cdnUrl','cdnUrlModifiers']['includes'](_0x331300))['flatMap'](([,_0x27c6fe])=>[..._0x27c6fe]))];if(_0x18b4fe['length']>0x0&&setTimeout(()=>{const _0x283bee=_0x18b4fe['filter'](_0x1f30bd=>_0x316d0b['fileInfo']?.['has'](_0x1f30bd)&&!!Data['getCtx'](_0x1f30bd)['store']['fileInfo']);_0x283bee['length']>0x0&&this['validationManager']['runFileValidators']('upload',_0x283bee),this['validationManager']['runFileValidators']('change',_0x18b4fe);}),_0x316d0b['uploadProgress']){for(const _0x3a29d5 of _0x316d0b['uploadProgress']){const {isUploading:_0x2a54c5,silent:_0x250faa}=Data['getCtx'](_0x3a29d5)['store'];_0x2a54c5&&!_0x250faa&&this['emit'](EventType['FILE_UPLOAD_PROGRESS'],this['api']['getOutputItem'](_0x3a29d5));}this['_flushCommonUploadProgress']();}if(_0x316d0b['isUploading'])for(const _0x24159d of _0x316d0b['isUploading']){const {isUploading:_0x1e143f,silent:_0x57372d}=Data['getCtx'](_0x24159d)['store'];_0x1e143f&&!_0x57372d&&this['emit'](EventType['FILE_UPLOAD_START'],this['api']['getOutputItem'](_0x24159d));}if(_0x316d0b['fileInfo']){for(const _0x2ab58e of _0x316d0b['fileInfo']){const {fileInfo:_0x58e9ca,silent:_0x36b7d6}=Data['getCtx'](_0x2ab58e)['store'];_0x58e9ca&&!_0x36b7d6&&this['emit'](EventType['FILE_UPLOAD_SUCCESS'],this['api']['getOutputItem'](_0x2ab58e));}this['cfg']['cropPreset']&&this['setInitialCrop'](),this['cfg']['cloudImageEditorAutoOpen']&&this['openCloudImageEditor']();}if(_0x316d0b['errors']){this['validationManager']['runCollectionValidators']();for(const _0x224bc3 of _0x316d0b['errors']){const {errors:_0x51c657}=Data['getCtx'](_0x224bc3)['store'];_0x51c657['length']>0x0&&(this['emit'](EventType['FILE_UPLOAD_FAILED'],this['api']['getOutputItem'](_0x224bc3)),this['emit'](EventType['COMMON_UPLOAD_FAILED'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}));}const _0x35bdcc=_0x348e86['findItems'](_0x36ad8e=>!!_0x36ad8e['getValue']('fileInfo')),_0x1589f6=_0x348e86['findItems'](_0x1b6b13=>_0x1b6b13['getValue']('errors')['length']>0x0);_0x348e86['size']>0x0&&0x0===_0x1589f6['length']&&_0x348e86['size']===_0x35bdcc['length']&&0x0===this['$']['*collectionErrors']['length']&&this['emit'](EventType['COMMON_UPLOAD_SUCCESS'],this['api']['getOutputCollectionState']());}_0x316d0b['cdnUrl']&&([..._0x316d0b['cdnUrl']]['filter'](_0x340829=>!!this['uploadCollection']['read'](_0x340829)?.['getValue']('cdnUrl'))['forEach'](_0x54aadb=>{this['emit'](EventType['FILE_URL_CHANGED'],this['api']['getOutputItem'](_0x54aadb));}),this['$']['*groupInfo']=null);};['_flushCommonUploadProgress']=()=>{let _0x2e4522=0x0;const _0x30303a=[...this['$']['*uploadTrigger']]['filter'](_0x3af540=>!!this['uploadCollection']['read'](_0x3af540));_0x30303a['forEach'](_0x4fc6fd=>{const _0x4ceead=this['uploadCollection']['readProp'](_0x4fc6fd,'uploadProgress');'number'==typeof _0x4ceead&&(_0x2e4522+=_0x4ceead);});const _0x20d2a2=_0x30303a['length']?Math['round'](_0x2e4522/_0x30303a['length']):0x0;this['$']['*commonProgress']!==_0x20d2a2&&(this['$']['*commonProgress']=_0x20d2a2,this['emit'](EventType['COMMON_UPLOAD_PROGRESS'],this['api']['getOutputCollectionState']()));};['openCloudImageEditor'](){const [_0x594173]=this['uploadCollection']['findItems'](_0x25862e=>!!_0x25862e['getValue']('fileInfo')&&_0x25862e['getValue']('isImage'))['map'](_0x5dc555=>this['uploadCollection']['read'](_0x5dc555));_0x594173&&0x1===this['uploadCollection']['size']&&this['cfg']['useCloudImageEditor']&&this['hasBlockInCtx'](_0x4bfd07=>_0x4bfd07['activityType']===ActivityBlock['activities']['CLOUD_IMG_EDIT'])&&(this['$']['*currentActivityParams']={'internalId':_0x594173['uid']},this['$']['*currentActivity']=ActivityBlock['activities']['CLOUD_IMG_EDIT'],this['modalManager']?.['open'](ActivityBlock['activities']['CLOUD_IMG_EDIT']));}['setInitialCrop'](){const _0x5b04c9=parseCropPreset(this['cfg']['cropPreset']);if(_0x5b04c9){const [_0x2fe348]=_0x5b04c9,_0x2fd995=this['uploadCollection']['findItems'](_0x5bca0d=>!!_0x5bca0d['getValue']('fileInfo')&&_0x5bca0d['getValue']('isImage')&&!_0x5bca0d['getValue']('cdnUrlModifiers')?.['includes']('/crop/'))['map'](_0x4e8602=>this['uploadCollection']['read'](_0x4e8602))['filter'](Boolean);for(const _0x5b2963 of _0x2fd995){const _0x83ebf3=_0x5b2963['getValue']('fileInfo');if(!_0x83ebf3||!_0x83ebf3['imageInfo']){console['warn']('Failed\x20to\x20get\x20image\x20info\x20for\x20entry',_0x5b2963['uid']);continue;}const {width:_0x5ad34b,height:_0x52da26}=_0x83ebf3['imageInfo'],_0x200bdd=calculateMaxCenteredCropFrame(_0x5ad34b,_0x52da26,'number'==typeof _0x2fe348?.['width']&&'number'==typeof _0x2fe348?.['height']&&_0x2fe348['width']>0x0&&_0x2fe348['height']>0x0?_0x2fe348['width']/_0x2fe348['height']:0x1),_0x27873e=createCdnUrlModifiers('crop/'+_0x200bdd['width']+'x'+_0x200bdd['height']+'/'+_0x200bdd['x']+','+_0x200bdd['y'],'preview'),_0x22cc1a=_0x5b2963['getValue']('cdnUrl');_0x22cc1a?(_0x5b2963['setMultipleValues']({'cdnUrlModifiers':_0x27873e,'cdnUrl':createCdnUrl(_0x22cc1a,_0x27873e)}),0x1===this['uploadCollection']['size']&&this['cfg']['useCloudImageEditor']&&this['hasBlockInCtx'](_0x248d5a=>_0x248d5a['activityType']===ActivityBlock['activities']['CLOUD_IMG_EDIT'])&&(this['$']['*currentActivityParams']={'internalId':_0x5b2963['uid']},this['$']['*currentActivity']=ActivityBlock['activities']['CLOUD_IMG_EDIT'],this['modalManager']?.['open'](ActivityBlock['activities']['CLOUD_IMG_EDIT']))):console['warn']('Failed\x20to\x20get\x20cdnUrl\x20for\x20entry',_0x5b2963['uid']);}}}async['getMetadataFor'](_0x1b7771){const _0x55b7f=this['cfg']['metadata']||void 0x0;if('function'==typeof _0x55b7f){const _0x903c9a=this['api']['getOutputItem'](_0x1b7771);return await _0x55b7f(_0x903c9a);}return _0x55b7f;}async['getUploadClientOptions'](){const _0x474dea=this['$']['*secureUploadsManager'],_0x5c031c=await _0x474dea['getSecureToken']()['catch'](()=>null);return{'store':this['cfg']['store'],'publicKey':this['cfg']['pubkey'],'baseCDN':this['cfg']['cdnCname'],'baseURL':this['cfg']['baseUrl'],'userAgent':customUserAgent,'integration':this['cfg']['userAgentIntegration'],'secureSignature':_0x5c031c?.['secureSignature'],'secureExpire':_0x5c031c?.['secureExpire'],'retryThrottledRequestMaxTimes':this['cfg']['retryThrottledRequestMaxTimes'],'retryNetworkErrorMaxTimes':this['cfg']['retryNetworkErrorMaxTimes'],'multipartMinFileSize':this['cfg']['multipartMinFileSize'],'multipartChunkSize':this['cfg']['multipartChunkSize'],'maxConcurrentRequests':this['cfg']['multipartMaxConcurrentRequests'],'multipartMaxAttempts':this['cfg']['multipartMaxAttempts'],'checkForUrlDuplicates':!!this['cfg']['checkForUrlDuplicates'],'saveUrlForRecurrentUploads':!!this['cfg']['saveUrlForRecurrentUploads']};}['getOutputData'](){return this['uploadCollection']['items']()['map'](_0x2231a5=>this['api']['getOutputItem'](_0x2231a5));}};_0x14dc68['extSrcList']=Object['freeze']({...ExternalUploadSource}),_0x14dc68['sourceTypes']=Object['freeze']({..._0xdfac6a});var ActivityHeader=class extends ActivityBlock{},_0x1744fa=()=>void 0x0!==navigator['permissions'],_0x1a6a45={'width':{'ideal':0x780},'height':{'ideal':0x438},'frameRate':{'ideal':0x1e}},_0x4ca960=['camera','microphone'];function formatTime(_0x2d017b){return Math['floor'](_0x2d017b/0x3c)['toString']()['padStart'](0x2,'0')+':'+Math['floor'](_0x2d017b%0x3c)['toString']()['padStart'](0x2,'0');}var _0x38f6ab='image/jpeg',_0x53fcba='video/webm',_0x288b21=class extends _0x14dc68{['couldBeCtxOwner']=!0x0;['activityType']=ActivityBlock['activities']['CAMERA'];['_unsubPermissions']=null;['_capturing']=!0x1;['_chunks']=[];['_mediaRecorder']=null;['_stream']=null;['_selectedAudioId']=null;['_selectedCameraId']=null;['_activeTab']=null;['_options']={};['_canvas']=null;['_ctx']=null;['_cameraDevices']=[];['_audioDevices']=[];['_permissionResponses']={};constructor(){super(),this['init$']={...this['init$'],'video':null,'videoTransformCss':null,'videoHidden':!0x0,'messageHidden':!0x0,'requestBtnHidden':_0x1744fa(),'cameraSelectOptions':null,'cameraSelectHidden':!0x0,'l10nMessage':'','switcher':null,'panels':null,'timer':null,'timerHidden':!0x0,'cameraHidden':!0x0,'cameraActionsHidden':!0x0,'audioSelectOptions':null,'audioSelectHidden':!0x0,'audioSelectDisabled':!0x0,'audioToggleMicrophoneHidden':!0x0,'tabCameraHidden':!0x0,'tabVideoHidden':!0x0,'currentIcon':'camera-full','currentTimelineIcon':'play','toggleMicrophoneIcon':'microphone','_startTime':0x0,'_elapsedTime':0x0,'_animationFrameId':null,'mutableClassButton':'uc-shot-btn\x20uc-camera-action','onCameraSelectChange':_0x1679ed=>{const _0x20208d=_0x1679ed['target'];_0x20208d&&(this['_selectedCameraId']=_0x20208d['value'],this['_capture']());},'onAudioSelectChange':_0x521d99=>{const _0x222639=_0x521d99['target'];_0x222639&&(this['_selectedAudioId']=_0x222639['value'],this['_capture']());},'onCancel':()=>{this['historyBack']();},'onShot':()=>{this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'shot-camera','node':this['tagName'],'tabId':this['_activeTab']}}}),this['_shot']();},'onRequestPermissions':()=>this['_capture'](),'onStartCamera':()=>{this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'start-camera','node':this['tagName'],'tabId':this['_activeTab']}}}),this['_chooseActionWithCamera']();},'onStartRecording':()=>this['_startRecording'](),'onStopRecording':()=>this['_stopRecording'](),'onToggleRecording':()=>this['_toggleRecording'](),'onToggleAudio':()=>this['_toggleEnableAudio'](),'onRetake':()=>{this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'retake-camera','node':this['tagName'],'tabId':this['_activeTab']}}}),this['_retake']();},'onAccept':()=>{this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'accept-camera','node':this['tagName'],'tabId':this['_activeTab']}}}),this['_accept']();},'onClickTab':_0x3dba60=>{const _0x1bc047=_0x3dba60['currentTarget'],_0x1dadb4=_0x1bc047?.['getAttribute']('data-id');_0x1dadb4&&this['_handleActiveTab'](_0x1dadb4);}};}['_chooseActionWithCamera']=()=>{if(this['_activeTab']===_0xa0c6ec['PHOTO']&&this['_shot'](),this['_activeTab']===_0xa0c6ec['VIDEO']){if('recording'===this['_mediaRecorder']?.['state'])return void this['_stopRecording']();this['_startRecording']();}};['_updateTimer']=()=>{const _0x2ddb8d=Math['floor']((performance['now']()-this['$']['_startTime']+this['$']['_elapsedTime'])/0x3e8);if('number'==typeof this['cfg']['maxVideoRecordingDuration']&&this['cfg']['maxVideoRecordingDuration']>0x0){const _0x2aaa1f=this['cfg']['maxVideoRecordingDuration']-_0x2ddb8d;if(_0x2aaa1f<=0x0){const _0x3fbbdf=this['ref']['timer'];return _0x3fbbdf&&(_0x3fbbdf['textContent']=formatTime(_0x2aaa1f)),void this['_stopRecording']();}const _0x20a67c=this['ref']['timer'];_0x20a67c&&(_0x20a67c['textContent']=formatTime(_0x2aaa1f));}else{const _0x3fd4d3=this['ref']['timer'];_0x3fd4d3&&(_0x3fd4d3['textContent']=formatTime(_0x2ddb8d));}this['_animationFrameId']=requestAnimationFrame(this['_updateTimer']);};['_startTimer']=()=>{this['$']['_startTime']=performance['now'](),this['$']['_elapsedTime']=0x0,this['_updateTimer']();};['_stopTimer']=()=>{this['_animationFrameId']&&cancelAnimationFrame(this['_animationFrameId']);};['_startTimeline']=()=>{const _0x43043c=this['ref']['video'];if(!_0x43043c)return;const _0x504a65=_0x43043c['currentTime'],_0x1af355=_0x43043c['duration']||0x1,_0x54cf0d=this['ref']['line'];_0x54cf0d&&(_0x54cf0d['style']['transform']='scaleX('+_0x504a65/_0x1af355+')');const _0x5da532=this['ref']['timer'];_0x5da532&&(_0x5da532['textContent']=formatTime(_0x504a65)),this['_animationFrameId']=requestAnimationFrame(this['_startTimeline']);};['_stopTimeline']=()=>{this['_animationFrameId']&&cancelAnimationFrame(this['_animationFrameId']);};['_animationFrameId']=null;['_startRecording']=()=>{try{this['_chunks']=[],this['_options']={...this['cfg']['mediaRecorderOptions']};const {mimeType:_0x140d8b}=this['cfg']['mediaRecorderOptions']||{};_0x140d8b&&MediaRecorder['isTypeSupported'](_0x140d8b)?this['_options']['mimeType']=_0x140d8b:MediaRecorder['isTypeSupported'](_0x53fcba)?this['_options']['mimeType']=_0x53fcba:this['_options']['mimeType']='video/mp4',this['_stream']&&(this['_mediaRecorder']=new MediaRecorder(this['_stream'],this['_options']),this['_mediaRecorder']['start'](),this['_mediaRecorder']['addEventListener']('dataavailable',_0x5c1d41=>{this['_chunks']['push'](_0x5c1d41['data']);}),this['_startTimer'](),this['classList']['add']('uc-recording'),this['_setCameraState'](CameraSourceEvents['PLAY']));}catch(_0x81ab32){console['error']('Failed\x20to\x20start\x20recording',_0x81ab32),this['telemetryManager']['sendEventError'](_0x81ab32,'camera\x20recording.\x20Failed\x20to\x20start\x20recording');}};['_stopRecording']=()=>{this['_mediaRecorder']?.['addEventListener']('stop',()=>{this['_previewVideo'](),this['_stopTimer'](),this['_setCameraState'](CameraSourceEvents['STOP']);}),this['_mediaRecorder']?.['stop'](),this['classList']['remove']('uc-recording'),this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'stop-camera','node':this['tagName'],'tabId':this['_activeTab']}}});};['_toggleRecording']=()=>{'recording'!==this['_mediaRecorder']?.['state']&&(!this['ref']['video']['paused']&&!this['ref']['video']['ended']&&this['ref']['video']['readyState']>0x2?this['ref']['video']['pause']():this['ref']['video']['paused']&&this['ref']['video']['play']());};['_toggleEnableAudio']=()=>{this['_stream']?.['getAudioTracks']()['forEach'](_0x58be10=>{_0x58be10['enabled']=!_0x58be10['enabled'],this['$']['toggleMicrophoneIcon']=_0x58be10['enabled']?'microphone':'microphone-mute',this['$']['audioSelectDisabled']=!_0x58be10['enabled'];});};['_previewVideo']=()=>{try{const _0x3afb8a=new Blob(this['_chunks'],{'type':this['_mediaRecorder']?.['mimeType']}),_0x331ac0=URL['createObjectURL'](_0x3afb8a),_0x464704=this['ref']['video'];if(!_0x464704)return;_0x464704['muted']=!0x1,_0x464704['volume']=0x1,this['$']['video']=null,_0x464704['src']=_0x331ac0,_0x464704['addEventListener']('play',()=>{this['_startTimeline'](),this['set$']({'currentTimelineIcon':'pause'});}),_0x464704['addEventListener']('pause',()=>{this['set$']({'currentTimelineIcon':'play'}),this['_stopTimeline']();});}catch(_0x5c5a27){console['error']('Failed\x20to\x20preview\x20video',_0x5c5a27),this['telemetryManager']['sendEventError'](_0x5c5a27,'camera\x20previewing.\x20Failed\x20to\x20preview\x20video');}};['_retake']=()=>{if(this['_setCameraState'](CameraSourceEvents['RETAKE']),this['_activeTab']===_0xa0c6ec['VIDEO']){this['$']['video']=this['_stream'];const _0x35858c=this['ref']['video'];_0x35858c&&(_0x35858c['muted']=!0x0);}this['ref']['video']?.['play']?.();};['_accept']=()=>{if(this['_setCameraState'](CameraSourceEvents['ACCEPT']),this['_activeTab']===_0xa0c6ec['PHOTO'])return void this['_canvas']?.['toBlob'](_0x1ede81=>{if(!_0x1ede81)return;const _0x15c1c3=this['_createFile']('camera','jpeg',_0x38f6ab,_0x1ede81);this['_toSend'](_0x15c1c3);},_0x38f6ab);const _0x5335af=new Blob(this['_chunks'],{'type':this['_mediaRecorder']?.['mimeType']}),_0x5d7fd7=this['_guessExtensionByMime'](this['_mediaRecorder']?.['mimeType']),_0x37b105=this['_createFile']('video',_0x5d7fd7,'video/'+_0x5d7fd7,_0x5335af);this['_toSend'](_0x37b105),this['_chunks']=[];};['_handlePhoto']=_0x370b22=>{_0x370b22===CameraSourceEvents['SHOT']&&this['set$']({'tabVideoHidden':!0x0,'cameraHidden':!0x0,'tabCameraHidden':!0x0,'cameraActionsHidden':!0x1,'cameraSelectHidden':!0x0}),_0x370b22!==CameraSourceEvents['RETAKE']&&_0x370b22!==CameraSourceEvents['ACCEPT']||this['set$']({'tabVideoHidden':!this['_cameraModes']['includes'](_0xa0c6ec['VIDEO']),'tabCameraHidden':!this['_cameraModes']['includes'](_0xa0c6ec['PHOTO']),'cameraHidden':!0x1,'cameraActionsHidden':!0x0,'cameraSelectHidden':this['_cameraDevices']['length']<=0x1});};['_handleVideo']=_0x4d2682=>{_0x4d2682===CameraSourceEvents['PLAY']&&this['set$']({'timerHidden':!0x1,'tabCameraHidden':!0x0,'cameraSelectHidden':!0x0,'audioSelectHidden':!0x0,'currentTimelineIcon':'pause','currentIcon':'square','mutableClassButton':'uc-shot-btn\x20uc-camera-action\x20uc-stop-record'}),_0x4d2682===CameraSourceEvents['STOP']&&this['set$']({'timerHidden':!0x1,'cameraHidden':!0x0,'audioToggleMicrophoneHidden':!0x0,'cameraActionsHidden':!0x1}),_0x4d2682!==CameraSourceEvents['RETAKE']&&_0x4d2682!==CameraSourceEvents['ACCEPT']||this['set$']({'timerHidden':!0x0,'tabVideoHidden':!this['_cameraModes']['includes'](_0xa0c6ec['VIDEO']),'tabCameraHidden':!this['_cameraModes']['includes'](_0xa0c6ec['PHOTO']),'cameraHidden':!0x1,'cameraActionsHidden':!0x0,'audioToggleMicrophoneHidden':!this['cfg']['enableAudioRecording'],'currentIcon':'video-camera-full','mutableClassButton':'uc-shot-btn\x20uc-camera-action','audioSelectHidden':!this['cfg']['enableAudioRecording']||this['_audioDevices']['length']<=0x1,'cameraSelectHidden':this['_cameraDevices']['length']<=0x1});};['_setCameraState']=_0xbd7fd4=>{this['_activeTab']!==_0xa0c6ec['PHOTO']||'shot'!==_0xbd7fd4&&'retake'!==_0xbd7fd4&&'accept'!==_0xbd7fd4||this['_handlePhoto'](_0xbd7fd4),this['_activeTab']!==_0xa0c6ec['VIDEO']||'play'!==_0xbd7fd4&&'stop'!==_0xbd7fd4&&'retake'!==_0xbd7fd4&&'accept'!==_0xbd7fd4&&'pause'!==_0xbd7fd4&&'resume'!==_0xbd7fd4||this['_handleVideo'](_0xbd7fd4);};['_shot'](){if(this['_setCameraState']('shot'),this['_canvas']=document['createElement']('canvas'),this['_ctx']=this['_canvas']['getContext']('2d'),!this['_ctx'])throw new Error('Failed\x20to\x20get\x20canvas\x20context');this['_canvas']['height']=this['ref']['video']['videoHeight'],this['_canvas']['width']=this['ref']['video']['videoWidth'],this['cfg']['cameraMirror']&&(this['_ctx']['translate'](this['_canvas']['width'],0x0),this['_ctx']['scale'](-0x1,0x1)),this['_ctx']['drawImage'](this['ref']['video'],0x0,0x0),this['ref']['video']['pause']();}['_handleActiveTab']=_0x4044b0=>{const _0x43ffcf=this['ref']['switcher'];_0x43ffcf?.['querySelectorAll']('button')['forEach'](_0x5e6494=>{_0x5e6494['classList']['toggle']('uc-active',_0x5e6494['getAttribute']('data-id')===_0x4044b0);}),_0x4044b0===_0xa0c6ec['PHOTO']&&this['set$']({'currentIcon':'camera-full','audioSelectHidden':!0x0,'audioToggleMicrophoneHidden':!0x0}),_0x4044b0===_0xa0c6ec['VIDEO']&&this['set$']({'currentTimelineIcon':'play','currentIcon':'video-camera-full','audioSelectHidden':!this['cfg']['enableAudioRecording']||this['_audioDevices']['length']<=0x1,'audioToggleMicrophoneHidden':!this['cfg']['enableAudioRecording']}),this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'camera-tab-switch','node':this['tagName'],'tabId':_0x4044b0}}}),this['_activeTab']=_0x4044b0;};['_createFile']=(_0x15a300,_0x2c8a06,_0x330b57,_0x16164f)=>{const _0x395371=Date['now']();return new File([_0x16164f],_0x15a300+'-'+_0x395371+'.'+_0x2c8a06,{'lastModified':_0x395371,'type':_0x330b57});};['_guessExtensionByMime'](_0x12e2e2){const _0x242114={'mp4':'mp4','ogg':'ogg','webm':'webm','quicktime':'mov','x-matroska':'mkv'};if(''===_0x12e2e2)return'webm';if(_0x12e2e2){const _0x183e16=_0x12e2e2['split']('/');if('video'===_0x183e16?.[0x0]){const _0x479b96=_0x183e16['slice'](0x1)['join']('/'),_0x4b4af9=_0x479b96?.['split'](';')[0x0];if(_0x4b4af9&&_0x242114[_0x4b4af9])return _0x242114[_0x4b4af9];}}return'avi';}['_toSend']=_0x48265b=>{this['api']['addFileFromObject'](_0x48265b,{'source':_0xdfac6a['CAMERA']}),this['set$']({'*currentActivity':ActivityBlock['activities']['UPLOAD_LIST']}),this['modalManager']?.['open'](ActivityBlock['activities']['UPLOAD_LIST']);};get['_cameraModes'](){return stringToArray(this['cfg']['cameraModes'])['filter'](_0x5380e5=>_0x5380e5===_0xa0c6ec['PHOTO']||_0x5380e5===_0xa0c6ec['VIDEO']);}['_setPermissionsState']=_0x491199(e=>{this['classList']['toggle']('uc-initialized','granted'===e);const i=this['_activeTab']===_0xa0c6ec['VIDEO']&&this['cfg']['enableAudioRecording'],n=this['_activeTab']===_0xa0c6ec['PHOTO']?'camera-full':'video-camera-full';'granted'===e?this['set$']({'videoHidden':!0x1,'cameraHidden':!0x1,'tabCameraHidden':!this['_cameraModes']['includes'](_0xa0c6ec['PHOTO']),'tabVideoHidden':!this['_cameraModes']['includes'](_0xa0c6ec['VIDEO']),'messageHidden':!0x0,'timerHidden':!0x0,'currentIcon':n,'audioToggleMicrophoneHidden':!i,'audioSelectHidden':!i}):'prompt'===e?(this['$']['l10nMessage']='camera-permissions-prompt',this['set$']({'videoHidden':!0x0,'cameraHidden':!0x0,'tabCameraHidden':!0x0,'messageHidden':!0x1}),this['_stopCapture']()):(this['$']['l10nMessage']='camera-permissions-denied',this['set$']({'videoHidden':!0x0,'messageHidden':!0x1,'tabCameraHidden':!this['_cameraModes']['includes'](_0xa0c6ec['PHOTO']),'tabVideoHidden':!this['_cameraModes']['includes'](_0xa0c6ec['VIDEO']),'cameraActionsHidden':!0x0,'mutableClassButton':'uc-shot-btn\x20uc-camera-action'}),this['_stopCapture']());},0x12c);['_makeStreamInactive']=()=>{if(!this['_stream'])return!0x1;const _0x5d465b=this['_stream']?.['getAudioTracks'](),_0x447a4f=this['_stream']?.['getVideoTracks']();return _0x5d465b['forEach'](_0xf09e02=>{_0xf09e02['stop']();}),_0x447a4f['forEach'](_0x566b6f=>{_0x566b6f['stop']();}),!0x0;};['_stopCapture']=()=>{if(this['_capturing']){this['ref']['video']['volume']=0x0;const _0x1da5c6=this['$']['video']?.['getTracks']?.();_0x1da5c6?.[0x0]?.['stop'](),this['$']['video']=null,this['_makeStreamInactive'](),this['_stopTimer'](),this['_capturing']=!0x1;}};['_capture']=async()=>{const _0x492d0d={'video':{..._0x1a6a45},'audio':!!this['cfg']['enableAudioRecording']&&{}};this['_selectedCameraId']&&(_0x492d0d['video']={'deviceId':{'exact':this['_selectedCameraId']}}),this['_selectedAudioId']&&this['cfg']['enableAudioRecording']&&(_0x492d0d['audio']={'deviceId':{'exact':this['_selectedAudioId']}}),this['ref']['video']&&(this['ref']['video']['volume']=0x0);try{this['_setPermissionsState']('prompt'),this['_stream']=await navigator['mediaDevices']['getUserMedia'](_0x492d0d),this['_stream']['addEventListener']('inactive',()=>{this['_setPermissionsState']('denied');}),this['$']['video']=this['_stream'],this['_capturing']=!0x0,this['_setPermissionsState']('granted');}catch(_0x14d300){this['_setPermissionsState']('denied'),console['log']('Failed\x20to\x20capture\x20camera',_0x14d300),this['telemetryManager']['sendEventError'](_0x14d300,'camera\x20capturing.\x20Failed\x20to\x20capture\x20camera');}};['_handlePermissionsChange']=()=>{this['_capture']();};['_permissionAccess']=async()=>{try{for(const _0x2a2a9f of _0x4ca960){const _0x5154f9=await navigator['permissions']['query']({'name':_0x2a2a9f});this['_permissionResponses'][_0x2a2a9f]=_0x5154f9,_0x5154f9['addEventListener']('change',this['_handlePermissionsChange']);}}catch(_0x4aa591){console['log']('Failed\x20to\x20use\x20permissions\x20API.\x20Fallback\x20to\x20manual\x20request\x20mode.',_0x4aa591),this['telemetryManager']['sendEventError'](_0x4aa591,'camera\x20permissions.\x20Failed\x20to\x20use\x20permissions\x20API'),this['_capture']();}};['_getPermission']=()=>{};['_requestDeviceAccess']=async()=>{try{await navigator['mediaDevices']['getUserMedia']({'video':!0x0,'audio':this['cfg']['enableAudioRecording']}),await this['_getDevices'](),navigator['mediaDevices']['addEventListener']('devicechange',this['_getDevices']);}catch(_0x1ed913){this['telemetryManager']['sendEventError'](_0x1ed913,'camera\x20devices.\x20Failed\x20to\x20get\x20user\x20media'),console['log']('Failed\x20to\x20get\x20user\x20media',_0x1ed913);}};['_getDevices']=async()=>{try{const _0x2d4004=await navigator['mediaDevices']['enumerateDevices']();this['_cameraDevices']=_0x2d4004['filter'](_0x4e5e39=>'videoinput'===_0x4e5e39['kind'])['map']((_0x38a03d,_0x5ab71d)=>({'text':_0x38a03d['label']['trim']()||this['l10n']('caption-camera')+'\x20'+(_0x5ab71d+0x1),'value':_0x38a03d['deviceId']})),this['_audioDevices']=this['cfg']['enableAudioRecording']?_0x2d4004['filter'](_0x55c54d=>'audioinput'===_0x55c54d['kind'])['map'](_0x535b21=>({'text':_0x535b21['label']['trim'](),'value':_0x535b21['deviceId']})):[],this['_cameraDevices']['length']>0x1&&this['set$']({'cameraSelectOptions':this['_cameraDevices'],'cameraSelectHidden':!0x1}),this['_selectedCameraId']=this['_cameraDevices'][0x0]?.['value']??null,this['_audioDevices']['length']>0x1&&this['set$']({'audioSelectOptions':this['_audioDevices'],'audioSelectHidden':!0x1}),this['_selectedAudioId']=this['_audioDevices'][0x0]?.['value']??null;}catch(_0x270733){this['telemetryManager']['sendEventError'](_0x270733,'camera\x20devices.\x20Failed\x20to\x20get\x20devices'),console['log']('Failed\x20to\x20get\x20devices',_0x270733);}};['_onActivate']=async()=>{await this['_permissionAccess'](),await this['_requestDeviceAccess'](),await this['_capture'](),this['_handleCameraModes'](this['_cameraModes']);};['_onDeactivate']=async()=>{this['_unsubPermissions']&&this['_unsubPermissions'](),(Boolean(window['chrome'])||this['_setPermissionsState']('denied'),this['_stopCapture']());};['_handleCameraModes']=_0x599159=>{this['$']['tabVideoHidden']=!_0x599159['includes'](_0xa0c6ec['VIDEO']),this['$']['tabCameraHidden']=!_0x599159['includes'](_0xa0c6ec['PHOTO']);const _0x588a41=_0x599159[0x0];!_0x588a41||this['_activeTab']&&_0x599159['includes'](this['_activeTab'])||this['_handleActiveTab'](_0x588a41);};['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType'],{'onActivate':this['_onActivate'],'onDeactivate':this['_onDeactivate']}),this['subConfigValue']('cameraMirror',_0x2a8dd3=>{this['$']['videoTransformCss']=_0x2a8dd3?'scaleX(-1)':null;}),this['subConfigValue']('enableAudioRecording',_0x497b0d=>{this['$']['audioToggleMicrophoneHidden']=!_0x497b0d,this['$']['audioSelectDisabled']=!_0x497b0d;}),this['subConfigValue']('cameraModes',_0x5d9191=>{if(!this['isActivityActive'])return;const _0x121e3e=_0x40941e(_0x5d9191);this['_handleCameraModes'](_0x121e3e['filter'](_0x1f5304=>_0x1f5304===_0xa0c6ec['PHOTO']||_0x1f5304===_0xa0c6ec['VIDEO']));});}['_destroy'](){for(const _0xc47e1d of _0x4ca960)this['_permissionResponses'][_0xc47e1d]?.['removeEventListener']('change',this['_handlePermissionsChange']);navigator['mediaDevices']?.['removeEventListener']('devicechange',this['_getDevices']);}async['destroyCallback'](){super['destroyCallback'](),this['_destroy']();}};_0x288b21['template']='\x0a\x20\x20<uc-activity-header>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-mini-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20*historyBack\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22@title:back\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22back\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20<div\x20set=\x22@hidden:\x20!cameraSelectHidden\x22>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22camera\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20<span\x20l10n=\x22caption-camera\x22></span>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20<uc-select\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-camera-select\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22$.options:\x20cameraSelectOptions;\x20@hidden:\x20cameraSelectHidden;\x20onchange:\x20onCameraSelectChange\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20</uc-select>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-mini-btn\x20uc-close-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20*closeModal\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22@title:a11y-activity-header-button-close;@aria-label:a11y-activity-header-button-close\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22close\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20</uc-activity-header>\x0a\x20\x20<div\x20class=\x22uc-content\x22>\x0a\x20\x20\x20\x20<video\x0a\x20\x20\x20\x20\x20\x20muted\x0a\x20\x20\x20\x20\x20\x20autoplay\x0a\x20\x20\x20\x20\x20\x20playsinline\x0a\x20\x20\x20\x20\x20\x20set=\x22srcObject:\x20video;\x20style.transform:\x20videoTransformCss;\x20@hidden:\x20videoHidden\x22\x0a\x20\x20\x20\x20\x20\x20ref=\x22video\x22\x0a\x20\x20\x20\x20></video>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-message-box\x22\x20set=\x22@hidden:\x20messageHidden\x22>\x0a\x20\x20\x20\x20\x20\x20<span\x20l10n=\x22l10nMessage\x22></span>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onRequestPermissions;\x20@hidden:\x20requestBtnHidden\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20l10n=\x22camera-permissions-request\x22\x0a\x20\x20\x20\x20\x20\x20></button>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</div>\x0a\x0a\x20\x20<div\x20class=\x22uc-controls\x22>\x0a\x20\x20\x20\x20<div\x20ref=\x22switcher\x22\x20class=\x22uc-switcher\x22\x20set=\x22@hidden:!timerHidden\x22>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20data-id=\x22photo\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-switch\x20uc-mini-btn\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onClickTab;\x20\x20@hidden:\x20tabCameraHidden\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22camera\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20data-id=\x22video\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-switch\x20uc-mini-btn\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onClickTab;\x20@hidden:\x20tabVideoHidden\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22video-camera\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20</div>\x0a\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-secondary-btn\x20uc-recording-timer\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22@hidden:timerHidden;\x20onclick:\x20onToggleRecording\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20set=\x22@name:\x20currentTimelineIcon\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20<span\x20ref=\x22timer\x22>\x2000:00\x20</span>\x0a\x20\x20\x20\x20\x20\x20<span\x20ref=\x22line\x22\x20class=\x22uc-line\x22></span>\x0a\x20\x20\x20\x20</button>\x0a\x0a\x20\x20\x20\x20<div\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-camera-actions\x20uc-camera-action\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22@hidden:\x20cameraActionsHidden\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22uc-secondary-btn\x22\x20set=\x22onclick:\x20onRetake\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20Retake\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-primary-btn\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onAccept\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20data-testid=\x22accept\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20Accept\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20</div>\x0a\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-shot-btn\x20uc-camera-action\x22\x0a\x20\x20\x20\x20\x20\x20data-testid=\x22shot\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onStartCamera;\x20@class:\x20mutableClassButton;\x20@hidden:\x20cameraHidden;\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20set=\x22@name:\x20currentIcon\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x0a\x20\x20\x20\x20<div\x20class=\x22uc-select\x22>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-mini-btn\x20uc-btn-microphone\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onToggleAudio;\x20@hidden:\x20audioToggleMicrophoneHidden;\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20set=\x22@name:toggleMicrophoneIcon\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x0a\x20\x20\x20\x20\x20\x20<uc-select\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-audio-select\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22$.options:\x20audioSelectOptions;\x20onchange:\x20onAudioSelectChange;\x20@hidden:\x20audioSelectHidden;\x20@disabled:\x20audioSelectDisabled\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20</uc-select>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</div>\x0a';var _0x25b520='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=';function _0x522701(..._0x4ddd16){return _0x4ddd16['reduce']((_0x42ae5e,_0x36c8ae)=>{if('string'==typeof _0x36c8ae)return _0x42ae5e[_0x36c8ae]=!0x0,_0x42ae5e;for(const _0x4c4517 of Object['keys'](_0x36c8ae))_0x42ae5e[_0x4c4517]=_0x36c8ae[_0x4c4517];return _0x42ae5e;},{});}function _0x2d3bf7(..._0xae8397){const _0x29ef45=_0x522701(..._0xae8397);return Object['keys'](_0x29ef45)['reduce']((_0x5c5e49,_0x1e5b06)=>(_0x29ef45[_0x1e5b06]&&_0x5c5e49['push'](_0x1e5b06),_0x5c5e49),[])['join']('\x20');}function _0x148219(_0x3a6525,..._0x55c977){const _0x2d7e21=_0x522701(..._0x55c977);for(const _0x42a58d of Object['keys'](_0x2d7e21))_0x3a6525['classList']['toggle'](_0x42a58d,Boolean(_0x2d7e21[_0x42a58d]));}var _0x51c791=_0x6e169a=>_0x53655e['includes'](_0x6e169a),_0x207861=_0x1828d5=>{if(!_0x1828d5)return _0x53655e;const _0x4396c0=_0x40941e(_0x1828d5)['filter'](_0x51c791);return 0x0===_0x4396c0['length']?_0x53655e:_0x4396c0;};function initState(_0x1edfcb){return{'*originalUrl':null,'*faderEl':null,'*cropperEl':null,'*imgEl':null,'*imgContainerEl':null,'*networkProblems':!0x1,'*imageSize':null,'*editorTransformations':{},'*cropPresetList':[],'*currentAspectRatio':null,'*tabList':_0x53655e,'*tabId':_0x3aa6c4['CROP'],'entry':null,'extension':null,'editorMode':!0x1,'modalCaption':'','isImage':!0x1,'msg':'','src':_0x25b520,'fileType':'','showLoader':!0x1,'uuid':null,'cdnUrl':null,'cropPreset':'','tabs':_0x12bad6([..._0x53655e]),'presence.networkProblems':!0x1,'presence.modalCaption':!0x0,'presence.editorToolbar':!0x1,'presence.viewerToolbar':!0x0,'*on.retryNetwork':()=>{const _0x2eec67=_0x1edfcb['querySelectorAll']('img');for(const _0x1eeb47 of _0x2eec67){const _0x2d69fc=_0x1eeb47['src'];_0x1eeb47['src']=_0x25b520,_0x1eeb47['src']=_0x2d69fc;}_0x1edfcb['$']['*networkProblems']=!0x1;},'*on.apply':_0x4301a5=>{if(!_0x4301a5)return;const _0x69f14b=_0x1edfcb['$']['*originalUrl'],_0x3f94a3=createCdnUrlModifiers(transformationsToOperations(_0x4301a5),'preview'),_0x2f49e7={'originalUrl':_0x69f14b,'cdnUrlModifiers':_0x3f94a3,'cdnUrl':createCdnUrl(_0x69f14b,_0x3f94a3),'transformations':_0x4301a5};_0x1edfcb['dispatchEvent'](new CustomEvent('apply',{'detail':_0x2f49e7,'bubbles':!0x0,'composed':!0x0})),_0x1edfcb['remove']();},'*on.cancel':()=>{_0x1edfcb['remove'](),_0x1edfcb['dispatchEvent'](new CustomEvent('cancel',{'bubbles':!0x0,'composed':!0x0}));}};}var svg_sprite_default2='<svg\x20width=\x270\x27\x20height=\x270\x27\x20style=\x27position:absolute\x27><symbol\x20fill=\x27none\x27\x20viewBox=\x270\x200\x209\x206\x27\x20id=\x27uc-icon-arrow-dropdown\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke=\x27currentColor\x27\x20d=\x27m1.5\x201.667\x203\x202.666\x203-2.666\x27\x20opacity=\x27.5\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-aspect-ratio\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27/><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-brightness\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M15\x2010a5\x205\x200\x200\x201-5\x205m5-5a5\x205\x200\x200\x200-5-5m5\x205h-5m0\x205a5\x205\x200\x200\x201\x200-10m0\x2010V5m0\x2015v-3M2.93\x202.929\x205.05\x205.05M0\x2010h3m-.07\x207.071\x202.12-2.121M10\x200v3m7.07\x2014.071-2.12-2.121M20\x2010h-3m.07-7.071L14.95\x205.05m-.626\x202.45H10m4.324\x205H10\x27/></symbol><symbol\x20fill=\x27currentColor\x27\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-closeMax\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill-rule=\x27evenodd\x27\x20d=\x27M8.232\x2010\x203.585\x205.353l1.768-1.768L10\x208.232l4.648-4.647\x201.767\x201.768L11.768\x2010l4.647\x204.648-1.767\x201.767L10\x2011.768l-4.647\x204.647-1.768-1.767L8.232\x2010Z\x27\x20clip-rule=\x27evenodd\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-contrast\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M2\x2010a8\x208\x200\x201\x200\x2016\x200\x208\x208\x200\x201\x200-16\x200m8-8v16m8-8h-8m7.598\x202.5H10m6.24\x202.5H10m7.6-7.5H10M16.242\x205H10\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-crop\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M20\x2014H7.005C6.45\x2014\x206\x2013.55\x206\x2012.995V0M0\x206h13.067c.515\x200\x20.933.418.933.933V20M14.5.4\x2013\x202l1.5\x201.6M13\x202h2a3\x203\x200\x200\x201\x203\x203v2M5.5\x2019.6\x207\x2018l-1.5-1.6M7\x2018H5a3\x203\x200\x200\x201-3-3v-2\x27/></symbol><symbol\x20fill=\x27currentColor\x27\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-done\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill-rule=\x27evenodd\x27\x20d=\x27m18.057\x206.333-9.365\x209.125a1.25\x201.25\x200\x200\x201-1.768-.023L1.92\x2010.296l1.791-1.744\x204.132\x204.243\x208.47-8.253\x201.744\x201.79Z\x27\x20clip-rule=\x27evenodd\x27/></symbol><symbol\x20fill=\x27currentColor\x27\x20viewBox=\x270\x200\x2025\x2024\x27\x20id=\x27uc-icon-edit-file\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill-rule=\x27evenodd\x27\x20d=\x27M18.558\x202.804a.78.78\x200\x200\x200-.557.235l-.008.007-2.472\x202.46\x203.847\x203.848\x202.46-2.473.004-.003a.78.78\x200\x200\x200\x200-1.108l-.004-.003-2.712-2.728a.78.78\x200\x200\x200-.558-.235Zm-.248\x207.613-3.852-3.852-8.93\x208.887-1.516\x205.41\x205.41-1.515\x208.888-8.93Zm-.636-8.934a2.28\x202.28\x200\x200\x201\x202.512.505l2.702\x202.717.002.002a2.278\x202.278\x200\x200\x201\x200\x203.234l-.002.002-12.541\x2012.602a.75.75\x200\x200\x201-.33.193l-6.884\x201.928a.75.75\x200\x200\x201-.925-.924l1.928-6.885a.75.75\x200\x200\x201\x20.193-.33l12.603-12.54a2.28\x202.28\x200\x200\x201\x20.742-.504Z\x27\x20clip-rule=\x27evenodd\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-enhance\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M19\x2013h-2m0\x200a4\x204\x200\x200\x201-4-4m4\x204a4\x204\x200\x200\x200-4\x204m0-8V7m0\x202a4\x204\x200\x200\x201-4\x204m-2\x200h2m0\x200a4\x204\x200\x200\x201\x204\x204m0\x200v2M8\x208.5H6.5m0\x200a2\x202\x200\x200\x201-2-2m2\x202a2\x202\x200\x200\x200-2\x202m0-4V5m0\x201.5a2\x202\x200\x200\x201-2\x202M1\x208.5h1.5m0\x200a2\x202\x200\x200\x201\x202\x202m0\x200V12M12\x203h-1m0\x200a1\x201\x200\x200\x201-1-1m1\x201a1\x201\x200\x200\x200-1\x201m0-2V1m0\x201a1\x201\x200\x200\x201-1\x201M8\x203h1m0\x200a1\x201\x200\x200\x201\x201\x201m0\x200v1\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-exposure\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M10\x2020v-3M2.93\x202.929\x205.05\x205.05M0\x2010h3m-.07\x207.071\x202.12-2.121M10\x200v3m7.07\x2014.071-2.12-2.121M20\x2010h-3m.07-7.071L14.95\x205.05M5\x2010a5\x205\x200\x201\x200\x2010\x200\x205\x205\x200\x201\x200-10\x200\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-filters\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M4.5\x206.5a5.5\x205.5\x200\x201\x200\x2011\x200\x205.5\x205.5\x200\x201\x200-11\x200m-3.5\x206a5.5\x205.5\x200\x201\x200\x2011\x200\x205.5\x205.5\x200\x201\x200-11\x200m7\x200a5.5\x205.5\x200\x201\x200\x2011\x200\x205.5\x205.5\x200\x201\x200-11\x200\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-flip\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M19.6\x205\x2018\x203.5\x2016.4\x205m3.2\x2010L18\x2016.5\x2016.4\x2015M18\x203.523v12.954M3.3\x208.5h10.654c.301\x200\x20.415-.395.159-.554L3.459\x201.286A.3.3\x200\x200\x200\x203\x201.542V8.2a.3.3\x200\x200\x200\x20.3.3zm0\x203h10.654c.301\x200\x20.415.395.159.554l-10.654\x206.66A.3.3\x200\x200\x201\x203\x2018.458v-6.66a.3.3\x200\x200\x201\x20.3-.3z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-gamma\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M17\x203C9\x206\x202.5\x2011.5\x202.5\x2017.5m0\x200h1m-1\x200v-1m14\x201h1m-3\x200h1m-3\x200h1m-3\x200h1m-3\x200h1m-3\x200h1m-3\x200h1m-3-14v-1m0\x203v-1m0\x203v-1m0\x203v-1m0\x203v-1m0\x203v-1m0\x203v-1\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-mirror\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M5\x20.4\x203.5\x202\x205\x203.6M15\x20.4\x2016.5\x202\x2015\x203.6M3.52\x202h12.957M8.5\x2016.7V6.046c0-.301-.394-.415-.554-.159L1.287\x2016.541a.3.3\x200\x200\x200\x20.255.459H8.2a.3.3\x200\x200\x200\x20.3-.3zm3\x200V6.046c0-.301.395-.415.555-.159l6.659\x2010.654a.3.3\x200\x200\x201-.255.459H11.8a.3.3\x200\x200\x201-.3-.3z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2040\x2040\x27\x20id=\x27uc-icon-original\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.5\x27\x20d=\x27M0\x2040\x2040\x200\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-rotate\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M13.5.4\x2012\x202l1.5\x201.6M12.023\x202H14.4A3.6\x203.6\x200\x200\x201\x2018\x205.6V8M4\x2017h9a1\x201\x200\x200\x200\x201-1V7a1\x201\x200\x200\x200-1-1H4a1\x201\x200\x200\x200-1\x201v9a1\x201\x200\x200\x200\x201\x201z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-sad\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M2\x2017c4.418-4\x2011.582-4\x2016\x200M16.5\x205a1\x201\x200\x201\x201-2\x200\x201\x201\x200\x200\x201\x202\x200zm-11\x200a1\x201\x200\x201\x201-2\x200\x201\x201\x200\x200\x201\x202\x200z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-saturation\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><defs><linearGradient\x20id=\x27ruc-icon-id__a\x27\x20x1=\x2710.001\x27\x20y1=\x271\x27\x20x2=\x2710.001\x27\x20y2=\x2719\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient></defs><circle\x20cx=\x2710.001\x27\x20cy=\x2710\x27\x20r=\x279\x27\x20transform=\x27rotate(90\x2010\x2010)\x27\x20fill=\x27url(#ruc-icon-id__a)\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-slider\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M0\x2010h11m0\x200a2\x202\x200\x201\x200\x204\x200m-4\x200a2\x202\x200\x201\x201\x204\x200m0\x200h5\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-tuning\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M8\x2010h11M1\x2010h4M1\x204.5h11m3\x200h4m-18\x2011h11m3\x200h4m-7-11a1.5\x201.5\x200\x201\x200\x203\x200\x201.5\x201.5\x200\x201\x200-3\x200M5\x2010a1.5\x201.5\x200\x201\x200\x203\x200\x201.5\x201.5\x200\x201\x200-3\x200m7\x205.5a1.5\x201.5\x200\x201\x200\x203\x200\x201.5\x201.5\x200\x201\x200-3\x200\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-vibrance\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20d=\x27M2.125\x205.64A8.96\x208.96\x200\x200\x200\x201.001\x2010a8.96\x208.96\x200\x200\x200\x201.124\x204.36V5.64z\x27\x20fill=\x27url(#uuc-icon-id__a)\x27/><path\x20d=\x27M2.875\x2015.499V4.502a9.053\x209.053\x200\x200\x201\x201.75-1.72v14.437a9.05\x209.05\x200\x200\x201-1.75-1.72z\x27\x20fill=\x27url(#uuc-icon-id__b)\x27/><path\x20d=\x27M5.375\x2017.722c.548.33\x201.134.601\x201.75.809V1.469a8.956\x208.956\x200\x200\x200-1.75.81v15.443z\x27\x20fill=\x27url(#uuc-icon-id__c)\x27/><path\x20d=\x27M7.875\x201.253v17.495c.564.136\x201.15.22\x201.75.244V1.008a9\x209\x200\x200\x200-1.75.245z\x27\x20fill=\x27url(#uuc-icon-id__d)\x27/><path\x20d=\x27M10.375\x201.008v17.984a9\x209\x200\x200\x200\x201.75-.244V1.252a9\x209\x200\x200\x200-1.75-.244z\x27\x20fill=\x27url(#uuc-icon-id__e)\x27/><path\x20d=\x27M12.875\x201.469V18.53a8.957\x208.957\x200\x200\x200\x201.75-.808V2.277a8.957\x208.957\x200\x200\x200-1.75-.808z\x27\x20fill=\x27url(#uuc-icon-id__f)\x27/><path\x20d=\x27M15.375\x202.78v14.44a9.053\x209.053\x200\x200\x200\x201.75-1.72v-11a9.054\x209.054\x200\x200\x200-1.75-1.72z\x27\x20fill=\x27url(#uuc-icon-id__g)\x27/><path\x20d=\x27M17.875\x205.638v8.724A8.959\x208.959\x200\x200\x200\x2019.001\x2010a8.96\x208.96\x200\x200\x200-1.126-4.362z\x27\x20fill=\x27url(#uuc-icon-id__h)\x27/><defs><linearGradient\x20id=\x27uuc-icon-id__a\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27uuc-icon-id__b\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27uuc-icon-id__c\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27uuc-icon-id__d\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27uuc-icon-id__e\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27uuc-icon-id__f\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27uuc-icon-id__g\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27uuc-icon-id__h\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient></defs></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-warmth\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20d=\x27m7.5\x2013.05.429.42.171-.175v-.244h-.6zm5\x200h-.6v.245l.172.175.428-.42zM8.1\x203.5c0-1.05.85-1.9\x201.9-1.9V.4a3.1\x203.1\x200\x200\x200-3.1\x203.1h1.2zm0\x209.55V3.5H6.9v9.55h1.2zm-1\x202.45c0-.79.315-1.506.829-2.03l-.858-.84A4.088\x204.088\x200\x200\x200\x205.9\x2015.5h1.2zm2.9\x202.9a2.9\x202.9\x200\x200\x201-2.9-2.9H5.9a4.1\x204.1\x200\x200\x200\x204.1\x204.1v-1.2zm2.9-2.9a2.9\x202.9\x200\x200\x201-2.9\x202.9v1.2a4.1\x204.1\x200\x200\x200\x204.1-4.1h-1.2zm-.829-2.03c.514.524.829\x201.24.829\x202.03h1.2c0-1.117-.447-2.13-1.171-2.87l-.858.84zM11.9\x203.5v9.55h1.2V3.5h-1.2zM10\x201.6c1.05\x200\x201.9.85\x201.9\x201.9h1.2A3.1\x203.1\x200\x200\x200\x2010\x20.4v1.2z\x27\x20fill=\x27currentColor\x27/><path\x20d=\x27M10\x2014V8\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20stroke-linecap=\x27round\x27/><path\x20d=\x27M14\x203h3m-3\x203h3m-3\x203h3m-8\x206.5a1\x201\x200\x201\x200\x202\x200\x201\x201\x200\x201\x200-2\x200\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27/></symbol></svg>',_0x289285='\x0a\x20\x20'+svg_sprite_default2+'\x0a\x20\x20<div\x20class=\x22uc-wrapper\x20uc-wrapper_desktop\x22>\x0a\x20\x20\x20\x20<uc-presence-toggle\x20class=\x22uc-network_problems_splash\x22\x20set=\x22visible:\x20presence.networkProblems;\x22>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-network_problems_content\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-network_problems_icon\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22sad\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-network_problems_text\x22>Network\x20error</div>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-network_problems_footer\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-btn-ui\x20theme=\x22primary\x22\x20text=\x22Retry\x22\x20set=\x22onclick:\x20*on.retryNetwork\x22></uc-btn-ui>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20</uc-presence-toggle>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-viewport\x22>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-file_type_outer\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-file_type\x22>{{fileType}}</div>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-image_container\x22\x20ref=\x22img-container-el\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<img\x20src=\x22'+_0x25b520+'\x22\x20class=\x22uc-image\x20uc-image_visible_from_editor\x22\x20ref=\x22img-el\x22\x20/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-editor-image-cropper\x20ref=\x22cropper-el\x22></uc-editor-image-cropper>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-editor-image-fader\x20ref=\x22fader-el\x22></uc-editor-image-fader>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-info_pan\x22>{{msg}}</div>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-toolbar\x22>\x0a\x20\x20\x20\x20\x20\x20<uc-line-loader-ui\x20set=\x22active:\x20showLoader\x22></uc-line-loader-ui>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-toolbar_content\x20uc-toolbar_content__editor\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-editor-toolbar></uc-editor-toolbar>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</div>\x0a',CloudImageEditorBlock=class extends _0x2a3fee{['ctxOwner']=!0x0;static ['styleAttrs']=['uc-cloud-image-editor'];['_debouncedShowLoader']=_0x491199(this['_showLoader']['bind'](this),0x12c);constructor(){super(),this['init$']={...this['init$'],...initState(this)};}['_showLoader'](_0x5c88bb){this['$']['showLoader']=_0x5c88bb;}['_waitForSize'](){return new Promise((_0x7aa6f,_0x54a1bb)=>{const _0xb50d5e=window['setTimeout'](()=>{_0x54a1bb(new Error('[cloud-image-editor]\x20timeout\x20waiting\x20for\x20non-zero\x20container\x20size'));},0xbb8),_0x2e10d3=new ResizeObserver(_0x1efc26=>{const [_0x3aeb78]=_0x1efc26;_0x3aeb78&&_0x3aeb78['contentRect']['width']>0x0&&_0x3aeb78['contentRect']['height']>0x0&&(window['clearTimeout'](_0xb50d5e),_0x2e10d3['disconnect'](),window['setTimeout'](()=>_0x7aa6f(),0x0));});_0x2e10d3['observe'](this);});}['initCallback'](){super['initCallback'](),this['$']['*faderEl']=this['ref']['fader-el'],this['$']['*cropperEl']=this['ref']['cropper-el'],this['$']['*imgContainerEl']=this['ref']['img-container-el'],this['initEditor']();}async['updateImage'](){if(this['isConnected']){if(await this['_waitForSize'](),this['$']['cdnUrl']){const _0x3b7e5b=this['$']['cdnUrl'],_0x42a095=extractUuid(_0x3b7e5b),_0x415bf1=createOriginalUrl(_0x3b7e5b,_0x42a095);if(_0x415bf1===this['$']['*originalUrl'])return;this['$']['*originalUrl']=_0x415bf1;const _0x3e29e3=operationsToTransformations(extractOperations(_0x3b7e5b));this['$']['*editorTransformations']=_0x3e29e3;}else{if(!this['$']['uuid'])throw new Error('No\x20UUID\x20nor\x20CDN\x20URL\x20provided');{const _0x3a53af=createOriginalUrl(this['cfg']['cdnCname'],this['$']['uuid']);if(_0x3a53af===this['$']['*originalUrl'])return;this['$']['*originalUrl']=_0x3a53af,this['$']['*editorTransformations']={};}}this['$']['*tabId']===_0x3aa6c4['CROP']?this['$']['*cropperEl']?.['deactivate']({'reset':!0x0}):this['$']['*faderEl']?.['deactivate']();try{const _0xea1b65=this['$']['*originalUrl'],_0x15dca3=await this['proxyUrl'](createCdnUrl(_0xea1b65,createCdnUrlModifiers('json'))),_0x60dc57=await fetch(_0x15dca3)['then'](_0x4d298b=>_0x4d298b['json']()),{width:_0x4f400a,height:_0x297470}=_0x60dc57;this['$']['*imageSize']={'width':_0x4f400a,'height':_0x297470},this['$']['*tabId']===_0x3aa6c4['CROP']?this['$']['*cropperEl']?.['activate'](this['$']['*imageSize']):this['$']['*faderEl']?.['activate']({'url':_0xea1b65});}catch(_0x73ea8e){_0x73ea8e&&(this['telemetryManager']['sendEventError'](_0x73ea8e,'cloud\x20editor\x20image.\x20Failed\x20to\x20load\x20image\x20info'),console['error']('Failed\x20to\x20load\x20image\x20info',_0x73ea8e));}}}async['initEditor'](){try{await this['_waitForSize']();}catch(_0x54b99e){return void(this['isConnected']&&console['error'](_0x54b99e['message']));}this['ref']['img-el']['addEventListener']('load',()=>{this['_debouncedShowLoader'](!0x1),this['$']['src']!==_0x25b520&&(this['$']['*networkProblems']=!0x1);}),this['ref']['img-el']['addEventListener']('error',()=>{this['_debouncedShowLoader'](!0x1),this['$']['*networkProblems']=!0x0;}),this['sub']('src',_0x1d0c40=>{const _0x40fb64=this['ref']['img-el'];_0x40fb64['src']!==_0x1d0c40&&(_0x40fb64['src']=_0x1d0c40||_0x25b520);}),this['sub']('tabs',_0x5246e9=>{this['$']['*tabList']=_0x207861(_0x5246e9);}),this['sub']('*tabId',_0x1cfbb0=>{this['ref']['img-el']['className']=_0x2d3bf7('uc-image',{'uc-image_hidden_to_cropper':_0x1cfbb0===_0x3aa6c4['CROP'],'uc-image_hidden_effects':_0x1cfbb0!==_0x3aa6c4['CROP']});}),this['classList']['add']('uc-editor_ON'),this['sub']('*networkProblems',_0x3ad73b=>{this['$']['presence.networkProblems']=_0x3ad73b,this['$']['presence.modalCaption']=!_0x3ad73b;}),this['sub']('*editorTransformations',_0x2f4de9=>{if(0x0===Object['keys'](_0x2f4de9)['length'])return;const _0x4ba515=this['$']['*originalUrl'],_0x7c0b2e=createCdnUrlModifiers(transformationsToOperations(_0x2f4de9),'preview'),_0x443db3={'originalUrl':_0x4ba515,'cdnUrlModifiers':_0x7c0b2e,'cdnUrl':createCdnUrl(_0x4ba515,_0x7c0b2e),'transformations':_0x2f4de9};this['dispatchEvent'](new CustomEvent('change',{'detail':_0x443db3,'bubbles':!0x0,'composed':!0x0}));},!0x1),this['sub']('uuid',_0x4f5dc4=>_0x4f5dc4&&this['updateImage']()),this['sub']('cdnUrl',_0x2dc950=>_0x2dc950&&this['updateImage']()),this['sub']('cropPreset',_0x33dfaa=>{const _0x21cade=parseCropPreset(_0x33dfaa);let _0x443d5c=null;if(this['$']['cdnUrl']){const _0x216ea4=operationsToTransformations(extractOperations(this['$']['cdnUrl']));if(Array['isArray'](_0x216ea4?.['crop']?.['dimensions'])){const [_0x41bfa0,_0x42bab9]=_0x216ea4['crop']['dimensions'];_0x443d5c=getClosestAspectRatio(_0x41bfa0,_0x42bab9,_0x21cade,0.1);}}this['$']['*cropPresetList']=_0x21cade,this['$']['*currentAspectRatio']=_0x443d5c??_0x21cade?.[0x0]??null;});}};CloudImageEditorBlock['template']=_0x289285,CloudImageEditorBlock['bindAttributes']({'uuid':'uuid','cdn-url':'cdnUrl','crop-preset':'cropPreset','tabs':'tabs'});var _0x174264=class extends _0x2a3fee{['_handlePointerUp'];['_handlePointerMove'];['_handleSvgPointerMove'];['_backdropMaskId']='backdrop-mask-'+_0x48eed4['generate']();['_backdropMask'];['_backdropMaskInner'];['_frameThumbs'];['_frameGuides'];['_draggingThumb'];['_hoverThumb'];['_dragStartPoint'];['_dragStartCrop'];['_frameImage'];['_guidesHidden']=!0x1;constructor(){super(),this['init$']={...this['init$'],'dragging':!0x1},this['_handlePointerUp']=this['_handlePointerUp_']['bind'](this),this['_handlePointerMove']=this['_handlePointerMove_']['bind'](this),this['_handleSvgPointerMove']=this['_handleSvgPointerMove_']['bind'](this);}['_shouldThumbBeDisabled'](_0x350e3e){const _0x59339a=this['$']['*imageBox'];if(!_0x59339a)return!0x1;if(''===_0x350e3e&&_0x59339a['height']<=_0x2fb93c&&_0x59339a['width']<=_0x2fb93c)return!0x0;const _0x111b93=_0x59339a['height']<=_0x2fb93c&&(_0x350e3e['includes']('n')||_0x350e3e['includes']('s')),_0x3e44d=_0x59339a['width']<=_0x2fb93c&&(_0x350e3e['includes']('e')||_0x350e3e['includes']('w'));return _0x111b93||_0x3e44d;}['_createBackdrop'](){const _0x6f4e7d=this['$']['*cropBox'];if(!_0x6f4e7d)return;const {x:_0x1e7572,y:_0x440d8f,width:_0x47e3c9,height:_0x575681}=_0x6f4e7d,_0x53c469=this['ref']['svg-el'],_0x2db91c=createSvgNode('mask',{'id':this['_backdropMaskId']}),_0x1374a1=createSvgNode('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'white'}),_0x3ed441=createSvgNode('rect',{'x':_0x1e7572,'y':_0x440d8f,'width':_0x47e3c9,'height':_0x575681,'fill':'black'});_0x2db91c['appendChild'](_0x1374a1),_0x2db91c['appendChild'](_0x3ed441);const _0x1a4fb0=createSvgNode('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'var(--color-image-background)','fill-opacity':0.85,'mask':'url(#'+this['_backdropMaskId']+')'});_0x53c469['appendChild'](_0x1a4fb0),_0x53c469['appendChild'](_0x2db91c),this['_backdropMask']=_0x2db91c,this['_backdropMaskInner']=_0x3ed441;}['_resizeBackdrop'](){this['_backdropMask']&&(this['_backdropMask']['style']['display']='none',window['requestAnimationFrame'](()=>{this['_backdropMask']&&(this['_backdropMask']['style']['display']='block');}));}['_updateBackdrop'](){const _0x55a89f=this['$']['*cropBox'];if(!_0x55a89f)return;const {x:_0x366c46,y:_0x3f5bc8,width:_0x253148,height:_0x2be184}=_0x55a89f;this['_backdropMaskInner']&&setSvgNodeAttrs(this['_backdropMaskInner'],{'x':_0x366c46,'y':_0x3f5bc8,'width':_0x253148,'height':_0x2be184});}['_updateFrame'](){const _0x1d3222=this['$']['*cropBox'];if(_0x1d3222&&this['_frameGuides']&&this['_frameThumbs']){for(const _0x21033e of Object['values'](this['_frameThumbs'])){if(!_0x21033e)continue;const {direction:_0x1de2f5,pathNode:_0x4541a9,interactionNode:_0x20ecbd,groupNode:_0xd35fb5}=_0x21033e,_0x2dba43=''===_0x1de2f5,_0x56a268=0x2===_0x1de2f5['length'],{x:_0x4b34c7,y:_0x3684a0,width:_0x47c411,height:_0x4a4604}=_0x1d3222;if(_0x2dba43)setSvgNodeAttrs(_0x20ecbd,{'x':_0x4b34c7,'y':_0x3684a0,'width':_0x47c411,'height':_0x4a4604});else{const _0x2aea26=_0x21806f(Math['min'](_0x47c411,_0x4a4604)/(0x2*_0x4ab822+_0x4a3e10)/0x2,0x0,0x1),_0x2ee5d5=_0x56a268?cornerPath(_0x1d3222,_0x1de2f5,_0x2aea26):sidePath(_0x1d3222,_0x1de2f5,_0x2aea26),_0xb1b3b1=_0x2ee5d5['center'];if(!_0xb1b3b1)continue;const _0x4a1d47=Math['max'](_0x1b1410*_0x21806f(Math['min'](_0x47c411,_0x4a4604)/_0x1b1410/0x3,0x0,0x1),_0x154082);setSvgNodeAttrs(_0x20ecbd,{'x':_0xb1b3b1[0x0]-_0x4a1d47,'y':_0xb1b3b1[0x1]-_0x4a1d47,'width':0x2*_0x4a1d47,'height':0x2*_0x4a1d47}),setSvgNodeAttrs(_0x4541a9,{'d':_0x2ee5d5['d']});}const _0x105501=this['_shouldThumbBeDisabled'](_0x1de2f5);_0xd35fb5['setAttribute']('class',_0x2d3bf7('uc-thumb',{'uc-thumb--hidden':_0x105501,'uc-thumb--visible':!_0x105501}));}setSvgNodeAttrs(this['_frameGuides'],{'x':_0x1d3222['x']-0.5*_0x1663e8,'y':_0x1d3222['y']-0.5*_0x1663e8,'width':_0x1d3222['width']+_0x1663e8,'height':_0x1d3222['height']+_0x1663e8});}}['_createThumb'](_0x138fab,_0x4e0b49){const _0x314b3b=createSvgNode('g');_0x314b3b['classList']['add']('uc-thumb'),_0x314b3b['setAttribute']('with-effects','');const _0x43ce7c=createSvgNode('rect',{'fill':'transparent'}),_0x268aa1=createSvgNode('path',{'stroke':'currentColor','fill':'none','stroke-width':_0x33596c});_0x314b3b['appendChild'](_0x268aa1),_0x314b3b['appendChild'](_0x43ce7c),_0x138fab[_0x4e0b49]={'direction':_0x4e0b49,'pathNode':_0x268aa1,'interactionNode':_0x43ce7c,'groupNode':_0x314b3b},''===_0x4e0b49&&(_0x314b3b['style']['cursor']='move'),_0x43ce7c['addEventListener']('pointerdown',this['_handlePointerDown']['bind'](this,_0x4e0b49));}['_createThumbs'](){const _0x67eeca={};for(let _0x25ad94=0x0;_0x25ad94<0x3;_0x25ad94++)for(let _0x52cd64=0x0;_0x52cd64<0x3;_0x52cd64++){const _0x1c34bc=''+['n','','s'][_0x25ad94]+['w','','e'][_0x52cd64];''!==_0x1c34bc&&this['_createThumb'](_0x67eeca,_0x1c34bc);}return this['_createThumb'](_0x67eeca,''),_0x67eeca;}['_createGuides'](){const _0x1b3bf7=createSvgNode('svg'),_0x3dfe39=createSvgNode('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'none','stroke':'currentColor','stroke-width':_0x1663e8,'stroke-opacity':0.5});_0x1b3bf7['appendChild'](_0x3dfe39);for(let _0xe728c9=0x1;_0xe728c9<=0x2;_0xe728c9++){const _0x21a1d5=createSvgNode('line',{'x1':_0x151757*_0xe728c9+'%','y1':'0%','x2':_0x151757*_0xe728c9+'%','y2':'100%','stroke':'currentColor','stroke-width':_0x1663e8,'stroke-opacity':0.3});_0x1b3bf7['appendChild'](_0x21a1d5);}for(let _0x359afc=0x1;_0x359afc<=0x2;_0x359afc++){const _0xaa870d=createSvgNode('line',{'x1':'0%','y1':_0x151757*_0x359afc+'%','x2':'100%','y2':_0x151757*_0x359afc+'%','stroke':'currentColor','stroke-width':_0x1663e8,'stroke-opacity':0.3});_0x1b3bf7['appendChild'](_0xaa870d);}return _0x1b3bf7['classList']['add']('uc-guides','uc-guides--semi-hidden'),_0x1b3bf7;}['_createFrame'](){const _0x4e5dc4=this['ref']['svg-el'],_0x48dbff=document['createDocumentFragment'](),_0x70a10c=this['_createGuides']();_0x48dbff['appendChild'](_0x70a10c);const _0x1af919=this['_createThumbs']();for(const {groupNode:_0x3e26d3}of Object['values'](_0x1af919))_0x48dbff['appendChild'](_0x3e26d3);_0x4e5dc4['appendChild'](_0x48dbff),this['_frameThumbs']=_0x1af919,this['_frameGuides']=_0x70a10c;}['_handlePointerDown'](_0x3564d3,_0x4f99ce){if(!this['_frameThumbs'])return;const _0x1cf221=this['_frameThumbs'][_0x3564d3];if(!_0x1cf221)return;if(this['_shouldThumbBeDisabled'](_0x3564d3))return;const _0x41843b=this['$']['*cropBox'],_0x2bf659=this['ref']['svg-el'],{x:_0x435e02,y:_0x54bceb}=_0x2bf659['getBoundingClientRect'](),_0x353fde=_0x4f99ce['x']-_0x435e02,_0x1ee724=_0x4f99ce['y']-_0x54bceb;this['$']['dragging']=!0x0,this['_draggingThumb']=_0x1cf221,this['_dragStartPoint']=[_0x353fde,_0x1ee724],this['_dragStartCrop']={..._0x41843b};}['_handlePointerUp_'](_0xce5016){this['_updateCursor'](),this['$']['dragging']&&(_0xce5016['stopPropagation'](),_0xce5016['preventDefault'](),this['$']['dragging']=!0x1);}['_handlePointerMove_'](_0x491906){if(!this['$']['dragging']||!this['_dragStartPoint']||!this['_draggingThumb'])return;_0x491906['stopPropagation'](),_0x491906['preventDefault']();const _0x26d081=this['ref']['svg-el'],{x:_0x243a79,y:_0x5741d9}=_0x26d081['getBoundingClientRect'](),_0x3184fb=_0x491906['x']-_0x243a79,_0x5d01b4=_0x491906['y']-_0x5741d9,_0x1479dc=_0x3184fb-this['_dragStartPoint'][0x0],_0x240e24=_0x5d01b4-this['_dragStartPoint'][0x1],{direction:_0x350991}=this['_draggingThumb'],_0x4076bb=this['_calcCropBox'](_0x350991,[_0x1479dc,_0x240e24]);_0x4076bb&&(this['$']['*cropBox']=_0x4076bb);}['_calcCropBox'](_0x4b66ea,_0x51c756){const [_0x1c738d,_0x41910d]=_0x51c756,_0x3471c8=this['$']['*imageBox'];let _0x1fed94=this['_dragStartCrop']??this['$']['*cropBox'];const _0x52a052=this['$']['*currentAspectRatio'],_0x21af8e=_0x52a052?_0x52a052['width']/_0x52a052['height']:void 0x0;if(_0x1fed94=''===_0x4b66ea?moveRect({'rect':_0x1fed94,'delta':[_0x1c738d,_0x41910d],'imageBox':_0x3471c8}):resizeRect({'rect':_0x1fed94,'delta':[_0x1c738d,_0x41910d],'direction':_0x4b66ea,'aspectRatio':_0x21af8e,'imageBox':_0x3471c8}),Object['values'](_0x1fed94)['every'](_0xda025c=>Number['isFinite'](_0xda025c)&&_0xda025c>=0x0))return constraintRect(roundRect(_0x1fed94),_0x3471c8);console['error']('CropFrame\x20is\x20trying\x20to\x20create\x20invalid\x20rectangle',{'payload':_0x1fed94});}['_handleSvgPointerMove_'](_0x518c75){if(!this['_frameThumbs'])return;const _0x526b6f=Object['values'](this['_frameThumbs'])['find'](_0x5dd050=>{if(!_0x5dd050)return!0x1;if(this['_shouldThumbBeDisabled'](_0x5dd050['direction']))return!0x1;const _0x12f70f=_0x5dd050['interactionNode']['getBoundingClientRect']();return rectContainsPoint({'x':_0x12f70f['x'],'y':_0x12f70f['y'],'width':_0x12f70f['width'],'height':_0x12f70f['height']},[_0x518c75['x'],_0x518c75['y']]);});this['_hoverThumb']=_0x526b6f,this['_updateCursor']();}['_updateCursor'](){const _0x14ed79=this['_hoverThumb'];this['ref']['svg-el']['style']['cursor']=_0x14ed79?thumbCursor(_0x14ed79['direction']):'initial';}['_createMask'](_0x3d31c5){if(this['_frameImage'])return void this['_frameImage']['setAttribute']('href',_0x3d31c5);const _0x4fa86f=this['ref']['svg-el'],_0x109252=document['createDocumentFragment'](),_0x215c05=createSvgNode('image',{'href':_0x3d31c5});_0x215c05['setAttribute']('class','uc-cloud-mask'),_0x109252['appendChild'](_0x215c05),_0x4fa86f['appendChild'](_0x109252),this['_frameImage']=_0x215c05;}['_updateMask'](){const _0x329dc4=this['$']['*cropBox'];if(!_0x329dc4||!this['_frameImage'])return;const {x:_0x220ee0,y:_0x13e852,width:_0xc74771,height:_0xfb1ff4}=_0x329dc4;setSvgNodeAttrs(this['_frameImage'],{'x':_0x220ee0,'y':_0x13e852,'height':_0xfb1ff4,'width':_0xc74771});}['_render'](){this['_updateBackdrop'](),this['_updateFrame'](),this['_updateMask']();}['toggleThumbs'](_0x36b222){if(this['_frameThumbs'])for(const _0x547789 of Object['values'](this['_frameThumbs'])){if(!_0x547789)continue;const {groupNode:_0x4e6ed5}=_0x547789;_0x4e6ed5['setAttribute']('class',_0x2d3bf7('uc-thumb',{'uc-thumb--hidden':!_0x36b222,'uc-thumb--visible':_0x36b222}));}}['initCallback'](){super['initCallback'](),this['_createBackdrop'](),this['_createFrame'](),this['sub']('*imageBox',()=>{this['_resizeBackdrop'](),window['requestAnimationFrame'](()=>{this['_render']();});}),this['sub']('*cropBox',_0x3387a9=>{_0x3387a9&&(this['_guidesHidden']=_0x3387a9['height']<=_0x2fb93c||_0x3387a9['width']<=_0x2fb93c,window['requestAnimationFrame'](()=>{this['_render']();}));}),this['subConfigValue']('cloudImageEditorMaskHref',_0x92a464=>{_0x92a464&&this['_createMask'](_0x92a464);}),this['sub']('dragging',_0x5816a6=>{this['_frameGuides']&&this['_frameGuides']['setAttribute']('class',_0x2d3bf7({'uc-guides--hidden':this['_guidesHidden'],'uc-guides--visible':!this['_guidesHidden']&&_0x5816a6,'uc-guides--semi-hidden':!this['_guidesHidden']&&!_0x5816a6}));}),(this['ref']['svg-el']['addEventListener']('pointermove',this['_handleSvgPointerMove'],!0x0),document['addEventListener']('pointermove',this['_handlePointerMove'],!0x0),document['addEventListener']('pointerup',this['_handlePointerUp'],!0x0));}['destroyCallback'](){super['destroyCallback'](),(this['ref']['svg-el']['removeEventListener']('pointermove',this['_handleSvgPointerMove'],!0x0),document['removeEventListener']('pointermove',this['_handlePointerMove']),document['removeEventListener']('pointerup',this['_handlePointerUp']));}};_0x174264['template']='\x20<svg\x20class=\x22uc-svg\x22\x20ref=\x22svg-el\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22></svg>\x20';var EditorButtonControl=class extends _0x2a3fee{['_titleEl'];constructor(){super(),this['init$']={...this['init$'],'active':!0x1,'title':'','icon':'','on.click':null,'title-prop':''};}['initCallback'](){super['initCallback'](),this['_titleEl']=this['ref']['title-el'],this['sub']('title',_0x2fde48=>{const _0x3f421b=this['_titleEl'];_0x3f421b&&(_0x3f421b['style']['display']=_0x2fde48?'block':'none');}),this['sub']('active',_0x1ec066=>{this['className']=_0x2d3bf7({'uc-active':_0x1ec066,'uc-not_active':!_0x1ec066});}),this['sub']('on.click',_0x6044ca=>{this['onclick']=_0x6044ca??null;});}};EditorButtonControl['template']='\x0a\x20\x20<button\x20role=\x22option\x22\x20type=\x22button\x22\x20set=\x22@aria-label:title-prop;\x22\x20l10n=\x22@title:title-prop;\x22>\x0a\x20\x20\x20\x20<uc-icon\x20ref=\x22icon-el\x22\x20set=\x22@name:\x20icon;\x22></uc-icon>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-title\x22\x20ref=\x22title-el\x22>{{title}}</div>\x0a\x20\x20</button>\x0a';var _0x290f2f=0xc,_0x3e5f6c=0x10,getAdjustResolutions=_0x4bef9b=>{let _0x32d3aa=0xc,_0x27666d=0xc;return _0x4bef9b['width']/_0x4bef9b['height']>=0x1?(_0x32d3aa=_0x290f2f,_0x27666d=Math['round'](_0x290f2f*_0x4bef9b['height']/_0x4bef9b['width'])):(_0x27666d=_0x290f2f,_0x32d3aa=Math['round'](_0x290f2f*_0x4bef9b['width']/_0x4bef9b['height'])),{'width':_0x32d3aa,'height':_0x27666d};},EditorFreeformButtonControl=class extends EditorButtonControl{['initCallback'](){super['initCallback'](),this['$']['icon']='arrow-dropdown',this['$']['on.click']=this['handleClick']['bind'](this),this['sub']('*currentAspectRatio',_0x3607e3=>{this['$']['title']=_0x3607e3['hasFreeform']?this['l10n']('freeform-crop'):this['l10n']('crop-to-shape',{'value':_0x3607e3['width']+':'+_0x3607e3['height']}),this['bindL10n']('title-prop',()=>this['$']['title']);});}['handleClick'](){this['$']['*showListAspectRatio']=!0x0;}};EditorFreeformButtonControl['template']='\x20\x0a\x20\x20<button\x20role=\x22option\x22\x20type=\x22button\x22\x20set=\x22@aria-label:title-prop;\x22\x20l10n=\x22@title:title-prop;\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-title\x22\x20ref=\x22title-el\x22>{{title}}</div>\x0a\x20\x20\x20\x20<uc-icon\x20ref=\x22icon-el\x22\x20set=\x22@name:\x20icon;\x22></uc-icon>\x0a\x20\x20</button>\x20\x0a';var EditorAspectRatioButtonControl=class extends EditorButtonControl{constructor(){super(),this['init$']={...this['init$'],'active':!0x1,'once':!0x1};}['initCallback'](){super['initCallback'](),this['defineAccessor']('aspectRatio',_0x35a7bb=>{if(!_0x35a7bb)return;const _0x5679d6=!!_0x35a7bb['hasFreeform'];this['$']['title']=_0x5679d6?this['l10n']('custom'):_0x35a7bb['width']+':'+_0x35a7bb['height'],_0x5679d6||this['_renderRectBasedOnAspectRatio'](_0x35a7bb),_0x5679d6&&this['setAttribute']('uc-aspect-ratio-freeform',''),this['_aspectRatio']=_0x35a7bb,this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-aspect-ratio',{'name':_0x5679d6?this['l10n']('custom')['toLowerCase']():this['l10n']('crop-to-shape',{'value':_0x35a7bb['width']+':'+_0x35a7bb['height']})['toLowerCase'](),'value':''}));}),this['sub']('*currentAspectRatio',_0x3317cd=>{this['$']['active']=_0x3317cd&&_0x3317cd['id']===this['_aspectRatio']?.['id']||_0x3317cd?.['width']===this['_aspectRatio']?.['width']&&_0x3317cd?.['height']===this['_aspectRatio']?.['height'];}),this['$']['on.click']=this['handleClick']['bind'](this);}['handleClick'](){const _0x2b0e81=this['$']['*currentAspectRatio'];_0x2b0e81?.['id']!==this['_aspectRatio']?.['id']&&(this['$']['*currentAspectRatio']=this['_aspectRatio']);}['_renderRectBasedOnAspectRatio'](_0x394eaa){const {width:_0x4e3014,height:_0xc2f63}=getAdjustResolutions(_0x394eaa),_0x3c43fd=createSvgNode('rect',{'stroke-linejoin':'round','fill':'none','stroke':'currentColor','stroke-width':1.2,'fill-rule':'evenodd','x':(_0x3e5f6c-_0x4e3014)/0x2,'y':(_0x3e5f6c-_0xc2f63)/0x2,'rx':0x2,'width':_0x4e3014,'height':_0xc2f63}),_0x485c83=this['ref']['icon-el']?.['ref']?.['svg'];_0x485c83&&(_0x485c83['innerHTML']='',_0x485c83['appendChild'](_0x3c43fd));}['_aspectRatio'];};function nextAngle(_0x3ad1bf){let _0xbdf411=_0x3ad1bf+0x5a;return _0xbdf411=_0xbdf411>=0x168?0x0:_0xbdf411,_0xbdf411;}function nextValue(_0x531d19,_0x4de552){if('rotate'===_0x531d19)return nextAngle('number'==typeof _0x4de552?_0x4de552:0x0);if('mirror'===_0x531d19||'flip'===_0x531d19)return!_0x4de552;throw new Error('Unsupported\x20operation:\x20'+_0x531d19);}var EditorCropButtonControl=class extends EditorButtonControl{['_operation']=void 0x0;['initCallback'](){super['initCallback'](),this['defineAccessor']('operation',_0x379ace=>{_0x379ace&&(this['_operation']=_0x379ace,this['$']['icon']=_0x379ace,this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-crop',{'name':this['l10n'](_0x379ace)['toLowerCase']()})));}),this['$']['on.click']=_0x289f09=>{if(!this['_operation'])return;const _0x2582a7=this['$']['*cropperEl'],_0x4e197e=_0x2582a7['getValue'](this['_operation']),_0x2c11da=nextValue(this['_operation'],_0x4e197e);this['telemetryManager']['sendEventCloudImageEditor'](_0x289f09,this['$']['*tabId'],{'operation':this['_operation'],'next':_0x2c11da,'prev':_0x4e197e}),_0x2582a7['setValue'](this['_operation'],_0x2c11da);};}};function _0x4877d7(_0xeb517f){const _0x54f22d=new Image();return{'promise':new Promise((_0x12a79e,_0x3262a3)=>{_0x54f22d['src']=_0xeb517f,_0x54f22d['onload']=()=>_0x12a79e(),_0x54f22d['onerror']=_0x456959=>_0x3262a3(_0x456959);}),'image':_0x54f22d,'cancel':()=>{0x0===_0x54f22d['naturalWidth']&&(_0x54f22d['src']=_0x25b520);}};}function batchPreloadImages(_0x4abd9f){const _0x34dadb=[];for(const _0x5d8a38 of _0x4abd9f){const _0x40699e=_0x4877d7(_0x5d8a38);_0x34dadb['push'](_0x40699e);}const _0x48fa8a=_0x34dadb['map'](_0xbb3fbe=>_0xbb3fbe['image']);return{'promise':Promise['allSettled'](_0x34dadb['map'](_0x13131f=>_0x13131f['promise'])),'images':_0x48fa8a,'cancel':()=>{_0x34dadb['forEach'](_0x53fcbc=>{_0x53fcbc['cancel']();});}};}var _0x2baf46='original',EditorSlider=class extends _0x2a3fee{['_operation']='filter';['_filter'];['_originalUrl']='';constructor(){super(),this['init$']={...this['init$'],'disabled':!0x1,'min':0x0,'max':0x64,'value':0x0,'defaultValue':0x0,'zero':0x0,'on.input':_0x59bf7a=>{const _0x2c84d7=this['$']['*faderEl'];_0x2c84d7?.['set'](_0x59bf7a),this['$']['value']=_0x59bf7a;}};}['setOperation'](_0x5c1c99,_0x35b307){this['_operation']=_0x5c1c99,this['_filter']=_0x35b307,this['_initializeValues']();const _0x3967fb=this['$']['*faderEl'],_0x371412=this['_originalUrl']||this['$']['*originalUrl'];_0x3967fb&&_0x371412&&_0x3967fb['activate']({'url':_0x371412,'operation':this['_operation'],'value':this['_filter']===_0x2baf46?void 0x0:this['$']['value'],'filter':this['_filter']===_0x2baf46?void 0x0:this['_filter'],'fromViewer':!0x1});}['_initializeValues'](){const _0xf74ab3=this['_operation'],{range:_0x18ccc7,zero:_0x3ca6eb}=_0x33f8f5[_0xf74ab3],[_0x10c024,_0x4fac4c]=_0x18ccc7;this['$']['min']=_0x10c024,this['$']['max']=_0x4fac4c,this['$']['zero']=_0x3ca6eb;const _0x54978f=this['$']['*editorTransformations'][_0xf74ab3];if('filter'===_0xf74ab3){let _0x5a988f=Number(_0x4fac4c);const _0x14e7e2=_0x54978f;if(_0x14e7e2){const {name:_0x1e8e85,amount:_0x5ed62f}=_0x14e7e2;_0x5a988f=_0x1e8e85===this['_filter']?_0x5ed62f:_0x4fac4c;}return this['$']['value']=_0x5a988f,void(this['$']['defaultValue']=_0x5a988f);}const _0x1a1f47=void 0x0!==_0x54978f?_0x54978f:_0x3ca6eb;this['$']['value']=_0x1a1f47,this['$']['defaultValue']=_0x1a1f47;}['apply'](){const _0x4d30ff={...this['$']['*editorTransformations']};'filter'===this['_operation']?this['_filter']&&this['_filter']!==_0x2baf46?_0x4d30ff['filter']={'name':this['_filter'],'amount':this['$']['value']}:delete _0x4d30ff['filter']:_0x4d30ff[this['_operation']]=this['$']['value'],this['$']['*editorTransformations']=_0x4d30ff;}['cancel'](){const _0x3793f6=this['$']['*faderEl'];_0x3793f6?.['deactivate']({'hide':!0x1});}['initCallback'](){super['initCallback'](),this['sub']('*originalUrl',_0x2b9763=>{this['_originalUrl']=_0x2b9763;}),this['sub']('value',_0x4a3bd3=>{const _0x4bba51=(this['_filter']??this['_operation'])+'\x20'+_0x4a3bd3;this['$']['*operationTooltip']=_0x4bba51;});}};function parseFilterValue(_0x40d520){const _0x207dc3=_0x40d520['match'](/^([A-Za-z]+)\s+(\d+)$/);if(!_0x207dc3)return null;const [,_0x49d217,_0x1d3731]=_0x207dc3;return _0x49d217&&void 0x0!==_0x1d3731?{'filter':_0x49d217,'value':Number(_0x1d3731)}:null;}EditorSlider['template']='\x0a\x20\x20<uc-slider-ui\x0a\x20\x20\x20\x20ref=\x22slider-el\x22\x0a\x20\x20\x20\x20set=\x22disabled:\x20disabled;\x20min:\x20min;\x20max:\x20max;\x20defaultValue:\x20defaultValue;\x20zero:\x20zero;\x20onInput:\x20on.input;\x22\x0a\x20\x20></uc-slider-ui>\x0a';var EditorFilterControl=class extends EditorButtonControl{['_operation']='';['_filter']='';['_originalUrl']='';['_observer'];['_cancelPreload'];constructor(){super(),this['init$']={...this['init$'],'active':!0x1,'title':'','icon':'','isOriginal':!0x1,'iconSize':'20','on.click':null};}['_previewSrc'](){const _0x95e2de=parseInt(window['getComputedStyle'](this)['getPropertyValue']('--l-base-min-width'),0xa),_0x3e1196=window['devicePixelRatio'],_0xb1965b=Math['ceil'](_0x3e1196*_0x95e2de),_0x50dc2f=_0x3e1196>=0x2?'lightest':'normal',_0x123753={...this['$']['*editorTransformations']};return _0x123753[this['_operation']]=this['_filter']!==_0x2baf46?{'name':this['_filter'],'amount':0x64}:void 0x0,createCdnUrl(this['_originalUrl'],createCdnUrlModifiers(_0x297a0b,transformationsToOperations(_0x123753),'quality/'+_0x50dc2f,'scale_crop/'+_0xb1965b+'x'+_0xb1965b+'/center'));}async['_observerCallback'](_0x402781,_0x43008d){const _0x7558dc=_0x402781[0x0];if(_0x7558dc?.['isIntersecting']){const _0x23fa34=await this['proxyUrl'](this['_previewSrc']()),_0x4d9273=this['ref']['preview-el'],{promise:_0x55f5b4,cancel:_0x37dc36}=_0x4877d7(_0x23fa34);this['_cancelPreload']=_0x37dc36,_0x55f5b4['catch'](_0x26f1bc=>{this['$']['*networkProblems']=!0x0,console['error']('Failed\x20to\x20load\x20image',{'error':_0x26f1bc});})['finally'](()=>{_0x4d9273['style']['backgroundImage']='url('+_0x23fa34+')',_0x4d9273['setAttribute']('loaded',''),_0x43008d['unobserve'](this);});}else this['_cancelPreload']?.();}['initCallback'](){super['initCallback'](),this['$']['on.click']=_0x5bfc16=>{if(this['$']['active'])!this['$']['isOriginal']&&(this['$']['*sliderEl']['setOperation'](this['_operation'],this['_filter']),this['$']['*showSlider']=!0x0);else{const _0x2cc65c=this['$']['*sliderEl'];_0x2cc65c['setOperation'](this['_operation'],this['_filter']),_0x2cc65c['apply']();}this['telemetryManager']['sendEventCloudImageEditor'](_0x5bfc16,this['$']['*tabId'],{'operation':parseFilterValue(this['$']['*operationTooltip'])}),this['$']['*currentFilter']=this['_filter'];},this['defineAccessor']('filter',_0x175fc5=>{this['_operation']='filter',this['_filter']=_0x175fc5,this['$']['isOriginal']=_0x175fc5===_0x2baf46,this['$']['icon']=this['$']['isOriginal']?'original':'slider',this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-filter',{'name':_0x175fc5['toLowerCase']()}));}),this['_observer']=new window['IntersectionObserver'](this['_observerCallback']['bind'](this),{'threshold':[0x0,0x1]});const _0x3fa0fb=this['$']['*originalUrl'];if(this['_originalUrl']=_0x3fa0fb,this['$']['isOriginal'])this['ref']['icon-el']['classList']['add']('uc-original-icon');else this['_observer']['observe'](this);this['sub']('*currentFilter',_0x28c0e3=>{this['$']['active']=_0x28c0e3&&_0x28c0e3===this['_filter'];}),this['sub']('isOriginal',_0x3a2b48=>{this['$']['iconSize']=_0x3a2b48?0x28:0x14;}),this['sub']('active',_0x492c85=>{if(this['$']['isOriginal'])return;this['ref']['icon-el']['style']['opacity']=_0x492c85?'1':'0';const _0x57adcc=this['ref']['preview-el'];_0x492c85?_0x57adcc['style']['opacity']='0':_0x57adcc['style']['backgroundImage']&&(_0x57adcc['style']['opacity']='1');}),this['sub']('*networkProblems',async _0x55f10c=>{if(!_0x55f10c){const _0x3acb58=await this['proxyUrl'](this['_previewSrc']()),_0x48ddde=this['ref']['preview-el'];_0x48ddde['style']['backgroundImage']&&(_0x48ddde['style']['backgroundImage']='none',_0x48ddde['style']['backgroundImage']='url('+_0x3acb58+')');}});}['destroyCallback'](){super['destroyCallback'](),this['_observer']?.['disconnect'](),this['_cancelPreload']?.();}};EditorFilterControl['template']='\x0a\x20\x20<button\x20type=\x22button\x22\x20role=\x22option\x22\x20l10n=\x22@title:title-prop;@aria-label:title-prop\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-preview\x22\x20ref=\x22preview-el\x22></div>\x0a\x20\x20\x20\x20<uc-icon\x20ref=\x22icon-el\x22\x20set=\x22@name:\x20icon;\x20@size:\x20iconSize;\x22></uc-icon>\x0a\x20\x20</button>\x0a';var throttle=(_0x467a01,_0x1e1061)=>{let _0x4d1db1,_0x2e32af=!0x1,_0x3b6b73=0x0;const _0x547cf4=(..._0x1689aa)=>{_0x2e32af?(_0x4d1db1&&clearTimeout(_0x4d1db1),_0x4d1db1=setTimeout(()=>{Date['now']()-_0x3b6b73>=_0x1e1061&&(_0x467a01(..._0x1689aa),_0x3b6b73=Date['now']());},Math['max'](_0x1e1061-(Date['now']()-_0x3b6b73),0x0))):(_0x467a01(..._0x1689aa),_0x3b6b73=Date['now'](),_0x2e32af=!0x0);};return Object['defineProperty'](_0x547cf4,'cancel',{'configurable':!0x1,'writable':!0x1,'enumerable':!0x1,'value':()=>{_0x4d1db1&&clearTimeout(_0x4d1db1);}}),_0x547cf4;};function _0x57e081(_0x1044ad,_0x296939){const _0x4606af={};for(const _0xe77607 of _0x296939){const _0x380ffd=_0x1044ad[_0xe77607];(Object['hasOwn'](_0x1044ad,_0xe77607)||void 0x0!==_0x380ffd)&&(_0x4606af[_0xe77607]=_0x380ffd);}return _0x4606af;}function _0x57ffc0(_0x43c78d,_0x29f8af,_0x41f1e3){const _0x3d85c5=window['devicePixelRatio'],_0x3f9741=Math['min'](Math['ceil'](_0x29f8af*_0x3d85c5),0xbb8),_0x273070=_0x3d85c5>=0x2?'lightest':'normal';return createCdnUrl(_0x43c78d,createCdnUrlModifiers(_0x297a0b,transformationsToOperations(_0x41f1e3),'quality/'+_0x273070,'stretch/off/-/resize/'+_0x3f9741+'x','@clib/'+_0x1ad11e+'/'+_0x575df8+'/uc-cloud-image-editor/'));}function validateCrop(_0x97c859){if(!_0x97c859)return!0x0;const _0x4581ff=[({dimensions:_0x193fcc,coords:_0x1c0b9d})=>[..._0x193fcc,..._0x1c0b9d]['every'](_0x4e59bc=>Number['isInteger'](_0x4e59bc)&&Number['isFinite'](_0x4e59bc)),({dimensions:_0x1e86be,coords:_0x291280})=>_0x1e86be['every'](_0xc0bf50=>_0xc0bf50>0x0)&&_0x291280['every'](_0x3ef13e=>_0x3ef13e>=0x0)];return _0x4581ff['every'](_0x99b8c9=>_0x99b8c9(_0x97c859));}var EditorImageCropper=class extends _0x2a3fee{['ctxOwner']=!0x0;['_commitDebounced'];['_handleResizeThrottled'];['_imageSize']={'width':0x0,'height':0x0};['_canvas'];['_ctx']=null;['_isActive']=!0x1;['_observer'];['_cancelPreload'];constructor(){super(),this['init$']={...this['init$'],'image':null,'*padding':_0x248f2b,'*operations':{'rotate':0x0,'mirror':!0x1,'flip':!0x1},'*imageBox':{'x':0x0,'y':0x0,'width':0x0,'height':0x0},'*cropBox':{'x':0x0,'y':0x0,'width':0x0,'height':0x0}},this['_commitDebounced']=_0x491199(this['_commit']['bind'](this),0x12c),this['_handleResizeThrottled']=throttle(this['_handleResize']['bind'](this),0x64);}['_handleResize'](){this['isConnected']&&this['_isActive']&&(this['_initCanvas'](),this['_syncTransformations'](),this['_alignImage'](),this['_alignCrop'](),this['_draw']());}['_syncTransformations'](){const _0x2eceec=_0x57e081(this['$']['*editorTransformations'],Object['keys'](this['$']['*operations'])),_0xc6f8cd={...this['$']['*operations'],..._0x2eceec};this['$']['*operations']=_0xc6f8cd;}['_initCanvas'](){const _0x270ea9=this['ref']['canvas-el'],_0x94864a=_0x270ea9['getContext']('2d'),_0x2010d1=this['offsetWidth'],_0x4e9885=this['offsetHeight'],_0x2fc94b=window['devicePixelRatio'];_0x270ea9['style']['width']=_0x2010d1+'px',_0x270ea9['style']['height']=_0x4e9885+'px',_0x270ea9['width']=_0x2010d1*_0x2fc94b,_0x270ea9['height']=_0x4e9885*_0x2fc94b,_0x94864a?.['scale'](_0x2fc94b,_0x2fc94b),this['_canvas']=_0x270ea9,this['_ctx']=_0x94864a;}['_alignImage'](){if(!this['_isActive']||!this['$']['image'])return;const _0x2be7ec=this['$']['image'],_0x4e76a8=this['$']['*padding'],_0x3486a1=this['$']['*operations'],{rotate:_0x7b65a7}=_0x3486a1,_0x5f2a1b=this['offsetWidth'],_0x21675f=this['offsetHeight'],_0x3d7728=rotateSize({'width':_0x2be7ec['naturalWidth'],'height':_0x2be7ec['naturalHeight']},_0x7b65a7);let _0x303417;if(_0x3d7728['width']>_0x5f2a1b-0x2*_0x4e76a8||_0x3d7728['height']>_0x21675f-0x2*_0x4e76a8){const _0xa0ab1b=_0x3d7728['width']/_0x3d7728['height'];if(_0xa0ab1b>_0x5f2a1b/_0x21675f){const _0x31de36=_0x5f2a1b-0x2*_0x4e76a8,_0x3d4f95=_0x31de36/_0xa0ab1b;_0x303417={'x':0x0+_0x4e76a8,'y':_0x4e76a8+(_0x21675f-0x2*_0x4e76a8)/0x2-_0x3d4f95/0x2,'width':_0x31de36,'height':_0x3d4f95};}else{const _0x1da360=_0x21675f-0x2*_0x4e76a8,_0x4e10f7=_0x1da360*_0xa0ab1b;_0x303417={'x':_0x4e76a8+(_0x5f2a1b-0x2*_0x4e76a8)/0x2-_0x4e10f7/0x2,'y':0x0+_0x4e76a8,'width':_0x4e10f7,'height':_0x1da360};}}else{const {width:_0x1f4410,height:_0x363a1d}=_0x3d7728;_0x303417={'x':_0x4e76a8+(_0x5f2a1b-0x2*_0x4e76a8)/0x2-_0x1f4410/0x2,'y':_0x4e76a8+(_0x21675f-0x2*_0x4e76a8)/0x2-_0x363a1d/0x2,'width':_0x1f4410,'height':_0x363a1d};}this['$']['*imageBox']=roundRect(_0x303417);}['_alignCrop'](){let _0x4b04fb=this['$']['*cropBox'];const _0x4e6eac=this['$']['*imageBox'],_0x8aa315=this['$']['*operations'],{rotate:_0x17e7c5}=_0x8aa315,_0x16a8a3=this['$']['*editorTransformations']['crop'],{width:_0x321670,x:_0x531860,y:_0x446fc0}=_0x4e6eac;if(_0x16a8a3){const {dimensions:[_0x80114e,_0x5dbfec],coords:[_0x1c0030,_0x5ec691]}=_0x16a8a3,{width:_0x246eaf}=rotateSize(this['_imageSize'],_0x17e7c5),_0x4aac21=_0x321670/_0x246eaf;_0x4b04fb=constraintRect(roundRect({'x':_0x531860+_0x1c0030*_0x4aac21,'y':_0x446fc0+_0x5ec691*_0x4aac21,'width':_0x80114e*_0x4aac21,'height':_0x5dbfec*_0x4aac21}),_0x4e6eac);}const _0x1421aa=this['$']['*currentAspectRatio'],_0x488179=_0x1421aa?_0x1421aa['width']/_0x1421aa['height']:void 0x0;if(!isRectInsideRect(_0x4b04fb,_0x4e6eac)||_0x488179&&!isRectMatchesAspectRatio(_0x4b04fb,_0x488179)){const _0x93f228=_0x4e6eac['width']/_0x4e6eac['height'];let _0x1b2f74=_0x4e6eac['width'],_0x3305a6=_0x4e6eac['height'];_0x488179&&(_0x93f228>_0x488179?_0x1b2f74=Math['min'](_0x4e6eac['height']*_0x488179,_0x4e6eac['width']):_0x3305a6=Math['min'](_0x4e6eac['width']/_0x488179,_0x4e6eac['height'])),_0x4b04fb={'x':_0x4e6eac['x']+_0x4e6eac['width']/0x2-_0x1b2f74/0x2,'y':_0x4e6eac['y']+_0x4e6eac['height']/0x2-_0x3305a6/0x2,'width':_0x1b2f74,'height':_0x3305a6};}this['$']['*cropBox']=constraintRect(roundRect(_0x4b04fb),_0x4e6eac);}['_drawImage'](){const _0x2127d5=this['_ctx'];if(!_0x2127d5)return;const _0x18c02c=this['$']['image'],_0x181e25=this['$']['*imageBox'],_0x2e07d8=this['$']['*operations'],{mirror:_0x61bf0e,flip:_0x2011d1,rotate:_0x2d14f0}=_0x2e07d8,_0xf5b152=rotateSize({'width':_0x181e25['width'],'height':_0x181e25['height']},_0x2d14f0);_0x2127d5['save'](),_0x2127d5['translate'](_0x181e25['x']+_0x181e25['width']/0x2,_0x181e25['y']+_0x181e25['height']/0x2),_0x2127d5['rotate'](_0x2d14f0*Math['PI']*-0x1/0xb4),_0x2127d5['scale'](_0x61bf0e?-0x1:0x1,_0x2011d1?-0x1:0x1),_0x2127d5['drawImage'](_0x18c02c,-_0xf5b152['width']/0x2,-_0xf5b152['height']/0x2,_0xf5b152['width'],_0xf5b152['height']),_0x2127d5['restore']();}['_draw'](){if(!(this['_isActive']&&this['$']['image']&&this['_canvas']&&this['_ctx']))return;const _0xa5444c=this['_canvas'];this['_ctx']['clearRect'](0x0,0x0,_0xa5444c['width'],_0xa5444c['height']),this['_drawImage']();}['_animateIn']({fromViewer:_0x316749}){this['$']['image']&&(this['ref']['frame-el']['toggleThumbs'](!0x0),this['_transitionToImage'](),setTimeout(()=>{this['className']=_0x2d3bf7({'uc-active_from_viewer':_0x316749,'uc-active_from_editor':!_0x316749,'uc-inactive_to_editor':!0x1});}));}['_getCropDimensions'](){const _0x1c63eb=this['$']['*cropBox'],_0xf7c9b5=this['$']['*imageBox'],_0x55c4e6=this['$']['*operations'],{rotate:_0x163e5f}=_0x55c4e6,{width:_0x563144,height:_0x3ad2ca}=_0xf7c9b5,{width:_0x301ee4,height:_0xa87c4c}=rotateSize(this['_imageSize'],_0x163e5f),{width:_0x584307,height:_0x14ebcf}=_0x1c63eb,_0x31150e=_0x563144/_0x301ee4,_0x1ee531=_0x3ad2ca/_0xa87c4c;return[_0x21806f(Math['round'](_0x584307/_0x31150e),0x1,_0x301ee4),_0x21806f(Math['round'](_0x14ebcf/_0x1ee531),0x1,_0xa87c4c)];}['_getCropTransformation'](){const _0x4d8fce=this['$']['*cropBox'],_0x36b2b2=this['$']['*imageBox'],_0x536542=this['$']['*operations'],{rotate:_0x1bd11e}=_0x536542,{width:_0x3da83f,height:_0x43d6bf,x:_0x231b75,y:_0x53e652}=_0x36b2b2,{width:_0x33d084,height:_0x313382}=rotateSize(this['_imageSize'],_0x1bd11e),{x:_0x5d58c9,y:_0x1ac7a0}=_0x4d8fce,_0x1d4671=_0x3da83f/_0x33d084,_0x2758f8=_0x43d6bf/_0x313382,_0x33067c=this['_getCropDimensions'](),_0x3ccd63={'dimensions':_0x33067c,'coords':[_0x21806f(Math['round']((_0x5d58c9-_0x231b75)/_0x1d4671),0x0,_0x33d084-_0x33067c[0x0]),_0x21806f(Math['round']((_0x1ac7a0-_0x53e652)/_0x2758f8),0x0,_0x313382-_0x33067c[0x1])]};if(validateCrop(_0x3ccd63)){if(_0x33067c[0x0]!==_0x33d084||_0x33067c[0x1]!==_0x313382)return _0x3ccd63;}else console['error']('Cropper\x20is\x20trying\x20to\x20create\x20invalid\x20crop\x20object',{'payload':_0x3ccd63});}['_commit'](){if(!this['isConnected']||!this['_imageSize'])return;const _0x38b9c6=this['$']['*operations'],{rotate:_0x4ee5c3,mirror:_0x203701,flip:_0x5c3d56}=_0x38b9c6,_0x8a4cbb=this['_getCropTransformation'](),_0x30efcb={...this['$']['*editorTransformations'],'crop':_0x8a4cbb,'rotate':_0x4ee5c3,'mirror':_0x203701,'flip':_0x5c3d56};this['$']['*editorTransformations']=_0x30efcb;}['setValue'](_0x334166,_0x7f6baf){this['$']['*operations']={...this['$']['*operations'],[_0x334166]:_0x7f6baf},this['_isActive']&&(this['_alignImage'](),this['_alignCrop'](),this['_draw']());}['getValue'](_0x99b067){return this['$']['*operations'][_0x99b067];}async['activate'](_0x4bcb24,{fromViewer:_0x416a2c}={}){if(!this['_isActive']){this['_isActive']=!0x0,this['_imageSize']=_0x4bcb24,this['removeEventListener']('transitionend',this['_reset']);try{const _0x175919=this['$']['*originalUrl'],_0x1d8aca=this['$']['*editorTransformations'];this['$']['image']=await this['_waitForImage'](_0x175919,_0x1d8aca),this['_syncTransformations'](),this['_animateIn']({'fromViewer':_0x416a2c});}catch(_0xa17a61){console['error']('Failed\x20to\x20activate\x20cropper',{'error':_0xa17a61}),this['telemetryManager']['sendEventError'](_0xa17a61,'cloud\x20editor\x20image.\x20Failed\x20to\x20activate\x20cropper');}this['_observer']=new ResizeObserver(_0x1e5061=>{const [_0x472e53]=_0x1e5061;if(!_0x472e53)return;_0x472e53['contentRect']['width']>0x0&&_0x472e53['contentRect']['height']>0x0&&this['_isActive']&&this['$']['image']&&this['_handleResizeThrottled']();}),this['_observer']['observe'](this);}}['deactivate']({reset:_0x40b25f=!0x1}={}){this['_isActive']&&(!_0x40b25f&&this['_commit'](),this['_isActive']=!0x1,this['_transitionToCrop'](),this['className']=_0x2d3bf7({'uc-active_from_viewer':!0x1,'uc-active_from_editor':!0x1,'uc-inactive_to_editor':!0x0}),this['ref']['frame-el']['toggleThumbs'](!0x1),this['addEventListener']('transitionend',this['_reset'],{'once':!0x0}),this['_observer']?.['disconnect']());}['_transitionToCrop'](){const _0x4bd5b3=this['_getCropDimensions'](),_0x4b06b8=this['$']['*cropBox'],_0x4f01c3=Math['min'](this['offsetWidth'],_0x4bd5b3[0x0])/_0x4b06b8['width'],_0x15a518=Math['min'](this['offsetHeight'],_0x4bd5b3[0x1])/_0x4b06b8['height'],_0x2c8d7a=Math['min'](_0x4f01c3,_0x15a518),_0x540355=_0x4b06b8['x']+_0x4b06b8['width']/0x2,_0x6c4be=_0x4b06b8['y']+_0x4b06b8['height']/0x2;this['style']['transform']='scale('+_0x2c8d7a+')\x20translate('+(this['offsetWidth']/0x2-_0x540355)/_0x2c8d7a+'px,\x20'+(this['offsetHeight']/0x2-_0x6c4be)/_0x2c8d7a+'px)',this['style']['transformOrigin']=_0x540355+'px\x20'+_0x6c4be+'px';}['_transitionToImage'](){const _0x5d1ff6=this['$']['*cropBox'],_0x1d9dae=_0x5d1ff6['x']+_0x5d1ff6['width']/0x2,_0x256a39=_0x5d1ff6['y']+_0x5d1ff6['height']/0x2;this['style']['transform']='scale(1)',this['style']['transformOrigin']=_0x1d9dae+'px\x20'+_0x256a39+'px';}['_reset'](){this['_isActive']||(this['$']['image']=null);}async['_waitForImage'](_0x36de81,_0x49439c){const _0x5c1b50=this['offsetWidth'];_0x49439c={..._0x49439c,'crop':void 0x0,'rotate':void 0x0,'flip':void 0x0,'mirror':void 0x0};const _0xc9cab=await this['proxyUrl'](_0x57ffc0(_0x36de81,_0x5c1b50,_0x49439c)),{promise:_0x275b6e,cancel:_0xe7c0a6,image:_0x4b53b9}=_0x4877d7(_0xc9cab),_0x4e08d6=this['_handleImageLoading'](_0xc9cab);return _0x4b53b9['addEventListener']('load',_0x4e08d6,{'once':!0x0}),_0x4b53b9['addEventListener']('error',_0x4e08d6,{'once':!0x0}),this['_cancelPreload']?.(),this['_cancelPreload']=_0xe7c0a6,_0x275b6e['then'](()=>_0x4b53b9)['catch'](_0x39ac78=>(console['error']('Failed\x20to\x20load\x20image',{'error':_0x39ac78}),this['$']['*networkProblems']=!0x0,_0x4b53b9));}['_handleImageLoading'](_0x446132){const _0x364430='crop',_0x256f57=this['$']['*loadingOperations'];let _0x36849a=_0x256f57['get'](_0x364430);return _0x36849a||(_0x36849a=new Map(),_0x256f57['set'](_0x364430,_0x36849a)),_0x36849a['get'](_0x446132)||(_0x36849a['set'](_0x446132,!0x0),this['$']['*loadingOperations']=_0x256f57),()=>{const _0x268c2f=_0x256f57['get'](_0x364430);_0x268c2f?.['has'](_0x446132)&&(_0x268c2f['delete'](_0x446132),this['$']['*loadingOperations']=_0x256f57);};}['initCallback'](){super['initCallback'](),this['sub']('*imageBox',()=>{this['_draw']();}),this['sub']('*cropBox',()=>{this['$']['image']&&this['_commitDebounced']();}),this['sub']('*currentAspectRatio',()=>{this['_alignCrop']();}),setTimeout(()=>{this['sub']('*networkProblems',_0x50067=>{_0x50067||this['_isActive']&&this['activate'](this['_imageSize'],{'fromViewer':!0x1});});},0x0);}['destroyCallback'](){super['destroyCallback'](),this['_observer']?.['disconnect']();}};function _0x125ec8(_0x4b5b75,_0xd9e196,_0x4ff039){const _0x540ef9=_0x4ff039-0x1,_0x1394f5=new Array(_0x4ff039);for(let _0x5edc9b=_0x540ef9;_0x5edc9b>=0x0;_0x5edc9b-=0x1)_0x1394f5[_0x5edc9b]=Math['ceil']((_0x5edc9b*_0xd9e196+(_0x540ef9-_0x5edc9b)*_0x4b5b75)/_0x540ef9);return _0x1394f5;}function isOperationKey(_0x23b187){return'string'==typeof _0x23b187&&_0x23b187 in _0x33f8f5;}function splitBySections(_0x4b66c5){const _0x3e45ef=[];for(let _0x3c5c95=0x0;_0x3c5c95<_0x4b66c5['length']-0x1;_0x3c5c95+=0x1){const _0x52445c=_0x4b66c5[_0x3c5c95],_0x466706=_0x4b66c5[_0x3c5c95+0x1];'number'==typeof _0x52445c&&'number'==typeof _0x466706&&_0x3e45ef['push']([_0x52445c,_0x466706]);}return _0x3e45ef;}function calculateOpacities(_0x5c450b,_0xa8c8ee,_0x53d1ce){const _0x18b3e8=splitBySections(_0x5c450b)['find'](([_0x54e5fe,_0x159e47])=>_0x54e5fe<=_0xa8c8ee&&_0xa8c8ee<=_0x159e47);if(!_0x18b3e8)return _0x5c450b['map'](()=>0x0);const [_0x2ccbef,_0x5ba42f]=_0x18b3e8;return _0x5c450b['map'](_0x1a5e35=>{const _0x557e88=Math['abs'](_0x2ccbef-_0x5ba42f)||0x1,_0x1f8e3b=Math['abs'](_0xa8c8ee-_0x2ccbef)/_0x557e88;return _0x2ccbef===_0x1a5e35?_0xa8c8ee>_0x53d1ce?0x1:0x1-_0x1f8e3b:_0x5ba42f===_0x1a5e35?_0xa8c8ee>=_0x53d1ce?_0x1f8e3b:0x1:0x0;});}function calculateZIndices(_0x48668c,_0x9658ce){return _0x48668c['map']((_0xbf4d8d,_0x187e1b)=>_0xbf4d8d<_0x9658ce?_0x48668c['length']-_0x187e1b:_0x187e1b);}function keypointsRange(_0xfaed60,_0x3564cd){const _0x21c044=_0x33f8f5[_0xfaed60]['keypointsNumber'],{range:_0x272a02,zero:_0x4e57b0}=_0x33f8f5[_0xfaed60];return[...new Set([..._0x125ec8(_0x272a02[0x0],_0x4e57b0,_0x21c044+0x1),..._0x125ec8(_0x4e57b0,_0x272a02[0x1],_0x21c044+0x1),_0x4e57b0,_0x3564cd])]['sort']((_0x123521,_0x7b6185)=>_0x123521-_0x7b6185);}EditorImageCropper['template']='\x0a\x20\x20<canvas\x20class=\x22uc-canvas\x22\x20ref=\x22canvas-el\x22></canvas>\x0a\x20\x20<uc-crop-frame\x20ref=\x22frame-el\x22></uc-crop-frame>\x0a';var EditorImageFader=class extends _0x2a3fee{['_isActive']=!0x1;['_hidden']=!0x0;['_operation']='initial';['_filter'];['_value'];['_transformations']={};['_keypoints']=[];['_container'];['_previewImage'];['_cancelLastImages'];['_cancelBatchPreload'];['_url'];['_fromViewer'];['_raf']=0x0;['_addKeypointDebounced']=_0x491199(this['_addKeypoint']['bind'](this),0x258);constructor(){super(),this['classList']['add']('uc-inactive_to_cropper');}['_handleImageLoading'](_0xaf486c){const _0x213396=this['_operation'],_0xadaffb=this['$']['*loadingOperations'];_0xadaffb['has'](_0x213396)||_0xadaffb['set'](_0x213396,new Map());const _0x3cfc20=_0xadaffb['get'](_0x213396);return _0x3cfc20&&!_0x3cfc20['get'](_0xaf486c)&&(_0x3cfc20['set'](_0xaf486c,!0x0),this['$']['*loadingOperations']=_0xadaffb),()=>{const _0x15f2f0=_0xadaffb['get'](_0x213396);_0x15f2f0?.['has'](_0xaf486c)&&(_0x15f2f0['delete'](_0xaf486c),this['$']['*loadingOperations']=_0xadaffb);};}['_flush'](){window['cancelAnimationFrame'](this['_raf']),this['_raf']=window['requestAnimationFrame'](()=>{for(const _0x34d779 of this['_keypoints']){const {image:_0x58df1c}=_0x34d779;_0x58df1c&&(_0x58df1c['style']['opacity']=_0x34d779['opacity']['toString'](),_0x58df1c['style']['zIndex']=_0x34d779['zIndex']['toString']());}});}['_imageSrc']({url:_0x1ad262=this['_url'],filter:_0x2ad3dd=this['_filter']??void 0x0,operation:_0x4b769f,value:_0x324629}={}){if(!_0x1ad262)throw new Error('URL\x20is\x20not\x20defined');const _0x19b8a2={...this['_transformations']};_0x4b769f&&('filter'===_0x4b769f?_0x2ad3dd&&'number'==typeof _0x324629&&(_0x19b8a2['filter']={'name':_0x2ad3dd,'amount':_0x324629}):'number'==typeof _0x324629&&(_0x19b8a2[_0x4b769f]=_0x324629));const _0x4462c1=this['offsetWidth'];return this['proxyUrl'](_0x57ffc0(_0x1ad262,_0x4462c1,_0x19b8a2));}async['_constructKeypoint'](_0x3ca2f4,_0x47bfb7){return{'src':await this['_imageSrc']({'operation':_0x3ca2f4,'value':_0x47bfb7}),'image':void 0x0,'opacity':0x0,'zIndex':0x0,'value':_0x47bfb7};}['_isSame'](_0x578d87,_0x3d8337){return this['_operation']===_0x578d87&&this['_filter']===_0x3d8337;}async['_addKeypoint'](_0x257436,_0x5afc33,_0x4b3915){const _0x2425bb=()=>!this['_isSame'](_0x257436,_0x5afc33)||this['_value']!==_0x4b3915||!!this['_keypoints']['find'](_0x1d47ed=>_0x1d47ed['value']===_0x4b3915);if(_0x2425bb())return;const _0x547ed2=await this['_constructKeypoint'](_0x257436,_0x4b3915),_0x191363=new Image();_0x191363['src']=_0x547ed2['src'];const _0x143436=this['_handleImageLoading'](_0x547ed2['src']);_0x191363['addEventListener']('load',_0x143436,{'once':!0x0}),_0x191363['addEventListener']('error',_0x143436,{'once':!0x0}),_0x547ed2['image']=_0x191363,_0x191363['classList']['add']('uc-fader-image'),_0x191363['addEventListener']('load',()=>{if(_0x2425bb())return;const _0x47826b=this['_keypoints'];let _0x1d06d0=_0x47826b['findIndex'](_0x4415ea=>_0x4415ea['value']>_0x4b3915);-0x1===_0x1d06d0&&(_0x1d06d0=_0x47826b['length']);const _0x2d280a=_0x47826b[_0x1d06d0],_0x17a6b5=_0x2d280a?.['image'],_0x127e7d=this['_container'];!_0x127e7d||_0x17a6b5&&!_0x127e7d['contains'](_0x17a6b5)||(_0x47826b['splice'](_0x1d06d0,0x0,_0x547ed2),_0x17a6b5&&_0x127e7d['insertBefore'](_0x191363,_0x17a6b5),this['_update'](_0x257436,_0x4b3915));},{'once':!0x0}),_0x191363['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}['set'](_0x15fb75){const _0x3590e8='string'==typeof _0x15fb75?parseInt(_0x15fb75,0xa):_0x15fb75;isOperationKey(this['_operation'])&&Number['isFinite'](_0x3590e8)&&(this['_update'](this['_operation'],_0x3590e8),this['_addKeypointDebounced'](this['_operation'],this['_filter'],_0x3590e8));}['_update'](_0x2409fa,_0x3fcf19){this['_operation']=_0x2409fa,this['_value']=_0x3fcf19;const {zero:_0x11429c}=_0x33f8f5[_0x2409fa],_0x26686f=this['_keypoints']['map'](_0x13d30f=>_0x13d30f['value']),_0x47b516=calculateOpacities(_0x26686f,_0x3fcf19,_0x11429c),_0x124c97=calculateZIndices(_0x26686f,_0x11429c);this['_keypoints']['forEach']((_0x23ee1b,_0x3990ef)=>{const _0x2be20d=_0x47b516[_0x3990ef],_0x567687=_0x124c97[_0x3990ef];'number'==typeof _0x2be20d&&(_0x23ee1b['opacity']=_0x2be20d),'number'==typeof _0x567687&&(_0x23ee1b['zIndex']=_0x567687);}),this['_flush']();}['_createPreviewImage'](){const _0x2a7c56=new Image();return _0x2a7c56['classList']['add']('uc-fader-image','uc-fader-image--preview'),_0x2a7c56['style']['opacity']='0',_0x2a7c56;}async['_initNodes'](){const _0x51fe48=document['createDocumentFragment']();this['_previewImage']=this['_previewImage']||this['_createPreviewImage']();const _0x335a3=this['_previewImage'];this['contains'](_0x335a3)||_0x51fe48['appendChild'](_0x335a3);const _0x451331=document['createElement']('div');_0x51fe48['appendChild'](_0x451331);const _0x564728=this['_keypoints']['map'](_0x496bec=>_0x496bec['src']),{images:_0x75597d,promise:_0x36d22c,cancel:_0x54ed98}=batchPreloadImages(_0x564728);_0x75597d['forEach'](_0x344df9=>{const _0x57a717=this['_handleImageLoading'](_0x344df9['src']);_0x344df9['addEventListener']('load',_0x57a717),_0x344df9['addEventListener']('error',_0x57a717);}),this['_cancelLastImages']=()=>{_0x54ed98(),this['_cancelLastImages']=void 0x0;};const _0x17e5e7=this['_operation'],_0x3b95af=this['_filter'];await _0x36d22c,this['_isActive']&&this['_isSame'](_0x17e5e7,_0x3b95af)&&(this['_container']?.['remove'](),this['_container']=_0x451331,this['_keypoints']['forEach']((_0x5a22d1,_0x22a285)=>{const _0x1b5774=_0x75597d[_0x22a285];_0x1b5774&&(_0x1b5774['classList']['add']('uc-fader-image'),_0x5a22d1['image']=_0x1b5774,this['_container']?.['appendChild'](_0x1b5774));}),this['appendChild'](_0x51fe48),this['_flush']());}async['setTransformations'](_0x5a761d){if(this['_transformations']=_0x5a761d,this['_previewImage']){const _0xea95f4=await this['_imageSrc'](),_0x3ccf0a=this['_handleImageLoading'](_0xea95f4);this['_previewImage']['src']=_0xea95f4,this['_previewImage']['addEventListener']('load',_0x3ccf0a,{'once':!0x0}),this['_previewImage']['addEventListener']('error',_0x3ccf0a,{'once':!0x0}),this['_previewImage']['style']['opacity']='1',this['_previewImage']['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}}async['preload']({url:_0x460b0a,filter:_0x37d4da,operation:_0x372b3f,value:_0x3be80e}){if(!_0x372b3f||'number'!=typeof _0x3be80e)return;this['_cancelBatchPreload']?.();const _0x16212a=keypointsRange(_0x372b3f,_0x3be80e),_0x501331=await Promise['all'](_0x16212a['map'](_0x171a48=>this['_imageSrc']({'url':_0x460b0a,'filter':_0x37d4da,'operation':_0x372b3f,'value':_0x171a48}))),{cancel:_0x26959a}=batchPreloadImages(_0x501331);this['_cancelBatchPreload']=_0x26959a;}['_setOriginalSrc'](_0x31fc88){const _0x36953b=this['_previewImage']||this['_createPreviewImage']();if(this['contains'](_0x36953b)||this['appendChild'](_0x36953b),this['_previewImage']=_0x36953b,_0x36953b['src']===_0x31fc88)return _0x36953b['style']['opacity']='1',_0x36953b['style']['transform']='scale(1)',void(this['className']=_0x2d3bf7({'uc-active_from_viewer':this['_fromViewer'],'uc-active_from_cropper':!this['_fromViewer'],'uc-inactive_to_cropper':!0x1}));_0x36953b['style']['opacity']='0';const _0x211583=this['_handleImageLoading'](_0x31fc88);_0x36953b['addEventListener']('error',_0x211583,{'once':!0x0}),_0x36953b['src']=_0x31fc88,_0x36953b['addEventListener']('load',()=>{_0x211583(),_0x36953b&&(_0x36953b['style']['opacity']='1',_0x36953b['style']['transform']='scale(1)',this['className']=_0x2d3bf7({'uc-active_from_viewer':this['_fromViewer'],'uc-active_from_cropper':!this['_fromViewer'],'uc-inactive_to_cropper':!0x1}));},{'once':!0x0}),_0x36953b['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}async['activate']({url:_0x1a432a,operation:_0x4cfd4b,value:_0x5ad130,filter:_0xfb4762,fromViewer:_0x262ef9}){this['_isActive']=!0x0,this['_hidden']=!0x1,this['_url']=_0x1a432a,this['_operation']=_0x4cfd4b??'initial',this['_value']=_0x5ad130,this['_filter']=_0xfb4762,this['_fromViewer']=_0x262ef9;if('number'!=typeof _0x5ad130&&!_0xfb4762){const _0x5dc2b7=await this['_imageSrc']({'operation':_0x4cfd4b,'value':_0x5ad130});return this['_setOriginalSrc'](_0x5dc2b7),void this['_container']?.['remove']();}_0x4cfd4b&&'number'==typeof _0x5ad130&&(this['_keypoints']=await Promise['all'](keypointsRange(_0x4cfd4b,_0x5ad130)['map'](_0x4c7dd5=>this['_constructKeypoint'](_0x4cfd4b,_0x4c7dd5))),this['_update'](_0x4cfd4b,_0x5ad130),this['_initNodes']());}['deactivate']({hide:_0x28fd47=!0x0}={}){this['_isActive']=!0x1,this['_cancelLastImages']?.(),this['_cancelBatchPreload']?.(),_0x28fd47&&!this['_hidden']?(this['_hidden']=!0x0,this['_previewImage']&&(this['_previewImage']['style']['transform']='scale(1)'),this['className']=_0x2d3bf7({'uc-active_from_viewer':!0x1,'uc-active_from_cropper':!0x1,'uc-inactive_to_cropper':!0x0}),this['addEventListener']('transitionend',()=>{this['_container']?.['remove']();},{'once':!0x0})):this['_container']?.['remove']();}},EditorOperationControl=class extends EditorButtonControl{['_operation']='';['initCallback'](){super['initCallback'](),this['$']['on.click']=_0x5e2fbe=>{this['$']['*sliderEl']['setOperation'](this['_operation']),this['$']['*showSlider']=!0x0,this['$']['*currentOperation']=this['_operation'],this['telemetryManager']['sendEventCloudImageEditor'](_0x5e2fbe,this['$']['*tabId'],{'operation':parseFilterValue(this['$']['*operationTooltip'])});},this['defineAccessor']('operation',_0x3fea47=>{_0x3fea47&&(this['_operation']=_0x3fea47,this['$']['icon']=_0x3fea47,this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-tuning',{'name':this['l10n'](_0x3fea47)['toLowerCase']()})),this['bindL10n']('title',()=>this['l10n'](_0x3fea47)));}),this['sub']('*editorTransformations',_0x561b83=>{if(!this['_operation'])return;const {zero:_0x299160}=_0x33f8f5[this['_operation']],_0x3e09d3=_0x561b83[this['_operation']],_0x1532f3=void 0x0!==_0x3e09d3&&_0x3e09d3!==_0x299160;this['$']['active']=_0x1532f3;});}},_0x442c01=0x1,EditorScroller=class extends _0x2a3fee{['initCallback'](){super['initCallback'](),this['addEventListener']('wheel',_0x4a2a74=>{_0x4a2a74['preventDefault']();const {deltaY:_0x10792d,deltaX:_0x118f4c}=_0x4a2a74;Math['abs'](_0x118f4c)>_0x442c01?this['scrollLeft']+=_0x118f4c:this['scrollLeft']+=_0x10792d;},{'passive':!0x1}),this['addEventListener']('scroll',()=>{},{'passive':!0x0});}};function _0x4068d3(_0x98ce3){return'\x0a\x20\x20\x20\x20<uc-presence-toggle\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-tab-toggle\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22visible:\x20presence.tabToggle.'+_0x98ce3+';\x20styles:\x20presence.tabToggleStyles;\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-btn-ui\x0a\x20\x20\x20\x20\x20\x20\x20\x20theme=\x22tab\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20ref=\x22tab-toggle-'+_0x98ce3+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20data-id=\x22'+_0x98ce3+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20icon=\x22'+_0x98ce3+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20on.clickTab;\x20aria-role:tab_role;\x20aria-controls:tab_'+_0x98ce3+';\x20title-prop:\x20a11y-editor-tab-'+_0x98ce3+'\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20</uc-btn-ui>\x0a\x20\x20\x20\x20</uc-presence-toggle>\x0a\x20\x20';}function renderTabContent(_0x127616){return'\x0a\x20\x20\x20\x20<uc-presence-toggle\x0a\x20\x20\x20\x20\x20\x20id=\x22tab_'+_0x127616+'\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-tab-content\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22visible:\x20presence.tabContent.'+_0x127616+';\x20styles:\x20presence.tabContentStyles\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-editor-scroller\x20hidden-scrollbar>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-controls-list_align\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20role=\x22listbox\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-orientation=\x22horizontal\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-controls-list_inner\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ref=\x22controls-list-'+_0x127616+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20></div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20</uc-editor-scroller>\x0a\x20\x20\x20\x20</uc-presence-toggle>\x0a\x20\x20';}EditorScroller['template']='\x20<slot></slot>\x20';var EditorToolbar=class extends _0x2a3fee{['_debouncedShowLoader'];['_cancelPreload'];['_updateInfoTooltip'];constructor(){super(),this['init$']={...this['init$'],'*sliderEl':null,'*listAspectRatioEl':null,'*loadingOperations':new Map(),'*showSlider':!0x1,'*showListAspectRatio':!0x1,'hideSliderOrList':!0x1,'*currentFilter':_0x2baf46,'*currentOperation':null,'showLoader':!0x1,'filters':_0x1424f3,'colorOperations':_0x40a64f,'cropOperations':_0x17c25c,'*operationTooltip':null,'presence.mainToolbar':!0x0,'presence.subToolbar':!0x1,'presence.tabToggles':!0x0,'presence.tabContent.crop':!0x1,'presence.tabContent.tuning':!0x1,'presence.tabContent.filters':!0x1,'presence.tabToggle.crop':!0x0,'presence.tabToggle.tuning':!0x0,'presence.tabToggle.filters':!0x0,'presence.subTopToolbarStyles':{'hidden':'uc-sub-toolbar--top-hidden','visible':'uc-sub-toolbar--visible'},'presence.subBottomToolbarStyles':{'hidden':'uc-sub-toolbar--bottom-hidden','visible':'uc-sub-toolbar--visible'},'presence.tabContentStyles':{'hidden':'uc-tab-content--hidden','visible':'uc-tab-content--visible'},'presence.tabToggleStyles':{'hidden':'uc-tab-toggle--hidden','visible':'uc-tab-toggle--visible'},'presence.tabTogglesStyles':{'hidden':'uc-tab-toggles--hidden','visible':'uc-tab-toggles--visible'},'on.cancel':_0x4828e4=>{this['telemetryManager']['sendEventCloudImageEditor'](_0x4828e4,this['$']['*tabId'],{'action':'cancel'}),this['_cancelPreload']?.(),(0x0,this['$']['*on.cancel'])();},'on.apply':_0xae377f=>{this['telemetryManager']['sendEventCloudImageEditor'](_0xae377f,this['$']['*tabId'],{'action':'apply'}),(0x0,this['$']['*on.apply'])(this['$']['*editorTransformations']);},'on.applySlider':_0x491266=>{this['telemetryManager']['sendEventCloudImageEditor'](_0x491266,this['$']['*tabId'],{'action':'apply-slider','operation':parseFilterValue(this['$']['*operationTooltip'])}),(this['ref']['slider-el']['apply'](),this['_onSliderClose']());},'on.cancelSlider':_0x27c40e=>{this['telemetryManager']['sendEventCloudImageEditor'](_0x27c40e,this['$']['*tabId'],{'action':'cancel-slider'}),(this['ref']['slider-el']['cancel'](),this['_onSliderClose']());},'on.clickTab':_0x53f342=>{const _0x5b9763=_0x53f342['currentTarget'],_0xb70f45=_0x5b9763?.['getAttribute']('data-id');_0xb70f45&&(this['telemetryManager']['sendEventCloudImageEditor'](_0x53f342,_0xb70f45),this['_activateTab'](_0xb70f45,{'fromViewer':!0x1}));},'tab_role':'tab',['tab_'+_0x3aa6c4['TUNING']]:'tab_'+_0x3aa6c4['TUNING'],['tab_'+_0x3aa6c4['CROP']]:'tab_'+_0x3aa6c4['CROP'],['tab_'+_0x3aa6c4['FILTERS']]:'tab_'+_0x3aa6c4['FILTERS'],'cancel':'cancel','apply':'apply','a11y-editor-tab-filters':'a11y-editor-tab-filters','a11y-editor-tab-tuning':'a11y-editor-tab-tuning','a11y-editor-tab-crop':'a11y-editor-tab-crop'},this['_debouncedShowLoader']=_0x491199(this['_showLoader']['bind'](this),0x1f4),this['_updateInfoTooltip']=_0x491199(this['_updateInfoTooltipHandler']['bind'](this),0x0);}['_onSliderClose'](){(this['$']['*showSlider']=!0x1,this['$']['*tabId']===_0x3aa6c4['CROP']&&(this['$']['*showListAspectRatio']=!0x1),this['$']['*tabId']===_0x3aa6c4['TUNING'])&&this['ref']['tooltip-el']['classList']['toggle']('uc-info-tooltip_visible',!0x1);}['_createOperationControl'](_0x181e79){const _0x43519c=new EditorOperationControl();return _0x43519c['operation']=_0x181e79,_0x43519c;}['_createFilterControl'](_0x12c39b){const _0x518589=new EditorFilterControl();return _0x518589['filter']=_0x12c39b,_0x518589;}['_createToggleControl'](_0x1bfa94){const _0x4089cf=new EditorCropButtonControl();return _0x4089cf['operation']=_0x1bfa94,_0x4089cf;}['_createAspectRatioControl'](_0x27cd07){const _0x6f0994=new EditorAspectRatioButtonControl();return _0x6f0994['aspectRatio']=_0x27cd07,_0x6f0994;}['_createFreeformControl'](){return new EditorFreeformButtonControl();}['_clearListAspectRatio'](){const _0xd914ea=this['$']['*listAspectRatioEl'];_0xd914ea&&(_0xd914ea['innerHTML']='');}['_renderControlsList'](_0xd12849){const _0x198a5c=this['ref']['controls-list-'+_0xd12849],_0x866aa4=document['createDocumentFragment']();if(this['_clearListAspectRatio'](),_0xd12849===_0x3aa6c4['CROP']){const _0x14ae79=this['$']['*cropPresetList'],_0x2c346b=_0x14ae79['length']>=0x3;if(_0x2c346b){const _0x331179=this['_createFreeformControl']();_0x866aa4['appendChild'](_0x331179);}for(const _0x5a2fb9 of _0x14ae79){const _0x2f3d19=this['_createAspectRatioControl'](_0x5a2fb9);if(_0x866aa4['appendChild'](_0x2f3d19),_0x2c346b){const _0x5832ee=this['$']['*listAspectRatioEl'];_0x5832ee?.['appendChild'](_0x2f3d19);}}for(const _0x2369ec of this['$']['cropOperations']){const _0x13dff3=this['_createToggleControl'](_0x2369ec);_0x866aa4['appendChild'](_0x13dff3);}}else{if(_0xd12849===_0x3aa6c4['FILTERS']){const _0x2073ed=this['$']['filters'];[_0x2baf46,..._0x2073ed]['forEach'](_0x4fa6d2=>{const _0x8e801=this['_createFilterControl'](_0x4fa6d2);_0x866aa4['appendChild'](_0x8e801);});}else{if(_0xd12849===_0x3aa6c4['TUNING'])for(const _0x4f3c05 of this['$']['colorOperations']){const _0x258f73=this['_createOperationControl'](_0x4f3c05);_0x866aa4['appendChild'](_0x258f73);}}}[..._0x866aa4['children']]['forEach']((_0x39ea72,_0x3f642d)=>{_0x3f642d===_0x866aa4['childNodes']['length']-0x1&&_0x39ea72['classList']['add']('uc-controls-list_last-item');}),_0x198a5c['innerHTML']='',_0x198a5c['appendChild'](_0x866aa4);}['_activateTab'](_0x1a72a9,{fromViewer:_0x18709c}={}){this['$']['*tabId']=_0x1a72a9;const _0x363fd9=this['$']['*faderEl'],_0x333ad8=this['$']['*cropperEl'];_0x1a72a9===_0x3aa6c4['CROP']?(_0x363fd9?.['deactivate'](),_0x333ad8?.['activate'](this['$']['*imageSize'],{'fromViewer':_0x18709c})):(_0x363fd9?.['activate']({'url':this['$']['*originalUrl'],'fromViewer':_0x18709c}),_0x333ad8?.['deactivate']());for(const _0x593f8e of _0x53655e){const _0x1d56a3=_0x593f8e===_0x1a72a9;this['ref']['tab-toggle-'+_0x593f8e]['active']=_0x1d56a3,_0x1d56a3?(this['_renderControlsList'](_0x1a72a9),this['_syncTabIndicator']()):this['_unmountTabControls'](_0x593f8e),this['$']['presence.tabContent.'+_0x593f8e]=_0x1d56a3;}}['_unmountTabControls'](_0x5c57c8){const _0x4c948a=this['ref']['controls-list-'+_0x5c57c8];_0x4c948a&&(_0x4c948a['innerHTML']='');}['_syncTabIndicator'](){const _0x216c07=this['ref']['tab-toggle-'+this['$']['*tabId']];this['ref']['tabs-indicator']['style']['transform']='translateX('+_0x216c07['offsetLeft']+'px)';}async['_preloadEditedImage'](){if(this['$']['*imgContainerEl']&&this['$']['*originalUrl']){const _0x257640=this['$']['*imgContainerEl']['offsetWidth'],_0x3bc38b=await this['proxyUrl'](_0x57ffc0(this['$']['*originalUrl'],_0x257640,this['$']['*editorTransformations']));this['_cancelPreload']?.();const {cancel:_0x117b6a}=batchPreloadImages([_0x3bc38b]);this['_cancelPreload']=()=>{_0x117b6a(),this['_cancelPreload']=void 0x0;};}}['_showLoader'](_0x555c0c){this['$']['showLoader']=_0x555c0c;}['_updateInfoTooltipHandler'](){const _0x40cc58=this['$']['*editorTransformations'],_0x2e941e=this['$']['*currentOperation'];let _0x7824dd='',_0x5daaad=!0x1;if(this['$']['*tabId']===_0x3aa6c4['FILTERS']){if(_0x5daaad=!0x0,this['$']['*currentFilter']&&_0x40cc58?.['filter']?.['name']===this['$']['*currentFilter']){const _0x57016c=_0x40cc58?.['filter']?.['amount']||0x64;_0x7824dd=this['$']['*currentFilter']+'\x20'+_0x57016c;}else _0x7824dd=this['l10n'](_0x2baf46);}else{if(this['$']['*tabId']===_0x3aa6c4['TUNING']&&_0x2e941e){_0x5daaad=!0x0;const _0x1825da=_0x40cc58?.[_0x2e941e]||_0x33f8f5[_0x2e941e]['zero'];_0x7824dd=this['l10n'](_0x2e941e)+'\x20'+_0x1825da;}}_0x5daaad&&(this['$']['*operationTooltip']=_0x7824dd),this['ref']['tooltip-el']['classList']['toggle']('uc-info-tooltip_visible',_0x5daaad);}['initCallback'](){super['initCallback'](),this['$']['*sliderEl']=this['ref']['slider-el'],this['$']['*listAspectRatioEl']=this['ref']['list-el'],this['sub']('*imageSize',_0x23bc72=>{_0x23bc72&&setTimeout(()=>{this['_activateTab'](this['$']['*tabId'],{'fromViewer':!0x0});},0x0);}),this['sub']('*editorTransformations',_0x3f906=>{const _0x5c5d77=_0x3f906?.['filter']?.['name'];this['$']['*currentFilter']!==_0x5c5d77&&(this['$']['*currentFilter']=_0x5c5d77);}),this['sub']('*currentFilter',()=>{this['_updateInfoTooltip']();}),this['sub']('*currentOperation',()=>{this['_updateInfoTooltip']();}),this['sub']('*tabId',()=>{this['_updateInfoTooltip']();}),this['sub']('*originalUrl',()=>{this['$']['*faderEl']?.['deactivate']();}),this['sub']('*editorTransformations',_0x4ff22f=>{this['_preloadEditedImage'](),this['$']['*faderEl']?.['setTransformations'](_0x4ff22f);}),this['sub']('*loadingOperations',_0x47d657=>{let _0x53436d=!0x1;for(const [,_0x481f06]of _0x47d657['entries']()){if(_0x53436d)break;for(const [,_0x30389c]of _0x481f06['entries']())if(_0x30389c){_0x53436d=!0x0;break;}}this['_debouncedShowLoader'](_0x53436d);}),this['sub']('*showSlider',_0x4ec4fb=>{this['$']['presence.subToolbar']=_0x4ec4fb,this['$']['presence.mainToolbar']=!_0x4ec4fb,this['$']['hideSliderOrList']=!0x0;}),this['sub']('*showListAspectRatio',_0x3498bb=>{this['$']['presence.subToolbar']=_0x3498bb,this['$']['presence.mainToolbar']=!_0x3498bb,this['$']['hideSliderOrList']=!0x1;}),this['sub']('*tabList',_0x5cf68b=>{this['$']['presence.tabToggles']=_0x5cf68b['length']>0x1;for(const _0x5052c7 of _0x53655e){this['$']['presence.tabToggle.'+_0x5052c7]=_0x5cf68b['includes'](_0x5052c7),this['ref']['tab-toggle-'+_0x5052c7]['style']['gridColumn']=''+(_0x5cf68b['indexOf'](_0x5052c7)+0x1);}if(!_0x5cf68b['includes'](this['$']['*tabId'])&&_0x5cf68b['length']>0x0){const [_0x452a0c]=_0x5cf68b;_0x452a0c&&this['_activateTab'](_0x452a0c,{'fromViewer':!0x1});}}),this['_updateInfoTooltip']();}['destroyCallback'](){this['$']['*showSlider']=!0x1,this['$']['*showListAspectRatio']=!0x1;}};EditorToolbar['template']='\x0a\x20\x20<uc-line-loader-ui\x20set=\x22active:\x20showLoader\x22></uc-line-loader-ui>\x0a\x20\x20<div\x20class=\x22uc-info-tooltip_container\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-info-tooltip_wrapper\x22>\x0a\x20\x20\x20\x20\x20\x20<div\x20ref=\x22tooltip-el\x22\x20class=\x22uc-info-tooltip\x20uc-info-tooltip_hidden\x22>{{*operationTooltip}}</div>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</div>\x0a\x20\x20<div\x20class=\x22uc-toolbar-container\x22>\x0a\x20\x20\x20\x20<uc-presence-toggle\x0a\x20\x20\x20\x20\x20\x20role=\x22tablist\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-sub-toolbar\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22visible:\x20presence.mainToolbar;\x20styles:\x20presence.subTopToolbarStyles\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-tab-content-row\x22>'+_0x53655e['map'](renderTabContent)['join']('')+'</div>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-controls-row\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-presence-toggle\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-tab-toggles\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20set=\x22visible:\x20presence.tabToggles;\x20styles:\x20presence.tabTogglesStyles\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ref=\x22tabs-indicator\x22\x20class=\x22uc-tab-toggles_indicator\x22></div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x53655e['map'](_0x4068d3)['join']('')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20</uc-presence-toggle>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-btn-ui\x20style=\x22order:\x20-1\x22\x20theme=\x22secondary-icon\x22\x20icon=\x22closeMax\x22\x20set=\x22onclick:\x20on.cancel;\x20title-prop:cancel\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</uc-btn-ui>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-btn-ui\x20theme=\x22primary-icon\x22\x20icon=\x22done\x22\x20set=\x22onclick:\x20on.apply;\x20title-prop:apply\x22>\x20</uc-btn-ui>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20</uc-presence-toggle>\x0a\x20\x20\x20\x20<uc-presence-toggle\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-sub-toolbar\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22visible:\x20presence.subToolbar;\x20styles:\x20presence.subBottomToolbarStyles\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-slider\x22\x20set=\x22@hidden:!hideSliderOrList\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-editor-slider\x20ref=\x22slider-el\x22></uc-editor-slider>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x0a\x20\x20\x20\x20\x20\x20<div\x20set=\x22@hidden:hideSliderOrList\x22\x20class=\x22uc-list-aspect-ratio-container\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-list-aspect-ratio\x22\x20ref=\x22list-el\x22></div>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-controls-row\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-btn-ui\x20theme=\x22secondary\x22\x20set=\x22onclick:\x20on.cancelSlider\x22\x20l10n=\x22@text:cancel\x22>\x20</uc-btn-ui>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-btn-ui\x20theme=\x22primary\x22\x20set=\x22onclick:\x20on.applySlider\x22\x20l10n=\x22@text:apply\x22>\x20</uc-btn-ui>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20</uc-presence-toggle>\x0a\x20\x20</div>\x0a';var BtnUi=class extends _0x2a3fee{['_iconReversed']=!0x1;['_iconSingle']=!0x1;['_iconHidden']=!0x1;constructor(){super(),this['init$']={...this['init$'],'text':'','icon':'','iconCss':this['_iconCss'](),'theme':null,'aria-role':'','aria-controls':'','title-prop':''},this['defineAccessor']('active',_0x565968=>{_0x565968?this['setAttribute']('active',''):this['removeAttribute']('active');});}['_iconCss'](){return _0x2d3bf7('uc-icon',{'uc-icon_left':!this['_iconReversed'],'uc-icon_right':this['_iconReversed'],'uc-icon_hidden':this['_iconHidden'],'uc-icon_single':this['_iconSingle']});}['initCallback'](){super['initCallback'](),this['sub']('icon',_0x248fc2=>{this['_iconSingle']=!this['$']['text'],this['_iconHidden']=!_0x248fc2,this['$']['iconCss']=this['_iconCss']();}),this['sub']('theme',_0x223ac3=>{_0x223ac3&&'custom'!==_0x223ac3&&(this['className']='uc-'+_0x223ac3);}),this['sub']('text',()=>{this['_iconSingle']=!0x1;}),this['hasAttribute']('theme')||this['setAttribute']('theme','default'),this['defineAccessor']('aria-role',_0x7ae66=>{this['$']['aria-role']=_0x7ae66||'';}),this['defineAccessor']('aria-controls',_0x12547b=>{this['$']['aria-controls']=_0x12547b||'';}),this['defineAccessor']('title-prop',_0xd9e4b7=>{this['$']['title-prop']=_0xd9e4b7||'';});}set['reverse'](_0x4ebb18){this['hasAttribute']('reverse')?(this['style']['flexDirection']='row-reverse',this['_iconReversed']=!0x0):(this['_iconReversed']=!0x1,this['style']['flexDirection']='');}};BtnUi['bindAttributes']({'text':'text','icon':'icon','reverse':'reverse','theme':'theme'}),BtnUi['template']='\x0a\x20\x20<button\x0a\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20set=\x22@role:aria-role;\x20@aria-controls:\x20aria-controls;\x20@aria-label:title-prop\x22\x0a\x20\x20\x20\x20l10n=\x22@title:title-prop;\x22\x0a\x20\x20>\x0a\x20\x20\x20\x20<uc-icon\x20set=\x22className:\x20iconCss;\x20@name:\x20icon;\x20@hidden:\x20!icon\x22></uc-icon>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-text\x22>{{text}}</div>\x0a\x20\x20</button>\x0a';var _0x2f40b6=class extends _0x2a3fee{['_active']=!0x1;['_handleTransitionEndRight']=()=>{const _0x256a6d=this['ref']['line-el'];_0x256a6d['style']['transition']='initial',_0x256a6d['style']['opacity']='0',_0x256a6d['style']['transform']='translateX(-101%)',this['_active']&&this['_start']();};['initCallback'](){super['initCallback'](),this['defineAccessor']('active',_0x333bdd=>{'boolean'==typeof _0x333bdd&&(_0x333bdd?this['_start']():this['_stop']());});}['_start'](){this['_active']=!0x0;const {width:_0x294315}=this['getBoundingClientRect'](),_0x356b96=this['ref']['line-el'];_0x356b96['style']['transition']='transform\x201s',_0x356b96['style']['opacity']='1',_0x356b96['style']['transform']='translateX('+_0x294315+'px)',_0x356b96['addEventListener']('transitionend',this['_handleTransitionEndRight'],{'once':!0x0});}['_stop'](){this['_active']=!0x1;}};_0x2f40b6['template']='\x0a\x20\x20<div\x20class=\x22uc-inner\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-line\x22\x20ref=\x22line-el\x22></div>\x0a\x20\x20</div>\x0a';var _0x106dd4={'transition':'uc-transition','visible':'uc-visible','hidden':'uc-hidden'},_0x3957ae=class extends _0x2a3fee{['_visible']=!0x1;['_visibleStyle']=_0x106dd4['visible'];['_hiddenStyle']=_0x106dd4['hidden'];['_externalTransitions']=!0x1;constructor(){super(),this['defineAccessor']('styles',_0xde6033=>{_0xde6033&&(this['_externalTransitions']=!0x0,this['_visibleStyle']=_0xde6033['visible']??_0x106dd4['visible'],this['_hiddenStyle']=_0xde6033['hidden']??_0x106dd4['hidden']);}),this['defineAccessor']('visible',_0xa045de=>{'boolean'==typeof _0xa045de&&(this['_visible']=_0xa045de,this['_handleVisible']());});}['_handleVisible'](){this['style']['visibility']=this['_visible']?'inherit':'hidden',_0x148219(this,{[_0x106dd4['transition']]:!this['_externalTransitions'],[this['_visibleStyle']]:this['_visible'],[this['_hiddenStyle']]:!this['_visible']}),this['setAttribute']('aria-hidden',this['_visible']?'false':'true');}['initCallback'](){super['initCallback'](),this['classList']['toggle']('uc-initial',!0x0),this['_externalTransitions']||this['classList']['add'](_0x106dd4['transition']),this['_handleVisible'](),setTimeout(()=>{this['classList']['toggle']('uc-initial',!0x1);},0x0);}};_0x3957ae['template']='<slot></slot>\x20';var _0xef033f=class extends _0x2a3fee{['_observer'];['_thumbSize']=0x0;['_zero']=0x0;['_zeroDotEl'];['_stepsCount'];constructor(){super(),this['init$']={...this['init$'],'disabled':!0x1,'min':0x0,'max':0x64,'onInput':null,'onChange':null,'defaultValue':0x0,'on.sliderInput':()=>{const _0x2c4e4a=Number['parseInt'](this['_inputEl']()['value'],0xa);this['_updateValue'](_0x2c4e4a),this['$']['onInput']?.(_0x2c4e4a);},'on.sliderChange':()=>{const _0x48aa65=Number['parseInt'](this['_inputEl']()['value'],0xa);this['$']['onChange']?.(_0x48aa65);}},this['setAttribute']('with-effects','');}['initCallback'](){super['initCallback'](),this['defineAccessor']('disabled',_0x241494=>{this['$']['disabled']=_0x241494;}),this['defineAccessor']('min',_0x176ca9=>{this['$']['min']=_0x176ca9;}),this['defineAccessor']('max',_0x14400b=>{this['$']['max']=_0x14400b;}),this['defineAccessor']('defaultValue',_0x2ede30=>{this['$']['defaultValue']=_0x2ede30,(this['_inputEl']()['value']=String(_0x2ede30),this['_updateValue'](_0x2ede30));}),this['defineAccessor']('zero',_0x4383f4=>{this['_zero']=_0x4383f4;}),this['defineAccessor']('onInput',_0x127a7d=>{_0x127a7d&&(this['$']['onInput']=_0x127a7d);}),this['defineAccessor']('onChange',_0x225289=>{_0x225289&&(this['$']['onChange']=_0x225289);}),this['_updateSteps'](),this['_observer']=new ResizeObserver(()=>{this['_updateSteps']();const _0xcd01c3=Number['parseInt'](this['_inputEl']()['value'],0xa);this['_updateValue'](_0xcd01c3);}),this['_observer']['observe'](this),this['_thumbSize']=Number['parseInt'](window['getComputedStyle'](this)['getPropertyValue']('--l-thumb-size'),0xa),setTimeout(()=>{const _0xb3d955=Number['parseInt'](this['_inputEl']()['value'],0xa);this['_updateValue'](_0xb3d955);},0x0),this['sub']('disabled',_0x34f00c=>{const _0x1f4066=this['_inputEl']();_0x34f00c?_0x1f4066['setAttribute']('disabled','disabled'):_0x1f4066['removeAttribute']('disabled');});const _0x464ac0=this['_inputEl']();_0x464ac0['addEventListener']('focus',()=>{this['style']['setProperty']('--color-effect','var(--hover-color-rgb)');}),_0x464ac0['addEventListener']('blur',()=>{this['style']['setProperty']('--color-effect','var(--idle-color-rgb)');});}['_inputEl'](){return this['ref']['input-el'];}['_thumbEl'](){return this['ref']['thumb-el'];}['_stepsEl'](){return this['ref']['steps-el'];}['_updateValue'](_0x2a1f2d){this['_updateZeroDot'](_0x2a1f2d);const {width:_0x1da336}=this['getBoundingClientRect'](),_0x526e6e=0x64/(this['$']['max']-this['$']['min'])*(_0x2a1f2d-this['$']['min'])*(_0x1da336-this['_thumbSize'])/0x64;window['requestAnimationFrame'](()=>{this['_thumbEl']()['style']['transform']='translateX('+_0x526e6e+'px)';});}['_updateZeroDot'](_0x29caee){if(!this['_zeroDotEl'])return;this['_zeroDotEl']['style']['opacity']=_0x29caee===this['_zero']?'0':'1';const {width:_0x12efcc}=this['getBoundingClientRect'](),_0x26e9da=0x64/(this['$']['max']-this['$']['min'])*(this['_zero']-this['$']['min'])*(_0x12efcc-this['_thumbSize'])/0x64;window['requestAnimationFrame'](()=>{this['_zeroDotEl']&&(this['_zeroDotEl']['style']['transform']='translateX('+_0x26e9da+'px)');});}['_updateSteps'](){const _0x4e8cee=this['_stepsEl'](),{width:_0x3f6040}=_0x4e8cee['getBoundingClientRect'](),_0x5ae9a7=Math['ceil'](_0x3f6040/0x2),_0x17e788=Math['ceil'](_0x5ae9a7/0xf)-0x2;if(this['_stepsCount']===_0x17e788)return;const _0x3b93f=document['createDocumentFragment'](),_0x502886=document['createElement']('div'),_0x281729=document['createElement']('div');_0x502886['className']='uc-minor-step',_0x281729['className']='uc-border-step',_0x3b93f['appendChild'](_0x281729);for(let _0x1dc388=0x0;_0x1dc388<_0x17e788;_0x1dc388+=0x1)_0x3b93f['appendChild'](_0x502886['cloneNode']());_0x3b93f['appendChild'](_0x281729['cloneNode']());for(let _0x2493f4=0x0;_0x2493f4<_0x17e788;_0x2493f4+=0x1)_0x3b93f['appendChild'](_0x502886['cloneNode']());_0x3b93f['appendChild'](_0x281729['cloneNode']());const _0x55743c=document['createElement']('div');_0x55743c['className']='uc-zero-dot',_0x3b93f['appendChild'](_0x55743c),this['_zeroDotEl']=_0x55743c,_0x4e8cee['innerHTML']='',_0x4e8cee['appendChild'](_0x3b93f),this['_stepsCount']=_0x17e788;}['destroyCallback'](){super['destroyCallback'](),this['_observer']?.['disconnect']();}};_0xef033f['template']='\x0a\x20\x20<div\x20class=\x22uc-steps\x22\x20ref=\x22steps-el\x22></div>\x0a\x20\x20<div\x20ref=\x22thumb-el\x22\x20class=\x22uc-thumb\x22></div>\x0a\x20\x20<input\x0a\x20\x20\x20\x20class=\x22uc-input\x22\x0a\x20\x20\x20\x20type=\x22range\x22\x0a\x20\x20\x20\x20ref=\x22input-el\x22\x0a\x20\x20\x20\x20set=\x22oninput:\x20on.sliderInput;\x20onchange:\x20on.sliderChange;\x20@min:\x20min;\x20@max:\x20max;\x20@value:\x20defaultValue;\x22\x0a\x20\x20/>\x0a';var CloudImageEditorActivity=class extends _0x14dc68{['couldBeCtxOwner']=!0x0;['activityType']=ActivityBlock['activities']['CLOUD_IMG_EDIT'];['_entry'];['_instance'];get['activityParams'](){const _0x5b230b=super['activityParams'];if('internalId'in _0x5b230b)return _0x5b230b;throw new Error('Cloud\x20Image\x20Editor\x20activity\x20params\x20not\x20found');}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType'],{'onActivate':()=>this['mountEditor'](),'onDeactivate':()=>this['unmountEditor']()}),this['subConfigValue']('cropPreset',_0xcbf955=>{this['_instance']&&this['_instance']['getAttribute']('crop-preset')!==_0xcbf955&&this['_instance']['setAttribute']('crop-preset',_0xcbf955);}),this['subConfigValue']('cloudImageEditorTabs',_0xb8e61e=>{this['_instance']&&this['_instance']['getAttribute']('tabs')!==_0xb8e61e&&this['_instance']['setAttribute']('tabs',_0xb8e61e);});}['handleApply'](_0x479765){if(!this['_entry'])return;const _0x4d59c9=_0x479765['detail'];this['_entry']['setMultipleValues']({'cdnUrl':_0x4d59c9['cdnUrl'],'cdnUrlModifiers':_0x4d59c9['cdnUrlModifiers']}),this['modalManager']?.['close'](ActivityBlock['activities']['CLOUD_IMG_EDIT']),this['historyBack']();}['handleCancel'](){this['modalManager']?.['close'](ActivityBlock['activities']['CLOUD_IMG_EDIT']),this['historyBack']();}['mountEditor'](){const {internalId:_0x3b5cd4}=this['activityParams'],_0x4d3efb=this['uploadCollection']['read'](_0x3b5cd4);if(!_0x4d3efb)throw new Error('Entry\x20with\x20internalId\x20\x22'+_0x3b5cd4+'\x22\x20not\x20found');this['_entry']=_0x4d3efb;const _0x3f93b2=this['_entry']['getValue']('cdnUrl');if(!_0x3f93b2)throw new Error('Entry\x20with\x20internalId\x20\x22'+_0x3b5cd4+'\x22\x20hasn\x27t\x20uploaded\x20yet');const _0x362ac4=new CloudImageEditorBlock(),_0xae09cf=this['cfg']['cropPreset'],_0xc4ba0f=this['cfg']['cloudImageEditorTabs'];_0x362ac4['setAttribute']('ctx-name',this['ctxName']),_0x362ac4['setAttribute']('cdn-url',_0x3f93b2),_0xae09cf&&_0x362ac4['setAttribute']('crop-preset',_0xae09cf),_0xc4ba0f&&_0x362ac4['setAttribute']('tabs',_0xc4ba0f),_0x362ac4['addEventListener']('apply',_0x398c14=>{const _0x4831d8=_0x398c14;this['handleApply'](_0x4831d8),this['debugPrint']('editor\x20event\x20\x22apply\x22',_0x4831d8['detail']);}),_0x362ac4['addEventListener']('cancel',_0x1d4b88=>{const _0x581d56=_0x1d4b88;this['handleCancel'](),this['debugPrint']('editor\x20event\x20\x22cancel\x22',_0x581d56['detail']);}),_0x362ac4['addEventListener']('change',_0x50bfa1=>{const _0xa8c64b=_0x50bfa1;this['debugPrint']('editor\x20event\x20\x22change\x22',_0xa8c64b['detail']);}),this['innerHTML']='',this['appendChild'](_0x362ac4),this['_instance']=_0x362ac4;}['unmountEditor'](){this['_instance']=void 0x0,this['_entry']=void 0x0,this['innerHTML']='';}},toKebabCase=_0x5884a1=>_0x5884a1['match'](/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g)?.['map'](_0x37a82e=>_0x37a82e['toLowerCase']())['join']('-'),_0x53a5cb=[{'test':_0x32f171=>!!_0x32f171['accept']&&!!_0x32f171['imgOnly'],'message':'There\x20could\x20be\x20a\x20mistake.\x0aBoth\x20`accept`\x20and\x20`imgOnly`\x20parameters\x20are\x20set.\x0aThe\x20value\x20of\x20`accept`\x20will\x20be\x20concatenated\x20with\x20the\x20internal\x20image\x20mime\x20types\x20list.'},{'test':_0xb654d7=>null!==_0xb654d7['enableVideoRecording'],'message':'The\x20`enableVideoRecording`\x20parameter\x20is\x20deprecated\x20and\x20will\x20be\x20removed\x20in\x20the\x20next\x20major\x20release.\x0aPlease\x20use\x20the\x20`cameraModes`\x20parameter\x20instead.'},{'test':_0x581496=>null!==_0x581496['defaultCameraMode'],'message':'The\x20`defaultCameraMode`\x20parameter\x20is\x20deprecated\x20and\x20will\x20be\x20removed\x20in\x20the\x20next\x20major\x20release.\x0aPlease\x20use\x20the\x20`cameraModes`\x20parameter\x20instead.'}],runAssertions=_0x491199(_0x13ee04=>{for(const {test:_0x92891c,message:_0x1c8c05}of _0x53a5cb)_0x92891c(_0x13ee04)&&_0x22627a(_0x1c8c05);},0x0),_0x3e8579=_0x18a68f=>_0x18a68f instanceof Promise||Boolean(_0x18a68f&&'object'==typeof _0x18a68f&&'then'in _0x18a68f&&'function'==typeof _0x18a68f['then']),defineComputedProperty=_0x446e42=>_0x446e42,_0x398fa0=[defineComputedProperty({'key':'cameraModes','deps':['enableVideoRecording'],'fn':({cameraModes:_0x4ddfa4,enableVideoRecording:_0x1442a6})=>{if(null===_0x1442a6)return _0x4ddfa4;let _0x45eb09=_0x40941e(_0x4ddfa4);return _0x1442a6&&!_0x45eb09['includes']('video')?_0x45eb09=_0x45eb09['concat']('video'):_0x1442a6||(_0x45eb09=_0x45eb09['filter'](_0x32c5d2=>'video'!==_0x32c5d2)),_0x12bad6(_0x45eb09);}}),defineComputedProperty({'key':'cameraModes','deps':['defaultCameraMode'],'fn':({cameraModes:_0x1a386e,defaultCameraMode:_0x208cbf})=>{if(null===_0x208cbf)return _0x1a386e;let _0x2e6da8=_0x40941e(_0x1a386e);return _0x2e6da8=_0x2e6da8['sort']((_0x40559f,_0x5803a8)=>_0x40559f===_0x208cbf?-0x1:_0x5803a8===_0x208cbf?0x1:0x0),_0x12bad6(_0x2e6da8);}}),defineComputedProperty({'key':'cdnCname','deps':['pubkey','cdnCnamePrefixed'],'fn':({pubkey:_0x22f820,cdnCname:_0x45874d,cdnCnamePrefixed:_0x499613})=>_0x22f820&&(_0x45874d===_0x235448||_0x11bfb2(_0x45874d,_0x499613))?_0x17efc3(_0x22f820,_0x499613):_0x45874d})],computeProperty=({key:_0x2189d2,setValue:_0x3d431a,getValue:_0x1ba97e,computationControllers:_0x43d524})=>{for(const _0x3f2a2d of _0x398fa0)if(_0x3f2a2d['deps']['includes'](_0x2189d2)){const _0x5711cf={[_0x3f2a2d['key']]:_0x1ba97e(_0x3f2a2d['key'])};for(const _0x2e11c4 of _0x3f2a2d['deps'])_0x5711cf[_0x2e11c4]=_0x1ba97e(_0x2e11c4);const _0x2f6775=new AbortController();let _0x272749;_0x43d524['get'](_0x3f2a2d['key'])?.['abort'](),_0x43d524['set'](_0x3f2a2d['key'],_0x2f6775);try{_0x272749=_0x3f2a2d['fn'](_0x5711cf,{'signal':_0x2f6775['signal']});}catch(_0x39ab6e){return _0x43d524['get'](_0x3f2a2d['key'])===_0x2f6775&&_0x43d524['delete'](_0x3f2a2d['key']),void console['error']('Failed\x20to\x20compute\x20value\x20for\x20\x22'+_0x3f2a2d['key']+'\x22',_0x39ab6e);}_0x3e8579(_0x272749)?_0x272749['then'](_0x5871b0=>{_0x2f6775['signal']['aborted']||_0x3d431a(_0x3f2a2d['key'],_0x5871b0);})['catch'](_0x28363f=>{_0x2f6775['signal']['aborted']||console['error']('Failed\x20to\x20compute\x20value\x20for\x20\x22'+_0x3f2a2d['key']+'\x22',_0x28363f);})['finally'](()=>{_0x43d524['get'](_0x3f2a2d['key'])===_0x2f6775&&_0x43d524['delete'](_0x3f2a2d['key']);}):_0x3d431a(_0x3f2a2d['key'],_0x272749);}},asString=_0x53343c=>String(_0x53343c),_0x1a6d62=_0x1d11af=>{const _0x266059=Number(_0x1d11af);if(Number['isNaN'](_0x266059))throw new Error('Invalid\x20number:\x20\x22'+_0x1d11af+'\x22');return _0x266059;},_0x2392a0=_0x156fa0=>{if(null==_0x156fa0)return!0x1;if('boolean'==typeof _0x156fa0)return _0x156fa0;if('true'===_0x156fa0)return!0x0;if(''===_0x156fa0)return!0x0;if('false'===_0x156fa0)return!0x1;throw new Error('Invalid\x20boolean:\x20\x22'+_0x156fa0+'\x22');},asStore=_0x237a41=>'auto'===_0x237a41?_0x237a41:_0x2392a0(_0x237a41),asCameraCapture=_0x56f33b=>{const _0x1375eb=asString(_0x56f33b);if('user'!==_0x1375eb&&'environment'!==_0x1375eb&&''!==_0x1375eb)throw new Error('Invalid\x20value:\x20\x22'+_0x1375eb+'\x22');return _0x1375eb;},_0x519ef1=_0x23a28a=>{const _0x42df88=asString(_0x23a28a);if(!Object['values'](_0xa0c6ec)['includes'](_0x42df88))throw new Error('Invalid\x20value:\x20\x22'+_0x42df88+'\x22');return _0x42df88;},_0x565fa9=_0x169361=>{const _0x626ec1=asString(_0x169361),_0x3ef74a=_0x40941e(_0x626ec1);if(_0x3ef74a['some'](_0x3e0002=>!Object['values'](_0xa0c6ec)['includes'](_0x3e0002)))throw new Error('Invalid\x20value:\x20\x22'+JSON['stringify'](_0x3ef74a)+'\x22');return _0x626ec1;},asMetadata=_0x2c3c91=>{if('object'==typeof _0x2c3c91&&!Array['isArray'](_0x2c3c91))return _0x2c3c91;if('function'==typeof _0x2c3c91)return _0x2c3c91;throw new Error('Invalid\x20metadata\x20value.\x20Must\x20be\x20an\x20object\x20or\x20function.');},asObject=_0x3205d8=>{if('object'==typeof _0x3205d8)return _0x3205d8;throw new Error('Invalid\x20value.\x20Must\x20be\x20an\x20object.');},asFunction=_0x407257=>{if('function'==typeof _0x407257)return _0x407257;throw new Error('Invalid\x20value.\x20Must\x20be\x20a\x20function.');},_0xec1f4f=_0x352c41=>{if(Array['isArray'](_0x352c41))return _0x352c41;throw new Error('Must\x20be\x20an\x20array.');},_0x363136=_0x437c41=>{const _0x30ba34=asString(_0x437c41);if(['grid','list']['includes'](_0x30ba34))return _0x30ba34;throw new Error('Invalid\x20value:\x20\x22'+_0x30ba34+'\x22');},_0x5088fe={'pubkey':asString,'multiple':_0x2392a0,'multipleMin':_0x1a6d62,'multipleMax':_0x1a6d62,'confirmUpload':_0x2392a0,'imgOnly':_0x2392a0,'accept':asString,'externalSourcesPreferredTypes':asString,'externalSourcesEmbedCss':asString,'store':asStore,'cameraMirror':_0x2392a0,'cameraCapture':asCameraCapture,'sourceList':asString,'topLevelOrigin':asString,'maxLocalFileSizeBytes':_0x1a6d62,'thumbSize':_0x1a6d62,'showEmptyList':_0x2392a0,'useLocalImageEditor':_0x2392a0,'useCloudImageEditor':_0x2392a0,'cloudImageEditorTabs':asString,'removeCopyright':_0x2392a0,'cropPreset':asString,'imageShrink':asString,'modalScrollLock':_0x2392a0,'modalBackdropStrokes':_0x2392a0,'sourceListWrap':_0x2392a0,'remoteTabSessionKey':asString,'cdnCname':asString,'cdnCnamePrefixed':asString,'baseUrl':asString,'socialBaseUrl':asString,'secureSignature':asString,'secureExpire':asString,'secureDeliveryProxy':asString,'retryThrottledRequestMaxTimes':_0x1a6d62,'retryNetworkErrorMaxTimes':_0x1a6d62,'multipartMinFileSize':_0x1a6d62,'multipartChunkSize':_0x1a6d62,'maxConcurrentRequests':_0x1a6d62,'multipartMaxConcurrentRequests':_0x1a6d62,'multipartMaxAttempts':_0x1a6d62,'checkForUrlDuplicates':_0x2392a0,'saveUrlForRecurrentUploads':_0x2392a0,'groupOutput':_0x2392a0,'userAgentIntegration':asString,'debug':_0x2392a0,'localeName':asString,'metadata':asMetadata,'secureUploadsExpireThreshold':_0x1a6d62,'localeDefinitionOverride':_0x42700f=>asObject(_0x42700f),'secureUploadsSignatureResolver':_0x4c56e2=>asFunction(_0x4c56e2),'secureDeliveryProxyUrlResolver':_0x27bf8d=>asFunction(_0x27bf8d),'iconHrefResolver':_0x5735a4=>asFunction(_0x5735a4),'fileValidators':_0xec1f4f,'collectionValidators':_0xec1f4f,'validationTimeout':_0x1a6d62,'validationConcurrency':_0x1a6d62,'cameraModes':_0x565fa9,'defaultCameraMode':_0x519ef1,'enableAudioRecording':_0x2392a0,'enableVideoRecording':_0x2392a0,'mediaRecorderOptions':asObject,'maxVideoRecordingDuration':_0x1a6d62,'filesViewMode':_0x363136,'gridShowFileNames':_0x2392a0,'cloudImageEditorAutoOpen':_0x2392a0,'cloudImageEditorMaskHref':asString,'testMode':_0x2392a0,'qualityInsights':_0x2392a0},_0xab3cac=(_0x250a2e,_0x9b1d06)=>{if(null!=_0x9b1d06)try{return _0x5088fe[_0x250a2e](_0x9b1d06);}catch(_0x50077c){return console['error']('Invalid\x20value\x20for\x20config\x20key\x20\x22'+_0x250a2e+'\x22.',_0x50077c),initialConfig[_0x250a2e];}},_0x3bf80d=[...new Set(['debug',...Object['keys'](initialConfig)])],_0x49b4a2=['metadata','localeDefinitionOverride','secureUploadsSignatureResolver','secureDeliveryProxyUrlResolver','iconHrefResolver','fileValidators','collectionValidators','mediaRecorderOptions'],_0x248da5=_0x5c27b6=>_0x49b4a2['includes'](_0x5c27b6),_0x1e1a9b=_0x3bf80d['filter'](_0x25e473=>!_0x248da5(_0x25e473)),attrKeyMapping={...Object['fromEntries'](_0x1e1a9b['map'](_0x150f49=>[toKebabCase(_0x150f49),_0x150f49])),...Object['fromEntries'](_0x1e1a9b['map'](_0x58d6a4=>[_0x58d6a4['toLowerCase'](),_0x58d6a4]))},attrStateMapping={...Object['fromEntries'](_0x1e1a9b['map'](_0x24c216=>[toKebabCase(_0x24c216),_0x1b2219(_0x24c216)])),...Object['fromEntries'](_0x1e1a9b['map'](_0x1afefb=>[_0x1afefb['toLowerCase'](),_0x1b2219(_0x1afefb)]))},getLocalPropName=_0x247b4b=>'__'+_0x247b4b,_0x426645=class extends _0x2a3fee{['requireCtxName']=!0x0;constructor(){super(),this['init$']={...this['init$'],...Object['fromEntries'](Object['entries'](initialConfig)['map'](([_0x46c4dd,_0x258f12])=>[_0x1b2219(_0x46c4dd),_0x258f12])),'computationControllers':new Map()};}['_flushValueToAttribute'](_0x77fc60,_0x31a792){if(!_0x248da5(_0x77fc60)){const _0x16f5c7=[...new Set([toKebabCase(_0x77fc60),_0x77fc60['toLowerCase']()])];for(const _0x1b8d38 of _0x16f5c7)null==_0x31a792?this['removeAttribute'](_0x1b8d38):this['getAttribute'](_0x1b8d38)!==_0x31a792['toString']()&&this['setAttribute'](_0x1b8d38,_0x31a792['toString']());}}['_flushValueToState'](_0x235fde,_0x439330){this['$'][_0x1b2219(_0x235fde)]!==_0x439330&&(this['$'][_0x1b2219(_0x235fde)]=null==_0x439330?initialConfig[_0x235fde]:_0x439330);}['_setValue'](_0x5ef43e,_0x2dcf05){const _0x39f25a=this,_0x3aea27=_0xab3cac(_0x5ef43e,_0x2dcf05),_0xd769f=getLocalPropName(_0x5ef43e);_0x39f25a[_0xd769f]!==_0x3aea27&&(this['_assertSameValueDifferentReference'](_0x5ef43e,_0x39f25a[_0xd769f],_0x3aea27),_0x39f25a[_0xd769f]=_0x3aea27,this['_flushValueToAttribute'](_0x5ef43e,_0x3aea27),this['_flushValueToState'](_0x5ef43e,_0x3aea27),this['debugPrint']('[uc-config]\x20\x22'+_0x5ef43e+'\x22',_0x3aea27),runAssertions(this['cfg']));}['_getValue'](_0x15ab98){return this[getLocalPropName(_0x15ab98)]??this['$'][_0x1b2219(_0x15ab98)];}['_assertSameValueDifferentReference'](_0x230886,_0x454ca4,_0x52abc1){this['cfg']['debug']&&_0x52abc1!==_0x454ca4&&'object'==typeof _0x52abc1&&'object'==typeof _0x454ca4&&JSON['stringify'](_0x52abc1)===JSON['stringify'](_0x454ca4)&&(console['warn']('[uc-config]\x20Option\x20\x22'+_0x230886+'\x22\x20value\x20is\x20the\x20same\x20as\x20the\x20previous\x20one\x20but\x20the\x20reference\x20is\x20different'),console['warn']('[uc-config]\x20You\x20should\x20avoid\x20changing\x20the\x20reference\x20of\x20the\x20object\x20to\x20prevent\x20unnecessary\x20calculations'),console['warn']('[uc-config]\x20\x22'+_0x230886+'\x22\x20previous\x20value:',_0x454ca4),console['warn']('[uc-config]\x20\x22'+_0x230886+'\x22\x20new\x20value:',_0x52abc1));}['initCallback'](){super['initCallback']();const _0x1fed1e=this;for(const _0x291a99 of _0x1e1a9b)this['sub'](_0x1b2219(_0x291a99),_0x264adc=>{this['_setValue'](_0x291a99,_0x264adc);},!0x1);for(const _0x3d871b of _0x3bf80d){const _0x236904=_0x1fed1e[_0x3d871b]??this['$'][_0x1b2219(_0x3d871b)];_0x236904!==initialConfig[_0x3d871b]&&this['_setValue'](_0x3d871b,_0x236904),Object['defineProperty'](this,_0x3d871b,{'set':_0x211e5d=>{this['_setValue'](_0x3d871b,_0x211e5d);},'get':()=>this['_getValue'](_0x3d871b)});}for(const _0x189bbb of _0x3bf80d)this['sub'](_0x1b2219(_0x189bbb),()=>{computeProperty({'key':_0x189bbb,'setValue':this['_setValue']['bind'](this),'getValue':this['_getValue']['bind'](this),'computationControllers':this['computationControllers']});});}['attributeChangedCallback'](_0x342e2d,_0x3f6837,_0x4c8ff3){if(_0x3f6837===_0x4c8ff3)return;const _0x22d8d3=this,_0x574b4b=attrKeyMapping[_0x342e2d];_0x574b4b&&(_0x22d8d3[_0x574b4b]=_0x4c8ff3);}get['computationControllers'](){return this['$']['computationControllers'];}};_0x426645['bindAttributes'](attrStateMapping);for(const _0x1a1a6b of _0x3bf80d)_0x426645['prototype'][_0x1a1a6b]=void 0x0;var Copyright=class extends _0x2a3fee{['initCallback'](){super['initCallback'](),this['subConfigValue']('removeCopyright',_0x582cf6=>{this['toggleAttribute']('hidden',!!_0x582cf6);});}static ['template']='\x0a\x20\x20\x20\x20<a\x0a\x20\x20\x20\x20\x20\x20href=\x22https://uploadcare.com/?utm_source=copyright&utm_medium=referral&utm_campaign=v4\x22\x0a\x20\x20\x20\x20\x20\x20target=\x22_blank\x20noopener\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-credits\x22\x0a\x20\x20\x20\x20\x20\x20>Powered\x20by\x20Uploadcare</a\x0a\x20\x20\x20\x20>\x0a\x20\x20';};function checkIsDirectory(_0x5e3330){return new Promise(_0x37b7e1=>{'function'!=typeof window['FileReader']&&_0x37b7e1(!0x1);try{const _0x34b44a=new FileReader();_0x34b44a['onerror']=()=>{_0x37b7e1(!0x0);};const _0x30bf28=_0xbddd0c=>{'loadend'!==_0xbddd0c['type']&&_0x34b44a['abort'](),_0x37b7e1(!0x1);};_0x34b44a['onloadend']=_0x30bf28,_0x34b44a['onprogress']=_0x30bf28,_0x34b44a['readAsDataURL'](_0x5e3330);}catch{_0x37b7e1(!0x1);}});}function readEntryContentAsync(_0x18c684,_0x1caa66){return new Promise(_0x41edd8=>{let _0x342050=0x0;const _0x122005=[],_0x4eb7ca=_0x480455=>{if(!_0x480455)return console['warn']('Unexpectedly\x20received\x20empty\x20content\x20entry',{'scope':'drag-and-drop'}),void _0x41edd8(null);_0x480455['isFile']?(_0x342050++,_0x480455['file'](_0x4abc71=>{_0x342050--;const _0x3af299=new File([_0x4abc71],_0x4abc71['name'],{'type':_0x4abc71['type']||_0x1caa66});_0x122005['push']({'type':'file','file':_0x3af299,'fullPath':_0x480455['fullPath']}),0x0===_0x342050&&_0x41edd8(_0x122005);})):_0x480455['isDirectory']&&_0x2fa604(_0x480455['createReader']());},_0x2fa604=_0x5ed18f=>{_0x342050++,_0x5ed18f['readEntries'](_0x2cfcae=>{_0x342050--;for(const _0x120dd6 of _0x2cfcae)_0x4eb7ca(_0x120dd6);0x0===_0x342050&&_0x41edd8(_0x122005);});};_0x4eb7ca(_0x18c684);});}function getDropItems(_0x4742c9){const _0x126c5f=[],_0x26a50c=[];for(let _0x1ce669=0x0;_0x1ce669<_0x4742c9['items']['length'];_0x1ce669++){const _0x57cadc=_0x4742c9['items'][_0x1ce669];if(_0x57cadc){if('file'===_0x57cadc['kind']){const _0x15eab3=_0x57cadc['type'],_0x26e194=_0x57cadc;if('function'==typeof _0x26e194['webkitGetAsEntry']||'function'==typeof _0x26e194['getAsEntry']){const _0x447d5e='function'==typeof _0x26e194['webkitGetAsEntry']?_0x26e194['webkitGetAsEntry']():_0x26e194['getAsEntry']?.();_0x447d5e&&_0x26a50c['push'](readEntryContentAsync(_0x447d5e,_0x15eab3)['then'](_0x2d7228=>{_0x2d7228&&_0x126c5f['push'](..._0x2d7228);}));continue;}const _0x2032cc=_0x57cadc['getAsFile']();_0x2032cc&&_0x26a50c['push'](checkIsDirectory(_0x2032cc)['then'](_0x334eca=>{_0x334eca||_0x126c5f['push']({'type':'file','file':_0x2032cc});}));}else'string'===_0x57cadc['kind']&&/^text\/uri-list/['test'](_0x57cadc['type'])&&_0x26a50c['push'](new Promise(_0x5b0de6=>{_0x57cadc['getAsString'](_0x363490=>{_0x126c5f['push']({'type':'url','url':_0x363490}),_0x5b0de6();});}));}}return Promise['all'](_0x26a50c)['then'](()=>_0x126c5f);}var DropzoneState=Object['freeze']({'ACTIVE':0x0,'INACTIVE':0x1,'NEAR':0x2,'OVER':0x3}),_0x1f8c3d=['focus'],_0x18bc8c=0x64,nearnessRegistry=new Map();function distance(_0x57cfba,_0x455388){const _0x20f524=Math['max'](Math['min'](_0x57cfba[0x0],_0x455388['x']+_0x455388['width']),_0x455388['x']),_0x6f4708=Math['max'](Math['min'](_0x57cfba[0x1],_0x455388['y']+_0x455388['height']),_0x455388['y']);return Math['sqrt']((_0x57cfba[0x0]-_0x20f524)*(_0x57cfba[0x0]-_0x20f524)+(_0x57cfba[0x1]-_0x6f4708)*(_0x57cfba[0x1]-_0x6f4708));}function _0x2c0a47(_0x4986ac){let _0x2c542f=0x0;const _0x268a2d=document['body'],_0x4d751b=new Set();let _0x2d5554=DropzoneState['INACTIVE'];const _0x42b7a1=_0x11db14=>{_0x4986ac['shouldIgnore']()&&_0x11db14!==DropzoneState['INACTIVE']||(_0x2d5554!==_0x11db14&&_0x4d751b['forEach'](_0x472754=>{_0x472754(_0x11db14);}),_0x2d5554=_0x11db14);},_0x26ddc7=()=>_0x2c542f>0x0;var _0x536f5d;_0x536f5d=_0x48c8e9=>_0x4986ac['onChange'](_0x48c8e9),_0x4d751b['add'](_0x536f5d);const _0x2207d7=()=>{_0x2c542f=0x0,_0x42b7a1(DropzoneState['INACTIVE']);},_0x4bccb1=()=>{_0x2c542f+=0x1,_0x2d5554===DropzoneState['INACTIVE']&&_0x42b7a1(DropzoneState['ACTIVE']);},_0x1fb26e=()=>{_0x2c542f-=0x1,_0x26ddc7()||_0x42b7a1(DropzoneState['INACTIVE']);},_0x52b199=_0x5199f8=>{_0x5199f8['preventDefault'](),_0x2c542f=0x0,_0x42b7a1(DropzoneState['INACTIVE']);},_0xf422=_0x5e9355=>{if(_0x4986ac['shouldIgnore']())return;_0x26ddc7()||(_0x2c542f+=0x1);const _0x396b57=[_0x5e9355['x'],_0x5e9355['y']],_0x40e9b6=_0x4986ac['element']['getBoundingClientRect'](),_0x1d36a8=Math['floor'](distance(_0x396b57,_0x40e9b6)),_0x554bc4=_0x1d36a8<_0x18bc8c,_0x4983b9=_0x5e9355['composedPath']()['includes'](_0x4986ac['element']);nearnessRegistry['set'](_0x4986ac['element'],_0x1d36a8);const _0x141648=Math['min'](...nearnessRegistry['values']())===_0x1d36a8;_0x4983b9&&_0x141648?(_0x5e9355['preventDefault'](),_0x42b7a1(DropzoneState['OVER'])):_0x42b7a1(_0x554bc4&&_0x141648?DropzoneState['NEAR']:DropzoneState['ACTIVE']);},_0x31dc72=async _0x30d771=>{if(_0x4986ac['shouldIgnore']())return;_0x30d771['preventDefault']();const {dataTransfer:_0x13c893}=_0x30d771;if(!_0x13c893)return;const _0x25b70b=await getDropItems(_0x13c893);_0x4986ac['onItems'](_0x25b70b),_0x42b7a1(DropzoneState['INACTIVE']);};return _0x268a2d['addEventListener']('drop',_0x52b199),_0x268a2d['addEventListener']('dragleave',_0x1fb26e),_0x268a2d['addEventListener']('dragenter',_0x4bccb1),_0x268a2d['addEventListener']('dragover',_0xf422),_0x4986ac['element']['addEventListener']('drop',_0x31dc72),_0x1f8c3d['forEach'](_0x3e86ae=>{window['addEventListener'](_0x3e86ae,_0x2207d7);}),()=>{nearnessRegistry['delete'](_0x4986ac['element']),_0x268a2d['removeEventListener']('drop',_0x52b199),_0x268a2d['removeEventListener']('dragleave',_0x1fb26e),_0x268a2d['removeEventListener']('dragenter',_0x4bccb1),_0x268a2d['removeEventListener']('dragover',_0xf422),_0x4986ac['element']['removeEventListener']('drop',_0x31dc72),_0x1f8c3d['forEach'](_0x2601af=>{window['removeEventListener'](_0x2601af,_0x2207d7);});};}var _0x23764e='uc-drop-area',_0x4f50ea=_0x23764e+'/registry',_0x4baecc=class extends _0x14dc68{static ['styleAttrs']=[...super['styleAttrs'],'uc-drop-area'];['_destroyDropzone']=null;['_destroyContentWrapperDropzone']=null;['_onAreaClicked']=null;constructor(){super(),this['init$']={...this['init$'],'state':DropzoneState['INACTIVE'],'withIcon':!0x1,'isClickable':!0x1,'isFullscreen':!0x1,'isEnabled':!0x0,'isVisible':!0x0,'isInitFlow':!0x1,'text':'',[_0x4f50ea]:new Set()};}['isActive'](){if(!this['$']['isEnabled'])return!0x1;const _0x4e6bec=this['getBoundingClientRect'](),_0x146ab6=_0x4e6bec['width']>0x0&&_0x4e6bec['height']>0x0,_0x474dfe=_0x4e6bec['top']>=0x0&&_0x4e6bec['left']>=0x0&&_0x4e6bec['bottom']<=(window['innerHeight']||document['documentElement']['clientHeight'])&&_0x4e6bec['right']<=(window['innerWidth']||document['documentElement']['clientWidth']),_0x56f76a=window['getComputedStyle'](this),_0x2264f7='hidden'!==_0x56f76a['visibility']&&'none'!==_0x56f76a['display'];return _0x146ab6&&_0x2264f7&&_0x474dfe;}['initCallback'](){super['initCallback'](),this['bindL10n']('text',()=>this['l10n']('drop-files-here')),(this['$'][_0x4f50ea]['add'](this),this['defineAccessor']('disabled',_0x254383=>{this['set$']({'isEnabled':!_0x2392a0(_0x254383)});}),this['defineAccessor']('clickable',_0x595e4d=>{this['set$']({'isClickable':_0x2392a0(_0x595e4d)});}),this['defineAccessor']('initflow',_0x23db17=>{this['set$']({'isInitFlow':_0x2392a0(_0x23db17)});}),this['defineAccessor']('with-icon',_0x1abd40=>{this['set$']({'withIcon':_0x2392a0(_0x1abd40)});}),this['defineAccessor']('fullscreen',_0x676878=>{this['set$']({'isFullscreen':_0x2392a0(_0x676878)});}),this['defineAccessor']('text',_0x48b347=>{'string'==typeof _0x48b347?this['bindL10n']('text',()=>this['l10n'](_0x48b347)||_0x48b347):this['bindL10n']('text',()=>this['l10n']('drop-files-here'));}),this['_destroyDropzone']=_0x2c0a47({'element':this,'shouldIgnore':()=>this['_shouldIgnore'](),'onChange':_0x138f8f=>{this['$']['state']=_0x138f8f;},'onItems':_0x25151e=>{_0x25151e['length']&&(_0x25151e['forEach'](_0xf6ecdf=>{'url'===_0xf6ecdf['type']?this['api']['addFileFromUrl'](_0xf6ecdf['url'],{'source':_0xdfac6a['DROP_AREA']}):'file'===_0xf6ecdf['type']&&this['api']['addFileFromObject'](_0xf6ecdf['file'],{'source':_0xdfac6a['DROP_AREA'],'fullPath':_0xf6ecdf['fullPath']});}),this['uploadCollection']['size']&&(this['modalManager']?.['open'](ActivityBlock['activities']['UPLOAD_LIST']),this['set$']({'*currentActivity':ActivityBlock['activities']['UPLOAD_LIST']})));}}));const _0x10d091=this['ref']['content-wrapper'];if(_0x10d091&&(this['_destroyContentWrapperDropzone']=_0x2c0a47({'element':_0x10d091,'onChange':_0x1330c9=>{const _0x35dd49=Object['entries'](DropzoneState)['find'](([,_0x338b26])=>_0x338b26===_0x1330c9)?.[0x0]['toLowerCase']();_0x35dd49&&_0x10d091['setAttribute']('drag-state',_0x35dd49);},'onItems':()=>{},'shouldIgnore':()=>this['_shouldIgnore']()})),this['sub']('state',_0xbf3e57=>{const _0x499db1=Object['entries'](DropzoneState)['find'](([,_0x55b000])=>_0x55b000===_0xbf3e57)?.[0x0]['toLowerCase']();_0x499db1&&this['setAttribute']('drag-state',_0x499db1);}),this['subConfigValue']('sourceList',_0x3f5ed5=>{const _0x2477e5=stringToArray(_0x3f5ed5);this['$']['isEnabled']=_0x2477e5['includes'](_0xdfac6a['LOCAL']),this['$']['isVisible']=this['$']['isEnabled']||!this['querySelector']('[data-default-slot]');}),this['sub']('isVisible',_0x3c57b2=>{this['toggleAttribute']('hidden',!_0x3c57b2);}),this['sub']('isClickable',_0x5193e2=>{this['toggleAttribute']('clickable',_0x5193e2);}),this['$']['isClickable']){const _0x32e0fe=_0x333c41=>{if(_0x333c41 instanceof KeyboardEvent){if('Space'===_0x333c41['code']||'Enter'===_0x333c41['code']){if(this['$']['isInitFlow'])return void this['api']['initFlow']();this['api']['openSystemDialog']();}}else{if(_0x333c41 instanceof MouseEvent){if(this['$']['isInitFlow'])return void this['api']['initFlow']();this['api']['openSystemDialog']();}}};this['_onAreaClicked']=_0x32e0fe,this['addEventListener']('keydown',_0x32e0fe),this['addEventListener']('click',_0x32e0fe);}}['_shouldIgnore'](){if(!this['$']['isEnabled'])return!0x0;if(!this['_couldHandleFiles']())return!0x0;if(!this['$']['isFullscreen'])return!0x1;const _0x29e2dc=this['$'][_0x4f50ea];if(0x0===_0x29e2dc['size'])return!0x1;return[..._0x29e2dc]['filter'](_0x4bdcb8=>_0x4bdcb8!==this)['filter'](_0x83e02c=>_0x83e02c['isActive']())['length']>0x0;}['_couldHandleFiles'](){const _0x4552b7=this['cfg']['multiple'],_0x401a82=this['cfg']['multipleMax'],_0x4a8385=this['uploadCollection']['size'];return!(_0x4552b7&&_0x401a82&&_0x4a8385>=_0x401a82)&&!(!_0x4552b7&&_0x4a8385>0x0);}['destroyCallback'](){super['destroyCallback']();const _0x8b13bb=this['$'][_0x4f50ea];_0x8b13bb['delete'](this),0x0===_0x8b13bb['size']&&Data['deleteCtx'](_0x23764e),this['_destroyDropzone']?.(),this['_destroyContentWrapperDropzone']?.(),this['_onAreaClicked']&&(this['removeEventListener']('keydown',this['_onAreaClicked']),this['removeEventListener']('click',this['_onAreaClicked']),this['_onAreaClicked']=null);}};_0x4baecc['template']='\x0a\x20\x20<slot>\x0a\x20\x20\x20\x20<div\x20data-default-slot\x20hidden></div>\x0a\x20\x20\x20\x20<div\x20ref=\x22content-wrapper\x22\x20class=\x22uc-content-wrapper\x22\x20set=\x22@hidden:\x20!isVisible\x22>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-icon-container\x22\x20set=\x22@hidden:\x20!withIcon\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22default\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22arrow-down\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20<span\x20class=\x22uc-text\x22>{{text}}</span>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</slot>\x0a',_0x4baecc['bindAttributes']({'with-icon':null,'clickable':null,'text':null,'fullscreen':null,'disabled':null,'initflow':null});var getTopLevelOrigin=()=>{const _0x3cfbc7=globalThis['top']??globalThis['parent']??globalThis['self'];try{return _0x3cfbc7['location']['origin'];}catch(_0x1f319c){return console['warn']('Unable\x20to\x20access\x20top-level\x20window\x20location:',_0x1f319c),globalThis['location']['origin'];}},_0x55e8e8=_0x2ab0f7=>_0x2ab0f7['replace'](/[\\-\\[]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,'\x5c$&'),_0x48dcfe=(_0x783261,_0x4e38f3='i')=>{const _0x1e96f3=_0x783261['split']('*')['map'](_0x55e8e8);return new RegExp('^'+_0x1e96f3['join']('.+')+'$',_0x4e38f3);},ucCustomProperties=['--uc-font-family','--uc-font-size','--uc-line-height','--uc-button-size','--uc-preview-size','--uc-input-size','--uc-padding','--uc-radius','--uc-transition','--uc-background','--uc-foreground','--uc-primary','--uc-primary-hover','--uc-primary-transparent','--uc-primary-foreground','--uc-secondary','--uc-secondary-hover','--uc-secondary-foreground','--uc-muted','--uc-muted-foreground','--uc-destructive','--uc-destructive-foreground','--uc-border'],getCssValue=(_0x1f1b14,_0x57335a)=>window['getComputedStyle'](_0x1f1b14)['getPropertyValue'](_0x57335a)['trim'](),buildThemeDefinition=_0x4e1ce9=>{const _0x1d23bb={};for(const _0x276988 of ucCustomProperties){const _0x27e592=getCssValue(_0x4e1ce9,_0x276988);_0x27e592&&(_0x1d23bb[_0x276988]=_0x27e592);}return _0x1d23bb;},_0x149a6d=['selected-files-change','toolbar-state-change'],isWhitelistedMessage=_0x272cb5=>{if(!_0x272cb5)return!0x1;if('object'!=typeof _0x272cb5)return!0x1;if(!('type'in _0x272cb5))return!0x1;const _0x19b1e1=_0x272cb5['type'];return'string'==typeof _0x19b1e1&&!!_0x149a6d['includes'](_0x19b1e1);},_0x20fce7=class{['_handlerMap']=new Map();['_context'];['_getTargetOrigin'];constructor(_0x15dedc,_0x4e1768){this['_context']=_0x15dedc,this['_getTargetOrigin']=_0x4e1768,window['addEventListener']('message',this['_handleMessage']);}['_handleMessage']=_0x17e5a2=>{if(_0x17e5a2['source']!==this['_context'])return;const _0x26cc44=_0x17e5a2['data'];if(!isWhitelistedMessage(_0x26cc44))return;const _0x34d878=this['_handlerMap']['get'](_0x26cc44['type']);if(_0x34d878){for(const _0x3e19d0 of _0x34d878)_0x3e19d0(_0x26cc44);}};['on'](_0x3d9e15,_0x57b6ac){const _0x15af87=this['_handlerMap']['get'](_0x3d9e15)??new Set();this['_handlerMap']['has'](_0x3d9e15)||this['_handlerMap']['set'](_0x3d9e15,_0x15af87),_0x15af87['add'](_0x57b6ac);}['send'](_0x5e1968){const _0x2db837=this['_getTargetOrigin']();this['_context']['postMessage'](_0x5e1968,_0x2db837);}['destroy'](){window['removeEventListener']('message',this['_handleMessage']);}};function queryString(_0x1dd82e){const _0x3d09a3=[];for(const [_0x661d42,_0x362760]of Object['entries'](_0x1dd82e))null==_0x362760||'string'==typeof _0x362760&&0x0===_0x362760['length']||_0x3d09a3['push'](_0x661d42+'='+encodeURIComponent(_0x362760));return _0x3d09a3['join']('&');}var _0x444f43={[ExternalUploadSource['GDRIVE']]:'ngdrive'},ExternalSource=class extends _0x14dc68{['couldBeCtxOwner']=!0x0;['activityType']=ActivityBlock['activities']['EXTERNAL'];['_messageBridge'];constructor(){super(),this['init$']={...this['init$'],'activityIcon':'','activityCaption':'','selectedList':[],'total':0x0,'isSelectionReady':!0x1,'isDoneBtnEnabled':!0x1,'couldSelectAll':!0x1,'couldDeselectAll':!0x1,'showSelectionStatus':!0x1,'showDoneBtn':!0x1,'counterText':'','doneBtnTextClass':'uc-hidden','toolbarVisible':!0x0,'onDone':()=>{for(const _0x19a071 of this['$']['selectedList']){const _0x4da42f=this['extractUrlFromSelectedFile'](_0x19a071),{filename:_0x61164f}=_0x19a071,{externalSourceType:_0x1207af}=this['activityParams'];this['api']['addFileFromUrl'](_0x4da42f,{'fileName':_0x61164f,'source':_0x1207af});}this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'],this['modalManager']?.['open'](ActivityBlock['activities']['UPLOAD_LIST']);},'onCancel':()=>{this['historyBack']();},'onSelectAll':()=>{this['_messageBridge']?.['send']({'type':'select-all'});},'onDeselectAll':()=>{this['_messageBridge']?.['send']({'type':'deselect-all'});}};}get['activityParams'](){const _0x155e77=super['activityParams'];if('externalSourceType'in _0x155e77)return _0x155e77;throw new Error('External\x20Source\x20activity\x20params\x20not\x20found');}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType'],{'onActivate':()=>{const {externalSourceType:_0x54b2de}=this['activityParams'];if(!_0x54b2de)return this['modalManager']?.['close'](this['$']['*currentActivity']),this['$']['*currentActivity']=null,void console['error']('Param\x20\x22externalSourceType\x22\x20is\x20required\x20for\x20activity\x20\x22'+this['activityType']+'\x22');this['set$']({'activityCaption':''+_0x54b2de[0x0]?.['toUpperCase']()+_0x54b2de?.['slice'](0x1),'activityIcon':_0x54b2de}),this['mountIframe']();}}),this['sub']('*currentActivityParams',_0x112c65=>{this['isActivityActive']&&(this['unmountIframe'](),this['mountIframe']());}),this['sub']('*currentActivity',_0x59e12a=>{_0x59e12a!==this['activityType']&&this['unmountIframe']();}),this['subConfigValue']('multiple',_0x5a50e9=>{this['$']['showSelectionStatus']=_0x5a50e9;}),this['subConfigValue']('localeName',_0x5cd619=>{this['setupL10n']();}),this['subConfigValue']('externalSourcesEmbedCss',_0x4d8925=>{this['applyEmbedCss'](_0x4d8925);});}['extractUrlFromSelectedFile'](_0x2353d6){if(_0x2353d6['alternatives']){const _0x58d85f=stringToArray(this['cfg']['externalSourcesPreferredTypes']);for(const _0x2770e1 of _0x58d85f){const _0x3279cd=_0x48dcfe(_0x2770e1);for(const [_0x3bb15e,_0x196dc9]of Object['entries'](_0x2353d6['alternatives']))if(_0x3279cd['test'](_0x3bb15e))return _0x196dc9;}}return _0x2353d6['url'];}['handleToolbarStateChange'](_0x2ac1c1){this['set$']({'toolbarVisible':_0x2ac1c1['isVisible']});}async['handleSelectedFilesChange'](_0x5d25c9){this['cfg']['multiple']===_0x5d25c9['isMultipleMode']?(this['bindL10n']('counterText',()=>this['l10n']('selected-count',{'count':_0x5d25c9['selectedCount'],'total':_0x5d25c9['total']})),this['set$']({'doneBtnTextClass':_0x5d25c9['isReady']?'':'uc-hidden','isSelectionReady':_0x5d25c9['isReady'],'isDoneBtnEnabled':_0x5d25c9['isReady']&&_0x5d25c9['selectedFiles']['length']>0x0,'showSelectionStatus':_0x5d25c9['isMultipleMode']&&_0x5d25c9['total']>0x0,'couldSelectAll':_0x5d25c9['selectedCount']<_0x5d25c9['total'],'couldDeselectAll':_0x5d25c9['selectedCount']===_0x5d25c9['total'],'selectedList':_0x5d25c9['selectedFiles'],'showDoneBtn':_0x5d25c9['total']>0x0})):console['error']('Multiple\x20mode\x20mismatch');}['handleIframeLoad'](){this['applyEmbedCss'](this['cfg']['externalSourcesEmbedCss']),this['applyTheme'](),this['setupL10n']();}['applyTheme'](){this['_messageBridge']?.['send']({'type':'set-theme-definition','theme':buildThemeDefinition(this)});}['applyEmbedCss'](_0x44f373){this['_messageBridge']?.['send']({'type':'set-embed-css','css':_0x44f373});}['setupL10n'](){this['_messageBridge']?.['send']({'type':'set-locale-definition','localeDefinition':this['cfg']['localeName']});}['remoteUrl'](){const {pubkey:_0xc67f74,remoteTabSessionKey:_0x1faf71,socialBaseUrl:_0xcf08e0,multiple:_0x56fd8d}=this['cfg'],{externalSourceType:_0x3e9cf2}=this['activityParams'],_0x18de71=_0x444f43[_0x3e9cf2]??_0x3e9cf2,_0xa6f238={'lang':this['l10n']('social-source-lang')?.['split']('-')?.[0x0]||'en','public_key':_0xc67f74,'images_only':(!0x1)['toString'](),'session_key':_0x1faf71,'wait_for_theme':!0x0,'multiple':_0x56fd8d['toString'](),'origin':this['cfg']['topLevelOrigin']||getTopLevelOrigin(),'debug':this['cfg']['debug']},_0xac6682=new URL('/window4/'+_0x18de71,_0xcf08e0);return _0xac6682['search']=queryString(_0xa6f238),_0xac6682['toString']();}['mountIframe'](){const _0x51c7e1=create({'tag':'iframe','attributes':{'src':this['remoteUrl'](),'marginheight':0x0,'marginwidth':0x0,'frameborder':0x0,'allowTransparency':!0x0}});_0x51c7e1['addEventListener']('load',this['handleIframeLoad']['bind'](this)),this['ref']['iframeWrapper']['innerHTML']='',this['ref']['iframeWrapper']['appendChild'](_0x51c7e1),_0x51c7e1['contentWindow']&&(this['_messageBridge']?.['destroy'](),this['_messageBridge']=new _0x20fce7(_0x51c7e1['contentWindow'],()=>this['cfg']['socialBaseUrl']),this['_messageBridge']['on']('selected-files-change',this['handleSelectedFilesChange']['bind'](this)),this['_messageBridge']['on']('toolbar-state-change',this['handleToolbarStateChange']['bind'](this)),this['resetSelectionStatus']());}['unmountIframe'](){this['_messageBridge']?.['destroy'](),this['_messageBridge']=void 0x0,this['ref']['iframeWrapper']['innerHTML']='',this['resetSelectionStatus']();}['resetSelectionStatus'](){this['set$']({'selectedList':[],'total':0x0,'isDoneBtnEnabled':!0x1,'couldSelectAll':!0x1,'couldDeselectAll':!0x1,'showSelectionStatus':!0x1,'showDoneBtn':!0x1});}};ExternalSource['template']='\x0a\x20\x20<uc-activity-header>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-mini-btn\x20uc-close-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20*historyBack\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22@title:a11y-activity-header-button-close;@aria-label:a11y-activity-header-button-close\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22close\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20</uc-activity-header>\x0a\x20\x20<div\x20class=\x22uc-content\x22>\x0a\x20\x20\x20\x20<div\x20ref=\x22iframeWrapper\x22\x20class=\x22uc-iframe-wrapper\x22></div>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-toolbar\x22\x20set=\x22@hidden:\x20!toolbarVisible\x22>\x0a\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22uc-cancel-btn\x20uc-secondary-btn\x22\x20set=\x22onclick:\x20onCancel\x22\x20l10n=\x22cancel\x22></button>\x0a\x20\x20\x20\x20\x20\x20<div\x20set=\x22@hidden:\x20!showSelectionStatus\x22\x20class=\x22uc-selection-status-box\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span>{{counterText}}</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20set=\x22onclick:\x20onSelectAll;\x20@hidden:\x20!couldSelectAll\x22\x20l10n=\x22select-all\x22></button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20set=\x22onclick:\x20onDeselectAll;\x20@hidden:\x20!couldDeselectAll\x22\x20l10n=\x22deselect-all\x22></button>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-done-btn\x20uc-primary-btn\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onDone;\x20@disabled:\x20!isDoneBtnEnabled;\x20@hidden:\x20!showDoneBtn\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-spinner\x20set=\x22@hidden:\x20isSelectionReady\x22></uc-spinner>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20l10n=\x22done\x22\x20set=\x22@class:\x20doneBtnTextClass\x22></span>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</div>\x0a';var _0x3820fa=0x4000,_0x2c2c2a=/^([0-9]+)x([0-9]+)(?:\s+(\d{1,2}|100)%)?$/i,_0x296287=_0x8b878e=>{if('string'!=typeof _0x8b878e)return!0x1;const _0x166d3d=_0x2c2c2a['exec'](_0x8b878e['toLocaleLowerCase']())??[];if(0x0===_0x166d3d['length'])return!0x1;const _0x2bea02=Number(_0x166d3d[0x1])*Number(_0x166d3d[0x2]),_0x272c89=_0x3820fa*_0x3820fa;return _0x2bea02>_0x272c89?(console['warn']('Shrinked\x20size\x20can\x20not\x20be\x20larger\x20than\x20'+Math['floor'](_0x272c89/0x3e8/0x3e8)+'MP.\x20You\x20have\x20set\x20'+_0x166d3d[0x1]+'x'+_0x166d3d[0x2]+'\x20('+Math['ceil'](_0x2bea02/0x3e8/0x64)/0xa+'MP).'),!0x1):{'quality':_0x166d3d[0x3]?Number(_0x166d3d[0x3])/0x64:void 0x0,'size':_0x2bea02};},FileItemConfig=class extends _0x14dc68{['_entrySubs']=new Set();['_entry']=null;['_withEntry'](_0x35dd3c){return(..._0x5de9c9)=>{const _0x4a93c8=this['_entry'];if(_0x4a93c8)return _0x35dd3c(_0x4a93c8,..._0x5de9c9);console['warn']('No\x20entry\x20found');};}['_subEntry'](_0x458313,_0x5a17a0){this['_withEntry']((_0x1d65f7,_0x5db2a7,_0x1545da)=>{const _0x6a0e03=_0x1d65f7['subscribe'](_0x5db2a7,_0x488c1b=>{this['isConnected']&&_0x1545da(_0x488c1b);});this['_entrySubs']['add'](_0x6a0e03);})(_0x458313,_0x5a17a0);}['_reset'](){for(const _0x472ac4 of this['_entrySubs'])_0x472ac4['remove']();this['_entrySubs']=new Set(),this['_entry']=null;}['disconnectedCallback'](){super['disconnectedCallback'](),this['_entrySubs']=new Set();}},FileItemState=Object['freeze']({'FINISHED':Symbol('FINISHED'),'FAILED':Symbol('FAILED'),'UPLOADING':Symbol('UPLOADING'),'VALIDATION':Symbol('VALIDATION'),'QUEUED_UPLOADING':Symbol('QUEUED-UPLOADING'),'QUEUED_VALIDATION':Symbol('QUEUED-VALIDATION'),'IDLE':Symbol('IDLE')}),FileItem=class _0xdc25b3 extends FileItemConfig{['couldBeCtxOwner']=!0x0;['pauseRender']=!0x0;['_renderedOnce']=!0x1;['_observer'];['_isIntersecting']=!0x1;['_thumbRect'];constructor(){super(),this['init$']={...this['init$'],'uid':'','itemName':'','errorText':'','hint':'','thumbUrl':'','progressValue':0x0,'progressVisible':!0x1,'badgeIcon':'','isFinished':!0x1,'isFailed':!0x1,'isUploading':!0x1,'isFocused':!0x1,'isEditable':!0x1,'showFileNames':!0x1,'state':FileItemState['IDLE'],'ariaLabelStatusFile':'','onEdit':this['_withEntry'](_0x1b807e=>{this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'edit-file','node':this['tagName']}}}),this['$']['*currentActivityParams']={'internalId':_0x1b807e['uid']},this['modalManager']?.['open'](ActivityBlock['activities']['CLOUD_IMG_EDIT']),this['$']['*currentActivity']=ActivityBlock['activities']['CLOUD_IMG_EDIT'];}),'onRemove':()=>{this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'remove-file','node':this['tagName']}}}),this['uploadCollection']['remove'](this['$']['uid']);},'onUpload':()=>{this['upload']();}};}['_calculateState']=this['_withEntry'](e=>{let i=FileItemState['IDLE'];e['getValue']('errors')['length']>0x0?i=FileItemState['FAILED']:e['getValue']('isQueuedForUploading')?i=FileItemState['QUEUED_UPLOADING']:e['getValue']('isQueuedForValidation')?i=FileItemState['QUEUED_VALIDATION']:e['getValue']('isValidationPending')?i=FileItemState['VALIDATION']:e['getValue']('isUploading')?i=FileItemState['UPLOADING']:e['getValue']('fileInfo')&&(i=FileItemState['FINISHED']),this['$']['state']=i;});['_debouncedCalculateState']=_0x491199(this['_calculateState']['bind'](this),0x64);['_updateHintAndProgress']=this['_withEntry'](throttle((e,i)=>{const n=e['getValue']('errors')?.[0x0]?.['message'],s=e['getValue']('source'),r=e['getValue']('externalUrl'),o=i===FileItemState['FINISHED'],a=i===FileItemState['UPLOADING'],c=i===FileItemState['QUEUED_UPLOADING'],l=i===FileItemState['QUEUED_VALIDATION'],h=i===FileItemState['VALIDATION'],u=e['getValue']('fileName');let d='';n?d='':!o&&r&&s&&Object['values'](ExternalUploadSource)['includes'](s)&&(d=this['l10n']('waiting-for',{'source':this['l10n']('src-type-'+s)})),this['set$']({'hint':d,'errorText':n,'progressVisible':a||c||l||h,'progressValue':l||h?0x0:e['getValue']('uploadProgress'),'ariaLabelStatusFile':u&&this['l10n']('a11y-file-item-status',{'fileName':u,'status':this['l10n'](i?.['description']?.['toLocaleLowerCase']()??'')['toLocaleLowerCase']()})});},0x64));['_handleState']=this['_withEntry']((e,i)=>{i===FileItemState['FAILED']?this['$']['badgeIcon']='badge-error':i===FileItemState['FINISHED']&&(this['$']['badgeIcon']='badge-success'),i===FileItemState['UPLOADING']&&(this['$']['isFocused']=!0x1),this['set$']({'isFailed':i===FileItemState['FAILED'],'isUploading':i===FileItemState['UPLOADING'],'isFinished':i===FileItemState['FINISHED'],'isEditable':this['cfg']['useCloudImageEditor']&&e['getValue']('isImage')&&e['getValue']('cdnUrl')}),this['_updateHintAndProgress'](i);});['_reset'](){super['_reset'](),this['_debouncedCalculateState']['cancel']();}['_observerCallback'](_0x147061){const [_0x8c3fdf]=_0x147061;_0x8c3fdf&&(this['_isIntersecting']=_0x8c3fdf['isIntersecting'],this['_thumbRect']=_0x8c3fdf['boundingClientRect'],_0x8c3fdf['isIntersecting']&&!this['_renderedOnce']&&(this['render'](),this['_renderedOnce']=!0x0));}['_handleEntryId'](_0x34ad0e){this['_reset']();const _0x2b0687=this['uploadCollection']?.['read'](_0x34ad0e);this['_entry']=_0x2b0687,_0x2b0687&&(this['_subEntry']('isQueuedForValidation',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('isValidationPending',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('uploadProgress',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('isQueuedForUploading',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('fileName',_0xe9a92e=>{this['$']['itemName']=_0xe9a92e||_0x2b0687['getValue']('externalUrl')||this['l10n']('file-no-name'),this['_debouncedCalculateState']();}),this['_subEntry']('externalUrl',_0x38fef6=>{this['$']['itemName']=_0x2b0687['getValue']('fileName')||_0x38fef6||this['l10n']('file-no-name');}),this['_subEntry']('fileInfo',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('errors',()=>this['_debouncedCalculateState']()),this['_subEntry']('isUploading',()=>this['_debouncedCalculateState']()),this['_subEntry']('fileSize',()=>this['_debouncedCalculateState']()),this['_subEntry']('mimeType',()=>this['_debouncedCalculateState']()),this['_subEntry']('isImage',()=>this['_debouncedCalculateState']()));}['_updateShowFileNames'](_0x310ee6){'list'===this['cfg']['filesViewMode']?this['$']['showFileNames']=!0x0:this['$']['showFileNames']=_0x310ee6;}['initCallback'](){super['initCallback'](),this['sub']('uid',_0x58e207=>{this['_handleEntryId'](_0x58e207);}),this['sub']('state',_0x400d06=>{this['_handleState'](_0x400d06);}),this['subConfigValue']('useCloudImageEditor',()=>this['_debouncedCalculateState']()),this['subConfigValue']('filesViewMode',_0x2b20eb=>{this['_updateShowFileNames'](this['cfg']['gridShowFileNames']),this['setAttribute']('mode',_0x2b20eb);}),this['subConfigValue']('gridShowFileNames',_0x307fc1=>{this['_updateShowFileNames'](_0x307fc1);}),this['onclick']=()=>{_0xdc25b3['activeInstances']['forEach'](_0x20ea57=>{_0x20ea57===this?_0x20ea57['setAttribute']('focused',''):_0x20ea57['removeAttribute']('focused');});},this['sub']('*uploadTrigger',_0x27cbd0=>{this['_entry']&&!_0x27cbd0['has'](this['_entry']['uid'])||setTimeout(()=>this['isConnected']&&this['upload']());}),_0xdc25b3['activeInstances']['add'](this);}['destroyCallback'](){super['destroyCallback'](),_0xdc25b3['activeInstances']['delete'](this),this['_reset']();}['connectedCallback'](){super['connectedCallback'](),this['_observer']=new window['IntersectionObserver'](this['_observerCallback']['bind'](this),{'threshold':[0x0,0x1]}),this['_observer']['observe'](this);}['disconnectedCallback'](){super['disconnectedCallback'](),this['_observer']?.['disconnect']();}['_settingsOfShrink'](){return _0x296287(this['cfg']['imageShrink']);}async['_processShrink'](_0x51e56e){const _0x1d38b6=this['_settingsOfShrink']();return _0x1d38b6?await _0x58aecb(_0x51e56e,_0x1d38b6):(console['warn']('Image\x20shrink\x20settings\x20are\x20invalid,\x20skipping\x20shrinking'),_0x51e56e);}['upload']=this['_withEntry'](async e=>{if(!this['uploadCollection']['read'](e['uid']))return;if(e['getValue']('fileInfo')||e['getValue']('isUploading')||e['getValue']('errors')['length']>0x0||e['getValue']('isValidationPending'))return;const i=this['cfg']['multiple']?this['cfg']['multipleMax']:0x1;if(!(i&&this['uploadCollection']['size']>i)){e['setMultipleValues']({'isUploading':!0x0,'errors':[],'isQueuedForUploading':!0x0}),this['_debouncedCalculateState']();try{const i=new AbortController();e['setValue']('abortController',i);const n=async()=>{e['setValue']('isQueuedForUploading',!0x1);let n=e['getValue']('file');if(n instanceof File&&this['cfg']['imageShrink'])try{n=await this['_processShrink'](n);}catch{}const s=n||e['getValue']('externalUrl')||e['getValue']('uuid');if(!s)throw new Error('No\x20file\x20input');const r={...await this['getUploadClientOptions'](),'fileName':e['getValue']('fileName')??void 0x0,'source':e['getValue']('source')??void 0x0,'onProgress':i=>{if(i['isComputable']){const n=0x64*i['value'];e['setValue']('uploadProgress',n);}},'signal':i['signal'],'metadata':await this['getMetadataFor'](e['uid'])};return this['debugPrint']('upload\x20options',s,r),_0x47ee8c(s,r);},s=await this['$']['*uploadQueue']['add'](n);e['setMultipleValues']({'fileInfo':s,'isQueuedForUploading':!0x1,'isUploading':!0x1,'fileName':s['originalFilename'],'fileSize':s['size'],'isImage':s['isImage']??!0x1,'mimeType':s['contentInfo']?.['mime']?.['mime']??s['mimeType'],'uuid':s['uuid'],'cdnUrl':e['getValue']('cdnUrl')??s['cdnUrl'],'cdnUrlModifiers':e['getValue']('cdnUrlModifiers')??'','uploadProgress':0x64,'source':e['getValue']('source')??null}),e===this['_entry']&&this['_debouncedCalculateState']();}catch(i){this['telemetryManager']['sendEventError'](i,'file\x20upload.\x20Failed\x20to\x20upload\x20file'),i instanceof _0x57a7f2&&i['isCancel']?e['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0}):i instanceof _0x469624?e['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0,'uploadError':i}):(console['error']('Unknown\x20upload\x20error',i),e['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0,'uploadError':new Error('Something\x20went\x20wrong',{'cause':i})})),e===this['_entry']&&this['_debouncedCalculateState']();}}});static ['template']='\x0a\x20\x20<div\x20class=\x22uc-inner\x22\x20set=\x22@finished:\x20isFinished;\x20@uploading:\x20isUploading;\x20@failed:\x20isFailed;\x20@focused:\x20isFocused\x22>\x0a\x20\x20\x20\x20<uc-thumb\x20set=\x22uid:uid;badgeIcon:badgeIcon\x22></uc-thumb>\x0a\x0a\x20\x20\x20\x20<div\x20aria-atomic=\x22true\x22\x20aria-live=\x22polite\x22\x20class=\x22uc-file-name-wrapper\x22\x20set=\x22@aria-label:ariaLabelStatusFile;\x22>\x0a\x20\x20\x20\x20\x20\x20<span\x20class=\x22uc-file-name\x22\x20set=\x22@hidden:\x20!showFileNames\x22>{{itemName}}</span>\x0a\x20\x20\x20\x20\x20\x20<span\x20class=\x22uc-file-error\x22\x20set=\x22@hidden:\x20!errorText;\x22>{{errorText}}</span>\x0a\x20\x20\x20\x20\x20\x20<span\x20class=\x22uc-file-hint\x22\x20set=\x22@hidden:\x20!hint\x22>{{hint}}</span>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-file-actions\x22>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20l10n=\x22@title:file-item-edit-button;@aria-label:file-item-edit-button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-edit-btn\x20uc-mini-btn\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onEdit;\x20@hidden:\x20!isEditable\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22edit-file\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20l10n=\x22@title:file-item-remove-button;@aria-label:file-item-remove-button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-remove-btn\x20uc-mini-btn\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onRemove;\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22remove-file\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22uc-upload-btn\x20uc-mini-btn\x22\x20set=\x22onclick:\x20onUpload;\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22upload\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20<uc-progress-bar\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-progress-bar\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22value:\x20progressValue;\x20visible:\x20progressVisible;\x20@hasFileName:\x20showFileNames;\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20</uc-progress-bar>\x0a\x20\x20</div>\x0a';static ['activeInstances']=new Set();},FormInput=class extends _0x14dc68{['requireCtxName']=!0x0;['_validationInputElement']=null;['_dynamicInputsContainer']=null;['_createValidationInput'](){const _0x31cba4=document['createElement']('input');return _0x31cba4['type']='text',_0x31cba4['name']=this['ctxName'],_0x31cba4['required']=this['cfg']['multipleMin']>0x0,_0x31cba4['tabIndex']=-0x1,applyStyles(_0x31cba4,{'opacity':0x0,'height':0x0,'width':0x0}),_0x31cba4;}['initCallback'](){super['initCallback'](),this['_validationInputElement']=this['_createValidationInput'](),this['appendChild'](this['_validationInputElement']),this['sub']('*collectionState',_0xb86c32=>{{if(!this['_dynamicInputsContainer']){const _0x36911d=document['createElement']('div');this['appendChild'](_0x36911d),this['_dynamicInputsContainer']=_0x36911d;}if(!this['_validationInputElement']){const _0x4c5bb2=this['_createValidationInput']();this['appendChild'](_0x4c5bb2),this['_validationInputElement']=_0x4c5bb2;}if(this['_dynamicInputsContainer']['innerHTML']='','uploading'===_0xb86c32['status']||'idle'===_0xb86c32['status'])return this['_validationInputElement']['value']='',void this['_validationInputElement']['setCustomValidity']('');if('failed'===_0xb86c32['status']){const _0x3d246d=_0xb86c32['errors'][0x0]?.['message'];return this['_validationInputElement']['value']='',void this['_validationInputElement']['setCustomValidity'](_0x3d246d??'');}const _0x404dad=_0xb86c32['group']?_0xb86c32['group']:null;if(_0x404dad)return this['_validationInputElement']['value']=_0x404dad['cdnUrl']??'',void this['_validationInputElement']['setCustomValidity']('');const _0x576d94=_0xb86c32['allEntries']['map'](_0x3ef559=>_0x3ef559['cdnUrl'])['filter'](_0x543145=>'string'==typeof _0x543145);if(!this['cfg']['multiple']&&0x1===_0x576d94['length']&&_0x576d94[0x0])return this['_validationInputElement']['value']=_0x576d94[0x0],void this['_validationInputElement']['setCustomValidity']('');this['_validationInputElement']['remove'](),this['_validationInputElement']=null;const _0x49046e=new DocumentFragment();for(const _0x5471cd of _0x576d94){const _0x1e6c35=document['createElement']('input');_0x1e6c35['type']='hidden',_0x1e6c35['name']=this['ctxName']+'[]',_0x1e6c35['value']=_0x5471cd,_0x49046e['appendChild'](_0x1e6c35);}this['_dynamicInputsContainer']['replaceChildren'](_0x49046e);}},!0x1);}},_0x277572=class extends _0x2a3fee{constructor(){super(),this['init$']={...this['init$'],'name':'','href':''};}['initCallback'](){super['initCallback'](),this['sub']('name',_0x200a78=>{if(!_0x200a78)return;let _0x1a9708='#uc-icon-'+_0x200a78;this['subConfigValue']('iconHrefResolver',_0x4b50a6=>{if(_0x4b50a6){const _0x56d80c=_0x4b50a6(_0x200a78);_0x1a9708=_0x56d80c??_0x1a9708;}this['$']['href']=_0x1a9708;});}),this['setAttribute']('aria-hidden','true');}};_0x277572['template']='\x0a\x20\x20<svg\x20ref=\x22svg\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22>\x0a\x20\x20\x20\x20<use\x20set=\x22@href:\x20href;\x22></use>\x0a\x20\x20</svg>\x0a',_0x277572['bindAttributes']({'name':'name'});var _0x3379b2=_0x36859d=>[...new Set(_0x36859d)],_0x4baa88='--uc-img-',_0x4c22d6='unresolved',_0xb7f355=0x2,_0x44391e=0x3,_0x2f1712=!window['location']['host']['trim']()||window['location']['host']['includes'](':')||window['location']['hostname']['includes']('localhost'),_0x1b1447=0xbb8,_0xc7bf1b=0x1388,_0x317e52=Object['freeze']({'PREVIEW':'PREVIEW','MAIN':'MAIN'}),_0xa957d9='https://ucarecdn.com',_0x22ae82=Object['freeze']({'dev-mode':{},'pubkey':{},'uuid':{},'src':{},'lazy':{'default':0x1},'intersection':{},'breakpoints':{},'cdn-cname':{'default':_0xa957d9},'proxy-cname':{},'secure-delivery-proxy':{},'hi-res-support':{'default':0x1},'ultra-res-support':{},'format':{},'cdn-operations':{},'progressive':{},'quality':{},'is-background-for':{},'is-preview-blur':{'default':0x1}}),_0x5df32a=Object['create'](null);for(const _0x2d7980 in _0x22ae82)_0x5df32a[_0x4baa88+_0x2d7980]=_0x22ae82[_0x2d7980]?.['default']||'';var _0x48ef42=class extends BaseComponent{['cssInit$']=_0x5df32a;['$$'](_0x202cf3){return this['$'][_0x4baa88+_0x202cf3];}['set$$'](_0x402028){for(const _0x5e672b in _0x402028)this['$'][_0x4baa88+_0x5e672b]=_0x402028[_0x5e672b];}['sub$$'](_0x42aef9,_0x6131ce){this['sub'](_0x4baa88+_0x42aef9,_0x375548=>{null!==_0x375548&&''!==_0x375548&&_0x6131ce(_0x375548);});}['analyticsParams'](){return'-/@clib/'+_0x1ad11e+'/'+_0x575df8+'/uc-img/';}['initAttributes'](_0x4d77d5){[...this['attributes']]['forEach'](_0x385f5c=>{_0x22ae82[_0x385f5c['name']]||_0x4d77d5['setAttribute'](_0x385f5c['name'],_0x385f5c['value']);});}['initIntersection'](_0x17b6f1,_0x4c2341){this['_isnObserver']=new IntersectionObserver(_0x3793f7=>{_0x3793f7['forEach'](_0x14a63e=>{_0x14a63e['isIntersecting']&&(_0x4c2341(),this['_isnObserver']['unobserve'](_0x17b6f1));});},{'root':null,'rootMargin':'0px'}),this['_isnObserver']['observe'](_0x17b6f1),this['_observed']||(this['_observed']=new Set()),this['_observed']['add'](_0x17b6f1);}['destroyCallback'](){super['destroyCallback'](),this['_isnObserver']&&(this['_observed']['forEach'](_0x5bbcde=>{this['_isnObserver']['unobserve'](_0x5bbcde);}),this['_isnObserver']=null),Data['deleteCtx'](this);}static get['observedAttributes'](){return Object['keys'](_0x22ae82);}['attributeChangedCallback'](_0x16ba5b,_0x47738c,_0x38d34f){window['setTimeout'](()=>{this['$'][_0x4baa88+_0x16ba5b]=_0x38d34f;});}},parseObjectToString=_0x36b1b4=>Object['entries'](_0x36b1b4)['filter'](([_0x73eb5a,_0x1fc696])=>void 0x0!==_0x1fc696&&''!==_0x1fc696)['map'](([_0x35cfab,_0x27d97b])=>'cdn-operations'===_0x35cfab||'analytics'===_0x35cfab?_0x27d97b:_0x35cfab+'/'+_0x27d97b),_0x29b280=class extends _0x48ef42{['_img']=new Image();['_imgPreview']=new Image();['_fmtAbs'](_0x5137e4){return!_0x5137e4['includes']('//')&&!_0x2f1712&&(_0x5137e4=new URL(_0x5137e4,document['baseURI'])['href']),_0x5137e4;}['_validateSize'](_0x23ed3a){if(''!==_0x23ed3a?.['trim']()){const _0x253014=_0x23ed3a['match'](/\d+/)[0x0],_0x251e9e=_0x23ed3a['match'](/[a-zA-Z]+/)[0x0],_0x5ddf2c=parseInt(_0x253014,0xa);if(Number(_0x5ddf2c)>_0xc7bf1b&&this['hasFormatJPG'])return _0xc7bf1b+_0x251e9e;if(Number(_0x5ddf2c)>_0x1b1447&&!this['hasFormatJPG'])return _0x1b1447+_0x251e9e;}return _0x23ed3a;}['_getCdnModifiers'](_0x26fd4b,_0x423621){const _0x6632d={'format':this['$$']('format'),'quality':this['$$']('quality'),'resize':this['_validateSize'](_0x26fd4b),'blur':_0x423621,'cdn-operations':this['$$']('cdn-operations'),'analytics':this['analyticsParams']()};return createCdnUrlModifiers(...parseObjectToString(_0x6632d));}['_getUrlBase'](_0x1754f2='',_0x53d877=''){if(this['$$']('src')['startsWith']('data:')||this['$$']('src')['startsWith']('blob:'))return this['$$']('src');if(_0x2f1712&&this['$$']('src')&&!this['$$']('src')['includes']('//'))return this['_proxyUrl'](this['$$']('src'));const _0x392f62=this['_getCdnModifiers'](_0x1754f2,_0x53d877);return this['$$']('src')['startsWith'](this['$$']('cdn-cname'))?createCdnUrl(this['$$']('src'),_0x392f62):this['$$']('cdn-cname')&&this['$$']('uuid')||this['$$']('uuid')?this['_proxyUrl'](createCdnUrl(createOriginalUrl(this['$$']('cdn-cname'),this['$$']('uuid')),_0x392f62)):this['$$']('proxy-cname')?this['_proxyUrl'](createCdnUrl(this['$$']('proxy-cname'),_0x392f62,this['_fmtAbs'](this['$$']('src')))):this['$$']('pubkey')?this['_proxyUrl'](createCdnUrl('https://'+this['$$']('pubkey')+'.ucr.io/',_0x392f62,this['_fmtAbs'](this['$$']('src')))):void 0x0;}['_proxyUrl'](_0x53c948){return this['$$']('secure-delivery-proxy')?applyTemplateData(this['$$']('secure-delivery-proxy'),{'previewUrl':_0x53c948},{'transform':_0x470685=>window['encodeURIComponent'](_0x470685)}):_0x53c948;}['_getElSize'](_0x3cedc0,_0x9ba067=0x1,_0x33dc14=!0x0){const _0xe3b1d4=_0x3cedc0['getBoundingClientRect'](),_0x315544=_0x9ba067*Math['round'](_0xe3b1d4['width']),_0xff81cf=_0x33dc14?'':_0x9ba067*Math['round'](_0xe3b1d4['height']);return _0x315544||_0xff81cf?(_0x315544||'')+'x'+(_0xff81cf||''):null;}['_setupEventProxy'](_0x8a1f8f){const _0x12fb0c=_0x23aa9f=>{_0x23aa9f['stopPropagation']();const _0x33e3f7=new Event(_0x23aa9f['type'],_0x23aa9f);this['dispatchEvent'](_0x33e3f7);},_0x236245=['load','error'];for(const _0x424816 of _0x236245)_0x8a1f8f['addEventListener'](_0x424816,_0x12fb0c);}get['img'](){return this['hasPreviewImage']||(this['_setupConfigForImage']({'elNode':this['_img']}),this['appendChild'](this['_img'])),this['_img'];}get['currentImg'](){return this['hasPreviewImage']?{'type':_0x317e52['PREVIEW'],'img':this['_imgPreview']}:{'type':_0x317e52['MAIN'],'img':this['img']};}get['hasPreviewImage'](){return this['$$']('is-preview-blur');}get['bgSelector'](){return this['$$']('is-background-for');}get['breakpoints'](){if(this['$$']('breakpoints')){const _0x5c5c4f=stringToArray(this['$$']('breakpoints'));return _0x3379b2(_0x5c5c4f['map'](_0x5533c7=>parseInt(_0x5533c7,0xa)));}return null;}get['hasFormatJPG'](){return'jpeg'===this['$$']('format')['toLowerCase']();}['renderBg'](_0x4c519e){const _0x5f0489=new Set();_0x5f0489['add']('url(\x22'+this['_getUrlBase'](this['_getElSize'](_0x4c519e))+'\x22)\x201x'),this['$$']('hi-res-support')&&_0x5f0489['add']('url(\x22'+this['_getUrlBase'](this['_getElSize'](_0x4c519e,_0xb7f355))+'\x22)\x20'+_0xb7f355+'x'),this['$$']('ultra-res-support')&&_0x5f0489['add']('url(\x22'+this['_getUrlBase'](this['_getElSize'](_0x4c519e,_0x44391e))+'\x22)\x20'+_0x44391e+'x');const _0xe8bda7='image-set('+[..._0x5f0489]['join'](',\x20')+')';_0x4c519e['style']['setProperty']('background-image',_0xe8bda7),_0x4c519e['style']['setProperty']('background-image','-webkit-'+_0xe8bda7);}['getSrcset'](){const _0x2ed541=new Set();return this['breakpoints']?this['breakpoints']['forEach'](_0xe852cf=>{_0x2ed541['add'](this['_getUrlBase'](_0xe852cf+'x')+('\x20'+this['_validateSize'](_0xe852cf+'w'))),this['$$']('hi-res-support')&&_0x2ed541['add'](this['_getUrlBase'](_0xe852cf*_0xb7f355+'x')+('\x20'+this['_validateSize'](_0xe852cf*_0xb7f355+'w'))),this['$$']('ultra-res-support')&&_0x2ed541['add'](this['_getUrlBase'](_0xe852cf*_0x44391e+'x')+('\x20'+this['_validateSize'](_0xe852cf*_0x44391e+'w')));}):(_0x2ed541['add'](this['_getUrlBase'](this['_getElSize'](this['currentImg']['img']))+'\x201x'),this['$$']('hi-res-support')&&_0x2ed541['add'](this['_getUrlBase'](this['_getElSize'](this['currentImg']['img'],0x2))+'\x202x'),this['$$']('ultra-res-support')&&_0x2ed541['add'](this['_getUrlBase'](this['_getElSize'](this['currentImg']['img'],0x3))+'\x203x')),[..._0x2ed541]['join']();}['getSrc'](){return this['_getUrlBase']();}get['srcUrlPreview'](){return this['_getUrlBase']('100x','100');}['renderBackground'](){[...document['querySelectorAll'](this['bgSelector'])]['forEach'](_0x615124=>{this['$$']('intersection')?this['initIntersection'](_0x615124,()=>{this['renderBg'](_0x615124);}):this['renderBg'](_0x615124);});}['_appendURL']({elNode:_0x23f511,src:_0x46ee04,srcset:_0x39e4a4}){_0x46ee04&&(_0x23f511['src']=_0x46ee04),_0x39e4a4&&(_0x23f511['srcset']=_0x39e4a4);}['_setupConfigForImage']({elNode:_0xaa250b}){this['_setupEventProxy'](_0xaa250b),this['initAttributes'](_0xaa250b);}['loaderImage']({src:_0x36fe1e,srcset:_0x126930,elNode:_0x3bc3e2}){return new Promise((_0x591c2f,_0x30ecb8)=>{this['_setupConfigForImage']({'elNode':_0x3bc3e2}),_0x3bc3e2['setAttribute'](_0x4c22d6,''),_0x3bc3e2['addEventListener']('load',()=>{_0x3bc3e2['removeAttribute'](_0x4c22d6),_0x591c2f(_0x3bc3e2);}),_0x3bc3e2['addEventListener']('error',()=>{_0x30ecb8(!0x1);}),this['_appendURL']({'elNode':_0x3bc3e2,'src':_0x36fe1e,'srcset':_0x126930});});}async['renderImage'](){if(this['$$']('intersection'))return this['hasPreviewImage']&&(this['_setupConfigForImage']({'elNode':this['_imgPreview']}),this['appendChild'](this['_imgPreview'])),void this['initIntersection'](this['currentImg']['img'],async()=>{this['hasPreviewImage']&&(this['_imgPreview']['src']=this['srcUrlPreview']);try{await this['loaderImage']({'src':this['getSrc'](),'srcset':this['getSrcset'](),'elNode':this['_img']}),this['hasPreviewImage']&&await this['_imgPreview']['remove'](),this['appendChild'](this['_img']);}catch(_0x51b328){this['hasPreviewImage']&&await this['_imgPreview']?.['remove'](),this['appendChild'](this['_img']);}});try{this['hasPreviewImage']&&(await this['loaderImage']({'src':this['srcUrlPreview'],'elNode':this['_imgPreview']}),this['appendChild'](this['_imgPreview'])),await this['loaderImage']({'src':this['getSrc'](),'srcset':this['getSrcset'](),'elNode':this['_img']}),this['hasPreviewImage']&&await this['_imgPreview']?.['remove'](),this['appendChild'](this['_img']);}catch(_0x4f6094){this['hasPreviewImage']&&await this['_imgPreview']?.['remove'](),this['appendChild'](this['_img']);}}['init'](){this['bgSelector']?this['renderBackground']():this['renderImage']();}},_0x353478=class extends _0x29b280{['initCallback'](){super['initCallback'](),this['sub$$']('src',()=>{this['init']();}),this['sub$$']('uuid',()=>{this['init']();}),this['sub$$']('lazy',_0xda8493=>{this['$$']('is-background-for')||this['$$']('is-preview-blur')||(this['img']['loading']=_0xda8493?'lazy':'eager');});}},_0x2f5fd1=null,_0x55cc94=class extends _0x2a3fee{static ['styleAttrs']=[...super['styleAttrs'],'uc-modal'];static ['StateConsumerScope']='modal';['_mouseDownTarget'];['handleModalOpen'];['handleModalClose'];['handleModalCloseAll'];constructor(){super(),this['init$']={...this['init$'],'closeClicked':this['_handleDialogClose']};}['_handleBackdropClick']=()=>{this['_closeDialog']();};['_closeDialog']=()=>{this['modalManager']?.['close'](this['id']),this['modalManager']?.['hasActiveModals']||(document['body']['style']['overflow']='');};['_handleDialogClose']=()=>{this['_closeDialog']();};['_handleDialogMouseDown']=_0x3878e4=>{this['_mouseDownTarget']=_0x3878e4['target'];};['_handleDialogMouseUp']=_0x576387=>{const _0x1018d6=_0x576387['target'];_0x1018d6===this['ref']['dialog']&&_0x1018d6===this['_mouseDownTarget']&&this['_closeDialog']();};['show'](){const _0x3a40cd=this['ref']['dialog'];'function'==typeof _0x3a40cd['showModal']?(this['setAttribute']('aria-modal','true'),_0x3a40cd['showModal']()):_0x3a40cd['setAttribute']('open',''),this['cfg']['modalScrollLock']&&(document['body']['style']['overflow']='hidden');}['hide'](){const _0x440d97=this['ref']['dialog'];'function'==typeof _0x440d97['close']?(this['setAttribute']('aria-modal','false'),_0x440d97['close']()):_0x440d97['removeAttribute']('open');}['_handleModalOpen']({id:_0x40b600}){_0x40b600===this['id']?(_0x2f5fd1=_0x40b600,this['show'](),this['emit'](EventType['MODAL_OPEN'],{'modalId':_0x40b600},{'debounce':!0x0})):this['hide']();}['_handleModalClose']({id:_0x50cfbb}){_0x50cfbb===this['id']&&(this['hide'](),this['emit'](EventType['MODAL_CLOSE'],{'modalId':_0x50cfbb,'hasActiveModals':this['modalManager']?.['hasActiveModals']},{'debounce':!0x0}));}['_handleModalCloseAll'](_0x7c789c){this['hide'](),_0x2f5fd1===this['id']&&this['emit'](EventType['MODAL_CLOSE'],{'modalId':_0x2f5fd1,'hasActiveModals':this['modalManager']?.['hasActiveModals']},{'debounce':!0x0});}['initCallback'](){super['initCallback'](),this['modalManager']?.['registerModal'](this['id'],this);const _0x3f418a=this['ref']['dialog'];_0x3f418a['addEventListener']('close',this['_handleDialogClose']),_0x3f418a['addEventListener']('mousedown',this['_handleDialogMouseDown']),_0x3f418a['addEventListener']('mouseup',this['_handleDialogMouseUp']),this['subConfigValue']('modalBackdropStrokes',_0x29a56a=>{_0x29a56a?this['setAttribute']('strokes',''):this['removeAttribute']('strokes');}),this['handleModalOpen']=this['_handleModalOpen']['bind'](this),this['handleModalClose']=this['_handleModalClose']['bind'](this),this['handleModalCloseAll']=this['_handleModalCloseAll']['bind'](this),this['modalManager']?.['subscribe'](ModalEvents['OPEN'],this['handleModalOpen']),this['modalManager']?.['subscribe'](ModalEvents['CLOSE'],this['handleModalClose']),this['modalManager']?.['subscribe'](ModalEvents['CLOSE_ALL'],this['handleModalCloseAll']);}['destroyCallback'](){super['destroyCallback'](),document['body']['style']['overflow']='',this['_mouseDownTarget']=void 0x0;const _0x3f4878=this['ref']['dialog'];_0x3f4878['removeEventListener']('close',this['_handleDialogClose']),_0x3f4878['removeEventListener']('mousedown',this['_handleDialogMouseDown']),_0x3f4878['removeEventListener']('mouseup',this['_handleDialogMouseUp']),this['modalManager']?.['unsubscribe'](ModalEvents['OPEN'],this['handleModalOpen']),this['modalManager']?.['unsubscribe'](ModalEvents['CLOSE'],this['handleModalClose']),this['modalManager']?.['unsubscribe'](ModalEvents['CLOSE_ALL'],this['handleModalCloseAll']);}};_0x55cc94['template']='\x0a\x20\x20<dialog\x20ref=\x22dialog\x22>\x0a\x20\x20\x20\x20<slot></slot>\x0a\x20\x20</dialog>\x0a';var _0x5c93e4=class extends _0x2a3fee{['_value']=0x0;['_visible']=!0x0;constructor(){super(),this['init$']={...this['init$'],'width':0x0,'opacity':0x0};}['initCallback'](){super['initCallback'](),(this['ref']['fakeProgressLine']['addEventListener']('animationiteration',()=>{const _0x22d892=this['ref']['fakeProgressLine'];this['_visible']?this['_value']>0x0&&_0x22d892['classList']['add']('uc-fake-progress--hidden'):_0x22d892['classList']['add']('uc-fake-progress--hidden');}),this['defineAccessor']('value',_0x35667a=>{null!=_0x35667a&&(this['_value']=_0x35667a,this['_visible']&&this['style']['setProperty']('--l-progress-value',this['_value']['toString']()));}),this['defineAccessor']('visible',_0x27e380=>{this['_visible']=_0x27e380,this['classList']['toggle']('uc-progress-bar--hidden',!_0x27e380);}));}};_0x5c93e4['template']='\x0a\x20\x20<div\x20ref=\x22fakeProgressLine\x22\x20class=\x22uc-fake-progress\x22></div>\x0a\x20\x20<div\x20ref=\x22realProgressLine\x22\x20class=\x22uc-progress\x22></div>\x0a';var _0x42577b=class extends _0x14dc68{['_unobserveCollectionCb'];constructor(){super(),this['init$']={...this['init$'],'visible':!0x1,'value':0x0,'*commonProgress':0x0};}['initCallback'](){super['initCallback'](),this['_unobserveCollectionCb']=this['uploadCollection']['observeProperties'](()=>{const _0xd441ab=this['uploadCollection']['items']()['some'](_0xb3deda=>{const _0x4d6f2c=this['uploadCollection']['read'](_0xb3deda);return _0x4d6f2c?.['getValue']('isUploading')??!0x1;});this['$']['visible']=_0xd441ab;}),this['sub']('visible',_0x38dd48=>{_0x38dd48?this['setAttribute']('active',''):this['removeAttribute']('active');}),this['sub']('*commonProgress',_0x22d7c3=>{this['$']['value']=_0x22d7c3;});}['destroyCallback'](){super['destroyCallback'](),this['_unobserveCollectionCb']?.(),this['_unobserveCollectionCb']=void 0x0;}};_0x42577b['template']='\x20<uc-progress-bar\x20set=\x22visible:\x20visible;\x20value:\x20value\x22></uc-progress-bar>\x20';var Select=class extends _0x2a3fee{constructor(){super(),this['init$']={...this['init$'],'currentText':'','options':[],'selectHtml':'','onSelect':_0x44b61f=>{_0x44b61f['preventDefault'](),_0x44b61f['stopPropagation']();const _0xfd8994=this['ref']['select'];this['value']=_0xfd8994['value'],this['$']['currentText']=this['$']['options']['find'](_0x4347b1=>_0x4347b1['value']===this['value'])?.['text']||'',this['dispatchEvent'](new Event('change'));}};}['initCallback'](){super['initCallback'](),this['sub']('options',_0x150d40=>{this['$']['currentText']=_0x150d40?.[0x0]?.['text']||'';let _0x506eee='';_0x150d40?.['forEach'](_0x18c7d8=>{_0x506eee+='<option\x20value=\x22'+_0x18c7d8['value']+'\x22>'+_0x18c7d8['text']+'</option>';}),this['$']['selectHtml']=_0x506eee;});}};Select['template']='\x20<select\x20ref=\x22select\x22\x20set=\x22innerHTML:\x20selectHtml;\x20onchange:\x20onSelect\x22></select>\x20';var SimpleBtn=class extends _0x14dc68{static ['styleAttrs']=[...super['styleAttrs'],'uc-simple-btn'];['couldBeCtxOwner']=!0x0;constructor(){super(),this['init$']={...this['init$'],'withDropZone':!0x0,'onClick':()=>{this['api']['initFlow']();},'button-text':''};}['initCallback'](){super['initCallback'](),this['defineAccessor']('dropzone',_0x2510fb=>{void 0x0!==_0x2510fb&&(this['$']['withDropZone']=_0x2392a0(_0x2510fb));}),this['subConfigValue']('multiple',_0x5d814f=>{this['$']['button-text']=_0x5d814f?'upload-files':'upload-file';});}};SimpleBtn['template']='\x0a\x20\x20<uc-drop-area\x20set=\x22@disabled:\x20!withDropZone\x22>\x0a\x20\x20\x20\x20<button\x20type=\x22button\x22\x20set=\x22onclick:\x20onClick\x22>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22upload\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20<span\x20l10n=\x22button-text\x22></span>\x0a\x20\x20\x20\x20\x20\x20<slot></slot>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-visual-drop-area\x22\x20l10n=\x22drop-files-here\x22></div>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20</uc-drop-area>\x0a',SimpleBtn['bindAttributes']({'dropzone':null});var _0x4bed7b='src-type-',SourceBtn=class extends _0x14dc68{['couldBeCtxOwner']=!0x0;['type']=void 0x0;['_registeredTypes']={};constructor(){super(),this['init$']={...this['init$'],'iconName':'default','src-type':''};}['initTypes'](){this['registerType']({'type':_0xdfac6a['LOCAL'],'activate':()=>(this['api']['openSystemDialog'](),!0x1)}),this['registerType']({'type':_0xdfac6a['URL'],'activity':ActivityBlock['activities']['URL'],'textKey':'from-url'}),this['registerType']({'type':_0xdfac6a['CAMERA'],'activity':ActivityBlock['activities']['CAMERA'],'activate':()=>{const _0x226896=browserFeatures['htmlMediaCapture'];return _0x226896&&this['api']['openSystemDialog']({'captureCamera':!0x0}),!_0x226896;}}),this['registerType']({'type':'draw','activity':ActivityBlock['activities']['DRAW'],'icon':'edit-draw'});for(const _0x1964d6 of Object['values'](_0x2bb866))this['registerType']({'type':_0x1964d6,'activity':ActivityBlock['activities']['CAMERA'],'activate':()=>{const _0x205c31=browserFeatures['htmlMediaCapture'];return _0x205c31&&this['api']['openSystemDialog']({'captureCamera':!0x0,'modeCamera':'mobile-photo-camera'===_0x1964d6?_0xa0c6ec['PHOTO']:_0xa0c6ec['VIDEO']}),!_0x205c31;}});for(const _0x16b9c4 of Object['values'](ExternalUploadSource))this['registerType']({'type':_0x16b9c4,'activity':ActivityBlock['activities']['EXTERNAL'],'activityParams':{'externalSourceType':_0x16b9c4}});}['initCallback'](){super['initCallback'](),this['initTypes'](),this['defineAccessor']('type',_0x4d7088=>{_0x4d7088&&this['applyType'](_0x4d7088);});}['registerType'](_0x1a05a4){this['_registeredTypes'][_0x1a05a4['type']]=_0x1a05a4;}['getType'](_0x2095a9){return this['_registeredTypes'][_0x2095a9];}['activate'](){if(!this['type'])return;const _0x5c75ce=this['_registeredTypes'][this['type']];if(!_0x5c75ce)return;const {activity:_0x230187,activate:_0x195992,activityParams:_0x809384={}}=_0x5c75ce;(_0x195992?_0x195992():!!_0x230187)&&_0x230187&&(this['modalManager']?.['open'](_0x230187),this['set$']({'*currentActivityParams':_0x809384,'*currentActivity':_0x230187}));}['applyType'](_0x55c2b){const _0x51e65b=this['_registeredTypes'][_0x55c2b];if(!_0x51e65b)return void console['warn']('Unsupported\x20source\x20type:\x20'+_0x55c2b);const {textKey:_0x27a725=_0x55c2b,icon:_0x1e3343=_0x55c2b}=_0x51e65b;this['$']['src-type']=''+_0x4bed7b+_0x27a725,this['$']['iconName']=_0x1e3343,this['onclick']=()=>{this['activate']();};}};SourceBtn['template']='\x0a\x20\x20<button\x20type=\x22button\x22>\x0a\x20\x20\x20\x20<uc-icon\x20set=\x22@name:\x20iconName\x22></uc-icon>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-txt\x22\x20l10n=\x22src-type\x22></div>\x0a\x20\x20</button>\x0a',SourceBtn['bindAttributes']({'type':null});var SourceList=class extends _0x2a3fee{['initCallback'](){super['initCallback'](),this['subConfigValue']('sourceList',_0x24e3ec=>{const _0x5a6f45=stringToArray(_0x24e3ec);let _0x2be32a='';_0x5a6f45['forEach'](_0x705481=>{'instagram'!==_0x705481?'camera'===_0x705481&&browserFeatures['htmlMediaCapture']?this['subConfigValue']('cameraModes',_0x549458=>{const _0x85b8e8=_0x40941e(_0x549458);_0x85b8e8['forEach'](_0x41b736=>{_0x2be32a+='<uc-source-btn\x20role=\x22listitem\x22\x20type=\x22mobile-'+_0x41b736+'-camera\x22></uc-source-btn>';}),0x0===_0x85b8e8['length']&&(_0x2be32a+='<uc-source-btn\x20role=\x22listitem\x22\x20type=\x22mobile-photo-camera\x22></uc-source-btn>');}):_0x2be32a+='<uc-source-btn\x20role=\x22listitem\x22\x20type=\x22'+_0x705481+'\x22></uc-source-btn>':console['error']('Instagram\x20source\x20was\x20removed\x20because\x20the\x20Instagram\x20Basic\x20Display\x20API\x20hasn\x27t\x20been\x20available\x20since\x20December\x204,\x202024.\x20Official\x20statement,\x20see\x20here:https://developers.facebook.com/blog/post/2024/09/04/update-on-instagram-basic-display-api/?locale=en_US');}),this['cfg']['sourceListWrap']?this['innerHTML']=_0x2be32a:this['outerHTML']=_0x2be32a;});}},_0x32885f=class extends BaseComponent{};_0x32885f['template']='\x20<div\x20class=\x22uc-spinner\x22></div>\x20';var StartFrom=class extends ActivityBlock{['historyTracked']=!0x0;['activityType']=ActivityBlock['activities']['START_FROM'];['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType']??'');}};function generateThumb(_0x1b07ad,_0x525206=0x28){if('image/svg+xml'===_0x1b07ad['type'])return URL['createObjectURL'](_0x1b07ad);const _0x113cb3=document['createElement']('canvas'),_0x5ec3a6=_0x113cb3['getContext']('2d');if(!_0x5ec3a6)return Promise['reject'](new Error('Canvas\x20context\x20not\x20supported'));const _0x1fd138=new Image(),_0x57d7bd=new Promise((_0x409fcf,_0xea9a1d)=>{_0x1fd138['onload']=()=>{const _0x4410ee=_0x1fd138['height']/_0x1fd138['width'];_0x4410ee>0x1?(_0x113cb3['width']=_0x525206,_0x113cb3['height']=_0x525206*_0x4410ee):(_0x113cb3['height']=_0x525206,_0x113cb3['width']=_0x525206/_0x4410ee),_0x5ec3a6['fillStyle']='rgb(240,\x20240,\x20240)',_0x5ec3a6['fillRect'](0x0,0x0,_0x113cb3['width'],_0x113cb3['height']),_0x5ec3a6['drawImage'](_0x1fd138,0x0,0x0,_0x113cb3['width'],_0x113cb3['height']),_0x113cb3['toBlob'](_0x46c598=>{if(!_0x46c598)return void _0xea9a1d();const _0x356a52=URL['createObjectURL'](_0x46c598);_0x409fcf(_0x356a52);});},_0x1fd138['onerror']=_0x5d6840=>{_0xea9a1d(_0x5d6840);};});return _0x1fd138['src']=URL['createObjectURL'](_0x1b07ad),_0x57d7bd;}function createSvgBlobUrl(_0x3b558c){const _0x115777=new Blob([_0x3b558c],{'type':'image/svg+xml'});return URL['createObjectURL'](_0x115777);}function _0x419d7b(_0x6b3af3='hsl(209,\x2021%,\x2065%)',_0xf990e2=0x20,_0x3c3f83=0x20){return createSvgBlobUrl('\x0a\x20\x20<svg\x20width=\x22'+_0xf990e2+'\x22\x20height=\x22'+_0x3c3f83+'\x22\x20viewBox=\x220\x200\x2030\x2030\x22\x20fill=\x22none\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22>\x0a\x20\x20\x20\x20<path\x20fill-rule=\x22evenodd\x22\x20fill=\x22'+_0x6b3af3+'\x22\x20d=\x22M9.68848\x208.70068C9.68848\x208.42454\x209.91233\x208.20068\x2010.1885\x208.20068H15.0885C15.2211\x208.20068\x2015.3483\x208.25336\x2015.442\x208.34713L20.342\x2013.2471C20.4358\x2013.3409\x2020.4885\x2013.4681\x2020.4885\x2013.6007V21.3007C20.4885\x2021.5768\x2020.2646\x2021.8007\x2019.9885\x2021.8007H10.1885C9.91233\x2021.8007\x209.68848\x2021.5768\x209.68848\x2021.3007V8.70068ZM10.6885\x209.20068V20.8007H19.4885V14.1007L15.0885\x2014.1007C14.8123\x2014.1007\x2014.5885\x2013.8768\x2014.5885\x2013.6007L14.5885\x209.20068H10.6885ZM15.5885\x209.90779L18.7814\x2013.1007L15.5885\x2013.1007L15.5885\x209.90779Z\x22/>\x0a\x20\x20</svg>\x0a\x20\x20');}StartFrom['template']='\x20<div\x20class=\x22uc-content\x22><slot></slot></div>\x20';var _0x590720=0xbb8,_0x1db536=class extends FileItemConfig{['_renderedGridOnce']=!0x1;['_thumbRect']=null;['_isIntersecting']=!0x1;['_firstViewMode']=this['cfg']['filesViewMode'];['_observer'];constructor(){super(),this['init$']={...this['init$'],'thumbUrl':'','badgeIcon':'','uid':''};}['_calculateThumbSize'](_0x32e267=!0x1){_0x32e267&&(this['_thumbRect']=this['getBoundingClientRect']());let _0x4ee42b=Math['max'](parseInt(String(this?.['_thumbRect']?.['height']||0x0),0xa),parseInt(String(this?.['_thumbRect']?.['width']||0x0),0xa),this['cfg']['thumbSize']);return window['devicePixelRatio']>0x1&&(_0x4ee42b*=window['devicePixelRatio']),Math['min'](_0x4ee42b,_0x590720);}['_generateThumbnail']=this['_withEntry'](async(e,i=!0x1)=>{const n=e['getValue']('fileInfo'),s=e['getValue']('isImage'),r=e['getValue']('uuid'),o=e['getValue']('thumbUrl'),a=this['_calculateThumbSize'](i);if(n&&s&&r){const i=await this['proxyUrl'](createCdnUrl(createOriginalUrl(this['cfg']['cdnCname'],r),createCdnUrlModifiers(e['getValue']('cdnUrlModifiers'),'stretch/off','scale_crop/'+a+'x'+a+'/center')));if(o===i)return;const {promise:n}=_0x4877d7(i);return void n['then'](()=>{e['setValue']('thumbUrl',i),o?.['startsWith']('blob:')&&URL['revokeObjectURL'](o);})['catch'](async()=>{if(!o?.['startsWith']('blob:'))try{const i=e['getValue']('file');if(!i)return;const n=await generateThumb(i,a);e['setValue']('thumbUrl',n);}catch(i){this['telemetryManager']['sendEventError'](i,'thumbnail\x20generation.\x20Failed\x20to\x20generate\x20thumb\x20from\x20file');const n=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');e['setValue']('thumbUrl',_0x419d7b(n));}});}if(e['getValue']('thumbUrl'))return;const c=e['getValue']('file');if(c?.['type']['includes']('image'))try{const i=await generateThumb(c,a);e['setValue']('thumbUrl',i);}catch(i){this['telemetryManager']['sendEventError'](i,'thumbnail\x20generation.\x20Failed\x20to\x20generate\x20thumb\x20from\x20file');const n=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');e['setValue']('thumbUrl',_0x419d7b(n));}else{const i=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');e['setValue']('thumbUrl',_0x419d7b(i));}});['_debouncedGenerateThumb']=_0x491199(this['_generateThumbnail']['bind'](this),0x64);['_observerCallback'](_0x36a6f9){const [_0x35970a]=_0x36a6f9;_0x35970a&&(this['_isIntersecting']=_0x35970a['isIntersecting'],_0x35970a['isIntersecting']&&(this['_thumbRect']=_0x35970a['boundingClientRect'],this['_debouncedGenerateThumb'](),this['_observer']?.['disconnect']()),0x0===_0x35970a['intersectionRatio']&&this['_debouncedGenerateThumb']['cancel']());}['_reset'](){super['_reset'](),this['_debouncedGenerateThumb']['cancel']();}['_handleEntryId'](_0x4629da){this['_reset']();const _0x13a627=this['uploadCollection']?.['read'](_0x4629da);this['_entry']=_0x13a627,_0x13a627&&(this['_subEntry']('fileInfo',_0x59d2b7=>{_0x59d2b7?.['isImage']&&this['_isIntersecting']&&this['_debouncedGenerateThumb']();}),this['_subEntry']('thumbUrl',_0x3ec384=>{this['$']['thumbUrl']=_0x3ec384?'url('+_0x3ec384+')':'';}),this['_subEntry']('cdnUrlModifiers',()=>{this['_isIntersecting']&&this['_debouncedGenerateThumb']();}),this['_isIntersecting']&&this['_debouncedGenerateThumb']());}['initCallback'](){super['initCallback'](),this['defineAccessor']('badgeIcon',_0x327470=>{this['$']['badgeIcon']=_0x327470;}),this['defineAccessor']('uid',_0x4cbd11=>{this['set$']({'uid':_0x4cbd11});}),this['sub']('uid',_0x437075=>{this['_handleEntryId'](_0x437075);}),this['subConfigValue']('filesViewMode',_0xaec940=>{'grid'!==_0xaec940||this['_renderedGridOnce']||('list'===this['_firstViewMode']&&this['_debouncedGenerateThumb'](!0x0),this['_renderedGridOnce']=!0x0);}),this['setAttribute']('role','img');}['connectedCallback'](){super['connectedCallback'](),this['_observer']=new window['IntersectionObserver'](this['_observerCallback']['bind'](this),{'threshold':0.1}),this['_observer']['observe'](this);}['disconnectedCallback'](){super['disconnectedCallback'](),this['_entrySubs']=new Set(),this['_debouncedGenerateThumb']['cancel'](),this['_observer']?.['disconnect']();}};_0x1db536['template']='\x0a\x20\x20<div\x20class=\x22uc-thumb\x22\x20set=\x22style.backgroundImage:\x20thumbUrl\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-badge\x22>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20set=\x22@name:\x20badgeIcon\x22></uc-icon>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</div>\x0a',_0x1db536['bindAttributes']({'badgeIcon':null,'uid':null});var UploadCtxProvider=class extends _0x14dc68{static ['styleAttrs']=['uc-wgt-common'];static ['EventType']=EventType;['requireCtxName']=!0x0;['initCallback'](){super['initCallback'](),this['$']['*eventEmitter']['bindTarget'](this);}['destroyCallback'](){super['destroyCallback'](),this['$']['*eventEmitter']['unbindTarget'](this);}},UploadList=class extends _0x14dc68{['couldBeCtxOwner']=!0x0;['historyTracked']=!0x0;['activityType']=ActivityBlock['activities']['UPLOAD_LIST'];constructor(){super(),this['init$']={...this['init$'],'doneBtnVisible':!0x1,'doneBtnEnabled':!0x1,'uploadBtnVisible':!0x1,'addMoreBtnVisible':!0x1,'addMoreBtnEnabled':!0x1,'headerText':'','commonErrorMessage':'','hasFiles':!0x1,'onAdd':()=>{this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'add-more','node':this['tagName']}}}),this['api']['initFlow'](!0x0);},'onUpload':()=>{this['emit'](EventType['UPLOAD_CLICK']),this['api']['uploadAll'](),this['_throttledHandleCollectionUpdate']();},'onDone':()=>{this['emit'](EventType['DONE_CLICK'],this['api']['getOutputCollectionState']()),this['api']['doneFlow']();},'onCancel':()=>{this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'clear-all','node':this['tagName']}}}),this['uploadCollection']['clearAll']();}};}['_throttledHandleCollectionUpdate']=throttle(()=>{this['isConnected']&&(this['_updateUploadsState'](),this['couldOpenActivity']||this['$']['*currentActivity']!==this['activityType']||this['historyBack'](),this['cfg']['confirmUpload']||this['api']['uploadAll']());},0x12c);['_updateUploadsState'](){const _0x3a5aad=this['api']['getOutputCollectionState'](),_0x1ab338={'total':_0x3a5aad['totalCount'],'succeed':_0x3a5aad['successCount'],'uploading':_0x3a5aad['uploadingCount'],'failed':_0x3a5aad['failedCount'],'validatingBeforeUploading':_0x3a5aad['idleEntries']['filter'](_0xc1092a=>_0xc1092a['isValidationPending'])['length']},_0x5974c3=!_0x3a5aad['errors']['some'](_0x3c5bee=>'TOO_MANY_FILES'===_0x3c5bee['type']||'TOO_FEW_FILES'===_0x3c5bee['type']),_0x4b3e4e=_0x3a5aad['errors']['some'](_0x73b3e6=>'TOO_MANY_FILES'===_0x73b3e6['type']),_0x53d566=_0x3a5aad['totalCount']===(this['cfg']['multiple']?this['cfg']['multipleMax']:0x1),_0x3c6994=_0x3a5aad['allEntries']['some'](_0x58217f=>_0x58217f['isValidationPending']),_0x456382=0x0===_0x1ab338['failed']&&0x0===_0x3a5aad['errors']['length']&&!_0x3c6994;let _0x3fd9c8=!0x1,_0x15b589=!0x1,_0x1f31f9=!0x1;if(_0x1ab338['total']-_0x1ab338['succeed']-_0x1ab338['uploading']-_0x1ab338['failed']>0x0&&_0x5974c3&&_0x456382)_0x3fd9c8=!0x0;else{_0x15b589=!0x0;const _0x32db7d=!this['cfg']['groupOutput']||!!_0x3a5aad['group'];_0x1f31f9=_0x1ab338['total']===_0x1ab338['succeed']&&_0x5974c3&&_0x456382&&_0x32db7d;}this['set$']({'doneBtnVisible':_0x15b589,'doneBtnEnabled':_0x1f31f9,'uploadBtnVisible':_0x3fd9c8,'addMoreBtnEnabled':0x0===_0x1ab338['total']||!_0x4b3e4e&&!_0x53d566,'addMoreBtnVisible':!_0x53d566||this['cfg']['multiple'],'hasFiles':_0x1ab338['total']>0x0}),this['bindL10n']('headerText',()=>this['_getHeaderText'](_0x1ab338));}['_getHeaderText'](_0x792d54){const _0x331884=_0x45d626=>{let _0x2d3233=_0x792d54[_0x45d626];return'uploading'===_0x45d626&&(_0x2d3233+=_0x792d54['validatingBeforeUploading']),this['l10n']('header-'+_0x45d626,{'count':_0x2d3233});};return _0x792d54['uploading']>0x0||_0x792d54['validatingBeforeUploading']>0x0?_0x331884('uploading'):_0x792d54['failed']>0x0?_0x331884('failed'):_0x792d54['succeed']>0x0?_0x331884('succeed'):_0x331884('total');}get['couldOpenActivity'](){return this['cfg']['showEmptyList']||this['uploadCollection']['size']>0x0;}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType']),this['subConfigValue']('multiple',this['_throttledHandleCollectionUpdate']),this['subConfigValue']('multipleMin',this['_throttledHandleCollectionUpdate']),this['subConfigValue']('multipleMax',this['_throttledHandleCollectionUpdate']),this['sub']('*groupInfo',_0x561437=>{_0x561437&&this['_throttledHandleCollectionUpdate']();}),this['subConfigValue']('filesViewMode',_0x493ce4=>{this['setAttribute']('mode',_0x493ce4);}),this['sub']('*currentActivity',_0x40cd39=>{this['couldOpenActivity']||_0x40cd39!==this['activityType']||(this['$']['*currentActivity']=this['initActivity']);}),this['uploadCollection']['observeProperties'](this['_throttledHandleCollectionUpdate']),this['uploadCollection']['observeCollection'](this['_throttledHandleCollectionUpdate']),this['sub']('*collectionErrors',_0x20104e=>{const _0x132633=_0x20104e['filter'](_0x4e6a1a=>'SOME_FILES_HAS_ERRORS'!==_0x4e6a1a['type'])[0x0];_0x132633?this['set$']({'commonErrorMessage':_0x132633['message']}):this['set$']({'commonErrorMessage':null});});}['destroyCallback'](){super['destroyCallback'](),this['uploadCollection']['unobserveProperties'](this['_throttledHandleCollectionUpdate']),this['uploadCollection']['unobserveCollection'](this['_throttledHandleCollectionUpdate']);}};UploadList['template']='\x0a\x20\x20<uc-activity-header>\x0a\x20\x20\x20\x20<span\x20aria-live=\x22polite\x22\x20class=\x22uc-header-text\x22>{{headerText}}</span>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-mini-btn\x20uc-close-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20*closeModal\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22@title:a11y-activity-header-button-close;@aria-label:a11y-activity-header-button-close\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22close\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20</uc-activity-header>\x0a\x0a\x20\x20<div\x20class=\x22uc-no-files\x22\x20set=\x22@hidden:\x20hasFiles\x22>\x0a\x20\x20\x20\x20<slot\x20name=\x22empty\x22><span\x20l10n=\x22no-files\x22></span></slot>\x0a\x20\x20</div>\x0a\x0a\x20\x20<div\x20class=\x22uc-files\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-files-wrapper\x22\x20repeat=\x22*uploadList\x22\x20repeat-item-tag=\x22uc-file-item\x22></div>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-add-more-btn\x20uc-secondary-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onAdd;\x20@disabled:\x20!addMoreBtnEnabled;\x20@hidden:\x20!addMoreBtnVisible\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22add\x22></uc-icon><span\x20l10n=\x22add-more\x22></span>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20</div>\x0a\x0a\x20\x20<div\x20class=\x22uc-common-error\x22\x20set=\x22@hidden:\x20!commonErrorMessage;\x20textContent:\x20commonErrorMessage;\x22></div>\x0a\x0a\x20\x20<div\x20class=\x22uc-toolbar\x22>\x0a\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22uc-cancel-btn\x20uc-secondary-btn\x22\x20set=\x22onclick:\x20onCancel;\x22\x20l10n=\x22clear\x22></button>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-toolbar-spacer\x22></div>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-add-more-btn\x20uc-secondary-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onAdd;\x20@disabled:\x20!addMoreBtnEnabled;\x20@hidden:\x20!addMoreBtnVisible\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22add\x22></uc-icon><span\x20l10n=\x22add-more\x22></span>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-upload-btn\x20uc-primary-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22@hidden:\x20!uploadBtnVisible;\x20onclick:\x20onUpload;\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22upload\x22\x0a\x20\x20\x20\x20></button>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-done-btn\x20uc-primary-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22@hidden:\x20!doneBtnVisible;\x20onclick:\x20onDone;\x20\x20@disabled:\x20!doneBtnEnabled\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22done\x22\x0a\x20\x20\x20\x20></button>\x0a\x20\x20</div>\x0a\x0a\x20\x20<uc-drop-area\x20ghost></uc-drop-area>\x0a';var _0x130149=class extends _0x14dc68{['couldBeCtxOwner']=!0x0;['activityType']=ActivityBlock['activities']['URL'];constructor(){super(),this['init$']={...this['init$'],'importDisabled':!0x0,'onUpload':_0x5b533b=>{_0x5b533b['preventDefault'](),this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'upload-from-url','node':this['tagName']}}});const _0x57af2b=this['ref']['input']['value'];this['api']['addFileFromUrl'](_0x57af2b,{'source':_0xdfac6a['URL']}),this['modalManager']?.['open'](ActivityBlock['activities']['UPLOAD_LIST']),this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'];},'onCancel':()=>{this['historyBack']();},'onInput':_0x576a68=>{const _0x45e438=_0x576a68['target']?.['value']??'';this['set$']({'importDisabled':!_0x45e438});}};}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType']??'',{'onActivate':()=>{const _0xaa3a1e=this['ref']['input'];_0xaa3a1e['value']='',_0xaa3a1e['focus']();}});}};_0x130149['template']='\x0a\x20\x20<uc-activity-header>\x0a\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22uc-mini-btn\x22\x20set=\x22onclick:\x20*historyBack\x22\x20l10n=\x22@title:back;@aria-label:back\x22>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22back\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20<div>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22url\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20<span\x20l10n=\x22caption-from-url\x22></span>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-mini-btn\x20uc-close-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20*closeModal\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22@title:a11y-activity-header-button-close;@aria-label:a11y-activity-header-button-close\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22close\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20</uc-activity-header>\x0a\x20\x20<form\x20class=\x22uc-content\x22>\x0a\x20\x20\x20\x20<label>\x0a\x20\x20\x20\x20\x20\x20<input\x20placeholder=\x22https://\x22\x20class=\x22uc-url-input\x22\x20type=\x22text\x22\x20ref=\x22input\x22\x20set=\x22oninput:\x20onInput\x22\x20/>\x0a\x20\x20\x20\x20</label>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22submit\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-url-upload-btn\x20uc-primary-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onUpload;\x20@disabled:\x20importDisabled\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22upload-url\x22\x0a\x20\x20\x20\x20></button>\x0a\x20\x20</form>\x0a';var CloudImageEditor=class extends CloudImageEditorBlock{static ['styleAttrs']=[...super['styleAttrs'],'uc-wgt-common'];constructor(){super(),this['init$']={...this['init$'],'*solution':this['tagName']};}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':InternalEventType['INIT_SOLUTION']}),this['a11y']?.['registerBlock'](this);}},_0x2fd853=class extends SolutionBlock{static ['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-inline'];constructor(){super(),this['init$']={...this['init$'],'couldCancel':!0x1,'*solution':this['tagName'],'cancel':()=>{if(this['couldHistoryBack']){const _0x5ba99f=this['$']['*historyBack'];return void _0x5ba99f?.();}this['couldShowList']&&(this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST']);}};}get['couldHistoryBack'](){const _0x4c8db7=this['$']['*history'];return!(!_0x4c8db7||_0x4c8db7['length']<=0x1)&&_0x4c8db7[_0x4c8db7['length']-0x1]!==ActivityBlock['activities']['START_FROM'];}get['couldShowList'](){const _0x4bf3ac=this['$']['*uploadList'];return this['cfg']['showEmptyList']||Array['isArray'](_0x4bf3ac)&&_0x4bf3ac['length']>0x0;}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':InternalEventType['INIT_SOLUTION']});const _0x3112eb=this['ref']['uBlock'];_0x3112eb&&(this['sub']('*currentActivity',_0x26d0ae=>{_0x26d0ae||(this['$']['*currentActivity']=_0x3112eb['initActivity']||ActivityBlock['activities']['START_FROM']);}),this['sub']('*uploadList',_0x3a3483=>{Array['isArray'](_0x3a3483)&&_0x3a3483['length']>0x0&&this['$']['*currentActivity']===(_0x3112eb['initActivity']||ActivityBlock['activities']['START_FROM'])&&(this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST']);}),this['sub']('*history',()=>{this['$']['couldCancel']=this['couldHistoryBack']||this['couldShowList'];}));}};_0x2fd853['template']='\x0a\x20\x20<uc-start-from>\x0a\x20\x20\x20\x20<uc-drop-area\x20with-icon\x20clickable></uc-drop-area>\x0a\x20\x20\x20\x20<uc-source-list\x20role=\x22list\x22\x20wrap></uc-source-list>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22start-from-cancel\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-cancel-btn\x20uc-secondary-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20cancel;\x20@hidden:\x20!couldCancel\x22\x0a\x20\x20\x20\x20></button>\x0a\x20\x20\x20\x20<uc-copyright></uc-copyright>\x0a\x20\x20</uc-start-from>\x0a\x20\x20<uc-upload-list\x20ref=\x22uBlock\x22></uc-upload-list>\x0a\x20\x20<uc-camera-source></uc-camera-source>\x0a\x20\x20<uc-url-source></uc-url-source>\x0a\x20\x20<uc-external-source></uc-external-source>\x0a\x20\x20<uc-cloud-image-editor-activity></uc-cloud-image-editor-activity>\x0a';var _0x12bb8f='active',_0x4f6239='',_0x3eee93=class extends SolutionBlock{static ['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-minimal'];['handleModalOpen'];['handleModalClose'];constructor(){super(),this['init$']={...this['init$'],'singleUpload':!0x1,'isHiddenStartFrom':!0x1,'classUploadList':_0x4f6239,'classStartFrom':_0x4f6239,'*solution':this['tagName']};}['_handleModalOpen'](_0x5a07c9){_0x5a07c9['id']===ActivityBlock['activities']['CLOUD_IMG_EDIT']&&this['set$']({'classUploadList':_0x12bb8f}),this['$']['*currentActivity']===ActivityBlock['activities']['UPLOAD_LIST']&&this['set$']({'classUploadList':_0x12bb8f,'isHiddenStartFrom':!0x0});const _0x453001=this['$']['*uploadList'];(!_0x453001||_0x453001['length']<=0x0)&&this['set$']({'classStartFrom':_0x12bb8f});}['_handleModalClose'](_0x131bc6){_0x131bc6['id']===this['$']['*currentActivity']&&(this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'],this['set$']({'isHiddenStartFrom':!0x1})),_0x131bc6['id']===ActivityBlock['activities']['CLOUD_IMG_EDIT']&&(this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST']);}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':InternalEventType['INIT_SOLUTION']});const _0x12466a=this['ref']['uBlock'];_0x12466a&&(this['sub']('*currentActivity',_0x3f5f52=>{_0x3f5f52===ActivityBlock['activities']['UPLOAD_LIST']&&this['modalManager']?.['closeAll'](),_0x3f5f52||(this['$']['*currentActivity']=_0x12466a['initActivity']||ActivityBlock['activities']['START_FROM']);}),this['sub']('*uploadList',_0x5587fe=>{Array['isArray'](_0x5587fe)&&_0x5587fe['length']>0x0?(this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'],this['set$']({'classStartFrom':_0x4f6239})):(this['set$']({'classUploadList':_0x4f6239,'isHiddenStartFrom':!0x1}),this['$']['*currentActivity']=_0x12466a['initActivity']||ActivityBlock['activities']['START_FROM']);}),this['subConfigValue']('confirmUpload',_0x5d2831=>{!0x1!==_0x5d2831&&(this['cfg']['confirmUpload']=!0x1);}),this['subConfigValue']('filesViewMode',_0x5f3c8d=>{this['setAttribute']('mode',_0x5f3c8d),this['subConfigValue']('multiple',_0x4900b6=>{'grid'===_0x5f3c8d?(_0x4900b6?this['style']['removeProperty']('--uc-grid-col'):this['style']['setProperty']('--uc-grid-col','1'),this['$']['singleUpload']=!_0x4900b6):(this['style']['removeProperty']('--uc-grid-col'),this['$']['singleUpload']=!0x1);});}),this['handleModalOpen']=_0x2a93c5=>{this['_handleModalOpen'](_0x2a93c5);},this['handleModalClose']=_0x286bad=>{this['_handleModalClose'](_0x286bad);},this['modalManager']?.['subscribe'](ModalEvents['OPEN'],this['handleModalOpen']),this['modalManager']?.['subscribe'](ModalEvents['CLOSE'],this['handleModalClose']));}['destroyCallback'](){super['destroyCallback'](),this['modalManager']?.['unsubscribe'](ModalEvents['OPEN'],this['handleModalOpen']),this['modalManager']?.['unsubscribe'](ModalEvents['CLOSE'],this['handleModalClose']);}};_0x3eee93['template']='\x0a\x20\x20<uc-start-from\x20set=\x22@hidden:\x20isHiddenStartFrom;\x20@class:classStartFrom\x22>\x0a\x20\x20\x20\x20<uc-drop-area\x20set=\x22@single:singleUpload;\x22\x20initflow\x20clickable\x20tabindex=\x220\x22\x20l10n=\x22choose-file\x22></uc-drop-area>\x0a\x20\x20\x20\x20<uc-copyright></uc-copyright>\x0a\x20\x20</uc-start-from>\x0a\x20\x20<uc-upload-list\x20set=\x22@class:classUploadList\x22\x20ref=\x22uBlock\x22></uc-upload-list>\x0a\x0a\x20\x20<uc-modal\x20id=\x22start-from\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-start-from>\x0a\x20\x20\x20\x20\x20\x20<uc-drop-area\x20with-icon\x20clickable></uc-drop-area>\x0a\x20\x20\x20\x20\x20\x20<uc-source-list\x20role=\x22list\x22\x20wrap></uc-source-list>\x0a\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20l10n=\x22start-from-cancel\x22\x20class=\x22uc-secondary-btn\x22\x20set=\x22onclick:\x20*historyBack\x22></button>\x0a\x20\x20\x20\x20</uc-start-from>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22camera\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-camera-source></uc-camera-source>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22url\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-url-source></uc-url-source>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22external\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-external-source></uc-external-source>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22cloud-image-edit\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-cloud-image-editor-activity></uc-cloud-image-editor-activity>\x0a\x20\x20</uc-modal>\x0a';var _0xc4cf68=class extends SolutionBlock{static ['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-regular'];constructor(){super();const _0x2681a2={...this['init$'],'isHidden':!0x1,'*solution':this['tagName']};this['init$']=_0x2681a2;}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':InternalEventType['INIT_SOLUTION']}),this['defineAccessor']('headless',_0x92cb72=>{this['set$']({'isHidden':_0x2392a0(_0x92cb72)});});}};_0xc4cf68['template']='\x0a\x20\x20<uc-simple-btn\x20set=\x22@hidden:\x20isHidden\x22></uc-simple-btn>\x0a\x0a\x20\x20<uc-modal\x20id=\x22start-from\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-start-from>\x0a\x20\x20\x20\x20\x20\x20<uc-drop-area\x20with-icon\x20clickable></uc-drop-area>\x0a\x20\x20\x20\x20\x20\x20<uc-source-list\x20role=\x22list\x22\x20wrap></uc-source-list>\x0a\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20l10n=\x22start-from-cancel\x22\x20class=\x22uc-secondary-btn\x22\x20set=\x22onclick:\x20*historyBack\x22></button>\x0a\x20\x20\x20\x20\x20\x20<uc-copyright></uc-copyright>\x0a\x20\x20\x20\x20</uc-start-from>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22upload-list\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-upload-list></uc-upload-list>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22camera\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-camera-source></uc-camera-source>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22url\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-url-source></uc-url-source>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22external\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-external-source></uc-external-source>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22cloud-image-edit\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-cloud-image-editor-activity></uc-cloud-image-editor-activity>\x0a\x20\x20</uc-modal>\x0a',_0xc4cf68['bindAttributes']({'headless':null});var _0x1b296c=Object['freeze']({'__proto__':null,'ActivityBlock':ActivityBlock,'ActivityHeader':ActivityHeader,'BaseComponent':BaseComponent,'Block':_0x2a3fee,'BtnUi':BtnUi,'CameraSource':_0x288b21,'CloudImageEditor':CloudImageEditor,'CloudImageEditorActivity':CloudImageEditorActivity,'CloudImageEditorBlock':CloudImageEditorBlock,'Config':_0x426645,'Copyright':Copyright,'CropFrame':_0x174264,'Data':Data,'DropArea':_0x4baecc,'EditorAspectRatioButtonControl':EditorAspectRatioButtonControl,'EditorCropButtonControl':EditorCropButtonControl,'EditorFilterControl':EditorFilterControl,'EditorFreeformButtonControl':EditorFreeformButtonControl,'EditorImageCropper':EditorImageCropper,'EditorImageFader':EditorImageFader,'EditorOperationControl':EditorOperationControl,'EditorScroller':EditorScroller,'EditorSlider':EditorSlider,'EditorToolbar':EditorToolbar,'ExternalSource':ExternalSource,'ExternalUploadSource':ExternalUploadSource,'FileItem':FileItem,'FileUploaderInline':_0x2fd853,'FileUploaderMinimal':_0x3eee93,'FileUploaderRegular':_0xc4cf68,'FormInput':FormInput,'Icon':_0x277572,'Img':_0x353478,'LineLoaderUi':_0x2f40b6,'Modal':_0x55cc94,'ModalEvents':ModalEvents,'PACKAGE_NAME':_0x1ad11e,'PACKAGE_VERSION':_0x575df8,'PresenceToggle':_0x3957ae,'ProgressBar':_0x5c93e4,'ProgressBarCommon':_0x42577b,'Select':Select,'SimpleBtn':SimpleBtn,'SliderUi':_0xef033f,'SolutionBlock':SolutionBlock,'SourceBtn':SourceBtn,'SourceList':SourceList,'Spinner':_0x32885f,'StartFrom':StartFrom,'Thumb':_0x1db536,'UID':_0x48eed4,'UploadCtxProvider':UploadCtxProvider,'UploadList':UploadList,'UploadSource':_0xdfac6a,'UploaderBlock':_0x14dc68,'UrlSource':_0x130149,'defineComponents':defineComponents,'defineLocale':_0x5144ba,'loadFileUploaderFrom':_0x273ef3,'toKebabCase':toKebabCase});class _0x55498f extends ckeditor5['Plugin']{static get['requires'](){return[UploadcareEditing,_0x50ac83];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1b312c){super(_0x1b312c),_0x1b312c['config']['define']('uploadcare.uploader.sourceList',[_0x4d4e15['Local'],_0x4d4e15['URL']]),defineComponents(_0x1b296c),this['_defineLocale']();}['_defineLocale'](){const _0x3a02a4=this['editor']['config']['get']('uploadcare.locale'),_0x5b3808=this['editor']['locale']['contentLanguage'];_0x3a02a4&&_0x5144ba(_0x5b3808,_0x3a02a4);}}class UploadcareImageEditFormLoadingView extends ckeditor5['View']{constructor(_0x9ddbc5){super(_0x9ddbc5);const t=_0x9ddbc5['t'],_0x5ab0fc=this['bindTemplate'],_0x2b831b=new ckeditor5['SpinnerView']();_0x2b831b['isVisible']=!0x0,this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__loading'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__loading-spinner']},'children':[_0x2b831b,{'text':_0x5ab0fc['to']('imageUploadProgress',_0x4d58d6=>t('Loading\x20image...')+'\x20('+(_0x4d58d6||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class UploadcareImageEditFormErrorView extends ckeditor5['View']{constructor(_0x5402be){super(_0x5402be);const t=_0x5402be['t'];this['set']('errorType',null);const _0x1f527c=new ckeditor5['ButtonView'](_0x5402be);_0x1f527c['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1f527c['withText']=!0x0,_0x1f527c['class']='ck-button-action',_0x1f527c['on']('execute',()=>{this['fire']('retry');}),_0x1f527c['bind']('isVisible')['to'](this,'errorType',_0x3aea3a=>'NotFound'!==_0x3aea3a);const _0x3276a5=new ckeditor5['IconView']();_0x3276a5['content']=ckeditor5['IconError'],_0x3276a5['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x281a89=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0x3276a5,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x281a89['to']('errorType',_0x4c8755=>t('NotFound'!==_0x4c8755?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1f527c]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class UploadcareImageEditFormEditingView extends ckeditor5['View']{constructor(_0x2086f6,_0x4ec43c){super(_0x2086f6);const _0x5a25d8=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x4ec43c,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x5a25d8['to']('imageSrc')}});}}class UploadcareImageEditFormView extends _0x37123c{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x424442,_0x3fb4b1,_0x476f60){super(_0x424442),this['_items']=this['createCollection'](),this['_loadingView']=new UploadcareImageEditFormLoadingView(_0x424442),this['_errorView']=new UploadcareImageEditFormErrorView(_0x424442),this['_editingView']=new UploadcareImageEditFormEditingView(_0x424442,_0x476f60),this['_focusableView']=new ckeditor5['View'](_0x424442),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x3fb4b1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':this['_items']}),this['_setView'](),this['once']('render',()=>{this['_waitForImageEditorComponent'](this['element'],_0xac91ed=>{this['_addUploadcareImageEditorListeners'](_0xac91ed);});}),this['on']('change:status',()=>{this['_setView']();}),this['_addErrorViewListeners']();}['focus'](){this['element']['focus']();}['_setView'](){switch(this['_items']['clear'](),this['status']){case'uploading':this['_items']['add'](this['_loadingView']);break;case'error':this['_items']['add'](this['_errorView']);break;case'ready':this['_items']['addMany']([this['_editingView'],this['_focusableView']]);}}['_waitForImageEditorComponent'](_0x587e1e,_0x4dba55){const _0x5e309d='uc-cloud-image-editor',_0x10fe55=_0x587e1e['querySelector'](_0x5e309d);if(_0x10fe55)return _0x4dba55(_0x10fe55);const _0x532f67=new MutationObserver(_0xdae1a9=>{const _0x5c3b31=_0xdae1a9['filter'](_0x32ce5f=>_0x32ce5f['target']===_0x587e1e&&_0x32ce5f['addedNodes']['length']>0x0&&_0x32ce5f['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x5e309d);_0x5c3b31['length']&&(_0x532f67['disconnect'](),_0x4dba55(_0x5c3b31[0x0]['addedNodes'][0x0]));});_0x532f67['observe'](_0x587e1e,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0xbc94f1){_0xbc94f1['addEventListener']('apply',_0x32f280=>{this['fire']('apply',{'imageSrc':_0x32f280['detail']['cdnUrl']});}),_0xbc94f1['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0xae1375,_0x5d54cb,_0x133e2a){super(),this['_editor']=_0xae1375,this['_dialog']=_0x5d54cb,this['_imageElement']=_0x133e2a,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}['destroy'](){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0x2545d5=this['_imageElement'],_0x1fca7a=_0x2545d5['getAttribute']('uploadcareImageId'),_0x1fe7e4=_0x2545d5['getAttribute']('src');if(_0x1fca7a)await this['_loadImageInfo'](_0x1fca7a,_0x1fe7e4);else{if(this['_imageCache']['has'](_0x1fe7e4)){const _0x3cb8b2=this['_imageCache']['get'](_0x1fe7e4);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3cb8b2['url'],this['imageDimension']=_0x3cb8b2['dimension'],this['imageId']=_0x3cb8b2['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x10aa9b}=this['_editor'],t=_0x10aa9b['t'],_0xc46498=new UploadcareImageEditFormView(_0x10aa9b,this['imageStatus'],this['_attributes']);_0xc46498['bind']('status')['to'](this,'imageStatus'),_0xc46498['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xc46498['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xc46498['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xc46498,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':ckeditor5['IconUploadcareImageEdit'],'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xc46498,'position':ckeditor5['DialogViewPosition']['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xc46498['focus']();},'onHide':()=>{_0xc46498['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x431517=>!isAncestor(_0x431517,_0xc46498['element'])}});}['_loadImageInfo'](_0x567e5b,_0x590c76){return UploadUtils['getInfo'](_0x567e5b,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x5cc14e=>{const {width:_0x13639b,height:_0x261616}=_0x5cc14e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x590c76,this['imageDimension']={'width':_0x13639b,'height':_0x261616},this['imageId']=_0x567e5b;})['catch'](_0x20e894=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x20e894['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5a37ce,_0xaf95ec){return this['_getImageAsFile'](_0x5a37ce)['then'](_0x367139=>UploadUtils['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0xaf95ec['signal'],'file':_0x367139,'onProgress':_0x3ade54=>{_0x3ade54&&_0x3ade54['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3ade54['value']));}}))['then'](_0x124c0f=>{const {width:_0x1065d3,height:_0x810420}=_0x124c0f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x124c0f['cdnUrl'],this['imageDimension']={'width':_0x1065d3,'height':_0x810420},this['imageId']=_0x124c0f['uuid'],this['imageUploadProgress']=null;const _0x1a3fea=_0x5a37ce['getAttribute']('src');this['_imageCache']['set'](_0x1a3fea,{'id':_0x124c0f['uuid'],'url':_0x124c0f['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2a5ac3=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2a5ac3['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x244447,_0x2ec377){_0x244447['on']('apply',(_0x41a36b,_0x27ae5d)=>{this['_replaceImage'](_0x2ec377,_0x27ae5d['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x244447['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x244447['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2ec20e,_0x5a3bd9,_0x1235db){const _0x16c604=this['_editor'],{width:_0x138275,height:_0xdfb6b2}=getImageDimension(_0x5a3bd9,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x579622,imageSources:_0x20c44a}=getImageUrls(_0x5a3bd9,_0x138275);_0x16c604['model']['change'](_0x511575=>{if('$graveyard'===_0x2ec20e['root']['rootName']){_0x16c604['execute']('insertImage',{'imageType':_0x2ec20e['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2ec20e['getAttributes']()),'uploadcareImageId':_0x1235db,'src':_0x579622,'sources':_0x20c44a,'width':_0x138275,'height':_0xdfb6b2}});const _0x46322c=_0x2ec20e['getChildren']();_0x2ec20e=_0x16c604['model']['document']['selection']['getSelectedElement']();for(const _0x311d81 of _0x46322c)_0x511575['append'](_0x511575['cloneElement'](_0x311d81),_0x2ec20e);}else _0x511575['setSelection'](_0x2ec20e,'on'),_0x16c604['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2ec20e['getAttributes']()),'uploadcareImageId':_0x1235db,'src':_0x579622,'sources':_0x20c44a,'width':_0x138275,'height':_0xdfb6b2},_0x2ec20e);_0x511575['setSelection'](_0x2ec20e,'on');});}async['_getImageAsFile'](_0x46b36e){const _0x438b52=ckeditor5['global']['window'],_0x5b547e=ckeditor5['global']['document']['location']['href'],_0x8bcf91=new _0x438b52['URL'](_0x46b36e['getAttribute']('src'),_0x5b547e);if('data:'===_0x8bcf91['protocol']){const _0x168bcf=_0x8bcf91['href']['split'](','),_0xb88a94=_0x168bcf[0x0]['match'](/:(.*?);/)[0x1],_0x4a4432=_0xb88a94['split']('/')[0x1],_0x327d9e=_0x438b52['atob'](_0x168bcf[_0x168bcf['length']-0x1]);let _0x2ab98b=_0x327d9e['length'];const _0x3b5891=new _0x438b52['Uint8Array'](_0x2ab98b);for(;_0x2ab98b--;)_0x3b5891[_0x2ab98b]=_0x327d9e['charCodeAt'](_0x2ab98b);return new _0x438b52['File']([_0x3b5891],'image.'+_0x4a4432,{'type':_0xb88a94});}const _0x1979d4=_0x8bcf91['href']['split']('/'),_0x54b74c=_0x1979d4[_0x1979d4['length']-0x1],_0x2ad728=_0x54b74c['split']('.')[0x1];return _0x438b52['fetch'](_0x8bcf91['href'])['then'](_0x1ba9b5=>_0x1ba9b5['clone']()['blob']())['then'](_0x55cdcf=>new _0x438b52['File']([_0x55cdcf],_0x54b74c,{'type':'image/'+_0x2ad728}));}}class UploadcareImageEditCommand extends ckeditor5['Command']{['imageEditController'];static get['requires'](){return[ckeditor5['Dialog']];}['_isEditable'];constructor(_0x86d820){super(_0x86d820),this['imageEditController']=void 0x0,this['_isEditable']=createEditabilityChecker(_0x86d820['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x123354=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x123354);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x358519=this['editor']['model']['document']['selection']['getSelectedElement']();_0x358519&&(_0x358519['is']('element','imageBlock')||_0x358519['is']('element','imageInline'))&&(this['imageEditController']=new UploadcareImageEditController(this['editor'],this['editor']['plugins']['get'](ckeditor5['Dialog']),_0x358519),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class _0x16f038 extends ckeditor5['Command']{['refresh'](){const _0x33126e=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x33126e&&(_0x33126e['is']('element','imageBlock')||_0x33126e['is']('element','imageInline')));}['execute'](_0x23aaf0){const _0x336124=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x3fce15=>{_0x3fce15['setAttributes'](_0x23aaf0,_0x336124),_0x3fce15['removeAttribute']('srcset',_0x336124),_0x3fce15['removeAttribute']('sizes',_0x336124);});}}class UploadcareImageEditEditing extends ckeditor5['Plugin']{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[UploadcareEditing,ckeditor5['Notification'],'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5aa855}=this;_0x5aa855['commands']['add']('uploadcareImageEdit',new UploadcareImageEditCommand(_0x5aa855)),_0x5aa855['commands']['add']('uploadcareImageReplace',new _0x16f038(_0x5aa855));}}class UploadcareImageEditUI extends ckeditor5['Plugin']{['_imageCache']=new Map();static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x5b4267=this['editor'];_0x5b4267['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4af2fb=>{const _0x51c231=_0x5b4267['commands']['get']('uploadcareImageEdit'),_0x1ca735=new ckeditor5['ButtonView'](_0x4af2fb),t=_0x4af2fb['t'];return _0x1ca735['set']({'icon':ckeditor5['IconUploadcareImageEdit'],'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1ca735['bind']('isEnabled')['to'](_0x51c231),_0x1ca735['bind']('isOn')['to'](_0x51c231,'isActive'),this['listenTo'](_0x1ca735,'execute',()=>{_0x5b4267['execute']('uploadcareImageEdit'),_0x5b4267['editing']['view']['focus']();}),_0x1ca735;}),this['_initConfig']();}['_initConfig'](){const _0x1da387=ckeditor5['createElement'](document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1da387),this['listenTo'](this['editor'],'destroy',()=>{_0x1da387['remove']();});}}class UploadcareImageEdit extends ckeditor5['Plugin']{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[UploadcareImageEditEditing,UploadcareImageEditUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}exports['AIActions']=AIActions,exports['AIAdapter']=AIAdapter,exports['AIAssistant']=AIAssistant,exports['AIAssistantUI']=AIAssistantUI,exports['AIBalloon']=_0x497d44,exports['AIChat']=AIChat,exports['AIChatController']=AIChatController,exports['AIChatHistory']=AIChatHistory,exports['AIChatHistoryController']=AIChatHistoryController,exports['AIChatHistoryUI']=AIChatHistoryUI,exports['AIChatShortcuts']=AIChatShortcuts,exports['AIChatUI']=AIChatUI,exports['AIConnector']=AIConnector,exports['AIEditing']=AIEditing,exports['AIEditorIntegration']=AIEditorIntegration,exports['AIQuickActionType']=AIQuickActionType,exports['AIQuickActions']=AIQuickActions,exports['AIQuickActionsUI']=AIQuickActionsUI,exports['AIRequestError']=AIRequestError,exports['AIReviewCheck']=_0x49f388,exports['AIReviewCheckResult']=AIReviewCheckResult,exports['AIReviewCheckRun']=_0x13621d,exports['AIReviewMode']=_0x5be1bd,exports['AIReviewModeController']=AIReviewCoreController,exports['AIReviewModeEditing']=AIReviewCoreEditing,exports['AIReviewModeUI']=_0x4b4c47,exports['AITabs']=_0x149a9c,exports['AITextAdapter']=AITextAdapter,exports['AIToggleButtonUI']=AIToggleButtonUI,exports['AITranslate']=AITranslate,exports['AITranslateController']=AITranslateController,exports['AITranslateUI']=AITranslateUI,exports['AWSTextAdapter']=AWSTextAdapter,exports['AcceptSuggestionCommand']=AcceptSuggestionCommand,exports['AddCommentThreadCommand']=AddCommentThreadCommand,exports['Annotation']=Annotation$1,exports['AnnotationCollection']=AnnotationCollection,exports['AnnotationCounterButtonView']=AnnotationCounterButtonView,exports['AnnotationView']=AnnotationView,exports['Annotations']=Annotations,exports['AnnotationsSidebarItemView']=AnnotationsSidebarItemView,exports['AnnotationsSidebarView']=AnnotationsSidebarView,exports['AnnotationsUIs']=AnnotationsUIs,exports['AriaDescriptionView']=AriaDescriptionView,exports['BaseCommentThreadView']=BaseCommentThreadView,exports['BaseCommentView']=BaseCommentView,exports['BaseSuggestionThreadView']=BaseSuggestionThreadView,exports['CaseChange']=_0x59bd76,exports['CaseChangeCommand']=_0x237ed6,exports['CaseChangeEditing']=CaseChangeEditing,exports['CaseChangeUI']=_0x5523d5,exports['CloudServicesCommentsAdapter']=CloudServicesCommentsAdapter,exports['CloudServicesRevisionHistoryAdapter']=CloudServicesRevisionHistoryAdapter,exports['CloudServicesTrackChangesAdapter']=CloudServicesTrackChangesAdapter,exports['Comment']=Comment,exports['CommentThread']=CommentThread,exports['CommentThreadController']=CommentThreadController,exports['CommentThreadInputView']=CommentThreadInputView,exports['CommentThreadView']=CommentThreadView,exports['CommentView']=CommentView,exports['Comments']=Comments,exports['CommentsArchive']=CommentsArchive,exports['CommentsArchiveUI']=CommentsArchiveUI,exports['CommentsEditing']=CommentsEditing,exports['CommentsListView']=CommentsListView,exports['CommentsOnly']=CommentsOnly,exports['CommentsRepository']=CommentsRepository,exports['CommentsUI']=CommentsUI,exports['ConfirmMixin']=_0x150618,exports['CopyFormatCommand']=CopyFormatCommand,exports['DATA_ID_MODEL_ATTRIBUTE']=_0x15f9cf,exports['DATA_ID_VIEW_ATTRIBUTE']=_0x4a42a6,exports['DiscardSuggestionCommand']=DiscardSuggestionCommand,exports['DocumentCompare']=DocumentCompare,exports['DocumentOutline']=DocumentOutline,exports['DocumentOutlineUI']=DocumentOutlineUI,exports['DocumentOutlineUtils']=DocumentOutlineUtils,exports['EditSourceCommand']=EditSourceCommand,exports['EditorAnnotations']=EditorAnnotations,exports['EmailConfigurationHelper']=EmailConfigurationHelper,exports['EmailConfigurationLogger']=EmailConfigurationLogger,exports['EmptyBlockEmailIntegration']=EmptyBlockEmailIntegration,exports['ExecuteOnAllSuggestionsCommand']=ExecuteOnAllSuggestionsCommand,exports['ExecuteOnSelectedSuggestionsCommand']=ExecuteOnSelectedSuggestionsCommand,exports['ExportInlineStyles']=ExportInlineStyles,exports['ExportInlineStylesCommand']=ExportInlineStylesCommand,exports['ExportInlineStylesEditing']=ExportInlineStylesEditing,exports['ExportInlineStylesEmailIntegration']=ExportInlineStylesEmailIntegration,exports['ExportPdf']=ExportPdf,exports['ExportPdfCommand']=ExportPdfCommand,exports['ExportWord']=ExportWord,exports['ExportWordCommand']=ExportWordCommand,exports['FOCUS_ANNOTATION_KEYSTROKE']=_0x44b17e,exports['FontEmailIntegration']=FontEmailIntegration,exports['Footnotes']=Footnotes,exports['FootnotesClipboard']=FootnotesClipboard,exports['FootnotesEditing']=FootnotesEditing,exports['FootnotesProperties']=FootnotesProperties,exports['FootnotesPropertiesEditing']=FootnotesPropertiesEditing,exports['FootnotesPropertiesUI']=FootnotesPropertiesUI,exports['FootnotesStartCommand']=FootnotesStartCommand,exports['FootnotesStyleCommand']=FootnotesStyleCommand,exports['FootnotesTracker']=FootnotesTracker,exports['FootnotesUI']=FootnotesUI,exports['FormatPainter']=FormatPainter,exports['FormatPainterEditing']=FormatPainterEditing,exports['FormatPainterUI']=FormatPainterUI,exports['GeneralHtmlIntegrationSupport']=GeneralHtmlIntegrationSupport,exports['HeadingId']=_0x1dfad8,exports['HighlightEmailIntegration']=HighlightEmailIntegration,exports['ImageEmailIntegration']=ImageEmailIntegration,exports['ImportWord']=ImportWord,exports['ImportWordCommand']=ImportWordCommand,exports['ImportWordEditing']=ImportWordEditing,exports['ImportWordUI']=ImportWordUI,exports['InlineAnnotations']=InlineAnnotations,exports['InsertFootnoteCommand']=InsertFootnoteCommand,exports['InsertMergeFieldBlockCommand']=InsertMergeFieldBlockCommand,exports['InsertMergeFieldCommand']=InsertMergeFieldCommand,exports['InsertMergeFieldImageCommand']=InsertMergeFieldImageCommand,exports['LateFocusButtonView']=LateFocusButtonView,exports['LateFocusDropdownButtonView']=LateFocusDropdownButtonView,exports['LineHeight']=LineHeight,exports['LineHeightCommand']=LineHeightCommand,exports['LineHeightEditing']=LineHeightEditing,exports['LineHeightTodoListIntegration']=LineHeightTodoListIntegration,exports['LineHeightUI']=LineHeightUI,exports['LinkEmailIntegration']=LinkEmailIntegration,exports['ListEmailIntegration']=ListEmailIntegration,exports['MarkdownEmailIntegration']=MarkdownEmailIntegration,exports['MathTypeEmailIntegration']=MathTypeEmailIntegration,exports['MediaEmbedEmailIntegration']=MediaEmbedEmailIntegration,exports['MergeFields']=_0x5e034b,exports['MergeFieldsEditing']=MergeFieldsEditing,exports['MergeFieldsEmailIntegration']=MergeFieldsEmailIntegration,exports['MergeFieldsUI']=_0x45fbeb,exports['MultiLevelList']=MultiLevelList,exports['MultiLevelListCommand']=MultiLevelListCommand,exports['MultiLevelListEditing']=MultiLevelListEditing,exports['MultiLevelListEmailIntegration']=MultiLevelListEmailIntegration,exports['MultiLevelListUI']=MultiLevelListUI,exports['NarrowSidebar']=_0x5e7362,exports['OpenAITextAdapter']=OpenAITextAdapter,exports['Pagination']=Pagination,exports['PaginationRenderer']=PaginationRenderer,exports['PasteFormatCommand']=PasteFormatCommand,exports['PasteFromOfficeEnhanced']=PasteFromOfficeEnhanced,exports['Permissions']=_0x24794c,exports['PresenceList']=PresenceList,exports['PresenceListUI']=PresenceListUI,exports['PreviewFinalContentCommand']=PreviewFinalContentCommand,exports['PreviewMergeFieldsCommand']=_0x10e468,exports['RealTimeCollaborationClient']=RealTimeCollaborationClient,exports['RealTimeCollaborativeComments']=RealTimeCollaborativeComments,exports['RealTimeCollaborativeEditing']=RealTimeCollaborativeEditing,exports['RealTimeCollaborativeRevisionHistory']=RealTimeCollaborativeRevisionHistory,exports['RealTimeCollaborativeTrackChanges']=RealTimeCollaborativeTrackChanges,exports['ReplaceSourceCommand']=_0x1ef542,exports['RestoreRevisionCommand']=RestoreRevisionCommand,exports['Revision']=_0x2eba52,exports['RevisionHistory']=RevisionHistory,exports['RevisionHistoryUI']=RevisionHistoryUI,exports['RevisionHistoryUtils']=RevisionHistoryUtils,exports['RevisionTracker']=_0x16b222,exports['RevisionViewer']=_0x52d83b,exports['RevisionViewerEditor']=RevisionViewerEditor,exports['RevisionViewerIntegration']=RevisionViewerIntegration,exports['RevisionViewerLoadingOverlay']=_0x2e240b,exports['RevisionViewerUI']=_0x5482f7,exports['RevisionsRepository']=RevisionsRepository,exports['RevisionsSidebar']=_0x1c52ec,exports['Sessions']=_0x5ba7c3,exports['ShowAIAssistantCommand']=ShowAIAssistantCommand,exports['ShowChangeCommand']=_0x574002,exports['Sidebar']=_0x53ca39,exports['SlashCommand']=_0x35aab0,exports['SlashCommandConfig']=_0x1f0f03,exports['SlashCommandEditing']=SlashCommandEditing,exports['SlashCommandUI']=_0x567c68,exports['SourceEditingEmailIntegration']=SourceEditingEmailIntegration,exports['SourceEditingEnhanced']=SourceEditingEnhanced,exports['Suggestion']=Suggestion,exports['SuggestionDescriptionFactory']=SuggestionDescriptionFactory,exports['SuggestionThreadView']=SuggestionThreadView,exports['SuggestionView']=SuggestionView,exports['SuggestionsConversion']=SuggestionsConversion,exports['TableEmailIntegration']=TableEmailIntegration,exports['TableOfContents']=TableOfContents,exports['TableOfContentsCommand']=TableOfContentsCommand,exports['TableOfContentsEditing']=TableOfContentsEditing,exports['TableOfContentsUI']=TableOfContentsUI,exports['Template']=Template,exports['TemplateCommand']=TemplateCommand,exports['TemplateEditing']=TemplateEditing,exports['TemplateEmailIntegration']=TemplateEmailIntegration,exports['TemplateUI']=TemplateUI,exports['TodoListEmailIntegration']=TodoListEmailIntegration,exports['ToggleAICommand']=_0x3bc9d5,exports['TrackChanges']=_0x2cd70f,exports['TrackChangesCommand']=_0x3ac597,exports['TrackChangesData']=TrackChangesData,exports['TrackChangesDataGetter']=TrackChangesDataGetter,exports['TrackChangesEditing']=TrackChangesEditing,exports['TrackChangesPreview']=_0x490bdb,exports['TrackChangesUI']=_0x117bd7,exports['UploadEmailIntegration']=UploadEmailIntegration,exports['Uploadcare']=_0x55498f,exports['UploadcareCommand']=_0x2c3464,exports['UploadcareEditing']=UploadcareEditing,exports['UploadcareImageEdit']=UploadcareImageEdit,exports['UploadcareImageEditCommand']=UploadcareImageEditCommand,exports['UploadcareImageEditEditing']=UploadcareImageEditEditing,exports['UploadcareImageEditUI']=UploadcareImageEditUI,exports['UploadcareUI']=_0x50ac83,exports['UploadcareUploadAdapter']=UploadcareUploadAdapter,exports['UserView']=_0xc99411,exports['Users']=_0x17009e,exports['WebSocketGateway']=WebSocketGateway,exports['WideSidebar']=_0x2c5f94,exports['bindAnnotationCollections']=bindAnnotationCollections,exports['createResizeButton']=createResizeButton,exports['dropImportantStyleSuffix']=dropImportantStyleSuffix,exports['fixElementSuggestionRange']=fixElementSuggestionRange,exports['getAllMarkersDomElementsSorted']=getAllMarkersDomElementsSorted,exports['getDateTimeFormatter']=getDateTimeFormatter,exports['getDefaultAICommands']=getDefaultAICommands,exports['getEmailInlineStylesTransformations']=getEmailInlineStylesTransformations,exports['getMarkerDomElement']=getMarkerDomElement,exports['hashObject']=hashObject,exports['isUnsupportedEmailColorFormat']=isUnsupportedEmailColorFormat,exports['isUnsupportedEmailColorValue']=isUnsupportedEmailColorValue,exports['sanitizeEditorConfig']=sanitizeEditorConfig,exports['setupThreadKeyboardNavigation']=setupThreadKeyboardNavigation,exports['splitSuggestionMarkerName']=splitSuggestionMarkerName,exports['surroundingMarkersDetector']=surroundingMarkersDetector,exports['transformEmailFigcaptionToDiv']=transformEmailFigcaptionToDiv,exports['transformEmailFigureToTable']=transformEmailFigureToTable,exports['transformEmailFloatToAlign']=transformEmailFloatToAlign,exports['transformEmailImageWidthAttributes']=transformEmailImageWidthAttributes,exports['transformEmailMarginToAlign']=transformEmailMarginToAlign,exports['trimHtml']=trimHtml;});