/*
 *             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(_0x521e0e,_0x5c2892){'object'==typeof exports&&'undefined'!=typeof module?_0x5c2892(exports,require('ckeditor5')):'function'==typeof define&&define['amd']?define(['exports','ckeditor5'],_0x5c2892):_0x5c2892((_0x521e0e='undefined'!=typeof globalThis?globalThis:_0x521e0e||self)['CKEDITOR_PREMIUM_FEATURES']={},_0x521e0e['CKEDITOR']);}(this,function(exports,ckeditor5){'use strict';const _0x4e293a='_ungrouppedCommands';function _0x2b8281(_0x1a46c5,_0xd8d7bc){const _0x133b32=(0x0,_0xd8d7bc['t'])('Other');return _0x1a46c5['length']?'groupId'in _0x1a46c5[0x0]?_0x1a46c5:[{'groupId':_0x4e293a,'groupLabel':_0x133b32,'order':0x1/0x0,'commands':_0x1a46c5}]:[{'groupId':_0x4e293a,'groupLabel':_0x133b32,'order':0x1/0x0,'commands':[]}];}const DomDataTransfer$1=globalThis['DataTransfer'],_0x31e827='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:_0x81f128}=this,_0x2b281d=['ck-fake-ai-selection'];_0x81f128['config']['get']('ai.assistant.useTheme')&&_0x2b281d['push']('ck-ai-assistant-ui_theme'),_0x81f128['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x31e827,'view':{'classes':_0x2b281d,'priority':0xc}}),_0x81f128['conversion']['for']('editingDowncast')['markerToElement']({'model':_0x31e827,'view':(_0x3970f4,{writer:_0x5b10ee})=>{if(!_0x3970f4['markerRange']['isCollapsed'])return null;const _0x50a557=_0x5b10ee['createUIElement']('span');return _0x5b10ee['addClass'](['ck-fake-ai-selection','ck-fake-ai-selection_collapsed'],_0x50a557),_0x50a557;}});}['afterInit'](){_0x382f04(this);}['showFakeVisualSelection'](){const _0x52d757=this['editor']['model'];_0x52d757['change'](_0x391f04=>{const _0x578d7d=_0x52d757['document']['selection']['getRanges']();let _0x4a5ed3=0x0;for(const _0x40d493 of _0x578d7d){const _0x5dabe2=_0x31e827+':'+_0x4a5ed3;if(_0x52d757['markers']['has'](_0x5dabe2))_0x391f04['updateMarker'](_0x5dabe2,{'range':_0x40d493});else{if(_0x40d493['start']['isAtEnd']){const _0x24ee11=_0x40d493['start']['getLastMatchingPosition'](({item:_0x5a88b7})=>!_0x52d757['schema']['isContent'](_0x5a88b7),{'boundaries':_0x40d493});_0x391f04['addMarker'](_0x5dabe2,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x391f04['createRange'](_0x24ee11,_0x40d493['end'])});}else _0x391f04['addMarker'](_0x5dabe2,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x40d493});}_0x4a5ed3++;}});}['hideFakeVisualSelection'](){const _0x23529e=this['editor']['model'],_0x3451a7=Array['from'](this['editor']['model']['markers']['getMarkersGroup'](_0x31e827));_0x3451a7['length']&&_0x23529e['change'](_0x37bf93=>{_0x3451a7['forEach'](_0x2115e1=>{_0x37bf93['removeMarker'](_0x2115e1);});});}['insertContent'](_0xc5ec81,_0x4553b3){const _0x2dfc1b=this['_getAISelection'](),_0x5d21b0=_0x4553b3||_0x2dfc1b['getFirstRange']();this['editor']['model']['canEditAt'](_0x5d21b0)&&this['editor']['model']['change'](_0x3300fd=>{this['hideFakeVisualSelection'](),_0x4553b3||this['_resetContentOfSelectedTableCells'](_0x3300fd,_0x2dfc1b),this['_pasteHTMLUsingClipboard']({'insertAt':_0x5d21b0,'writer':_0x3300fd,'html':_0xc5ec81});});}['insertContentBelow'](_0x32b82c){const {model:_0x8781df}=this['editor'],_0x5cf4d5=this['_getAISelection']();_0x8781df['change'](()=>{const _0x4c865a=this['_prepareTableInsertBelowPosition'](_0x32b82c,_0x5cf4d5)||this['_getDefaultInsertBelowPosition'](_0x5cf4d5);this['insertContent'](_0x32b82c,_0x4c865a);});}['_getAISelection'](){const _0x54a0f1=this['editor']['model'],_0x44dc54=Array['from'](_0x54a0f1['markers']['getMarkersGroup'](_0x31e827))['map'](_0x53233d=>_0x53233d['getRange']());return _0x54a0f1['createSelection'](_0x44dc54);}['_pasteHTMLUsingClipboard']({writer:_0x2a1911,html:_0xd44a47,insertAt:_0x5dbfe6}){const {view:_0x3eefae}=this['editor']['editing'],_0x22cac4=this['editor']['plugins']['get'](ckeditor5['ClipboardPipeline']),_0x19b10e=new DomDataTransfer$1();_0x19b10e['setData']('text/html',_0xd44a47);const _0xa75533=new ClipboardEvent('paste',{'clipboardData':_0x19b10e}),_0x5da0a5=new ckeditor5['ViewDocumentDomEventData'](_0x3eefae,_0xa75533,{'dataTransfer':new ckeditor5['ViewDataTransfer'](_0x19b10e)});_0x2a1911['setSelection'](_0x5dbfe6);const _0x34d310=(_0x43d295,_0x317ba8)=>{_0x317ba8['resultRange']&&_0x2a1911['setSelection'](_0x317ba8['resultRange']);};_0x22cac4['once']('contentInsertion',_0x34d310,{'priority':'lowest'}),_0x3eefae['document']['fire']('paste',_0x5da0a5),_0x22cac4['off']('contentInsertion',_0x34d310);}['_getDefaultInsertBelowPosition'](_0x356b34){const {model:_0x14d1fa}=this['editor'],_0x1fb740=Array['from'](_0x356b34['getSelectedBlocks']());return _0x1fb740['length']?_0x14d1fa['createPositionAfter'](_0x1fb740['pop']()):_0x356b34['getLastPosition']();}['_prepareTableInsertBelowPosition'](_0x1dac3b,_0x1f2ac8){const {model:_0x3f13c2,plugins:_0x4cba06}=this['editor'];if(_0x4cba06['has']('TableUtils')){const _0x4007b8=_0x4cba06['get']('TableUtils')['getSelectedTableCells'](_0x1f2ac8);if(_0x4007b8['length']){const _0x4a0d11=this['_getTableRowCountFromContent'](_0x1dac3b),_0x1b4380=this['_createEmptyTableRows'](_0x4007b8,_0x4a0d11);return _0x3f13c2['createPositionAt'](_0x1b4380,0x0);}}return null;}['_getTableRowCountFromContent'](_0x3f14a7){const _0x1a3844=this['editor']['plugins']['get']('TableUtils'),_0xb614f4=this['editor']['data']['parse'](_0x3f14a7),_0x14b91f=Array['from'](_0xb614f4['getChildren']())['filter'](_0xa6e054=>_0xa6e054['is']('element','table'));let _0x5abf85=0x0;return _0x14b91f['forEach'](_0x4b38d8=>{_0x5abf85+=_0x1a3844['getRows'](_0x4b38d8);}),_0x5abf85;}['_createEmptyTableRows'](_0x21f0d6,_0x459984){const _0x14f557=this['editor']['plugins']['get']('TableUtils'),_0x33e055=_0x14f557['getRowIndexes'](_0x21f0d6),_0x24158f=_0x14f557['getColumnIndexes'](_0x21f0d6),_0x1a43ca=_0x33e055['last']+0x1,_0x272843=_0x24158f['first'],_0x2bb7d3=_0x21f0d6[0x0]['findAncestor']('table');for(let _0x4412bd=0x0;_0x4412bd<_0x459984;_0x4412bd++)_0x14f557['insertRows'](_0x2bb7d3,{'at':_0x1a43ca});return _0x2bb7d3['getChild'](_0x1a43ca)['getChild'](_0x272843);}['_resetContentOfSelectedTableCells'](_0x458c23,_0x52e968){const {plugins:_0x4211f2}=this['editor'],{model:_0x282c7e}=_0x458c23;if(!_0x4211f2['has']('TableUtils'))return;_0x4211f2['get']('TableUtils')['getSelectedTableCells'](_0x52e968)['length']&&_0x282c7e['deleteContent'](_0x52e968);}}async function _0x382f04(_0x38f269){const _0x238419=_0x51c0ca([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]),_0x4adb67=window[_0x51c0ca([0x44,0x61,0x74,0x65])][_0x51c0ca([0x6e,0x6f,0x77])](),_0x2a032f=_0x38f269[_0x51c0ca([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4cf3d0=new window[(_0x51c0ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1105c7=>{_0x2a032f[_0x51c0ca([0x6f,0x6e,0x63,0x65])](_0x51c0ca([0x72,0x65,0x61,0x64,0x79]),_0x1105c7);}),_0x196e04={[_0x51c0ca([0x6b,0x74,0x79])]:_0x51c0ca([0x45,0x43]),[_0x51c0ca([0x75,0x73,0x65])]:_0x51c0ca([0x73,0x69,0x67]),[_0x51c0ca([0x63,0x72,0x76])]:_0x51c0ca([0x50,0x2d,0x32,0x35,0x36]),[_0x51c0ca([0x78])]:_0x51c0ca([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]),[_0x51c0ca([0x79])]:_0x51c0ca([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]),[_0x51c0ca([0x61,0x6c,0x67])]:_0x51c0ca([0x45,0x53,0x32,0x35,0x36])},_0x398456=_0x2a032f[_0x51c0ca([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x51c0ca([0x67,0x65,0x74])](_0x51c0ca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x789078=await(async function(){let _0x592e57,_0x31e950=null,_0x54cae0=null;try{if(_0x398456==_0x51c0ca([0x47,0x50,0x4c]))return _0x51c0ca([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x592e57=(function(){const _0x3a5b00=_0x398456[_0x51c0ca([0x73,0x70,0x6c,0x69,0x74])](_0x51c0ca([0x2e]));if(0x3!=_0x3a5b00[_0x51c0ca([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x495966=_0x3a5b00[0x1];return _0x9a0f2b(_0x495966);function _0x9a0f2b(_0x3738bd){const _0x2e0781=_0x4e2603(_0x3738bd);return _0x2e0781&&_0x1fe17f()?_0x2e0781:null;function _0x1fe17f(){const _0x16d8cf=_0x2e0781[_0x51c0ca([0x6a,0x74,0x69])],_0x9899ea=window[_0x51c0ca([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16d8cf[_0x51c0ca([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x16d8cf[_0x51c0ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1d525e={..._0x2e0781,[_0x51c0ca([0x6a,0x74,0x69])]:_0x16d8cf[_0x51c0ca([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x16d8cf[_0x51c0ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1d525e[_0x51c0ca([0x76,0x63])],_0x2843f7(_0x1d525e)==_0x9899ea;}}}()),!_0x592e57)return _0x51c0ca([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x592e57[_0x51c0ca([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x54cae0=function(_0xfb9eef,_0x149668){return new window[(_0x51c0ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e0000=>{if(_0x2ae747())return _0x4e0000(_0x51c0ca([0x56,0x61,0x6c,0x69,0x64]));_0x140102(),_0x2a032f[_0x51c0ca([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x51c0ca([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x217174=!0x1;const _0x3f7c22=ckeditor5['uid']();function _0x3ab23b(_0x2c60d1){return!!_0x2c60d1&&(typeof _0x2c60d1===_0x51c0ca([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2c60d1===_0x51c0ca([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2c60d1[_0x51c0ca([0x74,0x68,0x65,0x6e])]===_0x51c0ca([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2c60d1[_0x51c0ca([0x63,0x61,0x74,0x63,0x68])]===_0x51c0ca([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3c3633(_0xd6530e){_0x1e260f(_0xd6530e)[_0x51c0ca([0x74,0x68,0x65,0x6e])](_0x37e310=>{if(!_0x37e310||_0x37e310[_0x51c0ca([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x51c0ca([0x6f,0x6b]))return _0x51c0ca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x59673e(_0x2843f7(_0x3f7c22+_0x149668))!=_0x37e310[_0x51c0ca([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x51c0ca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x51c0ca([0x56,0x61,0x6c,0x69,0x64]);})[_0x51c0ca([0x74,0x68,0x65,0x6e])](_0x30f198=>(_0x467cd1(),_0x30f198),()=>{const _0x47f5db=_0x4b606f();return null==_0x47f5db?(_0x467cd1(),_0x51c0ca([0x56,0x61,0x6c,0x69,0x64])):_0x51c0ca(_0x4adb67-_0x47f5db>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x51c0ca([0x74,0x68,0x65,0x6e])](_0x4e0000)[_0x51c0ca([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4e0000(_0x51c0ca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1dc43e=0x36ee80;function _0x467cd1(){const _0x3c6e1a=_0x51c0ca([0x6c,0x6c,0x63,0x74,0x2d])+_0x59673e(_0x2843f7(_0xfb9eef)),_0x917bc4=_0x3d37b7(_0x59673e(window[_0x51c0ca([0x4d,0x61,0x74,0x68])][_0x51c0ca([0x63,0x65,0x69,0x6c])](_0x4adb67/_0x1dc43e)));window[_0x51c0ca([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x51c0ca([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c6e1a,_0x917bc4);}function _0x4b606f(){const _0x11b311=_0x51c0ca([0x6c,0x6c,0x63,0x74,0x2d])+_0x59673e(_0x2843f7(_0xfb9eef)),_0x381cc1=window[_0x51c0ca([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x51c0ca([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x11b311);return _0x381cc1?window[_0x51c0ca([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d37b7(_0x381cc1),0x10)*_0x1dc43e:null;}function _0x1e260f(_0x163144){return new window[(_0x51c0ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xbf6870,_0x415ed6)=>{_0x163144[_0x51c0ca([0x74,0x68,0x65,0x6e])](_0xbf6870,_0x415ed6),window[_0x51c0ca([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x415ed6,0x1d4c0);});}}_0x2a032f[_0x51c0ca([0x6f,0x6e])](_0x51c0ca([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x497917,_0x3b10f1)=>{if(_0x3b10f1[0x0]!=_0xfb9eef)return _0x4e0000(_0x51c0ca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3b10f1[0x1]={..._0x3b10f1[0x1],[_0x51c0ca([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3f7c22};},{[_0x51c0ca([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x51c0ca([0x68,0x69,0x67,0x68])}),_0x2a032f[_0x51c0ca([0x6f,0x6e])](_0x51c0ca([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2e46ff=>{_0x3ab23b(_0x2e46ff[_0x51c0ca([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x217174=!0x0,_0x3c3633(_0x2e46ff[_0x51c0ca([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x51c0ca([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x51c0ca([0x6c,0x6f,0x77])}),_0x4cf3d0[_0x51c0ca([0x74,0x68,0x65,0x6e])](()=>{_0x217174||_0x4e0000(_0x51c0ca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2ae747(){return _0x2a032f[_0x51c0ca([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x51c0ca([0x76,0x69,0x65,0x77])][_0x51c0ca([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x51c0ca([0x61,0x75,0x74,0x6f]);}function _0x140102(){_0x2a032f[_0x51c0ca([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x51c0ca([0x76,0x69,0x65,0x77])][_0x51c0ca([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x51c0ca([0x61,0x75,0x74,0x6f]);}}(_0x592e57[_0x51c0ca([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x592e57[_0x51c0ca([0x6a,0x74,0x69])]));const _0x5adb20=await(async function(){let _0x3ebe82=!0x0;try{const _0x4c7ad7=_0x398456[_0x51c0ca([0x73,0x70,0x6c,0x69,0x74])](_0x51c0ca([0x2e])),[_0x259b30,_0x470a9c,_0x233ce8]=_0x4c7ad7;return _0x289571(_0x259b30),await _0x7c9422(_0x259b30,_0x470a9c,_0x233ce8),_0x3ebe82;}catch{return!0x1;}function _0x289571(_0x4cc754){const _0x310ee5=_0x4e2603(_0x4cc754);_0x310ee5&&_0x310ee5[_0x51c0ca([0x61,0x6c,0x67])]==_0x51c0ca([0x45,0x53,0x32,0x35,0x36])||(_0x3ebe82=!0x1);}async function _0x7c9422(_0x39ff7f,_0x5a17cc,_0x345f14){const _0x5572e2=window[_0x51c0ca([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x51c0ca([0x66,0x72,0x6f,0x6d])](_0x26b2b1(_0x345f14),_0x8a21d3=>_0x8a21d3[_0x51c0ca([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x109dc2=new window[(_0x51c0ca([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x51c0ca([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x39ff7f+_0x51c0ca([0x2e])+_0x5a17cc),_0x24a7ed=window[_0x51c0ca([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x51c0ca([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x24a7ed)return;const _0xd86584=await _0x24a7ed[_0x51c0ca([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x51c0ca([0x6a,0x77,0x6b]),_0x196e04,{[_0x51c0ca([0x6e,0x61,0x6d,0x65])]:_0x51c0ca([0x45,0x43,0x44,0x53,0x41]),[_0x51c0ca([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x51c0ca([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x51c0ca([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x24a7ed[_0x51c0ca([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x51c0ca([0x6e,0x61,0x6d,0x65])]:_0x51c0ca([0x45,0x43,0x44,0x53,0x41]),[_0x51c0ca([0x68,0x61,0x73,0x68])]:{[_0x51c0ca([0x6e,0x61,0x6d,0x65])]:_0x51c0ca([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xd86584,_0x5572e2,_0x109dc2)||(_0x3ebe82=!0x1);}}());return _0x5adb20?(function(){const _0x107579=_0x592e57[_0x51c0ca([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x107579)return!0x1;if(_0x107579[_0x51c0ca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51c0ca([0x2a])))return!0x0;if(_0x107579[_0x51c0ca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51c0ca([0x41,0x49])))return!0x0;return!0x1;}())?(function(){const _0x17af05=[_0x51c0ca([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x51c0ca([0x74,0x72,0x69,0x61,0x6c])][_0x51c0ca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x592e57[_0x51c0ca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4adb67/0x3e8:0x69d59a80;return _0x592e57[_0x51c0ca([0x65,0x78,0x70])]<_0x17af05;}())?_0x51c0ca([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x4b4693=_0x592e57[_0x51c0ca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4b4693||0x0==_0x4b4693[_0x51c0ca([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3d966d}=new URL(window[_0x51c0ca([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4b4693[_0x51c0ca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d966d))return!0x0;const _0x2656b9=_0x3d966d[_0x51c0ca([0x73,0x70,0x6c,0x69,0x74])](_0x51c0ca([0x2e]));return _0x4b4693[_0x51c0ca([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x22b7d0=>_0x22b7d0[_0x51c0ca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51c0ca([0x2a])))[_0x51c0ca([0x6d,0x61,0x70])](_0x11e340=>_0x11e340[_0x51c0ca([0x73,0x70,0x6c,0x69,0x74])](_0x51c0ca([0x2e])))[_0x51c0ca([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x197e3f=>_0x197e3f[_0x51c0ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2656b9[_0x51c0ca([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x51c0ca([0x6d,0x61,0x70])](_0x35f64a=>Array(_0x2656b9[_0x51c0ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x35f64a[_0x51c0ca([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x51c0ca([0x66,0x69,0x6c,0x6c])](_0x35f64a[0x0]===_0x51c0ca([0x2a])?_0x51c0ca([0x2a]):'')[_0x51c0ca([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x35f64a))[_0x51c0ca([0x73,0x6f,0x6d,0x65])](_0x148f9a=>_0x2656b9[_0x51c0ca([0x65,0x76,0x65,0x72,0x79])]((_0x12caba,_0x302f10)=>_0x148f9a[_0x302f10]===_0x12caba||_0x148f9a[_0x302f10]===_0x51c0ca([0x2a])));}())?(_0x592e57[_0x51c0ca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x51c0ca([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x31e950=function(_0x609fa2){const _0x5c8aa6=new window[(_0x51c0ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x197f6d=>setTimeout(_0x197f6d,0x93ecc)),_0x46a12c=_0x4cf3d0[_0x51c0ca([0x74,0x68,0x65,0x6e])](()=>new window[(_0x51c0ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x311594=>{let _0xe48c05=0x0;_0x2a032f[_0x51c0ca([0x6d,0x6f,0x64,0x65,0x6c])][_0x51c0ca([0x6f,0x6e])](_0x51c0ca([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3b02e2,_0x3ab6d5)=>{_0x3ab6d5[0x0][_0x51c0ca([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xe48c05++,0x5e8==_0xe48c05&&(_0x311594(),_0x3b02e2[_0x51c0ca([0x6f,0x66,0x66])]());});})),_0xa7134f=[_0x5c8aa6,_0x46a12c];return window[_0x51c0ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x51c0ca([0x72,0x61,0x63,0x65])](_0xa7134f)[_0x51c0ca([0x74,0x68,0x65,0x6e])](()=>_0x609fa2);}(_0x51c0ca([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x31e950&&_0x54cae0)return new window[(_0x51c0ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x12b251,_0x1ef500)=>{_0x31e950[_0x51c0ca([0x74,0x68,0x65,0x6e])](_0x12b251,_0x1ef500),_0x54cae0[_0x51c0ca([0x74,0x68,0x65,0x6e])](_0x270d27=>{_0x270d27!=_0x51c0ca([0x56,0x61,0x6c,0x69,0x64])&&_0x12b251(_0x270d27);},_0x1ef500);});return _0x31e950||_0x54cae0||_0x51c0ca([0x56,0x61,0x6c,0x69,0x64]);}())):_0x51c0ca([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x51c0ca([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x51c0ca([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x51c0ca([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x4e2603(_0x29ef56){return _0x29ef56[_0x51c0ca([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x51c0ca([0x65,0x79]))?JSON[_0x51c0ca([0x70,0x61,0x72,0x73,0x65])](_0x26b2b1(_0x29ef56)):null;}function _0x26b2b1(_0x1e0e7e){return window[_0x51c0ca([0x61,0x74,0x6f,0x62])](_0x1e0e7e[_0x51c0ca([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x51c0ca([0x2b]))[_0x51c0ca([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x51c0ca([0x2f])));}function _0x2843f7(_0x1a3462){let _0x159438=0x1505;function _0x28b53e(_0x5c7119){for(let _0x5a41df=0x0;_0x5a41df<_0x5c7119[_0x51c0ca([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a41df++){const _0x23b54d=_0x5c7119[_0x51c0ca([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5a41df);_0x159438=(_0x159438<<0x5)+_0x159438+_0x23b54d,_0x159438&=_0x159438;}}return function _0x107b77(_0x1cf42f){Array[_0x51c0ca([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1cf42f)?_0x1cf42f[_0x51c0ca([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x107b77):_0x1cf42f&&typeof _0x1cf42f==_0x51c0ca([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x51c0ca([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1cf42f)[_0x51c0ca([0x73,0x6f,0x72,0x74])]()[_0x51c0ca([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x6c906d,_0x51ba8a])=>{_0x28b53e(_0x6c906d),_0x107b77(_0x51ba8a);}):_0x28b53e(window[_0x51c0ca([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1cf42f));}(_0x1a3462),_0x159438>>>0x0;}function _0x59673e(_0x5a29ea){return _0x5a29ea[_0x51c0ca([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x51c0ca([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x51c0ca([0x30]));}function _0x3d37b7(_0x1bc0fe){return _0x1bc0fe[_0x51c0ca([0x73,0x70,0x6c,0x69,0x74])]('')[_0x51c0ca([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x51c0ca([0x6a,0x6f,0x69,0x6e])]('');}function _0x4f16c9(){}function _0x51c0ca(_0x10aa3b){return _0x10aa3b['map'](_0x2b7643=>String['fromCharCode'](_0x2b7643))['join']('');}!function(_0x48bcac){const _0x5a820a=(function(){const _0x49ccdc=window[_0x51c0ca([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x51c0ca([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x51c0ca([0x6e,0x6f,0x77])]())[_0x51c0ca([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x51c0ca([0x2e]),'');let _0x450b48=_0x51c0ca([0x6e]);for(let _0x43bc03=0x0;_0x43bc03<_0x49ccdc[_0x51c0ca([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x43bc03+=0x2){let _0x29b6c8=window[_0x51c0ca([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x49ccdc[_0x51c0ca([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x43bc03,_0x43bc03+0x2));_0x29b6c8>=_0x238419[_0x51c0ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x29b6c8-=_0x238419[_0x51c0ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x450b48+=_0x238419[_0x29b6c8];}return _0x450b48;}());_0x2a032f[_0x5a820a]=_0x51c0ca([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x48bcac,_0x48bcac!=_0x51c0ca([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x4cf3d0,_0x2a032f[_0x51c0ca([0x6d,0x6f,0x64,0x65,0x6c])][_0x51c0ca([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4f16c9,_0x2a032f[_0x51c0ca([0x6d,0x6f,0x64,0x65,0x6c])][_0x51c0ca([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4f16c9,_0x2a032f[_0x51c0ca([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x51c0ca([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x789078);}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(_0x1264a1){super(_0x1264a1),this['name']='AIRequestError';}}function getTranslation$j(_0x26e697,_0xf8039c,_0x164355){const t=_0x26e697['t'];switch(_0xf8039c){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',_0x164355);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x164355);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'},_0x164355);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 _0xf8039c;}}class ShowAIAssistantCommand extends ckeditor5['Command']{['_commandDefinitions'];constructor(_0x2a028c,_0x4cbb68){super(_0x2a028c),this['_commandDefinitions']=_0x4cbb68,this['set']('enabledCommandsIds',[]),this['on']('change:_hasContext',(_0x1193fb,_0x44f0c6,_0x4d13e4)=>{this['isEnabled']&&(this['enabledCommandsIds']=_getEnabledCommands(this['_commandDefinitions'],_0x4d13e4));}),this['set']('_hasContext',!0x1),this['on']('change:isEnabled',(_0x5d1a12,_0x42fdd6,_0x579595)=>{this['enabledCommandsIds']=_0x579595?_getEnabledCommands(this['_commandDefinitions'],this['_hasContext']):[];});}['refresh'](){const _0x5c9d37=this['editor']['model'];this['_hasContext']=_isContextAvailable(_0x5c9d37);const _0x3c4906=_0x5c9d37['document']['selection'],_0x2d36d5=this['editor']['config']['get']('ai.assistant.disabledElements');for(const _0x5604a0 of _0x3c4906['getRanges']())for(const _0x476e25 of _0x5604a0['getItems']())if(_0x476e25['is']('element')&&_0x2d36d5['includes'](_0x476e25['name']))return void(this['isEnabled']=!0x1);this['isEnabled']=!0x0;}['execute'](_0xca66bc='',_0x1f1397='',_0x26f4cc='custom'){this['editor']['plugins']['get'](AIAssistantUI)['showUI'](_0xca66bc,_0x1f1397,_0x26f4cc);}}function _isContextAvailable(_0xf8bdba){const _0x5e22b5=_0xf8bdba['document']['selection'];return _0x5e22b5['isCollapsed']?0x0!==[..._0x5e22b5['getSelectedBlocks']()]['length']&&![..._0x5e22b5['getSelectedBlocks']()][0x0]['isEmpty']:!!_0xf8bdba['hasContent'](_0x5e22b5['getFirstRange']());}function _getEnabledCommands(_0xb2c211,_0x4cc6c5){const _0x2d9930=new Set();for(const _0x1e2077 of _0xb2c211['values']())(_0x4cc6c5||!0x1===_0x1e2077['requiresContent'])&&_0x2d9930['add'](_0x1e2077['id']);return Array['from'](_0x2d9930);}const _0x4da304=0x64,_0x4c2ffb=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');class AIAssistantController extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['editor'];['textAdapter'];['view'];['_sanitizationContainer'];['_domParser'];['_xmlSerializer'];constructor(_0x491a0b,_0x580a38,_0x5711ca){super(),this['editor']=_0x491a0b,this['textAdapter']=_0x580a38,this['_sanitizationContainer']=document['createElement']('div'),this['_domParser']=new DOMParser(),this['_xmlSerializer']=new XMLSerializer(),this['view']=_0x5711ca,this['set']({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on']('set:currentContext',(_0x3eaf82,_0x1d05f8,_0x30584e)=>{this['view']['value']=this['_sanitizeHTML'](_0x30584e);}),this['listenTo'](this['view'],'submitPrompt',(_0x1fa5e4,_0x3e250c)=>{const _0x1f263=this['currentContext']||this['initialContext'];this['_handleQuery'](_0x3e250c,_0x1f263,'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:_0x133ff4,query:_0xf78567,htmlContent:_0x4b87ce,label:_0x2be7c8,mainActionLabel:_0x2ea66b}){this['view']['prompt']=_0x2be7c8,this['view']['mainAction']=_0x2ea66b,this['initialContext']=_0x4b87ce,_0xf78567&&(this['view']['isRendered']?this['_handleQuery'](_0xf78567,_0x4b87ce,_0x133ff4,_0x2be7c8):this['view']['once']('render',()=>{this['_handleQuery'](_0xf78567,_0x4b87ce,_0x133ff4,_0x2be7c8);}));}['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'](_0x3760a3,_0x3cd223,_0x27ce30,_0x45e5b1){return this['isProcessing']=!0x0,this['view']['startProcessing'](),this['previousContext']=_0x3cd223,this['previousQuery']=_0x3760a3,this['previousLabel']=_0x45e5b1||_0x3760a3,this['previousActionId']=_0x27ce30,new Promise(_0x235e8f=>{this['textAdapter']['makeRequest']({'query':_0x3760a3,'context':_0x3cd223,'onData':_0x51a3c9=>{this['currentResponse']=_0x51a3c9,this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse']);},'actionId':_0x27ce30})['then'](()=>{!this['currentContext']&&this['currentResponse']&&(this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse'],!0x0));})['catch'](_0x2fc720=>{_0x2fc720 instanceof AIRequestError?this['view']['handleError'](_0x2fc720['message']):this['view']['handleError'](),_0x235e8f();})['finally'](()=>{this['stopProcessing'](),_0x235e8f();});});}['_parseAndNormalizeContent'](_0x23f042,_0x1b5989=!0x1){const _0x3c8c0d=_0x4c2ffb['exec'](_0x23f042);_0x23f042=_0x3c8c0d?_0x23f042['substring'](_0x3c8c0d[0x1]['length']):_0x23f042['length']<_0x4da304&&!_0x1b5989?'':this['_stripMarkdownSyntax'](_0x23f042);const _0x107003=this['_domParser']['parseFromString'](_0x23f042,'text/html');if(_0x3c8c0d){const _0x48af64=Array['from'](_0x107003['body']['childNodes']);_0x48af64['reverse']();for(const _0x53246a of _0x48af64){if(_0x53246a['nodeType']==Node['ELEMENT_NODE'])break;_0x53246a['remove']();}}const _0x469410=this['editor']['data']['processor']['toView'](this['_xmlSerializer']['serializeToString'](_0x107003['body']));this['_isH1TagSupportEnabled']()||this['_normalizeResponseHeadings'](_0x469410);const _0x4beeb9=this['editor']['config']['get']('ai.assistant.preserveComments'),_0x4bb103=this['editor']['data']['toModel'](_0x469410);return _0x4beeb9||_0x4bb103['markers']['clear'](),this['editor']['data']['stringify'](_0x4bb103);}['_normalizeResponseHeadings'](_0x3f2f36){const _0x861298=new ckeditor5['ViewUpcastWriter'](this['editor']['editing']['view']['document']),_0x4b2518=new ckeditor5['Matcher']({'name':/^h[1-5]$/}),_0x2caa06=[];let _0x3dd5c9=!0x1;for(const _0x2599a6 of _0x3f2f36)_0x2599a6['is']('element')&&_0x4b2518['match'](_0x2599a6)&&(_0x2caa06['push'](_0x2599a6),'h1'==_0x2599a6['name']&&(_0x3dd5c9=!0x0));if(_0x3dd5c9){for(const _0x50dc0e of _0x2caa06)_0x861298['rename']('h'+(parseInt(_0x50dc0e['name'][0x1])+0x1),_0x50dc0e);}}['_isH1TagSupportEnabled'](){const {data:_0x31db3a,editing:_0x45bb43}=this['editor'],_0x2f5ec5=_0x31db3a['htmlProcessor']['toView']('<h1></h1>'),_0x15416b=_0x31db3a['toView'](_0x31db3a['toModel'](_0x2f5ec5));return!!_0x45bb43['view']['domConverter']['viewToDom'](_0x15416b)['querySelector']('h1');}['_sanitizeHTML'](_0x17207c){return this['editor']['editing']['view']['domConverter']['setContentOf'](this['_sanitizationContainer'],_0x17207c),this['_sanitizationContainer']['innerHTML'];}['_stripMarkdownSyntax'](_0x267319){const _0x2ab75b=_0x267319['trim']();return _0x2ab75b['startsWith']('```html')?_0x2ab75b['endsWith']('```')?_0x2ab75b['substring'](0x7,_0x2ab75b['length']-0x3):_0x2ab75b['substring'](0x7):_0x267319;}}const AIFormToolbarViewMainActionLabel={'REPLACE':'replace','INSERT':'insert'};class _0x4961e4 extends ckeditor5['ToolbarView']{constructor(_0x3ffc98){super(_0x3ffc98),this['set']('isVisible',!0x1),this['set']('mainAction',AIFormToolbarViewMainActionLabel['REPLACE']),this['replaceButton']=this['_createButton']('','ck-button-action'),this['replaceButton']['bind']('label')['to'](this,'mainAction',_0x21fb1e=>getTranslation$j(_0x3ffc98,'AI_'+_0x21fb1e['toUpperCase']()+'_CONTENT')),this['insertButton']=this['_createButton'](getTranslation$j(_0x3ffc98,'Insert\x20below')),this['tryAgainButton']=this['_createButton'](getTranslation$j(_0x3ffc98,'Try\x20again')),this['stopButton']=this['_createButton'](getTranslation$j(_0x3ffc98,'Stop'));const _0x3f1117=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-form__toolbar',_0x3f1117['if']('isVisible','ck-hidden',_0x500f3e=>!_0x500f3e)]}}),this['items']['addMany']([this['replaceButton'],this['insertButton'],this['tryAgainButton'],this['stopButton']]);}['_createButton'](_0x31ed6e,_0x2227d2){const _0x3d2fa4=new ckeditor5['ButtonView'](this['locale']);return _0x3d2fa4['set']({'label':_0x31ed6e,'class':_0x2227d2||'','isVisible':!0x0,'withText':!0x0}),_0x3d2fa4;}}class AIFormContentArea extends ckeditor5['View']{['contentFieldView'];['copyButtonView'];constructor(_0x2d47d9,_0x1e66ab=''){super(_0x2d47d9),this['set']({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0xd655cb=this['bindTemplate'];this['contentFieldView']=new ContentFieldView(_0x2d47d9,_0x1e66ab),this['copyButtonView']=this['_createCopyButton'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area-wrapper',_0xd655cb['if']('isVisible','ck-hidden',_0x400f8e=>!_0x400f8e)],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area',_0xd655cb['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 _0x2194a4=!0x1;this['on']('change:value',(_0x2dd448,_0x4474c1,_0x24ceb4)=>{const _0x518087=!this['contentFieldView']['element']['querySelector']('.ck-ai-form__loader');this['contentFieldView']['setContent'](_0x24ceb4),this['isProcessing']&&_0x518087&&!_0x2194a4&&this['element']['scrollTo']({'top':this['element']['scrollHeight'],'behavior':'smooth'});}),this['on']('change:isProcessing',(_0x24dfb2,_0x4900a1,_0x31970d)=>{_0x2194a4=!0x1,_0x31970d?(this['value']=null,this['contentFieldView']['appendLoader']()):this['value']||this['contentFieldView']['setContent']('');}),this['listenTo'](this['element'],'wheel',()=>{_0x2194a4=!0x0;}),this['listenTo'](this['element'],'mousedown',()=>{_0x2194a4=!0x0;});}['focus'](){this['element']['focus']();}['_createCopyButton'](){const _0x650931=this['locale'],_0x1cd521=new ckeditor5['ButtonView'](this['locale']),_0x1e10c='ck-ai-form__copy-button';return _0x1cd521['set']({'label':getTranslation$j(_0x650931,'Copy'),'icon':ckeditor5['IconCopy'],'class':_0x1e10c,'tooltip':!0x0}),_0x1cd521['bind']('isVisible')['to'](this,'value',_0x398ab2=>!!_0x398ab2),_0x1cd521['bind']('isEnabled')['to'](this,'isProcessing',_0x36d753=>!_0x36d753),_0x1cd521['on']('execute',()=>{this['_copyHTMLToClipboard'](this['contentFieldView']['element']),_0x1cd521['icon']=ckeditor5['IconCheck'],_0x1cd521['class']=_0x1e10c+'\x20ck-ai-form__copy-button--copied',this['focus'](),setTimeout(()=>{_0x1cd521['icon']=ckeditor5['IconCopy'],_0x1cd521['class']=_0x1e10c;},0x3e8);}),_0x1cd521;}['_copyHTMLToClipboard'](_0x16eae2){const {window:_0x4bff6a,document:_0x51f018}=ckeditor5['global'];if(_0x4bff6a['ClipboardItem']){const {Blob:_0x3879f5,ClipboardItem:_0x5eb314}=_0x4bff6a,_0x2ed60c=[new _0x5eb314({'text/html':new _0x3879f5([_0x16eae2['innerHTML']],{'type':'text/html'}),'text/plain':new _0x3879f5([_0x16eae2['textContent']||''],{'type':'text/plain'})})];navigator['clipboard']['write'](_0x2ed60c);}else{const _0x3fca92=_0x51f018['createElement']('div');_0x3fca92['style']['position']='absolute',_0x3fca92['style']['left']='-9999px',_0x3fca92['innerHTML']='<span>[</span>'+_0x16eae2['innerHTML']+'<span>]</span>',_0x51f018['body']['appendChild'](_0x3fca92);const _0x3e5150=_0x51f018['createRange']();_0x3e5150['setStartAfter'](_0x3fca92['firstElementChild']),_0x3e5150['setEndBefore'](_0x3fca92['lastElementChild']);const _0x28fb73=_0x4bff6a['getSelection']();_0x28fb73['removeAllRanges'](),_0x28fb73['addRange'](_0x3e5150),_0x51f018['execCommand']('copy'),_0x3fca92['remove']();}}}class ContentFieldView extends ckeditor5['View']{constructor(_0xf0cf95,_0x33d16a=''){super(_0xf0cf95),this['loaderView']=this['_createLoader'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content',_0x33d16a,'ck-reset_all-excluded','ck-ai-form__content-field']}});}['setContent'](_0x2275fc){this['element']['innerHTML']=_0x2275fc;}['appendLoader'](){this['element']['appendChild'](this['loaderView']['element']);}['_createLoader'](){const _0x55d652=new ckeditor5['View'](),_0x24a4c3=this['locale'],_0x54c84e=new ckeditor5['SpinnerView']();return _0x54c84e['isVisible']=!0x0,_0x55d652['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__loader']},'children':[_0x54c84e,{'text':getTranslation$j(_0x24a4c3,'AI\x20is\x20writing...')}]}),_0x55d652['render'](),_0x55d652;}}class _0x1c8053 extends ckeditor5['View']{constructor(_0x75fed5,_0x17d542=''){super(_0x75fed5);const _0x15e2a0=new ckeditor5['IconView'](),_0x2766a4=this['bindTemplate'];this['set']('text',_0x17d542),_0x15e2a0['content']=ckeditor5['IconError'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__error']},'children':[_0x15e2a0,{'text':_0x2766a4['to']('text')}]});}}class AIFormPromptView extends ckeditor5['AutocompleteView']{['submitButtonView'];['showHistoryButtonView'];constructor(_0x55b6cf,_0x124a79){super(_0x55b6cf,_0x124a79),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',(_0x1ff928,_0x1110bb)=>{_0x1ff928['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x1110bb());});}['_createSubmitButton'](){const _0x937d86=new ckeditor5['ButtonView'](this['locale']),_0x2a16f=this['locale'];return _0x937d86['set']({'icon':ckeditor5['IconSubmit'],'label':getTranslation$j(_0x2a16f,'Submit'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-form__submit'}),_0x937d86['on']('execute',()=>{this['submit']();}),_0x937d86['bind']('isEnabled')['to'](this['queryView']['fieldView'],'isEmpty',this,'isEnabled',(_0x24fbfa,_0x5f0ee7)=>!_0x24fbfa&&_0x5f0ee7),_0x937d86;}['_createShowHistoryButton'](){const _0x5e2d62=new ckeditor5['ButtonView'](this['locale']),_0x2aa497=this['resultsView'],_0x4141bb=this['locale'];_0x5e2d62['set']({'label':getTranslation$j(_0x4141bb,'History'),'withText':!0x1,'icon':ckeditor5['IconAIHistory'],'tooltip':!0x0,'tooltipPosition':'sw','class':'ck-ai-form__toggle-history'}),_0x5e2d62['bind']('isOn')['to'](_0x2aa497,'isVisible'),_0x5e2d62['bind']('isEnabled')['to'](this,'isEnabled'),_0x5e2d62['on']('execute',()=>{_0x2aa497['isVisible']=!_0x2aa497['isVisible'],_0x2aa497['isVisible']?this['filteredView']['focus']():this['focus']();});const _0x258044=()=>{ckeditor5['global']['window']['requestAnimationFrame'](()=>{if(ckeditor5['isVisible'](this['element'])){const _0x12bb3c=new ckeditor5['Rect'](this['queryView']['fieldView']['element']),_0x4c5d44=_0x12bb3c['width'],_0x517c92='rtl'===_0x4141bb['uiLanguageDirection']?'left':'right';_0x12bb3c['excludeScrollbarsAndBorders'](),_0x5e2d62['element']['style'][_0x517c92]=_0x4c5d44-_0x12bb3c['width']+0x1+'px';}});};return this['queryView']['fieldView']['on']('update',_0x258044),this['on']('render',_0x258044),_0x5e2d62;}['submit'](){const _0x341e15=this['queryView']['fieldView']['element']['value'];this['fire']('submit',_0x341e15);}['focus'](_0x2cfc12){-0x1===_0x2cfc12?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}}class AIHistoryListView extends ckeditor5['ListView']{['historyGroupView'];['clearHistoryButton'];constructor(_0x179944){super(_0x179944),this['clearHistoryButton']=this['_createClearHistoryButton'](),this['historyGroupView']=new ckeditor5['ListItemGroupView'](),this['historyGroupView']['children']['add'](this['clearHistoryButton'],0x1),this['historyGroupView']['label']=getTranslation$j(_0x179944,'Prompt\x20history'),this['historyGroupView']['items']['delegate']('execute')['to'](this),this['items']['add'](this['historyGroupView']);}['filter'](){let _0x3e459f=0x0;for(const _0x4127f3 of this['items'])_0x3e459f+=_0x4127f3['items']['length'];return{'resultsCount':_0x3e459f,'totalItemsCount':_0x3e459f};}['_createClearHistoryButton'](){const _0x310002=this['locale'],_0x39a449=new ckeditor5['ButtonView'](this['locale']);return _0x39a449['set']({'label':'('+getTranslation$j(_0x310002,'Clear')+')','withText':!0x0}),_0x39a449['on']('execute',()=>this['fire']('clearHistory')),_0x39a449;}}function isUnsafeProperty(_0x1302c5){return'__proto__'===_0x1302c5;}function _0x3beb54(_0x931436){switch(typeof _0x931436){case'number':case'symbol':return!0x1;case'string':return _0x931436['includes']('.')||_0x931436['includes']('[')||_0x931436['includes'](']');}}function toKey(_0x2fe3b6){return'string'==typeof _0x2fe3b6||'symbol'==typeof _0x2fe3b6?_0x2fe3b6:Object['is'](_0x2fe3b6?.['valueOf']?.(),-0x0)?'-0':String(_0x2fe3b6);}function toPath(_0x5c1680){const _0x8eabb8=[],_0x4b1531=_0x5c1680['length'];if(0x0===_0x4b1531)return _0x8eabb8;let _0x9b6aa5=0x0,_0x2d27a8='',_0x1e4971='',_0x57899e=!0x1;for(0x2e===_0x5c1680['charCodeAt'](0x0)&&(_0x8eabb8['push'](''),_0x9b6aa5++);_0x9b6aa5<_0x4b1531;){const _0x1d47c9=_0x5c1680[_0x9b6aa5];_0x1e4971?'\x5c'===_0x1d47c9&&_0x9b6aa5+0x1<_0x4b1531?(_0x9b6aa5++,_0x2d27a8+=_0x5c1680[_0x9b6aa5]):_0x1d47c9===_0x1e4971?_0x1e4971='':_0x2d27a8+=_0x1d47c9:_0x57899e?'\x22'===_0x1d47c9||'\x27'===_0x1d47c9?_0x1e4971=_0x1d47c9:']'===_0x1d47c9?(_0x57899e=!0x1,_0x8eabb8['push'](_0x2d27a8),_0x2d27a8=''):_0x2d27a8+=_0x1d47c9:'['===_0x1d47c9?(_0x57899e=!0x0,_0x2d27a8&&(_0x8eabb8['push'](_0x2d27a8),_0x2d27a8='')):'.'===_0x1d47c9?_0x2d27a8&&(_0x8eabb8['push'](_0x2d27a8),_0x2d27a8=''):_0x2d27a8+=_0x1d47c9,_0x9b6aa5++;}return _0x2d27a8&&_0x8eabb8['push'](_0x2d27a8),_0x8eabb8;}function get(_0x4dd5a6,_0x19cebd,_0x291b1c){if(null==_0x4dd5a6)return _0x291b1c;switch(typeof _0x19cebd){case'string':{if(isUnsafeProperty(_0x19cebd))return _0x291b1c;const _0x3e8af6=_0x4dd5a6[_0x19cebd];return void 0x0===_0x3e8af6?_0x3beb54(_0x19cebd)?get(_0x4dd5a6,toPath(_0x19cebd),_0x291b1c):_0x291b1c:_0x3e8af6;}case'number':case'symbol':{'number'==typeof _0x19cebd&&(_0x19cebd=toKey(_0x19cebd));const _0x197c07=_0x4dd5a6[_0x19cebd];return void 0x0===_0x197c07?_0x291b1c:_0x197c07;}default:{if(Array['isArray'](_0x19cebd))return getWithPath(_0x4dd5a6,_0x19cebd,_0x291b1c);if(isUnsafeProperty(_0x19cebd=Object['is'](_0x19cebd?.['valueOf'](),-0x0)?'-0':String(_0x19cebd)))return _0x291b1c;const _0x2e37f0=_0x4dd5a6[_0x19cebd];return void 0x0===_0x2e37f0?_0x291b1c:_0x2e37f0;}}}function getWithPath(_0x2d6ff4,_0x37c349,_0x515067){if(0x0===_0x37c349['length'])return _0x515067;let _0x22efb2=_0x2d6ff4;for(let _0x19a33e=0x0;_0x19a33e<_0x37c349['length'];_0x19a33e++){if(null==_0x22efb2)return _0x515067;if(isUnsafeProperty(_0x37c349[_0x19a33e]))return _0x515067;_0x22efb2=_0x22efb2[_0x37c349[_0x19a33e]];}return void 0x0===_0x22efb2?_0x515067:_0x22efb2;}function isObject$3(_0x2c266e){return null!==_0x2c266e&&('object'==typeof _0x2c266e||'function'==typeof _0x2c266e);}function isPrimitive(_0xb45b22){return null==_0xb45b22||'object'!=typeof _0xb45b22&&'function'!=typeof _0xb45b22;}function _0x53557f(_0x1786b2,_0x1336ef){return _0x1786b2===_0x1336ef||Number['isNaN'](_0x1786b2)&&Number['isNaN'](_0x1336ef);}function getSymbols(_0x18daaf){return Object['getOwnPropertySymbols'](_0x18daaf)['filter'](_0x259f00=>Object['prototype']['propertyIsEnumerable']['call'](_0x18daaf,_0x259f00));}function getTag(_0x25c1e0){return null==_0x25c1e0?void 0x0===_0x25c1e0?'[object\x20Undefined]':'[object\x20Null]':Object['prototype']['toString']['call'](_0x25c1e0);}const _0x33c4db='[object\x20RegExp]',stringTag='[object\x20String]',_0x3c35b4='[object\x20Number]',_0x5cee83='[object\x20Boolean]',argumentsTag='[object\x20Arguments]',_0x7dafa5='[object\x20Symbol]',dateTag='[object\x20Date]',_0xf6d58a='[object\x20Map]',setTag='[object\x20Set]',_0x4ede3b='[object\x20Array]',functionTag='[object\x20Function]',_0x2e4fa4='[object\x20ArrayBuffer]',objectTag='[object\x20Object]',_0x308ecb='[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 _0x4dc75a(_0x8e2699){return ArrayBuffer['isView'](_0x8e2699)&&!(_0x8e2699 instanceof DataView);}function cloneDeepWith$1(_0x58cefd,_0x4d9233){return cloneDeepWithImpl(_0x58cefd,void 0x0,_0x58cefd,new Map(),_0x4d9233);}function cloneDeepWithImpl(_0x427814,_0x564a2c,_0x4fa3db,_0x34c9f4=new Map(),_0x4712a7=void 0x0){const _0x439a7e=_0x4712a7?.(_0x427814,_0x564a2c,_0x4fa3db,_0x34c9f4);if(null!=_0x439a7e)return _0x439a7e;if(isPrimitive(_0x427814))return _0x427814;if(_0x34c9f4['has'](_0x427814))return _0x34c9f4['get'](_0x427814);if(Array['isArray'](_0x427814)){const _0x190d40=new Array(_0x427814['length']);_0x34c9f4['set'](_0x427814,_0x190d40);for(let _0x2d4685=0x0;_0x2d4685<_0x427814['length'];_0x2d4685++)_0x190d40[_0x2d4685]=cloneDeepWithImpl(_0x427814[_0x2d4685],_0x2d4685,_0x4fa3db,_0x34c9f4,_0x4712a7);return Object['hasOwn'](_0x427814,'index')&&(_0x190d40['index']=_0x427814['index']),Object['hasOwn'](_0x427814,'input')&&(_0x190d40['input']=_0x427814['input']),_0x190d40;}if(_0x427814 instanceof Date)return new Date(_0x427814['getTime']());if(_0x427814 instanceof RegExp){const _0x3bd7ec=new RegExp(_0x427814['source'],_0x427814['flags']);return _0x3bd7ec['lastIndex']=_0x427814['lastIndex'],_0x3bd7ec;}if(_0x427814 instanceof Map){const _0x1df0cd=new Map();_0x34c9f4['set'](_0x427814,_0x1df0cd);for(const [_0x47c436,_0x2e9bf1]of _0x427814)_0x1df0cd['set'](_0x47c436,cloneDeepWithImpl(_0x2e9bf1,_0x47c436,_0x4fa3db,_0x34c9f4,_0x4712a7));return _0x1df0cd;}if(_0x427814 instanceof Set){const _0xe55212=new Set();_0x34c9f4['set'](_0x427814,_0xe55212);for(const _0x232121 of _0x427814)_0xe55212['add'](cloneDeepWithImpl(_0x232121,void 0x0,_0x4fa3db,_0x34c9f4,_0x4712a7));return _0xe55212;}if('undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x427814))return _0x427814['subarray']();if(_0x4dc75a(_0x427814)){const _0x44e55c=new(Object['getPrototypeOf'](_0x427814))['constructor'](_0x427814['length']);_0x34c9f4['set'](_0x427814,_0x44e55c);for(let _0x505c98=0x0;_0x505c98<_0x427814['length'];_0x505c98++)_0x44e55c[_0x505c98]=cloneDeepWithImpl(_0x427814[_0x505c98],_0x505c98,_0x4fa3db,_0x34c9f4,_0x4712a7);return _0x44e55c;}if(_0x427814 instanceof ArrayBuffer||'undefined'!=typeof SharedArrayBuffer&&_0x427814 instanceof SharedArrayBuffer)return _0x427814['slice'](0x0);if(_0x427814 instanceof DataView){const _0x3254d6=new DataView(_0x427814['buffer']['slice'](0x0),_0x427814['byteOffset'],_0x427814['byteLength']);return _0x34c9f4['set'](_0x427814,_0x3254d6),copyProperties(_0x3254d6,_0x427814,_0x4fa3db,_0x34c9f4,_0x4712a7),_0x3254d6;}if('undefined'!=typeof File&&_0x427814 instanceof File){const _0x3a210f=new File([_0x427814],_0x427814['name'],{'type':_0x427814['type']});return _0x34c9f4['set'](_0x427814,_0x3a210f),copyProperties(_0x3a210f,_0x427814,_0x4fa3db,_0x34c9f4,_0x4712a7),_0x3a210f;}if(_0x427814 instanceof Blob){const _0x49495c=new Blob([_0x427814],{'type':_0x427814['type']});return _0x34c9f4['set'](_0x427814,_0x49495c),copyProperties(_0x49495c,_0x427814,_0x4fa3db,_0x34c9f4,_0x4712a7),_0x49495c;}if(_0x427814 instanceof Error){const _0x234438=new _0x427814['constructor']();return _0x34c9f4['set'](_0x427814,_0x234438),_0x234438['message']=_0x427814['message'],_0x234438['name']=_0x427814['name'],_0x234438['stack']=_0x427814['stack'],_0x234438['cause']=_0x427814['cause'],copyProperties(_0x234438,_0x427814,_0x4fa3db,_0x34c9f4,_0x4712a7),_0x234438;}if('object'==typeof _0x427814&&isCloneableObject(_0x427814)){const _0x41ffab=Object['create'](Object['getPrototypeOf'](_0x427814));return _0x34c9f4['set'](_0x427814,_0x41ffab),copyProperties(_0x41ffab,_0x427814,_0x4fa3db,_0x34c9f4,_0x4712a7),_0x41ffab;}return _0x427814;}function copyProperties(_0x31c2c0,_0x4de897,_0x4168b0=_0x31c2c0,_0x174123,_0x212ad9){const _0x162498=[...Object['keys'](_0x4de897),...getSymbols(_0x4de897)];for(let _0x3fd80c=0x0;_0x3fd80c<_0x162498['length'];_0x3fd80c++){const _0x22afd0=_0x162498[_0x3fd80c],_0x22334d=Object['getOwnPropertyDescriptor'](_0x31c2c0,_0x22afd0);(null==_0x22334d||_0x22334d['writable'])&&(_0x31c2c0[_0x22afd0]=cloneDeepWithImpl(_0x4de897[_0x22afd0],_0x22afd0,_0x4168b0,_0x174123,_0x212ad9));}}function isCloneableObject(_0x3975e1){switch(getTag(_0x3975e1)){case argumentsTag:case _0x4ede3b:case _0x2e4fa4:case dataViewTag:case _0x5cee83:case dateTag:case float32ArrayTag:case float64ArrayTag:case int8ArrayTag:case int16ArrayTag:case int32ArrayTag:case _0xf6d58a:case _0x3c35b4:case objectTag:case _0x33c4db:case setTag:case stringTag:case _0x7dafa5:case uint8ArrayTag:case uint8ClampedArrayTag:case uint16ArrayTag:case uint32ArrayTag:return!0x0;default:return!0x1;}}function _0x1665a7(_0x392bf0){return cloneDeepWithImpl(_0x392bf0,void 0x0,_0x392bf0,new Map(),void 0x0);}function cloneDeepWith(_0x164bb3,_0x2d65b2){return cloneDeepWith$1(_0x164bb3,(_0x2b8725,_0x273185,_0x4bf5e1,_0x2a2364)=>{if('object'==typeof _0x164bb3)switch(Object['prototype']['toString']['call'](_0x164bb3)){case _0x3c35b4:case stringTag:case _0x5cee83:{const _0x129568=new _0x164bb3['constructor'](_0x164bb3?.['valueOf']());return copyProperties(_0x129568,_0x164bb3),_0x129568;}case argumentsTag:{const _0x1d9b23={};return copyProperties(_0x1d9b23,_0x164bb3),_0x1d9b23['length']=_0x164bb3['length'],_0x1d9b23[Symbol['iterator']]=_0x164bb3[Symbol['iterator']],_0x1d9b23;}default:return;}});}function _0x2222d2(_0x253ebf){return cloneDeepWith(_0x253ebf);}const _0x50f096=/^(?:0|[1-9]\d*)$/;function _0x2ee4c2(_0x1d218,_0x9925fc=Number['MAX_SAFE_INTEGER']){switch(typeof _0x1d218){case'number':return Number['isInteger'](_0x1d218)&&_0x1d218>=0x0&&_0x1d218<_0x9925fc;case'symbol':return!0x1;case'string':return _0x50f096['test'](_0x1d218);}}function isObjectLike(_0x510a90){return'object'==typeof _0x510a90&&null!==_0x510a90;}function _0x542f5c(_0x220c3b){return'symbol'==typeof _0x220c3b||_0x220c3b instanceof Symbol;}const _0x457c45=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,_0x4df568=/^\w*$/;function _0x4b5f13(_0x216961,_0x32eb70){return!Array['isArray'](_0x216961)&&(!('number'!=typeof _0x216961&&'boolean'!=typeof _0x216961&&null!=_0x216961&&!_0x542f5c(_0x216961))||('string'==typeof _0x216961&&(_0x4df568['test'](_0x216961)||!_0x457c45['test'](_0x216961))||null!=_0x32eb70&&Object['hasOwn'](_0x32eb70,_0x216961)));}function unset(_0x57c5e3,_0x4db52b){if(null==_0x57c5e3)return!0x0;switch(typeof _0x4db52b){case'symbol':case'number':case'object':if(Array['isArray'](_0x4db52b))return unsetWithPath(_0x57c5e3,_0x4db52b);if('number'==typeof _0x4db52b?_0x4db52b=toKey(_0x4db52b):'object'==typeof _0x4db52b&&(_0x4db52b=Object['is'](_0x4db52b?.['valueOf'](),-0x0)?'-0':String(_0x4db52b)),isUnsafeProperty(_0x4db52b))return!0x1;if(void 0x0===_0x57c5e3?.[_0x4db52b])return!0x0;try{return delete _0x57c5e3[_0x4db52b],!0x0;}catch{return!0x1;}case'string':if(void 0x0===_0x57c5e3?.[_0x4db52b]&&_0x3beb54(_0x4db52b))return unsetWithPath(_0x57c5e3,toPath(_0x4db52b));if(isUnsafeProperty(_0x4db52b))return!0x1;try{return delete _0x57c5e3[_0x4db52b],!0x0;}catch{return!0x1;}}}function unsetWithPath(_0x169a46,_0x1dcc0b){const _0x5bfba0=get(_0x169a46,_0x1dcc0b['slice'](0x0,-0x1),_0x169a46),_0x380ffc=_0x1dcc0b[_0x1dcc0b['length']-0x1];if(void 0x0===_0x5bfba0?.[_0x380ffc])return!0x0;if(isUnsafeProperty(_0x380ffc))return!0x1;try{return delete _0x5bfba0[_0x380ffc],!0x0;}catch{return!0x1;}}const _0x24164e=(_0x41adb8,_0x2cdaef,_0x5ca4bf)=>{const _0x2c5060=_0x41adb8[_0x2cdaef];Object['hasOwn'](_0x41adb8,_0x2cdaef)&&_0x53557f(_0x2c5060,_0x5ca4bf)&&(void 0x0!==_0x5ca4bf||_0x2cdaef in _0x41adb8)||(_0x41adb8[_0x2cdaef]=_0x5ca4bf);};function updateWith(_0x5ad778,_0x1a2efc,_0x424607,_0x51c7dd){if(null==_0x5ad778&&!isObject$3(_0x5ad778))return _0x5ad778;const _0x1b2d29=_0x4b5f13(_0x1a2efc,_0x5ad778)?[_0x1a2efc]:Array['isArray'](_0x1a2efc)?_0x1a2efc:'string'==typeof _0x1a2efc?toPath(_0x1a2efc):[_0x1a2efc];let _0x59b840=_0x5ad778;for(let _0x39ce5f=0x0;_0x39ce5f<_0x1b2d29['length']&&null!=_0x59b840;_0x39ce5f++){const _0xb447d7=toKey(_0x1b2d29[_0x39ce5f]);if(isUnsafeProperty(_0xb447d7))continue;let _0x20420a;if(_0x39ce5f===_0x1b2d29['length']-0x1)_0x20420a=_0x424607(_0x59b840[_0xb447d7]);else{const _0x49048d=_0x59b840[_0xb447d7],_0x1bcf91=_0x51c7dd?.(_0x49048d,_0xb447d7,_0x5ad778);_0x20420a=void 0x0!==_0x1bcf91?_0x1bcf91:isObject$3(_0x49048d)?_0x49048d:_0x2ee4c2(_0x1b2d29[_0x39ce5f+0x1])?[]:{};}_0x24164e(_0x59b840,_0xb447d7,_0x20420a),_0x59b840=_0x59b840[_0xb447d7];}return _0x5ad778;}function set(_0x37e394,_0x224568,_0x339a11){return updateWith(_0x37e394,_0x224568,()=>_0x339a11,()=>{});}function _0x5cb056(_0x87b543,_0x29f280,{signal:_0x3d6fc0,edges:_0x438b2c}={}){let _0x35ac09,_0x3168bd=null;const _0x59fb70=null!=_0x438b2c&&_0x438b2c['includes']('leading'),_0x251ae7=null==_0x438b2c||_0x438b2c['includes']('trailing'),_0x213a36=()=>{null!==_0x3168bd&&(_0x87b543['apply'](_0x35ac09,_0x3168bd),_0x35ac09=void 0x0,_0x3168bd=null);};let _0x244baa=null;const _0x231a8e=()=>{null!=_0x244baa&&clearTimeout(_0x244baa),_0x244baa=setTimeout(()=>{_0x244baa=null,_0x251ae7&&_0x213a36(),_0x2ac76d();},_0x29f280);},_0x5c9bca=()=>{null!==_0x244baa&&(clearTimeout(_0x244baa),_0x244baa=null);},_0x2ac76d=()=>{_0x5c9bca(),_0x35ac09=void 0x0,_0x3168bd=null;},_0x32876d=function(..._0x2c7fc4){if(_0x3d6fc0?.['aborted'])return;_0x35ac09=this,_0x3168bd=_0x2c7fc4;const _0x1165ae=null==_0x244baa;_0x231a8e(),_0x59fb70&&_0x1165ae&&_0x213a36();};return _0x32876d['schedule']=_0x231a8e,_0x32876d['cancel']=_0x2ac76d,_0x32876d['flush']=()=>{_0x5c9bca(),_0x213a36();},_0x3d6fc0?.['addEventListener']('abort',_0x2ac76d,{'once':!0x0}),_0x32876d;}function _0x2bf3b5(_0x4479df,_0x478b42=0x0,_0x25b873={}){'object'!=typeof _0x25b873&&(_0x25b873={});const {leading:_0x1508ea=!0x1,trailing:_0x50b921=!0x0,maxWait:_0x17482f}=_0x25b873,_0xe714cb=Array(0x2);let _0x3e2e56;_0x1508ea&&(_0xe714cb[0x0]='leading'),_0x50b921&&(_0xe714cb[0x1]='trailing');let _0x2983b5=null;const _0x5d5af5=_0x5cb056(function(..._0x16d97b){_0x3e2e56=_0x4479df['apply'](this,_0x16d97b),_0x2983b5=null;},_0x478b42,{'edges':_0xe714cb}),_0x18086a=function(..._0xe0f581){return null!=_0x17482f&&(null===_0x2983b5&&(_0x2983b5=Date['now']()),Date['now']()-_0x2983b5>=_0x17482f)?(_0x3e2e56=_0x4479df['apply'](this,_0xe0f581),_0x2983b5=Date['now'](),_0x5d5af5['cancel'](),_0x5d5af5['schedule'](),_0x3e2e56):(_0x5d5af5['apply'](this,_0xe0f581),_0x3e2e56);};return _0x18086a['cancel']=_0x5d5af5['cancel'],_0x18086a['flush']=()=>(_0x5d5af5['flush'](),_0x3e2e56),_0x18086a;}function throttle$1(_0x3fdfcb,_0x4b7ff6=0x0,_0x3b27ec={}){'object'!=typeof _0x3b27ec&&(_0x3b27ec={});const {leading:_0x519e97=!0x0,trailing:_0x495837=!0x0}=_0x3b27ec;return _0x2bf3b5(_0x3fdfcb,_0x4b7ff6,{'leading':_0x519e97,'trailing':_0x495837,'maxWait':_0x4b7ff6});}function toString$2(_0x39656f){if(null==_0x39656f)return'';if('string'==typeof _0x39656f)return _0x39656f;if(Array['isArray'](_0x39656f))return _0x39656f['map'](toString$2)['join'](',');const _0x50d819=String(_0x39656f);return'0'===_0x50d819&&Object['is'](Number(_0x39656f),-0x0)?'-0':_0x50d819;}function isPlainObject$1(_0xd5886d){if(!_0xd5886d||'object'!=typeof _0xd5886d)return!0x1;const _0x5dc027=Object['getPrototypeOf'](_0xd5886d);return!(null!==_0x5dc027&&_0x5dc027!==Object['prototype']&&null!==Object['getPrototypeOf'](_0x5dc027))&&'[object\x20Object]'===Object['prototype']['toString']['call'](_0xd5886d);}function isEqualWith(_0x1c751c,_0x7de104,_0x467516){return isEqualWithImpl(_0x1c751c,_0x7de104,void 0x0,void 0x0,void 0x0,void 0x0,_0x467516);}function isEqualWithImpl(_0xbfed55,_0x13a750,_0x5e38e0,_0x1fe6f9,_0x4212c4,_0x3c582f,_0x4fca32){const _0x437a3e=_0x4fca32(_0xbfed55,_0x13a750,_0x5e38e0,_0x1fe6f9,_0x4212c4,_0x3c582f);if(void 0x0!==_0x437a3e)return _0x437a3e;if(typeof _0xbfed55==typeof _0x13a750)switch(typeof _0xbfed55){case'bigint':case'string':case'boolean':case'symbol':case'undefined':case'function':return _0xbfed55===_0x13a750;case'number':return _0xbfed55===_0x13a750||Object['is'](_0xbfed55,_0x13a750);case'object':return areObjectsEqual(_0xbfed55,_0x13a750,_0x3c582f,_0x4fca32);}return areObjectsEqual(_0xbfed55,_0x13a750,_0x3c582f,_0x4fca32);}function areObjectsEqual(_0x7861b4,_0x84ad3d,_0x426448,_0x49efa1){if(Object['is'](_0x7861b4,_0x84ad3d))return!0x0;let _0x173069=getTag(_0x7861b4),_0x39f213=getTag(_0x84ad3d);if(_0x173069===argumentsTag&&(_0x173069=objectTag),_0x39f213===argumentsTag&&(_0x39f213=objectTag),_0x173069!==_0x39f213)return!0x1;switch(_0x173069){case stringTag:return _0x7861b4['toString']()===_0x84ad3d['toString']();case _0x3c35b4:return _0x53557f(_0x7861b4['valueOf'](),_0x84ad3d['valueOf']());case _0x5cee83:case dateTag:case _0x7dafa5:return Object['is'](_0x7861b4['valueOf'](),_0x84ad3d['valueOf']());case _0x33c4db:return _0x7861b4['source']===_0x84ad3d['source']&&_0x7861b4['flags']===_0x84ad3d['flags'];case functionTag:return _0x7861b4===_0x84ad3d;}const _0x491145=(_0x426448=_0x426448??new Map())['get'](_0x7861b4),_0x59590c=_0x426448['get'](_0x84ad3d);if(null!=_0x491145&&null!=_0x59590c)return _0x491145===_0x84ad3d;_0x426448['set'](_0x7861b4,_0x84ad3d),_0x426448['set'](_0x84ad3d,_0x7861b4);try{switch(_0x173069){case _0xf6d58a:if(_0x7861b4['size']!==_0x84ad3d['size'])return!0x1;for(const [_0x2f05f1,_0x222c62]of _0x7861b4['entries']())if(!_0x84ad3d['has'](_0x2f05f1)||!isEqualWithImpl(_0x222c62,_0x84ad3d['get'](_0x2f05f1),_0x2f05f1,_0x7861b4,_0x84ad3d,_0x426448,_0x49efa1))return!0x1;return!0x0;case setTag:{if(_0x7861b4['size']!==_0x84ad3d['size'])return!0x1;const _0x374714=Array['from'](_0x7861b4['values']()),_0x5cea38=Array['from'](_0x84ad3d['values']());for(let _0x85aed1=0x0;_0x85aed1<_0x374714['length'];_0x85aed1++){const _0x440a64=_0x374714[_0x85aed1],_0x1dbe11=_0x5cea38['findIndex'](_0x5ac66b=>isEqualWithImpl(_0x440a64,_0x5ac66b,void 0x0,_0x7861b4,_0x84ad3d,_0x426448,_0x49efa1));if(-0x1===_0x1dbe11)return!0x1;_0x5cea38['splice'](_0x1dbe11,0x1);}return!0x0;}case _0x4ede3b: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'](_0x7861b4)!==Buffer['isBuffer'](_0x84ad3d))return!0x1;if(_0x7861b4['length']!==_0x84ad3d['length'])return!0x1;for(let _0x120c63=0x0;_0x120c63<_0x7861b4['length'];_0x120c63++)if(!isEqualWithImpl(_0x7861b4[_0x120c63],_0x84ad3d[_0x120c63],_0x120c63,_0x7861b4,_0x84ad3d,_0x426448,_0x49efa1))return!0x1;return!0x0;case _0x2e4fa4:return _0x7861b4['byteLength']===_0x84ad3d['byteLength']&&areObjectsEqual(new Uint8Array(_0x7861b4),new Uint8Array(_0x84ad3d),_0x426448,_0x49efa1);case dataViewTag:return _0x7861b4['byteLength']===_0x84ad3d['byteLength']&&_0x7861b4['byteOffset']===_0x84ad3d['byteOffset']&&areObjectsEqual(new Uint8Array(_0x7861b4),new Uint8Array(_0x84ad3d),_0x426448,_0x49efa1);case _0x308ecb:return _0x7861b4['name']===_0x84ad3d['name']&&_0x7861b4['message']===_0x84ad3d['message'];case objectTag:{if(!(areObjectsEqual(_0x7861b4['constructor'],_0x84ad3d['constructor'],_0x426448,_0x49efa1)||isPlainObject$1(_0x7861b4)&&isPlainObject$1(_0x84ad3d)))return!0x1;const _0x241572=[...Object['keys'](_0x7861b4),...getSymbols(_0x7861b4)],_0x270431=[...Object['keys'](_0x84ad3d),...getSymbols(_0x84ad3d)];if(_0x241572['length']!==_0x270431['length'])return!0x1;for(let _0x4f2f16=0x0;_0x4f2f16<_0x241572['length'];_0x4f2f16++){const _0x535632=_0x241572[_0x4f2f16],_0x223842=_0x7861b4[_0x535632];if(!Object['hasOwn'](_0x84ad3d,_0x535632))return!0x1;if(!isEqualWithImpl(_0x223842,_0x84ad3d[_0x535632],_0x535632,_0x7861b4,_0x84ad3d,_0x426448,_0x49efa1))return!0x1;}return!0x0;}default:return!0x1;}}finally{_0x426448['delete'](_0x7861b4),_0x426448['delete'](_0x84ad3d);}}function _0x802c33(){}function _0x4cbe47(_0x4daf10,_0x5a134d){return isEqualWith(_0x4daf10,_0x5a134d,_0x802c33);}function isPlainObject(_0x4e00ff){if('object'!=typeof _0x4e00ff)return!0x1;if(null==_0x4e00ff)return!0x1;if(null===Object['getPrototypeOf'](_0x4e00ff))return!0x0;if('[object\x20Object]'!==Object['prototype']['toString']['call'](_0x4e00ff)){const _0x318f3d=_0x4e00ff[Symbol['toStringTag']];if(null==_0x318f3d)return!0x1;return!!Object['getOwnPropertyDescriptor'](_0x4e00ff,Symbol['toStringTag'])?.['writable']&&_0x4e00ff['toString']()==='[object\x20'+_0x318f3d+']';}let _0x2c32cd=_0x4e00ff;for(;null!==Object['getPrototypeOf'](_0x2c32cd);)_0x2c32cd=Object['getPrototypeOf'](_0x2c32cd);return Object['getPrototypeOf'](_0x4e00ff)===_0x2c32cd;}function omit(_0x1d2836,..._0x166054){if(null==_0x1d2836)return{};const _0x5150fa=_0x1665a7(_0x1d2836);for(let _0x399e9c=0x0;_0x399e9c<_0x166054['length'];_0x399e9c++){let _0x33200a=_0x166054[_0x399e9c];switch(typeof _0x33200a){case'object':Array['isArray'](_0x33200a)||(_0x33200a=Array['from'](_0x33200a));for(let _0x5615a9=0x0;_0x5615a9<_0x33200a['length'];_0x5615a9++){unset(_0x5150fa,_0x33200a[_0x5615a9]);}break;case'string':case'symbol':case'number':unset(_0x5150fa,_0x33200a);}}return _0x5150fa;}function isElement$2(_0x300327){return isObjectLike(_0x300327)&&0x1===_0x300327['nodeType']&&!isPlainObject(_0x300327);}const htmlEscapes={'&':'&amp;','<':'&lt;','>':'&gt;','\x22':'&quot;','\x27':'&#39;'};function _0xdb8ec3(_0x457b24){return _0x457b24['replace'](/[&<>"']/g,_0x265c15=>htmlEscapes[_0x265c15]);}function _0x1e319d(_0x50763d){return _0xdb8ec3(toString$2(_0x50763d));}function _0x14f2d9(_0x35d208){return _0x35d208['replace'](/[\\^$.*+?()[\]{}|]/g,'\x5c$&');}function _0xc7cc6c(_0x46d87e){return _0x14f2d9(toString$2(_0x46d87e));}const htmlUnescapes={'&amp;':'&','&lt;':'<','&gt;':'>','&quot;':'\x22','&#39;':'\x27'};function _0x51361c(_0x1f0c54){return _0x1f0c54['replace'](/&(?:amp|lt|gt|quot|#(0+)?39);/g,_0xf9145d=>htmlUnescapes[_0xf9145d]||'\x27');}function _0x132e11(_0x4f9ac5){return _0x51361c(toString$2(_0x4f9ac5));}class AIHistoryListItemView extends ckeditor5['ListItemView']{constructor(_0x130640){super();const _0x135c63=new ckeditor5['ButtonLabelView'](),_0x918f15=new ckeditor5['ButtonView'](this['locale'],_0x135c63);this['children']['add'](_0x918f15),_0x918f15['set']({'label':_0x130640['prompt'],'withText':!0x0}),_0x918f15['on']('execute',()=>{this['fire']('execute',{'value':_0x132e11(_0x130640['prompt'])});});}}const _0x29fb2c='CKEditor/AIFormView/PromptHistory',_0x1cb7b2=0x14;class PromptHistory extends ckeditor5['Collection']{constructor(){super(),this['_loadFromSessionStorage'](),this['on']('add',(_0x149075,_0x4b8f70)=>{const _0x2a20f8=normalizePromptText(_0x4b8f70['prompt']);for(const _0x6e5ce0 of this)if(_0x6e5ce0!=_0x4b8f70&&normalizePromptText(_0x6e5ce0['prompt'])===_0x2a20f8){this['remove'](_0x6e5ce0);break;}this['length']>_0x1cb7b2&&this['remove'](this['last']),this['_saveToSessionStorage']();}),this['on']('remove',()=>{this['_saveToSessionStorage']();});}['_loadFromSessionStorage'](){const _0x8a5f13=sessionStorage['getItem'](_0x29fb2c)||'[]';this['addMany'](JSON['parse'](_0x8a5f13));}['_saveToSessionStorage'](){sessionStorage['setItem'](_0x29fb2c,JSON['stringify'](this['map'](_0x429d58=>_0x429d58)));}}function normalizePromptText(_0x1786f7){return _0x1786f7['toLowerCase']()['trim']();}class _0x36cf0e extends ckeditor5['View']{['focusTracker'];['keystrokes'];['contentArea'];['toolbar'];['promptView'];['errorView'];['_focusables'];['focusCycler'];['_promptHistory'];constructor(_0x48a53e,_0x4dd252,_0x5e68e1=''){super(_0x48a53e),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 _0x1c8053(_0x48a53e),this['contentArea']=new AIFormContentArea(_0x48a53e,_0x5e68e1),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 _0x57ff14=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form',_0x4dd252],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form-content']},'children':[{'tag':'div','attributes':{'class':[_0x57ff14['if']('isError','ck-hidden',_0x266e14=>!_0x266e14)]},'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'](_0x5254a1=0x1){-0x1===_0x5254a1?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 _0x1b58db=this['locale'],_0x403cb5=new AIFormPromptView(_0x1b58db,{'queryView':{'label':getTranslation$j(_0x1b58db,'Ask\x20AI\x20to\x20edit\x20or\x20generate'),'creator':ckeditor5['createLabeledTextarea'],'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':getTranslation$j(_0x1b58db,'Empty\x20history'),'secondary':getTranslation$j(_0x1b58db,'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.')}}},'filteredView':this['_createHistoryView'](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x403cb5['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x3d6b06,_0x2fbbba)=>_0x3d6b06&&!_0x2fbbba),this['listenTo'](_0x403cb5,'submit',(_0x1ab700,_0x3a5cc4)=>{this['prompt']=_0x3a5cc4;const _0x20272a=_0x1e319d(_0x3a5cc4);this['fire']('submitPrompt',_0x20272a),_0x3a5cc4['trim']()&&this['_promptHistory']['add']({'prompt':_0x20272a},0x0);},{'priority':'high'}),_0x403cb5;}['_createHistoryView'](){const _0x374294=new AIHistoryListView(this['locale']);return _0x374294['historyGroupView']['items']['bindTo'](this['_promptHistory'])['as'](AIHistoryListItemView),_0x374294['on']('clearHistory',()=>{this['_promptHistory']['clear'](),this['promptView']['search'](''),this['promptView']['focus']();}),_0x374294;}['_createToolbar'](){const _0x56b53b=new _0x4961e4(this['locale']);return _0x56b53b['replaceButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x5c4222,_0x54515b,_0x30dc42)=>_0x5c4222&&!_0x54515b&&!!_0x30dc42),_0x56b53b['replaceButton']['delegate']('execute')['to'](this,'replaceContent'),_0x56b53b['insertButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x25e35d,_0x333072,_0xf85ffe)=>_0x25e35d&&!_0x333072&&!!_0xf85ffe),_0x56b53b['insertButton']['delegate']('execute')['to'](this,'insertContentBelow'),_0x56b53b['tryAgainButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x2cd374,_0x1f4b8c)=>_0x2cd374&&!_0x1f4b8c),_0x56b53b['tryAgainButton']['delegate']('execute')['to'](this,'tryAgainEvent'),_0x56b53b['stopButton']['bind']('isEnabled')['to'](this,'isProcessing'),_0x56b53b['stopButton']['delegate']('execute')['to'](this,'stopProcessing'),_0x56b53b;}['startProcessing'](){this['value']='',this['isError']=!0x1,this['isProcessing']=!0x0,this['contentArea']['isVisible']=!0x0,this['toolbar']['isVisible']=!0x0,this['contentArea']['focus']();}['finishProcessing'](){const _0x36af91=this['locale'];this['isProcessing']=!0x1,this['prompt']='',this['promptView']['reset'](),this['value']&&(this['promptView']['queryView']['label']=getTranslation$j(_0x36af91,'Ask\x20AI\x20to\x20improve\x20generated\x20text'));}['handleError'](_0x564a23){const _0x556ab8=this['locale'];this['finishProcessing'](),this['isError']=!0x0,this['errorView']['text']=_0x564a23||getTranslation$j(_0x556ab8,'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(_0x5e7325){super(_0x5e7325),_0x5e7325['config']['define']('ai.assistant.disabledElements',['media','rawHtml','tableOfContents']),_0x5e7325['config']['define']('ai.assistant.contentAreaCssClass',''),_0x5e7325['config']['define']('ai.assistant.useTheme',!0x0),this['_uiCssClasses']='ck-ai-assistant-ui'+(_0x5e7325['config']['get']('ai.assistant.useTheme')?'\x20ck-ai-assistant-ui_theme':'');}['init'](){const {editor:_0x533b0e}=this;this['_aiAdapter']=_0x533b0e['plugins']['get'](AIAdapter),this['_dialog']=_0x533b0e['plugins']['get'](ckeditor5['Dialog']),this['_formView']=null,this['_commandDefinitions']=this['_getResolvedCommandsDefinitions']();const _0x3b99b9=new ShowAIAssistantCommand(_0x533b0e,Array['from'](this['_commandDefinitions']['values']()));_0x533b0e['commands']['add']('showAIAssistant',_0x3b99b9),_0x533b0e['ui']['componentFactory']['add']('aiCommands',_0x1a43c2=>{const _0x33cbc8=ckeditor5['createDropdown'](_0x1a43c2);return _0x33cbc8['set']({'class':'ck-ai-commands-dropdown\x20'+this['_uiCssClasses']}),_0x33cbc8['buttonView']['set']({'label':getTranslation$j(_0x1a43c2,'AI\x20Commands'),'icon':ckeditor5['IconMagicWand'],'tooltip':!0x0}),_0x33cbc8['on']('execute',_0x209ef3=>this['_onExecute'](_0x209ef3['source']['id'])),ckeditor5['addMenuToDropdown'](_0x33cbc8,_0x533b0e['ui']['view']['body'],getMenuDropdownDefinition(_0x533b0e),{'ariaLabel':getTranslation$j(_0x1a43c2,'AI\x20Commands')}),_0x33cbc8['menuView']['menuPanelClass']='ck-ai-commands-dropdown\x20'+this['_uiCssClasses'],_0x3b99b9['on']('change:enabledCommandsIds',_0x1a46b4),_0x33cbc8['menuView']['once']('render',_0x1a46b4),_0x33cbc8;function _0x1a46b4(){_0x33cbc8['isEnabled']=_0x3b99b9['enabledCommandsIds']['length']>0x0;for(const _0x2e84c0 of _0x33cbc8['menuView']['buttons'])_0x2e84c0['isEnabled']=_0x3b99b9['enabledCommandsIds']['includes'](_0x2e84c0['id']);}}),_0x533b0e['ui']['componentFactory']['add']('menuBar:aiCommands',_0x27be5b=>{const _0xc31b38=new ckeditor5['MenuBarMenuView'](_0x27be5b);_0xc31b38['buttonView']['set']({'label':getTranslation$j(_0x27be5b,'AI\x20Commands'),'icon':ckeditor5['IconMagicWand']}),_0xc31b38['bind']('isEnabled')['to'](_0x3b99b9,'enabledCommandsIds',_0x5859a8=>_0x5859a8['length']>0x0);const _0x47f33d=_0x2b8281(_0x533b0e['config']['get']('ai.assistant.commands'),_0x27be5b);return this['_populateMenuBarMenu'](_0x3b99b9,_0xc31b38,_0x47f33d,_0x307919=>this['_onExecute'](_0x307919)),_0xc31b38;}),_0x533b0e['ui']['componentFactory']['add']('aiAssistant',()=>{const _0x16eafe=this['_createAIAssistantUIButton'](ckeditor5['ButtonView']);return _0x16eafe['set']({'tooltip':!0x0,'class':'ck-ai-assistant-button\x20'+this['_uiCssClasses']}),_0x16eafe;}),_0x533b0e['ui']['componentFactory']['add']('menuBar:aiAssistant',()=>{const _0x152add=this['_createAIAssistantUIButton'](ckeditor5['MenuBarMenuListItemButtonView']);return _0x152add['set']({'role':'menuitemcheckbox'}),_0x152add;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x42915e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xa2435e;for(const _0x3b9efe in _0x42915e){const _0x12d07a=_0x3b9efe,_0x55173f=_0x42915e[_0x12d07a];if('aiLicenseKeyValid'==_0x55173f||'aiLicenseKeyInvalid'==_0x55173f||'aiLicenseKeyExpired'==_0x55173f||'aiLicenseKeyDomainLimit'==_0x55173f||'aiLicenseKeyNotAllowed'==_0x55173f||'aiLicenseKeyEvaluationLimit'==_0x55173f||'aiLicenseKeyUsageLimit'==_0x55173f){delete _0x42915e[_0x12d07a],_0xa2435e=_0x55173f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'aiLicenseKeyInvalid'==_0xa2435e&&_0x42915e['_showLicenseError']('invalid'),'aiLicenseKeyExpired'==_0xa2435e&&_0x42915e['_showLicenseError']('expired'),'aiLicenseKeyDomainLimit'==_0xa2435e&&_0x42915e['_showLicenseError']('domainLimit'),'aiLicenseKeyNotAllowed'==_0xa2435e&&_0x42915e['_showLicenseError']('featureNotAllowed','AIAssistant'),'aiLicenseKeyEvaluationLimit'==_0xa2435e&&_0x42915e['_showLicenseError']('evaluationLimit'),'aiLicenseKeyUsageLimit'==_0xa2435e&&_0x42915e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['showUI'](_0x3bf533='',_0x589825='',_0x46acd0='custom'){const _0x3a2678=this['editor'],_0x290c77=_0x3a2678['editing']['view'],_0x2da176=_0x3a2678['plugins']['get'](AIAssistantEditing),_0x32b91d=_0x3a2678['plugins']['get'](ckeditor5['ClipboardMarkersUtils']);_0x2da176['showFakeVisualSelection']();const _0x379754=new DomDataTransfer(),_0x105b48=new ClipboardEvent('copy',{'clipboardData':_0x379754}),_0x22f50b=new ckeditor5['ViewDataTransfer'](_0x379754),_0x2b2839=new ckeditor5['ViewDocumentDomEventData'](_0x290c77,_0x105b48,{'dataTransfer':_0x22f50b});_0x32b91d['_forceMarkersCopy']('comment',()=>{_0x290c77['document']['fire']('copy',_0x2b2839);}),this['_formView']||(this['_initView'](),this['_aiAssistantController']=new AIAssistantController(_0x3a2678,this['_aiAdapter']['textAdapter'],this['_formView']));let _0x4e9a86=_0x22f50b['getData']('text/html');const _0x129f2f=_0x3a2678['model']['document']['selection'],_0xa70660=Array['from'](_0x129f2f['getRanges']());0x1===_0xa70660['length']&&_0xa70660[0x0]['isFlat']&&!_0x129f2f['getSelectedElement']()&&''!==_0x4e9a86['replace'](/&nbsp;/g,'')['trim']()&&(_0x4e9a86='<p>'+_0x4e9a86+'</p>'),this['_aiAssistantController']['updateView']({'actionId':_0x46acd0,'query':_0x3bf533,'htmlContent':_0x4e9a86,'label':_0x589825,'mainActionLabel':AIFormToolbarViewMainActionLabel[_0x3a2678['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'](),_0x2da176['hideFakeVisualSelection']();}}):this['_dialog']['view']['wasMoved']||this['_dialog']['view']['updatePosition']();}['hideUI'](){this['_dialog']['hide']();}['_getResolvedCommandsDefinitions'](){const _0x481640=new Map(),_0x10b196=_0x2b8281(this['editor']['config']['get']('ai.assistant.commands'),this['editor']['locale']);for(const _0x377713 of _0x10b196)for(const _0x28c477 of _0x377713['commands'])_0x481640['set'](_0x28c477['id'],{..._0x28c477,'groupId':_0x377713['groupId'],'groupLabel':_0x377713['groupLabel']||_0x377713['groupId']});return _0x481640;}['_createAIAssistantUIButton'](_0x125882){const _0xa492e=this['editor'],_0x478ee4=_0xa492e['commands']['get']('showAIAssistant'),_0x56a86a=new _0x125882(_0xa492e['locale']);return _0x56a86a['set']({'label':getTranslation$j(_0xa492e['locale'],'AI\x20Assistant'),'icon':ckeditor5['IconRobotPencil'],'isToggleable':!0x0}),_0x56a86a['bind']('isEnabled')['to'](_0x478ee4),_0x56a86a['bind']('isOn')['to'](this['_dialog'],'id',_0x274731=>'aiAssistant'===_0x274731),this['listenTo'](_0x56a86a,'execute',()=>{_0x56a86a['isOn']?this['hideUI']():_0x478ee4['execute']();}),_0x56a86a;}['_initView'](){const _0x26ef97=this['editor']['plugins']['get'](AIAssistantEditing);this['_formView']=new _0x36cf0e(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',()=>{_0x26ef97['insertContent'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['listenTo'](this['_formView'],'insertContentBelow',()=>{_0x26ef97['insertContentBelow'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['_initAriaAiStatusChangeAnnouncements']();}['_initAriaAiStatusChangeAnnouncements'](){const {locale:_0x531663,ui:{ariaLiveAnnouncer:_0x229f96}}=this['editor'];this['_formView']['contentArea']['on']('change:isProcessing',(_0x542245,_0x16b5b3,_0x31cd0b)=>{const _0x31742e=this['_aiAssistantController']['currentContext'];_0x31cd0b?_0x229f96['announce'](getTranslation$j(_0x531663,'AI\x20is\x20writing')):_0x31742e&&_0x229f96['announce'](getTranslation$j(_0x531663,'Generated\x20content:\x20%0',_0x31742e),{'politeness':'polite','isUnsafeHTML':!0x0});}),this['_formView']['on']('change:isError',(_0x1b05a2,_0x451cd4,_0x1ae9f0)=>{if(_0x1ae9f0){const _0xf5a9ae=this['_formView']['errorView']['text'];_0x229f96['announce'](getTranslation$j(_0x531663,'Error\x20during\x20AI\x20content\x20generation:\x20%0',_0xf5a9ae));}});}['_onExecute'](_0x168d6c){const _0x520533=this['_commandDefinitions']['get'](_0x168d6c),_0x1421e9=this['editor'],_0x490b94=_0x1421e9['model']['document']['selection'],_0x3eb261=_0x1421e9['commands']['get']('showAIAssistant'),_0x43cc11=_0x1421e9['plugins']['get'](AIAssistantEditing),_0x5de283=''+(_0x520533['groupId']!==_0x4e293a?_0x520533['groupLabel']+':\x20':'')+_0x520533['label'];if(!0x1!==_0x520533['requiresContent']&&_0x490b94['isCollapsed']){const _0x35b08e=ckeditor5['first'](_0x490b94['getSelectedBlocks']())||_0x1421e9['model']['schema']['getLimitElement'](_0x490b94);_0x1421e9['model']['change'](_0x334869=>{_0x334869['setSelection'](_0x35b08e,'in');});}_0x43cc11['showFakeVisualSelection'](),_0x3eb261['execute'](_0x520533['prompt'],_0x5de283,'command:'+_0x168d6c);}['_populateMenuBarMenu'](_0x4de351,_0x28a5eb,_0x1c074d,_0x56cac5){const _0x1d21a7=this['editor'],_0x451bc1=_0x1d21a7['locale'],_0x5875f4=new ckeditor5['MenuBarMenuListView'](_0x451bc1),_0x302eb5=sortDefinitionsByOrder(_0x1d21a7,_0x1c074d)['filter'](_0x30962e=>_0x30962e['commands']['length']);0x1===_0x302eb5['length']?this['_getMenuBarGroupButtons']({'command':_0x4de351,'commands':_0x302eb5[0x0]['commands'],'parentMenuView':_0x28a5eb,'onExecute':_0x56cac5})['forEach'](_0xfa51f1=>_0x5875f4['items']['add'](_0xfa51f1)):_0x302eb5['forEach'](({groupId:_0x466ce2,groupLabel:_0xe7fc2b,commands:_0x5e309b})=>{const _0x4ab44a=new ckeditor5['MenuBarMenuListItemView'](_0x451bc1,_0x28a5eb),_0x1e2b48=new ckeditor5['MenuBarMenuView'](_0x451bc1),_0x17e661=new ckeditor5['MenuBarMenuListView'](_0x451bc1),_0x4b6cbb=this['_getMenuBarGroupButtons']({'command':_0x4de351,'commands':_0x5e309b,'parentMenuView':_0x1e2b48,'onExecute':_0x56cac5});_0x1e2b48['buttonView']['set']({'label':_0xe7fc2b||_0x466ce2}),_0x1e2b48['delegate']('execute')['to'](_0x28a5eb),_0x17e661['items']['addMany'](_0x4b6cbb),_0x1e2b48['panelView']['children']['add'](_0x17e661),_0x4ab44a['children']['add'](_0x1e2b48),_0x5875f4['items']['add'](_0x4ab44a);}),_0x28a5eb['panelView']['children']['add'](_0x5875f4);}['_getMenuBarGroupButtons']({command:_0x4be258,commands:_0x3b4719,parentMenuView:_0x18491c,onExecute:_0x11789f}){const _0x18532c=this['editor'],_0x523efe=_0x18532c['locale'];return sortDefinitionsByOrder(_0x18532c,_0x3b4719)['map'](_0xcfb0f6=>{const _0x2d2428=new ckeditor5['MenuBarMenuListItemView'](_0x523efe,_0x18491c),_0x1bd6dd=new ckeditor5['MenuBarMenuListItemButtonView'](_0x523efe);return _0x1bd6dd['set']({'label':_0xcfb0f6['label']}),_0x1bd6dd['delegate']('execute')['to'](_0x18491c),_0x1bd6dd['on']('execute',()=>_0x11789f(_0xcfb0f6['id'])),_0x1bd6dd['bind']('isEnabled')['to'](_0x4be258,'enabledCommandsIds',_0x12b87d=>_0x12b87d['includes'](_0xcfb0f6['id'])),_0x2d2428['children']['add'](_0x1bd6dd),_0x2d2428;});}}function getMenuDropdownDefinition(_0x175a89){const _0x3343a6=_0x2b8281(_0x175a89['config']['get']('ai.assistant.commands'),_0x175a89['locale']),_0x66045c=sortDefinitionsByOrder(_0x175a89,_0x3343a6)['filter'](_0x5d4d8f=>_0x5d4d8f['commands']['length']);return 0x1===_0x66045c['length']?sortDefinitionsByOrder(_0x175a89,_0x66045c[0x0]['commands'])['map'](_0x134fdb=>({'id':_0x134fdb['id'],'label':_0x134fdb['label']})):_0x66045c['map'](_0x27e3fa=>{const {groupId:_0x56d68b,groupLabel:_0x5c8ab7,commands:_0x411e6d}=_0x27e3fa,_0x2887a4=sortDefinitionsByOrder(_0x175a89,_0x411e6d)['map'](_0x438eae=>({'id':_0x438eae['id'],'label':_0x438eae['label']}));return{'id':_0x56d68b,'menu':_0x5c8ab7||_0x56d68b,'children':_0x2887a4};});}function sortDefinitionsCallback(_0x2f521e,_0x4b5da1){return void 0x0!==_0x2f521e['order']&&void 0x0===_0x4b5da1['order']?0x1:void 0x0===_0x2f521e['order']&&void 0x0!==_0x4b5da1['order']?-0x1:void 0x0!==_0x2f521e['order']&&void 0x0!==_0x4b5da1['order']?_0x2f521e['order']-_0x4b5da1['order']:0x0;}function sortDefinitionsByOrder(_0x3e0374,_0x2380e8){_0x2380e8['sort'](sortDefinitionsCallback);const _0x453cbf={},_0x5a5eab=[];for(const _0x562f44 of _0x2380e8)if(void 0x0!==_0x562f44['order']){if(_0x562f44['order']in _0x453cbf)throw new ckeditor5['CKEditorError']('ai-commands-config-order-collision',_0x3e0374,{'conflictingDefinitions':[_0x562f44,_0x453cbf[_0x562f44['order']]]});_0x453cbf[_0x562f44['order']]=_0x562f44,_0x5a5eab['splice'](_0x562f44['order'],0x0,_0x562f44);}else _0x5a5eab['push'](_0x562f44);return _0x5a5eab;}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(_0x475ce9){super(_0x475ce9);const _0x42d9fb=_0x475ce9['config'],_0x4dfdb6=_0x475ce9['locale'];_0x42d9fb['define']('ai.assistant.preserveComments',!0x0),_0x42d9fb['define']('ai.assistant.commands',getDefaultAICommands(_0x4dfdb6)),_0x42d9fb['define']('ai.assistant.extraCommandGroups',[]),_0x42d9fb['define']('ai.assistant.removeCommands',[]);let _0x271297=_0x2b8281(_0x42d9fb['get']('ai.assistant.commands'),_0x4dfdb6);const _0x13cfbd=_0x42d9fb['get']('ai.assistant.extraCommandGroups'),_0x3efbab=_0x42d9fb['get']('ai.assistant.removeCommands');_0x13cfbd['forEach'](_0x169b42=>{const _0x5c26c4=_0x271297['find'](_0x56256d=>_0x56256d['groupId']===_0x169b42['groupId']);_0x5c26c4?_0x5c26c4['commands']=_0x5c26c4['commands']['concat'](_0x169b42['commands']):_0x271297['push'](_0x169b42);}),_0x271297=_0x271297['filter'](_0xfa76dc=>!_0x3efbab['includes'](_0xfa76dc['groupId'])),_0x271297['forEach'](_0x4b6c62=>{_0x4b6c62['commands']=_0x4b6c62['commands']['filter'](_0x37d7a3=>!_0x3efbab['includes'](_0x37d7a3['id']));}),_0x42d9fb['set']('ai.assistant.commands',_0x271297);}}function getDefaultAICommands(_0x5c044d){return[{'groupId':'editOrReview','groupLabel':getTranslation$j(_0x5c044d,'Edit\x20or\x20review'),'commands':[{'id':'improveWriting','label':getTranslation$j(_0x5c044d,'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(_0x5c044d,'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(_0x5c044d,'Make\x20longer'),'prompt':'Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.'},{'id':'simplifyLanguage','label':getTranslation$j(_0x5c044d,'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(_0x5c044d,'Generate\x20from\x20selection'),'commands':[{'id':'summarize','label':getTranslation$j(_0x5c044d,'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(_0x5c044d,'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(_0x5c044d,'Change\x20tone'),'commands':[{'id':'professional','label':getTranslation$j(_0x5c044d,'Professional'),'prompt':'Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.'},{'id':'casual','label':getTranslation$j(_0x5c044d,'Casual'),'prompt':'Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.'},{'id':'direct','label':getTranslation$j(_0x5c044d,'Direct'),'prompt':'Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.'},{'id':'confident','label':getTranslation$j(_0x5c044d,'Confident'),'prompt':'Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.'},{'id':'friendly','label':getTranslation$j(_0x5c044d,'Friendly'),'prompt':'Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.'}]},{'groupId':'changeStyle','groupLabel':getTranslation$j(_0x5c044d,'Change\x20style'),'commands':[{'id':'business','label':getTranslation$j(_0x5c044d,'Business'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.'},{'id':'legal','label':getTranslation$j(_0x5c044d,'Legal'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.'},{'id':'journalism','label':getTranslation$j(_0x5c044d,'Journalism'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.'},{'id':'poetic','label':getTranslation$j(_0x5c044d,'Poetic'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.'}]},{'groupId':'translate','groupLabel':getTranslation$j(_0x5c044d,'Translate'),'commands':[{'id':'translateEnglish','label':getTranslation$j(_0x5c044d,'English'),'prompt':'Translate\x20the\x20content\x20to\x20English\x20language.'},{'id':'translateSpanish','label':getTranslation$j(_0x5c044d,'Spanish'),'prompt':'Translate\x20the\x20content\x20to\x20Spanish\x20language.'},{'id':'translatePortuguese','label':getTranslation$j(_0x5c044d,'Portuguese'),'prompt':'Translate\x20the\x20content\x20to\x20Portuguese\x20language.'},{'id':'translateGerman','label':getTranslation$j(_0x5c044d,'German'),'prompt':'Translate\x20the\x20content\x20to\x20German\x20language.'},{'id':'translateFrench','label':getTranslation$j(_0x5c044d,'French'),'prompt':'Translate\x20the\x20content\x20to\x20French\x20language.'},{'id':'translateChinese','label':getTranslation$j(_0x5c044d,'Simplified\x20Chinese'),'prompt':'Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.'},{'id':'translateHindi','label':getTranslation$j(_0x5c044d,'Hindi'),'prompt':'Translate\x20the\x20content\x20to\x20Hindi\x20language.'},{'id':'translateArabic','label':getTranslation$j(_0x5c044d,'Arabic'),'prompt':'Translate\x20the\x20content\x20to\x20Arabic\x20language.'}]}];}class AITextAdapter extends ckeditor5['Plugin']{['abortController'];static get['requires'](){return[AIAdapter];}constructor(_0x46d673){super(_0x46d673),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'](_0x22b058){return this['sendRequest'](_0x22b058)['catch'](_0x1279cf=>{if(_0x1279cf instanceof AIRequestError)return Promise['reject'](_0x1279cf);if('AbortError'==_0x1279cf['name'])return Promise['resolve']();throw console['error'](_0x1279cf),new ckeditor5['CKEditorError']('aitextadapter-send-request-failed',null);});}async['_prepareRequestHeaders'](_0x2c9027,_0x5e5fae){const _0x3ab99a=this['editor']['locale'],_0x551daf={'Content-Type':'application/json'};if('object'==typeof _0x2c9027)Object['assign'](_0x551daf,_0x2c9027);else{if(_0x2c9027)try{const _0x149e15=await _0x2c9027(_0x5e5fae);Object['assign'](_0x551daf,_0x149e15);}catch{return Promise['reject'](new AIRequestError(getTranslation$j(_0x3ab99a,'AI_ERROR_GET_HEADERS')));}}return _0x551daf;}async['_prepareRequestParameters'](_0x3de1d5,_0x5e3b7f){const _0x3d3246=this['editor']['locale'];if('object'==typeof _0x3de1d5)return _0x3de1d5;try{return await _0x3de1d5(_0x5e3b7f);}catch{return Promise['reject'](new AIRequestError(getTranslation$j(_0x3d3246,'AI_ERROR_GET_PARAMETERS')));}}}class OpenAITextAdapter extends AITextAdapter{['_apiUrl'];['_requestHeaders'];['_requestParameters'];static get['pluginName'](){return'OpenAITextAdapter';}constructor(_0x14f3da){super(_0x14f3da),_0x14f3da['config']['define']('ai.assistant.adapter.openAI.apiUrl','https://api.openai.com/v1/chat/completions'),_0x14f3da['config']['get']('ai.assistant.adapter.openAI.requestParameters')||_0x14f3da['config']['define']('ai.assistant.adapter.openAI.requestParameters',{'model':'gpt-4o','temperature':0x1,'top_p':0x1,'stream':!0x0}),this['_apiUrl']=_0x14f3da['config']['get']('ai.assistant.adapter.openAI.apiUrl'),this['_requestHeaders']=_0x14f3da['config']['get']('ai.assistant.adapter.openAI.requestHeaders')||{},this['_requestParameters']=_0x14f3da['config']['get']('ai.assistant.adapter.openAI.requestParameters');}async['sendRequest']({query:_0x4ce1e4,context:_0xaaa715,onData:_0x1aa39b,actionId:_0x24ccc5}){const _0xc953b1=this['editor']['locale'],_0x25c6be=await this['prepareMessages'](_0x4ce1e4,_0xaaa715,_0x24ccc5),_0xab8a09=await this['_prepareRequestHeaders'](this['_requestHeaders'],_0x24ccc5),_0x569a8f=await this['_prepareRequestParameters'](this['_requestParameters'],_0x24ccc5),_0x49f468={'messages':_0x25c6be,..._0x569a8f},_0x5f2e53={'method':'POST','headers':_0xab8a09,'body':JSON['stringify'](_0x49f468),'signal':this['abortController']['signal']},_0x2fd806=await fetch(this['_apiUrl'],_0x5f2e53);if(_0x2fd806['ok'])return _0x569a8f['stream']?await this['_readStreamableResponse'](_0x2fd806,_0x1aa39b):await this['_readStaticResponse'](_0x2fd806,_0x1aa39b),Promise['resolve']();{const _0x2bc99e=await _0x2fd806['text']();return _0x2bc99e['includes']('context_length_exceeded')?Promise['reject'](new AIRequestError(getTranslation$j(_0xc953b1,'AI_ERROR_CONTEXT_LENGTH'))):_0x2bc99e['includes']('Moderation')?Promise['reject'](new AIRequestError(getTranslation$j(_0xc953b1,'AI_ERROR_MODERATION'))):Promise['reject'](new Error(_0x2bc99e));}}async['prepareMessages'](_0xcc2a61,_0x441d2b,_0x139a3c){let _0x638025,_0x285dac;return _0x441d2b?(_0x638025='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.',_0x285dac='Instruction:\x0a'+_0xcc2a61+'\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a'+_0x441d2b):(_0x638025='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.',_0x285dac=_0xcc2a61),[{'role':'system','content':_0x638025},{'role':'user','content':_0x285dac}];}async['_readStreamableResponse'](_0x3f944f,_0x32b7d8){const _0x6cab72=_0x3f944f['body']['getReader'](),_0x1bc279=new TextDecoder();let _0x575a1e='',_0x12f264='',_0x1240d1='',_0x4c3fd8=!0x1;for(;!_0x4c3fd8;){const {done:_0xdb0edb,value:_0x5f200d}=await _0x6cab72['read'](),_0xee9eb9=_0x575a1e+_0x1bc279['decode'](_0x5f200d);let _0x3f0675='';_0x4c3fd8=_0xdb0edb;try{_0x3f0675=this['_cleanUpData'](_0xee9eb9),_0x575a1e='';}catch{_0x575a1e=_0xee9eb9;continue;}_0x12f264+=_0x3f0675,!_0x4c3fd8&&this['_isBufferIncomplete'](_0x12f264)||_0x12f264&&(_0x1240d1+=_0x12f264,_0x12f264='',_0x32b7d8(_0x1240d1));}return Promise['resolve']();}async['_readStaticResponse'](_0x5a2ddb,_0x22acd7){return _0x22acd7((await _0x5a2ddb['json']())['choices'][0x0]['message']['content']),Promise['resolve']();}['_isBufferIncomplete'](_0x397861){const _0xd51b7e=_0x397861['split']('<')['length']!==_0x397861['split']('>')['length'],_0x11fc92=_0x397861['length']<0x1e;return _0xd51b7e&&_0x11fc92;}['_cleanUpData'](_0x25192e){return _0x25192e['split'](/\n(?![^{]*\})/g)['map'](_0x289fe6=>_0x289fe6['replace']('data:\x20',''))['filter'](_0x1662d8=>_0x1662d8&&_0x1662d8['length']>0x0&&'[DONE]'!==_0x1662d8)['map'](_0xf76dfa=>{const {choices:_0x5c06a4}=JSON['parse'](_0xf76dfa);if(_0x5c06a4[0x0]?.['delta']?.['content'])return _0x5c06a4[0x0]['delta']['content'];})['filter'](_0x1aef0f=>_0x1aef0f)['join']('');}}class AWSTextAdapter extends AITextAdapter{static get['pluginName'](){return'AWSTextAdapter';}['init'](){super['init'](),ckeditor5['logWarning']('ai-aws-adapter-not-supported');}async['sendRequest'](_0x16f5ea){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(_0x107f84,_0x4b2b85={}){super(_0x107f84),this['isToggleable']=!0x0,this['set']('side',_0x4b2b85['side']||'top');const _0x4cfcd1=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-tab-button',...ckeditor5['toArray'](_0x4b2b85['class']||[]),_0x4cfcd1['to']('side',_0xad9fec=>'ck-tab-button_'+_0xad9fec),_0x4cfcd1['to']('class')]}});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}}class _0x514d6e extends ckeditor5['View']{['children'];constructor(_0x3fda66,_0x47b8ec={}){super(_0x3fda66);const _0x2a64cd=this['bindTemplate'];this['set']('isVisible',!0x1),this['set']('class',''),this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-tab-panel',...ckeditor5['toArray'](_0x47b8ec['class']||[]),_0x2a64cd['to']('class'),_0x2a64cd['if']('isVisible','ck-hidden',_0x2ccb79=>!_0x2ccb79)]},'children':this['children']});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}}class _0x289b6c extends ckeditor5['View']{['buttonViews']=this['createCollection']();['panelViews']=this['createCollection']();['_tabs']=new Map();constructor(_0x220868,_0x4c4a5f={}){super(_0x220868),this['set']('class',void 0x0),this['set']('activeTab',null),this['set']('side',_0x4c4a5f['side']||'top'),this['set']('isMaximized',!0x1);const _0x14b85e=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-tabs',...ckeditor5['toArray'](_0x4c4a5f['class']||[]),_0x14b85e['to']('side',_0x2b4b13=>'ck-tabs_'+_0x2b4b13),_0x14b85e['to']('class'),_0x14b85e['to']('isMaximized',_0x1b4ddb=>_0x1b4ddb?'ck-ai-tabs_maximized':'')],'tabindex':'0'},'children':[{'tag':'div','attributes':{'class':['ck','ck-tabs__buttons-container',_0x14b85e['to']('side',_0x40e524=>'ck-tabs__buttons-container_'+_0x40e524)]},'children':this['buttonViews']},{'tag':'div','attributes':{'class':['ck','ck-tabs__panels-container',_0x14b85e['to']('side',_0x4c771b=>'ck-tabs__panels-container_'+_0x4c771b)]},'children':this['panelViews']},...ckeditor5['toArray'](_0x4c4a5f['children']||[])]});}['getTabIds'](){return[...this['_tabs']['keys']()];}['getTab'](_0x54f9a0){const _0x30baf1=this['_tabs']['get'](_0x54f9a0);return _0x30baf1||null;}['addTab'](_0x171e9b){const _0xfb2c38=this['_setupButton']({'id':_0x171e9b['id'],'label':_0x171e9b['buttonLabel'],'icon':_0x171e9b['buttonIcon'],'order':_0x171e9b['order']}),_0xff762=new _0x514d6e(this['locale']);return _0xff762['render'](),_0x171e9b['content']&&_0xff762['children']['add'](_0x171e9b['content']),this['panelViews']['add'](_0xff762),this['_tabs']['set'](_0x171e9b['id'],{'button':_0xfb2c38,'panel':_0xff762,'order':void 0x0!==_0x171e9b['order']?_0x171e9b['order']:null}),this['fire']('addTab:'+_0x171e9b['id'],{'id':_0x171e9b['id'],'button':_0xfb2c38,'panel':_0xff762}),null===this['activeTab']?this['activateTab'](_0x171e9b['id']):this['_hidePanel'](_0x171e9b['id']),{'button':_0xfb2c38,'panel':_0xff762};}['activateTab'](_0x48fedd){if(null!==_0x48fedd&&!this['getTab'](_0x48fedd))throw new ckeditor5['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x48fedd});this['activeTab']!==_0x48fedd&&(this['activeTab']&&this['_hidePanel'](this['activeTab']),this['activeTab']=_0x48fedd,_0x48fedd&&this['_showPanel'](_0x48fedd),this['fire']('activateTab:'+_0x48fedd,_0x48fedd));}['showTab'](_0x12c58e){if(!this['getTab'](_0x12c58e))throw new ckeditor5['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x12c58e});this['_showPanel'](_0x12c58e),this['_showButton'](_0x12c58e),this['fire']('show:'+_0x12c58e,_0x12c58e);}['hideTab'](_0x4f2793){if(!this['getTab'](_0x4f2793))throw new ckeditor5['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x4f2793});const _0x410daf=this['activeTab'];this['_hidePanel'](_0x4f2793),this['_hideButton'](_0x4f2793);const _0x563d94=this['getTabIds']();_0x410daf===_0x4f2793&&_0x563d94['length']>0x1&&this['activateTab'](_0x563d94['find'](_0x356427=>_0x356427!==_0x4f2793)),this['fire']('hide:'+_0x4f2793,_0x4f2793);}['_getPanel'](_0x44031c){const _0x5aa915=this['_tabs']['get'](_0x44031c);return _0x5aa915?_0x5aa915['panel']:null;}['_showPanel'](_0x290b53){null!==this['activeTab']&&this['activeTab']!==_0x290b53||this['_getPanel'](_0x290b53)['show']();}['_hidePanel'](_0x300b26){const _0x3ecde6=this['_getPanel'](_0x300b26);_0x3ecde6['isVisible']&&(this['activeTab']===_0x300b26&&(this['activeTab']=null),_0x3ecde6['hide']());}['_getButton'](_0x4ed5ba){const _0x1ef433=this['_tabs']['get'](_0x4ed5ba);return _0x1ef433?_0x1ef433['button']:null;}['_showButton'](_0x46e96b){this['_getButton'](_0x46e96b)['show']();}['_hideButton'](_0x99f5b8){this['_getButton'](_0x99f5b8)['hide']();}['_setupButton'](_0x320ee7){const _0x32af1d=new TabButtonView(this['locale'],{'side':this['side']}),_0x5ef121=this['buttonViews'];if(_0x32af1d['set']({'label':_0x320ee7['label'],'icon':_0x320ee7['icon'],'tooltip':!0x0,'withText':!0x0}),_0x32af1d['bind']('isOn')['to'](this,'activeTab',_0x59f708=>_0x59f708===_0x320ee7['id']),_0x32af1d['bind']('side')['to'](this,'side'),_0x320ee7['order']){const _0xf20f03=[...this['_tabs']]['reduce']((_0x37cb7f,_0x112366)=>{const _0x43877c=_0x112366[0x0],{order:_0x361a85}=_0x112366[0x1];return!_0x361a85||_0x361a85>_0x320ee7['order']?_0x37cb7f:_0x361a85>=_0x37cb7f['order']?{'id':_0x43877c,'order':_0x361a85}:_0x37cb7f;},{'id':'','order':0x0}),_0x5cdf93=_0x5ef121['getIndex'](this['_getButton'](_0xf20f03['id']));_0x5ef121['add'](_0x32af1d,_0x5cdf93+0x1);}else _0x5ef121['add'](_0x32af1d);return _0x32af1d['on']('execute',()=>{this['activateTab'](_0x320ee7['id']);}),_0x32af1d;}}const _0x39be2f=['overlay','sidebar','custom'],_0x4b6462=['left','right'];class _0xf0ea50 extends _0x289b6c{constructor(_0x182ec9,_0x2a12ea={}){super(_0x182ec9,_0x2a12ea),this['set']('type',_0x2a12ea['type']||'sidebar'),this['set']('side',_0x2a12ea['side']||'right'),this['set']('isVisible',_0x2a12ea['visibleByDefault']??!0x0);const _0x106609=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-tabs',_0x106609['if']('type','ck-ai-tabs__overlay',_0x1812e1=>'overlay'===_0x1812e1),_0x106609['if']('type','ck-ai-tabs__sidebar',_0x59aa21=>'sidebar'===_0x59aa21),_0x106609['if']('isVisible','ck-hidden',_0x126585=>!_0x126585)]}}),this['buttonViews']['on']('add',(_0x12b0e3,_0x141066)=>{_0x141066['set']('withText',!0x1);});}}class _0x2afc5c extends ckeditor5['ContextPlugin']{['view'];['container']=null;['showResizeButton']=!0x0;static get['pluginName'](){return'AITabs';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x314a84){super(_0x314a84);const _0xa9617b=this['context']['config']['get']('ai.container');if(this['set']('side','right'),!_0xa9617b)throw new ckeditor5['CKEditorError']('ai-tabs-configuration-not-found');if(void 0x0!==_0xa9617b['showResizeButton']&&(this['showResizeButton']=_0xa9617b['showResizeButton']),'sidebar'!==_0xa9617b['type']&&'overlay'!==_0xa9617b['type']||_0xa9617b['side']&&(this['side']=_0xa9617b['side']),'sidebar'===_0xa9617b['type']){if(this['container']=_0xa9617b['element'],this['set']('type','sidebar'),!this['container'])throw new ckeditor5['CKEditorError']('ai-tabs-sidebar-container-element-not-found');}else'overlay'===_0xa9617b['type']?(this['container']=document['body'],this['set']('type','overlay')):(this['container']=null,this['set']('type','custom'));this['view']=new _0xf0ea50(this['context']['locale'],{'side':this['side'],'type':this['type'],'visibleByDefault':void 0x0===_0xa9617b['visibleByDefault']||_0xa9617b['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'](_0x56ad59){if(_0x56ad59&&this['type']!==_0x56ad59){if(!_0x39be2f['includes'](_0x56ad59))throw new ckeditor5['CKEditorError']('ai-tabs-unsupported-ui-type');this['type']=_0x56ad59;}}['switchSide'](_0x50b2e8){if(_0x50b2e8&&this['side']!==_0x50b2e8){if(!_0x4b6462['includes'](_0x50b2e8))throw new ckeditor5['CKEditorError']('ai-tabs-unsupported-ui-side');this['side']=_0x50b2e8;}}['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 _0x53679f extends Error{constructor(_0x4a0445,_0x30d069){super(_0x4a0445),this['name']='ParseError',this['type']=_0x30d069['type'],this['field']=_0x30d069['field'],this['value']=_0x30d069['value'],this['line']=_0x30d069['line'];}}function _0x31b7f4(_0x5ae7a6){}function createParser(_0x4046d8){if('function'==typeof _0x4046d8)throw new TypeError('`callbacks`\x20must\x20be\x20an\x20object,\x20got\x20a\x20function\x20instead.\x20Did\x20you\x20mean\x20`{onEvent:\x20fn}`?');const {onEvent:_0x4d67a5=_0x31b7f4,onError:_0x551713=_0x31b7f4,onRetry:_0x1ee04f=_0x31b7f4,onComment:_0x23e57c}=_0x4046d8;let _0x21bbae,_0x51143b='',_0x1895a5=!0x0,_0x4b0810='',_0x3c6e4d='';function _0x539e48(_0x8bf682){if(''===_0x8bf682)return _0x4b0810['length']>0x0&&_0x4d67a5({'id':_0x21bbae,'event':_0x3c6e4d||void 0x0,'data':_0x4b0810['endsWith']('\x0a')?_0x4b0810['slice'](0x0,-0x1):_0x4b0810}),_0x21bbae=void 0x0,_0x4b0810='',void(_0x3c6e4d='');if(_0x8bf682['startsWith'](':'))return void(_0x23e57c&&_0x23e57c(_0x8bf682['slice'](_0x8bf682['startsWith'](':\x20')?0x2:0x1)));const _0x54449e=_0x8bf682['indexOf'](':');if(-0x1!==_0x54449e){const _0x37ccfc=_0x8bf682['slice'](0x0,_0x54449e),_0x1986df='\x20'===_0x8bf682[_0x54449e+0x1]?0x2:0x1;return void _0x93ea42(_0x37ccfc,_0x8bf682['slice'](_0x54449e+_0x1986df),_0x8bf682);}_0x93ea42(_0x8bf682,'',_0x8bf682);}function _0x93ea42(_0x132b43,_0x3368c0,_0xfdee8){switch(_0x132b43){case'event':_0x3c6e4d=_0x3368c0;break;case'data':_0x4b0810=''+_0x4b0810+_0x3368c0+'\x0a';break;case'id':_0x21bbae=_0x3368c0['includes']('\x00')?void 0x0:_0x3368c0;break;case'retry':/^\d+$/['test'](_0x3368c0)?_0x1ee04f(parseInt(_0x3368c0,0xa)):_0x551713(new _0x53679f('Invalid\x20`retry`\x20value:\x20\x22'+_0x3368c0+'\x22',{'type':'invalid-retry','value':_0x3368c0,'line':_0xfdee8}));break;default:_0x551713(new _0x53679f('Unknown\x20field\x20\x22'+(_0x132b43['length']>0x14?_0x132b43['slice'](0x0,0x14)+'…':_0x132b43)+'\x22',{'type':'unknown-field','field':_0x132b43,'value':_0x3368c0,'line':_0xfdee8}));}}return{'feed':function(_0x5e217d){const _0x30deed=_0x1895a5?_0x5e217d['replace'](/^\xEF\xBB\xBF/,''):_0x5e217d,[_0x4cbfe3,_0x34e47d]=splitLines(''+_0x51143b+_0x30deed);for(const _0x3e1c61 of _0x4cbfe3)_0x539e48(_0x3e1c61);_0x51143b=_0x34e47d,_0x1895a5=!0x1;},'reset':function(_0xd8d24d={}){_0x51143b&&_0xd8d24d['consume']&&_0x539e48(_0x51143b),_0x1895a5=!0x0,_0x21bbae=void 0x0,_0x4b0810='',_0x3c6e4d='',_0x51143b='';}};}function splitLines(_0x2feda7){const _0x35fed5=[];let _0x1ed8bd='',_0x3c6664=0x0;for(;_0x3c6664<_0x2feda7['length'];){const _0x323988=_0x2feda7['indexOf']('\x0d',_0x3c6664),_0x59256e=_0x2feda7['indexOf']('\x0a',_0x3c6664);let _0x27e7ae=-0x1;if(-0x1!==_0x323988&&-0x1!==_0x59256e?_0x27e7ae=Math['min'](_0x323988,_0x59256e):-0x1!==_0x323988?_0x27e7ae=_0x323988:-0x1!==_0x59256e&&(_0x27e7ae=_0x59256e),-0x1===_0x27e7ae){_0x1ed8bd=_0x2feda7['slice'](_0x3c6664);break;}{const _0x2c997e=_0x2feda7['slice'](_0x3c6664,_0x27e7ae);_0x35fed5['push'](_0x2c997e),_0x3c6664=_0x27e7ae+0x1,'\x0d'===_0x2feda7[_0x3c6664-0x1]&&'\x0a'===_0x2feda7[_0x3c6664]&&_0x3c6664++;}}return[_0x35fed5,_0x1ed8bd];}const _0x404551='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(_0x410bbd){super(_0x410bbd),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 _0x4125dc=this['context']['plugins']['get']('CloudServices');if(!_0x4125dc['token'])throw new ckeditor5['CKEditorError']('ai-missing-token',this);this['_token']=_0x4125dc['token'];}['startConversation'](_0x3325e6,_0x313d74){const _0x3aee9e=this['_sendApiRequest']('/conversations','POST',{'id':_0x3325e6,'group':_0x313d74});return{'getConversation':async()=>(await _0x3aee9e['request'])['json'](),'abortController':_0x3aee9e['abortController']};}['queryAssistant']({message:_0x131e9e,conversationId:_0x3e8c90,parts:_0x1d9f17,capabilities:_0x19f294,model:_0x35080d,attributes:_0x626f21}){const _0x3a8c68={'prompt':_0x131e9e,'content':_0x1d9f17,'model':_0x35080d,..._0x19f294&&{'capabilities':_0x19f294},..._0x626f21&&{'attributes':_0x626f21}},_0x19a09b=this['_sendApiRequest']('/conversations/'+_0x3e8c90+'/messages','POST',_0x3a8c68);return{'getStream':async()=>{const _0x3d65d5=(await _0x19a09b['request'])['body'];return this['_getStreamReader'](_0x3d65d5);},'abortController':_0x19a09b['abortController']};}['executeCustomAction']({content:_0x192318,message:_0x4987b6,model:_0x4c9980,outputFormat:_0x310504}){const _0x6980b5={'content':[{'type':'text','content':_0x192318}],'prompt':_0x4987b6,'model':_0x4c9980,'outputFormat':_0x310504},_0x4e1f42=this['_sendApiRequest']('/actions/custom/calls','POST',_0x6980b5);return{'getStream':async()=>{const _0x9d087=(await _0x4e1f42['request'])['body'];return this['_getStreamReader'](_0x9d087);},'abortController':_0x4e1f42['abortController']};}['executeAction']({actionName:_0x5a4c3c,content:_0x5cd3c8,args:_0x5e5285}){const _0x5017bf={'content':[{'type':'text','content':_0x5cd3c8}],'args':_0x5e5285},_0x55d567=this['_sendApiRequest']('/actions/system/'+_0x5a4c3c+'/calls','POST',_0x5017bf);return{'getStream':async()=>{const _0x129d76=(await _0x55d567['request'])['body'];return this['_getStreamReader'](_0x129d76);},'abortController':_0x55d567['abortController']};}['uploadFile'](_0x162ce0,_0x2b32fe,_0x3c120c){const _0x2dc47d=new FormData();_0x2dc47d['append']('file',_0x2b32fe,_0x2b32fe['name']),_0x3c120c&&_0x2dc47d['append']('attributes',JSON['stringify'](_0x3c120c));const _0xe10312=this['_sendApiRequest']('/conversations/'+_0x162ce0+'/files','POST',_0x2dc47d);return{'getId':async()=>(await _0xe10312['request'])['json'](),'abortController':_0xe10312['abortController']};}['fetchDocument'](_0x4d6049,_0x5eb1f0){const _0x529f01=this['_sendApiRequest']('/conversations/'+_0x4d6049+'/documents/'+_0x5eb1f0,'GET');return{'getDocument':async()=>(await _0x529f01['request'])['json'](),'abortController':_0x529f01['abortController']};}['uploadDocument'](_0x3ab4ce,_0x12287d,_0x35ee50){const _0x3319be={'content':_0x12287d};_0x35ee50&&(_0x3319be['attributes']=_0x35ee50);const _0x3c2ec8=this['_sendApiRequest']('/conversations/'+_0x3ab4ce+'/documents','POST',_0x3319be);return{'getId':async()=>(await _0x3c2ec8['request'])['json'](),'abortController':_0x3c2ec8['abortController']};}['fetchConversations'](_0x2d6efa,_0x8a902f={}){const _0x25541a=new URLSearchParams();_0x25541a['append']('group',_0x2d6efa),_0x25541a['append']('excludeEmpty',!0x1!==_0x8a902f['excludeEmpty']?'true':'false'),_0x25541a['append']('limit',_0x8a902f['limit']?_0x8a902f['limit']['toString']():'100'),_0x25541a['append']('sortBy',_0x8a902f['sortBy']?_0x8a902f['sortBy']:'createdAt'),_0x25541a['append']('order',_0x8a902f['order']?_0x8a902f['order']:'desc');const _0x518473=this['_sendApiRequest']('/conversations?'+_0x25541a['toString'](),'GET');return{'getConversations':async()=>{const _0x164b60=await _0x518473['request'];return(await _0x164b60['json']())['items'];},'abortController':_0x518473['abortController']};}['deleteConversation'](_0xb2f2c6){const _0x1541bf=this['_sendApiRequest']('/conversations/'+_0xb2f2c6,'DELETE');return{'execute':async()=>{await _0x1541bf['request'];},'abortController':_0x1541bf['abortController']};}['updateConversation'](_0x5b7c86,_0x488e3d){const _0x205fa4=this['_sendApiRequest']('/conversations/'+_0x5b7c86,'PATCH',_0x488e3d);return{'getResult':async()=>(await _0x205fa4['request'],_0x488e3d),'abortController':_0x205fa4['abortController']};}['fetchConversation'](_0x3df86c){const _0x18741b=this['_sendApiRequest']('/conversations/'+_0x3df86c,'GET');return{'getConversation':async()=>(await _0x18741b['request'])['json'](),'abortController':_0x18741b['abortController']};}['fetchConversationMessages'](_0x48c82a){const _0x33081b=this['_sendApiRequest']('/conversations/'+_0x48c82a+'/messages','GET');return{'getMessages':async()=>{const _0x429485=await _0x33081b['request'];return(await _0x429485['json']())['items'];},'abortController':_0x33081b['abortController']};}['uploadUrl'](_0x2e907d,_0x14e1f9,_0x2826b7){const _0x4e4833=this['_sendApiRequest']('/conversations/'+_0x2e907d+'/web-resources','POST',{'url':_0x14e1f9,'attributes':_0x2826b7});return{'getId':async()=>(await _0x4e4833['request'])['json'](),'abortController':_0x4e4833['abortController']};}['getModels'](_0x16972f='en'){const _0x276a4d=new URLSearchParams();_0x276a4d['append']('language',_0x16972f);const _0x556351='/models/'+_0x404551+'?'+_0x276a4d['toString'](),_0x338291=this['_sendApiRequest'](_0x556351,'GET');return{'list':async()=>await(await _0x338291['request'])['json'](),'abortController':_0x338291['abortController']};}['deleteFile'](_0x3147fb,_0xe02fe0){const _0x4acb16=this['_sendApiRequest']('/conversations/'+_0x3147fb+'/files/'+_0xe02fe0,'DELETE');return{'execute':async()=>{await _0x4acb16['request'];},'abortController':_0x4acb16['abortController']};}['deleteDocument'](_0x34fed5,_0x225e97){const _0xfc6db8=this['_sendApiRequest']('/conversations/'+_0x34fed5+'/documents/'+_0x225e97,'DELETE');return{'execute':async()=>{await _0xfc6db8['request'];},'abortController':_0xfc6db8['abortController']};}['deleteWebResource'](_0x470328,_0xbf1c48){const _0x5be1a7=this['_sendApiRequest']('/conversations/'+_0x470328+'/web-resources/'+_0xbf1c48,'DELETE');return{'execute':async()=>{await _0x5be1a7['request'];},'abortController':_0x5be1a7['abortController']};}['callSystemReview']({reviewName:_0x3e9ca3,content:_0x35c857,args:_0x2d7851}){const _0x2a8d69=this['_sendApiRequest']('/reviews/system/'+_0x3e9ca3+'/calls','POST',{'content':[{'type':'text','content':_0x35c857}],'args':_0x2d7851});return{'getStream':async()=>{const _0x1ab655=(await _0x2a8d69['request'])['body'];return this['_getStreamReader'](_0x1ab655);},'abortController':_0x2a8d69['abortController']};}['callCustomReview']({content:_0xc711aa,prompt:_0x5d347e,model:_0x468a59}){const _0x542d1e=this['_sendApiRequest']('/reviews/custom/calls','POST',{'content':[{'type':'text','content':_0xc711aa}],'prompt':_0x5d347e,'model':_0x468a59});return{'getStream':async()=>{const _0x553b13=(await _0x542d1e['request'])['body'];return this['_getStreamReader'](_0x553b13);},'abortController':_0x542d1e['abortController']};}['upsertAIChatRating'](_0x20f432,_0x4dba0c,_0x402610){const _0x526826=this['_sendApiRequest']('/conversations/'+_0x20f432+'/messages/'+_0x4dba0c+'/ratings','PUT',{'positiveCount':_0x402610['positiveCount'],'totalCount':_0x402610['totalCount'],'modificationId':_0x402610['modificationId']});return{'execute':async()=>{await _0x526826['request'];},'abortController':_0x526826['abortController']};}['upsertAIActionRating'](_0x3cd0ae,_0x40cf1c,_0x28d82a){const _0x1b6b5c=this['_sendApiRequest']('/actions/system/'+_0x3cd0ae+'/calls/'+_0x40cf1c+'/ratings','PUT',{'positiveCount':_0x28d82a['positiveCount'],'totalCount':_0x28d82a['totalCount']});return{'execute':async()=>{await _0x1b6b5c['request'];},'abortController':_0x1b6b5c['abortController']};}['upsertCustomAIActionRating'](_0x11a1e1,_0x3bcc08){const _0x39b296=this['_sendApiRequest']('/actions/custom/calls/'+_0x11a1e1+'/ratings','PUT',{'positiveCount':_0x3bcc08['positiveCount'],'totalCount':_0x3bcc08['totalCount']});return{'execute':async()=>{await _0x39b296['request'];},'abortController':_0x39b296['abortController']};}['upsertAIReviewRating'](_0x29ee9f,_0x268f36,_0x44e8c8,_0x446b49){const _0x4f5572=this['_sendApiRequest']('/reviews/system/'+_0x29ee9f+'/calls/'+_0x268f36+'/ratings','PUT',{'positiveCount':_0x44e8c8['positiveCount'],'totalCount':_0x44e8c8['totalCount'],'dataId':_0x446b49});return{'execute':async()=>{await _0x4f5572['request'];},'abortController':_0x4f5572['abortController']};}['upsertCustomAIReviewRating'](_0x58236e,_0x28e7e3,_0x56d4d2){const _0x2bb64b=this['_sendApiRequest']('/reviews/custom/calls/'+_0x58236e+'/ratings','PUT',{'positiveCount':_0x28e7e3['positiveCount'],'totalCount':_0x28e7e3['totalCount'],'dataId':_0x56d4d2});return{'execute':async()=>{await _0x2bb64b['request'];},'abortController':_0x2bb64b['abortController']};}['_sendApiRequest'](_0x2970b0,_0x207b60,_0x5da8c8){const _0xd1f30d=new AbortController(),_0x57f896=_0x5da8c8 instanceof FormData,_0x30171e={'Authorization':'Bearer\x20'+this['_token']?.['value']};_0x5da8c8&&!_0x57f896&&(_0x30171e['Content-Type']='application/json');const _0x51bc08={'method':_0x207b60,'headers':_0x30171e,'signal':_0xd1f30d['signal']};_0x5da8c8&&(_0x51bc08['body']=_0x57f896?_0x5da8c8:JSON['stringify'](_0x5da8c8));const _0x185416=fetch(''+this['_apiUrl']+_0x2970b0,_0x51bc08)['catch'](_0x537c18=>{this['_handleError'](_0x537c18);})['then'](_0xce0c7b=>_0xce0c7b['ok']?_0xce0c7b:_0xce0c7b['json']()['then'](_0x5b17c0=>{throw{'url':this['_apiUrl'],'path':_0x2970b0,'method':_0x207b60,'body':_0x5da8c8,'status':(_0xce0c7b||{})['status'],'statusText':(_0xce0c7b||{})['statusText'],'code':_0x5b17c0['code'],'message':_0x5b17c0['message'],'traceId':_0x5b17c0['traceId']};}));return{'request':_0x185416,'abortController':_0xd1f30d};}async*['_getStreamReader'](_0xcfa8a9){const _0x31a5a0=[],_0x31d5bd=_0xcfa8a9['getReader'](),_0x406235=createParser({'onError':_0x5dbef1=>{this['_handleError'](_0x5dbef1);},'onEvent':_0x2e660c=>{_0x2e660c['data']=JSON['parse'](_0x2e660c['data']),_0x31a5a0['push'](_0x2e660c);}});try{let _0x124ea0=!0x1;for(;!_0x124ea0;){const {done:_0xe01e33,value:_0x3bef85}=await _0x31d5bd['read']();_0xe01e33&&(_0x124ea0=!0x0),_0x406235['feed'](this['_decoder']['decode'](_0x3bef85,{'stream':!0x0})),yield*_0x31a5a0,_0x31a5a0['length']=0x0;}}catch(_0x3bee3f){this['_handleError'](_0x3bee3f);}finally{_0x31d5bd['releaseLock'](),_0x406235['reset']();}}['_handleError'](_0x3f16e3){if(_0x3f16e3 instanceof ckeditor5['CKEditorError'])throw _0x3f16e3;if(_0x3f16e3 instanceof Error&&'AbortError'===_0x3f16e3['name'])throw new ckeditor5['CKEditorError']('ai-request-aborted',this,{'originalError':_0x3f16e3});throw new ckeditor5['CKEditorError']('ai-request-failed',this,{'originalError':_0x3f16e3});}}function getTranslation$i(_0x1ae710,_0x3b411a,_0x45eb4a){const t=_0x1ae710['t'];switch(_0x3b411a){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'},_0x45eb4a);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.'},_0x45eb4a);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.'},_0x45eb4a);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.'},_0x45eb4a);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'},_0x45eb4a);case'AI_CHAT_SUGGESTION_ACTION_SUGGEST':return t({'id':'AI_CHAT_SUGGESTION_ACTION_SUGGEST','string':'Suggest'},_0x45eb4a);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'},_0x45eb4a);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.'},_0x45eb4a);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.'},_0x45eb4a);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.'},_0x45eb4a);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.'},_0x45eb4a);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'},_0x45eb4a);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.'},_0x45eb4a);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 _0x3b411a;}}function createResizeButton(_0x4f8b6f,_0x51cb27){const _0x93c17b=new ckeditor5['ButtonView'](_0x4f8b6f),_0x3aba10=getTranslation$i(_0x4f8b6f,'AI_TABS_LABEL_MINIMIZE'),_0x27f434=getTranslation$i(_0x4f8b6f,'AI_TABS_LABEL_MAXIMIZE');return _0x93c17b['set']({'withText':!0x1,'icon':ckeditor5['IconMaximize'],'tooltip':!0x0,'class':'ck-ai-tabs__resize\x20ck-ai-button-tertiary'}),_0x93c17b['bind']('label')['to'](_0x51cb27,'isMaximized',_0x146ac9=>_0x146ac9?_0x3aba10:_0x27f434),_0x93c17b['bind']('icon')['to'](_0x51cb27,'isMaximized',_0x59c98b=>_0x59c98b?ckeditor5['IconMinimize']:ckeditor5['IconMaximize']),_0x93c17b['bind']('isOn')['to'](_0x51cb27,'isMaximized'),_0x93c17b['on']('execute',()=>{_0x51cb27['fire']('resizeTabs');}),_0x93c17b;}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'](_0x3f99cb=>_0x3f99cb['charCodeAt'](0x0))),_0xdde1e6=new Uint16Array('Ȁaglq\x09\x15\x18\x1bɭ\x0f\x00\x00\x12p;䀦os;䀧t;䀾t;䀼uot;䀢'['split']('')['map'](_0x5c1bd8=>_0x5c1bd8['charCodeAt'](0x0)));var _0x389f14;const _0x2ca712=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!==(_0x389f14=String['fromCodePoint'])&&void 0x0!==_0x389f14?_0x389f14:function(_0x41e37f){let _0x382477='';return _0x41e37f>0xffff&&(_0x41e37f-=0x10000,_0x382477+=String['fromCharCode'](_0x41e37f>>>0xa&0x3ff|0xd800),_0x41e37f=0xdc00|0x3ff&_0x41e37f),_0x382477+=String['fromCharCode'](_0x41e37f),_0x382477;};function replaceCodePoint(_0x39c14a){var _0x344328;return _0x39c14a>=0xd800&&_0x39c14a<=0xdfff||_0x39c14a>0x10ffff?0xfffd:null!==(_0x344328=_0x2ca712['get'](_0x39c14a))&&void 0x0!==_0x344328?_0x344328:_0x39c14a;}var _0x4d08be;!function(_0x43ab78){_0x43ab78[_0x43ab78['NUM']=0x23]='NUM',_0x43ab78[_0x43ab78['SEMI']=0x3b]='SEMI',_0x43ab78[_0x43ab78['EQUALS']=0x3d]='EQUALS',_0x43ab78[_0x43ab78['ZERO']=0x30]='ZERO',_0x43ab78[_0x43ab78['NINE']=0x39]='NINE',_0x43ab78[_0x43ab78['LOWER_A']=0x61]='LOWER_A',_0x43ab78[_0x43ab78['LOWER_F']=0x66]='LOWER_F',_0x43ab78[_0x43ab78['LOWER_X']=0x78]='LOWER_X',_0x43ab78[_0x43ab78['LOWER_Z']=0x7a]='LOWER_Z',_0x43ab78[_0x43ab78['UPPER_A']=0x41]='UPPER_A',_0x43ab78[_0x43ab78['UPPER_F']=0x46]='UPPER_F',_0x43ab78[_0x43ab78['UPPER_Z']=0x5a]='UPPER_Z';}(_0x4d08be||(_0x4d08be={}));const _0x5d21ee=0x20;var _0x3eb99e,EntityDecoderState,_0x1c92e3,_0xa47cc0,State,QuoteType;function _0x20378a(_0x377cf4){return _0x377cf4>=_0x4d08be['ZERO']&&_0x377cf4<=_0x4d08be['NINE'];}function isHexadecimalCharacter(_0xf5d0fd){return _0xf5d0fd>=_0x4d08be['UPPER_A']&&_0xf5d0fd<=_0x4d08be['UPPER_F']||_0xf5d0fd>=_0x4d08be['LOWER_A']&&_0xf5d0fd<=_0x4d08be['LOWER_F'];}function _0x3ea265(_0x522ddc){return _0x522ddc>=_0x4d08be['UPPER_A']&&_0x522ddc<=_0x4d08be['UPPER_Z']||_0x522ddc>=_0x4d08be['LOWER_A']&&_0x522ddc<=_0x4d08be['LOWER_Z']||_0x20378a(_0x522ddc);}function isEntityInAttributeInvalidEnd(_0x5a2c49){return _0x5a2c49===_0x4d08be['EQUALS']||_0x3ea265(_0x5a2c49);}!function(_0x3f65f5){_0x3f65f5[_0x3f65f5['VALUE_LENGTH']=0xc000]='VALUE_LENGTH',_0x3f65f5[_0x3f65f5['BRANCH_LENGTH']=0x3f80]='BRANCH_LENGTH',_0x3f65f5[_0x3f65f5['JUMP_TABLE']=0x7f]='JUMP_TABLE';}(_0x3eb99e||(_0x3eb99e={})),function(_0x527df1){_0x527df1[_0x527df1['EntityStart']=0x0]='EntityStart',_0x527df1[_0x527df1['NumericStart']=0x1]='NumericStart',_0x527df1[_0x527df1['NumericDecimal']=0x2]='NumericDecimal',_0x527df1[_0x527df1['NumericHex']=0x3]='NumericHex',_0x527df1[_0x527df1['NamedEntity']=0x4]='NamedEntity';}(EntityDecoderState||(EntityDecoderState={})),function(_0x3322fd){_0x3322fd[_0x3322fd['Legacy']=0x0]='Legacy',_0x3322fd[_0x3322fd['Strict']=0x1]='Strict',_0x3322fd[_0x3322fd['Attribute']=0x2]='Attribute';}(_0x1c92e3||(_0x1c92e3={}));class EntityDecoder{constructor(_0x5b3d88,_0x1b09fc,_0x2d270f){this['decodeTree']=_0x5b3d88,this['emitCodePoint']=_0x1b09fc,this['errors']=_0x2d270f,this['state']=EntityDecoderState['EntityStart'],this['consumed']=0x1,this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['decodeMode']=_0x1c92e3['Strict'];}['startEntity'](_0x1c717f){this['decodeMode']=_0x1c717f,this['state']=EntityDecoderState['EntityStart'],this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['consumed']=0x1;}['write'](_0x5a644c,_0x1c7865){switch(this['state']){case EntityDecoderState['EntityStart']:return _0x5a644c['charCodeAt'](_0x1c7865)===_0x4d08be['NUM']?(this['state']=EntityDecoderState['NumericStart'],this['consumed']+=0x1,this['stateNumericStart'](_0x5a644c,_0x1c7865+0x1)):(this['state']=EntityDecoderState['NamedEntity'],this['stateNamedEntity'](_0x5a644c,_0x1c7865));case EntityDecoderState['NumericStart']:return this['stateNumericStart'](_0x5a644c,_0x1c7865);case EntityDecoderState['NumericDecimal']:return this['stateNumericDecimal'](_0x5a644c,_0x1c7865);case EntityDecoderState['NumericHex']:return this['stateNumericHex'](_0x5a644c,_0x1c7865);case EntityDecoderState['NamedEntity']:return this['stateNamedEntity'](_0x5a644c,_0x1c7865);}}['stateNumericStart'](_0x1eb48b,_0x40b57b){return _0x40b57b>=_0x1eb48b['length']?-0x1:(_0x1eb48b['charCodeAt'](_0x40b57b)|_0x5d21ee)===_0x4d08be['LOWER_X']?(this['state']=EntityDecoderState['NumericHex'],this['consumed']+=0x1,this['stateNumericHex'](_0x1eb48b,_0x40b57b+0x1)):(this['state']=EntityDecoderState['NumericDecimal'],this['stateNumericDecimal'](_0x1eb48b,_0x40b57b));}['addToNumericResult'](_0x55343a,_0x13a2d2,_0x256935,_0x3b6a96){if(_0x13a2d2!==_0x256935){const _0x59026f=_0x256935-_0x13a2d2;this['result']=this['result']*Math['pow'](_0x3b6a96,_0x59026f)+Number['parseInt'](_0x55343a['substr'](_0x13a2d2,_0x59026f),_0x3b6a96),this['consumed']+=_0x59026f;}}['stateNumericHex'](_0x236dc9,_0x7989a8){const _0x499953=_0x7989a8;for(;_0x7989a8<_0x236dc9['length'];){const _0x5ecc17=_0x236dc9['charCodeAt'](_0x7989a8);if(!_0x20378a(_0x5ecc17)&&!isHexadecimalCharacter(_0x5ecc17))return this['addToNumericResult'](_0x236dc9,_0x499953,_0x7989a8,0x10),this['emitNumericEntity'](_0x5ecc17,0x3);_0x7989a8+=0x1;}return this['addToNumericResult'](_0x236dc9,_0x499953,_0x7989a8,0x10),-0x1;}['stateNumericDecimal'](_0x8c6a2,_0x3a15f7){const _0x21ac95=_0x3a15f7;for(;_0x3a15f7<_0x8c6a2['length'];){const _0x450b6c=_0x8c6a2['charCodeAt'](_0x3a15f7);if(!_0x20378a(_0x450b6c))return this['addToNumericResult'](_0x8c6a2,_0x21ac95,_0x3a15f7,0xa),this['emitNumericEntity'](_0x450b6c,0x2);_0x3a15f7+=0x1;}return this['addToNumericResult'](_0x8c6a2,_0x21ac95,_0x3a15f7,0xa),-0x1;}['emitNumericEntity'](_0x1f8964,_0x1155c8){var _0x3c0e1d;if(this['consumed']<=_0x1155c8)return null===(_0x3c0e1d=this['errors'])||void 0x0===_0x3c0e1d||_0x3c0e1d['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;if(_0x1f8964===_0x4d08be['SEMI'])this['consumed']+=0x1;else{if(this['decodeMode']===_0x1c92e3['Strict'])return 0x0;}return this['emitCodePoint'](replaceCodePoint(this['result']),this['consumed']),this['errors']&&(_0x1f8964!==_0x4d08be['SEMI']&&this['errors']['missingSemicolonAfterCharacterReference'](),this['errors']['validateNumericCharacterReference'](this['result'])),this['consumed'];}['stateNamedEntity'](_0x5e8e1d,_0x5c253f){const {decodeTree:_0x10d8ad}=this;let _0x151185=_0x10d8ad[this['treeIndex']],_0x7eeabb=(_0x151185&_0x3eb99e['VALUE_LENGTH'])>>0xe;for(;_0x5c253f<_0x5e8e1d['length'];_0x5c253f++,this['excess']++){const _0x41badf=_0x5e8e1d['charCodeAt'](_0x5c253f);if(this['treeIndex']=determineBranch(_0x10d8ad,_0x151185,this['treeIndex']+Math['max'](0x1,_0x7eeabb),_0x41badf),this['treeIndex']<0x0)return 0x0===this['result']||this['decodeMode']===_0x1c92e3['Attribute']&&(0x0===_0x7eeabb||isEntityInAttributeInvalidEnd(_0x41badf))?0x0:this['emitNotTerminatedNamedEntity']();if(_0x151185=_0x10d8ad[this['treeIndex']],_0x7eeabb=(_0x151185&_0x3eb99e['VALUE_LENGTH'])>>0xe,0x0!==_0x7eeabb){if(_0x41badf===_0x4d08be['SEMI'])return this['emitNamedEntityData'](this['treeIndex'],_0x7eeabb,this['consumed']+this['excess']);this['decodeMode']!==_0x1c92e3['Strict']&&(this['result']=this['treeIndex'],this['consumed']+=this['excess'],this['excess']=0x0);}}return-0x1;}['emitNotTerminatedNamedEntity'](){var _0x12812a;const {result:_0x415a61,decodeTree:_0x3346a1}=this,_0x922f81=(_0x3346a1[_0x415a61]&_0x3eb99e['VALUE_LENGTH'])>>0xe;return this['emitNamedEntityData'](_0x415a61,_0x922f81,this['consumed']),null===(_0x12812a=this['errors'])||void 0x0===_0x12812a||_0x12812a['missingSemicolonAfterCharacterReference'](),this['consumed'];}['emitNamedEntityData'](_0x247a36,_0x3bd12e,_0x165453){const {decodeTree:_0x5bc737}=this;return this['emitCodePoint'](0x1===_0x3bd12e?_0x5bc737[_0x247a36]&~_0x3eb99e['VALUE_LENGTH']:_0x5bc737[_0x247a36+0x1],_0x165453),0x3===_0x3bd12e&&this['emitCodePoint'](_0x5bc737[_0x247a36+0x2],_0x165453),_0x165453;}['end'](){var _0xd9f12;switch(this['state']){case EntityDecoderState['NamedEntity']:return 0x0===this['result']||this['decodeMode']===_0x1c92e3['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===(_0xd9f12=this['errors'])||void 0x0===_0xd9f12||_0xd9f12['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;case EntityDecoderState['EntityStart']:return 0x0;}}}function determineBranch(_0x1c34cf,_0x15bf8b,_0x3eb2d3,_0x22d98f){const _0x2cd800=(_0x15bf8b&_0x3eb99e['BRANCH_LENGTH'])>>0x7,_0x54777b=_0x15bf8b&_0x3eb99e['JUMP_TABLE'];if(0x0===_0x2cd800)return 0x0!==_0x54777b&&_0x22d98f===_0x54777b?_0x3eb2d3:-0x1;if(_0x54777b){const _0x7c777c=_0x22d98f-_0x54777b;return _0x7c777c<0x0||_0x7c777c>=_0x2cd800?-0x1:_0x1c34cf[_0x3eb2d3+_0x7c777c]-0x1;}let _0x11e25d=_0x3eb2d3,_0x2c87dc=_0x11e25d+_0x2cd800-0x1;for(;_0x11e25d<=_0x2c87dc;){const _0x43deaf=_0x11e25d+_0x2c87dc>>>0x1,_0xf46c68=_0x1c34cf[_0x43deaf];if(_0xf46c68<_0x22d98f)_0x11e25d=_0x43deaf+0x1;else{if(!(_0xf46c68>_0x22d98f))return _0x1c34cf[_0x43deaf+_0x2cd800];_0x2c87dc=_0x43deaf-0x1;}}return-0x1;}function isWhitespace(_0x39ab8c){return _0x39ab8c===_0xa47cc0['Space']||_0x39ab8c===_0xa47cc0['NewLine']||_0x39ab8c===_0xa47cc0['Tab']||_0x39ab8c===_0xa47cc0['FormFeed']||_0x39ab8c===_0xa47cc0['CarriageReturn'];}function isEndOfTagSection(_0x5cfc06){return _0x5cfc06===_0xa47cc0['Slash']||_0x5cfc06===_0xa47cc0['Gt']||isWhitespace(_0x5cfc06);}function _0x1993b4(_0x414044){return _0x414044>=_0xa47cc0['LowerA']&&_0x414044<=_0xa47cc0['LowerZ']||_0x414044>=_0xa47cc0['UpperA']&&_0x414044<=_0xa47cc0['UpperZ'];}!function(_0x291f43){_0x291f43[_0x291f43['Tab']=0x9]='Tab',_0x291f43[_0x291f43['NewLine']=0xa]='NewLine',_0x291f43[_0x291f43['FormFeed']=0xc]='FormFeed',_0x291f43[_0x291f43['CarriageReturn']=0xd]='CarriageReturn',_0x291f43[_0x291f43['Space']=0x20]='Space',_0x291f43[_0x291f43['ExclamationMark']=0x21]='ExclamationMark',_0x291f43[_0x291f43['Number']=0x23]='Number',_0x291f43[_0x291f43['Amp']=0x26]='Amp',_0x291f43[_0x291f43['SingleQuote']=0x27]='SingleQuote',_0x291f43[_0x291f43['DoubleQuote']=0x22]='DoubleQuote',_0x291f43[_0x291f43['Dash']=0x2d]='Dash',_0x291f43[_0x291f43['Slash']=0x2f]='Slash',_0x291f43[_0x291f43['Zero']=0x30]='Zero',_0x291f43[_0x291f43['Nine']=0x39]='Nine',_0x291f43[_0x291f43['Semi']=0x3b]='Semi',_0x291f43[_0x291f43['Lt']=0x3c]='Lt',_0x291f43[_0x291f43['Eq']=0x3d]='Eq',_0x291f43[_0x291f43['Gt']=0x3e]='Gt',_0x291f43[_0x291f43['Questionmark']=0x3f]='Questionmark',_0x291f43[_0x291f43['UpperA']=0x41]='UpperA',_0x291f43[_0x291f43['LowerA']=0x61]='LowerA',_0x291f43[_0x291f43['UpperF']=0x46]='UpperF',_0x291f43[_0x291f43['LowerF']=0x66]='LowerF',_0x291f43[_0x291f43['UpperZ']=0x5a]='UpperZ',_0x291f43[_0x291f43['LowerZ']=0x7a]='LowerZ',_0x291f43[_0x291f43['LowerX']=0x78]='LowerX',_0x291f43[_0x291f43['OpeningSquareBracket']=0x5b]='OpeningSquareBracket';}(_0xa47cc0||(_0xa47cc0={})),function(_0x4e2cba){_0x4e2cba[_0x4e2cba['Text']=0x1]='Text',_0x4e2cba[_0x4e2cba['BeforeTagName']=0x2]='BeforeTagName',_0x4e2cba[_0x4e2cba['InTagName']=0x3]='InTagName',_0x4e2cba[_0x4e2cba['InSelfClosingTag']=0x4]='InSelfClosingTag',_0x4e2cba[_0x4e2cba['BeforeClosingTagName']=0x5]='BeforeClosingTagName',_0x4e2cba[_0x4e2cba['InClosingTagName']=0x6]='InClosingTagName',_0x4e2cba[_0x4e2cba['AfterClosingTagName']=0x7]='AfterClosingTagName',_0x4e2cba[_0x4e2cba['BeforeAttributeName']=0x8]='BeforeAttributeName',_0x4e2cba[_0x4e2cba['InAttributeName']=0x9]='InAttributeName',_0x4e2cba[_0x4e2cba['AfterAttributeName']=0xa]='AfterAttributeName',_0x4e2cba[_0x4e2cba['BeforeAttributeValue']=0xb]='BeforeAttributeValue',_0x4e2cba[_0x4e2cba['InAttributeValueDq']=0xc]='InAttributeValueDq',_0x4e2cba[_0x4e2cba['InAttributeValueSq']=0xd]='InAttributeValueSq',_0x4e2cba[_0x4e2cba['InAttributeValueNq']=0xe]='InAttributeValueNq',_0x4e2cba[_0x4e2cba['BeforeDeclaration']=0xf]='BeforeDeclaration',_0x4e2cba[_0x4e2cba['InDeclaration']=0x10]='InDeclaration',_0x4e2cba[_0x4e2cba['InProcessingInstruction']=0x11]='InProcessingInstruction',_0x4e2cba[_0x4e2cba['BeforeComment']=0x12]='BeforeComment',_0x4e2cba[_0x4e2cba['CDATASequence']=0x13]='CDATASequence',_0x4e2cba[_0x4e2cba['InSpecialComment']=0x14]='InSpecialComment',_0x4e2cba[_0x4e2cba['InCommentLike']=0x15]='InCommentLike',_0x4e2cba[_0x4e2cba['BeforeSpecialS']=0x16]='BeforeSpecialS',_0x4e2cba[_0x4e2cba['BeforeSpecialT']=0x17]='BeforeSpecialT',_0x4e2cba[_0x4e2cba['SpecialStartSequence']=0x18]='SpecialStartSequence',_0x4e2cba[_0x4e2cba['InSpecialTag']=0x19]='InSpecialTag',_0x4e2cba[_0x4e2cba['InEntity']=0x1a]='InEntity';}(State||(State={})),function(_0x43e253){_0x43e253[_0x43e253['NoValue']=0x0]='NoValue',_0x43e253[_0x43e253['Unquoted']=0x1]='Unquoted',_0x43e253[_0x43e253['Single']=0x2]='Single',_0x43e253[_0x43e253['Double']=0x3]='Double';}(QuoteType||(QuoteType={}));const _0x4690ff={'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 _0x5e190f{constructor({xmlMode:_0x44a2b2=!0x1,decodeEntities:_0x57c0dd=!0x0},_0x2a3a2f){this['cbs']=_0x2a3a2f,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']=_0x44a2b2,this['decodeEntities']=_0x57c0dd,this['entityDecoder']=new EntityDecoder(_0x44a2b2?_0xdde1e6:htmlDecodeTree,(_0x44035d,_0x48bf0d)=>this['emitCodePoint'](_0x44035d,_0x48bf0d));}['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'](_0x3228f9){this['offset']+=this['buffer']['length'],this['buffer']=_0x3228f9,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'](_0x31b9a7){_0x31b9a7===_0xa47cc0['Lt']||!this['decodeEntities']&&this['fastForwardTo'](_0xa47cc0['Lt'])?(this['index']>this['sectionStart']&&this['cbs']['ontext'](this['sectionStart'],this['index']),this['state']=State['BeforeTagName'],this['sectionStart']=this['index']):this['decodeEntities']&&_0x31b9a7===_0xa47cc0['Amp']&&this['startEntity']();}['stateSpecialStartSequence'](_0x13e9fa){const _0x19ec31=this['sequenceIndex']===this['currentSequence']['length'];if(_0x19ec31?isEndOfTagSection(_0x13e9fa):(0x20|_0x13e9fa)===this['currentSequence'][this['sequenceIndex']]){if(!_0x19ec31)return void this['sequenceIndex']++;}else this['isSpecial']=!0x1;this['sequenceIndex']=0x0,this['state']=State['InTagName'],this['stateInTagName'](_0x13e9fa);}['stateInSpecialTag'](_0x32381c){if(this['sequenceIndex']===this['currentSequence']['length']){if(_0x32381c===_0xa47cc0['Gt']||isWhitespace(_0x32381c)){const _0x592362=this['index']-this['currentSequence']['length'];if(this['sectionStart']<_0x592362){const _0xa316af=this['index'];this['index']=_0x592362,this['cbs']['ontext'](this['sectionStart'],_0x592362),this['index']=_0xa316af;}return this['isSpecial']=!0x1,this['sectionStart']=_0x592362+0x2,void this['stateInClosingTagName'](_0x32381c);}this['sequenceIndex']=0x0;}(0x20|_0x32381c)===this['currentSequence'][this['sequenceIndex']]?this['sequenceIndex']+=0x1:0x0===this['sequenceIndex']?this['currentSequence']===_0x4690ff['TitleEnd']?this['decodeEntities']&&_0x32381c===_0xa47cc0['Amp']&&this['startEntity']():this['fastForwardTo'](_0xa47cc0['Lt'])&&(this['sequenceIndex']=0x1):this['sequenceIndex']=Number(_0x32381c===_0xa47cc0['Lt']);}['stateCDATASequence'](_0x5009e9){_0x5009e9===_0x4690ff['Cdata'][this['sequenceIndex']]?++this['sequenceIndex']===_0x4690ff['Cdata']['length']&&(this['state']=State['InCommentLike'],this['currentSequence']=_0x4690ff['CdataEnd'],this['sequenceIndex']=0x0,this['sectionStart']=this['index']+0x1):(this['sequenceIndex']=0x0,this['state']=State['InDeclaration'],this['stateInDeclaration'](_0x5009e9));}['fastForwardTo'](_0x5de26e){for(;++this['index']<this['buffer']['length']+this['offset'];)if(this['buffer']['charCodeAt'](this['index']-this['offset'])===_0x5de26e)return!0x0;return this['index']=this['buffer']['length']+this['offset']-0x1,!0x1;}['stateInCommentLike'](_0x37061c){_0x37061c===this['currentSequence'][this['sequenceIndex']]?++this['sequenceIndex']===this['currentSequence']['length']&&(this['currentSequence']===_0x4690ff['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):_0x37061c!==this['currentSequence'][this['sequenceIndex']-0x1]&&(this['sequenceIndex']=0x0);}['isTagStartChar'](_0x3b361f){return this['xmlMode']?!isEndOfTagSection(_0x3b361f):_0x1993b4(_0x3b361f);}['startSpecial'](_0x444337,_0x1e6590){this['isSpecial']=!0x0,this['currentSequence']=_0x444337,this['sequenceIndex']=_0x1e6590,this['state']=State['SpecialStartSequence'];}['stateBeforeTagName'](_0x4edbe6){if(_0x4edbe6===_0xa47cc0['ExclamationMark'])this['state']=State['BeforeDeclaration'],this['sectionStart']=this['index']+0x1;else{if(_0x4edbe6===_0xa47cc0['Questionmark'])this['state']=State['InProcessingInstruction'],this['sectionStart']=this['index']+0x1;else{if(this['isTagStartChar'](_0x4edbe6)){const _0x5ef091=0x20|_0x4edbe6;this['sectionStart']=this['index'],this['xmlMode']?this['state']=State['InTagName']:_0x5ef091===_0x4690ff['ScriptEnd'][0x2]?this['state']=State['BeforeSpecialS']:_0x5ef091===_0x4690ff['TitleEnd'][0x2]||_0x5ef091===_0x4690ff['XmpEnd'][0x2]?this['state']=State['BeforeSpecialT']:this['state']=State['InTagName'];}else _0x4edbe6===_0xa47cc0['Slash']?this['state']=State['BeforeClosingTagName']:(this['state']=State['Text'],this['stateText'](_0x4edbe6));}}}['stateInTagName'](_0x20f4fa){isEndOfTagSection(_0x20f4fa)&&(this['cbs']['onopentagname'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=State['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x20f4fa));}['stateBeforeClosingTagName'](_0x2084c1){isWhitespace(_0x2084c1)||(_0x2084c1===_0xa47cc0['Gt']?this['state']=State['Text']:(this['state']=this['isTagStartChar'](_0x2084c1)?State['InClosingTagName']:State['InSpecialComment'],this['sectionStart']=this['index']));}['stateInClosingTagName'](_0x240098){(_0x240098===_0xa47cc0['Gt']||isWhitespace(_0x240098))&&(this['cbs']['onclosetag'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=State['AfterClosingTagName'],this['stateAfterClosingTagName'](_0x240098));}['stateAfterClosingTagName'](_0x515f0d){(_0x515f0d===_0xa47cc0['Gt']||this['fastForwardTo'](_0xa47cc0['Gt']))&&(this['state']=State['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeAttributeName'](_0x560943){_0x560943===_0xa47cc0['Gt']?(this['cbs']['onopentagend'](this['index']),this['isSpecial']?(this['state']=State['InSpecialTag'],this['sequenceIndex']=0x0):this['state']=State['Text'],this['sectionStart']=this['index']+0x1):_0x560943===_0xa47cc0['Slash']?this['state']=State['InSelfClosingTag']:isWhitespace(_0x560943)||(this['state']=State['InAttributeName'],this['sectionStart']=this['index']);}['stateInSelfClosingTag'](_0x23e48b){_0x23e48b===_0xa47cc0['Gt']?(this['cbs']['onselfclosingtag'](this['index']),this['state']=State['Text'],this['sectionStart']=this['index']+0x1,this['isSpecial']=!0x1):isWhitespace(_0x23e48b)||(this['state']=State['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x23e48b));}['stateInAttributeName'](_0x37ab3e){(_0x37ab3e===_0xa47cc0['Eq']||isEndOfTagSection(_0x37ab3e))&&(this['cbs']['onattribname'](this['sectionStart'],this['index']),this['sectionStart']=this['index'],this['state']=State['AfterAttributeName'],this['stateAfterAttributeName'](_0x37ab3e));}['stateAfterAttributeName'](_0x4dd22d){_0x4dd22d===_0xa47cc0['Eq']?this['state']=State['BeforeAttributeValue']:_0x4dd22d===_0xa47cc0['Slash']||_0x4dd22d===_0xa47cc0['Gt']?(this['cbs']['onattribend'](QuoteType['NoValue'],this['sectionStart']),this['sectionStart']=-0x1,this['state']=State['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x4dd22d)):isWhitespace(_0x4dd22d)||(this['cbs']['onattribend'](QuoteType['NoValue'],this['sectionStart']),this['state']=State['InAttributeName'],this['sectionStart']=this['index']);}['stateBeforeAttributeValue'](_0x2b0f15){_0x2b0f15===_0xa47cc0['DoubleQuote']?(this['state']=State['InAttributeValueDq'],this['sectionStart']=this['index']+0x1):_0x2b0f15===_0xa47cc0['SingleQuote']?(this['state']=State['InAttributeValueSq'],this['sectionStart']=this['index']+0x1):isWhitespace(_0x2b0f15)||(this['sectionStart']=this['index'],this['state']=State['InAttributeValueNq'],this['stateInAttributeValueNoQuotes'](_0x2b0f15));}['handleInAttributeValue'](_0x1bcd96,_0x3437c0){_0x1bcd96===_0x3437c0||!this['decodeEntities']&&this['fastForwardTo'](_0x3437c0)?(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['cbs']['onattribend'](_0x3437c0===_0xa47cc0['DoubleQuote']?QuoteType['Double']:QuoteType['Single'],this['index']+0x1),this['state']=State['BeforeAttributeName']):this['decodeEntities']&&_0x1bcd96===_0xa47cc0['Amp']&&this['startEntity']();}['stateInAttributeValueDoubleQuotes'](_0x22ec86){this['handleInAttributeValue'](_0x22ec86,_0xa47cc0['DoubleQuote']);}['stateInAttributeValueSingleQuotes'](_0x4bbbd3){this['handleInAttributeValue'](_0x4bbbd3,_0xa47cc0['SingleQuote']);}['stateInAttributeValueNoQuotes'](_0x3ff4c8){isWhitespace(_0x3ff4c8)||_0x3ff4c8===_0xa47cc0['Gt']?(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['cbs']['onattribend'](QuoteType['Unquoted'],this['index']),this['state']=State['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x3ff4c8)):this['decodeEntities']&&_0x3ff4c8===_0xa47cc0['Amp']&&this['startEntity']();}['stateBeforeDeclaration'](_0x2c4cdc){_0x2c4cdc===_0xa47cc0['OpeningSquareBracket']?(this['state']=State['CDATASequence'],this['sequenceIndex']=0x0):this['state']=_0x2c4cdc===_0xa47cc0['Dash']?State['BeforeComment']:State['InDeclaration'];}['stateInDeclaration'](_0x284093){(_0x284093===_0xa47cc0['Gt']||this['fastForwardTo'](_0xa47cc0['Gt']))&&(this['cbs']['ondeclaration'](this['sectionStart'],this['index']),this['state']=State['Text'],this['sectionStart']=this['index']+0x1);}['stateInProcessingInstruction'](_0x3743da){(_0x3743da===_0xa47cc0['Gt']||this['fastForwardTo'](_0xa47cc0['Gt']))&&(this['cbs']['onprocessinginstruction'](this['sectionStart'],this['index']),this['state']=State['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeComment'](_0x54ae56){_0x54ae56===_0xa47cc0['Dash']?(this['state']=State['InCommentLike'],this['currentSequence']=_0x4690ff['CommentEnd'],this['sequenceIndex']=0x2,this['sectionStart']=this['index']+0x1):this['state']=State['InDeclaration'];}['stateInSpecialComment'](_0x588c52){(_0x588c52===_0xa47cc0['Gt']||this['fastForwardTo'](_0xa47cc0['Gt']))&&(this['cbs']['oncomment'](this['sectionStart'],this['index'],0x0),this['state']=State['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeSpecialS'](_0x2d9572){const _0x1f7550=0x20|_0x2d9572;_0x1f7550===_0x4690ff['ScriptEnd'][0x3]?this['startSpecial'](_0x4690ff['ScriptEnd'],0x4):_0x1f7550===_0x4690ff['StyleEnd'][0x3]?this['startSpecial'](_0x4690ff['StyleEnd'],0x4):(this['state']=State['InTagName'],this['stateInTagName'](_0x2d9572));}['stateBeforeSpecialT'](_0x29fcdf){switch(0x20|_0x29fcdf){case _0x4690ff['TitleEnd'][0x3]:this['startSpecial'](_0x4690ff['TitleEnd'],0x4);break;case _0x4690ff['TextareaEnd'][0x3]:this['startSpecial'](_0x4690ff['TextareaEnd'],0x4);break;case _0x4690ff['XmpEnd'][0x3]:this['startSpecial'](_0x4690ff['XmpEnd'],0x4);break;default:this['state']=State['InTagName'],this['stateInTagName'](_0x29fcdf);}}['startEntity'](){this['baseState']=this['state'],this['state']=State['InEntity'],this['entityStart']=this['index'],this['entityDecoder']['startEntity'](this['xmlMode']?_0x1c92e3['Strict']:this['baseState']===State['Text']||this['baseState']===State['InSpecialTag']?_0x1c92e3['Legacy']:_0x1c92e3['Attribute']);}['stateInEntity'](){const _0x174f70=this['entityDecoder']['write'](this['buffer'],this['index']-this['offset']);_0x174f70>=0x0?(this['state']=this['baseState'],0x0===_0x174f70&&(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 _0x19b10c=this['buffer']['charCodeAt'](this['index']-this['offset']);switch(this['state']){case State['Text']:this['stateText'](_0x19b10c);break;case State['SpecialStartSequence']:this['stateSpecialStartSequence'](_0x19b10c);break;case State['InSpecialTag']:this['stateInSpecialTag'](_0x19b10c);break;case State['CDATASequence']:this['stateCDATASequence'](_0x19b10c);break;case State['InAttributeValueDq']:this['stateInAttributeValueDoubleQuotes'](_0x19b10c);break;case State['InAttributeName']:this['stateInAttributeName'](_0x19b10c);break;case State['InCommentLike']:this['stateInCommentLike'](_0x19b10c);break;case State['InSpecialComment']:this['stateInSpecialComment'](_0x19b10c);break;case State['BeforeAttributeName']:this['stateBeforeAttributeName'](_0x19b10c);break;case State['InTagName']:this['stateInTagName'](_0x19b10c);break;case State['InClosingTagName']:this['stateInClosingTagName'](_0x19b10c);break;case State['BeforeTagName']:this['stateBeforeTagName'](_0x19b10c);break;case State['AfterAttributeName']:this['stateAfterAttributeName'](_0x19b10c);break;case State['InAttributeValueSq']:this['stateInAttributeValueSingleQuotes'](_0x19b10c);break;case State['BeforeAttributeValue']:this['stateBeforeAttributeValue'](_0x19b10c);break;case State['BeforeClosingTagName']:this['stateBeforeClosingTagName'](_0x19b10c);break;case State['AfterClosingTagName']:this['stateAfterClosingTagName'](_0x19b10c);break;case State['BeforeSpecialS']:this['stateBeforeSpecialS'](_0x19b10c);break;case State['BeforeSpecialT']:this['stateBeforeSpecialT'](_0x19b10c);break;case State['InAttributeValueNq']:this['stateInAttributeValueNoQuotes'](_0x19b10c);break;case State['InSelfClosingTag']:this['stateInSelfClosingTag'](_0x19b10c);break;case State['InDeclaration']:this['stateInDeclaration'](_0x19b10c);break;case State['BeforeDeclaration']:this['stateBeforeDeclaration'](_0x19b10c);break;case State['BeforeComment']:this['stateBeforeComment'](_0x19b10c);break;case State['InProcessingInstruction']:this['stateInProcessingInstruction'](_0x19b10c);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 _0x36013b=this['buffer']['length']+this['offset'];this['sectionStart']>=_0x36013b||(this['state']===State['InCommentLike']?this['currentSequence']===_0x4690ff['CdataEnd']?this['cbs']['oncdata'](this['sectionStart'],_0x36013b,0x0):this['cbs']['oncomment'](this['sectionStart'],_0x36013b,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'],_0x36013b));}['emitCodePoint'](_0x2ced17,_0x35174d){this['baseState']!==State['Text']&&this['baseState']!==State['InSpecialTag']?(this['sectionStart']<this['entityStart']&&this['cbs']['onattribdata'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0x35174d,this['index']=this['sectionStart']-0x1,this['cbs']['onattribentity'](_0x2ced17)):(this['sectionStart']<this['entityStart']&&this['cbs']['ontext'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0x35174d,this['index']=this['sectionStart']-0x1,this['cbs']['ontextentity'](_0x2ced17,this['sectionStart']));}}const _0x81694f=new Set(['input','option','optgroup','select','button','datalist','textarea']),_0xba07d9=new Set(['p']),tableSectionTags=new Set(['thead','tbody']),ddtTags=new Set(['dd','dt']),rtpTags=new Set(['rt','rp']),_0x40de9b=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',_0xba07d9],['h1',_0xba07d9],['h2',_0xba07d9],['h3',_0xba07d9],['h4',_0xba07d9],['h5',_0xba07d9],['h6',_0xba07d9],['select',_0x81694f],['input',_0x81694f],['output',_0x81694f],['button',_0x81694f],['datalist',_0x81694f],['textarea',_0x81694f],['option',new Set(['option'])],['optgroup',new Set(['optgroup','option'])],['dd',ddtTags],['dt',ddtTags],['address',_0xba07d9],['article',_0xba07d9],['aside',_0xba07d9],['blockquote',_0xba07d9],['details',_0xba07d9],['div',_0xba07d9],['dl',_0xba07d9],['fieldset',_0xba07d9],['figcaption',_0xba07d9],['figure',_0xba07d9],['footer',_0xba07d9],['form',_0xba07d9],['header',_0xba07d9],['hr',_0xba07d9],['main',_0xba07d9],['nav',_0xba07d9],['ol',_0xba07d9],['pre',_0xba07d9],['section',_0xba07d9],['table',_0xba07d9],['ul',_0xba07d9],['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']),_0x4c352f=/\s|\//;let _0x50bae3=class{constructor(_0x307842,_0x52e598={}){var _0xe04f20,_0x25f343,_0x4b1093,_0xce79f,_0x6f527b,_0x38f514;this['options']=_0x52e598,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!=_0x307842?_0x307842:{},this['htmlMode']=!this['options']['xmlMode'],this['lowerCaseTagNames']=null!==(_0xe04f20=_0x52e598['lowerCaseTags'])&&void 0x0!==_0xe04f20?_0xe04f20:this['htmlMode'],this['lowerCaseAttributeNames']=null!==(_0x25f343=_0x52e598['lowerCaseAttributeNames'])&&void 0x0!==_0x25f343?_0x25f343:this['htmlMode'],this['recognizeSelfClosing']=null!==(_0x4b1093=_0x52e598['recognizeSelfClosing'])&&void 0x0!==_0x4b1093?_0x4b1093:!this['htmlMode'],this['tokenizer']=new(null!==(_0xce79f=_0x52e598['Tokenizer'])&&void 0x0!==_0xce79f?_0xce79f:_0x5e190f)(this['options'],this),this['foreignContext']=[!this['htmlMode']],null===(_0x38f514=(_0x6f527b=this['cbs'])['onparserinit'])||void 0x0===_0x38f514||_0x38f514['call'](_0x6f527b,this);}['ontext'](_0x56a33b,_0x1ea249){var _0x205283,_0x56984c;const _0x33ce8f=this['getSlice'](_0x56a33b,_0x1ea249);this['endIndex']=_0x1ea249-0x1,null===(_0x56984c=(_0x205283=this['cbs'])['ontext'])||void 0x0===_0x56984c||_0x56984c['call'](_0x205283,_0x33ce8f),this['startIndex']=_0x1ea249;}['ontextentity'](_0x1baa97,_0x28a5ac){var _0xc24c2b,_0x254c3f;this['endIndex']=_0x28a5ac-0x1,null===(_0x254c3f=(_0xc24c2b=this['cbs'])['ontext'])||void 0x0===_0x254c3f||_0x254c3f['call'](_0xc24c2b,fromCodePoint$1(_0x1baa97)),this['startIndex']=_0x28a5ac;}['isVoidElement'](_0x4966e3){return this['htmlMode']&&voidElements['has'](_0x4966e3);}['onopentagname'](_0x13a532,_0x4f0fa4){this['endIndex']=_0x4f0fa4;let _0x45f533=this['getSlice'](_0x13a532,_0x4f0fa4);this['lowerCaseTagNames']&&(_0x45f533=_0x45f533['toLowerCase']()),this['emitOpenTag'](_0x45f533);}['emitOpenTag'](_0x52df3d){var _0x4a8684,_0xae8b39,_0xe4001e,_0xf464c4;this['openTagStart']=this['startIndex'],this['tagname']=_0x52df3d;const _0x57fb37=this['htmlMode']&&_0x40de9b['get'](_0x52df3d);if(_0x57fb37)for(;this['stack']['length']>0x0&&_0x57fb37['has'](this['stack'][0x0]);){const _0x38cd73=this['stack']['shift']();null===(_0xae8b39=(_0x4a8684=this['cbs'])['onclosetag'])||void 0x0===_0xae8b39||_0xae8b39['call'](_0x4a8684,_0x38cd73,!0x0);}this['isVoidElement'](_0x52df3d)||(this['stack']['unshift'](_0x52df3d),this['htmlMode']&&(foreignContextElements['has'](_0x52df3d)?this['foreignContext']['unshift'](!0x0):htmlIntegrationElements['has'](_0x52df3d)&&this['foreignContext']['unshift'](!0x1))),null===(_0xf464c4=(_0xe4001e=this['cbs'])['onopentagname'])||void 0x0===_0xf464c4||_0xf464c4['call'](_0xe4001e,_0x52df3d),this['cbs']['onopentag']&&(this['attribs']={});}['endOpenTag'](_0x264b1c){var _0x528732,_0x433cf3;this['startIndex']=this['openTagStart'],this['attribs']&&(null===(_0x433cf3=(_0x528732=this['cbs'])['onopentag'])||void 0x0===_0x433cf3||_0x433cf3['call'](_0x528732,this['tagname'],this['attribs'],_0x264b1c),this['attribs']=null),this['cbs']['onclosetag']&&this['isVoidElement'](this['tagname'])&&this['cbs']['onclosetag'](this['tagname'],!0x0),this['tagname']='';}['onopentagend'](_0x334c41){this['endIndex']=_0x334c41,this['endOpenTag'](!0x1),this['startIndex']=_0x334c41+0x1;}['onclosetag'](_0x5ea273,_0x51e8d9){var _0x34fe57,_0x200d6e,_0x3eeafb,_0x12f126,_0x85ecac,_0x259fcc,_0x5088d3,_0x170931;this['endIndex']=_0x51e8d9;let _0x843eaa=this['getSlice'](_0x5ea273,_0x51e8d9);if(this['lowerCaseTagNames']&&(_0x843eaa=_0x843eaa['toLowerCase']()),this['htmlMode']&&(foreignContextElements['has'](_0x843eaa)||htmlIntegrationElements['has'](_0x843eaa))&&this['foreignContext']['shift'](),this['isVoidElement'](_0x843eaa))this['htmlMode']&&'br'===_0x843eaa&&(null===(_0x12f126=(_0x3eeafb=this['cbs'])['onopentagname'])||void 0x0===_0x12f126||_0x12f126['call'](_0x3eeafb,'br'),null===(_0x259fcc=(_0x85ecac=this['cbs'])['onopentag'])||void 0x0===_0x259fcc||_0x259fcc['call'](_0x85ecac,'br',{},!0x0),null===(_0x170931=(_0x5088d3=this['cbs'])['onclosetag'])||void 0x0===_0x170931||_0x170931['call'](_0x5088d3,'br',!0x1));else{const _0x4adb93=this['stack']['indexOf'](_0x843eaa);if(-0x1!==_0x4adb93)for(let _0x140968=0x0;_0x140968<=_0x4adb93;_0x140968++){const _0x5b63de=this['stack']['shift']();null===(_0x200d6e=(_0x34fe57=this['cbs'])['onclosetag'])||void 0x0===_0x200d6e||_0x200d6e['call'](_0x34fe57,_0x5b63de,_0x140968!==_0x4adb93);}else this['htmlMode']&&'p'===_0x843eaa&&(this['emitOpenTag']('p'),this['closeCurrentTag'](!0x0));}this['startIndex']=_0x51e8d9+0x1;}['onselfclosingtag'](_0x3344f7){this['endIndex']=_0x3344f7,this['recognizeSelfClosing']||this['foreignContext'][0x0]?(this['closeCurrentTag'](!0x1),this['startIndex']=_0x3344f7+0x1):this['onopentagend'](_0x3344f7);}['closeCurrentTag'](_0x1a18f3){var _0x2742fa,_0x21f321;const _0x434354=this['tagname'];this['endOpenTag'](_0x1a18f3),this['stack'][0x0]===_0x434354&&(null===(_0x21f321=(_0x2742fa=this['cbs'])['onclosetag'])||void 0x0===_0x21f321||_0x21f321['call'](_0x2742fa,_0x434354,!_0x1a18f3),this['stack']['shift']());}['onattribname'](_0x530791,_0x367437){this['startIndex']=_0x530791;const _0x3d9499=this['getSlice'](_0x530791,_0x367437);this['attribname']=this['lowerCaseAttributeNames']?_0x3d9499['toLowerCase']():_0x3d9499;}['onattribdata'](_0x3f6a4e,_0x22bdfc){this['attribvalue']+=this['getSlice'](_0x3f6a4e,_0x22bdfc);}['onattribentity'](_0x2b5a53){this['attribvalue']+=fromCodePoint$1(_0x2b5a53);}['onattribend'](_0x328c0c,_0x51359f){var _0x48e3be,_0x77e240;this['endIndex']=_0x51359f,null===(_0x77e240=(_0x48e3be=this['cbs'])['onattribute'])||void 0x0===_0x77e240||_0x77e240['call'](_0x48e3be,this['attribname'],this['attribvalue'],_0x328c0c===QuoteType['Double']?'\x22':_0x328c0c===QuoteType['Single']?'\x27':_0x328c0c===QuoteType['NoValue']?void 0x0:null),this['attribs']&&!Object['prototype']['hasOwnProperty']['call'](this['attribs'],this['attribname'])&&(this['attribs'][this['attribname']]=this['attribvalue']),this['attribvalue']='';}['getInstructionName'](_0x45a39e){const _0x5b503a=_0x45a39e['search'](_0x4c352f);let _0x36af0a=_0x5b503a<0x0?_0x45a39e:_0x45a39e['substr'](0x0,_0x5b503a);return this['lowerCaseTagNames']&&(_0x36af0a=_0x36af0a['toLowerCase']()),_0x36af0a;}['ondeclaration'](_0x256556,_0x53adf7){this['endIndex']=_0x53adf7;const _0x545dce=this['getSlice'](_0x256556,_0x53adf7);if(this['cbs']['onprocessinginstruction']){const _0x216327=this['getInstructionName'](_0x545dce);this['cbs']['onprocessinginstruction']('!'+_0x216327,'!'+_0x545dce);}this['startIndex']=_0x53adf7+0x1;}['onprocessinginstruction'](_0xb81db0,_0x295088){this['endIndex']=_0x295088;const _0x2876d5=this['getSlice'](_0xb81db0,_0x295088);if(this['cbs']['onprocessinginstruction']){const _0x223fe3=this['getInstructionName'](_0x2876d5);this['cbs']['onprocessinginstruction']('?'+_0x223fe3,'?'+_0x2876d5);}this['startIndex']=_0x295088+0x1;}['oncomment'](_0x429520,_0x58ce88,_0x55ef44){var _0x1faabf,_0x269887,_0x2cb92d,_0x4b7bf9;this['endIndex']=_0x58ce88,null===(_0x269887=(_0x1faabf=this['cbs'])['oncomment'])||void 0x0===_0x269887||_0x269887['call'](_0x1faabf,this['getSlice'](_0x429520,_0x58ce88-_0x55ef44)),null===(_0x4b7bf9=(_0x2cb92d=this['cbs'])['oncommentend'])||void 0x0===_0x4b7bf9||_0x4b7bf9['call'](_0x2cb92d),this['startIndex']=_0x58ce88+0x1;}['oncdata'](_0xa6cec7,_0x5930ca,_0x313c80){var _0x1ae985,_0x554f27,_0x2a8b34,_0xaf35cf,_0x3bff75,_0x33204d,_0x1c9964,_0xa8d7b2,_0x39cdb2,_0x2899e2;this['endIndex']=_0x5930ca;const _0x27a8de=this['getSlice'](_0xa6cec7,_0x5930ca-_0x313c80);!this['htmlMode']||this['options']['recognizeCDATA']?(null===(_0x554f27=(_0x1ae985=this['cbs'])['oncdatastart'])||void 0x0===_0x554f27||_0x554f27['call'](_0x1ae985),null===(_0xaf35cf=(_0x2a8b34=this['cbs'])['ontext'])||void 0x0===_0xaf35cf||_0xaf35cf['call'](_0x2a8b34,_0x27a8de),null===(_0x33204d=(_0x3bff75=this['cbs'])['oncdataend'])||void 0x0===_0x33204d||_0x33204d['call'](_0x3bff75)):(null===(_0xa8d7b2=(_0x1c9964=this['cbs'])['oncomment'])||void 0x0===_0xa8d7b2||_0xa8d7b2['call'](_0x1c9964,'[CDATA['+_0x27a8de+']]'),null===(_0x2899e2=(_0x39cdb2=this['cbs'])['oncommentend'])||void 0x0===_0x2899e2||_0x2899e2['call'](_0x39cdb2)),this['startIndex']=_0x5930ca+0x1;}['onend'](){var _0xd9f5d6,_0x5082c3;if(this['cbs']['onclosetag']){this['endIndex']=this['startIndex'];for(let _0x423f1e=0x0;_0x423f1e<this['stack']['length'];_0x423f1e++)this['cbs']['onclosetag'](this['stack'][_0x423f1e],!0x0);}null===(_0x5082c3=(_0xd9f5d6=this['cbs'])['onend'])||void 0x0===_0x5082c3||_0x5082c3['call'](_0xd9f5d6);}['reset'](){var _0x399c0e,_0x2befdb,_0x5d4868,_0x3b9b37;null===(_0x2befdb=(_0x399c0e=this['cbs'])['onreset'])||void 0x0===_0x2befdb||_0x2befdb['call'](_0x399c0e),this['tokenizer']['reset'](),this['tagname']='',this['attribname']='',this['attribs']=null,this['stack']['length']=0x0,this['startIndex']=0x0,this['endIndex']=0x0,null===(_0x3b9b37=(_0x5d4868=this['cbs'])['onparserinit'])||void 0x0===_0x3b9b37||_0x3b9b37['call'](_0x5d4868,this),this['buffers']['length']=0x0,this['foreignContext']['length']=0x0,this['foreignContext']['unshift'](!this['htmlMode']),this['bufferOffset']=0x0,this['writeIndex']=0x0,this['ended']=!0x1;}['parseComplete'](_0x82bc38){this['reset'](),this['end'](_0x82bc38);}['getSlice'](_0x191dad,_0x3eab90){for(;_0x191dad-this['bufferOffset']>=this['buffers'][0x0]['length'];)this['shiftBuffer']();let _0x4ec17c=this['buffers'][0x0]['slice'](_0x191dad-this['bufferOffset'],_0x3eab90-this['bufferOffset']);for(;_0x3eab90-this['bufferOffset']>this['buffers'][0x0]['length'];)this['shiftBuffer'](),_0x4ec17c+=this['buffers'][0x0]['slice'](0x0,_0x3eab90-this['bufferOffset']);return _0x4ec17c;}['shiftBuffer'](){this['bufferOffset']+=this['buffers'][0x0]['length'],this['writeIndex']--,this['buffers']['shift']();}['write'](_0x1d977e){var _0x35902a,_0xeafb7f;this['ended']?null===(_0xeafb7f=(_0x35902a=this['cbs'])['onerror'])||void 0x0===_0xeafb7f||_0xeafb7f['call'](_0x35902a,new Error('.write()\x20after\x20done!')):(this['buffers']['push'](_0x1d977e),this['tokenizer']['running']&&(this['tokenizer']['write'](_0x1d977e),this['writeIndex']++));}['end'](_0x30af51){var _0x4d5f2c,_0xd0039;this['ended']?null===(_0xd0039=(_0x4d5f2c=this['cbs'])['onerror'])||void 0x0===_0xd0039||_0xd0039['call'](_0x4d5f2c,new Error('.end()\x20after\x20done!')):(_0x30af51&&this['write'](_0x30af51),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'](_0x16e440){this['write'](_0x16e440);}['done'](_0x54433e){this['end'](_0x54433e);}};var ElementType;function _0x3d96c9(_0x26e275){return _0x26e275['type']===ElementType['Tag']||_0x26e275['type']===ElementType['Script']||_0x26e275['type']===ElementType['Style'];}!function(_0x4a0d77){_0x4a0d77['Root']='root',_0x4a0d77['Text']='text',_0x4a0d77['Directive']='directive',_0x4a0d77['Comment']='comment',_0x4a0d77['Script']='script',_0x4a0d77['Style']='style',_0x4a0d77['Tag']='tag',_0x4a0d77['CDATA']='cdata',_0x4a0d77['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'],_0xe5dc2=ElementType['Tag'],_0x1cca57=ElementType['CDATA'],Doctype=ElementType['Doctype'];let _0xc474a=class{constructor(){this['parent']=null,this['prev']=null,this['next']=null,this['startIndex']=null,this['endIndex']=null;}get['parentNode'](){return this['parent'];}set['parentNode'](_0x8da0bc){this['parent']=_0x8da0bc;}get['previousSibling'](){return this['prev'];}set['previousSibling'](_0x117fd1){this['prev']=_0x117fd1;}get['nextSibling'](){return this['next'];}set['nextSibling'](_0x2d40b9){this['next']=_0x2d40b9;}['cloneNode'](_0x46914c=!0x1){return _0x4c9115(this,_0x46914c);}};class DataNode extends _0xc474a{constructor(_0x39f4df){super(),this['data']=_0x39f4df;}get['nodeValue'](){return this['data'];}set['nodeValue'](_0x293ed6){this['data']=_0x293ed6;}}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(_0x4a08b7,_0x3425d5){super(_0x3425d5),this['name']=_0x4a08b7,this['type']=ElementType['Directive'];}get['nodeType'](){return 0x1;}}class NodeWithChildren extends _0xc474a{constructor(_0xd2fbb1){super(),this['children']=_0xd2fbb1;}get['firstChild'](){var _0x5eaeee;return null!==(_0x5eaeee=this['children'][0x0])&&void 0x0!==_0x5eaeee?_0x5eaeee:null;}get['lastChild'](){return this['children']['length']>0x0?this['children'][this['children']['length']-0x1]:null;}get['childNodes'](){return this['children'];}set['childNodes'](_0x140096){this['children']=_0x140096;}}class _0x3de72a 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(_0x5bc5e3,_0x2aea9d,_0x1b700c=[],_0x220f7e='script'===_0x5bc5e3?ElementType['Script']:'style'===_0x5bc5e3?ElementType['Style']:ElementType['Tag']){super(_0x1b700c),this['name']=_0x5bc5e3,this['attribs']=_0x2aea9d,this['type']=_0x220f7e;}get['nodeType'](){return 0x1;}get['tagName'](){return this['name'];}set['tagName'](_0x1ecbd5){this['name']=_0x1ecbd5;}get['attributes'](){return Object['keys'](this['attribs'])['map'](_0x358e39=>{var _0x417ee7,_0x4016ae;return{'name':_0x358e39,'value':this['attribs'][_0x358e39],'namespace':null===(_0x417ee7=this['x-attribsNamespace'])||void 0x0===_0x417ee7?void 0x0:_0x417ee7[_0x358e39],'prefix':null===(_0x4016ae=this['x-attribsPrefix'])||void 0x0===_0x4016ae?void 0x0:_0x4016ae[_0x358e39]};});}};function _0x3199f3(_0x1b4997){return _0x3d96c9(_0x1b4997);}function _0x1fdd14(_0x1391f5){return _0x1391f5['type']===ElementType['CDATA'];}function isText$1(_0x407447){return _0x407447['type']===ElementType['Text'];}function isComment(_0x1c0730){return _0x1c0730['type']===ElementType['Comment'];}function isDirective(_0xd41704){return _0xd41704['type']===ElementType['Directive'];}function isDocument(_0x196503){return _0x196503['type']===ElementType['Root'];}function _0x3b4486(_0x33c48e){return Object['prototype']['hasOwnProperty']['call'](_0x33c48e,'children');}function _0x4c9115(_0xc835a2,_0x46fe09=!0x1){let _0x2a850f;if(isText$1(_0xc835a2))_0x2a850f=new Text$1(_0xc835a2['data']);else{if(isComment(_0xc835a2))_0x2a850f=new Comment$1(_0xc835a2['data']);else{if(_0x3199f3(_0xc835a2)){const _0x135bd5=_0x46fe09?_0xa7073d(_0xc835a2['children']):[],_0xfa3e6b=new Element$3(_0xc835a2['name'],{..._0xc835a2['attribs']},_0x135bd5);_0x135bd5['forEach'](_0x48d4d9=>_0x48d4d9['parent']=_0xfa3e6b),null!=_0xc835a2['namespace']&&(_0xfa3e6b['namespace']=_0xc835a2['namespace']),_0xc835a2['x-attribsNamespace']&&(_0xfa3e6b['x-attribsNamespace']={..._0xc835a2['x-attribsNamespace']}),_0xc835a2['x-attribsPrefix']&&(_0xfa3e6b['x-attribsPrefix']={..._0xc835a2['x-attribsPrefix']}),_0x2a850f=_0xfa3e6b;}else{if(_0x1fdd14(_0xc835a2)){const _0x3605b8=_0x46fe09?_0xa7073d(_0xc835a2['children']):[],_0x2aaa7b=new _0x3de72a(_0x3605b8);_0x3605b8['forEach'](_0x1dcee6=>_0x1dcee6['parent']=_0x2aaa7b),_0x2a850f=_0x2aaa7b;}else{if(isDocument(_0xc835a2)){const _0x218c82=_0x46fe09?_0xa7073d(_0xc835a2['children']):[],_0x55d428=new Document(_0x218c82);_0x218c82['forEach'](_0x2cc69d=>_0x2cc69d['parent']=_0x55d428),_0xc835a2['x-mode']&&(_0x55d428['x-mode']=_0xc835a2['x-mode']),_0x2a850f=_0x55d428;}else{if(!isDirective(_0xc835a2))throw new Error('Not\x20implemented\x20yet:\x20'+_0xc835a2['type']);{const _0x5aba58=new ProcessingInstruction(_0xc835a2['name'],_0xc835a2['data']);null!=_0xc835a2['x-name']&&(_0x5aba58['x-name']=_0xc835a2['x-name'],_0x5aba58['x-publicId']=_0xc835a2['x-publicId'],_0x5aba58['x-systemId']=_0xc835a2['x-systemId']),_0x2a850f=_0x5aba58;}}}}}}return _0x2a850f['startIndex']=_0xc835a2['startIndex'],_0x2a850f['endIndex']=_0xc835a2['endIndex'],null!=_0xc835a2['sourceCodeLocation']&&(_0x2a850f['sourceCodeLocation']=_0xc835a2['sourceCodeLocation']),_0x2a850f;}function _0xa7073d(_0x5b175a){const _0x492234=_0x5b175a['map'](_0x13b136=>_0x4c9115(_0x13b136,!0x0));for(let _0x1cb090=0x1;_0x1cb090<_0x492234['length'];_0x1cb090++)_0x492234[_0x1cb090]['prev']=_0x492234[_0x1cb090-0x1],_0x492234[_0x1cb090-0x1]['next']=_0x492234[_0x1cb090];return _0x492234;}const defaultOpts={'withStartIndices':!0x1,'withEndIndices':!0x1,'xmlMode':!0x1};class _0x3c3359{constructor(_0x126751,_0x3ceed7,_0x2e1923){this['dom']=[],this['root']=new Document(this['dom']),this['done']=!0x1,this['tagStack']=[this['root']],this['lastNode']=null,this['parser']=null,'function'==typeof _0x3ceed7&&(_0x2e1923=_0x3ceed7,_0x3ceed7=defaultOpts),'object'==typeof _0x126751&&(_0x3ceed7=_0x126751,_0x126751=void 0x0),this['callback']=null!=_0x126751?_0x126751:null,this['options']=null!=_0x3ceed7?_0x3ceed7:defaultOpts,this['elementCB']=null!=_0x2e1923?_0x2e1923:null;}['onparserinit'](_0xcee876){this['parser']=_0xcee876;}['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'](_0x355041){this['handleCallback'](_0x355041);}['onclosetag'](){this['lastNode']=null;const _0x17be81=this['tagStack']['pop']();this['options']['withEndIndices']&&(_0x17be81['endIndex']=this['parser']['endIndex']),this['elementCB']&&this['elementCB'](_0x17be81);}['onopentag'](_0x4b6768,_0x3a10df){const _0x23a217=this['options']['xmlMode']?ElementType['Tag']:void 0x0,_0x212f99=new Element$3(_0x4b6768,_0x3a10df,void 0x0,_0x23a217);this['addNode'](_0x212f99),this['tagStack']['push'](_0x212f99);}['ontext'](_0x584468){const {lastNode:_0x2a8bc7}=this;if(_0x2a8bc7&&_0x2a8bc7['type']===ElementType['Text'])_0x2a8bc7['data']+=_0x584468,this['options']['withEndIndices']&&(_0x2a8bc7['endIndex']=this['parser']['endIndex']);else{const _0x22df49=new Text$1(_0x584468);this['addNode'](_0x22df49),this['lastNode']=_0x22df49;}}['oncomment'](_0x1ec573){if(this['lastNode']&&this['lastNode']['type']===ElementType['Comment'])return void(this['lastNode']['data']+=_0x1ec573);const _0x128097=new Comment$1(_0x1ec573);this['addNode'](_0x128097),this['lastNode']=_0x128097;}['oncommentend'](){this['lastNode']=null;}['oncdatastart'](){const _0x271940=new Text$1(''),_0x510729=new _0x3de72a([_0x271940]);this['addNode'](_0x510729),_0x271940['parent']=_0x510729,this['lastNode']=_0x271940;}['oncdataend'](){this['lastNode']=null;}['onprocessinginstruction'](_0xa0b3f3,_0x2bd7b5){const _0xfe9703=new ProcessingInstruction(_0xa0b3f3,_0x2bd7b5);this['addNode'](_0xfe9703);}['handleCallback'](_0x4e7e8c){if('function'==typeof this['callback'])this['callback'](_0x4e7e8c,this['dom']);else{if(_0x4e7e8c)throw _0x4e7e8c;}}['addNode'](_0x472b14){const _0x436166=this['tagStack'][this['tagStack']['length']-0x1],_0x461224=_0x436166['children'][_0x436166['children']['length']-0x1];this['options']['withStartIndices']&&(_0x472b14['startIndex']=this['parser']['startIndex']),this['options']['withEndIndices']&&(_0x472b14['endIndex']=this['parser']['endIndex']),_0x436166['children']['push'](_0x472b14),_0x461224&&(_0x472b14['prev']=_0x461224,_0x461224['next']=_0x472b14),_0x472b14['parent']=_0x436166,this['lastNode']=null;}}const _0x1e29f2=/["&'<>$\x80-\uFFFF]/g,_0x3e7a43=new Map([[0x22,'&quot;'],[0x26,'&amp;'],[0x27,'&apos;'],[0x3c,'&lt;'],[0x3e,'&gt;']]),getCodePoint=null!=String['prototype']['codePointAt']?(_0x1e687c,_0x3274b8)=>_0x1e687c['codePointAt'](_0x3274b8):(_0x8124d0,_0x1faad4)=>0xd800==(0xfc00&_0x8124d0['charCodeAt'](_0x1faad4))?0x400*(_0x8124d0['charCodeAt'](_0x1faad4)-0xd800)+_0x8124d0['charCodeAt'](_0x1faad4+0x1)-0xdc00+0x10000:_0x8124d0['charCodeAt'](_0x1faad4);function _0xad2ee4(_0x24d500){let _0x1adf0e,_0x263214='',_0x3a4a25=0x0;for(;null!==(_0x1adf0e=_0x1e29f2['exec'](_0x24d500));){const _0x2bd92f=_0x1adf0e['index'],_0x586e70=_0x24d500['charCodeAt'](_0x2bd92f),_0x43f335=_0x3e7a43['get'](_0x586e70);void 0x0!==_0x43f335?(_0x263214+=_0x24d500['substring'](_0x3a4a25,_0x2bd92f)+_0x43f335,_0x3a4a25=_0x2bd92f+0x1):(_0x263214+=_0x24d500['substring'](_0x3a4a25,_0x2bd92f)+'&#x'+getCodePoint(_0x24d500,_0x2bd92f)['toString'](0x10)+';',_0x3a4a25=_0x1e29f2['lastIndex']+=Number(0xd800==(0xfc00&_0x586e70)));}return _0x263214+_0x24d500['substr'](_0x3a4a25);}function getEscaper(_0x2a6ab5,_0x1a5e6d){return function(_0x4466ae){let _0x566747,_0x3a6ec6=0x0,_0x3cf2be='';for(;_0x566747=_0x2a6ab5['exec'](_0x4466ae);)_0x3a6ec6!==_0x566747['index']&&(_0x3cf2be+=_0x4466ae['substring'](_0x3a6ec6,_0x566747['index'])),_0x3cf2be+=_0x1a5e6d['get'](_0x566747[0x0]['charCodeAt'](0x0)),_0x3a6ec6=_0x566747['index']+0x1;return _0x3cf2be+_0x4466ae['substring'](_0x3a6ec6);};}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'](_0x1dce27=>[_0x1dce27['toLowerCase'](),_0x1dce27])),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'](_0x2136eb=>[_0x2136eb['toLowerCase'](),_0x2136eb])),unencodedElements=new Set(['style','script','xmp','iframe','noembed','noframes','plaintext','noscript']);function replaceQuotes(_0x567920){return _0x567920['replace'](/"/g,'&quot;');}function formatAttributes(_0x2ee117,_0x3a3308){var _0x3e727b;if(!_0x2ee117)return;const _0x831fe5=!0x1===(null!==(_0x3e727b=_0x3a3308['encodeEntities'])&&void 0x0!==_0x3e727b?_0x3e727b:_0x3a3308['decodeEntities'])?replaceQuotes:_0x3a3308['xmlMode']||'utf8'!==_0x3a3308['encodeEntities']?_0xad2ee4:escapeAttribute;return Object['keys'](_0x2ee117)['map'](_0x1dd73c=>{var _0x175492,_0x3cb4f2;const _0x2182f7=null!==(_0x175492=_0x2ee117[_0x1dd73c])&&void 0x0!==_0x175492?_0x175492:'';return'foreign'===_0x3a3308['xmlMode']&&(_0x1dd73c=null!==(_0x3cb4f2=attributeNames['get'](_0x1dd73c))&&void 0x0!==_0x3cb4f2?_0x3cb4f2:_0x1dd73c),_0x3a3308['emptyAttrs']||_0x3a3308['xmlMode']||''!==_0x2182f7?_0x1dd73c+'=\x22'+_0x831fe5(_0x2182f7)+'\x22':_0x1dd73c;})['join']('\x20');}const _0x560430=new Set(['area','base','basefont','br','col','command','embed','frame','hr','img','input','isindex','keygen','link','meta','param','source','track','wbr']);function _0x5b5202(_0x22d2f5,_0x255c38={}){const _0x12c51c='length'in _0x22d2f5?_0x22d2f5:[_0x22d2f5];let _0x2a4e52='';for(let _0x1ff7c9=0x0;_0x1ff7c9<_0x12c51c['length'];_0x1ff7c9++)_0x2a4e52+=_0x40720c(_0x12c51c[_0x1ff7c9],_0x255c38);return _0x2a4e52;}function _0x40720c(_0x3dd14e,_0x587423){switch(_0x3dd14e['type']){case Root:return _0x5b5202(_0x3dd14e['children'],_0x587423);case Doctype:case Directive:return renderDirective(_0x3dd14e);case Comment$2:return renderComment(_0x3dd14e);case _0x1cca57:return renderCdata(_0x3dd14e);case Script:case Style:case _0xe5dc2:return _0x240fdc(_0x3dd14e,_0x587423);case Text$2:return renderText(_0x3dd14e,_0x587423);}}const foreignModeIntegrationPoints=new Set(['mi','mo','mn','ms','mtext','annotation-xml','foreignObject','desc','title']),foreignElements=new Set(['svg','math']);function _0x240fdc(_0x34a64f,_0x31965a){var _0x4cd7e9;'foreign'===_0x31965a['xmlMode']&&(_0x34a64f['name']=null!==(_0x4cd7e9=elementNames['get'](_0x34a64f['name']))&&void 0x0!==_0x4cd7e9?_0x4cd7e9:_0x34a64f['name'],_0x34a64f['parent']&&foreignModeIntegrationPoints['has'](_0x34a64f['parent']['name'])&&(_0x31965a={..._0x31965a,'xmlMode':!0x1})),!_0x31965a['xmlMode']&&foreignElements['has'](_0x34a64f['name'])&&(_0x31965a={..._0x31965a,'xmlMode':'foreign'});let _0x494dee='<'+_0x34a64f['name'];const _0x2118f5=formatAttributes(_0x34a64f['attribs'],_0x31965a);return _0x2118f5&&(_0x494dee+='\x20'+_0x2118f5),0x0===_0x34a64f['children']['length']&&(_0x31965a['xmlMode']?!0x1!==_0x31965a['selfClosingTags']:_0x31965a['selfClosingTags']&&_0x560430['has'](_0x34a64f['name']))?(_0x31965a['xmlMode']||(_0x494dee+='\x20'),_0x494dee+='/>'):(_0x494dee+='>',_0x34a64f['children']['length']>0x0&&(_0x494dee+=_0x5b5202(_0x34a64f['children'],_0x31965a)),!_0x31965a['xmlMode']&&_0x560430['has'](_0x34a64f['name'])||(_0x494dee+='</'+_0x34a64f['name']+'>')),_0x494dee;}function renderDirective(_0x517db7){return'<'+_0x517db7['data']+'>';}function renderText(_0xa51b3f,_0x4a7bf3){var _0x412172;let _0x36cc40=_0xa51b3f['data']||'';return!0x1===(null!==(_0x412172=_0x4a7bf3['encodeEntities'])&&void 0x0!==_0x412172?_0x412172:_0x4a7bf3['decodeEntities'])||!_0x4a7bf3['xmlMode']&&_0xa51b3f['parent']&&unencodedElements['has'](_0xa51b3f['parent']['name'])||(_0x36cc40=_0x4a7bf3['xmlMode']||'utf8'!==_0x4a7bf3['encodeEntities']?_0xad2ee4(_0x36cc40):escapeText(_0x36cc40)),_0x36cc40;}function renderCdata(_0x23d8de){return'<![CDATA['+_0x23d8de['children'][0x0]['data']+']]>';}function renderComment(_0x4f3a84){return'<!--'+_0x4f3a84['data']+'-->';}function textContent(_0x11b0fa){return Array['isArray'](_0x11b0fa)?_0x11b0fa['map'](textContent)['join'](''):_0x3b4486(_0x11b0fa)&&!isComment(_0x11b0fa)?textContent(_0x11b0fa['children']):isText$1(_0x11b0fa)?_0x11b0fa['data']:'';}function getChildren$1(_0x49b69d){return _0x3b4486(_0x49b69d)?_0x49b69d['children']:[];}function getParent(_0x4fdc65){return _0x4fdc65['parent']||null;}function removeElement(_0x203eaa){if(_0x203eaa['prev']&&(_0x203eaa['prev']['next']=_0x203eaa['next']),_0x203eaa['next']&&(_0x203eaa['next']['prev']=_0x203eaa['prev']),_0x203eaa['parent']){const _0x550971=_0x203eaa['parent']['children'],_0x10cea5=_0x550971['lastIndexOf'](_0x203eaa);_0x10cea5>=0x0&&_0x550971['splice'](_0x10cea5,0x1);}_0x203eaa['next']=null,_0x203eaa['prev']=null,_0x203eaa['parent']=null;}function replaceElement(_0xfd260f,_0x2dc4b0){const _0x3c2667=_0x2dc4b0['prev']=_0xfd260f['prev'];_0x3c2667&&(_0x3c2667['next']=_0x2dc4b0);const _0xd9d44e=_0x2dc4b0['next']=_0xfd260f['next'];_0xd9d44e&&(_0xd9d44e['prev']=_0x2dc4b0);const _0x3a69e8=_0x2dc4b0['parent']=_0xfd260f['parent'];if(_0x3a69e8){const _0x23b141=_0x3a69e8['children'];_0x23b141[_0x23b141['lastIndexOf'](_0xfd260f)]=_0x2dc4b0,_0xfd260f['parent']=null;}}function _0x53a4f7(_0x994675,_0x43fee3){if(removeElement(_0x43fee3),_0x43fee3['next']=null,_0x43fee3['parent']=_0x994675,_0x994675['children']['push'](_0x43fee3)>0x1){const _0x29682a=_0x994675['children'][_0x994675['children']['length']-0x2];_0x29682a['next']=_0x43fee3,_0x43fee3['prev']=_0x29682a;}else _0x43fee3['prev']=null;}function _0x37bfcd(_0x5e6c1c,_0x5c63b9){removeElement(_0x5c63b9);const {parent:_0x51e792}=_0x5e6c1c,_0xa2eb1a=_0x5e6c1c['next'];if(_0x5c63b9['next']=_0xa2eb1a,_0x5c63b9['prev']=_0x5e6c1c,_0x5e6c1c['next']=_0x5c63b9,_0x5c63b9['parent']=_0x51e792,_0xa2eb1a){if(_0xa2eb1a['prev']=_0x5c63b9,_0x51e792){const _0x113a82=_0x51e792['children'];_0x113a82['splice'](_0x113a82['lastIndexOf'](_0xa2eb1a),0x0,_0x5c63b9);}}else _0x51e792&&_0x51e792['children']['push'](_0x5c63b9);}function _0xa1db2b(_0xfd1e8a,_0x15932c){if(removeElement(_0x15932c),_0x15932c['parent']=_0xfd1e8a,_0x15932c['prev']=null,0x1!==_0xfd1e8a['children']['unshift'](_0x15932c)){const _0x493b20=_0xfd1e8a['children'][0x1];_0x493b20['prev']=_0x15932c,_0x15932c['next']=_0x493b20;}else _0x15932c['next']=null;}function _0x167fd0(_0x2117e5,_0x4d72ae){removeElement(_0x4d72ae);const {parent:_0x2100ee}=_0x2117e5;if(_0x2100ee){const _0x13c2a1=_0x2100ee['children'];_0x13c2a1['splice'](_0x13c2a1['indexOf'](_0x2117e5),0x0,_0x4d72ae);}_0x2117e5['prev']&&(_0x2117e5['prev']['next']=_0x4d72ae),_0x4d72ae['parent']=_0x2100ee,_0x4d72ae['prev']=_0x2117e5['prev'],_0x4d72ae['next']=_0x2117e5,_0x2117e5['prev']=_0x4d72ae;}function _0x5cfde8(_0x3e7480,_0x19206c,_0x4e52d0,_0x3d137a){const _0x1c1451=[],_0x2c8362=[Array['isArray'](_0x19206c)?_0x19206c:[_0x19206c]],_0x27a58f=[0x0];for(;;){if(_0x27a58f[0x0]>=_0x2c8362[0x0]['length']){if(0x1===_0x27a58f['length'])return _0x1c1451;_0x2c8362['shift'](),_0x27a58f['shift']();continue;}const _0xe011c1=_0x2c8362[0x0][_0x27a58f[0x0]++];if(_0x3e7480(_0xe011c1)&&(_0x1c1451['push'](_0xe011c1),--_0x3d137a<=0x0))return _0x1c1451;_0x3b4486(_0xe011c1)&&_0xe011c1['children']['length']>0x0&&(_0x27a58f['unshift'](0x0),_0x2c8362['unshift'](_0xe011c1['children']));}}function _0x8bbd72(_0x5f0eb2,_0x20aebc,_0x4da99c=!0x0){const _0x52fa51=Array['isArray'](_0x20aebc)?_0x20aebc:[_0x20aebc];for(let _0x54ff20=0x0;_0x54ff20<_0x52fa51['length'];_0x54ff20++){const _0x29e9f9=_0x52fa51[_0x54ff20];if(_0x3199f3(_0x29e9f9)&&_0x5f0eb2(_0x29e9f9))return _0x29e9f9;if(_0x4da99c&&_0x3b4486(_0x29e9f9)&&_0x29e9f9['children']['length']>0x0){const _0x4e4e39=_0x8bbd72(_0x5f0eb2,_0x29e9f9['children'],!0x0);if(_0x4e4e39)return _0x4e4e39;}}return null;}function _0x271638(_0x2b2116,_0x5f78d4){const _0x21ebb9=[],_0x1fd6ab=[Array['isArray'](_0x5f78d4)?_0x5f78d4:[_0x5f78d4]],_0x109601=[0x0];for(;;){if(_0x109601[0x0]>=_0x1fd6ab[0x0]['length']){if(0x1===_0x1fd6ab['length'])return _0x21ebb9;_0x1fd6ab['shift'](),_0x109601['shift']();continue;}const _0x12cd81=_0x1fd6ab[0x0][_0x109601[0x0]++];_0x3199f3(_0x12cd81)&&_0x2b2116(_0x12cd81)&&_0x21ebb9['push'](_0x12cd81),_0x3b4486(_0x12cd81)&&_0x12cd81['children']['length']>0x0&&(_0x109601['unshift'](0x0),_0x1fd6ab['unshift'](_0x12cd81['children']));}}function parseDocument(_0xb4732a,_0x23e65f){const _0x3b66d4=new _0x3c3359(void 0x0,_0x23e65f);return new _0x50bae3(_0x3b66d4,_0x23e65f)['end'](_0xb4732a),_0x3b66d4['root'];}function _0x36db76(_0x54e5ae){return parseDocument(_0x54e5ae);}function _0x124bee(_0x26c21e){return _0x5b5202(_0x26c21e);}function findByAttribute(_0x11a810,_0x1ea22f,_0x3e9a07){const _0x37e96c=null!==_0x1ea22f?_0x4d0eec=>_0x4d0eec['attribs'][_0x11a810]===_0x1ea22f:_0x51c3a3=>Boolean(_0x51c3a3['attribs'][_0x11a810]);return _0x8bbd72(_0x13fd91=>_0x3199f3(_0x13fd91)&&_0x37e96c(_0x13fd91),_0x3e9a07);}function findAllByAttribute(_0x34aee7,_0x197600,_0x1a0925){const _0x35528e=null!==_0x197600?_0x45a702=>_0x45a702['attribs'][_0x34aee7]===_0x197600:_0x5e8a13=>Boolean(_0x5e8a13['attribs'][_0x34aee7]);return _0x271638(_0x260759=>_0x3199f3(_0x260759)&&_0x35528e(_0x260759),_0x1a0925);}function findAllComments(_0x75c1a1){return _0x5cfde8(_0x34d2c5=>isComment(_0x34d2c5),_0x75c1a1,!0x0,0x1/0x0);}function getAttribute(_0x4f4d18,_0x1e2698){return _0x4f4d18&&_0x3199f3(_0x4f4d18)?_0x4f4d18['attribs'][_0x1e2698]:null;}function setAttribute(_0x4e21d9,_0x41176f,_0x575f0e){_0x3199f3(_0x4e21d9)&&(null===_0x575f0e?delete _0x4e21d9['attribs'][_0x41176f]:_0x4e21d9['attribs'][_0x41176f]=_0x575f0e);}function insertElement(_0x204355,_0x1fc75b,_0x162a99){const _0x5d2ed6=_0x1fc75b['cloneNode'](!0x0);'beforebegin'===_0x162a99?_0x167fd0(_0x204355,_0x5d2ed6):'afterbegin'===_0x162a99?_0xa1db2b(_0x204355,_0x5d2ed6):'beforeend'===_0x162a99?_0x53a4f7(_0x204355,_0x5d2ed6):'afterend'===_0x162a99&&_0x37bfcd(_0x204355,_0x5d2ed6);}function moveElement(_0x46c2a0,_0x495424){removeElement(_0x46c2a0),replaceElement(_0x495424,_0x46c2a0);}function _0x5d312a(_0x38a5ad){return _0x38a5ad['cloneNode'](!0x0);}function getParents(_0x5ae4e7){const _0x1eef35=[];let _0x4715bd=_0x5ae4e7;for(;_0x4715bd;)_0x4715bd=getParent(_0x4715bd),_0x4715bd&&_0x1eef35['push'](_0x4715bd);return _0x1eef35;}function _0x15ae4c(_0x284a3b){return _0x284a3b['replace'](/^\s+/gm,'')['replace'](/\s+$/gm,'')['replace'](/\n*/g,'')['replace'](/\s+/g,'\x20')['replace'](/>\s*</g,'><');}function _0x54bb10(_0x4e9a5e,_0x4c6c25){return _0x15ae4c(_0x124bee(_0x4e9a5e))===_0x15ae4c(_0x124bee(_0x4c6c25));}function getNodeNestingLevel(_0x3c352d){let _0x5cd330=0x0;for(;_0x3c352d['parentNode'];)_0x3c352d=_0x3c352d['parentNode'],_0x5cd330++;return _0x5cd330;}function removeElementsAfter(_0x56474b){const _0x47a7fc=[];let _0x109418=_0x56474b['nextSibling'];for(;_0x109418;)_0x47a7fc['push'](_0x109418),_0x109418=_0x109418['nextSibling'];_0x47a7fc['forEach'](_0x599da2=>{removeElement(_0x599da2);});}class _0x56748a extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['_m2html'];constructor(){super(),this['_m2html']=new ckeditor5['MarkdownGfmMdToHtml']();}['convertMarkdownToHTML'](_0x4cc809){const _0x21a4c2=this['_m2html']['parse'](_0x4cc809);return this['parseAndNormalizeHTML'](_0x21a4c2);}['parseAndNormalizeHTML'](_0x1a1654){return this['_parseHTML'](_0x1a1654);}['_parseHTML'](_0x42e42f){const _0x259fc0=_0x36db76('<dummy>'+_0x42e42f['replace'](/^\t+/gm,'\x20')['replace'](/\n*/g,'')['replace'](/\s+/g,'\x20')['replace'](/<[^>]*?$/g,'')+'</dummy>');return _0x259fc0['children']=_0x259fc0['children'][0x0]['children'],_0x259fc0;}}class _0x4e1d8a extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['_generateUid'];['_touchedNodesState']={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};['_existingDataIds']=new Set();constructor(_0x11ce6f){super(),this['_generateUid']=_0x11ce6f||ckeditor5['uid'];}['merge'](_0x215e83,_0x38deb0,_0x58a181){const _0x48fa16=_0x5d312a(_0x215e83);if(0x0===_0x38deb0['childNodes']['length']){const _0x9f5d0a=[];return findAllByAttribute('data-id','new-element',_0x48fa16)['forEach'](_0x1b1a21=>{const _0x2a8e12=this['_generateUid']();setAttribute(_0x1b1a21,'data-id',_0x2a8e12),_0x9f5d0a['push'](_0x2a8e12);}),this['_removeSpecialComments'](_0x48fa16),{'parsedContent':_0x48fa16,'newNodeIds':_0x9f5d0a,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x58a181&&_0x58a181['markUnstableElements']&&this['_markLastTagElementUnstable'](_0x48fa16),this['_touchedNodesState']['newIds']=[],this['_touchedNodesState']['modifiedIds']=[],this['_touchedNodesState']['removedIds']=[],this['_touchedNodesState']['invalidIds']=[],this['_touchedNodesState']['lastTouchedId']=null,this['_existingDataIds']=new Set(findAllByAttribute('data-id',null,_0x38deb0)['map'](_0x347dcb=>getAttribute(_0x347dcb,'data-id'))['filter'](_0xa3288c=>!!_0xa3288c));let _0x431fb1=-0x1,_0x262284=!0x1;const _0x3a7493=_0x48fa16['childNodes'],_0x2a7b3b=Array['from'](_0x3a7493)['filter'](_0x120824=>!(0x3===_0x120824['nodeType']&&''===_0x124bee(_0x120824)['trim']())),_0x4141d6=_0x2a7b3b['length'];for(let _0x816d4c=0x0;_0x816d4c<_0x4141d6;_0x816d4c++){const _0x1a796b=_0x2a7b3b[_0x816d4c],_0x288b7a=_0x2a7b3b[_0x816d4c+0x1];if(this['_isNewNode'](_0x1a796b)){if(-0x1===_0x431fb1&&(_0x431fb1=_0x816d4c),this['_markWrappedElements'](_0x1a796b),!this['_isNewNode'](_0x288b7a)){const [_0x1be314,_0x4da7c4]=this['_findReferenceNode'](_0x1a796b,_0x262284,_0x38deb0);if(_0x1be314){const _0x2da13a=Array['from'](_0x2a7b3b)['slice'](_0x431fb1,_0x816d4c+0x1);this['_insertNodes'](_0x1be314,_0x2da13a,_0x4da7c4),_0x431fb1=-0x1;}}}else{if(this['_isExistingContentComment'](_0x1a796b))_0x262284=!0x0;else{if(this['_isExistingNode'](_0x1a796b)){const _0x2914bc=getAttribute(_0x1a796b,'data-id');if(_0x2914bc&&this['_existingDataIds']['has'](_0x2914bc)){const _0x24b410=findByAttribute('data-id',_0x2914bc,_0x38deb0);this['_replaceNode'](_0x24b410,_0x1a796b);}if(this['_touchedNodesState']['removedIds']['includes'](_0x2914bc)){const _0x47b458=this['_touchedNodesState']['removedIds']['indexOf'](_0x2914bc);this['_touchedNodesState']['removedIds']['splice'](_0x47b458,0x1);}}else{if(this['_isDelNode'](_0x1a796b)){const _0xc971fa=getAttribute(_0x1a796b,'data-id');this['_touchedNodesState']['modifiedIds']['includes'](_0xc971fa)||this['_storeDeletedElementIds'](_0x1a796b);}}}}}for(const _0x2e77cf of this['_touchedNodesState']['removedIds']){const _0x4fc2f8=findByAttribute('data-id',_0x2e77cf,_0x38deb0);if(_0x4fc2f8){if(_0x58a181&&_0x58a181['replaceRemovedWith']){this['_touchedNodesState']['lastTouchedId']=_0x2e77cf;const _0x3d6199=_0x58a181['replaceRemovedWith']['cloneNode'](!0x0);setAttribute(_0x3d6199,'data-id',_0x2e77cf),setAttribute(_0x3d6199,'data-removed','true'),replaceElement(_0x4fc2f8,_0x3d6199);}else removeElement(_0x4fc2f8);}}if(findAllByAttribute('data-wrapped-id',null,_0x38deb0)['forEach'](_0x2df77f=>{const _0xa26c03=findByAttribute('data-id',getAttribute(_0x2df77f,'data-wrapped-id'),_0x38deb0);_0xa26c03&&moveElement(_0xa26c03,_0x2df77f);}),findAllByAttribute('data-id','new-element',_0x38deb0)['forEach'](_0x385034=>{const _0x131feb=this['_getUid'](_0x385034);setAttribute(_0x385034,'data-id',_0x131feb),this['_touchedNodesState']['newIds']['push'](_0x131feb);}),this['_removeSpecialComments'](_0x38deb0),_0x58a181&&_0x58a181['markUnstableElements']&&this['_markUnstableElements'](_0x38deb0,_0x58a181['markUnstableElementsDepth']||0x0),_0x58a181&&_0x58a181['cutAfterLastChange']&&this['_touchedNodesState']['lastTouchedId']){let _0xdc830e=findByAttribute('data-id',this['_touchedNodesState']['lastTouchedId'],_0x38deb0);for(;_0xdc830e;)removeElementsAfter(_0xdc830e),_0xdc830e=_0xdc830e['parentNode'];}return{'parsedContent':_0x38deb0,'newNodeIds':this['_touchedNodesState']['newIds'],'modifiedNodeIds':this['_touchedNodesState']['modifiedIds'],'removedNodeIds':this['_touchedNodesState']['removedIds']};}['_insertNodes'](_0x5626cc,_0xc56322,_0x92788a){for(const _0x356b94 of _0xc56322){const _0x27aa2e=this['_getUid'](_0x356b94);setAttribute(_0x356b94,'data-id',_0x27aa2e),this['_touchedNodesState']['newIds']['push'](_0x27aa2e),this['_touchedNodesState']['lastTouchedId']=_0x27aa2e;}const _0x4917e1='afterbegin'===_0x92788a||'afterend'===_0x92788a?_0xc56322['reverse']():_0xc56322;for(const _0x9012da of _0x4917e1)insertElement(_0x5626cc,_0x9012da,_0x92788a);}['_replaceNode'](_0xd8ddb5,_0x123e74){if(!_0xd8ddb5)return;if(_0x54bb10(_0xd8ddb5,_0x123e74))return;const _0x4a1c9b=this['_getUid'](_0xd8ddb5);setAttribute(_0x123e74,'data-id',_0x4a1c9b),this['_touchedNodesState']['modifiedIds']['push'](_0x4a1c9b),this['_touchedNodesState']['lastTouchedId']=_0x4a1c9b,replaceElement(_0xd8ddb5,_0x123e74['cloneNode'](!0x0));}['_findReferenceNode'](_0x35e76c,_0x361e82,_0x369f25){const _0x63878a=this['_findPrevElementWithDataId'](_0x35e76c,!0x1);if(_0x63878a){const _0x49230e=this['_getNodeDataId'](_0x63878a),_0x4d0fa2=findByAttribute('data-id',_0x49230e,_0x369f25);if(_0x4d0fa2)return[_0x4d0fa2,'afterend'];this['_touchedNodesState']['invalidIds']['push'](_0x49230e);}const _0xf4312e=this['_findNextElementWithDataId'](_0x35e76c,!0x1);if(_0xf4312e){const _0x2783a5=this['_getNodeDataId'](_0xf4312e),_0x47615c=findByAttribute('data-id',_0x2783a5,_0x369f25);if(_0x47615c)return[_0x47615c,'beforebegin'];this['_touchedNodesState']['invalidIds']['push'](_0x2783a5);}return _0x361e82?_0x35e76c['nextSibling']?this['_findFallbackReferenceNode'](_0x35e76c,_0x369f25):[_0x369f25['childNodes'][_0x369f25['childNodes']['length']-0x1],'afterend']:[_0x369f25['childNodes'][0x0],'beforebegin'];}['_findFallbackReferenceNode'](_0x5378f4,_0x586f70){const _0x1b1a54=[],_0x313b4e=this['_findPrevElementWithDataId'](_0x5378f4,!0x0);if(_0x313b4e){const _0x464fb1=findByAttribute('data-id',this['_getNodeDataId'](_0x313b4e),_0x586f70);_0x464fb1&&_0x1b1a54['push']([_0x464fb1,'afterend']);}const _0x11bdcc=this['_findNextElementWithDataId'](_0x5378f4,!0x0);if(_0x11bdcc){const _0x1db261=findByAttribute('data-id',this['_getNodeDataId'](_0x11bdcc),_0x586f70);_0x1db261&&_0x1b1a54['push']([_0x1db261,'beforebegin']);}if(_0x1b1a54['length']>0x1)return getNodeNestingLevel(_0x1b1a54[0x0][0x0])<=getNodeNestingLevel(_0x1b1a54[0x1][0x0])?_0x1b1a54[0x0]:_0x1b1a54[0x1];return 0x1===_0x1b1a54['length']?_0x1b1a54[0x0]:[_0x586f70['lastChild'],'afterend'];}['_findNextElementWithDataId'](_0x1ac8a5,_0x5e8251){let _0x5ab240=_0x1ac8a5['nextSibling'],_0x1eaaa5=null,_0x37b26a=!0x1;for(;_0x5ab240;){if(isComment(_0x5ab240)){if(this['_isDelNode'](_0x5ab240)&&(_0x1eaaa5=_0x5ab240),this['_isExistingContentComment'](_0x5ab240)&&_0x5e8251&&!_0x37b26a){_0x37b26a=!0x0,_0x5ab240=_0x5ab240['nextSibling'];continue;}break;}const _0x9860e3=getAttribute(_0x5ab240,'data-id');if(_0x9860e3&&'new-element'!==_0x9860e3&&this['_existingDataIds']['has'](_0x9860e3)){_0x1eaaa5=_0x5ab240;break;}_0x5ab240=_0x5ab240['nextSibling'];}return _0x1eaaa5;}['_findPrevElementWithDataId'](_0x1238f5,_0x2b08ea){let _0x4e798a=_0x1238f5['previousSibling'],_0x38f8d2=null,_0xfe3ffd=!0x1;for(;_0x4e798a;){if(isComment(_0x4e798a)){if(this['_isDelNode'](_0x4e798a)&&(_0x38f8d2=_0x4e798a),this['_isExistingContentComment'](_0x4e798a)&&_0x2b08ea&&!_0xfe3ffd){_0xfe3ffd=!0x0,_0x4e798a=_0x4e798a['previousSibling'];continue;}break;}const _0x16deda=getAttribute(_0x4e798a,'data-id');if(_0x16deda&&'new-element'!==_0x16deda&&this['_existingDataIds']['has'](_0x16deda)){_0x38f8d2=_0x4e798a;break;}_0x4e798a=_0x4e798a['previousSibling'];}return _0x38f8d2;}['_markWrappedElements'](_0x343172){_0x3199f3(_0x343172)&&findAllByAttribute('data-id',null,_0x343172)['forEach'](_0x1e3762=>{this['_isExistingNode'](_0x1e3762)&&!this['_hasWrappedParent'](_0x1e3762)&&(setAttribute(_0x1e3762,'data-wrapped-id',getAttribute(_0x1e3762,'data-id')),setAttribute(_0x1e3762,'data-id',null));});}['_getNodeDataId'](_0x15c872){if(!_0x15c872)return null;if(_0x3199f3(_0x15c872))return getAttribute(_0x15c872,'data-id');if(isComment(_0x15c872)){const _0x34eeea=_0x124bee(_0x15c872)['match'](/removed[\s*-]data-id="([^"]+)"/);if(_0x34eeea&&_0x34eeea[0x1])return _0x34eeea[0x1];}return null;}['_storeDeletedElementIds'](_0x29a667){if(isComment(_0x29a667)){const _0x456fd6=_0x124bee(_0x29a667)['match'](/removed[\s*-]data-id="([^"]+)"/);_0x456fd6&&_0x456fd6[0x1]&&this['_touchedNodesState']['removedIds']['push'](_0x456fd6[0x1]);}}['_getUid'](_0x220bb0){return this['_isExistingNode'](_0x220bb0)?getAttribute(_0x220bb0,'data-id'):this['_generateUid']();}['_removeSpecialComments'](_0x127892){findAllComments(_0x127892)['filter'](_0x7495f5=>this['_isDelNode'](_0x7495f5)||this['_isExistingContentComment'](_0x7495f5))['forEach'](_0x4b9ad3=>{removeElement(_0x4b9ad3);});}['_markLastTagElementUnstable'](_0x2f4845){const _0xa590f=_0x2f4845['childNodes'],_0x5eb6a6=_0xa590f[_0xa590f['length']-0x1];_0x5eb6a6&&_0x3199f3(_0x5eb6a6)&&setAttribute(_0x5eb6a6,'data-unstable','true');}['_markUnstableElements'](_0x30e8af,_0x1f9f90){const _0x5975e1=findByAttribute('data-unstable','true',_0x30e8af);if(!_0x5975e1)return;const _0x108d06=getParents(_0x5975e1)['slice'](0x0,-0x1),_0x3f25e9=_0x108d06['length'];let _0x7b2da6=_0x5975e1;if(_0x3f25e9>_0x1f9f90){let _0x3f3bc5=_0x3f25e9,_0x51f246=null;for(;_0x3f3bc5>_0x1f9f90&&_0x3f3bc5>=0x0;)_0x3f3bc5--,_0x51f246=_0x108d06[_0x3f3bc5];_0x51f246&&(_0x7b2da6=_0x51f246,setAttribute(_0x5975e1,'data-unstable',null),setAttribute(_0x51f246,'data-unstable','true'));}else{if(_0x3f25e9<_0x1f9f90){let _0x333d23=_0x3f25e9,_0x361c98=_0x5975e1;for(;_0x333d23<_0x1f9f90;){const _0x41087c=_0x361c98['childNodes']['filter'](_0x10b5ce=>_0x3199f3(_0x10b5ce));if(0x0===_0x41087c['length'])break;_0x333d23++,_0x361c98=_0x41087c[_0x41087c['length']-0x1];}_0x361c98&&(_0x7b2da6=_0x361c98,setAttribute(_0x5975e1,'data-unstable',null),setAttribute(_0x361c98,'data-unstable','true'));}}let _0x52cc57=_0x7b2da6;for(;_0x52cc57;){for(;_0x52cc57['nextSibling'];)_0x52cc57=_0x52cc57['nextSibling'],_0x3199f3(_0x52cc57)&&setAttribute(_0x52cc57,'data-unstable','true');_0x52cc57=_0x52cc57['parentNode'];}}['_isNewNode'](_0x55545f){return Boolean('new-element'===getAttribute(_0x55545f,'data-id'));}['_isExistingNode'](_0x220b52){return Boolean((getAttribute(_0x220b52,'data-id')||'')['length']>0x0&&'new-element'!==getAttribute(_0x220b52,'data-id'));}['_isDelNode'](_0x4255f7){return!!_0x4255f7&&Boolean(isComment(_0x4255f7)&&_0x124bee(_0x4255f7)['match'](/removed[\s*-]data-id="[^"]+"/));}['_hasWrappedParent'](_0x237f43){let _0xf05c0a=_0x237f43['parentNode'];for(;_0xf05c0a;){if(getAttribute(_0xf05c0a,'data-wrapped-id'))return!0x0;_0xf05c0a=_0xf05c0a['parentNode'];}return!0x1;}['_isExistingContentComment'](_0x218167){return Boolean(isComment(_0x218167)&&_0x124bee(_0x218167)['match'](/\s*existing[\s*-](content|document)\s*/g));}}class _0x42a978 extends ckeditor5['ContextPlugin']{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x567d07,_0x26cf3b){let _0x3d7bd8;if(_0x26cf3b||(_0x26cf3b=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x26cf3b?_0x3d7bd8=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x3d7bd8=this['context']['editors']['find'](_0x41d063=>_0x41d063['config']['get']('collaboration.channelId')==_0x26cf3b)),!_0x3d7bd8)throw new ckeditor5['CKEditorError']('permissions-set-permissions-invalid-channel-id',null);const _0x382928=_0x3d7bd8['plugins'],_0x330294=_0x382928['has']('CommentsRepository')?_0x382928['get']('CommentsRepository'):void 0x0,_0x14043c=_0x382928['has']('CommentsOnly')&&_0x382928['get']('CommentsOnly'),_0x58b112=_0x567d07['includes']('document:write'),_0x4da053=_0x567d07['includes']('comment:modify_all'),_0x3e0153=_0x567d07['includes']('comment:admin'),_0xceb347=_0x567d07['includes']('comment:write'),_0x643120=_0xceb347||_0x3e0153,_0x5dab11=_0x643120||_0x4da053,_0x526b74=_0x58b112||_0x643120;(_0x14043c&&(_0x14043c['isEnabled']=!_0x58b112&&_0x5dab11),_0x3d7bd8 instanceof ckeditor5['Editor'])&&(!(_0x58b112||_0x5dab11&&_0x330294)?_0x3d7bd8['enableReadOnlyMode']('no-permissions'):_0x3d7bd8['disableReadOnlyMode']('no-permissions'));if(_0x330294){_0x330294['setPermissions']({'admin':_0x3e0153,'modifyAll':_0x4da053,'write':_0xceb347,'resolve':_0x526b74},_0x26cf3b);const _0x726ffc=_0x3d7bd8 instanceof ckeditor5['Editor']&&_0x3d7bd8['commands']['get']('addCommentThread');_0x726ffc&&(_0x643120?_0x726ffc['clearForceDisabled']('noPermissions'):_0x726ffc['forceDisabled']('noPermissions'));}}}function getTranslation$h(_0x56db17,_0x742fcf){const t=_0x56db17['t'];switch(_0x742fcf){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 _0x5e54fb 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[_0x42a978];}constructor(_0x460206){super(_0x460206),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new ckeditor5['Collection'](),this['_locale']=_0x460206['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:_0x40504e,name:_0x24496b,..._0x456852}){if(!_0x40504e||'string'!=typeof _0x40504e)throw new ckeditor5['CKEditorError']('users-add-invalid-id');if(this['users']['has'](_0x40504e))throw new ckeditor5['CKEditorError']('users-add-duplicated-id',null,{'id':_0x40504e});const _0x3c634f=this['context']['config']['get']('users.getInitialsCallback'),_0x43f209={..._0x456852,'id':_0x40504e,'name':_0x225516(this['_locale'],_0x24496b),'color':this['_getNextColor']()};_0x43f209['name']=_0x225516(this['_locale'],_0x43f209['name']);const _0x17339a=new _0x546e59(_0x43f209,_0x3c634f);return this['users']['add'](_0x17339a),_0x17339a;}['getUser'](_0x1842c5){return this['users']['get'](_0x1842c5);}['useAnonymousUser'](){const _0x4be94e=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x4be94e);}['defineMe'](_0x1a44e9){if(this['_myId'])throw new ckeditor5['CKEditorError']('users-me-already-defined',null);const _0x42cc95=this['getUser'](_0x1a44e9);if(!_0x42cc95)throw new ckeditor5['CKEditorError']('users-me-missing-user',null);this['_myId']=_0x1a44e9,_0x42cc95['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x2431eb=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x2431eb&&(this['_lastColor']=0x0),new CollaborationUserColor(this['_lastColor']++);}['_addAnonymousUser'](){const _0x4a7732=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x4a7732,'name':getTranslation$h(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}let _0x546e59=class{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x51dc08,_0xf8c246){this['id']=_0x51dc08['id'],this['color']=_0x51dc08['color'],this['name']=_0x51dc08['name'],this['initials']=_0xf8c246?_0xf8c246(this['name']):this['_computeInitials'](),this['avatar']=_0x51dc08['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x138bf7=this['name']['split']('\x20')['filter'](_0x1cdc8f=>/^[\p{Letter}]/u['test'](_0x1cdc8f));return 0x1===_0x138bf7['length']?this['_getInitial'](_0x138bf7[0x0]):0x0===_0x138bf7['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x138bf7[0x0])+this['_getInitial'](_0x138bf7[_0x138bf7['length']-0x1]);}['_getInitial'](_0x44fec8){return String['fromCodePoint'](_0x44fec8['codePointAt'](0x0))['toUpperCase']();}};function _0x225516(_0x2d65b8,_0x56768e=''){return''==(_0x56768e=_0x56768e['trim']())?getTranslation$h(_0x2d65b8,'Anonymous'):_0x56768e;}class CollaborationUserColor{['_id'];constructor(_0x7d7c7a){this['_id']=_0x7d7c7a;}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 _0x3e5d46 extends ckeditor5['View']{['name'];['notificationView'];constructor(_0x3b8e89,_0x243f42,_0x57f27c){super(_0x3b8e89),this['name']=_0x243f42['name'],this['notificationView']=null;const _0x5f0295=['ck','ck-user'],_0x25cfb2=['ck','ck-user__img'];if(_0x243f42['isAnonymous']&&_0x25cfb2['push']('ck-user__anonymous'),!_0x243f42['isAnonymous']&&_0x243f42['isMe']&&_0x5f0295['push']('ck-user_me'),_0x243f42['avatar']&&_0x25cfb2['push']('ck-user__avatar'),_0x57f27c){const _0x2ea0d8=new ckeditor5['IconView']();_0x2ea0d8['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x2ea0d8['content']=ckeditor5['IconNotification'],this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x57f27c},'children':[_0x2ea0d8]};}const _0x3ace7c=[{'tag':'div','attributes':{'class':_0x25cfb2,'style':{'background-image':_0x243f42['avatar']?'url(\x27'+_0x243f42['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x243f42['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x243f42['name']},'children':[{'text':_0x243f42['initials']}]}];this['notificationView']&&_0x3ace7c['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x5f0295,'data-user-id':_0x243f42['id']},'children':_0x3ace7c});}}class AriaDescriptionView extends ckeditor5['View']{['id'];constructor(_0x4398e1,_0x16aa9e){super(_0x4398e1),this['id']='ck-aria-description-'+ckeditor5['uid'](),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x16aa9e}]});}}class LateFocusButtonView extends ckeditor5['ButtonView']{['render'](){super['render'](),delayFocusUntilMouseup(this);}}class LateFocusDropdownButtonView extends ckeditor5['DropdownButtonView']{['render'](){super['render'](),delayFocusUntilMouseup(this);}}function delayFocusUntilMouseup(_0x269400){_0x269400['listenTo'](_0x269400['element'],'mousedown',(_0x43d632,_0x1888d8)=>{_0x1888d8['stopPropagation'](),_0x1888d8['preventDefault']();}),_0x269400['listenTo'](_0x269400['element'],'mouseup',()=>{_0x269400['element']['focus']();});}function splitSuggestionMarkerName(_0x2798bf){const _0x5c8271=_0x2798bf['split'](':');return{'group':_0x5c8271[0x0],'type':_0x5c8271[0x1],'subType':_0x5c8271['length']>=0x5?_0x5c8271[0x2]:null,'id':_0x5c8271['length']<0x5?_0x5c8271[0x2]:_0x5c8271[0x3],'authorId':_0x5c8271['length']<0x5?_0x5c8271[0x3]:_0x5c8271[0x4],'markerCount':0x6==_0x5c8271['length']?_0x5c8271[0x5]:null};}function fixElementSuggestionRange(_0x86ecce,_0x53cbf1){const _0x369711=_0x86ecce['end']['nodeBefore'];if(_0x369711&&_0x369711['is']('element')&&_0x53cbf1['schema']['isBlock'](_0x369711)&&!_0x53cbf1['schema']['isObject'](_0x369711)){const _0x1f923f=_0x53cbf1['createPositionAt'](_0x369711,'end');return _0x53cbf1['createRange'](_0x86ecce['start'],_0x1f923f);}return _0x86ecce;}class SuggestionsConversionAlignment extends ckeditor5['Plugin']{['afterInit'](){const _0x12b26f=this['editor'];if(!_0x12b26f['plugins']['has']('AlignmentEditing'))return;_0x12b26f['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const basicStylesPlugins$1=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class SuggestionsConversionBasicStyles extends ckeditor5['Plugin']{['afterInit'](){const _0x19f850=this['editor'],_0x3247b1=_0x19f850['plugins']['get']('SuggestionsConversion');for(const _0x5eed40 of basicStylesPlugins$1){if(!_0x19f850['plugins']['has'](_0x5eed40))continue;const _0x1dad0f=_0x5eed40['slice'](0x0,-0x7)['toLowerCase']();_0x3247b1['registerInlineAttribute'](_0x1dad0f);}}}class SuggestionsConversionBookmark extends ckeditor5['Plugin']{['afterInit'](){const _0x564959=this['editor'],_0x54355e=_0x564959['plugins']['get']('SuggestionsConversion');_0x564959['plugins']['has']('BookmarkEditing')&&_0x54355e['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 _0x144403=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x935158,commandName:_0x41aff7}of fontPlugins$1)this['editor']['plugins']['has'](_0x935158)&&_0x144403['registerInlineAttribute'](_0x41aff7);}}class SuggestionsConversionFootnotes extends ckeditor5['Plugin']{['afterInit'](){const {editor:_0x3b0c7e}=this;if(!_0x3b0c7e['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x57fe95=_0x3b0c7e['plugins']['get']('SuggestionsConversion');_0x57fe95['registerBlockAttribute']('footnotesListStyle'),_0x57fe95['registerBlockAttribute']('footnotesListStart');}}class SuggestionsConversionHighlight extends ckeditor5['Plugin']{['afterInit'](){const _0x6a4dd=this['editor'];if(!_0x6a4dd['plugins']['has']('HighlightEditing'))return;_0x6a4dd['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class SuggestionsConversionHtmlEmbed extends ckeditor5['Plugin']{['afterInit'](){const _0x5cb762=this['editor'];if(!_0x5cb762['plugins']['has']('HtmlEmbed'))return;_0x5cb762['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class SuggestionsConversionImage extends ckeditor5['Plugin']{['afterInit'](){const _0x3d5685=this['editor'];if(!_0x3d5685['plugins']['has']('ImageEditing'))return;const _0x6d6641=_0x3d5685['plugins']['get']('SuggestionsConversion');_0x6d6641['registerBlockAttribute']('src'),_0x3d5685['plugins']['has']('ImageResize')&&_0x6d6641['registerBlockAttribute']('resizedWidth'),_0x3d5685['plugins']['has']('ImageTextAlternativeEditing')&&_0x6d6641['registerBlockAttribute']('alt'),_0x3d5685['plugins']['has']('PictureEditing')&&_0x6d6641['registerBlockAttribute']('sources'),_0x3d5685['plugins']['has']('ImageSizeAttributes')&&(_0x6d6641['registerBlockAttribute']('width'),_0x6d6641['registerBlockAttribute']('height'));}}class SuggestionsConversionIndent extends ckeditor5['Plugin']{['afterInit'](){const _0x1f9b29=this['editor'],_0x514dcc=_0x1f9b29['plugins']['get']('SuggestionsConversion');_0x1f9b29['plugins']['has']('IndentBlock')&&(_0x514dcc['registerBlockAttribute']('blockIndent'),_0x1f9b29['plugins']['has']('ListEditing')&&(_0x514dcc['registerBlockAttribute']('blockIndentList'),_0x514dcc['registerBlockAttribute']('blockIndentListItem')));}}class SuggestionsConversionLineHeight extends ckeditor5['Plugin']{['afterInit'](){const _0x50653e=this['editor'];if(!_0x50653e['plugins']['has']('LineHeight'))return;_0x50653e['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class SuggestionsConversionLink extends ckeditor5['Plugin']{['afterInit'](){const _0xc084e0=this['editor'];if(!_0xc084e0['plugins']['has']('LinkEditing'))return;const _0x249e50=_0xc084e0['plugins']['get']('SuggestionsConversion'),_0x2a5bcf=_0xc084e0['commands']['get']('link');_0x249e50['registerInlineAttribute']('linkHref');for(const _0x318598 of _0x2a5bcf['manualDecorators'])_0x249e50['registerInlineAttribute'](_0x318598['id']);}}class SuggestionsConversionList extends ckeditor5['Plugin']{['afterInit'](){const _0x8fcd7f=this['editor'];if(!_0x8fcd7f['plugins']['has']('ListEditing'))return;const _0x40c072=_0x8fcd7f['plugins']['get']('SuggestionsConversion'),_0x47c027=_0x8fcd7f['plugins']['has']('TodoListEditing');_0x40c072['registerBlockAttribute']('listItemId'),_0x40c072['registerBlockAttribute']('listType'),_0x40c072['registerBlockAttribute']('listIndent'),_0x47c027&&_0x40c072['registerBlockAttribute']('todoListChecked');}}class SuggestionsConversionListProperties extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x1b8a22=this['editor']['config']['get']('list.properties'),_0x42cb8f=this['editor']['plugins']['get']('SuggestionsConversion');_0x1b8a22['styles']&&_0x42cb8f['registerBlockAttribute']('listStyle'),_0x1b8a22['reversed']&&_0x42cb8f['registerBlockAttribute']('listReversed'),_0x1b8a22['startIndex']&&_0x42cb8f['registerBlockAttribute']('listStart');}}class SuggestionsConversionMultiLevelList extends ckeditor5['Plugin']{['afterInit'](){const _0x51dcf2=this['editor'],_0x524cc6=_0x51dcf2['plugins']['get']('SuggestionsConversion');_0x51dcf2['plugins']['has']('MultiLevelList')&&_0x524cc6['registerBlockAttribute']('listMarkerStyle');}}class SuggestionsConversionStylesDropdown extends ckeditor5['Plugin']{['afterInit'](){const _0x254c13=this['editor'];if(!_0x254c13['plugins']['has']('Style')||!_0x254c13['plugins']['has']('DataSchema')||!_0x254c13['config']['get']('style.definitions'))return;const _0x42e0a1=_0x254c13['plugins']['get']('SuggestionsConversion'),_0xeb6598=_0x254c13['config']['get']('style.definitions'),_0x86f21d=_0x254c13['plugins']['get']('GeneralHtmlSupport'),_0x2455ff=_0x254c13['plugins']['get']('StyleUtils')['normalizeConfig'](_0x254c13['plugins']['get']('DataSchema'),_0xeb6598),_0x5e9e98=new Set();for(const _0x2da280 of _0x2455ff['block']){const _0x51876d=_0x86f21d['getGhsAttributeNameForElement'](_0x2da280['element']);_0x5e9e98['add'](_0x51876d);}const _0x2ed281=new Set();for(const _0x58dfec of _0x2455ff['inline']){const _0x4df6bb=_0x86f21d['getGhsAttributeNameForElement'](_0x58dfec['element']);_0x2ed281['add'](_0x4df6bb);for(const _0x180723 of _0x58dfec['ghsAttributes'])_0x2ed281['add'](_0x180723);}for(const _0x2abf98 of _0x5e9e98)_0x42e0a1['registerBlockAttribute'](_0x2abf98);for(const _0x47e55f of _0x2ed281)_0x42e0a1['registerInlineAttribute'](_0x47e55f);}}class SuggestionsConversionTableHeadings extends ckeditor5['Plugin']{['afterInit'](){const _0x33ba6a=this['editor'];if(!_0x33ba6a['plugins']['has']('TableEditing'))return;const _0x2ed878=_0x33ba6a['plugins']['get']('SuggestionsConversion');_0x2ed878['registerBlockAttribute']('headingRows'),_0x2ed878['registerBlockAttribute']('headingColumns');}}class SuggestionsConversionTableProperties extends ckeditor5['Plugin']{['afterInit'](){const {plugins:_0x349a8b}=this['editor'];if(!_0x349a8b['has']('TablePropertiesEditing'))return;const _0x6450f2=_0x349a8b['get']('SuggestionsConversion'),_0x1940e5=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0xa1d0d5 of _0x1940e5)_0x6450f2['registerBlockAttribute'](_0xa1d0d5);}}class SuggestionsConversionTableLayout extends ckeditor5['Plugin']{['afterInit'](){const _0x1bb359=this['editor'],_0x592783=_0x1bb359['plugins']['get']('SuggestionsConversion');_0x1bb359['plugins']['has']('TableLayout')&&_0x592783['registerBlockAttribute']('tableType');}}class SuggestionsConversionUploadcare extends ckeditor5['Plugin']{['afterInit'](){const _0x1f7407=this['editor'],_0x275746=this['editor']['plugins']['get']('SuggestionsConversion');_0x1f7407['plugins']['has']('Uploadcare')&&_0x1f7407['plugins']['has']('UploadcareImageEdit')&&_0x275746['registerBlockAttribute']('uploadcareImageId');}}class SuggestionsConversionShiftEnter extends ckeditor5['Plugin']{['afterInit'](){const _0x5a7551=this['editor'];if(!_0x5a7551['plugins']['has']('ShiftEnter'))return;const _0x44a943=_0x5a7551['plugins']['get']('SuggestionsConversion'),_0x41f1c5=(_0x15f3d5,_0x130f1b,_0x4d9769,_0x4bb668)=>{if(_0x4bb668&&!_0x4d9769['options']['showSuggestionHighlights'])return;if(!_0x4d9769['consumable']['test'](_0x130f1b['markerRange'],_0x15f3d5['name']))return;const _0x15449a=_0x5a7551['model'];for(const _0x17c0f9 of _0x130f1b['markerRange']['getItems']()){if(!_0x17c0f9['is']('element','softBreak'))continue;const _0xb18684='deletion'==_0x130f1b['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x1c1ec7,authorId:_0x34834a}=splitSuggestionMarkerName(_0x130f1b['markerName']),_0x53471f=_0x4d9769['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0xb18684,'data-suggestion':_0x1c1ec7,'data-author-id':_0x34834a}),_0x5278e2=_0x4d9769['mapper']['toViewPosition'](_0x15449a['createPositionBefore'](_0x17c0f9));!_0x4bb668&&_0x44a943['_activeMarkers']['includes'](_0x130f1b['markerName'])&&_0x4d9769['writer']['addClass']('ck-suggestion-marker--active',_0x53471f),_0x4d9769['writer']['insert'](_0x5278e2,_0x53471f),_0x4d9769['mapper']['bindElementToMarker'](_0x53471f,_0x130f1b['markerName']);}};_0x5a7551['editing']['downcastDispatcher']['on']('addMarker:suggestion',(_0x1efffd,_0x5ef155,_0x21bace)=>{_0x41f1c5(_0x1efffd,_0x5ef155,_0x21bace,!0x1);},{'priority':'high'}),_0x5a7551['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x2d9fa6,_0x49181a,_0x49b405)=>{_0x41f1c5(_0x2d9fa6,_0x49181a,_0x49b405,!0x0);},{'priority':'high'});}}class SuggestionsConversionMediaEmbed extends ckeditor5['Plugin']{['afterInit'](){const _0x43db1c=this['editor'];_0x43db1c['plugins']['has']('MediaEmbedEditing')&&(_0x43db1c['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x373f71,{writer:_0x3dfffa,options:_0x32a5be})=>{if(_0x32a5be['showSuggestionHighlights'])return _0x3dfffa['createEmptyElement']('div');},'converterPriority':'high'}),_0x43db1c['data']['downcastDispatcher']['on']('attribute:url:media',(_0x3432b3,_0x18becc,_0x243c0b)=>{_0x243c0b['options']['showSuggestionHighlights']&&_0x3432b3['stop']();},{'priority':'high'}));}}class SuggestionsConversionTable extends ckeditor5['Plugin']{['afterInit'](){const _0x234e78=this['editor'];if(!_0x234e78['plugins']['has']('Table'))return;_0x234e78['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x549ce6,_0x21ef34,_0x53f562)=>{((_0x43094c,_0x1df5a1,_0x377014)=>{if(!_0x377014['options']['showSuggestionHighlights'])return;const _0x272f67=_0x1df5a1['item'];if(!_0x272f67||!_0x272f67['is']('element','tableCell'))return;const _0x4e7818=_0x377014['mapper']['toViewElement'](_0x272f67);if(_0x4e7818){const {id:_0x4e6c69,authorId:_0x195bd9}=splitSuggestionMarkerName(_0x1df5a1['markerName']);ckeditor5['setHighlightHandling'](_0x4e7818,_0x377014['writer'],(_0x4f371b,_0x21ee44,_0x433276)=>{_0x433276['addClass'](ckeditor5['toArray'](_0x21ee44['classes']),_0x4f371b),_0x433276['setAttribute']('data-suggestion-id',_0x4e6c69,_0x4f371b),_0x433276['setAttribute']('data-author-id',_0x195bd9,_0x4f371b);});}})(0x0,_0x21ef34,_0x53f562);},{'priority':'highest'});}}class SuggestionsConversionHorizontalLine extends ckeditor5['Plugin']{['afterInit'](){const _0x4e8fcf=this['editor'];_0x4e8fcf['plugins']['has']('HorizontalLineEditing')&&_0x4e8fcf['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x2f96d1,{writer:_0x588abe,options:_0x365cfa})=>{if(!_0x365cfa['showSuggestionHighlights'])return null;const _0xb955c7=_0x588abe['createContainerElement']('div'),_0x5c410c=_0x588abe['createEmptyElement']('hr');return _0x588abe['addClass']('ck-horizontal-line',_0xb955c7),_0x588abe['insert'](_0x588abe['createPositionAt'](_0xb955c7,0x0),_0x5c410c),_0xb955c7;},'converterPriority':'high'});}}class SuggestionsConversionTableCellProperties extends ckeditor5['Plugin']{['afterInit'](){const {plugins:_0x21a45e,model:_0x519539}=this['editor'];if(!_0x21a45e['has']('TableCellPropertiesEditing'))return;const _0x2d77db=_0x21a45e['get']('SuggestionsConversion'),_0x41f51f=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x48932e of _0x41f51f)_0x2d77db['registerBlockAttribute'](_0x48932e);_0x519539['schema']['checkAttribute']('tableCell','tableCellType')&&_0x2d77db['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 _0x167270=this['editor'],_0x4a0da0=(_0x5359ba,_0x13f8f3,_0x1ca4ba)=>{const {id:_0x2d2636,authorId:_0x4216ee,type:_0x852203,subType:_0xf63745}=splitSuggestionMarkerName(_0x5359ba['markerName']),_0x546b28=['ck-suggestion-marker',this['_getClassName'](_0x852203,_0xf63745)];let _0x407347=0xbb8;return!_0x1ca4ba&&(this['_activeMarkers']['includes'](_0x5359ba['markerName'])&&(_0x546b28['push']('ck-suggestion-marker--active'),_0x407347=0xbc2)),('deletion'==_0x852203&&(_0x407347+=0x5),{'classes':_0x546b28,'attributes':{'data-suggestion':_0x2d2636,'data-author-id':_0x4216ee},'priority':_0x407347});};_0x167270['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x33cd0e,_0xda5825)=>_0x4a0da0(_0x33cd0e,0x0,!0x1)}),_0x167270['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x1e272d,_0x4bc257)=>_0x4a0da0(_0x1e272d,0x0,!0x0)}),_0x167270['conversion']['for']('dataDowncast')['add'](_0x48b1d8=>{_0x48b1d8['on']('addMarker:suggestion',(_0x44381e,_0x16ceea,_0xae0749)=>{if(!_0xae0749['options']['showSuggestionHighlights'])return;const _0x365382=_0x16ceea['item'];if(!_0x365382)return;const _0x53d146=_0xae0749['mapper']['toViewElement'](_0x365382);_0x167270['model']['schema']['isObject'](_0x365382)&&_0x53d146&&!_0x53d146['getCustomProperty']('widget')&&_0x53d146['is']('containerElement')&&ckeditor5['toWidget'](_0x53d146,_0xae0749['writer']);},{'priority':'high'});});const _0x5aec33=(_0xbaaf2,_0x2b9961,_0x107ca4,_0x12c1e8,_0x7d749d)=>{if(_0x12c1e8&&!_0x107ca4['options']['showSuggestionHighlights'])return;if(!_0x2b9961['item'])return;const {id:_0x509b19,authorId:_0x121d5d,subType:_0xaaad53}=splitSuggestionMarkerName(_0x2b9961['markerName']);if(_0x7d749d){const _0x59538d=_0xaaad53['split']('|')[0x0];if(!this['isBlockAttribute'](_0x59538d))return;}if(_0x2b9961['item']['is']('selection'))return void _0x107ca4['consumable']['consume'](_0x2b9961['item'],_0xbaaf2['name']);const _0x5eb860=_0x107ca4['mapper']['toViewElement'](_0x2b9961['item']);if(_0x2b9961['item']['is']('element')&&_0x167270['model']['schema']['isBlock'](_0x2b9961['item'])&&!_0x5eb860['getCustomProperty']('addHighlight')){_0x107ca4['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x5eb860),_0x107ca4['writer']['setAttribute']('data-suggestion',_0x509b19,_0x5eb860),_0x107ca4['writer']['setAttribute']('data-author-id',_0x121d5d,_0x5eb860),_0x107ca4['mapper']['bindElementToMarker'](_0x5eb860,_0x2b9961['markerName']),_0x12c1e8||(this['_activeMarkers']['includes'](_0x2b9961['markerName'])?_0x107ca4['writer']['addClass']('ck-suggestion-marker--active',_0x5eb860):_0x107ca4['writer']['removeClass']('ck-suggestion-marker--active',_0x5eb860));for(const _0x57c0f2 of _0x167270['model']['createRangeIn'](_0x2b9961['item'])['getItems']())_0x107ca4['consumable']['consume'](_0x57c0f2,_0xbaaf2['name']);_0x107ca4['consumable']['consume'](_0x2b9961['item'],_0xbaaf2['name']);}},_0x4c4a79=(_0x1462d8,_0x22cd7b,_0x27a2b0,_0x1924b6)=>{const _0x26175c=_0x27a2b0['mapper']['markerNameToElements'](_0x22cd7b['markerName']);if(_0x26175c){if(_0x1924b6){const {subType:_0x21bcd5}=splitSuggestionMarkerName(_0x22cd7b['markerName']),_0x4a04a2=_0x21bcd5['split']('|')[0x0];if(!this['isBlockAttribute'](_0x4a04a2))return;}for(const _0x1b35e0 of _0x26175c)_0x1b35e0['getCustomProperty']('addHighlight')||(_0x27a2b0['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x1b35e0),_0x27a2b0['writer']['removeAttribute']('data-suggestion',_0x1b35e0),_0x27a2b0['writer']['removeAttribute']('data-author-id',_0x1b35e0),_0x27a2b0['mapper']['unbindElementFromMarkerName'](_0x1b35e0,_0x22cd7b['markerName']));}};_0x167270['conversion']['for']('editingDowncast')['add'](_0x47a458=>{_0x47a458['on']('addMarker:suggestion:formatBlock',(_0x26095c,_0x171a49,_0x1f9c56)=>{_0x5aec33(_0x26095c,_0x171a49,_0x1f9c56,!0x1,!0x1);},{'priority':'high'});}),_0x167270['conversion']['for']('editingDowncast')['add'](_0x40971a=>{_0x40971a['on']('addMarker:suggestion:attribute',(_0x42b666,_0x3788f6,_0x3aac8e)=>{_0x5aec33(_0x42b666,_0x3788f6,_0x3aac8e,!0x1,!0x0);},{'priority':'high'});}),_0x167270['conversion']['for']('editingDowncast')['add'](_0x49a4eb=>{_0x49a4eb['on']('removeMarker:suggestion:formatBlock',(_0x272a53,_0x96d87,_0x393d36)=>{_0x4c4a79(0x0,_0x96d87,_0x393d36,!0x1);},{'priority':'high'});}),_0x167270['conversion']['for']('editingDowncast')['add'](_0x5c541e=>{_0x5c541e['on']('removeMarker:suggestion:attribute',(_0x42f663,_0x255f72,_0x19fc19)=>{_0x4c4a79(0x0,_0x255f72,_0x19fc19,!0x0);},{'priority':'high'});}),_0x167270['conversion']['for']('dataDowncast')['add'](_0xecf5e2=>{_0xecf5e2['on']('addMarker:suggestion:formatBlock',(_0x5cf31c,_0x235c35,_0xd889b9)=>{_0x5aec33(_0x5cf31c,_0x235c35,_0xd889b9,!0x0,!0x1);},{'priority':'highest'});}),_0x167270['conversion']['for']('dataDowncast')['add'](_0x2e2e53=>{_0x2e2e53['on']('addMarker:suggestion:attribute',(_0x4689db,_0x3059f4,_0xfcef7d)=>{_0x5aec33(_0x4689db,_0x3059f4,_0xfcef7d,!0x0,!0x0);},{'priority':'highest'});}),_0x167270['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x110c93,_0x5d8bec)=>{if(_0x5d8bec['options']['showSuggestionHighlights']){const {id:_0x1a83f2,authorId:_0x318566}=splitSuggestionMarkerName(_0x110c93);return _0x110c93['includes'](':split')||_0x110c93['includes'](':merge')?{'group':'suggestion','name':_0x110c93['substr'](0xb),'attributes':{'data-suggestion':_0x1a83f2,'data-author-id':_0x318566}}:null;}return{'group':'suggestion','name':_0x110c93['substr'](0xb)};}});const _0x490f70=(_0x5d7ba5,_0x12ddfb,_0x272b9a,_0x5a4f30,_0x49a401)=>{if(_0x5a4f30&&!_0x272b9a['options']['showSuggestionHighlights'])return;if(!_0x272b9a['consumable']['test'](_0x12ddfb['markerRange'],_0x5d7ba5['name']))return;const _0x196830=this['_activeMarkers'],_0x4093e1=_0x12ddfb['markerRange']['getWalker'](),_0x217e88=_0x12ddfb['markerRange']['start'],_0x57ec93=_0x167270['model']['schema'];let _0x406dc3=null,_0x3e8d6c=null,_0x1ada13=!0x1,_0x47bd50=!0x1;for(const _0x132370 of _0x4093e1){const _0x48abd9=_0x132370['item'];_0x1ada13=_0x1ada13||_0x57ec93['isContent'](_0x48abd9);const _0x3fa27e=_0x272b9a['mapper']['toViewElement'](_0x48abd9);if(_0x3fa27e&&_0x3fa27e['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x132370['type']&&(_0x57ec93['isBlock'](_0x48abd9)&&!_0x57ec93['isLimit'](_0x48abd9)&&(_0x48abd9['nextSibling']||_0x217e88['isAtEnd']?_0x406dc3&&_0x406dc3['parent']==_0x48abd9||(_0x406dc3=_0x48abd9,_0x386b38(_0x132370['previousPosition']),_0x47bd50=!0x0):_0x3e8d6c=_0x3e8d6c||_0x132370['previousPosition']));}function _0x386b38(_0x4298bc){const {id:_0x584b8a,authorId:_0x3269c3}=splitSuggestionMarkerName(_0x12ddfb['markerName']),_0x425ea1=_0x272b9a['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x49a401,'data-suggestion':_0x584b8a,'data-author-id':_0x3269c3}),_0x470e41=_0x272b9a['mapper']['toViewPosition'](_0x4298bc);!_0x5a4f30&&_0x196830['includes'](_0x12ddfb['markerName'])&&_0x272b9a['writer']['addClass']('ck-suggestion-marker--active',_0x425ea1),_0x272b9a['writer']['insert'](_0x470e41,_0x425ea1),_0x272b9a['mapper']['bindElementToMarker'](_0x425ea1,_0x12ddfb['markerName']);}_0x1ada13||_0x47bd50||!_0x3e8d6c||_0x386b38(_0x3e8d6c);};_0x167270['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x429c72,_0x23f0d5,_0x23be5a)=>{_0x490f70(_0x429c72,_0x23f0d5,_0x23be5a,!0x1,'merge');},{'priority':'high'}),_0x167270['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0xb11866,_0x54107f,_0x3e9e37)=>{_0x490f70(_0xb11866,_0x54107f,_0x3e9e37,!0x0,'merge');},{'priority':'high'}),_0x167270['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x40addf,_0xf2fbec,_0x76c1e1)=>{_0x490f70(_0x40addf,_0xf2fbec,_0x76c1e1,!0x1,'split');},{'priority':'high'}),_0x167270['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x311f8b,_0xffcd76,_0x5dbcf3)=>{_0x490f70(_0x311f8b,_0xffcd76,_0x5dbcf3,!0x0,'split');},{'priority':'high'}),_0x167270['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x456665,_0xa9b20b,_0x32b485)=>{((_0x2bf4ab,_0x29495d,_0x208c4b)=>{const _0x336901=_0x208c4b['mapper']['markerNameToElements'](_0x29495d['markerName']);if(_0x336901){for(const _0x3a61e2 of _0x336901)(_0x3a61e2['hasClass']('ck-suggestion-marker-split')||_0x3a61e2['hasClass']('ck-suggestion-marker-merge'))&&(_0x208c4b['mapper']['unbindElementFromMarkerName'](_0x3a61e2,_0x29495d['markerName']),_0x208c4b['writer']['remove'](_0x3a61e2));}})(0x0,_0xa9b20b,_0x32b485);},{'priority':'high'});const _0x152b0e=(_0x56047d,_0x214824,_0x489986,_0x19524d)=>{if(_0x19524d&&!_0x489986['options']['showSuggestionHighlights'])return;const _0x5212b7=_0x214824['markerRange']['start'],_0x12ad16=_0x214824['markerRange']['end'],_0x3ccdf9=_0x167270['model']['schema'];if(!_0x5212b7['isTouching'](_0x12ad16)||!_0x5212b7['nodeAfter'])return;const _0x236394=_0x5212b7['nodeAfter'];if(_0x3ccdf9['isBlock'](_0x236394)&&!_0x3ccdf9['isLimit'](_0x236394)&&_0x3ccdf9['checkChild'](_0x236394,'$text')){if(!_0x489986['consumable']['consume'](_0x214824['markerRange'],_0x56047d['name']))return;const {id:_0x483483,authorId:_0x2159ab}=splitSuggestionMarkerName(_0x214824['markerName']),_0x4d7f54=_0x489986['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x483483,'data-author-id':_0x2159ab}),_0x191b67=_0x489986['mapper']['toViewPosition'](_0x12ad16);!_0x19524d&&this['_activeMarkers']['includes'](_0x214824['markerName'])&&_0x489986['writer']['addClass']('ck-suggestion-marker--active',_0x4d7f54),_0x489986['writer']['insert'](_0x191b67,_0x4d7f54),_0x489986['mapper']['bindElementToMarker'](_0x4d7f54,_0x214824['markerName']);}};_0x167270['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x566d45,_0x25293b,_0x206946)=>{_0x152b0e(_0x566d45,_0x25293b,_0x206946,!0x1);},{'priority':'high'}),_0x167270['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x580c60,_0x44fedd,_0x5bc1e6)=>{_0x152b0e(_0x580c60,_0x44fedd,_0x5bc1e6,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x166ed6,_0x1c4dac,_0x354554)=>{this['_activeMarkers']=_0x354554['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x120788){this['_blockAttributeKeys']['add'](_0x120788);}['registerInlineAttribute'](_0x1522c3){this['_inlineAttributeKeys']['add'](_0x1522c3);}['isBlockAttribute'](_0x28ab30){return this['_blockAttributeKeys']['has'](_0x28ab30);}['isInlineAttribute'](_0x4ff170){return this['_inlineAttributeKeys']['has'](_0x4ff170);}['isRegisteredAttribute'](_0x2bd75c){return this['isInlineAttribute'](_0x2bd75c)||this['isBlockAttribute'](_0x2bd75c);}['_getClassName'](_0x3199fd,_0x3f2110){if('attribute'!=_0x3199fd)return'ck-suggestion-marker-'+_0x3199fd;const _0x1bf7f9=_0x3f2110['split']('|')[0x0];return this['isBlockAttribute'](_0x1bf7f9)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}class _0x1cba20 extends Error{}class InvalidDateTimeError extends _0x1cba20{constructor(_0x528541){super('Invalid\x20DateTime:\x20'+_0x528541['toMessage']());}}class InvalidIntervalError extends _0x1cba20{constructor(_0x297df7){super('Invalid\x20Interval:\x20'+_0x297df7['toMessage']());}}class InvalidDurationError extends _0x1cba20{constructor(_0x3917fe){super('Invalid\x20Duration:\x20'+_0x3917fe['toMessage']());}}class ConflictingSpecificationError extends _0x1cba20{}class InvalidUnitError extends _0x1cba20{constructor(_0x1f98ec){super('Invalid\x20unit\x20'+_0x1f98ec);}}class InvalidArgumentError extends _0x1cba20{}class ZoneIsAbstractError extends _0x1cba20{constructor(){super('Zone\x20is\x20an\x20abstract\x20class');}}const _0xa8c6f4='numeric',_0x45a17e='short',_0x47fbfc='long',_0x49e4c4={'year':_0xa8c6f4,'month':_0xa8c6f4,'day':_0xa8c6f4},_0xd8f51e={'year':_0xa8c6f4,'month':_0x45a17e,'day':_0xa8c6f4},_0x5c6709={'year':_0xa8c6f4,'month':_0x45a17e,'day':_0xa8c6f4,'weekday':_0x45a17e},_0x388b6a={'year':_0xa8c6f4,'month':_0x47fbfc,'day':_0xa8c6f4},_0x2e7230={'year':_0xa8c6f4,'month':_0x47fbfc,'day':_0xa8c6f4,'weekday':_0x47fbfc},_0x594ef0={'hour':_0xa8c6f4,'minute':_0xa8c6f4},_0x561b55={'hour':_0xa8c6f4,'minute':_0xa8c6f4,'second':_0xa8c6f4},_0x485ab0={'hour':_0xa8c6f4,'minute':_0xa8c6f4,'second':_0xa8c6f4,'timeZoneName':_0x45a17e},_0xc715f5={'hour':_0xa8c6f4,'minute':_0xa8c6f4,'second':_0xa8c6f4,'timeZoneName':_0x47fbfc},_0x5a2c2a={'hour':_0xa8c6f4,'minute':_0xa8c6f4,'hourCycle':'h23'},_0x215c6b={'hour':_0xa8c6f4,'minute':_0xa8c6f4,'second':_0xa8c6f4,'hourCycle':'h23'},_0x3c8d5d={'hour':_0xa8c6f4,'minute':_0xa8c6f4,'second':_0xa8c6f4,'hourCycle':'h23','timeZoneName':_0x45a17e},_0x57384a={'hour':_0xa8c6f4,'minute':_0xa8c6f4,'second':_0xa8c6f4,'hourCycle':'h23','timeZoneName':_0x47fbfc},_0x58053d={'year':_0xa8c6f4,'month':_0xa8c6f4,'day':_0xa8c6f4,'hour':_0xa8c6f4,'minute':_0xa8c6f4},_0x26d626={'year':_0xa8c6f4,'month':_0xa8c6f4,'day':_0xa8c6f4,'hour':_0xa8c6f4,'minute':_0xa8c6f4,'second':_0xa8c6f4},_0x7c9ea={'year':_0xa8c6f4,'month':_0x45a17e,'day':_0xa8c6f4,'hour':_0xa8c6f4,'minute':_0xa8c6f4},_0x25cead={'year':_0xa8c6f4,'month':_0x45a17e,'day':_0xa8c6f4,'hour':_0xa8c6f4,'minute':_0xa8c6f4,'second':_0xa8c6f4},_0xd00c1={'year':_0xa8c6f4,'month':_0x45a17e,'day':_0xa8c6f4,'weekday':_0x45a17e,'hour':_0xa8c6f4,'minute':_0xa8c6f4},_0x2f4801={'year':_0xa8c6f4,'month':_0x47fbfc,'day':_0xa8c6f4,'hour':_0xa8c6f4,'minute':_0xa8c6f4,'timeZoneName':_0x45a17e},_0x1773b0={'year':_0xa8c6f4,'month':_0x47fbfc,'day':_0xa8c6f4,'hour':_0xa8c6f4,'minute':_0xa8c6f4,'second':_0xa8c6f4,'timeZoneName':_0x45a17e},_0x2a0d37={'year':_0xa8c6f4,'month':_0x47fbfc,'day':_0xa8c6f4,'weekday':_0x47fbfc,'hour':_0xa8c6f4,'minute':_0xa8c6f4,'timeZoneName':_0x47fbfc},_0x5d0bf8={'year':_0xa8c6f4,'month':_0x47fbfc,'day':_0xa8c6f4,'weekday':_0x47fbfc,'hour':_0xa8c6f4,'minute':_0xa8c6f4,'second':_0xa8c6f4,'timeZoneName':_0x47fbfc};class _0x350fa1{get['type'](){throw new ZoneIsAbstractError();}get['name'](){throw new ZoneIsAbstractError();}get['ianaName'](){return this['name'];}get['isUniversal'](){throw new ZoneIsAbstractError();}['offsetName'](_0x334df6,_0x5dcb68){throw new ZoneIsAbstractError();}['formatOffset'](_0x411582,_0x3c4ae0){throw new ZoneIsAbstractError();}['offset'](_0x380b78){throw new ZoneIsAbstractError();}['equals'](_0x21bce6){throw new ZoneIsAbstractError();}get['isValid'](){throw new ZoneIsAbstractError();}}let singleton$1=null;class SystemZone extends _0x350fa1{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'](_0x1e4b3b,{format:_0x23bcc5,locale:_0x5b15fe}){return _0x2d7c4c(_0x1e4b3b,_0x23bcc5,_0x5b15fe);}['formatOffset'](_0x1a61ed,_0x254467){return formatOffset(this['offset'](_0x1a61ed),_0x254467);}['offset'](_0x191646){return-new Date(_0x191646)['getTimezoneOffset']();}['equals'](_0x554cf8){return'system'===_0x554cf8['type'];}get['isValid'](){return!0x0;}}const dtfCache=new Map();function _0x59fa0f(_0x3f3f77){let _0x55eef3=dtfCache['get'](_0x3f3f77);return void 0x0===_0x55eef3&&(_0x55eef3=new Intl['DateTimeFormat']('en-US',{'hour12':!0x1,'timeZone':_0x3f3f77,'year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit','second':'2-digit','era':'short'}),dtfCache['set'](_0x3f3f77,_0x55eef3)),_0x55eef3;}const typeToPos={'year':0x0,'month':0x1,'day':0x2,'era':0x3,'hour':0x4,'minute':0x5,'second':0x6};function hackyOffset(_0x252f4f,_0x33ee7b){const _0xfadc16=_0x252f4f['format'](_0x33ee7b)['replace'](/\u200E/g,''),_0xcc509d=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/['exec'](_0xfadc16),[,_0x11331b,_0x3d218f,_0x1209b6,_0x2f9cd5,_0x1295df,_0x476066,_0x1cd45c]=_0xcc509d;return[_0x1209b6,_0x11331b,_0x3d218f,_0x2f9cd5,_0x1295df,_0x476066,_0x1cd45c];}function partsOffset(_0xd1d451,_0x889512){const _0x2e5c5d=_0xd1d451['formatToParts'](_0x889512),_0x3225a9=[];for(let _0x425dc6=0x0;_0x425dc6<_0x2e5c5d['length'];_0x425dc6++){const {type:_0x4ca0f5,value:_0x16cd77}=_0x2e5c5d[_0x425dc6],_0x26db3d=typeToPos[_0x4ca0f5];'era'===_0x4ca0f5?_0x3225a9[_0x26db3d]=_0x16cd77:_0x35adef(_0x26db3d)||(_0x3225a9[_0x26db3d]=parseInt(_0x16cd77,0xa));}return _0x3225a9;}const _0x4673ad=new Map();class _0x4d5734 extends _0x350fa1{static['create'](_0x3abfa3){let _0x5a8ad1=_0x4673ad['get'](_0x3abfa3);return void 0x0===_0x5a8ad1&&_0x4673ad['set'](_0x3abfa3,_0x5a8ad1=new _0x4d5734(_0x3abfa3)),_0x5a8ad1;}static['resetCache'](){_0x4673ad['clear'](),dtfCache['clear']();}static['isValidSpecifier'](_0x567e39){return this['isValidZone'](_0x567e39);}static['isValidZone'](_0xfdbbc7){if(!_0xfdbbc7)return!0x1;try{return new Intl['DateTimeFormat']('en-US',{'timeZone':_0xfdbbc7})['format'](),!0x0;}catch(_0xcd30d5){return!0x1;}}constructor(_0x3c1f79){super(),this['zoneName']=_0x3c1f79,this['valid']=_0x4d5734['isValidZone'](_0x3c1f79);}get['type'](){return'iana';}get['name'](){return this['zoneName'];}get['isUniversal'](){return!0x1;}['offsetName'](_0x11d60c,{format:_0x4c2fa5,locale:_0x4b264d}){return _0x2d7c4c(_0x11d60c,_0x4c2fa5,_0x4b264d,this['name']);}['formatOffset'](_0x15547d,_0x47f9ad){return formatOffset(this['offset'](_0x15547d),_0x47f9ad);}['offset'](_0x30fbbe){if(!this['valid'])return NaN;const _0x42d812=new Date(_0x30fbbe);if(isNaN(_0x42d812))return NaN;const _0x434454=_0x59fa0f(this['name']);let [_0x396a96,_0x102e55,_0x5203ce,_0x356488,_0x54c12f,_0x1be02c,_0x28a914]=_0x434454['formatToParts']?partsOffset(_0x434454,_0x42d812):hackyOffset(_0x434454,_0x42d812);'BC'===_0x356488&&(_0x396a96=0x1-Math['abs'](_0x396a96));let _0x1d9728=+_0x42d812;const _0x28d235=_0x1d9728%0x3e8;return _0x1d9728-=_0x28d235>=0x0?_0x28d235:0x3e8+_0x28d235,(_0x1ace39({'year':_0x396a96,'month':_0x102e55,'day':_0x5203ce,'hour':0x18===_0x54c12f?0x0:_0x54c12f,'minute':_0x1be02c,'second':_0x28a914,'millisecond':0x0})-_0x1d9728)/0xea60;}['equals'](_0x3a56c9){return'iana'===_0x3a56c9['type']&&_0x3a56c9['name']===this['name'];}get['isValid'](){return this['valid'];}}let intlLFCache={};function getCachedLF(_0x4b2c3b,_0x529b38={}){const _0x23d5b9=JSON['stringify']([_0x4b2c3b,_0x529b38]);let _0x2c281a=intlLFCache[_0x23d5b9];return _0x2c281a||(_0x2c281a=new Intl['ListFormat'](_0x4b2c3b,_0x529b38),intlLFCache[_0x23d5b9]=_0x2c281a),_0x2c281a;}const intlDTCache=new Map();function getCachedDTF(_0x1f571b,_0x498938={}){const _0x2f5154=JSON['stringify']([_0x1f571b,_0x498938]);let _0x5b1682=intlDTCache['get'](_0x2f5154);return void 0x0===_0x5b1682&&(_0x5b1682=new Intl['DateTimeFormat'](_0x1f571b,_0x498938),intlDTCache['set'](_0x2f5154,_0x5b1682)),_0x5b1682;}const intlNumCache=new Map();function getCachedINF(_0x2eca1e,_0x40897a={}){const _0x470764=JSON['stringify']([_0x2eca1e,_0x40897a]);let _0x5ea8d0=intlNumCache['get'](_0x470764);return void 0x0===_0x5ea8d0&&(_0x5ea8d0=new Intl['NumberFormat'](_0x2eca1e,_0x40897a),intlNumCache['set'](_0x470764,_0x5ea8d0)),_0x5ea8d0;}const intlRelCache=new Map();function getCachedRTF(_0x3b4e2e,_0x506369={}){const {base:_0x5a909c,..._0x5c0a31}=_0x506369,_0x278d77=JSON['stringify']([_0x3b4e2e,_0x5c0a31]);let _0x387a46=intlRelCache['get'](_0x278d77);return void 0x0===_0x387a46&&(_0x387a46=new Intl['RelativeTimeFormat'](_0x3b4e2e,_0x506369),intlRelCache['set'](_0x278d77,_0x387a46)),_0x387a46;}let _0x460806=null;function systemLocale(){return _0x460806||(_0x460806=new Intl['DateTimeFormat']()['resolvedOptions']()['locale'],_0x460806);}const intlResolvedOptionsCache=new Map();function getCachedIntResolvedOptions(_0x273509){let _0x17bc64=intlResolvedOptionsCache['get'](_0x273509);return void 0x0===_0x17bc64&&(_0x17bc64=new Intl['DateTimeFormat'](_0x273509)['resolvedOptions'](),intlResolvedOptionsCache['set'](_0x273509,_0x17bc64)),_0x17bc64;}const _0x47258d=new Map();function getCachedWeekInfo(_0x450202){let _0x28ea04=_0x47258d['get'](_0x450202);if(!_0x28ea04){const _0x453cd3=new Intl['Locale'](_0x450202);_0x28ea04='getWeekInfo'in _0x453cd3?_0x453cd3['getWeekInfo']():_0x453cd3['weekInfo'],'minimalDays'in _0x28ea04||(_0x28ea04={...fallbackWeekSettings,..._0x28ea04}),_0x47258d['set'](_0x450202,_0x28ea04);}return _0x28ea04;}function parseLocaleString(_0x200566){const _0xe5bf3a=_0x200566['indexOf']('-x-');-0x1!==_0xe5bf3a&&(_0x200566=_0x200566['substring'](0x0,_0xe5bf3a));const _0x4bd963=_0x200566['indexOf']('-u-');if(-0x1===_0x4bd963)return[_0x200566];{let _0x5f3ea0,_0x151b96;try{_0x5f3ea0=getCachedDTF(_0x200566)['resolvedOptions'](),_0x151b96=_0x200566;}catch(_0x2352a1){const _0x1b40f7=_0x200566['substring'](0x0,_0x4bd963);_0x5f3ea0=getCachedDTF(_0x1b40f7)['resolvedOptions'](),_0x151b96=_0x1b40f7;}const {numberingSystem:_0x4de285,calendar:_0x3eadf2}=_0x5f3ea0;return[_0x151b96,_0x4de285,_0x3eadf2];}}function intlConfigString(_0xe5153,_0x4910ec,_0x22df05){return _0x22df05||_0x4910ec?(_0xe5153['includes']('-u-')||(_0xe5153+='-u'),_0x22df05&&(_0xe5153+='-ca-'+_0x22df05),_0x4910ec&&(_0xe5153+='-nu-'+_0x4910ec),_0xe5153):_0xe5153;}function mapMonths(_0x577e4e){const _0x8740e1=[];for(let _0x259b57=0x1;_0x259b57<=0xc;_0x259b57++){const _0x36e3d1=DateTime['utc'](0x7d9,_0x259b57,0x1);_0x8740e1['push'](_0x577e4e(_0x36e3d1));}return _0x8740e1;}function _0x53885d(_0x117a09){const _0x239ae1=[];for(let _0x532ac9=0x1;_0x532ac9<=0x7;_0x532ac9++){const _0x476779=DateTime['utc'](0x7e0,0xb,0xd+_0x532ac9);_0x239ae1['push'](_0x117a09(_0x476779));}return _0x239ae1;}function listStuff(_0x43694e,_0xa37fce,_0x2cc927,_0x3eb27f){const _0x406dfe=_0x43694e['listingMode']();return'error'===_0x406dfe?null:'en'===_0x406dfe?_0x2cc927(_0xa37fce):_0x3eb27f(_0xa37fce);}function supportsFastNumbers(_0x2dcefe){return(!_0x2dcefe['numberingSystem']||'latn'===_0x2dcefe['numberingSystem'])&&('latn'===_0x2dcefe['numberingSystem']||!_0x2dcefe['locale']||_0x2dcefe['locale']['startsWith']('en')||'latn'===getCachedIntResolvedOptions(_0x2dcefe['locale'])['numberingSystem']);}class PolyNumberFormatter{constructor(_0x11c8e9,_0x505178,_0x5440a8){this['padTo']=_0x5440a8['padTo']||0x0,this['floor']=_0x5440a8['floor']||!0x1;const {padTo:_0x488344,floor:_0x5dda1a,..._0x41bff3}=_0x5440a8;if(!_0x505178||Object['keys'](_0x41bff3)['length']>0x0){const _0x84b2bd={'useGrouping':!0x1,..._0x5440a8};_0x5440a8['padTo']>0x0&&(_0x84b2bd['minimumIntegerDigits']=_0x5440a8['padTo']),this['inf']=getCachedINF(_0x11c8e9,_0x84b2bd);}}['format'](_0x42bc3c){if(this['inf']){const _0x4519ec=this['floor']?Math['floor'](_0x42bc3c):_0x42bc3c;return this['inf']['format'](_0x4519ec);}return padStart(this['floor']?Math['floor'](_0x42bc3c):_0x1c84b3(_0x42bc3c,0x3),this['padTo']);}}class PolyDateFormatter{constructor(_0x4e2ea1,_0x589953,_0x49f7b4){let _0xebc1a5;if(this['opts']=_0x49f7b4,this['originalZone']=void 0x0,this['opts']['timeZone'])this['dt']=_0x4e2ea1;else{if('fixed'===_0x4e2ea1['zone']['type']){const _0x92e71b=_0x4e2ea1['offset']/0x3c*-0x1,_0x419506=_0x92e71b>=0x0?'Etc/GMT+'+_0x92e71b:'Etc/GMT'+_0x92e71b;0x0!==_0x4e2ea1['offset']&&_0x4d5734['create'](_0x419506)['valid']?(_0xebc1a5=_0x419506,this['dt']=_0x4e2ea1):(_0xebc1a5='UTC',this['dt']=0x0===_0x4e2ea1['offset']?_0x4e2ea1:_0x4e2ea1['setZone']('UTC')['plus']({'minutes':_0x4e2ea1['offset']}),this['originalZone']=_0x4e2ea1['zone']);}else'system'===_0x4e2ea1['zone']['type']?this['dt']=_0x4e2ea1:'iana'===_0x4e2ea1['zone']['type']?(this['dt']=_0x4e2ea1,_0xebc1a5=_0x4e2ea1['zone']['name']):(_0xebc1a5='UTC',this['dt']=_0x4e2ea1['setZone']('UTC')['plus']({'minutes':_0x4e2ea1['offset']}),this['originalZone']=_0x4e2ea1['zone']);}const _0x465261={...this['opts']};_0x465261['timeZone']=_0x465261['timeZone']||_0xebc1a5,this['dtf']=getCachedDTF(_0x589953,_0x465261);}['format'](){return this['originalZone']?this['formatToParts']()['map'](({value:_0x56dde0})=>_0x56dde0)['join'](''):this['dtf']['format'](this['dt']['toJSDate']());}['formatToParts'](){const _0x45a20b=this['dtf']['formatToParts'](this['dt']['toJSDate']());return this['originalZone']?_0x45a20b['map'](_0x37988b=>{if('timeZoneName'===_0x37988b['type']){const _0x28b83f=this['originalZone']['offsetName'](this['dt']['ts'],{'locale':this['dt']['locale'],'format':this['opts']['timeZoneName']});return{..._0x37988b,'value':_0x28b83f};}return _0x37988b;}):_0x45a20b;}['resolvedOptions'](){return this['dtf']['resolvedOptions']();}}class PolyRelFormatter{constructor(_0x1adac2,_0x43404b,_0x31edf5){this['opts']={'style':'long',..._0x31edf5},!_0x43404b&&hasRelative()&&(this['rtf']=getCachedRTF(_0x1adac2,_0x31edf5));}['format'](_0x54a363,_0x4a0685){return this['rtf']?this['rtf']['format'](_0x54a363,_0x4a0685):formatRelativeTime(_0x4a0685,_0x54a363,this['opts']['numeric'],'long'!==this['opts']['style']);}['formatToParts'](_0x55c23e,_0x38aea6){return this['rtf']?this['rtf']['formatToParts'](_0x55c23e,_0x38aea6):[];}}const fallbackWeekSettings={'firstDay':0x1,'minimalDays':0x4,'weekend':[0x6,0x7]};class _0x5b1114{static['fromOpts'](_0x4d0b87){return _0x5b1114['create'](_0x4d0b87['locale'],_0x4d0b87['numberingSystem'],_0x4d0b87['outputCalendar'],_0x4d0b87['weekSettings'],_0x4d0b87['defaultToEN']);}static['create'](_0xe98cb4,_0xdbf5e,_0x2d5a5d,_0x335f56,_0x10b319=!0x1){const _0x1143d3=_0xe98cb4||Settings['defaultLocale'],_0x53e9e3=_0x1143d3||(_0x10b319?'en-US':systemLocale()),_0x24b2e2=_0xdbf5e||Settings['defaultNumberingSystem'],_0x535aaa=_0x2d5a5d||Settings['defaultOutputCalendar'],_0x15bcfd=validateWeekSettings(_0x335f56)||Settings['defaultWeekSettings'];return new _0x5b1114(_0x53e9e3,_0x24b2e2,_0x535aaa,_0x15bcfd,_0x1143d3);}static['resetCache'](){_0x460806=null,intlDTCache['clear'](),intlNumCache['clear'](),intlRelCache['clear'](),intlResolvedOptionsCache['clear'](),_0x47258d['clear']();}static['fromObject']({locale:_0x4b9534,numberingSystem:_0x3ac911,outputCalendar:_0x467a42,weekSettings:_0x127824}={}){return _0x5b1114['create'](_0x4b9534,_0x3ac911,_0x467a42,_0x127824);}constructor(_0xf37250,_0x1d809e,_0x2230bc,_0x54743d,_0x4ac7f0){const [_0x49b6b1,_0xf33c77,_0x9a863c]=parseLocaleString(_0xf37250);this['locale']=_0x49b6b1,this['numberingSystem']=_0x1d809e||_0xf33c77||null,this['outputCalendar']=_0x2230bc||_0x9a863c||null,this['weekSettings']=_0x54743d,this['intl']=intlConfigString(this['locale'],this['numberingSystem'],this['outputCalendar']),this['weekdaysCache']={'format':{},'standalone':{}},this['monthsCache']={'format':{},'standalone':{}},this['meridiemCache']=null,this['eraCache']={},this['specifiedLocale']=_0x4ac7f0,this['fastNumbersCached']=null;}get['fastNumbers'](){return null==this['fastNumbersCached']&&(this['fastNumbersCached']=supportsFastNumbers(this)),this['fastNumbersCached'];}['listingMode'](){const _0x21c6f2=this['isEnglish'](),_0x3fd1dc=!(null!==this['numberingSystem']&&'latn'!==this['numberingSystem']||null!==this['outputCalendar']&&'gregory'!==this['outputCalendar']);return _0x21c6f2&&_0x3fd1dc?'en':'intl';}['clone'](_0x10980e){return _0x10980e&&0x0!==Object['getOwnPropertyNames'](_0x10980e)['length']?_0x5b1114['create'](_0x10980e['locale']||this['specifiedLocale'],_0x10980e['numberingSystem']||this['numberingSystem'],_0x10980e['outputCalendar']||this['outputCalendar'],validateWeekSettings(_0x10980e['weekSettings'])||this['weekSettings'],_0x10980e['defaultToEN']||!0x1):this;}['redefaultToEN'](_0x529acf={}){return this['clone']({..._0x529acf,'defaultToEN':!0x0});}['redefaultToSystem'](_0x2f6cd1={}){return this['clone']({..._0x2f6cd1,'defaultToEN':!0x1});}['months'](_0x155134,_0x284319=!0x1){return listStuff(this,_0x155134,months,()=>{const _0x26dfb9=_0x284319?{'month':_0x155134,'day':'numeric'}:{'month':_0x155134},_0x4fd821=_0x284319?'format':'standalone';return this['monthsCache'][_0x4fd821][_0x155134]||(this['monthsCache'][_0x4fd821][_0x155134]=mapMonths(_0x4458d=>this['extract'](_0x4458d,_0x26dfb9,'month'))),this['monthsCache'][_0x4fd821][_0x155134];});}['weekdays'](_0x4f2693,_0x5a92f4=!0x1){return listStuff(this,_0x4f2693,_0x116e65,()=>{const _0x45bd2b=_0x5a92f4?{'weekday':_0x4f2693,'year':'numeric','month':'long','day':'numeric'}:{'weekday':_0x4f2693},_0x1ba077=_0x5a92f4?'format':'standalone';return this['weekdaysCache'][_0x1ba077][_0x4f2693]||(this['weekdaysCache'][_0x1ba077][_0x4f2693]=_0x53885d(_0x202260=>this['extract'](_0x202260,_0x45bd2b,'weekday'))),this['weekdaysCache'][_0x1ba077][_0x4f2693];});}['meridiems'](){return listStuff(this,void 0x0,()=>_0x32f936,()=>{if(!this['meridiemCache']){const _0x487774={'hour':'numeric','hourCycle':'h12'};this['meridiemCache']=[DateTime['utc'](0x7e0,0xb,0xd,0x9),DateTime['utc'](0x7e0,0xb,0xd,0x13)]['map'](_0x545092=>this['extract'](_0x545092,_0x487774,'dayperiod'));}return this['meridiemCache'];});}['eras'](_0x10351a){return listStuff(this,_0x10351a,_0x36dbd5,()=>{const _0x486b53={'era':_0x10351a};return this['eraCache'][_0x10351a]||(this['eraCache'][_0x10351a]=[DateTime['utc'](-0x28,0x1,0x1),DateTime['utc'](0x7e1,0x1,0x1)]['map'](_0x43ee8d=>this['extract'](_0x43ee8d,_0x486b53,'era'))),this['eraCache'][_0x10351a];});}['extract'](_0x29161d,_0x2f68ed,_0x28b227){const _0x154b00=this['dtFormatter'](_0x29161d,_0x2f68ed)['formatToParts']()['find'](_0x1f6cbb=>_0x1f6cbb['type']['toLowerCase']()===_0x28b227);return _0x154b00?_0x154b00['value']:null;}['numberFormatter'](_0x4d3e33={}){return new PolyNumberFormatter(this['intl'],_0x4d3e33['forceSimple']||this['fastNumbers'],_0x4d3e33);}['dtFormatter'](_0x1d9cae,_0x4014f0={}){return new PolyDateFormatter(_0x1d9cae,this['intl'],_0x4014f0);}['relFormatter'](_0x247084={}){return new PolyRelFormatter(this['intl'],this['isEnglish'](),_0x247084);}['listFormatter'](_0x557816={}){return getCachedLF(this['intl'],_0x557816);}['isEnglish'](){return'en'===this['locale']||'en-us'===this['locale']['toLowerCase']()||getCachedIntResolvedOptions(this['intl'])['locale']['startsWith']('en-us');}['getWeekSettings'](){return this['weekSettings']?this['weekSettings']:_0x1af1b8()?getCachedWeekInfo(this['locale']):fallbackWeekSettings;}['getStartOfWeek'](){return this['getWeekSettings']()['firstDay'];}['getMinDaysInFirstWeek'](){return this['getWeekSettings']()['minimalDays'];}['getWeekendDays'](){return this['getWeekSettings']()['weekend'];}['equals'](_0x3260d1){return this['locale']===_0x3260d1['locale']&&this['numberingSystem']===_0x3260d1['numberingSystem']&&this['outputCalendar']===_0x3260d1['outputCalendar'];}['toString'](){return'Locale('+this['locale']+',\x20'+this['numberingSystem']+',\x20'+this['outputCalendar']+')';}}let singleton=null;class FixedOffsetZone extends _0x350fa1{static get['utcInstance'](){return null===singleton&&(singleton=new FixedOffsetZone(0x0)),singleton;}static['instance'](_0x57288e){return 0x0===_0x57288e?FixedOffsetZone['utcInstance']:new FixedOffsetZone(_0x57288e);}static['parseSpecifier'](_0x5eee04){if(_0x5eee04){const _0x475da9=_0x5eee04['match'](/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(_0x475da9)return new FixedOffsetZone(signedOffset(_0x475da9[0x1],_0x475da9[0x2]));}return null;}constructor(_0x50e36c){super(),this['fixed']=_0x50e36c;}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'](_0x2ec137,_0x36f5a1){return formatOffset(this['fixed'],_0x36f5a1);}get['isUniversal'](){return!0x0;}['offset'](){return this['fixed'];}['equals'](_0x1458c5){return'fixed'===_0x1458c5['type']&&_0x1458c5['fixed']===this['fixed'];}get['isValid'](){return!0x0;}}class _0x30e175 extends _0x350fa1{constructor(_0x2c807c){super(),this['zoneName']=_0x2c807c;}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 _0x2b8ca5(_0x43ccb3,_0x3d75a6){if(_0x35adef(_0x43ccb3)||null===_0x43ccb3)return _0x3d75a6;if(_0x43ccb3 instanceof _0x350fa1)return _0x43ccb3;if(isString(_0x43ccb3)){const _0x570343=_0x43ccb3['toLowerCase']();return'default'===_0x570343?_0x3d75a6:'local'===_0x570343||'system'===_0x570343?SystemZone['instance']:'utc'===_0x570343||'gmt'===_0x570343?FixedOffsetZone['utcInstance']:FixedOffsetZone['parseSpecifier'](_0x570343)||_0x4d5734['create'](_0x43ccb3);}return _0xf15b8b(_0x43ccb3)?FixedOffsetZone['instance'](_0x43ccb3):'object'==typeof _0x43ccb3&&'offset'in _0x43ccb3&&'function'==typeof _0x43ccb3['offset']?_0x43ccb3:new _0x30e175(_0x43ccb3);}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]},_0x66814c=numberingSystems['hanidec']['replace'](/[\[|\]]/g,'')['split']('');function parseDigits(_0x36a4fb){let _0x50a34d=parseInt(_0x36a4fb,0xa);if(isNaN(_0x50a34d)){_0x50a34d='';for(let _0x3386b9=0x0;_0x3386b9<_0x36a4fb['length'];_0x3386b9++){const _0xeb1301=_0x36a4fb['charCodeAt'](_0x3386b9);if(-0x1!==_0x36a4fb[_0x3386b9]['search'](numberingSystems['hanidec']))_0x50a34d+=_0x66814c['indexOf'](_0x36a4fb[_0x3386b9]);else for(const _0x24788c in numberingSystemsUTF16){const [_0xfe139e,_0x5b25ba]=numberingSystemsUTF16[_0x24788c];_0xeb1301>=_0xfe139e&&_0xeb1301<=_0x5b25ba&&(_0x50a34d+=_0xeb1301-_0xfe139e);}}return parseInt(_0x50a34d,0xa);}return _0x50a34d;}const digitRegexCache=new Map();function resetDigitRegexCache(){digitRegexCache['clear']();}function digitRegex({numberingSystem:_0x26f868},_0x673665=''){const _0x4dc7a4=_0x26f868||'latn';let _0x4b45f1=digitRegexCache['get'](_0x4dc7a4);void 0x0===_0x4b45f1&&(_0x4b45f1=new Map(),digitRegexCache['set'](_0x4dc7a4,_0x4b45f1));let _0x4ef14e=_0x4b45f1['get'](_0x673665);return void 0x0===_0x4ef14e&&(_0x4ef14e=new RegExp(''+numberingSystems[_0x4dc7a4]+_0x673665),_0x4b45f1['set'](_0x673665,_0x4ef14e)),_0x4ef14e;}let _0x401ea2=()=>Date['now'](),defaultZone='system',defaultLocale=null,defaultNumberingSystem=null,defaultOutputCalendar=null,twoDigitCutoffYear=0x3c,throwOnInvalid,defaultWeekSettings=null;class Settings{static get['now'](){return _0x401ea2;}static set['now'](_0x4e1bb1){_0x401ea2=_0x4e1bb1;}static set['defaultZone'](_0x17eba0){defaultZone=_0x17eba0;}static get['defaultZone'](){return _0x2b8ca5(defaultZone,SystemZone['instance']);}static get['defaultLocale'](){return defaultLocale;}static set['defaultLocale'](_0x32fd15){defaultLocale=_0x32fd15;}static get['defaultNumberingSystem'](){return defaultNumberingSystem;}static set['defaultNumberingSystem'](_0x3fd732){defaultNumberingSystem=_0x3fd732;}static get['defaultOutputCalendar'](){return defaultOutputCalendar;}static set['defaultOutputCalendar'](_0x50c149){defaultOutputCalendar=_0x50c149;}static get['defaultWeekSettings'](){return defaultWeekSettings;}static set['defaultWeekSettings'](_0x10f747){defaultWeekSettings=validateWeekSettings(_0x10f747);}static get['twoDigitCutoffYear'](){return twoDigitCutoffYear;}static set['twoDigitCutoffYear'](_0xf7976a){twoDigitCutoffYear=_0xf7976a%0x64;}static get['throwOnInvalid'](){return throwOnInvalid;}static set['throwOnInvalid'](t){throwOnInvalid=t;}static['resetCaches'](){_0x5b1114['resetCache'](),_0x4d5734['resetCache'](),DateTime['resetCache'](),resetDigitRegexCache();}}class _0x30aca9{constructor(_0x2eb9cc,_0x29295b){this['reason']=_0x2eb9cc,this['explanation']=_0x29295b;}['toMessage'](){return this['explanation']?this['reason']+':\x20'+this['explanation']:this['reason'];}}const _0x8a418a=[0x0,0x1f,0x3b,0x5a,0x78,0x97,0xb5,0xd4,0xf3,0x111,0x130,0x14e],_0x3b2870=[0x0,0x1f,0x3c,0x5b,0x79,0x98,0xb6,0xd5,0xf4,0x112,0x131,0x14f];function unitOutOfRange(_0x596d47,_0x59dfe1){return new _0x30aca9('unit\x20out\x20of\x20range','you\x20specified\x20'+_0x59dfe1+'\x20(of\x20type\x20'+typeof _0x59dfe1+')\x20as\x20a\x20'+_0x596d47+',\x20which\x20is\x20invalid');}function _0x4320a1(_0x1ac901,_0x27bfdb,_0x152cf5){const _0x2298ea=new Date(Date['UTC'](_0x1ac901,_0x27bfdb-0x1,_0x152cf5));_0x1ac901<0x64&&_0x1ac901>=0x0&&_0x2298ea['setUTCFullYear'](_0x2298ea['getUTCFullYear']()-0x76c);const _0x198cb8=_0x2298ea['getUTCDay']();return 0x0===_0x198cb8?0x7:_0x198cb8;}function computeOrdinal(_0x5aa3e4,_0x492d9a,_0xd2354){return _0xd2354+(_0x2f9a57(_0x5aa3e4)?_0x3b2870:_0x8a418a)[_0x492d9a-0x1];}function uncomputeOrdinal(_0x31135e,_0x491807){const _0x10073e=_0x2f9a57(_0x31135e)?_0x3b2870:_0x8a418a,_0x4f821f=_0x10073e['findIndex'](_0x3e3db8=>_0x3e3db8<_0x491807);return{'month':_0x4f821f+0x1,'day':_0x491807-_0x10073e[_0x4f821f]};}function _0x45c95f(_0x46f522,_0x215095){return(_0x46f522-_0x215095+0x7)%0x7+0x1;}function _0x5d1e8c(_0x4f4d92,_0x3154d9=0x4,_0x9a471=0x1){const {year:_0xdb7152,month:_0x4b46e1,day:_0x555ca1}=_0x4f4d92,_0x55d929=computeOrdinal(_0xdb7152,_0x4b46e1,_0x555ca1),_0x50e888=_0x45c95f(_0x4320a1(_0xdb7152,_0x4b46e1,_0x555ca1),_0x9a471);let _0x38cc35,_0x65de05=Math['floor']((_0x55d929-_0x50e888+0xe-_0x3154d9)/0x7);return _0x65de05<0x1?(_0x38cc35=_0xdb7152-0x1,_0x65de05=_0x32046f(_0x38cc35,_0x3154d9,_0x9a471)):_0x65de05>_0x32046f(_0xdb7152,_0x3154d9,_0x9a471)?(_0x38cc35=_0xdb7152+0x1,_0x65de05=0x1):_0x38cc35=_0xdb7152,{'weekYear':_0x38cc35,'weekNumber':_0x65de05,'weekday':_0x50e888,...timeObject(_0x4f4d92)};}function _0x1c4fb5(_0x592f3e,_0x356928=0x4,_0x35d78b=0x1){const {weekYear:_0x5f3249,weekNumber:_0x50509d,weekday:_0xe470c9}=_0x592f3e,_0x30814e=_0x45c95f(_0x4320a1(_0x5f3249,0x1,_0x356928),_0x35d78b),_0x42cfbe=_0x5332f9(_0x5f3249);let _0x5a4a2a,_0x520075=0x7*_0x50509d+_0xe470c9-_0x30814e-0x7+_0x356928;_0x520075<0x1?(_0x5a4a2a=_0x5f3249-0x1,_0x520075+=_0x5332f9(_0x5a4a2a)):_0x520075>_0x42cfbe?(_0x5a4a2a=_0x5f3249+0x1,_0x520075-=_0x5332f9(_0x5f3249)):_0x5a4a2a=_0x5f3249;const {month:_0xdbbe08,day:_0x49fd6b}=uncomputeOrdinal(_0x5a4a2a,_0x520075);return{'year':_0x5a4a2a,'month':_0xdbbe08,'day':_0x49fd6b,...timeObject(_0x592f3e)};}function _0x1ee292(_0x21ce2c){const {year:_0x3a4d31,month:_0x20e1ec,day:_0x734c5d}=_0x21ce2c;return{'year':_0x3a4d31,'ordinal':computeOrdinal(_0x3a4d31,_0x20e1ec,_0x734c5d),...timeObject(_0x21ce2c)};}function _0x5ac600(_0x5b68ef){const {year:_0x4e139b,ordinal:_0x5ac5a7}=_0x5b68ef,{month:_0x17afa9,day:_0x2ec140}=uncomputeOrdinal(_0x4e139b,_0x5ac5a7);return{'year':_0x4e139b,'month':_0x17afa9,'day':_0x2ec140,...timeObject(_0x5b68ef)};}function _0x4a6ef6(_0x383d6d,_0x139200){if(!_0x35adef(_0x383d6d['localWeekday'])||!_0x35adef(_0x383d6d['localWeekNumber'])||!_0x35adef(_0x383d6d['localWeekYear'])){if(!_0x35adef(_0x383d6d['weekday'])||!_0x35adef(_0x383d6d['weekNumber'])||!_0x35adef(_0x383d6d['weekYear']))throw new ConflictingSpecificationError('Cannot\x20mix\x20locale-based\x20week\x20fields\x20with\x20ISO-based\x20week\x20fields');return _0x35adef(_0x383d6d['localWeekday'])||(_0x383d6d['weekday']=_0x383d6d['localWeekday']),_0x35adef(_0x383d6d['localWeekNumber'])||(_0x383d6d['weekNumber']=_0x383d6d['localWeekNumber']),_0x35adef(_0x383d6d['localWeekYear'])||(_0x383d6d['weekYear']=_0x383d6d['localWeekYear']),delete _0x383d6d['localWeekday'],delete _0x383d6d['localWeekNumber'],delete _0x383d6d['localWeekYear'],{'minDaysInFirstWeek':_0x139200['getMinDaysInFirstWeek'](),'startOfWeek':_0x139200['getStartOfWeek']()};}return{'minDaysInFirstWeek':0x4,'startOfWeek':0x1};}function hasInvalidWeekData(_0x4eb3ed,_0x1fd77f=0x4,_0x25e1aa=0x1){const _0x26d52c=isInteger(_0x4eb3ed['weekYear']),_0x233865=integerBetween(_0x4eb3ed['weekNumber'],0x1,_0x32046f(_0x4eb3ed['weekYear'],_0x1fd77f,_0x25e1aa)),_0x2ee06e=integerBetween(_0x4eb3ed['weekday'],0x1,0x7);return _0x26d52c?_0x233865?!_0x2ee06e&&unitOutOfRange('weekday',_0x4eb3ed['weekday']):unitOutOfRange('week',_0x4eb3ed['weekNumber']):unitOutOfRange('weekYear',_0x4eb3ed['weekYear']);}function hasInvalidOrdinalData(_0x5bcb72){const _0x4ccbf4=isInteger(_0x5bcb72['year']),_0x310b6c=integerBetween(_0x5bcb72['ordinal'],0x1,_0x5332f9(_0x5bcb72['year']));return _0x4ccbf4?!_0x310b6c&&unitOutOfRange('ordinal',_0x5bcb72['ordinal']):unitOutOfRange('year',_0x5bcb72['year']);}function hasInvalidGregorianData(_0x4a8f68){const _0x3c182b=isInteger(_0x4a8f68['year']),_0x2dc8df=integerBetween(_0x4a8f68['month'],0x1,0xc),_0x3f6068=integerBetween(_0x4a8f68['day'],0x1,daysInMonth(_0x4a8f68['year'],_0x4a8f68['month']));return _0x3c182b?_0x2dc8df?!_0x3f6068&&unitOutOfRange('day',_0x4a8f68['day']):unitOutOfRange('month',_0x4a8f68['month']):unitOutOfRange('year',_0x4a8f68['year']);}function hasInvalidTimeData(_0x3ac87f){const {hour:_0x1e4f4d,minute:_0x21fc8a,second:_0x58e21c,millisecond:_0x264ffe}=_0x3ac87f,_0x2ccb40=integerBetween(_0x1e4f4d,0x0,0x17)||0x18===_0x1e4f4d&&0x0===_0x21fc8a&&0x0===_0x58e21c&&0x0===_0x264ffe,_0x277ca3=integerBetween(_0x21fc8a,0x0,0x3b),_0x3ec47b=integerBetween(_0x58e21c,0x0,0x3b),_0x180933=integerBetween(_0x264ffe,0x0,0x3e7);return _0x2ccb40?_0x277ca3?_0x3ec47b?!_0x180933&&unitOutOfRange('millisecond',_0x264ffe):unitOutOfRange('second',_0x58e21c):unitOutOfRange('minute',_0x21fc8a):unitOutOfRange('hour',_0x1e4f4d);}function _0x35adef(_0x54219f){return void 0x0===_0x54219f;}function _0xf15b8b(_0x23f67a){return'number'==typeof _0x23f67a;}function isInteger(_0x29e43a){return'number'==typeof _0x29e43a&&_0x29e43a%0x1==0x0;}function isString(_0x14d7f7){return'string'==typeof _0x14d7f7;}function isDate(_0x3b6c09){return'[object\x20Date]'===Object['prototype']['toString']['call'](_0x3b6c09);}function hasRelative(){try{return'undefined'!=typeof Intl&&!!Intl['RelativeTimeFormat'];}catch(_0x277825){return!0x1;}}function _0x1af1b8(){try{return'undefined'!=typeof Intl&&!!Intl['Locale']&&('weekInfo'in Intl['Locale']['prototype']||'getWeekInfo'in Intl['Locale']['prototype']);}catch(_0x4f811f){return!0x1;}}function _0x1d3fdd(_0x26d705){return Array['isArray'](_0x26d705)?_0x26d705:[_0x26d705];}function bestBy(_0x5900cb,_0x9a55d5,_0x17562e){if(0x0!==_0x5900cb['length'])return _0x5900cb['reduce']((_0x422922,_0x317c16)=>{const _0x51f457=[_0x9a55d5(_0x317c16),_0x317c16];return _0x422922&&_0x17562e(_0x422922[0x0],_0x51f457[0x0])===_0x422922[0x0]?_0x422922:_0x51f457;},null)[0x1];}function _0x16c7ed(_0x58b9de,_0x24018f){return _0x24018f['reduce']((_0x55c989,_0x3dc94b)=>(_0x55c989[_0x3dc94b]=_0x58b9de[_0x3dc94b],_0x55c989),{});}function hasOwnProperty(_0x24c4af,_0x263629){return Object['prototype']['hasOwnProperty']['call'](_0x24c4af,_0x263629);}function validateWeekSettings(_0x4635d4){if(null==_0x4635d4)return null;if('object'!=typeof _0x4635d4)throw new InvalidArgumentError('Week\x20settings\x20must\x20be\x20an\x20object');if(!integerBetween(_0x4635d4['firstDay'],0x1,0x7)||!integerBetween(_0x4635d4['minimalDays'],0x1,0x7)||!Array['isArray'](_0x4635d4['weekend'])||_0x4635d4['weekend']['some'](_0x493a70=>!integerBetween(_0x493a70,0x1,0x7)))throw new InvalidArgumentError('Invalid\x20week\x20settings');return{'firstDay':_0x4635d4['firstDay'],'minimalDays':_0x4635d4['minimalDays'],'weekend':Array['from'](_0x4635d4['weekend'])};}function integerBetween(_0x275c90,_0x10c53,_0x20ad14){return isInteger(_0x275c90)&&_0x275c90>=_0x10c53&&_0x275c90<=_0x20ad14;}function _0x2f3d56(_0x4ebddc,_0x11f96a){return _0x4ebddc-_0x11f96a*Math['floor'](_0x4ebddc/_0x11f96a);}function padStart(_0x4e37f1,_0x27a5f7=0x2){let _0x5dab2d;return _0x5dab2d=_0x4e37f1<0x0?'-'+(''+-_0x4e37f1)['padStart'](_0x27a5f7,'0'):(''+_0x4e37f1)['padStart'](_0x27a5f7,'0'),_0x5dab2d;}function parseInteger(_0x10d5cb){return _0x35adef(_0x10d5cb)||null===_0x10d5cb||''===_0x10d5cb?void 0x0:parseInt(_0x10d5cb,0xa);}function parseFloating(_0x5e4ee8){return _0x35adef(_0x5e4ee8)||null===_0x5e4ee8||''===_0x5e4ee8?void 0x0:parseFloat(_0x5e4ee8);}function _0x5daa36(_0x131482){if(!_0x35adef(_0x131482)&&null!==_0x131482&&''!==_0x131482){const _0x197628=0x3e8*parseFloat('0.'+_0x131482);return Math['floor'](_0x197628);}}function _0x1c84b3(_0x8284d4,_0x26418a,_0x2258dd=!0x1){const _0x93f437=0xa**_0x26418a;return(_0x2258dd?Math['trunc']:Math['round'])(_0x8284d4*_0x93f437)/_0x93f437;}function _0x2f9a57(_0x571bcd){return _0x571bcd%0x4==0x0&&(_0x571bcd%0x64!=0x0||_0x571bcd%0x190==0x0);}function _0x5332f9(_0x11dc13){return _0x2f9a57(_0x11dc13)?0x16e:0x16d;}function daysInMonth(_0x25771a,_0x2c9c5d){const _0x21110b=_0x2f3d56(_0x2c9c5d-0x1,0xc)+0x1;return 0x2===_0x21110b?_0x2f9a57(_0x25771a+(_0x2c9c5d-_0x21110b)/0xc)?0x1d:0x1c:[0x1f,null,0x1f,0x1e,0x1f,0x1e,0x1f,0x1f,0x1e,0x1f,0x1e,0x1f][_0x21110b-0x1];}function _0x1ace39(_0x49a015){let _0x2f0181=Date['UTC'](_0x49a015['year'],_0x49a015['month']-0x1,_0x49a015['day'],_0x49a015['hour'],_0x49a015['minute'],_0x49a015['second'],_0x49a015['millisecond']);return _0x49a015['year']<0x64&&_0x49a015['year']>=0x0&&(_0x2f0181=new Date(_0x2f0181),_0x2f0181['setUTCFullYear'](_0x49a015['year'],_0x49a015['month']-0x1,_0x49a015['day'])),+_0x2f0181;}function firstWeekOffset(_0x1f18d6,_0x571737,_0x45c018){return-_0x45c95f(_0x4320a1(_0x1f18d6,0x1,_0x571737),_0x45c018)+_0x571737-0x1;}function _0x32046f(_0x102757,_0x26f475=0x4,_0x48c11c=0x1){const _0x30c6f6=firstWeekOffset(_0x102757,_0x26f475,_0x48c11c),_0x49998d=firstWeekOffset(_0x102757+0x1,_0x26f475,_0x48c11c);return(_0x5332f9(_0x102757)-_0x30c6f6+_0x49998d)/0x7;}function untruncateYear(_0x3a5a29){return _0x3a5a29>0x63?_0x3a5a29:_0x3a5a29>Settings['twoDigitCutoffYear']?0x76c+_0x3a5a29:0x7d0+_0x3a5a29;}function _0x2d7c4c(_0x3f4846,_0x58236c,_0x183869,_0x252a2b=null){const _0x37c063=new Date(_0x3f4846),_0x3b0276={'hourCycle':'h23','year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit'};_0x252a2b&&(_0x3b0276['timeZone']=_0x252a2b);const _0x12546a={'timeZoneName':_0x58236c,..._0x3b0276},_0x398c03=new Intl['DateTimeFormat'](_0x183869,_0x12546a)['formatToParts'](_0x37c063)['find'](_0x14a445=>'timezonename'===_0x14a445['type']['toLowerCase']());return _0x398c03?_0x398c03['value']:null;}function signedOffset(_0x2be584,_0x2eecdd){let _0x36f823=parseInt(_0x2be584,0xa);Number['isNaN'](_0x36f823)&&(_0x36f823=0x0);const _0xe42cd1=parseInt(_0x2eecdd,0xa)||0x0;return 0x3c*_0x36f823+(_0x36f823<0x0||Object['is'](_0x36f823,-0x0)?-_0xe42cd1:_0xe42cd1);}function _0x59c46d(_0x1d81b0){const _0x4159b3=Number(_0x1d81b0);if('boolean'==typeof _0x1d81b0||''===_0x1d81b0||Number['isNaN'](_0x4159b3))throw new InvalidArgumentError('Invalid\x20unit\x20value\x20'+_0x1d81b0);return _0x4159b3;}function normalizeObject(_0x30ec30,_0x27ac4d){const _0x448051={};for(const _0x4e80f5 in _0x30ec30)if(hasOwnProperty(_0x30ec30,_0x4e80f5)){const _0x5bd4c5=_0x30ec30[_0x4e80f5];if(null==_0x5bd4c5)continue;_0x448051[_0x27ac4d(_0x4e80f5)]=_0x59c46d(_0x5bd4c5);}return _0x448051;}function formatOffset(_0x2a936c,_0x5ecd9e){const _0x1b2506=Math['trunc'](Math['abs'](_0x2a936c/0x3c)),_0x4cc660=Math['trunc'](Math['abs'](_0x2a936c%0x3c)),_0x1a8605=_0x2a936c>=0x0?'+':'-';switch(_0x5ecd9e){case'short':return''+_0x1a8605+padStart(_0x1b2506,0x2)+':'+padStart(_0x4cc660,0x2);case'narrow':return''+_0x1a8605+_0x1b2506+(_0x4cc660>0x0?':'+_0x4cc660:'');case'techie':return''+_0x1a8605+padStart(_0x1b2506,0x2)+padStart(_0x4cc660,0x2);default:throw new RangeError('Value\x20format\x20'+_0x5ecd9e+'\x20is\x20out\x20of\x20range\x20for\x20property\x20format');}}function timeObject(_0x57645d){return _0x16c7ed(_0x57645d,['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(_0x3e94b5){switch(_0x3e94b5){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 _0x4469cb=['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'],weekdaysShort=['Mon','Tue','Wed','Thu','Fri','Sat','Sun'],_0x4def17=['M','T','W','T','F','S','S'];function _0x116e65(_0x4b0813){switch(_0x4b0813){case'narrow':return[..._0x4def17];case'short':return[...weekdaysShort];case'long':return[..._0x4469cb];case'numeric':return['1','2','3','4','5','6','7'];default:return null;}}const _0x32f936=['AM','PM'],_0x18f490=['Before\x20Christ','Anno\x20Domini'],erasShort=['BC','AD'],_0xa46b6f=['B','A'];function _0x36dbd5(_0x4b3b3e){switch(_0x4b3b3e){case'narrow':return[..._0xa46b6f];case'short':return[...erasShort];case'long':return[..._0x18f490];default:return null;}}function meridiemForDateTime(_0x479b1b){return _0x32f936[_0x479b1b['hour']<0xc?0x0:0x1];}function weekdayForDateTime(_0x1c9cc3,_0x18144c){return _0x116e65(_0x18144c)[_0x1c9cc3['weekday']-0x1];}function monthForDateTime(_0x2d16bf,_0x4dc23e){return months(_0x4dc23e)[_0x2d16bf['month']-0x1];}function eraForDateTime(_0x243e44,_0x3b05c8){return _0x36dbd5(_0x3b05c8)[_0x243e44['year']<0x0?0x0:0x1];}function formatRelativeTime(_0x4de2de,_0x113787,_0x2aa2d7='always',_0x21ab1a=!0x1){const _0x2255a8={'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.']},_0x55d3f8=-0x1===['hours','minutes','seconds']['indexOf'](_0x4de2de);if('auto'===_0x2aa2d7&&_0x55d3f8){const _0xd68c2c='days'===_0x4de2de;switch(_0x113787){case 0x1:return _0xd68c2c?'tomorrow':'next\x20'+_0x2255a8[_0x4de2de][0x0];case-0x1:return _0xd68c2c?'yesterday':'last\x20'+_0x2255a8[_0x4de2de][0x0];case 0x0:return _0xd68c2c?'today':'this\x20'+_0x2255a8[_0x4de2de][0x0];}}const _0x5c29ae=Object['is'](_0x113787,-0x0)||_0x113787<0x0,_0x5eb021=Math['abs'](_0x113787),_0x255faa=0x1===_0x5eb021,_0x15c8a3=_0x2255a8[_0x4de2de],_0x26d198=_0x21ab1a?_0x255faa?_0x15c8a3[0x1]:_0x15c8a3[0x2]||_0x15c8a3[0x1]:_0x255faa?_0x2255a8[_0x4de2de][0x0]:_0x4de2de;return _0x5c29ae?_0x5eb021+'\x20'+_0x26d198+'\x20ago':'in\x20'+_0x5eb021+'\x20'+_0x26d198;}function stringifyTokens(_0x1f557f,_0x1cd76b){let _0x29eafa='';for(const _0x1a0834 of _0x1f557f)_0x1a0834['literal']?_0x29eafa+=_0x1a0834['val']:_0x29eafa+=_0x1cd76b(_0x1a0834['val']);return _0x29eafa;}const macroTokenToFormatOpts={'D':_0x49e4c4,'DD':_0xd8f51e,'DDD':_0x388b6a,'DDDD':_0x2e7230,'t':_0x594ef0,'tt':_0x561b55,'ttt':_0x485ab0,'tttt':_0xc715f5,'T':_0x5a2c2a,'TT':_0x215c6b,'TTT':_0x3c8d5d,'TTTT':_0x57384a,'f':_0x58053d,'ff':_0x7c9ea,'fff':_0x2f4801,'ffff':_0x2a0d37,'F':_0x26d626,'FF':_0x25cead,'FFF':_0x1773b0,'FFFF':_0x5d0bf8};class Formatter{static['create'](_0x4036f8,_0x33c65c={}){return new Formatter(_0x4036f8,_0x33c65c);}static['parseFormat'](_0x3332d8){let _0x63dec8=null,_0x621b2b='',_0x3333dd=!0x1;const _0x506608=[];for(let _0x107baa=0x0;_0x107baa<_0x3332d8['length'];_0x107baa++){const _0x221fba=_0x3332d8['charAt'](_0x107baa);'\x27'===_0x221fba?(_0x621b2b['length']>0x0&&_0x506608['push']({'literal':_0x3333dd||/^\s+$/['test'](_0x621b2b),'val':_0x621b2b}),_0x63dec8=null,_0x621b2b='',_0x3333dd=!_0x3333dd):_0x3333dd||_0x221fba===_0x63dec8?_0x621b2b+=_0x221fba:(_0x621b2b['length']>0x0&&_0x506608['push']({'literal':/^\s+$/['test'](_0x621b2b),'val':_0x621b2b}),_0x621b2b=_0x221fba,_0x63dec8=_0x221fba);}return _0x621b2b['length']>0x0&&_0x506608['push']({'literal':_0x3333dd||/^\s+$/['test'](_0x621b2b),'val':_0x621b2b}),_0x506608;}static['macroTokenToFormatOpts'](_0xec6115){return macroTokenToFormatOpts[_0xec6115];}constructor(_0x29b402,_0x8d2d93){this['opts']=_0x8d2d93,this['loc']=_0x29b402,this['systemLoc']=null;}['formatWithSystemDefault'](_0x3021f7,_0x2ddb4e){return null===this['systemLoc']&&(this['systemLoc']=this['loc']['redefaultToSystem']()),this['systemLoc']['dtFormatter'](_0x3021f7,{...this['opts'],..._0x2ddb4e})['format']();}['dtFormatter'](_0x123c99,_0x5c7e05={}){return this['loc']['dtFormatter'](_0x123c99,{...this['opts'],..._0x5c7e05});}['formatDateTime'](_0x248276,_0x3f3053){return this['dtFormatter'](_0x248276,_0x3f3053)['format']();}['formatDateTimeParts'](_0x5929a6,_0x369838){return this['dtFormatter'](_0x5929a6,_0x369838)['formatToParts']();}['formatInterval'](_0x1d0a62,_0x136465){return this['dtFormatter'](_0x1d0a62['start'],_0x136465)['dtf']['formatRange'](_0x1d0a62['start']['toJSDate'](),_0x1d0a62['end']['toJSDate']());}['resolvedOptions'](_0x5c1f3c,_0x4ba843){return this['dtFormatter'](_0x5c1f3c,_0x4ba843)['resolvedOptions']();}['num'](_0x5a1f0e,_0x4f669a=0x0){if(this['opts']['forceSimple'])return padStart(_0x5a1f0e,_0x4f669a);const _0xe699b8={...this['opts']};return _0x4f669a>0x0&&(_0xe699b8['padTo']=_0x4f669a),this['loc']['numberFormatter'](_0xe699b8)['format'](_0x5a1f0e);}['formatDateTimeFromString'](_0x5300da,_0x4aba9d){const _0x49df7e='en'===this['loc']['listingMode'](),_0xf017fa=this['loc']['outputCalendar']&&'gregory'!==this['loc']['outputCalendar'],_0x2d0468=(_0x423b56,_0x1c680e)=>this['loc']['extract'](_0x5300da,_0x423b56,_0x1c680e),_0xd84df8=_0x3babcb=>_0x5300da['isOffsetFixed']&&0x0===_0x5300da['offset']&&_0x3babcb['allowZ']?'Z':_0x5300da['isValid']?_0x5300da['zone']['formatOffset'](_0x5300da['ts'],_0x3babcb['format']):'',_0x47a5a6=(_0x426721,_0x33cd02)=>_0x49df7e?monthForDateTime(_0x5300da,_0x426721):_0x2d0468(_0x33cd02?{'month':_0x426721}:{'month':_0x426721,'day':'numeric'},'month'),_0x19c68c=(_0x41f973,_0x558943)=>_0x49df7e?weekdayForDateTime(_0x5300da,_0x41f973):_0x2d0468(_0x558943?{'weekday':_0x41f973}:{'weekday':_0x41f973,'month':'long','day':'numeric'},'weekday'),_0x44edc6=_0xe9959=>{const _0x2baf35=Formatter['macroTokenToFormatOpts'](_0xe9959);return _0x2baf35?this['formatWithSystemDefault'](_0x5300da,_0x2baf35):_0xe9959;},_0x3371b5=_0xb50e87=>_0x49df7e?eraForDateTime(_0x5300da,_0xb50e87):_0x2d0468({'era':_0xb50e87},'era');return stringifyTokens(Formatter['parseFormat'](_0x4aba9d),_0x313227=>{switch(_0x313227){case'S':return this['num'](_0x5300da['millisecond']);case'u':case'SSS':return this['num'](_0x5300da['millisecond'],0x3);case's':return this['num'](_0x5300da['second']);case'ss':return this['num'](_0x5300da['second'],0x2);case'uu':return this['num'](Math['floor'](_0x5300da['millisecond']/0xa),0x2);case'uuu':return this['num'](Math['floor'](_0x5300da['millisecond']/0x64));case'm':return this['num'](_0x5300da['minute']);case'mm':return this['num'](_0x5300da['minute'],0x2);case'h':return this['num'](_0x5300da['hour']%0xc==0x0?0xc:_0x5300da['hour']%0xc);case'hh':return this['num'](_0x5300da['hour']%0xc==0x0?0xc:_0x5300da['hour']%0xc,0x2);case'H':return this['num'](_0x5300da['hour']);case'HH':return this['num'](_0x5300da['hour'],0x2);case'Z':return _0xd84df8({'format':'narrow','allowZ':this['opts']['allowZ']});case'ZZ':return _0xd84df8({'format':'short','allowZ':this['opts']['allowZ']});case'ZZZ':return _0xd84df8({'format':'techie','allowZ':this['opts']['allowZ']});case'ZZZZ':return _0x5300da['zone']['offsetName'](_0x5300da['ts'],{'format':'short','locale':this['loc']['locale']});case'ZZZZZ':return _0x5300da['zone']['offsetName'](_0x5300da['ts'],{'format':'long','locale':this['loc']['locale']});case'z':return _0x5300da['zoneName'];case'a':return _0x49df7e?meridiemForDateTime(_0x5300da):_0x2d0468({'hour':'numeric','hourCycle':'h12'},'dayperiod');case'd':return _0xf017fa?_0x2d0468({'day':'numeric'},'day'):this['num'](_0x5300da['day']);case'dd':return _0xf017fa?_0x2d0468({'day':'2-digit'},'day'):this['num'](_0x5300da['day'],0x2);case'c':case'E':return this['num'](_0x5300da['weekday']);case'ccc':return _0x19c68c('short',!0x0);case'cccc':return _0x19c68c('long',!0x0);case'ccccc':return _0x19c68c('narrow',!0x0);case'EEE':return _0x19c68c('short',!0x1);case'EEEE':return _0x19c68c('long',!0x1);case'EEEEE':return _0x19c68c('narrow',!0x1);case'L':return _0xf017fa?_0x2d0468({'month':'numeric','day':'numeric'},'month'):this['num'](_0x5300da['month']);case'LL':return _0xf017fa?_0x2d0468({'month':'2-digit','day':'numeric'},'month'):this['num'](_0x5300da['month'],0x2);case'LLL':return _0x47a5a6('short',!0x0);case'LLLL':return _0x47a5a6('long',!0x0);case'LLLLL':return _0x47a5a6('narrow',!0x0);case'M':return _0xf017fa?_0x2d0468({'month':'numeric'},'month'):this['num'](_0x5300da['month']);case'MM':return _0xf017fa?_0x2d0468({'month':'2-digit'},'month'):this['num'](_0x5300da['month'],0x2);case'MMM':return _0x47a5a6('short',!0x1);case'MMMM':return _0x47a5a6('long',!0x1);case'MMMMM':return _0x47a5a6('narrow',!0x1);case'y':return _0xf017fa?_0x2d0468({'year':'numeric'},'year'):this['num'](_0x5300da['year']);case'yy':return _0xf017fa?_0x2d0468({'year':'2-digit'},'year'):this['num'](_0x5300da['year']['toString']()['slice'](-0x2),0x2);case'yyyy':return _0xf017fa?_0x2d0468({'year':'numeric'},'year'):this['num'](_0x5300da['year'],0x4);case'yyyyyy':return _0xf017fa?_0x2d0468({'year':'numeric'},'year'):this['num'](_0x5300da['year'],0x6);case'G':return _0x3371b5('short');case'GG':return _0x3371b5('long');case'GGGGG':return _0x3371b5('narrow');case'kk':return this['num'](_0x5300da['weekYear']['toString']()['slice'](-0x2),0x2);case'kkkk':return this['num'](_0x5300da['weekYear'],0x4);case'W':return this['num'](_0x5300da['weekNumber']);case'WW':return this['num'](_0x5300da['weekNumber'],0x2);case'n':return this['num'](_0x5300da['localWeekNumber']);case'nn':return this['num'](_0x5300da['localWeekNumber'],0x2);case'ii':return this['num'](_0x5300da['localWeekYear']['toString']()['slice'](-0x2),0x2);case'iiii':return this['num'](_0x5300da['localWeekYear'],0x4);case'o':return this['num'](_0x5300da['ordinal']);case'ooo':return this['num'](_0x5300da['ordinal'],0x3);case'q':return this['num'](_0x5300da['quarter']);case'qq':return this['num'](_0x5300da['quarter'],0x2);case'X':return this['num'](Math['floor'](_0x5300da['ts']/0x3e8));case'x':return this['num'](_0x5300da['ts']);default:return _0x44edc6(_0x313227);}});}['formatDurationFromString'](_0x34ca87,_0x595539){const _0x59c651=_0x1f22f4=>{switch(_0x1f22f4[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;}},_0x27b863=Formatter['parseFormat'](_0x595539),_0x3d950b=_0x27b863['reduce']((_0x594693,{literal:_0x2a6667,val:_0x33b8fe})=>_0x2a6667?_0x594693:_0x594693['concat'](_0x33b8fe),[]),_0x2f89ff=_0x34ca87['shiftTo'](..._0x3d950b['map'](_0x59c651)['filter'](t=>t));return stringifyTokens(_0x27b863,(_0x1596ea=>_0x3b2e67=>{const _0x2824fc=_0x59c651(_0x3b2e67);return _0x2824fc?this['num'](_0x1596ea['get'](_0x2824fc),_0x3b2e67['length']):_0x3b2e67;})(_0x2f89ff));}}const _0x536259=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function _0x1523d6(..._0x4d26ae){const _0x5a696b=_0x4d26ae['reduce']((_0x36c8bb,_0x177bb7)=>_0x36c8bb+_0x177bb7['source'],'');return RegExp('^'+_0x5a696b+'$');}function combineExtractors(..._0x1da524){return _0x45ef2c=>_0x1da524['reduce'](([_0x523d30,_0xc1c8b3,_0x14fe08],_0x1bb3aa)=>{const [_0x276518,_0x54ae2a,_0x2e5f50]=_0x1bb3aa(_0x45ef2c,_0x14fe08);return[{..._0x523d30,..._0x276518},_0x54ae2a||_0xc1c8b3,_0x2e5f50];},[{},null,0x1])['slice'](0x0,0x2);}function _0x7c2d00(_0x2aacc5,..._0x31fd29){if(null==_0x2aacc5)return[null,null];for(const [_0xd95343,_0x596289]of _0x31fd29){const _0x1f118c=_0xd95343['exec'](_0x2aacc5);if(_0x1f118c)return _0x596289(_0x1f118c);}return[null,null];}function _0x420b6f(..._0x1e682c){return(_0xf54000,_0x1aa156)=>{const _0x349e38={};let _0x33ddad;for(_0x33ddad=0x0;_0x33ddad<_0x1e682c['length'];_0x33ddad++)_0x349e38[_0x1e682c[_0x33ddad]]=parseInteger(_0xf54000[_0x1aa156+_0x33ddad]);return[_0x349e38,null,_0x1aa156+_0x33ddad];};}const offsetRegex=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,isoExtendedZone='(?:'+offsetRegex['source']+'?(?:\x5c[('+_0x536259['source']+')\x5c])?)?',_0x53ad98=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,_0x4e0c2c=RegExp(''+_0x53ad98['source']+isoExtendedZone),isoTimeExtensionRegex=RegExp('(?:T'+_0x4e0c2c['source']+')?'),_0x1b45ec=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,_0x3b7b2f=/(\d{4})-?W(\d\d)(?:-?(\d))?/,_0x3ee98b=/(\d{4})-?(\d{3})/,extractISOWeekData=_0x420b6f('weekYear','weekNumber','weekDay'),extractISOOrdinalData=_0x420b6f('year','ordinal'),_0x5cfc1f=/(\d{4})-(\d\d)-(\d\d)/,_0x2d734d=RegExp(_0x53ad98['source']+'\x20?(?:'+offsetRegex['source']+'|('+_0x536259['source']+'))?'),sqlTimeExtensionRegex=RegExp('(?:\x20'+_0x2d734d['source']+')?');function int(_0x49b930,_0x2aa8d1,_0x2b0468){const _0x479093=_0x49b930[_0x2aa8d1];return _0x35adef(_0x479093)?_0x2b0468:parseInteger(_0x479093);}function extractISOYmd(_0x8691cc,_0x4cd94f){return[{'year':int(_0x8691cc,_0x4cd94f),'month':int(_0x8691cc,_0x4cd94f+0x1,0x1),'day':int(_0x8691cc,_0x4cd94f+0x2,0x1)},null,_0x4cd94f+0x3];}function extractISOTime(_0xe71657,_0x3d3c26){return[{'hours':int(_0xe71657,_0x3d3c26,0x0),'minutes':int(_0xe71657,_0x3d3c26+0x1,0x0),'seconds':int(_0xe71657,_0x3d3c26+0x2,0x0),'milliseconds':_0x5daa36(_0xe71657[_0x3d3c26+0x3])},null,_0x3d3c26+0x4];}function extractISOOffset(_0x4202ce,_0x5c6775){const _0x966928=!_0x4202ce[_0x5c6775]&&!_0x4202ce[_0x5c6775+0x1],_0x552b45=signedOffset(_0x4202ce[_0x5c6775+0x1],_0x4202ce[_0x5c6775+0x2]);return[{},_0x966928?null:FixedOffsetZone['instance'](_0x552b45),_0x5c6775+0x3];}function extractIANAZone(_0x2636a0,_0x55ec5c){return[{},_0x2636a0[_0x55ec5c]?_0x4d5734['create'](_0x2636a0[_0x55ec5c]):null,_0x55ec5c+0x1];}const _0x455449=RegExp('^T?'+_0x53ad98['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(_0x1b4731){const [_0x1f3e23,_0x3f5142,_0x474b82,_0x3ceced,_0x1df02f,_0x30fcd9,_0x54788d,_0x5b7243,_0x135bf8]=_0x1b4731,_0x27c5c7='-'===_0x1f3e23[0x0],_0x12933b=_0x5b7243&&'-'===_0x5b7243[0x0],_0x9d6544=(_0x4b838a,_0x58662a=!0x1)=>void 0x0!==_0x4b838a&&(_0x58662a||_0x4b838a&&_0x27c5c7)?-_0x4b838a:_0x4b838a;return[{'years':_0x9d6544(parseFloating(_0x3f5142)),'months':_0x9d6544(parseFloating(_0x474b82)),'weeks':_0x9d6544(parseFloating(_0x3ceced)),'days':_0x9d6544(parseFloating(_0x1df02f)),'hours':_0x9d6544(parseFloating(_0x30fcd9)),'minutes':_0x9d6544(parseFloating(_0x54788d)),'seconds':_0x9d6544(parseFloating(_0x5b7243),'-0'===_0x5b7243),'milliseconds':_0x9d6544(_0x5daa36(_0x135bf8),_0x12933b)}];}const obsOffsets={'GMT':0x0,'EDT':-0xf0,'EST':-0x12c,'CDT':-0x12c,'CST':-0x168,'MDT':-0x168,'MST':-0x1a4,'PDT':-0x1a4,'PST':-0x1e0};function fromStrings(_0x28640f,_0x386184,_0x81d4ec,_0x3e2126,_0x2a73cc,_0x3979ea,_0x508247){const _0x491363={'year':0x2===_0x386184['length']?untruncateYear(parseInteger(_0x386184)):parseInteger(_0x386184),'month':monthsShort['indexOf'](_0x81d4ec)+0x1,'day':parseInteger(_0x3e2126),'hour':parseInteger(_0x2a73cc),'minute':parseInteger(_0x3979ea)};return _0x508247&&(_0x491363['second']=parseInteger(_0x508247)),_0x28640f&&(_0x491363['weekday']=_0x28640f['length']>0x3?_0x4469cb['indexOf'](_0x28640f)+0x1:weekdaysShort['indexOf'](_0x28640f)+0x1),_0x491363;}const _0x492fd8=/^(?:(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(_0x47fd66){const [,_0x4ad211,_0x3fbc9f,_0x9415b4,_0x2cc697,_0x5b2a28,_0x12ce9e,_0x43b46c,_0x81f179,_0x32f819,_0x52faca,_0x460683]=_0x47fd66,_0x13426a=fromStrings(_0x4ad211,_0x2cc697,_0x9415b4,_0x3fbc9f,_0x5b2a28,_0x12ce9e,_0x43b46c);let _0x24d5e2;return _0x24d5e2=_0x81f179?obsOffsets[_0x81f179]:_0x32f819?0x0:signedOffset(_0x52faca,_0x460683),[_0x13426a,new FixedOffsetZone(_0x24d5e2)];}function _0x87c6e0(_0x3a3b4d){return _0x3a3b4d['replace'](/\([^()]*\)|[\n\t]/g,'\x20')['replace'](/(\s\s+)/g,'\x20')['trim']();}const _0x49fbe6=/^(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$/,_0x1e9108=/^(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$/,_0x2f17bc=/^(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(_0x319dd7){const [,_0x2bbc59,_0x42bd19,_0x24de3b,_0x5dcb49,_0x5a403e,_0xdaf9c4,_0x375ff2]=_0x319dd7;return[fromStrings(_0x2bbc59,_0x5dcb49,_0x24de3b,_0x42bd19,_0x5a403e,_0xdaf9c4,_0x375ff2),FixedOffsetZone['utcInstance']];}function extractASCII(_0x121100){const [,_0x42b03a,_0x47d8ea,_0x53a338,_0x4046f1,_0x55ebd8,_0x366d9d,_0x4ecd04]=_0x121100;return[fromStrings(_0x42b03a,_0x4ecd04,_0x47d8ea,_0x53a338,_0x4046f1,_0x55ebd8,_0x366d9d),FixedOffsetZone['utcInstance']];}const isoYmdWithTimeExtensionRegex=_0x1523d6(_0x1b45ec,isoTimeExtensionRegex),isoWeekWithTimeExtensionRegex=_0x1523d6(_0x3b7b2f,isoTimeExtensionRegex),isoOrdinalWithTimeExtensionRegex=_0x1523d6(_0x3ee98b,isoTimeExtensionRegex),_0x45c08b=_0x1523d6(_0x4e0c2c),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(_0x4463e1){return _0x7c2d00(_0x4463e1,[isoYmdWithTimeExtensionRegex,extractISOYmdTimeAndOffset],[isoWeekWithTimeExtensionRegex,extractISOWeekTimeAndOffset],[isoOrdinalWithTimeExtensionRegex,extractISOOrdinalDateAndTime],[_0x45c08b,extractISOTimeAndOffset]);}function parseRFC2822Date(_0x17e4d0){return _0x7c2d00(_0x87c6e0(_0x17e4d0),[_0x492fd8,extractRFC2822]);}function parseHTTPDate(_0x43fdc9){return _0x7c2d00(_0x43fdc9,[_0x49fbe6,extractRFC1123Or850],[_0x1e9108,extractRFC1123Or850],[_0x2f17bc,extractASCII]);}function parseISODuration(_0x52c8a8){return _0x7c2d00(_0x52c8a8,[isoDuration,extractISODuration]);}const extractISOTimeOnly=combineExtractors(extractISOTime);function _0x44658f(_0x18da2e){return _0x7c2d00(_0x18da2e,[_0x455449,extractISOTimeOnly]);}const sqlYmdWithTimeExtensionRegex=_0x1523d6(_0x5cfc1f,sqlTimeExtensionRegex),_0x1d808d=_0x1523d6(_0x2d734d),extractISOTimeOffsetAndIANAZone=combineExtractors(extractISOTime,extractISOOffset,extractIANAZone);function _0x5bbf79(_0x3a2585){return _0x7c2d00(_0x3a2585,[sqlYmdWithTimeExtensionRegex,extractISOYmdTimeAndOffset],[_0x1d808d,extractISOTimeOffsetAndIANAZone]);}const _0x165da3='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 _0x2f3981(_0x240bc2,_0x218be1,_0xabd403=!0x1){const _0x2326e0={'values':_0xabd403?_0x218be1['values']:{..._0x240bc2['values'],..._0x218be1['values']||{}},'loc':_0x240bc2['loc']['clone'](_0x218be1['loc']),'conversionAccuracy':_0x218be1['conversionAccuracy']||_0x240bc2['conversionAccuracy'],'matrix':_0x218be1['matrix']||_0x240bc2['matrix']};return new Duration(_0x2326e0);}function durationToMillis(_0x533b12,_0x3d83a4){let _0x29f34c=_0x3d83a4['milliseconds']??0x0;for(const _0x63a795 of reverseUnits['slice'](0x1))_0x3d83a4[_0x63a795]&&(_0x29f34c+=_0x3d83a4[_0x63a795]*_0x533b12[_0x63a795]['milliseconds']);return _0x29f34c;}function _0x2afda7(_0x4d70f6,_0x3e03bc){const _0xad1928=durationToMillis(_0x4d70f6,_0x3e03bc)<0x0?-0x1:0x1;orderedUnits$1['reduceRight']((_0x1f7aaa,_0x251146)=>{if(_0x35adef(_0x3e03bc[_0x251146]))return _0x1f7aaa;if(_0x1f7aaa){const _0x4b6829=_0x3e03bc[_0x1f7aaa]*_0xad1928,_0x1e2ba1=_0x4d70f6[_0x251146][_0x1f7aaa],_0x13a5ab=Math['floor'](_0x4b6829/_0x1e2ba1);_0x3e03bc[_0x251146]+=_0x13a5ab*_0xad1928,_0x3e03bc[_0x1f7aaa]-=_0x13a5ab*_0x1e2ba1*_0xad1928;}return _0x251146;},null),orderedUnits$1['reduce']((_0x2d4a34,_0x23287b)=>{if(_0x35adef(_0x3e03bc[_0x23287b]))return _0x2d4a34;if(_0x2d4a34){const _0x2b2af7=_0x3e03bc[_0x2d4a34]%0x1;_0x3e03bc[_0x2d4a34]-=_0x2b2af7,_0x3e03bc[_0x23287b]+=_0x2b2af7*_0x4d70f6[_0x2d4a34][_0x23287b];}return _0x23287b;},null);}function _0x49300c(_0xb1dda1){const _0x46d5d0={};for(const [_0x518278,_0x444c71]of Object['entries'](_0xb1dda1))0x0!==_0x444c71&&(_0x46d5d0[_0x518278]=_0x444c71);return _0x46d5d0;}class Duration{constructor(_0x1253aa){const _0x103d4d='longterm'===_0x1253aa['conversionAccuracy']||!0x1;let _0x275de1=_0x103d4d?accurateMatrix:casualMatrix;_0x1253aa['matrix']&&(_0x275de1=_0x1253aa['matrix']),this['values']=_0x1253aa['values'],this['loc']=_0x1253aa['loc']||_0x5b1114['create'](),this['conversionAccuracy']=_0x103d4d?'longterm':'casual',this['invalid']=_0x1253aa['invalid']||null,this['matrix']=_0x275de1,this['isLuxonDuration']=!0x0;}static['fromMillis'](_0x2cdf52,_0x35530c){return Duration['fromObject']({'milliseconds':_0x2cdf52},_0x35530c);}static['fromObject'](_0x56a5ce,_0x1c6bbb={}){if(null==_0x56a5ce||'object'!=typeof _0x56a5ce)throw new InvalidArgumentError('Duration.fromObject:\x20argument\x20expected\x20to\x20be\x20an\x20object,\x20got\x20'+(null===_0x56a5ce?'null':typeof _0x56a5ce));return new Duration({'values':normalizeObject(_0x56a5ce,Duration['normalizeUnit']),'loc':_0x5b1114['fromObject'](_0x1c6bbb),'conversionAccuracy':_0x1c6bbb['conversionAccuracy'],'matrix':_0x1c6bbb['matrix']});}static['fromDurationLike'](_0x35f6a0){if(_0xf15b8b(_0x35f6a0))return Duration['fromMillis'](_0x35f6a0);if(Duration['isDuration'](_0x35f6a0))return _0x35f6a0;if('object'==typeof _0x35f6a0)return Duration['fromObject'](_0x35f6a0);throw new InvalidArgumentError('Unknown\x20duration\x20argument\x20'+_0x35f6a0+'\x20of\x20type\x20'+typeof _0x35f6a0);}static['fromISO'](_0x352a94,_0x3d432){const [_0x2606a9]=parseISODuration(_0x352a94);return _0x2606a9?Duration['fromObject'](_0x2606a9,_0x3d432):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0x352a94+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['fromISOTime'](_0x63094c,_0xe3f440){const [_0x17cf8a]=_0x44658f(_0x63094c);return _0x17cf8a?Duration['fromObject'](_0x17cf8a,_0xe3f440):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0x63094c+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['invalid'](_0x5774ff,_0xc898ca=null){if(!_0x5774ff)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20Duration\x20is\x20invalid');const _0x373251=_0x5774ff instanceof _0x30aca9?_0x5774ff:new _0x30aca9(_0x5774ff,_0xc898ca);if(Settings['throwOnInvalid'])throw new InvalidDurationError(_0x373251);return new Duration({'invalid':_0x373251});}static['normalizeUnit'](_0x5e7e89){const _0x3dd041={'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'}[_0x5e7e89?_0x5e7e89['toLowerCase']():_0x5e7e89];if(!_0x3dd041)throw new InvalidUnitError(_0x5e7e89);return _0x3dd041;}static['isDuration'](_0x123eb3){return _0x123eb3&&_0x123eb3['isLuxonDuration']||!0x1;}get['locale'](){return this['isValid']?this['loc']['locale']:null;}get['numberingSystem'](){return this['isValid']?this['loc']['numberingSystem']:null;}['toFormat'](_0x51b749,_0x2ab6e5={}){const _0x57cbdd={..._0x2ab6e5,'floor':!0x1!==_0x2ab6e5['round']&&!0x1!==_0x2ab6e5['floor']};return this['isValid']?Formatter['create'](this['loc'],_0x57cbdd)['formatDurationFromString'](this,_0x51b749):_0x165da3;}['toHuman'](_0x14f840={}){if(!this['isValid'])return _0x165da3;const _0x34b239=orderedUnits$1['map'](_0x46dbb4=>{const _0x445457=this['values'][_0x46dbb4];return _0x35adef(_0x445457)?null:this['loc']['numberFormatter']({'style':'unit','unitDisplay':'long',..._0x14f840,'unit':_0x46dbb4['slice'](0x0,-0x1)})['format'](_0x445457);})['filter'](_0x265204=>_0x265204);return this['loc']['listFormatter']({'type':'conjunction','style':_0x14f840['listStyle']||'narrow',..._0x14f840})['format'](_0x34b239);}['toObject'](){return this['isValid']?{...this['values']}:{};}['toISO'](){if(!this['isValid'])return null;let _0x13923f='P';return 0x0!==this['years']&&(_0x13923f+=this['years']+'Y'),0x0===this['months']&&0x0===this['quarters']||(_0x13923f+=this['months']+0x3*this['quarters']+'M'),0x0!==this['weeks']&&(_0x13923f+=this['weeks']+'W'),0x0!==this['days']&&(_0x13923f+=this['days']+'D'),0x0===this['hours']&&0x0===this['minutes']&&0x0===this['seconds']&&0x0===this['milliseconds']||(_0x13923f+='T'),0x0!==this['hours']&&(_0x13923f+=this['hours']+'H'),0x0!==this['minutes']&&(_0x13923f+=this['minutes']+'M'),0x0===this['seconds']&&0x0===this['milliseconds']||(_0x13923f+=_0x1c84b3(this['seconds']+this['milliseconds']/0x3e8,0x3)+'S'),'P'===_0x13923f&&(_0x13923f+='T0S'),_0x13923f;}['toISOTime'](_0x4619c6={}){if(!this['isValid'])return null;const _0x525b78=this['toMillis']();if(_0x525b78<0x0||_0x525b78>=0x5265c00)return null;return _0x4619c6={'suppressMilliseconds':!0x1,'suppressSeconds':!0x1,'includePrefix':!0x1,'format':'extended',..._0x4619c6,'includeOffset':!0x1},DateTime['fromMillis'](_0x525b78,{'zone':'UTC'})['toISOTime'](_0x4619c6);}['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'](_0x4a82ae){if(!this['isValid'])return this;const _0x4e2d3c=Duration['fromDurationLike'](_0x4a82ae),_0x3d73e4={};for(const _0x1388cd of orderedUnits$1)(hasOwnProperty(_0x4e2d3c['values'],_0x1388cd)||hasOwnProperty(this['values'],_0x1388cd))&&(_0x3d73e4[_0x1388cd]=_0x4e2d3c['get'](_0x1388cd)+this['get'](_0x1388cd));return _0x2f3981(this,{'values':_0x3d73e4},!0x0);}['minus'](_0x288d9c){if(!this['isValid'])return this;const _0x48d442=Duration['fromDurationLike'](_0x288d9c);return this['plus'](_0x48d442['negate']());}['mapUnits'](_0x37ee77){if(!this['isValid'])return this;const _0x1e4d2b={};for(const _0x11b739 of Object['keys'](this['values']))_0x1e4d2b[_0x11b739]=_0x59c46d(_0x37ee77(this['values'][_0x11b739],_0x11b739));return _0x2f3981(this,{'values':_0x1e4d2b},!0x0);}['get'](_0x4ad333){return this[Duration['normalizeUnit'](_0x4ad333)];}['set'](_0x2b935c){if(!this['isValid'])return this;return _0x2f3981(this,{'values':{...this['values'],...normalizeObject(_0x2b935c,Duration['normalizeUnit'])}});}['reconfigure']({locale:_0x1a0428,numberingSystem:_0x1b6a7e,conversionAccuracy:_0x2fbad3,matrix:_0x1cd476}={}){return _0x2f3981(this,{'loc':this['loc']['clone']({'locale':_0x1a0428,'numberingSystem':_0x1b6a7e}),'matrix':_0x1cd476,'conversionAccuracy':_0x2fbad3});}['as'](_0x5dbe52){return this['isValid']?this['shiftTo'](_0x5dbe52)['get'](_0x5dbe52):NaN;}['normalize'](){if(!this['isValid'])return this;const _0x1babd5=this['toObject']();return _0x2afda7(this['matrix'],_0x1babd5),_0x2f3981(this,{'values':_0x1babd5},!0x0);}['rescale'](){if(!this['isValid'])return this;return _0x2f3981(this,{'values':_0x49300c(this['normalize']()['shiftToAll']()['toObject']())},!0x0);}['shiftTo'](..._0x451260){if(!this['isValid'])return this;if(0x0===_0x451260['length'])return this;_0x451260=_0x451260['map'](_0x1418aa=>Duration['normalizeUnit'](_0x1418aa));const _0x35245a={},_0x39484f={},_0xf51d72=this['toObject']();let _0x1937b9;for(const _0x5b4b9b of orderedUnits$1)if(_0x451260['indexOf'](_0x5b4b9b)>=0x0){_0x1937b9=_0x5b4b9b;let _0x4c9bce=0x0;for(const _0x2ac592 in _0x39484f)_0x4c9bce+=this['matrix'][_0x2ac592][_0x5b4b9b]*_0x39484f[_0x2ac592],_0x39484f[_0x2ac592]=0x0;_0xf15b8b(_0xf51d72[_0x5b4b9b])&&(_0x4c9bce+=_0xf51d72[_0x5b4b9b]);const _0x13f9e3=Math['trunc'](_0x4c9bce);_0x35245a[_0x5b4b9b]=_0x13f9e3,_0x39484f[_0x5b4b9b]=(0x3e8*_0x4c9bce-0x3e8*_0x13f9e3)/0x3e8;}else _0xf15b8b(_0xf51d72[_0x5b4b9b])&&(_0x39484f[_0x5b4b9b]=_0xf51d72[_0x5b4b9b]);for(const _0x23e8ba in _0x39484f)0x0!==_0x39484f[_0x23e8ba]&&(_0x35245a[_0x1937b9]+=_0x23e8ba===_0x1937b9?_0x39484f[_0x23e8ba]:_0x39484f[_0x23e8ba]/this['matrix'][_0x1937b9][_0x23e8ba]);return _0x2afda7(this['matrix'],_0x35245a),_0x2f3981(this,{'values':_0x35245a},!0x0);}['shiftToAll'](){return this['isValid']?this['shiftTo']('years','months','weeks','days','hours','minutes','seconds','milliseconds'):this;}['negate'](){if(!this['isValid'])return this;const _0x2ddc32={};for(const _0x53c236 of Object['keys'](this['values']))_0x2ddc32[_0x53c236]=0x0===this['values'][_0x53c236]?0x0:-this['values'][_0x53c236];return _0x2f3981(this,{'values':_0x2ddc32},!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'](_0x36f5d8){if(!this['isValid']||!_0x36f5d8['isValid'])return!0x1;if(!this['loc']['equals'](_0x36f5d8['loc']))return!0x1;function _0x3505ef(_0x2abd31,_0x1c87dd){return void 0x0===_0x2abd31||0x0===_0x2abd31?void 0x0===_0x1c87dd||0x0===_0x1c87dd:_0x2abd31===_0x1c87dd;}for(const _0x403bee of orderedUnits$1)if(!_0x3505ef(this['values'][_0x403bee],_0x36f5d8['values'][_0x403bee]))return!0x1;return!0x0;}}const _0x38f320='Invalid\x20Interval';function validateStartEnd(_0x157bc2,_0x4cbbbb){return _0x157bc2&&_0x157bc2['isValid']?_0x4cbbbb&&_0x4cbbbb['isValid']?_0x4cbbbb<_0x157bc2?Interval['invalid']('end\x20before\x20start','The\x20end\x20of\x20an\x20interval\x20must\x20be\x20after\x20its\x20start,\x20but\x20you\x20had\x20start='+_0x157bc2['toISO']()+'\x20and\x20end='+_0x4cbbbb['toISO']()):null:Interval['invalid']('missing\x20or\x20invalid\x20end'):Interval['invalid']('missing\x20or\x20invalid\x20start');}class Interval{constructor(_0x16df37){this['s']=_0x16df37['start'],this['e']=_0x16df37['end'],this['invalid']=_0x16df37['invalid']||null,this['isLuxonInterval']=!0x0;}static['invalid'](_0x1e55e5,_0x5f216f=null){if(!_0x1e55e5)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20Interval\x20is\x20invalid');const _0x25bd1b=_0x1e55e5 instanceof _0x30aca9?_0x1e55e5:new _0x30aca9(_0x1e55e5,_0x5f216f);if(Settings['throwOnInvalid'])throw new InvalidIntervalError(_0x25bd1b);return new Interval({'invalid':_0x25bd1b});}static['fromDateTimes'](_0x22cb18,_0x5876cf){const _0x595902=friendlyDateTime(_0x22cb18),_0x4f353a=friendlyDateTime(_0x5876cf),_0x535ba9=validateStartEnd(_0x595902,_0x4f353a);return null==_0x535ba9?new Interval({'start':_0x595902,'end':_0x4f353a}):_0x535ba9;}static['after'](_0x30c6b5,_0x323ee1){const _0x130d89=Duration['fromDurationLike'](_0x323ee1),_0xb1786a=friendlyDateTime(_0x30c6b5);return Interval['fromDateTimes'](_0xb1786a,_0xb1786a['plus'](_0x130d89));}static['before'](_0x3163d8,_0x1f168c){const _0x2786ab=Duration['fromDurationLike'](_0x1f168c),_0x320248=friendlyDateTime(_0x3163d8);return Interval['fromDateTimes'](_0x320248['minus'](_0x2786ab),_0x320248);}static['fromISO'](_0x4f8fbd,_0x55e89a){const [_0x5ce8d9,_0x502bc1]=(_0x4f8fbd||'')['split']('/',0x2);if(_0x5ce8d9&&_0x502bc1){let _0x285b17,_0x40871d,_0x533638,_0x278407;try{_0x285b17=DateTime['fromISO'](_0x5ce8d9,_0x55e89a),_0x40871d=_0x285b17['isValid'];}catch(_0x58f527){_0x40871d=!0x1;}try{_0x533638=DateTime['fromISO'](_0x502bc1,_0x55e89a),_0x278407=_0x533638['isValid'];}catch(_0x335174){_0x278407=!0x1;}if(_0x40871d&&_0x278407)return Interval['fromDateTimes'](_0x285b17,_0x533638);if(_0x40871d){const _0x4dff8c=Duration['fromISO'](_0x502bc1,_0x55e89a);if(_0x4dff8c['isValid'])return Interval['after'](_0x285b17,_0x4dff8c);}else{if(_0x278407){const _0x3a89d9=Duration['fromISO'](_0x5ce8d9,_0x55e89a);if(_0x3a89d9['isValid'])return Interval['before'](_0x533638,_0x3a89d9);}}}return Interval['invalid']('unparsable','the\x20input\x20\x22'+_0x4f8fbd+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['isInterval'](_0x3f4955){return _0x3f4955&&_0x3f4955['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'](_0x2b8634='milliseconds'){return this['isValid']?this['toDuration'](_0x2b8634)['get'](_0x2b8634):NaN;}['count'](_0x4acf23='milliseconds',_0x553e42){if(!this['isValid'])return NaN;const _0x1d0786=this['start']['startOf'](_0x4acf23,_0x553e42);let _0x26f99a;return _0x26f99a=_0x553e42?.['useLocaleWeeks']?this['end']['reconfigure']({'locale':_0x1d0786['locale']}):this['end'],_0x26f99a=_0x26f99a['startOf'](_0x4acf23,_0x553e42),Math['floor'](_0x26f99a['diff'](_0x1d0786,_0x4acf23)['get'](_0x4acf23))+(_0x26f99a['valueOf']()!==this['end']['valueOf']());}['hasSame'](_0x3198a3){return!!this['isValid']&&(this['isEmpty']()||this['e']['minus'](0x1)['hasSame'](this['s'],_0x3198a3));}['isEmpty'](){return this['s']['valueOf']()===this['e']['valueOf']();}['isAfter'](_0x1d44b8){return!!this['isValid']&&this['s']>_0x1d44b8;}['isBefore'](_0x4cb3a0){return!!this['isValid']&&this['e']<=_0x4cb3a0;}['contains'](_0x31bfd2){return!!this['isValid']&&(this['s']<=_0x31bfd2&&this['e']>_0x31bfd2);}['set']({start:_0x2250d8,end:_0x618c6d}={}){return this['isValid']?Interval['fromDateTimes'](_0x2250d8||this['s'],_0x618c6d||this['e']):this;}['splitAt'](..._0x272d8a){if(!this['isValid'])return[];const _0x362ee1=_0x272d8a['map'](friendlyDateTime)['filter'](_0x35aceb=>this['contains'](_0x35aceb))['sort']((_0x5833b6,_0x2d4ece)=>_0x5833b6['toMillis']()-_0x2d4ece['toMillis']()),_0xef157=[];let {s:_0x3dbf35}=this,_0x496c8b=0x0;for(;_0x3dbf35<this['e'];){const _0x2420ef=_0x362ee1[_0x496c8b]||this['e'],_0x1e9a3a=+_0x2420ef>+this['e']?this['e']:_0x2420ef;_0xef157['push'](Interval['fromDateTimes'](_0x3dbf35,_0x1e9a3a)),_0x3dbf35=_0x1e9a3a,_0x496c8b+=0x1;}return _0xef157;}['splitBy'](_0x4787c2){const _0x1df004=Duration['fromDurationLike'](_0x4787c2);if(!this['isValid']||!_0x1df004['isValid']||0x0===_0x1df004['as']('milliseconds'))return[];let _0x5f302f,{s:_0x3a799a}=this,_0x3a6742=0x1;const _0x32a0d0=[];for(;_0x3a799a<this['e'];){const _0x4822ce=this['start']['plus'](_0x1df004['mapUnits'](_0xa0820c=>_0xa0820c*_0x3a6742));_0x5f302f=+_0x4822ce>+this['e']?this['e']:_0x4822ce,_0x32a0d0['push'](Interval['fromDateTimes'](_0x3a799a,_0x5f302f)),_0x3a799a=_0x5f302f,_0x3a6742+=0x1;}return _0x32a0d0;}['divideEqually'](_0x2c0423){return this['isValid']?this['splitBy'](this['length']()/_0x2c0423)['slice'](0x0,_0x2c0423):[];}['overlaps'](_0x4e40fb){return this['e']>_0x4e40fb['s']&&this['s']<_0x4e40fb['e'];}['abutsStart'](_0x5730d){return!!this['isValid']&&+this['e']===+_0x5730d['s'];}['abutsEnd'](_0x50b562){return!!this['isValid']&&+_0x50b562['e']===+this['s'];}['engulfs'](_0x4bbc68){return!!this['isValid']&&(this['s']<=_0x4bbc68['s']&&this['e']>=_0x4bbc68['e']);}['equals'](_0x454b7e){return!(!this['isValid']||!_0x454b7e['isValid'])&&(this['s']['equals'](_0x454b7e['s'])&&this['e']['equals'](_0x454b7e['e']));}['intersection'](_0xbd6269){if(!this['isValid'])return this;const _0x198fa6=this['s']>_0xbd6269['s']?this['s']:_0xbd6269['s'],_0x3aed0f=this['e']<_0xbd6269['e']?this['e']:_0xbd6269['e'];return _0x198fa6>=_0x3aed0f?null:Interval['fromDateTimes'](_0x198fa6,_0x3aed0f);}['union'](_0x220d36){if(!this['isValid'])return this;const _0x414bf8=this['s']<_0x220d36['s']?this['s']:_0x220d36['s'],_0x1263e8=this['e']>_0x220d36['e']?this['e']:_0x220d36['e'];return Interval['fromDateTimes'](_0x414bf8,_0x1263e8);}static['merge'](_0x4445f9){const [_0x5439b1,_0x4b6d49]=_0x4445f9['sort']((_0x1ddfd9,_0x139159)=>_0x1ddfd9['s']-_0x139159['s'])['reduce'](([_0x47de1e,_0x86555c],_0x40c998)=>_0x86555c?_0x86555c['overlaps'](_0x40c998)||_0x86555c['abutsStart'](_0x40c998)?[_0x47de1e,_0x86555c['union'](_0x40c998)]:[_0x47de1e['concat']([_0x86555c]),_0x40c998]:[_0x47de1e,_0x40c998],[[],null]);return _0x4b6d49&&_0x5439b1['push'](_0x4b6d49),_0x5439b1;}static['xor'](_0x163748){let _0x1c17b3=null,_0x374325=0x0;const _0x544aff=[],_0x4d555e=_0x163748['map'](_0xe2bf96=>[{'time':_0xe2bf96['s'],'type':'s'},{'time':_0xe2bf96['e'],'type':'e'}]),_0x264e69=Array['prototype']['concat'](..._0x4d555e)['sort']((_0x38b6f2,_0x484a6b)=>_0x38b6f2['time']-_0x484a6b['time']);for(const _0x3727b1 of _0x264e69)_0x374325+='s'===_0x3727b1['type']?0x1:-0x1,0x1===_0x374325?_0x1c17b3=_0x3727b1['time']:(_0x1c17b3&&+_0x1c17b3!==+_0x3727b1['time']&&_0x544aff['push'](Interval['fromDateTimes'](_0x1c17b3,_0x3727b1['time'])),_0x1c17b3=null);return Interval['merge'](_0x544aff);}['difference'](..._0x2085e6){return Interval['xor']([this]['concat'](_0x2085e6))['map'](_0x129e08=>this['intersection'](_0x129e08))['filter'](_0x10f8cf=>_0x10f8cf&&!_0x10f8cf['isEmpty']());}['toString'](){return this['isValid']?'['+this['s']['toISO']()+'\x20–\x20'+this['e']['toISO']()+')':_0x38f320;}[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'](_0x2b638a=_0x49e4c4,_0x20b531={}){return this['isValid']?Formatter['create'](this['s']['loc']['clone'](_0x20b531),_0x2b638a)['formatInterval'](this):_0x38f320;}['toISO'](_0x4c687f){return this['isValid']?this['s']['toISO'](_0x4c687f)+'/'+this['e']['toISO'](_0x4c687f):_0x38f320;}['toISODate'](){return this['isValid']?this['s']['toISODate']()+'/'+this['e']['toISODate']():_0x38f320;}['toISOTime'](_0x5ad8f0){return this['isValid']?this['s']['toISOTime'](_0x5ad8f0)+'/'+this['e']['toISOTime'](_0x5ad8f0):_0x38f320;}['toFormat'](_0x436d88,{separator:_0x1873cd='\x20–\x20'}={}){return this['isValid']?''+this['s']['toFormat'](_0x436d88)+_0x1873cd+this['e']['toFormat'](_0x436d88):_0x38f320;}['toDuration'](_0x119aac,_0x571675){return this['isValid']?this['e']['diff'](this['s'],_0x119aac,_0x571675):Duration['invalid'](this['invalidReason']);}['mapEndpoints'](_0x2c9631){return Interval['fromDateTimes'](_0x2c9631(this['s']),_0x2c9631(this['e']));}}class _0x5e7604{static['hasDST'](_0x5d848e=Settings['defaultZone']){const _0x3e57d5=DateTime['now']()['setZone'](_0x5d848e)['set']({'month':0xc});return!_0x5d848e['isUniversal']&&_0x3e57d5['offset']!==_0x3e57d5['set']({'month':0x6})['offset'];}static['isValidIANAZone'](_0x2ab524){return _0x4d5734['isValidZone'](_0x2ab524);}static['normalizeZone'](_0x2b171b){return _0x2b8ca5(_0x2b171b,Settings['defaultZone']);}static['getStartOfWeek']({locale:_0x57cdfd=null,locObj:_0x34e520=null}={}){return(_0x34e520||_0x5b1114['create'](_0x57cdfd))['getStartOfWeek']();}static['getMinimumDaysInFirstWeek']({locale:_0x1302a1=null,locObj:_0x110f2e=null}={}){return(_0x110f2e||_0x5b1114['create'](_0x1302a1))['getMinDaysInFirstWeek']();}static['getWeekendWeekdays']({locale:_0x1ea2ff=null,locObj:_0x380436=null}={}){return(_0x380436||_0x5b1114['create'](_0x1ea2ff))['getWeekendDays']()['slice']();}static['months'](_0x42e869='long',{locale:_0x52ee17=null,numberingSystem:_0x607bd=null,locObj:_0x2c3adb=null,outputCalendar:_0x33b5d6='gregory'}={}){return(_0x2c3adb||_0x5b1114['create'](_0x52ee17,_0x607bd,_0x33b5d6))['months'](_0x42e869);}static['monthsFormat'](_0x5088db='long',{locale:_0xdd0a47=null,numberingSystem:_0x113e60=null,locObj:_0x4fa1ed=null,outputCalendar:_0x53ea5b='gregory'}={}){return(_0x4fa1ed||_0x5b1114['create'](_0xdd0a47,_0x113e60,_0x53ea5b))['months'](_0x5088db,!0x0);}static['weekdays'](_0x3569d9='long',{locale:_0x3ae1c5=null,numberingSystem:_0xb81957=null,locObj:_0x4d83cb=null}={}){return(_0x4d83cb||_0x5b1114['create'](_0x3ae1c5,_0xb81957,null))['weekdays'](_0x3569d9);}static['weekdaysFormat'](_0x3c6220='long',{locale:_0x9b4161=null,numberingSystem:_0x2ce921=null,locObj:_0x49058=null}={}){return(_0x49058||_0x5b1114['create'](_0x9b4161,_0x2ce921,null))['weekdays'](_0x3c6220,!0x0);}static['meridiems']({locale:_0x2bc4f5=null}={}){return _0x5b1114['create'](_0x2bc4f5)['meridiems']();}static['eras'](_0x1f7c69='short',{locale:_0x535d5c=null}={}){return _0x5b1114['create'](_0x535d5c,null,'gregory')['eras'](_0x1f7c69);}static['features'](){return{'relative':hasRelative(),'localeWeek':_0x1af1b8()};}}function _0xa46bbd(_0x7c7502,_0x19842a){const _0x5120b3=_0x2095c4=>_0x2095c4['toUTC'](0x0,{'keepLocalTime':!0x0})['startOf']('day')['valueOf'](),_0xe80302=_0x5120b3(_0x19842a)-_0x5120b3(_0x7c7502);return Math['floor'](Duration['fromMillis'](_0xe80302)['as']('days'));}function _0x16eb30(_0x707c97,_0x3b7aeb,_0x3e7cb3){const _0x4da0ad=[['years',(_0x3d087d,_0x97fd3d)=>_0x97fd3d['year']-_0x3d087d['year']],['quarters',(_0x423370,_0x582700)=>_0x582700['quarter']-_0x423370['quarter']+0x4*(_0x582700['year']-_0x423370['year'])],['months',(_0x1be320,_0x4154d7)=>_0x4154d7['month']-_0x1be320['month']+0xc*(_0x4154d7['year']-_0x1be320['year'])],['weeks',(_0x19b72d,_0x25dd78)=>{const _0x2e477d=_0xa46bbd(_0x19b72d,_0x25dd78);return(_0x2e477d-_0x2e477d%0x7)/0x7;}],['days',_0xa46bbd]],_0x10439a={},_0xec7b1e=_0x707c97;let _0x2a1eb6,_0x4e36c2;for(const [_0x532f8,_0x2e4205]of _0x4da0ad)_0x3e7cb3['indexOf'](_0x532f8)>=0x0&&(_0x2a1eb6=_0x532f8,_0x10439a[_0x532f8]=_0x2e4205(_0x707c97,_0x3b7aeb),_0x4e36c2=_0xec7b1e['plus'](_0x10439a),_0x4e36c2>_0x3b7aeb?(_0x10439a[_0x532f8]--,(_0x707c97=_0xec7b1e['plus'](_0x10439a))>_0x3b7aeb&&(_0x4e36c2=_0x707c97,_0x10439a[_0x532f8]--,_0x707c97=_0xec7b1e['plus'](_0x10439a))):_0x707c97=_0x4e36c2);return[_0x707c97,_0x10439a,_0x4e36c2,_0x2a1eb6];}function _0x17cb73(_0x47a9e1,_0x39f73a,_0x3c40fd,_0x50a2fa){let [_0xbc1160,_0xadedbd,_0x4a40b6,_0x1401b5]=_0x16eb30(_0x47a9e1,_0x39f73a,_0x3c40fd);const _0x5b4ec5=_0x39f73a-_0xbc1160,_0x3464db=_0x3c40fd['filter'](_0x109859=>['hours','minutes','seconds','milliseconds']['indexOf'](_0x109859)>=0x0);0x0===_0x3464db['length']&&(_0x4a40b6<_0x39f73a&&(_0x4a40b6=_0xbc1160['plus']({[_0x1401b5]:0x1})),_0x4a40b6!==_0xbc1160&&(_0xadedbd[_0x1401b5]=(_0xadedbd[_0x1401b5]||0x0)+_0x5b4ec5/(_0x4a40b6-_0xbc1160)));const _0x3e27a3=Duration['fromObject'](_0xadedbd,_0x50a2fa);return _0x3464db['length']>0x0?Duration['fromMillis'](_0x5b4ec5,_0x50a2fa)['shiftTo'](..._0x3464db)['plus'](_0x3e27a3):_0x3e27a3;}const _0x3f57c0='missing\x20Intl.DateTimeFormat.formatToParts\x20support';function intUnit(_0x30819f,_0x564940=_0x1b1d84=>_0x1b1d84){return{'regex':_0x30819f,'deser':([_0x30b85b])=>_0x564940(parseDigits(_0x30b85b))};}const _0x6c4029=String['fromCharCode'](0xa0),_0x2471b6='[\x20'+_0x6c4029+']',_0x3046d1=new RegExp(_0x2471b6,'g');function fixListRegex(_0x3246c8){return _0x3246c8['replace'](/\./g,'\x5c.?')['replace'](_0x3046d1,_0x2471b6);}function stripInsensitivities(_0x3b8033){return _0x3b8033['replace'](/\./g,'')['replace'](_0x3046d1,'\x20')['toLowerCase']();}function _0x88502c(_0x15be70,_0x5b4db3){return null===_0x15be70?null:{'regex':RegExp(_0x15be70['map'](fixListRegex)['join']('|')),'deser':([_0x2145a0])=>_0x15be70['findIndex'](_0x5a4763=>stripInsensitivities(_0x2145a0)===stripInsensitivities(_0x5a4763))+_0x5b4db3};}function offset(_0x5f4eb3,_0x2d5bf8){return{'regex':_0x5f4eb3,'deser':([,_0x49735f,_0x561acc])=>signedOffset(_0x49735f,_0x561acc),'groups':_0x2d5bf8};}function _0x560632(_0xa29bdb){return{'regex':_0xa29bdb,'deser':([_0x1df1ab])=>_0x1df1ab};}function _0x288737(_0x4950bb){return _0x4950bb['replace'](/[\-\[\]{}()*+?.,\\\^$|#\s]/g,'\x5c$&');}function unitForToken(_0x3dd7f6,_0x29d472){const _0x2d1fe1=digitRegex(_0x29d472),_0x202177=digitRegex(_0x29d472,'{2}'),_0x44f304=digitRegex(_0x29d472,'{3}'),_0x1005a7=digitRegex(_0x29d472,'{4}'),_0x1ea960=digitRegex(_0x29d472,'{6}'),_0x1afc1d=digitRegex(_0x29d472,'{1,2}'),_0x3c25ed=digitRegex(_0x29d472,'{1,3}'),_0x5e417a=digitRegex(_0x29d472,'{1,6}'),_0x742d8b=digitRegex(_0x29d472,'{1,9}'),_0x2dfa6d=digitRegex(_0x29d472,'{2,4}'),_0x3fc9fd=digitRegex(_0x29d472,'{4,6}'),_0x39e4f3=t=>({'regex':RegExp(_0x288737(t['val'])),'deser':([_0x2e1f51])=>_0x2e1f51,'literal':!0x0}),_0xb8db49=(t=>{if(_0x3dd7f6['literal'])return _0x39e4f3(t);switch(t['val']){case'G':return _0x88502c(_0x29d472['eras']('short'),0x0);case'GG':return _0x88502c(_0x29d472['eras']('long'),0x0);case'y':return intUnit(_0x5e417a);case'yy':case'kk':return intUnit(_0x2dfa6d,untruncateYear);case'yyyy':case'kkkk':return intUnit(_0x1005a7);case'yyyyy':return intUnit(_0x3fc9fd);case'yyyyyy':return intUnit(_0x1ea960);case'M':case'L':case'd':case'H':case'h':case'm':case'q':case's':case'W':return intUnit(_0x1afc1d);case'MM':case'LL':case'dd':case'HH':case'hh':case'mm':case'qq':case'ss':case'WW':return intUnit(_0x202177);case'MMM':return _0x88502c(_0x29d472['months']('short',!0x0),0x1);case'MMMM':return _0x88502c(_0x29d472['months']('long',!0x0),0x1);case'LLL':return _0x88502c(_0x29d472['months']('short',!0x1),0x1);case'LLLL':return _0x88502c(_0x29d472['months']('long',!0x1),0x1);case'o':case'S':return intUnit(_0x3c25ed);case'ooo':case'SSS':return intUnit(_0x44f304);case'u':return _0x560632(_0x742d8b);case'uu':return _0x560632(_0x1afc1d);case'uuu':case'E':case'c':return intUnit(_0x2d1fe1);case'a':return _0x88502c(_0x29d472['meridiems'](),0x0);case'EEE':return _0x88502c(_0x29d472['weekdays']('short',!0x1),0x1);case'EEEE':return _0x88502c(_0x29d472['weekdays']('long',!0x1),0x1);case'ccc':return _0x88502c(_0x29d472['weekdays']('short',!0x0),0x1);case'cccc':return _0x88502c(_0x29d472['weekdays']('long',!0x0),0x1);case'Z':case'ZZ':return offset(new RegExp('([+-]'+_0x1afc1d['source']+')(?::('+_0x202177['source']+'))?'),0x2);case'ZZZ':return offset(new RegExp('([+-]'+_0x1afc1d['source']+')('+_0x202177['source']+')?'),0x2);case'z':return _0x560632(/[a-z_+-/]{1,256}?/i);case'\x20':return _0x560632(/[^\S\n\r]/);default:return _0x39e4f3(t);}})(_0x3dd7f6)||{'invalidReason':_0x3f57c0};return _0xb8db49['token']=_0x3dd7f6,_0xb8db49;}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(_0x128ca3,_0x1cfcc0,_0x515960){const {type:_0x13870,value:_0x5a06ae}=_0x128ca3;if('literal'===_0x13870){const _0x57816b=/^\s+$/['test'](_0x5a06ae);return{'literal':!_0x57816b,'val':_0x57816b?'\x20':_0x5a06ae};}const _0x45e190=_0x1cfcc0[_0x13870];let _0x9e0427=_0x13870;'hour'===_0x13870&&(_0x9e0427=null!=_0x1cfcc0['hour12']?_0x1cfcc0['hour12']?'hour12':'hour24':null!=_0x1cfcc0['hourCycle']?'h11'===_0x1cfcc0['hourCycle']||'h12'===_0x1cfcc0['hourCycle']?'hour12':'hour24':_0x515960['hour12']?'hour12':'hour24');let _0x5bcbe1=partTypeStyleToTokenVal[_0x9e0427];if('object'==typeof _0x5bcbe1&&(_0x5bcbe1=_0x5bcbe1[_0x45e190]),_0x5bcbe1)return{'literal':!0x1,'val':_0x5bcbe1};}function _0x2ad011(_0x2e37ad){const _0x2881d4=_0x2e37ad['map'](_0x2753c8=>_0x2753c8['regex'])['reduce']((_0x4d2df7,_0x5d6bcc)=>_0x4d2df7+'('+_0x5d6bcc['source']+')','');return['^'+_0x2881d4+'$',_0x2e37ad];}function match(_0x639b28,_0xf75a9b,_0xbfc7a){const _0x32183d=_0x639b28['match'](_0xf75a9b);if(_0x32183d){const _0x85fd0b={};let _0x19fcb9=0x1;for(const _0x15e3da in _0xbfc7a)if(hasOwnProperty(_0xbfc7a,_0x15e3da)){const _0x243dcb=_0xbfc7a[_0x15e3da],_0x56bf5a=_0x243dcb['groups']?_0x243dcb['groups']+0x1:0x1;!_0x243dcb['literal']&&_0x243dcb['token']&&(_0x85fd0b[_0x243dcb['token']['val'][0x0]]=_0x243dcb['deser'](_0x32183d['slice'](_0x19fcb9,_0x19fcb9+_0x56bf5a))),_0x19fcb9+=_0x56bf5a;}return[_0x32183d,_0x85fd0b];}return[_0x32183d,{}];}function dateTimeFromMatches(_0x131eb7){let _0x426a4a,_0x2a55f3=null;_0x35adef(_0x131eb7['z'])||(_0x2a55f3=_0x4d5734['create'](_0x131eb7['z'])),_0x35adef(_0x131eb7['Z'])||(_0x2a55f3||(_0x2a55f3=new FixedOffsetZone(_0x131eb7['Z'])),_0x426a4a=_0x131eb7['Z']),_0x35adef(_0x131eb7['q'])||(_0x131eb7['M']=0x3*(_0x131eb7['q']-0x1)+0x1),_0x35adef(_0x131eb7['h'])||(_0x131eb7['h']<0xc&&0x1===_0x131eb7['a']?_0x131eb7['h']+=0xc:0xc===_0x131eb7['h']&&0x0===_0x131eb7['a']&&(_0x131eb7['h']=0x0)),0x0===_0x131eb7['G']&&_0x131eb7['y']&&(_0x131eb7['y']=-_0x131eb7['y']),_0x35adef(_0x131eb7['u'])||(_0x131eb7['S']=_0x5daa36(_0x131eb7['u']));const _0x4206f0=Object['keys'](_0x131eb7)['reduce']((_0x50382d,_0x523bc1)=>{const _0x2da9d0=(_0x309115=>{switch(_0x309115){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;}})(_0x523bc1);return _0x2da9d0&&(_0x50382d[_0x2da9d0]=_0x131eb7[_0x523bc1]),_0x50382d;},{});return[_0x4206f0,_0x2a55f3,_0x426a4a];}let dummyDateTimeCache=null;function getDummyDateTime(){return dummyDateTimeCache||(dummyDateTimeCache=DateTime['fromMillis'](0x16a2e5618e3)),dummyDateTimeCache;}function _0x5ad79d(_0x2fc6a8,_0x24922e){if(_0x2fc6a8['literal'])return _0x2fc6a8;const _0x1ab9de=formatOptsToTokens(Formatter['macroTokenToFormatOpts'](_0x2fc6a8['val']),_0x24922e);return null==_0x1ab9de||_0x1ab9de['includes'](void 0x0)?_0x2fc6a8:_0x1ab9de;}function _0x3a83e0(_0x367ba6,_0x22be20){return Array['prototype']['concat'](..._0x367ba6['map'](t=>_0x5ad79d(t,_0x22be20)));}class _0x1e64ab{constructor(_0xece112,_0x3578b0){if(this['locale']=_0xece112,this['format']=_0x3578b0,this['tokens']=_0x3a83e0(Formatter['parseFormat'](_0x3578b0),_0xece112),this['units']=this['tokens']['map'](t=>unitForToken(t,_0xece112)),this['disqualifyingUnit']=this['units']['find'](t=>t['invalidReason']),!this['disqualifyingUnit']){const [_0x432634,_0x3b3b25]=_0x2ad011(this['units']);this['regex']=RegExp(_0x432634,'i'),this['handlers']=_0x3b3b25;}}['explainFromTokens'](_0x4db08c){if(this['isValid']){const [_0x5b2edf,_0x3d73c2]=match(_0x4db08c,this['regex'],this['handlers']),[_0x154aab,_0x46b3b6,_0x594598]=_0x3d73c2?dateTimeFromMatches(_0x3d73c2):[null,null,void 0x0];if(hasOwnProperty(_0x3d73c2,'a')&&hasOwnProperty(_0x3d73c2,'H'))throw new ConflictingSpecificationError('Can\x27t\x20include\x20meridiem\x20when\x20specifying\x2024-hour\x20format');return{'input':_0x4db08c,'tokens':this['tokens'],'regex':this['regex'],'rawMatches':_0x5b2edf,'matches':_0x3d73c2,'result':_0x154aab,'zone':_0x46b3b6,'specificOffset':_0x594598};}return{'input':_0x4db08c,'tokens':this['tokens'],'invalidReason':this['invalidReason']};}get['isValid'](){return!this['disqualifyingUnit'];}get['invalidReason'](){return this['disqualifyingUnit']?this['disqualifyingUnit']['invalidReason']:null;}}function _0x582b1b(_0x4cae2e,_0x2e4768,_0x2b0cc4){return new _0x1e64ab(_0x4cae2e,_0x2b0cc4)['explainFromTokens'](_0x2e4768);}function _0xf456d5(_0xdfead5,_0x4f1526,_0x224acb){const {result:_0xcc9e12,zone:_0x58068c,specificOffset:_0x355513,invalidReason:_0x5393db}=_0x582b1b(_0xdfead5,_0x4f1526,_0x224acb);return[_0xcc9e12,_0x58068c,_0x355513,_0x5393db];}function formatOptsToTokens(_0x5f3e71,_0x33d066){if(!_0x5f3e71)return null;const _0x1d2dc7=Formatter['create'](_0x33d066,_0x5f3e71)['dtFormatter'](getDummyDateTime()),_0x5d5e34=_0x1d2dc7['formatToParts'](),_0x437351=_0x1d2dc7['resolvedOptions']();return _0x5d5e34['map'](_0x23fe1d=>tokenForPart(_0x23fe1d,_0x5f3e71,_0x437351));}const _0x55ee2f='Invalid\x20DateTime',_0x20f88f=0x1eb208c2dc0000;function unsupportedZone(_0xec8347){return new _0x30aca9('unsupported\x20zone','the\x20zone\x20\x22'+_0xec8347['name']+'\x22\x20is\x20not\x20supported');}function possiblyCachedWeekData(_0x25779f){return null===_0x25779f['weekData']&&(_0x25779f['weekData']=_0x5d1e8c(_0x25779f['c'])),_0x25779f['weekData'];}function possiblyCachedLocalWeekData(_0x153f7a){return null===_0x153f7a['localWeekData']&&(_0x153f7a['localWeekData']=_0x5d1e8c(_0x153f7a['c'],_0x153f7a['loc']['getMinDaysInFirstWeek'](),_0x153f7a['loc']['getStartOfWeek']())),_0x153f7a['localWeekData'];}function _0xc7c34b(_0x2377de,_0x3d734d){const _0x58d351={'ts':_0x2377de['ts'],'zone':_0x2377de['zone'],'c':_0x2377de['c'],'o':_0x2377de['o'],'loc':_0x2377de['loc'],'invalid':_0x2377de['invalid']};return new DateTime({..._0x58d351,..._0x3d734d,'old':_0x58d351});}function fixOffset(_0x3194a7,_0x337ed7,_0x24d8b7){let _0x5ca0d4=_0x3194a7-0x3c*_0x337ed7*0x3e8;const _0xf13500=_0x24d8b7['offset'](_0x5ca0d4);if(_0x337ed7===_0xf13500)return[_0x5ca0d4,_0x337ed7];_0x5ca0d4-=0x3c*(_0xf13500-_0x337ed7)*0x3e8;const _0x2915d9=_0x24d8b7['offset'](_0x5ca0d4);return _0xf13500===_0x2915d9?[_0x5ca0d4,_0xf13500]:[_0x3194a7-0x3c*Math['min'](_0xf13500,_0x2915d9)*0x3e8,Math['max'](_0xf13500,_0x2915d9)];}function tsToObj(_0x5a249b,_0xa87bb6){const _0x67d936=new Date(_0x5a249b+=0x3c*_0xa87bb6*0x3e8);return{'year':_0x67d936['getUTCFullYear'](),'month':_0x67d936['getUTCMonth']()+0x1,'day':_0x67d936['getUTCDate'](),'hour':_0x67d936['getUTCHours'](),'minute':_0x67d936['getUTCMinutes'](),'second':_0x67d936['getUTCSeconds'](),'millisecond':_0x67d936['getUTCMilliseconds']()};}function _0x1ca29d(_0x1c6a89,_0x58f84a,_0xf0c0ec){return fixOffset(_0x1ace39(_0x1c6a89),_0x58f84a,_0xf0c0ec);}function adjustTime(_0x21725c,_0x6036fa){const _0x457454=_0x21725c['o'],_0x514bda=_0x21725c['c']['year']+Math['trunc'](_0x6036fa['years']),_0x2bd7dc=_0x21725c['c']['month']+Math['trunc'](_0x6036fa['months'])+0x3*Math['trunc'](_0x6036fa['quarters']),_0xa24033={..._0x21725c['c'],'year':_0x514bda,'month':_0x2bd7dc,'day':Math['min'](_0x21725c['c']['day'],daysInMonth(_0x514bda,_0x2bd7dc))+Math['trunc'](_0x6036fa['days'])+0x7*Math['trunc'](_0x6036fa['weeks'])},_0x1b4857=Duration['fromObject']({'years':_0x6036fa['years']-Math['trunc'](_0x6036fa['years']),'quarters':_0x6036fa['quarters']-Math['trunc'](_0x6036fa['quarters']),'months':_0x6036fa['months']-Math['trunc'](_0x6036fa['months']),'weeks':_0x6036fa['weeks']-Math['trunc'](_0x6036fa['weeks']),'days':_0x6036fa['days']-Math['trunc'](_0x6036fa['days']),'hours':_0x6036fa['hours'],'minutes':_0x6036fa['minutes'],'seconds':_0x6036fa['seconds'],'milliseconds':_0x6036fa['milliseconds']})['as']('milliseconds'),_0x425b4f=_0x1ace39(_0xa24033);let [_0x1e62ad,_0x50090d]=fixOffset(_0x425b4f,_0x457454,_0x21725c['zone']);return 0x0!==_0x1b4857&&(_0x1e62ad+=_0x1b4857,_0x50090d=_0x21725c['zone']['offset'](_0x1e62ad)),{'ts':_0x1e62ad,'o':_0x50090d};}function parseDataToDateTime(_0xcbabfd,_0x4efc8a,_0x480c95,_0x1601fb,_0x37b76f,_0x4d0f2e){const {setZone:_0x93cd70,zone:_0x3fc79c}=_0x480c95;if(_0xcbabfd&&0x0!==Object['keys'](_0xcbabfd)['length']||_0x4efc8a){const _0x2d3c1f=_0x4efc8a||_0x3fc79c,_0x53ade1=DateTime['fromObject'](_0xcbabfd,{..._0x480c95,'zone':_0x2d3c1f,'specificOffset':_0x4d0f2e});return _0x93cd70?_0x53ade1:_0x53ade1['setZone'](_0x3fc79c);}return DateTime['invalid'](new _0x30aca9('unparsable','the\x20input\x20\x22'+_0x37b76f+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20'+_0x1601fb));}function toTechFormat(_0x35b3ee,_0x2c4d9d,_0x5961ec=!0x0){return _0x35b3ee['isValid']?Formatter['create'](_0x5b1114['create']('en-US'),{'allowZ':_0x5961ec,'forceSimple':!0x0})['formatDateTimeFromString'](_0x35b3ee,_0x2c4d9d):null;}function toISODate(_0x31a04b,_0x1813ae){const _0x58cab5=_0x31a04b['c']['year']>0x270f||_0x31a04b['c']['year']<0x0;let _0xb60c96='';return _0x58cab5&&_0x31a04b['c']['year']>=0x0&&(_0xb60c96+='+'),_0xb60c96+=padStart(_0x31a04b['c']['year'],_0x58cab5?0x6:0x4),_0x1813ae?(_0xb60c96+='-',_0xb60c96+=padStart(_0x31a04b['c']['month']),_0xb60c96+='-',_0xb60c96+=padStart(_0x31a04b['c']['day'])):(_0xb60c96+=padStart(_0x31a04b['c']['month']),_0xb60c96+=padStart(_0x31a04b['c']['day'])),_0xb60c96;}function toISOTime(_0xd2b94b,_0x534d9d,_0x4cc70d,_0x5419b6,_0x5e1707,_0x200755){let _0x1ad4c7=padStart(_0xd2b94b['c']['hour']);return _0x534d9d?(_0x1ad4c7+=':',_0x1ad4c7+=padStart(_0xd2b94b['c']['minute']),0x0===_0xd2b94b['c']['millisecond']&&0x0===_0xd2b94b['c']['second']&&_0x4cc70d||(_0x1ad4c7+=':')):_0x1ad4c7+=padStart(_0xd2b94b['c']['minute']),0x0===_0xd2b94b['c']['millisecond']&&0x0===_0xd2b94b['c']['second']&&_0x4cc70d||(_0x1ad4c7+=padStart(_0xd2b94b['c']['second']),0x0===_0xd2b94b['c']['millisecond']&&_0x5419b6||(_0x1ad4c7+='.',_0x1ad4c7+=padStart(_0xd2b94b['c']['millisecond'],0x3))),_0x5e1707&&(_0xd2b94b['isOffsetFixed']&&0x0===_0xd2b94b['offset']&&!_0x200755?_0x1ad4c7+='Z':_0xd2b94b['o']<0x0?(_0x1ad4c7+='-',_0x1ad4c7+=padStart(Math['trunc'](-_0xd2b94b['o']/0x3c)),_0x1ad4c7+=':',_0x1ad4c7+=padStart(Math['trunc'](-_0xd2b94b['o']%0x3c))):(_0x1ad4c7+='+',_0x1ad4c7+=padStart(Math['trunc'](_0xd2b94b['o']/0x3c)),_0x1ad4c7+=':',_0x1ad4c7+=padStart(Math['trunc'](_0xd2b94b['o']%0x3c)))),_0x200755&&(_0x1ad4c7+='['+_0xd2b94b['zone']['ianaName']+']'),_0x1ad4c7;}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(_0xdde72a){const _0xd9c8af={'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'}[_0xdde72a['toLowerCase']()];if(!_0xd9c8af)throw new InvalidUnitError(_0xdde72a);return _0xd9c8af;}function normalizeUnitWithLocalWeeks(_0x21477e){switch(_0x21477e['toLowerCase']()){case'localweekday':case'localweekdays':return'localWeekday';case'localweeknumber':case'localweeknumbers':return'localWeekNumber';case'localweekyear':case'localweekyears':return'localWeekYear';default:return normalizeUnit(_0x21477e);}}function guessOffsetForZone(_0x2366ad){if(void 0x0===zoneOffsetTs&&(zoneOffsetTs=Settings['now']()),'iana'!==_0x2366ad['type'])return _0x2366ad['offset'](zoneOffsetTs);const _0x4c17d4=_0x2366ad['name'];let _0x472536=zoneOffsetGuessCache['get'](_0x4c17d4);return void 0x0===_0x472536&&(_0x472536=_0x2366ad['offset'](zoneOffsetTs),zoneOffsetGuessCache['set'](_0x4c17d4,_0x472536)),_0x472536;}function _0x381515(_0x1dac5e,_0x2ebc5a){const _0x5a3b10=_0x2b8ca5(_0x2ebc5a['zone'],Settings['defaultZone']);if(!_0x5a3b10['isValid'])return DateTime['invalid'](unsupportedZone(_0x5a3b10));const _0x18f763=_0x5b1114['fromObject'](_0x2ebc5a);let _0x33b401,_0x26d60b;if(_0x35adef(_0x1dac5e['year']))_0x33b401=Settings['now']();else{for(const _0x1a1005 of orderedUnits)_0x35adef(_0x1dac5e[_0x1a1005])&&(_0x1dac5e[_0x1a1005]=defaultUnitValues[_0x1a1005]);const _0x55b57d=hasInvalidGregorianData(_0x1dac5e)||hasInvalidTimeData(_0x1dac5e);if(_0x55b57d)return DateTime['invalid'](_0x55b57d);const _0x3aa3fc=guessOffsetForZone(_0x5a3b10);[_0x33b401,_0x26d60b]=_0x1ca29d(_0x1dac5e,_0x3aa3fc,_0x5a3b10);}return new DateTime({'ts':_0x33b401,'zone':_0x5a3b10,'loc':_0x18f763,'o':_0x26d60b});}function diffRelative(_0x5c3fb8,_0x39c547,_0x4b048e){const _0x98306d=!!_0x35adef(_0x4b048e['round'])||_0x4b048e['round'],_0x1b7508=(_0x354db2,_0x599652)=>{return _0x354db2=_0x1c84b3(_0x354db2,_0x98306d||_0x4b048e['calendary']?0x0:0x2,!0x0),_0x39c547['loc']['clone'](_0x4b048e)['relFormatter'](_0x4b048e)['format'](_0x354db2,_0x599652);},_0x637912=_0x1b04eb=>_0x4b048e['calendary']?_0x39c547['hasSame'](_0x5c3fb8,_0x1b04eb)?0x0:_0x39c547['startOf'](_0x1b04eb)['diff'](_0x5c3fb8['startOf'](_0x1b04eb),_0x1b04eb)['get'](_0x1b04eb):_0x39c547['diff'](_0x5c3fb8,_0x1b04eb)['get'](_0x1b04eb);if(_0x4b048e['unit'])return _0x1b7508(_0x637912(_0x4b048e['unit']),_0x4b048e['unit']);for(const _0x600248 of _0x4b048e['units']){const _0x78ddfa=_0x637912(_0x600248);if(Math['abs'](_0x78ddfa)>=0x1)return _0x1b7508(_0x78ddfa,_0x600248);}return _0x1b7508(_0x5c3fb8>_0x39c547?-0x0:0x0,_0x4b048e['units'][_0x4b048e['units']['length']-0x1]);}function lastOpts(_0x212a86){let _0x14a885,_0x3ffe2b={};return _0x212a86['length']>0x0&&'object'==typeof _0x212a86[_0x212a86['length']-0x1]?(_0x3ffe2b=_0x212a86[_0x212a86['length']-0x1],_0x14a885=Array['from'](_0x212a86)['slice'](0x0,_0x212a86['length']-0x1)):_0x14a885=Array['from'](_0x212a86),[_0x3ffe2b,_0x14a885];}let zoneOffsetTs;const zoneOffsetGuessCache=new Map();class DateTime{constructor(_0x2e7ef2){const _0xc87c35=_0x2e7ef2['zone']||Settings['defaultZone'];let _0x5f0d04=_0x2e7ef2['invalid']||(Number['isNaN'](_0x2e7ef2['ts'])?new _0x30aca9('invalid\x20input'):null)||(_0xc87c35['isValid']?null:unsupportedZone(_0xc87c35));this['ts']=_0x35adef(_0x2e7ef2['ts'])?Settings['now']():_0x2e7ef2['ts'];let _0x13f9ef=null,_0x1f098b=null;if(!_0x5f0d04){if(_0x2e7ef2['old']&&_0x2e7ef2['old']['ts']===this['ts']&&_0x2e7ef2['old']['zone']['equals'](_0xc87c35))[_0x13f9ef,_0x1f098b]=[_0x2e7ef2['old']['c'],_0x2e7ef2['old']['o']];else{const _0x3f8faa=_0xf15b8b(_0x2e7ef2['o'])&&!_0x2e7ef2['old']?_0x2e7ef2['o']:_0xc87c35['offset'](this['ts']);_0x13f9ef=tsToObj(this['ts'],_0x3f8faa),_0x5f0d04=Number['isNaN'](_0x13f9ef['year'])?new _0x30aca9('invalid\x20input'):null,_0x13f9ef=_0x5f0d04?null:_0x13f9ef,_0x1f098b=_0x5f0d04?null:_0x3f8faa;}}this['_zone']=_0xc87c35,this['loc']=_0x2e7ef2['loc']||_0x5b1114['create'](),this['invalid']=_0x5f0d04,this['weekData']=null,this['localWeekData']=null,this['c']=_0x13f9ef,this['o']=_0x1f098b,this['isLuxonDateTime']=!0x0;}static['now'](){return new DateTime({});}static['local'](){const [_0x2c6298,_0x568f8b]=lastOpts(arguments),[_0x2a3ce8,_0x46c5f2,_0x894f4d,_0x11fef8,_0x12bd81,_0xd93c4e,_0xb8534b]=_0x568f8b;return _0x381515({'year':_0x2a3ce8,'month':_0x46c5f2,'day':_0x894f4d,'hour':_0x11fef8,'minute':_0x12bd81,'second':_0xd93c4e,'millisecond':_0xb8534b},_0x2c6298);}static['utc'](){const [_0x268a7d,_0x31d2d5]=lastOpts(arguments),[_0x4fc2d6,_0x332aaa,_0x1eb8fe,_0x22a9f2,_0x453c44,_0x301831,_0x3c3bb9]=_0x31d2d5;return _0x268a7d['zone']=FixedOffsetZone['utcInstance'],_0x381515({'year':_0x4fc2d6,'month':_0x332aaa,'day':_0x1eb8fe,'hour':_0x22a9f2,'minute':_0x453c44,'second':_0x301831,'millisecond':_0x3c3bb9},_0x268a7d);}static['fromJSDate'](_0x40bfdd,_0x28349a={}){const _0x37e747=isDate(_0x40bfdd)?_0x40bfdd['valueOf']():NaN;if(Number['isNaN'](_0x37e747))return DateTime['invalid']('invalid\x20input');const _0x2187d8=_0x2b8ca5(_0x28349a['zone'],Settings['defaultZone']);return _0x2187d8['isValid']?new DateTime({'ts':_0x37e747,'zone':_0x2187d8,'loc':_0x5b1114['fromObject'](_0x28349a)}):DateTime['invalid'](unsupportedZone(_0x2187d8));}static['fromMillis'](_0x157eeb,_0x10c112={}){if(_0xf15b8b(_0x157eeb))return _0x157eeb<-_0x20f88f||_0x157eeb>_0x20f88f?DateTime['invalid']('Timestamp\x20out\x20of\x20range'):new DateTime({'ts':_0x157eeb,'zone':_0x2b8ca5(_0x10c112['zone'],Settings['defaultZone']),'loc':_0x5b1114['fromObject'](_0x10c112)});throw new InvalidArgumentError('fromMillis\x20requires\x20a\x20numerical\x20input,\x20but\x20received\x20a\x20'+typeof _0x157eeb+'\x20with\x20value\x20'+_0x157eeb);}static['fromSeconds'](_0x135fc3,_0x10de33={}){if(_0xf15b8b(_0x135fc3))return new DateTime({'ts':0x3e8*_0x135fc3,'zone':_0x2b8ca5(_0x10de33['zone'],Settings['defaultZone']),'loc':_0x5b1114['fromObject'](_0x10de33)});throw new InvalidArgumentError('fromSeconds\x20requires\x20a\x20numerical\x20input');}static['fromObject'](_0x44697f,_0x293f2a={}){_0x44697f=_0x44697f||{};const _0x2a86de=_0x2b8ca5(_0x293f2a['zone'],Settings['defaultZone']);if(!_0x2a86de['isValid'])return DateTime['invalid'](unsupportedZone(_0x2a86de));const _0x58fe50=_0x5b1114['fromObject'](_0x293f2a),_0x363ee6=normalizeObject(_0x44697f,normalizeUnitWithLocalWeeks),{minDaysInFirstWeek:_0x11aeac,startOfWeek:_0x4f84f4}=_0x4a6ef6(_0x363ee6,_0x58fe50),_0x51b711=Settings['now'](),_0x411230=_0x35adef(_0x293f2a['specificOffset'])?_0x2a86de['offset'](_0x51b711):_0x293f2a['specificOffset'],_0x29ba10=!_0x35adef(_0x363ee6['ordinal']),_0x57cdcf=!_0x35adef(_0x363ee6['year']),_0x162be1=!_0x35adef(_0x363ee6['month'])||!_0x35adef(_0x363ee6['day']),_0x13dd6e=_0x57cdcf||_0x162be1,_0x3906bc=_0x363ee6['weekYear']||_0x363ee6['weekNumber'];if((_0x13dd6e||_0x29ba10)&&_0x3906bc)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x162be1&&_0x29ba10)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');const _0x2ac8db=_0x3906bc||_0x363ee6['weekday']&&!_0x13dd6e;let _0x35332b,_0x168d17,_0xa2a3c6=tsToObj(_0x51b711,_0x411230);_0x2ac8db?(_0x35332b=orderedWeekUnits,_0x168d17=defaultWeekUnitValues,_0xa2a3c6=_0x5d1e8c(_0xa2a3c6,_0x11aeac,_0x4f84f4)):_0x29ba10?(_0x35332b=orderedOrdinalUnits,_0x168d17=defaultOrdinalUnitValues,_0xa2a3c6=_0x1ee292(_0xa2a3c6)):(_0x35332b=orderedUnits,_0x168d17=defaultUnitValues);let _0xe1770d=!0x1;for(const _0x518809 of _0x35332b){_0x35adef(_0x363ee6[_0x518809])?_0x363ee6[_0x518809]=_0xe1770d?_0x168d17[_0x518809]:_0xa2a3c6[_0x518809]:_0xe1770d=!0x0;}const _0x17c344=(_0x2ac8db?hasInvalidWeekData(_0x363ee6,_0x11aeac,_0x4f84f4):_0x29ba10?hasInvalidOrdinalData(_0x363ee6):hasInvalidGregorianData(_0x363ee6))||hasInvalidTimeData(_0x363ee6);if(_0x17c344)return DateTime['invalid'](_0x17c344);const _0x36d0c9=_0x2ac8db?_0x1c4fb5(_0x363ee6,_0x11aeac,_0x4f84f4):_0x29ba10?_0x5ac600(_0x363ee6):_0x363ee6,[_0x35ca40,_0xa89a70]=_0x1ca29d(_0x36d0c9,_0x411230,_0x2a86de),_0x55d29e=new DateTime({'ts':_0x35ca40,'zone':_0x2a86de,'o':_0xa89a70,'loc':_0x58fe50});return _0x363ee6['weekday']&&_0x13dd6e&&_0x44697f['weekday']!==_0x55d29e['weekday']?DateTime['invalid']('mismatched\x20weekday','you\x20can\x27t\x20specify\x20both\x20a\x20weekday\x20of\x20'+_0x363ee6['weekday']+'\x20and\x20a\x20date\x20of\x20'+_0x55d29e['toISO']()):_0x55d29e['isValid']?_0x55d29e:DateTime['invalid'](_0x55d29e['invalid']);}static['fromISO'](_0x4a3a16,_0x143687={}){const [_0x7329f9,_0x383092]=parseISODate(_0x4a3a16);return parseDataToDateTime(_0x7329f9,_0x383092,_0x143687,'ISO\x208601',_0x4a3a16);}static['fromRFC2822'](_0xeb79d3,_0x21ee2f={}){const [_0x53c37f,_0x1371cd]=parseRFC2822Date(_0xeb79d3);return parseDataToDateTime(_0x53c37f,_0x1371cd,_0x21ee2f,'RFC\x202822',_0xeb79d3);}static['fromHTTP'](_0x120719,_0x404059={}){const [_0x367621,_0x370ff6]=parseHTTPDate(_0x120719);return parseDataToDateTime(_0x367621,_0x370ff6,_0x404059,'HTTP',_0x404059);}static['fromFormat'](_0x57f713,_0x4bdba1,_0x205ebb={}){if(_0x35adef(_0x57f713)||_0x35adef(_0x4bdba1))throw new InvalidArgumentError('fromFormat\x20requires\x20an\x20input\x20string\x20and\x20a\x20format');const {locale:_0x2184bf=null,numberingSystem:_0x3bbc50=null}=_0x205ebb,_0x60fc42=_0x5b1114['fromOpts']({'locale':_0x2184bf,'numberingSystem':_0x3bbc50,'defaultToEN':!0x0}),[_0x45a170,_0x3e2868,_0xaa268,_0x3e8ff4]=_0xf456d5(_0x60fc42,_0x57f713,_0x4bdba1);return _0x3e8ff4?DateTime['invalid'](_0x3e8ff4):parseDataToDateTime(_0x45a170,_0x3e2868,_0x205ebb,'format\x20'+_0x4bdba1,_0x57f713,_0xaa268);}static['fromString'](_0x3e46e2,_0x5e3631,_0x567989={}){return DateTime['fromFormat'](_0x3e46e2,_0x5e3631,_0x567989);}static['fromSQL'](_0x5a55f2,_0x13439d={}){const [_0x5d93dd,_0x29ca23]=_0x5bbf79(_0x5a55f2);return parseDataToDateTime(_0x5d93dd,_0x29ca23,_0x13439d,'SQL',_0x5a55f2);}static['invalid'](_0x477976,_0x19c1ef=null){if(!_0x477976)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20DateTime\x20is\x20invalid');const _0x50514d=_0x477976 instanceof _0x30aca9?_0x477976:new _0x30aca9(_0x477976,_0x19c1ef);if(Settings['throwOnInvalid'])throw new InvalidDateTimeError(_0x50514d);return new DateTime({'invalid':_0x50514d});}static['isDateTime'](_0x3bc76c){return _0x3bc76c&&_0x3bc76c['isLuxonDateTime']||!0x1;}static['parseFormatForOpts'](_0x643a93,_0x1763f8={}){const _0x3c7cb1=formatOptsToTokens(_0x643a93,_0x5b1114['fromObject'](_0x1763f8));return _0x3c7cb1?_0x3c7cb1['map'](t=>t?t['val']:null)['join'](''):null;}static['expandFormat'](_0x47af93,_0x598252={}){return _0x3a83e0(Formatter['parseFormat'](_0x47af93),_0x5b1114['fromObject'](_0x598252))['map'](t=>t['val'])['join']('');}static['resetCache'](){zoneOffsetTs=void 0x0,zoneOffsetGuessCache['clear']();}['get'](_0x2543a7){return this[_0x2543a7];}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']?_0x1ee292(this['c'])['ordinal']:NaN;}get['monthShort'](){return this['isValid']?_0x5e7604['months']('short',{'locObj':this['loc']})[this['month']-0x1]:null;}get['monthLong'](){return this['isValid']?_0x5e7604['months']('long',{'locObj':this['loc']})[this['month']-0x1]:null;}get['weekdayShort'](){return this['isValid']?_0x5e7604['weekdays']('short',{'locObj':this['loc']})[this['weekday']-0x1]:null;}get['weekdayLong'](){return this['isValid']?_0x5e7604['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 _0x1e18fc=0x5265c00,_0x591555=0xea60,_0x5c8847=_0x1ace39(this['c']),_0x4ef688=this['zone']['offset'](_0x5c8847-_0x1e18fc),_0x2f4df7=this['zone']['offset'](_0x5c8847+_0x1e18fc),_0x57c63f=this['zone']['offset'](_0x5c8847-_0x4ef688*_0x591555),_0x513e58=this['zone']['offset'](_0x5c8847-_0x2f4df7*_0x591555);if(_0x57c63f===_0x513e58)return[this];const _0x4b92a6=_0x5c8847-_0x57c63f*_0x591555,_0x150acb=_0x5c8847-_0x513e58*_0x591555,_0x21d886=tsToObj(_0x4b92a6,_0x57c63f),_0x466130=tsToObj(_0x150acb,_0x513e58);return _0x21d886['hour']===_0x466130['hour']&&_0x21d886['minute']===_0x466130['minute']&&_0x21d886['second']===_0x466130['second']&&_0x21d886['millisecond']===_0x466130['millisecond']?[_0xc7c34b(this,{'ts':_0x4b92a6}),_0xc7c34b(this,{'ts':_0x150acb})]:[this];}get['isInLeapYear'](){return _0x2f9a57(this['year']);}get['daysInMonth'](){return daysInMonth(this['year'],this['month']);}get['daysInYear'](){return this['isValid']?_0x5332f9(this['year']):NaN;}get['weeksInWeekYear'](){return this['isValid']?_0x32046f(this['weekYear']):NaN;}get['weeksInLocalWeekYear'](){return this['isValid']?_0x32046f(this['localWeekYear'],this['loc']['getMinDaysInFirstWeek'](),this['loc']['getStartOfWeek']()):NaN;}['resolvedLocaleOptions'](_0x1a7299={}){const {locale:_0x3eadb2,numberingSystem:_0x3daa49,calendar:_0x4253b9}=Formatter['create'](this['loc']['clone'](_0x1a7299),_0x1a7299)['resolvedOptions'](this);return{'locale':_0x3eadb2,'numberingSystem':_0x3daa49,'outputCalendar':_0x4253b9};}['toUTC'](_0x24780d=0x0,_0x3d05c1={}){return this['setZone'](FixedOffsetZone['instance'](_0x24780d),_0x3d05c1);}['toLocal'](){return this['setZone'](Settings['defaultZone']);}['setZone'](_0x15adfc,{keepLocalTime:_0x393ae4=!0x1,keepCalendarTime:_0x2779e5=!0x1}={}){if((_0x15adfc=_0x2b8ca5(_0x15adfc,Settings['defaultZone']))['equals'](this['zone']))return this;if(_0x15adfc['isValid']){let _0x841678=this['ts'];if(_0x393ae4||_0x2779e5){const _0x48bb96=_0x15adfc['offset'](this['ts']),_0x3dadaa=this['toObject']();[_0x841678]=_0x1ca29d(_0x3dadaa,_0x48bb96,_0x15adfc);}return _0xc7c34b(this,{'ts':_0x841678,'zone':_0x15adfc});}return DateTime['invalid'](unsupportedZone(_0x15adfc));}['reconfigure']({locale:_0x36744a,numberingSystem:_0x598485,outputCalendar:_0x34c240}={}){return _0xc7c34b(this,{'loc':this['loc']['clone']({'locale':_0x36744a,'numberingSystem':_0x598485,'outputCalendar':_0x34c240})});}['setLocale'](_0x1d0171){return this['reconfigure']({'locale':_0x1d0171});}['set'](_0x105e75){if(!this['isValid'])return this;const _0x56aa24=normalizeObject(_0x105e75,normalizeUnitWithLocalWeeks),{minDaysInFirstWeek:_0x4657f4,startOfWeek:_0x41fbd6}=_0x4a6ef6(_0x56aa24,this['loc']),_0x3870b3=!_0x35adef(_0x56aa24['weekYear'])||!_0x35adef(_0x56aa24['weekNumber'])||!_0x35adef(_0x56aa24['weekday']),_0x178ea8=!_0x35adef(_0x56aa24['ordinal']),_0x1e9c5c=!_0x35adef(_0x56aa24['year']),_0x52716f=!_0x35adef(_0x56aa24['month'])||!_0x35adef(_0x56aa24['day']),_0x11732f=_0x1e9c5c||_0x52716f,_0x357add=_0x56aa24['weekYear']||_0x56aa24['weekNumber'];if((_0x11732f||_0x178ea8)&&_0x357add)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x52716f&&_0x178ea8)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');let _0x464524;_0x3870b3?_0x464524=_0x1c4fb5({..._0x5d1e8c(this['c'],_0x4657f4,_0x41fbd6),..._0x56aa24},_0x4657f4,_0x41fbd6):_0x35adef(_0x56aa24['ordinal'])?(_0x464524={...this['toObject'](),..._0x56aa24},_0x35adef(_0x56aa24['day'])&&(_0x464524['day']=Math['min'](daysInMonth(_0x464524['year'],_0x464524['month']),_0x464524['day']))):_0x464524=_0x5ac600({..._0x1ee292(this['c']),..._0x56aa24});const [_0x5220bd,_0x275729]=_0x1ca29d(_0x464524,this['o'],this['zone']);return _0xc7c34b(this,{'ts':_0x5220bd,'o':_0x275729});}['plus'](_0x1b9322){if(!this['isValid'])return this;return _0xc7c34b(this,adjustTime(this,Duration['fromDurationLike'](_0x1b9322)));}['minus'](_0x19fc89){if(!this['isValid'])return this;return _0xc7c34b(this,adjustTime(this,Duration['fromDurationLike'](_0x19fc89)['negate']()));}['startOf'](_0x361853,{useLocaleWeeks:_0xef90e1=!0x1}={}){if(!this['isValid'])return this;const _0x2ce8a9={},_0x15c716=Duration['normalizeUnit'](_0x361853);switch(_0x15c716){case'years':_0x2ce8a9['month']=0x1;case'quarters':case'months':_0x2ce8a9['day']=0x1;case'weeks':case'days':_0x2ce8a9['hour']=0x0;case'hours':_0x2ce8a9['minute']=0x0;case'minutes':_0x2ce8a9['second']=0x0;case'seconds':_0x2ce8a9['millisecond']=0x0;}if('weeks'===_0x15c716){if(_0xef90e1){const _0x35e21e=this['loc']['getStartOfWeek'](),{weekday:_0x543590}=this;_0x543590<_0x35e21e&&(_0x2ce8a9['weekNumber']=this['weekNumber']-0x1),_0x2ce8a9['weekday']=_0x35e21e;}else _0x2ce8a9['weekday']=0x1;}if('quarters'===_0x15c716){const _0x1419d8=Math['ceil'](this['month']/0x3);_0x2ce8a9['month']=0x3*(_0x1419d8-0x1)+0x1;}return this['set'](_0x2ce8a9);}['endOf'](_0x5469e7,_0x219260){return this['isValid']?this['plus']({[_0x5469e7]:0x1})['startOf'](_0x5469e7,_0x219260)['minus'](0x1):this;}['toFormat'](_0x3ba5c5,_0x211552={}){return this['isValid']?Formatter['create'](this['loc']['redefaultToEN'](_0x211552))['formatDateTimeFromString'](this,_0x3ba5c5):_0x55ee2f;}['toLocaleString'](_0x500e2c=_0x49e4c4,_0x1496c8={}){return this['isValid']?Formatter['create'](this['loc']['clone'](_0x1496c8),_0x500e2c)['formatDateTime'](this):_0x55ee2f;}['toLocaleParts'](_0x9a775e={}){return this['isValid']?Formatter['create'](this['loc']['clone'](_0x9a775e),_0x9a775e)['formatDateTimeParts'](this):[];}['toISO']({format:_0x4cd0b7='extended',suppressSeconds:_0x4008b1=!0x1,suppressMilliseconds:_0xc0602a=!0x1,includeOffset:_0x37c4fd=!0x0,extendedZone:_0xc43776=!0x1}={}){if(!this['isValid'])return null;const _0x4e00d8='extended'===_0x4cd0b7;let _0x5004de=toISODate(this,_0x4e00d8);return _0x5004de+='T',_0x5004de+=toISOTime(this,_0x4e00d8,_0x4008b1,_0xc0602a,_0x37c4fd,_0xc43776),_0x5004de;}['toISODate']({format:_0xbd9ece='extended'}={}){return this['isValid']?toISODate(this,'extended'===_0xbd9ece):null;}['toISOWeekDate'](){return toTechFormat(this,'kkkk-\x27W\x27WW-c');}['toISOTime']({suppressMilliseconds:_0x3e2c0d=!0x1,suppressSeconds:_0x1e4d39=!0x1,includeOffset:_0x585b68=!0x0,includePrefix:_0x346868=!0x1,extendedZone:_0x5112fd=!0x1,format:_0x46d1b5='extended'}={}){if(!this['isValid'])return null;return(_0x346868?'T':'')+toISOTime(this,'extended'===_0x46d1b5,_0x1e4d39,_0x3e2c0d,_0x585b68,_0x5112fd);}['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:_0x15f364=!0x0,includeZone:_0x544df8=!0x1,includeOffsetSpace:_0xa1cc0=!0x0}={}){let _0x14c4dc='HH:mm:ss.SSS';return(_0x544df8||_0x15f364)&&(_0xa1cc0&&(_0x14c4dc+='\x20'),_0x544df8?_0x14c4dc+='z':_0x15f364&&(_0x14c4dc+='ZZ')),toTechFormat(this,_0x14c4dc,!0x0);}['toSQL'](_0x355994={}){return this['isValid']?this['toSQLDate']()+'\x20'+this['toSQLTime'](_0x355994):null;}['toString'](){return this['isValid']?this['toISO']():_0x55ee2f;}[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'](_0x4eb1e6={}){if(!this['isValid'])return{};const _0x45ee8d={...this['c']};return _0x4eb1e6['includeConfig']&&(_0x45ee8d['outputCalendar']=this['outputCalendar'],_0x45ee8d['numberingSystem']=this['loc']['numberingSystem'],_0x45ee8d['locale']=this['loc']['locale']),_0x45ee8d;}['toJSDate'](){return new Date(this['isValid']?this['ts']:NaN);}['diff'](_0x2a65fc,_0x44f865='milliseconds',_0x6f7ba6={}){if(!this['isValid']||!_0x2a65fc['isValid'])return Duration['invalid']('created\x20by\x20diffing\x20an\x20invalid\x20DateTime');const _0x415e7a={'locale':this['locale'],'numberingSystem':this['numberingSystem'],..._0x6f7ba6},_0x3acbcc=_0x1d3fdd(_0x44f865)['map'](Duration['normalizeUnit']),_0x27a6f3=_0x2a65fc['valueOf']()>this['valueOf'](),_0x1db36b=_0x17cb73(_0x27a6f3?this:_0x2a65fc,_0x27a6f3?_0x2a65fc:this,_0x3acbcc,_0x415e7a);return _0x27a6f3?_0x1db36b['negate']():_0x1db36b;}['diffNow'](_0xefdd51='milliseconds',_0x38d46b={}){return this['diff'](DateTime['now'](),_0xefdd51,_0x38d46b);}['until'](_0x5e1690){return this['isValid']?Interval['fromDateTimes'](this,_0x5e1690):this;}['hasSame'](_0x1ee00d,_0x5e550b,_0x19646a){if(!this['isValid'])return!0x1;const _0xcc33ed=_0x1ee00d['valueOf'](),_0x186c2a=this['setZone'](_0x1ee00d['zone'],{'keepLocalTime':!0x0});return _0x186c2a['startOf'](_0x5e550b,_0x19646a)<=_0xcc33ed&&_0xcc33ed<=_0x186c2a['endOf'](_0x5e550b,_0x19646a);}['equals'](_0x5163bc){return this['isValid']&&_0x5163bc['isValid']&&this['valueOf']()===_0x5163bc['valueOf']()&&this['zone']['equals'](_0x5163bc['zone'])&&this['loc']['equals'](_0x5163bc['loc']);}['toRelative'](_0x437248={}){if(!this['isValid'])return null;const _0x59583f=_0x437248['base']||DateTime['fromObject']({},{'zone':this['zone']}),_0xdacee9=_0x437248['padding']?this<_0x59583f?-_0x437248['padding']:_0x437248['padding']:0x0;let _0x5a1167=['years','months','days','hours','minutes','seconds'],_0x13cf49=_0x437248['unit'];return Array['isArray'](_0x437248['unit'])&&(_0x5a1167=_0x437248['unit'],_0x13cf49=void 0x0),diffRelative(_0x59583f,this['plus'](_0xdacee9),{..._0x437248,'numeric':'always','units':_0x5a1167,'unit':_0x13cf49});}['toRelativeCalendar'](_0x20c727={}){return this['isValid']?diffRelative(_0x20c727['base']||DateTime['fromObject']({},{'zone':this['zone']}),this,{..._0x20c727,'numeric':'auto','units':['years','months','days'],'calendary':!0x0}):null;}static['min'](..._0x5bfa09){if(!_0x5bfa09['every'](DateTime['isDateTime']))throw new InvalidArgumentError('min\x20requires\x20all\x20arguments\x20be\x20DateTimes');return bestBy(_0x5bfa09,_0x358772=>_0x358772['valueOf'](),Math['min']);}static['max'](..._0x122a46){if(!_0x122a46['every'](DateTime['isDateTime']))throw new InvalidArgumentError('max\x20requires\x20all\x20arguments\x20be\x20DateTimes');return bestBy(_0x122a46,_0x5d40ad=>_0x5d40ad['valueOf'](),Math['max']);}static['fromFormatExplain'](_0xe065bb,_0x3df171,_0x44455e={}){const {locale:_0x41ad1c=null,numberingSystem:_0x329012=null}=_0x44455e;return _0x582b1b(_0x5b1114['fromOpts']({'locale':_0x41ad1c,'numberingSystem':_0x329012,'defaultToEN':!0x0}),_0xe065bb,_0x3df171);}static['fromStringExplain'](_0x3af0ba,_0x288610,_0x2902de={}){return DateTime['fromFormatExplain'](_0x3af0ba,_0x288610,_0x2902de);}static['buildFormatParser'](_0x3c5d73,_0x716058={}){const {locale:_0x14f37c=null,numberingSystem:_0x218710=null}=_0x716058,_0x1ca8b1=_0x5b1114['fromOpts']({'locale':_0x14f37c,'numberingSystem':_0x218710,'defaultToEN':!0x0});return new _0x1e64ab(_0x1ca8b1,_0x3c5d73);}static['fromFormatParser'](_0x113be2,_0x190c24,_0x44a67b={}){if(_0x35adef(_0x113be2)||_0x35adef(_0x190c24))throw new InvalidArgumentError('fromFormatParser\x20requires\x20an\x20input\x20string\x20and\x20a\x20format\x20parser');const {locale:_0x3c5b30=null,numberingSystem:_0x26b7bb=null}=_0x44a67b,_0x2dcb0a=_0x5b1114['fromOpts']({'locale':_0x3c5b30,'numberingSystem':_0x26b7bb,'defaultToEN':!0x0});if(!_0x2dcb0a['equals'](_0x190c24['locale']))throw new InvalidArgumentError('fromFormatParser\x20called\x20with\x20a\x20locale\x20of\x20'+_0x2dcb0a+',\x20but\x20the\x20format\x20parser\x20was\x20created\x20for\x20'+_0x190c24['locale']);const {result:_0x32c939,zone:_0x2cb109,specificOffset:_0x47a96a,invalidReason:_0x4654e6}=_0x190c24['explainFromTokens'](_0x113be2);return _0x4654e6?DateTime['invalid'](_0x4654e6):parseDataToDateTime(_0x32c939,_0x2cb109,_0x44a67b,'format\x20'+_0x190c24['format'],_0x113be2,_0x47a96a);}static get['DATE_SHORT'](){return _0x49e4c4;}static get['DATE_MED'](){return _0xd8f51e;}static get['DATE_MED_WITH_WEEKDAY'](){return _0x5c6709;}static get['DATE_FULL'](){return _0x388b6a;}static get['DATE_HUGE'](){return _0x2e7230;}static get['TIME_SIMPLE'](){return _0x594ef0;}static get['TIME_WITH_SECONDS'](){return _0x561b55;}static get['TIME_WITH_SHORT_OFFSET'](){return _0x485ab0;}static get['TIME_WITH_LONG_OFFSET'](){return _0xc715f5;}static get['TIME_24_SIMPLE'](){return _0x5a2c2a;}static get['TIME_24_WITH_SECONDS'](){return _0x215c6b;}static get['TIME_24_WITH_SHORT_OFFSET'](){return _0x3c8d5d;}static get['TIME_24_WITH_LONG_OFFSET'](){return _0x57384a;}static get['DATETIME_SHORT'](){return _0x58053d;}static get['DATETIME_SHORT_WITH_SECONDS'](){return _0x26d626;}static get['DATETIME_MED'](){return _0x7c9ea;}static get['DATETIME_MED_WITH_SECONDS'](){return _0x25cead;}static get['DATETIME_MED_WITH_WEEKDAY'](){return _0xd00c1;}static get['DATETIME_FULL'](){return _0x2f4801;}static get['DATETIME_FULL_WITH_SECONDS'](){return _0x1773b0;}static get['DATETIME_HUGE'](){return _0x2a0d37;}static get['DATETIME_HUGE_WITH_SECONDS'](){return _0x5d0bf8;}}function friendlyDateTime(_0x22e65b){if(DateTime['isDateTime'](_0x22e65b))return _0x22e65b;if(_0x22e65b&&_0x22e65b['valueOf']&&_0xf15b8b(_0x22e65b['valueOf']()))return DateTime['fromJSDate'](_0x22e65b);if(_0x22e65b&&'object'==typeof _0x22e65b)return DateTime['fromObject'](_0x22e65b);throw new InvalidArgumentError('Unknown\x20datetime\x20argument:\x20'+_0x22e65b+',\x20of\x20type\x20'+typeof _0x22e65b);}function getDateTimeFormatter(_0x5c7107={},_0x1b70ee){if(void 0x0!==_0x5c7107['dateTimeFormat']&&'function'!=typeof _0x5c7107['dateTimeFormat'])throw new ckeditor5['CKEditorError']('invalid-date-time-format');return _0x4fb357=>{const _0x3c27a8='string'==typeof _0x4fb357?DateTime['fromISO'](_0x4fb357):DateTime['fromJSDate'](_0x4fb357),_0x2b722e=DateTime['now'](),_0xf450a1=Math['floor'](_0x2b722e['diff'](_0x3c27a8,'days')['days']);return _0x5c7107['dateTimeFormat']?_0x5c7107['dateTimeFormat'](_0x3c27a8['toJSDate'](),_0x1b70ee&&_0x1b70ee['t']?_0x1b70ee['t']:void 0x0):0x0===_0xf450a1?_0x1b70ee?getTranslation$h(_0x1b70ee,'Today')+'\x20'+_0x3c27a8['toFormat']('hh:mma'):_0x3c27a8['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0xf450a1?_0x1b70ee?getTranslation$h(_0x1b70ee,'Yesterday')+'\x20'+_0x3c27a8['toFormat']('hh:mma'):_0x3c27a8['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0xf450a1<0x7?_0x1b70ee?getTranslation$h(_0x1b70ee,'Last')+'\x20'+getTranslation$h(_0x1b70ee,_0x3c27a8['toFormat']('EEEE'))+'\x20'+_0x3c27a8['toFormat']('hh:mma'):_0x3c27a8['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x3c27a8['toFormat']('LL-dd-yyyy\x20hh:mma');};}function getMarkerDomElement(_0x4f2a2d,_0x13ce68){const _0x2eca5f=_0x4f2a2d['mapper']['markerNameToElements'](_0x13ce68['name']);if(!_0x2eca5f)return null;const _0x43d7e5=ckeditor5['first'](_0x2eca5f['values']());return _0x4f2a2d['view']['domConverter']['mapViewToDom'](_0x43d7e5)||null;}function getAllMarkersDomElementsSorted(_0x155d2c,_0x1bc4db){if(0x0===_0x1bc4db['length'])return null;const _0x1f0923=[],_0xd6a41b=_0x155d2c['view']['domConverter'];for(const _0x381dc6 of _0x1bc4db){const _0xbe0308=_0x155d2c['mapper']['markerNameToElements'](_0x381dc6['name']);if(!_0xbe0308)continue;const _0x175a09=Array['from'](_0xbe0308)['map'](_0x3dd286=>_0xd6a41b['mapViewToDom'](_0x3dd286))['filter'](_0x397c6d=>!!_0x397c6d);_0x1f0923['push'](..._0x175a09);}if(0x0===_0x1f0923['length'])return null;const _0x236d44=[];for(const _0x3a0df7 of _0x1f0923){const _0x27be9f=_0x3a0df7['getClientRects']()['item'](0x0);_0x27be9f&&_0x236d44['push']({'x':_0x27be9f['x'],'y':_0x27be9f['y'],'domElement':_0x3a0df7});}return 0x0===_0x236d44['length']?null:(_0x236d44['sort']((_0x5d276b,_0x5bab23)=>_0x5d276b['y']-_0x5bab23['y']||_0x5d276b['x']-_0x5bab23['x']),_0x236d44['map'](_0x4658c6=>_0x4658c6['domElement']));}function trimHtml(_0x4c7be0,{limit:_0x543e83,suffix:_0x373049='...'}){const _0x4af156=[];let _0x2f192e=0x0;const _0xe3bdb3=_0x4c7be0['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x16a80f=0x0;_0x16a80f<_0xe3bdb3['length'];_0x16a80f++){let _0x1ebb6a=_0xe3bdb3[_0x16a80f];const _0x2737d7=splitCharactersToArray(_0x1ebb6a);if(_0x1ebb6a['startsWith']('<')){if(_0x2f192e>=_0x543e83){const _0x445ef1=_0x1ebb6a['match'](/[a-zA-Z]+/);if(!_0x445ef1){_0xe3bdb3[_0x16a80f]='';continue;}const _0x1c6911=_0x445ef1[0x0];_0x1ebb6a['startsWith']('</')?(_0x4af156['length']&&(_0x1ebb6a=''),_0x4af156['pop']()):(_0x4af156['push'](_0x1c6911),_0x1ebb6a='');}}else{if(_0x2f192e>=_0x543e83)_0x1ebb6a='';else{if(_0x2f192e+_0x2737d7['length']>=_0x543e83){let _0x2a85e3=_0x543e83-_0x2f192e;if('\x20'===_0x2737d7[_0x2a85e3-0x1])_0x2a85e3--;else{const _0x24e364=_0x2737d7['slice'](_0x2a85e3)['indexOf']('\x20');-0x1!==_0x24e364?_0x2a85e3+=_0x24e364:_0x2a85e3=_0x1ebb6a['length'];}_0x1ebb6a=_0x2737d7['slice'](0x0,_0x2a85e3)['join']('')+_0x373049,_0x2f192e=_0x543e83;}else _0x2f192e+=_0x2737d7['length'];}}_0xe3bdb3[_0x16a80f]=_0x1ebb6a;}return _0xe3bdb3['join']('\x0a')['replace'](/\n/g,'');}function splitCharactersToArray(_0x4b0092){const _0x29bf49=[];for(let _0x36f7e1=0x0;_0x36f7e1<_0x4b0092['length'];_0x36f7e1++){const _0x556570=_0x4b0092['substring'](_0x36f7e1)['match'](/^&[a-z0-9#]+;/);if(_0x556570){const _0x531957=_0x556570[0x0];_0x29bf49['push'](_0x531957),_0x36f7e1+=_0x531957['length']-0x1;}else _0x29bf49['push'](_0x4b0092[_0x36f7e1]);}return _0x29bf49;}class _0x197af4 extends ckeditor5['View']{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x647a90){super(_0x647a90);const _0x5bbb2e=this['bindTemplate'];this['set']('message',getTranslation$h(_0x647a90,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x647a90,getTranslation$h(_0x647a90,'Yes'),ckeditor5['IconCheck'],'submit'),this['cancelView']=this['_createButtonView'](_0x647a90,getTranslation$h(_0x647a90,'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':_0x5bbb2e['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'](_0x34616a,_0x4db393,_0x584469,_0x351aee){const _0x2a1cc5=new ckeditor5['ButtonView'](_0x34616a);return _0x2a1cc5['label']=_0x4db393,_0x2a1cc5['icon']=_0x584469,_0x2a1cc5['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x351aee}}),_0x2a1cc5['on']('execute',()=>this['fire'](_0x351aee)),_0x2a1cc5;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x5f469d=>{this['keystrokes']['listenTo'](_0x5f469d['element']),this['focusTracker']['add'](_0x5f469d['element']);}),this['keystrokes']['set']('esc',(_0x1899c7,_0x41970f)=>{this['fire']('cancel'),_0x41970f();});}}function _0x1acd7b(_0x107db0){return class extends _0x107db0{['showConfirm'](_0x21c040,_0x555cb3){return this['confirmView']=new _0x197af4(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x21c040,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x555cb3['appendChild'](this['confirmView']['element']),_0x555cb3['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x1d48a5,_0x30e2ef,_0x5bc69c)=>{_0x5bc69c||_0x555cb3['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x5b87c2=>this['confirmView']['on']('submit',_0x5b87c2));}['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(_0x23e827){let _0x543fe8=0x0,_0x5c35df=0x0;for(const _0x57e198 of objectToNumberGenerator(_0x23e827))_0x543fe8=(_0x543fe8<<0x5)-_0x543fe8+_0x57e198,_0x543fe8&=_0x543fe8,[_0x543fe8,_0x5c35df]=[_0x5c35df,_0x543fe8];return toString$1(_0x543fe8)+toString$1(_0x5c35df);}function*toNumberGenerator(_0x373218){null==_0x373218||null==_0x373218?yield 0x12b9b0a1:0x0===_0x373218||!0x1===_0x373218?yield 0x0:0x1===_0x373218||0x1==_0x373218?yield 0x1:Array['isArray'](_0x373218)?yield*arrayToNumberGenerator(_0x373218):'object'==typeof _0x373218?yield*objectToNumberGenerator(_0x373218):'string'==typeof _0x373218?yield*stringToNumberGenerator(_0x373218):'number'==typeof _0x373218&&(yield _0x373218);}function*objectToNumberGenerator(_0x466b0f){if(yield _0x462435('{'),_0x466b0f){const _0x241a6a=Object['keys'](_0x466b0f)['sort']();for(const _0x640aee of _0x241a6a){yield*stringToNumberGenerator(_0x640aee),yield _0x462435(':');const _0x36fe81=_0x466b0f[_0x640aee];yield*toNumberGenerator(_0x36fe81);}}yield _0x462435('}');}function*arrayToNumberGenerator(_0x49b12f){for(const _0x531105 of _0x49b12f)yield*toNumberGenerator(_0x531105);}function*stringToNumberGenerator(_0x4b74be){yield _0x462435('\x22');for(const _0x468680 of _0x4b74be)yield _0x462435(_0x468680);yield _0x462435('\x22');}function _0x462435(_0x37cbdb){return _0x37cbdb['charCodeAt'](0x0);}function toString$1(_0x3c53a9){return(_0x3c53a9*=Math['sign'](_0x3c53a9))['toString'](0x24);}const blackListedConfigOptions=['initialData','context','toolbar','rootsAttributes'],blackListedPlugins$2=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function skipRtcPlugins(_0x279df8,_0x55d32c,_0x356755,_0x214f74=[]){const _0x3fbb7e='string'==typeof _0x279df8?_0x356755['get'](_0x279df8)['constructor']:_0x279df8['prototype']['constructor'];if(_0x55d32c['has'](_0x3fbb7e))return _0x55d32c['get'](_0x3fbb7e);_0x55d32c['set'](_0x3fbb7e,!0x0);const _0x14c290=[...blackListedPlugins$2,..._0x214f74]['map'](_0x45ff06=>{if(_0x356755['has'](_0x45ff06))return _0x356755['get'](_0x45ff06)['constructor'];})['filter'](_0x1f54d6=>_0x1f54d6);if(_0x3fbb7e&&_0x14c290['includes'](_0x3fbb7e))return _0x55d32c['set'](_0x3fbb7e,!0x1),!0x1;if(!_0x3fbb7e['requires'])return _0x55d32c['set'](_0x3fbb7e,!0x0),!0x0;const _0x2cad1b=_0x3fbb7e['requires']['every'](_0x12f2f4=>skipRtcPlugins(_0x12f2f4,_0x55d32c,_0x356755,_0x214f74));return _0x55d32c['set'](_0x3fbb7e,_0x2cad1b),_0x2cad1b;}function sanitizeEditorConfig(_0x512214,_0x6cc469){const _0x2584bb={};for(const _0x15677c of _0x512214['config']['names']())blackListedConfigOptions['includes'](_0x15677c)||(_0x2584bb[_0x15677c]=_0x512214['config']['get'](_0x15677c));const _0x4e98f1=_0x2584bb['plugins']||[],_0x1608e9=_0x512214['constructor']['builtinPlugins']||[],_0x4b83ca=_0x4e98f1['length']?_0x4e98f1:_0x1608e9,_0x401e89=_0x2584bb['extraPlugins']||[];delete _0x2584bb['extraPlugins'];const _0x1ce762=_0x2584bb['removePlugins']||[];delete _0x2584bb['removePlugins'];const _0x4c4f30=_0x512214['_context']['config']['get']('plugins')||[],_0x1791c6=_0x4b83ca['concat'](_0x401e89)['concat'](_0x4c4f30)['map'](_0x2b140c=>'string'==typeof _0x2b140c?_0x1608e9['find'](_0x292132=>_0x292132['pluginName']==_0x2b140c):_0x2b140c)['filter'](_0x702346=>!_0x1ce762['includes'](_0x702346)&&!_0x1ce762['includes'](_0x702346['pluginName'])),_0x5e6037=Array['from'](new Set(_0x1791c6)),_0x38d70e=new Map();return _0x2584bb['plugins']=_0x5e6037['filter'](_0x26a85d=>skipRtcPlugins(_0x26a85d,_0x38d70e,_0x512214['plugins'],_0x6cc469)),_0x2584bb;}function surroundingMarkersDetector(_0x36d30a,_0x308a9a){const _0x1e615f=[];_0x36d30a['document']['selection']['on']('change:range',()=>{const _0x3a44a8=getSurroundingMarkers(_0x36d30a,_0x36d30a['document']['selection']['focus']),_0x46369e=[],_0x2d9c27=[],_0x503a36=[];for(const _0x1cb83e of _0x1e615f)_0x3a44a8['includes'](_0x1cb83e)||_0x46369e['push'](_0x1cb83e);for(const _0x123fc8 of _0x3a44a8)_0x1e615f['includes'](_0x123fc8)||_0x2d9c27['push'](_0x123fc8),_0x503a36['push'](_0x123fc8);(_0x46369e['length']||_0x2d9c27['length'])&&_0x308a9a({'left':_0x46369e,'entered':_0x2d9c27}),_0x1e615f['length']=0x0,_0x1e615f['push'](..._0x503a36);});}function getSurroundingMarkers(_0x49f1df,_0x288981){const _0x5d50e7=[];for(const _0x5c99ad of _0x49f1df['markers']){const _0x5d75e7=_0x5c99ad['getRange']();(_0x5d75e7['containsPosition'](_0x288981)||_0x5d75e7['start']['isEqual'](_0x288981)||_0x5d75e7['end']['isEqual'](_0x288981))&&_0x5d50e7['push'](_0x5c99ad);}return _0x5d50e7;}const _0x356a21='Ctrl+Shift+E';function setupThreadKeyboardNavigation(_0x1ef6cf,_0x3409db){const _0x322aba=_0x1ef6cf['element'];_0x1ef6cf['keystrokes']['listenTo'](_0x322aba);for(const _0x51ed7b of _0x3409db)addViewToFocusCyclerNavigation(_0x1ef6cf,_0x51ed7b);_0x3409db['on']('change',(_0x510ea3,_0x5c4702)=>{for(const _0x132f2b of _0x5c4702['removed'])removeViewFromFocusCyclerNavigation(_0x1ef6cf,_0x132f2b);for(const _0x292852 of Array['from'](_0x5c4702['added'])['reverse']())addViewToFocusCyclerNavigation(_0x1ef6cf,_0x292852);}),_0x1ef6cf['keystrokes']['set']('enter',(_0x154d7e,_0x421a99)=>{_0x322aba===_0x154d7e['target']&&(_0x1ef6cf['focusCycler']['focusFirst'](),_0x421a99());},{'filter':_0x44987a=>_0x44987a['target']===_0x322aba}),_0x1ef6cf['keystrokes']['set']('esc',(_0x5bc590,_0x3afcfc)=>{_0x322aba!==_0x5bc590['target']?_0x1ef6cf['focus']():_0x1ef6cf['fire']('escape'),_0x3afcfc();}),_0x1ef6cf['keystrokes']['set']('arrowdown',(_0xa58b75,_0x499224)=>{_0x322aba===_0xa58b75['target']&&(_0x1ef6cf['fire']('arrowdown'),_0x499224());}),_0x1ef6cf['keystrokes']['set']('arrowup',(_0x599346,_0x7caa21)=>{_0x322aba===_0x599346['target']&&(_0x1ef6cf['fire']('arrowup'),_0x7caa21());});}function addViewToFocusCyclerNavigation(_0x38d6c4,_0x9b9b66){_0x9b9b66['isRendered']&&(_0x38d6c4['focusTracker']['add'](_0x9b9b66['element']),_0x38d6c4['keystrokes']['listenTo'](_0x9b9b66['element']),ckeditor5['isViewWithFocusCycler'](_0x9b9b66)&&areFocusCyclerActionsCompatible(_0x38d6c4['focusCycler'],_0x9b9b66['focusCycler'])&&_0x38d6c4['focusCycler']['chain'](_0x9b9b66['focusCycler']));}function removeViewFromFocusCyclerNavigation(_0x1c3ab4,_0x3ce63b){_0x1c3ab4['focusTracker']['remove'](_0x3ce63b['element']),_0x1c3ab4['keystrokes']['stopListening'](_0x3ce63b['element']),ckeditor5['isViewWithFocusCycler'](_0x3ce63b)&&_0x1c3ab4['focusCycler']['unchain'](_0x3ce63b['focusCycler']);}function areFocusCyclerActionsCompatible(_0x541fd5,_0x1e28a0){const _0x285bb7=_0x541fd5['actions'],_0x213c1e=_0x1e28a0['actions'];for(const _0x546291 of Object['keys'](_0x285bb7))if(_0x546291 in _0x213c1e&&_0x285bb7[_0x546291]!==_0x213c1e[_0x546291])return!0x1;return!0x0;}class _0x3cf879{['diff'](_0x49cb1f,_0x31d86b,_0x568f5={}){let _0x7e582a;'function'==typeof _0x568f5?(_0x7e582a=_0x568f5,_0x568f5={}):'callback'in _0x568f5&&(_0x7e582a=_0x568f5['callback']);const _0x242799=this['castInput'](_0x49cb1f,_0x568f5),_0x510136=this['castInput'](_0x31d86b,_0x568f5),_0x59985f=this['removeEmpty'](this['tokenize'](_0x242799,_0x568f5)),_0x4cdc0e=this['removeEmpty'](this['tokenize'](_0x510136,_0x568f5));return this['diffWithOptionsObj'](_0x59985f,_0x4cdc0e,_0x568f5,_0x7e582a);}['diffWithOptionsObj'](_0x410d64,_0x4b116b,_0x199552,_0x1e99be){var _0x540e37;const _0xbc4534=_0x50faf1=>(_0x50faf1=this['postProcess'](_0x50faf1,_0x199552),_0x1e99be?void setTimeout(function(){_0x1e99be(_0x50faf1);},0x0):_0x50faf1),_0x552f47=_0x4b116b['length'],_0x1957d5=_0x410d64['length'];let _0x4189f3=0x1,_0x2bb932=_0x552f47+_0x1957d5;null!=_0x199552['maxEditLength']&&(_0x2bb932=Math['min'](_0x2bb932,_0x199552['maxEditLength']));const _0x34d231=null!==(_0x540e37=_0x199552['timeout'])&&void 0x0!==_0x540e37?_0x540e37:0x1/0x0,_0x3bbb7c=Date['now']()+_0x34d231,_0x113b62=[{'oldPos':-0x1,'lastComponent':void 0x0}];let _0x1d2f24=this['extractCommon'](_0x113b62[0x0],_0x4b116b,_0x410d64,0x0,_0x199552);if(_0x113b62[0x0]['oldPos']+0x1>=_0x1957d5&&_0x1d2f24+0x1>=_0x552f47)return _0xbc4534(this['buildValues'](_0x113b62[0x0]['lastComponent'],_0x4b116b,_0x410d64));let _0x5b2a0f=-0x1/0x0,_0x47fe3e=0x1/0x0;const _0x97399f=()=>{for(let _0x187186=Math['max'](_0x5b2a0f,-_0x4189f3);_0x187186<=Math['min'](_0x47fe3e,_0x4189f3);_0x187186+=0x2){let _0x2b0ce6;const _0x1dd85e=_0x113b62[_0x187186-0x1],_0x5ce82b=_0x113b62[_0x187186+0x1];_0x1dd85e&&(_0x113b62[_0x187186-0x1]=void 0x0);let _0x24e281=!0x1;if(_0x5ce82b){const _0x933352=_0x5ce82b['oldPos']-_0x187186;_0x24e281=_0x5ce82b&&0x0<=_0x933352&&_0x933352<_0x552f47;}const _0x5eec11=_0x1dd85e&&_0x1dd85e['oldPos']+0x1<_0x1957d5;if(_0x24e281||_0x5eec11){if(_0x2b0ce6=!_0x5eec11||_0x24e281&&_0x1dd85e['oldPos']<_0x5ce82b['oldPos']?this['addToPath'](_0x5ce82b,!0x0,!0x1,0x0,_0x199552):this['addToPath'](_0x1dd85e,!0x1,!0x0,0x1,_0x199552),_0x1d2f24=this['extractCommon'](_0x2b0ce6,_0x4b116b,_0x410d64,_0x187186,_0x199552),_0x2b0ce6['oldPos']+0x1>=_0x1957d5&&_0x1d2f24+0x1>=_0x552f47)return _0xbc4534(this['buildValues'](_0x2b0ce6['lastComponent'],_0x4b116b,_0x410d64))||!0x0;_0x113b62[_0x187186]=_0x2b0ce6,_0x2b0ce6['oldPos']+0x1>=_0x1957d5&&(_0x47fe3e=Math['min'](_0x47fe3e,_0x187186-0x1)),_0x1d2f24+0x1>=_0x552f47&&(_0x5b2a0f=Math['max'](_0x5b2a0f,_0x187186+0x1));}else _0x113b62[_0x187186]=void 0x0;}_0x4189f3++;};if(_0x1e99be)!function _0x46e211(){setTimeout(function(){if(_0x4189f3>_0x2bb932||Date['now']()>_0x3bbb7c)return _0x1e99be(void 0x0);_0x97399f()||_0x46e211();},0x0);}();else for(;_0x4189f3<=_0x2bb932&&Date['now']()<=_0x3bbb7c;){const _0x3bdf4b=_0x97399f();if(_0x3bdf4b)return _0x3bdf4b;}}['addToPath'](_0x37a26b,_0x5dccb9,_0x5f5810,_0xff2097,_0x4881bb){const _0x22a39a=_0x37a26b['lastComponent'];return _0x22a39a&&!_0x4881bb['oneChangePerToken']&&_0x22a39a['added']===_0x5dccb9&&_0x22a39a['removed']===_0x5f5810?{'oldPos':_0x37a26b['oldPos']+_0xff2097,'lastComponent':{'count':_0x22a39a['count']+0x1,'added':_0x5dccb9,'removed':_0x5f5810,'previousComponent':_0x22a39a['previousComponent']}}:{'oldPos':_0x37a26b['oldPos']+_0xff2097,'lastComponent':{'count':0x1,'added':_0x5dccb9,'removed':_0x5f5810,'previousComponent':_0x22a39a}};}['extractCommon'](_0x104c0e,_0x368bf2,_0x49a3bc,_0x45c6c5,_0x296610){const _0x41b567=_0x368bf2['length'],_0x4f7425=_0x49a3bc['length'];let _0x2c9461=_0x104c0e['oldPos'],_0x59f957=_0x2c9461-_0x45c6c5,_0x50e66a=0x0;for(;_0x59f957+0x1<_0x41b567&&_0x2c9461+0x1<_0x4f7425&&this['equals'](_0x49a3bc[_0x2c9461+0x1],_0x368bf2[_0x59f957+0x1],_0x296610);)_0x59f957++,_0x2c9461++,_0x50e66a++,_0x296610['oneChangePerToken']&&(_0x104c0e['lastComponent']={'count':0x1,'previousComponent':_0x104c0e['lastComponent'],'added':!0x1,'removed':!0x1});return _0x50e66a&&!_0x296610['oneChangePerToken']&&(_0x104c0e['lastComponent']={'count':_0x50e66a,'previousComponent':_0x104c0e['lastComponent'],'added':!0x1,'removed':!0x1}),_0x104c0e['oldPos']=_0x2c9461,_0x59f957;}['equals'](_0x2ad647,_0xcb980a,_0xd9f2e){return _0xd9f2e['comparator']?_0xd9f2e['comparator'](_0x2ad647,_0xcb980a):_0x2ad647===_0xcb980a||!!_0xd9f2e['ignoreCase']&&_0x2ad647['toLowerCase']()===_0xcb980a['toLowerCase']();}['removeEmpty'](_0x3cfdd1){const _0x3162cd=[];for(let _0x322dab=0x0;_0x322dab<_0x3cfdd1['length'];_0x322dab++)_0x3cfdd1[_0x322dab]&&_0x3162cd['push'](_0x3cfdd1[_0x322dab]);return _0x3162cd;}['castInput'](_0x38bfb2,_0x5827dd){return _0x38bfb2;}['tokenize'](_0x3d06f0,_0x2b8699){return Array['from'](_0x3d06f0);}['join'](_0x2c1299){return _0x2c1299['join']('');}['postProcess'](_0x4fad88,_0x2fe52b){return _0x4fad88;}get['useLongestToken'](){return!0x1;}['buildValues'](_0x1e43c0,_0x4d1ab2,_0x1df7d9){const _0x2248df=[];let _0x2d875b;for(;_0x1e43c0;)_0x2248df['push'](_0x1e43c0),_0x2d875b=_0x1e43c0['previousComponent'],delete _0x1e43c0['previousComponent'],_0x1e43c0=_0x2d875b;_0x2248df['reverse']();const _0x1a3cc0=_0x2248df['length'];let _0x2d1cad=0x0,_0x4e28ff=0x0,_0x1f667e=0x0;for(;_0x2d1cad<_0x1a3cc0;_0x2d1cad++){const _0x19f9ed=_0x2248df[_0x2d1cad];if(_0x19f9ed['removed'])_0x19f9ed['value']=this['join'](_0x1df7d9['slice'](_0x1f667e,_0x1f667e+_0x19f9ed['count'])),_0x1f667e+=_0x19f9ed['count'];else{if(!_0x19f9ed['added']&&this['useLongestToken']){let _0x1b177b=_0x4d1ab2['slice'](_0x4e28ff,_0x4e28ff+_0x19f9ed['count']);_0x1b177b=_0x1b177b['map'](function(_0x39b7b2,_0x3a15b9){const _0xcedd82=_0x1df7d9[_0x1f667e+_0x3a15b9];return _0xcedd82['length']>_0x39b7b2['length']?_0xcedd82:_0x39b7b2;}),_0x19f9ed['value']=this['join'](_0x1b177b);}else _0x19f9ed['value']=this['join'](_0x4d1ab2['slice'](_0x4e28ff,_0x4e28ff+_0x19f9ed['count']));_0x4e28ff+=_0x19f9ed['count'],_0x19f9ed['added']||(_0x1f667e+=_0x19f9ed['count']);}}return _0x2248df;}}class _0x55f638 extends _0x3cf879{['tokenize'](_0x7c2a48){return _0x7c2a48['slice']();}['join'](_0x5ce1e9){return _0x5ce1e9;}['removeEmpty'](_0x121291){return _0x121291;}}const _0x422cd2=new _0x55f638();function _0x4e97eb(_0xbb923a,_0x24711e,_0x5de5fe){return _0x422cd2['diff'](_0xbb923a,_0x24711e,_0x5de5fe);}const _0x323f49='$elementId',_0x3ca67a='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',(_0x58f810,_0x3bf883)=>{_0x3bf883['on']('ready',()=>{this['_integrateEditor'](_0x3bf883);});});}get['editor'](){if(this['context']instanceof ckeditor5['Editor'])return this['context'];{const _0x181a4e=this['context']['editors']['first'];if(!_0x181a4e)throw new ckeditor5['CKEditorError']('documentcompare-no-editor',this);return _0x181a4e;}}['getDiff'](_0x37682a,_0x2bc8b4,_0x1b073d={'anchor':'main','markDeletions':!0x1}){let _0x3ffd63,_0x52a133;const _0x571f97=this['editor'];if('string'==typeof _0x1b073d['anchor']){const _0x10694d=_0x571f97['model']['document']['getRoot'](_0x1b073d['anchor']);if(!_0x10694d)throw new ckeditor5['CKEditorError']('documentcompare-compare-no-root',this,{'anchor':_0x1b073d['anchor']});_0x3ffd63=_0x10694d,_0x52a133=_0x571f97['model']['createPositionAt'](_0x10694d,0x0);}else _0x3ffd63=_0x1b073d['anchor']['clone'](),_0x52a133=_0x1b073d['anchor']['clone']();const _0xd7ee61=_0x571f97['data']['parse'](_0x37682a,_0x3ffd63),_0x44c9e8=_0x571f97['data']['parse'](_0x2bc8b4,_0x3ffd63);return new DocumentDiff(_0xd7ee61,_0x44c9e8,_0x571f97,{'anchor':_0x52a133,'markDeletions':_0x1b073d['markDeletions']});}['isMarkedRemoveOperation'](_0x17883){return'marker'==_0x17883['type']&&_0x17883['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x2defeb){_0x2defeb['conversion']['for']('upcast')['add'](_0x2d0ff6=>{_0x2d0ff6['on']('element',(_0x4fbe5,_0x5c3fc7,_0x56ef08)=>{if(_0x5c3fc7['modelRange'])for(const _0x10b884 of _0x5c3fc7['modelRange']['getItems']({'shallow':!0x0})){if(_0x10b884['is']('$textProxy'))continue;const _0x319f7e=_0x5c3fc7['viewItem']['getAttribute'](_0x3ca67a);_0x319f7e&&_0x56ef08['writer']['setAttribute'](_0x323f49,_0x319f7e,_0x10b884);}},{'priority':'lowest'});}),_0x2defeb['model']['schema']['addAttributeCheck'](()=>!0x0,_0x323f49);}}class DocumentDiff{['_editor'];['_diffItems']=[];['_operationsData']=[];['_markDeletions'];['_anchor'];['_path']=[0x0];['_parents']=[];constructor(_0x33e981,_0x54e1b7,_0x85a7f,_0x566a1a){this['_editor']=_0x85a7f,this['_markDeletions']=!!_0x566a1a['markDeletions'],this['_anchor']=_0x566a1a['anchor'];const _0x87e541=this['_tokenizeModel'](_0x33e981),_0x244d47=this['_tokenizeModel'](_0x54e1b7);this['_diffItems']=this['_diffModelTokens'](_0x87e541,_0x244d47),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x33e981['markers'],_0x54e1b7['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x5d5feb=this['_editor']['model']['document'],_0x5e75fd=[];let _0x418efd=_0x5d5feb['version'];for(const _0x56f83e of this['_operationsData'])switch(_0x56f83e['type']){case'attribute':{const _0x146a02=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x56f83e['path']),_0x5d9424=_0x146a02['getShiftedBy'](_0x56f83e['howMany']),_0x56973c=new ckeditor5['ModelRange'](_0x146a02,_0x5d9424),_0x3f6b14=JSON['parse'](_0x56f83e['oldValue']),_0x58cb40=JSON['parse'](_0x56f83e['newValue']);_0x5e75fd['push'](new ckeditor5['AttributeOperation'](_0x56973c,_0x56f83e['key'],_0x3f6b14,_0x58cb40,_0x418efd++));break;}case'insert':{const _0x12343c=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x56f83e['path']),_0x1ff298=this['_makeModelFromTokens'](_0x56f83e['tokens']);_0x5e75fd['push'](new ckeditor5['InsertOperation'](_0x12343c,_0x1ff298,_0x418efd++));break;}case'remove':{const _0x495db9=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x56f83e['path']),_0x4bae7e=new ckeditor5['ModelPosition'](_0x5d5feb['graveyard'],[0x0]);_0x5e75fd['push'](new ckeditor5['MoveOperation'](_0x495db9,_0x56f83e['howMany'],_0x4bae7e,_0x418efd++));break;}case'rename':{const _0x12d52b=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x56f83e['path']);_0x5e75fd['push'](new ckeditor5['RenameOperation'](_0x12d52b,_0x56f83e['oldName'],_0x56f83e['newName'],_0x418efd++));break;}case'split':{const _0x4dc932=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x56f83e['path']),_0x242892=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x56f83e['path']['slice'](0x0,-0x1));_0x242892['offset']++,_0x5e75fd['push'](new ckeditor5['SplitOperation'](_0x4dc932,Number['NEGATIVE_INFINITY'],_0x242892,null,_0x418efd++));break;}case'merge':{const _0x41b546=_0x56f83e['path']['slice'](),_0x4bb9ab=_0x41b546['slice'](0x0,-0x1);_0x4bb9ab[_0x4bb9ab['length']-0x1]++,_0x4bb9ab['push'](0x0);const _0x8fd243=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4bb9ab),_0x22ab31=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x41b546),_0x1ae166=new ckeditor5['ModelPosition'](_0x5d5feb['graveyard'],[0x0]);_0x5e75fd['push'](new ckeditor5['MergeOperation'](_0x8fd243,Number['NEGATIVE_INFINITY'],_0x22ab31,_0x1ae166,_0x418efd++));break;}case'marker':case'markedRemove':{let _0x32ed2a=null;if(_0x56f83e['range']){const _0x1ba0d4=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x56f83e['range']['start']),_0x292857=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x56f83e['range']['end']);_0x32ed2a=new ckeditor5['ModelRange'](_0x1ba0d4,_0x292857);}const _0x142746='marker'==_0x56f83e['type']?_0x56f83e['name']:'$markedRemove:'+ckeditor5['uid']();_0x5e75fd['push'](new ckeditor5['MarkerOperation'](_0x142746,null,_0x32ed2a,_0x5d5feb['model']['markers'],!0x0,_0x418efd++));break;}case'unwrap':{const _0x246a25=_0x56f83e['path']['slice']();_0x246a25['push'](0x0);const _0x199a18=_0x56f83e['path']['slice'](),_0x474b31=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x246a25),_0x198e7b=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x199a18),_0x56ec33=new ckeditor5['ModelPosition'](_0x5d5feb['graveyard'],[0x0]);_0x5e75fd['push'](new ckeditor5['MoveOperation'](_0x474b31,_0x56f83e['howMany'],_0x198e7b,_0x418efd++)),_0x5e75fd['push'](new ckeditor5['MoveOperation'](_0x198e7b['getShiftedBy'](_0x56f83e['howMany']),0x1,_0x56ec33,_0x418efd++));break;}case'wrap':{const _0x5e5766=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x56f83e['range']['start']),_0x307d25=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x56f83e['range']['end']),_0xb1ad8=_0x56f83e['token']['element']['_clone'](!0x1),_0x26dd43=_0x56f83e['range']['end']['slice']();_0x26dd43['push'](0x0);const _0x53d05e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x26dd43);_0x5e75fd['push'](new ckeditor5['InsertOperation'](_0x307d25,_0xb1ad8,_0x418efd++)),_0x5e75fd['push'](new ckeditor5['MoveOperation'](_0x5e5766,_0x307d25['offset']-_0x5e5766['offset'],_0x53d05e,_0x418efd++));break;}}return _0x5e75fd;}['_tokenizeModel'](_0x37af12){const _0x3e63ff=[],_0x641078=ckeditor5['ModelRange']['_createIn'](_0x37af12),_0x3e9e53=new ckeditor5['ModelTreeWalker']({'boundaries':_0x641078});let _0xf049b3='',_0x575da8=null;const _0x258d34=[''],_0x3cdbf7=new Map();for(const _0x2f4525 of _0x3e9e53)if('elementStart'==_0x2f4525['type']||'elementEnd'==_0x2f4525['type']){let _0x4fb78c=_0x258d34[0x0];''!==_0xf049b3&&(_0x3e63ff['push'](...this['_makeTokensFromTextByWords'](_0xf049b3,_0x575da8,_0x4fb78c)),_0xf049b3='');const _0x50840=_0x2f4525['item'];let _0x59ea00;_0x50840['getAttribute'](_0x323f49)?_0x59ea00=_0x50840['getAttribute'](_0x323f49):'elementStart'==_0x2f4525['type']?(_0x59ea00=makeUidForElement(_0x50840),_0x3cdbf7['set'](_0x50840,_0x59ea00)):_0x59ea00=_0x3cdbf7['get'](_0x50840);const _0x56cc3b=this['_getElementCategory'](_0x50840);'solid'==_0x56cc3b&&('elementStart'==_0x2f4525['type']?(_0x4fb78c=_0x59ea00,_0x258d34['unshift'](_0x4fb78c)):_0x258d34['shift']());const _0x8e4e27={'type':'element','element':_0x50840,'elementId':_0x59ea00,'category':_0x56cc3b,'isStart':'elementStart'==_0x2f4525['type'],'limitId':_0x4fb78c};_0x3e63ff['push'](_0x8e4e27);}else''==_0xf049b3&&(_0x575da8=_0x2f4525['previousPosition']['clone']()),_0xf049b3+=_0x2f4525['item']['data'];return''!==_0xf049b3&&_0x3e63ff['push'](...this['_makeTokensFromTextByWords'](_0xf049b3,_0x575da8,_0x258d34[0x0])),_0x3e63ff;}['_makeTokensFromTextByWords'](_0x44a475,_0x310f2a,_0x4b23dc){const _0x26e3ba=_0x44a475['matchAll'](/(\s)/g),_0xfc5355=Array['from'](_0x26e3ba)['map'](_0x501218=>_0x501218['index']);_0xfc5355['push'](_0x44a475['length']),0x0==_0xfc5355[0x0]&&_0xfc5355['shift']();const _0x46ee42=[],_0x564e7e=_0x310f2a['parent'];let _0x4166aa=0x0,_0x7032dd=_0x310f2a['offset'];for(let _0x4cb2b9=0x0;_0x4cb2b9<_0xfc5355['length'];_0x4cb2b9++)_0x46ee42['push']({'type':'text','data':_0x44a475['slice'](_0x4166aa,_0xfc5355[_0x4cb2b9]),'parent':_0x564e7e,'offset':_0x7032dd,'limitId':_0x4b23dc}),_0x4166aa=_0xfc5355[_0x4cb2b9],_0x7032dd=_0x310f2a['offset']+_0xfc5355[_0x4cb2b9];return _0x46ee42;}['_getElementCategory'](_0x578a07){const _0x37e5b1=this['_editor']['model']['schema'];return _0x37e5b1['isLimit'](_0x578a07)||_0x37e5b1['isContent'](_0x578a07)||_0x37e5b1['isInline'](_0x578a07)?'solid':_0x37e5b1['isBlock'](_0x578a07)?'block':'container';}['_diffModelTokens'](_0x34c228,_0x47c79f){const _0x42ef36=_0x4e97eb(_0x34c228,_0x47c79f,{'comparator':_0x3acf60});this['_handleUnclosedBlockOpeningTags'](_0x42ef36);const _0x5ee573=_0x42ef36['flatMap'](_0x4dec13=>{const _0x3697df=_0x4dec13['added']?'added':_0x4dec13['removed']?'removed':'unchanged';return _0x4dec13['value']['map'](_0x425ab5=>({'token':_0x425ab5,'change':_0x3697df}));});let _0x41f185=0x0;for(const _0x1296f5 of _0x5ee573)'added'!=_0x1296f5['change']&&('unchanged'==_0x1296f5['change']&&(_0x1296f5['before']=_0x34c228[_0x41f185]),_0x41f185++);return _0x5ee573;}['_handleUnclosedBlockOpeningTags'](_0x55934a){for(let _0x3440ff=0x0;_0x3440ff<_0x55934a['length']-0x1;_0x3440ff++)if(_0x55934a[_0x3440ff]['removed']&&_0x55934a[_0x3440ff+0x1]['added']){const _0x4949a3=this['_findUnclosedBlockOpeningToken'](_0x55934a[_0x3440ff]['value']);if(null!==_0x4949a3){const _0x3dc9cb=this['_findUnclosedBlockOpeningToken'](_0x55934a[_0x3440ff+0x1]['value']),_0x58ec5e=_0x55934a[_0x3440ff]['value']['splice'](_0x4949a3),_0x198336=_0x55934a[_0x3440ff+0x1]['value']['splice'](_0x3dc9cb),_0x21de25=[_0x198336['shift']()];_0x58ec5e['shift']();const _0x4ccf2c={'value':_0x58ec5e,'removed':!0x0},_0x4eb938={'value':_0x198336,'added':!0x0},_0x542f36={'value':_0x21de25};_0x55934a['splice'](_0x3440ff+0x2,0x0,_0x542f36,_0x4ccf2c,_0x4eb938);}}}['_findUnclosedBlockOpeningToken'](_0x1b164b){let _0x454fe2=0x0,_0x3e2a4a=-0x1;for(let _0x2affac=0x0;_0x2affac<_0x1b164b['length'];_0x2affac++){const _0x764081=_0x1b164b[_0x2affac];'element'==_0x764081['type']&&'block'==_0x764081['category']&&(_0x454fe2+=_0x764081['isStart']?0x1:-0x1,_0x764081['isStart']&&(_0x3e2a4a=_0x2affac));}return 0x0===_0x454fe2?null:_0x3e2a4a;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x4f9a93=0x0;_0x4f9a93<this['_diffItems']['length'];_0x4f9a93++){const _0x314236=this['_diffItems'][_0x4f9a93]['change'],_0x27aefb=[];_0x27aefb['push'](this['_diffItems'][_0x4f9a93]);let _0x41b454=_0x4f9a93+0x1;for(;this['_diffItems'][_0x41b454]&&this['_diffItems'][_0x41b454]['change']==_0x314236;)_0x27aefb['push'](this['_diffItems'][_0x41b454]),_0x41b454++,_0x4f9a93++;const _0x532c89=_0x27aefb['map'](_0x481cda=>_0x481cda['token']);if('unchanged'==_0x314236)_0x27aefb['map'](_0x372781=>_0x372781['before'])['forEach'](_0x4cdc07=>this['_traverseOverItem'](_0x4cdc07));else{if('removed'==_0x314236){if(this['_markDeletions']){const _0xf4b8d5=this['_path']['slice']();_0x532c89['forEach'](_0x2b397b=>this['_traverseOverItem'](_0x2b397b));const _0x5b85c3=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0xf4b8d5,'end':_0x5b85c3}});}else this['_handleChanged'](_0x532c89,!0x0,this['_path']['slice']());}else{const _0x37ae29=_0x532c89['filter'](_0x1c9b0c=>'element'!=_0x1c9b0c['type']||'container'!=_0x1c9b0c['category']);this['_handleChanged'](_0x37ae29,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x4bc39e=0x0;_0x4bc39e<this['_diffItems']['length'];_0x4bc39e++){const _0x563df2=this['_diffItems'][_0x4bc39e]['change'],_0x4fc0a1=[];_0x4fc0a1['push'](this['_diffItems'][_0x4bc39e]);let _0x50ae44=_0x4bc39e+0x1;for(;this['_diffItems'][_0x50ae44]&&this['_diffItems'][_0x50ae44]['change']==_0x563df2;)_0x4fc0a1['push'](this['_diffItems'][_0x50ae44]),_0x50ae44++,_0x4bc39e++;const _0x49679b=_0x4fc0a1['map'](_0x901bf6=>_0x901bf6['token']);if('unchanged'==_0x563df2){const _0x1ea27f=_0x4fc0a1['map'](_0x4bdf34=>_0x4bdf34['before']);this['_handleUnchanged'](_0x1ea27f,_0x49679b);}else('removed'!=_0x563df2||this['_markDeletions'])&&_0x49679b['forEach'](_0x10bcad=>{this['_traverseOverItem'](_0x10bcad);});}}['_calculateMarkersOperationsData'](_0x46d20b,_0x34ea66){const _0x5232f4={};for(const [_0x160664]of _0x46d20b)_0x5232f4[_0x160664]=null;for(const [_0x57614a,_0x46d2ee]of _0x34ea66)_0x5232f4[_0x57614a]=_0x46d2ee;const _0x1fad35=Object['entries'](_0x5232f4)['map'](([_0xfb681e,_0x4e5855])=>({'type':'marker','name':_0xfb681e,'range':_0x4e5855?{'start':_0x4e5855['start']['path']['slice'](),'end':_0x4e5855['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x1fad35);}['_handleUnwraps'](){const _0x357052=new Map(),_0x1e5f32=[],_0x56c8f6=[0x0];let _0x5ae29e=this['_diffItems']['length']+0x1;for(let _0x493269=this['_diffItems']['length']-0x1;_0x493269>=0x0;_0x493269--){const {token:_0x25bc05,before:_0x217d34,change:_0x1fb392}=this['_diffItems'][_0x493269];if('removed'!=_0x1fb392&&(_0x5ae29e=_0x493269),'element'!=_0x25bc05['type']||'container'!=_0x25bc05['category']||'added'==_0x1fb392)continue;const _0x408ad4=_0x217d34?_0x217d34['element']:_0x25bc05['element'];if(_0x25bc05['isStart']){const _0x4d9520=_0x357052['get'](_0x408ad4),_0x3917a5=this['_diffItems'][_0x4d9520];('removed'==_0x1fb392||'removed'==_0x3917a5['change'])&&_0x5ae29e<_0x4d9520&&(this['_operationsData']['push']({'type':'unwrap','path':_0x408ad4['getPath'](),'howMany':_0x408ad4['maxOffset']+_0x56c8f6[0x0]}),_0x56c8f6['shift'](),_0x56c8f6[0x0]+=_0x408ad4['maxOffset']-0x1,_0x1e5f32['push'](_0x493269),_0x1e5f32['push'](_0x4d9520));}else _0x357052['set'](_0x408ad4,_0x493269),_0x56c8f6['unshift'](0x0);}_0x1e5f32['sort']((_0x1aa9a1,_0x2db934)=>_0x2db934-_0x1aa9a1),_0x1e5f32['forEach'](_0xc1a97c=>{const _0x2252dc=this['_diffItems'][_0xc1a97c];'removed'==_0x2252dc['change']?this['_diffItems']['splice'](_0xc1a97c,0x1):(_0x2252dc['change']='added',delete _0x2252dc['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x18fa48=[];for(let _0x47621b=0x0;_0x47621b<this['_diffItems']['length'];_0x47621b++){const {change:_0x3ba8ed,token:_0x2317e9}=this['_diffItems'][_0x47621b];if('added'==_0x3ba8ed&&'element'==_0x2317e9['type']&&'container'==_0x2317e9['category']){if(_0x2317e9['isStart'])_0x18fa48['push'](this['_path']['slice']());else{if(!_0x2317e9['isStart']){const _0x53e7f5=_0x18fa48['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x53e7f5,'end':this['_path']['slice']()},'token':_0x2317e9}),this['_path'][this['_path']['length']-0x1]=_0x53e7f5[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x3ba8ed||this['_markDeletions'])&&this['_traverseOverItem'](_0x2317e9);}}['_handleUnchanged'](_0x1cb8f4,_0x57d2fb){for(let _0x120cc3=0x0;_0x120cc3<_0x1cb8f4['length'];_0x120cc3++){const _0x570514=_0x1cb8f4[_0x120cc3];if('element'==_0x570514['type']&&_0x570514['isStart']){const _0x4a4391=_0x57d2fb[_0x120cc3];'block'==_0x570514['category']&&this['_handleElementRename'](_0x570514['element'],_0x4a4391['element'],this['_path']),this['_handleElementAttributeChanges'](_0x570514['element'],_0x4a4391['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x4a4391);}else{if('element'!=_0x570514['type']||_0x570514['isStart']){if('text'==_0x570514['type']){const _0x3b46a8=this['_path']['slice'](),_0x4d621e=[],_0xd869f4=[];for(;_0x1cb8f4[_0x120cc3]&&'text'==_0x1cb8f4[_0x120cc3]['type'];)_0x4d621e['push'](_0x1cb8f4[_0x120cc3]),_0xd869f4['push'](_0x57d2fb[_0x120cc3]),this['_path'][this['_path']['length']-0x1]+=_0x1cb8f4[_0x120cc3]['data']['length'],_0x120cc3++;_0x120cc3--,this['_handleTextAttributeChanges'](_0x4d621e,_0xd869f4,_0x3b46a8);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x56c79b,_0x4e41a5,_0x22241b){const _0x41278b=[],_0x4123f7=[],_0x399ba5=_0x22241b['slice']();for(let _0x127a64=0x0;_0x127a64<_0x56c79b['length'];_0x127a64++){const _0x144129=_0x56c79b[_0x127a64],_0x2e0165=_0x22241b['slice']();if('element'!=_0x144129['type']||_0x144129['isStart'])'element'==_0x144129['type']&&_0x144129['isStart']?(_0x22241b['push'](0x0),_0x4e41a5||this['_parents']['push'](_0x144129),_0x4123f7['push']({'before':_0x2e0165,'after':_0x22241b['slice'](),'index':_0x127a64})):_0x22241b[_0x22241b['length']-0x1]+=_0x144129['data']['length'];else{let _0x3b74f8;_0x22241b['pop'](),_0x22241b[_0x22241b['length']-0x1]++,_0x3b74f8=_0x4e41a5?this['_parents'][this['_parents']['length']-0x1]:this['_parents']['pop'](),_0x4123f7['length']?_0x4123f7['pop']():_0x41278b['push']({'before':_0x2e0165,'after':_0x22241b['slice'](),'index':_0x127a64,'related':_0x3b74f8});}}if(_0x4123f7['length']!==_0x41278b['length'])throw new ckeditor5['CKEditorError']('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x56c79b,'isRemove':_0x4e41a5});const _0xa3a4d1=[{'after':_0x399ba5['slice'](),'index':-0x1},..._0x41278b,..._0x4123f7,{'before':_0x22241b['slice'](),'index':_0x56c79b['length']}];if(_0x4e41a5){for(let _0x3717d9=_0xa3a4d1['length']-0x1;_0x3717d9>=0x1;_0x3717d9--){const _0x5ed24e=_0xa3a4d1[_0x3717d9-0x1]['after'],_0x4be98=_0xa3a4d1[_0x3717d9]['before'],_0x240677=_0x4be98[_0x4be98['length']-0x1]-_0x5ed24e[_0x5ed24e['length']-0x1];_0x240677&&(this['_operationsData']['push']({'type':'remove','path':_0x5ed24e,'howMany':_0x240677}),_0x4be98[_0x4be98['length']-0x1]-=_0x240677);}for(const {before:_0x38ff2a}of _0x41278b)this['_operationsData']['push']({'type':'merge','path':_0x38ff2a});}else for(let _0x4d58bc=0x0;_0x4d58bc<_0xa3a4d1['length']-0x1;_0x4d58bc++){const _0x27b0cf=_0xa3a4d1[_0x4d58bc]['after'],_0x2db50c=_0xa3a4d1[_0x4d58bc+0x1]['before'],_0x361769=_0xa3a4d1[_0x4d58bc]['index']+0x1,_0x4e5dac=_0xa3a4d1[_0x4d58bc+0x1]['index'];if(_0x361769!==_0x4e5dac&&this['_operationsData']['push']({'type':'insert','path':_0x27b0cf,'tokens':_0x56c79b['slice'](_0x361769,_0x4e5dac)}),_0x4d58bc<_0x41278b['length']){this['_operationsData']['push']({'type':'split','path':_0x2db50c});const _0x5d4421=_0x56c79b[_0x4123f7[_0x4123f7['length']-0x1-_0x4d58bc]['index']],_0x51ea3f=_0x41278b[_0x4d58bc]['after'],_0x2fe9a3=_0x41278b[_0x4d58bc]['related']['element'];this['_handleElementRename'](_0x2fe9a3,_0x5d4421['element'],_0x51ea3f),this['_handleElementAttributeChanges'](_0x2fe9a3,_0x5d4421['element'],_0x51ea3f);}}}['_traverseOverItem'](_0x3a2daf){'element'==_0x3a2daf['type']&&_0x3a2daf['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x3a2daf)):'element'!=_0x3a2daf['type']||_0x3a2daf['isStart']?'text'==_0x3a2daf['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x3a2daf['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x33e824,_0x21ca12,_0x4f3202){_0x33e824['name']!=_0x21ca12['name']&&this['_operationsData']['push']({'type':'rename','path':_0x4f3202['slice'](),'oldName':_0x33e824['name'],'newName':_0x21ca12['name']});}['_handleElementAttributeChanges'](_0x2ea5c7,_0x23d3cd,_0x5c5e8f){const _0x2beea0=this['_getAttributeChanges'](_0x2ea5c7['getAttributes'](),_0x23d3cd['getAttributes']());for(const _0x386699 in _0x2beea0){const {oldValue:_0x4a6373,newValue:_0x42e07c}=_0x2beea0[_0x386699];this['_operationsData']['push']({'type':'attribute','path':_0x5c5e8f['slice'](),'howMany':0x1,'key':_0x386699,'oldValue':_0x4a6373,'newValue':_0x42e07c});}}['_handleTextAttributeChanges'](_0x1a99b7,_0x2b9a78,_0x2a312d){const _0x15450b=this['_operationsData'],_0xe1bbc=_0x1a99b7[0x0]['parent'],_0xf01429=_0x1a99b7[0x0]['offset'],_0x47dec5=_0x2b9a78[0x0]['parent'],_0x5820ce=_0x2b9a78[0x0]['offset'],_0x48dbe2=_0x1a99b7['reduce']((_0x24d292,_0x576e65)=>_0x24d292+_0x576e65['data']['length'],0x0),_0xdbfec4=this['_getAttrsForOffsets'](_0xe1bbc,_0xf01429,_0x48dbe2),_0x533ad8=this['_getAttrsForOffsets'](_0x47dec5,_0x5820ce,_0x48dbe2),_0x55433a={};for(let _0x48a619=0x0;_0x48a619<_0x48dbe2;_0x48a619++){const _0x429ba7=_0xdbfec4[_0xf01429+_0x48a619],_0x56a322=_0x533ad8[_0x5820ce+_0x48a619],_0x2d6e44=this['_getAttributeChanges'](_0x429ba7,_0x56a322);for(const _0x5cf16c in _0x55433a)_0x2d6e44[_0x5cf16c]||_0x1ce27d(_0x5cf16c);for(const _0x2a5686 in _0x2d6e44){const {oldValue:_0x4053bc,newValue:_0x85d307}=_0x2d6e44[_0x2a5686],_0x1d654f=_0x55433a[_0x2a5686];_0x1d654f?_0x1d654f['oldValue']==_0x4053bc&&_0x1d654f['newValue']==_0x85d307?_0x1d654f['length']++:(_0x1ce27d(_0x2a5686),_0x55433a[_0x2a5686]={'oldValue':_0x4053bc,'newValue':_0x85d307,'start':_0x48a619,'length':0x1}):_0x55433a[_0x2a5686]={'oldValue':_0x4053bc,'newValue':_0x85d307,'start':_0x48a619,'length':0x1};}}for(const _0x1ed565 in _0x55433a)_0x1ce27d(_0x1ed565);function _0x1ce27d(_0x2ce969){const _0xc3042a=_0x55433a[_0x2ce969],_0x9dff95=_0x2a312d['slice']();_0x9dff95[_0x9dff95['length']-0x1]+=_0xc3042a['start'],_0x15450b['push']({'type':'attribute','path':_0x9dff95,'howMany':_0xc3042a['length'],'key':_0x2ce969,'oldValue':_0xc3042a['oldValue'],'newValue':_0xc3042a['newValue']}),delete _0x55433a[_0x2ce969];}}['_getAttributeChanges'](_0x5d8e7e,_0x5798a1){const _0x1866ae={};for(const [_0x45586b,_0x284f01]of _0x5d8e7e)_0x1866ae[_0x45586b]={'oldValue':JSON['stringify'](_0x284f01),'newValue':'null'};for(const [_0x5defeb,_0x1faf48]of _0x5798a1){const _0xa22c0d=JSON['stringify'](_0x1faf48);_0x1866ae[_0x5defeb]?_0x1866ae[_0x5defeb]['oldValue']==_0xa22c0d?delete _0x1866ae[_0x5defeb]:_0x1866ae[_0x5defeb]['newValue']=_0xa22c0d:_0x1866ae[_0x5defeb]={'oldValue':'null','newValue':_0xa22c0d};}return delete _0x1866ae[_0x323f49],_0x1866ae;}['_getAttrsForOffsets'](_0x2f700a,_0x30bd18,_0x4c1abb){const _0x2b1ab6=new Array(_0x30bd18+_0x4c1abb);let _0x464f87=_0x2f700a['getChildAtOffset'](_0x30bd18),_0x41aac9=_0x464f87['startOffset'];for(;_0x464f87&&_0x41aac9<_0x30bd18+_0x4c1abb;){const _0x437135=Array['from'](_0x464f87['getAttributes']());_0x2b1ab6['fill'](_0x437135,_0x41aac9,_0x41aac9+_0x464f87['offsetSize']),_0x41aac9+=_0x464f87['offsetSize'],_0x464f87=_0x464f87['nextSibling'];}return _0x2b1ab6;}['_getPositionFromAnchorAndPath'](_0x23718a,_0x5550e5){const _0x1ca5b7=[..._0x23718a['path']['slice'](0x0,-0x1),_0x23718a['offset']+_0x5550e5[0x0],..._0x5550e5['slice'](0x1)];return new ckeditor5['ModelPosition'](_0x23718a['root'],_0x1ca5b7);}['_makeModelFromTokens'](_0x43b729){const _0x25a47a=[];let _0x10a247=null;for(const _0x3fcf42 of _0x43b729)if('element'!=_0x3fcf42['type']||_0x3fcf42['isStart']||_0x10a247!=_0x3fcf42['element']){if(!_0x10a247){if('text'==_0x3fcf42['type']){const _0x1b2eb6=ckeditor5['ModelPosition']['_createAt'](_0x3fcf42['parent'],_0x3fcf42['offset']),_0x255e3d=ckeditor5['ModelRange']['_createFromPositionAndShift'](_0x1b2eb6,_0x3fcf42['data']['length']),_0x5102ac=Array['from'](_0x255e3d['getItems']())['map'](_0xa47abd=>new ckeditor5['ModelText'](_0xa47abd['data'],_0xa47abd['getAttributes']()));_0x25a47a['push'](..._0x5102ac);}else{_0x10a247=_0x3fcf42['element'];const _0xdaba40=_0x3fcf42['element']['_clone'](!0x0);_0xdaba40['_removeAttribute'](_0x323f49);for(const _0x1cd5b2 of this['_editor']['model']['createRangeIn'](_0xdaba40)['getItems']())_0x1cd5b2['is']('element')&&_0x1cd5b2['_removeAttribute'](_0x323f49);_0x25a47a['push'](_0xdaba40);}}}else _0x10a247=null;return _0x25a47a;}}function _0x3acf60(_0x1f9140,_0x57bb1c){return _0x1f9140['type']===_0x57bb1c['type']&&(_0x1f9140['limitId']===_0x57bb1c['limitId']&&('text'==_0x1f9140['type']?_0x1f9140['data']==_0x57bb1c['data']:compareModelElementTokens(_0x1f9140,_0x57bb1c)));}function compareModelElementTokens(_0x402ef5,_0x10ab1d){return _0x402ef5['isStart']==_0x10ab1d['isStart']&&((!_0x402ef5['isStart']||_0x402ef5['elementId']==_0x10ab1d['elementId'])&&(_0x402ef5['category']==_0x10ab1d['category']&&('block'==_0x402ef5['category']||('container'!=_0x402ef5['category']||_0x402ef5['elementId']==_0x10ab1d['elementId'])&&_0x402ef5['element']['name']==_0x10ab1d['element']['name'])));}function makeUidForElement(_0x58d174){return hashObject({'name':_0x58d174['name'],...Object['fromEntries'](_0x58d174['getAttributes']())});}function getSuggestionPartsFromReply({editor:_0x301e9b,changeGroups:_0x4ea20c,documentContextContent:_0xabdd92,showDiff:_0x860622,trimUnchanged:_0x5174fb=!0x0}){return _0x4ea20c['map'](_0x547237=>{const _0x1ad004=new Document([]),_0xf592cc=new Document([]);for(const _0x17ae38 of _0x547237['changes'])if(_0x860622&&'removed'==_0x17ae38['type']||_0xf592cc['children']['push'](_0x17ae38['node']['cloneNode'](!0x0)),'new'!=_0x17ae38['type']&&(_0x860622||'removed'!=_0x17ae38['type'])){const _0x92dade=_0x8bbd72(_0x316e9d=>getAttribute(_0x316e9d,'data-id')==_0x17ae38['id'],_0xabdd92,!0x0);_0x92dade&&_0x1ad004['children']['push'](_0x92dade['cloneNode'](!0x0));}const {content:_0x4ed326,hasChanges:_0x299680}=passThroughEditorDataPipeline(_0x301e9b,_0x1ad004,_0xf592cc,_0x860622,_0x5174fb);return{'type':_0x547237['changes'][0x0]['type'],'index':_0x547237['index'],'content':_0x4ed326,'hasChanges':_0x299680};});}function passThroughEditorDataPipeline(_0x1cfdcd,_0x34707f,_0x3148d0,_0x3b5e96,_0x10ec29=!0x0){const _0x3dcaf2=_0x1cfdcd['plugins']['get']('DocumentCompare'),_0x4c9203=_0x124bee(_0x34707f),_0x4fc42d=_0x124bee(_0x3148d0),_0x201669=_0x1cfdcd['data']['parse'](_0x4c9203,'$root'),_0x3bbf52=_0x1cfdcd['model']['createPositionAt'](_0x201669,0x0),_0x263a4b=_0x3dcaf2['getDiff'](_0x4c9203,_0x4fc42d,{'anchor':_0x3bbf52,'markDeletions':_0x3b5e96})['getOperations']();if(0x0==_0x263a4b['length'])return{'content':_0x34707f['cloneNode'](!0x0),'hasChanges':!0x1};if(_0x3b5e96?applyOperationsAndDiffMarkers(_0x263a4b,_0x201669,_0x1cfdcd):_0x1cfdcd['model']['change'](_0x511835=>{for(const _0x4ee4d0 of _0x263a4b)if('remove'==_0x4ee4d0['type']){const _0x3e052e=_0x4ee4d0['sourcePosition'],_0x42a060=_0x4ee4d0['howMany'],_0x1fd7f3=new ckeditor5['_DetachOperation'](_0x3e052e,_0x42a060);_0x511835['batch']['addOperation'](_0x1fd7f3),_0x1cfdcd['model']['applyOperation'](_0x1fd7f3);}else{if('marker'==_0x4ee4d0['type']){const _0x24320d=_0x4ee4d0['name'],_0xded992=_0x4ee4d0['newRange'];null!==_0xded992?_0x201669['markers']['set'](_0x24320d,_0xded992):_0x201669['markers']['delete'](_0x24320d);}else _0x4ee4d0['baseVersion']=null,_0x4ee4d0['isDocumentOperation']=!0x1,_0x511835['batch']['addOperation'](_0x4ee4d0),_0x1cfdcd['model']['applyOperation'](_0x4ee4d0);}}),_0x10ec29){const _0x51feb8=getMinimalSelection(_0x1cfdcd,_0x263a4b,_0x201669);expandSelectionWithContext(_0x1cfdcd['model'],_0x51feb8),shrinkFragmentToSelection(_0x1cfdcd['model'],_0x51feb8);}return{'content':_0x36db76(_0x1cfdcd['data']['stringify'](_0x201669,{'showSuggestionHighlights':!0x0})),'hasChanges':!0x0};}function applyOperationsAndDiffMarkers(_0x164242,_0x5d9fb4,_0x511f29){if(0x0==_0x164242['length'])return;const _0x5afedf=_0x511f29['plugins']['get']('DocumentCompare'),_0x5bbf33=_0x511f29['plugins']['get']('SuggestionsConversion');_0x511f29['model']['change'](_0x2f010b=>{const _0x262d61=new Set();for(let _0x52ee90=0x0;_0x52ee90<_0x164242['length'];_0x52ee90++){const _0x49090f=_0x164242[_0x52ee90];if(_0x49090f['baseVersion']=null,_0x49090f['isDocumentOperation']=!0x1,_0x5afedf['isMarkedRemoveOperation'](_0x49090f)){const _0x4bc7c9=fixElementSuggestionRange(_0x49090f['newRange'],_0x511f29['model']),_0x326332='suggestion:deletion:'+ckeditor5['uid']()+':$aiSuggestion';_0x5d9fb4['markers']['set'](_0x326332,_0x4bc7c9);}else switch(_0x49090f['type']){case'rename':{if(_0x49090f['oldName']==_0x49090f['newName'])break;_0x2f010b['batch']['addOperation'](_0x49090f),_0x511f29['model']['applyOperation'](_0x49090f);const _0x4b7c44='$elementName',_0x5124d3=_0x49090f['position'],_0x168949=_0x511f29['model']['createRange'](_0x5124d3,_0x511f29['model']['createPositionAt'](_0x5124d3['nodeAfter'],'end')),_0x4b1e64='suggestion:attribute:'+_0x4b7c44+':'+ckeditor5['uid']()+':$aiSuggestion';_0x5d9fb4['markers']['set'](_0x4b1e64,_0x168949);break;}case'addAttribute':case'removeAttribute':case'changeAttribute':{if(_0x49090f['oldValue']==_0x49090f['newValue'])break;_0x2f010b['batch']['addOperation'](_0x49090f),_0x511f29['model']['applyOperation'](_0x49090f);const _0x5be837=_0x49090f['key'];if(!_0x5bbf33['isRegisteredAttribute'](_0x5be837))break;const _0xeca92=fixElementSuggestionRange(_0x49090f['range'],_0x511f29['model']),_0xd53cf0='suggestion:attribute:'+_0x5be837+':'+ckeditor5['uid']()+':$aiSuggestion';_0x5d9fb4['markers']['set'](_0xd53cf0,_0xeca92);break;}case'insert':{_0x2f010b['batch']['addOperation'](_0x49090f),_0x511f29['model']['applyOperation'](_0x49090f);if(_0x164242[_0x52ee90+0x1]&&'move'==_0x164242[_0x52ee90+0x1]['type']){transformMarkers(_0x5d9fb4,_0x49090f);break;}const _0x342d3a=_0x49090f['position'],_0x3f6c0b=_0x49090f['howMany'],_0x3212fd=fixElementSuggestionRange(_0x511f29['model']['createRange'](_0x342d3a,_0x342d3a['getShiftedBy'](_0x3f6c0b)),_0x511f29['model']),_0x3ac525='suggestion:insertion:'+ckeditor5['uid']()+':$aiSuggestion';_0x5d9fb4['markers']['set'](_0x3ac525,_0x3212fd);break;}case'split':{_0x2f010b['batch']['addOperation'](_0x49090f),_0x511f29['model']['applyOperation'](_0x49090f);const _0x5c3c8d=_0x49090f['splitPosition'],_0x1bcbb2=_0x49090f['moveTargetPosition'],_0x2ae53f=_0x511f29['model']['createRange'](_0x5c3c8d,_0x1bcbb2),_0x21d907='suggestion:insertion:'+ckeditor5['uid']()+':$aiSuggestion';_0x5d9fb4['markers']['set'](_0x21d907,_0x2ae53f);break;}case'move':{_0x2f010b['batch']['addOperation'](_0x49090f),_0x511f29['model']['applyOperation'](_0x49090f),_0x164242[_0x52ee90-0x1]&&'insert'==_0x164242[_0x52ee90-0x1]['type']&&transformMarkers(_0x5d9fb4,_0x49090f);const _0x7c461f=_0x49090f['getMovedRangeStart'](),_0x5e2d8d=_0x49090f['howMany'];for(let _0x3d78b0=0x0;_0x3d78b0<_0x5e2d8d;_0x3d78b0++){const _0x5f553d=_0x7c461f['getShiftedBy'](_0x3d78b0)['nodeAfter'];_0x262d61['add'](_0x5f553d);}break;}case'remove':{const _0x3716f4=_0x49090f['sourcePosition'],_0x57a845=_0x49090f['howMany'],_0x2e1eb3=new ckeditor5['_DetachOperation'](_0x3716f4,_0x57a845);_0x2f010b['batch']['addOperation'](_0x2e1eb3),_0x511f29['model']['applyOperation'](_0x2e1eb3);break;}}}for(const _0x22c2b3 of _0x262d61){const _0x4f3ffa=_0x511f29['model']['createRangeOn'](_0x22c2b3),_0x3a49a9='suggestion:formatBlock:$fakeWrap:'+ckeditor5['uid']()+':$aiSuggestion';_0x5d9fb4['markers']['set'](_0x3a49a9,fixElementSuggestionRange(_0x4f3ffa,_0x511f29['model']));}});}function transformMarkers(_0x47347c,_0x403733){for(const [_0x340536,_0x509637]of _0x47347c['markers']){const _0x277757=ckeditor5['ModelRange']['_createFromRanges'](_0x509637['getTransformedByOperation'](_0x403733));_0x47347c['markers']['set'](_0x340536,_0x277757);}}function getMinimalSelection(_0x4fe444,_0x5b3602,_0x4b0a71){const _0x1c938d=_0x4fe444['plugins']['get']('DocumentCompare');let _0x4b7b74=_0x4fe444['model']['createPositionAt'](_0x4b0a71,Number['POSITIVE_INFINITY']),_0x3844cb=_0x4fe444['model']['createPositionAt'](_0x4b0a71,0x0);for(const _0x4d6575 of _0x5b3602){let _0x569494,_0x283220;if(_0x1c938d['isMarkedRemoveOperation'](_0x4d6575))_0x569494=_0x4d6575['newRange']['start'],_0x283220=_0x4d6575['newRange']['end'];else switch(_0x4b7b74=_0x4b7b74['getTransformedByOperation'](_0x4d6575),_0x3844cb=_0x3844cb['getTransformedByOperation'](_0x4d6575),_0x4d6575['type']){case'rename':_0x569494=_0x4d6575['position'],_0x283220=_0x569494['getShiftedBy'](0x1);break;case'addAttribute':case'removeAttribute':case'changeAttribute':_0x569494=_0x4d6575['range']['start'],_0x283220=_0x4d6575['range']['end'];break;case'insert':_0x569494=_0x4d6575['position'],_0x283220=_0x569494['getShiftedBy'](_0x4d6575['howMany']);break;case'split':_0x569494=_0x4d6575['splitPosition'],_0x283220=_0x4d6575['moveTargetPosition'];break;case'merge':{const _0x5b7675=_0x4d6575['targetPosition']['path']['slice'](0x0,-0x1);_0x569494=_0x4fe444['model']['createPositionFromPath'](_0x4b0a71,_0x5b7675),_0x283220=_0x569494['getShiftedBy'](0x1);break;}case'remove':{const _0x4707ea=_0x4d6575['howMany'],_0x6bd0a=_0x4d6575['sourcePosition']['_getTransformedByInsertion'](_0x4d6575['targetPosition'],_0x4707ea),_0x5c5b39=_0x4d6575['getMovedRangeStart']();'remove'==_0x4d6575['type']?(_0x569494=_0x6bd0a,_0x283220=_0x6bd0a):(_0x569494=_0x5c5b39,_0x283220=_0x5c5b39['getShiftedBy'](_0x4707ea));break;}}_0x569494&&_0x569494['isBefore'](_0x4b7b74)&&(_0x4b7b74=_0x569494['clone'](),_0x4b7b74['stickiness']='toNone'),_0x283220&&_0x283220['isAfter'](_0x3844cb)&&(_0x3844cb=_0x283220['clone'](),_0x3844cb['stickiness']='toNone');}return _0x4fe444['model']['createSelection'](_0x4fe444['model']['createRange'](_0x4b7b74,_0x3844cb));}function expandSelectionWithContext(_0x480c34,_0x184b64){expandSelection(_0x480c34,_0x184b64,'forward');const _0x78a9ea=_0x184b64['getFirstRange']();_0x184b64['setTo']([]),_0x184b64['setTo'](_0x78a9ea,{'backward':!0x0}),expandSelection(_0x480c34,_0x184b64,'backward');}function expandSelection(_0x30626c,_0x18a2df,_0x42b181){let _0x460db7=0x14;for(;_0x460db7;){_0x30626c['modifySelection'](_0x18a2df,{'unit':'word','direction':_0x42b181}),_0x460db7--;const _0x4123ad=_0x18a2df['focus']['forward'==_0x42b181?'nodeBefore':'nodeAfter'];if(_0x4123ad&&_0x4123ad['is']('element')&&_0x30626c['schema']['isBlock'](_0x4123ad)&&_0x30626c['schema']['isObject'](_0x4123ad))break;}}function shrinkFragmentToSelection(_0x298882,_0x1df148){const _0x18401f=_0x1df148['getFirstRange']()['start'];let _0x3554cd=_0x1df148['getFirstRange']()['end'];const _0x560e05=_0x18401f['root'];(_0x3554cd['textNode']||_0x3554cd['nodeAfter']&&_0x3554cd['nodeAfter']['is']('$text'))&&(ckeditor5['_insertIntoModelNodeList'](_0x3554cd,'...'),_0x3554cd=_0x3554cd['getShiftedBy'](0x3)),(_0x18401f['textNode']||_0x18401f['nodeBefore']&&_0x18401f['nodeBefore']['is']('$text'))&&(ckeditor5['_insertIntoModelNodeList'](_0x18401f,'...'),_transformMarkersByInsertion(_0x560e05,_0x18401f,0x3),_0x18401f['parent']==_0x3554cd['parent']&&(_0x3554cd=_0x3554cd['getShiftedBy'](0x3)));const _0xd974ec=_0x298882['createRange'](_0x298882['createPositionAt'](_0x560e05,0x0),_0x18401f),_0x3e98cb=_0x298882['createRange'](_0x3554cd,_0x298882['createPositionAt'](_0x560e05,'end')),_0x47c0f2=[..._0xd974ec['getMinimalFlatRanges'](),..._0x3e98cb['getMinimalFlatRanges']()];_0x47c0f2['reverse']();for(const _0x4ef172 of _0x47c0f2)ckeditor5['_removeFromModelNodeList'](_0x4ef172),_transformMarkersByDeletion(_0x560e05,_0x4ef172);}function _transformMarkersByDeletion(_0x10d753,_0x3c1d4a){for(const [_0x98d66c,_0x1ae842]of _0x10d753['markers']){const _0x283046=_0x1ae842['_getTransformedByDeletion'](_0x3c1d4a['start'],_0x3c1d4a['end']['offset']-_0x3c1d4a['start']['offset']);null!=_0x283046?_0x10d753['markers']['set'](_0x98d66c,_0x283046):_0x10d753['markers']['delete'](_0x98d66c);}}function _transformMarkersByInsertion(_0x2e79a1,_0x36ec74,_0x557178){for(let [_0x153716,_0x128a6d]of _0x2e79a1['markers']){const _0x543ce8=_0x128a6d['_getTransformedByInsertion'](_0x36ec74,_0x557178,!0x1);_0x128a6d=_0x543ce8[0x0],_0x2e79a1['markers']['set'](_0x153716,_0x128a6d);}}class _0x3e5fd6 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:_0x2f2cb0,content:_0x419be4='',isDone:_0x1e8420=!0x1,interactionId:_0x4738a5,areActionsDisabled:_0x293052,documentContextContent:_0x27dc5e,editor:_0x2d40a3,id:_0x8388eb}){super(),this['id']=_0x8388eb||ckeditor5['uid'](),this['interactionId']=_0x4738a5,this['type']=_0x2f2cb0,this['areActionsDisabled']=!!_0x293052,this['editor']=_0x2d40a3,this['aiResponseParser']=new _0x56748a(),this['aiResponseApplier']=new _0x4e1d8a(),this['documentContextContent']=_0x36db76(_0x27dc5e||''),this['set']('isDone',_0x1e8420),this['on']('change:content',()=>{this['onContentChange']();}),this['set']('content',_0x419be4);}['appendContent'](_0x20cfe4){this['set']('content',this['content']+_0x20cfe4);}['done'](){this['isDone']||(this['set']('isDone',!0x0),this['onContentChange']());}['destroy'](){this['stopListening']();}['setChangeGroupState'](_0x2d82a9,_0x3eb848){this['changeGroups'][_0x2d82a9]['state']=_0x3eb848,this['fire']('replyChangeGroupStateUpdated',{'reply':this,'index':_0x2d82a9,'state':_0x3eb848});}['getContentParts']({showDiff:_0x22db90,groupIndex:_0x31d22c}){if(!this['editor'])throw new ckeditor5['CKEditorError']('ai-get-editor-from-context-no-editor',null,{'aiReply':this});const _0x4364ca=this['_getCachedContentParts'](_0x22db90,_0x31d22c);if(_0x4364ca)return _0x4364ca;let _0x36361a=[];if(void 0x0===_0x31d22c)_0x36361a=this['changeGroups'];else{const _0x5e1d6d=this['changeGroups']['find'](({index:_0x9e8853})=>_0x9e8853===_0x31d22c);if(!_0x5e1d6d)throw new ckeditor5['CKEditorError']('ai-reply-get-content-parts-group-not-found',null,{'aiReply':this,'groupIndex':_0x31d22c});_0x36361a=[_0x5e1d6d];}const _0x3bba9c=getSuggestionPartsFromReply({'editor':this['editor'],'showDiff':_0x22db90,'changeGroups':_0x36361a,'documentContextContent':this['documentContextContent']});return this['_setCachedContentParts'](_0x22db90,_0x3bba9c),_0x3bba9c;}['_getCachedContentParts'](_0x36a17c,_0x35e406){const _0x2f3a7a=_0x36a17c?'withDiff':'withoutDiff';if(!this['cachedSuggestionContentParts'][_0x2f3a7a]['length'])return null;const _0x273eab=this['cachedSuggestionContentParts'][_0x2f3a7a];if(void 0x0===_0x35e406)return _0x273eab['length']>0x0&&_0x273eab['length']!==this['changeGroups']['length']?(this['_setCachedContentParts'](_0x36a17c,null),null):_0x1665a7(_0x273eab);{const _0x131267=_0x273eab['find'](({index:_0x49acaf})=>_0x49acaf===_0x35e406);if(_0x131267)return[_0x1665a7(_0x131267)];}return null;}['_setCachedContentParts'](_0x5ca4b3,_0x21a5c5){const _0x247b21=_0x5ca4b3?'withDiff':'withoutDiff';_0x21a5c5?_0x21a5c5['forEach'](_0x3dab02=>{const _0x517865=this['cachedSuggestionContentParts'][_0x247b21],_0x18b5ee=_0x517865['find'](({index:_0x1d2c9f})=>_0x1d2c9f===_0x3dab02['index']);if(_0x18b5ee){const _0x4a0739=_0x517865['indexOf'](_0x18b5ee);_0x517865['splice'](_0x4a0739,0x1,_0x3dab02);}else _0x517865['push'](_0x3dab02);}):this['cachedSuggestionContentParts'][_0x247b21]['length']=0x0;}['onContentChange'](){if('modification'===this['type']){this['parsedContent']=this['aiResponseParser']['parseAndNormalizeHTML'](this['content']);const _0x229b72=this['changeGroups'];this['updateChangeGroups']();const _0x4f5258=this['_getDifferentChangeGroups'](_0x229b72,this['changeGroups']);(_0x4f5258['length']||this['isDone'])&&(this['fire']('replyContentUpdated',this,_0x4f5258),this['cachedSuggestionContentParts']['withDiff']['length']=this['cachedSuggestionContentParts']['withoutDiff']['length']=0x0);}else this['parsedContent']=this['aiResponseParser']['convertMarkdownToHTML'](this['content']),this['fire']('replyContentUpdated',this);}['_getDifferentChangeGroups'](_0x5cfdd7,_0x273d96){const _0x3a1884=[];for(const _0x154a40 of _0x273d96){const _0x184f73=_0x5cfdd7[_0x154a40['index']];_0x184f73?_0x184f73['changes']['length']!==_0x154a40['changes']['length']?_0x3a1884['push'](_0x154a40):_0x184f73['changes']['forEach']((_0x3936f7,_0x5af977)=>{const _0x167086=_0x154a40['changes'][_0x5af977];_0x3936f7['id']!==_0x167086['id']&&_0x3a1884['push'](_0x154a40);}):_0x3a1884['push'](_0x154a40);}return _0x3a1884;}['updateChangeGroups'](){const _0x5406b3=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'))])]),_0x34fa8b=this['aiResponseApplier']['merge'](this['parsedContent'],this['documentContextContent']['cloneNode'](!0x0),{'markUnstableElements':!this['isDone'],'replaceRemovedWith':_0x5406b3,'cutAfterLastChange':!this['isDone']});if(!_0x34fa8b['modifiedNodeIds']['length']&&!this['isDone'])return;this['parsedMergedContent']=_0x34fa8b['parsedContent'];let _0xd56ae9=[];if(_0x271638(_0xc75e07=>{const _0x5807ed=getAttribute(_0xc75e07,'data-id');if(!_0x5807ed||!_0x3a8768(_0x5807ed))return!0x1;const _0x169bd6=[_0xc75e07,...getParents(_0xc75e07)]['at'](-0x2);if(_0xc75e07!=_0x169bd6){const _0x1a3952=getAttribute(_0x169bd6,'data-id');_0x3a8768(_0x1a3952)||(_0xd56ae9['push']({'node':_0x169bd6,'id':_0x1a3952,'type':'modified'}),_0x34fa8b['modifiedNodeIds']['push'](_0x1a3952));}else _0x34fa8b['modifiedNodeIds']['includes'](_0x5807ed)?_0xd56ae9['push']({'node':_0xc75e07,'type':'modified','id':_0x5807ed}):_0x34fa8b['newNodeIds']['includes'](_0x5807ed)?_0xd56ae9['push']({'node':_0xc75e07,'type':'new','id':_0x5807ed,'anchorId':getAttribute(_0xc75e07['previousSibling'],'data-id')}):_0xd56ae9['push']({'node':_0xc75e07,'type':'removed','id':_0x5807ed});return!0x0;},this['parsedMergedContent']),_0xd56ae9=_0xd56ae9['filter'](({node:_0xcf21cc})=>[...getParents(_0xcf21cc),_0xcf21cc]['every'](_0x223398=>!getAttribute(_0x223398,'data-unstable'))),0x0==_0xd56ae9['length'])return;const _0x1cfa96=[[_0xd56ae9[0x0]]];for(let _0x571cc4=0x1;_0x571cc4<_0xd56ae9['length'];_0x571cc4++){const _0x456f40=_0x1cfa96[_0x1cfa96['length']-0x1],_0x19beb1=_0x456f40[_0x456f40['length']-0x1];_0xd56ae9[_0x571cc4]['node']['previousSibling']==_0x19beb1['node']&&'modified'!=_0xd56ae9[_0x571cc4]['type']&&'modified'!=_0x19beb1['type']?_0x456f40['push'](_0xd56ae9[_0x571cc4]):_0x1cfa96['push']([_0xd56ae9[_0x571cc4]]);}for(const _0x59880c of _0x1cfa96){const _0x4b7f44=_0x59880c[0x0],_0x3e8c84=_0x59880c[_0x59880c['length']-0x1],_0x15ab20=_0x2557e0(_0x4b7f44['node']['previousSibling']);_0x15ab20&&_0x59880c['unshift'](_0x15ab20);const _0x206927=_0x2557e0(_0x3e8c84['node']['nextSibling']);_0x206927&&_0x59880c['push'](_0x206927);}function _0x3a8768(_0x1d9ea1){return _0x34fa8b['modifiedNodeIds']['includes'](_0x1d9ea1)||_0x34fa8b['newNodeIds']['includes'](_0x1d9ea1)||_0x34fa8b['removedNodeIds']['includes'](_0x1d9ea1);}function _0x2557e0(_0x4d2b47){if(_0x4d2b47&&getAttribute(_0x4d2b47,'data-id')&&!getAttribute(_0x4d2b47,'data-unstable')){const _0x549d52=getAttribute(_0x4d2b47,'data-id');if(!_0x3a8768(_0x549d52))return{'node':_0x4d2b47,'type':'context','id':_0x549d52};}return null;}this['changeGroups']=_0x1cfa96['map']((_0x4e4392,_0x5a3316)=>({'changes':_0x4e4392,'state':'pending','index':_0x5a3316}));}}const _0xc9d7b9=['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:_0x5b7f92,editor:_0xc2c562}){super(),this['id']=ckeditor5['uid'](),this['connector']=_0x5b7f92,this['isStopped']=!0x0,this['editor']=_0xc2c562;}async['start'](){const _0x3f24bb=[];let _0x595d57,_0x1071d7,_0x5d5b2c;this['isStopped']=!0x1;try{this['currentRequest']=await this['sendRequest'](),this['fire']('interactionStarted',this);const _0x2633d2=await this['currentRequest']['getStream']();for await(const _0x56a51d of _0x2633d2){if(this['isStopped'])return;if('error'==_0x56a51d['event'])return void this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-interaction-error',this)});switch(_0x56a51d['event']){case'message-metadata':this['messageId']=_0x56a51d['data']['messageId'];break;case'action-metadata':this['actionCallId']=_0x56a51d['data']['callId'];break;case'conversation-title':this['setConversationTitle'](_0x56a51d['data']['conversationTitle'],!0x0);break;case'source':_0x3f24bb['push'](_0x56a51d['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'](),_0x595d57='modification-delta'==_0x56a51d['event']?'modification':'text',_0x1071d7='modification-delta'==_0x56a51d['event']?_0x56a51d['data']['id']:void 0x0,this['currentReply']&&this['currentReply']['type']!=_0x595d57&&(this['currentReply']['done'](),this['currentReply']=void 0x0),this['currentReply']||(this['currentReply']=this['createReply']({'type':_0x595d57,'interactionId':this['id'],'id':_0x1071d7}),'modification'==_0x595d57&&(this['currentReply']['sources']=_0x3f24bb['splice'](0x0))),this['currentReply']['appendContent'](_0x56a51d['data']['textDelta']);break;case'mcp-tool-result':_0x5d5b2c=JSON['parse'](_0x56a51d['data']['result']),this['_handleToolResultData']({'toolName':_0x56a51d['data']['toolName'],'data':_0x5d5b2c['data'],'attributes':_0x5d5b2c['attributes']});break;case'mcp-tool-notification':this['_handleToolNotificationData']({'toolName':_0x56a51d['data']['toolName'],'data':_0x56a51d['data']['data']});}}}finally{this['isStopped']||(this['currentReply']&&_0x3f24bb['length']>0x0&&(this['currentReply']['sources']=_0x3f24bb['splice'](0x0)),this['_finalizeInteraction'](),this['fire']('interactionFinished',this));}}['stop'](){this['isStopped']||(this['_finalizeInteraction'](),this['fire']('interactionStopped',this));}['getReply'](_0x652b3c){return this['replies']['find'](_0x4536e3=>_0x4536e3['id']===_0x652b3c);}['destroy'](){this['isDestroyed']||(this['stop'](),this['replies']['forEach'](_0x33a5a6=>_0x33a5a6['destroy']()),this['replies']=[],this['isDestroyed']=!0x0,this['fire']('interactionDestroyed',this),this['stopListening']());}['createReply'](_0x249303){const _0x39fb61=new _0x3e5fd6({'editor':this['editor'],'documentContextContent':this['getDocumentContext']()?.['content'],..._0x249303});return this['replies']['push'](_0x39fb61),_0x39fb61['delegate'](..._0xc9d7b9)['to'](this),this['fire']('replyCreated',_0x39fb61),_0x39fb61;}['setConversationTitle'](_0x407912,_0x2cefc4=!0x1){this['fire']('setConversationTitle',_0x407912,_0x2cefc4);}['resetWebSearchState'](){this['_isWebSearching']&&(this['_isWebSearching']=!0x1,this['fire']('webSearchFinished',this));}['resetReasoningState'](){this['_isReasoning']&&(this['_isReasoning']=!0x1,this['fire']('reasoningFinished',this));}['_handleToolResultData'](_0x402356){this['fire']('toolDataReceived',{'type':'result','toolName':_0x402356['toolName'],'data':structuredClone(_0x402356['data']||{}),'attributes':structuredClone(_0x402356['attributes']||{})},this);}['_handleToolNotificationData'](_0xa00e6){this['fire']('toolDataReceived',{'type':'notification','toolName':_0xa00e6['toolName'],'data':structuredClone(_0xa00e6['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(_0x5572bb){return _0x5572bb['TOOL']='mcp-tool-context',_0x5572bb['FILE']='file',_0x5572bb['DOCUMENT']='document',_0x5572bb['URL']='web-resource',_0x5572bb['TEXT']='text',_0x5572bb['SELECTION']='selection',_0x5572bb;}({}),AIContextTextResourceType=function(_0xa50411){return _0xa50411['TEXT']='text',_0xa50411['MARKDOWN']='markdown',_0xa50411['HTML']='html',_0xa50411;}({});const _0x35dfa2=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']]),_0x3040fe=['contextItemAdded','contextItemRemoved','contextItemLoadingEnded','contextSent','error','addContextOptionsChanged','sourceResourcesLoaded','resourceStateChanged','uploadProgressChanged'];class AIChatContext extends ckeditor5['ObservableMixin'](){['_connector'];['_config'];['_ownerId'];constructor({connector:_0x45d08c,config:_0x30c8ba,ownerId:_0x1db215}){super(),this['_connector']=_0x45d08c,this['_config']=_0x30c8ba,this['_ownerId']=_0x1db215;}['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'](_0xedcf3d){const _0x82c21=await this['_createContextItemFromContent'](_0xedcf3d);return this['_addToConversationContextItem'](_0x82c21),'current-document'===_0x82c21['uiId']&&this['_toggleAddCurrentDocumentOptionVisibility'](),_0x82c21;}async['_createContextItemFromContent'](_0x348c3b){if(_0x348c3b['type']===AIContextItemType['DOCUMENT']){const _0xc6c4db=await this['_connector']['fetchDocument'](this['_ownerId'],_0x348c3b['id'])['getDocument']();return{'id':'current-document','uiId':'current-document','label':'Current\x20document','type':_0x348c3b['type'],'content':_0xc6c4db['content'],'hidden':this['_conversationContextItems']['has']('current-document'),'version':_0xc6c4db['attributes']?.['version'],'sessionId':_0xc6c4db['attributes']?.['sessionId']};}if(_0x348c3b['type']===AIContextItemType['TOOL'])return{'id':_0x348c3b['id'],'uiId':_0x348c3b['id'],'label':_0x348c3b['data']?.['label']||_0x348c3b['id'],'type':AIContextItemType['TOOL'],'mcpServerName':_0x348c3b['mcpServerName'],'toolName':_0x348c3b['toolName'],'data':_0x348c3b['data']||{}};return{'id':_0x348c3b['id'],'uiId':_0x348c3b['id'],'label':_0x348c3b['attributes']?.['label']||_0x348c3b['name']||_0x348c3b['url']||_0x348c3b['id'],'type':_0x348c3b['type'],..._0x348c3b?.['attributes']?.['resourceId']?{'resourceId':_0x348c3b['attributes']?.['resourceId']}:{}};}['getSentContextItems'](){return new Map(this['_conversationContextItems']);}['removeFromContext'](_0x44e2dc){const _0x51644f=this['_pendingContextItems']['get'](_0x44e2dc);_0x51644f?.['isReadOnly']||this['_removeContextItem'](_0x44e2dc);}['clearPendingContextItems'](){if(0x0===this['_pendingContextItems']['size'])return;for(const _0x3ffb01 of this['_pendingContextItems']['values']())this['_removeContextItem'](_0x3ffb01['uiId']);const _0x1efb71=this['_conversationContextItems']['get']('current-document')||this['_pendingContextItems']['get']('current-document');_0x1efb71&&this['_addContextItem']({..._0x1efb71,'isReadOnly':!0x0,'hidden':!0x0});}['addToConversationContext'](_0xa81a17){for(const _0x8de8de of _0xa81a17['values']())this['_addToConversationContextItem'](_0x8de8de);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'](_0x2cdb12){return Array['from'](_0x2cdb12['values']())['map'](_0x183e27=>this['_mapContextItemToRequestData'](_0x183e27))['filter'](_0xe1144=>null!==_0xe1144);}async['addFilesToContext'](_0x4ca969,_0x4fb222,_0x521c06=AIContextItemType['FILE']){const _0x4d8bb3='files-'+ckeditor5['uid']();this['_startUploadOperation'](_0x4d8bb3);try{await Promise['all'](_0x4ca969['map'](async _0x40f111=>{const _0x5c8329='file-'+ckeditor5['uid'](),_0x9fdd5c=_0x1e319d(_0x40f111['name']);try{this['_addContextItem']({'type':_0x521c06,'label':_0x4fb222?.['label']||_0x9fdd5c,'uiId':_0x5c8329,'resourceId':_0x4fb222?.['resourceId']},!0x0);const _0x6a7be0=this['_connector']['uploadFile'](this['_ownerId'],_0x40f111,_0x4fb222);this['_ongoingUploads']['set'](_0x5c8329,_0x6a7be0['abortController']);const {id:_0x76a398}=await _0x6a7be0['getId']();this['_ongoingUploads']['delete'](_0x5c8329),this['_finishContextItemLoading']({'type':_0x521c06,'id':_0x76a398,'label':_0x4fb222?.['label']||_0x9fdd5c,'uiId':_0x5c8329,'resourceId':_0x4fb222?.['resourceId']},!0x1);}catch(_0xe0c9ee){this['_ongoingUploads']['delete'](_0x5c8329);if(!(_0xe0c9ee instanceof ckeditor5['CKEditorError']&&_0xe0c9ee['message']['startsWith']('ai-request-aborted'))){const _0x395047=_0x35dfa2['get'](_0xe0c9ee['code'])||'ai-chat-file-upload-failed',_0x146f3f=new ckeditor5['CKEditorError'](_0x395047,null,{'fileName':_0x9fdd5c,..._0xe0c9ee});_0x146f3f['stack']=_0xe0c9ee['stack'],this['fire']('error',{'error':_0x146f3f});}this['_removeContextItem'](_0x5c8329);}}));}finally{this['_finishUploadOperation'](_0x4d8bb3);}}['addCurrentDocumentToContext'](_0x4aac4c){if(this['isCurrentDocumentInContext']()||!this['_addContextOptionsState']['document']['enabled'])return;const _0x1e3a74={'type':AIContextItemType['DOCUMENT'],'uiId':'current-document','label':_0x4aac4c,'isReadOnly':this['_conversationContextItems']['has']('current-document'),'hidden':this['_conversationContextItems']['has']('current-document')};this['_addContextItem'](_0x1e3a74);}async['updateCurrentDocument'](_0x498988,_0xb1ea63,_0x1593b7,_0x1c88c7){const _0x13ec7a=this['_pendingContextItems']['get']('current-document');if(_0x13ec7a&&_0x498988){_0x13ec7a['selection']=_0x1c88c7?_0x1c88c7['map'](_0x77b5f5=>({'start':_0x77b5f5['start'],'end':_0x77b5f5['end']})):[];try{if(_0x13ec7a['version']===_0xb1ea63)return;const {id:_0x28e75b}=await this['_connector']['uploadDocument'](this['_ownerId'],_0x498988,{'version':_0xb1ea63,'sessionId':_0x1593b7})['getId']();_0x13ec7a['id']=_0x28e75b,_0x13ec7a['content']=_0x498988,_0x13ec7a['version']=_0xb1ea63,_0x13ec7a['sessionId']=_0x1593b7;}catch(_0x2d9469){const _0xb9c46b=new ckeditor5['CKEditorError']('ai-chat-document-upload-failed',null);_0xb9c46b['stack']=_0x2d9469['stack'],this['fire']('error',{'error':_0xb9c46b});}}}['addSelectionToContext'](_0x210e54){this['_addContextItem']({'type':AIContextItemType['SELECTION'],'label':_0x210e54,'uiId':'selection','content':_0x210e54});}['removeSelectionFromContext'](){this['_removeContextItem']('selection');}async['addUrlToContext'](_0x4ba6a6,_0x4b71db){const _0x7ced71='url-'+ckeditor5['uid']();this['_startUploadOperation'](_0x7ced71);const _0x4a535b='url-'+ckeditor5['uid']();try{this['_addContextItem']({'type':AIContextItemType['URL'],'label':_0x4b71db?.['label']||_0x4ba6a6,'uiId':_0x4a535b,'resourceId':_0x4b71db?.['resourceId']},!0x0);const _0x85bcf6=this['_connector']['uploadUrl'](this['_ownerId'],_0x4ba6a6,_0x4b71db);this['_ongoingUploads']['set'](_0x4a535b,_0x85bcf6['abortController']);const {id:_0x5011a3}=await _0x85bcf6['getId']();this['_ongoingUploads']['delete'](_0x4a535b),this['_finishContextItemLoading']({'type':AIContextItemType['URL'],'id':_0x5011a3,'label':_0x4b71db?.['label']||_0x4ba6a6,'uiId':_0x4a535b,'resourceId':_0x4b71db?.['resourceId']},!0x1);}catch(_0x30efc5){this['_ongoingUploads']['delete'](_0x4a535b),(_0x30efc5['message']['startsWith']('ai-request-aborted')||this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-url-upload-failed',this,{'url':_0x4ba6a6,'originalError':_0x30efc5}),'url':_0x4ba6a6}),this['_removeContextItem'](_0x4a535b));}finally{this['_finishUploadOperation'](_0x7ced71);}}['addToolItemToContext'](_0x3e2750){_0x3e2750['id']=_0x3e2750['id']??ckeditor5['uid']()['substring'](0x0,0x15),this['_pendingContextItems']['set'](_0x3e2750['uiId'],_0x3e2750),this['fire']('contextItemAdded',{'contextItem':_0x3e2750,'isLoading':!0x1});}async['loadSourceResources'](_0x1f6e09,_0x234539,_0x4a7f62){const _0x28017a=this['_addContextOptionsState']['sources']['find'](_0x188ad4=>_0x188ad4['id']===_0x1f6e09);if(!_0x28017a)return this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-source-not-found',this,{'sourceId':_0x1f6e09}),'sourceId':_0x1f6e09}),[];try{const _0x330b85=(await _0x28017a['getResources'](_0x234539))['map'](_0x57b9b9=>{const _0x2726ae=this['_isResourceInContext'](_0x57b9b9['id']);return{..._0x57b9b9,'isInContext':_0x2726ae};});return _0x28017a['resources']=_0x330b85,this['fire']('sourceResourcesLoaded',{'sourceId':_0x1f6e09,'source':_0x28017a,'resources':_0x330b85,'uid':_0x4a7f62}),_0x330b85;}catch(_0x5a3fac){return this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-source-resources-load-failed',this,{'sourceId':_0x1f6e09,'originalError':_0x5a3fac}),'sourceId':_0x1f6e09,'sourceLabel':_0x28017a['label']}),[];}}async['addResourceToContext'](_0x34fccf,_0x1b6e58){if(this['_isResourceInContext'](_0x1b6e58['id']))return;let _0x371f45=_0x1b6e58['data'];if(!_0x371f45&&_0x34fccf['getData'])try{_0x371f45=await _0x34fccf['getData'](_0x1b6e58['id']);}catch(_0x5a3a17){return void this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-resource-load-failed',this,{'resourceId':_0x1b6e58['id'],'sourceId':_0x34fccf['id'],'originalError':_0x5a3a17}),'resourceId':_0x1b6e58['id'],'sourceId':_0x34fccf['id']});}if(_0x371f45)switch(_0x1b6e58['type']){case AIContextItemType['URL']:if('string'!=typeof _0x371f45)return void this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x1b6e58['id'],'sourceId':_0x34fccf['id'],'expectedType':'string','actualType':typeof _0x371f45}),'resourceId':_0x1b6e58['id'],'sourceId':_0x34fccf['id']});await this['addUrlToContext'](_0x371f45,{'label':_0x1b6e58['label'],'resourceId':_0x1b6e58['id']});break;case AIContextItemType['FILE']:if(!(_0x371f45 instanceof File))return void this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x1b6e58['id'],'sourceId':_0x34fccf['id'],'expectedType':'File','actualType':typeof _0x371f45}),'resourceId':_0x1b6e58['id'],'sourceId':_0x34fccf['id']});await this['addFilesToContext']([_0x371f45],{'label':_0x1b6e58['label'],'resourceId':_0x1b6e58['id']});break;case AIContextItemType['TEXT']:if('object'!=typeof _0x371f45||!('content'in _0x371f45)||!('type'in _0x371f45))return void this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x1b6e58['id'],'sourceId':_0x34fccf['id'],'expectedType':'object\x20with\x20content\x20and\x20type\x20properties','actualType':typeof _0x371f45}),'resourceId':_0x1b6e58['id'],'sourceId':_0x34fccf['id']});_0x371f45=AIChatContext['_convertTextResourceToFile'](_0x371f45,_0x1b6e58['label']),await this['addFilesToContext']([_0x371f45],{'label':_0x1b6e58['label'],'resourceId':_0x1b6e58['id']},AIContextItemType['TEXT']);break;case AIContextItemType['TOOL']:break;default:this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-context-unsupported-type',this,{'resourceId':_0x1b6e58['id'],'sourceId':_0x34fccf['id'],'resourceType':_0x1b6e58['type']}),'resourceId':_0x1b6e58['id'],'sourceId':_0x34fccf['id']});}else this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-resource-no-data',this,{'resourceId':_0x1b6e58['id'],'sourceId':_0x34fccf['id']}),'resourceId':_0x1b6e58['id'],'sourceId':_0x34fccf['id']});}static['_convertTextResourceToFile'](_0x4a32e8,_0x4ae69b){switch(_0x4a32e8['type']){case AIContextTextResourceType['MARKDOWN']:return new File([_0x4a32e8['content']],_0x4ae69b,{'type':'text/markdown'});case AIContextTextResourceType['HTML']:return new File([_0x4a32e8['content']],_0x4ae69b,{'type':'text/html'});default:return new File([_0x4a32e8['content']],_0x4ae69b,{'type':'text/plain'});}}static['_mapContextItemToRequestData'](_0x230027){switch(_0x230027['type']){case AIContextItemType['FILE']:return{'type':AIContextItemType['FILE'],'id':_0x230027['id']};case AIContextItemType['URL']:return{'type':AIContextItemType['URL'],'id':_0x230027['id']};case AIContextItemType['DOCUMENT']:return{'type':AIContextItemType['DOCUMENT'],'id':_0x230027['id'],..._0x230027['selection']?.['length']&&{'selection':_0x230027['selection']}};case AIContextItemType['TEXT']:return{'type':AIContextItemType['FILE'],'id':_0x230027['id']};case AIContextItemType['TOOL']:{const _0x3602a9=_0x230027;return{'type':AIContextItemType['TOOL'],'mcpServerName':_0x3602a9['mcpServerName'],'toolName':_0x3602a9['toolName'],'data':_0x3602a9['data'],'id':_0x3602a9['id']};}default:return null;}}['_addContextItem'](_0x47881c,_0x2918cb=!0x1){if(this['_pendingContextItems']['set'](_0x47881c['uiId'],_0x47881c),_0x47881c['hidden']||this['fire']('contextItemAdded',{'contextItem':_0x47881c,'isLoading':_0x2918cb}),'current-document'===_0x47881c['uiId']&&this['_toggleAddCurrentDocumentOptionVisibility'](),_0x47881c['resourceId']){const _0x504474=this['_findSourceIdsByResourceId'](_0x47881c['resourceId']);_0x504474&&_0x504474['forEach'](_0x414ba7=>{this['_updateResourceInContextState'](_0x414ba7,_0x47881c['resourceId'],!0x0);});}}['_removeContextItem'](_0x48d01c){const _0x5995d3=this['_pendingContextItems']['get'](_0x48d01c),_0x2d686f=this['_ongoingUploads']['get'](_0x48d01c);if(_0x2d686f&&(_0x2d686f['abort'](),this['_ongoingUploads']['delete'](_0x48d01c)),_0x5995d3?.['resourceId']){const _0x1ffefb=this['_findSourceIdsByResourceId'](_0x5995d3['resourceId']);_0x1ffefb&&_0x1ffefb['forEach'](_0x15817b=>{this['_updateResourceInContextState'](_0x15817b,_0x5995d3['resourceId'],!0x1);});}this['_pendingContextItems']['delete'](_0x48d01c),this['fire']('contextItemRemoved',{'uiId':_0x48d01c,'type':_0x5995d3?.['type']}),'current-document'===_0x48d01c&&this['_toggleAddCurrentDocumentOptionVisibility']();}['_finishContextItemLoading'](_0x2fe06a,_0x1c7d5c){if(this['_pendingContextItems']['has'](_0x2fe06a['uiId'])&&(this['_pendingContextItems']['set'](_0x2fe06a['uiId'],_0x2fe06a),this['fire']('contextItemLoadingEnded',{'contextItem':_0x2fe06a,'isLoading':_0x1c7d5c}),_0x2fe06a['resourceId'])){const _0x2d0d30=this['_findSourceIdsByResourceId'](_0x2fe06a['resourceId']);_0x2d0d30&&_0x2d0d30['forEach'](_0x15fff1=>{this['_updateResourceInContextState'](_0x15fff1,_0x2fe06a['resourceId'],!0x0);});}}['_addToConversationContextItem'](_0xecb2b3){this['_conversationContextItems']['set'](_0xecb2b3['uiId'],_0xecb2b3);}['_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'](_0x1f2e0e=>({..._0x1f2e0e,'enabled':!0x0}))??[]},this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}['_getCustomSourcesInitialState'](){return this['_config']?.['sources']?.['map'](_0x29f82b=>({..._0x29f82b,'resources':[]}))??[];}['_toggleAddCurrentDocumentOptionVisibility'](){const _0xe00f05=this['isCurrentDocumentInContext']()||this['isCurrentDocumentInConversation']();this['_addContextOptionsState']['document']['isHidden']=_0xe00f05,this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}['_isResourceInContext'](_0x342437){for(const _0x7e6c98 of this['_pendingContextItems']['values']())if(_0x7e6c98['resourceId']===_0x342437)return!0x0;for(const _0x1ee195 of this['_conversationContextItems']['values']())if(_0x1ee195['resourceId']===_0x342437)return!0x0;return!0x1;}['_findSourceIdsByResourceId'](_0x8a21a4){const _0x347922=[];for(const _0x1d6297 of this['_addContextOptionsState']['sources']){_0x1d6297['resources']['find'](_0x482fb9=>_0x482fb9['id']===_0x8a21a4)&&_0x347922['push'](_0x1d6297['id']);}return 0x0===_0x347922['length']?null:_0x347922;}['_updateResourceInContextState'](_0x3fd93e,_0x22fec0,_0x2a4a81){const _0x11706d=this['_addContextOptionsState']['sources']['find'](_0x5176cf=>_0x5176cf['id']===_0x3fd93e);if(!_0x11706d)return;const _0x301e37=_0x11706d['resources']['find'](_0x5a849b=>_0x5a849b['id']===_0x22fec0);_0x301e37&&(_0x301e37['isInContext']=_0x2a4a81,this['fire']('resourceStateChanged',{'sourceId':_0x3fd93e,'resourceId':_0x22fec0,'isInContext':_0x2a4a81}));}['_startUploadOperation'](_0x5b50ef){this['_ongoingUploadOperations']['set'](_0x5b50ef,!0x0),this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x0});}['_finishUploadOperation'](_0x3f9e31){this['_ongoingUploadOperations']['delete'](_0x3f9e31),0x0===this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x1});}}const _0x1f0ee0=['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'](_0x417afa){const _0x10fbdc={};return _0x417afa&&_0x417afa['isWebSearchEnabled']&&(_0x10fbdc['webSearch']={}),_0x417afa&&_0x417afa['isReasoningEnabled']&&(_0x10fbdc['reasoning']={}),_0x10fbdc;}['toggleWebSearch'](){this['setWebSearch'](!this['_isWebSearchEnabled']);}['toggleReasoning'](){this['setReasoning'](!this['_isReasoningEnabled']);}['setWebSearch'](_0xe7e944){_0xe7e944!==this['_isWebSearchEnabled']&&(this['_isWebSearchEnabled']=_0xe7e944,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}['setReasoning'](_0x104562){_0x104562!==this['_isReasoningEnabled']&&(this['_isReasoningEnabled']=_0x104562,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}}class AIChatInteraction extends AIInteraction{['userMessage'];['conversationId'];['contextItems']=new Map();['model'];['attributes'];constructor(_0x539e33){super(_0x539e33),this['conversationId']=_0x539e33['conversationId'],this['contextItems']=_0x539e33['contextItems'],this['capabilities']=_0x539e33['capabilities'],this['userMessage']=_0x539e33['userMessage'],this['model']=_0x539e33['model'],this['attributes']=_0x539e33['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(_0x3a6113){super(),this['options']=_0x3a6113,this['connector']=_0x3a6113['connector'],this['chatModels']=_0x3a6113['chatModels'],this['id']=_0x3a6113['conversationId'],this['isFromHistory']=_0x3a6113['isFromHistory'];}async['init'](_0xc50069){try{this['chatContext']=new AIChatContext({'connector':this['connector'],'config':_0xc50069,'ownerId':this['id']}),this['chatContext']['delegate'](..._0x3040fe)['to'](this),this['chatContext']['init'](),this['chatCapabilities']=new AICapabilities(),this['chatCapabilities']['delegate'](..._0x1f0ee0)['to'](this),this['chatCapabilities']['init']();const _0x13f045=await this['chatModels']['getAvailableModels']();this['fire']('conversationInitialized',{'availableModels':_0x13f045});const _0x6c215f=await this['chatModels']['getModel'](this['options']['selectedModelId']);_0x6c215f&&await this['setModel'](_0x6c215f);}catch(_0x59f41b){const _0xfdf4b2=new ckeditor5['CKEditorError']('ai-chat-conversation-init-failed',null,{'message':_0x59f41b['message']||_0x59f41b});_0xfdf4b2['stack']=_0x59f41b['stack'],this['fire']('error',{'error':_0xfdf4b2});}}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:_0x5e5a9d}=await this['connector']['startConversation'](this['id'],this['options']['group'])['getConversation']();this['id']=_0x5e5a9d,this['isStarted']=!0x0,this['fire']('conversationStarted',{'conversationId':this['id'],'selectedModel':this['selectedModel']});}catch(_0x5d35a3){const _0x837407=new ckeditor5['CKEditorError']('ai-chat-conversation-start-failed',null,{'message':_0x5d35a3['message'],'conversationId':this['id']});throw _0x837407['stack']=_0x5d35a3['stack'],this['fire']('error',{'error':_0x837407}),_0x837407;}}async['load'](_0x3ac3fe,_0x163a44){try{const _0x4008a3=await this['connector']['fetchConversation'](_0x3ac3fe)['getConversation'](),_0x3ded6b=await this['connector']['fetchConversationMessages'](_0x3ac3fe)['getMessages'](),_0x325120=_0x3ded6b[0x0]['model'];this['isStarted']=!0x0,this['id']=_0x4008a3['id'],'title'in _0x4008a3?this['fire']('setConversationTitle',_0x4008a3['title'],!0x0):this['fire']('setConversationTitle','',!0x0);const _0x42e820=(await this['chatModels']['getAll']())['find'](_0x1228bc=>_0x1228bc['id']['toLowerCase']()===_0x325120['toLowerCase']());return this['selectedModel']=_0x42e820,this['fire']('modelSelected',{'selectedModel':_0x42e820,'isDisabled':!0x0}),await this['_processMessagesToInteractions'](_0x3ded6b,_0x163a44,_0x325120),this['currentInteraction']=void 0x0,this;}catch(_0x30fb6f){const _0x90eb04=new ckeditor5['CKEditorError']('ai-chat-conversation-init-from-id-failed',null,{'message':_0x30fb6f['message'],'conversationId':_0x3ac3fe});throw _0x90eb04['stack']=_0x30fb6f['stack'],this['fire']('error',{'error':_0x90eb04}),_0x90eb04;}}async['_processMessagesToInteractions'](_0x91710a,_0x1e7ef1,_0x49fbdf){let _0x21780a;for(const _0x1e7fbf of _0x91710a)if('user'===_0x1e7fbf['role']){const _0x94c4f2=await this['_extractContextItems'](_0x1e7fbf),_0x848877={'isReasoningEnabled':Object['hasOwn'](_0x1e7fbf['capabilities'],'reasoning'),'isWebSearchEnabled':Object['hasOwn'](_0x1e7fbf['capabilities'],'webSearch')};_0x21780a=this['createInteraction']({'userMessage':_0x1e7fbf['prompt'],'contextItems':_0x94c4f2,'capabilities':_0x848877,'modelId':_0x49fbdf,'attributes':_0x1e7fbf['attributes']}),this['currentInteraction']=_0x21780a,this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}else{if('assistant'===_0x1e7fbf['role']&&_0x21780a){const _0x288221=[];for(const _0x9ff335 of _0x1e7fbf['content'])switch(_0x9ff335['type']){case'text':case'modification':{const _0x1ca6ae=_0x21780a['getDocumentContext']()?.['sessionId']!==_0x1e7ef1;_0x21780a['currentReply']=_0x21780a['createReply']({'type':_0x9ff335['type'],'isDone':!0x0,'interactionId':_0x21780a['id'],'areActionsDisabled':_0x1ca6ae}),_0x21780a['currentReply']['appendContent'](_0x9ff335['content']),_0x288221['length']>0x0&&(_0x21780a['currentReply']['sources']=_0x288221['splice'](0x0));break;}case'url':_0x288221['push'](_0x9ff335);break;case'mcp-tool-result':{const {data:_0x26ae25,attributes:_0x597a36}=JSON['parse'](_0x9ff335['content']);_0x21780a['_handleToolResultData']({'toolName':_0x9ff335['toolName'],'data':_0x26ae25,'attributes':_0x597a36});break;}}}}}async['_extractContextItems'](_0x3947b8){const _0x4ff011=new Map();if(!_0x3947b8['content'])return _0x4ff011;for(const _0x5d5a61 of _0x3947b8['content']){const _0x2508a0=await this['chatContext']['populateFromMessage'](_0x5d5a61);_0x2508a0&&_0x4ff011['set'](_0x2508a0['id'],_0x2508a0);}return _0x4ff011;}async['handleUserInteraction']({userMessage:_0x56de65,attributes:_0x2e4135}){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 _0x20c094=this['chatContext']['getPendingContextItems'](),_0x2d9733=this['chatCapabilities']['getCapabilitiesConfig'](),_0x3354c4=this['selectedModel']['id'];this['currentInteraction']=this['createInteraction']({'userMessage':_0x56de65,'contextItems':_0x20c094,'capabilities':_0x2d9733,'modelId':_0x3354c4,'attributes':_0x2e4135}),await this['currentInteraction']['start'](),this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}catch(_0x4e1047){if(_0x4e1047 instanceof ckeditor5['CKEditorError'])this['fire']('error',{'interactionId':this['currentInteraction']?this['currentInteraction']['id']:void 0x0,'error':_0x4e1047});else{const _0x2d89b9=_0x35dfa2['get'](_0x4e1047['code'])||'ai-chat-handle-user-interaction-start-failed';this['fire']('error',{'interactionId':this['currentInteraction']?this['currentInteraction']['id']:void 0x0,'error':new ckeditor5['CKEditorError'](_0x2d89b9,null,{'error':_0x4e1047})});}}finally{this['currentInteraction']?.['stop'](),this['currentInteraction']=void 0x0;}}['createInteraction']({userMessage:_0x5241a8,contextItems:_0x2cc94e,capabilities:_0x33800c,modelId:_0xcba388,attributes:_0x24c9c7}){const _0x18da52=new AIChatInteraction({'userMessage':_0x5241a8,'contextItems':_0x2cc94e,'capabilities':_0x33800c,'conversationId':this['id'],'connector':this['connector'],'editor':this['options']['getEditor']&&this['options']['getEditor'](),'model':_0xcba388,'attributes':_0x24c9c7});return _0x18da52['delegate'](..._0xc9d7b9)['to'](this),this['interactions']['push'](_0x18da52),this['fire']('interactionCreated',_0x18da52),_0x18da52;}['getInteraction'](_0x4aa9b1){return this['interactions']['find'](_0x3124fa=>_0x3124fa['id']===_0x4aa9b1);}['removeInteraction'](_0x38c605){const _0x499d92=this['getInteraction'](_0x38c605);_0x499d92&&(_0x499d92['destroy'](),this['interactions']['splice'](this['interactions']['indexOf'](_0x499d92),0x1));}get['lastInteraction'](){return this['interactions'][this['interactions']['length']-0x1];}['addCurrentDocumentToContext'](_0x63a121){this['chatContext']['addCurrentDocumentToContext'](_0x63a121);}async['updateCurrentDocumentInContext']({content:_0x26f45b,version:_0x154690,sessionId:_0x302afb,selections:_0x4b012c}){await this['chatContext']['updateCurrentDocument'](_0x26f45b,_0x154690,_0x302afb,_0x4b012c);}['getCurrentDocumentContext'](){return this['currentInteraction']?.['getDocumentContext']()?.['content']||'';}['addSelectionToContext'](_0xd661d4){this['chatContext']['addSelectionToContext'](_0xd661d4);}['removeSelectionFromContext'](){this['chatContext']['removeSelectionFromContext']();}['addFilesToContext'](_0x2b805b){this['chatContext']['addFilesToContext'](_0x2b805b);}['addUrlToContext'](_0x4db1a8){this['chatContext']['addUrlToContext'](_0x4db1a8);}['addToolItemToContext'](_0x58f122){this['chatContext']['addToolItemToContext'](_0x58f122);}['addResourceToContext'](_0x194311,_0x2ce211){this['chatContext']['addResourceToContext'](_0x194311,_0x2ce211);}['loadSourceResources'](_0x3394d2,_0x292fc3,_0x504e79){return this['chatContext']['loadSourceResources'](_0x3394d2,_0x292fc3,_0x504e79);}['removeFromContext'](_0x314ac5){this['chatContext']['removeFromContext'](_0x314ac5);}['setWebSearch'](_0x25244b){this['chatCapabilities']['setWebSearch'](_0x25244b);}['toggleWebSearch'](){this['chatCapabilities']['toggleWebSearch']();}['setReasoning'](_0x3f0554){this['chatCapabilities']['setReasoning'](_0x3f0554);}['toggleReasoning'](){this['chatCapabilities']['toggleReasoning']();}['isCurrentDocumentInContext'](){return this['chatContext']['isCurrentDocumentInContext']();}['isCurrentDocumentInConversation'](){return this['chatContext']['isCurrentDocumentInConversation']();}['isSelectionInContext'](){return this['chatContext']['isSelectionInContext']();}async['setModel'](_0x48c5dc){_0x48c5dc?!0x1===await this['chatModels']['isAvailable'](_0x48c5dc)&&(ckeditor5['logWarning']('ai-chat-conversation-set-model-not-available',{'conversation':this,'model':_0x48c5dc}),_0x48c5dc=(await this['chatModels']['getAvailableModels']())[0x0]):(ckeditor5['logWarning']('ai-chat-conversation-set-model-null',{'conversation':this}),_0x48c5dc=(await this['chatModels']['getAvailableModels']())[0x0]),_0x48c5dc['id']!==this['selectedModel']?.['id']&&(this['selectedModel']=_0x48c5dc,this['chatCapabilities']['reset'](),this['fire']('modelSelected',{'selectedModel':_0x48c5dc}));}}class _0x2fa4df extends ckeditor5['EmitterMixin'](){['_connector'];['_config'];['_locale'];['_modelList']=[];['_modelsRequest']=null;constructor({connector:_0x1a5c3d,config:_0x4a2bcc,locale:_0x4e854b}){super(),this['_connector']=_0x1a5c3d,this['_config']=_0x4a2bcc,this['_locale']=_0x4e854b;}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 _0xb81e97=await this['getAll']();let _0x5f51b3;return _0x5f51b3=this['_availableModels']?this['_filterModels'](_0xb81e97,this['_availableModels']):_0xb81e97['filter'](_0x40097b=>_0x40097b['recommended']),_0x5f51b3;}async['getModel'](_0x35f7fb){const _0x367811=await this['getAll']();if(!_0x367811['length'])return null;if(_0x35f7fb){const _0x8e0bfa=this['_getModelById'](_0x367811,_0x35f7fb);if(_0x8e0bfa)return _0x8e0bfa;ckeditor5['logWarning']('ai-chat-model-id-unrecognized',{'modelId':_0x35f7fb,'fallBackModelId':this['_defaultModelId']});}return this['getDefault']();}async['getDefault'](){const _0x560c4c=await this['getAvailableModels']();if(!_0x560c4c['length'])return null;if(this['_defaultModelId']){const _0x507015=this['_getModelById'](_0x560c4c,this['_defaultModelId']);if(_0x507015)return _0x507015;ckeditor5['logWarning']('ai-chat-default-model-id-unrecognized',{'defaultModelId':this['_defaultModelId'],'fallBackModelId':_0x560c4c[0x0]['id']});}return _0x560c4c[0x0];}async['isAvailable'](_0x41f016){return(await this['getAvailableModels']())['some'](_0x1a1e65=>_0x1a1e65['name']===_0x41f016['name']&&_0x1a1e65['provider']===_0x41f016['provider']);}async['_retrieveModels'](){if(!this['_modelList']['length'])try{const _0x27ba61=this['_locale']['uiLanguage']||'en',_0x5499bc=this['_connector']['getModels'](_0x27ba61),_0x1013f2=await _0x5499bc['list']();this['_modelList']=_0x1013f2['items']['map'](_0x260b2d=>isAutoModel(_0x260b2d)?{..._0x260b2d,'name':getTranslation$i(this['_locale'],'AI_MODEL_NAME_AUTO')}:_0x260b2d);}catch(_0x18b19f){throw ckeditor5['logError']('ai-models-unable-to-retrieve',{'error':_0x18b19f}),_0x18b19f;}return[...this['_modelList']];}['_filterModels'](_0x1deb2e,_0x1db8ab){let _0x340924;if(_0x1db8ab){_0x340924=[];const _0x2238ad=new Set(),_0x2d0e9b='string'==typeof _0x1db8ab?[_0x1db8ab['toLocaleLowerCase']()]:_0x1db8ab['map'](_0x3e621d=>_0x3e621d['toLocaleLowerCase']());for(const _0x2aed96 of _0x2d0e9b)for(const _0x262579 of _0x1deb2e)!_0x2238ad['has'](_0x262579['id'])&&this['_isMatchingFilter'](_0x262579,_0x2aed96)&&(_0x340924['push'](_0x262579),_0x2238ad['add'](_0x262579['id']));}else _0x340924=_0x1deb2e;return _0x340924;}['_isMatchingFilter'](_0xa3e5c7,_0x11bf80){const _0x38eac3=_0xa3e5c7['id']['toLocaleLowerCase'](),_0x2ebbdb=_0xa3e5c7['name']['toLocaleLowerCase'](),_0x1e12e1=_0xa3e5c7['provider']['toLocaleLowerCase']();return _0x38eac3===_0x11bf80||_0x2ebbdb===_0x11bf80||isAutoModel(_0xa3e5c7)&&'auto'===_0x11bf80||_0x1e12e1===_0x11bf80||_0x38eac3['startsWith'](_0x11bf80);}['_getModelById'](_0x1e20f9,_0x3cb97d){return _0x1e20f9['find'](_0x1d8878=>isAutoModel(_0x1d8878)&&'auto'===_0x3cb97d?_0x1d8878:_0x1d8878['id']===_0x3cb97d)||null;}}function isAutoModel(_0x1372f4){return _0x1372f4['id']['startsWith']('agent');}function getEditorFromContext(_0x2b0d36){if(_0x2b0d36 instanceof ckeditor5['Editor'])return _0x2b0d36;if(_0x2b0d36?.['editors']&&_0x2b0d36['editors']['get'](0x0))return _0x2b0d36['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.'),_0x2b0d36['editors']['get'](0x0);throw new ckeditor5['CKEditorError']('ai-get-editor-from-context-no-editor');}function getOperationsFromReply({editor:_0x137d8a,interaction:_0x512ec5,reply:_0x2e1eee,groups:_0x3dd0ff,transform:_0x137f02,documentCompare:_0x54699f,documentCompareOptions:_0x5670d9}){const _0x1a9069=_0x512ec5['getDocumentContext']();if(!_0x1a9069)return[];const _0x142d76=_0x1a9069['content'],_0xb2031a=_0x1a9069['version'],_0x52ff24=_0x2e1eee['documentContextContent']['cloneNode'](!0x0);for(const {changes:_0x5c188d}of _0x3dd0ff){const _0x2d194d=_0x5c188d['filter'](_0x2b1384=>'new'!=_0x2b1384['type'])['map'](_0x4fa5d3=>findByAttribute('data-id',_0x4fa5d3['id'],_0x52ff24)),_0x4d4caf=_0x5c188d['filter'](_0x3be74e=>'removed'!=_0x3be74e['type'])['map'](_0x326664=>_0x326664['node']['cloneNode'](!0x0));let _0x518fc8=null;if(_0x2d194d['length']){_0x518fc8=_0x2d194d[0x0]['previousSibling'];for(let _0x1eacd5=0x0;_0x1eacd5<_0x2d194d['length'];_0x1eacd5++)removeElement(_0x2d194d[_0x1eacd5]);}if(_0x4d4caf['length']){_0x518fc8||(_0x5c188d[0x0]['anchorId']?_0x518fc8=findByAttribute('data-id',_0x5c188d[0x0]['anchorId'],_0x52ff24):(_0x518fc8=_0x4d4caf['shift'](),_0xa1db2b(_0x52ff24,_0x518fc8)));for(let _0x366e84=0x0;_0x366e84<_0x4d4caf['length'];_0x366e84++)_0x37bfcd(_0x518fc8,_0x4d4caf[_0x366e84]),_0x518fc8=_0x4d4caf[_0x366e84];}}const _0x25694d=_0x124bee(_0x52ff24),_0x479f44=_0x54699f['getDiff'](_0x142d76,_0x25694d,_0x5670d9)['getOperations']();if(_0x137f02){const _0xbebdfd=_0x137d8a['model']['document']['history']['getOperations'](_0xb2031a),_0x5cb48d={'document':_0x137d8a['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1};return ckeditor5['transformOperationSets'](_0x479f44,_0xbebdfd,_0x5cb48d)['operationsA'];}return _0x479f44;}function fixMarkerOperationOldRange(_0x19054d,_0x33a988){if('marker'!=_0x33a988['type'])return;const _0x514281=_0x19054d['model']['markers']['get'](_0x33a988['name']);_0x514281&&(_0x33a988['oldRange']=_0x514281['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 _0x2fa4df({'connector':this['_aiConnector'],'config':this['context']['config']['get']('ai.models'),'locale':this['context']['locale']});const _0x4058b5=this['context']['plugins']['get']('AITabs');this['listenTo'](this['_aiChatUi'],'startConversation',()=>{this['_startConversationSafely']();}),this['listenTo'](this['_aiChatUi'],'sendUserMessage',(_0x1d4356,_0xd69cb9)=>{this['_handleUIUserMessage']({'userMessage':_0xd69cb9});}),this['listenTo'](_0x4058b5,'resizedTabs',(_0x58882e,_0x192540)=>{this['_setIsMaximized'](_0x192540);}),this['listenTo'](this['_aiChatUi'],'resizeTabs',()=>{_0x4058b5['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',(_0x43a79e,_0x48a933)=>{this['activeConversation']?.['addFilesToContext'](Array['from'](_0x48a933));}),this['listenTo'](this['_aiChatUi'],'addUrlToContext',(_0x21bd70,_0x2d205a)=>{this['activeConversation']?.['addUrlToContext'](_0x2d205a);}),this['listenTo'](this['_aiChatUi'],'executeCustomItemCallback',(_0x26c893,_0x370653)=>{_0x370653['callback'](this['context']);}),this['listenTo'](this['_aiChatUi'],'addResourceToContext',(_0x1fa8cf,_0x4bd9f3)=>{this['activeConversation']?.['addResourceToContext'](_0x4bd9f3['source'],_0x4bd9f3['resource']);}),this['listenTo'](this['_aiChatUi'],'removeContextItem',(_0x521582,_0x3a39a1)=>{this['_removeFromContext'](_0x3a39a1);}),this['listenTo'](this['_aiChatUi'],'loadSourceResources',(_0x15bb44,_0x2f37f6)=>{this['activeConversation']?.['loadSourceResources'](_0x2f37f6['sourceId'],_0x2f37f6['query'],_0x2f37f6['uid']);}),this['listenTo'](this['_aiChatUi'],'toggleWebSearch',()=>{this['_toggleWebSearch']();}),this['listenTo'](this['_aiChatUi'],'toggleReasoning',()=>{this['_toggleReasoning']();}),this['listenTo'](this['_aiChatUi'],'selectModel',(_0x4a01c9,_0x5ea503)=>{this['activeConversation']?.['setModel'](_0x5ea503);}),this['listenTo'](this['_aiChatUi'],'like',(_0x16e4b4,{replyId:_0x543076})=>{console['log']('Liked\x20response',_0x543076);}),this['listenTo'](this['_aiChatUi'],'dislike',(_0x222f83,{replyId:_0x28e320})=>{console['log']('Disliked\x20response',_0x28e320);}),this['listenTo'](this['_aiChatUi'],'insertSuggestion',(_0x5afbfd,_0x1550f9)=>{this['_insertSuggestion'](_0x1550f9);}),this['listenTo'](this['_aiChatUi'],'showChangeInText',(_0x32e294,{replyId:_0x2e8a59,partIndex:_0x4174b8})=>{this['_aiChatBalloonShowDiff']=this['_aiChatUi']['showDiff'],this['_openBalloonFor'](_0x2e8a59,_0x4174b8);}),this['listenTo'](this['_aiChatUi'],'mouseOverSuggestion',(_0x2137ee,{replyId:_0x13b168,partIndex:_0x171bdd})=>{const _0x4e9551=this['_getDocumentRangeForReplyChanges'](_0x13b168,_0x171bdd);_0x4e9551&&'$graveyard'!=_0x4e9551['range']['root']['rootName']&&this['_aiEditing']['showFakeVisualSelection']([_0x4e9551['range']],'ai-chat-controller-mouse-over');}),this['listenTo'](this['_aiChatUi'],'mouseLeaveSuggestion',()=>{this['_aiEditing']['hideFakeVisualSelection']('ai-chat-controller-mouse-over');}),this['listenTo'](this['_aiChatUi'],'applySuggestion',(_0x5cdee0,_0x400a49)=>{this['_aiEditing']['hideFakeVisualSelection']('ai-chat-controller-mouse-over'),this['_applySuggestion'](_0x400a49);}),this['listenTo'](this['_aiChatUi'],'toggleSuggestionDisplayMode',async(_0x52a229,{replyId:_0x13aa83,showDiff:_0x591648})=>{const {reply:_0x306269}=this['getInteractionAndReplyById'](_0x13aa83),_0x2271f9=_0x306269['getContentParts']({'showDiff':_0x591648});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0x306269['id'],'parts':_0x2271f9,'renderingStrategy':'static'});}),this['listenTo'](this['_aiChatUi'],'rejectSuggestion',(_0x35ac7d,{replyId:_0x1cd820,partIndex:_0x372629})=>{this['_rejectSuggestion']({'replyId':_0x1cd820,'partIndex':_0x372629}),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:_0x19bfa5,partIndex:_0x423970}=this['_currentPreviewedChangeGroup'];this['_aiChatBalloonShowDiff']=!this['_aiChatBalloonShowDiff'];const {reply:_0x1577eb}=this['getInteractionAndReplyById'](_0x19bfa5),_0x1fda86=_0x1577eb['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff'],'groupIndex':_0x423970});this['_aiChatBalloon']['updateContent']({'part':_0x1fda86[0x0],'renderingStrategy':'static','keepErrors':!0x0});}),this['listenTo'](this['_aiChatBalloon'],'applySuggestion',()=>{const {replyId:_0x391d4f,partIndex:_0x18187c}=this['_currentPreviewedChangeGroup'];this['_applySuggestion']({'replyId':_0x391d4f,'partIndex':_0x18187c}),this['_aiChatBalloon']['setState']('accepted');}),this['listenTo'](this['_aiChatBalloon'],'insertSuggestion',()=>{const {replyId:_0x119938,partIndex:_0x459861}=this['_currentPreviewedChangeGroup'];this['_insertSuggestion']({'replyId':_0x119938,'partIndex':_0x459861}),this['_aiChatBalloon']['setState']('accepted');}),this['listenTo'](this['_aiChatBalloon'],'rejectSuggestion',()=>{const {replyId:_0xf8ffa8,partIndex:_0x473f10}=this['_currentPreviewedChangeGroup'];this['_rejectSuggestion']({'replyId':_0xf8ffa8,'partIndex':_0x473f10}),this['_aiChatBalloon']['setState']('rejected');}),this['listenTo'](this['_aiChatBalloon'],'showNext',()=>{const {replyId:_0x474b74,partIndex:_0x325da5}=this['_currentPreviewedChangeGroup'],_0x5ad2fc=this['_getPresentableSiblingContentPartIndex'](_0x474b74,_0x325da5,'next');null!==_0x5ad2fc&&this['_openBalloonFor'](_0x474b74,_0x5ad2fc);}),this['listenTo'](this['_aiChatBalloon'],'showPrevious',()=>{const {replyId:_0x59927a,partIndex:_0x3d6334}=this['_currentPreviewedChangeGroup'],_0x3d38cf=this['_getPresentableSiblingContentPartIndex'](_0x59927a,_0x3d6334,'previous');null!==_0x3d38cf&&this['_openBalloonFor'](_0x59927a,_0x3d38cf);}),this['listenTo'](this['_aiChatBalloon'],'dialogClosed',(_0x44078f,{id:_0x4cf369})=>{if('aiChatBalloon'!==_0x4cf369)return;const {replyId:_0x3617a1,partIndex:_0x5b1050}=this['_currentPreviewedChangeGroup'];this['_currentPreviewedChangeGroup']=null,this['_aiChatUi']['setFeedItemAIReplySuggestionPartActive']({'id':_0x3617a1,'index':_0x5b1050,'isActive':!0x1});}));}async['afterInit'](){this['context']instanceof ckeditor5['Editor']?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x4472db,_0xe86a3)=>{_0xe86a3['on']('ready',()=>{this['_integrateEditor'](_0xe86a3);});});const _0x5b2caf=this['context']['config']['get']('ai.chat.initialConversation');let _0x544ed1=_0x5b2caf;if('lastCreated'!=_0x5b2caf||(_0x544ed1=await this['_getLastCreatedConversationId'](),_0x544ed1))return'new'==_0x544ed1?this['_startConversationSafely']():this['loadConversation'](_0x544ed1);}async['destroy'](){return await this['_stopLastInteraction'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}['_insertSuggestion'](_0x3a0402){const _0x37945d=getEditorFromContext(this['context']);if(!_0x37945d['plugins']['has']('TrackChanges'))throw new ckeditor5['CKEditorError']('ai-no-track-changes',null);const _0x41bb86=this['context']['plugins']['get']('DocumentCompare'),{reply:_0x81d75b,interaction:_0x17d1cd}=this['getInteractionAndReplyById'](_0x3a0402['replyId']),_0x54f446=this['_getDocumentRangeForReplyChanges'](_0x3a0402['replyId'],_0x3a0402['partIndex']),_0x3d4bf7=void 0x0!==_0x3a0402['partIndex']?[_0x81d75b['changeGroups'][_0x3a0402['partIndex']]]:_0x81d75b['changeGroups']['filter'](_0x4cc6b9=>'pending'==_0x4cc6b9['state']),_0x1edc04=_0x3d4bf7['map'](_0xd4ffdb=>_0x81d75b['changeGroups']['indexOf'](_0xd4ffdb));if(!_0x54f446||'$graveyard'==_0x54f446['range']['root']['rootName'])return void _0x1edc04['forEach'](_0xdd0184=>_0x81d75b['setChangeGroupState'](_0xdd0184,'outdated'));_0x1edc04['forEach'](_0xe6a7d9=>_0x81d75b['setChangeGroupState'](_0xe6a7d9,'accepted'));const _0x5a1122=getOperationsFromReply({'editor':_0x37945d,'reply':_0x81d75b,'interaction':_0x17d1cd,'groups':_0x3d4bf7,'transform':!0x0,'documentCompare':_0x41bb86,'documentCompareOptions':{'anchor':'main','markDeletions':!0x0}});let _0x323534;_0x54f446&&this['_scrollToSuggestionRange'](_0x54f446['range']),_0x37945d['model']['change'](_0x13ab1d=>{_0x323534=_0x13ab1d['batch'],_0x37945d['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x5a1122),this['_aiEditing']['hideFakeVisualSelection']('ai-chat-controller-mouse-over');}),this['_batchToChanges']['set'](_0x323534,{'interactionId':_0x17d1cd['id'],'replyId':_0x81d75b['id'],'indexes':_0x1edc04['slice']()}),this['_updateRatings'](_0x81d75b);}['_applySuggestion'](_0x2e0c78){const _0x1e4c7a=getEditorFromContext(this['context']),_0x10530d=this['context']['plugins']['get'](DocumentCompare),{reply:_0x43e26a,interaction:_0x504942}=this['getInteractionAndReplyById'](_0x2e0c78['replyId']),_0x552cca=this['_getDocumentRangeForReplyChanges'](_0x2e0c78['replyId'],_0x2e0c78['partIndex']),_0x384acd=void 0x0!==_0x2e0c78['partIndex']?[_0x43e26a['changeGroups'][_0x2e0c78['partIndex']]]:_0x43e26a['changeGroups']['filter'](_0x112724=>'pending'==_0x112724['state']),_0x253fc5=_0x384acd['map'](_0x2f883b=>_0x43e26a['changeGroups']['indexOf'](_0x2f883b));if(!_0x552cca||'$graveyard'==_0x552cca['range']['root']['rootName'])return void _0x253fc5['forEach'](_0x34616c=>_0x43e26a['setChangeGroupState'](_0x34616c,'outdated'));_0x253fc5['forEach'](_0x482b75=>_0x43e26a['setChangeGroupState'](_0x482b75,'accepted'));const _0x271c33=getOperationsFromReply({'editor':_0x1e4c7a,'reply':_0x43e26a,'interaction':_0x504942,'groups':_0x384acd,'transform':!0x0,'documentCompare':_0x10530d,'documentCompareOptions':{'anchor':'main','markDeletions':!0x1}});let _0x3903d1;_0x552cca&&this['_scrollToSuggestionRange'](_0x552cca['range']),_0x1e4c7a['model']['change'](_0x20f1a4=>{_0x3903d1=_0x20f1a4['batch'];for(const _0x4bd35f of _0x271c33)_0x4bd35f['baseVersion']=_0x1e4c7a['model']['document']['version'],fixMarkerOperationOldRange(_0x1e4c7a,_0x4bd35f),_0x20f1a4['batch']['addOperation'](_0x4bd35f),_0x1e4c7a['model']['applyOperation'](_0x4bd35f);}),this['_batchToChanges']['set'](_0x3903d1,{'interactionId':_0x504942['id'],'replyId':_0x43e26a['id'],'indexes':_0x253fc5['slice']()}),this['_updateRatings'](_0x43e26a);}['_rejectSuggestion'](_0x5a1444){const {reply:_0x48e915}=this['getInteractionAndReplyById'](_0x5a1444['replyId']);_0x48e915['setChangeGroupState'](_0x5a1444['partIndex'],'rejected');}['_openBalloonFor'](_0x28453f,_0x237d9d){if(!this['_aiChatBalloon'])return;const {reply:_0x2759c8}=this['getInteractionAndReplyById'](_0x28453f),_0x578883=_0x2759c8['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff']});let _0x2cfea1,_0x24f436;if(void 0x0!==_0x237d9d?(_0x24f436=_0x578883['find'](_0x59635b=>_0x59635b['index']==_0x237d9d),_0x2cfea1=_0x24f436?.['index']):(_0x24f436=_0x578883[0x0],_0x2cfea1=_0x24f436['index']),this['_currentPreviewedChangeGroup']?.['replyId']==_0x28453f&&this['_currentPreviewedChangeGroup']?.['partIndex']==_0x2cfea1)return;const _0x7ab67=this['_getUserPresentableContentPartDocumentRange'](_0x28453f,_0x2759c8,_0x24f436);if(!_0x7ab67)return void this['_aiChatBalloon']['close']();this['_currentPreviewedChangeGroup']={'replyId':_0x28453f,'partIndex':_0x2cfea1},this['_scrollToSuggestionRange'](_0x7ab67,!0x0);const _0x3d2837=this['_getPresentableSiblingContentPartIndex'](_0x28453f,_0x2cfea1,'next');this['_aiChatBalloon']['updateContent']({'part':_0x24f436,'renderingStrategy':'static'}),this['_aiChatBalloon']['open']({'index':_0x2cfea1,'title':getTranslation$i(this['context']['locale'],'AI_BALLOON_HEADER_TITLE',(_0x2cfea1+0x1)['toString']()),'showRotator':null!==_0x3d2837,'ranges':[_0x7ab67],'areActionsDisabled':_0x2759c8['areActionsDisabled']}),this['_aiChatBalloon']['setState']('pending'),this['_aiChatUi']['scrollFeedToSuggestion'](_0x28453f,_0x2cfea1),this['_aiChatUi']['setFeedItemAIReplySuggestionPartActive']({'id':_0x28453f,'index':_0x2cfea1,'isActive':!0x0});}['_getPresentableSiblingContentPartIndex'](_0x37c81b,_0x268408,_0x466a79){const {reply:_0x282e87}=this['getInteractionAndReplyById'](_0x37c81b),_0xc2ca4a=_0x282e87['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff']});if(0x1==_0xc2ca4a['length'])return null;const _0x11ef7e=_0xc2ca4a['findIndex'](_0xbafc74=>_0xbafc74['index']==_0x268408),_0x289d03='next'==_0x466a79?0x1:-0x1;let _0x8751e1=_0xc2ca4a['at']((_0x11ef7e+_0x289d03)%_0xc2ca4a['length'])['index'],_0x4924b8=_0xc2ca4a[_0x8751e1];for(;!this['_getUserPresentableContentPartDocumentRange'](_0x37c81b,_0x282e87,_0x4924b8);){if(_0x8751e1=_0xc2ca4a['at']((_0x8751e1+_0x289d03)%_0xc2ca4a['length'])['index'],_0x8751e1===_0x11ef7e)return null;_0x4924b8=_0xc2ca4a[_0x8751e1];}return _0x8751e1;}['_getUserPresentableContentPartDocumentRange'](_0x5c6cc5,_0x37880c,_0x536b8f){const _0x4cd86c=_0x37880c['changeGroups'];if(!_0x536b8f['hasChanges'])return null;const _0x357548=_0x4cd86c['find'](_0x1975d6=>_0x1975d6['index']==_0x536b8f['index']);if('pending'!==_0x357548?.['state'])return null;const _0x5173e8=this['_getDocumentRangeForReplyChanges'](_0x5c6cc5,_0x536b8f['index']);if(!_0x5173e8)return null;const {range:_0x56ae7c,currentIndex:_0x2256db}=_0x5173e8;return'$graveyard'==_0x56ae7c['root']['rootName']?(_0x37880c['setChangeGroupState'](_0x2256db,'outdated'),null):_0x5173e8['range'];}['_getDocumentRangeForReplyChanges'](_0x1e0952,_0x589e26){const _0x374c26=getEditorFromContext(this['context']),{reply:_0x3add78,interaction:_0x37a84a}=this['getInteractionAndReplyById'](_0x1e0952),_0x2539cc=_0x3add78['changeGroups']['filter'](_0x569570=>'pending'==_0x569570['state']),_0x59a2c2=_0x2539cc['map'](_0x1aee82=>_0x3add78['changeGroups']['indexOf'](_0x1aee82));void 0x0===_0x589e26&&(_0x589e26=_0x59a2c2[0x0]);const _0x2dc0dd=_0x59a2c2['indexOf'](_0x589e26);if(-0x1==_0x2dc0dd)return null;const _0x1ed990=_0x2539cc[_0x2dc0dd],_0x27f539=new Document([]),_0x179e4f=new Document([]);for(const _0x9030d3 of _0x1ed990['changes'])if('removed'!=_0x9030d3['type']&&_0x179e4f['children']['push'](_0x9030d3['node']['cloneNode'](!0x0)),'new'!=_0x9030d3['type']){const _0x274aea=_0x8bbd72(_0x541426=>getAttribute(_0x541426,'data-id')==_0x9030d3['id'],_0x3add78['documentContextContent'],!0x0);_0x27f539['children']['push'](_0x274aea['cloneNode'](!0x0));}if(0x0==_0x27f539['children']['length']){if(_0x1ed990['changes'][0x0]['anchorId']){const _0x12f73f=findByAttribute('data-id',_0x1ed990['changes'][0x0]['anchorId'],_0x3add78['documentContextContent']);_0x27f539['children']['unshift'](_0x12f73f['cloneNode'](!0x0)),_0x179e4f['children']['unshift'](_0x12f73f['cloneNode'](!0x0)),_0x12f73f['nextSibling']&&(_0x27f539['children']['push'](_0x12f73f['nextSibling']['cloneNode'](!0x0)),_0x179e4f['children']['push'](_0x12f73f['nextSibling']['cloneNode'](!0x0)));}else{const _0x19fff4=_0x3add78['documentContextContent']['children'][0x0];if(!_0x19fff4)return null;_0x27f539['children']['push'](_0x19fff4['cloneNode'](!0x0)),_0x179e4f['children']['push'](_0x19fff4['cloneNode'](!0x0));}}const _0x413457=_0x37a84a['getDocumentContext'](),_0xd3d169=_0x374c26['data']['parse'](_0x413457['content']),_0x17bdfd=_0x124bee(_0x27f539),_0xd4efd9=_0x374c26['data']['parse'](_0x17bdfd),_0x5cbb84=_0x374c26['data']['parse'](_0x17bdfd),_0x30994e=_0x374c26['model']['createPositionAt'](_0xd4efd9,0x0),_0x243e81=_0x124bee(_0x179e4f),_0x49b572={'anchor':_0x30994e,'markDeletions':!0x1},_0x5a7337=_0x374c26['plugins']['get'](DocumentCompare)['getDiff'](_0x17bdfd,_0x243e81,_0x49b572)['getOperations']();if(!_0x5a7337['length'])return null;_0x374c26['model']['change'](_0x4a9752=>{for(const _0x2280cc of _0x5a7337)if('remove'==_0x2280cc['type']){const _0x3c5fb9=_0x2280cc['sourcePosition'],_0x3eada8=_0x2280cc['howMany'],_0xbfee57=new ckeditor5['_DetachOperation'](_0x3c5fb9,_0x3eada8);_0x4a9752['batch']['addOperation'](_0xbfee57),_0x374c26['model']['applyOperation'](_0xbfee57);}else'marker'!==_0x2280cc['type']&&(_0x2280cc['baseVersion']=null,_0x2280cc['isDocumentOperation']=!0x1,_0x4a9752['batch']['addOperation'](_0x2280cc),_0x374c26['model']['applyOperation'](_0x2280cc));});const _0xef4c96=getMinimalSelection(_0x374c26,_0x5a7337,_0xd4efd9);expandSelectionWithContext(_0x374c26['model'],_0xef4c96);const _0x5be8c9=_0xef4c96['getFirstRange']()['start']['path']['slice'](),_0x4442b9=_0xef4c96['getFirstRange']()['end']['path']['slice'](),_0x5cd6fb=[];let _0x1e2fbc=_0xd4efd9,_0x26e23c=_0x5cbb84;for(let _0x437399=0x0;_0x437399<_0x4442b9['length'];_0x437399++){const _0x10a2b9=_0x1e2fbc['maxOffset']-_0x4442b9[_0x437399];_0x5cd6fb[_0x437399]=_0x26e23c['maxOffset']-_0x10a2b9,_0x1e2fbc=_0x1e2fbc['getChildAtOffset'](_0x4442b9[_0x437399]),_0x26e23c=_0x26e23c['getChildAtOffset'](_0x5cd6fb[_0x437399]);}const _0x67b570=_0x374c26['model']['createRange'](_0x374c26['model']['createPositionFromPath'](_0x5cbb84,_0x5be8c9),_0x374c26['model']['createPositionFromPath'](_0x5cbb84,_0x5cd6fb)),_0x3b3044=_0x5cbb84['getChild'](0x0)['getAttribute'](_0x323f49),_0x24d379=Array['from'](_0xd3d169['getChildren']())['find'](_0x4b6865=>_0x4b6865['getAttribute'](_0x323f49)==_0x3b3044)['getPath'](),_0x31d3e7=_0x67b570['start']['path']['slice'](),_0x1fb9e8=_0x67b570['end']['path']['slice']();_0x31d3e7[0x0]=_0x24d379[0x0]+_0x31d3e7[0x0],_0x1fb9e8[0x0]=_0x24d379[0x0]+_0x1fb9e8[0x0];let _0x48d24d=_0x374c26['model']['createRange'](_0x374c26['model']['createPositionFromPath'](_0x374c26['model']['document']['getRoot'](),_0x31d3e7),_0x374c26['model']['createPositionFromPath'](_0x374c26['model']['document']['getRoot'](),_0x1fb9e8));const _0x413d38=_0x374c26['model']['document']['history']['getOperations'](_0x413457['version']);for(const _0x2bc4d1 of _0x413d38)_0x48d24d=ckeditor5['ModelRange']['_createFromRanges'](_0x48d24d['getTransformedByOperation'](_0x2bc4d1));return{'range':_0x48d24d,'currentIndex':_0x589e26};}['_integrateEditor'](_0x4bc636){if(!_0x4bc636['plugins']['has']('Undo'))return;const _0x33ade7=_0x4bc636['commands']['get']('undo'),_0x203659=_0x4bc636['commands']['get']('redo');this['listenTo'](_0x33ade7,'revert',(_0x95b61c,_0x8473be,_0x3524ac)=>{const _0x1765c5=this['_batchToChanges']['get'](_0x8473be);if(!_0x1765c5)return;const _0x21b775=this['activeConversation']['getInteraction'](_0x1765c5['interactionId'])['getReply'](_0x1765c5['replyId']);_0x1765c5['indexes']['forEach'](_0x43f9a9=>_0x21b775['setChangeGroupState'](_0x43f9a9,'pending')),this['_batchToChanges']['delete'](_0x8473be),this['_batchToChanges']['set'](_0x3524ac,_0x1765c5);}),this['listenTo'](_0x203659,'revert',(_0x98c42f,_0x259327,_0x1a019e)=>{const _0x535a79=this['_batchToChanges']['get'](_0x259327);if(!_0x535a79)return;const _0x44cf40=this['activeConversation']['getInteraction'](_0x535a79['interactionId'])['getReply'](_0x535a79['replyId']);_0x535a79['indexes']['forEach'](_0x194232=>_0x44cf40['setChangeGroupState'](_0x194232,'accepted')),this['_batchToChanges']['delete'](_0x259327),this['_batchToChanges']['set'](_0x1a019e,_0x535a79);});}async['loadConversation'](_0x223ed0){this['context']['plugins']['has']('AIChatBalloon')&&this['context']['plugins']['get']('AIChatBalloon')['close'](),(this['context']['plugins']['get'](_0x2afc5c)['view']['activateTab']('chat'),this['_aiChatUi']['setFeedItemRenderingStrategy']('static'),this['_aiChatUi']['toggleLoadingSkeleton'](!0x0),await this['_stopLastInteraction']());try{await this['_aiConnector']['fetchConversation'](_0x223ed0)['getConversation'](),await this['_startConversationSafely'](_0x223ed0),this['updateConversationTitle']('\x20'),await this['activeConversation']['load'](_0x223ed0,this['_aiEditing']['sessionId']),this['activeConversation']['isCurrentDocumentInConversation']()&&this['addCurrentDocumentToChatContext']();}catch(_0x4e27d8){this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION'),'id':_0x223ed0}),this['_logError'](new ckeditor5['CKEditorError']('ai-chat-conversation-not-found',this,{'error':_0x4e27d8}));}finally{this['_aiChatUi']['startAutoScroll'](),this['_aiChatUi']['setFeedItemRenderingStrategy']('streaming'),this['_aiChatUi']['toggleLoadingSkeleton'](!0x1);}}async['_getLastCreatedConversationId'](){const _0x2e3531=this['_aiConnector']['fetchConversations'](this['getGroupId'](),{'limit':0x1,'sortBy':'createdAt'});try{const _0x2c46ba=await _0x2e3531['getConversations']();return _0x2c46ba['length']?_0x2c46ba[0x0]['id']:'new';}catch(_0xb5db8a){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':_0xb5db8a})),this['_aiChatUi']['toggleLoadingSkeleton'](!0x1),this['_aiChatUi']['disableControls'](),null;}}['handleRemovedConversation'](_0x4d23c1){this['activeConversation']['id']===_0x4d23c1&&this['_startConversationSafely']();}['addCurrentDocumentToChatContext'](){this['activeConversation']?.['addCurrentDocumentToContext'](getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'));}async['addSelectionToChatContext'](){const _0x504741=this['_aiEditing']['getSelectionText']();this['activeConversation']?.['addSelectionToContext'](_0x504741),this['addCurrentDocumentToChatContext']();}['removeSelectionFromChatContext'](){this['activeConversation']?.['removeSelectionFromContext']();}['focusPromptInput'](){this['_aiChatUi']['focusPromptInput']();}async['startConversation'](){await this['_startConversationSafely']();}async['sendMessage']({message:_0x4ba329,attributes:_0x4d4e68}){await this['_handleUIUserMessage']({'userMessage':_0x4ba329,'attributes':_0x4d4e68});}['getGroupId'](){const _0x56919a=this['context']['config']['get']('collaboration.channelId');if(!_0x56919a)throw new ckeditor5['CKEditorError']('ai-chat-missing-channel-id',this);return _0x56919a;}async['_startConversationSafely'](_0xe44644){try{this['_aiChatUi']['enableControls'](),await this['_handleStartConversation'](_0xe44644);}catch(_0x48c256){this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_UNABLE_TO_START_CONVERSATION'),'id':_0xe44644||ckeditor5['uid']()}),console['error'](_0x48c256),this['activeConversation']=void 0x0,this['_aiChatUi']['disableControls']();}}async['_handleStartConversation'](_0x2343b9){let _0xb10ac;this['context']['plugins']['has']('AIChatBalloon')&&this['context']['plugins']['get']('AIChatBalloon')['close'](),_0x2343b9||!this['activeConversation']?_0xb10ac=this['context']['config']['get']('ai.models.defaultModelId'):this['_aiChatUi']['isModelAvailable']&&(_0xb10ac=this['activeConversation']['selectedModel']['id']),await this['_stopLastInteraction']();const _0x396199=this['getGroupId'](),_0x5a5531=_0x2343b9||ckeditor5['uid']();this['activeConversation']=new AIChatConversation({'connector':this['_aiConnector'],'chatModels':this['_aiChatModels'],'selectedModelId':_0xb10ac,'conversationId':_0x5a5531,'group':_0x396199,'getEditor':()=>getEditorFromContext(this['context']),'isFromHistory':!!_0x2343b9}),this['activeConversation']['delegate']('toolDataReceived','interactionStarted')['to'](this),this['activeConversation']['on']('conversationInitialized',(_0x1eb36a,_0x50d98c)=>{this['_aiChatUi']['createConversation'](_0x50d98c),this['_aiChatUi']['resetMessageInput'](),this['_aiChatUi']['clearPendingContextUI'](),this['_aiChatUi']['clearConversationContextUI'](),_0x2343b9||(this['_aiChatUi']['resetConversationTitle'](),this['addCurrentDocumentToChatContext']());}),this['activeConversation']['on']('uploadProgressChanged',(_0x15487e,_0x48e2ed)=>{this['_aiChatUi']['setIsUploadInProgress'](_0x48e2ed['isUploadInProgress']);}),this['activeConversation']['on']('interactionCreated',(_0x241f16,_0x10b7df)=>{this['_aiChatUi']['addFeedItemUserMessage'](_0x10b7df);}),this['activeConversation']['on']('webSearchStarted',()=>{const _0x5251a3=this['_aiChatUi']['prepareLoadingMessage']({'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});this['_aiChatUi']['setLoadingMessage'](_0x5251a3);}),this['activeConversation']['on']('reasoningStarted',()=>{const _0x12b072=this['_aiChatUi']['prepareLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});this['_aiChatUi']['setLoadingMessage'](_0x12b072);}),this['activeConversation']['on']('webSearchFinished',(_0x1c0e93,_0x14c500)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0x14c500,{'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this['activeConversation']['on']('reasoningFinished',(_0x487505,_0x5ced5c)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0x5ced5c,{'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this['activeConversation']['on']('interactionStarted',()=>{this['_aiChatUi']['startInteraction']();}),this['activeConversation']['on']('interactionFinished',async()=>{await this['_aiChatUi']['finishInteraction']();}),this['activeConversation']['on']('interactionDestroyed',(_0x1e8f48,_0x68f58a)=>{this['_aiChatUi']['removeFeedInteraction'](_0x68f58a['id']);}),this['activeConversation']['on']('setConversationTitle',(_0x5e6ebd,_0x14451b,_0x41561c)=>{this['updateConversationTitle'](_0x14451b,_0x41561c);}),this['activeConversation']['on']('replyCreated',(_0x57b1bb,_0xfe1372)=>{'text'===_0xfe1372['type']?this['_aiChatUi']['addFeedItemAIReply'](_0xfe1372):this['_aiChatUi']['addFeedItemAISuggestion'](_0xfe1372);}),this['activeConversation']['on']('replyContentUpdated',async(_0x1a22e6,_0x534b44)=>{await this['_updateReplyContent']({'reply':_0x534b44});}),this['activeConversation']['on']('replyChangeGroupStateUpdated',(_0x27268a,{reply:_0x1e04b3,index:_0x3705e9,state:_0x11ad2f})=>{this['_aiChatUi']['updateFeedItemAIReplySuggestionPartState']({'id':_0x1e04b3['id'],'index':_0x3705e9,'state':_0x11ad2f}),this['_currentPreviewedChangeGroup']?.['replyId']['includes'](_0x1e04b3['id'])&&this['_currentPreviewedChangeGroup']?.['partIndex']==_0x3705e9&&this['_aiChatBalloon']?.['setState'](_0x11ad2f);}),this['activeConversation']['on']('contextItemAdded',(_0x19dd48,_0x1024bb)=>{if(this['_aiChatUi']['addContextItem'](_0x1024bb['contextItem'],_0x1024bb['isLoading']),'selection'===_0x1024bb['contextItem']['type']){const _0x2eb102=[...getEditorFromContext(this['context'])['model']['document']['selection']['getRanges']()];this['_aiEditing']['showFakeVisualSelection'](_0x2eb102,'ai-conversation-'+this['activeConversation']?.['id']);}}),this['activeConversation']['on']('contextItemRemoved',(_0xc7accc,_0x1fe5f7)=>{this['_aiChatUi']['removeContextItem'](_0x1fe5f7['uiId']),'current-document'==_0x1fe5f7['uiId']&&this['removeSelectionFromChatContext'](),'selection'===_0x1fe5f7['type']&&this['_aiEditing']['hideFakeVisualSelection']('ai-conversation-'+this['activeConversation']?.['id']);}),this['activeConversation']['on']('contextItemLoadingEnded',(_0x2fce70,_0x5f0d1d)=>{this['_aiChatUi']['setContextItemLoading'](_0x5f0d1d['contextItem']['uiId'],_0x5f0d1d['isLoading']);}),this['activeConversation']['on']('contextSent',(_0x110f06,_0x4c3bda)=>{this['_aiChatUi']['setConversationContext'](_0x4c3bda['contextItems']);}),this['activeConversation']['on']('addContextOptionsChanged',(_0x3bcb8c,_0x3fd7f5)=>{this['_aiChatUi']['setAddContextOptions'](_0x3fd7f5['options']);}),this['activeConversation']['on']('sourceResourcesLoaded',(_0x4648b4,_0x1321e6)=>{this['_aiChatUi']['populateSourceResourceBalloon'](_0x1321e6['sourceId'],_0x1321e6['source'],_0x1321e6['resources'],_0x1321e6['uid']);}),this['activeConversation']['on']('resourceStateChanged',(_0xd8224e,_0x4e3f4c)=>{this['_aiChatUi']['updateResourceState'](_0x4e3f4c['sourceId'],_0x4e3f4c['resourceId'],_0x4e3f4c['isInContext']);}),this['activeConversation']['on']('capabilitiesUpdated',(_0x34af95,_0x290a3a)=>{this['_aiChatUi']['updateCapabilities'](_0x290a3a);}),this['activeConversation']['on']('modelSelected',async(_0x2f14a5,_0x4f2d5b)=>{const _0x31f97d=(await this['_aiChatModels']['getAll']())['find'](_0x386450=>_0x386450['id']===_0x4f2d5b['selectedModel']?.['id'])||null;this['_aiChatUi']['setSelectedModel'](_0x31f97d,_0x4f2d5b['isDisabled']);}),this['activeConversation']['on']('error',(_0x1c59fc,{error:_0x591cdf,interactionId:_0x333577,fileName:_0x473345,url:_0x1cb6f,sourceId:_0x3c2e8d,sourceLabel:_0x59bd27})=>{const _0x23127a=_0x333577?_0x333577+':'+ckeditor5['uid']():ckeditor5['uid']();_0x591cdf['message']['startsWith']('ai-request-aborted')?this['_aiChatUi']['addFeedItemStaticMessage']({'staticMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_ABORTED_MESSAGE'),'id':_0x23127a}):_0x591cdf['message']['startsWith']('ai-chat-conversation-init-failed')||_0x591cdf['message']['startsWith']('ai-chat-conversation-start-failed')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_UNABLE_TO_START_CONVERSATION'),'id':_0x23127a}),this['_logError'](_0x591cdf)):_0x591cdf['message']['startsWith']('ai-chat-file-upload-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE',_0x473345),'id':_0x23127a}):_0x591cdf['message']['startsWith']('ai-chat-url-upload-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL',_0x1cb6f),'id':_0x23127a}):_0x591cdf['message']['startsWith']('ai-chat-context-invalid-data')?this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_INVALID_DATA'),'id':_0x23127a}):_0x591cdf['message']['startsWith']('ai-chat-context-unsupported-type')?this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_UNSUPPORTED_TYPE'),'id':_0x23127a}):_0x591cdf['message']['startsWith']('ai-chat-source-resources-load-failed')?(_0x3c2e8d&&this['_aiChatUi']['closeSourceResourceBalloon'](_0x3c2e8d),this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES',_0x59bd27||'source'),'id':_0x23127a}),this['_logError'](_0x591cdf)):_0x591cdf['message']['startsWith']('ai-chat-resource-load-failed')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_RESOURCE_LOAD_FAILED'),'id':_0x23127a}),this['_logError'](_0x591cdf)):_0x591cdf['message']['startsWith']('ai-chat-invalid-request')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_INVALID_REQUEST'),'id':_0x23127a}),this['_logError'](_0x591cdf)):_0x591cdf['message']['startsWith']('ai-chat-context-unsupported-file-type')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE'),'id':_0x23127a}),this['_logError'](_0x591cdf)):_0x591cdf['message']['startsWith']('ai-chat-context-file-too-large')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_FILE_TOO_LARGE'),'id':_0x23127a}),this['_logError'](_0x591cdf)):_0x591cdf['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':_0x23127a}),this['_logError'](_0x591cdf)):_0x591cdf['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':_0x23127a}),this['_logError'](_0x591cdf)):(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_GENERIC_ERROR'),'id':_0x23127a}),this['_logError'](_0x591cdf));}),await this['activeConversation']['init'](this['context']['config']['get']('ai.chat.context')),_0x2343b9||await this['activeConversation']['start']();}async['_handleUIUserMessage']({userMessage:_0x2b36fb,attributes:_0x158cf6}){if(!this['activeConversation'])throw new ckeditor5['CKEditorError']('ai-chat-controller-no-active-conversation');if(this['activeConversation']['isCurrentDocumentInContext']()){const _0x5752c4=await this['_aiEditing']['getDocumentData']();await this['activeConversation']['updateCurrentDocumentInContext'](_0x5752c4);}this['activeConversation']['id']&&this['activeConversation']['isStarted']&&await this['activeConversation']['handleUserInteraction']({'userMessage':_0x2b36fb,'attributes':_0x158cf6});}['_showConversationHistory'](){console['log']('Showing\x20conversation\x20history...');}['_setIsMaximized'](_0x6d165){this['_aiChatUi']['setIsMaximized'](_0x6d165);}['_logError'](_0x40a6e7){ckeditor5['logError'](_0x40a6e7['message']);}['_removeFromContext'](_0x5cb525){this['activeConversation']?.['removeFromContext'](_0x5cb525);}['_toggleWebSearch'](){this['activeConversation']?.['toggleWebSearch']();}['_toggleReasoning'](){this['activeConversation']?.['toggleReasoning']();}['getInteractionAndReplyById'](_0x5f1297){const [_0x42a8a9,_0x391f40]=_0x5f1297['split'](':'),_0x3be550=this['activeConversation']['getInteraction'](_0x42a8a9),_0x51cb11=_0x3be550['getReply'](_0x391f40);return{'interaction':_0x3be550,'reply':_0x51cb11};}['_scrollToSuggestionRange'](_0x281b12,_0x534873=!0x1){const _0x5533fc=getEditorFromContext(this['context']),_0x42241a={'target':_0x5533fc['editing']['view']['domConverter']['viewRangeToDom'](_0x5533fc['editing']['mapper']['toViewRange'](_0x281b12)),'viewportOffset':{'top':0x96,'left':0x0,'bottom':0x32,'right':0x0},'ancestorOffset':0x14,'alignToTop':_0x534873};_0x534873&&(_0x42241a['alignToTop']=!0x0),ckeditor5['scrollViewportToShowTarget'](_0x42241a);}['updateConversationTitle'](_0x15597c,_0x4e3ac5=!0x1){this['_aiChatUi']['setConversationTitle'](_0x15597c||getTranslation$i(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),_0x4e3ac5);}async['_updateReplyContent']({reply:_0x2766e5,renderingStrategy:_0x4e6382}){const {id:_0x3500a0,interactionId:_0x23d29c,isDone:_0x8d7040,type:_0x519851,parsedContent:_0x2c1089}=_0x2766e5,_0x100dfc=_0x23d29c+':'+_0x3500a0;if('modification'===_0x519851){const _0x15844d=_0x2766e5['getContentParts']({'showDiff':this['_aiChatUi']['showDiff']});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0x100dfc,'parts':_0x15844d,'renderingStrategy':_0x4e6382,'isDone':_0x8d7040});}else'text'===_0x519851&&await this['_aiChatUi']['updateFeedItemAIReplyContent']({'id':_0x100dfc,'parsedContent':_0x2c1089,'renderingStrategy':_0x4e6382,'isDone':_0x8d7040});_0x8d7040&&_0x2766e5['sources']['length']>0x0&&this['_aiChatUi']['updateFeedItemAIReplySources'](_0x100dfc,_0x2766e5['sources']);}async['_stopLastInteraction'](){const _0x3680fc=this['activeConversation']?.['lastInteraction'];_0x3680fc&&(_0x3680fc['stop'](),this['_aiChatUi']['stopInteraction'](_0x3680fc));}async['_flushLastInteractionUI'](){const _0x3e2849=this['activeConversation']?.['lastInteraction'];if(_0x3e2849){for await(const _0x5dba20 of _0x3e2849['replies'])await this['_updateReplyContent']({'reply':_0x5dba20,'renderingStrategy':'static'});}}['_updateRatings'](_0x8ce9db){const _0x21d33d={'positiveCount':_0x8ce9db['changeGroups']['filter'](_0x47fb8a=>'accepted'===_0x47fb8a['state'])['length'],'totalCount':_0x8ce9db['changeGroups']['length'],'modificationId':_0x8ce9db['id']},_0x5a3773=this['activeConversation']['getInteraction'](_0x8ce9db['interactionId'])['messageId'];_0x5a3773&&this['_aiConnector']['upsertAIChatRating'](this['activeConversation']['id'],_0x5a3773,_0x21d33d);}['_registerToolDataCallback'](_0x1824c9){let _0x265726=null,_0x5964ca=null;this['on']('toolDataReceived',(_0x1243a4,_0x2ed8fa,_0xc521d8)=>{_0xc521d8['id']!==_0x265726&&(_0x265726=_0xc521d8['id'],_0x5964ca=this['_getAIChatInteractionAPI'](_0xc521d8)),_0x1824c9(_0x2ed8fa,_0x5964ca);});}['_getAIChatInteractionAPI'](_0x2c0a9b){const _0x5006df=this['_aiChatUi'],_0x3edc3f=()=>{_0x2c0a9b['resetWebSearchState'](),_0x2c0a9b['resetReasoningState'](),_0x5006df['clearLoadingMessage']();},_0x3bbd24=()=>{_0x2c0a9b['currentReply']&&(_0x2c0a9b['currentReply']['done'](),_0x2c0a9b['currentReply']=void 0x0);};return{'insertTextReply':(_0x267b2b,_0x2ef81d)=>{_0x3bbd24(),_0x3edc3f();const _0x392673=_0x2c0a9b['currentReply']=_0x2c0a9b['createReply']({'type':'text','interactionId':_0x2c0a9b['id'],'content':_0x267b2b,'id':_0x2ef81d||ckeditor5['uid']()});return _0x3bbd24(),_0x392673;},'insertCustomElement':async(_0x4b816b,_0x35cf4f)=>(_0x3bbd24(),_0x3edc3f(),_0x5006df['addFeedItemCustomElement'](_0x4b816b,_0x35cf4f||ckeditor5['uid']())),'setLoadingMessage':_0x35bc34=>{_0x5006df['setLoadingMessage'](_0x35bc34);},'clearLoadingMessage':()=>{_0x5006df['clearLoadingMessage']();}};}}const _0x1385ef='ai-selection';class AIEditing extends ckeditor5['ContextPlugin']{constructor(_0x4ff893){super(_0x4ff893),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 _0x253387=getEditorFromContext(this['context']),_0x5773d5=_0x253387['plugins']['has']('RealTimeCollaborationClient')&&_0x253387['plugins']['get']('RealTimeCollaborationClient')['sessionId'];this['_sessionId']=_0x5773d5||ckeditor5['uid']();}return this['_sessionId'];}async['getDocumentData'](){const _0x2fb547=getEditorFromContext(this['context']),_0x1313d6=_0x2fb547['model'],_0x50ae3b=_0x2fb547['data']['toView'](_0x1313d6['document']['getRoot'](),{'convertAiChatSelectionMarker':!0x0}),_0x13139f=new ckeditor5['ViewDowncastWriter'](_0x2fb547['editing']['view']['document']);this['_setDataIdsOnChildren'](_0x50ae3b,_0x13139f);let _0x2f511e=await this['_getDocumentDataStringFromView'](_0x50ae3b);const _0x54f240=this['_getMarkersInDocumentOrder'](),_0x32b795=[];for(const _0x131d79 of _0x54f240){const _0x3f92d8='<'+_0x131d79['name']+':start></'+_0x131d79['name']+':start>',_0x3d23bf=_0x2f511e['indexOf'](_0x3f92d8);_0x2f511e=_0x2f511e['substring'](0x0,_0x3d23bf)+_0x2f511e['substring'](_0x3d23bf+_0x3f92d8['length']);const _0x244a62='<'+_0x131d79['name']+':end></'+_0x131d79['name']+':end>',_0x2b7893=_0x2f511e['indexOf'](_0x244a62);_0x2f511e=_0x2f511e['substring'](0x0,_0x2b7893)+_0x2f511e['substring'](_0x2b7893+_0x244a62['length']),_0x32b795['push']({'markerName':_0x131d79['name'],'start':_0x3d23bf,'end':_0x2b7893,'htmlFragment':_0x2f511e['substring'](_0x3d23bf,_0x2b7893)});}return{'content':_0x2f511e,'version':_0x2fb547['model']['document']['version'],'sessionId':this['sessionId'],'selections':_0x32b795};}async['afterInit'](){this['context']instanceof ckeditor5['Editor']?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x16877c,_0x12fc5e)=>{_0x12fc5e['on']('ready',()=>{this['_integrateEditor'](_0x12fc5e);});});}['_setOutputDataProcessor'](_0x4baa05){this['_outputDataProcessor']=_0x4baa05;}async['_getDocumentDataStringFromView'](_0xf97de5){let _0x42e349;const _0x704f15=getEditorFromContext(this['context']);if(this['_outputDataProcessor']){const _0x3b6063=_0x704f15['data']['processor']['domConverter']['viewToDom'](_0xf97de5),_0x2d002d=await this['_outputDataProcessor'](_0x3b6063);_0x42e349=_0x704f15['data']['processor']['htmlWriter']['getHtml'](_0x2d002d);}else _0x42e349=_0x704f15['data']['processor']['toData'](_0xf97de5);return _0x42e349;}['_integrateEditor'](_0x1f17d4){_0x1f17d4['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x1385ef,'view':{'classes':['ck-fake-ai-selection','ck-ai-assistant-ui_theme'],'priority':0xc}}),_0x1f17d4['conversion']['for']('dataDowncast')['markerToElement']({'model':_0x1385ef,'view':(_0x5dbeb7,{writer:_0x550aec,options:_0x3ec6a3})=>_0x3ec6a3['convertAiChatSelectionMarker']?_0x550aec['createUIElement'](_0x5dbeb7['markerName']+':'+(_0x5dbeb7['isOpening']?'start':'end')):null});}['showFakeVisualSelection'](_0x2adf71,_0x34a1ff,_0x22a0e7=!0x1,_0x293221=!0x1){if(this['_displayedFakeSelectionLocked']&&!_0x293221)return!0x1;const _0x345f67=getEditorFromContext(this['context'])['model'];return _0x345f67['change'](_0xfb0ddc=>{this['_displayedFakeSelectionId']&&this['hideFakeVisualSelection'](this['_displayedFakeSelectionId']),this['_displayedFakeSelectionId']=_0x34a1ff,this['_displayedFakeSelectionLocked']=_0x22a0e7;let _0x38382b=0x0;for(let _0x300bd8 of _0x2adf71){const _0x740091=_0x1385ef+':'+_0x38382b;if(_0x300bd8['start']['isAtEnd']){const _0x176f23=_0x300bd8['start']['getLastMatchingPosition'](({item:_0x3ca3c6})=>!_0x345f67['schema']['isContent'](_0x3ca3c6),{'boundaries':_0x300bd8});_0x300bd8=_0xfb0ddc['createRange'](_0x176f23,_0x300bd8['end']);}_0xfb0ddc['addMarker'](_0x740091,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x300bd8}),_0x38382b++;}}),window['getSelection']()?.['removeAllRanges'](),!0x0;}['hideFakeVisualSelection'](_0x464519){if(this['_displayedFakeSelectionId']!=_0x464519)return!0x1;this['_displayedFakeSelectionId']=null,this['_displayedFakeSelectionLocked']=!0x1;const _0x184c9a=getEditorFromContext(this['context']),_0x5f2725=_0x184c9a['model']['markers']['getMarkersGroup'](_0x1385ef);return _0x184c9a['model']['change'](_0xe1a569=>{for(const _0x42a0a4 of _0x5f2725)_0xe1a569['removeMarker'](_0x42a0a4);}),!0x0;}async['modelToDataWithIds'](_0x7bc0a3){const _0x45df55=getEditorFromContext(this['context']),_0x4b08fe=_0x45df55['data']['toView'](_0x7bc0a3),_0x22218b=new ckeditor5['ViewDowncastWriter'](_0x45df55['editing']['view']['document']);return this['_setDataIdsOnChildren'](_0x4b08fe,_0x22218b),this['_getDocumentDataStringFromView'](_0x4b08fe);}['_setDataIdsOnChildren'](_0xcd0763,_0x357937){let _0x4a34cd=!0x1;const _0x122e09=new Set();for(const _0x2119f0 of _0xcd0763['getChildren']()){const _0x53da29=_0x2119f0['is']('emptyElement')||_0x2119f0['is']('containerElement');if(!_0x2119f0['is']('element'))continue;(this['_setDataIdsOnChildren'](_0x2119f0,_0x357937)||_0x53da29)&&(_0x357937['setAttribute']('data-id',this['_nextDataId'](_0x122e09),_0x2119f0),_0x4a34cd=!0x0);}return _0x4a34cd;}['_nextDataId'](_0xd5f9cc){let _0x55a19a;do{_0x55a19a='';for(let _0x13e913=0x0;_0x13e913<0x4;_0x13e913++)_0x55a19a+=String['fromCharCode'](0x61+Math['floor'](0x1a*Math['random']()));}while(_0xd5f9cc['has'](_0x55a19a));return _0xd5f9cc['add'](_0x55a19a),_0x55a19a;}['getSelectionText'](){const {model:_0x2846f9}=getEditorFromContext(this['context']),_0x45b016=_0x2846f9['document']['selection'],_0x3e93c2=[];for(const _0x2720d4 of _0x45b016['getRanges']())for(const _0x18fa62 of _0x2720d4['getItems']())_0x18fa62['is']('$textProxy')?_0x3e93c2['push'](_0x18fa62['data']):_0x18fa62['is']('element')&&_0x3e93c2['length']>0x0&&'\x20'!==_0x3e93c2[_0x3e93c2['length']-0x1]&&_0x3e93c2['push']('\x20');return _0x3e93c2['length']?'\x22'+_0x3e93c2['join']('')['trim']()+'\x22':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL');}['_getMarkersInDocumentOrder'](){const _0x446732=getEditorFromContext(this['context'])['model'];return Array['from'](_0x446732['markers']['getMarkersGroup'](_0x1385ef))['sort']((_0x503f48,_0x2f7a6b)=>_0x503f48['getStart']()['isBefore'](_0x2f7a6b['getStart']())?-0x1:_0x503f48['getStart']()['isAfter'](_0x2f7a6b['getStart']())?0x1:0x0);}}const _0x2a7ac2=['showChangeInText','insertSuggestion','applySuggestion','rejectSuggestion','mouseOverSuggestion','mouseLeaveSuggestion','toggleSuggestionDisplayMode','like','dislike'],_0x566e12=[..._0x2a7ac2,'startConversation','resizeTabs','sendUserMessage','abortPromptStream','addDocumentToContext','addFileToContext','addUrlToContext','executeCustomItemCallback','addResourceToContext','removeContextItem','loadSourceResources','toggleWebSearch','toggleReasoning','selectModel'];var _0x48c3d7=0xb,_0x5c7903;function morphAttrs(_0x585d60,_0x4fb77b){var _0x5e5650,_0x33aca3,_0x410f7b,_0x19b97e,_0x5d9e21=_0x4fb77b['attributes'];if(_0x4fb77b['nodeType']!==_0x48c3d7&&_0x585d60['nodeType']!==_0x48c3d7){for(var _0x233359=_0x5d9e21['length']-0x1;_0x233359>=0x0;_0x233359--)_0x33aca3=(_0x5e5650=_0x5d9e21[_0x233359])['name'],_0x410f7b=_0x5e5650['namespaceURI'],_0x19b97e=_0x5e5650['value'],_0x410f7b?(_0x33aca3=_0x5e5650['localName']||_0x33aca3,_0x585d60['getAttributeNS'](_0x410f7b,_0x33aca3)!==_0x19b97e&&('xmlns'===_0x5e5650['prefix']&&(_0x33aca3=_0x5e5650['name']),_0x585d60['setAttributeNS'](_0x410f7b,_0x33aca3,_0x19b97e))):_0x585d60['getAttribute'](_0x33aca3)!==_0x19b97e&&_0x585d60['setAttribute'](_0x33aca3,_0x19b97e);for(var _0x19a4fb=_0x585d60['attributes'],_0x18234a=_0x19a4fb['length']-0x1;_0x18234a>=0x0;_0x18234a--)_0x33aca3=(_0x5e5650=_0x19a4fb[_0x18234a])['name'],(_0x410f7b=_0x5e5650['namespaceURI'])?(_0x33aca3=_0x5e5650['localName']||_0x33aca3,_0x4fb77b['hasAttributeNS'](_0x410f7b,_0x33aca3)||_0x585d60['removeAttributeNS'](_0x410f7b,_0x33aca3)):_0x4fb77b['hasAttribute'](_0x33aca3)||_0x585d60['removeAttribute'](_0x33aca3);}}var _0x4da0f7='http://www.w3.org/1999/xhtml',_0x413aa3='undefined'==typeof document?void 0x0:document,_0x30fa54=!!_0x413aa3&&'content'in _0x413aa3['createElement']('template'),_0x253e0c=!!_0x413aa3&&_0x413aa3['createRange']&&'createContextualFragment'in _0x413aa3['createRange']();function createFragmentFromTemplate(_0x441fdc){var _0x48400b=_0x413aa3['createElement']('template');return _0x48400b['innerHTML']=_0x441fdc,_0x48400b['content']['childNodes'][0x0];}function createFragmentFromRange(_0x57e610){return _0x5c7903||(_0x5c7903=_0x413aa3['createRange']())['selectNode'](_0x413aa3['body']),_0x5c7903['createContextualFragment'](_0x57e610)['childNodes'][0x0];}function createFragmentFromWrap(_0x397e94){var _0x529e78=_0x413aa3['createElement']('body');return _0x529e78['innerHTML']=_0x397e94,_0x529e78['childNodes'][0x0];}function toElement(_0x194c42){return _0x194c42=_0x194c42['trim'](),_0x30fa54?createFragmentFromTemplate(_0x194c42):_0x253e0c?createFragmentFromRange(_0x194c42):createFragmentFromWrap(_0x194c42);}function _0x14fe22(_0x23740c,_0x2c2ad7){var _0x2a0afc,_0x335768,_0x17bd5a=_0x23740c['nodeName'],_0x37ddc7=_0x2c2ad7['nodeName'];return _0x17bd5a===_0x37ddc7||(_0x2a0afc=_0x17bd5a['charCodeAt'](0x0),_0x335768=_0x37ddc7['charCodeAt'](0x0),_0x2a0afc<=0x5a&&_0x335768>=0x61?_0x17bd5a===_0x37ddc7['toUpperCase']():_0x335768<=0x5a&&_0x2a0afc>=0x61&&_0x37ddc7===_0x17bd5a['toUpperCase']());}function createElementNS(_0x564360,_0x792cb9){return _0x792cb9&&_0x792cb9!==_0x4da0f7?_0x413aa3['createElementNS'](_0x792cb9,_0x564360):_0x413aa3['createElement'](_0x564360);}function _0x479589(_0x1eb97b,_0x1c579f){for(var _0x43e97b=_0x1eb97b['firstChild'];_0x43e97b;){var _0x27d25e=_0x43e97b['nextSibling'];_0x1c579f['appendChild'](_0x43e97b),_0x43e97b=_0x27d25e;}return _0x1c579f;}function syncBooleanAttrProp(_0x216a92,_0x187332,_0x2d2958){_0x216a92[_0x2d2958]!==_0x187332[_0x2d2958]&&(_0x216a92[_0x2d2958]=_0x187332[_0x2d2958],_0x216a92[_0x2d2958]?_0x216a92['setAttribute'](_0x2d2958,''):_0x216a92['removeAttribute'](_0x2d2958));}var _0x6d514b={'OPTION':function(_0x69cd30,_0x246379){var _0x5a41e1=_0x69cd30['parentNode'];if(_0x5a41e1){var _0xbcce5f=_0x5a41e1['nodeName']['toUpperCase']();'OPTGROUP'===_0xbcce5f&&(_0xbcce5f=(_0x5a41e1=_0x5a41e1['parentNode'])&&_0x5a41e1['nodeName']['toUpperCase']()),'SELECT'!==_0xbcce5f||_0x5a41e1['hasAttribute']('multiple')||(_0x69cd30['hasAttribute']('selected')&&!_0x246379['selected']&&(_0x69cd30['setAttribute']('selected','selected'),_0x69cd30['removeAttribute']('selected')),_0x5a41e1['selectedIndex']=-0x1);}syncBooleanAttrProp(_0x69cd30,_0x246379,'selected');},'INPUT':function(_0x2d6931,_0xb30b0f){syncBooleanAttrProp(_0x2d6931,_0xb30b0f,'checked'),syncBooleanAttrProp(_0x2d6931,_0xb30b0f,'disabled'),_0x2d6931['value']!==_0xb30b0f['value']&&(_0x2d6931['value']=_0xb30b0f['value']),_0xb30b0f['hasAttribute']('value')||_0x2d6931['removeAttribute']('value');},'TEXTAREA':function(_0x2d5ed4,_0x10cbc9){var _0x50908c=_0x10cbc9['value'];_0x2d5ed4['value']!==_0x50908c&&(_0x2d5ed4['value']=_0x50908c);var _0x4b2862=_0x2d5ed4['firstChild'];if(_0x4b2862){var _0x5ac06e=_0x4b2862['nodeValue'];if(_0x5ac06e==_0x50908c||!_0x50908c&&_0x5ac06e==_0x2d5ed4['placeholder'])return;_0x4b2862['nodeValue']=_0x50908c;}},'SELECT':function(_0x3f2bf7,_0x782ec3){if(!_0x782ec3['hasAttribute']('multiple')){for(var _0x448535,_0x4b98d4,_0x4e9773=-0x1,_0x1b4c2a=0x0,_0xdd4946=_0x3f2bf7['firstChild'];_0xdd4946;)if('OPTGROUP'===(_0x4b98d4=_0xdd4946['nodeName']&&_0xdd4946['nodeName']['toUpperCase']()))(_0xdd4946=(_0x448535=_0xdd4946)['firstChild'])||(_0xdd4946=_0x448535['nextSibling'],_0x448535=null);else{if('OPTION'===_0x4b98d4){if(_0xdd4946['hasAttribute']('selected')){_0x4e9773=_0x1b4c2a;break;}_0x1b4c2a++;}!(_0xdd4946=_0xdd4946['nextSibling'])&&_0x448535&&(_0xdd4946=_0x448535['nextSibling'],_0x448535=null);}_0x3f2bf7['selectedIndex']=_0x4e9773;}}},_0x4efd39=0x1,_0x2de3e0=0xb,_0x1d3f02=0x3,_0x2d2a3c=0x8;function _0x15455e(){}function defaultGetNodeKey(_0x2f4441){if(_0x2f4441)return _0x2f4441['getAttribute']&&_0x2f4441['getAttribute']('id')||_0x2f4441['id'];}function morphdomFactory(_0xd1af05){return function(_0x45ac1d,_0x7ef485,_0x2e754e){if(_0x2e754e||(_0x2e754e={}),'string'==typeof _0x7ef485){if('#document'===_0x45ac1d['nodeName']||'HTML'===_0x45ac1d['nodeName']||'BODY'===_0x45ac1d['nodeName']){var _0x526f59=_0x7ef485;(_0x7ef485=_0x413aa3['createElement']('html'))['innerHTML']=_0x526f59;}else _0x7ef485=toElement(_0x7ef485);}else _0x7ef485['nodeType']===_0x2de3e0&&(_0x7ef485=_0x7ef485['firstElementChild']);var _0x1690b7=_0x2e754e['getNodeKey']||defaultGetNodeKey,_0x467b89=_0x2e754e['onBeforeNodeAdded']||_0x15455e,_0xa3ceaf=_0x2e754e['onNodeAdded']||_0x15455e,_0x5ae8f3=_0x2e754e['onBeforeElUpdated']||_0x15455e,_0xf448d=_0x2e754e['onElUpdated']||_0x15455e,_0x3f18db=_0x2e754e['onBeforeNodeDiscarded']||_0x15455e,_0x15911c=_0x2e754e['onNodeDiscarded']||_0x15455e,_0x5ed4d7=_0x2e754e['onBeforeElChildrenUpdated']||_0x15455e,_0x4541a9=_0x2e754e['skipFromChildren']||_0x15455e,_0x2681ad=_0x2e754e['addChild']||function(_0x535305,_0x5f38e9){return _0x535305['appendChild'](_0x5f38e9);},_0x2f4bb4=!0x0===_0x2e754e['childrenOnly'],_0x48ba7e=Object['create'](null),_0x14e883=[];function _0x43eab2(_0xcc0ddf){_0x14e883['push'](_0xcc0ddf);}function _0x2f0de5(_0xea219d,_0xec26bc){if(_0xea219d['nodeType']===_0x4efd39)for(var _0x5dff9d=_0xea219d['firstChild'];_0x5dff9d;){var _0x4381c0=void 0x0;_0xec26bc&&(_0x4381c0=_0x1690b7(_0x5dff9d))?_0x43eab2(_0x4381c0):(_0x15911c(_0x5dff9d),_0x5dff9d['firstChild']&&_0x2f0de5(_0x5dff9d,_0xec26bc)),_0x5dff9d=_0x5dff9d['nextSibling'];}}function _0x404165(_0x3efcdb,_0x212e4e,_0x160d76){!0x1!==_0x3f18db(_0x3efcdb)&&(_0x212e4e&&_0x212e4e['removeChild'](_0x3efcdb),_0x15911c(_0x3efcdb),_0x2f0de5(_0x3efcdb,_0x160d76));}function _0x574d29(_0x19c7b1){if(_0x19c7b1['nodeType']===_0x4efd39||_0x19c7b1['nodeType']===_0x2de3e0)for(var _0x58a63=_0x19c7b1['firstChild'];_0x58a63;){var _0x21b21f=_0x1690b7(_0x58a63);_0x21b21f&&(_0x48ba7e[_0x21b21f]=_0x58a63),_0x574d29(_0x58a63),_0x58a63=_0x58a63['nextSibling'];}}function _0x1da253(_0x2622b5){_0xa3ceaf(_0x2622b5);for(var _0x4b9b1d=_0x2622b5['firstChild'];_0x4b9b1d;){var _0x5ae6ff=_0x4b9b1d['nextSibling'],_0x3b4018=_0x1690b7(_0x4b9b1d);if(_0x3b4018){var _0x4888e0=_0x48ba7e[_0x3b4018];_0x4888e0&&_0x14fe22(_0x4b9b1d,_0x4888e0)?(_0x4b9b1d['parentNode']['replaceChild'](_0x4888e0,_0x4b9b1d),_0x360f2d(_0x4888e0,_0x4b9b1d)):_0x1da253(_0x4b9b1d);}else _0x1da253(_0x4b9b1d);_0x4b9b1d=_0x5ae6ff;}}function _0x360f2d(_0x3ef062,_0x27479e,_0x40f6e9){var _0x20688d=_0x1690b7(_0x27479e);if(_0x20688d&&delete _0x48ba7e[_0x20688d],!_0x40f6e9){var _0x13f69c=_0x5ae8f3(_0x3ef062,_0x27479e);if(!0x1===_0x13f69c)return;if(_0x13f69c instanceof HTMLElement&&_0x574d29(_0x3ef062=_0x13f69c),_0xd1af05(_0x3ef062,_0x27479e),_0xf448d(_0x3ef062),!0x1===_0x5ed4d7(_0x3ef062,_0x27479e))return;}'TEXTAREA'!==_0x3ef062['nodeName']?function(_0x13a6a5,_0x3b3600){var _0x21d2e2,_0x375e8a,_0x429618,_0x5f556c,_0x4437fd,_0x2ae321=_0x4541a9(_0x13a6a5,_0x3b3600),_0x4df902=_0x3b3600['firstChild'],_0x34223d=_0x13a6a5['firstChild'];t:for(;_0x4df902;){for(_0x5f556c=_0x4df902['nextSibling'],_0x21d2e2=_0x1690b7(_0x4df902);!_0x2ae321&&_0x34223d;){if(_0x429618=_0x34223d['nextSibling'],_0x4df902['isSameNode']&&_0x4df902['isSameNode'](_0x34223d)){_0x4df902=_0x5f556c,_0x34223d=_0x429618;continue t;}_0x375e8a=_0x1690b7(_0x34223d);var _0x570905=_0x34223d['nodeType'],_0x33faa7=void 0x0;if(_0x570905===_0x4df902['nodeType']&&(_0x570905===_0x4efd39?(_0x21d2e2?_0x21d2e2!==_0x375e8a&&((_0x4437fd=_0x48ba7e[_0x21d2e2])?_0x429618===_0x4437fd?_0x33faa7=!0x1:(_0x13a6a5['insertBefore'](_0x4437fd,_0x34223d),_0x375e8a?_0x43eab2(_0x375e8a):_0x404165(_0x34223d,_0x13a6a5,!0x0),_0x375e8a=_0x1690b7(_0x34223d=_0x4437fd)):_0x33faa7=!0x1):_0x375e8a&&(_0x33faa7=!0x1),(_0x33faa7=!0x1!==_0x33faa7&&_0x14fe22(_0x34223d,_0x4df902))&&_0x360f2d(_0x34223d,_0x4df902)):_0x570905!==_0x1d3f02&&_0x570905!=_0x2d2a3c||(_0x33faa7=!0x0,_0x34223d['nodeValue']!==_0x4df902['nodeValue']&&(_0x34223d['nodeValue']=_0x4df902['nodeValue']))),_0x33faa7){_0x4df902=_0x5f556c,_0x34223d=_0x429618;continue t;}_0x375e8a?_0x43eab2(_0x375e8a):_0x404165(_0x34223d,_0x13a6a5,!0x0),_0x34223d=_0x429618;}if(_0x21d2e2&&(_0x4437fd=_0x48ba7e[_0x21d2e2])&&_0x14fe22(_0x4437fd,_0x4df902))_0x2ae321||_0x2681ad(_0x13a6a5,_0x4437fd),_0x360f2d(_0x4437fd,_0x4df902);else{var _0x4cb0de=_0x467b89(_0x4df902);!0x1!==_0x4cb0de&&(_0x4cb0de&&(_0x4df902=_0x4cb0de),_0x4df902['actualize']&&(_0x4df902=_0x4df902['actualize'](_0x13a6a5['ownerDocument']||_0x413aa3)),_0x2681ad(_0x13a6a5,_0x4df902),_0x1da253(_0x4df902));}_0x4df902=_0x5f556c,_0x34223d=_0x429618;}!function(_0x1ffce9,_0x4747d3,_0x1aa005){for(;_0x4747d3;){var _0x4d0079=_0x4747d3['nextSibling'];(_0x1aa005=_0x1690b7(_0x4747d3))?_0x43eab2(_0x1aa005):_0x404165(_0x4747d3,_0x1ffce9,!0x0),_0x4747d3=_0x4d0079;}}(_0x13a6a5,_0x34223d,_0x375e8a);var _0x146ecd=_0x6d514b[_0x13a6a5['nodeName']];_0x146ecd&&_0x146ecd(_0x13a6a5,_0x3b3600);}(_0x3ef062,_0x27479e):_0x6d514b['TEXTAREA'](_0x3ef062,_0x27479e);}_0x574d29(_0x45ac1d);var _0x5d9532=_0x45ac1d,_0x2665f8=_0x5d9532['nodeType'],_0x159bd3=_0x7ef485['nodeType'];if(!_0x2f4bb4){if(_0x2665f8===_0x4efd39)_0x159bd3===_0x4efd39?_0x14fe22(_0x45ac1d,_0x7ef485)||(_0x15911c(_0x45ac1d),_0x5d9532=_0x479589(_0x45ac1d,createElementNS(_0x7ef485['nodeName'],_0x7ef485['namespaceURI']))):_0x5d9532=_0x7ef485;else{if(_0x2665f8===_0x1d3f02||_0x2665f8===_0x2d2a3c){if(_0x159bd3===_0x2665f8)return _0x5d9532['nodeValue']!==_0x7ef485['nodeValue']&&(_0x5d9532['nodeValue']=_0x7ef485['nodeValue']),_0x5d9532;_0x5d9532=_0x7ef485;}}}if(_0x5d9532===_0x7ef485)_0x15911c(_0x45ac1d);else{if(_0x7ef485['isSameNode']&&_0x7ef485['isSameNode'](_0x5d9532))return;if(_0x360f2d(_0x5d9532,_0x7ef485,_0x2f4bb4),_0x14e883)for(var _0x575353=0x0,_0x41b6b2=_0x14e883['length'];_0x575353<_0x41b6b2;_0x575353++){var _0x41aff4=_0x48ba7e[_0x14e883[_0x575353]];_0x41aff4&&_0x404165(_0x41aff4,_0x41aff4['parentNode'],!0x1);}}return!_0x2f4bb4&&_0x5d9532!==_0x45ac1d&&_0x45ac1d['parentNode']&&(_0x5d9532['actualize']&&(_0x5d9532=_0x5d9532['actualize'](_0x45ac1d['ownerDocument']||_0x413aa3)),_0x45ac1d['parentNode']['replaceChild'](_0x5d9532,_0x45ac1d)),_0x5d9532;};}var _0x2371b7=morphdomFactory(morphAttrs);class HTMLStreamer{['options'];['isStreaming']=!0x1;['document']=null;['nodesList']=[];['currentIndex']=0x0;['timeoutAbortController']=null;['lastUpdateTime']=0x0;constructor(_0x4c7268){this['options']={'delay':_0x4c7268['delay']??0x14,'textNodeStyle':_0x4c7268['textNodeStyle'],'onStreamUpdate':_0x4c7268['onStreamUpdate']||(()=>{})};}async['stream']({document:_0x23d6df,targetElement:_0x4b922c,abortSignal:_0x217cd2}){this['isStreaming']&&this['stop'](),_0x217cd2?.['addEventListener']('abort',this['stop']['bind'](this)),this['document']=_0x4c9115(_0x23d6df,!0x0),this['nodesList']=this['getParsedDocumentNodeList'](),this['isStreaming']=!0x0,this['currentIndex']>this['nodesList']['length']&&(this['currentIndex']=this['nodesList']['length']);for(let _0x428fc5=0x0;_0x428fc5<this['currentIndex'];_0x428fc5++)this['nodesList'][_0x428fc5]['shouldBeStreamed']=!0x0;do{const _0x51ef95=Date['now'](),_0x119ad6=this['nodesList'][this['currentIndex']],_0x363853=_0x51ef95-this['lastUpdateTime'];if(_0x119ad6){_0x119ad6['shouldBeStreamed']=!0x0;let _0x1fff79=_0x119ad6['parent'];for(;_0x1fff79;)_0x1fff79['shouldBeStreamed']=!0x0,_0x1fff79=_0x1fff79['parent'];}if(_0x363853<this['options']['delay'])try{const {promise:_0x877846,abortController:_0x22a15e}=createAbortableTimeout(this['options']['delay']-_0x363853);this['timeoutAbortController']=_0x22a15e,await _0x877846;}catch(_0x5ee5b3){return;}_0x2371b7(_0x4b922c,'<'+_0x4b922c['tagName']+'>'+this['renderNode'](this['document'])+'</'+_0x4b922c['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:_0x365488}){Array['from'](_0x365488['querySelectorAll']('span[data-ck-html-streamer-word-chunk]'))['reverse']()['forEach'](_0x3f4c1f=>{_0x3f4c1f['replaceWith'](_0x3f4c1f['childNodes'][0x0]);});}['stop'](){this['isStreaming']=!0x1,this['timeoutAbortController']&&(this['timeoutAbortController']['abort'](),this['timeoutAbortController']=null);}['renderNode'](_0x5843be){let _0x1b8cb2='';if(isParsedDocumentNode(_0x5843be)){for(const _0x159733 of _0x5843be['children'])_0x1b8cb2+=this['renderNode'](_0x159733);}else{if(isParsedElementNode(_0x5843be)){if(!_0x5843be['shouldBeStreamed'])return'';const _0x83967a=_0x5843be,_0x1d97ae=Object['entries'](_0x83967a['attribs'])['map'](([_0x3ede29,_0x356ac5])=>_0x3ede29+'=\x22'+_0x356ac5+'\x22')['join']('\x20');_0x1b8cb2+='<'+_0x83967a['tagName']+(_0x1d97ae?'\x20'+_0x1d97ae:'')+'>';for(const _0x4f62e6 of getChildren$1(_0x83967a))_0x1b8cb2+=this['renderNode'](_0x4f62e6);_0x1b8cb2+='</'+_0x83967a['tagName']+'>';}else{if(!isParsedTextNode(_0x5843be))return'';if(!_0x5843be['shouldBeStreamed'])return'';_0x55a739(_0x5843be)?_0x1b8cb2+=_0x5b5202(new Element$3('span',{'data-ck-html-streamer-word-chunk':'','style':this['options']['textNodeStyle']},[_0x5843be])):_0x1b8cb2+=_0x5b5202(_0x5843be);}}return _0x1b8cb2;}['getParsedDocumentNodeList'](){const _0x2ff154=[];return traverseParsedDocument(this['document'],_0x2f5d41=>{if(isParsedTextNode(_0x2f5d41)){const _0x12c1d4=this['splitTextNodeIntoWordNodes'](_0x2f5d41);_0x12c1d4['length']&&_0x2ff154['push'](..._0x12c1d4);}_0x2f5d41['isWordSplitSource']||_0x2f5d41['isWordSplitResult']||_0x2ff154['push'](_0x2f5d41);}),_0x2ff154;}['splitTextNodeIntoWordNodes'](_0x536da2){if(_0x536da2['isWordSplitSource']||_0x536da2['isWordSplitResult'])return[];const _0x4a5bb2=textContent(_0x536da2)['match'](/(?:\s*\S+\s*)/g),_0x36badc=[];if(_0x4a5bb2&&_0x4a5bb2['length']>0x1){for(const _0x548f6b of _0x4a5bb2){const _0x140a68=new Text$1(_0x548f6b);_0x140a68['isWordSplitResult']=!0x0,_0x167fd0(_0x536da2,_0x140a68),_0x36badc['push'](_0x140a68);}_0x536da2['isWordSplitSource']=!0x0,removeElement(_0x536da2);}return _0x36badc;}}const _0x4e8930=['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(_0x273f76,_0x4283d8){const _0xbd0f82=_0xdf64d2=>{if(_0x4283d8(_0xdf64d2),_0xdf64d2 instanceof NodeWithChildren)for(let _0x1b3ad7=0x0;_0x1b3ad7<_0xdf64d2['children']['length'];_0x1b3ad7++){const _0x1b05d7=_0xdf64d2['children'][_0x1b3ad7];_0xbd0f82(_0x1b05d7);}};for(let _0x50be5d=0x0;_0x50be5d<_0x273f76['children']['length'];_0x50be5d++)_0xbd0f82(_0x273f76['children'][_0x50be5d]);}function _0x55a739(_0x4d3b9d){return!(!_0x4d3b9d['parent']||!isParsedElementNode(_0x4d3b9d['parent']))&&(!!_0x4e8930['includes'](_0x4d3b9d['parent']['tagName'])&&!textContent(_0x4d3b9d)['match'](/^\s*[<>]\s*$/));}function isParsedTextNode(_0x45bdc6){return isText$1(_0x45bdc6);}function isParsedElementNode(_0x28a1f0){return _0x3199f3(_0x28a1f0);}function isParsedDocumentNode(_0x139540){return isDocument(_0x139540);}function createAbortableTimeout(_0x51f7a7){const _0x153c13=new AbortController();return{'promise':new Promise((_0x2a5349,_0x3a989b)=>{const _0x32a416=setTimeout(_0x2a5349,_0x51f7a7);_0x153c13['signal']['addEventListener']('abort',()=>{clearTimeout(_0x32a416),_0x3a989b();});}),'abortController':_0x153c13};}class AIChatFeedItemView extends ckeditor5['View']{['options'];['content']='';['htmlStreamer'];['children'];constructor(_0x346e6a){super();const _0x5c7081=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']=_0x346e6a,this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__item',_0x5c7081['if']('isDone','ck-ai-chat__feed__item_done'),_0x5c7081['if']('isVisible','ck-hidden',_0x2912bd=>!_0x2912bd),'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'](_0x1ee046=>{_0x1ee046['removeAttribute']('data-id');}),this['isDone']=!0x0;}async['streamIntoElement'](_0x5dd1ef,_0x232e60,_0x25d789){await this['htmlStreamer']['stream']({'document':_0x5dd1ef,'targetElement':_0x232e60,'abortSignal':_0x25d789});}}class AISuggestionHeaderView extends ckeditor5['View']{['showChangesToggleView'];constructor(_0x1747cc,_0xf88d8){super(_0x1747cc),this['set']('isShowChangesToggleVisible',!0x0),this['showChangesToggleView']=new _0x1d243e(_0x1747cc),this['showChangesToggleView']['set']({'class':'ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','label':getTranslation$i(_0x1747cc,'AI_SUGGESTION_BUTTON_SHOW_CHANGES'),'withText':!0x0}),this['showChangesToggleView']['isOn']=_0xf88d8['showDiff'],this['showChangesToggleView']['bind']('isVisible')['to'](this,'isShowChangesToggleVisible'),this['showChangesToggleView']['bind']('icon')['to'](this['showChangesToggleView'],'isOn',_0x5791cd=>_0x5791cd?ckeditor5['IconShowChangesOn']:ckeditor5['IconShowChangesOff']),this['showChangesToggleView']['on']('execute',()=>{this['showChangesToggleView']['isOn']=!this['showChangesToggleView']['isOn'],this['fire']('toggleShowChanges',{'isOn':this['showChangesToggleView']['isOn']});});const _0xbcde8e=new ckeditor5['IconView']();_0xbcde8e['content']=ckeditor5['IconDocument'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__header',!0x1===_0xf88d8['showHeader']?'ck-hidden':null]['filter'](Boolean)},'children':[_0xbcde8e,{'tag':'span','children':[getTranslation$i(_0x1747cc,'AI_SUGGESTION_HEADER_TITLE')]},this['showChangesToggleView']]});}}class _0x1d243e extends ckeditor5['ButtonView']{['render'](){super['render'](),this['children']['remove'](this['iconView']),this['children']['add'](this['iconView']);}}const _0x5893c5={'accepted':ckeditor5['IconBoxWithCheck'],'rejected':ckeditor5['IconBoxWithCross'],'outdated':ckeditor5['IconBoxWithCross']};class AISuggestionContentPartStateView extends ckeditor5['View']{['stateIconView'];constructor(_0x3f4c44){super(_0x3f4c44);const _0xf7511e=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',_0xf7511e['to']('state',_0x12c804=>'ck-ai-suggestion__content-part-state_'+_0x12c804),_0xf7511e['if']('isVisible','ck-hidden',_0x2d84ee=>!_0x2d84ee)]},'children':[{'tag':'span','attributes':{'class':['ck-ai-suggestion__content-part-state__label']},'children':[{'text':_0xf7511e['to']('state',_0x256f7c=>{switch(_0x256f7c){case'accepted':return getTranslation$i(_0x3f4c44,'AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED');case'rejected':return getTranslation$i(_0x3f4c44,'AI_SUGGESTION_CONTENT_PART_STATE_REJECTED');case'outdated':return getTranslation$i(_0x3f4c44,'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED');}})}]},this['stateIconView']]});}['setState'](_0x47f2ea){this['state']=_0x47f2ea;}}class StateIconView extends ckeditor5['IconView']{constructor(){super(),this['set']('state','accepted'),this['content']=_0x5893c5[this['state']],this['on']('change:state',()=>{this['content']=_0x5893c5[this['state']];});}}class AISuggestionContentPartToolbarView extends ckeditor5['ToolbarView']{['_applyButton'];['_suggestButton'];constructor(_0x1232af,_0x4eaeba,_0x2e1460){super(_0x1232af);const _0x4b4daf=Boolean(_0x2e1460);this['set']('isEnabled',!_0x4b4daf),this['set']('isVisible',!0x0),this['class']='ck-ai-suggestion-content-part-toolbar';const _0x112580=[];if(_0x4b4daf){const _0x3309f3=new ckeditor5['ButtonView'](_0x1232af);_0x3309f3['set']({'label':getTranslation$i(_0x1232af,'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':ckeditor5['IconInfo']}),_0x112580['push'](_0x3309f3);}else{_0x4eaeba['includes']('applySuggestion')&&(this['_applyButton']=new ckeditor5['ButtonView'](_0x1232af),this['_applyButton']['set']({'label':getTranslation$i(_0x1232af,'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');}),_0x112580['push'](this['_applyButton'])),_0x4eaeba['includes']('insertSuggestion')&&(this['_suggestButton']=new ckeditor5['ButtonView'](_0x1232af),this['_suggestButton']['set']({'label':getTranslation$i(_0x1232af,'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');}),_0x112580['push'](this['_suggestButton']));const _0x46a5e0=new ckeditor5['ButtonView'](_0x1232af);_0x46a5e0['set']({'label':getTranslation$i(_0x1232af,'AI_SUGGESTION_CONTENT_PART_REJECT'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':ckeditor5['IconBoxWithCross']}),_0x46a5e0['bind']('isEnabled')['to'](this),_0x46a5e0['on']('execute',()=>{this['fire']('rejectSuggestion');}),_0x112580['push'](_0x46a5e0);}this['items']['addMany'](_0x112580);const _0x1755eb=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':[_0x1755eb['if']('isVisible','ck-hidden',_0x1afc2c=>!_0x1afc2c)]}});}['setButtonsVisibility']({showApplyButton:_0x5b819c,showSuggestButton:_0x15ab4e}){this['_applyButton']&&(this['_applyButton']['isVisible']=_0x5b819c),this['_suggestButton']&&(this['_suggestButton']['isVisible']=_0x15ab4e);}}class AISuggestionContentPartHeaderView extends ckeditor5['View']{['toolbarView'];['stateView'];['titleLabelView'];['children'];constructor(_0x1abf1d,{part:_0x5d2784,uiIndex:_0x4dc1e8,availableActions:_0x253dc9,areActionsDisabled:_0x3b6060}){super(_0x1abf1d),this['set']('isEnabled',!0x0),this['set']('state','pending'),this['toolbarView']=new AISuggestionContentPartToolbarView(_0x1abf1d,_0x253dc9,_0x3b6060),this['toolbarView']['on']('rejectSuggestion',()=>{this['fire']('rejectSuggestion',{'index':_0x5d2784['index']});}),this['toolbarView']['on']('insertSuggestion',()=>{this['fire']('insertSuggestion',{'index':_0x5d2784['index']});}),this['toolbarView']['on']('applySuggestion',()=>{this['fire']('applySuggestion',{'index':_0x5d2784['index']});}),this['toolbarView']['bind']('isEnabled')['to'](this),this['stateView']=new AISuggestionContentPartStateView(_0x1abf1d),this['titleLabelView']=new AISuggestionBodyContentPartTitleLabelView(_0x1abf1d,_0x4dc1e8),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',(_0xfbc899,_0x5a5f2b,_0x36d3ef,_0x5a0421)=>{'pending'===_0x5a0421?this['children']['remove'](this['toolbarView']):this['children']['remove'](this['stateView']),'pending'===_0x36d3ef?this['children']['add'](this['toolbarView']):(this['stateView']['setState'](_0x36d3ef),this['children']['add'](this['stateView']));});}}class AISuggestionBodyContentPartTitleLabelView extends ckeditor5['View']{constructor(_0x569dd4,_0x2cd0bc){super(_0x569dd4),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__body__content-part__title__label']},'children':[getTranslation$i(_0x569dd4,'AI_SUGGESTION_CONTENT_PART_TITLE',_0x2cd0bc['toString']())]});}}class AISuggestionStreamableContentView extends ckeditor5['View']{['htmlStreamer'];constructor(_0x5c0dc7){super(_0x5c0dc7),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:_0x2937da,renderingStrategy:_0x157fc0,abortSignal:_0x26eb8d}){'streaming'===_0x157fc0?await this['htmlStreamer']['stream']({'document':_0x2937da['content'],'targetElement':this['element'],'abortSignal':_0x26eb8d}):this['element']['innerHTML']=_0x124bee(_0x2937da['content']);}['clear'](){this['htmlStreamer']['reset'](),this['element']['innerHTML']='';}}class AISuggestionBodyViewContentPartView extends ckeditor5['View']{['_children'];['_headerView'];['_streamableContentView'];constructor(_0x5eba3e,{part:_0x527f6b,uiIndex:_0x3d090b,areActionsDisabled:_0xda22c3,availableActions:_0x4121df}){super(_0x5eba3e);const _0x1a21e2=this['bindTemplate'];this['set']('state','pending'),this['set']('isDone',!0x1),this['set']('isVisible',!0x1),this['set']('isActive',!0x1),this['set']('isEnabled',!0x1);const _0x58e45b=()=>{this['isEnabled']=this['isDone']&&'pending'==this['state']&&!_0xda22c3;};this['on']('change:state',_0x58e45b),this['on']('change:isDone',_0x58e45b),_0x58e45b(),this['_children']=this['createCollection'](),this['_headerView']=new AISuggestionContentPartHeaderView(_0x5eba3e,{'part':_0x527f6b,'uiIndex':_0x3d090b,'availableActions':_0x4121df,'areActionsDisabled':_0xda22c3}),this['_headerView']['bind']('isEnabled','state')['to'](this),this['_headerView']['delegate'](..._0x2a7ac2)['to'](this),this['_streamableContentView']=new AISuggestionStreamableContentView(_0x5eba3e),this['_children']['addMany']([this['_headerView'],this['_streamableContentView']]),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__body__content-part',_0x1a21e2['to']('state',_0x4d414c=>'ck-ai-suggestion__body__content-part_'+_0x4d414c),_0x1a21e2['if']('isEnabled','ck-ai-suggestion__body__content-part_enabled'),_0x1a21e2['if']('isActive','ck-ai-suggestion__body__content-part_active'),_0x1a21e2['if']('isVisible','ck-hidden',_0x31bb8d=>!_0x31bb8d)]},'children':this['_children'],'on':{'mouseenter':_0x1a21e2['to'](()=>{this['isEnabled']&&this['fire']('mouseOverSuggestion',{'index':_0x527f6b['index']});}),'mouseleave':_0x1a21e2['to'](()=>{this['isEnabled']&&this['fire']('mouseLeaveSuggestion',{'index':_0x527f6b['index']});}),'click':_0x1a21e2['to'](_0x583fa7=>{const _0x488b3a=_0x583fa7['target'];this['isEnabled']&&!this['_headerView']['toolbarView']['element']['contains'](_0x488b3a)&&this['fire']('showChangeInText',{'index':_0x527f6b['index']});})}});}async['updateContent']({part:_0xdd7c70,renderingStrategy:_0x599dfd,showUnchangedParts:_0x309e31=!0x1,abortSignal:_0x4da548}){this['partDefinition']=_0xdd7c70,this['isVisible']=this['partDefinition']['hasChanges']||_0x309e31,this['isVisible']&&await this['_streamableContentView']['update']({'part':_0xdd7c70,'renderingStrategy':_0x599dfd,'abortSignal':_0x4da548});}['markAsDone'](){this['isDone']=!0x0;}}class _0xa88b31 extends ckeditor5['EmitterMixin'](){['queue']=[];['isProcessing']=!0x1;['_abortController'];async['enqueue'](_0x9a145e){const _0x4f3492=this['createTask'](_0x9a145e);return this['queue']['push'](_0x4f3492),this['_processQueue'](),_0x4f3492['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(_0x5a5c87=>{this['once']('_queueEmpty',()=>{_0x5a5c87();});}):Promise['resolve']();}async['_processQueue'](){if(!this['isProcessing']){this['_abortController']=new AbortController(),this['isProcessing']=!0x0;try{for(;this['queue']['length']&&this['isProcessing'];){const _0x1628f2=this['queue']['shift']();try{await _0x1628f2['callback'](this['_abortController']['signal']),_0x1628f2['resolve']();}catch(_0x3f17f7){_0x1628f2['reject'](_0x3f17f7);}}}finally{this['isProcessing']=!0x1,this['_abortController']=void 0x0;}this['fire']('_queueEmpty');}}['createTask'](_0x48f7d3){let _0x4d7f7d,_0x2d3c5c;const _0x119d50=new Promise((_0x1d6255,_0x35982a)=>{_0x4d7f7d=_0x1d6255,_0x2d3c5c=_0x35982a;});return{'callback':_0x48f7d3,'resolve':_0x4d7f7d,'reject':_0x2d3c5c,'completePromise':_0x119d50};}}class AIChatFeedErrorItemView extends AIChatFeedItemView{constructor(_0x18e859){super(_0x18e859),this['extendTemplate']({'attributes':{'class':['ck-ai-notification','warning'===_0x18e859['level']?'ck-ai-notification_warning':'ck-ai-notification_error']}});}['render'](){super['render'](),this['setContent'](this['options']['initialContent']),this['markAsDone']();}['setContent'](_0x56978d){this['element']['innerHTML']=_0x56978d;}}const _0x1eec8f=['applySuggestion','insertSuggestion'];class AIChatFeedSuggestionItemActionsView extends ckeditor5['View']{['_applyChangesButton'];['_insertSuggestionsButton'];['children'];constructor(_0x234007,_0x17cde5=[..._0x1eec8f],_0x4cec0e){super(_0x234007);const _0x5728ce=this['bindTemplate'],_0x14d2f7=Boolean(_0x4cec0e);if(this['set']('isEnabled',!_0x14d2f7),this['set']('isVisible',!0x1),this['set']('isTrackChangesOn',!0x1),this['children']=this['createCollection'](),_0x14d2f7){const _0x1e6ef1=new ckeditor5['ButtonView'](_0x234007);_0x1e6ef1['set']({'label':getTranslation$i(_0x234007,'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':ckeditor5['IconInfo']});const _0xd321a4=new ckeditor5['View'](_0x234007);_0xd321a4['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-chat__feed__suggestion__actions__info'},'children':[{'tag':'p','children':[getTranslation$i(_0x234007,'AI_SUGGESTION_DISABLED_FEED_MESSAGE'),_0x1e6ef1]}]}),this['children']['add'](_0xd321a4);}else this['_applyChangesButton']=new ckeditor5['ButtonView'](_0x234007),this['_applyChangesButton']['set']({'label':getTranslation$i(_0x234007,'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL'),'withText':!0x0,'type':'button','isVisible':_0x17cde5['includes']('applySuggestion'),'class':'ck-ai-button-primary'}),this['_insertSuggestionsButton']=new ckeditor5['ButtonView'](_0x234007),this['_insertSuggestionsButton']['set']({'label':getTranslation$i(_0x234007,'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL'),'withText':!0x0,'type':'button','isVisible':_0x17cde5['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'](_0x2c33a1=>{_0x2c33a1['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',_0x5728ce['if']('isVisible','ck-hidden',_0x33c017=>!_0x33c017)]},'children':this['children']}),this['on']('change:isTrackChangesOn',()=>{this['_applyChangesButton']&&(this['_applyChangesButton']['isVisible']=!this['isTrackChangesOn']);});}['updateVisibility'](_0x543062){this['isVisible']=_0x543062;}['_switchButtonLabelsPlurality'](_0x4f05e2){this['_applyChangesButton']&&this['_insertSuggestionsButton']&&(_0x4f05e2?(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 _0x5cbef4=0x190;class _0x19dedb extends ckeditor5['View']{['children'];['balloonPanelView'];['bodyCollection'];constructor(_0x83774e,_0x378cad){super(_0x83774e),this['bodyCollection']=_0x378cad,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',_0xef9315=>!_0xef9315)]},'children':this['children']});const _0x48332a=new ckeditor5['View'](this['locale']),_0x190de6=new ckeditor5['IconView']();_0x190de6['content']=ckeditor5['IconWeb'],_0x48332a['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-sources__header']},'children':[_0x190de6,{'tag':'span','children':[{'text':getTranslation$i(this['locale'],'AI_CHAT_SOURCES_HEADER')}]}]}),this['children']['add'](_0x48332a),this['_setupBalloonPanel'](_0x83774e);}['addSource'](_0x221db0){this['children']['add'](new _0x5075b9(this['locale'],_0x221db0,this['balloonPanelView']));}['_setupBalloonPanel'](_0x20464e){this['balloonPanelView']=new ckeditor5['BalloonPanelView'](_0x20464e),this['balloonPanelView']['extendTemplate']({'attributes':{'class':['ck-ai-web-source__tooltip-balloon']}}),this['bodyCollection']['add'](this['balloonPanelView']);}}class _0x5075b9 extends ckeditor5['ButtonView']{['balloonPanelView'];['source'];constructor(_0x52514d,_0x15dd07,_0x6769da){super(_0x52514d),this['source']=_0x15dd07,this['balloonPanelView']=_0x6769da,this['set']({'label':_0x15dd07['title'],'class':['ck\x20ck-ai-web-source'],'withText':!0x0});const _0x44f20d=this['bindTemplate'];if(this['extendTemplate']({'on':{'click':_0x44f20d['to'](()=>{window['open'](_0x15dd07['url'],'_blank');}),'mouseenter':_0x44f20d['to'](()=>{this['_showTooltip']();}),'mouseleave':_0x44f20d['to'](()=>{this['_hideTooltip']();})}}),_0x15dd07['favicon']){const _0x596851=new ckeditor5['View'](_0x52514d);_0x596851['setTemplate']({'tag':'img','attributes':{'src':_0x15dd07['favicon']||ckeditor5['IconWeb'],'alt':_0x15dd07['title'],'class':['ck-ai-web-source__image']}}),this['children']['add'](_0x596851);}else this['set']('icon',ckeditor5['IconWeb']);}['_createTooltipContentView'](_0x3855ee,_0x2596f7){const _0x2965af=new ckeditor5['View'](_0x3855ee),_0x5b070f=[];let _0x5034e7;_0x2596f7?.['favicon']?(_0x5034e7=new ckeditor5['View'](_0x3855ee),_0x5034e7['setTemplate']({'tag':'img','attributes':{'src':_0x2596f7['favicon'],'alt':_0x2596f7['title'],'class':['ck-ai-web-source__tooltip-image']}})):(_0x5034e7=new ckeditor5['IconView'](),_0x5034e7['content']=ckeditor5['IconWeb'],_0x5034e7['extendTemplate']({'attributes':{'alt':_0x2596f7['title'],'class':['ck-ai-web-source__tooltip-image']}})),_0x5b070f['push'](_0x5034e7);const _0x359c3e=new ckeditor5['View'](_0x3855ee);_0x359c3e['setTemplate']({'tag':'a','attributes':{'class':['ck-ai-web-source__tooltip-url'],'href':_0x2596f7['url']},'children':[{'text':new URL(_0x2596f7['url'])?.['hostname']}]}),_0x5b070f['push'](_0x359c3e);const _0x3a62e7=new ckeditor5['View'](_0x3855ee);_0x3a62e7['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-web-source__tooltip-row']},'children':_0x5b070f});const _0x565131=new ckeditor5['View'](_0x3855ee);return _0x565131['setTemplate']({'tag':'span','attributes':{'class':['ck-ai-web-source__tooltip-row','ck-ai-web-source__tooltip-title']},'children':[{'text':_0x2596f7['title']['length']>_0x5cbef4?_0x2596f7['title']['substring'](0x0,_0x5cbef4)+'...':_0x2596f7['title']}]}),_0x2965af['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-source__tooltip']},'children':[_0x3a62e7,_0x565131]}),_0x2965af;}['_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 _0x527a4b=this['_createTooltipContentView'](this['locale'],this['source']);this['balloonPanelView']['content']['add'](_0x527a4b);}}class AISuggestionBodyView extends ckeditor5['View']{['_actionsView'];['_sourcesView'];['_children'];['_areActionsDisabled'];['_showUnchangedParts'];['_updateContentPartsPromiseQueue'];['_emptyPartsWarningView'];['_availableActions'];['_cachedContentParts']=[];constructor(_0x80f54f,_0x3b3be0){super(_0x80f54f);const {areActionsDisabled:_0x5c04a5,showUnchangedParts:_0x2a8e8f,availableActions:_0x26d7f0}=_0x3b3be0;this['_areActionsDisabled']=_0x5c04a5,this['_showUnchangedParts']=_0x2a8e8f,this['_availableActions']=_0x26d7f0,this['set']('hasPendingParts',!0x1),this['set']('isTrackChangesOn',!0x1),this['_children']=this['createCollection'](),this['_updateContentPartsPromiseQueue']=new _0xa88b31(),this['_emptyPartsWarningView']=new AIChatFeedErrorItemView({'id':'empty-parts-warning','initialContent':getTranslation$i(_0x80f54f,'AI_SUGGESTION_EMPTY_PART_WARNING'),'level':'warning'}),this['_emptyPartsWarningView']['isVisible']=!0x1,this['_actionsView']=new AIChatFeedSuggestionItemActionsView(_0x80f54f,_0x3b3be0['availableActions'],this['_areActionsDisabled']),this['_actionsView']['bind']('isTrackChangesOn')['to'](this),this['_sourcesView']=new _0x19dedb(this['locale'],_0x3b3be0['bodyCollection']),_0x3b3be0['areActionsDisabled']?this['_actionsView']['isEnabled']=!0x1:this['_actionsView']['bind']('isEnabled')['to'](this,'hasPendingParts'),this['_actionsView']['delegate'](..._0x2a7ac2)['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:_0x386f22,renderingStrategy:_0x5d370e,abortSignal:_0x4697f9}){this['_children']['length']?_0x386f22['forEach'](_0x797bb2=>{const _0x34ab1b=this['_cachedContentParts']['findIndex'](_0x9ffcf2=>_0x9ffcf2['index']==_0x797bb2['index']);-0x1===_0x34ab1b?this['_cachedContentParts']['push'](_0x797bb2):this['_cachedContentParts'][_0x34ab1b]=_0x797bb2;}):this['_cachedContentParts']=_0x386f22;const _0x24ef27=this['_showUnchangedParts']?_0x386f22:_0x386f22['filter'](_0x27c4bc=>_0x27c4bc['hasChanges']);this['_actionsView']['_switchButtonLabelsPlurality'](_0x24ef27['length']>0x1);for(const _0x19e8fd of _0x24ef27)this['_updateContentPartsPromiseQueue']['enqueue'](async _0x1771aa=>{let _0x326c23=this['getPartView'](_0x19e8fd['index']);_0x326c23||(_0x326c23=new AISuggestionBodyViewContentPartView(this['locale'],{'part':_0x19e8fd,'uiIndex':this['_children']['length']+0x1,'areActionsDisabled':this['_areActionsDisabled'],'availableActions':this['_availableActions']}),_0x326c23['delegate'](..._0x2a7ac2)['to'](this),this['_children']['add'](_0x326c23),this['hasPendingParts']=!0x0),await _0x326c23['updateContent']({'part':_0x19e8fd,'renderingStrategy':_0x5d370e,'showUnchangedParts':this['_showUnchangedParts'],'abortSignal':_0x1771aa}),_0x326c23['markAsDone']();});return _0x4697f9?.['addEventListener']('abort',()=>{this['_updateContentPartsPromiseQueue']['abort']();}),this['_updateContentPartsPromiseQueue']['queueEmptyPromise'];}['updatePartState'](_0x8c58c7,_0x1a41d0){const _0x442ceb=this['getPartView'](_0x8c58c7);_0x442ceb&&(_0x442ceb['state']=_0x1a41d0),this['hasPendingParts']='pending'==_0x1a41d0||Array['from'](this['_children'])['some'](_0x2b43dd=>'pending'==_0x2b43dd['state']);}['setPartActive'](_0x10fa06,_0x2740be){if(!0x1===_0x10fa06){for(const _0x37903c of this['_children'])_0x37903c['isActive']=!0x1;}else{const _0x264c6d=this['getPartView'](_0x10fa06);_0x264c6d&&(_0x264c6d['isActive']=_0x2740be);}}['updateSources'](_0x16d668){_0x16d668['forEach'](_0x4fcf00=>this['_sourcesView']['addSource'](_0x4fcf00)),this['_sourcesView']['isVisible']=!0x0;}['getPartView'](_0x204343){return this['_children']['find'](_0x2f8b77=>_0x2f8b77['partDefinition']['index']==_0x204343)??null;}['markAsDone'](){if(!this['_showUnchangedParts']){const _0x239b53=!this['_cachedContentParts']['find'](({hasChanges:_0xd1d182})=>_0xd1d182),_0x30fa02=!!this['_cachedContentParts']['find'](({hasChanges:_0x39d991})=>!_0x39d991);this['_emptyPartsWarningView']['isVisible']=0x0==this['_children']['length']||_0x30fa02,_0x239b53?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'](_0x55bb1c=>_0x55bb1c['markAsDone']()),this['_actionsView']['updateVisibility'](this['hasNonEmptyParts']);}get['hasNonEmptyParts'](){return this['_children']['filter'](_0x3ef775=>_0x3ef775['partDefinition']['hasChanges'])['length']>0x0;}}class AISuggestionContainerView extends ckeditor5['View']{['bodyView'];['children'];['headerView'];constructor(_0x270f21,_0x48eefb,_0x187a61){super(_0x270f21);const {showDiff:_0x199c9e,areActionsDisabled:_0xce5c8c,showUnchangedParts:_0xcc39ad,availableActions:_0x4fb874}=_0x48eefb;this['set']('isTrackChangesOn',!0x1),this['set']('areChangesVisible',!0x1),this['children']=this['createCollection'](),this['headerView']=new AISuggestionHeaderView(_0x270f21,{'showDiff':_0x199c9e}),this['headerView']['on']('toggleShowChanges',(_0x6f187,_0x8fe112)=>{this['areChangesVisible']=_0x8fe112['isOn'],this['fire']('toggleSuggestionDisplayMode',{'showDiff':_0x8fe112['isOn']});}),this['children']['add'](this['headerView']),this['bodyView']=new AISuggestionBodyView(_0x270f21,{'areActionsDisabled':_0xce5c8c,'showUnchangedParts':!!_0xcc39ad,'availableActions':_0x4fb874,'bodyCollection':_0x187a61}),this['bodyView']['delegate'](..._0x2a7ac2)['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'](_0x3b950a){await this['bodyView']['updateContentParts'](_0x3b950a);}['updateSources'](_0x5bd785){this['bodyView']['updateSources'](_0x5bd785);}['markAsDone'](){this['bodyView']['markAsDone'](),this['headerView']&&(this['headerView']['isShowChangesToggleVisible']=this['bodyView']['hasNonEmptyParts']);}}class AIChatFeedSuggestionItemView extends AIChatFeedItemView{['containerView'];constructor(_0x2cf527,_0xb12e6f,_0x125779){super(_0xb12e6f),this['set']('isTrackChangesOn',!0x1),this['containerView']=new AISuggestionContainerView(_0x2cf527,{'showDiff':_0xb12e6f['showDiff'],'areActionsDisabled':_0xb12e6f['areActionsDisabled'],'availableActions':_0xb12e6f['availableActions']},_0x125779),this['containerView']['on']('toggleSuggestionDisplayMode',(_0x586594,_0x3a9d56)=>{this['fire']('toggleSuggestionDisplayMode',{'replyId':this['options']['id'],'showDiff':_0x3a9d56['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',(_0x5d7333,{index:_0x481659})=>{this['fire']('showChangeInText',{'replyId':this['options']['id'],'partIndex':_0x481659});}),this['containerView']['on']('applySuggestion',(_0x32d2c4,{index:_0xbfe61a}={})=>{this['fire']('applySuggestion',{'replyId':this['options']['id'],'partIndex':_0xbfe61a});}),this['containerView']['on']('insertSuggestion',(_0x3f230a,{index:_0x3cba77}={})=>{this['fire']('insertSuggestion',{'replyId':this['options']['id'],'partIndex':_0x3cba77});}),this['containerView']['on']('rejectSuggestion',(_0x2b9dda,{index:_0x4885bb})=>{this['fire']('rejectSuggestion',{'replyId':this['options']['id'],'partIndex':_0x4885bb});}),this['containerView']['on']('mouseOverSuggestion',(_0x460136,{index:_0x25eb5f})=>{this['fire']('mouseOverSuggestion',{'replyId':this['options']['id'],'partIndex':_0x25eb5f});}),this['containerView']['on']('mouseLeaveSuggestion',(_0x7349a9,{index:_0x16eb1f})=>{this['fire']('mouseLeaveSuggestion',{'replyId':this['options']['id'],'partIndex':_0x16eb1f});}),this['children']['addMany']([this['containerView']]),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__ai-suggestion']}});}async['updateContent'](_0x19168b){await this['containerView']['updateContent'](_0x19168b);}['updatePartState'](_0x5430a9,_0x55dbfd){this['containerView']['bodyView']['updatePartState'](_0x5430a9,_0x55dbfd);}['setPartActive'](_0x3088b1,_0x352cf6){!0x1===_0x3088b1?this['containerView']['bodyView']['setPartActive'](!0x1):this['containerView']['bodyView']['setPartActive'](_0x3088b1,_0x352cf6);}['updateSources'](_0x384327){this['containerView']['updateSources'](_0x384327);}['getPartView'](_0xac72b4){return this['containerView']['bodyView']['getPartView'](_0xac72b4);}['markAsDone'](){super['markAsDone'](),this['containerView']['markAsDone']();}}class AIChatFeedReplyItemView extends AIChatFeedItemView{['replyContainer'];['_bodyCollection'];constructor(_0xcba8bd,_0x48df19,_0x2c435f){super(_0x48df19),this['_bodyCollection']=_0x2c435f,this['locale']=_0xcba8bd,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':_0x36db76(this['options']['initialContent']),'renderingStrategy':'static'}),this['markAsDone']());}async['updateContent']({parsedContent:_0x3e9063,renderingStrategy:_0x7bdcc7,abortSignal:_0x3421bb}){'streaming'===_0x7bdcc7?await this['streamIntoElement'](_0x3e9063,this['replyContainer']['element'],_0x3421bb):this['replyContainer']['element']['innerHTML']=_0x5b5202(_0x3e9063);}['updateSources'](_0x2155e6){const _0x75c5a2=new _0x19dedb(this['locale'],this['_bodyCollection']);_0x75c5a2['children']['addMany'](_0x2155e6['map'](_0x21f0f6=>new _0x5075b9(this['locale'],_0x21f0f6,_0x75c5a2['balloonPanelView']))),_0x75c5a2['isVisible']=!0x0,this['children']['add'](_0x75c5a2);}}class _0x3407ba extends ckeditor5['SpinnerView']{constructor(_0xca6fb4=void 0x0){super();const _0x50a1f1=_0xca6fb4?'ck-ai-spinner_'+_0xca6fb4:'';this['extendTemplate']({'tag':'span','attributes':{'class':['ck-ai-spinner',_0x50a1f1]}});}}const _0x1354e8={'file':ckeditor5['IconFileUpload'],'document':ckeditor5['IconDocument'],'web-resource':ckeditor5['IconLink'],'text':ckeditor5['IconFileUpload'],'selection':ckeditor5['IconSelection'],'mcp-tool-context':ckeditor5['IconDocument']},_0x1074f5=0x78,_0x2e042a={'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'},_0xc49b71={'position':'n'};class AIChatContextItemButtonView extends ckeditor5['ButtonView']{constructor(_0x1db896,_0x4ddd41,_0x1b4696,_0x556696,_0x52d674=!0x1){super(_0x1db896),this['_isAnimationOnEnterEnabled']=_0x556696,this['_initializeProperties'](_0x4ddd41,_0x1b4696,_0x52d674),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'](_0x55f4af,_0x2eebaa,_0x3a0d74){this['set']('label',_0x55f4af['label']),this['set']('tooltip',!0x0),this['set']('itemType',_0x55f4af['type']),this['set']('id',_0x55f4af['uiId']),this['set']('readonly',_0x2eebaa),this['set']('isLoading',_0x3a0d74);}['_setupTemplate'](){const _0xb38191=this['_createIconView'](),_0x205d2a=this['_createRemoveButton'](),_0x475a61=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':this['_createTemplateAttributes'](_0x475a61),'children':this['_createTemplateChildren'](_0xb38191,_0x205d2a,_0x475a61)});}['_createTemplateAttributes'](_0x2ce9fa){return{'class':[_0x2e042a['contextChip'],_0x2ce9fa['if']('itemType',_0x2e042a['contextChipDocument'],_0x5647a0=>'document'==_0x5647a0),_0x2ce9fa['if']('itemType',_0x2e042a['contextChipWide'],_0x528146=>'selection'==_0x528146)],'data-cke-tooltip-text':_0x2ce9fa['to']('label',getTooltipForLabel),'data-cke-tooltip-position':_0xc49b71['position'],'data-cke-tooltip-class':_0x2e042a['chipTooltip']};}['_createTemplateChildren'](_0x17fdd2,_0x667ff,_0x1723cf){const _0x577e2e=this['_createLabelElement'](_0x1723cf),_0x498e03=this['_createLoaderIcon']();return this['readonly']?[_0x17fdd2,_0x577e2e]:[_0x17fdd2,_0x498e03,_0x577e2e,_0x667ff];}['_createLabelElement'](_0x1ee34b){return{'tag':'span','attributes':{'class':_0x2e042a['contextChipLabel']},'children':[{'text':_0x1ee34b['to']('label')}]};}['_createRemoveButton'](){const _0x1dcd7c=new ckeditor5['ButtonView'](this['locale']);return _0x1dcd7c['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT'),'icon':ckeditor5['IconClose']}),this['_setupRemoveButtonEvent'](_0x1dcd7c),_0x1dcd7c;}['_setupRemoveButtonEvent'](_0x379470){_0x379470['on']('execute',()=>{this['fire']('removeContextItemChip',this['id']);});}['_createIconView'](){const _0x39fd89=this['bindTemplate'],_0x2f2273=new ckeditor5['IconView']();return _0x2f2273['content']=_0x1354e8[this['itemType']],_0x2f2273['extendTemplate']({'attributes':{'class':[_0x2e042a['contextChipTypeIcon'],_0x39fd89['if']('isLoading','ck-hidden',_0x3b1fd5=>_0x3b1fd5)]}}),_0x2f2273;}['_handleAnimationEndOnce'](_0x3dd682,_0x11725c){if(!_0x3dd682)return;const _0x5563c0=()=>{_0x11725c(),_0x3dd682['removeEventListener']('animationend',_0x5563c0),_0x3dd682['removeEventListener']('webkitAnimationEnd',_0x5563c0);};_0x3dd682['addEventListener']('animationend',_0x5563c0),_0x3dd682['addEventListener']('webkitAnimationEnd',_0x5563c0);}['_createLoaderIcon'](){const _0x4ced12=new _0x3407ba('small');return _0x4ced12['bind']('isVisible')['to'](this,'isLoading',_0x52099c=>_0x52099c),_0x4ced12;}}function getTooltipForLabel(_0x58c764){if(!_0x58c764)return _0x58c764;if(_0x58c764['length']<=_0x1074f5)return _0x58c764;const _0x16a3a6=_0x58c764['slice'](0x0,_0x1074f5),_0x318ca9=_0x16a3a6['lastIndexOf']('\x20');return(_0x318ca9>0x0?_0x16a3a6['slice'](0x0,_0x318ca9):_0x16a3a6)+'…';}const _0x4e7efc={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},_0x1f335d='300px';class AIChatChipsOverflowManager{['_locale'];['_config'];['_visibleChips'];['_overflowChips'];['_showMoreButtonView']=null;['_showMoreBalloonPanelView']=null;['_containerElement']=null;['_bodyCollection'];['_parentView']=null;['_intersectionObserver']=null;['_pendingCalculation']=!0x1;constructor(_0x126333,_0x2656ad,_0x3e5cd4,_0x171016,_0xd2033f){this['_locale']=_0x126333,this['_visibleChips']=_0x2656ad,this['_config']={..._0x4e7efc,..._0x3e5cd4,'cssClasses':{'controlsButton':'','calculationContainer':'ck-calculation-container',..._0x3e5cd4['cssClasses']}},this['_overflowChips']=new ckeditor5['Collection'](),this['_bodyCollection']=_0x171016,this['_parentView']=_0xd2033f||null;}['setContainerElement'](_0x293ea9){this['_intersectionObserver']&&(this['_intersectionObserver']['disconnect'](),this['_intersectionObserver']=null),this['_containerElement']=_0x293ea9,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 _0x17f6f0=[...this['_visibleChips'],...this['_overflowChips']],_0x216241=this['_createCalculationContainer'](),_0x3681c0=this['_calculateOverflowInContainer'](_0x216241,_0x17f6f0),_0xbb0336=_0x216241['_ancestorsToRestore'];_0xbb0336&&this['_restoreAncestorVisibility'](_0xbb0336),_0x216241['remove'](),this['_applyOverflowResults'](_0x17f6f0,_0x3681c0);}['_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 _0x9e029c=new ckeditor5['ButtonView'](this['_locale']);_0x9e029c['set']({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x3de081=[this['_config']['cssClasses']['showMoreButton']];return this['_config']['cssClasses']['controlsButton']&&_0x3de081['push'](this['_config']['cssClasses']['controlsButton']),_0x9e029c['extendTemplate']({'attributes':{'class':_0x3de081}}),_0x9e029c;}['_createShowMoreBalloonPanelView'](){const _0x1f75d2=new ckeditor5['BalloonPanelView'](this['_locale']);return _0x1f75d2['extendTemplate']({'attributes':{'class':this['_config']['cssClasses']['showMoreBalloon']}}),this['_bodyCollection']['add'](_0x1f75d2),_0x1f75d2;}['_updateBalloonContent'](){if(this['_showMoreBalloonPanelView']&&(this['_showMoreBalloonPanelView']['content']['clear'](),this['_overflowChips']['length']>0x0)){this['_overflowChips']['forEach'](_0x1bedf1=>{_0x1bedf1['disableAnimationOnEnter']();});const _0x1f82f6=new ckeditor5['View'](this['_locale']);_0x1f82f6['setTemplate']({'tag':'div','attributes':{'class':this['_config']['cssClasses']['overflowContainer']},'children':this['_overflowChips']}),this['_showMoreBalloonPanelView']['content']['add'](_0x1f82f6);}}['_handleShowMoreButtonClick'](){this['_showMoreButtonView']['isOn']?this['hideBalloonPanel']():this['showBalloonPanel']();}['_updateShowMoreButtonVisibility'](){const _0xf55281=this['_overflowChips']['length']>0x0;this['_showMoreButtonView']?.['element']&&(this['_showMoreButtonView']['element']['style']['display']=_0xf55281?'':'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'](_0x5136ae){const _0x495d16=this['_containerElement']?.['tagName']['toLowerCase']()||'div',_0x23f16e=this['_containerElement']?.['classList'];if(_0x23f16e){const _0x321cbc=_0x23f16e[0x0]||'',_0x18df74=_0x5136ae['querySelector']('.'+_0x321cbc),_0x595289=_0x5136ae['querySelector'](_0x495d16);return _0x18df74||_0x595289||_0x5136ae;}return _0x5136ae['querySelector'](_0x495d16)||_0x5136ae;}['_calculateContainerWidth'](){const _0x3fd2f0=this['_parentView']?.['element']||this['_containerElement'];if(!_0x3fd2f0)return _0x1f335d;const _0xc4cb84=window['getComputedStyle'](_0x3fd2f0)['width'];if('auto'===_0xc4cb84||'0px'===_0xc4cb84||!_0xc4cb84){const _0x9a2b1e=_0x3fd2f0['parentElement'];if(_0x9a2b1e){const _0x34b6bc=window['getComputedStyle'](_0x9a2b1e);return'auto'!==_0x34b6bc['width']?_0x34b6bc['width']:_0x1f335d;}return _0x1f335d;}return _0xc4cb84;}['_applyCalculationStyles'](_0x43f0ef,_0x2ea6af){this['_config']['cssClasses']['calculationContainer']&&_0x43f0ef['classList']['add'](this['_config']['cssClasses']['calculationContainer']),_0x43f0ef['style']['width']=_0x2ea6af,_0x43f0ef['style']['position']='absolute',_0x43f0ef['style']['top']='-9999px',_0x43f0ef['style']['left']='-9999px',_0x43f0ef['style']['opacity']='0',_0x43f0ef['style']['pointerEvents']='none',_0x43f0ef['style']['zIndex']='-1',_0x43f0ef['style']['visibility']='visible\x20!important',_0x43f0ef['style']['display']='block\x20!important',_0x43f0ef['style']['boxSizing']='border-box';}['_restoreAncestorVisibility'](_0x10bcc8){_0x10bcc8['forEach'](({element:_0x22ac55,originalDisplay:_0x5a7d24,originalVisibility:_0x10b24b})=>{_0x22ac55['style']['display']=_0x5a7d24,_0x22ac55['style']['visibility']=_0x10b24b;});}['_makeAncestorsVisible'](_0x1124e5){const _0x5c44f5=[];let _0x3d1f63=_0x1124e5;for(;_0x3d1f63&&_0x3d1f63!==document['body'];){const _0x23c789=window['getComputedStyle'](_0x3d1f63);'none'!==_0x23c789['display']&&'hidden'!==_0x23c789['visibility']||(_0x5c44f5['push']({'element':_0x3d1f63,'originalDisplay':_0x3d1f63['style']['display'],'originalVisibility':_0x3d1f63['style']['visibility']}),_0x3d1f63['style']['display']='block',_0x3d1f63['style']['visibility']='visible'),_0x3d1f63=_0x3d1f63['parentElement'];}return _0x5c44f5;}['_createContainerElements'](){let _0x131c18,_0x6026b1;return this['_parentView']?.['element']?(_0x131c18=this['_parentView']['element']['cloneNode'](!0x0),_0x6026b1=this['_findTargetContainer'](_0x131c18)):(_0x131c18=document['createElement']('div'),_0x6026b1=_0x131c18),{'calculationContainer':_0x131c18,'targetContainer':_0x6026b1};}['_createCalculationContainer'](){const {calculationContainer:_0x2a2e60,targetContainer:_0x3475ea}=this['_createContainerElements'](),_0x3aeb36=this['_calculateContainerWidth']();this['_applyCalculationStyles'](_0x2a2e60,_0x3aeb36);const _0x3f577a=this['_parentView']?.['element']||this['_containerElement'],_0x46af18=_0x3f577a?.['parentElement'];_0x46af18?_0x46af18['appendChild'](_0x2a2e60):document['body']['appendChild'](_0x2a2e60),_0x2a2e60['_targetContainer']=_0x3475ea;const _0x23f8b7=this['_makeAncestorsVisible'](_0x46af18||null);return _0x2a2e60['offsetWidth'],_0x2a2e60['_ancestorsToRestore']=_0x23f8b7,_0x2a2e60;}['_calculateOverflowInContainer'](_0x44c410,_0x3667e9){const _0x54b0fe=_0x44c410['_targetContainer']||_0x44c410,_0x8d8ad=[],{rowCount:_0x1c588b}=this['_renderChipsAndCountRows'](_0x54b0fe,_0x3667e9);if(_0x1c588b<=this['_config']['maxVisibleRows'])return _0x8d8ad;const _0x3310af=_0x3667e9['slice']();for(;_0x3310af['length']>0x0;){if(this['_testButtonFit'](_0x44c410,_0x54b0fe,_0x3310af)){const _0x231ce9=_0x3667e9['filter'](_0x34d602=>!_0x3310af['includes'](_0x34d602));_0x8d8ad['push'](..._0x231ce9);break;}if(!_0x3310af['pop']())break;}return _0x8d8ad;}['_renderChipsAndCountRows'](_0x506d71,_0x3dc50e){_0x506d71['innerHTML']='',_0x3dc50e['forEach'](_0xd35a50=>{if(_0xd35a50['element']){const _0x3c6e0b=_0xd35a50['element']['cloneNode'](!0x0);_0x506d71['appendChild'](_0x3c6e0b);}}),_0x506d71['offsetWidth'];const _0x1ff15b=_0x506d71['children'],_0x1a379b=[];return Array['from'](_0x1ff15b)['forEach'](_0xf41345=>{const _0x356dad=_0xf41345['getBoundingClientRect']()['top'];_0x1a379b['some'](_0x1c1796=>Math['abs'](_0x1c1796-_0x356dad)<this['_config']['rowDetectionTolerance'])||_0x1a379b['push'](_0x356dad);}),{'rowCount':_0x1a379b['length']};}['_createMockButton'](){const _0x44338f=document['createElement']('button');return _0x44338f['className']=this['_config']['cssClasses']['showMoreButton'],this['_config']['cssClasses']['controlsButton']&&_0x44338f['classList']['add'](this['_config']['cssClasses']['controlsButton']),_0x44338f['textContent']='+\x201',_0x44338f;}['_testButtonFit'](_0x56d00d,_0x1a4dd3,_0xa7d3e7){this['_renderChipsAndCountRows'](_0x1a4dd3,_0xa7d3e7);const _0x482a49=this['_createMockButton']();_0x56d00d['appendChild'](_0x482a49),_0x56d00d['offsetWidth'];const _0x212899=[..._0x1a4dd3['children'],_0x482a49],_0x512cc7=[];_0x212899['forEach'](_0x227687=>{const _0x4e5bc4=_0x227687['getBoundingClientRect']()['top'];_0x512cc7['some'](_0x5b57c0=>Math['abs'](_0x5b57c0-_0x4e5bc4)<this['_config']['rowDetectionTolerance'])||_0x512cc7['push'](_0x4e5bc4);});const _0x153929=_0x512cc7['length'];return _0x482a49['remove'](),_0x153929<=this['_config']['maxVisibleRows'];}['_distributeChips'](_0x31d0db,_0x426ab1){this['_visibleChips']['clear'](),this['_overflowChips']['clear'](),_0x31d0db['forEach'](_0x3ed9a3=>{_0x426ab1['includes'](_0x3ed9a3)?this['_overflowChips']['add'](_0x3ed9a3):this['_visibleChips']['add'](_0x3ed9a3);});}['_updateOverflowUI'](_0x3cab31){if(_0x3cab31>0x0&&!this['_showMoreButtonView']&&this['_createShowMoreButton'](),_0x3cab31>0x0&&this['_showMoreButtonView']){const _0x169a8f=''+this['_config']['showMoreLabelPrefix']+(_0x3cab31<0x63?_0x3cab31:'99');this['_showMoreButtonView']['label']=_0x169a8f;}this['_updateBalloonContent'](),this['_updateShowMoreButtonVisibility'](),this['_repinBalloonPanel']();}['_applyOverflowResults'](_0x42ec35,_0xa31756){this['_distributeChips'](_0x42ec35,_0xa31756),this['_updateOverflowUI'](_0xa31756['length']);}['_setupVisibilityObserver'](){this['_containerElement']&&'undefined'!=typeof IntersectionObserver&&(this['_intersectionObserver']=new IntersectionObserver(_0x21c876=>{_0x21c876[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 _0x37e0d2=this['_containerElement']['getBoundingClientRect']();if(0x0===_0x37e0d2['width']||0x0===_0x37e0d2['height'])return!0x1;const _0x29ae4e=window['innerHeight']||document['documentElement']['clientHeight'],_0x1fe3bd=window['innerWidth']||document['documentElement']['clientWidth'],_0x39ad7d=0xc8;return _0x37e0d2['bottom']>=-0xc8&&_0x37e0d2['top']<=_0x29ae4e+_0x39ad7d&&_0x37e0d2['right']>=-0xc8&&_0x37e0d2['left']<=_0x1fe3bd+_0x39ad7d;}}const _0x441ad7={'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(_0x1738d8,_0x5be69f,_0x1833ab){super(_0x1738d8),this['_bodyCollection']=_0x1833ab,this['_createContextChips'](_0x5be69f);const _0x352586={'cssClasses':{'showMoreButton':_0x441ad7['SHOW_MORE_BUTTON'],'showMoreBalloon':_0x441ad7['SHOW_MORE_BALLOON'],'overflowContainer':_0x441ad7['CONTEXT_CHIPS_OVERFLOW'],'controlsButton':_0x441ad7['CONTROLS_BUTTON']}};this['_overflowManager']=new AIChatChipsOverflowManager(_0x1738d8,this['_contextChips'],_0x352586,this['_bodyCollection'],this),this['setTemplate']({'tag':'div','attributes':{'class':[_0x441ad7['CONTEXT_CHIPS'],'ck','ck-reset_all']},'children':[{'tag':'div','attributes':{'class':_0x441ad7['CONTEXT_CHIPS_VISIBLE']},'children':this['_contextChips']}]});}['render'](){super['render']();const _0x131dde=this['element']['querySelector']('.'+_0x441ad7['CONTEXT_CHIPS_VISIBLE']);_0x131dde&&(this['_overflowManager']['setContainerElement'](_0x131dde),this['_overflowManager']['reorganizeChips']());}['destroy'](){super['destroy'](),this['_overflowManager']['destroy']();}['_createContextChips'](_0x27f183){for(const _0x484f46 of _0x27f183){const _0x44f197=new AIChatContextItemButtonView(this['locale'],_0x484f46,!0x0,!0x1);this['_contextChips']['add'](_0x44f197);}}}class AIChatFeedUserMessageItemView extends AIChatFeedItemView{['_contextChipsView']=null;['_locale'];['_bodyCollection'];['_messageContentView'];constructor(_0xd6fd47,_0x3f8cf5,_0x578e11){super(_0x3f8cf5),this['_locale']=_0xd6fd47,this['_bodyCollection']=_0x578e11,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'](_0x1e5e8c=>!_0x1e5e8c['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(_0x25b226,_0x47e36f){super(_0x47e36f);const {isWebSearchEnabled:_0x22fd5c,isReasoningEnabled:_0x169ca3}=_0x47e36f['capabilities'],_0x4ce8ef=[];let _0x2fd943='';_0x22fd5c&&_0x169ca3?(_0x2fd943=getTranslation$i(_0x25b226,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING'),_0x4ce8ef['push'](createIcon(ckeditor5['IconWeb'])),_0x4ce8ef['push'](createIcon(ckeditor5['IconBulb']))):_0x22fd5c?(_0x2fd943=getTranslation$i(_0x25b226,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH'),_0x4ce8ef['push'](createIcon(ckeditor5['IconWeb']))):_0x169ca3&&(_0x2fd943=getTranslation$i(_0x25b226,'AI_CHAT_FEED_REPLY_ITEM_USED_REASONING'),_0x4ce8ef['push'](createIcon(ckeditor5['IconBulb']))),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__interaction-header',_0x2fd943?'':'ck-hidden']}});const _0x39459f=new ckeditor5['View']();_0x39459f['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__interaction-header__capabilities']},'children':[..._0x4ce8ef,{'tag':'span','attributes':{'class':['ck-ai-chat__feed__interaction-header__capabilities__text']},'children':[_0x2fd943]}]}),this['children']['add'](_0x39459f),this['capabilities']=_0x47e36f['capabilities'];}}function createIcon(_0x5cbc50){const _0x2ed28d=new ckeditor5['IconView']();return _0x2ed28d['content']=_0x5cbc50,_0x2ed28d;}const _0x22cb3e=0x5,_0x29cab0=['wheel','touchstart','pointerdown','keydown'],_0x443dfd=['ArrowUp','ArrowDown','PageUp','PageDown','Home','End','\x20'];class _0x5009b3{['element'];['animationFrameId'];['isRunning'];['abortController'];['isUserPaused'];constructor(_0x169b8b){this['element']=_0x169b8b,this['animationFrameId']=null,this['isRunning']=!0x1,this['abortController']=new AbortController(),this['isUserPaused']=!0x1;for(const _0x1dddd5 of _0x29cab0){const _0x4ca749='keydown'!==_0x1dddd5;this['element']['addEventListener'](_0x1dddd5,this['_onUserEvent']['bind'](this),{'passive':_0x4ca749,'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'](_0x1ee023){if(this['isRunning']){if('keydown'===_0x1ee023['type']){const _0x43d73c=_0x1ee023['key'];if(!_0x443dfd['includes'](_0x43d73c))return;}_0x1ee023 instanceof WheelEvent?_0x1ee023['deltaY']<0x0?this['isUserPaused']=!0x0:this['isUserPaused']=!this['_isAtBottom']():this['isUserPaused']=!0x0;}}['_isAtBottom'](){const {scrollTop:_0x52cbb1,scrollHeight:_0x3a6133,clientHeight:_0x2c9c32}=this['element'];return _0x3a6133-_0x52cbb1-_0x2c9c32<=_0x22cb3e;}['_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(_0x4dbbff,_0x495054){super(_0x4dbbff),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-skeleton']},'children':this['_createSkeletonItems'](_0x495054)});}['_createSkeletonItems'](_0x2f6f54){const _0x5b107d=['ck','ck-ai-skeleton__item'];return _0x2f6f54['map'](_0x4771e6=>{let _0x434a3f='';switch(_0x4771e6['attributes']['align']){case'right':_0x434a3f='margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;';break;case'center':_0x434a3f='margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;';break;case'left':_0x434a3f='margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;';}return{'tag':_0x4771e6['tag'],'attributes':{'class':[..._0x5b107d,_0x4771e6['attributes']['class']?_0x4771e6['attributes']['class']:''],'style':'width:\x20'+_0x4771e6['attributes']['width']+';\x20height:\x20'+_0x4771e6['attributes']['height']+';'+_0x434a3f}};});}}const _0xa9451={'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(_0x3f5bdd,_0x37221c,_0x125d4e,_0xe5cf05){return new Array(_0x3f5bdd)['fill'](null)['map'](()=>({'tag':'div','attributes':{'width':_0x37221c,'height':_0x125d4e,'align':_0xe5cf05}}));}class AIChatFeedCustomElementView extends AIChatFeedItemView{constructor(_0x5e1845){super(_0x5e1845),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(_0x59e51d,_0x3d522c){super(_0x59e51d),this['_bodyCollection']=_0x3d522c,this['set']('isPending',!0x1),this['set']('loadingMessage',''),this['set']('isLoadingSkeletonVisible',!0x1),this['set']('isTrackChangesOn',!0x1),this['children']=this['createCollection'](),this['children']['delegate'](..._0x566e12)['to'](this),this['_setupTemplate']();}['render'](){super['render'](),this['scrollManager']=new _0x5009b3(this['element']);}['destroy'](){super['destroy'](),this['scrollManager']['destroy']();}['clear'](){this['children']['clear']();}['addItem'](_0x4e3a08,_0x18b13f){let _0x5c9a38;return'ai-reply'===_0x4e3a08?_0x5c9a38=new AIChatFeedReplyItemView(this['locale'],_0x18b13f,this['_bodyCollection']):'ai-suggestion-reply'===_0x4e3a08?(_0x5c9a38=new AIChatFeedSuggestionItemView(this['locale'],_0x18b13f,this['_bodyCollection']),_0x5c9a38['bind']('isTrackChangesOn')['to'](this)):_0x5c9a38='user-message'===_0x4e3a08?new AIChatFeedUserMessageItemView(this['locale'],_0x18b13f,this['_bodyCollection']):'interaction-header'===_0x4e3a08?new AIChatFeedInteractionHeaderView(this['locale'],_0x18b13f):'custom-element'===_0x4e3a08?new AIChatFeedCustomElementView(_0x18b13f):new AIChatFeedErrorItemView(_0x18b13f),this['children']['add'](_0x5c9a38),_0x5c9a38;}async['updateReplyItem']({id:_0x3a0572,parsedContent:_0x4438ea,renderingStrategy:_0x17253f,abortSignal:_0x307159}){const _0x10996d=this['getItemById'](_0x3a0572);if(!(_0x10996d instanceof AIChatFeedReplyItemView))throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-a-reply-item',null,{'itemView':_0x10996d,'id':_0x3a0572,'parsedContent':_0x4438ea});await _0x10996d['updateContent']({'parsedContent':_0x4438ea,'renderingStrategy':_0x17253f,'abortSignal':_0x307159});}async['updateWebSources'](_0x116a4f,_0x4c7b24){const _0x3df744=this['getItemById'](_0x116a4f);if(_0x3df744 instanceof AIChatFeedSuggestionItemView)_0x3df744['updateSources'](_0x4c7b24);else{if(!(_0x3df744 instanceof AIChatFeedReplyItemView))throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-or-reply-item',null,{'itemView':_0x3df744,'id':_0x116a4f,'sources':_0x4c7b24});_0x3df744['updateSources'](_0x4c7b24);}}async['updateSuggestionItem']({id:_0x528b17,parts:_0x1fc945,renderingStrategy:_0x331e61,abortSignal:_0x23cfee}){const _0x589b4a=this['getItemById'](_0x528b17);if(!(_0x589b4a instanceof AIChatFeedSuggestionItemView))throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',null,{'itemView':_0x589b4a,'id':_0x528b17,'parts':_0x1fc945});await _0x589b4a['updateContent']({'parts':_0x1fc945,'renderingStrategy':_0x331e61,'abortSignal':_0x23cfee});}['updateSuggestionPartState']({id:_0x2cdd9f,index:_0x2b8f88,state:_0x597895}){const _0x455a10=this['getItemById'](_0x2cdd9f);if(!(_0x455a10 instanceof AIChatFeedSuggestionItemView))throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0x2cdd9f});_0x455a10['updatePartState'](_0x2b8f88,_0x597895);}['setSuggestionPartActive']({id:_0x17c5b6,index:_0x33431a,isActive:_0x5b1fab}){const _0x437004=this['getItemById'](_0x17c5b6);if(!(_0x437004 instanceof AIChatFeedSuggestionItemView))throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0x17c5b6});this['children']['filter'](_0x383b71=>_0x383b71 instanceof AIChatFeedSuggestionItemView)['forEach'](_0x249b7b=>{_0x249b7b['setPartActive'](!0x1);}),_0x437004['setPartActive'](_0x33431a,_0x5b1fab);}['markItemAsDone'](_0x3c3dc9){this['getItemById'](_0x3c3dc9)['markAsDone']();}['getItemIds'](){return this['children']['map'](_0xe7a4a8=>_0xe7a4a8['options']['id']);}['removeItem'](_0x4f8ee4){this['children']['remove'](this['getItemById'](_0x4f8ee4));}['hasItem'](_0x2817fd){return!!this['children']['find'](_0x2afa66=>_0x2afa66['options']['id']['includes'](_0x2817fd));}['scrollToSuggestion'](_0x34078e,_0x480342){const _0x101afb=this['getItemById'](_0x34078e);if(!(_0x101afb instanceof AIChatFeedSuggestionItemView))return void ckeditor5['logWarning']('ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item',{'replyId':_0x34078e,'partIndex':_0x480342});const _0x3e13d5=_0x101afb['getPartView'](_0x480342);_0x3e13d5?ckeditor5['scrollAncestorsToShowTarget'](_0x3e13d5['element'],0x14,this['element']['parentElement'],!0x0,!0x0):ckeditor5['logWarning']('ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found',{'replyId':_0x34078e,'partIndex':_0x480342});}['_setupTemplate'](){this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed']},'children':this['_createTemplateChildren']()});}['_createTemplateChildren'](){const _0x14c937=this['_createSkeletonLoader']();return[this['_createFeedItems'](),_0x14c937,this['_createFeedLoader']()];}['_createSkeletonLoader'](){const _0x5bba1f=new AISkeletonView(this['locale'],_0xa9451['aiFeed']);return _0x5bba1f['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isLoadingSkeletonVisible','ck-hidden',_0x46dd55=>!_0x46dd55)]}}),_0x5bba1f;}['_createFeedItems'](){const _0x3f76af=new ckeditor5['View'](this['locale']);return _0x3f76af['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__items',this['bindTemplate']['if']('isLoadingSkeletonVisible','ck-hidden')]},'children':this['children']}),_0x3f76af;}['_createFeedLoader'](){const _0x20cfa3=new ckeditor5['View'](this['locale']);return _0x20cfa3['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__loader',this['bindTemplate']['if']('isPending','ck-hidden',_0x43312b=>!_0x43312b)]},'children':this['_createLoaderChildren']()}),_0x20cfa3;}['_createLoaderChildren'](){const _0x440a94=new _0x3407ba();return _0x440a94['isVisible']=!0x0,[_0x440a94,{'tag':'span','attributes':{'class':['ck','ck-ai-chat__loader-text']},'children':[{'text':this['bindTemplate']['to']('loadingMessage')}]}];}['getItemById'](_0x215ce9){const _0x5a026b=this['children']['find'](_0x40e924=>_0x40e924['options']['id']['includes'](_0x215ce9));if(!_0x5a026b)throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-found',this,{'id':_0x215ce9});return _0x5a026b;}['setLoadingMessage'](_0x5c07ea){this['set']('loadingMessage',_0x5c07ea);}['toggleLoadingSkeleton'](_0x58cacd){this['set']('isLoadingSkeletonVisible',_0x58cacd);}['startAutoScroll'](){this['scrollManager']['start']();}['stopAutoScroll'](){this['scrollManager']['stop']();}}class AIChatPromptSuggestionsListView extends ckeditor5['ListView']{['filter'](){let _0x35d31f=0x0;for(const _0x20c959 of this['items'])_0x35d31f+=_0x20c959['items']['length'];return{'resultsCount':_0x35d31f,'totalItemsCount':_0x35d31f};}}const _0x203a99=0x320,_0xbf2e09='ck-ai-chat__prompt-input_highlighted';class AIChatPromptInputView extends ckeditor5['AutocompleteView']{['submitButtonView'];static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;['_addContextButtonView'];['_queryViewResizeObserver'];constructor(_0x2ee411,_0x24b8c0){super(_0x2ee411,{'queryView':{'label':'','creator':ckeditor5['createLabeledTextarea'],'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new AIChatPromptSuggestionsListView(_0x2ee411),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this['set']('isEmpty',!0x0),this['set']('isUploadInProgress',!0x1),this['_addContextButtonView']=_0x24b8c0,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',(_0x5d54af,_0x2c0db6)=>!_0x5d54af&&!_0x2c0db6),this['focusableChildren']['add'](this['submitButtonView']);}['render'](){super['render'](),this['queryView']['fieldWrapperChildren']['add'](this['submitButtonView']),this['keystrokes']['set']('enter',(_0x204b0d,_0x510776)=>{this['isUploadInProgress']||this['isEmpty']||_0x204b0d['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x510776());}),this['queryView']['fieldView']['on']('update',()=>{this['isEmpty']=''===this['queryView']['fieldView']['element']['value']?.['trim']();});}['destroy'](){super['destroy'](),this['_queryViewResizeObserver']&&this['_queryViewResizeObserver']['destroy']();}['submit'](){const _0x245802=this['queryView']['fieldView']['element']['value']?.['trim']();if(!_0x245802)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 _0x112520=_0x1e319d(_0x245802);this['fire']('sendUserMessage',_0x112520),this['queryView']['fieldView']['reset']();}['setPlaceholderText'](_0x3f5599){this['queryView']['fieldView']['set']('placeholder',_0x3f5599);}['focus'](_0x21d37d=!0x1){super['focus'](),_0x21d37d&&(this['element']['classList']['contains'](_0xbf2e09)||(this['element']['classList']['add'](_0xbf2e09),setTimeout(()=>{this['element']['classList']['remove'](_0xbf2e09);},_0x203a99)));}['_createSubmitButton'](){const _0x1cb413=new ckeditor5['ButtonView'](this['locale']);return _0x1cb413['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}),_0x1cb413['on']('execute',()=>{this['submit']();}),_0x1cb413;}['setIsUploadInProgress'](_0x1411ea){this['isUploadInProgress']=_0x1411ea;}['_setUpAddContextButtonPositioning'](){const _0x4d2701=this['locale'],_0x22d437=()=>{ckeditor5['global']['window']['requestAnimationFrame'](()=>{if(ckeditor5['isVisible'](this['element'])){const _0x520796=new ckeditor5['Rect'](this['queryView']['fieldView']['element']),_0x5b0e41=new ckeditor5['Rect'](this['_addContextButtonView']['element']),_0x19887b=_0x520796['width'],_0x53c3c0='rtl'===_0x4d2701['uiLanguageDirection']?'right':'left';_0x520796['excludeScrollbarsAndBorders']();const _0xd8fd71=_0x19887b-_0x520796['width']+0x1;this['_addContextButtonView']['element']['style'][_0x53c3c0]='calc('+(_0x19887b-_0x5b0e41['width']-_0xd8fd71)+'px\x20-\x20var(--ck-spacing-tiny))';}});};this['queryView']['fieldView']['on']('update',_0x22d437),this['on']('render',()=>{_0x22d437(),this['_queryViewResizeObserver']=new ckeditor5['ResizeObserver'](this['queryView']['fieldView']['element'],()=>{_0x22d437();});});}}const _0x237e2e={'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'},_0x439601='n';class AIChatPromptCapabilitiesView extends ckeditor5['View']{['_webSearchButton'];['_reasoningButton'];['_commandsButton'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_modelNameView'];constructor(_0x40cd45){super(_0x40cd45),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',_0x352442=>'selector'===_0x352442),this['_modelSelectionDropdown']['buttonView']['bind']('tooltip')['to'](this,'modelSelectorEnabled',_0x2b0de3=>_0x2b0de3?this['_modelSelectionDropdown']['buttonView']['label']:getTranslation$i(this['locale'],'AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP')),this['_modelSelectionDropdown']['bind']('isEnabled')['to'](this,'modelSelectorEnabled',_0x1a2f38=>_0x1a2f38),this['_webSearchButton']['bind']('isOn')['to'](this,'webSearchActive',_0x1bd6e6=>_0x1bd6e6),this['_webSearchButton']['bind']('tooltip')['to'](this,'webSearchActive',_0x2fb15b=>getTranslation$i(this['locale'],_0x2fb15b?'AI_CHAT_DISABLE_WEB_SEARCH':'AI_CHAT_ENABLE_WEB_SEARCH')),this['_reasoningButton']['bind']('isOn')['to'](this,'reasoningActive',_0x46d5c5=>_0x46d5c5),this['_reasoningButton']['bind']('tooltip')['to'](this,'reasoningActive',_0x1c451e=>getTranslation$i(this['locale'],_0x1c451e?'AI_CHAT_DISABLE_REASONING':'AI_CHAT_ENABLE_REASONING')),this['setTemplate']({'tag':'div','attributes':{'class':[_0x237e2e['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'](_0x46e685,_0x51eca5){if(_0x51eca5)this['set']('modelDisplayMode','hidden');else{const _0x1c62ec=0x1===_0x46e685['length'];this['set']('modelDisplayMode',_0x1c62ec?'name':'selector');}if(this['_modelSelectionDropdownItems']['clear'](),_0x46e685?.['length'])for(const _0x284c02 of _0x46e685){const _0x480e94=new ckeditor5['UIModel']({'label':_0x284c02['name'],'withText':!0x0,'role':'menuitemradio','id':_0x284c02['id'],'model':_0x284c02});_0x480e94['bind']('isOn')['to'](this,'activeModelId',_0x56376b=>_0x56376b===_0x284c02['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x480e94,'labelView':new ModelButtonLabelView$1(this['locale'],_0x284c02)});}}['setWebSearch'](_0x3756ae){this['set']('webSearchActive',_0x3756ae);}['setReasoning'](_0x5207fa){this['set']('reasoningActive',_0x5207fa);}['setModel'](_0x5c9109){if(!_0x5c9109)return;this['activeModelId']=_0x5c9109['id'],this['activeModelName']=_0x5c9109['name']||_0x5c9109['id'],this['_modelSelectionDropdown']['buttonView']['set']('label',_0x5c9109['name']),this['_modelSelectionDropdown']['buttonView']['set']('tooltip',_0x5c9109['name']);const _0x5ea449=_0x5c9109['capabilities']['webSearch']?.['enabled']??!0x1;this['set']('webSearchActive',!0x1),this['_webSearchButton']['set']('isOn',!0x1),this['_webSearchButton']['set']('isEnabled',_0x5ea449),this['_webSearchButton']['set']('isVisible',_0x5ea449);const _0x3817cb=_0x5c9109['capabilities']['reasoning']?.['enabled']??!0x1;this['set']('reasoningActive',!0x1),this['_reasoningButton']['set']('isOn',!0x1),this['_reasoningButton']['set']('isEnabled',_0x3817cb),this['_reasoningButton']['set']('isVisible',_0x3817cb);}['enableModelSelector'](){this['set']('modelSelectorEnabled',!0x0);}['disableModelSelector'](_0x1e7753){this['set']('modelSelectorEnabled',!0x1),_0x1e7753&&this['set']('modelDisplayMode','hidden');}['_createWebSearchButton'](){const _0x99c109=new ckeditor5['ButtonView']();return _0x99c109['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_SEARCH_WEB'),'icon':ckeditor5['IconWeb'],'class':_0x237e2e['CONTROLS_BUTTON'],'isToggleable':!0x0,'tooltipPosition':_0x439601}),_0x99c109['on']('execute',()=>{this['fire']('toggleWebSearch');}),_0x99c109;}['_createReasoningButton'](){const _0x3f313a=new ckeditor5['ButtonView']();return _0x3f313a['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_REASONING'),'icon':ckeditor5['IconBulb'],'class':_0x237e2e['CONTROLS_BUTTON'],'isToggleable':!0x0,'tooltipPosition':_0x439601}),_0x3f313a['on']('execute',()=>{this['fire']('toggleReasoning');}),_0x3f313a;}['_createCommandsButton'](){const _0x3921b7=new ckeditor5['ButtonView']();return _0x3921b7['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_COMMANDS'),'icon':ckeditor5['IconAI'],'withText':!0x0,'class':_0x237e2e['CONTROLS_BUTTON'],'isToggleable':!0x0,'tooltip':getTranslation$i(this['locale'],'AI_CHAT_COMMANDS'),'tooltipPosition':_0x439601}),_0x3921b7['extendTemplate']({'attributes':{'class':[_0x237e2e['COMMANDS_BUTTON']]}}),_0x3921b7['on']('execute',()=>{console['log']('Commands\x20are\x20not\x20implemented\x20yet.'),alert('Commands\x20are\x20not\x20implemented\x20yet.');}),_0x3921b7;}['_createModelSelectionDropdown'](){const _0x30fc57=ckeditor5['createDropdown'](this['locale']);return _0x30fc57['set']({'panelPosition':'ne','class':[_0x237e2e['MODEL_SELECTION']]}),_0x30fc57['buttonView']['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP'),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':_0x439601,'class':_0x237e2e['TERTIARY_BUTTON']}),this['listenTo'](_0x30fc57,'execute',_0x3f0c53=>{this['fire']('selectModel',_0x3f0c53['source']['model']);}),_0x30fc57;}['_createModelNameView'](){const _0x501962=new _0x125780(this['locale']);return _0x501962['bind']('text')['to'](this,'activeModelName',_0x18914b=>_0x18914b??''),_0x501962['bind']('isVisible')['to'](this,'modelDisplayMode',_0x225445=>'name'===_0x225445),_0x501962;}}let ModelButtonLabelView$1=class extends ckeditor5['ButtonLabelView']{constructor(_0x574d8b,_0x39ac7d){super();const _0x5dab1b=this['bindTemplate'],_0x56ccd2=this['createCollection']();this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x5dab1b['to']('style'),'id':_0x5dab1b['to']('id')},'children':[{'tag':'div','attributes':{'class':[_0x237e2e['MODEL_SELECTION_ITEM_NAME']]},'children':[{'text':_0x5dab1b['to']('text')}]},{'tag':'div','attributes':{'class':[_0x237e2e['MODEL_SELECTION_ITEM_DESCRIPTION']]},'children':[{'tag':'span','children':[{'text':_0x39ac7d['description']}]}]},{'tag':'div','attributes':{'class':[_0x237e2e['MODEL_SELECTION_ITEM_CAPABILITIES']]},'children':_0x56ccd2}]}),_0x56ccd2['addMany'](this['_getCapabilityParts'](_0x574d8b,ckeditor5['IconWeb'],'AI_CHAT_SEARCH_WEB',_0x39ac7d['capabilities']['webSearch']?.['enabled']??!0x1)),_0x56ccd2['addMany'](this['_getCapabilityParts'](_0x574d8b,ckeditor5['IconBulb'],'AI_CHAT_REASONING',_0x39ac7d['capabilities']['reasoning']?.['enabled']??!0x1));}['_getCapabilityParts'](_0x3847c8,_0x5dbfdb,_0x18485c,_0x4697ce){const _0x40842c=new ckeditor5['IconView']();_0x40842c['content']=_0x5dbfdb;const _0x23ad6a=new ckeditor5['View'](_0x3847c8);_0x23ad6a['setTemplate']({'tag':'span','children':[{'text':getTranslation$i(_0x3847c8,_0x18485c)+':\x20'}]});const _0x2f1b08=new ckeditor5['View'](_0x3847c8);return _0x2f1b08['setTemplate']({'tag':'span','children':[{'text':getTranslation$i(_0x3847c8,_0x4697ce?'AI_CHAT_CAPABILITIES_YES':'AI_CHAT_CAPABILITIES_NO')}]}),[_0x40842c,_0x23ad6a,_0x2f1b08];}},_0x125780=class extends ckeditor5['View']{constructor(_0x4196d7){super(_0x4196d7),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x58e895=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-chat-controls__model-name',_0x58e895['if']('isVisible','ck-hidden',_0x5132c1=>!_0x5132c1)]},'children':[{'text':_0x58e895['to']('text')}]});}};const _0x100d61={'URL_FORM':'ck-ai-chat-context-controls__url-form','URL_INPUT_SECTION':'ck-ai-chat-context-controls__url-input-section'},_0xa8b48c='n';class AIChatContextPanelUrlInputView extends ckeditor5['View']{['focusTracker'];['keystrokes'];['_focusables'];['focusCycler'];['urlInputField'];['backButton'];['confirmButton'];constructor(_0x1ec20e){super(_0x1ec20e),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'](_0x48c508=>{this['focusTracker']['add'](_0x48c508['element']),this['keystrokes']['listenTo'](_0x48c508['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'](_0x11a140){this['urlInputField']['errorText']=_0x11a140,this['_updateConfirmButtonState'](),this['fire']('refreshBalloon');}['clearError'](){this['urlInputField']['errorText']=null,this['_updateConfirmButtonState']();}['_createBackButton'](){const _0x5e0f53=new ckeditor5['ButtonView'](this['locale']);return _0x5e0f53['set']({'icon':ckeditor5['IconPreviousArrow'],'tooltip':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT'),'tooltipPosition':_0xa8b48c,'class':['ck-button-icon\x20ck-button-back']}),this['on']('change:withBackButton',(_0x44fb12,_0x54d495,_0x1f49ce)=>{_0x5e0f53['set']({'class':['ck-button-icon\x20ck-button-back'+(_0x1f49ce?'':'\x20ck-hidden')]});}),_0x5e0f53;}['_createUrlInputField'](){const _0x50cde1=new ckeditor5['LabeledFieldView'](this['locale'],ckeditor5['createLabeledInputText']);return _0x50cde1['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_LABEL'),'class':'ck-labeled-field-view_empty'}),_0x50cde1['fieldView']['set']({'placeholder':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_PLACEHOLDER')}),_0x50cde1;}['_createConfirmButton'](){const _0x24497a=new ckeditor5['ButtonView'](this['locale']);return _0x24497a['set']({'icon':ckeditor5['IconCheck'],'tooltip':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_ADD_URL'),'tooltipPosition':_0xa8b48c,'class':'ck-button-icon','type':'submit','isEnabled':!0x1}),_0x24497a;}['_setupTemplate'](){const _0x10621d=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'});_0x10621d['children']['add'](this['backButton'],0x0),this['setTemplate']({'tag':'form','attributes':{'class':_0x100d61['URL_FORM'],'tabindex':'-1'},'children':[_0x10621d,{'tag':'div','attributes':{'class':_0x100d61['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',_0x7fa30c=>{_0x7fa30c['stop'](),this['_handleSubmit']();});}['_setupKeystrokes'](){this['keystrokes']['set']('esc',(_0x33e73e,_0x570cd3)=>{this['clear'](),this['fire']('cancel'),_0x570cd3();});}['_handleSubmit'](){const _0x3414b8=this['getValue']()['trim']();_0x3414b8?this['_isValidUrl'](_0x3414b8)?(this['clearError'](),this['fire']('submitUrl',_0x3414b8)):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 _0x80b5fd=this['getValue']()['trim'](),_0x29f7a6=!!this['urlInputField']['errorText'];this['confirmButton']['isEnabled']=_0x80b5fd['length']>0x0&&!_0x29f7a6;}['_isValidUrl'](_0x4d9705){try{return!!new URL(_0x4d9705);}catch{return!0x1;}}}const _0x414990={'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(_0x2f3a93,_0xc4163d){super(_0x2f3a93),this['resource']=_0xc4163d,this['set']('isInContext',!!_0xc4163d['isInContext']),this['_titleView']=this['_createTitleView'](),this['_iconView']=this['_createIconView'](),this['_setupTemplate']();}['render'](){super['render']();}['getResourceIcon'](_0x4c666e){if(_0x4c666e['isInContext'])return ckeditor5['IconCheck'];switch(_0x4c666e['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'](_0x4b22df){if(!_0x4b22df||''===_0x4b22df['trim']())return void this['_titleView']['highlightText'](null);const _0x4ae3ce=new RegExp(_0xc7cc6c(_0x4b22df),'gi');this['_titleView']['highlightText'](_0x4ae3ce);}['updateResourceState'](_0x47a00d){this['resource']['isInContext']=_0x47a00d,this['isInContext']=_0x47a00d,this['_updateIcon']();}['_createTitleView'](){const _0x350863=new ckeditor5['HighlightedTextView']();return _0x350863['text']=this['resource']['label'],_0x350863['extendTemplate']({'tag':'span','attributes':{'class':[_0x414990['ITEM_TITLE']]}}),_0x350863;}['_createIconView'](){const _0x166592=new ckeditor5['IconView']();return _0x166592['content']=this['getResourceIcon'](this['resource']),_0x166592;}['_setupTemplate'](){const _0x30a321=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':[_0x414990['ITEM'],_0x30a321['if']('isVisible','ck-hidden',_0x35b33c=>!_0x35b33c),_0x30a321['if']('isInContext',_0x414990['ITEM_IN_CONTEXT'])]},'children':[{'tag':'div','attributes':{'class':[_0x414990['ITEM_ICON']]},'children':[this['_iconView']]},this['_titleView']],'on':{'click':_0x30a321['to']('execute')}});}['_updateIcon'](){this['_iconView']['content']=this['getResourceIcon'](this['resource']);}}const _0x1b45b2={'LIST':'ck-ai-chat-resources__list'};class AIChatContextResourcesListView extends ckeditor5['ListView']{['_source'];constructor(_0x33858b,_0x515852){super(_0x33858b),this['_source']=_0x515852,this['extendTemplate']({'attributes':{'class':[_0x1b45b2['LIST']]}});}['setResources'](_0x3fbf61,_0x126ba1){this['items']['clear']();let _0x3b8408=_0x3fbf61;if(this['_source']['useDefaultFiltering']&&_0x126ba1&&''!==_0x126ba1['trim']()){const _0x1b9f93=new RegExp(_0x126ba1['replace'](/[.*+?^${}()|[\]\\]/g,'\x5c$&'),'gi');_0x3b8408=_0x3fbf61['filter'](_0xeb82c3=>_0x1b9f93['test'](_0xeb82c3['label']));}for(const _0x28cf34 of _0x3b8408){const _0x3509a9=new AIChatResourceListItemView(this['locale'],_0x28cf34);_0x3509a9['on']('execute',()=>{this['_handleResourceSelection'](this['_source'],_0x28cf34);}),this['items']['add'](_0x3509a9);}this['_source']['useDefaultFiltering']&&this['highlightText'](_0x126ba1);}['highlightText'](_0x1e9b6b){this['_source']['useDefaultFiltering']&&this['items']['forEach'](_0x3ad457=>{_0x3ad457['highlightText'](_0x1e9b6b);});}['updateResourceState'](_0x29d507,_0x4a847a){for(const _0xb30f0c of this['items']){const _0xab20d9=_0xb30f0c;_0xab20d9['resource']['id']===_0x29d507&&_0xab20d9['updateResourceState'](_0x4a847a);}}['_handleResourceSelection'](_0x5e1eff,_0x5d33a1){this['fire']('addResourceToContext',{'source':_0x5e1eff,'resource':_0x5d33a1});}}class AIChatContextResourcesSearchInputView extends ckeditor5['LabeledFieldView']{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x2c9e5a){const t=_0x2c9e5a['t'],_0x1698f3={'showResetButton':!0x0,'showIcon':!0x0,'creator':ckeditor5['createLabeledInputText'],'label':getTranslation$i(_0x2c9e5a,'AI_CHAT_SEARCH_RESOURCES')};super(_0x2c9e5a,_0x1698f3['creator']),this['label']=_0x1698f3['label'],this['_viewConfig']=_0x1698f3,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x2c9e5a,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x11d2ea){this['fire']('search',_0x11d2ea);}['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'](_0x79672,t){this['resetButtonView']=new ckeditor5['ButtonView'](_0x79672),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',_0x1f7553=>!_0x1f7553),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(_0x55ed16,_0x270c1f){super(_0x55ed16),this['_source']=_0x270c1f['source'],this['_searchInputVisibleFrom']=_0x270c1f['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 _0x22ad8b=new ckeditor5['View'](this['locale']);return _0x22ad8b['setTemplate']({'tag':'div','attributes':{'class':'ck\x20ck-search'},'children':[this['_searchView']]}),this['_searchView']['on']('search',(_0x2f3654,_0x2b46e2)=>{this['loadResources'](_0x2b46e2),this['_source']['useDefaultFiltering']&&this['_resourcesListView']['highlightText'](_0x2b46e2);}),_0x22ad8b;}['_createResourcesListView'](){const _0x57ebb9=new AIChatContextResourcesListView(this['locale'],this['_source']);return _0x57ebb9['delegate']('addResourceToContext')['to'](this),_0x57ebb9['extendTemplate']({'attributes':{'class':this['bindTemplate']['if']('isLoading','ck-hidden')}}),_0x57ebb9;}['_createSkeletonView'](){const _0x1c3d09=new AISkeletonView(this['locale'],_0xa9451['aiChatResources']);return _0x1c3d09['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isLoading','ck-hidden',_0x159817=>!_0x159817)]}}),_0x1c3d09;}['render'](){super['render'](),this['loadResources']('');}['loadResources'](_0x53c044){const _0x15a14c=ckeditor5['uid']();this['_latestLoadResourcesUid']=_0x15a14c,this['fire']('loadSourceResources',{'sourceId':this['_source']['id'],'query':_0x53c044,'uid':_0x15a14c}),this['isLoading']=!0x0;}['setResources'](_0x244271,_0x422148){if(_0x422148&&_0x422148!==this['_latestLoadResourcesUid'])return;const _0x4eb99c=this['_source']['useDefaultFiltering']?this['_searchView']['getQuery']():'';this['_resourcesListView']['setResources'](_0x244271,_0x4eb99c),_0x244271['length']>=this['_searchInputVisibleFrom']&&!this['children']['has'](this['_searchSection'])&&this['children']['add'](this['_searchSection'],0x0),requestAnimationFrame(()=>{this['isLoading']=!0x1;});}['updateResourceState'](_0x2bb491,_0x4863fe){this['_resourcesListView']['updateResourceState'](_0x2bb491,_0x4863fe);}}const _0xea84fd={'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'},_0x5b7a19='n';class AIChatResourcesBalloonView{['_sourceResourceBalloons']=new Map();['_bodyCollection'];['_locale'];['_config'];constructor(_0x23708f,_0x54a564,_0x1821e5){this['_locale']=_0x23708f,this['_bodyCollection']=_0x54a564,this['_config']=_0x1821e5;}['showSourceResourcesBalloon']({source:_0x589123,withBackButton:_0x74146}){let _0x23d614=this['_sourceResourceBalloons']['get'](_0x589123['id']);_0x23d614||(_0x23d614=this['_createSourceResourceBalloonPanel'](),this['_sourceResourceBalloons']['set'](_0x589123['id'],_0x23d614),this['_setupSingleResourceBalloonClickOutsideHandler'](_0x23d614)),this['_addSourceResourceContent']({'balloonPanel':_0x23d614,'source':_0x589123,'withBackButton':_0x74146}),_0x23d614['show']();const _0x4ff1b0=this['_config']['getTargetElement']();_0x4ff1b0&&_0x23d614['pin']({'target':_0x4ff1b0,'limiter':this['_config']['getLimiterElement']()});}['populateSourceResourceBalloon'](_0x436fce,_0xef6927,_0x46d198){const _0x44a668=this['_sourceResourceBalloons']['get'](_0x436fce);if(!_0x44a668)return;const _0x5dc77d=this['_getResourcesViewFromBalloon'](_0x44a668);_0x5dc77d&&(_0x5dc77d['setResources'](_0xef6927,_0x46d198),_0x5dc77d['once']('change:isLoading',()=>{_0x44a668['pin']({'target':this['_config']['getTargetElement'](),'limiter':this['_config']['getLimiterElement']()});}));}['closeSourceResourceBalloon'](_0x16c6a5){const _0x4ad17b=this['_sourceResourceBalloons']['get'](_0x16c6a5);_0x4ad17b&&requestAnimationFrame(()=>{_0x4ad17b['hide'](),this['_sourceResourceBalloons']['delete'](_0x16c6a5),this['_config']['onBalloonClosed']();});}['isAnyResourceBalloonVisible'](){for(const _0x37e567 of this['_sourceResourceBalloons']['values']())if(_0x37e567['isVisible'])return!0x0;return!0x1;}['updateResourceState'](_0x1dccb3,_0x209b83,_0x2d903a){const _0x3c5f36=this['_sourceResourceBalloons']['get'](_0x1dccb3);if(!_0x3c5f36||!_0x3c5f36['isVisible'])return;const _0x43d611=this['_config']['getTargetElement']();if(!_0x43d611)return;_0x3c5f36['pin']({'target':_0x43d611,'limiter':this['_config']['getLimiterElement']()});const _0x44c882=this['_getResourcesViewFromBalloon'](_0x3c5f36);_0x44c882&&_0x44c882['updateResourceState'](_0x209b83,_0x2d903a);}['destroy'](){for(const _0xb0cdf1 of this['_sourceResourceBalloons']['values']())_0xb0cdf1['destroy']();this['_sourceResourceBalloons']['clear']();}['_createSourceResourceBalloonPanel'](){const _0x138085=new ckeditor5['BalloonPanelView'](this['_locale']);return _0x138085['extendTemplate']({'attributes':{'class':_0xea84fd['SOURCE_BALLOON_PANEL']}}),this['_bodyCollection']['add'](_0x138085),_0x138085;}['_addSourceResourceContent']({balloonPanel:_0x2e780f,source:_0x35331e,withBackButton:_0x43760f}){_0x2e780f['content']['clear']();const _0x599c44=this['_createBalloonHeader']({'balloonPanel':_0x2e780f,'source':_0x35331e,'withBackButton':_0x43760f});_0x2e780f['content']['add'](_0x599c44);const _0x3fe260=this['_createBalloonResourcesView'](_0x35331e);_0x2e780f['content']['add'](_0x3fe260);}['_createBalloonHeader']({balloonPanel:_0x4494e2,source:_0x387144,withBackButton:_0x479a28}){const _0x24b49a=new ckeditor5['FormHeaderView'](this['_locale'],{'label':_0x387144['label'],'class':_0xea84fd['SOURCE_HEADER']});return _0x479a28&&_0x24b49a['children']['add'](this['_createBackButton'](_0x4494e2),0x0),_0x24b49a;}['_createBackButton'](_0x23275c){const _0x5115ee=new ckeditor5['ButtonView'](this['_locale']);return _0x5115ee['set']({'icon':ckeditor5['IconPreviousArrow'],'tooltip':getTranslation$i(this['_locale'],'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT'),'tooltipPosition':_0x5b7a19,'class':_0xea84fd['SOURCE_BACK_BUTTON']}),_0x5115ee['on']('execute',()=>{_0x23275c['hide'](),this['_config']['onBackToContext']();}),_0x5115ee;}['_createBalloonResourcesView'](_0x18dfa4){const _0x500747=new AIChatContextResourcesView(this['_locale'],{'source':_0x18dfa4,'searchInputVisibleFrom':this['_config']['searchInputVisibleFrom']});return _0x500747['on']('loadSourceResources',(_0x3398a0,_0x89d48a)=>{this['_config']['onLoadSourceResources'](_0x89d48a);}),_0x500747['on']('addResourceToContext',(_0x4940a0,_0x9b5e34)=>{this['_config']['onResourceSelected'](_0x9b5e34['source'],_0x9b5e34['resource']),this['closeSourceResourceBalloon'](_0x18dfa4['id']);}),_0x500747;}['_getResourcesViewFromBalloon'](_0x52d8f4){const _0x2061f9=_0x52d8f4['content']['get'](0x1);return _0x2061f9 instanceof AIChatContextResourcesView?_0x2061f9:null;}['_setupSingleResourceBalloonClickOutsideHandler'](_0x428413){ckeditor5['clickOutsideHandler']({'emitter':_0x428413,'contextElements':[_0x428413['element']],'callback':()=>{_0x428413['hide'](),this['_config']['onBalloonClosed']();},'activator':()=>_0x428413['isVisible']});}}const _0x4d34d4=['addDocumentToContext','addFileToContext','addUrlToContext','addResourceToContext','removeContextItem','loadSourceResources','executeCustomItemCallback'],_0x3e80d2={'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'},_0x2fbbe3='sw',_0xbb496f=[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(_0x1e7682,_0x3ca200){super(_0x1e7682),this['bodyCollection']=_0x3ca200['bodyCollection'],this['_currentContextsChips']=this['createCollection'](),this['_conversationContextsChips']=this['createCollection'](),this['addContextButtonView']=this['_createAddContextButtonView'](_0x1e7682),this['_addContextBalloonPanelView']=this['_createAddContextBalloonPanelView'](_0x1e7682),this['_urlBalloonPanelView']=this['_createUrlBalloonPanelView'](_0x1e7682),this['_resourcesBalloonView']=this['_createResourcesBalloonView'](_0x1e7682,_0x3ca200);const _0x91adbe={'cssClasses':{'showMoreButton':_0x3e80d2['SHOW_MORE_BUTTON'],'showMoreBalloon':_0x3e80d2['SHOW_MORE_BALLOON'],'overflowContainer':_0x3e80d2['CONVERSATION_CONTEXT_CHIPS'],'controlsButton':_0x3e80d2['CONTROLS_BUTTON']}};this['_overflowManager']=new AIChatChipsOverflowManager(_0x1e7682,this['_currentContextsChips'],_0x91adbe,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'](_0x5b179d,_0x4237c7){const _0x429725=this['_createContextButton'](_0x5b179d,'current',!0x0,_0x4237c7);this['_addContextToCollection'](_0x429725,this['_currentContextsChips']),this['_overflowManager']['reorganizeChips']();}['removeContextItem'](_0x45f534){this['_removeContextFromCollection'](_0x45f534,this['_currentContextsChips']),this['_removeContextFromCollection'](_0x45f534,this['_overflowManager']['overflowChips']),this['_overflowManager']['reorganizeChips']();}['setContextItemLoading'](_0x3a25e0,_0x35831a){let _0x47b576=this['_currentContextsChips']['find'](_0x36edf0=>_0x36edf0['id']===_0x3a25e0);_0x47b576||(_0x47b576=this['_overflowManager']['overflowChips']['find'](_0x2e1000=>_0x2e1000['id']===_0x3a25e0)),_0x47b576&&(_0x47b576['isLoading']=_0x35831a);}['setConversationContext'](_0xf4b0f3){this['_conversationContextsChips']['clear']();for(const _0x2bc99a of _0xf4b0f3){const _0x2b7133=this['_createContextButton'](_0x2bc99a,'conversation',!0x1,!0x1);this['_addContextToCollection'](_0x2b7133,this['_conversationContextsChips']);}}['clearCurrentContextItems'](){this['_currentContextsChips']['clear'](),this['_overflowManager']['clear']();}['clearConversationContextItems'](){this['_conversationContextsChips']['clear']();}['updateResourceState'](_0x3d479d,_0xf4f678,_0x51c4a9){this['_resourcesBalloonView']['updateResourceState'](_0x3d479d,_0xf4f678,_0x51c4a9);}['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:_0x4bab48,withBackButton:_0x31c502}){this['_resourcesBalloonView']['showSourceResourcesBalloon']({'source':_0x4bab48,'withBackButton':_0x31c502}),this['addContextButtonView']['isOn']=!0x0;}['populateSourceResourceBalloon'](_0x24e334,_0x59cada,_0x3d8904,_0x473ec2){this['_resourcesBalloonView']['populateSourceResourceBalloon'](_0x24e334,_0x3d8904,_0x473ec2);}['closeSourceResourceBalloon'](_0x54b957){this['_resourcesBalloonView']['closeSourceResourceBalloon'](_0x54b957),this['addContextButtonView']['isOn']=!0x1;}['setAddContextOptions'](_0x55a49d){this['_setBalloonPanelContent'](this['_addContextBalloonPanelView'],this['locale'],_0x55a49d),this['_setAddContextButtonEnabled'](_0x55a49d);}['_setAddContextButtonEnabled'](_0x5aaae5){const _0x5d125b=!_0x5aaae5['document']['isHidden']&&_0x5aaae5['document']['enabled'],_0x5d419b=_0x5aaae5['urls']['enabled'],_0x4b671c=_0x5aaae5['files']['enabled'],_0x1e18ce=_0x5aaae5['sources']['length']>0x0,_0xb709bb=_0x5aaae5['customItems']&&_0x5aaae5['customItems']['length']>0x0;this['addContextButtonView']['isEnabled']=_0x5d125b||_0x5d419b||_0x4b671c||_0x1e18ce||_0xb709bb;}['_setupTemplate'](){this['setTemplate']({'tag':'div','attributes':{'class':[_0x3e80d2['CONTEXT_CONTROLS'],'ck-reset_all-excluded']},'children':[{'tag':'div','attributes':{'class':_0x3e80d2['PENDING_CONTEXTS']},'children':this['_currentContextsChips']}]});}['_bindEventHandlers'](){this['addContextButtonView']['on']('execute',()=>{this['_handleAddContextButtonClick']();});}['_createAddContextButtonView'](_0x559c59){const _0x318eb7=new ckeditor5['ButtonView'](_0x559c59);return _0x318eb7['set']({'label':getTranslation$i(_0x559c59,'AI_CHAT_CONTEXT_ADD_CONTEXT'),'class':_0x3e80d2['CONTROLS_BUTTON']+'\x20'+_0x3e80d2['ADD_CONTEXT_BUTTON'],'icon':ckeditor5['IconPaperClip'],'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':_0x2fbbe3}),_0x318eb7;}['_createAddContextBalloonPanelView'](_0x3420ca){return this['_createBaseBalloonPanel'](_0x3420ca,_0x3e80d2['ADD_CONTEXT_BALLOON']);}['_createUrlBalloonPanelView'](_0x72109d){const _0x192db3=this['_createBaseBalloonPanel'](_0x72109d,_0x3e80d2['URL_BALLOON']);return this['_addUrlContent'](_0x192db3,_0x72109d),_0x192db3;}['_createResourcesBalloonView'](_0xbdf6c5,_0xe640b1){const _0x1601e3={'searchInputVisibleFrom':_0xe640b1['searchInputVisibleFrom'],'onBackToContext':()=>{this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0xbb496f});},'onResourceSelected':(_0x3a386d,_0x473f42)=>{this['fire']('addResourceToContext',{'source':_0x3a386d,'resource':_0x473f42});},'onLoadSourceResources':_0x549343=>{this['fire']('loadSourceResources',_0x549343);},'onBalloonClosed':()=>{this['addContextButtonView']['isOn']=!0x1;},'getLimiterElement':()=>this['_getLimiterElement'](),'getTargetElement':()=>this['addContextButtonView']['element']};return new AIChatResourcesBalloonView(_0xbdf6c5,_0xe640b1['bodyCollection'],_0x1601e3);}['_getLimiterElement'](){return this['element']?.['closest']('.'+_0x3e80d2['CHAT_CONTAINER'])||document['body'];}['_createBaseBalloonPanel'](_0x1fe22b,_0x59aedf){const _0x3ab5be=new ckeditor5['BalloonPanelView'](_0x1fe22b);return _0x3ab5be['extendTemplate']({'attributes':{'class':_0x59aedf}}),this['bodyCollection']['add'](_0x3ab5be),_0x3ab5be;}['_setBalloonPanelContent'](_0x2e2549,_0x3eeaa9,_0x4b1af8){if(_0x2e2549['content']['clear'](),!_0x4b1af8['document']['isHidden']&&_0x4b1af8['document']['enabled']){const _0x8c1b1=this['_createBalloonButton'](_0x3eeaa9,{'label':getTranslation$i(_0x3eeaa9,'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'),'icon':ckeditor5['IconDocument']});_0x8c1b1['on']('execute',()=>{this['fire']('addDocumentToContext'),this['hideAddContextBalloonPanel']();}),_0x2e2549['content']['add'](_0x8c1b1);}if(_0x4b1af8['urls']['enabled']){const _0x4c3e5d=this['_createBalloonButton'](_0x3eeaa9,{'label':getTranslation$i(_0x3eeaa9,'AI_CHAT_CONTEXT_URL_LABEL'),'icon':ckeditor5['IconLink']});_0x4c3e5d['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['showUrlBalloonPanel'](),this['_urlBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0xbb496f}),this['_urlInputView']['focus']();}),_0x2e2549['content']['add'](_0x4c3e5d);}if(_0x4b1af8['files']['enabled']){const _0x4891b5=new ckeditor5['FileDialogButtonView'](_0x3eeaa9);_0x4891b5['set']({'label':getTranslation$i(_0x3eeaa9,'AI_CHAT_CONTEXT_FILE_LABEL'),'icon':ckeditor5['IconBrowseFiles'],'withText':!0x0,'tooltip':!0x0,'class':_0x3e80d2['BALLOON_BUTTON'],'allowMultipleFiles':!0x0}),_0x4891b5['on']('execute',()=>{this['hideAddContextBalloonPanel']();}),_0x4891b5['on']('done',(_0xe51832,_0x7c08c6)=>{this['fire']('addFileToContext',_0x7c08c6);}),_0x4891b5['tooltip']=!0x0,_0x2e2549['content']['add'](_0x4891b5);}for(const _0x35b47d of _0x4b1af8['sources']){const _0xe2d8de=this['_createBalloonButton'](_0x3eeaa9,{'label':_0x35b47d['label'],'icon':_0x35b47d['icon']||ckeditor5['IconDocumentOutline'],'type':'source'});_0x2e2549['content']['add'](_0xe2d8de),_0xe2d8de['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['_showSourceResourcesBalloon']({'source':_0x35b47d,'withBackButton':!this['_hasExactlyOneSource']});});}for(const _0x59fb81 of _0x4b1af8['customItems']||[]){const _0x47e29c=this['_createBalloonButton'](_0x3eeaa9,{'label':_0x59fb81['label'],'icon':_0x59fb81['icon']||ckeditor5['IconDocumentOutline'],'type':'customItem'});_0x2e2549['content']['add'](_0x47e29c),_0x47e29c['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['fire']('executeCustomItemCallback',_0x59fb81);});}this['_hasExactlyOneSource']=0x1===_0x2e2549['content']['length'],this['_urlInputView']['withBackButton']=!this['_hasExactlyOneSource'];}['_addUrlContent'](_0x96202b,_0x66b770){this['_urlInputView']=new AIChatContextPanelUrlInputView(_0x66b770),this['_urlInputView']['on']('submitUrl',(_0x2894f8,_0x11ced4)=>{this['_handleUrlSubmit'](_0x11ced4);}),this['_urlInputView']['on']('cancel',()=>{this['hideUrlBalloonPanel'](),this['_hasExactlyOneSource']||(this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0xbb496f}));}),this['_urlInputView']['on']('refreshBalloon',()=>{this['_urlBalloonPanelView']['isVisible']&&this['_urlBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0xbb496f});}),_0x96202b['content']['add'](this['_urlInputView']);}['_createBalloonButton'](_0x27738e,_0x387566){const _0x2500d3='source'===_0x387566['type']?new SourcesBalloonButtonView(_0x27738e):new ckeditor5['ButtonView'](_0x27738e);return _0x2500d3['set']({'label':_0x387566['label'],'icon':_0x387566['icon'],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':_0x2fbbe3,'class':_0x3e80d2['BALLOON_BUTTON']}),_0x2500d3;}['_setupAllBalloonClickOutsideHandlers'](){this['_setupAddContextBalloonClickOutsideHandler'](),this['_setupUrlBalloonClickOutsideHandler']();}['_setupUrlBalloonClickOutsideHandler'](){ckeditor5['clickOutsideHandler']({'emitter':this['_urlBalloonPanelView'],'contextElements':[this['_urlBalloonPanelView']['element']],'callback':()=>{this['hideUrlBalloonPanel']();},'activator':()=>this['_urlBalloonPanelView']['isVisible']});}['_toggleAddContextBalloon'](_0xc90570){const _0x9fdaf4=this['_addContextBalloonConfig'];_0x9fdaf4['buttonView']['isOn']=_0xc90570,_0xc90570?_0x9fdaf4['balloonView']['show']():_0x9fdaf4['balloonView']['hide']();}['_setupAddContextBalloonClickOutsideHandler'](){const {balloonView:_0x1eab5f,buttonView:_0x594145,hideMethod:_0x3248a2}=this['_addContextBalloonConfig'];ckeditor5['clickOutsideHandler']({'emitter':_0x1eab5f,'contextElements':[_0x1eab5f['element'],_0x594145['element']],'callback':()=>{_0x3248a2();},'activator':()=>_0x594145['isOn']&&!this['_urlBalloonPanelView']['isVisible']&&!this['_resourcesBalloonView']['isAnyResourceBalloonVisible']()});}['_createContextButton'](_0x5cfaea,_0x72c313,_0x204dd6=!0x1,_0x57ecd7=!0x1){const _0x35dee1='conversation'===_0x72c313||!0x0===_0x5cfaea['isReadOnly'],_0x60bf34=new AIChatContextItemButtonView(this['locale'],_0x5cfaea,_0x35dee1,_0x204dd6,_0x57ecd7);return _0x35dee1||_0x60bf34['on']('removeContextItemChip',()=>{this['fire']('removeContextItem',_0x60bf34['id']);}),_0x60bf34;}['_addContextToCollection'](_0xdb289f,_0x29cb2b){_0x29cb2b['add'](_0xdb289f,0x0);}['_removeContextFromCollection'](_0x2b1825,_0x308e84){const _0x1b7650=_0x308e84['find'](_0x1397c2=>_0x1397c2['id']===_0x2b1825);_0x1b7650&&_0x308e84['remove'](_0x1b7650);}['_handleAddContextButtonClick'](){this['addContextButtonView']['isOn']?this['hideAddContextBalloonPanel']():(this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0xbb496f}),this['_hasExactlyOneSource']&&this['_addContextBalloonPanelView']['content']['get'](0x0)?.['fire']('execute'));}['_handleUrlSubmit'](_0x365c91){this['_urlInputView']['clear'](),this['hideUrlBalloonPanel'](),this['fire']('addUrlToContext',_0x365c91);}}class SourcesBalloonButtonView extends ckeditor5['ButtonView']{['arrowView'];constructor(_0x5b1be7){super(_0x5b1be7),this['set']({'withText':!0x0,'role':'menuitem'}),this['arrowView']=this['_createArrowView'](),this['extendTemplate']({'attributes':{'class':[_0x3e80d2['BALLOON_BUTTON_SOURCE']]}});}['render'](){super['render'](),this['children']['add'](this['arrowView']);}['_createArrowView'](){const _0x480a4b=new ckeditor5['IconView']();return _0x480a4b['content']=ckeditor5['IconDropdownArrow'],_0x480a4b['extendTemplate']({'attributes':{'class':_0x3e80d2['BALLOON_BUTTON_SOURCE']+'__arrow'}}),_0x480a4b;}}class AIChatControlsLoaderView extends ckeditor5['View']{['_cancelButtonView'];['_loaderView'];constructor(_0x660dac){super(_0x660dac),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 _0x1ef3b2=new ckeditor5['ButtonView'](this['locale']);return _0x1ef3b2['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']}),_0x1ef3b2['on']('execute',()=>{this['fire']('abortPromptStream');}),_0x1ef3b2;}['_createLoaderView'](){const _0x58fb77=new ckeditor5['View'](this['locale']);return _0x58fb77['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')}]}),_0x58fb77;}}class AIChatControlsView extends ckeditor5['View']{['_contextPanelView'];['_promptInputView'];['_promptCapabilitiesView'];['_loaderView'];['_modelUnavailableMessageView'];['_shouldRestorePromptInputFocus'];constructor(_0x3360a0,_0x5c7e8d){super(_0x3360a0),this['_contextPanelView']=this['_createContextPanelView'](_0x3360a0,{'bodyCollection':_0x5c7e8d['bodyCollection'],'searchInputVisibleFrom':_0x5c7e8d['contextResourcesSearchInputVisibleFrom']}),this['_promptInputView']=this['_createPromptInputView'](_0x3360a0),this['_promptCapabilitiesView']=this['_createPromptCapabilitiesView'](_0x3360a0),this['_loaderView']=this['_createLoaderView'](_0x3360a0),this['_modelUnavailableMessageView']=this['_createModelUnavailableMessageView'](_0x3360a0),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'](..._0x4d34d4)['to'](this),this['set']('isModelAvailable',!0x0),this['set']('isDisabled',!0x1);const _0x4184db=this['bindTemplate'];this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-ai-chat-controls',_0x4184db['if']('isDisabled','ck-ai-chat-controls-disabled')]},'children':[{'tag':'div','attributes':{'class':[_0x4184db['if']('isLoading','ck-hidden',_0x584a35=>_0x584a35||!this['isModelAvailable']),_0x4184db['if']('isModelAvailable','ck-hidden',_0x4a5a4c=>!_0x4a5a4c||this['isLoading'])]},'children':[this['_contextPanelView'],this['_promptInputView'],this['_promptCapabilitiesView']]},{'tag':'div','attributes':{'class':[_0x4184db['if']('isLoading','ck-hidden',_0x461c7a=>!_0x461c7a)]},'children':[this['_loaderView']]},{'tag':'div','attributes':{'class':[_0x4184db['if']('isModelAvailable','ck-hidden',_0xfcd11b=>_0xfcd11b)]},'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'](_0x12271b,_0xe66339){return new AIChatContextPanelView(_0x12271b,_0xe66339);}['_createPromptInputView'](_0x59dca5){return new AIChatPromptInputView(_0x59dca5,this['_contextPanelView']['addContextButtonView']);}['_createPromptCapabilitiesView'](_0x243466){return new AIChatPromptCapabilitiesView(_0x243466);}['_createLoaderView'](_0x1e5edb){return new AIChatControlsLoaderView(_0x1e5edb);}['_createModelUnavailableMessageView'](_0xad1249){const _0x43a89d=new AIChatModelUnavailableMessageView(_0xad1249);return _0x43a89d['delegate']('startConversation')['to'](this),_0x43a89d;}['_handlePromptInputFocus'](_0x40bd06,_0x169955,_0x19fe79){_0x19fe79?this['_shouldRestorePromptInputFocus']=!0x0:this['_shouldRestorePromptInputFocus']&&this['_promptInputView']['focus']();}['addContextItem'](_0x2ce043,_0x2a8298){this['_contextPanelView']['addContextItem'](_0x2ce043,_0x2a8298);}['removeContextItem'](_0x440b3d){this['_contextPanelView']['removeContextItem'](_0x440b3d);}['setContextItemLoading'](_0x568ee4,_0x35d00f){this['_contextPanelView']['setContextItemLoading'](_0x568ee4,_0x35d00f);}['setIsUploadInProgress'](_0x3920eb){this['_promptInputView']['setIsUploadInProgress'](_0x3920eb);}['setConversationContext'](_0x95655f){this['_contextPanelView']['setConversationContext'](_0x95655f);}['clearPendingContextUI'](){this['_contextPanelView']['clearCurrentContextItems']();}['clearConversationContextUI'](){this['_contextPanelView']['clearConversationContextItems']();}['updateResourceState'](_0x54cdd6,_0x1c92dd,_0x1e5d3b){this['_contextPanelView']['updateResourceState'](_0x54cdd6,_0x1c92dd,_0x1e5d3b);}['setWebSearch'](_0x37864c){this['_promptCapabilitiesView']['setWebSearch'](_0x37864c);}['setReasoning'](_0x1b01a7){this['_promptCapabilitiesView']['setReasoning'](_0x1b01a7);}['resetMessageInput'](){this['_promptInputView']['reset']();}['setAddContextOptions'](_0x48a09d){this['_contextPanelView']['setAddContextOptions'](_0x48a09d);}['setInputPlaceholder'](_0x30dbd4){this['_promptInputView']['setPlaceholderText'](_0x30dbd4);}['setModelList'](_0x4f2937,_0x394148){this['_promptCapabilitiesView']['setModelList'](_0x4f2937,_0x394148);}['setModel'](_0x2924e6){_0x2924e6?(this['isModelAvailable']=!0x0,this['_promptCapabilitiesView']['setModel'](_0x2924e6)):this['isModelAvailable']=!0x1;}['enableModelSelector'](){this['_promptCapabilitiesView']['enableModelSelector']();}['disableModelSelector'](_0x3d7a13){this['_promptCapabilitiesView']['disableModelSelector'](_0x3d7a13);}['populateSourceResourceBalloon'](_0x4c3445,_0x31bc67,_0x42cfa6,_0x56ba9e){this['_contextPanelView']['populateSourceResourceBalloon'](_0x4c3445,_0x31bc67,_0x42cfa6,_0x56ba9e);}['closeSourceResourceBalloon'](_0x5dc17a){this['_contextPanelView']['closeSourceResourceBalloon'](_0x5dc17a);}['focusPromptInput'](_0x27f90d=!0x1){this['_promptInputView']['focus'](_0x27f90d);}['setPromptInputValue'](_0x295c3f){this['_promptInputView']['queryView']['fieldView']['reset'](),this['_promptInputView']['queryView']['fieldView']['value']=_0x295c3f;}}class AIChatModelUnavailableMessageView extends ckeditor5['View']{constructor(_0x2b06cb){super(_0x2b06cb);const _0x49c930=new ckeditor5['ButtonView'](_0x2b06cb);_0x49c930['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON'),'withText':!0x0,'class':['ck-ai-chat-controls__start-new-chat-button'],'tooltip':''}),_0x49c930['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'},_0x49c930]}]});}}class AIChatHeaderView extends ckeditor5['FormHeaderView']{['conversationStartButton'];['resizeButton'];constructor(_0x47168f,_0x53a5e0){super(_0x47168f,{'label':getTranslation$i(_0x47168f,'AI_CHAT_HEADING'),'class':'ck-ai-header\x20ck-ai-header_chat','icon':ckeditor5['IconAIChat']}),this['set']('isMaximized',!0x1),this['conversationStartButton']=this['_createStartConversationButton'](_0x47168f),this['children']['add'](this['conversationStartButton']),_0x53a5e0&&(this['resizeButton']=createResizeButton(_0x47168f,this),this['children']['add'](this['resizeButton']));}['_createStartConversationButton'](_0x2f5847){const _0x53e2f7=new ckeditor5['ButtonView'](_0x2f5847);return _0x53e2f7['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_LABEL_NEW_CHAT'),'withText':!0x0,'icon':ckeditor5['IconPlus'],'class':'ck-ai-chat__start-conversation'}),_0x53e2f7['on']('execute',()=>{this['fire']('startConversation');}),_0x53e2f7;}}class _0x5179ae extends ckeditor5['View']{constructor(_0x1022e7){super(_0x1022e7),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-disclaimer']},'children':[{'tag':'p','attributes':{'class':['ck','ck-ai-disclaimer__content']},'children':[{'text':getTranslation$i(_0x1022e7,'AI_DISCLAIMER_TEXT')}]}]});}}class AIChatView extends ckeditor5['View']{['chatHeader'];['chatFeed'];['chatControls'];['chatDisclaimer'];['_bodyCollection'];constructor(_0x403b08,_0x5ec23a){super(_0x403b08),this['_bodyCollection']=new ckeditor5['BodyCollection'](_0x403b08),this['_bodyCollection']['attachToDom'](),this['chatHeader']=new AIChatHeaderView(_0x403b08,_0x5ec23a['showResizeButton']),this['chatHeader']['delegate'](..._0x566e12)['to'](this),this['chatFeed']=new AIChatFeedView(_0x403b08,this['_bodyCollection']),this['chatFeed']['delegate'](..._0x566e12)['to'](this),this['chatControls']=new AIChatControlsView(_0x403b08,{'bodyCollection':this['_bodyCollection'],'contextResourcesSearchInputVisibleFrom':_0x5ec23a['contextResourcesSearchInputVisibleFrom']}),this['chatControls']['delegate'](..._0x566e12)['to'](this),this['chatDisclaimer']=new _0x5179ae(_0x403b08),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-chat','ck-rounded-corners'],'dir':_0x403b08['uiLanguageDirection']},'children':[this['chatHeader'],this['chatFeed'],this['chatControls'],this['chatDisclaimer']]});}['populateSourceResourceBalloon'](_0x116177,_0x36ce80,_0x38c5fd,_0xa64a58){this['chatControls']['populateSourceResourceBalloon'](_0x116177,_0x36ce80,_0x38c5fd,_0xa64a58);}['closeSourceResourceBalloon'](_0xb6a15e){this['chatControls']['closeSourceResourceBalloon'](_0xb6a15e);}['destroy'](){this['_bodyCollection']['detachFromDom'](),super['destroy']();}}const _0x18b759=0x1e;class AIChatUI extends ckeditor5['ContextPlugin']{static get['requires'](){return[_0x2afc5c];}['_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(_0x189063){super(_0x189063);const _0x308b38=this['context']['plugins']['get']('AITabs');this['set']('isBusy',!0x1),this['_promiseQueue']=new _0xa88b31(),this['_view']=new AIChatView(this['context']['locale'],{'showResizeButton':_0x308b38['showResizeButton'],'contextResourcesSearchInputVisibleFrom':this['context']['config']['get']('ai.chat.context.searchInputVisibleFrom')}),this['_view']['delegate'](..._0x566e12)['to'](this),this['_view']['on']('toggleSuggestionDisplayMode',(_0x1e3388,{showDiff:_0x3d0d2f})=>{this['showDiff']=_0x3d0d2f;}),_0x308b38['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',_0x516e1f=>_0x516e1f),this['_view']['chatFeed']['bind']('isPending')['to'](this,'isBusy',_0x35613f=>_0x35613f),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']()),this['bind']('isModelAvailable')['to'](this['_view']['chatControls'],'isModelAvailable');}['destroy'](){super['destroy'](),this['_titleAnimationInterval']&&clearInterval(this['_titleAnimationInterval']);}['createConversation'](_0x3ee7ad){const _0x5aef8e=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'](_0x3ee7ad['availableModels'],!this['context']['config']['get']('ai.models.showModelSelector')),this['addFeedItemStaticMessage']({'id':'conversation-start','staticMessage':_0x5aef8e}),this['fire']('conversationCreated');}['addFeedItemStaticMessage']({id:_0x481179,staticMessage:_0x2e70c1}){this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0x481179,'initialContent':'<p>'+_0x2e70c1+'</p>'});}['addFeedItemUserMessage'](_0x117aad){const _0x575623=_0x117aad['attributes']?.['displayedPrompt']||_0x117aad['userMessage'];this['_view']['chatFeed']['addItem']('user-message',{'contextItems':Array['from'](_0x117aad['contextItems']['values']()),'initialContent':'<p>'+_0x575623+'</p>','id':_0x117aad['id']});}['addFeedItemError']({errorMessage:_0xda050,id:_0x227ba6}){this['_view']['chatFeed']['addItem']('error-message',{'initialContent':'<p>'+_0xda050+'</p>','id':_0x227ba6});}['addFeedItemAIReply'](_0x33302a){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0x33302a['interactionId']+':'+_0x33302a['id']}),this['clearLoadingMessage']();});}async['addFeedItemAISuggestion'](_0x52742e){const _0x28d194=getEditorFromContext(this['context']);let _0x44a72b=_0x28d194['config']['get']('ai.availableReplyActions')||[..._0x1eec8f];if(_0x28d194['plugins']['has']('TrackChanges')){if(!this['_isTrackChangesCommandValueBound']){this['_isTrackChangesCommandValueBound']=!0x0;const _0x43c4f3=_0x28d194['commands']['get']('trackChanges');this['_view']['chatFeed']['bind']('isTrackChangesOn')['to'](_0x43c4f3,'value');}}else _0x44a72b=_0x44a72b['filter'](_0x28abae=>'insertSuggestion'!=_0x28abae);return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-suggestion-reply',{'id':_0x52742e['interactionId']+':'+_0x52742e['id'],'areActionsDisabled':_0x52742e['areActionsDisabled'],'showDiff':this['showDiff'],'availableActions':_0x44a72b}),this['clearLoadingMessage']();});}['addFeedInteractionHeader'](_0x5867e1,_0x4ddd4d){const _0x5b2a6e=this['_view']['chatFeed']['children']['last'];if(_0x5b2a6e instanceof AIChatFeedInteractionHeaderView)return this['_view']['chatFeed']['children']['remove'](_0x5b2a6e),void this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0x5867e1['id'],'capabilities':{'isWebSearchEnabled':_0x5b2a6e['capabilities']['isWebSearchEnabled']||_0x4ddd4d['isWebSearchEnabled'],'isReasoningEnabled':_0x5b2a6e['capabilities']['isReasoningEnabled']||_0x4ddd4d['isReasoningEnabled']}});this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0x5867e1['id'],'capabilities':_0x4ddd4d});}async['addFeedItemCustomElement'](_0x2a5bee,_0x178ca9){let _0x47bc8e;return await this['_promiseQueue']['enqueue'](async()=>{_0x47bc8e=this['_view']['chatFeed']['addItem']('custom-element',{'content':_0x2a5bee,'id':_0x178ca9});}),_0x47bc8e;}['removeFeedItem'](_0xa8260){this['_view']['chatFeed']['removeItem'](_0xa8260);}['hasFeedItem'](_0x1ab3d4){return this['_view']['chatFeed']['hasItem'](_0x1ab3d4);}['updateFeedInteractionHeader'](_0xa17141){const _0x1fcd7e=this['_view']['chatFeed']['children']['find'](_0x54a90f=>_0x54a90f['options']['id']==_0xa17141['id']&&_0x54a90f instanceof AIChatFeedInteractionHeaderView);_0x1fcd7e&&_0x1fcd7e['set']('isVisible',_0xa17141['isVisible']);}async['updateFeedItemAIReplyContent'](_0x5a83f4){const _0x5e5d3d=_0x5a83f4['renderingStrategy']||this['feedItemRenderingStrategy'];return this['_promiseQueue']['enqueue'](async _0x1fb878=>{await this['_view']['chatFeed']['updateReplyItem']({..._0x5a83f4,'abortSignal':_0x1fb878,'renderingStrategy':_0x5e5d3d}),_0x5a83f4['isDone']&&this['markFeedItemAsDone'](_0x5a83f4['id']);});}['updateFeedItemAIReplySources'](_0x5d5aad,_0x3ec5ba){this['_view']['chatFeed']['updateWebSources'](_0x5d5aad,_0x3ec5ba);}async['updateFeedItemAIReplySuggestionContent'](_0x3a2e77){const _0x5e605d=_0x3a2e77['renderingStrategy']||this['feedItemRenderingStrategy'];return this['_promiseQueue']['enqueue'](async _0x2c600b=>{await this['_view']['chatFeed']['updateSuggestionItem']({..._0x3a2e77,'abortSignal':_0x2c600b,'renderingStrategy':_0x5e605d}),_0x3a2e77['isDone']&&this['markFeedItemAsDone'](_0x3a2e77['id']);});}['updateFeedItemAIReplySuggestionPartState'](_0x40df4d){this['_view']['chatFeed']['updateSuggestionPartState'](_0x40df4d);}['setFeedItemAIReplySuggestionPartActive'](_0x522b7e){this['_view']['chatFeed']['setSuggestionPartActive'](_0x522b7e);}['markFeedItemAsDone'](_0x3ec093){this['_view']['chatFeed']['markItemAsDone'](_0x3ec093);}['removeFeedInteraction'](_0x4be9c4){this['_view']['chatFeed']['getItemIds']()['filter'](_0x3d72c4=>_0x3d72c4['startsWith'](_0x4be9c4))['forEach'](_0x4ab72e=>this['_view']['chatFeed']['removeItem'](_0x4ab72e));}['startInteraction'](){const _0x39cc8c=this['prepareLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x1});this['setLoadingMessage'](_0x39cc8c),this['_view']['chatControls']['disableModelSelector'](!this['context']['config']['get']('ai.models.showModelSelector')),this['isBusy']=!0x0,this['_view']['chatFeed']['startAutoScroll']();}['stopInteraction'](_0x181232){this['_promiseQueue']['abort'](),this['_view']['chatFeed']['getItemIds']()['filter'](_0x1c619b=>_0x1c619b['startsWith'](_0x181232['id']))['forEach'](_0x2fa101=>this['markFeedItemAsDone'](_0x2fa101)),this['isBusy']=!0x1,this['_view']['chatFeed']['stopAutoScroll']();}async['finishInteraction'](){return this['_promiseQueue']['queueEmptyPromise']['then'](()=>{this['isBusy']=!0x1,this['_view']['chatFeed']['stopAutoScroll']();});}['addContextItem'](_0x76d9fb,_0x27c641){this['_view']['chatControls']['addContextItem'](_0x76d9fb,_0x27c641);}['removeContextItem'](_0x32dc64){this['_view']['chatControls']['removeContextItem'](_0x32dc64);}['setContextItemLoading'](_0x545961,_0x1b619d){this['_view']['chatControls']['setContextItemLoading'](_0x545961,_0x1b619d);}['setIsUploadInProgress'](_0x2f9df3){this['_view']['chatControls']['setIsUploadInProgress'](_0x2f9df3);}['setConversationContext'](_0x296805){this['_view']['chatControls']['setConversationContext'](_0x296805);}['clearPendingContextUI'](){this['_view']['chatControls']['clearPendingContextUI']();}['clearConversationContextUI'](){this['_view']['chatControls']['clearConversationContextUI']();}['updateResourceState'](_0x95fee6,_0x5b226e,_0x19a4a3){this['_view']['chatControls']['updateResourceState'](_0x95fee6,_0x5b226e,_0x19a4a3);}['resetMessageInput'](){this['_view']['chatControls']['resetMessageInput'](),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']());}['setAddContextOptions'](_0xd99ef9){this['_view']['chatControls']['setAddContextOptions'](_0xd99ef9);}['updateCapabilities'](_0x4cf53f){this['_view']['chatControls']['setWebSearch'](_0x4cf53f['isWebSearchEnabled']),this['_view']['chatControls']['setReasoning'](_0x4cf53f['isReasoningEnabled']),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder'](_0x4cf53f));}['setSelectedModel'](_0xd3c81,_0x4b658b){this['_view']['chatControls']['setModel'](_0xd3c81),_0x4b658b&&this['_view']['chatControls']['disableModelSelector'](!0x1);}['setFeedItemRenderingStrategy'](_0x50ad54){this['feedItemRenderingStrategy']=_0x50ad54;}['toggleLoadingSkeleton'](_0x3596e3){this['_view']['chatFeed']['toggleLoadingSkeleton'](_0x3596e3);}['resetConversationTitle'](){this['setConversationTitle'](getTranslation$i(this['context']['locale'],'AI_CHAT_HEADING'));}['setConversationTitle'](_0x2785d3,_0x5cb42a=!0x1){if(_0x5cb42a&&!ckeditor5['_isMotionReduced']()&&_0x2785d3['length'])return this['_view']['chatHeader']['label']='',void this['_animateConversationTitle'](_0x2785d3);this['_view']['chatHeader']['label']=_0x2785d3;}['setLoadingMessage'](_0x3c4fd1){this['_view']['chatFeed']['setLoadingMessage'](_0x3c4fd1);}['clearLoadingMessage'](){this['_view']['chatFeed']['setLoadingMessage']('');}['_animateConversationTitle'](_0x4ed95c){let _0x8f0ba1=0x0;clearInterval(this['_titleAnimationInterval']),this['_titleAnimationInterval']=setInterval(()=>{this['_view']['chatHeader']['label']=this['_view']['chatHeader']['label']+_0x4ed95c[_0x8f0ba1],_0x8f0ba1++,_0x8f0ba1===_0x4ed95c['length']&&clearInterval(this['_titleAnimationInterval']);},_0x18b759);}['setIsMaximized'](_0x3dbc03){this['_view']['chatHeader']['isMaximized']=_0x3dbc03;}['prepareLoadingMessage'](_0x31b442){return _0x31b442['isWebSearchEnabled']&&_0x31b442['isReasoningEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING'):_0x31b442['isWebSearchEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH'):_0x31b442['isReasoningEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REASONING'):getTranslation$i(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REGULAR');}['_getInputPlaceholder'](_0x367125){return _0x367125?_0x367125['isWebSearchEnabled']&&_0x367125['isReasoningEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING'):_0x367125['isWebSearchEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH'):_0x367125['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'](_0x18d1e5,_0x2d31e0,_0x257e22,_0x278a9b){this['_view']['populateSourceResourceBalloon'](_0x18d1e5,_0x2d31e0,_0x257e22,_0x278a9b);}['closeSourceResourceBalloon'](_0x1632d3){this['_view']['closeSourceResourceBalloon'](_0x1632d3);}['setPromptInputValue'](_0x544f54){this['_view']['chatControls']['setPromptInputValue'](_0x544f54);}['focusPromptInput'](_0x136f02=!0x1){this['_view']['chatControls']['focusPromptInput'](_0x136f02);}['scrollFeedToSuggestion'](_0x86ba88,_0x25d7d0){this['_view']['chatFeed']['scrollToSuggestion'](_0x86ba88,_0x25d7d0);}['startAutoScroll'](){this['_view']['chatFeed']['startAutoScroll']();}['disableControls'](){this['_view']['chatControls']['isDisabled']=!0x0;}['enableControls'](){this['_view']['chatControls']['isDisabled']=!0x1;}}class AIChatHistorySectionListView extends ckeditor5['ListView']{['sections'];constructor(_0x730462,_0x144b6a){super(_0x730462),this['sections']=_0x144b6a,this['items']['addMany'](this['sections']),this['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__sections']}});}['filter'](_0x687eea){let _0x49d2ad=0x0,_0x329635=0x0;for(const _0x30294 of this['sections']){const {resultsCount:_0x5985f4,totalItemsCount:_0x2f0c2a}=_0x30294['filter'](_0x687eea);_0x49d2ad+=_0x5985f4,_0x329635+=_0x2f0c2a;}return{'resultsCount':_0x49d2ad,'totalItemsCount':_0x329635};}}class AIChatHistoryListView extends ckeditor5['ListItemView']{['title'];['itemsViews'];['_itemsListView'];constructor(_0x1e74f4,{title:_0x5103fd,items:_0x3cf2cc}){super(_0x1e74f4);const _0x5dec8b=this['bindTemplate'];this['set']('isVisible',!0x0),this['title']=_0x5103fd,this['itemsViews']=_0x3cf2cc;const _0x2fb4ac=new ckeditor5['View'](_0x1e74f4);_0x2fb4ac['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__section-title']},'children':[this['title']]}),this['_itemsListView']=new ckeditor5['ListView'](_0x1e74f4),this['_itemsListView']['items']['addMany'](this['itemsViews']),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__section',_0x5dec8b['if']('isVisible','ck-hidden',_0x51111c=>!_0x51111c)]},'children':[_0x2fb4ac,this['_itemsListView']]});}['filter'](_0xca6346){const _0xbdf9cd=this['itemsViews']['length'];let _0x408cc8=0x0;for(const _0x21eff7 of this['itemsViews']){if(_0xca6346){const _0x49968a=_0x21eff7['isMatching'](_0xca6346);_0x21eff7['isVisible']=!!_0x49968a,_0x21eff7['highlightText'](_0xca6346);}else _0x21eff7['isVisible']=!0x0,_0x21eff7['highlightText'](null);_0x21eff7['isVisible']&&_0x408cc8++;}return this['isVisible']=_0x408cc8>0x0,{'resultsCount':_0x408cc8,'totalItemsCount':_0xbdf9cd};}['getItem'](_0x3b07c3){return this['itemsViews']['find'](_0x40d06f=>_0x40d06f['id']===_0x3b07c3);}['removeItem'](_0x1637d){const _0x3cc575=this['itemsViews']['indexOf'](_0x1637d);-0x1!==_0x3cc575&&(this['itemsViews']['splice'](_0x3cc575,0x1),this['_itemsListView']['items']['remove'](_0x1637d));}}class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
_0x1acd7b(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(_0xb4c870,_0x1e1a5e){super(_0xb4c870);const _0x57416c=this['bindTemplate'];this['set']('isEdit',!0x1),this['set']('isVisible',!0x0),this['set']('pinned',!!_0x1e1a5e['pinned']),this['set']('loadingState',null),this['id']=_0x1e1a5e['id'];const {title:_0x20c843,createdAt:_0x305c9c,active:_0x281e51=!0x1}=_0x1e1a5e;this['_titleView']=new ckeditor5['HighlightedTextView'](),this['_titleView']['text']=_0x20c843,this['_titleView']['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__item-title']}});const _0x235187=this['_createCheckView'](),_0x100f48=this['_createPinButtonView'](_0xb4c870),_0x109e2a=this['_createMenuDropdownView'](),_0x2e430b=this['_createEditInputView'](_0xb4c870,_0x20c843),_0x55395f=this['_createAcceptEditButtonView'](_0xb4c870,_0x2e430b),_0x34b912=this['_createCancelEditButtonView'](_0xb4c870,_0x2e430b);this['actions']=this['createCollection'](),this['mainContent']=this['createCollection'](),this['mainContent']['add'](this['_titleView']),this['actions']['add'](_0x100f48),this['actions']['add'](_0x109e2a),this['on']('change:isEdit',(_0x554541,_0x70c6a4,_0x4fd5d1)=>{this['actions']['clear'](),this['mainContent']['clear'](),_0x4fd5d1?(this['actions']['add'](_0x55395f),this['actions']['add'](_0x34b912),this['mainContent']['add'](_0x2e430b),_0x2e430b['element']['focus']()):(this['actions']['add'](_0x100f48),this['actions']['add'](_0x109e2a),this['mainContent']['add'](this['_titleView']));}),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__item',_0x281e51?'ck-ai-chat-history__item--active':'',_0x57416c['if']('isVisible','ck-hidden',_0x5254da=>!_0x5254da),_0x57416c['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',_0x57416c['if']('loadingState','ck-hidden',_0x3f3a1d=>!!_0x3f3a1d)]},'children':_0x281e51?[_0x235187]:[]},{'tag':'div','attributes':{'class':['ck-ai-loader',_0x57416c['if']('loadingState','ck-hidden',_0x16573e=>!_0x16573e)]},'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',_0x57416c['if']('loadingState','ck-hidden',_0xe86342=>!!_0xe86342)]},'children':this['mainContent']},{'tag':'div','attributes':{'class':['ck-ai-loader__text',_0x57416c['if']('loadingState','ck-hidden',_0x1dd518=>!_0x1dd518)]},'children':[{'text':_0x57416c['to']('loadingState',_0x4163f0=>_0x4163f0?getTranslation$i(this['locale'],AIChatHistoryListItemView['LOADING_LABELS'][_0x4163f0]):'')}]}]},{'tag':'span','attributes':{'class':['ck-ai-chat-history__item-date']},'children':[_0x305c9c]}]},{'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'](_0x28eda0){this['_titleView']['text']=_0x1e319d(_0x28eda0);}['updateLoadingState'](_0x452fea,_0x291345){this['set']('loadingState',_0x291345?_0x452fea:null);}['_createCheckView'](){const _0x5e6801=new ckeditor5['IconView']();return _0x5e6801['set']({'content':ckeditor5['IconCheck']}),_0x5e6801;}['_createPinButtonView'](_0x49c8e5){const _0x105527=new ckeditor5['ButtonView'](_0x49c8e5);return _0x105527['set']({'label':getTranslation$i(_0x49c8e5,'AI_CHAT_HISTORY_PIN_BUTTON'),'icon':ckeditor5['IconPin'],'withText':!0x1,'tooltip':!0x0}),_0x105527['bind']('isOn')['to'](this,'pinned'),_0x105527['on']('execute',()=>{const _0x5e059b=!this['pinned'];this['fire']('setConversationPinned',{'id':this['id'],'pinned':_0x5e059b});}),_0x105527;}['_createMenuDropdownView'](){const _0x5b2eff=ckeditor5['createDropdown'](this['locale'],LateFocusDropdownButtonView),_0x4c25ff=_0x5b2eff['panelView']['children'];_0x5b2eff['buttonView']['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_HISTORY_SHOW_MORE_ITEMS'),'icon':ckeditor5['IconThreeHorizontalDots']}),_0x5b2eff['panelPosition']='sw';const _0x140a05=new ckeditor5['ButtonView'](this['locale']);_0x140a05['label']=getTranslation$i(this['locale'],'AI_CHAT_HISTORY_EDIT_NAME'),_0x140a05['withText']=!0x0,_0x140a05['on']('execute',()=>{this['isEdit']=!0x0;});const _0x1d2db1=new ckeditor5['ButtonView'](this['locale']);_0x1d2db1['label']=getTranslation$i(this['locale'],'AI_CHAT_HISTORY_REMOVE'),_0x1d2db1['withText']=!0x0,_0x1d2db1['on']('execute',()=>{this['showConfirm'](getTranslation$i(this['locale'],'AI_CHAT_HISTORY_REMOVE_CONFIRM'),this['element'])['then'](()=>{this['fire']('removeConversation',{'id':this['id']});});});const _0x2c8d13=new ckeditor5['ListView'](this['locale']),_0x14cf47=new ckeditor5['ListItemView'](this['locale']);_0x14cf47['children']['add'](_0x140a05);const _0x2b8624=new ckeditor5['ListItemView'](this['locale']);return _0x2b8624['children']['add'](_0x1d2db1),_0x2c8d13['items']['addMany']([_0x14cf47,_0x2b8624]),_0x4c25ff['add'](_0x2c8d13),_0x5b2eff;}['_createEditInputView'](_0xfd640,_0x25e93b){const _0x25c005=new ckeditor5['InputTextView'](_0xfd640),_0x532b52=_0x25c005['bindTemplate'];return _0x25c005['value']=_0x25e93b,_0x25c005['extendTemplate']({'on':{'keydown':_0x532b52['to'](_0x53d91e=>{'Enter'==_0x53d91e['key']&&this['_commitEditInputValue'](_0x25c005);})}}),_0x25c005;}['_createAcceptEditButtonView'](_0x32353e,_0xefe531){const _0x3a4102=new ckeditor5['ButtonView'](_0x32353e);return _0x3a4102['set']({'icon':ckeditor5['IconCheck'],'withText':!0x1,'tooltip':getTranslation$i(_0x32353e,'AI_CHAT_HISTORY_ACCEPT')}),_0x3a4102['extendTemplate']({'attributes':{'class':['ck-confirm-view-submit']}}),_0x3a4102['on']('execute',()=>{this['_commitEditInputValue'](_0xefe531);}),_0x3a4102;}['_commitEditInputValue'](_0xc1c220){const _0x12bfb1=_0xc1c220['element']['value']||'';this['_titleView']['text']=_0x12bfb1,this['isEdit']=!0x1,this['fire']('editConversationTitle',{'id':this['id'],'title':_0x12bfb1});}['_createCancelEditButtonView'](_0x12d55c,_0x289832){const _0x18e6eb=new ckeditor5['ButtonView'](_0x12d55c);return _0x18e6eb['set']({'icon':ckeditor5['IconCancel'],'withText':!0x1,'tooltip':getTranslation$i(_0x12d55c,'AI_CHAT_HISTORY_CANCEL')}),_0x18e6eb['extendTemplate']({'attributes':{'class':['ck-confirm-view-cancel']}}),_0x18e6eb['on']('execute',()=>{this['isEdit']=!0x1,_0x289832['value']=this['_titleView']['text']||'',this['fire']('edit:cancel');}),_0x18e6eb;}['_createSpinnerView'](){const _0x2e9c65=new _0x3407ba('tiny');return _0x2e9c65['isVisible']=!0x0,_0x2e9c65;}['isMatching'](_0x2f4144){return this['_titleView']&&'string'==typeof this['_titleView']['text']&&this['_titleView']['text']['match'](_0x2f4144)?{'title':!0x0}:null;}['highlightText'](_0x17e6f8){this['_titleView']['highlightText'](_0x17e6f8);}}class AIChatHistoryView extends ckeditor5['View']{['searchView'];['mainErrorView'];['skeletonView'];['emptyView'];['sectionsView'];['resizeButton'];constructor(_0x595f9d,_0x101ca9){super(_0x595f9d),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 _0x61067d=new ckeditor5['FormHeaderView'](_0x595f9d,{'label':getTranslation$i(_0x595f9d,'AI_CHAT_HISTORY_HEADING'),'icon':ckeditor5['IconAIHistory'],'class':'ck-ai-header\x20ck-ai-header_history'});_0x101ca9&&(this['resizeButton']=createResizeButton(_0x595f9d,this),_0x61067d['children']['add'](this['resizeButton'])),this['sectionsView']=new AIChatHistorySectionListView(_0x595f9d,[]),this['sectionsView']['delegate'](..._0x105d96)['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',_0x21c650=>!_0x21c650)]}}),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':[_0x61067d,{'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 _0x5a6ac8=new ckeditor5['SearchTextView'](this['locale'],{'filteredView':this['sectionsView'],'queryView':{'label':getTranslation$i(this['locale'],'AI_CHAT_HISTORY_SEARCH_LABEL')},'infoView':{'text':{'notFound':{'primary':_0x7669e7=>getTranslation$i(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY',_0x7669e7),'secondary':getTranslation$i(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY')}}}}),_0x498679=this['_createErrorView']();return _0x498679['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('errorMessage','ck-hidden',_0x360939=>!_0x360939)]}}),_0x5a6ac8['on']('render',()=>{_0x5a6ac8['children']['add'](_0x498679,0x1);}),_0x5a6ac8['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isSearchViewVisible','ck-hidden',_0x100876=>!_0x100876)]}}),_0x5a6ac8;}['_createSkeletonView'](){const _0x793e5f=new AISkeletonView(this['locale'],_0xa9451['aiHistory']);return _0x793e5f['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isLoading','ck-hidden',_0x1bac9d=>!_0x1bac9d)]}}),_0x793e5f;}['_createErrorView'](){const _0x5601be=new ckeditor5['View'](this['locale']),_0x447771=new ckeditor5['ButtonView'](this['locale']);_0x447771['set']({'withText':!0x1,'icon':ckeditor5['IconCancel'],'class':'ck-ai-notification_error__dismiss-button'}),_0x447771['bind']('isVisible')['to'](this,'hasItems',_0x4e2512=>!!_0x4e2512),_0x447771['on']('execute',()=>{this['errorMessage']='';});const _0x369824=this['bindTemplate'];return _0x5601be['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error']},'children':[{'tag':'p','children':[{'text':_0x369824['to']('errorMessage')}]},_0x447771]}),_0x5601be;}['_createEmptyStateView'](){const _0x4551ab=new ckeditor5['ButtonView'](this['locale']);_0x4551ab['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_LABEL_NEW_CHAT'),'withText':!0x0,'icon':ckeditor5['IconPlus'],'class':'ck-ai-chat__start-conversation'}),_0x4551ab['on']('execute',()=>{this['fire']('openChat');});const _0x9de994=new ckeditor5['View'](this['locale']);return _0x9de994['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__empty',this['bindTemplate']['if']('isEmptyViewVisible','ck-hidden',_0x230235=>!_0x230235)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-history__empty-message']},'children':[getTranslation$i(this['locale'],'AI_CHAT_HISTORY_EMPTY_MESSAGE')]},_0x4551ab]}),_0x9de994;}['_createListItemViews'](_0x255a7e,_0x3e4433){const _0x37662d=[];for(const _0x502646 of _0x255a7e){const _0x53a85=new AIChatHistoryListItemView(_0x3e4433,_0x502646);_0x53a85['delegate'](..._0x105d96)['to'](this),_0x37662d['push'](_0x53a85);}return _0x37662d;}['updateHistoryItemsWithCategories'](_0x1c18a9){const _0x394f8e=this['locale']||'en',_0x1b8bee=[];for(const _0xbc5b80 of _0x1c18a9){const _0x5d633a=this['_createListItemViews'](_0xbc5b80['items'],_0x394f8e);_0x1b8bee['push'](new AIChatHistoryListView(_0x394f8e,{'title':_0xbc5b80['title'],'items':_0x5d633a}));}this['sectionsView']['sections']=_0x1b8bee,this['sectionsView']['items']['clear'](),this['sectionsView']['items']['addMany'](_0x1b8bee),this['hasItems']=_0x1c18a9['some'](_0x81e62d=>_0x81e62d['items']['length']>0x0),this['_refreshSearch']();}['removeHistoryItem'](_0x5c7f8f){for(const _0x5f14c0 of this['sectionsView']['sections']){const _0x159567=_0x5f14c0['getItem'](_0x5c7f8f);if(_0x159567){if(_0x5f14c0['removeItem'](_0x159567),0x0===_0x5f14c0['itemsViews']['length']){const _0x150e48=this['sectionsView']['sections']['indexOf'](_0x5f14c0);-0x1!==_0x150e48&&(this['sectionsView']['sections']['splice'](_0x150e48,0x1),this['sectionsView']['items']['remove'](_0x5f14c0));}this['hasItems']=this['sectionsView']['sections']['length']>0x0,this['_refreshSearch']();break;}}}['updateItemTitle'](_0x30ae7e,_0x44bb4c){for(const _0x259a33 of this['sectionsView']['sections']){const _0x4cc250=_0x259a33['getItem'](_0x30ae7e);if(_0x4cc250){_0x4cc250['updateTitle'](_0x44bb4c);break;}}}['updateItemLoadingState'](_0xad192e,_0x84cf37,_0xf0d680){for(const _0x2c5af0 of this['sectionsView']['sections']){const _0x9006b8=_0x2c5af0['getItem'](_0xad192e);if(_0x9006b8){_0x9006b8['updateLoadingState'](_0x84cf37,_0xf0d680);break;}}}['_refreshSearch'](){if(this['hasItems']){const _0x5bb817=this['searchView']['queryView']['fieldView']?.['element']?.['value']||'';this['searchView']['search'](_0x5bb817);}}}const _0x105d96=['showConversationHistory','removeConversation','editConversationTitle','setConversationPinned','selectConversation','openChat','resizeTabs'];class AIChatHistoryUI extends ckeditor5['ContextPlugin']{static get['requires'](){return[_0x2afc5c];}['_historyView'];static get['pluginName'](){return'AIChatHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4cfacc){super(_0x4cfacc);const _0x3b7fab=this['context']['plugins']['get']('AITabs');this['_historyView']=new AIChatHistoryView(this['context']['locale'],_0x3b7fab['showResizeButton']),this['_historyView']['delegate'](..._0x105d96)['to'](this),_0x3b7fab['view']['addTab']({'id':'history','buttonLabel':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_HEADING'),'buttonIcon':ckeditor5['IconAIHistory'],'order':0x0,'content':this['_historyView']});}['removeHistoryItem'](_0x26a037){this['_historyView']['removeHistoryItem'](_0x26a037);}['updateItems'](_0x26c352){this['_historyView']['updateHistoryItemsWithCategories'](_0x26c352);}['updateItemTitle'](_0x3270cf,_0x4f90ab){this['_historyView']['updateItemTitle'](_0x3270cf,_0x4f90ab);}['updateItemLoadingState'](_0x1eba77,_0x577de1,_0x5cef4a){this['_historyView']['updateItemLoadingState'](_0x1eba77,_0x577de1,_0x5cef4a);}['setLoadingSkeleton'](_0xedbaea){this['_historyView']['isLoading']=_0xedbaea;}['showError'](_0x4e72db){this['_historyView']['errorMessage']=_0x4e72db;}['hideError'](){this['_historyView']['errorMessage']='';}['setIsMaximized'](_0x2237cd){this['_historyView']['isMaximized']=_0x2237cd;}}class AIChatHistoryItem extends ckeditor5['ObservableMixin'](){['id'];['createdAt'];constructor({id:_0xcd064e,title:_0x831612,createdAt:_0x4977b7,updatedAt:_0x11a61b,pinned:_0x189c2c}){super(),this['id']=_0xcd064e,this['createdAt']=new Date(_0x4977b7),this['set']('title',_0x831612),this['set']('updatedAt',_0x11a61b?new Date(_0x11a61b):null),this['set']('pinned',_0x189c2c||!0x1);}['updateTitle'](_0x222478){this['set']('title',_0x1e319d(_0x222478)),this['updatedAt']=new Date();}['updatePinned'](_0xcee718){this['set']('pinned',_0xcee718),this['updatedAt']=new Date();}}class AIChatHistoryConversations extends ckeditor5['EmitterMixin'](){['items']=[];['connector'];['group'];constructor({connector:_0x53beba,group:_0x923e48}){super(),this['connector']=_0x53beba,this['group']=_0x923e48;}async['init'](){try{const _0x48659f=this['connector']['fetchConversations'](this['group']),_0x860ea=await _0x48659f['getConversations']();this['loadItems'](_0x860ea);}catch(_0x213573){this['fire']('error',{'error':_0x213573,'operation':'init'});}}['addItem'](_0x1c14ea){this['items']['push'](_0x1c14ea);}async['removeItem'](_0x324ee8){const _0x133b94=this['items']['findIndex'](_0x5d6a11=>_0x5d6a11['id']===_0x324ee8);if(-0x1===_0x133b94)return!0x1;try{return await this['connector']['deleteConversation'](_0x324ee8)['execute'](),this['items']['splice'](_0x133b94,0x1),this['fire']('itemRemoved',{'itemId':_0x324ee8}),!0x0;}catch(_0x5018d8){return this['fire']('error',{'error':_0x5018d8,'operation':'removeItem','itemId':_0x324ee8}),!0x1;}}['getItem'](_0x453032){return this['items']['find'](_0x134512=>_0x134512['id']===_0x453032);}async['updateItemTitle'](_0x3c7d2c,_0x36c85e){const _0xd5f24a=this['getItem'](_0x3c7d2c);if(!_0xd5f24a)return!0x1;try{return await this['connector']['updateConversation'](_0x3c7d2c,{'title':_0x36c85e})['getResult'](),_0xd5f24a['updateTitle'](_0x36c85e),this['fire']('itemUpdated',{'itemId':_0x3c7d2c,'updates':{'title':_0x36c85e}}),!0x0;}catch(_0xe18088){return this['fire']('error',{'error':_0xe18088,'operation':'updateItemTitle','itemId':_0x3c7d2c}),!0x1;}}async['updateItemPinned'](_0x4168a0,_0x559a74){const _0x52808b=this['getItem'](_0x4168a0);if(!_0x52808b)return!0x1;try{return await this['connector']['updateConversation'](_0x4168a0,{'pinned':_0x559a74})['getResult'](),_0x52808b['updatePinned'](_0x559a74),this['fire']('itemUpdated',{'itemId':_0x4168a0,'updates':{'pinned':_0x559a74}}),!0x0;}catch(_0x54691b){return this['fire']('error',{'error':_0x54691b,'operation':'updateItemPinned','itemId':_0x4168a0}),!0x1;}}['loadItems'](_0x27c239){try{this['items']=[],_0x27c239['map'](_0x5acfe0=>{this['addItem'](new AIChatHistoryItem(_0x5acfe0));}),this['fire']('itemsLoaded',{'items':[...this['items']]});}catch(_0x330a09){this['fire']('error',{'error':_0x330a09,'operation':'loadItems'});}}['getItems'](_0x26eb80={}){const _0x357c60=void 0x0!==_0x26eb80['pinned']&&_0x26eb80['pinned'],_0x1d6f42=_0x26eb80['from']?new Date(_0x26eb80['from']['getFullYear'](),_0x26eb80['from']['getMonth'](),_0x26eb80['from']['getDate']()):null,_0x48db51=_0x26eb80['to']?new Date(_0x26eb80['to']['getFullYear'](),_0x26eb80['to']['getMonth'](),_0x26eb80['to']['getDate']()):null;return this['items']['filter'](_0xb08937=>{if(_0xb08937['pinned']!==_0x357c60)return!0x1;if(_0x48db51){const _0x5374c0=new Date(_0xb08937['createdAt']['getFullYear'](),_0xb08937['createdAt']['getMonth'](),_0xb08937['createdAt']['getDate']());return _0x1d6f42?_0x1d6f42['getTime']()===_0x48db51['getTime']()?_0x5374c0['getTime']()===_0x1d6f42['getTime']():_0x5374c0<_0x48db51&&_0x5374c0>=_0x1d6f42:_0x5374c0<_0x48db51;}return!0x0;});}}class AIChatHistoryController extends ckeditor5['ContextPlugin']{['_aiConnector'];['_aiChatHistoryUi'];['_aiChatController'];static get['requires'](){return[AIConnector,AIChatController,AIChatHistoryUI,_0x2afc5c];}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 _0x62c577=this['context']['plugins']['get'](_0x2afc5c);try{const _0x2e5bf6=this['_aiChatController']['getGroupId']();this['history']=new AIChatHistoryConversations({'connector':this['_aiConnector'],'group':_0x2e5bf6}),this['listenTo'](this['_aiChatHistoryUi'],'removeConversation',(_0x97b16a,_0x22686f)=>{this['_setItemLoading'](_0x22686f['id'],'remove'),this['_handleRemove'](_0x22686f['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'editConversationTitle',(_0x273386,_0x16e6eb)=>{this['_setItemLoading'](_0x16e6eb['id'],'rename'),this['_handleEditTitle'](_0x16e6eb['id'],_0x16e6eb['title']);}),this['listenTo'](this['history'],'itemUpdated',(_0x3c2661,_0x5118bc)=>{void 0x0!==_0x5118bc['updates']['title']&&this['_aiChatHistoryUi']['updateItemTitle'](_0x5118bc['itemId'],_0x5118bc['updates']['title']),void 0x0!==_0x5118bc['updates']['pinned']&&this['_updateHistoryItemsUI'](),this['_clearItemLoading'](_0x5118bc['itemId']);}),this['listenTo'](this['history'],'itemRemoved',(_0x3c4954,_0x4d4b93)=>{this['_aiChatController']['handleRemovedConversation'](_0x4d4b93['itemId']),this['_aiChatHistoryUi']['removeHistoryItem'](_0x4d4b93['itemId']),this['_clearItemLoading'](_0x4d4b93['itemId']);}),this['listenTo'](this['history'],'itemsLoaded',()=>{this['_updateHistoryItemsUI']();}),this['listenTo'](this['history'],'error',(_0x544c5c,_0x220501)=>{this['_handleHistoryErrorUI'](_0x220501['error'],_0x220501['operation'],_0x220501['itemId']);}),this['listenTo'](this['_aiChatHistoryUi'],'selectConversation',(_0x23a144,_0x3be39f)=>{this['_handleSelectConversation'](_0x3be39f['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'setConversationPinned',(_0x4473aa,_0xf965c)=>{const _0x40b290=_0xf965c['pinned']?'pin':'unpin';this['_setItemLoading'](_0xf965c['id'],_0x40b290),this['_handleTogglePin'](_0xf965c['id'],_0xf965c['pinned']);}),this['listenTo'](this['_aiChatHistoryUi'],'openChat',()=>{_0x62c577['view']['activateTab']('chat');}),this['listenTo'](this['_aiChatController'],'change:activeConversation',()=>{this['_updateHistoryItemsUI']();}),_0x62c577['view']['on']('activateTab:history',()=>{this['_showConversationHistory']();}),this['listenTo'](_0x62c577,'resizedTabs',(_0xd29b2e,_0x78f221)=>{this['_setIsMaximized'](_0x78f221);}),this['listenTo'](this['_aiChatHistoryUi'],'resizeTabs',()=>{_0x62c577['resize']();});}catch(_0x46d95e){this['_handleHistoryErrorUI'](_0x46d95e,'init');}}async['_handleEditTitle'](_0x567030,_0x5a2729){await this['history']['updateItemTitle'](_0x567030,_0x5a2729);}async['_handleTogglePin'](_0x406f94,_0x2ff83c){await this['history']['updateItemPinned'](_0x406f94,_0x2ff83c);}async['_handleRemove'](_0x375397){await this['history']['removeItem'](_0x375397);}async['_handleSelectConversation'](_0x511cd2){await this['_aiChatController']['loadConversation'](_0x511cd2);}async['_showConversationHistory'](){this['_aiChatHistoryUi']['showError'](''),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x0),await this['history']['init'](),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}['_updateHistoryItemsUI'](){const _0x598ec2=this['_aiChatController']['activeConversation']?.['id'],_0x149788=this['_getCategorizedItems']()['map'](_0x435d2a=>({'title':_0x435d2a['title'],'items':_0x435d2a['items']['map'](_0x299a9e=>({'id':_0x299a9e['id'],'title':_0x299a9e['title']||getTranslation$i(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),'createdAt':new Date(_0x299a9e['createdAt'])['toLocaleDateString'](),'active':_0x299a9e['id']===_0x598ec2,'pinned':_0x299a9e['pinned']}))}));this['_aiChatHistoryUi']['updateItems'](_0x149788);}['_setItemLoading'](_0xd1aa8e,_0xb4f3a9){this['_aiChatHistoryUi']['updateItemLoadingState'](_0xd1aa8e,_0xb4f3a9,!0x0);}['_clearItemLoading'](_0x1d34b9){this['_aiChatHistoryUi']['updateItemLoadingState'](_0x1d34b9,null,!0x1);}['_handleHistoryErrorUI'](_0xcc9a0e,_0x4f432b,_0x4602d7){const _0x1f0677=this['_generateErrorMessage'](_0x4f432b,_0x4602d7);this['_aiChatHistoryUi']['showError'](_0x1f0677),_0x4602d7&&this['_clearItemLoading'](_0x4602d7),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}['_generateErrorMessage'](_0x39cfcb,_0x43cd67){const _0x5411f1=_0x43cd67?this['history']['getItem'](_0x43cd67):null,_0x2d250e=_0x5411f1?.['title']||getTranslation$i(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION');switch(_0x39cfcb){case'updateItemTitle':return getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_TITLE',_0x2d250e);case'updateItemPinned':{const _0x1a1cae=getTranslation$i(this['context']['locale'],_0x5411f1?.['pinned']?'AI_CHAT_HISTORY_UNPIN_ACTION':'AI_CHAT_HISTORY_PIN_ACTION');return getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_PINNED',[_0x1a1cae,_0x2d250e]);}case'removeItem':return getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_REMOVE_ITEM',_0x2d250e);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 _0x5dd46d=new Date(),_0x189740=new Date(_0x5dd46d['getFullYear'](),_0x5dd46d['getMonth'](),_0x5dd46d['getDate']()),_0x14acae=new Date(_0x189740);_0x14acae['setDate'](_0x14acae['getDate']()-0x1);const _0x28f303=new Date(_0x189740);_0x28f303['setDate'](_0x28f303['getDate']()-0xe);const _0x55d6c3=this['history']['getItems']({'pinned':!0x0}),_0x266ea4=this['history']['getItems']({'from':_0x189740,'to':_0x189740}),_0x558630=this['history']['getItems']({'from':_0x14acae,'to':_0x14acae}),_0x43c0f0=this['history']['getItems']({'from':_0x28f303,'to':_0x14acae}),_0x19c384=this['history']['getItems']({'to':_0x28f303}),_0x4b812f=[];return _0x55d6c3['length']>0x0&&_0x4b812f['push']({'title':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_PINNED'),'items':_0x55d6c3}),_0x266ea4['length']>0x0&&_0x4b812f['push']({'title':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_TODAY'),'items':_0x266ea4}),_0x558630['length']>0x0&&_0x4b812f['push']({'title':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_YESTERDAY'),'items':_0x558630}),_0x43c0f0['length']>0x0&&_0x4b812f['push']({'title':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS'),'items':_0x43c0f0}),_0x19c384['length']>0x0&&_0x4b812f['push']({'title':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LATER'),'items':_0x19c384}),_0x4b812f;}['_setIsMaximized'](_0x536a07){this['_aiChatHistoryUi']['setIsMaximized'](_0x536a07);}}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(_0x11e6b8){super(_0x11e6b8),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:_0x2d78b0,attributes:_0x1acfa9}){await this['context']['plugins']['get'](AIChatController)['sendMessage']({'message':_0x2d78b0,'attributes':_0x1acfa9});}['removeSelectionFromChatContext'](){this['context']['plugins']['get'](AIChatController)['removeSelectionFromChatContext']();}['focusPromptInput'](){this['context']['plugins']['get'](AIChatController)['focusPromptInput']();}['registerToolDataCallback'](_0x5be8b8){this['context']['plugins']['get'](AIChatController)['_registerToolDataCallback'](_0x5be8b8);}}class AIChatShortcutView extends ckeditor5['ButtonView']{['id'];constructor(_0x4726e2,_0x4ca67d){super(_0x4726e2);const {id:_0x24d0f8,type:_0x202c13,icon:_0x536485}=_0x4ca67d;this['id']=_0x24d0f8,this['set']({'label':_0x4ca67d['label'],'withText':!0x0,'class':'ck-ai-chat-shortcut'}),this['extendTemplate']({'attributes':{'data-cke-ai-shortcut-id':_0x4ca67d['id']}}),_0x536485?this['icon']=_0x536485:'chat'===_0x202c13?this['icon']=ckeditor5['IconAIChat']:'review'===_0x202c13?this['icon']=ckeditor5['IconAIReview']:'translate'===_0x202c13&&(this['icon']=ckeditor5['IconAITranslate']);}}class AIChatShortcutsView extends ckeditor5['View']{['listView'];constructor(_0x70fe49,_0x2d5be3){super(_0x70fe49);const _0x31624d=_0x2d5be3['map'](_0x1174a0=>{const _0x251b76=new ckeditor5['ListItemView'](this['locale']),_0x692a08=new AIChatShortcutView(this['locale'],_0x1174a0);return _0x251b76['children']['add'](_0x692a08),_0x692a08['delegate']('execute')['to'](this),_0x251b76;});this['listView']=new ckeditor5['ListView'](this['locale']),this['listView']['items']['addMany'](_0x31624d),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-shortcuts']},'children':[this['listView']]});}}const _0xb30339='chat-shortcuts';var AIChatShortcutType=function(_0xf73419){return _0xf73419['CHAT']='chat',_0xf73419['REVIEW']='review',_0xf73419['TRANSLATE']='translate',_0xf73419;}({});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 _0x769217=this['context']['plugins']['get']('AIChatController');this['_shortcuts']['length']&&(this['_validateShortcuts'](),this['_aiChatUI']['on']('conversationCreated',()=>{_0x769217['activeConversation']['isFromHistory']||this['_injectShortcuts']();}),this['listenTo'](_0x769217,'interactionStarted',()=>{this['_removeShortcuts']();}));}['_validateShortcuts'](){const _0x2e9fb3=Object['values'](AIChatShortcutType);this['_shortcuts']['forEach'](_0x2f1b80=>{let _0x1a5476=!0x0;if(_0x2f1b80['id']&&_0x2f1b80['label']&&_0x2e9fb3['includes'](_0x2f1b80['type'])?'chat'===_0x2f1b80['type']&&(_0x1a5476='string'==typeof _0x2f1b80['prompt']):_0x1a5476=!0x1,!_0x1a5476)throw new ckeditor5['CKEditorError']('ai-chat-shortcuts-invalid-config',this['context'],{'shortcut':_0x2f1b80});});}['_injectShortcuts'](){const _0x5cc3cd=this['context']['plugins']['get'](AIChatUI);this['_shortcutsView']=new AIChatShortcutsView(this['context']['locale'],this['_shortcuts']),this['_shortcutsView']['render'](),_0x5cc3cd['addFeedItemCustomElement'](this['_shortcutsView']['element'],_0xb30339),this['_shortcutsView']['on']('execute',_0x413a02=>{const _0x15bc93=_0x413a02['source']['id'];this['_executeShortcut'](_0x15bc93);});}['_removeShortcuts'](){const _0x4226ad=this['context']['plugins']['get'](AIChatUI);_0x4226ad['hasFeedItem'](_0xb30339)&&_0x4226ad['removeFeedItem'](_0xb30339),this['_shortcutsView']?.['destroy']();}['_executeShortcut'](_0x3ff9d3){const _0x214d01=this['_shortcuts']['find'](_0x582bd2=>_0x582bd2['id']===_0x3ff9d3),_0x44cdb0=_0x214d01['type'];'chat'===_0x44cdb0?this['_runChatShortcut'](_0x214d01):'review'===_0x44cdb0?_0x214d01['check']?this['_runReviewShortcut'](_0x214d01):this['_switchTab']('reviewMode'):'translate'===_0x44cdb0&&(_0x214d01['language']?this['_runTranslateShortcut'](_0x214d01):this['_switchTab']('translate'));}['_switchTab'](_0x2fbcb2){if(!this['context']['plugins']['has']('AITabs'))throw new ckeditor5['CKEditorError']('ai-chat-shortcuts-ai-tabs-not-found',this['context'],{'tabName':_0x2fbcb2});this['context']['plugins']['get']('AITabs')['view']['activateTab'](_0x2fbcb2);}async['_runChatShortcut']({prompt:_0x747dc5,draftMode:_0x24dfdd,useWebSearch:_0x5ce35e=!0x1,useReasoning:_0x24ffab=!0x1,model:_0x47a8c9}){const _0x557f96=this['context']['plugins']['get']('AIChat'),_0x3c191f=this['context']['plugins']['get']('AIChatController'),_0x2c720d=_0x3c191f['activeConversation'];let _0x5dfc10;_0x5dfc10=_0x47a8c9?await _0x2c720d['chatModels']['getModel'](_0x47a8c9):await _0x2c720d['chatModels']['getDefault'](),_0x5dfc10&&await _0x2c720d['setModel'](_0x5dfc10),_0x2c720d['setWebSearch'](_0x5ce35e),_0x2c720d['setReasoning'](_0x24ffab),_0x3c191f['addCurrentDocumentToChatContext'](),_0x24dfdd?(this['_aiChatUI']['setPromptInputValue'](_0x747dc5),this['_aiChatUI']['focusPromptInput'](!0x0)):_0x557f96['sendMessage']({'message':_0x747dc5});}['_runReviewShortcut']({check:_0xc9c7f7,model:_0xd3ab6,prompt:_0x1b4600,params:_0x5213f8}){if(!this['context']['plugins']['has']('AIReviewModeUI'))throw new ckeditor5['CKEditorError']('ai-chat-shortcuts-review-mode-not-found',this['context']);this['_switchTab']('reviewMode');const _0x28810c={'id':_0xc9c7f7,'isCustom':'custom'===_0xc9c7f7};_0xd3ab6&&_0x1b4600&&(_0x28810c['args']={'model':_0xd3ab6,'prompt':_0x1b4600}),_0x5213f8&&(_0x28810c['params']=_0x5213f8),this['context']['plugins']['get']('AIReviewModeUI')['fire']('runReviewCheck',_0x28810c);}['_runTranslateShortcut']({language:_0x5615ee}){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':_0x5615ee,'args':{'language':_0x5615ee}});}}class _0x256897 extends ckeditor5['Command']{constructor(_0x411bc0){super(_0x411bc0);const _0x4ceec0=_0x411bc0['plugins']['get']('AITabs')['view'];this['bind']('value')['to'](_0x4ceec0,'isVisible'),this['isEnabled']=!0x0;}['execute'](){const _0x44efdf=this['editor']['plugins']['get']('AITabs')['view'];_0x44efdf['isVisible']=!_0x44efdf['isVisible'];}}class AIToggleButtonUI extends ckeditor5['Plugin']{static get['requires'](){return[_0x2afc5c];}static get['pluginName'](){return'AIToggleButtonUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x46496a=this['editor'];_0x46496a['commands']['add']('toggleAi',new _0x256897(_0x46496a)),_0x46496a['ui']['componentFactory']['add']('toggleAi',()=>{const _0xb45d4a=this['_createAIUIButton'](ckeditor5['ButtonView']);return _0xb45d4a['set']({'tooltip':!0x0,'class':'ck-ai-toggle-button'}),_0xb45d4a;}),_0x46496a['ui']['componentFactory']['add']('menuBar:toggleAi',()=>{const _0x3a2a93=this['_createAIUIButton'](ckeditor5['MenuBarMenuListItemButtonView']);return _0x3a2a93['set']({'role':'menuitemcheckbox'}),_0x3a2a93;});}['_createAIUIButton'](_0x153ecb){const _0x418ad2=this['editor'],_0x20430d=_0x418ad2['commands']['get']('toggleAi'),_0x260246=new _0x153ecb(_0x418ad2['locale']);return _0x260246['set']({'label':getTranslation$i(_0x418ad2['locale'],'AI_TOGGLE_BUTTON_LABEL'),'icon':ckeditor5['IconAIAskAI'],'isToggleable':!0x0}),_0x260246['bind']('isEnabled')['to'](_0x20430d),_0x260246['bind']('isOn')['to'](_0x20430d,'value',_0x54e1ce=>!!_0x54e1ce),this['listenTo'](_0x260246,'execute',()=>{_0x20430d['execute']();}),_0x260246;}}const _0x31d29d=['applySuggestion','insertSuggestion','showNext','showPrevious'];class _0x4c7a3b extends ckeditor5['View']{['_errorView'];constructor(_0x4d3a16){super(_0x4d3a16),this['set']('_errorMessage',''),this['set']('_isErrorVisible',!0x1);}['showBlockingError'](_0x52bdf6){this['showError'](_0x52bdf6);}['showError'](_0x2041ad){this['_errorView']||(this['_errorView']=this['_createErrorView']()),this['_errorMessage']=_0x2041ad,this['_isErrorVisible']=!0x0;}['hideError'](){this['_isErrorVisible']=!0x1;}['_createErrorView'](){const _0x5e1dac=new ckeditor5['View'](this['locale']),_0x1b1235=new ckeditor5['View'](this['locale']);return _0x1b1235['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__error-text']},'children':[{'text':this['bindTemplate']['to']('_errorMessage')}]}),_0x5e1dac['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__error','ck-ai-balloon-error',this['bindTemplate']['if']('_isErrorVisible','ck-hidden',_0x136a59=>!_0x136a59)]},'children':[_0x1b1235]}),_0x5e1dac;}}const _0x400081=0xa;class _0x5c0dbe 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'](_0x3db041){const {id:_0x4a476f}=this['_currentConfig']??{};this['_currentConfig']=_0x3db041;const {id:_0x59e666}=this['_currentConfig'];this['isOpen']&&_0x4a476f===_0x59e666?this['_updateDialog']():this['_showDialog']();}['close'](){const _0x306c4b=getEditorFromContext(this['context'])['plugins']['get']('Dialog');_0x306c4b['isOpen']&&this['_currentConfig']&&_0x306c4b['id']===this['_currentConfig']['id']&&_0x306c4b['hide']();}['_updateDialog'](){const _0x3f1669=getEditorFromContext(this['context'])['plugins']['get']('Dialog'),{icon:_0x24e0f7,title:_0x5c4133}=this['_currentConfig'];_0x3f1669['view']?.['headerView']&&(_0x3f1669['view']['headerView']['label']=_0x5c4133,_0x3f1669['view']['headerView']['iconView']&&_0x24e0f7&&(_0x3f1669['view']['headerView']['iconView']['content']=_0x24e0f7)),this['_isUpdatingMarkers']=!0x0,this['_showFakeVisualSelection'](),this['_isUpdatingMarkers']=!0x1,_0x3f1669['view']?.['updatePosition']();}['_showFakeVisualSelection'](){this['context']['plugins']['get'](AIEditing)['showFakeVisualSelection'](this['_currentConfig']['ranges'],'ai-balloon-'+this['_currentConfig']['index'],!0x0,!0x0);}['_hideFakeVisualSelection'](_0xd28ec0){this['context']['plugins']['get'](AIEditing)['hideFakeVisualSelection']('ai-balloon-'+_0xd28ec0);}['_showDialog'](){const _0x4e1818=getEditorFromContext(this['context'])['plugins']['get']('Dialog'),{id:_0x10c086,title:_0x295c6c,icon:_0x57f67c,class:_0x27f151,mainView:_0x1f1f07}=this['_currentConfig'];_0x1f1f07['delegate'](..._0x31d29d)['to'](this),_0x4e1818['show']({'title':_0x295c6c,'icon':_0x57f67c,'hasCloseButton':!0x0,'id':_0x10c086,'position':this['_calculateDialogPosition']['bind'](this),'className':'ck-ai-balloon\x20'+(_0x27f151||''),'content':_0x1f1f07,'onShow':_0xce1414=>{this['_showFakeVisualSelection'](),this['_setupFakeVisualSelectionMarkerRemovalListener']();const _0xe4a686=this['_getSelectionElements']();_0xe4a686&&_0xe4a686[0x0]&&ckeditor5['scrollViewportToShowTarget']({'target':_0xe4a686[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this['isOpen']=!0x0,_0xce1414['once']('hide',()=>{this['fire']('beforeDialogClosed',{'id':_0x10c086});},{'priority':'high'});},'onHide':()=>{this['_hideFakeVisualSelection'](this['_currentConfig']['index']),this['_cleanupFakeVisualSelectionMarkerRemovalListener'](),this['fire']('dialogClosed',{'id':_0x10c086}),this['isOpen']=!0x1;}});}['_calculateDialogPosition'](_0x18d50f,_0x4246d7){if(!_0x4246d7)return null;const _0x4f0a11=this['_getSelectionElements']();if(!_0x4f0a11||0x0===_0x4f0a11['length'])return{'left':Math['round'](_0x4246d7['left']+_0x4246d7['width']/0x2-_0x18d50f['width']/0x2),'top':Math['round'](_0x4246d7['top']+_0x4246d7['height']/0x2-_0x18d50f['height']/0x2)};const _0x20a8f4=Math['round'](_0x4246d7['left']+_0x4246d7['width']/0x2-_0x18d50f['width']/0x2),_0xa9f05d=_0x4f0a11['map'](_0x232e37=>new ckeditor5['Rect'](_0x232e37)),_0x5a6e68=_0x18d50f['height'];return{'left':_0x20a8f4,'top':this['_calculateOptimalTopPosition'](_0xa9f05d,_0x5a6e68,_0x4246d7)};}['_calculateOptimalTopPosition'](_0x253e59,_0x12fba2,_0x2382f0){const _0x116652=new ckeditor5['Rect'](ckeditor5['global']['window']),_0x1ca26a=_0x253e59['map'](_0x1fd997=>_0x1fd997['getVisible']())['filter'](_0x1d5753=>_0x1d5753),_0x31c58e=ckeditor5['Rect']['getBoundingRect'](_0x1ca26a);if(!_0x31c58e)return Math['round'](_0x2382f0['top']+_0x2382f0['height']/0x2);const _0x3f5d2e=_0x116652['getIntersection'](_0x31c58e);if(!_0x3f5d2e)return Math['round'](_0x2382f0['top']+_0x2382f0['height']/0x2);const _0x3187ff=_0x2382f0['getVisible'](),_0x1e87ec=_0x3187ff&&_0x31c58e['height']>_0x3187ff['height'],_0x1a9d0a=_0x3f5d2e['top'],_0x3ff9b2=_0x3f5d2e['bottom'];if(_0x1e87ec){const _0x2fc649=(_0x3187ff||_0x116652)['height']/0x2-_0x12fba2/0x2,_0x38265d=_0x1a9d0a-_0x400081-_0x2382f0['top'],_0x56be99=_0x2382f0['bottom']-_0x3ff9b2-_0x400081;return _0x38265d>=_0x12fba2?Math['max'](_0x400081,_0x1a9d0a-_0x12fba2-_0x400081):_0x56be99>=_0x12fba2?_0x3ff9b2+_0x400081:Math['max'](_0x400081,_0x2fc649);}const _0x3663f6=_0x1a9d0a-_0x12fba2,_0x2c9d65=_0x2382f0['bottom']-_0x3ff9b2-_0x400081,_0x361bb9=_0x1a9d0a-_0x400081-_0x2382f0['top'];let _0x456728;if(_0x2c9d65>=_0x12fba2)_0x456728=_0x3ff9b2+_0x400081;else{if(_0x361bb9>=_0x12fba2)_0x456728=_0x3663f6-_0x400081;else _0x456728=_0x1a9d0a+_0x31c58e['height']/0x2-_0x12fba2/0x2;}return _0x456728;}['_setupFakeVisualSelectionMarkerRemovalListener'](){const _0x3fb817=getEditorFromContext(this['context']);this['listenTo'](_0x3fb817['model']['document'],'change',()=>{if(!this['_isUpdatingMarkers']){for(const {name:_0x59b15e,data:{newRange:_0x37b29a}}of _0x3fb817['model']['document']['differ']['getChangedMarkers']())if(_0x59b15e['startsWith'](_0x1385ef+':')&&(_0x37b29a&&(_0x37b29a['start']['isEqual'](_0x37b29a['end'])||'$graveyard'==_0x37b29a['root']['rootName'])||null==_0x37b29a)){const _0x313a92=getTranslation$i(this['context']['locale'],'AI_BALLOON_SELECTION_REMOVED_ERROR');this['_currentConfig']['mainView']['showBlockingError'](_0x313a92),this['fire']('selectionRemoved');}}});}['_cleanupFakeVisualSelectionMarkerRemovalListener'](){const _0x26eca9=getEditorFromContext(this['context']);this['_currentConfig']['mainView']['hideError'](),this['stopListening'](_0x26eca9['model']['document']);}['_getSelectionElements'](){const _0x4bcdb0=getEditorFromContext(this['context']);return getAllMarkersDomElementsSorted(_0x4bcdb0['editing'],[..._0x4bcdb0['model']['markers']['getMarkersGroup']('ai-selection'),..._0x4bcdb0['model']['markers']['getMarkersGroup']('ai-balloon-selection')]);}}class _0x25b8ff extends ckeditor5['ToolbarView']{['copyButton'];['likeButton'];['dislikeButton'];['showChangesButton'];['_config'];constructor(_0x2507a5,_0x133d40={}){super(_0x2507a5),this['set']('isEnabled',!0x0),this['set']('isShowChangesOn',!0x1),this['_config']={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x133d40};const _0x505082=!(this['_config']['showCopy']||this['_config']['showChanges']||this['_config']['showLike']||this['_config']['showDislike']||this['_config']['customView']?.['length']);this['class']=_0x505082?'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'](_0x3f1074){this['showChangesButton']['isEnabled']=_0x3f1074;}['_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 _0x5bee65=new ckeditor5['IconView']();_0x5bee65['set']({'content':ckeditor5['IconCheck']}),_0x5bee65['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'](_0x5bee65);}['_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',_0x35941a=>_0x35941a?ckeditor5['IconShowChangesOn']:ckeditor5['IconShowChangesOff']),this['showChangesButton']['on']('execute',()=>{this['fire']('toggleShowChanges');});}}class AIChatBalloonView extends _0x4c7a3b{['children'];['nextButtonView'];['previousButtonView'];['focusCycler'];['_focusables'];['_focusTracker'];['_keystrokes'];['_config'];['_streamableContentView'];['_toolbarContainerView'];['_partToolbarView'];['_stateView'];['_miniToolbarView'];constructor(_0x3cfea3,_0x434589){super(_0x3cfea3);const _0xc98c49=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']=_0x434589,this['nextButtonView']=this['_createNextButtonView'](),this['previousButtonView']=this['_createPreviousButtonView'](),this['_streamableContentView']=new AISuggestionStreamableContentView(_0x3cfea3),this['_partToolbarView']=new AISuggestionContentPartToolbarView(_0x3cfea3,_0x434589['availableActions']),this['_partToolbarView']['delegate']('applySuggestion','insertSuggestion','rejectSuggestion')['to'](this),this['_togglePartToolbarButtonsVisibility'](_0x434589),this['_stateView']=new AISuggestionContentPartStateView(_0x3cfea3),this['_stateView']['isVisible']=!0x1,this['_miniToolbarView']=new _0x25b8ff(_0x3cfea3,{'showChanges':'full'}),this['_miniToolbarView']['bind']('isShowChangesOn')['to'](this,'showDiff'),this['_miniToolbarView']['on']('toggleShowChanges',()=>{this['fire']('toggleSuggestionDisplayMode');}),this['_toolbarContainerView']=new AIChatBalloonToolbarContainerView(_0x3cfea3,[this['_partToolbarView'],this['_stateView'],this['_miniToolbarView']]),this['children']=this['createCollection']([this['_streamableContentView'],this['_toolbarContainerView']]),this['on']('change:_state',(_0x373403,_0x30cf87,_0x2bc113,_0x2852e9)=>{let _0x132834,_0xe0bf42;'pending'===_0x2852e9?(_0x132834=this['_partToolbarView'],_0xe0bf42=this['_stateView']):(_0x132834=this['_stateView'],_0xe0bf42=this['_partToolbarView']),this['_stateView']['setState'](_0x2bc113),_0x132834['isVisible']=!0x1,_0xe0bf42['isVisible']=!0x0;}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-balloon-main',_0xc98c49['to']('_state',_0x516ce=>'ck-ai-chat-balloon-main_state_'+_0x516ce)]},'children':this['children']}),this['on']('change:isTrackChangesOn',()=>{this['_togglePartToolbarButtonsVisibility'](_0x434589);});}['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'](_0x43bc8e){_0x43bc8e?.['keepErrors']||this['hideError'](),await this['_streamableContentView']['update'](_0x43bc8e);}['setState'](_0x16c74a){this['_state']=_0x16c74a;}['showError'](_0x1856a7){super['showError'](_0x1856a7),this['children']['has'](this['_errorView'])||this['children']['add'](this['_errorView'],0x0);}['hideError'](){this['_isErrorVisible']&&(super['hideError'](),this['togglePartToolbarEnabled'](!0x0));}['showBlockingError'](_0x535d23){super['showBlockingError'](_0x535d23),this['togglePartToolbarEnabled'](!0x1);}['toggleRotatorButtonsVisibility'](_0x406689){this['nextButtonView']['isVisible']=this['previousButtonView']['isVisible']=_0x406689;}['togglePartToolbarEnabled'](_0x46667b){this['_partToolbarView']['isEnabled']=_0x46667b;}['_togglePartToolbarButtonsVisibility']({showApplyButton:_0x2f1531,showSuggestButton:_0x3cfa47}){_0x2f1531=_0x2f1531&&!this['isTrackChangesOn']&&this['_config']['availableActions']['includes']('applySuggestion'),_0x3cfa47=_0x3cfa47&&this['_config']['availableActions']['includes']('insertSuggestion'),this['_partToolbarView']['setButtonsVisibility']({'showApplyButton':_0x2f1531,'showSuggestButton':_0x3cfa47});}['_createNextButtonView'](){const _0x16e448=new ckeditor5['ButtonView'](this['locale']);return _0x16e448['set']({'icon':ckeditor5['IconChevronDown'],'label':getTranslation$i(this['locale'],'AI_BALLOON_NEXT_LABEL'),'isVisible':!0x0}),_0x16e448['on']('execute',()=>{this['fire']('showNext');}),_0x16e448;}['_createPreviousButtonView'](){const _0x1e6afe=new ckeditor5['ButtonView'](this['locale']);return _0x1e6afe['set']({'icon':ckeditor5['IconChevronUp'],'label':getTranslation$i(this['locale'],'AI_BALLOON_PREVIOUS_LABEL'),'isVisible':!0x0}),_0x1e6afe['on']('execute',()=>{this['fire']('showPrevious');}),_0x1e6afe;}}class AIChatBalloonToolbarContainerView extends ckeditor5['View']{constructor(_0x5e855c,_0x267c57){super(_0x5e855c),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-balloon__toolbar-container']},'children':_0x267c57});}}class AIChatBalloon extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['Dialog'],_0x5c0dbe];}static get['pluginName'](){return'AIChatBalloon';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_chatBalloonView'];constructor(_0x32c57c){super(_0x32c57c),this['set']('showDiff',!0x1);}['open'](_0x5a7a8b){const _0x213774=this['editor'];this['_chatBalloonView']||(this['_chatBalloonView']=this['_createChatBalloonView']()),_0x213774['plugins']['get']('AIBalloon')['open']({..._0x5a7a8b,'id':'aiChatBalloon','class':'ck-ai-chat-balloon','mainView':this['_chatBalloonView']}),this['_toggleRotatorButtonsInDialogHeader'](_0x5a7a8b['showRotator']),this['_chatBalloonView']['togglePartToolbarEnabled'](!_0x5a7a8b['areActionsDisabled']),this['_restoreDefaultViewFocus']();}['close'](){this['editor']['plugins']['get']('AIBalloon')['close']();}['updateContent'](_0x3495cd){return this['_chatBalloonView']||(this['_chatBalloonView']=this['_createChatBalloonView']()),this['_chatBalloonView']['updateContent'](_0x3495cd);}['setState'](_0x51e5df){this['_chatBalloonView']&&this['_chatBalloonView']['setState'](_0x51e5df);}['_createChatBalloonView'](){const _0x110340=this['editor'],_0x3dae34=_0x110340['plugins']['get']('AIBalloon'),_0x376abc=_0x110340['commands']['get']('trackChanges');let _0x9eb609=_0x110340['config']['get']('ai.availableReplyActions')||[..._0x1eec8f];_0x110340['plugins']['has']('TrackChanges')||(_0x9eb609=_0x9eb609['filter'](_0x4aad3b=>'insertSuggestion'!=_0x4aad3b));const _0x218f92=new AIChatBalloonView(_0x110340['locale'],{'availableActions':_0x9eb609,'showApplyButton':!0x0,'showSuggestButton':!!_0x376abc});return _0x218f92['bind']('showDiff')['to'](this),_0x218f92['delegate'](..._0x2a7ac2)['to'](this),_0x218f92['delegate']('showPrevious','showNext')['to'](this),_0x3dae34['delegate']('dialogClosed')['to'](this),_0x218f92['on']('applySuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x218f92['on']('insertSuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x218f92['on']('rejectSuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x376abc&&_0x218f92['bind']('isTrackChangesOn')['to'](_0x376abc,'value'),_0x218f92['render'](),_0x218f92;}['_toggleRotatorButtonsInDialogHeader'](_0x21c7e7){const _0x4feadf=this['editor'],_0x1898ea=_0x4feadf['plugins']['get']('Dialog')['view']['headerView']['children'];this['_chatBalloonView']['toggleRotatorButtonsVisibility'](_0x21c7e7),_0x1898ea['has'](this['_chatBalloonView']['previousButtonView'])||(_0x1898ea['addMany']([this['_chatBalloonView']['previousButtonView'],this['_chatBalloonView']['nextButtonView']],0x0),_0x4feadf['plugins']['get']('AIBalloon')['once']('beforeDialogClosed',()=>{_0x1898ea['remove'](this['_chatBalloonView']['previousButtonView']),_0x1898ea['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(_0x21fb7b){const {editor:_0x2f8cba,action:_0x5c16de,withText:_0x1bba6c=!0x1,withIcon:_0x2925cd=!0x0,isInDropdown:_0x3a4bb1=!0x0,shouldPreventFocus:_0x2240aa=!0x1}=_0x21fb7b;return()=>{const _0x20b248=_0x2f8cba['locale'],_0x20e378=new ckeditor5['ButtonView'](_0x20b248),_0x39bb95=_0x20e378['bindTemplate'];_0x3a4bb1&&_0x20e378['extendTemplate']({'on':{'mouseenter':_0x39bb95['to'](()=>{_0x2240aa&&_0x2240aa()||_0x20e378['focus']();})}});const _0x3616c2=_0x5c16de['icon']??_0x5c16de['parent']?.['icon'];return _0x20e378['set']({'label':_0x5c16de['displayedPrompt'],'withText':_0x1bba6c,'role':'menuitem','icon':_0x2925cd?_0x3616c2??ckeditor5['IconAIQuickActions']:void 0x0,'tooltip':!_0x1bba6c,'class':'ck-ai-quick-actions-button','isEnabled':_0x5c16de['isEnabled']}),_0x20e378['on']('execute',()=>{_0x2f8cba['editing']['view']['focus'](),_0x2f8cba['commands']['execute']('aiQuickAction',_0x5c16de);}),_0x20e378;};}class DropdownMenuButtonWithHighlightView extends ckeditor5['ListItemButtonView']{['arrowView'];constructor(_0x286701,_0x45c3dc){super(_0x286701,_0x45c3dc);const _0x549884=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',_0x16ff3a=>String(_0x16ff3a)),'data-cke-tooltip-disabled':_0x549884['to']('isOn')},'on':{'mouseenter':_0x549884['to']('mouseenter')}});}['render'](){super['render'](),this['children']['add'](this['arrowView']);}['_createArrowView'](){const _0x5b9698=new ckeditor5['IconView']();return _0x5b9698['content']=ckeditor5['IconDropdownArrow'],_0x5b9698['extendTemplate']({'attributes':{'class':'ck-dropdown-menu-list__nested-menu__button__arrow'}}),_0x5b9698;}}class AIQuickActionsFilteredListView extends ckeditor5['ListView']{['_allListItems'];['_allSearchableItems'];constructor(_0x12d904,_0x5b27e4,_0x1fe393){super(_0x12d904),this['_allListItems']=_0x5b27e4,this['_allSearchableItems']=_0x1fe393;}['filter'](_0x46b66e){if(!_0x46b66e)return this['items']['clear'](),this['items']['addMany'](this['_allListItems']),this['_clearHighlight'](),{'resultsCount':this['_allListItems']['length'],'totalItemsCount':this['_allListItems']['length']};const _0x11607b=_0x46b66e['source']['toLowerCase']()['trim'](),_0x2306bd=this['_allSearchableItems']['filter'](_0x129059=>(_0x129059['groupLabel']?_0x129059['label']+'\x20('+_0x129059['groupLabel']+')':_0x129059['label'])['toLowerCase']()['includes'](_0x11607b));return this['items']['clear'](),this['items']['addMany'](_0x2306bd['sort']((_0x540af3,_0x363651)=>{const _0x3ad367=_0x540af3['groupLabel'],_0x226e9c=_0x363651['groupLabel'];return _0x3ad367||_0x226e9c?_0x3ad367?0x1:-0x1:0x0;})['map'](_0xb7882f=>_0xb7882f['item'])),this['_highlightQuery'](_0x11607b,_0x2306bd),{'resultsCount':_0x2306bd['length'],'totalItemsCount':this['_allSearchableItems']['length']};}['_highlightQuery'](_0xb603cc,_0x58448d){if(!_0xb603cc)return;const _0x4b8533=new RegExp(_0xc7cc6c(_0xb603cc),'gi');_0x58448d['forEach'](_0x3ec197=>{_0x3ec197['highlightViews']&&_0x3ec197['highlightViews']['forEach'](_0x40a38c=>{'function'==typeof _0x40a38c['highlightText']&&_0x40a38c['highlightText'](_0x4b8533);});});}['_clearHighlight'](){this['_allSearchableItems']['forEach'](_0x4eff91=>{_0x4eff91['highlightViews']&&_0x4eff91['highlightViews']['forEach'](_0x261a15=>{'function'==typeof _0x261a15['highlightText']&&_0x261a15['highlightText'](null);});});}}const _0x2dc10e={'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(_0x38892f,_0x219d3f,_0x3fa15a,_0x27be59,_0x836ae6=!0x1){const _0x3f5e3c=_0x38892f['locale'];super(_0x3f5e3c),this['_bodyCollection']=_0x27be59,this['_hasSearch']=_0x836ae6;const _0x43d506=this['_createListItems'](_0x38892f,_0x219d3f,_0x3fa15a);this['optionsListView']=new AIQuickActionsFilteredListView(_0x3f5e3c,_0x43d506,this['_allSearchableItems']),this['optionsListView']['role']=_0x2dc10e['MENU'],this['optionsListView']['items']['addMany'](_0x43d506),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),_0x836ae6&&(this['_searchTextView']=this['_createSearchTextView']()),this['_focusables']=_0x43d506,this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes']}),_0x836ae6&&this['_searchTextView']&&this['focusCycler']['chain'](this['_searchTextView']['focusCycler']);const _0x356b4e=_0x836ae6&&this['_searchTextView']?[this['_searchTextView']]:[this['optionsListView']];this['children']=new ckeditor5['ViewCollection'](_0x356b4e),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions','ck-rounded-corners'],'dir':_0x3f5e3c['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 _0x226813=this['_searchTextView']['queryView']['fieldView']['element']['ownerDocument']?.['activeElement'];return this['_searchTextView']['queryView']['fieldView']['element']['contains'](_0x226813);}['_createListItems'](_0x4a516b,_0xc04357,_0x1a4107){const _0x1f0b59=new ckeditor5['ViewCollection']();return _0xc04357['forEach'](_0x3e0662=>{if('actions'in _0x3e0662){const {listItem:_0x558bf6}=this['_createActionGroupButton'](_0x4a516b,_0x3e0662,_0x1a4107);_0x1f0b59['add'](_0x558bf6),_0x3e0662['actions']['forEach'](_0x4af431=>{this['_createActionButton'](_0x4a516b,_0x4af431,_0x3e0662['label'],_0x3e0662['icon']);const {listItem:_0xc91dc7,highlightViews:_0x282a9a}=this['_createSearchResultActionButton'](_0x4a516b,_0x4af431,_0x3e0662['label'],_0x3e0662['icon']);this['_allSearchableItems']['push']({'item':_0xc91dc7,'label':_0x4af431['displayedPrompt'],'groupLabel':_0x3e0662['label'],'highlightViews':_0x282a9a});});}else{const {listItem:_0x1bc4a3}=this['_createActionButton'](_0x4a516b,_0x3e0662);_0x1f0b59['add'](_0x1bc4a3);const _0x38d86f=_0x1bc4a3['children']['first'];if(_0x38d86f){const {listItem:_0x131b1a,highlightViews:_0x1e0d44}=this['_createSearchResultActionButton'](_0x4a516b,_0x3e0662);this['_allSearchableItems']['push']({'item':_0x131b1a,'label':_0x38d86f['label']||'','highlightViews':_0x1e0d44});}}}),_0x1f0b59;}['_createActionButton'](_0x15f352,_0x40e788,_0x474e8a,_0x1581d2){const _0x5c780c=new ckeditor5['ListItemView'](this['locale']);if(_0x474e8a&&_0x1581d2){const _0x1a7706=new ckeditor5['ButtonView'](this['locale']),_0x93f5d5=_0x1a7706['bindTemplate'],_0x185f6d=new ckeditor5['HighlightedTextView']();_0x185f6d['text']=_0x40e788['displayedPrompt'];const _0x46c94e=new ckeditor5['HighlightedTextView']();_0x46c94e['text']=_0x474e8a;const _0x20d308=new ckeditor5['IconView']();_0x20d308['content']=_0x1581d2,_0x20d308['extendTemplate']({'attributes':{'class':'ck-ai-quick-actions-button__group-icon'}});const _0x2cbdb4=new ckeditor5['View'](this['locale']);_0x2cbdb4['setTemplate']({'tag':'span','attributes':{'class':'ck-ai-quick-actions-button_with-group__open-paren'},'children':[{'text':'\x20('}]});const _0x4512cb=new ckeditor5['View'](this['locale']);return _0x4512cb['setTemplate']({'tag':'span','attributes':{'class':'ck-ai-quick-actions-button_with-group__close-paren'},'children':[{'text':')'}]}),_0x1a7706['set']({'label':_0x40e788['displayedPrompt']+'\x20('+_0x474e8a+')','withText':!0x0,'role':'menuitem','class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','tooltip':!0x1}),_0x1a7706['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':[_0x185f6d,_0x2cbdb4,_0x20d308,_0x46c94e,_0x4512cb],'on':{'mouseenter':_0x93f5d5['to'](()=>{this['_isSearchFocused']()||_0x1a7706['focus']();}),'click':_0x93f5d5['to'](()=>{_0x1a7706['fire']('execute');})}}),_0x1a7706['on']('execute',()=>{_0x15f352['editing']['view']['focus'](),_0x15f352['commands']['execute']('aiQuickAction',_0x40e788);}),_0x5c780c['children']['add'](_0x1a7706),{'listItem':_0x5c780c,'highlightViews':[_0x185f6d,_0x46c94e]};}{const _0x3ef2e3=new ckeditor5['ButtonLabelWithHighlightView'](),_0x2757ec=new ckeditor5['ButtonView'](this['locale'],_0x3ef2e3),_0x2b6e49=_0x2757ec['bindTemplate'],_0x413260=_0x40e788['icon']??_0x40e788['parent']?.['icon'],_0x133803=void 0x0!==_0x40e788['icon'];return _0x2757ec['set']({'label':_0x40e788['displayedPrompt'],'withText':!0x0,'role':'menuitem','icon':_0x133803?_0x413260??ckeditor5['IconAIQuickActions']:void 0x0,'tooltip':!0x1,'class':'ck-ai-quick-actions-button'}),_0x2757ec['extendTemplate']({'on':{'mouseenter':_0x2b6e49['to'](()=>{this['_isSearchFocused']()||_0x2757ec['focus']();})}}),_0x2757ec['on']('execute',()=>{_0x15f352['editing']['view']['focus'](),_0x15f352['commands']['execute']('aiQuickAction',_0x40e788);}),_0x5c780c['children']['add'](_0x2757ec),{'listItem':_0x5c780c,'highlightViews':[_0x3ef2e3]};}}['_createSearchResultActionButton'](_0x2d48b0,_0x293f89,_0x3d9ee9,_0xacc493){return _0x3d9ee9&&_0xacc493?this['_createSearchResultGroupedActionButton'](_0x2d48b0,_0x293f89,_0x3d9ee9,_0xacc493):this['_createSearchResultIndividualActionButton'](_0x2d48b0,_0x293f89);}['_createSearchResultGroupedActionButton'](_0x2b2c13,_0x358c52,_0xb47d1,_0x4eaa3a){const _0x51d409=new ckeditor5['ListItemView'](this['locale']),_0x3f44c6=new ckeditor5['ButtonView'](this['locale']),_0x27bbe0=_0x3f44c6['bindTemplate'],{view:_0x39f7d8,highlightView:_0x514349}=this['_createSearchResultGroupRow'](_0xb47d1,_0x4eaa3a),{view:_0x5e35f6,highlightView:_0x5de636}=this['_createSearchResultActionRow'](_0x358c52['displayedPrompt']),_0x563c0f=this['_createSearchResultContentView'](_0x39f7d8,_0x5e35f6);return _0x3f44c6['set']({'label':_0x358c52['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}),_0x3f44c6['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':[_0x563c0f],'on':{'mouseenter':_0x27bbe0['to'](()=>{this['_isSearchFocused']()||_0x3f44c6['focus']();}),'click':_0x27bbe0['to'](()=>{this['_handleSearchResultButtonClick'](_0x3f44c6);})}}),this['_setupActionButtonExecution'](_0x3f44c6,_0x2b2c13,_0x358c52),_0x51d409['children']['add'](_0x3f44c6),{'listItem':_0x51d409,'highlightViews':[_0x514349,_0x5de636]};}['_createSearchResultIndividualActionButton'](_0x241448,_0x261429){const _0x174632=new ckeditor5['ListItemView'](this['locale']),_0x4c924d=new ckeditor5['ButtonLabelWithHighlightView'](),_0x1fd5c7=new ckeditor5['ButtonView'](this['locale'],_0x4c924d),_0xa8047c=_0x1fd5c7['bindTemplate'];return _0x1fd5c7['set']({'label':_0x261429['displayedPrompt'],'withText':!0x0,'role':'menuitem','icon':void 0x0,'tooltip':!0x1,'class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button'}),_0x1fd5c7['extendTemplate']({'on':{'mouseenter':_0xa8047c['to'](()=>{this['_isSearchFocused']()||_0x1fd5c7['focus']();})}}),this['_setupActionButtonExecution'](_0x1fd5c7,_0x241448,_0x261429),_0x174632['children']['add'](_0x1fd5c7),{'listItem':_0x174632,'highlightViews':[_0x4c924d]};}['_createSearchResultGroupRow'](_0x5428f3,_0x298c85){const _0x2f861c=new ckeditor5['View'](this['locale']),_0xc76708=new ckeditor5['IconView']();_0xc76708['content']=_0x298c85,_0xc76708['extendTemplate']({'attributes':{'class':'ck-ai-quick-actions-button__group-icon'}});const _0x4639b8=new ckeditor5['HighlightedTextView']();return _0x4639b8['text']=_0x5428f3,_0x2f861c['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__group-row'},'children':[_0xc76708,_0x4639b8]}),{'view':_0x2f861c,'highlightView':_0x4639b8};}['_createSearchResultActionRow'](_0x202a90){const _0x2234f6=new ckeditor5['View'](this['locale']),_0x2c3b11=new ckeditor5['HighlightedTextView']();return _0x2c3b11['text']=_0x202a90,_0x2234f6['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__action-row'},'children':[_0x2c3b11]}),{'view':_0x2234f6,'highlightView':_0x2c3b11};}['_createSearchResultContentView'](_0x5393c0,_0x13e91b){const _0x2b814d=new ckeditor5['View'](this['locale']);return _0x2b814d['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__content'},'children':[_0x5393c0,_0x13e91b]}),_0x2b814d;}['_setupActionButtonExecution'](_0x20819f,_0x27de70,_0xb2e7fa){_0x20819f['on']('execute',()=>{_0x27de70['editing']['view']['focus'](),_0x27de70['commands']['execute']('aiQuickAction',_0xb2e7fa);});}['_createActionGroupButton'](_0x1c750a,_0x45e4f7,_0x28bc58){const _0x3a60f2=new ckeditor5['ListItemView'](this['locale']),_0x37550a=new ckeditor5['ButtonLabelWithHighlightView'](),_0x3e3d71=new DropdownMenuButtonWithHighlightView(this['locale'],_0x37550a),_0x48d453=_0x3e3d71['bindTemplate'],_0xfcc553=this['_getPanelKeystroke'](_0x28bc58),_0x1a0f2f=this['_createGroupActionsList'](_0x1c750a,_0x45e4f7['actions'],_0x28bc58);_0x3e3d71['set']({'label':_0x45e4f7['label'],'withText':!0x0,'role':_0x2dc10e['MENU_ITEM'],'icon':_0x45e4f7['icon']??ckeditor5['IconAIQuickActions'],'isEnabled':_0x45e4f7['actions']['some'](_0x4533c7=>_0x4533c7['isEnabled'])}),_0x3e3d71['extendTemplate']({'on':{'mouseenter':_0x48d453['to'](()=>{this['_isSearchFocused']()||_0x3e3d71['focus']();})}});const _0x1f4e43=new ckeditor5['BalloonPanelView'](this['locale']);return _0x1f4e43['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-panel','ck-dropdown-menu__nested-menu__panel']},'on':{'keydown':_0x48d453['to'](_0x172f92=>{this['_handlePanelKeydown'](_0x172f92,_0xfcc553,_0x3e3d71,_0x1f4e43);})}}),_0x3e3d71['bind']('isOn')['to'](_0x1f4e43,'isVisible'),this['_bodyCollection']['add'](_0x1f4e43),_0x1f4e43['content']['add'](_0x1a0f2f),this['_setupGroupMenuBehavior'](_0x3e3d71,_0x1f4e43),_0x3a60f2['children']['add'](_0x3e3d71),{'listItem':_0x3a60f2,'highlightView':_0x37550a};}['_createGroupActionsList'](_0x297d6c,_0x2f2c4e,_0x3de0aa){const _0x2eb3bd=new ckeditor5['ListView'](this['locale']);return _0x2eb3bd['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-list','ck-dropdown-menu-list']}}),_0x2f2c4e['forEach'](_0x3a2de8=>{const _0x8b09c5=new ckeditor5['ListItemView'](this['locale']),_0x5e15e3=aiQuickActionsButtonCreator({'editor':_0x297d6c,'action':_0x3a2de8,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this['_isSearchFocused']()})();_0x8b09c5['children']['add'](_0x5e15e3),_0x3de0aa['focusTracker']['add'](_0x5e15e3),_0x2eb3bd['items']['add'](_0x8b09c5);}),_0x2eb3bd;}['_setupGroupMenuBehavior'](_0x5ed27f,_0x110d60){const _0x360997=_0x5ed27f['bindTemplate'],_0x3dded4=this['_getButtonKeystroke'](_0x5ed27f);_0x5ed27f['extendTemplate']({'attributes':{'class':['ck-ai-quick-actions-group-button']},'on':{'mouseenter':_0x360997['to'](()=>{this['_showNestedPanel'](_0x110d60,_0x5ed27f);}),'mouseleave':_0x360997['to'](_0x535b9f=>{const _0xfe963d=_0x535b9f['relatedTarget'];this['_isMovingToNestedMenu'](_0xfe963d,_0x110d60)||this['_hideNestedPanel'](_0x110d60);}),'keydown':_0x360997['to'](_0x26abe4=>{_0x26abe4['key']==_0x3dded4&&(this['_showNestedPanel'](_0x110d60,_0x5ed27f),_0x110d60['content']['get'](0x0)['focus']());})}}),_0x110d60['on']('render',()=>{_0x110d60['element']?.['addEventListener']('mouseleave',_0x460651=>{const _0x519779=_0x460651['relatedTarget'];_0x5ed27f['element']?.['contains'](_0x519779)||this['_isMovingToNestedMenu'](_0x519779,_0x110d60)||this['_hideNestedPanel'](_0x110d60);});});}['_showNestedPanel'](_0x50f55f,_0x58860a){this['_openNestedPanels']['forEach'](_0x5ad10e=>{_0x5ad10e!==_0x50f55f&&_0x5ad10e['isVisible']&&_0x5ad10e['hide']();}),_0x50f55f['show'](),_0x50f55f['pin']({'positions':[ckeditor5['DropdownMenuPanelPositioningFunctions']['eastSouth']],'target':_0x58860a['element'],'fitInViewport':!0x0}),this['_openNestedPanels']['add'](_0x50f55f);}['_hideNestedPanel'](_0x387870){_0x387870['hide'](),this['_openNestedPanels']['delete'](_0x387870);}['_hideAllNestedPanels'](){this['_openNestedPanels']['forEach'](_0x264b7f=>_0x264b7f['hide']()),this['_openNestedPanels']['clear']();}['_isMovingToNestedMenu'](_0x5e4552,_0x37c4ec){if(!_0x5e4552)return!0x1;if(_0x37c4ec['element']?.['contains'](_0x5e4552))return!0x0;const _0x28bddd=_0x5e4552;return _0x28bddd['closest']&&(null!==_0x28bddd['closest']('.ck-ai-quick-actions-group-panel')||null!==_0x28bddd['closest']('.ck-ai-quick-actions-group-list')||null!==_0x28bddd['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'](_0x6a388d){return'rtl'===_0x6a388d['locale']['uiLanguageDirection']?'ArrowRight':'ArrowLeft';}['_getButtonKeystroke'](_0x161b99){return'rtl'===_0x161b99['locale']['uiLanguageDirection']?'ArrowLeft':'ArrowRight';}['_handlePanelKeydown'](_0x126b5f,_0x49a48b,_0x173836,_0x50077a){_0x126b5f['key']==_0x49a48b&&(_0x173836['focus'](),this['_hideNestedPanel'](_0x50077a));}['_handleSearchResultButtonClick'](_0x38ca4f){_0x38ca4f['fire']('execute');}}function aiQuickActionsDropdownCreator(_0x26b7ed){const {editor:_0x3a437c,content:_0xb7f578,buttonDefinition:_0x711e16,bodyCollection:_0x2f3216,hasSearch:_0x47095a=!0x1}=_0x26b7ed;return()=>{const _0xa233c3=_0x3a437c['locale'],_0x3ae6f8=ckeditor5['createDropdown'](_0xa233c3);_0x3ae6f8['buttonView']['set']({'icon':_0x711e16['icon']??ckeditor5['IconAIQuickActions'],'label':_0x711e16['label'],'tooltip':!0x0}),_0x3ae6f8['set']({'class':'ck-ai-quick-actions-dropdown'});const _0x120995=new AIQuickActionsDropdownContentView(_0x3a437c,_0xb7f578,_0x3ae6f8,_0x2f3216,_0x47095a);if(_0x3ae6f8['panelView']['children']['add'](_0x120995),_0x47095a){const _0x21a636='ai-quick-actions-dropdown-selection';_0x3ae6f8['on']('change:isOpen',(_0x3a1a56,_0x235027,_0x381a1f)=>{if(_0x381a1f){if(_0x3a437c['plugins']['has']('AIEditing')){const _0x4bcb58=_0x3a437c['plugins']['get'](AIEditing),_0x1d0a52=_0x3a437c['model']['document']['selection'],_0x11d4e5=Array['from'](_0x1d0a52['getRanges']());_0x11d4e5['length']>0x0&&_0x4bcb58['showFakeVisualSelection'](_0x11d4e5,_0x21a636,!0x1,!0x0);}}else _0x3a437c['plugins']['has']('AIEditing')&&_0x3a437c['plugins']['get'](AIEditing)['hideFakeVisualSelection'](_0x21a636),_0x120995['resetSearch']();});}return _0x3ae6f8;};}const _0x25c20a='<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>',_0x52a12a='<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>',_0x3247cf='<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(_0x67d2b0){return _0x67d2b0['CHAT']='CHAT',_0x67d2b0['ACTION']='ACTION',_0x67d2b0['REVIEW']='REVIEW',_0x67d2b0;}({}),AIQuickActionTypeToPluginName=function(_0x38bf10){return _0x38bf10['CHAT']='AIChat',_0x38bf10['ACTION']='AIActions',_0x38bf10['REVIEW']='AIReviewMode',_0x38bf10;}({});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 _0x1d894c=await this['_getDefaultAndCustomActions']();this['_prepareQuickActionsDefinition'](_0x1d894c),this['_initializeQuickActionsComponentsAndCommands']();}static['getDefaultQuickActions'](_0x366534){return getDefaultQuickActions(_0x366534);}async['_getDefaultAndCustomActions'](){const _0x130486=AIQuickActionsUI['getDefaultQuickActions'](this['editor']['locale']),_0xbafb3f=this['editor']['config']['get']('ai.quickActions.extraCommands')||[];let _0x5ae099=[];try{_0x5ae099=await new _0x2fa4df({'connector':this['editor']['plugins']['get']('AIConnector'),'locale':this['editor']['locale']})['getAll']();}catch(_0x39cd49){const _0x5a6b04=new ckeditor5['CKEditorError']('ai-quick-actions-models-unable-to-retrieve',this,{'error':_0x39cd49});ckeditor5['logError'](_0x5a6b04['message']);}finally{const _0x5b36a7=_0xbafb3f['map'](_0x1407e0=>({..._0x1407e0,'icon':void 0x0})),_0x4af4d4=_0x130486['find'](_0x430746=>'other'===_0x430746['id']);_0x4af4d4['actions']['push'](..._0x5b36a7),_0x130486['forEach'](_0x263422=>{if('actions'in _0x263422)_0x263422['actions']['forEach'](_0x2e3bd3=>{if(_0x2e3bd3['isEnabled']=!!_0x5ae099['find'](_0x4e679b=>_0x4e679b['id']===_0x2e3bd3['model'])||void 0x0===_0x2e3bd3['model'],!_0x2e3bd3['isEnabled']){const _0x5e87ef=new ckeditor5['CKEditorError']('ai-quick-actions-unavailable-model',this,{'actionId':_0x2e3bd3['id'],'modelId':_0x2e3bd3['model']});ckeditor5['logError'](_0x5e87ef['message']);}});else{if(_0x263422['isEnabled']=!!_0x5ae099['find'](_0x55dd3c=>_0x55dd3c['id']===_0x263422['model'])||void 0x0===_0x263422['model'],!_0x263422['isEnabled']){const _0x3b9be1=new ckeditor5['CKEditorError']('ai-quick-actions-unavailable-model',this,{'actionId':_0x263422['id'],'modelId':_0x263422['model']});ckeditor5['logError'](_0x3b9be1['message']);}}});}return _0x130486;}['_initializeQuickActionsComponentsAndCommands'](){const _0x212de3=new ckeditor5['BodyCollection'](this['editor']['locale']);_0x212de3['attachToDom'](),this['_initializeQuickActionsDropdown'](_0x212de3),this['_initializeQuickActionsMenuBar'](),this['_initializeQuickActionsComponents'](_0x212de3);}['_initializeQuickActionsDropdown'](_0x13aec6){const _0x5de2fc=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':_0x13aec6,'hasSearch':_0x5de2fc}));}['_prepareQuickActionsDefinition'](_0x52759e){this['_quickActionsDefinition']=_0x52759e['map'](_0x498766=>{if('actions'in _0x498766){const _0x17d3c1=_0x498766;return{..._0x17d3c1,'actions':_0x17d3c1['actions']['map'](_0x40aba5=>{const {actions:_0x1171f1,..._0x9e9753}=_0x17d3c1;return{..._0x40aba5,'parent':_0x9e9753};})['filter'](_0x183a9f=>this['_shouldIncludeAction'](_0x183a9f))};}return _0x498766;})['filter'](_0xc9eb57=>'actions'in _0xc9eb57?_0xc9eb57['actions']['length']>0x0:this['_shouldIncludeAction'](_0xc9eb57));}['_shouldIncludeAction'](_0xeb58c){const _0xc8e850=this['editor']['config']['get']('ai.quickActions.removeCommands')||[];return this['editor']['plugins']['has'](AIQuickActionTypeToPluginName[_0xeb58c['type']])&&!_0xc8e850['includes'](_0xeb58c['id'])&&!('CHAT'===_0xeb58c['type']&&!0x1===this['editor']['config']['get']('ai.chat.context.document.enabled'));}['_initializeQuickActionsComponents'](_0x4eff87){this['_quickActionsDefinition']['forEach'](_0x68304a=>{if('actions'in _0x68304a){const _0x121568=aiQuickActionsDropdownCreator({'editor':this['editor'],'content':_0x68304a['actions'],'buttonDefinition':_0x68304a,'bodyCollection':_0x4eff87});this['editor']['ui']['componentFactory']['add'](_0x68304a['id'],_0x121568),_0x68304a['actions']['forEach'](_0x2498a3=>{const _0x476f3c=aiQuickActionsButtonCreator({'editor':this['editor'],'action':_0x2498a3});this['editor']['ui']['componentFactory']['add'](_0x2498a3['id'],_0x476f3c);});}else{const _0x346a4f=aiQuickActionsButtonCreator({'editor':this['editor'],'action':_0x68304a,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this['editor']['ui']['componentFactory']['add'](_0x68304a['id'],_0x346a4f);}});}['_initializeQuickActionsMenuBar'](){this['editor']['ui']['componentFactory']['add']('menuBar:aiQuickActions',_0x5dfb53=>{const _0x512cf2=new ckeditor5['MenuBarMenuView'](_0x5dfb53),_0x54a183=getTranslation$i(_0x5dfb53,'AI_QUICK_ACTIONS_HEADING');_0x512cf2['buttonView']['set']({'label':_0x54a183,'icon':ckeditor5['IconAIQuickActions']});const _0x38c9cf=new ckeditor5['MenuBarMenuListView'](_0x5dfb53);_0x38c9cf['set']({'ariaLabel':_0x54a183,'role':'menu'}),this['_quickActionsDefinition']['forEach'](_0x404981=>{if('actions'in _0x404981){const _0x1f5f26=_0x404981,_0x8f99cb=new ckeditor5['MenuBarMenuListItemView'](_0x5dfb53,_0x512cf2),_0x4aeaf1=new ckeditor5['MenuBarMenuView'](_0x5dfb53),_0x41d08d=new ckeditor5['MenuBarMenuListView'](_0x5dfb53);_0x4aeaf1['buttonView']['set']({'label':_0x1f5f26['label'],'icon':_0x1f5f26['icon']}),_0x1f5f26['actions']['forEach'](_0x286d02=>{const _0x5ec2f6=new ckeditor5['MenuBarMenuListItemView'](_0x5dfb53,_0x4aeaf1),_0x4db2c7=new ckeditor5['MenuBarMenuListItemButtonView'](_0x5dfb53);_0x4db2c7['set']({'label':_0x286d02['displayedPrompt'],'icon':_0x286d02['icon'],'role':'menuitem','isEnabled':_0x286d02['isEnabled']}),_0x4db2c7['on']('execute',()=>{this['_executeQuickAction'](_0x286d02);}),_0x4db2c7['delegate']('execute')['to'](_0x4aeaf1),_0x5ec2f6['children']['add'](_0x4db2c7),_0x41d08d['items']['add'](_0x5ec2f6);}),_0x4aeaf1['panelView']['children']['add'](_0x41d08d),_0x8f99cb['children']['add'](_0x4aeaf1),_0x38c9cf['items']['add'](_0x8f99cb);}else{const _0x4bfd3b=_0x404981,_0xc7366f=new ckeditor5['MenuBarMenuListItemView'](_0x5dfb53,_0x512cf2),_0x193a88=new ckeditor5['MenuBarMenuListItemButtonView'](_0x5dfb53);_0x193a88['set']({'label':_0x4bfd3b['displayedPrompt'],'icon':_0x4bfd3b['icon'],'role':'menuitem','isEnabled':_0x4bfd3b['isEnabled']}),_0x193a88['on']('execute',()=>{this['_executeQuickAction'](_0x4bfd3b);}),_0x193a88['delegate']('execute')['to'](_0x512cf2),_0xc7366f['children']['add'](_0x193a88),_0x38c9cf['items']['add'](_0xc7366f);}});const _0x30ad71=Object['values'](AIQuickActionTypeToPluginName)['some'](_0x255c0f=>this['editor']['plugins']['has'](_0x255c0f));return _0x512cf2['set']({'isEnabled':_0x30ad71}),_0x512cf2['panelView']['children']['add'](_0x38c9cf),_0x512cf2;});}['_executeQuickAction'](_0x536201){const _0x244cca=this['editor'];_0x244cca['editing']['view']['focus'](),_0x244cca['commands']['execute']('aiQuickAction',_0x536201);const _0x33c2d2=_0x244cca['ui']['view']['menuBarView'];_0x33c2d2&&_0x33c2d2['close']&&_0x33c2d2['close']();}}function getDefaultQuickActions(_0xc2e5e6){const _0x1964d7=new Intl['DisplayNames'](['en'],{'type':'language'})['of'](_0xc2e5e6['uiLanguage'])||'English';return[{'id':'ask-ai','displayedPrompt':getTranslation$i(_0xc2e5e6,'AI_QUICK_ACTIONS_ASK_AI'),'type':'CHAT','icon':ckeditor5['IconAIChatCommands']},{'id':'chat-commands','label':getTranslation$i(_0xc2e5e6,'AI_QUICK_ACTIONS_CHAT_COMMANDS'),'icon':ckeditor5['IconAIChatCommands'],'actions':[{'id':'explain','displayedPrompt':getTranslation$i(_0xc2e5e6,'AI_QUICK_ACTIONS_EXPLAIN'),'prompt':_0x25c20a['replace']('%0',_0x1964d7),'type':'CHAT'},{'id':'summarize','displayedPrompt':getTranslation$i(_0xc2e5e6,'AI_QUICK_ACTIONS_SUMMARIZE'),'prompt':_0x52a12a['replace']('%0',_0x1964d7),'type':'CHAT'},{'id':'highlight-key-points','displayedPrompt':getTranslation$i(_0xc2e5e6,'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS'),'prompt':_0x3247cf['replace']('%0',_0x1964d7),'type':'CHAT'}]},{'id':'improve-writing','displayedPrompt':getTranslation$i(_0xc2e5e6,'AI_QUICK_ACTIONS_IMPROVE_WRITING'),'type':'ACTION','icon':ckeditor5['IconAIImproveWriting']},{'id':'continue','displayedPrompt':getTranslation$i(_0xc2e5e6,'AI_QUICK_ACTIONS_CONTINUE_WRITING'),'type':'ACTION','icon':ckeditor5['IconAIContinueWriting']},{'id':'fix-grammar','displayedPrompt':getTranslation$i(_0xc2e5e6,'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING'),'type':'ACTION','icon':ckeditor5['IconAIGrammarCheck']},{'id':'adjust-length','label':getTranslation$i(_0xc2e5e6,'AI_QUICK_ACTIONS_ADJUST_LENGTH'),'icon':ckeditor5['IconAIAdjustLength'],'actions':[{'id':'make-shorter','displayedPrompt':getTranslation$i(_0xc2e5e6,'AI_QUICK_ACTIONS_MAKE_SHORTER'),'type':'ACTION'},{'id':'make-longer','displayedPrompt':getTranslation$i(_0xc2e5e6,'AI_QUICK_ACTIONS_MAKE_LONGER'),'type':'ACTION'}]},{'id':'change-tone','label':getTranslation$i(_0xc2e5e6,'AI_QUICK_ACTIONS_CHANGE_TONE'),'icon':ckeditor5['IconAIChangeTone'],'actions':[{'id':'make-tone-casual','displayedPrompt':getTranslation$i(_0xc2e5e6,'AI_QUICK_ACTIONS_MORE_CASUAL'),'type':'ACTION'},{'id':'make-tone-direct','displayedPrompt':getTranslation$i(_0xc2e5e6,'AI_QUICK_ACTIONS_MORE_DIRECT'),'type':'ACTION'},{'id':'make-tone-friendly','displayedPrompt':getTranslation$i(_0xc2e5e6,'AI_QUICK_ACTIONS_MORE_FRIENDLY'),'type':'ACTION'},{'id':'make-tone-confident','displayedPrompt':getTranslation$i(_0xc2e5e6,'AI_QUICK_ACTIONS_MORE_CONFIDENT'),'type':'ACTION'},{'id':'make-tone-professional','displayedPrompt':getTranslation$i(_0xc2e5e6,'AI_QUICK_ACTIONS_MORE_PROFESSIONAL'),'type':'ACTION'}]},{'id':'translate','label':getTranslation$i(_0xc2e5e6,'AI_QUICK_ACTIONS_TRANSLATE'),'icon':ckeditor5['IconAITranslate'],'actions':[{'id':'translate-to-english','displayedPrompt':getTranslation$i(_0xc2e5e6,'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH'),'type':'ACTION','actionName':'translate','args':{'language':'english'}},{'id':'translate-to-chinese','displayedPrompt':getTranslation$i(_0xc2e5e6,'AI_QUICK_ACTIONS_TRANSLATE_CHINESE'),'type':'ACTION','actionName':'translate','args':{'language':'chinese'}},{'id':'translate-to-spanish','displayedPrompt':getTranslation$i(_0xc2e5e6,'AI_QUICK_ACTIONS_TRANSLATE_SPANISH'),'type':'ACTION','actionName':'translate','args':{'language':'spanish'}},{'id':'translate-to-german','displayedPrompt':getTranslation$i(_0xc2e5e6,'AI_QUICK_ACTIONS_TRANSLATE_GERMAN'),'type':'ACTION','actionName':'translate','args':{'language':'german'}},{'id':'translate-to-french','displayedPrompt':getTranslation$i(_0xc2e5e6,'AI_QUICK_ACTIONS_TRANSLATE_FRENCH'),'type':'ACTION','actionName':'translate','args':{'language':'french'}},{'id':'translate-to-japanese','displayedPrompt':getTranslation$i(_0xc2e5e6,'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE'),'type':'ACTION','actionName':'translate','args':{'language':'japanese'}},{'id':'translate-to-portuguese','displayedPrompt':getTranslation$i(_0xc2e5e6,'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE'),'type':'ACTION','actionName':'translate','args':{'language':'portuguese'}},{'id':'translate-to-korean','displayedPrompt':getTranslation$i(_0xc2e5e6,'AI_QUICK_ACTIONS_TRANSLATE_KOREAN'),'type':'ACTION','actionName':'translate','args':{'language':'korean'}},{'id':'translate-to-italian','displayedPrompt':getTranslation$i(_0xc2e5e6,'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN'),'type':'ACTION','actionName':'translate','args':{'language':'italian'}},{'id':'translate-to-russian','displayedPrompt':getTranslation$i(_0xc2e5e6,'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN'),'type':'ACTION','actionName':'translate','args':{'language':'russian'}}]},{'id':'other','label':getTranslation$i(_0xc2e5e6,'AI_QUICK_ACTIONS_OTHER'),'icon':ckeditor5['IconAIOther'],'actions':[]}];}class AIQuickActionsCommand extends ckeditor5['Command']{['execute'](_0x7a8b33){switch(this['_expandSelectionIfCollapsed'](),_0x7a8b33['type']){case AIQuickActionType['CHAT']:if(!this['editor']['plugins']['has']('AIChat')){const _0x1108c7=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':_0x1108c7});}this['_handleAIChatAction'](_0x7a8b33);break;case AIQuickActionType['ACTION']:if(!this['editor']['plugins']['has']('AIActions')){const _0x5b57a1=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':_0x5b57a1});}this['_handleAIActionsAction'](_0x7a8b33);break;case AIQuickActionType['REVIEW']:if(!this['editor']['plugins']['has']('AIReviewMode')){const _0x388996=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':_0x388996});}this['_handleAIReviewAction'](_0x7a8b33);}}async['_handleAIChatAction'](_0xe938d8){const _0x107419=this['editor']['plugins']['get']('AIChat'),_0x418cf5=this['editor']['plugins']['get']('AIChatController'),_0x44690a=this['editor']['plugins']['get']('AITabs')['view'];if(_0x44690a['isVisible']||(_0x44690a['isVisible']=!0x0),'chat'!==_0x44690a['activeTab']&&_0x44690a['activateTab']('chat'),'ask-ai'===_0xe938d8['id'])_0x418cf5['removeSelectionFromChatContext'](),await _0x107419['addSelectionToChatContext'](),_0x107419['focusPromptInput']();else await _0x107419['startConversation'](),_0x418cf5['removeSelectionFromChatContext'](),await _0x107419['addSelectionToChatContext'](),_0x107419['focusPromptInput'](),await _0x107419['sendMessage']({'message':_0xe938d8['prompt']||_0xe938d8['displayedPrompt'],'attributes':{'quickActionData':{'id':_0xe938d8['id']},'displayedPrompt':_0xe938d8['displayedPrompt']}});}['_expandSelectionIfCollapsed'](){const _0x388944=this['editor'],_0x3579b8=_0x388944['model']['document']['selection'];if(!_0x3579b8['isCollapsed'])return;const _0x51cbdc=ckeditor5['first'](_0x3579b8['getSelectedBlocks']())||_0x388944['model']['schema']['getLimitElement'](_0x3579b8);_0x388944['model']['change'](_0x327efa=>{_0x327efa['setSelection'](_0x51cbdc,'in');});}['_handleAIActionsActionLabel'](_0x38d0f9){return _0x38d0f9['parent']?.['label']&&'other'!==_0x38d0f9['parent']?.['id']?_0x38d0f9['parent']['label']+':\x20'+_0x38d0f9['displayedPrompt']:_0x38d0f9['displayedPrompt'];}async['_handleAIActionsAction'](_0x4c47a5){const _0x5b47a9=this['editor']['plugins']['get']('AIActions'),_0x117257=_0x4c47a5['prompt']?{'userMessage':_0x4c47a5['prompt'],'model':_0x4c47a5['model']}:{'actionName':_0x4c47a5['actionName']||_0x4c47a5['id'],'args':_0x4c47a5['args']},_0x103e86=this['_handleAIActionsActionLabel'](_0x4c47a5);await _0x5b47a9['executeAction'](_0x117257,_0x103e86,_0x4c47a5['icon']);}async['_handleAIReviewAction'](_0x44143d){console['log']('handleAIReviewAction',_0x44143d);}}class AIQuickActionsEditing extends ckeditor5['Plugin']{static get['pluginName'](){return'AIQuickActionsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x238ecd=this['editor'],_0x3f992d=new AIQuickActionsCommand(this['editor']);if(_0x238ecd['commands']['add']('aiQuickAction',_0x3f992d),_0x238ecd['plugins']['has']('AIChat')){const _0x49c960=this['editor']['plugins']['get']('AIChat');_0x238ecd['model']['document']['selection']['on']('change:range',(_0x1666a2,_0x5d8574)=>{_0x5d8574['directChange']&&_0x49c960['removeSelectionFromChatContext']();});}}}class AIActionsReply extends _0x3e5fd6{['updateChangeGroups'](){if(this['parsedMergedContent']=this['parsedContent']['cloneNode'](!0x0),0x0==this['parsedMergedContent']['childNodes']['length'])return void(this['changeGroups']=[]);const _0x4f8539=_0x4e97eb(this['documentContextContent']['children']['map'](_0x2fbf82=>({'node':_0x2fbf82,'id':getAttribute(_0x2fbf82,'data-id')})),this['parsedMergedContent']['children']['map'](_0x5d7b8a=>({'node':_0x5d7b8a,'id':getAttribute(_0x5d7b8a,'data-id')||ckeditor5['uid']()})),{'comparator':(_0x394641,_0xfee0f2)=>_0x394641['id']==_0xfee0f2['id'],'oneChangePerToken':!0x0});if(!this['isDone']){for(;_0x4f8539['length']&&_0x4f8539[_0x4f8539['length']-0x1]['removed'];)_0x4f8539['pop']();}const _0x57d89b=_0x4f8539['map'](_0x15b7be=>{const _0x380798=_0x15b7be['added']?'new':_0x15b7be['removed']?'removed':'modified';return{'node':_0x15b7be['value'][0x0]['node'],'type':_0x380798,'id':_0x15b7be['value'][0x0]['id']};});this['changeGroups']=[{'changes':_0x57d89b,'state':'pending','index':0x0}];}['_getDifferentChangeGroups'](_0x5731da,_0x1c8def){return _0x1c8def;}}class AIActionsInteraction extends AIInteraction{['content'];['version'];['actionName'];['args'];['userMessage'];['model'];['hasError']=!0x1;constructor(_0x53ca6b){super(_0x53ca6b),this['content']=_0x53ca6b['content'],this['version']=_0x53ca6b['version'],this['actionName']=_0x53ca6b['actionName'],this['args']=_0x53ca6b['args'],this['userMessage']=_0x53ca6b['userMessage'],this['model']=_0x53ca6b['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'](_0x85d656){const _0x5bb03d=new AIActionsReply({'editor':this['editor'],'documentContextContent':this['content'],..._0x85d656});return this['replies']['push'](_0x5bb03d),_0x5bb03d['delegate'](..._0xc9d7b9)['to'](this),this['fire']('replyCreated',_0x5bb03d),_0x5bb03d;}}class AIActionsBalloonToolbarView extends ckeditor5['ToolbarView']{constructor(_0x25c879,_0x2ff72b=!0x0,_0x13c44c=!0x0){super(_0x25c879),this['set']('isEnabled',!0x1),_0x2ff72b&&(this['applyButton']=this['_createButton'](getTranslation$i(_0x25c879,'AI_BALLOON_APPLY_BUTTON'),'ck-ai-button-primary'),this['applyButton']['bind']('isEnabled')['to'](this),this['items']['add'](this['applyButton'])),_0x13c44c&&(this['suggestButton']=this['_createButton'](getTranslation$i(_0x25c879,'AI_BALLOON_SUGGEST_BUTTON'),_0x2ff72b?'ck-ai-button-secondary':'ck-ai-button-primary'),this['suggestButton']['bind']('isEnabled')['to'](this),this['items']['add'](this['suggestButton'])),this['setButtonsVisibility']({'showApplyButton':_0x2ff72b,'showSuggestButton':_0x13c44c}),this['extendTemplate']({'attributes':{'class':['ck-ai-balloon__toolbar']}});}['setButtonsVisibility']({showApplyButton:_0x2f3319,showSuggestButton:_0x24a365}){this['applyButton']&&(this['applyButton']['isVisible']=_0x2f3319),this['suggestButton']&&(this['suggestButton']['isVisible']=_0x24a365);}['_createButton'](_0x173c25,_0x3ab9ce){const _0x3b4bc5=new ckeditor5['ButtonView'](this['locale']);return _0x3b4bc5['set']({'label':_0x173c25,'class':_0x3ab9ce,'isVisible':!0x0,'withText':!0x0}),_0x3b4bc5;}}class AIActionsBalloonDisclaimerView extends ckeditor5['View']{constructor(_0x33363e){super(_0x33363e),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(_0x33363e,'AI_DISCLAIMER_TEXT')}]}]});}}class AISuggestionLoaderView extends ckeditor5['View']{constructor(_0x1e6e93){super(_0x1e6e93),this['set']('isVisible',!0x0);const _0x5a9f1d=new _0x3407ba('small');_0x5a9f1d['isVisible']=!0x0;const _0x355c7a=new ckeditor5['View'](this['locale']);_0x355c7a['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',_0x4ee68a=>!_0x4ee68a)]},'children':[_0x5a9f1d,_0x355c7a]});}}class AIActionsBalloonView extends _0x4c7a3b{['focusCycler'];['_config'];['_contentWrapper'];['_streamableContentView'];['_toolbarView'];['_miniToolbarView'];['_loaderView'];['_disclaimerView'];['_focusTracker'];['_keystrokes'];['_dialogContent'];['_focusables'];['_scrollManager'];['_navigationPreviousButton'];['_navigationNextButton'];['_navigationTryAgainButton'];['_navigationCounter'];constructor(_0x366c2e,_0xb55f23){super(_0x366c2e),this['set']('isBusy',!0x1),this['set']('isTrackChangesOn',!0x1),this['set']('_isLoading',!0x1),this['set']('_hasError',!0x1),this['_config']=_0xb55f23,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'](_0xb55f23),this['_addDisclaimerView'](),this['_addToolbar'](_0xb55f23),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'](_0xb55f23);});}['render'](){super['render']();for(const _0x3fcf0f of this['_focusables'])this['_focusTracker']['add'](_0x3fcf0f['element']);this['_keystrokes']['listenTo'](this['element']),this['_initializeScrollManager']();}['destroy'](){super['destroy'](),this['_scrollManager']&&this['_scrollManager']['destroy']();}['focus'](_0x353114){-0x1===_0x353114?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['setIsLoading'](_0x372716){this['_isLoading']=_0x372716;}['setErrorState'](){this['_hasError']=!0x0,this['_miniToolbarView']['toggleShowChangesEnabled'](!0x1);}['clearErrorState'](){this['_hasError']=!0x1,this['_miniToolbarView']['toggleShowChangesEnabled'](!0x0);}['showError'](_0x283119){super['showError'](_0x283119),this['_dialogContent']['has'](this['_errorView'])||this['_dialogContent']['add'](this['_errorView'],0x0);}['hideError'](){super['hideError'](),this['clearErrorState']();}['showBlockingError'](_0x382ed0){super['showBlockingError'](_0x382ed0),this['setErrorState']();}['addMiniToolbarItem'](_0x2738ad){this['_miniToolbarView']['items']['has'](_0x2738ad)||this['_miniToolbarView']['items']['add'](_0x2738ad);}['removeMiniToolbarItem'](_0x557448){this['_miniToolbarView']['items']['has'](_0x557448)&&this['_miniToolbarView']['items']['remove'](_0x557448);}['showLoader'](){this['_loaderView']&&(this['_isLoading']=!0x0);}['hideLoader'](){this['_loaderView']&&(this['_isLoading']=!0x1);}['_toggleToolbarButtonsVisibility']({showApplyButton:_0x43462e,showSuggestButton:_0x4061a3}){_0x43462e=_0x43462e&&!this['isTrackChangesOn']&&this['_config']['availableActions']['includes']('applySuggestion'),_0x4061a3=_0x4061a3&&this['_config']['availableActions']['includes']('insertSuggestion'),this['_toolbarView']['setButtonsVisibility']({'showApplyButton':_0x43462e,'showSuggestButton':_0x4061a3});}async['updateContent'](_0xf22777){await this['_streamableContentView']['update'](_0xf22777);}['clearContent'](){this['_streamableContentView']['clear']();}['_addContentWrapper'](_0x390780){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'](_0x390780['miniToolbarConfig'])]}),this['_dialogContent']['add'](this['_contentWrapper']);}['_addDisclaimerView'](){this['_disclaimerView']=new AIActionsBalloonDisclaimerView(this['locale']),this['_dialogContent']['add'](this['_disclaimerView']);}['_addToolbar']({showApplyButton:_0x47b94e,showSuggestButton:_0x325547}){this['_toolbarView']=new AIActionsBalloonToolbarView(this['locale'],_0x47b94e,_0x325547),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',(_0x5a0dbe,_0x3f49b2,_0x473f0a)=>!(_0x5a0dbe||_0x3f49b2||_0x473f0a)),this['_toggleToolbarButtonsVisibility']({'showApplyButton':_0x47b94e,'showSuggestButton':_0x325547}),this['_dialogContent']['add'](this['_toolbarView']);}['_createMiniToolbar'](_0x37577c){return this['_miniToolbarView']=new _0x25b8ff(this['locale'],_0x37577c),this['_miniToolbarView']['delegate'](..._0x2a7ac2)['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',(_0x36238e,_0x338714)=>!(_0x36238e||_0x338714)),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 _0x5e6437=new ckeditor5['ButtonView'](this['locale']),_0x494358=new ckeditor5['ButtonView'](this['locale']),_0x555d60=new AIActionsBalloonNavigationCounterView(this['locale']),_0x3c9b8c=new ckeditor5['ButtonView'](this['locale']);_0x5e6437['set']({'icon':ckeditor5['IconRefresh'],'label':getTranslation$i(this['locale'],'AI_ACTIONS_TRY_AGAIN'),'tooltip':!0x0,'class':'ck-ai-custom-action-button'}),_0x494358['set']({'icon':ckeditor5['IconPreviousArrow'],'tooltip':getTranslation$i(this['locale'],'AI_ACTIONS_PREVIOUS_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-previous-button'}),_0x3c9b8c['set']({'icon':ckeditor5['IconNextArrow'],'tooltip':getTranslation$i(this['locale'],'AI_ACTIONS_NEXT_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-next-button'}),_0x5e6437['bind']('isEnabled')['to'](this,'isBusy',_0xb01999=>!_0xb01999),_0x5e6437['on']('execute',()=>{this['fire']('tryAgain');}),_0x494358['bind']('isEnabled')['to'](this,'isBusy',_0x31d642=>!_0x31d642),_0x494358['on']('execute',()=>{this['fire']('showPrevious');}),_0x3c9b8c['bind']('isEnabled')['to'](this,'isBusy',_0x2a7e71=>!_0x2a7e71),_0x3c9b8c['on']('execute',()=>{this['fire']('showNext');}),this['_navigationPreviousButton']=_0x494358,this['_navigationCounter']=_0x555d60,this['_navigationNextButton']=_0x3c9b8c,this['_navigationTryAgainButton']=_0x5e6437;}['updateMiniToolbarButtons'](_0x329903,_0x3f7468){this['_navigationPreviousButton']||this['_setupMiniToolbarButtons']();const _0xaaf612=_0x329903>0x1;if(this['addMiniToolbarItem'](this['_navigationTryAgainButton']),_0xaaf612){this['addMiniToolbarItem'](this['_navigationPreviousButton']),this['addMiniToolbarItem'](this['_navigationCounter']),this['addMiniToolbarItem'](this['_navigationNextButton']);const _0x92ab9c=_0x329903-_0x3f7468;this['_navigationCounter']['setInteractionCount'](_0x92ab9c+'/'+_0x329903),this['_navigationPreviousButton']['isEnabled']=_0x3f7468<_0x329903-0x1,this['_navigationNextButton']['isEnabled']=_0x3f7468>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'](_0x5226d0){this['_isLoading']=_0x5226d0;}['resetShowChangesButton'](){this['_miniToolbarView']['isShowChangesOn']=!0x1;}['_initializeScrollManager'](){const _0x4a36c7=this['_getScrollableElement']();_0x4a36c7&&!this['_scrollManager']&&(this['_scrollManager']=new _0x5009b3(_0x4a36c7));}['_getScrollableElement'](){return this['_streamableContentView']['element'];}}class AIActionsBalloonNavigationCounterView extends ckeditor5['View']{constructor(_0x465f26){super(_0x465f26);const _0x341e45=this['bindTemplate'];this['set']('interactionCount','1/1'),this['setTemplate']({'tag':'span','attributes':{'class':['ck-ai-interaction-counter']},'children':[{'text':_0x341e45['to']('interactionCount')}]});}['setInteractionCount'](_0x498d0c){this['set']('interactionCount',_0x498d0c);}}class AIActions extends ckeditor5['Plugin']{static get['requires'](){return[AIConnector,ckeditor5['Dialog'],AIEditing,_0x5c0dbe,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(_0x3c79be){super(_0x3c79be),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 _0xa88b31();}['stopInteraction'](){this['_stopInteraction']();}async['executeAction'](_0x44720d,_0xa91916,_0x2e0ae4){if(this['_stopInteraction'](),this['editor']['plugins']['has']('TableSelection')){if(this['editor']['plugins']['get']('TableSelection')['getSelectedTableCells']()){const {modelFragment:_0x149926,anchorData:_0x33513a}=this['_getExecuteDataInTable']();return this['_executeAction'](_0x44720d,_0x149926,_0x33513a,_0xa91916,_0x2e0ae4);}}const {modelFragment:_0x160161,anchorData:_0x3a251c}=this['_getExecuteDataRegular']();return this['_executeAction'](_0x44720d,_0x160161,_0x3a251c,_0xa91916,_0x2e0ae4);}async['destroy'](){return this['_stopInteraction'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}['_createActionsBalloonView'](){const _0x461ba7=this['editor']['plugins']['has']('TrackChanges');let _0x2d72d2=this['editor']['config']['get']('ai.availableReplyActions')||[..._0x1eec8f];_0x461ba7||(_0x2d72d2=_0x2d72d2['filter'](_0x222e6e=>'insertSuggestion'!=_0x222e6e));const _0x2318a9=this['editor']['commands']['get']('trackChanges'),_0x1b7905=new AIActionsBalloonView(this['editor']['locale'],{'showApplyButton':!0x0,'showSuggestButton':_0x461ba7,'miniToolbarConfig':{'showChanges':'icon'},'availableActions':_0x2d72d2});return _0x1b7905['bind']('isBusy')['to'](this),_0x2318a9&&_0x1b7905['bind']('isTrackChangesOn')['to'](_0x2318a9,'value'),_0x1b7905['on']('tryAgain',()=>{this['_refreshInteraction']();}),_0x1b7905['on']('showPrevious',()=>{this['_navigateToPrevious']();}),_0x1b7905['on']('showNext',()=>{this['_navigateToNext']();}),_0x1b7905;}['_getExecuteDataRegular'](){const _0x5798ff=this['editor']['model']['document']['selection'];if(_0x5798ff['isCollapsed']){const _0x43ec64=ckeditor5['first'](_0x5798ff['getSelectedBlocks']())||this['editor']['model']['schema']['getLimitElement'](_0x5798ff);this['editor']['model']['change'](_0x4fb22e=>{_0x4fb22e['setSelection'](_0x43ec64,'in');});}const _0x5d155a=_0x5798ff['getFirstRange'](),_0x5651ed=this['_wrapWithCommonAncestors'](this['editor']['model']['getSelectedContent'](_0x5798ff),_0x5d155a['start'],_0x5d155a['end']);this['_copyMarkersToFragment'](_0x5651ed,_0x5798ff,{'isTableSelection':!0x1});const _0x5b4a1d=_0x5798ff['getFirstRange']()['start'],_0x3cdae6=new Map();let _0x43a448=_0x5651ed;for(let _0x534eaf=0x0;_0x534eaf<_0x5b4a1d['path']['length'];_0x534eaf++)_0x3cdae6['set'](_0x43a448,_0x5b4a1d['path'][_0x534eaf]),_0x43a448=_0x43a448['getChild'](0x0);return{'modelFragment':_0x5651ed,'anchorData':_0x3cdae6};}['_getExecuteDataInTable'](){const _0x203b21=this['editor']['model']['document']['selection'],_0x197a3f=this['editor']['plugins']['get']('TableSelection')['getSelectionAsFragment'](),_0x2e610f=_0x203b21['getFirstRange']()['start']['parent']['parent'],_0x37cd0f=this['editor']['model']['createRange'](this['editor']['model']['createPositionBefore'](_0x2e610f),this['editor']['model']['createPositionAfter'](_0x2e610f)),_0x473205=this['_wrapWithCommonAncestors'](_0x197a3f,_0x37cd0f['start'],_0x37cd0f['end']);this['_copyMarkersToFragment'](_0x473205,_0x203b21,{'isTableSelection':!0x0});const _0x276562=_0x203b21['getFirstRange']()['start'],_0x138cb2=new Map();let _0x4c59a8=_0x473205;for(let _0x5366a2=0x0;_0x5366a2<_0x276562['path']['length'];_0x5366a2++)if(_0x138cb2['set'](_0x4c59a8,_0x276562['path'][_0x5366a2]),_0x5366a2<_0x276562['path']['length']-0x1)_0x4c59a8=_0x4c59a8['getChild'](0x0);else{let _0x1abb61=_0x4c59a8['nextSibling'];for(;_0x1abb61;)_0x138cb2['set'](_0x1abb61,_0x276562['path'][_0x5366a2]),_0x1abb61=_0x1abb61['nextSibling'];}return{'modelFragment':_0x473205,'anchorData':_0x138cb2};}async['_executeAction'](_0x3958d8,_0x2239ce,_0xd45509,_0x201f48,_0x5e7830){const _0x47372b=this['editor']['plugins']['get'](AIEditing),_0x321d31=this['editor']['plugins']['get'](_0x5c0dbe),_0x447f4a=this['editor']['model']['document']['selection'],_0xbade58=await _0x47372b['modelToDataWithIds'](_0x2239ce),_0x413f60=this['editor']['model']['document']['version'],_0x5ded31=[..._0x447f4a['getRanges']()];return this['_actionsBalloonView']||(this['_actionsBalloonView']=this['_createActionsBalloonView']()),this['_clearInteractionHistory'](),this['_clearErrorState'](),this['_actionsBalloonView']['clearContent'](),_0x321d31['open']({'index':0x3e8*Math['random']()%0x3e8,'title':_0x201f48,'icon':_0x5e7830||ckeditor5['IconAIQuickActions'],'mainView':this['_actionsBalloonView'],'class':'ck-ai-actions-balloon','ranges':_0x5ded31,'id':'aiActionsBalloon'}),this['_setLoadingState'](),this['stopListening'](this['_actionsBalloonView']),this['stopListening'](_0x321d31),this['_interactionParams']={'action':_0x3958d8,'content':_0xbade58,'version':_0x413f60,'aiBalloon':_0x321d31,'modelFragment':_0x2239ce,'anchorData':_0xd45509},this['_setupApplyListeners'](),this['listenTo'](_0x321d31,'selectionRemoved',()=>{this['_stopInteraction'](),this['_actionsBalloonView']['disableMiniToolbarButtons']();}),this['listenTo'](_0x321d31,'dialogClosed',(_0x51a80d,{id:_0x80b80a})=>{if('aiActionsBalloon'===_0x80b80a){if(this['_interaction']&&this['_interaction']['replies']['length']>0x0){const _0x4520=this['_interaction']['replies'][this['_interaction']['replies']['length']-0x1],_0x37f860=_0x4520['changeGroups'][0x0];_0x37f860&&'pending'===_0x37f860['state']&&_0x4520['setChangeGroupState'](0x0,'rejected');}this['_stopInteraction'](),this['_clearInteractionHistory'](),this['stopListening'](this['_actionsBalloonView']),this['stopListening'](_0x321d31);}}),this['_createInteraction'](_0xbade58,_0x413f60,_0x321d31,_0x3958d8);}['_setupApplyListeners'](){if(!this['_interactionParams'])return;const {modelFragment:_0x22f00d,anchorData:_0x3ec3d9}=this['_interactionParams'];this['listenTo'](this['_actionsBalloonView'],'applySuggestion',()=>{this['_applyChanges'](_0x22f00d,_0x3ec3d9,!0x1);}),this['listenTo'](this['_actionsBalloonView'],'insertSuggestion',()=>{this['_applyChanges'](_0x22f00d,_0x3ec3d9,!0x0);});}['_wrapWithCommonAncestors'](_0x413fcb,_0x627faa,_0x47045e){const _0x27972b=this['editor']['model']['createRange'](_0x627faa,_0x47045e)['getCommonAncestor'](),_0x46d22c=_0x27972b['is']('documentFragment')?[]:_0x27972b['getAncestors']({'includeSelf':!0x0})['slice'](0x1);if(_0x46d22c['length']){const _0x4af29f=_0x46d22c['map'](_0x598c61=>_0x598c61['_clone'](!0x1));for(let _0x969dda=0x1;_0x969dda<_0x4af29f['length'];_0x969dda++)_0x4af29f[_0x969dda-0x1]['_appendChild'](_0x4af29f[_0x969dda]);return _0x4af29f[_0x4af29f['length']-0x1]['_appendChild'](_0x413fcb),new ckeditor5['ModelDocumentFragment'](_0x4af29f[0x0]);}return _0x413fcb;}['_copyMarkersToFragment'](_0x1d0c9f,_0x27a3c7,_0x1bfcf5={'isTableSelection':!0x1}){const _0x58f268=this['editor']['model'],_0x2d3679=Array['from'](_0x27a3c7['getRanges']()),_0xa470b0=_0x27a3c7['getFirstRange']()['start'];for(const _0x940a8f of _0x58f268['markers']){if(_0x940a8f['name']['startsWith'](_0x1385ef)||!_0x940a8f['affectsData'])continue;const _0x45fd9b=_0x940a8f['getRange']();if(!_0x2d3679['some'](_0xa883d9=>_0xa883d9['containsRange'](_0x45fd9b,!0x0)))continue;const _0x193cdb=this['_regularCalculateMarkerPath'](_0x45fd9b['start'],_0xa470b0,_0x1bfcf5['isTableSelection']),_0x376a4e=this['_regularCalculateMarkerPath'](_0x45fd9b['end'],_0xa470b0,_0x1bfcf5['isTableSelection']),_0x38bb8e=_0x58f268['createPositionFromPath'](_0x1d0c9f,_0x193cdb),_0x353b5d=_0x58f268['createPositionFromPath'](_0x1d0c9f,_0x376a4e);if(!_0x38bb8e['isEqual'](_0x353b5d)){const _0x4c7b7b=_0x58f268['createRange'](_0x38bb8e,_0x353b5d);_0x1d0c9f['markers']['set'](_0x940a8f['name'],_0x4c7b7b);}}}['_regularCalculateMarkerPath'](_0xa0964c,_0x6dae41,_0x533d40=!0x1){const _0x5dbdf0=[..._0xa0964c['path']['slice']()];for(let _0x18eb9e=0x0;_0x18eb9e<Math['max'](_0x6dae41['path']['length'],_0xa0964c['path']['length']);_0x18eb9e++){const _0x8203d4=_0x6dae41['path'][_0x18eb9e]||0x0,_0x1d15ec=(_0xa0964c['path'][_0x18eb9e]||0x0)-_0x8203d4;if(_0x5dbdf0[_0x18eb9e]=_0x1d15ec,0x0!==_0x1d15ec&&!_0x533d40)break;}return _0x5dbdf0;}async['_createInteraction'](_0x5210fe,_0x33a8ad,_0x3af844,_0x24f4f8){const _0x2e2ffc=this['editor'];this['_interactionParams']||(this['_interactionParams']={'action':_0x24f4f8,'content':_0x5210fe,'version':_0x33a8ad,'aiBalloon':_0x3af844,'modelFragment':this['editor']['model']['getSelectedContent'](this['editor']['model']['document']['selection']),'anchorData':new Map()});const _0x2cd66f=new AIActionsInteraction({'connector':this['_aiConnector'],'editor':_0x2e2ffc,'content':_0x5210fe,'version':_0x33a8ad,..._0x24f4f8});this['_interactions']['push'](_0x2cd66f);const _0x7ed212=(_0x54d440,_0x570299=!0x1,_0x45f952='streaming')=>this['_promiseQueue']['enqueue'](async _0x18edf3=>{try{const _0x40a73b=getSuggestionPartsFromReply({'editor':_0x2e2ffc,'changeGroups':_0x54d440['changeGroups'],'documentContextContent':_0x54d440['documentContextContent'],'showDiff':_0x570299,'trimUnchanged':!0x1});_0x40a73b['length']&&await this['_actionsBalloonView']['updateContent']({'part':_0x40a73b[0x0],'renderingStrategy':_0x45f952,'abortSignal':_0x18edf3});}catch(_0x522f14){if(this['_isAbortError'](_0x522f14))return;throw _0x522f14;}});this['_interaction']['on']('replyCreated',(_0x183780,_0x5e6193)=>{this['_actionsBalloonView']['hideLoader'](),this['_actionsBalloonView']['startAutoScroll'](),_0x7ed212(_0x5e6193)['catch'](_0x382d87=>{this['_isAbortError'](_0x382d87)||(console['error']('Error\x20updating\x20content\x20in\x20replyCreated:',_0x382d87),this['_setErrorState'](_0x2cd66f));});}),this['_interaction']['on']('replyContentUpdated',(_0x19a13b,_0xaaffb4)=>{_0x7ed212(_0xaaffb4)['catch'](_0x33d626=>{this['_isAbortError'](_0x33d626)||(console['error']('Error\x20updating\x20content\x20in\x20replyContentUpdated:',_0x33d626),this['_setErrorState'](_0x2cd66f));});}),this['_interaction']['on']('interactionFinished',async()=>{try{await this['_clearLoadingState'](),this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),await this['_promiseQueue']['queueEmptyPromise'];}catch(_0xbb7e9){this['_isAbortError'](_0xbb7e9)||(console['error']('Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:',_0xbb7e9),this['_setErrorState'](_0x2cd66f));}finally{this['_actionsBalloonView']['stopAutoScroll']();}}),this['listenTo'](this['_actionsBalloonView'],'toggleSuggestionDisplayMode',async(_0x4b7587,{showDiff:_0x176e3b})=>{try{this['_balloonShowDiff']=_0x176e3b;const _0x2f2304=this['_interaction']['replies'][this['_interaction']['replies']['length']-0x1];_0x2f2304&&await _0x7ed212(_0x2f2304,_0x176e3b,'static');}catch(_0x18bb69){this['_isAbortError'](_0x18bb69)||(console['error']('Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:',_0x18bb69),this['_setErrorState'](_0x2cd66f));}}),this['_interaction']['on']('replyChangeGroupStateUpdated',(_0x43432e,{reply:_0x4cae4f})=>{const _0x5e9d1f={'positiveCount':_0x4cae4f['changeGroups']['filter'](_0x24ebb3=>'accepted'===_0x24ebb3['state'])['length'],'totalCount':_0x4cae4f['changeGroups']['length']},_0x360919=this['_interaction']['actionCallId'],_0x3a7a63=this['_interaction']['actionName'];_0x3a7a63?this['_aiConnector']['upsertAIActionRating'](_0x3a7a63,_0x360919,_0x5e9d1f):this['_aiConnector']['upsertCustomAIActionRating'](_0x360919,_0x5e9d1f);}),this['_setLoadingState']();try{const _0x17459f=await this['_interaction']['start']();return this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),_0x17459f;}catch(_0x37e1c7){if(this['_isAbortError'](_0x37e1c7))return;this['_actionsBalloonView']['hideLoader'](),this['_setErrorState'](_0x2cd66f);}}['_applyChanges'](_0x44fb97,_0x5d6f81,_0x56f27c){const _0x1d3ea9=this['editor'];if(_0x56f27c&&!_0x1d3ea9['plugins']['has']('TrackChanges'))throw new ckeditor5['CKEditorError']('ai-no-track-changes',null);const _0x58bd33=this['editor']['plugins']['get'](DocumentCompare),_0x128f6b=this['_interactions'][this['_interactions']['length']-0x1-this['_currentInteractionIndex']];if(!_0x128f6b||!_0x128f6b['replies']['length'])return;const _0x50b112=_0x128f6b['replies'][_0x128f6b['replies']['length']-0x1],_0xb8f740=_0x50b112['changeGroups'];_0x50b112['setChangeGroupState'](0x0,'accepted');let _0x476ba4=getOperationsFromReply({'editor':_0x1d3ea9,'reply':_0x50b112,'interaction':_0x128f6b,'groups':_0xb8f740,'transform':!0x1,'documentCompare':_0x58bd33,'documentCompareOptions':{'anchor':_0x1d3ea9['model']['createPositionAt'](_0x44fb97,0x0),'markDeletions':_0x56f27c}});_0x476ba4=this['_filterOperationsOutsideRange'](_0x476ba4,_0x5d6f81);for(const _0x440915 of _0x476ba4)this['_anchorOperation'](_0x5d6f81,_0x440915,_0x1d3ea9['model']['document']['getRoot']());const _0x368b4b=_0x128f6b['getDocumentContext']()['version'],_0x2ca90f=_0x1d3ea9['model']['document']['history']['getOperations'](_0x368b4b),_0x4ae644={'document':_0x1d3ea9['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1},_0x53d997=ckeditor5['transformOperationSets'](_0x476ba4,_0x2ca90f,_0x4ae644)['operationsA'];_0x1d3ea9['model']['change'](_0x45ca35=>{if(_0x45ca35['setSelection'](_0x1d3ea9['model']['document']['selection']['focus']),_0x56f27c)_0x1d3ea9['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x53d997);else{for(const _0x29ac37 of _0x53d997)_0x29ac37['baseVersion']=_0x1d3ea9['model']['document']['version'],fixMarkerOperationOldRange(_0x1d3ea9,_0x29ac37),_0x45ca35['batch']['addOperation'](_0x29ac37),_0x1d3ea9['model']['applyOperation'](_0x29ac37);}}),this['editor']['plugins']['get']('AIBalloon')['close']();}['_filterOperationsOutsideRange'](_0x3ca012,_0x4318ba){return _0x3ca012['filter'](_0x34d376=>{if('rename'==_0x34d376['type']){const _0x218525=_0x34d376['position']['nodeAfter'];return!_0x4318ba['has'](_0x218525);}if(_0x34d376['type']['indexOf']('Attribute')>-0x1){const _0x208244=_0x34d376['range']['start']['nodeAfter'];return!_0x4318ba['has'](_0x208244);}return!0x0;});}['_anchorOperation'](_0x4f11a4,_0xf4fd63,_0x915342){const _0x503e33=_0xf4fd63['clone']();for(const _0x3e0be8 in _0xf4fd63){const _0x42ab3f=_0xf4fd63[_0x3e0be8];_0x42ab3f instanceof ckeditor5['ModelRange']?_0xf4fd63[_0x3e0be8]=new ckeditor5['ModelRange'](_0xfce920(_0x42ab3f['start']),_0xfce920(_0x42ab3f['end'])):_0x42ab3f instanceof ckeditor5['ModelPosition']&&(_0xf4fd63[_0x3e0be8]=_0xfce920(_0x42ab3f));}if(['insert','move','remove','reinsert','split','merge']['includes'](_0x503e33['type'])){if(_0x503e33['isDocumentOperation']=!0x1,_0x503e33['baseVersion']=null,'remove'==_0x503e33['type']){const _0x4ea21c=_0x503e33['sourcePosition'],_0x407c63=_0x503e33['howMany'];new ckeditor5['_DetachOperation'](_0x4ea21c,_0x407c63)['_execute']();}else _0x503e33['_execute']();}function _0xfce920(_0x3eb518){if('$graveyard'==_0x3eb518['root']['rootName'])return _0x3eb518;const _0x6a199a=[];let _0x513051=_0x3eb518['root'];for(let _0x2a3fce=0x0;_0x2a3fce<_0x3eb518['path']['length'];_0x2a3fce++){const _0x575b73=_0x4f11a4['get'](_0x513051)||0x0;_0x6a199a[_0x2a3fce]=_0x3eb518['path'][_0x2a3fce]+_0x575b73,_0x513051=_0x513051['getChildAtOffset'](_0x3eb518['path'][_0x2a3fce]);}return new ckeditor5['ModelPosition'](_0x915342,_0x6a199a,_0x3eb518['stickiness']);}}['_refreshInteraction'](){if(!this['_interactionParams'])return;this['_interactions']['length']>0x0&&this['_stopInteraction'](),this['_currentInteractionIndex']=0x0,this['_balloonShowDiff']=!0x1;const {action:_0x54c484,content:_0x348f62,version:_0x548758,aiBalloon:_0x355fbc}=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'](_0x348f62,_0x548758,_0x355fbc,_0x54c484)['catch'](_0x8b544=>{this['_isAbortError'](_0x8b544)||console['error']('Error\x20refreshing\x20interaction:',_0x8b544);});}['_isAbortError'](_0x10e096){return!!_0x10e096['message']&&_0x10e096['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 _0x33a45c=this['_interactions']['length'];this['_currentInteractionIndex']<_0x33a45c-0x1&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']+0x1);}['_navigateToNext'](){this['_currentInteractionIndex']>0x0&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']-0x1);}async['_displayInteractionAtIndex'](_0x54e467){if(!this['_interactionParams'])return;this['_currentInteractionIndex']=_0x54e467;const _0x54eb8d=this['_interactions'][this['_interactions']['length']-0x1-this['_currentInteractionIndex']];if(!_0x54eb8d)return;if(_0x54eb8d['hasError'])return this['_setErrorState'](_0x54eb8d),void this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);if(!_0x54eb8d['replies']['length'])return;this['_actionsBalloonView']['hideError'](),this['_interactionParams']&&this['_clearErrorState']();const _0x107cdc=_0x54eb8d['replies'][_0x54eb8d['replies']['length']-0x1];if(_0x107cdc){const _0x574efe=this['editor'];try{const _0x53fb7e=getSuggestionPartsFromReply({'editor':_0x574efe,'changeGroups':_0x107cdc['changeGroups'],'documentContextContent':_0x107cdc['documentContextContent'],'showDiff':this['_balloonShowDiff'],'trimUnchanged':!0x1});await new Promise(_0x20ccee=>setTimeout(_0x20ccee,0x32)),await this['_actionsBalloonView']['updateContent']({'part':_0x53fb7e[0x0],'renderingStrategy':'static','abortSignal':new AbortController()['signal']});}catch(_0x1cc5cd){this['_isAbortError'](_0x1cc5cd)||console['error']('Error\x20updating\x20content\x20during\x20navigation:',_0x1cc5cd);}}this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);}['_setLoadingState'](){this['_actionsBalloonView']['setIsLoading'](!0x0),this['isBusy']=!0x0;}async['_setErrorState'](_0x338648){const _0x25f229=getTranslation$i(this['editor']['locale'],'AI_ACTIONS_GENERIC_ERROR');this['_actionsBalloonView']['showError'](_0x25f229),_0x338648['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(_0x5c9725){super(_0x5c9725),_0x5c9725['config']['define']('ai.quickActions',{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}class AIReviewCoreReviewCheckListItemResultsView extends ckeditor5['View']{['resultResponseView'];['acceptButtonView'];['dismissButtonView'];['infoButtonView'];['outdatedButtonView'];constructor(_0x416a76,_0x1e2d8a){super(_0x416a76),this['id']=_0x1e2d8a,this['set']('status','pending'),this['set']('changeId',_0x1e2d8a),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',(_0x2e0db6,_0x3cc062)=>{_0x3cc062&&_0x3cc062['target']&&'A'===_0x3cc062['target']['tagName']&&_0x3cc062['preventDefault'](),this['fire']('activateChange',{'id':_0x1e2d8a,'source':this,'uiInteraction':'click'});}),this['on']('mouseover',()=>{this['fire']('activateChange',{'id':_0x1e2d8a,'source':this,'uiInteraction':'hover'});}),this['on']('mouseout',()=>{this['fire']('deactivateChange',{'origin':'panel','id':_0x1e2d8a,'source':this});});}['setItemAsActive'](){this['isActive']=!0x0;}['setItemAsInactive'](){this['isActive']=!0x1;}['_createResultResponseView'](){const _0x1527e3=new ckeditor5['View'](this['locale']);return _0x1527e3['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',_0xca4d50=>!_0xca4d50)]}}),_0x1527e3;}['_createAcceptButtonView'](){const _0x6000ea=new ckeditor5['ButtonView'](this['locale']);return _0x6000ea['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_ACCEPT_CHANGE'),'withText':!0x0}),_0x6000ea['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x177c07=>{this['fire']('acceptChange',{'id':this['changeId']}),_0x177c07['stopPropagation']();})},'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-result-accept-button',this['bindTemplate']['if']('status','ck-hidden',_0x2fa9bb=>'pending'!==_0x2fa9bb&&'accepted'!==_0x2fa9bb),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-accept-button',_0x9ee0ff=>'pending'===_0x9ee0ff),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-status-button',_0x1bc9e0=>'accepted'===_0x1bc9e0)]}}),this['on']('change:status',(_0x45c4c3,_0x354094,_0x3f5719)=>{_0x6000ea['isEnabled']='pending'===_0x3f5719,'accepted'===_0x3f5719&&(_0x6000ea['label']=getTranslation$i(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED'),_0x6000ea['icon']=ckeditor5['IconCheck']);}),_0x6000ea;}['_createDismissButtonView'](){const _0x17efaa=new ckeditor5['ButtonView'](this['locale']);return _0x17efaa['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_DISMISS_CHANGE'),'withText':!0x0}),_0x17efaa['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x1f16ed=>{this['fire']('dismissChange',{'id':this['changeId']}),_0x1f16ed['stopPropagation']();})},'attributes':{'class':['ck-ai-button-tertiary',this['bindTemplate']['if']('status','ck-hidden',_0x2810d9=>'pending'!==_0x2810d9&&'rejected'!==_0x2810d9),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-dismiss-button',_0x5c4da0=>'pending'===_0x5c4da0),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-status-button',_0x2796e0=>'rejected'===_0x2796e0)]}}),this['on']('change:status',(_0x3137ec,_0x47a95b,_0x11f79e)=>{_0x17efaa['isEnabled']='pending'===_0x11f79e,'rejected'===_0x11f79e&&(_0x17efaa['label']=getTranslation$i(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_REJECTED'),_0x17efaa['icon']=ckeditor5['IconCancel']);}),_0x17efaa;}['_createInfoButtonView'](){const _0x155f8e=new ckeditor5['ButtonView'](this['locale']);return _0x155f8e['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'}),_0x155f8e['bind']('isOn')['to'](this,'isInfoToggleOn',_0x44dd9e=>_0x44dd9e),_0x155f8e['on']('execute',()=>{this['isInfoToggleOn']=!this['isInfoToggleOn'];}),_0x155f8e;}['_createOutdatedButtonView'](){const _0x175cb2=new ckeditor5['ButtonView'](this['locale']);return _0x175cb2['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_OUTDATED'),'icon':ckeditor5['IconOutdated'],'withText':!0x0,'isEnabled':!0x1}),_0x175cb2['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-result-status-button',this['bindTemplate']['if']('status','ck-hidden',_0x50b376=>'outdated'!==_0x50b376)],'disabled':'disabled'}}),_0x175cb2;}}class AIReviewCoreBalloonSuggestionItemView extends ckeditor5['BalloonPanelView']{['resultItemView'];['_pinnedRectIndex']=void 0x0;['_pinnedTargetElement']=void 0x0;['_pinnedTargetChangeId']=void 0x0;constructor(_0x287dfb,_0x508b58){super(_0x287dfb),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']()),_0x508b58['add'](this);}['render'](){super['render'](),this['_setupClickOutsideHandler']();}['updateContent'](_0x2d247b){this['resultItemView']['changeId']=_0x2d247b['id'],this['resultItemView']['resultResponseView']['element']['innerHTML']=_0x2d247b['contentDiffed'];}['showBalloon'](_0x42aa1e,_0x3ee749,_0x373c01,_0x5c3236,_0x1f5d42,_0x3c3cec){const _0x226e86=_0x3ee749();if(!_0x226e86)return;this['updateContent'](_0x42aa1e),this['show']();const _0x3f9286=Array['from'](_0x226e86['getClientRects']())['reverse'](),_0x429c23=this['_getPointedRectIndexFromEvent'](_0x373c01,_0x3f9286),_0x38b87f=_0x3f9286[_0x429c23??0x0];'click'===_0x5c3236?(this['isDiffActive']=!0x0,this['pin']({'target':()=>this['_getBestRectPositionOnClick'](_0x3ee749(),_0x429c23,_0x42aa1e['id'],_0x1f5d42,_0x3c3cec)||_0x38b87f})):'hover'===_0x5c3236&&(this['isDiffActive']=!0x1,this['pin']({'target':()=>this['_getBestRectPositionOnHover'](_0x3ee749(),_0x429c23,_0x42aa1e['id'])||_0x38b87f}));}['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 _0x165b2c=[this['element']];return this['_pinnedTargetElement']&&_0x165b2c['push'](this['_pinnedTargetElement']),_0x165b2c;},'callback':()=>{this['hide'](),this['unpin'](),this['deactivateChange'](),this['_pinnedTargetElement']=void 0x0,this['_pinnedRectIndex']=void 0x0,this['_pinnedTargetChangeId']=void 0x0;}});}['_createContentView'](){const _0xfd62d0=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),_0xfd62d0['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']]}]}),_0xfd62d0;}['_getBestRectPositionOnClick'](_0x217673,_0x20bcae,_0x4328fe,_0x3d7c38,_0x331489){if(!_0x217673)return null;const _0x11ca50=this['position']['replace']('arrow_',''),_0x3db99b=Array['from'](_0x217673['getClientRects']());let _0x2353fa,_0x1d2c21=_0x3db99b['reverse']();return void 0x0!==_0x20bcae&&this['_isPinnedRectVisible'](_0x1d2c21[_0x20bcae],_0x3d7c38,_0x331489)?(_0x2353fa=_0x1d2c21[_0x20bcae],this['_pinnedRectIndex']=_0x20bcae):this['_isPinnedRectVisible'](_0x1d2c21[0x0],_0x3d7c38,_0x331489)&&void 0x0===_0x20bcae?_0x2353fa=_0x1d2c21[0x0]:(_0x1d2c21='s'==_0x11ca50[0x0]?[..._0x3db99b]['reverse']():_0x3db99b,_0x1d2c21['forEach'](_0x6da876=>{this['_isPinnedRectVisible'](_0x6da876,_0x3d7c38,_0x331489)&&(_0x2353fa=_0x6da876);})),this['_pinnedTargetChangeId']=_0x4328fe,this['_pinnedTargetElement']=_0x217673,_0x2353fa||_0x217673['getBoundingClientRect']();}['_getBestRectPositionOnHover'](_0x1566f1,_0x589dfe,_0xc8acd1){if(!_0x1566f1)return null;const _0x4ba4be=Array['from'](_0x1566f1['getClientRects']())['reverse']();if(void 0x0===this['_pinnedRectIndex']&&void 0x0!==_0x589dfe&&this['_pinnedTargetChangeId']!==_0xc8acd1)return this['_pinnedRectIndex']=_0x589dfe,this['_pinnedTargetElement']=_0x1566f1,this['_pinnedTargetChangeId']=_0xc8acd1,_0x4ba4be[_0x589dfe];if(void 0x0!==this['_pinnedRectIndex']&&this['_pinnedTargetChangeId']===_0xc8acd1){if(_0x1566f1!==this['_pinnedTargetElement'])return Array['from'](this['_pinnedTargetElement']['getClientRects']())['reverse']()[this['_pinnedRectIndex']];return _0x4ba4be[this['_pinnedRectIndex']];}return void 0x0!==_0x589dfe&&this['_pinnedTargetChangeId']!==_0xc8acd1?(this['_pinnedRectIndex']=_0x589dfe,this['_pinnedTargetElement']=_0x1566f1,this['_pinnedTargetChangeId']=_0xc8acd1,_0x4ba4be[_0x589dfe]):_0x1566f1['getBoundingClientRect']();}['_getPointedRectIndexFromEvent'](_0x433e00,_0x56d834){if(_0x433e00)for(let _0x574a04=0x0;_0x574a04<_0x56d834['length'];_0x574a04++){const _0x2942b5=_0x56d834[_0x574a04];if(_0x433e00['clientX']>=_0x2942b5['left']-0x3&&_0x433e00['clientX']<=_0x2942b5['right']+0x3&&_0x433e00['clientY']>=_0x2942b5['top']-0x3&&_0x433e00['clientY']<=_0x2942b5['bottom']+0x3)return _0x574a04;}}['_isPinnedRectVisible'](_0x3f5356,_0x3b6284,_0x5df21c){const _0x13b36c=new ckeditor5['Rect'](_0x3f5356),_0x25a073=_0x3b6284||document['documentElement'],_0x27dae7=_0x13b36c['getIntersection'](ckeditor5['getConstrainedViewportRect'](_0x5df21c)),_0x32c7ad=new ckeditor5['Rect'](_0x25a073)['getIntersection'](_0x13b36c);return!!(_0x27dae7&&_0x32c7ad&&_0x13b36c['width']>0x0);}}const _0x205231=['getReviewCheckList','runReviewCheck','abortReviewStream','toggleDiff','acceptAllChanges','leaveReviewCoreResultList','activateChange','deactivateChange','acceptChange','dismissChange','learnMore','finishReview','retryReview'];class _0x489eba extends ckeditor5['ContextPlugin']{['_mainView'];['_balloonSuggestionView'];['_bodyCollection'];static get['requires'](){return[_0x2afc5c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x40beea){super(_0x40beea),this['_bodyCollection']=new ckeditor5['BodyCollection'](this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_mainView']=this['createMainView'](),this['_mainView']['delegate'](..._0x205231)['to'](this),this['_balloonSuggestionView']=new AIReviewCoreBalloonSuggestionItemView(this['context']['locale'],this['_bodyCollection']),this['_balloonSuggestionView']['delegate']('acceptChange','dismissChange','deactivateChange')['to'](this);}['init'](){const _0x29654c=this['context']['plugins']['get']('AITabs');this['registerTab'](_0x29654c);}['destroy'](){this['_bodyCollection']['detachFromDom'](),super['destroy']();}['setAvailableChecks'](_0x3ee86f){if(!this['_mainView']['reviewCheckListView']['hasChecks']()){const _0x3377a7=!this['context']['config']['get']('ai.models.showModelSelector');this['_mainView']['reviewCheckListView']['setChecks'](_0x3ee86f,_0x3377a7);}this['_mainView']['showReviewCheckListView']();}['showReviewCheckList'](){this['fire']('getReviewCheckList');}['showCheckRunResults'](_0x1478e6){_0x1478e6&&('error-general'!==_0x1478e6['status']?'error-chunk'!==_0x1478e6['status']?this['_mainView']['showReviewCheckResultsView']():this['showChunkErrorView']():this['showGeneralResultsErrorView']());}['showCheckRunResult'](_0x329f9d){this['_mainView']['addCheckRunResult'](_0x329f9d);}['showGeneralResultsErrorView'](){this['_mainView']['showGeneralResultsErrorView']();}['showGeneralReviewCoreErrorView'](_0x46a4bc){this['_mainView']['showGeneralReviewCoreErrorView'](_0x46a4bc??getTranslation$i(this['context']['locale'],'AI_REVIEW_INITIALIZATION_ERROR_MESSAGE'));}['showChunkErrorView'](){this['_mainView']['showChunkErrorView']();}['setCheckResultTitle'](_0xdcf7bc,_0x5187b4){this['_mainView']['reviewCheckResultsView']['setTitle'](_0xdcf7bc,_0x5187b4);}['setActiveStateInResults'](_0x23913d){this['_mainView']['reviewCheckResultsView']['getResults']()['forEach'](_0x321074=>{_0x321074['id']===_0x23913d&&_0x321074['setItemAsActive']();});}['resetActiveStateInResults'](){this['_mainView']['reviewCheckResultsView']['getResults']()['forEach'](_0x58bb7e=>_0x58bb7e['setItemAsInactive']());}['updateChangeState'](_0x233523,_0x1aad3f){'accepted'===_0x1aad3f||'rejected'===_0x1aad3f||'outdated'===_0x1aad3f?this['_mainView']['reviewCheckResultsView']['hideResult'](_0x233523,_0x1aad3f):this['_mainView']['reviewCheckResultsView']['showResult'](_0x233523,_0x1aad3f);}['showReviewCompletedView'](){this['_mainView']['showReviewCompletedView']();}['showActionsWhenResultIsReady'](){this['_mainView']['showActionsWhenResultIsReady']();}['showNoChangesView'](){this['_mainView']['showNoChangesView']();}['hideActionsWhenResultIsReady'](){this['_mainView']['hideActionsWhenResultIsReady']();}['showChangeBalloon'](_0x170673,_0x261ce6,_0x41dd90,_0x57d539,_0x554598,_0x4eba7a){this['_balloonSuggestionView']['showBalloon'](_0x170673,_0x261ce6,_0x41dd90,_0x57d539,_0x554598,_0x4eba7a);}['hideChangeBalloon'](){this['_balloonSuggestionView']['hideBalloon']();}['hideDiffInBalloon'](){this['_balloonSuggestionView']['hideDiffInBalloon']();}['showDiffInBalloon'](){this['_balloonSuggestionView']['showDiffInBalloon']();}['getChangeElement'](_0x13a8f7){const _0x2f7bb3=this['_mainView']['reviewCheckResultsView']['getResults']()['find'](_0x3bc4d2=>_0x3bc4d2['id']===_0x13a8f7);return _0x2f7bb3?_0x2f7bb3['element']:null;}['deactivateChange'](){this['_balloonSuggestionView']['deactivateChange']();}}class _0x124843 extends ckeditor5['View']{constructor(_0x59d892){super(_0x59d892),this['set']('isVisible',!0x1),this['set']('errorMessage','');const _0x5961d6=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai_review__general-error-container',_0x5961d6['if']('isVisible','ck-hidden',_0x2ce148=>!_0x2ce148)]},'children':[{'tag':'p','attributes':{'class':'ck\x20ck-ai-notification\x20ck-ai-notification_error'},'children':[{'text':_0x5961d6['to']('errorMessage')}]}]});}}class _0x435aa5 extends ckeditor5['View']{['reviewCoreHeader'];['generalErrorView'];['reviewCheckListView'];['reviewCheckResultsView'];['reviewCompletedView'];constructor(_0x379702,_0x578221){super(_0x379702),this['reviewCoreHeader']=_0x578221['header'],this['generalErrorView']=new _0x124843(_0x379702),this['reviewCheckListView']=_0x578221['list'],this['reviewCheckListView']['delegate'](..._0x205231)['to'](this),this['reviewCheckResultsView']=_0x578221['results'],this['reviewCheckResultsView']['delegate'](..._0x205231)['to'](this),this['reviewCompletedView']=_0x578221['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'](_0x3c0e30){this['reviewCheckResultsView']['addResult'](_0x3c0e30),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'](_0x1f1a22){this['generalErrorView']['set']('isVisible',!0x0),this['generalErrorView']['errorMessage']=_0x1f1a22;}['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(_0x1b046e,_0x2ce515){super(_0x2ce515),this['set']({'label':_0x1b046e,'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(_0x13e7d6,_0x260c2a){super(_0x13e7d6),this['_contents']=_0x260c2a,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 _0x5179ae(_0x13e7d6),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 _0x446395=this['_createCombinedSkeletonLoader'](),_0xe1b167=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0xe1b167['if']('isLoading','ck-ai_review__check-run_loading',_0x396884=>_0x396884),_0xe1b167['if']('isResultReady','ck-ai_review__check-run_ready',_0x3d9967=>_0x3d9967),_0xe1b167['if']('isVisible','ck-hidden',_0xe577=>!_0xe577)]},'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',_0x248e92=>_0x248e92)]},'children':this['_resultViews']},_0x446395]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0xc8ed6a){const _0x2bf265=new AIReviewCoreReviewCheckListItemResultsView(this['locale'],_0xc8ed6a['id']);_0x2bf265['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x2bf265),_0x2bf265['resultResponseView']['element']['innerHTML']=_0xc8ed6a['contentDiffed'];}['hideResult'](_0x5c6037,_0x1e6ac2){if('pending'===_0x1e6ac2)return;const _0x40c68c=this['_resultViews']['find'](_0xb3d16d=>_0xb3d16d['id']===_0x5c6037);_0x40c68c&&(_0x40c68c['status']=_0x1e6ac2,_0x40c68c['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x2b118b,_0x30156b){if('pending'!==_0x30156b)return;const _0x18e5ce=this['_resultViews']['find'](_0x285812=>_0x285812['id']===_0x2b118b);_0x18e5ce&&(_0x18e5ce['status']=_0x30156b,_0x18e5ce['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x36976c,_0x2fef91){this['headerTitle']=_0x36976c,this['headerSubtitle']=_0x2fef91||'';}['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'],_0xa9451['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x43de3a=new ckeditor5['View'](this['locale']),_0x44e002=[];for(let _0x195768=0x0;_0x195768<0x10;_0x195768++){const _0x5ccfce=this['_createSkeletonLoader']();_0x5ccfce['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x44e002['push'](_0x5ccfce);}return _0x43de3a['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x4a4283=>!_0x4a4283)]},'children':_0x44e002}),_0x43de3a;}['_createErrorView'](){const _0x4d90c4=new ckeditor5['View'](this['locale']),_0x389306=new ckeditor5['ButtonView'](this['locale']),t=this['locale']['t'];return _0x4d90c4['delegate']('retryReview')['to'](this),_0x389306['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x389306['on']('execute',()=>{this['fire']('retryReview');}),_0x4d90c4['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x2e243b=>!_0x2e243b),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x2df9ac=>'chunk'===_0x2df9ac)]},'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',_0x57ca58=>'chunk'===_0x57ca58)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x16fdf9=>'general'!==_0x16fdf9)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x2453be=>'chunk'!==_0x2453be)]},'children':[{'text':getTranslation$i(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x389306]}),_0x4d90c4;}['_createCancelButtonView'](){const _0x1ce5f1=new ckeditor5['ButtonView'](this['locale']);return _0x1ce5f1['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']}),_0x1ce5f1['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x2568be=>_0x2568be),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x5dae05=>_0x5dae05)]}}),_0x1ce5f1['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x1ce5f1;}['_createToggleDiffButtonView'](){const _0x21907b=new ckeditor5['ButtonView'](this['locale']);_0x21907b['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x21907b['bind']('isEnabled')['to'](this,'isError',_0xacfa20=>!_0xacfa20),_0x21907b['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x429452=>!_0x429452),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x315ae7=>_0x315ae7)]}});const _0x401455=getTranslation$i(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x53c9c8=getTranslation$i(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x21907b['bind']('isOn')['to'](this,'isToggleDiffOn',_0x1c67aa=>_0x1c67aa),_0x21907b['bind']('icon')['to'](this,'isToggleDiffOn',_0x1787df=>_0x1787df?ckeditor5['IconEye']:ckeditor5['IconEyeCrossedOut']),_0x21907b['bind']('label')['to'](this,'isToggleDiffOn',_0x13a945=>_0x13a945?_0x401455:_0x53c9c8),_0x21907b['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x21907b;}['_createAcceptAllButtonView'](){const _0x3e3c6b=new ckeditor5['ButtonView'](this['locale']);return _0x3e3c6b['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x3e3c6b['bind']('isEnabled')['to'](this,'isError',_0x5d0ef2=>!_0x5d0ef2),_0x3e3c6b['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1562b1=>!_0x1562b1),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x133fe9=>_0x133fe9)]}}),_0x3e3c6b['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x3e3c6b;}['_createExitReviewButtonView'](){const _0x2f7229=new ckeditor5['ButtonView'](this['locale']);return _0x2f7229['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x2f7229['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x2c8d7e=>!_0x2c8d7e),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x5c9249=>_0x5c9249)]}}),_0x2f7229['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x2f7229;}['_createResultHeaderView'](){const _0x669c8b=new ckeditor5['View'](this['locale']),_0x1b9dc3=this['_createTitleView']();return _0x669c8b['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x2735cf=>_0x2735cf)]},'children':[_0x1b9dc3,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x669c8b;}['_createTitleView'](){const _0x237832=new ckeditor5['View'](this['locale']),_0x117fe4=new _0x3407ba();return _0x117fe4['bind']('isVisible')['to'](this,'isResultReady',_0x105e8b=>!_0x105e8b),_0x237832['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x117fe4,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x143be6=>_0x143be6)]},'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',_0x239f0a=>!_0x239f0a)]},'children':[{'text':getTranslation$i(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x237832;}['_createFinishReviewButtonView'](){const _0x2304d6=new AIReviewCoreFinishReviewButtonView(getTranslation$i(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x2304d6['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x186f01=>!_0x186f01)]}}),_0x2304d6['delegate']('finishReview')['to'](this),_0x2304d6;}}class AIReviewCoreReviewCompletedView extends ckeditor5['ListItemView']{['_resultsHeader'];['_finishReviewButtonView'];constructor(_0x243333,_0x521479){super(_0x243333),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](_0x521479['buttonText']),this['_resultsHeader']=this['_createResultHeaderView'](_0x521479['headerText']);const _0x480d92=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__review-completed',_0x480d92['if']('isVisible','ck-hidden',_0x457e92=>!_0x457e92)]},'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':_0x521479['emptyResultsText']}]}]}]});}['_createFinishReviewButtonView'](_0x39da62){const _0x1a6067=new AIReviewCoreFinishReviewButtonView(_0x39da62,this['locale']);return _0x1a6067['delegate']('finishReview')['to'](this),_0x1a6067;}['_createResultHeaderView'](_0x281dd1){const _0x1a1d86=new ckeditor5['View'](this['locale']);return _0x1a1d86['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':_0x281dd1}]},{'tag':'div','attributes':{'class':['ck-ai_review__review-completed-header-buttons']},'children':[this['_finishReviewButtonView']]}]}),_0x1a1d86;}}class _0x2b96f6 extends ckeditor5['View']{['_dropdownView'];['_defaultValue'];['_defaultLabel'];constructor(_0x54af69,_0x5c6d65){super(_0x54af69),this['_defaultValue']=_0x5c6d65['default']||(_0x5c6d65['data']['length']>0x0?_0x5c6d65['data'][0x0]['id']:''),this['_defaultLabel']=_0x5c6d65['data']['find'](_0x362ef9=>_0x362ef9['id']===this['_defaultValue'])?.['label']||'',this['set']('formValue',''),this['_dropdownView']=ckeditor5['createDropdown'](this['locale']);const _0x280715=this['_prepareListOptions'](_0x5c6d65['data']);ckeditor5['addListToDropdown'](this['_dropdownView'],_0x280715,{'role':'menu','ariaLabel':_0x5c6d65['label']}),this['_dropdownView']['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0}),this['_dropdownView']['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x484a54=>{_0x484a54['stopPropagation']();})}}),this['listenTo'](this['_dropdownView'],'execute',_0xf1297a=>{this['formValue']=_0xf1297a['source']['model']['id'],this['_dropdownView']['buttonView']['label']=_0xf1297a['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'](_0x4f2da7=[]){const _0x41b1a7=new ckeditor5['Collection']();this['resetToDefault']();for(const _0x2f1956 of _0x4f2da7){const _0xb7592e=new ckeditor5['UIModel']({'label':_0x2f1956['label'],'withText':!0x0,'role':'menuitemradio','id':_0x2f1956['id'],'model':_0x2f1956});_0xb7592e['bind']('isOn')['to'](this,'formValue',_0x50bf8c=>_0x50bf8c===_0xb7592e['id']);const _0x12cc2c={'type':'button','model':_0xb7592e};_0x41b1a7['add'](_0x12cc2c);}return _0x41b1a7;}}class _0x1b48ca extends ckeditor5['ListItemView']{['_formItem']=null;constructor(_0x49dc4d,_0x1a9d54,_0x160e4e){super(_0x49dc4d),this['argsKey']=_0x1a9d54?.['argsKey'];if('dropdown'===_0x1a9d54['formType'])this['_formItem']=new _0x2b96f6(this['locale'],_0x1a9d54);this['set']('value',''),this['bind']('value')['to'](this['_formItem'],'formValue');const _0x44d0c2=new ckeditor5['FormRowView'](this['locale'],{'children':[this['_formItem']],'class':[_0x160e4e?'ck-form__row_with-submit':'']});_0x160e4e&&_0x44d0c2['children']['add'](_0x160e4e),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai_review__form-item','ck-reset_all']},'children':[_0x44d0c2]});}['resetToDefault'](){this['_formItem']['resetToDefault']();}}class AIReviewCorePromptInputView extends ckeditor5['TextareaView']{['keystrokes'];static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;constructor(_0x4cdc46){super(_0x4cdc46),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(_0x46d096,_0x3b676a,_0x1d96d3=!0x1){super(_0x46d096),this['_check']=_0x3b676a,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x3b676a['defaultModel']?_0x3b676a['defaultModel']['id']:'',this['_defaultLabel']=_0x3b676a['defaultModel']?_0x3b676a['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new ckeditor5['LabeledFieldView'](this['locale'],()=>new AIReviewCorePromptInputView(_0x46d096)),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'](_0x1d96d3),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',(_0x21e2d1,_0x22c6d3)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x22c6d3()):_0x22c6d3();}),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'](_0x1cba65=>{this['_focusables']['add'](_0x1cba65),this['focusTracker']['add'](_0x1cba65['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 _0x424a73 of this['_getFormValidators']()){const _0x57ab9d=_0x424a73();if(_0x57ab9d)return this['promptInputView']['errorText']=_0x57ab9d,!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 _0x24f061=new ckeditor5['ButtonView'](this['locale']),t=this['locale']['t'];return _0x24f061['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x24f061['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x24f061;}['_createCancelButtonView'](){const _0x441bc1=new ckeditor5['ButtonView'](this['locale']),t=this['locale']['t'];return _0x441bc1['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x441bc1['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x361280=>{_0x361280['stopPropagation']();})}}),_0x441bc1['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x441bc1;}['_setModelList'](_0xc107e1){this['_modelSelectionDropdownItems']['clear']();const _0x10c19b=this['_check']['models'];if(_0xc107e1)this['set']('modelDisplayMode','hidden');else{const _0x1e9fd5=0x1===_0x10c19b['length'];this['set']('modelDisplayMode',_0x1e9fd5?'name':'selector');}if(this['resetToDefault'](),_0x10c19b?.['length']){0x1===_0x10c19b['length']&&this['set']('activeModelName',_0x10c19b[0x0]['name']||_0x10c19b[0x0]['id']);for(const _0x20675c of _0x10c19b){const _0x10cafa=new ckeditor5['UIModel']({'label':_0x20675c['name'],'withText':!0x0,'role':'menuitemradio','id':_0x20675c['id'],'model':_0x20675c});_0x10cafa['bind']('isOn')['to'](this,'modelId',_0x3d83d5=>_0x3d83d5===_0x20675c['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x10cafa,'labelView':new ModelButtonLabelView(this['locale'],_0x20675c)});}}}['_createModelSelectionDropdown'](){const _0x40a62d=ckeditor5['createDropdown'](this['locale']);return _0x40a62d['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x40a62d['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x40a62d['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x24012c=>'selector'===_0x24012c),this['listenTo'](_0x40a62d,'execute',_0x44a5ba=>{this['modelId']=_0x44a5ba['source']['model']['id'],_0x40a62d['buttonView']['label']=_0x44a5ba['source']['label'];}),_0x40a62d;}['_createModelNameView'](){const _0x3cbc1d=new _0x3705f1(this['locale']);return _0x3cbc1d['bind']('text')['to'](this,'activeModelName',_0x1039ba=>_0x1039ba??''),_0x3cbc1d['bind']('isVisible')['to'](this,'modelDisplayMode',_0x4695cc=>'name'===_0x4695cc),_0x3cbc1d;}['_createActionsFooterView'](){const _0x37d72d=new ckeditor5['View'](this['locale']);return _0x37d72d['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']]}]}),_0x37d72d;}}class _0x3705f1 extends ckeditor5['View']{constructor(_0x278d73){super(_0x278d73),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x50a3c2=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x50a3c2['if']('isVisible','ck-hidden',_0x1e8b76=>!_0x1e8b76)]},'children':[{'text':_0x50a3c2['to']('text')}]});}}class ModelButtonLabelView extends ckeditor5['ButtonLabelView']{constructor(_0x34d7a2,_0x550135){super();const _0x266e74=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x266e74['to']('style'),'id':_0x266e74['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x266e74['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x550135['description']||'']}]}]});}}class AIReviewCoreReviewCommandListItemView extends ckeditor5['ListItemView']{['_formItemsCollection']=new ckeditor5['ViewCollection']();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x3108b8,_0x69808a,_0x3ae897,_0x3ce665=!0x1){super(_0x3108b8),this['_hideModels']=_0x3ce665,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x69808a['isParameterized']);const _0x42e763=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',_0x3f2823=>_0x3f2823),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x1fdb77=>_0x1fdb77)],'style':{'--ck-ai-review-check-list-item-index':_0x3ae897}},'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':_0x69808a['title']}]},_0x42e763]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x69808a['description']?[{'text':_0x69808a['description']}]:[]}]}]},..._0x69808a['isParameterized']?[this['_createParameterizedView'](_0x69808a)]:[],...'custom'===_0x69808a['id']?[this['_createCustomView'](_0x69808a,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x69808a['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x69808a['id'],'args':_0x69808a['useArgs']?_0x69808a['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'](_0x1a377b=>{_0x1a377b['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x34ca9a=new ckeditor5['IconView']();return _0x34ca9a['content']=ckeditor5['IconChevronRight'],_0x34ca9a['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x34ca9a;}['_createParameterizedView'](_0x50755a){const _0x98404b=new ckeditor5['View'](),_0x1c2dfa=this['_createFormView'](_0x50755a);return _0x98404b['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x386056=>!_0x386056)]},'children':[_0x1c2dfa]}),_0x98404b;}['_createFormView'](_0x32a022){const _0x4dd491=new ckeditor5['View'](),_0x295a93=Array['isArray'](_0x32a022['options'])?_0x32a022['options']:[],_0x1c2297=new ckeditor5['ButtonView'](this['locale']),t=this['locale']['t'];_0x1c2297['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x1c2297['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x59803b=>{_0x59803b['stopPropagation']();})}}),_0x1c2297['on']('execute',()=>{const _0x5e8cce=[],_0x5fec59={};this['_formItemsCollection']['forEach'](_0x401241=>{_0x5e8cce['push'](_0x401241['value']),_0x32a022['useArgs']&&_0x32a022['options']&&(_0x5fec59[_0x401241['argsKey']]=_0x401241['value']);}),this['fire']('runReviewCheck',{'id':_0x32a022['id'],'params':_0x5e8cce['length']?_0x5e8cce:void 0x0,'args':Object['keys'](_0x5fec59)['length']?_0x5fec59:void 0x0});});const _0x2866ff=_0x295a93['length'];return _0x295a93['forEach']((_0x301552,_0x16f555)=>{const _0x49df92=_0x16f555===_0x2866ff-0x1;this['_formItemsCollection']['add'](new _0x1b48ca(this['locale'],_0x301552,_0x49df92?_0x1c2297:null));}),_0x4dd491['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x4dd491;}['_createCustomView'](_0x4c7d63,_0x73684=!0x1){return this['_customCheckView']=new AIReviewCoreCustomCheckView(this['locale'],_0x4c7d63,_0x73684),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',_0x10f2b4=>!_0x10f2b4)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x2c6930,_0x3eb83f,_0x4bf295)=>{_0x4bf295||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}class AIReviewCoreReviewCheckListView extends ckeditor5['ListItemView']{['_checkViews'];constructor(_0x4d1b66){super(_0x4d1b66),this['_checkViews']=new ckeditor5['ViewCollection'](),this['_setupTemplate']();}['setChecks'](_0x4ff663,_0x1a76ed=!0x1){this['_checkViews']['clear']();for(const [_0x393dcc,_0x12152b]of _0x4ff663['entries']()){const _0x3e4c68=new AIReviewCoreReviewCommandListItemView(this['locale'],_0x12152b,_0x393dcc,_0x1a76ed);_0x3e4c68['delegate']('runReviewCheck')['to'](this),this['_checkViews']['add'](_0x3e4c68);}}['hasChecks'](){return this['_checkViews']['length']>0x0;}['resetAllParameterizedChecks'](){for(const _0x3bfadc of this['_checkViews'])_0x3bfadc instanceof AIReviewCoreReviewCommandListItemView&&_0x3bfadc['resetToDefault']();}['_setupTemplate'](){const _0x249e90=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list',_0x249e90['if']('isVisible','ck-hidden',_0x159c20=>!_0x159c20)]},'children':this['_checkViews']});}}class _0x5ac87c extends _0x489eba{static get['pluginName'](){return'AIReviewModeUI';}['createMainView'](){const _0x139a99=this['context']['locale'],_0x54f725=new ckeditor5['FormHeaderView'](_0x139a99,{'label':getTranslation$i(_0x139a99,'AI_REVIEW_MODE'),'icon':ckeditor5['IconAIReview'],'class':'ck-ai-header\x20ck-ai-header_review'});return new _0x435aa5(this['context']['locale'],{'header':_0x54f725,'list':new AIReviewCoreReviewCheckListView(_0x139a99),'results':new AIReviewCoreUICheckResultsView(_0x139a99,{'generalErrorText':getTranslation$i(_0x139a99,'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}),'completed':new AIReviewCoreReviewCompletedView(_0x139a99,{'headerText':getTranslation$i(_0x139a99,'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE'),'emptyResultsText':getTranslation$i(_0x139a99,'AI_REVIEW_MODE_EMPTY_RESULTS_TEXT'),'buttonText':getTranslation$i(_0x139a99,'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL')})});}['registerTab'](){const _0x4f0c17=this['context']['plugins']['get']('AITabs');_0x4f0c17['view']['on']('activateTab',(_0x29cfc2,_0x4a057e)=>{'reviewMode'===_0x4a057e?this['fire']('getReviewCheckList'):this['fire']('leaveReview');}),_0x4f0c17['view']['addTab']({'id':'reviewMode','buttonLabel':getTranslation$i(this['context']['locale'],'AI_REVIEW_MODE'),'buttonIcon':ckeditor5['IconAIReview'],'order':0x0,'content':this['_mainView']});}}const _0xc06231='review-',_0x3b5904=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(_0x4a4836){super(_0x4a4836),this['_domEmitter']=new(ckeditor5['DomEmitterMixin']())(),this['_eventEmitter']=new(ckeditor5['EmitterMixin']())();}get['emitter'](){return this['_eventEmitter'];}['afterInit'](){const _0x299153=getEditorFromContext(this['context']);_0x299153['conversion']['for']('editingDowncast')['markerToElement']({'model':_0xc06231+'insert','view':(_0x361d50,{writer:_0x283e4c})=>{const _0x2ac3b0=this['_markers']['get'](_0x361d50['markerName']),_0x4f5c2f={'class':'ck-ai_review-marker_add'+(this['_activeMarkers']['has'](_0x2ac3b0?.['id']||'')?'\x20ck-ai_review__change_active':''),'data-marker-id':_0x361d50['markerName']};return _0x283e4c['createUIElement']('span',_0x4f5c2f,function(_0x542dbb){const _0x529d0a=this['toDomElement'](_0x542dbb);return _0x529d0a['innerHTML']=_0x2ac3b0?.['content']?.['asString']||'',_0x529d0a;});}}),_0x299153['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0xc06231+'remove-only','view':_0x4d105b=>{const _0x3eb73d=this['_markers']['get'](_0x4d105b['markerName']),_0x36ed6b=['ck-ai_review-marker_strikethrough'];return this['_activeMarkers']['has'](_0x3eb73d?.['id']||'')&&_0x36ed6b['push']('ck-ai_review__change_active'),{'classes':_0x36ed6b,'attributes':{'data-marker-id':_0x4d105b['markerName']}};}}),_0x299153['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0xc06231+'remove-context','view':_0x228ab0=>{const _0x7aaf72=this['_markers']['get'](_0x228ab0['markerName']),_0x2f7b49=['ck-ai_review-marker_underline'];return this['_activeMarkers']['has'](_0x7aaf72?.['id']||'')&&_0x2f7b49['push']('ck-ai_review__change_active'),{'classes':_0x2f7b49,'attributes':{'data-marker-id':_0x228ab0['markerName']}};}}),_0x299153['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0xc06231+'remove-text','view':_0x1b32e8=>{const _0x4dab31=this['_markers']['get'](_0x1b32e8['markerName']),_0x24c8b2=['ck-ai_review-marker_hide'];return this['_activeMarkers']['has'](_0x4dab31?.['id']||'')&&_0x24c8b2['push']('ck-ai_review__change_active'),{'classes':_0x24c8b2,'attributes':{'data-marker-id':_0x1b32e8['markerName']}};}}),_0x299153['conversion']['for']('dataDowncast')['markerToElement']({'model':_0xc06231+'suggestion-context','view':(_0x5f7a3d,{writer:_0x5cc797})=>_0x5cc797['createRawElement']('span',{'class':'ck-ai_review-marker_context-'+(_0x5f7a3d['isOpening']?'start':'end')})}),_0x299153['conversion']['for']('downcast')['attributeToAttribute']({'model':_0x323f49,'view':_0x3ca67a});const _0x50d26a=_0x299153['ui']['getEditableElement']()||document['body'];this['_domEmitter']['listenTo'](_0x50d26a,'mouseup',(_0x4f7a8e,_0x349d03)=>{const _0x2d8dd9=_0x349d03['target'],_0x241203=this['_findMarkerElement'](_0x2d8dd9);if(!_0x241203)return;const _0x143171=_0x241203['getAttribute']('data-marker-id'),_0x2786af=_0x143171['split'](':')['pop']()?.['split']('_')[0x0];this['_eventEmitter']['fire']('changeMarkerClicked',{'markerId':_0x143171,'changeId':_0x2786af,'markerElement':()=>this['_findMarkerElementById'](_0x143171),'domEvent':_0x349d03});},{'usePassive':!0x0,'priority':'highest'}),this['_domEmitter']['listenTo'](_0x50d26a,'mouseover',(_0x5156fd,_0x1e4695)=>{const _0x43b0b2=_0x1e4695['target'],_0x572449=_0x1e4695['relatedTarget'];let _0x36fd13=this['_findMarkerElement'](_0x43b0b2);if(!_0x36fd13&&_0x572449&&(_0x36fd13=this['_findMarkerElement'](_0x572449)),!_0x36fd13)return;const _0x286086=_0x36fd13['getAttribute']('data-marker-id'),_0x4c8c75=_0x286086['split'](':')['pop']()?.['split']('_')[0x0];this['_eventEmitter']['fire']('changeMarkerHovered',{'changeId':_0x4c8c75,'markerElement':()=>this['_findMarkerElementById'](_0x286086),'domEvent':_0x1e4695});}),this['_domEmitter']['listenTo'](document,'mouseover',_0x2bf3b5((_0x22e5df,_0x3120b8)=>{const _0x268a5a=_0x3120b8['target'];if(this['_findMarkerElement'](_0x268a5a))return;_0x268a5a['closest']('.ck-reset.ck-ai_review-balloon-panel-suggestion')||this['_eventEmitter']['fire']('changeMarkerBlurred');},0xc8)),_0x299153['model']['document']['registerPostFixer'](_0x5861cc=>this['_validateMarkers'](_0x299153,_0x5861cc)),_0x299153['model']['document']['on']('change',()=>this['_handleMarkerChanges'](_0x299153));}['getDocumentData'](){const _0xb9a796=this['context']['plugins']['get']('AIEditing'),_0x3dc290=getEditorFromContext(this['context']),_0x381c48=_0x3dc290['model'],_0x31288d=new ckeditor5['ModelDocumentFragment']();for(const _0x583615 of _0x381c48['document']['getRoot']()['getChildren']()){const _0x34483b=_0x583615['_clone'](!0x0);_0x31288d['_appendChild'](_0x34483b);}for(const _0x4150f8 of _0x381c48['markers'])_0x31288d['markers']['set'](_0x4150f8['name'],this['_changeRangeOwnerDocument'](_0x4150f8['getRange']()['clone'](),_0x31288d));const _0x11aca0=new ckeditor5['ModelTreeWalker']({'ignoreElementEnd':!0x0,'startPosition':_0x381c48['createPositionAt'](_0x31288d,0x0)}),_0x4b51be=new Set(),_0x54e38f=new Map();for(const {item:_0x4f922e}of _0x11aca0){if(!_0x4f922e['is']('$textProxy'))continue;const _0x4123fb=_0x4f922e['parent'];if(_0x4123fb&&_0x4123fb['is']('element')){const _0x11d08e=this['_upsertDataId'](_0x4123fb,()=>_0xb9a796['_nextDataId'](_0x4b51be));_0x4b51be['add'](_0x11d08e);for(const _0x3ad0b4 of _0x4123fb['getChildren']())_0x3ad0b4['is']('element')&&_0x4b51be['add'](this['_upsertDataId'](_0x3ad0b4,()=>_0xb9a796['_nextDataId'](_0x4b51be)));let _0x188fde=_0x4123fb;for(;_0x188fde['parent']&&!_0x188fde['parent']['is']('documentFragment');)_0x188fde=_0x188fde['parent'],_0x188fde['hasAttribute'](_0x323f49)&&_0x188fde['_removeAttribute'](_0x323f49);_0x54e38f['set'](_0x11d08e,{'path':_0x4123fb['getPath'](),'getContent':this['_createGetContentUsingDataIdFn'](_0x188fde['_clone'](!0x0),_0x11d08e,_0x3dc290['data'])}),_0x11aca0['jumpTo'](_0x381c48['createPositionAfter'](_0x4123fb));}}return{'content':_0x3dc290['data']['processor']['toData'](_0x3dc290['data']['toView'](_0x31288d)),'version':_0x3dc290['model']['document']['version'],'elements':_0x54e38f};}['diffContent'](_0xa85506,_0x4c7a88,_0x4ecde8=!0x1){const _0xff66c2=[],_0x48ab34=getEditorFromContext(this['context']),_0x2e860d=_0x48ab34['data']['parse'](_0x4c7a88,'$documentFragment'),_0x2ac12b=_0x48ab34['data']['parse'](_0xa85506,'$documentFragment'),_0x17d3be=_0x48ab34['model']['createPositionAt'](_0x2ac12b,0x0);if(this['_haveSingleTopLevelElement'](_0x2e860d)){if(!this['_hasSameTopLevelElement'](_0x2ac12b,_0x2e860d))return _0xff66c2;}else{const _0x1abece=_0x48ab34['model']['schema'];if(!this['_haveOnlyInlineContent'](_0x2ac12b,_0x1abece)||!this['_haveOnlyInlineContent'](_0x2e860d,_0x1abece))return _0xff66c2;}const _0x3774ac=this['context']['plugins']['get']('DocumentCompare')['getDiff'](_0xa85506,_0x4c7a88,{'anchor':_0x17d3be,'markDeletions':!0x0})['getOperations']()['filter'](_0x5ba842=>'insert'===_0x5ba842['type']||'marker'===_0x5ba842['type']&&_0x5ba842['name']['startsWith']('$markedRemove')),_0x56f8dd=this['_groupAdjacentOperations'](_0x3774ac),_0x128c4c=[];if(_0x4ecde8){if(_0x56f8dd['length']){const _0x23271f=_0x56f8dd[0x0]['operations'][0x0],_0x188c8a='insert'===_0x23271f['type']?_0x23271f['position']:_0x23271f['newRange']['start'],_0x275103=this['_getPositionLimitingRange'](_0x188c8a,_0x48ab34,'inside'),_0x305242=_0x275103?_0x2e860d['getChild'](0x0)['getChildren']():_0x2e860d['getChildren'](),_0x454dfe=_0x275103||_0x48ab34['model']['createRangeIn'](_0x2ac12b),_0x3127bd=[new ckeditor5['MarkerOperation']('$markedRemove:synthetic'+ckeditor5['uid'](),null,_0x454dfe,_0x48ab34['model']['document']['model']['markers'],!0x0,_0x48ab34['model']['document']['version']+0x1),new ckeditor5['InsertOperation'](_0x454dfe['end'],_0x305242,_0x48ab34['model']['document']['version']+0x2)];_0x128c4c['push']({'operations':_0x3127bd,'operationsIsolated':_0x3127bd,'groupOffset':0x0});}}else _0x128c4c['push'](..._0x56f8dd);let _0x4ff814=0x0;return _0x48ab34['model']['change'](_0x7caa7a=>{for(let _0x2c3fbb=0x0;_0x2c3fbb<_0x128c4c['length'];_0x2c3fbb++){const _0x565aa9=_0x128c4c[_0x2c3fbb],_0x798c70=_0x7caa7a['createDocumentFragment']();for(const _0x5001b6 of _0x2ac12b['getChildren']())_0x7caa7a['append'](_0x5001b6['_clone'](!0x0),_0x798c70);for(const _0x6a701 of _0x565aa9['operationsIsolated'])if('insert'===_0x6a701['type']){const _0x5948c5=_0x6a701;_0x5948c5['baseVersion']=null,_0x5948c5['isDocumentOperation']=!0x1,this['_changeOperationOwnerDocument'](_0x5948c5,_0x798c70),_0x7caa7a['batch']['addOperation'](_0x6a701),_0x48ab34['model']['applyOperation'](_0x6a701);const _0x2be17c='suggestion:insertion:id:authorId:'+_0x4ff814++,_0x4ce374=_0x48ab34['model']['createRange'](_0x5948c5['position'],_0x5948c5['position']['getShiftedBy'](_0x5948c5['howMany']));_0x798c70['markers']['set'](_0x2be17c,_0x4ce374);}else{if('marker'===_0x6a701['type']&&_0x6a701['name']['startsWith']('$markedRemove')){const _0x1aa8cf=_0x6a701,_0x1a6194='suggestion:deletion:id:authorId:'+_0x4ff814++;this['_changeOperationOwnerDocument'](_0x1aa8cf,_0x798c70),_0x798c70['markers']['set'](_0x1a6194,_0x1aa8cf['newRange']);}}if(_0x4ecde8)_0xff66c2['push']({..._0x565aa9,'context':this['_createGetContentFn'](_0x2ac12b,_0x48ab34['data']),'content':this['_createGetContentFn'](_0x2ac12b,_0x48ab34['data'])});else{const _0x22879b=this['_getChangeContext'](this['_changePositionOwnerDocument'](this['_getOperationStart'](_0x565aa9['operationsIsolated'][0x0]),_0x798c70),this['_changePositionOwnerDocument'](this['_getOperationEnd'](_0x565aa9['operationsIsolated'][_0x565aa9['operationsIsolated']['length']-0x1]),_0x798c70));_0x798c70['markers']['set'](_0xc06231+'suggestion-context',new ckeditor5['ModelRange'](_0x22879b['start'],_0x22879b['end'])),_0xff66c2['push']({..._0x565aa9,'context':this['_createGetContextFn'](_0x798c70,_0x48ab34['data'],{'ellipsisBefore':_0x22879b['hasContentBefore'],'ellipsisAfter':_0x22879b['hasContentAfter']}),'content':this['_createGetContentFn'](_0x798c70,_0x48ab34['data'])});}}}),_0xff66c2;}['markChangePositionInEditorContent'](_0x2c80f9,_0x449adf){if(!_0x2c80f9['length'])return;const _0x8a93e3=_0x2c80f9[0x0]['parent']['id'],_0x332254=_0x449adf['elements']['get'](_0x8a93e3);if(!_0x332254)return void console['warn']('No\x20element\x20found\x20for\x20ID:\x20'+_0x8a93e3);const _0x3855c3=_0x332254['path'],_0x53cdc1=getEditorFromContext(this['context']),_0x1f83eb=_0x53cdc1['model']['document']['history']['getOperations'](_0x449adf['version']),_0xc270db=[];for(const _0x3a047b of _0x2c80f9){const _0x449842=_0x3a047b['operationsIsolated']['map'](_0x3583ca=>this['_translateOperationToEditorContent'](_0x3583ca,_0x3855c3,_0x53cdc1['model']['document']['getRoots']()[0x0]));if(!_0x449842||!_0x449842['length'])continue;const _0x199245=_0x449842['every'](_0x340f2c=>'marker'===_0x340f2c['type']&&_0x340f2c['name']['startsWith']('$markedRemove')),_0x1bb8c1={'document':_0x53cdc1['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1},_0xd2083a=ckeditor5['transformOperationSets'](_0x449842,_0x1f83eb,_0x1bb8c1)['operationsA'];for(const _0x4b5212 of _0xd2083a)if('insert'===_0x4b5212['type']){const _0x9d845=_0x4b5212,_0x10033f=_0x9d845['nodes'];_0x53cdc1['model']['change'](_0x30b3cc=>{const _0x2323da=_0x30b3cc['createDocumentFragment']();for(const _0x1f72c of _0x10033f)_0x30b3cc['append'](_0x1f72c['_clone'](!0x0),_0x2323da);_0xc270db['push']({'start':_0x9d845['position'],'end':_0x9d845['position'],'type':'insert','groupId':_0x3a047b['id'],'content':{'asString':this['_createGetContentFn'](_0x2323da,_0x53cdc1['data'])(),'asFragment':_0x2323da}});});}else{if('marker'===_0x4b5212['type']&&_0x4b5212['name']['startsWith']('$markedRemove')){const _0x3434ef=_0x4b5212;let _0x4b157b='remove-text';if(_0x199245){const _0x42fd4c=this['_findAdjacentContextDistance'](_0x3434ef['newRange']['start'],'backward',_0x53cdc1['model']['schema']),_0x3bc012=this['_findAdjacentContextDistance'](_0x3434ef['newRange']['end'],'forward',_0x53cdc1['model']['schema']);if(_0x42fd4c||_0x3bc012){const _0x2c7d87=_0x3434ef['newRange']['start']['getShiftedBy'](-_0x42fd4c),_0x3629c8=_0x3434ef['newRange']['end']['getShiftedBy'](_0x3bc012);_0xc270db['push']({'start':_0x2c7d87,'end':_0x3629c8,'groupId':_0x3a047b['id'],'type':'remove-context'});}else _0x4b157b='remove-only';}_0xc270db['push']({'start':_0x3434ef['newRange']['start'],'end':_0x3434ef['newRange']['end'],'groupId':_0x3a047b['id'],'type':_0x4b157b});}}}this['_insertMarkers'](_0xc270db);}['clearAllMarkers'](){const _0x5187cd=getEditorFromContext(this['context']);_0x5187cd['model']['change'](_0x59787c=>{for(const _0x5a0016 of this['_markers']['keys']())_0x5187cd['model']['markers']['get'](_0x5a0016)&&_0x59787c['removeMarker'](_0x5a0016);}),this['_markers']['clear'](),this['_activeMarkers']['clear']();}['switchToReadOnly'](){getEditorFromContext(this['context'])['enableReadOnlyMode']('ai-review');}['switchToEdit'](){getEditorFromContext(this['context'])['disableReadOnlyMode']('ai-review');}['applyChange'](_0x2bcdce){const _0x54abc9=getEditorFromContext(this['context']),_0x300059=_0x54abc9['model'],_0x388dbc=_0x2bcdce['map'](_0x5b8111=>this['_getMarkersDataForGroup'](_0x5b8111))['flat']();_0x300059['change'](_0x38d8d0=>{for(const _0x1d52ed of _0x388dbc){const _0x5b8aa4=_0x54abc9['model']['markers']['get'](_0x1d52ed['id']);if(_0x5b8aa4){if('insert'===_0x1d52ed['type']){if(!_0x1d52ed['content'])continue;_0x300059['insertContent'](_0x1d52ed['content']['asFragment']||null,_0x5b8aa4['getRange']()['start']);}else'remove-text'!==_0x1d52ed['type']&&'remove-only'!==_0x1d52ed['type']||_0x300059['deleteContent'](_0x300059['createSelection'](_0x5b8aa4['getRange']()));_0x38d8d0['removeMarker'](_0x1d52ed['id']),this['_markers']['delete'](_0x1d52ed['id']);}}});}['rejectChange'](_0x40b136){const _0x19923c=getEditorFromContext(this['context']),_0x3cdaa6=this['_getMarkersDataForGroup'](_0x40b136);_0x19923c['model']['change'](_0x23b3e9=>{for(const _0x1845d6 of _0x3cdaa6)_0x23b3e9['removeMarker'](_0x1845d6['id']),this['_markers']['delete'](_0x1845d6['id']);});}['getEditor'](){return getEditorFromContext(this['context']);}['getMarkerElementForChange'](_0x4311d4){const _0x1a06f3=Array['from'](this['_markers']['values']())['filter'](_0x178f7a=>_0x178f7a['groupId']===_0x4311d4);if(!_0x1a06f3['length'])return null;const _0x13833d=0x1===_0x1a06f3['length']?_0x1a06f3[0x0]:this['_sortMarkers'](_0x1a06f3)[0x0],_0xd8004b=getEditorFromContext(this['context'])['model']['markers']['get'](_0x13833d['id']);if(!_0xd8004b)return null;return{'modelRange':_0xd8004b['getRange'](),'getElement':()=>this['_findMarkerElementById'](_0x13833d['id'])};}['getContentElementForChange'](_0x5c38a7){const _0x3defbd=Array['from'](this['_markers']['values']())['filter'](_0x380214=>_0x380214['groupId']===_0x5c38a7);if(!_0x3defbd['length'])return null;const _0x36ab60=0x1===_0x3defbd['length']?_0x3defbd[0x0]:this['_sortMarkers'](_0x3defbd)[0x0],_0x54f662=getEditorFromContext(this['context']),_0x8428a=_0x54f662['model']['markers']['get'](_0x36ab60['id']);if(!_0x8428a)return null;const _0x3d4b0b=_0x8428a['getRange'](),_0x21eb7f=_0x54f662['editing']['view']['getDomRoot']();if(!_0x21eb7f||!_0x3d4b0b)return null;let _0x5225dc=_0x3d4b0b['start']['parent'];for(;_0x5225dc['parent']&&'$root'!==_0x5225dc['parent']['name'];)_0x5225dc=_0x5225dc['parent'];if(!_0x5225dc||!_0x5225dc['name'])return null;const _0x496bf2=_0x21eb7f['querySelector']('[data-marker-id=\x22'+_0x36ab60['id']+'\x22]');if(!_0x496bf2)return null;let _0x676611=null;_0x54f662['model']['change'](_0x1d9736=>{_0x676611=_0x1d9736['createDocumentFragment'](),_0x1d9736['append'](_0x5225dc['_clone'](!0x0),_0x676611);});const _0x142b74=_0x54f662['data']['toView'](_0x676611)['getChild'](0x0);return _0x496bf2['closest'](_0x142b74['name']);}['reactivateMarkers'](_0xa71ffd){const _0xdea061=this['_getMarkersDataForGroup'](_0xa71ffd);if(!_0xdea061['length'])return;const _0x2d7e56=Array['from'](this['_activeMarkers'])['sort'](),_0x206ae9=Array['from'](new Set(_0xdea061['map'](_0x4b7b38=>_0x4b7b38['id'])))['sort']();_0x2d7e56['join']('|')!==_0x206ae9['join']('|')&&(this['setAllMarkersAsInactive'](),this['setMarkersInElementAsActive'](_0xa71ffd));}['setMarkersInElementAsActive'](_0x5a26b6){const _0x59106e=this['_getMarkersDataForGroup'](_0x5a26b6);if(!_0x59106e['length'])return;const _0x18dead=getEditorFromContext(this['context']),_0x5a7f9f=new Set(_0x59106e['map'](_0x113adc=>_0x113adc['id'])),_0x5f004e=Array['from'](_0x5a7f9f['values']())['map'](_0x21ce6a=>_0x18dead['model']['markers']['get'](_0x21ce6a))['filter'](_0x2733a6=>!!_0x2733a6);_0x5a7f9f['forEach'](_0x6ae30=>{this['_activeMarkers']['add'](_0x6ae30);}),_0x18dead['model']['change'](()=>{_0x5f004e['forEach'](_0x3634e=>{_0x18dead['editing']['reconvertMarker'](_0x3634e);});});}['setAllMarkersAsInactive'](){const _0x57fc3d=Array['from'](this['_activeMarkers']);if(!_0x57fc3d['length'])return;this['_activeMarkers']['clear']();const _0x555a5d=getEditorFromContext(this['context']),_0x3e71b1=_0x57fc3d['map'](_0x75d66f=>_0x555a5d['model']['markers']['get'](_0x75d66f))['filter'](_0x40b4bf=>!!_0x40b4bf);_0x555a5d['model']['change'](()=>{_0x3e71b1['forEach'](_0x5d8bf8=>{_0x555a5d['editing']['reconvertMarker'](_0x5d8bf8);});});}['_getPositionLimitingRange'](_0xc16692,_0x23885b,_0x10f18a='outside'){if(!_0xc16692)return null;let _0x258ed2=_0xc16692['parent'];for(;_0x258ed2&&_0x258ed2['parent']&&'$root'!==_0x258ed2['parent']['name']&&!_0x23885b['model']['schema']['isLimit'](_0x258ed2)&&!_0x23885b['model']['schema']['isBlock'](_0x258ed2);)_0x258ed2=_0x258ed2['parent'];if(!_0x258ed2||!_0x258ed2['name']||'$root'===_0x258ed2['name'])return null;let _0x546114=null;return _0x23885b['model']['change'](_0x326e3a=>{_0x546114='inside'===_0x10f18a?_0x326e3a['createRangeIn'](_0x258ed2):_0x326e3a['createRangeOn'](_0x258ed2);}),_0x546114;}['_validateMarkers'](_0x1fbfca,_0x183a3a){const _0x18479b=Array['from'](this['_markers']['keys']()),_0x4dd7ed=new Map();for(const _0x497089 of _0x18479b){const _0x5dbf23=_0x1fbfca['model']['markers']['get'](_0x497089);if(!_0x5dbf23)continue;const _0x2ae472=_0x5dbf23['getStart']()['path'][0x0];_0x4dd7ed['has'](_0x2ae472)||_0x4dd7ed['set'](_0x2ae472,[]),_0x4dd7ed['get'](_0x2ae472)['push'](_0x5dbf23);}const _0x1653b9=new Set();for(const _0x311867 of _0x1fbfca['model']['document']['differ']['getChanges']()){let _0x48792f=-0x1,_0x3468c1=null;if('insert'===_0x311867['type'])_0x3468c1=new ckeditor5['ModelRange'](_0x311867['position'],_0x311867['position']['getShiftedBy'](_0x311867['length'])),_0x48792f=_0x311867['position']['path'][0x0];else{if('remove'!==_0x311867['type'])continue;_0x3468c1=new ckeditor5['ModelRange'](_0x311867['position']),_0x48792f=_0x311867['position']['path'][0x0];}const _0x9e2cf9=_0x4dd7ed['get'](_0x48792f)||[];if(_0x9e2cf9['length']){for(const _0x456878 of _0x9e2cf9)if(_0x3468c1['root']['rootName']===_0x456878['getRange']()['root']['rootName']&&('insert'!==_0x311867['type']||!_0x3468c1['containsRange'](_0x456878['getRange']()))&&(_0x3468c1['isIntersecting'](_0x456878['getRange']())||_0x3468c1['start']['isTouching'](_0x456878['getRange']()['end'])||_0x3468c1['end']['isTouching'](_0x456878['getRange']()['start']))){const _0x4bd6e4=this['_parseMarkerName'](_0x456878['name']);Array['from'](this['_markers']['values']())['filter'](_0x46fd1f=>_0x46fd1f['groupId']===_0x4bd6e4['groupId'])['forEach'](_0x3921b1=>_0x1653b9['add'](_0x3921b1['id']));}}}if(_0x1653b9['size']){for(const _0x45372c of _0x1653b9)_0x183a3a['removeMarker'](_0x45372c);return!0x0;}return!0x1;}['_handleMarkerChanges'](_0x57cdef){for(const {name:_0x4916c5,data:_0x23fbd9}of _0x57cdef['model']['document']['differ']['getChangedMarkers']()){if(!_0x4916c5['startsWith'](_0xc06231))continue;const _0x49373d=_0x23fbd9['oldRange'],_0x4ae199=_0x23fbd9['newRange'],_0x560a38=_0x49373d&&'$graveyard'===_0x49373d['root']['rootName'],_0x328976=_0x4ae199&&'$graveyard'===_0x4ae199['root']['rootName'];if(_0x560a38&&_0x328976)continue;const _0x89e516=this['_parseMarkerName'](_0x4916c5);this['_markers']['get'](_0x4916c5)&&(_0x328976||!_0x4ae199?this['_eventEmitter']['fire']('changeMarkerRemoved',{'markerId':_0x4916c5,'changeId':_0x89e516['groupId']}):_0x560a38&&_0x4ae199&&this['_eventEmitter']['fire']('changeMarkerRestored',{'markerId':_0x4916c5,'changeId':_0x89e516['groupId']}));}}['_parseMarkerName'](_0x424e84){const _0x4042ee=_0x424e84['split'](':'),_0x43b23e=(_0x4042ee[0x1]||'')['split']('_');return{'prefix':_0x4042ee[0x0],'groupId':_0x43b23e[0x0],'suffix':_0x43b23e[0x1]};}['_translateOperationToEditorContent'](_0x245ce3,_0x57a9a9,_0xfd10e2){if('insert'===_0x245ce3['type']){const _0x35f0b6=_0x245ce3;return new ckeditor5['InsertOperation'](this['_changePosition'](_0x57a9a9['concat'](_0x35f0b6['position']['offset']),_0xfd10e2),_0x35f0b6['nodes'],_0x35f0b6['baseVersion']);}if('marker'===_0x245ce3['type']&&_0x245ce3['name']['startsWith']('$markedRemove')){const _0x23c81e=_0x245ce3;return new ckeditor5['MarkerOperation'](_0x23c81e['name'],_0x23c81e['oldRange'],this['_changeRange'](_0x23c81e['newRange'],_0x57a9a9['concat'](_0x23c81e['newRange']['start']['offset']),_0x57a9a9['concat'](_0x23c81e['newRange']['end']['offset']),_0xfd10e2),_0x23c81e['_markers'],_0x23c81e['affectsData'],_0x23c81e['baseVersion']);}return _0x245ce3;}['_groupAdjacentOperations'](_0x3df149){if(!_0x3df149['length'])return[];const _0x39ee7d=[];let _0xdb4a49=0x0,_0x4d1a0a=0x0,_0x215da1=[];for(let _0x1c432e=0x0;_0x1c432e<=_0x3df149['length'];_0x1c432e++){const _0x759a0b=_0x3df149[_0x1c432e],_0x2afb3b=_0x3df149[_0x1c432e-0x1];!_0x759a0b||_0x2afb3b&&!this['_getOperationEnd'](_0x2afb3b)['isTouching'](this['_getOperationStart'](_0x759a0b))?(_0x39ee7d['push']({'operations':_0x215da1,'operationsIsolated':_0x215da1['map'](_0x59d877=>this['_shiftOperation'](_0x59d877['clone'](),-_0x4d1a0a)),'groupOffset':_0xdb4a49}),_0x215da1=_0x759a0b?[_0x759a0b]:[],_0x4d1a0a+=_0xdb4a49,_0xdb4a49=0x0):_0x215da1['push'](_0x759a0b),_0x759a0b&&'insert'===_0x759a0b['type']&&(_0xdb4a49+=_0x759a0b['howMany']);}return _0x39ee7d;}['_findAdjacentContextDistance'](_0x110ce7,_0x3d2ded,_0x36f30d,_0xe0ca67=0x1){const _0x22de38=new ckeditor5['ModelTreeWalker']({'startPosition':_0x110ce7,'direction':_0x3d2ded});let _0x5a9d02=0x0;for(let _0x4cc130=0x0;_0x4cc130<_0xe0ca67;_0x4cc130++){let _0x59223b=0x0,_0x270a9d=!0x1,_0x495754='forward'===_0x3d2ded?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x1aac9a}of _0x22de38)if(_0x1aac9a['is']('$textProxy')){const _0x3f7b4c=_0x495754['exec'](_0x1aac9a['data']);if(_0x3f7b4c&&_0x3f7b4c['length']){if(_0x59223b+='forward'===_0x3d2ded?_0x3f7b4c['index']+_0x3f7b4c[0x0]['length']:_0x1aac9a['data']['length']-_0x3f7b4c['index'],_0x3f7b4c[0x0]['length']!==_0x1aac9a['data']['length'])break;_0x270a9d=!0x0,_0x495754='forward'===_0x3d2ded?/^\w+/:/\w+$/;}else{if(_0x270a9d)break;_0x59223b+=_0x1aac9a['offsetSize'];}}else{if(_0x1aac9a['is']('element')){_0x36f30d['isInline'](_0x1aac9a)&&!_0x270a9d&&(_0x59223b+=0x1);break;}}_0x5a9d02+=_0x59223b,_0x22de38['jumpTo'](_0x110ce7['getShiftedBy']('forward'===_0x3d2ded?_0x5a9d02:-_0x5a9d02));}return _0x5a9d02;}['_getChangeContext'](_0x51c7b1,_0x156a01){const _0x120c51=getEditorFromContext(this['context'])['model']['schema'],_0x56d12d=this['_findAdjacentContextDistance'](_0x51c7b1,'backward',_0x120c51,_0x3b5904),_0x2a99ef=this['_findAdjacentContextDistance'](_0x156a01,'forward',_0x120c51,_0x3b5904),_0x5a4b15=_0x51c7b1['getShiftedBy'](-_0x56d12d),_0x1e70dd=_0x156a01['getShiftedBy'](_0x2a99ef);return{'start':_0x5a4b15,'end':_0x1e70dd,'hasContentBefore':!_0x5a4b15['isAtStart'],'hasContentAfter':!_0x1e70dd['isAtEnd']};}['_insertMarkers'](_0xbb057c){const _0x8b15c9=this['context']['plugins']['get']('AIEditing'),_0x436b72=new Set();getEditorFromContext(this['context'])['model']['change'](_0x2ecf5b=>{for(const _0x355d3b of _0xbb057c){const _0x782528=''+_0xc06231+_0x355d3b['type']+':'+_0x355d3b['groupId']+'_'+_0x8b15c9['_nextDataId'](_0x436b72);this['_markers']['set'](_0x782528,{'id':_0x782528,'groupId':_0x355d3b['groupId'],'type':_0x355d3b['type'],'content':_0x355d3b['content']}),_0x2ecf5b['addMarker'](_0x782528,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2ecf5b['createRange'](_0x355d3b['start'],_0x355d3b['end'])});}});}['_createGetContextFn'](_0x376172,_0x317131,_0x317980){let _0x44593b='';return()=>{if(!_0x44593b){const _0xc09ae6=_0x317131['toView'](_0x376172,{'showSuggestionHighlights':!0x0});let _0x2388b7=_0xc09ae6['getChild'](0x0);if(_0x2388b7['is']('containerElement')||(_0x2388b7=_0xc09ae6),!_0x2388b7)return'';let _0xee1552=!0x1;const _0x15fe9c=[];for(const _0x3cf2ac of _0x2388b7['getChildren']())_0x3cf2ac['is']('element','span')&&_0x3cf2ac['hasClass']('ck-ai_review-marker_context-end')&&(_0xee1552=!0x1),_0xee1552&&_0x15fe9c['push'](_0x3cf2ac),_0x3cf2ac['is']('element','span')&&_0x3cf2ac['hasClass']('ck-ai_review-marker_context-start')&&(_0xee1552=!0x0);_0x2388b7['_removeChildren'](0x0,_0x2388b7['childCount']),_0x317980?.['ellipsisBefore']&&_0x2388b7['_appendChild']('…'),_0x2388b7['_appendChild'](_0x15fe9c),_0x317980?.['ellipsisAfter']&&_0x2388b7['_appendChild']('…');const _0x113fe5=_0x317131['htmlProcessor']['domConverter']['viewToDom'](_0xc09ae6),_0x44a10c=_0x317131['htmlProcessor']['htmlWriter']['getHtml'](_0x113fe5);_0x44593b=_0x44a10c;}return _0x44593b;};}['_createGetContentFn'](_0x2da2e3,_0x594426){let _0x3525bd='';return()=>(_0x3525bd||(_0x3525bd=_0x594426['stringify'](_0x2da2e3,{'showSuggestionHighlights':!0x0})),_0x3525bd);}['_createGetContentUsingDataIdFn'](_0x19f989,_0x33d81e,_0x4bd841){let _0xcfc6ac='';return()=>{if(!_0xcfc6ac){const _0x1c3221=_0x4bd841['toView'](new ckeditor5['ModelDocumentFragment'](_0x19f989)),_0x48e91a=_0x4bd841['htmlProcessor']['domConverter']['viewToDom'](_0x1c3221)['querySelector']('[data-id=\x22'+_0x33d81e+'\x22]');_0xcfc6ac=_0x48e91a?.['outerHTML']||'';}return _0xcfc6ac;};}['_findMarkerElement'](_0x3334af,_0x15592f=0x5){let _0x96a121=_0x3334af,_0x355de5=null;for(let _0x2626d7=0x0;_0x2626d7<_0x15592f&&_0x96a121;_0x2626d7++){if(!_0x96a121['className']){_0x96a121=_0x96a121['parentElement'];continue;}if(!(''+_0x96a121['className'])['includes']('ck-ai_review-marker_')){_0x96a121=_0x96a121['parentElement'];continue;}if(!_0x96a121['getAttribute']('data-marker-id'))break;_0x355de5=_0x96a121;break;}return _0x355de5;}['_findMarkerElementById'](_0x413242){const _0x31155b=getEditorFromContext(this['context']),_0x3b787a=_0x31155b['model']['markers']['get'](_0x413242);return _0x3b787a?getMarkerDomElement(_0x31155b['editing'],_0x3b787a):null;}['_getMarkersDataForGroup'](_0xe72db9){return Array['from'](this['_markers']['values']())['filter'](_0x16769b=>_0x16769b['groupId']===_0xe72db9);}['_getOperationStart'](_0x226605){return'insert'===_0x226605['type']?_0x226605['position']:_0x226605['newRange']['start'];}['_getOperationEnd'](_0x1fdbe6,_0x20270e=!0x1){return'insert'===_0x1fdbe6['type']?_0x20270e?_0x1fdbe6['position']:_0x1fdbe6['position']['getShiftedBy'](_0x1fdbe6['howMany']):_0x1fdbe6['newRange']['end'];}['_shiftOperation'](_0x21fc55,_0x2d31e4){return'insert'===_0x21fc55['type']?_0x21fc55['position']=_0x21fc55['position']['getShiftedBy'](_0x2d31e4):'marker'===_0x21fc55['type']&&_0x21fc55['newRange']&&(_0x21fc55['newRange']=new ckeditor5['ModelRange'](_0x21fc55['newRange']['start']['getShiftedBy'](_0x2d31e4),_0x21fc55['newRange']['end']['getShiftedBy'](_0x2d31e4))),_0x21fc55;}['_changeOperationOwnerDocument'](_0x37535e,_0x6fcc05){'insert'===_0x37535e['type']?_0x37535e['position']=this['_changePositionOwnerDocument'](_0x37535e['position'],_0x6fcc05):'marker'===_0x37535e['type']&&_0x37535e['newRange']&&(_0x37535e['newRange']=this['_changeRangeOwnerDocument'](_0x37535e['newRange'],_0x6fcc05));}['_changePositionOwnerDocument'](_0x1b6bf3,_0x5a7923){return new ckeditor5['ModelPosition'](_0x5a7923,_0x1b6bf3['path']);}['_changeRangeOwnerDocument'](_0x5524d4,_0x57882d){return new ckeditor5['ModelRange'](this['_changePositionOwnerDocument'](_0x5524d4['start'],_0x57882d),this['_changePositionOwnerDocument'](_0x5524d4['end'],_0x57882d));}['_changePosition'](_0x10fd61,_0x57dc22){return new ckeditor5['ModelPosition'](_0x57dc22,[..._0x10fd61]);}['_changeRange'](_0x1c1ca7,_0x4813c1,_0x2a4f94,_0x5b93c6){return new ckeditor5['ModelRange'](this['_changePosition'](_0x4813c1,_0x5b93c6),this['_changePosition'](_0x2a4f94,_0x5b93c6));}['_sortMarkers'](_0x232dca){const _0xba4ba1=_0xb9aba2=>{switch(_0xb9aba2){case'insert':return 0x0;case'remove-context':return 0x1;case'remove-only':return 0x2;case'remove-text':return 0x3;}};return _0x232dca['sort']((_0x4da374,_0x303684)=>_0xba4ba1(_0x4da374['type'])-_0xba4ba1(_0x303684['type']));}['_hasSameTopLevelElement'](_0x4bf25f,_0x5a9147){const _0x15a9b5=_0x4bf25f['getChild'](0x0),_0x4fd29b=_0x5a9147['getChild'](0x0);return!(!_0x15a9b5||!_0x4fd29b)&&((!_0x15a9b5['is']('element')||!_0x4fd29b['is']('element')||_0x15a9b5['name']===_0x4fd29b['name'])&&!(_0x15a9b5['is']('element')&&!_0x4fd29b['is']('element')||!_0x15a9b5['is']('element')&&_0x4fd29b['is']('element')));}['_haveSingleTopLevelElement'](_0x1a6cc1){return 0x1===_0x1a6cc1['childCount'];}['_haveOnlyInlineContent'](_0x21d0a1,_0x453f44){for(const _0x32da99 of _0x21d0a1['getChildren']())if(_0x32da99['is']('element')&&!_0x453f44['isInline'](_0x32da99))return!0x1;return!0x0;}['_upsertDataId'](_0x1e67c3,_0xc93b5a){let _0x398a73=_0x1e67c3['getAttribute'](_0x323f49);return _0x398a73||(_0x398a73=_0xc93b5a(),_0x1e67c3['_setAttribute'](_0x323f49,_0x398a73)),_0x398a73;}}class AIReviewCheckResult extends ckeditor5['EmitterMixin'](){['id'];['contentNew'];['contentInitial'];['documentVersion'];constructor({id:_0x4e4eed,contentNew:_0x340778,contentInitial:_0x5a9435,documentVersion:_0x333722}){super(),this['id']=_0x4e4eed,this['contentNew']=_0x340778,this['contentInitial']=_0x5a9435,this['documentVersion']=_0x333722;}}class AIReviewCheckResultChange extends ckeditor5['ObservableMixin'](){['id'];['parent'];['_data'];['_editorOperations']=[];constructor(_0x36b42c,_0x3dacf9,_0x9d2b5d){super(),this['id']=_0x36b42c,this['parent']=_0x9d2b5d,this['_data']=_0x3dacf9,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 _0x4c52a9 extends ckeditor5['ObservableMixin'](){['id']=ckeditor5['uid']();['callId'];['_results']=new Map();['_changes']=[];['_sourceCheck'];['_documentData'];['_aiConnector'];['_reviewParams'];['_reviewArgs'];['_activeRequest']=null;['_currentError'];['_wasAborted']=!0x1;constructor(_0x38da56,_0x1bdbdb,_0x4663c2,_0x212dcf,_0x3f915f){super(),this['_sourceCheck']=_0x1bdbdb,this['_documentData']=_0x38da56,this['_aiConnector']=_0x4663c2,this['_reviewParams']=_0x212dcf,this['_reviewArgs']=_0x3f915f,this['on']('change:status',(_0x30bc03,_0x5b109b,_0x2489db)=>{'aborted'==_0x2489db&&(this['_wasAborted']=!0x0),this['fire']('reviewCheckRunUpdated',{'status':_0x2489db,'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'](_0x17f6b5=>'pending'===_0x17f6b5['status']);}get['currentError'](){return this['_currentError'];}['updateDocumentData'](_0x2aa115){this['_documentData']=_0x2aa115;}async['start'](){this['status']='loading',this['_currentError']=void 0x0;try{this['_activeRequest']=this['_createApiRequest']();const _0x3f7616=await this['_activeRequest']['getStream']();this['status']='data';for await(const _0x4bd73f of _0x3f7616)'unmodified'!==_0x4bd73f['data']['operation']&&('error'!==_0x4bd73f['data']['operation']?'review-metadata'!==_0x4bd73f['event']?this['_addReviewCheckResult'](_0x4bd73f['data']['dataId'],_0x4bd73f['data']['textDelta']):this['callId']=_0x4bd73f['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(_0x3242b6){this['_currentError']=_0x3242b6,_0x3242b6 instanceof Error&&_0x3242b6['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'](_0x49c51c,_0xdca16b){const _0xca35e7=this['_results']['get'](_0x49c51c);if(!_0xca35e7)return;if(0x0===_0xdca16b['length'])return;const _0x3caab2=[];_0xdca16b['forEach']((_0x47e905,_0x24dc76)=>{const _0x3f1df5=new AIReviewCheckResultChange(_0xca35e7['id']+'-'+_0x24dc76,_0x47e905,_0xca35e7);_0x3f1df5['on']('change:status',()=>{this['fire']('reviewCheckResultChangeStatusUpdated',{'change':_0x3f1df5,'status':_0x3f1df5['status']});}),_0x3f1df5['on']('change:isActivated',()=>{_0x3f1df5['isActivated']?this['fire']('reviewCheckResultActivated',{'change':_0x3f1df5}):this['fire']('reviewCheckResultDeactivated',{'change':_0x3f1df5});}),this['_changes']['push'](_0x3f1df5),_0x3caab2['push'](_0x3f1df5);}),this['fire']('reviewCheckResultReady',{'changes':_0x3caab2,'result':_0xca35e7,'source':this});}['abort'](){this['_activeRequest']&&(this['_activeRequest']['abortController']['abort'](),this['_activeRequest']=null,this['status']='aborted');}['isChangeActive'](_0x4ebec1){const _0x99ca8c=this['_changes']['find'](_0x1419a2=>_0x1419a2['id']===_0x4ebec1);return!(!_0x99ca8c||'pending'!==_0x99ca8c['status']);}['isAnyChangeActivated'](){return this['_changes']['some'](_0x21e649=>!0x0===_0x21e649['isActivated']);}['getActiveChanges'](){return this['_changes']['filter'](_0x5f4770=>'pending'===_0x5f4770['status']);}['getChangeById'](_0x116710){return this['_changes']['find'](_0x122cdd=>_0x122cdd['id']===_0x116710);}['markAllChangesAsAccepted'](){for(const _0x2a31dd of this['_changes'])'pending'===_0x2a31dd['status']&&(_0x2a31dd['status']='accepted');this['_checkIfFinished']();}['markChangeAsAccepted'](_0x3bcfb6){const _0x34e78a=this['_changes']['find'](_0x5cd446=>_0x5cd446['id']===_0x3bcfb6);_0x34e78a&&'pending'===_0x34e78a['status']&&(_0x34e78a['status']='accepted'),this['_checkIfFinished']();}['markChangeAsRejected'](_0x3b2f22){const _0x5386b9=this['_changes']['find'](_0x306e54=>_0x306e54['id']===_0x3b2f22);_0x5386b9&&'pending'===_0x5386b9['status']&&(_0x5386b9['status']='rejected'),this['_checkIfFinished']();}['markChangeAsOutdated'](_0x3976ac){const _0x3962c5=this['_changes']['find'](_0x4a9499=>_0x4a9499['id']===_0x3976ac);_0x3962c5&&'pending'===_0x3962c5['status']&&(_0x3962c5['status']='outdated'),this['_checkIfFinished']();}['markChangeAsPending'](_0x270c57){const _0x3f216f=this['_changes']['find'](_0x29e16=>_0x29e16['id']===_0x270c57);_0x3f216f&&'outdated'===_0x3f216f['status']&&(_0x3f216f['status']='pending'),this['_checkIfFinished']();}['activateChange'](_0x1225c6){this['_changes']['filter'](_0x42409b=>_0x42409b['isActivated']&&_0x42409b['id']!==_0x1225c6)['forEach'](_0x59dc29=>{_0x59dc29['isActivated']=!0x1;});const _0x46e2e8=this['_changes']['find'](_0x393c44=>_0x393c44['id']===_0x1225c6);_0x46e2e8&&'pending'===_0x46e2e8['status']&&(_0x46e2e8['isActivated']=!0x0);}['deactivateChange'](){this['_changes']['filter'](_0x328cd7=>_0x328cd7['isActivated'])['forEach'](_0x473b4a=>{_0x473b4a['isActivated']=!0x1;});}['forceReadyState'](){this['status']='ready';}async['sendRating'](_0x3e043){if('initialized'===this['status']||'loading'===this['status']||'data'===this['status']||this['_wasAborted'])return;if(!this['callId']||0x0===this['_changes']['length'])return;let _0x432859;if(_0x3e043){const _0x4eb130=this['_changes']['find'](_0x25c622=>_0x25c622['id']===_0x3e043);if(_0x4eb130&&_0x4eb130['isRated'])return;_0x4eb130&&(_0x432859=_0x4eb130['parent']['id'],_0x4eb130['isRated']=!0x0);}const _0x283e28={'positiveCount':this['_changes']['filter'](_0x422d9d=>'accepted'===_0x422d9d['status'])['length'],'totalCount':this['_changes']['length']};this['_sendRatingRequest'](_0x283e28,this['callId'],_0x432859);}['_addReviewCheckResult'](_0x53561d,_0x543015){const _0x398d37=this['_documentData']['elements']['get'](_0x53561d);if(!_0x398d37)return;const _0x49599b=_0x398d37['getContent']();if(_0x49599b===_0x543015)return;const _0x315f8a=new AIReviewCheckResult({'id':_0x53561d,'contentInitial':_0x49599b,'contentNew':_0x543015,'documentVersion':this['_documentData']['version']});this['_results']['set'](_0x315f8a['id'],_0x315f8a),this['fire']('reviewCheckResultAdded',{'result':_0x315f8a,'source':this});}['_checkIfFinished'](){'finished'===this['status']&&(this['_changes']['filter'](_0x16979e=>'pending'===_0x16979e['status'])['length']>0x0&&(this['status']='ready')),'ready'===this['status']&&(0x0===this['_changes']['filter'](_0xcac3=>'pending'===_0xcac3['status'])['length']&&(this['status']='finished'));}}class AIReviewSystemCheckRun extends _0x4c52a9{get['subTitle'](){if(!this['_reviewParams']||0x0===this['_reviewParams']['length'])return'';const _0x2a1fc4=[];if(this['_reviewParams']['length']>0x0&&this['_sourceCheck']['options'])for(let _0x235176=0x0;_0x235176<this['_reviewParams']['length'];_0x235176++){if(!this['_reviewParams'][_0x235176]||!this['_sourceCheck']['options'][_0x235176])continue;const _0x375067=this['_sourceCheck']['options'][_0x235176],_0x2eebf2=_0x375067['data']?.['find'](_0x3432c6=>_0x3432c6['id']===this['_reviewParams'][_0x235176]);_0x2eebf2&&_0x2a1fc4['push'](_0x2eebf2['label']);}return _0x2a1fc4['join'](',\x20');}get['reviewName'](){return this['_composeReviewName']();}['_createApiRequest'](){return this['_aiConnector']['callSystemReview']({'reviewName':this['_composeReviewName'](),'content':this['_documentData']['content'],'args':this['_reviewArgs']});}['_sendRatingRequest'](_0x5b73b6,_0x19f21b,_0x60765e){return this['_aiConnector']['upsertAIReviewRating'](this['reviewName'],_0x19f21b,_0x5b73b6,_0x60765e);}['_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(_0x4964a0,_0x589426)=>{const _0x2b7199=this['_aiReviewCheckList']['getCheckById'](_0x589426['id']);if(_0x2b7199){this['_onReviewCheckRun'](_0x589426),this['_aiReviewCoreEditing']['switchToReadOnly'](),this['_currentReviewCheckRun']=this['_createReviewCheckRun'](_0x589426,_0x2b7199),this['_aiReviewCoreUi']['setCheckResultTitle'](this['_currentReviewCheckRun']['title'],this['_currentReviewCheckRun']['subTitle']),this['_currentReviewCheckRun']['on']('reviewCheckRunUpdated',(_0x44006f,_0x367791)=>{switch(_0x367791['status']){case'data':case'loading':this['_aiReviewCoreUi']['showCheckRunResults'](_0x367791);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'!==_0x367791['status']&&'error-chunk'!==_0x367791['status']&&'error-general'!==_0x367791['status']||this['_currentReviewCheckRun']?.['sendRating']();}),this['_currentReviewCheckRun']['on']('reviewCheckResultAdded',(_0x42e95c,_0x293829)=>{if(!this['_currentReviewCheckRun'])throw new ckeditor5['CKEditorError']('ai-review-mode-no-current-check-run',this);const _0x515738=this['_diffContent'](_0x293829['result']['contentInitial'],_0x293829['result']['contentNew']);_0x293829['source']['addResultChanges'](_0x293829['result']['id'],_0x515738);}),this['_currentReviewCheckRun']['on']('reviewCheckResultReady',(_0x28a829,_0x337024)=>{for(const _0x2a1d9f of _0x337024['changes'])this['_aiReviewCoreUi']['showCheckRunResult'](_0x2a1d9f);this['_markChangePositionInEditorContent'](_0x337024['changes'],_0x337024['source']['documentData']);}),this['_currentReviewCheckRun']['on']('reviewCheckResultChangeStatusUpdated',(_0x4932e2,_0x93a14d)=>{this['_aiReviewCoreUi']['updateChangeState'](_0x93a14d['change']['id'],_0x93a14d['status']);}),this['_currentReviewCheckRun']['on']('reviewCheckResultActivated',(_0x407138,_0x44e89f)=>{this['_onReviewCheckResultActivated'](_0x44e89f);}),this['_currentReviewCheckRun']['on']('reviewCheckResultDeactivated',()=>{this['_onReviewCheckResultDeactivated']();});try{await this['_currentReviewCheckRun']['start']();}catch(_0x1d56a4){_0x1d56a4 instanceof Error&&_0x1d56a4['message']['includes']('ai-request-aborted')||(_0x1d56a4 instanceof ckeditor5['CKEditorError']?this['_logError'](_0x1d56a4):this['_logError'](new ckeditor5['CKEditorError']('ai-review-mode-check-run-failed',this,void 0x0,_0x1d56a4)));}}else this['_logError'](new ckeditor5['CKEditorError']('ai-review-mode-source-check-not-found',this,{'checkId':_0x589426['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 _0x29d52f=this['_currentReviewCheckRun']['getActiveChanges']();if(!_0x29d52f['length'])return;this['_aiReviewCoreEditing']['applyChange'](_0x29d52f['map'](_0x31eed9=>_0x31eed9['id']));const _0x1a182d=this['_currentReviewCheckRun'];_0x1a182d['markAllChangesAsAccepted'](),_0x1a182d['sendRating']();}),this['listenTo'](this['_aiReviewCoreUi'],'acceptChange',(_0x34549d,_0x4d4326)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0x4d4326['id'])&&(this['_aiReviewCoreEditing']['applyChange']([_0x4d4326['id']]),this['_currentReviewCheckRun']['markChangeAsAccepted'](_0x4d4326['id']),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0x4d4326['id']));}),this['listenTo'](this['_aiReviewCoreUi'],'dismissChange',(_0x42fbc5,_0x28bfd6)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0x28bfd6['id'])&&(this['_aiReviewCoreEditing']['rejectChange'](_0x28bfd6['id']),this['_currentReviewCheckRun']['markChangeAsRejected'](_0x28bfd6['id']),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0x28bfd6['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',(_0x171f33,_0x3e4c13)=>{this['_onActivateChange'](_0x3e4c13);}),this['listenTo'](this['_aiReviewCoreUi'],'deactivateChange',(_0x5144e6,_0x1135ae)=>{this['_onDeactivateChange'](_0x1135ae);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerClicked',(_0x1b0bf4,_0xb3ac26)=>{this['_onChangeMarkerClicked'](_0x1b0bf4,_0xb3ac26);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerHovered',(_0x39c961,_0x2b07ef)=>{this['_onChangeMarkerHovered'](_0x39c961,_0x2b07ef);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerBlurred',()=>{this['_onChangeMarkerBlurred']();}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerRemoved',(_0x35a87,_0x469698)=>{this['_onChangeMarkerRemoved'](_0x35a87,_0x469698);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerRestored',(_0x3ebff5,_0x49ac42)=>{this['_onChangeMarkerRestored'](_0x3ebff5,_0x49ac42);});}['_createReviewCheckRun'](_0x481f00,_0x2d66b2){return new AIReviewSystemCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x2d66b2,this['_aiConnector'],_0x481f00['params'],_0x481f00['args']);}['_onChangeMarkerRemoved'](_0x567d5a,_0x407067){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['markChangeAsOutdated'](_0x407067['changeId']);}['_onChangeMarkerRestored'](_0x209b26,_0x1d9c0c){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['markChangeAsPending'](_0x1d9c0c['changeId']);}['_onCheckRunFinished'](){this['_aiReviewCoreUi']['showReviewCompletedView']();}['_initRequiredPlugins'](){this['_aiConnector']=this['context']['plugins']['get']('AIConnector');}['_onReviewRunLeave'](_0x210544=!0x1){this['_currentReviewCheckRun']&&(this['_currentReviewCheckRun']['hasModifications']||this['_currentReviewCheckRun']['sendRating'](),this['_currentReviewCheckRun']['stopListening'](),this['_currentReviewCheckRun']['abort'](),this['_currentReviewCheckRun']=void 0x0),_0x210544&&this['_aiReviewCoreUi']['showReviewCheckList'](),this['_aiReviewCoreEditing']['clearAllMarkers'](),this['_aiReviewCoreEditing']['switchToEdit'](),this['_changeActivationSource']=null;const _0x32b9c7=this['_aiReviewCoreEditing']['getEditor']();_0x32b9c7&&_0x32b9c7['editing']['view']['change'](_0x2982ed=>{const _0x2c9575=_0x32b9c7['editing']['view']['document']['getRoot']();_0x2982ed['removeClass']('ck-ai_review-diff',_0x2c9575),_0x2982ed['removeClass']('ck-ai_review-highlights',_0x2c9575),_0x2982ed['removeClass']('ck-ai-translate-mode-content',_0x2c9575);});}['_getTranslationWithDefault'](_0x11e57c,_0x1f03c5){const _0x292a2f=getTranslation$i(this['context']['locale'],_0x11e57c);return _0x292a2f===_0x11e57c?_0x1f03c5:_0x292a2f;}['_logError'](_0x31960e,_0x155027=!0x1){ckeditor5['logError'](_0x31960e['message']),_0x155027||(_0x31960e['message']['startsWith']('ai-review-mode-models-unable-to-retrieve')?this['_aiReviewCoreUi']['showGeneralReviewCoreErrorView']():this['_aiReviewCoreUi']['showGeneralResultsErrorView']());}['_scrollToChange'](_0x3f4785){if('content'===this['_changeActivationSource']){const _0x103247=this['_aiReviewCoreUi']['getChangeElement'](_0x3f4785);_0x103247&&ckeditor5['scrollAncestorsToShowTarget'](_0x103247['closest']('.ck-ai_review__check-run-result')||_0x103247);}else{if('panel'===this['_changeActivationSource']){const _0x5f0ea9=this['_getChangeContentElement'](_0x3f4785);if(!_0x5f0ea9)return;const _0x7de305={'target':_0x5f0ea9,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};ckeditor5['scrollViewportToShowTarget'](_0x7de305);}}}}const _0x11920d=[{'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 _0x2c2351{['id'];['commandId'];['title'];['description'];['isParameterized'];['useArgs'];['options'];['args'];get['apiId'](){return this['commandId'];}constructor(_0x3e358){this['id']=_0x3e358['id'],this['commandId']=_0x3e358['commandId'],this['title']=_0x3e358['title'],this['description']=_0x3e358['description'],this['isParameterized']=_0x3e358['isParameterized'],this['useArgs']=_0x3e358['useArgs'],this['options']=_0x3e358['options'],this['args']=_0x3e358['args'];}}class AIReviewCheckList extends ckeditor5['ObservableMixin'](){['_checks']=[];['setupChecks'](_0xadd727){this['_checks']=_0xadd727['map'](_0x2ecf64=>new _0x2c2351(_0x2ecf64));}get['checks'](){return this['_checks'];}['getCheckById'](_0x4d0050){return this['checks']['find'](_0x197534=>_0x197534['id']===_0x4d0050);}['removeCheckById'](_0x23dcdc){this['_checks']=this['_checks']['filter'](_0x15d660=>_0x15d660['id']!==_0x23dcdc);}}class AIReviewCheckCustom extends _0x2c2351{['_models']=[];['_defaultModel']=null;constructor(_0x10b5c6,_0x73570a,_0xcb187f){super(_0x10b5c6),this['_models']=_0x73570a,this['_defaultModel']=_0xcb187f;}get['models'](){return this['_models'];}get['defaultModel'](){return this['_defaultModel'];}}class AIReviewCheckExtra extends _0x2c2351{['isExtra']=!0x0;['prompt'];['model'];['_defaultModel']=null;constructor(_0x3a0c09,_0x18b180,_0x481a70){super(_0x3a0c09),this['prompt']=_0x3a0c09['prompt'],this['model']=_0x3a0c09['model'],this['model']?this['_defaultModel']=_0x18b180['find'](_0x11f1c5=>_0x11f1c5['id']===this['model'])||null:this['_defaultModel']=_0x481a70;}get['defaultModel'](){return this['_defaultModel'];}}class AIReviewModeCheckList extends AIReviewCheckList{['_allModels']=[];['_recommendedModels']=[];['_defaultModel']=null;constructor(_0x527982,_0x401a29,_0x5671ee){super(),this['_allModels']=_0x527982,this['_recommendedModels']=_0x401a29,this['_defaultModel']=_0x5671ee;}['setupChecks'](_0x400c1b){this['_checks']=_0x400c1b['map'](_0x111e78=>!0x0===_0x111e78['isExtra']?new AIReviewCheckExtra(_0x111e78,this['_allModels'],this['_defaultModel']):'custom'===_0x111e78['id']?new AIReviewCheckCustom(_0x111e78,this['_recommendedModels'],this['_defaultModel']):new _0x2c2351(_0x111e78));}}class AIReviewCustomCheckRun extends _0x4c52a9{['_prompt'];['_model'];constructor(_0x3d35ba,_0x45e562,_0x691214,_0x5278d2,_0x485d70){super(_0x691214,_0x5278d2,_0x485d70),this['_prompt']=_0x3d35ba,this['_model']=_0x45e562;}get['subTitle'](){return this['_prompt'];}['_createApiRequest'](){return this['_aiConnector']['callCustomReview']({'content':this['_documentData']['content'],'prompt':this['_prompt'],'model':this['_model']});}['_sendRatingRequest'](_0x39056a,_0x30373c,_0x444b4a){return this['_aiConnector']['upsertCustomAIReviewRating'](_0x30373c,_0x39056a,_0x444b4a);}}class AIReviewExtraCheckRun extends AIReviewCustomCheckRun{get['subTitle'](){return'';}set['prompt'](_0x4da519){this['_prompt']=_0x4da519;}set['model'](_0x3d7d1d){this['_model']=_0x3d7d1d;}}class AIReviewModeController extends AIReviewCoreController{static get['pluginName'](){return'AIReviewModeController';}['_isDiffOn']=!0x1;['_hasDefaultAvailableCommands']=!0x1;constructor(_0x2d2b01){super(_0x2d2b01),this['_hasDefaultAvailableCommands']=!this['context']['config']['get']('ai.review.availableCommands'),this['context']['config']['define']('ai.review.availableCommands',_0x11920d['map'](_0x4e5e9b=>_0x4e5e9b['id'])),this['context']['config']['define']('ai.review.extraCommands',[]);}async['init'](){await super['init'](),this['listenTo'](this['_aiReviewCoreUi'],'toggleDiff',(_0x32846e,_0x2e8d73)=>{this['_isDiffOn']=_0x2e8d73['on'],this['_onDiffChange'](this['_isDiffOn']);});}['_initRequiredPlugins'](){super['_initRequiredPlugins'](),this['_aiReviewCoreUi']=this['context']['plugins']['get']('AIReviewModeUI'),this['_aiReviewCoreEditing']=this['context']['plugins']['get']('AIReviewCoreEditing');}['_createReviewCheckRun'](_0x41522f,_0x2a4411){return _0x41522f['isCustom']?new AIReviewCustomCheckRun(_0x41522f['args']['prompt'],_0x41522f['args']['model'],this['_aiReviewCoreEditing']['getDocumentData'](),_0x2a4411,this['_aiConnector']):_0x2a4411['isExtra']?new AIReviewExtraCheckRun(_0x2a4411['prompt'],_0x2a4411['defaultModel']['id'],this['_aiReviewCoreEditing']['getDocumentData'](),_0x2a4411,this['_aiConnector']):new AIReviewSystemCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x2a4411,this['_aiConnector'],_0x41522f['params'],_0x41522f['args']);}['_onReviewCheckResultActivated'](_0x43b5e2){this['_aiReviewCoreUi']['setActiveStateInResults'](_0x43b5e2['change']['id']),this['_scrollToChange'](_0x43b5e2['change']['id']);const _0x5a74b7=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x43b5e2['change']['id']);if(!_0x5a74b7)return;const _0x2f69c6=this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x43b5e2['change'],()=>_0x5a74b7['getElement'](),void 0x0,'click',_0x2f69c6?.['editing']?.['view']?.['getDomRoot'](),_0x2f69c6?.['ui']?.['viewportOffset']),this['_aiReviewCoreEditing']['setMarkersInElementAsActive'](_0x43b5e2['change']['id']);}['_onReviewCheckResultDeactivated'](){this['_aiReviewCoreUi']['resetActiveStateInResults'](),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_aiReviewCoreEditing']['setAllMarkersAsInactive']();}['_onActivateChange'](_0x2a494f){this['_currentReviewCheckRun']&&'click'===_0x2a494f['uiInteraction']&&(this['_changeActivationSource']='panel',this['_currentReviewCheckRun']['activateChange'](_0x2a494f['id']));}['_onDeactivateChange'](_0x525afa){this['_currentReviewCheckRun']&&'balloon'===_0x525afa['origin']&&this['_currentReviewCheckRun']['deactivateChange']();}['_onChangeMarkerClicked'](_0x5cf4d0,_0x1ba3a8){if(!this['_currentReviewCheckRun'])return;this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x1ba3a8['changeId']);const _0x4390e3=this['_currentReviewCheckRun']['getChangeById'](_0x1ba3a8['changeId']);if(!_0x4390e3)return;const _0x5db3c5=this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x4390e3,_0x1ba3a8['markerElement'],_0x1ba3a8['domEvent'],'click',_0x5db3c5?.['editing']?.['view']?.['getDomRoot'](),_0x5db3c5?.['ui']?.['viewportOffset']);}['_onChangeMarkerHovered'](_0x3f60d6,_0x542582){if(!this['_currentReviewCheckRun'])return;if(this['_currentReviewCheckRun']['isAnyChangeActivated']())return;const _0x244b83=this['_currentReviewCheckRun']['getChangeById'](_0x542582['changeId']);if(!_0x244b83)return;const _0x676ef8=this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x244b83,_0x542582['markerElement'],_0x542582['domEvent'],'hover',_0x676ef8?.['editing']?.['view']?.['getDomRoot'](),_0x676ef8?.['ui']?.['viewportOffset']);}['_onChangeMarkerBlurred'](){if(!this['_currentReviewCheckRun'])return;this['_currentReviewCheckRun']['isAnyChangeActivated']()||this['_aiReviewCoreUi']['hideChangeBalloon']();}['_getChangeContentElement'](_0x3a6a23){const _0x3fceb2=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x3a6a23);return _0x3fceb2?_0x3fceb2['getElement']():null;}['_markChangePositionInEditorContent'](_0x4929fd,_0x1ae85f){this['_aiReviewCoreEditing']['markChangePositionInEditorContent'](_0x4929fd,_0x1ae85f);}['_diffContent'](_0x1b98f4,_0x465d03){return this['_aiReviewCoreEditing']['diffContent'](_0x1b98f4,_0x465d03);}['_onReviewCheckRun'](){this['_onDiffChange'](this['_isDiffOn']);}['_onDiffChange'](_0x24e638){const _0x23d0a3=this['_aiReviewCoreEditing']['getEditor']();_0x24e638?this['_aiReviewCoreUi']['hideDiffInBalloon']():this['_aiReviewCoreUi']['showDiffInBalloon'](),_0x23d0a3&&_0x23d0a3['editing']['view']['change'](_0x1b26dc=>{const _0x257fa9=_0x23d0a3['editing']['view']['document']['getRoot']();for(const _0x329870 of _0x257fa9['getClassNames']())_0x329870['startsWith']('ck-ai_review-')&&_0x1b26dc['removeClass'](_0x329870,_0x257fa9);_0x1b26dc['addClass'](_0x24e638?'ck-ai_review-diff':'ck-ai_review-highlights',_0x257fa9);});}async['_getChecksList'](){const _0x7be846=[..._0x11920d,...this['_getExtraChecks']()],_0x1b5853=this['context']['config']['get']('ai.review.availableCommands')||[];this['_logErrorForNonExistentChecks'](_0x1b5853,_0x7be846);let _0x10fd80=_0x7be846;this['_hasDefaultAvailableCommands']||(_0x10fd80=_0x1b5853['map'](_0x1c8c77=>_0x7be846['find'](_0x227dd1=>_0x227dd1['id']===_0x1c8c77))['filter'](_0x1316f9=>!!_0x1316f9)),_0x10fd80=_0x10fd80['map'](_0x4c8820=>_0x4c8820['isExtra']?_0x4c8820:this['_translateReviewCheck'](_0x4c8820));const _0x1ecba4=_0x10fd80['some'](_0x5ecf3e=>_0x5ecf3e['isExtra']||'custom'===_0x5ecf3e['id']);let _0x1a90b5=[],_0x3e8676=[],_0x2e5447=null;if(_0x1ecba4){const _0x4a633b=await this['_getModels']();_0x1a90b5=_0x4a633b['all'],_0x3e8676=_0x4a633b['recommended'],_0x2e5447=_0x4a633b['default'];}const _0x3f417b=new AIReviewModeCheckList(_0x1a90b5,_0x3e8676,_0x2e5447);return _0x3f417b['setupChecks'](_0x10fd80),_0x1ecba4&&this['_filterChecksWithMissingModel'](_0x3f417b),_0x3f417b;}['_getExtraChecks'](){return(this['context']['config']['get']('ai.review.extraCommands')||[])['map'](_0x2457bf=>({'id':_0x2457bf['id'],'commandId':_0x2457bf['id'],'title':_0x2457bf['label'],'description':_0x2457bf['description'],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x2457bf['prompt'],'model':_0x2457bf['model']}));}['_logErrorForNonExistentChecks'](_0x403e98,_0x2b3286){const _0x478993=_0x403e98['filter'](_0x2ca37d=>!_0x2b3286['some'](_0x4736ec=>_0x4736ec['id']===_0x2ca37d));_0x478993['length']&&this['_logError'](new ckeditor5['CKEditorError']('ai-review-mode-non-existent-commands-used',this,{'commandIds':_0x478993['join'](',\x20')}),!0x0);}async['_getModels'](){try{const _0xfbc57=new _0x2fa4df({'connector':this['_aiConnector'],'config':this['context']['config']['get']('ai.models'),'locale':this['context']['locale']});return{'all':await _0xfbc57['getAll'](),'recommended':await _0xfbc57['getAvailableModels'](),'default':await _0xfbc57['getDefault']()};}catch(_0x27b033){return this['_logError'](new ckeditor5['CKEditorError']('ai-review-mode-models-unable-to-retrieve',this,void 0x0,_0x27b033)),{'all':[],'recommended':[],'default':null};}}['_translateReviewCheck'](_0x198b18){const _0x5e0e13='AI_REVIEW_CHECK_'+_0x198b18['id']['toUpperCase']()['replaceAll']('-','_'),_0x254637={..._0x198b18,'title':this['_getTranslationWithDefault'](_0x5e0e13+'_TITLE',_0x198b18['title']),'description':this['_getTranslationWithDefault'](_0x5e0e13+'_DESCRIPTION',_0x198b18['description'])};return _0x198b18['options']&&(_0x254637['options']=_0x198b18['options']['map'](_0x347808=>({..._0x347808,'label':this['_getTranslationWithDefault'](_0x5e0e13+'_OPTIONS_LABEL',_0x347808['label']||''),'data':_0x347808['data']?_0x347808['data']['map'](_0x3e16ef=>({..._0x3e16ef,'label':this['_getTranslationWithDefault'](_0x5e0e13+'_OPTIONS_DATA_'+_0x3e16ef['id']['toUpperCase'](),_0x3e16ef['label'])})):void 0x0}))),_0x254637;}['_filterChecksWithMissingModel'](_0x2d7bc7){const _0x156ce1=[];_0x2d7bc7['checks']['forEach'](_0x94318a=>{(_0x94318a instanceof AIReviewCheckExtra&&!_0x94318a['defaultModel']||_0x94318a instanceof AIReviewCheckCustom&&!_0x94318a['models']['length'])&&_0x156ce1['push'](_0x94318a['id']);}),_0x156ce1['length']&&_0x156ce1['forEach'](_0x19cac5=>{_0x2d7bc7['removeCheckById'](_0x19cac5),this['_logError'](new ckeditor5['CKEditorError']('ai-review-mode-command-unavailable-due-to-missing-model',this,{'commandId':_0x19cac5}),!0x0);});}}class _0x22eb28 extends ckeditor5['ContextPlugin']{static get['requires'](){return[AIReviewModeController,_0x5ac87c,AIReviewCoreEditing];}static get['pluginName'](){return'AIReviewMode';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class AITranslateCheck extends _0x2c2351{get['apiId'](){return'translate';}}class AITranslateCheckList extends AIReviewCheckList{['setupChecks'](_0x5dda47){this['_checks']=_0x5dda47['map'](_0x517bf7=>new AITranslateCheck(_0x517bf7));}}class AITranslateCheckRun extends AIReviewSystemCheckRun{['_title'];constructor(_0x536619,_0x56e700,_0x1f12ad,_0x24a23e,_0x1027bd,_0x4ed142){super(_0x536619,_0x56e700,_0x1f12ad,_0x1027bd,_0x4ed142),this['_title']=_0x24a23e;}get['title'](){return this['_title'];}get['subTitle'](){return this['_sourceCheck']['title'];}}class AITranslateController extends AIReviewCoreController{static get['pluginName'](){return'AITranslateController';}constructor(_0x180c49){super(_0x180c49),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'](_0x486163,_0x165abf){return new AITranslateCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x165abf,this['_aiConnector'],getTranslation$i(this['context']['locale'],'AI_REVIEW_CHECK_TRANSLATE_TITLE'),_0x486163['params'],_0x486163['args']);}['_onReviewCheckResultActivated'](_0x443b41){this['_aiReviewCoreUi']['setActiveStateInResults'](_0x443b41['change']['id']),this['_aiReviewCoreEditing']['setMarkersInElementAsActive'](_0x443b41['change']['id']);}['_onReviewCheckResultDeactivated'](){this['_aiReviewCoreEditing']['setAllMarkersAsInactive'](),this['_aiReviewCoreUi']['resetActiveStateInResults']();}['_onActivateChange'](_0x4357c9){this['_currentReviewCheckRun']&&('hover'===_0x4357c9['uiInteraction']&&(this['_changeActivationSource']='panel',this['_currentReviewCheckRun']['activateChange'](_0x4357c9['id'])),'click'===_0x4357c9['uiInteraction']&&this['_scrollToChange'](_0x4357c9['id']));}['_onDeactivateChange'](_0x254d33){this['_currentReviewCheckRun']&&'panel'===_0x254d33['origin']&&this['_currentReviewCheckRun']['deactivateChange']();}['_onChangeMarkerClicked'](_0x12bd95,_0x244086){this['_currentReviewCheckRun']&&(this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x244086['changeId']),this['_scrollToChange'](_0x244086['changeId']));}['_onChangeMarkerHovered'](_0x27f6a1,_0x2c4f64){this['_currentReviewCheckRun']&&(this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x2c4f64['changeId']),this['_aiReviewCoreEditing']['reactivateMarkers'](_0x2c4f64['changeId']));}['_onChangeMarkerBlurred'](){this['_currentReviewCheckRun']&&'content'===this['_changeActivationSource']&&(this['_currentReviewCheckRun']['deactivateChange'](),this['_aiReviewCoreEditing']['setAllMarkersAsInactive']());}['_getChangeContentElement'](_0x4b2fe7){return this['_aiReviewCoreEditing']['getContentElementForChange'](_0x4b2fe7);}['_markChangePositionInEditorContent'](_0x382dd2,_0xdfeb54){this['_aiReviewCoreEditing']['markChangePositionInEditorContent'](_0x382dd2,_0xdfeb54);}['_diffContent'](_0x2ceec,_0x59fc47){return this['_aiReviewCoreEditing']['diffContent'](_0x2ceec,_0x59fc47,!0x0);}['_onReviewCheckRun'](){const _0x50c104=this['_aiReviewCoreEditing']['getEditor']();_0x50c104&&_0x50c104['editing']['view']['change'](_0x5e6691=>{const _0x20811b=_0x50c104['editing']['view']['document']['getRoot']();for(const _0x1742f0 of _0x20811b['getClassNames']())(_0x1742f0['startsWith']('ck-ai-review-')||'ck-ai-translate-'===_0x1742f0)&&_0x5e6691['removeClass'](_0x1742f0,_0x20811b);_0x5e6691['addClass']('ck-ai-translate-mode-content',_0x20811b);});}async['_getChecksList'](){const _0xcd7ae2=[],_0x35f9d7=this['context']['config']['get']('ai.translate.languages')||[];for(const _0x1c56ad of _0x35f9d7)_0xcd7ae2['push']({'title':_0x1c56ad['label'],'id':_0x1c56ad['id'],'commandId':_0x1c56ad['id'],'description':'','isParameterized':!0x1,'useArgs':!0x0,'args':{'language':_0x1c56ad['id']}});const _0x4ed808=new AITranslateCheckList();return _0x4ed808['setupChecks'](this['_translateChecks'](_0xcd7ae2)),_0x4ed808;}['_translateChecks'](_0x2b0961){return _0x2b0961['map'](_0x8798d3=>{const _0x519654='AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_'+_0x8798d3['title']['toUpperCase']()['replaceAll']('-','_');return{..._0x8798d3,'title':this['_getTranslationWithDefault'](_0x519654,_0x8798d3['title'])};});}}class AITranslateCheckResultsView extends AIReviewCoreUICheckResultsView{constructor(_0xac1c89,_0x9b68f6){super(_0xac1c89,_0x9b68f6),this['on']('set:isLoading',(_0x3e6adc,_0x26be29,_0x27541e)=>{_0x27541e&&(this['headerTitle']=getTranslation$i(this['locale'],'AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE'));}),this['on']('set:isResultReady',(_0x1a0179,_0x3fbe0c,_0x57e844)=>{_0x57e844&&(this['headerTitle']=getTranslation$i(this['locale'],'AI_TRANSLATE_CHECK_RESULTS_READY_TITLE'));});}['_createAcceptAllButtonView'](){const _0x123c95=super['_createAcceptAllButtonView']();return _0x123c95['set']('label',getTranslation$i(this['locale'],'AI_TRANSLATE_ACCEPT_ALL')),_0x123c95;}['_createExitReviewButtonView'](){const _0x11be5a=super['_createExitReviewButtonView']();return _0x11be5a['set']('label',getTranslation$i(this['locale'],'AI_CHAT_HISTORY_CANCEL')),_0x11be5a;}}class AITranslateCheckListView extends AIReviewCoreReviewCheckListView{['_setupTemplate'](){const _0x32671a=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-translate__check-list-wrapper',_0x32671a['if']('isVisible','ck-hidden',_0x59257e=>!_0x59257e)]},'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',_0x32671a['if']('isVisible','ck-hidden',_0x4be1df=>!_0x4be1df)]},'children':this['_checkViews']}]});}}class AITranslateUI extends _0x489eba{static get['pluginName'](){return'AITranslateUI';}['createMainView'](){const _0x30c27f=this['context']['locale'],_0x4ac740=new ckeditor5['FormHeaderView'](_0x30c27f,{'label':getTranslation$i(_0x30c27f,'AI_REVIEW_CHECK_TRANSLATE_TITLE'),'icon':ckeditor5['IconAITranslate'],'class':'ck-ai-header\x20ck-ai-header_review-translate'}),_0x499935=new _0x435aa5(_0x30c27f,{'header':_0x4ac740,'list':new AITranslateCheckListView(_0x30c27f),'results':new AITranslateCheckResultsView(_0x30c27f,{'generalErrorText':getTranslation$i(_0x30c27f,'AI_TRANSLATE_GENERAL_ERROR_MESSAGE')}),'completed':new AIReviewCoreReviewCompletedView(_0x30c27f,{'headerText':getTranslation$i(_0x30c27f,'AI_TRANSLATE_FINISH_HEADER_TITLE'),'emptyResultsText':getTranslation$i(_0x30c27f,'AI_TRANSLATE_EMPTY_RESULTS_TEXT'),'buttonText':getTranslation$i(_0x30c27f,'AI_TRANSLATE_FINISH_BUTTON_LABEL')})});return _0x499935['extendTemplate']({'attributes':{'class':'ck-ai-translate-mode'}}),_0x499935;}['registerTab'](){const _0x464b49=this['context']['plugins']['get']('AITabs');_0x464b49['view']['on']('activateTab',(_0x43ba81,_0x2cdf35)=>{'translate'===_0x2cdf35?this['fire']('getReviewCheckList'):this['fire']('leaveReview');}),_0x464b49['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 _0x1e4fc1 extends ckeditor5['Command']{['_transformCallback'];constructor(_0x25b42f,_0x15a11b){super(_0x25b42f),this['_transformCallback']=_0x15a11b;}['execute'](){const _0x285326=this['editor']['model'],_0x3d13b6=Array['from'](this['_getAffectedRanges']()),_0x5f05c2=Array['from'](_0x285326['document']['selection']['getRanges']());_0x285326['change'](_0x55292e=>{for(const _0x4afbdd of _0x3d13b6)this['_modifyContent'](_0x4afbdd,_0x55292e);_0x55292e['setSelection'](_0x5f05c2);});}['refresh'](){for(const _0x240005 of this['_getAffectedRanges']())for(const _0x47c453 of _0x240005)if(_0x47c453['item']['is']('$textProxy'))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['_getAffectedRanges'](){const _0x5706a4=this['editor']['model'],_0x24f418=_0x5706a4['document']['selection'];if(_0x24f418['isCollapsed']){const _0x62f905=this['_findAncestorTextBlock'](_0x24f418['getFirstPosition']()['parent']);return _0x62f905?[_0x5706a4['createRangeIn'](_0x62f905)]:[];}return _0x24f418['getRanges']();}['_modifyContent'](_0x3b5358,_0x315081){for(const _0x1759d9 of this['_getElementsAllowingText'](_0x3b5358)){const _0x77285=this['_getElementTextContent'](_0x1759d9),_0x4f77cc=this['_transformCallback'](_0x77285);for(const _0x5aabe6 of this['_getTextNodesRangeLimited'](_0x1759d9,_0x3b5358))this['_replaceTextNodeData'](_0x5aabe6,_0x4f77cc,_0x315081);}}['_findAncestorTextBlock'](_0x5df69b){const _0x49f70d=this['editor']['model']['schema'];if(_0x5df69b['is']('element')&&_0x49f70d['checkChild'](_0x5df69b,'$text'))return _0x5df69b;const _0x2c51f0=_0x5df69b['parent'];return!_0x2c51f0||_0x49f70d['isLimit'](_0x5df69b)?null:this['_findAncestorTextBlock'](_0x2c51f0);}*['_getElementsAllowingText'](_0x389d5a){const _0x4c7ec5=new Set();for(const {item:_0x45cd91}of _0x389d5a['getWalker']()){const _0x43d065=this['_findAncestorTextBlock'](_0x45cd91);_0x43d065&&!_0x4c7ec5['has'](_0x43d065)&&(_0x4c7ec5['add'](_0x43d065),yield _0x43d065);}}['_getElementTextContent'](_0x4cfcac){return Array['from'](_0x4cfcac['getChildren']())['reduce']((_0x3838fe,_0x3bcab2)=>_0x3838fe+(_0x3bcab2['is']('$text')?_0x3bcab2['data']:'\x20'),'');}*['_getTextNodesRangeLimited'](_0xaa642b,_0x3e456e){const _0x4afd3c=_0x3e456e['getIntersection'](this['editor']['model']['createRangeIn'](_0xaa642b));if(_0x4afd3c){for(const _0x5f0b58 of _0x4afd3c['getItems']())_0x5f0b58['is']('$textProxy')&&_0x5f0b58['parent']==_0xaa642b&&(yield _0x5f0b58);}}['_replaceTextNodeData'](_0x511aaf,_0x2dbf46,_0x5c78db){const _0x2913f4=_0x2dbf46['substring'](_0x511aaf['startOffset'],_0x511aaf['endOffset']);if(_0x2913f4===_0x511aaf['data'])return;const _0x48463b=_0x511aaf['getAttributes']();this['editor']['model']['insertContent'](_0x5c78db['createText'](_0x2913f4,_0x48463b),_0x5c78db['createSelection'](_0x5c78db['createRangeOn'](_0x511aaf)));}}function getTranslation$g(_0x264abc,_0x3ce319,..._0x5b5b48){const t=_0x264abc['t'];switch(_0x3ce319){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',..._0x5b5b48);default:return _0x3ce319;}}class CaseChangeEditing extends ckeditor5['Plugin']{['_currentCommandIndex']=0x0;static get['pluginName'](){return'CaseChangeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x140dc8=this['editor'],_0x204848=_0x140dc8['locale']['contentLanguage'],_0x4ea5ce=_0x598d38(_0x140dc8['config']['get']('caseChange.titleCase.excludeWords')),_0x288361={'changeCaseUpper':new _0x1e4fc1(_0x140dc8,_0x3fe5a6=>_0x3fe5a6['toLocaleUpperCase'](_0x204848)),'changeCaseLower':new _0x1e4fc1(_0x140dc8,_0x3f77b8=>_0x3f77b8['toLocaleLowerCase'](_0x204848)),'changeCaseTitle':new _0x1e4fc1(_0x140dc8,_0x1c482c=>capitalizeText(_0x1c482c,_0x4ea5ce,_0x204848))};for(const [_0x323ec9,_0xc152b4]of Object['entries'](_0x288361))_0x140dc8['commands']['add'](_0x323ec9,_0xc152b4),_0xc152b4['on']('execute',()=>{this['_announceCaseChangeOperation'](_0x323ec9);});this['listenTo'](_0x140dc8['editing']['view']['document'],'selectionChange',()=>{this['_currentCommandIndex']=0x0;}),_0x140dc8['keystrokes']['set']('shift+f3',(_0xd83787,_0x3fc50d)=>{const _0x203968=_getOptions(this['editor']['locale']),_0x4194c4=_0x203968[this['_currentCommandIndex']%_0x203968['length']]['commandName'];_0x140dc8['execute'](_0x4194c4),this['_currentCommandIndex']++,_0x3fc50d();});}['afterInit'](){_0x106870(this);}['_announceCaseChangeOperation'](_0x4231f1){const {ui:_0x64426d,locale:_0x38b2f0}=this['editor'],_0xb6abad=_getOptions(_0x38b2f0)['find'](_0x3ff5d1=>_0x3ff5d1['commandName']===_0x4231f1)['label']['toLowerCase']();_0x64426d['ariaLiveAnnouncer']['announce'](getTranslation$g(_0x38b2f0,'Changed\x20case\x20to\x20%0',_0xb6abad));}}function _getOptions(_0x2e7861){return[{'label':getTranslation$g(_0x2e7861,'UPPERCASE'),'commandName':'changeCaseUpper'},{'label':getTranslation$g(_0x2e7861,'lowercase'),'commandName':'changeCaseLower'},{'label':getTranslation$g(_0x2e7861,'Title\x20Case'),'commandName':'changeCaseTitle'}];}function capitalizeText(_0x367e9f,_0x487ed4,_0xf5fcc3){return _0x5c40b3(_0x367e9f,(_0x1d715d,_0x3a3246,_0x3a9270)=>{const _0x339ec8=_0x1d715d['toLocaleLowerCase'](_0xf5fcc3);return _0x487ed4(_0x339ec8,{'charOffset':_0x3a3246,'wordIndex':_0x3a9270,'blockText':_0x367e9f})?_0x339ec8:_0x339ec8['replace'](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x48bc38=>_0x48bc38['toLocaleUpperCase'](_0xf5fcc3));});}function _0x5c40b3(_0x440460,_0x44997d){let _0x4b96a0='',_0x1f8181=0x0,_0x93a406=0x0;for(const _0x24a6ab of _0x440460['matchAll'](/ +/g)){const _0x4830c2=_0x24a6ab['index'],_0xccc1fb=_0x440460['substring'](_0x1f8181,_0x4830c2);_0xccc1fb['length']&&(_0x4b96a0+=_0x44997d(_0xccc1fb,_0x1f8181,_0x93a406++)),_0x4b96a0+=_0x24a6ab[0x0],_0x1f8181=_0x4830c2+_0x24a6ab[0x0]['length'];}const _0x52c8ec=_0x440460['substring'](_0x1f8181);return _0x52c8ec['length']&&(_0x4b96a0+=_0x44997d(_0x52c8ec,_0x1f8181,_0x93a406)),_0x4b96a0;}function _0x598d38(_0x195674=[]){return'function'==typeof _0x195674?_0x195674:(_0x105e13,{wordIndex:_0x14c3f2})=>_0x14c3f2>0x0&&_0x195674['includes'](_0x105e13);}async function _0x106870(_0x32eb0f){const _0x1a0d15=_0xece624([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]),_0x3896e3=window[_0xece624([0x44,0x61,0x74,0x65])][_0xece624([0x6e,0x6f,0x77])](),_0x3f2584=_0x32eb0f[_0xece624([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5a2146=new window[(_0xece624([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c866e=>{_0x3f2584[_0xece624([0x6f,0x6e,0x63,0x65])](_0xece624([0x72,0x65,0x61,0x64,0x79]),_0x5c866e);}),_0x1c1561={[_0xece624([0x6b,0x74,0x79])]:_0xece624([0x45,0x43]),[_0xece624([0x75,0x73,0x65])]:_0xece624([0x73,0x69,0x67]),[_0xece624([0x63,0x72,0x76])]:_0xece624([0x50,0x2d,0x32,0x35,0x36]),[_0xece624([0x78])]:_0xece624([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]),[_0xece624([0x79])]:_0xece624([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]),[_0xece624([0x61,0x6c,0x67])]:_0xece624([0x45,0x53,0x32,0x35,0x36])},_0x157f5a=_0x3f2584[_0xece624([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xece624([0x67,0x65,0x74])](_0xece624([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x4e49ad=await(async function(){let _0x26d15b,_0x48f369=null,_0x31ad9e=null;try{if(_0x157f5a==_0xece624([0x47,0x50,0x4c]))return _0xece624([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x26d15b=(function(){const _0x44bc2f=_0x157f5a[_0xece624([0x73,0x70,0x6c,0x69,0x74])](_0xece624([0x2e]));if(0x3!=_0x44bc2f[_0xece624([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x5c0b84=_0x44bc2f[0x1];return _0x3d2ec8(_0x5c0b84);function _0x3d2ec8(_0x3ee3bb){const _0x4d1bd0=_0x15af34(_0x3ee3bb);return _0x4d1bd0&&_0x331b59()?_0x4d1bd0:null;function _0x331b59(){const _0x4c5f23=_0x4d1bd0[_0xece624([0x6a,0x74,0x69])],_0x326134=window[_0xece624([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c5f23[_0xece624([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c5f23[_0xece624([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x109f4b={..._0x4d1bd0,[_0xece624([0x6a,0x74,0x69])]:_0x4c5f23[_0xece624([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4c5f23[_0xece624([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x109f4b[_0xece624([0x76,0x63])],_0x5ae5a8(_0x109f4b)==_0x326134;}}}()),!_0x26d15b)return _0xece624([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x26d15b[_0xece624([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x31ad9e=function(_0x215907,_0x3e6d31){return new window[(_0xece624([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x353129=>{if(_0x79cd7e())return _0x353129(_0xece624([0x56,0x61,0x6c,0x69,0x64]));_0x536688(),_0x3f2584[_0xece624([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xece624([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4f197f=!0x1;const _0x365b3c=ckeditor5['uid']();function _0x4a281d(_0x524d28){return!!_0x524d28&&(typeof _0x524d28===_0xece624([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x524d28===_0xece624([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x524d28[_0xece624([0x74,0x68,0x65,0x6e])]===_0xece624([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x524d28[_0xece624([0x63,0x61,0x74,0x63,0x68])]===_0xece624([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5ed984(_0x516852){_0x4042fe(_0x516852)[_0xece624([0x74,0x68,0x65,0x6e])](_0x5f2bec=>{if(!_0x5f2bec||_0x5f2bec[_0xece624([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xece624([0x6f,0x6b]))return _0xece624([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x334095(_0x5ae5a8(_0x365b3c+_0x3e6d31))!=_0x5f2bec[_0xece624([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xece624([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xece624([0x56,0x61,0x6c,0x69,0x64]);})[_0xece624([0x74,0x68,0x65,0x6e])](_0x34e95b=>(_0x4836ad(),_0x34e95b),()=>{const _0x1e1e0f=_0xd7316d();return null==_0x1e1e0f?(_0x4836ad(),_0xece624([0x56,0x61,0x6c,0x69,0x64])):_0xece624(_0x3896e3-_0x1e1e0f>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xece624([0x74,0x68,0x65,0x6e])](_0x353129)[_0xece624([0x63,0x61,0x74,0x63,0x68])](()=>{_0x353129(_0xece624([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x55bcd8=0x36ee80;function _0x4836ad(){const _0x503c0f=_0xece624([0x6c,0x6c,0x63,0x74,0x2d])+_0x334095(_0x5ae5a8(_0x215907)),_0x3c4136=_0x13610d(_0x334095(window[_0xece624([0x4d,0x61,0x74,0x68])][_0xece624([0x63,0x65,0x69,0x6c])](_0x3896e3/_0x55bcd8)));window[_0xece624([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xece624([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x503c0f,_0x3c4136);}function _0xd7316d(){const _0x4044ed=_0xece624([0x6c,0x6c,0x63,0x74,0x2d])+_0x334095(_0x5ae5a8(_0x215907)),_0x1c5a28=window[_0xece624([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xece624([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4044ed);return _0x1c5a28?window[_0xece624([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13610d(_0x1c5a28),0x10)*_0x55bcd8:null;}function _0x4042fe(_0x3e9a63){return new window[(_0xece624([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2cca00,_0x3f1f57)=>{_0x3e9a63[_0xece624([0x74,0x68,0x65,0x6e])](_0x2cca00,_0x3f1f57),window[_0xece624([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3f1f57,0x1d4c0);});}}_0x3f2584[_0xece624([0x6f,0x6e])](_0xece624([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x50a4fc,_0x5e7e9a)=>{if(_0x5e7e9a[0x0]!=_0x215907)return _0x353129(_0xece624([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5e7e9a[0x1]={..._0x5e7e9a[0x1],[_0xece624([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x365b3c};},{[_0xece624([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xece624([0x68,0x69,0x67,0x68])}),_0x3f2584[_0xece624([0x6f,0x6e])](_0xece624([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x270119=>{_0x4a281d(_0x270119[_0xece624([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4f197f=!0x0,_0x5ed984(_0x270119[_0xece624([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xece624([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xece624([0x6c,0x6f,0x77])}),_0x5a2146[_0xece624([0x74,0x68,0x65,0x6e])](()=>{_0x4f197f||_0x353129(_0xece624([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x79cd7e(){return _0x3f2584[_0xece624([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xece624([0x76,0x69,0x65,0x77])][_0xece624([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xece624([0x61,0x75,0x74,0x6f]);}function _0x536688(){_0x3f2584[_0xece624([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xece624([0x76,0x69,0x65,0x77])][_0xece624([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xece624([0x61,0x75,0x74,0x6f]);}}(_0x26d15b[_0xece624([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x26d15b[_0xece624([0x6a,0x74,0x69])]));const _0x53c9b8=await(async function(){let _0x257d41=!0x0;try{const _0x2e64d7=_0x157f5a[_0xece624([0x73,0x70,0x6c,0x69,0x74])](_0xece624([0x2e])),[_0x5077d8,_0x1e9c20,_0x5cdf8d]=_0x2e64d7;return _0x2eb895(_0x5077d8),await _0x1024ff(_0x5077d8,_0x1e9c20,_0x5cdf8d),_0x257d41;}catch{return!0x1;}function _0x2eb895(_0x4c7ef1){const _0x4b3e65=_0x15af34(_0x4c7ef1);_0x4b3e65&&_0x4b3e65[_0xece624([0x61,0x6c,0x67])]==_0xece624([0x45,0x53,0x32,0x35,0x36])||(_0x257d41=!0x1);}async function _0x1024ff(_0xaa0605,_0x4bdef1,_0x28335a){const _0x30e3ca=window[_0xece624([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xece624([0x66,0x72,0x6f,0x6d])](_0x3bb679(_0x28335a),_0x9eee2a=>_0x9eee2a[_0xece624([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x511bde=new window[(_0xece624([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xece624([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xaa0605+_0xece624([0x2e])+_0x4bdef1),_0xc6a9a9=window[_0xece624([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xece624([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xc6a9a9)return;const _0x20b9ff=await _0xc6a9a9[_0xece624([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xece624([0x6a,0x77,0x6b]),_0x1c1561,{[_0xece624([0x6e,0x61,0x6d,0x65])]:_0xece624([0x45,0x43,0x44,0x53,0x41]),[_0xece624([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xece624([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xece624([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xc6a9a9[_0xece624([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xece624([0x6e,0x61,0x6d,0x65])]:_0xece624([0x45,0x43,0x44,0x53,0x41]),[_0xece624([0x68,0x61,0x73,0x68])]:{[_0xece624([0x6e,0x61,0x6d,0x65])]:_0xece624([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x20b9ff,_0x30e3ca,_0x511bde)||(_0x257d41=!0x1);}}());return _0x53c9b8?(function(){const _0x28093b=_0x26d15b[_0xece624([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x28093b)return!0x1;if(_0x28093b[_0xece624([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xece624([0x2a])))return!0x0;if(_0x28093b[_0xece624([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xece624([0x43,0x43])))return!0x0;if(_0x28093b[_0xece624([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xece624([0x50,0x50])))return!0x0;return!0x1;}())?(function(){const _0x3694b3=[_0xece624([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xece624([0x74,0x72,0x69,0x61,0x6c])][_0xece624([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26d15b[_0xece624([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3896e3/0x3e8:0x69d59a80;return _0x26d15b[_0xece624([0x65,0x78,0x70])]<_0x3694b3;}())?_0xece624([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x189293=_0x26d15b[_0xece624([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x189293||0x0==_0x189293[_0xece624([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2ce61e}=new URL(window[_0xece624([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x189293[_0xece624([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ce61e))return!0x0;const _0x2c022e=_0x2ce61e[_0xece624([0x73,0x70,0x6c,0x69,0x74])](_0xece624([0x2e]));return _0x189293[_0xece624([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd8ec0c=>_0xd8ec0c[_0xece624([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xece624([0x2a])))[_0xece624([0x6d,0x61,0x70])](_0x378e1d=>_0x378e1d[_0xece624([0x73,0x70,0x6c,0x69,0x74])](_0xece624([0x2e])))[_0xece624([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x324635=>_0x324635[_0xece624([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2c022e[_0xece624([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xece624([0x6d,0x61,0x70])](_0x480ca6=>Array(_0x2c022e[_0xece624([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x480ca6[_0xece624([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xece624([0x66,0x69,0x6c,0x6c])](_0x480ca6[0x0]===_0xece624([0x2a])?_0xece624([0x2a]):'')[_0xece624([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x480ca6))[_0xece624([0x73,0x6f,0x6d,0x65])](_0xaf8786=>_0x2c022e[_0xece624([0x65,0x76,0x65,0x72,0x79])]((_0x3ad473,_0x1426cf)=>_0xaf8786[_0x1426cf]===_0x3ad473||_0xaf8786[_0x1426cf]===_0xece624([0x2a])));}())?(_0x26d15b[_0xece624([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xece624([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x48f369=function(_0x179031){const _0x3aa72c=new window[(_0xece624([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58d834=>setTimeout(_0x58d834,0x93ecc)),_0x72258a=_0x5a2146[_0xece624([0x74,0x68,0x65,0x6e])](()=>new window[(_0xece624([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x176ee6=>{let _0x39d6d2=0x0;_0x3f2584[_0xece624([0x6d,0x6f,0x64,0x65,0x6c])][_0xece624([0x6f,0x6e])](_0xece624([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x538858,_0x1260fd)=>{_0x1260fd[0x0][_0xece624([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x39d6d2++,0x5e8==_0x39d6d2&&(_0x176ee6(),_0x538858[_0xece624([0x6f,0x66,0x66])]());});})),_0x1ea68c=[_0x3aa72c,_0x72258a];return window[_0xece624([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xece624([0x72,0x61,0x63,0x65])](_0x1ea68c)[_0xece624([0x74,0x68,0x65,0x6e])](()=>_0x179031);}(_0xece624([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x48f369&&_0x31ad9e)return new window[(_0xece624([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x132b33,_0x4cdc45)=>{_0x48f369[_0xece624([0x74,0x68,0x65,0x6e])](_0x132b33,_0x4cdc45),_0x31ad9e[_0xece624([0x74,0x68,0x65,0x6e])](_0x5c7444=>{_0x5c7444!=_0xece624([0x56,0x61,0x6c,0x69,0x64])&&_0x132b33(_0x5c7444);},_0x4cdc45);});return _0x48f369||_0x31ad9e||_0xece624([0x56,0x61,0x6c,0x69,0x64]);}())):_0xece624([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xece624([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xece624([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xece624([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x15af34(_0x411b7b){return _0x411b7b[_0xece624([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xece624([0x65,0x79]))?JSON[_0xece624([0x70,0x61,0x72,0x73,0x65])](_0x3bb679(_0x411b7b)):null;}function _0x3bb679(_0x34a0b8){return window[_0xece624([0x61,0x74,0x6f,0x62])](_0x34a0b8[_0xece624([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xece624([0x2b]))[_0xece624([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xece624([0x2f])));}function _0x5ae5a8(_0x19656f){let _0x5e5fb9=0x1505;function _0x156c79(_0x2e0776){for(let _0x2334d7=0x0;_0x2334d7<_0x2e0776[_0xece624([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2334d7++){const _0x41c4d7=_0x2e0776[_0xece624([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2334d7);_0x5e5fb9=(_0x5e5fb9<<0x5)+_0x5e5fb9+_0x41c4d7,_0x5e5fb9&=_0x5e5fb9;}}return function _0xa11585(_0x27f27a){Array[_0xece624([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x27f27a)?_0x27f27a[_0xece624([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xa11585):_0x27f27a&&typeof _0x27f27a==_0xece624([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xece624([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x27f27a)[_0xece624([0x73,0x6f,0x72,0x74])]()[_0xece624([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1d6f51,_0x33d68e])=>{_0x156c79(_0x1d6f51),_0xa11585(_0x33d68e);}):_0x156c79(window[_0xece624([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x27f27a));}(_0x19656f),_0x5e5fb9>>>0x0;}function _0x334095(_0x454484){return _0x454484[_0xece624([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xece624([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xece624([0x30]));}function _0x13610d(_0x188c50){return _0x188c50[_0xece624([0x73,0x70,0x6c,0x69,0x74])]('')[_0xece624([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xece624([0x6a,0x6f,0x69,0x6e])]('');}function _0x183d5a(){}function _0xece624(_0x2b827b){return _0x2b827b['map'](_0x28a3eb=>String['fromCharCode'](_0x28a3eb))['join']('');}!function(_0xb457c4){const _0x41aef0=(function(){const _0x2d7d68=window[_0xece624([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xece624([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xece624([0x6e,0x6f,0x77])]())[_0xece624([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xece624([0x2e]),'');let _0x4057cb=_0xece624([0x45]);for(let _0x201173=0x0;_0x201173<_0x2d7d68[_0xece624([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x201173+=0x2){let _0x197206=window[_0xece624([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d7d68[_0xece624([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x201173,_0x201173+0x2));_0x197206>=_0x1a0d15[_0xece624([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x197206-=_0x1a0d15[_0xece624([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4057cb+=_0x1a0d15[_0x197206];}return _0x4057cb;}());_0x3f2584[_0x41aef0]=_0xece624([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xb457c4,_0xb457c4!=_0xece624([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x5a2146,_0x3f2584[_0xece624([0x6d,0x6f,0x64,0x65,0x6c])][_0xece624([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x183d5a,_0x3f2584[_0xece624([0x6d,0x6f,0x64,0x65,0x6c])][_0xece624([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x183d5a,_0x3f2584[_0xece624([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xece624([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x4e49ad);}class _0x315eff extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CaseChangeUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5dbe2b=this['editor'];this['_registerComponents'](),_0x5dbe2b['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':getTranslation$g(_0x5dbe2b['locale'],'Change\x20text\x20case'),'keystroke':'Shift+f3','mayRequireFn':!0x0}]}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3858c4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1e1925;for(const _0x3630f6 in _0x3858c4){const _0x3dee72=_0x3630f6,_0x64b277=_0x3858c4[_0x3dee72];if('caseChangeLicenseKeyValid'==_0x64b277||'caseChangeLicenseKeyInvalid'==_0x64b277||'caseChangeLicenseKeyExpired'==_0x64b277||'caseChangeLicenseKeyDomainLimit'==_0x64b277||'caseChangeLicenseKeyNotAllowed'==_0x64b277||'caseChangeLicenseKeyEvaluationLimit'==_0x64b277||'caseChangeLicenseKeyUsageLimit'==_0x64b277){delete _0x3858c4[_0x3dee72],_0x1e1925=_0x64b277,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'caseChangeLicenseKeyInvalid'==_0x1e1925&&_0x3858c4['_showLicenseError']('invalid'),'caseChangeLicenseKeyExpired'==_0x1e1925&&_0x3858c4['_showLicenseError']('expired'),'caseChangeLicenseKeyDomainLimit'==_0x1e1925&&_0x3858c4['_showLicenseError']('domainLimit'),'caseChangeLicenseKeyNotAllowed'==_0x1e1925&&_0x3858c4['_showLicenseError']('featureNotAllowed','CaseChange'),'caseChangeLicenseKeyEvaluationLimit'==_0x1e1925&&_0x3858c4['_showLicenseError']('evaluationLimit'),'caseChangeLicenseKeyUsageLimit'==_0x1e1925&&_0x3858c4['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_registerComponents'](){const _0x1001ce=this['editor'],{itemDefinitions:_0x658e77,commands:_0x163e7d}=this['_getListItemDefinitionsAndCommands']();_0x1001ce['ui']['componentFactory']['add']('caseChange',()=>this['_createDropdownView'](_0x658e77,_0x163e7d)),_0x1001ce['ui']['componentFactory']['add']('menuBar:caseChange',()=>this['_createMenuBarMenuView'](_0x658e77,_0x163e7d));}['_createMenuBarMenuView'](_0x441384,_0x1065b2){const _0x203b8b=this['editor'],_0x312256=_0x203b8b['locale'],_0x196479=new ckeditor5['MenuBarMenuView'](_0x312256),_0x18ac9c=new ckeditor5['MenuBarMenuListView'](_0x312256);_0x18ac9c['set']({'ariaLabel':getTranslation$g(_0x312256,'Case\x20change'),'role':'menu'}),this['_setButtonProperties'](_0x196479['buttonView']),_0x196479['bind']('isEnabled')['toMany'](_0x1065b2,'isEnabled',(..._0x5d406a)=>_0x5d406a['some'](_0x419b8b=>_0x419b8b));for(const _0xcdca34 of _0x441384){const _0x13d62a=new ckeditor5['MenuBarMenuListItemView'](_0x312256,_0x196479),_0x5df66c=new ckeditor5['MenuBarMenuListItemButtonView'](_0x312256);_0x5df66c['delegate']('execute')['to'](_0x196479),_0x5df66c['bind'](...Object['keys'](_0xcdca34['model']))['to'](_0xcdca34['model']),_0x5df66c['on']('execute',()=>{_0x203b8b['execute'](_0xcdca34['model']['commandName']),_0x203b8b['editing']['view']['focus']();}),_0x13d62a['children']['add'](_0x5df66c),_0x18ac9c['items']['add'](_0x13d62a);}return _0x196479['panelView']['children']['add'](_0x18ac9c),_0x196479;}['_createDropdownView'](_0x196cf9,_0x6ed653){const _0x1751ee=this['editor'],_0x536cb9=ckeditor5['createDropdown'](_0x1751ee['locale']);return this['_setButtonProperties'](_0x536cb9['buttonView']),_0x536cb9['buttonView']['set']({'tooltip':!0x0}),_0x536cb9['extendTemplate']({'attributes':{'class':['ck-case-change-dropdown']}}),ckeditor5['addListToDropdown'](_0x536cb9,_0x196cf9,{'ariaLabel':getTranslation$g(_0x1751ee['locale'],'Case\x20change'),'role':'menu'}),_0x536cb9['bind']('isEnabled')['toMany'](_0x6ed653,'isEnabled',(..._0x133c55)=>_0x133c55['some'](_0x1b9b5f=>_0x1b9b5f)),this['listenTo'](_0x536cb9,'execute',_0x415d6e=>{_0x1751ee['execute'](_0x415d6e['source']['commandName']),_0x1751ee['editing']['view']['focus']();}),_0x536cb9;}['_setButtonProperties'](_0x11ceb5){const _0x178d95=this['editor'];_0x11ceb5['set']({'label':getTranslation$g(_0x178d95['locale'],'Case\x20change'),'icon':ckeditor5['IconCaseChange'],'keystroke':'Shift+F3'});}['_getListItemDefinitionsAndCommands'](){const _0x2fb858=new ckeditor5['Collection'](),_0x40e514=[];for(const _0x2b254d of _getOptions(this['editor']['locale'])){const _0x14b77e=this['editor']['commands']['get'](_0x2b254d['commandName']),_0x4c4a7a=new ckeditor5['UIModel']({'commandName':_0x2b254d['commandName'],'label':_0x2b254d['label'],'role':'menuitemradio','withText':!0x0});_0x4c4a7a['bind']('isEnabled')['to'](_0x14b77e,'isEnabled'),_0x2fb858['add']({'type':'button','model':_0x4c4a7a}),_0x40e514['push'](_0x14b77e);}return{'itemDefinitions':_0x2fb858,'commands':_0x40e514};}}class _0x317f69 extends ckeditor5['Plugin']{static get['requires'](){return[CaseChangeEditing,_0x315eff];}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(_0x3aea78,_0xf7b2dc){super(),this['model']=_0x3aea78,this['model']['_isAttached']=!0x0,this['view']=_0xf7b2dc,this['listenTo'](_0xf7b2dc,'submitCommentThread',()=>this['submit']()),this['listenTo'](_0xf7b2dc,'removeCommentThread',()=>this['remove']()),this['listenTo'](_0xf7b2dc,'resolveCommentThread',()=>this['resolve']()),this['listenTo'](_0xf7b2dc,'reopenCommentThread',()=>this['reopen']()),this['listenTo'](_0xf7b2dc,'addComment',(_0x15ebc0,_0x1ed7f4)=>this['addComment'](_0x1ed7f4)),this['listenTo'](_0xf7b2dc,'updateComment',(_0x1b747e,_0x511480,_0x3d1fc4)=>this['updateComment'](_0x511480,_0x3d1fc4)),this['listenTo'](_0xf7b2dc,'removeComment',(_0x45f274,_0x43d982)=>this['removeComment'](_0x43d982));}['submit'](){this['model']['submit']();}['remove'](){this['model']['remove']();}['resolve'](){this['model']['isResolved']||this['model']['resolve']();}['reopen'](){this['model']['isResolved']&&this['model']['reopen']();}['addComment'](_0x21ea2d){this['model']['addComment']({'content':_0x21ea2d,'authorId':this['view']['_localUser']['id']});}['updateComment'](_0x4d7036,_0x572a23){this['model']['getComment'](_0x4d7036)['update']({'content':_0x572a23});}['removeComment'](_0x5405bc){this['model']['getComment'](_0x5405bc)['remove']();}['destroy'](){this['stopListening'](),this['model']['_isAttached']=!0x1;}}function getTranslation$f(_0xc960a4,_0x1a6cdc,_0x489693){const t=_0xc960a4['t'];switch(_0x1a6cdc){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'},_0x489693);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'},_0x489693);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'},_0x489693);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'},_0x489693);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x489693);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'},_0x489693);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'},_0x489693);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'},_0x489693);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(_0x123c2f,_0x52fb18){super(_0x123c2f);const _0x387e10=ckeditor5['uid']();this['main']=this['createCollection'](),this['editable']=new ckeditor5['InlineEditableUIView'](_0x123c2f,_0x52fb18,void 0x0,{'label':()=>getTranslation$f(_0x123c2f,'Comment\x20editor')}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-reset','ck-editor','ck-rounded-corners','ck-comment__input'],'dir':_0x123c2f['uiLanguageDirection'],'lang':_0x123c2f['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0x387e10},'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(_0x4b5424){super(_0x4b5424),this['view']=new CommentEditorUIView(_0x4b5424['locale'],_0x4b5424['editing']['view']);}get['element'](){return this['view']['element'];}['init'](){const _0x2aaf08=this['editor']['editing']['view'],_0x2e91d0=this['view']['editable'],_0x3273a9=_0x2aaf08['document']['getRoot']();_0x2e91d0['name']=_0x3273a9['rootName'],this['view']['render']();const _0x56506a=_0x2e91d0['element'];this['setEditableElement'](_0x2e91d0['name'],_0x56506a),this['view']['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x2aaf08['attachDomRoot'](_0x56506a),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(_0x25238a={}){function _0x49c651(_0xa286b2){return _0xa286b2['map'](_0x4509af=>String['fromCharCode'](_0x4509af))['join']('');}(_0x25238a=Object['assign']({},_0x25238a))['plugins']||(_0x25238a['plugins']=CommentEditor['defaultPlugins']),super(_0x25238a),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[_0x49c651([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x49c651([0x76,0x69,0x65,0x77])][_0x49c651([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x49c651([0x61,0x75,0x74,0x6f]),this[_0x49c651([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x49c651([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x49c651([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x49c651([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x49c651([0x6f,0x6b])});}['create'](){const _0x2a0b5b=this['config']['get']('initialData')||'';return this['initPlugins']()['then'](()=>this['ui']['init']())['then'](()=>this['data']['init'](_0x2a0b5b))['then'](()=>this['fire']('ready'));}['destroy'](){return super['destroy']()['then'](()=>this['ui']['destroy']());}['focus'](){this['model']['change'](_0x1f597b=>{const _0x324549=this['model']['document']['getRoot'](),_0x54a40b=_0x324549&&_0x324549['getChild'](_0x324549['childCount']-0x1);_0x1f597b['setSelection'](_0x54a40b,'end'),this['editing']['view']['focus']();});}['_updatePlaceholder'](){const _0xbe521c=this['editing']['view'],_0x522aaf=_0xbe521c['document']['getRoot'](),_0xfb93e3=_0x522aaf['getChild'](0x0);_0x522aaf['childCount']>0x1||!_0xfb93e3||'p'!=_0xfb93e3['name']?this['placeholderElement']&&this['placeholderElement']['placeholder']&&(ckeditor5['disableViewPlaceholder'](_0xbe521c,this['placeholderElement']),this['placeholderElement']=void 0x0):(this['placeholder']&&(_0xfb93e3['placeholder']=this['placeholder']),ckeditor5['enableViewPlaceholder']({'view':_0xbe521c,'element':_0xfb93e3,'keepOnFocus':!0x0}),this['placeholderElement']=_0xfb93e3);}}class CommentInputView extends ckeditor5['View']{['keystrokes'];['focusTracker'];['focusables'];['focusCycler'];['submitButtonView'];['cancelButtonView'];['_editorConfig'];constructor(_0x20dc84,_0x4c47b4={}){super(_0x20dc84),this['editor']=null,this['_editorConfig']=_0x4c47b4,this['set']('value',_0x4c47b4['initialData']||''),this['set']('disabledSubmit',!0x1),this['set']('showButtons',!0x0),this['set']('placeholder',getTranslation$f(_0x20dc84,'Reply...')),this['set']('submitLabel',getTranslation$f(_0x20dc84,'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',(_0x550adc,_0x233df6)=>{this['cancelButtonView']['fire']('execute'),_0x233df6();}),this['keystrokes']['set']('Ctrl+Enter',(_0xc73114,_0x42a868)=>{this['submitButtonView']['isEnabled']&&(this['submitButtonView']['fire']('execute'),_0x42a868());}),this['on']('submit',(_0x438ebc,_0x118f3c)=>{_0x118f3c['length']>0xfde8?(alert(getTranslation$f(_0x20dc84,'TOO_LONG_COMMENT_ALERT',[_0x118f3c['length'],0xfde8])),_0x438ebc['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 _0x19fd72=this['editor'];this['element']['insertBefore'](_0x19fd72['ui']['element'],this['element']['firstChild']),_0x19fd72['model']['document']['on']('change',()=>this['value']=_0x19fd72['getData']()),_0x19fd72['bind']('placeholder')['to'](this),this['focusables']['add'](_0x19fd72['ui']['view'],0x0),this['fire']('editorReady',this['editor']);})),this['_editorCreationPromise'];}['focus'](_0x220499){-0x1===_0x220499?(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:_0x2ab272}=this,_0x42f706=new ckeditor5['ButtonView'](_0x2ab272);return _0x42f706['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x42f706['withText']=!0x0,_0x42f706['bind']('label')['to'](this,'submitLabel'),_0x42f706['on']('execute',()=>{this['fire']('submit',this['value']);}),_0x42f706['bind']('isEnabled')['to'](this,'value',this,'disabledSubmit',(_0x339dcc,_0x290c97)=>!_0x290c97&&!!_0x339dcc['trim']()),_0x42f706;}['_createCancelButton'](){const {locale:_0x708942}=this,_0x345cb6=new ckeditor5['ButtonView'](_0x708942);return _0x345cb6['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x345cb6['label']=getTranslation$f(_0x708942,'Cancel'),_0x345cb6['withText']=!0x0,_0x345cb6['on']('execute',()=>{this['editor']['setData'](''),this['fire']('cancel');}),_0x345cb6;}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']),this['focusables']['forEach'](_0x521d92=>{this['focusTracker']['add'](_0x521d92['element']);}),this['focusables']['on']('change',(_0x2e31c6,_0x4109ab)=>{for(const _0x21012a of Array['from'](_0x4109ab['added'])['reverse']())this['focusTracker']['add'](_0x21012a['element']);});}}class CommentThreadInputView extends ckeditor5['View']{constructor(_0x5c584c,_0x47cea1,_0x1dfc80){super(_0x5c584c),this['commentInputView']=new CommentInputView(_0x5c584c,_0x1dfc80),this['focusCycler']=this['commentInputView']['focusCycler'],this['commentInputView']['bind']('showButtons')['to'](this['commentInputView']['focusTracker'],'isFocused',this['commentInputView'],'value',(_0x2e350c,_0x40f5bc)=>_0x2e350c||!!_0x40f5bc),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 _0x3e5d46(_0x5c584c,_0x47cea1),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'](_0x2c6603){this['commentInputView']['focus'](_0x2c6603);}['_focusOnNonInteractiveMouseDown'](){this['listenTo'](this['element'],'mousedown',(_0x52890c,_0x9968df)=>{const {submitButtonView:_0x24043b,cancelButtonView:_0x5ca717,editor:_0x863c8d}=this['commentInputView'];[_0x24043b['element'],_0x5ca717['element'],_0x863c8d?_0x863c8d['editing']['view']['getDomRoot']():null]['filter'](_0x11e287=>_0x11e287)['some'](_0x358f15=>_0x358f15['contains'](_0x9968df['target']))||(this['focus'](),_0x9968df['preventDefault']());});}}class CollapsedCommentsView extends ckeditor5['View']{constructor(_0x345cbd){super(_0x345cbd);const _0x4236a8=this['bindTemplate'];this['set']('count',void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x4236a8['to']('count',_0x41f61f=>getTranslation$f(_0x345cbd,'NUMBER_OF_COMMENTS',_0x41f61f))}]});}}class CommentsListView extends ckeditor5['View']{['commentViews'];['resolvedCommentView'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];['_collapsedCommentsView'];constructor(_0x4114bb,_0x255c4a,_0x37da6f){super(_0x4114bb);const _0x3b52f2=this['bindTemplate'];this['set']('hasDirtyComment',!0x1),this['set']('length',_0x255c4a['comments']['length']),this['set']('isActive',!0x1),this['_model']=_0x255c4a,this['_config']=_0x37da6f,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':_0x13e2ec=>this['commentViews']['map'](_0x8bf722=>_0x8bf722['element'])['includes'](_0x13e2ec['target'])},'actions':{'focusPrevious':'arrowup','focusNext':'arrowdown'}}),this['_collapsedCommentsView']=new CollapsedCommentsView(_0x4114bb),this['_collapsedCommentsView']['bind']('count')['to'](this,'length',_0xb9464=>_0xb9464-this['_config']['maxCommentsWhenCollapsed']);for(const _0x3f2a66 of _0x255c4a['comments'])this['_handleNewCommentModel'](_0x3f2a66);this['_handleInfoComment'](),this['listenTo'](_0x255c4a['comments'],'add',(_0x278fde,_0x1a4e69)=>{const _0xbe72cb=this['_calculatePosition'](_0x1a4e69);this['length']++,this['_handleNewCommentModel'](_0x1a4e69,_0xbe72cb),this['refreshVisibleViews']();}),this['listenTo'](_0x255c4a['comments'],'remove',(_0x371602,_0x39d511)=>{this['length']--,this['_handleRemoveCommentModel'](_0x39d511),this['refreshVisibleViews']();}),this['listenTo'](_0x255c4a,'commentUpdated',()=>this['refreshVisibleViews']()),this['listenTo'](_0x255c4a,'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',_0x3b52f2['if']('length','ck-hidden',_0x2aac72=>!_0x2aac72)],'aria-label':getTranslation$f(_0x4114bb,'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'](_0x1a3b10){-0x1===_0x1a3b10?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['destroy'](){this['_collapsedCommentsView']['destroy']();for(const _0x1fb2e8 of this['commentViews'])_0x1fb2e8['destroy']();super['destroy']();}['refreshVisibleViews'](){this['_shouldCollapse']?this['_rearrangeCollapse']():this['_rearrangeExpand']();}['_handleNewCommentModel'](_0x34cb50,_0x3b64e3){const _0x52c601=new this['_config']['CommentView'](this['locale'],_0x34cb50,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig']});_0x52c601['viewUid']=_0x34cb50['id'],_0x52c601['delegate']('removeComment')['to'](this),_0x52c601['delegate']('updateComment')['to'](this),_0x52c601['delegate']('resolveCommentThread')['to'](this),_0x52c601['delegate']('editorReady')['to'](this),_0x52c601['delegate']('editorDestroyed')['to'](this),this['listenTo'](_0x52c601,'change:isEditMode',()=>this['_updateHasDirtyComment']()),this['commentViews']['add'](_0x52c601,_0x3b64e3);}['_calculatePosition'](_0x489214){const _0x5709e2=this['_model']['_findOptimalIndex'](_0x489214);return this['resolvedCommentView']?this['resolvedCommentView']['authoredAt']>_0x489214['authoredAt']?_0x5709e2-0x1:_0x5709e2:_0x5709e2-0x1;}['_handleInfoComment'](){if(this['_model']['resolvedBy']&&this['_model']['resolvedAt']){const _0x21c93d={'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'],_0x21c93d,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig'],'isSystemComment':!0x0}),this['commentViews']['add'](this['resolvedCommentView'],this['_model']['_findOptimalIndex'](_0x21c93d));}else this['resolvedCommentView']&&(this['commentViews']['remove'](this['resolvedCommentView']),this['resolvedCommentView']['destroy'](),this['resolvedCommentView']=null);this['refreshVisibleViews']();}['_handleRemoveCommentModel'](_0x86500b){const _0x11ef3c=this['commentViews']['remove'](_0x86500b['id']);this['stopListening'](_0x11ef3c),_0x11ef3c['isEditMode']&&this['_updateHasDirtyComment'](),_0x11ef3c['destroy']();}['_updateHasDirtyComment'](){this['hasDirtyComment']=Array['from'](this['commentViews'])['some'](_0x5e7558=>_0x5e7558['isEditMode']);}['_rearrangeCollapse'](){const _0x33175f=cloneCollection(this['commentViews']),_0xab723b=this['_collapsedCommentsView']['count'];for(let _0x2a5deb=0x1;_0x2a5deb<=_0xab723b;_0x2a5deb++)_0x33175f['remove'](0x1);for(const _0x449ffd of _0x33175f)_0x449ffd['collapse']();_0xab723b>0x0&&_0x33175f['add'](this['_collapsedCommentsView'],0x1),applyDiffToCollection(ckeditor5['diff'](Array['from'](this['visibleViews']),Array['from'](_0x33175f)),this['visibleViews'],_0x33175f);}['_rearrangeExpand'](){applyDiffToCollection(ckeditor5['diff'](Array['from'](this['visibleViews']),Array['from'](this['commentViews'])),this['visibleViews'],this['commentViews']);for(const _0x5a2777 of this['visibleViews'])_0x5a2777['expand']();}['_setupKeyboardNavigation'](){this['commentViews']['forEach'](_0x311574=>{this['focusTracker']['add'](_0x311574['element']),this['keystrokes']['listenTo'](_0x311574['element']);}),this['commentViews']['on']('change',(_0x57b019,_0x4b9c87)=>{for(const _0x55efb4 of _0x4b9c87['removed'])this['focusTracker']['remove'](_0x55efb4['element']),this['keystrokes']['stopListening'](_0x55efb4['element']);for(const _0x3b9cee of Array['from'](_0x4b9c87['added'])['reverse']())this['focusTracker']['add'](_0x3b9cee['element']),this['keystrokes']['listenTo'](_0x3b9cee['element']);});}}function cloneCollection(_0x378cfd){const _0x1573cc=new ckeditor5['Collection']();for(const _0x2e3757 of _0x378cfd)_0x1573cc['add'](_0x2e3757);return _0x1573cc;}function applyDiffToCollection(_0x2b0db8,_0x6392e,_0x34178b){let _0x469b21=0x0;for(const _0x3f3945 of _0x2b0db8)switch(_0x3f3945){case'insert':_0x6392e['add'](_0x34178b['get'](_0x469b21),_0x469b21),_0x469b21++;break;case'delete':_0x6392e['remove'](_0x469b21);break;case'equal':_0x469b21++;}}class CommentThreadHeaderContextView extends ckeditor5['View']{constructor(_0x254b8e){super(_0x254b8e);const _0x190b6c=this['bindTemplate'];this['set']('contextValue',''),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-context__value'],'aria-label':_0x190b6c['to']('contextValue',_0x224ef2=>getTranslation$f(_0x254b8e,'THREAD_CONTEXT_LABEL',_0x224ef2)),'tabindex':-0x1},'children':[{'text':_0x190b6c['to']('contextValue')}]});}['focus'](){this['element']['focus']();}}const _0x339ee7=0x96;class CommentThreadHeaderView extends ckeditor5['View']{['_model'];['reopenButtonView'];['contextView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0x54a2bb,_0x17cf1a){super(_0x54a2bb);const _0x496573=this['bindTemplate'];this['_model']=_0x17cf1a,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',_0x4ad783=>!!_0x4ad783),this['bind']('contextValue')['to'](this['_model'],'context',_0xe7e7c0=>_0xe7e7c0&&_0xe7e7c0['value']?this['_trimContextValue'](_0xe7e7c0['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',_0x496573['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 _0x5f2a0c=new ckeditor5['ButtonView'](this['locale']);return _0x5f2a0c['label']=getTranslation$f(this['locale'],'Reopen'),_0x5f2a0c['tooltip']=getTranslation$f(this['locale'],'Reopen'),_0x5f2a0c['icon']=ckeditor5['IconUndo'],_0x5f2a0c['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x1af6ee=>!_0x1af6ee),_0x5f2a0c['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0xeb6350,_0x28f5f7)=>_0xeb6350&&_0x28f5f7),_0x5f2a0c['on']('execute',()=>{this['fire']('reopenCommentThread',this['_model']['id']);}),_0x5f2a0c;}['_trimContextValue'](_0x144016){const _0x203f73=_0x339ee7-0x3;if(_0x144016['length']<_0x339ee7)return _0x144016;const _0x5e7825=_0x144016['lastIndexOf']('\x20',_0x203f73);return _0x144016['substring'](0x0,_0x5e7825>-0x1?_0x5e7825:_0x203f73)+'...';}['_attachContextActions'](){const _0x9e78ca=this['element']['querySelector']('.ck-context'),_0x51aca4=_0x9e78ca['querySelector']('.ck-context__value');this['listenTo'](_0x9e78ca,'mouseenter',()=>{_0x51aca4['offsetWidth']<_0x51aca4['scrollWidth']&&_0x9e78ca['classList']['add']('overlay');}),this['listenTo'](_0x9e78ca,'mouseleave',()=>{_0x9e78ca['classList']['remove']('overlay');});}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']);for(const _0x3fbbd7 of this['focusables'])this['focusTracker']['add'](_0x3fbbd7['element']),this['keystrokes']['listenTo'](_0x3fbbd7['element']);}['_createContextView'](){const _0x4c9223=new CommentThreadHeaderContextView(this['locale']);return _0x4c9223['bind']('contextValue')['to'](this),_0x4c9223;}}class BaseCommentThreadView extends ckeditor5['View']{['_model'];['_config'];['commentThreadHeaderView'];['commentThreadInputView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0x22e7c8,_0x3acb4e,_0x4bc573,_0x43de0a){super(_0x22e7c8),this['set']('isActive',!0x1),this['set']('isDirty',!0x1),this['_model']=_0x3acb4e,this['_localUser']=_0x4bc573,this['_config']=_0x43de0a,this['commentThreadHeaderView']=new CommentThreadHeaderView(_0x22e7c8,_0x3acb4e),this['commentThreadHeaderView']['delegate']('reopenCommentThread')['to'](this),this['ariaDescriptionView']=new AriaDescriptionView(_0x22e7c8,getTranslation$f(_0x22e7c8,'COMMENT_THREAD_DESCRIPTION')),this['listenTo'](this,'reopenCommentThread',()=>{this['focus']();}),this['commentsListView']=new CommentsListView(_0x22e7c8,_0x3acb4e,Object['assign']({'CommentView':this['_config']['CommentView']},_0x43de0a)),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',(_0x174b69,_0x6e34b3)=>_0x174b69||!!_0x6e34b3),this['bind']('isUnlinked')['to'](_0x3acb4e,'unlinkedAt',_0x2ad26a=>!!_0x2ad26a),this['bind']('ariaLabel')['to'](this,'length',_0x35c63d=>{const _0x5c634a=this['_model']['comments']['first']?this['_model']['comments']['first']['author']['name']:this['_localUser']['name'];return getTranslation$f(this['locale'],'COMMENT_THREAD_LABEL',[_0x35c63d,_0x5c634a]);}),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':_0xe0b9ac=>_0xe0b9ac['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 _0x15b91c=new CommentThreadInputView(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x227d41=_0x15b91c['commentInputView'];return _0x15b91c['bind']('showInput')['to'](this,'isActive',this['_model'],'isReadOnly',this['_model'],'canComment',this['_model'],'archivedAt',_0x227d41,'value',(_0x2aa148,_0x314592,_0x5eb69f,_0x389466,_0x79960b)=>!!_0x79960b||!!_0x389466&&_0x5eb69f&&!_0x314592||_0x2aa148&&_0x5eb69f&&!_0x314592),_0x227d41['bind']('placeholder')['to'](this,'length',this['_model'],'isResolvable',this['_model'],'isResolved',(_0xac04a5,_0x4b1ba2,_0x1cd8af)=>{let _0x210e22;return _0x210e22=_0x1cd8af&&_0x4b1ba2?'Reply\x20to\x20reopen\x20discussion...':_0xac04a5?'Reply...':'Write\x20a\x20comment...',getTranslation$f(this['locale'],_0x210e22);}),_0x227d41['bind']('submitLabel')['to'](this,'length',_0x5679fb=>getTranslation$f(this['locale'],_0x5679fb?'Reply':'Comment')),_0x227d41['on']('submit',(_0x43102b,_0x5c06da)=>{this['fire']('addComment',_0x5c06da),this['_model']['isResolved']&&this['_model']['isResolvable']&&this['fire']('reopenCommentThread',this['_model']['id']),this['_model']['isSubmitted']||this['fire']('submitCommentThread');}),_0x227d41['on']('cancel',()=>{this['focus']();}),_0x227d41['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x227d41['on']('cancel',_0x4ae7ea=>{0x0==this['length']&&(this['fire']('removeCommentThread'),_0x4ae7ea['stop']());}),this['on']('change:isActive',(_0x3654af,_0x4f08b9,_0x537fdf)=>{_0x537fdf||this['length']||_0x227d41['value']||this['fire']('removeCommentThread');}),_0x15b91c;}}class CommentThreadView extends/* #__PURE__ -- @preserve */
_0x1acd7b(BaseCommentThreadView){['commentThreadChildren'];['containerElement'];['resolveButton'];['_boundFirstCommentView'];constructor(_0x11df89,_0x5f4a61,_0x4c2328,_0x4f5983){super(_0x11df89,_0x5f4a61,_0x4c2328,_0x4f5983),this['commentThreadChildren']=this['createCollection']([this['commentsListView'],this['commentThreadInputView'],this['ariaDescriptionView']]),this['set']('actionIndicator',null),this['containerElement']=null,this['_boundFirstCommentView']=null,this['locale']=_0x11df89,this['resolveButton']=this['_createResolveButton'](),this['setTemplate'](this['getTemplate']()),this['on']('change:isActive',(_0x220a8f,_0x4e4133,_0x123aca)=>{_0x123aca||this['_cancelAllConfirms']();}),this['listenTo'](this['_model'],'change:isReadOnly',(_0x25351e,_0x19b349,_0x4be87a)=>{_0x4be87a&&this['_cancelAllConfirms']();}),this['length']>0x0&&this['_bindFirstCommentView'](),this['listenTo'](this['commentsListView']['commentViews'],'add',()=>{this['_bindFirstCommentView']();});}['getTemplate'](){const _0x1bee07=this['bindTemplate'];return{'tag':'div','attributes':{'class':['ck','ck-thread','ck-reset_all-excluded','ck-rounded-corners',_0x1bee07['if']('isActive','ck-thread--active'),_0x1bee07['if']('isUnlinked','ck-thread--unlinked'),_0x1bee07['to']('actionIndicator',_0xbab2ab=>_0xbab2ab?'ck-thread--'+_0xbab2ab:'')],'data-thread-id':this['_model']['id'],'tabindex':0x0,'role':'listitem','aria-label':_0x1bee07['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 _0x4a6b36 of this['commentsListView']['commentViews'])_0x4a6b36['cancelConfirm']();}['_bindFirstCommentView'](){const {locale:_0x196892}=this,_0x251082=this['commentsListView']['commentViews']['get'](0x0);_0x251082===this['_boundFirstCommentView']||_0x251082['isSystemComment']||(this['_boundFirstCommentView']=_0x251082,this['unbind']('actionIndicator'),this['bind']('actionIndicator')['to'](_0x251082,'actionIndicator',_0x4ddca9=>'remove'===_0x4ddca9?'remove':null),_0x251082['placeholder']=getTranslation$f(_0x196892,'Write\x20a\x20comment...'),_0x251082['removeButton']['on']('execute',_0x3deb63=>{_0x3deb63['stop'](),this['showConfirm'](getTranslation$f(_0x196892,'Delete\x20comment\x20thread?'),this['containerElement'])['then'](()=>{this['fire']('removeCommentThread');});},{'priority':'high'}),this['on']('removeConfirm',()=>{_0x251082['focus']();}),_0x251082['actionBar']['add'](this['resolveButton'],0x0),_0x251082['focusables']['add'](this['resolveButton'],0x0));}['_createResolveButton'](){const _0x487435=new LateFocusButtonView(this['locale']);return _0x487435['label']=getTranslation$f(this['locale'],'Resolve'),_0x487435['tooltip']=getTranslation$f(this['locale'],'Resolve'),_0x487435['icon']=ckeditor5['IconCheck'],_0x487435['extendTemplate']({'attributes':{'class':'ck-comment--resolve'}}),_0x487435['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x2997bb=>!_0x2997bb),_0x487435['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x346286,_0x29ed26)=>_0x346286&&!_0x29ed26),_0x487435['on']('execute',()=>{this['fire']('resolveCommentThread',this['_model']['id']);}),_0x487435;}['_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(_0x11ad58){super(_0x11ad58),this['set']('content',''),this['setTemplate']({'tag':'div','attributes':{'class':['ck-content','ck-comment__content','ck-annotation__content']}});}['render'](){super['render'](),this['on']('change:content',(_0x1f30ec,_0x3eb61f,_0x40f0ee)=>{this['element']['innerHTML']=_0x40f0ee;}),this['element']['innerHTML']=this['content'];}}class BaseCommentView extends ckeditor5['View']{['visibleView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];constructor(_0x3ce3e2,_0x4bd1dd,_0x2e8fdc){super(_0x3ce3e2),this['_model']=_0x4bd1dd,this['_config']=_0x2e8fdc,this['isSystemComment']=!!this['_config']['isSystemComment'],this['set']('isEditMode',!0x1),this['set']('isCollapsed',!0x0),this['bind']('ariaLabel')['to'](_0x4bd1dd,'content',_0x4bd1dd,'authoredAt',(_0x10d763,_0x1deeb5)=>getTranslation$f(_0x3ce3e2,'COMMENT_ARIA_LABEL',[_0x4bd1dd['author']['name'],_0x2e8fdc['formatDateTime'](_0x1deeb5),new DOMParser()['parseFromString'](_0x10d763,'text/html')['body']['textContent'],_0x4bd1dd['isExternal']?this['getExternalCommentNote']():''])),this['ariaDescriptionView']=new AriaDescriptionView(_0x3ce3e2,getTranslation$f(_0x3ce3e2,'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':_0x46fcfe=>_0x46fcfe['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 _0x425c7e=new CommentContentView(this['locale']);return _0x425c7e['bind']('content')['to'](this['_model'],'content',this,'isCollapsed',(_0x37bb76,_0x2489bf)=>_0x2489bf?trimHtml(_0x37bb76,{'limit':this['_config']['maxCommentCharsWhenCollapsed']}):_0x37bb76),_0x425c7e;}['_createCommentInputView'](){this['_config']['editorConfig']||(this['_config']['editorConfig']={}),this['_config']['editorConfig']['initialData']=this['_model']['content'];const _0x5b3995=new CommentInputView(this['locale'],this['_config']['editorConfig']);return _0x5b3995['value']=this['_model']['content'],_0x5b3995['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x5b3995['submitLabel']=getTranslation$f(this['locale'],'Save'),_0x5b3995['on']('submit',(_0x1dd499,_0xe318d9)=>{this['fire']('updateComment',this['_model']['id'],_0xe318d9),this['switchToDisplayMode'](),this['focus']();}),_0x5b3995['on']('cancel',()=>{this['switchToDisplayMode'](),this['focus']();}),_0x5b3995['once']('editorReady',()=>{_0x5b3995['focus']();}),_0x5b3995['createEditor'](),_0x5b3995['delegate']('editorReady')['to'](this),_0x5b3995['delegate']('editorDestroyed')['to'](this),_0x5b3995;}['_setupKeyboardNavigation'](){const _0x5851b7=this['element'];this['keystrokes']['listenTo'](_0x5851b7);for(const _0x4adf9b of this['focusables'])this['focusTracker']['add'](_0x4adf9b['element']),this['keystrokes']['listenTo'](_0x4adf9b['element']);this['focusables']['on']('change',(_0xe6aa2a,_0x17bdb2)=>{for(const _0x223fd6 of _0x17bdb2['removed'])this['focusTracker']['remove'](_0x223fd6['element']),this['keystrokes']['stopListening'](_0x223fd6['element']);for(const _0x410969 of _0x17bdb2['added'])this['focusTracker']['add'](_0x410969['element']),this['keystrokes']['listenTo'](_0x410969['element']);}),this['keystrokes']['set']('enter',(_0x371951,_0x4221a0)=>{_0x5851b7===_0x371951['target']&&(this['focusCycler']['focusFirst'](),_0x4221a0());}),this['keystrokes']['set']('esc',(_0x459672,_0x1d1efd)=>{_0x5851b7!==_0x459672['target']&&(this['focus'](),_0x1d1efd());});}}class CommentView extends/* #__PURE__ -- @preserve */
_0x1acd7b(BaseCommentView){['actionBar'];['userView'];constructor(_0x4e605e,_0x307807,_0xca558e){super(_0x4e605e,_0x307807,_0xca558e),this['set']('actionIndicator',null),this['set']('placeholder',getTranslation$f(_0x4e605e,'Reply...')),this['bind']('authoredAt')['to'](_0x307807),this['bind']('resolvedAt')['to'](_0x307807),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 _0x3e5d46(_0x4e605e,_0x307807['author'],this['getUserViewNotificationText']()),this['userView']['extendTemplate']({'attributes':{'class':['ck-comment__user','ck-annotation__user'],'aria-hidden':!0x0}}),this['listenTo'](_0x307807,'change:isRemovable',()=>this['cancelConfirm']()),this['setTemplate'](this['getTemplate']());}['getTemplate'](){const _0x135414=this['bindTemplate'],_0x585512=[{'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':_0x135414['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x135414['to']('authoredAt',_0x3df5a0=>this['_config']['formatDateTime'](_0x3df5a0))}]}]},{'tag':'div','attributes':{'class':['ck-comment__actions','ck-annotation__actions',_0x135414['if']('isEditMode','ck-comment__actions--hidden'),_0x135414['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']&&_0x585512['push']({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalCommentNote']()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper'],'tabindex':-0x1,'aria-label':_0x135414['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id'],'role':'listitem'},'children':[{'tag':'div','attributes':{'class':['ck-comment','ck-annotation',_0x135414['if']('isEditMode','ck-comment--edit'),_0x135414['if']('isSystemComment','ck-comment--info'),_0x135414['to']('actionIndicator',_0x42b295=>_0x42b295?'ck-comment--'+_0x42b295:'')],'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':_0x585512}]}]};}['_createEditButton'](){const _0x193d28=new ckeditor5['ButtonView'](this['locale']);return _0x193d28['label']=getTranslation$f(this['locale'],'Edit'),_0x193d28['icon']=ckeditor5['IconPencil'],_0x193d28['withText']=!0x0,_0x193d28['extendTemplate']({'attributes':{'class':'ck-comment--edit'}}),_0x193d28['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x243a7f=>!_0x243a7f),_0x193d28['bind']('isVisible')['to'](this['_model'],'isEditable'),_0x193d28['on']('execute',()=>this['switchToEditMode']()),_0x193d28;}['_createRemoveButton'](){const _0x227d9f=new ckeditor5['ButtonView'](this['locale']);return _0x227d9f['label']=getTranslation$f(this['locale'],'Remove'),_0x227d9f['icon']=ckeditor5['IconRemoveComment'],_0x227d9f['withText']=!0x0,_0x227d9f['extendTemplate']({'attributes':{'class':'ck-comment--remove'}}),_0x227d9f['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x1fcbf1=>!_0x1fcbf1),_0x227d9f['bind']('isVisible')['to'](this['_model'],'isRemovable'),_0x227d9f['on']('execute',()=>{this['showConfirm'](getTranslation$f(this['locale'],'Delete\x20comment?'),this['element'])['then'](()=>{this['fire']('removeComment',this['_model']['id']);});}),_0x227d9f;}['_createDropdown'](){const _0x40b26c=ckeditor5['createDropdown'](this['locale'],LateFocusDropdownButtonView),_0x866fd1=_0x40b26c['panelView']['children'],_0x378c06=new ckeditor5['ListView'](this['locale']),_0x2caeab=_0x40b26c['bindTemplate'];ckeditor5['focusChildOnDropdownOpen'](_0x40b26c,()=>this['items']['find'](_0x165f30=>_0x165f30['isVisible'])),_0x40b26c['extendTemplate']({'attributes':{'class':[_0x2caeab['if']('isVisible','ck-hidden',_0x5bc59e=>!_0x5bc59e)]}});const _0x4bffc0=(_0x1499d0,_0xe92c68=-0x1)=>{const _0x5d6f54=new ckeditor5['ListItemView'](this['locale']);_0x5d6f54['children']['add'](_0x1499d0);const _0x297ecd=_0xe92c68>-0x1?_0xe92c68:_0x378c06['items']['length'];_0x378c06['items']['add'](_0x5d6f54,_0x297ecd);const _0x5d630e=Array['from'](this['items']);_0x40b26c['unbind']('isEnabled','isVisible'),_0x40b26c['bind']('isEnabled')['toMany'](_0x5d630e,'isEnabled',(..._0x226ca4)=>_0x226ca4['some'](_0x1746c4=>_0x1746c4)),_0x40b26c['bind']('isVisible')['toMany'](_0x5d630e,'isVisible',(..._0x364f9b)=>_0x364f9b['some'](_0x34e65e=>_0x34e65e));};_0x40b26c['panelPosition']='sw',_0x40b26c['buttonView']['set']({'label':getTranslation$f(this['locale'],'Show\x20more\x20items'),'icon':ckeditor5['IconThreeVerticalDots']});for(const _0x3f14e9 of this['items'])_0x4bffc0(_0x3f14e9);return _0x866fd1['add'](_0x378c06),_0x40b26c['listenTo'](this['items'],'add',(_0x4e18bc,_0x46156f,_0x9ee5d6)=>{_0x4bffc0(_0x46156f,_0x9ee5d6);}),_0x40b26c['listenTo'](this['items'],'remove',(_0x277e57,_0x365fdf,_0x13c2f7)=>{_0x378c06['items']['remove'](_0x13c2f7);}),_0x40b26c;}['_attachActions'](_0x176031,_0x1f8239){const _0x5c506d=_0x176031&&_0x176031['element'];_0x5c506d&&(this['listenTo'](_0x5c506d,'mouseenter',()=>this['actionIndicator']=_0x1f8239),this['listenTo'](_0x5c506d,'focus',()=>this['actionIndicator']=_0x1f8239),this['listenTo'](_0x5c506d,'mouseleave',()=>this['actionIndicator']=null),this['listenTo'](_0x5c506d,'blur',()=>this['actionIndicator']=null));}['_createCommentInputView'](){const _0x12cff2=super['_createCommentInputView']();return _0x12cff2['bind']('placeholder')['to'](this),_0x12cff2;}['render'](){super['render'](),this['_attachActions'](this['editButton'],'edit'),this['_attachActions'](this['removeButton'],'remove');}}function createMutationObserver(_0x407007){const _0x36241b=throttle$1(_0x407007,0x1e),_0x180462=new MutationObserver(_0x4dabbe=>{for(const _0x3dabaf of _0x4dabbe)('attributes'==_0x3dabaf['type']&&'class'==_0x3dabaf['attributeName']||'childList'==_0x3dabaf['type']||'characterData'==_0x3dabaf['type'])&&_0x36241b();});return{'attach'(_0x3d9fcd){_0x180462['observe'](_0x3d9fcd,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x180462['disconnect'](),_0x36241b['cancel']();}};}class AnnotationView extends ckeditor5['View']{['focusTracker'];['id'];['keystrokes'];['content'];['mainView'];['_mutationObserver'];constructor(_0x51865d,_0x43fea2){super(_0x51865d),this['id']=ckeditor5['uid'](),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['keystrokes']['set']('Esc',(_0x40f45f,_0x9d4ed8)=>this['fire']('Esc',_0x9d4ed8)),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'](_0x43fea2),this['mainView']=_0x43fea2;const _0x37e1fa=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-annotation-wrapper','ck-rounded-corners',_0x37e1fa['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 _0x2b6a57=this['element']['clientHeight'];_0x2b6a57&&(this['height']=_0x2b6a57);}}let Annotation$1=class _0x371033 extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['view'];['focusableElements'];['_type'];['_target'];constructor({view:_0x1f04b0,target:_0xcbc7c1,type:_0x1e4416,isVisible:_0x2b2bca=!0x0}){super(),this['view']=_0x1f04b0,this['view']['element']||this['view']['render'](),this['_type']=_0x1e4416,this['_target']=_0xcbc7c1,_0x371033['_assertCorrectTarget'](this['_getNormalizedTarget']()),this['focusableElements']=new ckeditor5['Collection']([this['view']['element']],{'idProperty':'_id'}),this['focusableElements']['on']('add',(_0x264c0f,_0x339686)=>{this['view']['focusTracker']['add'](_0x339686);}),this['focusableElements']['on']('remove',(_0x2f9fe9,_0x19bcbd)=>{this['view']['focusTracker']['remove'](_0x19bcbd);}),this['set']('isVisible',_0x2b2bca);}get['type'](){return'function'==typeof this['_type']?this['_type']():this['_type'];}get['innerView'](){return this['view']['mainView'];}get['target'](){const _0x5f0530=this['_getNormalizedTarget']();return _0x371033['_assertCorrectTarget'](_0x5f0530),_0x5f0530;}get['targetRect'](){const _0x56b12a=this['target'];if(null===_0x56b12a)return null;if(_0x56b12a instanceof ckeditor5['Rect'])return _0x56b12a;const _0x187cca=_0x56b12a['filter'](_0x3d5be8=>isDomElementVisible(_0x3d5be8));return 0x0===_0x187cca['length']?null:new ckeditor5['Rect'](_0x187cca[0x0]['getClientRects']()['item'](0x0));}get['isActive'](){return this['view']['isActive'];}set['isActive'](_0x410267){this['view']['isActive']=_0x410267,this['view']['mainView']['isActive']=_0x410267;}['updateTargetRect'](){this['view']['targetRect']=this['targetRect'];}['destroy'](){this['focusableElements']['stopListening'](),this['focusableElements']['clear'](),this['stopListening']();}['refreshVisibility'](){this['isVisible']=!!this['targetRect'];}static['_assertCorrectTarget'](_0x5462c5){if(!(null===_0x5462c5||_0x5462c5 instanceof ckeditor5['Rect']||Array['isArray'](_0x5462c5)&&_0x5462c5['every'](_0x426a10=>isElement$1(_0x426a10))))throw new ckeditor5['CKEditorError']('annotation-invalid-target',null,{'target':_0x5462c5});}['_getNormalizedTarget'](){const _0x340913='function'==typeof this['_target']?this['_target']():this['_target'];return isElement$1(_0x340913)?[_0x340913]:_0x340913;}};function isElement$1(_0x43b7b2){return null!==_0x43b7b2&&'object'==typeof _0x43b7b2&&'nodeType'in _0x43b7b2&&0x1===_0x43b7b2['nodeType'];}function isDomElementVisible(_0x9cd7aa){if(_0x9cd7aa['offsetParent'])return!0x0;return!!_0x9cd7aa['getClientRects']()['item'](0x0);}class AnnotationCollection extends ckeditor5['Collection']{['_innerViewToAnnotation'];['_viewToAnnotation'];['_focusTracker'];constructor(_0x198150=[]){super(),this['_innerViewToAnnotation']=new Map(),this['_viewToAnnotation']=new Map(),this['_focusTracker']=new ckeditor5['FocusTracker'](),this['_focusTracker']['on']('change:isFocused',(_0x36ffd4,_0x5da9cb,_0x2c6967)=>{_0x2c6967||this['fire']('blur');});for(const _0x430c10 of _0x198150)this['add'](_0x430c10);}get['isFocused'](){return this['_focusTracker']['isFocused'];}['add'](_0x114066){if(this['has'](_0x114066))throw new ckeditor5['CKEditorError']('annotationcollection-duplicated-item',null);this['_innerViewToAnnotation']['set'](_0x114066['innerView'],_0x114066),this['_viewToAnnotation']['set'](_0x114066['view'],_0x114066);for(const _0x37a2bc of _0x114066['focusableElements'])this['_focusTracker']['add'](_0x37a2bc);this['listenTo'](_0x114066['focusableElements'],'add',(_0x4c9161,_0xf8d067)=>{this['_focusTracker']['add'](_0xf8d067);}),this['listenTo'](_0x114066['focusableElements'],'remove',(_0x531282,_0x37731c)=>{this['_focusTracker']['remove'](_0x37731c);}),this['listenTo'](_0x114066['view']['focusTracker'],'change:isFocused',(_0x5191b7,_0x48ec98,_0x4d6809)=>{_0x4d6809&&this['fire']('focus',_0x114066);}),_0x114066['updateTargetRect']();const _0x41277e=this['_getOrderInContent'](_0x114066['view']['targetRect']);return super['add'](_0x114066,_0x41277e);}['remove'](_0x571ad3){if(!this['has'](_0x571ad3))throw new ckeditor5['CKEditorError']('annotationcollection-not-existing-item',null);this['stopListening'](_0x571ad3['view']['focusTracker']),this['stopListening'](_0x571ad3['focusableElements']);for(const _0x119b40 of _0x571ad3['focusableElements'])this['_focusTracker']['remove'](_0x119b40);return this['_viewToAnnotation']['delete'](_0x571ad3['view']),this['_innerViewToAnnotation']['delete'](_0x571ad3['innerView']),super['remove'](_0x571ad3);}['getByInnerView'](_0x6d1f4c){return this['_innerViewToAnnotation']['get'](_0x6d1f4c);}['getByView'](_0x268868){return this['_viewToAnnotation']['get'](_0x268868);}['destroy'](){super['clear'](),this['stopListening'](),this['_innerViewToAnnotation']['clear'](),this['_viewToAnnotation']['clear'](),this['_focusTracker']['destroy']();}['refreshPositioning'](){for(const _0x46a7f3 of this)_0x46a7f3['updateTargetRect']();this['_sort']();}['_sort'](){const _0x6dedbe=Array['from'](this)['sort']((_0x5b768e,_0x4227ec)=>elementOffsetComparator(_0x5b768e['view']['targetRect'],_0x4227ec['view']['targetRect']));for(let _0x155807=_0x6dedbe['length']-0x1;_0x155807>0x0;_0x155807--){const _0xe8a467=_0x6dedbe[_0x155807];_0x155807!==this['getIndex'](_0xe8a467)&&(this['remove'](_0xe8a467),this['add'](_0xe8a467));}}['_getOrderInContent'](_0x3ee711){let _0x20dfea=0x0;if(!_0x3ee711)return this['length'];for(const _0x47d36d of this){const _0x31e906=_0x47d36d['view']['targetRect'];if(_0x31e906){if(elementOffsetComparator(_0x3ee711,_0x31e906)<0x0)return _0x20dfea;_0x20dfea++;}}return _0x20dfea;}}function bindAnnotationCollections({source:_0x48c1e5,target:_0x5c54dd,filter:_0x3aecc4}){for(const _0x3f4634 of _0x48c1e5)_0x3aecc4(_0x3f4634)&&_0x5c54dd['add'](_0x3f4634);_0x5c54dd['listenTo'](_0x48c1e5,'add',(_0x29ed0b,_0x258828)=>{_0x3aecc4(_0x258828)&&_0x5c54dd['add'](_0x258828);}),_0x5c54dd['listenTo'](_0x48c1e5,'remove',(_0x56194f,_0x166b78)=>{_0x5c54dd['has'](_0x166b78)&&_0x5c54dd['remove'](_0x166b78);});}function elementOffsetComparator(_0x2214aa,_0x4745b6){if(null===_0x2214aa&&null===_0x4745b6)return 0x0;if(null===_0x2214aa)return-0x1;if(null===_0x4745b6)return 0x1;const _0x491eeb=_0x2214aa['top']-_0x4745b6['top'];return 0x0==_0x491eeb?_0x2214aa['left']-_0x4745b6['left']:_0x491eeb;}class Annotations extends ckeditor5['ContextPlugin']{['collection'];['_visibleAnnotations'];static get['pluginName'](){return'Annotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x94b86d){if(super(_0x94b86d),this['collection']=new AnnotationCollection(),this['_visibleAnnotations']=new AnnotationCollection(),this['set']('activeAnnotations',new Set()),this['_bindAnnotationsToVisibleAnnotations'](),_0x94b86d instanceof ckeditor5['Editor']){const _0x2aed31=_0x94b86d['locale'];_0x94b86d['accessibility']['addKeystrokeInfoGroup']({'id':'annotations','label':getTranslation$f(_0x2aed31,'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'),'keystrokes':[{'label':getTranslation$f(_0x2aed31,'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'),'keystroke':'Ctrl+Shift+E'},{'label':getTranslation$f(_0x2aed31,'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'),'keystroke':'Esc'},{'label':getTranslation$f(_0x2aed31,'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'),'keystroke':'Enter'},{'label':getTranslation$f(_0x2aed31,'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'),'keystroke':[['Tab'],['Shift+Tab']]},{'label':getTranslation$f(_0x2aed31,'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'),'keystroke':['Ctrl+Enter']},{'label':getTranslation$f(_0x2aed31,'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'),'keystroke':[['Arrowup'],['Arrowdown']]}]});}this['_setupEnterAnnotationKeystroke'](),this['_setupEscapeAnnotationHandling']();}['add'](_0x42ba97){this['collection']['add'](_0x42ba97);}['remove'](_0x522feb){this['collection']['remove'](_0x522feb),_0x522feb['destroy']();}['refreshVisibility'](){for(const _0x597487 of this['collection'])_0x597487['refreshVisibility']();}['refreshPositioning'](){this['_visibleAnnotations']['refreshPositioning']();}['getByInnerView'](_0x563dc6){return this['collection']['getByInnerView'](_0x563dc6);}['deactivateAll'](){this['fire']('_deactivateAllAnnotations');}['destroy'](){for(const _0xd8f2d3 of this['collection'])_0xd8f2d3['destroy']();this['_visibleAnnotations']['destroy'](),this['collection']['destroy'](),super['destroy']();}['activate'](_0xf9f02a){this['fire']('_activateAnnotation',_0xf9f02a);}['createAnnotation'](_0x55554f){return new Annotation$1(_0x55554f);}['createAnnotationView'](_0xaa8579,_0x31a52e){return new AnnotationView(_0xaa8579,_0x31a52e);}['_addActiveAnnotation'](_0x2a1f34){const _0x311410=new Set(this['activeAnnotations']);_0x311410['add'](_0x2a1f34),this['activeAnnotations']=_0x311410;}['_removeActiveAnnotation'](_0x16a283){const _0x4e579d=new Set(this['activeAnnotations']);_0x4e579d['delete'](_0x16a283),this['activeAnnotations']=_0x4e579d;}['_bindAnnotationsToVisibleAnnotations'](){const _0x5e8a95=this['collection'],_0x1c651d=this['_visibleAnnotations'];function _0x2585f3(_0x3263de){const _0x30971a=_0x3263de['source'];_0x30971a['isVisible']&&!_0x1c651d['has'](_0x30971a)?_0x1c651d['add'](_0x30971a):!_0x30971a['isVisible']&&_0x1c651d['has'](_0x30971a)&&_0x1c651d['remove'](_0x30971a),_0x30971a['view']['focusTracker']['remove'](_0x30971a['view']['element']),_0x30971a['view']['focusTracker']['add'](_0x30971a['view']['element']);}this['listenTo'](_0x5e8a95,'add',(_0x4fd186,_0x35e3cf)=>{_0x35e3cf['isVisible']&&_0x1c651d['add'](_0x35e3cf),this['listenTo'](_0x35e3cf,'change:isVisible',_0x2585f3);}),this['listenTo'](_0x5e8a95,'remove',(_0xc1b3d6,_0x1ed8f2)=>{_0x1c651d['has'](_0x1ed8f2)&&_0x1c651d['remove'](_0x1ed8f2),this['stopListening'](_0x1ed8f2,'change:isVisible',_0x2585f3);});}['_setupEnterAnnotationKeystroke'](){const _0xb247fc=_0x2a549f=>{_0x2a549f['on']('ready',()=>{_0x2a549f['keystrokes']['set'](_0x356a21,(_0xa4bb1a,_0x38b0e8)=>{const _0x2c77e9=ckeditor5['first'](this['activeAnnotations']['values']());_0x2c77e9&&(_0x2c77e9['view']['focus'](),_0x38b0e8());});});};this['context']instanceof ckeditor5['Editor']?_0xb247fc(this['context']):this['context']['editors']&&this['context']['editors']['on']('add',(_0x50ecf7,_0x2d7b41)=>{_0xb247fc(_0x2d7b41);});}['_setupEscapeAnnotationHandling'](){const _0x5d5a5b=_0x518389=>{const _0x27fc2a=_0x518389['source'],_0x11804f=[];let _0x35893e;if(Array['isArray'](_0x27fc2a['target'])){_0x35893e=_0x27fc2a['target'][0x0],this['context']instanceof ckeditor5['Editor']?_0x11804f['push'](this['context']):this['context']['editors']&&_0x11804f['push'](...this['context']['editors']);for(const _0x1e2ef8 of _0x11804f)for(const _0xbbeee3 of _0x1e2ef8['editing']['view']['domRoots']['values']())if(_0xbbeee3['contains'](_0x35893e))return void _0x1e2ef8['editing']['view']['focus']();_0x35893e['focus']();}};this['listenTo'](this['collection'],'add',(_0x5ed435,_0x15a8a1)=>{this['listenTo'](_0x15a8a1,'escape',_0x5d5a5b,{'priority':'low'});}),this['listenTo'](this['collection'],'remove',(_0x189759,_0x2638f3)=>{this['stopListening'](_0x2638f3,'escape',_0x5d5a5b);});}}const _0xd316d7=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'],_0x5e54fb];}static get['pluginName'](){return'CommentsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1ecb15){super(_0x1ecb15),this['_threads']=new Map(),this['_threadToController']=new Map(),this['_viewToController']=new Map(),this['set']('_readOnlyChannels',new Set()),this['set']('_permissions',new Map());const _0x2f7e84=this['context']['config'];_0x2f7e84['define']('comments.maxCommentsWhenCollapsed',0x2),_0x2f7e84['define']('comments.maxThreadTotalWeight',0x1f4),_0x2f7e84['define']('comments.maxCommentCharsWhenCollapsed',0x8c),_0x2f7e84['define']('comments.CommentThreadView',CommentThreadView),_0x2f7e84['define']('comments.CommentView',CommentView),_0x2f7e84['get']('comments.editorConfig')||console['warn']('Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.');}['init'](){const _0x151fbd=this['context']['plugins']['get'](Annotations);this['set']('activeCommentThread',null),this['on']('addCommentThread',(_0x1c67d6,_0x3affcb)=>this['_addCommentThread'](_0x3affcb)),this['on']('submitCommentThread',(_0x1da83e,_0x9228d6)=>this['_submitCommentThread'](_0x9228d6)),this['on']('resolveCommentThread',(_0x357aa9,_0xe85fca)=>this['_resolveCommentThread'](_0xe85fca)),this['on']('resolveCommentThread',(_0x515ff5,_0x32b4e7)=>this['_updateActiveAnnotation'](_0x32b4e7),{'priority':'lowest'}),this['on']('reopenCommentThread',(_0xaaf97f,_0x37d40c)=>this['_reopenCommentThread'](_0x37d40c)),this['on']('reopenCommentThread',(_0x2a3eb3,_0x281ec8)=>this['_updateActiveAnnotation'](_0x281ec8),{'priority':'lowest'}),this['on']('removeCommentThread',(_0x2eb871,_0x2f1d9d)=>this['_removeCommentThread'](_0x2f1d9d)),this['on']('updateCommentThread',(_0x4c6fba,_0x4a37dd)=>this['_updateCommentThread'](_0x4a37dd)),this['on']('updateCommentThread',(_0x131e03,_0x384680)=>this['_updateActiveAnnotation'](_0x384680),{'priority':'lowest'}),this['on']('addComment',(_0x45e21f,_0x1d276e)=>this['_addComment'](_0x1d276e)),this['on']('updateComment',(_0x1ab9b4,_0x1524f5)=>this['_updateComment'](_0x1524f5)),this['on']('removeComment',(_0x4311e6,_0x363acb)=>this['_removeComment'](_0x363acb)),this['on']('addComment',(_0x27d1b8,{threadId:_0x3bf2e5,isFromAdapter:_0x33c552})=>{if(_0x33c552)return;const _0x138a58=this['getCommentThread'](_0x3bf2e5),_0x314d47=_0x138a58&&this['_threadToController']['get'](_0x138a58);_0x314d47&&_0x314d47['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['listenTo'](_0x151fbd,'change:activeAnnotations',(_0x3d5955,_0x27b549,_0x93e199)=>{const _0x5347f1=Array['from'](_0x93e199)['map'](_0x2efb1f=>this['_viewToController']['get'](_0x2efb1f['innerView']))['filter'](Boolean)[0x0];this['activeCommentThread']=_0x5347f1?_0x5347f1['model']:null;});}set['adapter'](_0x54185c){if(this['_adapter'])throw new ckeditor5['CKEditorError']('commentsrepository-adapter-already-set');this['_adapter']=_0x54185c;}get['adapter'](){return this['_adapter'];}['addCommentThread']({channelId:_0x3b37c9=_0xd316d7,threadId:_0x113eaa=ckeditor5['uid'](),comments:_0x3ca126=[],unlinkedAt:_0x92a65d=null,resolvedAt:_0x2ae6b0=null,resolvedBy:_0x38aa0e=null,target:_0x199af2=null,context:_0x908f48=null,attributes:_0x2f6f77={},isResolvable:_0x1c5efa=!0x0,isSubmitted:_0x3c3b3b=!0x1,isFromAdapter:_0x24e5e1=!0x1}={}){return this['fire'](toEventName('addCommentThread',_0x3b37c9),{'channelId':_0x3b37c9,'threadId':_0x113eaa,'comments':_0x3ca126,'unlinkedAt':_0x92a65d,'resolvedAt':_0x2ae6b0,'resolvedBy':_0x38aa0e,'target':_0x199af2,'context':_0x908f48,'attributes':_0x2f6f77,'isFromAdapter':_0x24e5e1,'isResolvable':_0x1c5efa,'isSubmitted':_0x3c3b3b}),this['getCommentThread'](_0x113eaa);}['openNewCommentThread']({channelId:_0x1d1458=_0xd316d7,threadId:_0x5e6834=ckeditor5['uid'](),target:_0x372a58,context:_0x46d527=null,isResolvable:_0xaf1de6=!0x0}){if(this['_readOnlyChannels']['has'](_0x1d1458)||this['_readOnlyChannels']['has'](void 0x0))return null;if(!_0x372a58)throw new ckeditor5['CKEditorError']('commentsrepository-missing-target');const _0x6b632d=this['addCommentThread']({'channelId':_0x1d1458,'threadId':_0x5e6834,'target':_0x372a58,'context':_0x46d527,'isResolvable':_0xaf1de6});if(!_0x6b632d)return null;const _0x3d1c41=this['_threadToController']['get'](_0x6b632d),_0x14fa2b=_0x3d1c41['view']['commentThreadInputView']['commentInputView'],_0x279c12=this['context']['plugins']['get'](Annotations),_0x5f3fed=_0x279c12['getByInnerView'](_0x3d1c41['view']);return _0x279c12['activate'](_0x5f3fed),_0x14fa2b['once']('editorReady',()=>_0x14fa2b['focus']()),_0x6b632d;}['hasCommentThread'](_0x33a025){if('string'!=typeof _0x33a025)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-thread-id');return this['_threads']['has'](_0x33a025);}['updateCommentThread']({channelId:_0x3e3c0c=_0xd316d7,threadId:_0x45804c,context:_0x63bf83,unlinkedAt:_0x1383f7,attributes:_0x5d50cc,isFromAdapter:_0xc91efb=!0x1}){return this['fire'](toEventName('updateCommentThread',_0x3e3c0c),{'channelId':_0x3e3c0c,'threadId':_0x45804c,'context':_0x63bf83,'unlinkedAt':_0x1383f7,'attributes':_0x5d50cc,'isFromAdapter':_0xc91efb}),this['getCommentThread'](_0x45804c);}['getCommentThread'](_0x2bc7e2){if('string'!=typeof _0x2bc7e2)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-thread-id');return this['_threads']['get'](_0x2bc7e2);}['fetchCommentThread']({channelId:_0x51f010,threadId:_0x29b16f}={}){const _0x366554=this['getCommentThread'](_0x29b16f);if(_0x366554)return Promise['resolve'](_0x366554);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':_0x51f010,'threadId':_0x29b16f})['then'](_0x37c9aa=>this['hasCommentThread'](_0x29b16f)?this['getCommentThread'](_0x29b16f):_0x37c9aa?this['addCommentThread'](Object['assign']({'isFromAdapter':!0x0,'channelId':_0x51f010},_0x37c9aa)):void 0x0)['catch'](_0x43f9fe=>{throw console['error'](_0x43f9fe),new ckeditor5['CKEditorError']('commentsrepository-fetch-comment-thread',this['context']);});}['getCommentThreads']({channelId:_0x5810ce,skipNotAttached:_0x8ed795=!0x1,skipEmpty:_0x29127e=!0x1,toJSON:_0x4577a3=!0x1}={}){const _0x3f21f0=[];for(const _0x3cf74a of this['_threads']['values']())_0x5810ce&&_0x3cf74a['channelId']!==_0x5810ce||_0x8ed795&&!_0x3cf74a['isAttached']||_0x29127e&&0x0===_0x3cf74a['length']||_0x3f21f0['push'](_0x3cf74a);return _0x4577a3?_0x3f21f0['map'](_0x3dbf82=>_0x3dbf82['toJSON']()):_0x3f21f0;}['getAnnotationForCommentThread'](_0x5382cc){const _0x3fadd4=this['_threadToController']['get'](_0x5382cc);if(!_0x3fadd4)return null;return this['context']['plugins']['get'](Annotations)['getByInnerView'](_0x3fadd4['view'])||null;}['getCommentThreadForAnnotation'](_0x41721c){const _0x204f46=this['_viewToController']['get'](_0x41721c['innerView']);return _0x204f46?_0x204f46['model']:null;}['setActiveCommentThread'](_0x2b2861){const _0x449011=this['context']['plugins']['get'](Annotations);if(!_0x2b2861)return void(this['activeCommentThread']&&_0x449011['deactivateAll']());const _0x4d3694=this['getCommentThread'](_0x2b2861);if(!_0x4d3694)throw new ckeditor5['CKEditorError']('commentsrepository-active-missing-comment-thread',null,{'threadId':_0x2b2861});if(!this['_threadToController']['has'](_0x4d3694))throw new ckeditor5['CKEditorError']('commentsrepository-active-not-attached',null,{'threadId':_0x2b2861});const _0x5ba4b4=_0x449011['getByInnerView'](this['_threadToController']['get'](_0x4d3694)['view']);_0x449011['activate'](_0x5ba4b4);}['switchReadOnly'](_0xa52746,_0x23f8b0){_0xa52746?this['_readOnlyChannels']['add'](_0x23f8b0):this['_readOnlyChannels']['delete'](_0x23f8b0),this['fire']('change:_readOnlyChannels','_readOnlyChannels',this['_readOnlyChannels'],this['_readOnlyChannels']);}['isReadOnly'](_0x38e878){return this['_readOnlyChannels']['has'](_0x38e878)||this['_readOnlyChannels']['has'](void 0x0);}['createCommentThreadController'](_0x64441f,_0x25666d){return new CommentThreadController(_0x64441f,_0x25666d);}['setPermissions'](_0x4495cc,_0x54ee83=_0xd316d7){this['_permissions']['set'](_0x54ee83,_0x4495cc),this['fire']('change:_permissions','_permissions',this['_permissions'],this['_permissions']);}['getPermissions'](_0x52fdb9=_0xd316d7){return this['_permissions']['has'](_0x52fdb9)?this['_permissions']['get'](_0x52fdb9):defaultPermissions;}['_addCommentThread']({channelId:_0x3ea312,threadId:_0x21db72,comments:_0x4ca9e4,unlinkedAt:_0x38de83,resolvedAt:_0x324937,resolvedBy:_0x26e2a8,target:_0xc15edf,context:_0x2bb663,attributes:_0x57fae6,isFromAdapter:_0xa84262,isResolvable:_0x47465f,isSubmitted:_0x31cf1e}){if('string'!=typeof _0x21db72)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x21db72});if(this['hasCommentThread'](_0x21db72))throw new ckeditor5['CKEditorError']('commentsrepository-duplicated-comment-thread-id',null,{'threadId':_0x21db72});const _0x2b0f7c=new CommentThread(this,{'channelId':_0x3ea312,'id':_0x21db72,'context':_0x2bb663,'attributes':_0x57fae6,'unlinkedAt':_0x38de83,'resolvedAt':_0x324937,'resolvedBy':_0x26e2a8?this['context']['plugins']['get'](_0x5e54fb)['getUser'](_0x26e2a8):null,'isResolvable':_0x47465f,'isSubmitted':_0x31cf1e||_0xa84262});this['_threads']['set'](_0x21db72,_0x2b0f7c);for(const _0x3340d8 of _0x4ca9e4)_0x2b0f7c['_add'](this['_createNewComment']({'threadId':_0x21db72,..._0x3340d8}));return _0xc15edf&&_0x2b0f7c['attachTo'](_0xc15edf),_0xa84262||!_0x2b0f7c['length']?Promise['resolve']():this['_submitCommentThread']({'channelId':_0x3ea312,'threadId':_0x21db72});}['_submitCommentThread']({channelId:_0x4b77ae,threadId:_0x576dc3}){if(!this['hasCommentThread'](_0x576dc3))throw new ckeditor5['CKEditorError']('commentsrepository-missing-comment-thread',this);const _0x52c6a4=this['getCommentThread'](_0x576dc3);if(_0x52c6a4['_isSubmitted']=!0x0,!this['adapter']||'function'!=typeof this['adapter']['addCommentThread'])return Promise['resolve']();const {id:_0x33dc87,comments:_0x4a52f6,resolvedAt:_0x31c637,resolvedBy:_0x79d322,context:_0x463082,attributes:_0x2bf665}=_0x52c6a4,_0x3d41b4=this['context']['plugins']['get']('PendingActions'),_0x5db232=_0x3d41b4['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['addCommentThread']({'channelId':_0x4b77ae,'threadId':_0x33dc87,'comments':_0x4a52f6['map'](_0x290476=>_0x290476['toJSON']()),'resolvedAt':_0x31c637,'resolvedBy':_0x79d322?_0x79d322['id']:_0x79d322,'context':_0x463082,'attributes':_0x2bf665})['then'](({comments:_0x336af1})=>{_0x3d41b4['remove'](_0x5db232);for(const _0x57139d of _0x336af1)this['_updateComment']({'channelId':_0x4b77ae,'threadId':_0x576dc3,'commentId':_0x57139d['commentId'],'createdAt':_0x57139d['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x56a4db=>{throw console['error'](_0x56a4db),new ckeditor5['CKEditorError']('commentsrepository-add-comment-thread-internal-error',this);});}['_attachCommentThread']({threadId:_0x58938d,target:_0x40e1d7}){const _0x571eb2=this['getCommentThread'](_0x58938d);if(!_0x571eb2)throw new ckeditor5['CKEditorError']('commentsrepository-attach-missing-comment-thread',this);const _0x46fd8b=this['context']['plugins']['get']('PendingActions'),_0x5330e5=this['context']['plugins']['get'](Annotations),_0x489cc2=this['_createCommentThreadView'](_0x571eb2),_0x46d552=new CommentThreadController(_0x571eb2,_0x489cc2);let _0x6f6e12=null;_0x489cc2['on']('change:isDirty',(_0x36bb58,_0xd49fb2,_0x3f322d)=>{_0x3f322d?_0x6f6e12=_0x46fd8b['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD')):_0x6f6e12&&(_0x46fd8b['remove'](_0x6f6e12),_0x6f6e12=null);}),this['_threadToController']['set'](_0x571eb2,_0x46d552),this['_viewToController']['set'](_0x489cc2,_0x46d552);const _0x80941c=new AnnotationView(this['context']['locale'],_0x489cc2);_0x80941c['bind']('length')['to'](_0x489cc2),_0x80941c['bind']('isDirty')['to'](_0x489cc2,'isDirty',_0x489cc2,'length',(_0x2ebe39,_0x4c56db)=>_0x2ebe39||!_0x4c56db),_0x80941c['bind']('isActive')['to'](_0x489cc2),_0x80941c['type']='comment';const _0x55b9c9=new Annotation$1({'view':_0x80941c,'target':_0x40e1d7,'type':'comment','isVisible':!_0x571eb2['archivedAt']&&!!('function'==typeof _0x40e1d7?_0x40e1d7():_0x40e1d7)});return _0x489cc2['on']('escape',()=>{_0x55b9c9['fire']('escape');}),this['_bindAnnotationToEditors'](_0x489cc2,_0x55b9c9),_0x5330e5['add'](_0x55b9c9),_0x55b9c9;}['_bindAnnotationToEditors'](_0x377d9e,_0x5e7454){this['listenTo'](_0x377d9e,'editorReady',(_0x3e5fce,_0x1aecda)=>{const _0x5621de=_0x1aecda['ui']['view']['body']['bodyCollectionContainer'];_0x5e7454['focusableElements']['add'](_0x5621de),this['context']instanceof ckeditor5['Editor']&&this['context']['ui']['focusTracker']['add'](_0x5621de);},{'priority':'highest'}),this['listenTo'](_0x377d9e,'editorDestroyed',(_0x380a1d,_0x102245)=>{const _0x5bc03f=_0x102245['ui']['view']['body']['bodyCollectionContainer'];_0x5e7454['focusableElements']['has'](_0x5bc03f)&&_0x5e7454['focusableElements']['remove'](_0x5bc03f),this['context']instanceof ckeditor5['Editor']&&this['context']['ui']['focusTracker']['remove'](_0x5bc03f);});}['_unbindEditors'](_0x5b7398){this['stopListening'](_0x5b7398,'editorReady'),this['stopListening'](_0x5b7398,'editorDestroyed');}['_createCommentThreadView'](_0x3b5c6c){const _0x22c489=this['context']['plugins']['get'](_0x5e54fb),{config:_0x2cc374,locale:_0x2fd13f}=this['context'],_0x31d747=getDateTimeFormatter(_0x2cc374['get']('locale'),_0x2fd13f);return new(0x0,(_0x2cc374['get']('comments'))['CommentThreadView'])(_0x2fd13f,_0x3b5c6c,_0x22c489['me'],{'editorConfig':{..._0x2cc374['get']('comments.editorConfig'),'licenseKey':this['context']['config']['get']('licenseKey')},'copyMarkers':_0x2cc374['get']('comments.copyMarkers'),'maxCommentsWhenCollapsed':_0x2cc374['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x2cc374['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x2cc374['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':_0x31d747,'CommentView':_0x2cc374['get']('comments')['CommentView']});}['_resolveCommentThread']({threadId:_0x23ff86,channelId:_0x17c7be,resolvedAt:_0x53b95c,resolvedBy:_0x357224,isFromAdapter:_0x569eca}){if(!this['hasCommentThread'](_0x23ff86))throw new ckeditor5['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0x23ff86});const _0x1f9caa=this['getCommentThread'](_0x23ff86);if(_0x1f9caa['isResolved'])throw new ckeditor5['CKEditorError']('commentsrepository-resolved-comment-thread',null,{'threadId':_0x23ff86});const _0xd0a710=this['context']['plugins']['get'](_0x5e54fb);if(_0x1f9caa['resolvedBy']=_0xd0a710['getUser'](_0x357224),_0x1f9caa['resolvedAt']=_0x53b95c,_0x569eca||!this['adapter']||'function'!=typeof this['adapter']['resolveCommentThread'])return Promise['resolve']();const _0x56ec2f=this['context']['plugins']['get']('PendingActions'),_0x1ab692=_0x56ec2f['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['resolveCommentThread']({'channelId':_0x17c7be,'threadId':_0x23ff86})['then'](({resolvedAt:_0x444114,resolvedBy:_0xb20753})=>{_0x56ec2f['remove'](_0x1ab692),_0x1f9caa['resolvedBy']['id']!==_0xb20753&&(_0x1f9caa['resolvedBy']=_0xd0a710['getUser'](_0xb20753)),_0x1f9caa['resolvedAt']=_0x444114;})['catch'](_0x5f2915=>{throw console['error'](_0x5f2915),new ckeditor5['CKEditorError']('commentsrepository-resolve-comment-thread-internal-error',this);});}['_reopenCommentThread']({threadId:_0x5d7edb,channelId:_0x4ed88d,isFromAdapter:_0x54f045}){if(!this['hasCommentThread'](_0x5d7edb))throw new ckeditor5['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0x5d7edb});const _0x2d23e9=this['getCommentThread'](_0x5d7edb);if(!_0x2d23e9['isResolved'])throw new ckeditor5['CKEditorError']('commentsrepository-reopen-comment-thread',null,{'threadId':_0x5d7edb});if(_0x2d23e9['resolvedBy']=null,_0x2d23e9['resolvedAt']=null,_0x54f045||!this['adapter']||'function'!=typeof this['adapter']['reopenCommentThread'])return Promise['resolve']();const _0x573077=this['context']['plugins']['get']('PendingActions'),_0x103452=_0x573077['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['reopenCommentThread']({'channelId':_0x4ed88d,'threadId':_0x5d7edb})['then'](()=>_0x573077['remove'](_0x103452))['catch'](_0x2853ca=>{throw console['error'](_0x2853ca),new ckeditor5['CKEditorError']('commentsrepository-reopen-comment-thread-internal-error',this);});}['_removeCommentThread']({threadId:_0x1f9f8d,isFromAdapter:_0x4740c1}){const _0x1ede33=this['getCommentThread'](_0x1f9f8d);if(!_0x1ede33)throw new ckeditor5['CKEditorError']('commentsrepository-remove-missing-comment-thread',this);if(this['_detachCommentThread'](_0x1f9f8d),this['_threads']['delete'](_0x1f9f8d),!_0x1ede33['isSubmitted']||_0x4740c1||!this['adapter']||'function'!=typeof this['adapter']['removeCommentThread'])return Promise['resolve']();const _0x7f09c2=this['context']['plugins']['get']('PendingActions'),{channelId:_0x128737}=_0x1ede33,_0x4761c2=_0x7f09c2['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeCommentThread']({'channelId':_0x128737,'threadId':_0x1f9f8d})['then'](()=>_0x7f09c2['remove'](_0x4761c2))['catch'](_0x2a06d3=>{throw console['error'](_0x2a06d3),new ckeditor5['CKEditorError']('commentsrepository-remove-comment-thread-internal-error',this);});}['_updateCommentThread']({threadId:_0x412f8a,unlinkedAt:_0x873115,context:_0x254788,attributes:_0x50cce9,isFromAdapter:_0x5aad4a}){if('string'!=typeof _0x412f8a)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x412f8a});if(!this['hasCommentThread'](_0x412f8a))throw new ckeditor5['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0x412f8a});const _0x5e3bbe=this['getCommentThread'](_0x412f8a);let _0x23152a=!0x1;if(void 0x0!==_0x254788&&_0x5e3bbe['context']!==_0x254788&&(_0x5e3bbe['context']=_0x254788,_0x23152a=!0x0),void 0x0!==_0x873115&&_0x5e3bbe['unlinkedAt']!==_0x873115&&(_0x5e3bbe['unlinkedAt']=_0x873115,_0x23152a=!0x0),_0x50cce9&&!_0x4cbe47(_0x50cce9,_0x5e3bbe['attributes'])&&(_0x5e3bbe['attributes']=_0x50cce9,_0x23152a=!0x0),!_0x23152a)return Promise['resolve']();if(!_0x5e3bbe['isSubmitted']||_0x5aad4a||!this['adapter']||'function'!=typeof this['adapter']['updateCommentThread'])return Promise['resolve']();const _0x1d84f8=this['context']['plugins']['get']('PendingActions'),{channelId:_0x5a98a5}=_0x5e3bbe,_0x29a0e1=_0x1d84f8['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateCommentThread']({'channelId':_0x5a98a5,'threadId':_0x412f8a,'context':_0x254788,'unlinkedAt':_0x873115,'attributes':_0x50cce9})['then'](()=>_0x1d84f8['remove'](_0x29a0e1))['catch'](_0x100ba5=>{throw console['error'](_0x100ba5),new ckeditor5['CKEditorError']('commentsrepository-update-comment-thread-internal-error',this);});}['_detachCommentThread'](_0x831d8e){const _0x42cd86=this['context']['plugins']['get'](Annotations),_0x17e81f=this['getCommentThread'](_0x831d8e);if(_0x17e81f['_isAttached']=!0x1,this['_threadToController']['has'](_0x17e81f)){const _0x190daa=this['_threadToController']['get'](_0x17e81f),_0x322e3c=_0x190daa['view'],_0x4271e7=_0x42cd86['getByInnerView'](_0x322e3c);this['_threadToController']['delete'](_0x17e81f),this['_viewToController']['delete'](_0x322e3c),_0x4271e7&&_0x42cd86['remove'](_0x4271e7),_0x190daa['destroy'](),_0x322e3c['destroy']()['then'](()=>{this['_unbindEditors'](_0x322e3c);});}}['_updateActiveAnnotation']({threadId:_0x16fcae,resolvedAt:_0x559a4d,unlinkedAt:_0x5a9fee}){const _0x10dad1=!!_0x559a4d,_0x27ceed=this['context']['plugins']['get'](Annotations),_0x22000c=this['getCommentThread'](_0x16fcae);if(this['_threadToController']['has'](_0x22000c)){const _0x5de5ec=this['_threadToController']['get'](_0x22000c)['view'],_0xae1560=_0x27ceed['getByInnerView'](_0x5de5ec);_0xae1560&&(_0x10dad1&&_0x27ceed['_removeActiveAnnotation'](_0xae1560),_0x5a9fee?_0xae1560['isVisible']=!0x1:_0xae1560['refreshVisibility']());}}['_getExternalAuthor'](_0x3a2991){const _0x2c5735=this['context']['plugins']['get'](_0x5e54fb),_0x435aba=hashObject('external:'+_0x3a2991),_0x49cfbf=_0x2c5735['getUser'](_0x435aba);return _0x49cfbf||_0x2c5735['addUser']({'id':_0x435aba,'name':_0x3a2991});}['_createNewComment']({threadId:_0x3792fc,commentId:_0xd624c5=ckeditor5['uid'](),content:_0x3e7b7c,authorId:_0x17495f,createdAt:_0x44937a,attributes:_0x16b959}){if('string'!=typeof _0xd624c5)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-commentid');if('string'!=typeof _0x17495f)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-authorid');if('string'!=typeof _0x3e7b7c||!_0x3e7b7c['trim']())throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-content');const _0x35a882=this['context']['plugins']['get'](_0x5e54fb)['getUser'](_0x17495f);if(!_0x35a882)throw new ckeditor5['CKEditorError']('commentsrepository-add-comment-user-not-exists',null,{'authorId':_0x17495f});let _0x304a2b=null,_0x312c5a=_0x44937a;return _0x16b959?.['@external']&&(_0x304a2b=this['_getExternalAuthor'](_0x16b959['@external']['authorName']),_0x312c5a=new Date(_0x16b959['@external']['createdAt'])),new Comment(this,{'threadId':_0x3792fc,'id':_0xd624c5,'author':_0x304a2b||_0x35a882,'creator':_0x35a882,'content':_0x3e7b7c,'createdAt':_0x44937a,'authoredAt':_0x312c5a,'attributes':_0x16b959});}['_addComment'](_0x2b2d07){let {threadId:_0x24253,content:_0x1802eb,attributes:_0x140696,isFromAdapter:_0x5351a9}=_0x2b2d07;const _0x5458fc=this['getCommentThread'](_0x2b2d07['threadId']);if(!_0x5458fc)throw new ckeditor5['CKEditorError']('commentsrepository-add-comment-to-missing-comment-thread',this);const _0x5ece30=this['_createNewComment'](_0x2b2d07),{id:_0x4ea710}=_0x5ece30;if(_0x5458fc['_add'](_0x5ece30),_0x5351a9||!this['adapter']||'function'!=typeof this['adapter']['addComment']||!_0x5458fc['isSubmitted'])return Promise['resolve']();const _0x27187c=this['context']['plugins']['get']('PendingActions'),{channelId:_0x2fbd23}=_0x5458fc,_0x2f68d5=_0x27187c['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return _0x140696||(_0x140696={}),this['adapter']['addComment']({'channelId':_0x2fbd23,'threadId':_0x24253,'commentId':_0x4ea710,'content':_0x1802eb,'attributes':_0x140696})['then'](_0x5da109=>{_0x27187c['remove'](_0x2f68d5),_0x5da109&&this['_updateComment']({'channelId':_0x2fbd23,'threadId':_0x24253,'commentId':_0x4ea710,'createdAt':_0x5da109['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x2988ab=>{throw console['error'](_0x2988ab),new ckeditor5['CKEditorError']('commentsrepository-add-comment-internal-error',this);});}['_updateComment']({threadId:_0x5f253e,commentId:_0x38e882,content:_0x4a0d1d,createdAt:_0x434661,attributes:_0x2576cb,isFromAdapter:_0x2bddd5}){if(void 0x0!==_0x4a0d1d&&('string'!=typeof _0x4a0d1d||!_0x4a0d1d['trim']()['length']))throw new ckeditor5['CKEditorError']('commentsrepository-update-comment-invalid-content');const _0x200844=this['getCommentThread'](_0x5f253e),_0x17b77f=_0x200844['getComment'](_0x38e882);if(!_0x17b77f)throw new ckeditor5['CKEditorError']('commentsrepository-update-missing-comment',this);let _0x5627b5=!0x1;if(_0x4a0d1d&&_0x4a0d1d!==_0x17b77f['content']&&(_0x17b77f['isEditable']||_0x2bddd5)&&(_0x17b77f['content']=_0x4a0d1d,_0x5627b5=!0x0),_0x434661&&_0x434661!==_0x17b77f['createdAt']&&(_0x17b77f['createdAt']=_0x434661,_0x17b77f['attributes']&&_0x17b77f['attributes']['@external']||(_0x17b77f['authoredAt']=_0x434661),_0x5627b5=!0x0),_0x2576cb&&!_0x4cbe47(_0x2576cb,_0x17b77f['attributes'])&&(_0x17b77f['attributes']=_0x2576cb,_0x5627b5=!0x0),!_0x5627b5)return Promise['resolve']();if(_0x200844['fire']('commentUpdated'),_0x2bddd5||!this['adapter']||'function'!=typeof this['adapter']['updateComment'])return Promise['resolve']();const _0x91a204=this['context']['plugins']['get']('PendingActions'),{channelId:_0x123ee8}=this['getCommentThread'](_0x17b77f['threadId']),_0x2bac19=_0x91a204['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateComment']({'channelId':_0x123ee8,'threadId':_0x5f253e,'commentId':_0x38e882,'content':_0x4a0d1d,'attributes':_0x2576cb})['then'](()=>_0x91a204['remove'](_0x2bac19))['catch'](_0x4266a2=>{throw console['error'](_0x4266a2),new ckeditor5['CKEditorError']('commentsrepository-update-comment-internal-error',this);});}['_removeComment']({threadId:_0x4185d1,commentId:_0x22b6e3,isFromAdapter:_0x19a854}){const _0x5bb852=this['getCommentThread'](_0x4185d1),_0x28d8fd=_0x5bb852['getComment'](_0x22b6e3);if(!_0x28d8fd)throw new ckeditor5['CKEditorError']('commentsrepository-remove-missing-comment',this);if(_0x5bb852['_remove'](_0x28d8fd),_0x19a854||!this['adapter']||'function'!=typeof this['adapter']['removeComment'])return Promise['resolve']();const _0x33c92d=this['context']['plugins']['get']('PendingActions'),{channelId:_0x400a86}=_0x5bb852,_0x35976c=_0x33c92d['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeComment']({'channelId':_0x400a86,'threadId':_0x4185d1,'commentId':_0x22b6e3})['then'](()=>_0x33c92d['remove'](_0x35976c))['catch'](_0x3bc939=>{throw console['error'](_0x3bc939),new ckeditor5['CKEditorError']('commentsrepository-remove-comment-internal-error',this);});}}class CommentThread extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['channelId'];['id'];['_isAttached'];['_isSubmitted'];['comments'];['_repository'];constructor(_0x5dd7b8,_0x201a3f){super();const _0x45e1b1=_0x201a3f['isResolvable'];this['channelId']=_0x201a3f['channelId'],this['id']=_0x201a3f['id'],this['comments']=new ckeditor5['Collection'](),this['_repository']=_0x5dd7b8,this['_isAttached']=!0x1,this['_isSubmitted']=_0x201a3f['isSubmitted'],this['set']('_hasTargetInContent',!0x0),this['bind']('isReadOnly')['to'](_0x5dd7b8,'_permissions',_0x5dd7b8,'_readOnlyChannels',()=>_0x5dd7b8['isReadOnly'](this['channelId'])),this['bind']('isRemovable')['to'](_0x5dd7b8,'_permissions',()=>_0x5dd7b8['getPermissions'](this['channelId'])['admin']),this['bind']('canComment')['to'](_0x5dd7b8,'_permissions',()=>{const _0x12a893=_0x5dd7b8['getPermissions'](this['channelId']);return _0x12a893['write']||_0x12a893['admin'];}),this['bind']('isResolvable')['to'](_0x5dd7b8,'_permissions',()=>_0x45e1b1&&_0x5dd7b8['getPermissions'](this['channelId'])['resolve']),this['set']('context',_0x201a3f['context']),this['bind']('archivedAt')['to'](this,'resolvedAt',this,'unlinkedAt',(_0x4d6915,_0x276801)=>_0x4d6915?_0x276801?_0x4d6915<_0x276801?_0x4d6915:_0x276801:_0x4d6915:_0x276801),this['set']('unlinkedAt',_0x201a3f['unlinkedAt']||null),this['set']('resolvedAt',_0x201a3f['resolvedAt']||null),this['set']('resolvedBy',_0x201a3f['resolvedBy']||null),this['bind']('isResolved')['to'](this,'resolvedAt',_0x1ff86d=>!!_0x1ff86d),this['set']('attributes',_0x201a3f['attributes']||{});}get['weight'](){return Array['from'](this['comments'])['reduce']((_0x56ded1,_0x2c0674)=>_0x56ded1+_0x2c0674['weight'],0x0);}get['length'](){return this['comments']['length'];}get['isAttached'](){return this['_isAttached'];}get['isSubmitted'](){return this['_isSubmitted'];}['submit'](){const {channelId:_0x4ecb5d,id:_0x40c716}=this;this['_repository']['fire'](toEventName('submitCommentThread',_0x4ecb5d),{'channelId':_0x4ecb5d,'threadId':_0x40c716});}['setUnlinkedAt'](_0x2b09ae){this['_update']({'unlinkedAt':_0x2b09ae});}['resolve']({resolvedAt:_0x5d7aca=new Date(),resolvedBy:_0x3713d0='',isFromAdapter:_0x15a3a7=!0x1}={}){const _0x345d08=this['_repository']['context']['plugins']['get'](_0x5e54fb)['me'],{channelId:_0x58d089,id:_0xa3685a}=this;this['_repository']['fire'](toEventName('resolveCommentThread',_0x58d089),{'channelId':_0x58d089,'threadId':_0xa3685a,'resolvedAt':_0x5d7aca,'resolvedBy':_0x3713d0||_0x345d08['id'],'isFromAdapter':_0x15a3a7});}['reopen']({isFromAdapter:_0x24b9fb=!0x1}={}){const {channelId:_0x54a270,id:_0x1630fa}=this;this['_repository']['fire'](toEventName('reopenCommentThread',_0x54a270),{'channelId':_0x54a270,'threadId':_0x1630fa,'isFromAdapter':_0x24b9fb});}['setContext'](_0x2ee1f2){this['context']||this['_update']({'context':_0x2ee1f2});}['setAttribute'](_0x3b2f6e,_0x5c7568){const _0x1a329c=_0x2222d2(this['attributes']);set(_0x1a329c,_0x3b2f6e,_0x5c7568),this['_update']({'attributes':_0x1a329c});}['removeAttribute'](_0x4c5c16){const _0x3da81c=_0x2222d2(this['attributes']);unset(_0x3da81c,_0x4c5c16),this['_update']({'attributes':_0x3da81c});}['remove']({isFromAdapter:_0x28ab4f=!0x1}={}){const {channelId:_0x67d898,id:_0x1cb44b}=this;this['_repository']['fire'](toEventName('removeCommentThread',_0x67d898),{'channelId':_0x67d898,'threadId':_0x1cb44b,'isFromAdapter':_0x28ab4f});}['attachTo'](_0x64efb){return this['_repository']['_attachCommentThread']({'threadId':this['id'],'target':_0x64efb});}['addComment'](_0x21e25a){const {channelId:_0x781fb6,id:_0x3b7bff}=this;this['_repository']['fire'](toEventName('addComment',_0x781fb6,_0x3b7bff),Object['assign']({'channelId':_0x781fb6,'threadId':_0x3b7bff},_0x21e25a));}['getComment'](_0xe7cfc8){if('string'!=typeof _0xe7cfc8)throw new ckeditor5['CKEditorError']('commentsrepository-get-comment-invalid-id',null,{'commentId':_0xe7cfc8});return this['comments']['get'](_0xe7cfc8);}['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'](_0xc7ab17=>_0xc7ab17['toJSON']()),'attributes':this['attributes']};}['_add'](_0x3dba39){return this['listenTo'](_0x3dba39,'change:authoredAt',()=>{const _0x556ca8=this['_findOptimalIndex'](_0x3dba39),_0x41e1cf=this['comments'];_0x556ca8-0x1!=_0x41e1cf['getIndex'](_0x3dba39)&&_0x556ca8+0x1!=_0x41e1cf['getIndex'](_0x3dba39)&&(this['_remove'](_0x3dba39),this['_add'](_0x3dba39));}),this['comments']['add'](_0x3dba39,this['_findOptimalIndex'](_0x3dba39));}['_update'](_0x22ea73){const {channelId:_0x11963e,id:_0x281f32}=this;this['_repository']['fire'](toEventName('updateCommentThread',_0x11963e),{..._0x22ea73,'channelId':_0x11963e,'threadId':_0x281f32});}['_remove'](_0x18ea83){return this['stopListening'](_0x18ea83),_0x18ea83['destroy'](),this['comments']['remove'](_0x18ea83);}['_findOptimalIndex'](_0x6dfd09){const _0x3e6827=this['comments']['find'](_0x5b7eb3=>new Date(_0x5b7eb3['authoredAt'])['getTime']()>new Date(_0x6dfd09['authoredAt'])['getTime']());return _0x3e6827?this['comments']['getIndex'](_0x3e6827):this['length'];}}const _0x577471=0xc8;function getContentLength(_0xd771c4){const _0x5ca6e9=document['createElement']('div');return _0x5ca6e9['innerHTML']=_0xd771c4,_0x5ca6e9['textContent']['length'];}class Comment extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['id'];['threadId'];['author'];['creator'];['isExternal'];['createdAt'];['_repository'];constructor(_0x273371,_0x9e066d){super();const _0x260ef0=_0x273371['context']['plugins']['get'](_0x5e54fb)['me'],_0x47f1b6=_0x273371['getCommentThread'](_0x9e066d['threadId']),_0x5dce48=0x0===_0x47f1b6['comments']['length'],_0x3d2ec9=_0x260ef0===_0x9e066d['author'];this['id']=_0x9e066d['id'],this['threadId']=_0x9e066d['threadId'],this['author']=_0x9e066d['author'],this['creator']=_0x9e066d['creator'],this['isExternal']=Boolean(_0x9e066d['attributes']&&_0x9e066d['attributes']['@external']),this['set']('content',_0x9e066d['content']),this['createdAt']=_0x9e066d['createdAt']||new Date(),this['set']('authoredAt',_0x9e066d['authoredAt']||new Date()),this['bind']('resolvedAt')['to'](_0x47f1b6,'resolvedAt'),this['set']('attributes',_0x9e066d['attributes']||{}),this['bind']('isEditable')['to'](_0x273371,'_permissions',()=>{const _0x3fcf50=_0x273371['getPermissions'](_0x47f1b6['channelId'])['write'],_0x220562=_0x273371['getPermissions'](_0x47f1b6['channelId'])['modifyAll'];return _0x3d2ec9&&_0x3fcf50||!_0x3d2ec9&&_0x220562;}),this['bind']('isRemovable')['to'](_0x47f1b6,'isRemovable',_0x273371,'_permissions',_0x2c2471=>{const _0x2efc56=_0x273371['getPermissions'](_0x47f1b6['channelId'])['write'],_0x1b30fc=_0x273371['getPermissions'](_0x47f1b6['channelId'])['modifyAll'];return _0x3d2ec9&&_0x2efc56||_0x2c2471&&_0x5dce48||!_0x3d2ec9&&_0x1b30fc&&!_0x5dce48;}),this['bind']('isReadOnly')['to'](_0x47f1b6,'isReadOnly'),this['_repository']=_0x273371;}get['weight'](){return Math['max'](getContentLength(this['content']),_0x577471);}['update'](_0x1fe044){const {threadId:_0x5922c0,id:_0x65f470}=this;if(!this['_repository']['hasCommentThread'](_0x5922c0))throw new ckeditor5['CKEditorError']('commentsrepository-update-comment-missing-comment-thread',this);const {channelId:_0x1396db}=this['_repository']['getCommentThread'](_0x5922c0);this['_repository']['fire'](toEventName('updateComment',_0x1396db,_0x5922c0),{'channelId':_0x1396db,'threadId':_0x5922c0,'commentId':_0x65f470,..._0x1fe044});}['setAttribute'](_0x3a7c47,_0x39697d){const _0xfc17f=_0x2222d2(this['attributes']);set(_0xfc17f,_0x3a7c47,_0x39697d),this['update']({'attributes':_0xfc17f});}['removeAttribute'](_0x58c568){const _0x245ec1=_0x2222d2(this['attributes']);unset(_0x245ec1,_0x58c568),this['update']({'attributes':_0x245ec1});}['remove'](_0x4f4486={}){if(!_0x4f4486['isFromAdapter']&&!this['isRemovable'])return;const {threadId:_0x286c81,id:_0x410951}=this;if(!this['_repository']['hasCommentThread'](_0x286c81))throw new ckeditor5['CKEditorError']('commentsrepository-remove-comment-missing-comment-thread',this);const {channelId:_0x3e23e9}=this['_repository']['getCommentThread'](_0x286c81);this['_repository']['fire'](toEventName('removeComment',_0x3e23e9,_0x286c81),{'channelId':_0x3e23e9,'threadId':_0x286c81,'commentId':_0x410951,..._0x4f4486});}['toJSON'](){return{'commentId':this['id'],'content':this['content'],'createdAt':this['createdAt'],'authorId':this['creator']['id'],'attributes':this['attributes']};}['destroy'](){this['stopListening']();}}function toEventName(_0xd48ca0,..._0x2fad8a){for(const _0x3ec052 of _0x2fad8a)void 0x0!==_0x3ec052&&(_0xd48ca0+=':'+String(_0x3ec052));return _0xd48ca0;}class AddCommentThreadCommand extends ckeditor5['Command']{constructor(_0x11b433){super(_0x11b433),this['set']('hasContent',!0x1);}['refresh'](){const _0x27b094=this['editor']['model']['document']['selection'];this['isEnabled']=!0x0,this['hasContent']=!0x1;for(const _0x22e7cd of _0x27b094['getRanges']())if(this['_hasContent'](_0x22e7cd))return void(this['hasContent']=!0x0);}['execute']({threadId:_0x61afc4=ckeditor5['uid'](),ranges:_0x30e96d,comment:_0x26149c}={}){const _0x26deda=this['editor']['model'],_0x52a954=_0x30e96d??Array['from'](_0x26deda['document']['selection']['getRanges']()),_0x150512=[];for(const _0x332ab6 of _0x52a954)this['_hasContent'](_0x332ab6)&&_0x150512['push'](this['_trimToContent'](_0x332ab6));if(!_0x150512['length'])throw new ckeditor5['CKEditorError']('addcommentthreadcommand-incorrect-ranges',null);_0x26149c&&this['_createCommentThread'](_0x61afc4,_0x26149c),this['_createMarkersFromRanges'](_0x61afc4,_0x150512,!!_0x26149c);}['_createMarkersFromRanges'](_0x8cd4fd,_0x1dc159,_0x394526){this['editor']['model']['change'](_0x3a00d1=>{for(const _0x69e907 of _0x1dc159){const _0x3b5067=ckeditor5['uid']()['substr'](0x1,0x5),_0x5bca81='comment:'+_0x8cd4fd+':'+_0x3b5067;_0x3a00d1['addMarker'](_0x5bca81,{'range':_0x69e907,'usingOperation':_0x394526,'affectsData':_0x394526});}});}['_createCommentThread'](_0x422196,_0x2d06f3){const _0x501308=this['editor']['plugins']['get']('CommentsRepository'),_0x5db10d=this['editor']['config']['get']('collaboration.channelId'),_0x219785=this['editor']['plugins']['get']('Users')['me'];if(!_0x219785)throw new ckeditor5['CKEditorError']('addcommentthreadcommand-user-not-found',null);_0x501308['addCommentThread']({'threadId':_0x422196,'channelId':_0x5db10d,'comments':[{'authorId':_0x219785['id'],'content':_0x2d06f3,'createdAt':new Date(),'attributes':{}}]});}['_hasContent'](_0x26c992){for(const _0x510d2b of _0x26c992['getItems']())if(this['_itemIsContent'](_0x510d2b))return!0x0;return!0x1;}['_itemIsContent'](_0x279ead){return _0x279ead['is']('$textProxy')||this['editor']['model']['schema']['isObject'](_0x279ead)&&!_0x279ead['is']('element','tableCell');}['_trimToContent'](_0x1b4f6f){const _0x16475c=_0xe835dd=>!this['_itemIsContent'](_0xe835dd['item']),_0x1bca39=_0x1b4f6f['start']['getLastMatchingPosition'](_0x16475c),_0x592d60=_0x1b4f6f['end']['getLastMatchingPosition'](_0x16475c,{'direction':'backward'});return this['editor']['model']['createRange'](_0x1bca39,_0x592d60);}}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(_0x20da41){super(_0x20da41),this['_dataCollectors']=new Set(),this['_editorAnnotations']=new Set();}['init'](){const _0x4826a2=this['editor'],_0x563c4d=_0x4826a2['model']['document']['selection'],_0x4b3033=_0x2bf3b5(()=>this['refreshSelectedViews'](),0xa);_0x563c4d['on']('change:range',(_0x5c4136,_0x16b8c5)=>{_0x16b8c5['directChange']&&(_0x4b3033['cancel'](),this['refreshSelectedViews']());}),this['listenTo'](_0x4826a2['editing']['view']['document'],'change:isFocused',(_0x4eb565,_0x20e0d0,_0x1a01c)=>{_0x1a01c&&_0x4b3033();}),this['listenTo'](_0x4826a2['ui']['focusTracker'],'change:isFocused',(_0xaa77af,_0x266a24,_0x5f3773)=>{_0x5f3773||this['fire']('blur',{'isAnnotationTracked':_0x1057ce=>this['_editorAnnotationsData']['has'](_0x1057ce['innerView'])});}),this['listenTo'](this['editor']['ui'],'update',()=>this['fire']('uiUpdate'));}['registerAnnotation'](_0xb26a2e){if(this['_editorAnnotations']['has'](_0xb26a2e['view']))return;this['_editorAnnotations']['add'](_0xb26a2e['view']),this['editor']['ui']['focusTracker']['add'](_0xb26a2e['view']['element']);const _0x10fd69=this['editor']['plugins']['get'](Annotations);this['listenTo'](_0x10fd69['collection'],'remove',(_0x5d917d,_0x25aa4e)=>{this['editor']['ui']['focusTracker']['remove'](_0x25aa4e['view']['element']),this['_editorAnnotations']['delete'](_0x25aa4e['view']);});}['hasDomSelection'](){return this['editor']['editing']['view']['hasDomSelection'];}['addSourceCollector'](_0x4c6c1c){if('function'!=typeof _0x4c6c1c)throw new ckeditor5['CKEditorError']('editorannotations-invalid-source-callback');this['_dataCollectors']['add'](_0x4c6c1c);}['refreshSelectedViews'](){this['fire']('refresh');}['getOrderedSelectedAnnotations']({activeAnnotation:_0x27ea27,annotations:_0x351334}){const _0x3e1c5f=[],_0x4c1a88=this['editor']['model']['document']['selection'],_0xb59e25=Array['from'](_0x4c1a88['getRanges']());for(const [_0xf5cd6,_0x4ab76f]of this['_editorAnnotationsData']){const _0x5c5e11=_0x4dec17(_0x4ab76f),_0x314e3b=_0x351334['getByInnerView'](_0xf5cd6);_0x5c5e11&&_0x314e3b&&_0x3e1c5f['push']({'annotation':_0x314e3b,'range':_0x5c5e11});}function _0x4dec17(_0x218bd0){for(const _0x22ce8b of _0x218bd0)for(const _0x544013 of _0xb59e25)if(_0x22ce8b['containsRange'](_0x544013,!_0x4c1a88['isCollapsed']))return _0x22ce8b;return null;}return _0x3e1c5f['sort']((_0x18a763,_0x460909)=>{const _0x3dcf78=_0x18a763['range'],_0x1b0aa3=_0x460909['range'];if(!_0x3dcf78['isEqual'](_0x1b0aa3)){if(_0x3dcf78['containsRange'](_0x1b0aa3,!0x0))return 0x1;if(_0x1b0aa3['containsRange'](_0x3dcf78,!0x0))return-0x1;}return _0x18a763['annotation']==_0x27ea27?-0x1:_0x460909['annotation']==_0x27ea27?0x1:0x0;})['map'](_0xf3c66a=>_0xf3c66a['annotation']);}get['_editorAnnotationsData'](){const _0x4954a3=new Map();for(const _0x4fa487 of Array['from'](this['_dataCollectors']))for(const [_0xf708a1,_0x2eb18f]of _0x4fa487())_0x4954a3['set'](_0xf708a1,_0x2eb18f);return _0x4954a3;}}class CommentsRestrictedEditingMode extends ckeditor5['Plugin']{['afterInit'](){const _0x2593ca=this['editor'];if(!_0x2593ca['plugins']['has']('RestrictedEditingModeEditing'))return;_0x2593ca['plugins']['get']('RestrictedEditingModeEditing')['enableCommand']('addCommentThread');}}class CommentsImportWord extends ckeditor5['Plugin']{constructor(_0x739c95){super(_0x739c95),this['editor']['config']['define']('importWord.formatting.comments','basic');}['afterInit'](){const _0x14dafa=this['editor'],_0x53f9d7=_0x14dafa['commands']['get']('importWord'),_0x51ec93=_0x14dafa['plugins']['get'](_0x5e54fb);_0x53f9d7&&(_0x53f9d7['on']('execute',(_0x5aaea9,[,_0x37e8d8])=>{_0x37e8d8['collaboration_features']={'comments':!0x0,'user_id':_0x51ec93['me']['id']};},{'priority':ckeditor5['priorities']['high']+0xa}),this['listenTo'](_0x53f9d7,'dataInsert',this['_handleImportedData']));}['_handleImportedData'](_0x230b5e,_0xadec32){const {comment_threads:_0x3975f6}=_0xadec32;_0x3975f6&&_0x3975f6['forEach'](({thread_id:_0x4adc50,comments:_0xb7110c,is_resolved:_0x410d25})=>{const _0x581092=new Date(),_0xcd01bf=_0xb7110c['map'](({author:_0x4a3296,content:_0x5e149b,created_at:_0x42d31e})=>({'content':_0x5e149b,'authorId':this['editor']['plugins']['get'](_0x5e54fb)['me']['id'],'createdAt':_0x581092,'attributes':{'@external':{'authorName':_0x4a3296,'createdAt':_0x42d31e?new Date(_0x42d31e):new Date(),'source':'importWord'}}})),_0x2e6d21=this['editor']['config']['get']('collaboration.channelId');this['editor']['plugins']['get'](CommentsRepository)['addCommentThread']({'channelId':_0x2e6d21,'threadId':_0x4adc50,'comments':_0xcd01bf,'resolvedAt':_0x410d25?_0x581092:null});});}}class CommentsClipboard extends ckeditor5['Plugin']{constructor(_0x5a0be3){super(_0x5a0be3),this['editor']['config']['define']('comments.copyMarkers','default');}static get['requires'](){return[ckeditor5['ClipboardMarkersUtils'],ckeditor5['ClipboardPipeline']];}['afterInit'](){const _0xbadf07=this['editor']['plugins']['get']('ClipboardPipeline');this['_registerMarkerInClipboardPipeline'](),this['listenTo'](_0xbadf07,'contentInsertion',(_0xea60e6,_0x577ebe)=>this['_removeMarkersWithoutThreads'](_0x577ebe['content']['markers']),{'priority':'highest'});}['_removeMarkersWithoutThreads'](_0x4b983c){if(!this['editor']['plugins']['has']('CommentsRepository'))return _0x4b983c;const _0x44459d=this['editor']['plugins']['get']('CommentsRepository');for(const _0x33f72b of _0x4b983c['keys']()){const [_0x14b67d,_0x482e28]=_0x33f72b['split'](':');'comment'!=_0x14b67d||_0x44459d['hasCommentThread'](_0x482e28)||_0x4b983c['delete'](_0x33f72b);}return _0x4b983c;}['_registerMarkerInClipboardPipeline'](){const _0x2bcfea=this['editor']['plugins']['get']('ClipboardMarkersUtils'),_0x31330b=this['_mapCommentsCopyConfigToRegisterConfiguration'](this['editor']['config']['get']('comments.copyMarkers'));_0x31330b&&_0x2bcfea['_registerMarkerToCopy']('comment',_0x31330b);}['_mapCommentsCopyConfigToRegisterConfiguration'](_0x2f4fd6){switch(_0x2f4fd6){case'always':return{'allowedActions':'all','copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case'default':return{'allowedActions':['cut','dragstart'],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};default:return null;}}}function splitMarkerName(_0x2f9df2){const _0x555703=_0x2f9df2['split'](':');return{'group':_0x555703[0x0],'id':_0x555703[0x1],'part':_0x555703[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':(_0x195f9b,_0xcd920d)=>{if(!_0xcd920d['options']['showCommentHighlights'])return null;if(_0xcd920d['options']['ignoreResolvedComments']){const {id:_0x41b55e}=splitMarkerName(_0x195f9b['markerName']),_0xbe3506=this['editor']['plugins']['get'](CommentsRepository);if(_0xbe3506['getCommentThread'](_0x41b55e)?.['isResolved']&&_0x195f9b['item'])return _0xcd920d['consumable']['consume'](_0x195f9b['item'],'addMarker:'+_0x195f9b['markerName']),_0xcd920d['consumable']['consume'](_0x195f9b['item'],'removeMarker:'+_0x195f9b['markerName']),null;}return{'classes':['ck-comment-marker']};}}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x3eed3b=>{_0x3eed3b['on']('addMarker:comment',(_0x4a50f2,_0x1850fe,_0x198f1a)=>{if(!_0x198f1a['options']['showCommentHighlights'])return;const _0x5df0c0=_0x1850fe['item'];if(!_0x5df0c0)return;const _0x233eaa=_0x198f1a['mapper']['toViewElement'](_0x5df0c0);this['editor']['model']['schema']['isObject'](_0x5df0c0)&&_0x233eaa&&!_0x233eaa['getCustomProperty']('widget')&&_0x233eaa['is']('containerElement')&&ckeditor5['toWidget'](_0x233eaa,_0x198f1a['writer']);},{'priority':'high'});});}['overrideHorizontalRuleConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x34afaa,{writer:_0x21da3f,options:_0xfb110f})=>{if(!_0xfb110f['showCommentHighlights'])return null;const _0x47e4ae=_0x21da3f['createContainerElement']('div'),_0x523ac1=_0x21da3f['createEmptyElement']('hr');return _0x21da3f['addClass']('ck-horizontal-line',_0x47e4ae),_0x21da3f['insert'](_0x21da3f['createPositionAt'](_0x47e4ae,0x0),_0x523ac1),_0x47e4ae;},'converterPriority':'high'});}['overrideImageInlineConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'imageInline','view':(_0x1ec05d,{writer:_0x2d60e7,options:_0x593e9e})=>{if(!_0x593e9e['showCommentHighlights'])return null;const _0x39eb9d=_0x2d60e7['createContainerElement']('span'),_0x54860b=_0x2d60e7['createEmptyElement']('img');return _0x2d60e7['addClass']('image-inline',_0x39eb9d),_0x2d60e7['insert'](_0x2d60e7['createPositionAt'](_0x39eb9d,0x0),_0x54860b),_0x39eb9d;},'converterPriority':'high'});}['overrideMediaEmbedConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x29d39e,{writer:_0x59448c,options:_0x244e40})=>{if(_0x244e40['showCommentHighlights'])return _0x59448c['createEmptyElement']('div');},'converterPriority':'high'}),this['editor']['data']['downcastDispatcher']['on']('attribute:url:media',(_0xcbfe7f,_0x4751d1,_0x4a299a)=>{_0x4a299a['options']['showCommentHighlights']&&_0xcbfe7f['stop']();},{'priority':'high'});}}const _0x5678b3=0x96;class CommentsEditing extends ckeditor5['Plugin']{static get['requires'](){return[CommentsRepository,EditorAnnotations,_0x5e54fb,CommentsRestrictedEditingMode,CommentsImportWord,CommentsClipboard,ShowCommentHighlights];}static get['pluginName'](){return'CommentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x98d62b){super(_0x98d62b),this['set']('isThreadsLoadingPaused',!0x0),_0x98d62b['data']['once']('ready',()=>this['isThreadsLoadingPaused']=!0x1),this['set']('activeMarker',null),this['on']('change:activeMarker',(_0x5ded76,_0x3d4473,_0x407361,_0x834192)=>{const _0x3a06f1=_0x98d62b['plugins']['get'](CommentsRepository),_0x301290=_0x407361?splitMarkerName(_0x407361)['id']:null;_0x98d62b['model']['change'](()=>{if(_0x301290){const _0x4af4cd=this['getAllMarkersForId'](_0x301290);for(const _0x2989b1 of _0x4af4cd)_0x98d62b['editing']['reconvertMarker'](_0x2989b1);}if(_0x834192){const {id:_0x3aa6b2}=splitMarkerName(_0x834192),_0x1006f8=_0x3a06f1['getCommentThread'](_0x3aa6b2);if(_0x1006f8&&_0x1006f8['unlinkedAt'])return;if(_0x1006f8&&!_0x1006f8['isAttached'])return;const _0x19e193=this['getAllMarkersForId'](_0x3aa6b2);for(const _0x3c8805 of _0x19e193)_0x98d62b['editing']['reconvertMarker'](_0x3c8805);}}),_0x301290&&this['scrollToThreadMarker'](_0x301290);}),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x53fc56=this['editor'],_0x22b8c2=_0x53fc56['plugins']['get'](CommentsRepository),_0xf632e0=_0x53fc56['config']['get']('collaboration.channelId'),_0x154e4b=_0x22b8c2['getCommentThreads']()['filter'](_0x3606d2=>_0x3606d2['channelId']!==_0xf632e0);_0x53fc56['commands']['add']('addCommentThread',new AddCommentThreadCommand(_0x53fc56)),this['listenTo'](_0x53fc56,'change:isReadOnly',(_0x43dce3,_0x6dd4df,_0x30e60a)=>{_0x22b8c2['switchReadOnly'](_0x30e60a,_0x53fc56['config']['get']('collaboration.channelId'));}),this['listenTo'](_0x22b8c2,createChannelEvent('addCommentThread',_0xf632e0),(_0x14a9c6,{threadId:_0x502e90})=>{const _0x16217d=this['editor']['plugins']['get'](CommentsRepository)['getCommentThread'](_0x502e90);_0x16217d?.['unlinkedAt']&&this['_attachArchivedThread'](_0x502e90);}),this['listenTo'](_0x22b8c2,createChannelEvent('removeCommentThread',_0xf632e0),(_0x302704,{threadId:_0x1230a4})=>{_0x53fc56['model']['enqueueChange']({'isUndoable':!0x1},_0x13f811=>{const _0x4ed451=this['getAllMarkersForId'](_0x1230a4);for(const _0xf6031a of _0x4ed451)_0x13f811['removeMarker'](_0xf6031a);});}),this['listenTo'](_0x22b8c2,createChannelEvent('resolveCommentThread',_0xf632e0),(_0x23de50,{threadId:_0x3e4a51})=>{(this['_reconvertMarkers'](_0x3e4a51),this['editor']['editing']['view']['hasDomSelection'])&&(this['editor']['plugins']['get'](CommentsRepository)['getCommentThread'](_0x3e4a51)['unlinkedAt']||this['editor']['editing']['view']['focus']());},{'priority':'low'}),this['listenTo'](_0x22b8c2,createChannelEvent('reopenCommentThread',_0xf632e0),(_0x30a7f4,{threadId:_0x8fd90e})=>{this['_reconvertMarkers'](_0x8fd90e);},{'priority':'low'}),this['listenTo'](_0x22b8c2,createChannelEvent('addComment',_0xf632e0),(_0x516b18,{threadId:_0x587488,isFromAdapter:_0x1ed590})=>{const _0x3e5c49=this['getAllMarkersForId'](_0x587488);if(_0x1ed590||0x0==_0x3e5c49['length']||!_0x22b8c2['hasCommentThread'](_0x587488))return;0x1===_0x22b8c2['getCommentThread'](_0x587488)['length']&&_0x53fc56['model']['enqueueChange']({'isUndoable':!0x1},_0x5ca1b4=>{for(const _0x5cb667 of _0x3e5c49)_0x5ca1b4['updateMarker'](_0x5cb667,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':'low'}),this['_initializeMarkerConverters'](),this['_handleMarkerAddAndRemove'](),this['_handleInitialThreads'](_0x154e4b);}['afterInit'](){_0x2f9158(this);}['destroy'](){const _0x107d50=this['editor']['plugins']['get'](CommentsRepository),_0x2cf293=this['editor']['config']['get']('collaboration.channelId');for(const _0xcc7751 of _0x107d50['getCommentThreads']({'channelId':_0x2cf293}))_0x107d50['_detachCommentThread'](_0xcc7751['id']),_0x107d50['_threads']['delete'](_0xcc7751['id']);super['destroy']();}['hasMarkerForId'](_0x4f5625){return this['getAllMarkersForId'](_0x4f5625)['length']>0x0;}['getAllMarkersForId'](_0x27cc46){const _0x3e7913=[];for(const _0x531996 of this['editor']['model']['markers'])_0x531996['name']['startsWith']('comment:'+_0x27cc46)&&_0x3e7913['push'](_0x531996);return _0x3e7913;}['scrollToThreadMarker'](_0x92aede){setTimeout(()=>{const _0x8f6854=this['_getTargetForId'](_0x92aede);if(!_0x8f6854)return;this['activeMarker']&&splitMarkerName(this['activeMarker'])['id']===_0x92aede&&ckeditor5['scrollViewportToShowTarget']({'target':_0x8f6854[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}['_reconvertMarkers'](_0x1335b7){this['editor']['model']['change'](()=>{for(const _0x1b1880 of this['getAllMarkersForId'](_0x1335b7))this['editor']['editing']['reconvertMarker'](_0x1b1880);});}['_attachArchivedThread'](_0xc5fffb){const _0x561ef4=this['editor']['plugins']['get'](CommentsRepository),_0x1166b9=this['editor']['plugins']['get'](EditorAnnotations),_0x2ac9a1=_0x561ef4['getCommentThread'](_0xc5fffb);if(!_0x2ac9a1['isAttached']){const _0x1fff2b=_0x2ac9a1['attachTo'](()=>this['_getTargetForId'](_0x2ac9a1['id']));_0x1166b9['registerAnnotation'](_0x1fff2b),_0x2ac9a1['_hasTargetInContent']=!0x1;}}['_initializeMarkerConverters'](){const _0x1e832a=this['editor'],_0x13cd73=_0x1e832a['plugins']['get'](_0x5e54fb);_0x1e832a['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'comment','view':(_0x209e1f,_0xc8982f)=>{const {id:_0x916b18}=splitMarkerName(_0x209e1f['markerName']),_0x249180=_0x1e832a['plugins']['get'](CommentsRepository)['getCommentThread'](_0x916b18),_0x40f244=this['activeMarker']&&splitMarkerName(this['activeMarker'])['id']===_0x916b18;let _0xb963e0;if(_0x249180&&_0x249180['isResolved']&&!_0x40f244&&_0x209e1f['item'])return _0xc8982f['consumable']['consume'](_0x209e1f['item'],'addMarker:'+_0x209e1f['markerName']),_0xc8982f['consumable']['consume'](_0x209e1f['item'],'removeMarker:'+_0x209e1f['markerName']),null;const _0x5380e5=['ck-comment-marker'];return _0x40f244&&_0x5380e5['push']('ck-comment-marker--active'),_0xb963e0=_0x249180?.['length']?_0x249180['comments']['first']['author']['id']:_0x13cd73['me']['id'],{'classes':_0x5380e5,'attributes':{'data-comment':_0x916b18,'data-author-id':_0xb963e0}};}}),_0x1e832a['conversion']['for']('dataDowncast')['markerToData']({'model':'comment','view':(_0x256a84,{options:_0x14118e})=>{if(_0x14118e['showCommentHighlights'])return null;const _0x4e2a67=_0x1e832a['plugins']['get'](CommentsRepository),_0x5e72a7=_0x1e832a['model']['markers']['get'](_0x256a84),{id:_0x1f9442,part:_0x25ec98}=splitMarkerName(_0x256a84);return _0x5e72a7&&!_0x5e72a7['affectsData']||_0x14118e['ignoreResolvedComments']&&_0x4e2a67['getCommentThread'](_0x1f9442)?.['isResolved']?null:{'group':'comment','name':_0x25ec98?_0x1f9442+':'+_0x25ec98:_0x1f9442};}}),_0x1e832a['conversion']['for']('upcast')['elementToElement']({'view':{'name':'comment','attributes':{'id':/^\w/}},'model':(_0x4c435f,{writer:_0x3e3168})=>_0x3e3168['createElement']('$marker',{'data-name':'comment:'+_0x4c435f['getAttribute']('id')})}),_0x1e832a['conversion']['for']('upcast')['dataToMarker']({'view':'comment'});}['_handleMarkerAddAndRemove'](){const _0x149efc=this['editor'],_0x1cfb70=_0x149efc['plugins']['get'](CommentsRepository),_0x338ba8=new Set(),_0x3ae263=new Set();_0x149efc['model']['document']['registerPostFixer'](_0x4492e2=>{let _0x12d8bf=!0x1;for(const {name:_0x1fc26c,data:_0x44924c}of _0x149efc['model']['document']['differ']['getChangedMarkers']()){const {group:_0x5701cd,id:_0x2790bd}=splitMarkerName(_0x1fc26c);let _0x35ee07=_0x44924c['newRange'];if('comment'!==_0x5701cd||!_0x35ee07)continue;const _0x5737e0='$graveyard'===_0x35ee07['root']['rootName'];_0x5737e0||(_0x35ee07=_0x4b2434(_0x35ee07,_0x149efc['model']),!_0x35ee07||_0x35ee07['isCollapsed']||!_0x44924c['newRange']||_0x35ee07['isEqual'](_0x44924c['newRange']))?_0x149efc['model']['hasContent'](_0x35ee07)&&!_0x5737e0?this['isThreadsLoadingPaused']?_0x338ba8['add'](_0x1fc26c):this['_handleThreadMarker'](_0x1fc26c,_0x2790bd):(_0x3ae263['add'](_0x1fc26c),_0x338ba8['delete'](_0x1fc26c),_0x4492e2['removeMarker'](_0x1fc26c),_0x12d8bf=!0x0):(_0x4492e2['updateMarker'](_0x1fc26c,{'range':_0x35ee07}),_0x12d8bf=!0x0);}return _0x12d8bf;}),this['on']('change:isThreadsLoadingPaused',(_0x4c19e7,_0x170f4a,_0x1b24a1)=>{if(!_0x1b24a1&&_0x338ba8['size'])for(const _0x519450 of _0x338ba8){const {id:_0x5ba465}=splitMarkerName(_0x519450);_0x338ba8['delete'](_0x519450),_0x149efc['model']['markers']['get'](_0x519450)&&this['_handleThreadMarker'](_0x519450,_0x5ba465);}}),this['listenTo'](_0x149efc['model']['document'],'change',()=>{for(const {name:_0x38ab0b,data:{newRange:_0x56400a}}of _0x149efc['model']['document']['differ']['getChangedMarkers']()){const {group:_0x5a08ae,id:_0x44cfd5}=splitMarkerName(_0x38ab0b);if('comment'!==_0x5a08ae)continue;const _0x5e5137=_0x1cfb70['getCommentThread'](_0x44cfd5),_0x4fce6b=this['hasMarkerForId'](_0x44cfd5);_0x5e5137&&(!_0x5e5137['_hasTargetInContent']&&_0x56400a&&_0x149efc['editing']['view']['once']('render',()=>{const _0x5e00ad=_0x149efc['plugins']['get'](Annotations),_0x67cbb1=_0x1cfb70['_threadToController']['get'](_0x5e5137)['view'];_0x5e00ad['getByInnerView'](_0x67cbb1)['refreshVisibility']();},{'priority':'low'}),_0x5e5137['_hasTargetInContent']=_0x4fce6b||!!_0x56400a),_0x56400a||(_0x3ae263['add'](_0x38ab0b),_0x338ba8['delete'](_0x38ab0b));}for(const _0x4c1b36 of _0x3ae263){const {id:_0x242d2d}=splitMarkerName(_0x4c1b36),_0x53783f=_0x1cfb70['getCommentThread'](_0x242d2d);if(_0x338ba8['delete'](_0x4c1b36),!_0x53783f)continue;const _0x3ef52a=this['hasMarkerForId'](_0x242d2d);_0x3ef52a||_0x53783f['isSubmitted']?_0x3ef52a||_0x53783f['unlinkedAt']||_0x53783f['setUnlinkedAt'](new Date()):_0x53783f['remove']();}_0x3ae263['clear']();});}['_handleInitialThreads'](_0x140a66){_0x140a66['forEach'](_0x2ee80d=>{_0x2ee80d['unlinkedAt']&&this['_attachArchivedThread'](_0x2ee80d['id']);});}['_getTargetForId'](_0x450fb0){const _0x18f652=this['editor'],_0x527fea=this['getAllMarkersForId'](_0x450fb0);return getAllMarkersDomElementsSorted(_0x18f652['editing'],_0x527fea);}['_getTextContext'](_0x28e3b2){const _0x289671=this['getAllMarkersForId'](_0x28e3b2);let _0x32eae4='',_0x3e376f=!0x1;for(const _0x7de6fa of _0x289671){const _0x2fa791=_0x7de6fa['getRange']();for(const _0x341818 of Array['from'](_0x2fa791['getItems']()))_0x341818['is']('$textProxy')?(_0x32eae4&&_0x3e376f&&(_0x32eae4+='\x20',_0x3e376f=!0x1),_0x32eae4+=_0x341818['data']):_0x3e376f=!0x0;_0x3e376f=!0x0;}return _0x32eae4['substring'](0x0,_0x5678b3);}['_attachMarkerToThread'](_0x569686,_0x1089b4){const _0x541913=this['editor'],_0x59b983=_0x541913['plugins']['get'](CommentsRepository);let _0x141f82=_0x59b983['getCommentThread'](_0x1089b4);const _0x18a79d=_0x541913['config']['get']('collaboration.channelId'),_0x567c83=_0x541913['plugins']['get'](EditorAnnotations);if(_0x141f82&&(_0x141f82['unlinkedAt']&&_0x141f82['setUnlinkedAt'](null),_0x141f82['isAttached']))return _0x141f82;return!this['getAllMarkersForId'](_0x1089b4)[0x0]['managedUsingOperations']?_0x541913['editing']['view']['once']('render',()=>{if(_0x59b983['getCommentThread'](_0x1089b4))return;const _0x433320=_0x541913['plugins']['get'](Annotations);_0x141f82=_0x59b983['openNewCommentThread']({'channelId':_0x18a79d,'threadId':_0x1089b4,'target':()=>this['_getTargetForId'](_0x1089b4),'context':{'type':'text','value':this['_getTextContext'](_0x1089b4)}});const _0x12a232=_0x59b983['_threadToController']['get'](_0x141f82)['view'],_0x31a219=_0x433320['getByInnerView'](_0x12a232);_0x31a219&&_0x567c83['registerAnnotation'](_0x31a219);},{'priority':'low'}):_0x59b983['fetchCommentThread']({'channelId':_0x18a79d,'threadId':_0x1089b4})['then'](_0x3c2213=>{if('destroyed'!==_0x541913['state']){if(_0x141f82=_0x3c2213,_0x141f82&&!_0x141f82['isAttached']){const _0x109fdf=_0x141f82['attachTo'](()=>this['_getTargetForId'](_0x1089b4));_0x567c83['registerAnnotation'](_0x109fdf),_0x141f82['isResolved']&&this['_reconvertMarkers'](_0x1089b4);}else{if(!_0x141f82){const _0x1b38df=this['getAllMarkersForId'](_0x1089b4);_0x541913['model']['change'](_0x229f4e=>{for(const _0x4b9d9a of _0x1b38df)_0x229f4e['removeMarker'](_0x4b9d9a);});}}}}),_0x141f82;}['_handleThreadMarker'](_0x397d09,_0x27e821){const _0x586839=this['_attachMarkerToThread'](_0x397d09,_0x27e821);_0x586839&&!_0x586839['context']&&_0x586839['setContext']({'type':'text','value':this['_getTextContext'](_0x27e821)});}['_initAriaMarkerChangeAnnouncements'](){const _0x1449d6=this['editor'];surroundingMarkersDetector(_0x1449d6['model'],({left:_0x2719c4,entered:_0x4755c8})=>{for(const _0x480107 of _0x2719c4)if(isCommentMarker(_0x480107)){_0x1449d6['ui']['ariaLiveAnnouncer']['announce'](getTranslation$f(_0x1449d6['locale'],'LEAVE_COMMENT_ANNOUNCEMENT'));break;}for(const _0x595a9e of _0x4755c8)if(isCommentMarker(_0x595a9e)){_0x1449d6['ui']['ariaLiveAnnouncer']['announce'](getTranslation$f(_0x1449d6['locale'],'ENTER_COMMENT_ANNOUNCEMENT',ckeditor5['getEnvKeystrokeText'](_0x356a21)));break;}});}}function createChannelEvent(_0x49bad8,_0x542dfc){return _0x542dfc?_0x49bad8+':'+_0x542dfc:_0x49bad8;}function _0x4b2434(_0x3556cc,_0x4dec3b){const _0x456e06=_0x4dec3b['schema'],_0x51efc0=_0x4dec3b['createRange'](_0x3556cc['start']);for(const _0xe626fb of _0x3556cc['getWalker']()){const {type:_0x4f4ad9,item:_0x3d8d08,nextPosition:_0x43ea7b}=_0xe626fb;if('text'===_0x4f4ad9||_0x456e06['isObject'](_0x3d8d08)){const _0x35c86a=_0x4dec3b['createPositionBefore'](_0x3d8d08);_0x51efc0['isCollapsed']&&(_0x51efc0['start']=_0x35c86a),_0x51efc0['end']=_0x43ea7b;}}return _0x51efc0;}function isCommentMarker(_0x30cc39){return'comment'===splitMarkerName(_0x30cc39['name'])['group'];}async function _0x2f9158(_0x2711c1){const _0x706a91=_0x2b09a1([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]),_0x5af0f0=window[_0x2b09a1([0x44,0x61,0x74,0x65])][_0x2b09a1([0x6e,0x6f,0x77])](),_0x4bc315=_0x2711c1[_0x2b09a1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x35b9a9=new window[(_0x2b09a1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xaf01d7=>{_0x4bc315[_0x2b09a1([0x6f,0x6e,0x63,0x65])](_0x2b09a1([0x72,0x65,0x61,0x64,0x79]),_0xaf01d7);}),_0x2dcbc6={[_0x2b09a1([0x6b,0x74,0x79])]:_0x2b09a1([0x45,0x43]),[_0x2b09a1([0x75,0x73,0x65])]:_0x2b09a1([0x73,0x69,0x67]),[_0x2b09a1([0x63,0x72,0x76])]:_0x2b09a1([0x50,0x2d,0x32,0x35,0x36]),[_0x2b09a1([0x78])]:_0x2b09a1([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]),[_0x2b09a1([0x79])]:_0x2b09a1([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]),[_0x2b09a1([0x61,0x6c,0x67])]:_0x2b09a1([0x45,0x53,0x32,0x35,0x36])},_0x5a2b91=_0x4bc315[_0x2b09a1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2b09a1([0x67,0x65,0x74])](_0x2b09a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x1d0c00=await(async function(){let _0x24e7fc,_0x5f3d21=null,_0x1d0fb2=null;try{if(_0x5a2b91==_0x2b09a1([0x47,0x50,0x4c]))return _0x2b09a1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x24e7fc=(function(){const _0xa866df=_0x5a2b91[_0x2b09a1([0x73,0x70,0x6c,0x69,0x74])](_0x2b09a1([0x2e]));if(0x3!=_0xa866df[_0x2b09a1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x1b0f9a=_0xa866df[0x1];return _0x2e4b96(_0x1b0f9a);function _0x2e4b96(_0x3bcdc3){const _0x3cf038=_0x252f51(_0x3bcdc3);return _0x3cf038&&_0x228461()?_0x3cf038:null;function _0x228461(){const _0x3f50f2=_0x3cf038[_0x2b09a1([0x6a,0x74,0x69])],_0x612704=window[_0x2b09a1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f50f2[_0x2b09a1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f50f2[_0x2b09a1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x428510={..._0x3cf038,[_0x2b09a1([0x6a,0x74,0x69])]:_0x3f50f2[_0x2b09a1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3f50f2[_0x2b09a1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x428510[_0x2b09a1([0x76,0x63])],_0x5676ba(_0x428510)==_0x612704;}}}()),!_0x24e7fc)return _0x2b09a1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x24e7fc[_0x2b09a1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1d0fb2=function(_0x1f84d2,_0x11970d){return new window[(_0x2b09a1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57c88c=>{if(_0x512f4d())return _0x57c88c(_0x2b09a1([0x56,0x61,0x6c,0x69,0x64]));_0x720fe3(),_0x4bc315[_0x2b09a1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2b09a1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x37d378=!0x1;const _0x18b458=ckeditor5['uid']();function _0x28e51d(_0x13a601){return!!_0x13a601&&(typeof _0x13a601===_0x2b09a1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x13a601===_0x2b09a1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x13a601[_0x2b09a1([0x74,0x68,0x65,0x6e])]===_0x2b09a1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x13a601[_0x2b09a1([0x63,0x61,0x74,0x63,0x68])]===_0x2b09a1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5361e0(_0x450c9a){_0x406c81(_0x450c9a)[_0x2b09a1([0x74,0x68,0x65,0x6e])](_0x122f9e=>{if(!_0x122f9e||_0x122f9e[_0x2b09a1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2b09a1([0x6f,0x6b]))return _0x2b09a1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x47d21e(_0x5676ba(_0x18b458+_0x11970d))!=_0x122f9e[_0x2b09a1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2b09a1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2b09a1([0x56,0x61,0x6c,0x69,0x64]);})[_0x2b09a1([0x74,0x68,0x65,0x6e])](_0x6a626=>(_0x7ddac8(),_0x6a626),()=>{const _0x4617b5=_0x4d1f53();return null==_0x4617b5?(_0x7ddac8(),_0x2b09a1([0x56,0x61,0x6c,0x69,0x64])):_0x2b09a1(_0x5af0f0-_0x4617b5>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2b09a1([0x74,0x68,0x65,0x6e])](_0x57c88c)[_0x2b09a1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x57c88c(_0x2b09a1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5d9726=0x36ee80;function _0x7ddac8(){const _0x4113da=_0x2b09a1([0x6c,0x6c,0x63,0x74,0x2d])+_0x47d21e(_0x5676ba(_0x1f84d2)),_0x5562fe=_0x3ed5f7(_0x47d21e(window[_0x2b09a1([0x4d,0x61,0x74,0x68])][_0x2b09a1([0x63,0x65,0x69,0x6c])](_0x5af0f0/_0x5d9726)));window[_0x2b09a1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b09a1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4113da,_0x5562fe);}function _0x4d1f53(){const _0x464b89=_0x2b09a1([0x6c,0x6c,0x63,0x74,0x2d])+_0x47d21e(_0x5676ba(_0x1f84d2)),_0x155e12=window[_0x2b09a1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b09a1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x464b89);return _0x155e12?window[_0x2b09a1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ed5f7(_0x155e12),0x10)*_0x5d9726:null;}function _0x406c81(_0x4dec8c){return new window[(_0x2b09a1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x20c74d,_0x3d71e9)=>{_0x4dec8c[_0x2b09a1([0x74,0x68,0x65,0x6e])](_0x20c74d,_0x3d71e9),window[_0x2b09a1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3d71e9,0x1d4c0);});}}_0x4bc315[_0x2b09a1([0x6f,0x6e])](_0x2b09a1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x43a88e,_0x2d9222)=>{if(_0x2d9222[0x0]!=_0x1f84d2)return _0x57c88c(_0x2b09a1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2d9222[0x1]={..._0x2d9222[0x1],[_0x2b09a1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x18b458};},{[_0x2b09a1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b09a1([0x68,0x69,0x67,0x68])}),_0x4bc315[_0x2b09a1([0x6f,0x6e])](_0x2b09a1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2eff50=>{_0x28e51d(_0x2eff50[_0x2b09a1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x37d378=!0x0,_0x5361e0(_0x2eff50[_0x2b09a1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2b09a1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b09a1([0x6c,0x6f,0x77])}),_0x35b9a9[_0x2b09a1([0x74,0x68,0x65,0x6e])](()=>{_0x37d378||_0x57c88c(_0x2b09a1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x512f4d(){return _0x4bc315[_0x2b09a1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b09a1([0x76,0x69,0x65,0x77])][_0x2b09a1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2b09a1([0x61,0x75,0x74,0x6f]);}function _0x720fe3(){_0x4bc315[_0x2b09a1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b09a1([0x76,0x69,0x65,0x77])][_0x2b09a1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2b09a1([0x61,0x75,0x74,0x6f]);}}(_0x24e7fc[_0x2b09a1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x24e7fc[_0x2b09a1([0x6a,0x74,0x69])]));const _0x18697b=await(async function(){let _0x4bd1fc=!0x0;try{const _0x26713b=_0x5a2b91[_0x2b09a1([0x73,0x70,0x6c,0x69,0x74])](_0x2b09a1([0x2e])),[_0x36da26,_0x456cbc,_0xd40fa8]=_0x26713b;return _0x3ab94a(_0x36da26),await _0x3ce034(_0x36da26,_0x456cbc,_0xd40fa8),_0x4bd1fc;}catch{return!0x1;}function _0x3ab94a(_0x3bc052){const _0x52f21e=_0x252f51(_0x3bc052);_0x52f21e&&_0x52f21e[_0x2b09a1([0x61,0x6c,0x67])]==_0x2b09a1([0x45,0x53,0x32,0x35,0x36])||(_0x4bd1fc=!0x1);}async function _0x3ce034(_0x5f2677,_0x39b75c,_0x2984a2){const _0x1fde53=window[_0x2b09a1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2b09a1([0x66,0x72,0x6f,0x6d])](_0x1d7c79(_0x2984a2),_0x57c9c3=>_0x57c9c3[_0x2b09a1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x20a510=new window[(_0x2b09a1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2b09a1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5f2677+_0x2b09a1([0x2e])+_0x39b75c),_0x5ee491=window[_0x2b09a1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2b09a1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5ee491)return;const _0x1be513=await _0x5ee491[_0x2b09a1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2b09a1([0x6a,0x77,0x6b]),_0x2dcbc6,{[_0x2b09a1([0x6e,0x61,0x6d,0x65])]:_0x2b09a1([0x45,0x43,0x44,0x53,0x41]),[_0x2b09a1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2b09a1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2b09a1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5ee491[_0x2b09a1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2b09a1([0x6e,0x61,0x6d,0x65])]:_0x2b09a1([0x45,0x43,0x44,0x53,0x41]),[_0x2b09a1([0x68,0x61,0x73,0x68])]:{[_0x2b09a1([0x6e,0x61,0x6d,0x65])]:_0x2b09a1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1be513,_0x1fde53,_0x20a510)||(_0x4bd1fc=!0x1);}}());return _0x18697b?(function(){const _0x340815=_0x24e7fc[_0x2b09a1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x340815)return!0x1;if(_0x340815[_0x2b09a1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b09a1([0x2a])))return!0x0;if(_0x340815[_0x2b09a1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b09a1([0x43,0x4d,0x54])))return!0x0;if(_0x340815[_0x2b09a1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b09a1([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x2b09a1([0x67,0x6c,0x6f,0x62])]&&window[_0x2b09a1([0x67,0x6c,0x6f,0x62])][_0x2b09a1([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;if(_0x340815[_0x2b09a1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b09a1([0x52,0x43,0x4d,0x54]))){if(_0x2c7f22(_0x2b09a1([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&(_0x38f4a1=_0x2b09a1([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]),_0x4bc315[_0x2b09a1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2b09a1([0x67,0x65,0x74])](_0x38f4a1))[_0x2b09a1([0x73,0x74,0x61,0x74,0x65])]==_0x2b09a1([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]))return!0x0;if(_0x2c7f22(_0x2b09a1([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]))||_0x2c7f22(_0x2b09a1([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 _0x38f4a1;return!0x1;}())?(function(){const _0x51469b=[_0x2b09a1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2b09a1([0x74,0x72,0x69,0x61,0x6c])][_0x2b09a1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24e7fc[_0x2b09a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5af0f0/0x3e8:0x69d59a80;return _0x24e7fc[_0x2b09a1([0x65,0x78,0x70])]<_0x51469b;}())?_0x2b09a1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x437c2c=_0x24e7fc[_0x2b09a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x437c2c||0x0==_0x437c2c[_0x2b09a1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x42d5f7}=new URL(window[_0x2b09a1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x437c2c[_0x2b09a1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42d5f7))return!0x0;const _0x28b7f4=_0x42d5f7[_0x2b09a1([0x73,0x70,0x6c,0x69,0x74])](_0x2b09a1([0x2e]));return _0x437c2c[_0x2b09a1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x12db7c=>_0x12db7c[_0x2b09a1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b09a1([0x2a])))[_0x2b09a1([0x6d,0x61,0x70])](_0xe1fdf1=>_0xe1fdf1[_0x2b09a1([0x73,0x70,0x6c,0x69,0x74])](_0x2b09a1([0x2e])))[_0x2b09a1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x37a169=>_0x37a169[_0x2b09a1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x28b7f4[_0x2b09a1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b09a1([0x6d,0x61,0x70])](_0x4bf8c9=>Array(_0x28b7f4[_0x2b09a1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4bf8c9[_0x2b09a1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b09a1([0x66,0x69,0x6c,0x6c])](_0x4bf8c9[0x0]===_0x2b09a1([0x2a])?_0x2b09a1([0x2a]):'')[_0x2b09a1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4bf8c9))[_0x2b09a1([0x73,0x6f,0x6d,0x65])](_0x1f20af=>_0x28b7f4[_0x2b09a1([0x65,0x76,0x65,0x72,0x79])]((_0x4363c0,_0x416548)=>_0x1f20af[_0x416548]===_0x4363c0||_0x1f20af[_0x416548]===_0x2b09a1([0x2a])));}())?(_0x24e7fc[_0x2b09a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2b09a1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5f3d21=function(_0x4995bd){const _0x8a89a5=new window[(_0x2b09a1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xed35b0=>setTimeout(_0xed35b0,0x93ecc)),_0x3dd20b=_0x35b9a9[_0x2b09a1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2b09a1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1fb094=>{let _0x3317aa=0x0;_0x4bc315[_0x2b09a1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b09a1([0x6f,0x6e])](_0x2b09a1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2dca3a,_0x32cbf1)=>{_0x32cbf1[0x0][_0x2b09a1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3317aa++,0x5e8==_0x3317aa&&(_0x1fb094(),_0x2dca3a[_0x2b09a1([0x6f,0x66,0x66])]());});})),_0x56315d=[_0x8a89a5,_0x3dd20b];return window[_0x2b09a1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2b09a1([0x72,0x61,0x63,0x65])](_0x56315d)[_0x2b09a1([0x74,0x68,0x65,0x6e])](()=>_0x4995bd);}(_0x2b09a1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x5f3d21&&_0x1d0fb2)return new window[(_0x2b09a1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x7139a5,_0xcf75bc)=>{_0x5f3d21[_0x2b09a1([0x74,0x68,0x65,0x6e])](_0x7139a5,_0xcf75bc),_0x1d0fb2[_0x2b09a1([0x74,0x68,0x65,0x6e])](_0x2e9ae6=>{_0x2e9ae6!=_0x2b09a1([0x56,0x61,0x6c,0x69,0x64])&&_0x7139a5(_0x2e9ae6);},_0xcf75bc);});return _0x5f3d21||_0x1d0fb2||_0x2b09a1([0x56,0x61,0x6c,0x69,0x64]);}())):_0x2b09a1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2b09a1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2b09a1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2b09a1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x252f51(_0x1007b6){return _0x1007b6[_0x2b09a1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2b09a1([0x65,0x79]))?JSON[_0x2b09a1([0x70,0x61,0x72,0x73,0x65])](_0x1d7c79(_0x1007b6)):null;}function _0x1d7c79(_0x21471a){return window[_0x2b09a1([0x61,0x74,0x6f,0x62])](_0x21471a[_0x2b09a1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2b09a1([0x2b]))[_0x2b09a1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2b09a1([0x2f])));}function _0x5676ba(_0x379d4f){let _0x48914a=0x1505;function _0x500687(_0x2213e9){for(let _0x653743=0x0;_0x653743<_0x2213e9[_0x2b09a1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x653743++){const _0x1bcbce=_0x2213e9[_0x2b09a1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x653743);_0x48914a=(_0x48914a<<0x5)+_0x48914a+_0x1bcbce,_0x48914a&=_0x48914a;}}return function _0x40b65d(_0x37bd48){Array[_0x2b09a1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x37bd48)?_0x37bd48[_0x2b09a1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x40b65d):_0x37bd48&&typeof _0x37bd48==_0x2b09a1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2b09a1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x37bd48)[_0x2b09a1([0x73,0x6f,0x72,0x74])]()[_0x2b09a1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x248594,_0x4ca7cb])=>{_0x500687(_0x248594),_0x40b65d(_0x4ca7cb);}):_0x500687(window[_0x2b09a1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x37bd48));}(_0x379d4f),_0x48914a>>>0x0;}function _0x47d21e(_0x29913a){return _0x29913a[_0x2b09a1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2b09a1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2b09a1([0x30]));}function _0x3ed5f7(_0x1c540d){return _0x1c540d[_0x2b09a1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2b09a1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2b09a1([0x6a,0x6f,0x69,0x6e])]('');}function _0x2c7f22(_0x5c8c65){return _0x4bc315[_0x2b09a1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2b09a1([0x68,0x61,0x73])](_0x5c8c65);}function _0xc99c38(){}function _0x2b09a1(_0x11b2b8){return _0x11b2b8['map'](_0x2ce36a=>String['fromCharCode'](_0x2ce36a))['join']('');}!function(_0x1d7205){const _0x1d70cd=(function(){const _0x322f18=window[_0x2b09a1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2b09a1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2b09a1([0x6e,0x6f,0x77])]())[_0x2b09a1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2b09a1([0x2e]),'');let _0x560e7a=_0x2b09a1([0x4b]);for(let _0x21fd0b=0x0;_0x21fd0b<_0x322f18[_0x2b09a1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21fd0b+=0x2){let _0x1fc7b1=window[_0x2b09a1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x322f18[_0x2b09a1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x21fd0b,_0x21fd0b+0x2));_0x1fc7b1>=_0x706a91[_0x2b09a1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1fc7b1-=_0x706a91[_0x2b09a1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x560e7a+=_0x706a91[_0x1fc7b1];}return _0x560e7a;}());_0x4bc315[_0x1d70cd]=_0x2b09a1([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1d7205,_0x1d7205!=_0x2b09a1([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x35b9a9,_0x4bc315[_0x2b09a1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b09a1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xc99c38,_0x4bc315[_0x2b09a1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b09a1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xc99c38,_0x4bc315[_0x2b09a1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2b09a1([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x1d0c00);}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 _0xd9820d=this['editor'],_0xa0d398=_0xd9820d['plugins']['get'](CommentsRepository),_0xbbf4b7=_0xd9820d['plugins']['get'](CommentsEditing),_0x25fcd8=_0xd9820d['plugins']['get'](Annotations),_0x44be1d=_0xd9820d['plugins']['get'](EditorAnnotations);_0xd9820d['ui']['componentFactory']['add']('comment',()=>{const _0x3a9bc8=this['_createUIButton'](ckeditor5['ButtonView']);return _0x3a9bc8['tooltip']=!0x0,_0x3a9bc8;}),_0xd9820d['ui']['componentFactory']['add']('menuBar:comment',()=>this['_createUIButton'](ckeditor5['MenuBarMenuListItemButtonView'])),_0x44be1d['addSourceCollector'](()=>{const _0x32e2a4=[];for(const [_0x4ad799,_0x28001e]of _0xa0d398['_threadToController']){const _0x72a2db=_0xbbf4b7['getAllMarkersForId'](_0x4ad799['id']),_0x3eb017=_0x72a2db['map'](_0x30e8fb=>_0x30e8fb['getRange']());_0x72a2db['length']>0x0&&_0x32e2a4['push']([_0x28001e['view'],_0x3eb017]);}return _0x32e2a4;}),this['listenTo'](_0x25fcd8,'change:activeAnnotations',(_0x15a8ab,_0x148ccb,_0x3521df)=>{const _0x13acfc=Array['from'](_0x3521df)['map'](_0xffaac6=>_0xffaac6['innerView'])['find'](_0x109486=>_0xa0d398['_viewToController']['has'](_0x109486));if(!_0x13acfc)return void(_0xbbf4b7['activeMarker']=null);const _0x37a010=_0xa0d398['_viewToController']['get'](_0x13acfc)['model']['id'],_0xc9e300='comment:'+_0x37a010;_0x37a010&&_0xbbf4b7['hasMarkerForId'](_0x37a010)?_0xbbf4b7['activeMarker']=_0xc9e300:_0xbbf4b7['activeMarker']&&(_0xbbf4b7['activeMarker']=null);}),this['listenTo'](_0xa0d398,'removeCommentThread',(_0x23abde,{threadId:_0x46c421,isFromAdapter:_0x325e25})=>{!_0x325e25&&_0xd9820d['ui']['focusTracker']['isFocused']&&_0xbbf4b7['hasMarkerForId'](_0x46c421)&&_0xd9820d['editing']['view']['focus']();},{'priority':'highest'}),this['listenTo'](_0xa0d398,'addComment',(_0x473338,{threadId:_0x5e704d,isFromAdapter:_0x44cc2a})=>{if(_0x44cc2a||!_0xbbf4b7['hasMarkerForId'](_0x5e704d)||!_0xa0d398['hasCommentThread'](_0x5e704d))return;0x1===_0xa0d398['getCommentThread'](_0x5e704d)['length']&&(_0xd9820d['editing']['view']['focus'](),_0x473338['stop']());},{'priority':'low'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x13eb39=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x23b08b;for(const _0x1cc594 in _0x13eb39){const _0x21bcae=_0x1cc594,_0x37be21=_0x13eb39[_0x21bcae];if('commentsLicenseKeyValid'==_0x37be21||'commentsLicenseKeyInvalid'==_0x37be21||'commentsLicenseKeyExpired'==_0x37be21||'commentsLicenseKeyDomainLimit'==_0x37be21||'commentsLicenseKeyNotAllowed'==_0x37be21||'commentsLicenseKeyEvaluationLimit'==_0x37be21||'commentsLicenseKeyUsageLimit'==_0x37be21){delete _0x13eb39[_0x21bcae],_0x23b08b=_0x37be21,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'commentsLicenseKeyInvalid'==_0x23b08b&&_0x13eb39['_showLicenseError']('invalid'),'commentsLicenseKeyExpired'==_0x23b08b&&_0x13eb39['_showLicenseError']('expired'),'commentsLicenseKeyDomainLimit'==_0x23b08b&&_0x13eb39['_showLicenseError']('domainLimit'),'commentsLicenseKeyNotAllowed'==_0x23b08b&&_0x13eb39['_showLicenseError']('featureNotAllowed','Comments'),'commentsLicenseKeyEvaluationLimit'==_0x23b08b&&_0x13eb39['_showLicenseError']('evaluationLimit'),'commentsLicenseKeyUsageLimit'==_0x23b08b&&_0x13eb39['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_createUIButton'](_0x1f249a){const _0x218556=this['editor'],_0xe0cd5b=new _0x1f249a(_0x218556['locale']),_0x55bb26=_0x218556['commands']['get']('addCommentThread');return _0xe0cd5b['set']({'label':getTranslation$f(_0x218556['locale'],'Comment'),'icon':ckeditor5['IconAddComment']}),_0xe0cd5b['bind']('isEnabled')['to'](_0x55bb26,'isEnabled',_0x55bb26,'hasContent',(_0x120bbd,_0x2db725)=>_0x120bbd&&_0x2db725),this['listenTo'](_0xe0cd5b,'execute',()=>{_0x55bb26['execute']();}),_0xe0cd5b;}}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(_0x10e3fc){super(_0x10e3fc),this['set']('isEnabled',!0x1),this['on']('change:isEnabled',(_0x4a65be,_0x48e8d6,_0x55282f)=>{_0x55282f?this['_enableCommentsOnlyMode']():this['_disableCommentsOnlyMode']();});}['afterInit'](){!this['isEnabled']&&this['editor']['config']['get']('commentsOnly')&&(this['isEnabled']=!0x0);}['_enableCommentsOnlyMode'](){for(const [_0x2f4f7d,_0x39ef37]of this['editor']['commands'])_0x39ef37['affectsData']&&'addCommentThread'!==_0x2f4f7d&&_0x39ef37['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 _0x132d84=this['editor']['editing']['view']['document'];this['listenTo'](_0x132d84,'cut',_0x4d6474=>_0x4d6474['stop'](),{'priority':'highest'}),this['listenTo'](_0x132d84,'clipboardInput',_0x2976dc=>_0x2976dc['stop'](),{'priority':'highest'}),this['listenTo'](_0x132d84,'delete',_0x2464ee=>_0x2464ee['stop'](),{'priority':'highest'});}['_disableCommentsOnlyMode'](){for(const [_0x1f7644,_0x245ae9]of this['editor']['commands'])_0x245ae9['affectsData']&&'addCommentThread'!==_0x1f7644&&_0x245ae9['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(_0x3afcf1){super(_0x3afcf1),this['activeUIs']=new Set(),this['_uis']=new Map(),this['uisData']=new Map();}['init'](){const _0x1eeeed=this['context']['plugins']['get'](Annotations);this['listenTo'](_0x1eeeed,'_activateAnnotation',(_0x1fbc18,_0xa375af)=>{for(const _0x51b80a of this['activeUIs']){const _0x59de8c=this['_uis']['get'](_0x51b80a);(0x0,this['uisData']['get'](_0x51b80a)['filter'])(_0xa375af)&&_0x59de8c['setActiveAnnotation'](_0xa375af);}}),this['listenTo'](_0x1eeeed,'_deactivateAllAnnotations',()=>{for(const _0x1d6bb0 of this['activeUIs']){this['_uis']['get'](_0x1d6bb0)['setActiveAnnotation'](null);}}),this['listenTo'](_0x1eeeed['_visibleAnnotations'],'add',(_0x2a0519,_0x1b58fc)=>{this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x1b58fc);});}['hasActive'](){return this['activeUIs']['size']>0x0;}['isActive'](_0x219165){return this['activeUIs']['has'](_0x219165);}['activate'](_0x4bbb1a,_0x2660da=this['defaultFilter']){const _0x3d65f1=this['context']['plugins']['get'](Annotations);if(!this['_uis']['has'](_0x4bbb1a))throw new ckeditor5['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0x4bbb1a});this['isActive'](_0x4bbb1a)&&this['deactivate'](_0x4bbb1a),this['activeUIs']['add'](_0x4bbb1a);const _0x3256c4=new AnnotationCollection();bindAnnotationCollections({'source':_0x3d65f1['_visibleAnnotations'],'target':_0x3256c4,'filter':_0x2660da}),this['uisData']['set'](_0x4bbb1a,{'collection':_0x3256c4,'filter':_0x2660da});const _0x25ed52=this['_uis']['get'](_0x4bbb1a);_0x25ed52['attach'](_0x3256c4),this['listenTo'](_0x25ed52,'change:activeAnnotation',(_0x5aee8c,_0x1846c4,_0x1551f8,_0x259a8d)=>{_0x259a8d&&_0x3d65f1['_removeActiveAnnotation'](_0x259a8d),_0x1551f8&&_0x3d65f1['_addActiveAnnotation'](_0x1551f8);});}['deactivate'](_0x1dcef6){if(this['activeUIs']['delete'](_0x1dcef6),!this['_uis']['has'](_0x1dcef6))throw new ckeditor5['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0x1dcef6});const _0x41ace=this['_uis']['get'](_0x1dcef6);_0x41ace['detach'](),this['stopListening'](_0x41ace),this['uisData']['get'](_0x1dcef6)['collection']['destroy'](),this['uisData']['delete'](_0x1dcef6);}['switchTo'](_0xf2f625){if(!this['_uis']['has'](_0xf2f625))throw new ckeditor5['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0xf2f625});const _0x281452=this['context']['plugins']['get'](Annotations),_0x5f34c7=Array['from'](_0x281452['activeAnnotations'])[0x0]||null;this['deactivateAll'](),this['activate'](_0xf2f625);const _0x526235=this['_uis']['get'](_0xf2f625);_0x526235['setActiveAnnotation'](_0x5f34c7),_0x526235['_setSelectedAnnotations']&&_0x5f34c7&&_0x526235['_setSelectedAnnotations']([_0x5f34c7]);}['deactivateAll'](){for(const _0x3bdf77 of this['activeUIs'])this['deactivate'](_0x3bdf77);}['register'](_0x44fc83,_0x248531){if(this['_uis']['has'](_0x44fc83))throw new ckeditor5['CKEditorError']('annotationsuis-register-already-registered');if('function'!=typeof _0x248531['attach']||'function'!=typeof _0x248531['detach']||'function'!=typeof _0x248531['setActiveAnnotation'])throw new ckeditor5['CKEditorError']('annotationsuis-register-invalid-interface',null);this['_uis']['set'](_0x44fc83,_0x248531);}['refilterAnnotations'](){const _0x11a5d5=this['context']['plugins']['get'](Annotations)['collection'],_0x1364bb=new Map(),_0x22a7d1=Array['from'](this['activeUIs']);for(const _0x1a7a99 of this['activeUIs']){const _0xa30e17=this['uisData']['get'](_0x1a7a99)['collection'];for(const _0x505ba9 of _0xa30e17)_0x1364bb['set'](_0x505ba9,_0x1a7a99);}for(const _0x426bde of _0x11a5d5){const _0x5b0318=_0x1364bb['get'](_0x426bde);this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x426bde);const _0x41c8be=_0x22a7d1['find'](_0x4faeb8=>this['uisData']['get'](_0x4faeb8)['filter'](_0x426bde));_0x5b0318!==_0x41c8be&&(_0x5b0318&&this['uisData']['get'](_0x5b0318)['collection']['remove'](_0x426bde),_0x41c8be&&this['uisData']['get'](_0x41c8be)['collection']['add'](_0x426bde));}}['destroy'](){this['deactivateAll'](),super['destroy']();}['defaultFilter'](){return!0x0;}['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x97e96c){const _0x52b217=[];for(const _0x380066 of this['activeUIs']){(0x0,this['uisData']['get'](_0x380066)['filter'])(_0x97e96c)&&_0x52b217['push'](_0x380066);}if(_0x52b217['length']>0x1)throw new ckeditor5['CKEditorError']('annotationsuis-annotation-mismatch',null,{'matchedUIs':_0x52b217,'annotationType':_0x97e96c['type']});}}const toPx$2=/* #__PURE__ -- @preserve */
ckeditor5['toUnit']('px');class AnnotationsSidebarView extends ckeditor5['View']{['list'];['focusables'];['focusTracker'];['focusCycler'];constructor(_0x5893b2){super(_0x5893b2);const _0x440512=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',_0x440512['to']('class')],'style':{'minHeight':_0x440512['to']('minHeight',_0x31a8d1=>'number'==typeof _0x31a8d1?toPx$2(_0x31a8d1+0xa):null)},'dir':_0x5893b2['uiLanguageDirection'],'role':'application','aria-label':getTranslation$f(_0x5893b2,'Annotations\x20sidebar'),'tabindex':0x0},'children':[{'tag':'div','attributes':{'role':'list','aria-label':getTranslation$f(_0x5893b2,'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',_0x529848=>{this['_updateItemPositionInFocusables'](_0x529848['source']);}),this['list']['forEach'](_0x1ca4a0=>{this['focusTracker']['add'](_0x1ca4a0['element']),this['_updateItemPositionInFocusables'](_0x1ca4a0);}),this['list']['on']('change',(_0x1323f4,_0x13beac)=>{for(const _0x153f7c of _0x13beac['removed'])this['focusTracker']['remove'](_0x153f7c['element']),this['focusables']['remove'](_0x153f7c);for(const _0x49e7e0 of _0x13beac['added'])this['focusTracker']['add'](_0x49e7e0['element']),this['_updateItemPositionInFocusables'](_0x49e7e0);}),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['listenTo'](this['element'],'focus',()=>{this['focus']();});}['_updateItemPositionInFocusables'](_0x38500c){const _0x328db7=this['focusables']['getIndex'](_0x38500c);let _0x219d64,_0x22ce6b;for(const _0xddd753 of this['focusables'])if(_0x38500c['top']<_0xddd753['top']){_0x219d64=_0xddd753;break;}if(_0x22ce6b=_0x219d64?this['focusables']['getIndex'](_0x219d64):this['focusables']['length'],-0x1!==_0x328db7){if(_0x328db7===_0x22ce6b-0x1)return;this['focusables']['remove'](_0x38500c),_0x22ce6b=_0x219d64?this['focusables']['getIndex'](_0x219d64):this['focusables']['length'];}this['focusables']['add'](_0x38500c,_0x22ce6b);}}const toPx$1=/* #__PURE__ -- @preserve */
ckeditor5['toUnit']('px');class AnnotationsSidebarItemView extends ckeditor5['View']{['content'];['_targetTop'];['_mutationObserver'];constructor(_0x6aa235){super(_0x6aa235),this['set']('top',0x0),this['set']('height',0x0),this['bind']('bottom')['to'](this,'top',this,'height',(_0x1713e2,_0x534ef9)=>_0x1713e2+_0x534ef9),this['set']('isAnimationDisabled',!0x1),this['_mutationObserver']=createMutationObserver(()=>this['updateHeight']()),this['_targetTop']=null,this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this);const _0x3c0657=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-sidebar-item',_0x3c0657['to']('isAnimationDisabled',_0x5af943=>_0x5af943?'ck-sidebar-item--no-animation':'')],'style':{'top':_0x3c0657['to']('top',_0x437f6c=>toPx$1(_0x437f6c))},'role':'presentation'},'children':this['content']});}['render'](){super['render'](),this['_mutationObserver']['attach'](this['element']);}['focus'](){this['content']['first']&&this['content']['first']['focus']();}['updateHeight'](){const _0x43b42e=this['element']['clientHeight'];_0x43b42e&&(this['height']=_0x43b42e);}['destroy'](){this['content']['clear'](),this['_mutationObserver']['detach'](),super['destroy']();}}class _0x303e8e 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(_0x44db2a){super(_0x44db2a),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 _0x157b4f=this['context']['config']['get']('sidebar.container');_0x157b4f&&this['setContainer'](_0x157b4f);}['setContainer'](_0x1d871b){if(!isElement(_0x1d871b))throw new ckeditor5['CKEditorError']('sidebar-setcontainer-invalid-element');this['container']=_0x1d871b;}['_attachToContainer']({viewClass:_0x5f84ac='',spaceBetweenItems:_0x3eb4e5=0x19}={}){if(!isElement(this['container']))throw new ckeditor5['CKEditorError']('sidebar-attachtocontainer-missing-container',this);this['container']['appendChild'](this['view']['element']),this['view']['class']=_0x5f84ac,this['_spaceBetweenItems']=_0x3eb4e5;}['rearrange']({removedAnnotation:_0x4d166e,previousAnnotation:_0x4d6be9,nextAnnotation:_0x4a8745}){const _0x4e9335=this['getSidebarItemView'](_0x4d166e);this['view']['list']['remove'](_0x4e9335),this['_destroySidebarItemView'](_0x4d166e),_0x4d6be9&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x4d6be9)),_0x4a8745&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x4a8745)),this['_updateLastItem']();}['refresh']({blurredAnnotation:_0x3692fd,activatedAnnotation:_0x353eb2,disableAnimationOnActivatedAnnotation:_0x41b160}){if(this['_activeAnnotation']=_0x353eb2,_0x3692fd){_0x3692fd['isActive']=!0x1;const _0x2d00de=this['getSidebarItemView'](_0x3692fd);_0x2d00de&&_0x41b160&&(_0x2d00de['isAnimationDisabled']=!0x1);}if(_0x353eb2){const _0x453ccb=this['getSidebarItemView'](_0x353eb2);_0x453ccb&&(_0x353eb2['isActive']=!0x0,_0x41b160&&(_0x453ccb['isAnimationDisabled']=!0x0,_0x453ccb['top']+=0x1),this['_alignToTargetRect'](_0x453ccb));}}['_detachFromContainer'](_0x43a8a2){if(this['view']['element']['remove'](),_0x43a8a2){for(const _0xa86032 of _0x43a8a2)this['_destroySidebarItemView'](_0xa86032);}this['view']['list']['clear'](),this['view']['class']='',this['_lastItem']=null;}['addAnnotation'](_0x436dc6,_0x3c53b4){_0x3c53b4||(_0x3c53b4=_0x436dc6['view']);const _0x542c1c=new AnnotationsSidebarItemView(this['context']['locale']);this['_sidebarItemViewToAnnotation']['set'](_0x542c1c,_0x436dc6),this['_annotationToSidebarItemView']['set'](_0x436dc6,_0x542c1c),_0x542c1c['content']['add'](_0x3c53b4),this['listenTo'](_0x436dc6['view'],'change:targetRect',(_0x48f71a,_0xaec54f,_0x1792fe)=>{const _0x1fd9b3=this['_getTargetTop'](_0x436dc6,_0x1792fe);_0x542c1c['_targetTop']!=_0x1fd9b3&&(_0x542c1c['_targetTop']=_0x1fd9b3,this['_setItemTop'](_0x542c1c,_0x1fd9b3));}),this['listenTo'](_0x542c1c,'change:top',()=>{this['_recalculate'](_0x542c1c,'top');}),this['listenTo'](_0x542c1c,'change:bottom',()=>{this['_recalculate'](_0x542c1c,'bottom');}),this['_alignToTargetRect'](_0x542c1c);const _0x41541c=this['_getItemBefore'](_0x542c1c);if(_0x41541c)this['_alignAfterItem'](_0x41541c,_0x542c1c)||this['_alignToTargetRect'](_0x542c1c);else this['_alignToTargetRect'](_0x542c1c);return this['_updateLastItem'](),this['view']['list']['add'](_0x542c1c),_0x542c1c;}['_alignForTopChange'](_0x5664ae){if(!_0x5664ae['content']['length'])return;const _0x5900dd=this['_getItemBefore'](_0x5664ae);if(!_0x5900dd)return;const _0x3c2a33=this['_sidebarItemViewToAnnotation']['get'](_0x5900dd),_0x4f7dcd=this['_activeAnnotation'];_0x4f7dcd&&_0x4f7dcd===_0x3c2a33?this['_alignAfterItem'](_0x5900dd,_0x5664ae):this['_alignBeforeItem'](_0x5664ae,_0x5900dd);}['_alignForBottomChange'](_0x7732c9){if(!_0x7732c9['content']['length'])return;const _0x46154b=this['_getItemAfter'](_0x7732c9);if(!_0x46154b)return;const _0x56e346=this['_sidebarItemViewToAnnotation']['get'](_0x46154b),_0x1c97be=this['context']['config']['get']('sidebar.preventScrollOutOfView'),_0x59f510=this['_activeAnnotation'];_0x59f510&&_0x59f510===_0x56e346&&_0x1c97be?(this['_alignBeforeItem'](_0x46154b,_0x7732c9),this['_alignAfterItem'](_0x7732c9,_0x46154b)):_0x59f510&&_0x59f510===_0x56e346?this['_alignBeforeItem'](_0x46154b,_0x7732c9):this['_alignAfterItem'](_0x7732c9,_0x46154b);}['_recalculate'](_0x24a8cb,_0x59c898){0x0===this['_recalculateBuffer']['length']&&setTimeout(()=>{for(const {sidebarItemView:_0x327218,changedProp:_0x4bfee7}of this['_recalculateBuffer'])'top'===_0x4bfee7?this['_alignForTopChange'](_0x327218):this['_alignForBottomChange'](_0x327218);this['_recalculateBuffer']=[];},0xa),this['_recalculateBuffer']['push']({'sidebarItemView':_0x24a8cb,'changedProp':_0x59c898});}['getSidebarItemView'](_0x4eb930){return this['_annotationToSidebarItemView']['get'](_0x4eb930);}['destroy'](){this['stopListening'](),this['view']['destroy']();}['_destroySidebarItemView'](_0x12e6d0){const _0x2bf214=this['getSidebarItemView'](_0x12e6d0);this['stopListening'](_0x2bf214),this['stopListening'](_0x12e6d0['view']),_0x2bf214['destroy'](),this['_annotationToSidebarItemView']['delete'](_0x12e6d0),this['_sidebarItemViewToAnnotation']['delete'](_0x2bf214);}['_createSidebarView'](){const _0x5f2aed=new AnnotationsSidebarView(this['context']['locale']);return _0x5f2aed['render'](),this['on']('change:_lastItem',(_0x5d6335,_0x1d5e05,_0x400328,_0x2cf0f4)=>{_0x2cf0f4&&_0x5f2aed['unbind']('minHeight'),_0x400328?_0x5f2aed['bind']('minHeight')['to'](_0x400328,'bottom'):_0x5f2aed['minHeight']=null;}),_0x5f2aed;}['_updateLastItem'](){this['_lastItem']=this['_annotations']?.['last']?this['getSidebarItemView'](this['_annotations']['last']):null;}['_getItemBefore'](_0x515608){const _0x569ff1=this['_sidebarItemViewToAnnotation']['get'](_0x515608),_0x491155=_0x569ff1&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x569ff1)-0x1);return _0x491155&&this['getSidebarItemView'](_0x491155)||null;}['_getItemAfter'](_0x1a0001){const _0x544012=this['_sidebarItemViewToAnnotation']['get'](_0x1a0001),_0x494b79=_0x544012&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x544012)+0x1);return _0x494b79&&this['getSidebarItemView'](_0x494b79)||null;}['_alignBeforeItem'](_0x1fa320,_0x245ccb){_0x1fa320['updateHeight']();const _0xe5a78d=getOverlap(_0x245ccb['bottom']+this['_spaceBetweenItems'],_0x1fa320['top']);return!!_0xe5a78d&&(this['_setItemTop'](_0x245ccb,_0x245ccb['top']-_0xe5a78d),!0x0);}['_alignAfterItem'](_0x1bff3c,_0x363a65){_0x1bff3c['updateHeight']();const _0x45e527=getOverlap(_0x1bff3c['bottom']+this['_spaceBetweenItems'],_0x363a65['top']);return!!_0x45e527&&(this['_setItemTop'](_0x363a65,_0x363a65['top']+_0x45e527,!0x1),!0x0);}['_alignToTargetRect'](_0xdcf64f){const _0x7b64d=this['_sidebarItemViewToAnnotation']['get'](_0xdcf64f);if(!_0x7b64d||!_0x7b64d['target']||!_0x7b64d['targetRect'])return;const _0x2ea9f6=this['_getTargetTop'](_0x7b64d,_0x7b64d['targetRect']);this['_setItemTop'](_0xdcf64f,_0x2ea9f6);}['_getTargetTop'](_0x400096,_0x5f0b23){if(null===_0x5f0b23)return 0x0;if(_0x400096['target']instanceof ckeditor5['Rect'])return _0x5f0b23['top'];{const _0x7f37c=new ckeditor5['Rect'](this['view']['element'])['top'];return _0x5f0b23['top']-_0x7f37c;}}['_setItemTop'](_0xa4e5a0,_0x46b2a3,_0x2f0600=this['context']['config']['get']('sidebar.preventScrollOutOfView')){_0x2f0600&&(_0x46b2a3=Math['max'](_0x46b2a3,this['_getMaxAvailableTop'](_0xa4e5a0))),_0xa4e5a0['top']=_0x46b2a3;}['_getMaxAvailableTop'](_0xb9a4ef){let _0x10e388=this['_getItemBefore'](_0xb9a4ef),_0x213a69=0x0;for(;_0x10e388;)_0x10e388['updateHeight'](),_0x213a69+=this['_spaceBetweenItems']+_0x10e388['height'],_0x10e388=this['_getItemBefore'](_0x10e388);return _0x213a69;}}function getOverlap(_0x41e9a8,_0x5d8ba2){return Math['max'](_0x41e9a8-_0x5d8ba2,0x0);}function isElement(_0x3dbec9){return null!==_0x3dbec9&&'object'==typeof _0x3dbec9&&0x1===_0x3dbec9['nodeType'];}class _0x21816e extends ckeditor5['ContextPlugin']{['isAttached'];['annotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[_0x303e8e,AnnotationsUIs];}static get['pluginName'](){return'WideSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4f7b75){super(_0x4f7b75),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_editorAnnotations']=new ckeditor5['Collection'](),this['_refreshPositioningDebounced']=_0x2bf3b5(()=>{_0x4f7b75['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){const _0x422b6f=this['context']['plugins']['get'](AnnotationsUIs),_0x2ee429=this['context']['plugins']['get'](_0x303e8e);_0x422b6f['register']('wideSidebar',this),_0x2ee429['container']&&_0x422b6f['switchTo']('wideSidebar');}['setActiveAnnotation'](_0x339705){if(_0x339705===this['activeAnnotation'])return;const _0x462e7d=this['context']['plugins']['get'](_0x303e8e);_0x462e7d['_activeAnnotation']=_0x339705;const _0x3543d4=this['activeAnnotation'];_0x462e7d['refresh']({'blurredAnnotation':_0x3543d4,'activatedAnnotation':_0x339705}),this['activeAnnotation']=_0x339705;}['attach'](_0x4ffd08){this['annotations']=_0x4ffd08;const _0x1cc3fd=this['context']['plugins']['get'](_0x303e8e);if(_0x1cc3fd['_annotations']=_0x4ffd08,this['isAttached'])throw new ckeditor5['CKEditorError']('widesidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x1cc3fd,'set:container',()=>{this['detach'](),this['listenTo'](_0x1cc3fd,'change:container',_0x1bddbf=>{_0x1bddbf['off'](),this['attach'](_0x4ffd08);});}),_0x1cc3fd['_attachToContainer']({'viewClass':'ck-sidebar--wide'});const _0x2ee9a3=_0x26b1d6=>{_0x26b1d6['updateTargetRect'](),_0x1cc3fd['addAnnotation'](_0x26b1d6);};for(const _0x5583f0 of _0x4ffd08)_0x2ee9a3(_0x5583f0);this['listenTo'](_0x4ffd08,'add',(_0x31c2e3,_0x42c0c7)=>{_0x2ee9a3(_0x42c0c7);}),this['listenTo'](_0x4ffd08,'remove',(_0x538386,_0x4e7db3,_0x3e1d43)=>{_0x1cc3fd['rearrange']({'removedAnnotation':_0x4e7db3,'previousAnnotation':_0x4ffd08['get'](_0x3e1d43-0x1),'nextAnnotation':_0x4ffd08['get'](_0x3e1d43+0x1)}),_0x4e7db3===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'high'}),this['listenTo'](_0x4ffd08,'focus',(_0x4608a5,_0xc00f7f)=>{this['setActiveAnnotation'](_0xc00f7f);}),this['listenTo'](_0x4ffd08,'blur',()=>{this['setActiveAnnotation'](null);});const _0x1064c0=this['context']instanceof ckeditor5['Context']?this['context']['editors']:new ckeditor5['Collection']([this['context']]);for(const _0x47b7f6 of _0x1064c0)this['_integrateWithEditorAnnotations'](_0x47b7f6);this['listenTo'](_0x1064c0,'add',(_0x28c6b7,_0x31053d)=>{this['listenTo'](_0x31053d,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x31053d);});}),this['listenTo'](_0x1064c0,'remove',(_0x13a365,_0x24a9d5)=>{_0x24a9d5['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x24a9d5['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 _0x5bad72=this['context']['plugins']['get'](_0x303e8e);_0x5bad72['_detachFromContainer'](this['annotations']),this['stopListening'](_0x5bad72),this['stopListening'](this['annotations']),this['context']instanceof ckeditor5['Context']&&this['stopListening'](this['context']['editors']);for(const _0x407245 of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x407245);window['removeEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioningDebounced']['cancel'](),this['activeAnnotation']=null,this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach']();}['_integrateWithEditorAnnotations'](_0x512911){if(!_0x512911['plugins']['has']('EditorAnnotations'))return;const _0x2f6e24=_0x512911['plugins']['get']('EditorAnnotations'),_0x5858bd=()=>{const _0x5d2394=_0x2f6e24['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['setActiveAnnotation'](_0x5d2394[0x0]||null);};this['listenTo'](_0x2f6e24,'refresh',_0x5858bd),this['listenTo'](_0x2f6e24,'blur',(_0x41927e,{isAnnotationTracked:_0x461987})=>{this['activeAnnotation']&&_0x461987(this['activeAnnotation'])&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x2f6e24,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](this['annotations'],'blur',_0x5a4eda=>{_0x2f6e24['hasDomSelection']()&&(_0x5858bd(),_0x5a4eda['stop']());},{'priority':'high'}),this['_editorAnnotations']['add'](_0x2f6e24);}['_destroyEditorAnnotationsIntegration'](_0x3cf46e){this['stopListening'](_0x3cf46e),this['_editorAnnotations']['remove'](_0x3cf46e);}}class AnnotationCounterButtonView extends ckeditor5['ButtonView']{['counterView'];constructor(_0x4af000){super(_0x4af000);const _0x2f573a=this['bindTemplate'];this['set']('isDirty',!0x1),this['set']('number',0x0),this['bind']('_badge')['to'](this,'isDirty',this,'number',(_0x49777f,_0x1d7de4)=>_0x49777f?'...':_0x1d7de4['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',_0x2f573a['to']('annotationType',_0x200756=>'ck-annotation-counter__badge--'+_0x200756),_0x2f573a['if']('isDirty','ck-annotation-counter__badge--edit-mode')]},'children':[{'text':_0x2f573a['to']('_badge')}]}),this['children']['add'](this['counterView']);}}class _0x32ed8e extends ckeditor5['ContextPlugin']{['isAttached'];['annotations'];['_manuallyClosedAnnotationViews'];['_domEmitter'];['_annotationToNarrowView'];['_selectedAnnotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[_0x303e8e,AnnotationsUIs];}static get['pluginName'](){return'NarrowSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x43022a){super(_0x43022a),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']=_0x2bf3b5(()=>{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'](_0x192276){this['annotations']=_0x192276;const _0x2eaa95=this['context']['plugins']['get'](_0x303e8e),_0x362dba=this['balloonPanelView'];if(_0x2eaa95['_annotations']=_0x192276,this['isAttached'])throw new ckeditor5['CKEditorError']('narrowsidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x2eaa95,'set:container',()=>{this['detach'](),this['listenTo'](_0x2eaa95,'change:container',_0x22e38a=>{_0x22e38a['off'](),this['attach'](_0x192276);});}),_0x2eaa95['_attachToContainer']({'viewClass':'ck-sidebar--narrow','spaceBetweenItems':0x5});const _0x34e4eb=_0x517ccf=>{const _0x142406=new AnnotationCounterButtonView(this['context']['locale']);_0x2eaa95['addAnnotation'](_0x517ccf,_0x142406),this['_annotationToNarrowView']['set'](_0x517ccf,_0x142406),_0x142406['bind']('isDirty','annotationType','number')['to'](_0x517ccf['view'],'isDirty','type','length'),_0x142406['on']('execute',()=>{this['_manuallyClosedAnnotationViews']['clear'](),_0x362dba['content']['first']!==_0x517ccf['view']?(this['_showBalloon'](_0x517ccf),_0x517ccf['view']['element']['focus'](),this['setActiveAnnotation'](_0x517ccf)):this['setActiveAnnotation'](null);});};for(const _0x4f501f of _0x192276)_0x34e4eb(_0x4f501f);this['listenTo'](_0x192276,'add',(_0x476d07,_0x50c543)=>{_0x34e4eb(_0x50c543);}),this['listenTo'](_0x192276,'remove',(_0x594341,_0x500e9f,_0x5c427c)=>{this['_annotationToNarrowView']['get'](_0x500e9f)['destroy'](),this['_annotationToNarrowView']['delete'](_0x500e9f),_0x2eaa95['rearrange']({'removedAnnotation':_0x500e9f,'previousAnnotation':_0x192276['get'](_0x5c427c-0x1),'nextAnnotation':_0x192276['get'](_0x5c427c+0x1)}),_0x500e9f===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'low'}),this['listenTo'](_0x192276,'focus',(_0x3b0c03,_0x5cc217)=>{this['setActiveAnnotation'](_0x5cc217);}),this['listenTo'](_0x192276,'blur',()=>{this['setActiveAnnotation'](null);}),this['_domEmitter']['listenTo'](document,'keydown',(_0x2ca9d3,_0x16ba5f)=>{_0x16ba5f['keyCode']===ckeditor5['keyCodes']['esc']&&_0x362dba['isVisible']&&(this['_manuallyClosedAnnotationViews']['add'](_0x362dba['content']['first']),this['_hideBalloon'](),_0x16ba5f['stopPropagation'](),_0x16ba5f['preventDefault']());}),this['_domEmitter']['listenTo'](document,'mousedown',(_0x597e0b,_0x34b6a4)=>{const _0x1e9ba8=_0x34b6a4['target'];_0x362dba['isVisible']&&_0x362dba['element']['contains'](_0x1e9ba8)||_0x2eaa95['view']['element']['contains'](_0x1e9ba8)||_0x597e0b['preventClosingBalloon']||this['activeAnnotation']&&this['activeAnnotation']['focusableElements']['find'](_0x1cb925=>_0x1cb925['contains'](_0x1e9ba8))||(this['_manuallyClosedAnnotationViews']['clear'](),this['_hideBalloon'](),this['setActiveAnnotation'](null));});const _0x52d986=this['context']instanceof ckeditor5['Context']?this['context']['editors']:new ckeditor5['Collection']([this['context']]);for(const _0x3b078a of _0x52d986)this['_integrateWithEditorAnnotations'](_0x3b078a);this['listenTo'](_0x52d986,'add',(_0x460536,_0x5c686a)=>{this['listenTo'](_0x5c686a,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x5c686a);});}),this['listenTo'](_0x52d986,'remove',(_0x18fb0f,_0xf256e8)=>{_0xf256e8['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0xf256e8['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioning']();}['setActiveAnnotation'](_0x264bed){if(_0x264bed===this['activeAnnotation'])return;const _0x575cdd=this['context']['plugins']['get'](_0x303e8e);if(_0x575cdd['refresh']({'blurredAnnotation':this['activeAnnotation'],'activatedAnnotation':_0x264bed,'disableAnimationOnActivatedAnnotation':!0x0}),_0x264bed)_0x575cdd['getSidebarItemView'](_0x264bed)?this['_showBalloon'](_0x264bed):this['_hideBalloon']();else this['_hideBalloon']();this['activeAnnotation']=_0x264bed;}['detach'](){if(!this['isAttached'])throw new ckeditor5['CKEditorError']('narrowsidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x5c3dcc=this['context']['plugins']['get'](_0x303e8e);this['_hideBalloon'](),Array['from'](this['_annotationToNarrowView']['values'](),_0x1fce02=>_0x1fce02['destroy']()),this['_annotationToNarrowView']['clear'](),_0x5c3dcc['_detachFromContainer'](this['annotations']),this['stopListening'](),this['_domEmitter']['stopListening'](),this['context']instanceof ckeditor5['Context']&&this['stopListening'](this['context']['editors']);for(const _0x3d74ca of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x3d74ca);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'](_0x455ded){if(!_0x455ded['plugins']['has']('EditorAnnotations'))return;const _0x3bf013=_0x455ded['plugins']['get']('EditorAnnotations'),_0x25c691=this['context']['plugins']['get'](_0x303e8e),_0x29e78f=this['annotations'],_0x30eff8=this['balloonPanelView'],_0x356b4b=()=>{const _0x22cf3b=_0x3bf013['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['_setSelectedAnnotations'](_0x22cf3b),this['setActiveAnnotation'](_0x22cf3b[0x0]||null);};this['listenTo'](_0x3bf013,'refresh',_0x356b4b),this['listenTo'](_0x3bf013,'blur',(_0x1c9707,{isAnnotationTracked:_0x5a64f7})=>{this['activeAnnotation']&&_0x5a64f7(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x3bf013,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](_0x29e78f,'blur',_0x540bce=>{_0x3bf013['hasDomSelection']()&&_0x540bce['stop']();},{'priority':'high'}),this['listenTo'](this['_domEmitter'],'mousedown',(_0x56d102,_0x31c21a)=>{const _0x33bd80=_0x31c21a['target'];_0x30eff8['isVisible']&&_0x30eff8['element']['contains'](_0x33bd80)||_0x25c691['view']['element']['contains'](_0x33bd80)||this['activeAnnotation']&&_0x3bf013['hasDomSelection']()&&(_0x356b4b(),_0x56d102['preventClosingBalloon']=!0x0);},{'priority':'high'}),this['_editorAnnotations']['add'](_0x3bf013);}['_destroyEditorAnnotationsIntegration'](_0x14cbbf){_0x14cbbf&&(this['stopListening'](_0x14cbbf),this['_editorAnnotations']['remove'](_0x14cbbf));}['_setSelectedAnnotations'](_0x4d3529){for(const _0x3eb666 of this['_selectedAnnotations'])_0x4d3529['includes'](_0x3eb666)||this['_manuallyClosedAnnotationViews']['delete'](_0x3eb666['view']);this['_selectedAnnotations']=_0x4d3529;}['_refreshPositioning'](){const _0x33520a=this['balloonPanelView'];this['context']['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning'](),_0x33520a['isVisible']&&this['_updateBalloonPosition']();}['_showBalloon'](_0x149aa1){if(this['_manuallyClosedAnnotationViews']['has'](_0x149aa1['view']))return;const _0x4b0047=this['balloonPanelView']['content']['first'];_0x4b0047!==_0x149aa1['view']?(_0x4b0047&&this['_detachListeners'](_0x4b0047),this['_attachListeners'](_0x149aa1['view']),this['balloonPanelView']['content']['clear'](),this['balloonPanelView']['content']['add'](_0x149aa1['view']),this['_updateBalloonPosition']()):this['_updateBalloonPosition']();}['_updateBalloonPosition'](){const _0x2a2e26=this['balloonPanelView']['content']['first'],_0x328988=_0x2a2e26&&this['annotations']['getByView'](_0x2a2e26);if(!_0x328988||!this['_annotationToNarrowView']['has'](_0x328988))return;const _0x18647d=this['_annotationToNarrowView']['get'](_0x328988)['element'],_0x59e4f3=getBalloonPositions();this['balloonPanelView']['pin']({'target':_0x18647d,'positions':_0x59e4f3});}['_hideBalloon'](){const _0x5eae33=this['balloonPanelView'],_0x5161dc=_0x5eae33['content']['first'];_0x5161dc&&(this['_detachListeners'](_0x5161dc),_0x5eae33['unpin'](),_0x5eae33['content']['clear']());}['_attachListeners'](_0x515d9e){this['listenTo'](_0x515d9e,'change:height',()=>this['_updateBalloonPosition']()),this['listenTo'](_0x515d9e,'Esc',(_0x32de33,_0x8026b9)=>{this['_manuallyClosedAnnotationViews']['add'](_0x515d9e),this['_hideBalloon'](),_0x8026b9();});}['_detachListeners'](_0x20ddd1){this['stopListening'](_0x20ddd1);}}function getBalloonPositions(){const _0x1189aa=ckeditor5['BalloonPanelView']['defaultPositions'];return[_0x1189aa['southArrowNorthEast'],_0x1189aa['northArrowSouthEast'],_0x1189aa['southArrowNorth'],_0x1189aa['northArrowSouth'],_0x1189aa['southArrowNorthWest'],_0x1189aa['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(_0x1173d6){super(_0x1173d6),_0x1173d6['editing']['view']['addObserver'](ckeditor5['MouseObserver']),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_manuallyClosed']=new Set(),this['_balloon']=_0x1173d6['plugins']['get'](ckeditor5['ContextualBalloon']),this['_addedAnnotations']=new Set(),this['_selectedAnnotations']=[],this['_forceRefresh']=!0x1,this['_refreshVisibilityDebounced']=_0x2bf3b5(()=>{this['editor']['plugins']['get']('Annotations')['refreshVisibility']();},0xfa,{'leading':!0x1});}['init'](){const _0x32ad26=this['editor']['plugins']['get'](AnnotationsUIs);_0x32ad26['context']===this['editor']&&(_0x32ad26['register']('inline',this),this['editor']['keystrokes']['set']('Esc',(_0x1f5b82,_0x24532f)=>{const _0x8c9a63=this['_balloon'];if(this['isAttached']&&_0x8c9a63['visibleView']){const _0x2d242f=this['annotations']['getByView'](_0x8c9a63['visibleView']);_0x2d242f&&this['_closeAnnotation'](_0x2d242f),_0x24532f();}}));}['afterInit'](){const _0x4c8912=this['editor']['plugins']['get'](AnnotationsUIs);_0x4c8912['context']===this['editor']&&(_0x4c8912['hasActive']()||_0x4c8912['switchTo']('inline'));}['setActiveAnnotation'](_0x472bc1){_0x472bc1!==this['activeAnnotation']&&(this['activeAnnotation']&&(this['activeAnnotation']['isActive']=!0x1),_0x472bc1&&this['editor']['ui']['focusTracker']['isFocused']&&(this['annotations']['has'](_0x472bc1)&&this['_addAnnotationToBalloon'](_0x472bc1,!0x0),_0x472bc1['isActive']=!0x0),_0x472bc1||this['_setSelectedAnnotations']([]),this['activeAnnotation']=_0x472bc1);}['attach'](_0x1e7b99){this['annotations']=_0x1e7b99;const _0x59ab14=this['editor']['plugins']['get'](AnnotationsUIs),_0x333ec8=this['_balloon'];if(this['isAttached'])throw new ckeditor5['CKEditorError']('inlineannotations-attach-already-attached',this);if(_0x59ab14['context']!==this['editor'])throw new ckeditor5['CKEditorError']('inlineannotations-not-allowed-with-context',this);const _0x201aae=this['editor']['plugins']['get'](EditorAnnotations);this['listenTo'](_0x201aae,'refresh',()=>{const _0x5c2ca6=_0x201aae['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});!this['_forceRefresh']&&_0x5f2a30(_0x5c2ca6,this['_selectedAnnotations'])||(this['_forceRefresh']=!0x1,this['_setSelectedAnnotations'](_0x5c2ca6),this['setActiveAnnotation'](_0x5c2ca6[0x0]||null));}),this['listenTo'](_0x201aae,'blur',(_0x574b42,{isAnnotationTracked:_0xd79343})=>{this['activeAnnotation']&&_0xd79343(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x201aae,'uiUpdate',()=>{this['_refreshVisibilityDebounced']();}),this['listenTo'](this['editor']['ui']['focusTracker'],'change:isFocused',(_0x15e622,_0x482b27,_0x1529db)=>{_0x1529db||this['setActiveAnnotation'](null);}),this['listenTo'](_0x1e7b99,'remove',(_0x3ee278,_0x3562bd)=>{this['_removeAnnotationFromBalloon'](_0x3562bd),_0x3562bd===this['activeAnnotation']&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x333ec8,'change:visibleView',(_0x14c6b4,_0x2583a0,_0x43f993,_0x484145)=>{_0x484145&&this['stopListening'](_0x484145);const _0x4e1a3f=_0x1e7b99['getByView'](_0x43f993);_0x43f993&&_0x4e1a3f&&(this['listenTo'](_0x43f993,'change:height',()=>{_0x333ec8['updatePosition']();}),this['listenTo'](_0x43f993,'Esc',()=>{this['_closeAnnotation'](_0x4e1a3f),this['editor']['editing']['view']['focus']();}),this['activeAnnotation']!==_0x4e1a3f&&this['setActiveAnnotation'](_0x4e1a3f));}),this['listenTo'](this['editor']['ui'],'update',()=>{_0x333ec8['visibleView']&&(_0x1e7b99['getByView'](_0x333ec8['visibleView'])&&_0x333ec8['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 _0xcf34e5 of this['_addedAnnotations'])this['_removeAnnotationFromBalloon'](_0xcf34e5);this['_refreshVisibilityDebounced']['cancel'](),this['stopListening'](),this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach'](),this['_refreshVisibilityDebounced']['cancel']();}['_setSelectedAnnotations'](_0x5d6ae3){for(const _0xf719ff of this['_selectedAnnotations'])_0x5d6ae3['includes'](_0xf719ff)||this['_manuallyClosed']['delete'](_0xf719ff);for(const _0x3a33e2 of this['annotations'])_0x5d6ae3['includes'](_0x3a33e2)||this['_removeAnnotationFromBalloon'](_0x3a33e2);if(this['editor']['ui']['focusTracker']['isFocused']){for(const _0xe2ae4d of _0x5d6ae3)this['_addAnnotationToBalloon'](_0xe2ae4d);}this['_selectedAnnotations']=_0x5d6ae3;}['_addAnnotationToBalloon'](_0x13c42b,_0x3b9b8e=!0x1){this['_manuallyClosed']['has'](_0x13c42b)||(this['_addedAnnotations']['has'](_0x13c42b)||this['_balloon']['hasView'](_0x13c42b['view'])||(this['_addedAnnotations']['add'](_0x13c42b),this['_balloon']['add']({'stackId':_0x13c42b['view']['id'],'view':_0x13c42b['view'],'position':{'target':()=>this['_getBalloonTargetForAnnotation'](_0x13c42b)}})),_0x3b9b8e&&this['_balloon']['showStack'](_0x13c42b['view']['id']));}['_getBalloonTargetForAnnotation'](_0x561749){const _0x5caf0b=_0x561749['target'],_0x4bc24f=this['editor']['editing']['view'],_0xb47c03=_0x4bc24f['document']['selection']['getFirstRange'](),_0x44df33=_0x4bc24f['domConverter']['viewRangeToDom'](_0xb47c03);if(_0x44df33['collapse'](!0x0),_0x5caf0b){if(_0x5caf0b instanceof ckeditor5['Rect'])return _0x5caf0b;let _0xb1f349=[];for(const _0x266d80 of _0x5caf0b)_0xb1f349['push'](...cloneRects(_0x266d80['getClientRects']()));_0xb1f349=joinClientRects(_0xb1f349);const _0x43357e=_0x44df33['getBoundingClientRect']();return _0xb1f349['find'](_0x5ddd20=>_0x5ddd20['top']<=_0x43357e['top']&&_0x5ddd20['bottom']>=_0x43357e['bottom']&&_0x5ddd20['left']<=_0x43357e['left']&&_0x5ddd20['right']>=_0x43357e['right'])||_0xb1f349[0x0];}return _0x561749['targetRect']||_0x44df33;}['_removeAnnotationFromBalloon'](_0x39e52e){this['_addedAnnotations']['has'](_0x39e52e)&&this['_balloon']['hasView'](_0x39e52e['view'])&&(this['_addedAnnotations']['delete'](_0x39e52e),this['_balloon']['remove'](_0x39e52e['view']));}['_closeAnnotation'](_0x55bda8){this['_manuallyClosed']['add'](_0x55bda8),this['_removeAnnotationFromBalloon'](_0x55bda8);}}function _0x5f2a30(_0x20d874,_0x3f1ab2){return _0x20d874['length']===_0x3f1ab2['length']&&_0x20d874['every'](_0x4ff606=>_0x3f1ab2['includes'](_0x4ff606));}function cloneRects(_0x262b72){return Array['from'](_0x262b72)['map'](DOMRect['fromRect']);}function joinClientRects(_0x118a7c){const _0x52ca36=[];let _0x27ea77=_0x118a7c[0x0];for(let _0x4c32c1=0x1;_0x4c32c1<_0x118a7c['length'];_0x4c32c1++)canJoinRects(_0x27ea77,_0x118a7c[_0x4c32c1])?_0x27ea77['width']+=_0x118a7c[_0x4c32c1]['width']:(_0x52ca36['push'](_0x27ea77),_0x27ea77=_0x118a7c[_0x4c32c1]);return _0x52ca36['push'](_0x27ea77),_0x52ca36;}function canJoinRects(_0x23c2a4,_0x1ba776){return _0x23c2a4['top']===_0x1ba776['top']&&_0x23c2a4['bottom']===_0x1ba776['bottom']&&_0x23c2a4['right']===_0x1ba776['left'];}class CommentsArchiveView extends ckeditor5['View']{['focusTracker'];['focusCycler'];['_annotationViews'];constructor(_0x326ad2,_0x59753e){super(_0x326ad2),this['set']('isEmpty',!_0x59753e['length']),this['focusTracker']=new ckeditor5['FocusTracker'](),this['_annotationViews']=_0x59753e,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':_0x59753e,'focusTracker':this['focusTracker']}),this['listenTo'](_0x59753e,'add',()=>{this['isEmpty']=!0x1;}),this['listenTo'](_0x59753e,'remove',(_0x2d6070,_0x213627)=>{_0x213627['isActive']&&this['focus'](),_0x59753e['length']||(this['isEmpty']=!0x0);});const _0x150c9f=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'dir':'auto','class':['ck','ck-comments-archive'],'tabindex':-0x1,'role':'list','aria-label':getTranslation$f(_0x326ad2,'COMMENTS_ARCHIVE_LIST_LABEL')},'children':[{'tag':'div','attributes':{'class':['ck-comments-archive__content'],'role':'presentation'},'children':[{'tag':'div','attributes':{'role':'presentation'},'children':_0x59753e},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0x150c9f['if']('isEmpty','ck-hidden',_0x2d5298=>!_0x2d5298)]},'children':[{'text':getTranslation$f(_0x326ad2,'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 _0x8ed096 of this['_annotationViews'])this['focusTracker']['add'](_0x8ed096['element']);this['_annotationViews']['on']('change',(_0x354141,{added:_0x3b00d1,removed:_0x370bea})=>{for(const _0x36d136 of _0x3b00d1)this['focusTracker']['add'](_0x36d136['element']);for(const _0x2cf15e of _0x370bea)this['focusTracker']['remove'](_0x2cf15e['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(_0x611f32){super(_0x611f32),this['archivedThreads']=new ckeditor5['Collection']();}['init'](){const _0x1c3ce2=this['context'],_0x50a785=_0x1c3ce2['plugins']['get'](CommentsRepository),_0x22ee8c=_0x1c3ce2['plugins']['get'](Annotations);this['listenTo'](_0x50a785,'addCommentThread',(_0x272c5b,{threadId:_0x4cfa09})=>{const _0x66c569=_0x50a785['getCommentThread'](_0x4cfa09);_0x66c569['archivedAt']&&this['archivedThreads']['add'](_0x66c569,this['_calculatePosition'](_0x66c569['archivedAt'])),this['listenTo'](_0x66c569,'change:archivedAt',(_0x21b183,_0x1262d2,_0x2e235d)=>{_0x2e235d?this['archivedThreads']['has'](_0x66c569)||this['archivedThreads']['add'](_0x66c569,this['_calculatePosition'](_0x66c569['archivedAt'])):this['archivedThreads']['has'](_0x66c569)&&this['archivedThreads']['remove'](_0x66c569);});}),this['listenTo'](_0x50a785,'removeCommentThread',(_0x3edeed,{threadId:_0x5ecbd8})=>{const _0x531094=_0x50a785['getCommentThread'](_0x5ecbd8);this['stopListening'](_0x531094),this['archivedThreads']['has'](_0x531094)&&this['archivedThreads']['remove'](_0x531094);},{'priority':'highest'}),this['listenTo'](_0x22ee8c['collection'],'focus',(_0x17a86f,_0x5437c1)=>{_0x5437c1['isVisible']||(_0x5437c1['isActive']=!0x0,_0x22ee8c['activate'](_0x5437c1));});}['_calculatePosition'](_0x17ac9f){const _0x2060b3=[...this['archivedThreads']]['findIndex'](_0x5f071f=>_0x5f071f['archivedAt']<_0x17ac9f);return _0x2060b3>-0x1?_0x2060b3: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(_0x1bf54a){super(_0x1bf54a),this['annotationViews']=new ckeditor5['ViewCollection'](),this['_pendingThreads']=[];}['init'](){const _0x9520e3=this['editor'],_0x1dde9d=this['_hideDialogOnAnnotationEscape']['bind'](this);_0x9520e3['ui']['componentFactory']['add']('commentsArchive',()=>this['_createCommentsArchiveButton'](ckeditor5['ButtonView'],!0x0)),_0x9520e3['ui']['componentFactory']['add']('menuBar:commentsArchive',()=>{const _0x53c1d1=this['_createCommentsArchiveButton'](ckeditor5['MenuBarMenuListItemButtonView']);return _0x53c1d1['set']({'role':'menuitemcheckbox'}),_0x53c1d1;});const _0x374459=_0x9520e3['plugins']['get'](CommentsArchive),_0x5eec5b=_0x9520e3['plugins']['get']('Annotations'),_0x2010a0=_0x9520e3['plugins']['get']('CommentsRepository');_0x374459['archivedThreads']['forEach'](_0x756cb7=>{this['_handleNewThread'](_0x756cb7);}),this['listenTo'](_0x374459['archivedThreads'],'add',(_0x2fb53c,_0x411ca8)=>{this['_handleNewThread'](_0x411ca8);}),this['listenTo'](_0x5eec5b['collection'],'add',(_0x1d4d60,_0x27f347)=>{const _0xb1eab3=this['_pendingThreads']['find'](_0xee36a6=>{const _0x2ac778=_0x2010a0['_threadToController']['get'](_0xee36a6);return _0x2ac778&&_0x27f347['innerView']===_0x2ac778['view'];});if(_0xb1eab3){const _0xe20eff=this['_calculatePosition'](_0xb1eab3['archivedAt']);this['_addAnnotationToArchive'](_0x27f347,_0xe20eff),this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0xb1eab3),0x1);}}),this['listenTo'](_0x374459['archivedThreads'],'remove',(_0x1fb510,_0x125761)=>{const _0x4f92c6=_0x9520e3['config']['get']('collaboration.channelId');if(!_0x4f92c6||_0x125761['channelId']===_0x4f92c6){if(this['_pendingThreads']['includes'](_0x125761))this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x125761),0x1);else{const _0x2fa26c=_0x2010a0['_threadToController']['get'](_0x125761),_0x1bdd9e=_0x5eec5b['getByInnerView'](_0x2fa26c['view']);this['annotationViews']['remove'](_0x1bdd9e['view']),this['stopListening'](_0x1bdd9e),this['stopListening'](_0x1bdd9e['focusableElements']);}}}),this['listenTo'](_0x5eec5b['collection'],'add',(_0x312708,_0x5537d3)=>{this['listenTo'](_0x5537d3,'escape',_0x1dde9d);}),this['listenTo'](_0x5eec5b['collection'],'remove',(_0x4a5c59,_0x8356b7)=>{this['stopListening'](_0x8356b7,'escape',_0x1dde9d);});}['_addAnnotationToArchive'](_0x142deb,_0x3bc8ee){this['listenTo'](_0x142deb,'set:isVisible',_0x5cd485=>{_0x5cd485['return']=!0x1,_0x5cd485['stop']();}),this['annotationViews']['add'](_0x142deb['view'],_0x3bc8ee);}['_handleNewThread'](_0x15808f){const _0x2e9ec4=this['editor']['plugins']['get']('CommentsRepository'),_0x769c31=this['editor']['plugins']['get']('Annotations'),_0xde43f=this['editor']['config']['get']('collaboration.channelId');if(!_0xde43f||_0x15808f['channelId']===_0xde43f){const _0x53cd61=_0x2e9ec4['_threadToController']['get'](_0x15808f);if(!_0x53cd61)return void this['_pendingThreads']['push'](_0x15808f);const _0x4c1d70=this['_calculatePosition'](_0x15808f['archivedAt']),_0xe4b141=_0x769c31['getByInnerView'](_0x53cd61['view']);_0xe4b141['isVisible']&&_0x769c31['_visibleAnnotations']['remove'](_0xe4b141),this['_addAnnotationToArchive'](_0xe4b141,_0x4c1d70);}}['_calculatePosition'](_0x20091a){const _0x32ae13=this['editor']['config']['get']('collaboration.channelId'),_0x49d61b=[...this['editor']['plugins']['get'](CommentsArchive)['archivedThreads']]['filter'](_0x467891=>_0x467891['channelId']===_0x32ae13)['findIndex'](_0x3ffa3e=>_0x3ffa3e['archivedAt']<_0x20091a);return _0x49d61b<0x0||_0x49d61b>this['annotationViews']['length']?this['annotationViews']['length']:_0x49d61b-0x1;}['_toggleDialog'](){const _0x2169f9=this['editor'],_0x81226a=_0x2169f9['plugins']['get']('Dialog');this['commentsArchiveView']||(this['commentsArchiveView']=new CommentsArchiveView(_0x2169f9['locale'],this['annotationViews'])),'commentsArchive'===_0x81226a['id']?_0x81226a['hide']():_0x81226a['show']({'id':'commentsArchive','title':getTranslation$f(_0x2169f9['locale'],'COMMENTS_ARCHIVE'),'icon':ckeditor5['IconCommentsArchive'],'hasCloseButton':!0x0,'content':this['commentsArchiveView'],'position':ckeditor5['DialogViewPosition']['EDITOR_TOP_SIDE']});}['_createCommentsArchiveButton'](_0x287f74,_0x4596e1=!0x1){const _0x13c980=this['editor']['locale'],_0x468db2=this['editor']['plugins']['get']('Dialog'),_0x4049a3=new _0x287f74(_0x13c980);return _0x4049a3['bind']('isEnabled')['to'](this,'isEnabled'),_0x4049a3['bind']('isOn')['to'](_0x468db2,'id',_0xb69fc0=>'commentsArchive'===_0xb69fc0),_0x4049a3['set']({'label':getTranslation$f(_0x13c980,'COMMENTS_ARCHIVE'),'icon':ckeditor5['IconCommentsArchive'],'isToggleable':!0x0}),_0x4596e1&&(_0x4049a3['tooltip']=!0x0),this['listenTo'](_0x4049a3,'execute',()=>this['_toggleDialog']()),_0x4049a3;}['_hideDialogOnAnnotationEscape']=_0x46d1bd=>{const _0xdabbe7=_0x46d1bd['source'];if(!this['annotationViews']['has'](_0xdabbe7['view']))return;const _0x248461=this['editor']['plugins']['get']('Dialog');_0x248461['isOpen']&&'commentsArchive'===_0x248461['id']&&(_0x248461['hide'](),_0x46d1bd['stop']());};}class Comments extends ckeditor5['Plugin']{static get['requires'](){return[CommentsRepository,CommentsEditing,CommentsUI,CommentsArchive,CommentsArchiveUI,CommentsOnly,_0x21816e,_0x32ed8e,InlineAnnotations];}static get['pluginName'](){return'Comments';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function getElementText(_0x34c9c9){let _0x580c76='';for(const _0x421092 of _0x34c9c9['getChildren']())_0x421092 instanceof ckeditor5['ModelText']&&(_0x580c76+=_0x421092['data']);return _0x580c76;}function getDefaultFeatureHeadingNames(_0x595e5b){const _0x22518c=_0x595e5b['config']['get']('heading.options');return _0x22518c?_0x22518c['reduce']((_0x5ee52c,_0x237554)=>('paragraph'!==_0x237554['model']&&_0x5ee52c['push'](_0x237554['model']),_0x5ee52c),[]):_0x595e5b['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 _0x2f6825=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x5ae5e0=[];_0x2f6825['model']['document']['on']('change',_0x2bf3b5(()=>{const _0x3a3c01=_0x5ae5e0;_0x5ae5e0=this['_getOutlineDefinitions']();const _0x5bea23=ckeditor5['diff'](_0x3a3c01,_0x5ae5e0,(_0x41308b,_0x691e2f)=>_0x41308b['level']===_0x691e2f['level']&&_0x41308b['text']===_0x691e2f['text']&&_0x41308b['modelElement']===_0x691e2f['modelElement']),_0x9c416a=ckeditor5['diffToChanges'](_0x5bea23,_0x5ae5e0),_0x4fedf5=this['_getActiveHeading'](),_0x4fb581=_0x5ae5e0['findIndex'](_0xd907c5=>_0xd907c5['modelElement']===_0x4fedf5);_0x9c416a['length']&&this['fire']('change',{'outlineDefinitions':_0x5ae5e0,'activeItemIndex':_0x4fb581,'outlineChanges':_0x9c416a}),this['fire']('activeItemIndex',{'index':_0x4fb581});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x16baf6=this['editor'],_0x3aecef=[],_0x4bd46a=this['_headingNames'];for(const _0x4846c6 of _0x16baf6['model']['document']['getRootNames']())_0x5544c2(_0x16baf6['model']['document']['getRoot'](_0x4846c6));function _0x5544c2(_0x1eb155){for(const _0x33b003 of _0x1eb155['getChildren']())_0x33b003['is']('element')&&(_0x4bd46a['includes'](_0x33b003['name'])&&_0x3aecef['push']({'level':_0x4bd46a['indexOf'](_0x33b003['name'])+0x1,'text':getElementText(_0x33b003),'modelElement':_0x33b003}),_0x5544c2(_0x33b003));}return _0x3aecef;}['_getActiveHeading'](){const _0x2b743c=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x3d46dd=new ckeditor5['ModelTreeWalker']({'direction':'backward','startPosition':_0x2b743c});for(const _0x2fcc17 of _0x3d46dd)if(_0x2fcc17['item']['is']('element')&&this['_headingNames']['includes'](_0x2fcc17['item']['name']))return _0x2fcc17['item'];}['_getHeadingNames'](){const _0x5c5b7e=this['editor']['config']['get']('documentOutline.headings');return _0x5c5b7e||getDefaultFeatureHeadingNames(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x5aee36=this['editor'],_0x14da8b=['h1','h2','h3','h4','h5','h6'],_0x243ede=[];for(const _0x33fcb4 of _0x14da8b){const _0x3758e9=_0x5aee36['editing']['view']['domConverter']['domToView'](document['createElement'](_0x33fcb4)),_0x2d8383=_0x5aee36['data']['toModel'](_0x3758e9)['getChild'](0x0);_0x2d8383?.['is']('element')&&_0x243ede['push'](_0x2d8383['name']);}this['_headingNames']=_0x243ede;}}function getTranslation$e(_0x4644e0,_0x2692f8){const t=_0x4644e0['t'];switch(_0x2692f8){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 _0x2692f8;}}class DocumentOutlineItemView extends ckeditor5['View']{constructor(_0x595a82,_0x207520=!0x1){super(_0x595a82);const _0x9f66c1=this['bindTemplate'],_0x53362f=_0x207520?'['+getTranslation$e(_0x595a82,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0xf3d9db=>!_0xf3d9db),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x9f66c1['to']('level',_0x449b60=>'ck-document-outline__item_level-'+_0x449b60),_0x9f66c1['if']('isActive','ck-document-outline__item_active'),_0x9f66c1['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x9f66c1['to']('text')},'children':[{'text':_0x9f66c1['to']('text',_0x16f7bf=>_0x16f7bf||_0x53362f)}],'on':{'click':_0x9f66c1['to']('click')}});}}class DocumentOutlineView extends ckeditor5['View']{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x4baa70,_0x2eaccd=!0x1,_0x552cd6){super(_0x4baa70),this['showEmptyHeadingText']=_0x2eaccd,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x552cd6,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x1cac1e,_0x16389d,_0x305450,_0x28355f)=>{this['_setActiveItem'](_0x28355f,_0x305450);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x4baa70['contentLanguageDirection'],'data-document-outline-empty-placeholder':getTranslation$e(_0x4baa70,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0xa5fce){_0xa5fce['forEach'](_0x2bc3ba=>{'insert'==_0x2bc3ba['type']?this['_insertItem'](_0x2bc3ba['index'],..._0x2bc3ba['values']):'delete'==_0x2bc3ba['type']&&this['_deleteItem'](_0x2bc3ba['index'],_0x2bc3ba['howMany']);});}['_setActiveItem'](_0x1dacc2,_0x355fec){if(-0x1!==_0x1dacc2){const _0x399a16=this['items']['get'](_0x1dacc2);_0x399a16&&(_0x399a16['isActive']=!0x1);}-0x1!==_0x355fec&&(this['items']['get'](_0x355fec)['isActive']=!0x0,this['_scrollToItem'](_0x355fec));}['_insertItem'](_0x2a88de,..._0x26099f){const _0x227fea=_0x26099f['map']((_0x54dd75,_0xec882d)=>{const _0x440d1d=new DocumentOutlineItemView(this['locale'],this['showEmptyHeadingText']);return _0x440d1d['text']=_0x54dd75['text'],_0x440d1d['level']=_0x54dd75['level'],_0x2a88de+_0xec882d===this['activeItemIndex']&&(_0x440d1d['isActive']=!0x0),_0x440d1d;});this['items']['addMany'](_0x227fea,_0x2a88de);}['_deleteItem'](_0x176c80,_0x507ac6){do{this['items']['remove'](_0x176c80);}while(--_0x507ac6);}['_handleItemClick'](_0x2386e4){const _0x33772e=this['items']['getIndex'](_0x2386e4['source']);this['fire']('itemSelected',_0x33772e);}['_scrollToItem'](_0x28119d){ckeditor5['scrollAncestorsToShowTarget'](this['items']['get'](_0x28119d)['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(_0x15137f){super(_0x15137f),this['view']=new DocumentOutlineView(_0x15137f['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 _0x474533=this['editor'],_0x40df8d=_0x474533['plugins']['get']('DocumentOutlineUtils');let _0x317a5c=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x474533['config']['get']('documentOutline.container'))throw new ckeditor5['CKEditorError']('document-outline-container-not-provided',{'editor':_0x474533});_0x474533['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x40df8d['on']('change',this['_handleOutlineChange']['bind'](this)),_0x40df8d['on']('activeItemIndex',(_0x55e6d8,{index:_0x15a780})=>this['_setActiveViewItem'](_0x15a780)),this['view']['on']('itemSelected',(_0x118926,_0x408c1b)=>{_0x317a5c=!0x0,this['_handleItemSelected'](_0x408c1b);}),this['view']['listenTo'](ckeditor5['global']['document'],'scroll',()=>{_0x317a5c?_0x317a5c=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](ckeditor5['global']['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){_0x2ae8bf(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x1bcf13,{outlineDefinitions:_0x43a47f,outlineChanges:_0x2ea0dc}){this['_currentOutlineDefinitions']=_0x43a47f,this['view']['sync'](_0x2ea0dc);}['_setActiveViewItem'](_0xddb693){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0xddb693]&&(this['view']['activeItemIndex']=_0xddb693);}['_handleItemSelected'](_0xff8a33){const _0x3a4bd6=this['_currentOutlineDefinitions'][_0xff8a33]['modelElement'];this['editor']['model']['change'](_0x58c9e6=>{_0x58c9e6['setSelection'](_0x3a4bd6,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0xff8a33);}['_updateActiveDefinitionOnViewportChange'](){const _0x44101e=this['editor'];let _0x11d12a;for(const _0x343cfc of _0x44101e['model']['document']['getRootNames']()){const _0x44575e=_0x44101e['editing']['view']['getDomRoot'](_0x343cfc),_0x17be8c=_0x44575e&&new ckeditor5['Rect'](_0x44575e)['getVisible']();if(_0x17be8c){const _0x4539c2=new ckeditor5['Rect'](ckeditor5['global']['window'])['getIntersection'](_0x17be8c);_0x4539c2&&(_0x11d12a=_0x4539c2['top']+0.25*_0x4539c2['height']);}}if(void 0x0===_0x11d12a)return;const _0x3deea6=binaryActiveDefinitionSearch(_0x44101e['editing'],this['_currentOutlineDefinitions'],_0x11d12a);_0x3deea6?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x3deea6)):this['_setActiveViewItem'](-0x1);}}function binaryActiveDefinitionSearch(_0x3a5979,_0x5e1350,_0x22b9bb,_0x22b77=0x0,_0x52921d=_0x5e1350['length']-0x1){const _0x1a8206=Math['floor'](_0x22b77+(_0x52921d-_0x22b77)/0x2);if(_0x52921d>=_0x22b77){const _0x7f8705=_0x5e1350[_0x1a8206],_0x1b9d79=_0x3a5979['mapper']['toViewElement'](_0x7f8705['modelElement']);if(!_0x1b9d79)return null;const _0x29ff6c=_0x3a5979['view']['domConverter']['mapViewToDom'](_0x1b9d79);return new ckeditor5['Rect'](_0x29ff6c)['bottom']>_0x22b9bb?binaryActiveDefinitionSearch(_0x3a5979,_0x5e1350,_0x22b9bb,_0x22b77,_0x1a8206-0x1):binaryActiveDefinitionSearch(_0x3a5979,_0x5e1350,_0x22b9bb,_0x1a8206+0x1,_0x52921d);}return _0x1a8206<0x0?null:_0x5e1350[_0x1a8206];}async function _0x2ae8bf(_0x236e2a){const _0x3d5a6c=_0x2ba2f4([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]),_0xc0e9db=window[_0x2ba2f4([0x44,0x61,0x74,0x65])][_0x2ba2f4([0x6e,0x6f,0x77])](),_0x2dcdf1=_0x236e2a[_0x2ba2f4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x47870b=new window[(_0x2ba2f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x52595f=>{_0x2dcdf1[_0x2ba2f4([0x6f,0x6e,0x63,0x65])](_0x2ba2f4([0x72,0x65,0x61,0x64,0x79]),_0x52595f);}),_0x4f97f2={[_0x2ba2f4([0x6b,0x74,0x79])]:_0x2ba2f4([0x45,0x43]),[_0x2ba2f4([0x75,0x73,0x65])]:_0x2ba2f4([0x73,0x69,0x67]),[_0x2ba2f4([0x63,0x72,0x76])]:_0x2ba2f4([0x50,0x2d,0x32,0x35,0x36]),[_0x2ba2f4([0x78])]:_0x2ba2f4([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]),[_0x2ba2f4([0x79])]:_0x2ba2f4([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]),[_0x2ba2f4([0x61,0x6c,0x67])]:_0x2ba2f4([0x45,0x53,0x32,0x35,0x36])},_0x54131a=_0x2dcdf1[_0x2ba2f4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2ba2f4([0x67,0x65,0x74])](_0x2ba2f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x197eb2=await(async function(){let _0x1f6643,_0x2cbfb2=null,_0x28de28=null;try{if(_0x54131a==_0x2ba2f4([0x47,0x50,0x4c]))return _0x2ba2f4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1f6643=(function(){const _0x59fab9=_0x54131a[_0x2ba2f4([0x73,0x70,0x6c,0x69,0x74])](_0x2ba2f4([0x2e]));if(0x3!=_0x59fab9[_0x2ba2f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x10243e=_0x59fab9[0x1];return _0x303b66(_0x10243e);function _0x303b66(_0x33ab74){const _0x3a8bd4=_0x4609ed(_0x33ab74);return _0x3a8bd4&&_0x4786f0()?_0x3a8bd4:null;function _0x4786f0(){const _0x1376de=_0x3a8bd4[_0x2ba2f4([0x6a,0x74,0x69])],_0x21796d=window[_0x2ba2f4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1376de[_0x2ba2f4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1376de[_0x2ba2f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3238e5={..._0x3a8bd4,[_0x2ba2f4([0x6a,0x74,0x69])]:_0x1376de[_0x2ba2f4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1376de[_0x2ba2f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3238e5[_0x2ba2f4([0x76,0x63])],_0x1f26ec(_0x3238e5)==_0x21796d;}}}()),!_0x1f6643)return _0x2ba2f4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x1f6643[_0x2ba2f4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x28de28=function(_0x464326,_0x21f45a){return new window[(_0x2ba2f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b8cb1=>{if(_0x31b549())return _0x5b8cb1(_0x2ba2f4([0x56,0x61,0x6c,0x69,0x64]));_0x556005(),_0x2dcdf1[_0x2ba2f4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2ba2f4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x342ce7=!0x1;const _0x384278=ckeditor5['uid']();function _0xccd94d(_0x491fae){return!!_0x491fae&&(typeof _0x491fae===_0x2ba2f4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x491fae===_0x2ba2f4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x491fae[_0x2ba2f4([0x74,0x68,0x65,0x6e])]===_0x2ba2f4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x491fae[_0x2ba2f4([0x63,0x61,0x74,0x63,0x68])]===_0x2ba2f4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x480ab8(_0x3507a7){_0x372aa5(_0x3507a7)[_0x2ba2f4([0x74,0x68,0x65,0x6e])](_0x3378f0=>{if(!_0x3378f0||_0x3378f0[_0x2ba2f4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2ba2f4([0x6f,0x6b]))return _0x2ba2f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x494a0d(_0x1f26ec(_0x384278+_0x21f45a))!=_0x3378f0[_0x2ba2f4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2ba2f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2ba2f4([0x56,0x61,0x6c,0x69,0x64]);})[_0x2ba2f4([0x74,0x68,0x65,0x6e])](_0x45153e=>(_0x2c23ea(),_0x45153e),()=>{const _0x547591=_0x307a5a();return null==_0x547591?(_0x2c23ea(),_0x2ba2f4([0x56,0x61,0x6c,0x69,0x64])):_0x2ba2f4(_0xc0e9db-_0x547591>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2ba2f4([0x74,0x68,0x65,0x6e])](_0x5b8cb1)[_0x2ba2f4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5b8cb1(_0x2ba2f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1ebfcf=0x36ee80;function _0x2c23ea(){const _0x5b732e=_0x2ba2f4([0x6c,0x6c,0x63,0x74,0x2d])+_0x494a0d(_0x1f26ec(_0x464326)),_0x4366cc=_0x56c650(_0x494a0d(window[_0x2ba2f4([0x4d,0x61,0x74,0x68])][_0x2ba2f4([0x63,0x65,0x69,0x6c])](_0xc0e9db/_0x1ebfcf)));window[_0x2ba2f4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2ba2f4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b732e,_0x4366cc);}function _0x307a5a(){const _0x3b43d8=_0x2ba2f4([0x6c,0x6c,0x63,0x74,0x2d])+_0x494a0d(_0x1f26ec(_0x464326)),_0x368b59=window[_0x2ba2f4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2ba2f4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3b43d8);return _0x368b59?window[_0x2ba2f4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56c650(_0x368b59),0x10)*_0x1ebfcf:null;}function _0x372aa5(_0xa7413){return new window[(_0x2ba2f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd6cfd6,_0x55bda4)=>{_0xa7413[_0x2ba2f4([0x74,0x68,0x65,0x6e])](_0xd6cfd6,_0x55bda4),window[_0x2ba2f4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x55bda4,0x1d4c0);});}}_0x2dcdf1[_0x2ba2f4([0x6f,0x6e])](_0x2ba2f4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1eb4bb,_0x3e957e)=>{if(_0x3e957e[0x0]!=_0x464326)return _0x5b8cb1(_0x2ba2f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3e957e[0x1]={..._0x3e957e[0x1],[_0x2ba2f4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x384278};},{[_0x2ba2f4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2ba2f4([0x68,0x69,0x67,0x68])}),_0x2dcdf1[_0x2ba2f4([0x6f,0x6e])](_0x2ba2f4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x35ad1c=>{_0xccd94d(_0x35ad1c[_0x2ba2f4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x342ce7=!0x0,_0x480ab8(_0x35ad1c[_0x2ba2f4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2ba2f4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2ba2f4([0x6c,0x6f,0x77])}),_0x47870b[_0x2ba2f4([0x74,0x68,0x65,0x6e])](()=>{_0x342ce7||_0x5b8cb1(_0x2ba2f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x31b549(){return _0x2dcdf1[_0x2ba2f4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2ba2f4([0x76,0x69,0x65,0x77])][_0x2ba2f4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2ba2f4([0x61,0x75,0x74,0x6f]);}function _0x556005(){_0x2dcdf1[_0x2ba2f4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2ba2f4([0x76,0x69,0x65,0x77])][_0x2ba2f4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2ba2f4([0x61,0x75,0x74,0x6f]);}}(_0x1f6643[_0x2ba2f4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1f6643[_0x2ba2f4([0x6a,0x74,0x69])]));const _0x78f051=await(async function(){let _0x18c108=!0x0;try{const _0x2cb643=_0x54131a[_0x2ba2f4([0x73,0x70,0x6c,0x69,0x74])](_0x2ba2f4([0x2e])),[_0x4e0b43,_0xc9802d,_0x1b56dc]=_0x2cb643;return _0x2b7e26(_0x4e0b43),await _0x35ba19(_0x4e0b43,_0xc9802d,_0x1b56dc),_0x18c108;}catch{return!0x1;}function _0x2b7e26(_0x11078f){const _0x3d2214=_0x4609ed(_0x11078f);_0x3d2214&&_0x3d2214[_0x2ba2f4([0x61,0x6c,0x67])]==_0x2ba2f4([0x45,0x53,0x32,0x35,0x36])||(_0x18c108=!0x1);}async function _0x35ba19(_0x53bd75,_0x2917ae,_0x2e716b){const _0x2986d1=window[_0x2ba2f4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2ba2f4([0x66,0x72,0x6f,0x6d])](_0x2fcb58(_0x2e716b),_0x2b0174=>_0x2b0174[_0x2ba2f4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x56e47e=new window[(_0x2ba2f4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2ba2f4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x53bd75+_0x2ba2f4([0x2e])+_0x2917ae),_0x24b13f=window[_0x2ba2f4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2ba2f4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x24b13f)return;const _0x3f0f1b=await _0x24b13f[_0x2ba2f4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2ba2f4([0x6a,0x77,0x6b]),_0x4f97f2,{[_0x2ba2f4([0x6e,0x61,0x6d,0x65])]:_0x2ba2f4([0x45,0x43,0x44,0x53,0x41]),[_0x2ba2f4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2ba2f4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2ba2f4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x24b13f[_0x2ba2f4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2ba2f4([0x6e,0x61,0x6d,0x65])]:_0x2ba2f4([0x45,0x43,0x44,0x53,0x41]),[_0x2ba2f4([0x68,0x61,0x73,0x68])]:{[_0x2ba2f4([0x6e,0x61,0x6d,0x65])]:_0x2ba2f4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3f0f1b,_0x2986d1,_0x56e47e)||(_0x18c108=!0x1);}}());return _0x78f051?(function(){const _0x2bc623=_0x1f6643[_0x2ba2f4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x2bc623)return!0x1;if(_0x2bc623[_0x2ba2f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ba2f4([0x2a])))return!0x0;if(_0x2bc623[_0x2ba2f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ba2f4([0x44,0x4f])))return!0x0;if(_0x2bc623[_0x2ba2f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ba2f4([0x50,0x50])))return!0x0;if(_0x2bc623[_0x2ba2f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ba2f4([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x2ba2f4([0x67,0x6c,0x6f,0x62])]&&window[_0x2ba2f4([0x67,0x6c,0x6f,0x62])][_0x2ba2f4([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x347c49=[_0x2ba2f4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2ba2f4([0x74,0x72,0x69,0x61,0x6c])][_0x2ba2f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f6643[_0x2ba2f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xc0e9db/0x3e8:0x69d59a80;return _0x1f6643[_0x2ba2f4([0x65,0x78,0x70])]<_0x347c49;}())?_0x2ba2f4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x159b28=_0x1f6643[_0x2ba2f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x159b28||0x0==_0x159b28[_0x2ba2f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xa9468}=new URL(window[_0x2ba2f4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x159b28[_0x2ba2f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa9468))return!0x0;const _0x27098e=_0xa9468[_0x2ba2f4([0x73,0x70,0x6c,0x69,0x74])](_0x2ba2f4([0x2e]));return _0x159b28[_0x2ba2f4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x129302=>_0x129302[_0x2ba2f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ba2f4([0x2a])))[_0x2ba2f4([0x6d,0x61,0x70])](_0x994773=>_0x994773[_0x2ba2f4([0x73,0x70,0x6c,0x69,0x74])](_0x2ba2f4([0x2e])))[_0x2ba2f4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5bdde3=>_0x5bdde3[_0x2ba2f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x27098e[_0x2ba2f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2ba2f4([0x6d,0x61,0x70])](_0x52b6b6=>Array(_0x27098e[_0x2ba2f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x52b6b6[_0x2ba2f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2ba2f4([0x66,0x69,0x6c,0x6c])](_0x52b6b6[0x0]===_0x2ba2f4([0x2a])?_0x2ba2f4([0x2a]):'')[_0x2ba2f4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x52b6b6))[_0x2ba2f4([0x73,0x6f,0x6d,0x65])](_0x15d72b=>_0x27098e[_0x2ba2f4([0x65,0x76,0x65,0x72,0x79])]((_0x135027,_0x516d5d)=>_0x15d72b[_0x516d5d]===_0x135027||_0x15d72b[_0x516d5d]===_0x2ba2f4([0x2a])));}())?(_0x1f6643[_0x2ba2f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2ba2f4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2cbfb2=function(_0xb4a667){const _0x13cf0d=new window[(_0x2ba2f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ee26e=>setTimeout(_0x2ee26e,0x93ecc)),_0x1312d5=_0x47870b[_0x2ba2f4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2ba2f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13c637=>{let _0x4da002=0x0;_0x2dcdf1[_0x2ba2f4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ba2f4([0x6f,0x6e])](_0x2ba2f4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x11a636,_0x4b9f13)=>{_0x4b9f13[0x0][_0x2ba2f4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4da002++,0x5e8==_0x4da002&&(_0x13c637(),_0x11a636[_0x2ba2f4([0x6f,0x66,0x66])]());});})),_0x5546da=[_0x13cf0d,_0x1312d5];return window[_0x2ba2f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2ba2f4([0x72,0x61,0x63,0x65])](_0x5546da)[_0x2ba2f4([0x74,0x68,0x65,0x6e])](()=>_0xb4a667);}(_0x2ba2f4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x2cbfb2&&_0x28de28)return new window[(_0x2ba2f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2ab5fe,_0x1d78cc)=>{_0x2cbfb2[_0x2ba2f4([0x74,0x68,0x65,0x6e])](_0x2ab5fe,_0x1d78cc),_0x28de28[_0x2ba2f4([0x74,0x68,0x65,0x6e])](_0x33a441=>{_0x33a441!=_0x2ba2f4([0x56,0x61,0x6c,0x69,0x64])&&_0x2ab5fe(_0x33a441);},_0x1d78cc);});return _0x2cbfb2||_0x28de28||_0x2ba2f4([0x56,0x61,0x6c,0x69,0x64]);}())):_0x2ba2f4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2ba2f4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2ba2f4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2ba2f4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x4609ed(_0x558a4d){return _0x558a4d[_0x2ba2f4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2ba2f4([0x65,0x79]))?JSON[_0x2ba2f4([0x70,0x61,0x72,0x73,0x65])](_0x2fcb58(_0x558a4d)):null;}function _0x2fcb58(_0x106566){return window[_0x2ba2f4([0x61,0x74,0x6f,0x62])](_0x106566[_0x2ba2f4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2ba2f4([0x2b]))[_0x2ba2f4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2ba2f4([0x2f])));}function _0x1f26ec(_0x209976){let _0x4ccf07=0x1505;function _0x5cf05d(_0x300055){for(let _0xce9e7e=0x0;_0xce9e7e<_0x300055[_0x2ba2f4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xce9e7e++){const _0x489da6=_0x300055[_0x2ba2f4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xce9e7e);_0x4ccf07=(_0x4ccf07<<0x5)+_0x4ccf07+_0x489da6,_0x4ccf07&=_0x4ccf07;}}return function _0xcb6620(_0x5e6dfd){Array[_0x2ba2f4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5e6dfd)?_0x5e6dfd[_0x2ba2f4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xcb6620):_0x5e6dfd&&typeof _0x5e6dfd==_0x2ba2f4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2ba2f4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5e6dfd)[_0x2ba2f4([0x73,0x6f,0x72,0x74])]()[_0x2ba2f4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x27c52e,_0x1dd636])=>{_0x5cf05d(_0x27c52e),_0xcb6620(_0x1dd636);}):_0x5cf05d(window[_0x2ba2f4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5e6dfd));}(_0x209976),_0x4ccf07>>>0x0;}function _0x494a0d(_0x18ef54){return _0x18ef54[_0x2ba2f4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2ba2f4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2ba2f4([0x30]));}function _0x56c650(_0xff72bf){return _0xff72bf[_0x2ba2f4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2ba2f4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2ba2f4([0x6a,0x6f,0x69,0x6e])]('');}function _0x1e15bb(){}function _0x2ba2f4(_0x59874e){return _0x59874e['map'](_0x33c56d=>String['fromCharCode'](_0x33c56d))['join']('');}!function(_0x36c6c2){const _0x1a00dc=(function(){const _0x101524=window[_0x2ba2f4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2ba2f4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2ba2f4([0x6e,0x6f,0x77])]())[_0x2ba2f4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2ba2f4([0x2e]),'');let _0x4dc388=_0x2ba2f4([0x61]);for(let _0x38bd1a=0x0;_0x38bd1a<_0x101524[_0x2ba2f4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x38bd1a+=0x2){let _0x27b479=window[_0x2ba2f4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x101524[_0x2ba2f4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x38bd1a,_0x38bd1a+0x2));_0x27b479>=_0x3d5a6c[_0x2ba2f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x27b479-=_0x3d5a6c[_0x2ba2f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4dc388+=_0x3d5a6c[_0x27b479];}return _0x4dc388;}());_0x2dcdf1[_0x1a00dc]=_0x2ba2f4([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])+_0x36c6c2,_0x36c6c2!=_0x2ba2f4([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x47870b,_0x2dcdf1[_0x2ba2f4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ba2f4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1e15bb,_0x2dcdf1[_0x2ba2f4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ba2f4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1e15bb,_0x2dcdf1[_0x2ba2f4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2ba2f4([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x197eb2);}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 _0x3d6f8b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x507f56;for(const _0x41dc39 in _0x3d6f8b){const _0x5cf2d4=_0x41dc39,_0x3cec03=_0x3d6f8b[_0x5cf2d4];if('documentOutlineLicenseKeyValid'==_0x3cec03||'documentOutlineLicenseKeyInvalid'==_0x3cec03||'documentOutlineLicenseKeyExpired'==_0x3cec03||'documentOutlineLicenseKeyDomainLimit'==_0x3cec03||'documentOutlineLicenseKeyNotAllowed'==_0x3cec03||'documentOutlineLicenseKeyEvaluationLimit'==_0x3cec03||'documentOutlineLicenseKeyUsageLimit'==_0x3cec03){delete _0x3d6f8b[_0x5cf2d4],_0x507f56=_0x3cec03,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x507f56&&_0x3d6f8b['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x507f56&&_0x3d6f8b['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x507f56&&_0x3d6f8b['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x507f56&&_0x3d6f8b['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x507f56&&_0x3d6f8b['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x507f56&&_0x3d6f8b['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContentsCommand extends ckeditor5['Command']{['execute'](){this['editor']['model']['change'](_0x31e69f=>{this['editor']['model']['insertObject'](_0x31e69f['createElement']('tableOfContents'));});}['refresh'](){const _0x173042=this['editor']['model'],_0x5ed774=_0x173042['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x5ed774&&_0x173042['schema']['findAllowedParent'](_0x5ed774,'tableOfContents'));}}class _0x2490a7 extends ckeditor5['Plugin']{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x56853c=this['editor'];if(_0x56853c['config']['get']('headingId.modelAttributeName'))return;getDefaultHeadingMapNames(this['editor']['config']['get']('heading.options'))['forEach']((_0xb1d868,_0x4926ec)=>{this['_customUpcastHeadingsConversion'](_0x4926ec),this['_customDataDowncastHeadingsConversion'](_0xb1d868),_0x56853c['model']['schema']['isRegistered'](_0xb1d868)&&_0x56853c['model']['schema']['extend'](_0xb1d868,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']();}['_customUpcastHeadingsConversion'](_0x3be7ee){this['editor']['conversion']['for']('upcast')['add'](_0x28fafa=>_0x28fafa['on']('element:'+_0x3be7ee,(_0x435961,_0x3e3d7d,_0x36665f)=>{const {consumable:_0x481998,writer:_0x16d1f2}=_0x36665f,_0xde1462=_0x3e3d7d['viewItem']['getAttribute']('id'),_0x4ad583=_0x3e3d7d['modelRange']['getContainedElement']();if(_0x4ad583)return _0xde1462&&_0xde1462['length']||_0x4ad583['hasAttribute']('headingId')?void(_0x481998['consume'](_0x3e3d7d['viewItem'],{'attributes':['id']})&&_0x16d1f2['setAttribute']('headingId',_0xde1462,_0x4ad583)):(_0x481998['consume'](_0x3e3d7d['viewItem'],{'attributes':['id']}),void _0x16d1f2['setAttribute']('headingId',ckeditor5['uid'](),_0x4ad583));},{'priority':ckeditor5['priorities']['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x1ea71b){this['editor']['conversion']['for']('downcast')['add'](_0x5014d0=>_0x5014d0['on']('attribute:headingId:'+_0x1ea71b,(_0x1dff2c,_0x35e18f,_0x55d805)=>{if(!_0x55d805['consumable']['consume'](_0x35e18f['item'],_0x1dff2c['name']))return;const _0x3f5aa1=_0x35e18f['item']['getAttribute']('headingId'),_0x57e3cc=_0x55d805['mapper']['toViewElement'](_0x35e18f['item']);_0x55d805['writer']['setAttribute']('id',_0x3f5aa1,_0x57e3cc);}));}['_registerHeadingIdAttributePostfixer'](){const _0x56c5e8=this['editor'],_0x229723=new Set(),_0xc1d883=new Set();function _0x481e92(_0x5e7358,_0x3070a7){const _0xfa35e7=ckeditor5['uid']();return _0xc1d883['add'](_0xfa35e7),_0x5e7358['setAttribute']('headingId',_0xfa35e7,_0x3070a7),_0xfa35e7;}function _0x19b2f9(_0x19eaff,_0x1e8818){_0x19eaff['removeAttribute']('headingId',_0x1e8818);}_0x56c5e8['model']['document']['registerPostFixer'](_0x422c4e=>{const _0x5987b7=_0x56c5e8['model']['document']['differ']['getChanges']();let _0x1b04da=!0x1;for(const _0x5c095a of _0x5987b7)if('insert'==_0x5c095a['type']&&_0x5c095a['name']){if(_0x4273c4(_0x5c095a['name'])){const _0x388233=_0x5c095a['attributes']['get']('headingId');'string'==typeof _0x388233?_0x229723['has'](_0x388233)?(_0x481e92(_0x422c4e,_0x5c095a['position']['nodeAfter']),_0x1b04da=!0x0):_0xc1d883['add'](_0x388233):(_0x481e92(_0x422c4e,_0x5c095a['position']['nodeAfter']),_0x1b04da=!0x0);}else'string'==typeof _0x5c095a['attributes']['get']('headingId')&&(_0x19b2f9(_0x422c4e,_0x5c095a['position']['nodeAfter']),_0x1b04da=!0x0);}else{if('remove'==_0x5c095a['type']){const _0x589504=_0x5c095a['attributes']['get']('headingId');'string'==typeof _0x589504&&_0x229723['delete'](_0x589504);}}return _0x1b04da;}),_0x56c5e8['model']['document']['on']('change',()=>{_0xc1d883['forEach'](_0x2c3186=>_0x229723['add'](_0x2c3186)),_0xc1d883['clear']();});}}function _0x4273c4(_0x35fa3d){return!!_0x35fa3d['match'](/heading\d/);}function getDefaultHeadingMapNames(_0x1986bf){const _0x1fbd29=new Map();return _0x1986bf?(_0x1986bf['forEach'](_0x16c5d8=>{'paragraph'!==_0x16c5d8['model']&&_0x1fbd29['set'](_0x16c5d8['view'],_0x16c5d8['model']);}),_0x1fbd29['get']('h1')||_0x1fbd29['set']('h1','heading1'),_0x1fbd29):_0x1fbd29;}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,_0x2490a7];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x103a5c){super(_0x103a5c),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x9b288c=this['editor'],_0x4435a3=_0x9b288c['editing']['view']['document'];_0x9b288c['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x9b288c['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x4435a3,'click',(_0x203812,_0x308f37)=>{if(!_0x308f37['target'])return;const _0x10d7ed=_0x308f37['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x10d7ed)&&(_0x308f37['domEvent']['preventDefault'](),_0x203812['stop'](),this['_handleScrollToHeading'](_0x10d7ed));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x9b288c['commands']['add']('insertTableOfContents',new TableOfContentsCommand(_0x9b288c)),(_0x9b288c['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x40c806,_0x5590e8)=>{this['_currentOutlineDefinitions']=_0x5590e8['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x9b288c['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){_0x22b768(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x440235=>{'$graveyard'!==_0x440235['rootName']&&this['editor']['editing']['reconvertItem'](_0x440235);});}['_trackNewToCElements'](){for(const _0x10b0c4 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x10b0c4['type']||'tableOfContents'!==_0x10b0c4['name'])return;this['_tableOfContentsElements']['add'](_0x10b0c4['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x322eb4=this['editor']['conversion'];_0x322eb4['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x322eb4['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x57ac82,{writer:_0x2bf2d6})=>this['_createTableOfContents'](_0x2bf2d6,!0x0)}),_0x322eb4['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x26a930,{writer:_0x560b05})=>{this['_tableOfContentsElements']['add'](_0x26a930);const _0x4ed766=this['_createTableOfContents'](_0x560b05);return ckeditor5['toWidget'](_0x4ed766,_0x560b05,{'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'](_0x2b1b80,_0x3db8be=!0x1){const {locale:_0x23254f}=this['editor'],_0xa7ec9a=_0x2b1b80['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x3db8be&&{'data-table-of-contents-label':getTranslation$e(_0x23254f,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x3db8be&&_0x2b1b80['insert'](_0x2b1b80['createPositionAt'](_0xa7ec9a,'end'),_0x2b1b80['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x2b1b80['createText'](getTranslation$e(_0x23254f,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x21c976=_0x3db8be?'':'['+getTranslation$e(_0x23254f,'Empty\x20heading')+']';let _0x31603c=_0xa7ec9a;return this['_currentOutlineDefinitions']['forEach']((_0xf2ed4,_0x93e2c9,_0x416a5e)=>{const _0xe8e304=this['editor']['model']['hasContent'](_0xf2ed4['modelElement'],{'ignoreWhitespaces':!0x0}),_0x4bd839=_0xe8e304?_0xf2ed4['text']:_0x21c976,_0x4fe1a6=_0xf2ed4['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x2314e8=_0x2b1b80['createContainerElement']('a',{'href':'#'+_0x4fe1a6,...!_0x3db8be&&{'tabindex':'-1'}},[_0x2b1b80['createText'](_0x4bd839)]),_0x40873f=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x2b1b80['setCustomProperty']('tableOfContentsHeadingIndex',_0x93e2c9,_0x2314e8);const _0x477a01=_0x2b1b80['createContainerElement']('li',null,[_0xe8e304||!_0x3db8be&&_0x40873f?_0x2314e8:_0x2b1b80['createText']('')]),_0x727dce=_0x93e2c9?_0x416a5e[_0x93e2c9-0x1]['level']:0x0,_0x1b37f2=Math['abs'](_0xf2ed4['level']-_0x727dce);if(_0xf2ed4['level']>_0x727dce){const _0x14cd46=wrapInList(_0x477a01,_0x1b37f2,_0x2b1b80);_0x2b1b80['insert'](_0x2b1b80['createPositionAt'](_0x31603c,'end'),_0x14cd46);}else{const _0xf349a4=getOuterListByLevelDifference(_0x31603c,_0x1b37f2);_0x2b1b80['insert'](_0x2b1b80['createPositionAt'](_0xf349a4,'end'),_0x477a01);}_0x31603c=_0x477a01;}),_0xa7ec9a;}['_handleScrollToHeading'](_0x5d42ac){const _0x1bcaa8=this['_currentOutlineDefinitions'][_0x5d42ac]['modelElement'];this['editor']['model']['change'](_0x3e7d9f=>{_0x3e7d9f['setSelection'](_0x1bcaa8,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x541742,_0x212ab0)=>{const _0x15ec79=_0x212ab0['mapper'],_0x124d97=_0x15ec79['findMappedViewAncestor'](_0x212ab0['viewPosition']),_0x22cff2=_0x15ec79['toModelElement'](_0x124d97);_0x22cff2['is']('element','tableOfContents')&&(_0x212ab0['modelPosition']=this['editor']['model']['createPositionAt'](_0x22cff2,0x0),_0x541742['stop']());};}}function wrapInList(_0x500088,_0xdfc4d8,_0xcff163){return 0x1===_0xdfc4d8?_0xcff163['createContainerElement']('ol',null,[_0x500088]):_0xcff163['createContainerElement']('ol',null,[_0xcff163['createContainerElement']('li',null,[wrapInList(_0x500088,_0xdfc4d8-0x1,_0xcff163)])]);}function getOuterListByLevelDifference(_0x498d1c,_0x12a365){return _0x498d1c['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x33e28c=>_0x33e28c['is']('element','ol'))[_0x12a365];}async function _0x22b768(_0x3bc2f1){const _0x2704c6=_0x5c46ff([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]),_0x23cf0f=window[_0x5c46ff([0x44,0x61,0x74,0x65])][_0x5c46ff([0x6e,0x6f,0x77])](),_0x58bae4=_0x3bc2f1[_0x5c46ff([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x860b41=new window[(_0x5c46ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25dacc=>{_0x58bae4[_0x5c46ff([0x6f,0x6e,0x63,0x65])](_0x5c46ff([0x72,0x65,0x61,0x64,0x79]),_0x25dacc);}),_0x5a82b5={[_0x5c46ff([0x6b,0x74,0x79])]:_0x5c46ff([0x45,0x43]),[_0x5c46ff([0x75,0x73,0x65])]:_0x5c46ff([0x73,0x69,0x67]),[_0x5c46ff([0x63,0x72,0x76])]:_0x5c46ff([0x50,0x2d,0x32,0x35,0x36]),[_0x5c46ff([0x78])]:_0x5c46ff([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]),[_0x5c46ff([0x79])]:_0x5c46ff([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]),[_0x5c46ff([0x61,0x6c,0x67])]:_0x5c46ff([0x45,0x53,0x32,0x35,0x36])},_0x23e7a0=_0x58bae4[_0x5c46ff([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5c46ff([0x67,0x65,0x74])](_0x5c46ff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x2ce4aa=await(async function(){let _0x16b171,_0x481123=null,_0x3e71ba=null;try{if(_0x23e7a0==_0x5c46ff([0x47,0x50,0x4c]))return _0x5c46ff([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x16b171=(function(){const _0x3d7cc0=_0x23e7a0[_0x5c46ff([0x73,0x70,0x6c,0x69,0x74])](_0x5c46ff([0x2e]));if(0x3!=_0x3d7cc0[_0x5c46ff([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x3fbd5f=_0x3d7cc0[0x1];return _0x5b479b(_0x3fbd5f);function _0x5b479b(_0x3ffce8){const _0x211970=_0x1b0d10(_0x3ffce8);return _0x211970&&_0x3704b7()?_0x211970:null;function _0x3704b7(){const _0x2dcc45=_0x211970[_0x5c46ff([0x6a,0x74,0x69])],_0x36d6cc=window[_0x5c46ff([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2dcc45[_0x5c46ff([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2dcc45[_0x5c46ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xd0b036={..._0x211970,[_0x5c46ff([0x6a,0x74,0x69])]:_0x2dcc45[_0x5c46ff([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2dcc45[_0x5c46ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xd0b036[_0x5c46ff([0x76,0x63])],_0x1afa67(_0xd0b036)==_0x36d6cc;}}}()),!_0x16b171)return _0x5c46ff([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x16b171[_0x5c46ff([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3e71ba=function(_0x294469,_0x4a4e3b){return new window[(_0x5c46ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x321e1d=>{if(_0x5d9833())return _0x321e1d(_0x5c46ff([0x56,0x61,0x6c,0x69,0x64]));_0x111036(),_0x58bae4[_0x5c46ff([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5c46ff([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x49ddb0=!0x1;const _0x676036=ckeditor5['uid']();function _0x548471(_0x51d82c){return!!_0x51d82c&&(typeof _0x51d82c===_0x5c46ff([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x51d82c===_0x5c46ff([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x51d82c[_0x5c46ff([0x74,0x68,0x65,0x6e])]===_0x5c46ff([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x51d82c[_0x5c46ff([0x63,0x61,0x74,0x63,0x68])]===_0x5c46ff([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x21e4cb(_0x2ebbe5){_0x4d9ebf(_0x2ebbe5)[_0x5c46ff([0x74,0x68,0x65,0x6e])](_0x484cd5=>{if(!_0x484cd5||_0x484cd5[_0x5c46ff([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5c46ff([0x6f,0x6b]))return _0x5c46ff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2c4f82(_0x1afa67(_0x676036+_0x4a4e3b))!=_0x484cd5[_0x5c46ff([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5c46ff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5c46ff([0x56,0x61,0x6c,0x69,0x64]);})[_0x5c46ff([0x74,0x68,0x65,0x6e])](_0x366674=>(_0x3240f2(),_0x366674),()=>{const _0x5bd2b4=_0x4e5dd9();return null==_0x5bd2b4?(_0x3240f2(),_0x5c46ff([0x56,0x61,0x6c,0x69,0x64])):_0x5c46ff(_0x23cf0f-_0x5bd2b4>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5c46ff([0x74,0x68,0x65,0x6e])](_0x321e1d)[_0x5c46ff([0x63,0x61,0x74,0x63,0x68])](()=>{_0x321e1d(_0x5c46ff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1851ac=0x36ee80;function _0x3240f2(){const _0x2369d5=_0x5c46ff([0x6c,0x6c,0x63,0x74,0x2d])+_0x2c4f82(_0x1afa67(_0x294469)),_0x193156=_0x188b3c(_0x2c4f82(window[_0x5c46ff([0x4d,0x61,0x74,0x68])][_0x5c46ff([0x63,0x65,0x69,0x6c])](_0x23cf0f/_0x1851ac)));window[_0x5c46ff([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c46ff([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2369d5,_0x193156);}function _0x4e5dd9(){const _0x322faa=_0x5c46ff([0x6c,0x6c,0x63,0x74,0x2d])+_0x2c4f82(_0x1afa67(_0x294469)),_0x1e4a0f=window[_0x5c46ff([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c46ff([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x322faa);return _0x1e4a0f?window[_0x5c46ff([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x188b3c(_0x1e4a0f),0x10)*_0x1851ac:null;}function _0x4d9ebf(_0x33c8ae){return new window[(_0x5c46ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2630b4,_0x5f1b58)=>{_0x33c8ae[_0x5c46ff([0x74,0x68,0x65,0x6e])](_0x2630b4,_0x5f1b58),window[_0x5c46ff([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5f1b58,0x1d4c0);});}}_0x58bae4[_0x5c46ff([0x6f,0x6e])](_0x5c46ff([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x15808b,_0x4b82b0)=>{if(_0x4b82b0[0x0]!=_0x294469)return _0x321e1d(_0x5c46ff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4b82b0[0x1]={..._0x4b82b0[0x1],[_0x5c46ff([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x676036};},{[_0x5c46ff([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c46ff([0x68,0x69,0x67,0x68])}),_0x58bae4[_0x5c46ff([0x6f,0x6e])](_0x5c46ff([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2ab943=>{_0x548471(_0x2ab943[_0x5c46ff([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x49ddb0=!0x0,_0x21e4cb(_0x2ab943[_0x5c46ff([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5c46ff([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c46ff([0x6c,0x6f,0x77])}),_0x860b41[_0x5c46ff([0x74,0x68,0x65,0x6e])](()=>{_0x49ddb0||_0x321e1d(_0x5c46ff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5d9833(){return _0x58bae4[_0x5c46ff([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c46ff([0x76,0x69,0x65,0x77])][_0x5c46ff([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5c46ff([0x61,0x75,0x74,0x6f]);}function _0x111036(){_0x58bae4[_0x5c46ff([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c46ff([0x76,0x69,0x65,0x77])][_0x5c46ff([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5c46ff([0x61,0x75,0x74,0x6f]);}}(_0x16b171[_0x5c46ff([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x16b171[_0x5c46ff([0x6a,0x74,0x69])]));const _0x50089b=await(async function(){let _0x511242=!0x0;try{const _0x35be65=_0x23e7a0[_0x5c46ff([0x73,0x70,0x6c,0x69,0x74])](_0x5c46ff([0x2e])),[_0x10e656,_0x3338aa,_0x5c2321]=_0x35be65;return _0x1cd2c6(_0x10e656),await _0x2cd6a5(_0x10e656,_0x3338aa,_0x5c2321),_0x511242;}catch{return!0x1;}function _0x1cd2c6(_0x12ef44){const _0x4394cf=_0x1b0d10(_0x12ef44);_0x4394cf&&_0x4394cf[_0x5c46ff([0x61,0x6c,0x67])]==_0x5c46ff([0x45,0x53,0x32,0x35,0x36])||(_0x511242=!0x1);}async function _0x2cd6a5(_0x57cb29,_0x213da2,_0x442266){const _0xf49e92=window[_0x5c46ff([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5c46ff([0x66,0x72,0x6f,0x6d])](_0x49e8b4(_0x442266),_0x4343b4=>_0x4343b4[_0x5c46ff([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x30fa40=new window[(_0x5c46ff([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5c46ff([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x57cb29+_0x5c46ff([0x2e])+_0x213da2),_0x9a20da=window[_0x5c46ff([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5c46ff([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x9a20da)return;const _0x9b179f=await _0x9a20da[_0x5c46ff([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5c46ff([0x6a,0x77,0x6b]),_0x5a82b5,{[_0x5c46ff([0x6e,0x61,0x6d,0x65])]:_0x5c46ff([0x45,0x43,0x44,0x53,0x41]),[_0x5c46ff([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5c46ff([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5c46ff([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x9a20da[_0x5c46ff([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5c46ff([0x6e,0x61,0x6d,0x65])]:_0x5c46ff([0x45,0x43,0x44,0x53,0x41]),[_0x5c46ff([0x68,0x61,0x73,0x68])]:{[_0x5c46ff([0x6e,0x61,0x6d,0x65])]:_0x5c46ff([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x9b179f,_0xf49e92,_0x30fa40)||(_0x511242=!0x1);}}());return _0x50089b?(function(){const _0x413e97=_0x16b171[_0x5c46ff([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x413e97)return!0x1;if(_0x413e97[_0x5c46ff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c46ff([0x2a])))return!0x0;if(_0x413e97[_0x5c46ff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c46ff([0x54,0x4f,0x43])))return!0x0;if(_0x413e97[_0x5c46ff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c46ff([0x50,0x50])))return!0x0;if(_0x413e97[_0x5c46ff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c46ff([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x5c46ff([0x67,0x6c,0x6f,0x62])]&&window[_0x5c46ff([0x67,0x6c,0x6f,0x62])][_0x5c46ff([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x4d4144=[_0x5c46ff([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5c46ff([0x74,0x72,0x69,0x61,0x6c])][_0x5c46ff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16b171[_0x5c46ff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x23cf0f/0x3e8:0x69d59a80;return _0x16b171[_0x5c46ff([0x65,0x78,0x70])]<_0x4d4144;}())?_0x5c46ff([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x2af1cf=_0x16b171[_0x5c46ff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2af1cf||0x0==_0x2af1cf[_0x5c46ff([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x47d9c4}=new URL(window[_0x5c46ff([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2af1cf[_0x5c46ff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47d9c4))return!0x0;const _0x1b08a3=_0x47d9c4[_0x5c46ff([0x73,0x70,0x6c,0x69,0x74])](_0x5c46ff([0x2e]));return _0x2af1cf[_0x5c46ff([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x12344c=>_0x12344c[_0x5c46ff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c46ff([0x2a])))[_0x5c46ff([0x6d,0x61,0x70])](_0x57174f=>_0x57174f[_0x5c46ff([0x73,0x70,0x6c,0x69,0x74])](_0x5c46ff([0x2e])))[_0x5c46ff([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1826e5=>_0x1826e5[_0x5c46ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1b08a3[_0x5c46ff([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5c46ff([0x6d,0x61,0x70])](_0x202b8d=>Array(_0x1b08a3[_0x5c46ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x202b8d[_0x5c46ff([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5c46ff([0x66,0x69,0x6c,0x6c])](_0x202b8d[0x0]===_0x5c46ff([0x2a])?_0x5c46ff([0x2a]):'')[_0x5c46ff([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x202b8d))[_0x5c46ff([0x73,0x6f,0x6d,0x65])](_0xc6cd5b=>_0x1b08a3[_0x5c46ff([0x65,0x76,0x65,0x72,0x79])]((_0x2e350d,_0x2b152c)=>_0xc6cd5b[_0x2b152c]===_0x2e350d||_0xc6cd5b[_0x2b152c]===_0x5c46ff([0x2a])));}())?(_0x16b171[_0x5c46ff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c46ff([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x481123=function(_0x172dff){const _0x1b886e=new window[(_0x5c46ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e1d94=>setTimeout(_0x4e1d94,0x93ecc)),_0x5d044b=_0x860b41[_0x5c46ff([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5c46ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5063be=>{let _0xe3bb72=0x0;_0x58bae4[_0x5c46ff([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c46ff([0x6f,0x6e])](_0x5c46ff([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1b5fd1,_0x4739ea)=>{_0x4739ea[0x0][_0x5c46ff([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xe3bb72++,0x5e8==_0xe3bb72&&(_0x5063be(),_0x1b5fd1[_0x5c46ff([0x6f,0x66,0x66])]());});})),_0x57408d=[_0x1b886e,_0x5d044b];return window[_0x5c46ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5c46ff([0x72,0x61,0x63,0x65])](_0x57408d)[_0x5c46ff([0x74,0x68,0x65,0x6e])](()=>_0x172dff);}(_0x5c46ff([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x481123&&_0x3e71ba)return new window[(_0x5c46ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3c4c67,_0x11520e)=>{_0x481123[_0x5c46ff([0x74,0x68,0x65,0x6e])](_0x3c4c67,_0x11520e),_0x3e71ba[_0x5c46ff([0x74,0x68,0x65,0x6e])](_0x282ba2=>{_0x282ba2!=_0x5c46ff([0x56,0x61,0x6c,0x69,0x64])&&_0x3c4c67(_0x282ba2);},_0x11520e);});return _0x481123||_0x3e71ba||_0x5c46ff([0x56,0x61,0x6c,0x69,0x64]);}())):_0x5c46ff([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5c46ff([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5c46ff([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5c46ff([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x1b0d10(_0x10af26){return _0x10af26[_0x5c46ff([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5c46ff([0x65,0x79]))?JSON[_0x5c46ff([0x70,0x61,0x72,0x73,0x65])](_0x49e8b4(_0x10af26)):null;}function _0x49e8b4(_0x157760){return window[_0x5c46ff([0x61,0x74,0x6f,0x62])](_0x157760[_0x5c46ff([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5c46ff([0x2b]))[_0x5c46ff([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5c46ff([0x2f])));}function _0x1afa67(_0x3790dc){let _0x24320f=0x1505;function _0x1a6b33(_0x491308){for(let _0x4bede0=0x0;_0x4bede0<_0x491308[_0x5c46ff([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4bede0++){const _0x45a502=_0x491308[_0x5c46ff([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4bede0);_0x24320f=(_0x24320f<<0x5)+_0x24320f+_0x45a502,_0x24320f&=_0x24320f;}}return function _0xa4b92d(_0x1bde8b){Array[_0x5c46ff([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1bde8b)?_0x1bde8b[_0x5c46ff([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xa4b92d):_0x1bde8b&&typeof _0x1bde8b==_0x5c46ff([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5c46ff([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1bde8b)[_0x5c46ff([0x73,0x6f,0x72,0x74])]()[_0x5c46ff([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2bbb53,_0x54edf8])=>{_0x1a6b33(_0x2bbb53),_0xa4b92d(_0x54edf8);}):_0x1a6b33(window[_0x5c46ff([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1bde8b));}(_0x3790dc),_0x24320f>>>0x0;}function _0x2c4f82(_0x3f796d){return _0x3f796d[_0x5c46ff([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5c46ff([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5c46ff([0x30]));}function _0x188b3c(_0x326c14){return _0x326c14[_0x5c46ff([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5c46ff([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5c46ff([0x6a,0x6f,0x69,0x6e])]('');}function _0x2d28e9(){}function _0x5c46ff(_0x3bd8dd){return _0x3bd8dd['map'](_0x1356e3=>String['fromCharCode'](_0x1356e3))['join']('');}!function(_0x2d8416){const _0x41bcc2=(function(){const _0x444379=window[_0x5c46ff([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5c46ff([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5c46ff([0x6e,0x6f,0x77])]())[_0x5c46ff([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5c46ff([0x2e]),'');let _0x257bf5=_0x5c46ff([0x6d]);for(let _0x2e2a8c=0x0;_0x2e2a8c<_0x444379[_0x5c46ff([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e2a8c+=0x2){let _0x1c2865=window[_0x5c46ff([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x444379[_0x5c46ff([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e2a8c,_0x2e2a8c+0x2));_0x1c2865>=_0x2704c6[_0x5c46ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1c2865-=_0x2704c6[_0x5c46ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x257bf5+=_0x2704c6[_0x1c2865];}return _0x257bf5;}());_0x58bae4[_0x41bcc2]=_0x5c46ff([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])+_0x2d8416,_0x2d8416!=_0x5c46ff([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x860b41,_0x58bae4[_0x5c46ff([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c46ff([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2d28e9,_0x58bae4[_0x5c46ff([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c46ff([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2d28e9,_0x58bae4[_0x5c46ff([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5c46ff([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x2ce4aa);}class TableOfContentsUI extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1e743a=this['editor'];_0x1e743a['ui']['componentFactory']['add']('tableOfContents',()=>{const _0xccde92=this['_createButton'](ckeditor5['ButtonView']);return _0xccde92['tooltip']=!0x0,_0xccde92;}),_0x1e743a['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](ckeditor5['MenuBarMenuListItemButtonView'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x33bd1b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x105fa5;for(const _0x4de265 in _0x33bd1b){const _0x37674e=_0x4de265,_0x464d6d=_0x33bd1b[_0x37674e];if('tableOfContentsLicenseKeyValid'==_0x464d6d||'tableOfContentsLicenseKeyInvalid'==_0x464d6d||'tableOfContentsLicenseKeyExpired'==_0x464d6d||'tableOfContentsLicenseKeyDomainLimit'==_0x464d6d||'tableOfContentsLicenseKeyNotAllowed'==_0x464d6d||'tableOfContentsLicenseKeyEvaluationLimit'==_0x464d6d||'tableOfContentsLicenseKeyUsageLimit'==_0x464d6d){delete _0x33bd1b[_0x37674e],_0x105fa5=_0x464d6d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x105fa5&&_0x33bd1b['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x105fa5&&_0x33bd1b['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x105fa5&&_0x33bd1b['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x105fa5&&_0x33bd1b['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x105fa5&&_0x33bd1b['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x105fa5&&_0x33bd1b['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x3b3c72){const _0x579e99=this['editor'],_0x4cdf9e=_0x579e99['locale'],_0x1bf766=_0x579e99['commands']['get']('insertTableOfContents'),_0x2d9d6=new _0x3b3c72(_0x4cdf9e);return _0x2d9d6['set']({'label':getTranslation$e(_0x4cdf9e,'Table\x20of\x20contents'),'icon':ckeditor5['IconTableOfContents']}),_0x2d9d6['bind']('isEnabled')['to'](_0x1bf766,'isEnabled'),this['listenTo'](_0x2d9d6,'execute',()=>{_0x579e99['execute']('insertTableOfContents'),_0x579e99['editing']['view']['focus']();}),_0x2d9d6;}['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 _0x48d905='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(_0x560439){super(_0x560439),_0x560439['config']['define']('email.logs',{'suppress':[],'suppressAll':!0x1});}['afterInit'](){_0x53d507(this);}['_logSuppressibleWarning'](_0x2e4423,_0x3b5695){if(this['_isSuppressedLog'](_0x2e4423,_0x3b5695))return;const _0x3d29cb=_0x48d905+'/support/error-codes.html#error-'+_0x2e4423;console['warn']('%cEmailConfigurationHelper%c\x20'+_0x2e4423,'background:\x20#E65100;\x20color:\x20white;\x20padding:\x202px\x204px;','',..._0x3b5695?[_0x3b5695]:[],'\x0aRead\x20more:\x20'+_0x3d29cb);}['_logSuppressibleInfo'](_0x1e6004,_0x3e542e,_0x32404e){if(this['_isSuppressedLog'](_0x1e6004))return;let _0x6e5c52=_0x3e542e;_0x32404e&&(_0x6e5c52+='\x0aRead\x20more:\x20'+(_0x48d905+'/'+_0x32404e)),console['info']('%cEmailConfigurationHelper%c\x20'+_0x1e6004,'background:\x20#4169E1;\x20color:\x20white;\x20padding:\x202px\x204px;','',_0x6e5c52);}['_checkUnsupportedPlugin'](_0x30d026,_0x5e130c){this['editor']['plugins']['has'](_0x30d026)&&this['_logSuppressibleWarning']('email-configuration-unsupported-plugin',{'pluginName':_0x30d026,..._0x5e130c});}['_validateConfigColorValue'](_0x20a741){const _0x3c3869=this['editor']['config']['get'](_0x20a741);if(!_0x3c3869)return;const _0xad410c=Array['isArray'](_0x3c3869),_0x478e61=_0xad410c?_0x3c3869:[_0x3c3869];for(const [_0x40d000,_0x287861]of _0x478e61['entries']()){const _0x22aab1='string'==typeof _0x287861?_0x287861:_0x287861['color'];isUnsupportedEmailColorValue(_0x22aab1)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-value',{'configPath':_0xad410c?_0x20a741+'['+_0x40d000+']':_0x20a741,'color':_0x22aab1});}}['_validateConfigColorFormat'](_0x2447d1){const _0x2184a6=this['editor']['config']['get'](_0x2447d1);_0x2184a6&&isUnsupportedEmailColorFormat(_0x2184a6)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-format',{'configPath':_0x2447d1,'format':_0x2184a6});}['_isSuppressedLog'](_0x27bafe,_0xa3f2ee){const _0x59e1ed=this['editor']['config']['get']('email.logs');return!!_0x59e1ed['suppressAll']||(!('function'!=typeof _0x59e1ed['suppress']||!_0x59e1ed['suppress'](_0x27bafe,_0xa3f2ee))||!(!Array['isArray'](_0x59e1ed['suppress'])||!_0x59e1ed['suppress']['includes'](_0x27bafe)));}}const _0x2cab05=['hsl','hsla','hwb','lab','lch','oklab','oklch','color-mix','rgba'];function isUnsupportedEmailColorValue(_0x1b5d92){return!!_0x1b5d92&&_0x2cab05['some'](_0x3285b0=>_0x1b5d92['includes'](_0x3285b0+'('));}function isUnsupportedEmailColorFormat(_0x5a486f){return!!_0x5a486f&&_0x2cab05['includes'](_0x5a486f);}async function _0x53d507(_0xf88996){const _0x1af3f9=_0x5e8586([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]),_0x8149c7=window[_0x5e8586([0x44,0x61,0x74,0x65])][_0x5e8586([0x6e,0x6f,0x77])](),_0x3d4a7c=_0xf88996[_0x5e8586([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xd148a8=new window[(_0x5e8586([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a88e0=>{_0x3d4a7c[_0x5e8586([0x6f,0x6e,0x63,0x65])](_0x5e8586([0x72,0x65,0x61,0x64,0x79]),_0x3a88e0);}),_0x4f674f={[_0x5e8586([0x6b,0x74,0x79])]:_0x5e8586([0x45,0x43]),[_0x5e8586([0x75,0x73,0x65])]:_0x5e8586([0x73,0x69,0x67]),[_0x5e8586([0x63,0x72,0x76])]:_0x5e8586([0x50,0x2d,0x32,0x35,0x36]),[_0x5e8586([0x78])]:_0x5e8586([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]),[_0x5e8586([0x79])]:_0x5e8586([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]),[_0x5e8586([0x61,0x6c,0x67])]:_0x5e8586([0x45,0x53,0x32,0x35,0x36])},_0x122b67=_0x3d4a7c[_0x5e8586([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5e8586([0x67,0x65,0x74])](_0x5e8586([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x8bd77e=await(async function(){let _0x2bdb2b,_0x539980=null,_0x4a1623=null;try{if(_0x122b67==_0x5e8586([0x47,0x50,0x4c]))return _0x5e8586([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2bdb2b=(function(){const _0xc22db4=_0x122b67[_0x5e8586([0x73,0x70,0x6c,0x69,0x74])](_0x5e8586([0x2e]));if(0x3!=_0xc22db4[_0x5e8586([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x144d11=_0xc22db4[0x1];return _0x3ddd21(_0x144d11);function _0x3ddd21(_0x2cdbe3){const _0x4eed74=_0x5a05e4(_0x2cdbe3);return _0x4eed74&&_0x5b0430()?_0x4eed74:null;function _0x5b0430(){const _0x473dfc=_0x4eed74[_0x5e8586([0x6a,0x74,0x69])],_0x426017=window[_0x5e8586([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x473dfc[_0x5e8586([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x473dfc[_0x5e8586([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x41d3aa={..._0x4eed74,[_0x5e8586([0x6a,0x74,0x69])]:_0x473dfc[_0x5e8586([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x473dfc[_0x5e8586([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x41d3aa[_0x5e8586([0x76,0x63])],_0x2739c5(_0x41d3aa)==_0x426017;}}}()),!_0x2bdb2b)return _0x5e8586([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x2bdb2b[_0x5e8586([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4a1623=function(_0x11d81f,_0x1807cd){return new window[(_0x5e8586([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27b138=>{if(_0x4f27e3())return _0x27b138(_0x5e8586([0x56,0x61,0x6c,0x69,0x64]));_0x446ff8(),_0x3d4a7c[_0x5e8586([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5e8586([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2c604b=!0x1;const _0x17c0e9=ckeditor5['uid']();function _0x178a38(_0x1bd5c7){return!!_0x1bd5c7&&(typeof _0x1bd5c7===_0x5e8586([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1bd5c7===_0x5e8586([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1bd5c7[_0x5e8586([0x74,0x68,0x65,0x6e])]===_0x5e8586([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1bd5c7[_0x5e8586([0x63,0x61,0x74,0x63,0x68])]===_0x5e8586([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x8a8f86(_0x31eef1){_0x40f345(_0x31eef1)[_0x5e8586([0x74,0x68,0x65,0x6e])](_0x5ca616=>{if(!_0x5ca616||_0x5ca616[_0x5e8586([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5e8586([0x6f,0x6b]))return _0x5e8586([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x45207b(_0x2739c5(_0x17c0e9+_0x1807cd))!=_0x5ca616[_0x5e8586([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5e8586([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5e8586([0x56,0x61,0x6c,0x69,0x64]);})[_0x5e8586([0x74,0x68,0x65,0x6e])](_0x8f4e0=>(_0x1e560d(),_0x8f4e0),()=>{const _0x5d0f19=_0x33cca2();return null==_0x5d0f19?(_0x1e560d(),_0x5e8586([0x56,0x61,0x6c,0x69,0x64])):_0x5e8586(_0x8149c7-_0x5d0f19>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5e8586([0x74,0x68,0x65,0x6e])](_0x27b138)[_0x5e8586([0x63,0x61,0x74,0x63,0x68])](()=>{_0x27b138(_0x5e8586([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x293a6e=0x36ee80;function _0x1e560d(){const _0x6f842e=_0x5e8586([0x6c,0x6c,0x63,0x74,0x2d])+_0x45207b(_0x2739c5(_0x11d81f)),_0x2ffeea=_0x1bce10(_0x45207b(window[_0x5e8586([0x4d,0x61,0x74,0x68])][_0x5e8586([0x63,0x65,0x69,0x6c])](_0x8149c7/_0x293a6e)));window[_0x5e8586([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5e8586([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x6f842e,_0x2ffeea);}function _0x33cca2(){const _0x338beb=_0x5e8586([0x6c,0x6c,0x63,0x74,0x2d])+_0x45207b(_0x2739c5(_0x11d81f)),_0x56d83d=window[_0x5e8586([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5e8586([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x338beb);return _0x56d83d?window[_0x5e8586([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1bce10(_0x56d83d),0x10)*_0x293a6e:null;}function _0x40f345(_0x181f23){return new window[(_0x5e8586([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x46b43e,_0x2b32cf)=>{_0x181f23[_0x5e8586([0x74,0x68,0x65,0x6e])](_0x46b43e,_0x2b32cf),window[_0x5e8586([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2b32cf,0x1d4c0);});}}_0x3d4a7c[_0x5e8586([0x6f,0x6e])](_0x5e8586([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1f717e,_0x3bf054)=>{if(_0x3bf054[0x0]!=_0x11d81f)return _0x27b138(_0x5e8586([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3bf054[0x1]={..._0x3bf054[0x1],[_0x5e8586([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x17c0e9};},{[_0x5e8586([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5e8586([0x68,0x69,0x67,0x68])}),_0x3d4a7c[_0x5e8586([0x6f,0x6e])](_0x5e8586([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2a3d75=>{_0x178a38(_0x2a3d75[_0x5e8586([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2c604b=!0x0,_0x8a8f86(_0x2a3d75[_0x5e8586([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5e8586([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5e8586([0x6c,0x6f,0x77])}),_0xd148a8[_0x5e8586([0x74,0x68,0x65,0x6e])](()=>{_0x2c604b||_0x27b138(_0x5e8586([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4f27e3(){return _0x3d4a7c[_0x5e8586([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5e8586([0x76,0x69,0x65,0x77])][_0x5e8586([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5e8586([0x61,0x75,0x74,0x6f]);}function _0x446ff8(){_0x3d4a7c[_0x5e8586([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5e8586([0x76,0x69,0x65,0x77])][_0x5e8586([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5e8586([0x61,0x75,0x74,0x6f]);}}(_0x2bdb2b[_0x5e8586([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2bdb2b[_0x5e8586([0x6a,0x74,0x69])]));const _0x1b5535=await(async function(){let _0x42f70d=!0x0;try{const _0x3ebaa8=_0x122b67[_0x5e8586([0x73,0x70,0x6c,0x69,0x74])](_0x5e8586([0x2e])),[_0x243a85,_0x2c8630,_0xfba6d]=_0x3ebaa8;return _0x2d763f(_0x243a85),await _0x242756(_0x243a85,_0x2c8630,_0xfba6d),_0x42f70d;}catch{return!0x1;}function _0x2d763f(_0x2f06ef){const _0x3fcde5=_0x5a05e4(_0x2f06ef);_0x3fcde5&&_0x3fcde5[_0x5e8586([0x61,0x6c,0x67])]==_0x5e8586([0x45,0x53,0x32,0x35,0x36])||(_0x42f70d=!0x1);}async function _0x242756(_0x4b3df0,_0x31d119,_0x3aec4b){const _0x4b03d0=window[_0x5e8586([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5e8586([0x66,0x72,0x6f,0x6d])](_0x438dca(_0x3aec4b),_0x5ccbb6=>_0x5ccbb6[_0x5e8586([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x349c54=new window[(_0x5e8586([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5e8586([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4b3df0+_0x5e8586([0x2e])+_0x31d119),_0x2a23fb=window[_0x5e8586([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5e8586([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2a23fb)return;const _0x77f016=await _0x2a23fb[_0x5e8586([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5e8586([0x6a,0x77,0x6b]),_0x4f674f,{[_0x5e8586([0x6e,0x61,0x6d,0x65])]:_0x5e8586([0x45,0x43,0x44,0x53,0x41]),[_0x5e8586([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5e8586([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5e8586([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2a23fb[_0x5e8586([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5e8586([0x6e,0x61,0x6d,0x65])]:_0x5e8586([0x45,0x43,0x44,0x53,0x41]),[_0x5e8586([0x68,0x61,0x73,0x68])]:{[_0x5e8586([0x6e,0x61,0x6d,0x65])]:_0x5e8586([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x77f016,_0x4b03d0,_0x349c54)||(_0x42f70d=!0x1);}}());return _0x1b5535?(function(){const _0x554f6c=_0x2bdb2b[_0x5e8586([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x554f6c)return!0x1;if(_0x554f6c[_0x5e8586([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e8586([0x2a])))return!0x0;if(_0x554f6c[_0x5e8586([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e8586([0x45,0x43,0x48])))return!0x0;return!0x1;}())?(function(){const _0x55e089=[_0x5e8586([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5e8586([0x74,0x72,0x69,0x61,0x6c])][_0x5e8586([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bdb2b[_0x5e8586([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x8149c7/0x3e8:0x69d59a80;return _0x2bdb2b[_0x5e8586([0x65,0x78,0x70])]<_0x55e089;}())?_0x5e8586([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x355250=_0x2bdb2b[_0x5e8586([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x355250||0x0==_0x355250[_0x5e8586([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x27d5fb}=new URL(window[_0x5e8586([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x355250[_0x5e8586([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27d5fb))return!0x0;const _0x462495=_0x27d5fb[_0x5e8586([0x73,0x70,0x6c,0x69,0x74])](_0x5e8586([0x2e]));return _0x355250[_0x5e8586([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x420381=>_0x420381[_0x5e8586([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e8586([0x2a])))[_0x5e8586([0x6d,0x61,0x70])](_0x412bb5=>_0x412bb5[_0x5e8586([0x73,0x70,0x6c,0x69,0x74])](_0x5e8586([0x2e])))[_0x5e8586([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x13de75=>_0x13de75[_0x5e8586([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x462495[_0x5e8586([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5e8586([0x6d,0x61,0x70])](_0x1ba53a=>Array(_0x462495[_0x5e8586([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1ba53a[_0x5e8586([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5e8586([0x66,0x69,0x6c,0x6c])](_0x1ba53a[0x0]===_0x5e8586([0x2a])?_0x5e8586([0x2a]):'')[_0x5e8586([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1ba53a))[_0x5e8586([0x73,0x6f,0x6d,0x65])](_0x5ba27e=>_0x462495[_0x5e8586([0x65,0x76,0x65,0x72,0x79])]((_0x44b14f,_0x27bacd)=>_0x5ba27e[_0x27bacd]===_0x44b14f||_0x5ba27e[_0x27bacd]===_0x5e8586([0x2a])));}())?(_0x2bdb2b[_0x5e8586([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5e8586([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x539980=function(_0x39137e){const _0x5afc51=new window[(_0x5e8586([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58bcb6=>setTimeout(_0x58bcb6,0x93ecc)),_0x19b8bc=_0xd148a8[_0x5e8586([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5e8586([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2fa93a=>{let _0x44c2e1=0x0;_0x3d4a7c[_0x5e8586([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e8586([0x6f,0x6e])](_0x5e8586([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x30fba7,_0x4c157c)=>{_0x4c157c[0x0][_0x5e8586([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x44c2e1++,0x5e8==_0x44c2e1&&(_0x2fa93a(),_0x30fba7[_0x5e8586([0x6f,0x66,0x66])]());});})),_0x2dc869=[_0x5afc51,_0x19b8bc];return window[_0x5e8586([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5e8586([0x72,0x61,0x63,0x65])](_0x2dc869)[_0x5e8586([0x74,0x68,0x65,0x6e])](()=>_0x39137e);}(_0x5e8586([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x539980&&_0x4a1623)return new window[(_0x5e8586([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x12d8d2,_0x3fbde0)=>{_0x539980[_0x5e8586([0x74,0x68,0x65,0x6e])](_0x12d8d2,_0x3fbde0),_0x4a1623[_0x5e8586([0x74,0x68,0x65,0x6e])](_0x276bf1=>{_0x276bf1!=_0x5e8586([0x56,0x61,0x6c,0x69,0x64])&&_0x12d8d2(_0x276bf1);},_0x3fbde0);});return _0x539980||_0x4a1623||_0x5e8586([0x56,0x61,0x6c,0x69,0x64]);}())):_0x5e8586([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5e8586([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5e8586([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5e8586([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x5a05e4(_0x3a8a35){return _0x3a8a35[_0x5e8586([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5e8586([0x65,0x79]))?JSON[_0x5e8586([0x70,0x61,0x72,0x73,0x65])](_0x438dca(_0x3a8a35)):null;}function _0x438dca(_0xa6e015){return window[_0x5e8586([0x61,0x74,0x6f,0x62])](_0xa6e015[_0x5e8586([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5e8586([0x2b]))[_0x5e8586([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5e8586([0x2f])));}function _0x2739c5(_0x2d84ca){let _0x62584a=0x1505;function _0x24063f(_0x553bec){for(let _0x4ecd8b=0x0;_0x4ecd8b<_0x553bec[_0x5e8586([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ecd8b++){const _0x462c13=_0x553bec[_0x5e8586([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4ecd8b);_0x62584a=(_0x62584a<<0x5)+_0x62584a+_0x462c13,_0x62584a&=_0x62584a;}}return function _0xb2b8c6(_0x155837){Array[_0x5e8586([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x155837)?_0x155837[_0x5e8586([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xb2b8c6):_0x155837&&typeof _0x155837==_0x5e8586([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5e8586([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x155837)[_0x5e8586([0x73,0x6f,0x72,0x74])]()[_0x5e8586([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5d7743,_0x14fb09])=>{_0x24063f(_0x5d7743),_0xb2b8c6(_0x14fb09);}):_0x24063f(window[_0x5e8586([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x155837));}(_0x2d84ca),_0x62584a>>>0x0;}function _0x45207b(_0x2bfe81){return _0x2bfe81[_0x5e8586([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5e8586([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5e8586([0x30]));}function _0x1bce10(_0xa37bbc){return _0xa37bbc[_0x5e8586([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5e8586([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5e8586([0x6a,0x6f,0x69,0x6e])]('');}function _0x321da9(){}function _0x5e8586(_0x3854e7){return _0x3854e7['map'](_0x1e15ff=>String['fromCharCode'](_0x1e15ff))['join']('');}!function(_0x42edf3){const _0x2ee750=(function(){const _0x484d76=window[_0x5e8586([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5e8586([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5e8586([0x6e,0x6f,0x77])]())[_0x5e8586([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5e8586([0x2e]),'');let _0x5b5991=_0x5e8586([0x75]);for(let _0x5c324f=0x0;_0x5c324f<_0x484d76[_0x5e8586([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c324f+=0x2){let _0x553fb2=window[_0x5e8586([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x484d76[_0x5e8586([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5c324f,_0x5c324f+0x2));_0x553fb2>=_0x1af3f9[_0x5e8586([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x553fb2-=_0x1af3f9[_0x5e8586([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5b5991+=_0x1af3f9[_0x553fb2];}return _0x5b5991;}());_0x3d4a7c[_0x2ee750]=_0x5e8586([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])+_0x42edf3,_0x42edf3!=_0x5e8586([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0xd148a8,_0x3d4a7c[_0x5e8586([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e8586([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x321da9,_0x3d4a7c[_0x5e8586([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e8586([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x321da9,_0x3d4a7c[_0x5e8586([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5e8586([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x8bd77e);}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(_0x1c703a){var _0x245b5a,_0x142058,_0x58d802,_0xb9edf,_0x319f04=[];for(_0x58d802=0x0,_0xb9edf=(_0x245b5a=_0x1c703a['split'](','))['length'];_0x58d802<_0xb9edf;_0x58d802+=0x1)(_0x142058=_0x245b5a[_0x58d802])['length']>0x0&&_0x319f04['push'](calculateSingle(_0x142058));return _0x319f04;},calculateSingle=function(_0x5d2b36){var _0x1e1bd2,_0x229f64,_0x117319=_0x5d2b36,_0x4a227d={'a':0x0,'b':0x0,'c':0x0},_0x4744bc=[];return _0x1e1bd2=function(_0x50c5de,_0x15857e){var _0x1e9de3,_0x328674,_0x47f890,_0x22185f,_0x59db8f,_0x387dfc;if(_0x50c5de['test'](_0x117319)){for(_0x328674=0x0,_0x47f890=(_0x1e9de3=_0x117319['match'](_0x50c5de))['length'];_0x328674<_0x47f890;_0x328674+=0x1)_0x4a227d[_0x15857e]+=0x1,_0x22185f=_0x1e9de3[_0x328674],_0x59db8f=_0x117319['indexOf'](_0x22185f),_0x387dfc=_0x22185f['length'],_0x4744bc['push']({'selector':_0x5d2b36['substr'](_0x59db8f,_0x387dfc),'type':_0x15857e,'index':_0x59db8f,'length':_0x387dfc}),_0x117319=_0x117319['replace'](_0x22185f,Array(_0x387dfc+0x1)['join']('\x20'));}},_0x229f64=function(_0x463be7){var _0xee8f23,_0x2c96d1,_0x49ed30,_0x58a865;if(_0x463be7['test'](_0x117319)){for(_0x2c96d1=0x0,_0x49ed30=(_0xee8f23=_0x117319['match'](_0x463be7))['length'];_0x2c96d1<_0x49ed30;_0x2c96d1+=0x1)_0x58a865=_0xee8f23[_0x2c96d1],_0x117319=_0x117319['replace'](_0x58a865,Array(_0x58a865['length']+0x1)['join']('A'));}},_0x229f64(/\\[0-9A-Fa-f]{6}\s?/g),_0x229f64(/\\[0-9A-Fa-f]{1,5}\s/g),_0x229f64(/\\./g),(function(){var _0x446118,_0x11463f,_0x5e03f8,_0x47588c,_0x11aa6a=/{[^]*/gm;if(_0x11aa6a['test'](_0x117319)){for(_0x11463f=0x0,_0x5e03f8=(_0x446118=_0x117319['match'](_0x11aa6a))['length'];_0x11463f<_0x5e03f8;_0x11463f+=0x1)_0x47588c=_0x446118[_0x11463f],_0x117319=_0x117319['replace'](_0x47588c,Array(_0x47588c['length']+0x1)['join']('\x20'));}}()),_0x1e1bd2(/(\[[^\]]+\])/g,'b'),_0x1e1bd2(/(#[^\#\s\+>~\.\[:\)]+)/g,'a'),_0x1e1bd2(/(\.[^\s\+>~\.\[:\)]+)/g,'b'),_0x1e1bd2(/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,'c'),_0x1e1bd2(/(:(?!not|global|local)[\w-]+\([^\)]*\))/gi,'b'),_0x1e1bd2(/(:(?!not|global|local)[^\s\+>~\.\[:]+)/g,'b'),_0x117319=(_0x117319=(_0x117319=(_0x117319=(_0x117319=(_0x117319=_0x117319['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'),_0x1e1bd2(/([^\s\+>~\.\[:]+)/g,'c'),_0x4744bc['sort'](function(_0x13ccee,_0x42123e){return _0x13ccee['index']-_0x42123e['index'];}),{'selector':_0x5d2b36,'specificity':'0,'+_0x4a227d['a']['toString']()+','+_0x4a227d['b']['toString']()+','+_0x4a227d['c']['toString'](),'specificityArray':[0x0,_0x4a227d['a'],_0x4a227d['b'],_0x4a227d['c']],'parts':_0x4744bc};},_0x41d058=function(_0x13caa5,_0x176e3a){var _0x234ca6,_0x237e58,_0x174f9f;if('string'==typeof _0x13caa5){if(-0x1!==_0x13caa5['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0x234ca6=calculateSingle(_0x13caa5)['specificityArray'];}else{if(!Array['isArray'](_0x13caa5))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0x13caa5['filter'](function(_0x5a481b){return'number'==typeof _0x5a481b;})['length'])throw'Invalid\x20specificity\x20array';_0x234ca6=_0x13caa5;}if('string'==typeof _0x176e3a){if(-0x1!==_0x176e3a['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0x237e58=calculateSingle(_0x176e3a)['specificityArray'];}else{if(!Array['isArray'](_0x176e3a))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0x176e3a['filter'](function(_0x4050aa){return'number'==typeof _0x4050aa;})['length'])throw'Invalid\x20specificity\x20array';_0x237e58=_0x176e3a;}for(_0x174f9f=0x0;_0x174f9f<0x4;_0x174f9f+=0x1){if(_0x234ca6[_0x174f9f]<_0x237e58[_0x174f9f])return-0x1;if(_0x234ca6[_0x174f9f]>_0x237e58[_0x174f9f])return 0x1;}return 0x0;};function splitByTopLevelComma(_0x2dda27){const _0x283dd9=[];let _0x44caa1='',_0x273e1b=0x0;for(;_0x273e1b<_0x2dda27['length'];){const _0x24f8e4=_0x2dda27[_0x273e1b];if('('===_0x24f8e4){const _0xe05eb5=findMatchingParenthesis(_0x2dda27,_0x273e1b+0x1);if(-0x1===_0xe05eb5)return[];_0x44caa1+=_0x2dda27['slice'](_0x273e1b,_0xe05eb5+0x1),_0x273e1b=_0xe05eb5+0x1;}else','!==_0x24f8e4||_0x44caa1['endsWith']('\x5c')?(_0x44caa1+=_0x24f8e4,_0x273e1b++):(_0x283dd9['push'](_0x44caa1['trim']()),_0x44caa1='',_0x273e1b++);}return _0x44caa1['trim']()&&_0x283dd9['push'](_0x44caa1['trim']()),_0x283dd9['filter'](Boolean);}function findMatchingParenthesis(_0x1b66a2,_0x1c0874){let _0x341391=0x1;for(let _0x3a41d1=_0x1c0874;_0x3a41d1<_0x1b66a2['length'];_0x3a41d1++){const _0xafc958=_0x1b66a2[_0x3a41d1];if('('===_0xafc958)_0x341391++;else{if(')'===_0xafc958&&(_0x341391--,0x0===_0x341391))return _0x3a41d1;}}return-0x1;}function dropImportantStyleSuffix(_0x4f7d9e){return _0x4f7d9e['replace'](/!\s*important/i,'')['trim']();}function collectRootStylesheetsVariables(_0x189b8d){const _0x35337b=new Map();for(const {stylesMap:_0x1d2d8b,flatSelector:_0x9e5ae1}of _0x189b8d){if(':root'!==_0x9e5ae1)continue;const _0x2ca52b=inlineStylesMapCSSVariables(_0x35337b['get']['bind'](_0x35337b),_0x1d2d8b);for(const [_0x3f1d1c,_0x1f0273]of _0x2ca52b)_0x35337b['set'](_0x3f1d1c,_0x1f0273);}return _0x35337b;}function inlineStylesMapCSSVariables(_0x2c98ae,_0x597d49){const _0x12d829=new Map(),_0x5403ee=_0x2e388d=>_0x12d829['has'](_0x2e388d)?_0x12d829['get'](_0x2e388d):_0x2c98ae(_0x2e388d);for(const [_0x351749,_0x30ab76]of _0x597d49['getStylesEntries']())if(_0x30ab76&&_0x351749['startsWith']('--')){const _0x285576=inlineCSSVariablesInString(_0x5403ee,_0x30ab76);_0x12d829['set'](_0x351749,_0x285576),_0x597d49['remove'](_0x351749);}for(const [_0xca158b,_0x1bd208]of _0x597d49['getStylesEntries']())if(_0x1bd208){const _0x1ca76f=inlineCSSVariablesInString(_0x5403ee,_0x1bd208);_0x597d49['set'](_0xca158b,_0x1ca76f);}return _0x12d829;}function inlineCSSVariablesInString(_0x219779,_0x4ebdc4){return _0x10f07b(_0x4ebdc4,_0x10a72c=>{const [_0x2c1ca3,_0x3f8a79]=splitByTopLevelComma(_0x10a72c),_0x2fc353=_0x219779(_0x2c1ca3);return void 0x0!==_0x2fc353?_0x2fc353:_0x3f8a79?inlineCSSVariablesInString(_0x219779,_0x3f8a79):'var('+_0x2c1ca3+')';});}function _0x10f07b(_0x4cae16,_0x427cbe){let _0x20c384='',_0x2a8d70=0x0;for(;_0x2a8d70<_0x4cae16['length'];){const _0x1ad870=_0x4cae16['indexOf']('var(',_0x2a8d70);if(-0x1===_0x1ad870){_0x20c384+=_0x4cae16['slice'](_0x2a8d70);break;}_0x20c384+=_0x4cae16['slice'](_0x2a8d70,_0x1ad870);const _0x46ea6a=_0x1ad870+0x4,_0x487993=findMatchingParenthesis(_0x4cae16,_0x46ea6a);_0x20c384+=_0x427cbe(_0x4cae16['substring'](_0x46ea6a,_0x487993)),_0x2a8d70=_0x487993+0x1;}return _0x20c384;}async function collectAndProcessStylesheets(_0x4c9d6b){const _0x3e660c=[await ckeditor5['collectStylesheets'](_0x4c9d6b['stylesheets']),_0x4c9d6b['inlineCss']]['filter'](_0x2b1aef=>_0x2b1aef&&_0x2b1aef['length'])['join']('\x0a'),_0x234c4d=await convertRawStylesheetToParsedCSSRules(_0x4c9d6b['stylesProcessor'],_0x3e660c);return{'parsedCssRules':_0x234c4d,'rootCssVariables':collectRootStylesheetsVariables(_0x234c4d)};}async function convertRawStylesheetToParsedCSSRules(_0x214b80,_0x587a1b){const _0x12dd6d=new CSSStyleSheet();return await _0x12dd6d['replace'](_0x587a1b),dropCSSNesting(Array['from'](_0x12dd6d['cssRules'])['filter'](_0x12a6d1=>_0x12a6d1 instanceof CSSStyleRule))['flatMap'](({selectorText:_0xa4e68d,contentCssText:_0x4fb6ad})=>{const _0x32aa58=splitByTopLevelComma(_0xa4e68d),_0x22db8b=new ckeditor5['StylesMap'](_0x214b80)['setTo'](_0x4fb6ad);return _0x32aa58['map'](_0x13535f=>{const _0x3ba3ef=_0x32cdf1(_0x13535f),_0x22089c=_0x3ba3ef?calculate(_0x3ba3ef)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x22db8b,'flatSelector':_0x13535f,'specificity':_0x22089c};});})['sort']((_0x26343c,_0x4df7e3)=>_0x41d058(_0x26343c['specificity'],_0x4df7e3['specificity']));}function _0x32cdf1(_0x5e7ec3){const _0x4f3cb9=':where(';let _0x20523c=_0x5e7ec3,_0xfb8df5=0x0;for(let _0x8a0a0a=0x0;_0x8a0a0a<0x64;_0x8a0a0a++){const _0x3a4f1d=_0x20523c['indexOf'](_0x4f3cb9,_0xfb8df5);if(-0x1===_0x3a4f1d)break;let _0x52ff0e=0x0;for(let _0x5c3b86=0x0;_0x5c3b86<_0x3a4f1d;_0x5c3b86++)'('===_0x20523c[_0x5c3b86]?_0x52ff0e++:')'===_0x20523c[_0x5c3b86]&&_0x52ff0e--;if(_0x52ff0e>0x0){_0xfb8df5=_0x3a4f1d+0x7;continue;}let _0xb461e7=-0x1;for(let _0x1aabb4=_0x3a4f1d+0x7,_0x51aa09=0x1;_0x1aabb4<_0x20523c['length'];_0x1aabb4++)if('('===_0x20523c[_0x1aabb4]?_0x51aa09++:')'===_0x20523c[_0x1aabb4]&&_0x51aa09--,!_0x51aa09){_0xb461e7=_0x1aabb4;break;}-0x1!==_0xb461e7?(_0x20523c=_0x20523c['slice'](0x0,_0x3a4f1d)+_0x20523c['slice'](_0xb461e7+0x1),_0xfb8df5=_0x3a4f1d):_0xfb8df5=_0x3a4f1d+0x7;}return _0x20523c['replace'](/\s+/g,'\x20')['trim']();}function dropCSSNesting(_0x6bbe88,_0x32a5e4=''){return _0x6bbe88['flatMap'](_0x329186=>{const {selectorText:_0x1fc1c5,cssText:_0x33666a,cssRules:_0x86ae53}=_0x329186;if(!_0x1fc1c5)return[];const _0x458858=_0x1fc1c5['replace'](/&/g,_0x32a5e4);let _0x3d004b=_0x33666a['replace'](_0x1fc1c5,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x86ae53||!_0x86ae53['length'])return[{'selectorText':_0x458858,'contentCssText':_0x3d004b}];for(const _0x455d87 of _0x86ae53)_0x3d004b=_0x3d004b['replace'](_0x455d87['cssText'],'')['trim']();return[{'selectorText':_0x458858,'contentCssText':_0x3d004b},...dropCSSNesting(Array['from'](_0x86ae53),_0x458858)];});}function getElementInlineStyles(_0x452824){const _0x1c1894=_0x452824['element']['getAttribute']('style')||'',_0x4cd1c7=_0x452824['parsedCssRules']['filter'](_0x48a16a=>_0x452824['element']['matches'](_0x48a16a['flatSelector']))['map'](_0x71b29b=>_0x71b29b['stylesMap']),_0x1a0961=concatStylesMaps(_0x452824['stylesProcessor'],[..._0x4cd1c7,_0x1c1894]);return{'localCSSVariables':inlineStylesMapCSSVariables(_0x452824['fallbackCSSVariablesLookup'],_0x1a0961),'stylesMap':_0x1a0961};}function concatStylesMaps(_0x4b50ad,_0x4cf699){const _0x51f3a5=new ckeditor5['StylesMap'](_0x4b50ad);for(const _0x5dc90f of _0x4cf699){let _0x4fd7a1=null;if(_0x4fd7a1='string'==typeof _0x5dc90f?new ckeditor5['StylesMap'](_0x4b50ad)['setTo'](_0x5dc90f):_0x5dc90f,_0x4fd7a1){for(const [_0x3e684d,_0xd68b5b]of _0x4fd7a1['getStylesEntries']())_0x51f3a5['set'](_0x3e684d,_0xd68b5b);}}return _0x51f3a5;}class ExportInlineStylesCommand extends ckeditor5['Command']{['_stylesProcessor'];constructor(_0x523364){super(_0x523364),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'](_0x2d80d7){const _0x55a355=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x383497}=this['editor']['locale'],{rootName:_0x41c8ca='main',dataControllerDowncastOptions:_0x5313fb={},transformations:_0x557225=_0x55a355['transformations']||[]}=_0x2d80d7||{};this['isBusy']=!0x0,this['refresh']();const _0x5d4a92=this['_getRootDataHTMLFragment'](_0x41c8ca,_0x5313fb),_0x424e1d=ckeditor5['createElement'](_0x5d4a92['ownerDocument'],'div',{'dir':_0x383497,'class':'ck-content'},[_0x5d4a92]);return this['_collectAndApplyStyles'](_0x557225,_0x424e1d)['then'](()=>{const _0x4c6c57=extractElementChildrenAsFragment(_0x424e1d),_0x1e601c=_0x424e1d['getAttribute']('style');if(_0x1e601c)for(const _0x184f0a of _0x4c6c57['children']){const _0x5c25e5=_0x184f0a['getAttribute']('style'),_0x353fb7=concatStylesMaps(this['_stylesProcessor'],[_0x1e601c,_0x5c25e5]);_0x184f0a['setAttribute']('style',dumpNonSortedStylesMap(_0x353fb7));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x4c6c57);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x3df64c,_0x57c576){const {data:_0x57e885,model:_0x14c55e}=this['editor'],_0x771655=_0x14c55e['document']['getRoot'](_0x3df64c),_0x4d61ef=_0x57e885['toView'](_0x771655,_0x57c576);return _0x57e885['htmlProcessor']['domConverter']['viewToDom'](_0x4d61ef);}async['_collectAndApplyStyles'](_0x13f0dd,_0x13fe25){const {stylesheets:_0x5bece9,inlineCss:_0x56333f,stripCssClasses:_0xf1a738}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x5697e2,rootCssVariables:_0x6c359e}=await collectAndProcessStylesheets({'stylesheets':_0x5bece9||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x56333f});this['_processElementTree']({'transformations':_0x13f0dd,'parsedCssRules':_0x5697e2,'element':_0x13fe25,'stripCssClasses':_0xf1a738,'parentCSSVariablesLookup':_0x6c359e['get']['bind'](_0x6c359e)});}['_processElementTree']({element:_0xc3a02,parsedCssRules:_0x398586,parentCSSVariablesLookup:_0x340e1f,stripCssClasses:_0x515a7f,transformations:_0x5a7016}){const {stylesMap:_0x385ee7,localCSSVariables:_0x4631f7}=getElementInlineStyles({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x340e1f,'parsedCssRules':_0x398586,'element':_0xc3a02});for(const _0x22b440 of _0x5a7016){const _0xf847bc=_0x22b440(_0xc3a02,_0x385ee7);_0xf847bc&&_0xf847bc instanceof HTMLElement&&(_0xc3a02=_0xf847bc);}_0x385ee7['size']?_0xc3a02['setAttribute']('style',dumpNonSortedStylesMap(_0x385ee7)):_0xc3a02['removeAttribute']('style');const _0x33ff45=_0x158e4a=>_0x4631f7['has'](_0x158e4a)?_0x4631f7['get'](_0x158e4a):_0x340e1f(_0x158e4a);for(const _0x15bf58 of _0xc3a02['children'])_0x15bf58 instanceof HTMLElement&&this['_processElementTree']({'element':_0x15bf58,'parentCSSVariablesLookup':_0x33ff45,'parsedCssRules':_0x398586,'stripCssClasses':_0x515a7f,'transformations':_0x5a7016});_0x515a7f&&_0xc3a02['removeAttribute']('class');}}function dumpNonSortedStylesMap(_0x170cd5){return _0x170cd5['getStylesEntries']()['map'](_0x2b4b01=>_0x2b4b01['join'](':'))['join'](';')+';';}function extractElementChildrenAsFragment(_0xef4a39){const _0x12588f=_0xef4a39['ownerDocument']['createDocumentFragment']();for(;_0xef4a39['firstChild'];)_0x12588f['appendChild'](_0xef4a39['firstChild']);return _0x12588f;}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'](){_0x38c174(this);}}async function _0x38c174(_0x1d33de){const _0x18fcb0=_0x2c43bc([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]),_0x129168=window[_0x2c43bc([0x44,0x61,0x74,0x65])][_0x2c43bc([0x6e,0x6f,0x77])](),_0x28c96d=_0x1d33de[_0x2c43bc([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x197a85=new window[(_0x2c43bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f880e=>{_0x28c96d[_0x2c43bc([0x6f,0x6e,0x63,0x65])](_0x2c43bc([0x72,0x65,0x61,0x64,0x79]),_0x2f880e);}),_0x4a2c18={[_0x2c43bc([0x6b,0x74,0x79])]:_0x2c43bc([0x45,0x43]),[_0x2c43bc([0x75,0x73,0x65])]:_0x2c43bc([0x73,0x69,0x67]),[_0x2c43bc([0x63,0x72,0x76])]:_0x2c43bc([0x50,0x2d,0x32,0x35,0x36]),[_0x2c43bc([0x78])]:_0x2c43bc([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]),[_0x2c43bc([0x79])]:_0x2c43bc([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]),[_0x2c43bc([0x61,0x6c,0x67])]:_0x2c43bc([0x45,0x53,0x32,0x35,0x36])},_0x144bbf=_0x28c96d[_0x2c43bc([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2c43bc([0x67,0x65,0x74])](_0x2c43bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x2d2994=await(async function(){let _0x489199,_0x2d0947=null,_0x1a73ad=null;try{if(_0x144bbf==_0x2c43bc([0x47,0x50,0x4c]))return _0x2c43bc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x489199=(function(){const _0x2a8182=_0x144bbf[_0x2c43bc([0x73,0x70,0x6c,0x69,0x74])](_0x2c43bc([0x2e]));if(0x3!=_0x2a8182[_0x2c43bc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x140777=_0x2a8182[0x1];return _0x11fa8f(_0x140777);function _0x11fa8f(_0x5e0f49){const _0x2e025a=_0x2eaa97(_0x5e0f49);return _0x2e025a&&_0x4fd654()?_0x2e025a:null;function _0x4fd654(){const _0x219b97=_0x2e025a[_0x2c43bc([0x6a,0x74,0x69])],_0x430b22=window[_0x2c43bc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x219b97[_0x2c43bc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x219b97[_0x2c43bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x582a2c={..._0x2e025a,[_0x2c43bc([0x6a,0x74,0x69])]:_0x219b97[_0x2c43bc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x219b97[_0x2c43bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x582a2c[_0x2c43bc([0x76,0x63])],_0x525e15(_0x582a2c)==_0x430b22;}}}()),!_0x489199)return _0x2c43bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x489199[_0x2c43bc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1a73ad=function(_0xd28c4a,_0x51cf81){return new window[(_0x2c43bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x52cdc5=>{if(_0x4901af())return _0x52cdc5(_0x2c43bc([0x56,0x61,0x6c,0x69,0x64]));_0x57a4d3(),_0x28c96d[_0x2c43bc([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2c43bc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x21a67e=!0x1;const _0x502224=ckeditor5['uid']();function _0x5b3ae0(_0x34b722){return!!_0x34b722&&(typeof _0x34b722===_0x2c43bc([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x34b722===_0x2c43bc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x34b722[_0x2c43bc([0x74,0x68,0x65,0x6e])]===_0x2c43bc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x34b722[_0x2c43bc([0x63,0x61,0x74,0x63,0x68])]===_0x2c43bc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x16fd87(_0x5b7a6d){_0x585beb(_0x5b7a6d)[_0x2c43bc([0x74,0x68,0x65,0x6e])](_0x344171=>{if(!_0x344171||_0x344171[_0x2c43bc([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2c43bc([0x6f,0x6b]))return _0x2c43bc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4c3cd0(_0x525e15(_0x502224+_0x51cf81))!=_0x344171[_0x2c43bc([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2c43bc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2c43bc([0x56,0x61,0x6c,0x69,0x64]);})[_0x2c43bc([0x74,0x68,0x65,0x6e])](_0x4d91f8=>(_0x4524d7(),_0x4d91f8),()=>{const _0x47378f=_0x137216();return null==_0x47378f?(_0x4524d7(),_0x2c43bc([0x56,0x61,0x6c,0x69,0x64])):_0x2c43bc(_0x129168-_0x47378f>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2c43bc([0x74,0x68,0x65,0x6e])](_0x52cdc5)[_0x2c43bc([0x63,0x61,0x74,0x63,0x68])](()=>{_0x52cdc5(_0x2c43bc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5ef118=0x36ee80;function _0x4524d7(){const _0x354b9e=_0x2c43bc([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c3cd0(_0x525e15(_0xd28c4a)),_0xa6fd4e=_0x4884b3(_0x4c3cd0(window[_0x2c43bc([0x4d,0x61,0x74,0x68])][_0x2c43bc([0x63,0x65,0x69,0x6c])](_0x129168/_0x5ef118)));window[_0x2c43bc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c43bc([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x354b9e,_0xa6fd4e);}function _0x137216(){const _0x26b574=_0x2c43bc([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c3cd0(_0x525e15(_0xd28c4a)),_0x149465=window[_0x2c43bc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c43bc([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x26b574);return _0x149465?window[_0x2c43bc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4884b3(_0x149465),0x10)*_0x5ef118:null;}function _0x585beb(_0x155d44){return new window[(_0x2c43bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5b1a46,_0x4c40d1)=>{_0x155d44[_0x2c43bc([0x74,0x68,0x65,0x6e])](_0x5b1a46,_0x4c40d1),window[_0x2c43bc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4c40d1,0x1d4c0);});}}_0x28c96d[_0x2c43bc([0x6f,0x6e])](_0x2c43bc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x737c3d,_0x1fb188)=>{if(_0x1fb188[0x0]!=_0xd28c4a)return _0x52cdc5(_0x2c43bc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1fb188[0x1]={..._0x1fb188[0x1],[_0x2c43bc([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x502224};},{[_0x2c43bc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c43bc([0x68,0x69,0x67,0x68])}),_0x28c96d[_0x2c43bc([0x6f,0x6e])](_0x2c43bc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4b6e74=>{_0x5b3ae0(_0x4b6e74[_0x2c43bc([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x21a67e=!0x0,_0x16fd87(_0x4b6e74[_0x2c43bc([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2c43bc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c43bc([0x6c,0x6f,0x77])}),_0x197a85[_0x2c43bc([0x74,0x68,0x65,0x6e])](()=>{_0x21a67e||_0x52cdc5(_0x2c43bc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4901af(){return _0x28c96d[_0x2c43bc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c43bc([0x76,0x69,0x65,0x77])][_0x2c43bc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2c43bc([0x61,0x75,0x74,0x6f]);}function _0x57a4d3(){_0x28c96d[_0x2c43bc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c43bc([0x76,0x69,0x65,0x77])][_0x2c43bc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2c43bc([0x61,0x75,0x74,0x6f]);}}(_0x489199[_0x2c43bc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x489199[_0x2c43bc([0x6a,0x74,0x69])]));const _0x5dfb76=await(async function(){let _0x3b7054=!0x0;try{const _0x45c24c=_0x144bbf[_0x2c43bc([0x73,0x70,0x6c,0x69,0x74])](_0x2c43bc([0x2e])),[_0x5837f2,_0x3f062e,_0x40f9e4]=_0x45c24c;return _0x418180(_0x5837f2),await _0x94f2f8(_0x5837f2,_0x3f062e,_0x40f9e4),_0x3b7054;}catch{return!0x1;}function _0x418180(_0x10498a){const _0x2401b6=_0x2eaa97(_0x10498a);_0x2401b6&&_0x2401b6[_0x2c43bc([0x61,0x6c,0x67])]==_0x2c43bc([0x45,0x53,0x32,0x35,0x36])||(_0x3b7054=!0x1);}async function _0x94f2f8(_0x15446e,_0x1a6d5b,_0x52a072){const _0x30d481=window[_0x2c43bc([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2c43bc([0x66,0x72,0x6f,0x6d])](_0x4cfed1(_0x52a072),_0x19db77=>_0x19db77[_0x2c43bc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1fbfba=new window[(_0x2c43bc([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2c43bc([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x15446e+_0x2c43bc([0x2e])+_0x1a6d5b),_0x5a516e=window[_0x2c43bc([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2c43bc([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5a516e)return;const _0xb7f33d=await _0x5a516e[_0x2c43bc([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2c43bc([0x6a,0x77,0x6b]),_0x4a2c18,{[_0x2c43bc([0x6e,0x61,0x6d,0x65])]:_0x2c43bc([0x45,0x43,0x44,0x53,0x41]),[_0x2c43bc([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2c43bc([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2c43bc([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5a516e[_0x2c43bc([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2c43bc([0x6e,0x61,0x6d,0x65])]:_0x2c43bc([0x45,0x43,0x44,0x53,0x41]),[_0x2c43bc([0x68,0x61,0x73,0x68])]:{[_0x2c43bc([0x6e,0x61,0x6d,0x65])]:_0x2c43bc([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xb7f33d,_0x30d481,_0x1fbfba)||(_0x3b7054=!0x1);}}());return _0x5dfb76?(function(){const _0x216a09=_0x489199[_0x2c43bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x216a09)return!0x1;if(_0x216a09[_0x2c43bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c43bc([0x2a])))return!0x0;if(_0x216a09[_0x2c43bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c43bc([0x45,0x49,0x53])))return!0x0;return!0x1;}())?(function(){const _0x5644ad=[_0x2c43bc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2c43bc([0x74,0x72,0x69,0x61,0x6c])][_0x2c43bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x489199[_0x2c43bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x129168/0x3e8:0x69d59a80;return _0x489199[_0x2c43bc([0x65,0x78,0x70])]<_0x5644ad;}())?_0x2c43bc([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x24df63=_0x489199[_0x2c43bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x24df63||0x0==_0x24df63[_0x2c43bc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x17bf3f}=new URL(window[_0x2c43bc([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x24df63[_0x2c43bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17bf3f))return!0x0;const _0x53ad9d=_0x17bf3f[_0x2c43bc([0x73,0x70,0x6c,0x69,0x74])](_0x2c43bc([0x2e]));return _0x24df63[_0x2c43bc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4303ab=>_0x4303ab[_0x2c43bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c43bc([0x2a])))[_0x2c43bc([0x6d,0x61,0x70])](_0x5ed375=>_0x5ed375[_0x2c43bc([0x73,0x70,0x6c,0x69,0x74])](_0x2c43bc([0x2e])))[_0x2c43bc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x7461eb=>_0x7461eb[_0x2c43bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x53ad9d[_0x2c43bc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2c43bc([0x6d,0x61,0x70])](_0x574232=>Array(_0x53ad9d[_0x2c43bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x574232[_0x2c43bc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2c43bc([0x66,0x69,0x6c,0x6c])](_0x574232[0x0]===_0x2c43bc([0x2a])?_0x2c43bc([0x2a]):'')[_0x2c43bc([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x574232))[_0x2c43bc([0x73,0x6f,0x6d,0x65])](_0x37feb2=>_0x53ad9d[_0x2c43bc([0x65,0x76,0x65,0x72,0x79])]((_0x3ff1cd,_0x2631c2)=>_0x37feb2[_0x2631c2]===_0x3ff1cd||_0x37feb2[_0x2631c2]===_0x2c43bc([0x2a])));}())?(_0x489199[_0x2c43bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2c43bc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2d0947=function(_0x42749c){const _0x1c7678=new window[(_0x2c43bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x269b3a=>setTimeout(_0x269b3a,0x93ecc)),_0x5ec04b=_0x197a85[_0x2c43bc([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2c43bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12e5a5=>{let _0x48de50=0x0;_0x28c96d[_0x2c43bc([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c43bc([0x6f,0x6e])](_0x2c43bc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3c632d,_0x30879f)=>{_0x30879f[0x0][_0x2c43bc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x48de50++,0x5e8==_0x48de50&&(_0x12e5a5(),_0x3c632d[_0x2c43bc([0x6f,0x66,0x66])]());});})),_0x2ca357=[_0x1c7678,_0x5ec04b];return window[_0x2c43bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2c43bc([0x72,0x61,0x63,0x65])](_0x2ca357)[_0x2c43bc([0x74,0x68,0x65,0x6e])](()=>_0x42749c);}(_0x2c43bc([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x2d0947&&_0x1a73ad)return new window[(_0x2c43bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e3970,_0x1d53a0)=>{_0x2d0947[_0x2c43bc([0x74,0x68,0x65,0x6e])](_0x5e3970,_0x1d53a0),_0x1a73ad[_0x2c43bc([0x74,0x68,0x65,0x6e])](_0x3f25f4=>{_0x3f25f4!=_0x2c43bc([0x56,0x61,0x6c,0x69,0x64])&&_0x5e3970(_0x3f25f4);},_0x1d53a0);});return _0x2d0947||_0x1a73ad||_0x2c43bc([0x56,0x61,0x6c,0x69,0x64]);}())):_0x2c43bc([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2c43bc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2c43bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2c43bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x2eaa97(_0x34fd86){return _0x34fd86[_0x2c43bc([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2c43bc([0x65,0x79]))?JSON[_0x2c43bc([0x70,0x61,0x72,0x73,0x65])](_0x4cfed1(_0x34fd86)):null;}function _0x4cfed1(_0x548347){return window[_0x2c43bc([0x61,0x74,0x6f,0x62])](_0x548347[_0x2c43bc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2c43bc([0x2b]))[_0x2c43bc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2c43bc([0x2f])));}function _0x525e15(_0x2d4f14){let _0x200fbb=0x1505;function _0x57a54c(_0x3ecd41){for(let _0x35fac3=0x0;_0x35fac3<_0x3ecd41[_0x2c43bc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35fac3++){const _0x1ad28d=_0x3ecd41[_0x2c43bc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x35fac3);_0x200fbb=(_0x200fbb<<0x5)+_0x200fbb+_0x1ad28d,_0x200fbb&=_0x200fbb;}}return function _0x57dec4(_0x55039c){Array[_0x2c43bc([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x55039c)?_0x55039c[_0x2c43bc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x57dec4):_0x55039c&&typeof _0x55039c==_0x2c43bc([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2c43bc([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x55039c)[_0x2c43bc([0x73,0x6f,0x72,0x74])]()[_0x2c43bc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xb74ee0,_0x4d3685])=>{_0x57a54c(_0xb74ee0),_0x57dec4(_0x4d3685);}):_0x57a54c(window[_0x2c43bc([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x55039c));}(_0x2d4f14),_0x200fbb>>>0x0;}function _0x4c3cd0(_0x2a0c7f){return _0x2a0c7f[_0x2c43bc([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2c43bc([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2c43bc([0x30]));}function _0x4884b3(_0x30ba83){return _0x30ba83[_0x2c43bc([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2c43bc([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2c43bc([0x6a,0x6f,0x69,0x6e])]('');}function _0x10617f(){}function _0x2c43bc(_0x1a5d0b){return _0x1a5d0b['map'](_0x22181e=>String['fromCharCode'](_0x22181e))['join']('');}!function(_0x43a630){const _0x45ac9c=(function(){const _0x2f5f92=window[_0x2c43bc([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2c43bc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2c43bc([0x6e,0x6f,0x77])]())[_0x2c43bc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2c43bc([0x2e]),'');let _0x436520=_0x2c43bc([0x44]);for(let _0x57de35=0x0;_0x57de35<_0x2f5f92[_0x2c43bc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x57de35+=0x2){let _0x52a45e=window[_0x2c43bc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f5f92[_0x2c43bc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x57de35,_0x57de35+0x2));_0x52a45e>=_0x18fcb0[_0x2c43bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x52a45e-=_0x18fcb0[_0x2c43bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x436520+=_0x18fcb0[_0x52a45e];}return _0x436520;}());_0x28c96d[_0x45ac9c]=_0x2c43bc([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])+_0x43a630,_0x43a630!=_0x2c43bc([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x197a85;const _0x28747f=_0x28c96d['commands'][_0x2c43bc([0x67,0x65,0x74])](_0x2c43bc([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x28747f&&_0x28747f[_0x2c43bc([0x6f,0x6e])](_0x2c43bc([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x294833=>{_0x294833['stop']();},{'priority':_0x2c43bc([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),(_0x28c96d[_0x2c43bc([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c43bc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x10617f,_0x28c96d[_0x2c43bc([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c43bc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x10617f,_0x28c96d[_0x2c43bc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2c43bc([0x6d,0x6f,0x64,0x65,0x6c])));}());}(_0x2d2994);}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 _0x33f962=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1b9d86;for(const _0x439fb6 in _0x33f962){const _0x2f6d25=_0x439fb6,_0x411570=_0x33f962[_0x2f6d25];if('exportInlineStylesLicenseKeyValid'==_0x411570||'exportInlineStylesLicenseKeyInvalid'==_0x411570||'exportInlineStylesLicenseKeyExpired'==_0x411570||'exportInlineStylesLicenseKeyDomainLimit'==_0x411570||'exportInlineStylesLicenseKeyNotAllowed'==_0x411570||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x411570||'exportInlineStylesLicenseKeyUsageLimit'==_0x411570){delete _0x33f962[_0x2f6d25],_0x1b9d86=_0x411570,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x1b9d86&&_0x33f962['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x1b9d86&&_0x33f962['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x1b9d86&&_0x33f962['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x1b9d86&&_0x33f962['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x1b9d86&&_0x33f962['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x1b9d86&&_0x33f962['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function getEmailInlineStylesTransformations(_0x1acc54={}){const _0x526154=[transformEmailFloatToAlign,transformEmailMarginToAlign,transformEmailImageWidthAttributes];return _0x1acc54['useFigureToTableFallback']&&_0x526154['push'](transformEmailFigureToTable,transformEmailFigcaptionToDiv),_0x526154;}function transformEmailFloatToAlign(_0x16fc8b,_0x2109aa){if(!['TABLE','IMG']['includes'](_0x16fc8b['tagName']))return;const _0x702ce1=_0x2109aa['getAsString']('float');if(_0x702ce1){const _0x493ff4=dropImportantStyleSuffix(_0x702ce1);'left'!==_0x493ff4&&'right'!==_0x493ff4||_0x16fc8b['setAttribute']('align',_0x493ff4);}}function transformEmailMarginToAlign(_0x2ed915,_0x4bbe40){if('TABLE'!==_0x2ed915['tagName']||_0x4bbe40['has']('float'))return;const _0x4528e2=getAlignFromMargins(_0x4bbe40),_0x5945ac=_0x4bbe40['getAsString']('width');(_0x4528e2||_0x5945ac)&&(_0x5da7c2(_0x2ed915,_0x2ed915,{'align':_0x4528e2,'width':_0x5945ac}),_0x4bbe40['remove']('width'),_0x4bbe40['remove']('margin-left'),_0x4bbe40['remove']('margin-right'),_0x4bbe40['remove']('min-width'),_0x4bbe40['remove']('max-width'));}function transformEmailImageWidthAttributes(_0xf2c3ed,_0x4b8e7e){if('IMG'!==_0xf2c3ed['tagName'])return;const _0x1e4d10=_0x4b8e7e['getAsString']('width');_0x1e4d10&&(_0xf2c3ed['setAttribute']('width',_0x1e4d10),_0xf2c3ed['setAttribute']('height','auto'));}function transformEmailFigureToTable(_0xb0fee7,_0x328ff9){if('FIGURE'!==_0xb0fee7['tagName'])return;const _0x50e354=getAlignFromMargins(_0x328ff9),_0x13a06e=_0x328ff9['getAsString']('width');if(!_0x50e354&&!_0x13a06e)return;const _0x3f910d=createReplacementElement(_0xb0fee7,'div');return _0x5da7c2(_0xb0fee7,_0x3f910d,{'align':_0x50e354,'width':_0x13a06e}),_0x328ff9['set']('width','100%'),_0x328ff9['remove']('margin-left'),_0x328ff9['remove']('margin-right'),_0x328ff9['remove']('min-width'),_0x328ff9['remove']('max-width'),_0x3f910d;}function transformEmailFigcaptionToDiv(_0x5a9c28){if('FIGCAPTION'!==_0x5a9c28['tagName'])return;const _0x48fa1d=createReplacementElement(_0x5a9c28,'div');return _0x5a9c28['replaceWith'](_0x48fa1d),_0x48fa1d;}function _0x5da7c2(_0x1c24e7,_0x37061d,_0x151448){const _0x28e432=_0x1c24e7['ownerDocument'],{table:_0x49fddb,cell:_0xfc1f0c}=createWrapperTable(_0x28e432,'100%');_0x151448['align']&&_0xfc1f0c['setAttribute']('align',dropImportantStyleSuffix(_0x151448['align']));let _0x711251=_0xfc1f0c;if(_0x151448['width']){const {table:_0xde057b,cell:_0x240a99}=createWrapperTable(_0x28e432,dropImportantStyleSuffix(_0x151448['width']));_0xfc1f0c['appendChild'](_0xde057b),_0x711251=_0x240a99;}_0x1c24e7['replaceWith'](_0x49fddb),_0x1c24e7['removeAttribute']('align'),_0x1c24e7['removeAttribute']('width'),_0x711251['appendChild'](_0x37061d);}function createWrapperTable(_0x4b29e2,_0x3cc811){const _0x4d8151=_0x4b29e2['createElement']('table');_0x4d8151['setAttribute']('width',_0x3cc811),_0x4d8151['setAttribute']('cellpadding','0'),_0x4d8151['setAttribute']('cellspacing','0'),_0x4d8151['setAttribute']('border','0'),_0x4d8151['setAttribute']('role','presentation');const _0x1bd2e9=_0x4b29e2['createElement']('tbody'),_0x52b99e=_0x4b29e2['createElement']('tr'),_0x41d0ad=_0x4b29e2['createElement']('td');return _0x4d8151['appendChild'](_0x1bd2e9),_0x1bd2e9['appendChild'](_0x52b99e),_0x52b99e['appendChild'](_0x41d0ad),{'table':_0x4d8151,'cell':_0x41d0ad};}function getAlignFromMargins(_0x465534){const _0x876246=_0x465534['getAsString']('margin-left'),_0x1b9580=_0x465534['getAsString']('margin-right'),_0x297955=_0x876246&&dropImportantStyleSuffix(_0x876246),_0x249443=_0x1b9580&&dropImportantStyleSuffix(_0x1b9580);return'auto'===_0x297955&&'auto'===_0x249443?'center':'auto'===_0x297955?'right':'auto'===_0x249443?'left':void 0x0;}function createReplacementElement(_0x2a1b90,_0x467645){const _0x3f699e=_0x2a1b90['ownerDocument']['createElement'](_0x467645);for(const _0x429a2c of Array['from'](_0x2a1b90['attributes']))_0x3f699e['setAttribute'](_0x429a2c['name'],_0x429a2c['value']);for(;_0x2a1b90['firstChild'];)_0x3f699e['appendChild'](_0x2a1b90['firstChild']);return _0x3f699e;}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:_0x3d18d9,plugins:_0x59e8e9}=this['editor'],_0x1adeac=_0x3d18d9['get']('exportInlineStyles');if(_0x1adeac?.['transformations']?.['includes'](transformEmailFigureToTable))return;_0x59e8e9['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 _0xf4d98f=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('ExportInlineStyles')||_0xf4d98f['_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 _0x56671d=this['editor']['plugins']['get'](EmailConfigurationLogger),_0x43b636=this['editor']['config']['get']('list');_0x43b636&&_0x43b636['properties']&&_0x43b636['properties']['reversed']&&_0x56671d['_logSuppressibleWarning']('email-configuration-unsupported-reversed-list'),_0x43b636&&_0x43b636['enableListItemMarkerFormatting']&&_0x56671d['_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:_0x3960e7}=this['editor'],_0x326854=_0x3960e7['get'](EmailConfigurationLogger);_0x3960e7['has']('Table')&&(_0x3960e7['has']('PlainTableOutput')||_0x326854['_logSuppressibleWarning']('email-configuration-missing-plain-table-output-plugin'),_0x3960e7['has']('TableLayout')||_0x326854['_logSuppressibleWarning']('email-configuration-missing-table-layout-plugin'));}['_checkTableConfig'](){const {config:_0x3569bf,plugins:_0x31ce15}=this['editor'];_0x3569bf['get']('table')&&_0x31ce15['has']('Table')&&(this['_checkTablePropertiesConfig']('tableCellProperties'),this['_checkTablePropertiesConfig']('tableProperties'));}['_checkTablePropertiesConfig'](_0x18f0dc){const _0x2fc179=this['editor']['plugins']['get'](EmailConfigurationLogger);_0x2fc179['_validateConfigColorValue']('table.'+_0x18f0dc+'.borderColors'),_0x2fc179['_validateConfigColorValue']('table.'+_0x18f0dc+'.backgroundColors'),_0x2fc179['_validateConfigColorValue']('table.'+_0x18f0dc+'.defaultProperties.borderColor'),_0x2fc179['_validateConfigColorValue']('table.'+_0x18f0dc+'.defaultProperties'),_0x2fc179['_validateConfigColorFormat']('table.'+_0x18f0dc+'.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 _0x2d0edf=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('EmptyBlock')||_0x2d0edf['_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:_0x1eb8ca}=this['editor'];_0x1eb8ca['has']('FontColorEditing')&&this['_checkColorConfig']('fontColor'),_0x1eb8ca['has']('FontBackgroundColorEditing')&&this['_checkColorConfig']('fontBackgroundColor');}['_checkColorConfig'](_0x205326){const _0x4a6e91=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['config']['get'](_0x205326)&&(_0x4a6e91['_validateConfigColorValue'](_0x205326+'.colors'),_0x4a6e91['_validateConfigColorValue'](_0x205326+'.documentColors'),_0x4a6e91['_validateConfigColorFormat'](_0x205326+'.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:_0x927597}=this['editor'],_0x136ad0=_0x927597['get'](EmailConfigurationLogger);_0x927597['has']('SourceEditing')||_0x927597['has']('SourceEditingEnhanced')||_0x136ad0['_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:_0x2d42b6}=this['editor'];if(!_0x2d42b6['has']('DataFilter'))return;const _0x57fc1b=_0x2d42b6['get']('DataFilter'),_0x8e13c2=_0x2d42b6['get'](EmailConfigurationLogger);for(const _0x76bbdd of GeneralHtmlIntegrationSupport['UNSUPPORTED_ELEMENTS'])_0x57fc1b['once']('register:'+_0x76bbdd,(_0x4a8910,_0x2de82e)=>{_0x8e13c2['_logSuppressibleWarning']('email-unsupported-html-element',{'element':_0x2de82e['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 _0x5ea660=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('MergeFields')||_0x5ea660['_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 _0x42bcf6=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('Template')||_0x42bcf6['_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:_0x39fd75,plugins:_0xffc343}=this['editor'],_0x15f52b=_0xffc343['get'](EmailConfigurationLogger),_0x158aa0=_0x39fd75['get']('exportInlineStyles');_0x158aa0?.['transformations']?.['includes'](transformEmailFigureToTable)||_0x15f52b['_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 _0x31c0dd=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x272cdf;for(const _0x3c9980 in _0x31c0dd){const _0x2d7733=_0x3c9980,_0x124e29=_0x31c0dd[_0x2d7733];if('emailConfigurationHelperLicenseKeyValid'==_0x124e29||'emailConfigurationHelperLicenseKeyInvalid'==_0x124e29||'emailConfigurationHelperLicenseKeyExpired'==_0x124e29||'emailConfigurationHelperLicenseKeyDomainLimit'==_0x124e29||'emailConfigurationHelperLicenseKeyNotAllowed'==_0x124e29||'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x124e29||'emailConfigurationHelperLicenseKeyUsageLimit'==_0x124e29){delete _0x31c0dd[_0x2d7733],_0x272cdf=_0x124e29,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'emailConfigurationHelperLicenseKeyInvalid'==_0x272cdf&&_0x31c0dd['_showLicenseError']('invalid'),'emailConfigurationHelperLicenseKeyExpired'==_0x272cdf&&_0x31c0dd['_showLicenseError']('expired'),'emailConfigurationHelperLicenseKeyDomainLimit'==_0x272cdf&&_0x31c0dd['_showLicenseError']('domainLimit'),'emailConfigurationHelperLicenseKeyNotAllowed'==_0x272cdf&&_0x31c0dd['_showLicenseError']('featureNotAllowed','EmailConfigurationHelper'),'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x272cdf&&_0x31c0dd['_showLicenseError']('evaluationLimit'),'emailConfigurationHelperLicenseKeyUsageLimit'==_0x272cdf&&_0x31c0dd['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function getTranslation$d(_0x357412,_0x97411f){const t=_0x357412['t'];switch(_0x97411f){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 _0x97411f;}}const _0x2de9b0='https://pdf-converter.cke-cs.com/v1/convert/';class ExportPdfCommand extends ckeditor5['Command']{constructor(_0x510270){super(_0x510270),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x47bd8f={}){const _0x33ba8a=this['editor'],_0x2a5161=_0x47bd8f['converterUrl']||_0x2de9b0,_0x344f32=_0x47bd8f['dataCallback']||(_0x2b385f=>_0x2b385f['data']['get']()),_0x47ee3f=_0x33ba8a['plugins']['get']('ExportPdf'),_0xc9d30c=_0x47bd8f['token']||_0x47ee3f['_token'];return this['isBusy']=!0x0,this['refresh'](),ckeditor5['collectStylesheets'](_0x47bd8f['stylesheets']||['EDITOR_STYLES'])['then'](async _0x132482=>{if(_0x33ba8a['ui']['ariaLiveAnnouncer']['announce'](getTranslation$d(_0x33ba8a['locale'],'PDF\x20export\x20started')),_0x33ba8a['plugins']['has']('MergeFields')){_0x47bd8f['converterOptions']||(_0x47bd8f['converterOptions']={});const _0x27486a=_0x33ba8a['plugins']['get']('MergeFieldsEditing'),_0xf1cc20=_0x27486a['previewMode'],{prefix:_0x1ceb81,suffix:_0x1855fe}=_0x33ba8a['config']['get']('mergeFields'),_0x120a44='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0xfb2a0d={'prefix':_0x1ceb81,'suffix':_0x1855fe,'data':{}};if('$labels'===_0xf1cc20){for(const _0x55dbe3 of _0x27486a['getMergeFieldsIds']())'image'===_0x27486a['getMergeFieldType'](_0x55dbe3)?_0xfb2a0d['data'][_0x55dbe3]=_0x120a44:_0xfb2a0d['data'][_0x55dbe3]=_0x27486a['wrapInAffixes'](_0x27486a['getLabel'](_0x55dbe3)||_0x55dbe3);}else{const _0x7fd24c='$defaultValues'===_0xf1cc20?_0x27486a['getDefaultValues']():_0x27486a['getDataSetValues'](_0xf1cc20,!0x0);for(const _0x50fbdc of Object['entries'](_0x7fd24c)){const [_0x559c02,_0x110c9f]=_0x50fbdc;'image'===_0x27486a['getMergeFieldType'](_0x559c02)?_0xfb2a0d['data'][_0x559c02]=null!==_0x110c9f?_0x110c9f:_0x120a44:_0xfb2a0d['data'][_0x559c02]=null!==_0x110c9f?_0x110c9f:_0x27486a['getLabel'](_0x559c02)||_0x559c02;}}_0x47bd8f['converterOptions']['merge_fields']=_0xfb2a0d;}const _0x594741=0x2===_0x47bd8f['version']?prepareContentInlineStyleV2(_0x47bd8f['converterOptions']):prepareContentInlineStyle(_0x47bd8f['converterOptions']),_0x26b592={'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'+_0x33ba8a['locale']['contentLanguageDirection']+'\x22\x20style=\x22'+_0x594741+'\x22>\x0a\x09\x09\x09\x09\x09\x09\x09\x09'+await _0x344f32(_0x33ba8a)+'\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':_0x132482,[0x2===_0x47bd8f['version']?'config':'options']:_0x47bd8f['converterOptions']},_0x4db0ee={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/pdf',..._0xc9d30c?{'Authorization':_0xc9d30c['value']}:null,'x-cs-app-id':_0x47bd8f['appID']||'cke5'},'body':JSON['stringify'](_0x26b592)};return window['fetch'](_0x2a5161,_0x4db0ee)['then'](_0x1ff19e=>{if(0xc8!==_0x1ff19e['status'])throw _0x1ff19e;return _0x1ff19e['blob']();})['then'](_0x3c876a=>{_0x33ba8a['ui']['ariaLiveAnnouncer']['announce'](getTranslation$d(_0x33ba8a['locale'],'PDF\x20export\x20successful'));const _0x33d70a='function'==typeof _0x47bd8f['fileName']?_0x47bd8f['fileName']():_0x47bd8f['fileName'];this['_downloadFile'](_0x3c876a,_0x33d70a||'document.pdf');});})['catch'](_0x2e60d6=>{const _0x397d01=_0x33ba8a['plugins']['get']('Notification');throw _0x33ba8a['ui']['ariaLiveAnnouncer']['announce'](getTranslation$d(_0x33ba8a['locale'],'PDF\x20export\x20failed'),{'politeness':'assertive'}),_0x397d01['showWarning'](getTranslation$d(_0x33ba8a['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.')),_0x2e60d6;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x58eb98,_0x47eb53){const _0x925e43=document['createElement']('a');_0x925e43['href']=window['URL']['createObjectURL'](_0x58eb98),_0x925e43['download']=_0x47eb53,_0x925e43['click'](),_0x925e43['remove']();}}function prepareContentInlineStyle(_0x5308eb){return generatePageWidthStyle({'pageWidth':pageFormatToWidth(_0x5308eb?.['format']||'A4'),'marginLeft':_0x5308eb?.['margin_left'],'marginRight':_0x5308eb?.['margin_right']});}function prepareContentInlineStyleV2(_0x4d4a19){const _0x4245a4=_0x4d4a19?.['document']?.['margins'];return generatePageWidthStyle({'pageWidth':pageFormatToWidth(_0x4d4a19?.['document']?.['size']||'A4'),'marginLeft':_0x4245a4?.['left'],'marginRight':_0x4245a4?.['right']});}function generatePageWidthStyle({pageWidth:_0x291ab9,marginLeft:_0x4269f0,marginRight:_0x2c7e15}){return'width:calc('+[_0x291ab9,_0x4269f0,_0x2c7e15]['filter'](Boolean)['join']('\x20-\x20')+');';}function pageFormatToWidth(_0x1a213a){if('object'==typeof _0x1a213a&&'width'in _0x1a213a)return _0x1a213a['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']}[_0x1a213a['toLowerCase']()][0x0];}class ExportPdfUI extends ckeditor5['Plugin']{static get['pluginName'](){return'ExportPdfUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xc592ec=this['editor'];_0xc592ec['ui']['componentFactory']['add']('exportPdf',()=>{const _0x583d7d=this['_createButton'](ckeditor5['ButtonView']),_0x57fb53=_0xc592ec['commands']['get']('exportPdf');return _0x583d7d['set']({'tooltip':!0x0}),_0x583d7d['bind']('isOn')['to'](_0x57fb53,'isBusy'),_0x583d7d;}),_0xc592ec['ui']['componentFactory']['add']('menuBar:exportPdf',()=>this['_createButton'](ckeditor5['MenuBarMenuListItemButtonView']));}['_createButton'](_0xfa108a){const _0x1c851d=this['editor'],_0x2c3452=_0x1c851d['config']['get']('exportPdf')||{},_0x5b3a95=_0x1c851d['commands']['get']('exportPdf'),_0x257413=new _0xfa108a(_0x1c851d['locale']),_0x809142=new ckeditor5['SpinnerView']();return _0x257413['children']['add'](_0x809142),_0x809142['bind']('isVisible')['to'](_0x5b3a95,'isBusy'),_0x257413['iconView']['bind']('isVisible')['to'](_0x5b3a95,'isBusy',_0x294146=>!_0x294146),_0x257413['set']({'icon':ckeditor5['IconExportPdf']}),_0x257413['bind']('isEnabled')['to'](_0x5b3a95,'isEnabled'),_0x257413['bind']('label')['to'](_0x5b3a95,'isBusy',_0x5ee2df=>getTranslation$d(_0x1c851d['locale'],_0x5ee2df?'Exporting\x20PDF\x20document':'Export\x20to\x20PDF')),this['listenTo'](_0x257413,'execute',()=>{_0x1c851d['execute']('exportPdf',_0x2c3452),_0x1c851d['editing']['view']['focus']();}),_0x257413;}}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 _0x24ce60=this['editor'],_0x3022bb=_0x24ce60['config']['get']('exportPdf')||{};_0x24ce60['commands']['add']('exportPdf',new ExportPdfCommand(_0x24ce60));const _0x1db4d2=_0x24ce60['plugins']['get']('CloudServices');!0x1===_0x3022bb['tokenUrl']?this['_token']=null:_0x3022bb['tokenUrl']?_0x1db4d2['registerTokenUrl'](_0x3022bb['tokenUrl'])['then'](_0x33260d=>{this['_token']=_0x33260d;}):this['_token']=_0x1db4d2['token'];}}function getConverterOptions(_0x511c46,_0x183fea={}){const _0x251587=_0x511c46['plugins']['has']('Users'),_0x5b7a32=_0x511c46['plugins']['has']('CommentsRepository'),_0x30ce84=_0x511c46['plugins']['has']('TrackChanges'),_0x25c3ad=_0x183fea;if(_0x251587&&_0x5b7a32){const _0xf0b129=getComments(_0x511c46['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object['keys'](_0xf0b129)['length']&&(_0x25c3ad['comments']=_0xf0b129);}if(_0x251587&&_0x30ce84){const _0x1a3ce1=_0x511c46['plugins']['get']('TrackChanges'),_0x5c91c5=_0x511c46['plugins']['get']('Users'),_0x5d3a9b=getSuggestions(_0x1a3ce1['getSuggestions']({'toJSON':!0x0}),_0x5c91c5['users']);Object['keys'](_0x5d3a9b)['length']&&(_0x25c3ad['suggestions']=_0x5d3a9b);}return(_0x25c3ad['suggestions']||_0x25c3ad['comments'])&&(_0x25c3ad['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']),_0x25c3ad;}function getComments(_0x4c7506){const _0x1a0175={};if(!_0x4c7506['length'])return _0x1a0175;for(const _0x5a5c1e of _0x4c7506)_0x5a5c1e['comments']['map'](_0x24fb42=>{void 0x0===_0x1a0175[_0x5a5c1e['id']]&&(_0x1a0175[_0x5a5c1e['id']]=[]),_0x1a0175[_0x5a5c1e['id']]['push']({'author':_0x24fb42['author']['name'],'content':_0x24fb42['content'],'created':_0x24fb42['createdAt'],'is_resolved':_0x5a5c1e['isResolved']});});return _0x1a0175;}function getSuggestions(_0x3ec1e7,_0x4b6b8b){const _0x199190={};if(!_0x3ec1e7['length']||!_0x4b6b8b['length'])return _0x199190;for(const {id:_0x3ca269,createdAt:_0x516817,authorId:_0x393b2a,attributes:_0x522121}of _0x3ec1e7){const _0x57a08c=_0x522121&&_0x522121['@external'],_0x7c167a=_0x57a08c?_0x57a08c['authorName']:_0x4b6b8b['get'](_0x393b2a)['name'];_0x199190[_0x3ca269]={'author':_0x7c167a,'created':_0x516817};}return _0x199190;}function getConverterOptionsV2(_0x2ecd59,_0x1222d8={}){const _0x4a71f9=_0x2ecd59['plugins']['has']('Users'),_0x33dd71=_0x2ecd59['plugins']['has']('CommentsRepository'),_0x1d3e44=_0x2ecd59['plugins']['has']('TrackChanges'),_0x1c9526=_0x2ecd59['plugins']['has']('MergeFields'),_0x13f52c=_0x2ecd59['locale']['contentLanguage'],_0x34435f=_0x1222d8,_0x277ef7={};if(_0x34435f['document']=_0x34435f['document']||{},_0x34435f['document']['language']=_0x34435f['document']['language']||_0x13f52c,_0x4a71f9&&_0x33dd71){const _0x73c24e=getCommentsV2(_0x2ecd59['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x73c24e['length']&&(_0x277ef7['comment_threads']=_0x73c24e);}if(_0x4a71f9&&_0x1d3e44){const _0x13460a=_0x2ecd59['plugins']['get']('TrackChanges'),_0x38c8be=_0x2ecd59['plugins']['get']('Users'),_0x49f496=getSuggestionsV2(_0x13460a['getSuggestions']({'toJSON':!0x0}),_0x38c8be['users']);_0x49f496['length']&&(_0x277ef7['suggestions']=_0x49f496);}if(_0x1c9526){const _0x3db941=_0x2ecd59['plugins']['get']('MergeFieldsEditing'),_0x4a9e0f=_0x3db941['previewMode'],{prefix:_0x38a628,suffix:_0x2b9c4}=_0x2ecd59['config']['get']('mergeFields');if(_0x34435f['merge_fields']={'prefix':_0x38a628,'suffix':_0x2b9c4},'$labels'!==_0x4a9e0f){_0x34435f['merge_fields']['data']={};const _0x5cb626='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x5e0116='$defaultValues'===_0x4a9e0f?_0x3db941['getDefaultValues']():_0x3db941['getDataSetValues'](_0x4a9e0f,!0x0);for(const _0x275bff of Object['entries'](_0x5e0116)){const [_0x3c8128,_0x29fd04]=_0x275bff;'image'===_0x3db941['getMergeFieldType'](_0x3c8128)?_0x34435f['merge_fields']['data'][_0x3c8128]=null!==_0x29fd04?_0x29fd04:_0x5cb626:_0x34435f['merge_fields']['data'][_0x3c8128]=null!==_0x29fd04?_0x29fd04:_0x3db941['getLabel'](_0x3c8128)||_0x3c8128;}}}return(_0x277ef7['comment_threads']||_0x277ef7['suggestions'])&&(_0x34435f['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'],_0x34435f['collaboration_features']=_0x277ef7),_0x34435f;}function getCommentsV2(_0x4dfa41){const _0x247981=[];if(!_0x4dfa41['length'])return _0x247981;for(const _0x328c45 of _0x4dfa41){const _0x4b48e8=_0x328c45['comments']['map'](_0x308b46=>({'author':_0x308b46['author']['name'],'content':_0x308b46['content'],'created_at':_0x308b46['createdAt']}));_0x247981['push']({'thread_id':_0x328c45['id'],'is_resolved':_0x328c45['isResolved'],'comments':_0x4b48e8});}return _0x247981;}function getSuggestionsV2(_0x48cd01,_0x5d29dd){return _0x48cd01['length']&&_0x5d29dd['length']?_0x48cd01['map'](({id:_0x2f375e,createdAt:_0x27872a,authorId:_0x2ebae9,attributes:_0x39afc7})=>{const _0x15f2e1=_0x39afc7&&_0x39afc7['@external'];return{'id':_0x2f375e,'author':_0x15f2e1?_0x15f2e1['authorName']:_0x5d29dd['get'](_0x2ebae9)['name'],'created_at':_0x27872a};}):[];}function getTranslation$c(_0x5e5d4f,_0x4231ce){const t=_0x5e5d4f['t'];switch(_0x4231ce){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 _0x4231ce;}}const _0x51c691='https://docx-converter.cke-cs.com/v1/convert',_0x244a56='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(_0x428f28){super(_0x428f28),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x3118fc={}){const _0xdf21aa=this['editor'],_0xced100=_0x3118fc['version']||0x2,_0xac79f1=0x1===_0xced100,_0x547f1f=_0x3118fc['converterUrl']||(_0xac79f1?_0x51c691:_0x244a56),_0x3b46fa=_0x3118fc['converterOptions']||{},_0x404f28=_0xdf21aa['plugins']['get']('ExportWord'),_0x38d9cf=_0x3118fc['token']||_0x404f28['_token'],_0x3c3911=!0x0===_0x3b46fa['auto_pagination'],_0x234518=_0x3118fc['dataCallback']||(_0x392aca=>_0x392aca['data']['get']({'pagination':_0x3c3911}));return 0x2===_0xced100&&_0x4f9eb1(_0x3b46fa)&&ckeditor5['logWarning']('export-word-v1-api-is-deprecated'),this['isBusy']=!0x0,this['refresh'](),ckeditor5['collectStylesheets'](_0x3118fc['stylesheets']||['EDITOR_STYLES'])['then'](async _0x1352d6=>{_0xdf21aa['ui']['ariaLiveAnnouncer']['announce'](getTranslation$c(_0xdf21aa['locale'],'Word\x20document\x20export\x20started'));const _0x12d809=await _0x234518(_0xdf21aa),_0x321111={'html':'<div\x20class=\x22ck-content\x22\x20dir=\x22'+_0xdf21aa['locale']['contentLanguageDirection']+'\x22>'+_0x12d809+'</div>','css':_0x1352d6,[_0xac79f1?'options':'config']:{..._0x3b46fa,..._0xac79f1?getConverterOptions(_0xdf21aa,_0x3b46fa):getConverterOptionsV2(_0xdf21aa,_0x3b46fa)}},_0xa775be={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/docx',..._0x38d9cf?{'Authorization':_0x38d9cf['value']}:null},'body':JSON['stringify'](_0x321111)};return window['fetch'](_0x547f1f,_0xa775be)['then'](_0x4a7d31=>{if(0xc8!==_0x4a7d31['status'])throw _0x4a7d31;return _0x4a7d31['blob']();})['then'](_0x420646=>{_0xdf21aa['ui']['ariaLiveAnnouncer']['announce'](getTranslation$c(_0xdf21aa['locale'],'Word\x20document\x20export\x20successful'));const _0x5ec194='function'==typeof _0x3118fc['fileName']?_0x3118fc['fileName']():_0x3118fc['fileName'];this['_downloadFile'](_0x420646,_0x5ec194||'document.docx');});})['catch'](_0x1edbb2=>{const _0x2c48c5=_0xdf21aa['plugins']['get']('Notification');throw _0xdf21aa['ui']['ariaLiveAnnouncer']['announce'](getTranslation$c(_0xdf21aa['locale'],'Word\x20document\x20export\x20failed'),{'politeness':'assertive'}),_0x2c48c5['showWarning'](getTranslation$c(_0xdf21aa['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.')),_0x1edbb2;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x19d6fe,_0x5f4655){const _0x39de10=document['createElement']('a');_0x39de10['href']=window['URL']['createObjectURL'](_0x19d6fe),_0x39de10['download']=_0x5f4655,_0x39de10['click'](),_0x39de10['remove']();}}function _0x4f9eb1(_0x3d3b0c){for(const _0x227f8d of firstVersionApiKeys)if(void 0x0!==_0x3d3b0c[_0x227f8d])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 _0x56210d=this['editor'];_0x56210d['ui']['componentFactory']['add']('exportWord',()=>{const _0x6d410b=_0x56210d['commands']['get']('exportWord'),_0x2043ea=this['_createButton'](ckeditor5['ButtonView']);return _0x2043ea['set']({'tooltip':!0x0}),_0x2043ea['bind']('isOn')['to'](_0x6d410b,'isBusy'),_0x2043ea;}),_0x56210d['ui']['componentFactory']['add']('menuBar:exportWord',()=>this['_createButton'](ckeditor5['MenuBarMenuListItemButtonView']));}['_createButton'](_0x412b5b){const _0x2095ae=this['editor'],_0x53a649=_0x2095ae['config']['get']('exportWord')||{},_0xbbaf0c=_0x2095ae['commands']['get']('exportWord'),_0x327969=new _0x412b5b(_0x2095ae['locale']),_0x247dcd=new ckeditor5['SpinnerView']();return _0x327969['children']['add'](_0x247dcd),_0x247dcd['bind']('isVisible')['to'](_0xbbaf0c,'isBusy'),_0x327969['iconView']['bind']('isVisible')['to'](_0xbbaf0c,'isBusy',_0x2e3bf5=>!_0x2e3bf5),_0x327969['set']({'icon':ckeditor5['IconExportWord']}),_0x327969['bind']('isEnabled')['to'](_0xbbaf0c,'isEnabled'),_0x327969['bind']('label')['to'](_0xbbaf0c,'isBusy',_0x4d6b2f=>getTranslation$c(_0x2095ae['locale'],_0x4d6b2f?'Exporting\x20Word\x20document':'Export\x20to\x20Word')),this['listenTo'](_0x327969,'execute',()=>{_0x2095ae['execute']('exportWord',_0x53a649),_0x2095ae['editing']['view']['focus']();}),_0x327969;}}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 _0x2c7968=this['editor'],_0x2457b4=_0x2c7968['config']['get']('exportWord')||{};_0x2c7968['commands']['add']('exportWord',new ExportWordCommand(_0x2c7968));const _0xb96700=_0x2c7968['plugins']['get']('CloudServices');!0x1===_0x2457b4['tokenUrl']?this['_token']=null:_0x2457b4['tokenUrl']?_0xb96700['registerTokenUrl'](_0x2457b4['tokenUrl'])['then'](_0x492e2f=>{this['_token']=_0x492e2f;}):this['_token']=_0xb96700['token'];}}class ModelElementTracker{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x5bbe43,_0x4bc43a){this['_model']=_0x5bbe43,this['_elementName']=_0x4bc43a['elementName'],this['_getElementKey']=_0x4bc43a['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x3d7ce6){const _0x4b5b6c=new Set(),_0x342b48=new Map();for(const _0x16a7e5 of _0x3d7ce6){if('insert'===_0x16a7e5['type']&&'$text'!==_0x16a7e5['name']&&_0x16a7e5['position']['nodeAfter']){const _0x107aed=this['_model']['createRangeOn'](_0x16a7e5['position']['nodeAfter']);for(const _0x3ff27b of _0x107aed['getItems']()){if(!_0x3ff27b['is']('element',this['_elementName']))continue;const _0x2a0abd=this['_getElementKey'](_0x3ff27b);_0x342b48['has'](_0x2a0abd)||_0x342b48['set'](_0x2a0abd,[]),_0x342b48['get'](_0x2a0abd)['push'](_0x3ff27b);}}if('remove'===_0x16a7e5['type']&&_0x16a7e5['name']===this['_elementName']){const _0x32c258=this['_getElementKey']({'getAttribute':_0x27e3ce=>_0x16a7e5['attributes']['get'](_0x27e3ce)});_0x4b5b6c['add'](_0x32c258);}}for(const [_0x39aa0a,_0x15f603]of this['_trackedElements'])'$graveyard'===_0x15f603['root']['rootName']&&_0x4b5b6c['add'](_0x39aa0a);for(const _0x1828cb of _0x4b5b6c)this['_trackedElements']['delete'](_0x1828cb);for(const [_0x4a252f,_0x35385a]of _0x342b48)this['_trackedElements']['set'](_0x4a252f,_0x35385a[_0x35385a['length']-0x1]);const _0x11f43a=new Set();for(const [_0x1b5745,_0x476fa2]of _0x342b48)_0x4b5b6c['has'](_0x1b5745)&&(_0x11f43a['add'](_0x476fa2[0x0]),_0x476fa2['length']>0x1?_0x342b48['set'](_0x1b5745,_0x476fa2['slice'](0x1)):_0x342b48['delete'](_0x1b5745),_0x4b5b6c['delete'](_0x1b5745));return{'removed':Array['from'](_0x4b5b6c),'inserted':Array['from'](_0x342b48['values']())['flat'](),'moved':Array['from'](_0x11f43a)};}}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(_0x1b0a5a){super(_0x1b0a5a),this['_footnoteDefsContainerTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x55420d=>_0x55420d['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x5910e4=>_0x5910e4['getAttribute']('footnoteId')});}['init'](){const {editor:_0x394884}=this,{model:_0x20f2c4,data:_0x396ea8}=_0x394884;_0x20f2c4['document']['registerPostFixer'](_0x2ee566=>{const _0x41916b=_0x20f2c4['document']['differ']['getChanges']();let _0xa49d8=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x2ee566,_0x41916b)&&(_0xa49d8=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x2ee566,_0x41916b)&&(_0xa49d8=!0x0),this['_handleFootnoteReferencesChanges'](_0x2ee566,_0x41916b)&&(_0xa49d8=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x2ee566)&&(_0xa49d8=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x2ee566)&&(_0xa49d8=!0x0),this['_sortFootnoteDefinitions'](_0x2ee566)&&(_0xa49d8=!0x0),_0xa49d8;}),this['listenTo'](_0x20f2c4['document'],'change:data',()=>{_0x20f2c4['enqueueChange']({'isUndoable':!0x1},_0x268113=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x268113);});},{'priority':'low'}),this['listenTo'](_0x396ea8,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x283a31){return this['_footnotes']['find'](_0x577ac0=>_0x577ac0['id']===_0x283a31)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x65095b){this['_footnoteFormatter']=_0x65095b;}['_updateFootnotesCounters'](_0x251b69,_0x28e509=0x0){let _0x2de153=!0x1;for(let _0x31346a=_0x28e509;_0x31346a<this['_footnotes']['length'];_0x31346a++)this['_updateFootnoteRefCounter'](_0x251b69,_0x31346a)&&(_0x2de153=!0x0);return _0x2de153;}['_insertEmptyFootnotesDefinitionsContainer'](_0x23bfbb,_0x135a8d){const _0x1a863e=_0x23bfbb['createElement']('footnotesDefinitions',{});return _0x23bfbb['append'](_0x1a863e,_0x135a8d),this['_footnotesDefinitions']=_0x1a863e,_0x1a863e;}['_ensureFootnotesDefinitionsContainerExists'](_0x35d85a){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x2c165d=this['_footnotes'][0x0]['reference']['root'],_0x56026f=this['_insertEmptyFootnotesDefinitionsContainer'](_0x35d85a,_0x2c165d);for(const _0x1f5552 of this['_footnotes'])_0x1f5552['definition']['parent']||_0x35d85a['insert'](_0x1f5552['definition'],_0x56026f,'end');this['_updateFootnotesCounters'](_0x35d85a);}['_handleFootnotesDefinitionsObjectChanges'](_0x46b890,_0xbc9b10){let _0x1b57ef=!0x1;const {inserted:_0x5b7273,removed:_0x243f9d,moved:_0x1d04ad}=this['_footnoteDefsContainerTracker']['getChanges'](_0xbc9b10);if(_0x1d04ad['length']&&(this['_footnotesDefinitions']=_0x1d04ad[0x0]),_0x5b7273['length']){if(_0x5b7273['length']>0x1||this['_footnotesDefinitions']&&_0x5b7273['some'](_0x38e158=>_0x38e158!==this['_footnotesDefinitions'])){const _0x285166=_0x46b890['createElement']('footnotesDefinitions',{}),_0x56b4cd=[];this['_footnotesDefinitions']&&_0x56b4cd['push'](this['_footnotesDefinitions']),_0x56b4cd['push'](..._0x5b7273),_0x46b890['insert'](_0x285166,_0x56b4cd[0x0],'before');for(const _0x4662f0 of _0x56b4cd)_0x46b890['move'](_0x46b890['createRangeIn'](_0x4662f0),_0x46b890['createPositionAt'](_0x285166,'end')),_0x46b890['remove'](_0x4662f0);this['_footnotesDefinitions']=_0x285166,this['_updateFootnotesCounters'](_0x46b890),_0x1b57ef=!0x0;}else this['_footnotesDefinitions']=_0x5b7273[0x0];}if(_0x243f9d['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x4b291e of this['_footnotes'])_0x46b890['remove'](_0x4b291e['reference']),_0x1b57ef=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x1b57ef;}['_handleFootnoteDefinitionsChanges'](_0x4fe20e,_0x139f9f){let _0x35eeb4=!0x1;const _0x2a419d=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x5afb16,moved:_0x24d133}=this['_footnoteDefsTracker']['getChanges'](_0x139f9f);for(const _0x746f0a of[..._0x24d133,..._0x5afb16]){const _0xa929d3=_0x746f0a['getAttribute']('footnoteId'),_0x33178f=this['getFootnote'](_0xa929d3);_0x33178f&&(_0x33178f['definition']=_0x746f0a),ensureDefinitionIsNotEmpty(_0x4fe20e,_0x2a419d,_0x746f0a)&&(_0x35eeb4=!0x0);}return _0x35eeb4;}['_handleFootnoteReferencesChanges'](_0x5251d8,_0x4f2b17){let _0x50aeb3=!0x1;const {removed:_0x1b046d,inserted:_0x3f5593,moved:_0x2abfbb}=this['_footnoteRefsTracker']['getChanges'](_0x4f2b17);for(const _0x14d2b6 of _0x1b046d)this['_handleRemoveFootnoteReferenceById'](_0x5251d8,_0x14d2b6)&&(_0x50aeb3=!0x0);for(const _0x5c2ff3 of _0x3f5593)this['_handleInsertedFootnoteReference'](_0x5251d8,_0x5c2ff3)&&(_0x50aeb3=!0x0);for(const _0x3cc4c2 of _0x2abfbb)this['_handleMovedFootnoteReference'](_0x5251d8,_0x3cc4c2)&&(_0x50aeb3=!0x0);return _0x50aeb3;}['_handleFootnotesDefinitionsObjectSync'](_0x8c3d2e){if(!this['_footnotesDefinitions'])return!0x1;let _0x1f6936=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x261ead=[];for(const _0x2d43e8 of this['_footnotesDefinitions']['getChildren']()){const _0x1cfd9a=_0x2d43e8['getAttribute']('footnoteId');this['getFootnote'](_0x1cfd9a)||(_0x261ead['unshift'](_0x2d43e8),_0x1f6936=!0x0);}for(const _0x9d48f9 of _0x261ead)_0x8c3d2e['remove'](_0x9d48f9);}const _0x3ba856=new Set(),_0x1a144f=[];for(const _0xdcee80 of this['_footnotesDefinitions']['getChildren']()){const _0x549080=_0xdcee80['getAttribute']('footnoteId');_0x3ba856['has'](_0x549080)?(_0x1a144f['unshift'](_0xdcee80),_0x1f6936=!0x0):_0x3ba856['add'](_0x549080);}for(const _0x2cba82 of _0x1a144f)_0x8c3d2e['remove'](_0x2cba82);return this['_footnotesDefinitions']['childCount']||(_0x8c3d2e['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x1f6936=!0x0),_0x1f6936;}['_handleInsertedFootnoteReference'](_0x331920,_0x30aae4){if(this['_footnotes']['find'](_0x5467d9=>_0x5467d9['reference']===_0x30aae4))return!0x1;let _0x245dd7=!0x1;const _0x4ad6a9=_0x30aae4['getAttribute']('footnoteId'),_0x89655=this['_footnotes']['findIndex'](_0x2946fb=>_0x2946fb['id']===_0x4ad6a9);-0x1!==_0x89655&&(_0x331920['remove'](this['_footnotes'][_0x89655]['reference']),this['_footnotes']['splice'](_0x89655,0x1),_0x245dd7=!0x0);let _0x301bb6=this['_footnotesDefinitions']?findFootnoteDefinitionInContainer(this['_footnotesDefinitions'],_0x4ad6a9):null;_0x301bb6||(_0x301bb6=_0x331920['createElement']('footnoteDefinition',{'footnoteId':_0x4ad6a9}),this['_footnotesDefinitions']&&(_0x331920['insert'](_0x301bb6,this['_footnotesDefinitions'],'end'),_0x245dd7=!0x0));const _0x1e7864={'id':_0x4ad6a9,'reference':_0x30aae4,'definition':_0x301bb6},_0x17d2cb=findInsertFootnoteReferenceIndex(this['editor']['model'],this['_footnotes'],_0x30aae4);this['_footnotes']['splice'](_0x17d2cb,0x0,_0x1e7864);let _0x32971a=_0x17d2cb;return-0x1!==_0x89655&&(_0x32971a=Math['min'](_0x17d2cb,_0x89655)),this['_updateFootnotesCounters'](_0x331920,_0x32971a)&&(_0x245dd7=!0x0),_0x245dd7;}['_handleRemoveFootnoteReferenceById'](_0x30cc85,_0x450163){const _0x1c37af=this['_footnotes']['findIndex'](_0x551916=>_0x551916['id']===_0x450163);if(-0x1===_0x1c37af)return!0x1;let _0x1f7a72=!0x1;const _0x407c7c=this['_footnotes'][_0x1c37af];return'$graveyard'!==_0x407c7c['definition']['root']['rootName']&&(_0x30cc85['remove'](_0x407c7c['definition']),_0x1f7a72=!0x0),this['_footnotes']['splice'](_0x1c37af,0x1),this['_updateFootnotesCounters'](_0x30cc85,_0x1c37af)&&(_0x1f7a72=!0x0),_0x1f7a72;}['_handleMovedFootnoteReference'](_0x5068b1,_0x3d3709){const _0x4fd7e0=_0x3d3709['getAttribute']('footnoteId'),_0x3b3b5b=this['_footnotes']['findIndex'](_0x1a13fe=>_0x1a13fe['id']===_0x4fd7e0),_0x3ed63c=this['_footnotes'][_0x3b3b5b];let _0x4d4a6e=!0x1;_0x3ed63c['reference']=_0x3d3709,this['_footnotes']['splice'](_0x3b3b5b,0x1);const _0x43c93a=findInsertFootnoteReferenceIndex(this['editor']['model'],this['_footnotes'],_0x3d3709);return this['_footnotes']['splice'](_0x43c93a,0x0,_0x3ed63c),this['_updateFootnotesCounters'](_0x5068b1,Math['min'](_0x3b3b5b,_0x43c93a))&&(_0x4d4a6e=!0x0),_0x4d4a6e;}['_updateFootnoteRefCounter'](_0x3a885c,_0x1d01fd){if(!this['_footnotesDefinitions'])return!0x1;const _0x53e9f8=this['_footnotes'][_0x1d01fd];let _0x24ff6f;return _0x24ff6f=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x53e9f8,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x1d01fd+0x1}):String(_0x1d01fd+0x1),_0x53e9f8['reference']['getAttribute']('footnoteCounter')!=_0x24ff6f&&(_0x3a885c['setAttribute']('footnoteCounter',_0x24ff6f,_0x53e9f8['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x725edb){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(_0x27956c(this['_footnotes']['map'](_0x100f85=>_0x100f85['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x35be26=>_0x35be26['getAttribute']('footnoteId'))))return!0x1;let _0x4fbb00=!0x1;for(let _0x27a8a2=0x0;_0x27a8a2<this['_footnotes']['length'];_0x27a8a2++){const _0x36479a=this['_footnotes'][_0x27a8a2],_0x5cec42=_0x725edb['createPositionBefore'](_0x36479a['definition']),_0x5be8d4=_0x725edb['createPositionAt'](this['_footnotesDefinitions'],_0x27a8a2);_0x5cec42['isEqual'](_0x5be8d4)||(_0x725edb['move'](_0x725edb['createRangeOn'](_0x36479a['definition']),_0x5be8d4),_0x4fbb00=!0x0);}return _0x4fbb00;}['_ensureFootnotesReferencesHaveProperOrder'](_0x91f25b){if(!this['_footnotes']['length'])return!0x1;const {model:_0x20eb83}=this['editor'];let _0x11ac74=!0x1;for(let _0x2637a0=0x0;_0x2637a0<this['_footnotes']['length']-0x1;_0x2637a0++){const _0x4f042b=this['_footnotes'][_0x2637a0],_0x2a9f82=this['_footnotes'][_0x2637a0+0x1],_0x377a73=_0x20eb83['createPositionBefore'](_0x4f042b['reference']),_0x575034=_0x20eb83['createPositionBefore'](_0x2a9f82['reference']);'after'===_0x377a73['compareWith'](_0x575034)&&(this['_handleMovedFootnoteReference'](_0x91f25b,_0x4f042b['reference']),_0x2637a0=-0x1,_0x11ac74=!0x0);}return _0x11ac74;}}function ensureDefinitionIsNotEmpty(_0x3d6242,_0x2c223c,_0x3042ad){if(_0x3042ad['childCount'])return!0x1;const _0x30a596=_0x2c223c?'paragraph':'footnoteInlineContent';return _0x3d6242['insert'](_0x3d6242['createElement'](_0x30a596),_0x3042ad),!0x0;}function findFootnoteDefinitionInContainer(_0x1aa131,_0x380ba3){for(const _0x3edc21 of _0x1aa131['getChildren']())if(_0x3edc21['getAttribute']('footnoteId')===_0x380ba3)return _0x3edc21;return null;}function findInsertFootnoteReferenceIndex(_0x35a42e,_0x53226f,_0x22566e){if(0x0===_0x53226f['length'])return 0x0;const _0x245b8d=_0x35a42e['createPositionBefore'](_0x22566e);for(let _0x3198f5=0x0;_0x3198f5<_0x53226f['length'];_0x3198f5++){const _0x46b7b4=_0x53226f[_0x3198f5],_0x1ae0c2=_0x35a42e['createPositionBefore'](_0x46b7b4['reference']);if('before'===_0x245b8d['compareWith'](_0x1ae0c2))return _0x3198f5;}const _0x2c2c16=_0x22566e['root'];let _0x1f0c07=-0x1;for(let _0x1dc20c=_0x53226f['length']-0x1;_0x1dc20c>=0x0;_0x1dc20c--)if(_0x53226f[_0x1dc20c]['reference']['root']===_0x2c2c16){_0x1f0c07=_0x1dc20c;break;}if(-0x1!==_0x1f0c07)return _0x1f0c07+0x1;const _0xcfa0f5=_0x35a42e['document']['getRootNames'](),_0xc8b950=_0xcfa0f5['indexOf'](_0x2c2c16['rootName']),_0x183492=_0xcfa0f5[_0xc8b950+0x1];if(_0x183492){for(let _0x3dae32=0x0;_0x3dae32<_0x53226f['length'];_0x3dae32++)if(_0x53226f[_0x3dae32]['reference']['root']['rootName']===_0x183492)return _0x3dae32;}return _0x53226f['length'];}function _0x27956c(_0x433eb1,_0x35f63d){if(_0x433eb1['length']!==_0x35f63d['length'])return!0x1;for(let _0x4b69c8=0x0;_0x4b69c8<_0x433eb1['length'];_0x4b69c8++)if(_0x433eb1[_0x4b69c8]!==_0x35f63d[_0x4b69c8])return!0x1;return!0x0;}class InsertFootnoteCommand extends ckeditor5['Command']{['refresh'](){const _0x27225b=this['editor']['model']['document']['selection'],_0x290ab0=this['_getPositionToInsertFootnote'](_0x27225b);this['isEnabled']=!!_0x290ab0;}['execute'](_0x36052d){const {editor:_0xf4706c}=this,{model:_0x4532e3}=_0xf4706c,{selection:_0x3887f3}=_0x4532e3['document'],_0x244bec=this['_getPositionToInsertFootnote'](_0x3887f3);if(!_0x244bec)return;const _0x321904=_0xf4706c['plugins']['get']('FootnotesEditing'),_0x1adf16=_0x36052d?.['footnoteId']??ckeditor5['uid']();isFootnoteIdValid(_0x1adf16)?(_0x4532e3['change'](_0x52a8b6=>{const _0x4f5970=_0x52a8b6['createElement']('footnoteRef',{'footnoteId':_0x1adf16});_0x4532e3['insertObject'](_0x4f5970,_0x244bec,null);}),_0x321904['_moveSelectionToFootnoteDefinition'](_0x1adf16)):ckeditor5['logWarning']('insert-footnote-command-executed-with-invalid-id');}['_getPositionToInsertFootnote'](_0x4fe728){const {model:_0x46d727}=this['editor'],{schema:_0x5493c1}=_0x46d727,_0x1fdd3e=_0x4fe728['getFirstRange']();for(const _0x1f9e7d of _0x1fdd3e['getItems']())if(_0x5493c1['isBlock'](_0x1f9e7d)||_0x5493c1['isObject'](_0x1f9e7d))return null;const _0x4b2dc3=_0x1fdd3e['end'];return _0x5493c1['checkChild'](_0x4b2dc3,'footnoteRef')?_0x4b2dc3:null;}}function isFootnoteIdValid(_0x459023){return'string'==typeof _0x459023&&_0x459023['length']>0x0&&!/\s/['test'](_0x459023)&&!/^\d/['test'](_0x459023);}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:_0x166560}=this;_0x166560['config']['define']('footnotes.multiBlock',!0x0),_0x166560['commands']['add']('insertFootnote',new InsertFootnoteCommand(_0x166560)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){_0x333f7b(this);}['_moveSelectionToFootnoteDefinition'](_0x4deef4){const {plugins:_0xde017f,editing:_0x393c0d,model:_0x57cab7}=this['editor'],_0x36ab3b=_0xde017f['get'](FootnotesTracker)['getFootnote'](_0x4deef4);return!!_0x36ab3b&&(_0x57cab7['change'](_0x46dcb1=>{_0x46dcb1['setSelection'](_0x46dcb1['createPositionAt'](_0x36ab3b['definition'],'end'));}),_0x393c0d['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x25692b){const {plugins:_0x50ebb9,editing:_0x4c031d,model:_0x40cb27}=this['editor'],_0xf2a0f2=_0x50ebb9['get'](FootnotesTracker)['getFootnote'](_0x25692b);return!!_0xf2a0f2&&(_0x40cb27['change'](_0x337bbc=>{_0x337bbc['setSelection'](_0xf2a0f2['reference'],'on');}),_0x4c031d['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x5e23e5}=this['editor']['model'],_0x43ef63=this['editor']['config']['get']('footnotes.multiBlock');_0x5e23e5['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x5e23e5['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x5e23e5['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x43ef63?_0x5e23e5['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x5e23e5['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x5e23e5['addChildCheck'](_0x3821f9=>{for(const _0x388640 of _0x3821f9)if('footnoteDefinition'===_0x388640['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x1ba8a4}=this,{conversion:_0x3f6f67,editing:_0x39284d}=_0x1ba8a4,{t:t}=_0x1ba8a4['locale'];_0x3f6f67['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x529d88,{writer:_0xe044c9,consumable:_0x297848})=>{const _0x6236dc=_0x529d88['getChild'](0x0);if(!_0x6236dc||!_0x6236dc['is']('element','a'))return null;const _0x2f4520=_0x6236dc['getAttribute']('href')||'';if(!_0x2f4520['startsWith']('#'))return null;const _0x13b903=_0x2f4520['replace'](/^#/,'');if(!_0x13b903)return null;_0x297848['consume'](_0x6236dc,{'name':!0x0,'attributes':['href']});for(const {item:_0x41d9d9}of _0x39284d['view']['createRangeIn'](_0x6236dc))_0x41d9d9['is']('$textProxy')?_0x297848['consume'](_0x41d9d9['textNode'],{'name':!0x0}):_0x41d9d9['is']('element')&&_0x297848['consume'](_0x41d9d9,{'name':!0x0});return _0xe044c9['createElement']('footnoteRef',{'footnoteId':_0x13b903});}}),_0x3f6f67['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xa6ab7b,{writer:_0x2341ce})=>createFootnoteRefView(_0xa6ab7b,_0x2341ce)}),_0x3f6f67['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1458ca,{writer:_0x1870d2})=>{const _0x5e016a=_0x1458ca['getAttribute']('footnoteCounter');return ckeditor5['toWidget'](createFootnoteRefView(_0x1458ca,_0x1870d2),_0x1870d2,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x5e016a)});}});}['_defineDefinitionsConverters'](){const {editor:_0x4e8814}=this,{t:t}=_0x4e8814['locale'],{conversion:_0x3c8ba9}=_0x4e8814;_0x3c8ba9['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x3c8ba9['for']('upcast')['add'](_0x1e745e=>{_0x1e745e['on']('element:ol',(_0x9fbf24,_0x42e72b,_0x520fa1)=>{const _0x328493=_0x42e72b['viewItem'];if(!_0x328493['hasClass']('footnotes-list')||!_0x42e72b['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x520fa1['consumable']['consume'](_0x328493,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x31762d,modelCursor:_0x33e06d}=_0x520fa1['convertChildren'](_0x42e72b['viewItem'],_0x42e72b['modelCursor']);_0x42e72b['modelRange']=_0x31762d,_0x42e72b['modelCursor']=_0x33e06d;}),_0x1e745e['on']('element:hr',(_0x48176c,_0x45a4e9,_0x1d8719)=>{const _0x1e24fb=_0x45a4e9['viewItem'];_0x1e24fb['hasClass']('footnotes-divider')&&_0x45a4e9['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x1d8719['consumable']['consume'](_0x1e24fb,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x3c8ba9['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xd36567,{writer:_0xa2b513})=>createFootnotesWrapperView(_0xa2b513)}),_0x3c8ba9['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3bcb57,{writer:_0x3518b9})=>{const _0x1582f6=createFootnotesWrapperView(_0x3518b9,{'data-footnotes-list-label':t('Footnotes')}),_0x1d2304=ckeditor5['toWidget'](_0x1582f6,_0x3518b9,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x3518b9['setCustomProperty']('footnotesDefinitions',!0x0,_0x1d2304),_0x1d2304;}});}['_defineDefinitionConverters'](){const {editor:_0x3c8850}=this,{conversion:_0x278cd5,locale:_0x30c634}=_0x3c8850,_0xcc4b74=_0x3c8850['config']['get']('footnotes.multiBlock');_0x278cd5['for']('upcast')['add'](_0x63a68=>{_0x63a68['on']('element:li',(_0x9e409e,_0x44c8c5,_0x13490d)=>{const _0x5e4fcd=_0x44c8c5['viewItem'];if(!_0x5e4fcd['hasClass']('footnote-definition')||!_0x5e4fcd['getAttribute']('id'))return;const _0x271836=_0x5e4fcd['parent'];if(!_0x271836['is']('element','ol')||!_0x271836['hasClass']('footnotes-list'))return;if(!_0x13490d['consumable']['test'](_0x5e4fcd,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x25b836=_0x13490d['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x5e4fcd['getAttribute']('id')});if(!_0x13490d['safeInsert'](_0x25b836,_0x44c8c5['modelCursor']))return;_0x13490d['consumable']['consume'](_0x5e4fcd,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x34f095=Array['from'](_0x5e4fcd['getChildren']())['find'](_0x107140=>_0x107140['is']('element')&&_0x107140['hasClass']('footnote-content'));for(const _0x64980f of _0x5e4fcd['getChildren']())_0x64980f['is']('element')&&(_0x13490d['consumable']['consume'](_0x64980f,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x13490d['consumable']['consume'](_0x64980f,{'name':!0x0,'classes':'footnote-content'}));if(_0x34f095){if(_0xcc4b74)_0x13490d['convertChildren'](_0x34f095,_0x25b836);else{const _0x49ad2e=_0x13490d['writer']['createElement']('footnoteInlineContent');_0x13490d['writer']['insert'](_0x49ad2e,_0x25b836),_0x13490d['convertChildren'](_0x34f095,_0x49ad2e);}}_0x13490d['updateConversionResult'](_0x25b836,_0x44c8c5);});}),_0x278cd5['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x265e43,{writer:_0x763744})=>createFootnoteDefinitionView(_0x265e43,_0x763744,_0x30c634,{'dataPipeline':!0x0})}),_0x278cd5['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x460f68,{writer:_0x2918cc})=>createFootnoteDefinitionView(_0x460f68,_0x2918cc,_0x30c634)});}['_defineBogusParagraphConverters'](){const {editor:_0x29210d}=this,{conversion:_0x180e86}=_0x29210d;_0x29210d['config']['get']('footnotes.multiBlock')?(_0x180e86['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':footnoteBogusParagraphCreator(),'converterPriority':'high'}),_0x180e86['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':footnoteBogusParagraphCreator({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x29210d['model']['document'],'change:data',()=>{footnoteDefinitionRefreshHandler(_0x29210d['model'],_0x29210d['editing']);})):(_0x180e86['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':footnoteBogusParagraphCreator()}),_0x180e86['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x28fa38,{writer:_0x221932})=>{const _0x3c8b09=_0x221932['createContainerElement']('span');return _0x221932['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3c8b09),_0x3c8b09;}}));}['_defineKeyboardHandlers'](){const {editor:_0x35ee05}=this,{editing:_0x2a90c2,t:t}=_0x35ee05,_0x3fcd19=_0x35ee05['model']['document']['selection'];_0x35ee05['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x35ee05['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x2a90c2['view']['document'],'enter',(_0x4ca738,_0x33ac4e)=>{const _0x20d37e=getSelectedFootnoteRef(_0x3fcd19);if(_0x20d37e){const _0x1944ec=_0x20d37e['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1944ec),_0x33ac4e['preventDefault'](),_0x4ca738['stop']();}},{'context':ckeditor5['isWidget']});}['_defineClickHandlers'](){const {editor:_0x2537db}=this,{editing:_0x188b27}=_0x2537db;_0x2537db['editing']['view']['addObserver'](ckeditor5['PointerObserver']),_0x2537db['editing']['view']['addObserver'](ckeditor5['ClickObserver']);let _0x5bff3b=!0x1;this['listenTo'](_0x188b27['view']['document'],'pointerdown',(_0x3f0530,_0x1ff595)=>{const {target:_0x5d264f}=_0x1ff595,_0x36e325=_0x188b27['view']['document']['selection'];_0x5bff3b=!!(_0x5d264f?.['is']('element','a')&&_0x5d264f['parent']?.['is']('element','sup')&&_0x5d264f['parent']['hasClass']('footnote'))&&_0x36e325['getSelectedElement']()===_0x5d264f['parent'];},{'priority':'high'}),this['listenTo'](_0x188b27['view']['document'],'click',(_0x2ed51a,_0x2197f3)=>{const {target:_0x2779c4}=_0x2197f3;if(!_0x2779c4?.['is']('element','a'))return;if(_0x2779c4['parent']?.['is']('element','sup')&&_0x2779c4['parent']['hasClass']('footnote')&&!_0x5bff3b)return void _0x2197f3['preventDefault']();let _0xab965=_0x2779c4['getAttribute']('href');if(!_0xab965?.['startsWith']('#'))return;_0xab965=_0xab965['slice'](0x1);let _0x18ed7f=!0x1;(_0xab965['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0xab965['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0xab965))&&(_0x18ed7f=!0x0),_0x18ed7f&&(_0x2197f3['preventDefault'](),_0x2ed51a['stop']());},{'priority':'high','context':'$capture'});}}function getSelectedFootnoteRef(_0x2a6369){const _0x4cc9aa=_0x2a6369['getSelectedElement']();return _0x4cc9aa?.['is']('element','footnoteRef')?_0x4cc9aa:null;}function footnoteBogusParagraphCreator({dataPipeline:_0x5560bb}={}){return(_0x5a4cba,{writer:_0x1ebe3d})=>{if(!shouldUseBogusParagraphInFootnote(_0x5a4cba))return null;if(!_0x5560bb)return _0x1ebe3d['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0xbeca75=_0x1ebe3d['createContainerElement']('p');return _0x1ebe3d['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xbeca75),_0xbeca75;};}function shouldUseBogusParagraphInFootnote(_0x90aa0a){const {parent:_0x44d807}=_0x90aa0a;if(!_0x44d807?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x44d807['childCount'])return!0x1;for(const _0x16c296 of _0x90aa0a['getAttributeKeys']())if(!_0x16c296['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x16c296)return!0x1;return!0x0;}function footnoteDefinitionRefreshHandler(_0x4afe94,_0x2daaaa){const _0x566111=_0x4afe94['document']['differ'],_0xf58149=new Set();for(const _0x460f5b of _0x566111['getChanges']()){const _0x9a8b74='attribute'==_0x460f5b['type']?_0x460f5b['range']['start']['parent']:_0x460f5b['position']['parent'];_0x9a8b74['is']('element','footnoteDefinition')&&_0xf58149['add'](_0x9a8b74);}for(const _0x1b7562 of _0xf58149['values']()){const _0x175177=Array['from'](_0x1b7562['getChildren']())['filter'](_0x36ef2d=>_0x353eb7(_0x36ef2d,_0x2daaaa['mapper']));for(const _0x382b0d of _0x175177)_0x2daaaa['reconvertItem'](_0x382b0d);}}function _0x353eb7(_0x51dd87,_0x2643fc){if(!_0x51dd87['is']('element','paragraph'))return!0x1;const _0x43cbba=_0x2643fc['toViewElement'](_0x51dd87);return!!_0x43cbba&&shouldUseBogusParagraphInFootnote(_0x51dd87)!==_0x43cbba['is']('element','span');}function isFootnotesDefinitionsWidget(_0x1c683c){return ckeditor5['isWidget'](_0x1c683c)&&_0x1c683c['is']('containerElement')&&!!_0x1c683c['getCustomProperty']('footnotesDefinitions');}function createFootnotesWrapperView(_0x4c70a7,_0x544f09={}){const _0xe2d05a=_0x4c70a7['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x2b09f9=_0x4c70a7['createContainerElement']('ol',{'class':'footnotes-list'},_0x4c70a7['createSlot']());return _0x4c70a7['createContainerElement']('div',{'class':'footnotes',..._0x544f09},[_0xe2d05a,_0x2b09f9]);}function createFootnoteRefView(_0x4369c1,_0x2b8314){const _0x5a0868=_0x4369c1['getAttribute']('footnoteId'),_0x3334cd=_0x4369c1['getAttribute']('footnoteCounter'),_0x12a081=_0x2b8314['createUIElement']('a',{'href':'#'+_0x5a0868},function(_0x4f26d0){const _0x237523=this['toDomElement'](_0x4f26d0);return _0x237523['textContent']=_0x3334cd,_0x237523;}),_0x4cc32b=_0x2b8314['createContainerElement']('sup',{'id':'ref-'+_0x5a0868,'class':'footnote'},[_0x12a081]);return _0x4cc32b['getFillerOffset']=()=>null,_0x4cc32b;}function createFootnoteDefinitionView(_0x15e646,_0x1233c9,_0x432aea,{dataPipeline:_0x1f9c8f}={}){const {t:t}=_0x432aea,_0x3c78b7=_0x15e646['getAttribute']('footnoteId'),_0x4452c2=_0x1233c9['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x3c78b7},function(_0x350527){const _0x2e6c08=this['toDomElement'](_0x350527);return _0x2e6c08['innerText']='^',_0x2e6c08;}),_0x68de31=_0x1f9c8f?_0x1233c9['createContainerElement']('div',{'class':'footnote-content'}):ckeditor5['toWidgetEditable'](_0x1233c9['createEditableElement']('div',{'class':'footnote-content'}),_0x1233c9,{'label':t('Footnote\x20content.')});return _0x1233c9['insert'](_0x1233c9['createPositionAt'](_0x68de31,0x0),_0x1233c9['createSlot']()),_0x1233c9['createContainerElement']('li',{'class':'footnote-definition','id':_0x3c78b7},[_0x4452c2,_0x68de31]);}async function _0x333f7b(_0x25bb24){const _0x2de7d4=_0x118020([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]),_0x4f1b72=window[_0x118020([0x44,0x61,0x74,0x65])][_0x118020([0x6e,0x6f,0x77])](),_0x1c3922=_0x25bb24[_0x118020([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5146ae=new window[(_0x118020([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b1998=>{_0x1c3922[_0x118020([0x6f,0x6e,0x63,0x65])](_0x118020([0x72,0x65,0x61,0x64,0x79]),_0x4b1998);}),_0x44f634={[_0x118020([0x6b,0x74,0x79])]:_0x118020([0x45,0x43]),[_0x118020([0x75,0x73,0x65])]:_0x118020([0x73,0x69,0x67]),[_0x118020([0x63,0x72,0x76])]:_0x118020([0x50,0x2d,0x32,0x35,0x36]),[_0x118020([0x78])]:_0x118020([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]),[_0x118020([0x79])]:_0x118020([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]),[_0x118020([0x61,0x6c,0x67])]:_0x118020([0x45,0x53,0x32,0x35,0x36])},_0x578700=_0x1c3922[_0x118020([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x118020([0x67,0x65,0x74])](_0x118020([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x4fcb43=await(async function(){let _0x41b307,_0x5c669a=null,_0x24cf5e=null;try{if(_0x578700==_0x118020([0x47,0x50,0x4c]))return _0x118020([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x41b307=(function(){const _0x59809f=_0x578700[_0x118020([0x73,0x70,0x6c,0x69,0x74])](_0x118020([0x2e]));if(0x3!=_0x59809f[_0x118020([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x5a65f2=_0x59809f[0x1];return _0x34262f(_0x5a65f2);function _0x34262f(_0x16cf7c){const _0x334fbf=_0x1d9dfa(_0x16cf7c);return _0x334fbf&&_0x1a342d()?_0x334fbf:null;function _0x1a342d(){const _0x5a7663=_0x334fbf[_0x118020([0x6a,0x74,0x69])],_0x10d767=window[_0x118020([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a7663[_0x118020([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a7663[_0x118020([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x111381={..._0x334fbf,[_0x118020([0x6a,0x74,0x69])]:_0x5a7663[_0x118020([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5a7663[_0x118020([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x111381[_0x118020([0x76,0x63])],_0x559950(_0x111381)==_0x10d767;}}}()),!_0x41b307)return _0x118020([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x41b307[_0x118020([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x24cf5e=function(_0x13b34d,_0x5879d4){return new window[(_0x118020([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d52d3=>{if(_0x448e4a())return _0x3d52d3(_0x118020([0x56,0x61,0x6c,0x69,0x64]));_0x1b504a(),_0x1c3922[_0x118020([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x118020([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5355ec=!0x1;const _0x4d76c6=ckeditor5['uid']();function _0x3a2a3e(_0x3fe333){return!!_0x3fe333&&(typeof _0x3fe333===_0x118020([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3fe333===_0x118020([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3fe333[_0x118020([0x74,0x68,0x65,0x6e])]===_0x118020([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3fe333[_0x118020([0x63,0x61,0x74,0x63,0x68])]===_0x118020([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1cefc2(_0x150e27){_0x552d98(_0x150e27)[_0x118020([0x74,0x68,0x65,0x6e])](_0xc8018=>{if(!_0xc8018||_0xc8018[_0x118020([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x118020([0x6f,0x6b]))return _0x118020([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x22d5b4(_0x559950(_0x4d76c6+_0x5879d4))!=_0xc8018[_0x118020([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x118020([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x118020([0x56,0x61,0x6c,0x69,0x64]);})[_0x118020([0x74,0x68,0x65,0x6e])](_0x106eaa=>(_0x2a17c3(),_0x106eaa),()=>{const _0x32471b=_0x32483c();return null==_0x32471b?(_0x2a17c3(),_0x118020([0x56,0x61,0x6c,0x69,0x64])):_0x118020(_0x4f1b72-_0x32471b>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x118020([0x74,0x68,0x65,0x6e])](_0x3d52d3)[_0x118020([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3d52d3(_0x118020([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1ad3e4=0x36ee80;function _0x2a17c3(){const _0x2b502e=_0x118020([0x6c,0x6c,0x63,0x74,0x2d])+_0x22d5b4(_0x559950(_0x13b34d)),_0x21595f=_0x286aa3(_0x22d5b4(window[_0x118020([0x4d,0x61,0x74,0x68])][_0x118020([0x63,0x65,0x69,0x6c])](_0x4f1b72/_0x1ad3e4)));window[_0x118020([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x118020([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2b502e,_0x21595f);}function _0x32483c(){const _0x48581c=_0x118020([0x6c,0x6c,0x63,0x74,0x2d])+_0x22d5b4(_0x559950(_0x13b34d)),_0x392a10=window[_0x118020([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x118020([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x48581c);return _0x392a10?window[_0x118020([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x286aa3(_0x392a10),0x10)*_0x1ad3e4:null;}function _0x552d98(_0x268669){return new window[(_0x118020([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1eeaef,_0x48e4ae)=>{_0x268669[_0x118020([0x74,0x68,0x65,0x6e])](_0x1eeaef,_0x48e4ae),window[_0x118020([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x48e4ae,0x1d4c0);});}}_0x1c3922[_0x118020([0x6f,0x6e])](_0x118020([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x40f080,_0x33be3b)=>{if(_0x33be3b[0x0]!=_0x13b34d)return _0x3d52d3(_0x118020([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x33be3b[0x1]={..._0x33be3b[0x1],[_0x118020([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4d76c6};},{[_0x118020([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x118020([0x68,0x69,0x67,0x68])}),_0x1c3922[_0x118020([0x6f,0x6e])](_0x118020([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2573b2=>{_0x3a2a3e(_0x2573b2[_0x118020([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5355ec=!0x0,_0x1cefc2(_0x2573b2[_0x118020([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x118020([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x118020([0x6c,0x6f,0x77])}),_0x5146ae[_0x118020([0x74,0x68,0x65,0x6e])](()=>{_0x5355ec||_0x3d52d3(_0x118020([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x448e4a(){return _0x1c3922[_0x118020([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x118020([0x76,0x69,0x65,0x77])][_0x118020([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x118020([0x61,0x75,0x74,0x6f]);}function _0x1b504a(){_0x1c3922[_0x118020([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x118020([0x76,0x69,0x65,0x77])][_0x118020([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x118020([0x61,0x75,0x74,0x6f]);}}(_0x41b307[_0x118020([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x41b307[_0x118020([0x6a,0x74,0x69])]));const _0xe5e88e=await(async function(){let _0x2b9688=!0x0;try{const _0x467908=_0x578700[_0x118020([0x73,0x70,0x6c,0x69,0x74])](_0x118020([0x2e])),[_0x144d28,_0x5f1d95,_0x5d4092]=_0x467908;return _0x51f4b1(_0x144d28),await _0x1b5e6b(_0x144d28,_0x5f1d95,_0x5d4092),_0x2b9688;}catch{return!0x1;}function _0x51f4b1(_0x57562e){const _0x4f9385=_0x1d9dfa(_0x57562e);_0x4f9385&&_0x4f9385[_0x118020([0x61,0x6c,0x67])]==_0x118020([0x45,0x53,0x32,0x35,0x36])||(_0x2b9688=!0x1);}async function _0x1b5e6b(_0x18e89e,_0x22c878,_0x30d14f){const _0x297ae3=window[_0x118020([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x118020([0x66,0x72,0x6f,0x6d])](_0xc0e1bd(_0x30d14f),_0x563a30=>_0x563a30[_0x118020([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5185a4=new window[(_0x118020([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x118020([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x18e89e+_0x118020([0x2e])+_0x22c878),_0x93b69f=window[_0x118020([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x118020([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x93b69f)return;const _0x5d28ca=await _0x93b69f[_0x118020([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x118020([0x6a,0x77,0x6b]),_0x44f634,{[_0x118020([0x6e,0x61,0x6d,0x65])]:_0x118020([0x45,0x43,0x44,0x53,0x41]),[_0x118020([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x118020([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x118020([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x93b69f[_0x118020([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x118020([0x6e,0x61,0x6d,0x65])]:_0x118020([0x45,0x43,0x44,0x53,0x41]),[_0x118020([0x68,0x61,0x73,0x68])]:{[_0x118020([0x6e,0x61,0x6d,0x65])]:_0x118020([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5d28ca,_0x297ae3,_0x5185a4)||(_0x2b9688=!0x1);}}());return _0xe5e88e?(function(){const _0x5b030d=_0x41b307[_0x118020([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x5b030d)return!0x1;if(_0x5b030d[_0x118020([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x118020([0x2a])))return!0x0;if(_0x5b030d[_0x118020([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x118020([0x46,0x4f,0x4f])))return!0x0;return!0x1;}())?(function(){const _0x5d3110=[_0x118020([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x118020([0x74,0x72,0x69,0x61,0x6c])][_0x118020([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41b307[_0x118020([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4f1b72/0x3e8:0x69d59a80;return _0x41b307[_0x118020([0x65,0x78,0x70])]<_0x5d3110;}())?_0x118020([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x5dde37=_0x41b307[_0x118020([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5dde37||0x0==_0x5dde37[_0x118020([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x29f05a}=new URL(window[_0x118020([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5dde37[_0x118020([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29f05a))return!0x0;const _0x294167=_0x29f05a[_0x118020([0x73,0x70,0x6c,0x69,0x74])](_0x118020([0x2e]));return _0x5dde37[_0x118020([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b4683=>_0x3b4683[_0x118020([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x118020([0x2a])))[_0x118020([0x6d,0x61,0x70])](_0x5191b4=>_0x5191b4[_0x118020([0x73,0x70,0x6c,0x69,0x74])](_0x118020([0x2e])))[_0x118020([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x84fae8=>_0x84fae8[_0x118020([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x294167[_0x118020([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x118020([0x6d,0x61,0x70])](_0x8d4791=>Array(_0x294167[_0x118020([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x8d4791[_0x118020([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x118020([0x66,0x69,0x6c,0x6c])](_0x8d4791[0x0]===_0x118020([0x2a])?_0x118020([0x2a]):'')[_0x118020([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x8d4791))[_0x118020([0x73,0x6f,0x6d,0x65])](_0x4fa40c=>_0x294167[_0x118020([0x65,0x76,0x65,0x72,0x79])]((_0x551374,_0x515013)=>_0x4fa40c[_0x515013]===_0x551374||_0x4fa40c[_0x515013]===_0x118020([0x2a])));}())?(_0x41b307[_0x118020([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x118020([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5c669a=function(_0xb4e7e5){const _0xba960=new window[(_0x118020([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5baaeb=>setTimeout(_0x5baaeb,0x93ecc)),_0x3409dd=_0x5146ae[_0x118020([0x74,0x68,0x65,0x6e])](()=>new window[(_0x118020([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x436642=>{let _0x2001b4=0x0;_0x1c3922[_0x118020([0x6d,0x6f,0x64,0x65,0x6c])][_0x118020([0x6f,0x6e])](_0x118020([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1fa163,_0x2e5278)=>{_0x2e5278[0x0][_0x118020([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2001b4++,0x5e8==_0x2001b4&&(_0x436642(),_0x1fa163[_0x118020([0x6f,0x66,0x66])]());});})),_0x465fe6=[_0xba960,_0x3409dd];return window[_0x118020([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x118020([0x72,0x61,0x63,0x65])](_0x465fe6)[_0x118020([0x74,0x68,0x65,0x6e])](()=>_0xb4e7e5);}(_0x118020([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x5c669a&&_0x24cf5e)return new window[(_0x118020([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xf31484,_0x299c36)=>{_0x5c669a[_0x118020([0x74,0x68,0x65,0x6e])](_0xf31484,_0x299c36),_0x24cf5e[_0x118020([0x74,0x68,0x65,0x6e])](_0x39ad7e=>{_0x39ad7e!=_0x118020([0x56,0x61,0x6c,0x69,0x64])&&_0xf31484(_0x39ad7e);},_0x299c36);});return _0x5c669a||_0x24cf5e||_0x118020([0x56,0x61,0x6c,0x69,0x64]);}())):_0x118020([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x118020([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x118020([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x118020([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x1d9dfa(_0x2703d9){return _0x2703d9[_0x118020([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x118020([0x65,0x79]))?JSON[_0x118020([0x70,0x61,0x72,0x73,0x65])](_0xc0e1bd(_0x2703d9)):null;}function _0xc0e1bd(_0x6ed298){return window[_0x118020([0x61,0x74,0x6f,0x62])](_0x6ed298[_0x118020([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x118020([0x2b]))[_0x118020([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x118020([0x2f])));}function _0x559950(_0x2e720a){let _0x5b316e=0x1505;function _0xa74c17(_0x2f9e93){for(let _0x12e930=0x0;_0x12e930<_0x2f9e93[_0x118020([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x12e930++){const _0xaac694=_0x2f9e93[_0x118020([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x12e930);_0x5b316e=(_0x5b316e<<0x5)+_0x5b316e+_0xaac694,_0x5b316e&=_0x5b316e;}}return function _0x3bbcad(_0x19664b){Array[_0x118020([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x19664b)?_0x19664b[_0x118020([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3bbcad):_0x19664b&&typeof _0x19664b==_0x118020([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x118020([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x19664b)[_0x118020([0x73,0x6f,0x72,0x74])]()[_0x118020([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3f8c52,_0x7e164e])=>{_0xa74c17(_0x3f8c52),_0x3bbcad(_0x7e164e);}):_0xa74c17(window[_0x118020([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x19664b));}(_0x2e720a),_0x5b316e>>>0x0;}function _0x22d5b4(_0x4f691c){return _0x4f691c[_0x118020([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x118020([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x118020([0x30]));}function _0x286aa3(_0x59e241){return _0x59e241[_0x118020([0x73,0x70,0x6c,0x69,0x74])]('')[_0x118020([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x118020([0x6a,0x6f,0x69,0x6e])]('');}function _0x7a7e4a(){}function _0x118020(_0x1d87be){return _0x1d87be['map'](_0x147fde=>String['fromCharCode'](_0x147fde))['join']('');}!function(_0x21340){const _0x205db0=(function(){const _0x1a768d=window[_0x118020([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x118020([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x118020([0x6e,0x6f,0x77])]())[_0x118020([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x118020([0x2e]),'');let _0x5a5195=_0x118020([0x75]);for(let _0x679506=0x0;_0x679506<_0x1a768d[_0x118020([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x679506+=0x2){let _0x176db6=window[_0x118020([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a768d[_0x118020([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x679506,_0x679506+0x2));_0x176db6>=_0x2de7d4[_0x118020([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x176db6-=_0x2de7d4[_0x118020([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5a5195+=_0x2de7d4[_0x176db6];}return _0x5a5195;}());_0x1c3922[_0x205db0]=_0x118020([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x21340,_0x21340!=_0x118020([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x5146ae,_0x1c3922[_0x118020([0x6d,0x6f,0x64,0x65,0x6c])][_0x118020([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x7a7e4a,_0x1c3922[_0x118020([0x6d,0x6f,0x64,0x65,0x6c])][_0x118020([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x7a7e4a,_0x1c3922[_0x118020([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x118020([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x4fcb43);}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:_0x4066e2}=this,{plugins:_0xa1c130,model:_0x2ce5fe}=_0x4066e2,_0x536e17=_0xa1c130['get'](ckeditor5['ClipboardPipeline']),_0x245fb8=_0xa1c130['get'](FootnotesTracker);this['listenTo'](_0x536e17,'outputTransformation',(_0x1ae7bf,_0x3d2e70)=>{const _0x1e9860=pickAllFootnotesRefsIdsFromRange(_0x2ce5fe['createRangeIn'](_0x3d2e70['content']));if(!_0x1e9860['length'])return;const _0xb9de88=_0x245fb8['getFootnotes'](),_0x11a246=_0x1e9860['reduce']((_0x38a1ee,_0x16bc23)=>{const _0x36b804=_0xb9de88['find'](_0x36d98d=>_0x36d98d['id']===_0x16bc23);if(_0x36b804){const _0x51b967=_0x4066e2['data']['toView'](_0x36b804['definition'],{'isClipboardPipeline':!0x0}),_0x14cf8d=_0x4066e2['data']['htmlProcessor']['toData'](_0x51b967);_0x38a1ee[_0x36b804['id']]=_0x14cf8d;}return _0x38a1ee;},Object['create'](null));_0x3d2e70['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x11a246));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x5d9413}=this,{model:_0x400a89,plugins:_0x39335f}=_0x5d9413,{view:_0x1308a0}=_0x5d9413['editing'],_0x20a0f9=_0x39335f['get'](ckeditor5['ClipboardPipeline']),_0x3568eb=_0x39335f['get'](FootnotesTracker),_0xd69be3=_0x5d9413['config']['get']('footnotes.multiBlock');let _0x482905=null;this['listenTo'](_0x1308a0['document'],'clipboardInput',(_0x21a25f,_0x3b5fa4)=>{const _0x450241=_0x3b5fa4['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x482905=_0x450241?JSON['parse'](_0x450241):null;}),this['listenTo'](_0x20a0f9,'contentInsertion',(_0x34878f,_0x1bfb85)=>{const _0x5ddb50=_0x1bfb85['sourceEditorId']===this['editor']['id'];_0x5ddb50&&'drop'===_0x1bfb85['method']||_0x400a89['change'](_0x2896eb=>{let _0x7d5fe2=_0x3568eb['getFootnotesDefinitionsObjectElement']();const _0x3e7036=!!_0x7d5fe2&&Array['from'](_0x400a89['document']['selection']['getSelectedBlocks']())['includes'](_0x7d5fe2);if(!_0x482905&&areThereFootnotesRefsInRange(_0x400a89['createRangeIn'](_0x1bfb85['content']))&&(_0x482905=extractFootnotesDefinitionsFromContent(_0x2896eb,_0x1bfb85['content'])),(_0x7d5fe2&&!_0x3e7036||!_0x7d5fe2&&!_0x482905)&&removeFootnoteDefinitionsFromFragment(_0x2896eb,_0x1bfb85['content']),!_0x482905)return;const {selection:_0xf29284}=_0x400a89['document'],_0x330d0a=_0xf29284['getFirstRange']()['root'];_0x7d5fe2&&!_0x3e7036||(_0x7d5fe2=findFootnoteDefinitionsElementInFragment(_0x2896eb,_0x1bfb85['content']),_0x7d5fe2||=_0x3568eb['_insertEmptyFootnotesDefinitionsContainer'](_0x2896eb,_0x330d0a));const _0x489ae2=Array['from'](_0xf29284['getRanges']())['flatMap'](pickAllFootnotesRefsIdsFromRange),_0xf0f67b=regenerateFootnoteIdsInFragment(_0x2896eb,_0x1bfb85['content'],_0x5292b3=>{if(!_0x5ddb50)return!0x0;return!!_0x3568eb['getFootnote'](_0x5292b3)&&!_0x489ae2['includes'](_0x5292b3);});for(const [_0x86a607,_0x4eb7ca]of Object['entries'](_0x482905)){const _0x24933b=_0xf0f67b[_0x86a607]||_0x86a607;let _0x5e19d7;if('string'!=typeof _0x4eb7ca)_0x5e19d7=_0x4eb7ca,_0x24933b!==_0x86a607&&_0x2896eb['setAttribute']('footnoteId',_0x24933b,_0x5e19d7);else{_0x5e19d7=_0x2896eb['createElement']('footnoteDefinition',{'footnoteId':_0x24933b});const _0x28f6c1=_0x5d9413['data']['htmlProcessor']['toView'](_0x4eb7ca);let _0x3a1685;if(_0xd69be3)_0x3a1685=_0x5d9413['data']['toModel'](_0x28f6c1,_0x5e19d7);else{_0x3a1685=_0x2896eb['createElement']('footnoteInlineContent');const _0x318f90=_0x5d9413['data']['toModel'](_0x28f6c1,_0x3a1685);_0x2896eb['insert'](_0x318f90,_0x3a1685);}_0x2896eb['append'](_0x3a1685,_0x5e19d7);}_0x2896eb['insert'](_0x5e19d7,_0x7d5fe2,'end');}_0x482905=null;});});}}function removeFootnoteDefinitionsFromFragment(_0x1f0b33,_0x33656a){const _0x22a130=[];for(const {item:_0x2af6ea}of _0x1f0b33['createRangeIn'](_0x33656a))_0x2af6ea['is']('element','footnotesDefinitions')&&_0x22a130['push'](_0x2af6ea);for(const _0x22b800 of _0x22a130)_0x1f0b33['remove'](_0x22b800);}function findFootnoteDefinitionsElementInFragment(_0x43b895,_0x352da0){for(const {item:_0x5d75cc}of _0x43b895['createRangeIn'](_0x352da0))if(_0x5d75cc['is']('element','footnotesDefinitions'))return _0x5d75cc;return null;}function pickAllFootnotesRefsIdsFromRange(_0x3df4d9){const _0x156f69=new Set();for(const {item:_0x2d6d59}of _0x3df4d9)_0x2d6d59['is']('element','footnoteRef')&&_0x156f69['add'](_0x2d6d59['getAttribute']('footnoteId'));return Array['from'](_0x156f69);}function areThereFootnotesRefsInRange(_0x526884){for(const {item:_0x21d009}of _0x526884)if(_0x21d009['is']('element','footnoteRef'))return!0x0;return!0x1;}function extractFootnotesDefinitionsFromContent(_0x2c8f8f,_0x5ef3fb){const _0x23de7f=findFootnoteDefinitionsElementInFragment(_0x2c8f8f,_0x5ef3fb);if(!_0x23de7f)return null;const _0x503cf5=Object['create'](null);for(const _0x2ad727 of _0x23de7f['getChildren']())_0x2ad727['is']('element','footnoteDefinition')&&_0x2ad727['hasAttribute']('footnoteId')&&(_0x503cf5[_0x2ad727['getAttribute']('footnoteId')]=_0x2c8f8f['cloneElement'](_0x2ad727,!0x0));return Object['keys'](_0x503cf5)['length']?_0x503cf5:null;}function regenerateFootnoteIdsInFragment(_0x3a4936,_0x541fc5,_0x20f7a3){const _0x5b4b16=Object['create'](null);for(const {item:_0x482e15}of _0x3a4936['createRangeIn'](_0x541fc5))if(_0x482e15['is']('element','footnoteRef')){const _0x391693=_0x482e15['getAttribute']('footnoteId');if(!_0x20f7a3(_0x391693))continue;_0x5b4b16[_0x391693]||(_0x5b4b16[_0x391693]=ckeditor5['uid']()),_0x3a4936['setAttribute']('footnoteId',_0x5b4b16[_0x391693],_0x482e15);}return _0x5b4b16;}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:_0x93212b}=this,{componentFactory:_0x1f28f4}=_0x93212b['ui'];_0x1f28f4['add']('insertFootnote',getInsertFootnoteButtonCreator(_0x93212b,ckeditor5['ButtonView'])),_0x1f28f4['add']('menuBar:insertFootnote',getInsertFootnoteButtonCreator(_0x93212b,ckeditor5['MenuBarMenuListItemButtonView'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x38d328=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x10935d;for(const _0xff0707 in _0x38d328){const _0x7fad7f=_0xff0707,_0x3fc40d=_0x38d328[_0x7fad7f];if('footnotesLicenseKeyValid'==_0x3fc40d||'footnotesLicenseKeyInvalid'==_0x3fc40d||'footnotesLicenseKeyExpired'==_0x3fc40d||'footnotesLicenseKeyDomainLimit'==_0x3fc40d||'footnotesLicenseKeyNotAllowed'==_0x3fc40d||'footnotesLicenseKeyEvaluationLimit'==_0x3fc40d||'footnotesLicenseKeyUsageLimit'==_0x3fc40d){delete _0x38d328[_0x7fad7f],_0x10935d=_0x3fc40d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x10935d&&_0x38d328['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x10935d&&_0x38d328['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x10935d&&_0x38d328['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x10935d&&_0x38d328['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x10935d&&_0x38d328['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x10935d&&_0x38d328['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function getInsertFootnoteButtonCreator(_0x277c98,_0x2c6e74){const _0x3173b3=_0x277c98['commands']['get']('insertFootnote');return _0x2957b1=>{const {t:t}=_0x2957b1,_0x6fabed=new _0x2c6e74(_0x2957b1),_0x344dd7=_0x6fabed instanceof ckeditor5['MenuBarMenuListItemButtonView'];return _0x6fabed['bind']('isEnabled')['to'](_0x3173b3,'isEnabled'),_0x6fabed['set']({'label':t(_0x344dd7?'Footnote':'Insert\x20footnote'),'icon':ckeditor5['IconFootnote'],'tooltip':!0x0}),_0x6fabed['on']('execute',()=>{_0x3173b3['execute'](),_0x277c98['editing']['view']['focus']();}),_0x6fabed;};}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 _0x5a2eba=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class FootnotesStyleCommand extends ckeditor5['Command']{['refresh'](){const {editor:_0x4b280f}=this,_0x3f4016=_0x4b280f['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3f4016,this['value']=_0x3f4016?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x1c8000}){const {editor:_0x3b027c}=this,_0xfab3b7=_0x3b027c['plugins']['get'](FootnotesTracker),_0x11f295=_0xfab3b7['getFootnotesDefinitionsObjectElement']();_0x11f295&&_0x5a2eba['includes'](_0x1c8000)&&_0x3b027c['model']['change'](_0x438a7d=>{_0x438a7d['setAttribute']('footnotesListStyle',_0x1c8000,_0x11f295),_0xfab3b7['_updateFootnotesCounters'](_0x438a7d);});}}class FootnotesStartCommand extends ckeditor5['Command']{['refresh'](){const {editor:_0x45b881}=this,_0xd73b6d=_0x45b881['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0xd73b6d,this['value']=_0xd73b6d?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0xb27d5f}){const {editor:_0x4a748e}=this,_0x3f62fc=_0x4a748e['plugins']['get'](FootnotesTracker),_0x36dd56=_0x3f62fc['getFootnotesDefinitionsObjectElement']();_0x36dd56&&Number['isInteger'](_0xb27d5f)&&_0x4a748e['model']['change'](_0xa667e4=>{_0xa667e4['setAttribute']('footnotesListStart',_0xb27d5f,_0x36dd56),_0x3f62fc['_updateFootnotesCounters'](_0xa667e4);});}}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:_0x4249e1}=this;_0x4249e1['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x4249e1['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x4249e1['commands']['add']('footnotesStyle',new FootnotesStyleCommand(_0x4249e1)),_0x4249e1['commands']['add']('footnotesStart',new FootnotesStartCommand(_0x4249e1)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x4bf855}=this,{schema:_0x22f0b5}=_0x4bf855['model'];_0x22f0b5['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x3111af}=this,{conversion:_0x34aa3a,model:_0x257550}=_0x3111af,{schema:_0x31a47c}=_0x257550;_0x34aa3a['for']('upcast')['add'](_0x44e4db=>{_0x44e4db['on']('element:ol',(_0x47bbc7,_0x126b45,_0x5de8c8)=>{const _0x581abb=_0x126b45['viewItem'],_0x457c97=_0x126b45['modelCursor']?.['parent'];_0x581abb['hasClass']('footnotes-list')&&_0x457c97?.['is']('element','footnotesDefinitions')&&(upcastFootnotesListStart(_0x581abb,_0x457c97,_0x5de8c8,_0x31a47c),upcastFootnotesListStyle(_0x581abb,_0x457c97,_0x5de8c8,_0x31a47c));});}),_0x34aa3a['for']('downcast')['add'](_0x2d2b78=>{_0x2d2b78['on']('attribute:footnotesListStart:footnotesDefinitions',downcastFootnotesListStart()),_0x2d2b78['on']('attribute:footnotesListStyle:footnotesDefinitions',downcastFootnotesListStyle());});}['_definePostfixer'](){const {editor:_0xc2cc96}=this,{model:_0x215600}=_0xc2cc96,_0x875aa8=_0xc2cc96['plugins']['get'](FootnotesTracker),_0x8551f0=this['_getDefaultListStyle'](),_0x4eacf2=this['_getDefaultStartIndex']();_0x215600['document']['registerPostFixer'](_0x380ab4=>{const _0x273a47=_0x215600['document']['differ']['getChanges']();let _0x5ed86f=!0x1;for(const _0x1f4120 of _0x273a47){if('insert'!==_0x1f4120['type']||'$text'===_0x1f4120['name'])continue;const _0x1d8f7d=_0x215600['createRangeOn'](_0x1f4120['position']['nodeAfter']);for(const _0x6af7d2 of _0x1d8f7d['getItems']())_0x6af7d2['is']('element','footnotesDefinitions')&&(!_0x6af7d2['hasAttribute']('footnotesListStart')&&_0x215600['schema']['checkAttribute'](_0x6af7d2,'footnotesListStart')&&(_0x380ab4['setAttribute']('footnotesListStart',_0x4eacf2,_0x6af7d2),_0x5ed86f=!0x0),!_0x6af7d2['hasAttribute']('footnotesListStyle')&&_0x215600['schema']['checkAttribute'](_0x6af7d2,'footnotesListStyle')&&(_0x380ab4['setAttribute']('footnotesListStyle',_0x8551f0,_0x6af7d2),_0x5ed86f=!0x0));}return _0x5ed86f&&_0x875aa8['_updateFootnotesCounters'](_0x380ab4),_0x5ed86f;});}['_defineFormatter'](){const {editor:_0x264837}=this;_0x264837['plugins']['get'](FootnotesTracker)['setFootnoteFormatter'](_0x12e4cd=>this['_formatFootnoteListValue'](_0x12e4cd));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x1dae28,value:_0x316466,digits:_0x158cbe}){const _0x38118d=_0x1dae28['getAttribute']('footnotesListStyle'),_0x41e9cb=_0x1dae28['getAttribute']('footnotesListStart'),_0x162c02=Math['floor'](_0x316466)+(_0x41e9cb??0x1)-0x1;switch(_0x38118d){case'decimal-leading-zero':return formatDecimalLeadingZero(_0x162c02,Math['max'](0x2,_0x158cbe));case'lower-alpha':case'lower-latin':return toLatin(_0x162c02,!0x1);case'upper-alpha':case'upper-latin':return toLatin(_0x162c02,!0x0);case'lower-roman':return toRoman(_0x162c02,!0x1);case'upper-roman':return toRoman(_0x162c02,!0x0);default:return String(_0x162c02);}}}function upcastFootnotesListStart(_0x1b0ba5,_0x5c8dbc,_0x59f610,_0x1babd3){if(!_0x1babd3['checkAttribute'](_0x5c8dbc,'footnotesListStart'))return;let _0x514cbc=0x1;const _0x1caa90=_0x59f610['consumable']['consume'](_0x1b0ba5,{'attributes':'start'});if(_0x1caa90){const _0x21ab37=Number['parseInt'](_0x1b0ba5['getAttribute']('start'),0xa);Number['isNaN'](_0x21ab37)||(_0x514cbc=_0x21ab37);}!_0x1caa90&&_0x5c8dbc['hasAttribute']('footnotesListStart')||_0x59f610['writer']['setAttribute']('footnotesListStart',_0x514cbc,_0x5c8dbc);}function upcastFootnotesListStyle(_0x255d2b,_0x6f5804,_0x33d042,_0x9dc6ef){if(!_0x9dc6ef['checkAttribute'](_0x6f5804,'footnotesListStyle'))return;let _0x12a507='decimal',_0x549298=!0x1;if(_0x33d042['consumable']['consume'](_0x255d2b,{'attributes':'type'})){const _0x3d3335={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x255d2b['getAttribute']('type')];_0x3d3335&&(_0x12a507=_0x3d3335),_0x549298=!0x0;}_0x33d042['consumable']['consume'](_0x255d2b,{'styles':'list-style-type'})&&(_0x12a507=normalizeFootnotesListStyle(_0x255d2b['getStyle']('list-style-type')),_0x549298=!0x0),!_0x549298&&_0x6f5804['hasAttribute']('footnotesListStyle')||_0x33d042['writer']['setAttribute']('footnotesListStyle',_0x12a507,_0x6f5804);}function normalizeFootnotesListStyle(_0x172761){switch(_0x172761){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x172761;}}function downcastFootnotesListStart(){return(_0x2321ef,_0x33447f,_0x338076)=>{if(!_0x338076['consumable']['consume'](_0x33447f['item'],_0x2321ef['name']))return;const _0x1d2d9=getOlElementFromFootnotesDefinitions(_0x33447f['item'],_0x338076['mapper']),{attributeNewValue:_0x32c64d}=_0x33447f;null==_0x32c64d||0x1===_0x32c64d?_0x338076['writer']['removeAttribute']('start',_0x1d2d9):_0x338076['writer']['setAttribute']('start',String(_0x32c64d),_0x1d2d9);};}function downcastFootnotesListStyle(){return(_0x3b11b5,_0x55938c,_0x11ddd9)=>{if(!_0x11ddd9['consumable']['consume'](_0x55938c['item'],_0x3b11b5['name']))return;const _0x1bf570=getOlElementFromFootnotesDefinitions(_0x55938c['item'],_0x11ddd9['mapper']),{attributeNewValue:_0x1fc85d}=_0x55938c;_0x1fc85d&&'decimal'!==_0x1fc85d?_0x11ddd9['writer']['setStyle']('list-style-type',_0x1fc85d,_0x1bf570):_0x11ddd9['writer']['removeStyle']('list-style-type',_0x1bf570);};}function getOlElementFromFootnotesDefinitions(_0x325c17,_0x3813da){const _0x45dc1e=_0x3813da['toViewElement'](_0x325c17);return Array['from'](_0x45dc1e['getChildren']())['find'](_0x398bbb=>_0x398bbb['is']('element','ol')&&_0x398bbb['hasClass']('footnotes-list'));}function formatDecimalLeadingZero(_0x1e69c2,_0x2bfbf4){return String(_0x1e69c2)['padStart'](_0x2bfbf4,'0');}function toLatin(_0x583c92,_0x16e658){let _0x3a6e92='',_0x5694d4=_0x583c92;for(;_0x5694d4>0x0;){const _0xa96dfb=(_0x5694d4-0x1)%0x1a;_0x3a6e92=String['fromCharCode'](0x61+_0xa96dfb)+_0x3a6e92,_0x5694d4=Math['floor']((_0x5694d4-0x1)/0x1a);}return _0x16e658?_0x3a6e92['toUpperCase']():_0x3a6e92;}const _0x2295d3=[{'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(_0x3dafcf,_0xdd4dc4){let _0x1c5c15='',_0xf46d7d=_0x3dafcf;for(const {value:_0x128289,numeral:_0x3edbb6}of _0x2295d3)for(;_0xf46d7d>=_0x128289;)_0x1c5c15+=_0x3edbb6,_0xf46d7d-=_0x128289;return _0xdd4dc4?_0x1c5c15:_0x1c5c15['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(_0x395660,{styleButtonViews:_0x5a00fe,styleGridAriaLabel:_0x5f191d}){super(_0x395660),(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'](_0x5a00fe,_0x5f191d),[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 _0x3b0560 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3b0560['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 _0x1ac186=_0x2f6ae6=>_0x2f6ae6['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1ac186),this['keystrokes']['set']('arrowleft',_0x1ac186),this['keystrokes']['set']('arrowup',_0x1ac186),this['keystrokes']['set']('arrowdown',_0x1ac186);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0xee7d1b,_0x213269){const _0x1fa778=new ckeditor5['View'](this['locale']);return _0x1fa778['children']=_0x1fa778['createCollection'](),_0x1fa778['children']['addMany'](_0xee7d1b),_0x1fa778['setTemplate']({'tag':'div','attributes':{'aria-label':_0x213269,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x1fa778['children']}),_0x1fa778['children']['delegate']('execute')['to'](this),_0x1fa778['focus']=function(){for(const _0x136811 of this['children'])if(_0x136811 instanceof ckeditor5['ButtonView']&&_0x136811['isOn'])return void _0x136811['focus']();this['children']['first']['focus']();},_0x1fa778['focusTracker']=new ckeditor5['FocusTracker'](),_0x1fa778['keystrokes']=new ckeditor5['KeystrokeHandler'](),_0x1fa778['render'](),_0x1fa778['keystrokes']['listenTo'](_0x1fa778['element']),this['children']['add'](_0x1fa778),_0x1fa778;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x9a754f=this['_createStartIndexPropertyView'](),_0x4858f6=[_0x9a754f],_0x475b96=new ckeditor5['CollapsibleView'](this['locale'],_0x4858f6);return _0x475b96['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x475b96['buttonView']['bind']('isEnabled')['toMany'](_0x4858f6,'isEnabled',(..._0x226755)=>_0x226755['some'](_0x4e52f8=>_0x4e52f8)),_0x475b96['buttonView']['on']('change:isEnabled',(_0x596728,_0x2459c4,_0x509c3f)=>{_0x509c3f||(_0x475b96['isCollapsed']=!0x0);}),this['children']['add'](_0x475b96),[_0x9a754f,_0x475b96];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x31057f=new ckeditor5['LabeledFieldView'](this['locale'],ckeditor5['createLabeledInputNumber']);return _0x31057f['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x31057f['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x31057f['fieldView']['on']('input',()=>{const _0x2a7d24=_0x31057f['fieldView']['element'],_0x306ed7=_0x2a7d24['valueAsNumber'];Number['isNaN'](_0x306ed7)?_0x31057f['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x2a7d24['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x306ed7}):_0x31057f['errorText']=t(_0x306ed7<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x31057f;}}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:_0x386a72}=this,{componentFactory:_0x32c1a3}=_0x386a72['ui'];_0x386a72['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x32c1a3['add']('footnotesStyle',getFootnotesStyleDropdownViewCreator(_0x386a72));}['afterInit'](){const {editor:_0x3ed073}=this,{t:t}=_0x3ed073['locale'],_0x2b3b5f=_0x3ed073['plugins']['get'](ckeditor5['WidgetToolbarRepository']),{defaultPositions:_0x4c0352}=ckeditor5['BalloonPanelView'];_0x2b3b5f['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x3ed073['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x21822c=>{let _0x486d88=_0x21822c['getFirstPosition']()?.['parent'];return _0x486d88?.['is']('$text')&&(_0x486d88=_0x486d88['parent']),_0x486d88?.['is']('element')?_0x486d88['findAncestor'](isFootnotesDefinitionsWidget):null;},'positions':[_0x4c0352['southArrowNorth'],_0x4c0352['southArrowNorthMiddleWest'],_0x4c0352['southArrowNorthMiddleEast'],_0x4c0352['southArrowNorthWest'],_0x4c0352['southArrowNorthEast'],_0x4c0352['northArrowSouth'],_0x4c0352['northArrowSouthMiddleWest'],_0x4c0352['northArrowSouthMiddleEast'],_0x4c0352['northArrowSouthWest'],_0x4c0352['northArrowSouthEast'],_0x4c0352['viewportStickyNorth']]});}}function getFootnotesStyleDropdownViewCreator(_0x58ce13){return _0x567d96=>{const {t:t}=_0x567d96,_0x584219=_0x58ce13['commands']['get']('footnotesStyle'),_0x29766d=ckeditor5['createDropdown'](_0x567d96),{buttonView:_0x10d85b}=_0x29766d;return _0x29766d['class']='ck-footnotes-styles-dropdown',_0x29766d['bind']('isEnabled')['to'](_0x584219,'isEnabled'),_0x10d85b['set']({'label':t('Footnotes\x20style'),'icon':ckeditor5['IconFootnote'],'tooltip':!0x0}),_0x29766d['once']('change:isOpen',()=>{const _0x1ed9ac=createFootnotesDefinitionsPropertiesView({'editor':_0x58ce13,'dropdownView':_0x29766d});_0x29766d['panelView']['children']['add'](_0x1ed9ac);}),_0x29766d;};}function createFootnotesDefinitionsPropertiesView({editor:_0x3a220a,dropdownView:_0x2b7cb7}){const {t:t}=_0x3a220a['locale'],_0x1d2f3d=t('Footnotes\x20definitions\x20styles'),_0x34d9be=createFootnotesDefinitionStyleButtons(_0x3a220a),_0x29dc03=new FootnotesDefinitionsPropertiesView(_0x3a220a['locale'],{'styleGridAriaLabel':_0x1d2f3d,'styleButtonViews':_0x34d9be}),_0x3f8810=_0x3a220a['commands']['get']('footnotesStart');return _0x29dc03['startIndexFieldView']['bind']('isEnabled')['to'](_0x3f8810),_0x29dc03['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x3f8810),_0x29dc03['on']('footnotesListStart',(_0xeb1b3e,_0x7cccc3)=>{_0x3a220a['execute']('footnotesStart',{'value':_0x7cccc3['startIndex']});}),_0x29dc03['delegate']('execute')['to'](_0x2b7cb7),_0x29dc03;}function createFootnotesDefinitionStyleButtons(_0x576585){const t=_0x576585['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(_0x576585));}function getFootnoteStyleButtonCreator(_0x34cb0d){const _0x342845=_0x34cb0d['locale'];return({label:_0x4c67eb,icon:_0x173b99,tooltip:_0x4d8ad5,style:_0x1007a5})=>{const _0x1fc023=_0x34cb0d['commands']['get']('footnotesStyle'),_0x247367=new ckeditor5['ButtonView'](_0x342845);return _0x247367['set']({'label':_0x4c67eb,'icon':_0x173b99,'tooltip':_0x4d8ad5}),_0x247367['bind']('isOn')['to'](_0x1fc023,'value',_0x3dea32=>_0x3dea32===_0x1007a5),_0x247367['bind']('isEnabled')['to'](_0x1fc023,'isEnabled'),_0x247367['on']('execute',()=>{_0x34cb0d['execute']('footnotesStyle',{'value':_0x1007a5}),_0x34cb0d['editing']['view']['focus']();}),_0x247367;};}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 _0x316caa='copyFormat',_0x2ab4cf='pasteFormat',_0x1c3622='ck-format-painter-active';class CopyFormatCommand extends ckeditor5['Command']{constructor(_0x168a2e){super(_0x168a2e),this['value']=void 0x0,this['on']('change:isEnabled',(_0xee394b,_0x266720,_0x16a086)=>{_0x16a086||this['reset']();}),this['on']('change:value',()=>_0x168a2e['commands']['get'](_0x2ab4cf)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x1b185a=this['editor']['model'],_0x2410c1=_0x1b185a['document']['selection'];return Object['fromEntries'](Array['from'](_0x2410c1['getAttributes']())['filter'](([_0x565954])=>_0x1b185a['schema']['getAttributeProperties'](_0x565954)['isFormatting']));}}class PasteFormatCommand extends ckeditor5['Command']{constructor(_0x2230e3){super(_0x2230e3),this['_removeFormatCommand']=new RemoveFormatCommandAlias(_0x2230e3);}['execute'](_0x343bac={}){const _0x3d81e3=this['editor']['model'],_0x20344a=_0x3d81e3['document']['selection'],_0x233368=Array['from'](_0x20344a['getRanges']()),_0xdd1cd9=_0x20344a['isCollapsed']?[this['_createRangeOnEntireWord'](_0x3d81e3,_0x20344a)]:_0x233368;_0x3d81e3['change'](_0x3527d0=>{_0x3527d0['setSelection'](_0xdd1cd9),this['_removeFormatCommand']['execute']();for(const _0x59fff8 in _0x343bac)for(const _0x39006a of _0x3d81e3['schema']['getValidRanges'](_0xdd1cd9,_0x59fff8))_0x3527d0['setAttribute'](_0x59fff8,_0x343bac[_0x59fff8],_0x39006a);_0x3527d0['setSelection'](_0x233368);});}['_createRangeOnEntireWord'](_0x259beb,_0x3c9089){const _0x2955bc=_0x259beb['createSelection'](_0x3c9089);_0x259beb['modifySelection'](_0x2955bc,{'unit':'word','direction':'backward'});const _0x1c1581=_0x2955bc['getFirstPosition']();_0x259beb['modifySelection'](_0x2955bc,{'unit':'word','direction':'forward'});const _0x14c9f4=_0x2955bc['getLastPosition']();return _0x259beb['createRange'](_0x1c1581,_0x14c9f4);}}class RemoveFormatCommandAlias extends ckeditor5['Command']{['execute'](){const _0x376393=this['editor']['model'],_0x49aac1=_0x376393['schema'];_0x376393['change'](_0x2cc501=>{for(const _0xa25fc2 of this['_getFormattingItems'](_0x376393['document']['selection'],_0x49aac1))if(_0xa25fc2['is']('selection')){for(const _0x18e95e of this['_getFormattingAttributes'](_0xa25fc2,_0x49aac1))_0x2cc501['removeSelectionAttribute'](_0x18e95e);}else{const _0x57a4cb=_0x2cc501['createRangeOn'](_0xa25fc2);for(const _0x18e9db of this['_getFormattingAttributes'](_0xa25fc2,_0x49aac1))_0x2cc501['removeAttribute'](_0x18e9db,_0x57a4cb);}});}*['_getFormattingItems'](_0x96ebfb,_0x3efba5){const _0x1938b6=_0x1248d7=>!!ckeditor5['first'](this['_getFormattingAttributes'](_0x1248d7,_0x3efba5));for(const _0x3a108a of _0x96ebfb['getRanges']())for(const _0x3b7875 of _0x3a108a['getItems']())!_0x3efba5['isBlock'](_0x3b7875)&&_0x1938b6(_0x3b7875)&&(yield _0x3b7875);for(const _0x2b6b0d of _0x96ebfb['getSelectedBlocks']())_0x1938b6(_0x2b6b0d)&&(yield _0x2b6b0d);_0x1938b6(_0x96ebfb)&&(yield _0x96ebfb);}*['_getFormattingAttributes'](_0x54163e,_0x1428fb){for(const [_0xc87627]of _0x54163e['getAttributes']()){const _0x1ecc0e=_0x1428fb['getAttributeProperties'](_0xc87627);_0x1ecc0e&&_0x1ecc0e['isFormatting']&&(yield _0xc87627);}}}class FormatPainterEditing extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x101d3c=this['editor'];_0x101d3c['commands']['add'](_0x316caa,new CopyFormatCommand(_0x101d3c)),_0x101d3c['commands']['add'](_0x2ab4cf,new PasteFormatCommand(_0x101d3c)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x7bd5f1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x550442;for(const _0x1a3a36 in _0x7bd5f1){const _0x321882=_0x1a3a36,_0xddd3ee=_0x7bd5f1[_0x321882];if('formatPainterLicenseKeyValid'==_0xddd3ee||'formatPainterLicenseKeyInvalid'==_0xddd3ee||'formatPainterLicenseKeyExpired'==_0xddd3ee||'formatPainterLicenseKeyDomainLimit'==_0xddd3ee||'formatPainterLicenseKeyNotAllowed'==_0xddd3ee||'formatPainterLicenseKeyEvaluationLimit'==_0xddd3ee||'formatPainterLicenseKeyUsageLimit'==_0xddd3ee){delete _0x7bd5f1[_0x321882],_0x550442=_0xddd3ee,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x550442&&_0x7bd5f1['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x550442&&_0x7bd5f1['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x550442&&_0x7bd5f1['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x550442&&_0x7bd5f1['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x550442&&_0x7bd5f1['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyUsageLimit'==_0x550442&&_0x7bd5f1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function getTranslation$b(_0x51f12a,_0x129bec){const t=_0x51f12a['t'];switch(_0x129bec){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 _0x129bec;}}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 _0x951507=this['editor'];_0x951507['editing']['view']['addObserver'](ckeditor5['ClickObserver']),_0x951507['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':getTranslation$b(_0x951507['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':getTranslation$b(_0x951507['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x951507['ui']['componentFactory']['add']('formatPainter',_0x570b13=>{const _0x4431b7=ckeditor5['createDropdown'](_0x570b13,ckeditor5['SplitButtonView']),_0x5a2f00=_0x951507['commands']['get'](_0x316caa);_0x4431b7['buttonView']['set']({'label':getTranslation$b(_0x951507['locale'],'Paint\x20formatting'),'icon':ckeditor5['IconPaintRoller'],'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x4431b7['class']='ck-format-painter-dropdown',_0x5a2f00&&(_0x4431b7['bind']('isEnabled')['to'](_0x5a2f00,'isEnabled'),this['listenTo'](_0x5a2f00,'change:isEnabled',(_0x5065a7,_0xc38d31,_0x2c954f)=>{_0x2c954f||this['_finishPainting']();}),_0x4431b7['buttonView']['bind']('isOn')['to'](_0x5a2f00,'value',_0xcca4b=>!!_0xcca4b),this['listenTo'](_0x951507,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x5a2f00,'change:value',(_0x58ee4b,_0x365cf7,_0x11b081)=>{this['_toggleSpecialCursor'](!!_0x11b081);}));const _0x3142fc=new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$b(_0x951507['locale'],'Continuous\x20painting'),'tooltip':getTranslation$b(_0x951507['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});ckeditor5['addListToDropdown'](_0x4431b7,new ckeditor5['Collection']([{'type':'switchbutton','model':_0x3142fc}]),{'role':'menu'});const _0xb76f12=()=>{this['_copyFormatting'](),this['listenTo'](ckeditor5['global']['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x3142fc['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x4431b7,'execute',()=>{_0x3142fc['isOn']=!_0x3142fc['isOn'];}),this['listenTo'](_0x4431b7['buttonView'],'execute',()=>{_0x951507['editing']['view']['focus'](),_0x4431b7['buttonView']['isOn']?this['_finishPainting']():_0xb76f12();}),_0x951507['keystrokes']['set']('Ctrl+Alt+C',(_0xd5bda5,_0x5be060)=>{_0xb76f12(),_0x3142fc['isOn']=!0x0,_0x5be060();},{'priority':'high'}),_0x951507['keystrokes']['set']('Ctrl+Alt+V',(_0x19eaae,_0x2338a2)=>{_0x4431b7['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x3142fc['isOn']||this['_finishPainting'](),_0x2338a2());},{'priority':'high'}),_0x951507['keystrokes']['set']('Esc',(_0x39794b,_0xd18262)=>{_0x4431b7['buttonView']['isOn']&&(_0x3142fc['isOn']=!0x1,this['_finishPainting'](),_0xd18262());}),_0x4431b7;});}['afterInit'](){_0x30a634(this);}['_toggleSpecialCursor'](_0x2530c5){this['editor']['editing']['view']['change'](_0x279180=>{for(const _0x350f9a of this['editor']['editing']['view']['document']['roots'])_0x2530c5?_0x279180['addClass'](_0x1c3622,_0x350f9a):_0x279180['removeClass'](_0x1c3622,_0x350f9a);});}['_copyFormatting'](){const {editor:_0xcf7de}=this;_0xcf7de['execute'](_0x316caa),_0xcf7de['ui']['ariaLiveAnnouncer']['announce'](getTranslation$b(_0xcf7de['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x37608a}=this,_0x34a7a5=_0x37608a['commands']['get'](_0x316caa)['value'];_0x37608a['execute'](_0x2ab4cf,_0x34a7a5),_0x37608a['ui']['ariaLiveAnnouncer']['announce'](getTranslation$b(_0x37608a['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](_0x316caa)['reset'](),this['stopListening'](ckeditor5['global']['window']['document'],'mouseup');}}async function _0x30a634(_0x1df695){const _0x5df3ce=_0x364009([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]),_0x400a0c=window[_0x364009([0x44,0x61,0x74,0x65])][_0x364009([0x6e,0x6f,0x77])](),_0x4b6f38=_0x1df695[_0x364009([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x79110c=new window[(_0x364009([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4796d5=>{_0x4b6f38[_0x364009([0x6f,0x6e,0x63,0x65])](_0x364009([0x72,0x65,0x61,0x64,0x79]),_0x4796d5);}),_0x58ac8e={[_0x364009([0x6b,0x74,0x79])]:_0x364009([0x45,0x43]),[_0x364009([0x75,0x73,0x65])]:_0x364009([0x73,0x69,0x67]),[_0x364009([0x63,0x72,0x76])]:_0x364009([0x50,0x2d,0x32,0x35,0x36]),[_0x364009([0x78])]:_0x364009([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]),[_0x364009([0x79])]:_0x364009([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]),[_0x364009([0x61,0x6c,0x67])]:_0x364009([0x45,0x53,0x32,0x35,0x36])},_0x3f6e04=_0x4b6f38[_0x364009([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x364009([0x67,0x65,0x74])](_0x364009([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x2d4d0d=await(async function(){let _0x51c524,_0x717cb5=null,_0x1e4a61=null;try{if(_0x3f6e04==_0x364009([0x47,0x50,0x4c]))return _0x364009([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x51c524=(function(){const _0x195d37=_0x3f6e04[_0x364009([0x73,0x70,0x6c,0x69,0x74])](_0x364009([0x2e]));if(0x3!=_0x195d37[_0x364009([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x101393=_0x195d37[0x1];return _0x5b2cf3(_0x101393);function _0x5b2cf3(_0x323b3d){const _0x362fc8=_0x43bb74(_0x323b3d);return _0x362fc8&&_0x2de3db()?_0x362fc8:null;function _0x2de3db(){const _0x22c82d=_0x362fc8[_0x364009([0x6a,0x74,0x69])],_0x23d404=window[_0x364009([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22c82d[_0x364009([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x22c82d[_0x364009([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5a4e67={..._0x362fc8,[_0x364009([0x6a,0x74,0x69])]:_0x22c82d[_0x364009([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x22c82d[_0x364009([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5a4e67[_0x364009([0x76,0x63])],_0x170f75(_0x5a4e67)==_0x23d404;}}}()),!_0x51c524)return _0x364009([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x51c524[_0x364009([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1e4a61=function(_0x142866,_0x584fbb){return new window[(_0x364009([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x539ead=>{if(_0x3911f3())return _0x539ead(_0x364009([0x56,0x61,0x6c,0x69,0x64]));_0xe2f09a(),_0x4b6f38[_0x364009([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x364009([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1b0854=!0x1;const _0x2a0476=ckeditor5['uid']();function _0x4ce4b3(_0x2e2159){return!!_0x2e2159&&(typeof _0x2e2159===_0x364009([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2e2159===_0x364009([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2e2159[_0x364009([0x74,0x68,0x65,0x6e])]===_0x364009([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2e2159[_0x364009([0x63,0x61,0x74,0x63,0x68])]===_0x364009([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x444861(_0xd9a368){_0x33ac41(_0xd9a368)[_0x364009([0x74,0x68,0x65,0x6e])](_0x1b9544=>{if(!_0x1b9544||_0x1b9544[_0x364009([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x364009([0x6f,0x6b]))return _0x364009([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x76762f(_0x170f75(_0x2a0476+_0x584fbb))!=_0x1b9544[_0x364009([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x364009([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x364009([0x56,0x61,0x6c,0x69,0x64]);})[_0x364009([0x74,0x68,0x65,0x6e])](_0x400ac8=>(_0x509db6(),_0x400ac8),()=>{const _0x1d277f=_0x231446();return null==_0x1d277f?(_0x509db6(),_0x364009([0x56,0x61,0x6c,0x69,0x64])):_0x364009(_0x400a0c-_0x1d277f>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x364009([0x74,0x68,0x65,0x6e])](_0x539ead)[_0x364009([0x63,0x61,0x74,0x63,0x68])](()=>{_0x539ead(_0x364009([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x233a3c=0x36ee80;function _0x509db6(){const _0xedd0f2=_0x364009([0x6c,0x6c,0x63,0x74,0x2d])+_0x76762f(_0x170f75(_0x142866)),_0x7ac589=_0x320f36(_0x76762f(window[_0x364009([0x4d,0x61,0x74,0x68])][_0x364009([0x63,0x65,0x69,0x6c])](_0x400a0c/_0x233a3c)));window[_0x364009([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x364009([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xedd0f2,_0x7ac589);}function _0x231446(){const _0x2f011e=_0x364009([0x6c,0x6c,0x63,0x74,0x2d])+_0x76762f(_0x170f75(_0x142866)),_0x5b0dca=window[_0x364009([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x364009([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f011e);return _0x5b0dca?window[_0x364009([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x320f36(_0x5b0dca),0x10)*_0x233a3c:null;}function _0x33ac41(_0x3183fa){return new window[(_0x364009([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x52b03b,_0x25c5aa)=>{_0x3183fa[_0x364009([0x74,0x68,0x65,0x6e])](_0x52b03b,_0x25c5aa),window[_0x364009([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x25c5aa,0x1d4c0);});}}_0x4b6f38[_0x364009([0x6f,0x6e])](_0x364009([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5b0e8c,_0x3457bb)=>{if(_0x3457bb[0x0]!=_0x142866)return _0x539ead(_0x364009([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3457bb[0x1]={..._0x3457bb[0x1],[_0x364009([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2a0476};},{[_0x364009([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x364009([0x68,0x69,0x67,0x68])}),_0x4b6f38[_0x364009([0x6f,0x6e])](_0x364009([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3f78ad=>{_0x4ce4b3(_0x3f78ad[_0x364009([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1b0854=!0x0,_0x444861(_0x3f78ad[_0x364009([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x364009([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x364009([0x6c,0x6f,0x77])}),_0x79110c[_0x364009([0x74,0x68,0x65,0x6e])](()=>{_0x1b0854||_0x539ead(_0x364009([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3911f3(){return _0x4b6f38[_0x364009([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x364009([0x76,0x69,0x65,0x77])][_0x364009([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x364009([0x61,0x75,0x74,0x6f]);}function _0xe2f09a(){_0x4b6f38[_0x364009([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x364009([0x76,0x69,0x65,0x77])][_0x364009([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x364009([0x61,0x75,0x74,0x6f]);}}(_0x51c524[_0x364009([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x51c524[_0x364009([0x6a,0x74,0x69])]));const _0x1d6699=await(async function(){let _0x3e3e48=!0x0;try{const _0x55260b=_0x3f6e04[_0x364009([0x73,0x70,0x6c,0x69,0x74])](_0x364009([0x2e])),[_0x298509,_0x5ca325,_0x5e497a]=_0x55260b;return _0x7b1790(_0x298509),await _0x302006(_0x298509,_0x5ca325,_0x5e497a),_0x3e3e48;}catch{return!0x1;}function _0x7b1790(_0x4b3ffa){const _0x4301a9=_0x43bb74(_0x4b3ffa);_0x4301a9&&_0x4301a9[_0x364009([0x61,0x6c,0x67])]==_0x364009([0x45,0x53,0x32,0x35,0x36])||(_0x3e3e48=!0x1);}async function _0x302006(_0xe02d23,_0x57c38d,_0x43b5d1){const _0x142168=window[_0x364009([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x364009([0x66,0x72,0x6f,0x6d])](_0x183987(_0x43b5d1),_0x36bb10=>_0x36bb10[_0x364009([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x489aee=new window[(_0x364009([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x364009([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xe02d23+_0x364009([0x2e])+_0x57c38d),_0x147b8b=window[_0x364009([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x364009([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x147b8b)return;const _0x2fc196=await _0x147b8b[_0x364009([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x364009([0x6a,0x77,0x6b]),_0x58ac8e,{[_0x364009([0x6e,0x61,0x6d,0x65])]:_0x364009([0x45,0x43,0x44,0x53,0x41]),[_0x364009([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x364009([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x364009([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x147b8b[_0x364009([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x364009([0x6e,0x61,0x6d,0x65])]:_0x364009([0x45,0x43,0x44,0x53,0x41]),[_0x364009([0x68,0x61,0x73,0x68])]:{[_0x364009([0x6e,0x61,0x6d,0x65])]:_0x364009([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2fc196,_0x142168,_0x489aee)||(_0x3e3e48=!0x1);}}());return _0x1d6699?(function(){const _0x2dd1f2=_0x51c524[_0x364009([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x2dd1f2)return!0x1;if(_0x2dd1f2[_0x364009([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x364009([0x2a])))return!0x0;if(_0x2dd1f2[_0x364009([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x364009([0x46,0x50])))return!0x0;if(_0x2dd1f2[_0x364009([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x364009([0x50,0x50])))return!0x0;if(_0x2dd1f2[_0x364009([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x364009([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x364009([0x67,0x6c,0x6f,0x62])]&&window[_0x364009([0x67,0x6c,0x6f,0x62])][_0x364009([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x5414ad=[_0x364009([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x364009([0x74,0x72,0x69,0x61,0x6c])][_0x364009([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51c524[_0x364009([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x400a0c/0x3e8:0x69d59a80;return _0x51c524[_0x364009([0x65,0x78,0x70])]<_0x5414ad;}())?_0x364009([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x396574=_0x51c524[_0x364009([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x396574||0x0==_0x396574[_0x364009([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x13353e}=new URL(window[_0x364009([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x396574[_0x364009([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13353e))return!0x0;const _0x319afe=_0x13353e[_0x364009([0x73,0x70,0x6c,0x69,0x74])](_0x364009([0x2e]));return _0x396574[_0x364009([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x14f0de=>_0x14f0de[_0x364009([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x364009([0x2a])))[_0x364009([0x6d,0x61,0x70])](_0x197ada=>_0x197ada[_0x364009([0x73,0x70,0x6c,0x69,0x74])](_0x364009([0x2e])))[_0x364009([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3546f8=>_0x3546f8[_0x364009([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x319afe[_0x364009([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x364009([0x6d,0x61,0x70])](_0x478ea7=>Array(_0x319afe[_0x364009([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x478ea7[_0x364009([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x364009([0x66,0x69,0x6c,0x6c])](_0x478ea7[0x0]===_0x364009([0x2a])?_0x364009([0x2a]):'')[_0x364009([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x478ea7))[_0x364009([0x73,0x6f,0x6d,0x65])](_0x509ded=>_0x319afe[_0x364009([0x65,0x76,0x65,0x72,0x79])]((_0x50aeb0,_0x593b18)=>_0x509ded[_0x593b18]===_0x50aeb0||_0x509ded[_0x593b18]===_0x364009([0x2a])));}())?(_0x51c524[_0x364009([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x364009([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x717cb5=function(_0x288c6b){const _0x447868=new window[(_0x364009([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f2017=>setTimeout(_0x2f2017,0x93ecc)),_0x553e5b=_0x79110c[_0x364009([0x74,0x68,0x65,0x6e])](()=>new window[(_0x364009([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x496366=>{let _0x13cc51=0x0;_0x4b6f38[_0x364009([0x6d,0x6f,0x64,0x65,0x6c])][_0x364009([0x6f,0x6e])](_0x364009([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x221b0e,_0x339d6e)=>{_0x339d6e[0x0][_0x364009([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x13cc51++,0x5e8==_0x13cc51&&(_0x496366(),_0x221b0e[_0x364009([0x6f,0x66,0x66])]());});})),_0x4d92eb=[_0x447868,_0x553e5b];return window[_0x364009([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x364009([0x72,0x61,0x63,0x65])](_0x4d92eb)[_0x364009([0x74,0x68,0x65,0x6e])](()=>_0x288c6b);}(_0x364009([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x717cb5&&_0x1e4a61)return new window[(_0x364009([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x486c39,_0x39ce27)=>{_0x717cb5[_0x364009([0x74,0x68,0x65,0x6e])](_0x486c39,_0x39ce27),_0x1e4a61[_0x364009([0x74,0x68,0x65,0x6e])](_0x39d1ea=>{_0x39d1ea!=_0x364009([0x56,0x61,0x6c,0x69,0x64])&&_0x486c39(_0x39d1ea);},_0x39ce27);});return _0x717cb5||_0x1e4a61||_0x364009([0x56,0x61,0x6c,0x69,0x64]);}())):_0x364009([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x364009([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x364009([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x364009([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x43bb74(_0x385ce2){return _0x385ce2[_0x364009([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x364009([0x65,0x79]))?JSON[_0x364009([0x70,0x61,0x72,0x73,0x65])](_0x183987(_0x385ce2)):null;}function _0x183987(_0x2c15b5){return window[_0x364009([0x61,0x74,0x6f,0x62])](_0x2c15b5[_0x364009([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x364009([0x2b]))[_0x364009([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x364009([0x2f])));}function _0x170f75(_0x3ce51c){let _0x4b9614=0x1505;function _0x347358(_0x32d373){for(let _0x1e25be=0x0;_0x1e25be<_0x32d373[_0x364009([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1e25be++){const _0x44b059=_0x32d373[_0x364009([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1e25be);_0x4b9614=(_0x4b9614<<0x5)+_0x4b9614+_0x44b059,_0x4b9614&=_0x4b9614;}}return function _0x222c6a(_0xbec70c){Array[_0x364009([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xbec70c)?_0xbec70c[_0x364009([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x222c6a):_0xbec70c&&typeof _0xbec70c==_0x364009([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x364009([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xbec70c)[_0x364009([0x73,0x6f,0x72,0x74])]()[_0x364009([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1fe9fe,_0x76eb1])=>{_0x347358(_0x1fe9fe),_0x222c6a(_0x76eb1);}):_0x347358(window[_0x364009([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xbec70c));}(_0x3ce51c),_0x4b9614>>>0x0;}function _0x76762f(_0x12b5b4){return _0x12b5b4[_0x364009([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x364009([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x364009([0x30]));}function _0x320f36(_0x539276){return _0x539276[_0x364009([0x73,0x70,0x6c,0x69,0x74])]('')[_0x364009([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x364009([0x6a,0x6f,0x69,0x6e])]('');}function _0xbe3207(){}function _0x364009(_0x24bcfa){return _0x24bcfa['map'](_0x4bd2ff=>String['fromCharCode'](_0x4bd2ff))['join']('');}!function(_0x49cb4a){const _0x448a20=(function(){const _0x3b21e9=window[_0x364009([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x364009([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x364009([0x6e,0x6f,0x77])]())[_0x364009([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x364009([0x2e]),'');let _0x27fdf9=_0x364009([0x51]);for(let _0x1a0576=0x0;_0x1a0576<_0x3b21e9[_0x364009([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1a0576+=0x2){let _0x2332c2=window[_0x364009([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b21e9[_0x364009([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1a0576,_0x1a0576+0x2));_0x2332c2>=_0x5df3ce[_0x364009([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2332c2-=_0x5df3ce[_0x364009([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x27fdf9+=_0x5df3ce[_0x2332c2];}return _0x27fdf9;}());_0x4b6f38[_0x448a20]=_0x364009([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x49cb4a,_0x49cb4a!=_0x364009([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x79110c,_0x4b6f38[_0x364009([0x6d,0x6f,0x64,0x65,0x6c])][_0x364009([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xbe3207,_0x4b6f38[_0x364009([0x6d,0x6f,0x64,0x65,0x6c])][_0x364009([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xbe3207,_0x4b6f38[_0x364009([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x364009([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x2d4d0d);}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(_0x5ecca5,_0x3c6eb4){const t=_0x5ecca5['t'];switch(_0x3c6eb4){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 _0x3c6eb4;}}class ImportWordUI extends ckeditor5['Plugin']{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x8a4ae2=this['editor'];_0x8a4ae2['ui']['componentFactory']['add']('importWord',()=>{const _0x1b9e40=this['_createButton'](ckeditor5['FileDialogButtonView']),_0x4373f1=_0x8a4ae2['commands']['get']('importWord');return _0x1b9e40['bind']('isOn')['to'](_0x4373f1,'isBusy'),_0x1b9e40['tooltip']=!0x0,_0x1b9e40;}),_0x8a4ae2['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](ckeditor5['MenuBarMenuListItemFileDialogButtonView']));}['_createButton'](_0x369184){const _0x4fa615=this['editor'],_0xfcee5d=_0x4fa615['commands']['get']('importWord'),_0x37af8e=new _0x369184(_0x4fa615['locale']),_0x4dd0b2=new ckeditor5['SpinnerView']();return _0x37af8e['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x37af8e['set']({'icon':ckeditor5['IconImportWord']}),_0x37af8e['bind']('isEnabled')['to'](_0xfcee5d),_0x37af8e['bind']('label')['to'](_0xfcee5d,'isBusy',_0x15d756=>getTranslation$a(_0x4fa615['locale'],_0x15d756?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x4dd0b2['bind']('isVisible')['to'](_0xfcee5d,'isBusy'),_0x37af8e['iconView']['bind']('isVisible')['to'](_0xfcee5d,'isBusy',_0x3b7ac9=>!_0x3b7ac9),_0x37af8e['children']['add'](_0x4dd0b2),_0x37af8e['on']('done',(_0x3c900f,_0x49246a)=>{_0x4fa615['execute']('importWord',_0x49246a[0x0],{}),_0x4fa615['editing']['view']['focus']();}),_0x37af8e;}}class ImportWordCommand extends ckeditor5['Command']{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x3ddd51){super(_0x3ddd51),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x2ce9b2,_0x357204)=>{const _0x40d7b8=new DataTransfer();_0x40d7b8['setData']('text/html',_0x357204['html']);const _0xad9595=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x4b8209=>{this['_importMarker']['stopListening'](),_0x4b8209['setSelection'](_0xad9595),_0x3ddd51['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x40d7b8});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0xbdbab2,_0x4bce5a={}){if(this['isBusy'])return Promise['resolve']();const _0x35de2c=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x1a3454,suffix:_0x43790e}=this['editor']['config']['get']('mergeFields');_0x4bce5a['merge_fields']={'prefix':_0x1a3454,'suffix':_0x43790e};}const _0x2b0482={'url':_0x35de2c['converterUrl'],'file':_0xbdbab2,'serviceConfig':{..._0x4bce5a,'formatting':_0x35de2c['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x2b0482)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x41ce46=this['editor']['model'],_0x316e7a=_0x41ce46['schema'],_0x447464=_0x41ce46['document']['selection'],_0x38e78b=ckeditor5['first'](_0x447464['getSelectedBlocks']());return!!_0x38e78b&&_0x316e7a['checkChild'](_0x38e78b['parent'],'paragraph');}['_prepareForImport'](){const _0x2c5ed7=this['editor'],_0x539e85=_0x2c5ed7['model'],_0xda9546=_0x539e85['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x2c5ed7['model']['createBatch']({'isUndoable':!0x0}),_0x539e85['enqueueChange'](this['_undoStepBatch'],_0x2c9411=>{_0xda9546['isCollapsed']||_0x539e85['deleteContent'](_0xda9546,{'leaveUnmerged':!0x0});const _0x127696=_0xda9546['getFirstPosition'](),_0x426669=ckeditor5['first'](_0xda9546['getSelectedBlocks']());let _0xd3115d;_0xd3115d=_0x426669['is']('element','paragraph')&&_0x426669['isEmpty']?_0x127696:_0x127696['isAtStart']?_0x539e85['createPositionBefore'](_0x426669):_0x127696['isAtEnd']?_0x539e85['createPositionAfter'](_0x426669):_0x2c9411['split'](_0x127696)['position'],this['_importMarker']=_0x2c9411['addMarker']('importWord:'+ckeditor5['uid'](),{'usingOperation':!0x1,'affectsData':!0x1,'range':new ckeditor5['ModelRange'](_0xd3115d)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x3d0e45=this['editor']['model'];_0x3d0e45['markers']['has'](this['_importMarker'])&&_0x3d0e45['enqueueChange'](this['_undoStepBatch'],_0x214eb6=>{_0x214eb6['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x45112b,file:_0x5ee1a7,serviceConfig:_0x4164d8}){const _0x434830=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x1bf92e=new FormData();_0x1bf92e['set']('config',JSON['stringify'](_0x4164d8)),_0x1bf92e['set']('file',_0x5ee1a7);const _0x432c6f={'method':'POST','headers':{},'body':_0x1bf92e,'signal':this['_abortController']['signal']};return _0x434830&&(_0x432c6f['headers']['Authorization']=_0x434830['value']),fetch(_0x45112b,_0x432c6f);}['_handleImportResponse'](_0x46497a){return _0x46497a['ok']?_0x46497a['json']()['then'](_0x223649=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',{..._0x223649,'undoStepBatch':this['_undoStepBatch']});}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void ckeditor5['logWarning']('import-word-plugin-import-cancelled');const _0xfb5f39=this['editor'],_0x214131=getTranslation$a(_0xfb5f39['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0xfb5f39['plugins']['get']('Notification')['showWarning'](_0x214131),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(_0x58c5b1){super(_0x58c5b1),this['_token']=null;}async['init'](){const _0x148521=this['editor'];_0x148521['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x148521['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x148521['commands']['add']('importWord',new ImportWordCommand(_0x148521));const {tokenUrl:_0x592d93}=_0x148521['config']['get']('importWord');if(_0x592d93){const {tokenUrl:_0x50b7cb}=_0x148521['config']['get']('cloudServices')||{};this['_token']=_0x592d93===_0x50b7cb?_0x148521['plugins']['get']('CloudServices')['token']:await _0x148521['plugins']['get']('CloudServices')['registerTokenUrl'](_0x592d93);}}['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 _0x88e99c=this['editor']['model']['document'],_0x480c49=ckeditor5['first'](_0x88e99c['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x480c49)&&this['_canHaveLineHeight'](_0x480c49),this['value']=this['isEnabled']&&_0x480c49['getAttribute']('lineHeight');}['execute'](_0x23c60a={}){const _0x57a7c8=this['editor']['model'],_0x3618ea=_0x57a7c8['document']['selection'],_0x36d8a8=_0x23c60a['value'];_0x57a7c8['change'](_0x595fef=>{const _0x224c8c=Array['from'](_0x3618ea['getSelectedBlocks']())['filter'](_0x1ca1c9=>this['_canHaveLineHeight'](_0x1ca1c9));for(const _0x32b6d0 of _0x224c8c)_0x36d8a8?_0x595fef['setAttribute']('lineHeight',_0x36d8a8,_0x32b6d0):_0x595fef['removeAttribute']('lineHeight',_0x32b6d0);});}['_canHaveLineHeight'](_0x21e688){return this['editor']['model']['schema']['checkAttribute'](_0x21e688,'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(_0x1f81ff){return'string'==typeof _0x1f81ff&&'default'===_0x1f81ff['toLowerCase']();}function normalizeOptions(_0xd5772f){return _0xd5772f['options']['map'](_0x30ebbb=>isLineHeightDefaultValue(_0x30ebbb)?{'title':String(_0xd5772f['defaultValue']),'model':'default'}:('number'==typeof _0x30ebbb&&(_0x30ebbb=String(_0x30ebbb)),'string'!=typeof _0x30ebbb?_0x30ebbb:parseFloat(_0x30ebbb)?{'title':_0x30ebbb,'model':_0x30ebbb,'view':{'name':'span','styles':{'line-height':_0x30ebbb}}}:findPreset(_0x30ebbb)))['filter'](_0x2b8627=>void 0x0!==_0x2b8627);}function findPreset(_0x2fda4b){return'string'==typeof _0x2fda4b?namedPresets[_0x2fda4b]:namedPresets[_0x2fda4b['model']];}function buildDefinition(_0x3ccdbd,_0x10ef86){const _0x52629e={'model':{'key':_0x3ccdbd,'values':[]},'view':{}};for(const _0x137b23 of _0x10ef86)'class'===_0x137b23['view']?.['key']?(_0x52629e['model']['values']['push'](_0x137b23['model']),_0x52629e['view'][_0x137b23['model']]={'key':'class','value':_0x137b23['view']['value']}):(_0x52629e['model']['values']['push'](_0x137b23['model']),_0x52629e['view'][_0x137b23['model']]={'key':'style','value':'line-height:'+_0x137b23['model']+';'});return _0x52629e;}class LineHeightTodoListIntegration extends ckeditor5['Plugin']{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x20bab5,conversion:_0x2ef05d}=this['editor'];if(!_0x20bab5['has']('ListEditing')||!_0x20bab5['has']('TodoListEditing'))return;_0x20bab5['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x5b0741,_0x945729,_0x46072b,_0x1aa4c7,_0x52c2a1){'todo'==_0x52c2a1['getAttribute']('listType')&&_0x945729&&(_0x5b0741['addClass']('ck-list-marker-line-height',_0x46072b),_0x5b0741['setStyle']('--ck-content-list-marker-line-height',_0x945729,_0x46072b));}}),_0x2ef05d['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x2ef05d['for']('upcast')['add'](_0x3494ca=>{_0x3494ca['on']('element:li',attributeUpcastConsumingConverter({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}function attributeUpcastConsumingConverter(_0x1410cd){const _0x437c21=new ckeditor5['Matcher'](_0x1410cd);return(_0x30762a,_0xffd8df,_0x30ea03)=>{const _0x547f7a=_0x437c21['match'](_0xffd8df['viewItem']);if(!_0x547f7a)return;const _0x26fd49=_0x547f7a['match'];_0x26fd49['name']=!0x1,_0x30ea03['consumable']['consume'](_0xffd8df['viewItem'],_0x26fd49);};}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(_0x425afd){super(_0x425afd),_0x425afd['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x1bc799=this['editor'];this['_validateConfig'](),_0x1bc799['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x1bc799['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x1bc799['commands']['add']('lineHeight',new LineHeightCommand(_0x1bc799)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){_0x4aee0e(this);}['_validateConfig'](){const _0x2cb63c=this['editor'];if(!_0x2cb63c['config']['get']('lineHeight.supportAllValues'))return;const _0x49678a=_0x2cb63c['config']['get']('lineHeight.options')['filter'](_0x23cc30=>'string'==typeof _0x23cc30&&(!isLineHeightDefaultValue(_0x23cc30)&&isNaN(Number(_0x23cc30))));if(_0x49678a['length'])throw new ckeditor5['CKEditorError']('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x49678a});}['_prepareAnyValueConverters'](){const _0x38d139=this['editor'],_0xf0cd7d=this['editor']['config']['get']('lineHeight.defaultValue');_0x38d139['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0xa0d67f=>String(_0xa0d67f)===String(_0xf0cd7d)?null:{'key':'style','value':{'line-height':_0xa0d67f}}}),_0x38d139['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x443e57=>{let _0x521d18=_0x443e57['getStyle']('line-height');return ckeditor5['isPercentageStyleValue'](_0x521d18)&&(_0x521d18=String(Number(_0x521d18['slice'](0x0,-0x1))/0x64)),String(_0x521d18)===String(_0xf0cd7d)?null:_0x521d18;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x6c6a5e=this['editor'],_0x4364bd=this['editor']['config']['get']('lineHeight.defaultValue'),_0x52a187=buildDefinition('lineHeight',normalizeOptions(this['editor']['config']['get']('lineHeight'))['filter'](_0x272655=>_0x272655['model']));_0x6c6a5e['conversion']['attributeToAttribute'](_0x52a187),_0x6c6a5e['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x240b68=>{let _0x11343e=_0x240b68['getStyle']('line-height');return ckeditor5['isPercentageStyleValue'](_0x11343e)&&(_0x11343e=String(Number(_0x11343e['slice'](0x0,-0x1))/0x64)),_0x11343e===String(_0x4364bd)?null:_0x52a187['model']['values']['includes'](_0x11343e)?_0x11343e:null;}}});}}async function _0x4aee0e(_0x21c7bf){const _0x191567=_0x40d81f([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]),_0x4d845b=window[_0x40d81f([0x44,0x61,0x74,0x65])][_0x40d81f([0x6e,0x6f,0x77])](),_0x574a11=_0x21c7bf[_0x40d81f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x485cf3=new window[(_0x40d81f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ed6e9=>{_0x574a11[_0x40d81f([0x6f,0x6e,0x63,0x65])](_0x40d81f([0x72,0x65,0x61,0x64,0x79]),_0x1ed6e9);}),_0x5a29f9={[_0x40d81f([0x6b,0x74,0x79])]:_0x40d81f([0x45,0x43]),[_0x40d81f([0x75,0x73,0x65])]:_0x40d81f([0x73,0x69,0x67]),[_0x40d81f([0x63,0x72,0x76])]:_0x40d81f([0x50,0x2d,0x32,0x35,0x36]),[_0x40d81f([0x78])]:_0x40d81f([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]),[_0x40d81f([0x79])]:_0x40d81f([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]),[_0x40d81f([0x61,0x6c,0x67])]:_0x40d81f([0x45,0x53,0x32,0x35,0x36])},_0x23a4d1=_0x574a11[_0x40d81f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x40d81f([0x67,0x65,0x74])](_0x40d81f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x37a59e=await(async function(){let _0x6204ef,_0x362973=null,_0x3d0edf=null;try{if(_0x23a4d1==_0x40d81f([0x47,0x50,0x4c]))return _0x40d81f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x6204ef=(function(){const _0x3a1dc3=_0x23a4d1[_0x40d81f([0x73,0x70,0x6c,0x69,0x74])](_0x40d81f([0x2e]));if(0x3!=_0x3a1dc3[_0x40d81f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x243c7b=_0x3a1dc3[0x1];return _0x29d03c(_0x243c7b);function _0x29d03c(_0x1a74ee){const _0x24f3f1=_0x49f97c(_0x1a74ee);return _0x24f3f1&&_0x17dba1()?_0x24f3f1:null;function _0x17dba1(){const _0x1144f=_0x24f3f1[_0x40d81f([0x6a,0x74,0x69])],_0x4deb92=window[_0x40d81f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1144f[_0x40d81f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1144f[_0x40d81f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x57cd1f={..._0x24f3f1,[_0x40d81f([0x6a,0x74,0x69])]:_0x1144f[_0x40d81f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1144f[_0x40d81f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x57cd1f[_0x40d81f([0x76,0x63])],_0x3c114c(_0x57cd1f)==_0x4deb92;}}}()),!_0x6204ef)return _0x40d81f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x6204ef[_0x40d81f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3d0edf=function(_0x545d68,_0x56a1a3){return new window[(_0x40d81f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x502558=>{if(_0x42973f())return _0x502558(_0x40d81f([0x56,0x61,0x6c,0x69,0x64]));_0x324b9a(),_0x574a11[_0x40d81f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x40d81f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x41e4d7=!0x1;const _0x322fc9=ckeditor5['uid']();function _0x5dcb5b(_0x1d7d56){return!!_0x1d7d56&&(typeof _0x1d7d56===_0x40d81f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1d7d56===_0x40d81f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1d7d56[_0x40d81f([0x74,0x68,0x65,0x6e])]===_0x40d81f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1d7d56[_0x40d81f([0x63,0x61,0x74,0x63,0x68])]===_0x40d81f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2e257a(_0x4cbb55){_0x4aafbd(_0x4cbb55)[_0x40d81f([0x74,0x68,0x65,0x6e])](_0x14ea3f=>{if(!_0x14ea3f||_0x14ea3f[_0x40d81f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x40d81f([0x6f,0x6b]))return _0x40d81f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1870e8(_0x3c114c(_0x322fc9+_0x56a1a3))!=_0x14ea3f[_0x40d81f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x40d81f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x40d81f([0x56,0x61,0x6c,0x69,0x64]);})[_0x40d81f([0x74,0x68,0x65,0x6e])](_0x40a379=>(_0x4c5a64(),_0x40a379),()=>{const _0x31d860=_0xb675d2();return null==_0x31d860?(_0x4c5a64(),_0x40d81f([0x56,0x61,0x6c,0x69,0x64])):_0x40d81f(_0x4d845b-_0x31d860>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x40d81f([0x74,0x68,0x65,0x6e])](_0x502558)[_0x40d81f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x502558(_0x40d81f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x39b945=0x36ee80;function _0x4c5a64(){const _0x3f36e4=_0x40d81f([0x6c,0x6c,0x63,0x74,0x2d])+_0x1870e8(_0x3c114c(_0x545d68)),_0x4dccba=_0x3fe5c2(_0x1870e8(window[_0x40d81f([0x4d,0x61,0x74,0x68])][_0x40d81f([0x63,0x65,0x69,0x6c])](_0x4d845b/_0x39b945)));window[_0x40d81f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40d81f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f36e4,_0x4dccba);}function _0xb675d2(){const _0x21657d=_0x40d81f([0x6c,0x6c,0x63,0x74,0x2d])+_0x1870e8(_0x3c114c(_0x545d68)),_0x1907fb=window[_0x40d81f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40d81f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21657d);return _0x1907fb?window[_0x40d81f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3fe5c2(_0x1907fb),0x10)*_0x39b945:null;}function _0x4aafbd(_0xb33566){return new window[(_0x40d81f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x52e682,_0x265c55)=>{_0xb33566[_0x40d81f([0x74,0x68,0x65,0x6e])](_0x52e682,_0x265c55),window[_0x40d81f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x265c55,0x1d4c0);});}}_0x574a11[_0x40d81f([0x6f,0x6e])](_0x40d81f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x571dfa,_0x40d732)=>{if(_0x40d732[0x0]!=_0x545d68)return _0x502558(_0x40d81f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x40d732[0x1]={..._0x40d732[0x1],[_0x40d81f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x322fc9};},{[_0x40d81f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40d81f([0x68,0x69,0x67,0x68])}),_0x574a11[_0x40d81f([0x6f,0x6e])](_0x40d81f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x544c2e=>{_0x5dcb5b(_0x544c2e[_0x40d81f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x41e4d7=!0x0,_0x2e257a(_0x544c2e[_0x40d81f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x40d81f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40d81f([0x6c,0x6f,0x77])}),_0x485cf3[_0x40d81f([0x74,0x68,0x65,0x6e])](()=>{_0x41e4d7||_0x502558(_0x40d81f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x42973f(){return _0x574a11[_0x40d81f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40d81f([0x76,0x69,0x65,0x77])][_0x40d81f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x40d81f([0x61,0x75,0x74,0x6f]);}function _0x324b9a(){_0x574a11[_0x40d81f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40d81f([0x76,0x69,0x65,0x77])][_0x40d81f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x40d81f([0x61,0x75,0x74,0x6f]);}}(_0x6204ef[_0x40d81f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x6204ef[_0x40d81f([0x6a,0x74,0x69])]));const _0x1e8541=await(async function(){let _0x4170f9=!0x0;try{const _0x1b8558=_0x23a4d1[_0x40d81f([0x73,0x70,0x6c,0x69,0x74])](_0x40d81f([0x2e])),[_0x372c9c,_0x45e0eb,_0x354389]=_0x1b8558;return _0x47103a(_0x372c9c),await _0x3de82a(_0x372c9c,_0x45e0eb,_0x354389),_0x4170f9;}catch{return!0x1;}function _0x47103a(_0x432698){const _0x2c20ce=_0x49f97c(_0x432698);_0x2c20ce&&_0x2c20ce[_0x40d81f([0x61,0x6c,0x67])]==_0x40d81f([0x45,0x53,0x32,0x35,0x36])||(_0x4170f9=!0x1);}async function _0x3de82a(_0x29c35c,_0x38cf0b,_0x5eface){const _0x24d5d9=window[_0x40d81f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x40d81f([0x66,0x72,0x6f,0x6d])](_0x402947(_0x5eface),_0x5194a4=>_0x5194a4[_0x40d81f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x45c334=new window[(_0x40d81f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x40d81f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x29c35c+_0x40d81f([0x2e])+_0x38cf0b),_0x30c074=window[_0x40d81f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x40d81f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x30c074)return;const _0x29aba8=await _0x30c074[_0x40d81f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x40d81f([0x6a,0x77,0x6b]),_0x5a29f9,{[_0x40d81f([0x6e,0x61,0x6d,0x65])]:_0x40d81f([0x45,0x43,0x44,0x53,0x41]),[_0x40d81f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x40d81f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x40d81f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x30c074[_0x40d81f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x40d81f([0x6e,0x61,0x6d,0x65])]:_0x40d81f([0x45,0x43,0x44,0x53,0x41]),[_0x40d81f([0x68,0x61,0x73,0x68])]:{[_0x40d81f([0x6e,0x61,0x6d,0x65])]:_0x40d81f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x29aba8,_0x24d5d9,_0x45c334)||(_0x4170f9=!0x1);}}());return _0x1e8541?(function(){const _0x5eeee8=_0x6204ef[_0x40d81f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x5eeee8)return!0x1;if(_0x5eeee8[_0x40d81f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40d81f([0x2a])))return!0x0;if(_0x5eeee8[_0x40d81f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40d81f([0x4c,0x48])))return!0x0;return!0x1;}())?(function(){const _0x4b4c54=[_0x40d81f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x40d81f([0x74,0x72,0x69,0x61,0x6c])][_0x40d81f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6204ef[_0x40d81f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4d845b/0x3e8:0x69d59a80;return _0x6204ef[_0x40d81f([0x65,0x78,0x70])]<_0x4b4c54;}())?_0x40d81f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x1ebf25=_0x6204ef[_0x40d81f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1ebf25||0x0==_0x1ebf25[_0x40d81f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x535026}=new URL(window[_0x40d81f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1ebf25[_0x40d81f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x535026))return!0x0;const _0x4f23be=_0x535026[_0x40d81f([0x73,0x70,0x6c,0x69,0x74])](_0x40d81f([0x2e]));return _0x1ebf25[_0x40d81f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4eea58=>_0x4eea58[_0x40d81f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40d81f([0x2a])))[_0x40d81f([0x6d,0x61,0x70])](_0x35931d=>_0x35931d[_0x40d81f([0x73,0x70,0x6c,0x69,0x74])](_0x40d81f([0x2e])))[_0x40d81f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x130f29=>_0x130f29[_0x40d81f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4f23be[_0x40d81f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40d81f([0x6d,0x61,0x70])](_0xbc28d2=>Array(_0x4f23be[_0x40d81f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xbc28d2[_0x40d81f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40d81f([0x66,0x69,0x6c,0x6c])](_0xbc28d2[0x0]===_0x40d81f([0x2a])?_0x40d81f([0x2a]):'')[_0x40d81f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xbc28d2))[_0x40d81f([0x73,0x6f,0x6d,0x65])](_0x49a780=>_0x4f23be[_0x40d81f([0x65,0x76,0x65,0x72,0x79])]((_0x4a3fe2,_0x22b64d)=>_0x49a780[_0x22b64d]===_0x4a3fe2||_0x49a780[_0x22b64d]===_0x40d81f([0x2a])));}())?(_0x6204ef[_0x40d81f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x40d81f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x362973=function(_0x1da2aa){const _0x6d1443=new window[(_0x40d81f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a627c=>setTimeout(_0x2a627c,0x93ecc)),_0x2ae437=_0x485cf3[_0x40d81f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x40d81f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe28d02=>{let _0x502cba=0x0;_0x574a11[_0x40d81f([0x6d,0x6f,0x64,0x65,0x6c])][_0x40d81f([0x6f,0x6e])](_0x40d81f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x56533e,_0x158536)=>{_0x158536[0x0][_0x40d81f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x502cba++,0x5e8==_0x502cba&&(_0xe28d02(),_0x56533e[_0x40d81f([0x6f,0x66,0x66])]());});})),_0x420278=[_0x6d1443,_0x2ae437];return window[_0x40d81f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x40d81f([0x72,0x61,0x63,0x65])](_0x420278)[_0x40d81f([0x74,0x68,0x65,0x6e])](()=>_0x1da2aa);}(_0x40d81f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x362973&&_0x3d0edf)return new window[(_0x40d81f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4b9cfd,_0xf7e032)=>{_0x362973[_0x40d81f([0x74,0x68,0x65,0x6e])](_0x4b9cfd,_0xf7e032),_0x3d0edf[_0x40d81f([0x74,0x68,0x65,0x6e])](_0x3024e3=>{_0x3024e3!=_0x40d81f([0x56,0x61,0x6c,0x69,0x64])&&_0x4b9cfd(_0x3024e3);},_0xf7e032);});return _0x362973||_0x3d0edf||_0x40d81f([0x56,0x61,0x6c,0x69,0x64]);}())):_0x40d81f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x40d81f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x40d81f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x40d81f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x49f97c(_0x3e6a89){return _0x3e6a89[_0x40d81f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x40d81f([0x65,0x79]))?JSON[_0x40d81f([0x70,0x61,0x72,0x73,0x65])](_0x402947(_0x3e6a89)):null;}function _0x402947(_0x2aebe1){return window[_0x40d81f([0x61,0x74,0x6f,0x62])](_0x2aebe1[_0x40d81f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x40d81f([0x2b]))[_0x40d81f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x40d81f([0x2f])));}function _0x3c114c(_0xa65369){let _0x20f1f7=0x1505;function _0x5b2872(_0x2f8ef3){for(let _0xd21f5a=0x0;_0xd21f5a<_0x2f8ef3[_0x40d81f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd21f5a++){const _0x534953=_0x2f8ef3[_0x40d81f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xd21f5a);_0x20f1f7=(_0x20f1f7<<0x5)+_0x20f1f7+_0x534953,_0x20f1f7&=_0x20f1f7;}}return function _0x204975(_0x5ea7b8){Array[_0x40d81f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5ea7b8)?_0x5ea7b8[_0x40d81f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x204975):_0x5ea7b8&&typeof _0x5ea7b8==_0x40d81f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x40d81f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5ea7b8)[_0x40d81f([0x73,0x6f,0x72,0x74])]()[_0x40d81f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5729d5,_0x3754d4])=>{_0x5b2872(_0x5729d5),_0x204975(_0x3754d4);}):_0x5b2872(window[_0x40d81f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5ea7b8));}(_0xa65369),_0x20f1f7>>>0x0;}function _0x1870e8(_0x18fadc){return _0x18fadc[_0x40d81f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x40d81f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x40d81f([0x30]));}function _0x3fe5c2(_0x2e912c){return _0x2e912c[_0x40d81f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x40d81f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x40d81f([0x6a,0x6f,0x69,0x6e])]('');}function _0x195736(){}function _0x40d81f(_0x12286e){return _0x12286e['map'](_0x95d55b=>String['fromCharCode'](_0x95d55b))['join']('');}!function(_0x31b931){const _0x6b4947=(function(){const _0x5fd49=window[_0x40d81f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x40d81f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x40d81f([0x6e,0x6f,0x77])]())[_0x40d81f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x40d81f([0x2e]),'');let _0x3d3877=_0x40d81f([0x50]);for(let _0x4d3d55=0x0;_0x4d3d55<_0x5fd49[_0x40d81f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d3d55+=0x2){let _0x5de60c=window[_0x40d81f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5fd49[_0x40d81f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4d3d55,_0x4d3d55+0x2));_0x5de60c>=_0x191567[_0x40d81f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5de60c-=_0x191567[_0x40d81f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3d3877+=_0x191567[_0x5de60c];}return _0x3d3877;}());_0x574a11[_0x6b4947]=_0x40d81f([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x31b931,_0x31b931!=_0x40d81f([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x485cf3,_0x574a11[_0x40d81f([0x6d,0x6f,0x64,0x65,0x6c])][_0x40d81f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x195736,_0x574a11[_0x40d81f([0x6d,0x6f,0x64,0x65,0x6c])][_0x40d81f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x195736,_0x574a11[_0x40d81f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x40d81f([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x37a59e);}class LineHeightUI extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2df4c6={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x2df4c6),this['_registerMenuBarComponent'](_0x2df4c6),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x20475a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x320d5e;for(const _0x44ed2d in _0x20475a){const _0x7dcd95=_0x44ed2d,_0x351140=_0x20475a[_0x7dcd95];if('lineHeightLicenseKeyValid'==_0x351140||'lineHeightLicenseKeyInvalid'==_0x351140||'lineHeightLicenseKeyExpired'==_0x351140||'lineHeightLicenseKeyDomainLimit'==_0x351140||'lineHeightLicenseKeyNotAllowed'==_0x351140||'lineHeightLicenseKeyEvaluationLimit'==_0x351140||'lineHeightLicenseKeyUsageLimit'==_0x351140){delete _0x20475a[_0x7dcd95],_0x320d5e=_0x351140,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x320d5e&&_0x20475a['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x320d5e&&_0x20475a['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x320d5e&&_0x20475a['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x320d5e&&_0x20475a['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x320d5e&&_0x20475a['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x320d5e&&_0x20475a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x114151=this['editor'],t=_0x114151['t'],_0x45fd9a=_0x114151['config']['get']('lineHeight'),_0x3b6542={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return normalizeOptions(_0x45fd9a)['map'](_0x4d883f=>{const _0x45301a=_0x3b6542[_0x4d883f['title']];return _0x45301a&&_0x45301a!=_0x4d883f['title']&&(_0x4d883f=Object['assign']({},_0x4d883f,{'title':_0x45301a})),_0x4d883f;});}['_prepareListOptions'](){const _0x1fb893=this['editor']['commands']['get']('lineHeight'),_0x1e88ad=this['editor']['config']['get']('lineHeight.defaultValue'),_0x381c6a=this['_getLocalizedLineHeightOptions'](),_0x4eb836=new ckeditor5['Collection'](),_0x16d157=_0x58251d=>'default'===_0x58251d||String(_0x1e88ad)===_0x58251d;for(const _0x58c7ff of _0x381c6a){const _0xb4a575={'type':'button','model':new ckeditor5['UIModel']({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x58c7ff['title'],'withText':!0x0})};_0x16d157(_0x58c7ff['model'])?(_0xb4a575['model']['bind']('isOn')['to'](_0x1fb893,'value',_0x74abed=>!_0x74abed),_0xb4a575['model']['commandParam']=void 0x0):(_0xb4a575['model']['bind']('isOn')['to'](_0x1fb893,'value',_0x40ac7e=>_0x40ac7e===_0x58c7ff['model']),_0xb4a575['model']['commandParam']=_0x58c7ff['model']),_0x4eb836['add'](_0xb4a575);}if(this['_shouldRenderCustomValueOption']()){const _0x5709c4=this['_getCustomValueOptionDefinition'](_0x381c6a);_0x4eb836['add'](_0x5709c4);}return _0x4eb836;}['_getCustomValueOptionDefinition'](_0x48c23d){const _0x559f7d=this['editor'],t=_0x559f7d['t'],_0x354c26=_0x559f7d['commands']['get']('lineHeight'),_0x36e881=_0x48c23d['map'](_0x52f42c=>_0x52f42c['model']),_0x5b9775={'type':'button','model':new ckeditor5['UIModel']({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x5b9775['model']['bind']('commandParam')['to'](_0x354c26,'value'),_0x5b9775['model']['bind']('isOn')['to'](_0x354c26,'value',_0x14749e=>!!_0x14749e&&!_0x36e881['includes'](String(_0x14749e))),_0x5b9775['model']['bind']('label')['to'](_0x354c26,'value',_0x254f82=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x254f82))),_0x5b9775;}['_registerToolbarComponent']({accessibleLabel:_0x24f6e3,options:_0x2de4b4}){const _0xb65a75=this['editor'],_0x878d20=_0xb65a75['commands']['get']('lineHeight');_0xb65a75['ui']['componentFactory']['add']('lineHeight',_0x59b341=>{const _0x838f9=ckeditor5['createDropdown'](_0x59b341);return ckeditor5['addListToDropdown'](_0x838f9,_0x2de4b4,{'role':'menu','ariaLabel':_0x24f6e3}),_0x838f9['buttonView']['set']({'label':_0x24f6e3,'tooltip':!0x0,'icon':ckeditor5['IconLineHeight']}),_0x838f9['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x838f9['bind']('isEnabled')['to'](_0x878d20),this['listenTo'](_0x838f9,'execute',_0x4c3dbd=>{_0xb65a75['execute'](_0x4c3dbd['source']['commandName'],{'value':_0x4c3dbd['source']['commandParam']}),_0xb65a75['editing']['view']['focus']();}),_0x838f9['once']('change:isOpen',()=>{const _0x53e652=_0x838f9['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x838f9,_0x2de4b4,_0x53e652);}),_0x838f9;});}['_registerMenuBarComponent']({accessibleLabel:_0xeaab55,options:_0x3c0173}){const _0x4bba6f=this['editor'],_0x4b6697=_0x4bba6f['commands']['get']('lineHeight');_0x4bba6f['ui']['componentFactory']['add']('menuBar:lineHeight',_0x489d6a=>{const _0x5cd17e=new ckeditor5['MenuBarMenuView'](_0x489d6a);_0x5cd17e['buttonView']['set']({'label':_0xeaab55,'icon':ckeditor5['IconLineHeight']}),_0x5cd17e['bind']('isEnabled')['to'](_0x4b6697);const _0x6f9af9=new ckeditor5['MenuBarMenuListView'](_0x489d6a);for(const _0x18ab7d of _0x3c0173){const _0x319cdd=new ckeditor5['MenuBarMenuListItemView'](_0x489d6a,_0x5cd17e),_0x486773=new ckeditor5['MenuBarMenuListItemButtonView'](_0x489d6a);_0x486773['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x486773['bind'](...Object['keys'](_0x18ab7d['model']))['to'](_0x18ab7d['model']),_0x486773['delegate']('execute')['to'](_0x5cd17e),_0x486773['on']('execute',()=>{_0x4bba6f['execute'](_0x18ab7d['model']['commandName'],{'value':_0x18ab7d['model']['commandParam']}),_0x4bba6f['editing']['view']['focus']();}),_0x319cdd['children']['add'](_0x486773),_0x6f9af9['items']['add'](_0x319cdd);}return _0x5cd17e['panelView']['children']['add'](_0x6f9af9),this['_attachCustomOptionVisibilityHandler'](_0x5cd17e,_0x3c0173,_0x6f9af9),_0x5cd17e;});}['_attachCustomOptionVisibilityHandler'](_0x188ed,_0x4d0339,_0x3826ab){if(!this['_shouldRenderCustomValueOption']())return;const _0x222b3b=()=>{if(!_0x188ed['isOpen'])return;_0x3826ab['items']['last']['isVisible']=Boolean(_0x4d0339['last']['model']['isOn']);};_0x222b3b(),_0x188ed['on']('change:isOpen',()=>{_0x222b3b();});}}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(_0x4e3add,_0x26c481,_0x53a51d){super(_0x4e3add),this['defaultListMarkerStyle']=_0x26c481,this['_listDefinitions']=_0x53a51d,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x58396f={}){const _0x238a72=this['editor']['model'],_0x4be8c7=_0x58396f['listMarkerStyle']||this['defaultListMarkerStyle'];_0x238a72['change'](()=>{const _0x431182=this['_getListTypeFromListMarkerStyle'](_0x4be8c7);if(!_0x431182)return;const _0x238890=_0x431182+'List';this['editor']['execute'](_0x238890,{'additionalAttributes':{'listMarkerStyle':_0x4be8c7}});});}['_getValue'](){const _0x3335a6=ckeditor5['first'](this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x3335a6)?_0x3335a6['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0x5c5135=this['editor'],_0x5eb6fd=_0x5c5135['commands']['get']('customNumberedList'),_0x4ded84=_0x5c5135['commands']['get']('customBulletedList');return _0x5eb6fd['isEnabled']||_0x4ded84['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x58a729){const _0x20cd28=this['_listDefinitions']['find'](_0x4901d3=>_0x4901d3['listMarkerStyle']==_0x58a729);return _0x20cd28?_0x20cd28['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(_0x479d07){super(_0x479d07);const _0x2d44fa=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x5ead51=>_0x5ead51+'.'}]},..._0x2d44fa];}['init'](){const _0x38e893=this['editor'],_0x102d7b=_0x38e893['model'],_0x4d5365=_0x38e893['editing']['view'],_0x9b6de6=_0x38e893['plugins']['get']('ListEditing');_0x38e893['commands']['add']('multiLevelList',new MultiLevelListCommand(_0x38e893,'legal',this['_listDefinitions'])),_0x102d7b['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x102d7b['schema']['addAttributeCheck']((_0x591cd6,_0x45b244)=>{const _0x2f45c8=_0x591cd6['last'];if('listMarker'==_0x45b244||'listMarkerStyle'==_0x45b244)return!(!_0x2f45c8['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x3233d4=>_0x3233d4['listType']==_0x2f45c8['getAttribute']('listType')))&&void 0x0;});for(const _0x373999 of this['_listDefinitions'])_0x38e893['conversion']['for']('upcast')['add'](_0x22c40d=>{_0x22c40d['on']('element:'+('customNumbered'==_0x373999['listType']?'ol':'ul'),multiLevelListUpcastConverter(_0x373999,_0x102d7b['schema']),{'priority':'low'});}),_0x9b6de6['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x438fda,_0x4b16b8,_0x3fec29){_0x4b16b8==_0x373999['listMarkerStyle']?(_0x438fda['addClass'](['multi-level-list',_0x373999['className']],_0x3fec29),_0x438fda['setStyle']('list-style-type','none',_0x3fec29)):(_0x438fda['removeClass'](['multi-level-list',_0x373999['className']],_0x3fec29),_0x438fda['removeStyle']('list-style-type',_0x3fec29));}}),_0x9b6de6['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x1a90d9,_0x16faef,{dataPipeline:_0x438fbb}){if(!_0x16faef['hasAttribute']('listMarker'))return null;if(_0x16faef['getAttribute']('listType')!=_0x373999['listType']||_0x16faef['getAttribute']('listMarkerStyle')!=_0x373999['listMarkerStyle'])return null;const _0x2c79b7=String(_0x16faef['getAttribute']('listMarker')),_0xcf4db6=this['canInjectMarkerIntoElement'](_0x16faef);return _0x1a90d9['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x438fbb&&{'contenteditable':'false','data-multi-level-list-marker':_0x2c79b7}},function(_0x3d539d){const _0x4b9718=this['toDomElement'](_0x3d539d);return _0xcf4db6?(_0x4b9718['appendChild'](ckeditor5['createElement'](_0x3d539d,'span',{},_0x438fbb?_0x3d539d['createTextNode'](_0x2c79b7):[])),_0x4b9718['appendChild'](_0x3d539d['createTextNode']('\u00a0'))):_0x438fbb&&_0x4b9718['appendChild'](_0x3d539d['createTextNode'](_0x2c79b7)),_0x4b9718;});},'canInjectMarkerIntoElement':_0x321053=>_0x102d7b['schema']['checkChild'](_0x321053,'$text')&&_0x102d7b['schema']['checkChild'](_0x321053,'$inlineObject')&&!_0x102d7b['schema']['isLimit'](_0x321053)&&_0x321053['getAttribute']('listType')==_0x373999['listType']&&_0x321053['getAttribute']('listMarkerStyle')==_0x373999['listMarkerStyle']});_0x38e893['conversion']['for']('upcast')['add'](_0x310593=>{_0x310593['on']('element:span',multiLevelListMarkerUpcastConverter(_0x4d5365));}),_0x9b6de6['on']('postFixer',(_0x42aef8,{listNodes:_0x361577,writer:_0x1c8008})=>{const _0x2d8c58=[];for(const {node:_0x424217,previousNodeInList:_0x22964f}of _0x361577){const _0x3bfec2=_0x424217['getAttribute']('listType'),_0x1d01ae=_0x424217['getAttribute']('listMarkerStyle')||('customNumbered'==_0x3bfec2?'legal':void 0x0),_0x50dfc1=this['_listDefinitions']['find'](_0x1507bb=>_0x1507bb['listType']==_0x3bfec2&&_0x1507bb['listMarkerStyle']==_0x1d01ae);if('customNumbered'!=_0x3bfec2&&'customBulleted'!=_0x3bfec2&&(_0x424217['hasAttribute']('listMarker')&&(_0x1c8008['removeAttribute']('listMarker',_0x424217),_0x42aef8['return']=!0x0),_0x424217['hasAttribute']('listMarkerStyle')&&(_0x1c8008['removeAttribute']('listMarkerStyle',_0x424217),_0x42aef8['return']=!0x0)),!_0x50dfc1){'customBulleted'!=_0x3bfec2||_0x1d01ae||(_0x1c8008['setAttribute']('listType','bulleted',_0x424217),_0x42aef8['return']=!0x0);continue;}_0x424217['hasAttribute']('listMarkerStyle')||(_0x1c8008['setAttribute']('listMarkerStyle',_0x1d01ae,_0x424217),_0x42aef8['return']=!0x0);const _0x5b66a7=_0x424217['getAttribute']('listIndent');if(_0x22964f&&_0x22964f['getAttribute']('listItemId')==_0x424217['getAttribute']('listItemId'))continue;_0x2d8c58['length']=_0x5b66a7+0x1,_0x22964f||_0x2d8c58[_0x5b66a7]?_0x22964f&&_0x22964f['getAttribute']('listType')!=_0x50dfc1['listType']?_0x2d8c58[_0x5b66a7]=0x1:_0x2d8c58[_0x5b66a7]++:_0x2d8c58[_0x5b66a7]=_0x424217['getAttribute']('listStart')||0x1;const _0xd28a5d=generateMarker(_0x5b66a7,_0x50dfc1,_0x2d8c58);_0x424217['getAttribute']('listMarker')!=_0xd28a5d&&(_0x1c8008['setAttribute']('listMarker',_0xd28a5d,_0x424217),_0x42aef8['return']=!0x0);}});const _0x4ec462=_0x38e893['editing']['view']['document'];this['listenTo'](_0x4ec462,'clipboardOutput',(_0x1e54a7,_0x5a41d0)=>{const _0x5bfda2=new ckeditor5['Matcher']({'name':'span','classes':'multi-level-list__marker'}),_0x4363a4=new ckeditor5['Matcher']({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x3c57b7=new ckeditor5['ViewUpcastWriter'](_0x5a41d0['content']['document']),_0x34b948=[];for(const _0x4a99ad of _0x3c57b7['createRangeIn'](_0x5a41d0['content'])['getItems']())_0x4a99ad['is']('element')&&_0x5bfda2['match'](_0x4a99ad)&&_0x34b948['push'](_0x4a99ad),_0x4a99ad['is']('element')&&_0x4363a4['match'](_0x4a99ad)&&_0x3c57b7['removeStyle']('list-style-type',_0x4a99ad);for(const _0x53136f of _0x34b948)_0x3c57b7['remove'](_0x53136f);});}['afterInit'](){_0x3f9544(this);}}function generateMarker(_0x521e98,_0x39194f,_0x3121e8){let _0x470770=_0x39194f['listMarkers'][_0x521e98%_0x39194f['listMarkers']['length']];if(void 0x0===_0x470770['showMarkerPath']||_0x470770['showMarkerPath'])return _0x3121e8['slice'](0x0,_0x521e98+0x1)['map']((_0x54ba84,_0x27dce5)=>(_0x470770=_0x39194f['listMarkers'][_0x27dce5%_0x39194f['listMarkers']['length']],getMarkerString(_0x470770['marker'],_0x54ba84)))['join']('');{const _0x1ec042=_0x3121e8[_0x3121e8['length']-0x1];return getMarkerString(_0x470770['marker'],_0x1ec042);}}function getMarkerString(_0x1a9b33,_0x308d8c){return'function'==typeof _0x1a9b33?_0x1a9b33(_0x308d8c):_0x1a9b33;}function multiLevelListUpcastConverter(_0x4fc841,_0x5c0499){return(_0x37d033,_0x3dff98,_0x12eebb)=>{const _0x239719=_0x3dff98['viewItem'];if(_0x3dff98['modelRange']||Object['assign'](_0x3dff98,_0x12eebb['convertChildren'](_0x3dff98['viewItem'],_0x3dff98['modelCursor'])),!_0x12eebb['consumable']['test'](_0x239719,{'classes':_0x4fc841['className']}))return;const _0x3206a2=Array['from'](_0x3dff98['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x5cb61f=>_0x5c0499['checkAttribute'](_0x5cb61f,'listItemId'));if(!_0x3206a2['length'])return;_0x12eebb['consumable']['consume'](_0x239719,{'classes':_0x4fc841['className']}),_0x12eebb['consumable']['consume'](_0x239719,{'classes':'multi-level-list'}),_0x12eebb['consumable']['consume'](_0x239719,{'styles':'list-style-type'});const _0x1a54f1=_0x3206a2[0x0]['getAttribute']('listIndent');for(const _0x35dd5d of _0x3206a2)_0x35dd5d['getAttribute']('listIndent')==_0x1a54f1&&(_0x12eebb['writer']['setAttribute']('listType',_0x4fc841['listType'],_0x35dd5d),_0x12eebb['writer']['setAttribute']('listMarkerStyle',_0x4fc841['listMarkerStyle'],_0x35dd5d));};}function multiLevelListMarkerUpcastConverter(_0x45b079){return(_0x865b4,_0x41fa03,{writer:_0x23f41d,consumable:_0x5a03c1})=>{const _0x409d6f=_0x41fa03['modelCursor'],_0x2d725a=_0x409d6f['parent'],_0x32ea2c=_0x41fa03['viewItem'];if(_0x5a03c1['consume'](_0x32ea2c,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x409d6f['isAtStart']&&_0x2d725a['hasAttribute']('listType')&&_0x32ea2c['childCount']>0x0){const _0x480a86=_0x45b079['createRangeIn'](_0x32ea2c);let _0x53d9f0='';for(const _0x1faa4e of _0x480a86['getItems']())_0x1faa4e['is']('$textProxy')?(_0x53d9f0+=_0x1faa4e['data']['trim'](),_0x5a03c1['consume'](_0x1faa4e['textNode'])):_0x5a03c1['consume'](_0x1faa4e,{'name':!0x0});_0x23f41d['setAttribute']('listMarker',_0x53d9f0['trim'](),_0x2d725a);}};}async function _0x3f9544(_0x620cc3){const _0x179b5c=_0x4b9ef0([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]),_0x2e45d5=window[_0x4b9ef0([0x44,0x61,0x74,0x65])][_0x4b9ef0([0x6e,0x6f,0x77])](),_0x187732=_0x620cc3[_0x4b9ef0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x41f247=new window[(_0x4b9ef0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26c96d=>{_0x187732[_0x4b9ef0([0x6f,0x6e,0x63,0x65])](_0x4b9ef0([0x72,0x65,0x61,0x64,0x79]),_0x26c96d);}),_0x44c260={[_0x4b9ef0([0x6b,0x74,0x79])]:_0x4b9ef0([0x45,0x43]),[_0x4b9ef0([0x75,0x73,0x65])]:_0x4b9ef0([0x73,0x69,0x67]),[_0x4b9ef0([0x63,0x72,0x76])]:_0x4b9ef0([0x50,0x2d,0x32,0x35,0x36]),[_0x4b9ef0([0x78])]:_0x4b9ef0([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]),[_0x4b9ef0([0x79])]:_0x4b9ef0([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]),[_0x4b9ef0([0x61,0x6c,0x67])]:_0x4b9ef0([0x45,0x53,0x32,0x35,0x36])},_0x117146=_0x187732[_0x4b9ef0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4b9ef0([0x67,0x65,0x74])](_0x4b9ef0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x44e4b3=await(async function(){let _0xfcc49c,_0x4b6e79=null,_0x524d08=null;try{if(_0x117146==_0x4b9ef0([0x47,0x50,0x4c]))return _0x4b9ef0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xfcc49c=(function(){const _0x4c8f95=_0x117146[_0x4b9ef0([0x73,0x70,0x6c,0x69,0x74])](_0x4b9ef0([0x2e]));if(0x3!=_0x4c8f95[_0x4b9ef0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x4648aa=_0x4c8f95[0x1];return _0x1bae92(_0x4648aa);function _0x1bae92(_0x19a5c2){const _0x5f5a43=_0x31d84b(_0x19a5c2);return _0x5f5a43&&_0x502c81()?_0x5f5a43:null;function _0x502c81(){const _0x5d247a=_0x5f5a43[_0x4b9ef0([0x6a,0x74,0x69])],_0x1200fe=window[_0x4b9ef0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d247a[_0x4b9ef0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5d247a[_0x4b9ef0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x136557={..._0x5f5a43,[_0x4b9ef0([0x6a,0x74,0x69])]:_0x5d247a[_0x4b9ef0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5d247a[_0x4b9ef0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x136557[_0x4b9ef0([0x76,0x63])],_0x11e3b8(_0x136557)==_0x1200fe;}}}()),!_0xfcc49c)return _0x4b9ef0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0xfcc49c[_0x4b9ef0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x524d08=function(_0x5ec4ba,_0x485215){return new window[(_0x4b9ef0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3578f8=>{if(_0x1a5c85())return _0x3578f8(_0x4b9ef0([0x56,0x61,0x6c,0x69,0x64]));_0x543509(),_0x187732[_0x4b9ef0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4b9ef0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3b9d7b=!0x1;const _0x477e2c=ckeditor5['uid']();function _0x590d21(_0x14e406){return!!_0x14e406&&(typeof _0x14e406===_0x4b9ef0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x14e406===_0x4b9ef0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x14e406[_0x4b9ef0([0x74,0x68,0x65,0x6e])]===_0x4b9ef0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x14e406[_0x4b9ef0([0x63,0x61,0x74,0x63,0x68])]===_0x4b9ef0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1b7a0b(_0x2a97cb){_0x1223bb(_0x2a97cb)[_0x4b9ef0([0x74,0x68,0x65,0x6e])](_0x5acc21=>{if(!_0x5acc21||_0x5acc21[_0x4b9ef0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4b9ef0([0x6f,0x6b]))return _0x4b9ef0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1c976a(_0x11e3b8(_0x477e2c+_0x485215))!=_0x5acc21[_0x4b9ef0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4b9ef0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4b9ef0([0x56,0x61,0x6c,0x69,0x64]);})[_0x4b9ef0([0x74,0x68,0x65,0x6e])](_0x3c5cc5=>(_0x33acd1(),_0x3c5cc5),()=>{const _0x1e6f3a=_0x143317();return null==_0x1e6f3a?(_0x33acd1(),_0x4b9ef0([0x56,0x61,0x6c,0x69,0x64])):_0x4b9ef0(_0x2e45d5-_0x1e6f3a>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4b9ef0([0x74,0x68,0x65,0x6e])](_0x3578f8)[_0x4b9ef0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3578f8(_0x4b9ef0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2e9d1c=0x36ee80;function _0x33acd1(){const _0x546785=_0x4b9ef0([0x6c,0x6c,0x63,0x74,0x2d])+_0x1c976a(_0x11e3b8(_0x5ec4ba)),_0x1fef9b=_0xab94f0(_0x1c976a(window[_0x4b9ef0([0x4d,0x61,0x74,0x68])][_0x4b9ef0([0x63,0x65,0x69,0x6c])](_0x2e45d5/_0x2e9d1c)));window[_0x4b9ef0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b9ef0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x546785,_0x1fef9b);}function _0x143317(){const _0x29bc76=_0x4b9ef0([0x6c,0x6c,0x63,0x74,0x2d])+_0x1c976a(_0x11e3b8(_0x5ec4ba)),_0x4a135a=window[_0x4b9ef0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b9ef0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x29bc76);return _0x4a135a?window[_0x4b9ef0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xab94f0(_0x4a135a),0x10)*_0x2e9d1c:null;}function _0x1223bb(_0x160c64){return new window[(_0x4b9ef0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x585d33,_0x13f5db)=>{_0x160c64[_0x4b9ef0([0x74,0x68,0x65,0x6e])](_0x585d33,_0x13f5db),window[_0x4b9ef0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x13f5db,0x1d4c0);});}}_0x187732[_0x4b9ef0([0x6f,0x6e])](_0x4b9ef0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x289e9e,_0x255a28)=>{if(_0x255a28[0x0]!=_0x5ec4ba)return _0x3578f8(_0x4b9ef0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x255a28[0x1]={..._0x255a28[0x1],[_0x4b9ef0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x477e2c};},{[_0x4b9ef0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b9ef0([0x68,0x69,0x67,0x68])}),_0x187732[_0x4b9ef0([0x6f,0x6e])](_0x4b9ef0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x30d4bc=>{_0x590d21(_0x30d4bc[_0x4b9ef0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3b9d7b=!0x0,_0x1b7a0b(_0x30d4bc[_0x4b9ef0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4b9ef0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b9ef0([0x6c,0x6f,0x77])}),_0x41f247[_0x4b9ef0([0x74,0x68,0x65,0x6e])](()=>{_0x3b9d7b||_0x3578f8(_0x4b9ef0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1a5c85(){return _0x187732[_0x4b9ef0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b9ef0([0x76,0x69,0x65,0x77])][_0x4b9ef0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4b9ef0([0x61,0x75,0x74,0x6f]);}function _0x543509(){_0x187732[_0x4b9ef0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b9ef0([0x76,0x69,0x65,0x77])][_0x4b9ef0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4b9ef0([0x61,0x75,0x74,0x6f]);}}(_0xfcc49c[_0x4b9ef0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xfcc49c[_0x4b9ef0([0x6a,0x74,0x69])]));const _0x1448ad=await(async function(){let _0x14348f=!0x0;try{const _0x1fafcc=_0x117146[_0x4b9ef0([0x73,0x70,0x6c,0x69,0x74])](_0x4b9ef0([0x2e])),[_0x3b8a3d,_0x4b8843,_0x4f2c88]=_0x1fafcc;return _0x19f4da(_0x3b8a3d),await _0x385196(_0x3b8a3d,_0x4b8843,_0x4f2c88),_0x14348f;}catch{return!0x1;}function _0x19f4da(_0x111cff){const _0x5935b3=_0x31d84b(_0x111cff);_0x5935b3&&_0x5935b3[_0x4b9ef0([0x61,0x6c,0x67])]==_0x4b9ef0([0x45,0x53,0x32,0x35,0x36])||(_0x14348f=!0x1);}async function _0x385196(_0x59fa07,_0x2732d2,_0x305548){const _0x34cdc0=window[_0x4b9ef0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4b9ef0([0x66,0x72,0x6f,0x6d])](_0x4e1822(_0x305548),_0x5c623a=>_0x5c623a[_0x4b9ef0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x7b4c62=new window[(_0x4b9ef0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4b9ef0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x59fa07+_0x4b9ef0([0x2e])+_0x2732d2),_0x514a5c=window[_0x4b9ef0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4b9ef0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x514a5c)return;const _0x1b9d49=await _0x514a5c[_0x4b9ef0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4b9ef0([0x6a,0x77,0x6b]),_0x44c260,{[_0x4b9ef0([0x6e,0x61,0x6d,0x65])]:_0x4b9ef0([0x45,0x43,0x44,0x53,0x41]),[_0x4b9ef0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4b9ef0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4b9ef0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x514a5c[_0x4b9ef0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4b9ef0([0x6e,0x61,0x6d,0x65])]:_0x4b9ef0([0x45,0x43,0x44,0x53,0x41]),[_0x4b9ef0([0x68,0x61,0x73,0x68])]:{[_0x4b9ef0([0x6e,0x61,0x6d,0x65])]:_0x4b9ef0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1b9d49,_0x34cdc0,_0x7b4c62)||(_0x14348f=!0x1);}}());return _0x1448ad?(function(){const _0x38d71d=_0xfcc49c[_0x4b9ef0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x38d71d)return!0x1;if(_0x38d71d[_0x4b9ef0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b9ef0([0x2a])))return!0x0;if(_0x38d71d[_0x4b9ef0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b9ef0([0x4d,0x4c,0x4c])))return!0x0;return!0x1;}())?(function(){const _0x554312=[_0x4b9ef0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4b9ef0([0x74,0x72,0x69,0x61,0x6c])][_0x4b9ef0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfcc49c[_0x4b9ef0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2e45d5/0x3e8:0x69d59a80;return _0xfcc49c[_0x4b9ef0([0x65,0x78,0x70])]<_0x554312;}())?_0x4b9ef0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0xbda399=_0xfcc49c[_0x4b9ef0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xbda399||0x0==_0xbda399[_0x4b9ef0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x112829}=new URL(window[_0x4b9ef0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xbda399[_0x4b9ef0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x112829))return!0x0;const _0x2cc57a=_0x112829[_0x4b9ef0([0x73,0x70,0x6c,0x69,0x74])](_0x4b9ef0([0x2e]));return _0xbda399[_0x4b9ef0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a9f36=>_0x2a9f36[_0x4b9ef0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b9ef0([0x2a])))[_0x4b9ef0([0x6d,0x61,0x70])](_0x25a664=>_0x25a664[_0x4b9ef0([0x73,0x70,0x6c,0x69,0x74])](_0x4b9ef0([0x2e])))[_0x4b9ef0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xb94a2a=>_0xb94a2a[_0x4b9ef0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2cc57a[_0x4b9ef0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4b9ef0([0x6d,0x61,0x70])](_0x2e1a30=>Array(_0x2cc57a[_0x4b9ef0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2e1a30[_0x4b9ef0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4b9ef0([0x66,0x69,0x6c,0x6c])](_0x2e1a30[0x0]===_0x4b9ef0([0x2a])?_0x4b9ef0([0x2a]):'')[_0x4b9ef0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2e1a30))[_0x4b9ef0([0x73,0x6f,0x6d,0x65])](_0x338bcb=>_0x2cc57a[_0x4b9ef0([0x65,0x76,0x65,0x72,0x79])]((_0x3979d4,_0x23dba1)=>_0x338bcb[_0x23dba1]===_0x3979d4||_0x338bcb[_0x23dba1]===_0x4b9ef0([0x2a])));}())?(_0xfcc49c[_0x4b9ef0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4b9ef0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4b6e79=function(_0x3b05e1){const _0x58220a=new window[(_0x4b9ef0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2eb47f=>setTimeout(_0x2eb47f,0x93ecc)),_0x18b590=_0x41f247[_0x4b9ef0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4b9ef0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ba9fc=>{let _0x142499=0x0;_0x187732[_0x4b9ef0([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b9ef0([0x6f,0x6e])](_0x4b9ef0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5a0b24,_0x57f6ca)=>{_0x57f6ca[0x0][_0x4b9ef0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x142499++,0x5e8==_0x142499&&(_0x2ba9fc(),_0x5a0b24[_0x4b9ef0([0x6f,0x66,0x66])]());});})),_0x512828=[_0x58220a,_0x18b590];return window[_0x4b9ef0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4b9ef0([0x72,0x61,0x63,0x65])](_0x512828)[_0x4b9ef0([0x74,0x68,0x65,0x6e])](()=>_0x3b05e1);}(_0x4b9ef0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x4b6e79&&_0x524d08)return new window[(_0x4b9ef0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x34c670,_0x53e92f)=>{_0x4b6e79[_0x4b9ef0([0x74,0x68,0x65,0x6e])](_0x34c670,_0x53e92f),_0x524d08[_0x4b9ef0([0x74,0x68,0x65,0x6e])](_0x5ee8ba=>{_0x5ee8ba!=_0x4b9ef0([0x56,0x61,0x6c,0x69,0x64])&&_0x34c670(_0x5ee8ba);},_0x53e92f);});return _0x4b6e79||_0x524d08||_0x4b9ef0([0x56,0x61,0x6c,0x69,0x64]);}())):_0x4b9ef0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4b9ef0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4b9ef0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4b9ef0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x31d84b(_0x43e52b){return _0x43e52b[_0x4b9ef0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4b9ef0([0x65,0x79]))?JSON[_0x4b9ef0([0x70,0x61,0x72,0x73,0x65])](_0x4e1822(_0x43e52b)):null;}function _0x4e1822(_0x55bdd2){return window[_0x4b9ef0([0x61,0x74,0x6f,0x62])](_0x55bdd2[_0x4b9ef0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4b9ef0([0x2b]))[_0x4b9ef0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4b9ef0([0x2f])));}function _0x11e3b8(_0x1b2631){let _0x55f987=0x1505;function _0x4efdc1(_0x2856d2){for(let _0x747f5f=0x0;_0x747f5f<_0x2856d2[_0x4b9ef0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x747f5f++){const _0x108221=_0x2856d2[_0x4b9ef0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x747f5f);_0x55f987=(_0x55f987<<0x5)+_0x55f987+_0x108221,_0x55f987&=_0x55f987;}}return function _0x37c0ac(_0x95be8b){Array[_0x4b9ef0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x95be8b)?_0x95be8b[_0x4b9ef0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x37c0ac):_0x95be8b&&typeof _0x95be8b==_0x4b9ef0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4b9ef0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x95be8b)[_0x4b9ef0([0x73,0x6f,0x72,0x74])]()[_0x4b9ef0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x146648,_0x53eaac])=>{_0x4efdc1(_0x146648),_0x37c0ac(_0x53eaac);}):_0x4efdc1(window[_0x4b9ef0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x95be8b));}(_0x1b2631),_0x55f987>>>0x0;}function _0x1c976a(_0x343352){return _0x343352[_0x4b9ef0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4b9ef0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4b9ef0([0x30]));}function _0xab94f0(_0x3da21a){return _0x3da21a[_0x4b9ef0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4b9ef0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4b9ef0([0x6a,0x6f,0x69,0x6e])]('');}function _0x5961d9(){}function _0x4b9ef0(_0x5c5805){return _0x5c5805['map'](_0x1c4019=>String['fromCharCode'](_0x1c4019))['join']('');}!function(_0x33f073){const _0x24cdd5=(function(){const _0x2ec47c=window[_0x4b9ef0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4b9ef0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4b9ef0([0x6e,0x6f,0x77])]())[_0x4b9ef0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4b9ef0([0x2e]),'');let _0x2e0118=_0x4b9ef0([0x75]);for(let _0x5cc827=0x0;_0x5cc827<_0x2ec47c[_0x4b9ef0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5cc827+=0x2){let _0x47ad85=window[_0x4b9ef0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ec47c[_0x4b9ef0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5cc827,_0x5cc827+0x2));_0x47ad85>=_0x179b5c[_0x4b9ef0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x47ad85-=_0x179b5c[_0x4b9ef0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2e0118+=_0x179b5c[_0x47ad85];}return _0x2e0118;}());_0x187732[_0x24cdd5]=_0x4b9ef0([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x33f073,_0x33f073!=_0x4b9ef0([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x41f247,_0x187732[_0x4b9ef0([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b9ef0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5961d9,_0x187732[_0x4b9ef0([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b9ef0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5961d9,_0x187732[_0x4b9ef0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4b9ef0([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x44e4b3);}function getTranslation$9(_0x41b3cb,_0x4696cf){const _0x2678a5=_0x41b3cb['t'],t=_0x41b3cb['t'];switch(_0x4696cf){case'Start\x20at':return _0x2678a5('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x2678a5('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x2678a5('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x2678a5('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 _0x4696cf;}}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(_0xf1404b,{enabledProperties:_0x2e86ac,styleButtonViews:_0x4c8f3c,styleGridAriaLabel:_0x158d81}){super(_0xf1404b);const _0x472875=['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'}}),_0x2e86ac['styles']?(this['stylesView']=this['_createStylesView'](_0x4c8f3c,_0x158d81),this['children']['add'](this['stylesView'])):_0x472875['push']('ck-multi-level-list-properties_without-styles'),_0x2e86ac['startIndex']&&(this['_addListPropertyViews'](_0x2e86ac),_0x472875['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x472875},'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 _0x2ba089 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x2ba089['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 _0x7e1043=_0x2ec3ef=>_0x2ec3ef['stopPropagation']();this['keystrokes']['set']('arrowright',_0x7e1043),this['keystrokes']['set']('arrowleft',_0x7e1043),this['keystrokes']['set']('arrowup',_0x7e1043),this['keystrokes']['set']('arrowdown',_0x7e1043);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x5ed053,_0x2f9483){const _0x22fc24=new ckeditor5['View'](this['locale']);return _0x22fc24['children']=_0x22fc24['createCollection'](),_0x22fc24['children']['addMany'](_0x5ed053),_0x22fc24['setTemplate']({'tag':'div','attributes':{'aria-label':_0x2f9483,'class':['ck','ck-multi-level-list-styles']},'children':_0x22fc24['children']}),_0x22fc24['children']['delegate']('execute')['to'](this),_0x22fc24['focus']=function(){this['children']['first']['focus']();},_0x22fc24['focusTracker']=new ckeditor5['FocusTracker'](),_0x22fc24['keystrokes']=new ckeditor5['KeystrokeHandler'](),_0x22fc24['render'](),_0x22fc24['keystrokes']['listenTo'](_0x22fc24['element']),_0x22fc24;}['_addListPropertyViews'](_0x5d7237){const _0x5437a8=[];_0x5d7237['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x5437a8['push'](this['startIndexFieldView'])),_0x5d7237['styles']?(this['additionalPropertiesCollapsibleView']=new ckeditor5['CollapsibleView'](this['locale'],_0x5437a8),this['additionalPropertiesCollapsibleView']['set']({'label':getTranslation$9(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x5437a8,'isEnabled',(..._0x34ec4d)=>_0x34ec4d['some'](_0x3f7081=>_0x3f7081)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x449b29,_0x245b93,_0x1b6cba)=>{_0x1b6cba||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x5437a8);}['_createStartIndexField'](){const _0x5e7468=new ckeditor5['LabeledFieldView'](this['locale'],ckeditor5['createLabeledInputNumber']);return _0x5e7468['set']({'label':getTranslation$9(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x5e7468['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x5e7468['fieldView']['on']('input',()=>{const _0x290b03=_0x5e7468['fieldView']['element'],_0x3b829b=_0x290b03['valueAsNumber'];Number['isNaN'](_0x3b829b)?_0x5e7468['errorText']=getTranslation$9(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x290b03['checkValidity']()?this['fire']('listStart',{'startIndex':_0x3b829b}):_0x5e7468['errorText']=getTranslation$9(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x5e7468;}}class MultiLevelListUI extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xc43fdb=this['editor'];_0xc43fdb['ui']['componentFactory']['add']('multiLevelList',getViewCreator({'editor':_0xc43fdb,'parentCommandName':'multiLevelList','buttonLabel':getTranslation$9(_0xc43fdb['locale'],'Multi-level\x20List'),'buttonIcon':ckeditor5['IconMultiLevelList'],'styleGridAriaLabel':getTranslation$9(_0xc43fdb['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0xc43fdb['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x1c2a3d=_0xc43fdb['commands']['get']('multiLevelList'),_0x438058=new ckeditor5['MenuBarMenuListItemButtonView'](_0xc43fdb['locale']);return _0x438058['set']({'label':getTranslation$9(_0xc43fdb['locale'],'Multi-level\x20List'),'icon':ckeditor5['IconMultiLevelList']}),_0x438058['bind']('isEnabled')['to'](_0x1c2a3d),_0x438058['bind']('isOn')['to'](_0x1c2a3d,'value',_0x100269=>!!_0x100269),_0x438058['on']('execute',()=>{_0xc43fdb['execute']('multiLevelList'),_0xc43fdb['editing']['view']['focus']();}),_0x438058;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x55055e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x421ccb;for(const _0x267c72 in _0x55055e){const _0x2ceb05=_0x267c72,_0x5b7a9a=_0x55055e[_0x2ceb05];if('multiLevelListLicenseKeyValid'==_0x5b7a9a||'multiLevelListLicenseKeyInvalid'==_0x5b7a9a||'multiLevelListLicenseKeyExpired'==_0x5b7a9a||'multiLevelListLicenseKeyDomainLimit'==_0x5b7a9a||'multiLevelListLicenseKeyNotAllowed'==_0x5b7a9a||'multiLevelListLicenseKeyEvaluationLimit'==_0x5b7a9a||'multiLevelListLicenseKeyUsageLimit'==_0x5b7a9a){delete _0x55055e[_0x2ceb05],_0x421ccb=_0x5b7a9a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x421ccb&&_0x55055e['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x421ccb&&_0x55055e['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x421ccb&&_0x55055e['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x421ccb&&_0x55055e['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x421ccb&&_0x55055e['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x421ccb&&_0x55055e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function getViewCreator({editor:_0x2b5606,parentCommandName:_0x5231a1,buttonLabel:_0xb77d27,buttonIcon:_0x577747,styleGridAriaLabel:_0x57a005,styleDefinitions:_0x103219}){const _0x21482e=_0x2b5606['commands']['get'](_0x5231a1),_0xd0407a=_0x2b5606['config']['get']('list.properties')||{},_0x399321=_0x2b5606['plugins']['has']('ListProperties'),_0x5e8c01=_0xd0407a['startIndex'];return _0x399321&&_0x5e8c01?_0x4d0316=>{const _0x19699a=ckeditor5['createDropdown'](_0x4d0316,ckeditor5['SplitButtonView']),_0xc04fa3=_0x19699a['buttonView'];return _0x19699a['bind']('isEnabled')['to'](_0x21482e),_0x19699a['class']='ck-list-styles-dropdown',_0xc04fa3['on']('execute',()=>{_0x2b5606['execute'](_0x5231a1),_0x2b5606['editing']['view']['focus']();}),_0xc04fa3['set']({'label':_0xb77d27,'icon':_0x577747,'tooltip':!0x0,'isToggleable':!0x0}),_0xc04fa3['bind']('isOn')['to'](_0x21482e,'value',_0x43751b=>!!_0x43751b),_0x19699a['once']('change:isOpen',()=>{const _0xb1966a=createListPropertiesView({'editor':_0x2b5606,'dropdownView':_0x19699a,'styleGridAriaLabel':_0x57a005,'styleDefinitions':_0x103219});_0x19699a['panelView']['children']['add'](_0xb1966a);}),_0x19699a['on']('execute',()=>{_0x2b5606['editing']['view']['focus']();}),_0x19699a;}:_0x4bd2fa=>{const _0x402c71=new ckeditor5['ButtonView'](_0x4bd2fa);return _0x402c71['set']({'label':_0xb77d27,'icon':_0x577747,'tooltip':!0x0,'isToggleable':!0x0}),_0x402c71['bind']('isOn')['to'](_0x21482e,'value',_0xe98ee8=>!!_0xe98ee8),_0x402c71['on']('execute',()=>{_0x2b5606['execute'](_0x5231a1),_0x2b5606['editing']['view']['focus']();}),_0x402c71;};}function createListPropertiesView({editor:_0x54aaa6,dropdownView:_0x4bd9c1,styleDefinitions:_0x11c517,styleGridAriaLabel:_0x7faf6d}){const _0x7ca43b=_0x54aaa6['locale'],_0x576ec9=_0x54aaa6['config']['get']('list.properties');_0x576ec9['reversed']=!0x1,_0x11c517['length']||(_0x576ec9['styles']=!0x1);const _0x2a1873=new MultiLevelListView(_0x7ca43b,{'styleGridAriaLabel':_0x7faf6d,'enabledProperties':_0x576ec9,'styleButtonViews':null});if(_0x576ec9['startIndex']){const _0x24e68c=_0x54aaa6['commands']['get']('listStart');_0x2a1873['startIndexFieldView']['bind']('isEnabled')['to'](_0x24e68c),_0x2a1873['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x24e68c),_0x2a1873['on']('listStart',(_0x19ee9c,_0x30139d)=>_0x54aaa6['execute']('listStart',_0x30139d));}return _0x2a1873['delegate']('execute')['to'](_0x4bd9c1),_0x2a1873;}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 _0x2c9ff4=this['editor']['model'],_0x2f97cd=_0x2c9ff4['schema']['checkChild'](_0x2c9ff4['document']['selection']['focus'],'mergeField');this['isEnabled']=_0x2f97cd;}['execute'](_0x5681c4){if(!_0x5681c4||'string'!=typeof _0x5681c4)return;const _0x2d42a1=this['editor']['model'];_0x2d42a1['change'](_0x313e31=>{_0x2d42a1['deleteContent'](_0x2d42a1['document']['selection']);const _0x339a26=_0x313e31['createElement']('mergeField',{'id':_0x5681c4});for(const [_0x64a608,_0x227603]of _0x2d42a1['document']['selection']['getAttributes']())_0x2d42a1['schema']['checkAttribute'](_0x339a26,_0x64a608)&&_0x313e31['setAttribute'](_0x64a608,_0x227603,_0x339a26);_0x2d42a1['insertContent'](_0x339a26,_0x2d42a1['document']['selection'],0x0,{'setSelection':'after'});});}}class InsertMergeFieldBlockCommand extends ckeditor5['Command']{['refresh'](){const _0x2aea77=this['editor']['model'],_0x17707a=_0x2aea77['document']['selection'];this['isEnabled']=isAllowedInParent(_0x17707a,_0x2aea77);}['execute'](_0x2f2ae6,_0x433851){if(!_0x2f2ae6||'string'!=typeof _0x2f2ae6)return;const _0x5cde65=this['editor']['model'];_0x5cde65['change'](_0x116721=>{const _0x4f0eef=_0x116721['createElement']('mergeFieldBlock',{'id':_0x2f2ae6});_0x5cde65['insertObject'](_0x4f0eef,_0x5cde65['document']['selection'],null,{'setSelection':'on','findOptimalPosition':!0x1===_0x433851?void 0x0:'auto'});});}}function isAllowedInParent(_0x68dd10,_0x58d660){let _0x5db03b=ckeditor5['findOptimalInsertionRange'](_0x68dd10,_0x58d660)['start']['parent'];return _0x5db03b['isEmpty']&&!_0x58d660['schema']['isLimit'](_0x5db03b)&&(_0x5db03b=_0x5db03b['parent']),_0x58d660['schema']['checkChild'](_0x5db03b,'mergeFieldBlock');}class InsertMergeFieldImageCommand extends ckeditor5['Command']{constructor(_0x103c6e){super(_0x103c6e),this['bind']('isEnabled')['to'](this['editor']['commands']['get']('insertImage'));}['execute'](_0xc3d6a9,_0x5d01b8){if(!_0xc3d6a9||'string'!=typeof _0xc3d6a9)return;const _0x363b21=this['editor']['plugins']['get']('MergeFieldsEditing'),_0x13f266=_0x363b21['getMergeFieldWidth'](_0xc3d6a9),_0x59ec8f=_0x363b21['getMergeFieldHeight'](_0xc3d6a9);this['editor']['execute']('insertImage',{'source':{'src':_0x363b21['wrapInAffixes'](_0xc3d6a9),'width':_0x13f266,'height':_0x59ec8f},'breakBlock':_0x5d01b8&&_0x5d01b8['breakBlock']});}}class _0x4260d5 extends ckeditor5['Command']{constructor(_0x4e1ea1){super(_0x4e1ea1);const _0x2c7e0f=this['editor']['plugins']['get']('MergeFieldsEditing');this['bind']('value')['to'](_0x2c7e0f,'previewMode'),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x359fec){this['editor']['plugins']['get']('MergeFieldsEditing')['previewMode']=_0x359fec;}}const _0x49f13f=0x78,_0x2a3051=0x190,_0x209227=0x190,_0x59fdcb=/^[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(_0x2212f7){super(_0x2212f7),_0x2212f7['config']['define']('mergeFields.previewModes',['$labels','$defaultValues','$dataSets']),_0x2212f7['config']['define']('mergeFields.dataSets',[]),_0x2212f7['config']['define']('mergeFields.definitions',[]),_0x2212f7['config']['define']('mergeFields.prefix','{{'),_0x2212f7['config']['define']('mergeFields.suffix','}}'),_0x2212f7['config']['define']('mergeFields.previewHtmlValues',!0x1),_0x2212f7['config']['define']('mergeFields.sanitizeHtml',_0x1a8d90=>(ckeditor5['logWarning']('merge-fields-provide-sanitize-function'),{'html':_0x1a8d90,'hasChanged':!0x1})),this['_mergeFieldPrefix']=_0x2212f7['config']['get']('mergeFields.prefix'),this['_mergeFieldSuffix']=_0x2212f7['config']['get']('mergeFields.suffix'),this['_shouldPreviewHtmlValues']=_0x2212f7['config']['get']('mergeFields.previewHtmlValues'),this['flattenedMergeFieldDefinitions']=this['_getFlattenedMergeFieldDefinitions'](),this['_validateConfig']();const _0x2f3e97='\x5c'+this['_mergeFieldPrefix']['split']('')['join']('\x5c'),_0x2b4cb2='\x5c'+this['_mergeFieldSuffix']['split']('')['join']('\x5c');this['_mergeFieldRegExp']=new RegExp('('+_0x2f3e97+'[^'+(_0x2f3e97+_0x2b4cb2)+'\x20]+'+_0x2b4cb2+')','g'),this['availablePreviewModes']=this['_getAvailablePreviewModes']();const _0x5ed032=_0x2212f7['config']['get']('mergeFields.initialPreviewMode')||this['availablePreviewModes'][0x0];this['_validatePreviewMode'](_0x5ed032),this['set']('previewMode',_0x5ed032),this['_mergeFieldElements']=new Set();}['init'](){const _0x50c0b3=this['editor'];_0x50c0b3['commands']['add']('insertMergeField',new InsertMergeFieldCommand(_0x50c0b3)),_0x50c0b3['commands']['add']('insertMergeFieldBlock',new InsertMergeFieldBlockCommand(_0x50c0b3)),_0x50c0b3['commands']['add']('insertMergeFieldImage',new InsertMergeFieldImageCommand(_0x50c0b3)),_0x50c0b3['commands']['add']('previewMergeFields',new _0x4260d5(_0x50c0b3)),this['_defineSchema'](),this['_defineConverters'](),this['_registerConversionPostFixer'](),this['listenTo'](this['editor']['editing']['view']['document'],'imageLoaded',this['_setupTooltipsTogglingForImageMergeField']),this['on']('change:previewMode',(_0x1901a1,_0x399a84,_0x32225b)=>{this['_validatePreviewMode'](_0x32225b),this['refreshMergeFields']();}),this['listenTo'](_0x50c0b3['model']['document'],'change:data',()=>{this['_trackAddedMergeFields']();}),_0x50c0b3['editing']['mapper']['on']('viewToModelPosition',ckeditor5['viewToModelPositionOutsideModelElement'](_0x50c0b3['model'],_0x40484a=>_0x40484a['hasClass']('ck-merge-field'))),_0x50c0b3['editing']['mapper']['on']('viewToModelPosition',ckeditor5['viewToModelPositionOutsideModelElement'](_0x50c0b3['model'],_0x2a003a=>_0x2a003a['hasClass']('ck-merge-field-block'))),_0x50c0b3['editing']['view']['domConverter']['registerInlineObjectMatcher']({'name':'span','classes':['ck-merge-field']});}['afterInit'](){this['_disableCommandOnMergeFields']('ckboxImageEdit'),this['_disableCommandOnMergeFields']('uploadcareImageEdit'),_0x1a1499(this);}['isMergeField'](_0x3804f1){return'mergeField'===_0x3804f1['name']||'mergeFieldBlock'===_0x3804f1['name']||!!('imageBlock'===_0x3804f1['name']||'imageInline'===_0x3804f1['name']&&_0x3804f1['getAttribute']('src'))&&!!_0x3804f1['getAttribute']('src')['match'](this['_mergeFieldRegExp']);}['getDefaultValues'](){const _0x138c14={},_0x36c7ba=this['getMergeFieldsIds']();for(const _0x36f650 of _0x36c7ba)_0x138c14[_0x36f650]=this['getMergeFieldDefaultValue'](_0x36f650);return _0x138c14;}['getDataSetValues'](_0x6b6094,_0x346e9d=!0x1){const _0x2ea63d={},_0x107f0e=this['getMergeFieldsIds']();for(const _0x1eeba4 of _0x107f0e){let _0x1ea729=this['getMergeFieldValue'](_0x1eeba4,_0x6b6094);null===_0x1ea729&&_0x346e9d&&(_0x1ea729=this['getMergeFieldDefaultValue'](_0x1eeba4)),_0x2ea63d[_0x1eeba4]=_0x1ea729;}return _0x2ea63d;}['getLabel'](_0x47d1d4){const _0x3922ba=this['getDefinition'](_0x47d1d4);return _0x3922ba&&_0x3922ba['label']?_0x3922ba['label']:null;}['getMergeFieldDefaultValue'](_0xf2102b){const _0x2b4e39=this['getDefinition'](_0xf2102b);if(!_0x2b4e39||void 0x0===_0x2b4e39['defaultValue'])return null;const _0x1b5732='function'==typeof _0x2b4e39['defaultValue']?_0x2b4e39['defaultValue'](this['editor']):_0x2b4e39['defaultValue'];return String(_0x1b5732);}['getMergeFieldValue'](_0x231500,_0x5c24b2){const _0x558af4=this['editor']['config']['get']('mergeFields.dataSets')['find'](_0x15fc05=>_0x15fc05['id']===_0x5c24b2);if(!_0x558af4)throw new ckeditor5['CKEditorError']('merge-fields-data-set-not-found',null);const _0x32ab87=_0x558af4['values'][_0x231500];if(void 0x0===_0x32ab87)return null;const _0x1d20b6='function'==typeof _0x32ab87?_0x32ab87(this['editor']):_0x32ab87;return String(_0x1d20b6);}['getMergeFieldType'](_0x15f828){if('string'!=typeof _0x15f828){const _0x5924eb=_0x15f828;return'mergeField'===_0x5924eb['name']?'text':'mergeFieldBlock'===_0x5924eb['name']?'block':'imageBlock'!==_0x5924eb['name']&&'imageInline'!==_0x5924eb['name']||!_0x5924eb['getAttribute']('src')?null:_0x5924eb['getAttribute']('src')['match'](this['_mergeFieldRegExp'])?'image':null;}const _0x441302=this['getDefinition'](_0x15f828);return _0x441302&&_0x441302['type']?_0x441302['type']:'text';}['getMergeFieldHeight'](_0x3e2b2c){const _0x474642=this['getDefinition'](_0x3e2b2c);return _0x474642&&'block'===_0x474642['type']?_0x474642['height']||_0x49f13f:_0x474642&&'image'===_0x474642['type']?_0x474642['height']||_0x2a3051:null;}['getMergeFieldWidth'](_0x59c904){const _0x1e108a=this['getDefinition'](_0x59c904);return _0x1e108a&&'image'===_0x1e108a['type']?_0x1e108a['width']||_0x209227:null;}['getDocumentMergeFieldsIds'](){const _0x21c891=new Set();for(const _0x3ff8da of this['_mergeFieldElements'])'$graveyard'!==_0x3ff8da['root']['rootName']&&('image'===this['getMergeFieldType'](_0x3ff8da)?_0x21c891['add'](this['unwrapAffixes'](_0x3ff8da['getAttribute']('src'))):_0x21c891['add'](_0x3ff8da['getAttribute']('id')));return Array['from'](_0x21c891);}['getMergeFieldsIds'](){const _0x1eca05=this['flattenedMergeFieldDefinitions']['map'](_0x525966=>_0x525966['id']),_0x4097fb=this['getDocumentMergeFieldsIds']();return Array['from'](new Set([..._0x1eca05,..._0x4097fb]));}['getDefinition'](_0xe7c28f){return this['flattenedMergeFieldDefinitions']['find'](_0x34e2dc=>_0x34e2dc['id']===_0xe7c28f)||null;}['refreshMergeFields'](){this['_mergeFieldElements']['forEach'](_0x178c70=>{'$graveyard'!==_0x178c70['root']['rootName']&&this['editor']['editing']['reconvertItem'](_0x178c70);});}['wrapInAffixes'](_0x91ec78){return this['_mergeFieldPrefix']+_0x91ec78+this['_mergeFieldSuffix'];}['unwrapAffixes'](_0x3eb3aa){return _0x3eb3aa['slice'](this['_mergeFieldPrefix']['length'],_0x3eb3aa['length']-this['_mergeFieldSuffix']['length']);}['_getFlattenedMergeFieldDefinitions'](){const _0x122819=new Set(),_0x4daffc=this['editor'];return _0x4daffc['config']['get']('mergeFields.definitions')['reduce']((_0x3a0433,_0x418259)=>{if('groupId'in _0x418259){if(_0x122819['has'](_0x418259['groupId']))throw new ckeditor5['CKEditorError']('merge-fields-duplicate-group-id',_0x4daffc,{'duplicateId':_0x418259['groupId']});_0x122819['add'](_0x418259['groupId']);}return'groupId'in _0x418259?function(_0x570618,_0x14914b){for(const _0xaa205b of _0x14914b['definitions'])_0x570618=_0x570618['concat'](_0xaa205b);return _0x570618;}['bind'](_0x4daffc)(_0x3a0433,_0x418259):_0x3a0433['concat'](_0x418259);},new Array());}['_validateConfig'](){const _0x11b70f=/^['"`!#%:;=@{}~$()*+/?[\\\]^|]+$/;if(!_0x11b70f['test'](this['_mergeFieldPrefix'])||!_0x11b70f['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 _0x2965a2=new Set();if(this['flattenedMergeFieldDefinitions']['map'](_0xaebce3=>{if(!_0x59fdcb['test'](_0xaebce3['id']))throw new ckeditor5['CKEditorError']('merge-fields-invalid-id',this,{'incorrectId':_0xaebce3['id']});if(_0x2965a2['has'](_0xaebce3['id']))throw new ckeditor5['CKEditorError']('merge-fields-duplicate-merge-field-id',this,{'duplicateId':_0xaebce3['id']});_0x2965a2['add'](_0xaebce3['id']);}),this['_mergeFieldPrefix']===this['_mergeFieldSuffix'])throw new ckeditor5['CKEditorError']('merge-fields-prefix-and-suffix-must-differ',this);const _0x2d9ccb=this['editor']['config']['get']('mergeFields.previewModes'),_0x2bc6cf=['$labels','$defaultValues','$dataSets'];if(!_0x2d9ccb['length']||!_0x2d9ccb['every'](_0x3a7557=>_0x2bc6cf['includes'](_0x3a7557)))throw new ckeditor5['CKEditorError']('merge-fields-invalid-preview-modes-configuration',this,{'invalidConfig':_0x2d9ccb});const _0x3ec570=new Set(),_0x485e0c=this['editor']['config']['get']('mergeFields.dataSets');for(const _0x10ddc3 of _0x485e0c){if(_0x3ec570['has'](_0x10ddc3['id']))throw new ckeditor5['CKEditorError']('merge-fields-duplicate-data-set-id',this,{'duplicateId':_0x10ddc3['id']});_0x3ec570['add'](_0x10ddc3['id']);}}['_getAvailablePreviewModes'](){const _0x4607dc=this['editor']['config']['get']('mergeFields.previewModes'),_0xaecea=[];if(_0x4607dc['includes']('$labels')&&_0xaecea['push']('$labels'),_0x4607dc['includes']('$defaultValues')&&_0xaecea['push']('$defaultValues'),_0x4607dc['includes']('$dataSets')){const _0x45614b=this['editor']['config']['get']('mergeFields.dataSets');_0xaecea['push'](..._0x45614b['map'](_0x509f7c=>_0x509f7c['id']));}return _0xaecea;}['_defineSchema'](){const _0x3084ab=this['editor']['model']['schema'];_0x3084ab['register']('mergeField',{'inheritAllFrom':'$inlineObject','allowAttributes':['id'],'allowWhere':'$text'}),_0x3084ab['register']('mergeFieldBlock',{'inheritAllFrom':'$blockObject','allowAttributes':['id']});}['_defineConverters'](){const _0xdbabf9=this['editor']['conversion'];_0xdbabf9['for']('upcast')['add'](_0xc64a27=>{_0xc64a27['on']('text',(_0xcfccb7,_0x1e00e5,_0x384aa2)=>{const {writer:_0x1bebbb,safeInsert:_0x49c771}=_0x384aa2,{viewItem:_0x38443e}=_0x1e00e5,_0x3da701=_0x38443e['data']['split'](this['_mergeFieldRegExp'])['filter'](_0x4d33d0=>_0x4d33d0);if(0x1===_0x3da701['length']&&!_0x3da701[0x0]['match'](this['_mergeFieldRegExp']))return;if(!_0x1e00e5['modelRange'])return;const _0x2b5963=_0x1bebbb['createElement']('$cursor');_0x1bebbb['insert'](_0x2b5963,_0x1e00e5['modelCursor']);const _0x1ebd02=[];for(const _0x3833b9 of _0x1e00e5['modelRange']['getItems']()){if(!_0x3833b9['is']('$textProxy'))continue;const _0x250bdb=_0x3833b9['textNode']['data']['matchAll'](this['_mergeFieldRegExp']),_0x40c777=_0x3833b9['parent'],_0x15f874=_0x3833b9['textNode']['startOffset'];for(const _0x2c55c3 of[..._0x250bdb]['reverse']()){const _0x47670e=_0x2c55c3[0x0],_0x32d7ca=_0x1bebbb['createPositionAt'](_0x40c777,_0x2c55c3['index']+_0x15f874),_0x3e2ea4=_0x32d7ca['getShiftedBy'](_0x47670e['length']),_0xb347da=_0x1bebbb['createRange'](_0x32d7ca,_0x3e2ea4),_0xb20d21=this['unwrapAffixes'](_0x47670e),_0x119300=this['getMergeFieldType'](_0xb20d21),_0xd52037='block'==_0x119300?'mergeFieldBlock':'mergeField',_0x28c596=_0x1bebbb['createElement'](_0xd52037,{'id':_0xb20d21});_0x1bebbb['remove'](_0xb347da),_0x1bebbb['insert'](_0x28c596,_0x32d7ca),'block'==_0x119300&&_0x1ebd02['push'](_0x28c596);}}_0x1ebd02['reverse']();for(const _0x64d940 of _0x1ebd02){const _0x29cf74=_0x1bebbb['createPositionBefore'](_0x64d940),_0x4f22fa=_0x64d940['nextSibling']==_0x2b5963;_0x1bebbb['remove'](_0x64d940),_0x49c771(_0x64d940,_0x29cf74)&&_0x4f22fa&&_0x1bebbb['move'](_0x1bebbb['createRangeOn'](_0x2b5963),_0x1bebbb['createPositionAfter'](_0x64d940));}_0x1e00e5['modelCursor']=_0x1bebbb['createPositionBefore'](_0x2b5963),_0x1e00e5['modelRange']=_0x1bebbb['createRange'](_0x1e00e5['modelRange']['start'],_0x1e00e5['modelCursor']),_0x1bebbb['remove'](_0x2b5963);},{'priority':ckeditor5['priorities']['get']('lowest')-0x1});}),_0xdbabf9['for']('upcast')['elementToElement']({'view':{'name':'span','attributes':'data-ck-merge-field'},'model':(_0x50576d,{writer:_0x20b852})=>_0x20b852['createElement']('mergeField',{'id':_0x50576d['getAttribute']('data-ck-merge-field')})}),_0xdbabf9['for']('upcast')['elementToElement']({'view':{'name':'div','attributes':'data-ck-merge-field'},'model':(_0x5cb504,{writer:_0x4b47fd})=>_0x4b47fd['createElement']('mergeFieldBlock',{'id':_0x5cb504['getAttribute']('data-ck-merge-field')})}),_0xdbabf9['for']('upcast')['add'](this['_upcastSrcAttributeFromClipboard']()),_0xdbabf9['for']('editingDowncast')['elementToElement']({'model':'mergeField','view':(_0x557f0a,{writer:_0x2639d5})=>this['_createMergeFieldWidget'](_0x557f0a,_0x2639d5,'text')}),_0xdbabf9['for']('dataDowncast')['elementToElement']({'model':'mergeField','view':(_0x4a644c,{writer:_0x163c5c,options:_0x28ebb2})=>this['_createTextualMergeField'](_0x4a644c,_0x163c5c,_0x28ebb2)}),_0xdbabf9['for']('editingDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x53e0f0,{writer:_0x320d95})=>this['_createMergeFieldWidget'](_0x53e0f0,_0x320d95,'block')}),_0xdbabf9['for']('dataDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x95d5b4,{writer:_0x203093,options:_0x29a315})=>this['_createTextualMergeField'](_0x95d5b4,_0x203093,_0x29a315)}),_0xdbabf9['for']('editingDowncast')['add'](this['_downcastSrcAttributeToEditing']('imageBlock'))['add'](this['_downcastSrcAttributeToEditing']('imageInline')),_0xdbabf9['for']('dataDowncast')['add'](this['_downcastSrcAttributeToData']('imageBlock'))['add'](this['_downcastSrcAttributeToData']('imageInline'));}['_upcastSrcAttributeFromClipboard'](){return _0x33f7a2=>{_0x33f7a2['on']('element:img',(_0x53353a,_0x21ccde,_0x5110cb)=>{_0x5110cb['consumable']['test'](_0x21ccde['viewItem'],{'attributes':'data-ck-merge-field'})&&(_0x5110cb['writer']['setAttribute']('src',this['wrapInAffixes'](_0x21ccde['viewItem']['getAttribute']('data-ck-merge-field')),_0x21ccde['modelCursor']['nodeBefore']),_0x5110cb['consumable']['consume'](_0x21ccde['viewItem'],{'attributes':'data-ck-merge-field'}));},{'priority':'low'});};}['_downcastSrcAttributeToData'](_0x3159fe){const _0x165414=this['editor']['plugins']['get']('ImageUtils'),_0x3085f8=(_0x14c13e,_0x5448ae,_0x12b551)=>{if(!0x1!==_0x12b551['consumable']['test'](_0x5448ae['item'],_0x14c13e['name']))return;if(!String(_0x5448ae['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0x3ce065=_0x12b551['writer'],_0x314e61=_0x12b551['mapper']['toViewElement'](_0x5448ae['item']),_0x2cc83c=_0x165414['findViewImgElement'](_0x314e61),_0x2b53e2=String(_0x5448ae['attributeNewValue']),_0x3dfbcd=this['unwrapAffixes'](_0x2b53e2),_0x469954=_0x12b551['options']['mergeFieldsData'];if(_0x12b551['options']['isClipboardPipeline']&&'$labels'!==this['previewMode']){let _0x2de300;return _0x2de300='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x3dfbcd)||this['getLabel'](_0x3dfbcd)||this['wrapInAffixes'](_0x3dfbcd):this['getMergeFieldValue'](_0x3dfbcd,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x3dfbcd)||this['getLabel'](_0x3dfbcd)||this['wrapInAffixes'](_0x3dfbcd),_0x3ce065['setAttribute']('data-ck-merge-field',_0x3dfbcd,_0x2cc83c),void _0x3ce065['setAttribute'](_0x5448ae['attributeKey'],_0x2de300,_0x2cc83c);}const _0x1e25ae=_0x469954&&_0x469954[_0x3dfbcd]?_0x469954[_0x3dfbcd]:_0x2b53e2;_0x3ce065['setAttribute'](_0x5448ae['attributeKey'],_0x1e25ae,_0x2cc83c);};return _0x104ec6=>{_0x104ec6['on']('attribute:src:'+_0x3159fe,_0x3085f8,{'priority':'low'});};}['_downcastSrcAttributeToEditing'](_0x1e5e55){const _0x53eaa5=this['editor']['plugins']['get']('ImageUtils'),_0x486a92=(_0x477142,_0x2145a8,_0x1078f7)=>{if(!0x1!==_0x1078f7['consumable']['test'](_0x2145a8['item'],_0x477142['name']))return;if(!String(_0x2145a8['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0x29a883=_0x1078f7['writer'],_0x3e476b=_0x1078f7['mapper']['toViewElement'](_0x2145a8['item']),_0x144982=_0x53eaa5['findViewImgElement'](_0x3e476b),_0x4cf62d=String(_0x2145a8['attributeNewValue']),_0x397a9e=this['unwrapAffixes'](_0x4cf62d),_0x21df43=this['getMergeFieldDefaultValue'](_0x397a9e),_0x580ba8='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAAtJREFUGFdjYAACAAAFAAGq1chRAAAAAElFTkSuQmCC';let _0x2b8c1c,_0x5e6663='',_0x4ac512='';if('$labels'===this['previewMode'])_0x2b8c1c=_0x580ba8;else{if('$defaultValues'===this['previewMode'])_0x21df43?(_0x2b8c1c=_0x21df43,_0x4ac512='\x20ck-merge-field-image_with-value'):(_0x2b8c1c=_0x580ba8,_0x5e6663='WARNING_MISSING_DEFAULT_VALUE',_0x4ac512='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_no-default');else{const _0x216697=this['getMergeFieldValue'](_0x397a9e,this['previewMode']);_0x216697?(_0x2b8c1c=_0x216697,_0x4ac512='\x20ck-merge-field-image_with-value'):_0x21df43?(_0x2b8c1c=_0x21df43,_0x4ac512='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_default-value-used',_0x5e6663='WARNING_MISSING_DATA_USED_DEFAULT_VALUE'):(_0x2b8c1c=_0x580ba8,_0x4ac512='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_missing-data',_0x5e6663='WARNING_MISSING_DATA');}}if(_0x29a883['addClass']('ck-merge-field-image'+_0x4ac512,_0x3e476b),_0x29a883['setAttribute'](_0x2145a8['attributeKey'],_0x2b8c1c,_0x144982),'$labels'===this['previewMode']){const _0x307a99='imageInline'===_0x1e5e55?'span':'div',_0x38a7d6=this['_mergeFieldPrefix'],_0x5a2a7d=this['_mergeFieldSuffix'],_0x146052=_0x29a883['createContainerElement'](_0x307a99,{'class':'ck-merge-field','data-cke-tooltip-instant':'true'},[_0x29a883['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x237f08){const _0x29926d=this['toDomElement'](_0x237f08);return _0x29926d['innerHTML']=_0x38a7d6,_0x29926d;}),_0x29a883['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x29a883['createText'](this['getLabel'](_0x397a9e)||_0x397a9e)),_0x29a883['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x3078a7){const _0x4ade17=this['toDomElement'](_0x3078a7);return _0x4ade17['innerHTML']=_0x5a2a7d,_0x4ade17;})]);_0x29a883['insert'](_0x29a883['createPositionAt'](_0x3e476b,'end'),_0x146052),_0x29a883['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x397a9e)||_0x397a9e,_0x146052);}else{if(_0x5e6663&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x5e6663)){const _0x314edf='imageInline'===_0x1e5e55?'span':'div',_0x1c6e4b=_0x4ac512['replace'](/ck-merge-field-image/g,'ck-merge-field'),_0x1f5c72=_0x29a883['createContainerElement'](_0x314edf,{'class':'ck-merge-field'+_0x1c6e4b,'data-cke-tooltip-instant':'true'},[_0x29a883['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x29a883['createText'](this['getLabel'](_0x397a9e)||_0x397a9e))]),_0x21f52e=_0x29a883['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x2b80bd){const _0x1b063c=this['toDomElement'](_0x2b80bd),_0x271675=new ckeditor5['IconView']();return _0x271675['set']({'content':ckeditor5['IconWarning']}),_0x271675['render'](),_0x1b063c['appendChild'](_0x271675['element']),_0x1b063c;});_0x29a883['insert'](_0x29a883['createPositionAt'](_0x1f5c72,'end'),_0x21f52e),_0x29a883['insert'](_0x29a883['createPositionAt'](_0x3e476b,'end'),_0x1f5c72),_0x29a883['setCustomProperty']('mergeFieldStatus',_0x5e6663,_0x1f5c72),_0x29a883['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x397a9e)||_0x397a9e,_0x1f5c72);}}_0x29a883['setAttribute']('data-merge-field-name',_0x397a9e,_0x3e476b),_0x5e6663&&_0x29a883['setCustomProperty']('mergeFieldStatus',_0x5e6663,_0x3e476b);};return _0x5e6a8d=>{_0x5e6a8d['on']('attribute:src:'+_0x1e5e55,_0x486a92,{'priority':'low'});};}['_setupTooltipsTogglingForImageMergeField'](_0x3a460b,_0x17f9b0){if(!_0x17f9b0['target'])return null;const _0x38377f=_0x17f9b0['target']['parentElement'];return _0x38377f&&_0x38377f['classList']['contains']('ck-merge-field-image')?new ckeditor5['ResizeObserver'](_0x38377f,_0x2e3771=>{const _0x1020f3=_0x2e3771['target'],_0x51f6e6=_0x1020f3['querySelector']('.ck-merge-field'),_0xa505ea=_0x1020f3['querySelector']('.ck-merge-field__content');_0x51f6e6&&_0xa505ea&&(_0xa505ea['scrollWidth']>_0xa505ea['getBoundingClientRect']()['width']?_0x51f6e6['removeAttribute']('data-cke-tooltip-disabled'):_0x51f6e6['setAttribute']('data-cke-tooltip-disabled','true'));}):null;}['_createMergeFieldWidget'](_0x9b5ee8,_0x5363fc,_0x2de936){const {label:_0x4344ff,classes:_0xf3f4a5,status:_0xa7cb85,height:_0x35f5f1}=this['_prepareViewElementData'](_0x9b5ee8),_0x871442=this['_mergeFieldPrefix'],_0x19233d=this['_mergeFieldSuffix'],_0x16afd7=this['editor']['config']['get']('mergeFields.sanitizeHtml'),_0x51632d='text'===_0x2de936?'span':'div';let _0xc4759c;if('$labels'===this['previewMode'])_0xc4759c=_0x5363fc['createContainerElement'](_0x51632d,{'class':_0xf3f4a5},[_0x5363fc['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x5eb7e2){const _0x4470bb=this['toDomElement'](_0x5eb7e2);return _0x4470bb['innerHTML']=_0x871442,_0x4470bb;}),_0x5363fc['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x5363fc['createText'](String(_0x4344ff))),_0x5363fc['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x200d91){const _0x3e09fe=this['toDomElement'](_0x200d91);return _0x3e09fe['innerHTML']=_0x19233d,_0x3e09fe;})]);else{if(_0xa7cb85){const _0x22d13d=this['_shouldPreviewHtmlValues']?_0x5363fc['createRawElement']('span',{'class':'ck-merge-field__content'},function(_0xbc87b0,_0x5a0d8c){_0x5a0d8c['setContentOf'](_0xbc87b0,_0x16afd7(_0x4344ff)['html']);}):_0x5363fc['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x5363fc['createText'](_0x4344ff));if(_0xc4759c=_0x5363fc['createContainerElement'](_0x51632d,{'class':_0xf3f4a5},[_0x22d13d]),'text'===_0x2de936||['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0xa7cb85)){const _0x2d86de=_0x5363fc['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x18cfc1){const _0x1b6f41=this['toDomElement'](_0x18cfc1),_0x59a9e6=new ckeditor5['IconView']();return _0x59a9e6['set']({'content':ckeditor5['IconWarning']}),_0x59a9e6['render'](),_0x1b6f41['appendChild'](_0x59a9e6['element']),_0x1b6f41;});_0x5363fc['insert'](_0x5363fc['createPositionAt'](_0xc4759c,'end'),_0x2d86de);}_0x5363fc['setCustomProperty']('mergeFieldStatus',_0xa7cb85,_0xc4759c);}else{const _0x2bf4b1=this['_shouldPreviewHtmlValues']?_0x5363fc['createRawElement'](_0x51632d,{},function(_0x42cb28,_0x5f5be7){_0x5f5be7['setContentOf'](_0x42cb28,_0x16afd7(_0x4344ff)['html']);}):_0x5363fc['createText'](_0x4344ff);_0xc4759c=_0x5363fc['createContainerElement'](_0x51632d,{'class':_0xf3f4a5},_0x2bf4b1);}}if('block'===_0x2de936){const _0x44bf74=_0x5363fc['createContainerElement']('div',{'class':'ck-merge-field-block'},[_0xc4759c]);if(('$labels'===this['previewMode']||_0xa7cb85&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0xa7cb85))&&_0x5363fc['setAttribute']('style','height:\x20'+_0x35f5f1+'px',_0x44bf74),_0xc4759c['hasClass']('ck-merge-field_with-value'))_0x5363fc['addClass']('ck-merge-field-block_with-value',_0x44bf74);else{if(_0xc4759c['hasClass']('ck-merge-field_with-warning')){for(const _0x487bbd of _0xc4759c['getClassNames']())if('ck-merge-field'!==_0x487bbd){const _0x29cc6f=_0x487bbd['replace']('ck-merge-field','ck-merge-field-block');_0x5363fc['addClass'](_0x29cc6f,_0x44bf74);}_0x5363fc['setCustomProperty']('mergeFieldStatus',_0xa7cb85,_0x44bf74);}}return _0x5363fc['setCustomProperty']('mergeFieldBlock',!0x0,_0x44bf74),_0x5363fc['setAttribute']('data-merge-field-name',_0x9b5ee8['getAttribute']('id'),_0x44bf74),ckeditor5['toWidget'](_0x44bf74,_0x5363fc,{'hasSelectionHandle':!0x0});}return _0x5363fc['setCustomProperty']('mergeField',!0x0,_0xc4759c),_0x5363fc['setAttribute']('data-merge-field-name',_0x9b5ee8['getAttribute']('id'),_0xc4759c),ckeditor5['toWidget'](_0xc4759c,_0x5363fc);}['_prepareViewElementData'](_0x8769d8){const _0x511a23=_0x8769d8['getAttribute']('id'),_0x43f3bb=this['getDefinition'](_0x511a23);if(!_0x43f3bb)return'$labels'===this['previewMode']?{'label':_0x511a23,'classes':'ck-merge-field'}:{'label':_0x511a23,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-definition','status':'WARNING_MISSING_DATA'};const _0xb0d901=this['getLabel'](_0x511a23)||_0x511a23,_0x2fd740=this['getMergeFieldDefaultValue'](_0x511a23),_0x3f8add=this['getMergeFieldHeight'](_0x511a23);if('$labels'===this['previewMode'])return{'label':_0xb0d901,'height':_0x3f8add,'classes':'ck-merge-field'};if('$defaultValues'===this['previewMode'])return _0x2fd740?{'label':_0x2fd740,'height':_0x3f8add,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:{'label':_0xb0d901,'height':_0x3f8add,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_no-default','status':'WARNING_MISSING_DEFAULT_VALUE'};const _0x2ad416=this['getMergeFieldValue'](_0x43f3bb['id'],this['previewMode']);return _0x2ad416?{'label':_0x2ad416,'height':_0x3f8add,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:_0x2fd740?{'label':_0x2fd740,'height':_0x3f8add,'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':_0xb0d901,'height':_0x3f8add,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-data','status':'WARNING_MISSING_DATA'};}['_createTextualMergeField'](_0x9d3cd4,_0xd6d3dd,_0x43549a){const _0x43bf32=_0x9d3cd4['getAttribute']('id');let _0x4707f3;if(_0x43549a['isClipboardPipeline']&&'$labels'!==this['previewMode'])return this['_downcastForClipboard'](_0x43bf32,_0xd6d3dd);const _0x1a6a81=_0x43549a['mergeFieldsData'],_0x4d21d6=_0x1a6a81&&_0x1a6a81[_0x43bf32]?_0x1a6a81[_0x43bf32]:this['wrapInAffixes'](_0x43bf32);if(_0x1a6a81)_0x4707f3=_0xd6d3dd['createRawElement']('span',{},function(_0x2a4b08,_0x290a16){_0x290a16['setContentOf'](_0x2a4b08,String(_0x4d21d6));});else{_0x4707f3=_0xd6d3dd['createContainerElement']('span');const _0x4fce73=_0xd6d3dd['createText'](_0x4d21d6);_0xd6d3dd['insert'](_0xd6d3dd['createPositionAt'](_0x4707f3,'end'),_0x4fce73);}return _0xd6d3dd['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4707f3),_0x4707f3;}['_downcastForClipboard'](_0x20ceed,_0x4dfd7c){const _0x3686f7='block'===this['getMergeFieldType'](_0x20ceed)?'div':'span';let _0x56a7e6,_0x4e0f49;_0x56a7e6='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x20ceed)||this['getLabel'](_0x20ceed)||this['wrapInAffixes'](_0x20ceed):this['getMergeFieldValue'](_0x20ceed,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x20ceed)||this['getLabel'](_0x20ceed)||this['wrapInAffixes'](_0x20ceed);const _0x1ee1cd=this['editor']['config']['get']('mergeFields.sanitizeHtml');return _0x4e0f49=this['_shouldPreviewHtmlValues']?_0x4dfd7c['createRawElement'](_0x3686f7,{'data-ck-merge-field':_0x20ceed},function(_0x1022db,_0xd33d18){_0xd33d18['setContentOf'](_0x1022db,_0x1ee1cd(_0x56a7e6)['html']);}):_0x4dfd7c['createContainerElement'](_0x3686f7,{'data-ck-merge-field':_0x20ceed},_0x4dfd7c['createText'](_0x56a7e6)),_0x4e0f49;}['_validatePreviewMode'](_0xffc7e8){if(!this['availablePreviewModes']['includes'](_0xffc7e8))throw new ckeditor5['CKEditorError']('merge-fields-invalid-preview-mode-set',this,{'availablePreviewModes':this['availablePreviewModes'],'previewMode':_0xffc7e8});}['_trackAddedMergeFields'](){for(const _0x2ffd44 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x2ffd44['type']||'$text'===_0x2ffd44['name'])continue;if('mergeField'===_0x2ffd44['name']||'mergeFieldBlock'===_0x2ffd44['name']){this['_mergeFieldElements']['add'](_0x2ffd44['position']['nodeAfter']);continue;}if('imageInline'===_0x2ffd44['name']||'imageBlock'===_0x2ffd44['name']&&_0x2ffd44['attributes']['get']('src')&&String(_0x2ffd44['attributes']['get']('src'))['match'](this['_mergeFieldRegExp'])){this['_mergeFieldElements']['add'](_0x2ffd44['position']['nodeAfter']);continue;}const _0x1da9c8=this['editor']['model']['createRangeIn'](_0x2ffd44['position']['nodeAfter']);for(const _0x54bb5f of _0x1da9c8['getItems']())_0x54bb5f['is']('element')&&this['isMergeField'](_0x54bb5f)&&this['_mergeFieldElements']['add'](_0x54bb5f);}}['_registerConversionPostFixer'](){const _0x3a7fc4=this['editor'];_0x3a7fc4['model']['document']['registerPostFixer'](_0x871db5=>{if(!_0x871db5['batch']['isLocal'])return!0x1;const _0x3f732b=[],_0x43bfd9=new Set(),_0x4cf43c=this['_mergeFieldRegExp'];let _0x2077dc=!0x1;for(const _0x2f29a4 of _0x3a7fc4['model']['document']['differ']['getChanges']())if('insert'===_0x2f29a4['type']||'remove'===_0x2f29a4['type']){let _0x5f6551='$text'==_0x2f29a4['name']?_0x2f29a4['position']['parent']:_0x2f29a4['position']['nodeAfter'];if(!_0x5f6551)continue;_0x5f6551['is']('$text')&&(_0x5f6551=_0x5f6551['parent']),_0x42c30b(_0x5f6551);}for(const _0x4f1760 of _0x3f732b['reverse']()){const {match:_0x5d02d1,item:_0x88b80}=_0x4f1760,_0x12ef77=_0x871db5['createPositionAt'](_0x88b80,_0x5d02d1['index']),_0x21cc1b=_0x12ef77['getShiftedBy'](_0x5d02d1[0x0]['length']),_0x23d759=_0x871db5['createRange'](_0x12ef77,_0x21cc1b),_0x2f03cc=_0x5d02d1[0x0],_0x200da3=this['unwrapAffixes'](_0x2f03cc),_0x434720=_0x5b19b7(_0x23d759),_0x40d200=this['getMergeFieldType'](_0x200da3);if(_0x59fdcb['test'](_0x200da3)){if(_0x434720['set']('id',_0x200da3),'block'===_0x40d200){const _0xc74f10=_0x871db5['createElement']('mergeFieldBlock',{'id':_0x200da3});_0x871db5['remove'](_0x23d759),_0x3a7fc4['model']['insertObject'](_0xc74f10,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{if('image'===_0x40d200){const _0x12eee6=_0x871db5['createElement']('imageBlock',{'src':this['wrapInAffixes'](_0x200da3)});_0x871db5['remove'](_0x23d759),_0x3a7fc4['model']['insertObject'](_0x12eee6,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{const _0x314284=_0x871db5['createElement']('mergeField',_0x434720);_0x3a7fc4['model']['schema']['checkChild'](_0x23d759['start'],'mergeField')?_0x3a7fc4['model']['insertObject'](_0x314284,_0x23d759):_0x871db5['remove'](_0x23d759);}}_0x2077dc=!0x0;}}return _0x2077dc;function _0x42c30b(_0x519f38){let _0xbb2c3e='',_0x2dd49f=0x0;if(!_0x43bfd9['has'](_0x519f38))for(const _0x6c7e70 of _0x519f38['getChildren']()){const _0x48f5a5=_0x6c7e70['nextSibling'];if(_0x6c7e70['is']('$text')&&(''===_0xbb2c3e&&_0x6c7e70['startOffset']&&(_0x2dd49f=_0x6c7e70['startOffset']),_0xbb2c3e+=_0x6c7e70['data']),!_0x48f5a5||_0x48f5a5['is']('element')){for(const _0x5d5989 of _0xbb2c3e['matchAll'](_0x4cf43c))_0x5d5989['index']=_0x5d5989['index']+_0x2dd49f,_0x3f732b['push']({'match':_0x5d5989,'item':_0x519f38});_0x43bfd9['add'](_0x519f38),_0xbb2c3e='';}_0x6c7e70['is']('element')&&_0x42c30b(_0x6c7e70);}}function _0x5b19b7(_0x3672ae){const _0xdc7648=_0x3672ae['getItems'](),_0x1e0005=_0xdc7648['next']()['value'],_0x581a4f=new Map(_0x1e0005['getAttributes']());for(const _0x9a5d76 of _0xdc7648)for(const [_0x16541d,_0x436cc9]of _0x581a4f)_0x9a5d76['getAttribute'](_0x16541d)!==_0x436cc9&&_0x581a4f['delete'](_0x16541d);return _0x581a4f;}});}['_disableCommandOnMergeFields'](_0x290129){const _0x17b2e0=this['editor'],_0x4db739=_0x17b2e0['commands']['get'](_0x290129);_0x4db739&&_0x4db739['on']('set:isEnabled',(_0x139c31,_0x49390f,_0x4a60e3)=>{if(0x1==_0x4a60e3){const _0x3fed26=_0x17b2e0['model']['document']['selection']['getSelectedElement']();_0x3fed26&&this['isMergeField'](_0x3fed26)&&(_0x139c31['return']=!0x1,_0x139c31['stop']());}});}}async function _0x1a1499(_0x4603a9){const _0x2024cd=_0x350bf0([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]),_0x5b8fab=window[_0x350bf0([0x44,0x61,0x74,0x65])][_0x350bf0([0x6e,0x6f,0x77])](),_0x485956=_0x4603a9[_0x350bf0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x347cb2=new window[(_0x350bf0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d4cd0=>{_0x485956[_0x350bf0([0x6f,0x6e,0x63,0x65])](_0x350bf0([0x72,0x65,0x61,0x64,0x79]),_0x2d4cd0);}),_0x201e0f={[_0x350bf0([0x6b,0x74,0x79])]:_0x350bf0([0x45,0x43]),[_0x350bf0([0x75,0x73,0x65])]:_0x350bf0([0x73,0x69,0x67]),[_0x350bf0([0x63,0x72,0x76])]:_0x350bf0([0x50,0x2d,0x32,0x35,0x36]),[_0x350bf0([0x78])]:_0x350bf0([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]),[_0x350bf0([0x79])]:_0x350bf0([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]),[_0x350bf0([0x61,0x6c,0x67])]:_0x350bf0([0x45,0x53,0x32,0x35,0x36])},_0x4ef442=_0x485956[_0x350bf0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x350bf0([0x67,0x65,0x74])](_0x350bf0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x57d8c7=await(async function(){let _0x1abaca,_0x28b2d0=null,_0x29b695=null;try{if(_0x4ef442==_0x350bf0([0x47,0x50,0x4c]))return _0x350bf0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1abaca=(function(){const _0x148150=_0x4ef442[_0x350bf0([0x73,0x70,0x6c,0x69,0x74])](_0x350bf0([0x2e]));if(0x3!=_0x148150[_0x350bf0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x99b377=_0x148150[0x1];return _0x5310f9(_0x99b377);function _0x5310f9(_0xb3da1e){const _0x57b344=_0x26c444(_0xb3da1e);return _0x57b344&&_0x4e6680()?_0x57b344:null;function _0x4e6680(){const _0x49c569=_0x57b344[_0x350bf0([0x6a,0x74,0x69])],_0x3d9d44=window[_0x350bf0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x49c569[_0x350bf0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x49c569[_0x350bf0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3ee02f={..._0x57b344,[_0x350bf0([0x6a,0x74,0x69])]:_0x49c569[_0x350bf0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x49c569[_0x350bf0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3ee02f[_0x350bf0([0x76,0x63])],_0x43e53c(_0x3ee02f)==_0x3d9d44;}}}()),!_0x1abaca)return _0x350bf0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x1abaca[_0x350bf0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x29b695=function(_0x49bcf8,_0x193781){return new window[(_0x350bf0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c2174=>{if(_0x1ff0ca())return _0x4c2174(_0x350bf0([0x56,0x61,0x6c,0x69,0x64]));_0x3d3771(),_0x485956[_0x350bf0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x350bf0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x168cb8=!0x1;const _0x91b7ad=ckeditor5['uid']();function _0x45be66(_0x168433){return!!_0x168433&&(typeof _0x168433===_0x350bf0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x168433===_0x350bf0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x168433[_0x350bf0([0x74,0x68,0x65,0x6e])]===_0x350bf0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x168433[_0x350bf0([0x63,0x61,0x74,0x63,0x68])]===_0x350bf0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2e00e6(_0x294112){_0x59686f(_0x294112)[_0x350bf0([0x74,0x68,0x65,0x6e])](_0x4b3aa3=>{if(!_0x4b3aa3||_0x4b3aa3[_0x350bf0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x350bf0([0x6f,0x6b]))return _0x350bf0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x15c302(_0x43e53c(_0x91b7ad+_0x193781))!=_0x4b3aa3[_0x350bf0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x350bf0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x350bf0([0x56,0x61,0x6c,0x69,0x64]);})[_0x350bf0([0x74,0x68,0x65,0x6e])](_0x5c579b=>(_0x21507a(),_0x5c579b),()=>{const _0x50b433=_0x36eccc();return null==_0x50b433?(_0x21507a(),_0x350bf0([0x56,0x61,0x6c,0x69,0x64])):_0x350bf0(_0x5b8fab-_0x50b433>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x350bf0([0x74,0x68,0x65,0x6e])](_0x4c2174)[_0x350bf0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4c2174(_0x350bf0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x445c06=0x36ee80;function _0x21507a(){const _0x6487da=_0x350bf0([0x6c,0x6c,0x63,0x74,0x2d])+_0x15c302(_0x43e53c(_0x49bcf8)),_0x47c2af=_0x389de8(_0x15c302(window[_0x350bf0([0x4d,0x61,0x74,0x68])][_0x350bf0([0x63,0x65,0x69,0x6c])](_0x5b8fab/_0x445c06)));window[_0x350bf0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x350bf0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x6487da,_0x47c2af);}function _0x36eccc(){const _0x4c1d37=_0x350bf0([0x6c,0x6c,0x63,0x74,0x2d])+_0x15c302(_0x43e53c(_0x49bcf8)),_0x49efec=window[_0x350bf0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x350bf0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c1d37);return _0x49efec?window[_0x350bf0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x389de8(_0x49efec),0x10)*_0x445c06:null;}function _0x59686f(_0x788183){return new window[(_0x350bf0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3c1d63,_0x5126bd)=>{_0x788183[_0x350bf0([0x74,0x68,0x65,0x6e])](_0x3c1d63,_0x5126bd),window[_0x350bf0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5126bd,0x1d4c0);});}}_0x485956[_0x350bf0([0x6f,0x6e])](_0x350bf0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x27c8d5,_0x1804d0)=>{if(_0x1804d0[0x0]!=_0x49bcf8)return _0x4c2174(_0x350bf0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1804d0[0x1]={..._0x1804d0[0x1],[_0x350bf0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x91b7ad};},{[_0x350bf0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x350bf0([0x68,0x69,0x67,0x68])}),_0x485956[_0x350bf0([0x6f,0x6e])](_0x350bf0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x575695=>{_0x45be66(_0x575695[_0x350bf0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x168cb8=!0x0,_0x2e00e6(_0x575695[_0x350bf0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x350bf0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x350bf0([0x6c,0x6f,0x77])}),_0x347cb2[_0x350bf0([0x74,0x68,0x65,0x6e])](()=>{_0x168cb8||_0x4c2174(_0x350bf0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1ff0ca(){return _0x485956[_0x350bf0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x350bf0([0x76,0x69,0x65,0x77])][_0x350bf0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x350bf0([0x61,0x75,0x74,0x6f]);}function _0x3d3771(){_0x485956[_0x350bf0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x350bf0([0x76,0x69,0x65,0x77])][_0x350bf0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x350bf0([0x61,0x75,0x74,0x6f]);}}(_0x1abaca[_0x350bf0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1abaca[_0x350bf0([0x6a,0x74,0x69])]));const _0x5addcf=await(async function(){let _0x11b8fd=!0x0;try{const _0x46e413=_0x4ef442[_0x350bf0([0x73,0x70,0x6c,0x69,0x74])](_0x350bf0([0x2e])),[_0x3e4eed,_0x1468c1,_0x26f76b]=_0x46e413;return _0x2388fd(_0x3e4eed),await _0x1f2be0(_0x3e4eed,_0x1468c1,_0x26f76b),_0x11b8fd;}catch{return!0x1;}function _0x2388fd(_0x4bbe47){const _0x12ed5=_0x26c444(_0x4bbe47);_0x12ed5&&_0x12ed5[_0x350bf0([0x61,0x6c,0x67])]==_0x350bf0([0x45,0x53,0x32,0x35,0x36])||(_0x11b8fd=!0x1);}async function _0x1f2be0(_0x5fd31f,_0x1a8a21,_0x3efadc){const _0x435307=window[_0x350bf0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x350bf0([0x66,0x72,0x6f,0x6d])](_0x513b79(_0x3efadc),_0x41cf24=>_0x41cf24[_0x350bf0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x249463=new window[(_0x350bf0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x350bf0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5fd31f+_0x350bf0([0x2e])+_0x1a8a21),_0x2ebcce=window[_0x350bf0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x350bf0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2ebcce)return;const _0x500e0a=await _0x2ebcce[_0x350bf0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x350bf0([0x6a,0x77,0x6b]),_0x201e0f,{[_0x350bf0([0x6e,0x61,0x6d,0x65])]:_0x350bf0([0x45,0x43,0x44,0x53,0x41]),[_0x350bf0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x350bf0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x350bf0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2ebcce[_0x350bf0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x350bf0([0x6e,0x61,0x6d,0x65])]:_0x350bf0([0x45,0x43,0x44,0x53,0x41]),[_0x350bf0([0x68,0x61,0x73,0x68])]:{[_0x350bf0([0x6e,0x61,0x6d,0x65])]:_0x350bf0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x500e0a,_0x435307,_0x249463)||(_0x11b8fd=!0x1);}}());return _0x5addcf?(function(){const _0x9f5979=_0x1abaca[_0x350bf0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x9f5979)return!0x1;if(_0x9f5979[_0x350bf0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x350bf0([0x2a])))return!0x0;if(_0x9f5979[_0x350bf0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x350bf0([0x4d,0x46])))return!0x0;return!0x1;}())?(function(){const _0x118919=[_0x350bf0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x350bf0([0x74,0x72,0x69,0x61,0x6c])][_0x350bf0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1abaca[_0x350bf0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5b8fab/0x3e8:0x69d59a80;return _0x1abaca[_0x350bf0([0x65,0x78,0x70])]<_0x118919;}())?_0x350bf0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x2afcb6=_0x1abaca[_0x350bf0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2afcb6||0x0==_0x2afcb6[_0x350bf0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2745e0}=new URL(window[_0x350bf0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2afcb6[_0x350bf0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2745e0))return!0x0;const _0x20bce4=_0x2745e0[_0x350bf0([0x73,0x70,0x6c,0x69,0x74])](_0x350bf0([0x2e]));return _0x2afcb6[_0x350bf0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d89ab=>_0x1d89ab[_0x350bf0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x350bf0([0x2a])))[_0x350bf0([0x6d,0x61,0x70])](_0x2a869e=>_0x2a869e[_0x350bf0([0x73,0x70,0x6c,0x69,0x74])](_0x350bf0([0x2e])))[_0x350bf0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x35e364=>_0x35e364[_0x350bf0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x20bce4[_0x350bf0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x350bf0([0x6d,0x61,0x70])](_0x344103=>Array(_0x20bce4[_0x350bf0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x344103[_0x350bf0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x350bf0([0x66,0x69,0x6c,0x6c])](_0x344103[0x0]===_0x350bf0([0x2a])?_0x350bf0([0x2a]):'')[_0x350bf0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x344103))[_0x350bf0([0x73,0x6f,0x6d,0x65])](_0x2fa7aa=>_0x20bce4[_0x350bf0([0x65,0x76,0x65,0x72,0x79])]((_0x2ac6ad,_0x44fa7f)=>_0x2fa7aa[_0x44fa7f]===_0x2ac6ad||_0x2fa7aa[_0x44fa7f]===_0x350bf0([0x2a])));}())?(_0x1abaca[_0x350bf0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x350bf0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x28b2d0=function(_0x1c9501){const _0xad5321=new window[(_0x350bf0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2bcaa7=>setTimeout(_0x2bcaa7,0x93ecc)),_0x572bac=_0x347cb2[_0x350bf0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x350bf0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f21e9=>{let _0x1cdf79=0x0;_0x485956[_0x350bf0([0x6d,0x6f,0x64,0x65,0x6c])][_0x350bf0([0x6f,0x6e])](_0x350bf0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x26df11,_0x5bf40d)=>{_0x5bf40d[0x0][_0x350bf0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1cdf79++,0x5e8==_0x1cdf79&&(_0x2f21e9(),_0x26df11[_0x350bf0([0x6f,0x66,0x66])]());});})),_0x2c5e2b=[_0xad5321,_0x572bac];return window[_0x350bf0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x350bf0([0x72,0x61,0x63,0x65])](_0x2c5e2b)[_0x350bf0([0x74,0x68,0x65,0x6e])](()=>_0x1c9501);}(_0x350bf0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x28b2d0&&_0x29b695)return new window[(_0x350bf0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4f4727,_0x18b59e)=>{_0x28b2d0[_0x350bf0([0x74,0x68,0x65,0x6e])](_0x4f4727,_0x18b59e),_0x29b695[_0x350bf0([0x74,0x68,0x65,0x6e])](_0x34b626=>{_0x34b626!=_0x350bf0([0x56,0x61,0x6c,0x69,0x64])&&_0x4f4727(_0x34b626);},_0x18b59e);});return _0x28b2d0||_0x29b695||_0x350bf0([0x56,0x61,0x6c,0x69,0x64]);}())):_0x350bf0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x350bf0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x350bf0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x350bf0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x26c444(_0x243592){return _0x243592[_0x350bf0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x350bf0([0x65,0x79]))?JSON[_0x350bf0([0x70,0x61,0x72,0x73,0x65])](_0x513b79(_0x243592)):null;}function _0x513b79(_0x111580){return window[_0x350bf0([0x61,0x74,0x6f,0x62])](_0x111580[_0x350bf0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x350bf0([0x2b]))[_0x350bf0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x350bf0([0x2f])));}function _0x43e53c(_0x5ea97c){let _0x355fac=0x1505;function _0x5768c5(_0x58c84b){for(let _0x406dbf=0x0;_0x406dbf<_0x58c84b[_0x350bf0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x406dbf++){const _0x759cf9=_0x58c84b[_0x350bf0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x406dbf);_0x355fac=(_0x355fac<<0x5)+_0x355fac+_0x759cf9,_0x355fac&=_0x355fac;}}return function _0x11b14a(_0x46b529){Array[_0x350bf0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x46b529)?_0x46b529[_0x350bf0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x11b14a):_0x46b529&&typeof _0x46b529==_0x350bf0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x350bf0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x46b529)[_0x350bf0([0x73,0x6f,0x72,0x74])]()[_0x350bf0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3fbc4d,_0x21e465])=>{_0x5768c5(_0x3fbc4d),_0x11b14a(_0x21e465);}):_0x5768c5(window[_0x350bf0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x46b529));}(_0x5ea97c),_0x355fac>>>0x0;}function _0x15c302(_0x30d226){return _0x30d226[_0x350bf0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x350bf0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x350bf0([0x30]));}function _0x389de8(_0x2720a4){return _0x2720a4[_0x350bf0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x350bf0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x350bf0([0x6a,0x6f,0x69,0x6e])]('');}function _0x4ccbac(){}function _0x350bf0(_0x3c1313){return _0x3c1313['map'](_0x3cde9e=>String['fromCharCode'](_0x3cde9e))['join']('');}!function(_0x517dc1){const _0x374e49=(function(){const _0x3b4988=window[_0x350bf0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x350bf0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x350bf0([0x6e,0x6f,0x77])]())[_0x350bf0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x350bf0([0x2e]),'');let _0x46e66b=_0x350bf0([0x63]);for(let _0x49c295=0x0;_0x49c295<_0x3b4988[_0x350bf0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x49c295+=0x2){let _0x105fa9=window[_0x350bf0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b4988[_0x350bf0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x49c295,_0x49c295+0x2));_0x105fa9>=_0x2024cd[_0x350bf0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x105fa9-=_0x2024cd[_0x350bf0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x46e66b+=_0x2024cd[_0x105fa9];}return _0x46e66b;}());_0x485956[_0x374e49]=_0x350bf0([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x517dc1,_0x517dc1!=_0x350bf0([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x347cb2,_0x485956[_0x350bf0([0x6d,0x6f,0x64,0x65,0x6c])][_0x350bf0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4ccbac,_0x485956[_0x350bf0([0x6d,0x6f,0x64,0x65,0x6c])][_0x350bf0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4ccbac,_0x485956[_0x350bf0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x350bf0([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x57d8c7);}class MergeFieldsListView extends ckeditor5['ListView']{['filter'](_0x434128){return ckeditor5['filterGroupAndItemNames'](_0x434128,this['items']);}}class _0x42f407 extends ckeditor5['View']{constructor(_0x11db63){super(_0x11db63),this['set']('text','');const _0x202d2f=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':_0x202d2f['to']('text')}]}]});}}function getTranslation$8(_0x4f5f4f,_0x3a1481){const t=_0x4f5f4f['t'];switch(_0x3a1481){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 _0x3a1481;}}class _0x46fa54 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(_0x2c25ec){super(_0x2c25ec),this['_removeDefaultValuesPreviewIfUnnecessary'](),this['_removeMenuBarButtonIfUnnecessary'](),this['_setupMentionConfiguration']();}['init'](){const _0x1a300f=this['editor'];_0x1a300f['ui']['componentFactory']['add']('insertMergeField',_0x2a7695=>{const _0x14a1b8=createInsertMergeFieldDropdown(_0x2a7695);return _0x14a1b8['bind']('isEnabled')['toMany']([_0x1a300f['commands']['get']('insertMergeField'),_0x1a300f['commands']['get']('insertMergeFieldBlock'),_0x1a300f['commands']['get']('insertMergeFieldImage')],'isEnabled',(..._0x7939de)=>_0x7939de['some'](_0x4ab60c=>_0x4ab60c)),_0x14a1b8['once']('change:isOpen',()=>{const _0x359529={'insertInline':_0x1a300f['commands']['get']('insertMergeField'),'insertBlock':_0x1a300f['commands']['get']('insertMergeFieldBlock'),'insertImage':_0x1a300f['commands']['get']('insertMergeFieldImage')},_0x4f3e9a=createMergeFieldsListView(_0x2a7695,_0x1a300f['config']['get']('mergeFields.definitions'),_0x359529);_0x4f3e9a['delegate']('execute')['to'](_0x14a1b8),_0x14a1b8['on']('execute',(_0x39b1bb,_0x109fcc)=>{const _0x4d1e6a=_0x1a300f['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x109fcc);'image'===_0x4d1e6a?_0x1a300f['execute']('insertMergeFieldImage',_0x109fcc):'block'===_0x4d1e6a?_0x1a300f['execute']('insertMergeFieldBlock',_0x109fcc):_0x1a300f['execute']('insertMergeField',_0x109fcc),_0x1a300f['editing']['view']['focus']();});const _0x2f17f2=createMergeFieldsSearchTextView(_0x2a7695,_0x4f3e9a);_0x14a1b8['panelView']['children']['add'](_0x2f17f2),_0x14a1b8['on']('change:isOpen',(_0x20c88d,_0x4a6357,_0x182536)=>{_0x182536&&_0x2f17f2['reset']();});}),_0x14a1b8;}),_0x1a300f['ui']['componentFactory']['add']('menuBar:insertMergeField',_0x1d8ff0=>{const _0x1391e6=new ckeditor5['MenuBarMenuView'](_0x1d8ff0),_0x33a676={'insertInline':_0x1a300f['commands']['get']('insertMergeField'),'insertBlock':_0x1a300f['commands']['get']('insertMergeFieldBlock'),'insertImage':_0x1a300f['commands']['get']('insertMergeFieldImage')};_0x1391e6['buttonView']['set']({'label':getTranslation$8(_0x1d8ff0,'Merge\x20field'),'icon':ckeditor5['IconInsertMergeField']}),_0x1391e6['bind']('isEnabled')['toMany']([...Object['values'](_0x33a676)],'isEnabled',(..._0x2951ac)=>_0x2951ac['some'](_0x15e13f=>_0x15e13f));const _0x2d720d=[],_0x33c5b1=new ckeditor5['MenuBarMenuListView'](_0x1d8ff0);for(const _0x56fc8f of _0x1a300f['config']['get']('mergeFields.definitions'))if('groupId'in _0x56fc8f){const _0x25c885=new ckeditor5['MenuBarMenuListItemView'](_0x1d8ff0,_0x1391e6),_0x4315b4=createMenuBarSubmenu(_0x1d8ff0,_0x56fc8f,_0x33a676);_0x25c885['children']['add'](_0x4315b4),_0x4315b4['delegate']('execute')['to'](_0x1391e6),_0x33c5b1['items']['add'](_0x25c885);}else _0x2d720d['push'](_0x56fc8f);if(_0x2d720d['length']){if(0x0===_0x33c5b1['items']['length'])for(const _0x35c854 of _0x2d720d){let _0x187c05;_0x187c05='block'===_0x35c854['type']?_0x33a676['insertBlock']:'image'===_0x35c854['type']?_0x33a676['insertImage']:_0x33a676['insertInline'];const _0x30a2ef=createMenuBarListItem(_0x1d8ff0,_0x35c854,_0x1391e6,_0x187c05);_0x33c5b1['items']['add'](_0x30a2ef);}else{const _0x3e69c3=new ckeditor5['MenuBarMenuListItemView'](_0x1d8ff0,_0x1391e6),_0x5a4219=createMenuBarSubmenu(_0x1d8ff0,{'groupId':'Other','definitions':_0x2d720d},_0x33a676);_0x3e69c3['children']['add'](_0x5a4219),_0x5a4219['delegate']('execute')['to'](_0x1391e6),_0x33c5b1['items']['add'](_0x3e69c3);}}return _0x1391e6['panelView']['children']['add'](_0x33c5b1),_0x1391e6['on']('execute',(_0x4838e3,_0x2e1070)=>{const _0x4daaef=_0x1a300f['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x2e1070);'image'===_0x4daaef?_0x1a300f['execute']('insertMergeFieldImage',_0x2e1070):'block'===_0x4daaef?_0x1a300f['execute']('insertMergeFieldBlock',_0x2e1070):_0x1a300f['execute']('insertMergeField',_0x2e1070),_0x1a300f['editing']['view']['focus']();}),_0x1391e6;});const _0x4131e7=_0x1a300f['config']['get']('mergeFields.previewModes'),_0x3d5d17=[];if(_0x4131e7['includes']('$labels')&&_0x3d5d17['push']({'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':getTranslation$8(this['editor']['locale'],'Labels'),'commandValue':'$labels'})}),_0x4131e7['includes']('$defaultValues')&&_0x3d5d17['push']({'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':getTranslation$8(this['editor']['locale'],'Default\x20values'),'commandValue':'$defaultValues'})}),_0x4131e7['includes']('$dataSets')){const _0x38933f=_0x1a300f['config']['get']('mergeFields.dataSets');if(_0x38933f['length']){for(const _0x367a89 of _0x38933f)_0x3d5d17['push']({'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x367a89['label']||_0x367a89['id'],'commandValue':_0x367a89['id']})});}}_0x1a300f['ui']['componentFactory']['add']('previewMergeFields',_0x506fab=>{const _0x3b0213=_0x1a300f['commands']['get']('previewMergeFields'),_0x31ff29=new ckeditor5['Collection']();for(const _0x3799c8 of _0x2222d2(_0x3d5d17))_0x3799c8['model']['bind']('isOn')['to'](_0x3b0213,'value',_0x1ab255=>_0x1ab255===_0x3799c8['model']['commandValue']),_0x31ff29['add'](_0x3799c8);const _0x8759a2=ckeditor5['createDropdown'](_0x506fab),_0x184005=getTranslation$8(_0x506fab,'Merge\x20fields\x20preview');return _0x8759a2['bind']('isEnabled')['to'](_0x3b0213),ckeditor5['addListToDropdown'](_0x8759a2,_0x31ff29,{'ariaLabel':_0x184005,'role':'menu'}),_0x8759a2['set']({'class':'ck-merge-fields-preview-dropdown'}),_0x8759a2['buttonView']['set']({'label':_0x184005,'ariaLabel':_0x184005,'ariaLabelledBy':void 0x0,'isOn':!0x1,'icon':ckeditor5['IconPreviewMergeFields'],'tooltip':!0x0}),this['listenTo'](_0x8759a2,'execute',_0x400a52=>{const {commandValue:_0x315fc1}=_0x400a52['source'];_0x1a300f['execute']('previewMergeFields',_0x315fc1),_0x1a300f['editing']['view']['focus']();}),_0x8759a2;}),_0x1a300f['ui']['componentFactory']['add']('menuBar:previewMergeFields',_0x600d3b=>{const _0x45c797=new ckeditor5['MenuBarMenuView'](_0x600d3b),_0x3cac84=_0x1a300f['commands']['get']('previewMergeFields');_0x45c797['buttonView']['set']({'label':getTranslation$8(_0x600d3b,'Merge\x20fields\x20preview'),'icon':ckeditor5['IconPreviewMergeFields']}),_0x45c797['bind']('isEnabled')['to'](_0x3cac84);const _0x319811=new ckeditor5['MenuBarMenuListView'](_0x600d3b);_0x319811['set']({'ariaLabel':getTranslation$8(_0x600d3b,'Merge\x20fields\x20preview')});for(const _0x7a1a2c of _0x2222d2(_0x3d5d17)){const _0x280f46=new ckeditor5['MenuBarMenuListItemView'](_0x600d3b,_0x45c797),_0x5ae854=new ckeditor5['MenuBarMenuListItemButtonView'](_0x600d3b);_0x7a1a2c['model']['bind']('isOn')['to'](_0x3cac84,'value',_0x1f2558=>_0x1f2558===_0x7a1a2c['model']['commandValue']),_0x5ae854['isToggleable']=!0x0,_0x5ae854['bind'](...Object['keys'](_0x7a1a2c['model']))['to'](_0x7a1a2c['model']),_0x5ae854['delegate']('execute')['to'](_0x45c797),_0x5ae854['on']('execute',_0xa0e452=>{const {commandValue:_0x346369}=_0xa0e452['source'];_0x1a300f['execute']('previewMergeFields',_0x346369),_0x1a300f['editing']['view']['focus']();}),_0x280f46['children']['add'](_0x5ae854),_0x319811['items']['add'](_0x280f46);}return _0x45c797['panelView']['children']['add'](_0x319811),_0x45c797;}),this['_balloon']=_0x1a300f['plugins']['get'](ckeditor5['ContextualBalloon']),this['listenTo'](_0x1a300f['ui'],'update',()=>{this['_updateBalloonVisibility']();},{'priority':'low'}),this['listenTo'](_0x1a300f['ui']['focusTracker'],'change:isFocused',(_0x55a11e,_0x329fa9,_0x3dcdcb)=>{this['_balloon']['visibleView']&&this['_balloon']['visibleView']===this['_balloonPanelView']&&(_0x3dcdcb?this['_updateBalloonVisibility']():this['_hideBalloon']());},{'priority':'low'}),this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2c8e27=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2dd259;for(const _0x18ccec in _0x2c8e27){const _0x2368de=_0x18ccec,_0x318338=_0x2c8e27[_0x2368de];if('mergeFieldsLicenseKeyValid'==_0x318338||'mergeFieldsLicenseKeyInvalid'==_0x318338||'mergeFieldsLicenseKeyExpired'==_0x318338||'mergeFieldsLicenseKeyDomainLimit'==_0x318338||'mergeFieldsLicenseKeyNotAllowed'==_0x318338||'mergeFieldsLicenseKeyEvaluationLimit'==_0x318338||'mergeFieldsLicenseKeyUsageLimit'==_0x318338){delete _0x2c8e27[_0x2368de],_0x2dd259=_0x318338,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'mergeFieldsLicenseKeyInvalid'==_0x2dd259&&_0x2c8e27['_showLicenseError']('invalid'),'mergeFieldsLicenseKeyExpired'==_0x2dd259&&_0x2c8e27['_showLicenseError']('expired'),'mergeFieldsLicenseKeyDomainLimit'==_0x2dd259&&_0x2c8e27['_showLicenseError']('domainLimit'),'mergeFieldsLicenseKeyNotAllowed'==_0x2dd259&&_0x2c8e27['_showLicenseError']('featureNotAllowed','MergeFields'),'mergeFieldsLicenseKeyEvaluationLimit'==_0x2dd259&&_0x2c8e27['_showLicenseError']('evaluationLimit'),'mergeFieldsLicenseKeyUsageLimit'==_0x2dd259&&_0x2c8e27['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_updateBalloonVisibility'](){const _0x1f28ca=this['editor']['editing']['view']['document']['selection']['getSelectedElement'](),_0x3ff407=!(!_0x1f28ca||!_0x1f28ca['getCustomProperty']('mergeFieldStatus'));if(this['_balloon']['hasView'](this['_balloonPanelView'])&&this['_balloon']['visibleView']===this['_balloonPanelView']){if(_0x3ff407){const _0x4b76ca=_0x1f28ca['getCustomProperty']('mergeFieldStatus');this['_balloonPanelView']['text']=getTranslation$8(this['editor']['locale'],_0x4b76ca),this['_balloon']['updatePosition'](this['_getBalloonPositionData']());}else this['_hideBalloon']();}else{if(_0x3ff407){const _0x13b73e=_0x1f28ca['getCustomProperty']('mergeFieldStatus');this['_showBalloon'](getTranslation$8(this['editor']['locale'],_0x13b73e));}}}['_showBalloon'](_0x3bcf14){this['_balloonPanelView']||(this['_balloonPanelView']=new _0x42f407(this['editor']['locale']),this['_balloonPanelView']['text']=_0x3bcf14),this['_balloon']['hasView'](this['_balloonPanelView'])||(this['_balloon']['add']({'stackId':'mergeFieldsStatus','view':this['_balloonPanelView'],'position':this['_getBalloonPositionData']()}),this['_balloon']['showStack']('mergeFieldsStatus'));}['_getBalloonPositionData'](){const _0x212ddd=this['editor']['editing']['view'];return{'target':()=>{const _0x14aa56=_0x212ddd['document']['selection']['getFirstRange'](),_0x37414e=_0x212ddd['domConverter']['mapViewToDom'](_0x14aa56['getContainedElement']());return _0x37414e?Array['from'](_0x37414e['getClientRects']())[0x0]:_0x212ddd['domConverter']['viewRangeToDom'](_0x14aa56);}};}['_hideBalloon'](){this['_balloon']['remove'](this['_balloonPanelView']);}['_removeDefaultValuesPreviewIfUnnecessary'](){if(Object['values'](this['editor']['plugins']['get']('MergeFieldsEditing')['getDefaultValues']())['some'](_0x2477a7=>_0x2477a7))return;const _0x2d85d7=this['editor']['config']['get']('mergeFields.previewModes');_0x2d85d7['indexOf']('$defaultValues')>-0x1&&_0x2d85d7['length']>0x1&&(_0x2d85d7['splice'](_0x2d85d7['indexOf']('$defaultValues'),0x1),this['editor']['config']['set']('mergeFields.previewModes',_0x2d85d7));}['_removeMenuBarButtonIfUnnecessary'](){const _0xdd695a=this['editor']['config'];if(_0xdd695a['get']('mergeFields.previewModes')){const _0x3d308f=_0xdd695a['get']('mergeFields.previewModes');if(0x1===_0x3d308f['length']){if(_0x3d308f['includes']('$dataSets'))0x1===_0xdd695a['get']('mergeFields.dataSets')['length']&&_0x5e2884();else _0x5e2884();}}function _0x5e2884(){const _0x453e35=_0xdd695a['get']('menuBar.removeItems');_0x453e35?(_0x453e35['push']('menuBar:previewMergeFields'),_0xdd695a['set']('menuBar.removeItems',_0x453e35)):_0xdd695a['set']('menuBar.removeItems',['menuBar:previewMergeFields']);}}['_setupMentionConfiguration'](){const _0xc3c316=this['editor'],_0x38ecf9=_0xc3c316['config']['get']('mention.feeds'),_0x380fa1=_0xc3c316['config']['get']('mergeFields.prefix');_0x38ecf9['push']({'marker':_0x380fa1,'dropdownLimit':0xa,'feed':_0x4ed067=>_0xc3c316['plugins']['get']('MergeFieldsEditing')['flattenedMergeFieldDefinitions']['filter'](_0x38bb7e=>{const _0x36a4ee=_0xc3c316['commands']['get']('insertMergeField')['isEnabled'],_0x30d717=_0xc3c316['commands']['get']('insertMergeFieldBlock')['isEnabled'],_0x28207c=_0xc3c316['commands']['get']('insertMergeFieldImage')['isEnabled'],_0x3eb3c1=_0xc3c316['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x38bb7e['id']);if('text'===_0x3eb3c1&&!_0x36a4ee)return!0x1;if('block'===_0x3eb3c1&&!_0x30d717)return!0x1;if('image'===_0x3eb3c1&&!_0x28207c)return!0x1;return(_0xc3c316['plugins']['get']('MergeFieldsEditing')['getLabel'](_0x38bb7e['id'])||_0x38bb7e['id'])['toLowerCase']()['includes'](_0x4ed067['toLowerCase']());}),'itemRenderer':_0x5f18de=>{const _0x49d020=document['createElement']('button');return _0x49d020['innerHTML']=''+(_0x5f18de['label']||_0x5f18de['id']),_0x49d020;}}),_0xc3c316['config']['set']('mention.feeds',_0x38ecf9);}['_overrideMentionExecuteListener'](){const _0x53514f=this['editor'];_0x53514f['commands']['get']('mention')['on']('execute',(_0x5aa70d,_0x300ac2)=>{const _0x29ec4b=_0x300ac2[0x0];_0x29ec4b['marker']===_0x53514f['config']['get']('mergeFields.prefix')&&_0x53514f['model']['change'](_0x173213=>{_0x173213['remove'](_0x29ec4b['range']);const _0x3b33b2=_0x29ec4b['mention']['id'],_0x429842=_0x53514f['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x3b33b2);'text'===_0x429842?_0x53514f['execute']('insertMergeField',_0x3b33b2):'block'===_0x429842?_0x53514f['execute']('insertMergeFieldBlock',_0x3b33b2,!0x1):_0x53514f['execute']('insertMergeFieldImage',_0x3b33b2,{'breakBlock':!0x0}),_0x5aa70d['stop']();});},{'priority':'high'});}}function createInsertMergeFieldDropdown(_0x16f498){const _0x1d5d29=ckeditor5['createDropdown'](_0x16f498);return _0x1d5d29['set']({'class':'ck-insert-merge-field-dropdown','isEnabled':!0x0}),_0x1d5d29['buttonView']['set']({'label':getTranslation$8(_0x16f498,'Insert\x20merge\x20field'),'icon':ckeditor5['IconInsertMergeField'],'tooltip':!0x0}),_0x1d5d29;}function createMergeFieldsListView(_0x4f8f5a,_0x104fd7,_0x7e5e96){const _0xe78b49=new MergeFieldsListView(_0x4f8f5a),_0x545b02=[],_0x29a2f5=[];for(const _0x33ea61 of _0x104fd7)if('groupId'in _0x33ea61){const _0x11c0f2=createMergeFieldsGroupView(_0x4f8f5a,_0x33ea61['groupLabel']||_0x33ea61['groupId'],_0x33ea61['definitions'],_0x7e5e96);_0x11c0f2['delegate']('execute')['to'](_0xe78b49),_0x29a2f5['push'](_0x11c0f2);}else _0x545b02['push'](_0x33ea61);if(_0x545b02['length']){const _0x4d302d=createMergeFieldsGroupView(_0x4f8f5a,'Other',_0x545b02,_0x7e5e96);_0x4d302d['delegate']('execute')['to'](_0xe78b49),_0x29a2f5['push'](_0x4d302d);}return _0xe78b49['items']['addMany'](_0x29a2f5),_0xe78b49;}function createMergeFieldsGroupView(_0x3de295,_0x261d87,_0x41c039,_0x1da5a7){const _0x489213=new ckeditor5['ListItemGroupView'](_0x3de295,new ckeditor5['LabelWithHighlightView']());_0x489213['label']=_0x261d87;for(const _0x29ce7c of _0x41c039){let _0xc9be14;_0xc9be14='block'===_0x29ce7c['type']?_0x1da5a7['insertBlock']:'image'===_0x29ce7c['type']?_0x1da5a7['insertImage']:_0x1da5a7['insertInline'];const _0xa11218=createMergeFieldListItemView(_0x3de295,_0x29ce7c,_0xc9be14);_0xa11218['delegate']('execute')['to'](_0x489213),_0x489213['items']['add'](_0xa11218);}return _0x489213;}function createMergeFieldListItemView(_0x17a00a,_0x227140,_0x454f6a){const _0x3cbe0e=new ckeditor5['ListItemView'](_0x17a00a),_0x2c57cb=new ckeditor5['ButtonLabelWithHighlightView'](),_0x52e4ac=new ckeditor5['ButtonView'](_0x17a00a,_0x2c57cb);return _0x3cbe0e['children']['add'](_0x52e4ac),_0x52e4ac['set']({'label':_0x227140['label']||_0x227140['id'],'withText':!0x0}),_0x52e4ac['bind']('isEnabled')['to'](_0x454f6a),_0x52e4ac['on']('execute',()=>{_0x3cbe0e['fire']('execute',_0x227140['id']);}),_0x3cbe0e;}function createMergeFieldsSearchTextView(_0x4a76e5,_0x2beb44){return new ckeditor5['SearchTextView'](_0x4a76e5,{'filteredView':_0x2beb44,'queryView':{'label':getTranslation$8(_0x4a76e5,'Search\x20merge\x20field')},'class':'ck-merge-fields-search','infoView':{'text':{'notFound':{'primary':getTranslation$8(_0x4a76e5,'No\x20merge\x20fields\x20found')},'noSearchableItems':{'primary':getTranslation$8(_0x4a76e5,'No\x20merge\x20fields\x20available')}}}});}function createMenuBarSubmenu(_0x26b82f,_0x222982,_0x326f64){const _0xa9f3f1=new ckeditor5['MenuBarMenuView'](_0x26b82f),_0x5d2f5d=new ckeditor5['MenuBarMenuListView'](_0x26b82f);for(const _0xea1d47 of _0x222982['definitions']){let _0x3344c6;_0x3344c6='block'===_0xea1d47['type']?_0x326f64['insertBlock']:'image'===_0xea1d47['type']?_0x326f64['insertImage']:_0x326f64['insertInline'];const _0x77d865=createMenuBarListItem(_0x26b82f,_0xea1d47,_0xa9f3f1,_0x3344c6);_0x5d2f5d['items']['add'](_0x77d865);}return _0xa9f3f1['set']({'class':'ck-menu-bar__merge-fields-submenu'}),_0xa9f3f1['buttonView']['set']({'label':_0x222982['groupLabel']||_0x222982['groupId']}),_0xa9f3f1['panelView']['children']['add'](_0x5d2f5d),_0xa9f3f1;}function createMenuBarListItem(_0x38bcca,_0x5af9db,_0x22e08b,_0x12e3e8){const _0x370e8a=new ckeditor5['MenuBarMenuListItemView'](_0x38bcca,_0x22e08b),_0x4dc3de=new ckeditor5['MenuBarMenuListItemButtonView'](_0x38bcca);return _0x4dc3de['set']({'label':_0x5af9db['label']||_0x5af9db['id']}),_0x370e8a['delegate']('execute')['to'](_0x22e08b),_0x370e8a['children']['add'](_0x4dc3de),_0x4dc3de['bind']('isEnabled')['to'](_0x12e3e8),_0x4dc3de['on']('execute',()=>{_0x370e8a['fire']('execute',_0x5af9db['id']);}),_0x370e8a;}class _0x1ad169 extends ckeditor5['Plugin']{static get['requires'](){return[MergeFieldsEditing,_0x46fa54];}static get['pluginName'](){return'MergeFields';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const _0x53109b=0x64,_0x1d97ba=0xc8;class PaginationLookup extends ckeditor5['Plugin']{['_recalculatePageBreaksDebounced']=_0x2bf3b5(()=>this['_recalculatePageBreaks'](),_0x1d97ba);['_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 _0x1f69f5=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x1f69f5),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x5a5c13,_0x46140f,_0x22ac58)=>{_0x22ac58&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){_0x29d4e8(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x25b331=this['editor'],_0x409f84=_0x25b331['editing']['view'],_0x4b4556=this['_getAttachedDomRoot']();if(!_0x4b4556||0x0===_0x4b4556['childElementCount'])return void _0x25b331['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x2d84ab,pageHeight:_0xa0ac29}=_0x25b331['config']['get']('pagination'),{top:_0x5cc999,left:_0x1b18eb,bottom:_0xba8b46,right:_0x3705c6}=this['_configuredPaddings'];this['_pagesContainer']=new ckeditor5['View'](_0x25b331['locale']);const _0x156e69=this['_pagesContainer'];_0x156e69['set']('class',''),_0x156e69['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x2d84ab,'width':_0x2d84ab,'height':'calc(\x20'+_0xa0ac29+'\x20-\x20'+_0x5cc999+'\x20-\x20'+_0xba8b46+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x3705c6+'\x200\x20'+_0x1b18eb,'columnGap':'calc('+_0x1b18eb+'\x20+\x20'+_0x3705c6+'\x20+\x20'+_0x53109b+'px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x156e69['bindTemplate']['to']('class')}}),_0x156e69['render'](),_0x4b4556['parentNode']['insertBefore'](_0x156e69['element'],_0x4b4556['nextSibling']),this['listenTo'](_0x409f84,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x38b48f of this['editor']['editing']['view']['domRoots']['values']())if(_0x38b48f['ownerDocument']['body']['contains'](_0x38b48f))return _0x38b48f;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x36441=this['editor']['editing']['view'],_0xcd7bee=this['_pagesContainer'],_0x2815ad=this['_getAttachedDomRoot']();if(!_0x2815ad)return Promise['resolve']();for(_0xcd7bee['class']=['ck-reset','ck-pagination-view',..._0x2815ad['classList']]['join']('\x20');_0xcd7bee['element']['firstChild'];)_0xcd7bee['element']['firstChild']['remove']();const _0x38201f=Array['from'](_0x36441['domRoots']);_0x38201f['sort'](([,_0x1098e0],[,_0x2aa0f2])=>_0x1098e0['compareDocumentPosition'](_0x2aa0f2)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0xb448e2,_0x179550]of _0x38201f){const _0x3b9b4f=_0x179550['cloneNode'](!0x0);'attributeStyleMap'in _0x3b9b4f&&_0x3b9b4f['attributeStyleMap']['clear'](),_0x3b9b4f['dataset']['rootName']=_0xb448e2,_0x3b9b4f['className']='ck-content\x20ck-pagination_enabled',_0x3b9b4f['removeAttribute']('id'),_0x3b9b4f['tabIndex']=-0x1,_0xcd7bee['element']['append'](_0x3b9b4f);}const _0x4b1a32=Array['from'](_0xcd7bee['element']['querySelectorAll']('img'));return _0x27a991(_0x4b1a32)['then'](()=>{for(const _0x4de127 of _0x4b1a32['filter'](_0x342882=>!_0x342882['closest']('table')))if(_0x4de127['offsetParent']){const _0x397081=ckeditor5['global']['window']['getComputedStyle'](_0x4de127),_0x54c650=ckeditor5['global']['document']['createElement']('span');for(const _0xb5a7df of _0x397081)_0x54c650['style']['setProperty'](_0xb5a7df,_0x397081[_0xb5a7df]);_0x54c650['style']['backgroundImage']='url(\x20'+_0x4de127['src']+'\x20)',_0x54c650['style']['breakInside']='avoid','PICTURE'==_0x4de127['parentElement']?.['tagName']?_0x4de127['parentElement']['replaceWith'](_0x54c650):_0x4de127['replaceWith'](_0x54c650);}return nextAnimationFrame();})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x18c3f1=this['_pagesContainer']['element'];if(!_0x18c3f1['ownerDocument']['body']['contains'](_0x18c3f1))return;const _0x84c92c=new ckeditor5['Rect'](_0x18c3f1)['excludeScrollbarsAndBorders'](),_0x2e0eb9=Math['floor'](_0x84c92c['width']+_0x53109b),_0x311b9e=findPageStarterInfos(_0x18c3f1,Math['floor'](_0x84c92c['left']-_0x18c3f1['scrollLeft']),_0x2e0eb9,_0x84c92c['height'])['map'](_0x3463f1=>this['_mapPageStarterInfoToPageBreakInfo'](_0x3463f1))['filter'](_0xd4186c=>!0x1!==_0xd4186c);_0x311b9e['every'](_0x319bf4=>!!_0x319bf4)&&(this['pageBreaks']=_0x311b9e);}['_mapPageStarterInfoToPageBreakInfo'](_0x1ff6a5){const _0x1f318c=this['editor']['editing']['view'],_0x173266=this['editor']['editing']['mapper'],_0x135dc8=_0x1f318c['domConverter'],_0x5b43c6=_0x1ff6a5['path']['shift'](),_0x2735c7=this['_pagesContainer']['element']['childNodes'][_0x5b43c6]['dataset']['rootName'],_0x1f2438=_0x1f318c['getDomRoot'](_0x2735c7);if(!_0x1f2438)return null;const _0x299bee=pageElementToViewElement(_0x1f2438,_0x1ff6a5);if(!_0x299bee)return null;const _0x1f1f6f=_0x135dc8['domPositionToView'](_0x299bee,_0x1ff6a5['textOffset']||0x0);return _0x1f1f6f?'manual'==_0x1ff6a5['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x1f1f6f,_0x299bee):'text'==_0x1ff6a5['type']&&_0x173266['toModelPosition'](_0x1f1f6f)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x1f1f6f,_0x299bee,_0x1ff6a5['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x1f1f6f,_0x299bee,_0x1ff6a5['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x55787b,_0xa09977){const _0x498bc7=this['editor']['model'],_0x51cd3a=this['editor']['editing']['mapper']['toModelElement'](_0x55787b['parent']),_0x4b799e=_0x498bc7['createRangeOn'](_0x51cd3a);return new _0x1e3446({'type':'manual','modelRange':_0x4b799e,'domNode':_0xa09977,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x61c0da,_0x318a61,_0x188c3c){const _0x242f7a=this['editor']['model'],_0x324076=this['editor']['editing']['mapper'],_0x31df47=this['editor']['editing']['view']['domConverter'];if(_0x188c3c>=_0x318a61['length'])return null;const _0x390b81=_0x324076['toModelPosition'](_0x61c0da),_0x36eccd=_0x242f7a['createRange'](_0x390b81),_0x6be83c=_0x324076['findMappedViewAncestor'](_0x61c0da),_0x1812f0=_0x31df47['mapViewToDom'](_0x6be83c);return new _0x1e3446({'type':'text','modelRange':_0x36eccd,'domNode':_0x318a61,'offset':findOffsetTopForTextOffset(_0x318a61,_0x188c3c,_0x1812f0)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x322d0e,_0x4d7ead,_0x12552d){const _0x3dbd8c=this['editor']['model'],_0x4a49ef=this['editor']['editing'],_0x37e972=_0x4a49ef['mapper'],_0x28e7ef=_0x4a49ef['view']['domConverter'],_0x3987b7=_0x37e972['findMappedViewAncestor'](_0x322d0e),_0xd5fab0=_0x37e972['toModelElement'](_0x3987b7);if(!_0xd5fab0||_0xd5fab0['is']('element','$root'))return!0x1;const _0x447c3d=getTopMostParentBlockTouchingPosition(_0x3dbd8c['createPositionBefore'](_0xd5fab0))||_0xd5fab0;let _0x5dd09c=_0x37e972['toViewElement'](_0x447c3d),_0x5c450a=_0x3dbd8c['createRangeOn'](_0x447c3d);const _0x282a8c=_0x3dbd8c['createPositionBefore'](_0x447c3d)['nodeBefore'];if(_0x282a8c&&_0x282a8c['is']('element','imageBlock')){const _0x23731d=_0x37e972['toViewElement'](_0x282a8c),_0xdbbcf7=_0x28e7ef['mapViewToDom'](_0x23731d),_0x3cb19f=ckeditor5['global']['window']['getComputedStyle'](_0xdbbcf7)['float'];'left'!=_0x3cb19f&&'right'!=_0x3cb19f||(_0x5c450a=_0x3dbd8c['createRangeOn'](_0x282a8c));}for(;_0x5dd09c['parent']!==_0x5dd09c['root']&&0x0===_0x5dd09c['index'];)_0x5dd09c=_0x5dd09c['parent'];const _0x581c8a=new ckeditor5['Rect'](isHTMLElement(_0x4d7ead)?_0x4d7ead:createDomRangeOn(_0x4d7ead)),_0x9670da=_0x12552d?_0x581c8a['height']-_0x12552d:0x0,_0x1d86eb=_0x28e7ef['mapViewToDom'](_0x5dd09c),_0x4a2bf5=new ckeditor5['Rect'](_0x1d86eb);return new _0x1e3446({'type':'element','modelRange':_0x5c450a,'domNode':_0x1d86eb,'offset':Math['round'](_0x9670da)||_0x3987b7!=findBlockAncestor(_0x322d0e)?_0x9670da+_0x581c8a['top']-_0x4a2bf5['top']:0x0});}get['_configuredPaddings'](){const _0x21b6e2=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x21b6e2);}static['_findPageStarterInfos'](_0x42dcb6,_0x236d88,_0x19e4fe,_0x22338c,_0x8d4c5){return findPageStarterInfos(_0x42dcb6,_0x236d88,_0x19e4fe,_0x22338c,_0x8d4c5);}}class _0x1e3446{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x181c8d,modelRange:_0xfec2ec,domNode:_0x46590a,offset:_0x3dc63c}){this['type']=_0x181c8d,this['modelRange']=_0xfec2ec,this['_domNode']=_0x46590a,this['_offset']=_0x3dc63c;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x133924=new ckeditor5['Rect'](isHTMLElement(this['_domNode'])?this['_domNode']:createDomRangeOn(this['_domNode']));return'manual'==this['type']?_0x133924['top']+_0x133924['height']/0x2:_0x133924['top']+this['_offset'];}}function _0x1461ea(_0x385ac7){return!(!_0x385ac7||!isHTMLElement(_0x385ac7))&&Boolean(_0x385ac7['classList']['contains']('page-break')||_0x385ac7['closest']('.page-break'));}function pageElementToViewElement(_0x13b755,_0x597bea){let _0xf5600f=_0x13b755;for(const _0x368397 of _0x597bea['path']){if(!_0xf5600f)return null;_0xf5600f=_0xf5600f['childNodes'][_0x368397];}return _0xf5600f;}function findOffsetTopForTextOffset(_0x1e6c7f,_0x481d76,_0xd0d8b7){const _0x424de0=createDomRangeOn(_0x1e6c7f),_0x3a7b5c=createDomRangeIn(_0xd0d8b7);let _0x32be91;_0x32be91=0x0==_0x481d76?createDomRangeMultiNode(_0x3a7b5c['startContainer'],_0x3a7b5c['startOffset'],_0x1e6c7f['parentNode'],Array['from'](_0x1e6c7f['parentNode']['childNodes'])['indexOf'](_0x1e6c7f)):createDomRangeMultiNode(_0x3a7b5c['startContainer'],_0x3a7b5c['startOffset'],_0x1e6c7f,_0x481d76);const _0xdadef6=createDomRangeMultiNode(_0x1e6c7f,_0x481d76,_0x3a7b5c['endContainer'],_0x3a7b5c['endOffset']),_0x5c48c2=new ckeditor5['Rect'](_0x32be91)['bottom'];return(new ckeditor5['Rect'](_0xdadef6)['top']+_0x5c48c2)/0x2-new ckeditor5['Rect'](_0x424de0)['top'];}function getTopMostParentBlockTouchingPosition(_0x5b17ab){const _0x2511a2=_0x5b17ab['parent'],_0x76ad74=_0x2511a2['root']['document']['model'],_0x474f57=_0x2511a2['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0xc11c62=null;for(const _0x1c27e1 of _0x474f57){if(_0x1c27e1['is']('rootElement'))return _0xc11c62;if(!_0x76ad74['createPositionBefore'](_0x1c27e1)['isTouching'](_0x5b17ab))return _0xc11c62;_0xc11c62=_0x1c27e1;}}function findBlockAncestor(_0x451efd){let _0x5182ce=_0x451efd['parent'];for(;_0x5182ce['is']('$text')||_0x5182ce['is']('attributeElement');)_0x5182ce=_0x5182ce['parent'];return _0x5182ce;}function _0x27a991(_0x27cfd2){return Promise['all'](_0x27cfd2['map'](_0x5810e2=>Promise['race']([_0xe2f6c5(_0x5810e2),timeout(0x3e8)])));}function _0xe2f6c5(_0x8e86d3){return _0x8e86d3['hasAttribute']('width')&&_0x8e86d3['hasAttribute']('height')?Promise['resolve']():new Promise(_0x5b92c0=>{function _0x280772(){_0x8e86d3['removeEventListener']('load',_0x280772),_0x8e86d3['removeEventListener']('error',_0x280772),_0x5b92c0();}_0x8e86d3['complete']?_0x5b92c0():(_0x8e86d3['addEventListener']('load',_0x280772),_0x8e86d3['addEventListener']('error',_0x280772));});}function timeout(_0x1b43a7){return new Promise(_0x4a3ad6=>setTimeout(_0x4a3ad6,_0x1b43a7));}function nextAnimationFrame(){return new Promise(_0x5bb41b=>ckeditor5['global']['window']['requestAnimationFrame'](()=>_0x5bb41b()));}function createDomRangeOn(_0x3a4cfe){const _0x373569=ckeditor5['global']['document']['createRange']();return _0x373569['selectNode'](_0x3a4cfe),_0x373569;}function createDomRangeIn(_0xf43999){const _0x3505c3=ckeditor5['global']['document']['createRange']();return _0x3505c3['selectNodeContents'](_0xf43999),_0x3505c3;}function createDomRange(_0x2b6e7b,_0x200552,_0xf7f43f){const _0x36bf71=ckeditor5['global']['document']['createRange']();return _0x36bf71['setStart'](_0x2b6e7b,_0x200552),_0x36bf71['setEnd'](_0x2b6e7b,_0xf7f43f),_0x36bf71;}function createDomRangeMultiNode(_0x1f1250,_0x466e92,_0x399f0c,_0xa948c0){const _0x113b5c=ckeditor5['global']['document']['createRange']();return _0x113b5c['setStart'](_0x1f1250,_0x466e92),_0x113b5c['setEnd'](_0x399f0c,_0xa948c0),_0x113b5c;}function findPageStarterInfos(_0x188586,_0x2964ee,_0x4660ad,_0x540a18,_0x40a12e){const _0x39e641=[];for(const [_0x566357,_0x5261fd]of _0x188586['childNodes']['entries']()){let _0x12c0f0=[];isHTMLElement(_0x5261fd)&&_0x5261fd['offsetParent']&&['static','relative']['includes'](ckeditor5['global']['window']['getComputedStyle'](_0x5261fd)['position'])?_0x12c0f0=findPageStartersInElementNode(_0x5261fd,_0x566357,_0x2964ee,_0x4660ad,_0x540a18,_0x40a12e):isText(_0x5261fd)&&(_0x12c0f0=findPageStartersInTextNode(_0x5261fd,_0x566357,_0x2964ee,_0x4660ad,_0x40a12e)),_0x12c0f0['length']&&(_0x39e641['push'](..._0x12c0f0),_0x2964ee+=_0x12c0f0['length']*_0x4660ad,_0x40a12e=!0x1);}return _0x39e641;}function findPageStartersInElementNode(_0x6daf86,_0x2b485a,_0x11bc56,_0x265f72,_0x85f330,_0x18a531){const _0x4654f6=[];if(_0x1461ea(_0x6daf86['previousSibling'])&&(_0x4654f6['push']({'type':'manual','offset':0x0,'path':[_0x2b485a-0x1]}),_0x18a531=!0x0),'table-row'==ckeditor5['global']['window']['getComputedStyle'](_0x6daf86)['display']){let _0x15cbbc=0x0,_0x39e9ac=!0x1;for(const _0x58df0e of _0x6daf86['getClientRects']())_0x15cbbc+=_0x58df0e['height'],_0x58df0e['left']>=_0x11bc56&&(_0x39e9ac=!0x0);if(_0x15cbbc<_0x85f330&&_0x39e9ac)return _0x18a531||_0x4654f6['push']({'type':'element','offset':0x0,'path':[_0x2b485a]}),_0x4654f6;}const _0x29297d=_0x6daf86['closest']('figure.image');if(_0x29297d&&_0x79ca1d(_0x29297d)){const _0x258ba2=ckeditor5['global']['window']['getComputedStyle'](_0x29297d)['float'];if('left'==_0x258ba2||'right'==_0x258ba2)return _0x4654f6;}const _0x359861=findPageStarterInfos(_0x6daf86,_0x11bc56,_0x265f72,_0x85f330,_0x18a531);if(_0x359861['length']){for(const _0x252c38 of _0x359861)_0x4654f6['push']({'type':_0x252c38['type'],'offset':_0x252c38['offset'],'textOffset':_0x252c38['textOffset'],'path':[_0x2b485a,..._0x252c38['path']]}),_0x11bc56+=_0x265f72,_0x18a531=!0x1;return _0x4654f6;}return _0x4654f6['push'](...findPageStartersInLeafElementNode(_0x6daf86,_0x2b485a,_0x11bc56,_0x265f72,_0x18a531)),_0x4654f6;}function findPageStartersInLeafElementNode(_0x113487,_0x473f7f,_0x18e572,_0x1d09ce,_0x52e28e){const _0x344246=[];if('table-cell'==ckeditor5['global']['window']['getComputedStyle'](_0x113487)['display'])return[];const _0x41be8a=[];for(const _0x35c7a3 of _0x113487['getClientRects']())if(_0x35c7a3['left']>=_0x18e572){for(const _0x48c6cd of _0x41be8a)_0x48c6cd['height']+=_0x35c7a3['height'];_0x41be8a['push']({'height':_0x35c7a3['height']}),_0x18e572+=_0x1d09ce;}for(const _0x1ed5bb of _0x41be8a)_0x52e28e||_0x344246['push']({'type':'element','offset':_0x1ed5bb['height'],'textOffset':0x0,'path':[_0x473f7f]}),_0x52e28e=!0x1;return _0x344246;}function findPageStartersInTextNode(_0x4655fa,_0x3d0c49,_0x5a9dce,_0x46d2b1,_0x5247af){const _0xe9b989=createDomRangeOn(_0x4655fa),_0x2a1a7d=[];let _0x296c41=0x0;for(const _0x150336 of _0xe9b989['getClientRects']())if(_0x150336['left']>=_0x5a9dce){const _0x5c3e4b=findLastTextOffsetOnPage(_0x4655fa,_0x296c41,_0x5a9dce,_0x46d2b1);_0x5247af||_0x2a1a7d['push']({'type':'text','path':[_0x3d0c49],'textOffset':_0x5c3e4b}),_0x296c41=_0x5c3e4b,_0x5a9dce+=_0x46d2b1,_0x5247af=!0x1;}return _0x2a1a7d;}function findLastTextOffsetOnPage(_0x46dfad,_0x115bd4,_0x5aedce,_0x4c46a2){let _0x2cec94=_0x115bd4,_0x57dfc9=_0x46dfad['length'];for(;_0x57dfc9-_0x2cec94>0x1;){const _0x56637d=Math['ceil']((_0x2cec94+_0x57dfc9)/0x2);domRangeContainsPageBreak(createDomRange(_0x46dfad,_0x2cec94,_0x56637d),_0x5aedce,_0x4c46a2)?_0x57dfc9=_0x56637d:_0x2cec94=_0x56637d;}return _0x2cec94;}function domRangeContainsPageBreak(_0x972737,_0xa5bc7a,_0x28fddc){for(const _0x1ad43d of _0x972737['getClientRects']())if(_0x1ad43d['left']>=_0xa5bc7a&&_0x1ad43d['left']<_0xa5bc7a+_0x28fddc)return!0x0;return!0x1;}function _0x79ca1d(_0x1e0cd7){let _0x3e9727=!0x1;const _0x314d73=_0x1e0cd7['parentElement']['dataset']['rootName'],_0x58daeb=_0x1e0cd7['nextElementSibling'],_0x27fedd=_0x1e0cd7['previousElementSibling'],_0x490fa3=_0x58daeb&&ckeditor5['global']['window']['getComputedStyle'](_0x58daeb)['float'],_0x31fe8d=_0x58daeb&&'ck-fake-selection-container'===_0x58daeb['className'];return!_0x314d73||_0x58daeb||_0x27fedd||(_0x3e9727=!0x0),_0x314d73&&!_0x27fedd&&_0x31fe8d&&(_0x3e9727=!0x0),_0x314d73&&!_0x27fedd&&'none'!==_0x490fa3&&(_0x3e9727=!0x0),!_0x3e9727;}function isHTMLElement(_0x29fc76){return _0x29fc76['nodeType']==Node['ELEMENT_NODE'];}function isText(_0x4c629b){return _0x4c629b['nodeType']==Node['TEXT_NODE'];}async function _0x29d4e8(_0x330566){const _0x30bda5=_0x338611([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]),_0x2cf927=window[_0x338611([0x44,0x61,0x74,0x65])][_0x338611([0x6e,0x6f,0x77])](),_0x157b02=_0x330566[_0x338611([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2402ee=new window[(_0x338611([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6d5a9f=>{_0x157b02[_0x338611([0x6f,0x6e,0x63,0x65])](_0x338611([0x72,0x65,0x61,0x64,0x79]),_0x6d5a9f);}),_0x1c92e0={[_0x338611([0x6b,0x74,0x79])]:_0x338611([0x45,0x43]),[_0x338611([0x75,0x73,0x65])]:_0x338611([0x73,0x69,0x67]),[_0x338611([0x63,0x72,0x76])]:_0x338611([0x50,0x2d,0x32,0x35,0x36]),[_0x338611([0x78])]:_0x338611([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]),[_0x338611([0x79])]:_0x338611([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]),[_0x338611([0x61,0x6c,0x67])]:_0x338611([0x45,0x53,0x32,0x35,0x36])},_0x31fe4e=_0x157b02[_0x338611([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x338611([0x67,0x65,0x74])](_0x338611([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0xaf369c=await(async function(){let _0x264d03,_0x32157=null,_0x5ef390=null;try{if(_0x31fe4e==_0x338611([0x47,0x50,0x4c]))return _0x338611([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x264d03=(function(){const _0x43d996=_0x31fe4e[_0x338611([0x73,0x70,0x6c,0x69,0x74])](_0x338611([0x2e]));if(0x3!=_0x43d996[_0x338611([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x147cd5=_0x43d996[0x1];return _0x33eda6(_0x147cd5);function _0x33eda6(_0x581e07){const _0xeab0f6=_0x2b968d(_0x581e07);return _0xeab0f6&&_0x5ed9fb()?_0xeab0f6:null;function _0x5ed9fb(){const _0x4dc62f=_0xeab0f6[_0x338611([0x6a,0x74,0x69])],_0x26e470=window[_0x338611([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4dc62f[_0x338611([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4dc62f[_0x338611([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x241809={..._0xeab0f6,[_0x338611([0x6a,0x74,0x69])]:_0x4dc62f[_0x338611([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4dc62f[_0x338611([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x241809[_0x338611([0x76,0x63])],_0x4c6bfd(_0x241809)==_0x26e470;}}}()),!_0x264d03)return _0x338611([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x264d03[_0x338611([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5ef390=function(_0x7da236,_0x37e71d){return new window[(_0x338611([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x477485=>{if(_0x55407e())return _0x477485(_0x338611([0x56,0x61,0x6c,0x69,0x64]));_0x2a8eef(),_0x157b02[_0x338611([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x338611([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x309ea1=!0x1;const _0x1368bd=ckeditor5['uid']();function _0x149458(_0x4cc5fe){return!!_0x4cc5fe&&(typeof _0x4cc5fe===_0x338611([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4cc5fe===_0x338611([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4cc5fe[_0x338611([0x74,0x68,0x65,0x6e])]===_0x338611([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4cc5fe[_0x338611([0x63,0x61,0x74,0x63,0x68])]===_0x338611([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x408985(_0x24721f){_0x5a391a(_0x24721f)[_0x338611([0x74,0x68,0x65,0x6e])](_0x218d1f=>{if(!_0x218d1f||_0x218d1f[_0x338611([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x338611([0x6f,0x6b]))return _0x338611([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1b4e2b(_0x4c6bfd(_0x1368bd+_0x37e71d))!=_0x218d1f[_0x338611([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x338611([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x338611([0x56,0x61,0x6c,0x69,0x64]);})[_0x338611([0x74,0x68,0x65,0x6e])](_0x2e04ef=>(_0xf9bbce(),_0x2e04ef),()=>{const _0x1a9006=_0x3bc8d7();return null==_0x1a9006?(_0xf9bbce(),_0x338611([0x56,0x61,0x6c,0x69,0x64])):_0x338611(_0x2cf927-_0x1a9006>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x338611([0x74,0x68,0x65,0x6e])](_0x477485)[_0x338611([0x63,0x61,0x74,0x63,0x68])](()=>{_0x477485(_0x338611([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4b1054=0x36ee80;function _0xf9bbce(){const _0x2e1841=_0x338611([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b4e2b(_0x4c6bfd(_0x7da236)),_0x264fbc=_0x496f02(_0x1b4e2b(window[_0x338611([0x4d,0x61,0x74,0x68])][_0x338611([0x63,0x65,0x69,0x6c])](_0x2cf927/_0x4b1054)));window[_0x338611([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x338611([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2e1841,_0x264fbc);}function _0x3bc8d7(){const _0x1742d2=_0x338611([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b4e2b(_0x4c6bfd(_0x7da236)),_0x5e6b56=window[_0x338611([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x338611([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1742d2);return _0x5e6b56?window[_0x338611([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x496f02(_0x5e6b56),0x10)*_0x4b1054:null;}function _0x5a391a(_0x996fc3){return new window[(_0x338611([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a4303,_0x18b54f)=>{_0x996fc3[_0x338611([0x74,0x68,0x65,0x6e])](_0x5a4303,_0x18b54f),window[_0x338611([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x18b54f,0x1d4c0);});}}_0x157b02[_0x338611([0x6f,0x6e])](_0x338611([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x136b38,_0x27fe0b)=>{if(_0x27fe0b[0x0]!=_0x7da236)return _0x477485(_0x338611([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x27fe0b[0x1]={..._0x27fe0b[0x1],[_0x338611([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1368bd};},{[_0x338611([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x338611([0x68,0x69,0x67,0x68])}),_0x157b02[_0x338611([0x6f,0x6e])](_0x338611([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x32fcc9=>{_0x149458(_0x32fcc9[_0x338611([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x309ea1=!0x0,_0x408985(_0x32fcc9[_0x338611([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x338611([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x338611([0x6c,0x6f,0x77])}),_0x2402ee[_0x338611([0x74,0x68,0x65,0x6e])](()=>{_0x309ea1||_0x477485(_0x338611([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x55407e(){return _0x157b02[_0x338611([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x338611([0x76,0x69,0x65,0x77])][_0x338611([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x338611([0x61,0x75,0x74,0x6f]);}function _0x2a8eef(){_0x157b02[_0x338611([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x338611([0x76,0x69,0x65,0x77])][_0x338611([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x338611([0x61,0x75,0x74,0x6f]);}}(_0x264d03[_0x338611([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x264d03[_0x338611([0x6a,0x74,0x69])]));const _0x1907ef=await(async function(){let _0x17f373=!0x0;try{const _0x15d469=_0x31fe4e[_0x338611([0x73,0x70,0x6c,0x69,0x74])](_0x338611([0x2e])),[_0x277729,_0x64f6f2,_0x5b8618]=_0x15d469;return _0x2f5c78(_0x277729),await _0x2b15e0(_0x277729,_0x64f6f2,_0x5b8618),_0x17f373;}catch{return!0x1;}function _0x2f5c78(_0x37e6d6){const _0x32dc56=_0x2b968d(_0x37e6d6);_0x32dc56&&_0x32dc56[_0x338611([0x61,0x6c,0x67])]==_0x338611([0x45,0x53,0x32,0x35,0x36])||(_0x17f373=!0x1);}async function _0x2b15e0(_0x4cf9a4,_0x42bb8b,_0x4687da){const _0x1dff35=window[_0x338611([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x338611([0x66,0x72,0x6f,0x6d])](_0x37a949(_0x4687da),_0xc63f9d=>_0xc63f9d[_0x338611([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2ac0a9=new window[(_0x338611([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x338611([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4cf9a4+_0x338611([0x2e])+_0x42bb8b),_0x574802=window[_0x338611([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x338611([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x574802)return;const _0x498b85=await _0x574802[_0x338611([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x338611([0x6a,0x77,0x6b]),_0x1c92e0,{[_0x338611([0x6e,0x61,0x6d,0x65])]:_0x338611([0x45,0x43,0x44,0x53,0x41]),[_0x338611([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x338611([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x338611([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x574802[_0x338611([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x338611([0x6e,0x61,0x6d,0x65])]:_0x338611([0x45,0x43,0x44,0x53,0x41]),[_0x338611([0x68,0x61,0x73,0x68])]:{[_0x338611([0x6e,0x61,0x6d,0x65])]:_0x338611([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x498b85,_0x1dff35,_0x2ac0a9)||(_0x17f373=!0x1);}}());return _0x1907ef?(function(){const _0x36f259=_0x264d03[_0x338611([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x36f259)return!0x1;if(_0x36f259[_0x338611([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x338611([0x2a])))return!0x0;if(_0x36f259[_0x338611([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x338611([0x50,0x41,0x47])))return!0x0;return!0x1;}())?(function(){const _0x3f1a0b=[_0x338611([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x338611([0x74,0x72,0x69,0x61,0x6c])][_0x338611([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x264d03[_0x338611([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2cf927/0x3e8:0x69d59a80;return _0x264d03[_0x338611([0x65,0x78,0x70])]<_0x3f1a0b;}())?_0x338611([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x886ff9=_0x264d03[_0x338611([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x886ff9||0x0==_0x886ff9[_0x338611([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x435916}=new URL(window[_0x338611([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x886ff9[_0x338611([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x435916))return!0x0;const _0x369fb0=_0x435916[_0x338611([0x73,0x70,0x6c,0x69,0x74])](_0x338611([0x2e]));return _0x886ff9[_0x338611([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5b0140=>_0x5b0140[_0x338611([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x338611([0x2a])))[_0x338611([0x6d,0x61,0x70])](_0x335bb7=>_0x335bb7[_0x338611([0x73,0x70,0x6c,0x69,0x74])](_0x338611([0x2e])))[_0x338611([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2b3e47=>_0x2b3e47[_0x338611([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x369fb0[_0x338611([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x338611([0x6d,0x61,0x70])](_0x9bcd83=>Array(_0x369fb0[_0x338611([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x9bcd83[_0x338611([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x338611([0x66,0x69,0x6c,0x6c])](_0x9bcd83[0x0]===_0x338611([0x2a])?_0x338611([0x2a]):'')[_0x338611([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x9bcd83))[_0x338611([0x73,0x6f,0x6d,0x65])](_0x3f0726=>_0x369fb0[_0x338611([0x65,0x76,0x65,0x72,0x79])]((_0x57083f,_0xeac34c)=>_0x3f0726[_0xeac34c]===_0x57083f||_0x3f0726[_0xeac34c]===_0x338611([0x2a])));}())?(_0x264d03[_0x338611([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x338611([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x32157=function(_0x1babad){const _0x3a50cb=new window[(_0x338611([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c9118=>setTimeout(_0x5c9118,0x93ecc)),_0x6cc7ce=_0x2402ee[_0x338611([0x74,0x68,0x65,0x6e])](()=>new window[(_0x338611([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50ca8b=>{let _0x319923=0x0;_0x157b02[_0x338611([0x6d,0x6f,0x64,0x65,0x6c])][_0x338611([0x6f,0x6e])](_0x338611([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x20666a,_0x2d7cf1)=>{_0x2d7cf1[0x0][_0x338611([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x319923++,0x5e8==_0x319923&&(_0x50ca8b(),_0x20666a[_0x338611([0x6f,0x66,0x66])]());});})),_0x5784af=[_0x3a50cb,_0x6cc7ce];return window[_0x338611([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x338611([0x72,0x61,0x63,0x65])](_0x5784af)[_0x338611([0x74,0x68,0x65,0x6e])](()=>_0x1babad);}(_0x338611([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x32157&&_0x5ef390)return new window[(_0x338611([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x13e755,_0x41e65c)=>{_0x32157[_0x338611([0x74,0x68,0x65,0x6e])](_0x13e755,_0x41e65c),_0x5ef390[_0x338611([0x74,0x68,0x65,0x6e])](_0x52948e=>{_0x52948e!=_0x338611([0x56,0x61,0x6c,0x69,0x64])&&_0x13e755(_0x52948e);},_0x41e65c);});return _0x32157||_0x5ef390||_0x338611([0x56,0x61,0x6c,0x69,0x64]);}())):_0x338611([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x338611([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x338611([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x338611([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x2b968d(_0x50082a){return _0x50082a[_0x338611([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x338611([0x65,0x79]))?JSON[_0x338611([0x70,0x61,0x72,0x73,0x65])](_0x37a949(_0x50082a)):null;}function _0x37a949(_0x34da00){return window[_0x338611([0x61,0x74,0x6f,0x62])](_0x34da00[_0x338611([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x338611([0x2b]))[_0x338611([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x338611([0x2f])));}function _0x4c6bfd(_0x40755d){let _0x3e43fc=0x1505;function _0x8a3c91(_0x3f473d){for(let _0x3c51c3=0x0;_0x3c51c3<_0x3f473d[_0x338611([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c51c3++){const _0x54a4a0=_0x3f473d[_0x338611([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3c51c3);_0x3e43fc=(_0x3e43fc<<0x5)+_0x3e43fc+_0x54a4a0,_0x3e43fc&=_0x3e43fc;}}return function _0x4cc1b8(_0x224c56){Array[_0x338611([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x224c56)?_0x224c56[_0x338611([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4cc1b8):_0x224c56&&typeof _0x224c56==_0x338611([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x338611([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x224c56)[_0x338611([0x73,0x6f,0x72,0x74])]()[_0x338611([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3becbc,_0x2a082d])=>{_0x8a3c91(_0x3becbc),_0x4cc1b8(_0x2a082d);}):_0x8a3c91(window[_0x338611([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x224c56));}(_0x40755d),_0x3e43fc>>>0x0;}function _0x1b4e2b(_0x9dcefe){return _0x9dcefe[_0x338611([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x338611([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x338611([0x30]));}function _0x496f02(_0x423948){return _0x423948[_0x338611([0x73,0x70,0x6c,0x69,0x74])]('')[_0x338611([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x338611([0x6a,0x6f,0x69,0x6e])]('');}function _0x41b8fd(){}function _0x338611(_0x20bf71){return _0x20bf71['map'](_0x28dd30=>String['fromCharCode'](_0x28dd30))['join']('');}!function(_0x58ae22){const _0x24d567=(function(){const _0x169e9d=window[_0x338611([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x338611([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x338611([0x6e,0x6f,0x77])]())[_0x338611([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x338611([0x2e]),'');let _0x270ef0=_0x338611([0x49]);for(let _0x57e429=0x0;_0x57e429<_0x169e9d[_0x338611([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x57e429+=0x2){let _0x18a33f=window[_0x338611([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x169e9d[_0x338611([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x57e429,_0x57e429+0x2));_0x18a33f>=_0x30bda5[_0x338611([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x18a33f-=_0x30bda5[_0x338611([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x270ef0+=_0x30bda5[_0x18a33f];}return _0x270ef0;}());_0x157b02[_0x24d567]=_0x338611([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x58ae22,_0x58ae22!=_0x338611([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x2402ee,_0x157b02[_0x338611([0x6d,0x6f,0x64,0x65,0x6c])][_0x338611([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x41b8fd,_0x157b02[_0x338611([0x6d,0x6f,0x64,0x65,0x6c])][_0x338611([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x41b8fd,_0x157b02[_0x338611([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x338611([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0xaf369c);}const toPx=/* #__PURE__ -- @preserve */
ckeditor5['toUnit']('px');let _0x2bee80=class extends ckeditor5['View']{constructor(){super();const _0x59be5b=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x59be5b['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x59be5b['if']('isVisible','ck-hidden',_0x3ff12b=>!_0x3ff12b)],'style':{'left':_0x59be5b['to']('left',_0x205daa=>toPx(_0x205daa)),'top':_0x59be5b['to']('top',_0x25f695=>toPx(_0x25f695)),'width':_0x59be5b['to']('width',_0x4defa3=>toPx(_0x4defa3))}}});}};class LinesRepository{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x1a928a){this['_viewCollection']=_0x1a928a['ui']['view']['body'];}['destroy'](){for(const _0x469a25 of this['_hiddenLines'])_0x469a25['destroy']();}['cleanLines'](){for(const _0x3ab32e of this['_visibleLines'])_0x3ab32e['isVisible']=!0x1,this['_hiddenLines']['add'](_0x3ab32e);this['_visibleLines']['clear']();}['showLine'](_0x38f39b,_0x51a513,_0x5a6efe,_0x220fd){let _0x59e63a;this['_hiddenLines']['size']?(_0x59e63a=ckeditor5['first'](this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x59e63a)):_0x59e63a=new _0x2bee80(),_0x59e63a['set']({'pageNumber':_0x220fd,'left':_0x38f39b,'top':_0x51a513,'width':_0x5a6efe}),_0x59e63a['isVisible']=!0x0,this['_viewCollection']['has'](_0x59e63a)||this['_viewCollection']['add'](_0x59e63a),this['_visibleLines']['add'](_0x59e63a);}['setViewCollection'](_0x51e3de){for(const _0x1442f1 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x1442f1)&&this['_viewCollection']['remove'](_0x1442f1);this['_viewCollection']=_0x51e3de;}}const _0x3e99ba='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'](_0x3e99ba),this['on']('change:isEnabled',(_0x116cf8,_0x273a51,_0x29fadf)=>{_0x29fadf||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](_0x3e99ba,_0x29fadf);});}['destroy'](){this['_toggleEditingRootsClass'](_0x3e99ba,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x33250b){if(!this['isEnabled'])return;const _0x3bfaa0=_0x33250b>0x1?this['_getPageBreakLineOffset'](_0x33250b-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x3bfaa0-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':ckeditor5['env']['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x58dc40=this['editor'],_0x3e1bb9=this['_getAttachedDomRoot']();_0x3e1bb9?(this['_scrollableEditingRootDomAncestor']&&_0x58dc40['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=findScrollableElement(_0x3e1bb9),_0x58dc40['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new ckeditor5['ResizeObserver'](this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x58dc40['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x245f5a=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x245f5a['ui']['view']['listenTo'](ckeditor5['global']['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x245f5a['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x42bde6 of this['editor']['editing']['view']['domRoots']['values']())if(_0x42bde6['ownerDocument']['body']['contains'](_0x42bde6))return _0x42bde6;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x5e3d87=this['_getAttachedDomRoot'](),_0x1506f4=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x5e3d87||0x1==_0x1506f4['length'])return void(this['pageNumber']=0x1);const _0x8b083c=new ckeditor5['Rect'](_0x5e3d87)['excludeScrollbarsAndBorders'](),_0x3b19f4=new ckeditor5['Rect'](this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x1cc160=_0x3b19f4['top']+_0x3b19f4['height']/0x3;let _0x238050=!0x1;const _0x2021bd=[];for(let _0xb06cbe=0x1;_0xb06cbe<_0x1506f4['length'];_0xb06cbe++){const _0x3cf322=this['_getPageBreakLineOffset'](_0xb06cbe,_0x3b19f4);if(!_0x3cf322)continue;const _0x315205=_0x3b19f4['top']+_0x3cf322-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x2021bd['push']({'pageOffsetTop':_0x315205,'domRootRect':_0x8b083c,'domScrollableRect':_0x3b19f4,'pageNumber':_0xb06cbe}),_0x315205>_0x1cc160&&!_0x238050&&(this['pageNumber']=_0xb06cbe,_0x238050=!0x0);}this['_renderPageBreakLines'](_0x2021bd),_0x238050||(this['pageNumber']=_0x1506f4['length']);}['_renderPageBreakLines'](_0x145e99){const {scrollX:_0xa655fb,scrollY:_0xa429aa}=ckeditor5['global']['window'];if(_0x145e99['length']){for(const {domScrollableRect:_0x3f769a,pageOffsetTop:_0x3a8b78,domRootRect:_0x377064,pageNumber:_0x29d652}of _0x145e99)_0x3f769a['top']<_0x3a8b78&&_0x3a8b78<_0x3f769a['bottom']&&this['linesRepository']['showLine'](_0x377064['left']+_0xa655fb,_0x3a8b78+_0xa429aa,_0x377064['width'],_0x29d652+0x1);}}['_getPageBreakLineOffset'](_0x3d860d,_0x4f8cd8=null){const _0x486b79=this['_paginationLookupPlugin']['pageBreaks'][_0x3d860d]['offset'];return _0x486b79?(_0x4f8cd8||(_0x4f8cd8=new ckeditor5['Rect'](this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x486b79-_0x4f8cd8['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x4c0134,_0x207dc9=!0x0){const _0x3a074b=this['editor']['editing']['view'];_0x3a074b['change'](_0x2cb2ec=>{for(const _0x1dd25b of _0x3a074b['document']['roots'])_0x207dc9?_0x2cb2ec['addClass'](_0x4c0134,_0x1dd25b):_0x2cb2ec['removeClass'](_0x4c0134,_0x1dd25b);});}}function findScrollableElement(_0x3a8519){let _0x283a1d=_0x3a8519;do{_0x283a1d=_0x283a1d['parentElement'];const _0x55cf3b=ckeditor5['global']['window']['getComputedStyle'](_0x283a1d)['overflowY'];if('auto'==_0x55cf3b||'scroll'==_0x55cf3b)break;}while('BODY'!=_0x283a1d['tagName']);return _0x283a1d;}function getTranslation$7(_0x1106e4,_0x21a658,..._0x596691){const t=_0x1106e4['t'];switch(_0x21a658){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)',..._0x596691);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 _0x21a658;}}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 _0x5ce064=this['editor']['plugins']['get']('Pagination'),_0x5a49d4=this['editor']['plugins']['get'](PaginationLookup),_0x5ec7eb=this['editor']['plugins']['get'](PaginationRenderer);this['bind']('isEnabled')['to'](_0x5ce064),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x5ec7eb),this['listenTo'](_0x5a49d4,'change:pageBreaks',(_0x25c7b6,_0x332769,_0x62545d,_0x4e767d)=>{this['totalPages']=_0x62545d['length'],this['_updatePageBreakMarkers'](_0x62545d,_0x4e767d);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x41df61=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x328fd8;for(const _0x421259 in _0x41df61){const _0x4d62f3=_0x421259,_0x44b63a=_0x41df61[_0x4d62f3];if('paginationLicenseKeyValid'==_0x44b63a||'paginationLicenseKeyInvalid'==_0x44b63a||'paginationLicenseKeyExpired'==_0x44b63a||'paginationLicenseKeyDomainLimit'==_0x44b63a||'paginationLicenseKeyNotAllowed'==_0x44b63a||'paginationLicenseKeyEvaluationLimit'==_0x44b63a||'paginationLicenseKeyUsageLimit'==_0x44b63a){delete _0x41df61[_0x4d62f3],_0x328fd8=_0x44b63a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x328fd8&&_0x41df61['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x328fd8&&_0x41df61['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x328fd8&&_0x41df61['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x328fd8&&_0x41df61['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x328fd8&&_0x41df61['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x328fd8&&_0x41df61['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x4ca955){if(!this['isEnabled'])return;this['editor']['plugins']['get'](PaginationRenderer)['scrollToPage'](this['_validatePageNumber'](_0x4ca955));}['moveSelectionToPage'](_0x68005){if(!this['isEnabled'])return;const _0x39e4c4=this['editor'],_0x2962f6=this['editor']['plugins']['get'](PaginationLookup)['pageBreaks'][_0x68005-0x1];_0x2962f6&&_0x39e4c4['model']['change'](_0x515baf=>{switch(_0x2962f6['type']){case'manual':{const _0x3f8068=_0x39e4c4['model']['schema']['getNearestSelectionRange'](_0x2962f6['modelRange']['end'],'forward');_0x515baf['setSelection'](_0x3f8068);break;}case'element':{const _0x49bf1c=_0x39e4c4['model']['schema']['getNearestSelectionRange'](_0x2962f6['modelRange']['start'],'forward');_0x515baf['setSelection'](_0x49bf1c);break;}case'text':{const _0x29f1cc=_0x2962f6['modelRange']['start'];if(_0x29f1cc['textNode']&&'\x20'===_0x29f1cc['textNode']['data'][_0x29f1cc['offset']]){const _0x266794=_0x515baf['createPositionAt'](_0x29f1cc['parent'],_0x29f1cc['offset']+0x1);_0x515baf['setSelection'](_0x266794);}else _0x515baf['setSelection'](_0x2962f6['modelRange']);}}_0x39e4c4['editing']['view']['focus']();});}['goToNextPage'](){const _0x59fd93=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x59fd93),this['scrollToPage'](_0x59fd93);}['goToPreviousPage'](){const _0x3b8e2a=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x3b8e2a),this['scrollToPage'](_0x3b8e2a);}['_updatePageBreakMarkers'](_0xdc6a1e,_0x525e1a){const _0x2494e8=this['editor']['model'];this['isEnabled']&&_0x2494e8['change'](_0x4c199e=>{for(let _0x135ff3=0x1;_0x135ff3<_0xdc6a1e['length'];_0x135ff3++){const _0x121354=_0xdc6a1e[_0x135ff3]['modelRange'],_0x575bd9='pagination:'+(_0x135ff3+0x1);_0x2494e8['markers']['has'](_0x575bd9)?_0x4c199e['updateMarker'](_0x575bd9,{'range':_0x121354}):_0x4c199e['addMarker'](_0x575bd9,{'range':_0x121354,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0xb21b57=_0xdc6a1e['length'];_0xb21b57<_0x525e1a['length'];_0xb21b57++){const _0x400305='pagination:'+(_0xb21b57+0x1);_0x2494e8['markers']['has'](_0x400305)&&_0x4c199e['removeMarker'](_0x400305);}});}['_setUpDataDowncastConversion'](){const _0x13a415='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x2f68db=>{_0x2f68db['on']('addMarker:'+_0x13a415,(_0x45ce62,{markerRange:_0x2b5379,markerName:_0x328833},_0x4621cb)=>{if(!_0x4621cb['options']['pagination'])return;if(!_0x4621cb['consumable']['consume'](_0x2b5379,_0x45ce62['name']))return;const _0x3e2d31=_0x2b5379['getContainedElement']();let _0x36752e=_0x3e2d31?_0x4621cb['mapper']['toViewElement'](_0x3e2d31):null;if(!_0x36752e){const _0x1d2f4f=_0x2b5379['start'];if(_0x4621cb['schema']['checkChild'](_0x1d2f4f,'$text')){const _0x3c8f41=_0x4621cb['mapper']['toViewPosition'](_0x1d2f4f);_0x36752e=_0x4621cb['writer']['createContainerElement']('span'),_0x36752e['getFillerOffset']=()=>null,_0x4621cb['writer']['insert'](_0x3c8f41,_0x36752e);}else{const _0x40a8bf=_0x1d2f4f['nodeAfter'];_0x36752e=_0x4621cb['mapper']['toViewElement'](_0x40a8bf);}}for(;_0x36752e['parent']!==_0x36752e['root']&&0x0===_0x36752e['index'];)_0x36752e=_0x36752e['parent'];const _0x288f21=_0x328833['substring'](0xb);_0x36752e['hasClass']('page-break')||(_0x4621cb['writer']['setStyle']('page-break-before','always',_0x36752e),_0x4621cb['writer']['setAttribute']('data-pagination-page',_0x288f21,_0x36752e),_0x4621cb['mapper']['bindElementToMarker'](_0x36752e,_0x328833)),_0x45ce62['stop']();});});}['_setupKeystrokes'](){const _0x2abd63=this['editor'];_0x2abd63['keystrokes']['set']('Shift+Pageup',(_0x52bff6,_0x57c9f5)=>{this['goToPreviousPage'](),_0x57c9f5();}),_0x2abd63['keystrokes']['set']('Shift+Pagedown',(_0x43945e,_0x44323a)=>{this['goToNextPage'](),_0x44323a();}),_0x2abd63['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':getTranslation$7(_0x2abd63['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':getTranslation$7(_0x2abd63['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':getTranslation$7(_0x2abd63['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x4d43b7){return _0x4d43b7<0x1&&(_0x4d43b7=0x1),_0x4d43b7>this['totalPages']&&(_0x4d43b7=this['totalPages']),_0x4d43b7;}}class PageNavigatorView extends ckeditor5['View']{['pageNumberView'];constructor(_0x599ab7){super(_0x599ab7);const _0x1ff2b3=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new ckeditor5['InputNumberView'](_0x599ab7,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x6a6918=>getTranslation$7(_0x599ab7,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x6a6918)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x5f59c9=>!_0x5f59c9),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x1ff2b3['if']('isEnabled','ck-disabled',_0x20199b=>!_0x20199b)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x1ff2b3['to']('totalPages')}]}]});}['render'](){super['render']();const _0x1e558e=this['pageNumberView']['element'],_0x3e15e8=_0x3e25bf=>{this['pageNumberView']['element']['value']=String(_0x3e25bf);};_0x3e15e8(this['pageNumber']),this['on']('change:pageNumber',(_0x2cf7b3,_0x1f4dbc,_0x47ed14)=>{_0x3e15e8(_0x47ed14);}),this['listenTo'](_0x1e558e,'keydown',(_0x28e107,_0x24a5c6)=>{if('ArrowUp'===_0x24a5c6['key']||'ArrowDown'===_0x24a5c6['key'])return void _0x24a5c6['stopPropagation']();if(_0x24a5c6['keyCode']!==ckeditor5['keyCodes']['enter'])return;_0x24a5c6['preventDefault']();const _0x20f6ae=_0x1e558e['valueAsNumber'];Number['isNaN'](_0x20f6ae)?_0x1e558e['value']=String(this['pageNumber']):(_0x1e558e['checkValidity']()?this['pageNumber']=_0x20f6ae:_0x20f6ae>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x1e558e['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x1e558e['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x1e558e,'blur',()=>{_0x1e558e['value']=String(this['pageNumber']);}),this['listenTo'](_0x1e558e,'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 _0x56db5b=this['editor'],_0x513127=_0x56db5b['plugins']['get']('PaginationEditing');_0x56db5b['ui']['componentFactory']['add']('pageNavigation',_0x550054=>{const _0x4c8fbd=new PageNavigatorView(_0x550054);return _0x4c8fbd['bind']('pageNumber')['to'](_0x513127),_0x4c8fbd['bind']('totalPages')['to'](_0x513127),_0x4c8fbd['bind']('isEnabled')['to'](_0x513127),_0x4c8fbd['on']('navigation',(_0x2120c3,_0x7e1a6d)=>{_0x513127['moveSelectionToPage'](_0x7e1a6d),_0x513127['scrollToPage'](_0x7e1a6d);}),_0x4c8fbd;}),_0x56db5b['ui']['componentFactory']['add']('nextPage',_0x3ca613=>{const _0xbbc7a0=new ckeditor5['ButtonView'](_0x3ca613);return _0xbbc7a0['isEnabled']=!0x0,_0xbbc7a0['label']=getTranslation$7(_0x56db5b['locale'],'Go\x20to\x20next\x20page'),_0xbbc7a0['icon']=ckeditor5['IconArrowDown'],_0xbbc7a0['tooltip']=!0x0,_0xbbc7a0['keystroke']='Shift+PageDown',_0xbbc7a0['bind']('isEnabled')['to'](_0x513127),this['listenTo'](_0xbbc7a0,'execute',()=>{_0x513127['goToNextPage']();}),_0xbbc7a0;}),_0x56db5b['ui']['componentFactory']['add']('previousPage',_0x427a7c=>{const _0x5f5c3a=new ckeditor5['ButtonView'](_0x427a7c);return _0x5f5c3a['isEnabled']=!0x0,_0x5f5c3a['label']=getTranslation$7(_0x56db5b['locale'],'Go\x20to\x20previous\x20page'),_0x5f5c3a['icon']=ckeditor5['IconArrowUp'],_0x5f5c3a['tooltip']=!0x0,_0x5f5c3a['keystroke']='Shift+PageUp',_0x5f5c3a['bind']('isEnabled')['to'](_0x513127),this['listenTo'](_0x5f5c3a,'execute',()=>{_0x513127['goToPreviousPage']();}),_0x5f5c3a;});}}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(_0x1f9426){super(_0x1f9426),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x59f30e=this['editor']['plugins']['get'](PaginationEditing);this['bind']('pageNumber')['to'](_0x59f30e),this['bind']('totalPages')['to'](_0x59f30e),ckeditor5['env']['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x456fb1){this['editor']['plugins']['get'](PaginationEditing)['scrollToPage'](_0x456fb1);}}const _0x1bc980=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function isMSExcelContent(_0x336001){return _0x1bc980['test'](_0x336001);}const _0x19c7f2=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function getMatchingStyles(_0x278873,_0x514444){const _0x1e11d1=new Map();for(const [_0x2efb7d,_0x23d511]of _0x514444){if(!_0x2efb7d['tagName']&&!_0x2efb7d['className'])continue;const _0x36b02d=!_0x2efb7d['tagName']||_0x278873['name']===_0x2efb7d['tagName'],_0x1dbc17=!_0x2efb7d['className']||_0x278873['hasClass'](_0x2efb7d['className']);_0x36b02d&&_0x1dbc17&&_0x1e11d1['set'](_0x2efb7d,_0x23d511);}return _0x1e11d1;}function extractStyles(_0x49c939){const _0x1522c7={};for(const _0x49cc3b of _0x49c939)for(const _0x4a8090 of _0x49cc3b['cssRules'])if(_0x4a8090 instanceof CSSStyleRule){const _0x222f28=parseCSSStyleDeclaration(_0x4a8090['style']);_0x1522c7[_0x4a8090['selectorText']]=Object['assign']({},_0x1522c7[_0x4a8090['selectorText']]||{},_0x222f28);}return _0x1522c7;}function expandStyles(_0x2abc47){const _0x325657=new Map();for(const _0x51a43d in _0x2abc47){const _0xacb10d=parseCSSSelector(_0x51a43d),_0x12786d=_0x2abc47[_0x51a43d];for(const _0x1ab9f2 of _0xacb10d)_0x325657['set'](_0x1ab9f2,_0x12786d);}return _0x325657;}function parseCSSStyleDeclaration(_0x4122b0){const _0x259087={};for(let _0x8bb5a4=0x0;_0x8bb5a4<_0x4122b0['length'];_0x8bb5a4++){const _0x57cb50=_0x4122b0[_0x8bb5a4],_0x1febb3=_0x4122b0['getPropertyValue'](_0x57cb50);'initial'!==_0x1febb3&&(_0x259087[_0x57cb50]=_0x1febb3);}return _0x259087;}function parseCSSSelector(_0x306bf2){const _0x181970=_0x306bf2['split'](',')['map'](_0xaff0e8=>_0xaff0e8['trim']()),_0x2c8d85=[];for(const _0x19e068 of _0x181970){const _0x7a803d=_0x19c7f2['exec'](_0x19e068);_0x7a803d&&_0x2c8d85['push'](_0x7a803d['groups']);}return _0x2c8d85;}function flattenStyleDefinitions(_0x5bf854){const _0x2d44ad={};for(const _0x291d7a of _0x5bf854)Object['assign'](_0x2d44ad,_0x291d7a);return _0x2d44ad;}class MSOfficeStylesInliner extends ckeditor5['PasteFromOfficeMSWordNormalizer']{['execute'](_0x395474){const {body:_0x4aa6bc,styles:_0x36d8da}=_0x395474['_parsedData'],_0x55f8a3=new ckeditor5['ViewUpcastWriter'](_0x4aa6bc['document']),_0x2869dd=_0x55f8a3['createRangeIn'](_0x4aa6bc),_0x503e1a=expandStyles(extractStyles(_0x36d8da));for(const _0x289d82 of _0x2869dd){if('elementStart'!==_0x289d82['type'])continue;const _0x40e194=getMatchingStyles(_0x289d82['item'],_0x503e1a);if(_0x40e194['size']){const _0x1e1473=flattenStyleDefinitions(Array['from'](_0x40e194['values']()));for(const _0x57cfe in _0x1e1473){const _0x1cabe6=_0x289d82['item'];_0x1cabe6['hasStyle'](_0x57cfe)||_0x55f8a3['setStyle'](_0x57cfe,_0x1e1473[_0x57cfe],_0x1cabe6);}}}_0x395474['content']=_0x4aa6bc;}['isActive'](_0xe99326){return super['isActive'](_0xe99326)||isMSExcelContent(_0xe99326);}}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 _0x5ebf02=this['editor'],_0x40e2c9=_0x5ebf02['plugins']['get']('ClipboardPipeline'),_0x5f4ae0=_0x5ebf02['editing']['view']['document'],_0x92dd4c=new MSOfficeStylesInliner(_0x5f4ae0);_0x40e2c9['on']('inputTransformation',(_0x39f17f,_0x2d86a4)=>{const _0x50c962=_0x2d86a4['dataTransfer']['getData']('text/html');_0x92dd4c['isActive'](_0x50c962)&&(_0x2d86a4['_parsedData']||(_0x2d86a4['_parsedData']=ckeditor5['parsePasteOfficeHtml'](_0x50c962,_0x5f4ae0['stylesProcessor'])),_0x92dd4c['execute'](_0x2d86a4));},{'priority':ckeditor5['priorities']['get']('high')+0xb});}['afterInit'](){_0x205010(this);}}async function _0x205010(_0x1167a7){const _0x11e127=_0x5ba0e8([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]),_0x24b9b3=window[_0x5ba0e8([0x44,0x61,0x74,0x65])][_0x5ba0e8([0x6e,0x6f,0x77])](),_0x5ad901=_0x1167a7[_0x5ba0e8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x33eeb5=new window[(_0x5ba0e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4414aa=>{_0x5ad901[_0x5ba0e8([0x6f,0x6e,0x63,0x65])](_0x5ba0e8([0x72,0x65,0x61,0x64,0x79]),_0x4414aa);}),_0x252947={[_0x5ba0e8([0x6b,0x74,0x79])]:_0x5ba0e8([0x45,0x43]),[_0x5ba0e8([0x75,0x73,0x65])]:_0x5ba0e8([0x73,0x69,0x67]),[_0x5ba0e8([0x63,0x72,0x76])]:_0x5ba0e8([0x50,0x2d,0x32,0x35,0x36]),[_0x5ba0e8([0x78])]:_0x5ba0e8([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]),[_0x5ba0e8([0x79])]:_0x5ba0e8([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]),[_0x5ba0e8([0x61,0x6c,0x67])]:_0x5ba0e8([0x45,0x53,0x32,0x35,0x36])},_0x1a1877=_0x5ad901[_0x5ba0e8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5ba0e8([0x67,0x65,0x74])](_0x5ba0e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x74eb7c=await(async function(){let _0x1217e4,_0x17acd0=null,_0x454eae=null;try{if(_0x1a1877==_0x5ba0e8([0x47,0x50,0x4c]))return _0x5ba0e8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1217e4=(function(){const _0xc42e0=_0x1a1877[_0x5ba0e8([0x73,0x70,0x6c,0x69,0x74])](_0x5ba0e8([0x2e]));if(0x3!=_0xc42e0[_0x5ba0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x437ca9=_0xc42e0[0x1];return _0x423d59(_0x437ca9);function _0x423d59(_0x180e46){const _0x37cdf2=_0x40f1ec(_0x180e46);return _0x37cdf2&&_0x527eb3()?_0x37cdf2:null;function _0x527eb3(){const _0x1a43d5=_0x37cdf2[_0x5ba0e8([0x6a,0x74,0x69])],_0x322e67=window[_0x5ba0e8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a43d5[_0x5ba0e8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1a43d5[_0x5ba0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5ea8f1={..._0x37cdf2,[_0x5ba0e8([0x6a,0x74,0x69])]:_0x1a43d5[_0x5ba0e8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1a43d5[_0x5ba0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5ea8f1[_0x5ba0e8([0x76,0x63])],_0x53f97a(_0x5ea8f1)==_0x322e67;}}}()),!_0x1217e4)return _0x5ba0e8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x1217e4[_0x5ba0e8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x454eae=function(_0x256bd3,_0x5b1b3a){return new window[(_0x5ba0e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d7754=>{if(_0x2721fe())return _0x3d7754(_0x5ba0e8([0x56,0x61,0x6c,0x69,0x64]));_0x544ba8(),_0x5ad901[_0x5ba0e8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5ba0e8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x48ff1d=!0x1;const _0xf510b5=ckeditor5['uid']();function _0x3123bc(_0x11c09e){return!!_0x11c09e&&(typeof _0x11c09e===_0x5ba0e8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x11c09e===_0x5ba0e8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x11c09e[_0x5ba0e8([0x74,0x68,0x65,0x6e])]===_0x5ba0e8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x11c09e[_0x5ba0e8([0x63,0x61,0x74,0x63,0x68])]===_0x5ba0e8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xe3badc(_0x526be3){_0x230f8f(_0x526be3)[_0x5ba0e8([0x74,0x68,0x65,0x6e])](_0x4e129b=>{if(!_0x4e129b||_0x4e129b[_0x5ba0e8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5ba0e8([0x6f,0x6b]))return _0x5ba0e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4e0db6(_0x53f97a(_0xf510b5+_0x5b1b3a))!=_0x4e129b[_0x5ba0e8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5ba0e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5ba0e8([0x56,0x61,0x6c,0x69,0x64]);})[_0x5ba0e8([0x74,0x68,0x65,0x6e])](_0x29694a=>(_0x518f00(),_0x29694a),()=>{const _0x2f95db=_0x12a190();return null==_0x2f95db?(_0x518f00(),_0x5ba0e8([0x56,0x61,0x6c,0x69,0x64])):_0x5ba0e8(_0x24b9b3-_0x2f95db>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5ba0e8([0x74,0x68,0x65,0x6e])](_0x3d7754)[_0x5ba0e8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3d7754(_0x5ba0e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x24072f=0x36ee80;function _0x518f00(){const _0x218993=_0x5ba0e8([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e0db6(_0x53f97a(_0x256bd3)),_0x159832=_0x3196b9(_0x4e0db6(window[_0x5ba0e8([0x4d,0x61,0x74,0x68])][_0x5ba0e8([0x63,0x65,0x69,0x6c])](_0x24b9b3/_0x24072f)));window[_0x5ba0e8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5ba0e8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x218993,_0x159832);}function _0x12a190(){const _0x457625=_0x5ba0e8([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e0db6(_0x53f97a(_0x256bd3)),_0xa32e0a=window[_0x5ba0e8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5ba0e8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x457625);return _0xa32e0a?window[_0x5ba0e8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3196b9(_0xa32e0a),0x10)*_0x24072f:null;}function _0x230f8f(_0x2f35a4){return new window[(_0x5ba0e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xa87a37,_0x983e67)=>{_0x2f35a4[_0x5ba0e8([0x74,0x68,0x65,0x6e])](_0xa87a37,_0x983e67),window[_0x5ba0e8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x983e67,0x1d4c0);});}}_0x5ad901[_0x5ba0e8([0x6f,0x6e])](_0x5ba0e8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x444485,_0x24492d)=>{if(_0x24492d[0x0]!=_0x256bd3)return _0x3d7754(_0x5ba0e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x24492d[0x1]={..._0x24492d[0x1],[_0x5ba0e8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xf510b5};},{[_0x5ba0e8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5ba0e8([0x68,0x69,0x67,0x68])}),_0x5ad901[_0x5ba0e8([0x6f,0x6e])](_0x5ba0e8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x449eb0=>{_0x3123bc(_0x449eb0[_0x5ba0e8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x48ff1d=!0x0,_0xe3badc(_0x449eb0[_0x5ba0e8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5ba0e8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5ba0e8([0x6c,0x6f,0x77])}),_0x33eeb5[_0x5ba0e8([0x74,0x68,0x65,0x6e])](()=>{_0x48ff1d||_0x3d7754(_0x5ba0e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2721fe(){return _0x5ad901[_0x5ba0e8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5ba0e8([0x76,0x69,0x65,0x77])][_0x5ba0e8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5ba0e8([0x61,0x75,0x74,0x6f]);}function _0x544ba8(){_0x5ad901[_0x5ba0e8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5ba0e8([0x76,0x69,0x65,0x77])][_0x5ba0e8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5ba0e8([0x61,0x75,0x74,0x6f]);}}(_0x1217e4[_0x5ba0e8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1217e4[_0x5ba0e8([0x6a,0x74,0x69])]));const _0x36557c=await(async function(){let _0x67e000=!0x0;try{const _0x5f0357=_0x1a1877[_0x5ba0e8([0x73,0x70,0x6c,0x69,0x74])](_0x5ba0e8([0x2e])),[_0x27e40d,_0x469229,_0x38f9cf]=_0x5f0357;return _0x2741ca(_0x27e40d),await _0x456416(_0x27e40d,_0x469229,_0x38f9cf),_0x67e000;}catch{return!0x1;}function _0x2741ca(_0x3d7eb2){const _0x281d90=_0x40f1ec(_0x3d7eb2);_0x281d90&&_0x281d90[_0x5ba0e8([0x61,0x6c,0x67])]==_0x5ba0e8([0x45,0x53,0x32,0x35,0x36])||(_0x67e000=!0x1);}async function _0x456416(_0x37f4a2,_0x2fc6b0,_0x844275){const _0xdc5ecd=window[_0x5ba0e8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5ba0e8([0x66,0x72,0x6f,0x6d])](_0x218562(_0x844275),_0x574d47=>_0x574d47[_0x5ba0e8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x59dec4=new window[(_0x5ba0e8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5ba0e8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x37f4a2+_0x5ba0e8([0x2e])+_0x2fc6b0),_0x1d4860=window[_0x5ba0e8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5ba0e8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1d4860)return;const _0x222c2a=await _0x1d4860[_0x5ba0e8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5ba0e8([0x6a,0x77,0x6b]),_0x252947,{[_0x5ba0e8([0x6e,0x61,0x6d,0x65])]:_0x5ba0e8([0x45,0x43,0x44,0x53,0x41]),[_0x5ba0e8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5ba0e8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5ba0e8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1d4860[_0x5ba0e8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5ba0e8([0x6e,0x61,0x6d,0x65])]:_0x5ba0e8([0x45,0x43,0x44,0x53,0x41]),[_0x5ba0e8([0x68,0x61,0x73,0x68])]:{[_0x5ba0e8([0x6e,0x61,0x6d,0x65])]:_0x5ba0e8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x222c2a,_0xdc5ecd,_0x59dec4)||(_0x67e000=!0x1);}}());return _0x36557c?(function(){const _0x51ac19=_0x1217e4[_0x5ba0e8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x51ac19)return!0x1;if(_0x51ac19[_0x5ba0e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ba0e8([0x2a])))return!0x0;if(_0x51ac19[_0x5ba0e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ba0e8([0x50,0x4f,0x45])))return!0x0;if(_0x51ac19[_0x5ba0e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ba0e8([0x50,0x50])))return!0x0;if(_0x51ac19[_0x5ba0e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ba0e8([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x5ba0e8([0x67,0x6c,0x6f,0x62])]&&window[_0x5ba0e8([0x67,0x6c,0x6f,0x62])][_0x5ba0e8([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x310022=[_0x5ba0e8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5ba0e8([0x74,0x72,0x69,0x61,0x6c])][_0x5ba0e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1217e4[_0x5ba0e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x24b9b3/0x3e8:0x69d59a80;return _0x1217e4[_0x5ba0e8([0x65,0x78,0x70])]<_0x310022;}())?_0x5ba0e8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x3cfa15=_0x1217e4[_0x5ba0e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3cfa15||0x0==_0x3cfa15[_0x5ba0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x20c53d}=new URL(window[_0x5ba0e8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3cfa15[_0x5ba0e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20c53d))return!0x0;const _0x582e79=_0x20c53d[_0x5ba0e8([0x73,0x70,0x6c,0x69,0x74])](_0x5ba0e8([0x2e]));return _0x3cfa15[_0x5ba0e8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x146e96=>_0x146e96[_0x5ba0e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ba0e8([0x2a])))[_0x5ba0e8([0x6d,0x61,0x70])](_0x94f312=>_0x94f312[_0x5ba0e8([0x73,0x70,0x6c,0x69,0x74])](_0x5ba0e8([0x2e])))[_0x5ba0e8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x55c136=>_0x55c136[_0x5ba0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x582e79[_0x5ba0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5ba0e8([0x6d,0x61,0x70])](_0x229db5=>Array(_0x582e79[_0x5ba0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x229db5[_0x5ba0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5ba0e8([0x66,0x69,0x6c,0x6c])](_0x229db5[0x0]===_0x5ba0e8([0x2a])?_0x5ba0e8([0x2a]):'')[_0x5ba0e8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x229db5))[_0x5ba0e8([0x73,0x6f,0x6d,0x65])](_0x2df4b2=>_0x582e79[_0x5ba0e8([0x65,0x76,0x65,0x72,0x79])]((_0x13ea55,_0x4dba1b)=>_0x2df4b2[_0x4dba1b]===_0x13ea55||_0x2df4b2[_0x4dba1b]===_0x5ba0e8([0x2a])));}())?(_0x1217e4[_0x5ba0e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5ba0e8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x17acd0=function(_0x37dcc2){const _0x359906=new window[(_0x5ba0e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x226a95=>setTimeout(_0x226a95,0x93ecc)),_0x494ec4=_0x33eeb5[_0x5ba0e8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5ba0e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xba71fa=>{let _0x572d67=0x0;_0x5ad901[_0x5ba0e8([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ba0e8([0x6f,0x6e])](_0x5ba0e8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x32e443,_0x403ec0)=>{_0x403ec0[0x0][_0x5ba0e8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x572d67++,0x5e8==_0x572d67&&(_0xba71fa(),_0x32e443[_0x5ba0e8([0x6f,0x66,0x66])]());});})),_0xb4ce7e=[_0x359906,_0x494ec4];return window[_0x5ba0e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5ba0e8([0x72,0x61,0x63,0x65])](_0xb4ce7e)[_0x5ba0e8([0x74,0x68,0x65,0x6e])](()=>_0x37dcc2);}(_0x5ba0e8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x17acd0&&_0x454eae)return new window[(_0x5ba0e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x58110c,_0x3906fa)=>{_0x17acd0[_0x5ba0e8([0x74,0x68,0x65,0x6e])](_0x58110c,_0x3906fa),_0x454eae[_0x5ba0e8([0x74,0x68,0x65,0x6e])](_0x1ea119=>{_0x1ea119!=_0x5ba0e8([0x56,0x61,0x6c,0x69,0x64])&&_0x58110c(_0x1ea119);},_0x3906fa);});return _0x17acd0||_0x454eae||_0x5ba0e8([0x56,0x61,0x6c,0x69,0x64]);}())):_0x5ba0e8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5ba0e8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5ba0e8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5ba0e8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x40f1ec(_0x1e7a41){return _0x1e7a41[_0x5ba0e8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5ba0e8([0x65,0x79]))?JSON[_0x5ba0e8([0x70,0x61,0x72,0x73,0x65])](_0x218562(_0x1e7a41)):null;}function _0x218562(_0x347bb6){return window[_0x5ba0e8([0x61,0x74,0x6f,0x62])](_0x347bb6[_0x5ba0e8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5ba0e8([0x2b]))[_0x5ba0e8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5ba0e8([0x2f])));}function _0x53f97a(_0x29cf44){let _0x2c55c0=0x1505;function _0x37abf9(_0x1ae8bc){for(let _0x1a1d1b=0x0;_0x1a1d1b<_0x1ae8bc[_0x5ba0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1a1d1b++){const _0x2e7535=_0x1ae8bc[_0x5ba0e8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1a1d1b);_0x2c55c0=(_0x2c55c0<<0x5)+_0x2c55c0+_0x2e7535,_0x2c55c0&=_0x2c55c0;}}return function _0x6bc016(_0x57402a){Array[_0x5ba0e8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x57402a)?_0x57402a[_0x5ba0e8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x6bc016):_0x57402a&&typeof _0x57402a==_0x5ba0e8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5ba0e8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x57402a)[_0x5ba0e8([0x73,0x6f,0x72,0x74])]()[_0x5ba0e8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5cbf88,_0x3d9fbc])=>{_0x37abf9(_0x5cbf88),_0x6bc016(_0x3d9fbc);}):_0x37abf9(window[_0x5ba0e8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x57402a));}(_0x29cf44),_0x2c55c0>>>0x0;}function _0x4e0db6(_0x3e1a87){return _0x3e1a87[_0x5ba0e8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5ba0e8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5ba0e8([0x30]));}function _0x3196b9(_0x1c20c6){return _0x1c20c6[_0x5ba0e8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5ba0e8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5ba0e8([0x6a,0x6f,0x69,0x6e])]('');}function _0x594f87(){}function _0x5ba0e8(_0x1f5a67){return _0x1f5a67['map'](_0x5a874a=>String['fromCharCode'](_0x5a874a))['join']('');}!function(_0xf79aaf){const _0x48fff6=(function(){const _0x4fe079=window[_0x5ba0e8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5ba0e8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5ba0e8([0x6e,0x6f,0x77])]())[_0x5ba0e8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5ba0e8([0x2e]),'');let _0x47adcc=_0x5ba0e8([0x73]);for(let _0x287ad8=0x0;_0x287ad8<_0x4fe079[_0x5ba0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x287ad8+=0x2){let _0x5b0c68=window[_0x5ba0e8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4fe079[_0x5ba0e8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x287ad8,_0x287ad8+0x2));_0x5b0c68>=_0x11e127[_0x5ba0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5b0c68-=_0x11e127[_0x5ba0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x47adcc+=_0x11e127[_0x5b0c68];}return _0x47adcc;}());_0x5ad901[_0x48fff6]=_0x5ba0e8([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])+_0xf79aaf,_0xf79aaf!=_0x5ba0e8([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x33eeb5,_0x5ad901[_0x5ba0e8([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ba0e8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x594f87,_0x5ad901[_0x5ba0e8([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ba0e8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x594f87,_0x5ad901[_0x5ba0e8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5ba0e8([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x74eb7c);}const _0x2324fb=['color','font-family','font-size','text-decoration','text-decoration-line','font-weight','font-style','vertical-align'],_0x28778e=['color','font-family','font-size'],_0x589da1={'font-style':[['italic','i']],'font-weight':[['medium','strong'],['bold','strong'],['bolder','strong'],[_0xb0cd71=>Number(_0xb0cd71)>=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(_0x5514ab){return _0x2324fb['includes'](_0x5514ab);}function isPropertyToBePropagatedAsSpan(_0x16a861){return _0x28778e['includes'](_0x16a861);}function isPropertyToBePropagatedAsHTMLElement(_0x1712bc){return _0x1712bc in _0x589da1;}function getStylePropertyNamesToPropagate(_0x5eb23f){return Array['from'](_0x5eb23f['getStyleNames']())['filter'](isPropertyToBePropagated);}function propagateStyleProperties(_0x2b7a6e,_0x1d7ffe,_0x1a8895){const {spanStyles:_0x1abd2d,stylesToBeHtmlElements:_0x378afb}=getStylesToPropagate(_0x2b7a6e,_0x1a8895);propagateStylesAsHTMLElements(_0x2b7a6e,_0x1d7ffe,_0x378afb),propagateStylesAsSpan(_0x2b7a6e,_0x1d7ffe,_0x1abd2d);}function propagateStylesAsHTMLElements(_0x5e90bb,_0x54e69b,_0x3f3d73){for(const _0x1c03d3 in _0x3f3d73){_0x3f3d73[_0x1c03d3]['forEach'](([,_0x4ef9b8])=>{const _0x1b64d3=_0x54e69b['createElement'](_0x4ef9b8,[],_0x5e90bb['getChildren']());_0x54e69b['insertChild'](0x0,_0x1b64d3,_0x5e90bb);}),_0x54e69b['removeStyle'](_0x1c03d3,_0x5e90bb);}}function propagateStylesAsSpan(_0x33335e,_0x201fbd,_0x4d3bf4){if(!Object['keys'](_0x4d3bf4)['length'])return;const _0x25c485=_0x201fbd['createElement']('span',[],_0x33335e['getChildren']());_0x201fbd['setStyle'](_0x4d3bf4,_0x25c485),_0x201fbd['insertChild'](0x0,_0x25c485,_0x33335e),_0x201fbd['removeStyle'](Object['keys'](_0x4d3bf4),_0x33335e);}function getStylesToPropagate(_0x1def4f,_0x458d28){const _0x1c128a={},_0x5a5720={};return _0x458d28['forEach'](_0x19ff6d=>{const _0x187496=_0x1def4f['getStyle'](_0x19ff6d);if(_0x187496){if(isPropertyToBePropagatedAsSpan(_0x19ff6d))_0x1c128a[_0x19ff6d]=_0x187496;else{if(isPropertyToBePropagatedAsHTMLElement(_0x19ff6d)){const _0x121810=_0x187496['split']('\x20');_0x589da1[_0x19ff6d]['forEach'](([_0x3d09bd,_0x4663b7])=>{for(const _0x1c4ac8 of _0x121810){('function'==typeof _0x3d09bd&&_0x3d09bd(_0x1c4ac8)||_0x3d09bd===_0x1c4ac8)&&(_0x5a5720[_0x19ff6d]=[..._0x5a5720[_0x19ff6d]||[],[_0x3d09bd,_0x4663b7]]);}});}}}}),{'spanStyles':_0x1c128a,'stylesToBeHtmlElements':_0x5a5720};}class MSOfficeInlineStylePropagator extends ckeditor5['PasteFromOfficeMSWordNormalizer']{['execute'](_0x56a3a5){const {body:_0x47e248}=_0x56a3a5['_parsedData'],_0x306f0d=new ckeditor5['ViewUpcastWriter'](_0x47e248['document']),_0x4b8b53=_0x306f0d['createRangeIn'](_0x47e248),_0x3ad8f4=new ckeditor5['ViewDocument'](_0x306f0d['document']['stylesProcessor']),_0x40a784=[...new ckeditor5['ViewDomConverter'](_0x3ad8f4)['blockElements'],'font'],_0x48aa87=_0x4b8b53['getItems']();for(const _0x4861c7 of _0x48aa87)_0x4861c7['is']('element')&&_0x40a784['includes'](_0x4861c7['name'])&&propagateStyleProperties(_0x4861c7,_0x306f0d,getStylePropertyNamesToPropagate(_0x4861c7));_0x56a3a5['content']=_0x47e248;}['isActive'](_0x2caff6){return super['isActive'](_0x2caff6)||isMSExcelContent(_0x2caff6);}}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 _0x2bd3e3=this['editor'],_0x3d181a=_0x2bd3e3['plugins']['get']('ClipboardPipeline'),_0x3bb58b=_0x2bd3e3['editing']['view']['document'],_0xa9072c=new MSOfficeInlineStylePropagator(_0x3bb58b);_0x3d181a['on']('inputTransformation',(_0x2b33d5,_0x2627e2)=>{const _0xc7e3e3=_0x2627e2['dataTransfer']['getData']('text/html');_0xa9072c['isActive'](_0xc7e3e3)&&(_0x2627e2['_parsedData']||(_0x2627e2['_parsedData']=ckeditor5['parsePasteOfficeHtml'](_0xc7e3e3,_0x3bb58b['stylesProcessor'])),_0xa9072c['execute'](_0x2627e2));},{'priority':ckeditor5['priorities']['get']('high')+0xa}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x6371c2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1298ed;for(const _0x401dfe in _0x6371c2){const _0x10a1c3=_0x401dfe,_0x38817b=_0x6371c2[_0x10a1c3];if('pasteFromOfficeEnhancedLicenseKeyValid'==_0x38817b||'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x38817b||'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x38817b||'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x38817b||'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x38817b||'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x38817b||'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x38817b){delete _0x6371c2[_0x10a1c3],_0x1298ed=_0x38817b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x1298ed&&_0x6371c2['_showLicenseError']('invalid'),'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x1298ed&&_0x6371c2['_showLicenseError']('expired'),'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x1298ed&&_0x6371c2['_showLicenseError']('domainLimit'),'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x1298ed&&_0x6371c2['_showLicenseError']('featureNotAllowed','PasteFromOfficeEnhanced'),'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x1298ed&&_0x6371c2['_showLicenseError']('evaluationLimit'),'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x1298ed&&_0x6371c2['_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 _0x497c9c='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:'undefined'!=typeof global?global:'undefined'!=typeof self?self:{},_0x2f36a3={},_0x5d63b0={},_0x1741da,_0x2a82d1;function requireAspromise(){if(_0x2a82d1)return _0x1741da;return _0x2a82d1=0x1,_0x1741da=function(_0xaa6fe4,_0x5f1f54){var _0xc90f0a=new Array(arguments['length']-0x1),_0x4ea350=0x0,_0x3aaf7d=0x2,_0x595157=!0x0;for(;_0x3aaf7d<arguments['length'];)_0xc90f0a[_0x4ea350++]=arguments[_0x3aaf7d++];return new Promise(function(_0x202835,_0x47c9d8){_0xc90f0a[_0x4ea350]=function(_0xbe57f8){if(_0x595157){if(_0x595157=!0x1,_0xbe57f8)_0x47c9d8(_0xbe57f8);else{for(var _0x2f5dcc=new Array(arguments['length']-0x1),_0xc304b8=0x0;_0xc304b8<_0x2f5dcc['length'];)_0x2f5dcc[_0xc304b8++]=arguments[_0xc304b8];_0x202835['apply'](null,_0x2f5dcc);}}};try{_0xaa6fe4['apply'](_0x5f1f54||null,_0xc90f0a);}catch(_0x2c4877){_0x595157&&(_0x595157=!0x1,_0x47c9d8(_0x2c4877));}});},_0x1741da;}var _0x443656={},_0x2333fd,eventemitter,hasRequiredEventemitter,float,hasRequiredFloat,_0x28f468,_0xfc6b53;function requireBase64(){return _0x2333fd||(_0x2333fd=0x1,function(_0x46432d){var _0x27f547=_0x46432d;_0x27f547['length']=function(_0x58844e){var _0x529bb6=_0x58844e['length'];if(!_0x529bb6)return 0x0;for(var _0x6cf997=0x0;--_0x529bb6%0x4>0x1&&'='===_0x58844e['charAt'](_0x529bb6);)++_0x6cf997;return Math['ceil'](0x3*_0x58844e['length'])/0x4-_0x6cf997;};for(var _0xe4ecb7=new Array(0x40),_0x45c03a=new Array(0x7b),_0x4e916e=0x0;_0x4e916e<0x40;)_0x45c03a[_0xe4ecb7[_0x4e916e]=_0x4e916e<0x1a?_0x4e916e+0x41:_0x4e916e<0x34?_0x4e916e+0x47:_0x4e916e<0x3e?_0x4e916e-0x4:_0x4e916e-0x3b|0x2b]=_0x4e916e++;_0x27f547['encode']=function(_0x3bda40,_0xc151fe,_0x2b5084){for(var t,_0x325e11=null,_0x33ba7c=[],_0x31a39c=0x0,_0x4b9eed=0x0;_0xc151fe<_0x2b5084;){var _0x518350=_0x3bda40[_0xc151fe++];switch(_0x4b9eed){case 0x0:_0x33ba7c[_0x31a39c++]=_0xe4ecb7[_0x518350>>0x2],t=(0x3&_0x518350)<<0x4,_0x4b9eed=0x1;break;case 0x1:_0x33ba7c[_0x31a39c++]=_0xe4ecb7[t|_0x518350>>0x4],t=(0xf&_0x518350)<<0x2,_0x4b9eed=0x2;break;case 0x2:_0x33ba7c[_0x31a39c++]=_0xe4ecb7[t|_0x518350>>0x6],_0x33ba7c[_0x31a39c++]=_0xe4ecb7[0x3f&_0x518350],_0x4b9eed=0x0;}_0x31a39c>0x1fff&&((_0x325e11||(_0x325e11=[]))['push'](String['fromCharCode']['apply'](String,_0x33ba7c)),_0x31a39c=0x0);}return _0x4b9eed&&(_0x33ba7c[_0x31a39c++]=_0xe4ecb7[t],_0x33ba7c[_0x31a39c++]=0x3d,0x1===_0x4b9eed&&(_0x33ba7c[_0x31a39c++]=0x3d)),_0x325e11?(_0x31a39c&&_0x325e11['push'](String['fromCharCode']['apply'](String,_0x33ba7c['slice'](0x0,_0x31a39c))),_0x325e11['join']('')):String['fromCharCode']['apply'](String,_0x33ba7c['slice'](0x0,_0x31a39c));};var _0x32634a='invalid\x20encoding';_0x27f547['decode']=function(_0x581bdc,_0x141c25,_0x435977){for(var t,_0x27214c=_0x435977,_0x4924ed=0x0,_0x11281a=0x0;_0x11281a<_0x581bdc['length'];){var _0x4b9cb9=_0x581bdc['charCodeAt'](_0x11281a++);if(0x3d===_0x4b9cb9&&_0x4924ed>0x1)break;if(void 0x0===(_0x4b9cb9=_0x45c03a[_0x4b9cb9]))throw Error(_0x32634a);switch(_0x4924ed){case 0x0:t=_0x4b9cb9,_0x4924ed=0x1;break;case 0x1:_0x141c25[_0x435977++]=t<<0x2|(0x30&_0x4b9cb9)>>0x4,t=_0x4b9cb9,_0x4924ed=0x2;break;case 0x2:_0x141c25[_0x435977++]=(0xf&t)<<0x4|(0x3c&_0x4b9cb9)>>0x2,t=_0x4b9cb9,_0x4924ed=0x3;break;case 0x3:_0x141c25[_0x435977++]=(0x3&t)<<0x6|_0x4b9cb9,_0x4924ed=0x0;}}if(0x1===_0x4924ed)throw Error(_0x32634a);return _0x435977-_0x27214c;},_0x27f547['test']=function(_0x171d75){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/['test'](_0x171d75);};}(_0x443656)),_0x443656;}function requireEventemitter(){if(hasRequiredEventemitter)return eventemitter;function _0x237c1f(){this['_listeners']={};}return hasRequiredEventemitter=0x1,eventemitter=_0x237c1f,_0x237c1f['prototype']['on']=function(_0x3fc84f,_0x9b10a2,_0x47c67d){return(this['_listeners'][_0x3fc84f]||(this['_listeners'][_0x3fc84f]=[]))['push']({'fn':_0x9b10a2,'ctx':_0x47c67d||this}),this;},_0x237c1f['prototype']['off']=function(_0x5e974d,_0x3995bb){if(void 0x0===_0x5e974d)this['_listeners']={};else{if(void 0x0===_0x3995bb)this['_listeners'][_0x5e974d]=[];else{for(var _0x1837bb=this['_listeners'][_0x5e974d],_0x18e17b=0x0;_0x18e17b<_0x1837bb['length'];)_0x1837bb[_0x18e17b]['fn']===_0x3995bb?_0x1837bb['splice'](_0x18e17b,0x1):++_0x18e17b;}}return this;},_0x237c1f['prototype']['emit']=function(_0x44a336){var _0x206491=this['_listeners'][_0x44a336];if(_0x206491){for(var _0x206701=[],_0x562763=0x1;_0x562763<arguments['length'];)_0x206701['push'](arguments[_0x562763++]);for(_0x562763=0x0;_0x562763<_0x206491['length'];)_0x206491[_0x562763]['fn']['apply'](_0x206491[_0x562763++]['ctx'],_0x206701);}return this;},eventemitter;}function requireFloat(){if(hasRequiredFloat)return float;function _0x5d4171(_0x5abd2f){return'undefined'!=typeof Float32Array?(function(){var _0x36cafd=new Float32Array([-0x0]),_0x5e2352=new Uint8Array(_0x36cafd['buffer']),_0x841bbd=0x80===_0x5e2352[0x3];function _0x43bb71(_0x28ddaf,_0x3275bd,_0x81ba1b){_0x36cafd[0x0]=_0x28ddaf,_0x3275bd[_0x81ba1b]=_0x5e2352[0x0],_0x3275bd[_0x81ba1b+0x1]=_0x5e2352[0x1],_0x3275bd[_0x81ba1b+0x2]=_0x5e2352[0x2],_0x3275bd[_0x81ba1b+0x3]=_0x5e2352[0x3];}function _0x49a86f(_0x31f045,_0x5ef179,_0x29fe68){_0x36cafd[0x0]=_0x31f045,_0x5ef179[_0x29fe68]=_0x5e2352[0x3],_0x5ef179[_0x29fe68+0x1]=_0x5e2352[0x2],_0x5ef179[_0x29fe68+0x2]=_0x5e2352[0x1],_0x5ef179[_0x29fe68+0x3]=_0x5e2352[0x0];}function _0xfba470(_0x2d296a,_0x48b90d){return _0x5e2352[0x0]=_0x2d296a[_0x48b90d],_0x5e2352[0x1]=_0x2d296a[_0x48b90d+0x1],_0x5e2352[0x2]=_0x2d296a[_0x48b90d+0x2],_0x5e2352[0x3]=_0x2d296a[_0x48b90d+0x3],_0x36cafd[0x0];}function _0xa8e8e4(_0x2ee8e6,_0x1436d6){return _0x5e2352[0x3]=_0x2ee8e6[_0x1436d6],_0x5e2352[0x2]=_0x2ee8e6[_0x1436d6+0x1],_0x5e2352[0x1]=_0x2ee8e6[_0x1436d6+0x2],_0x5e2352[0x0]=_0x2ee8e6[_0x1436d6+0x3],_0x36cafd[0x0];}_0x5abd2f['writeFloatLE']=_0x841bbd?_0x43bb71:_0x49a86f,_0x5abd2f['writeFloatBE']=_0x841bbd?_0x49a86f:_0x43bb71,_0x5abd2f['readFloatLE']=_0x841bbd?_0xfba470:_0xa8e8e4,_0x5abd2f['readFloatBE']=_0x841bbd?_0xa8e8e4:_0xfba470;}()):(function(){function _0x1b67c3(_0x33fcf4,_0x5cca17,_0x3da6e4,_0x5b8ed2){var _0x497c38=_0x5cca17<0x0?0x1:0x0;if(_0x497c38&&(_0x5cca17=-_0x5cca17),0x0===_0x5cca17)_0x33fcf4(0x1/_0x5cca17>0x0?0x0:0x80000000,_0x3da6e4,_0x5b8ed2);else{if(isNaN(_0x5cca17))_0x33fcf4(0x7fc00000,_0x3da6e4,_0x5b8ed2);else{if(_0x5cca17>0xffffff00000000000000000000000000)_0x33fcf4((_0x497c38<<0x1f|0x7f800000)>>>0x0,_0x3da6e4,_0x5b8ed2);else{if(_0x5cca17<1.1754943508222875e-38)_0x33fcf4((_0x497c38<<0x1f|Math['round'](_0x5cca17/1.401298464324817e-45))>>>0x0,_0x3da6e4,_0x5b8ed2);else{var _0x3417aa=Math['floor'](Math['log'](_0x5cca17)/Math['LN2']);_0x33fcf4((_0x497c38<<0x1f|_0x3417aa+0x7f<<0x17|0x7fffff&Math['round'](_0x5cca17*Math['pow'](0x2,-_0x3417aa)*0x800000))>>>0x0,_0x3da6e4,_0x5b8ed2);}}}}}function _0x16e17a(_0x40d2e5,_0x217852,_0x3bd67b){var _0x3ca153=_0x40d2e5(_0x217852,_0x3bd67b),_0x528718=0x2*(_0x3ca153>>0x1f)+0x1,_0x4a2bda=_0x3ca153>>>0x17&0xff,_0x4d50e5=0x7fffff&_0x3ca153;return 0xff===_0x4a2bda?_0x4d50e5?NaN:_0x528718*(0x1/0x0):0x0===_0x4a2bda?1.401298464324817e-45*_0x528718*_0x4d50e5:_0x528718*Math['pow'](0x2,_0x4a2bda-0x96)*(_0x4d50e5+0x800000);}_0x5abd2f['writeFloatLE']=_0x1b67c3['bind'](null,_0x1b7fce),_0x5abd2f['writeFloatBE']=_0x1b67c3['bind'](null,_0x184322),_0x5abd2f['readFloatLE']=_0x16e17a['bind'](null,_0x1b314b),_0x5abd2f['readFloatBE']=_0x16e17a['bind'](null,_0x52e4e3);}()),'undefined'!=typeof Float64Array?(function(){var _0x2057f7=new Float64Array([-0x0]),_0x3358ad=new Uint8Array(_0x2057f7['buffer']),_0x130fe6=0x80===_0x3358ad[0x7];function _0x506396(_0x409c50,_0x478dd1,_0x5aad3c){_0x2057f7[0x0]=_0x409c50,_0x478dd1[_0x5aad3c]=_0x3358ad[0x0],_0x478dd1[_0x5aad3c+0x1]=_0x3358ad[0x1],_0x478dd1[_0x5aad3c+0x2]=_0x3358ad[0x2],_0x478dd1[_0x5aad3c+0x3]=_0x3358ad[0x3],_0x478dd1[_0x5aad3c+0x4]=_0x3358ad[0x4],_0x478dd1[_0x5aad3c+0x5]=_0x3358ad[0x5],_0x478dd1[_0x5aad3c+0x6]=_0x3358ad[0x6],_0x478dd1[_0x5aad3c+0x7]=_0x3358ad[0x7];}function _0x3f837d(_0x255bbe,_0x3009f1,_0x11dbac){_0x2057f7[0x0]=_0x255bbe,_0x3009f1[_0x11dbac]=_0x3358ad[0x7],_0x3009f1[_0x11dbac+0x1]=_0x3358ad[0x6],_0x3009f1[_0x11dbac+0x2]=_0x3358ad[0x5],_0x3009f1[_0x11dbac+0x3]=_0x3358ad[0x4],_0x3009f1[_0x11dbac+0x4]=_0x3358ad[0x3],_0x3009f1[_0x11dbac+0x5]=_0x3358ad[0x2],_0x3009f1[_0x11dbac+0x6]=_0x3358ad[0x1],_0x3009f1[_0x11dbac+0x7]=_0x3358ad[0x0];}function _0x26dd7e(_0x468669,_0x162786){return _0x3358ad[0x0]=_0x468669[_0x162786],_0x3358ad[0x1]=_0x468669[_0x162786+0x1],_0x3358ad[0x2]=_0x468669[_0x162786+0x2],_0x3358ad[0x3]=_0x468669[_0x162786+0x3],_0x3358ad[0x4]=_0x468669[_0x162786+0x4],_0x3358ad[0x5]=_0x468669[_0x162786+0x5],_0x3358ad[0x6]=_0x468669[_0x162786+0x6],_0x3358ad[0x7]=_0x468669[_0x162786+0x7],_0x2057f7[0x0];}function _0x4fd93c(_0x11d4e4,_0x26d026){return _0x3358ad[0x7]=_0x11d4e4[_0x26d026],_0x3358ad[0x6]=_0x11d4e4[_0x26d026+0x1],_0x3358ad[0x5]=_0x11d4e4[_0x26d026+0x2],_0x3358ad[0x4]=_0x11d4e4[_0x26d026+0x3],_0x3358ad[0x3]=_0x11d4e4[_0x26d026+0x4],_0x3358ad[0x2]=_0x11d4e4[_0x26d026+0x5],_0x3358ad[0x1]=_0x11d4e4[_0x26d026+0x6],_0x3358ad[0x0]=_0x11d4e4[_0x26d026+0x7],_0x2057f7[0x0];}_0x5abd2f['writeDoubleLE']=_0x130fe6?_0x506396:_0x3f837d,_0x5abd2f['writeDoubleBE']=_0x130fe6?_0x3f837d:_0x506396,_0x5abd2f['readDoubleLE']=_0x130fe6?_0x26dd7e:_0x4fd93c,_0x5abd2f['readDoubleBE']=_0x130fe6?_0x4fd93c:_0x26dd7e;}()):(function(){function _0x2529a3(_0x3a03a8,_0x58e847,_0x4bdc9b,_0x3dd1c9,_0x1e7b91,_0x158c1b){var _0x33f2b6=_0x3dd1c9<0x0?0x1:0x0;if(_0x33f2b6&&(_0x3dd1c9=-_0x3dd1c9),0x0===_0x3dd1c9)_0x3a03a8(0x0,_0x1e7b91,_0x158c1b+_0x58e847),_0x3a03a8(0x1/_0x3dd1c9>0x0?0x0:0x80000000,_0x1e7b91,_0x158c1b+_0x4bdc9b);else{if(isNaN(_0x3dd1c9))_0x3a03a8(0x0,_0x1e7b91,_0x158c1b+_0x58e847),_0x3a03a8(0x7ff80000,_0x1e7b91,_0x158c1b+_0x4bdc9b);else{if(_0x3dd1c9>0xfffffffffffff800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)_0x3a03a8(0x0,_0x1e7b91,_0x158c1b+_0x58e847),_0x3a03a8((_0x33f2b6<<0x1f|0x7ff00000)>>>0x0,_0x1e7b91,_0x158c1b+_0x4bdc9b);else{var _0x52d1a2;if(_0x3dd1c9<2.2250738585072014e-308)_0x3a03a8((_0x52d1a2=_0x3dd1c9/5e-324)>>>0x0,_0x1e7b91,_0x158c1b+_0x58e847),_0x3a03a8((_0x33f2b6<<0x1f|_0x52d1a2/0x100000000)>>>0x0,_0x1e7b91,_0x158c1b+_0x4bdc9b);else{var _0x1aa0a4=Math['floor'](Math['log'](_0x3dd1c9)/Math['LN2']);0x400===_0x1aa0a4&&(_0x1aa0a4=0x3ff),_0x3a03a8(0x10000000000000*(_0x52d1a2=_0x3dd1c9*Math['pow'](0x2,-_0x1aa0a4))>>>0x0,_0x1e7b91,_0x158c1b+_0x58e847),_0x3a03a8((_0x33f2b6<<0x1f|_0x1aa0a4+0x3ff<<0x14|0x100000*_0x52d1a2&0xfffff)>>>0x0,_0x1e7b91,_0x158c1b+_0x4bdc9b);}}}}}function _0x34be40(_0x12fb6c,_0x176054,_0x34e29a,_0x4d6976,_0x1291d9){var _0x3a5f7a=_0x12fb6c(_0x4d6976,_0x1291d9+_0x176054),_0x2b5926=_0x12fb6c(_0x4d6976,_0x1291d9+_0x34e29a),_0x1e0864=0x2*(_0x2b5926>>0x1f)+0x1,_0x208fdc=_0x2b5926>>>0x14&0x7ff,_0x203596=0x100000000*(0xfffff&_0x2b5926)+_0x3a5f7a;return 0x7ff===_0x208fdc?_0x203596?NaN:_0x1e0864*(0x1/0x0):0x0===_0x208fdc?5e-324*_0x1e0864*_0x203596:_0x1e0864*Math['pow'](0x2,_0x208fdc-0x433)*(_0x203596+0x10000000000000);}_0x5abd2f['writeDoubleLE']=_0x2529a3['bind'](null,_0x1b7fce,0x0,0x4),_0x5abd2f['writeDoubleBE']=_0x2529a3['bind'](null,_0x184322,0x4,0x0),_0x5abd2f['readDoubleLE']=_0x34be40['bind'](null,_0x1b314b,0x0,0x4),_0x5abd2f['readDoubleBE']=_0x34be40['bind'](null,_0x52e4e3,0x4,0x0);}()),_0x5abd2f;}function _0x1b7fce(_0x57ba86,_0x3fb646,_0x122cdc){_0x3fb646[_0x122cdc]=0xff&_0x57ba86,_0x3fb646[_0x122cdc+0x1]=_0x57ba86>>>0x8&0xff,_0x3fb646[_0x122cdc+0x2]=_0x57ba86>>>0x10&0xff,_0x3fb646[_0x122cdc+0x3]=_0x57ba86>>>0x18;}function _0x184322(_0x1a95ca,_0x3266a0,_0x57a295){_0x3266a0[_0x57a295]=_0x1a95ca>>>0x18,_0x3266a0[_0x57a295+0x1]=_0x1a95ca>>>0x10&0xff,_0x3266a0[_0x57a295+0x2]=_0x1a95ca>>>0x8&0xff,_0x3266a0[_0x57a295+0x3]=0xff&_0x1a95ca;}function _0x1b314b(_0x1d8b0d,_0x28b84b){return(_0x1d8b0d[_0x28b84b]|_0x1d8b0d[_0x28b84b+0x1]<<0x8|_0x1d8b0d[_0x28b84b+0x2]<<0x10|_0x1d8b0d[_0x28b84b+0x3]<<0x18)>>>0x0;}function _0x52e4e3(_0x454c69,_0x4e277d){return(_0x454c69[_0x4e277d]<<0x18|_0x454c69[_0x4e277d+0x1]<<0x10|_0x454c69[_0x4e277d+0x2]<<0x8|_0x454c69[_0x4e277d+0x3])>>>0x0;}return hasRequiredFloat=0x1,float=_0x5d4171(_0x5d4171);}function requireInquire(){if(_0xfc6b53)return _0x28f468;function _0x552f72(_0x2d55ca){try{var _0x473108=eval('quire'['replace'](/^/,'re'))(_0x2d55ca);if(_0x473108&&(_0x473108['length']||Object['keys'](_0x473108)['length']))return _0x473108;}catch(_0x5d988e){}return null;}return _0xfc6b53=0x1,_0x28f468=_0x552f72,_0x28f468;}var utf8={},hasRequiredUtf8,_0x144e93,_0x4fe820,longbits,hasRequiredLongbits,_0x35e5da,writer,hasRequiredWriter,writer_buffer,hasRequiredWriter_buffer,_0x35a5d1,_0x390c7a,_0x375b82,_0x4073aa;function requireUtf8(){return hasRequiredUtf8||(hasRequiredUtf8=0x1,function(_0x37e61d){var _0x5e39e9=_0x37e61d;_0x5e39e9['length']=function(_0x3201d3){for(var _0xa2bbd7=0x0,_0x14a836=0x0,_0x4d89e0=0x0;_0x4d89e0<_0x3201d3['length'];++_0x4d89e0)(_0x14a836=_0x3201d3['charCodeAt'](_0x4d89e0))<0x80?_0xa2bbd7+=0x1:_0x14a836<0x800?_0xa2bbd7+=0x2:0xd800==(0xfc00&_0x14a836)&&0xdc00==(0xfc00&_0x3201d3['charCodeAt'](_0x4d89e0+0x1))?(++_0x4d89e0,_0xa2bbd7+=0x4):_0xa2bbd7+=0x3;return _0xa2bbd7;},_0x5e39e9['read']=function(_0x4da10f,_0x4ab02e,_0x5d9fc3){if(_0x5d9fc3-_0x4ab02e<0x1)return'';for(var t,_0x1f8f07=null,_0x114792=[],_0x291dc9=0x0;_0x4ab02e<_0x5d9fc3;)(t=_0x4da10f[_0x4ab02e++])<0x80?_0x114792[_0x291dc9++]=t:t>0xbf&&t<0xe0?_0x114792[_0x291dc9++]=(0x1f&t)<<0x6|0x3f&_0x4da10f[_0x4ab02e++]:t>0xef&&t<0x16d?(t=((0x7&t)<<0x12|(0x3f&_0x4da10f[_0x4ab02e++])<<0xc|(0x3f&_0x4da10f[_0x4ab02e++])<<0x6|0x3f&_0x4da10f[_0x4ab02e++])-0x10000,_0x114792[_0x291dc9++]=0xd800+(t>>0xa),_0x114792[_0x291dc9++]=0xdc00+(0x3ff&t)):_0x114792[_0x291dc9++]=(0xf&t)<<0xc|(0x3f&_0x4da10f[_0x4ab02e++])<<0x6|0x3f&_0x4da10f[_0x4ab02e++],_0x291dc9>0x1fff&&((_0x1f8f07||(_0x1f8f07=[]))['push'](String['fromCharCode']['apply'](String,_0x114792)),_0x291dc9=0x0);return _0x1f8f07?(_0x291dc9&&_0x1f8f07['push'](String['fromCharCode']['apply'](String,_0x114792['slice'](0x0,_0x291dc9))),_0x1f8f07['join']('')):String['fromCharCode']['apply'](String,_0x114792['slice'](0x0,_0x291dc9));},_0x5e39e9['write']=function(_0x4b88a3,_0x42791e,_0x1a1987){for(var _0x23a244,_0x2ce226,_0x52481c=_0x1a1987,_0x4e7d75=0x0;_0x4e7d75<_0x4b88a3['length'];++_0x4e7d75)(_0x23a244=_0x4b88a3['charCodeAt'](_0x4e7d75))<0x80?_0x42791e[_0x1a1987++]=_0x23a244:_0x23a244<0x800?(_0x42791e[_0x1a1987++]=_0x23a244>>0x6|0xc0,_0x42791e[_0x1a1987++]=0x3f&_0x23a244|0x80):0xd800==(0xfc00&_0x23a244)&&0xdc00==(0xfc00&(_0x2ce226=_0x4b88a3['charCodeAt'](_0x4e7d75+0x1)))?(_0x23a244=0x10000+((0x3ff&_0x23a244)<<0xa)+(0x3ff&_0x2ce226),++_0x4e7d75,_0x42791e[_0x1a1987++]=_0x23a244>>0x12|0xf0,_0x42791e[_0x1a1987++]=_0x23a244>>0xc&0x3f|0x80,_0x42791e[_0x1a1987++]=_0x23a244>>0x6&0x3f|0x80,_0x42791e[_0x1a1987++]=0x3f&_0x23a244|0x80):(_0x42791e[_0x1a1987++]=_0x23a244>>0xc|0xe0,_0x42791e[_0x1a1987++]=_0x23a244>>0x6&0x3f|0x80,_0x42791e[_0x1a1987++]=0x3f&_0x23a244|0x80);return _0x1a1987-_0x52481c;};}(utf8)),utf8;}function requirePool(){if(_0x4fe820)return _0x144e93;return _0x4fe820=0x1,_0x144e93=function(_0xb3ac92,_0x3ef12,_0x1d716a){var _0x280bab=_0x1d716a||0x2000,_0x2729bc=_0x280bab>>>0x1,_0x4dad9d=null,_0x116f70=_0x280bab;return function(_0x59929b){if(_0x59929b<0x1||_0x59929b>_0x2729bc)return _0xb3ac92(_0x59929b);_0x116f70+_0x59929b>_0x280bab&&(_0x4dad9d=_0xb3ac92(_0x280bab),_0x116f70=0x0);var _0x1cf0dc=_0x3ef12['call'](_0x4dad9d,_0x116f70,_0x116f70+=_0x59929b);return 0x7&_0x116f70&&(_0x116f70=0x1+(0x7|_0x116f70)),_0x1cf0dc;};},_0x144e93;}function requireLongbits(){if(hasRequiredLongbits)return longbits;hasRequiredLongbits=0x1,longbits=_0x3b3005;var _0x32fdd2=requireMinimal$1();function _0x3b3005(_0x1170b2,_0x371cc0){this['lo']=_0x1170b2>>>0x0,this['hi']=_0x371cc0>>>0x0;}var _0x232f25=_0x3b3005['zero']=new _0x3b3005(0x0,0x0);_0x232f25['toNumber']=function(){return 0x0;},_0x232f25['zzEncode']=_0x232f25['zzDecode']=function(){return this;},_0x232f25['length']=function(){return 0x1;};var _0x100ce8=_0x3b3005['zeroHash']='\x00\x00\x00\x00\x00\x00\x00\x00';_0x3b3005['fromNumber']=function(_0x5cfa46){if(0x0===_0x5cfa46)return _0x232f25;var _0x3406da=_0x5cfa46<0x0;_0x3406da&&(_0x5cfa46=-_0x5cfa46);var _0x42a357=_0x5cfa46>>>0x0,_0x4537bb=(_0x5cfa46-_0x42a357)/0x100000000>>>0x0;return _0x3406da&&(_0x4537bb=~_0x4537bb>>>0x0,_0x42a357=~_0x42a357>>>0x0,++_0x42a357>0xffffffff&&(_0x42a357=0x0,++_0x4537bb>0xffffffff&&(_0x4537bb=0x0))),new _0x3b3005(_0x42a357,_0x4537bb);},_0x3b3005['from']=function(_0x2d9630){if('number'==typeof _0x2d9630)return _0x3b3005['fromNumber'](_0x2d9630);if(_0x32fdd2['isString'](_0x2d9630)){if(!_0x32fdd2['Long'])return _0x3b3005['fromNumber'](parseInt(_0x2d9630,0xa));_0x2d9630=_0x32fdd2['Long']['fromString'](_0x2d9630);}return _0x2d9630['low']||_0x2d9630['high']?new _0x3b3005(_0x2d9630['low']>>>0x0,_0x2d9630['high']>>>0x0):_0x232f25;},_0x3b3005['prototype']['toNumber']=function(_0xdeced3){if(!_0xdeced3&&this['hi']>>>0x1f){var _0x3dd9e7=0x1+~this['lo']>>>0x0,_0x558514=~this['hi']>>>0x0;return _0x3dd9e7||(_0x558514=_0x558514+0x1>>>0x0),-(_0x3dd9e7+0x100000000*_0x558514);}return this['lo']+0x100000000*this['hi'];},_0x3b3005['prototype']['toLong']=function(_0x27b8ce){return _0x32fdd2['Long']?new _0x32fdd2['Long'](0x0|this['lo'],0x0|this['hi'],Boolean(_0x27b8ce)):{'low':0x0|this['lo'],'high':0x0|this['hi'],'unsigned':Boolean(_0x27b8ce)};};var _0x3b7717=String['prototype']['charCodeAt'];return _0x3b3005['fromHash']=function(_0x4e7b2a){return _0x4e7b2a===_0x100ce8?_0x232f25:new _0x3b3005((_0x3b7717['call'](_0x4e7b2a,0x0)|_0x3b7717['call'](_0x4e7b2a,0x1)<<0x8|_0x3b7717['call'](_0x4e7b2a,0x2)<<0x10|_0x3b7717['call'](_0x4e7b2a,0x3)<<0x18)>>>0x0,(_0x3b7717['call'](_0x4e7b2a,0x4)|_0x3b7717['call'](_0x4e7b2a,0x5)<<0x8|_0x3b7717['call'](_0x4e7b2a,0x6)<<0x10|_0x3b7717['call'](_0x4e7b2a,0x7)<<0x18)>>>0x0);},_0x3b3005['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);},_0x3b3005['prototype']['zzEncode']=function(){var _0xe2a467=this['hi']>>0x1f;return this['hi']=((this['hi']<<0x1|this['lo']>>>0x1f)^_0xe2a467)>>>0x0,this['lo']=(this['lo']<<0x1^_0xe2a467)>>>0x0,this;},_0x3b3005['prototype']['zzDecode']=function(){var _0x38290b=-(0x1&this['lo']);return this['lo']=((this['lo']>>>0x1|this['hi']<<0x1f)^_0x38290b)>>>0x0,this['hi']=(this['hi']>>>0x1^_0x38290b)>>>0x0,this;},_0x3b3005['prototype']['length']=function(){var _0x3c7d30=this['lo'],_0xbdd0b1=(this['lo']>>>0x1c|this['hi']<<0x4)>>>0x0,_0x4c3f9a=this['hi']>>>0x18;return 0x0===_0x4c3f9a?0x0===_0xbdd0b1?_0x3c7d30<0x4000?_0x3c7d30<0x80?0x1:0x2:_0x3c7d30<0x200000?0x3:0x4:_0xbdd0b1<0x4000?_0xbdd0b1<0x80?0x5:0x6:_0xbdd0b1<0x200000?0x7:0x8:_0x4c3f9a<0x80?0x9:0xa;},longbits;}function requireMinimal$1(){return _0x35e5da||(_0x35e5da=0x1,function(_0xc81822){var _0x54c183=_0xc81822;function _0x2d7ef9(_0x3e5d4d,_0x4a53d8,_0x2e566a){for(var _0x1c2c6e=Object['keys'](_0x4a53d8),_0x18492b=0x0;_0x18492b<_0x1c2c6e['length'];++_0x18492b)void 0x0!==_0x3e5d4d[_0x1c2c6e[_0x18492b]]&&_0x2e566a||(_0x3e5d4d[_0x1c2c6e[_0x18492b]]=_0x4a53d8[_0x1c2c6e[_0x18492b]]);return _0x3e5d4d;}function _0x567eaa(_0x43984a){function _0x39eb6d(_0x200ac9,_0xfa5f5e){if(!(this instanceof _0x39eb6d))return new _0x39eb6d(_0x200ac9,_0xfa5f5e);Object['defineProperty'](this,'message',{'get':function(){return _0x200ac9;}}),Error['captureStackTrace']?Error['captureStackTrace'](this,_0x39eb6d):Object['defineProperty'](this,'stack',{'value':new Error()['stack']||''}),_0xfa5f5e&&_0x2d7ef9(this,_0xfa5f5e);}return _0x39eb6d['prototype']=Object['create'](Error['prototype'],{'constructor':{'value':_0x39eb6d,'writable':!0x0,'enumerable':!0x1,'configurable':!0x0},'name':{'get':function(){return _0x43984a;},'set':void 0x0,'enumerable':!0x1,'configurable':!0x0},'toString':{'value':function(){return this['name']+':\x20'+this['message'];},'writable':!0x0,'enumerable':!0x1,'configurable':!0x0}}),_0x39eb6d;}_0x54c183['asPromise']=requireAspromise(),_0x54c183['base64']=requireBase64(),_0x54c183['EventEmitter']=requireEventemitter(),_0x54c183['float']=requireFloat(),_0x54c183['inquire']=requireInquire(),_0x54c183['utf8']=requireUtf8(),_0x54c183['pool']=requirePool(),_0x54c183['LongBits']=requireLongbits(),_0x54c183['isNode']=Boolean(void 0x0!==_0x497c9c&&_0x497c9c&&_0x497c9c['process']&&_0x497c9c['process']['versions']&&_0x497c9c['process']['versions']['node']),_0x54c183['global']=_0x54c183['isNode']&&_0x497c9c||'undefined'!=typeof window&&window||'undefined'!=typeof self&&self||_0x5d63b0,_0x54c183['emptyArray']=Object['freeze']?Object['freeze']([]):[],_0x54c183['emptyObject']=Object['freeze']?Object['freeze']({}):{},_0x54c183['isInteger']=Number['isInteger']||function(_0x2c189a){return'number'==typeof _0x2c189a&&isFinite(_0x2c189a)&&Math['floor'](_0x2c189a)===_0x2c189a;},_0x54c183['isString']=function(_0x8db9fb){return'string'==typeof _0x8db9fb||_0x8db9fb instanceof String;},_0x54c183['isObject']=function(_0x2995b4){return _0x2995b4&&'object'==typeof _0x2995b4;},_0x54c183['isset']=_0x54c183['isSet']=function(_0x532886,_0x464c62){var _0x15a49c=_0x532886[_0x464c62];return!(null==_0x15a49c||!_0x532886['hasOwnProperty'](_0x464c62))&&('object'!=typeof _0x15a49c||(Array['isArray'](_0x15a49c)?_0x15a49c['length']:Object['keys'](_0x15a49c)['length'])>0x0);},_0x54c183['Buffer']=(function(){try{var _0x3a0608=_0x54c183['inquire']('buffer')['Buffer'];return _0x3a0608['prototype']['utf8Write']?_0x3a0608:null;}catch(_0x5c6cbf){return null;}}()),_0x54c183['_Buffer_from']=null,_0x54c183['_Buffer_allocUnsafe']=null,_0x54c183['newBuffer']=function(_0x3d4142){return'number'==typeof _0x3d4142?_0x54c183['Buffer']?_0x54c183['_Buffer_allocUnsafe'](_0x3d4142):new _0x54c183['Array'](_0x3d4142):_0x54c183['Buffer']?_0x54c183['_Buffer_from'](_0x3d4142):'undefined'==typeof Uint8Array?_0x3d4142:new Uint8Array(_0x3d4142);},_0x54c183['Array']='undefined'!=typeof Uint8Array?Uint8Array:Array,_0x54c183['Long']=_0x54c183['global']['dcodeIO']&&_0x54c183['global']['dcodeIO']['Long']||_0x54c183['global']['Long']||_0x54c183['inquire']('long'),_0x54c183['key2Re']=/^true|false|0|1$/,_0x54c183['key32Re']=/^-?(?:0|[1-9][0-9]*)$/,_0x54c183['key64Re']=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,_0x54c183['longToHash']=function(_0x1cca54){return _0x1cca54?_0x54c183['LongBits']['from'](_0x1cca54)['toHash']():_0x54c183['LongBits']['zeroHash'];},_0x54c183['longFromHash']=function(_0x380f8e,_0x50e3c8){var _0x39bce0=_0x54c183['LongBits']['fromHash'](_0x380f8e);return _0x54c183['Long']?_0x54c183['Long']['fromBits'](_0x39bce0['lo'],_0x39bce0['hi'],_0x50e3c8):_0x39bce0['toNumber'](Boolean(_0x50e3c8));},_0x54c183['merge']=_0x2d7ef9,_0x54c183['lcFirst']=function(_0x487092){return _0x487092['charAt'](0x0)['toLowerCase']()+_0x487092['substring'](0x1);},_0x54c183['newError']=_0x567eaa,_0x54c183['ProtocolError']=_0x567eaa('ProtocolError'),_0x54c183['oneOfGetter']=function(_0x1cec75){for(var _0x58e352={},_0x3f0af1=0x0;_0x3f0af1<_0x1cec75['length'];++_0x3f0af1)_0x58e352[_0x1cec75[_0x3f0af1]]=0x1;return function(){for(var _0x1a883a=Object['keys'](this),_0x53e134=_0x1a883a['length']-0x1;_0x53e134>-0x1;--_0x53e134)if(0x1===_0x58e352[_0x1a883a[_0x53e134]]&&void 0x0!==this[_0x1a883a[_0x53e134]]&&null!==this[_0x1a883a[_0x53e134]])return _0x1a883a[_0x53e134];};},_0x54c183['oneOfSetter']=function(_0x64f59f){return function(_0x283089){for(var _0x411ffb=0x0;_0x411ffb<_0x64f59f['length'];++_0x411ffb)_0x64f59f[_0x411ffb]!==_0x283089&&delete this[_0x64f59f[_0x411ffb]];};},_0x54c183['toJSONOptions']={'longs':String,'enums':String,'bytes':String,'json':!0x0},_0x54c183['_configure']=function(){var _0x7d886f=_0x54c183['Buffer'];_0x7d886f?(_0x54c183['_Buffer_from']=_0x7d886f['from']!==Uint8Array['from']&&_0x7d886f['from']||function(_0x4987a6,_0x260cb3){return new _0x7d886f(_0x4987a6,_0x260cb3);},_0x54c183['_Buffer_allocUnsafe']=_0x7d886f['allocUnsafe']||function(_0x3d8477){return new _0x7d886f(_0x3d8477);}):_0x54c183['_Buffer_from']=_0x54c183['_Buffer_allocUnsafe']=null;};}(_0x5d63b0)),_0x5d63b0;}function requireWriter(){if(hasRequiredWriter)return writer;hasRequiredWriter=0x1,writer=_0x1d1525;var _0x150e19,_0x26d787=requireMinimal$1(),_0xae7a64=_0x26d787['LongBits'],_0x31eb48=_0x26d787['base64'],_0x3097f3=_0x26d787['utf8'];function _0x5c7545(_0x2627f7,_0x2bc1d0,_0x1d8425){this['fn']=_0x2627f7,this['len']=_0x2bc1d0,this['next']=void 0x0,this['val']=_0x1d8425;}function _0x3bd2c4(){}function _0x211aae(_0x3a2d49){this['head']=_0x3a2d49['head'],this['tail']=_0x3a2d49['tail'],this['len']=_0x3a2d49['len'],this['next']=_0x3a2d49['states'];}function _0x1d1525(){this['len']=0x0,this['head']=new _0x5c7545(_0x3bd2c4,0x0,0x0),this['tail']=this['head'],this['states']=null;}var _0x145b2d=function(){return _0x26d787['Buffer']?function(){return(_0x1d1525['create']=function(){return new _0x150e19();})();}:function(){return new _0x1d1525();};};function _0x48f9b9(_0x2d00f9,_0x142c64,_0x1771e3){_0x142c64[_0x1771e3]=0xff&_0x2d00f9;}function _0x3fd041(_0x735d01,_0x50e728){this['len']=_0x735d01,this['next']=void 0x0,this['val']=_0x50e728;}function _0x5d69d9(_0x5628b9,_0x575a56,_0x43a4f7){for(;_0x5628b9['hi'];)_0x575a56[_0x43a4f7++]=0x7f&_0x5628b9['lo']|0x80,_0x5628b9['lo']=(_0x5628b9['lo']>>>0x7|_0x5628b9['hi']<<0x19)>>>0x0,_0x5628b9['hi']>>>=0x7;for(;_0x5628b9['lo']>0x7f;)_0x575a56[_0x43a4f7++]=0x7f&_0x5628b9['lo']|0x80,_0x5628b9['lo']=_0x5628b9['lo']>>>0x7;_0x575a56[_0x43a4f7++]=_0x5628b9['lo'];}function _0x4104de(_0x28c8a0,_0x2f2444,_0x59293c){_0x2f2444[_0x59293c]=0xff&_0x28c8a0,_0x2f2444[_0x59293c+0x1]=_0x28c8a0>>>0x8&0xff,_0x2f2444[_0x59293c+0x2]=_0x28c8a0>>>0x10&0xff,_0x2f2444[_0x59293c+0x3]=_0x28c8a0>>>0x18;}_0x1d1525['create']=_0x145b2d(),_0x1d1525['alloc']=function(_0x1998e0){return new _0x26d787['Array'](_0x1998e0);},_0x26d787['Array']!==Array&&(_0x1d1525['alloc']=_0x26d787['pool'](_0x1d1525['alloc'],_0x26d787['Array']['prototype']['subarray'])),_0x1d1525['prototype']['_push']=function(_0x4cc9a0,_0x1654a1,_0x24c366){return this['tail']=this['tail']['next']=new _0x5c7545(_0x4cc9a0,_0x1654a1,_0x24c366),this['len']+=_0x1654a1,this;},_0x3fd041['prototype']=Object['create'](_0x5c7545['prototype']),_0x3fd041['prototype']['fn']=function(_0x1c2222,_0x5cbac0,_0x483887){for(;_0x1c2222>0x7f;)_0x5cbac0[_0x483887++]=0x7f&_0x1c2222|0x80,_0x1c2222>>>=0x7;_0x5cbac0[_0x483887]=_0x1c2222;},_0x1d1525['prototype']['uint32']=function(_0x237cf7){return this['len']+=(this['tail']=this['tail']['next']=new _0x3fd041((_0x237cf7>>>=0x0)<0x80?0x1:_0x237cf7<0x4000?0x2:_0x237cf7<0x200000?0x3:_0x237cf7<0x10000000?0x4:0x5,_0x237cf7))['len'],this;},_0x1d1525['prototype']['int32']=function(_0x3d57cc){return _0x3d57cc<0x0?this['_push'](_0x5d69d9,0xa,_0xae7a64['fromNumber'](_0x3d57cc)):this['uint32'](_0x3d57cc);},_0x1d1525['prototype']['sint32']=function(_0x6513ed){return this['uint32']((_0x6513ed<<0x1^_0x6513ed>>0x1f)>>>0x0);},_0x1d1525['prototype']['uint64']=function(_0x6545dc){var _0x24a229=_0xae7a64['from'](_0x6545dc);return this['_push'](_0x5d69d9,_0x24a229['length'](),_0x24a229);},_0x1d1525['prototype']['int64']=_0x1d1525['prototype']['uint64'],_0x1d1525['prototype']['sint64']=function(_0x1e4129){var _0x11cd83=_0xae7a64['from'](_0x1e4129)['zzEncode']();return this['_push'](_0x5d69d9,_0x11cd83['length'](),_0x11cd83);},_0x1d1525['prototype']['bool']=function(_0x3000bc){return this['_push'](_0x48f9b9,0x1,_0x3000bc?0x1:0x0);},_0x1d1525['prototype']['fixed32']=function(_0x3ec6fd){return this['_push'](_0x4104de,0x4,_0x3ec6fd>>>0x0);},_0x1d1525['prototype']['sfixed32']=_0x1d1525['prototype']['fixed32'],_0x1d1525['prototype']['fixed64']=function(_0x8ef2a2){var _0x4ca110=_0xae7a64['from'](_0x8ef2a2);return this['_push'](_0x4104de,0x4,_0x4ca110['lo'])['_push'](_0x4104de,0x4,_0x4ca110['hi']);},_0x1d1525['prototype']['sfixed64']=_0x1d1525['prototype']['fixed64'],_0x1d1525['prototype']['float']=function(_0x1ad900){return this['_push'](_0x26d787['float']['writeFloatLE'],0x4,_0x1ad900);},_0x1d1525['prototype']['double']=function(_0x3069d2){return this['_push'](_0x26d787['float']['writeDoubleLE'],0x8,_0x3069d2);};var _0xdebb32=_0x26d787['Array']['prototype']['set']?function(_0xfe9f86,_0x49e662,_0x11145f){_0x49e662['set'](_0xfe9f86,_0x11145f);}:function(_0x417e86,_0x33a932,_0x1db486){for(var _0x4f50ee=0x0;_0x4f50ee<_0x417e86['length'];++_0x4f50ee)_0x33a932[_0x1db486+_0x4f50ee]=_0x417e86[_0x4f50ee];};return _0x1d1525['prototype']['bytes']=function(_0x456278){var _0x5fa772=_0x456278['length']>>>0x0;if(!_0x5fa772)return this['_push'](_0x48f9b9,0x1,0x0);if(_0x26d787['isString'](_0x456278)){var _0x575718=_0x1d1525['alloc'](_0x5fa772=_0x31eb48['length'](_0x456278));_0x31eb48['decode'](_0x456278,_0x575718,0x0),_0x456278=_0x575718;}return this['uint32'](_0x5fa772)['_push'](_0xdebb32,_0x5fa772,_0x456278);},_0x1d1525['prototype']['string']=function(_0x2e9df5){var _0xe79c34=_0x3097f3['length'](_0x2e9df5);return _0xe79c34?this['uint32'](_0xe79c34)['_push'](_0x3097f3['write'],_0xe79c34,_0x2e9df5):this['_push'](_0x48f9b9,0x1,0x0);},_0x1d1525['prototype']['fork']=function(){return this['states']=new _0x211aae(this),this['head']=this['tail']=new _0x5c7545(_0x3bd2c4,0x0,0x0),this['len']=0x0,this;},_0x1d1525['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 _0x5c7545(_0x3bd2c4,0x0,0x0),this['len']=0x0),this;},_0x1d1525['prototype']['ldelim']=function(){var _0x57fe79=this['head'],_0x441b5f=this['tail'],_0x310f92=this['len'];return this['reset']()['uint32'](_0x310f92),_0x310f92&&(this['tail']['next']=_0x57fe79['next'],this['tail']=_0x441b5f,this['len']+=_0x310f92),this;},_0x1d1525['prototype']['finish']=function(){for(var _0x46e9ec=this['head']['next'],_0x2dc2e1=this['constructor']['alloc'](this['len']),_0x50482a=0x0;_0x46e9ec;)_0x46e9ec['fn'](_0x46e9ec['val'],_0x2dc2e1,_0x50482a),_0x50482a+=_0x46e9ec['len'],_0x46e9ec=_0x46e9ec['next'];return _0x2dc2e1;},_0x1d1525['_configure']=function(_0x4e6285){_0x150e19=_0x4e6285,_0x1d1525['create']=_0x145b2d(),_0x150e19['_configure']();},writer;}function requireWriter_buffer(){if(hasRequiredWriter_buffer)return writer_buffer;hasRequiredWriter_buffer=0x1,writer_buffer=_0x26b0be;var _0x4375b6=requireWriter();(_0x26b0be['prototype']=Object['create'](_0x4375b6['prototype']))['constructor']=_0x26b0be;var _0x1982ac=requireMinimal$1();function _0x26b0be(){_0x4375b6['call'](this);}function _0x4c711a(_0x4eb536,_0x1daf9f,_0x121d16){_0x4eb536['length']<0x28?_0x1982ac['utf8']['write'](_0x4eb536,_0x1daf9f,_0x121d16):_0x1daf9f['utf8Write']?_0x1daf9f['utf8Write'](_0x4eb536,_0x121d16):_0x1daf9f['write'](_0x4eb536,_0x121d16);}return _0x26b0be['_configure']=function(){_0x26b0be['alloc']=_0x1982ac['_Buffer_allocUnsafe'],_0x26b0be['writeBytesBuffer']=_0x1982ac['Buffer']&&_0x1982ac['Buffer']['prototype']instanceof Uint8Array&&'set'===_0x1982ac['Buffer']['prototype']['set']['name']?function(_0x341c84,_0x82e827,_0x38c29e){_0x82e827['set'](_0x341c84,_0x38c29e);}:function(_0x8d38e7,_0x3143c9,_0x6a2190){if(_0x8d38e7['copy'])_0x8d38e7['copy'](_0x3143c9,_0x6a2190,0x0,_0x8d38e7['length']);else{for(var _0x3a1b5b=0x0;_0x3a1b5b<_0x8d38e7['length'];)_0x3143c9[_0x6a2190++]=_0x8d38e7[_0x3a1b5b++];}};},_0x26b0be['prototype']['bytes']=function(_0xff1f2c){_0x1982ac['isString'](_0xff1f2c)&&(_0xff1f2c=_0x1982ac['_Buffer_from'](_0xff1f2c,'base64'));var _0x35c358=_0xff1f2c['length']>>>0x0;return this['uint32'](_0x35c358),_0x35c358&&this['_push'](_0x26b0be['writeBytesBuffer'],_0x35c358,_0xff1f2c),this;},_0x26b0be['prototype']['string']=function(_0x4001d5){var _0x13c3da=_0x1982ac['Buffer']['byteLength'](_0x4001d5);return this['uint32'](_0x13c3da),_0x13c3da&&this['_push'](_0x4c711a,_0x13c3da,_0x4001d5),this;},_0x26b0be['_configure'](),writer_buffer;}function requireReader(){if(_0x390c7a)return _0x35a5d1;_0x390c7a=0x1,_0x35a5d1=_0x4e55ce;var _0xdbcf16,_0x10efe4=requireMinimal$1(),_0x5d39e4=_0x10efe4['LongBits'],_0x526778=_0x10efe4['utf8'];function _0x3355a0(_0x109212,_0x388ac9){return RangeError('index\x20out\x20of\x20range:\x20'+_0x109212['pos']+'\x20+\x20'+(_0x388ac9||0x1)+'\x20>\x20'+_0x109212['len']);}function _0x4e55ce(_0x377d72){this['buf']=_0x377d72,this['pos']=0x0,this['len']=_0x377d72['length'];}var _0x267ddd='undefined'!=typeof Uint8Array?function(_0x50a5ec){if(_0x50a5ec instanceof Uint8Array||Array['isArray'](_0x50a5ec))return new _0x4e55ce(_0x50a5ec);throw Error('illegal\x20buffer');}:function(_0x128abd){if(Array['isArray'](_0x128abd))return new _0x4e55ce(_0x128abd);throw Error('illegal\x20buffer');},_0x2f83bb=function(){return _0x10efe4['Buffer']?function(_0x452725){return(_0x4e55ce['create']=function(_0x1b91bf){return _0x10efe4['Buffer']['isBuffer'](_0x1b91bf)?new _0xdbcf16(_0x1b91bf):_0x267ddd(_0x1b91bf);})(_0x452725);}:_0x267ddd;};function _0x30a7dc(){var _0x34a76c=new _0x5d39e4(0x0,0x0),_0x3a9dad=0x0;if(!(this['len']-this['pos']>0x4)){for(;_0x3a9dad<0x3;++_0x3a9dad){if(this['pos']>=this['len'])throw _0x3355a0(this);if(_0x34a76c['lo']=(_0x34a76c['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0x3a9dad)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x34a76c;}return _0x34a76c['lo']=(_0x34a76c['lo']|(0x7f&this['buf'][this['pos']++])<<0x7*_0x3a9dad)>>>0x0,_0x34a76c;}for(;_0x3a9dad<0x4;++_0x3a9dad)if(_0x34a76c['lo']=(_0x34a76c['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0x3a9dad)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x34a76c;if(_0x34a76c['lo']=(_0x34a76c['lo']|(0x7f&this['buf'][this['pos']])<<0x1c)>>>0x0,_0x34a76c['hi']=(_0x34a76c['hi']|(0x7f&this['buf'][this['pos']])>>0x4)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x34a76c;if(_0x3a9dad=0x0,this['len']-this['pos']>0x4){for(;_0x3a9dad<0x5;++_0x3a9dad)if(_0x34a76c['hi']=(_0x34a76c['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0x3a9dad+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x34a76c;}else for(;_0x3a9dad<0x5;++_0x3a9dad){if(this['pos']>=this['len'])throw _0x3355a0(this);if(_0x34a76c['hi']=(_0x34a76c['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0x3a9dad+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x34a76c;}throw Error('invalid\x20varint\x20encoding');}function _0x4cc059(_0x414c7e,_0x5977a9){return(_0x414c7e[_0x5977a9-0x4]|_0x414c7e[_0x5977a9-0x3]<<0x8|_0x414c7e[_0x5977a9-0x2]<<0x10|_0x414c7e[_0x5977a9-0x1]<<0x18)>>>0x0;}function _0x270647(){if(this['pos']+0x8>this['len'])throw _0x3355a0(this,0x8);return new _0x5d39e4(_0x4cc059(this['buf'],this['pos']+=0x4),_0x4cc059(this['buf'],this['pos']+=0x4));}return _0x4e55ce['create']=_0x2f83bb(),_0x4e55ce['prototype']['_slice']=_0x10efe4['Array']['prototype']['subarray']||_0x10efe4['Array']['prototype']['slice'],_0x4e55ce['prototype']['uint32']=(function(){var _0x2f85f9=0xffffffff;return function(){if(_0x2f85f9=(0x7f&this['buf'][this['pos']])>>>0x0,this['buf'][this['pos']++]<0x80)return _0x2f85f9;if(_0x2f85f9=(_0x2f85f9|(0x7f&this['buf'][this['pos']])<<0x7)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x2f85f9;if(_0x2f85f9=(_0x2f85f9|(0x7f&this['buf'][this['pos']])<<0xe)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x2f85f9;if(_0x2f85f9=(_0x2f85f9|(0x7f&this['buf'][this['pos']])<<0x15)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x2f85f9;if(_0x2f85f9=(_0x2f85f9|(0xf&this['buf'][this['pos']])<<0x1c)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x2f85f9;if((this['pos']+=0x5)>this['len'])throw this['pos']=this['len'],_0x3355a0(this,0xa);return _0x2f85f9;};}()),_0x4e55ce['prototype']['int32']=function(){return 0x0|this['uint32']();},_0x4e55ce['prototype']['sint32']=function(){var _0x38139d=this['uint32']();return _0x38139d>>>0x1^-(0x1&_0x38139d);},_0x4e55ce['prototype']['bool']=function(){return 0x0!==this['uint32']();},_0x4e55ce['prototype']['fixed32']=function(){if(this['pos']+0x4>this['len'])throw _0x3355a0(this,0x4);return _0x4cc059(this['buf'],this['pos']+=0x4);},_0x4e55ce['prototype']['sfixed32']=function(){if(this['pos']+0x4>this['len'])throw _0x3355a0(this,0x4);return 0x0|_0x4cc059(this['buf'],this['pos']+=0x4);},_0x4e55ce['prototype']['float']=function(){if(this['pos']+0x4>this['len'])throw _0x3355a0(this,0x4);var _0x35e502=_0x10efe4['float']['readFloatLE'](this['buf'],this['pos']);return this['pos']+=0x4,_0x35e502;},_0x4e55ce['prototype']['double']=function(){if(this['pos']+0x8>this['len'])throw _0x3355a0(this,0x4);var _0x30f62f=_0x10efe4['float']['readDoubleLE'](this['buf'],this['pos']);return this['pos']+=0x8,_0x30f62f;},_0x4e55ce['prototype']['bytes']=function(){var _0x5d867c=this['uint32'](),_0x1192d4=this['pos'],_0x39bf63=this['pos']+_0x5d867c;if(_0x39bf63>this['len'])throw _0x3355a0(this,_0x5d867c);if(this['pos']+=_0x5d867c,Array['isArray'](this['buf']))return this['buf']['slice'](_0x1192d4,_0x39bf63);if(_0x1192d4===_0x39bf63){var _0x5c56b2=_0x10efe4['Buffer'];return _0x5c56b2?_0x5c56b2['alloc'](0x0):new this['buf']['constructor'](0x0);}return this['_slice']['call'](this['buf'],_0x1192d4,_0x39bf63);},_0x4e55ce['prototype']['string']=function(){var _0x270eac=this['bytes']();return _0x526778['read'](_0x270eac,0x0,_0x270eac['length']);},_0x4e55ce['prototype']['skip']=function(_0x31868d){if('number'==typeof _0x31868d){if(this['pos']+_0x31868d>this['len'])throw _0x3355a0(this,_0x31868d);this['pos']+=_0x31868d;}else do{if(this['pos']>=this['len'])throw _0x3355a0(this);}while(0x80&this['buf'][this['pos']++]);return this;},_0x4e55ce['prototype']['skipType']=function(_0x37b83b){switch(_0x37b83b){case 0x0:this['skip']();break;case 0x1:this['skip'](0x8);break;case 0x2:this['skip'](this['uint32']());break;case 0x3:for(;0x4!=(_0x37b83b=0x7&this['uint32']());)this['skipType'](_0x37b83b);break;case 0x5:this['skip'](0x4);break;default:throw Error('invalid\x20wire\x20type\x20'+_0x37b83b+'\x20at\x20offset\x20'+this['pos']);}return this;},_0x4e55ce['_configure']=function(_0x4d317e){_0xdbcf16=_0x4d317e,_0x4e55ce['create']=_0x2f83bb(),_0xdbcf16['_configure']();var _0x14a481=_0x10efe4['Long']?'toLong':'toNumber';_0x10efe4['merge'](_0x4e55ce['prototype'],{'int64':function(){return _0x30a7dc['call'](this)[_0x14a481](!0x1);},'uint64':function(){return _0x30a7dc['call'](this)[_0x14a481](!0x0);},'sint64':function(){return _0x30a7dc['call'](this)['zzDecode']()[_0x14a481](!0x1);},'fixed64':function(){return _0x270647['call'](this)[_0x14a481](!0x0);},'sfixed64':function(){return _0x270647['call'](this)[_0x14a481](!0x1);}});},_0x35a5d1;}function requireReader_buffer(){if(_0x4073aa)return _0x375b82;_0x4073aa=0x1,_0x375b82=_0x4fe19d;var _0x49d333=requireReader();(_0x4fe19d['prototype']=Object['create'](_0x49d333['prototype']))['constructor']=_0x4fe19d;var _0x3e0615=requireMinimal$1();function _0x4fe19d(_0x3cb2f5){_0x49d333['call'](this,_0x3cb2f5);}return _0x4fe19d['_configure']=function(){_0x3e0615['Buffer']&&(_0x4fe19d['prototype']['_slice']=_0x3e0615['Buffer']['prototype']['slice']);},_0x4fe19d['prototype']['string']=function(){var _0x5e0668=this['uint32']();return this['buf']['utf8Slice']?this['buf']['utf8Slice'](this['pos'],this['pos']=Math['min'](this['pos']+_0x5e0668,this['len'])):this['buf']['toString']('utf-8',this['pos'],this['pos']=Math['min'](this['pos']+_0x5e0668,this['len']));},_0x4fe19d['_configure'](),_0x375b82;}var _0x28a294={},_0x22eb60,_0x137ff9,_0x5c4317,roots,hasRequiredRoots,_0x3c5949,_0x1a1016,_0x37b8d5;function requireService(){if(_0x137ff9)return _0x22eb60;_0x137ff9=0x1,_0x22eb60=_0x19703e;var _0x1cec07=requireMinimal$1();function _0x19703e(_0x3e5b2e,_0x18213d,_0x3025ee){if('function'!=typeof _0x3e5b2e)throw TypeError('rpcImpl\x20must\x20be\x20a\x20function');_0x1cec07['EventEmitter']['call'](this),this['rpcImpl']=_0x3e5b2e,this['requestDelimited']=Boolean(_0x18213d),this['responseDelimited']=Boolean(_0x3025ee);}return(_0x19703e['prototype']=Object['create'](_0x1cec07['EventEmitter']['prototype']))['constructor']=_0x19703e,_0x19703e['prototype']['rpcCall']=function _0x480e03(_0x1dd492,_0x350759,_0x1d2ff4,_0x92fa4b,_0x4be024){if(!_0x92fa4b)throw TypeError('request\x20must\x20be\x20specified');var _0x341a1c=this;if(!_0x4be024)return _0x1cec07['asPromise'](_0x480e03,_0x341a1c,_0x1dd492,_0x350759,_0x1d2ff4,_0x92fa4b);if(_0x341a1c['rpcImpl'])try{return _0x341a1c['rpcImpl'](_0x1dd492,_0x350759[_0x341a1c['requestDelimited']?'encodeDelimited':'encode'](_0x92fa4b)['finish'](),function(_0x5126f5,_0x20c558){if(_0x5126f5)return _0x341a1c['emit']('error',_0x5126f5,_0x1dd492),_0x4be024(_0x5126f5);if(null!==_0x20c558){if(!(_0x20c558 instanceof _0x1d2ff4))try{_0x20c558=_0x1d2ff4[_0x341a1c['responseDelimited']?'decodeDelimited':'decode'](_0x20c558);}catch(_0x8a8ee1){return _0x341a1c['emit']('error',_0x8a8ee1,_0x1dd492),_0x4be024(_0x8a8ee1);}return _0x341a1c['emit']('data',_0x20c558,_0x1dd492),_0x4be024(null,_0x20c558);}_0x341a1c['end'](!0x0);});}catch(_0x1fb46a){return _0x341a1c['emit']('error',_0x1fb46a,_0x1dd492),void setTimeout(function(){_0x4be024(_0x1fb46a);},0x0);}else setTimeout(function(){_0x4be024(Error('already\x20ended'));},0x0);},_0x19703e['prototype']['end']=function(_0x12228a){return this['rpcImpl']&&(_0x12228a||this['rpcImpl'](null,null,null),this['rpcImpl']=null,this['emit']('end')['off']()),this;},_0x22eb60;}function requireRpc(){return _0x5c4317||(_0x5c4317=0x1,_0x28a294['Service']=requireService()),_0x28a294;}function requireRoots(){return hasRequiredRoots?roots:(hasRequiredRoots=0x1,roots={});}function requireIndexMinimal(){return _0x3c5949||(_0x3c5949=0x1,function(_0x1a7fe8){var _0x601638=_0x1a7fe8;function _0x58c1c4(){_0x601638['util']['_configure'](),_0x601638['Writer']['_configure'](_0x601638['BufferWriter']),_0x601638['Reader']['_configure'](_0x601638['BufferReader']);}_0x601638['build']='minimal',_0x601638['Writer']=requireWriter(),_0x601638['BufferWriter']=requireWriter_buffer(),_0x601638['Reader']=requireReader(),_0x601638['BufferReader']=requireReader_buffer(),_0x601638['util']=requireMinimal$1(),_0x601638['rpc']=requireRpc(),_0x601638['roots']=requireRoots(),_0x601638['configure']=_0x58c1c4,_0x58c1c4();}(_0x2f36a3)),_0x2f36a3;}function requireMinimal(){return _0x37b8d5?_0x1a1016:(_0x37b8d5=0x1,_0x1a1016=requireIndexMinimal());}var minimalExports=requireMinimal();const _0x448c9b=Object['create'](null);_0x448c9b['open']='0',_0x448c9b['close']='1',_0x448c9b['ping']='2',_0x448c9b['pong']='3',_0x448c9b['message']='4',_0x448c9b['upgrade']='5',_0x448c9b['noop']='6';const _0x2fab62=Object['create'](null);Object['keys'](_0x448c9b)['forEach'](_0x1724a4=>{_0x2fab62[_0x448c9b[_0x1724a4]]=_0x1724a4;});const _0x40d2c7={'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,_0x4087d3=_0x56c870=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x56c870):_0x56c870&&_0x56c870['buffer']instanceof ArrayBuffer,encodePacket=({type:_0xc3ffd5,data:_0xf95d28},_0x3414af,_0x10066c)=>withNativeBlob$1&&_0xf95d28 instanceof Blob?_0x3414af?_0x10066c(_0xf95d28):_0x37c11f(_0xf95d28,_0x10066c):withNativeArrayBuffer$2&&(_0xf95d28 instanceof ArrayBuffer||_0x4087d3(_0xf95d28))?_0x3414af?_0x10066c(_0xf95d28):_0x37c11f(new Blob([_0xf95d28]),_0x10066c):_0x10066c(_0x448c9b[_0xc3ffd5]+(_0xf95d28||'')),_0x37c11f=(_0x39433b,_0x1b11d4)=>{const _0x3c946c=new FileReader();return _0x3c946c['onload']=function(){const _0x15fe7d=_0x3c946c['result']['split'](',')[0x1];_0x1b11d4('b'+(_0x15fe7d||''));},_0x3c946c['readAsDataURL'](_0x39433b);};function toArray(_0x262617){return _0x262617 instanceof Uint8Array?_0x262617:_0x262617 instanceof ArrayBuffer?new Uint8Array(_0x262617):new Uint8Array(_0x262617['buffer'],_0x262617['byteOffset'],_0x262617['byteLength']);}let _0xa35404;function encodePacketToBinary(_0xbde46b,_0x2a04e7){return withNativeBlob$1&&_0xbde46b['data']instanceof Blob?_0xbde46b['data']['arrayBuffer']()['then'](toArray)['then'](_0x2a04e7):withNativeArrayBuffer$2&&(_0xbde46b['data']instanceof ArrayBuffer||_0x4087d3(_0xbde46b['data']))?_0x2a04e7(toArray(_0xbde46b['data'])):void encodePacket(_0xbde46b,!0x1,_0x3c4919=>{_0xa35404||(_0xa35404=new TextEncoder()),_0x2a04e7(_0xa35404['encode'](_0x3c4919));});}const _0x3ef455='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',_0x4ab268='undefined'==typeof Uint8Array?[]:new Uint8Array(0x100);for(let _0x51e3b6=0x0;_0x51e3b6<_0x3ef455['length'];_0x51e3b6++)_0x4ab268[_0x3ef455['charCodeAt'](_0x51e3b6)]=_0x51e3b6;const _0x3dd99e=_0x51906a=>{let _0x4a24fa,_0x1f9226,_0x426f74,_0x460f3f,_0x47fb89,_0x56be41=0.75*_0x51906a['length'],_0x3ee36b=_0x51906a['length'],_0x857ac4=0x0;'='===_0x51906a[_0x51906a['length']-0x1]&&(_0x56be41--,'='===_0x51906a[_0x51906a['length']-0x2]&&_0x56be41--);const _0x16830f=new ArrayBuffer(_0x56be41),_0xfbc644=new Uint8Array(_0x16830f);for(_0x4a24fa=0x0;_0x4a24fa<_0x3ee36b;_0x4a24fa+=0x4)_0x1f9226=_0x4ab268[_0x51906a['charCodeAt'](_0x4a24fa)],_0x426f74=_0x4ab268[_0x51906a['charCodeAt'](_0x4a24fa+0x1)],_0x460f3f=_0x4ab268[_0x51906a['charCodeAt'](_0x4a24fa+0x2)],_0x47fb89=_0x4ab268[_0x51906a['charCodeAt'](_0x4a24fa+0x3)],_0xfbc644[_0x857ac4++]=_0x1f9226<<0x2|_0x426f74>>0x4,_0xfbc644[_0x857ac4++]=(0xf&_0x426f74)<<0x4|_0x460f3f>>0x2,_0xfbc644[_0x857ac4++]=(0x3&_0x460f3f)<<0x6|0x3f&_0x47fb89;return _0x16830f;},withNativeArrayBuffer$1='function'==typeof ArrayBuffer,decodePacket=(_0x4b1d0a,_0x4e80c5)=>{if('string'!=typeof _0x4b1d0a)return{'type':'message','data':_0x54ab29(_0x4b1d0a,_0x4e80c5)};const _0x3dcbb9=_0x4b1d0a['charAt'](0x0);if('b'===_0x3dcbb9)return{'type':'message','data':decodeBase64Packet(_0x4b1d0a['substring'](0x1),_0x4e80c5)};return _0x2fab62[_0x3dcbb9]?_0x4b1d0a['length']>0x1?{'type':_0x2fab62[_0x3dcbb9],'data':_0x4b1d0a['substring'](0x1)}:{'type':_0x2fab62[_0x3dcbb9]}:_0x40d2c7;},decodeBase64Packet=(_0x2d908b,_0x52d6e1)=>{if(withNativeArrayBuffer$1){const _0xf97dcc=_0x3dd99e(_0x2d908b);return _0x54ab29(_0xf97dcc,_0x52d6e1);}return{'base64':!0x0,'data':_0x2d908b};},_0x54ab29=(_0x57f53c,_0x49df3d)=>'blob'===_0x49df3d?_0x57f53c instanceof Blob?_0x57f53c:new Blob([_0x57f53c]):_0x57f53c instanceof ArrayBuffer?_0x57f53c:_0x57f53c['buffer'],_0x57cfe4=String['fromCharCode'](0x1e),_0x3c8454=(_0x45fb34,_0x9a48b2)=>{const _0x3f29b8=_0x45fb34['length'],_0x7c7ff3=new Array(_0x3f29b8);let _0x3cc35d=0x0;_0x45fb34['forEach']((_0x4d6c83,_0x21aaf5)=>{encodePacket(_0x4d6c83,!0x1,_0x57631b=>{_0x7c7ff3[_0x21aaf5]=_0x57631b,++_0x3cc35d===_0x3f29b8&&_0x9a48b2(_0x7c7ff3['join'](_0x57cfe4));});});},_0xd4e34e=(_0x103963,_0x444f44)=>{const _0x1d750d=_0x103963['split'](_0x57cfe4),_0x1ad75f=[];for(let _0x219cd6=0x0;_0x219cd6<_0x1d750d['length'];_0x219cd6++){const _0xfcbaa8=decodePacket(_0x1d750d[_0x219cd6],_0x444f44);if(_0x1ad75f['push'](_0xfcbaa8),'error'===_0xfcbaa8['type'])break;}return _0x1ad75f;};function createPacketEncoderStream(){return new TransformStream({'transform'(_0x2185f7,_0x5db1a3){encodePacketToBinary(_0x2185f7,_0x17f9b1=>{const _0x1dc17e=_0x17f9b1['length'];let _0x1278ee;if(_0x1dc17e<0x7e)_0x1278ee=new Uint8Array(0x1),new DataView(_0x1278ee['buffer'])['setUint8'](0x0,_0x1dc17e);else{if(_0x1dc17e<0x10000){_0x1278ee=new Uint8Array(0x3);const _0x33090a=new DataView(_0x1278ee['buffer']);_0x33090a['setUint8'](0x0,0x7e),_0x33090a['setUint16'](0x1,_0x1dc17e);}else{_0x1278ee=new Uint8Array(0x9);const _0x298c46=new DataView(_0x1278ee['buffer']);_0x298c46['setUint8'](0x0,0x7f),_0x298c46['setBigUint64'](0x1,BigInt(_0x1dc17e));}}_0x2185f7['data']&&'string'!=typeof _0x2185f7['data']&&(_0x1278ee[0x0]|=0x80),_0x5db1a3['enqueue'](_0x1278ee),_0x5db1a3['enqueue'](_0x17f9b1);});}});}let _0x18f70d;function totalLength(_0x14ee43){return _0x14ee43['reduce']((_0x97f7ea,_0x2ae481)=>_0x97f7ea+_0x2ae481['length'],0x0);}function concatChunks(_0x397b41,_0x168597){if(_0x397b41[0x0]['length']===_0x168597)return _0x397b41['shift']();const _0x194c6b=new Uint8Array(_0x168597);let _0x3f846d=0x0;for(let _0x51af57=0x0;_0x51af57<_0x168597;_0x51af57++)_0x194c6b[_0x51af57]=_0x397b41[0x0][_0x3f846d++],_0x3f846d===_0x397b41[0x0]['length']&&(_0x397b41['shift'](),_0x3f846d=0x0);return _0x397b41['length']&&_0x3f846d<_0x397b41[0x0]['length']&&(_0x397b41[0x0]=_0x397b41[0x0]['slice'](_0x3f846d)),_0x194c6b;}function createPacketDecoderStream(_0x2ea0b1,_0x27bdbd){_0x18f70d||(_0x18f70d=new TextDecoder());const _0x156013=[];let _0xda13dd=0x0,_0x22a1b3=-0x1,_0x1634d3=!0x1;return new TransformStream({'transform'(_0x305f88,_0x49262){for(_0x156013['push'](_0x305f88);;){if(0x0===_0xda13dd){if(totalLength(_0x156013)<0x1)break;const _0x417c6d=concatChunks(_0x156013,0x1);_0x1634d3=!(0x80&~_0x417c6d[0x0]),_0x22a1b3=0x7f&_0x417c6d[0x0],_0xda13dd=_0x22a1b3<0x7e?0x3:0x7e===_0x22a1b3?0x1:0x2;}else{if(0x1===_0xda13dd){if(totalLength(_0x156013)<0x2)break;const _0xd98e6=concatChunks(_0x156013,0x2);_0x22a1b3=new DataView(_0xd98e6['buffer'],_0xd98e6['byteOffset'],_0xd98e6['length'])['getUint16'](0x0),_0xda13dd=0x3;}else{if(0x2===_0xda13dd){if(totalLength(_0x156013)<0x8)break;const _0x3d1a02=concatChunks(_0x156013,0x8),_0x31a536=new DataView(_0x3d1a02['buffer'],_0x3d1a02['byteOffset'],_0x3d1a02['length']),_0x5a4116=_0x31a536['getUint32'](0x0);if(_0x5a4116>Math['pow'](0x2,0x15)-0x1){_0x49262['enqueue'](_0x40d2c7);break;}_0x22a1b3=_0x5a4116*Math['pow'](0x2,0x20)+_0x31a536['getUint32'](0x4),_0xda13dd=0x3;}else{if(totalLength(_0x156013)<_0x22a1b3)break;const _0x4c8b97=concatChunks(_0x156013,_0x22a1b3);_0x49262['enqueue'](decodePacket(_0x1634d3?_0x4c8b97:_0x18f70d['decode'](_0x4c8b97),_0x27bdbd)),_0xda13dd=0x0;}}}if(0x0===_0x22a1b3||_0x22a1b3>_0x2ea0b1){_0x49262['enqueue'](_0x40d2c7);break;}}}});}const protocol$1=0x4;function Emitter(_0x4fca8a){if(_0x4fca8a)return _0x1ff4eb(_0x4fca8a);}function _0x1ff4eb(_0x1d27c2){for(var _0x1dde22 in Emitter['prototype'])_0x1d27c2[_0x1dde22]=Emitter['prototype'][_0x1dde22];return _0x1d27c2;}Emitter['prototype']['on']=Emitter['prototype']['addEventListener']=function(_0x179583,_0x4b54d1){return this['_callbacks']=this['_callbacks']||{},(this['_callbacks']['$'+_0x179583]=this['_callbacks']['$'+_0x179583]||[])['push'](_0x4b54d1),this;},Emitter['prototype']['once']=function(_0x296cc0,_0x4a19b7){function _0x1ed7be(){this['off'](_0x296cc0,_0x1ed7be),_0x4a19b7['apply'](this,arguments);}return _0x1ed7be['fn']=_0x4a19b7,this['on'](_0x296cc0,_0x1ed7be),this;},Emitter['prototype']['off']=Emitter['prototype']['removeListener']=Emitter['prototype']['removeAllListeners']=Emitter['prototype']['removeEventListener']=function(_0x35d7d3,_0x4566c4){if(this['_callbacks']=this['_callbacks']||{},0x0==arguments['length'])return this['_callbacks']={},this;var _0x2cd26c,_0xf55652=this['_callbacks']['$'+_0x35d7d3];if(!_0xf55652)return this;if(0x1==arguments['length'])return delete this['_callbacks']['$'+_0x35d7d3],this;for(var _0x509d07=0x0;_0x509d07<_0xf55652['length'];_0x509d07++)if((_0x2cd26c=_0xf55652[_0x509d07])===_0x4566c4||_0x2cd26c['fn']===_0x4566c4){_0xf55652['splice'](_0x509d07,0x1);break;}return 0x0===_0xf55652['length']&&delete this['_callbacks']['$'+_0x35d7d3],this;},Emitter['prototype']['emit']=function(_0x306a2f){this['_callbacks']=this['_callbacks']||{};for(var _0x128f06=new Array(arguments['length']-0x1),_0x2f9996=this['_callbacks']['$'+_0x306a2f],_0x49500a=0x1;_0x49500a<arguments['length'];_0x49500a++)_0x128f06[_0x49500a-0x1]=arguments[_0x49500a];if(_0x2f9996){_0x49500a=0x0;for(var _0x5d7b3e=(_0x2f9996=_0x2f9996['slice'](0x0))['length'];_0x49500a<_0x5d7b3e;++_0x49500a)_0x2f9996[_0x49500a]['apply'](this,_0x128f06);}return this;},Emitter['prototype']['emitReserved']=Emitter['prototype']['emit'],Emitter['prototype']['listeners']=function(_0x2b093c){return this['_callbacks']=this['_callbacks']||{},this['_callbacks']['$'+_0x2b093c]||[];},Emitter['prototype']['hasListeners']=function(_0x43800d){return!!this['listeners'](_0x43800d)['length'];};const _0x1d342b='undefined'!=typeof self?self:'undefined'!=typeof window?window:Function('return\x20this')();function _0x457462(_0x4c8a64,..._0x4556d5){return _0x4556d5['reduce']((_0x24aa13,_0x30c28e)=>(_0x4c8a64['hasOwnProperty'](_0x30c28e)&&(_0x24aa13[_0x30c28e]=_0x4c8a64[_0x30c28e]),_0x24aa13),{});}const _0x364613=_0x1d342b['setTimeout'],_0x4d1412=_0x1d342b['clearTimeout'];function installTimerFunctions(_0x1b292f,_0x3f5dc5){_0x3f5dc5['useNativeTimers']?(_0x1b292f['setTimeoutFn']=_0x364613['bind'](_0x1d342b),_0x1b292f['clearTimeoutFn']=_0x4d1412['bind'](_0x1d342b)):(_0x1b292f['setTimeoutFn']=_0x1d342b['setTimeout']['bind'](_0x1d342b),_0x1b292f['clearTimeoutFn']=_0x1d342b['clearTimeout']['bind'](_0x1d342b));}const _0x24a7b1=1.33;function byteLength(_0x2bebaa){return'string'==typeof _0x2bebaa?utf8Length(_0x2bebaa):Math['ceil']((_0x2bebaa['byteLength']||_0x2bebaa['size'])*_0x24a7b1);}function utf8Length(_0x112398){let _0x10ec17=0x0,_0x4fecc8=0x0;for(let _0x13419b=0x0,_0x755992=_0x112398['length'];_0x13419b<_0x755992;_0x13419b++)_0x10ec17=_0x112398['charCodeAt'](_0x13419b),_0x10ec17<0x80?_0x4fecc8+=0x1:_0x10ec17<0x800?_0x4fecc8+=0x2:_0x10ec17<0xd800||_0x10ec17>=0xe000?_0x4fecc8+=0x3:(_0x13419b++,_0x4fecc8+=0x4);return _0x4fecc8;}function _0x5bf7b3(_0x5379af){let _0x4d8170='';for(let _0x19449c in _0x5379af)_0x5379af['hasOwnProperty'](_0x19449c)&&(_0x4d8170['length']&&(_0x4d8170+='&'),_0x4d8170+=encodeURIComponent(_0x19449c)+'='+encodeURIComponent(_0x5379af[_0x19449c]));return _0x4d8170;}function _0xf916c1(_0x3e438b){let _0x4f85f9={},_0x34cc8c=_0x3e438b['split']('&');for(let _0x4104d5=0x0,_0x17ff43=_0x34cc8c['length'];_0x4104d5<_0x17ff43;_0x4104d5++){let _0x17b325=_0x34cc8c[_0x4104d5]['split']('=');_0x4f85f9[decodeURIComponent(_0x17b325[0x0])]=decodeURIComponent(_0x17b325[0x1]);}return _0x4f85f9;}class TransportError extends Error{constructor(_0x2882fb,_0x4e4b9f,_0x30cd0f){super(_0x2882fb),this['description']=_0x4e4b9f,this['context']=_0x30cd0f,this['type']='TransportError';}}class Transport extends Emitter{constructor(_0x33b012){super(),this['writable']=!0x1,installTimerFunctions(this,_0x33b012),this['opts']=_0x33b012,this['query']=_0x33b012['query'],this['socket']=_0x33b012['socket'];}['onError'](_0x4a32e5,_0x3b57e7,_0x43ca11){return super['emitReserved']('error',new TransportError(_0x4a32e5,_0x3b57e7,_0x43ca11)),this;}['open'](){return this['readyState']='opening',this['doOpen'](),this;}['close'](){return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['doClose'](),this['onClose']()),this;}['send'](_0x19d47d){'open'===this['readyState']&&this['write'](_0x19d47d);}['onOpen'](){this['readyState']='open',this['writable']=!0x0,super['emitReserved']('open');}['onData'](_0x5d475d){const _0x110db2=decodePacket(_0x5d475d,this['socket']['binaryType']);this['onPacket'](_0x110db2);}['onPacket'](_0x4d0dd5){super['emitReserved']('packet',_0x4d0dd5);}['onClose'](_0x43cf3f){this['readyState']='closed',super['emitReserved']('close',_0x43cf3f);}['pause'](_0x358c6c){}['createUri'](_0x1eb2be,_0x3b126e={}){return _0x1eb2be+'://'+this['_hostname']()+this['_port']()+this['opts']['path']+this['_query'](_0x3b126e);}['_hostname'](){const _0x86b57a=this['opts']['hostname'];return-0x1===_0x86b57a['indexOf'](':')?_0x86b57a:'['+_0x86b57a+']';}['_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'](_0x1be794){const _0x26c9e1=_0x5bf7b3(_0x1be794);return _0x26c9e1['length']?'?'+_0x26c9e1:'';}}const alphabet='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_'['split'](''),length=0x40,_0x20bd16={};let _0x2504bc=0x0,_0x3b8e4f=0x0,_0x3b96dd;function _0x5dc9eb(_0x25e970){let _0x52df57='';do{_0x52df57=alphabet[_0x25e970%length]+_0x52df57,_0x25e970=Math['floor'](_0x25e970/length);}while(_0x25e970>0x0);return _0x52df57;}function yeast(){const _0x408df3=_0x5dc9eb(+new Date());return _0x408df3!==_0x3b96dd?(_0x2504bc=0x0,_0x3b96dd=_0x408df3):_0x408df3+'.'+_0x5dc9eb(_0x2504bc++);}for(;_0x3b8e4f<length;_0x3b8e4f++)_0x20bd16[alphabet[_0x3b8e4f]]=_0x3b8e4f;let _0x3a5470=!0x1;try{_0x3a5470='undefined'!=typeof XMLHttpRequest&&'withCredentials'in new XMLHttpRequest();}catch(_0x263c86){}const _0x4ebc8d=_0x3a5470;function _0x1e6688(_0x5eace4){const _0x5809f2=_0x5eace4['xdomain'];try{if('undefined'!=typeof XMLHttpRequest&&(!_0x5809f2||_0x4ebc8d))return new XMLHttpRequest();}catch(_0x1fd84c){}if(!_0x5809f2)try{return new _0x1d342b[(['Active']['concat']('Object')['join']('X'))]('Microsoft.XMLHTTP');}catch(_0x384d4d){}}function createCookieJar(){}function empty(){}const _0x15917b=null!=new _0x1e6688({'xdomain':!0x1})['responseType'];class _0x4b1a33 extends Transport{constructor(_0x17e6e8){if(super(_0x17e6e8),this['polling']=!0x1,'undefined'!=typeof location){const _0x1a5883='https:'===location['protocol'];let _0x312e9c=location['port'];_0x312e9c||(_0x312e9c=_0x1a5883?'443':'80'),this['xd']='undefined'!=typeof location&&_0x17e6e8['hostname']!==location['hostname']||_0x312e9c!==_0x17e6e8['port'];}const _0x549c62=_0x17e6e8&&_0x17e6e8['forceBase64'];this['supportsBinary']=_0x15917b&&!_0x549c62,this['opts']['withCredentials']&&(this['cookieJar']=createCookieJar());}get['name'](){return'polling';}['doOpen'](){this['poll']();}['pause'](_0x187435){this['readyState']='pausing';const _0xc37287=()=>{this['readyState']='paused',_0x187435();};if(this['polling']||!this['writable']){let _0x11f4d8=0x0;this['polling']&&(_0x11f4d8++,this['once']('pollComplete',function(){--_0x11f4d8||_0xc37287();})),this['writable']||(_0x11f4d8++,this['once']('drain',function(){--_0x11f4d8||_0xc37287();}));}else _0xc37287();}['poll'](){this['polling']=!0x0,this['doPoll'](),this['emitReserved']('poll');}['onData'](_0x1d0ef3){_0xd4e34e(_0x1d0ef3,this['socket']['binaryType'])['forEach'](_0x2ecd0f=>{if('opening'===this['readyState']&&'open'===_0x2ecd0f['type']&&this['onOpen'](),'close'===_0x2ecd0f['type'])return this['onClose']({'description':'transport\x20closed\x20by\x20the\x20server'}),!0x1;this['onPacket'](_0x2ecd0f);}),'closed'!==this['readyState']&&(this['polling']=!0x1,this['emitReserved']('pollComplete'),'open'===this['readyState']&&this['poll']());}['doClose'](){const _0x44b287=()=>{this['write']([{'type':'close'}]);};'open'===this['readyState']?_0x44b287():this['once']('open',_0x44b287);}['write'](_0x40c12f){this['writable']=!0x1,_0x3c8454(_0x40c12f,_0x2448b4=>{this['doWrite'](_0x2448b4,()=>{this['writable']=!0x0,this['emitReserved']('drain');});});}['uri'](){const _0x28a315=this['opts']['secure']?'https':'http',_0xacefc2=this['query']||{};return!0x1!==this['opts']['timestampRequests']&&(_0xacefc2[this['opts']['timestampParam']]=yeast()),this['supportsBinary']||_0xacefc2['sid']||(_0xacefc2['b64']=0x1),this['createUri'](_0x28a315,_0xacefc2);}['request'](_0x527ed3={}){return Object['assign'](_0x527ed3,{'xd':this['xd'],'cookieJar':this['cookieJar']},this['opts']),new Request(this['uri'](),_0x527ed3);}['doWrite'](_0x1cc3e7,_0x48c33d){const _0x57e42a=this['request']({'method':'POST','data':_0x1cc3e7});_0x57e42a['on']('success',_0x48c33d),_0x57e42a['on']('error',(_0x37744f,_0x2dabb9)=>{this['onError']('xhr\x20post\x20error',_0x37744f,_0x2dabb9);});}['doPoll'](){const _0x23d4a7=this['request']();_0x23d4a7['on']('data',this['onData']['bind'](this)),_0x23d4a7['on']('error',(_0x460e78,_0x3830c3)=>{this['onError']('xhr\x20poll\x20error',_0x460e78,_0x3830c3);}),this['pollXhr']=_0x23d4a7;}}class Request extends Emitter{constructor(_0x4fe923,_0x2786bd){super(),installTimerFunctions(this,_0x2786bd),this['opts']=_0x2786bd,this['method']=_0x2786bd['method']||'GET',this['uri']=_0x4fe923,this['data']=void 0x0!==_0x2786bd['data']?_0x2786bd['data']:null,this['create']();}['create'](){var _0xce981a;const _0x305c53=_0x457462(this['opts'],'agent','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','autoUnref');_0x305c53['xdomain']=!!this['opts']['xd'];const _0x7bc3ba=this['xhr']=new _0x1e6688(_0x305c53);try{_0x7bc3ba['open'](this['method'],this['uri'],!0x0);try{if(this['opts']['extraHeaders']){_0x7bc3ba['setDisableHeaderCheck']&&_0x7bc3ba['setDisableHeaderCheck'](!0x0);for(let _0x3a828d in this['opts']['extraHeaders'])this['opts']['extraHeaders']['hasOwnProperty'](_0x3a828d)&&_0x7bc3ba['setRequestHeader'](_0x3a828d,this['opts']['extraHeaders'][_0x3a828d]);}}catch(_0x2756e4){}if('POST'===this['method'])try{_0x7bc3ba['setRequestHeader']('Content-type','text/plain;charset=UTF-8');}catch(_0x5ec0bf){}try{_0x7bc3ba['setRequestHeader']('Accept','*/*');}catch(_0x20df9b){}null===(_0xce981a=this['opts']['cookieJar'])||void 0x0===_0xce981a||_0xce981a['addCookies'](_0x7bc3ba),'withCredentials'in _0x7bc3ba&&(_0x7bc3ba['withCredentials']=this['opts']['withCredentials']),this['opts']['requestTimeout']&&(_0x7bc3ba['timeout']=this['opts']['requestTimeout']),_0x7bc3ba['onreadystatechange']=()=>{var _0x1450a6;0x3===_0x7bc3ba['readyState']&&(null===(_0x1450a6=this['opts']['cookieJar'])||void 0x0===_0x1450a6||_0x1450a6['parseCookies'](_0x7bc3ba)),0x4===_0x7bc3ba['readyState']&&(0xc8===_0x7bc3ba['status']||0x4c7===_0x7bc3ba['status']?this['onLoad']():this['setTimeoutFn'](()=>{this['onError']('number'==typeof _0x7bc3ba['status']?_0x7bc3ba['status']:0x0);},0x0));},_0x7bc3ba['send'](this['data']);}catch(_0x147921){return void this['setTimeoutFn'](()=>{this['onError'](_0x147921);},0x0);}'undefined'!=typeof document&&(this['index']=Request['requestsCount']++,Request['requests'][this['index']]=this);}['onError'](_0x1cd2b5){this['emitReserved']('error',_0x1cd2b5,this['xhr']),this['cleanup'](!0x0);}['cleanup'](_0x3e2ddc){if(void 0x0!==this['xhr']&&null!==this['xhr']){if(this['xhr']['onreadystatechange']=empty,_0x3e2ddc)try{this['xhr']['abort']();}catch(_0x2e0cf5){}'undefined'!=typeof document&&delete Request['requests'][this['index']],this['xhr']=null;}}['onLoad'](){const _0x11c885=this['xhr']['responseText'];null!==_0x11c885&&(this['emitReserved']('data',_0x11c885),this['emitReserved']('success'),this['cleanup']());}['abort'](){this['cleanup']();}}if(Request['requestsCount']=0x0,Request['requests']={},'undefined'!=typeof document){if('function'==typeof attachEvent)attachEvent('onunload',_0xc7a1dc);else{if('function'==typeof addEventListener){const _0x580e9e='onpagehide'in _0x1d342b?'pagehide':'unload';addEventListener(_0x580e9e,_0xc7a1dc,!0x1);}}}function _0xc7a1dc(){for(let _0x4c46fd in Request['requests'])Request['requests']['hasOwnProperty'](_0x4c46fd)&&Request['requests'][_0x4c46fd]['abort']();}const nextTick='function'==typeof Promise&&'function'==typeof Promise['resolve']?_0x159a80=>Promise['resolve']()['then'](_0x159a80):(_0x10f9a9,_0x30fa1a)=>_0x30fa1a(_0x10f9a9,0x0),WebSocket$2=_0x1d342b['WebSocket']||_0x1d342b['MozWebSocket'],usingBrowserWebSocket=!0x0,defaultBinaryType='arraybuffer',isReactNative='undefined'!=typeof navigator&&'string'==typeof navigator['product']&&'reactnative'===navigator['product']['toLowerCase']();class _0x3fa013 extends Transport{constructor(_0xb21b39){super(_0xb21b39),this['supportsBinary']=!_0xb21b39['forceBase64'];}get['name'](){return'websocket';}['doOpen'](){if(!this['check']())return;const _0x127135=this['uri'](),_0x14a3c1=this['opts']['protocols'],_0x24d5f1=isReactNative?{}:_0x457462(this['opts'],'agent','perMessageDeflate','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','localAddress','protocolVersion','origin','maxPayload','family','checkServerIdentity');this['opts']['extraHeaders']&&(_0x24d5f1['headers']=this['opts']['extraHeaders']);try{this['ws']=usingBrowserWebSocket&&!isReactNative?_0x14a3c1?new WebSocket$2(_0x127135,_0x14a3c1):new WebSocket$2(_0x127135):new WebSocket$2(_0x127135,_0x14a3c1,_0x24d5f1);}catch(_0x1a2f9){return this['emitReserved']('error',_0x1a2f9);}this['ws']['binaryType']=this['socket']['binaryType'],this['addEventListeners']();}['addEventListeners'](){this['ws']['onopen']=()=>{this['opts']['autoUnref']&&this['ws']['_socket']['unref'](),this['onOpen']();},this['ws']['onclose']=_0x1dcac2=>this['onClose']({'description':'websocket\x20connection\x20closed','context':_0x1dcac2}),this['ws']['onmessage']=_0x5b5176=>this['onData'](_0x5b5176['data']),this['ws']['onerror']=_0x1f402b=>this['onError']('websocket\x20error',_0x1f402b);}['write'](_0x349318){this['writable']=!0x1;for(let _0x207bee=0x0;_0x207bee<_0x349318['length'];_0x207bee++){const _0x212a43=_0x349318[_0x207bee],_0x236424=_0x207bee===_0x349318['length']-0x1;encodePacket(_0x212a43,this['supportsBinary'],_0x30fd2d=>{try{usingBrowserWebSocket&&this['ws']['send'](_0x30fd2d);}catch(_0x4a6649){}_0x236424&&nextTick(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){void 0x0!==this['ws']&&(this['ws']['close'](),this['ws']=null);}['uri'](){const _0x33aa61=this['opts']['secure']?'wss':'ws',_0x117d5a=this['query']||{};return this['opts']['timestampRequests']&&(_0x117d5a[this['opts']['timestampParam']]=yeast()),this['supportsBinary']||(_0x117d5a['b64']=0x1),this['createUri'](_0x33aa61,_0x117d5a);}['check'](){return!!WebSocket$2;}}class _0x16a9c6 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'](_0x5af23f=>{this['onError']('webtransport\x20error',_0x5af23f);}),this['transport']['ready']['then'](()=>{this['transport']['createBidirectionalStream']()['then'](_0x2f7b4b=>{const _0x46ad05=createPacketDecoderStream(Number['MAX_SAFE_INTEGER'],this['socket']['binaryType']),_0x12097c=_0x2f7b4b['readable']['pipeThrough'](_0x46ad05)['getReader'](),_0x431a29=createPacketEncoderStream();_0x431a29['readable']['pipeTo'](_0x2f7b4b['writable']),this['writer']=_0x431a29['writable']['getWriter']();const _0x54864b=()=>{_0x12097c['read']()['then'](({done:_0x1207d5,value:_0x320ca1})=>{_0x1207d5||(this['onPacket'](_0x320ca1),_0x54864b());})['catch'](_0x478913=>{});};_0x54864b();const _0x3a8b1c={'type':'open'};this['query']['sid']&&(_0x3a8b1c['data']='{\x22sid\x22:\x22'+this['query']['sid']+'\x22}'),this['writer']['write'](_0x3a8b1c)['then'](()=>this['onOpen']());});}));}['write'](_0x881231){this['writable']=!0x1;for(let _0x18c7bf=0x0;_0x18c7bf<_0x881231['length'];_0x18c7bf++){const _0x2e12ec=_0x881231[_0x18c7bf],_0x418b7d=_0x18c7bf===_0x881231['length']-0x1;this['writer']['write'](_0x2e12ec)['then'](()=>{_0x418b7d&&nextTick(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){var _0x44a46b;null===(_0x44a46b=this['transport'])||void 0x0===_0x44a46b||_0x44a46b['close']();}}const transports={'websocket':_0x3fa013,'webtransport':_0x16a9c6,'polling':_0x4b1a33},_0xf74f8a=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(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 _0x5c0386(_0x2ee0e6){if(_0x2ee0e6['length']>0x7d0)throw'URI\x20too\x20long';const _0x5ee580=_0x2ee0e6,_0x680573=_0x2ee0e6['indexOf']('['),_0x416d34=_0x2ee0e6['indexOf'](']');-0x1!=_0x680573&&-0x1!=_0x416d34&&(_0x2ee0e6=_0x2ee0e6['substring'](0x0,_0x680573)+_0x2ee0e6['substring'](_0x680573,_0x416d34)['replace'](/:/g,';')+_0x2ee0e6['substring'](_0x416d34,_0x2ee0e6['length']));let _0xb8238e=_0xf74f8a['exec'](_0x2ee0e6||''),_0x551a67={},_0xc0eb62=0xe;for(;_0xc0eb62--;)_0x551a67[parts[_0xc0eb62]]=_0xb8238e[_0xc0eb62]||'';return-0x1!=_0x680573&&-0x1!=_0x416d34&&(_0x551a67['source']=_0x5ee580,_0x551a67['host']=_0x551a67['host']['substring'](0x1,_0x551a67['host']['length']-0x1)['replace'](/;/g,':'),_0x551a67['authority']=_0x551a67['authority']['replace']('[','')['replace'](']','')['replace'](/;/g,':'),_0x551a67['ipv6uri']=!0x0),_0x551a67['pathNames']=pathNames(_0x551a67,_0x551a67['path']),_0x551a67['queryKey']=_0x32e6cd(_0x551a67,_0x551a67['query']),_0x551a67;}function pathNames(_0x421842,_0x3390d1){const _0x11b08f=_0x3390d1['replace'](/\/{2,9}/g,'/')['split']('/');return'/'!=_0x3390d1['slice'](0x0,0x1)&&0x0!==_0x3390d1['length']||_0x11b08f['splice'](0x0,0x1),'/'==_0x3390d1['slice'](-0x1)&&_0x11b08f['splice'](_0x11b08f['length']-0x1,0x1),_0x11b08f;}function _0x32e6cd(_0x1ff5ff,_0x3298a4){const _0x4cb0b1={};return _0x3298a4['replace'](/(?:^|&)([^&=]*)=?([^&]*)/g,function(_0x383951,_0x3a8d58,_0x4c441e){_0x3a8d58&&(_0x4cb0b1[_0x3a8d58]=_0x4c441e);}),_0x4cb0b1;}let Socket$1=class _0x4d5740 extends Emitter{constructor(_0x5ae898,_0xe79be9={}){super(),this['binaryType']=defaultBinaryType,this['writeBuffer']=[],_0x5ae898&&'object'==typeof _0x5ae898&&(_0xe79be9=_0x5ae898,_0x5ae898=null),_0x5ae898?(_0x5ae898=_0x5c0386(_0x5ae898),_0xe79be9['hostname']=_0x5ae898['host'],_0xe79be9['secure']='https'===_0x5ae898['protocol']||'wss'===_0x5ae898['protocol'],_0xe79be9['port']=_0x5ae898['port'],_0x5ae898['query']&&(_0xe79be9['query']=_0x5ae898['query'])):_0xe79be9['host']&&(_0xe79be9['hostname']=_0x5c0386(_0xe79be9['host'])['host']),installTimerFunctions(this,_0xe79be9),this['secure']=null!=_0xe79be9['secure']?_0xe79be9['secure']:'undefined'!=typeof location&&'https:'===location['protocol'],_0xe79be9['hostname']&&!_0xe79be9['port']&&(_0xe79be9['port']=this['secure']?'443':'80'),this['hostname']=_0xe79be9['hostname']||('undefined'!=typeof location?location['hostname']:'localhost'),this['port']=_0xe79be9['port']||('undefined'!=typeof location&&location['port']?location['port']:this['secure']?'443':'80'),this['transports']=_0xe79be9['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},_0xe79be9),this['opts']['path']=this['opts']['path']['replace'](/\/$/,'')+(this['opts']['addTrailingSlash']?'/':''),'string'==typeof this['opts']['query']&&(this['opts']['query']=_0xf916c1(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'](_0x440050){const _0x5325c9=Object['assign']({},this['opts']['query']);_0x5325c9['EIO']=protocol$1,_0x5325c9['transport']=_0x440050,this['id']&&(_0x5325c9['sid']=this['id']);const _0x33400f=Object['assign']({},this['opts'],{'query':_0x5325c9,'socket':this,'hostname':this['hostname'],'secure':this['secure'],'port':this['port']},this['opts']['transportOptions'][_0x440050]);return new transports[_0x440050](_0x33400f);}['open'](){let _0xdb082;if(this['opts']['rememberUpgrade']&&_0x4d5740['priorWebsocketSuccess']&&-0x1!==this['transports']['indexOf']('websocket'))_0xdb082='websocket';else{if(0x0===this['transports']['length'])return void this['setTimeoutFn'](()=>{this['emitReserved']('error','No\x20transports\x20available');},0x0);_0xdb082=this['transports'][0x0];}this['readyState']='opening';try{_0xdb082=this['createTransport'](_0xdb082);}catch(_0x13011a){return this['transports']['shift'](),void this['open']();}_0xdb082['open'](),this['setTransport'](_0xdb082);}['setTransport'](_0x21f502){this['transport']&&this['transport']['removeAllListeners'](),this['transport']=_0x21f502,_0x21f502['on']('drain',this['onDrain']['bind'](this))['on']('packet',this['onPacket']['bind'](this))['on']('error',this['onError']['bind'](this))['on']('close',_0x159571=>this['onClose']('transport\x20close',_0x159571));}['probe'](_0x3ce75a){let _0x591f74=this['createTransport'](_0x3ce75a),_0x5587a8=!0x1;_0x4d5740['priorWebsocketSuccess']=!0x1;const _0x4a8877=()=>{_0x5587a8||(_0x591f74['send']([{'type':'ping','data':'probe'}]),_0x591f74['once']('packet',_0xe05528=>{if(!_0x5587a8){if('pong'===_0xe05528['type']&&'probe'===_0xe05528['data']){if(this['upgrading']=!0x0,this['emitReserved']('upgrading',_0x591f74),!_0x591f74)return;_0x4d5740['priorWebsocketSuccess']='websocket'===_0x591f74['name'],this['transport']['pause'](()=>{_0x5587a8||'closed'!==this['readyState']&&(_0x29a5a9(),this['setTransport'](_0x591f74),_0x591f74['send']([{'type':'upgrade'}]),this['emitReserved']('upgrade',_0x591f74),_0x591f74=null,this['upgrading']=!0x1,this['flush']());});}else{const _0x215640=new Error('probe\x20error');_0x215640['transport']=_0x591f74['name'],this['emitReserved']('upgradeError',_0x215640);}}}));};function _0x49ded6(){_0x5587a8||(_0x5587a8=!0x0,_0x29a5a9(),_0x591f74['close'](),_0x591f74=null);}const _0xf8f681=_0x30cc46=>{const _0x2f70f6=new Error('probe\x20error:\x20'+_0x30cc46);_0x2f70f6['transport']=_0x591f74['name'],_0x49ded6(),this['emitReserved']('upgradeError',_0x2f70f6);};function _0x4b54af(){_0xf8f681('transport\x20closed');}function _0x2eee92(){_0xf8f681('socket\x20closed');}function _0x5900b6(_0x276cd3){_0x591f74&&_0x276cd3['name']!==_0x591f74['name']&&_0x49ded6();}const _0x29a5a9=()=>{_0x591f74['removeListener']('open',_0x4a8877),_0x591f74['removeListener']('error',_0xf8f681),_0x591f74['removeListener']('close',_0x4b54af),this['off']('close',_0x2eee92),this['off']('upgrading',_0x5900b6);};_0x591f74['once']('open',_0x4a8877),_0x591f74['once']('error',_0xf8f681),_0x591f74['once']('close',_0x4b54af),this['once']('close',_0x2eee92),this['once']('upgrading',_0x5900b6),-0x1!==this['upgrades']['indexOf']('webtransport')&&'webtransport'!==_0x3ce75a?this['setTimeoutFn'](()=>{_0x5587a8||_0x591f74['open']();},0xc8):_0x591f74['open']();}['onOpen'](){if(this['readyState']='open',_0x4d5740['priorWebsocketSuccess']='websocket'===this['transport']['name'],this['emitReserved']('open'),this['flush'](),'open'===this['readyState']&&this['opts']['upgrade']){let _0x990b44=0x0;const _0x2d6610=this['upgrades']['length'];for(;_0x990b44<_0x2d6610;_0x990b44++)this['probe'](this['upgrades'][_0x990b44]);}}['onPacket'](_0x27798c){if('opening'===this['readyState']||'open'===this['readyState']||'closing'===this['readyState'])switch(this['emitReserved']('packet',_0x27798c),this['emitReserved']('heartbeat'),this['resetPingTimeout'](),_0x27798c['type']){case'open':this['onHandshake'](JSON['parse'](_0x27798c['data']));break;case'ping':this['sendPacket']('pong'),this['emitReserved']('ping'),this['emitReserved']('pong');break;case'error':const _0x1fc556=new Error('server\x20error');_0x1fc556['code']=_0x27798c['data'],this['onError'](_0x1fc556);break;case'message':this['emitReserved']('data',_0x27798c['data']),this['emitReserved']('message',_0x27798c['data']);}}['onHandshake'](_0x5a3082){this['emitReserved']('handshake',_0x5a3082),this['id']=_0x5a3082['sid'],this['transport']['query']['sid']=_0x5a3082['sid'],this['upgrades']=this['filterUpgrades'](_0x5a3082['upgrades']),this['pingInterval']=_0x5a3082['pingInterval'],this['pingTimeout']=_0x5a3082['pingTimeout'],this['maxPayload']=_0x5a3082['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 _0x4ec812=this['getWritablePackets']();this['transport']['send'](_0x4ec812),this['prevBufferLen']=_0x4ec812['length'],this['emitReserved']('flush');}}['getWritablePackets'](){if(!(this['maxPayload']&&'polling'===this['transport']['name']&&this['writeBuffer']['length']>0x1))return this['writeBuffer'];let _0xd40d78=0x1;for(let _0x194a75=0x0;_0x194a75<this['writeBuffer']['length'];_0x194a75++){const _0x483498=this['writeBuffer'][_0x194a75]['data'];if(_0x483498&&(_0xd40d78+=byteLength(_0x483498)),_0x194a75>0x0&&_0xd40d78>this['maxPayload'])return this['writeBuffer']['slice'](0x0,_0x194a75);_0xd40d78+=0x2;}return this['writeBuffer'];}['write'](_0x3537da,_0x54d510,_0x2dda55){return this['sendPacket']('message',_0x3537da,_0x54d510,_0x2dda55),this;}['send'](_0xaa745e,_0x40cee7,_0x36a587){return this['sendPacket']('message',_0xaa745e,_0x40cee7,_0x36a587),this;}['sendPacket'](_0x1502ca,_0xec8470,_0x1b91fc,_0x40d060){if('function'==typeof _0xec8470&&(_0x40d060=_0xec8470,_0xec8470=void 0x0),'function'==typeof _0x1b91fc&&(_0x40d060=_0x1b91fc,_0x1b91fc=null),'closing'===this['readyState']||'closed'===this['readyState'])return;(_0x1b91fc=_0x1b91fc||{})['compress']=!0x1!==_0x1b91fc['compress'];const _0x575765={'type':_0x1502ca,'data':_0xec8470,'options':_0x1b91fc};this['emitReserved']('packetCreate',_0x575765),this['writeBuffer']['push'](_0x575765),_0x40d060&&this['once']('flush',_0x40d060),this['flush']();}['close'](){const _0x5d6a35=()=>{this['onClose']('forced\x20close'),this['transport']['close']();},_0x5f10ef=()=>{this['off']('upgrade',_0x5f10ef),this['off']('upgradeError',_0x5f10ef),_0x5d6a35();},_0x1b15a1=()=>{this['once']('upgrade',_0x5f10ef),this['once']('upgradeError',_0x5f10ef);};return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['readyState']='closing',this['writeBuffer']['length']?this['once']('drain',()=>{this['upgrading']?_0x1b15a1():_0x5d6a35();}):this['upgrading']?_0x1b15a1():_0x5d6a35()),this;}['onError'](_0x464f1a){_0x4d5740['priorWebsocketSuccess']=!0x1,this['emitReserved']('error',_0x464f1a),this['onClose']('transport\x20error',_0x464f1a);}['onClose'](_0x5b2918,_0x424ad4){'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',_0x5b2918,_0x424ad4),this['writeBuffer']=[],this['prevBufferLen']=0x0);}['filterUpgrades'](_0x580fb8){const _0x5ec82b=[];let _0x1de2a0=0x0;const _0x413a4f=_0x580fb8['length'];for(;_0x1de2a0<_0x413a4f;_0x1de2a0++)~this['transports']['indexOf'](_0x580fb8[_0x1de2a0])&&_0x5ec82b['push'](_0x580fb8[_0x1de2a0]);return _0x5ec82b;}};function _0x4db5bb(_0x85dd35,_0x263f23='',_0x5789d4){let _0x5b896b=_0x85dd35;_0x5789d4=_0x5789d4||'undefined'!=typeof location&&location,null==_0x85dd35&&(_0x85dd35=_0x5789d4['protocol']+'//'+_0x5789d4['host']),'string'==typeof _0x85dd35&&('/'===_0x85dd35['charAt'](0x0)&&(_0x85dd35='/'===_0x85dd35['charAt'](0x1)?_0x5789d4['protocol']+_0x85dd35:_0x5789d4['host']+_0x85dd35),/^(https?|wss?):\/\//['test'](_0x85dd35)||(_0x85dd35=void 0x0!==_0x5789d4?_0x5789d4['protocol']+'//'+_0x85dd35:'https://'+_0x85dd35),_0x5b896b=_0x5c0386(_0x85dd35)),_0x5b896b['port']||(/^(http|ws)$/['test'](_0x5b896b['protocol'])?_0x5b896b['port']='80':/^(http|ws)s$/['test'](_0x5b896b['protocol'])&&(_0x5b896b['port']='443')),_0x5b896b['path']=_0x5b896b['path']||'/';const _0x462913=-0x1!==_0x5b896b['host']['indexOf'](':')?'['+_0x5b896b['host']+']':_0x5b896b['host'];return _0x5b896b['id']=_0x5b896b['protocol']+'://'+_0x462913+':'+_0x5b896b['port']+_0x263f23,_0x5b896b['href']=_0x5b896b['protocol']+'://'+_0x462913+(_0x5789d4&&_0x5789d4['port']===_0x5b896b['port']?'':':'+_0x5b896b['port']),_0x5b896b;}Socket$1['protocol']=protocol$1;const withNativeArrayBuffer='function'==typeof ArrayBuffer,_0x467dc0=_0x428b10=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x428b10):_0x428b10['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 _0x566894(_0x7208e2){return withNativeArrayBuffer&&(_0x7208e2 instanceof ArrayBuffer||_0x467dc0(_0x7208e2))||withNativeBlob&&_0x7208e2 instanceof Blob||withNativeFile&&_0x7208e2 instanceof File;}function _0x213f09(_0x427eec,_0x402923){if(!_0x427eec||'object'!=typeof _0x427eec)return!0x1;if(Array['isArray'](_0x427eec)){for(let _0x1bf4c8=0x0,_0x16fb5e=_0x427eec['length'];_0x1bf4c8<_0x16fb5e;_0x1bf4c8++)if(_0x213f09(_0x427eec[_0x1bf4c8]))return!0x0;return!0x1;}if(_0x566894(_0x427eec))return!0x0;if(_0x427eec['toJSON']&&'function'==typeof _0x427eec['toJSON']&&0x1===arguments['length'])return _0x213f09(_0x427eec['toJSON'](),!0x0);for(const _0x28fb4d in _0x427eec)if(Object['prototype']['hasOwnProperty']['call'](_0x427eec,_0x28fb4d)&&_0x213f09(_0x427eec[_0x28fb4d]))return!0x0;return!0x1;}function deconstructPacket(_0x1eb00c){const _0x3392b7=[],_0x10e940=_0x1eb00c['data'],_0x492940=_0x1eb00c;return _0x492940['data']=_deconstructPacket(_0x10e940,_0x3392b7),_0x492940['attachments']=_0x3392b7['length'],{'packet':_0x492940,'buffers':_0x3392b7};}function _deconstructPacket(_0x2506c6,_0x288a9e){if(!_0x2506c6)return _0x2506c6;if(_0x566894(_0x2506c6)){const _0xbef1dd={'_placeholder':!0x0,'num':_0x288a9e['length']};return _0x288a9e['push'](_0x2506c6),_0xbef1dd;}if(Array['isArray'](_0x2506c6)){const _0x1f29e1=new Array(_0x2506c6['length']);for(let _0x90d1f5=0x0;_0x90d1f5<_0x2506c6['length'];_0x90d1f5++)_0x1f29e1[_0x90d1f5]=_deconstructPacket(_0x2506c6[_0x90d1f5],_0x288a9e);return _0x1f29e1;}if('object'==typeof _0x2506c6&&!(_0x2506c6 instanceof Date)){const _0x4ac408={};for(const _0x4e8711 in _0x2506c6)Object['prototype']['hasOwnProperty']['call'](_0x2506c6,_0x4e8711)&&(_0x4ac408[_0x4e8711]=_deconstructPacket(_0x2506c6[_0x4e8711],_0x288a9e));return _0x4ac408;}return _0x2506c6;}function reconstructPacket(_0x5c45b5,_0x114b51){return _0x5c45b5['data']=_reconstructPacket(_0x5c45b5['data'],_0x114b51),delete _0x5c45b5['attachments'],_0x5c45b5;}function _reconstructPacket(_0x2447d6,_0x201767){if(!_0x2447d6)return _0x2447d6;if(_0x2447d6&&!0x0===_0x2447d6['_placeholder']){if('number'==typeof _0x2447d6['num']&&_0x2447d6['num']>=0x0&&_0x2447d6['num']<_0x201767['length'])return _0x201767[_0x2447d6['num']];throw new Error('illegal\x20attachments');}if(Array['isArray'](_0x2447d6)){for(let _0x4979b3=0x0;_0x4979b3<_0x2447d6['length'];_0x4979b3++)_0x2447d6[_0x4979b3]=_reconstructPacket(_0x2447d6[_0x4979b3],_0x201767);}else{if('object'==typeof _0x2447d6){for(const _0x4feb04 in _0x2447d6)Object['prototype']['hasOwnProperty']['call'](_0x2447d6,_0x4feb04)&&(_0x2447d6[_0x4feb04]=_reconstructPacket(_0x2447d6[_0x4feb04],_0x201767));}}return _0x2447d6;}const _0xfac9f7=['connect','connect_error','disconnect','disconnecting','newListener','removeListener'],protocol=0x5;var PacketType;!function(_0x528fca){_0x528fca[_0x528fca['CONNECT']=0x0]='CONNECT',_0x528fca[_0x528fca['DISCONNECT']=0x1]='DISCONNECT',_0x528fca[_0x528fca['EVENT']=0x2]='EVENT',_0x528fca[_0x528fca['ACK']=0x3]='ACK',_0x528fca[_0x528fca['CONNECT_ERROR']=0x4]='CONNECT_ERROR',_0x528fca[_0x528fca['BINARY_EVENT']=0x5]='BINARY_EVENT',_0x528fca[_0x528fca['BINARY_ACK']=0x6]='BINARY_ACK';}(PacketType||(PacketType={}));let _0x178391=class{constructor(_0x5de64e){this['replacer']=_0x5de64e;}['encode'](_0x4b11f8){return _0x4b11f8['type']!==PacketType['EVENT']&&_0x4b11f8['type']!==PacketType['ACK']||!_0x213f09(_0x4b11f8)?[this['encodeAsString'](_0x4b11f8)]:this['encodeAsBinary']({'type':_0x4b11f8['type']===PacketType['EVENT']?PacketType['BINARY_EVENT']:PacketType['BINARY_ACK'],'nsp':_0x4b11f8['nsp'],'data':_0x4b11f8['data'],'id':_0x4b11f8['id']});}['encodeAsString'](_0x4d50fa){let _0x3d8229=''+_0x4d50fa['type'];return _0x4d50fa['type']!==PacketType['BINARY_EVENT']&&_0x4d50fa['type']!==PacketType['BINARY_ACK']||(_0x3d8229+=_0x4d50fa['attachments']+'-'),_0x4d50fa['nsp']&&'/'!==_0x4d50fa['nsp']&&(_0x3d8229+=_0x4d50fa['nsp']+','),null!=_0x4d50fa['id']&&(_0x3d8229+=_0x4d50fa['id']),null!=_0x4d50fa['data']&&(_0x3d8229+=JSON['stringify'](_0x4d50fa['data'],this['replacer'])),_0x3d8229;}['encodeAsBinary'](_0x30d4d0){const _0x19bc4f=deconstructPacket(_0x30d4d0),_0x23fad3=this['encodeAsString'](_0x19bc4f['packet']),_0x218d28=_0x19bc4f['buffers'];return _0x218d28['unshift'](_0x23fad3),_0x218d28;}};function isObject$2(_0x4919f4){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x4919f4);}let _0xcba7b8=class _0x456d02 extends Emitter{constructor(_0x12c841){super(),this['reviver']=_0x12c841;}['add'](_0x5da7cc){let _0x5a7f23;if('string'==typeof _0x5da7cc){if(this['reconstructor'])throw new Error('got\x20plaintext\x20data\x20when\x20reconstructing\x20a\x20packet');_0x5a7f23=this['decodeString'](_0x5da7cc);const _0x358e2a=_0x5a7f23['type']===PacketType['BINARY_EVENT'];_0x358e2a||_0x5a7f23['type']===PacketType['BINARY_ACK']?(_0x5a7f23['type']=_0x358e2a?PacketType['EVENT']:PacketType['ACK'],this['reconstructor']=new BinaryReconstructor(_0x5a7f23),0x0===_0x5a7f23['attachments']&&super['emitReserved']('decoded',_0x5a7f23)):super['emitReserved']('decoded',_0x5a7f23);}else{if(!_0x566894(_0x5da7cc)&&!_0x5da7cc['base64'])throw new Error('Unknown\x20type:\x20'+_0x5da7cc);if(!this['reconstructor'])throw new Error('got\x20binary\x20data\x20when\x20not\x20reconstructing\x20a\x20packet');_0x5a7f23=this['reconstructor']['takeBinaryData'](_0x5da7cc),_0x5a7f23&&(this['reconstructor']=null,super['emitReserved']('decoded',_0x5a7f23));}}['decodeString'](_0x87f44b){let _0x11efd1=0x0;const _0x21884e={'type':Number(_0x87f44b['charAt'](0x0))};if(void 0x0===PacketType[_0x21884e['type']])throw new Error('unknown\x20packet\x20type\x20'+_0x21884e['type']);if(_0x21884e['type']===PacketType['BINARY_EVENT']||_0x21884e['type']===PacketType['BINARY_ACK']){const _0x5a5725=_0x11efd1+0x1;for(;'-'!==_0x87f44b['charAt'](++_0x11efd1)&&_0x11efd1!=_0x87f44b['length'];);const _0x3ca447=_0x87f44b['substring'](_0x5a5725,_0x11efd1);if(_0x3ca447!=Number(_0x3ca447)||'-'!==_0x87f44b['charAt'](_0x11efd1))throw new Error('Illegal\x20attachments');_0x21884e['attachments']=Number(_0x3ca447);}if('/'===_0x87f44b['charAt'](_0x11efd1+0x1)){const _0x1b316c=_0x11efd1+0x1;for(;++_0x11efd1;){if(','===_0x87f44b['charAt'](_0x11efd1))break;if(_0x11efd1===_0x87f44b['length'])break;}_0x21884e['nsp']=_0x87f44b['substring'](_0x1b316c,_0x11efd1);}else _0x21884e['nsp']='/';const _0x4debe9=_0x87f44b['charAt'](_0x11efd1+0x1);if(''!==_0x4debe9&&Number(_0x4debe9)==_0x4debe9){const _0x2b818a=_0x11efd1+0x1;for(;++_0x11efd1;){const _0x5c57c6=_0x87f44b['charAt'](_0x11efd1);if(null==_0x5c57c6||Number(_0x5c57c6)!=_0x5c57c6){--_0x11efd1;break;}if(_0x11efd1===_0x87f44b['length'])break;}_0x21884e['id']=Number(_0x87f44b['substring'](_0x2b818a,_0x11efd1+0x1));}if(_0x87f44b['charAt'](++_0x11efd1)){const _0x5501e2=this['tryParse'](_0x87f44b['substr'](_0x11efd1));if(!_0x456d02['isPayloadValid'](_0x21884e['type'],_0x5501e2))throw new Error('invalid\x20payload');_0x21884e['data']=_0x5501e2;}return _0x21884e;}['tryParse'](_0x477798){try{return JSON['parse'](_0x477798,this['reviver']);}catch(_0x1001f5){return!0x1;}}static['isPayloadValid'](_0x594bd7,_0x3488ec){switch(_0x594bd7){case PacketType['CONNECT']:return isObject$2(_0x3488ec);case PacketType['DISCONNECT']:return void 0x0===_0x3488ec;case PacketType['CONNECT_ERROR']:return'string'==typeof _0x3488ec||isObject$2(_0x3488ec);case PacketType['EVENT']:case PacketType['BINARY_EVENT']:return Array['isArray'](_0x3488ec)&&('number'==typeof _0x3488ec[0x0]||'string'==typeof _0x3488ec[0x0]&&-0x1===_0xfac9f7['indexOf'](_0x3488ec[0x0]));case PacketType['ACK']:case PacketType['BINARY_ACK']:return Array['isArray'](_0x3488ec);}}['destroy'](){this['reconstructor']&&(this['reconstructor']['finishedReconstruction'](),this['reconstructor']=null);}};class BinaryReconstructor{constructor(_0x2e140d){this['packet']=_0x2e140d,this['buffers']=[],this['reconPack']=_0x2e140d;}['takeBinaryData'](_0x37669b){if(this['buffers']['push'](_0x37669b),this['buffers']['length']===this['reconPack']['attachments']){const _0x8164bc=reconstructPacket(this['reconPack'],this['buffers']);return this['finishedReconstruction'](),_0x8164bc;}return null;}['finishedReconstruction'](){this['reconPack']=null,this['buffers']=[];}}var _0x28edcd=Object['freeze']({'__proto__':null,'Decoder':_0xcba7b8,'Encoder':_0x178391,get 'PacketType'(){return PacketType;},'protocol':protocol});function _0x2f82d5(_0x125c53,_0x532852,_0x513a6d){return _0x125c53['on'](_0x532852,_0x513a6d),function(){_0x125c53['off'](_0x532852,_0x513a6d);};}const _0x2f9916=Object['freeze']({'connect':0x1,'connect_error':0x1,'disconnect':0x1,'disconnecting':0x1,'newListener':0x1,'removeListener':0x1});class Socket extends Emitter{constructor(_0x445307,_0x23451f,_0x4721e9){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']=_0x445307,this['nsp']=_0x23451f,_0x4721e9&&_0x4721e9['auth']&&(this['auth']=_0x4721e9['auth']),this['_opts']=Object['assign']({},_0x4721e9),this['io']['_autoConnect']&&this['open']();}get['disconnected'](){return!this['connected'];}['subEvents'](){if(this['subs'])return;const _0x2d78c4=this['io'];this['subs']=[_0x2f82d5(_0x2d78c4,'open',this['onopen']['bind'](this)),_0x2f82d5(_0x2d78c4,'packet',this['onpacket']['bind'](this)),_0x2f82d5(_0x2d78c4,'error',this['onerror']['bind'](this)),_0x2f82d5(_0x2d78c4,'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'](..._0x4dbdf7){return _0x4dbdf7['unshift']('message'),this['emit']['apply'](this,_0x4dbdf7),this;}['emit'](_0x4e9117,..._0x5323ec){if(_0x2f9916['hasOwnProperty'](_0x4e9117))throw new Error('\x22'+_0x4e9117['toString']()+'\x22\x20is\x20a\x20reserved\x20event\x20name');if(_0x5323ec['unshift'](_0x4e9117),this['_opts']['retries']&&!this['flags']['fromQueue']&&!this['flags']['volatile'])return this['_addToQueue'](_0x5323ec),this;const _0x27c45d={'type':PacketType['EVENT'],'data':_0x5323ec,'options':{}};if(_0x27c45d['options']['compress']=!0x1!==this['flags']['compress'],'function'==typeof _0x5323ec[_0x5323ec['length']-0x1]){const _0x360083=this['ids']++,_0x2b7d59=_0x5323ec['pop']();this['_registerAckCallback'](_0x360083,_0x2b7d59),_0x27c45d['id']=_0x360083;}const _0x46a217=this['io']['engine']&&this['io']['engine']['transport']&&this['io']['engine']['transport']['writable'];return this['flags']['volatile']&&(!_0x46a217||!this['connected'])||(this['connected']?(this['notifyOutgoingListeners'](_0x27c45d),this['packet'](_0x27c45d)):this['sendBuffer']['push'](_0x27c45d)),this['flags']={},this;}['_registerAckCallback'](_0x52dc3e,_0x27cb71){var _0x3fab06;const _0x36efdd=null!==(_0x3fab06=this['flags']['timeout'])&&void 0x0!==_0x3fab06?_0x3fab06:this['_opts']['ackTimeout'];if(void 0x0===_0x36efdd)return void(this['acks'][_0x52dc3e]=_0x27cb71);const _0x26f5b1=this['io']['setTimeoutFn'](()=>{delete this['acks'][_0x52dc3e];for(let _0x23a66a=0x0;_0x23a66a<this['sendBuffer']['length'];_0x23a66a++)this['sendBuffer'][_0x23a66a]['id']===_0x52dc3e&&this['sendBuffer']['splice'](_0x23a66a,0x1);_0x27cb71['call'](this,new Error('operation\x20has\x20timed\x20out'));},_0x36efdd);this['acks'][_0x52dc3e]=(..._0x4010b2)=>{this['io']['clearTimeoutFn'](_0x26f5b1),_0x27cb71['apply'](this,[null,..._0x4010b2]);};}['emitWithAck'](_0x3e492f,..._0x1785fb){const _0x5e063f=void 0x0!==this['flags']['timeout']||void 0x0!==this['_opts']['ackTimeout'];return new Promise((_0x26d340,_0x1e8d53)=>{_0x1785fb['push']((_0x5b0292,_0x5b34ed)=>_0x5e063f?_0x5b0292?_0x1e8d53(_0x5b0292):_0x26d340(_0x5b34ed):_0x26d340(_0x5b0292)),this['emit'](_0x3e492f,..._0x1785fb);});}['_addToQueue'](_0x1ec68b){let _0x57ee98;'function'==typeof _0x1ec68b[_0x1ec68b['length']-0x1]&&(_0x57ee98=_0x1ec68b['pop']());const _0x51d628={'id':this['_queueSeq']++,'tryCount':0x0,'pending':!0x1,'args':_0x1ec68b,'flags':Object['assign']({'fromQueue':!0x0},this['flags'])};_0x1ec68b['push']((_0x1072a9,..._0x9844a)=>{if(_0x51d628!==this['_queue'][0x0])return;return null!==_0x1072a9?_0x51d628['tryCount']>this['_opts']['retries']&&(this['_queue']['shift'](),_0x57ee98&&_0x57ee98(_0x1072a9)):(this['_queue']['shift'](),_0x57ee98&&_0x57ee98(null,..._0x9844a)),_0x51d628['pending']=!0x1,this['_drainQueue']();}),this['_queue']['push'](_0x51d628),this['_drainQueue']();}['_drainQueue'](_0x28fa16=!0x1){if(!this['connected']||0x0===this['_queue']['length'])return;const _0x1e8d22=this['_queue'][0x0];_0x1e8d22['pending']&&!_0x28fa16||(_0x1e8d22['pending']=!0x0,_0x1e8d22['tryCount']++,this['flags']=_0x1e8d22['flags'],this['emit']['apply'](this,_0x1e8d22['args']));}['packet'](_0x4e5e6e){_0x4e5e6e['nsp']=this['nsp'],this['io']['_packet'](_0x4e5e6e);}['onopen'](){'function'==typeof this['auth']?this['auth'](_0x162c99=>{this['_sendConnectPacket'](_0x162c99);}):this['_sendConnectPacket'](this['auth']);}['_sendConnectPacket'](_0x5e28b9){this['packet']({'type':PacketType['CONNECT'],'data':this['_pid']?Object['assign']({'pid':this['_pid'],'offset':this['_lastOffset']},_0x5e28b9):_0x5e28b9});}['onerror'](_0x2817a4){this['connected']||this['emitReserved']('connect_error',_0x2817a4);}['onclose'](_0x26fb2b,_0x3243e5){this['connected']=!0x1,delete this['id'],this['emitReserved']('disconnect',_0x26fb2b,_0x3243e5);}['onpacket'](_0x3bdbcb){if(_0x3bdbcb['nsp']===this['nsp'])switch(_0x3bdbcb['type']){case PacketType['CONNECT']:_0x3bdbcb['data']&&_0x3bdbcb['data']['sid']?this['onconnect'](_0x3bdbcb['data']['sid'],_0x3bdbcb['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'](_0x3bdbcb);break;case PacketType['ACK']:case PacketType['BINARY_ACK']:this['onack'](_0x3bdbcb);break;case PacketType['DISCONNECT']:this['ondisconnect']();break;case PacketType['CONNECT_ERROR']:this['destroy']();const _0xfd904b=new Error(_0x3bdbcb['data']['message']);_0xfd904b['data']=_0x3bdbcb['data']['data'],this['emitReserved']('connect_error',_0xfd904b);}}['onevent'](_0x12449d){const _0x31d7cd=_0x12449d['data']||[];null!=_0x12449d['id']&&_0x31d7cd['push'](this['ack'](_0x12449d['id'])),this['connected']?this['emitEvent'](_0x31d7cd):this['receiveBuffer']['push'](Object['freeze'](_0x31d7cd));}['emitEvent'](_0x31722b){if(this['_anyListeners']&&this['_anyListeners']['length']){const _0x5976ec=this['_anyListeners']['slice']();for(const _0x28edb3 of _0x5976ec)_0x28edb3['apply'](this,_0x31722b);}super['emit']['apply'](this,_0x31722b),this['_pid']&&_0x31722b['length']&&'string'==typeof _0x31722b[_0x31722b['length']-0x1]&&(this['_lastOffset']=_0x31722b[_0x31722b['length']-0x1]);}['ack'](_0x6ec2fc){const _0x803157=this;let _0x4b0068=!0x1;return function(..._0x4acbd1){_0x4b0068||(_0x4b0068=!0x0,_0x803157['packet']({'type':PacketType['ACK'],'id':_0x6ec2fc,'data':_0x4acbd1}));};}['onack'](_0x36f42f){const _0x45bf1c=this['acks'][_0x36f42f['id']];'function'==typeof _0x45bf1c&&(_0x45bf1c['apply'](this,_0x36f42f['data']),delete this['acks'][_0x36f42f['id']]);}['onconnect'](_0x413d67,_0x4f2102){this['id']=_0x413d67,this['recovered']=_0x4f2102&&this['_pid']===_0x4f2102,this['_pid']=_0x4f2102,this['connected']=!0x0,this['emitBuffered'](),this['emitReserved']('connect'),this['_drainQueue'](!0x0);}['emitBuffered'](){this['receiveBuffer']['forEach'](_0x5b29f=>this['emitEvent'](_0x5b29f)),this['receiveBuffer']=[],this['sendBuffer']['forEach'](_0x5e0b2b=>{this['notifyOutgoingListeners'](_0x5e0b2b),this['packet'](_0x5e0b2b);}),this['sendBuffer']=[];}['ondisconnect'](){this['destroy'](),this['onclose']('io\x20server\x20disconnect');}['destroy'](){this['subs']&&(this['subs']['forEach'](_0x5067b5=>_0x5067b5()),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'](_0x184730){return this['flags']['compress']=_0x184730,this;}get['volatile'](){return this['flags']['volatile']=!0x0,this;}['timeout'](_0x490be0){return this['flags']['timeout']=_0x490be0,this;}['onAny'](_0x485752){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['push'](_0x485752),this;}['prependAny'](_0x4ed003){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['unshift'](_0x4ed003),this;}['offAny'](_0x373941){if(!this['_anyListeners'])return this;if(_0x373941){const _0x3ebe57=this['_anyListeners'];for(let _0x15b804=0x0;_0x15b804<_0x3ebe57['length'];_0x15b804++)if(_0x373941===_0x3ebe57[_0x15b804])return _0x3ebe57['splice'](_0x15b804,0x1),this;}else this['_anyListeners']=[];return this;}['listenersAny'](){return this['_anyListeners']||[];}['onAnyOutgoing'](_0x4ab346){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['push'](_0x4ab346),this;}['prependAnyOutgoing'](_0x18e737){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['unshift'](_0x18e737),this;}['offAnyOutgoing'](_0x126e83){if(!this['_anyOutgoingListeners'])return this;if(_0x126e83){const _0x3aa980=this['_anyOutgoingListeners'];for(let _0x3250e6=0x0;_0x3250e6<_0x3aa980['length'];_0x3250e6++)if(_0x126e83===_0x3aa980[_0x3250e6])return _0x3aa980['splice'](_0x3250e6,0x1),this;}else this['_anyOutgoingListeners']=[];return this;}['listenersAnyOutgoing'](){return this['_anyOutgoingListeners']||[];}['notifyOutgoingListeners'](_0x2ff681){if(this['_anyOutgoingListeners']&&this['_anyOutgoingListeners']['length']){const _0x5aed2a=this['_anyOutgoingListeners']['slice']();for(const _0x42b5a1 of _0x5aed2a)_0x42b5a1['apply'](this,_0x2ff681['data']);}}}function _0x4d40ae(_0x11621c){_0x11621c=_0x11621c||{},this['ms']=_0x11621c['min']||0x64,this['max']=_0x11621c['max']||0x2710,this['factor']=_0x11621c['factor']||0x2,this['jitter']=_0x11621c['jitter']>0x0&&_0x11621c['jitter']<=0x1?_0x11621c['jitter']:0x0,this['attempts']=0x0;}_0x4d40ae['prototype']['duration']=function(){var _0x4d2ae6=this['ms']*Math['pow'](this['factor'],this['attempts']++);if(this['jitter']){var _0x92d49=Math['random'](),_0x48c64d=Math['floor'](_0x92d49*this['jitter']*_0x4d2ae6);_0x4d2ae6=0x1&Math['floor'](0xa*_0x92d49)?_0x4d2ae6+_0x48c64d:_0x4d2ae6-_0x48c64d;}return 0x0|Math['min'](_0x4d2ae6,this['max']);},_0x4d40ae['prototype']['reset']=function(){this['attempts']=0x0;},_0x4d40ae['prototype']['setMin']=function(_0x26f90c){this['ms']=_0x26f90c;},_0x4d40ae['prototype']['setMax']=function(_0x5bdb95){this['max']=_0x5bdb95;},_0x4d40ae['prototype']['setJitter']=function(_0x331465){this['jitter']=_0x331465;};class _0x195662 extends Emitter{constructor(_0x13b17b,_0x3f6a84){var _0xb617cd;super(),this['nsps']={},this['subs']=[],_0x13b17b&&'object'==typeof _0x13b17b&&(_0x3f6a84=_0x13b17b,_0x13b17b=void 0x0),(_0x3f6a84=_0x3f6a84||{})['path']=_0x3f6a84['path']||'/socket.io',this['opts']=_0x3f6a84,installTimerFunctions(this,_0x3f6a84),this['reconnection'](!0x1!==_0x3f6a84['reconnection']),this['reconnectionAttempts'](_0x3f6a84['reconnectionAttempts']||0x1/0x0),this['reconnectionDelay'](_0x3f6a84['reconnectionDelay']||0x3e8),this['reconnectionDelayMax'](_0x3f6a84['reconnectionDelayMax']||0x1388),this['randomizationFactor'](null!==(_0xb617cd=_0x3f6a84['randomizationFactor'])&&void 0x0!==_0xb617cd?_0xb617cd:0.5),this['backoff']=new _0x4d40ae({'min':this['reconnectionDelay'](),'max':this['reconnectionDelayMax'](),'jitter':this['randomizationFactor']()}),this['timeout'](null==_0x3f6a84['timeout']?0x4e20:_0x3f6a84['timeout']),this['_readyState']='closed',this['uri']=_0x13b17b;const _0x1a4bd6=_0x3f6a84['parser']||_0x28edcd;this['encoder']=new _0x1a4bd6['Encoder'](),this['decoder']=new _0x1a4bd6['Decoder'](),this['_autoConnect']=!0x1!==_0x3f6a84['autoConnect'],this['_autoConnect']&&this['open']();}['reconnection'](_0x3684df){return arguments['length']?(this['_reconnection']=!!_0x3684df,this):this['_reconnection'];}['reconnectionAttempts'](_0x507670){return void 0x0===_0x507670?this['_reconnectionAttempts']:(this['_reconnectionAttempts']=_0x507670,this);}['reconnectionDelay'](_0x593c2b){var _0x24bf43;return void 0x0===_0x593c2b?this['_reconnectionDelay']:(this['_reconnectionDelay']=_0x593c2b,null===(_0x24bf43=this['backoff'])||void 0x0===_0x24bf43||_0x24bf43['setMin'](_0x593c2b),this);}['randomizationFactor'](_0x226b92){var _0x8da6d0;return void 0x0===_0x226b92?this['_randomizationFactor']:(this['_randomizationFactor']=_0x226b92,null===(_0x8da6d0=this['backoff'])||void 0x0===_0x8da6d0||_0x8da6d0['setJitter'](_0x226b92),this);}['reconnectionDelayMax'](_0x27dada){var _0x176b4b;return void 0x0===_0x27dada?this['_reconnectionDelayMax']:(this['_reconnectionDelayMax']=_0x27dada,null===(_0x176b4b=this['backoff'])||void 0x0===_0x176b4b||_0x176b4b['setMax'](_0x27dada),this);}['timeout'](_0x1a2530){return arguments['length']?(this['_timeout']=_0x1a2530,this):this['_timeout'];}['maybeReconnectOnOpen'](){!this['_reconnecting']&&this['_reconnection']&&0x0===this['backoff']['attempts']&&this['reconnect']();}['open'](_0x5b9e69){if(~this['_readyState']['indexOf']('open'))return this;this['engine']=new Socket$1(this['uri'],this['opts']);const _0x1f255f=this['engine'],_0x200ecc=this;this['_readyState']='opening',this['skipReconnect']=!0x1;const _0x12e2fd=_0x2f82d5(_0x1f255f,'open',function(){_0x200ecc['onopen'](),_0x5b9e69&&_0x5b9e69();}),_0x15fc24=_0x539958=>{this['cleanup'](),this['_readyState']='closed',this['emitReserved']('error',_0x539958),_0x5b9e69?_0x5b9e69(_0x539958):this['maybeReconnectOnOpen']();},_0x662202=_0x2f82d5(_0x1f255f,'error',_0x15fc24);if(!0x1!==this['_timeout']){const _0x490015=this['_timeout'],_0x590dcc=this['setTimeoutFn'](()=>{_0x12e2fd(),_0x15fc24(new Error('timeout')),_0x1f255f['close']();},_0x490015);this['opts']['autoUnref']&&_0x590dcc['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x590dcc);});}return this['subs']['push'](_0x12e2fd),this['subs']['push'](_0x662202),this;}['connect'](_0x5d00d0){return this['open'](_0x5d00d0);}['onopen'](){this['cleanup'](),this['_readyState']='open',this['emitReserved']('open');const _0x2ff7ea=this['engine'];this['subs']['push'](_0x2f82d5(_0x2ff7ea,'ping',this['onping']['bind'](this)),_0x2f82d5(_0x2ff7ea,'data',this['ondata']['bind'](this)),_0x2f82d5(_0x2ff7ea,'error',this['onerror']['bind'](this)),_0x2f82d5(_0x2ff7ea,'close',this['onclose']['bind'](this)),_0x2f82d5(this['decoder'],'decoded',this['ondecoded']['bind'](this)));}['onping'](){this['emitReserved']('ping');}['ondata'](_0x358bc0){try{this['decoder']['add'](_0x358bc0);}catch(_0x3545e9){this['onclose']('parse\x20error',_0x3545e9);}}['ondecoded'](_0x22cab4){nextTick(()=>{this['emitReserved']('packet',_0x22cab4);},this['setTimeoutFn']);}['onerror'](_0x21932f){this['emitReserved']('error',_0x21932f);}['socket'](_0x51c873,_0x1b52db){let _0x419bb8=this['nsps'][_0x51c873];return _0x419bb8?this['_autoConnect']&&!_0x419bb8['active']&&_0x419bb8['connect']():(_0x419bb8=new Socket(this,_0x51c873,_0x1b52db),this['nsps'][_0x51c873]=_0x419bb8),_0x419bb8;}['_destroy'](_0x20406c){const _0x53e018=Object['keys'](this['nsps']);for(const _0x481c1f of _0x53e018){if(this['nsps'][_0x481c1f]['active'])return;}this['_close']();}['_packet'](_0x11b6ea){const _0x3f0637=this['encoder']['encode'](_0x11b6ea);for(let _0x25cbe8=0x0;_0x25cbe8<_0x3f0637['length'];_0x25cbe8++)this['engine']['write'](_0x3f0637[_0x25cbe8],_0x11b6ea['options']);}['cleanup'](){this['subs']['forEach'](_0x466623=>_0x466623()),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'](_0x1792c8,_0x2ac03f){this['cleanup'](),this['backoff']['reset'](),this['_readyState']='closed',this['emitReserved']('close',_0x1792c8,_0x2ac03f),this['_reconnection']&&!this['skipReconnect']&&this['reconnect']();}['reconnect'](){if(this['_reconnecting']||this['skipReconnect'])return this;const _0x49ac72=this;if(this['backoff']['attempts']>=this['_reconnectionAttempts'])this['backoff']['reset'](),this['emitReserved']('reconnect_failed'),this['_reconnecting']=!0x1;else{const _0x4e722f=this['backoff']['duration']();this['_reconnecting']=!0x0;const _0x3e7589=this['setTimeoutFn'](()=>{_0x49ac72['skipReconnect']||(this['emitReserved']('reconnect_attempt',_0x49ac72['backoff']['attempts']),_0x49ac72['skipReconnect']||_0x49ac72['open'](_0x39ec5c=>{_0x39ec5c?(_0x49ac72['_reconnecting']=!0x1,_0x49ac72['reconnect'](),this['emitReserved']('reconnect_error',_0x39ec5c)):_0x49ac72['onreconnect']();}));},_0x4e722f);this['opts']['autoUnref']&&_0x3e7589['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x3e7589);});}}['onreconnect'](){const _0x4ff7ff=this['backoff']['attempts'];this['_reconnecting']=!0x1,this['backoff']['reset'](),this['emitReserved']('reconnect',_0x4ff7ff);}}const _0x1dcd6f={};function _0x35a7b0(_0x2ba63e,_0x24f5b){'object'==typeof _0x2ba63e&&(_0x24f5b=_0x2ba63e,_0x2ba63e=void 0x0);const _0x4cdeac=_0x4db5bb(_0x2ba63e,(_0x24f5b=_0x24f5b||{})['path']||'/socket.io'),_0x8bc5c4=_0x4cdeac['source'],_0x3552a6=_0x4cdeac['id'],_0x33b8d1=_0x4cdeac['path'],_0x1004b5=_0x1dcd6f[_0x3552a6]&&_0x33b8d1 in _0x1dcd6f[_0x3552a6]['nsps'];let _0x3be75f;return _0x24f5b['forceNew']||_0x24f5b['force\x20new\x20connection']||!0x1===_0x24f5b['multiplex']||_0x1004b5?_0x3be75f=new _0x195662(_0x8bc5c4,_0x24f5b):(_0x1dcd6f[_0x3552a6]||(_0x1dcd6f[_0x3552a6]=new _0x195662(_0x8bc5c4,_0x24f5b)),_0x3be75f=_0x1dcd6f[_0x3552a6]),_0x4cdeac['query']&&!_0x24f5b['query']&&(_0x24f5b['query']=_0x4cdeac['queryKey']),_0x3be75f['socket'](_0x4cdeac['path'],_0x24f5b);}var requiresPort,hasRequiredRequiresPort;function requireRequiresPort(){return hasRequiredRequiresPort||(hasRequiredRequiresPort=0x1,requiresPort=function(_0x196507,_0x462b6c){if(_0x462b6c=_0x462b6c['split'](':')[0x0],!(_0x196507=+_0x196507))return!0x1;switch(_0x462b6c){case'http':case'ws':return 0x50!==_0x196507;case'https':case'wss':return 0x1bb!==_0x196507;case'ftp':return 0x15!==_0x196507;case'gopher':return 0x46!==_0x196507;case'file':return!0x1;}return 0x0!==_0x196507;}),requiresPort;}Object['assign'](_0x35a7b0,{'Manager':_0x195662,'Socket':Socket,'io':_0x35a7b0,'connect':_0x35a7b0});var querystringify={},hasRequiredQuerystringify,_0x498748,_0x2a991a;function requireQuerystringify(){if(hasRequiredQuerystringify)return querystringify;hasRequiredQuerystringify=0x1;var _0x313592=Object['prototype']['hasOwnProperty'];function _0x9b2a7e(_0x1ad9ed){try{return decodeURIComponent(_0x1ad9ed['replace'](/\+/g,'\x20'));}catch(_0x319617){return null;}}function _0x202aec(_0x4a8383){try{return encodeURIComponent(_0x4a8383);}catch(_0x30b2f3){return null;}}return querystringify['stringify']=function(_0x317fc6,_0x41b8d1){_0x41b8d1=_0x41b8d1||'';var _0x635361,_0x3573e1,_0x1040a4=[];for(_0x3573e1 in('string'!=typeof _0x41b8d1&&(_0x41b8d1='?'),_0x317fc6))if(_0x313592['call'](_0x317fc6,_0x3573e1)){if((_0x635361=_0x317fc6[_0x3573e1])||null!=_0x635361&&!isNaN(_0x635361)||(_0x635361=''),_0x3573e1=_0x202aec(_0x3573e1),_0x635361=_0x202aec(_0x635361),null===_0x3573e1||null===_0x635361)continue;_0x1040a4['push'](_0x3573e1+'='+_0x635361);}return _0x1040a4['length']?_0x41b8d1+_0x1040a4['join']('&'):'';},querystringify['parse']=function(_0x4dabf5){for(var _0xb1f692,_0x2d081d=/([^=?#&]+)=?([^&]*)/g,_0x55360c={};_0xb1f692=_0x2d081d['exec'](_0x4dabf5);){var _0x479b0e=_0x9b2a7e(_0xb1f692[0x1]),_0x13d113=_0x9b2a7e(_0xb1f692[0x2]);null===_0x479b0e||null===_0x13d113||_0x479b0e in _0x55360c||(_0x55360c[_0x479b0e]=_0x13d113);}return _0x55360c;},querystringify;}function requireUrlParse(){if(_0x2a991a)return _0x498748;_0x2a991a=0x1;var _0x1dc038=requireRequiresPort(),_0x566235=requireQuerystringify(),_0x22028e=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,_0x4b32fb=/[\n\r\t]/g,_0x1d6196=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,_0x278db0=/:\d+$/,_0x49bbef=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,_0x149488=/^[a-zA-Z]:/;function _0x45fafa(_0x399b20){return(_0x399b20||'')['toString']()['replace'](_0x22028e,'');}var _0x3ebf06=[['#','hash'],['?','query'],function(_0x29df3b,_0x154111){return _0x43d87e(_0x154111['protocol'])?_0x29df3b['replace'](/\\/g,'/'):_0x29df3b;},['/','pathname'],['@','auth',0x1],[NaN,'host',void 0x0,0x1,0x1],[/:(\d*)$/,'port',void 0x0,0x1],[NaN,'hostname',void 0x0,0x1,0x1]],_0x28002e={'hash':0x1,'query':0x1};function _0x186252(_0x409e7a){var _0x226e15,_0x46976f=('undefined'!=typeof window?window:void 0x0!==_0x497c9c?_0x497c9c:'undefined'!=typeof self?self:{})['location']||{},_0x4e3413={},_0x23fcac=typeof(_0x409e7a=_0x409e7a||_0x46976f);if('blob:'===_0x409e7a['protocol'])_0x4e3413=new _0x28b610(unescape(_0x409e7a['pathname']),{});else{if('string'===_0x23fcac){for(_0x226e15 in(_0x4e3413=new _0x28b610(_0x409e7a,{}),_0x28002e))delete _0x4e3413[_0x226e15];}else{if('object'===_0x23fcac){for(_0x226e15 in _0x409e7a)_0x226e15 in _0x28002e||(_0x4e3413[_0x226e15]=_0x409e7a[_0x226e15]);void 0x0===_0x4e3413['slashes']&&(_0x4e3413['slashes']=_0x1d6196['test'](_0x409e7a['href']));}}}return _0x4e3413;}function _0x43d87e(_0x386210){return'file:'===_0x386210||'ftp:'===_0x386210||'http:'===_0x386210||'https:'===_0x386210||'ws:'===_0x386210||'wss:'===_0x386210;}function _0x40e472(_0x17f090,_0x20e253){_0x17f090=(_0x17f090=_0x45fafa(_0x17f090))['replace'](_0x4b32fb,''),_0x20e253=_0x20e253||{};var _0x4c7325,_0x1591d2=_0x49bbef['exec'](_0x17f090),_0x3d608c=_0x1591d2[0x1]?_0x1591d2[0x1]['toLowerCase']():'',_0x5ba886=!!_0x1591d2[0x2],_0x29b45b=!!_0x1591d2[0x3],_0x37fdc3=0x0;return _0x5ba886?_0x29b45b?(_0x4c7325=_0x1591d2[0x2]+_0x1591d2[0x3]+_0x1591d2[0x4],_0x37fdc3=_0x1591d2[0x2]['length']+_0x1591d2[0x3]['length']):(_0x4c7325=_0x1591d2[0x2]+_0x1591d2[0x4],_0x37fdc3=_0x1591d2[0x2]['length']):_0x29b45b?(_0x4c7325=_0x1591d2[0x3]+_0x1591d2[0x4],_0x37fdc3=_0x1591d2[0x3]['length']):_0x4c7325=_0x1591d2[0x4],'file:'===_0x3d608c?_0x37fdc3>=0x2&&(_0x4c7325=_0x4c7325['slice'](0x2)):_0x43d87e(_0x3d608c)?_0x4c7325=_0x1591d2[0x4]:_0x3d608c?_0x5ba886&&(_0x4c7325=_0x4c7325['slice'](0x2)):_0x37fdc3>=0x2&&_0x43d87e(_0x20e253['protocol'])&&(_0x4c7325=_0x1591d2[0x4]),{'protocol':_0x3d608c,'slashes':_0x5ba886||_0x43d87e(_0x3d608c),'slashesCount':_0x37fdc3,'rest':_0x4c7325};}function _0x28b610(_0x4b560a,_0x31b82d,_0x54367c){if(_0x4b560a=(_0x4b560a=_0x45fafa(_0x4b560a))['replace'](_0x4b32fb,''),!(this instanceof _0x28b610))return new _0x28b610(_0x4b560a,_0x31b82d,_0x54367c);var _0x38d4c7,_0x1a292f,_0x20fe0a,_0x21e11c,_0x2fddff,_0x1d1752,_0x458aaa=_0x3ebf06['slice'](),_0x5088f7=typeof _0x31b82d,_0x54771a=this,_0x3e9d0a=0x0;for('object'!==_0x5088f7&&'string'!==_0x5088f7&&(_0x54367c=_0x31b82d,_0x31b82d=null),_0x54367c&&'function'!=typeof _0x54367c&&(_0x54367c=_0x566235['parse']),_0x38d4c7=!(_0x1a292f=_0x40e472(_0x4b560a||'',_0x31b82d=_0x186252(_0x31b82d)))['protocol']&&!_0x1a292f['slashes'],_0x54771a['slashes']=_0x1a292f['slashes']||_0x38d4c7&&_0x31b82d['slashes'],_0x54771a['protocol']=_0x1a292f['protocol']||_0x31b82d['protocol']||'',_0x4b560a=_0x1a292f['rest'],('file:'===_0x1a292f['protocol']&&(0x2!==_0x1a292f['slashesCount']||_0x149488['test'](_0x4b560a))||!_0x1a292f['slashes']&&(_0x1a292f['protocol']||_0x1a292f['slashesCount']<0x2||!_0x43d87e(_0x54771a['protocol'])))&&(_0x458aaa[0x3]=[/(.*)/,'pathname']);_0x3e9d0a<_0x458aaa['length'];_0x3e9d0a++)'function'!=typeof(_0x21e11c=_0x458aaa[_0x3e9d0a])?(_0x20fe0a=_0x21e11c[0x0],_0x1d1752=_0x21e11c[0x1],_0x20fe0a!=_0x20fe0a?_0x54771a[_0x1d1752]=_0x4b560a:'string'==typeof _0x20fe0a?~(_0x2fddff='@'===_0x20fe0a?_0x4b560a['lastIndexOf'](_0x20fe0a):_0x4b560a['indexOf'](_0x20fe0a))&&('number'==typeof _0x21e11c[0x2]?(_0x54771a[_0x1d1752]=_0x4b560a['slice'](0x0,_0x2fddff),_0x4b560a=_0x4b560a['slice'](_0x2fddff+_0x21e11c[0x2])):(_0x54771a[_0x1d1752]=_0x4b560a['slice'](_0x2fddff),_0x4b560a=_0x4b560a['slice'](0x0,_0x2fddff))):(_0x2fddff=_0x20fe0a['exec'](_0x4b560a))&&(_0x54771a[_0x1d1752]=_0x2fddff[0x1],_0x4b560a=_0x4b560a['slice'](0x0,_0x2fddff['index'])),_0x54771a[_0x1d1752]=_0x54771a[_0x1d1752]||_0x38d4c7&&_0x21e11c[0x3]&&_0x31b82d[_0x1d1752]||'',_0x21e11c[0x4]&&(_0x54771a[_0x1d1752]=_0x54771a[_0x1d1752]['toLowerCase']())):_0x4b560a=_0x21e11c(_0x4b560a,_0x54771a);_0x54367c&&(_0x54771a['query']=_0x54367c(_0x54771a['query'])),_0x38d4c7&&_0x31b82d['slashes']&&'/'!==_0x54771a['pathname']['charAt'](0x0)&&(''!==_0x54771a['pathname']||''!==_0x31b82d['pathname'])&&(_0x54771a['pathname']=function(_0x22c2ae,_0x7d8eaa){if(''===_0x22c2ae)return _0x7d8eaa;for(var _0x4119c5=(_0x7d8eaa||'/')['split']('/')['slice'](0x0,-0x1)['concat'](_0x22c2ae['split']('/')),_0x430da9=_0x4119c5['length'],_0x43f7e8=_0x4119c5[_0x430da9-0x1],_0x3d8f96=!0x1,_0x2bcb39=0x0;_0x430da9--;)'.'===_0x4119c5[_0x430da9]?_0x4119c5['splice'](_0x430da9,0x1):'..'===_0x4119c5[_0x430da9]?(_0x4119c5['splice'](_0x430da9,0x1),_0x2bcb39++):_0x2bcb39&&(0x0===_0x430da9&&(_0x3d8f96=!0x0),_0x4119c5['splice'](_0x430da9,0x1),_0x2bcb39--);return _0x3d8f96&&_0x4119c5['unshift'](''),'.'!==_0x43f7e8&&'..'!==_0x43f7e8||_0x4119c5['push'](''),_0x4119c5['join']('/');}(_0x54771a['pathname'],_0x31b82d['pathname'])),'/'!==_0x54771a['pathname']['charAt'](0x0)&&_0x43d87e(_0x54771a['protocol'])&&(_0x54771a['pathname']='/'+_0x54771a['pathname']),_0x1dc038(_0x54771a['port'],_0x54771a['protocol'])||(_0x54771a['host']=_0x54771a['hostname'],_0x54771a['port']=''),_0x54771a['username']=_0x54771a['password']='',_0x54771a['auth']&&(~(_0x2fddff=_0x54771a['auth']['indexOf'](':'))?(_0x54771a['username']=_0x54771a['auth']['slice'](0x0,_0x2fddff),_0x54771a['username']=encodeURIComponent(decodeURIComponent(_0x54771a['username'])),_0x54771a['password']=_0x54771a['auth']['slice'](_0x2fddff+0x1),_0x54771a['password']=encodeURIComponent(decodeURIComponent(_0x54771a['password']))):_0x54771a['username']=encodeURIComponent(decodeURIComponent(_0x54771a['auth'])),_0x54771a['auth']=_0x54771a['password']?_0x54771a['username']+':'+_0x54771a['password']:_0x54771a['username']),_0x54771a['origin']='file:'!==_0x54771a['protocol']&&_0x43d87e(_0x54771a['protocol'])&&_0x54771a['host']?_0x54771a['protocol']+'//'+_0x54771a['host']:'null',_0x54771a['href']=_0x54771a['toString']();}return _0x28b610['prototype']={'set':function(_0x50b00e,_0x34a760,_0x463c95){var _0x381d3b=this;switch(_0x50b00e){case'query':'string'==typeof _0x34a760&&_0x34a760['length']&&(_0x34a760=(_0x463c95||_0x566235['parse'])(_0x34a760)),_0x381d3b[_0x50b00e]=_0x34a760;break;case'port':_0x381d3b[_0x50b00e]=_0x34a760,_0x1dc038(_0x34a760,_0x381d3b['protocol'])?_0x34a760&&(_0x381d3b['host']=_0x381d3b['hostname']+':'+_0x34a760):(_0x381d3b['host']=_0x381d3b['hostname'],_0x381d3b[_0x50b00e]='');break;case'hostname':_0x381d3b[_0x50b00e]=_0x34a760,_0x381d3b['port']&&(_0x34a760+=':'+_0x381d3b['port']),_0x381d3b['host']=_0x34a760;break;case'host':_0x381d3b[_0x50b00e]=_0x34a760,_0x278db0['test'](_0x34a760)?(_0x34a760=_0x34a760['split'](':'),_0x381d3b['port']=_0x34a760['pop'](),_0x381d3b['hostname']=_0x34a760['join'](':')):(_0x381d3b['hostname']=_0x34a760,_0x381d3b['port']='');break;case'protocol':_0x381d3b['protocol']=_0x34a760['toLowerCase'](),_0x381d3b['slashes']=!_0x463c95;break;case'pathname':case'hash':if(_0x34a760){var _0x5b6ab0='pathname'===_0x50b00e?'/':'#';_0x381d3b[_0x50b00e]=_0x34a760['charAt'](0x0)!==_0x5b6ab0?_0x5b6ab0+_0x34a760:_0x34a760;}else _0x381d3b[_0x50b00e]=_0x34a760;break;case'username':case'password':_0x381d3b[_0x50b00e]=encodeURIComponent(_0x34a760);break;case'auth':var _0x178d4c=_0x34a760['indexOf'](':');~_0x178d4c?(_0x381d3b['username']=_0x34a760['slice'](0x0,_0x178d4c),_0x381d3b['username']=encodeURIComponent(decodeURIComponent(_0x381d3b['username'])),_0x381d3b['password']=_0x34a760['slice'](_0x178d4c+0x1),_0x381d3b['password']=encodeURIComponent(decodeURIComponent(_0x381d3b['password']))):_0x381d3b['username']=encodeURIComponent(decodeURIComponent(_0x34a760));}for(var _0x317444=0x0;_0x317444<_0x3ebf06['length'];_0x317444++){var _0x5c9385=_0x3ebf06[_0x317444];_0x5c9385[0x4]&&(_0x381d3b[_0x5c9385[0x1]]=_0x381d3b[_0x5c9385[0x1]]['toLowerCase']());}return _0x381d3b['auth']=_0x381d3b['password']?_0x381d3b['username']+':'+_0x381d3b['password']:_0x381d3b['username'],_0x381d3b['origin']='file:'!==_0x381d3b['protocol']&&_0x43d87e(_0x381d3b['protocol'])&&_0x381d3b['host']?_0x381d3b['protocol']+'//'+_0x381d3b['host']:'null',_0x381d3b['href']=_0x381d3b['toString'](),_0x381d3b;},'toString':function(_0x532510){_0x532510&&'function'==typeof _0x532510||(_0x532510=_0x566235['stringify']);var _0x3d0d44,_0x680982=this,_0x21b009=_0x680982['host'],_0x216480=_0x680982['protocol'];_0x216480&&':'!==_0x216480['charAt'](_0x216480['length']-0x1)&&(_0x216480+=':');var _0x36ee73=_0x216480+(_0x680982['protocol']&&_0x680982['slashes']||_0x43d87e(_0x680982['protocol'])?'//':'');return _0x680982['username']?(_0x36ee73+=_0x680982['username'],_0x680982['password']&&(_0x36ee73+=':'+_0x680982['password']),_0x36ee73+='@'):_0x680982['password']?(_0x36ee73+=':'+_0x680982['password'],_0x36ee73+='@'):'file:'!==_0x680982['protocol']&&_0x43d87e(_0x680982['protocol'])&&!_0x21b009&&'/'!==_0x680982['pathname']&&(_0x36ee73+='@'),(':'===_0x21b009[_0x21b009['length']-0x1]||_0x278db0['test'](_0x680982['hostname'])&&!_0x680982['port'])&&(_0x21b009+=':'),_0x36ee73+=_0x21b009+_0x680982['pathname'],(_0x3d0d44='object'==typeof _0x680982['query']?_0x532510(_0x680982['query']):_0x680982['query'])&&(_0x36ee73+='?'!==_0x3d0d44['charAt'](0x0)?'?'+_0x3d0d44:_0x3d0d44),_0x680982['hash']&&(_0x36ee73+=_0x680982['hash']),_0x36ee73;}},_0x28b610['extractProtocol']=_0x40e472,_0x28b610['location']=_0x186252,_0x28b610['trimLeft']=_0x45fafa,_0x28b610['qs']=_0x566235,_0x498748=_0x28b610;}var urlParseExports=requireUrlParse();let getRandomValues;const _0x277888=new Uint8Array(0x10);function _0x560e53(){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(_0x277888);}const byteToHex=[];for(let _0x55ce72=0x0;_0x55ce72<0x100;++_0x55ce72)byteToHex['push']((_0x55ce72+0x100)['toString'](0x10)['slice'](0x1));function unsafeStringify(_0x5ed944,_0x2c5f55=0x0){return byteToHex[_0x5ed944[_0x2c5f55+0x0]]+byteToHex[_0x5ed944[_0x2c5f55+0x1]]+byteToHex[_0x5ed944[_0x2c5f55+0x2]]+byteToHex[_0x5ed944[_0x2c5f55+0x3]]+'-'+byteToHex[_0x5ed944[_0x2c5f55+0x4]]+byteToHex[_0x5ed944[_0x2c5f55+0x5]]+'-'+byteToHex[_0x5ed944[_0x2c5f55+0x6]]+byteToHex[_0x5ed944[_0x2c5f55+0x7]]+'-'+byteToHex[_0x5ed944[_0x2c5f55+0x8]]+byteToHex[_0x5ed944[_0x2c5f55+0x9]]+'-'+byteToHex[_0x5ed944[_0x2c5f55+0xa]]+byteToHex[_0x5ed944[_0x2c5f55+0xb]]+byteToHex[_0x5ed944[_0x2c5f55+0xc]]+byteToHex[_0x5ed944[_0x2c5f55+0xd]]+byteToHex[_0x5ed944[_0x2c5f55+0xe]]+byteToHex[_0x5ed944[_0x2c5f55+0xf]];}const _0x1cca78='undefined'!=typeof crypto&&crypto['randomUUID']&&crypto['randomUUID']['bind'](crypto);var native$1={'randomUUID':_0x1cca78};function _0x31b499(_0x47b581,_0x1fd0e2,_0x8223b0){if(native$1['randomUUID']&&!_0x47b581)return native$1['randomUUID']();const _0x3aa45f=(_0x47b581=_0x47b581||{})['random']||(_0x47b581['rng']||_0x560e53)();return _0x3aa45f[0x6]=0xf&_0x3aa45f[0x6]|0x40,_0x3aa45f[0x8]=0x3f&_0x3aa45f[0x8]|0x80,unsafeStringify(_0x3aa45f);}class Descriptor{static ['DESCRIPTOR_NAME'];static ['DESCRIPTOR'];constructor(..._0x118b3e){}}class _0x23aea3 extends Descriptor{static ['TYPE']='1000';static ['READABLE_TYPE_NAME'];constructor(..._0x3f8ad6){super();}static['fromJSON'](_0x252fd4){throw new TypeError('Must\x20be\x20implemented\x20in\x20a\x20child\x20class!');}}class GetUserMessage extends _0x23aea3{['id'];static ['TYPE']='21';static ['READABLE_TYPE_NAME']='getUser';static ['DESCRIPTOR_NAME']='GetUserMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0xeeca46){super(),this['id']=_0xeeca46;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0x55c6d8){return new GetUserMessage(_0x55c6d8['id']);}}class GetUserResponse extends _0x23aea3{['attributes'];static ['DESCRIPTOR_NAME']='GetUserResponse';static ['DESCRIPTOR']={'fields':{'attributes':{'rule':'repeated','type':'KeyValueDescriptor','id':0x1}}};constructor(_0x3f99de){super(),this['attributes']=_0x3f99de;}['toJSON'](){return{'attributes':Object['keys'](this['attributes'])['map'](_0x12610c=>({'key':_0x12610c,'value':JSON['stringify'](this['attributes'][_0x12610c])}))};}static['fromJSON'](_0x1fed56){const _0x421481=_0x1fed56['attributes']['reduce']((_0x5d6c3e,_0x4db25b)=>(_0x5d6c3e[_0x4db25b['key']]=_0x4db25b['value']?JSON['parse'](_0x4db25b['value']):null,_0x5d6c3e),{});return new GetUserResponse(_0x421481);}}const _0x3291db=/* #__PURE__ -- @preserve */
((()=>{var _0x2abaaa=minimalExports['Reader'],_0x5dfb11=minimalExports['Writer'],_0x1a3b11=minimalExports['util'],_0x3d2f4a=minimalExports['roots']['default']||(minimalExports['roots']['default']={});return _0x3d2f4a['StringStringPacketDataMessage']=(function(){function _0x220200(_0x370c67){if(_0x370c67){for(var _0x35e078=Object['keys'](_0x370c67),_0x34c841=0x0;_0x34c841<_0x35e078['length'];++_0x34c841)null!=_0x370c67[_0x35e078[_0x34c841]]&&(this[_0x35e078[_0x34c841]]=_0x370c67[_0x35e078[_0x34c841]]);}}return _0x220200['prototype']['data']='',_0x220200['prototype']['data1']='',_0x220200['create']=function(_0x71953f){return new _0x220200(_0x71953f);},_0x220200['encode']=function(_0x4ab826,_0x40a4dd){return _0x40a4dd||(_0x40a4dd=_0x5dfb11['create']()),null!=_0x4ab826['data']&&Object['hasOwnProperty']['call'](_0x4ab826,'data')&&_0x40a4dd['uint32'](0xa)['string'](_0x4ab826['data']),null!=_0x4ab826['data1']&&Object['hasOwnProperty']['call'](_0x4ab826,'data1')&&_0x40a4dd['uint32'](0x12)['string'](_0x4ab826['data1']),_0x40a4dd;},_0x220200['encodeDelimited']=function(_0x28e238,_0x344c1c){return this['encode'](_0x28e238,_0x344c1c)['ldelim']();},_0x220200['decode']=function(_0x625188,_0x187729,_0x2c0c22){_0x625188 instanceof _0x2abaaa||(_0x625188=_0x2abaaa['create'](_0x625188));for(var _0x30c27e=void 0x0===_0x187729?_0x625188['len']:_0x625188['pos']+_0x187729,_0x38ec5a=new _0x3d2f4a['StringStringPacketDataMessage']();_0x625188['pos']<_0x30c27e;){var _0x31f3d1=_0x625188['uint32']();if(_0x31f3d1===_0x2c0c22)break;switch(_0x31f3d1>>>0x3){case 0x1:_0x38ec5a['data']=_0x625188['string']();break;case 0x2:_0x38ec5a['data1']=_0x625188['string']();break;default:_0x625188['skipType'](0x7&_0x31f3d1);}}return _0x38ec5a;},_0x220200['decodeDelimited']=function(_0x1ab7ee){return _0x1ab7ee instanceof _0x2abaaa||(_0x1ab7ee=new _0x2abaaa(_0x1ab7ee)),this['decode'](_0x1ab7ee,_0x1ab7ee['uint32']());},_0x220200['verify']=function(_0xd69926){return'object'!=typeof _0xd69926||null===_0xd69926?'object\x20expected':null!=_0xd69926['data']&&_0xd69926['hasOwnProperty']('data')&&!_0x1a3b11['isString'](_0xd69926['data'])?'data:\x20string\x20expected':null!=_0xd69926['data1']&&_0xd69926['hasOwnProperty']('data1')&&!_0x1a3b11['isString'](_0xd69926['data1'])?'data1:\x20string\x20expected':null;},_0x220200['fromObject']=function(_0x2df54c){if(_0x2df54c instanceof _0x3d2f4a['StringStringPacketDataMessage'])return _0x2df54c;var _0x5a9d2b=new _0x3d2f4a['StringStringPacketDataMessage']();return null!=_0x2df54c['data']&&(_0x5a9d2b['data']=String(_0x2df54c['data'])),null!=_0x2df54c['data1']&&(_0x5a9d2b['data1']=String(_0x2df54c['data1'])),_0x5a9d2b;},_0x220200['toObject']=function(_0x8f9708,_0x5bc656){_0x5bc656||(_0x5bc656={});var _0xf95c8d={};return _0x5bc656['defaults']&&(_0xf95c8d['data']='',_0xf95c8d['data1']=''),null!=_0x8f9708['data']&&_0x8f9708['hasOwnProperty']('data')&&(_0xf95c8d['data']=_0x8f9708['data']),null!=_0x8f9708['data1']&&_0x8f9708['hasOwnProperty']('data1')&&(_0xf95c8d['data1']=_0x8f9708['data1']),_0xf95c8d;},_0x220200['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x220200['getTypeUrl']=function(_0x90535f){return void 0x0===_0x90535f&&(_0x90535f='type.googleapis.com'),_0x90535f+'/StringStringPacketDataMessage';},_0x220200;}()),_0x3d2f4a['StringObjectPacketDataMessage']=(function(){function _0x1f0a9a(_0x1248b4){if(_0x1248b4){for(var _0x213478=Object['keys'](_0x1248b4),_0x3194d6=0x0;_0x3194d6<_0x213478['length'];++_0x3194d6)null!=_0x1248b4[_0x213478[_0x3194d6]]&&(this[_0x213478[_0x3194d6]]=_0x1248b4[_0x213478[_0x3194d6]]);}}return _0x1f0a9a['prototype']['data']='',_0x1f0a9a['prototype']['data1']='',_0x1f0a9a['create']=function(_0x255824){return new _0x1f0a9a(_0x255824);},_0x1f0a9a['encode']=function(_0x487df5,_0x5299dd){return _0x5299dd||(_0x5299dd=_0x5dfb11['create']()),null!=_0x487df5['data']&&Object['hasOwnProperty']['call'](_0x487df5,'data')&&_0x5299dd['uint32'](0xa)['string'](_0x487df5['data']),null!=_0x487df5['data1']&&Object['hasOwnProperty']['call'](_0x487df5,'data1')&&_0x5299dd['uint32'](0x12)['string'](_0x487df5['data1']),_0x5299dd;},_0x1f0a9a['encodeDelimited']=function(_0x16aa42,_0x4cf87f){return this['encode'](_0x16aa42,_0x4cf87f)['ldelim']();},_0x1f0a9a['decode']=function(_0x569467,_0x455c92,_0x468bad){_0x569467 instanceof _0x2abaaa||(_0x569467=_0x2abaaa['create'](_0x569467));for(var _0x33157d=void 0x0===_0x455c92?_0x569467['len']:_0x569467['pos']+_0x455c92,_0x12a73c=new _0x3d2f4a['StringObjectPacketDataMessage']();_0x569467['pos']<_0x33157d;){var _0x49d785=_0x569467['uint32']();if(_0x49d785===_0x468bad)break;switch(_0x49d785>>>0x3){case 0x1:_0x12a73c['data']=_0x569467['string']();break;case 0x2:_0x12a73c['data1']=_0x569467['string']();break;default:_0x569467['skipType'](0x7&_0x49d785);}}return _0x12a73c;},_0x1f0a9a['decodeDelimited']=function(_0x409d13){return _0x409d13 instanceof _0x2abaaa||(_0x409d13=new _0x2abaaa(_0x409d13)),this['decode'](_0x409d13,_0x409d13['uint32']());},_0x1f0a9a['verify']=function(_0x566596){return'object'!=typeof _0x566596||null===_0x566596?'object\x20expected':null!=_0x566596['data']&&_0x566596['hasOwnProperty']('data')&&!_0x1a3b11['isString'](_0x566596['data'])?'data:\x20string\x20expected':null!=_0x566596['data1']&&_0x566596['hasOwnProperty']('data1')&&!_0x1a3b11['isString'](_0x566596['data1'])?'data1:\x20string\x20expected':null;},_0x1f0a9a['fromObject']=function(_0x1793e4){if(_0x1793e4 instanceof _0x3d2f4a['StringObjectPacketDataMessage'])return _0x1793e4;var _0x1d18d4=new _0x3d2f4a['StringObjectPacketDataMessage']();return null!=_0x1793e4['data']&&(_0x1d18d4['data']=String(_0x1793e4['data'])),null!=_0x1793e4['data1']&&(_0x1d18d4['data1']=String(_0x1793e4['data1'])),_0x1d18d4;},_0x1f0a9a['toObject']=function(_0x315da8,_0x34c0be){_0x34c0be||(_0x34c0be={});var _0x54ae78={};return _0x34c0be['defaults']&&(_0x54ae78['data']='',_0x54ae78['data1']=''),null!=_0x315da8['data']&&_0x315da8['hasOwnProperty']('data')&&(_0x54ae78['data']=_0x315da8['data']),null!=_0x315da8['data1']&&_0x315da8['hasOwnProperty']('data1')&&(_0x54ae78['data1']=_0x315da8['data1']),_0x54ae78;},_0x1f0a9a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1f0a9a['getTypeUrl']=function(_0x424f9e){return void 0x0===_0x424f9e&&(_0x424f9e='type.googleapis.com'),_0x424f9e+'/StringObjectPacketDataMessage';},_0x1f0a9a;}()),_0x3d2f4a['StringNumberPacketDataMessage']=(function(){function _0x1ce647(_0x2b1fa5){if(_0x2b1fa5){for(var _0x470849=Object['keys'](_0x2b1fa5),_0xb93216=0x0;_0xb93216<_0x470849['length'];++_0xb93216)null!=_0x2b1fa5[_0x470849[_0xb93216]]&&(this[_0x470849[_0xb93216]]=_0x2b1fa5[_0x470849[_0xb93216]]);}}return _0x1ce647['prototype']['data']='',_0x1ce647['prototype']['data1']=0x0,_0x1ce647['create']=function(_0x3b925f){return new _0x1ce647(_0x3b925f);},_0x1ce647['encode']=function(_0x1c5831,_0x58c360){return _0x58c360||(_0x58c360=_0x5dfb11['create']()),null!=_0x1c5831['data']&&Object['hasOwnProperty']['call'](_0x1c5831,'data')&&_0x58c360['uint32'](0xa)['string'](_0x1c5831['data']),null!=_0x1c5831['data1']&&Object['hasOwnProperty']['call'](_0x1c5831,'data1')&&_0x58c360['uint32'](0x10)['uint32'](_0x1c5831['data1']),_0x58c360;},_0x1ce647['encodeDelimited']=function(_0x16022f,_0x2f74be){return this['encode'](_0x16022f,_0x2f74be)['ldelim']();},_0x1ce647['decode']=function(_0x51b3e7,_0x4873c8,_0x53ac74){_0x51b3e7 instanceof _0x2abaaa||(_0x51b3e7=_0x2abaaa['create'](_0x51b3e7));for(var _0x3ebf17=void 0x0===_0x4873c8?_0x51b3e7['len']:_0x51b3e7['pos']+_0x4873c8,_0x474f1e=new _0x3d2f4a['StringNumberPacketDataMessage']();_0x51b3e7['pos']<_0x3ebf17;){var _0x48f60d=_0x51b3e7['uint32']();if(_0x48f60d===_0x53ac74)break;switch(_0x48f60d>>>0x3){case 0x1:_0x474f1e['data']=_0x51b3e7['string']();break;case 0x2:_0x474f1e['data1']=_0x51b3e7['uint32']();break;default:_0x51b3e7['skipType'](0x7&_0x48f60d);}}return _0x474f1e;},_0x1ce647['decodeDelimited']=function(_0x3b48b9){return _0x3b48b9 instanceof _0x2abaaa||(_0x3b48b9=new _0x2abaaa(_0x3b48b9)),this['decode'](_0x3b48b9,_0x3b48b9['uint32']());},_0x1ce647['verify']=function(_0x165a7b){return'object'!=typeof _0x165a7b||null===_0x165a7b?'object\x20expected':null!=_0x165a7b['data']&&_0x165a7b['hasOwnProperty']('data')&&!_0x1a3b11['isString'](_0x165a7b['data'])?'data:\x20string\x20expected':null!=_0x165a7b['data1']&&_0x165a7b['hasOwnProperty']('data1')&&!_0x1a3b11['isInteger'](_0x165a7b['data1'])?'data1:\x20integer\x20expected':null;},_0x1ce647['fromObject']=function(_0xb7a104){if(_0xb7a104 instanceof _0x3d2f4a['StringNumberPacketDataMessage'])return _0xb7a104;var _0x59b6de=new _0x3d2f4a['StringNumberPacketDataMessage']();return null!=_0xb7a104['data']&&(_0x59b6de['data']=String(_0xb7a104['data'])),null!=_0xb7a104['data1']&&(_0x59b6de['data1']=_0xb7a104['data1']>>>0x0),_0x59b6de;},_0x1ce647['toObject']=function(_0x21b460,_0x1e1178){_0x1e1178||(_0x1e1178={});var _0x30deae={};return _0x1e1178['defaults']&&(_0x30deae['data']='',_0x30deae['data1']=0x0),null!=_0x21b460['data']&&_0x21b460['hasOwnProperty']('data')&&(_0x30deae['data']=_0x21b460['data']),null!=_0x21b460['data1']&&_0x21b460['hasOwnProperty']('data1')&&(_0x30deae['data1']=_0x21b460['data1']),_0x30deae;},_0x1ce647['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1ce647['getTypeUrl']=function(_0x5bef24){return void 0x0===_0x5bef24&&(_0x5bef24='type.googleapis.com'),_0x5bef24+'/StringNumberPacketDataMessage';},_0x1ce647;}()),_0x3d2f4a['StringBytesPacketDataMessage']=(function(){function _0x2a7879(_0x245d7f){if(_0x245d7f){for(var _0x2f99a2=Object['keys'](_0x245d7f),_0x2626a4=0x0;_0x2626a4<_0x2f99a2['length'];++_0x2626a4)null!=_0x245d7f[_0x2f99a2[_0x2626a4]]&&(this[_0x2f99a2[_0x2626a4]]=_0x245d7f[_0x2f99a2[_0x2626a4]]);}}return _0x2a7879['prototype']['data']='',_0x2a7879['prototype']['data1']=_0x1a3b11['newBuffer']([]),_0x2a7879['create']=function(_0x4d49f9){return new _0x2a7879(_0x4d49f9);},_0x2a7879['encode']=function(_0x236036,_0x24c7a8){return _0x24c7a8||(_0x24c7a8=_0x5dfb11['create']()),null!=_0x236036['data']&&Object['hasOwnProperty']['call'](_0x236036,'data')&&_0x24c7a8['uint32'](0xa)['string'](_0x236036['data']),null!=_0x236036['data1']&&Object['hasOwnProperty']['call'](_0x236036,'data1')&&_0x24c7a8['uint32'](0x12)['bytes'](_0x236036['data1']),_0x24c7a8;},_0x2a7879['encodeDelimited']=function(_0x41941d,_0x263881){return this['encode'](_0x41941d,_0x263881)['ldelim']();},_0x2a7879['decode']=function(_0x37a77b,_0x22fd22,_0x1ccfe2){_0x37a77b instanceof _0x2abaaa||(_0x37a77b=_0x2abaaa['create'](_0x37a77b));for(var _0x2fec6c=void 0x0===_0x22fd22?_0x37a77b['len']:_0x37a77b['pos']+_0x22fd22,_0x935612=new _0x3d2f4a['StringBytesPacketDataMessage']();_0x37a77b['pos']<_0x2fec6c;){var _0x1a08a5=_0x37a77b['uint32']();if(_0x1a08a5===_0x1ccfe2)break;switch(_0x1a08a5>>>0x3){case 0x1:_0x935612['data']=_0x37a77b['string']();break;case 0x2:_0x935612['data1']=_0x37a77b['bytes']();break;default:_0x37a77b['skipType'](0x7&_0x1a08a5);}}return _0x935612;},_0x2a7879['decodeDelimited']=function(_0xe6d225){return _0xe6d225 instanceof _0x2abaaa||(_0xe6d225=new _0x2abaaa(_0xe6d225)),this['decode'](_0xe6d225,_0xe6d225['uint32']());},_0x2a7879['verify']=function(_0x49675d){return'object'!=typeof _0x49675d||null===_0x49675d?'object\x20expected':null!=_0x49675d['data']&&_0x49675d['hasOwnProperty']('data')&&!_0x1a3b11['isString'](_0x49675d['data'])?'data:\x20string\x20expected':null!=_0x49675d['data1']&&_0x49675d['hasOwnProperty']('data1')&&!(_0x49675d['data1']&&'number'==typeof _0x49675d['data1']['length']||_0x1a3b11['isString'](_0x49675d['data1']))?'data1:\x20buffer\x20expected':null;},_0x2a7879['fromObject']=function(_0x37f4d2){if(_0x37f4d2 instanceof _0x3d2f4a['StringBytesPacketDataMessage'])return _0x37f4d2;var _0xcd3769=new _0x3d2f4a['StringBytesPacketDataMessage']();return null!=_0x37f4d2['data']&&(_0xcd3769['data']=String(_0x37f4d2['data'])),null!=_0x37f4d2['data1']&&('string'==typeof _0x37f4d2['data1']?_0x1a3b11['base64']['decode'](_0x37f4d2['data1'],_0xcd3769['data1']=_0x1a3b11['newBuffer'](_0x1a3b11['base64']['length'](_0x37f4d2['data1'])),0x0):_0x37f4d2['data1']['length']>=0x0&&(_0xcd3769['data1']=_0x37f4d2['data1'])),_0xcd3769;},_0x2a7879['toObject']=function(_0x47b159,_0x460a61){_0x460a61||(_0x460a61={});var _0x11ef5f={};return _0x460a61['defaults']&&(_0x11ef5f['data']='',_0x460a61['bytes']===String?_0x11ef5f['data1']='':(_0x11ef5f['data1']=[],_0x460a61['bytes']!==Array&&(_0x11ef5f['data1']=_0x1a3b11['newBuffer'](_0x11ef5f['data1'])))),null!=_0x47b159['data']&&_0x47b159['hasOwnProperty']('data')&&(_0x11ef5f['data']=_0x47b159['data']),null!=_0x47b159['data1']&&_0x47b159['hasOwnProperty']('data1')&&(_0x11ef5f['data1']=_0x460a61['bytes']===String?_0x1a3b11['base64']['encode'](_0x47b159['data1'],0x0,_0x47b159['data1']['length']):_0x460a61['bytes']===Array?Array['prototype']['slice']['call'](_0x47b159['data1']):_0x47b159['data1']),_0x11ef5f;},_0x2a7879['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2a7879['getTypeUrl']=function(_0x591de6){return void 0x0===_0x591de6&&(_0x591de6='type.googleapis.com'),_0x591de6+'/StringBytesPacketDataMessage';},_0x2a7879;}()),_0x3d2f4a['PacketOptionsMessage']=(function(){function _0xfa2fd0(_0x23169a){if(this['rooms']=[],this['except']=[],_0x23169a){for(var _0x2fba2f=Object['keys'](_0x23169a),_0x11fc77=0x0;_0x11fc77<_0x2fba2f['length'];++_0x11fc77)null!=_0x23169a[_0x2fba2f[_0x11fc77]]&&(this[_0x2fba2f[_0x11fc77]]=_0x23169a[_0x2fba2f[_0x11fc77]]);}}return _0xfa2fd0['prototype']['flags']='',_0xfa2fd0['prototype']['rooms']=_0x1a3b11['emptyArray'],_0xfa2fd0['prototype']['except']=_0x1a3b11['emptyArray'],_0xfa2fd0['create']=function(_0x2e77db){return new _0xfa2fd0(_0x2e77db);},_0xfa2fd0['encode']=function(_0x1d754b,_0x35d5dc){if(_0x35d5dc||(_0x35d5dc=_0x5dfb11['create']()),null!=_0x1d754b['flags']&&Object['hasOwnProperty']['call'](_0x1d754b,'flags')&&_0x35d5dc['uint32'](0xa)['string'](_0x1d754b['flags']),null!=_0x1d754b['rooms']&&_0x1d754b['rooms']['length']){for(var _0x3195b1=0x0;_0x3195b1<_0x1d754b['rooms']['length'];++_0x3195b1)_0x35d5dc['uint32'](0x12)['string'](_0x1d754b['rooms'][_0x3195b1]);}if(null!=_0x1d754b['except']&&_0x1d754b['except']['length']){for(_0x3195b1=0x0;_0x3195b1<_0x1d754b['except']['length'];++_0x3195b1)_0x35d5dc['uint32'](0x1a)['string'](_0x1d754b['except'][_0x3195b1]);}return _0x35d5dc;},_0xfa2fd0['encodeDelimited']=function(_0x3c8ea2,_0x565d14){return this['encode'](_0x3c8ea2,_0x565d14)['ldelim']();},_0xfa2fd0['decode']=function(_0x598e14,_0x2b013c,_0x51bcef){_0x598e14 instanceof _0x2abaaa||(_0x598e14=_0x2abaaa['create'](_0x598e14));for(var _0x540e63=void 0x0===_0x2b013c?_0x598e14['len']:_0x598e14['pos']+_0x2b013c,_0x4ec789=new _0x3d2f4a['PacketOptionsMessage']();_0x598e14['pos']<_0x540e63;){var _0x272fd9=_0x598e14['uint32']();if(_0x272fd9===_0x51bcef)break;switch(_0x272fd9>>>0x3){case 0x1:_0x4ec789['flags']=_0x598e14['string']();break;case 0x2:_0x4ec789['rooms']&&_0x4ec789['rooms']['length']||(_0x4ec789['rooms']=[]),_0x4ec789['rooms']['push'](_0x598e14['string']());break;case 0x3:_0x4ec789['except']&&_0x4ec789['except']['length']||(_0x4ec789['except']=[]),_0x4ec789['except']['push'](_0x598e14['string']());break;default:_0x598e14['skipType'](0x7&_0x272fd9);}}return _0x4ec789;},_0xfa2fd0['decodeDelimited']=function(_0x25af19){return _0x25af19 instanceof _0x2abaaa||(_0x25af19=new _0x2abaaa(_0x25af19)),this['decode'](_0x25af19,_0x25af19['uint32']());},_0xfa2fd0['verify']=function(_0xf5c461){if('object'!=typeof _0xf5c461||null===_0xf5c461)return'object\x20expected';if(null!=_0xf5c461['flags']&&_0xf5c461['hasOwnProperty']('flags')&&!_0x1a3b11['isString'](_0xf5c461['flags']))return'flags:\x20string\x20expected';if(null!=_0xf5c461['rooms']&&_0xf5c461['hasOwnProperty']('rooms')){if(!Array['isArray'](_0xf5c461['rooms']))return'rooms:\x20array\x20expected';for(var _0x5e8669=0x0;_0x5e8669<_0xf5c461['rooms']['length'];++_0x5e8669)if(!_0x1a3b11['isString'](_0xf5c461['rooms'][_0x5e8669]))return'rooms:\x20string[]\x20expected';}if(null!=_0xf5c461['except']&&_0xf5c461['hasOwnProperty']('except')){if(!Array['isArray'](_0xf5c461['except']))return'except:\x20array\x20expected';for(_0x5e8669=0x0;_0x5e8669<_0xf5c461['except']['length'];++_0x5e8669)if(!_0x1a3b11['isString'](_0xf5c461['except'][_0x5e8669]))return'except:\x20string[]\x20expected';}return null;},_0xfa2fd0['fromObject']=function(_0x2d8b06){if(_0x2d8b06 instanceof _0x3d2f4a['PacketOptionsMessage'])return _0x2d8b06;var _0x2326f5=new _0x3d2f4a['PacketOptionsMessage']();if(null!=_0x2d8b06['flags']&&(_0x2326f5['flags']=String(_0x2d8b06['flags'])),_0x2d8b06['rooms']){if(!Array['isArray'](_0x2d8b06['rooms']))throw TypeError('.PacketOptionsMessage.rooms:\x20array\x20expected');_0x2326f5['rooms']=[];for(var _0x48f422=0x0;_0x48f422<_0x2d8b06['rooms']['length'];++_0x48f422)_0x2326f5['rooms'][_0x48f422]=String(_0x2d8b06['rooms'][_0x48f422]);}if(_0x2d8b06['except']){if(!Array['isArray'](_0x2d8b06['except']))throw TypeError('.PacketOptionsMessage.except:\x20array\x20expected');for(_0x2326f5['except']=[],_0x48f422=0x0;_0x48f422<_0x2d8b06['except']['length'];++_0x48f422)_0x2326f5['except'][_0x48f422]=String(_0x2d8b06['except'][_0x48f422]);}return _0x2326f5;},_0xfa2fd0['toObject']=function(_0x1cf17d,_0x1b6ac2){_0x1b6ac2||(_0x1b6ac2={});var _0x2540f3={};if((_0x1b6ac2['arrays']||_0x1b6ac2['defaults'])&&(_0x2540f3['rooms']=[],_0x2540f3['except']=[]),_0x1b6ac2['defaults']&&(_0x2540f3['flags']=''),null!=_0x1cf17d['flags']&&_0x1cf17d['hasOwnProperty']('flags')&&(_0x2540f3['flags']=_0x1cf17d['flags']),_0x1cf17d['rooms']&&_0x1cf17d['rooms']['length']){_0x2540f3['rooms']=[];for(var _0xd34a9c=0x0;_0xd34a9c<_0x1cf17d['rooms']['length'];++_0xd34a9c)_0x2540f3['rooms'][_0xd34a9c]=_0x1cf17d['rooms'][_0xd34a9c];}if(_0x1cf17d['except']&&_0x1cf17d['except']['length']){for(_0x2540f3['except']=[],_0xd34a9c=0x0;_0xd34a9c<_0x1cf17d['except']['length'];++_0xd34a9c)_0x2540f3['except'][_0xd34a9c]=_0x1cf17d['except'][_0xd34a9c];}return _0x2540f3;},_0xfa2fd0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xfa2fd0['getTypeUrl']=function(_0x501db1){return void 0x0===_0x501db1&&(_0x501db1='type.googleapis.com'),_0x501db1+'/PacketOptionsMessage';},_0xfa2fd0;}()),_0x3d2f4a['PacketMessage']=(function(){function _0x59d30b(_0x3ef873){if(_0x3ef873){for(var _0x55690f=Object['keys'](_0x3ef873),_0x4c56af=0x0;_0x4c56af<_0x55690f['length'];++_0x4c56af)null!=_0x3ef873[_0x55690f[_0x4c56af]]&&(this[_0x55690f[_0x4c56af]]=_0x3ef873[_0x55690f[_0x4c56af]]);}}return _0x59d30b['prototype']['type']=0x0,_0x59d30b['prototype']['id']=0x0,_0x59d30b['prototype']['nsp']='',_0x59d30b['prototype']['data']=_0x1a3b11['newBuffer']([]),_0x59d30b['prototype']['options']=_0x1a3b11['newBuffer']([]),_0x59d30b['create']=function(_0x47b470){return new _0x59d30b(_0x47b470);},_0x59d30b['encode']=function(_0xf0bd9e,_0x118564){return _0x118564||(_0x118564=_0x5dfb11['create']()),null!=_0xf0bd9e['type']&&Object['hasOwnProperty']['call'](_0xf0bd9e,'type')&&_0x118564['uint32'](0x8)['uint32'](_0xf0bd9e['type']),null!=_0xf0bd9e['id']&&Object['hasOwnProperty']['call'](_0xf0bd9e,'id')&&_0x118564['uint32'](0x10)['uint32'](_0xf0bd9e['id']),null!=_0xf0bd9e['nsp']&&Object['hasOwnProperty']['call'](_0xf0bd9e,'nsp')&&_0x118564['uint32'](0x1a)['string'](_0xf0bd9e['nsp']),null!=_0xf0bd9e['data']&&Object['hasOwnProperty']['call'](_0xf0bd9e,'data')&&_0x118564['uint32'](0x22)['bytes'](_0xf0bd9e['data']),null!=_0xf0bd9e['options']&&Object['hasOwnProperty']['call'](_0xf0bd9e,'options')&&_0x118564['uint32'](0x2a)['bytes'](_0xf0bd9e['options']),_0x118564;},_0x59d30b['encodeDelimited']=function(_0x34e9c5,_0x2ae36f){return this['encode'](_0x34e9c5,_0x2ae36f)['ldelim']();},_0x59d30b['decode']=function(_0x2c8d4d,_0x322298,_0x14b61e){_0x2c8d4d instanceof _0x2abaaa||(_0x2c8d4d=_0x2abaaa['create'](_0x2c8d4d));for(var _0x4a5a47=void 0x0===_0x322298?_0x2c8d4d['len']:_0x2c8d4d['pos']+_0x322298,_0x2001d0=new _0x3d2f4a['PacketMessage']();_0x2c8d4d['pos']<_0x4a5a47;){var _0x2be63a=_0x2c8d4d['uint32']();if(_0x2be63a===_0x14b61e)break;switch(_0x2be63a>>>0x3){case 0x1:_0x2001d0['type']=_0x2c8d4d['uint32']();break;case 0x2:_0x2001d0['id']=_0x2c8d4d['uint32']();break;case 0x3:_0x2001d0['nsp']=_0x2c8d4d['string']();break;case 0x4:_0x2001d0['data']=_0x2c8d4d['bytes']();break;case 0x5:_0x2001d0['options']=_0x2c8d4d['bytes']();break;default:_0x2c8d4d['skipType'](0x7&_0x2be63a);}}return _0x2001d0;},_0x59d30b['decodeDelimited']=function(_0x4646f9){return _0x4646f9 instanceof _0x2abaaa||(_0x4646f9=new _0x2abaaa(_0x4646f9)),this['decode'](_0x4646f9,_0x4646f9['uint32']());},_0x59d30b['verify']=function(_0x2e1e2f){return'object'!=typeof _0x2e1e2f||null===_0x2e1e2f?'object\x20expected':null!=_0x2e1e2f['type']&&_0x2e1e2f['hasOwnProperty']('type')&&!_0x1a3b11['isInteger'](_0x2e1e2f['type'])?'type:\x20integer\x20expected':null!=_0x2e1e2f['id']&&_0x2e1e2f['hasOwnProperty']('id')&&!_0x1a3b11['isInteger'](_0x2e1e2f['id'])?'id:\x20integer\x20expected':null!=_0x2e1e2f['nsp']&&_0x2e1e2f['hasOwnProperty']('nsp')&&!_0x1a3b11['isString'](_0x2e1e2f['nsp'])?'nsp:\x20string\x20expected':null!=_0x2e1e2f['data']&&_0x2e1e2f['hasOwnProperty']('data')&&!(_0x2e1e2f['data']&&'number'==typeof _0x2e1e2f['data']['length']||_0x1a3b11['isString'](_0x2e1e2f['data']))?'data:\x20buffer\x20expected':null!=_0x2e1e2f['options']&&_0x2e1e2f['hasOwnProperty']('options')&&!(_0x2e1e2f['options']&&'number'==typeof _0x2e1e2f['options']['length']||_0x1a3b11['isString'](_0x2e1e2f['options']))?'options:\x20buffer\x20expected':null;},_0x59d30b['fromObject']=function(_0x50dd54){if(_0x50dd54 instanceof _0x3d2f4a['PacketMessage'])return _0x50dd54;var _0x4f79f0=new _0x3d2f4a['PacketMessage']();return null!=_0x50dd54['type']&&(_0x4f79f0['type']=_0x50dd54['type']>>>0x0),null!=_0x50dd54['id']&&(_0x4f79f0['id']=_0x50dd54['id']>>>0x0),null!=_0x50dd54['nsp']&&(_0x4f79f0['nsp']=String(_0x50dd54['nsp'])),null!=_0x50dd54['data']&&('string'==typeof _0x50dd54['data']?_0x1a3b11['base64']['decode'](_0x50dd54['data'],_0x4f79f0['data']=_0x1a3b11['newBuffer'](_0x1a3b11['base64']['length'](_0x50dd54['data'])),0x0):_0x50dd54['data']['length']>=0x0&&(_0x4f79f0['data']=_0x50dd54['data'])),null!=_0x50dd54['options']&&('string'==typeof _0x50dd54['options']?_0x1a3b11['base64']['decode'](_0x50dd54['options'],_0x4f79f0['options']=_0x1a3b11['newBuffer'](_0x1a3b11['base64']['length'](_0x50dd54['options'])),0x0):_0x50dd54['options']['length']>=0x0&&(_0x4f79f0['options']=_0x50dd54['options'])),_0x4f79f0;},_0x59d30b['toObject']=function(_0x30cdbd,_0x3e5f96){_0x3e5f96||(_0x3e5f96={});var _0x2fb88f={};return _0x3e5f96['defaults']&&(_0x2fb88f['type']=0x0,_0x2fb88f['id']=0x0,_0x2fb88f['nsp']='',_0x3e5f96['bytes']===String?_0x2fb88f['data']='':(_0x2fb88f['data']=[],_0x3e5f96['bytes']!==Array&&(_0x2fb88f['data']=_0x1a3b11['newBuffer'](_0x2fb88f['data']))),_0x3e5f96['bytes']===String?_0x2fb88f['options']='':(_0x2fb88f['options']=[],_0x3e5f96['bytes']!==Array&&(_0x2fb88f['options']=_0x1a3b11['newBuffer'](_0x2fb88f['options'])))),null!=_0x30cdbd['type']&&_0x30cdbd['hasOwnProperty']('type')&&(_0x2fb88f['type']=_0x30cdbd['type']),null!=_0x30cdbd['id']&&_0x30cdbd['hasOwnProperty']('id')&&(_0x2fb88f['id']=_0x30cdbd['id']),null!=_0x30cdbd['nsp']&&_0x30cdbd['hasOwnProperty']('nsp')&&(_0x2fb88f['nsp']=_0x30cdbd['nsp']),null!=_0x30cdbd['data']&&_0x30cdbd['hasOwnProperty']('data')&&(_0x2fb88f['data']=_0x3e5f96['bytes']===String?_0x1a3b11['base64']['encode'](_0x30cdbd['data'],0x0,_0x30cdbd['data']['length']):_0x3e5f96['bytes']===Array?Array['prototype']['slice']['call'](_0x30cdbd['data']):_0x30cdbd['data']),null!=_0x30cdbd['options']&&_0x30cdbd['hasOwnProperty']('options')&&(_0x2fb88f['options']=_0x3e5f96['bytes']===String?_0x1a3b11['base64']['encode'](_0x30cdbd['options'],0x0,_0x30cdbd['options']['length']):_0x3e5f96['bytes']===Array?Array['prototype']['slice']['call'](_0x30cdbd['options']):_0x30cdbd['options']),_0x2fb88f;},_0x59d30b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x59d30b['getTypeUrl']=function(_0x5cbb94){return void 0x0===_0x5cbb94&&(_0x5cbb94='type.googleapis.com'),_0x5cbb94+'/PacketMessage';},_0x59d30b;}()),_0x3d2f4a['ObjectObjectPacketDataMessage']=(function(){function _0x4c8ef4(_0x26b7ec){if(_0x26b7ec){for(var _0x434f89=Object['keys'](_0x26b7ec),_0x27b96e=0x0;_0x27b96e<_0x434f89['length'];++_0x27b96e)null!=_0x26b7ec[_0x434f89[_0x27b96e]]&&(this[_0x434f89[_0x27b96e]]=_0x26b7ec[_0x434f89[_0x27b96e]]);}}return _0x4c8ef4['prototype']['data']='',_0x4c8ef4['prototype']['data1']='',_0x4c8ef4['create']=function(_0x7c448d){return new _0x4c8ef4(_0x7c448d);},_0x4c8ef4['encode']=function(_0x10f0af,_0x4fa7a4){return _0x4fa7a4||(_0x4fa7a4=_0x5dfb11['create']()),null!=_0x10f0af['data']&&Object['hasOwnProperty']['call'](_0x10f0af,'data')&&_0x4fa7a4['uint32'](0xa)['string'](_0x10f0af['data']),null!=_0x10f0af['data1']&&Object['hasOwnProperty']['call'](_0x10f0af,'data1')&&_0x4fa7a4['uint32'](0x12)['string'](_0x10f0af['data1']),_0x4fa7a4;},_0x4c8ef4['encodeDelimited']=function(_0x237e23,_0x306e00){return this['encode'](_0x237e23,_0x306e00)['ldelim']();},_0x4c8ef4['decode']=function(_0x59a1a8,_0x3aaa13,_0x241493){_0x59a1a8 instanceof _0x2abaaa||(_0x59a1a8=_0x2abaaa['create'](_0x59a1a8));for(var _0x5cb1c9=void 0x0===_0x3aaa13?_0x59a1a8['len']:_0x59a1a8['pos']+_0x3aaa13,_0x1dcb11=new _0x3d2f4a['ObjectObjectPacketDataMessage']();_0x59a1a8['pos']<_0x5cb1c9;){var _0xcd45f6=_0x59a1a8['uint32']();if(_0xcd45f6===_0x241493)break;switch(_0xcd45f6>>>0x3){case 0x1:_0x1dcb11['data']=_0x59a1a8['string']();break;case 0x2:_0x1dcb11['data1']=_0x59a1a8['string']();break;default:_0x59a1a8['skipType'](0x7&_0xcd45f6);}}return _0x1dcb11;},_0x4c8ef4['decodeDelimited']=function(_0x18f19d){return _0x18f19d instanceof _0x2abaaa||(_0x18f19d=new _0x2abaaa(_0x18f19d)),this['decode'](_0x18f19d,_0x18f19d['uint32']());},_0x4c8ef4['verify']=function(_0x24478b){return'object'!=typeof _0x24478b||null===_0x24478b?'object\x20expected':null!=_0x24478b['data']&&_0x24478b['hasOwnProperty']('data')&&!_0x1a3b11['isString'](_0x24478b['data'])?'data:\x20string\x20expected':null!=_0x24478b['data1']&&_0x24478b['hasOwnProperty']('data1')&&!_0x1a3b11['isString'](_0x24478b['data1'])?'data1:\x20string\x20expected':null;},_0x4c8ef4['fromObject']=function(_0x3d3653){if(_0x3d3653 instanceof _0x3d2f4a['ObjectObjectPacketDataMessage'])return _0x3d3653;var _0x478acb=new _0x3d2f4a['ObjectObjectPacketDataMessage']();return null!=_0x3d3653['data']&&(_0x478acb['data']=String(_0x3d3653['data'])),null!=_0x3d3653['data1']&&(_0x478acb['data1']=String(_0x3d3653['data1'])),_0x478acb;},_0x4c8ef4['toObject']=function(_0x5e98a7,_0x1c0f1e){_0x1c0f1e||(_0x1c0f1e={});var _0x18ff59={};return _0x1c0f1e['defaults']&&(_0x18ff59['data']='',_0x18ff59['data1']=''),null!=_0x5e98a7['data']&&_0x5e98a7['hasOwnProperty']('data')&&(_0x18ff59['data']=_0x5e98a7['data']),null!=_0x5e98a7['data1']&&_0x5e98a7['hasOwnProperty']('data1')&&(_0x18ff59['data1']=_0x5e98a7['data1']),_0x18ff59;},_0x4c8ef4['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4c8ef4['getTypeUrl']=function(_0x8b3629){return void 0x0===_0x8b3629&&(_0x8b3629='type.googleapis.com'),_0x8b3629+'/ObjectObjectPacketDataMessage';},_0x4c8ef4;}()),_0x3d2f4a['ObjectBufferPacketDataMessage']=(function(){function _0x10edf6(_0x37173b){if(_0x37173b){for(var _0x4afe5d=Object['keys'](_0x37173b),_0x1898a3=0x0;_0x1898a3<_0x4afe5d['length'];++_0x1898a3)null!=_0x37173b[_0x4afe5d[_0x1898a3]]&&(this[_0x4afe5d[_0x1898a3]]=_0x37173b[_0x4afe5d[_0x1898a3]]);}}return _0x10edf6['prototype']['data']='',_0x10edf6['prototype']['data1']=_0x1a3b11['newBuffer']([]),_0x10edf6['create']=function(_0x26813a){return new _0x10edf6(_0x26813a);},_0x10edf6['encode']=function(_0x286f50,_0x2cbea1){return _0x2cbea1||(_0x2cbea1=_0x5dfb11['create']()),null!=_0x286f50['data']&&Object['hasOwnProperty']['call'](_0x286f50,'data')&&_0x2cbea1['uint32'](0xa)['string'](_0x286f50['data']),null!=_0x286f50['data1']&&Object['hasOwnProperty']['call'](_0x286f50,'data1')&&_0x2cbea1['uint32'](0x12)['bytes'](_0x286f50['data1']),_0x2cbea1;},_0x10edf6['encodeDelimited']=function(_0x25f9fe,_0x5b00a4){return this['encode'](_0x25f9fe,_0x5b00a4)['ldelim']();},_0x10edf6['decode']=function(_0x1b6eac,_0x40cdb8,_0x246754){_0x1b6eac instanceof _0x2abaaa||(_0x1b6eac=_0x2abaaa['create'](_0x1b6eac));for(var _0x4118cd=void 0x0===_0x40cdb8?_0x1b6eac['len']:_0x1b6eac['pos']+_0x40cdb8,_0x51d80d=new _0x3d2f4a['ObjectBufferPacketDataMessage']();_0x1b6eac['pos']<_0x4118cd;){var _0x48c491=_0x1b6eac['uint32']();if(_0x48c491===_0x246754)break;switch(_0x48c491>>>0x3){case 0x1:_0x51d80d['data']=_0x1b6eac['string']();break;case 0x2:_0x51d80d['data1']=_0x1b6eac['bytes']();break;default:_0x1b6eac['skipType'](0x7&_0x48c491);}}return _0x51d80d;},_0x10edf6['decodeDelimited']=function(_0x472eef){return _0x472eef instanceof _0x2abaaa||(_0x472eef=new _0x2abaaa(_0x472eef)),this['decode'](_0x472eef,_0x472eef['uint32']());},_0x10edf6['verify']=function(_0x1fdb71){return'object'!=typeof _0x1fdb71||null===_0x1fdb71?'object\x20expected':null!=_0x1fdb71['data']&&_0x1fdb71['hasOwnProperty']('data')&&!_0x1a3b11['isString'](_0x1fdb71['data'])?'data:\x20string\x20expected':null!=_0x1fdb71['data1']&&_0x1fdb71['hasOwnProperty']('data1')&&!(_0x1fdb71['data1']&&'number'==typeof _0x1fdb71['data1']['length']||_0x1a3b11['isString'](_0x1fdb71['data1']))?'data1:\x20buffer\x20expected':null;},_0x10edf6['fromObject']=function(_0x3a76e7){if(_0x3a76e7 instanceof _0x3d2f4a['ObjectBufferPacketDataMessage'])return _0x3a76e7;var _0x438afd=new _0x3d2f4a['ObjectBufferPacketDataMessage']();return null!=_0x3a76e7['data']&&(_0x438afd['data']=String(_0x3a76e7['data'])),null!=_0x3a76e7['data1']&&('string'==typeof _0x3a76e7['data1']?_0x1a3b11['base64']['decode'](_0x3a76e7['data1'],_0x438afd['data1']=_0x1a3b11['newBuffer'](_0x1a3b11['base64']['length'](_0x3a76e7['data1'])),0x0):_0x3a76e7['data1']['length']>=0x0&&(_0x438afd['data1']=_0x3a76e7['data1'])),_0x438afd;},_0x10edf6['toObject']=function(_0x2e7a1f,_0x26e3cd){_0x26e3cd||(_0x26e3cd={});var _0x4a95e1={};return _0x26e3cd['defaults']&&(_0x4a95e1['data']='',_0x26e3cd['bytes']===String?_0x4a95e1['data1']='':(_0x4a95e1['data1']=[],_0x26e3cd['bytes']!==Array&&(_0x4a95e1['data1']=_0x1a3b11['newBuffer'](_0x4a95e1['data1'])))),null!=_0x2e7a1f['data']&&_0x2e7a1f['hasOwnProperty']('data')&&(_0x4a95e1['data']=_0x2e7a1f['data']),null!=_0x2e7a1f['data1']&&_0x2e7a1f['hasOwnProperty']('data1')&&(_0x4a95e1['data1']=_0x26e3cd['bytes']===String?_0x1a3b11['base64']['encode'](_0x2e7a1f['data1'],0x0,_0x2e7a1f['data1']['length']):_0x26e3cd['bytes']===Array?Array['prototype']['slice']['call'](_0x2e7a1f['data1']):_0x2e7a1f['data1']),_0x4a95e1;},_0x10edf6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x10edf6['getTypeUrl']=function(_0x57d5f5){return void 0x0===_0x57d5f5&&(_0x57d5f5='type.googleapis.com'),_0x57d5f5+'/ObjectBufferPacketDataMessage';},_0x10edf6;}()),_0x3d2f4a['NumberStringPacketDataMessage']=(function(){function _0xe449c7(_0x3e5f26){if(_0x3e5f26){for(var _0x5005cf=Object['keys'](_0x3e5f26),_0x283836=0x0;_0x283836<_0x5005cf['length'];++_0x283836)null!=_0x3e5f26[_0x5005cf[_0x283836]]&&(this[_0x5005cf[_0x283836]]=_0x3e5f26[_0x5005cf[_0x283836]]);}}return _0xe449c7['prototype']['data']=0x0,_0xe449c7['prototype']['data1']='',_0xe449c7['create']=function(_0x34c679){return new _0xe449c7(_0x34c679);},_0xe449c7['encode']=function(_0x38d881,_0xbc720){return _0xbc720||(_0xbc720=_0x5dfb11['create']()),null!=_0x38d881['data']&&Object['hasOwnProperty']['call'](_0x38d881,'data')&&_0xbc720['uint32'](0x8)['uint32'](_0x38d881['data']),null!=_0x38d881['data1']&&Object['hasOwnProperty']['call'](_0x38d881,'data1')&&_0xbc720['uint32'](0x12)['string'](_0x38d881['data1']),_0xbc720;},_0xe449c7['encodeDelimited']=function(_0x871397,_0x225e66){return this['encode'](_0x871397,_0x225e66)['ldelim']();},_0xe449c7['decode']=function(_0x4f7894,_0x1ea12,_0xfb55d1){_0x4f7894 instanceof _0x2abaaa||(_0x4f7894=_0x2abaaa['create'](_0x4f7894));for(var _0x161508=void 0x0===_0x1ea12?_0x4f7894['len']:_0x4f7894['pos']+_0x1ea12,_0x26385f=new _0x3d2f4a['NumberStringPacketDataMessage']();_0x4f7894['pos']<_0x161508;){var _0x147491=_0x4f7894['uint32']();if(_0x147491===_0xfb55d1)break;switch(_0x147491>>>0x3){case 0x1:_0x26385f['data']=_0x4f7894['uint32']();break;case 0x2:_0x26385f['data1']=_0x4f7894['string']();break;default:_0x4f7894['skipType'](0x7&_0x147491);}}return _0x26385f;},_0xe449c7['decodeDelimited']=function(_0x16586c){return _0x16586c instanceof _0x2abaaa||(_0x16586c=new _0x2abaaa(_0x16586c)),this['decode'](_0x16586c,_0x16586c['uint32']());},_0xe449c7['verify']=function(_0x1ff616){return'object'!=typeof _0x1ff616||null===_0x1ff616?'object\x20expected':null!=_0x1ff616['data']&&_0x1ff616['hasOwnProperty']('data')&&!_0x1a3b11['isInteger'](_0x1ff616['data'])?'data:\x20integer\x20expected':null!=_0x1ff616['data1']&&_0x1ff616['hasOwnProperty']('data1')&&!_0x1a3b11['isString'](_0x1ff616['data1'])?'data1:\x20string\x20expected':null;},_0xe449c7['fromObject']=function(_0x56c211){if(_0x56c211 instanceof _0x3d2f4a['NumberStringPacketDataMessage'])return _0x56c211;var _0x319f66=new _0x3d2f4a['NumberStringPacketDataMessage']();return null!=_0x56c211['data']&&(_0x319f66['data']=_0x56c211['data']>>>0x0),null!=_0x56c211['data1']&&(_0x319f66['data1']=String(_0x56c211['data1'])),_0x319f66;},_0xe449c7['toObject']=function(_0x292990,_0xc79511){_0xc79511||(_0xc79511={});var _0x1827d2={};return _0xc79511['defaults']&&(_0x1827d2['data']=0x0,_0x1827d2['data1']=''),null!=_0x292990['data']&&_0x292990['hasOwnProperty']('data')&&(_0x1827d2['data']=_0x292990['data']),null!=_0x292990['data1']&&_0x292990['hasOwnProperty']('data1')&&(_0x1827d2['data1']=_0x292990['data1']),_0x1827d2;},_0xe449c7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xe449c7['getTypeUrl']=function(_0x261a01){return void 0x0===_0x261a01&&(_0x261a01='type.googleapis.com'),_0x261a01+'/NumberStringPacketDataMessage';},_0xe449c7;}()),_0x3d2f4a['NumberObjectPacketDataMessage']=(function(){function _0x3ea112(_0x45aac4){if(_0x45aac4){for(var _0x1ffb7f=Object['keys'](_0x45aac4),_0x135a41=0x0;_0x135a41<_0x1ffb7f['length'];++_0x135a41)null!=_0x45aac4[_0x1ffb7f[_0x135a41]]&&(this[_0x1ffb7f[_0x135a41]]=_0x45aac4[_0x1ffb7f[_0x135a41]]);}}return _0x3ea112['prototype']['data']=0x0,_0x3ea112['prototype']['data1']='',_0x3ea112['create']=function(_0x59263b){return new _0x3ea112(_0x59263b);},_0x3ea112['encode']=function(_0x3e0e97,_0x43200f){return _0x43200f||(_0x43200f=_0x5dfb11['create']()),null!=_0x3e0e97['data']&&Object['hasOwnProperty']['call'](_0x3e0e97,'data')&&_0x43200f['uint32'](0x8)['uint32'](_0x3e0e97['data']),null!=_0x3e0e97['data1']&&Object['hasOwnProperty']['call'](_0x3e0e97,'data1')&&_0x43200f['uint32'](0x12)['string'](_0x3e0e97['data1']),_0x43200f;},_0x3ea112['encodeDelimited']=function(_0x370b13,_0x405f50){return this['encode'](_0x370b13,_0x405f50)['ldelim']();},_0x3ea112['decode']=function(_0x3a7cf1,_0x11294e,_0x478b08){_0x3a7cf1 instanceof _0x2abaaa||(_0x3a7cf1=_0x2abaaa['create'](_0x3a7cf1));for(var _0x4566e8=void 0x0===_0x11294e?_0x3a7cf1['len']:_0x3a7cf1['pos']+_0x11294e,_0x4b2fbe=new _0x3d2f4a['NumberObjectPacketDataMessage']();_0x3a7cf1['pos']<_0x4566e8;){var _0x48cb9e=_0x3a7cf1['uint32']();if(_0x48cb9e===_0x478b08)break;switch(_0x48cb9e>>>0x3){case 0x1:_0x4b2fbe['data']=_0x3a7cf1['uint32']();break;case 0x2:_0x4b2fbe['data1']=_0x3a7cf1['string']();break;default:_0x3a7cf1['skipType'](0x7&_0x48cb9e);}}return _0x4b2fbe;},_0x3ea112['decodeDelimited']=function(_0x39b07d){return _0x39b07d instanceof _0x2abaaa||(_0x39b07d=new _0x2abaaa(_0x39b07d)),this['decode'](_0x39b07d,_0x39b07d['uint32']());},_0x3ea112['verify']=function(_0x26f576){return'object'!=typeof _0x26f576||null===_0x26f576?'object\x20expected':null!=_0x26f576['data']&&_0x26f576['hasOwnProperty']('data')&&!_0x1a3b11['isInteger'](_0x26f576['data'])?'data:\x20integer\x20expected':null!=_0x26f576['data1']&&_0x26f576['hasOwnProperty']('data1')&&!_0x1a3b11['isString'](_0x26f576['data1'])?'data1:\x20string\x20expected':null;},_0x3ea112['fromObject']=function(_0x5d1426){if(_0x5d1426 instanceof _0x3d2f4a['NumberObjectPacketDataMessage'])return _0x5d1426;var _0x4c877b=new _0x3d2f4a['NumberObjectPacketDataMessage']();return null!=_0x5d1426['data']&&(_0x4c877b['data']=_0x5d1426['data']>>>0x0),null!=_0x5d1426['data1']&&(_0x4c877b['data1']=String(_0x5d1426['data1'])),_0x4c877b;},_0x3ea112['toObject']=function(_0xfb8a37,_0x3003ff){_0x3003ff||(_0x3003ff={});var _0x4045a2={};return _0x3003ff['defaults']&&(_0x4045a2['data']=0x0,_0x4045a2['data1']=''),null!=_0xfb8a37['data']&&_0xfb8a37['hasOwnProperty']('data')&&(_0x4045a2['data']=_0xfb8a37['data']),null!=_0xfb8a37['data1']&&_0xfb8a37['hasOwnProperty']('data1')&&(_0x4045a2['data1']=_0xfb8a37['data1']),_0x4045a2;},_0x3ea112['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3ea112['getTypeUrl']=function(_0x768752){return void 0x0===_0x768752&&(_0x768752='type.googleapis.com'),_0x768752+'/NumberObjectPacketDataMessage';},_0x3ea112;}()),_0x3d2f4a['NumberNumberPacketDataMessage']=(function(){function _0x3f3c29(_0x367848){if(_0x367848){for(var _0x510423=Object['keys'](_0x367848),_0x9bbf76=0x0;_0x9bbf76<_0x510423['length'];++_0x9bbf76)null!=_0x367848[_0x510423[_0x9bbf76]]&&(this[_0x510423[_0x9bbf76]]=_0x367848[_0x510423[_0x9bbf76]]);}}return _0x3f3c29['prototype']['data']=0x0,_0x3f3c29['prototype']['data1']=0x0,_0x3f3c29['create']=function(_0x15f4ca){return new _0x3f3c29(_0x15f4ca);},_0x3f3c29['encode']=function(_0x4377e4,_0x390664){return _0x390664||(_0x390664=_0x5dfb11['create']()),null!=_0x4377e4['data']&&Object['hasOwnProperty']['call'](_0x4377e4,'data')&&_0x390664['uint32'](0x8)['uint32'](_0x4377e4['data']),null!=_0x4377e4['data1']&&Object['hasOwnProperty']['call'](_0x4377e4,'data1')&&_0x390664['uint32'](0x10)['uint32'](_0x4377e4['data1']),_0x390664;},_0x3f3c29['encodeDelimited']=function(_0xf278cd,_0x3054dc){return this['encode'](_0xf278cd,_0x3054dc)['ldelim']();},_0x3f3c29['decode']=function(_0x329146,_0x57ac6b,_0x3da720){_0x329146 instanceof _0x2abaaa||(_0x329146=_0x2abaaa['create'](_0x329146));for(var _0x4fd6e0=void 0x0===_0x57ac6b?_0x329146['len']:_0x329146['pos']+_0x57ac6b,_0x4bbcd7=new _0x3d2f4a['NumberNumberPacketDataMessage']();_0x329146['pos']<_0x4fd6e0;){var _0x1160d0=_0x329146['uint32']();if(_0x1160d0===_0x3da720)break;switch(_0x1160d0>>>0x3){case 0x1:_0x4bbcd7['data']=_0x329146['uint32']();break;case 0x2:_0x4bbcd7['data1']=_0x329146['uint32']();break;default:_0x329146['skipType'](0x7&_0x1160d0);}}return _0x4bbcd7;},_0x3f3c29['decodeDelimited']=function(_0x499bba){return _0x499bba instanceof _0x2abaaa||(_0x499bba=new _0x2abaaa(_0x499bba)),this['decode'](_0x499bba,_0x499bba['uint32']());},_0x3f3c29['verify']=function(_0x2e2b9b){return'object'!=typeof _0x2e2b9b||null===_0x2e2b9b?'object\x20expected':null!=_0x2e2b9b['data']&&_0x2e2b9b['hasOwnProperty']('data')&&!_0x1a3b11['isInteger'](_0x2e2b9b['data'])?'data:\x20integer\x20expected':null!=_0x2e2b9b['data1']&&_0x2e2b9b['hasOwnProperty']('data1')&&!_0x1a3b11['isInteger'](_0x2e2b9b['data1'])?'data1:\x20integer\x20expected':null;},_0x3f3c29['fromObject']=function(_0x34bada){if(_0x34bada instanceof _0x3d2f4a['NumberNumberPacketDataMessage'])return _0x34bada;var _0x4e381d=new _0x3d2f4a['NumberNumberPacketDataMessage']();return null!=_0x34bada['data']&&(_0x4e381d['data']=_0x34bada['data']>>>0x0),null!=_0x34bada['data1']&&(_0x4e381d['data1']=_0x34bada['data1']>>>0x0),_0x4e381d;},_0x3f3c29['toObject']=function(_0x1ef56a,_0x5f0c39){_0x5f0c39||(_0x5f0c39={});var _0x41827b={};return _0x5f0c39['defaults']&&(_0x41827b['data']=0x0,_0x41827b['data1']=0x0),null!=_0x1ef56a['data']&&_0x1ef56a['hasOwnProperty']('data')&&(_0x41827b['data']=_0x1ef56a['data']),null!=_0x1ef56a['data1']&&_0x1ef56a['hasOwnProperty']('data1')&&(_0x41827b['data1']=_0x1ef56a['data1']),_0x41827b;},_0x3f3c29['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3f3c29['getTypeUrl']=function(_0x460aaf){return void 0x0===_0x460aaf&&(_0x460aaf='type.googleapis.com'),_0x460aaf+'/NumberNumberPacketDataMessage';},_0x3f3c29;}()),_0x3d2f4a['NumberBytesPacketDataMessage']=(function(){function _0x2c6376(_0x5e3d55){if(_0x5e3d55){for(var _0x4afba2=Object['keys'](_0x5e3d55),_0x12030b=0x0;_0x12030b<_0x4afba2['length'];++_0x12030b)null!=_0x5e3d55[_0x4afba2[_0x12030b]]&&(this[_0x4afba2[_0x12030b]]=_0x5e3d55[_0x4afba2[_0x12030b]]);}}return _0x2c6376['prototype']['data']=0x0,_0x2c6376['prototype']['data1']=_0x1a3b11['newBuffer']([]),_0x2c6376['create']=function(_0x418163){return new _0x2c6376(_0x418163);},_0x2c6376['encode']=function(_0x20beb8,_0x330d77){return _0x330d77||(_0x330d77=_0x5dfb11['create']()),null!=_0x20beb8['data']&&Object['hasOwnProperty']['call'](_0x20beb8,'data')&&_0x330d77['uint32'](0x8)['uint32'](_0x20beb8['data']),null!=_0x20beb8['data1']&&Object['hasOwnProperty']['call'](_0x20beb8,'data1')&&_0x330d77['uint32'](0x12)['bytes'](_0x20beb8['data1']),_0x330d77;},_0x2c6376['encodeDelimited']=function(_0x171fcb,_0x98ef0c){return this['encode'](_0x171fcb,_0x98ef0c)['ldelim']();},_0x2c6376['decode']=function(_0x2a0260,_0x3c82fe,_0x1571dd){_0x2a0260 instanceof _0x2abaaa||(_0x2a0260=_0x2abaaa['create'](_0x2a0260));for(var _0x34def3=void 0x0===_0x3c82fe?_0x2a0260['len']:_0x2a0260['pos']+_0x3c82fe,_0x40f882=new _0x3d2f4a['NumberBytesPacketDataMessage']();_0x2a0260['pos']<_0x34def3;){var _0x1e60d9=_0x2a0260['uint32']();if(_0x1e60d9===_0x1571dd)break;switch(_0x1e60d9>>>0x3){case 0x1:_0x40f882['data']=_0x2a0260['uint32']();break;case 0x2:_0x40f882['data1']=_0x2a0260['bytes']();break;default:_0x2a0260['skipType'](0x7&_0x1e60d9);}}return _0x40f882;},_0x2c6376['decodeDelimited']=function(_0x4d2d12){return _0x4d2d12 instanceof _0x2abaaa||(_0x4d2d12=new _0x2abaaa(_0x4d2d12)),this['decode'](_0x4d2d12,_0x4d2d12['uint32']());},_0x2c6376['verify']=function(_0x10376c){return'object'!=typeof _0x10376c||null===_0x10376c?'object\x20expected':null!=_0x10376c['data']&&_0x10376c['hasOwnProperty']('data')&&!_0x1a3b11['isInteger'](_0x10376c['data'])?'data:\x20integer\x20expected':null!=_0x10376c['data1']&&_0x10376c['hasOwnProperty']('data1')&&!(_0x10376c['data1']&&'number'==typeof _0x10376c['data1']['length']||_0x1a3b11['isString'](_0x10376c['data1']))?'data1:\x20buffer\x20expected':null;},_0x2c6376['fromObject']=function(_0x6cc84){if(_0x6cc84 instanceof _0x3d2f4a['NumberBytesPacketDataMessage'])return _0x6cc84;var _0x83933=new _0x3d2f4a['NumberBytesPacketDataMessage']();return null!=_0x6cc84['data']&&(_0x83933['data']=_0x6cc84['data']>>>0x0),null!=_0x6cc84['data1']&&('string'==typeof _0x6cc84['data1']?_0x1a3b11['base64']['decode'](_0x6cc84['data1'],_0x83933['data1']=_0x1a3b11['newBuffer'](_0x1a3b11['base64']['length'](_0x6cc84['data1'])),0x0):_0x6cc84['data1']['length']>=0x0&&(_0x83933['data1']=_0x6cc84['data1'])),_0x83933;},_0x2c6376['toObject']=function(_0xe80f05,_0x21cc0c){_0x21cc0c||(_0x21cc0c={});var _0x31abde={};return _0x21cc0c['defaults']&&(_0x31abde['data']=0x0,_0x21cc0c['bytes']===String?_0x31abde['data1']='':(_0x31abde['data1']=[],_0x21cc0c['bytes']!==Array&&(_0x31abde['data1']=_0x1a3b11['newBuffer'](_0x31abde['data1'])))),null!=_0xe80f05['data']&&_0xe80f05['hasOwnProperty']('data')&&(_0x31abde['data']=_0xe80f05['data']),null!=_0xe80f05['data1']&&_0xe80f05['hasOwnProperty']('data1')&&(_0x31abde['data1']=_0x21cc0c['bytes']===String?_0x1a3b11['base64']['encode'](_0xe80f05['data1'],0x0,_0xe80f05['data1']['length']):_0x21cc0c['bytes']===Array?Array['prototype']['slice']['call'](_0xe80f05['data1']):_0xe80f05['data1']),_0x31abde;},_0x2c6376['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2c6376['getTypeUrl']=function(_0x323d57){return void 0x0===_0x323d57&&(_0x323d57='type.googleapis.com'),_0x323d57+'/NumberBytesPacketDataMessage';},_0x2c6376;}()),_0x3d2f4a['BytesBytesPacketDataMessage']=(function(){function _0x223c5c(_0x1da70f){if(_0x1da70f){for(var _0x5d3224=Object['keys'](_0x1da70f),_0x59834c=0x0;_0x59834c<_0x5d3224['length'];++_0x59834c)null!=_0x1da70f[_0x5d3224[_0x59834c]]&&(this[_0x5d3224[_0x59834c]]=_0x1da70f[_0x5d3224[_0x59834c]]);}}return _0x223c5c['prototype']['data']=_0x1a3b11['newBuffer']([]),_0x223c5c['prototype']['data1']=_0x1a3b11['newBuffer']([]),_0x223c5c['create']=function(_0x15c8bf){return new _0x223c5c(_0x15c8bf);},_0x223c5c['encode']=function(_0x1936ae,_0x15c0d6){return _0x15c0d6||(_0x15c0d6=_0x5dfb11['create']()),null!=_0x1936ae['data']&&Object['hasOwnProperty']['call'](_0x1936ae,'data')&&_0x15c0d6['uint32'](0xa)['bytes'](_0x1936ae['data']),null!=_0x1936ae['data1']&&Object['hasOwnProperty']['call'](_0x1936ae,'data1')&&_0x15c0d6['uint32'](0x12)['bytes'](_0x1936ae['data1']),_0x15c0d6;},_0x223c5c['encodeDelimited']=function(_0x16f9b9,_0x173a58){return this['encode'](_0x16f9b9,_0x173a58)['ldelim']();},_0x223c5c['decode']=function(_0x601e7e,_0x22e24f,_0x3e656b){_0x601e7e instanceof _0x2abaaa||(_0x601e7e=_0x2abaaa['create'](_0x601e7e));for(var _0x36e25c=void 0x0===_0x22e24f?_0x601e7e['len']:_0x601e7e['pos']+_0x22e24f,_0x1c1792=new _0x3d2f4a['BytesBytesPacketDataMessage']();_0x601e7e['pos']<_0x36e25c;){var _0x48f62e=_0x601e7e['uint32']();if(_0x48f62e===_0x3e656b)break;switch(_0x48f62e>>>0x3){case 0x1:_0x1c1792['data']=_0x601e7e['bytes']();break;case 0x2:_0x1c1792['data1']=_0x601e7e['bytes']();break;default:_0x601e7e['skipType'](0x7&_0x48f62e);}}return _0x1c1792;},_0x223c5c['decodeDelimited']=function(_0x4a202a){return _0x4a202a instanceof _0x2abaaa||(_0x4a202a=new _0x2abaaa(_0x4a202a)),this['decode'](_0x4a202a,_0x4a202a['uint32']());},_0x223c5c['verify']=function(_0x2025b8){return'object'!=typeof _0x2025b8||null===_0x2025b8?'object\x20expected':null!=_0x2025b8['data']&&_0x2025b8['hasOwnProperty']('data')&&!(_0x2025b8['data']&&'number'==typeof _0x2025b8['data']['length']||_0x1a3b11['isString'](_0x2025b8['data']))?'data:\x20buffer\x20expected':null!=_0x2025b8['data1']&&_0x2025b8['hasOwnProperty']('data1')&&!(_0x2025b8['data1']&&'number'==typeof _0x2025b8['data1']['length']||_0x1a3b11['isString'](_0x2025b8['data1']))?'data1:\x20buffer\x20expected':null;},_0x223c5c['fromObject']=function(_0x1207aa){if(_0x1207aa instanceof _0x3d2f4a['BytesBytesPacketDataMessage'])return _0x1207aa;var _0x152465=new _0x3d2f4a['BytesBytesPacketDataMessage']();return null!=_0x1207aa['data']&&('string'==typeof _0x1207aa['data']?_0x1a3b11['base64']['decode'](_0x1207aa['data'],_0x152465['data']=_0x1a3b11['newBuffer'](_0x1a3b11['base64']['length'](_0x1207aa['data'])),0x0):_0x1207aa['data']['length']>=0x0&&(_0x152465['data']=_0x1207aa['data'])),null!=_0x1207aa['data1']&&('string'==typeof _0x1207aa['data1']?_0x1a3b11['base64']['decode'](_0x1207aa['data1'],_0x152465['data1']=_0x1a3b11['newBuffer'](_0x1a3b11['base64']['length'](_0x1207aa['data1'])),0x0):_0x1207aa['data1']['length']>=0x0&&(_0x152465['data1']=_0x1207aa['data1'])),_0x152465;},_0x223c5c['toObject']=function(_0x1ce9c8,_0x47b0f7){_0x47b0f7||(_0x47b0f7={});var _0x8d6ec2={};return _0x47b0f7['defaults']&&(_0x47b0f7['bytes']===String?_0x8d6ec2['data']='':(_0x8d6ec2['data']=[],_0x47b0f7['bytes']!==Array&&(_0x8d6ec2['data']=_0x1a3b11['newBuffer'](_0x8d6ec2['data']))),_0x47b0f7['bytes']===String?_0x8d6ec2['data1']='':(_0x8d6ec2['data1']=[],_0x47b0f7['bytes']!==Array&&(_0x8d6ec2['data1']=_0x1a3b11['newBuffer'](_0x8d6ec2['data1'])))),null!=_0x1ce9c8['data']&&_0x1ce9c8['hasOwnProperty']('data')&&(_0x8d6ec2['data']=_0x47b0f7['bytes']===String?_0x1a3b11['base64']['encode'](_0x1ce9c8['data'],0x0,_0x1ce9c8['data']['length']):_0x47b0f7['bytes']===Array?Array['prototype']['slice']['call'](_0x1ce9c8['data']):_0x1ce9c8['data']),null!=_0x1ce9c8['data1']&&_0x1ce9c8['hasOwnProperty']('data1')&&(_0x8d6ec2['data1']=_0x47b0f7['bytes']===String?_0x1a3b11['base64']['encode'](_0x1ce9c8['data1'],0x0,_0x1ce9c8['data1']['length']):_0x47b0f7['bytes']===Array?Array['prototype']['slice']['call'](_0x1ce9c8['data1']):_0x1ce9c8['data1']),_0x8d6ec2;},_0x223c5c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x223c5c['getTypeUrl']=function(_0x2d0829){return void 0x0===_0x2d0829&&(_0x2d0829='type.googleapis.com'),_0x2d0829+'/BytesBytesPacketDataMessage';},_0x223c5c;}()),_0x3d2f4a['ChannelMessage']=(function(){function _0x449e9f(_0x1f1aa5){if(_0x1f1aa5){for(var _0x520e08=Object['keys'](_0x1f1aa5),_0xa60db2=0x0;_0xa60db2<_0x520e08['length'];++_0xa60db2)null!=_0x1f1aa5[_0x520e08[_0xa60db2]]&&(this[_0x520e08[_0xa60db2]]=_0x1f1aa5[_0x520e08[_0xa60db2]]);}}return _0x449e9f['prototype']['type']=0x0,_0x449e9f['prototype']['socketId']='',_0x449e9f['prototype']['data']=_0x1a3b11['newBuffer']([]),_0x449e9f['create']=function(_0x2f0961){return new _0x449e9f(_0x2f0961);},_0x449e9f['encode']=function(_0x25edc3,_0x362794){return _0x362794||(_0x362794=_0x5dfb11['create']()),null!=_0x25edc3['type']&&Object['hasOwnProperty']['call'](_0x25edc3,'type')&&_0x362794['uint32'](0x8)['uint32'](_0x25edc3['type']),null!=_0x25edc3['socketId']&&Object['hasOwnProperty']['call'](_0x25edc3,'socketId')&&_0x362794['uint32'](0x12)['string'](_0x25edc3['socketId']),null!=_0x25edc3['data']&&Object['hasOwnProperty']['call'](_0x25edc3,'data')&&_0x362794['uint32'](0x1a)['bytes'](_0x25edc3['data']),_0x362794;},_0x449e9f['encodeDelimited']=function(_0x5b185a,_0x6232c4){return this['encode'](_0x5b185a,_0x6232c4)['ldelim']();},_0x449e9f['decode']=function(_0x54fd66,_0x588098,_0xdb08a0){_0x54fd66 instanceof _0x2abaaa||(_0x54fd66=_0x2abaaa['create'](_0x54fd66));for(var _0x30a2a3=void 0x0===_0x588098?_0x54fd66['len']:_0x54fd66['pos']+_0x588098,_0x11b42f=new _0x3d2f4a['ChannelMessage']();_0x54fd66['pos']<_0x30a2a3;){var _0x35ee76=_0x54fd66['uint32']();if(_0x35ee76===_0xdb08a0)break;switch(_0x35ee76>>>0x3){case 0x1:_0x11b42f['type']=_0x54fd66['uint32']();break;case 0x2:_0x11b42f['socketId']=_0x54fd66['string']();break;case 0x3:_0x11b42f['data']=_0x54fd66['bytes']();break;default:_0x54fd66['skipType'](0x7&_0x35ee76);}}return _0x11b42f;},_0x449e9f['decodeDelimited']=function(_0xd9940b){return _0xd9940b instanceof _0x2abaaa||(_0xd9940b=new _0x2abaaa(_0xd9940b)),this['decode'](_0xd9940b,_0xd9940b['uint32']());},_0x449e9f['verify']=function(_0x15f01e){return'object'!=typeof _0x15f01e||null===_0x15f01e?'object\x20expected':null!=_0x15f01e['type']&&_0x15f01e['hasOwnProperty']('type')&&!_0x1a3b11['isInteger'](_0x15f01e['type'])?'type:\x20integer\x20expected':null!=_0x15f01e['socketId']&&_0x15f01e['hasOwnProperty']('socketId')&&!_0x1a3b11['isString'](_0x15f01e['socketId'])?'socketId:\x20string\x20expected':null!=_0x15f01e['data']&&_0x15f01e['hasOwnProperty']('data')&&!(_0x15f01e['data']&&'number'==typeof _0x15f01e['data']['length']||_0x1a3b11['isString'](_0x15f01e['data']))?'data:\x20buffer\x20expected':null;},_0x449e9f['fromObject']=function(_0x437d39){if(_0x437d39 instanceof _0x3d2f4a['ChannelMessage'])return _0x437d39;var _0x73e5c0=new _0x3d2f4a['ChannelMessage']();return null!=_0x437d39['type']&&(_0x73e5c0['type']=_0x437d39['type']>>>0x0),null!=_0x437d39['socketId']&&(_0x73e5c0['socketId']=String(_0x437d39['socketId'])),null!=_0x437d39['data']&&('string'==typeof _0x437d39['data']?_0x1a3b11['base64']['decode'](_0x437d39['data'],_0x73e5c0['data']=_0x1a3b11['newBuffer'](_0x1a3b11['base64']['length'](_0x437d39['data'])),0x0):_0x437d39['data']['length']>=0x0&&(_0x73e5c0['data']=_0x437d39['data'])),_0x73e5c0;},_0x449e9f['toObject']=function(_0x3d67ef,_0x38d12f){_0x38d12f||(_0x38d12f={});var _0x57a473={};return _0x38d12f['defaults']&&(_0x57a473['type']=0x0,_0x57a473['socketId']='',_0x38d12f['bytes']===String?_0x57a473['data']='':(_0x57a473['data']=[],_0x38d12f['bytes']!==Array&&(_0x57a473['data']=_0x1a3b11['newBuffer'](_0x57a473['data'])))),null!=_0x3d67ef['type']&&_0x3d67ef['hasOwnProperty']('type')&&(_0x57a473['type']=_0x3d67ef['type']),null!=_0x3d67ef['socketId']&&_0x3d67ef['hasOwnProperty']('socketId')&&(_0x57a473['socketId']=_0x3d67ef['socketId']),null!=_0x3d67ef['data']&&_0x3d67ef['hasOwnProperty']('data')&&(_0x57a473['data']=_0x38d12f['bytes']===String?_0x1a3b11['base64']['encode'](_0x3d67ef['data'],0x0,_0x3d67ef['data']['length']):_0x38d12f['bytes']===Array?Array['prototype']['slice']['call'](_0x3d67ef['data']):_0x3d67ef['data']),_0x57a473;},_0x449e9f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x449e9f['getTypeUrl']=function(_0x416c98){return void 0x0===_0x416c98&&(_0x416c98='type.googleapis.com'),_0x416c98+'/ChannelMessage';},_0x449e9f;}()),_0x3d2f4a['GetUserResponse']=(function(){function _0x123d56(_0x96dbff){if(this['attributes']=[],_0x96dbff){for(var _0x21ed46=Object['keys'](_0x96dbff),_0x5db2dc=0x0;_0x5db2dc<_0x21ed46['length'];++_0x5db2dc)null!=_0x96dbff[_0x21ed46[_0x5db2dc]]&&(this[_0x21ed46[_0x5db2dc]]=_0x96dbff[_0x21ed46[_0x5db2dc]]);}}return _0x123d56['prototype']['attributes']=_0x1a3b11['emptyArray'],_0x123d56['create']=function(_0x4e1341){return new _0x123d56(_0x4e1341);},_0x123d56['encode']=function(_0x550836,_0x19113c){if(_0x19113c||(_0x19113c=_0x5dfb11['create']()),null!=_0x550836['attributes']&&_0x550836['attributes']['length']){for(var _0x380bab=0x0;_0x380bab<_0x550836['attributes']['length'];++_0x380bab)_0x3d2f4a['KeyValueDescriptor']['encode'](_0x550836['attributes'][_0x380bab],_0x19113c['uint32'](0xa)['fork']())['ldelim']();}return _0x19113c;},_0x123d56['encodeDelimited']=function(_0x50338a,_0x55f21e){return this['encode'](_0x50338a,_0x55f21e)['ldelim']();},_0x123d56['decode']=function(_0x533f11,_0x1c79cc,_0x5b2779){_0x533f11 instanceof _0x2abaaa||(_0x533f11=_0x2abaaa['create'](_0x533f11));for(var _0x528ed1=void 0x0===_0x1c79cc?_0x533f11['len']:_0x533f11['pos']+_0x1c79cc,_0x33ac12=new _0x3d2f4a['GetUserResponse']();_0x533f11['pos']<_0x528ed1;){var _0x1b0339=_0x533f11['uint32']();if(_0x1b0339===_0x5b2779)break;_0x1b0339>>>0x3==0x1?(_0x33ac12['attributes']&&_0x33ac12['attributes']['length']||(_0x33ac12['attributes']=[]),_0x33ac12['attributes']['push'](_0x3d2f4a['KeyValueDescriptor']['decode'](_0x533f11,_0x533f11['uint32']()))):_0x533f11['skipType'](0x7&_0x1b0339);}return _0x33ac12;},_0x123d56['decodeDelimited']=function(_0x93e0d4){return _0x93e0d4 instanceof _0x2abaaa||(_0x93e0d4=new _0x2abaaa(_0x93e0d4)),this['decode'](_0x93e0d4,_0x93e0d4['uint32']());},_0x123d56['verify']=function(_0x3375d6){if('object'!=typeof _0x3375d6||null===_0x3375d6)return'object\x20expected';if(null!=_0x3375d6['attributes']&&_0x3375d6['hasOwnProperty']('attributes')){if(!Array['isArray'](_0x3375d6['attributes']))return'attributes:\x20array\x20expected';for(var _0x4965b3=0x0;_0x4965b3<_0x3375d6['attributes']['length'];++_0x4965b3){var _0x1b88c5=_0x3d2f4a['KeyValueDescriptor']['verify'](_0x3375d6['attributes'][_0x4965b3]);if(_0x1b88c5)return'attributes.'+_0x1b88c5;}}return null;},_0x123d56['fromObject']=function(_0x40bfbb){if(_0x40bfbb instanceof _0x3d2f4a['GetUserResponse'])return _0x40bfbb;var _0x627502=new _0x3d2f4a['GetUserResponse']();if(_0x40bfbb['attributes']){if(!Array['isArray'](_0x40bfbb['attributes']))throw TypeError('.GetUserResponse.attributes:\x20array\x20expected');_0x627502['attributes']=[];for(var _0x18ef2a=0x0;_0x18ef2a<_0x40bfbb['attributes']['length'];++_0x18ef2a){if('object'!=typeof _0x40bfbb['attributes'][_0x18ef2a])throw TypeError('.GetUserResponse.attributes:\x20object\x20expected');_0x627502['attributes'][_0x18ef2a]=_0x3d2f4a['KeyValueDescriptor']['fromObject'](_0x40bfbb['attributes'][_0x18ef2a]);}}return _0x627502;},_0x123d56['toObject']=function(_0x18e66e,_0x442f53){_0x442f53||(_0x442f53={});var _0x5c2bd7={};if((_0x442f53['arrays']||_0x442f53['defaults'])&&(_0x5c2bd7['attributes']=[]),_0x18e66e['attributes']&&_0x18e66e['attributes']['length']){_0x5c2bd7['attributes']=[];for(var _0x4b6db2=0x0;_0x4b6db2<_0x18e66e['attributes']['length'];++_0x4b6db2)_0x5c2bd7['attributes'][_0x4b6db2]=_0x3d2f4a['KeyValueDescriptor']['toObject'](_0x18e66e['attributes'][_0x4b6db2],_0x442f53);}return _0x5c2bd7;},_0x123d56['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x123d56['getTypeUrl']=function(_0xc1aa52){return void 0x0===_0xc1aa52&&(_0xc1aa52='type.googleapis.com'),_0xc1aa52+'/GetUserResponse';},_0x123d56;}()),_0x3d2f4a['GetManyUsersResponse']=(function(){function _0x4a4255(_0x30cbfe){if(this['users']=[],_0x30cbfe){for(var _0x42d65c=Object['keys'](_0x30cbfe),_0x213839=0x0;_0x213839<_0x42d65c['length'];++_0x213839)null!=_0x30cbfe[_0x42d65c[_0x213839]]&&(this[_0x42d65c[_0x213839]]=_0x30cbfe[_0x42d65c[_0x213839]]);}}return _0x4a4255['prototype']['users']=_0x1a3b11['emptyArray'],_0x4a4255['create']=function(_0xc10e3){return new _0x4a4255(_0xc10e3);},_0x4a4255['encode']=function(_0x40405f,_0x5e9db8){if(_0x5e9db8||(_0x5e9db8=_0x5dfb11['create']()),null!=_0x40405f['users']&&_0x40405f['users']['length']){for(var _0x40b7e4=0x0;_0x40b7e4<_0x40405f['users']['length'];++_0x40b7e4)_0x3d2f4a['UserDescriptor']['encode'](_0x40405f['users'][_0x40b7e4],_0x5e9db8['uint32'](0xa)['fork']())['ldelim']();}return _0x5e9db8;},_0x4a4255['encodeDelimited']=function(_0xc034bb,_0x5ce04e){return this['encode'](_0xc034bb,_0x5ce04e)['ldelim']();},_0x4a4255['decode']=function(_0x2ff9cc,_0x16e2e9,_0x486017){_0x2ff9cc instanceof _0x2abaaa||(_0x2ff9cc=_0x2abaaa['create'](_0x2ff9cc));for(var _0xec8b7b=void 0x0===_0x16e2e9?_0x2ff9cc['len']:_0x2ff9cc['pos']+_0x16e2e9,_0x2e9e88=new _0x3d2f4a['GetManyUsersResponse']();_0x2ff9cc['pos']<_0xec8b7b;){var _0x25ceda=_0x2ff9cc['uint32']();if(_0x25ceda===_0x486017)break;_0x25ceda>>>0x3==0x1?(_0x2e9e88['users']&&_0x2e9e88['users']['length']||(_0x2e9e88['users']=[]),_0x2e9e88['users']['push'](_0x3d2f4a['UserDescriptor']['decode'](_0x2ff9cc,_0x2ff9cc['uint32']()))):_0x2ff9cc['skipType'](0x7&_0x25ceda);}return _0x2e9e88;},_0x4a4255['decodeDelimited']=function(_0xe84803){return _0xe84803 instanceof _0x2abaaa||(_0xe84803=new _0x2abaaa(_0xe84803)),this['decode'](_0xe84803,_0xe84803['uint32']());},_0x4a4255['verify']=function(_0x293ea8){if('object'!=typeof _0x293ea8||null===_0x293ea8)return'object\x20expected';if(null!=_0x293ea8['users']&&_0x293ea8['hasOwnProperty']('users')){if(!Array['isArray'](_0x293ea8['users']))return'users:\x20array\x20expected';for(var _0x5af1fc=0x0;_0x5af1fc<_0x293ea8['users']['length'];++_0x5af1fc){var _0x35effb=_0x3d2f4a['UserDescriptor']['verify'](_0x293ea8['users'][_0x5af1fc]);if(_0x35effb)return'users.'+_0x35effb;}}return null;},_0x4a4255['fromObject']=function(_0x5e7f5c){if(_0x5e7f5c instanceof _0x3d2f4a['GetManyUsersResponse'])return _0x5e7f5c;var _0x292fbd=new _0x3d2f4a['GetManyUsersResponse']();if(_0x5e7f5c['users']){if(!Array['isArray'](_0x5e7f5c['users']))throw TypeError('.GetManyUsersResponse.users:\x20array\x20expected');_0x292fbd['users']=[];for(var _0x57190d=0x0;_0x57190d<_0x5e7f5c['users']['length'];++_0x57190d){if('object'!=typeof _0x5e7f5c['users'][_0x57190d])throw TypeError('.GetManyUsersResponse.users:\x20object\x20expected');_0x292fbd['users'][_0x57190d]=_0x3d2f4a['UserDescriptor']['fromObject'](_0x5e7f5c['users'][_0x57190d]);}}return _0x292fbd;},_0x4a4255['toObject']=function(_0x294d45,_0x2dc7aa){_0x2dc7aa||(_0x2dc7aa={});var _0x38eb2c={};if((_0x2dc7aa['arrays']||_0x2dc7aa['defaults'])&&(_0x38eb2c['users']=[]),_0x294d45['users']&&_0x294d45['users']['length']){_0x38eb2c['users']=[];for(var _0x302a70=0x0;_0x302a70<_0x294d45['users']['length'];++_0x302a70)_0x38eb2c['users'][_0x302a70]=_0x3d2f4a['UserDescriptor']['toObject'](_0x294d45['users'][_0x302a70],_0x2dc7aa);}return _0x38eb2c;},_0x4a4255['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4a4255['getTypeUrl']=function(_0x458a90){return void 0x0===_0x458a90&&(_0x458a90='type.googleapis.com'),_0x458a90+'/GetManyUsersResponse';},_0x4a4255;}()),_0x3d2f4a['GetUserMessage']=(function(){function _0x150db1(_0x299d96){if(_0x299d96){for(var _0x4d589d=Object['keys'](_0x299d96),_0x241f67=0x0;_0x241f67<_0x4d589d['length'];++_0x241f67)null!=_0x299d96[_0x4d589d[_0x241f67]]&&(this[_0x4d589d[_0x241f67]]=_0x299d96[_0x4d589d[_0x241f67]]);}}return _0x150db1['prototype']['id']='',_0x150db1['create']=function(_0xf780b9){return new _0x150db1(_0xf780b9);},_0x150db1['encode']=function(_0x1c79c0,_0x1e29c2){return _0x1e29c2||(_0x1e29c2=_0x5dfb11['create']()),null!=_0x1c79c0['id']&&Object['hasOwnProperty']['call'](_0x1c79c0,'id')&&_0x1e29c2['uint32'](0xa)['string'](_0x1c79c0['id']),_0x1e29c2;},_0x150db1['encodeDelimited']=function(_0x8eb172,_0x16be26){return this['encode'](_0x8eb172,_0x16be26)['ldelim']();},_0x150db1['decode']=function(_0x454b96,_0x14f740,_0x4f1c35){_0x454b96 instanceof _0x2abaaa||(_0x454b96=_0x2abaaa['create'](_0x454b96));for(var _0x16c849=void 0x0===_0x14f740?_0x454b96['len']:_0x454b96['pos']+_0x14f740,_0x410823=new _0x3d2f4a['GetUserMessage']();_0x454b96['pos']<_0x16c849;){var _0x298925=_0x454b96['uint32']();if(_0x298925===_0x4f1c35)break;_0x298925>>>0x3==0x1?_0x410823['id']=_0x454b96['string']():_0x454b96['skipType'](0x7&_0x298925);}return _0x410823;},_0x150db1['decodeDelimited']=function(_0x52b81a){return _0x52b81a instanceof _0x2abaaa||(_0x52b81a=new _0x2abaaa(_0x52b81a)),this['decode'](_0x52b81a,_0x52b81a['uint32']());},_0x150db1['verify']=function(_0x3328b7){return'object'!=typeof _0x3328b7||null===_0x3328b7?'object\x20expected':null!=_0x3328b7['id']&&_0x3328b7['hasOwnProperty']('id')&&!_0x1a3b11['isString'](_0x3328b7['id'])?'id:\x20string\x20expected':null;},_0x150db1['fromObject']=function(_0x3e525d){if(_0x3e525d instanceof _0x3d2f4a['GetUserMessage'])return _0x3e525d;var _0x1ac039=new _0x3d2f4a['GetUserMessage']();return null!=_0x3e525d['id']&&(_0x1ac039['id']=String(_0x3e525d['id'])),_0x1ac039;},_0x150db1['toObject']=function(_0x1c4ee0,_0x409bcf){_0x409bcf||(_0x409bcf={});var _0x2c61ab={};return _0x409bcf['defaults']&&(_0x2c61ab['id']=''),null!=_0x1c4ee0['id']&&_0x1c4ee0['hasOwnProperty']('id')&&(_0x2c61ab['id']=_0x1c4ee0['id']),_0x2c61ab;},_0x150db1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x150db1['getTypeUrl']=function(_0x34d9ac){return void 0x0===_0x34d9ac&&(_0x34d9ac='type.googleapis.com'),_0x34d9ac+'/GetUserMessage';},_0x150db1;}()),_0x3d2f4a['GetManyUsersMessage']=(function(){function _0x38de60(_0xf0a9c2){if(this['ids']=[],_0xf0a9c2){for(var _0x2b0b2b=Object['keys'](_0xf0a9c2),_0x401d83=0x0;_0x401d83<_0x2b0b2b['length'];++_0x401d83)null!=_0xf0a9c2[_0x2b0b2b[_0x401d83]]&&(this[_0x2b0b2b[_0x401d83]]=_0xf0a9c2[_0x2b0b2b[_0x401d83]]);}}return _0x38de60['prototype']['ids']=_0x1a3b11['emptyArray'],_0x38de60['create']=function(_0x4a0f29){return new _0x38de60(_0x4a0f29);},_0x38de60['encode']=function(_0x351ad9,_0xa8aa1a){if(_0xa8aa1a||(_0xa8aa1a=_0x5dfb11['create']()),null!=_0x351ad9['ids']&&_0x351ad9['ids']['length']){for(var _0x4552bc=0x0;_0x4552bc<_0x351ad9['ids']['length'];++_0x4552bc)_0xa8aa1a['uint32'](0xa)['string'](_0x351ad9['ids'][_0x4552bc]);}return _0xa8aa1a;},_0x38de60['encodeDelimited']=function(_0x18201a,_0x233f8b){return this['encode'](_0x18201a,_0x233f8b)['ldelim']();},_0x38de60['decode']=function(_0x5cfce5,_0x4089be,_0x5af88f){_0x5cfce5 instanceof _0x2abaaa||(_0x5cfce5=_0x2abaaa['create'](_0x5cfce5));for(var _0x3c01a1=void 0x0===_0x4089be?_0x5cfce5['len']:_0x5cfce5['pos']+_0x4089be,_0x3fddc4=new _0x3d2f4a['GetManyUsersMessage']();_0x5cfce5['pos']<_0x3c01a1;){var _0x1d0f0d=_0x5cfce5['uint32']();if(_0x1d0f0d===_0x5af88f)break;_0x1d0f0d>>>0x3==0x1?(_0x3fddc4['ids']&&_0x3fddc4['ids']['length']||(_0x3fddc4['ids']=[]),_0x3fddc4['ids']['push'](_0x5cfce5['string']())):_0x5cfce5['skipType'](0x7&_0x1d0f0d);}return _0x3fddc4;},_0x38de60['decodeDelimited']=function(_0x1d7bcc){return _0x1d7bcc instanceof _0x2abaaa||(_0x1d7bcc=new _0x2abaaa(_0x1d7bcc)),this['decode'](_0x1d7bcc,_0x1d7bcc['uint32']());},_0x38de60['verify']=function(_0x37dca7){if('object'!=typeof _0x37dca7||null===_0x37dca7)return'object\x20expected';if(null!=_0x37dca7['ids']&&_0x37dca7['hasOwnProperty']('ids')){if(!Array['isArray'](_0x37dca7['ids']))return'ids:\x20array\x20expected';for(var _0x4d1a23=0x0;_0x4d1a23<_0x37dca7['ids']['length'];++_0x4d1a23)if(!_0x1a3b11['isString'](_0x37dca7['ids'][_0x4d1a23]))return'ids:\x20string[]\x20expected';}return null;},_0x38de60['fromObject']=function(_0x2b29a2){if(_0x2b29a2 instanceof _0x3d2f4a['GetManyUsersMessage'])return _0x2b29a2;var _0x5154e9=new _0x3d2f4a['GetManyUsersMessage']();if(_0x2b29a2['ids']){if(!Array['isArray'](_0x2b29a2['ids']))throw TypeError('.GetManyUsersMessage.ids:\x20array\x20expected');_0x5154e9['ids']=[];for(var _0x469cc1=0x0;_0x469cc1<_0x2b29a2['ids']['length'];++_0x469cc1)_0x5154e9['ids'][_0x469cc1]=String(_0x2b29a2['ids'][_0x469cc1]);}return _0x5154e9;},_0x38de60['toObject']=function(_0x47a755,_0x30f5a6){_0x30f5a6||(_0x30f5a6={});var _0xa6db8d={};if((_0x30f5a6['arrays']||_0x30f5a6['defaults'])&&(_0xa6db8d['ids']=[]),_0x47a755['ids']&&_0x47a755['ids']['length']){_0xa6db8d['ids']=[];for(var _0x3cc1a0=0x0;_0x3cc1a0<_0x47a755['ids']['length'];++_0x3cc1a0)_0xa6db8d['ids'][_0x3cc1a0]=_0x47a755['ids'][_0x3cc1a0];}return _0xa6db8d;},_0x38de60['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x38de60['getTypeUrl']=function(_0x49215e){return void 0x0===_0x49215e&&(_0x49215e='type.googleapis.com'),_0x49215e+'/GetManyUsersMessage';},_0x38de60;}()),_0x3d2f4a['UserDescriptor']=(function(){function _0x493af4(_0x581bac){if(this['attributes']=[],_0x581bac){for(var _0x49c7cd=Object['keys'](_0x581bac),_0x4b7794=0x0;_0x4b7794<_0x49c7cd['length'];++_0x4b7794)null!=_0x581bac[_0x49c7cd[_0x4b7794]]&&(this[_0x49c7cd[_0x4b7794]]=_0x581bac[_0x49c7cd[_0x4b7794]]);}}return _0x493af4['prototype']['attributes']=_0x1a3b11['emptyArray'],_0x493af4['create']=function(_0x143083){return new _0x493af4(_0x143083);},_0x493af4['encode']=function(_0x1c54f1,_0x3df73b){if(_0x3df73b||(_0x3df73b=_0x5dfb11['create']()),null!=_0x1c54f1['attributes']&&_0x1c54f1['attributes']['length']){for(var _0x3f067c=0x0;_0x3f067c<_0x1c54f1['attributes']['length'];++_0x3f067c)_0x3d2f4a['KeyValueDescriptor']['encode'](_0x1c54f1['attributes'][_0x3f067c],_0x3df73b['uint32'](0xa)['fork']())['ldelim']();}return _0x3df73b;},_0x493af4['encodeDelimited']=function(_0x3ac518,_0x45f939){return this['encode'](_0x3ac518,_0x45f939)['ldelim']();},_0x493af4['decode']=function(_0x1d929f,_0x9cc09,_0x4df62d){_0x1d929f instanceof _0x2abaaa||(_0x1d929f=_0x2abaaa['create'](_0x1d929f));for(var _0x254eb6=void 0x0===_0x9cc09?_0x1d929f['len']:_0x1d929f['pos']+_0x9cc09,_0x14798a=new _0x3d2f4a['UserDescriptor']();_0x1d929f['pos']<_0x254eb6;){var _0x7a22e8=_0x1d929f['uint32']();if(_0x7a22e8===_0x4df62d)break;_0x7a22e8>>>0x3==0x1?(_0x14798a['attributes']&&_0x14798a['attributes']['length']||(_0x14798a['attributes']=[]),_0x14798a['attributes']['push'](_0x3d2f4a['KeyValueDescriptor']['decode'](_0x1d929f,_0x1d929f['uint32']()))):_0x1d929f['skipType'](0x7&_0x7a22e8);}return _0x14798a;},_0x493af4['decodeDelimited']=function(_0x407ec2){return _0x407ec2 instanceof _0x2abaaa||(_0x407ec2=new _0x2abaaa(_0x407ec2)),this['decode'](_0x407ec2,_0x407ec2['uint32']());},_0x493af4['verify']=function(_0x78bc8a){if('object'!=typeof _0x78bc8a||null===_0x78bc8a)return'object\x20expected';if(null!=_0x78bc8a['attributes']&&_0x78bc8a['hasOwnProperty']('attributes')){if(!Array['isArray'](_0x78bc8a['attributes']))return'attributes:\x20array\x20expected';for(var _0x5978a1=0x0;_0x5978a1<_0x78bc8a['attributes']['length'];++_0x5978a1){var _0xcd28e4=_0x3d2f4a['KeyValueDescriptor']['verify'](_0x78bc8a['attributes'][_0x5978a1]);if(_0xcd28e4)return'attributes.'+_0xcd28e4;}}return null;},_0x493af4['fromObject']=function(_0x514819){if(_0x514819 instanceof _0x3d2f4a['UserDescriptor'])return _0x514819;var _0x51edbd=new _0x3d2f4a['UserDescriptor']();if(_0x514819['attributes']){if(!Array['isArray'](_0x514819['attributes']))throw TypeError('.UserDescriptor.attributes:\x20array\x20expected');_0x51edbd['attributes']=[];for(var _0x4ae157=0x0;_0x4ae157<_0x514819['attributes']['length'];++_0x4ae157){if('object'!=typeof _0x514819['attributes'][_0x4ae157])throw TypeError('.UserDescriptor.attributes:\x20object\x20expected');_0x51edbd['attributes'][_0x4ae157]=_0x3d2f4a['KeyValueDescriptor']['fromObject'](_0x514819['attributes'][_0x4ae157]);}}return _0x51edbd;},_0x493af4['toObject']=function(_0x25a347,_0x3c0382){_0x3c0382||(_0x3c0382={});var _0x41bc44={};if((_0x3c0382['arrays']||_0x3c0382['defaults'])&&(_0x41bc44['attributes']=[]),_0x25a347['attributes']&&_0x25a347['attributes']['length']){_0x41bc44['attributes']=[];for(var _0x269bb2=0x0;_0x269bb2<_0x25a347['attributes']['length'];++_0x269bb2)_0x41bc44['attributes'][_0x269bb2]=_0x3d2f4a['KeyValueDescriptor']['toObject'](_0x25a347['attributes'][_0x269bb2],_0x3c0382);}return _0x41bc44;},_0x493af4['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x493af4['getTypeUrl']=function(_0x553e16){return void 0x0===_0x553e16&&(_0x553e16='type.googleapis.com'),_0x553e16+'/UserDescriptor';},_0x493af4;}()),_0x3d2f4a['TrackChangesGetSuggestionResponse']=(function(){function _0x4cb9f4(_0x26ed3a){if(_0x26ed3a){for(var _0x3bc552=Object['keys'](_0x26ed3a),_0xbac412=0x0;_0xbac412<_0x3bc552['length'];++_0xbac412)null!=_0x26ed3a[_0x3bc552[_0xbac412]]&&(this[_0x3bc552[_0xbac412]]=_0x26ed3a[_0x3bc552[_0xbac412]]);}}return _0x4cb9f4['prototype']['id']='',_0x4cb9f4['prototype']['authorId']='',_0x4cb9f4['prototype']['type']='',_0x4cb9f4['prototype']['createdAt']='',_0x4cb9f4['prototype']['data']='',_0x4cb9f4['prototype']['hasComments']=!0x1,_0x4cb9f4['prototype']['state']='',_0x4cb9f4['prototype']['attributes']='',_0x4cb9f4['create']=function(_0x3941c0){return new _0x4cb9f4(_0x3941c0);},_0x4cb9f4['encode']=function(_0x1baa7e,_0x349205){return _0x349205||(_0x349205=_0x5dfb11['create']()),null!=_0x1baa7e['id']&&Object['hasOwnProperty']['call'](_0x1baa7e,'id')&&_0x349205['uint32'](0xa)['string'](_0x1baa7e['id']),null!=_0x1baa7e['authorId']&&Object['hasOwnProperty']['call'](_0x1baa7e,'authorId')&&_0x349205['uint32'](0x12)['string'](_0x1baa7e['authorId']),null!=_0x1baa7e['type']&&Object['hasOwnProperty']['call'](_0x1baa7e,'type')&&_0x349205['uint32'](0x1a)['string'](_0x1baa7e['type']),null!=_0x1baa7e['createdAt']&&Object['hasOwnProperty']['call'](_0x1baa7e,'createdAt')&&_0x349205['uint32'](0x22)['string'](_0x1baa7e['createdAt']),null!=_0x1baa7e['data']&&Object['hasOwnProperty']['call'](_0x1baa7e,'data')&&_0x349205['uint32'](0x2a)['string'](_0x1baa7e['data']),null!=_0x1baa7e['hasComments']&&Object['hasOwnProperty']['call'](_0x1baa7e,'hasComments')&&_0x349205['uint32'](0x30)['bool'](_0x1baa7e['hasComments']),null!=_0x1baa7e['state']&&Object['hasOwnProperty']['call'](_0x1baa7e,'state')&&_0x349205['uint32'](0x3a)['string'](_0x1baa7e['state']),null!=_0x1baa7e['attributes']&&Object['hasOwnProperty']['call'](_0x1baa7e,'attributes')&&_0x349205['uint32'](0x42)['string'](_0x1baa7e['attributes']),_0x349205;},_0x4cb9f4['encodeDelimited']=function(_0x3ebbf1,_0x213e00){return this['encode'](_0x3ebbf1,_0x213e00)['ldelim']();},_0x4cb9f4['decode']=function(_0x56c06c,_0x33d012,_0x4f7489){_0x56c06c instanceof _0x2abaaa||(_0x56c06c=_0x2abaaa['create'](_0x56c06c));for(var _0x2d4773=void 0x0===_0x33d012?_0x56c06c['len']:_0x56c06c['pos']+_0x33d012,_0x5c5583=new _0x3d2f4a['TrackChangesGetSuggestionResponse']();_0x56c06c['pos']<_0x2d4773;){var _0xf15cf4=_0x56c06c['uint32']();if(_0xf15cf4===_0x4f7489)break;switch(_0xf15cf4>>>0x3){case 0x1:_0x5c5583['id']=_0x56c06c['string']();break;case 0x2:_0x5c5583['authorId']=_0x56c06c['string']();break;case 0x3:_0x5c5583['type']=_0x56c06c['string']();break;case 0x4:_0x5c5583['createdAt']=_0x56c06c['string']();break;case 0x5:_0x5c5583['data']=_0x56c06c['string']();break;case 0x6:_0x5c5583['hasComments']=_0x56c06c['bool']();break;case 0x7:_0x5c5583['state']=_0x56c06c['string']();break;case 0x8:_0x5c5583['attributes']=_0x56c06c['string']();break;default:_0x56c06c['skipType'](0x7&_0xf15cf4);}}return _0x5c5583;},_0x4cb9f4['decodeDelimited']=function(_0x5990c7){return _0x5990c7 instanceof _0x2abaaa||(_0x5990c7=new _0x2abaaa(_0x5990c7)),this['decode'](_0x5990c7,_0x5990c7['uint32']());},_0x4cb9f4['verify']=function(_0x5612bb){return'object'!=typeof _0x5612bb||null===_0x5612bb?'object\x20expected':null!=_0x5612bb['id']&&_0x5612bb['hasOwnProperty']('id')&&!_0x1a3b11['isString'](_0x5612bb['id'])?'id:\x20string\x20expected':null!=_0x5612bb['authorId']&&_0x5612bb['hasOwnProperty']('authorId')&&!_0x1a3b11['isString'](_0x5612bb['authorId'])?'authorId:\x20string\x20expected':null!=_0x5612bb['type']&&_0x5612bb['hasOwnProperty']('type')&&!_0x1a3b11['isString'](_0x5612bb['type'])?'type:\x20string\x20expected':null!=_0x5612bb['createdAt']&&_0x5612bb['hasOwnProperty']('createdAt')&&!_0x1a3b11['isString'](_0x5612bb['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x5612bb['data']&&_0x5612bb['hasOwnProperty']('data')&&!_0x1a3b11['isString'](_0x5612bb['data'])?'data:\x20string\x20expected':null!=_0x5612bb['hasComments']&&_0x5612bb['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x5612bb['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x5612bb['state']&&_0x5612bb['hasOwnProperty']('state')&&!_0x1a3b11['isString'](_0x5612bb['state'])?'state:\x20string\x20expected':null!=_0x5612bb['attributes']&&_0x5612bb['hasOwnProperty']('attributes')&&!_0x1a3b11['isString'](_0x5612bb['attributes'])?'attributes:\x20string\x20expected':null;},_0x4cb9f4['fromObject']=function(_0xf79179){if(_0xf79179 instanceof _0x3d2f4a['TrackChangesGetSuggestionResponse'])return _0xf79179;var _0x1170a6=new _0x3d2f4a['TrackChangesGetSuggestionResponse']();return null!=_0xf79179['id']&&(_0x1170a6['id']=String(_0xf79179['id'])),null!=_0xf79179['authorId']&&(_0x1170a6['authorId']=String(_0xf79179['authorId'])),null!=_0xf79179['type']&&(_0x1170a6['type']=String(_0xf79179['type'])),null!=_0xf79179['createdAt']&&(_0x1170a6['createdAt']=String(_0xf79179['createdAt'])),null!=_0xf79179['data']&&(_0x1170a6['data']=String(_0xf79179['data'])),null!=_0xf79179['hasComments']&&(_0x1170a6['hasComments']=Boolean(_0xf79179['hasComments'])),null!=_0xf79179['state']&&(_0x1170a6['state']=String(_0xf79179['state'])),null!=_0xf79179['attributes']&&(_0x1170a6['attributes']=String(_0xf79179['attributes'])),_0x1170a6;},_0x4cb9f4['toObject']=function(_0x149b29,_0x4cf9c4){_0x4cf9c4||(_0x4cf9c4={});var _0x54a817={};return _0x4cf9c4['defaults']&&(_0x54a817['id']='',_0x54a817['authorId']='',_0x54a817['type']='',_0x54a817['createdAt']='',_0x54a817['data']='',_0x54a817['hasComments']=!0x1,_0x54a817['state']='',_0x54a817['attributes']=''),null!=_0x149b29['id']&&_0x149b29['hasOwnProperty']('id')&&(_0x54a817['id']=_0x149b29['id']),null!=_0x149b29['authorId']&&_0x149b29['hasOwnProperty']('authorId')&&(_0x54a817['authorId']=_0x149b29['authorId']),null!=_0x149b29['type']&&_0x149b29['hasOwnProperty']('type')&&(_0x54a817['type']=_0x149b29['type']),null!=_0x149b29['createdAt']&&_0x149b29['hasOwnProperty']('createdAt')&&(_0x54a817['createdAt']=_0x149b29['createdAt']),null!=_0x149b29['data']&&_0x149b29['hasOwnProperty']('data')&&(_0x54a817['data']=_0x149b29['data']),null!=_0x149b29['hasComments']&&_0x149b29['hasOwnProperty']('hasComments')&&(_0x54a817['hasComments']=_0x149b29['hasComments']),null!=_0x149b29['state']&&_0x149b29['hasOwnProperty']('state')&&(_0x54a817['state']=_0x149b29['state']),null!=_0x149b29['attributes']&&_0x149b29['hasOwnProperty']('attributes')&&(_0x54a817['attributes']=_0x149b29['attributes']),_0x54a817;},_0x4cb9f4['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4cb9f4['getTypeUrl']=function(_0x452018){return void 0x0===_0x452018&&(_0x452018='type.googleapis.com'),_0x452018+'/TrackChangesGetSuggestionResponse';},_0x4cb9f4;}()),_0x3d2f4a['TrackChangesGetAllSuggestionsResponse']=(function(){function _0x4326c8(_0x35fa86){if(this['suggestions']=[],this['suggestionsV2']=[],_0x35fa86){for(var _0x95bac4=Object['keys'](_0x35fa86),_0x5bfbd1=0x0;_0x5bfbd1<_0x95bac4['length'];++_0x5bfbd1)null!=_0x35fa86[_0x95bac4[_0x5bfbd1]]&&(this[_0x95bac4[_0x5bfbd1]]=_0x35fa86[_0x95bac4[_0x5bfbd1]]);}}return _0x4326c8['prototype']['suggestions']=_0x1a3b11['emptyArray'],_0x4326c8['prototype']['suggestionsV2']=_0x1a3b11['emptyArray'],_0x4326c8['create']=function(_0x29c7f7){return new _0x4326c8(_0x29c7f7);},_0x4326c8['encode']=function(_0x5ac565,_0x3c9260){if(_0x3c9260||(_0x3c9260=_0x5dfb11['create']()),null!=_0x5ac565['suggestions']&&_0x5ac565['suggestions']['length']){for(var _0x44f885=0x0;_0x44f885<_0x5ac565['suggestions']['length'];++_0x44f885)_0x3c9260['uint32'](0xa)['string'](_0x5ac565['suggestions'][_0x44f885]);}if(null!=_0x5ac565['suggestionsV2']&&_0x5ac565['suggestionsV2']['length']){for(_0x44f885=0x0;_0x44f885<_0x5ac565['suggestionsV2']['length'];++_0x44f885)_0x3d2f4a['SuggestionDescriptor']['encode'](_0x5ac565['suggestionsV2'][_0x44f885],_0x3c9260['uint32'](0x12)['fork']())['ldelim']();}return _0x3c9260;},_0x4326c8['encodeDelimited']=function(_0x478eb6,_0x1f3842){return this['encode'](_0x478eb6,_0x1f3842)['ldelim']();},_0x4326c8['decode']=function(_0x2109e0,_0x515719,_0x2dee04){_0x2109e0 instanceof _0x2abaaa||(_0x2109e0=_0x2abaaa['create'](_0x2109e0));for(var _0xc65f17=void 0x0===_0x515719?_0x2109e0['len']:_0x2109e0['pos']+_0x515719,_0x133f9a=new _0x3d2f4a['TrackChangesGetAllSuggestionsResponse']();_0x2109e0['pos']<_0xc65f17;){var _0xc5e97a=_0x2109e0['uint32']();if(_0xc5e97a===_0x2dee04)break;switch(_0xc5e97a>>>0x3){case 0x1:_0x133f9a['suggestions']&&_0x133f9a['suggestions']['length']||(_0x133f9a['suggestions']=[]),_0x133f9a['suggestions']['push'](_0x2109e0['string']());break;case 0x2:_0x133f9a['suggestionsV2']&&_0x133f9a['suggestionsV2']['length']||(_0x133f9a['suggestionsV2']=[]),_0x133f9a['suggestionsV2']['push'](_0x3d2f4a['SuggestionDescriptor']['decode'](_0x2109e0,_0x2109e0['uint32']()));break;default:_0x2109e0['skipType'](0x7&_0xc5e97a);}}return _0x133f9a;},_0x4326c8['decodeDelimited']=function(_0x5e072c){return _0x5e072c instanceof _0x2abaaa||(_0x5e072c=new _0x2abaaa(_0x5e072c)),this['decode'](_0x5e072c,_0x5e072c['uint32']());},_0x4326c8['verify']=function(_0xaad871){if('object'!=typeof _0xaad871||null===_0xaad871)return'object\x20expected';if(null!=_0xaad871['suggestions']&&_0xaad871['hasOwnProperty']('suggestions')){if(!Array['isArray'](_0xaad871['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x29c8d5=0x0;_0x29c8d5<_0xaad871['suggestions']['length'];++_0x29c8d5)if(!_0x1a3b11['isString'](_0xaad871['suggestions'][_0x29c8d5]))return'suggestions:\x20string[]\x20expected';}if(null!=_0xaad871['suggestionsV2']&&_0xaad871['hasOwnProperty']('suggestionsV2')){if(!Array['isArray'](_0xaad871['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x29c8d5=0x0;_0x29c8d5<_0xaad871['suggestionsV2']['length'];++_0x29c8d5){var _0x4864d4=_0x3d2f4a['SuggestionDescriptor']['verify'](_0xaad871['suggestionsV2'][_0x29c8d5]);if(_0x4864d4)return'suggestionsV2.'+_0x4864d4;}}return null;},_0x4326c8['fromObject']=function(_0x557bbf){if(_0x557bbf instanceof _0x3d2f4a['TrackChangesGetAllSuggestionsResponse'])return _0x557bbf;var _0x44baa3=new _0x3d2f4a['TrackChangesGetAllSuggestionsResponse']();if(_0x557bbf['suggestions']){if(!Array['isArray'](_0x557bbf['suggestions']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestions:\x20array\x20expected');_0x44baa3['suggestions']=[];for(var _0x1464ab=0x0;_0x1464ab<_0x557bbf['suggestions']['length'];++_0x1464ab)_0x44baa3['suggestions'][_0x1464ab]=String(_0x557bbf['suggestions'][_0x1464ab]);}if(_0x557bbf['suggestionsV2']){if(!Array['isArray'](_0x557bbf['suggestionsV2']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20array\x20expected');for(_0x44baa3['suggestionsV2']=[],_0x1464ab=0x0;_0x1464ab<_0x557bbf['suggestionsV2']['length'];++_0x1464ab){if('object'!=typeof _0x557bbf['suggestionsV2'][_0x1464ab])throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20object\x20expected');_0x44baa3['suggestionsV2'][_0x1464ab]=_0x3d2f4a['SuggestionDescriptor']['fromObject'](_0x557bbf['suggestionsV2'][_0x1464ab]);}}return _0x44baa3;},_0x4326c8['toObject']=function(_0x105b2c,_0x46ab36){_0x46ab36||(_0x46ab36={});var _0x5059c7={};if((_0x46ab36['arrays']||_0x46ab36['defaults'])&&(_0x5059c7['suggestions']=[],_0x5059c7['suggestionsV2']=[]),_0x105b2c['suggestions']&&_0x105b2c['suggestions']['length']){_0x5059c7['suggestions']=[];for(var _0x57ba0f=0x0;_0x57ba0f<_0x105b2c['suggestions']['length'];++_0x57ba0f)_0x5059c7['suggestions'][_0x57ba0f]=_0x105b2c['suggestions'][_0x57ba0f];}if(_0x105b2c['suggestionsV2']&&_0x105b2c['suggestionsV2']['length']){for(_0x5059c7['suggestionsV2']=[],_0x57ba0f=0x0;_0x57ba0f<_0x105b2c['suggestionsV2']['length'];++_0x57ba0f)_0x5059c7['suggestionsV2'][_0x57ba0f]=_0x3d2f4a['SuggestionDescriptor']['toObject'](_0x105b2c['suggestionsV2'][_0x57ba0f],_0x46ab36);}return _0x5059c7;},_0x4326c8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4326c8['getTypeUrl']=function(_0x2bd129){return void 0x0===_0x2bd129&&(_0x2bd129='type.googleapis.com'),_0x2bd129+'/TrackChangesGetAllSuggestionsResponse';},_0x4326c8;}()),_0x3d2f4a['TrackChangesConnectResponse']=(function(){function _0x3da56d(_0x4956a5){if(this['suggestions']=[],this['suggestionsV2']=[],_0x4956a5){for(var _0x1db9ea=Object['keys'](_0x4956a5),_0x56e912=0x0;_0x56e912<_0x1db9ea['length'];++_0x56e912)null!=_0x4956a5[_0x1db9ea[_0x56e912]]&&(this[_0x1db9ea[_0x56e912]]=_0x4956a5[_0x1db9ea[_0x56e912]]);}}return _0x3da56d['prototype']['channel']='',_0x3da56d['prototype']['suggestions']=_0x1a3b11['emptyArray'],_0x3da56d['prototype']['suggestionsV2']=_0x1a3b11['emptyArray'],_0x3da56d['create']=function(_0x24ad2b){return new _0x3da56d(_0x24ad2b);},_0x3da56d['encode']=function(_0x326927,_0x5b4b22){if(_0x5b4b22||(_0x5b4b22=_0x5dfb11['create']()),null!=_0x326927['channel']&&Object['hasOwnProperty']['call'](_0x326927,'channel')&&_0x5b4b22['uint32'](0xa)['string'](_0x326927['channel']),null!=_0x326927['suggestions']&&_0x326927['suggestions']['length']){for(var _0x52d5e0=0x0;_0x52d5e0<_0x326927['suggestions']['length'];++_0x52d5e0)_0x5b4b22['uint32'](0x12)['string'](_0x326927['suggestions'][_0x52d5e0]);}if(null!=_0x326927['suggestionsV2']&&_0x326927['suggestionsV2']['length']){for(_0x52d5e0=0x0;_0x52d5e0<_0x326927['suggestionsV2']['length'];++_0x52d5e0)_0x3d2f4a['SuggestionDescriptor']['encode'](_0x326927['suggestionsV2'][_0x52d5e0],_0x5b4b22['uint32'](0x1a)['fork']())['ldelim']();}return _0x5b4b22;},_0x3da56d['encodeDelimited']=function(_0x5e1d26,_0x50d3c1){return this['encode'](_0x5e1d26,_0x50d3c1)['ldelim']();},_0x3da56d['decode']=function(_0x5e64a0,_0x2aad51,_0xcc489f){_0x5e64a0 instanceof _0x2abaaa||(_0x5e64a0=_0x2abaaa['create'](_0x5e64a0));for(var _0x2b266a=void 0x0===_0x2aad51?_0x5e64a0['len']:_0x5e64a0['pos']+_0x2aad51,_0x21922c=new _0x3d2f4a['TrackChangesConnectResponse']();_0x5e64a0['pos']<_0x2b266a;){var _0x1f1543=_0x5e64a0['uint32']();if(_0x1f1543===_0xcc489f)break;switch(_0x1f1543>>>0x3){case 0x1:_0x21922c['channel']=_0x5e64a0['string']();break;case 0x2:_0x21922c['suggestions']&&_0x21922c['suggestions']['length']||(_0x21922c['suggestions']=[]),_0x21922c['suggestions']['push'](_0x5e64a0['string']());break;case 0x3:_0x21922c['suggestionsV2']&&_0x21922c['suggestionsV2']['length']||(_0x21922c['suggestionsV2']=[]),_0x21922c['suggestionsV2']['push'](_0x3d2f4a['SuggestionDescriptor']['decode'](_0x5e64a0,_0x5e64a0['uint32']()));break;default:_0x5e64a0['skipType'](0x7&_0x1f1543);}}return _0x21922c;},_0x3da56d['decodeDelimited']=function(_0x5be48f){return _0x5be48f instanceof _0x2abaaa||(_0x5be48f=new _0x2abaaa(_0x5be48f)),this['decode'](_0x5be48f,_0x5be48f['uint32']());},_0x3da56d['verify']=function(_0x4c6bf3){if('object'!=typeof _0x4c6bf3||null===_0x4c6bf3)return'object\x20expected';if(null!=_0x4c6bf3['channel']&&_0x4c6bf3['hasOwnProperty']('channel')&&!_0x1a3b11['isString'](_0x4c6bf3['channel']))return'channel:\x20string\x20expected';if(null!=_0x4c6bf3['suggestions']&&_0x4c6bf3['hasOwnProperty']('suggestions')){if(!Array['isArray'](_0x4c6bf3['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x46ba0f=0x0;_0x46ba0f<_0x4c6bf3['suggestions']['length'];++_0x46ba0f)if(!_0x1a3b11['isString'](_0x4c6bf3['suggestions'][_0x46ba0f]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x4c6bf3['suggestionsV2']&&_0x4c6bf3['hasOwnProperty']('suggestionsV2')){if(!Array['isArray'](_0x4c6bf3['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x46ba0f=0x0;_0x46ba0f<_0x4c6bf3['suggestionsV2']['length'];++_0x46ba0f){var _0x2783ba=_0x3d2f4a['SuggestionDescriptor']['verify'](_0x4c6bf3['suggestionsV2'][_0x46ba0f]);if(_0x2783ba)return'suggestionsV2.'+_0x2783ba;}}return null;},_0x3da56d['fromObject']=function(_0x169525){if(_0x169525 instanceof _0x3d2f4a['TrackChangesConnectResponse'])return _0x169525;var _0x2e4f29=new _0x3d2f4a['TrackChangesConnectResponse']();if(null!=_0x169525['channel']&&(_0x2e4f29['channel']=String(_0x169525['channel'])),_0x169525['suggestions']){if(!Array['isArray'](_0x169525['suggestions']))throw TypeError('.TrackChangesConnectResponse.suggestions:\x20array\x20expected');_0x2e4f29['suggestions']=[];for(var _0x47538e=0x0;_0x47538e<_0x169525['suggestions']['length'];++_0x47538e)_0x2e4f29['suggestions'][_0x47538e]=String(_0x169525['suggestions'][_0x47538e]);}if(_0x169525['suggestionsV2']){if(!Array['isArray'](_0x169525['suggestionsV2']))throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20array\x20expected');for(_0x2e4f29['suggestionsV2']=[],_0x47538e=0x0;_0x47538e<_0x169525['suggestionsV2']['length'];++_0x47538e){if('object'!=typeof _0x169525['suggestionsV2'][_0x47538e])throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20object\x20expected');_0x2e4f29['suggestionsV2'][_0x47538e]=_0x3d2f4a['SuggestionDescriptor']['fromObject'](_0x169525['suggestionsV2'][_0x47538e]);}}return _0x2e4f29;},_0x3da56d['toObject']=function(_0x315d5f,_0x356659){_0x356659||(_0x356659={});var _0x2f7f0d={};if((_0x356659['arrays']||_0x356659['defaults'])&&(_0x2f7f0d['suggestions']=[],_0x2f7f0d['suggestionsV2']=[]),_0x356659['defaults']&&(_0x2f7f0d['channel']=''),null!=_0x315d5f['channel']&&_0x315d5f['hasOwnProperty']('channel')&&(_0x2f7f0d['channel']=_0x315d5f['channel']),_0x315d5f['suggestions']&&_0x315d5f['suggestions']['length']){_0x2f7f0d['suggestions']=[];for(var _0x547e95=0x0;_0x547e95<_0x315d5f['suggestions']['length'];++_0x547e95)_0x2f7f0d['suggestions'][_0x547e95]=_0x315d5f['suggestions'][_0x547e95];}if(_0x315d5f['suggestionsV2']&&_0x315d5f['suggestionsV2']['length']){for(_0x2f7f0d['suggestionsV2']=[],_0x547e95=0x0;_0x547e95<_0x315d5f['suggestionsV2']['length'];++_0x547e95)_0x2f7f0d['suggestionsV2'][_0x547e95]=_0x3d2f4a['SuggestionDescriptor']['toObject'](_0x315d5f['suggestionsV2'][_0x547e95],_0x356659);}return _0x2f7f0d;},_0x3da56d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3da56d['getTypeUrl']=function(_0x53b03f){return void 0x0===_0x53b03f&&(_0x53b03f='type.googleapis.com'),_0x53b03f+'/TrackChangesConnectResponse';},_0x3da56d;}()),_0x3d2f4a['TrackChangesAddSuggestionResponse']=(function(){function _0x57f270(_0x44133a){if(_0x44133a){for(var _0x461f47=Object['keys'](_0x44133a),_0x1c3f9b=0x0;_0x1c3f9b<_0x461f47['length'];++_0x1c3f9b)null!=_0x44133a[_0x461f47[_0x1c3f9b]]&&(this[_0x461f47[_0x1c3f9b]]=_0x44133a[_0x461f47[_0x1c3f9b]]);}}return _0x57f270['prototype']['id']='',_0x57f270['prototype']['authorId']='',_0x57f270['prototype']['type']='',_0x57f270['prototype']['createdAt']='',_0x57f270['prototype']['data']='',_0x57f270['prototype']['hasComments']=!0x1,_0x57f270['prototype']['state']='',_0x57f270['prototype']['attributes']='',_0x57f270['create']=function(_0x5a8b70){return new _0x57f270(_0x5a8b70);},_0x57f270['encode']=function(_0x5d9538,_0x21b250){return _0x21b250||(_0x21b250=_0x5dfb11['create']()),null!=_0x5d9538['id']&&Object['hasOwnProperty']['call'](_0x5d9538,'id')&&_0x21b250['uint32'](0xa)['string'](_0x5d9538['id']),null!=_0x5d9538['authorId']&&Object['hasOwnProperty']['call'](_0x5d9538,'authorId')&&_0x21b250['uint32'](0x12)['string'](_0x5d9538['authorId']),null!=_0x5d9538['type']&&Object['hasOwnProperty']['call'](_0x5d9538,'type')&&_0x21b250['uint32'](0x1a)['string'](_0x5d9538['type']),null!=_0x5d9538['createdAt']&&Object['hasOwnProperty']['call'](_0x5d9538,'createdAt')&&_0x21b250['uint32'](0x22)['string'](_0x5d9538['createdAt']),null!=_0x5d9538['data']&&Object['hasOwnProperty']['call'](_0x5d9538,'data')&&_0x21b250['uint32'](0x2a)['string'](_0x5d9538['data']),null!=_0x5d9538['hasComments']&&Object['hasOwnProperty']['call'](_0x5d9538,'hasComments')&&_0x21b250['uint32'](0x30)['bool'](_0x5d9538['hasComments']),null!=_0x5d9538['state']&&Object['hasOwnProperty']['call'](_0x5d9538,'state')&&_0x21b250['uint32'](0x3a)['string'](_0x5d9538['state']),null!=_0x5d9538['attributes']&&Object['hasOwnProperty']['call'](_0x5d9538,'attributes')&&_0x21b250['uint32'](0x42)['string'](_0x5d9538['attributes']),_0x21b250;},_0x57f270['encodeDelimited']=function(_0x99983c,_0x5eb159){return this['encode'](_0x99983c,_0x5eb159)['ldelim']();},_0x57f270['decode']=function(_0x33f948,_0x1d7dca,_0x3a400d){_0x33f948 instanceof _0x2abaaa||(_0x33f948=_0x2abaaa['create'](_0x33f948));for(var _0x248e7b=void 0x0===_0x1d7dca?_0x33f948['len']:_0x33f948['pos']+_0x1d7dca,_0x2fca62=new _0x3d2f4a['TrackChangesAddSuggestionResponse']();_0x33f948['pos']<_0x248e7b;){var _0x2c1fe1=_0x33f948['uint32']();if(_0x2c1fe1===_0x3a400d)break;switch(_0x2c1fe1>>>0x3){case 0x1:_0x2fca62['id']=_0x33f948['string']();break;case 0x2:_0x2fca62['authorId']=_0x33f948['string']();break;case 0x3:_0x2fca62['type']=_0x33f948['string']();break;case 0x4:_0x2fca62['createdAt']=_0x33f948['string']();break;case 0x5:_0x2fca62['data']=_0x33f948['string']();break;case 0x6:_0x2fca62['hasComments']=_0x33f948['bool']();break;case 0x7:_0x2fca62['state']=_0x33f948['string']();break;case 0x8:_0x2fca62['attributes']=_0x33f948['string']();break;default:_0x33f948['skipType'](0x7&_0x2c1fe1);}}return _0x2fca62;},_0x57f270['decodeDelimited']=function(_0x3044eb){return _0x3044eb instanceof _0x2abaaa||(_0x3044eb=new _0x2abaaa(_0x3044eb)),this['decode'](_0x3044eb,_0x3044eb['uint32']());},_0x57f270['verify']=function(_0x19857f){return'object'!=typeof _0x19857f||null===_0x19857f?'object\x20expected':null!=_0x19857f['id']&&_0x19857f['hasOwnProperty']('id')&&!_0x1a3b11['isString'](_0x19857f['id'])?'id:\x20string\x20expected':null!=_0x19857f['authorId']&&_0x19857f['hasOwnProperty']('authorId')&&!_0x1a3b11['isString'](_0x19857f['authorId'])?'authorId:\x20string\x20expected':null!=_0x19857f['type']&&_0x19857f['hasOwnProperty']('type')&&!_0x1a3b11['isString'](_0x19857f['type'])?'type:\x20string\x20expected':null!=_0x19857f['createdAt']&&_0x19857f['hasOwnProperty']('createdAt')&&!_0x1a3b11['isString'](_0x19857f['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x19857f['data']&&_0x19857f['hasOwnProperty']('data')&&!_0x1a3b11['isString'](_0x19857f['data'])?'data:\x20string\x20expected':null!=_0x19857f['hasComments']&&_0x19857f['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x19857f['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x19857f['state']&&_0x19857f['hasOwnProperty']('state')&&!_0x1a3b11['isString'](_0x19857f['state'])?'state:\x20string\x20expected':null!=_0x19857f['attributes']&&_0x19857f['hasOwnProperty']('attributes')&&!_0x1a3b11['isString'](_0x19857f['attributes'])?'attributes:\x20string\x20expected':null;},_0x57f270['fromObject']=function(_0x13ddcb){if(_0x13ddcb instanceof _0x3d2f4a['TrackChangesAddSuggestionResponse'])return _0x13ddcb;var _0x3c0046=new _0x3d2f4a['TrackChangesAddSuggestionResponse']();return null!=_0x13ddcb['id']&&(_0x3c0046['id']=String(_0x13ddcb['id'])),null!=_0x13ddcb['authorId']&&(_0x3c0046['authorId']=String(_0x13ddcb['authorId'])),null!=_0x13ddcb['type']&&(_0x3c0046['type']=String(_0x13ddcb['type'])),null!=_0x13ddcb['createdAt']&&(_0x3c0046['createdAt']=String(_0x13ddcb['createdAt'])),null!=_0x13ddcb['data']&&(_0x3c0046['data']=String(_0x13ddcb['data'])),null!=_0x13ddcb['hasComments']&&(_0x3c0046['hasComments']=Boolean(_0x13ddcb['hasComments'])),null!=_0x13ddcb['state']&&(_0x3c0046['state']=String(_0x13ddcb['state'])),null!=_0x13ddcb['attributes']&&(_0x3c0046['attributes']=String(_0x13ddcb['attributes'])),_0x3c0046;},_0x57f270['toObject']=function(_0x49daff,_0x5270b9){_0x5270b9||(_0x5270b9={});var _0x2f3eb0={};return _0x5270b9['defaults']&&(_0x2f3eb0['id']='',_0x2f3eb0['authorId']='',_0x2f3eb0['type']='',_0x2f3eb0['createdAt']='',_0x2f3eb0['data']='',_0x2f3eb0['hasComments']=!0x1,_0x2f3eb0['state']='',_0x2f3eb0['attributes']=''),null!=_0x49daff['id']&&_0x49daff['hasOwnProperty']('id')&&(_0x2f3eb0['id']=_0x49daff['id']),null!=_0x49daff['authorId']&&_0x49daff['hasOwnProperty']('authorId')&&(_0x2f3eb0['authorId']=_0x49daff['authorId']),null!=_0x49daff['type']&&_0x49daff['hasOwnProperty']('type')&&(_0x2f3eb0['type']=_0x49daff['type']),null!=_0x49daff['createdAt']&&_0x49daff['hasOwnProperty']('createdAt')&&(_0x2f3eb0['createdAt']=_0x49daff['createdAt']),null!=_0x49daff['data']&&_0x49daff['hasOwnProperty']('data')&&(_0x2f3eb0['data']=_0x49daff['data']),null!=_0x49daff['hasComments']&&_0x49daff['hasOwnProperty']('hasComments')&&(_0x2f3eb0['hasComments']=_0x49daff['hasComments']),null!=_0x49daff['state']&&_0x49daff['hasOwnProperty']('state')&&(_0x2f3eb0['state']=_0x49daff['state']),null!=_0x49daff['attributes']&&_0x49daff['hasOwnProperty']('attributes')&&(_0x2f3eb0['attributes']=_0x49daff['attributes']),_0x2f3eb0;},_0x57f270['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x57f270['getTypeUrl']=function(_0x1543d3){return void 0x0===_0x1543d3&&(_0x1543d3='type.googleapis.com'),_0x1543d3+'/TrackChangesAddSuggestionResponse';},_0x57f270;}()),_0x3d2f4a['TrackChangesUpdateSuggestionMessage']=(function(){function _0x34055a(_0x38439d){if(_0x38439d){for(var _0x570984=Object['keys'](_0x38439d),_0x246304=0x0;_0x246304<_0x570984['length'];++_0x246304)null!=_0x38439d[_0x570984[_0x246304]]&&(this[_0x570984[_0x246304]]=_0x38439d[_0x570984[_0x246304]]);}}return _0x34055a['prototype']['id']='',_0x34055a['prototype']['documentId']='',_0x34055a['prototype']['hasComments']=!0x1,_0x34055a['prototype']['isHasCommentsModified']=!0x1,_0x34055a['prototype']['state']='',_0x34055a['prototype']['attributes']='',_0x34055a['create']=function(_0x5eda5a){return new _0x34055a(_0x5eda5a);},_0x34055a['encode']=function(_0x15eccc,_0x13cf2c){return _0x13cf2c||(_0x13cf2c=_0x5dfb11['create']()),null!=_0x15eccc['id']&&Object['hasOwnProperty']['call'](_0x15eccc,'id')&&_0x13cf2c['uint32'](0xa)['string'](_0x15eccc['id']),null!=_0x15eccc['documentId']&&Object['hasOwnProperty']['call'](_0x15eccc,'documentId')&&_0x13cf2c['uint32'](0x12)['string'](_0x15eccc['documentId']),null!=_0x15eccc['hasComments']&&Object['hasOwnProperty']['call'](_0x15eccc,'hasComments')&&_0x13cf2c['uint32'](0x18)['bool'](_0x15eccc['hasComments']),null!=_0x15eccc['isHasCommentsModified']&&Object['hasOwnProperty']['call'](_0x15eccc,'isHasCommentsModified')&&_0x13cf2c['uint32'](0x20)['bool'](_0x15eccc['isHasCommentsModified']),null!=_0x15eccc['state']&&Object['hasOwnProperty']['call'](_0x15eccc,'state')&&_0x13cf2c['uint32'](0x2a)['string'](_0x15eccc['state']),null!=_0x15eccc['attributes']&&Object['hasOwnProperty']['call'](_0x15eccc,'attributes')&&_0x13cf2c['uint32'](0x32)['string'](_0x15eccc['attributes']),_0x13cf2c;},_0x34055a['encodeDelimited']=function(_0xa8ead9,_0x333a03){return this['encode'](_0xa8ead9,_0x333a03)['ldelim']();},_0x34055a['decode']=function(_0x51e9ca,_0x5bf0c2,_0x546359){_0x51e9ca instanceof _0x2abaaa||(_0x51e9ca=_0x2abaaa['create'](_0x51e9ca));for(var _0x3ef070=void 0x0===_0x5bf0c2?_0x51e9ca['len']:_0x51e9ca['pos']+_0x5bf0c2,_0x2b26d0=new _0x3d2f4a['TrackChangesUpdateSuggestionMessage']();_0x51e9ca['pos']<_0x3ef070;){var _0x4cdd30=_0x51e9ca['uint32']();if(_0x4cdd30===_0x546359)break;switch(_0x4cdd30>>>0x3){case 0x1:_0x2b26d0['id']=_0x51e9ca['string']();break;case 0x2:_0x2b26d0['documentId']=_0x51e9ca['string']();break;case 0x3:_0x2b26d0['hasComments']=_0x51e9ca['bool']();break;case 0x4:_0x2b26d0['isHasCommentsModified']=_0x51e9ca['bool']();break;case 0x5:_0x2b26d0['state']=_0x51e9ca['string']();break;case 0x6:_0x2b26d0['attributes']=_0x51e9ca['string']();break;default:_0x51e9ca['skipType'](0x7&_0x4cdd30);}}return _0x2b26d0;},_0x34055a['decodeDelimited']=function(_0x496f52){return _0x496f52 instanceof _0x2abaaa||(_0x496f52=new _0x2abaaa(_0x496f52)),this['decode'](_0x496f52,_0x496f52['uint32']());},_0x34055a['verify']=function(_0x1f0c32){return'object'!=typeof _0x1f0c32||null===_0x1f0c32?'object\x20expected':null!=_0x1f0c32['id']&&_0x1f0c32['hasOwnProperty']('id')&&!_0x1a3b11['isString'](_0x1f0c32['id'])?'id:\x20string\x20expected':null!=_0x1f0c32['documentId']&&_0x1f0c32['hasOwnProperty']('documentId')&&!_0x1a3b11['isString'](_0x1f0c32['documentId'])?'documentId:\x20string\x20expected':null!=_0x1f0c32['hasComments']&&_0x1f0c32['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x1f0c32['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x1f0c32['isHasCommentsModified']&&_0x1f0c32['hasOwnProperty']('isHasCommentsModified')&&'boolean'!=typeof _0x1f0c32['isHasCommentsModified']?'isHasCommentsModified:\x20boolean\x20expected':null!=_0x1f0c32['state']&&_0x1f0c32['hasOwnProperty']('state')&&!_0x1a3b11['isString'](_0x1f0c32['state'])?'state:\x20string\x20expected':null!=_0x1f0c32['attributes']&&_0x1f0c32['hasOwnProperty']('attributes')&&!_0x1a3b11['isString'](_0x1f0c32['attributes'])?'attributes:\x20string\x20expected':null;},_0x34055a['fromObject']=function(_0xbf5e18){if(_0xbf5e18 instanceof _0x3d2f4a['TrackChangesUpdateSuggestionMessage'])return _0xbf5e18;var _0x2ede9f=new _0x3d2f4a['TrackChangesUpdateSuggestionMessage']();return null!=_0xbf5e18['id']&&(_0x2ede9f['id']=String(_0xbf5e18['id'])),null!=_0xbf5e18['documentId']&&(_0x2ede9f['documentId']=String(_0xbf5e18['documentId'])),null!=_0xbf5e18['hasComments']&&(_0x2ede9f['hasComments']=Boolean(_0xbf5e18['hasComments'])),null!=_0xbf5e18['isHasCommentsModified']&&(_0x2ede9f['isHasCommentsModified']=Boolean(_0xbf5e18['isHasCommentsModified'])),null!=_0xbf5e18['state']&&(_0x2ede9f['state']=String(_0xbf5e18['state'])),null!=_0xbf5e18['attributes']&&(_0x2ede9f['attributes']=String(_0xbf5e18['attributes'])),_0x2ede9f;},_0x34055a['toObject']=function(_0x16a385,_0x322f9c){_0x322f9c||(_0x322f9c={});var _0x2f0e02={};return _0x322f9c['defaults']&&(_0x2f0e02['id']='',_0x2f0e02['documentId']='',_0x2f0e02['hasComments']=!0x1,_0x2f0e02['isHasCommentsModified']=!0x1,_0x2f0e02['state']='',_0x2f0e02['attributes']=''),null!=_0x16a385['id']&&_0x16a385['hasOwnProperty']('id')&&(_0x2f0e02['id']=_0x16a385['id']),null!=_0x16a385['documentId']&&_0x16a385['hasOwnProperty']('documentId')&&(_0x2f0e02['documentId']=_0x16a385['documentId']),null!=_0x16a385['hasComments']&&_0x16a385['hasOwnProperty']('hasComments')&&(_0x2f0e02['hasComments']=_0x16a385['hasComments']),null!=_0x16a385['isHasCommentsModified']&&_0x16a385['hasOwnProperty']('isHasCommentsModified')&&(_0x2f0e02['isHasCommentsModified']=_0x16a385['isHasCommentsModified']),null!=_0x16a385['state']&&_0x16a385['hasOwnProperty']('state')&&(_0x2f0e02['state']=_0x16a385['state']),null!=_0x16a385['attributes']&&_0x16a385['hasOwnProperty']('attributes')&&(_0x2f0e02['attributes']=_0x16a385['attributes']),_0x2f0e02;},_0x34055a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x34055a['getTypeUrl']=function(_0x2fb561){return void 0x0===_0x2fb561&&(_0x2fb561='type.googleapis.com'),_0x2fb561+'/TrackChangesUpdateSuggestionMessage';},_0x34055a;}()),_0x3d2f4a['TrackChangesGetSuggestionMessage']=(function(){function _0x107eff(_0x5a4159){if(_0x5a4159){for(var _0x53efc8=Object['keys'](_0x5a4159),_0x326e5c=0x0;_0x326e5c<_0x53efc8['length'];++_0x326e5c)null!=_0x5a4159[_0x53efc8[_0x326e5c]]&&(this[_0x53efc8[_0x326e5c]]=_0x5a4159[_0x53efc8[_0x326e5c]]);}}return _0x107eff['prototype']['id']='',_0x107eff['prototype']['documentId']='',_0x107eff['create']=function(_0x3d61e3){return new _0x107eff(_0x3d61e3);},_0x107eff['encode']=function(_0x4ac7a1,_0x49cd1a){return _0x49cd1a||(_0x49cd1a=_0x5dfb11['create']()),null!=_0x4ac7a1['id']&&Object['hasOwnProperty']['call'](_0x4ac7a1,'id')&&_0x49cd1a['uint32'](0xa)['string'](_0x4ac7a1['id']),null!=_0x4ac7a1['documentId']&&Object['hasOwnProperty']['call'](_0x4ac7a1,'documentId')&&_0x49cd1a['uint32'](0x12)['string'](_0x4ac7a1['documentId']),_0x49cd1a;},_0x107eff['encodeDelimited']=function(_0xe464f8,_0x10a5ea){return this['encode'](_0xe464f8,_0x10a5ea)['ldelim']();},_0x107eff['decode']=function(_0x185a79,_0x25320c,_0x57a72c){_0x185a79 instanceof _0x2abaaa||(_0x185a79=_0x2abaaa['create'](_0x185a79));for(var _0x5262be=void 0x0===_0x25320c?_0x185a79['len']:_0x185a79['pos']+_0x25320c,_0x27c941=new _0x3d2f4a['TrackChangesGetSuggestionMessage']();_0x185a79['pos']<_0x5262be;){var _0x2490f9=_0x185a79['uint32']();if(_0x2490f9===_0x57a72c)break;switch(_0x2490f9>>>0x3){case 0x1:_0x27c941['id']=_0x185a79['string']();break;case 0x2:_0x27c941['documentId']=_0x185a79['string']();break;default:_0x185a79['skipType'](0x7&_0x2490f9);}}return _0x27c941;},_0x107eff['decodeDelimited']=function(_0x50bb85){return _0x50bb85 instanceof _0x2abaaa||(_0x50bb85=new _0x2abaaa(_0x50bb85)),this['decode'](_0x50bb85,_0x50bb85['uint32']());},_0x107eff['verify']=function(_0x56831d){return'object'!=typeof _0x56831d||null===_0x56831d?'object\x20expected':null!=_0x56831d['id']&&_0x56831d['hasOwnProperty']('id')&&!_0x1a3b11['isString'](_0x56831d['id'])?'id:\x20string\x20expected':null!=_0x56831d['documentId']&&_0x56831d['hasOwnProperty']('documentId')&&!_0x1a3b11['isString'](_0x56831d['documentId'])?'documentId:\x20string\x20expected':null;},_0x107eff['fromObject']=function(_0x3fb6b9){if(_0x3fb6b9 instanceof _0x3d2f4a['TrackChangesGetSuggestionMessage'])return _0x3fb6b9;var _0xa1db5b=new _0x3d2f4a['TrackChangesGetSuggestionMessage']();return null!=_0x3fb6b9['id']&&(_0xa1db5b['id']=String(_0x3fb6b9['id'])),null!=_0x3fb6b9['documentId']&&(_0xa1db5b['documentId']=String(_0x3fb6b9['documentId'])),_0xa1db5b;},_0x107eff['toObject']=function(_0xa83c72,_0x25c943){_0x25c943||(_0x25c943={});var _0x1c8fd3={};return _0x25c943['defaults']&&(_0x1c8fd3['id']='',_0x1c8fd3['documentId']=''),null!=_0xa83c72['id']&&_0xa83c72['hasOwnProperty']('id')&&(_0x1c8fd3['id']=_0xa83c72['id']),null!=_0xa83c72['documentId']&&_0xa83c72['hasOwnProperty']('documentId')&&(_0x1c8fd3['documentId']=_0xa83c72['documentId']),_0x1c8fd3;},_0x107eff['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x107eff['getTypeUrl']=function(_0x24419b){return void 0x0===_0x24419b&&(_0x24419b='type.googleapis.com'),_0x24419b+'/TrackChangesGetSuggestionMessage';},_0x107eff;}()),_0x3d2f4a['TrackChangesGetAllSuggestionMessage']=(function(){function _0x410d74(_0x1b9f5b){if(_0x1b9f5b){for(var _0x495bc8=Object['keys'](_0x1b9f5b),_0x1f7530=0x0;_0x1f7530<_0x495bc8['length'];++_0x1f7530)null!=_0x1b9f5b[_0x495bc8[_0x1f7530]]&&(this[_0x495bc8[_0x1f7530]]=_0x1b9f5b[_0x495bc8[_0x1f7530]]);}}return _0x410d74['prototype']['documentId']='',_0x410d74['create']=function(_0x96df41){return new _0x410d74(_0x96df41);},_0x410d74['encode']=function(_0x4b74a7,_0x9885e1){return _0x9885e1||(_0x9885e1=_0x5dfb11['create']()),null!=_0x4b74a7['documentId']&&Object['hasOwnProperty']['call'](_0x4b74a7,'documentId')&&_0x9885e1['uint32'](0xa)['string'](_0x4b74a7['documentId']),_0x9885e1;},_0x410d74['encodeDelimited']=function(_0x277e97,_0x4c765d){return this['encode'](_0x277e97,_0x4c765d)['ldelim']();},_0x410d74['decode']=function(_0x37b6ba,_0x56b8ea,_0x5be53b){_0x37b6ba instanceof _0x2abaaa||(_0x37b6ba=_0x2abaaa['create'](_0x37b6ba));for(var _0x3633df=void 0x0===_0x56b8ea?_0x37b6ba['len']:_0x37b6ba['pos']+_0x56b8ea,_0x15ff7c=new _0x3d2f4a['TrackChangesGetAllSuggestionMessage']();_0x37b6ba['pos']<_0x3633df;){var _0x1cd79e=_0x37b6ba['uint32']();if(_0x1cd79e===_0x5be53b)break;_0x1cd79e>>>0x3==0x1?_0x15ff7c['documentId']=_0x37b6ba['string']():_0x37b6ba['skipType'](0x7&_0x1cd79e);}return _0x15ff7c;},_0x410d74['decodeDelimited']=function(_0x12e69d){return _0x12e69d instanceof _0x2abaaa||(_0x12e69d=new _0x2abaaa(_0x12e69d)),this['decode'](_0x12e69d,_0x12e69d['uint32']());},_0x410d74['verify']=function(_0x535b31){return'object'!=typeof _0x535b31||null===_0x535b31?'object\x20expected':null!=_0x535b31['documentId']&&_0x535b31['hasOwnProperty']('documentId')&&!_0x1a3b11['isString'](_0x535b31['documentId'])?'documentId:\x20string\x20expected':null;},_0x410d74['fromObject']=function(_0x23926a){if(_0x23926a instanceof _0x3d2f4a['TrackChangesGetAllSuggestionMessage'])return _0x23926a;var _0x14d83=new _0x3d2f4a['TrackChangesGetAllSuggestionMessage']();return null!=_0x23926a['documentId']&&(_0x14d83['documentId']=String(_0x23926a['documentId'])),_0x14d83;},_0x410d74['toObject']=function(_0x350377,_0x4176e6){_0x4176e6||(_0x4176e6={});var _0x1949dc={};return _0x4176e6['defaults']&&(_0x1949dc['documentId']=''),null!=_0x350377['documentId']&&_0x350377['hasOwnProperty']('documentId')&&(_0x1949dc['documentId']=_0x350377['documentId']),_0x1949dc;},_0x410d74['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x410d74['getTypeUrl']=function(_0x2fc81f){return void 0x0===_0x2fc81f&&(_0x2fc81f='type.googleapis.com'),_0x2fc81f+'/TrackChangesGetAllSuggestionMessage';},_0x410d74;}()),_0x3d2f4a['TrackChangesConnectMessage']=(function(){function _0x7677c9(_0x738386){if(_0x738386){for(var _0x91768c=Object['keys'](_0x738386),_0x2a55be=0x0;_0x2a55be<_0x91768c['length'];++_0x2a55be)null!=_0x738386[_0x91768c[_0x2a55be]]&&(this[_0x91768c[_0x2a55be]]=_0x738386[_0x91768c[_0x2a55be]]);}}return _0x7677c9['prototype']['documentId']='',_0x7677c9['create']=function(_0x5ea727){return new _0x7677c9(_0x5ea727);},_0x7677c9['encode']=function(_0x355046,_0x1f4a97){return _0x1f4a97||(_0x1f4a97=_0x5dfb11['create']()),null!=_0x355046['documentId']&&Object['hasOwnProperty']['call'](_0x355046,'documentId')&&_0x1f4a97['uint32'](0xa)['string'](_0x355046['documentId']),_0x1f4a97;},_0x7677c9['encodeDelimited']=function(_0x417621,_0x518c35){return this['encode'](_0x417621,_0x518c35)['ldelim']();},_0x7677c9['decode']=function(_0x418e9f,_0x447757,_0x225032){_0x418e9f instanceof _0x2abaaa||(_0x418e9f=_0x2abaaa['create'](_0x418e9f));for(var _0x4a6ee8=void 0x0===_0x447757?_0x418e9f['len']:_0x418e9f['pos']+_0x447757,_0x93b67f=new _0x3d2f4a['TrackChangesConnectMessage']();_0x418e9f['pos']<_0x4a6ee8;){var _0x36e90c=_0x418e9f['uint32']();if(_0x36e90c===_0x225032)break;_0x36e90c>>>0x3==0x1?_0x93b67f['documentId']=_0x418e9f['string']():_0x418e9f['skipType'](0x7&_0x36e90c);}return _0x93b67f;},_0x7677c9['decodeDelimited']=function(_0x401ba6){return _0x401ba6 instanceof _0x2abaaa||(_0x401ba6=new _0x2abaaa(_0x401ba6)),this['decode'](_0x401ba6,_0x401ba6['uint32']());},_0x7677c9['verify']=function(_0x58f7d8){return'object'!=typeof _0x58f7d8||null===_0x58f7d8?'object\x20expected':null!=_0x58f7d8['documentId']&&_0x58f7d8['hasOwnProperty']('documentId')&&!_0x1a3b11['isString'](_0x58f7d8['documentId'])?'documentId:\x20string\x20expected':null;},_0x7677c9['fromObject']=function(_0xa0f071){if(_0xa0f071 instanceof _0x3d2f4a['TrackChangesConnectMessage'])return _0xa0f071;var _0x4b0eed=new _0x3d2f4a['TrackChangesConnectMessage']();return null!=_0xa0f071['documentId']&&(_0x4b0eed['documentId']=String(_0xa0f071['documentId'])),_0x4b0eed;},_0x7677c9['toObject']=function(_0x3e4f8f,_0x385f32){_0x385f32||(_0x385f32={});var _0x2a2801={};return _0x385f32['defaults']&&(_0x2a2801['documentId']=''),null!=_0x3e4f8f['documentId']&&_0x3e4f8f['hasOwnProperty']('documentId')&&(_0x2a2801['documentId']=_0x3e4f8f['documentId']),_0x2a2801;},_0x7677c9['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x7677c9['getTypeUrl']=function(_0x19d835){return void 0x0===_0x19d835&&(_0x19d835='type.googleapis.com'),_0x19d835+'/TrackChangesConnectMessage';},_0x7677c9;}()),_0x3d2f4a['TrackChangesBatchUpdateSuggestionsStateMessage']=(function(){function _0xcffcae(_0x508136){if(this['ids']=[],_0x508136){for(var _0x4815eb=Object['keys'](_0x508136),_0x176364=0x0;_0x176364<_0x4815eb['length'];++_0x176364)null!=_0x508136[_0x4815eb[_0x176364]]&&(this[_0x4815eb[_0x176364]]=_0x508136[_0x4815eb[_0x176364]]);}}return _0xcffcae['prototype']['ids']=_0x1a3b11['emptyArray'],_0xcffcae['prototype']['documentId']='',_0xcffcae['prototype']['state']='',_0xcffcae['create']=function(_0x40eb37){return new _0xcffcae(_0x40eb37);},_0xcffcae['encode']=function(_0x451139,_0x55b482){if(_0x55b482||(_0x55b482=_0x5dfb11['create']()),null!=_0x451139['ids']&&_0x451139['ids']['length']){for(var _0x23048a=0x0;_0x23048a<_0x451139['ids']['length'];++_0x23048a)_0x55b482['uint32'](0xa)['string'](_0x451139['ids'][_0x23048a]);}return null!=_0x451139['documentId']&&Object['hasOwnProperty']['call'](_0x451139,'documentId')&&_0x55b482['uint32'](0x12)['string'](_0x451139['documentId']),null!=_0x451139['state']&&Object['hasOwnProperty']['call'](_0x451139,'state')&&_0x55b482['uint32'](0x1a)['string'](_0x451139['state']),_0x55b482;},_0xcffcae['encodeDelimited']=function(_0x1e6eaf,_0x3bef5c){return this['encode'](_0x1e6eaf,_0x3bef5c)['ldelim']();},_0xcffcae['decode']=function(_0x2ac16b,_0x276c28,_0x338053){_0x2ac16b instanceof _0x2abaaa||(_0x2ac16b=_0x2abaaa['create'](_0x2ac16b));for(var _0x108a4e=void 0x0===_0x276c28?_0x2ac16b['len']:_0x2ac16b['pos']+_0x276c28,_0x46d51d=new _0x3d2f4a['TrackChangesBatchUpdateSuggestionsStateMessage']();_0x2ac16b['pos']<_0x108a4e;){var _0x9c9ce4=_0x2ac16b['uint32']();if(_0x9c9ce4===_0x338053)break;switch(_0x9c9ce4>>>0x3){case 0x1:_0x46d51d['ids']&&_0x46d51d['ids']['length']||(_0x46d51d['ids']=[]),_0x46d51d['ids']['push'](_0x2ac16b['string']());break;case 0x2:_0x46d51d['documentId']=_0x2ac16b['string']();break;case 0x3:_0x46d51d['state']=_0x2ac16b['string']();break;default:_0x2ac16b['skipType'](0x7&_0x9c9ce4);}}return _0x46d51d;},_0xcffcae['decodeDelimited']=function(_0x6b76e7){return _0x6b76e7 instanceof _0x2abaaa||(_0x6b76e7=new _0x2abaaa(_0x6b76e7)),this['decode'](_0x6b76e7,_0x6b76e7['uint32']());},_0xcffcae['verify']=function(_0x36e64b){if('object'!=typeof _0x36e64b||null===_0x36e64b)return'object\x20expected';if(null!=_0x36e64b['ids']&&_0x36e64b['hasOwnProperty']('ids')){if(!Array['isArray'](_0x36e64b['ids']))return'ids:\x20array\x20expected';for(var _0x4c40f5=0x0;_0x4c40f5<_0x36e64b['ids']['length'];++_0x4c40f5)if(!_0x1a3b11['isString'](_0x36e64b['ids'][_0x4c40f5]))return'ids:\x20string[]\x20expected';}return null!=_0x36e64b['documentId']&&_0x36e64b['hasOwnProperty']('documentId')&&!_0x1a3b11['isString'](_0x36e64b['documentId'])?'documentId:\x20string\x20expected':null!=_0x36e64b['state']&&_0x36e64b['hasOwnProperty']('state')&&!_0x1a3b11['isString'](_0x36e64b['state'])?'state:\x20string\x20expected':null;},_0xcffcae['fromObject']=function(_0x5dcf18){if(_0x5dcf18 instanceof _0x3d2f4a['TrackChangesBatchUpdateSuggestionsStateMessage'])return _0x5dcf18;var _0x5e01eb=new _0x3d2f4a['TrackChangesBatchUpdateSuggestionsStateMessage']();if(_0x5dcf18['ids']){if(!Array['isArray'](_0x5dcf18['ids']))throw TypeError('.TrackChangesBatchUpdateSuggestionsStateMessage.ids:\x20array\x20expected');_0x5e01eb['ids']=[];for(var _0x4faa02=0x0;_0x4faa02<_0x5dcf18['ids']['length'];++_0x4faa02)_0x5e01eb['ids'][_0x4faa02]=String(_0x5dcf18['ids'][_0x4faa02]);}return null!=_0x5dcf18['documentId']&&(_0x5e01eb['documentId']=String(_0x5dcf18['documentId'])),null!=_0x5dcf18['state']&&(_0x5e01eb['state']=String(_0x5dcf18['state'])),_0x5e01eb;},_0xcffcae['toObject']=function(_0x245b31,_0x56174d){_0x56174d||(_0x56174d={});var _0x39822c={};if((_0x56174d['arrays']||_0x56174d['defaults'])&&(_0x39822c['ids']=[]),_0x56174d['defaults']&&(_0x39822c['documentId']='',_0x39822c['state']=''),_0x245b31['ids']&&_0x245b31['ids']['length']){_0x39822c['ids']=[];for(var _0xf4cc4a=0x0;_0xf4cc4a<_0x245b31['ids']['length'];++_0xf4cc4a)_0x39822c['ids'][_0xf4cc4a]=_0x245b31['ids'][_0xf4cc4a];}return null!=_0x245b31['documentId']&&_0x245b31['hasOwnProperty']('documentId')&&(_0x39822c['documentId']=_0x245b31['documentId']),null!=_0x245b31['state']&&_0x245b31['hasOwnProperty']('state')&&(_0x39822c['state']=_0x245b31['state']),_0x39822c;},_0xcffcae['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xcffcae['getTypeUrl']=function(_0x271567){return void 0x0===_0x271567&&(_0x271567='type.googleapis.com'),_0x271567+'/TrackChangesBatchUpdateSuggestionsStateMessage';},_0xcffcae;}()),_0x3d2f4a['TrackChangesAddSuggestionMessage']=(function(){function _0x3bb4b9(_0x36c7c0){if(_0x36c7c0){for(var _0x1a7681=Object['keys'](_0x36c7c0),_0x9e8c54=0x0;_0x9e8c54<_0x1a7681['length'];++_0x9e8c54)null!=_0x36c7c0[_0x1a7681[_0x9e8c54]]&&(this[_0x1a7681[_0x9e8c54]]=_0x36c7c0[_0x1a7681[_0x9e8c54]]);}}return _0x3bb4b9['prototype']['id']='',_0x3bb4b9['prototype']['documentId']='',_0x3bb4b9['prototype']['type']='',_0x3bb4b9['prototype']['data']='',_0x3bb4b9['prototype']['originalSuggestionId']='',_0x3bb4b9['prototype']['attributes']='',_0x3bb4b9['create']=function(_0xc81618){return new _0x3bb4b9(_0xc81618);},_0x3bb4b9['encode']=function(_0x527a66,_0x1fb4c5){return _0x1fb4c5||(_0x1fb4c5=_0x5dfb11['create']()),null!=_0x527a66['id']&&Object['hasOwnProperty']['call'](_0x527a66,'id')&&_0x1fb4c5['uint32'](0xa)['string'](_0x527a66['id']),null!=_0x527a66['documentId']&&Object['hasOwnProperty']['call'](_0x527a66,'documentId')&&_0x1fb4c5['uint32'](0x12)['string'](_0x527a66['documentId']),null!=_0x527a66['type']&&Object['hasOwnProperty']['call'](_0x527a66,'type')&&_0x1fb4c5['uint32'](0x1a)['string'](_0x527a66['type']),null!=_0x527a66['data']&&Object['hasOwnProperty']['call'](_0x527a66,'data')&&_0x1fb4c5['uint32'](0x22)['string'](_0x527a66['data']),null!=_0x527a66['originalSuggestionId']&&Object['hasOwnProperty']['call'](_0x527a66,'originalSuggestionId')&&_0x1fb4c5['uint32'](0x2a)['string'](_0x527a66['originalSuggestionId']),null!=_0x527a66['attributes']&&Object['hasOwnProperty']['call'](_0x527a66,'attributes')&&_0x1fb4c5['uint32'](0x32)['string'](_0x527a66['attributes']),_0x1fb4c5;},_0x3bb4b9['encodeDelimited']=function(_0x35aedb,_0x1845f4){return this['encode'](_0x35aedb,_0x1845f4)['ldelim']();},_0x3bb4b9['decode']=function(_0x57db05,_0x18912,_0x52d2b4){_0x57db05 instanceof _0x2abaaa||(_0x57db05=_0x2abaaa['create'](_0x57db05));for(var _0x1ea885=void 0x0===_0x18912?_0x57db05['len']:_0x57db05['pos']+_0x18912,_0x11207a=new _0x3d2f4a['TrackChangesAddSuggestionMessage']();_0x57db05['pos']<_0x1ea885;){var _0xf62536=_0x57db05['uint32']();if(_0xf62536===_0x52d2b4)break;switch(_0xf62536>>>0x3){case 0x1:_0x11207a['id']=_0x57db05['string']();break;case 0x2:_0x11207a['documentId']=_0x57db05['string']();break;case 0x3:_0x11207a['type']=_0x57db05['string']();break;case 0x4:_0x11207a['data']=_0x57db05['string']();break;case 0x5:_0x11207a['originalSuggestionId']=_0x57db05['string']();break;case 0x6:_0x11207a['attributes']=_0x57db05['string']();break;default:_0x57db05['skipType'](0x7&_0xf62536);}}return _0x11207a;},_0x3bb4b9['decodeDelimited']=function(_0x7d1bd1){return _0x7d1bd1 instanceof _0x2abaaa||(_0x7d1bd1=new _0x2abaaa(_0x7d1bd1)),this['decode'](_0x7d1bd1,_0x7d1bd1['uint32']());},_0x3bb4b9['verify']=function(_0xceb15e){return'object'!=typeof _0xceb15e||null===_0xceb15e?'object\x20expected':null!=_0xceb15e['id']&&_0xceb15e['hasOwnProperty']('id')&&!_0x1a3b11['isString'](_0xceb15e['id'])?'id:\x20string\x20expected':null!=_0xceb15e['documentId']&&_0xceb15e['hasOwnProperty']('documentId')&&!_0x1a3b11['isString'](_0xceb15e['documentId'])?'documentId:\x20string\x20expected':null!=_0xceb15e['type']&&_0xceb15e['hasOwnProperty']('type')&&!_0x1a3b11['isString'](_0xceb15e['type'])?'type:\x20string\x20expected':null!=_0xceb15e['data']&&_0xceb15e['hasOwnProperty']('data')&&!_0x1a3b11['isString'](_0xceb15e['data'])?'data:\x20string\x20expected':null!=_0xceb15e['originalSuggestionId']&&_0xceb15e['hasOwnProperty']('originalSuggestionId')&&!_0x1a3b11['isString'](_0xceb15e['originalSuggestionId'])?'originalSuggestionId:\x20string\x20expected':null!=_0xceb15e['attributes']&&_0xceb15e['hasOwnProperty']('attributes')&&!_0x1a3b11['isString'](_0xceb15e['attributes'])?'attributes:\x20string\x20expected':null;},_0x3bb4b9['fromObject']=function(_0x5733e3){if(_0x5733e3 instanceof _0x3d2f4a['TrackChangesAddSuggestionMessage'])return _0x5733e3;var _0x378c47=new _0x3d2f4a['TrackChangesAddSuggestionMessage']();return null!=_0x5733e3['id']&&(_0x378c47['id']=String(_0x5733e3['id'])),null!=_0x5733e3['documentId']&&(_0x378c47['documentId']=String(_0x5733e3['documentId'])),null!=_0x5733e3['type']&&(_0x378c47['type']=String(_0x5733e3['type'])),null!=_0x5733e3['data']&&(_0x378c47['data']=String(_0x5733e3['data'])),null!=_0x5733e3['originalSuggestionId']&&(_0x378c47['originalSuggestionId']=String(_0x5733e3['originalSuggestionId'])),null!=_0x5733e3['attributes']&&(_0x378c47['attributes']=String(_0x5733e3['attributes'])),_0x378c47;},_0x3bb4b9['toObject']=function(_0x4e0825,_0x3ee193){_0x3ee193||(_0x3ee193={});var _0x59309b={};return _0x3ee193['defaults']&&(_0x59309b['id']='',_0x59309b['documentId']='',_0x59309b['type']='',_0x59309b['data']='',_0x59309b['originalSuggestionId']='',_0x59309b['attributes']=''),null!=_0x4e0825['id']&&_0x4e0825['hasOwnProperty']('id')&&(_0x59309b['id']=_0x4e0825['id']),null!=_0x4e0825['documentId']&&_0x4e0825['hasOwnProperty']('documentId')&&(_0x59309b['documentId']=_0x4e0825['documentId']),null!=_0x4e0825['type']&&_0x4e0825['hasOwnProperty']('type')&&(_0x59309b['type']=_0x4e0825['type']),null!=_0x4e0825['data']&&_0x4e0825['hasOwnProperty']('data')&&(_0x59309b['data']=_0x4e0825['data']),null!=_0x4e0825['originalSuggestionId']&&_0x4e0825['hasOwnProperty']('originalSuggestionId')&&(_0x59309b['originalSuggestionId']=_0x4e0825['originalSuggestionId']),null!=_0x4e0825['attributes']&&_0x4e0825['hasOwnProperty']('attributes')&&(_0x59309b['attributes']=_0x4e0825['attributes']),_0x59309b;},_0x3bb4b9['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3bb4b9['getTypeUrl']=function(_0xe7dc79){return void 0x0===_0xe7dc79&&(_0xe7dc79='type.googleapis.com'),_0xe7dc79+'/TrackChangesAddSuggestionMessage';},_0x3bb4b9;}()),_0x3d2f4a['SuggestionDescriptor']=(function(){function _0x55908(_0x2d876f){if(_0x2d876f){for(var _0x594c97=Object['keys'](_0x2d876f),_0x419900=0x0;_0x419900<_0x594c97['length'];++_0x419900)null!=_0x2d876f[_0x594c97[_0x419900]]&&(this[_0x594c97[_0x419900]]=_0x2d876f[_0x594c97[_0x419900]]);}}return _0x55908['prototype']['id']='',_0x55908['prototype']['authorId']='',_0x55908['prototype']['type']='',_0x55908['prototype']['createdAt']='',_0x55908['prototype']['data']='',_0x55908['prototype']['hasComments']=!0x1,_0x55908['prototype']['state']='',_0x55908['prototype']['attributes']='',_0x55908['create']=function(_0x357ada){return new _0x55908(_0x357ada);},_0x55908['encode']=function(_0x59abc6,_0x4bf865){return _0x4bf865||(_0x4bf865=_0x5dfb11['create']()),null!=_0x59abc6['id']&&Object['hasOwnProperty']['call'](_0x59abc6,'id')&&_0x4bf865['uint32'](0xa)['string'](_0x59abc6['id']),null!=_0x59abc6['authorId']&&Object['hasOwnProperty']['call'](_0x59abc6,'authorId')&&_0x4bf865['uint32'](0x12)['string'](_0x59abc6['authorId']),null!=_0x59abc6['type']&&Object['hasOwnProperty']['call'](_0x59abc6,'type')&&_0x4bf865['uint32'](0x1a)['string'](_0x59abc6['type']),null!=_0x59abc6['createdAt']&&Object['hasOwnProperty']['call'](_0x59abc6,'createdAt')&&_0x4bf865['uint32'](0x22)['string'](_0x59abc6['createdAt']),null!=_0x59abc6['data']&&Object['hasOwnProperty']['call'](_0x59abc6,'data')&&_0x4bf865['uint32'](0x2a)['string'](_0x59abc6['data']),null!=_0x59abc6['hasComments']&&Object['hasOwnProperty']['call'](_0x59abc6,'hasComments')&&_0x4bf865['uint32'](0x30)['bool'](_0x59abc6['hasComments']),null!=_0x59abc6['state']&&Object['hasOwnProperty']['call'](_0x59abc6,'state')&&_0x4bf865['uint32'](0x3a)['string'](_0x59abc6['state']),null!=_0x59abc6['attributes']&&Object['hasOwnProperty']['call'](_0x59abc6,'attributes')&&_0x4bf865['uint32'](0x42)['string'](_0x59abc6['attributes']),_0x4bf865;},_0x55908['encodeDelimited']=function(_0x59f86e,_0x135a58){return this['encode'](_0x59f86e,_0x135a58)['ldelim']();},_0x55908['decode']=function(_0x517ea6,_0x7bb27b,_0x2b1d7f){_0x517ea6 instanceof _0x2abaaa||(_0x517ea6=_0x2abaaa['create'](_0x517ea6));for(var _0x332d30=void 0x0===_0x7bb27b?_0x517ea6['len']:_0x517ea6['pos']+_0x7bb27b,_0x237ab9=new _0x3d2f4a['SuggestionDescriptor']();_0x517ea6['pos']<_0x332d30;){var _0x4d8f5b=_0x517ea6['uint32']();if(_0x4d8f5b===_0x2b1d7f)break;switch(_0x4d8f5b>>>0x3){case 0x1:_0x237ab9['id']=_0x517ea6['string']();break;case 0x2:_0x237ab9['authorId']=_0x517ea6['string']();break;case 0x3:_0x237ab9['type']=_0x517ea6['string']();break;case 0x4:_0x237ab9['createdAt']=_0x517ea6['string']();break;case 0x5:_0x237ab9['data']=_0x517ea6['string']();break;case 0x6:_0x237ab9['hasComments']=_0x517ea6['bool']();break;case 0x7:_0x237ab9['state']=_0x517ea6['string']();break;case 0x8:_0x237ab9['attributes']=_0x517ea6['string']();break;default:_0x517ea6['skipType'](0x7&_0x4d8f5b);}}return _0x237ab9;},_0x55908['decodeDelimited']=function(_0x20af4f){return _0x20af4f instanceof _0x2abaaa||(_0x20af4f=new _0x2abaaa(_0x20af4f)),this['decode'](_0x20af4f,_0x20af4f['uint32']());},_0x55908['verify']=function(_0x2cbd8e){return'object'!=typeof _0x2cbd8e||null===_0x2cbd8e?'object\x20expected':null!=_0x2cbd8e['id']&&_0x2cbd8e['hasOwnProperty']('id')&&!_0x1a3b11['isString'](_0x2cbd8e['id'])?'id:\x20string\x20expected':null!=_0x2cbd8e['authorId']&&_0x2cbd8e['hasOwnProperty']('authorId')&&!_0x1a3b11['isString'](_0x2cbd8e['authorId'])?'authorId:\x20string\x20expected':null!=_0x2cbd8e['type']&&_0x2cbd8e['hasOwnProperty']('type')&&!_0x1a3b11['isString'](_0x2cbd8e['type'])?'type:\x20string\x20expected':null!=_0x2cbd8e['createdAt']&&_0x2cbd8e['hasOwnProperty']('createdAt')&&!_0x1a3b11['isString'](_0x2cbd8e['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x2cbd8e['data']&&_0x2cbd8e['hasOwnProperty']('data')&&!_0x1a3b11['isString'](_0x2cbd8e['data'])?'data:\x20string\x20expected':null!=_0x2cbd8e['hasComments']&&_0x2cbd8e['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x2cbd8e['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x2cbd8e['state']&&_0x2cbd8e['hasOwnProperty']('state')&&!_0x1a3b11['isString'](_0x2cbd8e['state'])?'state:\x20string\x20expected':null!=_0x2cbd8e['attributes']&&_0x2cbd8e['hasOwnProperty']('attributes')&&!_0x1a3b11['isString'](_0x2cbd8e['attributes'])?'attributes:\x20string\x20expected':null;},_0x55908['fromObject']=function(_0x14711b){if(_0x14711b instanceof _0x3d2f4a['SuggestionDescriptor'])return _0x14711b;var _0x1b3959=new _0x3d2f4a['SuggestionDescriptor']();return null!=_0x14711b['id']&&(_0x1b3959['id']=String(_0x14711b['id'])),null!=_0x14711b['authorId']&&(_0x1b3959['authorId']=String(_0x14711b['authorId'])),null!=_0x14711b['type']&&(_0x1b3959['type']=String(_0x14711b['type'])),null!=_0x14711b['createdAt']&&(_0x1b3959['createdAt']=String(_0x14711b['createdAt'])),null!=_0x14711b['data']&&(_0x1b3959['data']=String(_0x14711b['data'])),null!=_0x14711b['hasComments']&&(_0x1b3959['hasComments']=Boolean(_0x14711b['hasComments'])),null!=_0x14711b['state']&&(_0x1b3959['state']=String(_0x14711b['state'])),null!=_0x14711b['attributes']&&(_0x1b3959['attributes']=String(_0x14711b['attributes'])),_0x1b3959;},_0x55908['toObject']=function(_0x34a540,_0x19454d){_0x19454d||(_0x19454d={});var _0x174e30={};return _0x19454d['defaults']&&(_0x174e30['id']='',_0x174e30['authorId']='',_0x174e30['type']='',_0x174e30['createdAt']='',_0x174e30['data']='',_0x174e30['hasComments']=!0x1,_0x174e30['state']='',_0x174e30['attributes']=''),null!=_0x34a540['id']&&_0x34a540['hasOwnProperty']('id')&&(_0x174e30['id']=_0x34a540['id']),null!=_0x34a540['authorId']&&_0x34a540['hasOwnProperty']('authorId')&&(_0x174e30['authorId']=_0x34a540['authorId']),null!=_0x34a540['type']&&_0x34a540['hasOwnProperty']('type')&&(_0x174e30['type']=_0x34a540['type']),null!=_0x34a540['createdAt']&&_0x34a540['hasOwnProperty']('createdAt')&&(_0x174e30['createdAt']=_0x34a540['createdAt']),null!=_0x34a540['data']&&_0x34a540['hasOwnProperty']('data')&&(_0x174e30['data']=_0x34a540['data']),null!=_0x34a540['hasComments']&&_0x34a540['hasOwnProperty']('hasComments')&&(_0x174e30['hasComments']=_0x34a540['hasComments']),null!=_0x34a540['state']&&_0x34a540['hasOwnProperty']('state')&&(_0x174e30['state']=_0x34a540['state']),null!=_0x34a540['attributes']&&_0x34a540['hasOwnProperty']('attributes')&&(_0x174e30['attributes']=_0x34a540['attributes']),_0x174e30;},_0x55908['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x55908['getTypeUrl']=function(_0x1b5766){return void 0x0===_0x1b5766&&(_0x1b5766='type.googleapis.com'),_0x1b5766+'/SuggestionDescriptor';},_0x55908;}()),_0x3d2f4a['SessionsConnectResponse']=(function(){function _0x389327(_0x24c8ad){if(this['sockets']=[],_0x24c8ad){for(var _0x34e07=Object['keys'](_0x24c8ad),_0x1371df=0x0;_0x1371df<_0x34e07['length'];++_0x1371df)null!=_0x24c8ad[_0x34e07[_0x1371df]]&&(this[_0x34e07[_0x1371df]]=_0x24c8ad[_0x34e07[_0x1371df]]);}}return _0x389327['prototype']['channel']='',_0x389327['prototype']['sockets']=_0x1a3b11['emptyArray'],_0x389327['create']=function(_0x866e2f){return new _0x389327(_0x866e2f);},_0x389327['encode']=function(_0x558830,_0x5b26fb){if(_0x5b26fb||(_0x5b26fb=_0x5dfb11['create']()),null!=_0x558830['channel']&&Object['hasOwnProperty']['call'](_0x558830,'channel')&&_0x5b26fb['uint32'](0xa)['string'](_0x558830['channel']),null!=_0x558830['sockets']&&_0x558830['sockets']['length']){for(var _0x51ff3c=0x0;_0x51ff3c<_0x558830['sockets']['length'];++_0x51ff3c)_0x3d2f4a['SessionsSocketDescriptor']['encode'](_0x558830['sockets'][_0x51ff3c],_0x5b26fb['uint32'](0x12)['fork']())['ldelim']();}return _0x5b26fb;},_0x389327['encodeDelimited']=function(_0x582942,_0x2441a1){return this['encode'](_0x582942,_0x2441a1)['ldelim']();},_0x389327['decode']=function(_0xa2e2a4,_0x55aab3,_0x3356e7){_0xa2e2a4 instanceof _0x2abaaa||(_0xa2e2a4=_0x2abaaa['create'](_0xa2e2a4));for(var _0x190a6a=void 0x0===_0x55aab3?_0xa2e2a4['len']:_0xa2e2a4['pos']+_0x55aab3,_0x492dd8=new _0x3d2f4a['SessionsConnectResponse']();_0xa2e2a4['pos']<_0x190a6a;){var _0x34be7f=_0xa2e2a4['uint32']();if(_0x34be7f===_0x3356e7)break;switch(_0x34be7f>>>0x3){case 0x1:_0x492dd8['channel']=_0xa2e2a4['string']();break;case 0x2:_0x492dd8['sockets']&&_0x492dd8['sockets']['length']||(_0x492dd8['sockets']=[]),_0x492dd8['sockets']['push'](_0x3d2f4a['SessionsSocketDescriptor']['decode'](_0xa2e2a4,_0xa2e2a4['uint32']()));break;default:_0xa2e2a4['skipType'](0x7&_0x34be7f);}}return _0x492dd8;},_0x389327['decodeDelimited']=function(_0xa080c8){return _0xa080c8 instanceof _0x2abaaa||(_0xa080c8=new _0x2abaaa(_0xa080c8)),this['decode'](_0xa080c8,_0xa080c8['uint32']());},_0x389327['verify']=function(_0x51c453){if('object'!=typeof _0x51c453||null===_0x51c453)return'object\x20expected';if(null!=_0x51c453['channel']&&_0x51c453['hasOwnProperty']('channel')&&!_0x1a3b11['isString'](_0x51c453['channel']))return'channel:\x20string\x20expected';if(null!=_0x51c453['sockets']&&_0x51c453['hasOwnProperty']('sockets')){if(!Array['isArray'](_0x51c453['sockets']))return'sockets:\x20array\x20expected';for(var _0x4b7734=0x0;_0x4b7734<_0x51c453['sockets']['length'];++_0x4b7734){var _0x1fa243=_0x3d2f4a['SessionsSocketDescriptor']['verify'](_0x51c453['sockets'][_0x4b7734]);if(_0x1fa243)return'sockets.'+_0x1fa243;}}return null;},_0x389327['fromObject']=function(_0x1520b8){if(_0x1520b8 instanceof _0x3d2f4a['SessionsConnectResponse'])return _0x1520b8;var _0x3030db=new _0x3d2f4a['SessionsConnectResponse']();if(null!=_0x1520b8['channel']&&(_0x3030db['channel']=String(_0x1520b8['channel'])),_0x1520b8['sockets']){if(!Array['isArray'](_0x1520b8['sockets']))throw TypeError('.SessionsConnectResponse.sockets:\x20array\x20expected');_0x3030db['sockets']=[];for(var _0x16d5f0=0x0;_0x16d5f0<_0x1520b8['sockets']['length'];++_0x16d5f0){if('object'!=typeof _0x1520b8['sockets'][_0x16d5f0])throw TypeError('.SessionsConnectResponse.sockets:\x20object\x20expected');_0x3030db['sockets'][_0x16d5f0]=_0x3d2f4a['SessionsSocketDescriptor']['fromObject'](_0x1520b8['sockets'][_0x16d5f0]);}}return _0x3030db;},_0x389327['toObject']=function(_0x5dfb4a,_0x35b40d){_0x35b40d||(_0x35b40d={});var _0x4610a3={};if((_0x35b40d['arrays']||_0x35b40d['defaults'])&&(_0x4610a3['sockets']=[]),_0x35b40d['defaults']&&(_0x4610a3['channel']=''),null!=_0x5dfb4a['channel']&&_0x5dfb4a['hasOwnProperty']('channel')&&(_0x4610a3['channel']=_0x5dfb4a['channel']),_0x5dfb4a['sockets']&&_0x5dfb4a['sockets']['length']){_0x4610a3['sockets']=[];for(var _0x5cce09=0x0;_0x5cce09<_0x5dfb4a['sockets']['length'];++_0x5cce09)_0x4610a3['sockets'][_0x5cce09]=_0x3d2f4a['SessionsSocketDescriptor']['toObject'](_0x5dfb4a['sockets'][_0x5cce09],_0x35b40d);}return _0x4610a3;},_0x389327['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x389327['getTypeUrl']=function(_0x121603){return void 0x0===_0x121603&&(_0x121603='type.googleapis.com'),_0x121603+'/SessionsConnectResponse';},_0x389327;}()),_0x3d2f4a['SocketDisconnectMessage']=(function(){function _0x1b645c(_0x405e7d){if(_0x405e7d){for(var _0x510af0=Object['keys'](_0x405e7d),_0x29ac3d=0x0;_0x29ac3d<_0x510af0['length'];++_0x29ac3d)null!=_0x405e7d[_0x510af0[_0x29ac3d]]&&(this[_0x510af0[_0x29ac3d]]=_0x405e7d[_0x510af0[_0x29ac3d]]);}}return _0x1b645c['prototype']['id']='',_0x1b645c['create']=function(_0x29be74){return new _0x1b645c(_0x29be74);},_0x1b645c['encode']=function(_0x29ad12,_0x5c0751){return _0x5c0751||(_0x5c0751=_0x5dfb11['create']()),null!=_0x29ad12['id']&&Object['hasOwnProperty']['call'](_0x29ad12,'id')&&_0x5c0751['uint32'](0xa)['string'](_0x29ad12['id']),_0x5c0751;},_0x1b645c['encodeDelimited']=function(_0x145804,_0x20486e){return this['encode'](_0x145804,_0x20486e)['ldelim']();},_0x1b645c['decode']=function(_0x1f22e6,_0xfef80,_0x540bc0){_0x1f22e6 instanceof _0x2abaaa||(_0x1f22e6=_0x2abaaa['create'](_0x1f22e6));for(var _0x7ae18d=void 0x0===_0xfef80?_0x1f22e6['len']:_0x1f22e6['pos']+_0xfef80,_0x37e957=new _0x3d2f4a['SocketDisconnectMessage']();_0x1f22e6['pos']<_0x7ae18d;){var _0x4fd6a2=_0x1f22e6['uint32']();if(_0x4fd6a2===_0x540bc0)break;_0x4fd6a2>>>0x3==0x1?_0x37e957['id']=_0x1f22e6['string']():_0x1f22e6['skipType'](0x7&_0x4fd6a2);}return _0x37e957;},_0x1b645c['decodeDelimited']=function(_0x2958b5){return _0x2958b5 instanceof _0x2abaaa||(_0x2958b5=new _0x2abaaa(_0x2958b5)),this['decode'](_0x2958b5,_0x2958b5['uint32']());},_0x1b645c['verify']=function(_0x23b29a){return'object'!=typeof _0x23b29a||null===_0x23b29a?'object\x20expected':null!=_0x23b29a['id']&&_0x23b29a['hasOwnProperty']('id')&&!_0x1a3b11['isString'](_0x23b29a['id'])?'id:\x20string\x20expected':null;},_0x1b645c['fromObject']=function(_0x24cf00){if(_0x24cf00 instanceof _0x3d2f4a['SocketDisconnectMessage'])return _0x24cf00;var _0x267973=new _0x3d2f4a['SocketDisconnectMessage']();return null!=_0x24cf00['id']&&(_0x267973['id']=String(_0x24cf00['id'])),_0x267973;},_0x1b645c['toObject']=function(_0x5abb5d,_0xc9aa9a){_0xc9aa9a||(_0xc9aa9a={});var _0x60b68c={};return _0xc9aa9a['defaults']&&(_0x60b68c['id']=''),null!=_0x5abb5d['id']&&_0x5abb5d['hasOwnProperty']('id')&&(_0x60b68c['id']=_0x5abb5d['id']),_0x60b68c;},_0x1b645c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1b645c['getTypeUrl']=function(_0x35678c){return void 0x0===_0x35678c&&(_0x35678c='type.googleapis.com'),_0x35678c+'/SocketDisconnectMessage';},_0x1b645c;}()),_0x3d2f4a['SocketConnectMessage']=(function(){function _0x485a8a(_0x223d76){if(this['permissions']=[],_0x223d76){for(var _0x489225=Object['keys'](_0x223d76),_0x1f0b61=0x0;_0x1f0b61<_0x489225['length'];++_0x1f0b61)null!=_0x223d76[_0x489225[_0x1f0b61]]&&(this[_0x489225[_0x1f0b61]]=_0x223d76[_0x489225[_0x1f0b61]]);}}return _0x485a8a['prototype']['id']='',_0x485a8a['prototype']['userId']='',_0x485a8a['prototype']['role']='',_0x485a8a['prototype']['permissions']=_0x1a3b11['emptyArray'],_0x485a8a['create']=function(_0x437a3d){return new _0x485a8a(_0x437a3d);},_0x485a8a['encode']=function(_0x362763,_0x41a149){if(_0x41a149||(_0x41a149=_0x5dfb11['create']()),null!=_0x362763['id']&&Object['hasOwnProperty']['call'](_0x362763,'id')&&_0x41a149['uint32'](0xa)['string'](_0x362763['id']),null!=_0x362763['userId']&&Object['hasOwnProperty']['call'](_0x362763,'userId')&&_0x41a149['uint32'](0x12)['string'](_0x362763['userId']),null!=_0x362763['role']&&Object['hasOwnProperty']['call'](_0x362763,'role')&&_0x41a149['uint32'](0x1a)['string'](_0x362763['role']),null!=_0x362763['permissions']&&_0x362763['permissions']['length']){for(var _0x3264f1=0x0;_0x3264f1<_0x362763['permissions']['length'];++_0x3264f1)_0x41a149['uint32'](0x22)['string'](_0x362763['permissions'][_0x3264f1]);}return _0x41a149;},_0x485a8a['encodeDelimited']=function(_0x174768,_0x389c5b){return this['encode'](_0x174768,_0x389c5b)['ldelim']();},_0x485a8a['decode']=function(_0x477b1f,_0x4c1664,_0x4718fc){_0x477b1f instanceof _0x2abaaa||(_0x477b1f=_0x2abaaa['create'](_0x477b1f));for(var _0xec8816=void 0x0===_0x4c1664?_0x477b1f['len']:_0x477b1f['pos']+_0x4c1664,_0xef6d44=new _0x3d2f4a['SocketConnectMessage']();_0x477b1f['pos']<_0xec8816;){var _0x43d656=_0x477b1f['uint32']();if(_0x43d656===_0x4718fc)break;switch(_0x43d656>>>0x3){case 0x1:_0xef6d44['id']=_0x477b1f['string']();break;case 0x2:_0xef6d44['userId']=_0x477b1f['string']();break;case 0x3:_0xef6d44['role']=_0x477b1f['string']();break;case 0x4:_0xef6d44['permissions']&&_0xef6d44['permissions']['length']||(_0xef6d44['permissions']=[]),_0xef6d44['permissions']['push'](_0x477b1f['string']());break;default:_0x477b1f['skipType'](0x7&_0x43d656);}}return _0xef6d44;},_0x485a8a['decodeDelimited']=function(_0x1e2311){return _0x1e2311 instanceof _0x2abaaa||(_0x1e2311=new _0x2abaaa(_0x1e2311)),this['decode'](_0x1e2311,_0x1e2311['uint32']());},_0x485a8a['verify']=function(_0x4a5254){if('object'!=typeof _0x4a5254||null===_0x4a5254)return'object\x20expected';if(null!=_0x4a5254['id']&&_0x4a5254['hasOwnProperty']('id')&&!_0x1a3b11['isString'](_0x4a5254['id']))return'id:\x20string\x20expected';if(null!=_0x4a5254['userId']&&_0x4a5254['hasOwnProperty']('userId')&&!_0x1a3b11['isString'](_0x4a5254['userId']))return'userId:\x20string\x20expected';if(null!=_0x4a5254['role']&&_0x4a5254['hasOwnProperty']('role')&&!_0x1a3b11['isString'](_0x4a5254['role']))return'role:\x20string\x20expected';if(null!=_0x4a5254['permissions']&&_0x4a5254['hasOwnProperty']('permissions')){if(!Array['isArray'](_0x4a5254['permissions']))return'permissions:\x20array\x20expected';for(var _0x108db6=0x0;_0x108db6<_0x4a5254['permissions']['length'];++_0x108db6)if(!_0x1a3b11['isString'](_0x4a5254['permissions'][_0x108db6]))return'permissions:\x20string[]\x20expected';}return null;},_0x485a8a['fromObject']=function(_0x1b7216){if(_0x1b7216 instanceof _0x3d2f4a['SocketConnectMessage'])return _0x1b7216;var _0x3e1ead=new _0x3d2f4a['SocketConnectMessage']();if(null!=_0x1b7216['id']&&(_0x3e1ead['id']=String(_0x1b7216['id'])),null!=_0x1b7216['userId']&&(_0x3e1ead['userId']=String(_0x1b7216['userId'])),null!=_0x1b7216['role']&&(_0x3e1ead['role']=String(_0x1b7216['role'])),_0x1b7216['permissions']){if(!Array['isArray'](_0x1b7216['permissions']))throw TypeError('.SocketConnectMessage.permissions:\x20array\x20expected');_0x3e1ead['permissions']=[];for(var _0x5babb2=0x0;_0x5babb2<_0x1b7216['permissions']['length'];++_0x5babb2)_0x3e1ead['permissions'][_0x5babb2]=String(_0x1b7216['permissions'][_0x5babb2]);}return _0x3e1ead;},_0x485a8a['toObject']=function(_0x227a1c,_0x218a90){_0x218a90||(_0x218a90={});var _0xc7d7cc={};if((_0x218a90['arrays']||_0x218a90['defaults'])&&(_0xc7d7cc['permissions']=[]),_0x218a90['defaults']&&(_0xc7d7cc['id']='',_0xc7d7cc['userId']='',_0xc7d7cc['role']=''),null!=_0x227a1c['id']&&_0x227a1c['hasOwnProperty']('id')&&(_0xc7d7cc['id']=_0x227a1c['id']),null!=_0x227a1c['userId']&&_0x227a1c['hasOwnProperty']('userId')&&(_0xc7d7cc['userId']=_0x227a1c['userId']),null!=_0x227a1c['role']&&_0x227a1c['hasOwnProperty']('role')&&(_0xc7d7cc['role']=_0x227a1c['role']),_0x227a1c['permissions']&&_0x227a1c['permissions']['length']){_0xc7d7cc['permissions']=[];for(var _0x1a6a0e=0x0;_0x1a6a0e<_0x227a1c['permissions']['length'];++_0x1a6a0e)_0xc7d7cc['permissions'][_0x1a6a0e]=_0x227a1c['permissions'][_0x1a6a0e];}return _0xc7d7cc;},_0x485a8a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x485a8a['getTypeUrl']=function(_0x410ffa){return void 0x0===_0x410ffa&&(_0x410ffa='type.googleapis.com'),_0x410ffa+'/SocketConnectMessage';},_0x485a8a;}()),_0x3d2f4a['SessionsConnectMessage']=(function(){function _0x3b5261(_0x3899ee){if(_0x3899ee){for(var _0x7ed428=Object['keys'](_0x3899ee),_0x11b04d=0x0;_0x11b04d<_0x7ed428['length'];++_0x11b04d)null!=_0x3899ee[_0x7ed428[_0x11b04d]]&&(this[_0x7ed428[_0x11b04d]]=_0x3899ee[_0x7ed428[_0x11b04d]]);}}return _0x3b5261['prototype']['id']='',_0x3b5261['prototype']['sessionType']=0x0,_0x3b5261['create']=function(_0x4e92f0){return new _0x3b5261(_0x4e92f0);},_0x3b5261['encode']=function(_0x5946f1,_0x409c7b){return _0x409c7b||(_0x409c7b=_0x5dfb11['create']()),null!=_0x5946f1['id']&&Object['hasOwnProperty']['call'](_0x5946f1,'id')&&_0x409c7b['uint32'](0xa)['string'](_0x5946f1['id']),null!=_0x5946f1['sessionType']&&Object['hasOwnProperty']['call'](_0x5946f1,'sessionType')&&_0x409c7b['uint32'](0x10)['uint32'](_0x5946f1['sessionType']),_0x409c7b;},_0x3b5261['encodeDelimited']=function(_0x3d07bb,_0x5a4a31){return this['encode'](_0x3d07bb,_0x5a4a31)['ldelim']();},_0x3b5261['decode']=function(_0x1379d6,_0x1c44e3,_0x1775e5){_0x1379d6 instanceof _0x2abaaa||(_0x1379d6=_0x2abaaa['create'](_0x1379d6));for(var _0x5ecd0f=void 0x0===_0x1c44e3?_0x1379d6['len']:_0x1379d6['pos']+_0x1c44e3,_0x17ffb9=new _0x3d2f4a['SessionsConnectMessage']();_0x1379d6['pos']<_0x5ecd0f;){var _0xf40bce=_0x1379d6['uint32']();if(_0xf40bce===_0x1775e5)break;switch(_0xf40bce>>>0x3){case 0x1:_0x17ffb9['id']=_0x1379d6['string']();break;case 0x2:_0x17ffb9['sessionType']=_0x1379d6['uint32']();break;default:_0x1379d6['skipType'](0x7&_0xf40bce);}}return _0x17ffb9;},_0x3b5261['decodeDelimited']=function(_0x3385ef){return _0x3385ef instanceof _0x2abaaa||(_0x3385ef=new _0x2abaaa(_0x3385ef)),this['decode'](_0x3385ef,_0x3385ef['uint32']());},_0x3b5261['verify']=function(_0x448acf){return'object'!=typeof _0x448acf||null===_0x448acf?'object\x20expected':null!=_0x448acf['id']&&_0x448acf['hasOwnProperty']('id')&&!_0x1a3b11['isString'](_0x448acf['id'])?'id:\x20string\x20expected':null!=_0x448acf['sessionType']&&_0x448acf['hasOwnProperty']('sessionType')&&!_0x1a3b11['isInteger'](_0x448acf['sessionType'])?'sessionType:\x20integer\x20expected':null;},_0x3b5261['fromObject']=function(_0x31d014){if(_0x31d014 instanceof _0x3d2f4a['SessionsConnectMessage'])return _0x31d014;var _0x417f1a=new _0x3d2f4a['SessionsConnectMessage']();return null!=_0x31d014['id']&&(_0x417f1a['id']=String(_0x31d014['id'])),null!=_0x31d014['sessionType']&&(_0x417f1a['sessionType']=_0x31d014['sessionType']>>>0x0),_0x417f1a;},_0x3b5261['toObject']=function(_0x4c3f83,_0x5d0fa8){_0x5d0fa8||(_0x5d0fa8={});var _0x2d50a6={};return _0x5d0fa8['defaults']&&(_0x2d50a6['id']='',_0x2d50a6['sessionType']=0x0),null!=_0x4c3f83['id']&&_0x4c3f83['hasOwnProperty']('id')&&(_0x2d50a6['id']=_0x4c3f83['id']),null!=_0x4c3f83['sessionType']&&_0x4c3f83['hasOwnProperty']('sessionType')&&(_0x2d50a6['sessionType']=_0x4c3f83['sessionType']),_0x2d50a6;},_0x3b5261['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3b5261['getTypeUrl']=function(_0x131bcf){return void 0x0===_0x131bcf&&(_0x131bcf='type.googleapis.com'),_0x131bcf+'/SessionsConnectMessage';},_0x3b5261;}()),_0x3d2f4a['SessionsSocketDescriptor']=(function(){function _0x2e77c2(_0x33ae88){if(this['permissions']=[],_0x33ae88){for(var _0x8435bc=Object['keys'](_0x33ae88),_0x397b65=0x0;_0x397b65<_0x8435bc['length'];++_0x397b65)null!=_0x33ae88[_0x8435bc[_0x397b65]]&&(this[_0x8435bc[_0x397b65]]=_0x33ae88[_0x8435bc[_0x397b65]]);}}return _0x2e77c2['prototype']['session']='',_0x2e77c2['prototype']['user']='',_0x2e77c2['prototype']['role']='',_0x2e77c2['prototype']['permissions']=_0x1a3b11['emptyArray'],_0x2e77c2['create']=function(_0xd2b270){return new _0x2e77c2(_0xd2b270);},_0x2e77c2['encode']=function(_0x45fc2b,_0x3f2010){if(_0x3f2010||(_0x3f2010=_0x5dfb11['create']()),null!=_0x45fc2b['session']&&Object['hasOwnProperty']['call'](_0x45fc2b,'session')&&_0x3f2010['uint32'](0xa)['string'](_0x45fc2b['session']),null!=_0x45fc2b['user']&&Object['hasOwnProperty']['call'](_0x45fc2b,'user')&&_0x3f2010['uint32'](0x12)['string'](_0x45fc2b['user']),null!=_0x45fc2b['role']&&Object['hasOwnProperty']['call'](_0x45fc2b,'role')&&_0x3f2010['uint32'](0x1a)['string'](_0x45fc2b['role']),null!=_0x45fc2b['permissions']&&_0x45fc2b['permissions']['length']){for(var _0xc77242=0x0;_0xc77242<_0x45fc2b['permissions']['length'];++_0xc77242)_0x3f2010['uint32'](0x22)['string'](_0x45fc2b['permissions'][_0xc77242]);}return _0x3f2010;},_0x2e77c2['encodeDelimited']=function(_0x4e42da,_0xaf8962){return this['encode'](_0x4e42da,_0xaf8962)['ldelim']();},_0x2e77c2['decode']=function(_0xb449a0,_0x53469f,_0x4f9832){_0xb449a0 instanceof _0x2abaaa||(_0xb449a0=_0x2abaaa['create'](_0xb449a0));for(var _0x1d0199=void 0x0===_0x53469f?_0xb449a0['len']:_0xb449a0['pos']+_0x53469f,_0x538db5=new _0x3d2f4a['SessionsSocketDescriptor']();_0xb449a0['pos']<_0x1d0199;){var _0x1ef246=_0xb449a0['uint32']();if(_0x1ef246===_0x4f9832)break;switch(_0x1ef246>>>0x3){case 0x1:_0x538db5['session']=_0xb449a0['string']();break;case 0x2:_0x538db5['user']=_0xb449a0['string']();break;case 0x3:_0x538db5['role']=_0xb449a0['string']();break;case 0x4:_0x538db5['permissions']&&_0x538db5['permissions']['length']||(_0x538db5['permissions']=[]),_0x538db5['permissions']['push'](_0xb449a0['string']());break;default:_0xb449a0['skipType'](0x7&_0x1ef246);}}return _0x538db5;},_0x2e77c2['decodeDelimited']=function(_0x47ef7e){return _0x47ef7e instanceof _0x2abaaa||(_0x47ef7e=new _0x2abaaa(_0x47ef7e)),this['decode'](_0x47ef7e,_0x47ef7e['uint32']());},_0x2e77c2['verify']=function(_0x30c655){if('object'!=typeof _0x30c655||null===_0x30c655)return'object\x20expected';if(null!=_0x30c655['session']&&_0x30c655['hasOwnProperty']('session')&&!_0x1a3b11['isString'](_0x30c655['session']))return'session:\x20string\x20expected';if(null!=_0x30c655['user']&&_0x30c655['hasOwnProperty']('user')&&!_0x1a3b11['isString'](_0x30c655['user']))return'user:\x20string\x20expected';if(null!=_0x30c655['role']&&_0x30c655['hasOwnProperty']('role')&&!_0x1a3b11['isString'](_0x30c655['role']))return'role:\x20string\x20expected';if(null!=_0x30c655['permissions']&&_0x30c655['hasOwnProperty']('permissions')){if(!Array['isArray'](_0x30c655['permissions']))return'permissions:\x20array\x20expected';for(var _0x25546d=0x0;_0x25546d<_0x30c655['permissions']['length'];++_0x25546d)if(!_0x1a3b11['isString'](_0x30c655['permissions'][_0x25546d]))return'permissions:\x20string[]\x20expected';}return null;},_0x2e77c2['fromObject']=function(_0x5d8ed6){if(_0x5d8ed6 instanceof _0x3d2f4a['SessionsSocketDescriptor'])return _0x5d8ed6;var _0x291780=new _0x3d2f4a['SessionsSocketDescriptor']();if(null!=_0x5d8ed6['session']&&(_0x291780['session']=String(_0x5d8ed6['session'])),null!=_0x5d8ed6['user']&&(_0x291780['user']=String(_0x5d8ed6['user'])),null!=_0x5d8ed6['role']&&(_0x291780['role']=String(_0x5d8ed6['role'])),_0x5d8ed6['permissions']){if(!Array['isArray'](_0x5d8ed6['permissions']))throw TypeError('.SessionsSocketDescriptor.permissions:\x20array\x20expected');_0x291780['permissions']=[];for(var _0x258fcb=0x0;_0x258fcb<_0x5d8ed6['permissions']['length'];++_0x258fcb)_0x291780['permissions'][_0x258fcb]=String(_0x5d8ed6['permissions'][_0x258fcb]);}return _0x291780;},_0x2e77c2['toObject']=function(_0x2483e4,_0x45eae4){_0x45eae4||(_0x45eae4={});var _0x5a40a5={};if((_0x45eae4['arrays']||_0x45eae4['defaults'])&&(_0x5a40a5['permissions']=[]),_0x45eae4['defaults']&&(_0x5a40a5['session']='',_0x5a40a5['user']='',_0x5a40a5['role']=''),null!=_0x2483e4['session']&&_0x2483e4['hasOwnProperty']('session')&&(_0x5a40a5['session']=_0x2483e4['session']),null!=_0x2483e4['user']&&_0x2483e4['hasOwnProperty']('user')&&(_0x5a40a5['user']=_0x2483e4['user']),null!=_0x2483e4['role']&&_0x2483e4['hasOwnProperty']('role')&&(_0x5a40a5['role']=_0x2483e4['role']),_0x2483e4['permissions']&&_0x2483e4['permissions']['length']){_0x5a40a5['permissions']=[];for(var _0x487b07=0x0;_0x487b07<_0x2483e4['permissions']['length'];++_0x487b07)_0x5a40a5['permissions'][_0x487b07]=_0x2483e4['permissions'][_0x487b07];}return _0x5a40a5;},_0x2e77c2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2e77c2['getTypeUrl']=function(_0x4a5afa){return void 0x0===_0x4a5afa&&(_0x4a5afa='type.googleapis.com'),_0x4a5afa+'/SessionsSocketDescriptor';},_0x2e77c2;}()),_0x3d2f4a['RevisionHistoryUpdateRevisionsResponse']=(function(){function _0x30d44c(_0x23dd83){if(_0x23dd83){for(var _0x3ee384=Object['keys'](_0x23dd83),_0x30cfbb=0x0;_0x30cfbb<_0x3ee384['length'];++_0x30cfbb)null!=_0x23dd83[_0x3ee384[_0x30cfbb]]&&(this[_0x3ee384[_0x30cfbb]]=_0x23dd83[_0x3ee384[_0x30cfbb]]);}}return _0x30d44c['prototype']['requestId']=0x0,_0x30d44c['create']=function(_0x231144){return new _0x30d44c(_0x231144);},_0x30d44c['encode']=function(_0x2ff766,_0x219ed9){return _0x219ed9||(_0x219ed9=_0x5dfb11['create']()),null!=_0x2ff766['requestId']&&Object['hasOwnProperty']['call'](_0x2ff766,'requestId')&&_0x219ed9['uint32'](0x8)['uint32'](_0x2ff766['requestId']),_0x219ed9;},_0x30d44c['encodeDelimited']=function(_0x3e01bb,_0x1686b7){return this['encode'](_0x3e01bb,_0x1686b7)['ldelim']();},_0x30d44c['decode']=function(_0x2d801f,_0x27c6ed,_0xb1e54a){_0x2d801f instanceof _0x2abaaa||(_0x2d801f=_0x2abaaa['create'](_0x2d801f));for(var _0x261ae6=void 0x0===_0x27c6ed?_0x2d801f['len']:_0x2d801f['pos']+_0x27c6ed,_0x2500ce=new _0x3d2f4a['RevisionHistoryUpdateRevisionsResponse']();_0x2d801f['pos']<_0x261ae6;){var _0x120f0d=_0x2d801f['uint32']();if(_0x120f0d===_0xb1e54a)break;_0x120f0d>>>0x3==0x1?_0x2500ce['requestId']=_0x2d801f['uint32']():_0x2d801f['skipType'](0x7&_0x120f0d);}return _0x2500ce;},_0x30d44c['decodeDelimited']=function(_0x1f783e){return _0x1f783e instanceof _0x2abaaa||(_0x1f783e=new _0x2abaaa(_0x1f783e)),this['decode'](_0x1f783e,_0x1f783e['uint32']());},_0x30d44c['verify']=function(_0x152247){return'object'!=typeof _0x152247||null===_0x152247?'object\x20expected':null!=_0x152247['requestId']&&_0x152247['hasOwnProperty']('requestId')&&!_0x1a3b11['isInteger'](_0x152247['requestId'])?'requestId:\x20integer\x20expected':null;},_0x30d44c['fromObject']=function(_0x35e8c2){if(_0x35e8c2 instanceof _0x3d2f4a['RevisionHistoryUpdateRevisionsResponse'])return _0x35e8c2;var _0x7f0998=new _0x3d2f4a['RevisionHistoryUpdateRevisionsResponse']();return null!=_0x35e8c2['requestId']&&(_0x7f0998['requestId']=_0x35e8c2['requestId']>>>0x0),_0x7f0998;},_0x30d44c['toObject']=function(_0x28c01b,_0xa1c7e0){_0xa1c7e0||(_0xa1c7e0={});var _0x4aa0c7={};return _0xa1c7e0['defaults']&&(_0x4aa0c7['requestId']=0x0),null!=_0x28c01b['requestId']&&_0x28c01b['hasOwnProperty']('requestId')&&(_0x4aa0c7['requestId']=_0x28c01b['requestId']),_0x4aa0c7;},_0x30d44c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x30d44c['getTypeUrl']=function(_0x1ac0ef){return void 0x0===_0x1ac0ef&&(_0x1ac0ef='type.googleapis.com'),_0x1ac0ef+'/RevisionHistoryUpdateRevisionsResponse';},_0x30d44c;}()),_0x3d2f4a['RevisionHistoryGetRevisionResponse']=(function(){function _0x545470(_0xd4e817){if(_0xd4e817){for(var _0x2e86d9=Object['keys'](_0xd4e817),_0x5d32ef=0x0;_0x5d32ef<_0x2e86d9['length'];++_0x5d32ef)null!=_0xd4e817[_0x2e86d9[_0x5d32ef]]&&(this[_0x2e86d9[_0x5d32ef]]=_0xd4e817[_0x2e86d9[_0x5d32ef]]);}}return _0x545470['prototype']['revisionId']='',_0x545470['prototype']['name']='',_0x545470['prototype']['creatorId']='',_0x545470['prototype']['authorsIds']='',_0x545470['prototype']['diffData']='',_0x545470['prototype']['createdAt']='',_0x545470['prototype']['attributes']='',_0x545470['prototype']['toVersion']=0x0,_0x545470['prototype']['fromVersion']=0x0,_0x545470['prototype']['isEmptyCurrent']=!0x1,_0x545470['create']=function(_0x4bd6d7){return new _0x545470(_0x4bd6d7);},_0x545470['encode']=function(_0x51d7ca,_0x31dc69){return _0x31dc69||(_0x31dc69=_0x5dfb11['create']()),null!=_0x51d7ca['revisionId']&&Object['hasOwnProperty']['call'](_0x51d7ca,'revisionId')&&_0x31dc69['uint32'](0xa)['string'](_0x51d7ca['revisionId']),null!=_0x51d7ca['name']&&Object['hasOwnProperty']['call'](_0x51d7ca,'name')&&_0x31dc69['uint32'](0x12)['string'](_0x51d7ca['name']),null!=_0x51d7ca['creatorId']&&Object['hasOwnProperty']['call'](_0x51d7ca,'creatorId')&&_0x31dc69['uint32'](0x1a)['string'](_0x51d7ca['creatorId']),null!=_0x51d7ca['authorsIds']&&Object['hasOwnProperty']['call'](_0x51d7ca,'authorsIds')&&_0x31dc69['uint32'](0x22)['string'](_0x51d7ca['authorsIds']),null!=_0x51d7ca['diffData']&&Object['hasOwnProperty']['call'](_0x51d7ca,'diffData')&&_0x31dc69['uint32'](0x2a)['string'](_0x51d7ca['diffData']),null!=_0x51d7ca['createdAt']&&Object['hasOwnProperty']['call'](_0x51d7ca,'createdAt')&&_0x31dc69['uint32'](0x32)['string'](_0x51d7ca['createdAt']),null!=_0x51d7ca['attributes']&&Object['hasOwnProperty']['call'](_0x51d7ca,'attributes')&&_0x31dc69['uint32'](0x3a)['string'](_0x51d7ca['attributes']),null!=_0x51d7ca['toVersion']&&Object['hasOwnProperty']['call'](_0x51d7ca,'toVersion')&&_0x31dc69['uint32'](0x40)['uint32'](_0x51d7ca['toVersion']),null!=_0x51d7ca['fromVersion']&&Object['hasOwnProperty']['call'](_0x51d7ca,'fromVersion')&&_0x31dc69['uint32'](0x48)['uint32'](_0x51d7ca['fromVersion']),null!=_0x51d7ca['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x51d7ca,'isEmptyCurrent')&&_0x31dc69['uint32'](0x50)['bool'](_0x51d7ca['isEmptyCurrent']),_0x31dc69;},_0x545470['encodeDelimited']=function(_0xaf2286,_0x19a4f5){return this['encode'](_0xaf2286,_0x19a4f5)['ldelim']();},_0x545470['decode']=function(_0x12c992,_0x3f6df4,_0x5b1fbd){_0x12c992 instanceof _0x2abaaa||(_0x12c992=_0x2abaaa['create'](_0x12c992));for(var _0x12746f=void 0x0===_0x3f6df4?_0x12c992['len']:_0x12c992['pos']+_0x3f6df4,_0x2d2d81=new _0x3d2f4a['RevisionHistoryGetRevisionResponse']();_0x12c992['pos']<_0x12746f;){var _0x3f7a95=_0x12c992['uint32']();if(_0x3f7a95===_0x5b1fbd)break;switch(_0x3f7a95>>>0x3){case 0x1:_0x2d2d81['revisionId']=_0x12c992['string']();break;case 0x2:_0x2d2d81['name']=_0x12c992['string']();break;case 0x3:_0x2d2d81['creatorId']=_0x12c992['string']();break;case 0x4:_0x2d2d81['authorsIds']=_0x12c992['string']();break;case 0x5:_0x2d2d81['diffData']=_0x12c992['string']();break;case 0x6:_0x2d2d81['createdAt']=_0x12c992['string']();break;case 0x7:_0x2d2d81['attributes']=_0x12c992['string']();break;case 0x8:_0x2d2d81['toVersion']=_0x12c992['uint32']();break;case 0x9:_0x2d2d81['fromVersion']=_0x12c992['uint32']();break;case 0xa:_0x2d2d81['isEmptyCurrent']=_0x12c992['bool']();break;default:_0x12c992['skipType'](0x7&_0x3f7a95);}}return _0x2d2d81;},_0x545470['decodeDelimited']=function(_0x2d9e1b){return _0x2d9e1b instanceof _0x2abaaa||(_0x2d9e1b=new _0x2abaaa(_0x2d9e1b)),this['decode'](_0x2d9e1b,_0x2d9e1b['uint32']());},_0x545470['verify']=function(_0x1cc9e7){return'object'!=typeof _0x1cc9e7||null===_0x1cc9e7?'object\x20expected':null!=_0x1cc9e7['revisionId']&&_0x1cc9e7['hasOwnProperty']('revisionId')&&!_0x1a3b11['isString'](_0x1cc9e7['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x1cc9e7['name']&&_0x1cc9e7['hasOwnProperty']('name')&&!_0x1a3b11['isString'](_0x1cc9e7['name'])?'name:\x20string\x20expected':null!=_0x1cc9e7['creatorId']&&_0x1cc9e7['hasOwnProperty']('creatorId')&&!_0x1a3b11['isString'](_0x1cc9e7['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x1cc9e7['authorsIds']&&_0x1cc9e7['hasOwnProperty']('authorsIds')&&!_0x1a3b11['isString'](_0x1cc9e7['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x1cc9e7['diffData']&&_0x1cc9e7['hasOwnProperty']('diffData')&&!_0x1a3b11['isString'](_0x1cc9e7['diffData'])?'diffData:\x20string\x20expected':null!=_0x1cc9e7['createdAt']&&_0x1cc9e7['hasOwnProperty']('createdAt')&&!_0x1a3b11['isString'](_0x1cc9e7['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x1cc9e7['attributes']&&_0x1cc9e7['hasOwnProperty']('attributes')&&!_0x1a3b11['isString'](_0x1cc9e7['attributes'])?'attributes:\x20string\x20expected':null!=_0x1cc9e7['toVersion']&&_0x1cc9e7['hasOwnProperty']('toVersion')&&!_0x1a3b11['isInteger'](_0x1cc9e7['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x1cc9e7['fromVersion']&&_0x1cc9e7['hasOwnProperty']('fromVersion')&&!_0x1a3b11['isInteger'](_0x1cc9e7['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x1cc9e7['isEmptyCurrent']&&_0x1cc9e7['hasOwnProperty']('isEmptyCurrent')&&'boolean'!=typeof _0x1cc9e7['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null;},_0x545470['fromObject']=function(_0x42bff0){if(_0x42bff0 instanceof _0x3d2f4a['RevisionHistoryGetRevisionResponse'])return _0x42bff0;var _0x19a1b0=new _0x3d2f4a['RevisionHistoryGetRevisionResponse']();return null!=_0x42bff0['revisionId']&&(_0x19a1b0['revisionId']=String(_0x42bff0['revisionId'])),null!=_0x42bff0['name']&&(_0x19a1b0['name']=String(_0x42bff0['name'])),null!=_0x42bff0['creatorId']&&(_0x19a1b0['creatorId']=String(_0x42bff0['creatorId'])),null!=_0x42bff0['authorsIds']&&(_0x19a1b0['authorsIds']=String(_0x42bff0['authorsIds'])),null!=_0x42bff0['diffData']&&(_0x19a1b0['diffData']=String(_0x42bff0['diffData'])),null!=_0x42bff0['createdAt']&&(_0x19a1b0['createdAt']=String(_0x42bff0['createdAt'])),null!=_0x42bff0['attributes']&&(_0x19a1b0['attributes']=String(_0x42bff0['attributes'])),null!=_0x42bff0['toVersion']&&(_0x19a1b0['toVersion']=_0x42bff0['toVersion']>>>0x0),null!=_0x42bff0['fromVersion']&&(_0x19a1b0['fromVersion']=_0x42bff0['fromVersion']>>>0x0),null!=_0x42bff0['isEmptyCurrent']&&(_0x19a1b0['isEmptyCurrent']=Boolean(_0x42bff0['isEmptyCurrent'])),_0x19a1b0;},_0x545470['toObject']=function(_0x3e307f,_0x51b308){_0x51b308||(_0x51b308={});var _0x56622e={};return _0x51b308['defaults']&&(_0x56622e['revisionId']='',_0x56622e['name']='',_0x56622e['creatorId']='',_0x56622e['authorsIds']='',_0x56622e['diffData']='',_0x56622e['createdAt']='',_0x56622e['attributes']='',_0x56622e['toVersion']=0x0,_0x56622e['fromVersion']=0x0,_0x56622e['isEmptyCurrent']=!0x1),null!=_0x3e307f['revisionId']&&_0x3e307f['hasOwnProperty']('revisionId')&&(_0x56622e['revisionId']=_0x3e307f['revisionId']),null!=_0x3e307f['name']&&_0x3e307f['hasOwnProperty']('name')&&(_0x56622e['name']=_0x3e307f['name']),null!=_0x3e307f['creatorId']&&_0x3e307f['hasOwnProperty']('creatorId')&&(_0x56622e['creatorId']=_0x3e307f['creatorId']),null!=_0x3e307f['authorsIds']&&_0x3e307f['hasOwnProperty']('authorsIds')&&(_0x56622e['authorsIds']=_0x3e307f['authorsIds']),null!=_0x3e307f['diffData']&&_0x3e307f['hasOwnProperty']('diffData')&&(_0x56622e['diffData']=_0x3e307f['diffData']),null!=_0x3e307f['createdAt']&&_0x3e307f['hasOwnProperty']('createdAt')&&(_0x56622e['createdAt']=_0x3e307f['createdAt']),null!=_0x3e307f['attributes']&&_0x3e307f['hasOwnProperty']('attributes')&&(_0x56622e['attributes']=_0x3e307f['attributes']),null!=_0x3e307f['toVersion']&&_0x3e307f['hasOwnProperty']('toVersion')&&(_0x56622e['toVersion']=_0x3e307f['toVersion']),null!=_0x3e307f['fromVersion']&&_0x3e307f['hasOwnProperty']('fromVersion')&&(_0x56622e['fromVersion']=_0x3e307f['fromVersion']),null!=_0x3e307f['isEmptyCurrent']&&_0x3e307f['hasOwnProperty']('isEmptyCurrent')&&(_0x56622e['isEmptyCurrent']=_0x3e307f['isEmptyCurrent']),_0x56622e;},_0x545470['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x545470['getTypeUrl']=function(_0x555a9b){return void 0x0===_0x555a9b&&(_0x555a9b='type.googleapis.com'),_0x555a9b+'/RevisionHistoryGetRevisionResponse';},_0x545470;}()),_0x3d2f4a['RevisionHistoryConnectResponse']=(function(){function _0x2c2af6(_0x1feb7f){if(this['revisions']=[],_0x1feb7f){for(var _0x1cdfca=Object['keys'](_0x1feb7f),_0x55c0e8=0x0;_0x55c0e8<_0x1cdfca['length'];++_0x55c0e8)null!=_0x1feb7f[_0x1cdfca[_0x55c0e8]]&&(this[_0x1cdfca[_0x55c0e8]]=_0x1feb7f[_0x1cdfca[_0x55c0e8]]);}}return _0x2c2af6['prototype']['channel']='',_0x2c2af6['prototype']['requestId']=0x0,_0x2c2af6['prototype']['revisions']=_0x1a3b11['emptyArray'],_0x2c2af6['create']=function(_0x33efc6){return new _0x2c2af6(_0x33efc6);},_0x2c2af6['encode']=function(_0x311f81,_0x4a9263){if(_0x4a9263||(_0x4a9263=_0x5dfb11['create']()),null!=_0x311f81['channel']&&Object['hasOwnProperty']['call'](_0x311f81,'channel')&&_0x4a9263['uint32'](0xa)['string'](_0x311f81['channel']),null!=_0x311f81['requestId']&&Object['hasOwnProperty']['call'](_0x311f81,'requestId')&&_0x4a9263['uint32'](0x10)['uint32'](_0x311f81['requestId']),null!=_0x311f81['revisions']&&_0x311f81['revisions']['length']){for(var _0x409f75=0x0;_0x409f75<_0x311f81['revisions']['length'];++_0x409f75)_0x3d2f4a['RevisionDescriptor']['encode'](_0x311f81['revisions'][_0x409f75],_0x4a9263['uint32'](0x1a)['fork']())['ldelim']();}return _0x4a9263;},_0x2c2af6['encodeDelimited']=function(_0x2afc14,_0x5a8b1c){return this['encode'](_0x2afc14,_0x5a8b1c)['ldelim']();},_0x2c2af6['decode']=function(_0x2c5503,_0x591be3,_0x22ebfb){_0x2c5503 instanceof _0x2abaaa||(_0x2c5503=_0x2abaaa['create'](_0x2c5503));for(var _0x3175b7=void 0x0===_0x591be3?_0x2c5503['len']:_0x2c5503['pos']+_0x591be3,_0x5c7245=new _0x3d2f4a['RevisionHistoryConnectResponse']();_0x2c5503['pos']<_0x3175b7;){var _0x252caa=_0x2c5503['uint32']();if(_0x252caa===_0x22ebfb)break;switch(_0x252caa>>>0x3){case 0x1:_0x5c7245['channel']=_0x2c5503['string']();break;case 0x2:_0x5c7245['requestId']=_0x2c5503['uint32']();break;case 0x3:_0x5c7245['revisions']&&_0x5c7245['revisions']['length']||(_0x5c7245['revisions']=[]),_0x5c7245['revisions']['push'](_0x3d2f4a['RevisionDescriptor']['decode'](_0x2c5503,_0x2c5503['uint32']()));break;default:_0x2c5503['skipType'](0x7&_0x252caa);}}return _0x5c7245;},_0x2c2af6['decodeDelimited']=function(_0x3e9e09){return _0x3e9e09 instanceof _0x2abaaa||(_0x3e9e09=new _0x2abaaa(_0x3e9e09)),this['decode'](_0x3e9e09,_0x3e9e09['uint32']());},_0x2c2af6['verify']=function(_0x4afd5b){if('object'!=typeof _0x4afd5b||null===_0x4afd5b)return'object\x20expected';if(null!=_0x4afd5b['channel']&&_0x4afd5b['hasOwnProperty']('channel')&&!_0x1a3b11['isString'](_0x4afd5b['channel']))return'channel:\x20string\x20expected';if(null!=_0x4afd5b['requestId']&&_0x4afd5b['hasOwnProperty']('requestId')&&!_0x1a3b11['isInteger'](_0x4afd5b['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x4afd5b['revisions']&&_0x4afd5b['hasOwnProperty']('revisions')){if(!Array['isArray'](_0x4afd5b['revisions']))return'revisions:\x20array\x20expected';for(var _0x4a8847=0x0;_0x4a8847<_0x4afd5b['revisions']['length'];++_0x4a8847){var _0x1957be=_0x3d2f4a['RevisionDescriptor']['verify'](_0x4afd5b['revisions'][_0x4a8847]);if(_0x1957be)return'revisions.'+_0x1957be;}}return null;},_0x2c2af6['fromObject']=function(_0x2ca194){if(_0x2ca194 instanceof _0x3d2f4a['RevisionHistoryConnectResponse'])return _0x2ca194;var _0x19bf95=new _0x3d2f4a['RevisionHistoryConnectResponse']();if(null!=_0x2ca194['channel']&&(_0x19bf95['channel']=String(_0x2ca194['channel'])),null!=_0x2ca194['requestId']&&(_0x19bf95['requestId']=_0x2ca194['requestId']>>>0x0),_0x2ca194['revisions']){if(!Array['isArray'](_0x2ca194['revisions']))throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20array\x20expected');_0x19bf95['revisions']=[];for(var _0x3ad74d=0x0;_0x3ad74d<_0x2ca194['revisions']['length'];++_0x3ad74d){if('object'!=typeof _0x2ca194['revisions'][_0x3ad74d])throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20object\x20expected');_0x19bf95['revisions'][_0x3ad74d]=_0x3d2f4a['RevisionDescriptor']['fromObject'](_0x2ca194['revisions'][_0x3ad74d]);}}return _0x19bf95;},_0x2c2af6['toObject']=function(_0x3d44ab,_0x28c760){_0x28c760||(_0x28c760={});var _0x4eca41={};if((_0x28c760['arrays']||_0x28c760['defaults'])&&(_0x4eca41['revisions']=[]),_0x28c760['defaults']&&(_0x4eca41['channel']='',_0x4eca41['requestId']=0x0),null!=_0x3d44ab['channel']&&_0x3d44ab['hasOwnProperty']('channel')&&(_0x4eca41['channel']=_0x3d44ab['channel']),null!=_0x3d44ab['requestId']&&_0x3d44ab['hasOwnProperty']('requestId')&&(_0x4eca41['requestId']=_0x3d44ab['requestId']),_0x3d44ab['revisions']&&_0x3d44ab['revisions']['length']){_0x4eca41['revisions']=[];for(var _0x3b0754=0x0;_0x3b0754<_0x3d44ab['revisions']['length'];++_0x3b0754)_0x4eca41['revisions'][_0x3b0754]=_0x3d2f4a['RevisionDescriptor']['toObject'](_0x3d44ab['revisions'][_0x3b0754],_0x28c760);}return _0x4eca41;},_0x2c2af6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2c2af6['getTypeUrl']=function(_0x5462fb){return void 0x0===_0x5462fb&&(_0x5462fb='type.googleapis.com'),_0x5462fb+'/RevisionHistoryConnectResponse';},_0x2c2af6;}()),_0x3d2f4a['RevisionHistoryUpdateRevisionsMessage']=(function(){function _0x32c31c(_0x8aced8){if(this['revisions']=[],_0x8aced8){for(var _0x4fbe5a=Object['keys'](_0x8aced8),_0x5de91e=0x0;_0x5de91e<_0x4fbe5a['length'];++_0x5de91e)null!=_0x8aced8[_0x4fbe5a[_0x5de91e]]&&(this[_0x4fbe5a[_0x5de91e]]=_0x8aced8[_0x4fbe5a[_0x5de91e]]);}}return _0x32c31c['prototype']['documentId']='',_0x32c31c['prototype']['requestId']=0x0,_0x32c31c['prototype']['revisions']=_0x1a3b11['emptyArray'],_0x32c31c['create']=function(_0x380a7b){return new _0x32c31c(_0x380a7b);},_0x32c31c['encode']=function(_0x26eec7,_0x21270f){if(_0x21270f||(_0x21270f=_0x5dfb11['create']()),null!=_0x26eec7['documentId']&&Object['hasOwnProperty']['call'](_0x26eec7,'documentId')&&_0x21270f['uint32'](0xa)['string'](_0x26eec7['documentId']),null!=_0x26eec7['requestId']&&Object['hasOwnProperty']['call'](_0x26eec7,'requestId')&&_0x21270f['uint32'](0x10)['uint32'](_0x26eec7['requestId']),null!=_0x26eec7['revisions']&&_0x26eec7['revisions']['length']){for(var _0x57e9c7=0x0;_0x57e9c7<_0x26eec7['revisions']['length'];++_0x57e9c7)_0x3d2f4a['RevisionDescriptor']['encode'](_0x26eec7['revisions'][_0x57e9c7],_0x21270f['uint32'](0x1a)['fork']())['ldelim']();}return _0x21270f;},_0x32c31c['encodeDelimited']=function(_0x5ac0bb,_0x2b1e53){return this['encode'](_0x5ac0bb,_0x2b1e53)['ldelim']();},_0x32c31c['decode']=function(_0x2c5a04,_0x4e1eea,_0x4e47e0){_0x2c5a04 instanceof _0x2abaaa||(_0x2c5a04=_0x2abaaa['create'](_0x2c5a04));for(var _0x8fcd=void 0x0===_0x4e1eea?_0x2c5a04['len']:_0x2c5a04['pos']+_0x4e1eea,_0x1b8367=new _0x3d2f4a['RevisionHistoryUpdateRevisionsMessage']();_0x2c5a04['pos']<_0x8fcd;){var _0x612c5e=_0x2c5a04['uint32']();if(_0x612c5e===_0x4e47e0)break;switch(_0x612c5e>>>0x3){case 0x1:_0x1b8367['documentId']=_0x2c5a04['string']();break;case 0x2:_0x1b8367['requestId']=_0x2c5a04['uint32']();break;case 0x3:_0x1b8367['revisions']&&_0x1b8367['revisions']['length']||(_0x1b8367['revisions']=[]),_0x1b8367['revisions']['push'](_0x3d2f4a['RevisionDescriptor']['decode'](_0x2c5a04,_0x2c5a04['uint32']()));break;default:_0x2c5a04['skipType'](0x7&_0x612c5e);}}return _0x1b8367;},_0x32c31c['decodeDelimited']=function(_0x4bf9d7){return _0x4bf9d7 instanceof _0x2abaaa||(_0x4bf9d7=new _0x2abaaa(_0x4bf9d7)),this['decode'](_0x4bf9d7,_0x4bf9d7['uint32']());},_0x32c31c['verify']=function(_0x49e13a){if('object'!=typeof _0x49e13a||null===_0x49e13a)return'object\x20expected';if(null!=_0x49e13a['documentId']&&_0x49e13a['hasOwnProperty']('documentId')&&!_0x1a3b11['isString'](_0x49e13a['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x49e13a['requestId']&&_0x49e13a['hasOwnProperty']('requestId')&&!_0x1a3b11['isInteger'](_0x49e13a['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x49e13a['revisions']&&_0x49e13a['hasOwnProperty']('revisions')){if(!Array['isArray'](_0x49e13a['revisions']))return'revisions:\x20array\x20expected';for(var _0x2511c2=0x0;_0x2511c2<_0x49e13a['revisions']['length'];++_0x2511c2){var _0x5d768a=_0x3d2f4a['RevisionDescriptor']['verify'](_0x49e13a['revisions'][_0x2511c2]);if(_0x5d768a)return'revisions.'+_0x5d768a;}}return null;},_0x32c31c['fromObject']=function(_0x13e7e0){if(_0x13e7e0 instanceof _0x3d2f4a['RevisionHistoryUpdateRevisionsMessage'])return _0x13e7e0;var _0x3cd4e1=new _0x3d2f4a['RevisionHistoryUpdateRevisionsMessage']();if(null!=_0x13e7e0['documentId']&&(_0x3cd4e1['documentId']=String(_0x13e7e0['documentId'])),null!=_0x13e7e0['requestId']&&(_0x3cd4e1['requestId']=_0x13e7e0['requestId']>>>0x0),_0x13e7e0['revisions']){if(!Array['isArray'](_0x13e7e0['revisions']))throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20array\x20expected');_0x3cd4e1['revisions']=[];for(var _0xe1b37d=0x0;_0xe1b37d<_0x13e7e0['revisions']['length'];++_0xe1b37d){if('object'!=typeof _0x13e7e0['revisions'][_0xe1b37d])throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20object\x20expected');_0x3cd4e1['revisions'][_0xe1b37d]=_0x3d2f4a['RevisionDescriptor']['fromObject'](_0x13e7e0['revisions'][_0xe1b37d]);}}return _0x3cd4e1;},_0x32c31c['toObject']=function(_0xb2621a,_0x5a30aa){_0x5a30aa||(_0x5a30aa={});var _0x41f502={};if((_0x5a30aa['arrays']||_0x5a30aa['defaults'])&&(_0x41f502['revisions']=[]),_0x5a30aa['defaults']&&(_0x41f502['documentId']='',_0x41f502['requestId']=0x0),null!=_0xb2621a['documentId']&&_0xb2621a['hasOwnProperty']('documentId')&&(_0x41f502['documentId']=_0xb2621a['documentId']),null!=_0xb2621a['requestId']&&_0xb2621a['hasOwnProperty']('requestId')&&(_0x41f502['requestId']=_0xb2621a['requestId']),_0xb2621a['revisions']&&_0xb2621a['revisions']['length']){_0x41f502['revisions']=[];for(var _0x4da7cc=0x0;_0x4da7cc<_0xb2621a['revisions']['length'];++_0x4da7cc)_0x41f502['revisions'][_0x4da7cc]=_0x3d2f4a['RevisionDescriptor']['toObject'](_0xb2621a['revisions'][_0x4da7cc],_0x5a30aa);}return _0x41f502;},_0x32c31c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x32c31c['getTypeUrl']=function(_0x574947){return void 0x0===_0x574947&&(_0x574947='type.googleapis.com'),_0x574947+'/RevisionHistoryUpdateRevisionsMessage';},_0x32c31c;}()),_0x3d2f4a['RevisionHistoryReconnectMessage']=(function(){function _0x46839e(_0x5dccc8){if(_0x5dccc8){for(var _0x51a904=Object['keys'](_0x5dccc8),_0x1f3043=0x0;_0x1f3043<_0x51a904['length'];++_0x1f3043)null!=_0x5dccc8[_0x51a904[_0x1f3043]]&&(this[_0x51a904[_0x1f3043]]=_0x5dccc8[_0x51a904[_0x1f3043]]);}}return _0x46839e['prototype']['documentId']='',_0x46839e['prototype']['requestId']=0x0,_0x46839e['create']=function(_0x1e261f){return new _0x46839e(_0x1e261f);},_0x46839e['encode']=function(_0x258054,_0x57593f){return _0x57593f||(_0x57593f=_0x5dfb11['create']()),null!=_0x258054['documentId']&&Object['hasOwnProperty']['call'](_0x258054,'documentId')&&_0x57593f['uint32'](0xa)['string'](_0x258054['documentId']),null!=_0x258054['requestId']&&Object['hasOwnProperty']['call'](_0x258054,'requestId')&&_0x57593f['uint32'](0x10)['uint32'](_0x258054['requestId']),_0x57593f;},_0x46839e['encodeDelimited']=function(_0x482283,_0x3ffa63){return this['encode'](_0x482283,_0x3ffa63)['ldelim']();},_0x46839e['decode']=function(_0x36c4db,_0x2322dc,_0xc7b563){_0x36c4db instanceof _0x2abaaa||(_0x36c4db=_0x2abaaa['create'](_0x36c4db));for(var _0x1546fb=void 0x0===_0x2322dc?_0x36c4db['len']:_0x36c4db['pos']+_0x2322dc,_0x389f44=new _0x3d2f4a['RevisionHistoryReconnectMessage']();_0x36c4db['pos']<_0x1546fb;){var _0x28bb7c=_0x36c4db['uint32']();if(_0x28bb7c===_0xc7b563)break;switch(_0x28bb7c>>>0x3){case 0x1:_0x389f44['documentId']=_0x36c4db['string']();break;case 0x2:_0x389f44['requestId']=_0x36c4db['uint32']();break;default:_0x36c4db['skipType'](0x7&_0x28bb7c);}}return _0x389f44;},_0x46839e['decodeDelimited']=function(_0x12a834){return _0x12a834 instanceof _0x2abaaa||(_0x12a834=new _0x2abaaa(_0x12a834)),this['decode'](_0x12a834,_0x12a834['uint32']());},_0x46839e['verify']=function(_0x917d7b){return'object'!=typeof _0x917d7b||null===_0x917d7b?'object\x20expected':null!=_0x917d7b['documentId']&&_0x917d7b['hasOwnProperty']('documentId')&&!_0x1a3b11['isString'](_0x917d7b['documentId'])?'documentId:\x20string\x20expected':null!=_0x917d7b['requestId']&&_0x917d7b['hasOwnProperty']('requestId')&&!_0x1a3b11['isInteger'](_0x917d7b['requestId'])?'requestId:\x20integer\x20expected':null;},_0x46839e['fromObject']=function(_0x248ab9){if(_0x248ab9 instanceof _0x3d2f4a['RevisionHistoryReconnectMessage'])return _0x248ab9;var _0x2ccf83=new _0x3d2f4a['RevisionHistoryReconnectMessage']();return null!=_0x248ab9['documentId']&&(_0x2ccf83['documentId']=String(_0x248ab9['documentId'])),null!=_0x248ab9['requestId']&&(_0x2ccf83['requestId']=_0x248ab9['requestId']>>>0x0),_0x2ccf83;},_0x46839e['toObject']=function(_0x2ec9d7,_0x120d85){_0x120d85||(_0x120d85={});var _0x4884e8={};return _0x120d85['defaults']&&(_0x4884e8['documentId']='',_0x4884e8['requestId']=0x0),null!=_0x2ec9d7['documentId']&&_0x2ec9d7['hasOwnProperty']('documentId')&&(_0x4884e8['documentId']=_0x2ec9d7['documentId']),null!=_0x2ec9d7['requestId']&&_0x2ec9d7['hasOwnProperty']('requestId')&&(_0x4884e8['requestId']=_0x2ec9d7['requestId']),_0x4884e8;},_0x46839e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x46839e['getTypeUrl']=function(_0x480169){return void 0x0===_0x480169&&(_0x480169='type.googleapis.com'),_0x480169+'/RevisionHistoryReconnectMessage';},_0x46839e;}()),_0x3d2f4a['RevisionHistoryGetRevisionMessage']=(function(){function _0x28fe81(_0x14650f){if(_0x14650f){for(var _0x5e252e=Object['keys'](_0x14650f),_0x56cf4c=0x0;_0x56cf4c<_0x5e252e['length'];++_0x56cf4c)null!=_0x14650f[_0x5e252e[_0x56cf4c]]&&(this[_0x5e252e[_0x56cf4c]]=_0x14650f[_0x5e252e[_0x56cf4c]]);}}return _0x28fe81['prototype']['documentId']='',_0x28fe81['prototype']['revisionId']='',_0x28fe81['create']=function(_0xde2777){return new _0x28fe81(_0xde2777);},_0x28fe81['encode']=function(_0x42455b,_0xc2a7ce){return _0xc2a7ce||(_0xc2a7ce=_0x5dfb11['create']()),null!=_0x42455b['documentId']&&Object['hasOwnProperty']['call'](_0x42455b,'documentId')&&_0xc2a7ce['uint32'](0xa)['string'](_0x42455b['documentId']),null!=_0x42455b['revisionId']&&Object['hasOwnProperty']['call'](_0x42455b,'revisionId')&&_0xc2a7ce['uint32'](0x12)['string'](_0x42455b['revisionId']),_0xc2a7ce;},_0x28fe81['encodeDelimited']=function(_0x5845e4,_0x2cd3b9){return this['encode'](_0x5845e4,_0x2cd3b9)['ldelim']();},_0x28fe81['decode']=function(_0x3015a0,_0x415685,_0x2ae9ab){_0x3015a0 instanceof _0x2abaaa||(_0x3015a0=_0x2abaaa['create'](_0x3015a0));for(var _0x11edbf=void 0x0===_0x415685?_0x3015a0['len']:_0x3015a0['pos']+_0x415685,_0x3ebb3a=new _0x3d2f4a['RevisionHistoryGetRevisionMessage']();_0x3015a0['pos']<_0x11edbf;){var _0x372681=_0x3015a0['uint32']();if(_0x372681===_0x2ae9ab)break;switch(_0x372681>>>0x3){case 0x1:_0x3ebb3a['documentId']=_0x3015a0['string']();break;case 0x2:_0x3ebb3a['revisionId']=_0x3015a0['string']();break;default:_0x3015a0['skipType'](0x7&_0x372681);}}return _0x3ebb3a;},_0x28fe81['decodeDelimited']=function(_0x3d7f9d){return _0x3d7f9d instanceof _0x2abaaa||(_0x3d7f9d=new _0x2abaaa(_0x3d7f9d)),this['decode'](_0x3d7f9d,_0x3d7f9d['uint32']());},_0x28fe81['verify']=function(_0x479520){return'object'!=typeof _0x479520||null===_0x479520?'object\x20expected':null!=_0x479520['documentId']&&_0x479520['hasOwnProperty']('documentId')&&!_0x1a3b11['isString'](_0x479520['documentId'])?'documentId:\x20string\x20expected':null!=_0x479520['revisionId']&&_0x479520['hasOwnProperty']('revisionId')&&!_0x1a3b11['isString'](_0x479520['revisionId'])?'revisionId:\x20string\x20expected':null;},_0x28fe81['fromObject']=function(_0x19a818){if(_0x19a818 instanceof _0x3d2f4a['RevisionHistoryGetRevisionMessage'])return _0x19a818;var _0x3860bb=new _0x3d2f4a['RevisionHistoryGetRevisionMessage']();return null!=_0x19a818['documentId']&&(_0x3860bb['documentId']=String(_0x19a818['documentId'])),null!=_0x19a818['revisionId']&&(_0x3860bb['revisionId']=String(_0x19a818['revisionId'])),_0x3860bb;},_0x28fe81['toObject']=function(_0x2ffa72,_0x26865b){_0x26865b||(_0x26865b={});var _0x4e6bd8={};return _0x26865b['defaults']&&(_0x4e6bd8['documentId']='',_0x4e6bd8['revisionId']=''),null!=_0x2ffa72['documentId']&&_0x2ffa72['hasOwnProperty']('documentId')&&(_0x4e6bd8['documentId']=_0x2ffa72['documentId']),null!=_0x2ffa72['revisionId']&&_0x2ffa72['hasOwnProperty']('revisionId')&&(_0x4e6bd8['revisionId']=_0x2ffa72['revisionId']),_0x4e6bd8;},_0x28fe81['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x28fe81['getTypeUrl']=function(_0x51d1b8){return void 0x0===_0x51d1b8&&(_0x51d1b8='type.googleapis.com'),_0x51d1b8+'/RevisionHistoryGetRevisionMessage';},_0x28fe81;}()),_0x3d2f4a['RevisionHistoryConnectMessage']=(function(){function _0x171f48(_0x30f7e1){if(_0x30f7e1){for(var _0x4b9c09=Object['keys'](_0x30f7e1),_0x2a55fd=0x0;_0x2a55fd<_0x4b9c09['length'];++_0x2a55fd)null!=_0x30f7e1[_0x4b9c09[_0x2a55fd]]&&(this[_0x4b9c09[_0x2a55fd]]=_0x30f7e1[_0x4b9c09[_0x2a55fd]]);}}return _0x171f48['prototype']['documentId']='',_0x171f48['create']=function(_0x4189cf){return new _0x171f48(_0x4189cf);},_0x171f48['encode']=function(_0x1b5d23,_0x4b68ed){return _0x4b68ed||(_0x4b68ed=_0x5dfb11['create']()),null!=_0x1b5d23['documentId']&&Object['hasOwnProperty']['call'](_0x1b5d23,'documentId')&&_0x4b68ed['uint32'](0xa)['string'](_0x1b5d23['documentId']),_0x4b68ed;},_0x171f48['encodeDelimited']=function(_0x204a7c,_0x3ef3d0){return this['encode'](_0x204a7c,_0x3ef3d0)['ldelim']();},_0x171f48['decode']=function(_0x33b83a,_0x46b9b1,_0x268dbd){_0x33b83a instanceof _0x2abaaa||(_0x33b83a=_0x2abaaa['create'](_0x33b83a));for(var _0x1a4339=void 0x0===_0x46b9b1?_0x33b83a['len']:_0x33b83a['pos']+_0x46b9b1,_0x10df0c=new _0x3d2f4a['RevisionHistoryConnectMessage']();_0x33b83a['pos']<_0x1a4339;){var _0x1b023f=_0x33b83a['uint32']();if(_0x1b023f===_0x268dbd)break;_0x1b023f>>>0x3==0x1?_0x10df0c['documentId']=_0x33b83a['string']():_0x33b83a['skipType'](0x7&_0x1b023f);}return _0x10df0c;},_0x171f48['decodeDelimited']=function(_0x450c69){return _0x450c69 instanceof _0x2abaaa||(_0x450c69=new _0x2abaaa(_0x450c69)),this['decode'](_0x450c69,_0x450c69['uint32']());},_0x171f48['verify']=function(_0x5578c3){return'object'!=typeof _0x5578c3||null===_0x5578c3?'object\x20expected':null!=_0x5578c3['documentId']&&_0x5578c3['hasOwnProperty']('documentId')&&!_0x1a3b11['isString'](_0x5578c3['documentId'])?'documentId:\x20string\x20expected':null;},_0x171f48['fromObject']=function(_0x2ba02a){if(_0x2ba02a instanceof _0x3d2f4a['RevisionHistoryConnectMessage'])return _0x2ba02a;var _0x5db926=new _0x3d2f4a['RevisionHistoryConnectMessage']();return null!=_0x2ba02a['documentId']&&(_0x5db926['documentId']=String(_0x2ba02a['documentId'])),_0x5db926;},_0x171f48['toObject']=function(_0x4060ae,_0x30522a){_0x30522a||(_0x30522a={});var _0x39347f={};return _0x30522a['defaults']&&(_0x39347f['documentId']=''),null!=_0x4060ae['documentId']&&_0x4060ae['hasOwnProperty']('documentId')&&(_0x39347f['documentId']=_0x4060ae['documentId']),_0x39347f;},_0x171f48['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x171f48['getTypeUrl']=function(_0x14fcd6){return void 0x0===_0x14fcd6&&(_0x14fcd6='type.googleapis.com'),_0x14fcd6+'/RevisionHistoryConnectMessage';},_0x171f48;}()),_0x3d2f4a['RevisionDescriptor']=(function(){function _0x4fab04(_0x2949df){if(_0x2949df){for(var _0x7380a4=Object['keys'](_0x2949df),_0x4c7614=0x0;_0x4c7614<_0x7380a4['length'];++_0x4c7614)null!=_0x2949df[_0x7380a4[_0x4c7614]]&&(this[_0x7380a4[_0x4c7614]]=_0x2949df[_0x7380a4[_0x4c7614]]);}}return _0x4fab04['prototype']['revisionId']='',_0x4fab04['prototype']['name']='',_0x4fab04['prototype']['creatorId']='',_0x4fab04['prototype']['authorsIds']='',_0x4fab04['prototype']['diffData']='',_0x4fab04['prototype']['createdAt']='',_0x4fab04['prototype']['attributes']='',_0x4fab04['prototype']['toVersion']=0x0,_0x4fab04['prototype']['fromVersion']=0x0,_0x4fab04['prototype']['isEmptyCurrent']=!0x1,_0x4fab04['create']=function(_0x185ceb){return new _0x4fab04(_0x185ceb);},_0x4fab04['encode']=function(_0x2c29ea,_0x1047fb){return _0x1047fb||(_0x1047fb=_0x5dfb11['create']()),null!=_0x2c29ea['revisionId']&&Object['hasOwnProperty']['call'](_0x2c29ea,'revisionId')&&_0x1047fb['uint32'](0xa)['string'](_0x2c29ea['revisionId']),null!=_0x2c29ea['name']&&Object['hasOwnProperty']['call'](_0x2c29ea,'name')&&_0x1047fb['uint32'](0x12)['string'](_0x2c29ea['name']),null!=_0x2c29ea['creatorId']&&Object['hasOwnProperty']['call'](_0x2c29ea,'creatorId')&&_0x1047fb['uint32'](0x1a)['string'](_0x2c29ea['creatorId']),null!=_0x2c29ea['authorsIds']&&Object['hasOwnProperty']['call'](_0x2c29ea,'authorsIds')&&_0x1047fb['uint32'](0x22)['string'](_0x2c29ea['authorsIds']),null!=_0x2c29ea['diffData']&&Object['hasOwnProperty']['call'](_0x2c29ea,'diffData')&&_0x1047fb['uint32'](0x2a)['string'](_0x2c29ea['diffData']),null!=_0x2c29ea['createdAt']&&Object['hasOwnProperty']['call'](_0x2c29ea,'createdAt')&&_0x1047fb['uint32'](0x32)['string'](_0x2c29ea['createdAt']),null!=_0x2c29ea['attributes']&&Object['hasOwnProperty']['call'](_0x2c29ea,'attributes')&&_0x1047fb['uint32'](0x3a)['string'](_0x2c29ea['attributes']),null!=_0x2c29ea['toVersion']&&Object['hasOwnProperty']['call'](_0x2c29ea,'toVersion')&&_0x1047fb['uint32'](0x40)['uint32'](_0x2c29ea['toVersion']),null!=_0x2c29ea['fromVersion']&&Object['hasOwnProperty']['call'](_0x2c29ea,'fromVersion')&&_0x1047fb['uint32'](0x48)['uint32'](_0x2c29ea['fromVersion']),null!=_0x2c29ea['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x2c29ea,'isEmptyCurrent')&&_0x1047fb['uint32'](0x50)['bool'](_0x2c29ea['isEmptyCurrent']),_0x1047fb;},_0x4fab04['encodeDelimited']=function(_0xd553d5,_0x9a8257){return this['encode'](_0xd553d5,_0x9a8257)['ldelim']();},_0x4fab04['decode']=function(_0xfd4b17,_0x5cdd0d,_0x444119){_0xfd4b17 instanceof _0x2abaaa||(_0xfd4b17=_0x2abaaa['create'](_0xfd4b17));for(var _0x152681=void 0x0===_0x5cdd0d?_0xfd4b17['len']:_0xfd4b17['pos']+_0x5cdd0d,_0x569271=new _0x3d2f4a['RevisionDescriptor']();_0xfd4b17['pos']<_0x152681;){var _0x4fcadd=_0xfd4b17['uint32']();if(_0x4fcadd===_0x444119)break;switch(_0x4fcadd>>>0x3){case 0x1:_0x569271['revisionId']=_0xfd4b17['string']();break;case 0x2:_0x569271['name']=_0xfd4b17['string']();break;case 0x3:_0x569271['creatorId']=_0xfd4b17['string']();break;case 0x4:_0x569271['authorsIds']=_0xfd4b17['string']();break;case 0x5:_0x569271['diffData']=_0xfd4b17['string']();break;case 0x6:_0x569271['createdAt']=_0xfd4b17['string']();break;case 0x7:_0x569271['attributes']=_0xfd4b17['string']();break;case 0x8:_0x569271['toVersion']=_0xfd4b17['uint32']();break;case 0x9:_0x569271['fromVersion']=_0xfd4b17['uint32']();break;case 0xa:_0x569271['isEmptyCurrent']=_0xfd4b17['bool']();break;default:_0xfd4b17['skipType'](0x7&_0x4fcadd);}}return _0x569271;},_0x4fab04['decodeDelimited']=function(_0x5b90fc){return _0x5b90fc instanceof _0x2abaaa||(_0x5b90fc=new _0x2abaaa(_0x5b90fc)),this['decode'](_0x5b90fc,_0x5b90fc['uint32']());},_0x4fab04['verify']=function(_0x5ea139){return'object'!=typeof _0x5ea139||null===_0x5ea139?'object\x20expected':null!=_0x5ea139['revisionId']&&_0x5ea139['hasOwnProperty']('revisionId')&&!_0x1a3b11['isString'](_0x5ea139['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x5ea139['name']&&_0x5ea139['hasOwnProperty']('name')&&!_0x1a3b11['isString'](_0x5ea139['name'])?'name:\x20string\x20expected':null!=_0x5ea139['creatorId']&&_0x5ea139['hasOwnProperty']('creatorId')&&!_0x1a3b11['isString'](_0x5ea139['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x5ea139['authorsIds']&&_0x5ea139['hasOwnProperty']('authorsIds')&&!_0x1a3b11['isString'](_0x5ea139['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x5ea139['diffData']&&_0x5ea139['hasOwnProperty']('diffData')&&!_0x1a3b11['isString'](_0x5ea139['diffData'])?'diffData:\x20string\x20expected':null!=_0x5ea139['createdAt']&&_0x5ea139['hasOwnProperty']('createdAt')&&!_0x1a3b11['isString'](_0x5ea139['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x5ea139['attributes']&&_0x5ea139['hasOwnProperty']('attributes')&&!_0x1a3b11['isString'](_0x5ea139['attributes'])?'attributes:\x20string\x20expected':null!=_0x5ea139['toVersion']&&_0x5ea139['hasOwnProperty']('toVersion')&&!_0x1a3b11['isInteger'](_0x5ea139['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x5ea139['fromVersion']&&_0x5ea139['hasOwnProperty']('fromVersion')&&!_0x1a3b11['isInteger'](_0x5ea139['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x5ea139['isEmptyCurrent']&&_0x5ea139['hasOwnProperty']('isEmptyCurrent')&&'boolean'!=typeof _0x5ea139['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null;},_0x4fab04['fromObject']=function(_0xe4017e){if(_0xe4017e instanceof _0x3d2f4a['RevisionDescriptor'])return _0xe4017e;var _0x133005=new _0x3d2f4a['RevisionDescriptor']();return null!=_0xe4017e['revisionId']&&(_0x133005['revisionId']=String(_0xe4017e['revisionId'])),null!=_0xe4017e['name']&&(_0x133005['name']=String(_0xe4017e['name'])),null!=_0xe4017e['creatorId']&&(_0x133005['creatorId']=String(_0xe4017e['creatorId'])),null!=_0xe4017e['authorsIds']&&(_0x133005['authorsIds']=String(_0xe4017e['authorsIds'])),null!=_0xe4017e['diffData']&&(_0x133005['diffData']=String(_0xe4017e['diffData'])),null!=_0xe4017e['createdAt']&&(_0x133005['createdAt']=String(_0xe4017e['createdAt'])),null!=_0xe4017e['attributes']&&(_0x133005['attributes']=String(_0xe4017e['attributes'])),null!=_0xe4017e['toVersion']&&(_0x133005['toVersion']=_0xe4017e['toVersion']>>>0x0),null!=_0xe4017e['fromVersion']&&(_0x133005['fromVersion']=_0xe4017e['fromVersion']>>>0x0),null!=_0xe4017e['isEmptyCurrent']&&(_0x133005['isEmptyCurrent']=Boolean(_0xe4017e['isEmptyCurrent'])),_0x133005;},_0x4fab04['toObject']=function(_0x163032,_0x2eebc4){_0x2eebc4||(_0x2eebc4={});var _0x2b7c5f={};return _0x2eebc4['defaults']&&(_0x2b7c5f['revisionId']='',_0x2b7c5f['name']='',_0x2b7c5f['creatorId']='',_0x2b7c5f['authorsIds']='',_0x2b7c5f['diffData']='',_0x2b7c5f['createdAt']='',_0x2b7c5f['attributes']='',_0x2b7c5f['toVersion']=0x0,_0x2b7c5f['fromVersion']=0x0,_0x2b7c5f['isEmptyCurrent']=!0x1),null!=_0x163032['revisionId']&&_0x163032['hasOwnProperty']('revisionId')&&(_0x2b7c5f['revisionId']=_0x163032['revisionId']),null!=_0x163032['name']&&_0x163032['hasOwnProperty']('name')&&(_0x2b7c5f['name']=_0x163032['name']),null!=_0x163032['creatorId']&&_0x163032['hasOwnProperty']('creatorId')&&(_0x2b7c5f['creatorId']=_0x163032['creatorId']),null!=_0x163032['authorsIds']&&_0x163032['hasOwnProperty']('authorsIds')&&(_0x2b7c5f['authorsIds']=_0x163032['authorsIds']),null!=_0x163032['diffData']&&_0x163032['hasOwnProperty']('diffData')&&(_0x2b7c5f['diffData']=_0x163032['diffData']),null!=_0x163032['createdAt']&&_0x163032['hasOwnProperty']('createdAt')&&(_0x2b7c5f['createdAt']=_0x163032['createdAt']),null!=_0x163032['attributes']&&_0x163032['hasOwnProperty']('attributes')&&(_0x2b7c5f['attributes']=_0x163032['attributes']),null!=_0x163032['toVersion']&&_0x163032['hasOwnProperty']('toVersion')&&(_0x2b7c5f['toVersion']=_0x163032['toVersion']),null!=_0x163032['fromVersion']&&_0x163032['hasOwnProperty']('fromVersion')&&(_0x2b7c5f['fromVersion']=_0x163032['fromVersion']),null!=_0x163032['isEmptyCurrent']&&_0x163032['hasOwnProperty']('isEmptyCurrent')&&(_0x2b7c5f['isEmptyCurrent']=_0x163032['isEmptyCurrent']),_0x2b7c5f;},_0x4fab04['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4fab04['getTypeUrl']=function(_0x1d0cfd){return void 0x0===_0x1d0cfd&&(_0x1d0cfd='type.googleapis.com'),_0x1d0cfd+'/RevisionDescriptor';},_0x4fab04;}()),_0x3d2f4a['IsEditorBundleUploadedResponse']=(function(){function _0x11235d(_0x46a57e){if(_0x46a57e){for(var _0x5df066=Object['keys'](_0x46a57e),_0xb18f24=0x0;_0xb18f24<_0x5df066['length'];++_0xb18f24)null!=_0x46a57e[_0x5df066[_0xb18f24]]&&(this[_0x5df066[_0xb18f24]]=_0x46a57e[_0x5df066[_0xb18f24]]);}}return _0x11235d['prototype']['isUploaded']=!0x1,_0x11235d['create']=function(_0x25449f){return new _0x11235d(_0x25449f);},_0x11235d['encode']=function(_0x2bbb5c,_0x1134ec){return _0x1134ec||(_0x1134ec=_0x5dfb11['create']()),null!=_0x2bbb5c['isUploaded']&&Object['hasOwnProperty']['call'](_0x2bbb5c,'isUploaded')&&_0x1134ec['uint32'](0x8)['bool'](_0x2bbb5c['isUploaded']),_0x1134ec;},_0x11235d['encodeDelimited']=function(_0x2fcb8a,_0x3a8a53){return this['encode'](_0x2fcb8a,_0x3a8a53)['ldelim']();},_0x11235d['decode']=function(_0x968ac0,_0x116e0c,_0x1a7f09){_0x968ac0 instanceof _0x2abaaa||(_0x968ac0=_0x2abaaa['create'](_0x968ac0));for(var _0xea508d=void 0x0===_0x116e0c?_0x968ac0['len']:_0x968ac0['pos']+_0x116e0c,_0x1409f9=new _0x3d2f4a['IsEditorBundleUploadedResponse']();_0x968ac0['pos']<_0xea508d;){var _0x11ad84=_0x968ac0['uint32']();if(_0x11ad84===_0x1a7f09)break;_0x11ad84>>>0x3==0x1?_0x1409f9['isUploaded']=_0x968ac0['bool']():_0x968ac0['skipType'](0x7&_0x11ad84);}return _0x1409f9;},_0x11235d['decodeDelimited']=function(_0x421a15){return _0x421a15 instanceof _0x2abaaa||(_0x421a15=new _0x2abaaa(_0x421a15)),this['decode'](_0x421a15,_0x421a15['uint32']());},_0x11235d['verify']=function(_0xcaecbd){return'object'!=typeof _0xcaecbd||null===_0xcaecbd?'object\x20expected':null!=_0xcaecbd['isUploaded']&&_0xcaecbd['hasOwnProperty']('isUploaded')&&'boolean'!=typeof _0xcaecbd['isUploaded']?'isUploaded:\x20boolean\x20expected':null;},_0x11235d['fromObject']=function(_0x347a0d){if(_0x347a0d instanceof _0x3d2f4a['IsEditorBundleUploadedResponse'])return _0x347a0d;var _0x28eccd=new _0x3d2f4a['IsEditorBundleUploadedResponse']();return null!=_0x347a0d['isUploaded']&&(_0x28eccd['isUploaded']=Boolean(_0x347a0d['isUploaded'])),_0x28eccd;},_0x11235d['toObject']=function(_0x4b6aed,_0x2fea9b){_0x2fea9b||(_0x2fea9b={});var _0x55c4ad={};return _0x2fea9b['defaults']&&(_0x55c4ad['isUploaded']=!0x1),null!=_0x4b6aed['isUploaded']&&_0x4b6aed['hasOwnProperty']('isUploaded')&&(_0x55c4ad['isUploaded']=_0x4b6aed['isUploaded']),_0x55c4ad;},_0x11235d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x11235d['getTypeUrl']=function(_0x510685){return void 0x0===_0x510685&&(_0x510685='type.googleapis.com'),_0x510685+'/IsEditorBundleUploadedResponse';},_0x11235d;}()),_0x3d2f4a['IsEditorBundleUploadedMessage']=(function(){function _0x5c8709(_0xabf77){if(_0xabf77){for(var _0x5566c2=Object['keys'](_0xabf77),_0x4553d0=0x0;_0x4553d0<_0x5566c2['length'];++_0x4553d0)null!=_0xabf77[_0x5566c2[_0x4553d0]]&&(this[_0x5566c2[_0x4553d0]]=_0xabf77[_0x5566c2[_0x4553d0]]);}}return _0x5c8709['prototype']['bundleVersion']='',_0x5c8709['create']=function(_0x1fd12b){return new _0x5c8709(_0x1fd12b);},_0x5c8709['encode']=function(_0x35c73f,_0x341ecf){return _0x341ecf||(_0x341ecf=_0x5dfb11['create']()),null!=_0x35c73f['bundleVersion']&&Object['hasOwnProperty']['call'](_0x35c73f,'bundleVersion')&&_0x341ecf['uint32'](0xa)['string'](_0x35c73f['bundleVersion']),_0x341ecf;},_0x5c8709['encodeDelimited']=function(_0x2cf0d3,_0x1cea29){return this['encode'](_0x2cf0d3,_0x1cea29)['ldelim']();},_0x5c8709['decode']=function(_0x53feb2,_0x50ca20,_0x174810){_0x53feb2 instanceof _0x2abaaa||(_0x53feb2=_0x2abaaa['create'](_0x53feb2));for(var _0x21141f=void 0x0===_0x50ca20?_0x53feb2['len']:_0x53feb2['pos']+_0x50ca20,_0xa225c4=new _0x3d2f4a['IsEditorBundleUploadedMessage']();_0x53feb2['pos']<_0x21141f;){var _0x512c93=_0x53feb2['uint32']();if(_0x512c93===_0x174810)break;_0x512c93>>>0x3==0x1?_0xa225c4['bundleVersion']=_0x53feb2['string']():_0x53feb2['skipType'](0x7&_0x512c93);}return _0xa225c4;},_0x5c8709['decodeDelimited']=function(_0x477044){return _0x477044 instanceof _0x2abaaa||(_0x477044=new _0x2abaaa(_0x477044)),this['decode'](_0x477044,_0x477044['uint32']());},_0x5c8709['verify']=function(_0x11b1a6){return'object'!=typeof _0x11b1a6||null===_0x11b1a6?'object\x20expected':null!=_0x11b1a6['bundleVersion']&&_0x11b1a6['hasOwnProperty']('bundleVersion')&&!_0x1a3b11['isString'](_0x11b1a6['bundleVersion'])?'bundleVersion:\x20string\x20expected':null;},_0x5c8709['fromObject']=function(_0x538a22){if(_0x538a22 instanceof _0x3d2f4a['IsEditorBundleUploadedMessage'])return _0x538a22;var _0x1cf301=new _0x3d2f4a['IsEditorBundleUploadedMessage']();return null!=_0x538a22['bundleVersion']&&(_0x1cf301['bundleVersion']=String(_0x538a22['bundleVersion'])),_0x1cf301;},_0x5c8709['toObject']=function(_0x477c20,_0x14676e){_0x14676e||(_0x14676e={});var _0x571a95={};return _0x14676e['defaults']&&(_0x571a95['bundleVersion']=''),null!=_0x477c20['bundleVersion']&&_0x477c20['hasOwnProperty']('bundleVersion')&&(_0x571a95['bundleVersion']=_0x477c20['bundleVersion']),_0x571a95;},_0x5c8709['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5c8709['getTypeUrl']=function(_0x36d74e){return void 0x0===_0x36d74e&&(_0x36d74e='type.googleapis.com'),_0x36d74e+'/IsEditorBundleUploadedMessage';},_0x5c8709;}()),_0x3d2f4a['KeyValueDescriptor']=(function(){function _0x2ee2ab(_0x2d6103){if(_0x2d6103){for(var _0x58c0e5=Object['keys'](_0x2d6103),_0x3ea610=0x0;_0x3ea610<_0x58c0e5['length'];++_0x3ea610)null!=_0x2d6103[_0x58c0e5[_0x3ea610]]&&(this[_0x58c0e5[_0x3ea610]]=_0x2d6103[_0x58c0e5[_0x3ea610]]);}}return _0x2ee2ab['prototype']['key']='',_0x2ee2ab['prototype']['value']='',_0x2ee2ab['create']=function(_0x4eb997){return new _0x2ee2ab(_0x4eb997);},_0x2ee2ab['encode']=function(_0x208b2c,_0x3b3c16){return _0x3b3c16||(_0x3b3c16=_0x5dfb11['create']()),null!=_0x208b2c['key']&&Object['hasOwnProperty']['call'](_0x208b2c,'key')&&_0x3b3c16['uint32'](0xa)['string'](_0x208b2c['key']),null!=_0x208b2c['value']&&Object['hasOwnProperty']['call'](_0x208b2c,'value')&&_0x3b3c16['uint32'](0x12)['string'](_0x208b2c['value']),_0x3b3c16;},_0x2ee2ab['encodeDelimited']=function(_0x11b855,_0x4e63bd){return this['encode'](_0x11b855,_0x4e63bd)['ldelim']();},_0x2ee2ab['decode']=function(_0x566c6a,_0x38ae31,_0x2a7ca9){_0x566c6a instanceof _0x2abaaa||(_0x566c6a=_0x2abaaa['create'](_0x566c6a));for(var _0x570a72=void 0x0===_0x38ae31?_0x566c6a['len']:_0x566c6a['pos']+_0x38ae31,_0x1712be=new _0x3d2f4a['KeyValueDescriptor']();_0x566c6a['pos']<_0x570a72;){var _0x534d0b=_0x566c6a['uint32']();if(_0x534d0b===_0x2a7ca9)break;switch(_0x534d0b>>>0x3){case 0x1:_0x1712be['key']=_0x566c6a['string']();break;case 0x2:_0x1712be['value']=_0x566c6a['string']();break;default:_0x566c6a['skipType'](0x7&_0x534d0b);}}return _0x1712be;},_0x2ee2ab['decodeDelimited']=function(_0x309128){return _0x309128 instanceof _0x2abaaa||(_0x309128=new _0x2abaaa(_0x309128)),this['decode'](_0x309128,_0x309128['uint32']());},_0x2ee2ab['verify']=function(_0x3964b8){return'object'!=typeof _0x3964b8||null===_0x3964b8?'object\x20expected':null!=_0x3964b8['key']&&_0x3964b8['hasOwnProperty']('key')&&!_0x1a3b11['isString'](_0x3964b8['key'])?'key:\x20string\x20expected':null!=_0x3964b8['value']&&_0x3964b8['hasOwnProperty']('value')&&!_0x1a3b11['isString'](_0x3964b8['value'])?'value:\x20string\x20expected':null;},_0x2ee2ab['fromObject']=function(_0xb8f884){if(_0xb8f884 instanceof _0x3d2f4a['KeyValueDescriptor'])return _0xb8f884;var _0x1eef68=new _0x3d2f4a['KeyValueDescriptor']();return null!=_0xb8f884['key']&&(_0x1eef68['key']=String(_0xb8f884['key'])),null!=_0xb8f884['value']&&(_0x1eef68['value']=String(_0xb8f884['value'])),_0x1eef68;},_0x2ee2ab['toObject']=function(_0x5ebe7e,_0x8e53a6){_0x8e53a6||(_0x8e53a6={});var _0x15df3c={};return _0x8e53a6['defaults']&&(_0x15df3c['key']='',_0x15df3c['value']=''),null!=_0x5ebe7e['key']&&_0x5ebe7e['hasOwnProperty']('key')&&(_0x15df3c['key']=_0x5ebe7e['key']),null!=_0x5ebe7e['value']&&_0x5ebe7e['hasOwnProperty']('value')&&(_0x15df3c['value']=_0x5ebe7e['value']),_0x15df3c;},_0x2ee2ab['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2ee2ab['getTypeUrl']=function(_0x144880){return void 0x0===_0x144880&&(_0x144880='type.googleapis.com'),_0x144880+'/KeyValueDescriptor';},_0x2ee2ab;}()),_0x3d2f4a['CommentsV2GetDocumentThreadsResponse']=(function(){function _0x9cb6fc(_0x26ac2c){if(this['threads']=[],this['threadsV2']=[],_0x26ac2c){for(var _0x1e2e12=Object['keys'](_0x26ac2c),_0x27cc3b=0x0;_0x27cc3b<_0x1e2e12['length'];++_0x27cc3b)null!=_0x26ac2c[_0x1e2e12[_0x27cc3b]]&&(this[_0x1e2e12[_0x27cc3b]]=_0x26ac2c[_0x1e2e12[_0x27cc3b]]);}}return _0x9cb6fc['prototype']['threads']=_0x1a3b11['emptyArray'],_0x9cb6fc['prototype']['threadsV2']=_0x1a3b11['emptyArray'],_0x9cb6fc['create']=function(_0x4f527b){return new _0x9cb6fc(_0x4f527b);},_0x9cb6fc['encode']=function(_0x2b6f83,_0x5b8545){if(_0x5b8545||(_0x5b8545=_0x5dfb11['create']()),null!=_0x2b6f83['threads']&&_0x2b6f83['threads']['length']){for(var _0x24c444=0x0;_0x24c444<_0x2b6f83['threads']['length'];++_0x24c444)_0x5b8545['uint32'](0xa)['string'](_0x2b6f83['threads'][_0x24c444]);}if(null!=_0x2b6f83['threadsV2']&&_0x2b6f83['threadsV2']['length']){for(_0x24c444=0x0;_0x24c444<_0x2b6f83['threadsV2']['length'];++_0x24c444)_0x3d2f4a['CommentsThreadDescriptor']['encode'](_0x2b6f83['threadsV2'][_0x24c444],_0x5b8545['uint32'](0x12)['fork']())['ldelim']();}return _0x5b8545;},_0x9cb6fc['encodeDelimited']=function(_0x384d3c,_0x87ce4f){return this['encode'](_0x384d3c,_0x87ce4f)['ldelim']();},_0x9cb6fc['decode']=function(_0x90d798,_0x23f195,_0x4ec689){_0x90d798 instanceof _0x2abaaa||(_0x90d798=_0x2abaaa['create'](_0x90d798));for(var _0x463d7f=void 0x0===_0x23f195?_0x90d798['len']:_0x90d798['pos']+_0x23f195,_0xb3a646=new _0x3d2f4a['CommentsV2GetDocumentThreadsResponse']();_0x90d798['pos']<_0x463d7f;){var _0x5308d4=_0x90d798['uint32']();if(_0x5308d4===_0x4ec689)break;switch(_0x5308d4>>>0x3){case 0x1:_0xb3a646['threads']&&_0xb3a646['threads']['length']||(_0xb3a646['threads']=[]),_0xb3a646['threads']['push'](_0x90d798['string']());break;case 0x2:_0xb3a646['threadsV2']&&_0xb3a646['threadsV2']['length']||(_0xb3a646['threadsV2']=[]),_0xb3a646['threadsV2']['push'](_0x3d2f4a['CommentsThreadDescriptor']['decode'](_0x90d798,_0x90d798['uint32']()));break;default:_0x90d798['skipType'](0x7&_0x5308d4);}}return _0xb3a646;},_0x9cb6fc['decodeDelimited']=function(_0xa25481){return _0xa25481 instanceof _0x2abaaa||(_0xa25481=new _0x2abaaa(_0xa25481)),this['decode'](_0xa25481,_0xa25481['uint32']());},_0x9cb6fc['verify']=function(_0x275cb6){if('object'!=typeof _0x275cb6||null===_0x275cb6)return'object\x20expected';if(null!=_0x275cb6['threads']&&_0x275cb6['hasOwnProperty']('threads')){if(!Array['isArray'](_0x275cb6['threads']))return'threads:\x20array\x20expected';for(var _0x1987ac=0x0;_0x1987ac<_0x275cb6['threads']['length'];++_0x1987ac)if(!_0x1a3b11['isString'](_0x275cb6['threads'][_0x1987ac]))return'threads:\x20string[]\x20expected';}if(null!=_0x275cb6['threadsV2']&&_0x275cb6['hasOwnProperty']('threadsV2')){if(!Array['isArray'](_0x275cb6['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x1987ac=0x0;_0x1987ac<_0x275cb6['threadsV2']['length'];++_0x1987ac){var _0x33e7ea=_0x3d2f4a['CommentsThreadDescriptor']['verify'](_0x275cb6['threadsV2'][_0x1987ac]);if(_0x33e7ea)return'threadsV2.'+_0x33e7ea;}}return null;},_0x9cb6fc['fromObject']=function(_0x1738c5){if(_0x1738c5 instanceof _0x3d2f4a['CommentsV2GetDocumentThreadsResponse'])return _0x1738c5;var _0x252d76=new _0x3d2f4a['CommentsV2GetDocumentThreadsResponse']();if(_0x1738c5['threads']){if(!Array['isArray'](_0x1738c5['threads']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threads:\x20array\x20expected');_0x252d76['threads']=[];for(var _0x224853=0x0;_0x224853<_0x1738c5['threads']['length'];++_0x224853)_0x252d76['threads'][_0x224853]=String(_0x1738c5['threads'][_0x224853]);}if(_0x1738c5['threadsV2']){if(!Array['isArray'](_0x1738c5['threadsV2']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20array\x20expected');for(_0x252d76['threadsV2']=[],_0x224853=0x0;_0x224853<_0x1738c5['threadsV2']['length'];++_0x224853){if('object'!=typeof _0x1738c5['threadsV2'][_0x224853])throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20object\x20expected');_0x252d76['threadsV2'][_0x224853]=_0x3d2f4a['CommentsThreadDescriptor']['fromObject'](_0x1738c5['threadsV2'][_0x224853]);}}return _0x252d76;},_0x9cb6fc['toObject']=function(_0x44bd92,_0x46c164){_0x46c164||(_0x46c164={});var _0x62a7f4={};if((_0x46c164['arrays']||_0x46c164['defaults'])&&(_0x62a7f4['threads']=[],_0x62a7f4['threadsV2']=[]),_0x44bd92['threads']&&_0x44bd92['threads']['length']){_0x62a7f4['threads']=[];for(var _0x80a6ce=0x0;_0x80a6ce<_0x44bd92['threads']['length'];++_0x80a6ce)_0x62a7f4['threads'][_0x80a6ce]=_0x44bd92['threads'][_0x80a6ce];}if(_0x44bd92['threadsV2']&&_0x44bd92['threadsV2']['length']){for(_0x62a7f4['threadsV2']=[],_0x80a6ce=0x0;_0x80a6ce<_0x44bd92['threadsV2']['length'];++_0x80a6ce)_0x62a7f4['threadsV2'][_0x80a6ce]=_0x3d2f4a['CommentsThreadDescriptor']['toObject'](_0x44bd92['threadsV2'][_0x80a6ce],_0x46c164);}return _0x62a7f4;},_0x9cb6fc['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x9cb6fc['getTypeUrl']=function(_0x42c5f3){return void 0x0===_0x42c5f3&&(_0x42c5f3='type.googleapis.com'),_0x42c5f3+'/CommentsV2GetDocumentThreadsResponse';},_0x9cb6fc;}()),_0x3d2f4a['CommentsV2GetCommentThreadResponse']=(function(){function _0x217f7c(_0x3c5f64){if(this['comments']=[],this['commentsV2']=[],_0x3c5f64){for(var _0x13da17=Object['keys'](_0x3c5f64),_0xff790b=0x0;_0xff790b<_0x13da17['length'];++_0xff790b)null!=_0x3c5f64[_0x13da17[_0xff790b]]&&(this[_0x13da17[_0xff790b]]=_0x3c5f64[_0x13da17[_0xff790b]]);}}return _0x217f7c['prototype']['commentThreadId']='',_0x217f7c['prototype']['comments']=_0x1a3b11['emptyArray'],_0x217f7c['prototype']['commentsV2']=_0x1a3b11['emptyArray'],_0x217f7c['prototype']['resolvedAt']='',_0x217f7c['prototype']['resolvedBy']='',_0x217f7c['prototype']['context']='',_0x217f7c['prototype']['createdAt']='',_0x217f7c['prototype']['deletedAt']='',_0x217f7c['prototype']['attributes']='',_0x217f7c['prototype']['unlinkedAt']='',_0x217f7c['create']=function(_0x36f386){return new _0x217f7c(_0x36f386);},_0x217f7c['encode']=function(_0x150cad,_0x2395c8){if(_0x2395c8||(_0x2395c8=_0x5dfb11['create']()),null!=_0x150cad['commentThreadId']&&Object['hasOwnProperty']['call'](_0x150cad,'commentThreadId')&&_0x2395c8['uint32'](0xa)['string'](_0x150cad['commentThreadId']),null!=_0x150cad['comments']&&_0x150cad['comments']['length']){for(var _0x4788b3=0x0;_0x4788b3<_0x150cad['comments']['length'];++_0x4788b3)_0x2395c8['uint32'](0x12)['string'](_0x150cad['comments'][_0x4788b3]);}if(null!=_0x150cad['commentsV2']&&_0x150cad['commentsV2']['length']){for(_0x4788b3=0x0;_0x4788b3<_0x150cad['commentsV2']['length'];++_0x4788b3)_0x3d2f4a['CommentDescriptor']['encode'](_0x150cad['commentsV2'][_0x4788b3],_0x2395c8['uint32'](0x1a)['fork']())['ldelim']();}return null!=_0x150cad['resolvedAt']&&Object['hasOwnProperty']['call'](_0x150cad,'resolvedAt')&&_0x2395c8['uint32'](0x22)['string'](_0x150cad['resolvedAt']),null!=_0x150cad['resolvedBy']&&Object['hasOwnProperty']['call'](_0x150cad,'resolvedBy')&&_0x2395c8['uint32'](0x2a)['string'](_0x150cad['resolvedBy']),null!=_0x150cad['context']&&Object['hasOwnProperty']['call'](_0x150cad,'context')&&_0x2395c8['uint32'](0x32)['string'](_0x150cad['context']),null!=_0x150cad['createdAt']&&Object['hasOwnProperty']['call'](_0x150cad,'createdAt')&&_0x2395c8['uint32'](0x3a)['string'](_0x150cad['createdAt']),null!=_0x150cad['deletedAt']&&Object['hasOwnProperty']['call'](_0x150cad,'deletedAt')&&_0x2395c8['uint32'](0x42)['string'](_0x150cad['deletedAt']),null!=_0x150cad['attributes']&&Object['hasOwnProperty']['call'](_0x150cad,'attributes')&&_0x2395c8['uint32'](0x4a)['string'](_0x150cad['attributes']),null!=_0x150cad['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x150cad,'unlinkedAt')&&_0x2395c8['uint32'](0x52)['string'](_0x150cad['unlinkedAt']),_0x2395c8;},_0x217f7c['encodeDelimited']=function(_0x4f802a,_0x4261e3){return this['encode'](_0x4f802a,_0x4261e3)['ldelim']();},_0x217f7c['decode']=function(_0x5e5d80,_0x228793,_0xb00f26){_0x5e5d80 instanceof _0x2abaaa||(_0x5e5d80=_0x2abaaa['create'](_0x5e5d80));for(var _0x443b99=void 0x0===_0x228793?_0x5e5d80['len']:_0x5e5d80['pos']+_0x228793,_0x14e5b4=new _0x3d2f4a['CommentsV2GetCommentThreadResponse']();_0x5e5d80['pos']<_0x443b99;){var _0x14c2fd=_0x5e5d80['uint32']();if(_0x14c2fd===_0xb00f26)break;switch(_0x14c2fd>>>0x3){case 0x1:_0x14e5b4['commentThreadId']=_0x5e5d80['string']();break;case 0x2:_0x14e5b4['comments']&&_0x14e5b4['comments']['length']||(_0x14e5b4['comments']=[]),_0x14e5b4['comments']['push'](_0x5e5d80['string']());break;case 0x3:_0x14e5b4['commentsV2']&&_0x14e5b4['commentsV2']['length']||(_0x14e5b4['commentsV2']=[]),_0x14e5b4['commentsV2']['push'](_0x3d2f4a['CommentDescriptor']['decode'](_0x5e5d80,_0x5e5d80['uint32']()));break;case 0x4:_0x14e5b4['resolvedAt']=_0x5e5d80['string']();break;case 0x5:_0x14e5b4['resolvedBy']=_0x5e5d80['string']();break;case 0x6:_0x14e5b4['context']=_0x5e5d80['string']();break;case 0x7:_0x14e5b4['createdAt']=_0x5e5d80['string']();break;case 0x8:_0x14e5b4['deletedAt']=_0x5e5d80['string']();break;case 0x9:_0x14e5b4['attributes']=_0x5e5d80['string']();break;case 0xa:_0x14e5b4['unlinkedAt']=_0x5e5d80['string']();break;default:_0x5e5d80['skipType'](0x7&_0x14c2fd);}}return _0x14e5b4;},_0x217f7c['decodeDelimited']=function(_0xccb685){return _0xccb685 instanceof _0x2abaaa||(_0xccb685=new _0x2abaaa(_0xccb685)),this['decode'](_0xccb685,_0xccb685['uint32']());},_0x217f7c['verify']=function(_0x4cc4c8){if('object'!=typeof _0x4cc4c8||null===_0x4cc4c8)return'object\x20expected';if(null!=_0x4cc4c8['commentThreadId']&&_0x4cc4c8['hasOwnProperty']('commentThreadId')&&!_0x1a3b11['isString'](_0x4cc4c8['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x4cc4c8['comments']&&_0x4cc4c8['hasOwnProperty']('comments')){if(!Array['isArray'](_0x4cc4c8['comments']))return'comments:\x20array\x20expected';for(var _0x5756f6=0x0;_0x5756f6<_0x4cc4c8['comments']['length'];++_0x5756f6)if(!_0x1a3b11['isString'](_0x4cc4c8['comments'][_0x5756f6]))return'comments:\x20string[]\x20expected';}if(null!=_0x4cc4c8['commentsV2']&&_0x4cc4c8['hasOwnProperty']('commentsV2')){if(!Array['isArray'](_0x4cc4c8['commentsV2']))return'commentsV2:\x20array\x20expected';for(_0x5756f6=0x0;_0x5756f6<_0x4cc4c8['commentsV2']['length'];++_0x5756f6){var _0x277602=_0x3d2f4a['CommentDescriptor']['verify'](_0x4cc4c8['commentsV2'][_0x5756f6]);if(_0x277602)return'commentsV2.'+_0x277602;}}return null!=_0x4cc4c8['resolvedAt']&&_0x4cc4c8['hasOwnProperty']('resolvedAt')&&!_0x1a3b11['isString'](_0x4cc4c8['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x4cc4c8['resolvedBy']&&_0x4cc4c8['hasOwnProperty']('resolvedBy')&&!_0x1a3b11['isString'](_0x4cc4c8['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x4cc4c8['context']&&_0x4cc4c8['hasOwnProperty']('context')&&!_0x1a3b11['isString'](_0x4cc4c8['context'])?'context:\x20string\x20expected':null!=_0x4cc4c8['createdAt']&&_0x4cc4c8['hasOwnProperty']('createdAt')&&!_0x1a3b11['isString'](_0x4cc4c8['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x4cc4c8['deletedAt']&&_0x4cc4c8['hasOwnProperty']('deletedAt')&&!_0x1a3b11['isString'](_0x4cc4c8['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x4cc4c8['attributes']&&_0x4cc4c8['hasOwnProperty']('attributes')&&!_0x1a3b11['isString'](_0x4cc4c8['attributes'])?'attributes:\x20string\x20expected':null!=_0x4cc4c8['unlinkedAt']&&_0x4cc4c8['hasOwnProperty']('unlinkedAt')&&!_0x1a3b11['isString'](_0x4cc4c8['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x217f7c['fromObject']=function(_0x686147){if(_0x686147 instanceof _0x3d2f4a['CommentsV2GetCommentThreadResponse'])return _0x686147;var _0x9038e7=new _0x3d2f4a['CommentsV2GetCommentThreadResponse']();if(null!=_0x686147['commentThreadId']&&(_0x9038e7['commentThreadId']=String(_0x686147['commentThreadId'])),_0x686147['comments']){if(!Array['isArray'](_0x686147['comments']))throw TypeError('.CommentsV2GetCommentThreadResponse.comments:\x20array\x20expected');_0x9038e7['comments']=[];for(var _0x42a519=0x0;_0x42a519<_0x686147['comments']['length'];++_0x42a519)_0x9038e7['comments'][_0x42a519]=String(_0x686147['comments'][_0x42a519]);}if(_0x686147['commentsV2']){if(!Array['isArray'](_0x686147['commentsV2']))throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20array\x20expected');for(_0x9038e7['commentsV2']=[],_0x42a519=0x0;_0x42a519<_0x686147['commentsV2']['length'];++_0x42a519){if('object'!=typeof _0x686147['commentsV2'][_0x42a519])throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20object\x20expected');_0x9038e7['commentsV2'][_0x42a519]=_0x3d2f4a['CommentDescriptor']['fromObject'](_0x686147['commentsV2'][_0x42a519]);}}return null!=_0x686147['resolvedAt']&&(_0x9038e7['resolvedAt']=String(_0x686147['resolvedAt'])),null!=_0x686147['resolvedBy']&&(_0x9038e7['resolvedBy']=String(_0x686147['resolvedBy'])),null!=_0x686147['context']&&(_0x9038e7['context']=String(_0x686147['context'])),null!=_0x686147['createdAt']&&(_0x9038e7['createdAt']=String(_0x686147['createdAt'])),null!=_0x686147['deletedAt']&&(_0x9038e7['deletedAt']=String(_0x686147['deletedAt'])),null!=_0x686147['attributes']&&(_0x9038e7['attributes']=String(_0x686147['attributes'])),null!=_0x686147['unlinkedAt']&&(_0x9038e7['unlinkedAt']=String(_0x686147['unlinkedAt'])),_0x9038e7;},_0x217f7c['toObject']=function(_0x29405b,_0x21a4d5){_0x21a4d5||(_0x21a4d5={});var _0x2fa369={};if((_0x21a4d5['arrays']||_0x21a4d5['defaults'])&&(_0x2fa369['comments']=[],_0x2fa369['commentsV2']=[]),_0x21a4d5['defaults']&&(_0x2fa369['commentThreadId']='',_0x2fa369['resolvedAt']='',_0x2fa369['resolvedBy']='',_0x2fa369['context']='',_0x2fa369['createdAt']='',_0x2fa369['deletedAt']='',_0x2fa369['attributes']='',_0x2fa369['unlinkedAt']=''),null!=_0x29405b['commentThreadId']&&_0x29405b['hasOwnProperty']('commentThreadId')&&(_0x2fa369['commentThreadId']=_0x29405b['commentThreadId']),_0x29405b['comments']&&_0x29405b['comments']['length']){_0x2fa369['comments']=[];for(var _0x36c795=0x0;_0x36c795<_0x29405b['comments']['length'];++_0x36c795)_0x2fa369['comments'][_0x36c795]=_0x29405b['comments'][_0x36c795];}if(_0x29405b['commentsV2']&&_0x29405b['commentsV2']['length']){for(_0x2fa369['commentsV2']=[],_0x36c795=0x0;_0x36c795<_0x29405b['commentsV2']['length'];++_0x36c795)_0x2fa369['commentsV2'][_0x36c795]=_0x3d2f4a['CommentDescriptor']['toObject'](_0x29405b['commentsV2'][_0x36c795],_0x21a4d5);}return null!=_0x29405b['resolvedAt']&&_0x29405b['hasOwnProperty']('resolvedAt')&&(_0x2fa369['resolvedAt']=_0x29405b['resolvedAt']),null!=_0x29405b['resolvedBy']&&_0x29405b['hasOwnProperty']('resolvedBy')&&(_0x2fa369['resolvedBy']=_0x29405b['resolvedBy']),null!=_0x29405b['context']&&_0x29405b['hasOwnProperty']('context')&&(_0x2fa369['context']=_0x29405b['context']),null!=_0x29405b['createdAt']&&_0x29405b['hasOwnProperty']('createdAt')&&(_0x2fa369['createdAt']=_0x29405b['createdAt']),null!=_0x29405b['deletedAt']&&_0x29405b['hasOwnProperty']('deletedAt')&&(_0x2fa369['deletedAt']=_0x29405b['deletedAt']),null!=_0x29405b['attributes']&&_0x29405b['hasOwnProperty']('attributes')&&(_0x2fa369['attributes']=_0x29405b['attributes']),null!=_0x29405b['unlinkedAt']&&_0x29405b['hasOwnProperty']('unlinkedAt')&&(_0x2fa369['unlinkedAt']=_0x29405b['unlinkedAt']),_0x2fa369;},_0x217f7c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x217f7c['getTypeUrl']=function(_0x46b0e){return void 0x0===_0x46b0e&&(_0x46b0e='type.googleapis.com'),_0x46b0e+'/CommentsV2GetCommentThreadResponse';},_0x217f7c;}()),_0x3d2f4a['CommentsV2ConnectResponse']=(function(){function _0xd3a2d8(_0x599511){if(this['threads']=[],this['threadsV2']=[],_0x599511){for(var _0x107acb=Object['keys'](_0x599511),_0x35d49a=0x0;_0x35d49a<_0x107acb['length'];++_0x35d49a)null!=_0x599511[_0x107acb[_0x35d49a]]&&(this[_0x107acb[_0x35d49a]]=_0x599511[_0x107acb[_0x35d49a]]);}}return _0xd3a2d8['prototype']['channel']='',_0xd3a2d8['prototype']['threads']=_0x1a3b11['emptyArray'],_0xd3a2d8['prototype']['threadsV2']=_0x1a3b11['emptyArray'],_0xd3a2d8['create']=function(_0x3f17f0){return new _0xd3a2d8(_0x3f17f0);},_0xd3a2d8['encode']=function(_0x2609f1,_0x48cc41){if(_0x48cc41||(_0x48cc41=_0x5dfb11['create']()),null!=_0x2609f1['channel']&&Object['hasOwnProperty']['call'](_0x2609f1,'channel')&&_0x48cc41['uint32'](0xa)['string'](_0x2609f1['channel']),null!=_0x2609f1['threads']&&_0x2609f1['threads']['length']){for(var _0x5120de=0x0;_0x5120de<_0x2609f1['threads']['length'];++_0x5120de)_0x48cc41['uint32'](0x12)['string'](_0x2609f1['threads'][_0x5120de]);}if(null!=_0x2609f1['threadsV2']&&_0x2609f1['threadsV2']['length']){for(_0x5120de=0x0;_0x5120de<_0x2609f1['threadsV2']['length'];++_0x5120de)_0x3d2f4a['CommentsThreadDescriptor']['encode'](_0x2609f1['threadsV2'][_0x5120de],_0x48cc41['uint32'](0x1a)['fork']())['ldelim']();}return _0x48cc41;},_0xd3a2d8['encodeDelimited']=function(_0x202ab5,_0x4be11b){return this['encode'](_0x202ab5,_0x4be11b)['ldelim']();},_0xd3a2d8['decode']=function(_0x243757,_0x3e7a8f,_0x39d34a){_0x243757 instanceof _0x2abaaa||(_0x243757=_0x2abaaa['create'](_0x243757));for(var _0xb45642=void 0x0===_0x3e7a8f?_0x243757['len']:_0x243757['pos']+_0x3e7a8f,_0x5ee407=new _0x3d2f4a['CommentsV2ConnectResponse']();_0x243757['pos']<_0xb45642;){var _0x1f9355=_0x243757['uint32']();if(_0x1f9355===_0x39d34a)break;switch(_0x1f9355>>>0x3){case 0x1:_0x5ee407['channel']=_0x243757['string']();break;case 0x2:_0x5ee407['threads']&&_0x5ee407['threads']['length']||(_0x5ee407['threads']=[]),_0x5ee407['threads']['push'](_0x243757['string']());break;case 0x3:_0x5ee407['threadsV2']&&_0x5ee407['threadsV2']['length']||(_0x5ee407['threadsV2']=[]),_0x5ee407['threadsV2']['push'](_0x3d2f4a['CommentsThreadDescriptor']['decode'](_0x243757,_0x243757['uint32']()));break;default:_0x243757['skipType'](0x7&_0x1f9355);}}return _0x5ee407;},_0xd3a2d8['decodeDelimited']=function(_0x2d7852){return _0x2d7852 instanceof _0x2abaaa||(_0x2d7852=new _0x2abaaa(_0x2d7852)),this['decode'](_0x2d7852,_0x2d7852['uint32']());},_0xd3a2d8['verify']=function(_0x359a64){if('object'!=typeof _0x359a64||null===_0x359a64)return'object\x20expected';if(null!=_0x359a64['channel']&&_0x359a64['hasOwnProperty']('channel')&&!_0x1a3b11['isString'](_0x359a64['channel']))return'channel:\x20string\x20expected';if(null!=_0x359a64['threads']&&_0x359a64['hasOwnProperty']('threads')){if(!Array['isArray'](_0x359a64['threads']))return'threads:\x20array\x20expected';for(var _0x86ebb5=0x0;_0x86ebb5<_0x359a64['threads']['length'];++_0x86ebb5)if(!_0x1a3b11['isString'](_0x359a64['threads'][_0x86ebb5]))return'threads:\x20string[]\x20expected';}if(null!=_0x359a64['threadsV2']&&_0x359a64['hasOwnProperty']('threadsV2')){if(!Array['isArray'](_0x359a64['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x86ebb5=0x0;_0x86ebb5<_0x359a64['threadsV2']['length'];++_0x86ebb5){var _0x5d3281=_0x3d2f4a['CommentsThreadDescriptor']['verify'](_0x359a64['threadsV2'][_0x86ebb5]);if(_0x5d3281)return'threadsV2.'+_0x5d3281;}}return null;},_0xd3a2d8['fromObject']=function(_0x4655da){if(_0x4655da instanceof _0x3d2f4a['CommentsV2ConnectResponse'])return _0x4655da;var _0x5b53ec=new _0x3d2f4a['CommentsV2ConnectResponse']();if(null!=_0x4655da['channel']&&(_0x5b53ec['channel']=String(_0x4655da['channel'])),_0x4655da['threads']){if(!Array['isArray'](_0x4655da['threads']))throw TypeError('.CommentsV2ConnectResponse.threads:\x20array\x20expected');_0x5b53ec['threads']=[];for(var _0x54d1c9=0x0;_0x54d1c9<_0x4655da['threads']['length'];++_0x54d1c9)_0x5b53ec['threads'][_0x54d1c9]=String(_0x4655da['threads'][_0x54d1c9]);}if(_0x4655da['threadsV2']){if(!Array['isArray'](_0x4655da['threadsV2']))throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20array\x20expected');for(_0x5b53ec['threadsV2']=[],_0x54d1c9=0x0;_0x54d1c9<_0x4655da['threadsV2']['length'];++_0x54d1c9){if('object'!=typeof _0x4655da['threadsV2'][_0x54d1c9])throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20object\x20expected');_0x5b53ec['threadsV2'][_0x54d1c9]=_0x3d2f4a['CommentsThreadDescriptor']['fromObject'](_0x4655da['threadsV2'][_0x54d1c9]);}}return _0x5b53ec;},_0xd3a2d8['toObject']=function(_0x46c7ad,_0x508e19){_0x508e19||(_0x508e19={});var _0x4d9da9={};if((_0x508e19['arrays']||_0x508e19['defaults'])&&(_0x4d9da9['threads']=[],_0x4d9da9['threadsV2']=[]),_0x508e19['defaults']&&(_0x4d9da9['channel']=''),null!=_0x46c7ad['channel']&&_0x46c7ad['hasOwnProperty']('channel')&&(_0x4d9da9['channel']=_0x46c7ad['channel']),_0x46c7ad['threads']&&_0x46c7ad['threads']['length']){_0x4d9da9['threads']=[];for(var _0x13697f=0x0;_0x13697f<_0x46c7ad['threads']['length'];++_0x13697f)_0x4d9da9['threads'][_0x13697f]=_0x46c7ad['threads'][_0x13697f];}if(_0x46c7ad['threadsV2']&&_0x46c7ad['threadsV2']['length']){for(_0x4d9da9['threadsV2']=[],_0x13697f=0x0;_0x13697f<_0x46c7ad['threadsV2']['length'];++_0x13697f)_0x4d9da9['threadsV2'][_0x13697f]=_0x3d2f4a['CommentsThreadDescriptor']['toObject'](_0x46c7ad['threadsV2'][_0x13697f],_0x508e19);}return _0x4d9da9;},_0xd3a2d8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xd3a2d8['getTypeUrl']=function(_0x4ff706){return void 0x0===_0x4ff706&&(_0x4ff706='type.googleapis.com'),_0x4ff706+'/CommentsV2ConnectResponse';},_0xd3a2d8;}()),_0x3d2f4a['CommentsV2AddCommentResponse']=(function(){function _0x116f6e(_0x5c5037){if(_0x5c5037){for(var _0x385e39=Object['keys'](_0x5c5037),_0x24c606=0x0;_0x24c606<_0x385e39['length'];++_0x24c606)null!=_0x5c5037[_0x385e39[_0x24c606]]&&(this[_0x385e39[_0x24c606]]=_0x5c5037[_0x385e39[_0x24c606]]);}}return _0x116f6e['prototype']['commentThreadId']='',_0x116f6e['prototype']['commentId']='',_0x116f6e['prototype']['createdAt']='',_0x116f6e['create']=function(_0x421a88){return new _0x116f6e(_0x421a88);},_0x116f6e['encode']=function(_0x312d57,_0x2b5ebc){return _0x2b5ebc||(_0x2b5ebc=_0x5dfb11['create']()),null!=_0x312d57['commentThreadId']&&Object['hasOwnProperty']['call'](_0x312d57,'commentThreadId')&&_0x2b5ebc['uint32'](0xa)['string'](_0x312d57['commentThreadId']),null!=_0x312d57['commentId']&&Object['hasOwnProperty']['call'](_0x312d57,'commentId')&&_0x2b5ebc['uint32'](0x12)['string'](_0x312d57['commentId']),null!=_0x312d57['createdAt']&&Object['hasOwnProperty']['call'](_0x312d57,'createdAt')&&_0x2b5ebc['uint32'](0x1a)['string'](_0x312d57['createdAt']),_0x2b5ebc;},_0x116f6e['encodeDelimited']=function(_0x45dd37,_0x334d5e){return this['encode'](_0x45dd37,_0x334d5e)['ldelim']();},_0x116f6e['decode']=function(_0x7a21b2,_0x4c3fa9,_0x345a38){_0x7a21b2 instanceof _0x2abaaa||(_0x7a21b2=_0x2abaaa['create'](_0x7a21b2));for(var _0x4a8d4c=void 0x0===_0x4c3fa9?_0x7a21b2['len']:_0x7a21b2['pos']+_0x4c3fa9,_0x52aa94=new _0x3d2f4a['CommentsV2AddCommentResponse']();_0x7a21b2['pos']<_0x4a8d4c;){var _0x49ab52=_0x7a21b2['uint32']();if(_0x49ab52===_0x345a38)break;switch(_0x49ab52>>>0x3){case 0x1:_0x52aa94['commentThreadId']=_0x7a21b2['string']();break;case 0x2:_0x52aa94['commentId']=_0x7a21b2['string']();break;case 0x3:_0x52aa94['createdAt']=_0x7a21b2['string']();break;default:_0x7a21b2['skipType'](0x7&_0x49ab52);}}return _0x52aa94;},_0x116f6e['decodeDelimited']=function(_0x10a369){return _0x10a369 instanceof _0x2abaaa||(_0x10a369=new _0x2abaaa(_0x10a369)),this['decode'](_0x10a369,_0x10a369['uint32']());},_0x116f6e['verify']=function(_0x59d24c){return'object'!=typeof _0x59d24c||null===_0x59d24c?'object\x20expected':null!=_0x59d24c['commentThreadId']&&_0x59d24c['hasOwnProperty']('commentThreadId')&&!_0x1a3b11['isString'](_0x59d24c['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x59d24c['commentId']&&_0x59d24c['hasOwnProperty']('commentId')&&!_0x1a3b11['isString'](_0x59d24c['commentId'])?'commentId:\x20string\x20expected':null!=_0x59d24c['createdAt']&&_0x59d24c['hasOwnProperty']('createdAt')&&!_0x1a3b11['isString'](_0x59d24c['createdAt'])?'createdAt:\x20string\x20expected':null;},_0x116f6e['fromObject']=function(_0x13e509){if(_0x13e509 instanceof _0x3d2f4a['CommentsV2AddCommentResponse'])return _0x13e509;var _0x38a063=new _0x3d2f4a['CommentsV2AddCommentResponse']();return null!=_0x13e509['commentThreadId']&&(_0x38a063['commentThreadId']=String(_0x13e509['commentThreadId'])),null!=_0x13e509['commentId']&&(_0x38a063['commentId']=String(_0x13e509['commentId'])),null!=_0x13e509['createdAt']&&(_0x38a063['createdAt']=String(_0x13e509['createdAt'])),_0x38a063;},_0x116f6e['toObject']=function(_0x347c12,_0x5debf9){_0x5debf9||(_0x5debf9={});var _0x4c10a2={};return _0x5debf9['defaults']&&(_0x4c10a2['commentThreadId']='',_0x4c10a2['commentId']='',_0x4c10a2['createdAt']=''),null!=_0x347c12['commentThreadId']&&_0x347c12['hasOwnProperty']('commentThreadId')&&(_0x4c10a2['commentThreadId']=_0x347c12['commentThreadId']),null!=_0x347c12['commentId']&&_0x347c12['hasOwnProperty']('commentId')&&(_0x4c10a2['commentId']=_0x347c12['commentId']),null!=_0x347c12['createdAt']&&_0x347c12['hasOwnProperty']('createdAt')&&(_0x4c10a2['createdAt']=_0x347c12['createdAt']),_0x4c10a2;},_0x116f6e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x116f6e['getTypeUrl']=function(_0x38a37e){return void 0x0===_0x38a37e&&(_0x38a37e='type.googleapis.com'),_0x38a37e+'/CommentsV2AddCommentResponse';},_0x116f6e;}()),_0x3d2f4a['CommentsV2ResolveCommentThreadResponse']=(function(){function _0x589eeb(_0xc0a11e){if(_0xc0a11e){for(var _0x5daedc=Object['keys'](_0xc0a11e),_0x3974da=0x0;_0x3974da<_0x5daedc['length'];++_0x3974da)null!=_0xc0a11e[_0x5daedc[_0x3974da]]&&(this[_0x5daedc[_0x3974da]]=_0xc0a11e[_0x5daedc[_0x3974da]]);}}return _0x589eeb['prototype']['commentThreadId']='',_0x589eeb['prototype']['documentId']='',_0x589eeb['prototype']['resolvedAt']='',_0x589eeb['prototype']['resolvedBy']='',_0x589eeb['create']=function(_0x5e2ca2){return new _0x589eeb(_0x5e2ca2);},_0x589eeb['encode']=function(_0x5beeb2,_0x170310){return _0x170310||(_0x170310=_0x5dfb11['create']()),null!=_0x5beeb2['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5beeb2,'commentThreadId')&&_0x170310['uint32'](0xa)['string'](_0x5beeb2['commentThreadId']),null!=_0x5beeb2['documentId']&&Object['hasOwnProperty']['call'](_0x5beeb2,'documentId')&&_0x170310['uint32'](0x12)['string'](_0x5beeb2['documentId']),null!=_0x5beeb2['resolvedAt']&&Object['hasOwnProperty']['call'](_0x5beeb2,'resolvedAt')&&_0x170310['uint32'](0x1a)['string'](_0x5beeb2['resolvedAt']),null!=_0x5beeb2['resolvedBy']&&Object['hasOwnProperty']['call'](_0x5beeb2,'resolvedBy')&&_0x170310['uint32'](0x22)['string'](_0x5beeb2['resolvedBy']),_0x170310;},_0x589eeb['encodeDelimited']=function(_0x4061b8,_0x241c2e){return this['encode'](_0x4061b8,_0x241c2e)['ldelim']();},_0x589eeb['decode']=function(_0xecdb98,_0xd3555e,_0x1b4900){_0xecdb98 instanceof _0x2abaaa||(_0xecdb98=_0x2abaaa['create'](_0xecdb98));for(var _0x58ef5=void 0x0===_0xd3555e?_0xecdb98['len']:_0xecdb98['pos']+_0xd3555e,_0x353b24=new _0x3d2f4a['CommentsV2ResolveCommentThreadResponse']();_0xecdb98['pos']<_0x58ef5;){var _0x59c2d9=_0xecdb98['uint32']();if(_0x59c2d9===_0x1b4900)break;switch(_0x59c2d9>>>0x3){case 0x1:_0x353b24['commentThreadId']=_0xecdb98['string']();break;case 0x2:_0x353b24['documentId']=_0xecdb98['string']();break;case 0x3:_0x353b24['resolvedAt']=_0xecdb98['string']();break;case 0x4:_0x353b24['resolvedBy']=_0xecdb98['string']();break;default:_0xecdb98['skipType'](0x7&_0x59c2d9);}}return _0x353b24;},_0x589eeb['decodeDelimited']=function(_0x23c796){return _0x23c796 instanceof _0x2abaaa||(_0x23c796=new _0x2abaaa(_0x23c796)),this['decode'](_0x23c796,_0x23c796['uint32']());},_0x589eeb['verify']=function(_0x3c36dc){return'object'!=typeof _0x3c36dc||null===_0x3c36dc?'object\x20expected':null!=_0x3c36dc['commentThreadId']&&_0x3c36dc['hasOwnProperty']('commentThreadId')&&!_0x1a3b11['isString'](_0x3c36dc['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x3c36dc['documentId']&&_0x3c36dc['hasOwnProperty']('documentId')&&!_0x1a3b11['isString'](_0x3c36dc['documentId'])?'documentId:\x20string\x20expected':null!=_0x3c36dc['resolvedAt']&&_0x3c36dc['hasOwnProperty']('resolvedAt')&&!_0x1a3b11['isString'](_0x3c36dc['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x3c36dc['resolvedBy']&&_0x3c36dc['hasOwnProperty']('resolvedBy')&&!_0x1a3b11['isString'](_0x3c36dc['resolvedBy'])?'resolvedBy:\x20string\x20expected':null;},_0x589eeb['fromObject']=function(_0x45aea9){if(_0x45aea9 instanceof _0x3d2f4a['CommentsV2ResolveCommentThreadResponse'])return _0x45aea9;var _0x24fb2a=new _0x3d2f4a['CommentsV2ResolveCommentThreadResponse']();return null!=_0x45aea9['commentThreadId']&&(_0x24fb2a['commentThreadId']=String(_0x45aea9['commentThreadId'])),null!=_0x45aea9['documentId']&&(_0x24fb2a['documentId']=String(_0x45aea9['documentId'])),null!=_0x45aea9['resolvedAt']&&(_0x24fb2a['resolvedAt']=String(_0x45aea9['resolvedAt'])),null!=_0x45aea9['resolvedBy']&&(_0x24fb2a['resolvedBy']=String(_0x45aea9['resolvedBy'])),_0x24fb2a;},_0x589eeb['toObject']=function(_0xb5db6,_0x293c72){_0x293c72||(_0x293c72={});var _0x5e0621={};return _0x293c72['defaults']&&(_0x5e0621['commentThreadId']='',_0x5e0621['documentId']='',_0x5e0621['resolvedAt']='',_0x5e0621['resolvedBy']=''),null!=_0xb5db6['commentThreadId']&&_0xb5db6['hasOwnProperty']('commentThreadId')&&(_0x5e0621['commentThreadId']=_0xb5db6['commentThreadId']),null!=_0xb5db6['documentId']&&_0xb5db6['hasOwnProperty']('documentId')&&(_0x5e0621['documentId']=_0xb5db6['documentId']),null!=_0xb5db6['resolvedAt']&&_0xb5db6['hasOwnProperty']('resolvedAt')&&(_0x5e0621['resolvedAt']=_0xb5db6['resolvedAt']),null!=_0xb5db6['resolvedBy']&&_0xb5db6['hasOwnProperty']('resolvedBy')&&(_0x5e0621['resolvedBy']=_0xb5db6['resolvedBy']),_0x5e0621;},_0x589eeb['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x589eeb['getTypeUrl']=function(_0x2afde9){return void 0x0===_0x2afde9&&(_0x2afde9='type.googleapis.com'),_0x2afde9+'/CommentsV2ResolveCommentThreadResponse';},_0x589eeb;}()),_0x3d2f4a['CommentsV2AddCommentThreadResponse']=(function(){function _0x4d5aad(_0x478ad3){if(this['comments']=[],_0x478ad3){for(var _0xfde6f9=Object['keys'](_0x478ad3),_0x3bca50=0x0;_0x3bca50<_0xfde6f9['length'];++_0x3bca50)null!=_0x478ad3[_0xfde6f9[_0x3bca50]]&&(this[_0xfde6f9[_0x3bca50]]=_0x478ad3[_0xfde6f9[_0x3bca50]]);}}return _0x4d5aad['prototype']['commentThreadId']='',_0x4d5aad['prototype']['createdAt']='',_0x4d5aad['prototype']['comments']=_0x1a3b11['emptyArray'],_0x4d5aad['create']=function(_0x15056b){return new _0x4d5aad(_0x15056b);},_0x4d5aad['encode']=function(_0x122621,_0x3feeba){if(_0x3feeba||(_0x3feeba=_0x5dfb11['create']()),null!=_0x122621['commentThreadId']&&Object['hasOwnProperty']['call'](_0x122621,'commentThreadId')&&_0x3feeba['uint32'](0xa)['string'](_0x122621['commentThreadId']),null!=_0x122621['createdAt']&&Object['hasOwnProperty']['call'](_0x122621,'createdAt')&&_0x3feeba['uint32'](0x12)['string'](_0x122621['createdAt']),null!=_0x122621['comments']&&_0x122621['comments']['length']){for(var _0x4ee51b=0x0;_0x4ee51b<_0x122621['comments']['length'];++_0x4ee51b)_0x3d2f4a['CommentThreadAddedCommentDescriptor']['encode'](_0x122621['comments'][_0x4ee51b],_0x3feeba['uint32'](0x1a)['fork']())['ldelim']();}return _0x3feeba;},_0x4d5aad['encodeDelimited']=function(_0x212499,_0x39789e){return this['encode'](_0x212499,_0x39789e)['ldelim']();},_0x4d5aad['decode']=function(_0x147726,_0x517324,_0xf1ab4f){_0x147726 instanceof _0x2abaaa||(_0x147726=_0x2abaaa['create'](_0x147726));for(var _0x31f2a8=void 0x0===_0x517324?_0x147726['len']:_0x147726['pos']+_0x517324,_0x10e7ac=new _0x3d2f4a['CommentsV2AddCommentThreadResponse']();_0x147726['pos']<_0x31f2a8;){var _0x1a69b0=_0x147726['uint32']();if(_0x1a69b0===_0xf1ab4f)break;switch(_0x1a69b0>>>0x3){case 0x1:_0x10e7ac['commentThreadId']=_0x147726['string']();break;case 0x2:_0x10e7ac['createdAt']=_0x147726['string']();break;case 0x3:_0x10e7ac['comments']&&_0x10e7ac['comments']['length']||(_0x10e7ac['comments']=[]),_0x10e7ac['comments']['push'](_0x3d2f4a['CommentThreadAddedCommentDescriptor']['decode'](_0x147726,_0x147726['uint32']()));break;default:_0x147726['skipType'](0x7&_0x1a69b0);}}return _0x10e7ac;},_0x4d5aad['decodeDelimited']=function(_0x26b560){return _0x26b560 instanceof _0x2abaaa||(_0x26b560=new _0x2abaaa(_0x26b560)),this['decode'](_0x26b560,_0x26b560['uint32']());},_0x4d5aad['verify']=function(_0x56f449){if('object'!=typeof _0x56f449||null===_0x56f449)return'object\x20expected';if(null!=_0x56f449['commentThreadId']&&_0x56f449['hasOwnProperty']('commentThreadId')&&!_0x1a3b11['isString'](_0x56f449['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x56f449['createdAt']&&_0x56f449['hasOwnProperty']('createdAt')&&!_0x1a3b11['isString'](_0x56f449['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x56f449['comments']&&_0x56f449['hasOwnProperty']('comments')){if(!Array['isArray'](_0x56f449['comments']))return'comments:\x20array\x20expected';for(var _0x49a62f=0x0;_0x49a62f<_0x56f449['comments']['length'];++_0x49a62f){var _0x39c48d=_0x3d2f4a['CommentThreadAddedCommentDescriptor']['verify'](_0x56f449['comments'][_0x49a62f]);if(_0x39c48d)return'comments.'+_0x39c48d;}}return null;},_0x4d5aad['fromObject']=function(_0x41f4fc){if(_0x41f4fc instanceof _0x3d2f4a['CommentsV2AddCommentThreadResponse'])return _0x41f4fc;var _0x404b9b=new _0x3d2f4a['CommentsV2AddCommentThreadResponse']();if(null!=_0x41f4fc['commentThreadId']&&(_0x404b9b['commentThreadId']=String(_0x41f4fc['commentThreadId'])),null!=_0x41f4fc['createdAt']&&(_0x404b9b['createdAt']=String(_0x41f4fc['createdAt'])),_0x41f4fc['comments']){if(!Array['isArray'](_0x41f4fc['comments']))throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20array\x20expected');_0x404b9b['comments']=[];for(var _0x5bf750=0x0;_0x5bf750<_0x41f4fc['comments']['length'];++_0x5bf750){if('object'!=typeof _0x41f4fc['comments'][_0x5bf750])throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20object\x20expected');_0x404b9b['comments'][_0x5bf750]=_0x3d2f4a['CommentThreadAddedCommentDescriptor']['fromObject'](_0x41f4fc['comments'][_0x5bf750]);}}return _0x404b9b;},_0x4d5aad['toObject']=function(_0x78e41d,_0x2be5cf){_0x2be5cf||(_0x2be5cf={});var _0x167ac6={};if((_0x2be5cf['arrays']||_0x2be5cf['defaults'])&&(_0x167ac6['comments']=[]),_0x2be5cf['defaults']&&(_0x167ac6['commentThreadId']='',_0x167ac6['createdAt']=''),null!=_0x78e41d['commentThreadId']&&_0x78e41d['hasOwnProperty']('commentThreadId')&&(_0x167ac6['commentThreadId']=_0x78e41d['commentThreadId']),null!=_0x78e41d['createdAt']&&_0x78e41d['hasOwnProperty']('createdAt')&&(_0x167ac6['createdAt']=_0x78e41d['createdAt']),_0x78e41d['comments']&&_0x78e41d['comments']['length']){_0x167ac6['comments']=[];for(var _0x308fe4=0x0;_0x308fe4<_0x78e41d['comments']['length'];++_0x308fe4)_0x167ac6['comments'][_0x308fe4]=_0x3d2f4a['CommentThreadAddedCommentDescriptor']['toObject'](_0x78e41d['comments'][_0x308fe4],_0x2be5cf);}return _0x167ac6;},_0x4d5aad['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4d5aad['getTypeUrl']=function(_0x404148){return void 0x0===_0x404148&&(_0x404148='type.googleapis.com'),_0x404148+'/CommentsV2AddCommentThreadResponse';},_0x4d5aad;}()),_0x3d2f4a['CommentsV2UpdateCommentMessage']=(function(){function _0x36b433(_0x569b3c){if(_0x569b3c){for(var _0x244e0c=Object['keys'](_0x569b3c),_0x5ca693=0x0;_0x5ca693<_0x244e0c['length'];++_0x5ca693)null!=_0x569b3c[_0x244e0c[_0x5ca693]]&&(this[_0x244e0c[_0x5ca693]]=_0x569b3c[_0x244e0c[_0x5ca693]]);}}return _0x36b433['prototype']['commentThreadId']='',_0x36b433['prototype']['commentId']='',_0x36b433['prototype']['content']='',_0x36b433['prototype']['documentId']='',_0x36b433['prototype']['attributes']='',_0x36b433['prototype']['isAttributesUpdated']=!0x1,_0x36b433['prototype']['commentThread']=null,_0x36b433['create']=function(_0x4181a9){return new _0x36b433(_0x4181a9);},_0x36b433['encode']=function(_0x190f27,_0x45e945){return _0x45e945||(_0x45e945=_0x5dfb11['create']()),null!=_0x190f27['commentThreadId']&&Object['hasOwnProperty']['call'](_0x190f27,'commentThreadId')&&_0x45e945['uint32'](0xa)['string'](_0x190f27['commentThreadId']),null!=_0x190f27['commentId']&&Object['hasOwnProperty']['call'](_0x190f27,'commentId')&&_0x45e945['uint32'](0x12)['string'](_0x190f27['commentId']),null!=_0x190f27['content']&&Object['hasOwnProperty']['call'](_0x190f27,'content')&&_0x45e945['uint32'](0x1a)['string'](_0x190f27['content']),null!=_0x190f27['documentId']&&Object['hasOwnProperty']['call'](_0x190f27,'documentId')&&_0x45e945['uint32'](0x22)['string'](_0x190f27['documentId']),null!=_0x190f27['attributes']&&Object['hasOwnProperty']['call'](_0x190f27,'attributes')&&_0x45e945['uint32'](0x2a)['string'](_0x190f27['attributes']),null!=_0x190f27['isAttributesUpdated']&&Object['hasOwnProperty']['call'](_0x190f27,'isAttributesUpdated')&&_0x45e945['uint32'](0x30)['bool'](_0x190f27['isAttributesUpdated']),null!=_0x190f27['commentThread']&&Object['hasOwnProperty']['call'](_0x190f27,'commentThread')&&_0x3d2f4a['CommentsThreadDescriptor']['encode'](_0x190f27['commentThread'],_0x45e945['uint32'](0x3a)['fork']())['ldelim'](),_0x45e945;},_0x36b433['encodeDelimited']=function(_0x1067fa,_0x52c40b){return this['encode'](_0x1067fa,_0x52c40b)['ldelim']();},_0x36b433['decode']=function(_0x369dd8,_0x4a6e6f,_0x56924b){_0x369dd8 instanceof _0x2abaaa||(_0x369dd8=_0x2abaaa['create'](_0x369dd8));for(var _0x2047f1=void 0x0===_0x4a6e6f?_0x369dd8['len']:_0x369dd8['pos']+_0x4a6e6f,_0x534555=new _0x3d2f4a['CommentsV2UpdateCommentMessage']();_0x369dd8['pos']<_0x2047f1;){var _0x119425=_0x369dd8['uint32']();if(_0x119425===_0x56924b)break;switch(_0x119425>>>0x3){case 0x1:_0x534555['commentThreadId']=_0x369dd8['string']();break;case 0x2:_0x534555['commentId']=_0x369dd8['string']();break;case 0x3:_0x534555['content']=_0x369dd8['string']();break;case 0x4:_0x534555['documentId']=_0x369dd8['string']();break;case 0x5:_0x534555['attributes']=_0x369dd8['string']();break;case 0x6:_0x534555['isAttributesUpdated']=_0x369dd8['bool']();break;case 0x7:_0x534555['commentThread']=_0x3d2f4a['CommentsThreadDescriptor']['decode'](_0x369dd8,_0x369dd8['uint32']());break;default:_0x369dd8['skipType'](0x7&_0x119425);}}return _0x534555;},_0x36b433['decodeDelimited']=function(_0x141f06){return _0x141f06 instanceof _0x2abaaa||(_0x141f06=new _0x2abaaa(_0x141f06)),this['decode'](_0x141f06,_0x141f06['uint32']());},_0x36b433['verify']=function(_0x3c6163){if('object'!=typeof _0x3c6163||null===_0x3c6163)return'object\x20expected';if(null!=_0x3c6163['commentThreadId']&&_0x3c6163['hasOwnProperty']('commentThreadId')&&!_0x1a3b11['isString'](_0x3c6163['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x3c6163['commentId']&&_0x3c6163['hasOwnProperty']('commentId')&&!_0x1a3b11['isString'](_0x3c6163['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x3c6163['content']&&_0x3c6163['hasOwnProperty']('content')&&!_0x1a3b11['isString'](_0x3c6163['content']))return'content:\x20string\x20expected';if(null!=_0x3c6163['documentId']&&_0x3c6163['hasOwnProperty']('documentId')&&!_0x1a3b11['isString'](_0x3c6163['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x3c6163['attributes']&&_0x3c6163['hasOwnProperty']('attributes')&&!_0x1a3b11['isString'](_0x3c6163['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x3c6163['isAttributesUpdated']&&_0x3c6163['hasOwnProperty']('isAttributesUpdated')&&'boolean'!=typeof _0x3c6163['isAttributesUpdated'])return'isAttributesUpdated:\x20boolean\x20expected';if(null!=_0x3c6163['commentThread']&&_0x3c6163['hasOwnProperty']('commentThread')){var _0x3dc500=_0x3d2f4a['CommentsThreadDescriptor']['verify'](_0x3c6163['commentThread']);if(_0x3dc500)return'commentThread.'+_0x3dc500;}return null;},_0x36b433['fromObject']=function(_0x1fd558){if(_0x1fd558 instanceof _0x3d2f4a['CommentsV2UpdateCommentMessage'])return _0x1fd558;var _0x1aab4d=new _0x3d2f4a['CommentsV2UpdateCommentMessage']();if(null!=_0x1fd558['commentThreadId']&&(_0x1aab4d['commentThreadId']=String(_0x1fd558['commentThreadId'])),null!=_0x1fd558['commentId']&&(_0x1aab4d['commentId']=String(_0x1fd558['commentId'])),null!=_0x1fd558['content']&&(_0x1aab4d['content']=String(_0x1fd558['content'])),null!=_0x1fd558['documentId']&&(_0x1aab4d['documentId']=String(_0x1fd558['documentId'])),null!=_0x1fd558['attributes']&&(_0x1aab4d['attributes']=String(_0x1fd558['attributes'])),null!=_0x1fd558['isAttributesUpdated']&&(_0x1aab4d['isAttributesUpdated']=Boolean(_0x1fd558['isAttributesUpdated'])),null!=_0x1fd558['commentThread']){if('object'!=typeof _0x1fd558['commentThread'])throw TypeError('.CommentsV2UpdateCommentMessage.commentThread:\x20object\x20expected');_0x1aab4d['commentThread']=_0x3d2f4a['CommentsThreadDescriptor']['fromObject'](_0x1fd558['commentThread']);}return _0x1aab4d;},_0x36b433['toObject']=function(_0x55a01b,_0x15a487){_0x15a487||(_0x15a487={});var _0x3c6a57={};return _0x15a487['defaults']&&(_0x3c6a57['commentThreadId']='',_0x3c6a57['commentId']='',_0x3c6a57['content']='',_0x3c6a57['documentId']='',_0x3c6a57['attributes']='',_0x3c6a57['isAttributesUpdated']=!0x1,_0x3c6a57['commentThread']=null),null!=_0x55a01b['commentThreadId']&&_0x55a01b['hasOwnProperty']('commentThreadId')&&(_0x3c6a57['commentThreadId']=_0x55a01b['commentThreadId']),null!=_0x55a01b['commentId']&&_0x55a01b['hasOwnProperty']('commentId')&&(_0x3c6a57['commentId']=_0x55a01b['commentId']),null!=_0x55a01b['content']&&_0x55a01b['hasOwnProperty']('content')&&(_0x3c6a57['content']=_0x55a01b['content']),null!=_0x55a01b['documentId']&&_0x55a01b['hasOwnProperty']('documentId')&&(_0x3c6a57['documentId']=_0x55a01b['documentId']),null!=_0x55a01b['attributes']&&_0x55a01b['hasOwnProperty']('attributes')&&(_0x3c6a57['attributes']=_0x55a01b['attributes']),null!=_0x55a01b['isAttributesUpdated']&&_0x55a01b['hasOwnProperty']('isAttributesUpdated')&&(_0x3c6a57['isAttributesUpdated']=_0x55a01b['isAttributesUpdated']),null!=_0x55a01b['commentThread']&&_0x55a01b['hasOwnProperty']('commentThread')&&(_0x3c6a57['commentThread']=_0x3d2f4a['CommentsThreadDescriptor']['toObject'](_0x55a01b['commentThread'],_0x15a487)),_0x3c6a57;},_0x36b433['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x36b433['getTypeUrl']=function(_0x45d260){return void 0x0===_0x45d260&&(_0x45d260='type.googleapis.com'),_0x45d260+'/CommentsV2UpdateCommentMessage';},_0x36b433;}()),_0x3d2f4a['CommentsV2RemoveCommentThreadMessage']=(function(){function _0x28666c(_0x48fd6e){if(_0x48fd6e){for(var _0x1c58a8=Object['keys'](_0x48fd6e),_0x49349a=0x0;_0x49349a<_0x1c58a8['length'];++_0x49349a)null!=_0x48fd6e[_0x1c58a8[_0x49349a]]&&(this[_0x1c58a8[_0x49349a]]=_0x48fd6e[_0x1c58a8[_0x49349a]]);}}return _0x28666c['prototype']['commentThreadId']='',_0x28666c['prototype']['documentId']='',_0x28666c['create']=function(_0x22e2ec){return new _0x28666c(_0x22e2ec);},_0x28666c['encode']=function(_0x5a779d,_0x212596){return _0x212596||(_0x212596=_0x5dfb11['create']()),null!=_0x5a779d['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5a779d,'commentThreadId')&&_0x212596['uint32'](0xa)['string'](_0x5a779d['commentThreadId']),null!=_0x5a779d['documentId']&&Object['hasOwnProperty']['call'](_0x5a779d,'documentId')&&_0x212596['uint32'](0x12)['string'](_0x5a779d['documentId']),_0x212596;},_0x28666c['encodeDelimited']=function(_0x290637,_0x11f817){return this['encode'](_0x290637,_0x11f817)['ldelim']();},_0x28666c['decode']=function(_0x52ea8d,_0x38004a,_0x5d8d11){_0x52ea8d instanceof _0x2abaaa||(_0x52ea8d=_0x2abaaa['create'](_0x52ea8d));for(var _0x4dc7c4=void 0x0===_0x38004a?_0x52ea8d['len']:_0x52ea8d['pos']+_0x38004a,_0xe47216=new _0x3d2f4a['CommentsV2RemoveCommentThreadMessage']();_0x52ea8d['pos']<_0x4dc7c4;){var _0x106932=_0x52ea8d['uint32']();if(_0x106932===_0x5d8d11)break;switch(_0x106932>>>0x3){case 0x1:_0xe47216['commentThreadId']=_0x52ea8d['string']();break;case 0x2:_0xe47216['documentId']=_0x52ea8d['string']();break;default:_0x52ea8d['skipType'](0x7&_0x106932);}}return _0xe47216;},_0x28666c['decodeDelimited']=function(_0x2ce4be){return _0x2ce4be instanceof _0x2abaaa||(_0x2ce4be=new _0x2abaaa(_0x2ce4be)),this['decode'](_0x2ce4be,_0x2ce4be['uint32']());},_0x28666c['verify']=function(_0x335111){return'object'!=typeof _0x335111||null===_0x335111?'object\x20expected':null!=_0x335111['commentThreadId']&&_0x335111['hasOwnProperty']('commentThreadId')&&!_0x1a3b11['isString'](_0x335111['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x335111['documentId']&&_0x335111['hasOwnProperty']('documentId')&&!_0x1a3b11['isString'](_0x335111['documentId'])?'documentId:\x20string\x20expected':null;},_0x28666c['fromObject']=function(_0x592fa9){if(_0x592fa9 instanceof _0x3d2f4a['CommentsV2RemoveCommentThreadMessage'])return _0x592fa9;var _0xdaad0b=new _0x3d2f4a['CommentsV2RemoveCommentThreadMessage']();return null!=_0x592fa9['commentThreadId']&&(_0xdaad0b['commentThreadId']=String(_0x592fa9['commentThreadId'])),null!=_0x592fa9['documentId']&&(_0xdaad0b['documentId']=String(_0x592fa9['documentId'])),_0xdaad0b;},_0x28666c['toObject']=function(_0x342cb2,_0x4aca1c){_0x4aca1c||(_0x4aca1c={});var _0x15c6e8={};return _0x4aca1c['defaults']&&(_0x15c6e8['commentThreadId']='',_0x15c6e8['documentId']=''),null!=_0x342cb2['commentThreadId']&&_0x342cb2['hasOwnProperty']('commentThreadId')&&(_0x15c6e8['commentThreadId']=_0x342cb2['commentThreadId']),null!=_0x342cb2['documentId']&&_0x342cb2['hasOwnProperty']('documentId')&&(_0x15c6e8['documentId']=_0x342cb2['documentId']),_0x15c6e8;},_0x28666c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x28666c['getTypeUrl']=function(_0x75f74){return void 0x0===_0x75f74&&(_0x75f74='type.googleapis.com'),_0x75f74+'/CommentsV2RemoveCommentThreadMessage';},_0x28666c;}()),_0x3d2f4a['CommentsV2RemoveCommentMessage']=(function(){function _0x1fcf14(_0x2a5785){if(_0x2a5785){for(var _0x4b811a=Object['keys'](_0x2a5785),_0x478cfd=0x0;_0x478cfd<_0x4b811a['length'];++_0x478cfd)null!=_0x2a5785[_0x4b811a[_0x478cfd]]&&(this[_0x4b811a[_0x478cfd]]=_0x2a5785[_0x4b811a[_0x478cfd]]);}}return _0x1fcf14['prototype']['commentThreadId']='',_0x1fcf14['prototype']['commentId']='',_0x1fcf14['prototype']['documentId']='',_0x1fcf14['create']=function(_0xfcedb6){return new _0x1fcf14(_0xfcedb6);},_0x1fcf14['encode']=function(_0x5bedd7,_0x2c1ecd){return _0x2c1ecd||(_0x2c1ecd=_0x5dfb11['create']()),null!=_0x5bedd7['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5bedd7,'commentThreadId')&&_0x2c1ecd['uint32'](0xa)['string'](_0x5bedd7['commentThreadId']),null!=_0x5bedd7['commentId']&&Object['hasOwnProperty']['call'](_0x5bedd7,'commentId')&&_0x2c1ecd['uint32'](0x12)['string'](_0x5bedd7['commentId']),null!=_0x5bedd7['documentId']&&Object['hasOwnProperty']['call'](_0x5bedd7,'documentId')&&_0x2c1ecd['uint32'](0x1a)['string'](_0x5bedd7['documentId']),_0x2c1ecd;},_0x1fcf14['encodeDelimited']=function(_0x15333a,_0x37eb17){return this['encode'](_0x15333a,_0x37eb17)['ldelim']();},_0x1fcf14['decode']=function(_0x5101a9,_0x3e5ea3,_0x4d340c){_0x5101a9 instanceof _0x2abaaa||(_0x5101a9=_0x2abaaa['create'](_0x5101a9));for(var _0x4b2208=void 0x0===_0x3e5ea3?_0x5101a9['len']:_0x5101a9['pos']+_0x3e5ea3,_0x2e4a76=new _0x3d2f4a['CommentsV2RemoveCommentMessage']();_0x5101a9['pos']<_0x4b2208;){var _0xfdbd1c=_0x5101a9['uint32']();if(_0xfdbd1c===_0x4d340c)break;switch(_0xfdbd1c>>>0x3){case 0x1:_0x2e4a76['commentThreadId']=_0x5101a9['string']();break;case 0x2:_0x2e4a76['commentId']=_0x5101a9['string']();break;case 0x3:_0x2e4a76['documentId']=_0x5101a9['string']();break;default:_0x5101a9['skipType'](0x7&_0xfdbd1c);}}return _0x2e4a76;},_0x1fcf14['decodeDelimited']=function(_0x1ab7e7){return _0x1ab7e7 instanceof _0x2abaaa||(_0x1ab7e7=new _0x2abaaa(_0x1ab7e7)),this['decode'](_0x1ab7e7,_0x1ab7e7['uint32']());},_0x1fcf14['verify']=function(_0x32b602){return'object'!=typeof _0x32b602||null===_0x32b602?'object\x20expected':null!=_0x32b602['commentThreadId']&&_0x32b602['hasOwnProperty']('commentThreadId')&&!_0x1a3b11['isString'](_0x32b602['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x32b602['commentId']&&_0x32b602['hasOwnProperty']('commentId')&&!_0x1a3b11['isString'](_0x32b602['commentId'])?'commentId:\x20string\x20expected':null!=_0x32b602['documentId']&&_0x32b602['hasOwnProperty']('documentId')&&!_0x1a3b11['isString'](_0x32b602['documentId'])?'documentId:\x20string\x20expected':null;},_0x1fcf14['fromObject']=function(_0x4f9e06){if(_0x4f9e06 instanceof _0x3d2f4a['CommentsV2RemoveCommentMessage'])return _0x4f9e06;var _0x533bfb=new _0x3d2f4a['CommentsV2RemoveCommentMessage']();return null!=_0x4f9e06['commentThreadId']&&(_0x533bfb['commentThreadId']=String(_0x4f9e06['commentThreadId'])),null!=_0x4f9e06['commentId']&&(_0x533bfb['commentId']=String(_0x4f9e06['commentId'])),null!=_0x4f9e06['documentId']&&(_0x533bfb['documentId']=String(_0x4f9e06['documentId'])),_0x533bfb;},_0x1fcf14['toObject']=function(_0x554032,_0x1111ab){_0x1111ab||(_0x1111ab={});var _0x599b45={};return _0x1111ab['defaults']&&(_0x599b45['commentThreadId']='',_0x599b45['commentId']='',_0x599b45['documentId']=''),null!=_0x554032['commentThreadId']&&_0x554032['hasOwnProperty']('commentThreadId')&&(_0x599b45['commentThreadId']=_0x554032['commentThreadId']),null!=_0x554032['commentId']&&_0x554032['hasOwnProperty']('commentId')&&(_0x599b45['commentId']=_0x554032['commentId']),null!=_0x554032['documentId']&&_0x554032['hasOwnProperty']('documentId')&&(_0x599b45['documentId']=_0x554032['documentId']),_0x599b45;},_0x1fcf14['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1fcf14['getTypeUrl']=function(_0x28ee5a){return void 0x0===_0x28ee5a&&(_0x28ee5a='type.googleapis.com'),_0x28ee5a+'/CommentsV2RemoveCommentMessage';},_0x1fcf14;}()),_0x3d2f4a['CommentsV2GetDocumentThreadsMessage']=(function(){function _0x3b291e(_0x7ab2cb){if(_0x7ab2cb){for(var _0x22f0d2=Object['keys'](_0x7ab2cb),_0x4abaef=0x0;_0x4abaef<_0x22f0d2['length'];++_0x4abaef)null!=_0x7ab2cb[_0x22f0d2[_0x4abaef]]&&(this[_0x22f0d2[_0x4abaef]]=_0x7ab2cb[_0x22f0d2[_0x4abaef]]);}}return _0x3b291e['prototype']['documentId']='',_0x3b291e['create']=function(_0x442738){return new _0x3b291e(_0x442738);},_0x3b291e['encode']=function(_0x34ca1a,_0x361ce4){return _0x361ce4||(_0x361ce4=_0x5dfb11['create']()),null!=_0x34ca1a['documentId']&&Object['hasOwnProperty']['call'](_0x34ca1a,'documentId')&&_0x361ce4['uint32'](0xa)['string'](_0x34ca1a['documentId']),_0x361ce4;},_0x3b291e['encodeDelimited']=function(_0x2dd9f3,_0x4ba264){return this['encode'](_0x2dd9f3,_0x4ba264)['ldelim']();},_0x3b291e['decode']=function(_0x294cf5,_0x33f5ff,_0x55031d){_0x294cf5 instanceof _0x2abaaa||(_0x294cf5=_0x2abaaa['create'](_0x294cf5));for(var _0x26bb45=void 0x0===_0x33f5ff?_0x294cf5['len']:_0x294cf5['pos']+_0x33f5ff,_0x57ba6e=new _0x3d2f4a['CommentsV2GetDocumentThreadsMessage']();_0x294cf5['pos']<_0x26bb45;){var _0x2f2942=_0x294cf5['uint32']();if(_0x2f2942===_0x55031d)break;_0x2f2942>>>0x3==0x1?_0x57ba6e['documentId']=_0x294cf5['string']():_0x294cf5['skipType'](0x7&_0x2f2942);}return _0x57ba6e;},_0x3b291e['decodeDelimited']=function(_0x4b2f3a){return _0x4b2f3a instanceof _0x2abaaa||(_0x4b2f3a=new _0x2abaaa(_0x4b2f3a)),this['decode'](_0x4b2f3a,_0x4b2f3a['uint32']());},_0x3b291e['verify']=function(_0x224660){return'object'!=typeof _0x224660||null===_0x224660?'object\x20expected':null!=_0x224660['documentId']&&_0x224660['hasOwnProperty']('documentId')&&!_0x1a3b11['isString'](_0x224660['documentId'])?'documentId:\x20string\x20expected':null;},_0x3b291e['fromObject']=function(_0xb5c381){if(_0xb5c381 instanceof _0x3d2f4a['CommentsV2GetDocumentThreadsMessage'])return _0xb5c381;var _0x37d997=new _0x3d2f4a['CommentsV2GetDocumentThreadsMessage']();return null!=_0xb5c381['documentId']&&(_0x37d997['documentId']=String(_0xb5c381['documentId'])),_0x37d997;},_0x3b291e['toObject']=function(_0xdcacc3,_0x148759){_0x148759||(_0x148759={});var _0x3dd0a8={};return _0x148759['defaults']&&(_0x3dd0a8['documentId']=''),null!=_0xdcacc3['documentId']&&_0xdcacc3['hasOwnProperty']('documentId')&&(_0x3dd0a8['documentId']=_0xdcacc3['documentId']),_0x3dd0a8;},_0x3b291e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3b291e['getTypeUrl']=function(_0x1b85d0){return void 0x0===_0x1b85d0&&(_0x1b85d0='type.googleapis.com'),_0x1b85d0+'/CommentsV2GetDocumentThreadsMessage';},_0x3b291e;}()),_0x3d2f4a['CommentsV2GetCommentThreadMessage']=(function(){function _0x3407ff(_0x56d304){if(_0x56d304){for(var _0x255c8b=Object['keys'](_0x56d304),_0x597a72=0x0;_0x597a72<_0x255c8b['length'];++_0x597a72)null!=_0x56d304[_0x255c8b[_0x597a72]]&&(this[_0x255c8b[_0x597a72]]=_0x56d304[_0x255c8b[_0x597a72]]);}}return _0x3407ff['prototype']['commentThreadId']='',_0x3407ff['prototype']['documentId']='',_0x3407ff['create']=function(_0x196f7e){return new _0x3407ff(_0x196f7e);},_0x3407ff['encode']=function(_0x59dea3,_0x75a643){return _0x75a643||(_0x75a643=_0x5dfb11['create']()),null!=_0x59dea3['commentThreadId']&&Object['hasOwnProperty']['call'](_0x59dea3,'commentThreadId')&&_0x75a643['uint32'](0xa)['string'](_0x59dea3['commentThreadId']),null!=_0x59dea3['documentId']&&Object['hasOwnProperty']['call'](_0x59dea3,'documentId')&&_0x75a643['uint32'](0x12)['string'](_0x59dea3['documentId']),_0x75a643;},_0x3407ff['encodeDelimited']=function(_0x5cf9e6,_0x47379d){return this['encode'](_0x5cf9e6,_0x47379d)['ldelim']();},_0x3407ff['decode']=function(_0x3d5877,_0xdfa9e3,_0x17e8c6){_0x3d5877 instanceof _0x2abaaa||(_0x3d5877=_0x2abaaa['create'](_0x3d5877));for(var _0x582d4c=void 0x0===_0xdfa9e3?_0x3d5877['len']:_0x3d5877['pos']+_0xdfa9e3,_0x3db740=new _0x3d2f4a['CommentsV2GetCommentThreadMessage']();_0x3d5877['pos']<_0x582d4c;){var _0x13396e=_0x3d5877['uint32']();if(_0x13396e===_0x17e8c6)break;switch(_0x13396e>>>0x3){case 0x1:_0x3db740['commentThreadId']=_0x3d5877['string']();break;case 0x2:_0x3db740['documentId']=_0x3d5877['string']();break;default:_0x3d5877['skipType'](0x7&_0x13396e);}}return _0x3db740;},_0x3407ff['decodeDelimited']=function(_0x3d4e3b){return _0x3d4e3b instanceof _0x2abaaa||(_0x3d4e3b=new _0x2abaaa(_0x3d4e3b)),this['decode'](_0x3d4e3b,_0x3d4e3b['uint32']());},_0x3407ff['verify']=function(_0x22adb8){return'object'!=typeof _0x22adb8||null===_0x22adb8?'object\x20expected':null!=_0x22adb8['commentThreadId']&&_0x22adb8['hasOwnProperty']('commentThreadId')&&!_0x1a3b11['isString'](_0x22adb8['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x22adb8['documentId']&&_0x22adb8['hasOwnProperty']('documentId')&&!_0x1a3b11['isString'](_0x22adb8['documentId'])?'documentId:\x20string\x20expected':null;},_0x3407ff['fromObject']=function(_0xcfac66){if(_0xcfac66 instanceof _0x3d2f4a['CommentsV2GetCommentThreadMessage'])return _0xcfac66;var _0x151faa=new _0x3d2f4a['CommentsV2GetCommentThreadMessage']();return null!=_0xcfac66['commentThreadId']&&(_0x151faa['commentThreadId']=String(_0xcfac66['commentThreadId'])),null!=_0xcfac66['documentId']&&(_0x151faa['documentId']=String(_0xcfac66['documentId'])),_0x151faa;},_0x3407ff['toObject']=function(_0x4223fe,_0x182501){_0x182501||(_0x182501={});var _0x5394fd={};return _0x182501['defaults']&&(_0x5394fd['commentThreadId']='',_0x5394fd['documentId']=''),null!=_0x4223fe['commentThreadId']&&_0x4223fe['hasOwnProperty']('commentThreadId')&&(_0x5394fd['commentThreadId']=_0x4223fe['commentThreadId']),null!=_0x4223fe['documentId']&&_0x4223fe['hasOwnProperty']('documentId')&&(_0x5394fd['documentId']=_0x4223fe['documentId']),_0x5394fd;},_0x3407ff['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3407ff['getTypeUrl']=function(_0x572b64){return void 0x0===_0x572b64&&(_0x572b64='type.googleapis.com'),_0x572b64+'/CommentsV2GetCommentThreadMessage';},_0x3407ff;}()),_0x3d2f4a['CommentsV2ConnectMessage']=(function(){function _0x47e219(_0x27dd89){if(_0x27dd89){for(var _0x2ab039=Object['keys'](_0x27dd89),_0x9fd7a8=0x0;_0x9fd7a8<_0x2ab039['length'];++_0x9fd7a8)null!=_0x27dd89[_0x2ab039[_0x9fd7a8]]&&(this[_0x2ab039[_0x9fd7a8]]=_0x27dd89[_0x2ab039[_0x9fd7a8]]);}}return _0x47e219['prototype']['documentId']='',_0x47e219['create']=function(_0x280466){return new _0x47e219(_0x280466);},_0x47e219['encode']=function(_0x3fec81,_0x5d11e3){return _0x5d11e3||(_0x5d11e3=_0x5dfb11['create']()),null!=_0x3fec81['documentId']&&Object['hasOwnProperty']['call'](_0x3fec81,'documentId')&&_0x5d11e3['uint32'](0xa)['string'](_0x3fec81['documentId']),_0x5d11e3;},_0x47e219['encodeDelimited']=function(_0x3a8e07,_0x3b6a3d){return this['encode'](_0x3a8e07,_0x3b6a3d)['ldelim']();},_0x47e219['decode']=function(_0x49b2c1,_0x35988b,_0x5b3dce){_0x49b2c1 instanceof _0x2abaaa||(_0x49b2c1=_0x2abaaa['create'](_0x49b2c1));for(var _0x1136a2=void 0x0===_0x35988b?_0x49b2c1['len']:_0x49b2c1['pos']+_0x35988b,_0x289c99=new _0x3d2f4a['CommentsV2ConnectMessage']();_0x49b2c1['pos']<_0x1136a2;){var _0x3fd93c=_0x49b2c1['uint32']();if(_0x3fd93c===_0x5b3dce)break;_0x3fd93c>>>0x3==0x1?_0x289c99['documentId']=_0x49b2c1['string']():_0x49b2c1['skipType'](0x7&_0x3fd93c);}return _0x289c99;},_0x47e219['decodeDelimited']=function(_0x35ef00){return _0x35ef00 instanceof _0x2abaaa||(_0x35ef00=new _0x2abaaa(_0x35ef00)),this['decode'](_0x35ef00,_0x35ef00['uint32']());},_0x47e219['verify']=function(_0xdaf31d){return'object'!=typeof _0xdaf31d||null===_0xdaf31d?'object\x20expected':null!=_0xdaf31d['documentId']&&_0xdaf31d['hasOwnProperty']('documentId')&&!_0x1a3b11['isString'](_0xdaf31d['documentId'])?'documentId:\x20string\x20expected':null;},_0x47e219['fromObject']=function(_0x253113){if(_0x253113 instanceof _0x3d2f4a['CommentsV2ConnectMessage'])return _0x253113;var _0x10b311=new _0x3d2f4a['CommentsV2ConnectMessage']();return null!=_0x253113['documentId']&&(_0x10b311['documentId']=String(_0x253113['documentId'])),_0x10b311;},_0x47e219['toObject']=function(_0xf71cd4,_0x2f4d4d){_0x2f4d4d||(_0x2f4d4d={});var _0x250004={};return _0x2f4d4d['defaults']&&(_0x250004['documentId']=''),null!=_0xf71cd4['documentId']&&_0xf71cd4['hasOwnProperty']('documentId')&&(_0x250004['documentId']=_0xf71cd4['documentId']),_0x250004;},_0x47e219['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x47e219['getTypeUrl']=function(_0x9d80b2){return void 0x0===_0x9d80b2&&(_0x9d80b2='type.googleapis.com'),_0x9d80b2+'/CommentsV2ConnectMessage';},_0x47e219;}()),_0x3d2f4a['CommentsV2AddCommentMessage']=(function(){function _0x453874(_0x2e82ee){if(_0x2e82ee){for(var _0x2c0aa7=Object['keys'](_0x2e82ee),_0xf6532f=0x0;_0xf6532f<_0x2c0aa7['length'];++_0xf6532f)null!=_0x2e82ee[_0x2c0aa7[_0xf6532f]]&&(this[_0x2c0aa7[_0xf6532f]]=_0x2e82ee[_0x2c0aa7[_0xf6532f]]);}}return _0x453874['prototype']['commentThreadId']='',_0x453874['prototype']['content']='',_0x453874['prototype']['documentId']='',_0x453874['prototype']['commentId']='',_0x453874['prototype']['createdAt']='',_0x453874['prototype']['userId']='',_0x453874['prototype']['attributes']='',_0x453874['prototype']['commentThread']=null,_0x453874['create']=function(_0x14808f){return new _0x453874(_0x14808f);},_0x453874['encode']=function(_0x143e3f,_0x4582c6){return _0x4582c6||(_0x4582c6=_0x5dfb11['create']()),null!=_0x143e3f['commentThreadId']&&Object['hasOwnProperty']['call'](_0x143e3f,'commentThreadId')&&_0x4582c6['uint32'](0xa)['string'](_0x143e3f['commentThreadId']),null!=_0x143e3f['content']&&Object['hasOwnProperty']['call'](_0x143e3f,'content')&&_0x4582c6['uint32'](0x12)['string'](_0x143e3f['content']),null!=_0x143e3f['documentId']&&Object['hasOwnProperty']['call'](_0x143e3f,'documentId')&&_0x4582c6['uint32'](0x1a)['string'](_0x143e3f['documentId']),null!=_0x143e3f['commentId']&&Object['hasOwnProperty']['call'](_0x143e3f,'commentId')&&_0x4582c6['uint32'](0x22)['string'](_0x143e3f['commentId']),null!=_0x143e3f['createdAt']&&Object['hasOwnProperty']['call'](_0x143e3f,'createdAt')&&_0x4582c6['uint32'](0x2a)['string'](_0x143e3f['createdAt']),null!=_0x143e3f['userId']&&Object['hasOwnProperty']['call'](_0x143e3f,'userId')&&_0x4582c6['uint32'](0x32)['string'](_0x143e3f['userId']),null!=_0x143e3f['attributes']&&Object['hasOwnProperty']['call'](_0x143e3f,'attributes')&&_0x4582c6['uint32'](0x3a)['string'](_0x143e3f['attributes']),null!=_0x143e3f['commentThread']&&Object['hasOwnProperty']['call'](_0x143e3f,'commentThread')&&_0x3d2f4a['CommentsThreadDescriptor']['encode'](_0x143e3f['commentThread'],_0x4582c6['uint32'](0x42)['fork']())['ldelim'](),_0x4582c6;},_0x453874['encodeDelimited']=function(_0x14c175,_0x42b0bc){return this['encode'](_0x14c175,_0x42b0bc)['ldelim']();},_0x453874['decode']=function(_0x5d58c8,_0x8747b7,_0x3a6449){_0x5d58c8 instanceof _0x2abaaa||(_0x5d58c8=_0x2abaaa['create'](_0x5d58c8));for(var _0xb88ba0=void 0x0===_0x8747b7?_0x5d58c8['len']:_0x5d58c8['pos']+_0x8747b7,_0x485339=new _0x3d2f4a['CommentsV2AddCommentMessage']();_0x5d58c8['pos']<_0xb88ba0;){var _0x37b5aa=_0x5d58c8['uint32']();if(_0x37b5aa===_0x3a6449)break;switch(_0x37b5aa>>>0x3){case 0x1:_0x485339['commentThreadId']=_0x5d58c8['string']();break;case 0x2:_0x485339['content']=_0x5d58c8['string']();break;case 0x3:_0x485339['documentId']=_0x5d58c8['string']();break;case 0x4:_0x485339['commentId']=_0x5d58c8['string']();break;case 0x5:_0x485339['createdAt']=_0x5d58c8['string']();break;case 0x6:_0x485339['userId']=_0x5d58c8['string']();break;case 0x7:_0x485339['attributes']=_0x5d58c8['string']();break;case 0x8:_0x485339['commentThread']=_0x3d2f4a['CommentsThreadDescriptor']['decode'](_0x5d58c8,_0x5d58c8['uint32']());break;default:_0x5d58c8['skipType'](0x7&_0x37b5aa);}}return _0x485339;},_0x453874['decodeDelimited']=function(_0x40dc5a){return _0x40dc5a instanceof _0x2abaaa||(_0x40dc5a=new _0x2abaaa(_0x40dc5a)),this['decode'](_0x40dc5a,_0x40dc5a['uint32']());},_0x453874['verify']=function(_0x379a53){if('object'!=typeof _0x379a53||null===_0x379a53)return'object\x20expected';if(null!=_0x379a53['commentThreadId']&&_0x379a53['hasOwnProperty']('commentThreadId')&&!_0x1a3b11['isString'](_0x379a53['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x379a53['content']&&_0x379a53['hasOwnProperty']('content')&&!_0x1a3b11['isString'](_0x379a53['content']))return'content:\x20string\x20expected';if(null!=_0x379a53['documentId']&&_0x379a53['hasOwnProperty']('documentId')&&!_0x1a3b11['isString'](_0x379a53['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x379a53['commentId']&&_0x379a53['hasOwnProperty']('commentId')&&!_0x1a3b11['isString'](_0x379a53['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x379a53['createdAt']&&_0x379a53['hasOwnProperty']('createdAt')&&!_0x1a3b11['isString'](_0x379a53['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x379a53['userId']&&_0x379a53['hasOwnProperty']('userId')&&!_0x1a3b11['isString'](_0x379a53['userId']))return'userId:\x20string\x20expected';if(null!=_0x379a53['attributes']&&_0x379a53['hasOwnProperty']('attributes')&&!_0x1a3b11['isString'](_0x379a53['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x379a53['commentThread']&&_0x379a53['hasOwnProperty']('commentThread')){var _0x4e687c=_0x3d2f4a['CommentsThreadDescriptor']['verify'](_0x379a53['commentThread']);if(_0x4e687c)return'commentThread.'+_0x4e687c;}return null;},_0x453874['fromObject']=function(_0x5d4060){if(_0x5d4060 instanceof _0x3d2f4a['CommentsV2AddCommentMessage'])return _0x5d4060;var _0x3334d4=new _0x3d2f4a['CommentsV2AddCommentMessage']();if(null!=_0x5d4060['commentThreadId']&&(_0x3334d4['commentThreadId']=String(_0x5d4060['commentThreadId'])),null!=_0x5d4060['content']&&(_0x3334d4['content']=String(_0x5d4060['content'])),null!=_0x5d4060['documentId']&&(_0x3334d4['documentId']=String(_0x5d4060['documentId'])),null!=_0x5d4060['commentId']&&(_0x3334d4['commentId']=String(_0x5d4060['commentId'])),null!=_0x5d4060['createdAt']&&(_0x3334d4['createdAt']=String(_0x5d4060['createdAt'])),null!=_0x5d4060['userId']&&(_0x3334d4['userId']=String(_0x5d4060['userId'])),null!=_0x5d4060['attributes']&&(_0x3334d4['attributes']=String(_0x5d4060['attributes'])),null!=_0x5d4060['commentThread']){if('object'!=typeof _0x5d4060['commentThread'])throw TypeError('.CommentsV2AddCommentMessage.commentThread:\x20object\x20expected');_0x3334d4['commentThread']=_0x3d2f4a['CommentsThreadDescriptor']['fromObject'](_0x5d4060['commentThread']);}return _0x3334d4;},_0x453874['toObject']=function(_0x2e9381,_0x1a8797){_0x1a8797||(_0x1a8797={});var _0x17d394={};return _0x1a8797['defaults']&&(_0x17d394['commentThreadId']='',_0x17d394['content']='',_0x17d394['documentId']='',_0x17d394['commentId']='',_0x17d394['createdAt']='',_0x17d394['userId']='',_0x17d394['attributes']='',_0x17d394['commentThread']=null),null!=_0x2e9381['commentThreadId']&&_0x2e9381['hasOwnProperty']('commentThreadId')&&(_0x17d394['commentThreadId']=_0x2e9381['commentThreadId']),null!=_0x2e9381['content']&&_0x2e9381['hasOwnProperty']('content')&&(_0x17d394['content']=_0x2e9381['content']),null!=_0x2e9381['documentId']&&_0x2e9381['hasOwnProperty']('documentId')&&(_0x17d394['documentId']=_0x2e9381['documentId']),null!=_0x2e9381['commentId']&&_0x2e9381['hasOwnProperty']('commentId')&&(_0x17d394['commentId']=_0x2e9381['commentId']),null!=_0x2e9381['createdAt']&&_0x2e9381['hasOwnProperty']('createdAt')&&(_0x17d394['createdAt']=_0x2e9381['createdAt']),null!=_0x2e9381['userId']&&_0x2e9381['hasOwnProperty']('userId')&&(_0x17d394['userId']=_0x2e9381['userId']),null!=_0x2e9381['attributes']&&_0x2e9381['hasOwnProperty']('attributes')&&(_0x17d394['attributes']=_0x2e9381['attributes']),null!=_0x2e9381['commentThread']&&_0x2e9381['hasOwnProperty']('commentThread')&&(_0x17d394['commentThread']=_0x3d2f4a['CommentsThreadDescriptor']['toObject'](_0x2e9381['commentThread'],_0x1a8797)),_0x17d394;},_0x453874['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x453874['getTypeUrl']=function(_0xe2b8f8){return void 0x0===_0xe2b8f8&&(_0xe2b8f8='type.googleapis.com'),_0xe2b8f8+'/CommentsV2AddCommentMessage';},_0x453874;}()),_0x3d2f4a['CommentsV2UpdateCommentThreadMessage']=(function(){function _0x275a70(_0x10a912){if(_0x10a912){for(var _0x5e7952=Object['keys'](_0x10a912),_0xb446de=0x0;_0xb446de<_0x5e7952['length'];++_0xb446de)null!=_0x10a912[_0x5e7952[_0xb446de]]&&(this[_0x5e7952[_0xb446de]]=_0x10a912[_0x5e7952[_0xb446de]]);}}return _0x275a70['prototype']['commentThreadId']='',_0x275a70['prototype']['documentId']='',_0x275a70['prototype']['context']='',_0x275a70['prototype']['attributes']='',_0x275a70['prototype']['unlinkedAt']='',_0x275a70['create']=function(_0x480cdf){return new _0x275a70(_0x480cdf);},_0x275a70['encode']=function(_0x2b3af3,_0x13b7d7){return _0x13b7d7||(_0x13b7d7=_0x5dfb11['create']()),null!=_0x2b3af3['commentThreadId']&&Object['hasOwnProperty']['call'](_0x2b3af3,'commentThreadId')&&_0x13b7d7['uint32'](0xa)['string'](_0x2b3af3['commentThreadId']),null!=_0x2b3af3['documentId']&&Object['hasOwnProperty']['call'](_0x2b3af3,'documentId')&&_0x13b7d7['uint32'](0x12)['string'](_0x2b3af3['documentId']),null!=_0x2b3af3['context']&&Object['hasOwnProperty']['call'](_0x2b3af3,'context')&&_0x13b7d7['uint32'](0x1a)['string'](_0x2b3af3['context']),null!=_0x2b3af3['attributes']&&Object['hasOwnProperty']['call'](_0x2b3af3,'attributes')&&_0x13b7d7['uint32'](0x22)['string'](_0x2b3af3['attributes']),null!=_0x2b3af3['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x2b3af3,'unlinkedAt')&&_0x13b7d7['uint32'](0x2a)['string'](_0x2b3af3['unlinkedAt']),_0x13b7d7;},_0x275a70['encodeDelimited']=function(_0x18c70a,_0x5501da){return this['encode'](_0x18c70a,_0x5501da)['ldelim']();},_0x275a70['decode']=function(_0xba4f39,_0x37317c,_0x1fa415){_0xba4f39 instanceof _0x2abaaa||(_0xba4f39=_0x2abaaa['create'](_0xba4f39));for(var _0x5522b7=void 0x0===_0x37317c?_0xba4f39['len']:_0xba4f39['pos']+_0x37317c,_0x2a9096=new _0x3d2f4a['CommentsV2UpdateCommentThreadMessage']();_0xba4f39['pos']<_0x5522b7;){var _0x332592=_0xba4f39['uint32']();if(_0x332592===_0x1fa415)break;switch(_0x332592>>>0x3){case 0x1:_0x2a9096['commentThreadId']=_0xba4f39['string']();break;case 0x2:_0x2a9096['documentId']=_0xba4f39['string']();break;case 0x3:_0x2a9096['context']=_0xba4f39['string']();break;case 0x4:_0x2a9096['attributes']=_0xba4f39['string']();break;case 0x5:_0x2a9096['unlinkedAt']=_0xba4f39['string']();break;default:_0xba4f39['skipType'](0x7&_0x332592);}}return _0x2a9096;},_0x275a70['decodeDelimited']=function(_0x38b3da){return _0x38b3da instanceof _0x2abaaa||(_0x38b3da=new _0x2abaaa(_0x38b3da)),this['decode'](_0x38b3da,_0x38b3da['uint32']());},_0x275a70['verify']=function(_0x12cc3f){return'object'!=typeof _0x12cc3f||null===_0x12cc3f?'object\x20expected':null!=_0x12cc3f['commentThreadId']&&_0x12cc3f['hasOwnProperty']('commentThreadId')&&!_0x1a3b11['isString'](_0x12cc3f['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x12cc3f['documentId']&&_0x12cc3f['hasOwnProperty']('documentId')&&!_0x1a3b11['isString'](_0x12cc3f['documentId'])?'documentId:\x20string\x20expected':null!=_0x12cc3f['context']&&_0x12cc3f['hasOwnProperty']('context')&&!_0x1a3b11['isString'](_0x12cc3f['context'])?'context:\x20string\x20expected':null!=_0x12cc3f['attributes']&&_0x12cc3f['hasOwnProperty']('attributes')&&!_0x1a3b11['isString'](_0x12cc3f['attributes'])?'attributes:\x20string\x20expected':null!=_0x12cc3f['unlinkedAt']&&_0x12cc3f['hasOwnProperty']('unlinkedAt')&&!_0x1a3b11['isString'](_0x12cc3f['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x275a70['fromObject']=function(_0x2bc677){if(_0x2bc677 instanceof _0x3d2f4a['CommentsV2UpdateCommentThreadMessage'])return _0x2bc677;var _0x4f0295=new _0x3d2f4a['CommentsV2UpdateCommentThreadMessage']();return null!=_0x2bc677['commentThreadId']&&(_0x4f0295['commentThreadId']=String(_0x2bc677['commentThreadId'])),null!=_0x2bc677['documentId']&&(_0x4f0295['documentId']=String(_0x2bc677['documentId'])),null!=_0x2bc677['context']&&(_0x4f0295['context']=String(_0x2bc677['context'])),null!=_0x2bc677['attributes']&&(_0x4f0295['attributes']=String(_0x2bc677['attributes'])),null!=_0x2bc677['unlinkedAt']&&(_0x4f0295['unlinkedAt']=String(_0x2bc677['unlinkedAt'])),_0x4f0295;},_0x275a70['toObject']=function(_0x766ad8,_0x42a60a){_0x42a60a||(_0x42a60a={});var _0x3b4a9c={};return _0x42a60a['defaults']&&(_0x3b4a9c['commentThreadId']='',_0x3b4a9c['documentId']='',_0x3b4a9c['context']='',_0x3b4a9c['attributes']='',_0x3b4a9c['unlinkedAt']=''),null!=_0x766ad8['commentThreadId']&&_0x766ad8['hasOwnProperty']('commentThreadId')&&(_0x3b4a9c['commentThreadId']=_0x766ad8['commentThreadId']),null!=_0x766ad8['documentId']&&_0x766ad8['hasOwnProperty']('documentId')&&(_0x3b4a9c['documentId']=_0x766ad8['documentId']),null!=_0x766ad8['context']&&_0x766ad8['hasOwnProperty']('context')&&(_0x3b4a9c['context']=_0x766ad8['context']),null!=_0x766ad8['attributes']&&_0x766ad8['hasOwnProperty']('attributes')&&(_0x3b4a9c['attributes']=_0x766ad8['attributes']),null!=_0x766ad8['unlinkedAt']&&_0x766ad8['hasOwnProperty']('unlinkedAt')&&(_0x3b4a9c['unlinkedAt']=_0x766ad8['unlinkedAt']),_0x3b4a9c;},_0x275a70['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x275a70['getTypeUrl']=function(_0x1f0500){return void 0x0===_0x1f0500&&(_0x1f0500='type.googleapis.com'),_0x1f0500+'/CommentsV2UpdateCommentThreadMessage';},_0x275a70;}()),_0x3d2f4a['CommentsV2ResolveCommentThreadMessage']=(function(){function _0x86806b(_0x35c5e0){if(_0x35c5e0){for(var _0x2091b6=Object['keys'](_0x35c5e0),_0x112589=0x0;_0x112589<_0x2091b6['length'];++_0x112589)null!=_0x35c5e0[_0x2091b6[_0x112589]]&&(this[_0x2091b6[_0x112589]]=_0x35c5e0[_0x2091b6[_0x112589]]);}}return _0x86806b['prototype']['commentThreadId']='',_0x86806b['prototype']['documentId']='',_0x86806b['prototype']['resolvedBy']='',_0x86806b['prototype']['resolvedAt']='',_0x86806b['create']=function(_0x691c86){return new _0x86806b(_0x691c86);},_0x86806b['encode']=function(_0x4a6f05,_0x39103f){return _0x39103f||(_0x39103f=_0x5dfb11['create']()),null!=_0x4a6f05['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4a6f05,'commentThreadId')&&_0x39103f['uint32'](0xa)['string'](_0x4a6f05['commentThreadId']),null!=_0x4a6f05['documentId']&&Object['hasOwnProperty']['call'](_0x4a6f05,'documentId')&&_0x39103f['uint32'](0x12)['string'](_0x4a6f05['documentId']),null!=_0x4a6f05['resolvedBy']&&Object['hasOwnProperty']['call'](_0x4a6f05,'resolvedBy')&&_0x39103f['uint32'](0x1a)['string'](_0x4a6f05['resolvedBy']),null!=_0x4a6f05['resolvedAt']&&Object['hasOwnProperty']['call'](_0x4a6f05,'resolvedAt')&&_0x39103f['uint32'](0x22)['string'](_0x4a6f05['resolvedAt']),_0x39103f;},_0x86806b['encodeDelimited']=function(_0x938ba3,_0x36a699){return this['encode'](_0x938ba3,_0x36a699)['ldelim']();},_0x86806b['decode']=function(_0x99b8a,_0x259e40,_0x4dc78e){_0x99b8a instanceof _0x2abaaa||(_0x99b8a=_0x2abaaa['create'](_0x99b8a));for(var _0xae0fc1=void 0x0===_0x259e40?_0x99b8a['len']:_0x99b8a['pos']+_0x259e40,_0x495b43=new _0x3d2f4a['CommentsV2ResolveCommentThreadMessage']();_0x99b8a['pos']<_0xae0fc1;){var _0x2de41c=_0x99b8a['uint32']();if(_0x2de41c===_0x4dc78e)break;switch(_0x2de41c>>>0x3){case 0x1:_0x495b43['commentThreadId']=_0x99b8a['string']();break;case 0x2:_0x495b43['documentId']=_0x99b8a['string']();break;case 0x3:_0x495b43['resolvedBy']=_0x99b8a['string']();break;case 0x4:_0x495b43['resolvedAt']=_0x99b8a['string']();break;default:_0x99b8a['skipType'](0x7&_0x2de41c);}}return _0x495b43;},_0x86806b['decodeDelimited']=function(_0x42a11f){return _0x42a11f instanceof _0x2abaaa||(_0x42a11f=new _0x2abaaa(_0x42a11f)),this['decode'](_0x42a11f,_0x42a11f['uint32']());},_0x86806b['verify']=function(_0x4ce430){return'object'!=typeof _0x4ce430||null===_0x4ce430?'object\x20expected':null!=_0x4ce430['commentThreadId']&&_0x4ce430['hasOwnProperty']('commentThreadId')&&!_0x1a3b11['isString'](_0x4ce430['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x4ce430['documentId']&&_0x4ce430['hasOwnProperty']('documentId')&&!_0x1a3b11['isString'](_0x4ce430['documentId'])?'documentId:\x20string\x20expected':null!=_0x4ce430['resolvedBy']&&_0x4ce430['hasOwnProperty']('resolvedBy')&&!_0x1a3b11['isString'](_0x4ce430['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x4ce430['resolvedAt']&&_0x4ce430['hasOwnProperty']('resolvedAt')&&!_0x1a3b11['isString'](_0x4ce430['resolvedAt'])?'resolvedAt:\x20string\x20expected':null;},_0x86806b['fromObject']=function(_0x2461b0){if(_0x2461b0 instanceof _0x3d2f4a['CommentsV2ResolveCommentThreadMessage'])return _0x2461b0;var _0x252a11=new _0x3d2f4a['CommentsV2ResolveCommentThreadMessage']();return null!=_0x2461b0['commentThreadId']&&(_0x252a11['commentThreadId']=String(_0x2461b0['commentThreadId'])),null!=_0x2461b0['documentId']&&(_0x252a11['documentId']=String(_0x2461b0['documentId'])),null!=_0x2461b0['resolvedBy']&&(_0x252a11['resolvedBy']=String(_0x2461b0['resolvedBy'])),null!=_0x2461b0['resolvedAt']&&(_0x252a11['resolvedAt']=String(_0x2461b0['resolvedAt'])),_0x252a11;},_0x86806b['toObject']=function(_0x42f6cf,_0x41f706){_0x41f706||(_0x41f706={});var _0x5d4099={};return _0x41f706['defaults']&&(_0x5d4099['commentThreadId']='',_0x5d4099['documentId']='',_0x5d4099['resolvedBy']='',_0x5d4099['resolvedAt']=''),null!=_0x42f6cf['commentThreadId']&&_0x42f6cf['hasOwnProperty']('commentThreadId')&&(_0x5d4099['commentThreadId']=_0x42f6cf['commentThreadId']),null!=_0x42f6cf['documentId']&&_0x42f6cf['hasOwnProperty']('documentId')&&(_0x5d4099['documentId']=_0x42f6cf['documentId']),null!=_0x42f6cf['resolvedBy']&&_0x42f6cf['hasOwnProperty']('resolvedBy')&&(_0x5d4099['resolvedBy']=_0x42f6cf['resolvedBy']),null!=_0x42f6cf['resolvedAt']&&_0x42f6cf['hasOwnProperty']('resolvedAt')&&(_0x5d4099['resolvedAt']=_0x42f6cf['resolvedAt']),_0x5d4099;},_0x86806b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x86806b['getTypeUrl']=function(_0x40ff07){return void 0x0===_0x40ff07&&(_0x40ff07='type.googleapis.com'),_0x40ff07+'/CommentsV2ResolveCommentThreadMessage';},_0x86806b;}()),_0x3d2f4a['CommentsV2ReopenCommentThreadMessage']=(function(){function _0x44d189(_0x552a08){if(_0x552a08){for(var _0x17e2e9=Object['keys'](_0x552a08),_0x4dadab=0x0;_0x4dadab<_0x17e2e9['length'];++_0x4dadab)null!=_0x552a08[_0x17e2e9[_0x4dadab]]&&(this[_0x17e2e9[_0x4dadab]]=_0x552a08[_0x17e2e9[_0x4dadab]]);}}return _0x44d189['prototype']['commentThreadId']='',_0x44d189['prototype']['documentId']='',_0x44d189['create']=function(_0x3b56ef){return new _0x44d189(_0x3b56ef);},_0x44d189['encode']=function(_0x4b38b3,_0x209b48){return _0x209b48||(_0x209b48=_0x5dfb11['create']()),null!=_0x4b38b3['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4b38b3,'commentThreadId')&&_0x209b48['uint32'](0xa)['string'](_0x4b38b3['commentThreadId']),null!=_0x4b38b3['documentId']&&Object['hasOwnProperty']['call'](_0x4b38b3,'documentId')&&_0x209b48['uint32'](0x12)['string'](_0x4b38b3['documentId']),_0x209b48;},_0x44d189['encodeDelimited']=function(_0x27da78,_0x1426fd){return this['encode'](_0x27da78,_0x1426fd)['ldelim']();},_0x44d189['decode']=function(_0x59e6c3,_0x54a7ee,_0x366d3d){_0x59e6c3 instanceof _0x2abaaa||(_0x59e6c3=_0x2abaaa['create'](_0x59e6c3));for(var _0x5819c5=void 0x0===_0x54a7ee?_0x59e6c3['len']:_0x59e6c3['pos']+_0x54a7ee,_0x143693=new _0x3d2f4a['CommentsV2ReopenCommentThreadMessage']();_0x59e6c3['pos']<_0x5819c5;){var _0x48c213=_0x59e6c3['uint32']();if(_0x48c213===_0x366d3d)break;switch(_0x48c213>>>0x3){case 0x1:_0x143693['commentThreadId']=_0x59e6c3['string']();break;case 0x2:_0x143693['documentId']=_0x59e6c3['string']();break;default:_0x59e6c3['skipType'](0x7&_0x48c213);}}return _0x143693;},_0x44d189['decodeDelimited']=function(_0x556fef){return _0x556fef instanceof _0x2abaaa||(_0x556fef=new _0x2abaaa(_0x556fef)),this['decode'](_0x556fef,_0x556fef['uint32']());},_0x44d189['verify']=function(_0x220242){return'object'!=typeof _0x220242||null===_0x220242?'object\x20expected':null!=_0x220242['commentThreadId']&&_0x220242['hasOwnProperty']('commentThreadId')&&!_0x1a3b11['isString'](_0x220242['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x220242['documentId']&&_0x220242['hasOwnProperty']('documentId')&&!_0x1a3b11['isString'](_0x220242['documentId'])?'documentId:\x20string\x20expected':null;},_0x44d189['fromObject']=function(_0x48c74d){if(_0x48c74d instanceof _0x3d2f4a['CommentsV2ReopenCommentThreadMessage'])return _0x48c74d;var _0x58d585=new _0x3d2f4a['CommentsV2ReopenCommentThreadMessage']();return null!=_0x48c74d['commentThreadId']&&(_0x58d585['commentThreadId']=String(_0x48c74d['commentThreadId'])),null!=_0x48c74d['documentId']&&(_0x58d585['documentId']=String(_0x48c74d['documentId'])),_0x58d585;},_0x44d189['toObject']=function(_0x50edf2,_0x701936){_0x701936||(_0x701936={});var _0x332bfd={};return _0x701936['defaults']&&(_0x332bfd['commentThreadId']='',_0x332bfd['documentId']=''),null!=_0x50edf2['commentThreadId']&&_0x50edf2['hasOwnProperty']('commentThreadId')&&(_0x332bfd['commentThreadId']=_0x50edf2['commentThreadId']),null!=_0x50edf2['documentId']&&_0x50edf2['hasOwnProperty']('documentId')&&(_0x332bfd['documentId']=_0x50edf2['documentId']),_0x332bfd;},_0x44d189['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x44d189['getTypeUrl']=function(_0x1c1d2b){return void 0x0===_0x1c1d2b&&(_0x1c1d2b='type.googleapis.com'),_0x1c1d2b+'/CommentsV2ReopenCommentThreadMessage';},_0x44d189;}()),_0x3d2f4a['CommentsV2AddCommentThreadMessage']=(function(){function _0x131ccf(_0x1025db){if(this['comments']=[],_0x1025db){for(var _0x13e3db=Object['keys'](_0x1025db),_0x1d0b67=0x0;_0x1d0b67<_0x13e3db['length'];++_0x1d0b67)null!=_0x1025db[_0x13e3db[_0x1d0b67]]&&(this[_0x13e3db[_0x1d0b67]]=_0x1025db[_0x13e3db[_0x1d0b67]]);}}return _0x131ccf['prototype']['documentId']='',_0x131ccf['prototype']['commentThreadId']='',_0x131ccf['prototype']['context']='',_0x131ccf['prototype']['createdAt']='',_0x131ccf['prototype']['resolvedAt']='',_0x131ccf['prototype']['resolvedBy']='',_0x131ccf['prototype']['attributes']='',_0x131ccf['prototype']['deletedAt']='',_0x131ccf['prototype']['comments']=_0x1a3b11['emptyArray'],_0x131ccf['create']=function(_0x44e223){return new _0x131ccf(_0x44e223);},_0x131ccf['encode']=function(_0x41a7b9,_0x1f811b){if(_0x1f811b||(_0x1f811b=_0x5dfb11['create']()),null!=_0x41a7b9['documentId']&&Object['hasOwnProperty']['call'](_0x41a7b9,'documentId')&&_0x1f811b['uint32'](0xa)['string'](_0x41a7b9['documentId']),null!=_0x41a7b9['commentThreadId']&&Object['hasOwnProperty']['call'](_0x41a7b9,'commentThreadId')&&_0x1f811b['uint32'](0x12)['string'](_0x41a7b9['commentThreadId']),null!=_0x41a7b9['context']&&Object['hasOwnProperty']['call'](_0x41a7b9,'context')&&_0x1f811b['uint32'](0x1a)['string'](_0x41a7b9['context']),null!=_0x41a7b9['createdAt']&&Object['hasOwnProperty']['call'](_0x41a7b9,'createdAt')&&_0x1f811b['uint32'](0x22)['string'](_0x41a7b9['createdAt']),null!=_0x41a7b9['resolvedAt']&&Object['hasOwnProperty']['call'](_0x41a7b9,'resolvedAt')&&_0x1f811b['uint32'](0x2a)['string'](_0x41a7b9['resolvedAt']),null!=_0x41a7b9['resolvedBy']&&Object['hasOwnProperty']['call'](_0x41a7b9,'resolvedBy')&&_0x1f811b['uint32'](0x32)['string'](_0x41a7b9['resolvedBy']),null!=_0x41a7b9['attributes']&&Object['hasOwnProperty']['call'](_0x41a7b9,'attributes')&&_0x1f811b['uint32'](0x3a)['string'](_0x41a7b9['attributes']),null!=_0x41a7b9['deletedAt']&&Object['hasOwnProperty']['call'](_0x41a7b9,'deletedAt')&&_0x1f811b['uint32'](0x42)['string'](_0x41a7b9['deletedAt']),null!=_0x41a7b9['comments']&&_0x41a7b9['comments']['length']){for(var _0x4ab214=0x0;_0x4ab214<_0x41a7b9['comments']['length'];++_0x4ab214)_0x3d2f4a['CommentDescriptor']['encode'](_0x41a7b9['comments'][_0x4ab214],_0x1f811b['uint32'](0x4a)['fork']())['ldelim']();}return _0x1f811b;},_0x131ccf['encodeDelimited']=function(_0x1e099e,_0xa54600){return this['encode'](_0x1e099e,_0xa54600)['ldelim']();},_0x131ccf['decode']=function(_0x19672c,_0x599f77,_0x52adf5){_0x19672c instanceof _0x2abaaa||(_0x19672c=_0x2abaaa['create'](_0x19672c));for(var _0x55679e=void 0x0===_0x599f77?_0x19672c['len']:_0x19672c['pos']+_0x599f77,_0x498fed=new _0x3d2f4a['CommentsV2AddCommentThreadMessage']();_0x19672c['pos']<_0x55679e;){var _0x153b51=_0x19672c['uint32']();if(_0x153b51===_0x52adf5)break;switch(_0x153b51>>>0x3){case 0x1:_0x498fed['documentId']=_0x19672c['string']();break;case 0x2:_0x498fed['commentThreadId']=_0x19672c['string']();break;case 0x3:_0x498fed['context']=_0x19672c['string']();break;case 0x4:_0x498fed['createdAt']=_0x19672c['string']();break;case 0x5:_0x498fed['resolvedAt']=_0x19672c['string']();break;case 0x6:_0x498fed['resolvedBy']=_0x19672c['string']();break;case 0x7:_0x498fed['attributes']=_0x19672c['string']();break;case 0x8:_0x498fed['deletedAt']=_0x19672c['string']();break;case 0x9:_0x498fed['comments']&&_0x498fed['comments']['length']||(_0x498fed['comments']=[]),_0x498fed['comments']['push'](_0x3d2f4a['CommentDescriptor']['decode'](_0x19672c,_0x19672c['uint32']()));break;default:_0x19672c['skipType'](0x7&_0x153b51);}}return _0x498fed;},_0x131ccf['decodeDelimited']=function(_0x1425fc){return _0x1425fc instanceof _0x2abaaa||(_0x1425fc=new _0x2abaaa(_0x1425fc)),this['decode'](_0x1425fc,_0x1425fc['uint32']());},_0x131ccf['verify']=function(_0x2b8a9c){if('object'!=typeof _0x2b8a9c||null===_0x2b8a9c)return'object\x20expected';if(null!=_0x2b8a9c['documentId']&&_0x2b8a9c['hasOwnProperty']('documentId')&&!_0x1a3b11['isString'](_0x2b8a9c['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x2b8a9c['commentThreadId']&&_0x2b8a9c['hasOwnProperty']('commentThreadId')&&!_0x1a3b11['isString'](_0x2b8a9c['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x2b8a9c['context']&&_0x2b8a9c['hasOwnProperty']('context')&&!_0x1a3b11['isString'](_0x2b8a9c['context']))return'context:\x20string\x20expected';if(null!=_0x2b8a9c['createdAt']&&_0x2b8a9c['hasOwnProperty']('createdAt')&&!_0x1a3b11['isString'](_0x2b8a9c['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x2b8a9c['resolvedAt']&&_0x2b8a9c['hasOwnProperty']('resolvedAt')&&!_0x1a3b11['isString'](_0x2b8a9c['resolvedAt']))return'resolvedAt:\x20string\x20expected';if(null!=_0x2b8a9c['resolvedBy']&&_0x2b8a9c['hasOwnProperty']('resolvedBy')&&!_0x1a3b11['isString'](_0x2b8a9c['resolvedBy']))return'resolvedBy:\x20string\x20expected';if(null!=_0x2b8a9c['attributes']&&_0x2b8a9c['hasOwnProperty']('attributes')&&!_0x1a3b11['isString'](_0x2b8a9c['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x2b8a9c['deletedAt']&&_0x2b8a9c['hasOwnProperty']('deletedAt')&&!_0x1a3b11['isString'](_0x2b8a9c['deletedAt']))return'deletedAt:\x20string\x20expected';if(null!=_0x2b8a9c['comments']&&_0x2b8a9c['hasOwnProperty']('comments')){if(!Array['isArray'](_0x2b8a9c['comments']))return'comments:\x20array\x20expected';for(var _0x39ad5f=0x0;_0x39ad5f<_0x2b8a9c['comments']['length'];++_0x39ad5f){var _0x57b445=_0x3d2f4a['CommentDescriptor']['verify'](_0x2b8a9c['comments'][_0x39ad5f]);if(_0x57b445)return'comments.'+_0x57b445;}}return null;},_0x131ccf['fromObject']=function(_0x4b0d54){if(_0x4b0d54 instanceof _0x3d2f4a['CommentsV2AddCommentThreadMessage'])return _0x4b0d54;var _0x31fc94=new _0x3d2f4a['CommentsV2AddCommentThreadMessage']();if(null!=_0x4b0d54['documentId']&&(_0x31fc94['documentId']=String(_0x4b0d54['documentId'])),null!=_0x4b0d54['commentThreadId']&&(_0x31fc94['commentThreadId']=String(_0x4b0d54['commentThreadId'])),null!=_0x4b0d54['context']&&(_0x31fc94['context']=String(_0x4b0d54['context'])),null!=_0x4b0d54['createdAt']&&(_0x31fc94['createdAt']=String(_0x4b0d54['createdAt'])),null!=_0x4b0d54['resolvedAt']&&(_0x31fc94['resolvedAt']=String(_0x4b0d54['resolvedAt'])),null!=_0x4b0d54['resolvedBy']&&(_0x31fc94['resolvedBy']=String(_0x4b0d54['resolvedBy'])),null!=_0x4b0d54['attributes']&&(_0x31fc94['attributes']=String(_0x4b0d54['attributes'])),null!=_0x4b0d54['deletedAt']&&(_0x31fc94['deletedAt']=String(_0x4b0d54['deletedAt'])),_0x4b0d54['comments']){if(!Array['isArray'](_0x4b0d54['comments']))throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20array\x20expected');_0x31fc94['comments']=[];for(var _0x2e9af2=0x0;_0x2e9af2<_0x4b0d54['comments']['length'];++_0x2e9af2){if('object'!=typeof _0x4b0d54['comments'][_0x2e9af2])throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20object\x20expected');_0x31fc94['comments'][_0x2e9af2]=_0x3d2f4a['CommentDescriptor']['fromObject'](_0x4b0d54['comments'][_0x2e9af2]);}}return _0x31fc94;},_0x131ccf['toObject']=function(_0x187307,_0x15853d){_0x15853d||(_0x15853d={});var _0x3ffd11={};if((_0x15853d['arrays']||_0x15853d['defaults'])&&(_0x3ffd11['comments']=[]),_0x15853d['defaults']&&(_0x3ffd11['documentId']='',_0x3ffd11['commentThreadId']='',_0x3ffd11['context']='',_0x3ffd11['createdAt']='',_0x3ffd11['resolvedAt']='',_0x3ffd11['resolvedBy']='',_0x3ffd11['attributes']='',_0x3ffd11['deletedAt']=''),null!=_0x187307['documentId']&&_0x187307['hasOwnProperty']('documentId')&&(_0x3ffd11['documentId']=_0x187307['documentId']),null!=_0x187307['commentThreadId']&&_0x187307['hasOwnProperty']('commentThreadId')&&(_0x3ffd11['commentThreadId']=_0x187307['commentThreadId']),null!=_0x187307['context']&&_0x187307['hasOwnProperty']('context')&&(_0x3ffd11['context']=_0x187307['context']),null!=_0x187307['createdAt']&&_0x187307['hasOwnProperty']('createdAt')&&(_0x3ffd11['createdAt']=_0x187307['createdAt']),null!=_0x187307['resolvedAt']&&_0x187307['hasOwnProperty']('resolvedAt')&&(_0x3ffd11['resolvedAt']=_0x187307['resolvedAt']),null!=_0x187307['resolvedBy']&&_0x187307['hasOwnProperty']('resolvedBy')&&(_0x3ffd11['resolvedBy']=_0x187307['resolvedBy']),null!=_0x187307['attributes']&&_0x187307['hasOwnProperty']('attributes')&&(_0x3ffd11['attributes']=_0x187307['attributes']),null!=_0x187307['deletedAt']&&_0x187307['hasOwnProperty']('deletedAt')&&(_0x3ffd11['deletedAt']=_0x187307['deletedAt']),_0x187307['comments']&&_0x187307['comments']['length']){_0x3ffd11['comments']=[];for(var _0x37d991=0x0;_0x37d991<_0x187307['comments']['length'];++_0x37d991)_0x3ffd11['comments'][_0x37d991]=_0x3d2f4a['CommentDescriptor']['toObject'](_0x187307['comments'][_0x37d991],_0x15853d);}return _0x3ffd11;},_0x131ccf['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x131ccf['getTypeUrl']=function(_0x2d1b6f){return void 0x0===_0x2d1b6f&&(_0x2d1b6f='type.googleapis.com'),_0x2d1b6f+'/CommentsV2AddCommentThreadMessage';},_0x131ccf;}()),_0x3d2f4a['CommentThreadAddedCommentDescriptor']=(function(){function _0x5894de(_0x594577){if(_0x594577){for(var _0x472b1e=Object['keys'](_0x594577),_0x3a6b03=0x0;_0x3a6b03<_0x472b1e['length'];++_0x3a6b03)null!=_0x594577[_0x472b1e[_0x3a6b03]]&&(this[_0x472b1e[_0x3a6b03]]=_0x594577[_0x472b1e[_0x3a6b03]]);}}return _0x5894de['prototype']['commentId']='',_0x5894de['prototype']['createdAt']='',_0x5894de['create']=function(_0x1eb44b){return new _0x5894de(_0x1eb44b);},_0x5894de['encode']=function(_0x5905a3,_0x1a6a8d){return _0x1a6a8d||(_0x1a6a8d=_0x5dfb11['create']()),null!=_0x5905a3['commentId']&&Object['hasOwnProperty']['call'](_0x5905a3,'commentId')&&_0x1a6a8d['uint32'](0xa)['string'](_0x5905a3['commentId']),null!=_0x5905a3['createdAt']&&Object['hasOwnProperty']['call'](_0x5905a3,'createdAt')&&_0x1a6a8d['uint32'](0x12)['string'](_0x5905a3['createdAt']),_0x1a6a8d;},_0x5894de['encodeDelimited']=function(_0x32b820,_0x56cb38){return this['encode'](_0x32b820,_0x56cb38)['ldelim']();},_0x5894de['decode']=function(_0x1176bc,_0x5bf0ed,_0x3eaaf3){_0x1176bc instanceof _0x2abaaa||(_0x1176bc=_0x2abaaa['create'](_0x1176bc));for(var _0x2f1a09=void 0x0===_0x5bf0ed?_0x1176bc['len']:_0x1176bc['pos']+_0x5bf0ed,_0x18813f=new _0x3d2f4a['CommentThreadAddedCommentDescriptor']();_0x1176bc['pos']<_0x2f1a09;){var _0x3b51ca=_0x1176bc['uint32']();if(_0x3b51ca===_0x3eaaf3)break;switch(_0x3b51ca>>>0x3){case 0x1:_0x18813f['commentId']=_0x1176bc['string']();break;case 0x2:_0x18813f['createdAt']=_0x1176bc['string']();break;default:_0x1176bc['skipType'](0x7&_0x3b51ca);}}return _0x18813f;},_0x5894de['decodeDelimited']=function(_0x27794c){return _0x27794c instanceof _0x2abaaa||(_0x27794c=new _0x2abaaa(_0x27794c)),this['decode'](_0x27794c,_0x27794c['uint32']());},_0x5894de['verify']=function(_0x916f70){return'object'!=typeof _0x916f70||null===_0x916f70?'object\x20expected':null!=_0x916f70['commentId']&&_0x916f70['hasOwnProperty']('commentId')&&!_0x1a3b11['isString'](_0x916f70['commentId'])?'commentId:\x20string\x20expected':null!=_0x916f70['createdAt']&&_0x916f70['hasOwnProperty']('createdAt')&&!_0x1a3b11['isString'](_0x916f70['createdAt'])?'createdAt:\x20string\x20expected':null;},_0x5894de['fromObject']=function(_0x58d3bc){if(_0x58d3bc instanceof _0x3d2f4a['CommentThreadAddedCommentDescriptor'])return _0x58d3bc;var _0x5e58b7=new _0x3d2f4a['CommentThreadAddedCommentDescriptor']();return null!=_0x58d3bc['commentId']&&(_0x5e58b7['commentId']=String(_0x58d3bc['commentId'])),null!=_0x58d3bc['createdAt']&&(_0x5e58b7['createdAt']=String(_0x58d3bc['createdAt'])),_0x5e58b7;},_0x5894de['toObject']=function(_0x3c278b,_0x183b33){_0x183b33||(_0x183b33={});var _0x539711={};return _0x183b33['defaults']&&(_0x539711['commentId']='',_0x539711['createdAt']=''),null!=_0x3c278b['commentId']&&_0x3c278b['hasOwnProperty']('commentId')&&(_0x539711['commentId']=_0x3c278b['commentId']),null!=_0x3c278b['createdAt']&&_0x3c278b['hasOwnProperty']('createdAt')&&(_0x539711['createdAt']=_0x3c278b['createdAt']),_0x539711;},_0x5894de['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5894de['getTypeUrl']=function(_0x131ea8){return void 0x0===_0x131ea8&&(_0x131ea8='type.googleapis.com'),_0x131ea8+'/CommentThreadAddedCommentDescriptor';},_0x5894de;}()),_0x3d2f4a['CommentsThreadDescriptor']=(function(){function _0x4e6ef1(_0x8f3f08){if(this['comments']=[],_0x8f3f08){for(var _0x2b03ed=Object['keys'](_0x8f3f08),_0x3aa88e=0x0;_0x3aa88e<_0x2b03ed['length'];++_0x3aa88e)null!=_0x8f3f08[_0x2b03ed[_0x3aa88e]]&&(this[_0x2b03ed[_0x3aa88e]]=_0x8f3f08[_0x2b03ed[_0x3aa88e]]);}}return _0x4e6ef1['prototype']['commentThreadId']='',_0x4e6ef1['prototype']['comments']=_0x1a3b11['emptyArray'],_0x4e6ef1['prototype']['resolvedAt']='',_0x4e6ef1['prototype']['resolvedBy']='',_0x4e6ef1['prototype']['context']='',_0x4e6ef1['prototype']['createdAt']='',_0x4e6ef1['prototype']['deletedAt']='',_0x4e6ef1['prototype']['attributes']='',_0x4e6ef1['prototype']['unlinkedAt']='',_0x4e6ef1['create']=function(_0x431db4){return new _0x4e6ef1(_0x431db4);},_0x4e6ef1['encode']=function(_0x4ffe77,_0xf4d6af){if(_0xf4d6af||(_0xf4d6af=_0x5dfb11['create']()),null!=_0x4ffe77['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4ffe77,'commentThreadId')&&_0xf4d6af['uint32'](0xa)['string'](_0x4ffe77['commentThreadId']),null!=_0x4ffe77['comments']&&_0x4ffe77['comments']['length']){for(var _0x53a736=0x0;_0x53a736<_0x4ffe77['comments']['length'];++_0x53a736)_0x3d2f4a['CommentDescriptor']['encode'](_0x4ffe77['comments'][_0x53a736],_0xf4d6af['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x4ffe77['resolvedAt']&&Object['hasOwnProperty']['call'](_0x4ffe77,'resolvedAt')&&_0xf4d6af['uint32'](0x1a)['string'](_0x4ffe77['resolvedAt']),null!=_0x4ffe77['resolvedBy']&&Object['hasOwnProperty']['call'](_0x4ffe77,'resolvedBy')&&_0xf4d6af['uint32'](0x22)['string'](_0x4ffe77['resolvedBy']),null!=_0x4ffe77['context']&&Object['hasOwnProperty']['call'](_0x4ffe77,'context')&&_0xf4d6af['uint32'](0x2a)['string'](_0x4ffe77['context']),null!=_0x4ffe77['createdAt']&&Object['hasOwnProperty']['call'](_0x4ffe77,'createdAt')&&_0xf4d6af['uint32'](0x32)['string'](_0x4ffe77['createdAt']),null!=_0x4ffe77['deletedAt']&&Object['hasOwnProperty']['call'](_0x4ffe77,'deletedAt')&&_0xf4d6af['uint32'](0x3a)['string'](_0x4ffe77['deletedAt']),null!=_0x4ffe77['attributes']&&Object['hasOwnProperty']['call'](_0x4ffe77,'attributes')&&_0xf4d6af['uint32'](0x42)['string'](_0x4ffe77['attributes']),null!=_0x4ffe77['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x4ffe77,'unlinkedAt')&&_0xf4d6af['uint32'](0x4a)['string'](_0x4ffe77['unlinkedAt']),_0xf4d6af;},_0x4e6ef1['encodeDelimited']=function(_0x5a7d6e,_0x217da7){return this['encode'](_0x5a7d6e,_0x217da7)['ldelim']();},_0x4e6ef1['decode']=function(_0x166103,_0x28fcbc,_0x659625){_0x166103 instanceof _0x2abaaa||(_0x166103=_0x2abaaa['create'](_0x166103));for(var _0x2b5f73=void 0x0===_0x28fcbc?_0x166103['len']:_0x166103['pos']+_0x28fcbc,_0xed46af=new _0x3d2f4a['CommentsThreadDescriptor']();_0x166103['pos']<_0x2b5f73;){var _0x4b0b69=_0x166103['uint32']();if(_0x4b0b69===_0x659625)break;switch(_0x4b0b69>>>0x3){case 0x1:_0xed46af['commentThreadId']=_0x166103['string']();break;case 0x2:_0xed46af['comments']&&_0xed46af['comments']['length']||(_0xed46af['comments']=[]),_0xed46af['comments']['push'](_0x3d2f4a['CommentDescriptor']['decode'](_0x166103,_0x166103['uint32']()));break;case 0x3:_0xed46af['resolvedAt']=_0x166103['string']();break;case 0x4:_0xed46af['resolvedBy']=_0x166103['string']();break;case 0x5:_0xed46af['context']=_0x166103['string']();break;case 0x6:_0xed46af['createdAt']=_0x166103['string']();break;case 0x7:_0xed46af['deletedAt']=_0x166103['string']();break;case 0x8:_0xed46af['attributes']=_0x166103['string']();break;case 0x9:_0xed46af['unlinkedAt']=_0x166103['string']();break;default:_0x166103['skipType'](0x7&_0x4b0b69);}}return _0xed46af;},_0x4e6ef1['decodeDelimited']=function(_0x1e07f6){return _0x1e07f6 instanceof _0x2abaaa||(_0x1e07f6=new _0x2abaaa(_0x1e07f6)),this['decode'](_0x1e07f6,_0x1e07f6['uint32']());},_0x4e6ef1['verify']=function(_0x2ea49c){if('object'!=typeof _0x2ea49c||null===_0x2ea49c)return'object\x20expected';if(null!=_0x2ea49c['commentThreadId']&&_0x2ea49c['hasOwnProperty']('commentThreadId')&&!_0x1a3b11['isString'](_0x2ea49c['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x2ea49c['comments']&&_0x2ea49c['hasOwnProperty']('comments')){if(!Array['isArray'](_0x2ea49c['comments']))return'comments:\x20array\x20expected';for(var _0x29cacd=0x0;_0x29cacd<_0x2ea49c['comments']['length'];++_0x29cacd){var _0x263181=_0x3d2f4a['CommentDescriptor']['verify'](_0x2ea49c['comments'][_0x29cacd]);if(_0x263181)return'comments.'+_0x263181;}}return null!=_0x2ea49c['resolvedAt']&&_0x2ea49c['hasOwnProperty']('resolvedAt')&&!_0x1a3b11['isString'](_0x2ea49c['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x2ea49c['resolvedBy']&&_0x2ea49c['hasOwnProperty']('resolvedBy')&&!_0x1a3b11['isString'](_0x2ea49c['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x2ea49c['context']&&_0x2ea49c['hasOwnProperty']('context')&&!_0x1a3b11['isString'](_0x2ea49c['context'])?'context:\x20string\x20expected':null!=_0x2ea49c['createdAt']&&_0x2ea49c['hasOwnProperty']('createdAt')&&!_0x1a3b11['isString'](_0x2ea49c['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x2ea49c['deletedAt']&&_0x2ea49c['hasOwnProperty']('deletedAt')&&!_0x1a3b11['isString'](_0x2ea49c['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x2ea49c['attributes']&&_0x2ea49c['hasOwnProperty']('attributes')&&!_0x1a3b11['isString'](_0x2ea49c['attributes'])?'attributes:\x20string\x20expected':null!=_0x2ea49c['unlinkedAt']&&_0x2ea49c['hasOwnProperty']('unlinkedAt')&&!_0x1a3b11['isString'](_0x2ea49c['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x4e6ef1['fromObject']=function(_0x4367d5){if(_0x4367d5 instanceof _0x3d2f4a['CommentsThreadDescriptor'])return _0x4367d5;var _0x3b1ae1=new _0x3d2f4a['CommentsThreadDescriptor']();if(null!=_0x4367d5['commentThreadId']&&(_0x3b1ae1['commentThreadId']=String(_0x4367d5['commentThreadId'])),_0x4367d5['comments']){if(!Array['isArray'](_0x4367d5['comments']))throw TypeError('.CommentsThreadDescriptor.comments:\x20array\x20expected');_0x3b1ae1['comments']=[];for(var _0x354d43=0x0;_0x354d43<_0x4367d5['comments']['length'];++_0x354d43){if('object'!=typeof _0x4367d5['comments'][_0x354d43])throw TypeError('.CommentsThreadDescriptor.comments:\x20object\x20expected');_0x3b1ae1['comments'][_0x354d43]=_0x3d2f4a['CommentDescriptor']['fromObject'](_0x4367d5['comments'][_0x354d43]);}}return null!=_0x4367d5['resolvedAt']&&(_0x3b1ae1['resolvedAt']=String(_0x4367d5['resolvedAt'])),null!=_0x4367d5['resolvedBy']&&(_0x3b1ae1['resolvedBy']=String(_0x4367d5['resolvedBy'])),null!=_0x4367d5['context']&&(_0x3b1ae1['context']=String(_0x4367d5['context'])),null!=_0x4367d5['createdAt']&&(_0x3b1ae1['createdAt']=String(_0x4367d5['createdAt'])),null!=_0x4367d5['deletedAt']&&(_0x3b1ae1['deletedAt']=String(_0x4367d5['deletedAt'])),null!=_0x4367d5['attributes']&&(_0x3b1ae1['attributes']=String(_0x4367d5['attributes'])),null!=_0x4367d5['unlinkedAt']&&(_0x3b1ae1['unlinkedAt']=String(_0x4367d5['unlinkedAt'])),_0x3b1ae1;},_0x4e6ef1['toObject']=function(_0x4e082f,_0x3e340f){_0x3e340f||(_0x3e340f={});var _0x50d566={};if((_0x3e340f['arrays']||_0x3e340f['defaults'])&&(_0x50d566['comments']=[]),_0x3e340f['defaults']&&(_0x50d566['commentThreadId']='',_0x50d566['resolvedAt']='',_0x50d566['resolvedBy']='',_0x50d566['context']='',_0x50d566['createdAt']='',_0x50d566['deletedAt']='',_0x50d566['attributes']='',_0x50d566['unlinkedAt']=''),null!=_0x4e082f['commentThreadId']&&_0x4e082f['hasOwnProperty']('commentThreadId')&&(_0x50d566['commentThreadId']=_0x4e082f['commentThreadId']),_0x4e082f['comments']&&_0x4e082f['comments']['length']){_0x50d566['comments']=[];for(var _0x116509=0x0;_0x116509<_0x4e082f['comments']['length'];++_0x116509)_0x50d566['comments'][_0x116509]=_0x3d2f4a['CommentDescriptor']['toObject'](_0x4e082f['comments'][_0x116509],_0x3e340f);}return null!=_0x4e082f['resolvedAt']&&_0x4e082f['hasOwnProperty']('resolvedAt')&&(_0x50d566['resolvedAt']=_0x4e082f['resolvedAt']),null!=_0x4e082f['resolvedBy']&&_0x4e082f['hasOwnProperty']('resolvedBy')&&(_0x50d566['resolvedBy']=_0x4e082f['resolvedBy']),null!=_0x4e082f['context']&&_0x4e082f['hasOwnProperty']('context')&&(_0x50d566['context']=_0x4e082f['context']),null!=_0x4e082f['createdAt']&&_0x4e082f['hasOwnProperty']('createdAt')&&(_0x50d566['createdAt']=_0x4e082f['createdAt']),null!=_0x4e082f['deletedAt']&&_0x4e082f['hasOwnProperty']('deletedAt')&&(_0x50d566['deletedAt']=_0x4e082f['deletedAt']),null!=_0x4e082f['attributes']&&_0x4e082f['hasOwnProperty']('attributes')&&(_0x50d566['attributes']=_0x4e082f['attributes']),null!=_0x4e082f['unlinkedAt']&&_0x4e082f['hasOwnProperty']('unlinkedAt')&&(_0x50d566['unlinkedAt']=_0x4e082f['unlinkedAt']),_0x50d566;},_0x4e6ef1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4e6ef1['getTypeUrl']=function(_0x3c674d){return void 0x0===_0x3c674d&&(_0x3c674d='type.googleapis.com'),_0x3c674d+'/CommentsThreadDescriptor';},_0x4e6ef1;}()),_0x3d2f4a['CommentDescriptor']=(function(){function _0x59399a(_0x4c693f){if(_0x4c693f){for(var _0x1d39b7=Object['keys'](_0x4c693f),_0x10334a=0x0;_0x10334a<_0x1d39b7['length'];++_0x10334a)null!=_0x4c693f[_0x1d39b7[_0x10334a]]&&(this[_0x1d39b7[_0x10334a]]=_0x4c693f[_0x1d39b7[_0x10334a]]);}}return _0x59399a['prototype']['commentId']='',_0x59399a['prototype']['commentThreadId']='',_0x59399a['prototype']['userId']='',_0x59399a['prototype']['content']='',_0x59399a['prototype']['documentId']='',_0x59399a['prototype']['createdAt']='',_0x59399a['prototype']['attributes']='',_0x59399a['create']=function(_0x3d9c83){return new _0x59399a(_0x3d9c83);},_0x59399a['encode']=function(_0x1ad159,_0x4cd4e6){return _0x4cd4e6||(_0x4cd4e6=_0x5dfb11['create']()),null!=_0x1ad159['commentId']&&Object['hasOwnProperty']['call'](_0x1ad159,'commentId')&&_0x4cd4e6['uint32'](0xa)['string'](_0x1ad159['commentId']),null!=_0x1ad159['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1ad159,'commentThreadId')&&_0x4cd4e6['uint32'](0x12)['string'](_0x1ad159['commentThreadId']),null!=_0x1ad159['userId']&&Object['hasOwnProperty']['call'](_0x1ad159,'userId')&&_0x4cd4e6['uint32'](0x1a)['string'](_0x1ad159['userId']),null!=_0x1ad159['content']&&Object['hasOwnProperty']['call'](_0x1ad159,'content')&&_0x4cd4e6['uint32'](0x22)['string'](_0x1ad159['content']),null!=_0x1ad159['documentId']&&Object['hasOwnProperty']['call'](_0x1ad159,'documentId')&&_0x4cd4e6['uint32'](0x2a)['string'](_0x1ad159['documentId']),null!=_0x1ad159['createdAt']&&Object['hasOwnProperty']['call'](_0x1ad159,'createdAt')&&_0x4cd4e6['uint32'](0x32)['string'](_0x1ad159['createdAt']),null!=_0x1ad159['attributes']&&Object['hasOwnProperty']['call'](_0x1ad159,'attributes')&&_0x4cd4e6['uint32'](0x3a)['string'](_0x1ad159['attributes']),_0x4cd4e6;},_0x59399a['encodeDelimited']=function(_0x5e85c5,_0x666daf){return this['encode'](_0x5e85c5,_0x666daf)['ldelim']();},_0x59399a['decode']=function(_0x11dcef,_0x4b67ab,_0x559464){_0x11dcef instanceof _0x2abaaa||(_0x11dcef=_0x2abaaa['create'](_0x11dcef));for(var _0x51967a=void 0x0===_0x4b67ab?_0x11dcef['len']:_0x11dcef['pos']+_0x4b67ab,_0x335a00=new _0x3d2f4a['CommentDescriptor']();_0x11dcef['pos']<_0x51967a;){var _0x5f4ee5=_0x11dcef['uint32']();if(_0x5f4ee5===_0x559464)break;switch(_0x5f4ee5>>>0x3){case 0x1:_0x335a00['commentId']=_0x11dcef['string']();break;case 0x2:_0x335a00['commentThreadId']=_0x11dcef['string']();break;case 0x3:_0x335a00['userId']=_0x11dcef['string']();break;case 0x4:_0x335a00['content']=_0x11dcef['string']();break;case 0x5:_0x335a00['documentId']=_0x11dcef['string']();break;case 0x6:_0x335a00['createdAt']=_0x11dcef['string']();break;case 0x7:_0x335a00['attributes']=_0x11dcef['string']();break;default:_0x11dcef['skipType'](0x7&_0x5f4ee5);}}return _0x335a00;},_0x59399a['decodeDelimited']=function(_0x208d8a){return _0x208d8a instanceof _0x2abaaa||(_0x208d8a=new _0x2abaaa(_0x208d8a)),this['decode'](_0x208d8a,_0x208d8a['uint32']());},_0x59399a['verify']=function(_0x175b0d){return'object'!=typeof _0x175b0d||null===_0x175b0d?'object\x20expected':null!=_0x175b0d['commentId']&&_0x175b0d['hasOwnProperty']('commentId')&&!_0x1a3b11['isString'](_0x175b0d['commentId'])?'commentId:\x20string\x20expected':null!=_0x175b0d['commentThreadId']&&_0x175b0d['hasOwnProperty']('commentThreadId')&&!_0x1a3b11['isString'](_0x175b0d['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x175b0d['userId']&&_0x175b0d['hasOwnProperty']('userId')&&!_0x1a3b11['isString'](_0x175b0d['userId'])?'userId:\x20string\x20expected':null!=_0x175b0d['content']&&_0x175b0d['hasOwnProperty']('content')&&!_0x1a3b11['isString'](_0x175b0d['content'])?'content:\x20string\x20expected':null!=_0x175b0d['documentId']&&_0x175b0d['hasOwnProperty']('documentId')&&!_0x1a3b11['isString'](_0x175b0d['documentId'])?'documentId:\x20string\x20expected':null!=_0x175b0d['createdAt']&&_0x175b0d['hasOwnProperty']('createdAt')&&!_0x1a3b11['isString'](_0x175b0d['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x175b0d['attributes']&&_0x175b0d['hasOwnProperty']('attributes')&&!_0x1a3b11['isString'](_0x175b0d['attributes'])?'attributes:\x20string\x20expected':null;},_0x59399a['fromObject']=function(_0x5439a0){if(_0x5439a0 instanceof _0x3d2f4a['CommentDescriptor'])return _0x5439a0;var _0x557f72=new _0x3d2f4a['CommentDescriptor']();return null!=_0x5439a0['commentId']&&(_0x557f72['commentId']=String(_0x5439a0['commentId'])),null!=_0x5439a0['commentThreadId']&&(_0x557f72['commentThreadId']=String(_0x5439a0['commentThreadId'])),null!=_0x5439a0['userId']&&(_0x557f72['userId']=String(_0x5439a0['userId'])),null!=_0x5439a0['content']&&(_0x557f72['content']=String(_0x5439a0['content'])),null!=_0x5439a0['documentId']&&(_0x557f72['documentId']=String(_0x5439a0['documentId'])),null!=_0x5439a0['createdAt']&&(_0x557f72['createdAt']=String(_0x5439a0['createdAt'])),null!=_0x5439a0['attributes']&&(_0x557f72['attributes']=String(_0x5439a0['attributes'])),_0x557f72;},_0x59399a['toObject']=function(_0x3445e5,_0x26beaf){_0x26beaf||(_0x26beaf={});var _0x23cc8c={};return _0x26beaf['defaults']&&(_0x23cc8c['commentId']='',_0x23cc8c['commentThreadId']='',_0x23cc8c['userId']='',_0x23cc8c['content']='',_0x23cc8c['documentId']='',_0x23cc8c['createdAt']='',_0x23cc8c['attributes']=''),null!=_0x3445e5['commentId']&&_0x3445e5['hasOwnProperty']('commentId')&&(_0x23cc8c['commentId']=_0x3445e5['commentId']),null!=_0x3445e5['commentThreadId']&&_0x3445e5['hasOwnProperty']('commentThreadId')&&(_0x23cc8c['commentThreadId']=_0x3445e5['commentThreadId']),null!=_0x3445e5['userId']&&_0x3445e5['hasOwnProperty']('userId')&&(_0x23cc8c['userId']=_0x3445e5['userId']),null!=_0x3445e5['content']&&_0x3445e5['hasOwnProperty']('content')&&(_0x23cc8c['content']=_0x3445e5['content']),null!=_0x3445e5['documentId']&&_0x3445e5['hasOwnProperty']('documentId')&&(_0x23cc8c['documentId']=_0x3445e5['documentId']),null!=_0x3445e5['createdAt']&&_0x3445e5['hasOwnProperty']('createdAt')&&(_0x23cc8c['createdAt']=_0x3445e5['createdAt']),null!=_0x3445e5['attributes']&&_0x3445e5['hasOwnProperty']('attributes')&&(_0x23cc8c['attributes']=_0x3445e5['attributes']),_0x23cc8c;},_0x59399a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x59399a['getTypeUrl']=function(_0xf44a63){return void 0x0===_0xf44a63&&(_0xf44a63='type.googleapis.com'),_0xf44a63+'/CommentDescriptor';},_0x59399a;}()),_0x3d2f4a['GetDocumentDetailsResponse']=(function(){function _0x1c9b29(_0x546aad){if(_0x546aad){for(var _0x4b5052=Object['keys'](_0x546aad),_0x547e0c=0x0;_0x547e0c<_0x4b5052['length'];++_0x547e0c)null!=_0x546aad[_0x4b5052[_0x547e0c]]&&(this[_0x4b5052[_0x547e0c]]=_0x546aad[_0x4b5052[_0x547e0c]]);}}return _0x1c9b29['prototype']['lastDocumentSessionId']='',_0x1c9b29['prototype']['lastDocumentSessionOperationId']='',_0x1c9b29['prototype']['currentDocumentSessionId']='',_0x1c9b29['prototype']['currentDocumentSessionVersion']=0x0,_0x1c9b29['prototype']['currentDocumentSessionOperationId']='',_0x1c9b29['create']=function(_0x1b7998){return new _0x1c9b29(_0x1b7998);},_0x1c9b29['encode']=function(_0x58124e,_0x57e4e9){return _0x57e4e9||(_0x57e4e9=_0x5dfb11['create']()),null!=_0x58124e['lastDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x58124e,'lastDocumentSessionId')&&_0x57e4e9['uint32'](0xa)['string'](_0x58124e['lastDocumentSessionId']),null!=_0x58124e['lastDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x58124e,'lastDocumentSessionOperationId')&&_0x57e4e9['uint32'](0x12)['string'](_0x58124e['lastDocumentSessionOperationId']),null!=_0x58124e['currentDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x58124e,'currentDocumentSessionId')&&_0x57e4e9['uint32'](0x1a)['string'](_0x58124e['currentDocumentSessionId']),null!=_0x58124e['currentDocumentSessionVersion']&&Object['hasOwnProperty']['call'](_0x58124e,'currentDocumentSessionVersion')&&_0x57e4e9['uint32'](0x20)['uint32'](_0x58124e['currentDocumentSessionVersion']),null!=_0x58124e['currentDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x58124e,'currentDocumentSessionOperationId')&&_0x57e4e9['uint32'](0x2a)['string'](_0x58124e['currentDocumentSessionOperationId']),_0x57e4e9;},_0x1c9b29['encodeDelimited']=function(_0x527054,_0x42fa09){return this['encode'](_0x527054,_0x42fa09)['ldelim']();},_0x1c9b29['decode']=function(_0x216233,_0x5ee2a6,_0xf6de6a){_0x216233 instanceof _0x2abaaa||(_0x216233=_0x2abaaa['create'](_0x216233));for(var _0x16b34f=void 0x0===_0x5ee2a6?_0x216233['len']:_0x216233['pos']+_0x5ee2a6,_0x1671ac=new _0x3d2f4a['GetDocumentDetailsResponse']();_0x216233['pos']<_0x16b34f;){var _0x25adfa=_0x216233['uint32']();if(_0x25adfa===_0xf6de6a)break;switch(_0x25adfa>>>0x3){case 0x1:_0x1671ac['lastDocumentSessionId']=_0x216233['string']();break;case 0x2:_0x1671ac['lastDocumentSessionOperationId']=_0x216233['string']();break;case 0x3:_0x1671ac['currentDocumentSessionId']=_0x216233['string']();break;case 0x4:_0x1671ac['currentDocumentSessionVersion']=_0x216233['uint32']();break;case 0x5:_0x1671ac['currentDocumentSessionOperationId']=_0x216233['string']();break;default:_0x216233['skipType'](0x7&_0x25adfa);}}return _0x1671ac;},_0x1c9b29['decodeDelimited']=function(_0x47ced4){return _0x47ced4 instanceof _0x2abaaa||(_0x47ced4=new _0x2abaaa(_0x47ced4)),this['decode'](_0x47ced4,_0x47ced4['uint32']());},_0x1c9b29['verify']=function(_0xf18542){return'object'!=typeof _0xf18542||null===_0xf18542?'object\x20expected':null!=_0xf18542['lastDocumentSessionId']&&_0xf18542['hasOwnProperty']('lastDocumentSessionId')&&!_0x1a3b11['isString'](_0xf18542['lastDocumentSessionId'])?'lastDocumentSessionId:\x20string\x20expected':null!=_0xf18542['lastDocumentSessionOperationId']&&_0xf18542['hasOwnProperty']('lastDocumentSessionOperationId')&&!_0x1a3b11['isString'](_0xf18542['lastDocumentSessionOperationId'])?'lastDocumentSessionOperationId:\x20string\x20expected':null!=_0xf18542['currentDocumentSessionId']&&_0xf18542['hasOwnProperty']('currentDocumentSessionId')&&!_0x1a3b11['isString'](_0xf18542['currentDocumentSessionId'])?'currentDocumentSessionId:\x20string\x20expected':null!=_0xf18542['currentDocumentSessionVersion']&&_0xf18542['hasOwnProperty']('currentDocumentSessionVersion')&&!_0x1a3b11['isInteger'](_0xf18542['currentDocumentSessionVersion'])?'currentDocumentSessionVersion:\x20integer\x20expected':null!=_0xf18542['currentDocumentSessionOperationId']&&_0xf18542['hasOwnProperty']('currentDocumentSessionOperationId')&&!_0x1a3b11['isString'](_0xf18542['currentDocumentSessionOperationId'])?'currentDocumentSessionOperationId:\x20string\x20expected':null;},_0x1c9b29['fromObject']=function(_0x20d06c){if(_0x20d06c instanceof _0x3d2f4a['GetDocumentDetailsResponse'])return _0x20d06c;var _0x2e98bf=new _0x3d2f4a['GetDocumentDetailsResponse']();return null!=_0x20d06c['lastDocumentSessionId']&&(_0x2e98bf['lastDocumentSessionId']=String(_0x20d06c['lastDocumentSessionId'])),null!=_0x20d06c['lastDocumentSessionOperationId']&&(_0x2e98bf['lastDocumentSessionOperationId']=String(_0x20d06c['lastDocumentSessionOperationId'])),null!=_0x20d06c['currentDocumentSessionId']&&(_0x2e98bf['currentDocumentSessionId']=String(_0x20d06c['currentDocumentSessionId'])),null!=_0x20d06c['currentDocumentSessionVersion']&&(_0x2e98bf['currentDocumentSessionVersion']=_0x20d06c['currentDocumentSessionVersion']>>>0x0),null!=_0x20d06c['currentDocumentSessionOperationId']&&(_0x2e98bf['currentDocumentSessionOperationId']=String(_0x20d06c['currentDocumentSessionOperationId'])),_0x2e98bf;},_0x1c9b29['toObject']=function(_0x5fa101,_0x4243a3){_0x4243a3||(_0x4243a3={});var _0x136be6={};return _0x4243a3['defaults']&&(_0x136be6['lastDocumentSessionId']='',_0x136be6['lastDocumentSessionOperationId']='',_0x136be6['currentDocumentSessionId']='',_0x136be6['currentDocumentSessionVersion']=0x0,_0x136be6['currentDocumentSessionOperationId']=''),null!=_0x5fa101['lastDocumentSessionId']&&_0x5fa101['hasOwnProperty']('lastDocumentSessionId')&&(_0x136be6['lastDocumentSessionId']=_0x5fa101['lastDocumentSessionId']),null!=_0x5fa101['lastDocumentSessionOperationId']&&_0x5fa101['hasOwnProperty']('lastDocumentSessionOperationId')&&(_0x136be6['lastDocumentSessionOperationId']=_0x5fa101['lastDocumentSessionOperationId']),null!=_0x5fa101['currentDocumentSessionId']&&_0x5fa101['hasOwnProperty']('currentDocumentSessionId')&&(_0x136be6['currentDocumentSessionId']=_0x5fa101['currentDocumentSessionId']),null!=_0x5fa101['currentDocumentSessionVersion']&&_0x5fa101['hasOwnProperty']('currentDocumentSessionVersion')&&(_0x136be6['currentDocumentSessionVersion']=_0x5fa101['currentDocumentSessionVersion']),null!=_0x5fa101['currentDocumentSessionOperationId']&&_0x5fa101['hasOwnProperty']('currentDocumentSessionOperationId')&&(_0x136be6['currentDocumentSessionOperationId']=_0x5fa101['currentDocumentSessionOperationId']),_0x136be6;},_0x1c9b29['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1c9b29['getTypeUrl']=function(_0x59dfd6){return void 0x0===_0x59dfd6&&(_0x59dfd6='type.googleapis.com'),_0x59dfd6+'/GetDocumentDetailsResponse';},_0x1c9b29;}()),_0x3d2f4a['CollaborativeEditingResponse']=(function(){function _0x536c10(_0x45307b){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x45307b){for(var _0x1934ff=Object['keys'](_0x45307b),_0x2c420c=0x0;_0x2c420c<_0x1934ff['length'];++_0x2c420c)null!=_0x45307b[_0x1934ff[_0x2c420c]]&&(this[_0x1934ff[_0x2c420c]]=_0x45307b[_0x1934ff[_0x2c420c]]);}}return _0x536c10['prototype']['version']=0x0,_0x536c10['prototype']['buffers']=_0x1a3b11['emptyArray'],_0x536c10['prototype']['types']=_0x1a3b11['emptyArray'],_0x536c10['prototype']['metadata']=_0x1a3b11['emptyArray'],_0x536c10['prototype']['lastOperationId']='',_0x536c10['prototype']['lastOperationAcceptedAt']='',_0x536c10['create']=function(_0x59f3ce){return new _0x536c10(_0x59f3ce);},_0x536c10['encode']=function(_0x2188eb,_0x275b9e){if(_0x275b9e||(_0x275b9e=_0x5dfb11['create']()),null!=_0x2188eb['version']&&Object['hasOwnProperty']['call'](_0x2188eb,'version')&&_0x275b9e['uint32'](0x8)['uint32'](_0x2188eb['version']),null!=_0x2188eb['buffers']&&_0x2188eb['buffers']['length']){for(var _0x108c21=0x0;_0x108c21<_0x2188eb['buffers']['length'];++_0x108c21)_0x275b9e['uint32'](0x12)['bytes'](_0x2188eb['buffers'][_0x108c21]);}if(null!=_0x2188eb['types']&&_0x2188eb['types']['length']){for(_0x275b9e['uint32'](0x1a)['fork'](),_0x108c21=0x0;_0x108c21<_0x2188eb['types']['length'];++_0x108c21)_0x275b9e['uint32'](_0x2188eb['types'][_0x108c21]);_0x275b9e['ldelim']();}if(null!=_0x2188eb['metadata']&&_0x2188eb['metadata']['length']){for(_0x108c21=0x0;_0x108c21<_0x2188eb['metadata']['length'];++_0x108c21)_0x3d2f4a['OperationMetadataDescriptor']['encode'](_0x2188eb['metadata'][_0x108c21],_0x275b9e['uint32'](0x2a)['fork']())['ldelim']();}return null!=_0x2188eb['lastOperationId']&&Object['hasOwnProperty']['call'](_0x2188eb,'lastOperationId')&&_0x275b9e['uint32'](0x32)['string'](_0x2188eb['lastOperationId']),null!=_0x2188eb['lastOperationAcceptedAt']&&Object['hasOwnProperty']['call'](_0x2188eb,'lastOperationAcceptedAt')&&_0x275b9e['uint32'](0x3a)['string'](_0x2188eb['lastOperationAcceptedAt']),_0x275b9e;},_0x536c10['encodeDelimited']=function(_0x38e132,_0x207298){return this['encode'](_0x38e132,_0x207298)['ldelim']();},_0x536c10['decode']=function(_0x4674bf,_0x3e0784,_0x420885){_0x4674bf instanceof _0x2abaaa||(_0x4674bf=_0x2abaaa['create'](_0x4674bf));for(var _0x35bea0=void 0x0===_0x3e0784?_0x4674bf['len']:_0x4674bf['pos']+_0x3e0784,_0x53da0f=new _0x3d2f4a['CollaborativeEditingResponse']();_0x4674bf['pos']<_0x35bea0;){var _0x5db7b6=_0x4674bf['uint32']();if(_0x5db7b6===_0x420885)break;switch(_0x5db7b6>>>0x3){case 0x1:_0x53da0f['version']=_0x4674bf['uint32']();break;case 0x2:_0x53da0f['buffers']&&_0x53da0f['buffers']['length']||(_0x53da0f['buffers']=[]),_0x53da0f['buffers']['push'](_0x4674bf['bytes']());break;case 0x3:if(_0x53da0f['types']&&_0x53da0f['types']['length']||(_0x53da0f['types']=[]),0x2==(0x7&_0x5db7b6)){for(var _0x576de4=_0x4674bf['uint32']()+_0x4674bf['pos'];_0x4674bf['pos']<_0x576de4;)_0x53da0f['types']['push'](_0x4674bf['uint32']());}else _0x53da0f['types']['push'](_0x4674bf['uint32']());break;case 0x5:_0x53da0f['metadata']&&_0x53da0f['metadata']['length']||(_0x53da0f['metadata']=[]),_0x53da0f['metadata']['push'](_0x3d2f4a['OperationMetadataDescriptor']['decode'](_0x4674bf,_0x4674bf['uint32']()));break;case 0x6:_0x53da0f['lastOperationId']=_0x4674bf['string']();break;case 0x7:_0x53da0f['lastOperationAcceptedAt']=_0x4674bf['string']();break;default:_0x4674bf['skipType'](0x7&_0x5db7b6);}}return _0x53da0f;},_0x536c10['decodeDelimited']=function(_0x7c7d72){return _0x7c7d72 instanceof _0x2abaaa||(_0x7c7d72=new _0x2abaaa(_0x7c7d72)),this['decode'](_0x7c7d72,_0x7c7d72['uint32']());},_0x536c10['verify']=function(_0x19648b){if('object'!=typeof _0x19648b||null===_0x19648b)return'object\x20expected';if(null!=_0x19648b['version']&&_0x19648b['hasOwnProperty']('version')&&!_0x1a3b11['isInteger'](_0x19648b['version']))return'version:\x20integer\x20expected';if(null!=_0x19648b['buffers']&&_0x19648b['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x19648b['buffers']))return'buffers:\x20array\x20expected';for(var _0x10f240=0x0;_0x10f240<_0x19648b['buffers']['length'];++_0x10f240)if(!(_0x19648b['buffers'][_0x10f240]&&'number'==typeof _0x19648b['buffers'][_0x10f240]['length']||_0x1a3b11['isString'](_0x19648b['buffers'][_0x10f240])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x19648b['types']&&_0x19648b['hasOwnProperty']('types')){if(!Array['isArray'](_0x19648b['types']))return'types:\x20array\x20expected';for(_0x10f240=0x0;_0x10f240<_0x19648b['types']['length'];++_0x10f240)if(!_0x1a3b11['isInteger'](_0x19648b['types'][_0x10f240]))return'types:\x20integer[]\x20expected';}if(null!=_0x19648b['metadata']&&_0x19648b['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x19648b['metadata']))return'metadata:\x20array\x20expected';for(_0x10f240=0x0;_0x10f240<_0x19648b['metadata']['length'];++_0x10f240){var _0x5f2dbf=_0x3d2f4a['OperationMetadataDescriptor']['verify'](_0x19648b['metadata'][_0x10f240]);if(_0x5f2dbf)return'metadata.'+_0x5f2dbf;}}return null!=_0x19648b['lastOperationId']&&_0x19648b['hasOwnProperty']('lastOperationId')&&!_0x1a3b11['isString'](_0x19648b['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x19648b['lastOperationAcceptedAt']&&_0x19648b['hasOwnProperty']('lastOperationAcceptedAt')&&!_0x1a3b11['isString'](_0x19648b['lastOperationAcceptedAt'])?'lastOperationAcceptedAt:\x20string\x20expected':null;},_0x536c10['fromObject']=function(_0x1f878e){if(_0x1f878e instanceof _0x3d2f4a['CollaborativeEditingResponse'])return _0x1f878e;var _0x22afa5=new _0x3d2f4a['CollaborativeEditingResponse']();if(null!=_0x1f878e['version']&&(_0x22afa5['version']=_0x1f878e['version']>>>0x0),_0x1f878e['buffers']){if(!Array['isArray'](_0x1f878e['buffers']))throw TypeError('.CollaborativeEditingResponse.buffers:\x20array\x20expected');_0x22afa5['buffers']=[];for(var _0x3a5333=0x0;_0x3a5333<_0x1f878e['buffers']['length'];++_0x3a5333)'string'==typeof _0x1f878e['buffers'][_0x3a5333]?_0x1a3b11['base64']['decode'](_0x1f878e['buffers'][_0x3a5333],_0x22afa5['buffers'][_0x3a5333]=_0x1a3b11['newBuffer'](_0x1a3b11['base64']['length'](_0x1f878e['buffers'][_0x3a5333])),0x0):_0x1f878e['buffers'][_0x3a5333]['length']>=0x0&&(_0x22afa5['buffers'][_0x3a5333]=_0x1f878e['buffers'][_0x3a5333]);}if(_0x1f878e['types']){if(!Array['isArray'](_0x1f878e['types']))throw TypeError('.CollaborativeEditingResponse.types:\x20array\x20expected');for(_0x22afa5['types']=[],_0x3a5333=0x0;_0x3a5333<_0x1f878e['types']['length'];++_0x3a5333)_0x22afa5['types'][_0x3a5333]=_0x1f878e['types'][_0x3a5333]>>>0x0;}if(_0x1f878e['metadata']){if(!Array['isArray'](_0x1f878e['metadata']))throw TypeError('.CollaborativeEditingResponse.metadata:\x20array\x20expected');for(_0x22afa5['metadata']=[],_0x3a5333=0x0;_0x3a5333<_0x1f878e['metadata']['length'];++_0x3a5333){if('object'!=typeof _0x1f878e['metadata'][_0x3a5333])throw TypeError('.CollaborativeEditingResponse.metadata:\x20object\x20expected');_0x22afa5['metadata'][_0x3a5333]=_0x3d2f4a['OperationMetadataDescriptor']['fromObject'](_0x1f878e['metadata'][_0x3a5333]);}}return null!=_0x1f878e['lastOperationId']&&(_0x22afa5['lastOperationId']=String(_0x1f878e['lastOperationId'])),null!=_0x1f878e['lastOperationAcceptedAt']&&(_0x22afa5['lastOperationAcceptedAt']=String(_0x1f878e['lastOperationAcceptedAt'])),_0x22afa5;},_0x536c10['toObject']=function(_0x315bff,_0x53ffe6){_0x53ffe6||(_0x53ffe6={});var _0x283ca1={};if((_0x53ffe6['arrays']||_0x53ffe6['defaults'])&&(_0x283ca1['buffers']=[],_0x283ca1['types']=[],_0x283ca1['metadata']=[]),_0x53ffe6['defaults']&&(_0x283ca1['version']=0x0,_0x283ca1['lastOperationId']='',_0x283ca1['lastOperationAcceptedAt']=''),null!=_0x315bff['version']&&_0x315bff['hasOwnProperty']('version')&&(_0x283ca1['version']=_0x315bff['version']),_0x315bff['buffers']&&_0x315bff['buffers']['length']){_0x283ca1['buffers']=[];for(var _0x597c3f=0x0;_0x597c3f<_0x315bff['buffers']['length'];++_0x597c3f)_0x283ca1['buffers'][_0x597c3f]=_0x53ffe6['bytes']===String?_0x1a3b11['base64']['encode'](_0x315bff['buffers'][_0x597c3f],0x0,_0x315bff['buffers'][_0x597c3f]['length']):_0x53ffe6['bytes']===Array?Array['prototype']['slice']['call'](_0x315bff['buffers'][_0x597c3f]):_0x315bff['buffers'][_0x597c3f];}if(_0x315bff['types']&&_0x315bff['types']['length']){for(_0x283ca1['types']=[],_0x597c3f=0x0;_0x597c3f<_0x315bff['types']['length'];++_0x597c3f)_0x283ca1['types'][_0x597c3f]=_0x315bff['types'][_0x597c3f];}if(_0x315bff['metadata']&&_0x315bff['metadata']['length']){for(_0x283ca1['metadata']=[],_0x597c3f=0x0;_0x597c3f<_0x315bff['metadata']['length'];++_0x597c3f)_0x283ca1['metadata'][_0x597c3f]=_0x3d2f4a['OperationMetadataDescriptor']['toObject'](_0x315bff['metadata'][_0x597c3f],_0x53ffe6);}return null!=_0x315bff['lastOperationId']&&_0x315bff['hasOwnProperty']('lastOperationId')&&(_0x283ca1['lastOperationId']=_0x315bff['lastOperationId']),null!=_0x315bff['lastOperationAcceptedAt']&&_0x315bff['hasOwnProperty']('lastOperationAcceptedAt')&&(_0x283ca1['lastOperationAcceptedAt']=_0x315bff['lastOperationAcceptedAt']),_0x283ca1;},_0x536c10['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x536c10['getTypeUrl']=function(_0x524549){return void 0x0===_0x524549&&(_0x524549='type.googleapis.com'),_0x524549+'/CollaborativeEditingResponse';},_0x536c10;}()),_0x3d2f4a['CollaborativeEditingConnectResponse']=(function(){function _0x300ef2(_0x221e71){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x221e71){for(var _0x3c2a0a=Object['keys'](_0x221e71),_0x256f90=0x0;_0x256f90<_0x3c2a0a['length'];++_0x256f90)null!=_0x221e71[_0x3c2a0a[_0x256f90]]&&(this[_0x3c2a0a[_0x256f90]]=_0x221e71[_0x3c2a0a[_0x256f90]]);}}return _0x300ef2['prototype']['channel']='',_0x300ef2['prototype']['offset']=0x0,_0x300ef2['prototype']['version']=0x0,_0x300ef2['prototype']['buffers']=_0x1a3b11['emptyArray'],_0x300ef2['prototype']['types']=_0x1a3b11['emptyArray'],_0x300ef2['prototype']['metadata']=_0x1a3b11['emptyArray'],_0x300ef2['prototype']['initData']='',_0x300ef2['prototype']['isInitialized']=!0x1,_0x300ef2['prototype']['sessionId']='',_0x300ef2['prototype']['lastOperationId']='',_0x300ef2['prototype']['sessionCreatedAt']='',_0x300ef2['create']=function(_0x4e345b){return new _0x300ef2(_0x4e345b);},_0x300ef2['encode']=function(_0x1653ce,_0x185d9a){if(_0x185d9a||(_0x185d9a=_0x5dfb11['create']()),null!=_0x1653ce['channel']&&Object['hasOwnProperty']['call'](_0x1653ce,'channel')&&_0x185d9a['uint32'](0xa)['string'](_0x1653ce['channel']),null!=_0x1653ce['offset']&&Object['hasOwnProperty']['call'](_0x1653ce,'offset')&&_0x185d9a['uint32'](0x10)['uint32'](_0x1653ce['offset']),null!=_0x1653ce['version']&&Object['hasOwnProperty']['call'](_0x1653ce,'version')&&_0x185d9a['uint32'](0x18)['uint32'](_0x1653ce['version']),null!=_0x1653ce['buffers']&&_0x1653ce['buffers']['length']){for(var _0x2f2196=0x0;_0x2f2196<_0x1653ce['buffers']['length'];++_0x2f2196)_0x185d9a['uint32'](0x22)['bytes'](_0x1653ce['buffers'][_0x2f2196]);}if(null!=_0x1653ce['types']&&_0x1653ce['types']['length']){for(_0x185d9a['uint32'](0x2a)['fork'](),_0x2f2196=0x0;_0x2f2196<_0x1653ce['types']['length'];++_0x2f2196)_0x185d9a['uint32'](_0x1653ce['types'][_0x2f2196]);_0x185d9a['ldelim']();}if(null!=_0x1653ce['metadata']&&_0x1653ce['metadata']['length']){for(_0x2f2196=0x0;_0x2f2196<_0x1653ce['metadata']['length'];++_0x2f2196)_0x3d2f4a['OperationMetadataDescriptor']['encode'](_0x1653ce['metadata'][_0x2f2196],_0x185d9a['uint32'](0x3a)['fork']())['ldelim']();}return null!=_0x1653ce['initData']&&Object['hasOwnProperty']['call'](_0x1653ce,'initData')&&_0x185d9a['uint32'](0x42)['string'](_0x1653ce['initData']),null!=_0x1653ce['isInitialized']&&Object['hasOwnProperty']['call'](_0x1653ce,'isInitialized')&&_0x185d9a['uint32'](0x48)['bool'](_0x1653ce['isInitialized']),null!=_0x1653ce['sessionId']&&Object['hasOwnProperty']['call'](_0x1653ce,'sessionId')&&_0x185d9a['uint32'](0x52)['string'](_0x1653ce['sessionId']),null!=_0x1653ce['lastOperationId']&&Object['hasOwnProperty']['call'](_0x1653ce,'lastOperationId')&&_0x185d9a['uint32'](0x5a)['string'](_0x1653ce['lastOperationId']),null!=_0x1653ce['sessionCreatedAt']&&Object['hasOwnProperty']['call'](_0x1653ce,'sessionCreatedAt')&&_0x185d9a['uint32'](0x62)['string'](_0x1653ce['sessionCreatedAt']),_0x185d9a;},_0x300ef2['encodeDelimited']=function(_0x3952ba,_0x40f0fa){return this['encode'](_0x3952ba,_0x40f0fa)['ldelim']();},_0x300ef2['decode']=function(_0x1807bb,_0x5dc13f,_0x4ac8bf){_0x1807bb instanceof _0x2abaaa||(_0x1807bb=_0x2abaaa['create'](_0x1807bb));for(var _0x187f85=void 0x0===_0x5dc13f?_0x1807bb['len']:_0x1807bb['pos']+_0x5dc13f,_0x2e9eb5=new _0x3d2f4a['CollaborativeEditingConnectResponse']();_0x1807bb['pos']<_0x187f85;){var _0x24c502=_0x1807bb['uint32']();if(_0x24c502===_0x4ac8bf)break;switch(_0x24c502>>>0x3){case 0x1:_0x2e9eb5['channel']=_0x1807bb['string']();break;case 0x2:_0x2e9eb5['offset']=_0x1807bb['uint32']();break;case 0x3:_0x2e9eb5['version']=_0x1807bb['uint32']();break;case 0x4:_0x2e9eb5['buffers']&&_0x2e9eb5['buffers']['length']||(_0x2e9eb5['buffers']=[]),_0x2e9eb5['buffers']['push'](_0x1807bb['bytes']());break;case 0x5:if(_0x2e9eb5['types']&&_0x2e9eb5['types']['length']||(_0x2e9eb5['types']=[]),0x2==(0x7&_0x24c502)){for(var _0x5d7e4f=_0x1807bb['uint32']()+_0x1807bb['pos'];_0x1807bb['pos']<_0x5d7e4f;)_0x2e9eb5['types']['push'](_0x1807bb['uint32']());}else _0x2e9eb5['types']['push'](_0x1807bb['uint32']());break;case 0x7:_0x2e9eb5['metadata']&&_0x2e9eb5['metadata']['length']||(_0x2e9eb5['metadata']=[]),_0x2e9eb5['metadata']['push'](_0x3d2f4a['OperationMetadataDescriptor']['decode'](_0x1807bb,_0x1807bb['uint32']()));break;case 0x8:_0x2e9eb5['initData']=_0x1807bb['string']();break;case 0x9:_0x2e9eb5['isInitialized']=_0x1807bb['bool']();break;case 0xa:_0x2e9eb5['sessionId']=_0x1807bb['string']();break;case 0xb:_0x2e9eb5['lastOperationId']=_0x1807bb['string']();break;case 0xc:_0x2e9eb5['sessionCreatedAt']=_0x1807bb['string']();break;default:_0x1807bb['skipType'](0x7&_0x24c502);}}return _0x2e9eb5;},_0x300ef2['decodeDelimited']=function(_0x585419){return _0x585419 instanceof _0x2abaaa||(_0x585419=new _0x2abaaa(_0x585419)),this['decode'](_0x585419,_0x585419['uint32']());},_0x300ef2['verify']=function(_0x4750f6){if('object'!=typeof _0x4750f6||null===_0x4750f6)return'object\x20expected';if(null!=_0x4750f6['channel']&&_0x4750f6['hasOwnProperty']('channel')&&!_0x1a3b11['isString'](_0x4750f6['channel']))return'channel:\x20string\x20expected';if(null!=_0x4750f6['offset']&&_0x4750f6['hasOwnProperty']('offset')&&!_0x1a3b11['isInteger'](_0x4750f6['offset']))return'offset:\x20integer\x20expected';if(null!=_0x4750f6['version']&&_0x4750f6['hasOwnProperty']('version')&&!_0x1a3b11['isInteger'](_0x4750f6['version']))return'version:\x20integer\x20expected';if(null!=_0x4750f6['buffers']&&_0x4750f6['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x4750f6['buffers']))return'buffers:\x20array\x20expected';for(var _0xcfb3cc=0x0;_0xcfb3cc<_0x4750f6['buffers']['length'];++_0xcfb3cc)if(!(_0x4750f6['buffers'][_0xcfb3cc]&&'number'==typeof _0x4750f6['buffers'][_0xcfb3cc]['length']||_0x1a3b11['isString'](_0x4750f6['buffers'][_0xcfb3cc])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x4750f6['types']&&_0x4750f6['hasOwnProperty']('types')){if(!Array['isArray'](_0x4750f6['types']))return'types:\x20array\x20expected';for(_0xcfb3cc=0x0;_0xcfb3cc<_0x4750f6['types']['length'];++_0xcfb3cc)if(!_0x1a3b11['isInteger'](_0x4750f6['types'][_0xcfb3cc]))return'types:\x20integer[]\x20expected';}if(null!=_0x4750f6['metadata']&&_0x4750f6['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x4750f6['metadata']))return'metadata:\x20array\x20expected';for(_0xcfb3cc=0x0;_0xcfb3cc<_0x4750f6['metadata']['length'];++_0xcfb3cc){var _0x4de7c4=_0x3d2f4a['OperationMetadataDescriptor']['verify'](_0x4750f6['metadata'][_0xcfb3cc]);if(_0x4de7c4)return'metadata.'+_0x4de7c4;}}return null!=_0x4750f6['initData']&&_0x4750f6['hasOwnProperty']('initData')&&!_0x1a3b11['isString'](_0x4750f6['initData'])?'initData:\x20string\x20expected':null!=_0x4750f6['isInitialized']&&_0x4750f6['hasOwnProperty']('isInitialized')&&'boolean'!=typeof _0x4750f6['isInitialized']?'isInitialized:\x20boolean\x20expected':null!=_0x4750f6['sessionId']&&_0x4750f6['hasOwnProperty']('sessionId')&&!_0x1a3b11['isString'](_0x4750f6['sessionId'])?'sessionId:\x20string\x20expected':null!=_0x4750f6['lastOperationId']&&_0x4750f6['hasOwnProperty']('lastOperationId')&&!_0x1a3b11['isString'](_0x4750f6['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x4750f6['sessionCreatedAt']&&_0x4750f6['hasOwnProperty']('sessionCreatedAt')&&!_0x1a3b11['isString'](_0x4750f6['sessionCreatedAt'])?'sessionCreatedAt:\x20string\x20expected':null;},_0x300ef2['fromObject']=function(_0x179bc3){if(_0x179bc3 instanceof _0x3d2f4a['CollaborativeEditingConnectResponse'])return _0x179bc3;var _0x5e6dd3=new _0x3d2f4a['CollaborativeEditingConnectResponse']();if(null!=_0x179bc3['channel']&&(_0x5e6dd3['channel']=String(_0x179bc3['channel'])),null!=_0x179bc3['offset']&&(_0x5e6dd3['offset']=_0x179bc3['offset']>>>0x0),null!=_0x179bc3['version']&&(_0x5e6dd3['version']=_0x179bc3['version']>>>0x0),_0x179bc3['buffers']){if(!Array['isArray'](_0x179bc3['buffers']))throw TypeError('.CollaborativeEditingConnectResponse.buffers:\x20array\x20expected');_0x5e6dd3['buffers']=[];for(var _0x4b8b71=0x0;_0x4b8b71<_0x179bc3['buffers']['length'];++_0x4b8b71)'string'==typeof _0x179bc3['buffers'][_0x4b8b71]?_0x1a3b11['base64']['decode'](_0x179bc3['buffers'][_0x4b8b71],_0x5e6dd3['buffers'][_0x4b8b71]=_0x1a3b11['newBuffer'](_0x1a3b11['base64']['length'](_0x179bc3['buffers'][_0x4b8b71])),0x0):_0x179bc3['buffers'][_0x4b8b71]['length']>=0x0&&(_0x5e6dd3['buffers'][_0x4b8b71]=_0x179bc3['buffers'][_0x4b8b71]);}if(_0x179bc3['types']){if(!Array['isArray'](_0x179bc3['types']))throw TypeError('.CollaborativeEditingConnectResponse.types:\x20array\x20expected');for(_0x5e6dd3['types']=[],_0x4b8b71=0x0;_0x4b8b71<_0x179bc3['types']['length'];++_0x4b8b71)_0x5e6dd3['types'][_0x4b8b71]=_0x179bc3['types'][_0x4b8b71]>>>0x0;}if(_0x179bc3['metadata']){if(!Array['isArray'](_0x179bc3['metadata']))throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20array\x20expected');for(_0x5e6dd3['metadata']=[],_0x4b8b71=0x0;_0x4b8b71<_0x179bc3['metadata']['length'];++_0x4b8b71){if('object'!=typeof _0x179bc3['metadata'][_0x4b8b71])throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20object\x20expected');_0x5e6dd3['metadata'][_0x4b8b71]=_0x3d2f4a['OperationMetadataDescriptor']['fromObject'](_0x179bc3['metadata'][_0x4b8b71]);}}return null!=_0x179bc3['initData']&&(_0x5e6dd3['initData']=String(_0x179bc3['initData'])),null!=_0x179bc3['isInitialized']&&(_0x5e6dd3['isInitialized']=Boolean(_0x179bc3['isInitialized'])),null!=_0x179bc3['sessionId']&&(_0x5e6dd3['sessionId']=String(_0x179bc3['sessionId'])),null!=_0x179bc3['lastOperationId']&&(_0x5e6dd3['lastOperationId']=String(_0x179bc3['lastOperationId'])),null!=_0x179bc3['sessionCreatedAt']&&(_0x5e6dd3['sessionCreatedAt']=String(_0x179bc3['sessionCreatedAt'])),_0x5e6dd3;},_0x300ef2['toObject']=function(_0x12f051,_0x373b81){_0x373b81||(_0x373b81={});var _0xd57c2c={};if((_0x373b81['arrays']||_0x373b81['defaults'])&&(_0xd57c2c['buffers']=[],_0xd57c2c['types']=[],_0xd57c2c['metadata']=[]),_0x373b81['defaults']&&(_0xd57c2c['channel']='',_0xd57c2c['offset']=0x0,_0xd57c2c['version']=0x0,_0xd57c2c['initData']='',_0xd57c2c['isInitialized']=!0x1,_0xd57c2c['sessionId']='',_0xd57c2c['lastOperationId']='',_0xd57c2c['sessionCreatedAt']=''),null!=_0x12f051['channel']&&_0x12f051['hasOwnProperty']('channel')&&(_0xd57c2c['channel']=_0x12f051['channel']),null!=_0x12f051['offset']&&_0x12f051['hasOwnProperty']('offset')&&(_0xd57c2c['offset']=_0x12f051['offset']),null!=_0x12f051['version']&&_0x12f051['hasOwnProperty']('version')&&(_0xd57c2c['version']=_0x12f051['version']),_0x12f051['buffers']&&_0x12f051['buffers']['length']){_0xd57c2c['buffers']=[];for(var _0x4ee22b=0x0;_0x4ee22b<_0x12f051['buffers']['length'];++_0x4ee22b)_0xd57c2c['buffers'][_0x4ee22b]=_0x373b81['bytes']===String?_0x1a3b11['base64']['encode'](_0x12f051['buffers'][_0x4ee22b],0x0,_0x12f051['buffers'][_0x4ee22b]['length']):_0x373b81['bytes']===Array?Array['prototype']['slice']['call'](_0x12f051['buffers'][_0x4ee22b]):_0x12f051['buffers'][_0x4ee22b];}if(_0x12f051['types']&&_0x12f051['types']['length']){for(_0xd57c2c['types']=[],_0x4ee22b=0x0;_0x4ee22b<_0x12f051['types']['length'];++_0x4ee22b)_0xd57c2c['types'][_0x4ee22b]=_0x12f051['types'][_0x4ee22b];}if(_0x12f051['metadata']&&_0x12f051['metadata']['length']){for(_0xd57c2c['metadata']=[],_0x4ee22b=0x0;_0x4ee22b<_0x12f051['metadata']['length'];++_0x4ee22b)_0xd57c2c['metadata'][_0x4ee22b]=_0x3d2f4a['OperationMetadataDescriptor']['toObject'](_0x12f051['metadata'][_0x4ee22b],_0x373b81);}return null!=_0x12f051['initData']&&_0x12f051['hasOwnProperty']('initData')&&(_0xd57c2c['initData']=_0x12f051['initData']),null!=_0x12f051['isInitialized']&&_0x12f051['hasOwnProperty']('isInitialized')&&(_0xd57c2c['isInitialized']=_0x12f051['isInitialized']),null!=_0x12f051['sessionId']&&_0x12f051['hasOwnProperty']('sessionId')&&(_0xd57c2c['sessionId']=_0x12f051['sessionId']),null!=_0x12f051['lastOperationId']&&_0x12f051['hasOwnProperty']('lastOperationId')&&(_0xd57c2c['lastOperationId']=_0x12f051['lastOperationId']),null!=_0x12f051['sessionCreatedAt']&&_0x12f051['hasOwnProperty']('sessionCreatedAt')&&(_0xd57c2c['sessionCreatedAt']=_0x12f051['sessionCreatedAt']),_0xd57c2c;},_0x300ef2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x300ef2['getTypeUrl']=function(_0x5b2e7b){return void 0x0===_0x5b2e7b&&(_0x5b2e7b='type.googleapis.com'),_0x5b2e7b+'/CollaborativeEditingConnectResponse';},_0x300ef2;}()),_0x3d2f4a['GetDocumentDetailsMessage']=(function(){function _0xedd05b(_0x14d704){if(_0x14d704){for(var _0x11e869=Object['keys'](_0x14d704),_0x4b2c69=0x0;_0x4b2c69<_0x11e869['length'];++_0x4b2c69)null!=_0x14d704[_0x11e869[_0x4b2c69]]&&(this[_0x11e869[_0x4b2c69]]=_0x14d704[_0x11e869[_0x4b2c69]]);}}return _0xedd05b['prototype']['documentId']='',_0xedd05b['prototype']['environmentId']='',_0xedd05b['create']=function(_0x2ba47a){return new _0xedd05b(_0x2ba47a);},_0xedd05b['encode']=function(_0x25978d,_0x689852){return _0x689852||(_0x689852=_0x5dfb11['create']()),null!=_0x25978d['documentId']&&Object['hasOwnProperty']['call'](_0x25978d,'documentId')&&_0x689852['uint32'](0xa)['string'](_0x25978d['documentId']),null!=_0x25978d['environmentId']&&Object['hasOwnProperty']['call'](_0x25978d,'environmentId')&&_0x689852['uint32'](0x12)['string'](_0x25978d['environmentId']),_0x689852;},_0xedd05b['encodeDelimited']=function(_0x5650b6,_0xf5e6c2){return this['encode'](_0x5650b6,_0xf5e6c2)['ldelim']();},_0xedd05b['decode']=function(_0x55a0de,_0x584540,_0x5abc74){_0x55a0de instanceof _0x2abaaa||(_0x55a0de=_0x2abaaa['create'](_0x55a0de));for(var _0x1a7222=void 0x0===_0x584540?_0x55a0de['len']:_0x55a0de['pos']+_0x584540,_0x4bc811=new _0x3d2f4a['GetDocumentDetailsMessage']();_0x55a0de['pos']<_0x1a7222;){var _0x3793af=_0x55a0de['uint32']();if(_0x3793af===_0x5abc74)break;switch(_0x3793af>>>0x3){case 0x1:_0x4bc811['documentId']=_0x55a0de['string']();break;case 0x2:_0x4bc811['environmentId']=_0x55a0de['string']();break;default:_0x55a0de['skipType'](0x7&_0x3793af);}}return _0x4bc811;},_0xedd05b['decodeDelimited']=function(_0x5ae772){return _0x5ae772 instanceof _0x2abaaa||(_0x5ae772=new _0x2abaaa(_0x5ae772)),this['decode'](_0x5ae772,_0x5ae772['uint32']());},_0xedd05b['verify']=function(_0x2c62b0){return'object'!=typeof _0x2c62b0||null===_0x2c62b0?'object\x20expected':null!=_0x2c62b0['documentId']&&_0x2c62b0['hasOwnProperty']('documentId')&&!_0x1a3b11['isString'](_0x2c62b0['documentId'])?'documentId:\x20string\x20expected':null!=_0x2c62b0['environmentId']&&_0x2c62b0['hasOwnProperty']('environmentId')&&!_0x1a3b11['isString'](_0x2c62b0['environmentId'])?'environmentId:\x20string\x20expected':null;},_0xedd05b['fromObject']=function(_0x185e3c){if(_0x185e3c instanceof _0x3d2f4a['GetDocumentDetailsMessage'])return _0x185e3c;var _0x2d4246=new _0x3d2f4a['GetDocumentDetailsMessage']();return null!=_0x185e3c['documentId']&&(_0x2d4246['documentId']=String(_0x185e3c['documentId'])),null!=_0x185e3c['environmentId']&&(_0x2d4246['environmentId']=String(_0x185e3c['environmentId'])),_0x2d4246;},_0xedd05b['toObject']=function(_0x7f469e,_0x5c952d){_0x5c952d||(_0x5c952d={});var _0x12fcd0={};return _0x5c952d['defaults']&&(_0x12fcd0['documentId']='',_0x12fcd0['environmentId']=''),null!=_0x7f469e['documentId']&&_0x7f469e['hasOwnProperty']('documentId')&&(_0x12fcd0['documentId']=_0x7f469e['documentId']),null!=_0x7f469e['environmentId']&&_0x7f469e['hasOwnProperty']('environmentId')&&(_0x12fcd0['environmentId']=_0x7f469e['environmentId']),_0x12fcd0;},_0xedd05b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xedd05b['getTypeUrl']=function(_0xd3ee4b){return void 0x0===_0xd3ee4b&&(_0xd3ee4b='type.googleapis.com'),_0xd3ee4b+'/GetDocumentDetailsMessage';},_0xedd05b;}()),_0x3d2f4a['CollaborativeEditingUpdateMessage']=(function(){function _0x108dd2(_0x21f10c){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x21f10c){for(var _0xb0e709=Object['keys'](_0x21f10c),_0x55567c=0x0;_0x55567c<_0xb0e709['length'];++_0x55567c)null!=_0x21f10c[_0xb0e709[_0x55567c]]&&(this[_0xb0e709[_0x55567c]]=_0x21f10c[_0xb0e709[_0x55567c]]);}}return _0x108dd2['prototype']['id']='',_0x108dd2['prototype']['baseVersion']=0x0,_0x108dd2['prototype']['buffers']=_0x1a3b11['emptyArray'],_0x108dd2['prototype']['types']=_0x1a3b11['emptyArray'],_0x108dd2['prototype']['metadata']=_0x1a3b11['emptyArray'],_0x108dd2['prototype']['lastOperationId']='',_0x108dd2['create']=function(_0x43d0dd){return new _0x108dd2(_0x43d0dd);},_0x108dd2['encode']=function(_0x3d937f,_0x2c76de){if(_0x2c76de||(_0x2c76de=_0x5dfb11['create']()),null!=_0x3d937f['id']&&Object['hasOwnProperty']['call'](_0x3d937f,'id')&&_0x2c76de['uint32'](0xa)['string'](_0x3d937f['id']),null!=_0x3d937f['baseVersion']&&Object['hasOwnProperty']['call'](_0x3d937f,'baseVersion')&&_0x2c76de['uint32'](0x10)['uint32'](_0x3d937f['baseVersion']),null!=_0x3d937f['buffers']&&_0x3d937f['buffers']['length']){for(var _0x58ad45=0x0;_0x58ad45<_0x3d937f['buffers']['length'];++_0x58ad45)_0x2c76de['uint32'](0x1a)['bytes'](_0x3d937f['buffers'][_0x58ad45]);}if(null!=_0x3d937f['types']&&_0x3d937f['types']['length']){for(_0x2c76de['uint32'](0x22)['fork'](),_0x58ad45=0x0;_0x58ad45<_0x3d937f['types']['length'];++_0x58ad45)_0x2c76de['uint32'](_0x3d937f['types'][_0x58ad45]);_0x2c76de['ldelim']();}if(null!=_0x3d937f['metadata']&&_0x3d937f['metadata']['length']){for(_0x58ad45=0x0;_0x58ad45<_0x3d937f['metadata']['length'];++_0x58ad45)_0x3d2f4a['OperationMetadataDescriptor']['encode'](_0x3d937f['metadata'][_0x58ad45],_0x2c76de['uint32'](0x32)['fork']())['ldelim']();}return null!=_0x3d937f['lastOperationId']&&Object['hasOwnProperty']['call'](_0x3d937f,'lastOperationId')&&_0x2c76de['uint32'](0x3a)['string'](_0x3d937f['lastOperationId']),_0x2c76de;},_0x108dd2['encodeDelimited']=function(_0x29feaf,_0x497fe7){return this['encode'](_0x29feaf,_0x497fe7)['ldelim']();},_0x108dd2['decode']=function(_0x4e0d73,_0x39b14f,_0x2c167d){_0x4e0d73 instanceof _0x2abaaa||(_0x4e0d73=_0x2abaaa['create'](_0x4e0d73));for(var _0x28d27d=void 0x0===_0x39b14f?_0x4e0d73['len']:_0x4e0d73['pos']+_0x39b14f,_0x5b9056=new _0x3d2f4a['CollaborativeEditingUpdateMessage']();_0x4e0d73['pos']<_0x28d27d;){var _0x4d9e0e=_0x4e0d73['uint32']();if(_0x4d9e0e===_0x2c167d)break;switch(_0x4d9e0e>>>0x3){case 0x1:_0x5b9056['id']=_0x4e0d73['string']();break;case 0x2:_0x5b9056['baseVersion']=_0x4e0d73['uint32']();break;case 0x3:_0x5b9056['buffers']&&_0x5b9056['buffers']['length']||(_0x5b9056['buffers']=[]),_0x5b9056['buffers']['push'](_0x4e0d73['bytes']());break;case 0x4:if(_0x5b9056['types']&&_0x5b9056['types']['length']||(_0x5b9056['types']=[]),0x2==(0x7&_0x4d9e0e)){for(var _0x313fad=_0x4e0d73['uint32']()+_0x4e0d73['pos'];_0x4e0d73['pos']<_0x313fad;)_0x5b9056['types']['push'](_0x4e0d73['uint32']());}else _0x5b9056['types']['push'](_0x4e0d73['uint32']());break;case 0x6:_0x5b9056['metadata']&&_0x5b9056['metadata']['length']||(_0x5b9056['metadata']=[]),_0x5b9056['metadata']['push'](_0x3d2f4a['OperationMetadataDescriptor']['decode'](_0x4e0d73,_0x4e0d73['uint32']()));break;case 0x7:_0x5b9056['lastOperationId']=_0x4e0d73['string']();break;default:_0x4e0d73['skipType'](0x7&_0x4d9e0e);}}return _0x5b9056;},_0x108dd2['decodeDelimited']=function(_0x361eb0){return _0x361eb0 instanceof _0x2abaaa||(_0x361eb0=new _0x2abaaa(_0x361eb0)),this['decode'](_0x361eb0,_0x361eb0['uint32']());},_0x108dd2['verify']=function(_0x223007){if('object'!=typeof _0x223007||null===_0x223007)return'object\x20expected';if(null!=_0x223007['id']&&_0x223007['hasOwnProperty']('id')&&!_0x1a3b11['isString'](_0x223007['id']))return'id:\x20string\x20expected';if(null!=_0x223007['baseVersion']&&_0x223007['hasOwnProperty']('baseVersion')&&!_0x1a3b11['isInteger'](_0x223007['baseVersion']))return'baseVersion:\x20integer\x20expected';if(null!=_0x223007['buffers']&&_0x223007['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x223007['buffers']))return'buffers:\x20array\x20expected';for(var _0x5189fd=0x0;_0x5189fd<_0x223007['buffers']['length'];++_0x5189fd)if(!(_0x223007['buffers'][_0x5189fd]&&'number'==typeof _0x223007['buffers'][_0x5189fd]['length']||_0x1a3b11['isString'](_0x223007['buffers'][_0x5189fd])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x223007['types']&&_0x223007['hasOwnProperty']('types')){if(!Array['isArray'](_0x223007['types']))return'types:\x20array\x20expected';for(_0x5189fd=0x0;_0x5189fd<_0x223007['types']['length'];++_0x5189fd)if(!_0x1a3b11['isInteger'](_0x223007['types'][_0x5189fd]))return'types:\x20integer[]\x20expected';}if(null!=_0x223007['metadata']&&_0x223007['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x223007['metadata']))return'metadata:\x20array\x20expected';for(_0x5189fd=0x0;_0x5189fd<_0x223007['metadata']['length'];++_0x5189fd){var _0x45908c=_0x3d2f4a['OperationMetadataDescriptor']['verify'](_0x223007['metadata'][_0x5189fd]);if(_0x45908c)return'metadata.'+_0x45908c;}}return null!=_0x223007['lastOperationId']&&_0x223007['hasOwnProperty']('lastOperationId')&&!_0x1a3b11['isString'](_0x223007['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x108dd2['fromObject']=function(_0x381c42){if(_0x381c42 instanceof _0x3d2f4a['CollaborativeEditingUpdateMessage'])return _0x381c42;var _0x37d209=new _0x3d2f4a['CollaborativeEditingUpdateMessage']();if(null!=_0x381c42['id']&&(_0x37d209['id']=String(_0x381c42['id'])),null!=_0x381c42['baseVersion']&&(_0x37d209['baseVersion']=_0x381c42['baseVersion']>>>0x0),_0x381c42['buffers']){if(!Array['isArray'](_0x381c42['buffers']))throw TypeError('.CollaborativeEditingUpdateMessage.buffers:\x20array\x20expected');_0x37d209['buffers']=[];for(var _0x168059=0x0;_0x168059<_0x381c42['buffers']['length'];++_0x168059)'string'==typeof _0x381c42['buffers'][_0x168059]?_0x1a3b11['base64']['decode'](_0x381c42['buffers'][_0x168059],_0x37d209['buffers'][_0x168059]=_0x1a3b11['newBuffer'](_0x1a3b11['base64']['length'](_0x381c42['buffers'][_0x168059])),0x0):_0x381c42['buffers'][_0x168059]['length']>=0x0&&(_0x37d209['buffers'][_0x168059]=_0x381c42['buffers'][_0x168059]);}if(_0x381c42['types']){if(!Array['isArray'](_0x381c42['types']))throw TypeError('.CollaborativeEditingUpdateMessage.types:\x20array\x20expected');for(_0x37d209['types']=[],_0x168059=0x0;_0x168059<_0x381c42['types']['length'];++_0x168059)_0x37d209['types'][_0x168059]=_0x381c42['types'][_0x168059]>>>0x0;}if(_0x381c42['metadata']){if(!Array['isArray'](_0x381c42['metadata']))throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20array\x20expected');for(_0x37d209['metadata']=[],_0x168059=0x0;_0x168059<_0x381c42['metadata']['length'];++_0x168059){if('object'!=typeof _0x381c42['metadata'][_0x168059])throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20object\x20expected');_0x37d209['metadata'][_0x168059]=_0x3d2f4a['OperationMetadataDescriptor']['fromObject'](_0x381c42['metadata'][_0x168059]);}}return null!=_0x381c42['lastOperationId']&&(_0x37d209['lastOperationId']=String(_0x381c42['lastOperationId'])),_0x37d209;},_0x108dd2['toObject']=function(_0x2112fe,_0x50b85e){_0x50b85e||(_0x50b85e={});var _0x5663b3={};if((_0x50b85e['arrays']||_0x50b85e['defaults'])&&(_0x5663b3['buffers']=[],_0x5663b3['types']=[],_0x5663b3['metadata']=[]),_0x50b85e['defaults']&&(_0x5663b3['id']='',_0x5663b3['baseVersion']=0x0,_0x5663b3['lastOperationId']=''),null!=_0x2112fe['id']&&_0x2112fe['hasOwnProperty']('id')&&(_0x5663b3['id']=_0x2112fe['id']),null!=_0x2112fe['baseVersion']&&_0x2112fe['hasOwnProperty']('baseVersion')&&(_0x5663b3['baseVersion']=_0x2112fe['baseVersion']),_0x2112fe['buffers']&&_0x2112fe['buffers']['length']){_0x5663b3['buffers']=[];for(var _0x14043f=0x0;_0x14043f<_0x2112fe['buffers']['length'];++_0x14043f)_0x5663b3['buffers'][_0x14043f]=_0x50b85e['bytes']===String?_0x1a3b11['base64']['encode'](_0x2112fe['buffers'][_0x14043f],0x0,_0x2112fe['buffers'][_0x14043f]['length']):_0x50b85e['bytes']===Array?Array['prototype']['slice']['call'](_0x2112fe['buffers'][_0x14043f]):_0x2112fe['buffers'][_0x14043f];}if(_0x2112fe['types']&&_0x2112fe['types']['length']){for(_0x5663b3['types']=[],_0x14043f=0x0;_0x14043f<_0x2112fe['types']['length'];++_0x14043f)_0x5663b3['types'][_0x14043f]=_0x2112fe['types'][_0x14043f];}if(_0x2112fe['metadata']&&_0x2112fe['metadata']['length']){for(_0x5663b3['metadata']=[],_0x14043f=0x0;_0x14043f<_0x2112fe['metadata']['length'];++_0x14043f)_0x5663b3['metadata'][_0x14043f]=_0x3d2f4a['OperationMetadataDescriptor']['toObject'](_0x2112fe['metadata'][_0x14043f],_0x50b85e);}return null!=_0x2112fe['lastOperationId']&&_0x2112fe['hasOwnProperty']('lastOperationId')&&(_0x5663b3['lastOperationId']=_0x2112fe['lastOperationId']),_0x5663b3;},_0x108dd2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x108dd2['getTypeUrl']=function(_0x31cb45){return void 0x0===_0x31cb45&&(_0x31cb45='type.googleapis.com'),_0x31cb45+'/CollaborativeEditingUpdateMessage';},_0x108dd2;}()),_0x3d2f4a['CollaborativeEditingReconnectMessage']=(function(){function _0x25313a(_0x3b8458){if(_0x3b8458){for(var _0x47ade4=Object['keys'](_0x3b8458),_0x47f352=0x0;_0x47f352<_0x47ade4['length'];++_0x47f352)null!=_0x3b8458[_0x47ade4[_0x47f352]]&&(this[_0x47ade4[_0x47f352]]=_0x3b8458[_0x47ade4[_0x47f352]]);}}return _0x25313a['prototype']['id']='',_0x25313a['prototype']['bundleVersion']='',_0x25313a['prototype']['lastKnowVersion']=0x0,_0x25313a['create']=function(_0x10c871){return new _0x25313a(_0x10c871);},_0x25313a['encode']=function(_0x414593,_0x30e973){return _0x30e973||(_0x30e973=_0x5dfb11['create']()),null!=_0x414593['id']&&Object['hasOwnProperty']['call'](_0x414593,'id')&&_0x30e973['uint32'](0xa)['string'](_0x414593['id']),null!=_0x414593['bundleVersion']&&Object['hasOwnProperty']['call'](_0x414593,'bundleVersion')&&_0x30e973['uint32'](0x12)['string'](_0x414593['bundleVersion']),null!=_0x414593['lastKnowVersion']&&Object['hasOwnProperty']['call'](_0x414593,'lastKnowVersion')&&_0x30e973['uint32'](0x18)['uint32'](_0x414593['lastKnowVersion']),_0x30e973;},_0x25313a['encodeDelimited']=function(_0x47a5e9,_0x8ab47a){return this['encode'](_0x47a5e9,_0x8ab47a)['ldelim']();},_0x25313a['decode']=function(_0x1d5032,_0xaa8c0,_0x411a71){_0x1d5032 instanceof _0x2abaaa||(_0x1d5032=_0x2abaaa['create'](_0x1d5032));for(var _0x59d2b7=void 0x0===_0xaa8c0?_0x1d5032['len']:_0x1d5032['pos']+_0xaa8c0,_0x38f31d=new _0x3d2f4a['CollaborativeEditingReconnectMessage']();_0x1d5032['pos']<_0x59d2b7;){var _0x356da1=_0x1d5032['uint32']();if(_0x356da1===_0x411a71)break;switch(_0x356da1>>>0x3){case 0x1:_0x38f31d['id']=_0x1d5032['string']();break;case 0x2:_0x38f31d['bundleVersion']=_0x1d5032['string']();break;case 0x3:_0x38f31d['lastKnowVersion']=_0x1d5032['uint32']();break;default:_0x1d5032['skipType'](0x7&_0x356da1);}}return _0x38f31d;},_0x25313a['decodeDelimited']=function(_0x6041ac){return _0x6041ac instanceof _0x2abaaa||(_0x6041ac=new _0x2abaaa(_0x6041ac)),this['decode'](_0x6041ac,_0x6041ac['uint32']());},_0x25313a['verify']=function(_0x49d55){return'object'!=typeof _0x49d55||null===_0x49d55?'object\x20expected':null!=_0x49d55['id']&&_0x49d55['hasOwnProperty']('id')&&!_0x1a3b11['isString'](_0x49d55['id'])?'id:\x20string\x20expected':null!=_0x49d55['bundleVersion']&&_0x49d55['hasOwnProperty']('bundleVersion')&&!_0x1a3b11['isString'](_0x49d55['bundleVersion'])?'bundleVersion:\x20string\x20expected':null!=_0x49d55['lastKnowVersion']&&_0x49d55['hasOwnProperty']('lastKnowVersion')&&!_0x1a3b11['isInteger'](_0x49d55['lastKnowVersion'])?'lastKnowVersion:\x20integer\x20expected':null;},_0x25313a['fromObject']=function(_0x294cd6){if(_0x294cd6 instanceof _0x3d2f4a['CollaborativeEditingReconnectMessage'])return _0x294cd6;var _0x130536=new _0x3d2f4a['CollaborativeEditingReconnectMessage']();return null!=_0x294cd6['id']&&(_0x130536['id']=String(_0x294cd6['id'])),null!=_0x294cd6['bundleVersion']&&(_0x130536['bundleVersion']=String(_0x294cd6['bundleVersion'])),null!=_0x294cd6['lastKnowVersion']&&(_0x130536['lastKnowVersion']=_0x294cd6['lastKnowVersion']>>>0x0),_0x130536;},_0x25313a['toObject']=function(_0x498a93,_0x345f5c){_0x345f5c||(_0x345f5c={});var _0x105648={};return _0x345f5c['defaults']&&(_0x105648['id']='',_0x105648['bundleVersion']='',_0x105648['lastKnowVersion']=0x0),null!=_0x498a93['id']&&_0x498a93['hasOwnProperty']('id')&&(_0x105648['id']=_0x498a93['id']),null!=_0x498a93['bundleVersion']&&_0x498a93['hasOwnProperty']('bundleVersion')&&(_0x105648['bundleVersion']=_0x498a93['bundleVersion']),null!=_0x498a93['lastKnowVersion']&&_0x498a93['hasOwnProperty']('lastKnowVersion')&&(_0x105648['lastKnowVersion']=_0x498a93['lastKnowVersion']),_0x105648;},_0x25313a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x25313a['getTypeUrl']=function(_0x84385){return void 0x0===_0x84385&&(_0x84385='type.googleapis.com'),_0x84385+'/CollaborativeEditingReconnectMessage';},_0x25313a;}()),_0x3d2f4a['CollaborativeEditingConnectMessage']=(function(){function _0x29c345(_0xaee30b){if(this['buffers']=[],this['types']=[],_0xaee30b){for(var _0x2f9a78=Object['keys'](_0xaee30b),_0x476ae6=0x0;_0x476ae6<_0x2f9a78['length'];++_0x476ae6)null!=_0xaee30b[_0x2f9a78[_0x476ae6]]&&(this[_0x2f9a78[_0x476ae6]]=_0xaee30b[_0x2f9a78[_0x476ae6]]);}}return _0x29c345['prototype']['id']='',_0x29c345['prototype']['bundleVersion']='',_0x29c345['prototype']['buffers']=_0x1a3b11['emptyArray'],_0x29c345['prototype']['types']=_0x1a3b11['emptyArray'],_0x29c345['prototype']['lastOperationId']='',_0x29c345['create']=function(_0x1ce368){return new _0x29c345(_0x1ce368);},_0x29c345['encode']=function(_0x385fbd,_0x5925b5){if(_0x5925b5||(_0x5925b5=_0x5dfb11['create']()),null!=_0x385fbd['id']&&Object['hasOwnProperty']['call'](_0x385fbd,'id')&&_0x5925b5['uint32'](0xa)['string'](_0x385fbd['id']),null!=_0x385fbd['bundleVersion']&&Object['hasOwnProperty']['call'](_0x385fbd,'bundleVersion')&&_0x5925b5['uint32'](0x12)['string'](_0x385fbd['bundleVersion']),null!=_0x385fbd['buffers']&&_0x385fbd['buffers']['length']){for(var _0x284f9a=0x0;_0x284f9a<_0x385fbd['buffers']['length'];++_0x284f9a)_0x5925b5['uint32'](0x1a)['bytes'](_0x385fbd['buffers'][_0x284f9a]);}if(null!=_0x385fbd['types']&&_0x385fbd['types']['length']){for(_0x5925b5['uint32'](0x22)['fork'](),_0x284f9a=0x0;_0x284f9a<_0x385fbd['types']['length'];++_0x284f9a)_0x5925b5['uint32'](_0x385fbd['types'][_0x284f9a]);_0x5925b5['ldelim']();}return null!=_0x385fbd['lastOperationId']&&Object['hasOwnProperty']['call'](_0x385fbd,'lastOperationId')&&_0x5925b5['uint32'](0x2a)['string'](_0x385fbd['lastOperationId']),_0x5925b5;},_0x29c345['encodeDelimited']=function(_0x4abb67,_0x15e388){return this['encode'](_0x4abb67,_0x15e388)['ldelim']();},_0x29c345['decode']=function(_0x54e955,_0x23f4b9,_0x548052){_0x54e955 instanceof _0x2abaaa||(_0x54e955=_0x2abaaa['create'](_0x54e955));for(var _0x455d38=void 0x0===_0x23f4b9?_0x54e955['len']:_0x54e955['pos']+_0x23f4b9,_0x34535f=new _0x3d2f4a['CollaborativeEditingConnectMessage']();_0x54e955['pos']<_0x455d38;){var _0x2ce5c1=_0x54e955['uint32']();if(_0x2ce5c1===_0x548052)break;switch(_0x2ce5c1>>>0x3){case 0x1:_0x34535f['id']=_0x54e955['string']();break;case 0x2:_0x34535f['bundleVersion']=_0x54e955['string']();break;case 0x3:_0x34535f['buffers']&&_0x34535f['buffers']['length']||(_0x34535f['buffers']=[]),_0x34535f['buffers']['push'](_0x54e955['bytes']());break;case 0x4:if(_0x34535f['types']&&_0x34535f['types']['length']||(_0x34535f['types']=[]),0x2==(0x7&_0x2ce5c1)){for(var _0x1979da=_0x54e955['uint32']()+_0x54e955['pos'];_0x54e955['pos']<_0x1979da;)_0x34535f['types']['push'](_0x54e955['uint32']());}else _0x34535f['types']['push'](_0x54e955['uint32']());break;case 0x5:_0x34535f['lastOperationId']=_0x54e955['string']();break;default:_0x54e955['skipType'](0x7&_0x2ce5c1);}}return _0x34535f;},_0x29c345['decodeDelimited']=function(_0x23059e){return _0x23059e instanceof _0x2abaaa||(_0x23059e=new _0x2abaaa(_0x23059e)),this['decode'](_0x23059e,_0x23059e['uint32']());},_0x29c345['verify']=function(_0x34d958){if('object'!=typeof _0x34d958||null===_0x34d958)return'object\x20expected';if(null!=_0x34d958['id']&&_0x34d958['hasOwnProperty']('id')&&!_0x1a3b11['isString'](_0x34d958['id']))return'id:\x20string\x20expected';if(null!=_0x34d958['bundleVersion']&&_0x34d958['hasOwnProperty']('bundleVersion')&&!_0x1a3b11['isString'](_0x34d958['bundleVersion']))return'bundleVersion:\x20string\x20expected';if(null!=_0x34d958['buffers']&&_0x34d958['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x34d958['buffers']))return'buffers:\x20array\x20expected';for(var _0x11725d=0x0;_0x11725d<_0x34d958['buffers']['length'];++_0x11725d)if(!(_0x34d958['buffers'][_0x11725d]&&'number'==typeof _0x34d958['buffers'][_0x11725d]['length']||_0x1a3b11['isString'](_0x34d958['buffers'][_0x11725d])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x34d958['types']&&_0x34d958['hasOwnProperty']('types')){if(!Array['isArray'](_0x34d958['types']))return'types:\x20array\x20expected';for(_0x11725d=0x0;_0x11725d<_0x34d958['types']['length'];++_0x11725d)if(!_0x1a3b11['isInteger'](_0x34d958['types'][_0x11725d]))return'types:\x20integer[]\x20expected';}return null!=_0x34d958['lastOperationId']&&_0x34d958['hasOwnProperty']('lastOperationId')&&!_0x1a3b11['isString'](_0x34d958['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x29c345['fromObject']=function(_0x37e2a4){if(_0x37e2a4 instanceof _0x3d2f4a['CollaborativeEditingConnectMessage'])return _0x37e2a4;var _0x379977=new _0x3d2f4a['CollaborativeEditingConnectMessage']();if(null!=_0x37e2a4['id']&&(_0x379977['id']=String(_0x37e2a4['id'])),null!=_0x37e2a4['bundleVersion']&&(_0x379977['bundleVersion']=String(_0x37e2a4['bundleVersion'])),_0x37e2a4['buffers']){if(!Array['isArray'](_0x37e2a4['buffers']))throw TypeError('.CollaborativeEditingConnectMessage.buffers:\x20array\x20expected');_0x379977['buffers']=[];for(var _0x45a451=0x0;_0x45a451<_0x37e2a4['buffers']['length'];++_0x45a451)'string'==typeof _0x37e2a4['buffers'][_0x45a451]?_0x1a3b11['base64']['decode'](_0x37e2a4['buffers'][_0x45a451],_0x379977['buffers'][_0x45a451]=_0x1a3b11['newBuffer'](_0x1a3b11['base64']['length'](_0x37e2a4['buffers'][_0x45a451])),0x0):_0x37e2a4['buffers'][_0x45a451]['length']>=0x0&&(_0x379977['buffers'][_0x45a451]=_0x37e2a4['buffers'][_0x45a451]);}if(_0x37e2a4['types']){if(!Array['isArray'](_0x37e2a4['types']))throw TypeError('.CollaborativeEditingConnectMessage.types:\x20array\x20expected');for(_0x379977['types']=[],_0x45a451=0x0;_0x45a451<_0x37e2a4['types']['length'];++_0x45a451)_0x379977['types'][_0x45a451]=_0x37e2a4['types'][_0x45a451]>>>0x0;}return null!=_0x37e2a4['lastOperationId']&&(_0x379977['lastOperationId']=String(_0x37e2a4['lastOperationId'])),_0x379977;},_0x29c345['toObject']=function(_0x1e8e89,_0x4bd105){_0x4bd105||(_0x4bd105={});var _0x2207f5={};if((_0x4bd105['arrays']||_0x4bd105['defaults'])&&(_0x2207f5['buffers']=[],_0x2207f5['types']=[]),_0x4bd105['defaults']&&(_0x2207f5['id']='',_0x2207f5['bundleVersion']='',_0x2207f5['lastOperationId']=''),null!=_0x1e8e89['id']&&_0x1e8e89['hasOwnProperty']('id')&&(_0x2207f5['id']=_0x1e8e89['id']),null!=_0x1e8e89['bundleVersion']&&_0x1e8e89['hasOwnProperty']('bundleVersion')&&(_0x2207f5['bundleVersion']=_0x1e8e89['bundleVersion']),_0x1e8e89['buffers']&&_0x1e8e89['buffers']['length']){_0x2207f5['buffers']=[];for(var _0x4b6bb5=0x0;_0x4b6bb5<_0x1e8e89['buffers']['length'];++_0x4b6bb5)_0x2207f5['buffers'][_0x4b6bb5]=_0x4bd105['bytes']===String?_0x1a3b11['base64']['encode'](_0x1e8e89['buffers'][_0x4b6bb5],0x0,_0x1e8e89['buffers'][_0x4b6bb5]['length']):_0x4bd105['bytes']===Array?Array['prototype']['slice']['call'](_0x1e8e89['buffers'][_0x4b6bb5]):_0x1e8e89['buffers'][_0x4b6bb5];}if(_0x1e8e89['types']&&_0x1e8e89['types']['length']){for(_0x2207f5['types']=[],_0x4b6bb5=0x0;_0x4b6bb5<_0x1e8e89['types']['length'];++_0x4b6bb5)_0x2207f5['types'][_0x4b6bb5]=_0x1e8e89['types'][_0x4b6bb5];}return null!=_0x1e8e89['lastOperationId']&&_0x1e8e89['hasOwnProperty']('lastOperationId')&&(_0x2207f5['lastOperationId']=_0x1e8e89['lastOperationId']),_0x2207f5;},_0x29c345['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x29c345['getTypeUrl']=function(_0x3be81a){return void 0x0===_0x3be81a&&(_0x3be81a='type.googleapis.com'),_0x3be81a+'/CollaborativeEditingConnectMessage';},_0x29c345;}()),_0x3d2f4a['OperationMetadataDescriptor']=(function(){function _0x3f9493(_0x4f5a35){if(_0x4f5a35){for(var _0x133aca=Object['keys'](_0x4f5a35),_0x4e1f1a=0x0;_0x4e1f1a<_0x133aca['length'];++_0x4e1f1a)null!=_0x4f5a35[_0x133aca[_0x4e1f1a]]&&(this[_0x133aca[_0x4e1f1a]]=_0x4f5a35[_0x133aca[_0x4e1f1a]]);}}return _0x3f9493['prototype']['userId']='',_0x3f9493['prototype']['type']='',_0x3f9493['prototype']['createdAt']='',_0x3f9493['create']=function(_0xa6befe){return new _0x3f9493(_0xa6befe);},_0x3f9493['encode']=function(_0x1ad71e,_0x5c15f2){return _0x5c15f2||(_0x5c15f2=_0x5dfb11['create']()),null!=_0x1ad71e['userId']&&Object['hasOwnProperty']['call'](_0x1ad71e,'userId')&&_0x5c15f2['uint32'](0xa)['string'](_0x1ad71e['userId']),null!=_0x1ad71e['type']&&Object['hasOwnProperty']['call'](_0x1ad71e,'type')&&_0x5c15f2['uint32'](0x12)['string'](_0x1ad71e['type']),null!=_0x1ad71e['createdAt']&&Object['hasOwnProperty']['call'](_0x1ad71e,'createdAt')&&_0x5c15f2['uint32'](0x1a)['string'](_0x1ad71e['createdAt']),_0x5c15f2;},_0x3f9493['encodeDelimited']=function(_0x47a2dd,_0x4c6a27){return this['encode'](_0x47a2dd,_0x4c6a27)['ldelim']();},_0x3f9493['decode']=function(_0x481046,_0x355403,_0x1a8da9){_0x481046 instanceof _0x2abaaa||(_0x481046=_0x2abaaa['create'](_0x481046));for(var _0x3ee47b=void 0x0===_0x355403?_0x481046['len']:_0x481046['pos']+_0x355403,_0x8c9c88=new _0x3d2f4a['OperationMetadataDescriptor']();_0x481046['pos']<_0x3ee47b;){var _0x46b28f=_0x481046['uint32']();if(_0x46b28f===_0x1a8da9)break;switch(_0x46b28f>>>0x3){case 0x1:_0x8c9c88['userId']=_0x481046['string']();break;case 0x2:_0x8c9c88['type']=_0x481046['string']();break;case 0x3:_0x8c9c88['createdAt']=_0x481046['string']();break;default:_0x481046['skipType'](0x7&_0x46b28f);}}return _0x8c9c88;},_0x3f9493['decodeDelimited']=function(_0x40eefd){return _0x40eefd instanceof _0x2abaaa||(_0x40eefd=new _0x2abaaa(_0x40eefd)),this['decode'](_0x40eefd,_0x40eefd['uint32']());},_0x3f9493['verify']=function(_0x13a080){return'object'!=typeof _0x13a080||null===_0x13a080?'object\x20expected':null!=_0x13a080['userId']&&_0x13a080['hasOwnProperty']('userId')&&!_0x1a3b11['isString'](_0x13a080['userId'])?'userId:\x20string\x20expected':null!=_0x13a080['type']&&_0x13a080['hasOwnProperty']('type')&&!_0x1a3b11['isString'](_0x13a080['type'])?'type:\x20string\x20expected':null!=_0x13a080['createdAt']&&_0x13a080['hasOwnProperty']('createdAt')&&!_0x1a3b11['isString'](_0x13a080['createdAt'])?'createdAt:\x20string\x20expected':null;},_0x3f9493['fromObject']=function(_0x26005c){if(_0x26005c instanceof _0x3d2f4a['OperationMetadataDescriptor'])return _0x26005c;var _0x2590bb=new _0x3d2f4a['OperationMetadataDescriptor']();return null!=_0x26005c['userId']&&(_0x2590bb['userId']=String(_0x26005c['userId'])),null!=_0x26005c['type']&&(_0x2590bb['type']=String(_0x26005c['type'])),null!=_0x26005c['createdAt']&&(_0x2590bb['createdAt']=String(_0x26005c['createdAt'])),_0x2590bb;},_0x3f9493['toObject']=function(_0x2e52c5,_0x275847){_0x275847||(_0x275847={});var _0x1f05db={};return _0x275847['defaults']&&(_0x1f05db['userId']='',_0x1f05db['type']='',_0x1f05db['createdAt']=''),null!=_0x2e52c5['userId']&&_0x2e52c5['hasOwnProperty']('userId')&&(_0x1f05db['userId']=_0x2e52c5['userId']),null!=_0x2e52c5['type']&&_0x2e52c5['hasOwnProperty']('type')&&(_0x1f05db['type']=_0x2e52c5['type']),null!=_0x2e52c5['createdAt']&&_0x2e52c5['hasOwnProperty']('createdAt')&&(_0x1f05db['createdAt']=_0x2e52c5['createdAt']),_0x1f05db;},_0x3f9493['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3f9493['getTypeUrl']=function(_0x216bab){return void 0x0===_0x216bab&&(_0x216bab='type.googleapis.com'),_0x216bab+'/OperationMetadataDescriptor';},_0x3f9493;}()),_0x3d2f4a;})());class _0x47c85a{static['decode'](_0x1fd8a2,_0xf31f05){const _0xfab2c2=_getType(_0xf31f05)['decode']('undefined'==typeof window?_0x1fd8a2:new Uint8Array(_0x1fd8a2));return _0xf31f05['fromJSON']({..._0xfab2c2});}static['encode'](_0x3ed5d8){const _0x44a010=_getType(_0x3ed5d8['constructor']),_0x50a768=_0x3ed5d8['toJSON'](),_0x5969a6=_0x44a010['verify'](_0x50a768);if(_0x5969a6)throw Error(_0x5969a6);return _0x44a010['encode'](_0x44a010['create'](_0x50a768))['finish']();}}function _getType(_0x2ccdd5){return _0x3291db[_0x2ccdd5['DESCRIPTOR_NAME']];}class GetManyUsersMessage extends _0x23aea3{['ids'];static ['TYPE']='22';static ['READABLE_TYPE_NAME']='getManyUsers';static ['DESCRIPTOR_NAME']='GetManyUsersMessage';static ['DESCRIPTOR']={'fields':{'ids':{'id':0x1,'type':'string','rule':'repeated'}}};constructor(_0x546b13){super(),this['ids']=_0x546b13;}['toJSON'](){return{'ids':this['ids']};}static['fromJSON'](_0x24c9cd){return new GetManyUsersMessage(_0x24c9cd['ids']);}}class GetManyUsersResponse extends _0x23aea3{['users'];static ['DESCRIPTOR_NAME']='GetManyUsersResponse';static ['DESCRIPTOR']={'fields':{'users':{'rule':'repeated','type':'UserDescriptor','id':0x1}}};constructor(_0x288a25){super(),this['users']=_0x288a25;}['toJSON'](){return{'users':this['users']['map'](_0x440891)};}static['fromJSON'](_0x199be8){return new GetManyUsersResponse(_0x199be8['users']['map'](_0x1b7b37));}}function _0x440891(_0x490b1c){return{'attributes':Object['keys'](_0x490b1c)['map'](_0x4def96=>({'key':_0x4def96,'value':JSON['stringify'](_0x490b1c[_0x4def96])}))};}function _0x1b7b37(_0x4e793c){return _0x4e793c['attributes']['reduce']((_0x182646,_0x46c1d8)=>(_0x182646[_0x46c1d8['key']]=_0x46c1d8['value']?JSON['parse'](_0x46c1d8['value']):null,_0x182646),{});}class _0x555272{static ['_SERVICE']=0x2;constructor(_0x9d5236={}){this['_attributes']=new Map();for(const _0x845372 of Object['keys'](_0x9d5236))'id'!==_0x845372?(this['_attributes']['set'](_0x845372,_0x9d5236[_0x845372]),Object['defineProperty'](this,_0x845372,{'enumerable':!0x0,'configurable':!0x1,'get':()=>this['_attributes']['get'](_0x845372)})):this['id']=_0x9d5236['id'];}static['fromData'](_0x3810d1){return new _0x555272(_0x3810d1);}static async['get'](_0x539010,_0x574135){const _0x48ae32=new GetUserMessage(_0x574135);try{const _0x3d9fca=await _0x539010['_sendRequest'](_0x555272['_SERVICE'],GetUserMessage['TYPE'],_0x47c85a['encode'](_0x48ae32)),_0x47e286=_0x47c85a['decode'](_0x3d9fca,GetUserResponse);return new _0x555272(_0x47e286['attributes']);}catch(_0x4ffb0c){return new _0x555272({'id':_0x574135});}}static async['getMany'](_0x1b4561,_0x2a8dbf){const _0x2dd473=new GetManyUsersMessage(_0x2a8dbf);try{const _0x29401f=await _0x1b4561['_sendRequest'](_0x555272['_SERVICE'],GetManyUsersMessage['TYPE'],_0x47c85a['encode'](_0x2dd473));return _0x47c85a['decode'](_0x29401f,GetManyUsersResponse)['users']['map'](_0x3b7cb1=>new _0x555272(_0x3b7cb1));}catch(_0x52f2ca){return _0x2a8dbf['map'](_0x5be490=>new _0x555272({'id':_0x5be490}));}}}class _0x2ad0e1 extends _0x23aea3{['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(_0x3a7259,_0x83d5ea,_0x2e1ffc){super(),this['type']=_0x3a7259,this['socketId']=_0x83d5ea,this['data']=_0x2e1ffc;}['toJSON'](){return{'type':this['type'],'socketId':this['socketId'],'data':this['data']};}static['fromJSON'](_0x4295f4){return new _0x2ad0e1(_0x4295f4['type'],_0x4295f4['socketId'],_0x4295f4['data']);}}class _0x1731fc extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){['_channelName'];['_wsGateway'];['_socket'];constructor(_0x131247,_0x521fe,_0x247c8c){super(),this['_channelName']=_0x131247,this['_wsGateway']=_0x521fe,this['_socket']=_0x247c8c,this['_subscribeToChannel']();}['remove'](){this['_socket']['off'](this['_channelName']);}['getEventName'](_0x4c7cd1,_0x366ac7=!0x1){let _0x13dcd1='';return _0x366ac7&&(_0x13dcd1+='all:'),_0x13dcd1+='event',_0x4c7cd1&&(_0x13dcd1+=':'+_0x4c7cd1),_0x13dcd1;}['_subscribeToChannel'](){this['_socket']['on'](this['_channelName'],_0x3a6b77=>{const _0x43d254=_0x47c85a['decode'](_0x3a6b77,_0x2ad0e1);this['fire'](this['getEventName'](_0x43d254['type'],!0x0),_0x43d254['data'],_0x43d254['socketId']),_0x43d254['socketId']!==this['_wsGateway']['socketId']&&this['fire'](this['getEventName'](_0x43d254['type']),_0x43d254['data'],_0x43d254['socketId']);});}}class CKEditorCloudServicesError extends Error{['context'];['code'];['data'];constructor(_0x458e33,_0x5ce185,_0x2116c5=null,_0x48b1dc={}){super('cloud-services-internal-error:\x20'+_0x458e33),this['context']=_0x5ce185,this['code']=_0x2116c5,this['data']=_0x48b1dc,this['name']='CKEditorError';}static['fromPublicError'](_0x4a8b56){return new CKEditorCloudServicesError(function(_0x450699){let _0x104f4f='cloud-services-error:\x20'+_0x450699['message'];return _0x450699['data']&&(_0x104f4f+='\x0aError\x20data:\x20'+JSON['stringify'](_0x450699['data'])),_0x450699['explanation']&&(_0x104f4f+='\x0aExplanation:\x20'+_0x450699['explanation']),_0x450699['action']&&(_0x104f4f+='\x0aAction:\x20'+_0x450699['action']),_0x450699['traceId']&&(_0x104f4f+='\x0aTraceId:\x20'+_0x450699['traceId']),_0x450699['code']&&(_0x104f4f+='\x0aCode:\x20'+_0x450699['code']),_0x104f4f;}(_0x4a8b56),_0x4a8b56);}}class CKEditorCloudServicesServerError extends Error{['code'];['traceId'];['data'];constructor(_0x42f67c,_0x5e1a74){super(),this['name']='CKEditorCloudServicesServerError',this['stack']=void 0x0,this['message']=_0x42f67c,this['code']=_0x5e1a74['code'],this['traceId']=_0x5e1a74['traceId'],this['data']=_0x5e1a74['data'];}static['fromPublicError'](_0x8b3007){return new CKEditorCloudServicesServerError(function(_0x42947e){let _0xafae11='cloud-services-server-error:\x20'+_0x42947e['message'];return _0x42947e['explanation']&&(_0xafae11+='\x0aExplanation:\x20'+_0x42947e['explanation']),_0x42947e['action']&&(_0xafae11+='\x0aAction:\x20'+_0x42947e['action']),_0x42947e['traceId']&&(_0xafae11+='\x0aTraceId:\x20'+_0x42947e['traceId']),_0x42947e['code']&&(_0xafae11+='\x0aCode:\x20'+_0x42947e['code']),_0xafae11;}(_0x8b3007),_0x8b3007);}}class PacketOptionsMessage extends _0x23aea3{['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(_0x300d74,_0x3020d6=[],_0x2b7bf5=[]){super(),this['flags']=_0x300d74,this['rooms']=_0x3020d6,this['except']=_0x2b7bf5;}['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'](_0x13e47e){return new PacketOptionsMessage(_0x13e47e['flags']&&JSON['parse'](_0x13e47e['flags']),_0x13e47e['rooms'],_0x13e47e['except']);}}const _0x5a44d4=/* #__PURE__ -- @preserve */
((()=>!('undefined'==typeof process||!process['versions']?.['node']))()),MessageDataTypes_BUFFER=0x1,MessageDataTypes_STRING=0x2,MessageDataTypes_NUMBER=0x3,MessageDataTypes_OBJECT=0x4;class ParserUtils{static['getPacketType'](..._0x4d4b9a){let _0x562242=0x0;for(let _0x5e90dd=0x0;_0x5e90dd<_0x4d4b9a['length'];_0x5e90dd++)_0x562242+=_0x4d4b9a[_0x5e90dd]*Math['pow'](0xa,_0x4d4b9a['length']-_0x5e90dd-0x1);return _0x562242;}static['getType'](_0x58222f){if(ParserUtils['isBuffer'](_0x58222f))return MessageDataTypes_BUFFER;const _0x3da784=typeof _0x58222f;return'string'===_0x3da784?MessageDataTypes_STRING:'number'===_0x3da784?MessageDataTypes_NUMBER:MessageDataTypes_OBJECT;}static['isBuffer'](_0x7fa202){return _0x5a44d4&&Buffer['isBuffer'](_0x7fa202)||_0x7fa202 instanceof ArrayBuffer||_0x7fa202 instanceof Uint8Array||this['_isBufferView'](_0x7fa202);}static['_isBufferView'](_0x3bd116){return'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x3bd116):_0x3bd116['buffer']instanceof ArrayBuffer;}}class PackageDataMessage extends _0x23aea3{['data'];['data1'];static['create'](_0x423b4c,_0x5be79e){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(_0x5acea8,_0x5159bc){super(),this['data']=_0x5acea8,this['data1']=_0x5159bc;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x252999){return new NumberBytesPacketDataMessage(_0x252999['data'],_0x252999['data1']);}static['create'](_0x1108ef,_0x441495){return new NumberBytesPacketDataMessage(_0x1108ef,_0x441495);}}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(_0xba4e42,_0x580969){super(),this['data']=_0xba4e42,this['data1']=_0x580969;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x3d0c8f){return new StringBytesPacketDataMessage(_0x3d0c8f['data'],_0x3d0c8f['data1']);}static['create'](_0x24c538,_0xb28585){return new StringBytesPacketDataMessage(_0x24c538,_0xb28585);}}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(_0x2076d2,_0x545de2){super(),this['data']=_0x2076d2,this['data1']=_0x545de2;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x48b4e1){return new BytesBytesPacketDataMessage(_0x48b4e1['data'],_0x48b4e1['data1']);}static['create'](_0x1f99c9,_0x272c21){return new BytesBytesPacketDataMessage(_0x1f99c9,_0x272c21);}}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(_0x11d166,_0x25326c){super(),this['data']=_0x11d166,this['data1']=_0x25326c;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x174bcd){return new StringObjectPacketDataMessage(_0x174bcd['data'],_0x174bcd['data1']&&JSON['parse'](_0x174bcd['data1']));}static['create'](_0x4e24f4,_0x1dc4f7){return new StringObjectPacketDataMessage(_0x4e24f4,_0x1dc4f7);}}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(_0x4c3213,_0x1ad9d2){super(),this['data']=_0x4c3213,this['data1']=_0x1ad9d2;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x19ea3a){return new NumberObjectPacketDataMessage(_0x19ea3a['data'],_0x19ea3a['data1']&&JSON['parse'](_0x19ea3a['data1']));}static['create'](_0x5863eb,_0x140196){return new NumberObjectPacketDataMessage(_0x5863eb,_0x140196);}}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(_0x368891,_0x4f365c){super(),this['data']=_0x368891,this['data1']=_0x4f365c;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0xe12184){return new ObjectObjectPacketDataMessage(_0xe12184['data']&&JSON['parse'](_0xe12184['data']),_0xe12184['data1']&&JSON['parse'](_0xe12184['data1']));}static['create'](_0x3edd11,_0x39f532){return new ObjectObjectPacketDataMessage(_0x3edd11,_0x39f532);}}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(_0x4760e9,_0xd362d8){super(),this['data']=_0x4760e9,this['data1']=_0xd362d8;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']};}static['fromJSON'](_0x2293a6){return new ObjectBufferPacketDataMessage(_0x2293a6['data']&&JSON['parse'](_0x2293a6['data']),_0x2293a6['data1']);}static['create'](_0x58a8c6,_0x12ad96){return new ObjectBufferPacketDataMessage(_0x58a8c6,_0x12ad96);}}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(_0x2d84c9,_0x298ecb){super(),this['data']=_0x2d84c9,this['data1']=_0x298ecb;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x27f3d7){return new StringStringPacketDataMessage(_0x27f3d7['data'],_0x27f3d7['data1']);}static['create'](_0x4ec38f,_0x37e907){return new StringStringPacketDataMessage(_0x4ec38f,_0x37e907);}}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(_0x24f841,_0x3226cd){super(),this['data']=_0x24f841,this['data1']=_0x3226cd;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x589ed4){return new StringNumberPacketDataMessage(_0x589ed4['data'],_0x589ed4['data1']);}static['create'](_0xaa1001,_0x4815c3){return new StringNumberPacketDataMessage(_0xaa1001,_0x4815c3);}}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(_0x4e151b,_0xc81f62){super(),this['data']=_0x4e151b,this['data1']=_0xc81f62;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x1a32b3){return new NumberNumberPacketDataMessage(_0x1a32b3['data'],_0x1a32b3['data1']);}static['create'](_0x3579ff,_0x4049e3){return new NumberNumberPacketDataMessage(_0x3579ff,_0x4049e3);}}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(_0x4fd32f,_0x484df8){super(),this['data']=_0x4fd32f,this['data1']=_0x484df8;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x213802){return new NumberStringPacketDataMessage(_0x213802['data'],_0x213802['data1']);}static['create'](_0x5a023e,_0x29e1c0){return new NumberStringPacketDataMessage(_0x5a023e,_0x29e1c0);}}const _0x4585aa=/* #__PURE__ -- @preserve */
((()=>[NumberBytesPacketDataMessage,StringBytesPacketDataMessage,BytesBytesPacketDataMessage,StringObjectPacketDataMessage,NumberObjectPacketDataMessage,ObjectObjectPacketDataMessage,ObjectBufferPacketDataMessage,StringStringPacketDataMessage,StringNumberPacketDataMessage,NumberNumberPacketDataMessage,NumberStringPacketDataMessage]['reduce']((_0x2dfa7a,_0x5c02bb)=>(_0x2dfa7a[_0x5c02bb['TYPE']]=_0x5c02bb,_0x2dfa7a),{}))());class PacketMessage extends _0x23aea3{['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(_0x3f953a,_0x1162dc,_0x357ab8,_0x434bda='/',_0x42a122){super(),this['type']=_0x3f953a,this['data']=_0x1162dc,this['id']=_0x357ab8,this['nsp']=_0x434bda,this['options']=_0x42a122??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 _0x5c6c55=_0x47c85a['encode'](this['options']),_0x2611e2=_0x47c85a['encode'](this['data']);return{'type':this['type']+0xa*this['data']['constructor']['TYPE'],'id':this['id'],'nsp':'/'===this['nsp']?void 0x0:this['nsp'],'data':_0x2611e2,'options':_0x5c6c55};}static['fromJSON'](_0x5834c9){const _0x234757=Math['floor'](_0x5834c9['type']/0xa);return new PacketMessage(_0x5834c9['type']-0xa*_0x234757,_0x47c85a['decode'](_0x5834c9['data'],_0x4585aa[_0x234757]),_0x5834c9['id'],_0x5834c9['nsp'],_0x5834c9['options']?_0x47c85a['decode'](_0x5834c9['options'],PacketOptionsMessage):new PacketOptionsMessage());}static['create'](_0x1ff1bd,_0x456625={}){const _0x112e3b=ParserUtils['getPacketType'](ParserUtils['getType'](_0x1ff1bd['data'][0x0]),ParserUtils['getType'](_0x1ff1bd['data'][0x1]??_0x1ff1bd['data'][0x0]));return new PacketMessage(_0x1ff1bd['type'],_0x4585aa[_0x112e3b]['create'](_0x1ff1bd['data'][0x0],_0x1ff1bd['data'][0x1]),_0x1ff1bd['id'],_0x1ff1bd['nsp'],new PacketOptionsMessage(_0x456625['flags'],_0x456625['rooms'],_0x456625['except']));}}class PacketParser{['encode'](_0x3881ab,_0x7300da,_0x316abc,_0xe2799c='/',_0x237caa={}){if(_0x7300da['length']>0x2)throw new Error('PacketParser\x20supports\x20only\x202\x20elements\x20in\x20data');const _0x25f9ed={'type':_0x3881ab,'data':_0x7300da,'id':_0x316abc,'nsp':_0xe2799c};return _0x47c85a['encode'](PacketMessage['create'](_0x25f9ed,_0x237caa));}['decode'](_0x227576){const _0x49bafc=_0x47c85a['decode'](_0x227576,PacketMessage);return{'packet':{'id':_0x49bafc['id'],'type':_0x49bafc['type'],'data':_0x49bafc['packetData'],'nsp':_0x49bafc['nsp']},'options':{'flags':_0x49bafc['options']['flags'],'rooms':_0x49bafc['options']['rooms'],'except':_0x49bafc['options']['except']}};}}const _0x1255d2=/* #__PURE__ -- @preserve */
((()=>[PacketType['EVENT'],PacketType['ACK'],PacketType['BINARY_ACK'],PacketType['BINARY_EVENT']])());class _0x402d38 extends _0x178391{['_packetParser'];constructor(_0x2ea8b9){super(),this['_packetParser']=_0x2ea8b9??new PacketParser();}['encode'](_0xa136ba){if(_0x1255d2['includes'](_0xa136ba['type']))try{return[this['_packetParser']['encode'](_0xa136ba['type'],_0xa136ba['data'],_0xa136ba['id'],_0xa136ba['nsp'])];}catch(_0x2e33d1){console['error']('Can\x20not\x20properly\x20serialize\x20or\x20deserialize\x20messages.\x20Check\x20the\x20original\x20error.',{'originalError':{'message':_0x2e33d1['message']}});}return super['encode'](_0xa136ba);}}class _0x46eb96 extends _0xcba7b8{['_packetParser'];constructor(_0x27a390){super(),this['_packetParser']=_0x27a390??new PacketParser();}['add'](_0x3af349){if(!ParserUtils['isBuffer'](_0x3af349))return super['add'](_0x3af349);let _0x515219;try{_0x515219=this['_packetParser']['decode'](_0x3af349)['packet'];}catch(_0x5d23c6){return super['add'](_0x3af349);}super['emitReserved']('decoded',_0x515219);}}class WebSocketRequest{['_context'];['_deferredPromise']=/* #__PURE__ -- @preserve */
_0x4b6939();['timeout'];constructor(_0x248830,_0x54694b){this['_context']=_0x248830,this['timeout']=setTimeout(()=>this['error'](new CKEditorCloudServicesError('Request\x20timeout.',this['_context'])),_0x54694b);}get['promise'](){return this['_deferredPromise']['promise'];}['response'](_0x163a59){this['_deferredPromise']['resolve'](_0x163a59);}['error'](_0x572397){this['_deferredPromise']['reject'](_0x572397);}}class WebSocketGatewayRequestsManager{['_context'];['_requests']=new Set();constructor(_0x34c852){this['_context']=_0x34c852;}async['send'](_0x299f20,_0x2a8496=0xafc8){const _0x49a5ac=this['_createRequest'](_0x2a8496);try{return _0x299f20(_0x49a5ac),await _0x49a5ac['promise'];}finally{this['_finishRequest'](_0x49a5ac);}}['errorAll'](_0x48e4f8){for(const _0x2438c5 of this['_requests'])_0x2438c5['error'](_0x48e4f8);}['waitForAllRequests'](_0x14403d=0xafc8){return this['_waitForRequests'](_0x14403d);}['_createRequest'](_0x436a66){const _0x3c8f03=new WebSocketRequest(this['_context'],_0x436a66);return this['_requests']['add'](_0x3c8f03),_0x3c8f03;}['_finishRequest'](_0x3511a7){this['_requests']['delete'](_0x3511a7),clearTimeout(_0x3511a7['timeout']);}async['_waitForRequests'](_0x220272=0x1388,_0x10c321=0x0){return!this['_requests']['size']||_0x10c321>=_0x220272/0x1f4?Promise['resolve']():(await new Promise(_0x275ddc=>{setTimeout(_0x275ddc,0x1f4);}),this['_waitForRequests'](_0x220272,_0x10c321++));}}function _0x4b6939(){let _0x1b18ca,_0x4e5e3f;const _0x4a4506=new Promise((_0x67cddf,_0x5417ce)=>{_0x1b18ca=_0x67cddf,_0x4e5e3f=_0x5417ce;});return{'resolve':_0x1b18ca,'reject':_0x4e5e3f,'promise':_0x4a4506};}const _0x47fce7={'DISCONNECTED':'disconnected','CONNECTING':'connecting','CONNECTED':'connected'};let WebSocketGateway$1=class _0x38b4d8 extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['_requestsManager'];['_url'];['_socket'];['_socketAuth'];['_channels'];['_connectionAttempt']=0x0;['_token'];['_options'];['_connectionProvider'];['_userFactory'];static ['STATE_DISCONNECTED']=/* #__PURE__ -- @preserve */
((()=>_0x47fce7['DISCONNECTED'])());static ['STATE_CONNECTING']=/* #__PURE__ -- @preserve */
((()=>_0x47fce7['CONNECTING'])());static ['STATE_CONNECTED']=/* #__PURE__ -- @preserve */
((()=>_0x47fce7['CONNECTED'])());static ['_CHANGE_STATE_EVENT_PRIORITY']=/* #__PURE__ -- @preserve */
((()=>ckeditor5['priorities']['get']('highest')+0xf423f)());constructor(_0x4a2b3c,_0xbc7cf4,_0x27cb0f,_0x45fd77,_0x3c7e81){if(super(),this['_token']=_0xbc7cf4,this['_options']=_0x27cb0f??{},this['_connectionProvider']=_0x45fd77??_0x35a7b0,this['_userFactory']=_0x3c7e81??_0x555272['get'],this['_requestsManager']=new WebSocketGatewayRequestsManager(this),this['_channels']=new Map(),!_0x4a2b3c)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(_0x4a2b3c['replace'](/^(?!(?:\w+:)?\/\/)/,'https://')),this['set']('state',_0x47fce7['DISCONNECTED']),this['set']('socketId',void 0x0),this['set']('me',void 0x0),this['on']('change:state',async(_0x5de977,_0x4aeeb2,_0x4aad49)=>{if(this['_debugEvent']('ws-gw:change:state',_0x4aad49),_0x4aad49!==_0x38b4d8['STATE_CONNECTED']){if(_0x4aad49===_0x38b4d8['STATE_DISCONNECTED'])return this['_requestsManager']['errorAll'](new CKEditorCloudServicesError('Not\x20connected.',this));}else try{this['me']=await this['_userFactory']['call'](_0x555272,this,this['_socketAuth']?.['userId']);}catch(_0x45171e){}},{'priority':_0x38b4d8['_CHANGE_STATE_EVENT_PRIORITY']}),this['on']('error',(_0x2bb73c,_0x3e0e6a)=>{this['_options']['onError']?this['_options']['onError'](_0x3e0e6a):console['error'](_0x3e0e6a);});}get['sessionId'](){return this['socketId'];}['waitForAllRequests'](_0x189495){return this['_requestsManager']['waitForAllRequests'](_0x189495);}['disconnect'](){this['state']!==_0x47fce7['DISCONNECTED']&&(this['_socket']?.['disconnect'](),this['_socket']=void 0x0,this['state']=_0x47fce7['DISCONNECTED']);}async['reconnect'](){this['_socket']||this['state']!==_0x47fce7['DISCONNECTED']||(await this['_token']['refreshToken'](),await this['_connect']());}static async['connect'](_0x4891fc,_0x155103='local.cs.dev:443/ws-v2',_0x596257={},_0x174b5=_0x35a7b0,_0x54bc8c=_0x555272['get']){const _0x48027c=new _0x38b4d8(_0x155103,_0x4891fc,_0x596257,_0x174b5,_0x54bc8c);return await _0x48027c['_connect'](),_0x48027c;}['_sendRequest'](_0x369a4f,_0x541e47,_0x459e2e){if(!_0x369a4f)throw new CKEditorCloudServicesError('`serviceName`\x20must\x20be\x20provided.',this);if(this['state']!==_0x38b4d8['STATE_CONNECTED'])throw new CKEditorCloudServicesError('Not\x20connected.',this);if(!this['_socketAuth']||!this['_socketAuth']['isAuthenticated'])throw new CKEditorCloudServicesError('Not\x20authenticated.',this);const _0x1c2720=new ArrayBuffer(_0x459e2e['length']+0x2),_0x16c118=new Uint8Array(_0x1c2720);return _0x16c118[0x0]=_0x369a4f,_0x16c118[0x1]=parseInt(_0x541e47),_0x16c118['set'](_0x459e2e,0x2),this['_emit'](0x1,_0x16c118);}['_getChannel'](_0x334937,_0x31b482){const _0x4f449a=''+_0x334937+_0x31b482;return!this['_channels']['has'](_0x4f449a)&&this['_socket']&&this['_channels']['set'](_0x4f449a,new _0x1731fc(_0x4f449a,this,this['_socket'])),this['_channels']['get'](_0x4f449a);}['_connect'](){return new Promise((_0x11bee2,_0x255d00)=>{const _0x214227=this['_setupSocket']();!this['socketId']&&_0x214227['io']['on']('reconnect_error',()=>{this['_debugEvent']('reconnect_error'),this['_reconnectionAttemptError'](_0x255d00);}),_0x214227['once']('connect',async()=>{this['_debugEvent']('once-connect');try{await this['_onConnect'](),_0x11bee2();}catch(_0x52e58a){_0x255d00(_0x52e58a);}}),_0x214227['connect']();});}['_getPortByProtocol'](_0x576917){return['http:','ws:']['includes'](_0x576917)?0x50:0x1bb;}['_setupSocket'](){if(this['_socket'])return this['_socket'];const _0x4ed98=this['_url']['port']||this['_getPortByProtocol'](this['_url']['protocol']),_0x374dbd=(this['_url']['protocol']||'https:')+'//'+this['_url']['hostname']+':'+_0x4ed98,_0x8eae77=this['_url']['pathname']['match'](/^\/.*\/ws/)?this['_url']['pathname']['split']('/ws')[0x0]:'',_0x116f84=this['_connectionProvider'](_0x374dbd,{'parser':{'Encoder':_0x402d38,'Decoder':_0x46eb96},'path':_0x8eae77+'/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']=_0x47fce7['CONNECTING'],_0x116f84['on']('connect',()=>{this['_debugEvent']('connect'),this['socketId']=_0x116f84['id'];}),_0x116f84['on']('connect_error',_0x2ffe17=>{this['_debugEvent']('connect_error',_0x2ffe17);}),_0x116f84['on']('disconnect',()=>{this['_debugEvent']('disconnect'),this['_onDisconnect']();}),_0x116f84['io']['on']('reconnect',async()=>{this['_debugEvent']('reconnect'),await this['_onReconnect']();}),_0x116f84['io']['on']('reconnect_attempt',_0x3c0ef1=>{this['_debugEvent']('reconnect_attempt',_0x3c0ef1),this['state']=_0x47fce7['CONNECTING'],this['_connectionAttempt']=_0x3c0ef1;}),_0x116f84['on']('unauthorized',_0x2bb3a6=>{this['_debugEvent']('unauthorized'),this['_onUnauthorized'](_0x2bb3a6);}),_0x116f84['on']('authenticationRequest',async _0x1cdf99=>{this['_debugEvent']('authenticationRequest',_0x1cdf99['attempt']),await this['_onReconnect']();}),this['_socket']=_0x116f84,_0x116f84;}['_emit'](_0x2599f5,_0x2acf98){const _0x249aaf=this['_socket'];return this['_requestsManager']['send'](_0x5157ec=>{_0x249aaf['emit'](_0x2599f5,_0x2acf98,(_0x4154cb,_0x15447b)=>{if(_0x4154cb)return _0x5157ec['error'](CKEditorCloudServicesServerError['fromPublicError'](_0x4154cb));_0x5157ec['response'](_0x15447b);});},this['_options']['requestTimeout']);}['_addAuthData'](_0x207640,_0x29dcf1){this['_socketAuth']={'environmentId':_0x207640,'userId':_0x29dcf1,'isAuthenticated':!0x0};}['_removeAuthData'](){this['_socketAuth']=void 0x0;}async['_onConnect'](){await this['_authenticate'](this['_token']['value']),this['state']=_0x47fce7['CONNECTED'];const _0x743ce3=async(_0x3df894,_0xd05159,_0x437ede)=>{this['_debugEvent']('token:value:change');try{await this['_authenticate'](_0x437ede);}catch(_0x263dc6){}};this['_token']['on']('change:value',_0x743ce3),this['_socket']['io']['off']('reconnect_error'),this['on']('disconnect',()=>{this['_token']['off']('change:value',_0x743ce3);});}async['_onReconnect'](){await this['_token']['refreshToken'](),await this['_onConnect']();}['_onDisconnect'](){this['state']=_0x47fce7['DISCONNECTED'],this['_connectionAttempt']=0x0,this['fire']('disconnect');for(const _0x4c2224 of this['_channels']['values']())_0x4c2224['remove']();this['_channels']['clear'](),void 0x0===this['_options']['autoReconnect']||this['_options']['autoReconnect']||(this['_socket']=void 0x0);}['_debugEvent'](_0xfbde72,_0x63b939){if(!this['_isDebugModeEnabled']())return;const _0x4cf966=void 0x0!==_0x63b939?',\x20data:\x20'+_0x63b939:'';console['info'](new Date()['toLocaleString']()+'\x20'+_0xfbde72+_0x4cf966);}['_reconnectionAttemptError'](_0x36f9da){this['_connectionAttempt']>=0x2&&(this['disconnect'](),_0x36f9da(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:_0x143307}){this['_removeAuthData'](),this['fire']('error',CKEditorCloudServicesServerError['fromPublicError'](_0x143307));}async['_authenticate'](_0x452df2){try{this['_debugEvent']('authenticate:start');const _0x3a3772=await this['_emit'](0x2,{'token':_0x452df2});this['_debugEvent']('authenticate:success','envId:\x20'+_0x3a3772['environmentId']+',\x20userId:\x20'+_0x3a3772['userId']),this['_addAuthData'](_0x3a3772['environmentId'],_0x3a3772['userId']);}catch(_0x38e210){throw this['_debugEvent']('authenticate:error',_0x38e210['message']),this['_removeAuthData'](),_0x38e210;}}['_isDebugModeEnabled'](){return!!ckeditor5['global']['window']['localStorage']&&'true'===(ckeditor5['global']['window']['localStorage']['getItem']('csClientDebugMode')??'false')['toLowerCase']();}};class IsEditorBundleUploadedMessage extends _0x23aea3{['bundleVersion'];static ['TYPE']='131';static ['READABLE_TYPE_NAME']='isEditorBundleUploaded';static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedMessage';static ['DESCRIPTOR']={'fields':{'bundleVersion':{'type':'string','id':0x1}}};constructor(_0x1d2781){super(),this['bundleVersion']=_0x1d2781;}['toJSON'](){return{'bundleVersion':this['bundleVersion']};}static['fromJSON'](_0x37324a){return new IsEditorBundleUploadedMessage(_0x37324a['bundleVersion']);}}class IsEditorBundleUploadedResponse extends _0x23aea3{['isUploaded'];static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedResponse';static ['DESCRIPTOR']={'fields':{'isUploaded':{'type':'bool','id':0x1}}};constructor(_0x1d1010){super(),this['isUploaded']=_0x1d1010;}['toJSON'](){return{'isUploaded':this['isUploaded']};}static['fromJSON'](_0xd22b87){return new IsEditorBundleUploadedResponse(_0xd22b87['isUploaded']);}}class EditorService extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){static ['_SERVICE']=0xd;static async['isBundleUploaded'](_0x467d94,_0x45781b){const _0x310baf=new IsEditorBundleUploadedMessage(_0x45781b);if(_0x467d94['state']!==_0x47fce7['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x467d94);const _0x3c5549=await _0x467d94['_sendRequest'](EditorService['_SERVICE'],IsEditorBundleUploadedMessage['TYPE'],_0x47c85a['encode'](_0x310baf));return _0x47c85a['decode'](_0x3c5549,IsEditorBundleUploadedResponse)['isUploaded'];}}class RevisionHistoryGetRevisionMessage extends _0x23aea3{['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(_0x5e1c8d,_0x1a3551){super(),this['documentId']=_0x5e1c8d,this['revisionId']=_0x1a3551;}['toJSON'](){return{'documentId':this['documentId'],'revisionId':this['revisionId']};}static['fromJSON'](_0x1ce9a6){return new RevisionHistoryGetRevisionMessage(_0x1ce9a6['documentId'],_0x1ce9a6['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'](_0x32699c){return{'revisionId':_0x32699c['id'],'name':_0x32699c['name'],'creatorId':_0x32699c['creatorId'],'createdAt':_0x32699c['createdAt'],'fromVersion':_0x32699c['fromVersion'],'toVersion':_0x32699c['toVersion'],'isEmptyCurrent':_0x32699c['isEmptyCurrent'],'diffData':_0x32699c['diffData']?JSON['stringify'](_0x32699c['diffData']):void 0x0,'attributes':_0x32699c['attributes'],'authorsIds':_0x32699c['authorsIds']};}static['toJSON'](_0x1c9329){return{'revisionId':_0x1c9329['revisionId'],'name':_0x1c9329['name'],'creatorId':_0x1c9329['creatorId'],'authorsIds':_0x1c9329['authorsIds']?JSON['stringify'](_0x1c9329['authorsIds']):void 0x0,'diffData':_0x1c9329['diffData'],'createdAt':_0x1c9329['createdAt']?.['toISOString'](),'attributes':_0x1c9329['attributes']?JSON['stringify'](_0x1c9329['attributes']):void 0x0,'toVersion':_0x1c9329['toVersion'],'fromVersion':_0x1c9329['fromVersion'],'isEmptyCurrent':_0x1c9329['isEmptyCurrent']};}static['fromJSON'](_0x13915f){return{'revisionId':(_0x13915f={..._0x13915f})['revisionId'],'name':_0x13915f['name'],'creatorId':_0x13915f['creatorId'],'authorsIds':_0x13915f['authorsIds']?JSON['parse'](_0x13915f['authorsIds']):void 0x0,'diffData':_0x13915f['diffData'],'createdAt':_0x13915f['createdAt']?new Date(_0x13915f['createdAt']):void 0x0,'attributes':_0x13915f['attributes']?JSON['parse'](_0x13915f['attributes']):void 0x0,'toVersion':_0x13915f['toVersion'],'fromVersion':_0x13915f['fromVersion'],'isEmptyCurrent':_0x13915f['isEmptyCurrent']};}static['toObject'](_0x39ebc7){return function(_0x11b193){for(const [_0x57c3cc,_0x3277c0]of Object['entries'](_0x11b193))void 0x0===_0x3277c0&&delete _0x11b193[_0x57c3cc];return _0x11b193;}({'id':_0x39ebc7['revisionId'],'name':_0x39ebc7['name'],'creatorId':_0x39ebc7['creatorId'],'createdAt':_0x39ebc7['createdAt'],'fromVersion':_0x39ebc7['fromVersion'],'toVersion':_0x39ebc7['toVersion'],'isEmptyCurrent':_0x39ebc7['isEmptyCurrent'],'diffData':_0x39ebc7['diffData']?JSON['parse'](_0x39ebc7['diffData']):void 0x0,'attributes':_0x39ebc7['attributes'],'authorsIds':_0x39ebc7['authorsIds']});}}class RevisionHistoryGetRevisionResponse extends _0x23aea3{['revisionId'];['name'];['creatorId'];['authorsIds'];['createdAt'];['diffData'];['attributes'];['fromVersion'];['toVersion'];['isEmptyCurrent'];static ['DESCRIPTOR_NAME']='RevisionHistoryGetRevisionResponse';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>RevisionDescriptor['DESCRIPTOR'])());constructor(_0x270fe8,_0x567029,_0x2540c8,_0x3defd0,_0x336d54,_0x46c953,_0x38114b,_0x3b8dd8,_0x42e456,_0x49ba0f){super(),this['revisionId']=_0x270fe8,this['name']=_0x567029,this['creatorId']=_0x2540c8,this['authorsIds']=_0x3defd0,this['createdAt']=_0x336d54,this['diffData']=_0x46c953,this['attributes']=_0x38114b,this['fromVersion']=_0x3b8dd8,this['toVersion']=_0x42e456,this['isEmptyCurrent']=_0x49ba0f;}['toJSON'](){return RevisionDescriptor['toJSON'](this);}['toObject'](){return RevisionDescriptor['toObject'](this);}static['create'](_0x2ef8f0){return new RevisionHistoryGetRevisionResponse(_0x2ef8f0['revisionId'],_0x2ef8f0['name'],_0x2ef8f0['creatorId'],_0x2ef8f0['authorsIds'],_0x2ef8f0['createdAt'],_0x2ef8f0['diffData'],_0x2ef8f0['attributes'],_0x2ef8f0['fromVersion'],_0x2ef8f0['toVersion'],_0x2ef8f0['isEmptyCurrent']);}static['fromJSON'](_0x3780db){return new RevisionHistoryGetRevisionResponse(_0x3780db['revisionId'],_0x3780db['name'],_0x3780db['creatorId'],_0x3780db['authorsIds']?JSON['parse'](_0x3780db['authorsIds']):void 0x0,_0x3780db['createdAt']?new Date(_0x3780db['createdAt']):void 0x0,_0x3780db['diffData'],_0x3780db['attributes']?JSON['parse'](_0x3780db['attributes']):void 0x0,_0x3780db['fromVersion'],_0x3780db['toVersion'],_0x3780db['isEmptyCurrent']);}}class RevisionHistoryUpdateRevisionsMessage extends _0x23aea3{['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(_0x38eb6a,_0x4a7f34,_0x328244){super(),this['documentId']=_0x38eb6a,this['requestId']=_0x4a7f34,this['revisions']=_0x328244;}['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'](_0x4c35c0){return new RevisionHistoryUpdateRevisionsMessage(_0x4c35c0['documentId'],_0x4c35c0['requestId'],_0x4c35c0['revisions']['map'](RevisionDescriptor['create']));}static['fromJSON'](_0x539bb7){return new RevisionHistoryUpdateRevisionsMessage(_0x539bb7['documentId'],_0x539bb7['requestId'],_0x539bb7['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryUpdateRevisionsResponse extends _0x23aea3{['requestId'];static ['DESCRIPTOR_NAME']='RevisionHistoryUpdateRevisionsResponse';static ['DESCRIPTOR']={'fields':{'requestId':{'type':'uint32','id':0x1}}};constructor(_0x2e7b25){super(),this['requestId']=_0x2e7b25;}['toJSON'](){return{'requestId':this['requestId']};}static['fromJSON'](_0x335078){return new RevisionHistoryUpdateRevisionsResponse(_0x335078['requestId']);}}class RevisionHistoryConnectMessage extends _0x23aea3{['documentId'];static ['TYPE']='121';static ['READABLE_TYPE_NAME']='connectToRevisionHistory';static ['DESCRIPTOR_NAME']='RevisionHistoryConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x2aad19){super(),this['documentId']=_0x2aad19;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x1444b7){return new RevisionHistoryConnectMessage(_0x1444b7['documentId']);}}class RevisionHistoryConnectResponse extends _0x23aea3{['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(_0x3c8bee,_0x4a2efc,_0x4bf55c){super(),this['channel']=_0x3c8bee,this['requestId']=_0x4a2efc,this['revisions']=_0x4bf55c;}['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'](_0x7a9da4){return new RevisionHistoryConnectResponse(_0x7a9da4['channel'],_0x7a9da4['requestId'],_0x7a9da4['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryReconnectMessage extends _0x23aea3{['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(_0x769277,_0x25841d){super(),this['documentId']=_0x769277,this['requestId']=_0x25841d;}['toJSON'](){return{'documentId':this['documentId'],'requestId':this['requestId']};}static['fromJSON'](_0x1dc5fc){return new RevisionHistoryReconnectMessage(_0x1dc5fc['documentId'],_0x1dc5fc['requestId']);}}class ServiceNotConnectedError extends CKEditorCloudServicesError{constructor(_0x3906a2,_0x131b70){super(_0x3906a2+'\x20Service\x20is\x20not\x20connected.',_0x131b70);}}class RevisionHistoryService extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xc;constructor(_0x1cba80){super(),this['_documentId']=_0x1cba80;}get['isConnected'](){return this['_isConnected'];}['connect'](_0x29b23e){return this['_isConnected']?Promise['resolve']():this['_connect'](_0x29b23e,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'](_0x45f93d,_0x16f34d){if(this['isConnected'])throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0x45f93d);return this['_connect'](_0x45f93d,new RevisionHistoryReconnectMessage(this['_documentId'],_0x16f34d));}async['updateRevisions'](_0x3b959a,_0x1f968b){const _0x552848=RevisionHistoryUpdateRevisionsMessage['create']({'documentId':this['_documentId'],'requestId':_0x1f968b,'revisions':_0x3b959a}),_0x8178e3=await this['_sendRequest'](RevisionHistoryUpdateRevisionsMessage['TYPE'],_0x552848),{requestId:_0x1e626d}=_0x47c85a['decode'](_0x8178e3,RevisionHistoryUpdateRevisionsResponse);return _0x1e626d;}async['getRevision'](_0x264b4f){const _0x36b34f=new RevisionHistoryGetRevisionMessage(this['_documentId'],_0x264b4f),_0x557171=await this['_sendRequest'](RevisionHistoryGetRevisionMessage['TYPE'],_0x36b34f);return _0x47c85a['decode'](_0x557171,RevisionHistoryGetRevisionResponse)['toObject']();}async['_connect'](_0x22ec19,_0x5c2700){if(_0x22ec19['state']!==_0x47fce7['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x22ec19);this['_wsGateway']=_0x22ec19,this['stopListening'](_0x22ec19,'change:state');const _0x3b8e6d=await _0x22ec19['_sendRequest'](0xc,_0x5c2700['constructor']['TYPE'],_0x47c85a['encode'](_0x5c2700)),{channel:_0x4307f8,requestId:_0x4669bb,revisions:_0xb71b4d}=_0x47c85a['decode'](_0x3b8e6d,RevisionHistoryConnectResponse)['toObject']();return this['listenTo'](_0x22ec19,'change:state',(_0x47d4a4,_0x413e58,_0x130246)=>this['_onWsGatewayStateChange'](_0x130246),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x22ec19,_0x4307f8),this['_isConnected']=!0x0,this['fire']('connected'),{'revisions':_0xb71b4d,'requestId':_0x4669bb};}['_connectToChannel'](_0x953b37,_0x3eb17d){this['_channel']=_0x953b37['_getChannel'](RevisionHistoryService['_SERVICE'],_0x3eb17d),this['_channel']&&this['listenTo'](this['_channel'],this['_channel']['getEventName'](RevisionHistoryUpdateRevisionsMessage['TYPE']),(_0x36ef7b,_0x33a691)=>{const {documentId:_0x4c1fe8,requestId:_0x7c5506,revisions:_0x4ea24a}=_0x47c85a['decode'](_0x33a691,RevisionHistoryUpdateRevisionsMessage)['toObject']();this['fire']('revisionsUpdated',{'documentId':_0x4c1fe8,'requestId':_0x7c5506,'revisionsData':_0x4ea24a});});}['_onWsGatewayStateChange'](_0x61dccc){_0x61dccc===_0x47fce7['DISCONNECTED']&&this['disconnect']();}['_sendRequest'](_0x53222c,_0x3222e4){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Revision\x20History',this);return this['_wsGateway']['_sendRequest'](0xc,_0x53222c,_0x47c85a['encode'](_0x3222e4));}}class AddSuggestionMessage extends _0x23aea3{['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(_0x3e509b,_0x438adf,_0x25eae4,_0x521b57={},_0x24b63a=null,_0x5f5007=null){super(),this['id']=_0x3e509b,this['documentId']=_0x438adf,this['type']=_0x25eae4,this['data']=_0x521b57,this['originalSuggestionId']=_0x24b63a,this['attributes']=_0x5f5007;}['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'](_0xf3433f){return new AddSuggestionMessage(_0xf3433f['id'],_0xf3433f['documentId'],_0xf3433f['type'],JSON['parse'](_0xf3433f['data']),_0xf3433f['originalSuggestionId']??null,_0xf3433f['attributes']?JSON['parse'](_0xf3433f['attributes']):null);}}class AddSuggestionResponse extends _0x23aea3{['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(_0x34e060,_0x256a5c,_0x558051,_0x105c58,_0x5a4898,_0x4a3420,_0x4f47a5={},_0x2f600e=null){super(),this['id']=_0x34e060,this['authorId']=_0x256a5c,this['type']=_0x558051,this['hasComments']=_0x5a4898,this['state']=_0x4a3420,this['data']=_0x4f47a5,this['attributes']=_0x2f600e,this['createdAt']=_0x105c58?new Date(_0x105c58):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'](_0x2ce19b){return new AddSuggestionResponse(_0x2ce19b['id'],_0x2ce19b['authorId'],_0x2ce19b['type'],_0x2ce19b['createdAt'],_0x2ce19b['hasComments'],_0x2ce19b['state'],JSON['parse'](_0x2ce19b['data']),_0x2ce19b['attributes']?JSON['parse'](_0x2ce19b['attributes']):null);}}class GetSuggestionMessage extends _0x23aea3{['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(_0x3d960e,_0x409625){super(),this['id']=_0x3d960e,this['documentId']=_0x409625;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId']};}static['fromJSON'](_0x1e9c61){return new GetSuggestionMessage(_0x1e9c61['id'],_0x1e9c61['documentId']);}}class GetSuggestionResponse extends _0x23aea3{['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(_0x13dfe2,_0x299334,_0x55c22b,_0x1b193a,_0x3da6ec,_0x493ecf,_0x3bb0d5={},_0x1e38ee=null){super(),this['id']=_0x13dfe2,this['authorId']=_0x299334,this['type']=_0x55c22b,this['hasComments']=_0x3da6ec,this['state']=_0x493ecf,this['data']=_0x3bb0d5,this['attributes']=_0x1e38ee,this['createdAt']=new Date(_0x1b193a);}['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'](_0xc6e5f7){return new GetSuggestionResponse(_0xc6e5f7['id'],_0xc6e5f7['authorId'],_0xc6e5f7['type'],_0xc6e5f7['createdAt'],_0xc6e5f7['hasComments'],_0xc6e5f7['state'],JSON['parse'](_0xc6e5f7['data']),_0xc6e5f7['attributes']?JSON['parse'](_0xc6e5f7['attributes']):null);}}class GetAllSuggestionsMessage extends _0x23aea3{['documentId'];static ['TYPE']='102';static ['READABLE_TYPE_NAME']='getAllSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesGetAllSuggestionMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x5e1acc){super(),this['documentId']=_0x5e1acc;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x24d238){return new GetAllSuggestionsMessage(_0x24d238['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'](_0x2ad57a){return{..._0x2ad57a,'data':_0x2ad57a['data']?JSON['stringify'](_0x2ad57a['data']):_0x2ad57a['data'],'attributes':_0x2ad57a['attributes']?JSON['stringify'](_0x2ad57a['attributes']):_0x2ad57a['attributes'],'createdAt':_0x2ad57a['createdAt']?.['toISOString']()};}static['fromJSON'](_0x407b7c){return{..._0x407b7c,'data':_0x407b7c['data']?JSON['parse'](_0x407b7c['data']):_0x407b7c['data'],'attributes':_0x407b7c['attributes']?JSON['parse'](_0x407b7c['attributes']):_0x407b7c['attributes'],'createdAt':_0x407b7c['createdAt']?new Date(_0x407b7c['createdAt']):void 0x0};}}class GetAllSuggestionResponse extends _0x23aea3{['_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(_0x13e37d,_0x9f7812){super(),this['_suggestions']=_0x13e37d,this['_suggestionsV2']=_0x9f7812,this['suggestions']=_0x9f7812?.['length']?_0x9f7812:_0x13e37d;}['toJSON'](){return{'suggestions':this['_suggestions']?.['map'](_0x2388f7=>JSON['stringify'](_0x2388f7)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](_0x52add5){return new GetAllSuggestionResponse(_0x52add5['suggestions']?.['map'](_suggestionFromString),_0x52add5['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}}function _suggestionFromString(_0x3bcd28){const _0x342b56=JSON['parse'](_0x3bcd28);return _0x342b56['createdAt']=_0x342b56['createdAt']?new Date(_0x342b56['createdAt']):void 0x0,_0x342b56;}class UpdateSuggestionMessage extends _0x23aea3{['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(_0xa21c31,_0xaca10d,_0x245cb1,_0x14dccd,_0x37b608,_0x58fc28=null){super(),this['id']=_0xa21c31,this['documentId']=_0xaca10d,this['hasComments']=_0x245cb1,this['isHasCommentsModified']=_0x14dccd,this['state']=_0x37b608,this['attributes']=_0x58fc28;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId'],'hasComments':this['hasComments'],'isHasCommentsModified':this['isHasCommentsModified'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](_0x5c478d){return new UpdateSuggestionMessage(_0x5c478d['id'],_0x5c478d['documentId'],_0x5c478d['hasComments'],_0x5c478d['isHasCommentsModified'],_0x5c478d['state'],_0x5c478d['attributes']?JSON['parse'](_0x5c478d['attributes']):null);}}let ConnectMessage$1=class _0x6c6c28 extends _0x23aea3{['documentId'];static ['TYPE']='105';static ['READABLE_TYPE_NAME']='connectToSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x17a99a){super(),this['documentId']=_0x17a99a;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x190f39){return new _0x6c6c28(_0x190f39['documentId']);}},ConnectResponse$1=class _0x522a97 extends _0x23aea3{['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(_0x349a52,_0x2782cd,_0x211905){super(),this['channel']=_0x349a52,this['_suggestions']=_0x2782cd,this['_suggestionsV2']=_0x211905,this['suggestions']=_0x211905?.['length']?_0x211905:_0x2782cd;}['toJSON'](){return{'channel':this['channel'],'suggestions':this['_suggestions']?.['map'](_0x565012=>JSON['stringify'](_0x565012)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](_0x3585a8){return new _0x522a97(_0x3585a8['channel'],_0x3585a8['suggestions']?.['map'](_0x3156a4=>JSON['parse'](_0x3156a4)),_0x3585a8['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}};class BatchUpdateSuggestionsStateMessage extends _0x23aea3{['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(_0x13c044,_0x5802d7,_0x22668c){super(),this['ids']=_0x13c044,this['documentId']=_0x5802d7,this['state']=_0x22668c;}['toJSON'](){return{'ids':this['ids'],'documentId':this['documentId'],'state':this['state']};}static['fromJSON'](_0x18a44f){return new BatchUpdateSuggestionsStateMessage(_0x18a44f['ids'],_0x18a44f['documentId'],_0x18a44f['state']);}}class _0x3e063e extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xa;constructor(_0x26df7b){super(),this['_documentId']=_0x26df7b;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0x22efa6){if(this['_isConnected'])return;if(_0x22efa6['state']!==_0x47fce7['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x22efa6);const _0x6dcea8=new ConnectMessage$1(this['_documentId']);this['_wsGateway']=_0x22efa6,this['stopListening'](_0x22efa6,'change:state');const _0x480212=await _0x22efa6['_sendRequest'](0xa,ConnectMessage$1['TYPE'],_0x47c85a['encode'](_0x6dcea8)),_0x1b5230=_0x47c85a['decode'](_0x480212,ConnectResponse$1);return this['listenTo'](_0x22efa6,'change:state',(_0x47c171,_0x20e1b4,_0x231442)=>this['_onWsGatewayStateChange'](_0x231442),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x22efa6,_0x1b5230['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0x1b5230['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'](_0x281481,_0x438487,_0x95c1b4,_0x5c70fc=null,_0xc9cfda){const _0x23476d=new AddSuggestionMessage(_0x281481,this['_documentId'],_0x438487,_0x95c1b4,_0x5c70fc,_0xc9cfda),_0xe0273d=await this['_sendRequest'](AddSuggestionMessage['TYPE'],_0x23476d);return _0x47c85a['decode'](_0xe0273d,AddSuggestionResponse);}async['get'](_0x21afe8,_0x1d76ad=0x1){const _0x381f62=new GetSuggestionMessage(_0x21afe8,this['_documentId']);try{const _0x24de2c=await this['_sendRequest'](GetSuggestionMessage['TYPE'],_0x381f62);return _0x47c85a['decode'](_0x24de2c,GetSuggestionResponse);}catch(_0x1215f3){if('CKEditorCloudServicesServerError'===_0x1215f3['name']&&'404'===_0x1215f3['code']&&_0x1d76ad<0x5)return await(_0x4df2a4=0x64*_0x1d76ad,new Promise(_0x16de9c=>{setTimeout(_0x16de9c,_0x4df2a4);})),this['get'](_0x21afe8,_0x1d76ad+0x1);if('CKEditorCloudServicesServerError'===_0x1215f3['name'])throw _0x1215f3;throw CKEditorCloudServicesServerError['fromPublicError'](_0x1215f3);}var _0x4df2a4;}async['getAll'](){const _0x1ca987=new GetAllSuggestionsMessage(this['_documentId']),_0x3ca108=await this['_sendRequest'](GetAllSuggestionsMessage['TYPE'],_0x1ca987),{suggestions:_0x3e5017}=_0x47c85a['decode'](_0x3ca108,GetAllSuggestionResponse);return _0x3e5017;}async['update'](_0x4e4738,_0x33bc32={}){const {hasComments:_0x220906,state:_0x3f5732,attributes:_0x15da23}=_0x33bc32,_0x64739=void 0x0!==_0x220906,_0x278534=new UpdateSuggestionMessage(_0x4e4738,this['_documentId'],_0x220906,_0x64739,_0x3f5732,_0x15da23);await this['_sendRequest'](UpdateSuggestionMessage['TYPE'],_0x278534);}async['batchUpdateState'](_0x5f3653){const _0x3028cd=new BatchUpdateSuggestionsStateMessage(_0x5f3653['ids'],this['_documentId'],_0x5f3653['state']);await this['_sendRequest'](BatchUpdateSuggestionsStateMessage['TYPE'],_0x3028cd);}['_connectToChannel'](_0x281c0a,_0x108b01){this['_channel']=_0x281c0a['_getChannel'](_0x3e063e['_SERVICE'],_0x108b01),this['_channel']&&this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateSuggestionMessage['TYPE']),(_0x2eab3c,_0x12d199)=>{const _0x15d004=_0x47c85a['decode'](_0x12d199,UpdateSuggestionMessage);this['fire']('suggestionUpdated',_0x15d004);});}['_onWsGatewayStateChange'](_0x59e394){_0x59e394===_0x47fce7['DISCONNECTED']&&this['disconnect']();}['_sendRequest'](_0x26194a,_0x1def02){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Track\x20Changes',this);return this['_wsGateway']['_sendRequest'](0xa,_0x26194a,_0x47c85a['encode'](_0x1def02));}}class SessionsConnectResponse extends _0x23aea3{['channel'];['sockets'];static ['DESCRIPTOR_NAME']='SessionsConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'sockets':{'rule':'repeated','type':'SessionsSocketDescriptor','id':0x2}}};constructor(_0x2a4a7d,_0x554528=[]){super(),this['channel']=_0x2a4a7d,this['sockets']=_0x554528;}['toJSON'](){return{'channel':this['channel'],'sockets':this['sockets']['map'](_0x586586=>({'user':_0x586586['userId'],'session':_0x586586['id'],'role':_0x586586['role'],'permissions':_0x586586['permissions']}))};}static['fromJSON'](_0x4df5d5){return new SessionsConnectResponse(_0x4df5d5['channel'],_0x4df5d5['sockets']['map'](_0x51fda7=>({'id':_0x51fda7['session'],'userId':_0x51fda7['user'],'role':_0x51fda7['role'],'permissions':_0x51fda7['permissions']})));}}class SessionsConnectMessage extends _0x23aea3{['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(_0x25e31b,_0x485055){super(),this['id']=_0x25e31b,this['sessionType']=_0x485055;}['toJSON'](){return{'id':this['id'],'sessionType':this['sessionType']};}static['fromJSON'](_0x440582){return new SessionsConnectMessage(_0x440582['id'],_0x440582['sessionType']);}}class SocketConnectMessage extends _0x23aea3{['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(_0xd32861,_0x19dc1f,_0x42241c,_0x365c19){super(),this['id']=_0xd32861,this['userId']=_0x19dc1f,this['role']=_0x42241c,this['permissions']=_0x365c19;}['toJSON'](){return{'id':this['id'],'userId':this['userId']??void 0x0,'role':this['role']??void 0x0,'permissions':this['permissions']??void 0x0};}static['fromJSON'](_0x3f0eb5){return new SocketConnectMessage(_0x3f0eb5['id'],_0x3f0eb5['userId'],_0x3f0eb5['role'],_0x3f0eb5['permissions']);}}class SocketDisconnectMessage extends _0x23aea3{['id'];static ['TYPE']='33';static ['READABLE_TYPE_NAME']='disconnectSocket';static ['DESCRIPTOR_NAME']='SocketDisconnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x24b255){super(),this['id']=_0x24b255;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0x3f16f0){return new SocketDisconnectMessage(_0x3f16f0['id']);}}class SessionCollection extends ckeditor5['Collection']{['_id'];['_sessionType'];['_handlers']=new Map();['_channel'];['_wsGateway'];['_connected'];['_eventsQueue']=[];['_isRunning']=!0x1;constructor(_0x48cc06,_0x3f474d){super({'idProperty':'id'}),this['_id']=_0x48cc06,this['_sessionType']=_0x3f474d;}async['connect'](_0x1a0379){this['_wsGateway']=_0x1a0379,this['stopListening'](_0x1a0379,'change:state');const _0x59ff4b=new SessionsConnectMessage(this['_id'],this['_sessionType']);let _0x1b35d3;try{const _0x32b244=await this['_wsGateway']['_sendRequest'](0x3,SessionsConnectMessage['TYPE'],_0x47c85a['encode'](_0x59ff4b));_0x1b35d3=_0x47c85a['decode'](_0x32b244,SessionsConnectResponse);}catch(_0x1f8a81){_0x1b35d3=new SessionsConnectResponse(this['_id'],[]);}this['_connectToChannel'](this['_wsGateway'],_0x1b35d3['channel'],this['_sessionType']);const _0x430940=await async function(_0x16c228,_0xfb1052){const _0x13f9ae=_0xfb1052['map'](_0x6f79e5=>_0x6f79e5['userId']),_0x979308=_0x13f9ae['length']?await _0x555272['getMany'](_0x16c228,_0x13f9ae):[];return _0xfb1052['map'](_0x435899=>{const _0x42dd73={'id':_0x435899['id'],'role':_0x435899['role'],'permissions':_0x435899['permissions']};return _0x42dd73['user']=_0x435899['userId']&&_0x979308['find'](_0x2d32ea=>_0x2d32ea['id']===_0x435899['userId'])||new _0x555272(),_0x42dd73;});}(this['_wsGateway'],_0x1b35d3['sockets']);for(const _0x37fec1 of _0x430940)super['add'](_0x37fec1);this['_connected']=!0x0,this['fire']('connected'),this['listenTo'](this['_wsGateway'],'change:state',(_0x28514b,_0x508f68,_0x41fc1d)=>this['_onWsGatewayStateChange'](_0x41fc1d),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),await this['_runQueue']();}['disconnect'](_0x41e68f=!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']&&_0x41e68f&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['fire']('disconnected'),_0x41e68f&&this['stopListening']();}}['add'](_0x4bda9f,_0x13375f){throw new TypeError('The\x20collection\x20is\x20read-only.');}['remove'](_0x1bf2d6){throw new TypeError('The\x20collection\x20is\x20read-only.');}['_connectToChannel'](_0x124d0e,_0x16f6e2,_0x39c415){this['_channel']=_0x124d0e['_getChannel'](_0x39c415,_0x16f6e2),this['_channel']&&(this['_addHandler'](this['_channel'],SocketConnectMessage['TYPE'],async _0x42db89=>{const _0x2ce909=_0x47c85a['decode'](_0x42db89,SocketConnectMessage);if(-0x1===this['getIndex'](_0x2ce909['id'])){const _0x35b21e={'id':_0x2ce909['id'],'role':_0x2ce909['role'],'permissions':_0x2ce909['permissions']};_0x2ce909['userId']&&(_0x35b21e['user']=await _0x555272['get'](_0x124d0e,_0x2ce909['userId'])),super['add'](_0x35b21e);}}),this['_addHandler'](this['_channel'],SocketDisconnectMessage['TYPE'],_0x27e8dd=>{const _0x5a64c9=_0x47c85a['decode'](_0x27e8dd,SocketDisconnectMessage);-0x1!==this['getIndex'](_0x5a64c9['id'])&&super['remove'](_0x5a64c9['id']);}));}async['_onWsGatewayStateChange'](_0x51cf16){_0x51cf16===WebSocketGateway$1['STATE_DISCONNECTED']&&this['disconnect'](!0x1),_0x51cf16===WebSocketGateway$1['STATE_CONNECTED']&&await this['connect'](this['_wsGateway']);}async['_runQueue'](){if(this['_isRunning']||!this['_connected'])return;let _0x3ef0a5;for(this['_isRunning']=!0x0;_0x3ef0a5=this['_eventsQueue']['shift']();){const _0x15dc99=this['_handlers']['get'](_0x3ef0a5['eventName']);_0x15dc99&&await _0x15dc99(_0x3ef0a5['data']);}this['_isRunning']=!0x1;}['_addHandler'](_0x307186,_0x8e2d5d,_0x32fd62){const _0x705244=_0x307186['getEventName'](_0x8e2d5d,!0x0);this['listenTo'](_0x307186,_0x705244,async(_0x3f333c,_0x54e659)=>{const _0x4772d3=_0x3f333c['name'];this['_eventsQueue']['push']({'eventName':_0x4772d3,'data':_0x54e659}),await this['_runQueue']();}),this['_handlers']['set'](_0x705244,_0x32fd62);}}let _0x4cf9ab=class{static async['getConnectedSessions'](_0x59f8ff,_0xc50415,_0x47d887){const _0x5aa19c=new SessionCollection(_0xc50415,_0x47d887);return await _0x5aa19c['connect'](_0x59f8ff),_0x5aa19c;}};class CollaborativeEditingConnectMessage extends _0x23aea3{['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(_0x28074b,_0x3f6af0,_0x450e3e,_0x40de06,_0x470edd=''){super(),this['id']=_0x28074b,this['buffers']=_0x3f6af0,this['types']=_0x450e3e,this['bundleVersion']=_0x40de06,this['lastOperationId']=_0x470edd;}['toJSON'](){return{'id':this['id'],'buffers':this['buffers'],'types':this['types'],'bundleVersion':this['bundleVersion'],'lastOperationId':this['lastOperationId']};}static['fromJSON'](_0x2e4a6e){return new CollaborativeEditingConnectMessage(_0x2e4a6e['id'],_0x2e4a6e['buffers'],_0x2e4a6e['types'],_0x2e4a6e['bundleVersion'],_0x2e4a6e['lastOperationId']);}}class OperationMetadataHelpers{static['prepareMetadataForOperations'](_0x5746f6,_0x2b4ec5){if(!_0x5746f6?.['length']||!_0x2b4ec5?.['length'])return[];const _0x22b2d4=[];let _0x454689=0x0;for(const _0x1e3b23 of _0x5746f6)if(0x0!==_0x1e3b23){if(!_0x2b4ec5[_0x454689])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x22b2d4['push'](_0x2b4ec5[_0x454689]),_0x454689++;}else _0x22b2d4['push'](_0x22b2d4[_0x22b2d4['length']-0x1]);return _0x22b2d4;}static['removeUnnecessaryMetadata'](_0xadae22,_0x16f973){if(!_0xadae22?.['length']||!_0x16f973?.['length'])return[];const _0x3e7440=[];for(let _0x5b3225=0x0;_0x5b3225<_0xadae22['length'];_0x5b3225++)if(0x0!==_0xadae22[_0x5b3225]){if(!_0x16f973[_0x5b3225])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x3e7440['push'](_0x16f973[_0x5b3225]);}return _0x3e7440;}}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:_0x6d979c,..._0x16444f}){const _0x17cb00={..._0x16444f};return _0x6d979c?.['toISOString']&&(_0x17cb00['createdAt']=_0x6d979c['toISOString']()),_0x17cb00;}static['fromJSON']({createdAt:_0x17dd97,..._0x4151a5}){const _0x1de289={..._0x4151a5};return _0x17dd97&&(_0x1de289['createdAt']=new Date(_0x17dd97)),_0x1de289;}}class CollaborativeEditingUpdateMessage extends _0x23aea3{['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(_0x286003,_0x312efe,_0xef7133,_0x79cda4,_0x4533d8=[],_0xd76bf6=''){super(),this['id']=_0x286003,this['buffers']=_0x312efe,this['types']=_0xef7133,this['baseVersion']=_0x79cda4,this['metadata']=_0x4533d8,this['lastOperationId']=_0xd76bf6;}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'](_0x2df0a5){return new CollaborativeEditingUpdateMessage(_0x2df0a5['id'],_0x2df0a5['buffers'],_0x2df0a5['types'],_0x2df0a5['baseVersion'],OperationMetadataHelpers['prepareMetadataForOperations'](_0x2df0a5['types'],_0x2df0a5['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),_0x2df0a5['lastOperationId']);}}class CollaborativeEditingReconnectMessage extends _0x23aea3{['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(_0x3297b8,_0x59b554,_0x5448f6){super(),this['id']=_0x3297b8,this['lastKnowVersion']=_0x59b554,this['bundleVersion']=_0x5448f6;}['toJSON'](){return{'id':this['id'],'bundleVersion':this['bundleVersion'],'lastKnowVersion':this['lastKnowVersion']};}static['fromJSON'](_0x1862c3){return new CollaborativeEditingReconnectMessage(_0x1862c3['id'],_0x1862c3['lastKnowVersion'],_0x1862c3['bundleVersion']);}}class CollaborativeEditingResponse extends _0x23aea3{['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(_0x20cb2a,_0x39a592=[],_0x326c11=[],_0x5013f3=[],_0x1c20e1='',_0x4c67c0=null){super(),this['version']=_0x20cb2a,this['buffers']=_0x39a592,this['types']=_0x326c11,this['metadata']=_0x5013f3,this['lastOperationId']=_0x1c20e1,this['lastOperationAcceptedAt']=_0x4c67c0;}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'](_0x5be2ba){return new CollaborativeEditingResponse(_0x5be2ba['version'],_0x5be2ba['buffers'],_0x5be2ba['types'],OperationMetadataHelpers['prepareMetadataForOperations'](_0x5be2ba['types'],_0x5be2ba['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),_0x5be2ba['lastOperationId'],_0x5be2ba['lastOperationAcceptedAt']?new Date(_0x5be2ba['lastOperationAcceptedAt']):null);}static['create'](_0x4c9fad){return new CollaborativeEditingResponse(_0x4c9fad['version'],_0x4c9fad['buffers'],_0x4c9fad['types'],_0x4c9fad['metadata'],_0x4c9fad['lastOperationId'],_0x4c9fad['lastOperationAcceptedAt']?new Date(_0x4c9fad['lastOperationAcceptedAt']):null);}}class CollaborativeEditingConnectResponse extends _0x23aea3{['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(_0x52009f,_0x140814,_0x392fcd=[],_0x15ea64=[],_0x206bdd=0x0,_0x37a531=[],_0x137482=null,_0x481cb2='',_0x42a551='',_0x460182=null){super(),this['channel']=_0x52009f,this['version']=_0x140814,this['buffers']=_0x392fcd,this['types']=_0x15ea64,this['offset']=_0x206bdd,this['metadata']=_0x37a531,this['initData']=_0x137482,this['sessionId']=_0x481cb2,this['lastOperationId']=_0x42a551,this['sessionCreatedAt']=_0x460182;}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'](_0x5e20fe){return new CollaborativeEditingConnectResponse(_0x5e20fe['channel'],_0x5e20fe['version'],_0x5e20fe['buffers'],_0x5e20fe['types'],_0x5e20fe['offset'],_0x5e20fe['metadata'],_0x5e20fe['initData'],_0x5e20fe['sessionId'],_0x5e20fe['lastOperationId'],_0x5e20fe['sessionCreatedAt']);}static['fromJSON'](_0x4eac5f){let _0x260fcb=null;return!0x0===_0x4eac5f['isInitialized']?_0x260fcb=_0x4eac5f['initData']??'':'boolean'!=typeof _0x4eac5f['isInitialized']&&_0x4eac5f['initData']&&(_0x260fcb=_0x4eac5f['initData']),CollaborativeEditingConnectResponse['create']({'channel':_0x4eac5f['channel'],'version':_0x4eac5f['version'],'buffers':_0x4eac5f['buffers'],'types':_0x4eac5f['types'],'offset':_0x4eac5f['offset'],'metadata':OperationMetadataHelpers['prepareMetadataForOperations'](_0x4eac5f['types'],_0x4eac5f['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),'initData':_0x260fcb,'sessionId':_0x4eac5f['sessionId'],'lastOperationId':_0x4eac5f['lastOperationId'],'sessionCreatedAt':_0x4eac5f['sessionCreatedAt']?new Date(_0x4eac5f['sessionCreatedAt']):null});}}class GetDocumentDetailsResponse extends _0x23aea3{['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(_0x24938c,_0x3b9680){super(),this['lastDocumentSession']=_0x24938c,this['currentDocumentSession']=_0x3b9680;}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'](_0x2cf1d4){const _0x54f3fb=_0x2cf1d4['lastDocumentSessionId']?{'id':_0x2cf1d4['lastDocumentSessionId'],'lastOperationId':_0x2cf1d4['lastDocumentSessionOperationId']}:void 0x0,_0x31fca0=_0x2cf1d4['currentDocumentSessionId']?{'lastOperationId':_0x2cf1d4['currentDocumentSessionOperationId'],'version':_0x2cf1d4['currentDocumentSessionVersion'],'id':_0x2cf1d4['currentDocumentSessionId']}:void 0x0;return new GetDocumentDetailsResponse(_0x54f3fb,_0x31fca0);}}class GetDocumentDetailsMessage extends _0x23aea3{['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(_0x4c7538){super(),this['documentId']=_0x4c7538;}get['data'](){return{'documentId':this['documentId']};}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x205d14){return new GetDocumentDetailsMessage(_0x205d14['documentId']);}}class CollaborativeEditingService extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){static ['_SERVICE']=0x1;['_bundleVersion'];['_id'];['_isConnected'];['_wsGateway'];['_channel'];['_connectedSessions'];constructor(_0x5806af,_0x170894){if(super(),!_0x5806af)throw new TypeError('Param\x20\x22bundleVersion\x22\x20must\x20be\x20provided.');this['_id']=_0x170894??_0x31b499(),this['_isConnected']=!0x1,this['_bundleVersion']=_0x5806af;}['getId'](){return this['_id'];}['isConnected'](){return this['_isConnected'];}['connect'](_0x1bf14d,_0x9d0fe9={'buffers':[],'types':[]},_0x17e01c){const _0x34ca12=new CollaborativeEditingConnectMessage(this['getId'](),_0x9d0fe9['buffers'],_0x9d0fe9['types'],this['_bundleVersion'],_0x17e01c);return this['_connect'](_0x1bf14d,_0x34ca12);}['reconnect'](_0x30cde7,_0x40f9ec){if(this['isConnected']())throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0x30cde7);return this['_connect'](_0x30cde7,new CollaborativeEditingReconnectMessage(this['getId'](),_0x40f9ec,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 _0x4fc0a4=new GetDocumentDetailsMessage(this['getId']());if(!this['_wsGateway'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x18118c=await this['_wsGateway']['_sendRequest'](0x1,GetDocumentDetailsMessage['TYPE'],_0x47c85a['encode'](_0x4fc0a4));return _0x47c85a['decode'](_0x18118c,GetDocumentDetailsResponse);}async['sendOperations'](_0x4d2733,_0x323cd3,_0x14bc36){if(!_0x4d2733?.['types']?.['length'])throw new CKEditorCloudServicesError('Cannot\x20send\x20empty\x20update.',this['_wsGateway']);const _0x9c3798='number'==typeof _0x323cd3?_0x323cd3:parseInt(_0x323cd3);if(!Number['isInteger'](_0x9c3798)||_0x9c3798<0x0)throw new CKEditorCloudServicesError('Base\x20version\x20not\x20provided.',this['_wsGateway']);const _0x37f2a8=new CollaborativeEditingUpdateMessage(this['getId'](),_0x4d2733['buffers'],_0x4d2733['types'],_0x9c3798,[],_0x14bc36);if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x18215c=await this['_wsGateway']['_sendRequest'](0x1,CollaborativeEditingUpdateMessage['TYPE'],_0x47c85a['encode'](_0x37f2a8));return _0x47c85a['decode'](_0x18215c,CollaborativeEditingResponse);}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);return this['_connectedSessions']||(this['_connectedSessions']=await _0x4cf9ab['getConnectedSessions'](this['_wsGateway'],this['_id'],0x1)),this['_connectedSessions'];}static['getConnectedSessions'](_0x19b3f7,_0x2f5a3b){return _0x4cf9ab['getConnectedSessions'](_0x19b3f7,_0x2f5a3b,0x1);}async['_connect'](_0x2fd856,_0x324c00){if(this['isConnected']())return;if(_0x2fd856['state']!==WebSocketGateway$1['STATE_CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x2fd856);this['_wsGateway']=_0x2fd856,this['stopListening'](_0x2fd856,'change:state');const _0x27a288=await _0x2fd856['_sendRequest'](0x1,_0x324c00['constructor']['TYPE'],_0x47c85a['encode'](_0x324c00)),_0x4774c9=_0x47c85a['decode'](_0x27a288,CollaborativeEditingConnectResponse);return this['listenTo'](_0x2fd856,'change:state',(_0x8b0bb2,_0x44d6b0,_0x1d5aa5)=>this['_onWsGatewayStateChange'](_0x1d5aa5),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x2fd856,_0x4774c9['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0x4774c9;}['_connectToChannel'](_0x23effc,_0x1d0387){this['_channel']=_0x23effc['_getChannel'](0x1,_0x1d0387),this['listenTo'](this['_channel'],this['_channel']['getEventName'](CollaborativeEditingUpdateMessage['TYPE']),(_0x2f1bae,_0x6cf86)=>{const _0x46384c=_0x47c85a['decode'](_0x6cf86,CollaborativeEditingUpdateMessage);this['fire']('operationsReceived',_0x46384c['baseVersion'],_0x46384c['data'],_0x46384c['metadata']);});}['_onWsGatewayStateChange'](_0x2ba3cc){_0x2ba3cc===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'](_0x32ca7c){return{..._0x32ca7c,'createdAt':_0x32ca7c['createdAt']?.['toISOString'](),'attributes':_0x32ca7c['attributes']?JSON['stringify'](_0x32ca7c['attributes']):null};}static['fromJSON'](_0x540fc9){return{..._0x540fc9,'createdAt':new Date(_0x540fc9['createdAt']),'attributes':_0x540fc9['attributes']?JSON['parse'](_0x540fc9['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'](_0x2b7527){return{..._0x2b7527,'createdAt':_0x2b7527['createdAt']?.['toISOString'](),'deletedAt':_0x2b7527['deletedAt']?.['toISOString'](),'resolvedAt':_0x2b7527['resolvedAt']?.['toISOString'](),'attributes':_0x2b7527['attributes']?JSON['stringify'](_0x2b7527['attributes']):null,'context':_0x2b7527['context']?JSON['stringify'](_0x2b7527['context']):_0x2b7527['context'],'comments':_0x2b7527['comments']?.['map'](CommentDescriptor['toJSON']),'unlinkedAt':_0x2b7527['unlinkedAt']?.['toISOString']()};}static['fromJSON'](_0x1d7f8b){return{..._0x1d7f8b,'createdAt':_0x1d7f8b['createdAt']?new Date(_0x1d7f8b['createdAt']):void 0x0,'deletedAt':_0x1d7f8b['deletedAt']?new Date(_0x1d7f8b['deletedAt']):void 0x0,'resolvedAt':_0x1d7f8b['resolvedAt']?new Date(_0x1d7f8b['resolvedAt']):void 0x0,'attributes':_0x1d7f8b['attributes']?JSON['parse'](_0x1d7f8b['attributes']):null,'context':_0x1d7f8b['context']?JSON['parse'](_0x1d7f8b['context']):void 0x0,'comments':_0x1d7f8b['comments']?.['map'](CommentDescriptor['fromJSON']),'unlinkedAt':_0x1d7f8b['unlinkedAt']?new Date(_0x1d7f8b['unlinkedAt']):void 0x0};}}class AddCommentMessage extends _0x23aea3{['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(_0x1f17b6,_0xa9cd75,_0x5bca1a,_0x1486e2='',_0x2c5413,_0x16186b='',_0x91757=null,_0x303d7f){super(),this['documentId']=_0x1f17b6,this['commentThreadId']=_0xa9cd75,this['content']=_0x5bca1a,this['commentId']=_0x1486e2,this['userId']=_0x16186b,this['attributes']=_0x91757,this['commentThread']=_0x303d7f,this['createdAt']=_0x2c5413?new Date(_0x2c5413):'';}['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'](_0x56c996){return new AddCommentMessage(_0x56c996['documentId'],_0x56c996['commentThreadId'],_0x56c996['content'],_0x56c996['commentId']?_0x56c996['commentId']:void 0x0,_0x56c996['createdAt']?new Date(_0x56c996['createdAt']):void 0x0,_0x56c996['userId']?_0x56c996['userId']:void 0x0,_0x56c996['attributes']?JSON['parse'](_0x56c996['attributes']):{},_0x56c996['commentThread']?CommentsThreadDescriptor['fromJSON'](_0x56c996['commentThread']):void 0x0);}}class AddCommentResponse extends _0x23aea3{['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(_0x349c65,_0x4be2c5,_0x39bcb5){super(),this['commentThreadId']=_0x349c65,this['commentId']=_0x4be2c5,this['createdAt']=new Date(_0x39bcb5);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'commentId':this['commentId'],'createdAt':this['createdAt']['toISOString']()};}static['fromJSON'](_0x236685){return new AddCommentResponse(_0x236685['commentThreadId'],_0x236685['commentId'],_0x236685['createdAt']);}}class ConnectMessage extends _0x23aea3{['documentId'];static ['TYPE']='92';static ['READABLE_TYPE_NAME']='connectToComment';static ['DESCRIPTOR_NAME']='CommentsV2ConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x59b9f0){super(),this['documentId']=_0x59b9f0;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x5b9ef4){return new ConnectMessage(_0x5b9ef4['documentId']);}}class ConnectResponse extends _0x23aea3{['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(_0x1731aa,_0x2f0db5,_0x377c86){super(),this['channel']=_0x1731aa,this['_threads']=_0x2f0db5,this['_threadsV2']=_0x377c86,this['threads']=_0x377c86?.['length']?_0x377c86:_0x2f0db5;}['toJSON'](){return{'channel':this['channel'],'threads':this['_threads']?.['map'](_0x1f491d=>JSON['stringify'](_0x1f491d)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](_0x22e87a){return new ConnectResponse(_0x22e87a['channel'],_0x22e87a['threads']?.['map'](_0xbeff53=>JSON['parse'](_0xbeff53)),_0x22e87a['threadsV2']?.['map'](CommentsThreadDescriptor['fromJSON']));}}class RemoveCommentMessage extends _0x23aea3{['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(_0x35c437,_0x27cece,_0x8e90b2){super(),this['documentId']=_0x35c437,this['commentThreadId']=_0x27cece,this['commentId']=_0x8e90b2;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'commentId':this['commentId']};}static['fromJSON'](_0x324408){return new RemoveCommentMessage(_0x324408['documentId'],_0x324408['commentThreadId'],_0x324408['commentId']);}}class RemoveCommentThreadMessage extends _0x23aea3{['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(_0x5ab61b,_0x2671eb){super(),this['documentId']=_0x5ab61b,this['commentThreadId']=_0x2671eb;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x3143a3){return new RemoveCommentThreadMessage(_0x3143a3['documentId'],_0x3143a3['commentThreadId']);}}class UpdateCommentMessage extends _0x23aea3{['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(_0x532982,_0x8abc65,_0x1b98b9,_0x29fdea,_0x31bc7b=null,_0x1a106c=!0x1,_0xde4502){super(),this['documentId']=_0x532982,this['commentThreadId']=_0x8abc65,this['commentId']=_0x1b98b9,this['content']=_0x29fdea,this['attributes']=_0x31bc7b,this['isAttributesUpdated']=_0x1a106c,this['commentThread']=_0xde4502;}['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'](_0x4b2dfd){return new UpdateCommentMessage(_0x4b2dfd['documentId'],_0x4b2dfd['commentThreadId'],_0x4b2dfd['commentId'],_0x4b2dfd['content'],_0x4b2dfd['attributes']?JSON['parse'](_0x4b2dfd['attributes']):null,_0x4b2dfd['isAttributesUpdated'],_0x4b2dfd['commentThread']?CommentsThreadDescriptor['fromJSON'](_0x4b2dfd['commentThread']):void 0x0);}}class GetCommentThreadMessage extends _0x23aea3{['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(_0x2dc01c,_0x4825db){super(),this['commentThreadId']=_0x2dc01c,this['documentId']=_0x4825db;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId']};}static['fromJSON'](_0x443240){return new GetCommentThreadMessage(_0x443240['commentThreadId'],_0x443240['documentId']);}}class GetCommentThreadResponse extends _0x23aea3{['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(_0xec56,_0x3dafe6,_0xb396ea,_0x2f1bb3,_0x438b15,_0x181da5,_0x384bea,_0x1e5939,_0x5f051a,_0x53ed6d){super(),this['commentThreadId']=_0xec56,this['_comments']=_0x3dafe6,this['_commentsV2']=_0xb396ea,this['resolvedBy']=_0x438b15,this['comments']=_0xb396ea?.['length']?_0xb396ea:_0x3dafe6,this['createdAt']=_0x384bea?new Date(_0x384bea):void 0x0,this['deletedAt']='string'==typeof _0x1e5939?new Date(_0x1e5939):_0x1e5939,this['resolvedAt']='string'==typeof _0x5f051a?new Date(_0x5f051a):_0x5f051a,this['unlinkedAt']='string'==typeof _0x53ed6d?new Date(_0x53ed6d):_0x53ed6d,this['attributes']='string'==typeof _0x2f1bb3?JSON['parse'](_0x2f1bb3):_0x2f1bb3,this['context']='string'==typeof _0x181da5?JSON['parse'](_0x181da5):_0x181da5;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'comments':this['_comments']?.['map'](_0xa8c1a3=>JSON['stringify'](_0xa8c1a3)),'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'](_0x197d58){return new GetCommentThreadResponse(_0x197d58['commentThreadId'],_0x197d58['comments']?.['map'](_0x23bffe=>function(_0x55bcde){const _0x4f75ad=JSON['parse'](_0x55bcde);return{..._0x4f75ad,'createdAt':new Date(_0x4f75ad['createdAt'])};}(_0x23bffe)),_0x197d58['commentsV2']?.['map'](CommentDescriptor['fromJSON']),_0x197d58['attributes']?JSON['parse'](_0x197d58['attributes']):_0x197d58['attributes'],_0x197d58['resolvedBy'],_0x197d58['context']?JSON['parse'](_0x197d58['context']):_0x197d58['context'],_0x197d58['createdAt'],_0x197d58['deletedAt'],_0x197d58['resolvedAt'],_0x197d58['unlinkedAt']);}}class GetDocumentThreadsMessage extends _0x23aea3{['documentId'];static ['TYPE']='94';static ['READABLE_TYPE_NAME']='getDocumentThreads';static ['DESCRIPTOR_NAME']='CommentsV2GetDocumentThreadsMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x37aaa6){super(),this['documentId']=_0x37aaa6;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x1a2fc4){return new GetDocumentThreadsMessage(_0x1a2fc4['documentId']);}}class GetDocumentThreadsResponse extends _0x23aea3{['_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(_0x4ba545,_0x3b6556){super(),this['_threads']=_0x4ba545,this['_threadsV2']=_0x3b6556,this['threads']=_0x3b6556?.['length']?_0x3b6556:_0x4ba545;}['toJSON'](){return{'threads':this['_threads']?.['map'](_0x235d92=>JSON['stringify'](_0x235d92)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](_0x57651){return new GetDocumentThreadsResponse(_0x57651['threads']?.['map'](_0x2a5a79=>function(_0x2a3cfd){const _0x1e0732=JSON['parse'](_0x2a3cfd),_0xcd9d02={..._0x1e0732};return _0x1e0732['comments']&&(_0xcd9d02['comments']=_0x1e0732['comments']?.['map'](_0x35134e=>({..._0x35134e,'createdAt':new Date(_0x35134e['createdAt'])}))),_0xcd9d02;}(_0x2a5a79)),_0x57651['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'](_0x4509fa){return{'commentId':_0x4509fa['commentId'],'createdAt':_0x4509fa['createdAt']?.['toISOString']()};}static['fromJSON'](_0x40fc57){return{'commentId':_0x40fc57['commentId'],'createdAt':new Date(_0x40fc57['createdAt'])};}}class AddCommentThreadResponse extends _0x23aea3{['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(_0x59e966,_0x3586e5,_0x5bd76b=[]){super(),this['commentThreadId']=_0x59e966,this['comments']=_0x5bd76b,this['createdAt']=new Date(_0x3586e5);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'createdAt':this['createdAt']['toISOString'](),'comments':this['comments']['map'](_0x18299d=>CommentThreadAddedCommentDescriptor['toJSON'](_0x18299d))};}static['fromJSON'](_0x3ca22e){return new AddCommentThreadResponse(_0x3ca22e['commentThreadId'],_0x3ca22e['createdAt'],_0x3ca22e['comments']['map'](_0x114eae=>CommentThreadAddedCommentDescriptor['fromJSON'](_0x114eae)));}}class AddCommentThreadMessage extends _0x23aea3{['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(_0x589490,_0x1ea687,_0x372986=[],_0x3c228d,_0xe7f55a=null,_0x4e9dd2=null,_0x201079=null,_0x535977=null,_0x45cd13=null){super(),this['documentId']=_0x589490,this['commentThreadId']=_0x1ea687,this['comments']=_0x372986,this['context']=_0x3c228d,this['resolvedBy']=_0xe7f55a,this['attributes']=_0x45cd13,this['createdAt']=_0x4e9dd2?new Date(_0x4e9dd2):'',this['resolvedAt']=_0x201079?new Date(_0x201079):'',this['deletedAt']=_0x535977?new Date(_0x535977):'';}['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'](_0x2165a7=>CommentDescriptor['toJSON'](_0x2165a7))};}static['fromJSON'](_0xb47601){return new AddCommentThreadMessage(_0xb47601['documentId'],_0xb47601['commentThreadId'],_0xb47601['comments']?.['map'](_0x68123c=>CommentDescriptor['fromJSON']({..._0x68123c,'documentId':_0xb47601['documentId'],'commentThreadId':_0xb47601['commentThreadId']})),_0xb47601['context']?JSON['parse'](_0xb47601['context']):_0xb47601['context'],_0xb47601['resolvedBy'],_0xb47601['createdAt']?new Date(_0xb47601['createdAt']):void 0x0,_0xb47601['resolvedAt']?new Date(_0xb47601['resolvedAt']):void 0x0,_0xb47601['deletedAt']?new Date(_0xb47601['deletedAt']):void 0x0,_0xb47601['attributes']?JSON['parse'](_0xb47601['attributes']):_0xb47601['attributes']);}}class ResolveCommentThreadMessage extends _0x23aea3{['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(_0x509b43,_0x4e60d3,_0x41a955,_0x25aa94){super(),this['commentThreadId']=_0x509b43,this['documentId']=_0x4e60d3,this['resolvedBy']=_0x41a955,this['resolvedAt']=_0x25aa94?new Date(_0x25aa94):void 0x0;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']?.['toISOString']()};}static['fromJSON'](_0x31f321){return new ResolveCommentThreadMessage(_0x31f321['commentThreadId'],_0x31f321['documentId'],_0x31f321['resolvedBy'],_0x31f321['resolvedAt']);}}class ReopenCommentThreadMessage extends _0x23aea3{['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(_0x10da35,_0x16a4a9){super(),this['commentThreadId']=_0x10da35,this['documentId']=_0x16a4a9;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x5ea346){return new ReopenCommentThreadMessage(_0x5ea346['commentThreadId'],_0x5ea346['documentId']);}}class UpdateCommentThreadMessage extends _0x23aea3{['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(_0x431b86,_0x157e30,_0x5d7d86,_0xc923be=null,_0x3a754f=null){super(),this['commentThreadId']=_0x431b86,this['documentId']=_0x157e30,this['context']=_0x5d7d86,this['attributes']=_0xc923be,this['unlinkedAt']=_0x3a754f?new Date(_0x3a754f):'';}['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'](_0x404852){return new UpdateCommentThreadMessage(_0x404852['commentThreadId'],_0x404852['documentId'],_0x404852['context']?JSON['parse'](_0x404852['context']):_0x404852['context'],_0x404852['attributes']?JSON['parse'](_0x404852['attributes']):null,_0x404852['unlinkedAt']?new Date(_0x404852['unlinkedAt']):null);}}class ResolveCommentThreadResponse extends _0x23aea3{['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(_0x4d2b2c,_0xc6b206,_0x4b142f,_0x45c4cf){super(),this['commentThreadId']=_0x4d2b2c,this['documentId']=_0xc6b206,this['resolvedBy']=_0x4b142f,this['resolvedAt']=new Date(_0x45c4cf);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']['toISOString']()};}static['fromJSON'](_0x379856){return new ResolveCommentThreadResponse(_0x379856['commentThreadId'],_0x379856['documentId'],_0x379856['resolvedBy'],_0x379856['resolvedAt']);}}class CommentsService extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];['_connectedSessions'];static ['_SERVICE']=0x9;constructor(_0x1ce090){super(),this['_documentId']=_0x1ce090;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0x25e277){if(this['_isConnected'])return;if(_0x25e277['state']!==_0x47fce7['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x25e277);const _0x3c6152=new ConnectMessage(this['_documentId']);this['_wsGateway']=_0x25e277,this['stopListening'](_0x25e277,'change:state');const _0x122a2a=await _0x25e277['_sendRequest'](0x9,ConnectMessage['TYPE'],_0x47c85a['encode'](_0x3c6152)),{channel:_0x55da01,threads:_0x425a6e}=_0x47c85a['decode'](_0x122a2a,ConnectResponse);return this['listenTo'](_0x25e277,'change:state',(_0x11a789,_0x452048,_0x444239)=>this['_onWsGatewayStateChange'](_0x444239),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x25e277,_0x55da01),this['_isConnected']=!0x0,this['fire']('connected'),_0x425a6e;}['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'](_0x5cce9b,_0x3bc335,_0x49bb0b,_0x2329ac){const _0x3da6e5=new AddCommentMessage(this['_documentId'],_0x5cce9b,_0x49bb0b,_0x3bc335,void 0x0,void 0x0,_0x2329ac),_0x501a62=await this['_sendRequest'](AddCommentMessage['TYPE'],_0x3da6e5);return _0x47c85a['decode'](_0x501a62,AddCommentResponse);}async['updateComment'](_0x4b9464,_0x2266cb,_0x3f9566,_0x1f17f6){const _0x330e39=void 0x0!==_0x1f17f6,_0x509006=new UpdateCommentMessage(this['_documentId'],_0x4b9464,_0x2266cb,_0x3f9566,_0x1f17f6,_0x330e39);await this['_sendRequest'](UpdateCommentMessage['TYPE'],_0x509006);}async['removeComment'](_0x251dc4,_0x32d6c9){const _0xc3530=new RemoveCommentMessage(this['_documentId'],_0x251dc4,_0x32d6c9);await this['_sendRequest'](RemoveCommentMessage['TYPE'],_0xc3530);}async['removeCommentThread'](_0x5aaca6){const _0x1ba9fa=new RemoveCommentThreadMessage(this['_documentId'],_0x5aaca6);await this['_sendRequest'](RemoveCommentThreadMessage['TYPE'],_0x1ba9fa);}async['addCommentThread'](_0x5708d2){const _0x41d773=new AddCommentThreadMessage(this['_documentId'],_0x5708d2['commentThreadId'],_0x5708d2['comments']?.['map'](_0x41e2cf=>({..._0x41e2cf,'documentId':this['_documentId'],'commentThreadId':_0x5708d2['commentThreadId']})),_0x5708d2['context'],_0x5708d2['resolvedBy'],_0x5708d2['createdAt'],_0x5708d2['resolvedAt'],_0x5708d2['deletedAt'],_0x5708d2['attributes']),_0x32035c=await this['_sendRequest'](AddCommentThreadMessage['TYPE'],_0x41d773);return _0x47c85a['decode'](_0x32035c,AddCommentThreadResponse);}async['resolveCommentThread'](_0x1a5cd9){const _0x19c98b=new ResolveCommentThreadMessage(_0x1a5cd9,this['_documentId']),_0x390f08=await this['_sendRequest'](ResolveCommentThreadMessage['TYPE'],_0x19c98b);return _0x47c85a['decode'](_0x390f08,ResolveCommentThreadResponse);}async['reopenCommentThread'](_0x534311){const _0x5c7d0a=new ReopenCommentThreadMessage(_0x534311,this['_documentId']);await this['_sendRequest'](ReopenCommentThreadMessage['TYPE'],_0x5c7d0a);}async['updateCommentThread'](_0xe96de0){const _0x532d0b=new UpdateCommentThreadMessage(_0xe96de0['commentThreadId'],this['_documentId'],_0xe96de0['context'],_0xe96de0['attributes'],_0xe96de0['unlinkedAt']);await this['_sendRequest'](UpdateCommentThreadMessage['TYPE'],_0x532d0b);}async['getCommentThread'](_0x506504,_0x36b348=0x1){const _0x1708cf=new GetCommentThreadMessage(_0x506504,this['_documentId']);try{const _0xecd996=await this['_sendRequest'](GetCommentThreadMessage['TYPE'],_0x1708cf),_0x4bf3ce=_0x47c85a['decode'](_0xecd996,GetCommentThreadResponse);return{'commentThreadId':_0x4bf3ce['commentThreadId'],'comments':_0x4bf3ce['comments'],'attributes':_0x4bf3ce['attributes'],'context':_0x4bf3ce['context'],'resolvedAt':_0x4bf3ce['resolvedAt'],'resolvedBy':_0x4bf3ce['resolvedBy'],'deletedAt':_0x4bf3ce['deletedAt'],'unlinkedAt':_0x4bf3ce['unlinkedAt']};}catch(_0x37c3e3){if('CKEditorCloudServicesServerError'===_0x37c3e3['name']&&'404'===_0x37c3e3['code']&&_0x36b348<0x5)return await(_0x1a54a9=0x64*_0x36b348,new Promise(_0x45367d=>{setTimeout(_0x45367d,_0x1a54a9);})),this['getCommentThread'](_0x506504,_0x36b348+0x1);if('CKEditorCloudServicesServerError'===_0x37c3e3['name'])throw _0x37c3e3;throw CKEditorCloudServicesServerError['fromPublicError'](_0x37c3e3);}var _0x1a54a9;}async['getDocumentThreads'](){const _0x59ad08=new GetDocumentThreadsMessage(this['_documentId']),_0x25d177=await this['_sendRequest'](GetDocumentThreadsMessage['TYPE'],_0x59ad08),{threads:_0x4bba07}=_0x47c85a['decode'](_0x25d177,GetDocumentThreadsResponse);return{'threads':_0x4bba07};}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_connectedSessions']||(this['_connectedSessions']=await _0x4cf9ab['getConnectedSessions'](this['_wsGateway'],this['_documentId'],0x9)),this['_connectedSessions'];}['_connectToChannel'](_0x30e536,_0x702062){this['_channel']=_0x30e536['_getChannel'](CommentsService['_SERVICE'],_0x702062),this['_channel']&&(this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentMessage['TYPE']),(_0x3fa0fe,_0x546459)=>{const _0x583113=_0x47c85a['decode'](_0x546459,AddCommentMessage);this['fire']('commentAdded',_0x583113);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentMessage['TYPE']),(_0x7c9680,_0x49424d)=>{const _0x6f60a1=_0x47c85a['decode'](_0x49424d,RemoveCommentMessage);this['fire']('commentRemoved',_0x6f60a1);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentMessage['TYPE']),(_0x377a10,_0x179be0)=>{const _0x3f6a10=_0x47c85a['decode'](_0x179be0,UpdateCommentMessage);this['fire']('commentUpdated',_0x3f6a10);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentThreadMessage['TYPE']),(_0x5c4984,_0x39e2a4)=>{const _0x5806f0=_0x47c85a['decode'](_0x39e2a4,RemoveCommentThreadMessage);this['fire']('commentThreadRemoved',_0x5806f0);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentThreadMessage['TYPE']),(_0x243d7f,_0x4118d1)=>{const _0x56690c=_0x47c85a['decode'](_0x4118d1,AddCommentThreadMessage);this['fire']('commentThreadAdded',_0x56690c);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentThreadMessage['TYPE']),(_0x47be61,_0x320da9)=>{const _0x309ccf=_0x47c85a['decode'](_0x320da9,UpdateCommentThreadMessage);this['fire']('commentThreadUpdated',_0x309ccf);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ResolveCommentThreadMessage['TYPE']),(_0x2d582c,_0x5e8b9a)=>{const _0x526867=_0x47c85a['decode'](_0x5e8b9a,ResolveCommentThreadMessage);this['fire']('commentThreadResolved',_0x526867);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ReopenCommentThreadMessage['TYPE']),(_0x29c095,_0x381a32)=>{const _0x20d8cc=_0x47c85a['decode'](_0x381a32,ReopenCommentThreadMessage);this['fire']('commentThreadReopened',_0x20d8cc);}));}['_onWsGatewayStateChange'](_0x332995){_0x332995===_0x47fce7['DISCONNECTED']&&this['disconnect']();}['_sendRequest'](_0x2f239f,_0x488d8d){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_wsGateway']['_sendRequest'](0x9,_0x2f239f,_0x47c85a['encode'](_0x488d8d));}}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(_0x19475f){super(_0x19475f),this['set']('state',_0x47fce7['CONNECTED']),this['set']('_isBrowserOffline',!0x1),this['_reconnectionStack']=new Set(),this['_shouldPluginsReconnect']=!0x1,this['_domEmitter']=new(ckeditor5['DomEmitterMixin']())();}['init'](){const _0x497387=this['context'],_0x56e39c=_0x497387['plugins']['get']('CloudServices'),_0x164be7=_0x497387['plugins']['get'](ckeditor5['Notification']);if(!_0x56e39c['token'])throw new ckeditor5['CKEditorError']('websocketgateway-missing-token',this);if(!_0x56e39c['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'](_0x56e39c['token'],_0x56e39c['webSocketUrl'],{'timeout':0x3e8*this['context']['config']['get']('cloudServices.connectionTimeout'),'requestTimeout':0x3e8*this['context']['config']['get']('cloudServices.requestTimeout')})['then'](_0xb62b87=>{if(this['connection']=_0xb62b87,this['bind']('state')['to'](_0xb62b87,'state',this,'_isBrowserOffline',(_0x5e539b,_0x386543)=>('connected'!==_0x5e539b&&(this['_shouldPluginsReconnect']=!0x0),_0x386543||_0x5e539b!==_0x47fce7['CONNECTED']?_0x47fce7['DISCONNECTED']:this['state']==_0x47fce7['DISCONNECTED']&&this['_shouldPluginsReconnect']?(this['_shouldPluginsReconnect']=!0x1,this['_reconnect'](),_0x47fce7['CONNECTING']):_0x47fce7['CONNECTED'])),this['connection']['on']('error',(_0x179eeb,_0x25f469)=>{if('limitExceeded'!==_0x25f469['code'])throw console['error'](_0x25f469),new ckeditor5['CKEditorError']('cloudservices-init',null,{'originalError':_0x25f469});_0x164be7['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'});}),!_0xb62b87['me'])return new Promise(_0x11ddef=>_0xb62b87['on']('change:me',_0x11ddef));})['catch'](_0x5c2326=>{throw console['error'](_0x5c2326),new ckeditor5['CKEditorError']('cloudservices-init',null,{'originalError':_0x5c2326});});}['addToReconnectionStack'](_0x3e121d){if('function'!=typeof _0x3e121d['reconnect'])throw new ckeditor5['CKEditorError']('websocketgateway-invalid-plugin-interface',this);if(this['isInReconnectionStack'](_0x3e121d))throw new ckeditor5['CKEditorError']('websocketgateway-plugin-already-registered',this,{'name':_0x3e121d['constructor']['pluginName']});this['_reconnectionStack']['add'](_0x3e121d);}['removeFromReconnectionStack'](_0x1b89d6){this['_reconnectionStack']['delete'](_0x1b89d6);}['isInReconnectionStack'](_0x211977){return this['_reconnectionStack']['has'](_0x211977);}['_reconnect'](){return this['connection']['reconnect']()['then'](()=>Promise['all'](Array['from'](this['_reconnectionStack'],_0x2db026=>_0x2db026['reconnect']())))['then'](()=>this['state']=_0x47fce7['CONNECTED'])['catch'](_0x32a42c=>{throw console['error'](_0x32a42c),new ckeditor5['CKEditorError']('cloudservices-reconnection-error',this['context']);});}['disconnect'](){this['connection']&&this['connection']['disconnect'](),this['state']=_0x47fce7['DISCONNECTED'],this['_domEmitter']['stopListening']();}['destroy'](){this['disconnect'](),super['destroy']();}}class _0x396361 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,_0x5e54fb];}constructor(_0x3e7e54){super(_0x3e7e54),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'](_0x5e54fb);}['init'](){const _0x3261a8=this['context']['plugins']['get'](WebSocketGateway);this['listenTo'](_0x3261a8,'change:state',(_0x58b903,_0x4d5efd,_0x34467e)=>{if('connected'!==_0x34467e)this['channelSessions']['forEach'](_0x3040f0=>_0x3040f0['clear']()),this['channelConnectedUsers']['forEach'](_0x3bafd7=>_0x3bafd7['clear']()),this['allConnectedUsers']['clear']();else{for(const [_0x322d04,_0x50c97e]of this['_registeredSessions'])for(const _0x39d651 of _0x50c97e)this['_handleSessionAdd'](_0x322d04,_0x39d651);}}),this['_createUser'](_0x3261a8['connection']['me'],!0x0);}['register'](_0x331559,_0x5cf77a){if(this['_registeredSessions']['has'](_0x331559))throw new ckeditor5['CKEditorError']('sessions-register-already-registered',null,{'channelId':_0x331559});this['_registeredSessions']['set'](_0x331559,_0x5cf77a),this['channelSessions']['set'](_0x331559,new ckeditor5['Collection']()),this['channelConnectedUsers']['set'](_0x331559,new ckeditor5['Collection']()),this['listenTo'](_0x5cf77a,'add',(_0x367960,_0x11fb8b)=>this['_handleSessionAdd'](_0x331559,_0x11fb8b)),this['listenTo'](_0x5cf77a,'remove',(_0x462e41,_0x2578c5)=>this['_handleSessionRemove'](_0x331559,_0x2578c5));for(const _0x2a6851 of _0x5cf77a)this['_handleSessionAdd'](_0x331559,_0x2a6851);}['unregister'](_0x4ce595){if(!this['_registeredSessions']['has'](_0x4ce595))throw new ckeditor5['CKEditorError']('sessions-unregister-not-exist',null,{'channelId':_0x4ce595});const _0x5ea889=this['_registeredSessions']['get'](_0x4ce595);this['stopListening'](_0x5ea889);for(const _0x57524f of _0x5ea889)'connected'===this['context']['plugins']['get'](WebSocketGateway)['state']&&this['_handleSessionRemove'](_0x4ce595,_0x57524f);this['_registeredSessions']['delete'](_0x4ce595),this['channelSessions']['delete'](_0x4ce595),this['channelConnectedUsers']['delete'](_0x4ce595);}get['mySessionId'](){return this['context']['plugins']['get'](WebSocketGateway)['connection']['sessionId'];}['getUserBySessionId'](_0x169806){for(const _0x593e4c of this['channelSessions']['values']())for(const _0x234880 of _0x593e4c)if(_0x234880['id']===_0x169806)return _0x234880['user'];}['getUserSessions'](_0x291aa8,_0x48f0dd){const _0x47e6e4=_0x48f0dd?[this['channelSessions']['get'](_0x48f0dd)]:this['channelSessions']['values'](),_0x2f309e=new Set();for(const _0x3f1042 of _0x47e6e4)for(const _0x23e788 of _0x3f1042)_0x23e788['user']['id']===_0x291aa8['id']&&_0x2f309e['add'](_0x23e788['id']);return _0x2f309e;}['getUserRole'](_0x448fed){for(const _0x43c48d of this['channelSessions']['values']())for(const _0x3393be of _0x43c48d)if(_0x3393be['user']===_0x448fed)return _0x3393be['role'];}['_handleSessionAdd'](_0x4856af,_0x39ee25){if('connected'!==this['context']['plugins']['get'](WebSocketGateway)['state'])return;const _0x3e6c14=_0x39ee25['user'],_0x243481=this['_users']['getUser'](_0x3e6c14['id'])||this['_createUser'](_0x3e6c14),_0x20908e=Object['assign']({},_0x39ee25,{'user':_0x243481});if(this['channelSessions']['get'](_0x4856af)['add'](_0x20908e),!_0x3e6c14['hiddenInPresenceList']){const _0x251dbd=this['channelConnectedUsers']['get'](_0x4856af);_0x251dbd['has'](_0x243481['id'])||_0x251dbd['add'](_0x243481),this['allConnectedUsers']['has'](_0x243481['id'])||_0x3e6c14['hiddenInPresenceList']||this['allConnectedUsers']['add'](_0x243481,_0x243481['isMe']?0x0:void 0x0);}this['fire']('sessionAdd:'+_0x4856af,{'channelId':_0x4856af,'session':_0x20908e});}['_handleSessionRemove'](_0x359c59,_0x12a40a){if('connected'!==this['context']['plugins']['get'](WebSocketGateway)['state'])return;const _0x1e92da=this['channelConnectedUsers']['get'](_0x359c59),_0x359165=_0x12a40a['user'];_0x359165['id']&&(this['channelSessions']['get'](_0x359c59)['remove'](_0x12a40a['id']),_0x1e92da['has'](_0x359165['id'])&&!this['getUserSessions'](_0x359165,_0x359c59)['size']&&_0x1e92da['remove'](_0x359165['id']),this['allConnectedUsers']['get'](_0x359165['id'])&&!this['getUserSessions'](_0x359165)['size']&&this['allConnectedUsers']['remove'](_0x359165['id']));}['_createUser'](_0x17e802,_0x48ca5b){const _0x247f39=this['_users']['addUser'](_0x17e802);return _0x48ca5b&&this['_users']['defineMe'](_0x17e802['id']),_0x247f39['orderNumber']=this['_uniqueUsersCount']++,_0x247f39;}}class _0x5b18a2 extends ckeditor5['Plugin']{['_domEmitter']=new(ckeditor5['DomEmitterMixin']())();static get['requires'](){return[_0x396361];}static get['pluginName'](){return'UserMarkers';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x545f4f=this['editor'],_0x4b9dbf=_0x545f4f['plugins']['get'](_0x396361);_0x545f4f['conversion']['for']('editingDowncast')['markerToElement']({'model':'user:position','view':(_0x3ee4da,{writer:_0x3cb47f})=>createUserPositionViewElement(_0x3ee4da,_0x3cb47f,_0x4b9dbf,_0x545f4f)}),_0x545f4f['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'user:range','view':_0xb6b44d=>createUserRangeViewElement(_0xb6b44d,_0x4b9dbf)}),createUserMarkerPostFixer(_0x545f4f),this['_domEmitter']['listenTo'](ckeditor5['global']['document'],'keydown',(_0x3c0a2f,{key:_0x971869})=>{'Escape'===_0x971869&&hideHoveredUserPositionMarkersTooltips(_0x545f4f);},{'useCapture':!0x0});}['afterInit'](){const _0x49a842=this['editor'],_0x14067c=_0x49a842['commands']['get']('undo');_0x14067c&&_0x49a842['model']['on']('applyOperation',(_0x17e71a,_0x3dad70)=>{const _0x2153b5=_0x3dad70[0x0];if(!_0x2153b5['isDocumentOperation'])return;if('marker'!=_0x2153b5['type']||!_0x2153b5['name']['startsWith']('user:'))return;const _0x11d206=_0x2153b5['batch'];_0x14067c['_createdBatches']['has'](_0x11d206)&&(_0x2153b5['newRange']=_0x2153b5['oldRange']?_0x49a842['model']['createRange'](_0x2153b5['oldRange']['start'],_0x2153b5['oldRange']['end']):null);},{'priority':'highest'});}['destroy'](){return this['_domEmitter']['stopListening'](),super['destroy']();}['createUserMarkerOperations'](){const _0x74a85c=this['editor'],_0x307672=_0x74a85c['model']['document'],_0x17e7c7=_0x74a85c['plugins']['get'](_0x396361);_0x74a85c['model']['enqueueChange']({'isUndoable':!0x1},_0x16d390=>{const _0x204340='user:range:'+_0x17e7c7['mySessionId'],_0x51e3cf='user:position:'+_0x17e7c7['mySessionId'],_0x3d0f0d=_0x74a85c['model']['markers']['has'](_0x204340);_0x74a85c['editing']['view']['hasDomSelection']?updateUserMarkers(_0x17e7c7['mySessionId'],_0x307672['selection']['getFirstRange'](),_0x74a85c['model'],_0x16d390):_0x3d0f0d&&(_0x16d390['removeMarker'](_0x204340),_0x16d390['removeMarker'](_0x51e3cf));});}}function updateUserMarkers(_0x5bccdc,_0x538885,_0x5855f3,_0x524de7){const _0x507696='user:range:'+_0x5bccdc,_0xa790f9='user:position:'+_0x5bccdc,_0x504480=_0x538885['getContainedElement']();let _0x24eee0=_0x538885['start'];if(_0x504480&&_0x504480['is']('element','tableCell')){const _0x167899=getPositionForText(_0x538885,_0x5855f3);_0x167899&&(_0x24eee0=_0x167899,_0x538885=_0x524de7['createRange'](_0x24eee0));}const _0x2ab52f=_0x524de7['createRange'](_0x24eee0);_0x5855f3['markers']['has'](_0x507696)?(_0x524de7['updateMarker'](_0x507696,{'range':_0x538885}),_0x524de7['updateMarker'](_0xa790f9,{'range':_0x2ab52f})):(_0x524de7['addMarker'](_0x507696,{'range':_0x538885,'usingOperation':!0x0}),_0x524de7['addMarker'](_0xa790f9,{'range':_0x2ab52f,'usingOperation':!0x0}));}function getPositionForText(_0x103689,_0x4145f4){for(const _0x219a8d of _0x103689['getPositions']())if(_0x4145f4['schema']['checkChild'](_0x219a8d,'$text'))return _0x219a8d;}function createUserPositionViewElement(_0x21f4a9,_0x1c4881,_0x4f988d,_0x31a9f0){const _0x2add24=_0x21f4a9['markerName']['split'](':')[0x2],_0x1c8626=_0x4f988d['getUserBySessionId'](_0x2add24);if(!_0x1c8626||_0x2add24===_0x4f988d['mySessionId'])return;if(!_0x31a9f0['model']['schema']['checkChild'](_0x21f4a9['markerRange']['start'],'$text'))return;const _0xdcbf16={'class':'ck-user__marker\x20'+_0x1c8626['color']['getMarkerClass'](),'data-name':_0x1c8626['name'],'data-session-id':_0x2add24},_0xe87c4=_0x31a9f0['model']['markers']['get'](_0x21f4a9['markerName'])['getStart'](),_0x515dad=_0xe87c4['nodeAfter'],_0x23035c=_0x31a9f0['model']['schema'];if(_0x515dad&&_0x23035c['isObject'](_0x515dad)&&_0x23035c['isInline'](_0x515dad)&&!_0x31a9f0['model']['markers']['get']('user:range:'+_0x2add24)['getRange']()['isCollapsed'])return;const _0x557ffe=_0xe87c4['parent'];return _0x31a9f0['model']['schema']['isLimit'](_0x557ffe)&&!_0x31a9f0['model']['hasContent'](_0x557ffe)&&(_0xdcbf16['contenteditable']=!0x1),createUserPositionMarkerElement(_0x1c4881,_0xdcbf16,_0x1c8626);}function createUserRangeViewElement(_0xe6a630,_0x2d9e97){const _0x90ad33=_0xe6a630['markerName']['split'](':')[0x2];if(_0x90ad33===_0x2d9e97['mySessionId'])return null;const _0x1dbdd3=_0x2d9e97['getUserBySessionId'](_0x90ad33);return _0x1dbdd3?{'id':_0x90ad33,'classes':['ck-user__selection',_0x1dbdd3['color']['getSelectionClass']()],'attributes':{'data-session-id':_0x90ad33},'priority':0x7d0+_0x1dbdd3['orderNumber']}:{'id':_0x90ad33,'classes':[]};}function createUserPositionMarkerElement(_0xd675c7,_0x17405b,_0x1906d5){const _0x47891a=_0xd675c7['createUIElement']('span',_0x17405b);return _0xd675c7['setCustomProperty']('userPositionMarker',!0x0,_0x47891a),_0x47891a['render']=function(_0x163d50){const _0x546716=this['toDomElement'](_0x163d50),_0x49e240=document['createElement']('span');return _0x49e240['classList']['add']('ck-user__marker-tooltip'),_0x49e240['setAttribute']('contenteditable','false'),_0x49e240['setAttribute']('spellcheck','false'),_0x49e240['textContent']=_0x1906d5['name'],_0x546716['innerHTML']='⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>'+_0x49e240['outerHTML']+'⁠',_0x546716['addEventListener']('mouseenter',()=>{_0x546716['classList']['add']('ck-user__marker_hovered');}),_0x546716['addEventListener']('mouseleave',()=>{_0x546716['classList']['remove']('ck-user__marker_hovered');}),_0x546716;},_0x47891a['isSimilar']=function(_0x40cf13){return!(!this['getCustomProperty']('userPositionMarker')||!_0x40cf13['getCustomProperty']('userPositionMarker')||this['getAttribute']('data-session-id')!=_0x40cf13['getAttribute']('data-session-id'));},_0x47891a;}function hideHoveredUserPositionMarkersTooltips(_0x8bf6cd){_0x8bf6cd['editing']['view']['change'](_0x51d281=>{for(const _0x210c61 of _0x8bf6cd['model']['markers']){if(!_0x210c61['name']['startsWith']('user:position'))continue;const _0x110296=_0x8bf6cd['editing']['mapper']['markerNameToElements'](_0x210c61['name']);if(_0x110296){for(const _0x5c5ca1 of _0x110296)_0x51d281['removeClass']('ck-user__marker_hovered',_0x5c5ca1);}}});}function createUserMarkerPostFixer(_0x484e23){const _0x5af14e=_0x484e23['model'],_0x4b68d8=new Map(),_0x430abe=_0x484e23['plugins']['get'](_0x396361);_0x5af14e['markers']['on']('update:user:range',(_0x54d8d2,_0x1d2e2a,_0x1e5543,_0x548687)=>{if(!_0x548687&&_0x4b68d8['get'](_0x1d2e2a['name']))return _0x4b68d8['get'](_0x1d2e2a['name'])['detach'](),void _0x4b68d8['delete'](_0x1d2e2a['name']);const _0x30a0f4=_0x1d2e2a['name']['split'](':')[0x2];if(_0x30a0f4===_0x430abe['mySessionId'])return;const _0x4f7f1d='user:position:'+_0x30a0f4;_0x5af14e['markers']['has'](_0x4f7f1d)&&_0x484e23['editing']['reconvertMarker'](_0x4f7f1d),_0x1d2e2a['on']('change:range',(_0x4fb8af,_0x1637b0,_0x4a506c)=>{if('$graveyard'!=_0x1637b0['root']['rootName']&&'$graveyard'==_0x1d2e2a['getRange']()['root']['rootName']&&!_0x4b68d8['has'](_0x1d2e2a['name'])){const _0x163881=_0x5af14e['schema']['getNearestSelectionRange'](_0x4a506c['deletionPosition']);if(_0x163881){const _0x515bd8=ckeditor5['ModelLiveRange']['fromRange'](_0x163881);_0x4b68d8['set'](_0x1d2e2a['name'],_0x515bd8),_0x515bd8['on']('change:range',(_0x560ea1,_0x4a20aa,_0x27dad5)=>{if('$graveyard'==_0x515bd8['root']['rootName']){const _0x24b8c9=_0x5af14e['schema']['getNearestSelectionRange'](_0x27dad5['deletionPosition']);_0x24b8c9?(_0x515bd8['start']=_0x24b8c9['start'],_0x515bd8['end']=_0x24b8c9['end']):(_0x4b68d8['delete'](_0x1d2e2a['name']),_0x515bd8['detach']());}});}}});}),_0x5af14e['document']['on']('change',()=>{_0x4b68d8['size']>0x0&&_0x5af14e['enqueueChange']({'isUndoable':!0x1},_0x5f0acf=>{for(const [_0x1bdd06,_0x21caac]of _0x4b68d8)'$graveyard'==_0x5af14e['markers']['get'](_0x1bdd06)['getRange']()['root']['rootName']&&(updateUserMarkers(_0x1bdd06['split'](':')[0x2],_0x21caac['toRange'](),_0x5af14e,_0x5f0acf),_0x21caac['detach']());_0x4b68d8['clear']();});});}function getTranslation$6(_0x28df82,_0x434e22,_0x35b3de){const _0x17a5e6=_0x28df82['t'],t=_0x28df82['t'];switch(_0x434e22){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 _0x17a5e6({'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'},_0x35b3de);default:return'';}}const _0x5a821a=/* #__PURE__ -- @preserve */
((()=>{var _0x2b7880=minimalExports['Reader'],_0xbf7e62=minimalExports['Writer'],_0x5d88d0=minimalExports['util'],_0x19b6d8=minimalExports['roots']['default']||(minimalExports['roots']['default']={});return _0x19b6d8['AttributeOperation']=(function(){function _0x177c86(_0x5f0579){if(_0x5f0579){for(var _0x3b1426=Object['keys'](_0x5f0579),_0x31e22e=0x0;_0x31e22e<_0x3b1426['length'];++_0x31e22e)null!=_0x5f0579[_0x3b1426[_0x31e22e]]&&(this[_0x3b1426[_0x31e22e]]=_0x5f0579[_0x3b1426[_0x31e22e]]);}}return _0x177c86['prototype']['range']=null,_0x177c86['prototype']['key']='',_0x177c86['prototype']['oldValueBoolean']=!0x1,_0x177c86['prototype']['oldValueJson']='',_0x177c86['prototype']['newValueBoolean']=!0x1,_0x177c86['prototype']['newValueJson']='',_0x177c86['prototype']['wasUndone']=!0x1,_0x177c86['create']=function(_0x16f3a3){return new _0x177c86(_0x16f3a3);},_0x177c86['encode']=function(_0x28745b,_0x547b33){return _0x547b33||(_0x547b33=_0xbf7e62['create']()),null!=_0x28745b['range']&&Object['hasOwnProperty']['call'](_0x28745b,'range')&&_0x19b6d8['Range']['encode'](_0x28745b['range'],_0x547b33['uint32'](0xa)['fork']())['ldelim'](),null!=_0x28745b['key']&&Object['hasOwnProperty']['call'](_0x28745b,'key')&&_0x547b33['uint32'](0x12)['string'](_0x28745b['key']),null!=_0x28745b['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x28745b,'oldValueBoolean')&&_0x547b33['uint32'](0x18)['bool'](_0x28745b['oldValueBoolean']),null!=_0x28745b['oldValueJson']&&Object['hasOwnProperty']['call'](_0x28745b,'oldValueJson')&&_0x547b33['uint32'](0x22)['string'](_0x28745b['oldValueJson']),null!=_0x28745b['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x28745b,'newValueBoolean')&&_0x547b33['uint32'](0x28)['bool'](_0x28745b['newValueBoolean']),null!=_0x28745b['newValueJson']&&Object['hasOwnProperty']['call'](_0x28745b,'newValueJson')&&_0x547b33['uint32'](0x32)['string'](_0x28745b['newValueJson']),null!=_0x28745b['wasUndone']&&Object['hasOwnProperty']['call'](_0x28745b,'wasUndone')&&_0x547b33['uint32'](0x38)['bool'](_0x28745b['wasUndone']),_0x547b33;},_0x177c86['encodeDelimited']=function(_0x4cb176,_0xa3fafd){return this['encode'](_0x4cb176,_0xa3fafd)['ldelim']();},_0x177c86['decode']=function(_0x52095d,_0x5436be){_0x52095d instanceof _0x2b7880||(_0x52095d=_0x2b7880['create'](_0x52095d));for(var _0x124f4c=void 0x0===_0x5436be?_0x52095d['len']:_0x52095d['pos']+_0x5436be,_0x57cf6c=new _0x19b6d8['AttributeOperation']();_0x52095d['pos']<_0x124f4c;){var _0x3ca525=_0x52095d['uint32']();switch(_0x3ca525>>>0x3){case 0x1:_0x57cf6c['range']=_0x19b6d8['Range']['decode'](_0x52095d,_0x52095d['uint32']());break;case 0x2:_0x57cf6c['key']=_0x52095d['string']();break;case 0x3:_0x57cf6c['oldValueBoolean']=_0x52095d['bool']();break;case 0x4:_0x57cf6c['oldValueJson']=_0x52095d['string']();break;case 0x5:_0x57cf6c['newValueBoolean']=_0x52095d['bool']();break;case 0x6:_0x57cf6c['newValueJson']=_0x52095d['string']();break;case 0x7:_0x57cf6c['wasUndone']=_0x52095d['bool']();break;default:_0x52095d['skipType'](0x7&_0x3ca525);}}return _0x57cf6c;},_0x177c86['decodeDelimited']=function(_0x542be0){return _0x542be0 instanceof _0x2b7880||(_0x542be0=new _0x2b7880(_0x542be0)),this['decode'](_0x542be0,_0x542be0['uint32']());},_0x177c86['verify']=function(_0x3c37ae){if('object'!=typeof _0x3c37ae||null===_0x3c37ae)return'object\x20expected';if(null!=_0x3c37ae['range']&&_0x3c37ae['hasOwnProperty']('range')){var _0xd43758=_0x19b6d8['Range']['verify'](_0x3c37ae['range']);if(_0xd43758)return'range.'+_0xd43758;}return null!=_0x3c37ae['key']&&_0x3c37ae['hasOwnProperty']('key')&&!_0x5d88d0['isString'](_0x3c37ae['key'])?'key:\x20string\x20expected':null!=_0x3c37ae['oldValueBoolean']&&_0x3c37ae['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x3c37ae['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x3c37ae['oldValueJson']&&_0x3c37ae['hasOwnProperty']('oldValueJson')&&!_0x5d88d0['isString'](_0x3c37ae['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x3c37ae['newValueBoolean']&&_0x3c37ae['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x3c37ae['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x3c37ae['newValueJson']&&_0x3c37ae['hasOwnProperty']('newValueJson')&&!_0x5d88d0['isString'](_0x3c37ae['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x3c37ae['wasUndone']&&_0x3c37ae['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x3c37ae['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x177c86['fromObject']=function(_0x5f103f){if(_0x5f103f instanceof _0x19b6d8['AttributeOperation'])return _0x5f103f;var _0x29a9b6=new _0x19b6d8['AttributeOperation']();if(null!=_0x5f103f['range']){if('object'!=typeof _0x5f103f['range'])throw TypeError('.AttributeOperation.range:\x20object\x20expected');_0x29a9b6['range']=_0x19b6d8['Range']['fromObject'](_0x5f103f['range']);}return null!=_0x5f103f['key']&&(_0x29a9b6['key']=String(_0x5f103f['key'])),null!=_0x5f103f['oldValueBoolean']&&(_0x29a9b6['oldValueBoolean']=Boolean(_0x5f103f['oldValueBoolean'])),null!=_0x5f103f['oldValueJson']&&(_0x29a9b6['oldValueJson']=String(_0x5f103f['oldValueJson'])),null!=_0x5f103f['newValueBoolean']&&(_0x29a9b6['newValueBoolean']=Boolean(_0x5f103f['newValueBoolean'])),null!=_0x5f103f['newValueJson']&&(_0x29a9b6['newValueJson']=String(_0x5f103f['newValueJson'])),null!=_0x5f103f['wasUndone']&&(_0x29a9b6['wasUndone']=Boolean(_0x5f103f['wasUndone'])),_0x29a9b6;},_0x177c86['toObject']=function(_0x4a338c,_0x31cffc){_0x31cffc||(_0x31cffc={});var _0x136018={};return _0x31cffc['defaults']&&(_0x136018['range']=null,_0x136018['key']='',_0x136018['oldValueBoolean']=!0x1,_0x136018['oldValueJson']='',_0x136018['newValueBoolean']=!0x1,_0x136018['newValueJson']='',_0x136018['wasUndone']=!0x1),null!=_0x4a338c['range']&&_0x4a338c['hasOwnProperty']('range')&&(_0x136018['range']=_0x19b6d8['Range']['toObject'](_0x4a338c['range'],_0x31cffc)),null!=_0x4a338c['key']&&_0x4a338c['hasOwnProperty']('key')&&(_0x136018['key']=_0x4a338c['key']),null!=_0x4a338c['oldValueBoolean']&&_0x4a338c['hasOwnProperty']('oldValueBoolean')&&(_0x136018['oldValueBoolean']=_0x4a338c['oldValueBoolean']),null!=_0x4a338c['oldValueJson']&&_0x4a338c['hasOwnProperty']('oldValueJson')&&(_0x136018['oldValueJson']=_0x4a338c['oldValueJson']),null!=_0x4a338c['newValueBoolean']&&_0x4a338c['hasOwnProperty']('newValueBoolean')&&(_0x136018['newValueBoolean']=_0x4a338c['newValueBoolean']),null!=_0x4a338c['newValueJson']&&_0x4a338c['hasOwnProperty']('newValueJson')&&(_0x136018['newValueJson']=_0x4a338c['newValueJson']),null!=_0x4a338c['wasUndone']&&_0x4a338c['hasOwnProperty']('wasUndone')&&(_0x136018['wasUndone']=_0x4a338c['wasUndone']),_0x136018;},_0x177c86['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x177c86['getTypeUrl']=function(_0x5dd2ae){return void 0x0===_0x5dd2ae&&(_0x5dd2ae='type.googleapis.com'),_0x5dd2ae+'/AttributeOperation';},_0x177c86;}()),_0x19b6d8['InsertOperation']=(function(){function _0x4f4bae(_0x565de9){if(this['nodes']=[],_0x565de9){for(var _0x1eff41=Object['keys'](_0x565de9),_0x18c889=0x0;_0x18c889<_0x1eff41['length'];++_0x18c889)null!=_0x565de9[_0x1eff41[_0x18c889]]&&(this[_0x1eff41[_0x18c889]]=_0x565de9[_0x1eff41[_0x18c889]]);}}return _0x4f4bae['prototype']['position']=null,_0x4f4bae['prototype']['nodes']=_0x5d88d0['emptyArray'],_0x4f4bae['prototype']['shouldReceiveAttributes']=!0x1,_0x4f4bae['prototype']['wasUndone']=!0x1,_0x4f4bae['create']=function(_0x241025){return new _0x4f4bae(_0x241025);},_0x4f4bae['encode']=function(_0x29b9f5,_0x56cec7){if(_0x56cec7||(_0x56cec7=_0xbf7e62['create']()),null!=_0x29b9f5['position']&&Object['hasOwnProperty']['call'](_0x29b9f5,'position')&&_0x19b6d8['Position']['encode'](_0x29b9f5['position'],_0x56cec7['uint32'](0xa)['fork']())['ldelim'](),null!=_0x29b9f5['nodes']&&_0x29b9f5['nodes']['length']){for(var _0x4048d8=0x0;_0x4048d8<_0x29b9f5['nodes']['length'];++_0x4048d8)_0x19b6d8['Element']['encode'](_0x29b9f5['nodes'][_0x4048d8],_0x56cec7['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x29b9f5['shouldReceiveAttributes']&&Object['hasOwnProperty']['call'](_0x29b9f5,'shouldReceiveAttributes')&&_0x56cec7['uint32'](0x18)['bool'](_0x29b9f5['shouldReceiveAttributes']),null!=_0x29b9f5['wasUndone']&&Object['hasOwnProperty']['call'](_0x29b9f5,'wasUndone')&&_0x56cec7['uint32'](0x20)['bool'](_0x29b9f5['wasUndone']),_0x56cec7;},_0x4f4bae['encodeDelimited']=function(_0x4edab9,_0x1aab5d){return this['encode'](_0x4edab9,_0x1aab5d)['ldelim']();},_0x4f4bae['decode']=function(_0x4a4839,_0x5a09f2){_0x4a4839 instanceof _0x2b7880||(_0x4a4839=_0x2b7880['create'](_0x4a4839));for(var _0x38724a=void 0x0===_0x5a09f2?_0x4a4839['len']:_0x4a4839['pos']+_0x5a09f2,_0x499945=new _0x19b6d8['InsertOperation']();_0x4a4839['pos']<_0x38724a;){var _0x282bdd=_0x4a4839['uint32']();switch(_0x282bdd>>>0x3){case 0x1:_0x499945['position']=_0x19b6d8['Position']['decode'](_0x4a4839,_0x4a4839['uint32']());break;case 0x2:_0x499945['nodes']&&_0x499945['nodes']['length']||(_0x499945['nodes']=[]),_0x499945['nodes']['push'](_0x19b6d8['Element']['decode'](_0x4a4839,_0x4a4839['uint32']()));break;case 0x3:_0x499945['shouldReceiveAttributes']=_0x4a4839['bool']();break;case 0x4:_0x499945['wasUndone']=_0x4a4839['bool']();break;default:_0x4a4839['skipType'](0x7&_0x282bdd);}}return _0x499945;},_0x4f4bae['decodeDelimited']=function(_0x2ab100){return _0x2ab100 instanceof _0x2b7880||(_0x2ab100=new _0x2b7880(_0x2ab100)),this['decode'](_0x2ab100,_0x2ab100['uint32']());},_0x4f4bae['verify']=function(_0xc0b69e){if('object'!=typeof _0xc0b69e||null===_0xc0b69e)return'object\x20expected';if(null!=_0xc0b69e['position']&&_0xc0b69e['hasOwnProperty']('position')&&(_0x47737b=_0x19b6d8['Position']['verify'](_0xc0b69e['position'])))return'position.'+_0x47737b;if(null!=_0xc0b69e['nodes']&&_0xc0b69e['hasOwnProperty']('nodes')){if(!Array['isArray'](_0xc0b69e['nodes']))return'nodes:\x20array\x20expected';for(var _0x1a9086=0x0;_0x1a9086<_0xc0b69e['nodes']['length'];++_0x1a9086){var _0x47737b;if(_0x47737b=_0x19b6d8['Element']['verify'](_0xc0b69e['nodes'][_0x1a9086]))return'nodes.'+_0x47737b;}}return null!=_0xc0b69e['shouldReceiveAttributes']&&_0xc0b69e['hasOwnProperty']('shouldReceiveAttributes')&&'boolean'!=typeof _0xc0b69e['shouldReceiveAttributes']?'shouldReceiveAttributes:\x20boolean\x20expected':null!=_0xc0b69e['wasUndone']&&_0xc0b69e['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0xc0b69e['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x4f4bae['fromObject']=function(_0x368930){if(_0x368930 instanceof _0x19b6d8['InsertOperation'])return _0x368930;var _0x3558bb=new _0x19b6d8['InsertOperation']();if(null!=_0x368930['position']){if('object'!=typeof _0x368930['position'])throw TypeError('.InsertOperation.position:\x20object\x20expected');_0x3558bb['position']=_0x19b6d8['Position']['fromObject'](_0x368930['position']);}if(_0x368930['nodes']){if(!Array['isArray'](_0x368930['nodes']))throw TypeError('.InsertOperation.nodes:\x20array\x20expected');_0x3558bb['nodes']=[];for(var _0x40f014=0x0;_0x40f014<_0x368930['nodes']['length'];++_0x40f014){if('object'!=typeof _0x368930['nodes'][_0x40f014])throw TypeError('.InsertOperation.nodes:\x20object\x20expected');_0x3558bb['nodes'][_0x40f014]=_0x19b6d8['Element']['fromObject'](_0x368930['nodes'][_0x40f014]);}}return null!=_0x368930['shouldReceiveAttributes']&&(_0x3558bb['shouldReceiveAttributes']=Boolean(_0x368930['shouldReceiveAttributes'])),null!=_0x368930['wasUndone']&&(_0x3558bb['wasUndone']=Boolean(_0x368930['wasUndone'])),_0x3558bb;},_0x4f4bae['toObject']=function(_0x3b47a7,_0x2624ab){_0x2624ab||(_0x2624ab={});var _0x2881ee={};if((_0x2624ab['arrays']||_0x2624ab['defaults'])&&(_0x2881ee['nodes']=[]),_0x2624ab['defaults']&&(_0x2881ee['position']=null,_0x2881ee['shouldReceiveAttributes']=!0x1,_0x2881ee['wasUndone']=!0x1),null!=_0x3b47a7['position']&&_0x3b47a7['hasOwnProperty']('position')&&(_0x2881ee['position']=_0x19b6d8['Position']['toObject'](_0x3b47a7['position'],_0x2624ab)),_0x3b47a7['nodes']&&_0x3b47a7['nodes']['length']){_0x2881ee['nodes']=[];for(var _0x49d447=0x0;_0x49d447<_0x3b47a7['nodes']['length'];++_0x49d447)_0x2881ee['nodes'][_0x49d447]=_0x19b6d8['Element']['toObject'](_0x3b47a7['nodes'][_0x49d447],_0x2624ab);}return null!=_0x3b47a7['shouldReceiveAttributes']&&_0x3b47a7['hasOwnProperty']('shouldReceiveAttributes')&&(_0x2881ee['shouldReceiveAttributes']=_0x3b47a7['shouldReceiveAttributes']),null!=_0x3b47a7['wasUndone']&&_0x3b47a7['hasOwnProperty']('wasUndone')&&(_0x2881ee['wasUndone']=_0x3b47a7['wasUndone']),_0x2881ee;},_0x4f4bae['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4f4bae['getTypeUrl']=function(_0x13fcd9){return void 0x0===_0x13fcd9&&(_0x13fcd9='type.googleapis.com'),_0x13fcd9+'/InsertOperation';},_0x4f4bae;}()),_0x19b6d8['MarkerOperation']=(function(){function _0x4cb4ac(_0x492b38){if(_0x492b38){for(var _0x25b2ce=Object['keys'](_0x492b38),_0x2094d6=0x0;_0x2094d6<_0x25b2ce['length'];++_0x2094d6)null!=_0x492b38[_0x25b2ce[_0x2094d6]]&&(this[_0x25b2ce[_0x2094d6]]=_0x492b38[_0x25b2ce[_0x2094d6]]);}}return _0x4cb4ac['prototype']['name']='',_0x4cb4ac['prototype']['oldRange']=null,_0x4cb4ac['prototype']['newRange']=null,_0x4cb4ac['prototype']['affectsData']=!0x1,_0x4cb4ac['prototype']['wasUndone']=!0x1,_0x4cb4ac['create']=function(_0x2da931){return new _0x4cb4ac(_0x2da931);},_0x4cb4ac['encode']=function(_0x57a379,_0x2d2751){return _0x2d2751||(_0x2d2751=_0xbf7e62['create']()),null!=_0x57a379['name']&&Object['hasOwnProperty']['call'](_0x57a379,'name')&&_0x2d2751['uint32'](0xa)['string'](_0x57a379['name']),null!=_0x57a379['oldRange']&&Object['hasOwnProperty']['call'](_0x57a379,'oldRange')&&_0x19b6d8['Range']['encode'](_0x57a379['oldRange'],_0x2d2751['uint32'](0x12)['fork']())['ldelim'](),null!=_0x57a379['newRange']&&Object['hasOwnProperty']['call'](_0x57a379,'newRange')&&_0x19b6d8['Range']['encode'](_0x57a379['newRange'],_0x2d2751['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x57a379['affectsData']&&Object['hasOwnProperty']['call'](_0x57a379,'affectsData')&&_0x2d2751['uint32'](0x20)['bool'](_0x57a379['affectsData']),null!=_0x57a379['wasUndone']&&Object['hasOwnProperty']['call'](_0x57a379,'wasUndone')&&_0x2d2751['uint32'](0x28)['bool'](_0x57a379['wasUndone']),_0x2d2751;},_0x4cb4ac['encodeDelimited']=function(_0x2fd6e0,_0x3b3eed){return this['encode'](_0x2fd6e0,_0x3b3eed)['ldelim']();},_0x4cb4ac['decode']=function(_0x4f0a85,_0x24395b){_0x4f0a85 instanceof _0x2b7880||(_0x4f0a85=_0x2b7880['create'](_0x4f0a85));for(var _0xab7b72=void 0x0===_0x24395b?_0x4f0a85['len']:_0x4f0a85['pos']+_0x24395b,_0x2c45b7=new _0x19b6d8['MarkerOperation']();_0x4f0a85['pos']<_0xab7b72;){var _0x464307=_0x4f0a85['uint32']();switch(_0x464307>>>0x3){case 0x1:_0x2c45b7['name']=_0x4f0a85['string']();break;case 0x2:_0x2c45b7['oldRange']=_0x19b6d8['Range']['decode'](_0x4f0a85,_0x4f0a85['uint32']());break;case 0x3:_0x2c45b7['newRange']=_0x19b6d8['Range']['decode'](_0x4f0a85,_0x4f0a85['uint32']());break;case 0x4:_0x2c45b7['affectsData']=_0x4f0a85['bool']();break;case 0x5:_0x2c45b7['wasUndone']=_0x4f0a85['bool']();break;default:_0x4f0a85['skipType'](0x7&_0x464307);}}return _0x2c45b7;},_0x4cb4ac['decodeDelimited']=function(_0x4770bc){return _0x4770bc instanceof _0x2b7880||(_0x4770bc=new _0x2b7880(_0x4770bc)),this['decode'](_0x4770bc,_0x4770bc['uint32']());},_0x4cb4ac['verify']=function(_0x11ecd6){if('object'!=typeof _0x11ecd6||null===_0x11ecd6)return'object\x20expected';if(null!=_0x11ecd6['name']&&_0x11ecd6['hasOwnProperty']('name')&&!_0x5d88d0['isString'](_0x11ecd6['name']))return'name:\x20string\x20expected';var _0x27ab47;if(null!=_0x11ecd6['oldRange']&&_0x11ecd6['hasOwnProperty']('oldRange')&&(_0x27ab47=_0x19b6d8['Range']['verify'](_0x11ecd6['oldRange'])))return'oldRange.'+_0x27ab47;if(null!=_0x11ecd6['newRange']&&_0x11ecd6['hasOwnProperty']('newRange')&&(_0x27ab47=_0x19b6d8['Range']['verify'](_0x11ecd6['newRange'])))return'newRange.'+_0x27ab47;return null!=_0x11ecd6['affectsData']&&_0x11ecd6['hasOwnProperty']('affectsData')&&'boolean'!=typeof _0x11ecd6['affectsData']?'affectsData:\x20boolean\x20expected':null!=_0x11ecd6['wasUndone']&&_0x11ecd6['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x11ecd6['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x4cb4ac['fromObject']=function(_0x2ef224){if(_0x2ef224 instanceof _0x19b6d8['MarkerOperation'])return _0x2ef224;var _0x51d25b=new _0x19b6d8['MarkerOperation']();if(null!=_0x2ef224['name']&&(_0x51d25b['name']=String(_0x2ef224['name'])),null!=_0x2ef224['oldRange']){if('object'!=typeof _0x2ef224['oldRange'])throw TypeError('.MarkerOperation.oldRange:\x20object\x20expected');_0x51d25b['oldRange']=_0x19b6d8['Range']['fromObject'](_0x2ef224['oldRange']);}if(null!=_0x2ef224['newRange']){if('object'!=typeof _0x2ef224['newRange'])throw TypeError('.MarkerOperation.newRange:\x20object\x20expected');_0x51d25b['newRange']=_0x19b6d8['Range']['fromObject'](_0x2ef224['newRange']);}return null!=_0x2ef224['affectsData']&&(_0x51d25b['affectsData']=Boolean(_0x2ef224['affectsData'])),null!=_0x2ef224['wasUndone']&&(_0x51d25b['wasUndone']=Boolean(_0x2ef224['wasUndone'])),_0x51d25b;},_0x4cb4ac['toObject']=function(_0x12dcbe,_0x5cd01a){_0x5cd01a||(_0x5cd01a={});var _0x292c3f={};return _0x5cd01a['defaults']&&(_0x292c3f['name']='',_0x292c3f['oldRange']=null,_0x292c3f['newRange']=null,_0x292c3f['affectsData']=!0x1,_0x292c3f['wasUndone']=!0x1),null!=_0x12dcbe['name']&&_0x12dcbe['hasOwnProperty']('name')&&(_0x292c3f['name']=_0x12dcbe['name']),null!=_0x12dcbe['oldRange']&&_0x12dcbe['hasOwnProperty']('oldRange')&&(_0x292c3f['oldRange']=_0x19b6d8['Range']['toObject'](_0x12dcbe['oldRange'],_0x5cd01a)),null!=_0x12dcbe['newRange']&&_0x12dcbe['hasOwnProperty']('newRange')&&(_0x292c3f['newRange']=_0x19b6d8['Range']['toObject'](_0x12dcbe['newRange'],_0x5cd01a)),null!=_0x12dcbe['affectsData']&&_0x12dcbe['hasOwnProperty']('affectsData')&&(_0x292c3f['affectsData']=_0x12dcbe['affectsData']),null!=_0x12dcbe['wasUndone']&&_0x12dcbe['hasOwnProperty']('wasUndone')&&(_0x292c3f['wasUndone']=_0x12dcbe['wasUndone']),_0x292c3f;},_0x4cb4ac['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4cb4ac['getTypeUrl']=function(_0x43285e){return void 0x0===_0x43285e&&(_0x43285e='type.googleapis.com'),_0x43285e+'/MarkerOperation';},_0x4cb4ac;}()),_0x19b6d8['MergeOperation']=(function(){function _0x38fdf5(_0xf1efb3){if(_0xf1efb3){for(var _0x2a31cc=Object['keys'](_0xf1efb3),_0x4f6303=0x0;_0x4f6303<_0x2a31cc['length'];++_0x4f6303)null!=_0xf1efb3[_0x2a31cc[_0x4f6303]]&&(this[_0x2a31cc[_0x4f6303]]=_0xf1efb3[_0x2a31cc[_0x4f6303]]);}}return _0x38fdf5['prototype']['sourcePosition']=null,_0x38fdf5['prototype']['targetPosition']=null,_0x38fdf5['prototype']['graveyardPosition']=null,_0x38fdf5['prototype']['howMany']=0x0,_0x38fdf5['prototype']['wasUndone']=!0x1,_0x38fdf5['create']=function(_0x42228b){return new _0x38fdf5(_0x42228b);},_0x38fdf5['encode']=function(_0x5700e9,_0x215023){return _0x215023||(_0x215023=_0xbf7e62['create']()),null!=_0x5700e9['sourcePosition']&&Object['hasOwnProperty']['call'](_0x5700e9,'sourcePosition')&&_0x19b6d8['Position']['encode'](_0x5700e9['sourcePosition'],_0x215023['uint32'](0xa)['fork']())['ldelim'](),null!=_0x5700e9['targetPosition']&&Object['hasOwnProperty']['call'](_0x5700e9,'targetPosition')&&_0x19b6d8['Position']['encode'](_0x5700e9['targetPosition'],_0x215023['uint32'](0x12)['fork']())['ldelim'](),null!=_0x5700e9['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x5700e9,'graveyardPosition')&&_0x19b6d8['Position']['encode'](_0x5700e9['graveyardPosition'],_0x215023['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x5700e9['howMany']&&Object['hasOwnProperty']['call'](_0x5700e9,'howMany')&&_0x215023['uint32'](0x20)['uint32'](_0x5700e9['howMany']),null!=_0x5700e9['wasUndone']&&Object['hasOwnProperty']['call'](_0x5700e9,'wasUndone')&&_0x215023['uint32'](0x28)['bool'](_0x5700e9['wasUndone']),_0x215023;},_0x38fdf5['encodeDelimited']=function(_0x4323be,_0x48bd2a){return this['encode'](_0x4323be,_0x48bd2a)['ldelim']();},_0x38fdf5['decode']=function(_0xf6cf8f,_0x160776){_0xf6cf8f instanceof _0x2b7880||(_0xf6cf8f=_0x2b7880['create'](_0xf6cf8f));for(var _0x3f219f=void 0x0===_0x160776?_0xf6cf8f['len']:_0xf6cf8f['pos']+_0x160776,_0xc5745f=new _0x19b6d8['MergeOperation']();_0xf6cf8f['pos']<_0x3f219f;){var _0x28832a=_0xf6cf8f['uint32']();switch(_0x28832a>>>0x3){case 0x1:_0xc5745f['sourcePosition']=_0x19b6d8['Position']['decode'](_0xf6cf8f,_0xf6cf8f['uint32']());break;case 0x2:_0xc5745f['targetPosition']=_0x19b6d8['Position']['decode'](_0xf6cf8f,_0xf6cf8f['uint32']());break;case 0x3:_0xc5745f['graveyardPosition']=_0x19b6d8['Position']['decode'](_0xf6cf8f,_0xf6cf8f['uint32']());break;case 0x4:_0xc5745f['howMany']=_0xf6cf8f['uint32']();break;case 0x5:_0xc5745f['wasUndone']=_0xf6cf8f['bool']();break;default:_0xf6cf8f['skipType'](0x7&_0x28832a);}}return _0xc5745f;},_0x38fdf5['decodeDelimited']=function(_0x251c46){return _0x251c46 instanceof _0x2b7880||(_0x251c46=new _0x2b7880(_0x251c46)),this['decode'](_0x251c46,_0x251c46['uint32']());},_0x38fdf5['verify']=function(_0x3c915b){if('object'!=typeof _0x3c915b||null===_0x3c915b)return'object\x20expected';var _0x33d965;if(null!=_0x3c915b['sourcePosition']&&_0x3c915b['hasOwnProperty']('sourcePosition')&&(_0x33d965=_0x19b6d8['Position']['verify'](_0x3c915b['sourcePosition'])))return'sourcePosition.'+_0x33d965;if(null!=_0x3c915b['targetPosition']&&_0x3c915b['hasOwnProperty']('targetPosition')&&(_0x33d965=_0x19b6d8['Position']['verify'](_0x3c915b['targetPosition'])))return'targetPosition.'+_0x33d965;if(null!=_0x3c915b['graveyardPosition']&&_0x3c915b['hasOwnProperty']('graveyardPosition')&&(_0x33d965=_0x19b6d8['Position']['verify'](_0x3c915b['graveyardPosition'])))return'graveyardPosition.'+_0x33d965;return null!=_0x3c915b['howMany']&&_0x3c915b['hasOwnProperty']('howMany')&&!_0x5d88d0['isInteger'](_0x3c915b['howMany'])?'howMany:\x20integer\x20expected':null!=_0x3c915b['wasUndone']&&_0x3c915b['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x3c915b['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x38fdf5['fromObject']=function(_0x14567c){if(_0x14567c instanceof _0x19b6d8['MergeOperation'])return _0x14567c;var _0x2251db=new _0x19b6d8['MergeOperation']();if(null!=_0x14567c['sourcePosition']){if('object'!=typeof _0x14567c['sourcePosition'])throw TypeError('.MergeOperation.sourcePosition:\x20object\x20expected');_0x2251db['sourcePosition']=_0x19b6d8['Position']['fromObject'](_0x14567c['sourcePosition']);}if(null!=_0x14567c['targetPosition']){if('object'!=typeof _0x14567c['targetPosition'])throw TypeError('.MergeOperation.targetPosition:\x20object\x20expected');_0x2251db['targetPosition']=_0x19b6d8['Position']['fromObject'](_0x14567c['targetPosition']);}if(null!=_0x14567c['graveyardPosition']){if('object'!=typeof _0x14567c['graveyardPosition'])throw TypeError('.MergeOperation.graveyardPosition:\x20object\x20expected');_0x2251db['graveyardPosition']=_0x19b6d8['Position']['fromObject'](_0x14567c['graveyardPosition']);}return null!=_0x14567c['howMany']&&(_0x2251db['howMany']=_0x14567c['howMany']>>>0x0),null!=_0x14567c['wasUndone']&&(_0x2251db['wasUndone']=Boolean(_0x14567c['wasUndone'])),_0x2251db;},_0x38fdf5['toObject']=function(_0x27aee9,_0x33f8c3){_0x33f8c3||(_0x33f8c3={});var _0x3e6ad5={};return _0x33f8c3['defaults']&&(_0x3e6ad5['sourcePosition']=null,_0x3e6ad5['targetPosition']=null,_0x3e6ad5['graveyardPosition']=null,_0x3e6ad5['howMany']=0x0,_0x3e6ad5['wasUndone']=!0x1),null!=_0x27aee9['sourcePosition']&&_0x27aee9['hasOwnProperty']('sourcePosition')&&(_0x3e6ad5['sourcePosition']=_0x19b6d8['Position']['toObject'](_0x27aee9['sourcePosition'],_0x33f8c3)),null!=_0x27aee9['targetPosition']&&_0x27aee9['hasOwnProperty']('targetPosition')&&(_0x3e6ad5['targetPosition']=_0x19b6d8['Position']['toObject'](_0x27aee9['targetPosition'],_0x33f8c3)),null!=_0x27aee9['graveyardPosition']&&_0x27aee9['hasOwnProperty']('graveyardPosition')&&(_0x3e6ad5['graveyardPosition']=_0x19b6d8['Position']['toObject'](_0x27aee9['graveyardPosition'],_0x33f8c3)),null!=_0x27aee9['howMany']&&_0x27aee9['hasOwnProperty']('howMany')&&(_0x3e6ad5['howMany']=_0x27aee9['howMany']),null!=_0x27aee9['wasUndone']&&_0x27aee9['hasOwnProperty']('wasUndone')&&(_0x3e6ad5['wasUndone']=_0x27aee9['wasUndone']),_0x3e6ad5;},_0x38fdf5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x38fdf5['getTypeUrl']=function(_0x10b554){return void 0x0===_0x10b554&&(_0x10b554='type.googleapis.com'),_0x10b554+'/MergeOperation';},_0x38fdf5;}()),_0x19b6d8['MoveOperation']=(function(){function _0x14ae93(_0x3c92ab){if(_0x3c92ab){for(var _0x51b5e0=Object['keys'](_0x3c92ab),_0x20c72e=0x0;_0x20c72e<_0x51b5e0['length'];++_0x20c72e)null!=_0x3c92ab[_0x51b5e0[_0x20c72e]]&&(this[_0x51b5e0[_0x20c72e]]=_0x3c92ab[_0x51b5e0[_0x20c72e]]);}}return _0x14ae93['prototype']['sourcePosition']=null,_0x14ae93['prototype']['howMany']=0x0,_0x14ae93['prototype']['targetPosition']=null,_0x14ae93['prototype']['wasUndone']=!0x1,_0x14ae93['create']=function(_0x33f8fa){return new _0x14ae93(_0x33f8fa);},_0x14ae93['encode']=function(_0x27d2fd,_0x39a4c3){return _0x39a4c3||(_0x39a4c3=_0xbf7e62['create']()),null!=_0x27d2fd['sourcePosition']&&Object['hasOwnProperty']['call'](_0x27d2fd,'sourcePosition')&&_0x19b6d8['Position']['encode'](_0x27d2fd['sourcePosition'],_0x39a4c3['uint32'](0xa)['fork']())['ldelim'](),null!=_0x27d2fd['howMany']&&Object['hasOwnProperty']['call'](_0x27d2fd,'howMany')&&_0x39a4c3['uint32'](0x10)['uint32'](_0x27d2fd['howMany']),null!=_0x27d2fd['targetPosition']&&Object['hasOwnProperty']['call'](_0x27d2fd,'targetPosition')&&_0x19b6d8['Position']['encode'](_0x27d2fd['targetPosition'],_0x39a4c3['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x27d2fd['wasUndone']&&Object['hasOwnProperty']['call'](_0x27d2fd,'wasUndone')&&_0x39a4c3['uint32'](0x20)['bool'](_0x27d2fd['wasUndone']),_0x39a4c3;},_0x14ae93['encodeDelimited']=function(_0x2b0db1,_0x4f909d){return this['encode'](_0x2b0db1,_0x4f909d)['ldelim']();},_0x14ae93['decode']=function(_0x58631b,_0x4a0d1f){_0x58631b instanceof _0x2b7880||(_0x58631b=_0x2b7880['create'](_0x58631b));for(var _0x5d2e0d=void 0x0===_0x4a0d1f?_0x58631b['len']:_0x58631b['pos']+_0x4a0d1f,_0x45182a=new _0x19b6d8['MoveOperation']();_0x58631b['pos']<_0x5d2e0d;){var _0x1a1130=_0x58631b['uint32']();switch(_0x1a1130>>>0x3){case 0x1:_0x45182a['sourcePosition']=_0x19b6d8['Position']['decode'](_0x58631b,_0x58631b['uint32']());break;case 0x2:_0x45182a['howMany']=_0x58631b['uint32']();break;case 0x3:_0x45182a['targetPosition']=_0x19b6d8['Position']['decode'](_0x58631b,_0x58631b['uint32']());break;case 0x4:_0x45182a['wasUndone']=_0x58631b['bool']();break;default:_0x58631b['skipType'](0x7&_0x1a1130);}}return _0x45182a;},_0x14ae93['decodeDelimited']=function(_0x5344eb){return _0x5344eb instanceof _0x2b7880||(_0x5344eb=new _0x2b7880(_0x5344eb)),this['decode'](_0x5344eb,_0x5344eb['uint32']());},_0x14ae93['verify']=function(_0x1c5de0){if('object'!=typeof _0x1c5de0||null===_0x1c5de0)return'object\x20expected';var _0x38affd;if(null!=_0x1c5de0['sourcePosition']&&_0x1c5de0['hasOwnProperty']('sourcePosition')&&(_0x38affd=_0x19b6d8['Position']['verify'](_0x1c5de0['sourcePosition'])))return'sourcePosition.'+_0x38affd;if(null!=_0x1c5de0['howMany']&&_0x1c5de0['hasOwnProperty']('howMany')&&!_0x5d88d0['isInteger'](_0x1c5de0['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x1c5de0['targetPosition']&&_0x1c5de0['hasOwnProperty']('targetPosition')&&(_0x38affd=_0x19b6d8['Position']['verify'](_0x1c5de0['targetPosition'])))return'targetPosition.'+_0x38affd;return null!=_0x1c5de0['wasUndone']&&_0x1c5de0['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x1c5de0['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x14ae93['fromObject']=function(_0x16bd1b){if(_0x16bd1b instanceof _0x19b6d8['MoveOperation'])return _0x16bd1b;var _0x4f153c=new _0x19b6d8['MoveOperation']();if(null!=_0x16bd1b['sourcePosition']){if('object'!=typeof _0x16bd1b['sourcePosition'])throw TypeError('.MoveOperation.sourcePosition:\x20object\x20expected');_0x4f153c['sourcePosition']=_0x19b6d8['Position']['fromObject'](_0x16bd1b['sourcePosition']);}if(null!=_0x16bd1b['howMany']&&(_0x4f153c['howMany']=_0x16bd1b['howMany']>>>0x0),null!=_0x16bd1b['targetPosition']){if('object'!=typeof _0x16bd1b['targetPosition'])throw TypeError('.MoveOperation.targetPosition:\x20object\x20expected');_0x4f153c['targetPosition']=_0x19b6d8['Position']['fromObject'](_0x16bd1b['targetPosition']);}return null!=_0x16bd1b['wasUndone']&&(_0x4f153c['wasUndone']=Boolean(_0x16bd1b['wasUndone'])),_0x4f153c;},_0x14ae93['toObject']=function(_0x44e296,_0x59f0f0){_0x59f0f0||(_0x59f0f0={});var _0x509de5={};return _0x59f0f0['defaults']&&(_0x509de5['sourcePosition']=null,_0x509de5['howMany']=0x0,_0x509de5['targetPosition']=null,_0x509de5['wasUndone']=!0x1),null!=_0x44e296['sourcePosition']&&_0x44e296['hasOwnProperty']('sourcePosition')&&(_0x509de5['sourcePosition']=_0x19b6d8['Position']['toObject'](_0x44e296['sourcePosition'],_0x59f0f0)),null!=_0x44e296['howMany']&&_0x44e296['hasOwnProperty']('howMany')&&(_0x509de5['howMany']=_0x44e296['howMany']),null!=_0x44e296['targetPosition']&&_0x44e296['hasOwnProperty']('targetPosition')&&(_0x509de5['targetPosition']=_0x19b6d8['Position']['toObject'](_0x44e296['targetPosition'],_0x59f0f0)),null!=_0x44e296['wasUndone']&&_0x44e296['hasOwnProperty']('wasUndone')&&(_0x509de5['wasUndone']=_0x44e296['wasUndone']),_0x509de5;},_0x14ae93['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x14ae93['getTypeUrl']=function(_0x308c56){return void 0x0===_0x308c56&&(_0x308c56='type.googleapis.com'),_0x308c56+'/MoveOperation';},_0x14ae93;}()),_0x19b6d8['RenameOperation']=(function(){function _0x476209(_0x319739){if(_0x319739){for(var _0x3ca7d6=Object['keys'](_0x319739),_0x4712a1=0x0;_0x4712a1<_0x3ca7d6['length'];++_0x4712a1)null!=_0x319739[_0x3ca7d6[_0x4712a1]]&&(this[_0x3ca7d6[_0x4712a1]]=_0x319739[_0x3ca7d6[_0x4712a1]]);}}return _0x476209['prototype']['position']=null,_0x476209['prototype']['oldName']='',_0x476209['prototype']['newName']='',_0x476209['prototype']['wasUndone']=!0x1,_0x476209['create']=function(_0x3d5417){return new _0x476209(_0x3d5417);},_0x476209['encode']=function(_0x498980,_0x3be276){return _0x3be276||(_0x3be276=_0xbf7e62['create']()),null!=_0x498980['position']&&Object['hasOwnProperty']['call'](_0x498980,'position')&&_0x19b6d8['Position']['encode'](_0x498980['position'],_0x3be276['uint32'](0xa)['fork']())['ldelim'](),null!=_0x498980['oldName']&&Object['hasOwnProperty']['call'](_0x498980,'oldName')&&_0x3be276['uint32'](0x12)['string'](_0x498980['oldName']),null!=_0x498980['newName']&&Object['hasOwnProperty']['call'](_0x498980,'newName')&&_0x3be276['uint32'](0x1a)['string'](_0x498980['newName']),null!=_0x498980['wasUndone']&&Object['hasOwnProperty']['call'](_0x498980,'wasUndone')&&_0x3be276['uint32'](0x20)['bool'](_0x498980['wasUndone']),_0x3be276;},_0x476209['encodeDelimited']=function(_0x9643d,_0x3c9c4b){return this['encode'](_0x9643d,_0x3c9c4b)['ldelim']();},_0x476209['decode']=function(_0x793eab,_0xdd3ecc){_0x793eab instanceof _0x2b7880||(_0x793eab=_0x2b7880['create'](_0x793eab));for(var _0x11dcfc=void 0x0===_0xdd3ecc?_0x793eab['len']:_0x793eab['pos']+_0xdd3ecc,_0xa65a90=new _0x19b6d8['RenameOperation']();_0x793eab['pos']<_0x11dcfc;){var _0x301527=_0x793eab['uint32']();switch(_0x301527>>>0x3){case 0x1:_0xa65a90['position']=_0x19b6d8['Position']['decode'](_0x793eab,_0x793eab['uint32']());break;case 0x2:_0xa65a90['oldName']=_0x793eab['string']();break;case 0x3:_0xa65a90['newName']=_0x793eab['string']();break;case 0x4:_0xa65a90['wasUndone']=_0x793eab['bool']();break;default:_0x793eab['skipType'](0x7&_0x301527);}}return _0xa65a90;},_0x476209['decodeDelimited']=function(_0x3223cb){return _0x3223cb instanceof _0x2b7880||(_0x3223cb=new _0x2b7880(_0x3223cb)),this['decode'](_0x3223cb,_0x3223cb['uint32']());},_0x476209['verify']=function(_0x35b1ca){if('object'!=typeof _0x35b1ca||null===_0x35b1ca)return'object\x20expected';if(null!=_0x35b1ca['position']&&_0x35b1ca['hasOwnProperty']('position')){var _0x4070d5=_0x19b6d8['Position']['verify'](_0x35b1ca['position']);if(_0x4070d5)return'position.'+_0x4070d5;}return null!=_0x35b1ca['oldName']&&_0x35b1ca['hasOwnProperty']('oldName')&&!_0x5d88d0['isString'](_0x35b1ca['oldName'])?'oldName:\x20string\x20expected':null!=_0x35b1ca['newName']&&_0x35b1ca['hasOwnProperty']('newName')&&!_0x5d88d0['isString'](_0x35b1ca['newName'])?'newName:\x20string\x20expected':null!=_0x35b1ca['wasUndone']&&_0x35b1ca['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x35b1ca['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x476209['fromObject']=function(_0x13073a){if(_0x13073a instanceof _0x19b6d8['RenameOperation'])return _0x13073a;var _0x4a70cd=new _0x19b6d8['RenameOperation']();if(null!=_0x13073a['position']){if('object'!=typeof _0x13073a['position'])throw TypeError('.RenameOperation.position:\x20object\x20expected');_0x4a70cd['position']=_0x19b6d8['Position']['fromObject'](_0x13073a['position']);}return null!=_0x13073a['oldName']&&(_0x4a70cd['oldName']=String(_0x13073a['oldName'])),null!=_0x13073a['newName']&&(_0x4a70cd['newName']=String(_0x13073a['newName'])),null!=_0x13073a['wasUndone']&&(_0x4a70cd['wasUndone']=Boolean(_0x13073a['wasUndone'])),_0x4a70cd;},_0x476209['toObject']=function(_0x45f7b5,_0x4322ad){_0x4322ad||(_0x4322ad={});var _0x4c72b0={};return _0x4322ad['defaults']&&(_0x4c72b0['position']=null,_0x4c72b0['oldName']='',_0x4c72b0['newName']='',_0x4c72b0['wasUndone']=!0x1),null!=_0x45f7b5['position']&&_0x45f7b5['hasOwnProperty']('position')&&(_0x4c72b0['position']=_0x19b6d8['Position']['toObject'](_0x45f7b5['position'],_0x4322ad)),null!=_0x45f7b5['oldName']&&_0x45f7b5['hasOwnProperty']('oldName')&&(_0x4c72b0['oldName']=_0x45f7b5['oldName']),null!=_0x45f7b5['newName']&&_0x45f7b5['hasOwnProperty']('newName')&&(_0x4c72b0['newName']=_0x45f7b5['newName']),null!=_0x45f7b5['wasUndone']&&_0x45f7b5['hasOwnProperty']('wasUndone')&&(_0x4c72b0['wasUndone']=_0x45f7b5['wasUndone']),_0x4c72b0;},_0x476209['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x476209['getTypeUrl']=function(_0x2d3434){return void 0x0===_0x2d3434&&(_0x2d3434='type.googleapis.com'),_0x2d3434+'/RenameOperation';},_0x476209;}()),_0x19b6d8['RootAttributeOperation']=(function(){function _0x23ccb0(_0x20977d){if(_0x20977d){for(var _0x213d72=Object['keys'](_0x20977d),_0x304663=0x0;_0x304663<_0x213d72['length'];++_0x304663)null!=_0x20977d[_0x213d72[_0x304663]]&&(this[_0x213d72[_0x304663]]=_0x20977d[_0x213d72[_0x304663]]);}}return _0x23ccb0['prototype']['root']='',_0x23ccb0['prototype']['key']='',_0x23ccb0['prototype']['oldValueBoolean']=!0x1,_0x23ccb0['prototype']['oldValueJson']='',_0x23ccb0['prototype']['newValueBoolean']=!0x1,_0x23ccb0['prototype']['newValueJson']='',_0x23ccb0['prototype']['wasUndone']=!0x1,_0x23ccb0['create']=function(_0xb8ca01){return new _0x23ccb0(_0xb8ca01);},_0x23ccb0['encode']=function(_0x591c79,_0xa9a829){return _0xa9a829||(_0xa9a829=_0xbf7e62['create']()),null!=_0x591c79['root']&&Object['hasOwnProperty']['call'](_0x591c79,'root')&&_0xa9a829['uint32'](0xa)['string'](_0x591c79['root']),null!=_0x591c79['key']&&Object['hasOwnProperty']['call'](_0x591c79,'key')&&_0xa9a829['uint32'](0x12)['string'](_0x591c79['key']),null!=_0x591c79['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x591c79,'oldValueBoolean')&&_0xa9a829['uint32'](0x18)['bool'](_0x591c79['oldValueBoolean']),null!=_0x591c79['oldValueJson']&&Object['hasOwnProperty']['call'](_0x591c79,'oldValueJson')&&_0xa9a829['uint32'](0x22)['string'](_0x591c79['oldValueJson']),null!=_0x591c79['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x591c79,'newValueBoolean')&&_0xa9a829['uint32'](0x28)['bool'](_0x591c79['newValueBoolean']),null!=_0x591c79['newValueJson']&&Object['hasOwnProperty']['call'](_0x591c79,'newValueJson')&&_0xa9a829['uint32'](0x32)['string'](_0x591c79['newValueJson']),null!=_0x591c79['wasUndone']&&Object['hasOwnProperty']['call'](_0x591c79,'wasUndone')&&_0xa9a829['uint32'](0x38)['bool'](_0x591c79['wasUndone']),_0xa9a829;},_0x23ccb0['encodeDelimited']=function(_0x9fc56d,_0x3376bc){return this['encode'](_0x9fc56d,_0x3376bc)['ldelim']();},_0x23ccb0['decode']=function(_0x38fcdd,_0x4fd1a5){_0x38fcdd instanceof _0x2b7880||(_0x38fcdd=_0x2b7880['create'](_0x38fcdd));for(var _0x2c8960=void 0x0===_0x4fd1a5?_0x38fcdd['len']:_0x38fcdd['pos']+_0x4fd1a5,_0x5ce0f6=new _0x19b6d8['RootAttributeOperation']();_0x38fcdd['pos']<_0x2c8960;){var _0x3c7695=_0x38fcdd['uint32']();switch(_0x3c7695>>>0x3){case 0x1:_0x5ce0f6['root']=_0x38fcdd['string']();break;case 0x2:_0x5ce0f6['key']=_0x38fcdd['string']();break;case 0x3:_0x5ce0f6['oldValueBoolean']=_0x38fcdd['bool']();break;case 0x4:_0x5ce0f6['oldValueJson']=_0x38fcdd['string']();break;case 0x5:_0x5ce0f6['newValueBoolean']=_0x38fcdd['bool']();break;case 0x6:_0x5ce0f6['newValueJson']=_0x38fcdd['string']();break;case 0x7:_0x5ce0f6['wasUndone']=_0x38fcdd['bool']();break;default:_0x38fcdd['skipType'](0x7&_0x3c7695);}}return _0x5ce0f6;},_0x23ccb0['decodeDelimited']=function(_0x31d175){return _0x31d175 instanceof _0x2b7880||(_0x31d175=new _0x2b7880(_0x31d175)),this['decode'](_0x31d175,_0x31d175['uint32']());},_0x23ccb0['verify']=function(_0x15de45){return'object'!=typeof _0x15de45||null===_0x15de45?'object\x20expected':null!=_0x15de45['root']&&_0x15de45['hasOwnProperty']('root')&&!_0x5d88d0['isString'](_0x15de45['root'])?'root:\x20string\x20expected':null!=_0x15de45['key']&&_0x15de45['hasOwnProperty']('key')&&!_0x5d88d0['isString'](_0x15de45['key'])?'key:\x20string\x20expected':null!=_0x15de45['oldValueBoolean']&&_0x15de45['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x15de45['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x15de45['oldValueJson']&&_0x15de45['hasOwnProperty']('oldValueJson')&&!_0x5d88d0['isString'](_0x15de45['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x15de45['newValueBoolean']&&_0x15de45['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x15de45['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x15de45['newValueJson']&&_0x15de45['hasOwnProperty']('newValueJson')&&!_0x5d88d0['isString'](_0x15de45['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x15de45['wasUndone']&&_0x15de45['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x15de45['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x23ccb0['fromObject']=function(_0x126de2){if(_0x126de2 instanceof _0x19b6d8['RootAttributeOperation'])return _0x126de2;var _0x51c200=new _0x19b6d8['RootAttributeOperation']();return null!=_0x126de2['root']&&(_0x51c200['root']=String(_0x126de2['root'])),null!=_0x126de2['key']&&(_0x51c200['key']=String(_0x126de2['key'])),null!=_0x126de2['oldValueBoolean']&&(_0x51c200['oldValueBoolean']=Boolean(_0x126de2['oldValueBoolean'])),null!=_0x126de2['oldValueJson']&&(_0x51c200['oldValueJson']=String(_0x126de2['oldValueJson'])),null!=_0x126de2['newValueBoolean']&&(_0x51c200['newValueBoolean']=Boolean(_0x126de2['newValueBoolean'])),null!=_0x126de2['newValueJson']&&(_0x51c200['newValueJson']=String(_0x126de2['newValueJson'])),null!=_0x126de2['wasUndone']&&(_0x51c200['wasUndone']=Boolean(_0x126de2['wasUndone'])),_0x51c200;},_0x23ccb0['toObject']=function(_0x2aa614,_0x5672e7){_0x5672e7||(_0x5672e7={});var _0x49dc3e={};return _0x5672e7['defaults']&&(_0x49dc3e['root']='',_0x49dc3e['key']='',_0x49dc3e['oldValueBoolean']=!0x1,_0x49dc3e['oldValueJson']='',_0x49dc3e['newValueBoolean']=!0x1,_0x49dc3e['newValueJson']='',_0x49dc3e['wasUndone']=!0x1),null!=_0x2aa614['root']&&_0x2aa614['hasOwnProperty']('root')&&(_0x49dc3e['root']=_0x2aa614['root']),null!=_0x2aa614['key']&&_0x2aa614['hasOwnProperty']('key')&&(_0x49dc3e['key']=_0x2aa614['key']),null!=_0x2aa614['oldValueBoolean']&&_0x2aa614['hasOwnProperty']('oldValueBoolean')&&(_0x49dc3e['oldValueBoolean']=_0x2aa614['oldValueBoolean']),null!=_0x2aa614['oldValueJson']&&_0x2aa614['hasOwnProperty']('oldValueJson')&&(_0x49dc3e['oldValueJson']=_0x2aa614['oldValueJson']),null!=_0x2aa614['newValueBoolean']&&_0x2aa614['hasOwnProperty']('newValueBoolean')&&(_0x49dc3e['newValueBoolean']=_0x2aa614['newValueBoolean']),null!=_0x2aa614['newValueJson']&&_0x2aa614['hasOwnProperty']('newValueJson')&&(_0x49dc3e['newValueJson']=_0x2aa614['newValueJson']),null!=_0x2aa614['wasUndone']&&_0x2aa614['hasOwnProperty']('wasUndone')&&(_0x49dc3e['wasUndone']=_0x2aa614['wasUndone']),_0x49dc3e;},_0x23ccb0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x23ccb0['getTypeUrl']=function(_0x1ca8c5){return void 0x0===_0x1ca8c5&&(_0x1ca8c5='type.googleapis.com'),_0x1ca8c5+'/RootAttributeOperation';},_0x23ccb0;}()),_0x19b6d8['RootOperation']=(function(){function _0x2875e9(_0x3ac000){if(_0x3ac000){for(var _0x16da05=Object['keys'](_0x3ac000),_0x341808=0x0;_0x341808<_0x16da05['length'];++_0x341808)null!=_0x3ac000[_0x16da05[_0x341808]]&&(this[_0x16da05[_0x341808]]=_0x3ac000[_0x16da05[_0x341808]]);}}return _0x2875e9['prototype']['rootName']='',_0x2875e9['prototype']['elementName']='',_0x2875e9['prototype']['isAdd']=!0x1,_0x2875e9['prototype']['wasUndone']=!0x1,_0x2875e9['create']=function(_0x562ca8){return new _0x2875e9(_0x562ca8);},_0x2875e9['encode']=function(_0x5a7d32,_0x116234){return _0x116234||(_0x116234=_0xbf7e62['create']()),null!=_0x5a7d32['rootName']&&Object['hasOwnProperty']['call'](_0x5a7d32,'rootName')&&_0x116234['uint32'](0xa)['string'](_0x5a7d32['rootName']),null!=_0x5a7d32['elementName']&&Object['hasOwnProperty']['call'](_0x5a7d32,'elementName')&&_0x116234['uint32'](0x12)['string'](_0x5a7d32['elementName']),null!=_0x5a7d32['isAdd']&&Object['hasOwnProperty']['call'](_0x5a7d32,'isAdd')&&_0x116234['uint32'](0x18)['bool'](_0x5a7d32['isAdd']),null!=_0x5a7d32['wasUndone']&&Object['hasOwnProperty']['call'](_0x5a7d32,'wasUndone')&&_0x116234['uint32'](0x20)['bool'](_0x5a7d32['wasUndone']),_0x116234;},_0x2875e9['encodeDelimited']=function(_0x4d957a,_0x6d1c28){return this['encode'](_0x4d957a,_0x6d1c28)['ldelim']();},_0x2875e9['decode']=function(_0x3c6ece,_0x30b008){_0x3c6ece instanceof _0x2b7880||(_0x3c6ece=_0x2b7880['create'](_0x3c6ece));for(var _0x415e7f=void 0x0===_0x30b008?_0x3c6ece['len']:_0x3c6ece['pos']+_0x30b008,_0x1f87fe=new _0x19b6d8['RootOperation']();_0x3c6ece['pos']<_0x415e7f;){var _0x157ba6=_0x3c6ece['uint32']();switch(_0x157ba6>>>0x3){case 0x1:_0x1f87fe['rootName']=_0x3c6ece['string']();break;case 0x2:_0x1f87fe['elementName']=_0x3c6ece['string']();break;case 0x3:_0x1f87fe['isAdd']=_0x3c6ece['bool']();break;case 0x4:_0x1f87fe['wasUndone']=_0x3c6ece['bool']();break;default:_0x3c6ece['skipType'](0x7&_0x157ba6);}}return _0x1f87fe;},_0x2875e9['decodeDelimited']=function(_0x444ada){return _0x444ada instanceof _0x2b7880||(_0x444ada=new _0x2b7880(_0x444ada)),this['decode'](_0x444ada,_0x444ada['uint32']());},_0x2875e9['verify']=function(_0x245d6f){return'object'!=typeof _0x245d6f||null===_0x245d6f?'object\x20expected':null!=_0x245d6f['rootName']&&_0x245d6f['hasOwnProperty']('rootName')&&!_0x5d88d0['isString'](_0x245d6f['rootName'])?'rootName:\x20string\x20expected':null!=_0x245d6f['elementName']&&_0x245d6f['hasOwnProperty']('elementName')&&!_0x5d88d0['isString'](_0x245d6f['elementName'])?'elementName:\x20string\x20expected':null!=_0x245d6f['isAdd']&&_0x245d6f['hasOwnProperty']('isAdd')&&'boolean'!=typeof _0x245d6f['isAdd']?'isAdd:\x20boolean\x20expected':null!=_0x245d6f['wasUndone']&&_0x245d6f['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x245d6f['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x2875e9['fromObject']=function(_0x1e5964){if(_0x1e5964 instanceof _0x19b6d8['RootOperation'])return _0x1e5964;var _0x5efa04=new _0x19b6d8['RootOperation']();return null!=_0x1e5964['rootName']&&(_0x5efa04['rootName']=String(_0x1e5964['rootName'])),null!=_0x1e5964['elementName']&&(_0x5efa04['elementName']=String(_0x1e5964['elementName'])),null!=_0x1e5964['isAdd']&&(_0x5efa04['isAdd']=Boolean(_0x1e5964['isAdd'])),null!=_0x1e5964['wasUndone']&&(_0x5efa04['wasUndone']=Boolean(_0x1e5964['wasUndone'])),_0x5efa04;},_0x2875e9['toObject']=function(_0x19787a,_0x48ec28){_0x48ec28||(_0x48ec28={});var _0x7032c4={};return _0x48ec28['defaults']&&(_0x7032c4['rootName']='',_0x7032c4['elementName']='',_0x7032c4['isAdd']=!0x1,_0x7032c4['wasUndone']=!0x1),null!=_0x19787a['rootName']&&_0x19787a['hasOwnProperty']('rootName')&&(_0x7032c4['rootName']=_0x19787a['rootName']),null!=_0x19787a['elementName']&&_0x19787a['hasOwnProperty']('elementName')&&(_0x7032c4['elementName']=_0x19787a['elementName']),null!=_0x19787a['isAdd']&&_0x19787a['hasOwnProperty']('isAdd')&&(_0x7032c4['isAdd']=_0x19787a['isAdd']),null!=_0x19787a['wasUndone']&&_0x19787a['hasOwnProperty']('wasUndone')&&(_0x7032c4['wasUndone']=_0x19787a['wasUndone']),_0x7032c4;},_0x2875e9['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2875e9['getTypeUrl']=function(_0x25fb66){return void 0x0===_0x25fb66&&(_0x25fb66='type.googleapis.com'),_0x25fb66+'/RootOperation';},_0x2875e9;}()),_0x19b6d8['SplitOperation']=(function(){function _0x5b6da1(_0x1486d4){if(_0x1486d4){for(var _0x4d5832=Object['keys'](_0x1486d4),_0xfa2b94=0x0;_0xfa2b94<_0x4d5832['length'];++_0xfa2b94)null!=_0x1486d4[_0x4d5832[_0xfa2b94]]&&(this[_0x4d5832[_0xfa2b94]]=_0x1486d4[_0x4d5832[_0xfa2b94]]);}}return _0x5b6da1['prototype']['splitPosition']=null,_0x5b6da1['prototype']['graveyardPosition']=null,_0x5b6da1['prototype']['howMany']=0x0,_0x5b6da1['prototype']['insertionPosition']=null,_0x5b6da1['prototype']['wasUndone']=!0x1,_0x5b6da1['create']=function(_0x88ad9b){return new _0x5b6da1(_0x88ad9b);},_0x5b6da1['encode']=function(_0x5b5112,_0x4f32f0){return _0x4f32f0||(_0x4f32f0=_0xbf7e62['create']()),null!=_0x5b5112['splitPosition']&&Object['hasOwnProperty']['call'](_0x5b5112,'splitPosition')&&_0x19b6d8['Position']['encode'](_0x5b5112['splitPosition'],_0x4f32f0['uint32'](0xa)['fork']())['ldelim'](),null!=_0x5b5112['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x5b5112,'graveyardPosition')&&_0x19b6d8['Position']['encode'](_0x5b5112['graveyardPosition'],_0x4f32f0['uint32'](0x12)['fork']())['ldelim'](),null!=_0x5b5112['howMany']&&Object['hasOwnProperty']['call'](_0x5b5112,'howMany')&&_0x4f32f0['uint32'](0x18)['uint32'](_0x5b5112['howMany']),null!=_0x5b5112['insertionPosition']&&Object['hasOwnProperty']['call'](_0x5b5112,'insertionPosition')&&_0x19b6d8['Position']['encode'](_0x5b5112['insertionPosition'],_0x4f32f0['uint32'](0x22)['fork']())['ldelim'](),null!=_0x5b5112['wasUndone']&&Object['hasOwnProperty']['call'](_0x5b5112,'wasUndone')&&_0x4f32f0['uint32'](0x28)['bool'](_0x5b5112['wasUndone']),_0x4f32f0;},_0x5b6da1['encodeDelimited']=function(_0x94beff,_0x45646d){return this['encode'](_0x94beff,_0x45646d)['ldelim']();},_0x5b6da1['decode']=function(_0x527d58,_0x443170){_0x527d58 instanceof _0x2b7880||(_0x527d58=_0x2b7880['create'](_0x527d58));for(var _0x50d81c=void 0x0===_0x443170?_0x527d58['len']:_0x527d58['pos']+_0x443170,_0x3b0dfb=new _0x19b6d8['SplitOperation']();_0x527d58['pos']<_0x50d81c;){var _0x318c75=_0x527d58['uint32']();switch(_0x318c75>>>0x3){case 0x1:_0x3b0dfb['splitPosition']=_0x19b6d8['Position']['decode'](_0x527d58,_0x527d58['uint32']());break;case 0x2:_0x3b0dfb['graveyardPosition']=_0x19b6d8['Position']['decode'](_0x527d58,_0x527d58['uint32']());break;case 0x3:_0x3b0dfb['howMany']=_0x527d58['uint32']();break;case 0x4:_0x3b0dfb['insertionPosition']=_0x19b6d8['Position']['decode'](_0x527d58,_0x527d58['uint32']());break;case 0x5:_0x3b0dfb['wasUndone']=_0x527d58['bool']();break;default:_0x527d58['skipType'](0x7&_0x318c75);}}return _0x3b0dfb;},_0x5b6da1['decodeDelimited']=function(_0x11b7f6){return _0x11b7f6 instanceof _0x2b7880||(_0x11b7f6=new _0x2b7880(_0x11b7f6)),this['decode'](_0x11b7f6,_0x11b7f6['uint32']());},_0x5b6da1['verify']=function(_0x1a2645){if('object'!=typeof _0x1a2645||null===_0x1a2645)return'object\x20expected';var _0x1a0a69;if(null!=_0x1a2645['splitPosition']&&_0x1a2645['hasOwnProperty']('splitPosition')&&(_0x1a0a69=_0x19b6d8['Position']['verify'](_0x1a2645['splitPosition'])))return'splitPosition.'+_0x1a0a69;if(null!=_0x1a2645['graveyardPosition']&&_0x1a2645['hasOwnProperty']('graveyardPosition')&&(_0x1a0a69=_0x19b6d8['Position']['verify'](_0x1a2645['graveyardPosition'])))return'graveyardPosition.'+_0x1a0a69;if(null!=_0x1a2645['howMany']&&_0x1a2645['hasOwnProperty']('howMany')&&!_0x5d88d0['isInteger'](_0x1a2645['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x1a2645['insertionPosition']&&_0x1a2645['hasOwnProperty']('insertionPosition')&&(_0x1a0a69=_0x19b6d8['Position']['verify'](_0x1a2645['insertionPosition'])))return'insertionPosition.'+_0x1a0a69;return null!=_0x1a2645['wasUndone']&&_0x1a2645['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x1a2645['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x5b6da1['fromObject']=function(_0x54be1c){if(_0x54be1c instanceof _0x19b6d8['SplitOperation'])return _0x54be1c;var _0x347d2f=new _0x19b6d8['SplitOperation']();if(null!=_0x54be1c['splitPosition']){if('object'!=typeof _0x54be1c['splitPosition'])throw TypeError('.SplitOperation.splitPosition:\x20object\x20expected');_0x347d2f['splitPosition']=_0x19b6d8['Position']['fromObject'](_0x54be1c['splitPosition']);}if(null!=_0x54be1c['graveyardPosition']){if('object'!=typeof _0x54be1c['graveyardPosition'])throw TypeError('.SplitOperation.graveyardPosition:\x20object\x20expected');_0x347d2f['graveyardPosition']=_0x19b6d8['Position']['fromObject'](_0x54be1c['graveyardPosition']);}if(null!=_0x54be1c['howMany']&&(_0x347d2f['howMany']=_0x54be1c['howMany']>>>0x0),null!=_0x54be1c['insertionPosition']){if('object'!=typeof _0x54be1c['insertionPosition'])throw TypeError('.SplitOperation.insertionPosition:\x20object\x20expected');_0x347d2f['insertionPosition']=_0x19b6d8['Position']['fromObject'](_0x54be1c['insertionPosition']);}return null!=_0x54be1c['wasUndone']&&(_0x347d2f['wasUndone']=Boolean(_0x54be1c['wasUndone'])),_0x347d2f;},_0x5b6da1['toObject']=function(_0x338e4f,_0x5a07cb){_0x5a07cb||(_0x5a07cb={});var _0xbb5074={};return _0x5a07cb['defaults']&&(_0xbb5074['splitPosition']=null,_0xbb5074['graveyardPosition']=null,_0xbb5074['howMany']=0x0,_0xbb5074['insertionPosition']=null,_0xbb5074['wasUndone']=!0x1),null!=_0x338e4f['splitPosition']&&_0x338e4f['hasOwnProperty']('splitPosition')&&(_0xbb5074['splitPosition']=_0x19b6d8['Position']['toObject'](_0x338e4f['splitPosition'],_0x5a07cb)),null!=_0x338e4f['graveyardPosition']&&_0x338e4f['hasOwnProperty']('graveyardPosition')&&(_0xbb5074['graveyardPosition']=_0x19b6d8['Position']['toObject'](_0x338e4f['graveyardPosition'],_0x5a07cb)),null!=_0x338e4f['howMany']&&_0x338e4f['hasOwnProperty']('howMany')&&(_0xbb5074['howMany']=_0x338e4f['howMany']),null!=_0x338e4f['insertionPosition']&&_0x338e4f['hasOwnProperty']('insertionPosition')&&(_0xbb5074['insertionPosition']=_0x19b6d8['Position']['toObject'](_0x338e4f['insertionPosition'],_0x5a07cb)),null!=_0x338e4f['wasUndone']&&_0x338e4f['hasOwnProperty']('wasUndone')&&(_0xbb5074['wasUndone']=_0x338e4f['wasUndone']),_0xbb5074;},_0x5b6da1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5b6da1['getTypeUrl']=function(_0x570189){return void 0x0===_0x570189&&(_0x570189='type.googleapis.com'),_0x570189+'/SplitOperation';},_0x5b6da1;}()),_0x19b6d8['Position']=(function(){function _0x264d18(_0x1209de){if(this['path']=[],_0x1209de){for(var _0x3842c0=Object['keys'](_0x1209de),_0x43fb17=0x0;_0x43fb17<_0x3842c0['length'];++_0x43fb17)null!=_0x1209de[_0x3842c0[_0x43fb17]]&&(this[_0x3842c0[_0x43fb17]]=_0x1209de[_0x3842c0[_0x43fb17]]);}}return _0x264d18['prototype']['root']='',_0x264d18['prototype']['rootMain']=!0x1,_0x264d18['prototype']['rootGraveyard']=!0x1,_0x264d18['prototype']['path']=_0x5d88d0['emptyArray'],_0x264d18['prototype']['stickiness']='',_0x264d18['create']=function(_0x3fba6d){return new _0x264d18(_0x3fba6d);},_0x264d18['encode']=function(_0x507f67,_0x31b93a){if(_0x31b93a||(_0x31b93a=_0xbf7e62['create']()),null!=_0x507f67['root']&&Object['hasOwnProperty']['call'](_0x507f67,'root')&&_0x31b93a['uint32'](0xa)['string'](_0x507f67['root']),null!=_0x507f67['rootMain']&&Object['hasOwnProperty']['call'](_0x507f67,'rootMain')&&_0x31b93a['uint32'](0x10)['bool'](_0x507f67['rootMain']),null!=_0x507f67['rootGraveyard']&&Object['hasOwnProperty']['call'](_0x507f67,'rootGraveyard')&&_0x31b93a['uint32'](0x18)['bool'](_0x507f67['rootGraveyard']),null!=_0x507f67['path']&&_0x507f67['path']['length']){_0x31b93a['uint32'](0x22)['fork']();for(var _0x374869=0x0;_0x374869<_0x507f67['path']['length'];++_0x374869)_0x31b93a['uint32'](_0x507f67['path'][_0x374869]);_0x31b93a['ldelim']();}return null!=_0x507f67['stickiness']&&Object['hasOwnProperty']['call'](_0x507f67,'stickiness')&&_0x31b93a['uint32'](0x2a)['string'](_0x507f67['stickiness']),_0x31b93a;},_0x264d18['encodeDelimited']=function(_0x1518a3,_0x26d858){return this['encode'](_0x1518a3,_0x26d858)['ldelim']();},_0x264d18['decode']=function(_0x207ad7,_0x134c3a){_0x207ad7 instanceof _0x2b7880||(_0x207ad7=_0x2b7880['create'](_0x207ad7));for(var _0x8218f6=void 0x0===_0x134c3a?_0x207ad7['len']:_0x207ad7['pos']+_0x134c3a,_0x68ae97=new _0x19b6d8['Position']();_0x207ad7['pos']<_0x8218f6;){var _0x439281=_0x207ad7['uint32']();switch(_0x439281>>>0x3){case 0x1:_0x68ae97['root']=_0x207ad7['string']();break;case 0x2:_0x68ae97['rootMain']=_0x207ad7['bool']();break;case 0x3:_0x68ae97['rootGraveyard']=_0x207ad7['bool']();break;case 0x4:if(_0x68ae97['path']&&_0x68ae97['path']['length']||(_0x68ae97['path']=[]),0x2==(0x7&_0x439281)){for(var _0x5be5bd=_0x207ad7['uint32']()+_0x207ad7['pos'];_0x207ad7['pos']<_0x5be5bd;)_0x68ae97['path']['push'](_0x207ad7['uint32']());}else _0x68ae97['path']['push'](_0x207ad7['uint32']());break;case 0x5:_0x68ae97['stickiness']=_0x207ad7['string']();break;default:_0x207ad7['skipType'](0x7&_0x439281);}}return _0x68ae97;},_0x264d18['decodeDelimited']=function(_0x3a2765){return _0x3a2765 instanceof _0x2b7880||(_0x3a2765=new _0x2b7880(_0x3a2765)),this['decode'](_0x3a2765,_0x3a2765['uint32']());},_0x264d18['verify']=function(_0x4cf61f){if('object'!=typeof _0x4cf61f||null===_0x4cf61f)return'object\x20expected';if(null!=_0x4cf61f['root']&&_0x4cf61f['hasOwnProperty']('root')&&!_0x5d88d0['isString'](_0x4cf61f['root']))return'root:\x20string\x20expected';if(null!=_0x4cf61f['rootMain']&&_0x4cf61f['hasOwnProperty']('rootMain')&&'boolean'!=typeof _0x4cf61f['rootMain'])return'rootMain:\x20boolean\x20expected';if(null!=_0x4cf61f['rootGraveyard']&&_0x4cf61f['hasOwnProperty']('rootGraveyard')&&'boolean'!=typeof _0x4cf61f['rootGraveyard'])return'rootGraveyard:\x20boolean\x20expected';if(null!=_0x4cf61f['path']&&_0x4cf61f['hasOwnProperty']('path')){if(!Array['isArray'](_0x4cf61f['path']))return'path:\x20array\x20expected';for(var _0x425c4e=0x0;_0x425c4e<_0x4cf61f['path']['length'];++_0x425c4e)if(!_0x5d88d0['isInteger'](_0x4cf61f['path'][_0x425c4e]))return'path:\x20integer[]\x20expected';}return null!=_0x4cf61f['stickiness']&&_0x4cf61f['hasOwnProperty']('stickiness')&&!_0x5d88d0['isString'](_0x4cf61f['stickiness'])?'stickiness:\x20string\x20expected':null;},_0x264d18['fromObject']=function(_0x1686e2){if(_0x1686e2 instanceof _0x19b6d8['Position'])return _0x1686e2;var _0x26c8de=new _0x19b6d8['Position']();if(null!=_0x1686e2['root']&&(_0x26c8de['root']=String(_0x1686e2['root'])),null!=_0x1686e2['rootMain']&&(_0x26c8de['rootMain']=Boolean(_0x1686e2['rootMain'])),null!=_0x1686e2['rootGraveyard']&&(_0x26c8de['rootGraveyard']=Boolean(_0x1686e2['rootGraveyard'])),_0x1686e2['path']){if(!Array['isArray'](_0x1686e2['path']))throw TypeError('.Position.path:\x20array\x20expected');_0x26c8de['path']=[];for(var _0x13c96c=0x0;_0x13c96c<_0x1686e2['path']['length'];++_0x13c96c)_0x26c8de['path'][_0x13c96c]=_0x1686e2['path'][_0x13c96c]>>>0x0;}return null!=_0x1686e2['stickiness']&&(_0x26c8de['stickiness']=String(_0x1686e2['stickiness'])),_0x26c8de;},_0x264d18['toObject']=function(_0x365f07,_0x2c5b7a){_0x2c5b7a||(_0x2c5b7a={});var _0x21304a={};if((_0x2c5b7a['arrays']||_0x2c5b7a['defaults'])&&(_0x21304a['path']=[]),_0x2c5b7a['defaults']&&(_0x21304a['root']='',_0x21304a['rootMain']=!0x1,_0x21304a['rootGraveyard']=!0x1,_0x21304a['stickiness']=''),null!=_0x365f07['root']&&_0x365f07['hasOwnProperty']('root')&&(_0x21304a['root']=_0x365f07['root']),null!=_0x365f07['rootMain']&&_0x365f07['hasOwnProperty']('rootMain')&&(_0x21304a['rootMain']=_0x365f07['rootMain']),null!=_0x365f07['rootGraveyard']&&_0x365f07['hasOwnProperty']('rootGraveyard')&&(_0x21304a['rootGraveyard']=_0x365f07['rootGraveyard']),_0x365f07['path']&&_0x365f07['path']['length']){_0x21304a['path']=[];for(var _0x2945fb=0x0;_0x2945fb<_0x365f07['path']['length'];++_0x2945fb)_0x21304a['path'][_0x2945fb]=_0x365f07['path'][_0x2945fb];}return null!=_0x365f07['stickiness']&&_0x365f07['hasOwnProperty']('stickiness')&&(_0x21304a['stickiness']=_0x365f07['stickiness']),_0x21304a;},_0x264d18['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x264d18['getTypeUrl']=function(_0x49da22){return void 0x0===_0x49da22&&(_0x49da22='type.googleapis.com'),_0x49da22+'/Position';},_0x264d18;}()),_0x19b6d8['Range']=(function(){function _0x10ab1f(_0x5285cf){if(_0x5285cf){for(var _0x4e5c9a=Object['keys'](_0x5285cf),_0x1275d4=0x0;_0x1275d4<_0x4e5c9a['length'];++_0x1275d4)null!=_0x5285cf[_0x4e5c9a[_0x1275d4]]&&(this[_0x4e5c9a[_0x1275d4]]=_0x5285cf[_0x4e5c9a[_0x1275d4]]);}}return _0x10ab1f['prototype']['start']=null,_0x10ab1f['prototype']['end']=null,_0x10ab1f['create']=function(_0x5a50d9){return new _0x10ab1f(_0x5a50d9);},_0x10ab1f['encode']=function(_0x2a2960,_0x1397e1){return _0x1397e1||(_0x1397e1=_0xbf7e62['create']()),null!=_0x2a2960['start']&&Object['hasOwnProperty']['call'](_0x2a2960,'start')&&_0x19b6d8['Position']['encode'](_0x2a2960['start'],_0x1397e1['uint32'](0xa)['fork']())['ldelim'](),null!=_0x2a2960['end']&&Object['hasOwnProperty']['call'](_0x2a2960,'end')&&_0x19b6d8['Position']['encode'](_0x2a2960['end'],_0x1397e1['uint32'](0x12)['fork']())['ldelim'](),_0x1397e1;},_0x10ab1f['encodeDelimited']=function(_0x4553aa,_0x3b58d7){return this['encode'](_0x4553aa,_0x3b58d7)['ldelim']();},_0x10ab1f['decode']=function(_0x43ee20,_0x2572de){_0x43ee20 instanceof _0x2b7880||(_0x43ee20=_0x2b7880['create'](_0x43ee20));for(var _0x273802=void 0x0===_0x2572de?_0x43ee20['len']:_0x43ee20['pos']+_0x2572de,_0x12fbdd=new _0x19b6d8['Range']();_0x43ee20['pos']<_0x273802;){var _0x567cfe=_0x43ee20['uint32']();switch(_0x567cfe>>>0x3){case 0x1:_0x12fbdd['start']=_0x19b6d8['Position']['decode'](_0x43ee20,_0x43ee20['uint32']());break;case 0x2:_0x12fbdd['end']=_0x19b6d8['Position']['decode'](_0x43ee20,_0x43ee20['uint32']());break;default:_0x43ee20['skipType'](0x7&_0x567cfe);}}return _0x12fbdd;},_0x10ab1f['decodeDelimited']=function(_0x4b4e9f){return _0x4b4e9f instanceof _0x2b7880||(_0x4b4e9f=new _0x2b7880(_0x4b4e9f)),this['decode'](_0x4b4e9f,_0x4b4e9f['uint32']());},_0x10ab1f['verify']=function(_0x32d043){if('object'!=typeof _0x32d043||null===_0x32d043)return'object\x20expected';var _0x1a8c14;if(null!=_0x32d043['start']&&_0x32d043['hasOwnProperty']('start')&&(_0x1a8c14=_0x19b6d8['Position']['verify'](_0x32d043['start'])))return'start.'+_0x1a8c14;if(null!=_0x32d043['end']&&_0x32d043['hasOwnProperty']('end')&&(_0x1a8c14=_0x19b6d8['Position']['verify'](_0x32d043['end'])))return'end.'+_0x1a8c14;return null;},_0x10ab1f['fromObject']=function(_0x50e715){if(_0x50e715 instanceof _0x19b6d8['Range'])return _0x50e715;var _0x413239=new _0x19b6d8['Range']();if(null!=_0x50e715['start']){if('object'!=typeof _0x50e715['start'])throw TypeError('.Range.start:\x20object\x20expected');_0x413239['start']=_0x19b6d8['Position']['fromObject'](_0x50e715['start']);}if(null!=_0x50e715['end']){if('object'!=typeof _0x50e715['end'])throw TypeError('.Range.end:\x20object\x20expected');_0x413239['end']=_0x19b6d8['Position']['fromObject'](_0x50e715['end']);}return _0x413239;},_0x10ab1f['toObject']=function(_0x7e2280,_0x2578c6){_0x2578c6||(_0x2578c6={});var _0x26ff32={};return _0x2578c6['defaults']&&(_0x26ff32['start']=null,_0x26ff32['end']=null),null!=_0x7e2280['start']&&_0x7e2280['hasOwnProperty']('start')&&(_0x26ff32['start']=_0x19b6d8['Position']['toObject'](_0x7e2280['start'],_0x2578c6)),null!=_0x7e2280['end']&&_0x7e2280['hasOwnProperty']('end')&&(_0x26ff32['end']=_0x19b6d8['Position']['toObject'](_0x7e2280['end'],_0x2578c6)),_0x26ff32;},_0x10ab1f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x10ab1f['getTypeUrl']=function(_0x16265e){return void 0x0===_0x16265e&&(_0x16265e='type.googleapis.com'),_0x16265e+'/Range';},_0x10ab1f;}()),_0x19b6d8['Element']=(function(){function _0x264d1d(_0x517fb5){if(this['children']=[],this['attributesBoolean']={},_0x517fb5){for(var _0x31db53=Object['keys'](_0x517fb5),_0x51daea=0x0;_0x51daea<_0x31db53['length'];++_0x51daea)null!=_0x517fb5[_0x31db53[_0x51daea]]&&(this[_0x31db53[_0x51daea]]=_0x517fb5[_0x31db53[_0x51daea]]);}}return _0x264d1d['prototype']['name']='',_0x264d1d['prototype']['children']=_0x5d88d0['emptyArray'],_0x264d1d['prototype']['data']='',_0x264d1d['prototype']['attributesBoolean']=_0x5d88d0['emptyObject'],_0x264d1d['prototype']['attributesJson']='',_0x264d1d['create']=function(_0x968ce9){return new _0x264d1d(_0x968ce9);},_0x264d1d['encode']=function(_0x488112,_0x422c46){if(_0x422c46||(_0x422c46=_0xbf7e62['create']()),null!=_0x488112['name']&&Object['hasOwnProperty']['call'](_0x488112,'name')&&_0x422c46['uint32'](0xa)['string'](_0x488112['name']),null!=_0x488112['children']&&_0x488112['children']['length']){for(var _0x1b1bc6=0x0;_0x1b1bc6<_0x488112['children']['length'];++_0x1b1bc6)_0x19b6d8['Element']['encode'](_0x488112['children'][_0x1b1bc6],_0x422c46['uint32'](0x12)['fork']())['ldelim']();}if(null!=_0x488112['data']&&Object['hasOwnProperty']['call'](_0x488112,'data')&&_0x422c46['uint32'](0x1a)['string'](_0x488112['data']),null!=_0x488112['attributesBoolean']&&Object['hasOwnProperty']['call'](_0x488112,'attributesBoolean')){var _0xb5e8fd=Object['keys'](_0x488112['attributesBoolean']);for(_0x1b1bc6=0x0;_0x1b1bc6<_0xb5e8fd['length'];++_0x1b1bc6)_0x422c46['uint32'](0x22)['fork']()['uint32'](0xa)['string'](_0xb5e8fd[_0x1b1bc6])['uint32'](0x10)['bool'](_0x488112['attributesBoolean'][_0xb5e8fd[_0x1b1bc6]])['ldelim']();}return null!=_0x488112['attributesJson']&&Object['hasOwnProperty']['call'](_0x488112,'attributesJson')&&_0x422c46['uint32'](0x2a)['string'](_0x488112['attributesJson']),_0x422c46;},_0x264d1d['encodeDelimited']=function(_0x19421a,_0x11fef1){return this['encode'](_0x19421a,_0x11fef1)['ldelim']();},_0x264d1d['decode']=function(_0x318585,_0x248c55){_0x318585 instanceof _0x2b7880||(_0x318585=_0x2b7880['create'](_0x318585));for(var _0x5212a9,_0x572a2d,_0x2deee5=void 0x0===_0x248c55?_0x318585['len']:_0x318585['pos']+_0x248c55,_0x43cc20=new _0x19b6d8['Element']();_0x318585['pos']<_0x2deee5;){var _0x216733=_0x318585['uint32']();switch(_0x216733>>>0x3){case 0x1:_0x43cc20['name']=_0x318585['string']();break;case 0x2:_0x43cc20['children']&&_0x43cc20['children']['length']||(_0x43cc20['children']=[]),_0x43cc20['children']['push'](_0x19b6d8['Element']['decode'](_0x318585,_0x318585['uint32']()));break;case 0x3:_0x43cc20['data']=_0x318585['string']();break;case 0x4:_0x43cc20['attributesBoolean']===_0x5d88d0['emptyObject']&&(_0x43cc20['attributesBoolean']={});var _0x10338c=_0x318585['uint32']()+_0x318585['pos'];for(_0x5212a9='',_0x572a2d=!0x1;_0x318585['pos']<_0x10338c;){var _0x431148=_0x318585['uint32']();switch(_0x431148>>>0x3){case 0x1:_0x5212a9=_0x318585['string']();break;case 0x2:_0x572a2d=_0x318585['bool']();break;default:_0x318585['skipType'](0x7&_0x431148);}}_0x43cc20['attributesBoolean'][_0x5212a9]=_0x572a2d;break;case 0x5:_0x43cc20['attributesJson']=_0x318585['string']();break;default:_0x318585['skipType'](0x7&_0x216733);}}return _0x43cc20;},_0x264d1d['decodeDelimited']=function(_0x12981a){return _0x12981a instanceof _0x2b7880||(_0x12981a=new _0x2b7880(_0x12981a)),this['decode'](_0x12981a,_0x12981a['uint32']());},_0x264d1d['verify']=function(_0x2d4f18){if('object'!=typeof _0x2d4f18||null===_0x2d4f18)return'object\x20expected';if(null!=_0x2d4f18['name']&&_0x2d4f18['hasOwnProperty']('name')&&!_0x5d88d0['isString'](_0x2d4f18['name']))return'name:\x20string\x20expected';if(null!=_0x2d4f18['children']&&_0x2d4f18['hasOwnProperty']('children')){if(!Array['isArray'](_0x2d4f18['children']))return'children:\x20array\x20expected';for(var _0x188b0b=0x0;_0x188b0b<_0x2d4f18['children']['length'];++_0x188b0b){var _0x414234=_0x19b6d8['Element']['verify'](_0x2d4f18['children'][_0x188b0b]);if(_0x414234)return'children.'+_0x414234;}}if(null!=_0x2d4f18['data']&&_0x2d4f18['hasOwnProperty']('data')&&!_0x5d88d0['isString'](_0x2d4f18['data']))return'data:\x20string\x20expected';if(null!=_0x2d4f18['attributesBoolean']&&_0x2d4f18['hasOwnProperty']('attributesBoolean')){if(!_0x5d88d0['isObject'](_0x2d4f18['attributesBoolean']))return'attributesBoolean:\x20object\x20expected';var _0x18d264=Object['keys'](_0x2d4f18['attributesBoolean']);for(_0x188b0b=0x0;_0x188b0b<_0x18d264['length'];++_0x188b0b)if('boolean'!=typeof _0x2d4f18['attributesBoolean'][_0x18d264[_0x188b0b]])return'attributesBoolean:\x20boolean{k:string}\x20expected';}return null!=_0x2d4f18['attributesJson']&&_0x2d4f18['hasOwnProperty']('attributesJson')&&!_0x5d88d0['isString'](_0x2d4f18['attributesJson'])?'attributesJson:\x20string\x20expected':null;},_0x264d1d['fromObject']=function(_0x5373b8){if(_0x5373b8 instanceof _0x19b6d8['Element'])return _0x5373b8;var _0x5ea5e7=new _0x19b6d8['Element']();if(null!=_0x5373b8['name']&&(_0x5ea5e7['name']=String(_0x5373b8['name'])),_0x5373b8['children']){if(!Array['isArray'](_0x5373b8['children']))throw TypeError('.Element.children:\x20array\x20expected');_0x5ea5e7['children']=[];for(var _0x57ae30=0x0;_0x57ae30<_0x5373b8['children']['length'];++_0x57ae30){if('object'!=typeof _0x5373b8['children'][_0x57ae30])throw TypeError('.Element.children:\x20object\x20expected');_0x5ea5e7['children'][_0x57ae30]=_0x19b6d8['Element']['fromObject'](_0x5373b8['children'][_0x57ae30]);}}if(null!=_0x5373b8['data']&&(_0x5ea5e7['data']=String(_0x5373b8['data'])),_0x5373b8['attributesBoolean']){if('object'!=typeof _0x5373b8['attributesBoolean'])throw TypeError('.Element.attributesBoolean:\x20object\x20expected');_0x5ea5e7['attributesBoolean']={};var _0x485d55=Object['keys'](_0x5373b8['attributesBoolean']);for(_0x57ae30=0x0;_0x57ae30<_0x485d55['length'];++_0x57ae30)_0x5ea5e7['attributesBoolean'][_0x485d55[_0x57ae30]]=Boolean(_0x5373b8['attributesBoolean'][_0x485d55[_0x57ae30]]);}return null!=_0x5373b8['attributesJson']&&(_0x5ea5e7['attributesJson']=String(_0x5373b8['attributesJson'])),_0x5ea5e7;},_0x264d1d['toObject']=function(_0x4d394e,_0x5a2b1d){_0x5a2b1d||(_0x5a2b1d={});var _0x1ce744,_0x156cad={};if((_0x5a2b1d['arrays']||_0x5a2b1d['defaults'])&&(_0x156cad['children']=[]),(_0x5a2b1d['objects']||_0x5a2b1d['defaults'])&&(_0x156cad['attributesBoolean']={}),_0x5a2b1d['defaults']&&(_0x156cad['name']='',_0x156cad['data']='',_0x156cad['attributesJson']=''),null!=_0x4d394e['name']&&_0x4d394e['hasOwnProperty']('name')&&(_0x156cad['name']=_0x4d394e['name']),_0x4d394e['children']&&_0x4d394e['children']['length']){_0x156cad['children']=[];for(var _0x416cdc=0x0;_0x416cdc<_0x4d394e['children']['length'];++_0x416cdc)_0x156cad['children'][_0x416cdc]=_0x19b6d8['Element']['toObject'](_0x4d394e['children'][_0x416cdc],_0x5a2b1d);}if(null!=_0x4d394e['data']&&_0x4d394e['hasOwnProperty']('data')&&(_0x156cad['data']=_0x4d394e['data']),_0x4d394e['attributesBoolean']&&(_0x1ce744=Object['keys'](_0x4d394e['attributesBoolean']))['length']){_0x156cad['attributesBoolean']={};for(_0x416cdc=0x0;_0x416cdc<_0x1ce744['length'];++_0x416cdc)_0x156cad['attributesBoolean'][_0x1ce744[_0x416cdc]]=_0x4d394e['attributesBoolean'][_0x1ce744[_0x416cdc]];}return null!=_0x4d394e['attributesJson']&&_0x4d394e['hasOwnProperty']('attributesJson')&&(_0x156cad['attributesJson']=_0x4d394e['attributesJson']),_0x156cad;},_0x264d1d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x264d1d['getTypeUrl']=function(_0x27a9a1){return void 0x0===_0x27a9a1&&(_0x27a9a1='type.googleapis.com'),_0x27a9a1+'/Element';},_0x264d1d;}()),_0x19b6d8;})());class ProtobufFactory{['_protobufRoot'];constructor(){this['_protobufRoot']=_0x5a821a;}['getDescriptor'](_0x2f9e21){return new ProtobufDescriptor(this['_protobufRoot'][_0x2f9e21]);}}class ProtobufDescriptor{['_protobuf'];constructor(_0x211580){this['_protobuf']=_0x211580;}['compress'](_0x2318ea){const _0xf5ed96=this['_protobuf']['verify'](_0x2318ea);if(_0xf5ed96)throw Error(_0xf5ed96);return this['_protobuf']['encode'](this['_protobuf']['create'](_0x2318ea))['finish']();}['decompress'](_0x30a66e){return this['_protobuf']['toObject'](this['_protobuf']['decode'](_0x30a66e),{'oneofs':!0x0});}}function getPositionShiftedBy(_0x23053b,_0x44e2ee){const _0x9b70ed=_0x2222d2(_0x23053b);return _0x9b70ed['path'][_0x9b70ed['path']['length']-0x1]+=_0x44e2ee,_0x9b70ed;}function arePositionsEqual(_0x460e5b,_0x119f5c){return _0x460e5b['root']===_0x119f5c['root']&&_0x4cbe47(_0x460e5b['path'],_0x119f5c['path']);}function parsePositionBeforeCompression(_0x1a3db2){_mapPositions(_0x1a3db2,_0x3b6380=>('main'==_0x3b6380['root']?(_0x3b6380['rootMain']=!0x0,delete _0x3b6380['root']):'$graveyard'==_0x3b6380['root']&&(_0x3b6380['rootGraveyard']=!0x0,delete _0x3b6380['root']),_0x3b6380));}function parsePositionAfterCompression(_0x31a1a9){_mapPositions(_0x31a1a9,_0x3d1a42=>(_0x3d1a42['rootMain']?(_0x3d1a42['root']='main',delete _0x3d1a42['rootMain']):_0x3d1a42['rootGraveyard']&&(_0x3d1a42['root']='$graveyard',delete _0x3d1a42['rootGraveyard']),_0x3d1a42));}function _mapPositions(_0x23e3f0,_0x2c6df5){for(const _0x572847 in _0x23e3f0){const _0x878c04=_0x23e3f0[_0x572847];'nodes'!==_0x572847&&isObject$3(_0x878c04)&&(_0x878c04['path']&&(_0x878c04['root']||_0x878c04['rootMain']||_0x878c04['rootGraveyard'])?_0x23e3f0[_0x572847]=_0x2c6df5(_0x878c04):_mapPositions(_0x878c04,_0x2c6df5));}return _0x23e3f0;}class OperationCompressor{['_id'];['_operationName'];['_protobufDescriptor'];constructor(_0x5b68cc,_0x2106b2,_0x37ebae){this['_id']=_0x5b68cc,this['_operationName']=_0x2106b2,this['_protobufDescriptor']=_0x37ebae;}['compress'](_0x3ae6a6,_0x3425dc){const _0x346b49=_0x3425dc['operations'][_0x3425dc['index']++];return parsePositionBeforeCompression(_0x346b49),_0x3ae6a6['buffers']['push'](this['_protobufDescriptor']['compress'](_0x346b49)),_0x3ae6a6['types']['push'](this['_id']),!0x0;}['decompress'](_0x151ef0,_0x4ffef0){_0x4ffef0['typeIndex']++;const _0xc53f0d=_0x4ffef0['buffers'][_0x4ffef0['bufferIndex']++],_0x5c7431=this['_protobufDescriptor']['decompress'](_0xc53f0d);parsePositionAfterCompression(_0x5c7431),_0x5c7431['__className']=this['_operationName'],_0x151ef0['push'](_0x5c7431);}}class AttributeOperationCompressor extends OperationCompressor{['compress'](_0x5d7cd,_0x4c518b){const _0x13f118=_0x4c518b['operations'][_0x4c518b['index']++];return this['_serializeOneOf']('oldValue',_0x13f118),this['_serializeOneOf']('newValue',_0x13f118),parsePositionBeforeCompression(_0x13f118),_0x5d7cd['buffers']['push'](this['_protobufDescriptor']['compress'](_0x13f118)),_0x5d7cd['types']['push'](this['_id']),!0x0;}['decompress'](_0x40f4bd,_0x509582){_0x509582['typeIndex']++;const _0x567136=_0x509582['buffers'][_0x509582['bufferIndex']++],_0x21ffbf=this['_protobufDescriptor']['decompress'](_0x567136);this['_deserializeOneOf']('oldValue',_0x21ffbf),this['_deserializeOneOf']('newValue',_0x21ffbf),parsePositionAfterCompression(_0x21ffbf),_0x21ffbf['__className']=this['_operationName'],_0x40f4bd['push'](_0x21ffbf);}['_serializeOneOf'](_0x10c849,_0x129974){const _0x432aa1=_0x129974[_0x10c849];'boolean'==typeof _0x432aa1?_0x129974[_0x10c849+'Boolean']=_0x432aa1:_0x129974[_0x10c849+'Json']=JSON['stringify'](_0x432aa1);}['_deserializeOneOf'](_0x276fee,_0x3d416c){const _0x21b0db=_0x276fee+'Json';_0x3d416c[_0x21b0db]?(_0x3d416c[_0x276fee]=JSON['parse'](_0x3d416c[_0x21b0db]),delete _0x3d416c[_0x21b0db]):(_0x3d416c[_0x276fee]=_0x3d416c[_0x276fee+'Boolean'],delete _0x3d416c[_0x276fee+'Boolean']);}}class InsertOperationCompressor extends OperationCompressor{['compress'](_0x8be092,_0x378109){const _0x249dc2=_0x378109['operations'][_0x378109['index']++];return this['_serializeNodesAttributes'](_0x249dc2['nodes']),parsePositionBeforeCompression(_0x249dc2),_0x8be092['buffers']['push'](this['_protobufDescriptor']['compress'](_0x249dc2)),_0x8be092['types']['push'](this['_id']),!0x0;}['decompress'](_0x5609cc,_0x32782f){_0x32782f['typeIndex']++;const _0x1e1ee3=_0x32782f['buffers'][_0x32782f['bufferIndex']++],_0x526f2f=this['_protobufDescriptor']['decompress'](_0x1e1ee3);_0x526f2f['nodes']||(_0x526f2f['nodes']=[]),this['_deserializeNodesAttributes'](_0x526f2f['nodes']),parsePositionAfterCompression(_0x526f2f),_0x526f2f['__className']=this['_operationName'],_0x5609cc['push'](_0x526f2f);}['_serializeNodesAttributes'](_0x5143a1){for(const _0x48a8e3 of _0x5143a1){if(_0x48a8e3['attributes']){const _0x5a22a5=_0x48a8e3['attributes'];this['_areValuesBoolean'](_0x5a22a5)?_0x48a8e3['attributesBoolean']=_0x5a22a5:_0x48a8e3['attributesJson']=JSON['stringify'](_0x5a22a5);}_0x48a8e3['children']&&this['_serializeNodesAttributes'](_0x48a8e3['children']);}}['_deserializeNodesAttributes'](_0x2be1ca){for(const _0x5c654f of _0x2be1ca)(_0x5c654f['attributesBoolean']||_0x5c654f['attributesJson'])&&(_0x5c654f['attributesBoolean']?(_0x5c654f['attributes']=_0x5c654f['attributesBoolean'],delete _0x5c654f['attributesBoolean']):(_0x5c654f['attributes']=JSON['parse'](_0x5c654f['attributesJson']),delete _0x5c654f['attributesJson'])),_0x5c654f['children']&&this['_deserializeNodesAttributes'](_0x5c654f['children']);}['_areValuesBoolean'](_0xb6af97){return Object['keys'](_0xb6af97)['every'](_0x6717b4=>'boolean'==typeof _0xb6af97[_0x6717b4]);}}class MarkerOperationCompressor extends OperationCompressor{['decompress'](_0x35e45c,_0x257ceb){super['decompress'](_0x35e45c,_0x257ceb);const _0x146c43=_0x35e45c[_0x35e45c['length']-0x1];_0x146c43['oldRange']||(_0x146c43['oldRange']=null),_0x146c43['newRange']||(_0x146c43['newRange']=null);}}class NoOperationCompressor extends OperationCompressor{['compress'](_0x4e1d47,_0x2c5da5){return _0x2c5da5['index']++,_0x4e1d47['types']['push'](this['_id']),!0x0;}['decompress'](_0x4eb9e7,_0xc6cc2d){_0xc6cc2d['typeIndex']++,_0x4eb9e7['push']({'__className':this['_operationName']});}}class AnnotationMarkerOperationCompressor extends MarkerOperationCompressor{['_omittedNamespace'];constructor(_0x3cbb0a,_0x220057,_0x56c815,_0x28efba){super(_0x3cbb0a,_0x220057,_0x56c815),this['_omittedNamespace']=_0x28efba+':';}['compress'](_0x599f9d,_0x55d009){const _0x120704=_0x55d009['operations'][_0x55d009['index']];return!('MarkerOperation'!=_0x120704['__className']||!_0x120704['name']['startsWith'](this['_omittedNamespace']))&&(_0x120704['name']=_0x120704['name']['replace'](new RegExp('^'+this['_omittedNamespace']),''),super['compress'](_0x599f9d,_0x55d009),!0x0);}['decompress'](_0x85ffe0,_0x53522e){super['decompress'](_0x85ffe0,_0x53522e);const _0x49d186=_0x85ffe0[_0x85ffe0['length']-0x1];_0x49d186['name']=this['_omittedNamespace']+_0x49d186['name'];}}class ActionCompressor{['_id'];['_context'];constructor(_0x1b8e91,_0x558c92){this['_id']=_0x1b8e91,this['_context']=_0x558c92;}['compress'](_0x3e39da,_0x5bb0c0){let _0x306a75,_0x3343d6=_0x5bb0c0['operations'][_0x5bb0c0['index']],_0x17fc8f=_0x5bb0c0['operations'][_0x5bb0c0['index']+0x1];for(;_0x17fc8f&&this['_compareOperations'](_0x3343d6,_0x17fc8f);)_0x306a75?(_0x306a75=this['_combineNext'](_0x3343d6,_0x306a75),_0x3e39da['types']['push'](0x0)):(_0x306a75=_0x2222d2(_0x3343d6),_0x3e39da['types']['push'](this['_id'])),_0x5bb0c0['index']++,_0x3343d6=_0x5bb0c0['operations'][_0x5bb0c0['index']],_0x17fc8f=_0x5bb0c0['operations'][_0x5bb0c0['index']+0x1];return!!_0x306a75&&(_0x306a75=this['_combineNext'](_0x5bb0c0['operations'][_0x5bb0c0['index']++],_0x306a75),_0x3e39da['types']['push'](0x0),_0x3e39da['buffers']['push'](this['_compressSingleOperation'](_0x306a75)),!0x0);}['decompress'](_0x280f50,_0x411c22){const _0x57027b=this['_decompressSingleOperation'](_0x411c22);for(;0x0==_0x411c22['types'][_0x411c22['typeIndex']];)_0x411c22['typeIndex']++,_0x280f50['push'](this['_splitCurrent'](_0x57027b));_0x280f50['push'](_0x57027b);}}class TypingActionCompressor extends ActionCompressor{['_combineNext'](_0x410a0b,_0x421e5a){return _0x421e5a['nodes'][0x0]['data']+=_0x410a0b['nodes'][0x0]['data'],_0x421e5a;}['_splitCurrent'](_0x157abe){const _0x3c8ca6=_0x2222d2(_0x157abe),_0x8c8f1d=_0x3c8ca6['nodes'][0x0],_0x3458cf=_0x157abe['nodes'][0x0],_0x273b30=_0x3458cf['data'][Symbol['iterator']]()['next']()['value'],_0x596269=_0x273b30['length'];return _0x8c8f1d['data']=_0x273b30,_0x3458cf['data']=_0x3458cf['data']['substr'](_0x596269),_0x157abe['position']=getPositionShiftedBy(_0x157abe['position'],_0x596269),_0x3c8ca6;}['_compareOperations'](_0x2ced1f,_0x5954d5){if(this['_checkOperation'](_0x2ced1f)&&this['_checkOperation'](_0x5954d5)){const _0x3521ad=_0x2ced1f['nodes'][0x0]['data']['length'],_0x66aa8b=arePositionsEqual(getPositionShiftedBy(_0x2ced1f['position'],_0x3521ad),_0x5954d5['position']),_0x48bf70=_0x2ced1f['nodes'][0x0],_0x53a0f4=_0x5954d5['nodes'][0x0];return _0x66aa8b&&this['_compareAttributes'](_0x48bf70,_0x53a0f4);}return!0x1;}['_compressSingleOperation'](_0x1f6349){const _0x241e9c={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('InsertOperation')['compress'](_0x241e9c,{'operations':[_0x1f6349],'index':0x0}),_0x241e9c['buffers'][0x0];}['_decompressSingleOperation'](_0x17b095){const _0x122bba=[];return this['_context']['_getCompressorByName']('InsertOperation')['decompress'](_0x122bba,_0x17b095),_0x122bba[0x0];}['_checkOperation'](_0x513d12){return'InsertOperation'==_0x513d12['__className']&&0x1==_0x513d12['nodes']['length']&&_0x513d12['nodes'][0x0]['data']&&!_0x513d12['wasUndone']&&0x1==Array['from'](_0x513d12['nodes'][0x0]['data'])['length'];}['_compareAttributes'](_0x24d516,_0x498c42){const _0x412636=Object['keys'](_0x24d516['attributes']||{}),_0x264e48=Object['keys'](_0x498c42['attributes']||{});return _0x412636['length']===_0x264e48['length']&&_0x412636['every'](_0x1c2f83=>_0x498c42['attributes'][_0x1c2f83]&&_0x498c42['attributes'][_0x1c2f83]===_0x24d516['attributes'][_0x1c2f83]);}}class DeletingActionCompressor extends ActionCompressor{['_combineNext'](_0x174184,_0x48acff){return _0x48acff['howMany']++,_0x48acff['sourcePosition']=_0x2222d2(_0x174184['sourcePosition']),_0x48acff;}['_splitCurrent'](_0x60b001){const _0x2b2a75=_0x2222d2(_0x60b001);return _0x60b001['howMany']--,_0x2b2a75['howMany']=0x1,_0x2b2a75['sourcePosition']=getPositionShiftedBy(_0x2b2a75['sourcePosition'],_0x60b001['howMany']),_0x2b2a75;}['_compareOperations'](_0xdbaa26,_0x2cc4e2){return!(!this['_checkOperation'](_0xdbaa26)||!this['_checkOperation'](_0x2cc4e2))&&(arePositionsEqual(getPositionShiftedBy(_0xdbaa26['sourcePosition'],-0x1),_0x2cc4e2['sourcePosition'])&&arePositionsEqual(_0xdbaa26['targetPosition'],_0x2cc4e2['targetPosition']));}['_compressSingleOperation'](_0x2c0a8f){const _0x318b33={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x318b33,{'operations':[_0x2c0a8f],'index':0x0}),_0x318b33['buffers'][0x0];}['_decompressSingleOperation'](_0x3de68e){const _0x2b4298=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x2b4298,_0x3de68e),_0x2b4298[0x0];}['_checkOperation'](_0x355246){return'MoveOperation'==_0x355246['__className']&&'$graveyard'==_0x355246['targetPosition']['root']&&0x1==_0x355246['howMany']&&!_0x355246['wasUndone'];}}class ForwardDeletingActionCompressor extends ActionCompressor{['_combineNext'](_0x44c67a,_0x328790){return _0x328790['howMany']++,_0x328790;}['_splitCurrent'](_0x2a4e5a){const _0x3bc501=_0x2222d2(_0x2a4e5a);return _0x3bc501['howMany']=0x1,_0x2a4e5a['howMany']--,_0x3bc501;}['_compareOperations'](_0x455995,_0x2ef338){return!(!this['_checkOperation'](_0x455995)||!this['_checkOperation'](_0x2ef338))&&(arePositionsEqual(_0x455995['sourcePosition'],_0x2ef338['sourcePosition'])&&arePositionsEqual(_0x455995['targetPosition'],_0x2ef338['targetPosition']));}['_compressSingleOperation'](_0xee15d4){const _0x5c34b1={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x5c34b1,{'operations':[_0xee15d4],'index':0x0}),_0x5c34b1['buffers'][0x0];}['_decompressSingleOperation'](_0x5dfac0){const _0x4c0d75=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x4c0d75,_0x5dfac0),_0x4c0d75[0x0];}['_checkOperation'](_0xc7242c){return'MoveOperation'==_0xc7242c['__className']&&'$graveyard'==_0xc7242c['targetPosition']['root']&&0x1==_0xc7242c['howMany']&&!_0xc7242c['wasUndone'];}}class UserSelectionActionCompressor extends ActionCompressor{['compress'](_0x5420c1,_0x4e8720){if(!this['_compareOperations'](_0x4e8720['operations'][_0x4e8720['index']],_0x4e8720['operations'][_0x4e8720['index']+0x1]))return!0x1;const _0x59f8f0=_0x4e8720['operations'][_0x4e8720['index']++];return _0x59f8f0['oldRange']=null,_0x59f8f0['newRange']&&arePositionsEqual(_0x59f8f0['newRange']['start'],_0x59f8f0['newRange']['end'])&&(_0x59f8f0['newRange']['end']=null),_0x4e8720['index']++,_0x5420c1['types']['push'](this['_id']),_0x5420c1['types']['push'](0x0),_0x5420c1['buffers']['push'](this['_compressSingleOperation'](_0x59f8f0)),!0x0;}['decompress'](_0x4ec69c,_0x12e514){const _0x3c9b84=this['_decompressSingleOperation'](_0x12e514);_0x3c9b84['newRange']&&!_0x3c9b84['newRange']['end']&&(_0x3c9b84['newRange']['end']=_0x2222d2(_0x3c9b84['newRange']['start']));const _0x29beed=_0x2222d2(_0x3c9b84);_0x29beed['newRange']&&(_0x29beed['newRange']['start']['stickiness']='toNone',_0x29beed['newRange']['end']=_0x2222d2(_0x29beed['newRange']['start'])),_0x29beed['name']='user:position:'+_0x29beed['name']['split'](':')[0x2],_0x12e514['typeIndex']++,_0x4ec69c['push'](_0x3c9b84),_0x4ec69c['push'](_0x29beed);}['_compressSingleOperation'](_0x22728a){const _0x1fcea7={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MarkerOperation')['compress'](_0x1fcea7,{'operations':[_0x22728a],'index':0x0}),_0x1fcea7['buffers'][0x0];}['_decompressSingleOperation'](_0x19323c){const _0x3b14ce=[];return this['_context']['_getCompressorByName']('MarkerOperation')['decompress'](_0x3b14ce,_0x19323c),_0x3b14ce[0x0];}['_compareOperations'](_0x3b553d,_0x4917a7){return!(!_0x3b553d||!_0x4917a7)&&('MarkerOperation'==_0x3b553d['__className']&&'MarkerOperation'==_0x4917a7['__className']&&!(!_0x3b553d['name']['startsWith']('user:')||!_0x4917a7['name']['startsWith']('user:')||_0x3b553d['name']==_0x4917a7['name']));}}class _0x457bc6{['_compressorById'];['_compressorByName'];['_protobufFactory'];constructor(){this['_compressorById']=new Map(),this['_compressorByName']=new Map(),this['_protobufFactory']=new ProtobufFactory();const _0x24a906=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',_0x24a906,'comment')),this['_registerCompressor'](0x13,'SuggestionMarkerOperation',new AnnotationMarkerOperationCompressor(0x13,'MarkerOperation',_0x24a906,'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'](_0x10dddb){if(!_0x10dddb||!_0x10dddb[0x0])throw new ckeditor5['CKEditorError']('no-operations-provided',this);const _0x25685f={'operations':_0x10dddb,'index':0x0},_0x3e6f27={'types':[],'buffers':[],'baseVersion':_0x10dddb[0x0]['baseVersion']};for(;_0x25685f['index']<_0x25685f['operations']['length'];){if(this['_getCompressorByName']('UserSelectionAction')['compress'](_0x3e6f27,_0x25685f))continue;if(this['_getCompressorByName']('TypingAction')['compress'](_0x3e6f27,_0x25685f))continue;if(this['_getCompressorByName']('DeletingAction')['compress'](_0x3e6f27,_0x25685f))continue;if(this['_getCompressorByName']('ForwardDeletingAction')['compress'](_0x3e6f27,_0x25685f))continue;if(this['_getCompressorByName']('CommentMarkerOperation')['compress'](_0x3e6f27,_0x25685f))continue;if(this['_getCompressorByName']('SuggestionMarkerOperation')['compress'](_0x3e6f27,_0x25685f))continue;const _0x260cbe=_0x25685f['operations'][_0x25685f['index']]['__className'];this['_getCompressorByName'](_0x260cbe)['compress'](_0x3e6f27,_0x25685f);}return _0x3e6f27;}['decompress'](_0x495341){const _0x249851=[],_0x4a9940={'types':_0x495341['types'],'buffers':_0x495341['buffers'],'baseVersion':_0x495341['baseVersion'],'typeIndex':0x0,'bufferIndex':0x0};for(;_0x4a9940['typeIndex']<_0x4a9940['types']['length'];){const _0x4373ae=_0x4a9940['types'][_0x4a9940['typeIndex']],_0x5bdc37=this['_compressorById']['get'](_0x4373ae);if(!_0x5bdc37)throw new ckeditor5['CKEditorError']('decompress-compressor-not-found',this,{'type':_0x4373ae});_0x5bdc37['decompress'](_0x249851,_0x4a9940);}return _0x249851['forEach']((_0x17da08,_0x36dcd1)=>_0x17da08['baseVersion']=_0x495341['baseVersion']+_0x36dcd1),_0x249851;}['_getCompressorByName'](_0x290c75){return this['_compressorByName']['get'](_0x290c75);}['_registerOperationCompressor'](_0x1928d0,_0x46e52b,_0x3abb87){const _0x53a536=new _0x3abb87(_0x1928d0,_0x46e52b,this['_protobufFactory']['getDescriptor'](_0x46e52b));this['_registerCompressor'](_0x1928d0,_0x46e52b,_0x53a536);}['_registerActionCompressor'](_0xbe064b,_0x16bb14,_0x2e0b59){const _0x566d32=new _0x2e0b59(_0xbe064b,this);this['_registerCompressor'](_0xbe064b,_0x16bb14,_0x566d32);}['_registerCompressor'](_0x47f7e7,_0x564c4d,_0x2378f8){this['_compressorById']['set'](_0x47f7e7,_0x2378f8),this['_compressorByName']['set'](_0x564c4d,_0x2378f8);}}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,_0x396361,_0x5b18a2,ckeditor5['PendingActions'],_0x5e54fb,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 _0x56eae2=this['serverHistory']['getOperations']();for(let _0x4d073a=_0x56eae2['length']-0x1;_0x4d073a>=0x0;_0x4d073a--){const _0x2c8e20=_0x56eae2[_0x4d073a];if(!this['_disconnectionOperations']['has'](_0x2c8e20))return _0x2c8e20['baseVersion']+0x1-this['_offset'];}return 0x0;}constructor(_0x3b8b5c){if(super(_0x3b8b5c),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 _0x5f262f=_0x3b8b5c['config']['get']('cloudServices.bundleVersion')||ckeditor5['version'];this['_service']=new RealTimeCollaborationClient['CollaborativeEditingService'](_0x5f262f,this['_channelId']),this['_document']=this['editor']['model']['document'],this['_compressor']=new _0x457bc6(),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 _0x4b0602=this['editor'],_0x3ee1ad=_0x4b0602['plugins']['get'](_0x5e54fb),_0x1298bf=_0x4b0602['plugins']['get'](WebSocketGateway);this['listenTo'](_0x3ee1ad,'getOperationAuthor',(_0x3dabe0,_0x251e54)=>{const _0x81f624=_0x251e54[0x0];_0x81f624['_authorId']&&(_0x3dabe0['return']=_0x3ee1ad['getUser'](_0x81f624['_authorId']),_0x3dabe0['stop']()),null===_0x81f624['_authorId']&&(_0x3dabe0['return']=null,_0x3dabe0['stop']());},{'priority':'high'}),this['listenTo'](_0x4b0602['model']['document']['selection'],'change:range',(_0x70038e,_0x5229da)=>{_0x5229da['directChange']&&this['_refreshUserSelectionMarkers']();}),this['listenTo'](_0x4b0602['editing']['view'],'change:hasDomSelection',()=>{this['_refreshUserSelectionMarkers']();}),this['_initThrowingOnDataSet'](),_0x4b0602['model']['on']('applyOperation',(_0x3ceb28,_0x3a8df4)=>{const _0x55688a=_0x3a8df4[0x0];_0x55688a['isDocumentOperation']&&(this['_saveOperationInBuffer'](_0x55688a),this['_shouldSendUpdate']()&&this['_sendBufferedOperationsDelayed']());}),this['_setUpDataInit'](),this['bind']('_isEditingAllowed')['to'](_0x1298bf,'state',this,'_hasSynchronizationProblem',(_0x54d7b1,_0x3e35cf)=>'connected'===_0x54d7b1&&!_0x3e35cf),this['on']('change:_isEditingAllowed',()=>{this['_isEditingAllowed']?_0x4b0602['disableReadOnlyMode']('rtc-offline'):_0x4b0602['enableReadOnlyMode']('rtc-offline');}),this['_isEditingAllowed']?_0x4b0602['disableReadOnlyMode']('rtc-offline'):_0x4b0602['enableReadOnlyMode']('rtc-offline'),this['set']('_isConnected',!0x1);}async['reconnect'](){const _0x2322ae=this['editor']['plugins']['get'](_0x396361),_0x37be02=this['editor']['plugins']['get'](WebSocketGateway);try{this['_isPendingUpdate']=!0x0,_0x2322ae['unregister'](this['_channelId']);const _0x43a905=await this['_service']['reconnect'](_0x37be02['connection'],this['lastSyncVersion']);await this['_handleReconnectionResponse'](_0x43a905)&&(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());const _0x3ff6e9=await this['_service']['getConnectedSessions']();_0x2322ae['register'](this['_channelId'],_0x3ff6e9),this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}catch(_0x53e949){if(isSessionNotExistingError(_0x53e949)&&this['sessionId'])await this['_connectAfterSessionHasBeenFlushed']();else{if(isBaseVersionMismatchError(_0x53e949)){const _0x4014e1=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'](_0x4014e1);}else{if(!(_0x53e949 instanceof ReconnectionError))throw _0x53e949;this['_handleReconnectionError']();}}}}['destroy'](){const _0x5c80f9=this['editor']['plugins']['get'](WebSocketGateway),_0x305e69=this['editor']['plugins']['get'](_0x396361);this['editor']['enableReadOnlyMode']('rtc-destroyed'),_0x305e69['channelSessions']['has'](this['_channelId'])&&_0x305e69['unregister'](this['_channelId']),_0x5c80f9['removeFromReconnectionStack'](this),this['_disconnectService'](),super['destroy']();}async['_handleReconnectionResponse'](_0x1165c0){if(this['sessionId']!==_0x1165c0['sessionId']&&this['_lastSyncedOperationId']!==_0x1165c0['lastOperationId'])throw new ReconnectionError();return this['sessionId']=_0x1165c0['sessionId'],this['_handleServerResponse']([],{..._0x1165c0,'wereChangesApplied':!0x1,'data':_0x1165c0['data']},'reconnect');}async['_connectService'](_0x4fa8a2,_0x1f2c6c=!0x1){const {connection:_0x22d153}=this['editor']['plugins']['get'](WebSocketGateway);RealTimeCollaborationClient['CollaborativeEditingService']['getConnectedSessions'](_0x22d153,this['_channelId'])['then'](_0x9d928f=>this['_initSessionsHandling'](_0x9d928f))['catch'](_0xe264ac=>{this['_crash']('realtimecollaborationclient-init-session-connection-error',_0xe264ac);}),this['listenTo'](this['_service'],'operationsReceived',this['_handleReceivedOperations']['bind'](this)),this['listenTo'](this['_service'],'error',(_0x5bdf8a,_0x4e3bce)=>{this['_crash']('realtimecollaborationclient-init-service-internal-error',_0x4e3bce);}),this['listenTo'](this['_service'],'disconnected',()=>{this['_isConnected']=!0x1;});const _0x1779e6=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x4fa8a2);this['_isPendingUpdate']=!0x0;const _0x5da4ec=await this['_service']['connect'](_0x22d153,this['_compressOperations'](_0x4fa8a2),_0x1779e6);if(this['sessionId']=_0x5da4ec['sessionId'],_0x1f2c6c){if(!_0x5da4ec['wereChangesApplied'])return void this['_handleReconnectionError']();this['_isPendingUpdate']=!0x1,this['_clearPendingAction'](),this['serverHistory']['reset'](),this['_offset']=_0x5da4ec['offset'],this['serverHistory']['version']=this['_offset'],await this['_handleServerResponse'](_0x4fa8a2,_0x5da4ec,'reconnection:\x20flushed\x20session');}else await this['_handleInitialConnectionData'](_0x5da4ec,_0x4fa8a2);this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}['_handleSendingSelectionMarkers'](){const _0x120f92=this['editor']['plugins']['get'](_0x396361),_0x2bba1d=this['editor']['plugins']['get'](_0x5b18a2),_0x1ed860=_0x120f92['channelSessions']['get'](this['_channelId']);_0x1ed860&&_0x1ed860['length']>0x1?_0x2bba1d['createUserMarkerOperations']():this['listenTo'](_0x120f92,'sessionAdd:'+this['_channelId'],()=>{0x2===_0x120f92['channelSessions']['get'](this['_channelId'])['length']&&_0x2bba1d['createUserMarkerOperations']();});}async['_handleReceivedOperations'](_0x5eb514,_0x4135a7,_0x2406a9,_0x26376b){if(!this['_isPendingUpdate']&&this['_document']['version']==_0x4135a7){const _0x17cf9f=this['_decompressOperations'](_0x2406a9,_0x26376b);await this['_fetchMissingUsers'](_0x17cf9f),this['_handleExternalOperations'](_0x17cf9f,_0x4135a7,_0x2406a9['lastOperationId'])||this['_crash']('realtimecollaborationclient-init-service-incorrect-server-operation');}}async['_connectAfterSessionHasBeenFlushed'](){this['_disconnectService']();const {locale:_0x2e1661}=this['editor'];let _0x2ba3c9;try{_0x2ba3c9=await this['_service']['getDocumentDetails']();}catch{const _0x3d01d4=getTranslation$6(_0x2e1661,'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'](_0x3d01d4);}const _0x34190b=_0x2ba3c9['currentDocumentSession']||_0x2ba3c9['lastDocumentSession'];if(this['_lastSyncedOperationId']!==_0x34190b['lastOperationId']){const _0x4ed73b=getTranslation$6(_0x2e1661,'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'](_0x4ed73b);}await this['_connectService'](this['editor']['model']['document']['history']['getOperations'](),!0x0);}['_disconnectService'](){this['_service']['disconnect'](),this['_bufferedOperations']=[],clearTimeout(this['_sendBufferedOperationsDelayId']),this['stopListening'](this['_service']);}['_initSessionsHandling'](_0x4f9e44){const _0x2868ec=this['editor']['plugins']['get'](_0x396361);this['listenTo'](_0x2868ec,'sessionAdd:'+this['_channelId'],(_0x434e41,{session:_0xcc0181})=>{if(_0xcc0181['id']===_0x2868ec['mySessionId']){_0x434e41['off']();const _0x3877ff=this['editor']['plugins']['has']('CommentsOnly')&&this['editor']['plugins']['get']('CommentsOnly');let _0x17c707=_0xcc0181['permissions'];_0x3877ff&&_0x3877ff['isEnabled']&&(_0x17c707=_0x17c707['filter'](_0x3e6841=>'document:write'!==_0x3e6841)),this['editor']['plugins']['get']('Permissions')['setPermissions'](_0x17c707,this['_channelId']);}}),_0x2868ec['register'](this['_channelId'],_0x4f9e44);}['_initThrowingOnDataSet'](){const _0x105ada=this['editor']['data']['set'];this['editor']['data']['set']=(..._0x61013)=>{if(!_0x61013[_0x61013['length']-0x1]['suppressErrorInCollaboration'])throw new ckeditor5['CKEditorError']('realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration',this);_0x105ada['apply'](this['editor']['data'],_0x61013);};}['_setUpDataInit'](){this['editor']['data']['on']('init',(_0x2c4aec,[_0x15221d])=>{if(this['_document']['version'])throw new ckeditor5['CKEditorError']('realtimecollaborationclient-init-document-already-initialized',this);_0x2c4aec['stop'](),this['_setPendingAction']();const _0xf65b6f=this['editor']['config']['get']('rootsAttributes'),_0x33cc24=this['_getOperationsFromInitData'](_0x15221d,_0xf65b6f);0x0==_0x33cc24['length']&&_0x33cc24['push'](new ckeditor5['NoOperation'](0x0)),_0x2c4aec['return']=this['_connectService'](_0x33cc24)['then'](()=>{this['editor']['plugins']['get'](WebSocketGateway)['addToReconnectionStack'](this),this['editor']['data']['fire']('ready');})['catch'](_0x210d1a=>this['_crash']('realtimecollaborationclient-init-connection-failed',_0x210d1a))['finally'](()=>this['_clearPendingAction']());},{'priority':'high'}),this['editor']['on']('loadRoot',async(_0x1499ec,[_0xbaf553,_0x57b553])=>{_0x1499ec['stop']();const _0x246c42=this['editor']['model']['document']['getRoot'](_0xbaf553);if(!this['_knownRootNames']['has'](_0xbaf553)){const _0x11802c=_0x57b553&&_0x57b553['data']?_0x57b553['data']:'',_0xffd9d8=_0x57b553&&_0x57b553['attributes']?_0x57b553['attributes']:{};await this['_loadRoot'](_0xbaf553,_0x11802c,_0xffd9d8);}this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x246c42['_isLoaded']=!0x0,this['editor']['model']['document']['differ']['_bufferRootLoad'](_0x246c42);});},{'priority':'high'});}async['_fetchMissingUsers'](_0x47befe){const _0x50751f=this['editor']['plugins']['get'](_0x5e54fb),{connection:_0x4a29ce}=this['editor']['plugins']['get'](WebSocketGateway),_0x397bfc=new Set();for(const _0x2295b3 of _0x47befe){const _0x3bb0ad=_0x2295b3['_authorId'];_0x3bb0ad&&!_0x50751f['getUser'](_0x3bb0ad)&&_0x397bfc['add'](_0x3bb0ad);}if(0x0===_0x397bfc['size'])return;const _0x49c1ea=await _0x555272['getMany'](_0x4a29ce,Array['from'](_0x397bfc));for(const _0x5322e4 of _0x49c1ea)_0x50751f['getUser'](_0x5322e4['id'])||_0x50751f['addUser'](_0x5322e4);}['_getOperationsFromInitData'](_0x59c559,_0x1fbcf9={}){const _0x209464=this['editor']['model'],_0x1ecb17=[];let _0xd56416=0x0;const _0x2ba558='string'==typeof _0x59c559?{'main':_0x59c559}:_0x59c559;for(const _0x4de799 of Object['keys'](_0x2ba558)){if(!this['_document']['roots']['has'](_0x4de799))throw new ckeditor5['CKEditorError']('realtimecollaborationclient-init-non-existent-root',this);const _0x4c7846=this['editor']['data']['parse'](_0x2ba558[_0x4de799]),_0x529428=this['_document']['getRoot'](_0x4de799),_0x47423a=new ckeditor5['InsertOperation'](_0x209464['createPositionAt'](_0x529428,0x0),_0x4c7846,_0xd56416++);_0x1ecb17['push'](_0x47423a);for(const [_0x3d6da0,_0x1e1781]of _0x4c7846['markers']){const _0x474ba8=_0x209464['createRange'](_0x209464['createPositionFromPath'](_0x529428,_0x1e1781['start']['path']['slice']()),_0x209464['createPositionFromPath'](_0x529428,_0x1e1781['end']['path']['slice']())),_0x30b631=new ckeditor5['MarkerOperation'](_0x3d6da0,null,_0x474ba8,_0x209464['markers'],!0x0,_0xd56416++);_0x1ecb17['push'](_0x30b631);}}if(_0x1fbcf9)for(const [_0x2fe023,_0x45b965]of Object['entries'](_0x1fbcf9)){const _0x3b873f=_0x209464['document']['getRoot'](_0x2fe023);if(!_0x3b873f)throw new ckeditor5['CKEditorError']('multi-root-editor-root-attributes-no-root',null);for(const [_0x206b9c,_0x54344b]of Object['entries'](_0x45b965))if(null!==_0x54344b){const _0x4c5303=new ckeditor5['RootAttributeOperation'](_0x3b873f,_0x206b9c,null,_0x54344b,_0xd56416++);_0x1ecb17['push'](_0x4c5303);}}return _0x1ecb17;}async['_loadRoot'](_0x378806,_0x18996f,_0x15fc2d){this['_getOperationsFromInitData']({[_0x378806]:_0x18996f},{[_0x378806]:_0x15fc2d})['forEach']((_0x479612,_0x3c4fa9)=>{_0x479612['baseVersion']=this['_document']['version']+_0x3c4fa9,_0x479612['_isInit']=!0x0,this['_saveOperationInBuffer'](_0x479612);}),this['_sendBufferedOperationsDelayed'](),await this['_waitUntilSynced']();}async['_handleInitialConnectionData'](_0x26c96a,_0x3597e1){let _0x3a77c2;this['_offset']=_0x26c96a['offset'];const _0x234d96=_0x26c96a['wereChangesApplied']&&!_0x26c96a['initData'],_0x39c921=_0x234d96?0x0:_0x26c96a['data']['baseVersion'];if(_0x3597e1['forEach'](_0x22efe6=>{_0x22efe6['_isInit']=!0x0,_0x22efe6['createdAt']=_0x26c96a['sessionCreatedAt'],_0x22efe6['_authorId']=null;}),_0x234d96)_0x3a77c2=_0x3597e1,this['_applyOperationsSet'](_0x3a77c2,_0x234d96);else{if(_0x26c96a['initData']){const _0x3b60af=this['_getOperationsFromInitData'](_0x26c96a['initData']);this['_document']['history']['version']=-_0x3b60af['length'],_0x3b60af['forEach'](_0x54a5eb=>{_0x54a5eb['baseVersion']-=_0x3b60af['length'],_0x54a5eb['createdAt']=_0x26c96a['sessionCreatedAt'],_0x54a5eb['_isInit']=!0x0,_0x54a5eb['_authorId']=null;}),this['_applyOperationsSet'](_0x3b60af,!0x0),this['serverHistory']['version']=-_0x3b60af['length']+this['_offset'],this['_updateServerHistory'](_0x3b60af);}this['_document']['history']['version']=_0x39c921,_0x3a77c2=this['_decompressOperations'](_0x26c96a['data'],_0x26c96a['metadata']),await this['_fetchMissingUsers'](_0x3a77c2),this['_applyOperationsSet'](_0x3a77c2,_0x234d96);}_0x26c96a['lastOperationId']&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x3a77c2,_0x26c96a['lastOperationId']),this['_lastSyncedOperationId']=_0x26c96a['lastOperationId']),this['serverHistory']['version']=_0x39c921+this['_offset'],this['_updateServerHistory'](_0x3a77c2),_0x3597e1['filter'](_0x401cfc=>{const _0x4187a4=this['_getAffectedRoot'](_0x401cfc);return _0x4187a4&&!this['_knownRootNames']['has'](_0x4187a4);})['forEach']((_0x3693b7,_0x198247)=>{_0x3693b7['baseVersion']=this['_document']['version']+_0x198247,this['_saveOperationInBuffer'](_0x3693b7);}),this['_shouldSendUpdate']()?(this['_currentBufferDelay']=0x0,this['_sendBufferedOperationsDelayed'](!0x0),await this['_waitUntilSynced']()):(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());}['_crash'](_0x278cf0,_0x3c8131){const _0x4318bd=_0x3c8131&&_0x3c8131['message'];if(_0x4318bd&&_0x4318bd['startsWith']('realtimecollaborationclient'))throw _0x3c8131;const _0x2f2f4a=this['editor']['plugins']['get'](WebSocketGateway);throw this['_isPendingUpdate']=!0x0,_0x2f2f4a['disconnect'](),this['editor']['enableReadOnlyMode']('realtimecollaborationclient-error'),new ckeditor5['CKEditorError'](_0x278cf0,this['editor'],_0x4318bd?{'originalError':_0x4318bd}:void 0x0);}['_saveOperationInBuffer'](_0x586ac7){this['_knownOperations']['has'](_0x586ac7)||(this['_knownOperations']['add'](_0x586ac7),this['_bufferedOperations']['push'](_0x586ac7),this['_pendingAction']||'marker'==_0x586ac7['type']&&!_0x586ac7['affectsData']||this['_setPendingAction']());}['_sendBufferedOperationsDelayed'](_0xfa5564=!0x1){!_0xfa5564&&this['_isPendingUpdate']||(this['_isPendingUpdate']=!0x0,clearTimeout(this['_sendBufferedOperationsDelayId']),this['_sendBufferedOperationsDelayId']=setTimeout(()=>{this['_sendBufferedOperations']()['then'](_0x569df7=>{_0x569df7&&(this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1);})['catch'](_0x2f22ee=>{this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1,isDisconnectionError$3(_0x2f22ee)||this['_crash'](_0x2f22ee['message'],_0x2f22ee);});},this['_currentBufferDelay']));}['_waitUntilSynced'](){return new Promise(_0xec1d5a=>{this['on']('change:_isPendingUpdate',()=>{_0xec1d5a();});});}async['_sendBufferedOperations'](){const _0x2b6ba8=this['editor']['plugins']['get'](_0x5b18a2);if(this['_shouldSendSelectionUpdate']()&&(_0x2b6ba8['createUserMarkerOperations'](),this['_hasSelectionChanged']=!0x1),!this['_shouldSendUpdate']())return!0x0;const _0x3071bf=[...this['_bufferedOperations']];for(const _0x28fe35 of _0x3071bf)_0x28fe35['wasUndone']=this['_document']['history']['isUndoneOperation'](_0x28fe35);const _0x16b18d=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x3071bf),_0x614053=requestCount++,_0x48660f=this['_compressOperations'](_0x3071bf),_0x3a09cf=await this['_service']['sendOperations'](_0x48660f,_0x48660f['baseVersion'],_0x16b18d);try{return await this['_handleServerResponse'](_0x3071bf,_0x3a09cf,_0x614053);}catch(_0x3afce4){return this['_crash']('realtimecollaborationclient-sendbufferedoperations',_0x3afce4);}}async['_handleServerResponse'](_0x4007e0,_0x115e92,_0x3c1920){if('error'in _0x115e92)throw _0x115e92['error'];let _0xe4610f=!0x1;if(_0x115e92['wereChangesApplied']){_0x115e92['lastOperationId']&&(this['_lastSyncedOperationId']=_0x115e92['lastOperationId']),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0x183173=>!_0x4007e0['includes'](_0x183173));for(const _0x11af04 of _0x4007e0)_0x11af04['createdAt']='lastOperationAcceptedAt'in _0x115e92&&_0x115e92['lastOperationAcceptedAt']||void 0x0;updateBaseVersions(_0x4007e0,_0x115e92['version']-_0x4007e0['length']),this['_updateServerHistory'](_0x4007e0);const _0x9e7ec9=_0x4007e0['filter'](_0x3ddb5d=>{if(!_0x3ddb5d['_isInit'])return!0x1;const _0x2a7e9b=this['_getAffectedRoot'](_0x3ddb5d);return _0x2a7e9b&&!this['_knownRootNames']['has'](_0x2a7e9b);});updateBaseVersions(_0x9e7ec9,this['_document']['version']),this['_applyOperationsSet'](_0x9e7ec9),_0xe4610f=!0x0,this['_currentBufferDelay']=this['_baseBufferDelay'];}else{const _0x5735cf=this['_decompressOperations'](_0x115e92['data'],_0x115e92['metadata'])['filter'](_0x183b0c=>_0x183b0c['baseVersion']>=this['_lastServerVersion']);_0x5735cf['forEach'](_0x3ebff9=>this['_addKnownRoot'](_0x3ebff9)),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0x29004c=>!_0x29004c['_isInit']||!this['_knownRootNames']['has'](this['_getAffectedRoot'](_0x29004c))),this['_bufferedOperations']['length']&&updateBaseVersions(this['_bufferedOperations'],this['_bufferedOperations'][0x0]['baseVersion']),await this['_fetchMissingUsers'](_0x5735cf),_0xe4610f=this['_handleExternalOperations'](_0x5735cf,_0x115e92['version'],_0x115e92['lastOperationId']),this['_currentBufferDelay']=Math['round'](this['_currentBufferDelay']/0x2);}return _0xe4610f?!this['_shouldSendUpdate']()||(this['_sendBufferedOperationsDelayed'](!0x0),!0x1):this['_crash']('realtimecollaborationclient-handleserverresponse');}['_handleExternalOperations'](_0x5ee54a,_0x3f7695,_0x5b2665){try{const _0xe6b6fb={'document':this['_document'],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1de73a,operationsB:_0x1fadf2,originalOperations:_0x2e9a4f}=ckeditor5['transformOperationSets'](_0x5ee54a,this['_bufferedOperations'],_0xe6b6fb);updateBaseVersions(_0x1de73a,this['_document']['version']),updateBaseVersions(_0x1fadf2,_0x3f7695);for(const _0xd49f9a of _0x1de73a){const _0x5a833d=_0x2e9a4f['get'](_0xd49f9a);_0xd49f9a['_authorId']=_0x5a833d?_0x5a833d['_authorId']:null;}_0x5b2665&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x5ee54a,_0x5b2665),this['_lastSyncedOperationId']=_0x5b2665),this['_bufferedOperations']=[..._0x1fadf2],this['_applyOperationsSet'](_0x1de73a),this['_updateServerHistory'](_0x5ee54a);}catch(_0x301b75){return console['error'](_0x301b75),!0x1;}return!0x0;}['_applyOperationsSet'](_0x3ce5ae,_0x480e36=!0x1){this['editor']['model']['enqueueChange']({'isUndoable':!0x1,'isLocal':!0x1},_0x125dbb=>{for(const _0x2679f1 of _0x3ce5ae)this['_knownOperations']['add'](_0x2679f1),this['_addKnownRoot'](_0x2679f1),_0x125dbb['batch']['addOperation'](_0x2679f1),this['editor']['model']['applyOperation'](_0x2679f1);});}['_addKnownRoot'](_0x1d6d64){const _0x1326bf=this['_getAffectedRoot'](_0x1d6d64);_0x1326bf&&this['_knownRootNames']['add'](_0x1326bf);}['_getAffectedRoot'](_0x5e4e76){let _0x1a5427,_0x250578;switch(_0x5e4e76['type']){case'insert':_0x1a5427=_0x5e4e76['position']['root'];break;case'marker':if(_0x250578=_0x5e4e76['newRange'],!_0x250578)return null;_0x1a5427=_0x250578['root'];break;case'addRootAttribute':_0x1a5427=_0x5e4e76['root'];break;case'addRoot':_0x1a5427=_0x5e4e76['affectedSelectable'];break;case'move':_0x1a5427=_0x5e4e76['targetPosition']['root'];break;default:return null;}return _0x1a5427['rootName'];}['_updateServerHistory'](_0x3445b6){_0x3445b6['forEach'](_0x11d8b2=>{const _0x3f4c0c=_0x11d8b2['clone']();_0x3f4c0c['_authorId']=_0x11d8b2['_authorId'],_0x3f4c0c['_isInit']=!!_0x11d8b2['_isInit'],_0x3f4c0c['createdAt']=_0x11d8b2['createdAt'],_0x3f4c0c['baseVersion']+=this['_offset'],_0x11d8b2['_isDisconnection']&&this['_disconnectionOperations']['add'](_0x3f4c0c),this['serverHistory']['addOperation'](_0x3f4c0c);});}['_handleReconnectionError'](_0x47096b){const _0xc6936e=this['editor']['plugins']['get']('Notification'),_0x1048a3=this['editor']['locale'];_0x47096b||(_0x47096b=getTranslation$6(_0x1048a3,'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.')),_0xc6936e['showWarning'](_0x47096b,{'title':getTranslation$6(_0x1048a3,'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'](_0x4247ea){const _0x4d9e9e=_0x4247ea['map'](_0x5ce020=>_0x5ce020['toJSON']());return this['_compressor']['compress'](_0x4d9e9e);}['_decompressOperations'](_0x2717f8,_0x28d56c){return this['_compressor']['decompress'](_0x2717f8)['map']((_0x2a0d89,_0x2369d1)=>{const _0x485d11='init'==_0x28d56c[_0x2369d1]['type'];if('InsertOperation'==_0x2a0d89['__className']){const _0x6ea210=_0x2a0d89['position']['root'];!this['_document']['getRoot'](_0x6ea210)&&(this['_document']['createRoot']('$root',_0x6ea210)['_isAttached']=!0x1);}const _0x1ec254=ckeditor5['OperationFactory']['fromJSON'](_0x2a0d89,this['_document']);return _0x1ec254['wasUndone']=_0x2a0d89['wasUndone'],_0x1ec254['_isInit']=_0x485d11,_0x1ec254['_authorId']=_0x485d11?null:_0x28d56c[_0x2369d1]['userId'],_0x1ec254['_isDisconnection']='cs:removeUser'===_0x28d56c[_0x2369d1]['type'],_0x1ec254['createdAt']=_0x28d56c[_0x2369d1]['createdAt'],_0x1ec254;});}['_refreshUserSelectionMarkers'](){this['_hasSelectionChanged']=!0x0,this['_shouldSendSelectionUpdate']()?this['_sendBufferedOperationsDelayed']():this['_hasSelectionChanged']=!0x1;}['_shouldSendSelectionUpdate'](){const _0x4461cb=this['editor']['plugins']['get'](_0x396361)['channelSessions']['get'](this['_channelId']);return!this['editor']['isReadOnly']&&!!_0x4461cb&&_0x4461cb['length']>0x1&&this['_hasSelectionChanged'];}['_shouldSendUpdate'](){return this['_bufferedOperations']['length']>0x0||this['_shouldSendSelectionUpdate']();}}class ReconnectionError extends Error{}function updateBaseVersions(_0x14079c,_0x4232de){for(const _0x25147e of _0x14079c)_0x25147e['baseVersion']=_0x4232de++;}function isSessionNotExistingError(_0x1cc1a8){return'404'===_0x1cc1a8['code'];}function isBaseVersionMismatchError(_0x18b98b){return'409'===_0x18b98b['code'];}function isDisconnectionError$3(_0x51b528){return _0x51b528['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x51b528['message']['startsWith']('cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.')||_0x51b528['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}class OperationIdentifier{['_ignoredOperations'];['_operationToId'];constructor(_0x26b5f5){this['_ignoredOperations']=_0x26b5f5,this['_operationToId']=new WeakMap();}['getIdOfTheLastOperation'](_0x239938){let _0x4a296c=_0x239938['length'];for(;_0x4a296c--;){const _0x47be06=_0x239938[_0x4a296c];if(!this['_ignoredOperations']['has'](_0x47be06)){if(!this['_operationToId']['has'](_0x47be06)){const _0x388e43=ckeditor5['uid']()['slice'](0x1,0x12);this['_operationToId']['set'](_0x47be06,_0x388e43);}return this['_operationToId']['get'](_0x47be06);}}}['setIdForTheLastOperation'](_0xd68b3c,_0x150fd2){if(!_0x150fd2)return;let _0x4540ab=_0xd68b3c['length'];for(;_0x4540ab--;){const _0x15fe84=_0xd68b3c[_0x4540ab];this['_ignoredOperations']['has'](_0x15fe84)||this['_operationToId']['set'](_0x15fe84,_0x150fd2);}}}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',_0x396361,_0x5e54fb];}static get['pluginName'](){return'CloudServicesCommentsAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x57410e){super(_0x57410e),this['_services']=new Map();}async['init'](){const _0x5c2e6d=this['context'],_0x3f13ea=_0x5c2e6d['plugins']['get']('CommentsRepository');if(_0x5c2e6d['plugins']['get'](WebSocketGateway)['addToReconnectionStack'](this),_0x3f13ea['adapter']={'addCommentThread':async({channelId:_0xe0411c,threadId:_0x30a334,comments:_0x205152,resolvedAt:_0x10f077,resolvedBy:_0x4705d0,context:_0x1ffd76,attributes:_0x36e26c})=>{const _0x45ea16=await this['_getService'](_0xe0411c)['addCommentThread']({'commentThreadId':_0x30a334,'comments':_0x205152['map'](_0x51f4b0=>parseLocalCommentToRemote(_0x51f4b0,_0xe0411c,_0x30a334)),'resolvedAt':_0x10f077,'resolvedBy':_0x4705d0,'context':_0x1ffd76,'attributes':_0x36e26c})['catch'](handleDisconnectionError$1);return{'threadId':_0x45ea16['commentThreadId'],'comments':_0x45ea16['comments']};},'getCommentThread':async({channelId:_0x3aafc9,threadId:_0xf435e9})=>{const _0x148146=await this['_getService'](_0x3aafc9)['getCommentThread'](_0xf435e9)['catch'](_0x476388)['catch'](handleDisconnectionError$1);return _0x148146?_0x148146['deletedAt']?null:(await this['_fetchMissingUsersForThreads']([_0x148146]),{'threadId':_0x148146['commentThreadId'],'comments':_0x148146['comments']['map'](parseRemoteCommentToLocal),'context':_0x148146['context'],'resolvedAt':_0x148146['resolvedAt'],'resolvedBy':_0x148146['resolvedBy'],'attributes':_0x148146['attributes']||{}}):null;},'updateCommentThread':async({channelId:_0x307932,threadId:_0x1a7c6b,context:_0x437eb1,unlinkedAt:_0x307ee7,attributes:_0x22483f})=>this['_getService'](_0x307932)['updateCommentThread']({'commentThreadId':_0x1a7c6b,'context':_0x437eb1,'attributes':_0x22483f,'unlinkedAt':_0x307ee7})['catch'](_0x476388)['catch'](handleDisconnectionError$1),'resolveCommentThread':async({channelId:_0x445c8f,threadId:_0x5b4376})=>{const _0x41525e=await this['_getService'](_0x445c8f)['resolveCommentThread'](_0x5b4376)['catch'](_0x476388)['catch'](handleDisconnectionError$1);return{'threadId':_0x41525e['commentThreadId'],'resolvedAt':_0x41525e['resolvedAt'],'resolvedBy':_0x41525e['resolvedBy']};},'reopenCommentThread':async({channelId:_0x3e4cd8,threadId:_0x43ac00})=>this['_getService'](_0x3e4cd8)['reopenCommentThread'](_0x43ac00)['catch'](_0x476388)['catch'](handleDisconnectionError$1),'removeCommentThread':({channelId:_0x534d03,threadId:_0x34f9dc})=>this['_getService'](_0x534d03)['removeCommentThread'](_0x34f9dc)['catch'](_0x476388)['catch'](handleDisconnectionError$1),'addComment':({channelId:_0x50c3dc,threadId:_0x3c30ec,commentId:_0x41b45d,content:_0x1f431a,attributes:_0x143ea9})=>this['_getService'](_0x50c3dc)['addComment'](_0x3c30ec,_0x41b45d,_0x1f431a,_0x143ea9)['catch'](handleDisconnectionError$1),'updateComment':({channelId:_0x5dd514,threadId:_0x3ec64f,commentId:_0x1ddb36,content:_0xca51ed,attributes:_0x18aa01})=>this['_getService'](_0x5dd514)['updateComment'](_0x3ec64f,_0x1ddb36,_0xca51ed,_0x18aa01)['catch'](_0x476388)['catch'](handleDisconnectionError$1),'removeComment':({channelId:_0x5a1b15,threadId:_0x1ddefd,commentId:_0x51d1b5})=>this['_getService'](_0x5a1b15)['removeComment'](_0x1ddefd,_0x51d1b5)['catch'](_0x476388)['catch'](handleDisconnectionError$1)},_0x5c2e6d instanceof ckeditor5['Context']){const _0x2d2e96=_0x5c2e6d['config']['get']('collaboration.channelId'),_0x438d21=_0x5c2e6d['plugins']['get'](_0x396361);await this['_setUpService'](_0x2d2e96);const _0x334d90=await this['_services']['get'](_0x2d2e96)['getConnectedSessions']();this['listenTo'](_0x438d21,'sessionAdd:'+_0x2d2e96,(_0x2a0cf9,{session:_0x13a26b})=>{_0x13a26b['id']===_0x438d21['mySessionId']&&(_0x2a0cf9['off'](),this['context']['plugins']['get']('Permissions')['setPermissions'](_0x13a26b['permissions'],_0x2d2e96));}),_0x438d21['register'](_0x2d2e96,_0x334d90);}}async['_setUpService'](_0x5bfc96){if(this['_services']['has'](_0x5bfc96))throw new ckeditor5['CKEditorError']('cloudservicescommentsadapter-connect-already-connected',null,{'channelId':_0x5bfc96});const _0x2af37d=this['context']['plugins']['get']('CommentsRepository'),_0xaa524f=new CloudServicesCommentsAdapter['CommentsService'](_0x5bfc96);this['_services']['set'](_0x5bfc96,_0xaa524f),this['listenTo'](_0xaa524f,'commentThreadAdded',(_0xc04fd1,_0x26a472)=>{const {commentThreadId:_0x2032fa,documentId:_0x5b424e,context:_0xda02ae,attributes:_0x28effc,resolvedAt:_0x3d1174,resolvedBy:_0x579562,comments:_0x591244}=_0x26a472;_0x2af37d['getCommentThread'](_0x2032fa)||_0x2af37d['addCommentThread']({'threadId':_0x2032fa,'channelId':_0x5b424e,'comments':_0x591244?_0x591244['map'](parseRemoteCommentToLocal):[],'context':_0xda02ae,'attributes':_0x28effc,'resolvedAt':_0x3d1174,'resolvedBy':_0x579562,'isFromAdapter':!0x0});}),this['listenTo'](_0xaa524f,'commentThreadUpdated',(_0x4453d7,{commentThreadId:_0x3c1490,documentId:_0x2aa52f,context:_0x19c65a,unlinkedAt:_0x120114,attributes:_0x3ee120})=>{_0x2af37d['getCommentThread'](_0x3c1490)&&_0x2af37d['updateCommentThread']({'threadId':_0x3c1490,'channelId':_0x2aa52f,'context':_0x19c65a,'unlinkedAt':_0x120114,'attributes':_0x3ee120,'isFromAdapter':!0x0});}),this['listenTo'](_0xaa524f,'commentThreadResolved',(_0x16a7bf,{commentThreadId:_0x5e673e,resolvedBy:_0x3a5838,resolvedAt:_0x7bcfa6})=>{const _0x28f5a4=_0x2af37d['getCommentThread'](_0x5e673e);_0x28f5a4&&_0x28f5a4['resolve']({'resolvedBy':_0x3a5838,'resolvedAt':_0x7bcfa6,'isFromAdapter':!0x0});}),this['listenTo'](_0xaa524f,'commentThreadReopened',(_0x2acf85,{commentThreadId:_0x5110c8})=>{const _0x588ce5=_0x2af37d['getCommentThread'](_0x5110c8);_0x588ce5&&_0x588ce5['reopen']({'isFromAdapter':!0x0});}),this['listenTo'](_0xaa524f,'commentThreadRemoved',(_0x561d05,{commentThreadId:_0x2280eb})=>{const _0x2bc8d4=_0x2af37d['getCommentThread'](_0x2280eb);_0x2bc8d4&&_0x2bc8d4['remove']({'isFromAdapter':!0x0});}),this['listenTo'](_0xaa524f,'commentAdded',(_0x56a01a,_0x2c57d1)=>{const _0x5e9131=_0x2c57d1['commentThreadId'],_0x26c979=_0x2af37d['getCommentThread'](_0x5e9131);_0x26c979&&_0x26c979['addComment']({...parseRemoteCommentToLocal(_0x2c57d1),'isFromAdapter':!0x0});}),this['listenTo'](_0xaa524f,'commentUpdated',(_0x2688e6,{commentThreadId:_0x242748,commentId:_0x339cd8,content:_0x356799,attributes:_0x44b3b4})=>{const _0x226956=_0x2af37d['getCommentThread'](_0x242748);if(_0x226956){const _0x150de9=_0x226956['getComment'](_0x339cd8);_0x150de9&&_0x150de9['update']({'content':_0x356799,'attributes':_0x44b3b4,'isFromAdapter':!0x0});}}),this['listenTo'](_0xaa524f,'commentRemoved',(_0x19cc7b,{commentThreadId:_0x5c4db6,commentId:_0x20af48})=>{const _0x3d1ac0=_0x2af37d['getCommentThread'](_0x5c4db6);if(_0x3d1ac0){const _0x334454=_0x3d1ac0['getComment'](_0x20af48);_0x334454&&_0x334454['remove']({'isFromAdapter':!0x0});}}),await this['_connectService'](_0x5bfc96);}['destroy'](){if(this['context']instanceof ckeditor5['Context']){const _0x1e206b=this['context']['config']['get']('collaboration.channelId');this['_terminateService'](_0x1e206b);}}['_terminateService'](_0x281563){if(!this['_services']['has'](_0x281563))throw new ckeditor5['CKEditorError']('cloudservicescommentsadapter-disconnect-not-exist',null,{'channelId':_0x281563});this['_getService'](_0x281563)['disconnect'](),this['_services']['delete'](_0x281563);}async['reconnect'](){for(const _0x31c7e of this['_services']['keys']())await this['_connectService'](_0x31c7e);if(this['context']instanceof ckeditor5['Context']){const _0x4c425a=this['context']['config']['get']('collaboration.channelId'),_0x58ab01=this['context']['plugins']['get'](_0x396361);_0x58ab01['unregister'](_0x4c425a);const _0x4a08fd=await this['_services']['get'](_0x4c425a)['getConnectedSessions']();_0x58ab01['register'](_0x4c425a,_0x4a08fd);}}async['_connectService'](_0x1f5070){const {connection:_0x41c7b2}=this['context']['plugins']['get'](WebSocketGateway),_0x346cbc=this['context']['plugins']['get']('CommentsRepository'),_0x1fe381=this['_services']['get'](_0x1f5070),_0x38d7d7=await _0x1fe381['connect'](_0x41c7b2);await this['_fetchMissingUsersForThreads'](_0x38d7d7);const _0x450d52=new Set(Array['from'](_0x346cbc['getCommentThreads']({'channelId':_0x1f5070}),_0x192519=>_0x192519['id']));for(const _0x539150 of _0x38d7d7)_0x539150['deletedAt']||_0x450d52['delete'](_0x539150['commentThreadId']);for(const _0x240009 of _0x450d52)_0x346cbc['getCommentThread'](_0x240009)['remove']({'isFromAdapter':!0x0});for(const _0xe0ecbc of _0x38d7d7){let _0x4fe35d=_0x346cbc['getCommentThread'](_0xe0ecbc['commentThreadId']);const {commentThreadId:_0x2b06c1,context:_0x448684,attributes:_0x3d1845,resolvedBy:_0x1c1595,resolvedAt:_0x3a15a0,unlinkedAt:_0x3e6ae5,deletedAt:_0xfb80ba}=_0xe0ecbc;if(_0xfb80ba)continue;_0x4fe35d||(_0x4fe35d=_0x346cbc['addCommentThread']({'channelId':_0x1f5070,'threadId':_0x2b06c1,'context':_0x448684,'attributes':_0x3d1845||{},'resolvedBy':_0x1c1595,'resolvedAt':_0x3a15a0,'unlinkedAt':_0x3e6ae5,'isFromAdapter':!0x0}));const _0x2e1f31=new Set(Array['from'](_0x4fe35d['comments'],_0x11e035=>_0x11e035['id']));for(const _0x3bb818 of _0xe0ecbc['comments'])_0x2e1f31['delete'](_0x3bb818['commentId']);for(const _0x4fc09d of _0x2e1f31)_0x4fe35d['getComment'](_0x4fc09d)['remove']({'isFromAdapter':!0x0});for(const _0x1c06d4 of _0xe0ecbc['comments']){const _0x63bd85=_0x4fe35d['getComment'](_0x1c06d4['commentId']);_0x63bd85?_0x63bd85['content']!==_0x1c06d4['content']&&_0x63bd85['update']({'content':_0x1c06d4['content'],'isFromAdapter':!0x0}):_0x4fe35d['addComment'](Object['assign'](parseRemoteCommentToLocal(_0x1c06d4),{'isFromAdapter':!0x0}));}}}['_getService'](_0x5b595f){if(!this['_services']['has'](_0x5b595f))throw new ckeditor5['CKEditorError']('cloudservicescommentsadapter-service-not-exist',null,{'channelId':_0x5b595f});return this['_services']['get'](_0x5b595f);}async['_fetchMissingUsersForThreads'](_0x5b4481){const _0x1b9a7c=this['context']['plugins']['get'](_0x5e54fb),{connection:_0x58cdd6}=this['context']['plugins']['get'](WebSocketGateway),_0x22df0e=new Set();for(const {resolvedBy:_0x2c0445,comments:_0x5c8d9b}of _0x5b4481){_0x2c0445&&!_0x1b9a7c['getUser'](_0x2c0445)&&_0x22df0e['add'](_0x2c0445);for(const {userId:_0x587cdd}of _0x5c8d9b)_0x1b9a7c['getUser'](_0x587cdd)||_0x22df0e['add'](_0x587cdd);}if(0x0===_0x22df0e['size'])return;const _0x323e63=await _0x555272['getMany'](_0x58cdd6,Array['from'](_0x22df0e));for(const _0x463d1b of _0x323e63)_0x1b9a7c['getUser'](_0x463d1b['id'])||_0x1b9a7c['addUser'](_0x463d1b);}}async function _0x476388(_0x2179db){if('404'!==_0x2179db['code'])throw _0x2179db;}function handleDisconnectionError$1(_0x576ad5){if(isDisconnectionError$2(_0x576ad5))return new Promise(()=>{});throw _0x576ad5;}function isDisconnectionError$2(_0x468f3c){return _0x468f3c['message']['startsWith']('cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.')||_0x468f3c['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x468f3c['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}function parseRemoteCommentToLocal(_0x591018){return{'threadId':_0x591018['commentThreadId'],'commentId':_0x591018['commentId'],'content':_0x591018['content'],'createdAt':_0x591018['createdAt'],'authorId':_0x591018['userId'],'attributes':_0x591018['attributes']||{}};}function parseLocalCommentToRemote(_0x1b316e,_0xe4d2be,_0x153889){return{'commentThreadId':_0x153889,'commentId':_0x1b316e['commentId'],'userId':_0x1b316e['authorId'],'content':_0x1b316e['content'],'documentId':_0xe4d2be,'createdAt':_0x1b316e['createdAt'],'attributes':_0x1b316e['attributes']||{}};}class CloudServicesTrackChangesAdapter extends ckeditor5['Plugin']{static ['TrackChangesService']=/* #__PURE__ -- @preserve */
((()=>_0x3e063e)());['_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(_0x28ac9d){super(_0x28ac9d);const _0x174688=this['editor']['config']['get']('collaboration.channelId');this['_bufferedRequests']=new Map(),this['_trackChangesService']=new CloudServicesTrackChangesAdapter['TrackChangesService'](_0x174688);}['init'](){const _0xdaad33=this['editor']['plugins']['get'](WebSocketGateway),_0x48c87f=this['editor']['plugins']['get']('TrackChangesEditing');return _0x48c87f['adapter']={'getSuggestion':async _0x2f3c79=>{await this['_waitForServiceReady']();const _0x5dabd6=await this['_trackChangesService']['get'](_0x2f3c79)['catch'](handleDisconnectionError);return await this['_fetchMissingUsersForThreads']([_0x5dabd6]),_0x5dabd6;},'addSuggestion':async({id:_0x4c2e43,type:_0x1dce1d,data:_0xdb6d85,originalSuggestionId:_0x42f8dc,attributes:_0x554d59})=>{await this['_waitForServiceReady']();const _0x5489b0={'id':_0x4c2e43,'type':_0x1dce1d,'data':_0xdb6d85,'originalSuggestionId':_0x42f8dc,'attributes':_0x554d59},_0x147fc5=await this['_trackChangesService']['add'](_0x4c2e43,_0x1dce1d,_0xdb6d85,_0x42f8dc,_0x554d59)['catch'](_0x410e10=>{if(isDisconnectionError$1(_0x410e10))return new Promise(_0x4cdb8c=>{this['_bufferedRequests']['set'](_0x4c2e43,{'resolve':_0x4cdb8c,'suggestionData':_0x5489b0});});throw _0x410e10;});return this['_bufferedRequests']['delete'](_0x4c2e43),_0x147fc5;},'updateSuggestion':async(_0x188106,_0x311830)=>{if(await this['_waitForServiceReady'](),'open'!==_0x311830['state'])return this['_trackChangesService']['update'](_0x188106,_0x311830)['catch'](handleDisconnectionError);}},this['listenTo'](this['_trackChangesService'],'suggestionUpdated',(_0x5921fb,_0xed6a01)=>{_0x48c87f['hasSuggestion'](_0xed6a01['id'])&&(_0x48c87f['getSuggestion'](_0xed6a01['id'])['attributes']=_0xed6a01['attributes']);}),this['_trackChangesService']['connect'](_0xdaad33['connection'])['then'](_0x11db48=>(_0xdaad33['addToReconnectionStack'](this),this['_fetchMissingUsersForThreads'](_0x11db48)['then'](()=>{for(const _0x496fc5 of _0x11db48){_0x48c87f['addSuggestionData'](_0x496fc5)['_saved']=!0x0;}})));}async['reconnect'](){const _0x3f6e79=this['editor']['plugins']['get']('TrackChangesEditing'),{connection:_0x2f2af5}=this['editor']['plugins']['get'](WebSocketGateway),_0x35b5cf=await this['_trackChangesService']['connect'](_0x2f2af5);await this['_fetchMissingUsersForThreads'](_0x35b5cf);for(const {suggestionData:_0x432830,resolve:_0x44e9e2}of this['_bufferedRequests']['values']()){let _0xddcc27=_0x35b5cf['find'](_0x4f31b7=>_0x4f31b7['id']===_0x432830['id']);_0xddcc27||(_0xddcc27=await this['_trackChangesService']['add'](_0x432830['id'],_0x432830['type'],_0x432830['data'],_0x432830['originalSuggestionId'])),_0x44e9e2(_0xddcc27);}for(const _0x4ad74b of _0x35b5cf)_0x3f6e79['hasSuggestion'](_0x4ad74b['id'])||_0x3f6e79['addSuggestionData'](_0x4ad74b);}async['_waitForServiceReady'](){this['_trackChangesService']['isConnected']||await new Promise(_0x2a80e8=>{this['listenTo'](this['_trackChangesService'],'connected',_0x3e57e4=>{_0x3e57e4['off'](),_0x2a80e8();});});}async['_fetchMissingUsersForThreads'](_0x41994f){const _0x523466=this['editor']['plugins']['get'](_0x5e54fb),{connection:_0x111270}=this['editor']['plugins']['get'](WebSocketGateway),_0x553330=new Set();for(const {authorId:_0x4652e8}of _0x41994f)_0x523466['getUser'](_0x4652e8)||_0x553330['add'](_0x4652e8);if(0x0===_0x553330['size'])return;const _0x4e9e90=await _0x555272['getMany'](_0x111270,Array['from'](_0x553330));for(const _0x1cab01 of _0x4e9e90)_0x523466['getUser'](_0x1cab01['id'])||_0x523466['addUser'](_0x1cab01);}}function handleDisconnectionError(_0x326dd1){if(isDisconnectionError$1(_0x326dd1))return new Promise(()=>{});throw _0x326dd1;}function isDisconnectionError$1(_0x1fb35){return _0x1fb35['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x1fb35['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 _0x466b87=this['editor']['plugins']['get'](WebSocketGateway),_0x41230c=this['editor']['plugins']['get']('CommentsEditing'),_0x313ddb=this['editor']['plugins']['get'](CloudServicesCommentsAdapter);return this['editor']['data']['once']('ready',()=>{this['listenTo'](_0x466b87,'change:state',(_0x93d316,_0x15b9fa,_0x4832e0)=>{_0x41230c['isThreadsLoadingPaused']='connected'!==_0x4832e0;});}),this['listenTo'](_0x466b87,'change:state',(_0x5dded6,_0xcc9606,_0x2cc0b9)=>{this['editor']['plugins']['get']('CommentsRepository')['switchReadOnly']('connected'!==_0x2cc0b9);}),_0x313ddb['_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',_0x396361,_0x5e54fb];}static get['pluginName'](){return'CloudServicesRevisionHistoryAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1ef383){super(_0x1ef383);const _0x375ec5=this['editor']['config']['get']('collaboration.channelId');this['_lastRequestId']=null,this['_revisionTracker']=this['editor']['plugins']['get']('RevisionTracker'),this['_revisionHistoryService']=new CloudServicesRevisionHistoryAdapter['RevisionHistoryService'](_0x375ec5);}async['init'](){const _0x59519a=this['editor']['plugins']['get'](RealTimeCollaborationClient),_0x5efea1=_0x59519a['serverHistory'],_0xd2f30f=this['editor']['plugins']['get'](WebSocketGateway);this['_revisionTracker']['setSource']({'history':_0x5efea1,'getLatestVersion':()=>this['_getLatestVersion'](),'getCurrentRevisionId':()=>_0x59519a['sessionId']});const _0x5c1fea=this['editor']['config']['get']('cloudServices.bundleVersion')||ckeditor5['version'],_0x5ae796=await EditorService['isBundleUploaded'](_0xd2f30f['connection'],_0x5c1fea);this['editor']['plugins']['get']('RevisionHistory')['adapter']={'getRevision':async({revisionId:_0x18bbc2})=>(await this['_waitForServiceReady'](),await this['_revisionHistoryService']['getRevision'](_0x18bbc2)),'updateRevisions':async _0x9f8b62=>{await this['_waitForServiceReady']();const _0x2cf2a3=this['_revisionTracker']['currentRevision'];if(_0x5ae796&&0x1===_0x9f8b62['length']&&_0x9f8b62[0x0]['id']===_0x2cf2a3['id'])return _0x9f8b62;for(const _0xb21bff of _0x9f8b62)_0xb21bff['id']===_0x2cf2a3['id']&&(_0xb21bff['isEmptyCurrent']=_0xb21bff['fromVersion']===_0xb21bff['toVersion']);return this['_revisionHistoryService']['updateRevisions'](_0x9f8b62,this['_lastRequestId'])['then'](_0x2a18bc=>(this['_lastRequestId']=_0x2a18bc,_0x9f8b62))['catch'](_0x4a936f=>{if(isDisconnectionError(_0x4a936f)||'400'===_0x4a936f['code']&&void 0x0!==_0x4a936f['data']['wrongRequestId']){for(const _0x26a3cd of _0x9f8b62){!this['_revisionTracker']['repository']['getRevision'](_0x26a3cd['id'])||this['_revisionTracker']['_bufferUpdate'](_0x26a3cd['id'],_0x26a3cd,!0x1);}if(isDisconnectionError(_0x4a936f))throw _0x4a936f;return _0x9f8b62;}throw _0x4a936f;});}},this['listenTo'](this['_revisionHistoryService'],'revisionsUpdated',(_0x14f835,{revisionsData:_0x31f9c6,requestId:_0x1e36ac})=>{Math['max'](..._0x31f9c6['map'](_0x559617=>_0x559617['toVersion']))>this['_getLatestVersionFromServerOperations']()-0x1?this['_getLatestVersion']()['then'](()=>{this['_handleRevisionsUpdate'](_0x31f9c6,_0x1e36ac);}):this['_handleRevisionsUpdate'](_0x31f9c6,_0x1e36ac);});const {revisions:_0xf02366,requestId:_0x109296}=await this['_revisionHistoryService']['connect'](_0xd2f30f['connection']);_0xd2f30f['addToReconnectionStack'](this),this['_lastRequestId']=_0x109296,await this['_fetchMissingUsers'](_0xf02366);for(const _0x4170a4 of _0xf02366)this['_revisionTracker']['addRevisionData'](_0x4170a4);this['listenTo'](_0x59519a,'change:_isConnected',(_0xcd69fb,_0x3ac76f,_0x45dd51)=>{_0x45dd51&&(this['_oldOffset']=_0x59519a['_offset'],_0xcd69fb['off']());}),this['_revisionTracker']['bind']('isEnabled')['to'](_0xd2f30f,'state',_0x22c26b=>_0x22c26b===_0x47fce7['CONNECTED']);}async['reconnect'](){const _0x4d5d50=this['editor']['plugins']['get'](WebSocketGateway),_0x1ec725=this['editor']['plugins']['get'](RealTimeCollaborationClient),_0x2bcc06=async()=>{const _0x411220=this['_revisionTracker']['currentRevision'],_0xf330c7=_0x411220['id'],_0x1fa78e=_0xf330c7!==_0x1ec725['sessionId'];if(_0x1fa78e){const _0xa1be68=_0x1ec725['_offset']-this['_oldOffset'],_0x430885=this['_getLatestVersionFromServerOperations']();this['_revisionTracker']['_revisionDataBuilder']['reInit']();if(_0x411220['toVersion']+_0xa1be68!==_0x430885){const _0x1c1ab8=_0x411220['fromVersion']+_0xa1be68,_0x4ad08b=this['editor']['plugins']['get'](_0x5e54fb),_0x32b072=this['_revisionTracker']['buildRevisionData']({'revision':_0x411220,'from':_0x1c1ab8,'to':_0x430885});_0x32b072['id']=_0x411220['id'];const _0x235e0e=_0x32b072['authorsIds']['map'](_0xff5456=>_0x4ad08b['getUser'](_0xff5456));_0x411220['_update']({..._0x32b072,'authors':_0x235e0e},!0x0),this['_revisionTracker']['_bufferUpdate'](_0x411220['id'],_0x32b072,!0x0);}this['_revisionTracker']['_startingVersion']=_0x430885,(_0x411220['toVersion']===_0x411220['fromVersion']&&!this['_revisionTracker']['_bufferedUpdates']['has'](_0xf330c7)&&this['_revisionTracker']['repository']['_revisions']['remove'](_0xf330c7),this['_revisionTracker']['_createCurrentRevision'](_0x430885));}const {revisions:_0x987a3b,requestId:_0x54d865}=await this['_revisionHistoryService']['reconnect'](_0x4d5d50['connection'],this['_lastRequestId']);_0x1fa78e&&_0x987a3b['length']>0x0?_0x1ec725['_handleReconnectionError']():(await this['_fetchMissingUsers'](_0x987a3b),this['_handleRevisionsUpdate'](_0x987a3b,_0x54d865),this['_revisionTracker']['sendBufferedUpdates']());};return _0x1ec725['_isConnected']?_0x2bcc06():new Promise((_0x13433f,_0x2b4e30)=>{_0x1ec725['once']('change:_isConnected',()=>{_0x2bcc06()['then'](_0x13433f)['catch'](_0x2b4e30);});});}['destroy'](){super['destroy']();}async['_waitForServiceReady'](){this['_revisionHistoryService']['isConnected']||await new Promise(_0x5d7ab4=>{this['listenTo'](this['_revisionHistoryService'],'connected',_0x51e2cd=>{_0x51e2cd['off'](),_0x5d7ab4();});});}['_getLatestVersionFromServerOperations'](){const _0x3b2d55=this['editor']['plugins']['get'](RealTimeCollaborationClient)['serverHistory']['getOperations']()['reverse']();for(const _0x4b097e of _0x3b2d55)if('marker'!==_0x4b097e['type']||_0x4b097e['affectsData'])return _0x4b097e['baseVersion']+0x1;}['_getLatestVersion'](){const _0x5d2d1d=this['editor']['plugins']['get'](RealTimeCollaborationClient);return new Promise(_0x1721a2=>{_0x5d2d1d['_isPendingUpdate']?_0x5d2d1d['once']('change:_isPendingUpdate',()=>{_0x1721a2(this['_getLatestVersionFromServerOperations']());}):_0x1721a2(this['_getLatestVersionFromServerOperations']());});}['_handleRevisionsUpdate'](_0xb0df9d,_0x12f727){const _0x5a1b01=this['_revisionTracker']['repository'];this['_lastRequestId']=_0x12f727;for(const _0x28a8ff of _0xb0df9d){const _0x32bbb8=_0x5a1b01['getRevision'](_0x28a8ff['id']);if(_0x32bbb8){if((_0x28a8ff['fromVersion']||_0x28a8ff['toVersion'])&&(_0x28a8ff['diffData']=null),_0x32bbb8===this['_revisionTracker']['currentRevision']){const _0x551c08=Math['max'](_0x32bbb8['toVersion'],_0x28a8ff['toVersion']),_0x8cc195=Math['max'](_0x32bbb8['fromVersion'],_0x28a8ff['fromVersion']);let _0x4e3916;_0x32bbb8['toVersion']===_0x28a8ff['toVersion']&&_0x32bbb8['fromVersion']===_0x28a8ff['fromVersion']?(_0x4e3916=!0x0,this['_preventResendingRevisionData'](_0x28a8ff)):_0x28a8ff['toVersion']===_0x551c08&&_0x28a8ff['fromVersion']===_0x8cc195?_0x4e3916=!0x1:(_0x32bbb8['toVersion']===_0x551c08&&_0x32bbb8['fromVersion']===_0x8cc195||this['_fixRevision']({'revision':_0x32bbb8,'from':_0x8cc195,'to':_0x551c08}),_0x4e3916=!0x0),_0x4e3916&&(delete _0x28a8ff['fromVersion'],delete _0x28a8ff['toVersion'],delete _0x28a8ff['diffData'],delete _0x28a8ff['createdAt'],delete _0x28a8ff['authorsIds']);}this['_revisionTracker']['setRevisionData'](_0x28a8ff),this['_preventResendingRevisionData'](_0x28a8ff);}else this['_revisionTracker']['addRevisionData'](_0x28a8ff);}const _0x5523bb=_0x5a1b01['getRevisions']();_0x5523bb['reverse']();for(let _0x331803=0x0;_0x331803<_0x5523bb['length']-0x1;_0x331803++){const _0x4c0726=_0x5523bb[_0x331803],_0x464e8a=_0x5523bb[_0x331803+0x1];if(_0x4c0726['fromVersion']<_0x464e8a['toVersion']){const _0x12d20f=_0x464e8a['toVersion'],_0x99635d=Math['max'](_0x12d20f,_0x4c0726['toVersion']);this['_fixRevision']({'revision':_0x4c0726,'from':_0x12d20f,'to':_0x99635d});}}}['_fixRevision']({revision:_0x3d4ecd,from:_0x25c225,to:_0x21516b}={}){const _0xf8041f=this['editor']['plugins']['get'](_0x5e54fb),_0x1c55ea=this['_revisionTracker']['buildRevisionData']({'revision':_0x3d4ecd,'from':_0x25c225,'to':_0x21516b});_0x1c55ea['authors']=_0x1c55ea['authorsIds']['map'](_0x152b97=>_0xf8041f['getUser'](_0x152b97)),_0x3d4ecd['_update'](_0x1c55ea);}['_preventResendingRevisionData'](_0x4788ea){const _0x4b9038={};_0x4b9038['id']=_0x4788ea['id'];for(const _0x9f59c0 of Object['keys'](_0x4788ea))'id'!==_0x9f59c0&&(_0x4b9038[_0x9f59c0]=void 0x0);this['_revisionTracker']['_bufferUpdate'](_0x4b9038['id'],_0x4b9038,!0x0);}async['_fetchMissingUsers'](_0x347c47){const _0x55f77f=this['editor']['plugins']['get'](_0x5e54fb),{connection:_0x1724da}=this['editor']['plugins']['get'](WebSocketGateway),_0x2ec6c5=new Set();for(const _0x5eb724 of _0x347c47){for(const _0x17bcfc of _0x5eb724['authorsIds'])_0x252a2e(_0x17bcfc);_0x5eb724['creatorId']&&_0x252a2e(_0x5eb724['creatorId']);}if(0x0===_0x2ec6c5['size'])return;const _0x4ded6e=await _0x555272['getMany'](_0x1724da,Array['from'](_0x2ec6c5));for(const _0x49715c of _0x4ded6e)_0x55f77f['getUser'](_0x49715c['id'])||_0x55f77f['addUser'](_0x49715c);function _0x252a2e(_0x54a873){_0x55f77f['getUser'](_0x54a873)||_0x2ec6c5['add'](_0x54a873);}}}function isDisconnectionError(_0x5b9166){return _0x5b9166['message']['startsWith']('cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.')||_0x5b9166['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x5b9166['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(_0x11eb36,_0x2585e5=0x6){super(_0x11eb36);const _0x45ceeb=this['bindTemplate'];this['set']('isHidden',!0x0),this['set']('usersCount',0x0),this['_collapseAt']=_0x2585e5,this['bind']('isHidden')['to'](this,'usersCount',_0x27285d=>_0x27285d<_0x2585e5),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item',_0x45ceeb['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':_0x45ceeb['to']('usersCount',_0x2efd1c=>'+'+(_0x2efd1c-this['_collapseAt']+0x2)['toString']())}]}]}]});}}class PresenceInlineListView extends ckeditor5['View']{['items'];['keystrokes'];constructor(_0x45e92d){super(_0x45e92d);const _0x28259a=this['bindTemplate'];this['items']=this['createCollection'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['set']({'hasPopup':!0x1,'isExpanded':!0x1}),this['setTemplate']({'tag':'div','attributes':{'aria-haspopup':_0x28259a['if']('hasPopup'),'aria-expanded':_0x28259a['to']('isExpanded',_0x2e5e7c=>this['hasPopup']&&String(_0x2e5e7c)),'aria-label':_0x28259a['to']('hasPopup',_0x366ec7=>getTranslation$6(_0x45e92d,_0x366ec7?'Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'Connected\x20users\x20list')),'role':'list','tabindex':_0x28259a['to']('hasPopup',_0x19e8be=>!!_0x19e8be&&0x0),'class':['ck','ck-presence-list__list']},'children':this['items'],'on':{'mouseenter':_0x28259a['to'](()=>this['fire']('presencelist:show')),'mouseleave':_0x28259a['to'](_0x379201=>{const _0x1dbc91=_0x379201,_0x1ea7d1=document['querySelector']('.ck-presence-list__dropdown-list'),_0x318c3d=document['querySelector']('.ck-balloon-panel_with-arrow');_0x1ea7d1?.['contains'](_0x1dbc91['relatedTarget'])||_0x318c3d?.['contains'](_0x1dbc91['relatedTarget'])||this['fire']('presencelist:hide');})}}),this['on']('change:hasPopup',(_0x4729d3,_0x4cef2c,_0x7cf0b9)=>{this['element']&&(_0x7cf0b9?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(_0x1d9254,_0x38be8e=0x6){super(_0x1d9254);const _0x4745dd=this['bindTemplate'];this['set']('isCollapsed',!0x0),this['counterView']=new PresenceCounterView(this['locale'],_0x38be8e),this['inlineListView']=new PresenceInlineListView(_0x1d9254),this['inlineListView']['bind']('hasPopup')['to'](this,'isCollapsed'),this['listenTo'](this['inlineListView']['items'],'change',()=>{for(const _0x4dc9b2 of this['inlineListView']['items'])_0x4dc9b2['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',_0x4745dd['if']('isCollapsed','ck-presence-list--collapsed')]},'children':[this['inlineListView']]});}}class PresenceDropdownListView extends ckeditor5['View']{['listWrapperView'];constructor(_0x541ad2,_0x1d34f7){super(_0x541ad2);const _0x4e4a3c=this['bindTemplate'];this['listWrapperView']=new PresenceDropdownListWrapperView(_0x541ad2,_0x1d34f7),this['setTemplate']({'tag':'div','attributes':{'tabindex':-0x1,'role':'application','class':['ck','ck-presence-list__dropdown-list'],'aria-label':getTranslation$6(_0x541ad2,'Connected\x20users\x20list\x20dropdown\x20menu')},'children':[this['listWrapperView']],'on':{'mouseleave':_0x4e4a3c['to'](_0x221583=>{const _0x46cbbc=_0x221583,_0x4af140=document['querySelector']('.ck-presence-list__list'),_0x13a538=document['querySelector']('.ck-balloon-panel_with-arrow');_0x4af140?.['contains'](_0x46cbbc['relatedTarget'])||_0x13a538?.['contains'](_0x46cbbc['relatedTarget'])||this['fire']('presencelist:hide');})}});}}class PresenceDropdownListWrapperView extends ckeditor5['ListView']{constructor(_0xdec71,_0x530e25){super(_0xdec71);const _0xcf489e=this['bindTemplate'];this['set']('_isScrollable',!0x1),this['setTemplate']({'tag':_0x530e25?'div':'ul','attributes':{'class':['ck','ck-reset','ck-list','ck-presence-list__dropdown-list-wrapper',_0xcf489e['if']('_isScrollable','ck-presence-list__dropdown-list-wrapper_scrollable')],'role':_0xcf489e['to']('role'),'aria-label':_0xcf489e['to']('ariaLabel'),'aria-labelledby':_0xcf489e['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 _0x4e2b87=this['element'];_0x4e2b87&&(this['_isScrollable']=Math['max'](_0x4e2b87['scrollHeight'],_0x4e2b87['clientHeight'])>0.8*window['innerHeight']);}}class PresenceDropdownListItemView extends ckeditor5['ListItemView']{['userView'];constructor(_0x4ac2a8,_0x374767,_0x390c50){super(_0x4ac2a8);const _0xd41c5e=this['bindTemplate'];this['userView']=new _0x3e5d46(_0x4ac2a8,_0x374767);const _0xcf886b={'tag':'li','attributes':{'class':['ck','ck-presence-list__dropdown-list-item'],'tabindex':-0x1,'role':'presentation','aria-label':_0x374767['name']},'children':[this['userView'],{'tag':'span','attributes':{'class':['ck','ck-user__full-name']},'children':[{'text':_0x374767['name']}]},{'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x374767['color']['getBackgroundColorClass']()],'aria-hidden':'true'}}]};_0x390c50&&(_0xcf886b['tag']='button',_0xcf886b['on']={'click':_0xd41c5e['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0xcf886b);}['focus'](){this['element']['focus']();}}class PresenceInlineListItemView extends ckeditor5['View']{['userView'];['markerView'];constructor(_0xbc6539,_0x4a0745,_0x36918d){super(_0xbc6539);const _0xcf7054=this['bindTemplate'];this['set']('isFocusable',!0x1),this['set']('hasTooltip',!0x0),this['set']('tooltipPosition',''),this['userView']=new _0x3e5d46(_0xbc6539,_0x4a0745),this['markerView']=new _0x49156f(_0xbc6539,_0x4a0745);const _0x56db0a=new ckeditor5['LabelView'](_0xbc6539);_0x56db0a['template']['tag']='span',_0x56db0a['text']=_0x4a0745['name'];const _0xf6c036={'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item'],'role':'listitem','tabindex':_0xcf7054['to']('isFocusable',_0x3dec75=>!!_0x3dec75&&0x0),'aria-labelledby':_0x56db0a['id'],'data-cke-tooltip-text':this['userView']['name'],'data-cke-tooltip-position':_0xcf7054['to']('tooltipPosition'),'data-cke-tooltip-disabled':_0xcf7054['to']('hasTooltip',_0x16bad1=>!_0x16bad1),'data-cke-tooltip-class':'ck-presence-list__list-item__tooltip'},'children':[this['userView'],this['markerView'],_0x56db0a]};_0x36918d&&(_0xf6c036['tag']='button',_0xf6c036['on']={'click':_0xcf7054['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0xf6c036);}}class _0x49156f extends ckeditor5['View']{constructor(_0x3001c7,_0x1f343d){super(_0x3001c7),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x1f343d['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(_0x79299){super(_0x79299),this['context']['config']['define']('presenceList',defaultPresenceListConfig);const _0x2998a6=_0x79299['config']['get']('presenceList.collapseAt');if('number'!=typeof _0x2998a6)throw new ckeditor5['CKEditorError']('presencelist-collapseat-invalid-format',this);if(_0x2998a6<0x1)throw new ckeditor5['CKEditorError']('presencelist-collapseat-invalid-format',this);this['_allConnectedUsers']=this['context']['plugins']['get'](_0x396361)['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[_0x396361];}['init'](){for(const _0x31a254 of this['_allConnectedUsers'])this['_handleUserAdd'](_0x31a254);this['listenTo'](this['_allConnectedUsers'],'add',(_0xeff68e,_0x3e47e0)=>{this['_handleUserAdd'](_0x3e47e0);}),this['listenTo'](this['_allConnectedUsers'],'remove',(_0x57f8c8,_0x156207)=>{this['_handleUserRemove'](_0x156207);});}['_createView'](){const _0x2f865c=this['context'],_0x50a51a=new PresenceListView(this['context']['locale'],this['context']['config']['get']('presenceList.collapseAt')),_0x4e4ee0=this['balloonPanelView'];if(!isElement$2(_0x2f865c['config']['get']('presenceList.container')))throw new ckeditor5['CKEditorError']('presencelist-missing-container',this);return _0x50a51a['counterView']['bind']('usersCount')['to'](this),_0x50a51a['bind']('isCollapsed')['to'](this,'usersCount',_0x3c1284=>{const {collapseAt:_0x2919f9}=_0x2f865c['config']['get']('presenceList'),_0x4551ce=_0x3c1284>=_0x2919f9;if(_0x4551ce&&!_0x50a51a['inlineListView']['items']['find'](_0x2364a3=>_0x2364a3 instanceof PresenceCounterView)){const _0x597a58=this['context']['config']['get']('presenceList.collapseAt')-0x1;this['currentDisplayedUsers']['length']==_0x597a58&&this['currentDisplayedUsers']['length']>0x1&&this['currentDisplayedUsers']['remove'](this['currentDisplayedUsers']['length']-0x1),_0x50a51a['inlineListView']['items']['add'](_0x50a51a['counterView']);}return _0x4551ce||this['hideDropdown'](),_0x4551ce;}),_0x50a51a['inlineListView']['items']['bindTo'](this['currentDisplayedUsers'])['using'](_0x3b6279=>{const _0x1642b7=_0x2f865c['config']['get']('presenceList'),_0x10314e=new PresenceInlineListItemView(_0x2f865c['locale'],_0x3b6279,!!_0x1642b7['onClick']);return _0x10314e['bind']('hasTooltip')['to'](_0x50a51a,'isCollapsed',_0x42c4c8=>!_0x42c4c8),_0x10314e['bind']('isFocusable')['to'](_0x50a51a,'isCollapsed',_0x98eb28=>!_0x98eb28),_0x1642b7['onClick']&&this['listenTo'](_0x10314e,'execute',()=>{this['view']['isCollapsed']||_0x1642b7['onClick'](_0x3b6279,_0x10314e['element']);}),_0x10314e;}),this['listenTo'](_0x50a51a['inlineListView'],'presencelist:show',()=>{this['view']['isCollapsed']&&this['showDropdown']();}),this['listenTo'](_0x50a51a['inlineListView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();}),_0x50a51a['inlineListView']['keystrokes']['set']('Enter',(_0x509750,_0x21cc33)=>{this['view']['isCollapsed']&&(this['showDropdown'](),_0x21cc33());}),_0x50a51a['render'](),_0x4e4ee0['render'](),ckeditor5['clickOutsideHandler']({'emitter':_0x50a51a,'activator':()=>_0x4e4ee0['isVisible'],'contextElements':[_0x4e4ee0['element'],_0x50a51a['inlineListView']['element']],'callback':()=>this['hideDropdown']()}),_0x2f865c['config']['get']('presenceList.container')['appendChild'](_0x50a51a['element']),this['_bodyCollection']=new ckeditor5['BodyCollection'](this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_bodyCollection']['add'](this['balloonPanelView']),_0x50a51a;}['_handleUserAdd'](_0x11972c){if(!this['context']['config']['get']('presenceList.displayMe')&&_0x11972c['isMe'])return;const _0x3ca5ff=this['context']['config']['get']('presenceList.collapseAt')-0x1;for(this['usersCount']++;this['currentDisplayedUsers']['length']>=_0x3ca5ff-(this['view']['isCollapsed']?0x1:0x0)&&this['currentDisplayedUsers']['length']>0x1;)this['currentDisplayedUsers']['remove'](0x1);const _0x1fc7a5=_0x11972c['isMe']?0x0:this['currentDisplayedUsers']['length'];this['currentDisplayedUsers']['add'](_0x11972c,_0x1fc7a5);}['_handleUserRemove'](_0x45adde){this['usersCount']--;const {collapseAt:_0x1c6060}=this['context']['config']['get']('presenceList'),_0x17b4fb=this['usersCount']>=_0x1c6060;if(this['currentDisplayedUsers']['get'](_0x45adde['id']))this['currentDisplayedUsers']['remove'](_0x45adde['id']);else{if(_0x17b4fb&&this['currentDisplayedUsers']['length']+0x1===_0x1c6060-0x1)return;}if(this['currentDisplayedUsers']['length']+(_0x17b4fb?0x1:0x0)<this['usersCount']){for(const _0x333276 of Array['from'](this['_allConnectedUsers'])['reverse']())if(!this['currentDisplayedUsers']['get'](_0x333276['id'])&&(this['currentDisplayedUsers']['add'](_0x333276,Math['min'](this['currentDisplayedUsers']['length']-(_0x17b4fb?0x1:0x0),0x1)),this['currentDisplayedUsers']['length']+(_0x17b4fb?0x1:0x0)===_0x1c6060-0x1))return;}}['showDropdown'](){if(this['presenceDropdownView'])return;const _0x404c8a=this['context']['config']['get']('presenceList');this['presenceDropdownView']=new PresenceDropdownListView(this['context']['locale'],!!_0x404c8a['onClick']),this['view']['inlineListView']['isExpanded']=!0x0,this['listenTo'](this['presenceDropdownView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();});const {listWrapperView:_0x37a5f8}=this['presenceDropdownView'];_0x37a5f8['items']['bindTo'](this['_allConnectedUsers'])['using'](_0x424a7f=>{if(!_0x404c8a['displayMe']&&_0x424a7f['isMe'])return null;const _0x4de2d7=new PresenceDropdownListItemView(this['context']['locale'],_0x424a7f,!!_0x404c8a['onClick']);return _0x404c8a['onClick']&&this['listenTo'](_0x4de2d7,'execute',()=>{_0x404c8a['onClick'](_0x424a7f,_0x4de2d7['element']);}),_0x4de2d7;}),this['balloonPanelView']['content']['add'](this['presenceDropdownView']),this['balloonPanelView']['pin']({'target':this['view']['inlineListView']['element']}),_0x37a5f8['focus'](),_0x37a5f8['checkIfScrollable']();const _0x13d1cb=(_0x3b9bb1,_0x492954)=>{this['hideDropdown'](),this['view']['inlineListView']['focus'](),_0x492954();};_0x37a5f8['keystrokes']['set']('Esc',_0x13d1cb),_0x37a5f8['keystrokes']['set']('Shift+Tab',_0x13d1cb),_0x37a5f8['keystrokes']['set']('Tab',(_0x1314ca,_0x224742)=>{focusNextElement(this['view']['element']),this['hideDropdown'](),_0x224742();}),_0x37a5f8['focusTracker']['add'](this['view']['element']),_0x37a5f8['focusTracker']['on']('change:isFocused',(_0x4baa02,_0x3ceea5,_0x4a450c)=>{_0x4a450c||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(_0x337047){const _0x5b3802=['a','button','input','select','textarea','[tabindex]','[contenteditable]']['map'](_0x1bc357=>_0x1bc357+':not([disabled]):not([tabindex=\x22-1\x22])')['join'](','),_0x557411=[...document['body']['querySelectorAll'](_0x5b3802)]['filter'](_0x861428=>_0x861428===document['activeElement']||_0x861428['offsetWidth']+_0x861428['offsetHeight']>0x0)['sort']((_0xeee16b,_0x598382)=>(_0xeee16b['tabIndex']||0x0)-(_0x598382['tabIndex']||0x0)),_0x3bb7b6=_0x557411['indexOf'](_0x337047),_0x26a792=_0x557411[(_0x3bb7b6+0x1)%_0x557411['length']];_0x26a792&&_0x26a792['focus']();}class PresenceList extends ckeditor5['ContextPlugin']{static get['requires'](){return[_0x396361,PresenceListUI];}static get['pluginName'](){return'PresenceList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class _0x22c776 extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x2ac39d){super(),this['id']=_0x2ac39d['id']||ckeditor5['uid'](),this['creator']=_0x2ac39d['creator']||null,this['authors']=_0x2ac39d['authors']||[],this['diffData']=_0x2ac39d['diffData']||null,this['toVersion']=_0x2ac39d['toVersion']||0x0,this['fromVersion']=_0x2ac39d['fromVersion']||0x0,this['set']('name',_0x2ac39d['name']||''),this['set']('createdAt',_0x2ac39d['createdAt']||new Date()),this['set']('attributes',_0x2ac39d['attributes']||{});}['setName'](_0x3712b6){this['_update']({'name':_0x3712b6});}['setAttribute'](_0x43074a,_0x28820c){const _0x4135e7=_0x2222d2(this['attributes']);set(_0x4135e7,_0x43074a,_0x28820c),this['_update']({'attributes':_0x4135e7});}['removeAttribute'](_0x1348fd){const _0x485999=_0x2222d2(this['attributes']);unset(_0x485999,_0x1348fd),this['_update']({'attributes':_0x485999});}['_update'](_0x375303,_0x5d2251=!0x1){let _0x1245d6=!0x1;const _0xa072a2={'id':this['id']},_0x2643f9=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x40a2da of _0x2643f9){const _0x52c103=_0x375303[_0x40a2da];void 0x0!==_0x52c103&&_0x52c103!==this[_0x40a2da]&&(this[_0x40a2da]=_0x52c103,_0xa072a2[_0x40a2da]=_0x52c103,_0x1245d6=!0x0);}_0x1245d6&&(_0xa072a2['authors']&&(_0xa072a2['authorsIds']=_0xa072a2['authors']['map'](_0x259bc3=>_0x259bc3['id']),delete _0xa072a2['authors']),this['fire']('_update',_0xa072a2,_0x5d2251));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x13ac6a=>_0x13ac6a['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[_0x5e54fb];}static get['pluginName'](){return'RevisionsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['length'](){return this['_revisions']['length'];}constructor(_0x5e5373){super(_0x5e5373),this['_revisions']=new ckeditor5['Collection']();}['afterInit'](){_0xefd52(this);}['createRevision'](_0x4ae6e5){const _0xfc0f9a=this['editor']['plugins']['get']('Users');return new _0x22c776({'id':_0x4ae6e5['id'],'name':_0x4ae6e5['name'],'creator':_0x4ae6e5['creatorId']?_0xfc0f9a['getUser'](_0x4ae6e5['creatorId']):null,'diffData':_0x4ae6e5['diffData']||_0x4ae6e5['data'],'authors':_0x4ae6e5['authorsIds']['map'](_0x5f1f96=>_0xfc0f9a['getUser'](_0x5f1f96)),'createdAt':new Date(_0x4ae6e5['createdAt']),'attributes':_0x4ae6e5['attributes'],'fromVersion':_0x4ae6e5['fromVersion'],'toVersion':_0x4ae6e5['toVersion']});}['addRevision'](_0x1c3470,_0x403574=0x0){this['_revisions']['add'](_0x1c3470,_0x403574);}['getRevision'](_0x2a388a){return this['_revisions']['get'](_0x2a388a);}['getRevisions'](_0x5f5ce0={'toJSON':!0x1}){const _0x107e1a=Array['from'](this['_revisions']);return _0x107e1a['reverse'](),_0x5f5ce0['toJSON']?_0x107e1a['map'](_0x75f02a=>_0x75f02a['toJSON']()):_0x107e1a;}['getIndex'](_0x442dce){return this['_revisions']['getIndex'](_0x442dce);}['getEarlierVisibleRevision'](_0x4626fc){const [,_0x15d143]=this['getRevisionsIterator'](_0x4626fc,{'direction':'earlier'});return _0x15d143;}['getLaterVisibleRevision'](_0x216f41){const [,_0x3c4ed7]=this['getRevisionsIterator'](_0x216f41,{'direction':'later'});return _0x3c4ed7;}['getRevisionsInDiff'](_0x755ac6){const _0x41586a=[];for(const _0x50b4c5 of this['getRevisionsIterator'](_0x755ac6['newRevisionId']))if(_0x41586a['push'](_0x50b4c5),_0x50b4c5['id']===_0x755ac6['oldRevisionId'])break;return _0x41586a;}*['getRevisionsIterator'](_0x5b2f33,{direction:_0x131b1d='earlier',filter:_0x257e70=()=>!0x0}={}){const _0x6008e3='earlier'===_0x131b1d?0x1:-0x1;let _0x5183d3=this['_revisions']['get'](_0x5b2f33),_0x20fb1a=this['getIndex'](_0x5183d3);for(yield _0x5183d3;_0x5183d3;){if(_0x20fb1a+=_0x6008e3,_0x5183d3=this['getRevision'](_0x20fb1a),!_0x5183d3)return;_0x257e70(_0x5183d3)&&(yield _0x5183d3);}}}async function _0xefd52(_0xc67bfc){const _0x51d905=_0x46348e([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]),_0x36c480=0xeb829,_0x16a049=window[_0x46348e([0x44,0x61,0x74,0x65])][_0x46348e([0x6e,0x6f,0x77])](),_0x3f20f5=_0xc67bfc[_0x46348e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4d8a3d=new window[(_0x46348e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x437b91=>{_0x3f20f5[_0x46348e([0x6f,0x6e,0x63,0x65])](_0x46348e([0x72,0x65,0x61,0x64,0x79]),_0x437b91);}),_0x4af3d5={[_0x46348e([0x6b,0x74,0x79])]:_0x46348e([0x45,0x43]),[_0x46348e([0x75,0x73,0x65])]:_0x46348e([0x73,0x69,0x67]),[_0x46348e([0x63,0x72,0x76])]:_0x46348e([0x50,0x2d,0x32,0x35,0x36]),[_0x46348e([0x78])]:_0x46348e([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]),[_0x46348e([0x79])]:_0x46348e([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]),[_0x46348e([0x61,0x6c,0x67])]:_0x46348e([0x45,0x53,0x32,0x35,0x36])},_0x49e0bd=_0x3f20f5[_0x46348e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x46348e([0x67,0x65,0x74])](_0x46348e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x38b47f=await(async function(){let _0x1445b1,_0x4ad519=null,_0x34e224=null;try{if(_0x49e0bd==_0x46348e([0x47,0x50,0x4c]))return _0x46348e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1445b1=(function(){const _0x35c593=_0x49e0bd[_0x46348e([0x73,0x70,0x6c,0x69,0x74])](_0x46348e([0x2e]));if(0x3!=_0x35c593[_0x46348e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x32a695=_0x35c593[0x1];return _0x1e81a5(_0x32a695);function _0x1e81a5(_0x3fce21){const _0x215b68=_0x2b4a1e(_0x3fce21);return _0x215b68&&_0x1612e5()?_0x215b68:null;function _0x1612e5(){const _0x5e6c26=_0x215b68[_0x46348e([0x6a,0x74,0x69])],_0x28c4ca=window[_0x46348e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e6c26[_0x46348e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e6c26[_0x46348e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x177bed={..._0x215b68,[_0x46348e([0x6a,0x74,0x69])]:_0x5e6c26[_0x46348e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5e6c26[_0x46348e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x177bed[_0x46348e([0x76,0x63])],_0x8f4e2(_0x177bed)==_0x28c4ca;}}}()),!_0x1445b1)return _0x46348e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x1445b1[_0x46348e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x34e224=function(_0xff463b,_0x570a66){return new window[(_0x46348e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ebada=>{if(_0x31e4d0())return _0x1ebada(_0x46348e([0x56,0x61,0x6c,0x69,0x64]));_0x49b123(),_0x3f20f5[_0x46348e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x46348e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x368c5c=!0x1;const _0x3f6cf6=ckeditor5['uid']();function _0x366667(_0x5460fb){return!!_0x5460fb&&(typeof _0x5460fb===_0x46348e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5460fb===_0x46348e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5460fb[_0x46348e([0x74,0x68,0x65,0x6e])]===_0x46348e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5460fb[_0x46348e([0x63,0x61,0x74,0x63,0x68])]===_0x46348e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3fc62b(_0x2d8276){_0x2c538f(_0x2d8276)[_0x46348e([0x74,0x68,0x65,0x6e])](_0x4d5225=>{if(!_0x4d5225||_0x4d5225[_0x46348e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x46348e([0x6f,0x6b]))return _0x46348e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xef80fc(_0x8f4e2(_0x3f6cf6+_0x570a66))!=_0x4d5225[_0x46348e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x46348e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x46348e([0x56,0x61,0x6c,0x69,0x64]);})[_0x46348e([0x74,0x68,0x65,0x6e])](_0x5f0d0c=>(_0x3fab2c(),_0x5f0d0c),()=>{const _0x2f32f0=_0x3d6c59();return null==_0x2f32f0?(_0x3fab2c(),_0x46348e([0x56,0x61,0x6c,0x69,0x64])):_0x46348e(_0x16a049-_0x2f32f0>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x46348e([0x74,0x68,0x65,0x6e])](_0x1ebada)[_0x46348e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1ebada(_0x46348e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x23c76d=0x36ee80;function _0x3fab2c(){const _0x1ea1c3=_0x46348e([0x6c,0x6c,0x63,0x74,0x2d])+_0xef80fc(_0x8f4e2(_0xff463b)),_0x4565db=_0x16c63c(_0xef80fc(window[_0x46348e([0x4d,0x61,0x74,0x68])][_0x46348e([0x63,0x65,0x69,0x6c])](_0x16a049/_0x23c76d)));window[_0x46348e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46348e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ea1c3,_0x4565db);}function _0x3d6c59(){const _0x3f4292=_0x46348e([0x6c,0x6c,0x63,0x74,0x2d])+_0xef80fc(_0x8f4e2(_0xff463b)),_0x86a270=window[_0x46348e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46348e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f4292);return _0x86a270?window[_0x46348e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16c63c(_0x86a270),0x10)*_0x23c76d:null;}function _0x2c538f(_0x254dca){return new window[(_0x46348e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5cf0a,_0x5a8e69)=>{_0x254dca[_0x46348e([0x74,0x68,0x65,0x6e])](_0x5cf0a,_0x5a8e69),window[_0x46348e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5a8e69,0x1d4c0);});}}_0x3f20f5[_0x46348e([0x6f,0x6e])](_0x46348e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1c9980,_0x215b0c)=>{if(_0x215b0c[0x0]!=_0xff463b)return _0x1ebada(_0x46348e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x215b0c[0x1]={..._0x215b0c[0x1],[_0x46348e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3f6cf6};},{[_0x46348e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46348e([0x68,0x69,0x67,0x68])}),_0x3f20f5[_0x46348e([0x6f,0x6e])](_0x46348e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3f729b=>{_0x366667(_0x3f729b[_0x46348e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x368c5c=!0x0,_0x3fc62b(_0x3f729b[_0x46348e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x46348e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46348e([0x6c,0x6f,0x77])}),_0x4d8a3d[_0x46348e([0x74,0x68,0x65,0x6e])](()=>{_0x368c5c||_0x1ebada(_0x46348e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x31e4d0(){return _0x3f20f5[_0x46348e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46348e([0x76,0x69,0x65,0x77])][_0x46348e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x46348e([0x61,0x75,0x74,0x6f]);}function _0x49b123(){_0x3f20f5[_0x46348e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46348e([0x76,0x69,0x65,0x77])][_0x46348e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x46348e([0x61,0x75,0x74,0x6f]);}}(_0x1445b1[_0x46348e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1445b1[_0x46348e([0x6a,0x74,0x69])]));const _0x1979bd=await(async function(){let _0x4fa548=!0x0;try{const _0x38bd1c=_0x49e0bd[_0x46348e([0x73,0x70,0x6c,0x69,0x74])](_0x46348e([0x2e])),[_0x593590,_0x1145c1,_0x4df7bd]=_0x38bd1c;return _0x1af333(_0x593590),await _0x34d62a(_0x593590,_0x1145c1,_0x4df7bd),_0x4fa548;}catch{return!0x1;}function _0x1af333(_0x5e927c){const _0xd0174b=_0x2b4a1e(_0x5e927c);_0xd0174b&&_0xd0174b[_0x46348e([0x61,0x6c,0x67])]==_0x46348e([0x45,0x53,0x32,0x35,0x36])||(_0x4fa548=!0x1);}async function _0x34d62a(_0x1b16f6,_0x45c0e4,_0x3e89c4){const _0x43af45=window[_0x46348e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x46348e([0x66,0x72,0x6f,0x6d])](_0x3368da(_0x3e89c4),_0x565c97=>_0x565c97[_0x46348e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3a6571=new window[(_0x46348e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x46348e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1b16f6+_0x46348e([0x2e])+_0x45c0e4),_0x29e0be=window[_0x46348e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x46348e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x29e0be)return;const _0x58fea9=await _0x29e0be[_0x46348e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x46348e([0x6a,0x77,0x6b]),_0x4af3d5,{[_0x46348e([0x6e,0x61,0x6d,0x65])]:_0x46348e([0x45,0x43,0x44,0x53,0x41]),[_0x46348e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x46348e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x46348e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x29e0be[_0x46348e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x46348e([0x6e,0x61,0x6d,0x65])]:_0x46348e([0x45,0x43,0x44,0x53,0x41]),[_0x46348e([0x68,0x61,0x73,0x68])]:{[_0x46348e([0x6e,0x61,0x6d,0x65])]:_0x46348e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x58fea9,_0x43af45,_0x3a6571)||(_0x4fa548=!0x1);}}());return _0x1979bd?(function(){const _0x5de513=_0x1445b1[_0x46348e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x5de513)return!0x1;if(_0x5de513[_0x46348e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46348e([0x2a])))return!0x0;if(_0x5de513[_0x46348e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46348e([0x52,0x48])))return!0x0;if(_0x5de513[_0x46348e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46348e([0x52,0x52,0x48]))){if(_0x1d3017(_0x46348e([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x571270(_0x46348e([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x46348e([0x73,0x74,0x61,0x74,0x65])]==_0x46348e([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]))return!0x0;if(_0x1d3017(_0x46348e([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]))||_0x1d3017(_0x46348e([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 _0x4a754e=[_0x46348e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x46348e([0x74,0x72,0x69,0x61,0x6c])][_0x46348e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1445b1[_0x46348e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x16a049/0x3e8:0x69d59a80;return _0x1445b1[_0x46348e([0x65,0x78,0x70])]<_0x4a754e;}())?_0x46348e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x450970=_0x1445b1[_0x46348e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x450970||0x0==_0x450970[_0x46348e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x295f64}=new URL(window[_0x46348e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x450970[_0x46348e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x295f64))return!0x0;const _0xc15f92=_0x295f64[_0x46348e([0x73,0x70,0x6c,0x69,0x74])](_0x46348e([0x2e]));return _0x450970[_0x46348e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x23ba48=>_0x23ba48[_0x46348e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46348e([0x2a])))[_0x46348e([0x6d,0x61,0x70])](_0xacee70=>_0xacee70[_0x46348e([0x73,0x70,0x6c,0x69,0x74])](_0x46348e([0x2e])))[_0x46348e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3da385=>_0x3da385[_0x46348e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xc15f92[_0x46348e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46348e([0x6d,0x61,0x70])](_0x35cccf=>Array(_0xc15f92[_0x46348e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x35cccf[_0x46348e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46348e([0x66,0x69,0x6c,0x6c])](_0x35cccf[0x0]===_0x46348e([0x2a])?_0x46348e([0x2a]):'')[_0x46348e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x35cccf))[_0x46348e([0x73,0x6f,0x6d,0x65])](_0x446385=>_0xc15f92[_0x46348e([0x65,0x76,0x65,0x72,0x79])]((_0xc594cc,_0x504047)=>_0x446385[_0x504047]===_0xc594cc||_0x446385[_0x504047]===_0x46348e([0x2a])));}())?(_0x1445b1[_0x46348e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46348e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4ad519=function(_0x31767b){const _0x432408=new window[(_0x46348e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x506f0d=>setTimeout(_0x506f0d,0x93ecc)),_0x19f0fa=_0x4d8a3d[_0x46348e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x46348e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1aa5a3=>{const _0x47f451=0x7,_0x203399=_0xc67bfc[_0x46348e([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];function _0x50083f(){_0x203399[_0x46348e([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x47f451&&_0x1aa5a3();}_0x50083f(),_0x203399[_0x46348e([0x6f,0x6e])](_0x46348e([0x61,0x64,0x64]),_0x50083f);})),_0xb4afd3=new window[(_0x46348e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x441b7b=>{function _0x425566(){for(const _0xfef974 in window)if(window[_0x46348e([0x4e,0x75,0x6d,0x62,0x65,0x72])]['isNaN'](window[_0x46348e([0x4e,0x75,0x6d,0x62,0x65,0x72])](_0xfef974))&&window[_0xfef974]==_0x36c480)return _0x441b7b();_0x3f20f5[_0x46348e([0x73,0x74,0x61,0x74,0x65])]!=_0x46348e([0x64,0x65,0x73,0x74,0x72,0x6f,0x79,0x65,0x64])&&window[_0x46348e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x425566,0x1388);}_0x1d3017(_0x46348e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&_0x425566();}),_0x4a6e49=[_0x432408,_0x19f0fa,_0xb4afd3];return window[_0x46348e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x46348e([0x72,0x61,0x63,0x65])](_0x4a6e49)[_0x46348e([0x74,0x68,0x65,0x6e])](()=>_0x31767b);}(_0x46348e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x4ad519&&_0x34e224)return new window[(_0x46348e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1acc57,_0xb44b8)=>{_0x4ad519[_0x46348e([0x74,0x68,0x65,0x6e])](_0x1acc57,_0xb44b8),_0x34e224[_0x46348e([0x74,0x68,0x65,0x6e])](_0x4f739d=>{_0x4f739d!=_0x46348e([0x56,0x61,0x6c,0x69,0x64])&&_0x1acc57(_0x4f739d);},_0xb44b8);});return _0x4ad519||_0x34e224||_0x46348e([0x56,0x61,0x6c,0x69,0x64]);}())):_0x46348e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x46348e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x46348e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x46348e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x15495c(){const _0x1b0930=window[_0x46348e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x46348e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x46348e([0x6e,0x6f,0x77])]())[_0x46348e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x46348e([0x2e]),'');let _0x23f641=_0x46348e([0x76]);for(let _0x18ea93=0x0;_0x18ea93<_0x1b0930[_0x46348e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x18ea93+=0x2){let _0x27b27a=window[_0x46348e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b0930[_0x46348e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x18ea93,_0x18ea93+0x2));_0x27b27a>=_0x51d905[_0x46348e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x27b27a-=_0x51d905[_0x46348e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x23f641+=_0x51d905[_0x27b27a];}return _0x23f641;}function _0x2b4a1e(_0x18f282){return _0x18f282[_0x46348e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x46348e([0x65,0x79]))?JSON[_0x46348e([0x70,0x61,0x72,0x73,0x65])](_0x3368da(_0x18f282)):null;}function _0x3368da(_0x306b27){return window[_0x46348e([0x61,0x74,0x6f,0x62])](_0x306b27[_0x46348e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x46348e([0x2b]))[_0x46348e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x46348e([0x2f])));}function _0x8f4e2(_0x42962d){let _0x505972=0x1505;function _0x4e94ab(_0x2af295){for(let _0x181915=0x0;_0x181915<_0x2af295[_0x46348e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x181915++){const _0x358930=_0x2af295[_0x46348e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x181915);_0x505972=(_0x505972<<0x5)+_0x505972+_0x358930,_0x505972&=_0x505972;}}return function _0x4290fa(_0x2511ed){Array[_0x46348e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2511ed)?_0x2511ed[_0x46348e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4290fa):_0x2511ed&&typeof _0x2511ed==_0x46348e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x46348e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2511ed)[_0x46348e([0x73,0x6f,0x72,0x74])]()[_0x46348e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5eb650,_0x8e77f6])=>{_0x4e94ab(_0x5eb650),_0x4290fa(_0x8e77f6);}):_0x4e94ab(window[_0x46348e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2511ed));}(_0x42962d),_0x505972>>>0x0;}function _0xef80fc(_0x475b18){return _0x475b18[_0x46348e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x46348e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x46348e([0x30]));}function _0x16c63c(_0x3cb7ae){return _0x3cb7ae[_0x46348e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x46348e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x46348e([0x6a,0x6f,0x69,0x6e])]('');}function _0x1d3017(_0x460bf5){return _0x3f20f5[_0x46348e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x46348e([0x68,0x61,0x73])](_0x460bf5);}function _0x571270(_0x10006c){return _0x3f20f5[_0x46348e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x46348e([0x67,0x65,0x74])](_0x10006c);}function _0x344664(){}function _0x46348e(_0x46cefc){return _0x46cefc['map'](_0x4db6d3=>String['fromCharCode'](_0x4db6d3))['join']('');}!function(_0x1d8bcd){const _0x260fef=_0x15495c();_0x3f20f5[_0x260fef]=_0x46348e([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])+_0x1d8bcd,_0x1d8bcd[_0x46348e([0x65,0x6e,0x64,0x73,0x57,0x69,0x74,0x68])](_0x46348e([0x4c,0x69,0x6d,0x69,0x74]))&&(window[_0x15495c()]=_0x36c480),_0x1d8bcd!=_0x46348e([0x56,0x61,0x6c,0x69,0x64])&&(async function(){if(await _0x4d8a3d,_0x1d3017(_0x46348e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x1d54d1=_0xc67bfc[_0x46348e([0x67,0x65,0x74,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])](0x0),_0x4618b3=_0xc67bfc[_0x46348e([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])](_0x1d54d1[_0x46348e([0x69,0x64])]),_0x449d0d=_0x571270(_0x46348e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]));return await _0x449d0d[_0x46348e([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x1d54d1['id'],_0x4618b3?_0x4618b3['id']:null,!0x0),_0x449d0d[_0x46348e([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x46348e([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x449d0d[_0x46348e([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x449d0d[_0x46348e([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x344664,void(_0x449d0d[_0x46348e([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x344664);}if(_0x1d3017(_0x46348e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))){const _0x5ca630=_0x571270(_0x46348e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]));_0x5ca630[_0x46348e([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x46348e([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x5ca630[_0x46348e([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x5ca630[_0x46348e([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x344664,_0x5ca630[_0x46348e([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x344664;}_0x3f20f5[_0x46348e([0x6d,0x6f,0x64,0x65,0x6c])][_0x46348e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x344664,_0x3f20f5[_0x46348e([0x6d,0x6f,0x64,0x65,0x6c])][_0x46348e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x344664,_0x3f20f5[_0x46348e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x46348e([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x38b47f);}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'](_0x22ff99,_0x5cebeb){if(_0x22ff99['diffData']||!_0x5cebeb)return;const _0x38ec13=this['editor']['config']['get']('collaboration.channelId'),_0xcf700d=await _0x5cebeb['getRevision']({'channelId':_0x38ec13,'revisionId':_0x22ff99['id']});_0x22ff99['diffData']=_0xcf700d['diffData'];}['getRevisionDocumentData'](_0x4a96d5){const _0x5b079b={};for(const _0x16f637 in _0x4a96d5['diffData']){if(_0x4a96d5['diffData'][_0x16f637]['attachChange']&&!_0x4a96d5['diffData'][_0x16f637]['attachChange']['isAttached'])continue;const _0x3a98e7=this['_removeRevisionMarkers'](JSON['parse'](_0x4a96d5['diffData'][_0x16f637]['insertions'])),_0x1edc13=this['editor']['editing']['view']['document'],_0x45e4e7=new ckeditor5['ViewDocumentFragment'](_0x1edc13,_0x3a98e7['map'](_0x1eb1e9=>this['_getViewFromDiffObj'](_0x1eb1e9,!0x1)));this['editor']['data']['processor']['useFillerType']('marked'),_0x5b079b[_0x16f637]=this['editor']['data']['processor']['toData'](_0x45e4e7),this['editor']['data']['processor']['useFillerType']('default');}return _0x5b079b;}['getRevisionRootsAttributes'](_0x5f0349){const _0x625660={};for(const _0x3b70d8 in _0x5f0349['diffData'])_0x5f0349['diffData'][_0x3b70d8]['attachChange']&&!_0x5f0349['diffData'][_0x3b70d8]['attachChange']['isAttached']||(_0x625660[_0x3b70d8]=_0x5f0349['diffData'][_0x3b70d8]['attributesAfter']||{});return _0x625660;}['_getTypeCharForViewElement'](_0x48017f){return this['_viewClassToTypeChar']['get'](_0x48017f['constructor']);}['_getViewFromDiffObj'](_0x144cca,_0x561395){const _0x5f5b94=this['editor']['editing']['view']['document'];if('string'==typeof _0x144cca)return new ckeditor5['ViewText'](_0x5f5b94,_0x144cca);{let _0xbaf13a,_0x17a535;_0x17a535='u'==_0x144cca['type']||'r'==_0x144cca['type']?[]:_0x144cca['children']['map'](_0x3b4997=>this['_getViewFromDiffObj'](_0x3b4997,_0x561395));const _0x322a36=this['_typeCharToViewClass']['get'](_0x144cca['type'])||ckeditor5['ViewElement'],_0x25ad66=this['editor']['data']['htmlProcessor']['domConverter'];if(_0xbaf13a=new _0x322a36(_0x5f5b94,_0x144cca['name'],_0x144cca['attributes'],_0x17a535),'u'==_0x144cca['type']&&_0x144cca['children'][0x0]){const _0xf0ee9b=_0x144cca['children'][0x0];if(_0xbaf13a['render']=function(_0x14b1db){const _0xde2a0c=_0x14b1db['createElement']('div');return _0xde2a0c['innerHTML']=_0xf0ee9b,_0xde2a0c['childNodes'][0x0];},_0x561395){const _0x15ffda=new ckeditor5['ViewDocumentFragment'](_0x5f5b94);_0x15ffda['_appendChild'](_0xbaf13a);const _0x180c74=Array['from'](_0x25ad66['viewChildrenToDom'](_0x15ffda,{'bind':!0x1})),_0x522d69=_0x25ad66['domDocument']['createElement']('div');_0x522d69['append'](..._0x180c74),_0xbaf13a=Array['from'](_0x25ad66['domChildrenToView'](_0x522d69))[0x0];}}else{if('r'==_0x144cca['type']&&_0x144cca['children'][0x0]){const _0x47955e=_0x144cca['children'][0x0];if(_0xbaf13a['render']=function(_0x192a16){_0x192a16['innerHTML']=_0x47955e;},_0x561395){const _0x527682=new ckeditor5['ViewDocumentFragment'](_0x5f5b94);_0x527682['_appendChild'](_0xbaf13a);const _0xe19caf=Array['from'](_0x25ad66['viewChildrenToDom'](_0x527682,{'bind':!0x1})),_0x545a0b=_0x25ad66['domDocument']['createElement']('div');_0x545a0b['append'](..._0xe19caf);const _0x3b4758=Array['from'](_0x25ad66['domChildrenToView'](_0x545a0b));_0x3b4758['length']>0x1?_0xbaf13a['_appendChild'](_0x3b4758):_0xbaf13a=_0x3b4758[0x0];}}}if(_0x144cca['customProperties']){for(const [_0xb758a3,_0x44aca9]of _0x144cca['customProperties'])_0xbaf13a['_setCustomProperty'](_0xb758a3,_0x44aca9);}const _0x233366=void 0x0===_0x144cca['fillerOffset']?null:_0x144cca['fillerOffset'];return null!==_0x233366&&(_0xbaf13a['getFillerOffset']=()=>_0x233366),_0xbaf13a;}}['_makeModelFromViewString'](_0x350dbb){const _0xd37674=JSON['parse'](_0x350dbb),_0x59918d=this['editor']['editing']['view']['document'],_0x2eb71c=new ckeditor5['ViewDocumentFragment'](_0x59918d,_0xd37674['map'](_0x2c3655=>this['_getViewFromDiffObj'](_0x2c3655,!0x0)));return this['editor']['data']['toModel'](_0x2eb71c);}['_removeRevisionMarkers'](_0x5769b6){return(_0x5769b6=_0x5769b6['filter'](_0x275ca6=>!_0x275ca6['name']||'revision-start'!==_0x275ca6['name']&&'revision-end'!==_0x275ca6['name']))['forEach'](_0x2e3eaf=>{'string'!=typeof _0x2e3eaf&&(_0x2e3eaf['children']=this['_removeRevisionMarkers'](_0x2e3eaf['children']),_0x2e3eaf['attributes']=_0x2e3eaf['attributes']['filter'](_0x2509ae=>!_0x2509ae[0x0]['startsWith']('data-revision-')));}),_0x5769b6;}}function getTranslation$5(_0x100776,_0x353772,_0x2b44c9){const t=_0x100776['t'];switch(_0x353772){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'},_0x2b44c9);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x2b44c9);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 _0x457abd 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[_0x5e54fb,RevisionsRepository,RevisionHistoryUtils,ckeditor5['PendingActions']];}constructor(_0x411233){super(_0x411233),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 _0x3e864a=ckeditor5['uid']();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x3e864a},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 _0x4b708c=this['repository']['getRevision'](0x0),_0x29d386=_0x4b708c&&null===_0x4b708c['creator']?_0x4b708c:null;if(this['_continueCurrentRevision']=!!_0x29d386&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x301bf2=this['_source']['getCurrentRevisionId'](),_0x805ab8=this['repository']['getRevision'](_0x301bf2);if(_0x805ab8)this['_startingVersion']=_0x805ab8['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x48639b=this['_source']['history']['_operations']['find'](_0x1d4764=>!_0x1d4764['_isInit']),_0x3696e3=_0x48639b?_0x48639b['baseVersion']:this['_source']['history']['version'];_0x4b708c?(_0x4b708c['toVersion']<_0x3696e3&&_0x4b708c['_update']({'toVersion':_0x3696e3}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x29d386['id'],this['_startingVersion']=_0x29d386['fromVersion']):(this['_startingVersion']=_0x4b708c['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x3696e3,this['_continueCurrentRevision']=!0x1);}}else _0x29d386&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x29d386['toVersion'],this['editor']['model']['document']['history']['version']),_0x29d386['fromVersion']===_0x29d386['toVersion']?(0x0!==_0x29d386['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x29d386['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x29d386['id'],this['_startingVersion']=_0x29d386['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',_0x5c3157=>!_0x5c3157),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4bc323=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x9f437c;for(const _0x10d2bf in _0x4bc323){const _0x2d6d61=_0x10d2bf,_0x53fbf0=_0x4bc323[_0x2d6d61];if('revisionHistoryLicenseKeyValid'==_0x53fbf0||'revisionHistoryLicenseKeyInvalid'==_0x53fbf0||'revisionHistoryLicenseKeyExpired'==_0x53fbf0||'revisionHistoryLicenseKeyDomainLimit'==_0x53fbf0||'revisionHistoryLicenseKeyNotAllowed'==_0x53fbf0||'revisionHistoryLicenseKeyEvaluationLimit'==_0x53fbf0||'revisionHistoryLicenseKeyUsageLimit'==_0x53fbf0){delete _0x4bc323[_0x2d6d61],_0x9f437c=_0x53fbf0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'revisionHistoryLicenseKeyInvalid'==_0x9f437c&&_0x4bc323['_showLicenseError']('invalid'),'revisionHistoryLicenseKeyExpired'==_0x9f437c&&_0x4bc323['_showLicenseError']('expired'),'revisionHistoryLicenseKeyDomainLimit'==_0x9f437c&&_0x4bc323['_showLicenseError']('domainLimit'),'revisionHistoryLicenseKeyNotAllowed'==_0x9f437c&&_0x4bc323['_showLicenseError']('featureNotAllowed','RevisionHistory'),'revisionHistoryLicenseKeyEvaluationLimit'==_0x9f437c&&_0x4bc323['_showLicenseError']('evaluationLimit'),'revisionHistoryLicenseKeyUsageLimit'==_0x9f437c&&_0x4bc323['_showLicenseError']('usageLimit');},0x3e8);}async['afterInit'](){if(this['repository']['length']>0x0){const _0xe5e63=this['repository']['getRevision'](0x0),_0x497132=await this['getRevisionDocumentData'](_0xe5e63),_0x27a4b0=await this['getRevisionRootsAttributes'](_0xe5e63);this['_replaceEditorDataWithRevisionData'](_0x497132,_0x27a4b0);}}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['setSource'](_0x562eb7){this['_source']=_0x562eb7;}async['update'](){const _0xcd0e1e=await this['_source']['getLatestVersion']();if(_0xcd0e1e>this['currentRevision']['toVersion']){await this['_loadState']();const _0x3df24f=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0xcd0e1e});_0x3df24f['authors']=_0x3df24f['authorsIds']['map'](_0x2fdf20=>this['editor']['plugins']['get']('Users')['getUser'](_0x2fdf20)),this['currentRevision']['_update'](_0x3df24f);}}async['saveRevision'](_0x188960={},_0xf0cf1c=null){const _0x3acf61=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0xf0cf1c>this['currentRevision']['toVersion']&&(_0xf0cf1c=null),null===_0xf0cf1c&&(_0xf0cf1c=await this['_source']['getLatestVersion']());const _0x5f21c3=this['_getFromVersion'](_0xf0cf1c),_0xda14e7=this['buildRevisionData']({'from':_0x5f21c3,'to':_0xf0cf1c});if(this['currentRevision']['toVersion']<_0xf0cf1c){const _0x43145c=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0xf0cf1c,'to':_0xf0cf1c});_0x43145c['authors']=[],_0x43145c['authorsIds']=[],_0x43145c['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x43145c,!0x0),delete _0x43145c['authors'],_0x3acf61['push'](_0x43145c);}_0x188960['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x188960['name']=_0x188960['name']||null,_0x188960['id']=_0x188960['id']||ckeditor5['uid'](),_0x188960={..._0x188960,..._0xda14e7};const _0xa5ef71=this['addRevisionData'](_0x188960);_0x3acf61['push'](_0x188960);const _0x122c46=this['repository']['getIndex'](_0xa5ef71);if(0x0!==_0x122c46){const _0x39840c=this['repository']['getRevision'](_0x122c46-0x1);if(_0x39840c['fromVersion']!==_0xf0cf1c){const _0x472b94=this['_revisionDataBuilder']['getData'](_0xf0cf1c,_0x39840c['toVersion']),_0x4232a3={'id':_0x39840c['id'],'diffData':_0x472b94['diffData'],'authorsIds':_0x472b94['authorsIds'],'authors':_0x472b94['authorsIds']['map'](_0x4e7aad=>this['editor']['plugins']['get']('Users')['getUser'](_0x4e7aad)),'fromVersion':_0xf0cf1c};_0x39840c===this['currentRevision']&&(_0x4232a3['createdAt']=new Date(_0x188960['createdAt']['getTime']()+0xa)),_0x39840c['_update'](_0x4232a3,!0x0),delete _0x4232a3['authors'],_0x3acf61['push'](_0x4232a3);}}if(this['adapter']){for(const _0x451120 of _0x3acf61)this['_bufferUpdate'](_0x451120['id'],_0x451120,!0x0);this['sendBufferedUpdates']();}return _0xa5ef71;}['addRevisionData'](_0x1ddade){const _0x2dcdd7=this['repository']['createRevision'](_0x1ddade);return this['adapter']&&_0x2dcdd7['on']('_update',(_0x2ded8f,_0x2942da,_0x238314)=>{_0x238314||(this['_bufferUpdate'](_0x2942da['id'],_0x2942da,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x2dcdd7,this['_findInsertionIndex'](_0x2dcdd7)),_0x2dcdd7;}async['getRevisionDocumentData'](_0x1e13b9){return await this['_utils']['loadRevisionData'](_0x1e13b9,this['adapter']),this['_utils']['getRevisionDocumentData'](_0x1e13b9);}async['getRevisionRootsAttributes'](_0x561293){return await this['_utils']['loadRevisionData'](_0x561293,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x561293);}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x3c093b=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x3bded0=0x0;_0x3bded0<_0x3c093b['length'];_0x3bded0++){const _0x374093=_0x3c093b[_0x3bded0];let _0x2871d8=!0x1;for(const _0x2084d1 of Object['keys'](_0x374093))void 0x0===_0x374093[_0x2084d1]?delete _0x374093[_0x2084d1]:'id'!==_0x2084d1&&(_0x2871d8=!0x0);_0x2871d8||(_0x3c093b[_0x3bded0]=null);}if(_0x3c093b=_0x3c093b['filter'](_0x1acef5=>null!==_0x1acef5),!_0x3c093b['length'])return;for(let _0xdce099=0x0;_0xdce099<_0x3c093b['length'];_0xdce099++){const _0x516997=_0x3c093b[_0xdce099];void 0x0!==_0x516997['fromVersion']&&void 0x0===_0x516997['toVersion']&&(_0x516997['toVersion']=this['repository']['getRevision'](_0x516997['id'])['toVersion']),void 0x0!==_0x516997['toVersion']&&void 0x0===_0x516997['fromVersion']&&(_0x516997['fromVersion']=this['repository']['getRevision'](_0x516997['id'])['fromVersion']);}const _0x5c7ca9=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x3c093b,_0x5c7ca9)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x18a9a6=>{if(_0x18a9a6){for(const _0xe2848b of _0x18a9a6)this['setRevisionData']({'id':_0xe2848b['id'],'createdAt':_0xe2848b['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['buildRevisionData']({revision:_0x36d6ac=null,from:_0x51fbdd=null,to:_0x216af6=null}){_0x51fbdd=null!==_0x51fbdd?_0x51fbdd:_0x36d6ac['fromVersion'],_0x216af6=null!==_0x216af6?_0x216af6:_0x36d6ac['toVersion'];const _0x293f04=this['_revisionDataBuilder']['getData'](_0x51fbdd,_0x216af6),_0x48b158={'diffData':_0x293f04['diffData'],'authorsIds':_0x293f04['authorsIds'],'fromVersion':_0x51fbdd,'toVersion':_0x216af6};if(!_0x36d6ac||_0x216af6!==_0x36d6ac['toVersion']){const _0x35351a=_0x216af6-0x1,_0x4b31f1=this['_source']['history']['getOperation'](_0x35351a);_0x48b158['createdAt']=_0x4b31f1&&_0x4b31f1['createdAt']||new Date();}if(this['_loadedStateData']&&_0x51fbdd===this['_loadedStateData']['fromVersion']){for(const _0x44acf7 of this['_loadedStateData']['authors'])_0x48b158['authorsIds']['includes'](_0x44acf7['id'])||_0x48b158['authorsIds']['push'](_0x44acf7['id']);}return _0x48b158;}['_bufferUpdate'](_0x14b312,_0xdc9625,_0x282291){if(this['_bufferedUpdates']['has'](_0x14b312)){const _0x53fa41=this['_bufferedUpdates']['get'](_0x14b312);_0xdc9625=_0x282291?{..._0x53fa41,..._0xdc9625}:{..._0xdc9625,..._0x53fa41};}this['_bufferedUpdates']['set'](_0x14b312,_0xdc9625);}['setRevisionData'](_0x1e84dc){const _0x343d12=this['repository']['getRevision'](_0x1e84dc['id']);if(_0x1e84dc['createdAt']&&(_0x1e84dc['createdAt']=new Date(_0x1e84dc['createdAt'])),_0x1e84dc['authorsIds']){const _0x373f43=this['editor']['plugins']['get']('Users');_0x1e84dc['authors']=_0x1e84dc['authorsIds']['map'](_0x110b19=>_0x373f43['getUser'](_0x110b19));}_0x343d12['_update'](_0x1e84dc,!0x0);}['_createInitialRevision'](_0x37859e){const _0x3185ac=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x3185ac)this['_initialRevisionId']=_0x3185ac['id'];else{const _0x5196ab=!this['editor']['model']['document']['roots']['find'](_0x16485e=>this['editor']['model']['hasContent'](_0x16485e)),_0x571ba9=this['editor']['plugins']['get']('Users')['me']['id'],_0x7fd188=getTranslation$5(this['editor']['locale'],_0x5196ab?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x37859e,'to':_0x37859e,'id':this['_initialRevisionId'],'name':_0x7fd188,'creatorId':_0x571ba9});}}['_createCurrentRevision'](_0x49544f){const _0x3f5967=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x3f5967),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x49544f,'to':_0x49544f,'id':_0x3f5967,'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'](_0x44e27e,_0x3680a5){let _0x316842=this['editor']['config']['get']('initialData'),_0x3a6f48=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x316842){_0x316842={};for(const _0x523937 of this['editor']['model']['document']['getRootNames']())_0x316842[_0x523937]='';}if('string'==typeof _0x316842&&(_0x316842={'main':_0x316842}),void 0x0===_0x3a6f48){_0x3a6f48={};for(const _0xa3c37a of this['editor']['model']['document']['getRootNames']())_0x3a6f48[_0xa3c37a]={};}let _0x214224=!0x1;const _0x1955a1=Object['keys'](_0x316842),_0x2a57b9=Object['keys'](_0x44e27e);for(const _0x5126f4 of _0x1955a1){if(_0x316842[_0x5126f4]!==_0x44e27e[_0x5126f4]&&''!==_0x316842[_0x5126f4]['trim']()){_0x214224=!0x0;break;}if(!_0x4cbe47(_0x3a6f48[_0x5126f4],_0x3680a5[_0x5126f4])&&Object['keys'](_0x3a6f48[_0x5126f4])['length']>0x0){_0x214224=!0x0;break;}}_0x214224||(_0x214224=_0x2a57b9['some'](_0x52a085=>!this['editor']['model']['document']['getRoot'](_0x52a085))),_0x214224&&ckeditor5['logWarning']('editor-initial-data-replaced-with-revision-data',{'editorData':_0x316842,'editorRootsAttributes':_0x3a6f48,'revisionData':_0x44e27e,'revisionRootsAttributes':_0x3680a5}),this['editor']['config']['set']('initialData',_0x44e27e),this['editor']['config']['set']('rootsAttributes',_0x3680a5);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x427ed3=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x427ed3['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'](_0x2aa028){const _0x45e2d1=this['repository']['getRevisions']();_0x45e2d1['reverse']();let _0x5e57e5=0x0;for(;_0x5e57e5<_0x45e2d1['length'];){const _0x1ab489=_0x45e2d1[_0x5e57e5];if(_0x1ab489===this['currentRevision']){_0x5e57e5++;continue;}if(_0x1ab489['id']===this['_initialRevisionId'])break;const _0x567cbe=_0x2aa028['toVersion']-_0x1ab489['toVersion']||_0x2aa028['fromVersion']-_0x1ab489['fromVersion'];if(_0x567cbe>0x0)break;if(_0x567cbe<0x0)_0x5e57e5++;else{if(!_0x2aa028['creator']&&_0x1ab489['creator'])break;if(_0x1ab489['creator']||!_0x2aa028['creator']){if(_0x2aa028['createdAt']>_0x1ab489['createdAt'])break;_0x5e57e5++;}else _0x5e57e5++;}}return _0x5e57e5;}['_getFromVersion'](_0x59d83d){const _0x5f2e97=this['repository']['getRevisions']();_0x5f2e97['reverse'](),_0x5f2e97['shift']();const _0x1d77ac=_0x5f2e97['find'](_0x5d3386=>_0x5d3386['toVersion']<=_0x59d83d)['toVersion'];return _0x1d77ac<this['_startingVersion']?this['_startingVersion']:_0x1d77ac;}['_makeRevision']({name:_0x16cefd,from:_0x4a76b9,to:_0x1ce870,creatorId:_0x50d3a7,id:_0x413479}){const _0x3612ba=this['buildRevisionData']({'from':_0x4a76b9,'to':_0x1ce870});_0x3612ba['name']=_0x16cefd,_0x3612ba['creatorId']=_0x50d3a7,_0x3612ba['id']=_0x413479;const _0x37f5e8=this['addRevisionData'](_0x3612ba);return this['adapter']&&this['_bufferUpdate'](_0x3612ba['id'],_0x3612ba,!0x0),_0x37f5e8;}['_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(_0x13d889){this['editor']=_0x13d889,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'](_0x3ae856){this['source']=_0x3ae856;const _0xf4ec48=new Map(),_0x92c3fa=new Map(),_0xbdf656=this['editor']['model']['document']['roots']['map'](_0xa468f3=>_0xa468f3['rootName']);for(const _0x4c7962 of _0xbdf656){const _0x5233f3=this['editor']['model']['document']['getRoot'](_0x4c7962),_0x349137=_cloneRoot(_0x5233f3);_0xf4ec48['set'](_0x4c7962,_0x349137),_0x92c3fa['set'](_0x4c7962,Object['fromEntries'](_0x5233f3['getAttributes']()));}const _0x40bb57=Array['from'](this['editor']['model']['markers'])['map'](_0x544ab4=>[_0x544ab4['name'],_0x544ab4['getRange']()]),_0x27fe84=this['source']['version'];this['_saveMetaData'](_0x27fe84,_0xf4ec48,_0x40bb57,_0x92c3fa),this['_startingRevisionId']=this['_revisionId'];const _0x3de2ad=new Map(),_0x53df9d=new Map();for(const _0x4a7314 of _0xbdf656){const _0x2f63a9=_emptyRoot(_0x4a7314);_0x3de2ad['set'](_0x4a7314,_0x2f63a9),_0x53df9d['set'](_0x4a7314,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x3de2ad,[],_0x53df9d);}['getData'](_0x4f644c,_0x56673b){if(this['_lastFrom']===_0x4f644c&&this['_lastTo']<=_0x56673b)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x56673b,!0x0);else{if(!this['_savedMetaData']['has'](_0x4f644c)){const _0x200bfc=this['_getPreviousFrom'](_0x4f644c);this['_calculateMetaData'](_0x200bfc,_0x4f644c,!0x1);}this['_calculateMetaData'](_0x4f644c,_0x56673b,!0x0);}return this['_lastFrom']=_0x4f644c,this['_lastTo']=_0x56673b,this['_getState']();}['loadState'](_0x33d92b){if(!this['_savedMetaData']['has'](_0x33d92b['fromVersion'])){const _0x42de58=this['_getPreviousFrom'](_0x33d92b['fromVersion']);this['_calculateMetaData'](_0x42de58,_0x33d92b['fromVersion'],!0x1);}this['_calculateMetaData'](_0x33d92b['fromVersion'],_0x33d92b['toVersion'],!0x1);const _0x2fb5fd=this['editor']['plugins']['get']('RevisionHistoryUtils');this['_reset'](),this['_lastFrom']=_0x33d92b['fromVersion'],this['_lastTo']=_0x33d92b['toVersion'];for(const _0x44f647 in _0x33d92b['diffData']){const _0x477674=_0x33d92b['diffData'][_0x44f647]['attachChange'],_0x7a8510=_0x2222d2(_0x33d92b['diffData'][_0x44f647]['attributesBefore'])||{},_0x2d4e31=_0x2fb5fd['_makeModelFromViewString'](_0x33d92b['diffData'][_0x44f647]['deletions']);_0x2d4e31['rootName']=_0x44f647,_0x2d4e31['_isAttached']=!_0x477674||!_0x477674['isAttached'],_0x2d4e31['isAttached']=()=>_0x2d4e31['_isAttached'],this['_baseRoots']['set'](_0x44f647,_0x2d4e31),this['_baseRootsAttributes']['set'](_0x44f647,_0x7a8510),_0x477674&&this['_touchedRoots']['set'](_0x44f647,_0x477674);const _0x5c98f0=this['_makeIdsRoot'](_0x2d4e31);this['_baseIdsRoots']['set'](_0x44f647,_0x5c98f0);for(const [_0x1f4601,_0x31e859]of _0x2d4e31['markers']){if(!_0x1f4601['startsWith']('revision:'))continue;const _0x29ff5b=_0x1f4601['split'](':')[0x2];for(const _0x31a54a of _0x31e859['getWalker']({'singleCharacters':!0x0})){const _0x5c64c0=this['_getVidAttributeName'](_0x31a54a),_0x3e378d='elementEnd'==_0x31a54a['type']?_0x31a54a['previousPosition']['path']['slice'](0x0,-0x1):_0x31a54a['previousPosition']['path'],_0xc93cad=_0x5c98f0['getNodeByPath'](_0x3e378d)['getAttribute'](_0x5c64c0);this['_touched']['set'](_0xc93cad,{'userId':_0x29ff5b});}_0x2d4e31['markers']['delete'](_0x1f4601);}}this['_startingRevisionId']=this['_revisionId'];const _0x3d93c4=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x12116b=>!this['_touched']['has'](_0x12116b));let _0x188c1b=0x0;const _0x477193=new Map();for(const _0x362e44 in _0x33d92b['diffData']){const _0x3abdd0=_0x33d92b['diffData'][_0x362e44]['attachChange'],_0x1ab153=_0x2222d2(_0x33d92b['diffData'][_0x362e44]['attributesAfter'])||{},_0x535100=_0x2fb5fd['_makeModelFromViewString'](_0x33d92b['diffData'][_0x362e44]['insertions']);_0x535100['rootName']=_0x362e44,_0x535100['_isAttached']=!_0x3abdd0||_0x3abdd0['isAttached'],_0x535100['isAttached']=()=>_0x535100['_isAttached'],this['_diffRoots']['set'](_0x362e44,_0x535100),this['_diffRootsAttributes']['set'](_0x362e44,_0x1ab153);const _0x1e8ad1=this['_makeIdsRoot'](_0x535100,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x362e44,_0x1e8ad1),_0x477193['set'](_0x362e44,_0x535100['isAttached']()?_0x1ab153:{});for(const [_0x173d5b,_0x2ea252]of _0x535100['markers']){if(!_0x173d5b['startsWith']('revision:'))continue;const _0x515f6a=_0x173d5b['split'](':')[0x2];for(const _0x1cc4ed of _0x2ea252['getWalker']({'singleCharacters':!0x0})){const _0x3fc43e=this['_getVidAttributeName'](_0x1cc4ed),_0x9d790a=this['_revisionId']++,_0x51fac4='elementEnd'==_0x1cc4ed['type']?_0x1cc4ed['previousPosition']['path']['slice'](0x0,-0x1):_0x1cc4ed['previousPosition']['path'];_0x1e8ad1['getNodeByPath'](_0x51fac4)['_setAttribute'](_0x3fc43e,_0x9d790a),this['_touched']['set'](_0x9d790a,{'userId':_0x515f6a});}_0x535100['markers']['delete'](_0x173d5b);}for(const _0x289a08 of this['editor']['model']['createRangeIn'](_0x535100)['getWalker']({'singleCharacters':!0x0})){const _0x237802=this['_getVidAttributeName'](_0x289a08),_0x2d04aa='elementEnd'==_0x289a08['type']?_0x289a08['previousPosition']['path']['slice'](0x0,-0x1):_0x289a08['previousPosition']['path'],_0x2a8e15=_0x1e8ad1['getNodeByPath'](_0x2d04aa);_0x2a8e15['getAttribute'](_0x237802)>0x0||_0x2a8e15['_setAttribute'](_0x237802,_0x3d93c4[_0x188c1b++]);}for(const [_0x2c089f,_0x2a2157]of _0x535100['markers'])_0x2c089f['startsWith']('revision:')||this['_markers']['set'](_0x2c089f,_0x2a2157);}const {roots:_0x1bb737}=this['_savedMetaData']['get'](_0x33d92b['fromVersion']),{roots:_0x3f6bb5}=this['_savedMetaData']['get'](_0x33d92b['toVersion']),_0x319b69=_cloneRoot(_0x1bb737['get']('$graveyard'));this['_baseRoots']['set']('$graveyard',_0x319b69),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x319b69,Number['NEGATIVE_INFINITY']));const _0x190c33=_cloneRoot(_0x3f6bb5['get']('$graveyard'));this['_diffRoots']['set']('$graveyard',_0x190c33),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x190c33));const _0x1c08db=Array['from'](this['_diffRoots'])['map'](([_0x26ef09,_0x460a6d])=>[_0x26ef09,_cloneRoot(_0x460a6d)]);this['_saveMetaData'](this['_lastTo'],_0x1c08db,this['_markers'],_0x477193);}['reInit'](){this['_reset'](),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_savedMetaData']['clear'](),this['init'](this['source']);}['_saveMetaData'](_0x434946,_0x51bdac,_0x3cac6d,_0x1128e3){const _0x243af7=new Map(_0x51bdac),_0x275705=new Map(_0x2222d2(_0x1128e3)),_0x40af61=new Map();for(const [_0x33c162,_0x301cc5]of _0x3cac6d)_0x40af61['set'](_0x33c162,{'start':_0x301cc5['start']['clone'](),'end':_0x301cc5['end']['clone'](),'rootName':_0x301cc5['root']['rootName']});this['_savedMetaData']['set'](_0x434946,{'roots':_0x243af7,'markers':_0x40af61,'rootsAttributes':_0x275705});}['_removeMetaData'](_0x509a38){this['_savedMetaData']['delete'](_0x509a38);}['_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'](_0x85e4c9,_0x395010=null){let _0x127a06=null;_0x85e4c9['is']('documentFragment')||(_0x127a06=new ckeditor5['ModelElement'](_0x85e4c9['name'],{'vid_start':null===_0x395010?this['_revisionId']++:_0x395010++}));const _0x16cf38=[];for(const _0x5b7c89 of _0x85e4c9['getChildren']())if(_0x5b7c89['is']('element')){_0x16cf38['push'](this['_makeIdsRoot'](_0x5b7c89,_0x395010));const _0xc0ae98=_0x16cf38[_0x16cf38['length']-0x1];null!==_0x395010&&(_0x395010=_0xc0ae98['is']('element','$text')?_0xc0ae98['getAttribute']('vid')+0x1:_0xc0ae98['getAttribute']('vid_end')+0x1);}else{for(let _0x467dff=0x0;_0x467dff<_0x5b7c89['offsetSize'];_0x467dff++)_0x16cf38['push'](new ckeditor5['ModelElement']('$text',{'vid':null===_0x395010?this['_revisionId']++:_0x395010++}));}if(_0x85e4c9['is']('documentFragment')){const _0x76d336=_emptyRoot(_0x85e4c9['rootName']);return _0x76d336['_insertChild'](0x0,_0x16cf38),_0x76d336;}return _0x127a06['_setAttribute']('vid_end',null===_0x395010?this['_revisionId']++:_0x395010++),_0x127a06['_insertChild'](0x0,_0x16cf38),_0x127a06;}['_calculateMetaData'](_0x591b64,_0x5cbf50,_0x40a40b){this['_reset']();const {roots:_0x2b338e,markers:_0x36a4a7,rootsAttributes:_0x1d320a}=this['_savedMetaData']['get'](_0x591b64);this['_baseRoots']=new Map(_0x2b338e),this['_baseRootsAttributes']=new Map(_0x2222d2(_0x1d320a));for(const [_0x4b0c99,_0x1c58e7]of this['_baseRoots'])if('$graveyard'!==_0x4b0c99&&(this['_diffRoots']['set'](_0x4b0c99,_cloneRoot(_0x1c58e7)),this['_diffRootsAttributes']=new Map(_0x2222d2(_0x1d320a)),_0x40a40b)){const _0x4385c5=this['_revisionId'];this['_idsRoots']['set'](_0x4b0c99,this['_makeIdsRoot'](_0x1c58e7)),this['_baseIdsRoots']['set'](_0x4b0c99,this['_makeIdsRoot'](_0x1c58e7,_0x4385c5));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',_cloneRoot(this['_baseRoots']['get']('$graveyard'))),_0x40a40b&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x213328,_0x8b72ae]of _0x36a4a7){const _0x2ac9c5=this['_baseRoots']['get'](_0x8b72ae['rootName']),_0x413742=this['_diffRoots']['get'](_0x8b72ae['rootName']),_0x34e433=new ckeditor5['ModelRange'](this['_fixPosition'](_0x8b72ae['start'],_0x2ac9c5),this['_fixPosition'](_0x8b72ae['end'],_0x2ac9c5)),_0xbbdb3a=this['_fixRange'](_0x34e433,_0x413742);_0x2ac9c5['markers']['set'](_0x213328,_0x34e433),this['_markers']['set'](_0x213328,_0xbbdb3a);}this['_applyOperations'](_0x591b64,_0x5cbf50,_0x40a40b);}['_applyOperations'](_0x1af880,_0x29f132,_0x1a870d){for(const _0x580467 of this['source']['getOperations'](_0x1af880,_0x29f132))this['_handleOperation'](_0x580467,_0x1a870d);for(const _0x455ac1 of this['_diffRoots']['values']())_0x455ac1['markers']['clear']();for(const [_0x529881,_0x56a73e]of this['_markers']){this['_diffRoots']['get'](_0x56a73e['root']['rootName'])['markers']['set'](_0x529881,_0x56a73e['clone']());}const _0x4a0ba1=new Map(),_0x4c80d0=new Map();for(const [_0x3c289d,_0x6ad488]of this['_diffRoots'])_0x4a0ba1['set'](_0x3c289d,_cloneRoot(_0x6ad488)),_0x4c80d0['set'](_0x3c289d,this['_diffRootsAttributes']['get'](_0x3c289d));this['_saveMetaData'](_0x29f132,_0x4a0ba1,this['_markers'],_0x4c80d0);}['_getPreviousFrom'](_0x510567){const _0xe5d5ba=Array['from'](this['_savedMetaData']['keys']());_0xe5d5ba['sort']((_0x45b61,_0x105aa0)=>_0x45b61-_0x105aa0),_0xe5d5ba['reverse']();for(const _0x54a472 of _0xe5d5ba)if(_0x54a472<_0x510567)return _0x54a472;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x58d8dc,_0x2e0cea){const _0x14305f=Array['from'](_0x2e0cea['markers'])['map'](([_0x57b3c6,_0x34b987])=>[_0x57b3c6,this['_fixRange'](_0x34b987,_0x58d8dc)]);_0x58d8dc['markers']=new Map(_0x14305f);}['_transformMarkers'](_0x31589a){for(const _0x5ed4f9 of this['_markers']['values']()){const _0x505065=_0x5ed4f9['getTransformedByOperation'](_0x31589a),_0x3eb841=ckeditor5['ModelRange']['_createFromRanges'](_0x505065);_0x5ed4f9['start']=_0x3eb841['start'],_0x5ed4f9['end']=_0x3eb841['end'];}}['_handleOperation'](_0x20f977,_0x27e820){if('addRoot'!=_0x20f977['type']&&'detachRoot'!=_0x20f977['type']){if('insert'==_0x20f977['type']){const _0xb3c890=_0x20f977['position']['root']['rootName'];this['_diffRoots']['has'](_0xb3c890)||(this['_diffRoots']['set'](_0xb3c890,_emptyRoot(_0xb3c890,!0x0)),this['_diffRootsAttributes']['set'](_0xb3c890,{}),_0x27e820&&this['_idsRoots']['set'](_0xb3c890,_emptyRoot(_0xb3c890,!0x0)));}else{if('addRootAttribute'==_0x20f977['type']||'removeRootAttribute'==_0x20f977['type']||'changeRootAttribute'==_0x20f977['type'])return void this['_handleRootAttributeOperation'](_0x20f977);'marker'==_0x20f977['type']&&this['_handleMarkerOperation'](_0x20f977);}if('marker'!==_0x20f977['type']){const _0x4faf6d=this['_cloneOperation'](_0x20f977,this['_diffRoots']);_0x4faf6d['_execute'](),this['_transformMarkers'](_0x4faf6d);}if(_0x27e820)switch(_0x20f977['type']){case'insert':this['_handleInsertOperation'](_0x20f977);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x20f977);break;case'merge':this['_handleMergeOperation'](_0x20f977);break;case'split':this['_handleSplitOperation'](_0x20f977);}}else this['_handleRootOperation'](_0x20f977,_0x27e820);}['_cloneOperation'](_0x30578b,_0x4cdfb2){const _0x4cf21a=_0x30578b['clone']();return _0x4cf21a['_authorId']=_0x30578b['_authorId'],this['_fixOperation'](_0x4cf21a,_0x4cdfb2),_0x4cf21a;}['_getBaseVids'](_0x2bd0d9){return _0x2bd0d9['map'](_0x37479e=>{const _0x4c63b6=this['_getVidAttributeName'](_0x37479e);return Number(_0x37479e['item']['getAttribute'](_0x4c63b6));});}['_generateTape'](_0x59f66b,_0x2e5547){if(_0x59f66b['is']('element','$text'))_0x2e5547['push']({'item':_0x59f66b,'type':'text'});else{_0x59f66b['is']('element')&&_0x2e5547['push']({'item':_0x59f66b,'type':'elementStart'});for(const _0x23b0d8 of _0x59f66b['getChildren']())this['_generateTape'](_0x23b0d8,_0x2e5547);_0x59f66b['is']('element')&&_0x2e5547['push']({'item':_0x59f66b,'type':'elementEnd'});}return _0x2e5547;}['_getState'](){const _0x7009e7=new Map(this['_touched']),_0x2d15b9=new Map(_0x7009e7),_0x410592=new Map(),_0x496eb6={'insertions':{},'deletions':{}},_0x37d7af={'insertions':{},'deletions':{}},_0x29e5d1=new Map(),_0x3b7bed=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x3b7bed['delete']('$graveyard');for(const _0x56a7e2 of _0x3b7bed){const _0x4b7c3e=this['_diffRoots']['get'](_0x56a7e2)||_emptyRoot(_0x56a7e2,!0x1),_0x23b4c9=this['_baseRoots']['get'](_0x56a7e2)||_emptyRoot(_0x56a7e2,!0x1);_0x4b7c3e['isAttached']()||_0x23b4c9['isAttached']()?(_0x496eb6['insertions'][_0x56a7e2]=_cloneRoot(_0x4b7c3e),_0x496eb6['deletions'][_0x56a7e2]=_cloneRoot(_0x23b4c9),this['_copyMarkers'](_0x496eb6['deletions'][_0x56a7e2],_0x23b4c9),this['_copyMarkers'](_0x496eb6['insertions'][_0x56a7e2],_0x4b7c3e),_0x37d7af['insertions'][_0x56a7e2]=this['_generateTape'](this['_idsRoots']['get'](_0x56a7e2),[]),_0x37d7af['deletions'][_0x56a7e2]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x56a7e2)||_emptyRoot(_0x56a7e2,!0x1),[])):_0x3b7bed['delete'](_0x56a7e2);}for(const _0x150f28 of _0x3b7bed){const _0x91a293=_0x37d7af['insertions'][_0x150f28];for(const _0x389f51 of _0x91a293){const _0x3823ee=this['_getVidAttributeName'](_0x389f51),_0x5846a9=_0x389f51['item']['getAttribute'](_0x3823ee);_0x2d15b9['delete'](_0x5846a9),_0x5846a9>=this['_startingRevisionId']&&_0x410592['set'](_0x5846a9,_0x7009e7['get'](_0x5846a9));}}for(const _0x17de94 of _0x3b7bed){const _0x1685de=_0x37d7af['insertions'][_0x17de94],_0x3b2eb7=this['_getBaseVids'](_0x37d7af['deletions'][_0x17de94]);let _0x474620=0x0;for(const _0xdad5d3 of _0x1685de){const _0x4d4590=this['_getVidAttributeName'](_0xdad5d3),_0x2d24a5=_0xdad5d3['item']['getAttribute'](_0x4d4590);if(!_0x410592['has'](_0x2d24a5)&&!_0x29e5d1['has'](_0x2d24a5)){if(_0x2d15b9['has'](_0x2d24a5))_0x474620++;else{if(_0x2d24a5!=_0x3b2eb7[_0x474620]){const _0x19103b=_0x7009e7['get'](_0x2d24a5)||_0x7009e7['get'](_0x3b2eb7[_0x474620]);for(;_0x2d24a5!=_0x3b2eb7[_0x474620];)_0x2d15b9['has'](_0x3b2eb7[_0x474620])||(_0x29e5d1['set'](_0x3b2eb7[_0x474620],_0x19103b),_0x7009e7['set'](_0x3b2eb7[_0x474620],_0x19103b)),_0x474620++;}_0x474620++;}}}}for(const _0x478404 of _0x3b7bed){const _0x32dfb8=_0x37d7af['insertions'][_0x478404];for(const _0x3b9848 of _0x32dfb8){const _0x4874c7=this['_getVidAttributeName'](_0x3b9848),_0x345165=_0x3b9848['item']['getAttribute'](_0x4874c7);if(_0x29e5d1['has'](_0x345165)){const _0x266f6b=_0x29e5d1['get'](_0x345165);_0x2d15b9['has'](_0x345165)||_0x2d15b9['set'](_0x345165,{..._0x266f6b}),_0x410592['set'](_0x345165,{..._0x266f6b});}}}for(const _0x41a83f of _0x2d15b9['keys']())_0x41a83f>=this['_startingRevisionId']&&_0x2d15b9['delete'](_0x41a83f);const _0x5dd27f=new Map();for(const _0x448d56 of _0x3b7bed){let _0x27bb7d=_0x37d7af['insertions'][_0x448d56];for(const _0x43db79 of _0x27bb7d)if(_0x43db79['item']['is']('element','tableCell')){const _0x59f6db=this['_getVidAttributeName'](_0x43db79),_0xcfb98d=_0x43db79['item']['getAttribute'](_0x59f6db);if(_0x410592['has'](_0xcfb98d)){const _0x4a58a3=_0x43db79['item']['parent']['parent']['getAttribute']('vid_start'),_0x3ae271=_0x5dd27f['get'](_0x4a58a3)||new Set();_0x3ae271['add'](_0x410592['get'](_0xcfb98d)['userId']),_0x5dd27f['set'](_0x4a58a3,_0x3ae271);}}_0x27bb7d=_0x37d7af['deletions'][_0x448d56];for(const _0x45d21e of _0x27bb7d)if(_0x45d21e['item']['is']('element','tableCell')){const _0x17a9b0=this['_getVidAttributeName'](_0x45d21e),_0x2c50ee=_0x45d21e['item']['getAttribute'](_0x17a9b0);if(_0x2d15b9['has'](_0x2c50ee)){const _0x3c8b26=_0x45d21e['item']['parent']['parent']['getAttribute']('vid_start'),_0x1655b0=_0x5dd27f['get'](_0x3c8b26)||new Set();_0x1655b0['add'](_0x2d15b9['get'](_0x2c50ee)['userId']),_0x5dd27f['set'](_0x3c8b26,_0x1655b0);}}for(const _0x1af304 of _0x5dd27f['keys']())(_0x410592['has'](_0x1af304)||_0x2d15b9['has'](_0x1af304))&&_0x5dd27f['delete'](_0x1af304);}for(const _0x22c65e of _0x3b7bed){const _0x3df3fa=_0x37d7af['insertions'][_0x22c65e];let _0x5c8d4a=null,_0x46090a=null;for(const _0x11d3de of _0x3df3fa){const _0x3e26de=this['_getVidAttributeName'](_0x11d3de),_0x277417=_0x11d3de['item']['getAttribute'](_0x3e26de),_0x387faf=_0x5dd27f['get'](_0x277417);_0x387faf&&'elementStart'==_0x11d3de['type']&&(_0x5c8d4a=Array['from'](_0x387faf)[0x0],_0x46090a=_0x11d3de['item']['getAttribute']('vid_end')),_0x5c8d4a&&(_0x2d15b9['set'](_0x277417,{'userId':_0x5c8d4a}),_0x410592['set'](_0x277417,{'userId':_0x5c8d4a})),_0x277417==_0x46090a&&(_0x5c8d4a=null,_0x46090a=null);}}const _0x54ccb9={},_0x7272df=new Set();for(const _0x2ccf1d of _0x3b7bed){const _0x4a13a9=_0x496eb6['deletions'][_0x2ccf1d],_0x3cd5bf=_0x496eb6['insertions'][_0x2ccf1d];for(const {userId:_0x4ba3f0}of this['_touchedMarkers']['values']())null!==_0x4ba3f0&&_0x7272df['add'](_0x4ba3f0);for(const {userId:_0x25dc50}of this['_touchedRoots']['values']())null!==_0x25dc50&&_0x7272df['add'](_0x25dc50);this['_markChanges'](_0x3cd5bf,_0x37d7af['insertions'][_0x2ccf1d],_0x410592,'insertion',_0x7272df),this['_markChanges'](_0x4a13a9,_0x37d7af['deletions'][_0x2ccf1d],_0x2d15b9,'deletion',_0x7272df),_0x54ccb9[_0x2ccf1d]={'insertions':this['_prepareViewToSave'](_0x3cd5bf),'deletions':this['_prepareViewToSave'](_0x4a13a9),'attachChange':this['_touchedRoots']['get'](_0x2ccf1d)||null,'attributesBefore':_0x2222d2(this['_baseRootsAttributes']['get'](_0x2ccf1d))||{},'attributesAfter':_0x2222d2(this['_diffRootsAttributes']['get'](_0x2ccf1d))};}return{'diffData':_0x54ccb9,'authorsIds':Array['from'](_0x7272df)};}['_processRootBeforeSave'](_0x46c1de){for(const [,_0x2a9211]of _0x46c1de['markers']){const _0x47ad25=_0x2a9211['start']['getAncestors']()['filter'](_0xd287d1=>'tableCell'==_0xd287d1['name']);for(const _0x10e1cc of _0x47ad25)0x1==_0x10e1cc['childCount']&&_0x10e1cc['getChild'](0x0)['is']('element','paragraph')&&_0x10e1cc['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x555aae){this['_processRootBeforeSave'](_0x555aae);const _0x38e5ec=this['editor']['data']['toView'](_0x555aae,{}),_0x1f1903=Array['from'](_0x38e5ec['getChildren']())['map'](_0x3e5ec1=>this['_getViewJson'](_0x3e5ec1));return JSON['stringify'](_0x1f1903);}['_getViewJson'](_0x1804f2){if(_0x1804f2['is']('$text'))return _0x1804f2['data'];{const _0x4298e0=this['editor']['plugins']['get']('RevisionHistoryUtils'),_0x5267e2=_0x1804f2,_0x21cbcb=this['editor']['data']['htmlProcessor']['domConverter'],_0x3e7ddc={'type':_0x4298e0['_getTypeCharForViewElement'](_0x5267e2),'name':_0x5267e2['name'],'attributes':Array['from'](_0x5267e2['getAttributes']()),'children':Array['from'](_0x5267e2['getChildren']())['map'](_0x3f7a3d=>this['_getViewJson'](_0x3f7a3d))};if(_0x1804f2['is']('uiElement')&&'$comment'!=_0x1804f2['name']){const _0x208092=_0x1804f2['render'](_0x21cbcb['domDocument'],_0x21cbcb);_0x3e7ddc['children']['push'](_0x208092['outerHTML']);}else{if(_0x1804f2['is']('rawElement')){const _0x23de98=_0x21cbcb['domDocument']['createElement'](_0x5267e2['name']);_0x1804f2['render'](_0x23de98,_0x21cbcb),_0x3e7ddc['children']['push'](_0x23de98['innerHTML']);}}const _0x4e08f2=Array['from'](_0x5267e2['getCustomProperties']());_0x4e08f2['length']>0x0&&(_0x3e7ddc['customProperties']=_0x4e08f2);const _0x1c1208=_0x5267e2['getFillerOffset']();return null!==_0x1c1208&&(_0x3e7ddc['fillerOffset']=_0x1c1208),_0x3e7ddc;}}['_markChanges'](_0x507c36,_0x37706b,_0x4d2b29,_0x4a02a0,_0x4ada53){let _0x1b73b2=null,_0x598cf5=null,_0x58a689=0x0;const _0x204ec3=this['editor']['model'];for(let _0x1eed15=0x0;_0x1eed15<_0x37706b['length'];_0x1eed15++){const _0x499634=this['_getVidAttributeName'](_0x37706b[_0x1eed15]),_0x1a793e=_0x37706b[_0x1eed15]['item']['getAttribute'](_0x499634),_0x1f6e0a=_0x4d2b29['get'](_0x1a793e),_0x4ccf81=_0x1eed15==_0x37706b['length']-0x1;(!_0x1b73b2&&_0x1f6e0a&&(_0x1b73b2=_0x1f6e0a,_0x598cf5=_0x37706b[_0x1eed15]),_0x1b73b2&&(!_0x1f6e0a||_0x1f6e0a['userId']!=_0x1b73b2['userId']))&&(_0x1f0560(_0x1f6e0a,_getPosBefore(_0x598cf5,_0x507c36,_0x204ec3),_getPosBefore(_0x37706b[_0x1eed15],_0x507c36,_0x204ec3)),_0x1b73b2=_0x1f6e0a||null,_0x598cf5=_0x1f6e0a?_0x37706b[_0x1eed15]:null),_0x1b73b2&&_0x4ccf81&&_0x1f0560(_0x1f6e0a,_getPosBefore(_0x598cf5,_0x507c36,_0x204ec3),_getPosAfter(_0x37706b[_0x1eed15],_0x507c36,_0x204ec3));}function _0x1f0560(_0xaf6a69,_0x5b10b7,_0x2019e6){const _0x15def1=_0x1b73b2['userId'],_0x3ff9f8='revision:'+_0x4a02a0+':'+_0x15def1+':'+_0x58a689++,_0x2d22ff=_0x204ec3['createRange'](_0x5b10b7,_0x2019e6);_0x507c36['markers']['set'](_0x3ff9f8,_0x2d22ff),null!==_0x15def1&&_0x4ada53['add'](_0x15def1);}}['_getVidAttributeName'](_0x26c769){switch(_0x26c769['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x44ce11,_0x52ae56){_0x44ce11['baseVersion']=null;for(const _0xef9269 in _0x44ce11){const _0x16ff7e=_0x44ce11[_0xef9269];if(_0x16ff7e instanceof ckeditor5['ModelPosition']){const _0x4a4557=_0x52ae56['get'](_0x16ff7e['root']['rootName']);_0x44ce11[_0xef9269]=this['_fixPosition'](_0x16ff7e,_0x4a4557);}if(_0x16ff7e instanceof ckeditor5['ModelRange']){const _0x138ebd=_0x52ae56['get'](_0x16ff7e['root']['rootName']);_0x44ce11[_0xef9269]=this['_fixRange'](_0x16ff7e,_0x138ebd);}'root'===_0xef9269&&(_0x44ce11['root']=_0x52ae56['get'](_0x44ce11['root']['rootName']));}}['_fixRange'](_0x114eec,_0x173587){return this['editor']['model']['createRange'](this['_fixPosition'](_0x114eec['start'],_0x173587),this['_fixPosition'](_0x114eec['end'],_0x173587));}['_fixPosition'](_0x8d5925,_0x15db79){return this['editor']['model']['createPositionFromPath'](_0x15db79,_0x8d5925['path'],_0x8d5925['stickiness']);}['_handleInsertOperation'](_0x34cd00){const _0x392cad=this['_idsRoots']['get'](_0x34cd00['position']['root']['rootName']),_0x4aa391=this['_fixPosition'](_0x34cd00['position'],_0x392cad),_0x58532d=null===_0x34cd00['_authorId']?null:_0x34cd00['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x21c0d1=_0x4aa391['parent'],_0x226990=this['_revisionId'],_0x60ea42=[];for(const _0x49c099 of _0x34cd00['nodes'])if(_0x49c099['is']('element'))_0x60ea42['push'](this['_makeIdsRoot'](_0x49c099));else{for(let _0x1b5c4e=0x0;_0x1b5c4e<_0x49c099['offsetSize'];_0x1b5c4e++)_0x60ea42['push'](new ckeditor5['ModelElement']('$text',{'vid':this['_revisionId']++}));}const _0x3f725a=this['_revisionId'];for(let _0x30022c=_0x226990;_0x30022c<_0x3f725a;_0x30022c++)this['_touched']['set'](_0x30022c,{'userId':_0x58532d});_0x21c0d1['_insertChild'](_0x4aa391['offset'],_0x60ea42);}['_handleMoveOperation'](_0x43c668){(_0x43c668=this['_cloneOperation'](_0x43c668,this['_idsRoots']))['_execute']();const _0x270268=null===_0x43c668['_authorId']?null:_0x43c668['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x81053f=_0x43c668['getMovedRangeStart'](),_0x32befb=_0x81053f['parent'],_0x13b4c7=_0x81053f['offset'];!function _0xce3730(_0x332f05,_0x3c08ad,_0x20d782,_0x401c07){for(let _0x308fe1=_0x20d782;_0x308fe1<_0x401c07;_0x308fe1++){const _0x356c79=_0x3c08ad['getChild'](_0x308fe1);_0x356c79['is']('element','$text')?_0x332f05['set'](_0x356c79['getAttribute']('vid'),{'userId':_0x270268}):(_0x332f05['set'](_0x356c79['getAttribute']('vid_start'),{'userId':_0x270268}),_0xce3730(_0x332f05,_0x356c79,0x0,_0x356c79['childCount']),_0x332f05['set'](_0x356c79['getAttribute']('vid_end'),{'userId':_0x270268}));}}(this['_touched'],_0x32befb,_0x13b4c7,_0x13b4c7+_0x43c668['howMany']);}['_handleMergeOperation'](_0x9c3e02){const _0x5abf93=null===(_0x9c3e02=this['_cloneOperation'](_0x9c3e02,this['_idsRoots']))['_authorId']?null:_0x9c3e02['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x307ffb=_0x9c3e02['targetPosition']['parent'],_0x3277fa=_0x9c3e02['sourcePosition']['parent'],_0x456ce0=_0x307ffb['getAttribute']('vid_end'),_0x15e038=_0x3277fa['getAttribute']('vid_start');_0x307ffb['_setAttribute']('vid_end',_0x3277fa['getAttribute']('vid_end')),_0x3277fa['_setAttribute']('vid_end',_0x456ce0),this['_touched']['set'](_0x15e038,{'userId':_0x5abf93}),this['_touched']['set'](_0x456ce0,{'userId':_0x5abf93}),_0x9c3e02['_execute']();}['_handleSplitOperation'](_0x1347ee){const _0x1501df=null===(_0x1347ee=this['_cloneOperation'](_0x1347ee,this['_idsRoots']))['_authorId']?null:_0x1347ee['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x47978b=_0x1347ee['graveyardPosition'],_0x3be5e6=_0x1347ee['splitPosition']['parent'];_0x1347ee['_execute']();const _0x165187=_0x3be5e6['getAttribute']('vid_end'),_0x22d023=_0x1347ee['insertionPosition']['nodeAfter'];if(_0x47978b){const _0x3fcc07=_0x22d023['getAttribute']('vid_end'),_0x2757d6=_0x3be5e6['getAttribute']('vid_end');_0x3be5e6['_setAttribute']('vid_end',_0x3fcc07),_0x22d023['_setAttribute']('vid_end',_0x2757d6),this['_touched']['set'](_0x3be5e6['getAttribute']('vid_end'),{'userId':_0x1501df}),this['_touched']['set'](_0x22d023['getAttribute']('vid_start'),{'userId':_0x1501df});}else{const _0x36724a=this['_revisionId']++,_0x2ad219=this['_revisionId']++;_0x3be5e6['_setAttribute']('vid_end',_0x36724a),_0x22d023['_setAttribute']('vid_start',_0x2ad219),_0x22d023['_setAttribute']('vid_end',_0x165187),this['_touched']['set'](_0x36724a,{'userId':_0x1501df}),this['_touched']['set'](_0x2ad219,{'userId':_0x1501df});}}['_handleMarkerOperation'](_0x3f2fa4){if(!_0x3f2fa4['affectsData'])return;const _0x4e6a25=(_0x3f2fa4=this['_cloneOperation'](_0x3f2fa4,this['_diffRoots']))['oldRange']?_0x3f2fa4['oldRange']['root']:null,_0x148dba=_0x3f2fa4['newRange']?_0x3f2fa4['newRange']['root']:null;_0x4e6a25&&this['_markers']['delete'](_0x3f2fa4['name']),_0x148dba&&this['_markers']['set'](_0x3f2fa4['name'],_0x3f2fa4['newRange']['clone']());const _0x53f90a=null===_0x3f2fa4['_authorId']?null:_0x3f2fa4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5a486d=_0x3f2fa4['name'];if(!this['_touchedMarkers']['has'](_0x5a486d))return void this['_touchedMarkers']['set'](_0x5a486d,{'range':_0x3f2fa4['oldRange'],'userId':_0x53f90a});const _0x5d7440=this['_touchedMarkers']['get'](_0x5a486d),_0x2a9db3=_0x5d7440['range'],_0xcd0d11=_0x3f2fa4['newRange'];null==_0x2a9db3&&null==_0xcd0d11||_0x2a9db3&&_0xcd0d11&&_0x2a9db3['isEqual'](_0xcd0d11)?this['_touchedMarkers']['delete'](_0x3f2fa4['name']):_0x5d7440['userId']=_0x53f90a;}['_handleRootOperation'](_0x528991,_0x1cc6f4){this['_diffRoots']['has'](_0x528991['rootName'])?this['_diffRoots']['get'](_0x528991['rootName'])['_isAttached']=_0x528991['isAdd']:(this['_diffRoots']['set'](_0x528991['rootName'],_emptyRoot(_0x528991['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x528991['rootName'],{}),_0x1cc6f4&&this['_idsRoots']['set'](_0x528991['rootName'],_emptyRoot(_0x528991['rootName'],!0x0)));const _0x4e362a=null===_0x528991['_authorId']?null:_0x528991['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x527f6=this['_touchedRoots']['get'](_0x528991['rootName']);_0x527f6&&_0x527f6['userId']===_0x4e362a?this['_touchedRoots']['delete'](_0x528991['rootName']):this['_touchedRoots']['set'](_0x528991['rootName'],{'userId':_0x4e362a,'isAttached':_0x528991['isAdd']});}['_handleRootAttributeOperation'](_0xf0895){const _0x2cc25d=this['_diffRootsAttributes']['get'](_0xf0895['root']['rootName']);null===_0xf0895['newValue']?delete _0x2cc25d[_0xf0895['key']]:_0x2cc25d[_0xf0895['key']]=_0xf0895['newValue'];}}function _cloneRoot(_0x4367e3){const _0x155e8f=_emptyRoot(_0x4367e3['rootName'],_0x4367e3['isAttached']());for(const _0x17be8e of _0x4367e3['getChildren']()){const _0x26327b=_0x17be8e['_clone'](!0x0);_0x155e8f['_appendChild'](_0x26327b);}return _0x155e8f;}function _emptyRoot(_0x13dc58,_0x1bd342=!0x0){const _0x50b174=new ckeditor5['ModelDocumentFragment']();return _0x50b174['rootName']=_0x13dc58,_0x50b174['_isAttached']=_0x1bd342,_0x50b174['isAttached']=()=>_0x50b174['_isAttached'],_0x50b174;}function _getPosBefore(_0x38e18e,_0x2d6eb3,_0x526533){const _0x354dee='elementEnd'==_0x38e18e['type']?_0x526533['createPositionAt'](_0x38e18e['item'],'end'):_0x526533['createPositionBefore'](_0x38e18e['item']);return _0x526533['createPositionFromPath'](_0x2d6eb3,_0x354dee['path'],_0x354dee['stickiness']);}function _getPosAfter(_0x3d6382,_0x3e6a4f,_0x20f03b){const _0x11c962='elementStart'==_0x3d6382['type']?_0x20f03b['createPositionAt'](_0x3d6382['item'],0x0):_0x20f03b['createPositionAfter'](_0x3d6382['item']);return _0x20f03b['createPositionFromPath'](_0x3e6a4f,_0x11c962['path'],_0x11c962['stickiness']);}class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
ckeditor5['CssTransitionDisablerMixin'](ckeditor5['View']){['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x2cc716,_0x4a4244){super(_0x2cc716),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x4a4244),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 _0x324881=_0x519726=>_0x519726['stopPropagation']();this['keystrokes']['set']('arrowright',_0x324881),this['keystrokes']['set']('arrowleft',_0x324881),this['keystrokes']['set']('arrowup',_0x324881),this['keystrokes']['set']('arrowdown',_0x324881);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x1c309f){this['revisionNameInputView']['fieldView']['element']['value']=_0x1c309f['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x53cfbb){const _0x4f5526=new ckeditor5['LabeledFieldView'](this['locale'],ckeditor5['createLabeledInputText']),_0x239c64=_0x4f5526['fieldView'];_0x239c64['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x518434=getTranslation$5(this['locale'],'Name\x20of\x20the\x20revision');return!_0x53cfbb&&(_0x518434+='\x20('+getTranslation$5(this['locale'],'optional')+')'),(_0x4f5526['label']=_0x518434,_0x239c64['on']('input',()=>{this['revisionNameInputValue']=_0x239c64['element']['value']['trim']();}),_0x4f5526);}}class RevisionHistoryUI extends ckeditor5['Plugin']{static get['pluginName'](){return'RevisionHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x457abd];}['_saveRevisionFormView'];['init'](){const _0x58d5e7=this['editor'],_0x1ba830=_0x58d5e7['plugins']['get']('RevisionTracker');_0x58d5e7['ui']['componentFactory']['add']('revisionHistory',_0x412824=>{const _0x4e0efa=ckeditor5['createDropdown'](_0x412824),_0x46730f=_0x4e0efa['panelView']['children'],_0xa34b5d=new ckeditor5['ListView'](_0x412824),_0x534413=new ckeditor5['ListItemView'](_0x412824),_0x3080e8=this['_createSaveRevisionButton'](ckeditor5['ButtonView']),_0x24b406=new ckeditor5['ListItemView'](_0x412824),_0x87a572=this['_createOpenRevisionButton'](ckeditor5['ButtonView']);return _0x4e0efa['bind']('isEnabled')['to'](_0x1ba830,'isReady',_0x1ba830,'isEnabled',_0x58d5e7,'isReadOnly',(_0x5eaec8,_0x4239ec,_0x4d73c8)=>_0x5eaec8&&_0x4239ec&&!_0x4d73c8),_0x4e0efa['buttonView']['set']({'icon':ckeditor5['IconHistory'],'label':getTranslation$5(_0x412824,'Revision\x20history'),'tooltip':!0x0}),_0x3080e8['set']({'withText':!0x0,'role':'menuitem'}),_0x87a572['set']({'withText':!0x0,'role':'menuitem'}),this['listenTo'](_0x87a572,'execute',()=>{_0x4e0efa['isOpen']=!0x1,_0x58d5e7['editing']['view']['focus']();},{'priority':'low'}),_0x534413['children']['add'](_0x3080e8),_0x24b406['children']['add'](_0x87a572),_0xa34b5d['role']='menu',_0xa34b5d['items']['addMany']([_0x534413,_0x24b406]),_0x46730f['add'](_0xa34b5d),_0x4e0efa;}),_0x58d5e7['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x9a7ad0=this['editor'],_0x37b56d=_0x9a7ad0['locale'],_0x27d7a6=_0x9a7ad0['plugins']['get']('RevisionTracker'),_0x24bb1e=new ckeditor5['MenuBarMenuView'](_0x37b56d),_0xcd4e6=new ckeditor5['MenuBarMenuListView'](_0x37b56d);_0x24bb1e['bind']('isEnabled')['to'](_0x27d7a6,'isReady',_0x27d7a6,'isEnabled',_0x9a7ad0,'isReadOnly',(_0x5e912c,_0x5e993d,_0x4661eb)=>_0x5e912c&&_0x5e993d&&!_0x4661eb),_0x24bb1e['buttonView']['set']({'icon':ckeditor5['IconHistory'],'label':getTranslation$5(_0x37b56d,'Revision\x20history')});const _0x3d36da=new ckeditor5['MenuBarMenuListItemView'](_0x37b56d,_0x24bb1e),_0xdc8733=this['_createSaveRevisionButton'](ckeditor5['MenuBarMenuListItemButtonView']);_0xdc8733['delegate']('execute')['to'](_0x24bb1e),_0x3d36da['children']['add'](_0xdc8733),_0xcd4e6['items']['add'](_0x3d36da);const _0xd6b138=new ckeditor5['MenuBarMenuListItemView'](_0x37b56d,_0x24bb1e),_0xe532e0=this['_createOpenRevisionButton'](ckeditor5['MenuBarMenuListItemButtonView']);return _0xe532e0['delegate']('execute')['to'](_0x24bb1e),_0xd6b138['children']['add'](_0xe532e0),_0xcd4e6['items']['add'](_0xd6b138),_0x24bb1e['panelView']['children']['add'](_0xcd4e6),_0x24bb1e;}['_createSaveRevisionButton'](_0x122d99){const _0x3ecba0=this['editor'],_0x5df579=_0x3ecba0['plugins']['get']('RevisionTracker'),_0x46e70d=new _0x122d99(_0x3ecba0['locale']);return _0x46e70d['set']({'label':getTranslation$5(_0x3ecba0['locale'],'Save\x20current\x20revision')}),_0x46e70d['bind']('isEnabled')['to'](_0x5df579,'isReady',_0x5df579,'isEnabled',_0x3ecba0,'isReadOnly',(_0x10cd06,_0x1e374c,_0x2fcaf2)=>_0x10cd06&&_0x1e374c&&!_0x2fcaf2),this['listenTo'](_0x46e70d,'execute',()=>{this['_showDialog']();}),_0x46e70d;}['_createOpenRevisionButton'](_0x470548){const _0x329516=this['editor'],_0x162c78=_0x329516['plugins']['get']('RevisionTracker'),_0x580654=new _0x470548(_0x329516['locale']);return _0x580654['set']({'label':getTranslation$5(_0x329516['locale'],'Open\x20revision\x20history')}),_0x580654['bind']('isEnabled')['to'](_0x162c78,'isReady',_0x329516,'isReadOnly',(_0x25ab62,_0x38466b)=>_0x25ab62&&!_0x38466b),this['listenTo'](_0x580654,'execute',()=>{_0x329516['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x580654;}['_showDialog'](){const _0x224396=this['editor'],_0x4f13dd=_0x224396['locale'],_0x145cad=_0x224396['plugins']['get']('Dialog'),_0x41d29a=_0x224396['plugins']['get']('RevisionTracker');function _0x2bf2c9(_0x14ff79){_0x224396['config']['get']('revisionHistory.requireRevisionName')&&''===_0x14ff79['revisionName']?_0x14ff79['revisionNameInputView']['errorText']=getTranslation$5(_0x4f13dd,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x224396['plugins']['get'](_0x457abd)['saveRevision']({'name':_0x14ff79['revisionName']}),_0x145cad['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x2bf2c9(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x145cad['show']({'id':'revisionSave','title':getTranslation$5(_0x4f13dd,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':getTranslation$5(_0x224396['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x145cad['hide']()},{'label':getTranslation$5(_0x224396['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0xfdd4f8){_0xfdd4f8['bind']('isEnabled')['to'](_0x41d29a,'isReady',_0x41d29a,'isEnabled',_0x224396,'isReadOnly',(_0xc77808,_0x42e16a,_0x79a96f)=>_0xc77808&&_0x42e16a&&!_0x79a96f);},'onExecute':()=>_0x2bf2c9(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x37a669=this['editor'],_0x58099b=_0x37a669['locale'];this['_saveRevisionFormView']=new RevisionHistorySaveRevisionFormView(_0x58099b,_0x37a669['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class ChangeDetailsView extends ckeditor5['View']{['changeId'];['_model'];constructor(_0x5c0ca9,_0x2ef9f4){super(_0x5c0ca9),this['_model']=_0x2ef9f4,this['changeId']=_0x2ef9f4['id'];const _0x2e7dad=this['bindTemplate'],_0x5c88b6=getTranslation$5(_0x5c0ca9,_0x2ef9f4['data']['isSuggestion']?'Suggested\x20by':'add'==_0x2ef9f4['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x2ef9f4['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x2e7dad['to']('type',_0x48d4b3=>'ck-revision-change__'+_0x48d4b3)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x5c88b6}]},{'text':'\x20'+_0x2ef9f4['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class ChangeItem extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x46cc2b){super(),this['id']=_0x46cc2b['id']||ckeditor5['uid'](),this['author']=_0x46cc2b['author'],this['type']=_0x46cc2b['type'],this['data']=_0x46cc2b['data']||{},this['rootName']=_0x46cc2b['rootName'],this['set']('createdAt',_0x46cc2b['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}}class _0x3348f1{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x3e61d1,_0x2e1f5d){this['newRevisionId']=_0x3e61d1,this['oldRevisionId']=_0x2e1f5d,this['changes']=new ckeditor5['Collection']();}['_setChanges'](_0x560376){for(const _0x4e44f4 of _0x560376)this['changes']['add'](_0x4e44f4);}}class _0x27c71f 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[_0x5e54fb,ckeditor5['ContextualBalloon'],RevisionsRepository,RevisionHistoryUtils];}constructor(_0x4fbced){super(_0x4fbced),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',(_0x1316be,_0x5c6363,_0x5c15fb)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x42d77b=>{for(const _0xc1b34e of this['editor']['editing']['view']['document']['roots'])_0x5c15fb?_0x42d77b['removeClass']('ck-editor__editable__overlay',_0xc1b34e):_0x42d77b['addClass']('ck-editor__editable__overlay',_0xc1b34e);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x55d3ae=>null!==_0x55d3ae),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x5961bb,_0x3277f1,_0x128432)=>_0x5961bb&&_0x128432?_0x3277f1['changes']['getIndex'](_0x128432):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x3f88c3,_0x5299d7)=>_0x3f88c3?_0x5299d7['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['_balloon']=this['editor']['plugins']['get'](ckeditor5['ContextualBalloon']);}['init'](){const _0x4ebdce=this['editor'],_0x18f033=new _0x20cf77(_0x4ebdce,{'direction':'backward'}),_0x5be9e1=new _0x20cf77(_0x4ebdce,{'direction':'forward'});(_0x4ebdce['commands']['add']('showPreviousChange',_0x18f033),_0x4ebdce['commands']['add']('showNextChange',_0x5be9e1),_0x4ebdce['commands']['add']('restoreRevision',new RestoreRevisionCommand(_0x4ebdce)),this['on']('change:numberOfChanges',()=>{_0x18f033['refresh'](),_0x5be9e1['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x4ebdce['enableReadOnlyMode']('revision-viewer'),_0x4ebdce['plugins']['has']('WidgetToolbarRepository'))&&_0x4ebdce['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionDocumentData'](_0x555d97){return await this['_utils']['loadRevisionData'](_0x555d97,this['adapter']),this['_utils']['getRevisionDocumentData'](_0x555d97);}async['getRevisionRootsAttributes'](_0x35058b){return await this['_utils']['loadRevisionData'](_0x35058b,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x35058b);}async['compare'](_0x2c9fe9,_0x10d586,_0x2c27f1=!0x1){if(!this['isEnabled'])return;const _0xd4981d=this['diff'],_0x33602e=this['repository'],_0x117bd8='string'==typeof _0x2c9fe9?_0x33602e['getRevision'](_0x2c9fe9):_0x2c9fe9,_0x33b7a6='string'==typeof _0x10d586?_0x33602e['getRevision'](_0x10d586):_0x10d586,_0x584bfc=_0x117bd8['id'],_0x260879=_0x33b7a6?_0x33b7a6['id']:null;if(!_0x2c27f1&&this['diff']&&this['diff']['newRevisionId']===_0x584bfc&&this['diff']['oldRevisionId']===_0x260879)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new _0x3348f1(_0x584bfc,_0x260879);const _0xd1dfb0=this['_getRevisionsRange'](_0x117bd8,_0x33b7a6,!0x0)['map'](_0x405f3e=>this['_utils']['loadRevisionData'](_0x405f3e,this['adapter']));return _0xd1dfb0['push'](new Promise(_0x466aa0=>{setTimeout(_0x466aa0,0x14);})),Promise['all'](_0xd1dfb0)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0xa20bdc=this['_getDiff'](_0x584bfc,_0x260879);for(const _0x9abad of _0xa20bdc['changes'])this['_changeIdToChange']['set'](_0x9abad['id'],_0x9abad);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0xed2e8c=>{for(const _0xc09f7c of this['editor']['model']['document']['getRootNames']())_0xed2e8c['detachRoot'](_0xc09f7c);for(const _0x519ae2 of Object['keys'](_0xa20bdc['model'])){const _0x156017=_0xed2e8c['addRoot'](_0x519ae2);for(const _0x1954ef of Object['keys'](_0xa20bdc['attributes'][_0x519ae2]))_0xed2e8c['setAttribute'](_0x1954ef,_0xa20bdc['attributes'][_0x519ae2][_0x1954ef],_0x156017);_0xed2e8c['insert'](_0xa20bdc['model'][_0x519ae2],_0x156017,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0xa20bdc['changes'])),this['isReady']=!0x0;})['catch'](_0x2811c4=>{console['error'](_0x2811c4),this['_cleanUp'](),_0xd4981d&&(this['diff']=_0xd4981d),this['isReady']=!0x0;});}['addRevisionData'](_0x424504,_0x176316){const _0x59e29b=this['repository']['createRevision'](_0x424504);return _0x59e29b['on']('_update',(_0x3e1eab,_0x3cf4ab,_0x3ea6b1)=>_0x176316(_0x3cf4ab,_0x3ea6b1,_0x59e29b)),this['repository']['addRevision'](_0x59e29b),_0x59e29b;}['_cleanUp'](){this['activeChange']=null,this['_cleanMarkers'](),this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=null,this['_changeIdToChange']['clear'](),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x4f7a21=>{for(const _0x5a4d26 of this['editor']['model']['document']['getRootNames']())_0x4f7a21['detachRoot'](_0x5a4d26);});}['_sortAndFilterDiffChanges'](_0x585e98){const _0x51f14f=[],_0x38dc90=new Map();for(const _0x5c60c5 of this['editor']['model']['document']['getRootNames']()){const _0x5047fe=this['editor']['editing']['view']['getDomRoot'](_0x5c60c5);if(!_0x5047fe)continue;const _0x5334b5=_0x5047fe['getClientRects']()['item'](0x0);_0x5334b5&&(_0x51f14f['push'](_0x5c60c5),_0x38dc90['set'](_0x5c60c5,_0x5334b5));}return _0x51f14f['sort']((_0x506822,_0x3b4d14)=>{const _0x5c227a=_0x38dc90['get'](_0x506822),_0x3b0d9f=_0x38dc90['get'](_0x3b4d14);return _0x5c227a['y']-_0x3b0d9f['y']||_0x5c227a['x']-_0x3b0d9f['x'];}),(_0x585e98=_0x585e98['filter'](_0xa3e348=>_0x51f14f['includes'](_0xa3e348['rootName'])))['sort']((_0x3dfaaa,_0x36651b)=>_0x51f14f['indexOf'](_0x3dfaaa['rootName'])-_0x51f14f['indexOf'](_0x36651b['rootName'])),_0x585e98;}['_makeTape'](_0x50c9e7){const _0x5e17a4=Array['from'](_0x50c9e7['markers'])['filter'](([_0x533acd,_0x278e88])=>_0x533acd['startsWith']('revision:')&&!_0x278e88['isCollapsed']),_0x1d63a6=Array['from'](this['editor']['model']['createRangeIn'](_0x50c9e7)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x5e17a4['length'])for(const _0x448c20 of _0x1d63a6){const [_0x5b1b22,_0x31667f]=_0x5e17a4[0x0],[,_0x4174bc,_0x538161]=_0x5b1b22['split'](':');if(_0x31667f['end']['isEqual'](_0x448c20['nextPosition'])&&_0x5e17a4['shift'](),(_0x448c20['previousPosition']['isEqual'](_0x31667f['start'])||_0x448c20['previousPosition']['isAfter'](_0x31667f['start']))&&('insertion'==_0x4174bc?_0x448c20['isAdded']={'userId':_0x538161}:'deletion'==_0x4174bc&&(_0x448c20['isRemoved']={'userId':_0x538161})),0x0==_0x5e17a4['length'])break;}return _0x1d63a6;}['_refreshStartEndIndex'](_0x4fcec4){const _0x2530b0=new Map();for(let _0x3025fe=0x0;_0x3025fe<_0x4fcec4['length'];_0x3025fe++)'text'===_0x4fcec4[_0x3025fe]['type']?(_0x4fcec4[_0x3025fe]['item']['startIndex']=_0x3025fe,_0x4fcec4[_0x3025fe]['item']['endIndex']=_0x3025fe):('elementStart'===_0x4fcec4[_0x3025fe]['type']?_0x4fcec4[_0x3025fe]['item']['startIndex']=_0x3025fe:'elementEnd'===_0x4fcec4[_0x3025fe]['type']&&(_0x4fcec4[_0x3025fe]['item']['endIndex']=_0x3025fe),_0x2530b0['set'](_0x4fcec4[_0x3025fe]['id'],_0x3025fe));for(const _0x2c0137 of _0x2530b0['values']())'elementStart'===_0x4fcec4[_0x2c0137]['type']?_0x4fcec4[_0x2c0137]['item']['endIndex']=_0x2530b0['get'](_0x4fcec4[_0x2c0137]['pairId']):'elementEnd'===_0x4fcec4[_0x2c0137]['type']&&(_0x4fcec4[_0x2c0137]['item']['startIndex']=_0x2530b0['get'](_0x4fcec4[_0x2c0137]['pairId']));}['_processTape'](_0x1c3d70){for(let _0x391fd4=0x0;_0x391fd4<_0x1c3d70['length'];_0x391fd4++){if('elementStart'===_0x1c3d70[_0x391fd4]['type'])_0x1c3d70[_0x391fd4]['item']['startIndex']=_0x391fd4;else{if('elementEnd'===_0x1c3d70[_0x391fd4]['type']){_0x1c3d70[_0x391fd4]['item']['endIndex']=_0x391fd4;const _0x2659ce=_0x1c3d70[_0x391fd4]['item']['startIndex'];_0x1c3d70[_0x2659ce]['pairId']=_0x1c3d70[_0x391fd4]['id'],_0x1c3d70[_0x391fd4]['pairId']=_0x1c3d70[_0x2659ce]['id'];}else _0x1c3d70[_0x391fd4]['item']['startIndex']=_0x391fd4,_0x1c3d70[_0x391fd4]['item']['endIndex']=_0x391fd4,_0x1c3d70[_0x391fd4]['pairId']=null;}_0x1c3d70[_0x391fd4]['markersStart']||(_0x1c3d70[_0x391fd4]['markersStart']=[],_0x1c3d70[_0x391fd4]['markersEnd']=[]);}}['_markInsertions'](_0x4f0abb,_0x1b9c39){const _0x497c67=_0x4f0abb['filter'](_0xe59a56=>!_0xe59a56['isAdded']);for(let _0x2d261d=0x0;_0x2d261d<_0x1b9c39['length'];_0x2d261d++)_0x1b9c39[_0x2d261d]['isAdded']&&(_0x497c67[_0x2d261d]['isAdded']=_0x1b9c39[_0x2d261d]['isAdded']);}['_getDiff'](_0x11221c,_0x15d2df=null){const _0x424dc1=this['repository']['getRevision'](_0x11221c),_0x36ec43=_0x15d2df?this['repository']['getRevision'](_0x15d2df):null,_0x4e2d26=this['_getRevisionsRange'](_0x424dc1,_0x36ec43),_0x419e75=_0x4e2d26[_0x4e2d26['length']-0x1],_0x3b35b2=new Map(),_0xda76e3={'model':{},'attributes':{},'changes':[]},_0x7eb3a4=new Set(),_0x560d70=new Map();for(let _0x56bec4=_0x4e2d26['length']-0x1;_0x56bec4>=0x0;_0x56bec4--){const _0x4c8965=_0x4e2d26[_0x56bec4];for(const _0x41f08d of Object['keys'](_0x4c8965['diffData']))if(_0x4c8965['diffData'][_0x41f08d]['attachChange']){const _0x125c88=_0x4c8965['diffData'][_0x41f08d]['attachChange'];_0x125c88['isAttached']?(_0x7eb3a4['add'](_0x41f08d),_0x560d70['has'](_0x41f08d)&&_0x560d70['get'](_0x41f08d)['userId']==_0x125c88['userId']?_0x560d70['delete'](_0x41f08d):_0x560d70['set'](_0x41f08d,_0x125c88)):_0x560d70['has'](_0x41f08d)?(_0x7eb3a4['delete'](_0x41f08d),_0x560d70['delete'](_0x41f08d)):(_0x7eb3a4['add'](_0x41f08d),_0x560d70['set'](_0x41f08d,_0x125c88));}else _0x7eb3a4['add'](_0x41f08d);}for(const _0x5b5ca1 of _0x7eb3a4){const _0x3f8b79=_0x560d70['has'](_0x5b5ca1)&&!_0x560d70['get'](_0x5b5ca1)['isAttached'];let _0xf3bf9c=_0x3f8b79?_0x4e2d26['length']-0x1:0x0;const _0x23acf7=_0x3f8b79?-0x1:0x1;for(;_0x4e2d26[_0xf3bf9c];){const _0x116f25=_0x4e2d26[_0xf3bf9c];if(_0x116f25['diffData'][_0x5b5ca1]){const _0x4e08b7=_0x3f8b79?_0x116f25['diffData'][_0x5b5ca1]['attributesBefore']:_0x116f25['diffData'][_0x5b5ca1]['attributesAfter'];_0xda76e3['attributes'][_0x5b5ca1]=_0x4e08b7?_0x2222d2(_0x4e08b7):{};break;}_0xf3bf9c+=_0x23acf7;}}for(const _0x3b33a7 of _0x4e2d26){_0x3b33a7['model']={};for(const _0x4137e1 of _0x3b33a7['authors'])_0x3b35b2['set'](_0x4137e1['id'],_0x4137e1);for(const _0x5e73cd of _0x7eb3a4){const _0x33d0aa=_0x3b33a7['diffData'][_0x5e73cd]?_0x3b33a7['diffData'][_0x5e73cd]['insertions']:'[]',_0x458094=_0x3b33a7['diffData'][_0x5e73cd]?_0x3b33a7['diffData'][_0x5e73cd]['deletions']:'[]';_0x3b33a7['model'][_0x5e73cd]={'insertions':this['_utils']['_makeModelFromViewString'](_0x33d0aa),'deletions':this['_utils']['_makeModelFromViewString'](_0x458094)};}}for(const _0x184646 of _0x7eb3a4){let _0x166e81=null,_0xee99e1=0x0;const _0x3a8569=new Map(Array['from'](_0x424dc1['model'][_0x184646]['insertions']['markers'])['filter'](([_0xa3fd1f])=>!_0xa3fd1f['startsWith']('revision:')));let _0xa95e2f=0x0;for(const _0x2cd165 of _0x4e2d26){const _0x5029c4=this['_makeTape'](_0x2cd165['model'][_0x184646]['insertions']);_0x2cd165==_0x424dc1?(_0x166e81=_0x5029c4,_0xee99e1=_0x166e81['length'],_0x166e81['forEach'](_0x161337=>{_0x161337['id']=_0xa95e2f++;}),this['_processTape'](_0x166e81)):this['_markInsertions'](_0x166e81,_0x5029c4);const _0x18d125=_0x166e81['filter'](_0x2abddd=>!_0x2abddd['isAdded'])['map'](_0x4ccb81=>_0x4ccb81['id']);let _0x5ba623=0x0;const _0x2ccf71=this['_makeTape'](_0x2cd165['model'][_0x184646]['deletions']);_0x2ccf71['forEach'](_0x482314=>{_0x482314['isRemoved']?_0x482314['id']=_0xee99e1++:_0x482314['id']=_0x18d125[_0x5ba623++];}),this['_processTape'](_0x2ccf71),this['_setDistance'](_0x166e81,'isAdded'),this['_setDistance'](_0x2ccf71,'isRemoved'),_0x2cd165==_0x424dc1&&this['_markMarkers'](_0x166e81,_0x3a8569),_0x166e81=this['_joinTapes'](_0x166e81,_0x2ccf71),this['_refreshStartEndIndex'](_0x166e81),this['_setDistance'](_0x166e81,'isRemoved');}_0x166e81=_0x166e81['filter'](_0x924f5d=>!(_0x924f5d['isAdded']&&_0x924f5d['isRemoved']));const _0x1582cd=new Map(_0x419e75['model'][_0x184646]['deletions']['markers']),_0x4181a5=new Set(_0x3a8569['keys']());for(const _0x3759b6 of _0x1582cd['keys']())_0x4181a5['delete'](_0x3759b6);this['_markSuggestions'](_0x166e81,_0x4181a5),this['_fixObsoleteTags'](_0x166e81),_0x166e81=this['_removeMissingPairs'](_0x166e81),_0x166e81=this['_markMismatchedRemovedTags'](_0x166e81),_0x166e81=this['_removeUnsupportedChanges'](_0x166e81);const {root:_0x452544,changes:_0x551e62}=this['_makeModelFromTape'](_0x166e81,_0x3b35b2,_0x184646);_0xda76e3['model'][_0x184646]=_0x452544;const _0xccf4dd=_0x560d70['get'](_0x184646);if(_0xccf4dd){const _0x5c2e95=_0x3b35b2['get'](_0xccf4dd['userId']),_0x1a564c=new ChangeItem({'author':_0x5c2e95,'type':_0xccf4dd['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x184646});_0x551e62['unshift'](_0x1a564c),_0xda76e3['attributes'][_0x184646]['revisionHistoryAttachChange']=_0x1a564c['id'];}_0xda76e3['changes']=_0xda76e3['changes']['concat'](_0x551e62);}return _0xda76e3;}['_markMarkers'](_0x42e352,_0x4ecfea){for(let _0x307a24=0x0;_0x307a24<_0x42e352['length'];_0x307a24++)for(const [_0x2b3e24,_0x5edfc5]of _0x4ecfea)!_0x5edfc5['isCollapsed']&&_0x5edfc5['start']['isEqual'](_0x42e352[_0x307a24]['previousPosition'])&&_0x42e352[_0x307a24]['markersStart']['push'](_0x2b3e24),_0x5edfc5['end']['isEqual'](_0x42e352[_0x307a24]['nextPosition'])&&_0x42e352[_0x307a24]['markersEnd']['push'](_0x2b3e24);}['_joinTapes'](_0x1e6d96,_0x379382){let _0x2d672f=[],_0x1c59bc=0x0,_0x4fae4f=0x0;for(;_0x1c59bc<_0x1e6d96['length']||_0x4fae4f<_0x379382['length'];){const _0xd0a56f=_0x1e6d96[_0x1c59bc]||{},_0x235bba=_0x379382[_0x4fae4f]||{};if(_0xd0a56f['id']==_0x235bba['id'])_0x1c59bc++,_0x4fae4f++,_0x2d672f['push'](_0xd0a56f);else{if(_0x235bba['isRemoved']&&_0xd0a56f['isAdded']){const {commonTape:_0x29bc11,iEnd:_0x24e27a,jEnd:_0x4bbb87}=this['_threeWayMerge'](_0x1e6d96,_0x1c59bc,_0x379382,_0x4fae4f);_0x2d672f=_0x2d672f['concat'](_0x29bc11),_0x1c59bc=_0x24e27a,_0x4fae4f=_0x4bbb87;}else _0x235bba['isRemoved']?(_0x4fae4f++,_0x2d672f['push'](_0x235bba)):(_0x1c59bc++,_0x2d672f['push'](_0xd0a56f));}}return _0x2d672f;}['_markSuggestions'](_0x4dad60,_0x5b9cc4){const _0x281aab=[];for(let _0xbcb2c=0x0;_0xbcb2c<_0x4dad60['length'];_0xbcb2c++){for(let _0x54ed9c=0x0;_0x54ed9c<_0x4dad60[_0xbcb2c]['markersStart']['length'];_0x54ed9c++){const _0x402125=_0x4dad60[_0xbcb2c]['markersStart'][_0x54ed9c];if(!_0x5b9cc4['has'](_0x402125))continue;const {group:_0x57eb12,type:_0x53282e,authorId:_0x487132}=_0x2df6c7(_0x402125);'revision-suggestion'!=_0x57eb12||'insertion'!=_0x53282e&&'deletion'!=_0x53282e||(_0x281aab['unshift']({'type':_0x53282e,'name':_0x402125,'userId':_0x487132}),_0x4dad60[_0xbcb2c]['markersStart']['splice'](_0x54ed9c,0x1),_0x54ed9c--);}_0x4e3bda(_0x4dad60[_0xbcb2c]);for(let _0x186459=0x0;_0x186459<_0x4dad60[_0xbcb2c]['markersEnd']['length'];_0x186459++){const _0x1954e8=_0x4dad60[_0xbcb2c]['markersEnd'][_0x186459];if(!_0x5b9cc4['has'](_0x1954e8))continue;const {group:_0x25d20e,type:_0x59a71a}=_0x2df6c7(_0x1954e8);if('revision-suggestion'!=_0x25d20e||'insertion'!=_0x59a71a&&'deletion'!=_0x59a71a)continue;_0x4dad60[_0xbcb2c]['markersEnd']['splice'](_0x186459,0x1),_0x186459--;const _0x39030b=_0x281aab['findIndex'](_0x4acab8=>_0x4acab8['name']==_0x1954e8);_0x39030b>-0x1&&_0x281aab['splice'](_0x39030b,0x1);}}function _0x2df6c7(_0x1ad0e5){const _0x5d1197=_0x1ad0e5['split'](':');return{'group':_0x5d1197[0x0],'type':_0x5d1197[0x1],'subType':_0x5d1197['length']>=0x5?_0x5d1197[0x2]:null,'id':_0x5d1197['length']<0x5?_0x5d1197[0x2]:_0x5d1197[0x3],'authorId':_0x5d1197['length']<0x5?_0x5d1197[0x3]:_0x5d1197[0x4],'markerCount':0x6==_0x5d1197['length']?_0x5d1197[0x5]:null};}function _0x4e3bda(_0x22b967){for(let _0x4e3d57=0x0;_0x4e3d57<_0x281aab['length'];_0x4e3d57++){if(_0x22b967['isAdded']&&'insertion'==_0x281aab[_0x4e3d57]['type']&&_0x22b967['isAdded']['userId']==_0x281aab[_0x4e3d57]['userId'])return _0x22b967['isAddSuggestion']=_0x281aab[_0x4e3d57],void delete _0x22b967['isAdded'];if(!_0x22b967['isAdded']&&!_0x22b967['isRemoved']&&'deletion'==_0x281aab[_0x4e3d57]['type'])return void(_0x22b967['isRemoveSuggestion']=_0x281aab[_0x4e3d57]);}}}['_setDistance'](_0x4b727f,_0x5ec713){let _0x485f5b=0x0,_0x3dfabb=!0x1;const _0x138e6f=new Map();for(const _0x5d681f of _0x4b727f)_0x5d681f[_0x5ec713]?_0x3dfabb&&(_0x485f5b++,_0x3dfabb=!0x1):(_0x485f5b++,_0x3dfabb=!0x0),_0x138e6f['set'](_0x5d681f['id'],_0x485f5b);for(let _0x624d4f=0x0;_0x624d4f<_0x4b727f['length'];_0x624d4f++){if('isRemoved'==_0x5ec713&&_0x4b727f[_0x624d4f]['isAdded']||'isAdded'==_0x5ec713&&_0x4b727f[_0x624d4f]['isRemoved'])continue;if('text'==_0x4b727f[_0x624d4f]['type']){_0x4b727f[_0x624d4f]['distance']=0x0;continue;}const _0x36ea6e=_0x138e6f['get'](_0x4b727f[_0x624d4f]['pairId']),_0x36c031=_0x138e6f['get'](_0x4b727f[_0x624d4f]['id']);_0x4b727f[_0x624d4f]['distance']=_0x36ea6e-_0x36c031;}}['_getRevisionsRange'](_0x4f4519,_0x4f01cd,_0x2b4503=!0x1){const _0x1973f6=[];let _0x4834bf=this['repository']['getIndex'](_0x4f4519),_0xe6bc1e=this['repository']['getIndex'](_0x4f01cd);for(-0x1==_0xe6bc1e&&(_0xe6bc1e=this['repository']['_revisions']['length'],_0x2b4503=!0x1);_0x4834bf<_0xe6bc1e;)_0x1973f6['push'](this['repository']['getRevision'](_0x4834bf)),_0x4834bf++;return _0x2b4503&&_0x1973f6['push'](this['repository']['getRevision'](_0x4834bf)),_0x1973f6;}['_threeWayMerge'](_0x53180c,_0x40be9b,_0x365ea4,_0x228a72){const _0x964706=this['editor']['model']['schema'];let _0x552796=_0x40be9b;for(;_0x53180c[_0x552796]&&_0x53180c[_0x552796]['isAdded'];)_0x552796++;let _0x3b9d91=_0x228a72;for(;_0x365ea4[_0x3b9d91]&&_0x365ea4[_0x3b9d91]['isRemoved'];)_0x3b9d91++;_0x28b433(_0x53180c,_0x40be9b,_0x552796),_0x28b433(_0x365ea4,_0x228a72,_0x3b9d91);const _0x12e039=_0x365ea4['slice'](_0x228a72,_0x3b9d91)['concat'](_0x53180c['slice'](_0x40be9b,_0x552796));return _0x12e039['sort']((_0x4c50c5,_0x2a22f3)=>_0x4c50c5['side']!=_0x2a22f3['side']?_0x4c50c5['side']-_0x2a22f3['side']:_0x4c50c5['level']!=_0x2a22f3['level']?_0x4c50c5['level']-_0x2a22f3['level']:_0x4c50c5['distance']!=_0x2a22f3['distance']?_0x2a22f3['distance']-_0x4c50c5['distance']:!!_0x4c50c5['isAdded']!=!!_0x2a22f3['isAdded']?-0x1==_0x4c50c5['side']||0x0==_0x4c50c5['side']?_0x4c50c5['isAdded']?-0x1:0x1:_0x4c50c5['isAdded']?0x1:-0x1:_0x4c50c5['index']-_0x2a22f3['index']),{'commonTape':_0x12e039,'iEnd':_0x552796,'jEnd':_0x3b9d91};function _0x28b433(_0x7045b1,_0x397539,_0x3c4b03){let _0x153d9f=-0x1,_0x23c432=Number['POSITIVE_INFINITY'],_0x272399=!0x0;for(let _0x4e1770=_0x397539;_0x4e1770<_0x3c4b03;_0x4e1770++)if(_0x964706['isInline'](_0x7045b1[_0x4e1770]['item'])||(_0x272399=!0x1),_0x7045b1[_0x4e1770]['item']['startIndex']<_0x397539&&(_0x153d9f=_0x4e1770),_0x7045b1[_0x4e1770]['item']['endIndex']>=_0x3c4b03){_0x23c432=_0x4e1770;break;}_0x272399&&(_0x153d9f=_0x3c4b03-0x1);for(let _0x46f0bd=_0x397539;_0x46f0bd<_0x3c4b03;_0x46f0bd++)_0x7045b1[_0x46f0bd]['side']=_0x46f0bd<=_0x153d9f?-0x1:_0x46f0bd<_0x23c432?0x0:0x1,_0x7045b1[_0x46f0bd]['index']=_0x46f0bd;let _0x503831=0x0;for(let _0x24f6ba=_0x397539;_0x24f6ba<=_0x153d9f;_0x24f6ba++)0x0==_0x7045b1[_0x24f6ba]['distance']?_0x7045b1[_0x24f6ba]['level']=_0x503831:(_0x503831++,_0x7045b1[_0x24f6ba]['level']=_0x503831,_0x503831++);for(let _0x102957=_0x397539;_0x102957<_0x3c4b03;_0x102957++)0x0==_0x7045b1[_0x102957]['side']&&(_0x7045b1[_0x102957]['level']=_0x503831);_0x503831=0x0;for(let _0x26c90d=_0x3c4b03-0x1;_0x26c90d>=_0x23c432;_0x26c90d--)0x0==_0x7045b1[_0x26c90d]['distance']?_0x7045b1[_0x26c90d]['level']=_0x503831:(_0x503831--,_0x7045b1[_0x26c90d]['level']=_0x503831,_0x503831--);}}['_fixObsoleteTags'](_0x59f4b9){const _0x39c439=new Map(),_0x1f2047=this['editor']['model']['schema'];for(let _0x1b456a=0x1;_0x1b456a<_0x59f4b9['length'];_0x1b456a++){let _0x20755f,_0x1eec67,_0x17f610;const _0x50205e=_0x59f4b9[_0x1b456a],_0x296076=_0x59f4b9[_0x1b456a-0x1];if('text'==_0x50205e['type'])continue;if(_0x50205e['type']!=_0x296076['type'])continue;if(!_0x1f2047['isBlock'](_0x296076['item'])||_0x1f2047['isLimit'](_0x296076['item']))continue;if(!_0x1f2047['isBlock'](_0x50205e['item'])||_0x1f2047['isLimit'](_0x50205e['item']))continue;if((_0x59f4b9[_0x1b456a]['isAdded']||_0x59f4b9[_0x1b456a]['isAddSuggestion'])&&_0x59f4b9[_0x1b456a-0x1]['isRemoved'])_0x20755f=_0x59f4b9[_0x1b456a],_0x1eec67=_0x59f4b9[_0x1b456a-0x1],_0x17f610=_0x1b456a-0x1;else{if(!_0x59f4b9[_0x1b456a]['isRemoved']||!_0x59f4b9[_0x1b456a-0x1]['isAdded']&&!_0x59f4b9[_0x1b456a-0x1]['isAddSuggestion'])continue;_0x20755f=_0x59f4b9[_0x1b456a-0x1],_0x1eec67=_0x59f4b9[_0x1b456a],_0x17f610=_0x1b456a;}const _0x272ec7=_0x20755f['level']==_0x1eec67['level'],_0x42f1db=Math['abs'](_0x20755f['level'])<Math['abs'](_0x1eec67['level'])&&0x0==_0x1eec67['distance'];(_0x272ec7||_0x42f1db)&&(_0x39c439['set'](_0x1eec67['id'],_0x20755f['id']),_0x59f4b9['splice'](_0x17f610,0x1),_0x1b456a--,_0x20755f['isAdded']=!0x1);}for(let _0x11884b=0x0;_0x11884b<_0x59f4b9['length'];_0x11884b++)_0x39c439['has'](_0x59f4b9[_0x11884b]['pairId'])&&(_0x59f4b9[_0x11884b]['pairId']=_0x39c439['get'](_0x59f4b9[_0x11884b]['pairId']));}['_removeMissingPairs'](_0x4097f9){const _0x46933c=new Set(_0x4097f9['map'](_0x3b64bb=>_0x3b64bb['id']));for(let _0x2e2584=0x0;_0x2e2584<_0x4097f9['length'];_0x2e2584++)_0x46933c['has'](_0x4097f9[_0x2e2584]['pairId'])||0x0==_0x4097f9[_0x2e2584]['distance']||(_0x4097f9[_0x2e2584]['isIncorrect']=!0x0);return _0x4097f9['filter'](_0x33f41c=>!_0x33f41c['isIncorrect']);}['_markMismatchedRemovedTags'](_0x2c037c){const _0x3f0b0c=new Set();for(let _0x19a568=0x0;_0x19a568<_0x2c037c['length'];_0x19a568++){if(_0x3f0b0c['has'](_0x2c037c[_0x19a568]['id'])&&_0x2c037c[_0x19a568]['isRemoved']&&(_0x2c037c[_0x19a568]['isIncorrect']=!0x0),_0x2c037c[_0x19a568]['isIncorrect'])continue;if(0x0==_0x2c037c[_0x19a568]['distance'])continue;if('elementStart'!=_0x2c037c[_0x19a568]['type'])continue;if(null==_0x2c037c[_0x19a568]['pairId'])continue;let _0x5b10fb=_0x19a568+0x1,_0x1681fd=0x0;for(;_0x2c037c[_0x5b10fb]['id']!=_0x2c037c[_0x19a568]['pairId'];)'elementStart'==_0x2c037c[_0x5b10fb]['type']?_0x1681fd++:'elementEnd'==_0x2c037c[_0x5b10fb]['type']&&_0x1681fd--,_0x5b10fb++;if(0x0!=_0x1681fd){if(_0x2c037c[_0x19a568]['isRemoved'])_0x2c037c[_0x19a568]['isIncorrect']=!0x0;else{for(;_0x5b10fb!=_0x19a568;)_0x2c037c[_0x5b10fb]['isRemoved']&&0x0!=_0x2c037c[_0x5b10fb]['distance']&&(_0x2c037c[_0x5b10fb]['isIncorrect']=!0x0,_0x3f0b0c['add'](_0x2c037c[_0x5b10fb]['pairId'])),_0x5b10fb--;}}}return _0x2c037c['filter'](_0x1dd49e=>!_0x1dd49e['isIncorrect']);}['_removeUnsupportedChanges'](_0x14e5f5){const _0x476a2d=this['editor']['model']['schema'];for(let _0x1a5501=0x0;_0x1a5501<_0x14e5f5['length'];_0x1a5501++){if(!(_0x14e5f5[_0x1a5501]['isAdded']||_0x14e5f5[_0x1a5501]['isAddSuggestion']||_0x14e5f5[_0x1a5501]['isRemoved']||_0x14e5f5[_0x1a5501]['isRemoveSuggestion']))continue;if(0x0==_0x14e5f5[_0x1a5501]['distance'])continue;const _0x28c615=_0x14e5f5[_0x1a5501]['item'];_0x476a2d['isBlock'](_0x28c615)||_0x476a2d['isLimit'](_0x28c615)||(_0x14e5f5[_0x1a5501]['isAdded']&&delete _0x14e5f5[_0x1a5501]['isAdded'],_0x14e5f5[_0x1a5501]['isAddSuggestion']&&delete _0x14e5f5[_0x1a5501]['isAddSuggestion'],_0x14e5f5[_0x1a5501]['isRemoveSuggestion']&&delete _0x14e5f5[_0x1a5501]['isRemoveSuggestion'],_0x14e5f5[_0x1a5501]['isRemoved']&&(_0x14e5f5[_0x1a5501]['isIncorrect']=!0x0));}return _0x14e5f5['filter'](_0x12b147=>!_0x12b147['isIncorrect']);}['_makeModelFromTape'](_0x15ce84,_0x48b6dc,_0xbbcfdc){const _0x5147ff=new ckeditor5['ModelDocumentFragment'](),_0x4dc040=[],_0x4e559e=new Map(),_0x560094=this['editor']['model'],_0x256c74=_0x560094['schema'],_0x3d5b28=[_0x5147ff],_0x282ed9={},_0x3f3004={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x5250b4=null;const _0x360dbf=[0x0];for(let _0x296cc9=0x0;_0x296cc9<_0x15ce84['length'];_0x296cc9++)if('elementStart'===_0x15ce84[_0x296cc9]['type']){_0x15ce84[_0x296cc9]['previousPosition']=_0x560094['createPositionFromPath'](_0x5147ff,_0x360dbf);const _0xa2bf2e=new ckeditor5['ModelElement'](_0x15ce84[_0x296cc9]['item']['name'],_0x15ce84[_0x296cc9]['item']['getAttributes']());_0x3d5b28[0x0]['_appendChild'](_0xa2bf2e),_0x360dbf['push'](0x0),_0x3d5b28['unshift'](_0xa2bf2e),_0x15ce84[_0x296cc9]['nextPosition']=_0x560094['createPositionFromPath'](_0x5147ff,_0x360dbf);}else'elementEnd'===_0x15ce84[_0x296cc9]['type']?(_0x3d5b28['shift'](),_0x15ce84[_0x296cc9]['previousPosition']=_0x560094['createPositionFromPath'](_0x5147ff,_0x360dbf),_0x360dbf['pop'](),_0x360dbf[_0x360dbf['length']-0x1]++,_0x15ce84[_0x296cc9]['nextPosition']=_0x560094['createPositionFromPath'](_0x5147ff,_0x360dbf)):(_0x15ce84[_0x296cc9]['previousPosition']=_0x560094['createPositionFromPath'](_0x5147ff,_0x360dbf),_0x5250b4?_0x5250b4['_data']+=_0x15ce84[_0x296cc9]['item']['data']:_0x5250b4=new ckeditor5['ModelText'](_0x15ce84[_0x296cc9]['item']['data'],_0x15ce84[_0x296cc9]['item']['getAttributes']()),_0x15ce84[_0x296cc9+0x1]&&'text'===_0x15ce84[_0x296cc9+0x1]['type']&&_0x384bac(_0x5250b4,_0x15ce84[_0x296cc9+0x1]['item'])||(_0x3d5b28[0x0]['_appendChild'](_0x5250b4),_0x5250b4=null),_0x360dbf[_0x360dbf['length']-0x1]+=_0x15ce84[_0x296cc9]['item']['offsetSize'],_0x15ce84[_0x296cc9]['nextPosition']=_0x560094['createPositionFromPath'](_0x5147ff,_0x360dbf));for(let _0x13d23d=0x0;_0x13d23d<_0x15ce84['length'];_0x13d23d++){const _0x2e5430=_0x15ce84[_0x13d23d]['previousPosition'],_0x3c4c19=_0x15ce84[_0x13d23d]['nextPosition'];for(const _0x1413c0 of _0x15ce84[_0x13d23d]['markersStart'])_0x4e559e['set'](_0x1413c0,{'start':_0x2e5430,'end':null});_0x40270c('isRemoveSuggestion',_0x13d23d,_0x2e5430,_0x3c4c19),_0x40270c('isAddSuggestion',_0x13d23d,_0x2e5430,_0x3c4c19),_0x40270c('isRemoved',_0x13d23d,_0x2e5430,_0x3c4c19),_0x40270c('isAdded',_0x13d23d,_0x2e5430,_0x3c4c19);for(const _0x958154 of _0x15ce84[_0x13d23d]['markersEnd']){const _0x4ca580=_0x4e559e['get'](_0x958154);_0x4ca580?_0x4ca580['end']=_0x3c4c19:_0x4e559e['set'](_0x958154,{'start':_0x3c4c19,'end':_0x3c4c19});}}for(const [_0x100738,_0x528ccf]of _0x4e559e){const _0x33c6ef=this['editor']['model']['createRange'](_0x528ccf['start'],_0x528ccf['end']);_0x5147ff['markers']['set'](_0x100738,_0x33c6ef);}return _0x4dc040['sort']((_0x354779,_0x1a600e)=>{const _0x4061fc=_0x5147ff['markers']['get']('revision:'+_0x354779['id']),_0x4cc2b6=_0x5147ff['markers']['get']('revision:'+_0x1a600e['id']);return _0x4061fc['start']['isBefore'](_0x4cc2b6['start'])?-0x1:_0x4061fc['start']['isAfter'](_0x4cc2b6['start'])?0x1:_0x4061fc['end']['isBefore'](_0x4cc2b6['end'])?-0x1:_0x4061fc['end']['isAfter'](_0x4cc2b6['end'])?0x1:'add'===_0x354779['type']?-0x1:0x1;}),{'root':_0x5147ff,'changes':_0x4dc040};function _0x40270c(_0x431f53,_0x4b4481,_0x29f898,_0x59d94f){const _0x34886c=!!_0x15ce84[_0x4b4481][_0x431f53],_0x5648cb=_0x34886c?_0x15ce84[_0x4b4481][_0x431f53]['userId']:null,_0x206f36=_0x4b4481===_0x15ce84['length']-0x1,_0x2e41e9=_0x3f3004[_0x431f53][0x0],_0x2eed96=_0x256c74['isObject'](_0x15ce84[_0x4b4481]['item']);!_0x282ed9[_0x431f53]&&_0x34886c?_0x282ed9[_0x431f53]={'start':_0x29f898,'tapeItem':_0x15ce84[_0x4b4481],'userId':_0x5648cb,'type':_0x431f53}:_0x282ed9[_0x431f53]&&!_0x34886c?(_0x282ed9[_0x431f53]['end']=_0x29f898,_0xf3fca0(_0x282ed9[_0x431f53]),_0x282ed9[_0x431f53]=null):_0x282ed9[_0x431f53]&&_0x34886c&&_0x282ed9[_0x431f53]['userId']!==_0x5648cb&&(_0x282ed9[_0x431f53]['end']=_0x29f898,_0x2e41e9&&_0x2e41e9['userId']===_0x282ed9[_0x431f53]['userId']||_0xf3fca0(_0x282ed9[_0x431f53]),_0x282ed9[_0x431f53]={'start':_0x29f898,'tapeItem':_0x15ce84[_0x4b4481],'userId':_0x5648cb,'type':_0x431f53}),_0x282ed9[_0x431f53]&&_0x2eed96&&('elementStart'!==_0x15ce84[_0x4b4481]['type']||_0x2e41e9&&_0x2e41e9['userId']===_0x5648cb||_0x3f3004[_0x431f53]['unshift']({'userId':_0x5648cb,'object':_0x15ce84[_0x4b4481]['item'],'change':_0x282ed9[_0x431f53]}),'elementEnd'===_0x15ce84[_0x4b4481]['type']&&_0x2e41e9&&_0x2e41e9['object']===_0x15ce84[_0x4b4481]['item']&&(_0x3f3004[_0x431f53]['shift'](),_0x282ed9[_0x431f53]=_0x2e41e9['change'])),_0x282ed9[_0x431f53]&&_0x206f36&&(_0x282ed9[_0x431f53]['end']=_0x59d94f,_0xf3fca0(_0x282ed9[_0x431f53]),_0x282ed9[_0x431f53]=null);}function _0xf3fca0({start:_0x2b90b1,end:_0xb0aa71,tapeItem:_0x3fa0a0,userId:_0x2f19c1,type:_0x284380}){const _0x121ee8=_0x3fa0a0['item'],_0xb8b38a=_0x560094['schema']['isBlock'](_0x121ee8)&&!_0x560094['schema']['isLimit'](_0x121ee8),_0x1c267e=_0x2b90b1['nodeAfter']==_0xb0aa71['parent']&&_0xb0aa71['isAtStart'];if(_0xb8b38a&&_0x1c267e)return;const _0x3e47f1=_0x560094['createRange'](_0x2b90b1,_0xb0aa71),_0x4f538c=_0x48b6dc['get'](_0x2f19c1),_0x41a391=new ChangeItem({'author':_0x4f538c,'type':'isAdded'==_0x284380||'isAddSuggestion'==_0x284380?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x284380||'isRemoveSuggestion'==_0x284380},'createdAt':new Date(),'rootName':_0xbbcfdc});_0x4dc040['push'](_0x41a391),_0x5147ff['markers']['set']('revision:'+_0x41a391['id'],_0x3e47f1);}function _0x384bac(_0x22fe8e,_0x28547d){const _0x403b2d=_0x22fe8e['getAttributes'](),_0x4f5646=_0x28547d['getAttributes']();for(const _0x3a4a88 of _0x403b2d){if(_0x3a4a88[0x1]!==_0x28547d['getAttribute'](_0x3a4a88[0x0]))return!0x1;_0x4f5646['next']();}return _0x4f5646['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x485971=>{const _0x1c42ea=_0x485971['markerName']['split'](':')[0x1],_0x4022c4=this['_getChangeFromId'](_0x1c42ea);if(!_0x4022c4)return null;const _0x135291='add'==_0x4022c4['type']?'insertion':'deletion',_0x5bfd0a=['ck-suggestion-marker','ck-suggestion-marker-'+_0x135291];return _0x4022c4['data']['isSuggestion']&&_0x5bfd0a['push']('ck-suggestion-marker-'+_0x135291+'-new'),this['activeChange']==_0x4022c4&&_0x5bfd0a['push']('ck-suggestion-marker--active'),{'classes':_0x5bfd0a,'attributes':{'data-change-id':_0x1c42ea}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x34c6da=>{_0x34c6da['on']('element:pre',(_0x35e0ef,_0x45b682,_0x4e883a)=>{const _0x1cf270=_0x45b682['viewItem']['getChild'](0x0);if(!_0x1cf270||!_0x1cf270['is']('element','code'))return;if(!_0x4e883a['consumable']['consume'](_0x1cf270,{'attributes':['vid_start','vid_end']}))return;const _0x356d05=_0x45b682['modelRange']['start']['nodeAfter'];_0x4e883a['writer']['setAttribute']('vid_start',_0x1cf270['getAttribute']('vid_start'),_0x356d05),_0x4e883a['writer']['setAttribute']('vid_end',_0x1cf270['getAttribute']('vid_end'),_0x356d05);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x97e680=>{_0x97e680['on']('element',(_0x2d0c85,_0x2076ef,_0x344db6)=>{if(!_0x344db6['consumable']['consume'](_0x2076ef['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x2076ef['modelRange']['isCollapsed'])return;const _0x1093a1=_0x2076ef['modelRange']['start']['nodeAfter'];_0x1093a1['hasAttribute']('vid_start')||_0x1093a1['hasAttribute']('vid')||(_0x344db6['writer']['setAttribute']('vid_start',_0x2076ef['viewItem']['getAttribute']('vid_start'),_0x1093a1),_0x344db6['writer']['setAttribute']('vid_end',_0x2076ef['viewItem']['getAttribute']('vid_end'),_0x1093a1));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x516633=>_0x516633['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x11c0bb,[,_0xedc151])=>{['vid_start','vid_end','vid']['includes'](_0xedc151)&&(_0x11c0bb['return']=!0x0,_0x11c0bb['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x3f4b25=>{_0x3f4b25['on']('attribute:vid',(_0x18a2d1,_0x21e564,_0xe7c63a)=>{if('\x20'!=_0x21e564['item']['data']||_0x21e564['item']['parent']['maxOffset']>0x1)return;if(!_0xe7c63a['consumable']['consume'](_0x21e564['item'],_0x18a2d1['name']))return;const _0x2df575=_0xe7c63a['writer'],_0x5a2b20=_0xe7c63a['mapper']['toViewRange'](_0x21e564['range']);_0x2df575['wrap'](_0x5a2b20,_0x2df575['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',(_0x183c02,_0x5e02de,_0x111847)=>{const _0x1c3dfd=_0x111847['mapper']['markerNameToElements'](_0x5e02de['markerName']);if(_0x1c3dfd){for(const _0x58f395 of _0x1c3dfd)(_0x58f395['hasClass']('ck-suggestion-marker-split')||_0x58f395['hasClass']('ck-suggestion-marker-merge'))&&(_0x111847['mapper']['unbindElementFromMarkerName'](_0x58f395,_0x5e02de['markerName']),_0x111847['writer']['remove'](_0x58f395));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x2c2697,_0xf83523,_0x2813c3)=>{const _0x1da948=_0xf83523['markerName']['split'](':')[0x1],_0x13aba0=this['_getChangeFromId'](_0x1da948);if(!_0x13aba0)return null;const _0x5ede60='add'==_0x13aba0['type']?'split':'merge';if(_0x2813c3['consumable']['test'](_0xf83523['markerRange'],_0x2c2697['name']))for(const _0x1186ec of _0xf83523['markerRange']['getItems']()){if(!_0x1186ec['is']('element','softBreak'))continue;const _0x517cfe=_0x2813c3['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5ede60}),_0x5dcc43=_0x2813c3['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x1186ec));_0x13aba0['data']['isSuggestion']&&_0x2813c3['writer']['addClass']('ck-suggestion-marker-'+_0x5ede60+'-new',_0x517cfe),this['activeChange']==_0x13aba0&&_0x2813c3['writer']['addClass']('ck-suggestion-marker--active',_0x517cfe),_0x2813c3['writer']['insert'](_0x5dcc43,_0x517cfe),_0x2813c3['mapper']['bindElementToMarker'](_0x517cfe,_0xf83523['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x3d56ab=>{for(const _0xfbb0f1 of this['editor']['model']['document']['getRootNames']()){const _0x156daf=this['editor']['model']['document']['getRoot'](_0xfbb0f1),_0x585bfe=this['editor']['editing']['view']['document']['getRoot'](_0xfbb0f1);if(_0x585bfe){const _0x1be12f=_0x156daf['getAttribute']('revisionHistoryAttachChange');if(_0x3d56ab['removeAttribute']('data-change-id',_0x585bfe),_0x3d56ab['removeClass']('ck-revision-history-root-add',_0x585bfe),_0x3d56ab['removeClass']('ck-revision-history-root-remove',_0x585bfe),_0x3d56ab['removeClass']('ck-revision-history-root--active',_0x585bfe),_0x1be12f){const _0x3ac748=this['_getChangeFromId'](_0x1be12f);if(!_0x3ac748)return null;_0x3d56ab['setAttribute']('data-change-id',_0x1be12f,_0x585bfe),_0x3d56ab['addClass']('ck-revision-history-root-'+_0x3ac748['type'],_0x585bfe),this['activeChange']==_0x3ac748&&_0x3d56ab['addClass']('ck-revision-history-root--active',_0x585bfe);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x548a08=>'revision-comment:'+_0x548a08,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x3cd953=>'revision-suggestion:'+_0x3cd953,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x3c9bb7=>({'name':'suggestion:'+_0x3c9bb7,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x3740b7=>{const _0x3ee440=_0x3740b7['markerName']['split'](':')[0x1];return'insertion'!=_0x3ee440&&'deletion'!=_0x3ee440?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x3ee440]};}}),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',(_0x5bf07c,_0x331e72,_0x32a0d9)=>{const _0x181a6e=_0x32a0d9['mapper']['markerNameToElements'](_0x331e72['markerName']);if(_0x181a6e){for(const _0x4af279 of _0x181a6e)_0x4af279['is']('uiElement')&&(_0x32a0d9['mapper']['unbindElementFromMarkerName'](_0x4af279,_0x331e72['markerName']),_0x32a0d9['writer']['remove'](_0x4af279));}},{'priority':'high'});}['_getChangeFromId'](_0x112bc4){return this['_changeIdToChange']['get'](_0x112bc4);}['_getViewForChange'](_0x43e0d5){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new ChangeDetailsView(this['editor']['locale'],_0x43e0d5),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x45e40b,_0x2794d8,_0x2c3577,_0x339652)=>{_0x339652&&this['_balloon']['remove'](_0x339652),_0x2c3577&&(this['_balloon']['add']({'view':_0x2c3577,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x5b36c5=this['editor']['editing'],_0x4ddd64=this['_getChangeFromId'](_0x2c3577['changeId']);let _0x3c7839;if(_0x4ddd64['data']['isOnRoot']){const _0x1dc83a=_0x5b36c5['view']['getDomRoot'](_0x4ddd64['rootName']);_0x3c7839=Array['from'](_0x1dc83a['getClientRects']());}else{const _0x2771b6=this['editor']['model']['markers']['get']('revision:'+_0x2c3577['changeId']);_0x3c7839=Array['from'](_0x5b36c5['mapper']['markerNameToElements'](_0x2771b6['name']))['map'](_0x5eb70e=>_0x5b36c5['view']['domConverter']['mapViewToDom'](_0x5eb70e))['map'](_0x1a08a1=>Array['from'](_0x1a08a1['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x3c7839[0x0];return _0x3c7839['find'](_0x50d620=>_0x50d620['top']-0x3<=this['_activeViewTarget']['y']&&_0x50d620['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x50d620['left']-0x3<=this['_activeViewTarget']['x']&&_0x50d620['right']+0x3>=this['_activeViewTarget']['x'])||_0x3c7839[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x2b4011,_0x3e1c70,_0x16cf4e,_0x3df9b1)=>{this['activeView']=_0x16cf4e?this['_getViewForChange'](_0x16cf4e):null,this['editor']['model']['change'](()=>{const _0x2a01a9=this['editor']['editing'];_0x3df9b1&&(_0x3df9b1['data']['isOnRoot']?_0x2a01a9['view']['change'](_0xe3899f=>{_0xe3899f['removeClass']('ck-revision-history-root--active',_0x2a01a9['view']['document']['getRoot'](_0x3df9b1['rootName']));}):_0x2a01a9['reconvertMarker']('revision:'+_0x3df9b1['id'])),_0x16cf4e&&(_0x16cf4e['data']['isOnRoot']?_0x2a01a9['view']['change'](_0xf6eb56=>{_0xf6eb56['addClass']('ck-revision-history-root--active',_0x2a01a9['view']['document']['getRoot'](_0x16cf4e['rootName']));}):_0x2a01a9['reconvertMarker']('revision:'+_0x16cf4e['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x455bfb,_0x215a28)=>{if(this['activeChange'])return;const _0x1e30e1=this['_findChangeIdFromDomTarget'](_0x215a28['target']),_0x1ce13f=this['_changeIdToChange']['get'](_0x1e30e1);_0x1ce13f?(this['_activeViewTarget']={'x':_0x215a28['domEvent']['x'],'y':_0x215a28['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x1ce13f)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x70a845,_0x463d27)=>{const _0x165607=this['_findChangeIdFromDomTarget'](_0x463d27['target']),_0x30a223=this['_changeIdToChange']['get'](_0x165607);_0x30a223?(this['_activeViewTarget']={'x':_0x463d27['domEvent']['x'],'y':_0x463d27['domEvent']['y']},_0x30a223===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x30a223):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x50f22b){do{const _0x22892c=_0x50f22b['getAttribute']('data-change-id');if(_0x22892c)return _0x22892c;_0x50f22b=_0x50f22b['parent'];}while(_0x50f22b);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x3c9460=>{for(const _0x2bb933 of this['editor']['model']['markers'])_0x3c9460['removeMarker'](_0x2bb933);});}}function downcastSplitMergeMarker(_0x191b29){const _0x333ee3=_0x191b29['plugins']['get']('RevisionViewer');return(_0x2b8f91,_0x21a161,_0x3135da)=>{const _0x532416=_0x21a161['markerName']['split'](':')[0x1],_0x32bae8=_0x333ee3['_getChangeFromId'](_0x532416);if(!_0x32bae8)return null;const _0x287d61='add'==_0x32bae8['type']?'split':'merge';if(!_0x3135da['consumable']['test'](_0x21a161['markerRange'],_0x2b8f91['name']))return;const _0x4522cd=_0x21a161['markerRange']['getWalker'](),_0x3b6673=_0x21a161['markerRange']['start'],_0x4873c0=_0x191b29['model']['schema'];let _0x3cbd97=null,_0x1b2cb3=null,_0x363d71=!0x1,_0x4954f4=!0x1;for(const _0x4f33c8 of _0x4522cd){const _0x80e65d=_0x4f33c8['item'];_0x363d71=_0x363d71||_0x4873c0['isContent'](_0x80e65d);const _0x2f1618=_0x3135da['mapper']['toViewElement'](_0x80e65d);if(_0x2f1618&&_0x2f1618['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4f33c8['type']&&(_0x4873c0['isBlock'](_0x80e65d)&&!_0x4873c0['isLimit'](_0x80e65d)&&(_0x80e65d['nextSibling']||_0x3b6673['isAtEnd']?_0x3cbd97&&_0x3cbd97['parent']==_0x80e65d||(_0x3cbd97=_0x80e65d,_0x215dcf(_0x4f33c8['previousPosition']),_0x4954f4=!0x0):_0x1b2cb3=_0x1b2cb3||_0x4f33c8['previousPosition']));}function _0x215dcf(_0x714e05){const _0x369fce=_0x3135da['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x287d61}),_0x4addf6=_0x3135da['mapper']['toViewPosition'](_0x714e05);_0x32bae8['data']['isSuggestion']&&_0x3135da['writer']['addClass']('ck-suggestion-marker-'+_0x287d61+'-new',_0x369fce),_0x333ee3['activeChange']==_0x32bae8&&_0x3135da['writer']['addClass']('ck-suggestion-marker--active',_0x369fce),_0x3135da['writer']['insert'](_0x4addf6,_0x369fce),_0x3135da['mapper']['bindElementToMarker'](_0x369fce,_0x21a161['markerName']);}_0x363d71||_0x4954f4||!_0x1b2cb3||_0x215dcf(_0x1b2cb3);};}function downcastSplitMergeMarkerSuggestion(_0x11a3c1,_0x400219){return(_0x2ab4da,_0x491010,_0x5212ac)=>{if(!_0x5212ac['consumable']['test'](_0x491010['markerRange'],_0x2ab4da['name']))return;const _0x541217=_0x491010['markerRange']['getWalker'](),_0x4c504d=_0x491010['markerRange']['start'],_0x18fdc2=_0x11a3c1['model']['schema'];let _0x3016c0=null,_0x397653=null,_0x29e318=!0x1,_0x402554=!0x1;for(const _0x4dd57a of _0x541217){const _0x50e50a=_0x4dd57a['item'];_0x29e318=_0x29e318||_0x18fdc2['isContent'](_0x50e50a);const _0x6640ba=_0x5212ac['mapper']['toViewElement'](_0x50e50a);if(_0x6640ba&&_0x6640ba['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4dd57a['type']&&(_0x18fdc2['isBlock'](_0x50e50a)&&!_0x18fdc2['isLimit'](_0x50e50a)&&(_0x50e50a['nextSibling']||_0x4c504d['isAtEnd']?_0x3016c0&&_0x3016c0['parent']==_0x50e50a||(_0x3016c0=_0x50e50a,_0x3a8260(_0x4dd57a['previousPosition']),_0x402554=!0x0):_0x397653=_0x397653||_0x4dd57a['previousPosition']));}function _0x3a8260(_0xd3b93f){const _0x3e4e0d=_0x5212ac['mapper']['toViewPosition'](_0xd3b93f),_0x11c02d=_0x5212ac['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x400219});_0x5212ac['writer']['insert'](_0x3e4e0d,_0x11c02d),_0x5212ac['mapper']['bindElementToMarker'](_0x11c02d,_0x491010['markerName']);}_0x29e318||_0x402554||!_0x397653||_0x3a8260(_0x397653);};}class RestoreRevisionCommand extends ckeditor5['Command']{constructor(_0x4670bf){super(_0x4670bf);const _0x450184=_0x4670bf['plugins']['get'](_0x27c71f);this['affectsData']=!0x1,this['listenTo'](_0x450184,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x450184,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0xa1c4ad=this['editor'],_0x4a8bb4=_0xa1c4ad['plugins']['get'](_0x27c71f),_0x26ca5b=_0x4a8bb4['isReady']?_0x4a8bb4['diff']['newRevisionId']:null;_0xa1c4ad['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x26ca5b);}['refresh'](){const {isReady:_0x233d07,isEnabled:_0x2b18f4,repository:_0x8877b6,diff:_0x4af5b6}=this['editor']['plugins']['get'](_0x27c71f),_0x26bdca=_0x4af5b6&&_0x8877b6['getLaterVisibleRevision'](_0x4af5b6['newRevisionId']);this['isEnabled']=_0x233d07&&_0x2b18f4&&Boolean(_0x26bdca);}}class _0x20cf77 extends ckeditor5['Command']{['_step'];constructor(_0x42c1fe,{direction:_0x156d57}){super(_0x42c1fe);const _0x22ca78=_0x42c1fe['plugins']['get'](_0x27c71f);this['affectsData']=!0x1,this['_step']='forward'===_0x156d57?0x1:-0x1,this['listenTo'](_0x22ca78,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x22ca78,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x22ca78,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x40a5b5=this['editor'],_0x144925=_0x40a5b5['plugins']['get'](_0x27c71f),{isNavigationMode:_0x52a4c7,currentChangeNumber:_0x582a13}=_0x144925;let _0x4a940e;if(_0x144925['activeChange']=_0x52a4c7?_0x144925['diff']['changes']['get'](_0x582a13+this['_step']):_0x144925['diff']['changes']['first'],_0x144925['activeChange']['data']['isOnRoot'])_0x4a940e=_0x40a5b5['editing']['view']['getDomRoot'](_0x144925['activeChange']['rootName']);else{const _0x98a3b3=_0x40a5b5['model']['markers']['get']('revision:'+_0x144925['activeChange']['id']);_0x4a940e=getMarkerDomElement(_0x40a5b5['editing'],_0x98a3b3);}ckeditor5['scrollViewportToShowTarget']({'target':_0x4a940e,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x430c51,currentChangeNumber:_0x4ab6d1,numberOfChanges:_0x143aec,isReady:_0x36f069,isEnabled:_0x2a6ca9}=this['editor']['plugins']['get'](_0x27c71f);this['isEnabled']=!!(_0x2a6ca9&&_0x36f069&&_0x143aec)&&(!_0x430c51||(0x1===this['_step']?_0x4ab6d1<_0x143aec-0x1:_0x4ab6d1>0x0));}}class ChangesNavigationView extends ckeditor5['View']{constructor(_0x223832){super(_0x223832);const _0x5dba3a=this['bindTemplate'],_0x2a2c65=new ckeditor5['ButtonView'](_0x223832),_0x4d96fc=new ckeditor5['ButtonView'](_0x223832);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',(_0xb87451,_0x3bde6c)=>_0xb87451&&_0x3bde6c>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x46a5a1,_0x131ba1,_0x519207,_0x45bb19)=>{if(!_0x46a5a1)return getTranslation$5(_0x223832,'Loading...');if(!_0x519207)return getTranslation$5(_0x223832,'No\x20changes');const _0x810e7f=getTranslation$5(_0x223832,'NUMBER_OF_CHANGES',_0x519207);return _0x45bb19?getTranslation$5(_0x223832,'X_OF_Y_CHANGES',[_0x131ba1+0x1,_0x519207]):_0x810e7f;}),_0x2a2c65['set']({'label':getTranslation$5(_0x223832,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':ckeditor5['IconChevronUp']}),_0x4d96fc['set']({'label':getTranslation$5(_0x223832,'Show\x20next\x20change'),'tooltip':!0x0,'icon':ckeditor5['IconChevronDown']}),_0x2a2c65['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x4d96fc['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x2a2c65['on']('execute',()=>this['fire']('execute','backward')),_0x4d96fc['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',_0x5dba3a['if']('_isStatusLabelVisible','ck-hidden',_0x20ccec=>!_0x20ccec)]},'children':[{'text':_0x5dba3a['to']('isNavigationMode',_0x18e910=>_0x18e910?getTranslation$5(_0x223832,'EDIT_X_OF_Y_REVISIONS')+':\x20':getTranslation$5(_0x223832,'Total')+':\x20')}]},{'text':_0x5dba3a['to']('_statusText')}]},new ckeditor5['ToolbarSeparatorView'](),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x2a2c65,_0x4d96fc]}]});}}const _0x4bd87c='ck-editor__editable__loading-overlay';class _0x3f2ac7 extends ckeditor5['Plugin']{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['show'](){const _0x3487e9=this['editor']['editing']['view'];_0x3487e9['change'](_0x4848d1=>{for(const _0x4a6564 of _0x3487e9['document']['roots'])_0x4848d1['addClass'](_0x4bd87c,_0x4a6564);});}['hide'](){const _0x23f8bf=this['editor']['editing']['view'];_0x23f8bf['change'](_0x3fb818=>{for(const _0x55b295 of _0x23f8bf['document']['roots'])_0x3fb818['removeClass'](_0x4bd87c,_0x55b295);});}}class _0x27431a extends ckeditor5['Plugin']{static get['pluginName'](){return'RevisionViewerUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x27c71f,_0x3f2ac7];}['init'](){const _0x4e44e2=this['editor'],_0x21cc50=_0x4e44e2['plugins']['get'](_0x27c71f),_0x3f8b86=_0x4e44e2['plugins']['get'](_0x3f2ac7);_0x4e44e2['ui']['componentFactory']['add']('exitToEditing',_0x3b33c6=>{const _0x23125f=new ckeditor5['ButtonView'](_0x3b33c6);return _0x23125f['set']({'label':getTranslation$5(_0x3b33c6,'Back\x20to\x20editing'),'icon':ckeditor5['IconUndo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x23125f,'execute',()=>{_0x4e44e2['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x23125f;}),_0x4e44e2['ui']['componentFactory']['add']('restoreRevision',_0x208e30=>{const _0x129b24=new ckeditor5['ButtonView'](_0x208e30);return _0x129b24['set']({'label':getTranslation$5(_0x208e30,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x129b24['bind']('isEnabled')['to'](_0x4e44e2['commands']['get']('restoreRevision')),this['listenTo'](_0x129b24,'execute',()=>_0x4e44e2['execute']('restoreRevision')),_0x129b24;}),_0x4e44e2['ui']['componentFactory']['add']('changesNavigation',_0x1c6b77=>{const _0xf3a89a=new ChangesNavigationView(_0x1c6b77),_0x3a3be8=_0x4e44e2['commands']['get']('showPreviousChange'),_0x5147d1=_0x4e44e2['commands']['get']('showNextChange');return _0xf3a89a['bind']('isBackwardNavigationEnabled')['to'](_0x3a3be8,'isEnabled'),_0xf3a89a['bind']('isForwardNavigationEnabled')['to'](_0x5147d1,'isEnabled'),_0xf3a89a['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x21cc50),this['listenTo'](_0xf3a89a,'execute',(_0x460aa2,_0x3f5ac6)=>{_0x4e44e2['execute']('forward'===_0x3f5ac6?'showNextChange':'showPreviousChange');}),_0xf3a89a;}),_0x3f8b86['show'](),_0x21cc50['on']('change:isReady',(_0x9ad29b,_0x484a80,_0x3b02a7)=>{_0x3b02a7?_0x3f8b86['hide']():_0x3f8b86['show']();});}}class _0x49a56c extends ckeditor5['LabeledFieldView']{['_resizeObserver']=null;constructor(_0x5e1e0c,_0x1064cf){super(_0x5e1e0c,_0x1064cf);const _0x4f46bb=this['bindTemplate'];this['set']({'label':getTranslation$5(_0x5e1e0c,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=getTranslation$5(_0x5e1e0c,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x4f46bb['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 _0x357bb4=this['fieldView']['element'];this['_tooltipString']=_0x357bb4['scrollWidth']>_0x357bb4['clientWidth']&&_0x357bb4['value']||'';}}class RevisionAuthorView extends ckeditor5['View']{constructor(_0x20f242,_0x38c722,_0x3a33a4){super(_0x20f242);const _0x5b6430=new ckeditor5['IconView']();_0x5b6430['set']({'content':ckeditor5['IconUser'],'viewBox':'0\x200\x2011\x2010'});const _0x25d926=['ck','ck-revision-history-sidebar__revision-author'];_0x3a33a4&&_0x25d926['push']('ck-revision-history-sidebar__revision-author_creator');const _0x2011cc=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':getTranslation$5(_0x20f242,_0x3a33a4?'Revision\x20creator':'Revision\x20author')},'children':[_0x5b6430,_0x38c722['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x25d926},'children':_0x2011cc});}}function dateToPrettyFormat(_0x231ce4,_0x18b767){return _0x18b767['toLocaleDateString'](_0x231ce4,{'month':'long','day':'numeric'})+',\x20'+_0x18b767['toLocaleTimeString'](_0x231ce4,{'hour':'numeric','minute':'numeric'});}function createActionsDropdownView(_0xfe1945,_0x175b4d){const _0x5c9965=_0xfe1945['bindTemplate'],_0x568112=_0xfe1945['locale'],_0x56ab95=ckeditor5['createDropdown'](_0x568112);_0x56ab95['panelPosition']='sw';const _0x22eca4=_createDropdownOptions(_0xfe1945,_0x175b4d);return _0xfe1945['bind']('isActionsDropdownOpen')['to'](_0x56ab95,'isOpen'),_0x56ab95['buttonView']['set']({'label':getTranslation$5(_0x568112,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':ckeditor5['IconThreeVerticalDots']}),_0x56ab95['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x5c9965['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x5c9965['to'](_0x2a2085=>_0x2a2085['stopPropagation']())}}),_0x56ab95['on']('execute',_0x5c08d2=>{_0xfe1945['isReady']&&'function'==typeof _0x5c08d2['source']['_action']&&_0x5c08d2['source']['_action'](_0xfe1945);}),ckeditor5['addListToDropdown'](_0x56ab95,_0x22eca4,{'role':'menu'}),_0x56ab95['listenTo'](_0xfe1945,'change:isActionsDropdownOpen',(_0x1ee955,_0x12b45c,_0x4c1b35)=>{if(_0x4c1b35)for(const _0x55ab2a of _0x56ab95['listView']['items']){const _0x169a99=_0x55ab2a['children']['first'],_0x492471=_0x175b4d['find'](_0x52f51f=>_0x52f51f['action']===_0x169a99['_action'])['isVisible'];_0x55ab2a['isVisible']=void 0x0===_0x492471||_0x492471(_0xfe1945);}}),_0x56ab95;}function _createDropdownOptions(_0x1284a9,_0x28ee98){const _0x2c223d=_getLocalizedOptions(_0x1284a9,_0x28ee98),_0x566022=new ckeditor5['Collection']();for(const _0xffe1b3 of _0x2c223d){const _0x3dcbb6={'type':'button','model':new ckeditor5['UIModel']({'label':_0xffe1b3['name'],'class':_0xffe1b3['class'],'withText':!0x0,'role':'menuitem','_action':_0xffe1b3['action']})};_0x3dcbb6['model']['bind']('isEnabled')['to'](_0x1284a9,'isActionsDropdownOpen',_0x4b966b=>'function'!=typeof _0xffe1b3['isEnabled']||(!_0x4b966b||_0xffe1b3['isEnabled'](_0x1284a9))),_0x566022['add'](_0x3dcbb6);}return _0x566022;}function _getLocalizedOptions(_0x4ae275,_0x434df9){const _0x563a90=_0x4ae275['locale'],_0x1ce0f4={'Compare\x20against\x20selected':getTranslation$5(_0x563a90,'Compare\x20against\x20selected'),'Name\x20this\x20revision':getTranslation$5(_0x563a90,'Name\x20this\x20revision'),'Restore\x20this\x20revision':getTranslation$5(_0x563a90,'Restore\x20this\x20revision')};return _0x434df9['map'](_0x43b1c1=>{const _0x5d9123=_0x1ce0f4[_0x43b1c1['name']];return _0x5d9123&&_0x5d9123!==_0x43b1c1['name']&&(_0x43b1c1['name']=_0x5d9123),_0x43b1c1;});}class _0x33175a extends/* #__PURE__ -- @preserve */
_0x1acd7b(ckeditor5['View']){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x58206e,_0xbf9232,_0xe7c1c8,_0xa82f51){super(_0x58206e);const _0x41989b=this['bindTemplate'],_0xc65151=getAuthorViews(_0x58206e,_0xbf9232);this['id']=_0xbf9232['id'],this['_revision']=_0xbf9232,this['_requireRevisionName']=_0xa82f51,this['bind']('name','createdAt')['to'](_0xbf9232),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x5078b7=>dateToPrettyFormat(_0x58206e['uiLanguage'],_0x5078b7)),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new _0x49a56c(_0x58206e,ckeditor5['createLabeledInputText']),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x1a2425=>_0x1a2425||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x416a49,_0x586034)=>_0x416a49&&_0x586034),this['revisionActionsView']=_0xe7c1c8&&_0xe7c1c8['length']?createActionsDropdownView(this,_0xe7c1c8):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x41989b['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x41989b['if']('isEnabled','ck-disabled',_0x4ccb75=>!_0x4ccb75),_0x41989b['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x41989b['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x41989b['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':_0x41989b['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':_0xc65151}]},this['revisionActionsView']],'on':{'click':_0x41989b['to'](_0x477920=>{_0x477920['srcElement']['closest']('.ck-confirm-view')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x5f123a=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x5f123a,'change',()=>{this['_requireRevisionName']&&!_0x5f123a['value']||this['fire']('setName',{'id':this['id'],'name':_0x5f123a['value']}),_0x5f123a['value']||(_0x5f123a['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(_0x556f95,_0x13a81f){const _0x1a98f1=Array['from'](_0x13a81f['authors'])['filter'](_0x355c3a=>_0x355c3a!=_0x13a81f['creator']);return _0x13a81f['creator']&&_0x1a98f1['unshift'](_0x13a81f['creator']),_0x1a98f1['map'](_0x3b9e61=>new RevisionAuthorView(_0x556f95,_0x3b9e61,_0x3b9e61==_0x13a81f['creator']));}function getDateTimePeriodInfo(_0x4bc3f5,_0xf42c71){const _0x155853=DateTime['fromJSDate'](_0x4bc3f5)['setLocale'](_0xf42c71),_0x4e1da9=DateTime['local'](),_0x3b090a=_0x4e1da9['minus']({'days':0x1})['startOf']('day');let _0x4b953d,_0x174d0b;return _0x155853['hasSame'](_0x4e1da9,'day')?(_0x4b953d=_0x155853['startOf']('day')['toJSDate'](),_0x174d0b=_0x155853['toRelativeCalendar']()):_0x155853['hasSame'](_0x3b090a,'day')?(_0x4b953d=_0x3b090a['toJSDate'](),_0x174d0b=_0x155853['toRelativeCalendar']()):_0x155853['hasSame'](_0x4e1da9,'week')?(_0x4b953d=_0x155853['startOf']('week')['toJSDate'](),_0x174d0b=_0x155853['weekdayLong']||''):_0x155853['hasSame'](_0x4e1da9,'year')?(_0x4b953d=_0x155853['startOf']('month')['toJSDate'](),_0x174d0b=_0x155853['monthLong']||''):(_0x4b953d=_0x155853['startOf']('year')['toJSDate'](),_0x174d0b=String(_0x155853['year'])),{'startDate':_0x4b953d,'localizedPeriodName':_0x174d0b};}class _0x1311cc extends ckeditor5['View']{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x4f98a6,_0x50fc0a,_0x3e1b1d,_0x2d3091){super(_0x4f98a6);const _0xcb7af6=getDateTimePeriodInfo(_0x50fc0a,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x50fc0a,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x3e1b1d,this['_requireRevisionName']=_0x2d3091,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':_0xcb7af6}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x457216){const _0xf16884=new _0x33175a(this['locale'],_0x457216,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0xf16884);}['removeRevision'](_0x165b77){const _0x3307ed=this['revisionViews']['find'](_0x38d8ae=>_0x38d8ae['id']===_0x165b77['id']);this['revisionViews']['remove'](_0x3307ed);}}class _0x3569b1 extends ckeditor5['View']{constructor(_0x451752){super(_0x451752);const _0x5f5528=new ckeditor5['IconView']();_0x5f5528['content']=ckeditor5['IconHistory'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x5f5528,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[getTranslation$5(_0x451752,'Revision\x20history')]}]});}}class _0x246518 extends ckeditor5['View']{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x3d283d,_0x5c79ec,_0x5c5a85,_0x468dfb){super(_0x3d283d);const _0x568856=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x5c79ec,this['_revisionActions']=_0x5c5a85,this['_requireRevisionName']=_0x468dfb,this['on']('select',(_0x318a87,_0x4b13d1)=>{this['fire']('revisionSelected',_0x4b13d1);}),this['on']('setName',(_0x56a5e7,_0x4c8a40)=>{this['fire']('revisionSetName',_0x4c8a40);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new _0x3569b1(_0x3d283d),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x568856['if']('isEnabled','ck-disabled',_0x268431=>!_0x268431)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x1825c6 of this['_revisions'])this['_addRevision'](_0x1825c6);this['_revisions']['on']('add',(_0x527da2,_0x3917c8)=>{this['_addRevision'](_0x3917c8);}),this['_revisions']['on']('remove',(_0x1cc54e,_0x58d8c8)=>{this['_removeRevision'](_0x58d8c8);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x284d9c=>_0x284d9c['revisionViews']['map'](_0x3cd7c1=>_0x3cd7c1))['flat']();}['selectRevision'](_0x3eb8ef){for(const _0x21c54f of this['revisionViews'])_0x3eb8ef&&_0x3eb8ef['id']===_0x21c54f['id']?_0x21c54f['select']():_0x21c54f['deselect']();}['highlightRevisions'](_0x15fd83){for(const _0x11f740 of this['revisionViews'])_0x15fd83['some'](({id:_0x56cc25})=>_0x56cc25===_0x11f740['id'])?_0x11f740['highlight']():_0x11f740['unhighlight']();}['_addRevision'](_0xd1d22d){const _0x2e66c3=getDateTimePeriodInfo(_0xd1d22d['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x511e97=this['timePeriodViews']['get'](0x0);_0x511e97&&_0x511e97['startDate']['getTime']()===_0x2e66c3['getTime']()||(_0x511e97=new _0x1311cc(this['locale'],_0x2e66c3,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x511e97)),_0x511e97['addRevision'](_0xd1d22d);}['_removeRevision'](_0x57f057){const _0x5bb661=getDateTimePeriodInfo(_0x57f057['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x5bb661)['removeRevision'](_0x57f057);}['_getTimePeriodViewByStartDate'](_0x2e3fba){return this['timePeriodViews']['find'](_0x5d02dc=>_0x5d02dc['startDate']['getTime']()===_0x2e3fba['getTime']());}}class _0x298ce5 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[_0x27c71f];}constructor(_0x279011){super(_0x279011),this['_revisionViewer']=_0x279011['plugins']['get'](_0x27c71f),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x2ea66d=this['_revisionsRepository']['_revisions'],_0x471361=this['_createRevisionActions'](),_0x52fa48=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new _0x246518(this['editor']['locale'],_0x2ea66d,_0x471361,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',(_0x533698,_0x486287)=>{_0x486287['revisionViews']['on']('add',(_0x2f61e9,_0x34d6ac)=>{_0x34d6ac['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)),_0x52fa48['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x3d5c73=this['_revisionsRepository']['getRevision'](0x0);if(_0x3d5c73){const _0x23d583=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x3d5c73['id']);this['_revisionViewer']['compare'](_0x3d5c73,_0x23d583);}}['_handleRevisionSelected'](_0x366a5c,_0x27c8c2){const _0x110acd=this['_revisionsRepository']['getRevision'](_0x27c8c2['id']),_0xc03ff7=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x110acd['id']);this['_revisionViewer']['compare'](_0x110acd,_0xc03ff7);}['_handleRevisionSetName'](_0x3f930b,_0x12bbb9){this['_revisionsRepository']['getRevision'](_0x12bbb9['id'])['setName'](_0x12bbb9['name']);}['_handleDiffChange'](_0x390b52,_0xbfc2c4,_0x1731c3){const _0x1d8994=this['_revisionsRepository']['getRevisionsInDiff'](_0x1731c3);_0x1d8994['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x1d8994),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x1d8994[0x0]));}['_createRevisionActions'](){const _0xa8f426=this['editor'],_0x119834=_0x298ce5['availableRevisionActions'],_0x20f4c2=_0xa8f426['config']['get']('revisionHistory.revisionActions')||_0x298ce5['defaultRevisionActions'];if(_0x20f4c2['length'])return _0x20f4c2['map'](_0x29fa81=>{const _0x1ebb17='string'==typeof _0x29fa81?Object['assign']({},_0x119834[_0x29fa81]):_0x29fa81;return _0x1ebb17['action']=_0x1ebb17['action']['bind'](this,_0xa8f426),_0x1ebb17['isVisible']&&(_0x1ebb17['isVisible']=_0x1ebb17['isVisible']['bind'](this,_0xa8f426)),_0x1ebb17;});}}function availableRevisionActions(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x206532},_0x18d0f5)=>{const _0x2d5df6=_0x206532['get'](_0x27c71f),_0x123c98=_0x2d5df6['repository'];let _0x7d0262=_0x2d5df6['diff']['newRevisionId'],_0x5c4648=_0x18d0f5['id'];_0x123c98['getIndex'](_0x7d0262)>_0x123c98['getIndex'](_0x5c4648)&&([_0x7d0262,_0x5c4648]=[_0x5c4648,_0x7d0262]),_0x2d5df6['compare'](_0x7d0262,_0x5c4648);},'isVisible':({plugins:_0x6f2f74},_0x56a5a0)=>{const _0x46fda6=_0x6f2f74['get'](_0x27c71f);return!(_0x46fda6['repository']['getRevisionsInDiff'](_0x46fda6['diff'])['length']>0x2)&&!_0x56a5a0['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x577fc2,{id:_0xd5091c})=>{_0x577fc2['config']['get']('revisionHistory')['restoreRevisionCallback'](_0xd5091c);},'isVisible':({plugins:_0x37c1c2},_0x30a1df)=>!!_0x37c1c2['get'](_0x27c71f)['repository']['getLaterVisibleRevision'](_0x30a1df['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x55e3a1},{id:_0x186cbe,revisionNameView:_0x39e59a})=>{const _0x4d0de7=_0x55e3a1['get'](_0x27c71f),_0x132850=_0x4d0de7['repository']['getEarlierVisibleRevision'](_0x186cbe);_0x4d0de7['compare'](_0x186cbe,_0x132850),_0x39e59a['focus'](),_0x39e59a['fieldView']['select']();}}};}class RevisionViewerEditorUI extends ckeditor5['EditorUI']{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x168ded,_0x4acdef){super(_0x168ded),this['_view']=_0x4acdef,this['_toolbarConfig']=ckeditor5['normalizeToolbarConfig'](_0x168ded['config']['get']('toolbar')),this['_elementReplacer']=new ckeditor5['ElementReplacer']();}get['element'](){return this['view']['element'];}['init'](_0x5e6441){const _0x25708e=this['editor'],_0x3bd546=this['view'],_0x2bca0f=_0x25708e['editing']['view'],_0x1e2b1b=_0x3bd546['editable'],_0x2e5f78=_0x2bca0f['document']['getRoot']();_0x1e2b1b['name']=_0x2e5f78['rootName'],_0x3bd546['render']();const _0xdf7cdf=_0x1e2b1b['element'];this['setEditableElement'](_0x1e2b1b['name'],_0xdf7cdf),_0x3bd546['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x2bca0f['attachDomRoot'](_0xdf7cdf),this['_elementReplacer']['replace'](_0x5e6441,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x4bdbb1=this['view'],_0x15ccc0=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x15ccc0['detachDomRoot'](_0x4bdbb1['editable']['name']),_0x4bdbb1['destroy']();}['_initToolbar'](){const _0x3c5210=this['view'];_0x3c5210['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x3c5210['stickyPanel']['limiterElement']=_0x3c5210['element'],_0x3c5210['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x35d31d})=>_0x35d31d),_0x3c5210['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x3c5210['toolbar']);}}class RevisionViewerEditorUIView extends ckeditor5['BoxedEditorUIView']{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x2e5616,_0x73fdf8,_0x3b2737={}){super(_0x2e5616),this['stickyPanel']=new ckeditor5['StickyPanelView'](_0x2e5616),this['toolbar']=new ckeditor5['ToolbarView'](_0x2e5616,{'shouldGroupWhenFull':_0x3b2737['shouldToolbarGroupWhenFull']}),this['_editable']=new ckeditor5['InlineEditableUIView'](_0x2e5616,_0x73fdf8);}['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(_0x2617c2,_0x36d353){super(_0x36d353),this['sourceElement']=_0x2617c2,this['model']['document']['createRoot']();const _0x6b0a9a=new RevisionViewerEditorUIView(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new RevisionViewerEditorUI(this,_0x6b0a9a);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x4bc54c,_0x5e4480){const _0x43ffe2=new this(_0x4bc54c,_0x5e4480);return await _0x43ffe2['initPlugins'](),await _0x43ffe2['ui']['init'](_0x4bc54c),await _0x43ffe2['data']['init'](_0x43ffe2['config']['get']('initialData')||''),_0x43ffe2['fire']('ready'),_0x43ffe2;}}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(_0x1ee387){function _0x5a4943(_0xed2952){return _0xed2952['map'](_0x30102b=>String['fromCharCode'](_0x30102b))['join']('');}super(_0x1ee387),this['result']='end',_0x1ee387[_0x5a4943([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a4943([0x76,0x69,0x65,0x77])][_0x5a4943([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5a4943([0x61,0x75,0x74,0x6f]),_0x1ee387[_0x5a4943([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x5a4943([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5a4943([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x5a4943([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x5a4943([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[_0x457abd,RevisionHistoryUI];}constructor(_0x5a7e50){if(super(_0x5a7e50),!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',_0x3c17c6=>this['_showRevisionViewer']({..._0x3c17c6,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x288ef7=>this['_closeRevisionViewer'](_0x288ef7)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0xadbbbe=>this['_restoreRevision'](_0xadbbbe)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x116afa){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x116afa;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x2fb3ac){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x2fb3ac);}['getRevision'](_0x3afd69){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x3afd69);}['getRevisions'](_0x5db3fa){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x5db3fa||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x1e8d34=this['editor'],_0x244964=sanitizeEditorConfig(_0x1e8d34,blackListedPlugins$1),_0x116168=_0x1e8d34['plugins']['get']('RevisionTracker'),_0x1c4932=_0x1e8d34['plugins']['get']('Users')['users'];_0x244964['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x244964['lazyRoots'];class _0x3cc16c extends ckeditor5['Plugin']{static get['requires'](){return[_0x27c71f,'Users'];}['init'](){const _0x9c0b52=this['editor']['plugins']['get']('Users');for(const _0x21c813 of _0x1c4932)_0x21c813['isAnonymous']||_0x9c0b52['getUser'](_0x21c813['id'])||_0x9c0b52['addUser'](_0x21c813);const _0x5c3beb=_0x116168['repository']['getRevisions']();let _0x41b0e9=null;const _0x138b63=this['editor']['plugins']['get']('RevisionViewer');_0x138b63['adapter']=_0x116168['adapter'],_0x138b63['bind']('isEnabled')['to'](_0x116168),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x1e8d34,'isReadOnly',_0x22d56b=>!_0x22d56b);for(const _0x327204 of _0x5c3beb){const _0x21c5d2=null===_0x327204['creator'];if(_0x21c5d2&&_0x327204['toVersion']===_0x327204['fromVersion'])continue;const _0xf9dcb4=_0x327204['toJSON']();_0x138b63['addRevisionData'](_0xf9dcb4,(_0x4d7400,_0x24de85,_0x1cf360)=>{if(_0x21c5d2){if(_0x41b0e9)_0x41b0e9['_update'](_0x4d7400,_0x24de85);else{if(!_0x24de85){const _0x39d7c2=_0x1cf360['toJSON']();_0x39d7c2['id']=ckeditor5['uid'](),_0x116168['saveRevision'](_0x39d7c2,_0x1cf360['toVersion'])['then'](_0x171d8f=>{_0x41b0e9=_0x171d8f;});}}}else _0x327204['_update'](_0x4d7400,_0x24de85);});}}}return _0x244964['plugins']['push'](RevisionViewerIntegration,_0x27c71f,_0x27431a,_0x3cc16c,_0x298ce5),_0x244964;}['_enhanceShowRevisionViewerCallback'](){const _0x61a0e7=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x25f107=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x57af9a=this['editor']['plugins']['get']('Autosave');await _0x57af9a['save']();}else await _0x25f107['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x35b6b0=this['editor']['plugins']['get']('Dialog');_0x35b6b0['isOpen']&&_0x35b6b0['hide']();}if(this['editor']['plugins']['has']('AITabs')){const _0x3eed12=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0x10e1b2 of _0x3eed12)_0x10e1b2['class']=_0x10e1b2['class']?_0x10e1b2['class']+'\x20ck-tab-panel_disabled':'ck-tab-panel_disabled';if(this['editor']['plugins']['has']('AIChat')){const _0x4a9ded=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0x4a9ded&&_0x4a9ded['setAttribute']('tabindex','-1');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0x27ea0c=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0x27ea0c&&_0x27ea0c['setAttribute']('tabindex','-1');}}const _0x668444=this['_getRevisionViewerEditorConfig']();return _0x61a0e7(_0x668444)['then'](_0x59f39f=>{return(this['_viewerEditor']=_0x59f39f,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'),_0x59f39f);})['catch'](_0x4126f5=>(console['error'](_0x4126f5),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x705d0a=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 _0x5c46fc=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0xb80ad6 of _0x5c46fc)_0xb80ad6['class']='ck-tab-panel_disabled'===_0xb80ad6['class']?'':_0xb80ad6['class']['replace']('\x20ck-tab-panel_disabled','');if(this['editor']['plugins']['has']('AIChat')){const _0x4b9b12=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0x4b9b12&&_0x4b9b12['removeAttribute']('tabindex');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0x2652ce=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0x2652ce&&_0x2652ce['removeAttribute']('tabindex');}}return this['_viewerEditor']['plugins']['get']('RevisionViewer')['_cleanUp'](),_0x705d0a(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x296964=this['editor']['plugins']['get']('Annotations');_0x296964['refreshVisibility'](),_0x296964['refreshPositioning']();}});});}['_showRevisionViewer'](_0x294f58){const _0xca2816=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x528e6a=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0xd7ff88=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return RevisionViewerEditor['create'](_0xd7ff88,_0x294f58)['then'](_0x54469b=>(_0x528e6a['style']['display']='block',_0xca2816['style']['display']='none',this['isRevisionViewerOpen']=!0x0,_0x54469b));}['_closeRevisionViewer'](_0xa0b173){const _0x522147=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x522147['style']['display']='',this['isRevisionViewerOpen']=!0x1,_0xa0b173['destroy']();}async['_restoreRevision'](_0x20c95d){const _0x10ba4b=this['editor'],_0x465d93=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x2220ea=_0x10ba4b['plugins']['get']('RevisionTracker'),_0x8c199e=_0x10ba4b['plugins']['get']('RevisionHistoryUtils'),_0x2fcd91=_0x465d93['repository']['getRevision'](_0x20c95d);let _0x108f5f,_0x4700b9,_0x2bf8c2;try{await _0x8c199e['loadRevisionData'](_0x2fcd91,this['adapter']),_0x108f5f=_0x8c199e['getRevisionDocumentData'](_0x2fcd91),_0x4700b9=_0x8c199e['getRevisionRootsAttributes'](_0x2fcd91);}catch(_0x5f52c7){return void console['error'](_0x5f52c7);}_0x10ba4b['model']['change'](_0x807562=>{for(const _0x5be303 of Array['from'](_0x10ba4b['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x807562['removeMarker'](_0x5be303);}),_0x465d93['isReady']=!0x1,_0x10ba4b['model']['enqueueChange'](_0x4fc729=>{_0x4fc729['setSelection'](null),_0x4fc729['removeSelectionAttribute'](_0x10ba4b['model']['document']['selection']['getAttributeKeys']());const _0x921754=Object['keys'](_0x108f5f);for(const _0xa1025 of _0x10ba4b['model']['document']['roots'])'$graveyard'!=_0xa1025['rootName']&&_0xa1025['isAttached']()&&!_0x921754['includes'](_0xa1025['rootName'])&&_0x4fc729['detachRoot'](_0xa1025);for(const _0x100508 of _0x921754){let _0x56a69e=_0x10ba4b['model']['document']['getRoot'](_0x100508);_0x56a69e&&_0x56a69e['isAttached']()||(_0x56a69e=_0x4fc729['addRoot'](_0x100508));const _0x10de3a=_0x4700b9[_0x100508],_0x2bbf2c=Object['keys'](_0x10de3a),_0x1b9045=_0x108f5f[_0x100508];for(const _0x24d4d3 of _0x56a69e['getAttributeKeys']())_0x2bbf2c['includes'](_0x24d4d3)||_0x4fc729['removeAttribute'](_0x24d4d3,_0x56a69e);for(const _0x5ab643 of _0x2bbf2c)_0x4fc729['setAttribute'](_0x5ab643,_0x4700b9[_0x100508][_0x5ab643],_0x56a69e);_0x4fc729['remove'](_0x4fc729['createRangeIn'](_0x56a69e)),_0x4fc729['insert'](_0x10ba4b['data']['parse'](_0x1b9045,_0x56a69e),_0x56a69e,0x0);}});const _0x26d037=getTranslation$5(_0x10ba4b['locale'],'Restored');if(_0x2fcd91['name'])_0x2bf8c2=-0x1==_0x2fcd91['name']['indexOf'](_0x26d037)?_0x26d037+':\x20'+_0x2fcd91['name']:_0x2fcd91['name'];else _0x2bf8c2=_0x26d037+':\x20'+(_0x2fcd91['createdAt']['toLocaleDateString'](_0x10ba4b['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x2fcd91['createdAt']['toLocaleTimeString'](_0x10ba4b['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x2220ea['saveRevision']({'name':_0x2bf8c2}),_0x465d93['isReady']=!0x0,_0x10ba4b['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}function getTranslation$4(_0x5aa428,_0x27c1d4){const t=_0x5aa428['t'],_0x1d99f0=_0x5aa428['t'];switch(_0x27c1d4){case'AI\x20Assistant':return _0x1d99f0('AI\x20Assistant');case'Block\x20quote':return _0x1d99f0('Block\x20quote');case'Bulleted\x20list':return _0x1d99f0('Bulleted\x20list');case'Insert\x20code\x20block':return _0x1d99f0('Insert\x20code\x20block');case'Open\x20file\x20manager':return _0x1d99f0('Open\x20file\x20manager');case'Insert\x20image':return _0x1d99f0('Insert\x20image');case'Heading\x201':return _0x1d99f0('Heading\x201');case'Heading\x202':return _0x1d99f0('Heading\x202');case'Heading\x203':return _0x1d99f0('Heading\x203');case'Heading\x204':return _0x1d99f0('Heading\x204');case'Heading\x205':return _0x1d99f0('Heading\x205');case'Heading\x206':return _0x1d99f0('Heading\x206');case'Horizontal\x20line':return _0x1d99f0('Horizontal\x20line');case'Insert\x20HTML':return _0x1d99f0('Insert\x20HTML');case'Increase\x20indent':return _0x1d99f0('Increase\x20indent');case'Insert\x20table':return _0x1d99f0('Insert\x20table');case'Table\x20of\x20contents':return _0x1d99f0('Table\x20of\x20contents');case'Numbered\x20list':return _0x1d99f0('Numbered\x20list');case'Decrease\x20indent':return _0x1d99f0('Decrease\x20indent');case'Paragraph':return _0x1d99f0('Paragraph');case'To-do\x20list':return _0x1d99f0('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 _0x27c1d4;}}class _0x25303a extends ckeditor5['Plugin']{static get['pluginName'](){return'SlashCommandConfig';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2a8296){super(_0x2a8296),this['_allowedCommands']=null;}['afterInit'](){const _0x2f1f7b=this['editor']['config']['get']('slashCommand.removeCommands')||[],_0xe2cb72=getExcludedHeadings(this['editor']['config']['get']('heading.options')),_0x5b1343=this['getDefaultCommands']()['filter'](_0x1ee985=>!_0xe2cb72['includes'](_0x1ee985['id']));let _0x2f05a3=_0x5b1343['filter'](_0x55460a=>!_0x2f1f7b['includes'](_0x55460a['commandName']));const _0x2c498b=this['editor']['config']['get']('slashCommand.extraCommands');_0x2c498b&&_0x2c498b['length']&&(_0x2f05a3=_0x2f05a3['concat'](_0x2c498b));const _0x14a6c6=this['editor']['config']['get']('template.definitions');_0x14a6c6&&_0x14a6c6['length']&&(_0x2f05a3=_0x2f05a3['concat'](mapTemplates(_0x14a6c6)));const _0x292388=this['editor']['config']['get']('style.definitions');_0x292388&&_0x292388['length']&&(_0x2f05a3=_0x2f05a3['concat'](mapStyles(_0x292388)));const _0x102b19=_0x2f05a3['filter'](_0x43d899=>!_0x43d899['commandName']||void 0x0!==this['editor']['commands']['get'](_0x43d899['commandName'])),_0x8a048b=[];for(const _0x4f0338 of _0x102b19)_0x8a048b['push']({'id':_0x4f0338['id'],'commandName':_0x4f0338['commandName'],'title':'function'==typeof _0x4f0338['title']?_0x4f0338['title'](this['editor']):_0x4f0338['title'],'description':_0x4f0338['description'],'icon':_0x4f0338['icon'],'isIconColorInherited':_0x4f0338['isIconColorInherited'],'aliases':_0x4f0338['aliases'],'isEnabled':()=>this['_proxyIsEnabled'](_0x4f0338),'execute':()=>this['_proxyExecute'](_0x4f0338)});this['_allowedCommands']=_0x8a048b['sort'](_0x176514),_0x7ed576(this);}['getAllowedCommands'](){return this['_allowedCommands'];}['getDefaultCommands'](){const _0x46ebeb=_0x4cf54c=>getTranslation$4(this['editor']['locale'],_0x4cf54c);return[{'id':'aiAssistant','commandName':'showAIAssistant','icon':ckeditor5['IconRobotPencil'],'title':_0x46ebeb('AI\x20Assistant'),'description':_0x46ebeb('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content'),'execute':_0x3b935f=>{setTimeout(()=>_0x3b935f['execute']('showAIAssistant'));}},{'id':'blockQuote','commandName':'blockQuote','icon':ckeditor5['IconQuote'],'title':_0x46ebeb('Block\x20quote'),'description':_0x46ebeb('Create\x20a\x20block\x20quote')},{'id':'bulletedList','commandName':'bulletedList','icon':ckeditor5['IconBulletedList'],'title':_0x46ebeb('Bulleted\x20list'),'description':_0x46ebeb('Create\x20a\x20bulleted\x20list')},{'id':'codeBlock','commandName':'codeBlock','icon':ckeditor5['IconCodeBlock'],'title':_0x46ebeb('Insert\x20code\x20block'),'description':_0x46ebeb('Create\x20a\x20code\x20block')},{'id':'ckbox','commandName':'ckbox','icon':ckeditor5['IconBrowseFiles'],'title':_0x46ebeb('Open\x20file\x20manager'),'description':_0x46ebeb('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckfinder','filemanager','upload']},{'id':'ckfinder','commandName':'ckfinder','icon':ckeditor5['IconBrowseFiles'],'title':_0x46ebeb('Insert\x20image'),'description':_0x46ebeb('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckbox','filemanager','upload']},{'id':'emoji','commandName':'emoji','icon':ckeditor5['IconEmoji'],'title':_0x46ebeb('Emoji'),'description':_0x46ebeb('Insert\x20an\x20emoji'),'execute':_0x59480c=>{setTimeout(()=>_0x59480c['execute']('emoji'));}},{'id':'heading1','commandName':'heading','icon':ckeditor5['IconHeading1'],'title':_0x46ebeb('Heading\x201'),'description':_0x46ebeb('Create\x20a\x20heading\x20level\x201'),'execute':_0x270989=>{_0x270989['execute']('heading',{'value':'heading1'});}},{'id':'heading2','commandName':'heading','icon':ckeditor5['IconHeading2'],'title':_0x46ebeb('Heading\x202'),'description':_0x46ebeb('Create\x20a\x20heading\x20level\x202'),'execute':_0x36eb02=>{_0x36eb02['execute']('heading',{'value':'heading2'});}},{'id':'heading3','commandName':'heading','icon':ckeditor5['IconHeading3'],'title':_0x46ebeb('Heading\x203'),'description':_0x46ebeb('Create\x20a\x20heading\x20level\x203'),'execute':_0x1405e6=>{_0x1405e6['execute']('heading',{'value':'heading3'});}},{'id':'heading4','commandName':'heading','icon':ckeditor5['IconHeading4'],'title':_0x46ebeb('Heading\x204'),'description':_0x46ebeb('Create\x20a\x20heading\x20level\x204'),'execute':_0x50fb1a=>{_0x50fb1a['execute']('heading',{'value':'heading4'});}},{'id':'heading5','commandName':'heading','icon':ckeditor5['IconHeading5'],'title':_0x46ebeb('Heading\x205'),'description':_0x46ebeb('Create\x20a\x20heading\x20level\x205'),'execute':_0x52fa67=>{_0x52fa67['execute']('heading',{'value':'heading5'});}},{'id':'heading6','commandName':'heading','icon':ckeditor5['IconHeading6'],'title':_0x46ebeb('Heading\x206'),'description':_0x46ebeb('Create\x20a\x20heading\x20level\x206'),'execute':_0x5c9d18=>{_0x5c9d18['execute']('heading',{'value':'heading6'});}},{'id':'horizontalLine','commandName':'horizontalLine','icon':ckeditor5['IconHorizontalLine'],'title':_0x46ebeb('Horizontal\x20line'),'description':_0x46ebeb('Insert\x20a\x20horizontal\x20line')},{'id':'htmlEmbed','commandName':'htmlEmbed','icon':ckeditor5['IconHtml'],'title':_0x46ebeb('Insert\x20HTML'),'description':_0x46ebeb('Insert\x20an\x20HTML\x20snippet')},{'id':'indent','commandName':'indent','icon':ckeditor5['IconIndent'],'title':_0x46ebeb('Increase\x20indent'),'description':_0x46ebeb('Increase\x20the\x20indentation')},{'id':'insertMermaidCommand','commandName':'insertMermaidCommand','title':_0x46ebeb('Insert\x20Mermaid\x20diagram'),'description':_0x46ebeb('Insert\x20the\x20Mermaid\x20diagram')},{'id':'insertTable','commandName':'insertTable','icon':ckeditor5['IconTable'],'title':_0x46ebeb('Insert\x20table'),'description':_0x46ebeb('Create\x20a\x20table')},{'id':'insertTableOfContents','commandName':'insertTableOfContents','icon':ckeditor5['IconTableOfContents'],'title':_0x46ebeb('Table\x20of\x20contents'),'description':_0x46ebeb('Insert\x20table\x20of\x20contents'),'aliases':['toc']},{'id':'numberedList','commandName':'numberedList','icon':ckeditor5['IconNumberedList'],'title':_0x46ebeb('Numbered\x20list'),'description':_0x46ebeb('Create\x20a\x20numbered\x20list')},{'id':'outdent','commandName':'outdent','icon':ckeditor5['IconOutdent'],'title':_0x46ebeb('Decrease\x20indent'),'description':_0x46ebeb('Decrease\x20the\x20indentation')},{'id':'paragraph','commandName':'paragraph','icon':ckeditor5['IconParagraph'],'title':_0x46ebeb('Paragraph'),'description':_0x46ebeb('Insert\x20a\x20paragraph')},{'id':'todoList','commandName':'todoList','icon':ckeditor5['IconTodoList'],'title':_0x46ebeb('To-do\x20list'),'description':_0x46ebeb('Create\x20a\x20to-do\x20list')},{'id':'footnote','commandName':'insertFootnote','icon':ckeditor5['IconFootnote'],'title':_0x46ebeb('Footnote'),'description':_0x46ebeb('Insert\x20a\x20footnote')}];}['_proxyIsEnabled'](_0x2866b5){return _0x2866b5['isEnabled']?_0x2866b5['isEnabled'](this['editor']):!_0x2866b5['commandName']||this['editor']['commands']['get'](_0x2866b5['commandName'])['isEnabled'];}['_proxyExecute'](_0xeb2634){if(_0xeb2634['execute'])_0xeb2634['execute'](this['editor']);else{if(!_0xeb2634['commandName'])throw new ckeditor5['CKEditorError']('slash-command-execute-missing',this['editor'],{'commandDefinition':_0xeb2634});this['editor']['execute'](_0xeb2634['commandName']);}}}function _0x176514(_0x35a7c8,_0x269171){return _0x35a7c8['title']<_0x269171['title']?-0x1:_0x35a7c8['title']>_0x269171['title']?0x1:0x0;}function convertTitleToId(_0x18f691,_0x516e7f){return _0x516e7f+'-'+_0x18f691['toLowerCase']()['split']('\x20')['join']('-');}function mapTemplates(_0x53b8d1){return _0x53b8d1['map'](_0x20fe8c=>{const {title:_0x57e5d1,icon:_0x5ac1f2,description:_0x22ddf5,data:_0x250193}=_0x20fe8c,_0x158049={'id':convertTitleToId(_0x57e5d1,'template'),'commandName':'insertTemplate','execute':_0x23c53d=>{_0x23c53d['execute']('insertTemplate',_0x250193);},'description':_0x22ddf5,'icon':_0x5ac1f2,'title':_0x57e5d1};return _0x5ac1f2&&(_0x158049['isIconColorInherited']=!0x1),_0x158049;});}function mapStyles(_0x42d09e){return _0x42d09e['map'](_0x4be49d=>{const _0x361d8f={'id':convertTitleToId(_0x4be49d['name'],'style'),'commandName':'style','execute':_0x4b690d=>{_0x4b690d['execute']('style',{'styleName':_0x4be49d['name']});},'isEnabled':_0x127f82=>{const _0x1f2080=_0x127f82['commands']['get']('style');return _0x1f2080['isEnabled']&&_0x1f2080['enabledStyles']['includes'](_0x4be49d['name']);},'title':_0x4be49d['name']};return _0x361d8f;});}function getExcludedHeadings(_0x53fa2a){let _0x216851=['heading4','heading5','heading6'];if(_0x53fa2a){const _0x1865bc=_0x53fa2a['map'](_0x29ce8b=>_0x29ce8b['model']);_0x216851=['heading1','heading2','heading3','heading4','heading5','heading6']['filter'](_0x2bf05a=>!_0x1865bc['includes'](_0x2bf05a));}return _0x216851;}async function _0x7ed576(_0x154269){const _0x1bee7a=_0x2023a7([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]),_0x19348e=window[_0x2023a7([0x44,0x61,0x74,0x65])][_0x2023a7([0x6e,0x6f,0x77])](),_0x243107=_0x154269[_0x2023a7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3226f5=new window[(_0x2023a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35dff0=>{_0x243107[_0x2023a7([0x6f,0x6e,0x63,0x65])](_0x2023a7([0x72,0x65,0x61,0x64,0x79]),_0x35dff0);}),_0x5a933d={[_0x2023a7([0x6b,0x74,0x79])]:_0x2023a7([0x45,0x43]),[_0x2023a7([0x75,0x73,0x65])]:_0x2023a7([0x73,0x69,0x67]),[_0x2023a7([0x63,0x72,0x76])]:_0x2023a7([0x50,0x2d,0x32,0x35,0x36]),[_0x2023a7([0x78])]:_0x2023a7([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]),[_0x2023a7([0x79])]:_0x2023a7([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]),[_0x2023a7([0x61,0x6c,0x67])]:_0x2023a7([0x45,0x53,0x32,0x35,0x36])},_0x59961a=_0x243107[_0x2023a7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2023a7([0x67,0x65,0x74])](_0x2023a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x47c989=await(async function(){let _0x5993cb,_0x52329d=null,_0x39863a=null;try{if(_0x59961a==_0x2023a7([0x47,0x50,0x4c]))return _0x2023a7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5993cb=(function(){const _0x215a10=_0x59961a[_0x2023a7([0x73,0x70,0x6c,0x69,0x74])](_0x2023a7([0x2e]));if(0x3!=_0x215a10[_0x2023a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x389b75=_0x215a10[0x1];return _0x30f878(_0x389b75);function _0x30f878(_0x5e4dc0){const _0x27e5c2=_0x3e8e21(_0x5e4dc0);return _0x27e5c2&&_0x417134()?_0x27e5c2:null;function _0x417134(){const _0xdb77ae=_0x27e5c2[_0x2023a7([0x6a,0x74,0x69])],_0x50ea0b=window[_0x2023a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xdb77ae[_0x2023a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xdb77ae[_0x2023a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3cc7d5={..._0x27e5c2,[_0x2023a7([0x6a,0x74,0x69])]:_0xdb77ae[_0x2023a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xdb77ae[_0x2023a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3cc7d5[_0x2023a7([0x76,0x63])],_0x1adfae(_0x3cc7d5)==_0x50ea0b;}}}()),!_0x5993cb)return _0x2023a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x5993cb[_0x2023a7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x39863a=function(_0x174738,_0x51d875){return new window[(_0x2023a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28e89a=>{if(_0x2d04c8())return _0x28e89a(_0x2023a7([0x56,0x61,0x6c,0x69,0x64]));_0x10b7cc(),_0x243107[_0x2023a7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2023a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x28dc25=!0x1;const _0x9e3af5=ckeditor5['uid']();function _0x4b4578(_0x1acde4){return!!_0x1acde4&&(typeof _0x1acde4===_0x2023a7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1acde4===_0x2023a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1acde4[_0x2023a7([0x74,0x68,0x65,0x6e])]===_0x2023a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1acde4[_0x2023a7([0x63,0x61,0x74,0x63,0x68])]===_0x2023a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x278c2b(_0x3e8e66){_0x963087(_0x3e8e66)[_0x2023a7([0x74,0x68,0x65,0x6e])](_0x3da9c4=>{if(!_0x3da9c4||_0x3da9c4[_0x2023a7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2023a7([0x6f,0x6b]))return _0x2023a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5609ff(_0x1adfae(_0x9e3af5+_0x51d875))!=_0x3da9c4[_0x2023a7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2023a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2023a7([0x56,0x61,0x6c,0x69,0x64]);})[_0x2023a7([0x74,0x68,0x65,0x6e])](_0x496ecb=>(_0x53e063(),_0x496ecb),()=>{const _0xdf2346=_0x46e468();return null==_0xdf2346?(_0x53e063(),_0x2023a7([0x56,0x61,0x6c,0x69,0x64])):_0x2023a7(_0x19348e-_0xdf2346>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2023a7([0x74,0x68,0x65,0x6e])](_0x28e89a)[_0x2023a7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x28e89a(_0x2023a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x66fcc3=0x36ee80;function _0x53e063(){const _0x199273=_0x2023a7([0x6c,0x6c,0x63,0x74,0x2d])+_0x5609ff(_0x1adfae(_0x174738)),_0x54e5ef=_0xb20386(_0x5609ff(window[_0x2023a7([0x4d,0x61,0x74,0x68])][_0x2023a7([0x63,0x65,0x69,0x6c])](_0x19348e/_0x66fcc3)));window[_0x2023a7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2023a7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x199273,_0x54e5ef);}function _0x46e468(){const _0x1a22c1=_0x2023a7([0x6c,0x6c,0x63,0x74,0x2d])+_0x5609ff(_0x1adfae(_0x174738)),_0x27a3b6=window[_0x2023a7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2023a7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1a22c1);return _0x27a3b6?window[_0x2023a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb20386(_0x27a3b6),0x10)*_0x66fcc3:null;}function _0x963087(_0x18f1ff){return new window[(_0x2023a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3e09c0,_0xeab5c3)=>{_0x18f1ff[_0x2023a7([0x74,0x68,0x65,0x6e])](_0x3e09c0,_0xeab5c3),window[_0x2023a7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xeab5c3,0x1d4c0);});}}_0x243107[_0x2023a7([0x6f,0x6e])](_0x2023a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4a70ca,_0x488dae)=>{if(_0x488dae[0x0]!=_0x174738)return _0x28e89a(_0x2023a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x488dae[0x1]={..._0x488dae[0x1],[_0x2023a7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x9e3af5};},{[_0x2023a7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2023a7([0x68,0x69,0x67,0x68])}),_0x243107[_0x2023a7([0x6f,0x6e])](_0x2023a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x471955=>{_0x4b4578(_0x471955[_0x2023a7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x28dc25=!0x0,_0x278c2b(_0x471955[_0x2023a7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2023a7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2023a7([0x6c,0x6f,0x77])}),_0x3226f5[_0x2023a7([0x74,0x68,0x65,0x6e])](()=>{_0x28dc25||_0x28e89a(_0x2023a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2d04c8(){return _0x243107[_0x2023a7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2023a7([0x76,0x69,0x65,0x77])][_0x2023a7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2023a7([0x61,0x75,0x74,0x6f]);}function _0x10b7cc(){_0x243107[_0x2023a7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2023a7([0x76,0x69,0x65,0x77])][_0x2023a7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2023a7([0x61,0x75,0x74,0x6f]);}}(_0x5993cb[_0x2023a7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5993cb[_0x2023a7([0x6a,0x74,0x69])]));const _0x534cd0=await(async function(){let _0x420b22=!0x0;try{const _0x1d621b=_0x59961a[_0x2023a7([0x73,0x70,0x6c,0x69,0x74])](_0x2023a7([0x2e])),[_0x96b98,_0x5b2948,_0x888cf1]=_0x1d621b;return _0x182bfe(_0x96b98),await _0x9ce2a8(_0x96b98,_0x5b2948,_0x888cf1),_0x420b22;}catch{return!0x1;}function _0x182bfe(_0x121270){const _0x543a42=_0x3e8e21(_0x121270);_0x543a42&&_0x543a42[_0x2023a7([0x61,0x6c,0x67])]==_0x2023a7([0x45,0x53,0x32,0x35,0x36])||(_0x420b22=!0x1);}async function _0x9ce2a8(_0x20b564,_0x303d1c,_0x39448e){const _0x5f2c2f=window[_0x2023a7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2023a7([0x66,0x72,0x6f,0x6d])](_0x2e0bca(_0x39448e),_0x14127b=>_0x14127b[_0x2023a7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1c1f35=new window[(_0x2023a7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2023a7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x20b564+_0x2023a7([0x2e])+_0x303d1c),_0x32cb07=window[_0x2023a7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2023a7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x32cb07)return;const _0x43caa1=await _0x32cb07[_0x2023a7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2023a7([0x6a,0x77,0x6b]),_0x5a933d,{[_0x2023a7([0x6e,0x61,0x6d,0x65])]:_0x2023a7([0x45,0x43,0x44,0x53,0x41]),[_0x2023a7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2023a7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2023a7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x32cb07[_0x2023a7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2023a7([0x6e,0x61,0x6d,0x65])]:_0x2023a7([0x45,0x43,0x44,0x53,0x41]),[_0x2023a7([0x68,0x61,0x73,0x68])]:{[_0x2023a7([0x6e,0x61,0x6d,0x65])]:_0x2023a7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x43caa1,_0x5f2c2f,_0x1c1f35)||(_0x420b22=!0x1);}}());return _0x534cd0?(function(){const _0x3ba397=_0x5993cb[_0x2023a7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x3ba397)return!0x1;if(_0x3ba397[_0x2023a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2023a7([0x2a])))return!0x0;if(_0x3ba397[_0x2023a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2023a7([0x53,0x43])))return!0x0;if(_0x3ba397[_0x2023a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2023a7([0x50,0x50])))return!0x0;if(_0x3ba397[_0x2023a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2023a7([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x2023a7([0x67,0x6c,0x6f,0x62])]&&window[_0x2023a7([0x67,0x6c,0x6f,0x62])][_0x2023a7([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x35b70c=[_0x2023a7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2023a7([0x74,0x72,0x69,0x61,0x6c])][_0x2023a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5993cb[_0x2023a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x19348e/0x3e8:0x69d59a80;return _0x5993cb[_0x2023a7([0x65,0x78,0x70])]<_0x35b70c;}())?_0x2023a7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x526698=_0x5993cb[_0x2023a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x526698||0x0==_0x526698[_0x2023a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x18b4d1}=new URL(window[_0x2023a7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x526698[_0x2023a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18b4d1))return!0x0;const _0x224fb8=_0x18b4d1[_0x2023a7([0x73,0x70,0x6c,0x69,0x74])](_0x2023a7([0x2e]));return _0x526698[_0x2023a7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x18eed8=>_0x18eed8[_0x2023a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2023a7([0x2a])))[_0x2023a7([0x6d,0x61,0x70])](_0x1c4441=>_0x1c4441[_0x2023a7([0x73,0x70,0x6c,0x69,0x74])](_0x2023a7([0x2e])))[_0x2023a7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4bc5f1=>_0x4bc5f1[_0x2023a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x224fb8[_0x2023a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2023a7([0x6d,0x61,0x70])](_0x27ac02=>Array(_0x224fb8[_0x2023a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x27ac02[_0x2023a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2023a7([0x66,0x69,0x6c,0x6c])](_0x27ac02[0x0]===_0x2023a7([0x2a])?_0x2023a7([0x2a]):'')[_0x2023a7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x27ac02))[_0x2023a7([0x73,0x6f,0x6d,0x65])](_0x504bc9=>_0x224fb8[_0x2023a7([0x65,0x76,0x65,0x72,0x79])]((_0x5785c6,_0x2718d5)=>_0x504bc9[_0x2718d5]===_0x5785c6||_0x504bc9[_0x2718d5]===_0x2023a7([0x2a])));}())?(_0x5993cb[_0x2023a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2023a7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x52329d=function(_0xdeb222){const _0x36e46d=new window[(_0x2023a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d5d56=>setTimeout(_0x4d5d56,0x93ecc)),_0x4558a5=_0x3226f5[_0x2023a7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2023a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x501e30=>{let _0x6f75ad=0x0;_0x243107[_0x2023a7([0x6d,0x6f,0x64,0x65,0x6c])][_0x2023a7([0x6f,0x6e])](_0x2023a7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x390108,_0x41306a)=>{_0x41306a[0x0][_0x2023a7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x6f75ad++,0x5e8==_0x6f75ad&&(_0x501e30(),_0x390108[_0x2023a7([0x6f,0x66,0x66])]());});})),_0x4df8cc=[_0x36e46d,_0x4558a5];return window[_0x2023a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2023a7([0x72,0x61,0x63,0x65])](_0x4df8cc)[_0x2023a7([0x74,0x68,0x65,0x6e])](()=>_0xdeb222);}(_0x2023a7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x52329d&&_0x39863a)return new window[(_0x2023a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x41ff46,_0x26aba1)=>{_0x52329d[_0x2023a7([0x74,0x68,0x65,0x6e])](_0x41ff46,_0x26aba1),_0x39863a[_0x2023a7([0x74,0x68,0x65,0x6e])](_0x520a4d=>{_0x520a4d!=_0x2023a7([0x56,0x61,0x6c,0x69,0x64])&&_0x41ff46(_0x520a4d);},_0x26aba1);});return _0x52329d||_0x39863a||_0x2023a7([0x56,0x61,0x6c,0x69,0x64]);}())):_0x2023a7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2023a7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2023a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2023a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x3e8e21(_0x356ae8){return _0x356ae8[_0x2023a7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2023a7([0x65,0x79]))?JSON[_0x2023a7([0x70,0x61,0x72,0x73,0x65])](_0x2e0bca(_0x356ae8)):null;}function _0x2e0bca(_0x310b9a){return window[_0x2023a7([0x61,0x74,0x6f,0x62])](_0x310b9a[_0x2023a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2023a7([0x2b]))[_0x2023a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2023a7([0x2f])));}function _0x1adfae(_0x29adba){let _0x3adfca=0x1505;function _0x3f57d3(_0x57b2da){for(let _0x189fdf=0x0;_0x189fdf<_0x57b2da[_0x2023a7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x189fdf++){const _0x2d4e36=_0x57b2da[_0x2023a7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x189fdf);_0x3adfca=(_0x3adfca<<0x5)+_0x3adfca+_0x2d4e36,_0x3adfca&=_0x3adfca;}}return function _0x45ca3c(_0x319f0b){Array[_0x2023a7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x319f0b)?_0x319f0b[_0x2023a7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x45ca3c):_0x319f0b&&typeof _0x319f0b==_0x2023a7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2023a7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x319f0b)[_0x2023a7([0x73,0x6f,0x72,0x74])]()[_0x2023a7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4d0635,_0x8b777c])=>{_0x3f57d3(_0x4d0635),_0x45ca3c(_0x8b777c);}):_0x3f57d3(window[_0x2023a7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x319f0b));}(_0x29adba),_0x3adfca>>>0x0;}function _0x5609ff(_0x4fc84f){return _0x4fc84f[_0x2023a7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2023a7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2023a7([0x30]));}function _0xb20386(_0x30c43e){return _0x30c43e[_0x2023a7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2023a7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2023a7([0x6a,0x6f,0x69,0x6e])]('');}function _0x28ada1(){}function _0x2023a7(_0x1bd9d1){return _0x1bd9d1['map'](_0x182c37=>String['fromCharCode'](_0x182c37))['join']('');}!function(_0x3ea017){const _0x2b942c=(function(){const _0x398eb2=window[_0x2023a7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2023a7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2023a7([0x6e,0x6f,0x77])]())[_0x2023a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2023a7([0x2e]),'');let _0x13ebcc=_0x2023a7([0x75]);for(let _0x4d86d6=0x0;_0x4d86d6<_0x398eb2[_0x2023a7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d86d6+=0x2){let _0x5d92c4=window[_0x2023a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x398eb2[_0x2023a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4d86d6,_0x4d86d6+0x2));_0x5d92c4>=_0x1bee7a[_0x2023a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5d92c4-=_0x1bee7a[_0x2023a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x13ebcc+=_0x1bee7a[_0x5d92c4];}return _0x13ebcc;}());_0x243107[_0x2b942c]=_0x2023a7([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3ea017,_0x3ea017!=_0x2023a7([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x3226f5,_0x243107[_0x2023a7([0x6d,0x6f,0x64,0x65,0x6c])][_0x2023a7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x28ada1,_0x243107[_0x2023a7([0x6d,0x6f,0x64,0x65,0x6c])][_0x2023a7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x28ada1,_0x243107[_0x2023a7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2023a7([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x47c989);}class SlashCommandEditing extends ckeditor5['Plugin']{static get['pluginName'](){return'SlashCommandEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x25303a];}['getMatchingCommands'](_0x714622){const _0xf09f52=_0x714622&&_0x714622['toLowerCase']();let _0x1a2f80=this['editor']['plugins']['get']('SlashCommandConfig')['getAllowedCommands']();if(_0x1a2f80=_0x1a2f80['filter'](_0x564915=>_0x564915['isEnabled']()),_0xf09f52){const _0x41f3c5=[],_0xc57b89=[],_0xeb862=[],_0x4e588f=[];for(const _0x3fdff0 of _0x1a2f80)_0x3fdff0['id']['toLowerCase']()['includes'](_0xf09f52)?_0x41f3c5['push'](_0x3fdff0):_0x3fdff0['title']['toLowerCase']()['includes'](_0xf09f52)?_0xc57b89['push'](_0x3fdff0):_0x3fdff0['aliases']&&_0x3fdff0['aliases']['some'](_0x310498=>_0x310498['toLowerCase']()['includes'](_0xf09f52))?_0xeb862['push'](_0x3fdff0):_0x3fdff0['description']&&_0x3fdff0['description']['toLowerCase']()['includes'](_0xf09f52)&&_0x4e588f['push'](_0x3fdff0);_0x1a2f80=_0x41f3c5['concat'](_0xc57b89,_0xeb862,_0x4e588f);}return _0x1a2f80;}}class SlashCommandButtonView extends ckeditor5['ButtonView']{constructor(_0x235dfa,_0x1df039){super(_0x235dfa),this['textPartView']=this['_createTextPartView'](_0x235dfa,_0x1df039),void 0x0!==_0x1df039['isIconColorInherited']&&(this['iconView']['isColorInherited']=_0x1df039['isIconColorInherited']),this['set']({'icon':_0x1df039['icon']||ckeditor5['IconPlay'],'withText':!0x0,'label':_0x1df039['title'],'class':'ck-slash-command-button'});}['render'](){super['render'](),this['children']['add'](this['textPartView']);}['_createTextPartView'](_0x5cc907,_0x5fab26){const _0x290716=new ckeditor5['View'](_0x5cc907);return _0x290716['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-slash-command-button__text-part']},'children':_0x5fab26['description']?[this['labelView'],{'tag':'span','attributes':{'class':['ck','ck-slash-command-button__description']},'children':[{'text':_0x5fab26['description']}]}]:[this['labelView']]}),_0x290716;}}class _0x145189 extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SlashCommandUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x513890){super(_0x513890),this['_setupMentionConfiguration']();}['init'](){this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x56be83=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4c0923;for(const _0x996dd8 in _0x56be83){const _0x301e53=_0x996dd8,_0x43359c=_0x56be83[_0x301e53];if('slashCommandLicenseKeyValid'==_0x43359c||'slashCommandLicenseKeyInvalid'==_0x43359c||'slashCommandLicenseKeyExpired'==_0x43359c||'slashCommandLicenseKeyDomainLimit'==_0x43359c||'slashCommandLicenseKeyNotAllowed'==_0x43359c||'slashCommandLicenseKeyEvaluationLimit'==_0x43359c||'slashCommandLicenseKeyUsageLimit'==_0x43359c){delete _0x56be83[_0x301e53],_0x4c0923=_0x43359c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'slashCommandLicenseKeyInvalid'==_0x4c0923&&_0x56be83['_showLicenseError']('invalid'),'slashCommandLicenseKeyExpired'==_0x4c0923&&_0x56be83['_showLicenseError']('expired'),'slashCommandLicenseKeyDomainLimit'==_0x4c0923&&_0x56be83['_showLicenseError']('domainLimit'),'slashCommandLicenseKeyNotAllowed'==_0x4c0923&&_0x56be83['_showLicenseError']('featureNotAllowed','SlashCommand'),'slashCommandLicenseKeyEvaluationLimit'==_0x4c0923&&_0x56be83['_showLicenseError']('evaluationLimit'),'slashCommandLicenseKeyUsageLimit'==_0x4c0923&&_0x56be83['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_setupMentionConfiguration'](){const _0x3c95b5=this['editor'],_0x3906bf=this['editor']['plugins']['get']('SlashCommandEditing'),_0x4de7a6=_0x3c95b5['config']['get']('mention.feeds');_0x4de7a6['push']({'marker':'/','feed':_0x2db63e=>_0x3906bf['getMatchingCommands'](_0x2db63e),'itemRenderer':this['_customItemRenderer']['bind'](this),'dropdownLimit':_0x3c95b5['config']['get']('slashCommand.dropdownLimit')||0x1/0x0}),_0x3c95b5['config']['set']('mention.feeds',_0x4de7a6);}['_overrideMentionExecuteListener'](){const _0x25efbd=this['editor'];_0x25efbd['commands']['get']('mention')['on']('execute',(_0x17e62e,_0x2a96fa)=>{const _0x1a2fec=_0x2a96fa[0x0],_0x3a0173=_0x25efbd['model'];'/'===_0x1a2fec['marker']&&_0x3a0173['change'](_0x4436a0=>{_0x4436a0['remove'](_0x1a2fec['range']),_0x1a2fec['mention']['execute'](),_0x17e62e['stop']();});},{'priority':'high'});}['_customItemRenderer'](_0xe4a3c9){const _0x12e48=this['editor']['locale'],_0x3b15f1=new SlashCommandButtonView(_0x12e48,_0xe4a3c9);return _0x3b15f1['render'](),_0x3b15f1['element'];}}class _0x515ef8 extends ckeditor5['Plugin']{static get['requires'](){return['Mention',SlashCommandEditing,_0x145189];}static get['pluginName'](){return'SlashCommand';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function getTranslation$3(_0x4b8c88,_0x17776a){const t=_0x4b8c88['t'];switch(_0x17776a){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 _0x17776a;}}function getActiveRootName(_0x33e316){const _0x34a086=_0x33e316['editing']['view']['document']['roots'],_0x9db697=_0x34a086['length'];if(0x0===_0x9db697)throw new ckeditor5['CKEditorError']('source-editing-enhanced-editor-no-root',_0x33e316);if(0x1===_0x9db697)return _0x34a086['first']['rootName'];return Array['from'](_0x33e316['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function formatSource(_0x3db450){return isHtml(_0x3db450)?ckeditor5['formatHtml'](_0x3db450):_0x3db450;}function unformatSource(_0x4d80d1){return isHtml(_0x4d80d1['replace'](/^[\n\s]*/g,''))?_0x4d80d1['replace'](/\s+/g,''):_0x4d80d1;}function isHtml(_0x150540){return _0x150540['startsWith']('<');}let _0x4dd7d6=[],_0x2801ce=[];function isExtendingChar(_0x1b2d66){if(_0x1b2d66<0x300)return!0x1;for(let _0x1a1409=0x0,_0x146b3f=_0x4dd7d6['length'];;){let _0x478b75=_0x1a1409+_0x146b3f>>0x1;if(_0x1b2d66<_0x4dd7d6[_0x478b75])_0x146b3f=_0x478b75;else{if(!(_0x1b2d66>=_0x2801ce[_0x478b75]))return!0x0;_0x1a1409=_0x478b75+0x1;}if(_0x1a1409==_0x146b3f)return!0x1;}}function isRegionalIndicator(_0x11e50f){return _0x11e50f>=0x1f1e6&&_0x11e50f<=0x1f1ff;}((()=>{let _0x292307='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'](_0x290ba9=>_0x290ba9?parseInt(_0x290ba9,0x24):0x1);for(let _0x30d3f9=0x0,_0x5c6a84=0x0;_0x30d3f9<_0x292307['length'];_0x30d3f9++)(_0x30d3f9%0x2?_0x2801ce:_0x4dd7d6)['push'](_0x5c6a84+=_0x292307[_0x30d3f9]);})());const _0x2900a4=0x200d;function findClusterBreak$1(_0x20154d,_0x5820f4,_0xd4d81=!0x0,_0x43f43f=!0x0){return(_0xd4d81?nextClusterBreak:prevClusterBreak)(_0x20154d,_0x5820f4,_0x43f43f);}function nextClusterBreak(_0x425992,_0x5c0187,_0x2fad90){if(_0x5c0187==_0x425992['length'])return _0x5c0187;_0x5c0187&&surrogateLow$1(_0x425992['charCodeAt'](_0x5c0187))&&surrogateHigh$1(_0x425992['charCodeAt'](_0x5c0187-0x1))&&_0x5c0187--;let _0x5ade7e=codePointAt$1(_0x425992,_0x5c0187);for(_0x5c0187+=codePointSize$1(_0x5ade7e);_0x5c0187<_0x425992['length'];){let _0x2ad367=codePointAt$1(_0x425992,_0x5c0187);if(_0x5ade7e==_0x2900a4||_0x2ad367==_0x2900a4||_0x2fad90&&isExtendingChar(_0x2ad367))_0x5c0187+=codePointSize$1(_0x2ad367),_0x5ade7e=_0x2ad367;else{if(!isRegionalIndicator(_0x2ad367))break;{let _0x39c440=0x0,_0x217ade=_0x5c0187-0x2;for(;_0x217ade>=0x0&&isRegionalIndicator(codePointAt$1(_0x425992,_0x217ade));)_0x39c440++,_0x217ade-=0x2;if(_0x39c440%0x2==0x0)break;_0x5c0187+=0x2;}}}return _0x5c0187;}function prevClusterBreak(_0xbd872c,_0x31f3a8,_0xc64bd1){for(;_0x31f3a8>0x0;){let _0x3702a1=nextClusterBreak(_0xbd872c,_0x31f3a8-0x2,_0xc64bd1);if(_0x3702a1<_0x31f3a8)return _0x3702a1;_0x31f3a8--;}return 0x0;}function codePointAt$1(_0x14217b,_0x31cdd5){let _0x555b58=_0x14217b['charCodeAt'](_0x31cdd5);if(!surrogateHigh$1(_0x555b58)||_0x31cdd5+0x1==_0x14217b['length'])return _0x555b58;let _0xd2e361=_0x14217b['charCodeAt'](_0x31cdd5+0x1);return surrogateLow$1(_0xd2e361)?_0xd2e361-0xdc00+(_0x555b58-0xd800<<0xa)+0x10000:_0x555b58;}function surrogateLow$1(_0x11120e){return _0x11120e>=0xdc00&&_0x11120e<0xe000;}function surrogateHigh$1(_0x36ca22){return _0x36ca22>=0xd800&&_0x36ca22<0xdc00;}function codePointSize$1(_0x24ab5b){return _0x24ab5b<0x10000?0x1:0x2;}class Text{['lineAt'](_0x18c393){if(_0x18c393<0x0||_0x18c393>this['length'])throw new RangeError('Invalid\x20position\x20'+_0x18c393+'\x20in\x20document\x20of\x20length\x20'+this['length']);return this['lineInner'](_0x18c393,!0x1,0x1,0x0);}['line'](_0x1a5174){if(_0x1a5174<0x1||_0x1a5174>this['lines'])throw new RangeError('Invalid\x20line\x20number\x20'+_0x1a5174+'\x20in\x20'+this['lines']+'-line\x20document');return this['lineInner'](_0x1a5174,!0x0,0x1,0x0);}['replace'](_0x4cd75b,_0x522461,_0x1d016d){[_0x4cd75b,_0x522461]=_0xbe9422(this,_0x4cd75b,_0x522461);let _0x4eb8a2=[];return this['decompose'](0x0,_0x4cd75b,_0x4eb8a2,0x2),_0x1d016d['length']&&_0x1d016d['decompose'](0x0,_0x1d016d['length'],_0x4eb8a2,0x3),this['decompose'](_0x522461,this['length'],_0x4eb8a2,0x1),TextNode['from'](_0x4eb8a2,this['length']-(_0x522461-_0x4cd75b)+_0x1d016d['length']);}['append'](_0x30fd73){return this['replace'](this['length'],this['length'],_0x30fd73);}['slice'](_0x4bca5d,_0x3185f0=this['length']){[_0x4bca5d,_0x3185f0]=_0xbe9422(this,_0x4bca5d,_0x3185f0);let _0x362933=[];return this['decompose'](_0x4bca5d,_0x3185f0,_0x362933,0x0),TextNode['from'](_0x362933,_0x3185f0-_0x4bca5d);}['eq'](_0x164fb5){if(_0x164fb5==this)return!0x0;if(_0x164fb5['length']!=this['length']||_0x164fb5['lines']!=this['lines'])return!0x1;let _0x23a2a7=this['scanIdentical'](_0x164fb5,0x1),_0x4a6910=this['length']-this['scanIdentical'](_0x164fb5,-0x1),_0x27e690=new RawTextCursor(this),_0x40f395=new RawTextCursor(_0x164fb5);for(let _0x308923=_0x23a2a7,_0x2ac2d7=_0x23a2a7;;){if(_0x27e690['next'](_0x308923),_0x40f395['next'](_0x308923),_0x308923=0x0,_0x27e690['lineBreak']!=_0x40f395['lineBreak']||_0x27e690['done']!=_0x40f395['done']||_0x27e690['value']!=_0x40f395['value'])return!0x1;if(_0x2ac2d7+=_0x27e690['value']['length'],_0x27e690['done']||_0x2ac2d7>=_0x4a6910)return!0x0;}}['iter'](_0x2abf9a=0x1){return new RawTextCursor(this,_0x2abf9a);}['iterRange'](_0x22f6f8,_0x58bf4b=this['length']){return new PartialTextCursor(this,_0x22f6f8,_0x58bf4b);}['iterLines'](_0x2f7290,_0xa01ffc){let _0x37a9e2;if(null==_0x2f7290)_0x37a9e2=this['iter']();else{null==_0xa01ffc&&(_0xa01ffc=this['lines']+0x1);let _0x2d0708=this['line'](_0x2f7290)['from'];_0x37a9e2=this['iterRange'](_0x2d0708,Math['max'](_0x2d0708,_0xa01ffc==this['lines']+0x1?this['length']:_0xa01ffc<=0x1?0x0:this['line'](_0xa01ffc-0x1)['to']));}return new _0x59800b(_0x37a9e2);}['toString'](){return this['sliceString'](0x0);}['toJSON'](){let _0x2b0a79=[];return this['flatten'](_0x2b0a79),_0x2b0a79;}constructor(){}static['of'](_0x3bde38){if(0x0==_0x3bde38['length'])throw new RangeError('A\x20document\x20must\x20have\x20at\x20least\x20one\x20line');return 0x1!=_0x3bde38['length']||_0x3bde38[0x0]?_0x3bde38['length']<=0x20?new TextLeaf(_0x3bde38):TextNode['from'](TextLeaf['split'](_0x3bde38,[])):Text['empty'];}}class TextLeaf extends Text{constructor(_0x241c89,_0x2dedba=textLength(_0x241c89)){super(),this['text']=_0x241c89,this['length']=_0x2dedba;}get['lines'](){return this['text']['length'];}get['children'](){return null;}['lineInner'](_0x7dc89e,_0x54a85c,_0x5c02ab,_0x1bb0c9){for(let _0x7ff3d3=0x0;;_0x7ff3d3++){let _0x5aa83c=this['text'][_0x7ff3d3],_0x2ea4d1=_0x1bb0c9+_0x5aa83c['length'];if((_0x54a85c?_0x5c02ab:_0x2ea4d1)>=_0x7dc89e)return new _0xab37fd(_0x1bb0c9,_0x2ea4d1,_0x5c02ab,_0x5aa83c);_0x1bb0c9=_0x2ea4d1+0x1,_0x5c02ab++;}}['decompose'](_0x3b6627,_0x2c6746,_0x30c6ff,_0x2e13df){let _0x2595a6=_0x3b6627<=0x0&&_0x2c6746>=this['length']?this:new TextLeaf(sliceText(this['text'],_0x3b6627,_0x2c6746),Math['min'](_0x2c6746,this['length'])-Math['max'](0x0,_0x3b6627));if(0x1&_0x2e13df){let _0x32b75d=_0x30c6ff['pop'](),_0x4045b0=appendText(_0x2595a6['text'],_0x32b75d['text']['slice'](),0x0,_0x2595a6['length']);if(_0x4045b0['length']<=0x20)_0x30c6ff['push'](new TextLeaf(_0x4045b0,_0x32b75d['length']+_0x2595a6['length']));else{let _0x4cf601=_0x4045b0['length']>>0x1;_0x30c6ff['push'](new TextLeaf(_0x4045b0['slice'](0x0,_0x4cf601)),new TextLeaf(_0x4045b0['slice'](_0x4cf601)));}}else _0x30c6ff['push'](_0x2595a6);}['replace'](_0x4a180c,_0x35f538,_0x538f9f){if(!(_0x538f9f instanceof TextLeaf))return super['replace'](_0x4a180c,_0x35f538,_0x538f9f);[_0x4a180c,_0x35f538]=_0xbe9422(this,_0x4a180c,_0x35f538);let _0x5a1621=appendText(this['text'],appendText(_0x538f9f['text'],sliceText(this['text'],0x0,_0x4a180c)),_0x35f538),_0x4dddd6=this['length']+_0x538f9f['length']-(_0x35f538-_0x4a180c);return _0x5a1621['length']<=0x20?new TextLeaf(_0x5a1621,_0x4dddd6):TextNode['from'](TextLeaf['split'](_0x5a1621,[]),_0x4dddd6);}['sliceString'](_0x126008,_0x50b8ca=this['length'],_0x231be4='\x0a'){[_0x126008,_0x50b8ca]=_0xbe9422(this,_0x126008,_0x50b8ca);let _0x508206='';for(let _0x305d86=0x0,_0x2af5cf=0x0;_0x305d86<=_0x50b8ca&&_0x2af5cf<this['text']['length'];_0x2af5cf++){let _0x2b9409=this['text'][_0x2af5cf],_0x7cf83b=_0x305d86+_0x2b9409['length'];_0x305d86>_0x126008&&_0x2af5cf&&(_0x508206+=_0x231be4),_0x126008<_0x7cf83b&&_0x50b8ca>_0x305d86&&(_0x508206+=_0x2b9409['slice'](Math['max'](0x0,_0x126008-_0x305d86),_0x50b8ca-_0x305d86)),_0x305d86=_0x7cf83b+0x1;}return _0x508206;}['flatten'](_0x1b18b5){for(let _0x3fc2b1 of this['text'])_0x1b18b5['push'](_0x3fc2b1);}['scanIdentical'](){return 0x0;}static['split'](_0x2833ee,_0x5f36b0){let _0x3fae8b=[],_0x57a1ad=-0x1;for(let _0x5d1399 of _0x2833ee)_0x3fae8b['push'](_0x5d1399),_0x57a1ad+=_0x5d1399['length']+0x1,0x20==_0x3fae8b['length']&&(_0x5f36b0['push'](new TextLeaf(_0x3fae8b,_0x57a1ad)),_0x3fae8b=[],_0x57a1ad=-0x1);return _0x57a1ad>-0x1&&_0x5f36b0['push'](new TextLeaf(_0x3fae8b,_0x57a1ad)),_0x5f36b0;}}class TextNode extends Text{constructor(_0x352f59,_0x35dea1){super(),this['children']=_0x352f59,this['length']=_0x35dea1,this['lines']=0x0;for(let _0x2e0d28 of _0x352f59)this['lines']+=_0x2e0d28['lines'];}['lineInner'](_0x3834e9,_0x132b42,_0x2a2284,_0x4cb740){for(let _0x3adc92=0x0;;_0x3adc92++){let _0x34c59a=this['children'][_0x3adc92],_0x2a2d7d=_0x4cb740+_0x34c59a['length'],_0x404572=_0x2a2284+_0x34c59a['lines']-0x1;if((_0x132b42?_0x404572:_0x2a2d7d)>=_0x3834e9)return _0x34c59a['lineInner'](_0x3834e9,_0x132b42,_0x2a2284,_0x4cb740);_0x4cb740=_0x2a2d7d+0x1,_0x2a2284=_0x404572+0x1;}}['decompose'](_0x4555d3,_0x36d623,_0x4e86df,_0x25cdb6){for(let _0x3a37a1=0x0,_0x54113e=0x0;_0x54113e<=_0x36d623&&_0x3a37a1<this['children']['length'];_0x3a37a1++){let _0x473ad9=this['children'][_0x3a37a1],_0x47702b=_0x54113e+_0x473ad9['length'];if(_0x4555d3<=_0x47702b&&_0x36d623>=_0x54113e){let _0x3b9c38=_0x25cdb6&((_0x54113e<=_0x4555d3?0x1:0x0)|(_0x47702b>=_0x36d623?0x2:0x0));_0x54113e>=_0x4555d3&&_0x47702b<=_0x36d623&&!_0x3b9c38?_0x4e86df['push'](_0x473ad9):_0x473ad9['decompose'](_0x4555d3-_0x54113e,_0x36d623-_0x54113e,_0x4e86df,_0x3b9c38);}_0x54113e=_0x47702b+0x1;}}['replace'](_0x3766bf,_0x5d851e,_0x54e02d){if([_0x3766bf,_0x5d851e]=_0xbe9422(this,_0x3766bf,_0x5d851e),_0x54e02d['lines']<this['lines'])for(let _0x4797f3=0x0,_0x6833cd=0x0;_0x4797f3<this['children']['length'];_0x4797f3++){let _0x11a969=this['children'][_0x4797f3],_0x5ba6c5=_0x6833cd+_0x11a969['length'];if(_0x3766bf>=_0x6833cd&&_0x5d851e<=_0x5ba6c5){let _0x5a1678=_0x11a969['replace'](_0x3766bf-_0x6833cd,_0x5d851e-_0x6833cd,_0x54e02d),_0x3262d6=this['lines']-_0x11a969['lines']+_0x5a1678['lines'];if(_0x5a1678['lines']<_0x3262d6>>0x4&&_0x5a1678['lines']>_0x3262d6>>0x6){let _0x1693bd=this['children']['slice']();return _0x1693bd[_0x4797f3]=_0x5a1678,new TextNode(_0x1693bd,this['length']-(_0x5d851e-_0x3766bf)+_0x54e02d['length']);}return super['replace'](_0x6833cd,_0x5ba6c5,_0x5a1678);}_0x6833cd=_0x5ba6c5+0x1;}return super['replace'](_0x3766bf,_0x5d851e,_0x54e02d);}['sliceString'](_0x5d946d,_0x315180=this['length'],_0x7a39b0='\x0a'){[_0x5d946d,_0x315180]=_0xbe9422(this,_0x5d946d,_0x315180);let _0x352e80='';for(let _0x48734b=0x0,_0x273c08=0x0;_0x48734b<this['children']['length']&&_0x273c08<=_0x315180;_0x48734b++){let _0x4ccc5b=this['children'][_0x48734b],_0x11449d=_0x273c08+_0x4ccc5b['length'];_0x273c08>_0x5d946d&&_0x48734b&&(_0x352e80+=_0x7a39b0),_0x5d946d<_0x11449d&&_0x315180>_0x273c08&&(_0x352e80+=_0x4ccc5b['sliceString'](_0x5d946d-_0x273c08,_0x315180-_0x273c08,_0x7a39b0)),_0x273c08=_0x11449d+0x1;}return _0x352e80;}['flatten'](_0x4f3306){for(let _0x56b233 of this['children'])_0x56b233['flatten'](_0x4f3306);}['scanIdentical'](_0x225e03,_0x36315f){if(!(_0x225e03 instanceof TextNode))return 0x0;let _0x537780=0x0,[_0x525fd0,_0x14b5d2,_0x5801c4,_0x5aa164]=_0x36315f>0x0?[0x0,0x0,this['children']['length'],_0x225e03['children']['length']]:[this['children']['length']-0x1,_0x225e03['children']['length']-0x1,-0x1,-0x1];for(;;_0x525fd0+=_0x36315f,_0x14b5d2+=_0x36315f){if(_0x525fd0==_0x5801c4||_0x14b5d2==_0x5aa164)return _0x537780;let _0x29e9c8=this['children'][_0x525fd0],_0x1b4d67=_0x225e03['children'][_0x14b5d2];if(_0x29e9c8!=_0x1b4d67)return _0x537780+_0x29e9c8['scanIdentical'](_0x1b4d67,_0x36315f);_0x537780+=_0x29e9c8['length']+0x1;}}static['from'](_0x53b24d,_0x231e18=_0x53b24d['reduce']((_0x41dbb7,_0x5a5018)=>_0x41dbb7+_0x5a5018['length']+0x1,-0x1)){let _0x25374b=0x0;for(let _0x7244e6 of _0x53b24d)_0x25374b+=_0x7244e6['lines'];if(_0x25374b<0x20){let _0x576256=[];for(let _0x6156b of _0x53b24d)_0x6156b['flatten'](_0x576256);return new TextLeaf(_0x576256,_0x231e18);}let _0x2a4702=Math['max'](0x20,_0x25374b>>0x5),_0x55c1a0=_0x2a4702<<0x1,_0x2b0072=_0x2a4702>>0x1,_0x3c4cc5=[],_0x5f24a9=0x0,_0x4d73f8=-0x1,_0x460f1b=[];function _0x3e0018(_0xbda60a){let _0x502814;if(_0xbda60a['lines']>_0x55c1a0&&_0xbda60a instanceof TextNode){for(let _0x19ee5a of _0xbda60a['children'])_0x3e0018(_0x19ee5a);}else _0xbda60a['lines']>_0x2b0072&&(_0x5f24a9>_0x2b0072||!_0x5f24a9)?(_0x354699(),_0x3c4cc5['push'](_0xbda60a)):_0xbda60a instanceof TextLeaf&&_0x5f24a9&&(_0x502814=_0x460f1b[_0x460f1b['length']-0x1])instanceof TextLeaf&&_0xbda60a['lines']+_0x502814['lines']<=0x20?(_0x5f24a9+=_0xbda60a['lines'],_0x4d73f8+=_0xbda60a['length']+0x1,_0x460f1b[_0x460f1b['length']-0x1]=new TextLeaf(_0x502814['text']['concat'](_0xbda60a['text']),_0x502814['length']+0x1+_0xbda60a['length'])):(_0x5f24a9+_0xbda60a['lines']>_0x2a4702&&_0x354699(),_0x5f24a9+=_0xbda60a['lines'],_0x4d73f8+=_0xbda60a['length']+0x1,_0x460f1b['push'](_0xbda60a));}function _0x354699(){0x0!=_0x5f24a9&&(_0x3c4cc5['push'](0x1==_0x460f1b['length']?_0x460f1b[0x0]:TextNode['from'](_0x460f1b,_0x4d73f8)),_0x4d73f8=-0x1,_0x5f24a9=_0x460f1b['length']=0x0);}for(let _0xa85e4c of _0x53b24d)_0x3e0018(_0xa85e4c);return _0x354699(),0x1==_0x3c4cc5['length']?_0x3c4cc5[0x0]:new TextNode(_0x3c4cc5,_0x231e18);}}function textLength(_0x47a55f){let _0x5944ff=-0x1;for(let _0x7d99f3 of _0x47a55f)_0x5944ff+=_0x7d99f3['length']+0x1;return _0x5944ff;}function appendText(_0x147673,_0xcef8be,_0x392c79=0x0,_0x1f2953=0x3b9aca00){for(let _0x5a4672=0x0,_0x4b48d7=0x0,_0x1c38ea=!0x0;_0x4b48d7<_0x147673['length']&&_0x5a4672<=_0x1f2953;_0x4b48d7++){let _0x75aed9=_0x147673[_0x4b48d7],_0x1afcf5=_0x5a4672+_0x75aed9['length'];_0x1afcf5>=_0x392c79&&(_0x1afcf5>_0x1f2953&&(_0x75aed9=_0x75aed9['slice'](0x0,_0x1f2953-_0x5a4672)),_0x5a4672<_0x392c79&&(_0x75aed9=_0x75aed9['slice'](_0x392c79-_0x5a4672)),_0x1c38ea?(_0xcef8be[_0xcef8be['length']-0x1]+=_0x75aed9,_0x1c38ea=!0x1):_0xcef8be['push'](_0x75aed9)),_0x5a4672=_0x1afcf5+0x1;}return _0xcef8be;}function sliceText(_0x22a4fd,_0x262569,_0x4a0fcf){return appendText(_0x22a4fd,[''],_0x262569,_0x4a0fcf);}Text['empty']=new TextLeaf([''],0x0);class RawTextCursor{constructor(_0x2f5f01,_0x14c722=0x1){this['dir']=_0x14c722,this['done']=!0x1,this['lineBreak']=!0x1,this['value']='',this['nodes']=[_0x2f5f01],this['offsets']=[_0x14c722>0x0?0x1:(_0x2f5f01 instanceof TextLeaf?_0x2f5f01['text']['length']:_0x2f5f01['children']['length'])<<0x1];}['nextInner'](_0x319ca6,_0x3cd308){for(this['done']=this['lineBreak']=!0x1;;){let _0x307026=this['nodes']['length']-0x1,_0x3f489a=this['nodes'][_0x307026],_0x24bef2=this['offsets'][_0x307026],_0x2e4899=_0x24bef2>>0x1,_0x58640b=_0x3f489a instanceof TextLeaf?_0x3f489a['text']['length']:_0x3f489a['children']['length'];if(_0x2e4899==(_0x3cd308>0x0?_0x58640b:0x0)){if(0x0==_0x307026)return this['done']=!0x0,this['value']='',this;_0x3cd308>0x0&&this['offsets'][_0x307026-0x1]++,this['nodes']['pop'](),this['offsets']['pop']();}else{if((0x1&_0x24bef2)==(_0x3cd308>0x0?0x0:0x1)){if(this['offsets'][_0x307026]+=_0x3cd308,0x0==_0x319ca6)return this['lineBreak']=!0x0,this['value']='\x0a',this;_0x319ca6--;}else{if(_0x3f489a instanceof TextLeaf){let _0x176893=_0x3f489a['text'][_0x2e4899+(_0x3cd308<0x0?-0x1:0x0)];if(this['offsets'][_0x307026]+=_0x3cd308,_0x176893['length']>Math['max'](0x0,_0x319ca6))return this['value']=0x0==_0x319ca6?_0x176893:_0x3cd308>0x0?_0x176893['slice'](_0x319ca6):_0x176893['slice'](0x0,_0x176893['length']-_0x319ca6),this;_0x319ca6-=_0x176893['length'];}else{let _0x10778f=_0x3f489a['children'][_0x2e4899+(_0x3cd308<0x0?-0x1:0x0)];_0x319ca6>_0x10778f['length']?(_0x319ca6-=_0x10778f['length'],this['offsets'][_0x307026]+=_0x3cd308):(_0x3cd308<0x0&&this['offsets'][_0x307026]--,this['nodes']['push'](_0x10778f),this['offsets']['push'](_0x3cd308>0x0?0x1:(_0x10778f instanceof TextLeaf?_0x10778f['text']['length']:_0x10778f['children']['length'])<<0x1));}}}}}['next'](_0x870382=0x0){return _0x870382<0x0&&(this['nextInner'](-_0x870382,-this['dir']),_0x870382=this['value']['length']),this['nextInner'](_0x870382,this['dir']);}}class PartialTextCursor{constructor(_0x1b1152,_0x452a84,_0x5175ee){this['value']='',this['done']=!0x1,this['cursor']=new RawTextCursor(_0x1b1152,_0x452a84>_0x5175ee?-0x1:0x1),this['pos']=_0x452a84>_0x5175ee?_0x1b1152['length']:0x0,this['from']=Math['min'](_0x452a84,_0x5175ee),this['to']=Math['max'](_0x452a84,_0x5175ee);}['nextInner'](_0x5ebda9,_0x3af51b){if(_0x3af51b<0x0?this['pos']<=this['from']:this['pos']>=this['to'])return this['value']='',this['done']=!0x0,this;_0x5ebda9+=Math['max'](0x0,_0x3af51b<0x0?this['pos']-this['to']:this['from']-this['pos']);let _0x5b56e1=_0x3af51b<0x0?this['pos']-this['from']:this['to']-this['pos'];_0x5ebda9>_0x5b56e1&&(_0x5ebda9=_0x5b56e1),_0x5b56e1-=_0x5ebda9;let {value:_0x4e66d2}=this['cursor']['next'](_0x5ebda9);return this['pos']+=(_0x4e66d2['length']+_0x5ebda9)*_0x3af51b,this['value']=_0x4e66d2['length']<=_0x5b56e1?_0x4e66d2:_0x3af51b<0x0?_0x4e66d2['slice'](_0x4e66d2['length']-_0x5b56e1):_0x4e66d2['slice'](0x0,_0x5b56e1),this['done']=!this['value'],this;}['next'](_0x486987=0x0){return _0x486987<0x0?_0x486987=Math['max'](_0x486987,this['from']-this['pos']):_0x486987>0x0&&(_0x486987=Math['min'](_0x486987,this['to']-this['pos'])),this['nextInner'](_0x486987,this['cursor']['dir']);}get['lineBreak'](){return this['cursor']['lineBreak']&&''!=this['value'];}}class _0x59800b{constructor(_0x5764e6){this['inner']=_0x5764e6,this['afterBreak']=!0x0,this['value']='',this['done']=!0x1;}['next'](_0x39e857=0x0){let {done:_0x265895,lineBreak:_0x207c49,value:_0x1bb7fe}=this['inner']['next'](_0x39e857);return _0x265895&&this['afterBreak']?(this['value']='',this['afterBreak']=!0x1):_0x265895?(this['done']=!0x0,this['value']=''):_0x207c49?this['afterBreak']?this['value']='':(this['afterBreak']=!0x0,this['next']()):(this['value']=_0x1bb7fe,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']]=_0x59800b['prototype'][Symbol['iterator']]=function(){return this;});let _0xab37fd=class{constructor(_0x218935,_0x31c3f3,_0x4202f0,_0x42d524){this['from']=_0x218935,this['to']=_0x31c3f3,this['number']=_0x4202f0,this['text']=_0x42d524;}get['length'](){return this['to']-this['from'];}};function _0xbe9422(_0x4d34aa,_0x1b8785,_0x355f5d){return[_0x1b8785=Math['max'](0x0,Math['min'](_0x4d34aa['length'],_0x1b8785)),Math['max'](_0x1b8785,Math['min'](_0x4d34aa['length'],_0x355f5d))];}function findClusterBreak(_0x2ec048,_0x370b01,_0x32ae77=!0x0,_0x42d41e=!0x0){return findClusterBreak$1(_0x2ec048,_0x370b01,_0x32ae77,_0x42d41e);}function surrogateLow(_0x28e86a){return _0x28e86a>=0xdc00&&_0x28e86a<0xe000;}function surrogateHigh(_0x2da515){return _0x2da515>=0xd800&&_0x2da515<0xdc00;}function codePointAt(_0x47664c,_0x334a72){let _0x4acfbd=_0x47664c['charCodeAt'](_0x334a72);if(!surrogateHigh(_0x4acfbd)||_0x334a72+0x1==_0x47664c['length'])return _0x4acfbd;let _0x2b133b=_0x47664c['charCodeAt'](_0x334a72+0x1);return surrogateLow(_0x2b133b)?_0x2b133b-0xdc00+(_0x4acfbd-0xd800<<0xa)+0x10000:_0x4acfbd;}function fromCodePoint(_0x1ae5cf){return _0x1ae5cf<=0xffff?String['fromCharCode'](_0x1ae5cf):(_0x1ae5cf-=0x10000,String['fromCharCode'](0xd800+(_0x1ae5cf>>0xa),0xdc00+(0x3ff&_0x1ae5cf)));}function codePointSize(_0x1f52c7){return _0x1f52c7<0x10000?0x1:0x2;}const DefaultSplit=/\r\n?|\n/;var _0x7e2fb5=function(_0x16e82a){return _0x16e82a[_0x16e82a['Simple']=0x0]='Simple',_0x16e82a[_0x16e82a['TrackDel']=0x1]='TrackDel',_0x16e82a[_0x16e82a['TrackBefore']=0x2]='TrackBefore',_0x16e82a[_0x16e82a['TrackAfter']=0x3]='TrackAfter',_0x16e82a;}(_0x7e2fb5||(_0x7e2fb5={}));class _0x41c510{constructor(_0x91147c){this['sections']=_0x91147c;}get['length'](){let _0x3a423a=0x0;for(let _0x55b1b1=0x0;_0x55b1b1<this['sections']['length'];_0x55b1b1+=0x2)_0x3a423a+=this['sections'][_0x55b1b1];return _0x3a423a;}get['newLength'](){let _0x5c2bae=0x0;for(let _0x18cdd2=0x0;_0x18cdd2<this['sections']['length'];_0x18cdd2+=0x2){let _0x537f55=this['sections'][_0x18cdd2+0x1];_0x5c2bae+=_0x537f55<0x0?this['sections'][_0x18cdd2]:_0x537f55;}return _0x5c2bae;}get['empty'](){return 0x0==this['sections']['length']||0x2==this['sections']['length']&&this['sections'][0x1]<0x0;}['iterGaps'](_0x1c156d){for(let _0x105232=0x0,_0x515b53=0x0,_0x3d0c21=0x0;_0x105232<this['sections']['length'];){let _0x4ef6af=this['sections'][_0x105232++],_0x51d5ee=this['sections'][_0x105232++];_0x51d5ee<0x0?(_0x1c156d(_0x515b53,_0x3d0c21,_0x4ef6af),_0x3d0c21+=_0x4ef6af):_0x3d0c21+=_0x51d5ee,_0x515b53+=_0x4ef6af;}}['iterChangedRanges'](_0x2b05d8,_0x4b8fe6=!0x1){iterChanges(this,_0x2b05d8,_0x4b8fe6);}get['invertedDesc'](){let _0x2aa964=[];for(let _0x3e2e8a=0x0;_0x3e2e8a<this['sections']['length'];){let _0x40c8d4=this['sections'][_0x3e2e8a++],_0x3fd03d=this['sections'][_0x3e2e8a++];_0x3fd03d<0x0?_0x2aa964['push'](_0x40c8d4,_0x3fd03d):_0x2aa964['push'](_0x3fd03d,_0x40c8d4);}return new _0x41c510(_0x2aa964);}['composeDesc'](_0x1a8f44){return this['empty']?_0x1a8f44:_0x1a8f44['empty']?this:composeSets(this,_0x1a8f44);}['mapDesc'](_0x567f77,_0x2061fd=!0x1){return _0x567f77['empty']?this:mapSet(this,_0x567f77,_0x2061fd);}['mapPos'](_0x7be811,_0xbba01a=-0x1,_0x3ea8ab=_0x7e2fb5['Simple']){let _0x2b4565=0x0,_0x405460=0x0;for(let _0x58bed7=0x0;_0x58bed7<this['sections']['length'];){let _0x114c39=this['sections'][_0x58bed7++],_0x3021a4=this['sections'][_0x58bed7++],_0x2a0017=_0x2b4565+_0x114c39;if(_0x3021a4<0x0){if(_0x2a0017>_0x7be811)return _0x405460+(_0x7be811-_0x2b4565);_0x405460+=_0x114c39;}else{if(_0x3ea8ab!=_0x7e2fb5['Simple']&&_0x2a0017>=_0x7be811&&(_0x3ea8ab==_0x7e2fb5['TrackDel']&&_0x2b4565<_0x7be811&&_0x2a0017>_0x7be811||_0x3ea8ab==_0x7e2fb5['TrackBefore']&&_0x2b4565<_0x7be811||_0x3ea8ab==_0x7e2fb5['TrackAfter']&&_0x2a0017>_0x7be811))return null;if(_0x2a0017>_0x7be811||_0x2a0017==_0x7be811&&_0xbba01a<0x0&&!_0x114c39)return _0x7be811==_0x2b4565||_0xbba01a<0x0?_0x405460:_0x405460+_0x3021a4;_0x405460+=_0x3021a4;}_0x2b4565=_0x2a0017;}if(_0x7be811>_0x2b4565)throw new RangeError('Position\x20'+_0x7be811+'\x20is\x20out\x20of\x20range\x20for\x20changeset\x20of\x20length\x20'+_0x2b4565);return _0x405460;}['touchesRange'](_0x5704c1,_0xea0398=_0x5704c1){for(let _0xc801c4=0x0,_0x55d021=0x0;_0xc801c4<this['sections']['length']&&_0x55d021<=_0xea0398;){let _0x593097=_0x55d021+this['sections'][_0xc801c4++];if(this['sections'][_0xc801c4++]>=0x0&&_0x55d021<=_0xea0398&&_0x593097>=_0x5704c1)return!(_0x55d021<_0x5704c1&&_0x593097>_0xea0398)||'cover';_0x55d021=_0x593097;}return!0x1;}['toString'](){let _0x26c9e0='';for(let _0x243a48=0x0;_0x243a48<this['sections']['length'];){let _0x590293=this['sections'][_0x243a48++],_0x5cda26=this['sections'][_0x243a48++];_0x26c9e0+=(_0x26c9e0?'\x20':'')+_0x590293+(_0x5cda26>=0x0?':'+_0x5cda26:'');}return _0x26c9e0;}['toJSON'](){return this['sections'];}static['fromJSON'](_0x5a52bf){if(!Array['isArray'](_0x5a52bf)||_0x5a52bf['length']%0x2||_0x5a52bf['some'](_0x4d5073=>'number'!=typeof _0x4d5073))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeDesc');return new _0x41c510(_0x5a52bf);}static['create'](_0x1a5272){return new _0x41c510(_0x1a5272);}}class ChangeSet extends _0x41c510{constructor(_0x2473ec,_0x4b9c2c){super(_0x2473ec),this['inserted']=_0x4b9c2c;}['apply'](_0x339f48){if(this['length']!=_0x339f48['length'])throw new RangeError('Applying\x20change\x20set\x20to\x20a\x20document\x20with\x20the\x20wrong\x20length');return iterChanges(this,(_0x58e4d,_0x5a0b91,_0x1f0fb9,_0x81fb55,_0x271f1e)=>_0x339f48=_0x339f48['replace'](_0x1f0fb9,_0x1f0fb9+(_0x5a0b91-_0x58e4d),_0x271f1e),!0x1),_0x339f48;}['mapDesc'](_0x4936a2,_0x5e239b=!0x1){return mapSet(this,_0x4936a2,_0x5e239b,!0x0);}['invert'](_0x55b427){let _0x42f2e4=this['sections']['slice'](),_0x21cbf7=[];for(let _0x552930=0x0,_0x52bbf0=0x0;_0x552930<_0x42f2e4['length'];_0x552930+=0x2){let _0x5b163e=_0x42f2e4[_0x552930],_0x3c0733=_0x42f2e4[_0x552930+0x1];if(_0x3c0733>=0x0){_0x42f2e4[_0x552930]=_0x3c0733,_0x42f2e4[_0x552930+0x1]=_0x5b163e;let _0x46b67b=_0x552930>>0x1;for(;_0x21cbf7['length']<_0x46b67b;)_0x21cbf7['push'](Text['empty']);_0x21cbf7['push'](_0x5b163e?_0x55b427['slice'](_0x52bbf0,_0x52bbf0+_0x5b163e):Text['empty']);}_0x52bbf0+=_0x5b163e;}return new ChangeSet(_0x42f2e4,_0x21cbf7);}['compose'](_0x20dac5){return this['empty']?_0x20dac5:_0x20dac5['empty']?this:composeSets(this,_0x20dac5,!0x0);}['map'](_0x1ddc95,_0x546451=!0x1){return _0x1ddc95['empty']?this:mapSet(this,_0x1ddc95,_0x546451,!0x0);}['iterChanges'](_0x192bf2,_0x2d7675=!0x1){iterChanges(this,_0x192bf2,_0x2d7675);}get['desc'](){return _0x41c510['create'](this['sections']);}['filter'](_0x4bc118){let _0x503625=[],_0x128ea2=[],_0x90ae9b=[],_0x13cd68=new SectionIter(this);t:for(let _0xdca7a0=0x0,_0x3f8e11=0x0;;){let _0x44d363=_0xdca7a0==_0x4bc118['length']?0x3b9aca00:_0x4bc118[_0xdca7a0++];for(;_0x3f8e11<_0x44d363||_0x3f8e11==_0x44d363&&0x0==_0x13cd68['len'];){if(_0x13cd68['done'])break t;let _0x2106cb=Math['min'](_0x13cd68['len'],_0x44d363-_0x3f8e11);addSection(_0x90ae9b,_0x2106cb,-0x1);let _0xae77ad=-0x1==_0x13cd68['ins']?-0x1:0x0==_0x13cd68['off']?_0x13cd68['ins']:0x0;addSection(_0x503625,_0x2106cb,_0xae77ad),_0xae77ad>0x0&&addInsert(_0x128ea2,_0x503625,_0x13cd68['text']),_0x13cd68['forward'](_0x2106cb),_0x3f8e11+=_0x2106cb;}let _0x5e5ec3=_0x4bc118[_0xdca7a0++];for(;_0x3f8e11<_0x5e5ec3;){if(_0x13cd68['done'])break t;let _0xdffd7b=Math['min'](_0x13cd68['len'],_0x5e5ec3-_0x3f8e11);addSection(_0x503625,_0xdffd7b,-0x1),addSection(_0x90ae9b,_0xdffd7b,-0x1==_0x13cd68['ins']?-0x1:0x0==_0x13cd68['off']?_0x13cd68['ins']:0x0),_0x13cd68['forward'](_0xdffd7b),_0x3f8e11+=_0xdffd7b;}}return{'changes':new ChangeSet(_0x503625,_0x128ea2),'filtered':_0x41c510['create'](_0x90ae9b)};}['toJSON'](){let _0x585ad5=[];for(let _0x2cc6fd=0x0;_0x2cc6fd<this['sections']['length'];_0x2cc6fd+=0x2){let _0x196469=this['sections'][_0x2cc6fd],_0x53ea9c=this['sections'][_0x2cc6fd+0x1];_0x53ea9c<0x0?_0x585ad5['push'](_0x196469):0x0==_0x53ea9c?_0x585ad5['push']([_0x196469]):_0x585ad5['push']([_0x196469]['concat'](this['inserted'][_0x2cc6fd>>0x1]['toJSON']()));}return _0x585ad5;}static['of'](_0x35abde,_0xa1a784,_0x1e550c){let _0x1d8959=[],_0xefe56=[],_0x3aff1d=0x0,_0x4fd856=null;function _0x2f63a7(_0x251dba=!0x1){if(!_0x251dba&&!_0x1d8959['length'])return;_0x3aff1d<_0xa1a784&&addSection(_0x1d8959,_0xa1a784-_0x3aff1d,-0x1);let _0x331222=new ChangeSet(_0x1d8959,_0xefe56);_0x4fd856=_0x4fd856?_0x4fd856['compose'](_0x331222['map'](_0x4fd856)):_0x331222,_0x1d8959=[],_0xefe56=[],_0x3aff1d=0x0;}return function _0x434b16(_0x4564d4){if(Array['isArray'](_0x4564d4)){for(let _0x3b29b7 of _0x4564d4)_0x434b16(_0x3b29b7);}else{if(_0x4564d4 instanceof ChangeSet){if(_0x4564d4['length']!=_0xa1a784)throw new RangeError('Mismatched\x20change\x20set\x20length\x20(got\x20'+_0x4564d4['length']+',\x20expected\x20'+_0xa1a784+')');_0x2f63a7(),_0x4fd856=_0x4fd856?_0x4fd856['compose'](_0x4564d4['map'](_0x4fd856)):_0x4564d4;}else{let {from:_0x522910,to:_0x463962=_0x522910,insert:_0x15ce41}=_0x4564d4;if(_0x522910>_0x463962||_0x522910<0x0||_0x463962>_0xa1a784)throw new RangeError('Invalid\x20change\x20range\x20'+_0x522910+'\x20to\x20'+_0x463962+'\x20(in\x20doc\x20of\x20length\x20'+_0xa1a784+')');let _0x12b4c5=_0x15ce41?'string'==typeof _0x15ce41?Text['of'](_0x15ce41['split'](_0x1e550c||DefaultSplit)):_0x15ce41:Text['empty'],_0x4328f5=_0x12b4c5['length'];if(_0x522910==_0x463962&&0x0==_0x4328f5)return;_0x522910<_0x3aff1d&&_0x2f63a7(),_0x522910>_0x3aff1d&&addSection(_0x1d8959,_0x522910-_0x3aff1d,-0x1),addSection(_0x1d8959,_0x463962-_0x522910,_0x4328f5),addInsert(_0xefe56,_0x1d8959,_0x12b4c5),_0x3aff1d=_0x463962;}}}(_0x35abde),_0x2f63a7(!_0x4fd856),_0x4fd856;}static['empty'](_0x5f0657){return new ChangeSet(_0x5f0657?[_0x5f0657,-0x1]:[],[]);}static['fromJSON'](_0x254e00){if(!Array['isArray'](_0x254e00))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');let _0x43c066=[],_0x5a697a=[];for(let _0x10b3a4=0x0;_0x10b3a4<_0x254e00['length'];_0x10b3a4++){let _0x15f15d=_0x254e00[_0x10b3a4];if('number'==typeof _0x15f15d)_0x43c066['push'](_0x15f15d,-0x1);else{if(!Array['isArray'](_0x15f15d)||'number'!=typeof _0x15f15d[0x0]||_0x15f15d['some']((_0x5914fe,_0x266852)=>_0x266852&&'string'!=typeof _0x5914fe))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');if(0x1==_0x15f15d['length'])_0x43c066['push'](_0x15f15d[0x0],0x0);else{for(;_0x5a697a['length']<_0x10b3a4;)_0x5a697a['push'](Text['empty']);_0x5a697a[_0x10b3a4]=Text['of'](_0x15f15d['slice'](0x1)),_0x43c066['push'](_0x15f15d[0x0],_0x5a697a[_0x10b3a4]['length']);}}}return new ChangeSet(_0x43c066,_0x5a697a);}static['createSet'](_0x578718,_0x35572a){return new ChangeSet(_0x578718,_0x35572a);}}function addSection(_0x11177c,_0x53a29b,_0x3b62b0,_0x319c7e=!0x1){if(0x0==_0x53a29b&&_0x3b62b0<=0x0)return;let _0x5abe3e=_0x11177c['length']-0x2;_0x5abe3e>=0x0&&_0x3b62b0<=0x0&&_0x3b62b0==_0x11177c[_0x5abe3e+0x1]?_0x11177c[_0x5abe3e]+=_0x53a29b:_0x5abe3e>=0x0&&0x0==_0x53a29b&&0x0==_0x11177c[_0x5abe3e]?_0x11177c[_0x5abe3e+0x1]+=_0x3b62b0:_0x319c7e?(_0x11177c[_0x5abe3e]+=_0x53a29b,_0x11177c[_0x5abe3e+0x1]+=_0x3b62b0):_0x11177c['push'](_0x53a29b,_0x3b62b0);}function addInsert(_0x2bee06,_0x117636,_0x2c3ed2){if(0x0==_0x2c3ed2['length'])return;let _0xc91c5e=_0x117636['length']-0x2>>0x1;if(_0xc91c5e<_0x2bee06['length'])_0x2bee06[_0x2bee06['length']-0x1]=_0x2bee06[_0x2bee06['length']-0x1]['append'](_0x2c3ed2);else{for(;_0x2bee06['length']<_0xc91c5e;)_0x2bee06['push'](Text['empty']);_0x2bee06['push'](_0x2c3ed2);}}function iterChanges(_0x23ca5e,_0x241d5c,_0x542d6d){let _0xab0796=_0x23ca5e['inserted'];for(let _0x41e771=0x0,_0x230c9e=0x0,_0x58492c=0x0;_0x58492c<_0x23ca5e['sections']['length'];){let _0x3d7074=_0x23ca5e['sections'][_0x58492c++],_0x214cc9=_0x23ca5e['sections'][_0x58492c++];if(_0x214cc9<0x0)_0x41e771+=_0x3d7074,_0x230c9e+=_0x3d7074;else{let _0x430f7f=_0x41e771,_0x5976b1=_0x230c9e,_0x4bffcb=Text['empty'];for(;_0x430f7f+=_0x3d7074,_0x5976b1+=_0x214cc9,_0x214cc9&&_0xab0796&&(_0x4bffcb=_0x4bffcb['append'](_0xab0796[_0x58492c-0x2>>0x1])),!(_0x542d6d||_0x58492c==_0x23ca5e['sections']['length']||_0x23ca5e['sections'][_0x58492c+0x1]<0x0);)_0x3d7074=_0x23ca5e['sections'][_0x58492c++],_0x214cc9=_0x23ca5e['sections'][_0x58492c++];_0x241d5c(_0x41e771,_0x430f7f,_0x230c9e,_0x5976b1,_0x4bffcb),_0x41e771=_0x430f7f,_0x230c9e=_0x5976b1;}}}function mapSet(_0x39ff58,_0x3379fd,_0x312442,_0x477a2c=!0x1){let _0x30883e=[],_0x4683df=_0x477a2c?[]:null,_0x4ea0d1=new SectionIter(_0x39ff58),_0x74b7b=new SectionIter(_0x3379fd);for(let _0x13563f=-0x1;;){if(_0x4ea0d1['done']&&_0x74b7b['len']||_0x74b7b['done']&&_0x4ea0d1['len'])throw new Error('Mismatched\x20change\x20set\x20lengths');if(-0x1==_0x4ea0d1['ins']&&-0x1==_0x74b7b['ins']){let _0x575548=Math['min'](_0x4ea0d1['len'],_0x74b7b['len']);addSection(_0x30883e,_0x575548,-0x1),_0x4ea0d1['forward'](_0x575548),_0x74b7b['forward'](_0x575548);}else{if(_0x74b7b['ins']>=0x0&&(_0x4ea0d1['ins']<0x0||_0x13563f==_0x4ea0d1['i']||0x0==_0x4ea0d1['off']&&(_0x74b7b['len']<_0x4ea0d1['len']||_0x74b7b['len']==_0x4ea0d1['len']&&!_0x312442))){let _0x5e263a=_0x74b7b['len'];for(addSection(_0x30883e,_0x74b7b['ins'],-0x1);_0x5e263a;){let _0x2c3b38=Math['min'](_0x4ea0d1['len'],_0x5e263a);_0x4ea0d1['ins']>=0x0&&_0x13563f<_0x4ea0d1['i']&&_0x4ea0d1['len']<=_0x2c3b38&&(addSection(_0x30883e,0x0,_0x4ea0d1['ins']),_0x4683df&&addInsert(_0x4683df,_0x30883e,_0x4ea0d1['text']),_0x13563f=_0x4ea0d1['i']),_0x4ea0d1['forward'](_0x2c3b38),_0x5e263a-=_0x2c3b38;}_0x74b7b['next']();}else{if(!(_0x4ea0d1['ins']>=0x0)){if(_0x4ea0d1['done']&&_0x74b7b['done'])return _0x4683df?ChangeSet['createSet'](_0x30883e,_0x4683df):_0x41c510['create'](_0x30883e);throw new Error('Mismatched\x20change\x20set\x20lengths');}{let _0x120f7d=0x0,_0xa9495d=_0x4ea0d1['len'];for(;_0xa9495d;)if(-0x1==_0x74b7b['ins']){let _0x417623=Math['min'](_0xa9495d,_0x74b7b['len']);_0x120f7d+=_0x417623,_0xa9495d-=_0x417623,_0x74b7b['forward'](_0x417623);}else{if(!(0x0==_0x74b7b['ins']&&_0x74b7b['len']<_0xa9495d))break;_0xa9495d-=_0x74b7b['len'],_0x74b7b['next']();}addSection(_0x30883e,_0x120f7d,_0x13563f<_0x4ea0d1['i']?_0x4ea0d1['ins']:0x0),_0x4683df&&_0x13563f<_0x4ea0d1['i']&&addInsert(_0x4683df,_0x30883e,_0x4ea0d1['text']),_0x13563f=_0x4ea0d1['i'],_0x4ea0d1['forward'](_0x4ea0d1['len']-_0xa9495d);}}}}}function composeSets(_0x1ba19a,_0xde838d,_0x3b7e59=!0x1){let _0x3a95b0=[],_0x2dd181=_0x3b7e59?[]:null,_0x542e87=new SectionIter(_0x1ba19a),_0x49e2e3=new SectionIter(_0xde838d);for(let _0x586607=!0x1;;){if(_0x542e87['done']&&_0x49e2e3['done'])return _0x2dd181?ChangeSet['createSet'](_0x3a95b0,_0x2dd181):_0x41c510['create'](_0x3a95b0);if(0x0==_0x542e87['ins'])addSection(_0x3a95b0,_0x542e87['len'],0x0,_0x586607),_0x542e87['next']();else{if(0x0!=_0x49e2e3['len']||_0x49e2e3['done']){if(_0x542e87['done']||_0x49e2e3['done'])throw new Error('Mismatched\x20change\x20set\x20lengths');{let _0x50c770=Math['min'](_0x542e87['len2'],_0x49e2e3['len']),_0x33ef95=_0x3a95b0['length'];if(-0x1==_0x542e87['ins']){let _0x23af7d=-0x1==_0x49e2e3['ins']?-0x1:_0x49e2e3['off']?0x0:_0x49e2e3['ins'];addSection(_0x3a95b0,_0x50c770,_0x23af7d,_0x586607),_0x2dd181&&_0x23af7d&&addInsert(_0x2dd181,_0x3a95b0,_0x49e2e3['text']);}else-0x1==_0x49e2e3['ins']?(addSection(_0x3a95b0,_0x542e87['off']?0x0:_0x542e87['len'],_0x50c770,_0x586607),_0x2dd181&&addInsert(_0x2dd181,_0x3a95b0,_0x542e87['textBit'](_0x50c770))):(addSection(_0x3a95b0,_0x542e87['off']?0x0:_0x542e87['len'],_0x49e2e3['off']?0x0:_0x49e2e3['ins'],_0x586607),_0x2dd181&&!_0x49e2e3['off']&&addInsert(_0x2dd181,_0x3a95b0,_0x49e2e3['text']));_0x586607=(_0x542e87['ins']>_0x50c770||_0x49e2e3['ins']>=0x0&&_0x49e2e3['len']>_0x50c770)&&(_0x586607||_0x3a95b0['length']>_0x33ef95),_0x542e87['forward2'](_0x50c770),_0x49e2e3['forward'](_0x50c770);}}else addSection(_0x3a95b0,0x0,_0x49e2e3['ins'],_0x586607),_0x2dd181&&addInsert(_0x2dd181,_0x3a95b0,_0x49e2e3['text']),_0x49e2e3['next']();}}}class SectionIter{constructor(_0x56836b){this['set']=_0x56836b,this['i']=0x0,this['next']();}['next'](){let {sections:_0x4d4e8d}=this['set'];this['i']<_0x4d4e8d['length']?(this['len']=_0x4d4e8d[this['i']++],this['ins']=_0x4d4e8d[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:_0xa9d096}=this['set'],_0x41b235=this['i']-0x2>>0x1;return _0x41b235>=_0xa9d096['length']?Text['empty']:_0xa9d096[_0x41b235];}['textBit'](_0x4c1a13){let {inserted:_0x7f3107}=this['set'],_0x1c2c6c=this['i']-0x2>>0x1;return _0x1c2c6c>=_0x7f3107['length']&&!_0x4c1a13?Text['empty']:_0x7f3107[_0x1c2c6c]['slice'](this['off'],null==_0x4c1a13?void 0x0:this['off']+_0x4c1a13);}['forward'](_0x5e11e6){_0x5e11e6==this['len']?this['next']():(this['len']-=_0x5e11e6,this['off']+=_0x5e11e6);}['forward2'](_0x5a849d){-0x1==this['ins']?this['forward'](_0x5a849d):_0x5a849d==this['ins']?this['next']():(this['ins']-=_0x5a849d,this['off']+=_0x5a849d);}}class SelectionRange{constructor(_0x4b9fd9,_0x116a86,_0x1e5995){this['from']=_0x4b9fd9,this['to']=_0x116a86,this['flags']=_0x1e5995;}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 _0x452e5a=0x7&this['flags'];return 0x7==_0x452e5a?null:_0x452e5a;}get['goalColumn'](){let _0x3a9062=this['flags']>>0x6;return 0xffffff==_0x3a9062?void 0x0:_0x3a9062;}['map'](_0x599d52,_0x344abe=-0x1){let _0x34c4c7,_0x5165ec;return this['empty']?_0x34c4c7=_0x5165ec=_0x599d52['mapPos'](this['from'],_0x344abe):(_0x34c4c7=_0x599d52['mapPos'](this['from'],0x1),_0x5165ec=_0x599d52['mapPos'](this['to'],-0x1)),_0x34c4c7==this['from']&&_0x5165ec==this['to']?this:new SelectionRange(_0x34c4c7,_0x5165ec,this['flags']);}['extend'](_0x34a59c,_0x5b1290=_0x34a59c){if(_0x34a59c<=this['anchor']&&_0x5b1290>=this['anchor'])return EditorSelection['range'](_0x34a59c,_0x5b1290);let _0x42a44b=Math['abs'](_0x34a59c-this['anchor'])>Math['abs'](_0x5b1290-this['anchor'])?_0x34a59c:_0x5b1290;return EditorSelection['range'](this['anchor'],_0x42a44b);}['eq'](_0x42cf9b,_0x28fe31=!0x1){return!(this['anchor']!=_0x42cf9b['anchor']||this['head']!=_0x42cf9b['head']||_0x28fe31&&this['empty']&&this['assoc']!=_0x42cf9b['assoc']);}['toJSON'](){return{'anchor':this['anchor'],'head':this['head']};}static['fromJSON'](_0x128b8e){if(!_0x128b8e||'number'!=typeof _0x128b8e['anchor']||'number'!=typeof _0x128b8e['head'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20SelectionRange');return EditorSelection['range'](_0x128b8e['anchor'],_0x128b8e['head']);}static['create'](_0xca5278,_0x114e27,_0x44f09d){return new SelectionRange(_0xca5278,_0x114e27,_0x44f09d);}}class EditorSelection{constructor(_0x562672,_0x1c3157){this['ranges']=_0x562672,this['mainIndex']=_0x1c3157;}['map'](_0x4c2afa,_0x28f3e1=-0x1){return _0x4c2afa['empty']?this:EditorSelection['create'](this['ranges']['map'](_0x1ca215=>_0x1ca215['map'](_0x4c2afa,_0x28f3e1)),this['mainIndex']);}['eq'](_0x528450,_0x546c33=!0x1){if(this['ranges']['length']!=_0x528450['ranges']['length']||this['mainIndex']!=_0x528450['mainIndex'])return!0x1;for(let _0x3fa478=0x0;_0x3fa478<this['ranges']['length'];_0x3fa478++)if(!this['ranges'][_0x3fa478]['eq'](_0x528450['ranges'][_0x3fa478],_0x546c33))return!0x1;return!0x0;}get['main'](){return this['ranges'][this['mainIndex']];}['asSingle'](){return 0x1==this['ranges']['length']?this:new EditorSelection([this['main']],0x0);}['addRange'](_0x4e9ea9,_0x19fcb0=!0x0){return EditorSelection['create']([_0x4e9ea9]['concat'](this['ranges']),_0x19fcb0?0x0:this['mainIndex']+0x1);}['replaceRange'](_0x3c10a2,_0x47c912=this['mainIndex']){let _0x351fb7=this['ranges']['slice']();return _0x351fb7[_0x47c912]=_0x3c10a2,EditorSelection['create'](_0x351fb7,this['mainIndex']);}['toJSON'](){return{'ranges':this['ranges']['map'](_0x26c388=>_0x26c388['toJSON']()),'main':this['mainIndex']};}static['fromJSON'](_0x1c454d){if(!_0x1c454d||!Array['isArray'](_0x1c454d['ranges'])||'number'!=typeof _0x1c454d['main']||_0x1c454d['main']>=_0x1c454d['ranges']['length'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorSelection');return new EditorSelection(_0x1c454d['ranges']['map'](_0x357bae=>SelectionRange['fromJSON'](_0x357bae)),_0x1c454d['main']);}static['single'](_0x119dc5,_0x11c9ff=_0x119dc5){return new EditorSelection([EditorSelection['range'](_0x119dc5,_0x11c9ff)],0x0);}static['create'](_0x196ab,_0x294e56=0x0){if(0x0==_0x196ab['length'])throw new RangeError('A\x20selection\x20needs\x20at\x20least\x20one\x20range');for(let _0x8f9e25=0x0,_0x25f904=0x0;_0x25f904<_0x196ab['length'];_0x25f904++){let _0x3cf4f3=_0x196ab[_0x25f904];if(_0x3cf4f3['empty']?_0x3cf4f3['from']<=_0x8f9e25:_0x3cf4f3['from']<_0x8f9e25)return EditorSelection['normalized'](_0x196ab['slice'](),_0x294e56);_0x8f9e25=_0x3cf4f3['to'];}return new EditorSelection(_0x196ab,_0x294e56);}static['cursor'](_0x3ce172,_0x31ccff=0x0,_0x28d3ad,_0x29f897){return SelectionRange['create'](_0x3ce172,_0x3ce172,(0x0==_0x31ccff?0x0:_0x31ccff<0x0?0x8:0x10)|(null==_0x28d3ad?0x7:Math['min'](0x6,_0x28d3ad))|(null!=_0x29f897?_0x29f897:0xffffff)<<0x6);}static['range'](_0x2a509b,_0x2997ed,_0x2adf8d,_0x3f4600){let _0x4df8a1=(null!=_0x2adf8d?_0x2adf8d:0xffffff)<<0x6|(null==_0x3f4600?0x7:Math['min'](0x6,_0x3f4600));return _0x2997ed<_0x2a509b?SelectionRange['create'](_0x2997ed,_0x2a509b,0x30|_0x4df8a1):SelectionRange['create'](_0x2a509b,_0x2997ed,(_0x2997ed>_0x2a509b?0x8:0x0)|_0x4df8a1);}static['normalized'](_0x3c13ed,_0x543848=0x0){let _0x2010f9=_0x3c13ed[_0x543848];_0x3c13ed['sort']((_0x2dcd15,_0x1a4c0b)=>_0x2dcd15['from']-_0x1a4c0b['from']),_0x543848=_0x3c13ed['indexOf'](_0x2010f9);for(let _0xf4b343=0x1;_0xf4b343<_0x3c13ed['length'];_0xf4b343++){let _0x1342d2=_0x3c13ed[_0xf4b343],_0x557d47=_0x3c13ed[_0xf4b343-0x1];if(_0x1342d2['empty']?_0x1342d2['from']<=_0x557d47['to']:_0x1342d2['from']<_0x557d47['to']){let _0x2a9990=_0x557d47['from'],_0x5af156=Math['max'](_0x1342d2['to'],_0x557d47['to']);_0xf4b343<=_0x543848&&_0x543848--,_0x3c13ed['splice'](--_0xf4b343,0x2,_0x1342d2['anchor']>_0x1342d2['head']?EditorSelection['range'](_0x5af156,_0x2a9990):EditorSelection['range'](_0x2a9990,_0x5af156));}}return new EditorSelection(_0x3c13ed,_0x543848);}}function checkSelection(_0x27a491,_0x28ad45){for(let _0x438bc6 of _0x27a491['ranges'])if(_0x438bc6['to']>_0x28ad45)throw new RangeError('Selection\x20points\x20outside\x20of\x20document');}let nextID=0x0;class Facet{constructor(_0x2d6a28,_0x7b7c41,_0x5dcca6,_0x5b7bf2,_0x3f6dc5){this['combine']=_0x2d6a28,this['compareInput']=_0x7b7c41,this['compare']=_0x5dcca6,this['isStatic']=_0x5b7bf2,this['id']=nextID++,this['default']=_0x2d6a28([]),this['extensions']='function'==typeof _0x3f6dc5?_0x3f6dc5(this):_0x3f6dc5;}get['reader'](){return this;}static['define'](_0x1d8a4d={}){return new Facet(_0x1d8a4d['combine']||(_0x4f97db=>_0x4f97db),_0x1d8a4d['compareInput']||((_0x38aa33,_0x19ab27)=>_0x38aa33===_0x19ab27),_0x1d8a4d['compare']||(_0x1d8a4d['combine']?(_0x42bb68,_0x138c3c)=>_0x42bb68===_0x138c3c:_0x290918),!!_0x1d8a4d['static'],_0x1d8a4d['enables']);}['of'](_0x1826cb){return new FacetProvider([],this,0x0,_0x1826cb);}['compute'](_0x246732,_0x4b5a4c){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new FacetProvider(_0x246732,this,0x1,_0x4b5a4c);}['computeN'](_0x290fd5,_0x3c2220){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new FacetProvider(_0x290fd5,this,0x2,_0x3c2220);}['from'](_0xaaea0e,_0x51109c){return _0x51109c||(_0x51109c=_0x4196a2=>_0x4196a2),this['compute']([_0xaaea0e],_0x2f5c1a=>_0x51109c(_0x2f5c1a['field'](_0xaaea0e)));}}function _0x290918(_0x5704b1,_0xf6151){return _0x5704b1==_0xf6151||_0x5704b1['length']==_0xf6151['length']&&_0x5704b1['every']((_0x5324e0,_0x3bb234)=>_0x5324e0===_0xf6151[_0x3bb234]);}class FacetProvider{constructor(_0x5a4b09,_0x407d45,_0x22ebff,_0x552527){this['dependencies']=_0x5a4b09,this['facet']=_0x407d45,this['type']=_0x22ebff,this['value']=_0x552527,this['id']=nextID++;}['dynamicSlot'](_0x301699){var _0x3b581c;let _0x5db126=this['value'],_0x3ea671=this['facet']['compareInput'],_0x269827=this['id'],_0x1da3af=_0x301699[_0x269827]>>0x1,_0x37abe9=0x2==this['type'],_0x2cd578=!0x1,_0x5c2ffa=!0x1,_0x95d2f3=[];for(let _0x6fcc4d of this['dependencies'])'doc'==_0x6fcc4d?_0x2cd578=!0x0:'selection'==_0x6fcc4d?_0x5c2ffa=!0x0:0x1&(null!==(_0x3b581c=_0x301699[_0x6fcc4d['id']])&&void 0x0!==_0x3b581c?_0x3b581c:0x1)||_0x95d2f3['push'](_0x301699[_0x6fcc4d['id']]);return{'create':_0x4413a5=>(_0x4413a5['values'][_0x1da3af]=_0x5db126(_0x4413a5),0x1),'update'(_0x391559,_0x441132){if(_0x2cd578&&_0x441132['docChanged']||_0x5c2ffa&&(_0x441132['docChanged']||_0x441132['selection'])||_0x17d4f7(_0x391559,_0x95d2f3)){let _0x2e4435=_0x5db126(_0x391559);if(_0x37abe9?!_0x359832(_0x2e4435,_0x391559['values'][_0x1da3af],_0x3ea671):!_0x3ea671(_0x2e4435,_0x391559['values'][_0x1da3af]))return _0x391559['values'][_0x1da3af]=_0x2e4435,0x1;}return 0x0;},'reconfigure':(_0x4d095b,_0x111298)=>{let _0x160ccc,_0x53f812=_0x111298['config']['address'][_0x269827];if(null!=_0x53f812){let _0x1f2689=getAddr(_0x111298,_0x53f812);if(this['dependencies']['every'](_0xfc44ee=>_0xfc44ee instanceof Facet?_0x111298['facet'](_0xfc44ee)===_0x4d095b['facet'](_0xfc44ee):!(_0xfc44ee instanceof StateField)||_0x111298['field'](_0xfc44ee,!0x1)==_0x4d095b['field'](_0xfc44ee,!0x1))||(_0x37abe9?_0x359832(_0x160ccc=_0x5db126(_0x4d095b),_0x1f2689,_0x3ea671):_0x3ea671(_0x160ccc=_0x5db126(_0x4d095b),_0x1f2689)))return _0x4d095b['values'][_0x1da3af]=_0x1f2689,0x0;}else _0x160ccc=_0x5db126(_0x4d095b);return _0x4d095b['values'][_0x1da3af]=_0x160ccc,0x1;}};}}function _0x359832(_0x5832bf,_0x1cb8b2,_0x5a8640){if(_0x5832bf['length']!=_0x1cb8b2['length'])return!0x1;for(let _0x2a6c92=0x0;_0x2a6c92<_0x5832bf['length'];_0x2a6c92++)if(!_0x5a8640(_0x5832bf[_0x2a6c92],_0x1cb8b2[_0x2a6c92]))return!0x1;return!0x0;}function _0x17d4f7(_0x154192,_0xb0ea45){let _0x481cf4=!0x1;for(let _0x15946f of _0xb0ea45)0x1&_0x5dac52(_0x154192,_0x15946f)&&(_0x481cf4=!0x0);return _0x481cf4;}function dynamicFacetSlot(_0x21db92,_0x192c74,_0x4e98bc){let _0x5c8bd3=_0x4e98bc['map'](_0x49022a=>_0x21db92[_0x49022a['id']]),_0xf340da=_0x4e98bc['map'](_0x19f3a6=>_0x19f3a6['type']),_0x4d63c0=_0x5c8bd3['filter'](_0x3fc5f1=>!(0x1&_0x3fc5f1)),_0x17eec1=_0x21db92[_0x192c74['id']]>>0x1;function _0x49645d(_0x2306b){let _0x272eb8=[];for(let _0x1fc616=0x0;_0x1fc616<_0x5c8bd3['length'];_0x1fc616++){let _0x2cb876=getAddr(_0x2306b,_0x5c8bd3[_0x1fc616]);if(0x2==_0xf340da[_0x1fc616]){for(let _0x34ee4d of _0x2cb876)_0x272eb8['push'](_0x34ee4d);}else _0x272eb8['push'](_0x2cb876);}return _0x192c74['combine'](_0x272eb8);}return{'create'(_0x3661ce){for(let _0x54c156 of _0x5c8bd3)_0x5dac52(_0x3661ce,_0x54c156);return _0x3661ce['values'][_0x17eec1]=_0x49645d(_0x3661ce),0x1;},'update'(_0x134eb6,_0x2c3c11){if(!_0x17d4f7(_0x134eb6,_0x4d63c0))return 0x0;let _0x4456ce=_0x49645d(_0x134eb6);return _0x192c74['compare'](_0x4456ce,_0x134eb6['values'][_0x17eec1])?0x0:(_0x134eb6['values'][_0x17eec1]=_0x4456ce,0x1);},'reconfigure'(_0x24ad65,_0x3e113a){let _0x26fc96=_0x17d4f7(_0x24ad65,_0x5c8bd3),_0x218454=_0x3e113a['config']['facets'][_0x192c74['id']],_0x8e657a=_0x3e113a['facet'](_0x192c74);if(_0x218454&&!_0x26fc96&&_0x290918(_0x4e98bc,_0x218454))return _0x24ad65['values'][_0x17eec1]=_0x8e657a,0x0;let _0x44dd19=_0x49645d(_0x24ad65);return _0x192c74['compare'](_0x44dd19,_0x8e657a)?(_0x24ad65['values'][_0x17eec1]=_0x8e657a,0x0):(_0x24ad65['values'][_0x17eec1]=_0x44dd19,0x1);}};}const initField=Facet['define']({'static':!0x0});class StateField{constructor(_0x11b0e9,_0xd98516,_0x1af0de,_0x2dab01,_0x32ae1a){this['id']=_0x11b0e9,this['createF']=_0xd98516,this['updateF']=_0x1af0de,this['compareF']=_0x2dab01,this['spec']=_0x32ae1a,this['provides']=void 0x0;}static['define'](_0x280c9d){let _0x196c2e=new StateField(nextID++,_0x280c9d['create'],_0x280c9d['update'],_0x280c9d['compare']||((_0x5c6938,_0x329b92)=>_0x5c6938===_0x329b92),_0x280c9d);return _0x280c9d['provide']&&(_0x196c2e['provides']=_0x280c9d['provide'](_0x196c2e)),_0x196c2e;}['create'](_0x6a8c66){let _0x52e64c=_0x6a8c66['facet'](initField)['find'](_0x50a978=>_0x50a978['field']==this);return((null==_0x52e64c?void 0x0:_0x52e64c['create'])||this['createF'])(_0x6a8c66);}['slot'](_0x37c590){let _0x36eb13=_0x37c590[this['id']]>>0x1;return{'create':_0x356cb=>(_0x356cb['values'][_0x36eb13]=this['create'](_0x356cb),0x1),'update':(_0x1a17b3,_0x53a95a)=>{let _0x5345a8=_0x1a17b3['values'][_0x36eb13],_0x590f57=this['updateF'](_0x5345a8,_0x53a95a);return this['compareF'](_0x5345a8,_0x590f57)?0x0:(_0x1a17b3['values'][_0x36eb13]=_0x590f57,0x1);},'reconfigure':(_0x18a93e,_0x4e9364)=>{let _0x3d9550,_0x481d12=_0x18a93e['facet'](initField),_0x161610=_0x4e9364['facet'](initField);return(_0x3d9550=_0x481d12['find'](_0x138036=>_0x138036['field']==this))&&_0x3d9550!=_0x161610['find'](_0x5ad739=>_0x5ad739['field']==this)?(_0x18a93e['values'][_0x36eb13]=_0x3d9550['create'](_0x18a93e),0x1):null!=_0x4e9364['config']['address'][this['id']]?(_0x18a93e['values'][_0x36eb13]=_0x4e9364['field'](this),0x0):(_0x18a93e['values'][_0x36eb13]=this['create'](_0x18a93e),0x1);}};}['init'](_0x488372){return[this,initField['of']({'field':this,'create':_0x488372})];}get['extension'](){return this;}}const _0x32e586={'lowest':0x4,'low':0x3,'default':0x2,'high':0x1,'highest':0x0};function _0x136241(_0x307c0f){return _0x25bba2=>new PrecExtension(_0x25bba2,_0x307c0f);}const _0x27d43b={'highest':_0x136241(_0x32e586['highest']),'high':_0x136241(_0x32e586['high']),'default':_0x136241(_0x32e586['default']),'low':_0x136241(_0x32e586['low']),'lowest':_0x136241(_0x32e586['lowest'])};class PrecExtension{constructor(_0x5a1eff,_0x4419cc){this['inner']=_0x5a1eff,this['prec']=_0x4419cc;}}class Compartment{['of'](_0x30e43c){return new CompartmentInstance(this,_0x30e43c);}['reconfigure'](_0x48fce3){return Compartment['reconfigure']['of']({'compartment':this,'extension':_0x48fce3});}['get'](_0x3a6ac5){return _0x3a6ac5['config']['compartments']['get'](this);}}class CompartmentInstance{constructor(_0x1702cf,_0x3cf9e6){this['compartment']=_0x1702cf,this['inner']=_0x3cf9e6;}}class Configuration{constructor(_0x46d0fe,_0x22969c,_0x1ee5fb,_0x4d6560,_0x17477b,_0x18dc82){for(this['base']=_0x46d0fe,this['compartments']=_0x22969c,this['dynamicSlots']=_0x1ee5fb,this['address']=_0x4d6560,this['staticValues']=_0x17477b,this['facets']=_0x18dc82,this['statusTemplate']=[];this['statusTemplate']['length']<_0x1ee5fb['length'];)this['statusTemplate']['push'](0x0);}['staticFacet'](_0x39131f){let _0x577930=this['address'][_0x39131f['id']];return null==_0x577930?_0x39131f['default']:this['staticValues'][_0x577930>>0x1];}static['resolve'](_0x25a3d9,_0x2bf231,_0x436cbe){let _0x2d25d0=[],_0x36bdfd=Object['create'](null),_0x142eb6=new Map();for(let _0x254ab0 of flatten(_0x25a3d9,_0x2bf231,_0x142eb6))_0x254ab0 instanceof StateField?_0x2d25d0['push'](_0x254ab0):(_0x36bdfd[_0x254ab0['facet']['id']]||(_0x36bdfd[_0x254ab0['facet']['id']]=[]))['push'](_0x254ab0);let _0x3c1fbb=Object['create'](null),_0x1cbf1d=[],_0x112bcb=[];for(let _0x1c95b2 of _0x2d25d0)_0x3c1fbb[_0x1c95b2['id']]=_0x112bcb['length']<<0x1,_0x112bcb['push'](_0x4f9ec5=>_0x1c95b2['slot'](_0x4f9ec5));let _0x167d9c=null==_0x436cbe?void 0x0:_0x436cbe['config']['facets'];for(let _0x15c675 in _0x36bdfd){let _0x576666=_0x36bdfd[_0x15c675],_0x2b3d14=_0x576666[0x0]['facet'],_0x2b07ae=_0x167d9c&&_0x167d9c[_0x15c675]||[];if(_0x576666['every'](_0x4b7f03=>0x0==_0x4b7f03['type'])){if(_0x3c1fbb[_0x2b3d14['id']]=_0x1cbf1d['length']<<0x1|0x1,_0x290918(_0x2b07ae,_0x576666))_0x1cbf1d['push'](_0x436cbe['facet'](_0x2b3d14));else{let _0x4eab59=_0x2b3d14['combine'](_0x576666['map'](_0x60363b=>_0x60363b['value']));_0x1cbf1d['push'](_0x436cbe&&_0x2b3d14['compare'](_0x4eab59,_0x436cbe['facet'](_0x2b3d14))?_0x436cbe['facet'](_0x2b3d14):_0x4eab59);}}else{for(let _0x5c73d3 of _0x576666)0x0==_0x5c73d3['type']?(_0x3c1fbb[_0x5c73d3['id']]=_0x1cbf1d['length']<<0x1|0x1,_0x1cbf1d['push'](_0x5c73d3['value'])):(_0x3c1fbb[_0x5c73d3['id']]=_0x112bcb['length']<<0x1,_0x112bcb['push'](_0x1bade4=>_0x5c73d3['dynamicSlot'](_0x1bade4)));_0x3c1fbb[_0x2b3d14['id']]=_0x112bcb['length']<<0x1,_0x112bcb['push'](_0x1e0127=>dynamicFacetSlot(_0x1e0127,_0x2b3d14,_0x576666));}}let _0x4ec001=_0x112bcb['map'](_0xc53ef5=>_0xc53ef5(_0x3c1fbb));return new Configuration(_0x25a3d9,_0x142eb6,_0x4ec001,_0x3c1fbb,_0x1cbf1d,_0x36bdfd);}}function flatten(_0x57ec98,_0x573859,_0x2104eb){let _0x3ab3e9=[[],[],[],[],[]],_0x2638c8=new Map();return function _0x2a38c2(_0x46590f,_0x341473){let _0x310f64=_0x2638c8['get'](_0x46590f);if(null!=_0x310f64){if(_0x310f64<=_0x341473)return;let _0x4efa1d=_0x3ab3e9[_0x310f64]['indexOf'](_0x46590f);_0x4efa1d>-0x1&&_0x3ab3e9[_0x310f64]['splice'](_0x4efa1d,0x1),_0x46590f instanceof CompartmentInstance&&_0x2104eb['delete'](_0x46590f['compartment']);}if(_0x2638c8['set'](_0x46590f,_0x341473),Array['isArray'](_0x46590f)){for(let _0x2432fc of _0x46590f)_0x2a38c2(_0x2432fc,_0x341473);}else{if(_0x46590f instanceof CompartmentInstance){if(_0x2104eb['has'](_0x46590f['compartment']))throw new RangeError('Duplicate\x20use\x20of\x20compartment\x20in\x20extensions');let _0x32e12b=_0x573859['get'](_0x46590f['compartment'])||_0x46590f['inner'];_0x2104eb['set'](_0x46590f['compartment'],_0x32e12b),_0x2a38c2(_0x32e12b,_0x341473);}else{if(_0x46590f instanceof PrecExtension)_0x2a38c2(_0x46590f['inner'],_0x46590f['prec']);else{if(_0x46590f instanceof StateField)_0x3ab3e9[_0x341473]['push'](_0x46590f),_0x46590f['provides']&&_0x2a38c2(_0x46590f['provides'],_0x341473);else{if(_0x46590f instanceof FacetProvider)_0x3ab3e9[_0x341473]['push'](_0x46590f),_0x46590f['facet']['extensions']&&_0x2a38c2(_0x46590f['facet']['extensions'],_0x32e586['default']);else{let _0xa6acb3=_0x46590f['extension'];if(!_0xa6acb3)throw new Error('Unrecognized\x20extension\x20value\x20in\x20extension\x20set\x20('+_0x46590f+').\x20This\x20sometimes\x20happens\x20because\x20multiple\x20instances\x20of\x20@codemirror/state\x20are\x20loaded,\x20breaking\x20instanceof\x20checks.');_0x2a38c2(_0xa6acb3,_0x341473);}}}}}}(_0x57ec98,_0x32e586['default']),_0x3ab3e9['reduce']((_0x17b20c,_0x4d6c73)=>_0x17b20c['concat'](_0x4d6c73));}function _0x5dac52(_0x3383fe,_0x4e340a){if(0x1&_0x4e340a)return 0x2;let _0x2bb5fd=_0x4e340a>>0x1,_0x3471a1=_0x3383fe['status'][_0x2bb5fd];if(0x4==_0x3471a1)throw new Error('Cyclic\x20dependency\x20between\x20fields\x20and/or\x20facets');if(0x2&_0x3471a1)return _0x3471a1;_0x3383fe['status'][_0x2bb5fd]=0x4;let _0x979261=_0x3383fe['computeSlot'](_0x3383fe,_0x3383fe['config']['dynamicSlots'][_0x2bb5fd]);return _0x3383fe['status'][_0x2bb5fd]=0x2|_0x979261;}function getAddr(_0x2aaf85,_0x26e8ab){return 0x1&_0x26e8ab?_0x2aaf85['config']['staticValues'][_0x26e8ab>>0x1]:_0x2aaf85['values'][_0x26e8ab>>0x1];}const languageData=Facet['define'](),allowMultipleSelections=Facet['define']({'combine':_0x1719b2=>_0x1719b2['some'](_0x2ec6f4=>_0x2ec6f4),'static':!0x0}),lineSeparator=Facet['define']({'combine':_0x296b98=>_0x296b98['length']?_0x296b98[0x0]:void 0x0,'static':!0x0}),changeFilter=Facet['define'](),transactionFilter=Facet['define'](),transactionExtender=Facet['define'](),_0x2dfd95=Facet['define']({'combine':_0x3a7e4c=>!!_0x3a7e4c['length']&&_0x3a7e4c[0x0]});class Annotation{constructor(_0xca925b,_0x577975){this['type']=_0xca925b,this['value']=_0x577975;}static['define'](){return new AnnotationType();}}class AnnotationType{['of'](_0x552689){return new Annotation(this,_0x552689);}}class StateEffectType{constructor(_0x21cf77){this['map']=_0x21cf77;}['of'](_0x921b16){return new StateEffect(this,_0x921b16);}}class StateEffect{constructor(_0x40307a,_0x5dcd5d){this['type']=_0x40307a,this['value']=_0x5dcd5d;}['map'](_0x483c2b){let _0x5e3054=this['type']['map'](this['value'],_0x483c2b);return void 0x0===_0x5e3054?void 0x0:_0x5e3054==this['value']?this:new StateEffect(this['type'],_0x5e3054);}['is'](_0x3011cb){return this['type']==_0x3011cb;}static['define'](_0x3fb323={}){return new StateEffectType(_0x3fb323['map']||(_0x151dd9=>_0x151dd9));}static['mapEffects'](_0x366540,_0x356112){if(!_0x366540['length'])return _0x366540;let _0x80d6bf=[];for(let _0x16e501 of _0x366540){let _0x2ad2e5=_0x16e501['map'](_0x356112);_0x2ad2e5&&_0x80d6bf['push'](_0x2ad2e5);}return _0x80d6bf;}}StateEffect['reconfigure']=StateEffect['define'](),StateEffect['appendConfig']=StateEffect['define']();class Transaction{constructor(_0x172cd9,_0x30b28b,_0x3ab532,_0xdea587,_0x5dd835,_0x11ccc1){this['startState']=_0x172cd9,this['changes']=_0x30b28b,this['selection']=_0x3ab532,this['effects']=_0xdea587,this['annotations']=_0x5dd835,this['scrollIntoView']=_0x11ccc1,this['_doc']=null,this['_state']=null,_0x3ab532&&checkSelection(_0x3ab532,_0x30b28b['newLength']),_0x5dd835['some'](_0x2c6137=>_0x2c6137['type']==Transaction['time'])||(this['annotations']=_0x5dd835['concat'](Transaction['time']['of'](Date['now']())));}static['create'](_0x3eb84c,_0x486d75,_0x1f36cf,_0x1b43b5,_0x366d2b,_0x2ef4fc){return new Transaction(_0x3eb84c,_0x486d75,_0x1f36cf,_0x1b43b5,_0x366d2b,_0x2ef4fc);}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'](_0xc3530b){for(let _0x20d41b of this['annotations'])if(_0x20d41b['type']==_0xc3530b)return _0x20d41b['value'];}get['docChanged'](){return!this['changes']['empty'];}get['reconfigured'](){return this['startState']['config']!=this['state']['config'];}['isUserEvent'](_0x279481){let _0x33c1ae=this['annotation'](Transaction['userEvent']);return!(!_0x33c1ae||!(_0x33c1ae==_0x279481||_0x33c1ae['length']>_0x279481['length']&&_0x33c1ae['slice'](0x0,_0x279481['length'])==_0x279481&&'.'==_0x33c1ae[_0x279481['length']]));}}function _0x110a58(_0x436b05,_0x5e997e){let _0x7ad0a8=[];for(let _0x4e95da=0x0,_0x1de2d1=0x0;;){let _0x457c23,_0x8cc696;if(_0x4e95da<_0x436b05['length']&&(_0x1de2d1==_0x5e997e['length']||_0x5e997e[_0x1de2d1]>=_0x436b05[_0x4e95da]))_0x457c23=_0x436b05[_0x4e95da++],_0x8cc696=_0x436b05[_0x4e95da++];else{if(!(_0x1de2d1<_0x5e997e['length']))return _0x7ad0a8;_0x457c23=_0x5e997e[_0x1de2d1++],_0x8cc696=_0x5e997e[_0x1de2d1++];}!_0x7ad0a8['length']||_0x7ad0a8[_0x7ad0a8['length']-0x1]<_0x457c23?_0x7ad0a8['push'](_0x457c23,_0x8cc696):_0x7ad0a8[_0x7ad0a8['length']-0x1]<_0x8cc696&&(_0x7ad0a8[_0x7ad0a8['length']-0x1]=_0x8cc696);}}function mergeTransaction(_0xd9629f,_0x21a75b,_0x3c1c2e){var _0x3a37ff;let _0x2a354f,_0x578380,_0x611cab;return _0x3c1c2e?(_0x2a354f=_0x21a75b['changes'],_0x578380=ChangeSet['empty'](_0x21a75b['changes']['length']),_0x611cab=_0xd9629f['changes']['compose'](_0x21a75b['changes'])):(_0x2a354f=_0x21a75b['changes']['map'](_0xd9629f['changes']),_0x578380=_0xd9629f['changes']['mapDesc'](_0x21a75b['changes'],!0x0),_0x611cab=_0xd9629f['changes']['compose'](_0x2a354f)),{'changes':_0x611cab,'selection':_0x21a75b['selection']?_0x21a75b['selection']['map'](_0x578380):null===(_0x3a37ff=_0xd9629f['selection'])||void 0x0===_0x3a37ff?void 0x0:_0x3a37ff['map'](_0x2a354f),'effects':StateEffect['mapEffects'](_0xd9629f['effects'],_0x2a354f)['concat'](StateEffect['mapEffects'](_0x21a75b['effects'],_0x578380)),'annotations':_0xd9629f['annotations']['length']?_0xd9629f['annotations']['concat'](_0x21a75b['annotations']):_0x21a75b['annotations'],'scrollIntoView':_0xd9629f['scrollIntoView']||_0x21a75b['scrollIntoView']};}function resolveTransactionInner(_0x121435,_0x280acb,_0x59f8d1){let _0x5ac392=_0x280acb['selection'],_0x2c8ab7=_0x3fb93e(_0x280acb['annotations']);return _0x280acb['userEvent']&&(_0x2c8ab7=_0x2c8ab7['concat'](Transaction['userEvent']['of'](_0x280acb['userEvent']))),{'changes':_0x280acb['changes']instanceof ChangeSet?_0x280acb['changes']:ChangeSet['of'](_0x280acb['changes']||[],_0x59f8d1,_0x121435['facet'](lineSeparator)),'selection':_0x5ac392&&(_0x5ac392 instanceof EditorSelection?_0x5ac392:EditorSelection['single'](_0x5ac392['anchor'],_0x5ac392['head'])),'effects':_0x3fb93e(_0x280acb['effects']),'annotations':_0x2c8ab7,'scrollIntoView':!!_0x280acb['scrollIntoView']};}function resolveTransaction(_0x3a2c23,_0x692079,_0x3d586e){let _0x352226=resolveTransactionInner(_0x3a2c23,_0x692079['length']?_0x692079[0x0]:{},_0x3a2c23['doc']['length']);_0x692079['length']&&!0x1===_0x692079[0x0]['filter']&&(_0x3d586e=!0x1);for(let _0x1c62a6=0x1;_0x1c62a6<_0x692079['length'];_0x1c62a6++){!0x1===_0x692079[_0x1c62a6]['filter']&&(_0x3d586e=!0x1);let _0x26f4fc=!!_0x692079[_0x1c62a6]['sequential'];_0x352226=mergeTransaction(_0x352226,resolveTransactionInner(_0x3a2c23,_0x692079[_0x1c62a6],_0x26f4fc?_0x352226['changes']['newLength']:_0x3a2c23['doc']['length']),_0x26f4fc);}let _0x4a1214=Transaction['create'](_0x3a2c23,_0x352226['changes'],_0x352226['selection'],_0x352226['effects'],_0x352226['annotations'],_0x352226['scrollIntoView']);return extendTransaction(_0x3d586e?filterTransaction(_0x4a1214):_0x4a1214);}function filterTransaction(_0x55454b){let _0x507fdf=_0x55454b['startState'],_0xca0476=!0x0;for(let _0x27376b of _0x507fdf['facet'](changeFilter)){let _0x5d693c=_0x27376b(_0x55454b);if(!0x1===_0x5d693c){_0xca0476=!0x1;break;}Array['isArray'](_0x5d693c)&&(_0xca0476=!0x0===_0xca0476?_0x5d693c:_0x110a58(_0xca0476,_0x5d693c));}if(!0x0!==_0xca0476){let _0x7406aa,_0xa1117b;if(!0x1===_0xca0476)_0xa1117b=_0x55454b['changes']['invertedDesc'],_0x7406aa=ChangeSet['empty'](_0x507fdf['doc']['length']);else{let _0x51a097=_0x55454b['changes']['filter'](_0xca0476);_0x7406aa=_0x51a097['changes'],_0xa1117b=_0x51a097['filtered']['mapDesc'](_0x51a097['changes'])['invertedDesc'];}_0x55454b=Transaction['create'](_0x507fdf,_0x7406aa,_0x55454b['selection']&&_0x55454b['selection']['map'](_0xa1117b),StateEffect['mapEffects'](_0x55454b['effects'],_0xa1117b),_0x55454b['annotations'],_0x55454b['scrollIntoView']);}let _0x5502cf=_0x507fdf['facet'](transactionFilter);for(let _0x59c9d2=_0x5502cf['length']-0x1;_0x59c9d2>=0x0;_0x59c9d2--){let _0x101eed=_0x5502cf[_0x59c9d2](_0x55454b);_0x55454b=_0x101eed instanceof Transaction?_0x101eed:Array['isArray'](_0x101eed)&&0x1==_0x101eed['length']&&_0x101eed[0x0]instanceof Transaction?_0x101eed[0x0]:resolveTransaction(_0x507fdf,_0x3fb93e(_0x101eed),!0x1);}return _0x55454b;}function extendTransaction(_0x46f7bf){let _0xb9ed64=_0x46f7bf['startState'],_0x181222=_0xb9ed64['facet'](transactionExtender),_0x5a31a5=_0x46f7bf;for(let _0x270ef2=_0x181222['length']-0x1;_0x270ef2>=0x0;_0x270ef2--){let _0x5c4486=_0x181222[_0x270ef2](_0x46f7bf);_0x5c4486&&Object['keys'](_0x5c4486)['length']&&(_0x5a31a5=mergeTransaction(_0x5a31a5,resolveTransactionInner(_0xb9ed64,_0x5c4486,_0x46f7bf['changes']['newLength']),!0x0));}return _0x5a31a5==_0x46f7bf?_0x46f7bf:Transaction['create'](_0xb9ed64,_0x46f7bf['changes'],_0x46f7bf['selection'],_0x5a31a5['effects'],_0x5a31a5['annotations'],_0x5a31a5['scrollIntoView']);}Transaction['time']=Annotation['define'](),Transaction['userEvent']=Annotation['define'](),Transaction['addToHistory']=Annotation['define'](),Transaction['remote']=Annotation['define']();const _0x303316=[];function _0x3fb93e(_0x156e2e){return null==_0x156e2e?_0x303316:Array['isArray'](_0x156e2e)?_0x156e2e:[_0x156e2e];}var CharCategory=function(_0x39a4bf){return _0x39a4bf[_0x39a4bf['Word']=0x0]='Word',_0x39a4bf[_0x39a4bf['Space']=0x1]='Space',_0x39a4bf[_0x39a4bf['Other']=0x2]='Other',_0x39a4bf;}(CharCategory||(CharCategory={}));const _0x4259f8=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let _0x2c7735;try{_0x2c7735=new RegExp('[\x5cp{Alphabetic}\x5cp{Number}_]','u');}catch(_0x129ee6){}function _0x36688b(_0x495031){if(_0x2c7735)return _0x2c7735['test'](_0x495031);for(let _0x4fcc32=0x0;_0x4fcc32<_0x495031['length'];_0x4fcc32++){let _0x40f765=_0x495031[_0x4fcc32];if(/\w/['test'](_0x40f765)||_0x40f765>'\u0080'&&(_0x40f765['toUpperCase']()!=_0x40f765['toLowerCase']()||_0x4259f8['test'](_0x40f765)))return!0x0;}return!0x1;}function makeCategorizer(_0x2565a0){return _0x24f32b=>{if(!/\S/['test'](_0x24f32b))return CharCategory['Space'];if(_0x36688b(_0x24f32b))return CharCategory['Word'];for(let _0x37def4=0x0;_0x37def4<_0x2565a0['length'];_0x37def4++)if(_0x24f32b['indexOf'](_0x2565a0[_0x37def4])>-0x1)return CharCategory['Word'];return CharCategory['Other'];};}class EditorState{constructor(_0x2ccb27,_0x43faab,_0x4a78fb,_0x5b9553,_0x1a76f8,_0x5f1e23){this['config']=_0x2ccb27,this['doc']=_0x43faab,this['selection']=_0x4a78fb,this['values']=_0x5b9553,this['status']=_0x2ccb27['statusTemplate']['slice'](),this['computeSlot']=_0x1a76f8,_0x5f1e23&&(_0x5f1e23['_state']=this);for(let _0x5a6ceb=0x0;_0x5a6ceb<this['config']['dynamicSlots']['length'];_0x5a6ceb++)_0x5dac52(this,_0x5a6ceb<<0x1);this['computeSlot']=null;}['field'](_0x5c5b95,_0x2b08d8=!0x0){let _0x44e961=this['config']['address'][_0x5c5b95['id']];if(null!=_0x44e961)return _0x5dac52(this,_0x44e961),getAddr(this,_0x44e961);if(_0x2b08d8)throw new RangeError('Field\x20is\x20not\x20present\x20in\x20this\x20state');}['update'](..._0x7c270c){return resolveTransaction(this,_0x7c270c,!0x0);}['applyTransaction'](_0xbc8157){let _0x510426,_0x5ea07e=this['config'],{base:_0x16364a,compartments:_0x417178}=_0x5ea07e;for(let _0x30f8d4 of _0xbc8157['effects'])_0x30f8d4['is'](Compartment['reconfigure'])?(_0x5ea07e&&(_0x417178=new Map(),_0x5ea07e['compartments']['forEach']((_0x131e45,_0x225ba1)=>_0x417178['set'](_0x225ba1,_0x131e45)),_0x5ea07e=null),_0x417178['set'](_0x30f8d4['value']['compartment'],_0x30f8d4['value']['extension'])):_0x30f8d4['is'](StateEffect['reconfigure'])?(_0x5ea07e=null,_0x16364a=_0x30f8d4['value']):_0x30f8d4['is'](StateEffect['appendConfig'])&&(_0x5ea07e=null,_0x16364a=_0x3fb93e(_0x16364a)['concat'](_0x30f8d4['value']));if(_0x5ea07e)_0x510426=_0xbc8157['startState']['values']['slice']();else _0x5ea07e=Configuration['resolve'](_0x16364a,_0x417178,this),_0x510426=new EditorState(_0x5ea07e,this['doc'],this['selection'],_0x5ea07e['dynamicSlots']['map'](()=>null),(_0xbadcb,_0x476575)=>_0x476575['reconfigure'](_0xbadcb,this),null)['values'];let _0x1db8f9=_0xbc8157['startState']['facet'](allowMultipleSelections)?_0xbc8157['newSelection']:_0xbc8157['newSelection']['asSingle']();new EditorState(_0x5ea07e,_0xbc8157['newDoc'],_0x1db8f9,_0x510426,(_0x59edb7,_0x5249fe)=>_0x5249fe['update'](_0x59edb7,_0xbc8157),_0xbc8157);}['replaceSelection'](_0x3d0e5c){return'string'==typeof _0x3d0e5c&&(_0x3d0e5c=this['toText'](_0x3d0e5c)),this['changeByRange'](_0x5335be=>({'changes':{'from':_0x5335be['from'],'to':_0x5335be['to'],'insert':_0x3d0e5c},'range':EditorSelection['cursor'](_0x5335be['from']+_0x3d0e5c['length'])}));}['changeByRange'](_0x43ae21){let _0x26e50a=this['selection'],_0x8c5825=_0x43ae21(_0x26e50a['ranges'][0x0]),_0x115efe=this['changes'](_0x8c5825['changes']),_0x147144=[_0x8c5825['range']],_0x33ccad=_0x3fb93e(_0x8c5825['effects']);for(let _0x1cea1e=0x1;_0x1cea1e<_0x26e50a['ranges']['length'];_0x1cea1e++){let _0x8761c5=_0x43ae21(_0x26e50a['ranges'][_0x1cea1e]),_0x196a2a=this['changes'](_0x8761c5['changes']),_0x532666=_0x196a2a['map'](_0x115efe);for(let _0x4f26cc=0x0;_0x4f26cc<_0x1cea1e;_0x4f26cc++)_0x147144[_0x4f26cc]=_0x147144[_0x4f26cc]['map'](_0x532666);let _0x8d48ce=_0x115efe['mapDesc'](_0x196a2a,!0x0);_0x147144['push'](_0x8761c5['range']['map'](_0x8d48ce)),_0x115efe=_0x115efe['compose'](_0x532666),_0x33ccad=StateEffect['mapEffects'](_0x33ccad,_0x532666)['concat'](StateEffect['mapEffects'](_0x3fb93e(_0x8761c5['effects']),_0x8d48ce));}return{'changes':_0x115efe,'selection':EditorSelection['create'](_0x147144,_0x26e50a['mainIndex']),'effects':_0x33ccad};}['changes'](_0x5b3fa3=[]){return _0x5b3fa3 instanceof ChangeSet?_0x5b3fa3:ChangeSet['of'](_0x5b3fa3,this['doc']['length'],this['facet'](EditorState['lineSeparator']));}['toText'](_0x56721b){return Text['of'](_0x56721b['split'](this['facet'](EditorState['lineSeparator'])||DefaultSplit));}['sliceDoc'](_0x343ba1=0x0,_0x5da4=this['doc']['length']){return this['doc']['sliceString'](_0x343ba1,_0x5da4,this['lineBreak']);}['facet'](_0x40401d){let _0x2221d6=this['config']['address'][_0x40401d['id']];return null==_0x2221d6?_0x40401d['default']:(_0x5dac52(this,_0x2221d6),getAddr(this,_0x2221d6));}['toJSON'](_0x8a8c86){let _0x25ec7f={'doc':this['sliceDoc'](),'selection':this['selection']['toJSON']()};if(_0x8a8c86)for(let _0x18bd01 in _0x8a8c86){let _0x4854c0=_0x8a8c86[_0x18bd01];_0x4854c0 instanceof StateField&&null!=this['config']['address'][_0x4854c0['id']]&&(_0x25ec7f[_0x18bd01]=_0x4854c0['spec']['toJSON'](this['field'](_0x8a8c86[_0x18bd01]),this));}return _0x25ec7f;}static['fromJSON'](_0x2edbc8,_0x7bb110={},_0x54afb2){if(!_0x2edbc8||'string'!=typeof _0x2edbc8['doc'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorState');let _0x198aad=[];if(_0x54afb2){for(let _0xc445db in _0x54afb2)if(Object['prototype']['hasOwnProperty']['call'](_0x2edbc8,_0xc445db)){let _0x560fab=_0x54afb2[_0xc445db],_0x1eb08e=_0x2edbc8[_0xc445db];_0x198aad['push'](_0x560fab['init'](_0x11dfa7=>_0x560fab['spec']['fromJSON'](_0x1eb08e,_0x11dfa7)));}}return EditorState['create']({'doc':_0x2edbc8['doc'],'selection':EditorSelection['fromJSON'](_0x2edbc8['selection']),'extensions':_0x7bb110['extensions']?_0x198aad['concat']([_0x7bb110['extensions']]):_0x198aad});}static['create'](_0x5ada24={}){let _0x2f55bf=Configuration['resolve'](_0x5ada24['extensions']||[],new Map()),_0x3eb9c9=_0x5ada24['doc']instanceof Text?_0x5ada24['doc']:Text['of']((_0x5ada24['doc']||'')['split'](_0x2f55bf['staticFacet'](EditorState['lineSeparator'])||DefaultSplit)),_0x4bca6e=_0x5ada24['selection']?_0x5ada24['selection']instanceof EditorSelection?_0x5ada24['selection']:EditorSelection['single'](_0x5ada24['selection']['anchor'],_0x5ada24['selection']['head']):EditorSelection['single'](0x0);return checkSelection(_0x4bca6e,_0x3eb9c9['length']),_0x2f55bf['staticFacet'](allowMultipleSelections)||(_0x4bca6e=_0x4bca6e['asSingle']()),new EditorState(_0x2f55bf,_0x3eb9c9,_0x4bca6e,_0x2f55bf['dynamicSlots']['map'](()=>null),(_0x355134,_0x49ca15)=>_0x49ca15['create'](_0x355134),null);}get['tabSize'](){return this['facet'](EditorState['tabSize']);}get['lineBreak'](){return this['facet'](EditorState['lineSeparator'])||'\x0a';}get['readOnly'](){return this['facet'](_0x2dfd95);}['phrase'](_0x8e4148,..._0x1b2e90){for(let _0x322036 of this['facet'](EditorState['phrases']))if(Object['prototype']['hasOwnProperty']['call'](_0x322036,_0x8e4148)){_0x8e4148=_0x322036[_0x8e4148];break;}return _0x1b2e90['length']&&(_0x8e4148=_0x8e4148['replace'](/\$(\$|\d*)/g,(_0x17080e,_0x3046b8)=>{if('$'==_0x3046b8)return'$';let _0x270127=+(_0x3046b8||0x1);return!_0x270127||_0x270127>_0x1b2e90['length']?_0x17080e:_0x1b2e90[_0x270127-0x1];})),_0x8e4148;}['languageDataAt'](_0x4b04da,_0x4103f8,_0x803078=-0x1){let _0x1ec6ec=[];for(let _0x8e5507 of this['facet'](languageData))for(let _0x50400b of _0x8e5507(this,_0x4103f8,_0x803078))Object['prototype']['hasOwnProperty']['call'](_0x50400b,_0x4b04da)&&_0x1ec6ec['push'](_0x50400b[_0x4b04da]);return _0x1ec6ec;}['charCategorizer'](_0x5da6c3){return makeCategorizer(this['languageDataAt']('wordChars',_0x5da6c3)['join'](''));}['wordAt'](_0xfb53dd){let {text:_0x385480,from:_0x394031,length:_0x313220}=this['doc']['lineAt'](_0xfb53dd),_0x272268=this['charCategorizer'](_0xfb53dd),_0x5e0306=_0xfb53dd-_0x394031,_0x3194c2=_0xfb53dd-_0x394031;for(;_0x5e0306>0x0;){let _0x1b306c=findClusterBreak(_0x385480,_0x5e0306,!0x1);if(_0x272268(_0x385480['slice'](_0x1b306c,_0x5e0306))!=CharCategory['Word'])break;_0x5e0306=_0x1b306c;}for(;_0x3194c2<_0x313220;){let _0xacc3d5=findClusterBreak(_0x385480,_0x3194c2);if(_0x272268(_0x385480['slice'](_0x3194c2,_0xacc3d5))!=CharCategory['Word'])break;_0x3194c2=_0xacc3d5;}return _0x5e0306==_0x3194c2?null:EditorSelection['range'](_0x5e0306+_0x394031,_0x3194c2+_0x394031);}}function _0x2aed34(_0x3d47c4,_0xa4bde9,_0x1f48b5={}){let _0x4dc0be={};for(let _0x2ab834 of _0x3d47c4)for(let _0x5cc9c1 of Object['keys'](_0x2ab834)){let _0x24ce39=_0x2ab834[_0x5cc9c1],_0x6dfda7=_0x4dc0be[_0x5cc9c1];if(void 0x0===_0x6dfda7)_0x4dc0be[_0x5cc9c1]=_0x24ce39;else{if(_0x6dfda7===_0x24ce39||void 0x0===_0x24ce39);else{if(!Object['hasOwnProperty']['call'](_0x1f48b5,_0x5cc9c1))throw new Error('Config\x20merge\x20conflict\x20for\x20field\x20'+_0x5cc9c1);_0x4dc0be[_0x5cc9c1]=_0x1f48b5[_0x5cc9c1](_0x6dfda7,_0x24ce39);}}}for(let _0x2cd502 in _0xa4bde9)void 0x0===_0x4dc0be[_0x2cd502]&&(_0x4dc0be[_0x2cd502]=_0xa4bde9[_0x2cd502]);return _0x4dc0be;}EditorState['allowMultipleSelections']=allowMultipleSelections,EditorState['tabSize']=Facet['define']({'combine':_0xe841c7=>_0xe841c7['length']?_0xe841c7[0x0]:0x4}),EditorState['lineSeparator']=lineSeparator,EditorState['readOnly']=_0x2dfd95,EditorState['phrases']=Facet['define']({'compare'(_0x1cb39a,_0x3b852b){let _0x5368eb=Object['keys'](_0x1cb39a),_0x594424=Object['keys'](_0x3b852b);return _0x5368eb['length']==_0x594424['length']&&_0x5368eb['every'](_0x5e6e53=>_0x1cb39a[_0x5e6e53]==_0x3b852b[_0x5e6e53]);}}),EditorState['languageData']=languageData,EditorState['changeFilter']=changeFilter,EditorState['transactionFilter']=transactionFilter,EditorState['transactionExtender']=transactionExtender,Compartment['reconfigure']=StateEffect['define']();class _0x23adea{['eq'](_0x583809){return this==_0x583809;}['range'](_0x22033c,_0x4ba332=_0x22033c){return _0x2ccf6b['create'](_0x22033c,_0x4ba332,this);}}_0x23adea['prototype']['startSide']=_0x23adea['prototype']['endSide']=0x0,_0x23adea['prototype']['point']=!0x1,_0x23adea['prototype']['mapMode']=_0x7e2fb5['TrackDel'];let _0x2ccf6b=class _0x26b7bd{constructor(_0x2e512b,_0x3e48d1,_0x38bdf1){this['from']=_0x2e512b,this['to']=_0x3e48d1,this['value']=_0x38bdf1;}static['create'](_0xa80084,_0x2481da,_0x46188a){return new _0x26b7bd(_0xa80084,_0x2481da,_0x46188a);}};function _0x3ebe39(_0x26da24,_0x51c199){return _0x26da24['from']-_0x51c199['from']||_0x26da24['value']['startSide']-_0x51c199['value']['startSide'];}class _0x2bde4f{constructor(_0x5375fb,_0x1ab476,_0x4be156,_0x15926b){this['from']=_0x5375fb,this['to']=_0x1ab476,this['value']=_0x4be156,this['maxPoint']=_0x15926b;}get['length'](){return this['to'][this['to']['length']-0x1];}['findIndex'](_0x15b82,_0x388dd8,_0x4dfa9b,_0x4e8ea8=0x0){let _0x2bd523=_0x4dfa9b?this['to']:this['from'];for(let _0xbc63aa=_0x4e8ea8,_0x33b749=_0x2bd523['length'];;){if(_0xbc63aa==_0x33b749)return _0xbc63aa;let _0x368acc=_0xbc63aa+_0x33b749>>0x1,_0x3fcfbd=_0x2bd523[_0x368acc]-_0x15b82||(_0x4dfa9b?this['value'][_0x368acc]['endSide']:this['value'][_0x368acc]['startSide'])-_0x388dd8;if(_0x368acc==_0xbc63aa)return _0x3fcfbd>=0x0?_0xbc63aa:_0x33b749;_0x3fcfbd>=0x0?_0x33b749=_0x368acc:_0xbc63aa=_0x368acc+0x1;}}['between'](_0x531cd9,_0x19d9d3,_0x3e84c6,_0x5dd548){for(let _0x40817e=this['findIndex'](_0x19d9d3,-0x3b9aca00,!0x0),_0x2bd536=this['findIndex'](_0x3e84c6,0x3b9aca00,!0x1,_0x40817e);_0x40817e<_0x2bd536;_0x40817e++)if(!0x1===_0x5dd548(this['from'][_0x40817e]+_0x531cd9,this['to'][_0x40817e]+_0x531cd9,this['value'][_0x40817e]))return!0x1;}['map'](_0x358e7a,_0x5938f5){let _0x4a7e8a=[],_0x5b7b29=[],_0x2aefed=[],_0x438a40=-0x1,_0x5b056f=-0x1;for(let _0x20768b=0x0;_0x20768b<this['value']['length'];_0x20768b++){let _0x47c6cf,_0x16f441,_0x225772=this['value'][_0x20768b],_0x2d1720=this['from'][_0x20768b]+_0x358e7a,_0x49af65=this['to'][_0x20768b]+_0x358e7a;if(_0x2d1720==_0x49af65){let _0x2e8e50=_0x5938f5['mapPos'](_0x2d1720,_0x225772['startSide'],_0x225772['mapMode']);if(null==_0x2e8e50)continue;if(_0x47c6cf=_0x16f441=_0x2e8e50,_0x225772['startSide']!=_0x225772['endSide']&&(_0x16f441=_0x5938f5['mapPos'](_0x2d1720,_0x225772['endSide']),_0x16f441<_0x47c6cf))continue;}else{if(_0x47c6cf=_0x5938f5['mapPos'](_0x2d1720,_0x225772['startSide']),_0x16f441=_0x5938f5['mapPos'](_0x49af65,_0x225772['endSide']),_0x47c6cf>_0x16f441||_0x47c6cf==_0x16f441&&_0x225772['startSide']>0x0&&_0x225772['endSide']<=0x0)continue;}(_0x16f441-_0x47c6cf||_0x225772['endSide']-_0x225772['startSide'])<0x0||(_0x438a40<0x0&&(_0x438a40=_0x47c6cf),_0x225772['point']&&(_0x5b056f=Math['max'](_0x5b056f,_0x16f441-_0x47c6cf)),_0x4a7e8a['push'](_0x225772),_0x5b7b29['push'](_0x47c6cf-_0x438a40),_0x2aefed['push'](_0x16f441-_0x438a40));}return{'mapped':_0x4a7e8a['length']?new _0x2bde4f(_0x5b7b29,_0x2aefed,_0x4a7e8a,_0x5b056f):null,'pos':_0x438a40};}}class RangeSet{constructor(_0x36ab96,_0x24af7d,_0x269236,_0x1bedd2){this['chunkPos']=_0x36ab96,this['chunk']=_0x24af7d,this['nextLayer']=_0x269236,this['maxPoint']=_0x1bedd2;}static['create'](_0x14905f,_0x84287f,_0x4069cd,_0x3809ec){return new RangeSet(_0x14905f,_0x84287f,_0x4069cd,_0x3809ec);}get['length'](){let _0x3f8c34=this['chunk']['length']-0x1;return _0x3f8c34<0x0?0x0:Math['max'](this['chunkEnd'](_0x3f8c34),this['nextLayer']['length']);}get['size'](){if(this['isEmpty'])return 0x0;let _0x3a4ef7=this['nextLayer']['size'];for(let _0x1ba617 of this['chunk'])_0x3a4ef7+=_0x1ba617['value']['length'];return _0x3a4ef7;}['chunkEnd'](_0x50dd83){return this['chunkPos'][_0x50dd83]+this['chunk'][_0x50dd83]['length'];}['update'](_0x43989f){let {add:_0x49b07d=[],sort:_0x1f1fb5=!0x1,filterFrom:_0x2d0a82=0x0,filterTo:_0x1965e2=this['length']}=_0x43989f,_0x23d9a4=_0x43989f['filter'];if(0x0==_0x49b07d['length']&&!_0x23d9a4)return this;if(_0x1f1fb5&&(_0x49b07d=_0x49b07d['slice']()['sort'](_0x3ebe39)),this['isEmpty'])return _0x49b07d['length']?RangeSet['of'](_0x49b07d):this;let _0x29bab2=new _0x5c4c53(this,null,-0x1)['goto'](0x0),_0x49578f=0x0,_0x3d94fc=[],_0x582c70=new RangeSetBuilder();for(;_0x29bab2['value']||_0x49578f<_0x49b07d['length'];)if(_0x49578f<_0x49b07d['length']&&(_0x29bab2['from']-_0x49b07d[_0x49578f]['from']||_0x29bab2['startSide']-_0x49b07d[_0x49578f]['value']['startSide'])>=0x0){let _0x3ad253=_0x49b07d[_0x49578f++];_0x582c70['addInner'](_0x3ad253['from'],_0x3ad253['to'],_0x3ad253['value'])||_0x3d94fc['push'](_0x3ad253);}else 0x1==_0x29bab2['rangeIndex']&&_0x29bab2['chunkIndex']<this['chunk']['length']&&(_0x49578f==_0x49b07d['length']||this['chunkEnd'](_0x29bab2['chunkIndex'])<_0x49b07d[_0x49578f]['from'])&&(!_0x23d9a4||_0x2d0a82>this['chunkEnd'](_0x29bab2['chunkIndex'])||_0x1965e2<this['chunkPos'][_0x29bab2['chunkIndex']])&&_0x582c70['addChunk'](this['chunkPos'][_0x29bab2['chunkIndex']],this['chunk'][_0x29bab2['chunkIndex']])?_0x29bab2['nextChunk']():((!_0x23d9a4||_0x2d0a82>_0x29bab2['to']||_0x1965e2<_0x29bab2['from']||_0x23d9a4(_0x29bab2['from'],_0x29bab2['to'],_0x29bab2['value']))&&(_0x582c70['addInner'](_0x29bab2['from'],_0x29bab2['to'],_0x29bab2['value'])||_0x3d94fc['push'](_0x2ccf6b['create'](_0x29bab2['from'],_0x29bab2['to'],_0x29bab2['value']))),_0x29bab2['next']());return _0x582c70['finishInner'](this['nextLayer']['isEmpty']&&!_0x3d94fc['length']?RangeSet['empty']:this['nextLayer']['update']({'add':_0x3d94fc,'filter':_0x23d9a4,'filterFrom':_0x2d0a82,'filterTo':_0x1965e2}));}['map'](_0x44fe99){if(_0x44fe99['empty']||this['isEmpty'])return this;let _0x3e11b1=[],_0x5dde98=[],_0x3222a6=-0x1;for(let _0x242cb7=0x0;_0x242cb7<this['chunk']['length'];_0x242cb7++){let _0x325f2d=this['chunkPos'][_0x242cb7],_0x4de847=this['chunk'][_0x242cb7],_0x2be596=_0x44fe99['touchesRange'](_0x325f2d,_0x325f2d+_0x4de847['length']);if(!0x1===_0x2be596)_0x3222a6=Math['max'](_0x3222a6,_0x4de847['maxPoint']),_0x3e11b1['push'](_0x4de847),_0x5dde98['push'](_0x44fe99['mapPos'](_0x325f2d));else{if(!0x0===_0x2be596){let {mapped:_0x237827,pos:_0x4117bf}=_0x4de847['map'](_0x325f2d,_0x44fe99);_0x237827&&(_0x3222a6=Math['max'](_0x3222a6,_0x237827['maxPoint']),_0x3e11b1['push'](_0x237827),_0x5dde98['push'](_0x4117bf));}}}let _0x44d07e=this['nextLayer']['map'](_0x44fe99);return 0x0==_0x3e11b1['length']?_0x44d07e:new RangeSet(_0x5dde98,_0x3e11b1,_0x44d07e||RangeSet['empty'],_0x3222a6);}['between'](_0x5501e5,_0x6d68a2,_0x35ccb2){if(!this['isEmpty']){for(let _0xf52cd9=0x0;_0xf52cd9<this['chunk']['length'];_0xf52cd9++){let _0x3ef882=this['chunkPos'][_0xf52cd9],_0x5f0912=this['chunk'][_0xf52cd9];if(_0x6d68a2>=_0x3ef882&&_0x5501e5<=_0x3ef882+_0x5f0912['length']&&!0x1===_0x5f0912['between'](_0x3ef882,_0x5501e5-_0x3ef882,_0x6d68a2-_0x3ef882,_0x35ccb2))return;}this['nextLayer']['between'](_0x5501e5,_0x6d68a2,_0x35ccb2);}}['iter'](_0x1fae4c=0x0){return _0x652365['from']([this])['goto'](_0x1fae4c);}get['isEmpty'](){return this['nextLayer']==this;}static['iter'](_0x4a4e96,_0x568cd1=0x0){return _0x652365['from'](_0x4a4e96)['goto'](_0x568cd1);}static['compare'](_0x155c46,_0x2f5d48,_0x32dc91,_0x1aa6b5,_0x3905f5=-0x1){let _0x2ae6a3=_0x155c46['filter'](_0x22b435=>_0x22b435['maxPoint']>0x0||!_0x22b435['isEmpty']&&_0x22b435['maxPoint']>=_0x3905f5),_0x230909=_0x2f5d48['filter'](_0x2b1bab=>_0x2b1bab['maxPoint']>0x0||!_0x2b1bab['isEmpty']&&_0x2b1bab['maxPoint']>=_0x3905f5),_0x5e42d0=_0x5e610b(_0x2ae6a3,_0x230909,_0x32dc91),_0x28f7aa=new _0x431f8f(_0x2ae6a3,_0x5e42d0,_0x3905f5),_0x152bb2=new _0x431f8f(_0x230909,_0x5e42d0,_0x3905f5);_0x32dc91['iterGaps']((_0x57331e,_0x1e0249,_0x138668)=>_0x18f6b2(_0x28f7aa,_0x57331e,_0x152bb2,_0x1e0249,_0x138668,_0x1aa6b5)),_0x32dc91['empty']&&0x0==_0x32dc91['length']&&_0x18f6b2(_0x28f7aa,0x0,_0x152bb2,0x0,0x0,_0x1aa6b5);}static['eq'](_0xe015b1,_0x536c8c,_0x193124=0x0,_0x3d187e){null==_0x3d187e&&(_0x3d187e=0x3b9ac9ff);let _0x47bc26=_0xe015b1['filter'](_0x5a8c56=>!_0x5a8c56['isEmpty']&&_0x536c8c['indexOf'](_0x5a8c56)<0x0),_0xe587f4=_0x536c8c['filter'](_0x1f5433=>!_0x1f5433['isEmpty']&&_0xe015b1['indexOf'](_0x1f5433)<0x0);if(_0x47bc26['length']!=_0xe587f4['length'])return!0x1;if(!_0x47bc26['length'])return!0x0;let _0x2e2472=_0x5e610b(_0x47bc26,_0xe587f4),_0x17a456=new _0x431f8f(_0x47bc26,_0x2e2472,0x0)['goto'](_0x193124),_0x38f27d=new _0x431f8f(_0xe587f4,_0x2e2472,0x0)['goto'](_0x193124);for(;;){if(_0x17a456['to']!=_0x38f27d['to']||!_0x185ecb(_0x17a456['active'],_0x38f27d['active'])||_0x17a456['point']&&(!_0x38f27d['point']||!_0x17a456['point']['eq'](_0x38f27d['point'])))return!0x1;if(_0x17a456['to']>_0x3d187e)return!0x0;_0x17a456['next'](),_0x38f27d['next']();}}static['spans'](_0x52d5f0,_0x30d99d,_0x4e068f,_0x390b8e,_0x1dd164=-0x1){let _0x4d43ea=new _0x431f8f(_0x52d5f0,null,_0x1dd164)['goto'](_0x30d99d),_0x485ea2=_0x30d99d,_0x23488a=_0x4d43ea['openStart'];for(;;){let _0x2c01d0=Math['min'](_0x4d43ea['to'],_0x4e068f);if(_0x4d43ea['point']){let _0x6c8612=_0x4d43ea['activeForPoint'](_0x4d43ea['to']),_0x20a096=_0x4d43ea['pointFrom']<_0x30d99d?_0x6c8612['length']+0x1:_0x4d43ea['point']['startSide']<0x0?_0x6c8612['length']:Math['min'](_0x6c8612['length'],_0x23488a);_0x390b8e['point'](_0x485ea2,_0x2c01d0,_0x4d43ea['point'],_0x6c8612,_0x20a096,_0x4d43ea['pointRank']),_0x23488a=Math['min'](_0x4d43ea['openEnd'](_0x2c01d0),_0x6c8612['length']);}else _0x2c01d0>_0x485ea2&&(_0x390b8e['span'](_0x485ea2,_0x2c01d0,_0x4d43ea['active'],_0x23488a),_0x23488a=_0x4d43ea['openEnd'](_0x2c01d0));if(_0x4d43ea['to']>_0x4e068f)return _0x23488a+(_0x4d43ea['point']&&_0x4d43ea['to']>_0x4e068f?0x1:0x0);_0x485ea2=_0x4d43ea['to'],_0x4d43ea['next']();}}static['of'](_0x592c76,_0x2fd618=!0x1){let _0x5b1839=new RangeSetBuilder();for(let _0x445c3b of _0x592c76 instanceof _0x2ccf6b?[_0x592c76]:_0x2fd618?lazySort(_0x592c76):_0x592c76)_0x5b1839['add'](_0x445c3b['from'],_0x445c3b['to'],_0x445c3b['value']);return _0x5b1839['finish']();}static['join'](_0x38d694){if(!_0x38d694['length'])return RangeSet['empty'];let _0x5d2c49=_0x38d694[_0x38d694['length']-0x1];for(let _0x1a9ed1=_0x38d694['length']-0x2;_0x1a9ed1>=0x0;_0x1a9ed1--)for(let _0x3ade3e=_0x38d694[_0x1a9ed1];_0x3ade3e!=RangeSet['empty'];_0x3ade3e=_0x3ade3e['nextLayer'])_0x5d2c49=new RangeSet(_0x3ade3e['chunkPos'],_0x3ade3e['chunk'],_0x5d2c49,Math['max'](_0x3ade3e['maxPoint'],_0x5d2c49['maxPoint']));return _0x5d2c49;}}function lazySort(_0x19b9d3){if(_0x19b9d3['length']>0x1)for(let _0x4ee081=_0x19b9d3[0x0],_0x5781a2=0x1;_0x5781a2<_0x19b9d3['length'];_0x5781a2++){let _0x31b828=_0x19b9d3[_0x5781a2];if(_0x3ebe39(_0x4ee081,_0x31b828)>0x0)return _0x19b9d3['slice']()['sort'](_0x3ebe39);_0x4ee081=_0x31b828;}return _0x19b9d3;}RangeSet['empty']=new RangeSet([],[],null,-0x1),RangeSet['empty']['nextLayer']=RangeSet['empty'];class RangeSetBuilder{['finishChunk'](_0x59d33){this['chunks']['push'](new _0x2bde4f(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,_0x59d33&&(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'](_0x466c0b,_0x3c77db,_0x2c9a91){this['addInner'](_0x466c0b,_0x3c77db,_0x2c9a91)||(this['nextLayer']||(this['nextLayer']=new RangeSetBuilder()))['add'](_0x466c0b,_0x3c77db,_0x2c9a91);}['addInner'](_0xafedc3,_0x2c49f1,_0x426215){let _0x5e5c6e=_0xafedc3-this['lastTo']||_0x426215['startSide']-this['last']['endSide'];if(_0x5e5c6e<=0x0&&(_0xafedc3-this['lastFrom']||_0x426215['startSide']-this['last']['startSide'])<0x0)throw new Error('Ranges\x20must\x20be\x20added\x20sorted\x20by\x20`from`\x20position\x20and\x20`startSide`');return!(_0x5e5c6e<0x0)&&(0xfa==this['from']['length']&&this['finishChunk'](!0x0),this['chunkStart']<0x0&&(this['chunkStart']=_0xafedc3),this['from']['push'](_0xafedc3-this['chunkStart']),this['to']['push'](_0x2c49f1-this['chunkStart']),this['last']=_0x426215,this['lastFrom']=_0xafedc3,this['lastTo']=_0x2c49f1,this['value']['push'](_0x426215),_0x426215['point']&&(this['maxPoint']=Math['max'](this['maxPoint'],_0x2c49f1-_0xafedc3)),!0x0);}['addChunk'](_0xf0cd45,_0x1fdf3b){if((_0xf0cd45-this['lastTo']||_0x1fdf3b['value'][0x0]['startSide']-this['last']['endSide'])<0x0)return!0x1;this['from']['length']&&this['finishChunk'](!0x0),this['setMaxPoint']=Math['max'](this['setMaxPoint'],_0x1fdf3b['maxPoint']),this['chunks']['push'](_0x1fdf3b),this['chunkPos']['push'](_0xf0cd45);let _0x2ee4e5=_0x1fdf3b['value']['length']-0x1;return this['last']=_0x1fdf3b['value'][_0x2ee4e5],this['lastFrom']=_0x1fdf3b['from'][_0x2ee4e5]+_0xf0cd45,this['lastTo']=_0x1fdf3b['to'][_0x2ee4e5]+_0xf0cd45,!0x0;}['finish'](){return this['finishInner'](RangeSet['empty']);}['finishInner'](_0x49b75c){if(this['from']['length']&&this['finishChunk'](!0x1),0x0==this['chunks']['length'])return _0x49b75c;let _0x319ac5=RangeSet['create'](this['chunkPos'],this['chunks'],this['nextLayer']?this['nextLayer']['finishInner'](_0x49b75c):_0x49b75c,this['setMaxPoint']);return this['from']=null,_0x319ac5;}}function _0x5e610b(_0x17b903,_0x875897,_0x179cfc){let _0x581ede=new Map();for(let _0x5cb1d4 of _0x17b903)for(let _0x1d4a40=0x0;_0x1d4a40<_0x5cb1d4['chunk']['length'];_0x1d4a40++)_0x5cb1d4['chunk'][_0x1d4a40]['maxPoint']<=0x0&&_0x581ede['set'](_0x5cb1d4['chunk'][_0x1d4a40],_0x5cb1d4['chunkPos'][_0x1d4a40]);let _0x3ba477=new Set();for(let _0x2ea2d3 of _0x875897)for(let _0x157f0c=0x0;_0x157f0c<_0x2ea2d3['chunk']['length'];_0x157f0c++){let _0x1a065f=_0x581ede['get'](_0x2ea2d3['chunk'][_0x157f0c]);null==_0x1a065f||(_0x179cfc?_0x179cfc['mapPos'](_0x1a065f):_0x1a065f)!=_0x2ea2d3['chunkPos'][_0x157f0c]||(null==_0x179cfc?void 0x0:_0x179cfc['touchesRange'](_0x1a065f,_0x1a065f+_0x2ea2d3['chunk'][_0x157f0c]['length']))||_0x3ba477['add'](_0x2ea2d3['chunk'][_0x157f0c]);}return _0x3ba477;}class _0x5c4c53{constructor(_0x250e53,_0x1c8e1f,_0x1fcdc3,_0x12c0aa=0x0){this['layer']=_0x250e53,this['skip']=_0x1c8e1f,this['minPoint']=_0x1fcdc3,this['rank']=_0x12c0aa;}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}get['endSide'](){return this['value']?this['value']['endSide']:0x0;}['goto'](_0x1ac139,_0x399e58=-0x3b9aca00){return this['chunkIndex']=this['rangeIndex']=0x0,this['gotoInner'](_0x1ac139,_0x399e58,!0x1),this;}['gotoInner'](_0xdca8de,_0x40aa8e,_0x40df17){for(;this['chunkIndex']<this['layer']['chunk']['length'];){let _0x230bfe=this['layer']['chunk'][this['chunkIndex']];if(!(this['skip']&&this['skip']['has'](_0x230bfe)||this['layer']['chunkEnd'](this['chunkIndex'])<_0xdca8de||_0x230bfe['maxPoint']<this['minPoint']))break;this['chunkIndex']++,_0x40df17=!0x1;}if(this['chunkIndex']<this['layer']['chunk']['length']){let _0x387cd6=this['layer']['chunk'][this['chunkIndex']]['findIndex'](_0xdca8de-this['layer']['chunkPos'][this['chunkIndex']],_0x40aa8e,!0x0);(!_0x40df17||this['rangeIndex']<_0x387cd6)&&this['setRangeIndex'](_0x387cd6);}this['next']();}['forward'](_0x13b358,_0xfd57d8){(this['to']-_0x13b358||this['endSide']-_0xfd57d8)<0x0&&this['gotoInner'](_0x13b358,_0xfd57d8,!0x0);}['next'](){for(;;){if(this['chunkIndex']==this['layer']['chunk']['length']){this['from']=this['to']=0x3b9aca00,this['value']=null;break;}{let _0x240297=this['layer']['chunkPos'][this['chunkIndex']],_0xb30cc5=this['layer']['chunk'][this['chunkIndex']],_0x35387f=_0x240297+_0xb30cc5['from'][this['rangeIndex']];if(this['from']=_0x35387f,this['to']=_0x240297+_0xb30cc5['to'][this['rangeIndex']],this['value']=_0xb30cc5['value'][this['rangeIndex']],this['setRangeIndex'](this['rangeIndex']+0x1),this['minPoint']<0x0||this['value']['point']&&this['to']-this['from']>=this['minPoint'])break;}}}['setRangeIndex'](_0x4b1d3f){if(_0x4b1d3f==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']=_0x4b1d3f;}['nextChunk'](){this['chunkIndex']++,this['rangeIndex']=0x0,this['next']();}['compare'](_0x1d9ab0){return this['from']-_0x1d9ab0['from']||this['startSide']-_0x1d9ab0['startSide']||this['rank']-_0x1d9ab0['rank']||this['to']-_0x1d9ab0['to']||this['endSide']-_0x1d9ab0['endSide'];}}class _0x652365{constructor(_0x8d33c6){this['heap']=_0x8d33c6;}static['from'](_0x1c06db,_0x4022f3=null,_0x192c39=-0x1){let _0x149a03=[];for(let _0xe8f466=0x0;_0xe8f466<_0x1c06db['length'];_0xe8f466++)for(let _0x325cc3=_0x1c06db[_0xe8f466];!_0x325cc3['isEmpty'];_0x325cc3=_0x325cc3['nextLayer'])_0x325cc3['maxPoint']>=_0x192c39&&_0x149a03['push'](new _0x5c4c53(_0x325cc3,_0x4022f3,_0x192c39,_0xe8f466));return 0x1==_0x149a03['length']?_0x149a03[0x0]:new _0x652365(_0x149a03);}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}['goto'](_0xc70496,_0x1a5146=-0x3b9aca00){for(let _0xebfbe2 of this['heap'])_0xebfbe2['goto'](_0xc70496,_0x1a5146);for(let _0x4f17a9=this['heap']['length']>>0x1;_0x4f17a9>=0x0;_0x4f17a9--)_0x326acf(this['heap'],_0x4f17a9);return this['next'](),this;}['forward'](_0x13cfd3,_0x1dfaaf){for(let _0x3cfa7b of this['heap'])_0x3cfa7b['forward'](_0x13cfd3,_0x1dfaaf);for(let _0x35df45=this['heap']['length']>>0x1;_0x35df45>=0x0;_0x35df45--)_0x326acf(this['heap'],_0x35df45);(this['to']-_0x13cfd3||this['value']['endSide']-_0x1dfaaf)<0x0&&this['next']();}['next'](){if(0x0==this['heap']['length'])this['from']=this['to']=0x3b9aca00,this['value']=null,this['rank']=-0x1;else{let _0x3d2590=this['heap'][0x0];this['from']=_0x3d2590['from'],this['to']=_0x3d2590['to'],this['value']=_0x3d2590['value'],this['rank']=_0x3d2590['rank'],_0x3d2590['value']&&_0x3d2590['next'](),_0x326acf(this['heap'],0x0);}}}function _0x326acf(_0x32e474,_0x68a1fb){for(let _0xe6e7c7=_0x32e474[_0x68a1fb];;){let _0xb75daa=0x1+(_0x68a1fb<<0x1);if(_0xb75daa>=_0x32e474['length'])break;let _0x4d3d45=_0x32e474[_0xb75daa];if(_0xb75daa+0x1<_0x32e474['length']&&_0x4d3d45['compare'](_0x32e474[_0xb75daa+0x1])>=0x0&&(_0x4d3d45=_0x32e474[_0xb75daa+0x1],_0xb75daa++),_0xe6e7c7['compare'](_0x4d3d45)<0x0)break;_0x32e474[_0xb75daa]=_0xe6e7c7,_0x32e474[_0x68a1fb]=_0x4d3d45,_0x68a1fb=_0xb75daa;}}class _0x431f8f{constructor(_0x5d3fbe,_0x1d95ee,_0x3d54e7){this['minPoint']=_0x3d54e7,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']=_0x652365['from'](_0x5d3fbe,_0x1d95ee,_0x3d54e7);}['goto'](_0x48bc36,_0x476e52=-0x3b9aca00){return this['cursor']['goto'](_0x48bc36,_0x476e52),this['active']['length']=this['activeTo']['length']=this['activeRank']['length']=0x0,this['minActive']=-0x1,this['to']=_0x48bc36,this['endSide']=_0x476e52,this['openStart']=-0x1,this['next'](),this;}['forward'](_0x3f3a55,_0x46ee08){for(;this['minActive']>-0x1&&(this['activeTo'][this['minActive']]-_0x3f3a55||this['active'][this['minActive']]['endSide']-_0x46ee08)<0x0;)this['removeActive'](this['minActive']);this['cursor']['forward'](_0x3f3a55,_0x46ee08);}['removeActive'](_0x27e172){_0x28e993(this['active'],_0x27e172),_0x28e993(this['activeTo'],_0x27e172),_0x28e993(this['activeRank'],_0x27e172),this['minActive']=_0x1ed4af(this['active'],this['activeTo']);}['addActive'](_0x45532f){let _0x12083b=0x0,{value:_0x1a4bc9,to:_0x45b0b5,rank:_0x1d652d}=this['cursor'];for(;_0x12083b<this['activeRank']['length']&&(_0x1d652d-this['activeRank'][_0x12083b]||_0x45b0b5-this['activeTo'][_0x12083b])>0x0;)_0x12083b++;insert(this['active'],_0x12083b,_0x1a4bc9),insert(this['activeTo'],_0x12083b,_0x45b0b5),insert(this['activeRank'],_0x12083b,_0x1d652d),_0x45532f&&insert(_0x45532f,_0x12083b,this['cursor']['from']),this['minActive']=_0x1ed4af(this['active'],this['activeTo']);}['next'](){let _0x51e8e5=this['to'],_0x1041f5=this['point'];this['point']=null;let _0x5d49e5=this['openStart']<0x0?[]:null;for(;;){let _0x2df000=this['minActive'];if(_0x2df000>-0x1&&(this['activeTo'][_0x2df000]-this['cursor']['from']||this['active'][_0x2df000]['endSide']-this['cursor']['startSide'])<0x0){if(this['activeTo'][_0x2df000]>_0x51e8e5){this['to']=this['activeTo'][_0x2df000],this['endSide']=this['active'][_0x2df000]['endSide'];break;}this['removeActive'](_0x2df000),_0x5d49e5&&_0x28e993(_0x5d49e5,_0x2df000);}else{if(!this['cursor']['value']){this['to']=this['endSide']=0x3b9aca00;break;}if(this['cursor']['from']>_0x51e8e5){this['to']=this['cursor']['from'],this['endSide']=this['cursor']['startSide'];break;}{let _0x2fa4c8=this['cursor']['value'];if(_0x2fa4c8['point']){if(!(_0x1041f5&&this['cursor']['to']==this['to']&&this['cursor']['from']<this['cursor']['to'])){this['point']=_0x2fa4c8,this['pointFrom']=this['cursor']['from'],this['pointRank']=this['cursor']['rank'],this['to']=this['cursor']['to'],this['endSide']=_0x2fa4c8['endSide'],this['cursor']['next'](),this['forward'](this['to'],this['endSide']);break;}this['cursor']['next']();}else this['addActive'](_0x5d49e5),this['cursor']['next']();}}}if(_0x5d49e5){this['openStart']=0x0;for(let _0x1869b0=_0x5d49e5['length']-0x1;_0x1869b0>=0x0&&_0x5d49e5[_0x1869b0]<_0x51e8e5;_0x1869b0--)this['openStart']++;}}['activeForPoint'](_0x342c72){if(!this['active']['length'])return this['active'];let _0x21542e=[];for(let _0x1fe824=this['active']['length']-0x1;_0x1fe824>=0x0&&!(this['activeRank'][_0x1fe824]<this['pointRank']);_0x1fe824--)(this['activeTo'][_0x1fe824]>_0x342c72||this['activeTo'][_0x1fe824]==_0x342c72&&this['active'][_0x1fe824]['endSide']>=this['point']['endSide'])&&_0x21542e['push'](this['active'][_0x1fe824]);return _0x21542e['reverse']();}['openEnd'](_0x3ef039){let _0x3e8a56=0x0;for(let _0x4e2bed=this['activeTo']['length']-0x1;_0x4e2bed>=0x0&&this['activeTo'][_0x4e2bed]>_0x3ef039;_0x4e2bed--)_0x3e8a56++;return _0x3e8a56;}}function _0x18f6b2(_0x177095,_0x1e2c66,_0x31a742,_0x5918cd,_0x374437,_0x1aa267){_0x177095['goto'](_0x1e2c66),_0x31a742['goto'](_0x5918cd);let _0x26cdae=_0x5918cd+_0x374437,_0x1f2335=_0x5918cd,_0x629da9=_0x5918cd-_0x1e2c66;for(;;){let _0x12c25e=_0x177095['to']+_0x629da9-_0x31a742['to'],_0x144f14=_0x12c25e||_0x177095['endSide']-_0x31a742['endSide'],_0x288e02=_0x144f14<0x0?_0x177095['to']+_0x629da9:_0x31a742['to'],_0x31cfed=Math['min'](_0x288e02,_0x26cdae);if(_0x177095['point']||_0x31a742['point']?_0x177095['point']&&_0x31a742['point']&&(_0x177095['point']==_0x31a742['point']||_0x177095['point']['eq'](_0x31a742['point']))&&_0x185ecb(_0x177095['activeForPoint'](_0x177095['to']),_0x31a742['activeForPoint'](_0x31a742['to']))||_0x1aa267['comparePoint'](_0x1f2335,_0x31cfed,_0x177095['point'],_0x31a742['point']):_0x31cfed>_0x1f2335&&!_0x185ecb(_0x177095['active'],_0x31a742['active'])&&_0x1aa267['compareRange'](_0x1f2335,_0x31cfed,_0x177095['active'],_0x31a742['active']),_0x288e02>_0x26cdae)break;(_0x12c25e||_0x177095['openEnd']!=_0x31a742['openEnd'])&&_0x1aa267['boundChange']&&_0x1aa267['boundChange'](_0x288e02),_0x1f2335=_0x288e02,_0x144f14<=0x0&&_0x177095['next'](),_0x144f14>=0x0&&_0x31a742['next']();}}function _0x185ecb(_0x4c0ed5,_0x5e390b){if(_0x4c0ed5['length']!=_0x5e390b['length'])return!0x1;for(let _0x3a24f8=0x0;_0x3a24f8<_0x4c0ed5['length'];_0x3a24f8++)if(_0x4c0ed5[_0x3a24f8]!=_0x5e390b[_0x3a24f8]&&!_0x4c0ed5[_0x3a24f8]['eq'](_0x5e390b[_0x3a24f8]))return!0x1;return!0x0;}function _0x28e993(_0x5a2667,_0x3e3ec9){for(let _0xaf37fb=_0x3e3ec9,_0x3a391b=_0x5a2667['length']-0x1;_0xaf37fb<_0x3a391b;_0xaf37fb++)_0x5a2667[_0xaf37fb]=_0x5a2667[_0xaf37fb+0x1];_0x5a2667['pop']();}function insert(_0x1e17a4,_0x487d01,_0x526222){for(let _0x42614a=_0x1e17a4['length']-0x1;_0x42614a>=_0x487d01;_0x42614a--)_0x1e17a4[_0x42614a+0x1]=_0x1e17a4[_0x42614a];_0x1e17a4[_0x487d01]=_0x526222;}function _0x1ed4af(_0x1c7976,_0x209907){let _0x302263=-0x1,_0x440c54=0x3b9aca00;for(let _0x4f3c22=0x0;_0x4f3c22<_0x209907['length'];_0x4f3c22++)(_0x209907[_0x4f3c22]-_0x440c54||_0x1c7976[_0x4f3c22]['endSide']-_0x1c7976[_0x302263]['endSide'])<0x0&&(_0x302263=_0x4f3c22,_0x440c54=_0x209907[_0x4f3c22]);return _0x302263;}function countColumn(_0x585abd,_0x50d39c,_0x117e9d=_0x585abd['length']){let _0x670b36=0x0;for(let _0x3e469b=0x0;_0x3e469b<_0x117e9d&&_0x3e469b<_0x585abd['length'];)0x9==_0x585abd['charCodeAt'](_0x3e469b)?(_0x670b36+=_0x50d39c-_0x670b36%_0x50d39c,_0x3e469b++):(_0x670b36++,_0x3e469b=findClusterBreak(_0x585abd,_0x3e469b));return _0x670b36;}function _0xe80100(_0x33739e,_0xd93caa,_0x3195df,_0x4f1bdf){for(let _0x593884=0x0,_0x37a8a7=0x0;;){if(_0x37a8a7>=_0xd93caa)return _0x593884;if(_0x593884==_0x33739e['length'])break;_0x37a8a7+=0x9==_0x33739e['charCodeAt'](_0x593884)?_0x3195df-_0x37a8a7%_0x3195df:0x1,_0x593884=findClusterBreak(_0x33739e,_0x593884);}return!0x0===_0x4f1bdf?-0x1:_0x33739e['length'];}const _0x5b4fcf='ͼ',_0x58b4fa='undefined'==typeof Symbol?'__'+_0x5b4fcf:Symbol['for'](_0x5b4fcf),_0x36b049='undefined'==typeof Symbol?'__styleSet'+Math['floor'](0x5f5e100*Math['random']()):Symbol('styleSet'),top='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:{};class StyleModule{constructor(_0xf84744,_0x51f6a7){this['rules']=[];let {finish:_0x1dfd7b}=_0x51f6a7||{};function _0x9315d(_0xe4f985){return/^@/['test'](_0xe4f985)?[_0xe4f985]:_0xe4f985['split'](/,\s*/);}function _0x20c98a(_0x594f12,_0x2221ae,_0x3aee78,_0x464f77){let _0x7d24c6=[],_0xdfa11b=/^@(\w+)\b/['exec'](_0x594f12[0x0]),_0x3c8280=_0xdfa11b&&'keyframes'==_0xdfa11b[0x1];if(_0xdfa11b&&null==_0x2221ae)return _0x3aee78['push'](_0x594f12[0x0]+';');for(let _0x115683 in _0x2221ae){let _0x556fa4=_0x2221ae[_0x115683];if(/&/['test'](_0x115683))_0x20c98a(_0x115683['split'](/,\s*/)['map'](_0x41c9f7=>_0x594f12['map'](_0x4070af=>_0x41c9f7['replace'](/&/,_0x4070af)))['reduce']((_0x59aeb5,_0x53e6f5)=>_0x59aeb5['concat'](_0x53e6f5)),_0x556fa4,_0x3aee78);else{if(_0x556fa4&&'object'==typeof _0x556fa4){if(!_0xdfa11b)throw new RangeError('The\x20value\x20of\x20a\x20property\x20('+_0x115683+')\x20should\x20be\x20a\x20primitive\x20value.');_0x20c98a(_0x9315d(_0x115683),_0x556fa4,_0x7d24c6,_0x3c8280);}else null!=_0x556fa4&&_0x7d24c6['push'](_0x115683['replace'](/_.*/,'')['replace'](/[A-Z]/g,_0x392eaf=>'-'+_0x392eaf['toLowerCase']())+':\x20'+_0x556fa4+';');}}(_0x7d24c6['length']||_0x3c8280)&&_0x3aee78['push']((!_0x1dfd7b||_0xdfa11b||_0x464f77?_0x594f12:_0x594f12['map'](_0x1dfd7b))['join'](',\x20')+'\x20{'+_0x7d24c6['join']('\x20')+'}');}for(let _0x4fe553 in _0xf84744)_0x20c98a(_0x9315d(_0x4fe553),_0xf84744[_0x4fe553],this['rules']);}['getRules'](){return this['rules']['join']('\x0a');}static['newName'](){let _0x26ea6c=top[_0x58b4fa]||0x1;return top[_0x58b4fa]=_0x26ea6c+0x1,_0x5b4fcf+_0x26ea6c['toString'](0x24);}static['mount'](_0x5b9e99,_0x469c26,_0x47ea9f){let _0x549aa5=_0x5b9e99[_0x36b049],_0x37617a=_0x47ea9f&&_0x47ea9f['nonce'];_0x549aa5?_0x37617a&&_0x549aa5['setNonce'](_0x37617a):_0x549aa5=new StyleSet(_0x5b9e99,_0x37617a),_0x549aa5['mount'](Array['isArray'](_0x469c26)?_0x469c26:[_0x469c26],_0x5b9e99);}}let adoptedSet=new Map();class StyleSet{constructor(_0x592d17,_0x329b5a){let _0xbaa849=_0x592d17['ownerDocument']||_0x592d17,_0x48037c=_0xbaa849['defaultView'];if(!_0x592d17['head']&&_0x592d17['adoptedStyleSheets']&&_0x48037c['CSSStyleSheet']){let _0x3f5408=adoptedSet['get'](_0xbaa849);if(_0x3f5408)return _0x592d17[_0x36b049]=_0x3f5408;this['sheet']=new _0x48037c['CSSStyleSheet'](),adoptedSet['set'](_0xbaa849,this);}else this['styleTag']=_0xbaa849['createElement']('style'),_0x329b5a&&this['styleTag']['setAttribute']('nonce',_0x329b5a);this['modules']=[],_0x592d17[_0x36b049]=this;}['mount'](_0x4062e1,_0x19f42d){let _0x8224b4=this['sheet'],_0xfb00f0=0x0,_0x3d0e24=0x0;for(let _0x4bf75c=0x0;_0x4bf75c<_0x4062e1['length'];_0x4bf75c++){let _0x5a32f0=_0x4062e1[_0x4bf75c],_0x44b5dc=this['modules']['indexOf'](_0x5a32f0);if(_0x44b5dc<_0x3d0e24&&_0x44b5dc>-0x1&&(this['modules']['splice'](_0x44b5dc,0x1),_0x3d0e24--,_0x44b5dc=-0x1),-0x1==_0x44b5dc){if(this['modules']['splice'](_0x3d0e24++,0x0,_0x5a32f0),_0x8224b4){for(let _0x10df16=0x0;_0x10df16<_0x5a32f0['rules']['length'];_0x10df16++)_0x8224b4['insertRule'](_0x5a32f0['rules'][_0x10df16],_0xfb00f0++);}}else{for(;_0x3d0e24<_0x44b5dc;)_0xfb00f0+=this['modules'][_0x3d0e24++]['rules']['length'];_0xfb00f0+=_0x5a32f0['rules']['length'],_0x3d0e24++;}}if(_0x8224b4)_0x19f42d['adoptedStyleSheets']['indexOf'](this['sheet'])<0x0&&(_0x19f42d['adoptedStyleSheets']=[this['sheet'],..._0x19f42d['adoptedStyleSheets']]);else{let _0x3d88bf='';for(let _0xa05b71=0x0;_0xa05b71<this['modules']['length'];_0xa05b71++)_0x3d88bf+=this['modules'][_0xa05b71]['getRules']()+'\x0a';this['styleTag']['textContent']=_0x3d88bf;let _0x3416ff=_0x19f42d['head']||_0x19f42d;this['styleTag']['parentNode']!=_0x3416ff&&_0x3416ff['insertBefore'](this['styleTag'],_0x3416ff['firstChild']);}}['setNonce'](_0x40fc36){this['styleTag']&&this['styleTag']['getAttribute']('nonce')!=_0x40fc36&&this['styleTag']['setAttribute']('nonce',_0x40fc36);}}for(var _0x12625a={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'},_0x333749='undefined'!=typeof navigator&&/Mac/['test'](navigator['platform']),_0x95d386='undefined'!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](navigator['userAgent']),_0x6d1b53=0x0;_0x6d1b53<0xa;_0x6d1b53++)_0x12625a[0x30+_0x6d1b53]=_0x12625a[0x60+_0x6d1b53]=String(_0x6d1b53);for(var _0x6d1b53=0x1;_0x6d1b53<=0x18;_0x6d1b53++)_0x12625a[_0x6d1b53+0x6f]='F'+_0x6d1b53;for(var _0x6d1b53=0x41;_0x6d1b53<=0x5a;_0x6d1b53++)_0x12625a[_0x6d1b53]=String['fromCharCode'](_0x6d1b53+0x20),shift[_0x6d1b53]=String['fromCharCode'](_0x6d1b53);for(var _0x552e8a in _0x12625a)shift['hasOwnProperty'](_0x552e8a)||(shift[_0x552e8a]=_0x12625a[_0x552e8a]);function _0x3e847f(_0x377da0){var _0x4956f2=!(_0x333749&&_0x377da0['metaKey']&&_0x377da0['shiftKey']&&!_0x377da0['ctrlKey']&&!_0x377da0['altKey']||_0x95d386&&_0x377da0['shiftKey']&&_0x377da0['key']&&0x1==_0x377da0['key']['length']||'Unidentified'==_0x377da0['key'])&&_0x377da0['key']||(_0x377da0['shiftKey']?shift:_0x12625a)[_0x377da0['keyCode']]||_0x377da0['key']||'Unidentified';return'Esc'==_0x4956f2&&(_0x4956f2='Escape'),'Del'==_0x4956f2&&(_0x4956f2='Delete'),'Left'==_0x4956f2&&(_0x4956f2='ArrowLeft'),'Up'==_0x4956f2&&(_0x4956f2='ArrowUp'),'Right'==_0x4956f2&&(_0x4956f2='ArrowRight'),'Down'==_0x4956f2&&(_0x4956f2='ArrowDown'),_0x4956f2;}let _0x54c17c='undefined'!=typeof navigator?navigator:{'userAgent':'','vendor':'','platform':''},_0x5563f1='undefined'!=typeof document?document:{'documentElement':{'style':{}}};const _0x87796c=/Edge\/(\d+)/['exec'](_0x54c17c['userAgent']),ie_upto10=/MSIE \d/['test'](_0x54c17c['userAgent']),_0x39a34e=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](_0x54c17c['userAgent']),_0x33a8d7=!!(ie_upto10||_0x39a34e||_0x87796c),_0x48e4d1=!_0x33a8d7&&/gecko\/(\d+)/i['test'](_0x54c17c['userAgent']),_0x128278=!_0x33a8d7&&/Chrome\/(\d+)/['exec'](_0x54c17c['userAgent']),webkit='webkitFontSmoothing'in _0x5563f1['documentElement']['style'],_0x146212=!_0x33a8d7&&/Apple Computer/['test'](_0x54c17c['vendor']),_0x3c3759=_0x146212&&(/Mobile\/\w+/['test'](_0x54c17c['userAgent'])||_0x54c17c['maxTouchPoints']>0x2);var _0x484137={'mac':_0x3c3759||/Mac/['test'](_0x54c17c['platform']),'windows':/Win/['test'](_0x54c17c['platform']),'linux':/Linux|X11/['test'](_0x54c17c['platform']),'ie':_0x33a8d7,'ie_version':ie_upto10?_0x5563f1['documentMode']||0x6:_0x39a34e?+_0x39a34e[0x1]:_0x87796c?+_0x87796c[0x1]:0x0,'gecko':_0x48e4d1,'gecko_version':_0x48e4d1?+(/Firefox\/(\d+)/['exec'](_0x54c17c['userAgent'])||[0x0,0x0])[0x1]:0x0,'chrome':!!_0x128278,'chrome_version':_0x128278?+_0x128278[0x1]:0x0,'ios':_0x3c3759,'android':/Android\b/['test'](_0x54c17c['userAgent']),'webkit_version':webkit?+(/\bAppleWebKit\/(\d+)/['exec'](_0x54c17c['userAgent'])||[0x0,0x0])[0x1]:0x0,'safari':_0x146212,'safari_version':_0x146212?+(/\bVersion\/(\d+(\.\d+)?)/['exec'](_0x54c17c['userAgent'])||[0x0,0x0])[0x1]:0x0,'tabSize':null!=_0x5563f1['documentElement']['style']['tabSize']?'tab-size':'-moz-tab-size'};function getSelection(_0x195375){let _0x13b644;return _0x13b644=0xb==_0x195375['nodeType']?_0x195375['getSelection']?_0x195375:_0x195375['ownerDocument']:_0x195375,_0x13b644['getSelection']();}function contains(_0x4c69ad,_0x4e4a49){return!!_0x4e4a49&&(_0x4c69ad==_0x4e4a49||_0x4c69ad['contains'](0x1!=_0x4e4a49['nodeType']?_0x4e4a49['parentNode']:_0x4e4a49));}function hasSelection(_0x81e01f,_0x31ec4a){if(!_0x31ec4a['anchorNode'])return!0x1;try{return contains(_0x81e01f,_0x31ec4a['anchorNode']);}catch(_0x4360f2){return!0x1;}}function clientRectsFor(_0x2f2ab4){return 0x3==_0x2f2ab4['nodeType']?textRange(_0x2f2ab4,0x0,_0x2f2ab4['nodeValue']['length'])['getClientRects']():0x1==_0x2f2ab4['nodeType']?_0x2f2ab4['getClientRects']():[];}function isEquivalentPosition(_0x5bd583,_0x527154,_0x118a5f,_0xd98149){return!!_0x118a5f&&(_0x41f2f8(_0x5bd583,_0x527154,_0x118a5f,_0xd98149,-0x1)||_0x41f2f8(_0x5bd583,_0x527154,_0x118a5f,_0xd98149,0x1));}function _0x2922d4(_0x494411){for(var _0xf8099b=0x0;;_0xf8099b++)if(!(_0x494411=_0x494411['previousSibling']))return _0xf8099b;}function isBlockElement(_0x3f87fe){return 0x1==_0x3f87fe['nodeType']&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/['test'](_0x3f87fe['nodeName']);}function _0x41f2f8(_0x1df506,_0x2dc9df,_0x5017fa,_0x3e701a,_0x43e24a){for(;;){if(_0x1df506==_0x5017fa&&_0x2dc9df==_0x3e701a)return!0x0;if(_0x2dc9df==(_0x43e24a<0x0?0x0:maxOffset(_0x1df506))){if('DIV'==_0x1df506['nodeName'])return!0x1;let _0x5d0137=_0x1df506['parentNode'];if(!_0x5d0137||0x1!=_0x5d0137['nodeType'])return!0x1;_0x2dc9df=_0x2922d4(_0x1df506)+(_0x43e24a<0x0?0x0:0x1),_0x1df506=_0x5d0137;}else{if(0x1!=_0x1df506['nodeType'])return!0x1;if(0x1==(_0x1df506=_0x1df506['childNodes'][_0x2dc9df+(_0x43e24a<0x0?-0x1:0x0)])['nodeType']&&'false'==_0x1df506['contentEditable'])return!0x1;_0x2dc9df=_0x43e24a<0x0?maxOffset(_0x1df506):0x0;}}}function maxOffset(_0x1551e6){return 0x3==_0x1551e6['nodeType']?_0x1551e6['nodeValue']['length']:_0x1551e6['childNodes']['length'];}function flattenRect(_0x887055,_0x5b7f97){let _0x135b0a=_0x5b7f97?_0x887055['left']:_0x887055['right'];return{'left':_0x135b0a,'right':_0x135b0a,'top':_0x887055['top'],'bottom':_0x887055['bottom']};}function windowRect(_0x4710de){let _0x2bc541=_0x4710de['visualViewport'];return _0x2bc541?{'left':0x0,'right':_0x2bc541['width'],'top':0x0,'bottom':_0x2bc541['height']}:{'left':0x0,'right':_0x4710de['innerWidth'],'top':0x0,'bottom':_0x4710de['innerHeight']};}function getScale(_0x31bb66,_0x2575e7){let _0x3eb18a=_0x2575e7['width']/_0x31bb66['offsetWidth'],_0x196e4c=_0x2575e7['height']/_0x31bb66['offsetHeight'];return(_0x3eb18a>0.995&&_0x3eb18a<1.005||!isFinite(_0x3eb18a)||Math['abs'](_0x2575e7['width']-_0x31bb66['offsetWidth'])<0x1)&&(_0x3eb18a=0x1),(_0x196e4c>0.995&&_0x196e4c<1.005||!isFinite(_0x196e4c)||Math['abs'](_0x2575e7['height']-_0x31bb66['offsetHeight'])<0x1)&&(_0x196e4c=0x1),{'scaleX':_0x3eb18a,'scaleY':_0x196e4c};}function scrollRectIntoView(_0x4b1343,_0x3e7496,_0x501251,_0x577fd0,_0x203fba,_0x298405,_0x1dd5e0,_0x51b194){let _0x1797d5=_0x4b1343['ownerDocument'],_0x19779e=_0x1797d5['defaultView']||window;for(let _0xebfcdb=_0x4b1343,_0x1cc012=!0x1;_0xebfcdb&&!_0x1cc012;)if(0x1==_0xebfcdb['nodeType']){let _0x3f833a,_0x40a5a0=_0xebfcdb==_0x1797d5['body'],_0x52bc3f=0x1,_0x3e4c94=0x1;if(_0x40a5a0)_0x3f833a=windowRect(_0x19779e);else{if(/^(fixed|sticky)$/['test'](getComputedStyle(_0xebfcdb)['position'])&&(_0x1cc012=!0x0),_0xebfcdb['scrollHeight']<=_0xebfcdb['clientHeight']&&_0xebfcdb['scrollWidth']<=_0xebfcdb['clientWidth']){_0xebfcdb=_0xebfcdb['assignedSlot']||_0xebfcdb['parentNode'];continue;}let _0x8a8e9=_0xebfcdb['getBoundingClientRect']();({scaleX:_0x52bc3f,scaleY:_0x3e4c94}=getScale(_0xebfcdb,_0x8a8e9),_0x3f833a={'left':_0x8a8e9['left'],'right':_0x8a8e9['left']+_0xebfcdb['clientWidth']*_0x52bc3f,'top':_0x8a8e9['top'],'bottom':_0x8a8e9['top']+_0xebfcdb['clientHeight']*_0x3e4c94});}let _0x4af5c5=0x0,_0x206544=0x0;if('nearest'==_0x203fba)_0x3e7496['top']<_0x3f833a['top']?(_0x206544=_0x3e7496['top']-(_0x3f833a['top']+_0x1dd5e0),_0x501251>0x0&&_0x3e7496['bottom']>_0x3f833a['bottom']+_0x206544&&(_0x206544=_0x3e7496['bottom']-_0x3f833a['bottom']+_0x1dd5e0)):_0x3e7496['bottom']>_0x3f833a['bottom']&&(_0x206544=_0x3e7496['bottom']-_0x3f833a['bottom']+_0x1dd5e0,_0x501251<0x0&&_0x3e7496['top']-_0x206544<_0x3f833a['top']&&(_0x206544=_0x3e7496['top']-(_0x3f833a['top']+_0x1dd5e0)));else{let _0x5bc132=_0x3e7496['bottom']-_0x3e7496['top'],_0x2efc40=_0x3f833a['bottom']-_0x3f833a['top'];_0x206544=('center'==_0x203fba&&_0x5bc132<=_0x2efc40?_0x3e7496['top']+_0x5bc132/0x2-_0x2efc40/0x2:'start'==_0x203fba||'center'==_0x203fba&&_0x501251<0x0?_0x3e7496['top']-_0x1dd5e0:_0x3e7496['bottom']-_0x2efc40+_0x1dd5e0)-_0x3f833a['top'];}if('nearest'==_0x577fd0)_0x3e7496['left']<_0x3f833a['left']?(_0x4af5c5=_0x3e7496['left']-(_0x3f833a['left']+_0x298405),_0x501251>0x0&&_0x3e7496['right']>_0x3f833a['right']+_0x4af5c5&&(_0x4af5c5=_0x3e7496['right']-_0x3f833a['right']+_0x298405)):_0x3e7496['right']>_0x3f833a['right']&&(_0x4af5c5=_0x3e7496['right']-_0x3f833a['right']+_0x298405,_0x501251<0x0&&_0x3e7496['left']<_0x3f833a['left']+_0x4af5c5&&(_0x4af5c5=_0x3e7496['left']-(_0x3f833a['left']+_0x298405)));else _0x4af5c5=('center'==_0x577fd0?_0x3e7496['left']+(_0x3e7496['right']-_0x3e7496['left'])/0x2-(_0x3f833a['right']-_0x3f833a['left'])/0x2:'start'==_0x577fd0==_0x51b194?_0x3e7496['left']-_0x298405:_0x3e7496['right']-(_0x3f833a['right']-_0x3f833a['left'])+_0x298405)-_0x3f833a['left'];if(_0x4af5c5||_0x206544){if(_0x40a5a0)_0x19779e['scrollBy'](_0x4af5c5,_0x206544);else{let _0xd9c78c=0x0,_0x5e7249=0x0;if(_0x206544){let _0x43d071=_0xebfcdb['scrollTop'];_0xebfcdb['scrollTop']+=_0x206544/_0x3e4c94,_0x5e7249=(_0xebfcdb['scrollTop']-_0x43d071)*_0x3e4c94;}if(_0x4af5c5){let _0x46f26b=_0xebfcdb['scrollLeft'];_0xebfcdb['scrollLeft']+=_0x4af5c5/_0x52bc3f,_0xd9c78c=(_0xebfcdb['scrollLeft']-_0x46f26b)*_0x52bc3f;}_0x3e7496={'left':_0x3e7496['left']-_0xd9c78c,'top':_0x3e7496['top']-_0x5e7249,'right':_0x3e7496['right']-_0xd9c78c,'bottom':_0x3e7496['bottom']-_0x5e7249},_0xd9c78c&&Math['abs'](_0xd9c78c-_0x4af5c5)<0x1&&(_0x577fd0='nearest'),_0x5e7249&&Math['abs'](_0x5e7249-_0x206544)<0x1&&(_0x203fba='nearest');}}if(_0x40a5a0)break;(_0x3e7496['top']<_0x3f833a['top']||_0x3e7496['bottom']>_0x3f833a['bottom']||_0x3e7496['left']<_0x3f833a['left']||_0x3e7496['right']>_0x3f833a['right'])&&(_0x3e7496={'left':Math['max'](_0x3e7496['left'],_0x3f833a['left']),'right':Math['min'](_0x3e7496['right'],_0x3f833a['right']),'top':Math['max'](_0x3e7496['top'],_0x3f833a['top']),'bottom':Math['min'](_0x3e7496['bottom'],_0x3f833a['bottom'])}),_0xebfcdb=_0xebfcdb['assignedSlot']||_0xebfcdb['parentNode'];}else{if(0xb!=_0xebfcdb['nodeType'])break;_0xebfcdb=_0xebfcdb['host'];}}function scrollableParents(_0x2ba2e2){let _0x1297ac,_0x5bf9da,_0x26f4e9=_0x2ba2e2['ownerDocument'];for(let _0x40e10e=_0x2ba2e2['parentNode'];_0x40e10e&&!(_0x40e10e==_0x26f4e9['body']||_0x1297ac&&_0x5bf9da);)if(0x1==_0x40e10e['nodeType'])!_0x5bf9da&&_0x40e10e['scrollHeight']>_0x40e10e['clientHeight']&&(_0x5bf9da=_0x40e10e),!_0x1297ac&&_0x40e10e['scrollWidth']>_0x40e10e['clientWidth']&&(_0x1297ac=_0x40e10e),_0x40e10e=_0x40e10e['assignedSlot']||_0x40e10e['parentNode'];else{if(0xb!=_0x40e10e['nodeType'])break;_0x40e10e=_0x40e10e['host'];}return{'x':_0x1297ac,'y':_0x5bf9da};}class DOMSelectionState{constructor(){this['anchorNode']=null,this['anchorOffset']=0x0,this['focusNode']=null,this['focusOffset']=0x0;}['eq'](_0x1627ef){return this['anchorNode']==_0x1627ef['anchorNode']&&this['anchorOffset']==_0x1627ef['anchorOffset']&&this['focusNode']==_0x1627ef['focusNode']&&this['focusOffset']==_0x1627ef['focusOffset'];}['setRange'](_0x2f8c4d){let {anchorNode:_0x122c03,focusNode:_0x209944}=_0x2f8c4d;this['set'](_0x122c03,Math['min'](_0x2f8c4d['anchorOffset'],_0x122c03?maxOffset(_0x122c03):0x0),_0x209944,Math['min'](_0x2f8c4d['focusOffset'],_0x209944?maxOffset(_0x209944):0x0));}['set'](_0x22eb40,_0x330892,_0x302445,_0x279ab9){this['anchorNode']=_0x22eb40,this['anchorOffset']=_0x330892,this['focusNode']=_0x302445,this['focusOffset']=_0x279ab9;}}let preventScrollSupported=null,scratchRange;function focusPreventScroll(_0x3066f1){if(_0x3066f1['setActive'])return _0x3066f1['setActive']();if(preventScrollSupported)return _0x3066f1['focus'](preventScrollSupported);let _0xff8236=[];for(let _0x580118=_0x3066f1;_0x580118&&(_0xff8236['push'](_0x580118,_0x580118['scrollTop'],_0x580118['scrollLeft']),_0x580118!=_0x580118['ownerDocument']);_0x580118=_0x580118['parentNode']);if(_0x3066f1['focus'](null==preventScrollSupported?{get 'preventScroll'(){return preventScrollSupported={'preventScroll':!0x0},!0x0;}}:void 0x0),!preventScrollSupported){preventScrollSupported=!0x1;for(let _0x23bb9b=0x0;_0x23bb9b<_0xff8236['length'];){let _0x57c12b=_0xff8236[_0x23bb9b++],_0x5d3490=_0xff8236[_0x23bb9b++],_0x304c5c=_0xff8236[_0x23bb9b++];_0x57c12b['scrollTop']!=_0x5d3490&&(_0x57c12b['scrollTop']=_0x5d3490),_0x57c12b['scrollLeft']!=_0x304c5c&&(_0x57c12b['scrollLeft']=_0x304c5c);}}}function textRange(_0x213146,_0x16941a,_0x21896d=_0x16941a){let _0x296f1e=scratchRange||(scratchRange=document['createRange']());return _0x296f1e['setEnd'](_0x213146,_0x21896d),_0x296f1e['setStart'](_0x213146,_0x16941a),_0x296f1e;}function dispatchKey(_0x1bf2b4,_0x5db039,_0x47a707,_0x4b830f){let _0x564ae7={'key':_0x5db039,'code':_0x5db039,'keyCode':_0x47a707,'which':_0x47a707,'cancelable':!0x0};_0x4b830f&&({altKey:_0x564ae7['altKey'],ctrlKey:_0x564ae7['ctrlKey'],shiftKey:_0x564ae7['shiftKey'],metaKey:_0x564ae7['metaKey']}=_0x4b830f);let _0x2204b5=new KeyboardEvent('keydown',_0x564ae7);_0x2204b5['synthetic']=!0x0,_0x1bf2b4['dispatchEvent'](_0x2204b5);let _0x5ae79b=new KeyboardEvent('keyup',_0x564ae7);return _0x5ae79b['synthetic']=!0x0,_0x1bf2b4['dispatchEvent'](_0x5ae79b),_0x2204b5['defaultPrevented']||_0x5ae79b['defaultPrevented'];}function getRoot(_0x479745){for(;_0x479745;){if(_0x479745&&(0x9==_0x479745['nodeType']||0xb==_0x479745['nodeType']&&_0x479745['host']))return _0x479745;_0x479745=_0x479745['assignedSlot']||_0x479745['parentNode'];}return null;}function clearAttributes(_0x174601){for(;_0x174601['attributes']['length'];)_0x174601['removeAttributeNode'](_0x174601['attributes'][0x0]);}function atElementStart(_0x1cccc3,_0x15a6bb){let _0x4080b6=_0x15a6bb['focusNode'],_0x126e52=_0x15a6bb['focusOffset'];if(!_0x4080b6||_0x15a6bb['anchorNode']!=_0x4080b6||_0x15a6bb['anchorOffset']!=_0x126e52)return!0x1;for(_0x126e52=Math['min'](_0x126e52,maxOffset(_0x4080b6));;)if(_0x126e52){if(0x1!=_0x4080b6['nodeType'])return!0x1;let _0x574cfb=_0x4080b6['childNodes'][_0x126e52-0x1];'false'==_0x574cfb['contentEditable']?_0x126e52--:(_0x4080b6=_0x574cfb,_0x126e52=maxOffset(_0x4080b6));}else{if(_0x4080b6==_0x1cccc3)return!0x0;_0x126e52=_0x2922d4(_0x4080b6),_0x4080b6=_0x4080b6['parentNode'];}}function isScrolledToBottom(_0x1a4f57){return _0x1a4f57['scrollTop']>Math['max'](0x1,_0x1a4f57['scrollHeight']-_0x1a4f57['clientHeight']-0x4);}function textNodeBefore(_0x25df76,_0x5ce181){for(let _0x73d070=_0x25df76,_0x54d2d0=_0x5ce181;;){if(0x3==_0x73d070['nodeType']&&_0x54d2d0>0x0)return{'node':_0x73d070,'offset':_0x54d2d0};if(0x1==_0x73d070['nodeType']&&_0x54d2d0>0x0){if('false'==_0x73d070['contentEditable'])return null;_0x73d070=_0x73d070['childNodes'][_0x54d2d0-0x1],_0x54d2d0=maxOffset(_0x73d070);}else{if(!_0x73d070['parentNode']||isBlockElement(_0x73d070))return null;_0x54d2d0=_0x2922d4(_0x73d070),_0x73d070=_0x73d070['parentNode'];}}}function textNodeAfter(_0x55d793,_0x40bab8){for(let _0x4e8765=_0x55d793,_0x5741a3=_0x40bab8;;){if(0x3==_0x4e8765['nodeType']&&_0x5741a3<_0x4e8765['nodeValue']['length'])return{'node':_0x4e8765,'offset':_0x5741a3};if(0x1==_0x4e8765['nodeType']&&_0x5741a3<_0x4e8765['childNodes']['length']){if('false'==_0x4e8765['contentEditable'])return null;_0x4e8765=_0x4e8765['childNodes'][_0x5741a3],_0x5741a3=0x0;}else{if(!_0x4e8765['parentNode']||isBlockElement(_0x4e8765))return null;_0x5741a3=_0x2922d4(_0x4e8765)+0x1,_0x4e8765=_0x4e8765['parentNode'];}}}_0x484137['safari']&&_0x484137['safari_version']>=0x1a&&(preventScrollSupported=!0x1);class _0x57fd88{constructor(_0x54217c,_0x5a0477,_0x34bcaa=!0x0){this['node']=_0x54217c,this['offset']=_0x5a0477,this['precise']=_0x34bcaa;}static['before'](_0x313b1b,_0x59d3a4){return new _0x57fd88(_0x313b1b['parentNode'],_0x2922d4(_0x313b1b),_0x59d3a4);}static['after'](_0x2c9e87,_0x449a05){return new _0x57fd88(_0x2c9e87['parentNode'],_0x2922d4(_0x2c9e87)+0x1,_0x449a05);}}const _0x20e085=[];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'](_0x3978d7){let _0x1267c0=this['posAtStart'];for(let _0x2c2fba of this['children']){if(_0x2c2fba==_0x3978d7)return _0x1267c0;_0x1267c0+=_0x2c2fba['length']+_0x2c2fba['breakAfter'];}throw new RangeError('Invalid\x20child\x20in\x20posBefore');}['posAfter'](_0x1dadd5){return this['posBefore'](_0x1dadd5)+_0x1dadd5['length'];}['sync'](_0x3745f9,_0x527bb1){if(0x2&this['flags']){let _0x143d4a,_0x23acc5=this['dom'],_0x16fc35=null;for(let _0x43ea81 of this['children']){if(0x7&_0x43ea81['flags']){if(!_0x43ea81['dom']&&(_0x143d4a=_0x16fc35?_0x16fc35['nextSibling']:_0x23acc5['firstChild'])){let _0x5bd9b2=ContentView['get'](_0x143d4a);(!_0x5bd9b2||!_0x5bd9b2['parent']&&_0x5bd9b2['canReuseDOM'](_0x43ea81))&&_0x43ea81['reuseDOM'](_0x143d4a);}_0x43ea81['sync'](_0x3745f9,_0x527bb1),_0x43ea81['flags']&=-0x8;}if(_0x143d4a=_0x16fc35?_0x16fc35['nextSibling']:_0x23acc5['firstChild'],_0x527bb1&&!_0x527bb1['written']&&_0x527bb1['node']==_0x23acc5&&_0x143d4a!=_0x43ea81['dom']&&(_0x527bb1['written']=!0x0),_0x43ea81['dom']['parentNode']==_0x23acc5){for(;_0x143d4a&&_0x143d4a!=_0x43ea81['dom'];)_0x143d4a=_0x5e5416(_0x143d4a);}else _0x23acc5['insertBefore'](_0x43ea81['dom'],_0x143d4a);_0x16fc35=_0x43ea81['dom'];}for(_0x143d4a=_0x16fc35?_0x16fc35['nextSibling']:_0x23acc5['firstChild'],_0x143d4a&&_0x527bb1&&_0x527bb1['node']==_0x23acc5&&(_0x527bb1['written']=!0x0);_0x143d4a;)_0x143d4a=_0x5e5416(_0x143d4a);}else{if(0x1&this['flags']){for(let _0x281f8f of this['children'])0x7&_0x281f8f['flags']&&(_0x281f8f['sync'](_0x3745f9,_0x527bb1),_0x281f8f['flags']&=-0x8);}}}['reuseDOM'](_0x27782d){}['localPosFromDOM'](_0x20160b,_0x45ad52){let _0x59dcb7;if(_0x20160b==this['dom'])_0x59dcb7=this['dom']['childNodes'][_0x45ad52];else{let _0x2ea596=0x0==maxOffset(_0x20160b)?0x0:0x0==_0x45ad52?-0x1:0x1;for(;;){let _0xd3c12d=_0x20160b['parentNode'];if(_0xd3c12d==this['dom'])break;0x0==_0x2ea596&&_0xd3c12d['firstChild']!=_0xd3c12d['lastChild']&&(_0x2ea596=_0x20160b==_0xd3c12d['firstChild']?-0x1:0x1),_0x20160b=_0xd3c12d;}_0x59dcb7=_0x2ea596<0x0?_0x20160b:_0x20160b['nextSibling'];}if(_0x59dcb7==this['dom']['firstChild'])return 0x0;for(;_0x59dcb7&&!ContentView['get'](_0x59dcb7);)_0x59dcb7=_0x59dcb7['nextSibling'];if(!_0x59dcb7)return this['length'];for(let _0x17a22b=0x0,_0xcb9234=0x0;;_0x17a22b++){let _0x5962f0=this['children'][_0x17a22b];if(_0x5962f0['dom']==_0x59dcb7)return _0xcb9234;_0xcb9234+=_0x5962f0['length']+_0x5962f0['breakAfter'];}}['domBoundsAround'](_0x4a722a,_0x195dd5,_0x40aac2=0x0){let _0x5bfc7c=-0x1,_0x1ff5e2=-0x1,_0x13a500=-0x1,_0x347534=-0x1;for(let _0x4f12ec=0x0,_0x133bcc=_0x40aac2,_0x2ca389=_0x40aac2;_0x4f12ec<this['children']['length'];_0x4f12ec++){let _0x1ed636=this['children'][_0x4f12ec],_0x357d38=_0x133bcc+_0x1ed636['length'];if(_0x133bcc<_0x4a722a&&_0x357d38>_0x195dd5)return _0x1ed636['domBoundsAround'](_0x4a722a,_0x195dd5,_0x133bcc);if(_0x357d38>=_0x4a722a&&-0x1==_0x5bfc7c&&(_0x5bfc7c=_0x4f12ec,_0x1ff5e2=_0x133bcc),_0x133bcc>_0x195dd5&&_0x1ed636['dom']['parentNode']==this['dom']){_0x13a500=_0x4f12ec,_0x347534=_0x2ca389;break;}_0x2ca389=_0x357d38,_0x133bcc=_0x357d38+_0x1ed636['breakAfter'];}return{'from':_0x1ff5e2,'to':_0x347534<0x0?_0x40aac2+this['length']:_0x347534,'startDOM':(_0x5bfc7c?this['children'][_0x5bfc7c-0x1]['dom']['nextSibling']:null)||this['dom']['firstChild'],'endDOM':_0x13a500<this['children']['length']&&_0x13a500>=0x0?this['children'][_0x13a500]['dom']:null};}['markDirty'](_0xa4cb29=!0x1){this['flags']|=0x2,this['markParentsDirty'](_0xa4cb29);}['markParentsDirty'](_0x8c5638){for(let _0x3566f4=this['parent'];_0x3566f4;_0x3566f4=_0x3566f4['parent']){if(_0x8c5638&&(_0x3566f4['flags']|=0x2),0x1&_0x3566f4['flags'])return;_0x3566f4['flags']|=0x1,_0x8c5638=!0x1;}}['setParent'](_0x47e5d6){this['parent']!=_0x47e5d6&&(this['parent']=_0x47e5d6,0x7&this['flags']&&this['markParentsDirty'](!0x0));}['setDOM'](_0x543eb4){this['dom']!=_0x543eb4&&(this['dom']&&(this['dom']['cmView']=null),this['dom']=_0x543eb4,_0x543eb4['cmView']=this);}get['rootView'](){for(let _0x293125=this;;){let _0x5de656=_0x293125['parent'];if(!_0x5de656)return _0x293125;_0x293125=_0x5de656;}}['replaceChildren'](_0x3627d3,_0x416453,_0x18c359=_0x20e085){this['markDirty']();for(let _0x11f1b3=_0x3627d3;_0x11f1b3<_0x416453;_0x11f1b3++){let _0x27db00=this['children'][_0x11f1b3];_0x27db00['parent']==this&&_0x18c359['indexOf'](_0x27db00)<0x0&&_0x27db00['destroy']();}_0x18c359['length']<0xfa?this['children']['splice'](_0x3627d3,_0x416453-_0x3627d3,..._0x18c359):this['children']=[]['concat'](this['children']['slice'](0x0,_0x3627d3),_0x18c359,this['children']['slice'](_0x416453));for(let _0x270efb=0x0;_0x270efb<_0x18c359['length'];_0x270efb++)_0x18c359[_0x270efb]['setParent'](this);}['ignoreMutation'](_0xf27721){return!0x1;}['ignoreEvent'](_0x4c0a07){return!0x1;}['childCursor'](_0x3404d9=this['length']){return new _0x146b77(this['children'],_0x3404d9,this['children']['length']);}['childPos'](_0x1edad2,_0x56fb1b=0x1){return this['childCursor']()['findPos'](_0x1edad2,_0x56fb1b);}['toString'](){let _0x5cb1e2=this['constructor']['name']['replace']('View','');return _0x5cb1e2+(this['children']['length']?'('+this['children']['join']()+')':this['length']?'['+('Text'==_0x5cb1e2?this['text']:this['length'])+']':'')+(this['breakAfter']?'#':'');}static['get'](_0x2dad2b){return _0x2dad2b['cmView'];}get['isEditable'](){return!0x0;}get['isWidget'](){return!0x1;}get['isHidden'](){return!0x1;}['merge'](_0xa95383,_0x10daec,_0x572a5d,_0x73041c,_0x40ce79,_0x216503){return!0x1;}['become'](_0xc7d6be){return!0x1;}['canReuseDOM'](_0x2128f8){return _0x2128f8['constructor']==this['constructor']&&!(0x8&(this['flags']|_0x2128f8['flags']));}['getSide'](){return 0x0;}['destroy'](){for(let _0x293528 of this['children'])_0x293528['parent']==this&&_0x293528['destroy']();this['parent']=null;}}function _0x5e5416(_0x32c559){let _0x3b3be8=_0x32c559['nextSibling'];return _0x32c559['parentNode']['removeChild'](_0x32c559),_0x3b3be8;}ContentView['prototype']['breakAfter']=0x0;class _0x146b77{constructor(_0x488ded,_0x120408,_0x22522e){this['children']=_0x488ded,this['pos']=_0x120408,this['i']=_0x22522e,this['off']=0x0;}['findPos'](_0x94da50,_0x5eccb9=0x1){for(;;){if(_0x94da50>this['pos']||_0x94da50==this['pos']&&(_0x5eccb9>0x0||0x0==this['i']||this['children'][this['i']-0x1]['breakAfter']))return this['off']=_0x94da50-this['pos'],this;let _0x4b1df5=this['children'][--this['i']];this['pos']-=_0x4b1df5['length']+_0x4b1df5['breakAfter'];}}}function _0x35742c(_0x3b43d9,_0x589e0f,_0x559bb2,_0x1c21db,_0x266801,_0x2a605a,_0x4d52f4,_0xa98a29,_0x3a0561){let {children:_0x5af655}=_0x3b43d9,_0x245817=_0x5af655['length']?_0x5af655[_0x589e0f]:null,_0x51626d=_0x2a605a['length']?_0x2a605a[_0x2a605a['length']-0x1]:null,_0x23cbb8=_0x51626d?_0x51626d['breakAfter']:_0x4d52f4;if(!(_0x589e0f==_0x1c21db&&_0x245817&&!_0x4d52f4&&!_0x23cbb8&&_0x2a605a['length']<0x2&&_0x245817['merge'](_0x559bb2,_0x266801,_0x2a605a['length']?_0x51626d:null,0x0==_0x559bb2,_0xa98a29,_0x3a0561))){if(_0x1c21db<_0x5af655['length']){let _0x44da53=_0x5af655[_0x1c21db];_0x44da53&&(_0x266801<_0x44da53['length']||_0x44da53['breakAfter']&&(null==_0x51626d?void 0x0:_0x51626d['breakAfter']))?(_0x589e0f==_0x1c21db&&(_0x44da53=_0x44da53['split'](_0x266801),_0x266801=0x0),!_0x23cbb8&&_0x51626d&&_0x44da53['merge'](0x0,_0x266801,_0x51626d,!0x0,0x0,_0x3a0561)?_0x2a605a[_0x2a605a['length']-0x1]=_0x44da53:((_0x266801||_0x44da53['children']['length']&&!_0x44da53['children'][0x0]['length'])&&_0x44da53['merge'](0x0,_0x266801,null,!0x1,0x0,_0x3a0561),_0x2a605a['push'](_0x44da53))):(null==_0x44da53?void 0x0:_0x44da53['breakAfter'])&&(_0x51626d?_0x51626d['breakAfter']=0x1:_0x4d52f4=0x1),_0x1c21db++;}for(_0x245817&&(_0x245817['breakAfter']=_0x4d52f4,_0x559bb2>0x0&&(!_0x4d52f4&&_0x2a605a['length']&&_0x245817['merge'](_0x559bb2,_0x245817['length'],_0x2a605a[0x0],!0x1,_0xa98a29,0x0)?_0x245817['breakAfter']=_0x2a605a['shift']()['breakAfter']:(_0x559bb2<_0x245817['length']||_0x245817['children']['length']&&0x0==_0x245817['children'][_0x245817['children']['length']-0x1]['length'])&&_0x245817['merge'](_0x559bb2,_0x245817['length'],null,!0x1,_0xa98a29,0x0),_0x589e0f++));_0x589e0f<_0x1c21db&&_0x2a605a['length'];)if(_0x5af655[_0x1c21db-0x1]['become'](_0x2a605a[_0x2a605a['length']-0x1]))_0x1c21db--,_0x2a605a['pop'](),_0x3a0561=_0x2a605a['length']?0x0:_0xa98a29;else{if(!_0x5af655[_0x589e0f]['become'](_0x2a605a[0x0]))break;_0x589e0f++,_0x2a605a['shift'](),_0xa98a29=_0x2a605a['length']?0x0:_0x3a0561;}!_0x2a605a['length']&&_0x589e0f&&_0x1c21db<_0x5af655['length']&&!_0x5af655[_0x589e0f-0x1]['breakAfter']&&_0x5af655[_0x1c21db]['merge'](0x0,0x0,_0x5af655[_0x589e0f-0x1],!0x1,_0xa98a29,_0x3a0561)&&_0x589e0f--,(_0x589e0f<_0x1c21db||_0x2a605a['length'])&&_0x3b43d9['replaceChildren'](_0x589e0f,_0x1c21db,_0x2a605a);}}function mergeChildrenInto(_0x2e8d94,_0x1c23b7,_0x52dbc9,_0x486c97,_0x530e28,_0x10faf6){let _0x3d9a58=_0x2e8d94['childCursor'](),{i:_0x547420,off:_0x4518ee}=_0x3d9a58['findPos'](_0x52dbc9,0x1),{i:_0x5a0fbe,off:_0xbfa648}=_0x3d9a58['findPos'](_0x1c23b7,-0x1),_0x498e9d=_0x1c23b7-_0x52dbc9;for(let _0x4adc37 of _0x486c97)_0x498e9d+=_0x4adc37['length'];_0x2e8d94['length']+=_0x498e9d,_0x35742c(_0x2e8d94,_0x5a0fbe,_0xbfa648,_0x547420,_0x4518ee,_0x486c97,0x0,_0x530e28,_0x10faf6);}const _0x449357=0x100;class TextView extends ContentView{constructor(_0x352ee8){super(),this['text']=_0x352ee8;}get['length'](){return this['text']['length'];}['createDOM'](_0xfd2704){this['setDOM'](_0xfd2704||document['createTextNode'](this['text']));}['sync'](_0x4fd459,_0x28f9cb){this['dom']||this['createDOM'](),this['dom']['nodeValue']!=this['text']&&(_0x28f9cb&&_0x28f9cb['node']==this['dom']&&(_0x28f9cb['written']=!0x0),this['dom']['nodeValue']=this['text']);}['reuseDOM'](_0x774a27){0x3==_0x774a27['nodeType']&&this['createDOM'](_0x774a27);}['merge'](_0x2fd0fe,_0x1c1996,_0xce61ac){return!(0x8&this['flags']||_0xce61ac&&(!(_0xce61ac instanceof TextView)||this['length']-(_0x1c1996-_0x2fd0fe)+_0xce61ac['length']>_0x449357||0x8&_0xce61ac['flags']))&&(this['text']=this['text']['slice'](0x0,_0x2fd0fe)+(_0xce61ac?_0xce61ac['text']:'')+this['text']['slice'](_0x1c1996),this['markDirty'](),!0x0);}['split'](_0x512853){let _0x2ea2df=new TextView(this['text']['slice'](_0x512853));return this['text']=this['text']['slice'](0x0,_0x512853),this['markDirty'](),_0x2ea2df['flags']|=0x8&this['flags'],_0x2ea2df;}['localPosFromDOM'](_0x24aeaf,_0x25033a){return _0x24aeaf==this['dom']?_0x25033a:_0x25033a?this['text']['length']:0x0;}['domAtPos'](_0x3f1011){return new _0x57fd88(this['dom'],_0x3f1011);}['domBoundsAround'](_0x598ad7,_0x11da38,_0x50cf6d){return{'from':_0x50cf6d,'to':_0x50cf6d+this['length'],'startDOM':this['dom'],'endDOM':this['dom']['nextSibling']};}['coordsAt'](_0x7b6ac,_0x1c1a1e){return textCoords(this['dom'],_0x7b6ac,_0x1c1a1e);}}class _0xb40966 extends ContentView{constructor(_0x28cce1,_0x4d5c47=[],_0x1ac064=0x0){super(),this['mark']=_0x28cce1,this['children']=_0x4d5c47,this['length']=_0x1ac064;for(let _0x1247be of _0x4d5c47)_0x1247be['setParent'](this);}['setAttrs'](_0x20eed0){if(clearAttributes(_0x20eed0),this['mark']['class']&&(_0x20eed0['className']=this['mark']['class']),this['mark']['attrs']){for(let _0x1297a0 in this['mark']['attrs'])_0x20eed0['setAttribute'](_0x1297a0,this['mark']['attrs'][_0x1297a0]);}return _0x20eed0;}['canReuseDOM'](_0x2c42e1){return super['canReuseDOM'](_0x2c42e1)&&!(0x8&(this['flags']|_0x2c42e1['flags']));}['reuseDOM'](_0x4d8c5c){_0x4d8c5c['nodeName']==this['mark']['tagName']['toUpperCase']()&&(this['setDOM'](_0x4d8c5c),this['flags']|=0x6);}['sync'](_0x5c58db,_0x2969e3){this['dom']?0x4&this['flags']&&this['setAttrs'](this['dom']):this['setDOM'](this['setAttrs'](document['createElement'](this['mark']['tagName']))),super['sync'](_0x5c58db,_0x2969e3);}['merge'](_0x5c6ff4,_0x4c1e46,_0x2941fa,_0x297175,_0x2e4927,_0xafc39e){return(!_0x2941fa||!(!(_0x2941fa instanceof _0xb40966&&_0x2941fa['mark']['eq'](this['mark']))||_0x5c6ff4&&_0x2e4927<=0x0||_0x4c1e46<this['length']&&_0xafc39e<=0x0))&&(mergeChildrenInto(this,_0x5c6ff4,_0x4c1e46,_0x2941fa?_0x2941fa['children']['slice']():[],_0x2e4927-0x1,_0xafc39e-0x1),this['markDirty'](),!0x0);}['split'](_0x4448d4){let _0x185150=[],_0x205f7b=0x0,_0x54fd2c=-0x1,_0x120ba1=0x0;for(let _0x3181ae of this['children']){let _0x4633be=_0x205f7b+_0x3181ae['length'];_0x4633be>_0x4448d4&&_0x185150['push'](_0x205f7b<_0x4448d4?_0x3181ae['split'](_0x4448d4-_0x205f7b):_0x3181ae),_0x54fd2c<0x0&&_0x205f7b>=_0x4448d4&&(_0x54fd2c=_0x120ba1),_0x205f7b=_0x4633be,_0x120ba1++;}let _0x24435c=this['length']-_0x4448d4;return this['length']=_0x4448d4,_0x54fd2c>-0x1&&(this['children']['length']=_0x54fd2c,this['markDirty']()),new _0xb40966(this['mark'],_0x185150,_0x24435c);}['domAtPos'](_0x174850){return inlineDOMAtPos(this,_0x174850);}['coordsAt'](_0x214051,_0x64d06e){return _0x3a7c55(this,_0x214051,_0x64d06e);}}function textCoords(_0x8b03a5,_0x1a216b,_0x234b0a){let _0x10070d=_0x8b03a5['nodeValue']['length'];_0x1a216b>_0x10070d&&(_0x1a216b=_0x10070d);let _0x54fbfa=_0x1a216b,_0x2ebcc0=_0x1a216b,_0x23d317=0x0;0x0==_0x1a216b&&_0x234b0a<0x0||_0x1a216b==_0x10070d&&_0x234b0a>=0x0?_0x484137['chrome']||_0x484137['gecko']||(_0x1a216b?(_0x54fbfa--,_0x23d317=0x1):_0x2ebcc0<_0x10070d&&(_0x2ebcc0++,_0x23d317=-0x1)):_0x234b0a<0x0?_0x54fbfa--:_0x2ebcc0<_0x10070d&&_0x2ebcc0++;let _0x25fc64=textRange(_0x8b03a5,_0x54fbfa,_0x2ebcc0)['getClientRects']();if(!_0x25fc64['length'])return null;let _0x37365b=_0x25fc64[(_0x23d317?_0x23d317<0x0:_0x234b0a>=0x0)?0x0:_0x25fc64['length']-0x1];return _0x484137['safari']&&!_0x23d317&&0x0==_0x37365b['width']&&(_0x37365b=Array['prototype']['find']['call'](_0x25fc64,_0x381081=>_0x381081['width'])||_0x37365b),_0x23d317?flattenRect(_0x37365b,_0x23d317<0x0):_0x37365b||null;}class WidgetView extends ContentView{static['create'](_0x6d8a46,_0x379d03,_0x22606d){return new WidgetView(_0x6d8a46,_0x379d03,_0x22606d);}constructor(_0x38d67f,_0x3fdd07,_0x49ac22){super(),this['widget']=_0x38d67f,this['length']=_0x3fdd07,this['side']=_0x49ac22,this['prevWidget']=null;}['split'](_0x29ffbe){let _0x1ebdf5=WidgetView['create'](this['widget'],this['length']-_0x29ffbe,this['side']);return this['length']-=_0x29ffbe,_0x1ebdf5;}['sync'](_0x5d403a){this['dom']&&this['widget']['updateDOM'](this['dom'],_0x5d403a)||(this['dom']&&this['prevWidget']&&this['prevWidget']['destroy'](this['dom']),this['prevWidget']=null,this['setDOM'](this['widget']['toDOM'](_0x5d403a)),this['widget']['editable']||(this['dom']['contentEditable']='false'));}['getSide'](){return this['side'];}['merge'](_0x1114c4,_0x534a81,_0xebf5ec,_0x2b92a7,_0x846566,_0x57eaf3){return!(_0xebf5ec&&(!(_0xebf5ec instanceof WidgetView&&this['widget']['compare'](_0xebf5ec['widget']))||_0x1114c4>0x0&&_0x846566<=0x0||_0x534a81<this['length']&&_0x57eaf3<=0x0))&&(this['length']=_0x1114c4+(_0xebf5ec?_0xebf5ec['length']:0x0)+(this['length']-_0x534a81),!0x0);}['become'](_0x4c8ff2){return _0x4c8ff2 instanceof WidgetView&&_0x4c8ff2['side']==this['side']&&this['widget']['constructor']==_0x4c8ff2['widget']['constructor']&&(this['widget']['compare'](_0x4c8ff2['widget'])||this['markDirty'](!0x0),this['dom']&&!this['prevWidget']&&(this['prevWidget']=this['widget']),this['widget']=_0x4c8ff2['widget'],this['length']=_0x4c8ff2['length'],!0x0);}['ignoreMutation'](){return!0x0;}['ignoreEvent'](_0x2736ab){return this['widget']['ignoreEvent'](_0x2736ab);}get['overrideDOMText'](){if(0x0==this['length'])return Text['empty'];let _0x1be934=this;for(;_0x1be934['parent'];)_0x1be934=_0x1be934['parent'];let {view:_0x1e1959}=_0x1be934,_0x142784=_0x1e1959&&_0x1e1959['state']['doc'],_0x22087f=this['posAtStart'];return _0x142784?_0x142784['slice'](_0x22087f,_0x22087f+this['length']):Text['empty'];}['domAtPos'](_0x19ddb4){return(this['length']?0x0==_0x19ddb4:this['side']>0x0)?_0x57fd88['before'](this['dom']):_0x57fd88['after'](this['dom'],_0x19ddb4==this['length']);}['domBoundsAround'](){return null;}['coordsAt'](_0x3cd8a1,_0x14d00e){let _0x3d827b=this['widget']['coordsAt'](this['dom'],_0x3cd8a1,_0x14d00e);if(_0x3d827b)return _0x3d827b;let _0x38341a=this['dom']['getClientRects'](),_0x4f8b2a=null;if(!_0x38341a['length'])return null;let _0x5ee030=this['side']?this['side']<0x0:_0x3cd8a1>0x0;for(let _0x2158a8=_0x5ee030?_0x38341a['length']-0x1:0x0;_0x4f8b2a=_0x38341a[_0x2158a8],!(_0x3cd8a1>0x0?0x0==_0x2158a8:_0x2158a8==_0x38341a['length']-0x1||_0x4f8b2a['top']<_0x4f8b2a['bottom']);_0x2158a8+=_0x5ee030?-0x1:0x1);return flattenRect(_0x4f8b2a,!_0x5ee030);}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(_0xf5610a){super(),this['side']=_0xf5610a;}get['length'](){return 0x0;}['merge'](){return!0x1;}['become'](_0x2f3737){return _0x2f3737 instanceof WidgetBufferView&&_0x2f3737['side']==this['side'];}['split'](){return new WidgetBufferView(this['side']);}['sync'](){if(!this['dom']){let _0x4647cb=document['createElement']('img');_0x4647cb['className']='cm-widgetBuffer',_0x4647cb['setAttribute']('aria-hidden','true'),this['setDOM'](_0x4647cb);}}['getSide'](){return this['side'];}['domAtPos'](_0x35b826){return this['side']>0x0?_0x57fd88['before'](this['dom']):_0x57fd88['after'](this['dom']);}['localPosFromDOM'](){return 0x0;}['domBoundsAround'](){return null;}['coordsAt'](_0x24f288){return this['dom']['getBoundingClientRect']();}get['overrideDOMText'](){return Text['empty'];}get['isHidden'](){return!0x0;}}function inlineDOMAtPos(_0x1bad10,_0xb09b16){let _0x504cce=_0x1bad10['dom'],{children:_0x2b2858}=_0x1bad10,_0x2e2228=0x0;for(let _0x4800d6=0x0;_0x2e2228<_0x2b2858['length'];_0x2e2228++){let _0x101d79=_0x2b2858[_0x2e2228],_0x5ba7fd=_0x4800d6+_0x101d79['length'];if(!(_0x5ba7fd==_0x4800d6&&_0x101d79['getSide']()<=0x0)){if(_0xb09b16>_0x4800d6&&_0xb09b16<_0x5ba7fd&&_0x101d79['dom']['parentNode']==_0x504cce)return _0x101d79['domAtPos'](_0xb09b16-_0x4800d6);if(_0xb09b16<=_0x4800d6)break;_0x4800d6=_0x5ba7fd;}}for(let _0x17682a=_0x2e2228;_0x17682a>0x0;_0x17682a--){let _0x3109a8=_0x2b2858[_0x17682a-0x1];if(_0x3109a8['dom']['parentNode']==_0x504cce)return _0x3109a8['domAtPos'](_0x3109a8['length']);}for(let _0x3039ae=_0x2e2228;_0x3039ae<_0x2b2858['length'];_0x3039ae++){let _0x130ab9=_0x2b2858[_0x3039ae];if(_0x130ab9['dom']['parentNode']==_0x504cce)return _0x130ab9['domAtPos'](0x0);}return new _0x57fd88(_0x504cce,0x0);}function joinInlineInto(_0x37a121,_0x2fc60a,_0x54922a){let _0x15cfac,{children:_0x4d31c7}=_0x37a121;_0x54922a>0x0&&_0x2fc60a instanceof _0xb40966&&_0x4d31c7['length']&&(_0x15cfac=_0x4d31c7[_0x4d31c7['length']-0x1])instanceof _0xb40966&&_0x15cfac['mark']['eq'](_0x2fc60a['mark'])?joinInlineInto(_0x15cfac,_0x2fc60a['children'][0x0],_0x54922a-0x1):(_0x4d31c7['push'](_0x2fc60a),_0x2fc60a['setParent'](_0x37a121)),_0x37a121['length']+=_0x2fc60a['length'];}function _0x3a7c55(_0x1a9af3,_0x3ab5a8,_0x38cbc1){let _0x36f9a2=null,_0x169fe9=-0x1,_0x1b3b48=null,_0x32510b=-0x1;!function _0x3f354d(_0x1ec3cd,_0x40b4da){for(let _0x7e295f=0x0,_0x3bdd1e=0x0;_0x7e295f<_0x1ec3cd['children']['length']&&_0x3bdd1e<=_0x40b4da;_0x7e295f++){let _0xdf83ca=_0x1ec3cd['children'][_0x7e295f],_0xe1d539=_0x3bdd1e+_0xdf83ca['length'];_0xe1d539>=_0x40b4da&&(_0xdf83ca['children']['length']?_0x3f354d(_0xdf83ca,_0x40b4da-_0x3bdd1e):(!_0x1b3b48||_0x1b3b48['isHidden']&&(_0x38cbc1>0x0||_0x19af79(_0x1b3b48,_0xdf83ca)))&&(_0xe1d539>_0x40b4da||_0x3bdd1e==_0xe1d539&&_0xdf83ca['getSide']()>0x0)?(_0x1b3b48=_0xdf83ca,_0x32510b=_0x40b4da-_0x3bdd1e):(_0x3bdd1e<_0x40b4da||_0x3bdd1e==_0xe1d539&&_0xdf83ca['getSide']()<0x0&&!_0xdf83ca['isHidden'])&&(_0x36f9a2=_0xdf83ca,_0x169fe9=_0x40b4da-_0x3bdd1e)),_0x3bdd1e=_0xe1d539;}}(_0x1a9af3,_0x3ab5a8);let _0x29aa51=(_0x38cbc1<0x0?_0x36f9a2:_0x1b3b48)||_0x36f9a2||_0x1b3b48;return _0x29aa51?_0x29aa51['coordsAt'](Math['max'](0x0,_0x29aa51==_0x36f9a2?_0x169fe9:_0x32510b),_0x38cbc1):fallbackRect(_0x1a9af3);}function fallbackRect(_0x9ed79a){let _0x599c12=_0x9ed79a['dom']['lastChild'];if(!_0x599c12)return _0x9ed79a['dom']['getBoundingClientRect']();let _0x2e9446=clientRectsFor(_0x599c12);return _0x2e9446[_0x2e9446['length']-0x1]||null;}function _0x19af79(_0x14d44c,_0x54ea59){let _0x2c9f0c=_0x14d44c['coordsAt'](0x0,0x1),_0x38bfff=_0x54ea59['coordsAt'](0x0,0x1);return _0x2c9f0c&&_0x38bfff&&_0x38bfff['top']<_0x2c9f0c['bottom'];}function combineAttrs(_0x1602ae,_0x2e4ab4){for(let _0x32cf3f in _0x1602ae)'class'==_0x32cf3f&&_0x2e4ab4['class']?_0x2e4ab4['class']+='\x20'+_0x1602ae['class']:'style'==_0x32cf3f&&_0x2e4ab4['style']?_0x2e4ab4['style']+=';'+_0x1602ae['style']:_0x2e4ab4[_0x32cf3f]=_0x1602ae[_0x32cf3f];return _0x2e4ab4;}TextView['prototype']['children']=WidgetView['prototype']['children']=WidgetBufferView['prototype']['children']=_0x20e085;const noAttrs$1=Object['create'](null);function attrsEq(_0x35752d,_0x768d02,_0x2055b9){if(_0x35752d==_0x768d02)return!0x0;_0x35752d||(_0x35752d=noAttrs$1),_0x768d02||(_0x768d02=noAttrs$1);let _0x49926d=Object['keys'](_0x35752d),_0x26b38e=Object['keys'](_0x768d02);if(_0x49926d['length']-(_0x2055b9&&_0x49926d['indexOf'](_0x2055b9)>-0x1?0x1:0x0)!=_0x26b38e['length']-(_0x2055b9&&_0x26b38e['indexOf'](_0x2055b9)>-0x1?0x1:0x0))return!0x1;for(let _0x19af97 of _0x49926d)if(_0x19af97!=_0x2055b9&&(-0x1==_0x26b38e['indexOf'](_0x19af97)||_0x35752d[_0x19af97]!==_0x768d02[_0x19af97]))return!0x1;return!0x0;}function updateAttrs(_0x9118a9,_0x52f53e,_0x80d9e7){let _0x5236c2=!0x1;if(_0x52f53e){for(let _0x9d0caa in _0x52f53e)_0x80d9e7&&_0x9d0caa in _0x80d9e7||(_0x5236c2=!0x0,'style'==_0x9d0caa?_0x9118a9['style']['cssText']='':_0x9118a9['removeAttribute'](_0x9d0caa));}if(_0x80d9e7){for(let _0x262028 in _0x80d9e7)_0x52f53e&&_0x52f53e[_0x262028]==_0x80d9e7[_0x262028]||(_0x5236c2=!0x0,'style'==_0x262028?_0x9118a9['style']['cssText']=_0x80d9e7[_0x262028]:_0x9118a9['setAttribute'](_0x262028,_0x80d9e7[_0x262028]));}return _0x5236c2;}function getAttrs$1(_0x50365b){let _0x33b8b9=Object['create'](null);for(let _0xf8ac71=0x0;_0xf8ac71<_0x50365b['attributes']['length'];_0xf8ac71++){let _0x56e415=_0x50365b['attributes'][_0xf8ac71];_0x33b8b9[_0x56e415['name']]=_0x56e415['value'];}return _0x33b8b9;}class WidgetType{['eq'](_0x19b06b){return!0x1;}['updateDOM'](_0xdb5a9d,_0x2f1c49){return!0x1;}['compare'](_0x198018){return this==_0x198018||this['constructor']==_0x198018['constructor']&&this['eq'](_0x198018);}get['estimatedHeight'](){return-0x1;}get['lineBreaks'](){return 0x0;}['ignoreEvent'](_0x2f42e3){return!0x0;}['coordsAt'](_0x1fa6fa,_0x30cfde,_0x46eb64){return null;}get['isHidden'](){return!0x1;}get['editable'](){return!0x1;}['destroy'](_0x1e566e){}}var _0x491905=function(_0x318f68){return _0x318f68[_0x318f68['Text']=0x0]='Text',_0x318f68[_0x318f68['WidgetBefore']=0x1]='WidgetBefore',_0x318f68[_0x318f68['WidgetAfter']=0x2]='WidgetAfter',_0x318f68[_0x318f68['WidgetRange']=0x3]='WidgetRange',_0x318f68;}(_0x491905||(_0x491905={}));class Decoration extends _0x23adea{constructor(_0x5a6716,_0x341901,_0x418245,_0x28da70){super(),this['startSide']=_0x5a6716,this['endSide']=_0x341901,this['widget']=_0x418245,this['spec']=_0x28da70;}get['heightRelevant'](){return!0x1;}static['mark'](_0x5137bb){return new MarkDecoration(_0x5137bb);}static['widget'](_0x29fb5a){let _0x4426dd=Math['max'](-0x2710,Math['min'](0x2710,_0x29fb5a['side']||0x0)),_0x340308=!!_0x29fb5a['block'];return _0x4426dd+=_0x340308&&!_0x29fb5a['inlineOrder']?_0x4426dd>0x0?0x11e1a300:-0x17d78400:_0x4426dd>0x0?0x5f5e100:-0x5f5e100,new PointDecoration(_0x29fb5a,_0x4426dd,_0x4426dd,_0x340308,_0x29fb5a['widget']||null,!0x1);}static['replace'](_0x79bd25){let _0x9ccdee,_0x147ff1,_0x2bbf73=!!_0x79bd25['block'];if(_0x79bd25['isBlockGap'])_0x9ccdee=-0x1dcd6500,_0x147ff1=0x17d78400;else{let {start:_0x310107,end:_0x6318c8}=getInclusive(_0x79bd25,_0x2bbf73);_0x9ccdee=(_0x310107?_0x2bbf73?-0x11e1a300:-0x1:0x1dcd6500)-0x1,_0x147ff1=0x1+(_0x6318c8?_0x2bbf73?0xbebc200:0x1:-0x23c34600);}return new PointDecoration(_0x79bd25,_0x9ccdee,_0x147ff1,_0x2bbf73,_0x79bd25['widget']||null,!0x0);}static['line'](_0x39fa6c){return new LineDecoration(_0x39fa6c);}static['set'](_0x1f519f,_0x2bcea5=!0x1){return RangeSet['of'](_0x1f519f,_0x2bcea5);}['hasHeight'](){return!!this['widget']&&this['widget']['estimatedHeight']>-0x1;}}Decoration['none']=RangeSet['empty'];class MarkDecoration extends Decoration{constructor(_0x534c5d){let {start:_0x42005a,end:_0x14fa7f}=getInclusive(_0x534c5d);super(_0x42005a?-0x1:0x1dcd6500,_0x14fa7f?0x1:-0x23c34600,null,_0x534c5d),this['tagName']=_0x534c5d['tagName']||'span',this['class']=_0x534c5d['class']||'',this['attrs']=_0x534c5d['attributes']||null;}['eq'](_0x2970e7){var _0x44fd1c,_0x48c5b8;return this==_0x2970e7||_0x2970e7 instanceof MarkDecoration&&this['tagName']==_0x2970e7['tagName']&&(this['class']||(null===(_0x44fd1c=this['attrs'])||void 0x0===_0x44fd1c?void 0x0:_0x44fd1c['class']))==(_0x2970e7['class']||(null===(_0x48c5b8=_0x2970e7['attrs'])||void 0x0===_0x48c5b8?void 0x0:_0x48c5b8['class']))&&attrsEq(this['attrs'],_0x2970e7['attrs'],'class');}['range'](_0x31293a,_0x1669b6=_0x31293a){if(_0x31293a>=_0x1669b6)throw new RangeError('Mark\x20decorations\x20may\x20not\x20be\x20empty');return super['range'](_0x31293a,_0x1669b6);}}MarkDecoration['prototype']['point']=!0x1;class LineDecoration extends Decoration{constructor(_0xeeead0){super(-0xbebc200,-0xbebc200,null,_0xeeead0);}['eq'](_0x1c9f3d){return _0x1c9f3d instanceof LineDecoration&&this['spec']['class']==_0x1c9f3d['spec']['class']&&attrsEq(this['spec']['attributes'],_0x1c9f3d['spec']['attributes']);}['range'](_0x473ff3,_0x29a1ee=_0x473ff3){if(_0x29a1ee!=_0x473ff3)throw new RangeError('Line\x20decoration\x20ranges\x20must\x20be\x20zero-length');return super['range'](_0x473ff3,_0x29a1ee);}}LineDecoration['prototype']['mapMode']=_0x7e2fb5['TrackBefore'],LineDecoration['prototype']['point']=!0x0;class PointDecoration extends Decoration{constructor(_0x268267,_0x20192e,_0x35e07a,_0x435def,_0x32ed54,_0x2625ff){super(_0x20192e,_0x35e07a,_0x32ed54,_0x268267),this['block']=_0x435def,this['isReplace']=_0x2625ff,this['mapMode']=_0x435def?_0x20192e<=0x0?_0x7e2fb5['TrackBefore']:_0x7e2fb5['TrackAfter']:_0x7e2fb5['TrackDel'];}get['type'](){return this['startSide']!=this['endSide']?_0x491905['WidgetRange']:this['startSide']<=0x0?_0x491905['WidgetBefore']:_0x491905['WidgetAfter'];}get['heightRelevant'](){return this['block']||!!this['widget']&&(this['widget']['estimatedHeight']>=0x5||this['widget']['lineBreaks']>0x0);}['eq'](_0x21bb2a){return _0x21bb2a instanceof PointDecoration&&widgetsEq(this['widget'],_0x21bb2a['widget'])&&this['block']==_0x21bb2a['block']&&this['startSide']==_0x21bb2a['startSide']&&this['endSide']==_0x21bb2a['endSide'];}['range'](_0xd38935,_0x58b171=_0xd38935){if(this['isReplace']&&(_0xd38935>_0x58b171||_0xd38935==_0x58b171&&this['startSide']>0x0&&this['endSide']<=0x0))throw new RangeError('Invalid\x20range\x20for\x20replacement\x20decoration');if(!this['isReplace']&&_0x58b171!=_0xd38935)throw new RangeError('Widget\x20decorations\x20can\x20only\x20have\x20zero-length\x20ranges');return super['range'](_0xd38935,_0x58b171);}}function getInclusive(_0x9e34e1,_0xbc4ae8=!0x1){let {inclusiveStart:_0xfbc45f,inclusiveEnd:_0x42db12}=_0x9e34e1;return null==_0xfbc45f&&(_0xfbc45f=_0x9e34e1['inclusive']),null==_0x42db12&&(_0x42db12=_0x9e34e1['inclusive']),{'start':null!=_0xfbc45f?_0xfbc45f:_0xbc4ae8,'end':null!=_0x42db12?_0x42db12:_0xbc4ae8};}function widgetsEq(_0x55c4b3,_0x1111e7){return _0x55c4b3==_0x1111e7||!!(_0x55c4b3&&_0x1111e7&&_0x55c4b3['compare'](_0x1111e7));}function _0x193d45(_0x340fbe,_0x2569c0,_0x3b5c87,_0x56308d=0x0){let _0x3c9021=_0x3b5c87['length']-0x1;_0x3c9021>=0x0&&_0x3b5c87[_0x3c9021]+_0x56308d>=_0x340fbe?_0x3b5c87[_0x3c9021]=Math['max'](_0x3b5c87[_0x3c9021],_0x2569c0):_0x3b5c87['push'](_0x340fbe,_0x2569c0);}PointDecoration['prototype']['point']=!0x0;class _0x20d9e7 extends ContentView{constructor(){super(...arguments),this['children']=[],this['length']=0x0,this['prevAttrs']=void 0x0,this['attrs']=null,this['breakAfter']=0x0;}['merge'](_0x4d6928,_0x2c6759,_0x2702a0,_0x350b3a,_0xee1541,_0x4b36b0){if(_0x2702a0){if(!(_0x2702a0 instanceof _0x20d9e7))return!0x1;this['dom']||_0x2702a0['transferDOM'](this);}return _0x350b3a&&this['setDeco'](_0x2702a0?_0x2702a0['attrs']:null),mergeChildrenInto(this,_0x4d6928,_0x2c6759,_0x2702a0?_0x2702a0['children']['slice']():[],_0xee1541,_0x4b36b0),!0x0;}['split'](_0x327636){let _0x17ac92=new _0x20d9e7();if(_0x17ac92['breakAfter']=this['breakAfter'],0x0==this['length'])return _0x17ac92;let {i:_0x158ccd,off:_0x250ab0}=this['childPos'](_0x327636);_0x250ab0&&(_0x17ac92['append'](this['children'][_0x158ccd]['split'](_0x250ab0),0x0),this['children'][_0x158ccd]['merge'](_0x250ab0,this['children'][_0x158ccd]['length'],null,!0x1,0x0,0x0),_0x158ccd++);for(let _0x195149=_0x158ccd;_0x195149<this['children']['length'];_0x195149++)_0x17ac92['append'](this['children'][_0x195149],0x0);for(;_0x158ccd>0x0&&0x0==this['children'][_0x158ccd-0x1]['length'];)this['children'][--_0x158ccd]['destroy']();return this['children']['length']=_0x158ccd,this['markDirty'](),this['length']=_0x327636,_0x17ac92;}['transferDOM'](_0x37e111){this['dom']&&(this['markDirty'](),_0x37e111['setDOM'](this['dom']),_0x37e111['prevAttrs']=void 0x0===this['prevAttrs']?this['attrs']:this['prevAttrs'],this['prevAttrs']=void 0x0,this['dom']=null);}['setDeco'](_0x3cbd1c){attrsEq(this['attrs'],_0x3cbd1c)||(this['dom']&&(this['prevAttrs']=this['attrs'],this['markDirty']()),this['attrs']=_0x3cbd1c);}['append'](_0x3ed6ca,_0x47230c){joinInlineInto(this,_0x3ed6ca,_0x47230c);}['addLineDeco'](_0x1756e8){let _0x117caf=_0x1756e8['spec']['attributes'],_0x30a8e7=_0x1756e8['spec']['class'];_0x117caf&&(this['attrs']=combineAttrs(_0x117caf,this['attrs']||{})),_0x30a8e7&&(this['attrs']=combineAttrs({'class':_0x30a8e7},this['attrs']||{}));}['domAtPos'](_0x45a02b){return inlineDOMAtPos(this,_0x45a02b);}['reuseDOM'](_0x4b89f7){'DIV'==_0x4b89f7['nodeName']&&(this['setDOM'](_0x4b89f7),this['flags']|=0x6);}['sync'](_0x470225,_0x3c1bc6){var _0x192457;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'](_0x470225,_0x3c1bc6);let _0x2948ab=this['dom']['lastChild'];for(;_0x2948ab&&ContentView['get'](_0x2948ab)instanceof _0xb40966;)_0x2948ab=_0x2948ab['lastChild'];if(!(_0x2948ab&&this['length']&&('BR'==_0x2948ab['nodeName']||0x0!=(null===(_0x192457=ContentView['get'](_0x2948ab))||void 0x0===_0x192457?void 0x0:_0x192457['isEditable'])||_0x484137['ios']&&this['children']['some'](_0x562c93=>_0x562c93 instanceof TextView)))){let _0xb240df=document['createElement']('BR');_0xb240df['cmIgnore']=!0x0,this['dom']['appendChild'](_0xb240df);}}['measureTextSize'](){if(0x0==this['children']['length']||this['length']>0x14)return null;let _0x7c557f,_0x48de9f=0x0;for(let _0xbb3dcf of this['children']){if(!(_0xbb3dcf instanceof TextView)||/[^ -~]/['test'](_0xbb3dcf['text']))return null;let _0x7ab4d5=clientRectsFor(_0xbb3dcf['dom']);if(0x1!=_0x7ab4d5['length'])return null;_0x48de9f+=_0x7ab4d5[0x0]['width'],_0x7c557f=_0x7ab4d5[0x0]['height'];}return _0x48de9f?{'lineHeight':this['dom']['getBoundingClientRect']()['height'],'charWidth':_0x48de9f/this['length'],'textHeight':_0x7c557f}:null;}['coordsAt'](_0x1ccc47,_0x2a0e7c){let _0xb9bbc=_0x3a7c55(this,_0x1ccc47,_0x2a0e7c);if(!this['children']['length']&&_0xb9bbc&&this['parent']){let {heightOracle:_0x25478d}=this['parent']['view']['viewState'],_0x32b09d=_0xb9bbc['bottom']-_0xb9bbc['top'];if(Math['abs'](_0x32b09d-_0x25478d['lineHeight'])<0x2&&_0x25478d['textHeight']<_0x32b09d){let _0x588876=(_0x32b09d-_0x25478d['textHeight'])/0x2;return{'top':_0xb9bbc['top']+_0x588876,'bottom':_0xb9bbc['bottom']-_0x588876,'left':_0xb9bbc['left'],'right':_0xb9bbc['left']};}}return _0xb9bbc;}['become'](_0x34a12d){return _0x34a12d instanceof _0x20d9e7&&0x0==this['children']['length']&&0x0==_0x34a12d['children']['length']&&attrsEq(this['attrs'],_0x34a12d['attrs'])&&this['breakAfter']==_0x34a12d['breakAfter'];}['covers'](){return!0x0;}static['find'](_0x364de3,_0x4ece79){for(let _0x19a465=0x0,_0xdb24dc=0x0;_0x19a465<_0x364de3['children']['length'];_0x19a465++){let _0x2254f5=_0x364de3['children'][_0x19a465],_0x56f0fa=_0xdb24dc+_0x2254f5['length'];if(_0x56f0fa>=_0x4ece79){if(_0x2254f5 instanceof _0x20d9e7)return _0x2254f5;if(_0x56f0fa>_0x4ece79)break;}_0xdb24dc=_0x56f0fa+_0x2254f5['breakAfter'];}return null;}}class BlockWidgetView extends ContentView{constructor(_0xcab9dc,_0xa8af93,_0x1db5a4){super(),this['widget']=_0xcab9dc,this['length']=_0xa8af93,this['deco']=_0x1db5a4,this['breakAfter']=0x0,this['prevWidget']=null;}['merge'](_0x355183,_0x350c1b,_0x388297,_0x21d2d1,_0x5d3e2e,_0x232e9e){return!(_0x388297&&(!(_0x388297 instanceof BlockWidgetView&&this['widget']['compare'](_0x388297['widget']))||_0x355183>0x0&&_0x5d3e2e<=0x0||_0x350c1b<this['length']&&_0x232e9e<=0x0))&&(this['length']=_0x355183+(_0x388297?_0x388297['length']:0x0)+(this['length']-_0x350c1b),!0x0);}['domAtPos'](_0xa5df85){return 0x0==_0xa5df85?_0x57fd88['before'](this['dom']):_0x57fd88['after'](this['dom'],_0xa5df85==this['length']);}['split'](_0x199911){let _0x283d94=this['length']-_0x199911;this['length']=_0x199911;let _0x2c34eb=new BlockWidgetView(this['widget'],_0x283d94,this['deco']);return _0x2c34eb['breakAfter']=this['breakAfter'],_0x2c34eb;}get['children'](){return _0x20e085;}['sync'](_0x11a3a3){this['dom']&&this['widget']['updateDOM'](this['dom'],_0x11a3a3)||(this['dom']&&this['prevWidget']&&this['prevWidget']['destroy'](this['dom']),this['prevWidget']=null,this['setDOM'](this['widget']['toDOM'](_0x11a3a3)),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'](_0x317361){return _0x317361 instanceof BlockWidgetView&&_0x317361['widget']['constructor']==this['widget']['constructor']&&(_0x317361['widget']['compare'](this['widget'])||this['markDirty'](!0x0),this['dom']&&!this['prevWidget']&&(this['prevWidget']=this['widget']),this['widget']=_0x317361['widget'],this['length']=_0x317361['length'],this['deco']=_0x317361['deco'],this['breakAfter']=_0x317361['breakAfter'],!0x0);}['ignoreMutation'](){return!0x0;}['ignoreEvent'](_0x30cd52){return this['widget']['ignoreEvent'](_0x30cd52);}get['isEditable'](){return!0x1;}get['isWidget'](){return!0x0;}['coordsAt'](_0x3178f5,_0x34dfd5){let _0x22e393=this['widget']['coordsAt'](this['dom'],_0x3178f5,_0x34dfd5);return _0x22e393||(this['widget']instanceof BlockGapWidget?null:flattenRect(this['dom']['getBoundingClientRect'](),this['length']?0x0==_0x3178f5:_0x34dfd5<=0x0));}['destroy'](){super['destroy'](),this['dom']&&this['widget']['destroy'](this['dom']);}['covers'](_0x5a0a20){let {startSide:_0x250aaf,endSide:_0x365263}=this['deco'];return _0x250aaf!=_0x365263&&(_0x5a0a20<0x0?_0x250aaf<0x0:_0x365263>0x0);}}class BlockGapWidget extends WidgetType{constructor(_0x4d904a){super(),this['height']=_0x4d904a;}['toDOM'](){let _0x2e215e=document['createElement']('div');return _0x2e215e['className']='cm-gap',this['updateDOM'](_0x2e215e),_0x2e215e;}['eq'](_0x39efc1){return _0x39efc1['height']==this['height'];}['updateDOM'](_0x3dd42f){return _0x3dd42f['style']['height']=this['height']+'px',!0x0;}get['editable'](){return!0x0;}get['estimatedHeight'](){return this['height'];}['ignoreEvent'](){return!0x1;}}class ContentBuilder{constructor(_0x307edb,_0x51cddd,_0x1a0853,_0x3c04b9){this['doc']=_0x307edb,this['pos']=_0x51cddd,this['end']=_0x1a0853,this['disallowBlockEffectsFor']=_0x3c04b9,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']=_0x307edb['iter'](),this['skip']=_0x51cddd;}['posCovered'](){if(0x0==this['content']['length'])return!this['breakAtStart']&&this['doc']['lineAt'](this['pos'])['from']!=this['pos'];let _0x22e1fa=this['content'][this['content']['length']-0x1];return!(_0x22e1fa['breakAfter']||_0x22e1fa instanceof BlockWidgetView&&_0x22e1fa['deco']['endSide']<0x0);}['getLine'](){return this['curLine']||(this['content']['push'](this['curLine']=new _0x20d9e7()),this['atCursorPos']=!0x0),this['curLine'];}['flushBuffer'](_0xf3aade=this['bufferMarks']){this['pendingBuffer']&&(this['curLine']['append'](_0x241033(new WidgetBufferView(-0x1),_0xf3aade),_0xf3aade['length']),this['pendingBuffer']=0x0);}['addBlockWidget'](_0xc5de9a){this['flushBuffer'](),this['curLine']=null,this['content']['push'](_0xc5de9a);}['finish'](_0x138182){this['pendingBuffer']&&_0x138182<=this['bufferMarks']['length']?this['flushBuffer']():this['pendingBuffer']=0x0,this['posCovered']()||_0x138182&&this['content']['length']&&this['content'][this['content']['length']-0x1]instanceof BlockWidgetView||this['getLine']();}['buildText'](_0xe1f776,_0x27313a,_0x80a190){for(;_0xe1f776>0x0;){if(this['textOff']==this['text']['length']){let {value:_0x2d61d2,lineBreak:_0x4b600f,done:_0x46d04a}=this['cursor']['next'](this['skip']);if(this['skip']=0x0,_0x46d04a)throw new Error('Ran\x20out\x20of\x20text\x20content\x20when\x20drawing\x20inline\x20views');if(_0x4b600f){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,_0xe1f776--;continue;}this['text']=_0x2d61d2,this['textOff']=0x0;}let _0x3732ad=Math['min'](this['text']['length']-this['textOff'],_0xe1f776),_0x585525=Math['min'](_0x3732ad,0x200);this['flushBuffer'](_0x27313a['slice'](_0x27313a['length']-_0x80a190)),this['getLine']()['append'](_0x241033(new TextView(this['text']['slice'](this['textOff'],this['textOff']+_0x585525)),_0x27313a),_0x80a190),this['atCursorPos']=!0x0,this['textOff']+=_0x585525,_0xe1f776-=_0x585525,_0x80a190=_0x3732ad<=_0x585525?0x0:_0x27313a['length'];}}['span'](_0x101015,_0x1e645b,_0x32bda7,_0x4344e5){this['buildText'](_0x1e645b-_0x101015,_0x32bda7,_0x4344e5),this['pos']=_0x1e645b,this['openStart']<0x0&&(this['openStart']=_0x4344e5);}['point'](_0x2db727,_0x2a05d1,_0x135a12,_0x43e8a6,_0x77d91c,_0x5d3eb2){if(this['disallowBlockEffectsFor'][_0x5d3eb2]&&_0x135a12 instanceof PointDecoration){if(_0x135a12['block'])throw new RangeError('Block\x20decorations\x20may\x20not\x20be\x20specified\x20via\x20plugins');if(_0x2a05d1>this['doc']['lineAt'](this['pos'])['to'])throw new RangeError('Decorations\x20that\x20replace\x20line\x20breaks\x20may\x20not\x20be\x20specified\x20via\x20plugins');}let _0xe6bfc1=_0x2a05d1-_0x2db727;if(_0x135a12 instanceof PointDecoration){if(_0x135a12['block'])_0x135a12['startSide']>0x0&&!this['posCovered']()&&this['getLine'](),this['addBlockWidget'](new BlockWidgetView(_0x135a12['widget']||NullWidget['block'],_0xe6bfc1,_0x135a12));else{let _0x5216a=WidgetView['create'](_0x135a12['widget']||NullWidget['inline'],_0xe6bfc1,_0xe6bfc1?0x0:_0x135a12['startSide']),_0x57298d=this['atCursorPos']&&!_0x5216a['isEditable']&&_0x77d91c<=_0x43e8a6['length']&&(_0x2db727<_0x2a05d1||_0x135a12['startSide']>0x0),_0xbdb485=!_0x5216a['isEditable']&&(_0x2db727<_0x2a05d1||_0x77d91c>_0x43e8a6['length']||_0x135a12['startSide']<=0x0),_0x279a3b=this['getLine']();0x2!=this['pendingBuffer']||_0x57298d||_0x5216a['isEditable']||(this['pendingBuffer']=0x0),this['flushBuffer'](_0x43e8a6),_0x57298d&&(_0x279a3b['append'](_0x241033(new WidgetBufferView(0x1),_0x43e8a6),_0x77d91c),_0x77d91c=_0x43e8a6['length']+Math['max'](0x0,_0x77d91c-_0x43e8a6['length'])),_0x279a3b['append'](_0x241033(_0x5216a,_0x43e8a6),_0x77d91c),this['atCursorPos']=_0xbdb485,this['pendingBuffer']=_0xbdb485?_0x2db727<_0x2a05d1||_0x77d91c>_0x43e8a6['length']?0x1:0x2:0x0,this['pendingBuffer']&&(this['bufferMarks']=_0x43e8a6['slice']());}}else this['doc']['lineAt'](this['pos'])['from']==this['pos']&&this['getLine']()['addLineDeco'](_0x135a12);_0xe6bfc1&&(this['textOff']+_0xe6bfc1<=this['text']['length']?this['textOff']+=_0xe6bfc1:(this['skip']+=_0xe6bfc1-(this['text']['length']-this['textOff']),this['text']='',this['textOff']=0x0),this['pos']=_0x2a05d1),this['openStart']<0x0&&(this['openStart']=_0x77d91c);}static['build'](_0x3fa226,_0x4bbf25,_0x5140fc,_0x1d5a9d,_0x5acf2c){let _0x47e3ea=new ContentBuilder(_0x3fa226,_0x4bbf25,_0x5140fc,_0x5acf2c);return _0x47e3ea['openEnd']=RangeSet['spans'](_0x1d5a9d,_0x4bbf25,_0x5140fc,_0x47e3ea),_0x47e3ea['openStart']<0x0&&(_0x47e3ea['openStart']=_0x47e3ea['openEnd']),_0x47e3ea['finish'](_0x47e3ea['openEnd']),_0x47e3ea;}}function _0x241033(_0x49ea90,_0x3452c3){for(let _0x4b628f of _0x3452c3)_0x49ea90=new _0xb40966(_0x4b628f,[_0x49ea90],_0x49ea90['length']);return _0x49ea90;}class NullWidget extends WidgetType{constructor(_0x2a3868){super(),this['tag']=_0x2a3868;}['eq'](_0x17c575){return _0x17c575['tag']==this['tag'];}['toDOM'](){return document['createElement'](this['tag']);}['updateDOM'](_0x432ed7){return _0x432ed7['nodeName']['toLowerCase']()==this['tag'];}get['isHidden'](){return!0x0;}}NullWidget['inline']=new NullWidget('span'),NullWidget['block']=new NullWidget('div');var Direction=function(_0x4f3f48){return _0x4f3f48[_0x4f3f48['LTR']=0x0]='LTR',_0x4f3f48[_0x4f3f48['RTL']=0x1]='RTL',_0x4f3f48;}(Direction||(Direction={}));const _0x3d40cd=Direction['LTR'],_0x30f2e4=Direction['RTL'];function _0x3be94c(_0x33a124){let _0x3cabf3=[];for(let _0x322cbd=0x0;_0x322cbd<_0x33a124['length'];_0x322cbd++)_0x3cabf3['push'](0x1<<+_0x33a124[_0x322cbd]);return _0x3cabf3;}const _0x5c1573=_0x3be94c('88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008'),_0x46408d=_0x3be94c('4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333'),Brackets=Object['create'](null),BracketStack=[];for(let _0x220656 of['()','[]','{}']){let _0x46f017=_0x220656['charCodeAt'](0x0),_0x182f14=_0x220656['charCodeAt'](0x1);Brackets[_0x46f017]=_0x182f14,Brackets[_0x182f14]=-_0x46f017;}function _0x2a71d6(_0x30714e){return _0x30714e<=0xf7?_0x5c1573[_0x30714e]:0x590<=_0x30714e&&_0x30714e<=0x5f4?0x2:0x600<=_0x30714e&&_0x30714e<=0x6f9?_0x46408d[_0x30714e-0x600]:0x6ee<=_0x30714e&&_0x30714e<=0x8ac?0x4:0x2000<=_0x30714e&&_0x30714e<=0x200c?0x100:0xfb50<=_0x30714e&&_0x30714e<=0xfdff?0x4:0x1;}const _0x1c7d70=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class _0x31c489{get['dir'](){return this['level']%0x2?_0x30f2e4:_0x3d40cd;}constructor(_0x584158,_0x42ad09,_0x56f125){this['from']=_0x584158,this['to']=_0x42ad09,this['level']=_0x56f125;}['side'](_0x296129,_0x29e127){return this['dir']==_0x29e127==_0x296129?this['to']:this['from'];}['forward'](_0x42a1e8,_0x4d1a6b){return _0x42a1e8==(this['dir']==_0x4d1a6b);}static['find'](_0x40e46b,_0xce5bda,_0x46e38c,_0x411a5d){let _0x4aac40=-0x1;for(let _0x2c4c68=0x0;_0x2c4c68<_0x40e46b['length'];_0x2c4c68++){let _0xbeb642=_0x40e46b[_0x2c4c68];if(_0xbeb642['from']<=_0xce5bda&&_0xbeb642['to']>=_0xce5bda){if(_0xbeb642['level']==_0x46e38c)return _0x2c4c68;(_0x4aac40<0x0||(0x0!=_0x411a5d?_0x411a5d<0x0?_0xbeb642['from']<_0xce5bda:_0xbeb642['to']>_0xce5bda:_0x40e46b[_0x4aac40]['level']>_0xbeb642['level']))&&(_0x4aac40=_0x2c4c68);}}if(_0x4aac40<0x0)throw new RangeError('Index\x20out\x20of\x20range');return _0x4aac40;}}function isolatesEq(_0x3d6d28,_0xf13c06){if(_0x3d6d28['length']!=_0xf13c06['length'])return!0x1;for(let _0x56ceb4=0x0;_0x56ceb4<_0x3d6d28['length'];_0x56ceb4++){let _0x2372c9=_0x3d6d28[_0x56ceb4],_0x1273c6=_0xf13c06[_0x56ceb4];if(_0x2372c9['from']!=_0x1273c6['from']||_0x2372c9['to']!=_0x1273c6['to']||_0x2372c9['direction']!=_0x1273c6['direction']||!isolatesEq(_0x2372c9['inner'],_0x1273c6['inner']))return!0x1;}return!0x0;}const types=[];function computeCharTypes(_0x21a314,_0x405d13,_0x48bbfc,_0x8079ca,_0x2a9319){for(let _0x20c988=0x0;_0x20c988<=_0x8079ca['length'];_0x20c988++){let _0x33f045=_0x20c988?_0x8079ca[_0x20c988-0x1]['to']:_0x405d13,_0x41ef5e=_0x20c988<_0x8079ca['length']?_0x8079ca[_0x20c988]['from']:_0x48bbfc,_0x2c03c9=_0x20c988?0x100:_0x2a9319;for(let _0x1d513e=_0x33f045,_0x20a6bd=_0x2c03c9,_0x56ee08=_0x2c03c9;_0x1d513e<_0x41ef5e;_0x1d513e++){let _0x48d422=_0x2a71d6(_0x21a314['charCodeAt'](_0x1d513e));0x200==_0x48d422?_0x48d422=_0x20a6bd:0x8==_0x48d422&&0x4==_0x56ee08&&(_0x48d422=0x10),types[_0x1d513e]=0x4==_0x48d422?0x2:_0x48d422,0x7&_0x48d422&&(_0x56ee08=_0x48d422),_0x20a6bd=_0x48d422;}for(let _0x327063=_0x33f045,_0x5c8104=_0x2c03c9,_0x46c491=_0x2c03c9;_0x327063<_0x41ef5e;_0x327063++){let _0x11404d=types[_0x327063];if(0x80==_0x11404d)_0x327063<_0x41ef5e-0x1&&_0x5c8104==types[_0x327063+0x1]&&0x18&_0x5c8104?_0x11404d=types[_0x327063]=_0x5c8104:types[_0x327063]=0x100;else{if(0x40==_0x11404d){let _0x5de5ff=_0x327063+0x1;for(;_0x5de5ff<_0x41ef5e&&0x40==types[_0x5de5ff];)_0x5de5ff++;let _0x3c3ade=_0x327063&&0x8==_0x5c8104||_0x5de5ff<_0x48bbfc&&0x8==types[_0x5de5ff]?0x1==_0x46c491?0x1:0x8:0x100;for(let _0x3acd39=_0x327063;_0x3acd39<_0x5de5ff;_0x3acd39++)types[_0x3acd39]=_0x3c3ade;_0x327063=_0x5de5ff-0x1;}else 0x8==_0x11404d&&0x1==_0x46c491&&(types[_0x327063]=0x1);}_0x5c8104=_0x11404d,0x7&_0x11404d&&(_0x46c491=_0x11404d);}}}function processBracketPairs(_0x2b6f68,_0x1cf029,_0x587752,_0x1cfd51,_0x591834){let _0x12578d=0x1==_0x591834?0x2:0x1;for(let _0x2457a1=0x0,_0x426224=0x0,_0x50af97=0x0;_0x2457a1<=_0x1cfd51['length'];_0x2457a1++){let _0x54ae4d=_0x2457a1?_0x1cfd51[_0x2457a1-0x1]['to']:_0x1cf029,_0x5cfed7=_0x2457a1<_0x1cfd51['length']?_0x1cfd51[_0x2457a1]['from']:_0x587752;for(let _0x3f9f47,_0x1c2da9,_0x1999ee,_0x189bb3=_0x54ae4d;_0x189bb3<_0x5cfed7;_0x189bb3++)if(_0x1c2da9=Brackets[_0x3f9f47=_0x2b6f68['charCodeAt'](_0x189bb3)]){if(_0x1c2da9<0x0){for(let _0x4c111e=_0x426224-0x3;_0x4c111e>=0x0;_0x4c111e-=0x3)if(BracketStack[_0x4c111e+0x1]==-_0x1c2da9){let _0x421d36=BracketStack[_0x4c111e+0x2],_0x16e4ff=0x2&_0x421d36?_0x591834:0x4&_0x421d36?0x1&_0x421d36?_0x12578d:_0x591834:0x0;_0x16e4ff&&(types[_0x189bb3]=types[BracketStack[_0x4c111e]]=_0x16e4ff),_0x426224=_0x4c111e;break;}}else{if(0xbd==BracketStack['length'])break;BracketStack[_0x426224++]=_0x189bb3,BracketStack[_0x426224++]=_0x3f9f47,BracketStack[_0x426224++]=_0x50af97;}}else{if(0x2==(_0x1999ee=types[_0x189bb3])||0x1==_0x1999ee){let _0x27148e=_0x1999ee==_0x591834;_0x50af97=_0x27148e?0x0:0x1;for(let _0x3ff94b=_0x426224-0x3;_0x3ff94b>=0x0;_0x3ff94b-=0x3){let _0xc5730f=BracketStack[_0x3ff94b+0x2];if(0x2&_0xc5730f)break;if(_0x27148e)BracketStack[_0x3ff94b+0x2]|=0x2;else{if(0x4&_0xc5730f)break;BracketStack[_0x3ff94b+0x2]|=0x4;}}}}}}function processNeutrals(_0x3b771e,_0x56f347,_0x125219,_0x55dc43){for(let _0x29852c=0x0,_0x23009b=_0x55dc43;_0x29852c<=_0x125219['length'];_0x29852c++){let _0x59f90d=_0x29852c?_0x125219[_0x29852c-0x1]['to']:_0x3b771e,_0x23a1ef=_0x29852c<_0x125219['length']?_0x125219[_0x29852c]['from']:_0x56f347;for(let _0x4bcc4b=_0x59f90d;_0x4bcc4b<_0x23a1ef;){let _0x39e37b=types[_0x4bcc4b];if(0x100==_0x39e37b){let _0x4e8366=_0x4bcc4b+0x1;for(;;)if(_0x4e8366==_0x23a1ef){if(_0x29852c==_0x125219['length'])break;_0x4e8366=_0x125219[_0x29852c++]['to'],_0x23a1ef=_0x29852c<_0x125219['length']?_0x125219[_0x29852c]['from']:_0x56f347;}else{if(0x100!=types[_0x4e8366])break;_0x4e8366++;}let _0x4173f7=0x1==_0x23009b,_0x4b6f0b=_0x4173f7==(0x1==(_0x4e8366<_0x56f347?types[_0x4e8366]:_0x55dc43))?_0x4173f7?0x1:0x2:_0x55dc43;for(let _0x4115fd=_0x4e8366,_0x3e7624=_0x29852c,_0xc60852=_0x3e7624?_0x125219[_0x3e7624-0x1]['to']:_0x3b771e;_0x4115fd>_0x4bcc4b;)_0x4115fd==_0xc60852&&(_0x4115fd=_0x125219[--_0x3e7624]['from'],_0xc60852=_0x3e7624?_0x125219[_0x3e7624-0x1]['to']:_0x3b771e),types[--_0x4115fd]=_0x4b6f0b;_0x4bcc4b=_0x4e8366;}else _0x23009b=_0x39e37b,_0x4bcc4b++;}}}function emitSpans(_0x96bde1,_0x57d7bb,_0x2c35f7,_0x5819be,_0x234ddf,_0x21a136,_0x5a61a2){let _0x293ce1=_0x5819be%0x2?0x2:0x1;if(_0x5819be%0x2==_0x234ddf%0x2)for(let _0x28a0e2=_0x57d7bb,_0x1622aa=0x0;_0x28a0e2<_0x2c35f7;){let _0x1f2025=!0x0,_0x35c5cb=!0x1;if(_0x1622aa==_0x21a136['length']||_0x28a0e2<_0x21a136[_0x1622aa]['from']){let _0x2abac2=types[_0x28a0e2];_0x2abac2!=_0x293ce1&&(_0x1f2025=!0x1,_0x35c5cb=0x10==_0x2abac2);}let _0x37a838=_0x1f2025||0x1!=_0x293ce1?null:[],_0x2c2ec6=_0x1f2025?_0x5819be:_0x5819be+0x1,_0x153b3d=_0x28a0e2;t:for(;;)if(_0x1622aa<_0x21a136['length']&&_0x153b3d==_0x21a136[_0x1622aa]['from']){if(_0x35c5cb)break t;let _0x9baccb=_0x21a136[_0x1622aa];if(!_0x1f2025)for(let _0x596973=_0x9baccb['to'],_0x4df01d=_0x1622aa+0x1;;){if(_0x596973==_0x2c35f7)break t;if(!(_0x4df01d<_0x21a136['length']&&_0x21a136[_0x4df01d]['from']==_0x596973)){if(types[_0x596973]==_0x293ce1)break t;break;}_0x596973=_0x21a136[_0x4df01d++]['to'];}if(_0x1622aa++,_0x37a838)_0x37a838['push'](_0x9baccb);else _0x9baccb['from']>_0x28a0e2&&_0x5a61a2['push'](new _0x31c489(_0x28a0e2,_0x9baccb['from'],_0x2c2ec6)),computeSectionOrder(_0x96bde1,_0x9baccb['direction']==_0x3d40cd!=!(_0x2c2ec6%0x2)?_0x5819be+0x1:_0x5819be,_0x234ddf,_0x9baccb['inner'],_0x9baccb['from'],_0x9baccb['to'],_0x5a61a2),_0x28a0e2=_0x9baccb['to'];_0x153b3d=_0x9baccb['to'];}else{if(_0x153b3d==_0x2c35f7||(_0x1f2025?types[_0x153b3d]!=_0x293ce1:types[_0x153b3d]==_0x293ce1))break;_0x153b3d++;}_0x37a838?emitSpans(_0x96bde1,_0x28a0e2,_0x153b3d,_0x5819be+0x1,_0x234ddf,_0x37a838,_0x5a61a2):_0x28a0e2<_0x153b3d&&_0x5a61a2['push'](new _0x31c489(_0x28a0e2,_0x153b3d,_0x2c2ec6)),_0x28a0e2=_0x153b3d;}else for(let _0x193c41=_0x2c35f7,_0x6ce73d=_0x21a136['length'];_0x193c41>_0x57d7bb;){let _0x433047=!0x0,_0x485222=!0x1;if(!_0x6ce73d||_0x193c41>_0x21a136[_0x6ce73d-0x1]['to']){let _0x702056=types[_0x193c41-0x1];_0x702056!=_0x293ce1&&(_0x433047=!0x1,_0x485222=0x10==_0x702056);}let _0x141cb7=_0x433047||0x1!=_0x293ce1?null:[],_0x1850bb=_0x433047?_0x5819be:_0x5819be+0x1,_0x8f1a3b=_0x193c41;t:for(;;)if(_0x6ce73d&&_0x8f1a3b==_0x21a136[_0x6ce73d-0x1]['to']){if(_0x485222)break t;let _0x14928e=_0x21a136[--_0x6ce73d];if(!_0x433047)for(let _0x3461bf=_0x14928e['from'],_0x3ac248=_0x6ce73d;;){if(_0x3461bf==_0x57d7bb)break t;if(!_0x3ac248||_0x21a136[_0x3ac248-0x1]['to']!=_0x3461bf){if(types[_0x3461bf-0x1]==_0x293ce1)break t;break;}_0x3461bf=_0x21a136[--_0x3ac248]['from'];}if(_0x141cb7)_0x141cb7['push'](_0x14928e);else _0x14928e['to']<_0x193c41&&_0x5a61a2['push'](new _0x31c489(_0x14928e['to'],_0x193c41,_0x1850bb)),computeSectionOrder(_0x96bde1,_0x14928e['direction']==_0x3d40cd!=!(_0x1850bb%0x2)?_0x5819be+0x1:_0x5819be,_0x234ddf,_0x14928e['inner'],_0x14928e['from'],_0x14928e['to'],_0x5a61a2),_0x193c41=_0x14928e['from'];_0x8f1a3b=_0x14928e['from'];}else{if(_0x8f1a3b==_0x57d7bb||(_0x433047?types[_0x8f1a3b-0x1]!=_0x293ce1:types[_0x8f1a3b-0x1]==_0x293ce1))break;_0x8f1a3b--;}_0x141cb7?emitSpans(_0x96bde1,_0x8f1a3b,_0x193c41,_0x5819be+0x1,_0x234ddf,_0x141cb7,_0x5a61a2):_0x8f1a3b<_0x193c41&&_0x5a61a2['push'](new _0x31c489(_0x8f1a3b,_0x193c41,_0x1850bb)),_0x193c41=_0x8f1a3b;}}function computeSectionOrder(_0x1d2d84,_0x5c4d7d,_0x2875fa,_0x29b5b9,_0x11b637,_0x39c26b,_0x2c2bdb){let _0x53d972=_0x5c4d7d%0x2?0x2:0x1;computeCharTypes(_0x1d2d84,_0x11b637,_0x39c26b,_0x29b5b9,_0x53d972),processBracketPairs(_0x1d2d84,_0x11b637,_0x39c26b,_0x29b5b9,_0x53d972),processNeutrals(_0x11b637,_0x39c26b,_0x29b5b9,_0x53d972),emitSpans(_0x1d2d84,_0x11b637,_0x39c26b,_0x5c4d7d,_0x2875fa,_0x29b5b9,_0x2c2bdb);}function computeOrder(_0x5fec0c,_0x331475,_0xd61d86){if(!_0x5fec0c)return[new _0x31c489(0x0,0x0,_0x331475==_0x30f2e4?0x1:0x0)];if(_0x331475==_0x3d40cd&&!_0xd61d86['length']&&!_0x1c7d70['test'](_0x5fec0c))return trivialOrder(_0x5fec0c['length']);if(_0xd61d86['length']){for(;_0x5fec0c['length']>types['length'];)types[types['length']]=0x100;}let _0x5cca16=[],_0x4b9020=_0x331475==_0x3d40cd?0x0:0x1;return computeSectionOrder(_0x5fec0c,_0x4b9020,_0x4b9020,_0xd61d86,0x0,_0x5fec0c['length'],_0x5cca16),_0x5cca16;}function trivialOrder(_0x5ac33d){return[new _0x31c489(0x0,_0x5ac33d,0x0)];}let _0x3e73f1='';function _0x1c9c27(_0x487640,_0x49365f,_0xcb7cfb,_0x381dfb,_0x53eaa0){var _0x3251b1;let _0x129bf9=_0x381dfb['head']-_0x487640['from'],_0x54cd65=_0x31c489['find'](_0x49365f,_0x129bf9,null!==(_0x3251b1=_0x381dfb['bidiLevel'])&&void 0x0!==_0x3251b1?_0x3251b1:-0x1,_0x381dfb['assoc']),_0x33b7cd=_0x49365f[_0x54cd65],_0x2decb3=_0x33b7cd['side'](_0x53eaa0,_0xcb7cfb);if(_0x129bf9==_0x2decb3){let _0x5a8e0f=_0x54cd65+=_0x53eaa0?0x1:-0x1;if(_0x5a8e0f<0x0||_0x5a8e0f>=_0x49365f['length'])return null;_0x33b7cd=_0x49365f[_0x54cd65=_0x5a8e0f],_0x129bf9=_0x33b7cd['side'](!_0x53eaa0,_0xcb7cfb),_0x2decb3=_0x33b7cd['side'](_0x53eaa0,_0xcb7cfb);}let _0x4265cb=findClusterBreak(_0x487640['text'],_0x129bf9,_0x33b7cd['forward'](_0x53eaa0,_0xcb7cfb));(_0x4265cb<_0x33b7cd['from']||_0x4265cb>_0x33b7cd['to'])&&(_0x4265cb=_0x2decb3),_0x3e73f1=_0x487640['text']['slice'](Math['min'](_0x129bf9,_0x4265cb),Math['max'](_0x129bf9,_0x4265cb));let _0x441b3a=_0x54cd65==(_0x53eaa0?_0x49365f['length']-0x1:0x0)?null:_0x49365f[_0x54cd65+(_0x53eaa0?0x1:-0x1)];return _0x441b3a&&_0x4265cb==_0x2decb3&&_0x441b3a['level']+(_0x53eaa0?0x0:0x1)<_0x33b7cd['level']?EditorSelection['cursor'](_0x441b3a['side'](!_0x53eaa0,_0xcb7cfb)+_0x487640['from'],_0x441b3a['forward'](_0x53eaa0,_0xcb7cfb)?0x1:-0x1,_0x441b3a['level']):EditorSelection['cursor'](_0x4265cb+_0x487640['from'],_0x33b7cd['forward'](_0x53eaa0,_0xcb7cfb)?-0x1:0x1,_0x33b7cd['level']);}function autoDirection(_0x69006b,_0x4dba9a,_0x1343c){for(let _0x1114a2=_0x4dba9a;_0x1114a2<_0x1343c;_0x1114a2++){let _0x379f5a=_0x2a71d6(_0x69006b['charCodeAt'](_0x1114a2));if(0x1==_0x379f5a)return _0x3d40cd;if(0x2==_0x379f5a||0x4==_0x379f5a)return _0x30f2e4;}return _0x3d40cd;}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':_0x530c23=>_0x530c23['some'](_0x27afe3=>_0x27afe3)}),nativeSelectionHidden=Facet['define']({'combine':_0x4e0578=>_0x4e0578['some'](_0x23d8c2=>_0x23d8c2)}),_0x46e0de=Facet['define']();class ScrollTarget{constructor(_0x30496c,_0x2ed439='nearest',_0x3f0195='nearest',_0x4ab6e4=0x5,_0x2e7245=0x5,_0x21d353=!0x1){this['range']=_0x30496c,this['y']=_0x2ed439,this['x']=_0x3f0195,this['yMargin']=_0x4ab6e4,this['xMargin']=_0x2e7245,this['isSnapshot']=_0x21d353;}['map'](_0x2582cd){return _0x2582cd['empty']?this:new ScrollTarget(this['range']['map'](_0x2582cd),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}['clip'](_0xe3c112){return this['range']['to']<=_0xe3c112['doc']['length']?this:new ScrollTarget(EditorSelection['cursor'](_0xe3c112['doc']['length']),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}}const scrollIntoView$1=StateEffect['define']({'map':(t,_0x4cb1f9)=>t['map'](_0x4cb1f9)}),setEditContextFormatting=StateEffect['define']();function logException(_0x1ba748,_0x5d9459,_0x5a1da3){let _0x46575f=_0x1ba748['facet'](exceptionSink);_0x46575f['length']?_0x46575f[0x0](_0x5d9459):window['onerror']&&window['onerror'](String(_0x5d9459),_0x5a1da3,void 0x0,void 0x0,_0x5d9459)||(_0x5a1da3?console['error'](_0x5a1da3+':',_0x5d9459):console['error'](_0x5d9459));}const editable=Facet['define']({'combine':_0x37e028=>!_0x37e028['length']||_0x37e028[0x0]});let nextPluginID=0x0;const _0x2cf2b4=Facet['define']({'combine':_0x34845c=>_0x34845c['filter']((_0x4d7056,_0x16cef6)=>{for(let _0xed7215=0x0;_0xed7215<_0x16cef6;_0xed7215++)if(_0x34845c[_0xed7215]['plugin']==_0x4d7056['plugin'])return!0x1;return!0x0;})});class _0x5e6928{constructor(_0x140564,_0x2c7d37,_0x5a5f74,_0x40521f,_0x1e21c6){this['id']=_0x140564,this['create']=_0x2c7d37,this['domEventHandlers']=_0x5a5f74,this['domEventObservers']=_0x40521f,this['baseExtensions']=_0x1e21c6(this),this['extension']=this['baseExtensions']['concat'](_0x2cf2b4['of']({'plugin':this,'arg':void 0x0}));}['of'](_0x2f2928){return this['baseExtensions']['concat'](_0x2cf2b4['of']({'plugin':this,'arg':_0x2f2928}));}static['define'](_0x4b2bd9,_0x1ccf7b){const {eventHandlers:_0x60ca0e,eventObservers:_0x39ce2e,provide:_0x1ba648,decorations:_0x205101}=_0x1ccf7b||{};return new _0x5e6928(nextPluginID++,_0x4b2bd9,_0x60ca0e,_0x39ce2e,_0x1dc29c=>{let _0x14733d=[];return _0x205101&&_0x14733d['push'](decorations['of'](_0x2ae04b=>{let _0x5ca406=_0x2ae04b['plugin'](_0x1dc29c);return _0x5ca406?_0x205101(_0x5ca406):Decoration['none'];})),_0x1ba648&&_0x14733d['push'](_0x1ba648(_0x1dc29c)),_0x14733d;});}static['fromClass'](_0x5733e1,_0x9eb5cb){return _0x5e6928['define']((_0x3e59f1,_0x456f04)=>new _0x5733e1(_0x3e59f1,_0x456f04),_0x9eb5cb);}}class PluginInstance{constructor(_0x33a7bd){this['spec']=_0x33a7bd,this['mustUpdate']=null,this['value']=null;}get['plugin'](){return this['spec']&&this['spec']['plugin'];}['update'](_0xe87b6f){if(this['value']){if(this['mustUpdate']){let _0x98003=this['mustUpdate'];if(this['mustUpdate']=null,this['value']['update'])try{this['value']['update'](_0x98003);}catch(_0x571aaa){if(logException(_0x98003['state'],_0x571aaa,'CodeMirror\x20plugin\x20crashed'),this['value']['destroy'])try{this['value']['destroy']();}catch(_0x4fe6f1){}this['deactivate']();}}}else{if(this['spec'])try{this['value']=this['spec']['plugin']['create'](_0xe87b6f,this['spec']['arg']);}catch(_0x54c550){logException(_0xe87b6f['state'],_0x54c550,'CodeMirror\x20plugin\x20crashed'),this['deactivate']();}}return this;}['destroy'](_0x714e1e){var _0x2ae0b6;if(null===(_0x2ae0b6=this['value'])||void 0x0===_0x2ae0b6?void 0x0:_0x2ae0b6['destroy'])try{this['value']['destroy']();}catch(_0x1f947b){logException(_0x714e1e['state'],_0x1f947b,'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(_0x1c75c0,_0x450ad5){let _0x2a0f37=_0x1c75c0['state']['facet'](bidiIsolatedRanges);if(!_0x2a0f37['length'])return _0x2a0f37;let _0x126112=_0x2a0f37['map'](_0x104ce2=>_0x104ce2 instanceof Function?_0x104ce2(_0x1c75c0):_0x104ce2),_0x4b0e58=[];return RangeSet['spans'](_0x126112,_0x450ad5['from'],_0x450ad5['to'],{'point'(){},'span'(_0x24fa1c,_0x3a8f80,_0x35e70f,_0x10bd12){let _0x81bff3=_0x24fa1c-_0x450ad5['from'],_0x68870c=_0x3a8f80-_0x450ad5['from'],_0x358c08=_0x4b0e58;for(let _0x24e40f=_0x35e70f['length']-0x1;_0x24e40f>=0x0;_0x24e40f--,_0x10bd12--){let _0x5a62da,_0x430aeb=_0x35e70f[_0x24e40f]['spec']['bidiIsolate'];if(null==_0x430aeb&&(_0x430aeb=autoDirection(_0x450ad5['text'],_0x81bff3,_0x68870c)),_0x10bd12>0x0&&_0x358c08['length']&&(_0x5a62da=_0x358c08[_0x358c08['length']-0x1])['to']==_0x81bff3&&_0x5a62da['direction']==_0x430aeb)_0x5a62da['to']=_0x68870c,_0x358c08=_0x5a62da['inner'];else{let _0x4c13bb={'from':_0x81bff3,'to':_0x68870c,'direction':_0x430aeb,'inner':[]};_0x358c08['push'](_0x4c13bb),_0x358c08=_0x4c13bb['inner'];}}}}),_0x4b0e58;}const _0x14f89a=Facet['define']();function getScrollMargins(_0x712999){let _0x393282=0x0,_0x591539=0x0,_0x2bad05=0x0,_0x38186c=0x0;for(let _0x322ccf of _0x712999['state']['facet'](_0x14f89a)){let _0xbe921=_0x322ccf(_0x712999);_0xbe921&&(null!=_0xbe921['left']&&(_0x393282=Math['max'](_0x393282,_0xbe921['left'])),null!=_0xbe921['right']&&(_0x591539=Math['max'](_0x591539,_0xbe921['right'])),null!=_0xbe921['top']&&(_0x2bad05=Math['max'](_0x2bad05,_0xbe921['top'])),null!=_0xbe921['bottom']&&(_0x38186c=Math['max'](_0x38186c,_0xbe921['bottom'])));}return{'left':_0x393282,'right':_0x591539,'top':_0x2bad05,'bottom':_0x38186c};}const styleModule=Facet['define']();class _0x3bb3f1{constructor(_0x2f81db,_0x7246fd,_0x5080e8,_0x14e712){this['fromA']=_0x2f81db,this['toA']=_0x7246fd,this['fromB']=_0x5080e8,this['toB']=_0x14e712;}['join'](_0x4218a0){return new _0x3bb3f1(Math['min'](this['fromA'],_0x4218a0['fromA']),Math['max'](this['toA'],_0x4218a0['toA']),Math['min'](this['fromB'],_0x4218a0['fromB']),Math['max'](this['toB'],_0x4218a0['toB']));}['addToSet'](_0x2da3a0){let _0x5ee705=_0x2da3a0['length'],_0x2716db=this;for(;_0x5ee705>0x0;_0x5ee705--){let _0x12a0d4=_0x2da3a0[_0x5ee705-0x1];if(!(_0x12a0d4['fromA']>_0x2716db['toA'])){if(_0x12a0d4['toA']<_0x2716db['fromA'])break;_0x2716db=_0x2716db['join'](_0x12a0d4),_0x2da3a0['splice'](_0x5ee705-0x1,0x1);}}return _0x2da3a0['splice'](_0x5ee705,0x0,_0x2716db),_0x2da3a0;}static['extendWithRanges'](_0x20a66b,_0x29d2db){if(0x0==_0x29d2db['length'])return _0x20a66b;let _0x46415b=[];for(let _0x3e8a6b=0x0,_0x1279fc=0x0,_0x151fb4=0x0,_0x5a4b2b=0x0;;_0x3e8a6b++){let _0x1b454f=_0x3e8a6b==_0x20a66b['length']?null:_0x20a66b[_0x3e8a6b],_0x4716c2=_0x151fb4-_0x5a4b2b,_0x53c89c=_0x1b454f?_0x1b454f['fromB']:0x3b9aca00;for(;_0x1279fc<_0x29d2db['length']&&_0x29d2db[_0x1279fc]<_0x53c89c;){let _0x2f14de=_0x29d2db[_0x1279fc],_0x1047df=_0x29d2db[_0x1279fc+0x1],_0x21c5c4=Math['max'](_0x5a4b2b,_0x2f14de),_0x3bc905=Math['min'](_0x53c89c,_0x1047df);if(_0x21c5c4<=_0x3bc905&&new _0x3bb3f1(_0x21c5c4+_0x4716c2,_0x3bc905+_0x4716c2,_0x21c5c4,_0x3bc905)['addToSet'](_0x46415b),_0x1047df>_0x53c89c)break;_0x1279fc+=0x2;}if(!_0x1b454f)return _0x46415b;new _0x3bb3f1(_0x1b454f['fromA'],_0x1b454f['toA'],_0x1b454f['fromB'],_0x1b454f['toB'])['addToSet'](_0x46415b),_0x151fb4=_0x1b454f['toA'],_0x5a4b2b=_0x1b454f['toB'];}}}class ViewUpdate{constructor(_0x2351eb,_0xcc0167,_0x386a57){this['view']=_0x2351eb,this['state']=_0xcc0167,this['transactions']=_0x386a57,this['flags']=0x0,this['startState']=_0x2351eb['state'],this['changes']=ChangeSet['empty'](this['startState']['doc']['length']);for(let _0x25c176 of _0x386a57)this['changes']=this['changes']['compose'](_0x25c176['changes']);let _0x1a6cd8=[];this['changes']['iterChangedRanges']((_0x99b60e,_0x509816,_0x5f0ae0,_0x475fc4)=>_0x1a6cd8['push'](new _0x3bb3f1(_0x99b60e,_0x509816,_0x5f0ae0,_0x475fc4))),this['changedRanges']=_0x1a6cd8;}static['create'](_0x3db7b5,_0x33e1f8,_0x5434a2){return new ViewUpdate(_0x3db7b5,_0x33e1f8,_0x5434a2);}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'](_0x5a215e=>_0x5a215e['selection']);}get['empty'](){return 0x0==this['flags']&&0x0==this['transactions']['length'];}}class _0xb7db07 extends ContentView{get['length'](){return this['view']['state']['doc']['length'];}constructor(_0x164495){super(),this['view']=_0x164495,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'](_0x164495['contentDOM']),this['children']=[new _0x20d9e7()],this['children'][0x0]['setParent'](this),this['updateDeco'](),this['updateInner']([new _0x3bb3f1(0x0,0x0,0x0,_0x164495['state']['doc']['length'])],0x0,null);}['update'](_0x1738fb){var _0x413314;let _0x52ef82=_0x1738fb['changedRanges'];this['minWidth']>0x0&&_0x52ef82['length']&&(_0x52ef82['every'](({fromA:_0x271e51,toA:_0x3697f7})=>_0x3697f7<this['minWidthFrom']||_0x271e51>this['minWidthTo'])?(this['minWidthFrom']=_0x1738fb['changes']['mapPos'](this['minWidthFrom'],0x1),this['minWidthTo']=_0x1738fb['changes']['mapPos'](this['minWidthTo'],0x1)):this['minWidth']=this['minWidthFrom']=this['minWidthTo']=0x0),this['updateEditContextFormatting'](_0x1738fb);let _0x20bf44=-0x1;this['view']['inputState']['composing']>=0x0&&!this['view']['observer']['editContext']&&((null===(_0x413314=this['domChanged'])||void 0x0===_0x413314?void 0x0:_0x413314['newSel'])?_0x20bf44=this['domChanged']['newSel']['head']:touchesComposition(_0x1738fb['changes'],this['hasComposition'])||_0x1738fb['selectionSet']||(_0x20bf44=_0x1738fb['state']['selection']['main']['head']));let _0x48935a=_0x20bf44>-0x1?findCompositionRange(this['view'],_0x1738fb['changes'],_0x20bf44):null;if(this['domChanged']=null,this['hasComposition']){this['markedForComposition']['clear']();let {from:_0x5d73e9,to:_0x20cd94}=this['hasComposition'];_0x52ef82=new _0x3bb3f1(_0x5d73e9,_0x20cd94,_0x1738fb['changes']['mapPos'](_0x5d73e9,-0x1),_0x1738fb['changes']['mapPos'](_0x20cd94,0x1))['addToSet'](_0x52ef82['slice']());}this['hasComposition']=_0x48935a?{'from':_0x48935a['range']['fromB'],'to':_0x48935a['range']['toB']}:null,(_0x484137['ie']||_0x484137['chrome'])&&!_0x48935a&&_0x1738fb&&_0x1738fb['state']['doc']['lines']!=_0x1738fb['startState']['doc']['lines']&&(this['forceSelection']=!0x0);let _0x5bd246=_0x530e7e(this['decorations'],this['updateDeco'](),_0x1738fb['changes']);return _0x52ef82=_0x3bb3f1['extendWithRanges'](_0x52ef82,_0x5bd246),!!(0x7&this['flags']||0x0!=_0x52ef82['length'])&&(this['updateInner'](_0x52ef82,_0x1738fb['startState']['doc']['length'],_0x48935a),_0x1738fb['transactions']['length']&&(this['lastUpdate']=Date['now']()),!0x0);}['updateInner'](_0xce5279,_0x48521a,_0x13541e){this['view']['viewState']['mustMeasureContent']=!0x0,this['updateChildren'](_0xce5279,_0x48521a,_0x13541e);let {observer:_0x3e1f0d}=this['view'];_0x3e1f0d['ignore'](()=>{this['dom']['style']['height']=this['view']['viewState']['contentHeight']/this['view']['scaleY']+'px',this['dom']['style']['flexBasis']=this['minWidth']?this['minWidth']+'px':'';let _0x5459e9=_0x484137['chrome']||_0x484137['ios']?{'node':_0x3e1f0d['selectionRange']['focusNode'],'written':!0x1}:void 0x0;this['sync'](this['view'],_0x5459e9),this['flags']&=-0x8,_0x5459e9&&(_0x5459e9['written']||_0x3e1f0d['selectionRange']['focusNode']!=_0x5459e9['node'])&&(this['forceSelection']=!0x0),this['dom']['style']['height']='';}),this['markedForComposition']['forEach'](_0x35ed9e=>_0x35ed9e['flags']&=-0x9);let _0x1f5a4b=[];if(this['view']['viewport']['from']||this['view']['viewport']['to']<this['view']['state']['doc']['length']){for(let _0x590866 of this['children'])_0x590866 instanceof BlockWidgetView&&_0x590866['widget']instanceof BlockGapWidget&&_0x1f5a4b['push'](_0x590866['dom']);}_0x3e1f0d['updateGaps'](_0x1f5a4b);}['updateChildren'](_0x29fa33,_0x3b87be,_0x1e3cbc){let _0x4732f0=_0x1e3cbc?_0x1e3cbc['range']['addToSet'](_0x29fa33['slice']()):_0x29fa33,_0x10805c=this['childCursor'](_0x3b87be);for(let _0x564179=_0x4732f0['length']-0x1;;_0x564179--){let _0x15d566=_0x564179>=0x0?_0x4732f0[_0x564179]:null;if(!_0x15d566)break;let _0x28b810,_0x372f2e,_0x2b4993,_0x2c9733,{fromA:_0x3a909c,toA:_0x465bd1,fromB:_0x541adf,toB:_0x11c29b}=_0x15d566;if(_0x1e3cbc&&_0x1e3cbc['range']['fromB']<_0x11c29b&&_0x1e3cbc['range']['toB']>_0x541adf){let _0x3ed132=ContentBuilder['build'](this['view']['state']['doc'],_0x541adf,_0x1e3cbc['range']['fromB'],this['decorations'],this['dynamicDecorationMap']),_0x5ec871=ContentBuilder['build'](this['view']['state']['doc'],_0x1e3cbc['range']['toB'],_0x11c29b,this['decorations'],this['dynamicDecorationMap']);_0x372f2e=_0x3ed132['breakAtStart'],_0x2b4993=_0x3ed132['openStart'],_0x2c9733=_0x5ec871['openEnd'];let _0x884f57=this['compositionView'](_0x1e3cbc);_0x5ec871['breakAtStart']?_0x884f57['breakAfter']=0x1:_0x5ec871['content']['length']&&_0x884f57['merge'](_0x884f57['length'],_0x884f57['length'],_0x5ec871['content'][0x0],!0x1,_0x5ec871['openStart'],0x0)&&(_0x884f57['breakAfter']=_0x5ec871['content'][0x0]['breakAfter'],_0x5ec871['content']['shift']()),_0x3ed132['content']['length']&&_0x884f57['merge'](0x0,0x0,_0x3ed132['content'][_0x3ed132['content']['length']-0x1],!0x0,0x0,_0x3ed132['openEnd'])&&_0x3ed132['content']['pop'](),_0x28b810=_0x3ed132['content']['concat'](_0x884f57)['concat'](_0x5ec871['content']);}else({content:_0x28b810,breakAtStart:_0x372f2e,openStart:_0x2b4993,openEnd:_0x2c9733}=ContentBuilder['build'](this['view']['state']['doc'],_0x541adf,_0x11c29b,this['decorations'],this['dynamicDecorationMap']));let {i:_0x3ebcc5,off:_0x1d8180}=_0x10805c['findPos'](_0x465bd1,0x1),{i:_0x68af1c,off:_0x32f5b7}=_0x10805c['findPos'](_0x3a909c,-0x1);_0x35742c(this,_0x68af1c,_0x32f5b7,_0x3ebcc5,_0x1d8180,_0x28b810,_0x372f2e,_0x2b4993,_0x2c9733);}_0x1e3cbc&&this['fixCompositionDOM'](_0x1e3cbc);}['updateEditContextFormatting'](_0x250452){this['editContextFormatting']=this['editContextFormatting']['map'](_0x250452['changes']);for(let _0x3a0cc9 of _0x250452['transactions'])for(let _0x5d5970 of _0x3a0cc9['effects'])_0x5d5970['is'](setEditContextFormatting)&&(this['editContextFormatting']=_0x5d5970['value']);}['compositionView'](_0x112b47){let _0x59840c=new TextView(_0x112b47['text']['nodeValue']);_0x59840c['flags']|=0x8;for(let {deco:_0x1d4617}of _0x112b47['marks'])_0x59840c=new _0xb40966(_0x1d4617,[_0x59840c],_0x59840c['length']);let _0x38d870=new _0x20d9e7();return _0x38d870['append'](_0x59840c,0x0),_0x38d870;}['fixCompositionDOM'](_0x22e71a){let _0x3f3ce3=(_0x520990,_0x24d0f4)=>{_0x24d0f4['flags']|=0x8|(_0x24d0f4['children']['some'](_0x33a2a8=>0x7&_0x33a2a8['flags'])?0x1:0x0),this['markedForComposition']['add'](_0x24d0f4);let _0x274a90=ContentView['get'](_0x520990);_0x274a90&&_0x274a90!=_0x24d0f4&&(_0x274a90['dom']=null),_0x24d0f4['setDOM'](_0x520990);},_0x42b3ad=this['childPos'](_0x22e71a['range']['fromB'],0x1),_0x1aa51f=this['children'][_0x42b3ad['i']];_0x3f3ce3(_0x22e71a['line'],_0x1aa51f);for(let _0x12234f=_0x22e71a['marks']['length']-0x1;_0x12234f>=-0x1;_0x12234f--)_0x42b3ad=_0x1aa51f['childPos'](_0x42b3ad['off'],0x1),_0x1aa51f=_0x1aa51f['children'][_0x42b3ad['i']],_0x3f3ce3(_0x12234f>=0x0?_0x22e71a['marks'][_0x12234f]['node']:_0x22e71a['text'],_0x1aa51f);}['updateSelection'](_0x11a303=!0x1,_0x4fd236=!0x1){!_0x11a303&&this['view']['observer']['selectionRange']['focusNode']||this['view']['observer']['readSelectionRange']();let _0x264e5a=this['view']['root']['activeElement'],_0x346df0=_0x264e5a==this['dom'],_0x4c28bd=!_0x346df0&&!(this['view']['state']['facet'](editable)||this['dom']['tabIndex']>-0x1)&&hasSelection(this['dom'],this['view']['observer']['selectionRange'])&&!(_0x264e5a&&this['dom']['contains'](_0x264e5a));if(!(_0x346df0||_0x4fd236||_0x4c28bd))return;let _0x1af639=this['forceSelection'];this['forceSelection']=!0x1;let _0x19aee5=this['view']['state']['selection']['main'],_0xd75c51=this['moveToLine'](this['domAtPos'](_0x19aee5['anchor'])),_0x5d3416=_0x19aee5['empty']?_0xd75c51:this['moveToLine'](this['domAtPos'](_0x19aee5['head']));if(_0x484137['gecko']&&_0x19aee5['empty']&&!this['hasComposition']&&betweenUneditable(_0xd75c51)){let _0x32a455=document['createTextNode']('');this['view']['observer']['ignore'](()=>_0xd75c51['node']['insertBefore'](_0x32a455,_0xd75c51['node']['childNodes'][_0xd75c51['offset']]||null)),_0xd75c51=_0x5d3416=new _0x57fd88(_0x32a455,0x0),_0x1af639=!0x0;}let _0x3f2acf=this['view']['observer']['selectionRange'];!_0x1af639&&_0x3f2acf['focusNode']&&(isEquivalentPosition(_0xd75c51['node'],_0xd75c51['offset'],_0x3f2acf['anchorNode'],_0x3f2acf['anchorOffset'])&&isEquivalentPosition(_0x5d3416['node'],_0x5d3416['offset'],_0x3f2acf['focusNode'],_0x3f2acf['focusOffset'])||this['suppressWidgetCursorChange'](_0x3f2acf,_0x19aee5))||(this['view']['observer']['ignore'](()=>{_0x484137['android']&&_0x484137['chrome']&&this['dom']['contains'](_0x3f2acf['focusNode'])&&inUneditable(_0x3f2acf['focusNode'],this['dom'])&&(this['dom']['blur'](),this['dom']['focus']({'preventScroll':!0x0}));let _0x26387b=getSelection(this['view']['root']);if(_0x26387b){if(_0x19aee5['empty']){if(_0x484137['gecko']){let _0x519bad=nextToUneditable(_0xd75c51['node'],_0xd75c51['offset']);if(_0x519bad&&0x3!=_0x519bad){let _0x5622db=(0x1==_0x519bad?textNodeBefore:textNodeAfter)(_0xd75c51['node'],_0xd75c51['offset']);_0x5622db&&(_0xd75c51=new _0x57fd88(_0x5622db['node'],_0x5622db['offset']));}}_0x26387b['collapse'](_0xd75c51['node'],_0xd75c51['offset']),null!=_0x19aee5['bidiLevel']&&void 0x0!==_0x26387b['caretBidiLevel']&&(_0x26387b['caretBidiLevel']=_0x19aee5['bidiLevel']);}else{if(_0x26387b['extend']){_0x26387b['collapse'](_0xd75c51['node'],_0xd75c51['offset']);try{_0x26387b['extend'](_0x5d3416['node'],_0x5d3416['offset']);}catch(_0x423e6a){}}else{let _0x29b670=document['createRange']();_0x19aee5['anchor']>_0x19aee5['head']&&([_0xd75c51,_0x5d3416]=[_0x5d3416,_0xd75c51]),_0x29b670['setEnd'](_0x5d3416['node'],_0x5d3416['offset']),_0x29b670['setStart'](_0xd75c51['node'],_0xd75c51['offset']),_0x26387b['removeAllRanges'](),_0x26387b['addRange'](_0x29b670);}}}else;_0x4c28bd&&this['view']['root']['activeElement']==this['dom']&&(this['dom']['blur'](),_0x264e5a&&_0x264e5a['focus']());}),this['view']['observer']['setSelectionRange'](_0xd75c51,_0x5d3416)),this['impreciseAnchor']=_0xd75c51['precise']?null:new _0x57fd88(_0x3f2acf['anchorNode'],_0x3f2acf['anchorOffset']),this['impreciseHead']=_0x5d3416['precise']?null:new _0x57fd88(_0x3f2acf['focusNode'],_0x3f2acf['focusOffset']);}['suppressWidgetCursorChange'](_0x24a9ae,_0x3f363f){return this['hasComposition']&&_0x3f363f['empty']&&isEquivalentPosition(_0x24a9ae['focusNode'],_0x24a9ae['focusOffset'],_0x24a9ae['anchorNode'],_0x24a9ae['anchorOffset'])&&this['posFromDOM'](_0x24a9ae['focusNode'],_0x24a9ae['focusOffset'])==_0x3f363f['head'];}['enforceCursorAssoc'](){if(this['hasComposition'])return;let {view:_0x5de288}=this,_0x210bc5=_0x5de288['state']['selection']['main'],_0x563faa=getSelection(_0x5de288['root']),{anchorNode:_0x199d45,anchorOffset:_0x50f36d}=_0x5de288['observer']['selectionRange'];if(!(_0x563faa&&_0x210bc5['empty']&&_0x210bc5['assoc']&&_0x563faa['modify']))return;let _0x17ed5c=_0x20d9e7['find'](this,_0x210bc5['head']);if(!_0x17ed5c)return;let _0x1e6b34=_0x17ed5c['posAtStart'];if(_0x210bc5['head']==_0x1e6b34||_0x210bc5['head']==_0x1e6b34+_0x17ed5c['length'])return;let _0x2d6c44=this['coordsAt'](_0x210bc5['head'],-0x1),_0x249743=this['coordsAt'](_0x210bc5['head'],0x1);if(!_0x2d6c44||!_0x249743||_0x2d6c44['bottom']>_0x249743['top'])return;let _0x56114b=this['domAtPos'](_0x210bc5['head']+_0x210bc5['assoc']);_0x563faa['collapse'](_0x56114b['node'],_0x56114b['offset']),_0x563faa['modify']('move',_0x210bc5['assoc']<0x0?'forward':'backward','lineboundary'),_0x5de288['observer']['readSelectionRange']();let _0xadaa41=_0x5de288['observer']['selectionRange'];_0x5de288['docView']['posFromDOM'](_0xadaa41['anchorNode'],_0xadaa41['anchorOffset'])!=_0x210bc5['from']&&_0x563faa['collapse'](_0x199d45,_0x50f36d);}['moveToLine'](_0x303276){let _0x9a0a4d,_0x196622=this['dom'];if(_0x303276['node']!=_0x196622)return _0x303276;for(let _0x21883b=_0x303276['offset'];!_0x9a0a4d&&_0x21883b<_0x196622['childNodes']['length'];_0x21883b++){let _0x1e3897=ContentView['get'](_0x196622['childNodes'][_0x21883b]);_0x1e3897 instanceof _0x20d9e7&&(_0x9a0a4d=_0x1e3897['domAtPos'](0x0));}for(let _0x3acb63=_0x303276['offset']-0x1;!_0x9a0a4d&&_0x3acb63>=0x0;_0x3acb63--){let _0x4cbaaf=ContentView['get'](_0x196622['childNodes'][_0x3acb63]);_0x4cbaaf instanceof _0x20d9e7&&(_0x9a0a4d=_0x4cbaaf['domAtPos'](_0x4cbaaf['length']));}return _0x9a0a4d?new _0x57fd88(_0x9a0a4d['node'],_0x9a0a4d['offset'],!0x0):_0x303276;}['nearest'](_0x41ee52){for(let _0x246894=_0x41ee52;_0x246894;){let _0x174d08=ContentView['get'](_0x246894);if(_0x174d08&&_0x174d08['rootView']==this)return _0x174d08;_0x246894=_0x246894['parentNode'];}return null;}['posFromDOM'](_0x1265ce,_0xe8272e){let _0x4a18fa=this['nearest'](_0x1265ce);if(!_0x4a18fa)throw new RangeError('Trying\x20to\x20find\x20position\x20for\x20a\x20DOM\x20position\x20outside\x20of\x20the\x20document');return _0x4a18fa['localPosFromDOM'](_0x1265ce,_0xe8272e)+_0x4a18fa['posAtStart'];}['domAtPos'](_0x4aab92){let {i:_0x13ae65,off:_0x329291}=this['childCursor']()['findPos'](_0x4aab92,-0x1);for(;_0x13ae65<this['children']['length']-0x1;){let _0x5b3a58=this['children'][_0x13ae65];if(_0x329291<_0x5b3a58['length']||_0x5b3a58 instanceof _0x20d9e7)break;_0x13ae65++,_0x329291=0x0;}return this['children'][_0x13ae65]['domAtPos'](_0x329291);}['coordsAt'](_0x2ecf7a,_0x18f4ac){let _0x3874d8=null,_0x4b6f26=0x0;for(let _0xd34707=this['length'],_0x41ab8e=this['children']['length']-0x1;_0x41ab8e>=0x0;_0x41ab8e--){let _0x58950f=this['children'][_0x41ab8e],_0x5e2054=_0xd34707-_0x58950f['breakAfter'],_0x7820b=_0x5e2054-_0x58950f['length'];if(_0x5e2054<_0x2ecf7a)break;if(_0x7820b<=_0x2ecf7a&&(_0x7820b<_0x2ecf7a||_0x58950f['covers'](-0x1))&&(_0x5e2054>_0x2ecf7a||_0x58950f['covers'](0x1))&&(!_0x3874d8||_0x58950f instanceof _0x20d9e7&&!(_0x3874d8 instanceof _0x20d9e7&&_0x18f4ac>=0x0)))_0x3874d8=_0x58950f,_0x4b6f26=_0x7820b;else{if(_0x3874d8&&_0x7820b==_0x2ecf7a&&_0x5e2054==_0x2ecf7a&&_0x58950f instanceof BlockWidgetView&&Math['abs'](_0x18f4ac)<0x2){if(_0x58950f['deco']['startSide']<0x0)break;_0x41ab8e&&(_0x3874d8=null);}}_0xd34707=_0x7820b;}return _0x3874d8?_0x3874d8['coordsAt'](_0x2ecf7a-_0x4b6f26,_0x18f4ac):null;}['coordsForChar'](_0x4b4e7e){let {i:_0x45cebf,off:_0x59d868}=this['childPos'](_0x4b4e7e,0x1),_0xb786a5=this['children'][_0x45cebf];if(!(_0xb786a5 instanceof _0x20d9e7))return null;for(;_0xb786a5['children']['length'];){let {i:_0x5b0437,off:_0x143a75}=_0xb786a5['childPos'](_0x59d868,0x1);for(;;_0x5b0437++){if(_0x5b0437==_0xb786a5['children']['length'])return null;if((_0xb786a5=_0xb786a5['children'][_0x5b0437])['length'])break;}_0x59d868=_0x143a75;}if(!(_0xb786a5 instanceof TextView))return null;let _0x5a0784=findClusterBreak(_0xb786a5['text'],_0x59d868);if(_0x5a0784==_0x59d868)return null;let _0x4a04d2=textRange(_0xb786a5['dom'],_0x59d868,_0x5a0784)['getClientRects']();for(let _0x1a15c6=0x0;_0x1a15c6<_0x4a04d2['length'];_0x1a15c6++){let _0xe08f56=_0x4a04d2[_0x1a15c6];if(_0x1a15c6==_0x4a04d2['length']-0x1||_0xe08f56['top']<_0xe08f56['bottom']&&_0xe08f56['left']<_0xe08f56['right'])return _0xe08f56;}return null;}['measureVisibleLineHeights'](_0x147a38){let _0x24ecbe=[],{from:_0x236ccd,to:_0x12f6e4}=_0x147a38,_0xfb5ba4=this['view']['contentDOM']['clientWidth'],_0x3d154f=_0xfb5ba4>Math['max'](this['view']['scrollDOM']['clientWidth'],this['minWidth'])+0x1,_0x58e341=-0x1,_0x2a08e0=this['view']['textDirection']==Direction['LTR'];for(let _0x3a4be5=0x0,_0x3b2c1a=0x0;_0x3b2c1a<this['children']['length'];_0x3b2c1a++){let _0x1a1c90=this['children'][_0x3b2c1a],_0x3a67b9=_0x3a4be5+_0x1a1c90['length'];if(_0x3a67b9>_0x12f6e4)break;if(_0x3a4be5>=_0x236ccd){let _0x35ced9=_0x1a1c90['dom']['getBoundingClientRect']();if(_0x24ecbe['push'](_0x35ced9['height']),_0x3d154f){let _0x54a533=_0x1a1c90['dom']['lastChild'],_0x4e6a7e=_0x54a533?clientRectsFor(_0x54a533):[];if(_0x4e6a7e['length']){let _0xcfd428=_0x4e6a7e[_0x4e6a7e['length']-0x1],_0x1db9af=_0x2a08e0?_0xcfd428['right']-_0x35ced9['left']:_0x35ced9['right']-_0xcfd428['left'];_0x1db9af>_0x58e341&&(_0x58e341=_0x1db9af,this['minWidth']=_0xfb5ba4,this['minWidthFrom']=_0x3a4be5,this['minWidthTo']=_0x3a67b9);}}}_0x3a4be5=_0x3a67b9+_0x1a1c90['breakAfter'];}return _0x24ecbe;}['textDirectionAt'](_0x535c8c){let {i:_0x55d2ab}=this['childPos'](_0x535c8c,0x1);return'rtl'==getComputedStyle(this['children'][_0x55d2ab]['dom'])['direction']?Direction['RTL']:Direction['LTR'];}['measureTextSize'](){for(let _0x30dbbd of this['children'])if(_0x30dbbd instanceof _0x20d9e7){let _0x2bc733=_0x30dbbd['measureTextSize']();if(_0x2bc733)return _0x2bc733;}let _0x329164,_0x384e4d,_0x7c2454,_0x59c784=document['createElement']('div');return _0x59c784['className']='cm-line',_0x59c784['style']['width']='99999px',_0x59c784['style']['position']='absolute',_0x59c784['textContent']='abc\x20def\x20ghi\x20jkl\x20mno\x20pqr\x20stu',this['view']['observer']['ignore'](()=>{this['dom']['appendChild'](_0x59c784);let _0x351822=clientRectsFor(_0x59c784['firstChild'])[0x0];_0x329164=_0x59c784['getBoundingClientRect']()['height'],_0x384e4d=_0x351822?_0x351822['width']/0x1b:0x7,_0x7c2454=_0x351822?_0x351822['height']:_0x329164,_0x59c784['remove']();}),{'lineHeight':_0x329164,'charWidth':_0x384e4d,'textHeight':_0x7c2454};}['childCursor'](_0x3ca63b=this['length']){let _0x1d0718=this['children']['length'];return _0x1d0718&&(_0x3ca63b-=this['children'][--_0x1d0718]['length']),new _0x146b77(this['children'],_0x3ca63b,_0x1d0718);}['computeBlockGapDeco'](){let _0x2aa34f=[],_0x5afa39=this['view']['viewState'];for(let _0x5e5109=0x0,_0x3d2baa=0x0;;_0x3d2baa++){let _0x3a1be5=_0x3d2baa==_0x5afa39['viewports']['length']?null:_0x5afa39['viewports'][_0x3d2baa],_0x1495c5=_0x3a1be5?_0x3a1be5['from']-0x1:this['length'];if(_0x1495c5>_0x5e5109){let _0x368a83=(_0x5afa39['lineBlockAt'](_0x1495c5)['bottom']-_0x5afa39['lineBlockAt'](_0x5e5109)['top'])/this['view']['scaleY'];_0x2aa34f['push'](Decoration['replace']({'widget':new BlockGapWidget(_0x368a83),'block':!0x0,'inclusive':!0x0,'isBlockGap':!0x0})['range'](_0x5e5109,_0x1495c5));}if(!_0x3a1be5)break;_0x5e5109=_0x3a1be5['to']+0x1;}return Decoration['set'](_0x2aa34f);}['updateDeco'](){let _0xf4b3b3=0x1,_0x72a939=this['view']['state']['facet'](decorations)['map'](_0xbf7e9c=>(this['dynamicDecorationMap'][_0xf4b3b3++]='function'==typeof _0xbf7e9c)?_0xbf7e9c(this['view']):_0xbf7e9c),_0x49b747=!0x1,_0x4ac665=this['view']['state']['facet'](outerDecorations)['map']((_0x38b815,_0xcbddb3)=>{let _0x195b94='function'==typeof _0x38b815;return _0x195b94&&(_0x49b747=!0x0),_0x195b94?_0x38b815(this['view']):_0x38b815;});for(_0x4ac665['length']&&(this['dynamicDecorationMap'][_0xf4b3b3++]=_0x49b747,_0x72a939['push'](RangeSet['join'](_0x4ac665))),this['decorations']=[this['editContextFormatting'],..._0x72a939,this['computeBlockGapDeco'](),this['view']['viewState']['lineGapDeco']];_0xf4b3b3<this['decorations']['length'];)this['dynamicDecorationMap'][_0xf4b3b3++]=!0x1;return this['decorations'];}['scrollIntoView'](_0x55f422){if(_0x55f422['isSnapshot']){let _0x132eb4=this['view']['viewState']['lineBlockAt'](_0x55f422['range']['head']);return this['view']['scrollDOM']['scrollTop']=_0x132eb4['top']-_0x55f422['yMargin'],void(this['view']['scrollDOM']['scrollLeft']=_0x55f422['xMargin']);}for(let _0x5a640a of this['view']['state']['facet'](_0x46e0de))try{if(_0x5a640a(this['view'],_0x55f422['range'],_0x55f422))return!0x0;}catch(_0x5251a8){logException(this['view']['state'],_0x5251a8,'scroll\x20handler');}let _0x305c5e,{range:_0x35b718}=_0x55f422,_0x3c8335=this['coordsAt'](_0x35b718['head'],_0x35b718['empty']?_0x35b718['assoc']:_0x35b718['head']>_0x35b718['anchor']?-0x1:0x1);if(!_0x3c8335)return;!_0x35b718['empty']&&(_0x305c5e=this['coordsAt'](_0x35b718['anchor'],_0x35b718['anchor']>_0x35b718['head']?-0x1:0x1))&&(_0x3c8335={'left':Math['min'](_0x3c8335['left'],_0x305c5e['left']),'top':Math['min'](_0x3c8335['top'],_0x305c5e['top']),'right':Math['max'](_0x3c8335['right'],_0x305c5e['right']),'bottom':Math['max'](_0x3c8335['bottom'],_0x305c5e['bottom'])});let _0x253852=getScrollMargins(this['view']),_0x28a448={'left':_0x3c8335['left']-_0x253852['left'],'top':_0x3c8335['top']-_0x253852['top'],'right':_0x3c8335['right']+_0x253852['right'],'bottom':_0x3c8335['bottom']+_0x253852['bottom']},{offsetWidth:_0x573c44,offsetHeight:_0x40887c}=this['view']['scrollDOM'];scrollRectIntoView(this['view']['scrollDOM'],_0x28a448,_0x35b718['head']<_0x35b718['anchor']?-0x1:0x1,_0x55f422['x'],_0x55f422['y'],Math['max'](Math['min'](_0x55f422['xMargin'],_0x573c44),-_0x573c44),Math['max'](Math['min'](_0x55f422['yMargin'],_0x40887c),-_0x40887c),this['view']['textDirection']==Direction['LTR']);}}function betweenUneditable(_0x42af4e){return 0x1==_0x42af4e['node']['nodeType']&&_0x42af4e['node']['firstChild']&&(0x0==_0x42af4e['offset']||'false'==_0x42af4e['node']['childNodes'][_0x42af4e['offset']-0x1]['contentEditable'])&&(_0x42af4e['offset']==_0x42af4e['node']['childNodes']['length']||'false'==_0x42af4e['node']['childNodes'][_0x42af4e['offset']]['contentEditable']);}function findCompositionNode(_0x1a02b0,_0x1cbc73){let _0x58224f=_0x1a02b0['observer']['selectionRange'];if(!_0x58224f['focusNode'])return null;let _0x5c4c1c=textNodeBefore(_0x58224f['focusNode'],_0x58224f['focusOffset']),_0x2e3a56=textNodeAfter(_0x58224f['focusNode'],_0x58224f['focusOffset']),_0xc9d21b=_0x5c4c1c||_0x2e3a56;if(_0x2e3a56&&_0x5c4c1c&&_0x2e3a56['node']!=_0x5c4c1c['node']){let _0x112814=ContentView['get'](_0x2e3a56['node']);if(!_0x112814||_0x112814 instanceof TextView&&_0x112814['text']!=_0x2e3a56['node']['nodeValue'])_0xc9d21b=_0x2e3a56;else{if(_0x1a02b0['docView']['lastCompositionAfterCursor']){let _0x2bc259=ContentView['get'](_0x5c4c1c['node']);!_0x2bc259||_0x2bc259 instanceof TextView&&_0x2bc259['text']!=_0x5c4c1c['node']['nodeValue']||(_0xc9d21b=_0x2e3a56);}}}if(_0x1a02b0['docView']['lastCompositionAfterCursor']=_0xc9d21b!=_0x5c4c1c,!_0xc9d21b)return null;let _0x43eaa4=_0x1cbc73-_0xc9d21b['offset'];return{'from':_0x43eaa4,'to':_0x43eaa4+_0xc9d21b['node']['nodeValue']['length'],'node':_0xc9d21b['node']};}function findCompositionRange(_0x5b69ce,_0x13f354,_0x26d8fe){let _0x253ec1=findCompositionNode(_0x5b69ce,_0x26d8fe);if(!_0x253ec1)return null;let {node:_0x1c8a11,from:_0x2a5fc8,to:_0x45afd9}=_0x253ec1,_0x233c8b=_0x1c8a11['nodeValue'];if(/[\n\r]/['test'](_0x233c8b))return null;if(_0x5b69ce['state']['doc']['sliceString'](_0x253ec1['from'],_0x253ec1['to'])!=_0x233c8b)return null;let _0x7a1449=_0x13f354['invertedDesc'],_0xa172c7=new _0x3bb3f1(_0x7a1449['mapPos'](_0x2a5fc8),_0x7a1449['mapPos'](_0x45afd9),_0x2a5fc8,_0x45afd9),_0x12fd73=[];for(let _0x506b73=_0x1c8a11['parentNode'];;_0x506b73=_0x506b73['parentNode']){let _0xa9ee3e=ContentView['get'](_0x506b73);if(_0xa9ee3e instanceof _0xb40966)_0x12fd73['push']({'node':_0x506b73,'deco':_0xa9ee3e['mark']});else{if(_0xa9ee3e instanceof _0x20d9e7||'DIV'==_0x506b73['nodeName']&&_0x506b73['parentNode']==_0x5b69ce['contentDOM'])return{'range':_0xa172c7,'text':_0x1c8a11,'marks':_0x12fd73,'line':_0x506b73};if(_0x506b73==_0x5b69ce['contentDOM'])return null;_0x12fd73['push']({'node':_0x506b73,'deco':new MarkDecoration({'inclusive':!0x0,'attributes':getAttrs$1(_0x506b73),'tagName':_0x506b73['tagName']['toLowerCase']()})});}}}function nextToUneditable(_0x5dbfc5,_0x36761e){return 0x1!=_0x5dbfc5['nodeType']?0x0:(_0x36761e&&'false'==_0x5dbfc5['childNodes'][_0x36761e-0x1]['contentEditable']?0x1:0x0)|(_0x36761e<_0x5dbfc5['childNodes']['length']&&'false'==_0x5dbfc5['childNodes'][_0x36761e]['contentEditable']?0x2:0x0);}let DecorationComparator$1=class{constructor(){this['changes']=[];}['compareRange'](_0x3d6719,_0x5a83f6){_0x193d45(_0x3d6719,_0x5a83f6,this['changes']);}['comparePoint'](_0xc6043e,_0x3a7390){_0x193d45(_0xc6043e,_0x3a7390,this['changes']);}['boundChange'](_0x1d8a82){_0x193d45(_0x1d8a82,_0x1d8a82,this['changes']);}};function _0x530e7e(_0x553a8a,_0x16a762,_0x48ddeb){let _0x30f0ab=new DecorationComparator$1();return RangeSet['compare'](_0x553a8a,_0x16a762,_0x48ddeb,_0x30f0ab),_0x30f0ab['changes'];}function inUneditable(_0x543549,_0x35aa5c){for(let _0xa40e07=_0x543549;_0xa40e07&&_0xa40e07!=_0x35aa5c;_0xa40e07=_0xa40e07['assignedSlot']||_0xa40e07['parentNode'])if(0x1==_0xa40e07['nodeType']&&'false'==_0xa40e07['contentEditable'])return!0x0;return!0x1;}function touchesComposition(_0x54d8b1,_0x4d3777){let _0x39063c=!0x1;return _0x4d3777&&_0x54d8b1['iterChangedRanges']((_0x6e61ea,_0x21a402)=>{_0x6e61ea<_0x4d3777['to']&&_0x21a402>_0x4d3777['from']&&(_0x39063c=!0x0);}),_0x39063c;}function groupAt(_0xe14d82,_0x273c64,_0x3acbf1=0x1){let _0x178b9b=_0xe14d82['charCategorizer'](_0x273c64),_0x5dd575=_0xe14d82['doc']['lineAt'](_0x273c64),_0x2c0b39=_0x273c64-_0x5dd575['from'];if(0x0==_0x5dd575['length'])return EditorSelection['cursor'](_0x273c64);0x0==_0x2c0b39?_0x3acbf1=0x1:_0x2c0b39==_0x5dd575['length']&&(_0x3acbf1=-0x1);let _0x1f996c=_0x2c0b39,_0x403faf=_0x2c0b39;_0x3acbf1<0x0?_0x1f996c=findClusterBreak(_0x5dd575['text'],_0x2c0b39,!0x1):_0x403faf=findClusterBreak(_0x5dd575['text'],_0x2c0b39);let _0x4abc69=_0x178b9b(_0x5dd575['text']['slice'](_0x1f996c,_0x403faf));for(;_0x1f996c>0x0;){let _0x5cc4e7=findClusterBreak(_0x5dd575['text'],_0x1f996c,!0x1);if(_0x178b9b(_0x5dd575['text']['slice'](_0x5cc4e7,_0x1f996c))!=_0x4abc69)break;_0x1f996c=_0x5cc4e7;}for(;_0x403faf<_0x5dd575['length'];){let _0x14fd09=findClusterBreak(_0x5dd575['text'],_0x403faf);if(_0x178b9b(_0x5dd575['text']['slice'](_0x403faf,_0x14fd09))!=_0x4abc69)break;_0x403faf=_0x14fd09;}return EditorSelection['range'](_0x1f996c+_0x5dd575['from'],_0x403faf+_0x5dd575['from']);}function getdx(_0x19444a,_0xa29c0b){return _0xa29c0b['left']>_0x19444a?_0xa29c0b['left']-_0x19444a:Math['max'](0x0,_0x19444a-_0xa29c0b['right']);}function getdy(_0x1c9afd,_0x1044ed){return _0x1044ed['top']>_0x1c9afd?_0x1044ed['top']-_0x1c9afd:Math['max'](0x0,_0x1c9afd-_0x1044ed['bottom']);}function _0x27974b(_0x3f7754,_0x2aca71){return _0x3f7754['top']<_0x2aca71['bottom']-0x1&&_0x3f7754['bottom']>_0x2aca71['top']+0x1;}function _0x3a1c43(_0x15c323,_0x19421f){return _0x19421f<_0x15c323['top']?{'top':_0x19421f,'left':_0x15c323['left'],'right':_0x15c323['right'],'bottom':_0x15c323['bottom']}:_0x15c323;}function upBot(_0x20fc16,_0x1356de){return _0x1356de>_0x20fc16['bottom']?{'top':_0x20fc16['top'],'left':_0x20fc16['left'],'right':_0x20fc16['right'],'bottom':_0x1356de}:_0x20fc16;}function domPosAtCoords(_0x41a248,_0x1a2ee6,_0xd1f375){let _0x20da59,_0x1c94eb,_0x4ed8f5,_0x47c930,_0x5d32fd,_0xa88297,_0x44a3c1,_0xe122f0,_0x138c1e=!0x1;for(let _0x2a1cc7=_0x41a248['firstChild'];_0x2a1cc7;_0x2a1cc7=_0x2a1cc7['nextSibling']){let _0x3f07dd=clientRectsFor(_0x2a1cc7);for(let _0x12ca2f=0x0;_0x12ca2f<_0x3f07dd['length'];_0x12ca2f++){let _0x36dc18=_0x3f07dd[_0x12ca2f];_0x1c94eb&&_0x27974b(_0x1c94eb,_0x36dc18)&&(_0x36dc18=_0x3a1c43(upBot(_0x36dc18,_0x1c94eb['bottom']),_0x1c94eb['top']));let _0xfbd54e=getdx(_0x1a2ee6,_0x36dc18),_0x80e095=getdy(_0xd1f375,_0x36dc18);if(0x0==_0xfbd54e&&0x0==_0x80e095)return 0x3==_0x2a1cc7['nodeType']?domPosInText(_0x2a1cc7,_0x1a2ee6,_0xd1f375):domPosAtCoords(_0x2a1cc7,_0x1a2ee6,_0xd1f375);(!_0x20da59||_0x47c930>_0x80e095||_0x47c930==_0x80e095&&_0x4ed8f5>_0xfbd54e)&&(_0x20da59=_0x2a1cc7,_0x1c94eb=_0x36dc18,_0x4ed8f5=_0xfbd54e,_0x47c930=_0x80e095,_0x138c1e=!_0xfbd54e||(_0x1a2ee6<_0x36dc18['left']?_0x12ca2f>0x0:_0x12ca2f<_0x3f07dd['length']-0x1)),0x0==_0xfbd54e?_0xd1f375>_0x36dc18['bottom']&&(!_0x44a3c1||_0x44a3c1['bottom']<_0x36dc18['bottom'])?(_0x5d32fd=_0x2a1cc7,_0x44a3c1=_0x36dc18):_0xd1f375<_0x36dc18['top']&&(!_0xe122f0||_0xe122f0['top']>_0x36dc18['top'])&&(_0xa88297=_0x2a1cc7,_0xe122f0=_0x36dc18):_0x44a3c1&&_0x27974b(_0x44a3c1,_0x36dc18)?_0x44a3c1=upBot(_0x44a3c1,_0x36dc18['bottom']):_0xe122f0&&_0x27974b(_0xe122f0,_0x36dc18)&&(_0xe122f0=_0x3a1c43(_0xe122f0,_0x36dc18['top']));}}if(_0x44a3c1&&_0x44a3c1['bottom']>=_0xd1f375?(_0x20da59=_0x5d32fd,_0x1c94eb=_0x44a3c1):_0xe122f0&&_0xe122f0['top']<=_0xd1f375&&(_0x20da59=_0xa88297,_0x1c94eb=_0xe122f0),!_0x20da59)return{'node':_0x41a248,'offset':0x0};let _0x2f3c07=Math['max'](_0x1c94eb['left'],Math['min'](_0x1c94eb['right'],_0x1a2ee6));return 0x3==_0x20da59['nodeType']?domPosInText(_0x20da59,_0x2f3c07,_0xd1f375):_0x138c1e&&'false'!=_0x20da59['contentEditable']?domPosAtCoords(_0x20da59,_0x2f3c07,_0xd1f375):{'node':_0x41a248,'offset':Array['prototype']['indexOf']['call'](_0x41a248['childNodes'],_0x20da59)+(_0x1a2ee6>=(_0x1c94eb['left']+_0x1c94eb['right'])/0x2?0x1:0x0)};}function domPosInText(_0x20ce94,_0x4557ab,_0x4f9f67){let _0x3534c3=_0x20ce94['nodeValue']['length'],_0x51ee5d=-0x1,_0x950334=0x3b9aca00,_0xb0efd8=0x0;for(let _0x125c6b=0x0;_0x125c6b<_0x3534c3;_0x125c6b++){let _0x4909fd=textRange(_0x20ce94,_0x125c6b,_0x125c6b+0x1)['getClientRects']();for(let _0x445ca5=0x0;_0x445ca5<_0x4909fd['length'];_0x445ca5++){let _0x6cdee=_0x4909fd[_0x445ca5];if(_0x6cdee['top']==_0x6cdee['bottom'])continue;_0xb0efd8||(_0xb0efd8=_0x4557ab-_0x6cdee['left']);let _0x4dd932=(_0x6cdee['top']>_0x4f9f67?_0x6cdee['top']-_0x4f9f67:_0x4f9f67-_0x6cdee['bottom'])-0x1;if(_0x6cdee['left']-0x1<=_0x4557ab&&_0x6cdee['right']+0x1>=_0x4557ab&&_0x4dd932<_0x950334){let _0x3caba2=_0x4557ab>=(_0x6cdee['left']+_0x6cdee['right'])/0x2,_0x2e2a33=_0x3caba2;(_0x484137['chrome']||_0x484137['gecko'])&&(textRange(_0x20ce94,_0x125c6b)['getBoundingClientRect']()['left']==_0x6cdee['right']&&(_0x2e2a33=!_0x3caba2));if(_0x4dd932<=0x0)return{'node':_0x20ce94,'offset':_0x125c6b+(_0x2e2a33?0x1:0x0)};_0x51ee5d=_0x125c6b+(_0x2e2a33?0x1:0x0),_0x950334=_0x4dd932;}}}return{'node':_0x20ce94,'offset':_0x51ee5d>-0x1?_0x51ee5d:_0xb0efd8>0x0?_0x20ce94['nodeValue']['length']:0x0};}function posAtCoords(_0x35566d,_0x5361ef,_0x33a675,_0x26ce41=-0x1){var _0x1082f5,_0x4c5dc3;let _0x44fb4b,_0x145e86=_0x35566d['contentDOM']['getBoundingClientRect'](),_0x1b1ae9=_0x145e86['top']+_0x35566d['viewState']['paddingTop'],{docHeight:_0x426fb0}=_0x35566d['viewState'],{x:_0x3476b1,y:_0x4dcb1a}=_0x5361ef,_0xa5b8e=_0x4dcb1a-_0x1b1ae9;if(_0xa5b8e<0x0)return 0x0;if(_0xa5b8e>_0x426fb0)return _0x35566d['state']['doc']['length'];for(let _0x4b45a5=_0x35566d['viewState']['heightOracle']['textHeight']/0x2,_0x22d542=!0x1;_0x44fb4b=_0x35566d['elementAtHeight'](_0xa5b8e),_0x44fb4b['type']!=_0x491905['Text'];)for(;_0xa5b8e=_0x26ce41>0x0?_0x44fb4b['bottom']+_0x4b45a5:_0x44fb4b['top']-_0x4b45a5,!(_0xa5b8e>=0x0&&_0xa5b8e<=_0x426fb0);){if(_0x22d542)return _0x33a675?null:0x0;_0x22d542=!0x0,_0x26ce41=-_0x26ce41;}_0x4dcb1a=_0x1b1ae9+_0xa5b8e;let _0x3fed4f=_0x44fb4b['from'];if(_0x3fed4f<_0x35566d['viewport']['from'])return 0x0==_0x35566d['viewport']['from']?0x0:_0x33a675?null:posAtCoordsImprecise(_0x35566d,_0x145e86,_0x44fb4b,_0x3476b1,_0x4dcb1a);if(_0x3fed4f>_0x35566d['viewport']['to'])return _0x35566d['viewport']['to']==_0x35566d['state']['doc']['length']?_0x35566d['state']['doc']['length']:_0x33a675?null:posAtCoordsImprecise(_0x35566d,_0x145e86,_0x44fb4b,_0x3476b1,_0x4dcb1a);let _0x1545c5=_0x35566d['dom']['ownerDocument'],_0x1ebba6=_0x35566d['root']['elementFromPoint']?_0x35566d['root']:_0x1545c5,_0x470684=_0x1ebba6['elementFromPoint'](_0x3476b1,_0x4dcb1a);_0x470684&&!_0x35566d['contentDOM']['contains'](_0x470684)&&(_0x470684=null),_0x470684||(_0x3476b1=Math['max'](_0x145e86['left']+0x1,Math['min'](_0x145e86['right']-0x1,_0x3476b1)),_0x470684=_0x1ebba6['elementFromPoint'](_0x3476b1,_0x4dcb1a),_0x470684&&!_0x35566d['contentDOM']['contains'](_0x470684)&&(_0x470684=null));let _0x105088,_0x3a183f=-0x1;if(_0x470684&&0x0!=(null===(_0x1082f5=_0x35566d['docView']['nearest'](_0x470684))||void 0x0===_0x1082f5?void 0x0:_0x1082f5['isEditable'])){if(_0x1545c5['caretPositionFromPoint']){let _0x56aecd=_0x1545c5['caretPositionFromPoint'](_0x3476b1,_0x4dcb1a);_0x56aecd&&({offsetNode:_0x105088,offset:_0x3a183f}=_0x56aecd);}else{if(_0x1545c5['caretRangeFromPoint']){let _0x5a1aa2=_0x1545c5['caretRangeFromPoint'](_0x3476b1,_0x4dcb1a);_0x5a1aa2&&({startContainer:_0x105088,startOffset:_0x3a183f}=_0x5a1aa2);}}_0x105088&&(!_0x35566d['contentDOM']['contains'](_0x105088)||_0x484137['safari']&&isSuspiciousSafariCaretResult(_0x105088,_0x3a183f,_0x3476b1)||_0x484137['chrome']&&isSuspiciousChromeCaretResult(_0x105088,_0x3a183f,_0x3476b1))&&(_0x105088=void 0x0),_0x105088&&(_0x3a183f=Math['min'](maxOffset(_0x105088),_0x3a183f));}if(!_0x105088||!_0x35566d['docView']['dom']['contains'](_0x105088)){let _0x165fa3=_0x20d9e7['find'](_0x35566d['docView'],_0x3fed4f);if(!_0x165fa3)return _0xa5b8e>_0x44fb4b['top']+_0x44fb4b['height']/0x2?_0x44fb4b['to']:_0x44fb4b['from'];({node:_0x105088,offset:_0x3a183f}=domPosAtCoords(_0x165fa3['dom'],_0x3476b1,_0x4dcb1a));}let _0x199d1b=_0x35566d['docView']['nearest'](_0x105088);if(!_0x199d1b)return null;if(_0x199d1b['isWidget']&&0x1==(null===(_0x4c5dc3=_0x199d1b['dom'])||void 0x0===_0x4c5dc3?void 0x0:_0x4c5dc3['nodeType'])){let _0x1b6966=_0x199d1b['dom']['getBoundingClientRect']();return _0x5361ef['y']<_0x1b6966['top']||_0x5361ef['y']<=_0x1b6966['bottom']&&_0x5361ef['x']<=(_0x1b6966['left']+_0x1b6966['right'])/0x2?_0x199d1b['posAtStart']:_0x199d1b['posAtEnd'];}return _0x199d1b['localPosFromDOM'](_0x105088,_0x3a183f)+_0x199d1b['posAtStart'];}function posAtCoordsImprecise(_0x5ba399,_0x4c90e9,_0x513ce5,_0x569e92,_0x287ea8){let _0x3e9085=Math['round']((_0x569e92-_0x4c90e9['left'])*_0x5ba399['defaultCharacterWidth']);if(_0x5ba399['lineWrapping']&&_0x513ce5['height']>1.5*_0x5ba399['defaultLineHeight']){let _0x3b57dd=_0x5ba399['viewState']['heightOracle']['textHeight'];_0x3e9085+=Math['floor']((_0x287ea8-_0x513ce5['top']-0.5*(_0x5ba399['defaultLineHeight']-_0x3b57dd))/_0x3b57dd)*_0x5ba399['viewState']['heightOracle']['lineLength'];}let _0x1c6848=_0x5ba399['state']['sliceDoc'](_0x513ce5['from'],_0x513ce5['to']);return _0x513ce5['from']+_0xe80100(_0x1c6848,_0x3e9085,_0x5ba399['state']['tabSize']);}function _0x5a214a(_0x3126ff,_0x4865cd,_0x40134f){let _0x39d67e,_0x2da566=_0x3126ff;if(0x3!=_0x3126ff['nodeType']||_0x4865cd!=(_0x39d67e=_0x3126ff['nodeValue']['length']))return!0x1;for(;;){let _0x4d4f07=_0x2da566['nextSibling'];if(_0x4d4f07){if('BR'==_0x4d4f07['nodeName'])break;return!0x1;}{let _0x3bde0b=_0x2da566['parentNode'];if(!_0x3bde0b||'DIV'==_0x3bde0b['nodeName'])break;_0x2da566=_0x3bde0b;}}return textRange(_0x3126ff,_0x39d67e-0x1,_0x39d67e)['getBoundingClientRect']()['right']>_0x40134f;}function isSuspiciousSafariCaretResult(_0x105f18,_0x22bef0,_0xf5c656){return _0x5a214a(_0x105f18,_0x22bef0,_0xf5c656);}function isSuspiciousChromeCaretResult(_0xa026f0,_0x14a3f2,_0x1234f9){if(0x0!=_0x14a3f2)return _0x5a214a(_0xa026f0,_0x14a3f2,_0x1234f9);for(let _0x4f7cb7=_0xa026f0;;){let _0x430946=_0x4f7cb7['parentNode'];if(!_0x430946||0x1!=_0x430946['nodeType']||_0x430946['firstChild']!=_0x4f7cb7)return!0x1;if(_0x430946['classList']['contains']('cm-line'))break;_0x4f7cb7=_0x430946;}return _0x1234f9-(0x1==_0xa026f0['nodeType']?_0xa026f0['getBoundingClientRect']():textRange(_0xa026f0,0x0,Math['max'](_0xa026f0['nodeValue']['length'],0x1))['getBoundingClientRect']())['left']>0x5;}function blockAt(_0x269575,_0x283ae7,_0xd61233){let _0x4142bb=_0x269575['lineBlockAt'](_0x283ae7);if(Array['isArray'](_0x4142bb['type'])){let _0x575631;for(let _0x1ea8fb of _0x4142bb['type']){if(_0x1ea8fb['from']>_0x283ae7)break;if(!(_0x1ea8fb['to']<_0x283ae7)){if(_0x1ea8fb['from']<_0x283ae7&&_0x1ea8fb['to']>_0x283ae7)return _0x1ea8fb;_0x575631&&(_0x1ea8fb['type']!=_0x491905['Text']||_0x575631['type']==_0x1ea8fb['type']&&!(_0xd61233<0x0?_0x1ea8fb['from']<_0x283ae7:_0x1ea8fb['to']>_0x283ae7))||(_0x575631=_0x1ea8fb);}}return _0x575631||_0x4142bb;}return _0x4142bb;}function _0x239b64(_0xa06864,_0x5deaf4,_0xb87c38,_0x127ca9){let _0x11d2e9=blockAt(_0xa06864,_0x5deaf4['head'],_0x5deaf4['assoc']||-0x1),_0x7847ba=_0x127ca9&&_0x11d2e9['type']==_0x491905['Text']&&(_0xa06864['lineWrapping']||_0x11d2e9['widgetLineBreaks'])?_0xa06864['coordsAtPos'](_0x5deaf4['assoc']<0x0&&_0x5deaf4['head']>_0x11d2e9['from']?_0x5deaf4['head']-0x1:_0x5deaf4['head']):null;if(_0x7847ba){let _0x3c7ba1=_0xa06864['dom']['getBoundingClientRect'](),_0x164a84=_0xa06864['textDirectionAt'](_0x11d2e9['from']),_0x1d18f9=_0xa06864['posAtCoords']({'x':_0xb87c38==(_0x164a84==Direction['LTR'])?_0x3c7ba1['right']-0x1:_0x3c7ba1['left']+0x1,'y':(_0x7847ba['top']+_0x7847ba['bottom'])/0x2});if(null!=_0x1d18f9)return EditorSelection['cursor'](_0x1d18f9,_0xb87c38?-0x1:0x1);}return EditorSelection['cursor'](_0xb87c38?_0x11d2e9['to']:_0x11d2e9['from'],_0xb87c38?-0x1:0x1);}function _0xdfbf1d(_0x5a421,_0x1f68e3,_0x3519db,_0x2bf8b8){let _0xea5908=_0x5a421['state']['doc']['lineAt'](_0x1f68e3['head']),_0xb3f04d=_0x5a421['bidiSpans'](_0xea5908),_0x578b15=_0x5a421['textDirectionAt'](_0xea5908['from']);for(let _0x420254=_0x1f68e3,_0x505ba1=null;;){let _0x119b01=_0x1c9c27(_0xea5908,_0xb3f04d,_0x578b15,_0x420254,_0x3519db),_0x362ce3=_0x3e73f1;if(!_0x119b01){if(_0xea5908['number']==(_0x3519db?_0x5a421['state']['doc']['lines']:0x1))return _0x420254;_0x362ce3='\x0a',_0xea5908=_0x5a421['state']['doc']['line'](_0xea5908['number']+(_0x3519db?0x1:-0x1)),_0xb3f04d=_0x5a421['bidiSpans'](_0xea5908),_0x119b01=_0x5a421['visualLineSide'](_0xea5908,!_0x3519db);}if(_0x505ba1){if(!_0x505ba1(_0x362ce3))return _0x420254;}else{if(!_0x2bf8b8)return _0x119b01;_0x505ba1=_0x2bf8b8(_0x362ce3);}_0x420254=_0x119b01;}}function _0x367470(_0x5718f2,_0x231d78,_0xa2eab8){let _0x2eb7cd=_0x5718f2['state']['charCategorizer'](_0x231d78),_0x3f3d22=_0x2eb7cd(_0xa2eab8);return _0x3502ea=>{let _0x357b61=_0x2eb7cd(_0x3502ea);return _0x3f3d22==CharCategory['Space']&&(_0x3f3d22=_0x357b61),_0x3f3d22==_0x357b61;};}function moveVertically(_0x2ee516,_0x2058bb,_0x385a18,_0x5bf832){let _0x161e39=_0x2058bb['head'],_0x406fc0=_0x385a18?0x1:-0x1;if(_0x161e39==(_0x385a18?_0x2ee516['state']['doc']['length']:0x0))return EditorSelection['cursor'](_0x161e39,_0x2058bb['assoc']);let _0x395432,_0x5d1c3c=_0x2058bb['goalColumn'],_0x3dad31=_0x2ee516['contentDOM']['getBoundingClientRect'](),_0x24825c=_0x2ee516['coordsAtPos'](_0x161e39,_0x2058bb['assoc']||-0x1),_0x3be0bb=_0x2ee516['documentTop'];if(_0x24825c)null==_0x5d1c3c&&(_0x5d1c3c=_0x24825c['left']-_0x3dad31['left']),_0x395432=_0x406fc0<0x0?_0x24825c['top']:_0x24825c['bottom'];else{let _0x2bd7d2=_0x2ee516['viewState']['lineBlockAt'](_0x161e39);null==_0x5d1c3c&&(_0x5d1c3c=Math['min'](_0x3dad31['right']-_0x3dad31['left'],_0x2ee516['defaultCharacterWidth']*(_0x161e39-_0x2bd7d2['from']))),_0x395432=(_0x406fc0<0x0?_0x2bd7d2['top']:_0x2bd7d2['bottom'])+_0x3be0bb;}let _0x2cc165=_0x3dad31['left']+_0x5d1c3c,_0x3f4a77=null!=_0x5bf832?_0x5bf832:_0x2ee516['viewState']['heightOracle']['textHeight']>>0x1;for(let _0x577c07=0x0;;_0x577c07+=0xa){let _0x50f12d=_0x395432+(_0x3f4a77+_0x577c07)*_0x406fc0,_0x1bec3f=posAtCoords(_0x2ee516,{'x':_0x2cc165,'y':_0x50f12d},!0x1,_0x406fc0);if(_0x50f12d<_0x3dad31['top']||_0x50f12d>_0x3dad31['bottom']||(_0x406fc0<0x0?_0x1bec3f<_0x161e39:_0x1bec3f>_0x161e39)){let _0x2b81c8=_0x2ee516['docView']['coordsForChar'](_0x1bec3f),_0x4c6a51=!_0x2b81c8||_0x50f12d<_0x2b81c8['top']?-0x1:0x1;return EditorSelection['cursor'](_0x1bec3f,_0x4c6a51,void 0x0,_0x5d1c3c);}}}function skipAtomicRanges(_0x5b63a8,_0x6fa578,_0x4bcc06){for(;;){let _0x2f6025=0x0;for(let _0x1ca7b6 of _0x5b63a8)_0x1ca7b6['between'](_0x6fa578-0x1,_0x6fa578+0x1,(_0x15466a,_0x380602,_0x4585fb)=>{if(_0x6fa578>_0x15466a&&_0x6fa578<_0x380602){let _0x2aafb3=_0x2f6025||_0x4bcc06||(_0x6fa578-_0x15466a<_0x380602-_0x6fa578?-0x1:0x1);_0x6fa578=_0x2aafb3<0x0?_0x15466a:_0x380602,_0x2f6025=_0x2aafb3;}});if(!_0x2f6025)return _0x6fa578;}}function skipAtomsForSelection(_0x85b5b9,_0x3e3781){let _0x22d944=null;for(let _0x245779=0x0;_0x245779<_0x3e3781['ranges']['length'];_0x245779++){let _0x5c2acf=_0x3e3781['ranges'][_0x245779],_0x39f4bb=null;if(_0x5c2acf['empty']){let _0x5187bf=skipAtomicRanges(_0x85b5b9,_0x5c2acf['from'],0x0);_0x5187bf!=_0x5c2acf['from']&&(_0x39f4bb=EditorSelection['cursor'](_0x5187bf,-0x1));}else{let _0x4797b7=skipAtomicRanges(_0x85b5b9,_0x5c2acf['from'],-0x1),_0x2fbd9f=skipAtomicRanges(_0x85b5b9,_0x5c2acf['to'],0x1);_0x4797b7==_0x5c2acf['from']&&_0x2fbd9f==_0x5c2acf['to']||(_0x39f4bb=EditorSelection['range'](_0x5c2acf['from']==_0x5c2acf['anchor']?_0x4797b7:_0x2fbd9f,_0x5c2acf['from']==_0x5c2acf['head']?_0x4797b7:_0x2fbd9f));}_0x39f4bb&&(_0x22d944||(_0x22d944=_0x3e3781['ranges']['slice']()),_0x22d944[_0x245779]=_0x39f4bb);}return _0x22d944?EditorSelection['create'](_0x22d944,_0x3e3781['mainIndex']):_0x3e3781;}function skipAtoms(_0xe2a9a,_0x2c2bee,_0x5ba75c){let _0x498713=skipAtomicRanges(_0xe2a9a['state']['facet'](atomicRanges)['map'](_0x4dfaad=>_0x4dfaad(_0xe2a9a)),_0x5ba75c['from'],_0x2c2bee['head']>_0x5ba75c['from']?-0x1:0x1);return _0x498713==_0x5ba75c['from']?_0x5ba75c:EditorSelection['cursor'](_0x498713,_0x498713<_0x5ba75c['from']?0x1:-0x1);}const _0x2d5ac2='';class _0x3d1991{constructor(_0x1800df,_0x1f5721){this['points']=_0x1800df,this['text']='',this['lineSeparator']=_0x1f5721['facet'](EditorState['lineSeparator']);}['append'](_0x93186a){this['text']+=_0x93186a;}['lineBreak'](){this['text']+=_0x2d5ac2;}['readRange'](_0x155de2,_0x326190){if(!_0x155de2)return this;let _0x40f307=_0x155de2['parentNode'];for(let _0x57f1bf=_0x155de2;;){this['findPointBefore'](_0x40f307,_0x57f1bf);let _0x33f2e4=this['text']['length'];this['readNode'](_0x57f1bf);let _0x213d77=_0x57f1bf['nextSibling'];if(_0x213d77==_0x326190)break;let _0x8a8fba=ContentView['get'](_0x57f1bf),_0x42667a=ContentView['get'](_0x213d77);(_0x8a8fba&&_0x42667a?_0x8a8fba['breakAfter']:(_0x8a8fba?_0x8a8fba['breakAfter']:isBlockElement(_0x57f1bf))||isBlockElement(_0x213d77)&&('BR'!=_0x57f1bf['nodeName']||_0x57f1bf['cmIgnore'])&&this['text']['length']>_0x33f2e4)&&!isEmptyToEnd(_0x213d77,_0x326190)&&this['lineBreak'](),_0x57f1bf=_0x213d77;}return this['findPointBefore'](_0x40f307,_0x326190),this;}['readTextNode'](_0x172b45){let _0x51f83c=_0x172b45['nodeValue'];for(let _0x14a0e5 of this['points'])_0x14a0e5['node']==_0x172b45&&(_0x14a0e5['pos']=this['text']['length']+Math['min'](_0x14a0e5['offset'],_0x51f83c['length']));for(let _0x2ae5c7=0x0,_0x4665e8=this['lineSeparator']?null:/\r\n?|\n/g;;){let _0x37b523,_0xbbbf5a=-0x1,_0x22e6f4=0x1;if(this['lineSeparator']?(_0xbbbf5a=_0x51f83c['indexOf'](this['lineSeparator'],_0x2ae5c7),_0x22e6f4=this['lineSeparator']['length']):(_0x37b523=_0x4665e8['exec'](_0x51f83c))&&(_0xbbbf5a=_0x37b523['index'],_0x22e6f4=_0x37b523[0x0]['length']),this['append'](_0x51f83c['slice'](_0x2ae5c7,_0xbbbf5a<0x0?_0x51f83c['length']:_0xbbbf5a)),_0xbbbf5a<0x0)break;if(this['lineBreak'](),_0x22e6f4>0x1){for(let _0x1e64dc of this['points'])_0x1e64dc['node']==_0x172b45&&_0x1e64dc['pos']>this['text']['length']&&(_0x1e64dc['pos']-=_0x22e6f4-0x1);}_0x2ae5c7=_0xbbbf5a+_0x22e6f4;}}['readNode'](_0x4304a0){if(_0x4304a0['cmIgnore'])return;let _0x3be551=ContentView['get'](_0x4304a0),_0x3cffbf=_0x3be551&&_0x3be551['overrideDOMText'];if(null!=_0x3cffbf){this['findPointInside'](_0x4304a0,_0x3cffbf['length']);for(let _0x2d9ed6=_0x3cffbf['iter']();!_0x2d9ed6['next']()['done'];)_0x2d9ed6['lineBreak']?this['lineBreak']():this['append'](_0x2d9ed6['value']);}else 0x3==_0x4304a0['nodeType']?this['readTextNode'](_0x4304a0):'BR'==_0x4304a0['nodeName']?_0x4304a0['nextSibling']&&this['lineBreak']():0x1==_0x4304a0['nodeType']&&this['readRange'](_0x4304a0['firstChild'],null);}['findPointBefore'](_0x3dfc2d,_0x29ce8d){for(let _0x8e582d of this['points'])_0x8e582d['node']==_0x3dfc2d&&_0x3dfc2d['childNodes'][_0x8e582d['offset']]==_0x29ce8d&&(_0x8e582d['pos']=this['text']['length']);}['findPointInside'](_0x35253b,_0x1a19e3){for(let _0x317408 of this['points'])(0x3==_0x35253b['nodeType']?_0x317408['node']==_0x35253b:_0x35253b['contains'](_0x317408['node']))&&(_0x317408['pos']=this['text']['length']+(isAtEnd(_0x35253b,_0x317408['node'],_0x317408['offset'])?_0x1a19e3:0x0));}}function isAtEnd(_0x4af951,_0x395656,_0x4db85a){for(;;){if(!_0x395656||_0x4db85a<maxOffset(_0x395656))return!0x1;if(_0x395656==_0x4af951)return!0x0;_0x4db85a=_0x2922d4(_0x395656)+0x1,_0x395656=_0x395656['parentNode'];}}function isEmptyToEnd(_0x56e471,_0x40d1f0){let _0x6adce1;for(;_0x56e471!=_0x40d1f0&&_0x56e471;_0x56e471=_0x56e471['nextSibling']){let _0x3b0311=ContentView['get'](_0x56e471);if(!(null==_0x3b0311?void 0x0:_0x3b0311['isWidget'])&&!_0x56e471['cmIgnore'])return!0x1;_0x3b0311&&(_0x6adce1||(_0x6adce1=[]))['push'](_0x3b0311);}if(_0x6adce1)for(let _0x57e09d of _0x6adce1){let _0x47b676=_0x57e09d['overrideDOMText'];if(null==_0x47b676?void 0x0:_0x47b676['length'])return!0x1;}return!0x0;}class DOMPoint{constructor(_0xca313,_0xa8a318){this['node']=_0xca313,this['offset']=_0xa8a318,this['pos']=-0x1;}}class _0x59340b{constructor(_0x140b72,_0x53a03e,_0x277240,_0x5175e1){this['typeOver']=_0x5175e1,this['bounds']=null,this['text']='',this['domChanged']=_0x53a03e>-0x1;let {impreciseHead:_0x5057e0,impreciseAnchor:_0x135adc}=_0x140b72['docView'];if(_0x140b72['state']['readOnly']&&_0x53a03e>-0x1)this['newSel']=null;else{if(_0x53a03e>-0x1&&(this['bounds']=_0x140b72['docView']['domBoundsAround'](_0x53a03e,_0x277240,0x0))){let _0x462d36=_0x5057e0||_0x135adc?[]:selectionPoints(_0x140b72),_0x51b58f=new _0x3d1991(_0x462d36,_0x140b72['state']);_0x51b58f['readRange'](this['bounds']['startDOM'],this['bounds']['endDOM']),this['text']=_0x51b58f['text'],this['newSel']=selectionFromPoints(_0x462d36,this['bounds']['from']);}else{let _0x16ffa7=_0x140b72['observer']['selectionRange'],_0x1d1422=_0x5057e0&&_0x5057e0['node']==_0x16ffa7['focusNode']&&_0x5057e0['offset']==_0x16ffa7['focusOffset']||!contains(_0x140b72['contentDOM'],_0x16ffa7['focusNode'])?_0x140b72['state']['selection']['main']['head']:_0x140b72['docView']['posFromDOM'](_0x16ffa7['focusNode'],_0x16ffa7['focusOffset']),_0x5bffad=_0x135adc&&_0x135adc['node']==_0x16ffa7['anchorNode']&&_0x135adc['offset']==_0x16ffa7['anchorOffset']||!contains(_0x140b72['contentDOM'],_0x16ffa7['anchorNode'])?_0x140b72['state']['selection']['main']['anchor']:_0x140b72['docView']['posFromDOM'](_0x16ffa7['anchorNode'],_0x16ffa7['anchorOffset']),_0x1ce22b=_0x140b72['viewport'];if((_0x484137['ios']||_0x484137['chrome'])&&_0x140b72['state']['selection']['main']['empty']&&_0x1d1422!=_0x5bffad&&(_0x1ce22b['from']>0x0||_0x1ce22b['to']<_0x140b72['state']['doc']['length'])){let _0xa1d8fe=Math['min'](_0x1d1422,_0x5bffad),_0x37444b=Math['max'](_0x1d1422,_0x5bffad),_0x2bcc73=_0x1ce22b['from']-_0xa1d8fe,_0x334c83=_0x1ce22b['to']-_0x37444b;0x0!=_0x2bcc73&&0x1!=_0x2bcc73&&0x0!=_0xa1d8fe||0x0!=_0x334c83&&-0x1!=_0x334c83&&_0x37444b!=_0x140b72['state']['doc']['length']||(_0x1d1422=0x0,_0x5bffad=_0x140b72['state']['doc']['length']);}this['newSel']=EditorSelection['single'](_0x5bffad,_0x1d1422);}}}}function _0x4fcdd9(_0x6e0e53,_0x4c047f){let _0x39fe8d,{newSel:_0x1bf8ee}=_0x4c047f,_0x4f4c4d=_0x6e0e53['state']['selection']['main'],_0x493b68=_0x6e0e53['inputState']['lastKeyTime']>Date['now']()-0x64?_0x6e0e53['inputState']['lastKeyCode']:-0x1;if(_0x4c047f['bounds']){let {from:_0x4f4ea6,to:_0x5ef582}=_0x4c047f['bounds'],_0x31ce1f=_0x4f4c4d['from'],_0x5629f5=null;(0x8===_0x493b68||_0x484137['android']&&_0x4c047f['text']['length']<_0x5ef582-_0x4f4ea6)&&(_0x31ce1f=_0x4f4c4d['to'],_0x5629f5='end');let _0x30aa3e=_0x23cc19(_0x6e0e53['state']['doc']['sliceString'](_0x4f4ea6,_0x5ef582,_0x2d5ac2),_0x4c047f['text'],_0x31ce1f-_0x4f4ea6,_0x5629f5);_0x30aa3e&&(_0x484137['chrome']&&0xd==_0x493b68&&_0x30aa3e['toB']==_0x30aa3e['from']+0x2&&_0x4c047f['text']['slice'](_0x30aa3e['from'],_0x30aa3e['toB'])==_0x2d5ac2+_0x2d5ac2&&_0x30aa3e['toB']--,_0x39fe8d={'from':_0x4f4ea6+_0x30aa3e['from'],'to':_0x4f4ea6+_0x30aa3e['toA'],'insert':Text['of'](_0x4c047f['text']['slice'](_0x30aa3e['from'],_0x30aa3e['toB'])['split'](_0x2d5ac2))});}else _0x1bf8ee&&(!_0x6e0e53['hasFocus']&&_0x6e0e53['state']['facet'](editable)||_0x1bf8ee['main']['eq'](_0x4f4c4d))&&(_0x1bf8ee=null);if(!_0x39fe8d&&!_0x1bf8ee)return!0x1;if(!_0x39fe8d&&_0x4c047f['typeOver']&&!_0x4f4c4d['empty']&&_0x1bf8ee&&_0x1bf8ee['main']['empty']?_0x39fe8d={'from':_0x4f4c4d['from'],'to':_0x4f4c4d['to'],'insert':_0x6e0e53['state']['doc']['slice'](_0x4f4c4d['from'],_0x4f4c4d['to'])}:(_0x484137['mac']||_0x484137['android'])&&_0x39fe8d&&_0x39fe8d['from']==_0x39fe8d['to']&&_0x39fe8d['from']==_0x4f4c4d['head']-0x1&&/^\. ?$/['test'](_0x39fe8d['insert']['toString']())&&'off'==_0x6e0e53['contentDOM']['getAttribute']('autocorrect')?(_0x1bf8ee&&0x2==_0x39fe8d['insert']['length']&&(_0x1bf8ee=EditorSelection['single'](_0x1bf8ee['main']['anchor']-0x1,_0x1bf8ee['main']['head']-0x1)),_0x39fe8d={'from':_0x39fe8d['from'],'to':_0x39fe8d['to'],'insert':Text['of']([_0x39fe8d['insert']['toString']()['replace']('.','\x20')])}):_0x39fe8d&&_0x39fe8d['from']>=_0x4f4c4d['from']&&_0x39fe8d['to']<=_0x4f4c4d['to']&&(_0x39fe8d['from']!=_0x4f4c4d['from']||_0x39fe8d['to']!=_0x4f4c4d['to'])&&_0x4f4c4d['to']-_0x4f4c4d['from']-(_0x39fe8d['to']-_0x39fe8d['from'])<=0x4?_0x39fe8d={'from':_0x4f4c4d['from'],'to':_0x4f4c4d['to'],'insert':_0x6e0e53['state']['doc']['slice'](_0x4f4c4d['from'],_0x39fe8d['from'])['append'](_0x39fe8d['insert'])['append'](_0x6e0e53['state']['doc']['slice'](_0x39fe8d['to'],_0x4f4c4d['to']))}:_0x484137['chrome']&&_0x39fe8d&&_0x39fe8d['from']==_0x39fe8d['to']&&_0x39fe8d['from']==_0x4f4c4d['head']&&'\x0a\x20'==_0x39fe8d['insert']['toString']()&&_0x6e0e53['lineWrapping']&&(_0x1bf8ee&&(_0x1bf8ee=EditorSelection['single'](_0x1bf8ee['main']['anchor']-0x1,_0x1bf8ee['main']['head']-0x1)),_0x39fe8d={'from':_0x4f4c4d['from'],'to':_0x4f4c4d['to'],'insert':Text['of'](['\x20'])}),_0x39fe8d)return _0x22e13a(_0x6e0e53,_0x39fe8d,_0x1bf8ee,_0x493b68);if(_0x1bf8ee&&!_0x1bf8ee['main']['eq'](_0x4f4c4d)){let _0x50ca0c=!0x1,_0x3b15c9='select';return _0x6e0e53['inputState']['lastSelectionTime']>Date['now']()-0x32&&('select'==_0x6e0e53['inputState']['lastSelectionOrigin']&&(_0x50ca0c=!0x0),_0x3b15c9=_0x6e0e53['inputState']['lastSelectionOrigin'],'select.pointer'==_0x3b15c9&&(_0x1bf8ee=skipAtomsForSelection(_0x6e0e53['state']['facet'](atomicRanges)['map'](_0x189a0f=>_0x189a0f(_0x6e0e53)),_0x1bf8ee))),_0x6e0e53['dispatch']({'selection':_0x1bf8ee,'scrollIntoView':_0x50ca0c,'userEvent':_0x3b15c9}),!0x0;}return!0x1;}function _0x22e13a(_0x2f624a,_0x305b60,_0x155946,_0x50c076=-0x1){if(_0x484137['ios']&&_0x2f624a['inputState']['flushIOSKey'](_0x305b60))return!0x0;let _0x26f82e=_0x2f624a['state']['selection']['main'];if(_0x484137['android']&&(_0x305b60['to']==_0x26f82e['to']&&(_0x305b60['from']==_0x26f82e['from']||_0x305b60['from']==_0x26f82e['from']-0x1&&'\x20'==_0x2f624a['state']['sliceDoc'](_0x305b60['from'],_0x26f82e['from']))&&0x1==_0x305b60['insert']['length']&&0x2==_0x305b60['insert']['lines']&&dispatchKey(_0x2f624a['contentDOM'],'Enter',0xd)||(_0x305b60['from']==_0x26f82e['from']-0x1&&_0x305b60['to']==_0x26f82e['to']&&0x0==_0x305b60['insert']['length']||0x8==_0x50c076&&_0x305b60['insert']['length']<_0x305b60['to']-_0x305b60['from']&&_0x305b60['to']>_0x26f82e['head'])&&dispatchKey(_0x2f624a['contentDOM'],'Backspace',0x8)||_0x305b60['from']==_0x26f82e['from']&&_0x305b60['to']==_0x26f82e['to']+0x1&&0x0==_0x305b60['insert']['length']&&dispatchKey(_0x2f624a['contentDOM'],'Delete',0x2e)))return!0x0;let _0x200de5,_0x43a6c1=_0x305b60['insert']['toString']();_0x2f624a['inputState']['composing']>=0x0&&_0x2f624a['inputState']['composing']++;let _0xf0865e=()=>_0x200de5||(_0x200de5=applyDefaultInsert(_0x2f624a,_0x305b60,_0x155946));return _0x2f624a['state']['facet'](inputHandler$1)['some'](_0x4246b3=>_0x4246b3(_0x2f624a,_0x305b60['from'],_0x305b60['to'],_0x43a6c1,_0xf0865e))||_0x2f624a['dispatch'](_0xf0865e()),!0x0;}function applyDefaultInsert(_0x3229fe,_0x4a716d,_0x4cbd4f){let _0x55697c,_0x490243=_0x3229fe['state'],_0x153cdf=_0x490243['selection']['main'],_0x40a3b1=-0x1;if(_0x4a716d['from']==_0x4a716d['to']&&_0x4a716d['from']<_0x153cdf['from']||_0x4a716d['from']>_0x153cdf['to']){let _0x29a402=_0x4a716d['from']<_0x153cdf['from']?-0x1:0x1,_0x540673=_0x29a402<0x0?_0x153cdf['from']:_0x153cdf['to'],_0x359f16=skipAtomicRanges(_0x490243['facet'](atomicRanges)['map'](_0x4fd21a=>_0x4fd21a(_0x3229fe)),_0x540673,_0x29a402);_0x4a716d['from']==_0x359f16&&(_0x40a3b1=_0x359f16);}if(_0x40a3b1>-0x1)_0x55697c={'changes':_0x4a716d,'selection':EditorSelection['cursor'](_0x4a716d['from']+_0x4a716d['insert']['length'],-0x1)};else{if(_0x4a716d['from']>=_0x153cdf['from']&&_0x4a716d['to']<=_0x153cdf['to']&&_0x4a716d['to']-_0x4a716d['from']>=(_0x153cdf['to']-_0x153cdf['from'])/0x3&&(!_0x4cbd4f||_0x4cbd4f['main']['empty']&&_0x4cbd4f['main']['from']==_0x4a716d['from']+_0x4a716d['insert']['length'])&&_0x3229fe['inputState']['composing']<0x0){let _0x287233=_0x153cdf['from']<_0x4a716d['from']?_0x490243['sliceDoc'](_0x153cdf['from'],_0x4a716d['from']):'',_0x3f035e=_0x153cdf['to']>_0x4a716d['to']?_0x490243['sliceDoc'](_0x4a716d['to'],_0x153cdf['to']):'';_0x55697c=_0x490243['replaceSelection'](_0x3229fe['state']['toText'](_0x287233+_0x4a716d['insert']['sliceString'](0x0,void 0x0,_0x3229fe['state']['lineBreak'])+_0x3f035e));}else{let _0x408842=_0x490243['changes'](_0x4a716d),_0x56e4a2=_0x4cbd4f&&_0x4cbd4f['main']['to']<=_0x408842['newLength']?_0x4cbd4f['main']:void 0x0;if(_0x490243['selection']['ranges']['length']>0x1&&_0x3229fe['inputState']['composing']>=0x0&&_0x4a716d['to']<=_0x153cdf['to']&&_0x4a716d['to']>=_0x153cdf['to']-0xa){let _0xf645fc,_0x32219a=_0x3229fe['state']['sliceDoc'](_0x4a716d['from'],_0x4a716d['to']),_0x3b464b=_0x4cbd4f&&findCompositionNode(_0x3229fe,_0x4cbd4f['main']['head']);if(_0x3b464b){let _0x24c3bd=_0x4a716d['insert']['length']-(_0x4a716d['to']-_0x4a716d['from']);_0xf645fc={'from':_0x3b464b['from'],'to':_0x3b464b['to']-_0x24c3bd};}else _0xf645fc=_0x3229fe['state']['doc']['lineAt'](_0x153cdf['head']);let _0x25f3eb=_0x153cdf['to']-_0x4a716d['to'],_0x539be4=_0x153cdf['to']-_0x153cdf['from'];_0x55697c=_0x490243['changeByRange'](_0x2278cc=>{if(_0x2278cc['from']==_0x153cdf['from']&&_0x2278cc['to']==_0x153cdf['to'])return{'changes':_0x408842,'range':_0x56e4a2||_0x2278cc['map'](_0x408842)};let _0x1209d1=_0x2278cc['to']-_0x25f3eb,_0x4959f2=_0x1209d1-_0x32219a['length'];if(_0x2278cc['to']-_0x2278cc['from']!=_0x539be4||_0x3229fe['state']['sliceDoc'](_0x4959f2,_0x1209d1)!=_0x32219a||_0x2278cc['to']>=_0xf645fc['from']&&_0x2278cc['from']<=_0xf645fc['to'])return{'range':_0x2278cc};let _0x3efd38=_0x490243['changes']({'from':_0x4959f2,'to':_0x1209d1,'insert':_0x4a716d['insert']}),_0x2a822f=_0x2278cc['to']-_0x153cdf['to'];return{'changes':_0x3efd38,'range':_0x56e4a2?EditorSelection['range'](Math['max'](0x0,_0x56e4a2['anchor']+_0x2a822f),Math['max'](0x0,_0x56e4a2['head']+_0x2a822f)):_0x2278cc['map'](_0x3efd38)};});}else _0x55697c={'changes':_0x408842,'selection':_0x56e4a2&&_0x490243['selection']['replaceRange'](_0x56e4a2)};}}let _0x3fb8ee='input.type';return(_0x3229fe['composing']||_0x3229fe['inputState']['compositionPendingChange']&&_0x3229fe['inputState']['compositionEndedAt']>Date['now']()-0x32)&&(_0x3229fe['inputState']['compositionPendingChange']=!0x1,_0x3fb8ee+='.compose',_0x3229fe['inputState']['compositionFirstChange']&&(_0x3fb8ee+='.start',_0x3229fe['inputState']['compositionFirstChange']=!0x1)),_0x490243['update'](_0x55697c,{'userEvent':_0x3fb8ee,'scrollIntoView':!0x0});}function _0x23cc19(_0x24f3d3,_0x260da6,_0x4e96ad,_0x307c09){let _0x3d65ee=Math['min'](_0x24f3d3['length'],_0x260da6['length']),_0x313596=0x0;for(;_0x313596<_0x3d65ee&&_0x24f3d3['charCodeAt'](_0x313596)==_0x260da6['charCodeAt'](_0x313596);)_0x313596++;if(_0x313596==_0x3d65ee&&_0x24f3d3['length']==_0x260da6['length'])return null;let _0x21431c=_0x24f3d3['length'],_0x403956=_0x260da6['length'];for(;_0x21431c>0x0&&_0x403956>0x0&&_0x24f3d3['charCodeAt'](_0x21431c-0x1)==_0x260da6['charCodeAt'](_0x403956-0x1);)_0x21431c--,_0x403956--;'end'==_0x307c09&&(_0x4e96ad-=_0x21431c+Math['max'](0x0,_0x313596-Math['min'](_0x21431c,_0x403956))-_0x313596);if(_0x21431c<_0x313596&&_0x24f3d3['length']<_0x260da6['length'])_0x313596-=_0x4e96ad<=_0x313596&&_0x4e96ad>=_0x21431c?_0x313596-_0x4e96ad:0x0,_0x403956=_0x313596+(_0x403956-_0x21431c),_0x21431c=_0x313596;else _0x403956<_0x313596&&(_0x313596-=_0x4e96ad<=_0x313596&&_0x4e96ad>=_0x403956?_0x313596-_0x4e96ad:0x0,_0x21431c=_0x313596+(_0x21431c-_0x403956),_0x403956=_0x313596);return{'from':_0x313596,'toA':_0x21431c,'toB':_0x403956};}function selectionPoints(_0x4741bb){let _0x156861=[];if(_0x4741bb['root']['activeElement']!=_0x4741bb['contentDOM'])return _0x156861;let {anchorNode:_0x468795,anchorOffset:_0x5885fe,focusNode:_0x2182df,focusOffset:_0x3a86d4}=_0x4741bb['observer']['selectionRange'];return _0x468795&&(_0x156861['push'](new DOMPoint(_0x468795,_0x5885fe)),_0x2182df==_0x468795&&_0x3a86d4==_0x5885fe||_0x156861['push'](new DOMPoint(_0x2182df,_0x3a86d4))),_0x156861;}function selectionFromPoints(_0x44c08d,_0x327fbc){if(0x0==_0x44c08d['length'])return null;let _0x29b01c=_0x44c08d[0x0]['pos'],_0x1e6139=0x2==_0x44c08d['length']?_0x44c08d[0x1]['pos']:_0x29b01c;return _0x29b01c>-0x1&&_0x1e6139>-0x1?EditorSelection['single'](_0x29b01c+_0x327fbc,_0x1e6139+_0x327fbc):null;}class InputState{['setSelectionOrigin'](_0x5ade93){this['lastSelectionOrigin']=_0x5ade93,this['lastSelectionTime']=Date['now']();}constructor(_0x1f6f1){this['view']=_0x1f6f1,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']=_0x1f6f1['hasFocus'],_0x484137['safari']&&_0x1f6f1['contentDOM']['addEventListener']('input',()=>null),_0x484137['gecko']&&firefoxCopyCutHack(_0x1f6f1['contentDOM']['ownerDocument']);}['handleEvent'](_0xb406a7){eventBelongsToEditor(this['view'],_0xb406a7)&&!this['ignoreDuringComposition'](_0xb406a7)&&('keydown'==_0xb406a7['type']&&this['keydown'](_0xb406a7)||(0x0!=this['view']['updateState']?Promise['resolve']()['then'](()=>this['runHandlers'](_0xb406a7['type'],_0xb406a7)):this['runHandlers'](_0xb406a7['type'],_0xb406a7)));}['runHandlers'](_0x52988e,_0x373ec0){let _0x484e94=this['handlers'][_0x52988e];if(_0x484e94){for(let _0xb4e75e of _0x484e94['observers'])_0xb4e75e(this['view'],_0x373ec0);for(let _0x43b76d of _0x484e94['handlers']){if(_0x373ec0['defaultPrevented'])break;if(_0x43b76d(this['view'],_0x373ec0)){_0x373ec0['preventDefault']();break;}}}}['ensureHandlers'](_0x1f8551){let _0x24965a=computeHandlers(_0x1f8551),_0x12e991=this['handlers'],_0x56bf36=this['view']['contentDOM'];for(let _0x333603 in _0x24965a)if('scroll'!=_0x333603){let _0x547476=!_0x24965a[_0x333603]['handlers']['length'],_0x399daa=_0x12e991[_0x333603];_0x399daa&&_0x547476!=!_0x399daa['handlers']['length']&&(_0x56bf36['removeEventListener'](_0x333603,this['handleEvent']),_0x399daa=null),_0x399daa||_0x56bf36['addEventListener'](_0x333603,this['handleEvent'],{'passive':_0x547476});}for(let _0x2c45c5 in _0x12e991)'scroll'==_0x2c45c5||_0x24965a[_0x2c45c5]||_0x56bf36['removeEventListener'](_0x2c45c5,this['handleEvent']);this['handlers']=_0x24965a;}['keydown'](_0x46982b){if(this['lastKeyCode']=_0x46982b['keyCode'],this['lastKeyTime']=Date['now'](),0x9==_0x46982b['keyCode']&&this['tabFocusMode']>-0x1&&(!this['tabFocusMode']||Date['now']()<=this['tabFocusMode']))return!0x0;if(this['tabFocusMode']>0x0&&0x1b!=_0x46982b['keyCode']&&_0x3da075['indexOf'](_0x46982b['keyCode'])<0x0&&(this['tabFocusMode']=-0x1),_0x484137['android']&&_0x484137['chrome']&&!_0x46982b['synthetic']&&(0xd==_0x46982b['keyCode']||0x8==_0x46982b['keyCode']))return this['view']['observer']['delayAndroidKey'](_0x46982b['key'],_0x46982b['keyCode']),!0x0;let _0x3c5dd4;return!_0x484137['ios']||_0x46982b['synthetic']||_0x46982b['altKey']||_0x46982b['metaKey']||!((_0x3c5dd4=_0x2a76c6['find'](_0x29f84b=>_0x29f84b['keyCode']==_0x46982b['keyCode']))&&!_0x46982b['ctrlKey']||_0x124de4['indexOf'](_0x46982b['key'])>-0x1&&_0x46982b['ctrlKey']&&!_0x46982b['shiftKey'])?(0xe5!=_0x46982b['keyCode']&&this['view']['observer']['forceFlush'](),!0x1):(this['pendingIOSKey']=_0x3c5dd4||_0x46982b,setTimeout(()=>this['flushIOSKey'](),0xfa),!0x0);}['flushIOSKey'](_0x30f978){let _0xb44205=this['pendingIOSKey'];return!!_0xb44205&&(!('Enter'==_0xb44205['key']&&_0x30f978&&_0x30f978['from']<_0x30f978['to']&&/^\S+$/['test'](_0x30f978['insert']['toString']()))&&(this['pendingIOSKey']=void 0x0,dispatchKey(this['view']['contentDOM'],_0xb44205['key'],_0xb44205['keyCode'],_0xb44205 instanceof KeyboardEvent?_0xb44205:void 0x0)));}['ignoreDuringComposition'](_0x3afa92){return!(!/^key/['test'](_0x3afa92['type'])||_0x3afa92['synthetic'])&&(this['composing']>0x0||!!(_0x484137['safari']&&!_0x484137['ios']&&this['compositionPendingKey']&&Date['now']()-this['compositionEndedAt']<0x64)&&(this['compositionPendingKey']=!0x1,!0x0));}['startMouseSelection'](_0x1fcf52){this['mouseSelection']&&this['mouseSelection']['destroy'](),this['mouseSelection']=_0x1fcf52;}['update'](_0x5214b7){this['view']['observer']['update'](_0x5214b7),this['mouseSelection']&&this['mouseSelection']['update'](_0x5214b7),this['draggedContent']&&_0x5214b7['docChanged']&&(this['draggedContent']=this['draggedContent']['map'](_0x5214b7['changes'])),_0x5214b7['transactions']['length']&&(this['lastKeyCode']=this['lastSelectionTime']=0x0);}['destroy'](){this['mouseSelection']&&this['mouseSelection']['destroy']();}}function _0x32a566(_0x21472a,_0x363ba7){return(_0x14bf35,_0x63aee2)=>{try{return _0x363ba7['call'](_0x21472a,_0x63aee2,_0x14bf35);}catch(_0x5807cd){logException(_0x14bf35['state'],_0x5807cd);}};}function computeHandlers(_0x1e67d4){let _0x4b66b0=Object['create'](null);function _0x2cb694(_0x3da757){return _0x4b66b0[_0x3da757]||(_0x4b66b0[_0x3da757]={'observers':[],'handlers':[]});}for(let _0x3daaf0 of _0x1e67d4){let _0x14099a=_0x3daaf0['spec'],_0x1fab64=_0x14099a&&_0x14099a['plugin']['domEventHandlers'],_0xb0e1e=_0x14099a&&_0x14099a['plugin']['domEventObservers'];if(_0x1fab64)for(let _0x3d0b85 in _0x1fab64){let _0x2c059a=_0x1fab64[_0x3d0b85];_0x2c059a&&_0x2cb694(_0x3d0b85)['handlers']['push'](_0x32a566(_0x3daaf0['value'],_0x2c059a));}if(_0xb0e1e)for(let _0x5125aa in _0xb0e1e){let _0x560549=_0xb0e1e[_0x5125aa];_0x560549&&_0x2cb694(_0x5125aa)['observers']['push'](_0x32a566(_0x3daaf0['value'],_0x560549));}}for(let _0x32a296 in _0x338f15)_0x2cb694(_0x32a296)['handlers']['push'](_0x338f15[_0x32a296]);for(let _0x2b7ee8 in _0x599bfb)_0x2cb694(_0x2b7ee8)['observers']['push'](_0x599bfb[_0x2b7ee8]);return _0x4b66b0;}const _0x2a76c6=[{'key':'Backspace','keyCode':0x8,'inputType':'deleteContentBackward'},{'key':'Enter','keyCode':0xd,'inputType':'insertParagraph'},{'key':'Enter','keyCode':0xd,'inputType':'insertLineBreak'},{'key':'Delete','keyCode':0x2e,'inputType':'deleteContentForward'}],_0x124de4='dthko',_0x3da075=[0x10,0x11,0x12,0x14,0x5b,0x5c,0xe0,0xe1],_0x647b06=0x6;function _0x48ac5d(_0x28ab2b){return 0.7*Math['max'](0x0,_0x28ab2b)+0x8;}function dist(_0x2edbfa,_0x358766){return Math['max'](Math['abs'](_0x2edbfa['clientX']-_0x358766['clientX']),Math['abs'](_0x2edbfa['clientY']-_0x358766['clientY']));}class MouseSelection{constructor(_0x1264e8,_0xfc83e9,_0x462b02,_0x1b4f5e){this['view']=_0x1264e8,this['startEvent']=_0xfc83e9,this['style']=_0x462b02,this['mustSelect']=_0x1b4f5e,this['scrollSpeed']={'x':0x0,'y':0x0},this['scrolling']=-0x1,this['lastEvent']=_0xfc83e9,this['scrollParents']=scrollableParents(_0x1264e8['contentDOM']),this['atoms']=_0x1264e8['state']['facet'](atomicRanges)['map'](_0x55d51e=>_0x55d51e(_0x1264e8));let _0x328808=_0x1264e8['contentDOM']['ownerDocument'];_0x328808['addEventListener']('mousemove',this['move']=this['move']['bind'](this)),_0x328808['addEventListener']('mouseup',this['up']=this['up']['bind'](this)),this['extend']=_0xfc83e9['shiftKey'],this['multiple']=_0x1264e8['state']['facet'](EditorState['allowMultipleSelections'])&&addsSelectionRange(_0x1264e8,_0xfc83e9),this['dragging']=!(!isInPrimarySelection(_0x1264e8,_0xfc83e9)||0x1!=getClickType(_0xfc83e9))&&null;}['start'](_0x538715){!0x1===this['dragging']&&this['select'](_0x538715);}['move'](_0x252a67){if(0x0==_0x252a67['buttons'])return this['destroy']();if(this['dragging']||null==this['dragging']&&dist(this['startEvent'],_0x252a67)<0xa)return;this['select'](this['lastEvent']=_0x252a67);let _0x42690f=0x0,_0x7bc227=0x0,_0x354d72=0x0,_0x291dac=0x0,_0x4d9e0d=this['view']['win']['innerWidth'],_0x3191bf=this['view']['win']['innerHeight'];this['scrollParents']['x']&&({left:_0x354d72,right:_0x4d9e0d}=this['scrollParents']['x']['getBoundingClientRect']()),this['scrollParents']['y']&&({top:_0x291dac,bottom:_0x3191bf}=this['scrollParents']['y']['getBoundingClientRect']());let _0x31cd45=getScrollMargins(this['view']);_0x252a67['clientX']-_0x31cd45['left']<=_0x354d72+_0x647b06?_0x42690f=-_0x48ac5d(_0x354d72-_0x252a67['clientX']):_0x252a67['clientX']+_0x31cd45['right']>=_0x4d9e0d-_0x647b06&&(_0x42690f=_0x48ac5d(_0x252a67['clientX']-_0x4d9e0d)),_0x252a67['clientY']-_0x31cd45['top']<=_0x291dac+_0x647b06?_0x7bc227=-_0x48ac5d(_0x291dac-_0x252a67['clientY']):_0x252a67['clientY']+_0x31cd45['bottom']>=_0x3191bf-_0x647b06&&(_0x7bc227=_0x48ac5d(_0x252a67['clientY']-_0x3191bf)),this['setScrollSpeed'](_0x42690f,_0x7bc227);}['up'](_0x1a58ca){null==this['dragging']&&this['select'](this['lastEvent']),this['dragging']||_0x1a58ca['preventDefault'](),this['destroy']();}['destroy'](){this['setScrollSpeed'](0x0,0x0);let _0x13da78=this['view']['contentDOM']['ownerDocument'];_0x13da78['removeEventListener']('mousemove',this['move']),_0x13da78['removeEventListener']('mouseup',this['up']),this['view']['inputState']['mouseSelection']=this['view']['inputState']['draggedContent']=null;}['setScrollSpeed'](_0xefedd3,_0x35f505){this['scrollSpeed']={'x':_0xefedd3,'y':_0x35f505},_0xefedd3||_0x35f505?this['scrolling']<0x0&&(this['scrolling']=setInterval(()=>this['scroll'](),0x32)):this['scrolling']>-0x1&&(clearInterval(this['scrolling']),this['scrolling']=-0x1);}['scroll'](){let {x:_0x2bbeef,y:_0x226959}=this['scrollSpeed'];_0x2bbeef&&this['scrollParents']['x']&&(this['scrollParents']['x']['scrollLeft']+=_0x2bbeef,_0x2bbeef=0x0),_0x226959&&this['scrollParents']['y']&&(this['scrollParents']['y']['scrollTop']+=_0x226959,_0x226959=0x0),(_0x2bbeef||_0x226959)&&this['view']['win']['scrollBy'](_0x2bbeef,_0x226959),!0x1===this['dragging']&&this['select'](this['lastEvent']);}['select'](_0x5c4c24){let {view:_0x1ce1fb}=this,_0x1dfbb0=skipAtomsForSelection(this['atoms'],this['style']['get'](_0x5c4c24,this['extend'],this['multiple']));!this['mustSelect']&&_0x1dfbb0['eq'](_0x1ce1fb['state']['selection'],!0x1===this['dragging'])||this['view']['dispatch']({'selection':_0x1dfbb0,'userEvent':'select.pointer'}),this['mustSelect']=!0x1;}['update'](_0x396540){_0x396540['transactions']['some'](_0x2adc85=>_0x2adc85['isUserEvent']('input.type'))?this['destroy']():this['style']['update'](_0x396540)&&setTimeout(()=>this['select'](this['lastEvent']),0x14);}}function addsSelectionRange(_0x21a996,_0x1c8499){let _0x1812a9=_0x21a996['state']['facet'](clickAddsSelectionRange);return _0x1812a9['length']?_0x1812a9[0x0](_0x1c8499):_0x484137['mac']?_0x1c8499['metaKey']:_0x1c8499['ctrlKey'];}function dragMovesSelection(_0x505243,_0xd62033){let _0x41dae6=_0x505243['state']['facet'](dragMovesSelection$1);return _0x41dae6['length']?_0x41dae6[0x0](_0xd62033):_0x484137['mac']?!_0xd62033['altKey']:!_0xd62033['ctrlKey'];}function isInPrimarySelection(_0x3f7893,_0x576d5a){let {main:_0x39e338}=_0x3f7893['state']['selection'];if(_0x39e338['empty'])return!0x1;let _0x51c79e=getSelection(_0x3f7893['root']);if(!_0x51c79e||0x0==_0x51c79e['rangeCount'])return!0x0;let _0x4c0c48=_0x51c79e['getRangeAt'](0x0)['getClientRects']();for(let _0x1d3782=0x0;_0x1d3782<_0x4c0c48['length'];_0x1d3782++){let _0x5bf6c8=_0x4c0c48[_0x1d3782];if(_0x5bf6c8['left']<=_0x576d5a['clientX']&&_0x5bf6c8['right']>=_0x576d5a['clientX']&&_0x5bf6c8['top']<=_0x576d5a['clientY']&&_0x5bf6c8['bottom']>=_0x576d5a['clientY'])return!0x0;}return!0x1;}function eventBelongsToEditor(_0x477ac1,_0x4abdc1){if(!_0x4abdc1['bubbles'])return!0x0;if(_0x4abdc1['defaultPrevented'])return!0x1;for(let _0x3169c0,_0x3c149a=_0x4abdc1['target'];_0x3c149a!=_0x477ac1['contentDOM'];_0x3c149a=_0x3c149a['parentNode'])if(!_0x3c149a||0xb==_0x3c149a['nodeType']||(_0x3169c0=ContentView['get'](_0x3c149a))&&_0x3169c0['ignoreEvent'](_0x4abdc1))return!0x1;return!0x0;}const _0x338f15=Object['create'](null),_0x599bfb=Object['create'](null),_0x45ccad=_0x484137['ie']&&_0x484137['ie_version']<0xf||_0x484137['ios']&&_0x484137['webkit_version']<0x25c;function capturePaste(_0x47888b){let _0x100bc9=_0x47888b['dom']['parentNode'];if(!_0x100bc9)return;let _0xda7f97=_0x100bc9['appendChild'](document['createElement']('textarea'));_0xda7f97['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0xda7f97['focus'](),setTimeout(()=>{_0x47888b['focus'](),_0xda7f97['remove'](),doPaste(_0x47888b,_0xda7f97['value']);},0x32);}function textFilter(_0x3660eb,_0xba8a6e,_0x2fe27b){for(let _0x1b37df of _0x3660eb['facet'](_0xba8a6e))_0x2fe27b=_0x1b37df(_0x2fe27b,_0x3660eb);return _0x2fe27b;}function doPaste(_0x5940a4,_0x343844){_0x343844=textFilter(_0x5940a4['state'],clipboardInputFilter,_0x343844);let _0x3ef957,{state:_0x5e7cd7}=_0x5940a4,_0x3b3c2c=0x1,_0x102873=_0x5e7cd7['toText'](_0x343844),_0x4dbefc=_0x102873['lines']==_0x5e7cd7['selection']['ranges']['length'];if(null!=lastLinewiseCopy&&_0x5e7cd7['selection']['ranges']['every'](_0x15e6c1=>_0x15e6c1['empty'])&&lastLinewiseCopy==_0x102873['toString']()){let _0x37daf3=-0x1;_0x3ef957=_0x5e7cd7['changeByRange'](_0x12f85e=>{let _0xb7e716=_0x5e7cd7['doc']['lineAt'](_0x12f85e['from']);if(_0xb7e716['from']==_0x37daf3)return{'range':_0x12f85e};_0x37daf3=_0xb7e716['from'];let _0xab3a48=_0x5e7cd7['toText']((_0x4dbefc?_0x102873['line'](_0x3b3c2c++)['text']:_0x343844)+_0x5e7cd7['lineBreak']);return{'changes':{'from':_0xb7e716['from'],'insert':_0xab3a48},'range':EditorSelection['cursor'](_0x12f85e['from']+_0xab3a48['length'])};});}else _0x3ef957=_0x4dbefc?_0x5e7cd7['changeByRange'](_0x2cc6d4=>{let _0x588fb9=_0x102873['line'](_0x3b3c2c++);return{'changes':{'from':_0x2cc6d4['from'],'to':_0x2cc6d4['to'],'insert':_0x588fb9['text']},'range':EditorSelection['cursor'](_0x2cc6d4['from']+_0x588fb9['length'])};}):_0x5e7cd7['replaceSelection'](_0x102873);_0x5940a4['dispatch'](_0x3ef957,{'userEvent':'input.paste','scrollIntoView':!0x0});}function _0x2594dd(_0x3bf4a2,_0x2dacd8,_0x236cdd,_0x4f50f0){if(0x1==_0x4f50f0)return EditorSelection['cursor'](_0x2dacd8,_0x236cdd);if(0x2==_0x4f50f0)return groupAt(_0x3bf4a2['state'],_0x2dacd8,_0x236cdd);{let _0x3a7492=_0x20d9e7['find'](_0x3bf4a2['docView'],_0x2dacd8),_0x5be4d9=_0x3bf4a2['state']['doc']['lineAt'](_0x3a7492?_0x3a7492['posAtEnd']:_0x2dacd8),_0x2211fe=_0x3a7492?_0x3a7492['posAtStart']:_0x5be4d9['from'],_0x1a3d7e=_0x3a7492?_0x3a7492['posAtEnd']:_0x5be4d9['to'];return _0x1a3d7e<_0x3bf4a2['state']['doc']['length']&&_0x1a3d7e==_0x5be4d9['to']&&_0x1a3d7e++,EditorSelection['range'](_0x2211fe,_0x1a3d7e);}}_0x599bfb['scroll']=_0x1e5f31=>{_0x1e5f31['inputState']['lastScrollTop']=_0x1e5f31['scrollDOM']['scrollTop'],_0x1e5f31['inputState']['lastScrollLeft']=_0x1e5f31['scrollDOM']['scrollLeft'];},_0x338f15['keydown']=(_0x176a5a,_0x32137b)=>(_0x176a5a['inputState']['setSelectionOrigin']('select'),0x1b==_0x32137b['keyCode']&&0x0!=_0x176a5a['inputState']['tabFocusMode']&&(_0x176a5a['inputState']['tabFocusMode']=Date['now']()+0x7d0),!0x1),_0x599bfb['touchstart']=(_0x31bf98,_0x573742)=>{_0x31bf98['inputState']['lastTouchTime']=Date['now'](),_0x31bf98['inputState']['setSelectionOrigin']('select.pointer');},_0x599bfb['touchmove']=_0x5e6b51=>{_0x5e6b51['inputState']['setSelectionOrigin']('select.pointer');},_0x338f15['mousedown']=(_0x1e41d3,_0x1214e6)=>{if(_0x1e41d3['observer']['flush'](),_0x1e41d3['inputState']['lastTouchTime']>Date['now']()-0x7d0)return!0x1;let _0x50e8f1=null;for(let _0x10356e of _0x1e41d3['state']['facet'](mouseSelectionStyle))if(_0x50e8f1=_0x10356e(_0x1e41d3,_0x1214e6),_0x50e8f1)break;if(_0x50e8f1||0x0!=_0x1214e6['button']||(_0x50e8f1=basicMouseSelection(_0x1e41d3,_0x1214e6)),_0x50e8f1){let _0x431873=!_0x1e41d3['hasFocus'];_0x1e41d3['inputState']['startMouseSelection'](new MouseSelection(_0x1e41d3,_0x1214e6,_0x50e8f1,_0x431873)),_0x431873&&_0x1e41d3['observer']['ignore'](()=>{focusPreventScroll(_0x1e41d3['contentDOM']);let _0x11dc62=_0x1e41d3['root']['activeElement'];_0x11dc62&&!_0x11dc62['contains'](_0x1e41d3['contentDOM'])&&_0x11dc62['blur']();});let _0x2f8524=_0x1e41d3['inputState']['mouseSelection'];if(_0x2f8524)return _0x2f8524['start'](_0x1214e6),!0x1===_0x2f8524['dragging'];}else _0x1e41d3['inputState']['setSelectionOrigin']('select.pointer');return!0x1;};let _0x5de578=(_0x3d77c1,_0x15fd6e,_0x1c1b94)=>_0x15fd6e>=_0x1c1b94['top']&&_0x15fd6e<=_0x1c1b94['bottom']&&_0x3d77c1>=_0x1c1b94['left']&&_0x3d77c1<=_0x1c1b94['right'];function findPositionSide(_0x29dc08,_0x38acd8,_0xd0597e,_0x27f69c){let _0x2caee4=_0x20d9e7['find'](_0x29dc08['docView'],_0x38acd8);if(!_0x2caee4)return 0x1;let _0x3b60c3=_0x38acd8-_0x2caee4['posAtStart'];if(0x0==_0x3b60c3)return 0x1;if(_0x3b60c3==_0x2caee4['length'])return-0x1;let _0x5111eb=_0x2caee4['coordsAt'](_0x3b60c3,-0x1);if(_0x5111eb&&_0x5de578(_0xd0597e,_0x27f69c,_0x5111eb))return-0x1;let _0x1d87a2=_0x2caee4['coordsAt'](_0x3b60c3,0x1);return _0x1d87a2&&_0x5de578(_0xd0597e,_0x27f69c,_0x1d87a2)?0x1:_0x5111eb&&_0x5111eb['bottom']>=_0x27f69c?-0x1:0x1;}function _0x4a99f6(_0x2bf832,_0x548df0){let _0x5bf172=_0x2bf832['posAtCoords']({'x':_0x548df0['clientX'],'y':_0x548df0['clientY']},!0x1);return{'pos':_0x5bf172,'bias':findPositionSide(_0x2bf832,_0x5bf172,_0x548df0['clientX'],_0x548df0['clientY'])};}const BadMouseDetail=_0x484137['ie']&&_0x484137['ie_version']<=0xb;let lastMouseDown=null,lastMouseDownCount=0x0,lastMouseDownTime=0x0;function getClickType(_0x4d7aa2){if(!BadMouseDetail)return _0x4d7aa2['detail'];let _0x5f1149=lastMouseDown,_0x3c9892=lastMouseDownTime;return lastMouseDown=_0x4d7aa2,lastMouseDownTime=Date['now'](),lastMouseDownCount=!_0x5f1149||_0x3c9892>Date['now']()-0x190&&Math['abs'](_0x5f1149['clientX']-_0x4d7aa2['clientX'])<0x2&&Math['abs'](_0x5f1149['clientY']-_0x4d7aa2['clientY'])<0x2?(lastMouseDownCount+0x1)%0x3:0x1;}function basicMouseSelection(_0x54cb5e,_0x727fd1){let _0xb7009d=_0x4a99f6(_0x54cb5e,_0x727fd1),_0x3bd7a4=getClickType(_0x727fd1),_0x367c96=_0x54cb5e['state']['selection'];return{'update'(_0x834be3){_0x834be3['docChanged']&&(_0xb7009d['pos']=_0x834be3['changes']['mapPos'](_0xb7009d['pos']),_0x367c96=_0x367c96['map'](_0x834be3['changes']));},'get'(_0x4c6f94,_0x153c75,_0x1dfbd5){let _0x134f2e,_0x311125=_0x4a99f6(_0x54cb5e,_0x4c6f94),_0x441f72=_0x2594dd(_0x54cb5e,_0x311125['pos'],_0x311125['bias'],_0x3bd7a4);if(_0xb7009d['pos']!=_0x311125['pos']&&!_0x153c75){let _0x3bd751=_0x2594dd(_0x54cb5e,_0xb7009d['pos'],_0xb7009d['bias'],_0x3bd7a4),_0x85d608=Math['min'](_0x3bd751['from'],_0x441f72['from']),_0x167eed=Math['max'](_0x3bd751['to'],_0x441f72['to']);_0x441f72=_0x85d608<_0x441f72['from']?EditorSelection['range'](_0x85d608,_0x167eed):EditorSelection['range'](_0x167eed,_0x85d608);}return _0x153c75?_0x367c96['replaceRange'](_0x367c96['main']['extend'](_0x441f72['from'],_0x441f72['to'])):_0x1dfbd5&&0x1==_0x3bd7a4&&_0x367c96['ranges']['length']>0x1&&(_0x134f2e=_0x2780b0(_0x367c96,_0x311125['pos']))?_0x134f2e:_0x1dfbd5?_0x367c96['addRange'](_0x441f72):EditorSelection['create']([_0x441f72]);}};}function _0x2780b0(_0x4264f5,_0x5e4da2){for(let _0x3227ba=0x0;_0x3227ba<_0x4264f5['ranges']['length'];_0x3227ba++){let {from:_0x58d122,to:_0x30e7d6}=_0x4264f5['ranges'][_0x3227ba];if(_0x58d122<=_0x5e4da2&&_0x30e7d6>=_0x5e4da2)return EditorSelection['create'](_0x4264f5['ranges']['slice'](0x0,_0x3227ba)['concat'](_0x4264f5['ranges']['slice'](_0x3227ba+0x1)),_0x4264f5['mainIndex']==_0x3227ba?0x0:_0x4264f5['mainIndex']-(_0x4264f5['mainIndex']>_0x3227ba?0x1:0x0));}return null;}function dropText(_0x3466f3,_0x11c3f7,_0x2cbb0d,_0x4a443a){if(!(_0x2cbb0d=textFilter(_0x3466f3['state'],clipboardInputFilter,_0x2cbb0d)))return;let _0x428d8b=_0x3466f3['posAtCoords']({'x':_0x11c3f7['clientX'],'y':_0x11c3f7['clientY']},!0x1),{draggedContent:_0x13d5bd}=_0x3466f3['inputState'],_0xce87d4=_0x4a443a&&_0x13d5bd&&dragMovesSelection(_0x3466f3,_0x11c3f7)?{'from':_0x13d5bd['from'],'to':_0x13d5bd['to']}:null,_0x235b11={'from':_0x428d8b,'insert':_0x2cbb0d},_0x1db95b=_0x3466f3['state']['changes'](_0xce87d4?[_0xce87d4,_0x235b11]:_0x235b11);_0x3466f3['focus'](),_0x3466f3['dispatch']({'changes':_0x1db95b,'selection':{'anchor':_0x1db95b['mapPos'](_0x428d8b,-0x1),'head':_0x1db95b['mapPos'](_0x428d8b,0x1)},'userEvent':_0xce87d4?'move.drop':'input.drop'}),_0x3466f3['inputState']['draggedContent']=null;}function captureCopy(_0x4b59fa,_0x2533b5){let _0x5da411=_0x4b59fa['dom']['parentNode'];if(!_0x5da411)return;let _0x3368e1=_0x5da411['appendChild'](document['createElement']('textarea'));_0x3368e1['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x3368e1['value']=_0x2533b5,_0x3368e1['focus'](),_0x3368e1['selectionEnd']=_0x2533b5['length'],_0x3368e1['selectionStart']=0x0,setTimeout(()=>{_0x3368e1['remove'](),_0x4b59fa['focus']();},0x32);}function _0x8b302b(_0x334c39){let _0x4bc2cd=[],_0x224f6a=[],_0x296d79=!0x1;for(let _0x465367 of _0x334c39['selection']['ranges'])_0x465367['empty']||(_0x4bc2cd['push'](_0x334c39['sliceDoc'](_0x465367['from'],_0x465367['to'])),_0x224f6a['push'](_0x465367));if(!_0x4bc2cd['length']){let _0x56f1a1=-0x1;for(let {from:_0x20c1da}of _0x334c39['selection']['ranges']){let _0x1267af=_0x334c39['doc']['lineAt'](_0x20c1da);_0x1267af['number']>_0x56f1a1&&(_0x4bc2cd['push'](_0x1267af['text']),_0x224f6a['push']({'from':_0x1267af['from'],'to':Math['min'](_0x334c39['doc']['length'],_0x1267af['to']+0x1)})),_0x56f1a1=_0x1267af['number'];}_0x296d79=!0x0;}return{'text':textFilter(_0x334c39,clipboardOutputFilter,_0x4bc2cd['join'](_0x334c39['lineBreak'])),'ranges':_0x224f6a,'linewise':_0x296d79};}_0x338f15['dragstart']=(_0x191a44,_0x1765f6)=>{let {selection:{main:_0x5916a3}}=_0x191a44['state'];if(_0x1765f6['target']['draggable']){let _0x54a213=_0x191a44['docView']['nearest'](_0x1765f6['target']);if(_0x54a213&&_0x54a213['isWidget']){let _0x33c929=_0x54a213['posAtStart'],_0x2aaf34=_0x33c929+_0x54a213['length'];(_0x33c929>=_0x5916a3['to']||_0x2aaf34<=_0x5916a3['from'])&&(_0x5916a3=EditorSelection['range'](_0x33c929,_0x2aaf34));}}let {inputState:_0x38ba89}=_0x191a44;return _0x38ba89['mouseSelection']&&(_0x38ba89['mouseSelection']['dragging']=!0x0),_0x38ba89['draggedContent']=_0x5916a3,_0x1765f6['dataTransfer']&&(_0x1765f6['dataTransfer']['setData']('Text',textFilter(_0x191a44['state'],clipboardOutputFilter,_0x191a44['state']['sliceDoc'](_0x5916a3['from'],_0x5916a3['to']))),_0x1765f6['dataTransfer']['effectAllowed']='copyMove'),!0x1;},_0x338f15['dragend']=_0x210eae=>(_0x210eae['inputState']['draggedContent']=null,!0x1),_0x338f15['drop']=(_0xb82f75,_0x5333c6)=>{if(!_0x5333c6['dataTransfer'])return!0x1;if(_0xb82f75['state']['readOnly'])return!0x0;let _0x1d6c1d=_0x5333c6['dataTransfer']['files'];if(_0x1d6c1d&&_0x1d6c1d['length']){let _0x1366c1=Array(_0x1d6c1d['length']),_0xce3d12=0x0,_0x358f19=()=>{++_0xce3d12==_0x1d6c1d['length']&&dropText(_0xb82f75,_0x5333c6,_0x1366c1['filter'](_0x17cf92=>null!=_0x17cf92)['join'](_0xb82f75['state']['lineBreak']),!0x1);};for(let _0x1bbce0=0x0;_0x1bbce0<_0x1d6c1d['length'];_0x1bbce0++){let _0x1aebf0=new FileReader();_0x1aebf0['onerror']=_0x358f19,_0x1aebf0['onload']=()=>{/[\x00-\x08\x0e-\x1f]{2}/['test'](_0x1aebf0['result'])||(_0x1366c1[_0x1bbce0]=_0x1aebf0['result']),_0x358f19();},_0x1aebf0['readAsText'](_0x1d6c1d[_0x1bbce0]);}return!0x0;}{let _0x1e90cb=_0x5333c6['dataTransfer']['getData']('Text');if(_0x1e90cb)return dropText(_0xb82f75,_0x5333c6,_0x1e90cb,!0x0),!0x0;}return!0x1;},_0x338f15['paste']=(_0x36cb0d,_0x4f7439)=>{if(_0x36cb0d['state']['readOnly'])return!0x0;_0x36cb0d['observer']['flush']();let _0x5d5f52=_0x45ccad?null:_0x4f7439['clipboardData'];return _0x5d5f52?(doPaste(_0x36cb0d,_0x5d5f52['getData']('text/plain')||_0x5d5f52['getData']('text/uri-list')),!0x0):(capturePaste(_0x36cb0d),!0x1);};let lastLinewiseCopy=null;_0x338f15['copy']=_0x338f15['cut']=(_0x4308fa,_0x245e90)=>{let {text:_0x2f3c89,ranges:_0x507657,linewise:_0x40097d}=_0x8b302b(_0x4308fa['state']);if(!_0x2f3c89&&!_0x40097d)return!0x1;lastLinewiseCopy=_0x40097d?_0x2f3c89:null,'cut'!=_0x245e90['type']||_0x4308fa['state']['readOnly']||_0x4308fa['dispatch']({'changes':_0x507657,'scrollIntoView':!0x0,'userEvent':'delete.cut'});let _0x36bf9e=_0x45ccad?null:_0x245e90['clipboardData'];return _0x36bf9e?(_0x36bf9e['clearData'](),_0x36bf9e['setData']('text/plain',_0x2f3c89),!0x0):(captureCopy(_0x4308fa,_0x2f3c89),!0x1);};const _0x5d37ba=Annotation['define']();function focusChangeTransaction(_0x3c9ba9,_0x31fe33){let _0x3c5e03=[];for(let _0x4e9fe5 of _0x3c9ba9['facet'](focusChangeEffect)){let _0x168485=_0x4e9fe5(_0x3c9ba9,_0x31fe33);_0x168485&&_0x3c5e03['push'](_0x168485);}return _0x3c5e03['length']?_0x3c9ba9['update']({'effects':_0x3c5e03,'annotations':_0x5d37ba['of'](!0x0)}):null;}function updateForFocusChange(_0x12c206){setTimeout(()=>{let _0x4be5d3=_0x12c206['hasFocus'];if(_0x4be5d3!=_0x12c206['inputState']['notifiedFocused']){let _0x2f3573=focusChangeTransaction(_0x12c206['state'],_0x4be5d3);_0x2f3573?_0x12c206['dispatch'](_0x2f3573):_0x12c206['update']([]);}},0xa);}_0x599bfb['focus']=_0x52a57d=>{_0x52a57d['inputState']['lastFocusTime']=Date['now'](),_0x52a57d['scrollDOM']['scrollTop']||!_0x52a57d['inputState']['lastScrollTop']&&!_0x52a57d['inputState']['lastScrollLeft']||(_0x52a57d['scrollDOM']['scrollTop']=_0x52a57d['inputState']['lastScrollTop'],_0x52a57d['scrollDOM']['scrollLeft']=_0x52a57d['inputState']['lastScrollLeft']),updateForFocusChange(_0x52a57d);},_0x599bfb['blur']=_0x58fb66=>{_0x58fb66['observer']['clearSelectionRange'](),updateForFocusChange(_0x58fb66);},_0x599bfb['compositionstart']=_0x599bfb['compositionupdate']=_0x273aba=>{_0x273aba['observer']['editContext']||(null==_0x273aba['inputState']['compositionFirstChange']&&(_0x273aba['inputState']['compositionFirstChange']=!0x0),_0x273aba['inputState']['composing']<0x0&&(_0x273aba['inputState']['composing']=0x0));},_0x599bfb['compositionend']=_0x4424a0=>{_0x4424a0['observer']['editContext']||(_0x4424a0['inputState']['composing']=-0x1,_0x4424a0['inputState']['compositionEndedAt']=Date['now'](),_0x4424a0['inputState']['compositionPendingKey']=!0x0,_0x4424a0['inputState']['compositionPendingChange']=_0x4424a0['observer']['pendingRecords']()['length']>0x0,_0x4424a0['inputState']['compositionFirstChange']=null,_0x484137['chrome']&&_0x484137['android']?_0x4424a0['observer']['flushSoon']():_0x4424a0['inputState']['compositionPendingChange']?Promise['resolve']()['then'](()=>_0x4424a0['observer']['flush']()):setTimeout(()=>{_0x4424a0['inputState']['composing']<0x0&&_0x4424a0['docView']['hasComposition']&&_0x4424a0['update']([]);},0x32));},_0x599bfb['contextmenu']=_0x39c09e=>{_0x39c09e['inputState']['lastContextMenu']=Date['now']();},_0x338f15['beforeinput']=(_0x427024,_0x85a6f9)=>{var _0x50baf6,_0xf39c6f;if('insertReplacementText'==_0x85a6f9['inputType']&&_0x427024['observer']['editContext']){let _0x2f1345=null===(_0x50baf6=_0x85a6f9['dataTransfer'])||void 0x0===_0x50baf6?void 0x0:_0x50baf6['getData']('text/plain'),_0x47cfb5=_0x85a6f9['getTargetRanges']();if(_0x2f1345&&_0x47cfb5['length']){let _0x5238a2=_0x47cfb5[0x0],_0x2a9f8c=_0x427024['posAtDOM'](_0x5238a2['startContainer'],_0x5238a2['startOffset']),_0x4f8563=_0x427024['posAtDOM'](_0x5238a2['endContainer'],_0x5238a2['endOffset']);return _0x22e13a(_0x427024,{'from':_0x2a9f8c,'to':_0x4f8563,'insert':_0x427024['state']['toText'](_0x2f1345)},null),!0x0;}}let _0x158286;if(_0x484137['chrome']&&_0x484137['android']&&(_0x158286=_0x2a76c6['find'](_0xe2131f=>_0xe2131f['inputType']==_0x85a6f9['inputType']))&&(_0x427024['observer']['delayAndroidKey'](_0x158286['key'],_0x158286['keyCode']),'Backspace'==_0x158286['key']||'Delete'==_0x158286['key'])){let _0x99211d=(null===(_0xf39c6f=window['visualViewport'])||void 0x0===_0xf39c6f?void 0x0:_0xf39c6f['height'])||0x0;setTimeout(()=>{var _0x15b561;((null===(_0x15b561=window['visualViewport'])||void 0x0===_0x15b561?void 0x0:_0x15b561['height'])||0x0)>_0x99211d+0xa&&_0x427024['hasFocus']&&(_0x427024['contentDOM']['blur'](),_0x427024['focus']());},0x64);}return _0x484137['ios']&&'deleteContentForward'==_0x85a6f9['inputType']&&_0x427024['observer']['flushSoon'](),_0x484137['safari']&&'insertText'==_0x85a6f9['inputType']&&_0x427024['inputState']['composing']>=0x0&&setTimeout(()=>_0x599bfb['compositionend'](_0x427024,_0x85a6f9),0x14),!0x1;};const _0x4e3ba6=new Set();function firefoxCopyCutHack(_0x2d2a2d){_0x4e3ba6['has'](_0x2d2a2d)||(_0x4e3ba6['add'](_0x2d2a2d),_0x2d2a2d['addEventListener']('copy',()=>{}),_0x2d2a2d['addEventListener']('cut',()=>{}));}const wrappingWhiteSpace=['pre-wrap','normal','pre-line','break-spaces'];let heightChangeFlag=!0x1;function clearHeightChangeFlag(){heightChangeFlag=!0x1;}class HeightOracle{constructor(_0x4e37d4){this['lineWrapping']=_0x4e37d4,this['doc']=Text['empty'],this['heightSamples']={},this['lineHeight']=0xe,this['charWidth']=0x7,this['textHeight']=0xe,this['lineLength']=0x1e;}['heightForGap'](_0x2920ca,_0x5e1797){let _0x41d347=this['doc']['lineAt'](_0x5e1797)['number']-this['doc']['lineAt'](_0x2920ca)['number']+0x1;return this['lineWrapping']&&(_0x41d347+=Math['max'](0x0,Math['ceil']((_0x5e1797-_0x2920ca-_0x41d347*this['lineLength']*0.5)/this['lineLength']))),this['lineHeight']*_0x41d347;}['heightForLine'](_0x307318){if(!this['lineWrapping'])return this['lineHeight'];return(0x1+Math['max'](0x0,Math['ceil']((_0x307318-this['lineLength'])/Math['max'](0x1,this['lineLength']-0x5))))*this['lineHeight'];}['setDoc'](_0x28d574){return this['doc']=_0x28d574,this;}['mustRefreshForWrapping'](_0x6829f2){return wrappingWhiteSpace['indexOf'](_0x6829f2)>-0x1!=this['lineWrapping'];}['mustRefreshForHeights'](_0x1a875e){let _0x226cc4=!0x1;for(let _0x4f7b3d=0x0;_0x4f7b3d<_0x1a875e['length'];_0x4f7b3d++){let _0x55753f=_0x1a875e[_0x4f7b3d];_0x55753f<0x0?_0x4f7b3d++:this['heightSamples'][Math['floor'](0xa*_0x55753f)]||(_0x226cc4=!0x0,this['heightSamples'][Math['floor'](0xa*_0x55753f)]=!0x0);}return _0x226cc4;}['refresh'](_0x61bfc9,_0x3534b6,_0xfcf964,_0x10557c,_0x3f568c,_0x3213c1){let _0x367faa=wrappingWhiteSpace['indexOf'](_0x61bfc9)>-0x1,_0x114548=Math['round'](_0x3534b6)!=Math['round'](this['lineHeight'])||this['lineWrapping']!=_0x367faa;if(this['lineWrapping']=_0x367faa,this['lineHeight']=_0x3534b6,this['charWidth']=_0xfcf964,this['textHeight']=_0x10557c,this['lineLength']=_0x3f568c,_0x114548){this['heightSamples']={};for(let _0x3e36f3=0x0;_0x3e36f3<_0x3213c1['length'];_0x3e36f3++){let _0x278f54=_0x3213c1[_0x3e36f3];_0x278f54<0x0?_0x3e36f3++:this['heightSamples'][Math['floor'](0xa*_0x278f54)]=!0x0;}}return _0x114548;}}class MeasuredHeights{constructor(_0x28cc65,_0x1cb7da){this['from']=_0x28cc65,this['heights']=_0x1cb7da,this['index']=0x0;}get['more'](){return this['index']<this['heights']['length'];}}class _0x5ef968{constructor(_0x574e13,_0x5306ce,_0x518e21,_0x462295,_0x3f2cdc){this['from']=_0x574e13,this['length']=_0x5306ce,this['top']=_0x518e21,this['height']=_0x462295,this['_content']=_0x3f2cdc;}get['type'](){return'number'==typeof this['_content']?_0x491905['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'](_0x518033){let _0x3b12bb=(Array['isArray'](this['_content'])?this['_content']:[this])['concat'](Array['isArray'](_0x518033['_content'])?_0x518033['_content']:[_0x518033]);return new _0x5ef968(this['from'],this['length']+_0x518033['length'],this['top'],this['height']+_0x518033['height'],_0x3b12bb);}}var _0x17950b=function(_0x1fdcfb){return _0x1fdcfb[_0x1fdcfb['ByPos']=0x0]='ByPos',_0x1fdcfb[_0x1fdcfb['ByHeight']=0x1]='ByHeight',_0x1fdcfb[_0x1fdcfb['ByPosNoHeight']=0x2]='ByPosNoHeight',_0x1fdcfb;}(_0x17950b||(_0x17950b={}));const _0x5752e1=0.001;class HeightMap{constructor(_0x1c0429,_0x97ec89,_0x3bf89a=0x2){this['length']=_0x1c0429,this['height']=_0x97ec89,this['flags']=_0x3bf89a;}get['outdated'](){return(0x2&this['flags'])>0x0;}set['outdated'](_0x4b0d77){this['flags']=(_0x4b0d77?0x2:0x0)|-0x3&this['flags'];}['setHeight'](_0x4e570e){this['height']!=_0x4e570e&&(Math['abs'](this['height']-_0x4e570e)>_0x5752e1&&(heightChangeFlag=!0x0),this['height']=_0x4e570e);}['replace'](_0x1fc162,_0x522787,_0x4ef8e5){return HeightMap['of'](_0x4ef8e5);}['decomposeLeft'](_0x430bb4,_0x5b0cae){_0x5b0cae['push'](this);}['decomposeRight'](_0x411fa1,_0x5e98e2){_0x5e98e2['push'](this);}['applyChanges'](_0x3909a7,_0x4a4bda,_0x11a411,_0x1884d7){let _0x5542e2=this,_0x4abf95=_0x11a411['doc'];for(let _0xac69a4=_0x1884d7['length']-0x1;_0xac69a4>=0x0;_0xac69a4--){let {fromA:_0x27ca7b,toA:_0x4c0f1e,fromB:_0x113477,toB:_0x45bc90}=_0x1884d7[_0xac69a4],_0x3200a9=_0x5542e2['lineAt'](_0x27ca7b,_0x17950b['ByPosNoHeight'],_0x11a411['setDoc'](_0x4a4bda),0x0,0x0),_0x16a8c4=_0x3200a9['to']>=_0x4c0f1e?_0x3200a9:_0x5542e2['lineAt'](_0x4c0f1e,_0x17950b['ByPosNoHeight'],_0x11a411,0x0,0x0);for(_0x45bc90+=_0x16a8c4['to']-_0x4c0f1e,_0x4c0f1e=_0x16a8c4['to'];_0xac69a4>0x0&&_0x3200a9['from']<=_0x1884d7[_0xac69a4-0x1]['toA'];)_0x27ca7b=_0x1884d7[_0xac69a4-0x1]['fromA'],_0x113477=_0x1884d7[_0xac69a4-0x1]['fromB'],_0xac69a4--,_0x27ca7b<_0x3200a9['from']&&(_0x3200a9=_0x5542e2['lineAt'](_0x27ca7b,_0x17950b['ByPosNoHeight'],_0x11a411,0x0,0x0));_0x113477+=_0x3200a9['from']-_0x27ca7b,_0x27ca7b=_0x3200a9['from'];let _0x199047=_0x3e737f['build'](_0x11a411['setDoc'](_0x4abf95),_0x3909a7,_0x113477,_0x45bc90);_0x5542e2=_0x4e7a6a(_0x5542e2,_0x5542e2['replace'](_0x27ca7b,_0x4c0f1e,_0x199047));}return _0x5542e2['updateHeight'](_0x11a411,0x0);}static['empty'](){return new HeightMapText(0x0,0x0);}static['of'](_0x15cb62){if(0x1==_0x15cb62['length'])return _0x15cb62[0x0];let _0xd431c1=0x0,_0x5002fa=_0x15cb62['length'],_0xab74b8=0x0,_0x455807=0x0;for(;;)if(_0xd431c1==_0x5002fa){if(_0xab74b8>0x2*_0x455807){let _0x1cfab2=_0x15cb62[_0xd431c1-0x1];_0x1cfab2['break']?_0x15cb62['splice'](--_0xd431c1,0x1,_0x1cfab2['left'],null,_0x1cfab2['right']):_0x15cb62['splice'](--_0xd431c1,0x1,_0x1cfab2['left'],_0x1cfab2['right']),_0x5002fa+=0x1+_0x1cfab2['break'],_0xab74b8-=_0x1cfab2['size'];}else{if(!(_0x455807>0x2*_0xab74b8))break;{let _0x1a4324=_0x15cb62[_0x5002fa];_0x1a4324['break']?_0x15cb62['splice'](_0x5002fa,0x1,_0x1a4324['left'],null,_0x1a4324['right']):_0x15cb62['splice'](_0x5002fa,0x1,_0x1a4324['left'],_0x1a4324['right']),_0x5002fa+=0x2+_0x1a4324['break'],_0x455807-=_0x1a4324['size'];}}}else{if(_0xab74b8<_0x455807){let _0x291f51=_0x15cb62[_0xd431c1++];_0x291f51&&(_0xab74b8+=_0x291f51['size']);}else{let _0x532b13=_0x15cb62[--_0x5002fa];_0x532b13&&(_0x455807+=_0x532b13['size']);}}let _0x36ed19=0x0;return null==_0x15cb62[_0xd431c1-0x1]?(_0x36ed19=0x1,_0xd431c1--):null==_0x15cb62[_0xd431c1]&&(_0x36ed19=0x1,_0x5002fa++),new HeightMapBranch(HeightMap['of'](_0x15cb62['slice'](0x0,_0xd431c1)),_0x36ed19,HeightMap['of'](_0x15cb62['slice'](_0x5002fa)));}}function _0x4e7a6a(_0x24f49d,_0x29f70f){return _0x24f49d==_0x29f70f?_0x24f49d:(_0x24f49d['constructor']!=_0x29f70f['constructor']&&(heightChangeFlag=!0x0),_0x29f70f);}HeightMap['prototype']['size']=0x1;class HeightMapBlock extends HeightMap{constructor(_0x1788c2,_0x2867dd,_0x57e9df){super(_0x1788c2,_0x2867dd),this['deco']=_0x57e9df;}['blockAt'](_0x5add09,_0x532fbd,_0x1ecc2b,_0x59d391){return new _0x5ef968(_0x59d391,this['length'],_0x1ecc2b,this['height'],this['deco']||0x0);}['lineAt'](_0x3c2445,_0x26ff50,_0x5469bb,_0x2edc9c,_0x3cf989){return this['blockAt'](0x0,_0x5469bb,_0x2edc9c,_0x3cf989);}['forEachLine'](_0x213206,_0x1b56c6,_0x3bc410,_0x5a8c1a,_0x263d80,_0x460454){_0x213206<=_0x263d80+this['length']&&_0x1b56c6>=_0x263d80&&_0x460454(this['blockAt'](0x0,_0x3bc410,_0x5a8c1a,_0x263d80));}['updateHeight'](_0x45b5c4,_0x236a55=0x0,_0x437924=!0x1,_0x5d1533){return _0x5d1533&&_0x5d1533['from']<=_0x236a55&&_0x5d1533['more']&&this['setHeight'](_0x5d1533['heights'][_0x5d1533['index']++]),this['outdated']=!0x1,this;}['toString'](){return'block('+this['length']+')';}}class HeightMapText extends HeightMapBlock{constructor(_0xf4920e,_0x523574){super(_0xf4920e,_0x523574,null),this['collapsed']=0x0,this['widgetHeight']=0x0,this['breaks']=0x0;}['blockAt'](_0x5e4534,_0x3a4261,_0x22f7ca,_0x17a4f8){return new _0x5ef968(_0x17a4f8,this['length'],_0x22f7ca,this['height'],this['breaks']);}['replace'](_0xd74ec5,_0x47d54f,_0x4fd966){let _0x26a2b1=_0x4fd966[0x0];return 0x1==_0x4fd966['length']&&(_0x26a2b1 instanceof HeightMapText||_0x26a2b1 instanceof HeightMapGap&&0x4&_0x26a2b1['flags'])&&Math['abs'](this['length']-_0x26a2b1['length'])<0xa?(_0x26a2b1 instanceof HeightMapGap?_0x26a2b1=new HeightMapText(_0x26a2b1['length'],this['height']):_0x26a2b1['height']=this['height'],this['outdated']||(_0x26a2b1['outdated']=!0x1),_0x26a2b1):HeightMap['of'](_0x4fd966);}['updateHeight'](_0x2d47ad,_0x5e1e6f=0x0,_0x1e1676=!0x1,_0x22f6cd){return _0x22f6cd&&_0x22f6cd['from']<=_0x5e1e6f&&_0x22f6cd['more']?this['setHeight'](_0x22f6cd['heights'][_0x22f6cd['index']++]):(_0x1e1676||this['outdated'])&&this['setHeight'](Math['max'](this['widgetHeight'],_0x2d47ad['heightForLine'](this['length']-this['collapsed']))+this['breaks']*_0x2d47ad['lineHeight']),this['outdated']=!0x1,this;}['toString'](){return'line('+this['length']+(this['collapsed']?-this['collapsed']:'')+(this['widgetHeight']?':'+this['widgetHeight']:'')+')';}}class HeightMapGap extends HeightMap{constructor(_0x37279c){super(_0x37279c,0x0);}['heightMetrics'](_0x547ee8,_0x5ae775){let _0x4befbf,_0x45f1fb=_0x547ee8['doc']['lineAt'](_0x5ae775)['number'],_0x37612d=_0x547ee8['doc']['lineAt'](_0x5ae775+this['length'])['number'],_0x10fa18=_0x37612d-_0x45f1fb+0x1,_0x5d217b=0x0;if(_0x547ee8['lineWrapping']){let _0x85ad03=Math['min'](this['height'],_0x547ee8['lineHeight']*_0x10fa18);_0x4befbf=_0x85ad03/_0x10fa18,this['length']>_0x10fa18+0x1&&(_0x5d217b=(this['height']-_0x85ad03)/(this['length']-_0x10fa18-0x1));}else _0x4befbf=this['height']/_0x10fa18;return{'firstLine':_0x45f1fb,'lastLine':_0x37612d,'perLine':_0x4befbf,'perChar':_0x5d217b};}['blockAt'](_0x5a4a0b,_0x2fbe03,_0x2a6202,_0x58c54a){let {firstLine:_0x31782c,lastLine:_0x4f67e9,perLine:_0x3aa46f,perChar:_0x1a2349}=this['heightMetrics'](_0x2fbe03,_0x58c54a);if(_0x2fbe03['lineWrapping']){let _0x526021=_0x58c54a+(_0x5a4a0b<_0x2fbe03['lineHeight']?0x0:Math['round'](Math['max'](0x0,Math['min'](0x1,(_0x5a4a0b-_0x2a6202)/this['height']))*this['length'])),_0x55f79e=_0x2fbe03['doc']['lineAt'](_0x526021),_0x32d865=_0x3aa46f+_0x55f79e['length']*_0x1a2349,_0x8aaa16=Math['max'](_0x2a6202,_0x5a4a0b-_0x32d865/0x2);return new _0x5ef968(_0x55f79e['from'],_0x55f79e['length'],_0x8aaa16,_0x32d865,0x0);}{let _0x1f1035=Math['max'](0x0,Math['min'](_0x4f67e9-_0x31782c,Math['floor']((_0x5a4a0b-_0x2a6202)/_0x3aa46f))),{from:_0x526f23,length:_0x336052}=_0x2fbe03['doc']['line'](_0x31782c+_0x1f1035);return new _0x5ef968(_0x526f23,_0x336052,_0x2a6202+_0x3aa46f*_0x1f1035,_0x3aa46f,0x0);}}['lineAt'](_0x379263,_0x9d02f8,_0x3525f6,_0x11f7ac,_0x5d9481){if(_0x9d02f8==_0x17950b['ByHeight'])return this['blockAt'](_0x379263,_0x3525f6,_0x11f7ac,_0x5d9481);if(_0x9d02f8==_0x17950b['ByPosNoHeight']){let {from:_0x23963b,to:_0x45ac72}=_0x3525f6['doc']['lineAt'](_0x379263);return new _0x5ef968(_0x23963b,_0x45ac72-_0x23963b,0x0,0x0,0x0);}let {firstLine:_0x5e5325,perLine:_0x46b15f,perChar:_0x5e20ee}=this['heightMetrics'](_0x3525f6,_0x5d9481),_0x591690=_0x3525f6['doc']['lineAt'](_0x379263),_0x2fc6cb=_0x46b15f+_0x591690['length']*_0x5e20ee,_0x1e8626=_0x591690['number']-_0x5e5325,_0x4db183=_0x11f7ac+_0x46b15f*_0x1e8626+_0x5e20ee*(_0x591690['from']-_0x5d9481-_0x1e8626);return new _0x5ef968(_0x591690['from'],_0x591690['length'],Math['max'](_0x11f7ac,Math['min'](_0x4db183,_0x11f7ac+this['height']-_0x2fc6cb)),_0x2fc6cb,0x0);}['forEachLine'](_0x42d810,_0xd7147,_0x2d9604,_0x5b5b1f,_0x326c83,_0x2526a3){_0x42d810=Math['max'](_0x42d810,_0x326c83),_0xd7147=Math['min'](_0xd7147,_0x326c83+this['length']);let {firstLine:_0x2e14b1,perLine:_0xd371c8,perChar:_0x36de74}=this['heightMetrics'](_0x2d9604,_0x326c83);for(let _0x564759=_0x42d810,_0x10bfab=_0x5b5b1f;_0x564759<=_0xd7147;){let _0x3973f0=_0x2d9604['doc']['lineAt'](_0x564759);if(_0x564759==_0x42d810){let _0x22086c=_0x3973f0['number']-_0x2e14b1;_0x10bfab+=_0xd371c8*_0x22086c+_0x36de74*(_0x42d810-_0x326c83-_0x22086c);}let _0x190185=_0xd371c8+_0x36de74*_0x3973f0['length'];_0x2526a3(new _0x5ef968(_0x3973f0['from'],_0x3973f0['length'],_0x10bfab,_0x190185,0x0)),_0x10bfab+=_0x190185,_0x564759=_0x3973f0['to']+0x1;}}['replace'](_0x280a4a,_0xda23e5,_0x142c25){let _0x59cbf7=this['length']-_0xda23e5;if(_0x59cbf7>0x0){let _0x346263=_0x142c25[_0x142c25['length']-0x1];_0x346263 instanceof HeightMapGap?_0x142c25[_0x142c25['length']-0x1]=new HeightMapGap(_0x346263['length']+_0x59cbf7):_0x142c25['push'](null,new HeightMapGap(_0x59cbf7-0x1));}if(_0x280a4a>0x0){let _0x1ebb5f=_0x142c25[0x0];_0x1ebb5f instanceof HeightMapGap?_0x142c25[0x0]=new HeightMapGap(_0x280a4a+_0x1ebb5f['length']):_0x142c25['unshift'](new HeightMapGap(_0x280a4a-0x1),null);}return HeightMap['of'](_0x142c25);}['decomposeLeft'](_0x578270,_0x415fff){_0x415fff['push'](new HeightMapGap(_0x578270-0x1),null);}['decomposeRight'](_0x5ea2dc,_0x1a1703){_0x1a1703['push'](null,new HeightMapGap(this['length']-_0x5ea2dc-0x1));}['updateHeight'](_0x971bd6,_0xdba757=0x0,_0xc27fa0=!0x1,_0x3e6a98){let _0x2436b2=_0xdba757+this['length'];if(_0x3e6a98&&_0x3e6a98['from']<=_0xdba757+this['length']&&_0x3e6a98['more']){let _0x34e900=[],_0x27472e=Math['max'](_0xdba757,_0x3e6a98['from']),_0x3ddfa8=-0x1;for(_0x3e6a98['from']>_0xdba757&&_0x34e900['push'](new HeightMapGap(_0x3e6a98['from']-_0xdba757-0x1)['updateHeight'](_0x971bd6,_0xdba757));_0x27472e<=_0x2436b2&&_0x3e6a98['more'];){let _0x1cedfc=_0x971bd6['doc']['lineAt'](_0x27472e)['length'];_0x34e900['length']&&_0x34e900['push'](null);let _0x4b9712=_0x3e6a98['heights'][_0x3e6a98['index']++];-0x1==_0x3ddfa8?_0x3ddfa8=_0x4b9712:Math['abs'](_0x4b9712-_0x3ddfa8)>=_0x5752e1&&(_0x3ddfa8=-0x2);let _0x48e58b=new HeightMapText(_0x1cedfc,_0x4b9712);_0x48e58b['outdated']=!0x1,_0x34e900['push'](_0x48e58b),_0x27472e+=_0x1cedfc+0x1;}_0x27472e<=_0x2436b2&&_0x34e900['push'](null,new HeightMapGap(_0x2436b2-_0x27472e)['updateHeight'](_0x971bd6,_0x27472e));let _0x179e8a=HeightMap['of'](_0x34e900);return(_0x3ddfa8<0x0||Math['abs'](_0x179e8a['height']-this['height'])>=_0x5752e1||Math['abs'](_0x3ddfa8-this['heightMetrics'](_0x971bd6,_0xdba757)['perLine'])>=_0x5752e1)&&(heightChangeFlag=!0x0),_0x4e7a6a(this,_0x179e8a);}return(_0xc27fa0||this['outdated'])&&(this['setHeight'](_0x971bd6['heightForGap'](_0xdba757,_0xdba757+this['length'])),this['outdated']=!0x1),this;}['toString'](){return'gap('+this['length']+')';}}class HeightMapBranch extends HeightMap{constructor(_0x2bd1b2,_0x4463d9,_0xaf95c1){super(_0x2bd1b2['length']+_0x4463d9+_0xaf95c1['length'],_0x2bd1b2['height']+_0xaf95c1['height'],_0x4463d9|(_0x2bd1b2['outdated']||_0xaf95c1['outdated']?0x2:0x0)),this['left']=_0x2bd1b2,this['right']=_0xaf95c1,this['size']=_0x2bd1b2['size']+_0xaf95c1['size'];}get['break'](){return 0x1&this['flags'];}['blockAt'](_0xec2194,_0xbe22f5,_0x4bd4ac,_0x47582f){let _0x43b211=_0x4bd4ac+this['left']['height'];return _0xec2194<_0x43b211?this['left']['blockAt'](_0xec2194,_0xbe22f5,_0x4bd4ac,_0x47582f):this['right']['blockAt'](_0xec2194,_0xbe22f5,_0x43b211,_0x47582f+this['left']['length']+this['break']);}['lineAt'](_0xcb1b55,_0x4c664c,_0x2d818e,_0x28b80a,_0x58c304){let _0x2ddd48=_0x28b80a+this['left']['height'],_0x9027f7=_0x58c304+this['left']['length']+this['break'],_0x837c6d=_0x4c664c==_0x17950b['ByHeight']?_0xcb1b55<_0x2ddd48:_0xcb1b55<_0x9027f7,_0x8924e2=_0x837c6d?this['left']['lineAt'](_0xcb1b55,_0x4c664c,_0x2d818e,_0x28b80a,_0x58c304):this['right']['lineAt'](_0xcb1b55,_0x4c664c,_0x2d818e,_0x2ddd48,_0x9027f7);if(this['break']||(_0x837c6d?_0x8924e2['to']<_0x9027f7:_0x8924e2['from']>_0x9027f7))return _0x8924e2;let _0x94b904=_0x4c664c==_0x17950b['ByPosNoHeight']?_0x17950b['ByPosNoHeight']:_0x17950b['ByPos'];return _0x837c6d?_0x8924e2['join'](this['right']['lineAt'](_0x9027f7,_0x94b904,_0x2d818e,_0x2ddd48,_0x9027f7)):this['left']['lineAt'](_0x9027f7,_0x94b904,_0x2d818e,_0x28b80a,_0x58c304)['join'](_0x8924e2);}['forEachLine'](_0x4d61da,_0x188442,_0xe085a4,_0x502a5e,_0x2ff34c,_0x2c3939){let _0x57f1ab=_0x502a5e+this['left']['height'],_0x477441=_0x2ff34c+this['left']['length']+this['break'];if(this['break'])_0x4d61da<_0x477441&&this['left']['forEachLine'](_0x4d61da,_0x188442,_0xe085a4,_0x502a5e,_0x2ff34c,_0x2c3939),_0x188442>=_0x477441&&this['right']['forEachLine'](_0x4d61da,_0x188442,_0xe085a4,_0x57f1ab,_0x477441,_0x2c3939);else{let _0x34d004=this['lineAt'](_0x477441,_0x17950b['ByPos'],_0xe085a4,_0x502a5e,_0x2ff34c);_0x4d61da<_0x34d004['from']&&this['left']['forEachLine'](_0x4d61da,_0x34d004['from']-0x1,_0xe085a4,_0x502a5e,_0x2ff34c,_0x2c3939),_0x34d004['to']>=_0x4d61da&&_0x34d004['from']<=_0x188442&&_0x2c3939(_0x34d004),_0x188442>_0x34d004['to']&&this['right']['forEachLine'](_0x34d004['to']+0x1,_0x188442,_0xe085a4,_0x57f1ab,_0x477441,_0x2c3939);}}['replace'](_0x5d9055,_0x37ce12,_0x31917b){let _0xdd7a4b=this['left']['length']+this['break'];if(_0x37ce12<_0xdd7a4b)return this['balanced'](this['left']['replace'](_0x5d9055,_0x37ce12,_0x31917b),this['right']);if(_0x5d9055>this['left']['length'])return this['balanced'](this['left'],this['right']['replace'](_0x5d9055-_0xdd7a4b,_0x37ce12-_0xdd7a4b,_0x31917b));let _0x43cffa=[];_0x5d9055>0x0&&this['decomposeLeft'](_0x5d9055,_0x43cffa);let _0x54da94=_0x43cffa['length'];for(let _0x1e917a of _0x31917b)_0x43cffa['push'](_0x1e917a);if(_0x5d9055>0x0&&_0x6e889f(_0x43cffa,_0x54da94-0x1),_0x37ce12<this['length']){let _0x3b8d87=_0x43cffa['length'];this['decomposeRight'](_0x37ce12,_0x43cffa),_0x6e889f(_0x43cffa,_0x3b8d87);}return HeightMap['of'](_0x43cffa);}['decomposeLeft'](_0x4f611b,_0x142324){let _0x2c7fd8=this['left']['length'];if(_0x4f611b<=_0x2c7fd8)return this['left']['decomposeLeft'](_0x4f611b,_0x142324);_0x142324['push'](this['left']),this['break']&&(_0x2c7fd8++,_0x4f611b>=_0x2c7fd8&&_0x142324['push'](null)),_0x4f611b>_0x2c7fd8&&this['right']['decomposeLeft'](_0x4f611b-_0x2c7fd8,_0x142324);}['decomposeRight'](_0x1118c7,_0x2b90ae){let _0x535e26=this['left']['length'],_0x4fdcdc=_0x535e26+this['break'];if(_0x1118c7>=_0x4fdcdc)return this['right']['decomposeRight'](_0x1118c7-_0x4fdcdc,_0x2b90ae);_0x1118c7<_0x535e26&&this['left']['decomposeRight'](_0x1118c7,_0x2b90ae),this['break']&&_0x1118c7<_0x4fdcdc&&_0x2b90ae['push'](null),_0x2b90ae['push'](this['right']);}['balanced'](_0x2e3c2a,_0x29c2f7){return _0x2e3c2a['size']>0x2*_0x29c2f7['size']||_0x29c2f7['size']>0x2*_0x2e3c2a['size']?HeightMap['of'](this['break']?[_0x2e3c2a,null,_0x29c2f7]:[_0x2e3c2a,_0x29c2f7]):(this['left']=_0x4e7a6a(this['left'],_0x2e3c2a),this['right']=_0x4e7a6a(this['right'],_0x29c2f7),this['setHeight'](_0x2e3c2a['height']+_0x29c2f7['height']),this['outdated']=_0x2e3c2a['outdated']||_0x29c2f7['outdated'],this['size']=_0x2e3c2a['size']+_0x29c2f7['size'],this['length']=_0x2e3c2a['length']+this['break']+_0x29c2f7['length'],this);}['updateHeight'](_0x39a759,_0x4c7163=0x0,_0x1bc839=!0x1,_0x46ef58){let {left:_0x2155e3,right:_0x427636}=this,_0x1b79cd=_0x4c7163+_0x2155e3['length']+this['break'],_0x40049a=null;return _0x46ef58&&_0x46ef58['from']<=_0x4c7163+_0x2155e3['length']&&_0x46ef58['more']?_0x40049a=_0x2155e3=_0x2155e3['updateHeight'](_0x39a759,_0x4c7163,_0x1bc839,_0x46ef58):_0x2155e3['updateHeight'](_0x39a759,_0x4c7163,_0x1bc839),_0x46ef58&&_0x46ef58['from']<=_0x1b79cd+_0x427636['length']&&_0x46ef58['more']?_0x40049a=_0x427636=_0x427636['updateHeight'](_0x39a759,_0x1b79cd,_0x1bc839,_0x46ef58):_0x427636['updateHeight'](_0x39a759,_0x1b79cd,_0x1bc839),_0x40049a?this['balanced'](_0x2155e3,_0x427636):(this['height']=this['left']['height']+this['right']['height'],this['outdated']=!0x1,this);}['toString'](){return this['left']+(this['break']?'\x20':'-')+this['right'];}}function _0x6e889f(_0x517573,_0x204e41){let _0x15bc23,_0x23772e;null==_0x517573[_0x204e41]&&(_0x15bc23=_0x517573[_0x204e41-0x1])instanceof HeightMapGap&&(_0x23772e=_0x517573[_0x204e41+0x1])instanceof HeightMapGap&&_0x517573['splice'](_0x204e41-0x1,0x3,new HeightMapGap(_0x15bc23['length']+0x1+_0x23772e['length']));}const relevantWidgetHeight=0x5;class _0x3e737f{constructor(_0x4d6d8c,_0x4e3011){this['pos']=_0x4d6d8c,this['oracle']=_0x4e3011,this['nodes']=[],this['lineStart']=-0x1,this['lineEnd']=-0x1,this['covering']=null,this['writtenTo']=_0x4d6d8c;}get['isCovered'](){return this['covering']&&this['nodes'][this['nodes']['length']-0x1]==this['covering'];}['span'](_0x2af89e,_0x3159d9){if(this['lineStart']>-0x1){let _0x3ffe51=Math['min'](_0x3159d9,this['lineEnd']),_0x3f2c1a=this['nodes'][this['nodes']['length']-0x1];_0x3f2c1a instanceof HeightMapText?_0x3f2c1a['length']+=_0x3ffe51-this['pos']:(_0x3ffe51>this['pos']||!this['isCovered'])&&this['nodes']['push'](new HeightMapText(_0x3ffe51-this['pos'],-0x1)),this['writtenTo']=_0x3ffe51,_0x3159d9>_0x3ffe51&&(this['nodes']['push'](null),this['writtenTo']++,this['lineStart']=-0x1);}this['pos']=_0x3159d9;}['point'](_0x256b31,_0xf63e25,_0x53dab3){if(_0x256b31<_0xf63e25||_0x53dab3['heightRelevant']){let _0x2ddaff=_0x53dab3['widget']?_0x53dab3['widget']['estimatedHeight']:0x0,_0x4513d1=_0x53dab3['widget']?_0x53dab3['widget']['lineBreaks']:0x0;_0x2ddaff<0x0&&(_0x2ddaff=this['oracle']['lineHeight']);let _0x189871=_0xf63e25-_0x256b31;_0x53dab3['block']?this['addBlock'](new HeightMapBlock(_0x189871,_0x2ddaff,_0x53dab3)):(_0x189871||_0x4513d1||_0x2ddaff>=relevantWidgetHeight)&&this['addLineDeco'](_0x2ddaff,_0x4513d1,_0x189871);}else _0xf63e25>_0x256b31&&this['span'](_0x256b31,_0xf63e25);this['lineEnd']>-0x1&&this['lineEnd']<this['pos']&&(this['lineEnd']=this['oracle']['doc']['lineAt'](this['pos'])['to']);}['enterLine'](){if(this['lineStart']>-0x1)return;let {from:_0x402745,to:_0x4a16f8}=this['oracle']['doc']['lineAt'](this['pos']);this['lineStart']=_0x402745,this['lineEnd']=_0x4a16f8,this['writtenTo']<_0x402745&&((this['writtenTo']<_0x402745-0x1||null==this['nodes'][this['nodes']['length']-0x1])&&this['nodes']['push'](this['blankContent'](this['writtenTo'],_0x402745-0x1)),this['nodes']['push'](null)),this['pos']>_0x402745&&this['nodes']['push'](new HeightMapText(this['pos']-_0x402745,-0x1)),this['writtenTo']=this['pos'];}['blankContent'](_0xcd6d7b,_0x3da858){let _0x1f6f71=new HeightMapGap(_0x3da858-_0xcd6d7b);return this['oracle']['doc']['lineAt'](_0xcd6d7b)['to']==_0x3da858&&(_0x1f6f71['flags']|=0x4),_0x1f6f71;}['ensureLine'](){this['enterLine']();let _0x1d6ba1=this['nodes']['length']?this['nodes'][this['nodes']['length']-0x1]:null;if(_0x1d6ba1 instanceof HeightMapText)return _0x1d6ba1;let _0x327478=new HeightMapText(0x0,-0x1);return this['nodes']['push'](_0x327478),_0x327478;}['addBlock'](_0x3febe6){this['enterLine']();let _0x3fd9e5=_0x3febe6['deco'];_0x3fd9e5&&_0x3fd9e5['startSide']>0x0&&!this['isCovered']&&this['ensureLine'](),this['nodes']['push'](_0x3febe6),this['writtenTo']=this['pos']=this['pos']+_0x3febe6['length'],_0x3fd9e5&&_0x3fd9e5['endSide']>0x0&&(this['covering']=_0x3febe6);}['addLineDeco'](_0x5e70ec,_0x364fa0,_0x10e9c4){let _0x527113=this['ensureLine']();_0x527113['length']+=_0x10e9c4,_0x527113['collapsed']+=_0x10e9c4,_0x527113['widgetHeight']=Math['max'](_0x527113['widgetHeight'],_0x5e70ec),_0x527113['breaks']+=_0x364fa0,this['writtenTo']=this['pos']=this['pos']+_0x10e9c4;}['finish'](_0x2f5600){let _0x551523=0x0==this['nodes']['length']?null:this['nodes'][this['nodes']['length']-0x1];!(this['lineStart']>-0x1)||_0x551523 instanceof HeightMapText||this['isCovered']?(this['writtenTo']<this['pos']||null==_0x551523)&&this['nodes']['push'](this['blankContent'](this['writtenTo'],this['pos'])):this['nodes']['push'](new HeightMapText(0x0,-0x1));let _0x4d93f2=_0x2f5600;for(let _0x2c121d of this['nodes'])_0x2c121d instanceof HeightMapText&&_0x2c121d['updateHeight'](this['oracle'],_0x4d93f2),_0x4d93f2+=_0x2c121d?_0x2c121d['length']:0x1;return this['nodes'];}static['build'](_0x30bf44,_0x369e6a,_0x1c8976,_0x1e05cc){let _0x59e13f=new _0x3e737f(_0x1c8976,_0x30bf44);return RangeSet['spans'](_0x369e6a,_0x1c8976,_0x1e05cc,_0x59e13f,0x0),_0x59e13f['finish'](_0x1c8976);}}function heightRelevantDecoChanges(_0x494b76,_0x1a6af5,_0x4b2a64){let _0x3aa42d=new DecorationComparator();return RangeSet['compare'](_0x494b76,_0x1a6af5,_0x4b2a64,_0x3aa42d,0x0),_0x3aa42d['changes'];}class DecorationComparator{constructor(){this['changes']=[];}['compareRange'](){}['comparePoint'](_0x6caaf5,_0x228fe6,_0x59d16,_0x1f2ff6){(_0x6caaf5<_0x228fe6||_0x59d16&&_0x59d16['heightRelevant']||_0x1f2ff6&&_0x1f2ff6['heightRelevant'])&&_0x193d45(_0x6caaf5,_0x228fe6,this['changes'],0x5);}}function _0x23557a(_0x19c0fb,_0x9b650a){let _0x103c1e=_0x19c0fb['getBoundingClientRect'](),_0x2024c6=_0x19c0fb['ownerDocument'],_0x278f1b=_0x2024c6['defaultView']||window,_0x5575ec=Math['max'](0x0,_0x103c1e['left']),_0x2b9c94=Math['min'](_0x278f1b['innerWidth'],_0x103c1e['right']),_0x2b9339=Math['max'](0x0,_0x103c1e['top']),_0x414164=Math['min'](_0x278f1b['innerHeight'],_0x103c1e['bottom']);for(let _0x50a3fd=_0x19c0fb['parentNode'];_0x50a3fd&&_0x50a3fd!=_0x2024c6['body'];)if(0x1==_0x50a3fd['nodeType']){let _0x51f8d0=_0x50a3fd,_0x22991a=window['getComputedStyle'](_0x51f8d0);if((_0x51f8d0['scrollHeight']>_0x51f8d0['clientHeight']||_0x51f8d0['scrollWidth']>_0x51f8d0['clientWidth'])&&'visible'!=_0x22991a['overflow']){let _0x32cd8b=_0x51f8d0['getBoundingClientRect']();_0x5575ec=Math['max'](_0x5575ec,_0x32cd8b['left']),_0x2b9c94=Math['min'](_0x2b9c94,_0x32cd8b['right']),_0x2b9339=Math['max'](_0x2b9339,_0x32cd8b['top']),_0x414164=Math['min'](_0x50a3fd==_0x19c0fb['parentNode']?_0x278f1b['innerHeight']:_0x414164,_0x32cd8b['bottom']);}_0x50a3fd='absolute'==_0x22991a['position']||'fixed'==_0x22991a['position']?_0x51f8d0['offsetParent']:_0x51f8d0['parentNode'];}else{if(0xb!=_0x50a3fd['nodeType'])break;_0x50a3fd=_0x50a3fd['host'];}return{'left':_0x5575ec-_0x103c1e['left'],'right':Math['max'](_0x5575ec,_0x2b9c94)-_0x103c1e['left'],'top':_0x2b9339-(_0x103c1e['top']+_0x9b650a),'bottom':Math['max'](_0x2b9339,_0x414164)-(_0x103c1e['top']+_0x9b650a)};}function _0x26ec04(_0x5f42fe){let _0x3471b7=_0x5f42fe['getBoundingClientRect'](),_0x22427e=_0x5f42fe['ownerDocument']['defaultView']||window;return _0x3471b7['left']<_0x22427e['innerWidth']&&_0x3471b7['right']>0x0&&_0x3471b7['top']<_0x22427e['innerHeight']&&_0x3471b7['bottom']>0x0;}function _0x4190e0(_0xa93ca,_0x1c2ba2){let _0x33efab=_0xa93ca['getBoundingClientRect']();return{'left':0x0,'right':_0x33efab['right']-_0x33efab['left'],'top':_0x1c2ba2,'bottom':_0x33efab['bottom']-(_0x33efab['top']+_0x1c2ba2)};}class _0x226f5c{constructor(_0x300dfc,_0xf27fcf,_0x3dc3c9,_0x51d010){this['from']=_0x300dfc,this['to']=_0xf27fcf,this['size']=_0x3dc3c9,this['displaySize']=_0x51d010;}static['same'](_0x4b9743,_0x129a14){if(_0x4b9743['length']!=_0x129a14['length'])return!0x1;for(let _0x210a1e=0x0;_0x210a1e<_0x4b9743['length'];_0x210a1e++){let _0x27d563=_0x4b9743[_0x210a1e],_0x1a01e7=_0x129a14[_0x210a1e];if(_0x27d563['from']!=_0x1a01e7['from']||_0x27d563['to']!=_0x1a01e7['to']||_0x27d563['size']!=_0x1a01e7['size'])return!0x1;}return!0x0;}['draw'](_0x238bcc,_0x39a884){return Decoration['replace']({'widget':new LineGapWidget(this['displaySize']*(_0x39a884?_0x238bcc['scaleY']:_0x238bcc['scaleX']),_0x39a884)})['range'](this['from'],this['to']);}}class LineGapWidget extends WidgetType{constructor(_0x2ea3aa,_0x19241f){super(),this['size']=_0x2ea3aa,this['vertical']=_0x19241f;}['eq'](_0x33f078){return _0x33f078['size']==this['size']&&_0x33f078['vertical']==this['vertical'];}['toDOM'](){let _0x77383b=document['createElement']('div');return this['vertical']?_0x77383b['style']['height']=this['size']+'px':(_0x77383b['style']['width']=this['size']+'px',_0x77383b['style']['height']='2px',_0x77383b['style']['display']='inline-block'),_0x77383b;}get['estimatedHeight'](){return this['vertical']?this['size']:-0x1;}}class ViewState{constructor(_0x34fdb5){this['state']=_0x34fdb5,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']=_0x330ea3,this['scrollTarget']=null,this['printing']=!0x1,this['mustMeasureContent']=!0x0,this['defaultTextDirection']=Direction['LTR'],this['visibleRanges']=[],this['mustEnforceCursorAssoc']=!0x1;let _0x58ad80=_0x34fdb5['facet'](contentAttributes)['some'](_0x264968=>'function'!=typeof _0x264968&&'cm-lineWrapping'==_0x264968['class']);this['heightOracle']=new HeightOracle(_0x58ad80),this['stateDeco']=_0x34fdb5['facet'](decorations)['filter'](_0x24192d=>'function'!=typeof _0x24192d),this['heightMap']=HeightMap['empty']()['applyChanges'](this['stateDeco'],Text['empty'],this['heightOracle']['setDoc'](_0x34fdb5['doc']),[new _0x3bb3f1(0x0,0x0,0x0,_0x34fdb5['doc']['length'])]);for(let _0x521c92=0x0;_0x521c92<0x2&&(this['viewport']=this['getViewport'](0x0,null),this['updateForViewport']());_0x521c92++);this['updateViewportLines'](),this['lineGaps']=this['ensureLineGaps']([]),this['lineGapDeco']=Decoration['set'](this['lineGaps']['map'](_0x3c6d69=>_0x3c6d69['draw'](this,!0x1))),this['computeVisibleRanges']();}['updateForViewport'](){let _0x41b007=[this['viewport']],{main:_0x30b68a}=this['state']['selection'];for(let _0x39c40e=0x0;_0x39c40e<=0x1;_0x39c40e++){let _0x49d65c=_0x39c40e?_0x30b68a['head']:_0x30b68a['anchor'];if(!_0x41b007['some'](({from:_0x1599ca,to:_0x478526})=>_0x49d65c>=_0x1599ca&&_0x49d65c<=_0x478526)){let {from:_0x32da8d,to:_0x55eb58}=this['lineBlockAt'](_0x49d65c);_0x41b007['push'](new Viewport(_0x32da8d,_0x55eb58));}}return this['viewports']=_0x41b007['sort']((_0x542237,_0x50f9d0)=>_0x542237['from']-_0x50f9d0['from']),this['updateScaler']();}['updateScaler'](){let _0x13f1ed=this['scaler'];return this['scaler']=this['heightMap']['height']<=0x6acfc0?_0x330ea3:new _0x5608ed(this['heightOracle'],this['heightMap'],this['viewports']),_0x13f1ed['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,_0x4b61a1=>{this['viewportLines']['push'](_0x586335(_0x4b61a1,this['scaler']));});}['update'](_0x184f44,_0x2dff83=null){this['state']=_0x184f44['state'];let _0x4196e1=this['stateDeco'];this['stateDeco']=this['state']['facet'](decorations)['filter'](_0x5b6e34=>'function'!=typeof _0x5b6e34);let _0x5f2a54=_0x184f44['changedRanges'],_0x35b39b=_0x3bb3f1['extendWithRanges'](_0x5f2a54,heightRelevantDecoChanges(_0x4196e1,this['stateDeco'],_0x184f44?_0x184f44['changes']:ChangeSet['empty'](this['state']['doc']['length']))),_0x4b6c4d=this['heightMap']['height'],_0x52ec66=this['scrolledToBottom']?null:this['scrollAnchorAt'](this['scrollTop']);clearHeightChangeFlag(),this['heightMap']=this['heightMap']['applyChanges'](this['stateDeco'],_0x184f44['startState']['doc'],this['heightOracle']['setDoc'](this['state']['doc']),_0x35b39b),(this['heightMap']['height']!=_0x4b6c4d||heightChangeFlag)&&(_0x184f44['flags']|=0x2),_0x52ec66?(this['scrollAnchorPos']=_0x184f44['changes']['mapPos'](_0x52ec66['from'],-0x1),this['scrollAnchorHeight']=_0x52ec66['top']):(this['scrollAnchorPos']=-0x1,this['scrollAnchorHeight']=_0x4b6c4d);let _0x4dabce=_0x35b39b['length']?this['mapViewport'](this['viewport'],_0x184f44['changes']):this['viewport'];(_0x2dff83&&(_0x2dff83['range']['head']<_0x4dabce['from']||_0x2dff83['range']['head']>_0x4dabce['to'])||!this['viewportIsAppropriate'](_0x4dabce))&&(_0x4dabce=this['getViewport'](0x0,_0x2dff83));let _0x276d5d=_0x4dabce['from']!=this['viewport']['from']||_0x4dabce['to']!=this['viewport']['to'];this['viewport']=_0x4dabce,_0x184f44['flags']|=this['updateForViewport'](),(_0x276d5d||!_0x184f44['changes']['empty']||0x2&_0x184f44['flags'])&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](this['mapLineGaps'](this['lineGaps'],_0x184f44['changes']))),_0x184f44['flags']|=this['computeVisibleRanges'](_0x184f44['changes']),_0x2dff83&&(this['scrollTarget']=_0x2dff83),!this['mustEnforceCursorAssoc']&&_0x184f44['selectionSet']&&_0x184f44['view']['lineWrapping']&&_0x184f44['state']['selection']['main']['empty']&&_0x184f44['state']['selection']['main']['assoc']&&!_0x184f44['state']['facet'](nativeSelectionHidden)&&(this['mustEnforceCursorAssoc']=!0x0);}['measure'](_0x1039b7){let _0x13bbca=_0x1039b7['contentDOM'],_0x5c890c=window['getComputedStyle'](_0x13bbca),_0x4d8bd0=this['heightOracle'],_0x1d242a=_0x5c890c['whiteSpace'];this['defaultTextDirection']='rtl'==_0x5c890c['direction']?Direction['RTL']:Direction['LTR'];let _0x4a364e=this['heightOracle']['mustRefreshForWrapping'](_0x1d242a),_0x4a00c7=_0x13bbca['getBoundingClientRect'](),_0x512b6c=_0x4a364e||this['mustMeasureContent']||this['contentDOMHeight']!=_0x4a00c7['height'];this['contentDOMHeight']=_0x4a00c7['height'],this['mustMeasureContent']=!0x1;let _0x259635=0x0,_0x584f13=0x0;if(_0x4a00c7['width']&&_0x4a00c7['height']){let {scaleX:_0x39dbca,scaleY:_0x577dad}=getScale(_0x13bbca,_0x4a00c7);(_0x39dbca>0.005&&Math['abs'](this['scaleX']-_0x39dbca)>0.005||_0x577dad>0.005&&Math['abs'](this['scaleY']-_0x577dad)>0.005)&&(this['scaleX']=_0x39dbca,this['scaleY']=_0x577dad,_0x259635|=0x10,_0x4a364e=_0x512b6c=!0x0);}let _0x221bb2=(parseInt(_0x5c890c['paddingTop'])||0x0)*this['scaleY'],_0x18eadc=(parseInt(_0x5c890c['paddingBottom'])||0x0)*this['scaleY'];this['paddingTop']==_0x221bb2&&this['paddingBottom']==_0x18eadc||(this['paddingTop']=_0x221bb2,this['paddingBottom']=_0x18eadc,_0x259635|=0x12),this['editorWidth']!=_0x1039b7['scrollDOM']['clientWidth']&&(_0x4d8bd0['lineWrapping']&&(_0x512b6c=!0x0),this['editorWidth']=_0x1039b7['scrollDOM']['clientWidth'],_0x259635|=0x10);let _0x554184=_0x1039b7['scrollDOM']['scrollTop']*this['scaleY'];this['scrollTop']!=_0x554184&&(this['scrollAnchorHeight']=-0x1,this['scrollTop']=_0x554184),this['scrolledToBottom']=isScrolledToBottom(_0x1039b7['scrollDOM']);let _0x2f4744=(this['printing']?_0x4190e0:_0x23557a)(_0x13bbca,this['paddingTop']),_0x396f79=_0x2f4744['top']-this['pixelViewport']['top'],_0xf187ee=_0x2f4744['bottom']-this['pixelViewport']['bottom'];this['pixelViewport']=_0x2f4744;let _0x5d58f2=this['pixelViewport']['bottom']>this['pixelViewport']['top']&&this['pixelViewport']['right']>this['pixelViewport']['left'];if(_0x5d58f2!=this['inView']&&(this['inView']=_0x5d58f2,_0x5d58f2&&(_0x512b6c=!0x0)),!this['inView']&&!this['scrollTarget']&&!_0x26ec04(_0x1039b7['dom']))return 0x0;let _0x497f2a=_0x4a00c7['width'];if(this['contentDOMWidth']==_0x497f2a&&this['editorHeight']==_0x1039b7['scrollDOM']['clientHeight']||(this['contentDOMWidth']=_0x4a00c7['width'],this['editorHeight']=_0x1039b7['scrollDOM']['clientHeight'],_0x259635|=0x10),_0x512b6c){let _0x355231=_0x1039b7['docView']['measureVisibleLineHeights'](this['viewport']);if(_0x4d8bd0['mustRefreshForHeights'](_0x355231)&&(_0x4a364e=!0x0),_0x4a364e||_0x4d8bd0['lineWrapping']&&Math['abs'](_0x497f2a-this['contentDOMWidth'])>_0x4d8bd0['charWidth']){let {lineHeight:_0x25a20a,charWidth:_0x273e1e,textHeight:_0xe367b0}=_0x1039b7['docView']['measureTextSize']();_0x4a364e=_0x25a20a>0x0&&_0x4d8bd0['refresh'](_0x1d242a,_0x25a20a,_0x273e1e,_0xe367b0,Math['max'](0x5,_0x497f2a/_0x273e1e),_0x355231),_0x4a364e&&(_0x1039b7['docView']['minWidth']=0x0,_0x259635|=0x10);}_0x396f79>0x0&&_0xf187ee>0x0?_0x584f13=Math['max'](_0x396f79,_0xf187ee):_0x396f79<0x0&&_0xf187ee<0x0&&(_0x584f13=Math['min'](_0x396f79,_0xf187ee)),clearHeightChangeFlag();for(let _0x2c9fdb of this['viewports']){let _0x1fd8c6=_0x2c9fdb['from']==this['viewport']['from']?_0x355231:_0x1039b7['docView']['measureVisibleLineHeights'](_0x2c9fdb);this['heightMap']=(_0x4a364e?HeightMap['empty']()['applyChanges'](this['stateDeco'],Text['empty'],this['heightOracle'],[new _0x3bb3f1(0x0,0x0,0x0,_0x1039b7['state']['doc']['length'])]):this['heightMap'])['updateHeight'](_0x4d8bd0,0x0,_0x4a364e,new MeasuredHeights(_0x2c9fdb['from'],_0x1fd8c6));}heightChangeFlag&&(_0x259635|=0x2);}let _0x41b7d2=!this['viewportIsAppropriate'](this['viewport'],_0x584f13)||this['scrollTarget']&&(this['scrollTarget']['range']['head']<this['viewport']['from']||this['scrollTarget']['range']['head']>this['viewport']['to']);return _0x41b7d2&&(0x2&_0x259635&&(_0x259635|=this['updateScaler']()),this['viewport']=this['getViewport'](_0x584f13,this['scrollTarget']),_0x259635|=this['updateForViewport']()),(0x2&_0x259635||_0x41b7d2)&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](_0x4a364e?[]:this['lineGaps'],_0x1039b7)),_0x259635|=this['computeVisibleRanges'](),this['mustEnforceCursorAssoc']&&(this['mustEnforceCursorAssoc']=!0x1,_0x1039b7['docView']['enforceCursorAssoc']()),_0x259635;}get['visibleTop'](){return this['scaler']['fromDOM'](this['pixelViewport']['top']);}get['visibleBottom'](){return this['scaler']['fromDOM'](this['pixelViewport']['bottom']);}['getViewport'](_0x261281,_0x426255){let _0x2a13c6=0.5-Math['max'](-0.5,Math['min'](0.5,_0x261281/0x3e8/0x2)),_0x42a3b0=this['heightMap'],_0xd12134=this['heightOracle'],{visibleTop:_0xddd7,visibleBottom:_0x29acd2}=this,_0x128bea=new Viewport(_0x42a3b0['lineAt'](_0xddd7-0x3e8*_0x2a13c6,_0x17950b['ByHeight'],_0xd12134,0x0,0x0)['from'],_0x42a3b0['lineAt'](_0x29acd2+0x3e8*(0x1-_0x2a13c6),_0x17950b['ByHeight'],_0xd12134,0x0,0x0)['to']);if(_0x426255){let {head:_0x1a341f}=_0x426255['range'];if(_0x1a341f<_0x128bea['from']||_0x1a341f>_0x128bea['to']){let _0xb7111f,_0x11cc6f=Math['min'](this['editorHeight'],this['pixelViewport']['bottom']-this['pixelViewport']['top']),_0x168f67=_0x42a3b0['lineAt'](_0x1a341f,_0x17950b['ByPos'],_0xd12134,0x0,0x0);_0xb7111f='center'==_0x426255['y']?(_0x168f67['top']+_0x168f67['bottom'])/0x2-_0x11cc6f/0x2:'start'==_0x426255['y']||'nearest'==_0x426255['y']&&_0x1a341f<_0x128bea['from']?_0x168f67['top']:_0x168f67['bottom']-_0x11cc6f,_0x128bea=new Viewport(_0x42a3b0['lineAt'](_0xb7111f-0x1f4,_0x17950b['ByHeight'],_0xd12134,0x0,0x0)['from'],_0x42a3b0['lineAt'](_0xb7111f+_0x11cc6f+0x1f4,_0x17950b['ByHeight'],_0xd12134,0x0,0x0)['to']);}}return _0x128bea;}['mapViewport'](_0x1953af,_0x1108eb){let _0x27b660=_0x1108eb['mapPos'](_0x1953af['from'],-0x1),_0x53e00b=_0x1108eb['mapPos'](_0x1953af['to'],0x1);return new Viewport(this['heightMap']['lineAt'](_0x27b660,_0x17950b['ByPos'],this['heightOracle'],0x0,0x0)['from'],this['heightMap']['lineAt'](_0x53e00b,_0x17950b['ByPos'],this['heightOracle'],0x0,0x0)['to']);}['viewportIsAppropriate']({from:_0x4166d0,to:_0x1a7630},_0x29b414=0x0){if(!this['inView'])return!0x0;let {top:_0x5a66a4}=this['heightMap']['lineAt'](_0x4166d0,_0x17950b['ByPos'],this['heightOracle'],0x0,0x0),{bottom:_0x43f565}=this['heightMap']['lineAt'](_0x1a7630,_0x17950b['ByPos'],this['heightOracle'],0x0,0x0),{visibleTop:_0x2caa40,visibleBottom:_0x24f6b7}=this;return(0x0==_0x4166d0||_0x5a66a4<=_0x2caa40-Math['max'](0xa,Math['min'](-_0x29b414,0xfa)))&&(_0x1a7630==this['state']['doc']['length']||_0x43f565>=_0x24f6b7+Math['max'](0xa,Math['min'](_0x29b414,0xfa)))&&_0x5a66a4>_0x2caa40-0x7d0&&_0x43f565<_0x24f6b7+0x7d0;}['mapLineGaps'](_0x386310,_0x3eee56){if(!_0x386310['length']||_0x3eee56['empty'])return _0x386310;let _0x3096ce=[];for(let _0x1cce2d of _0x386310)_0x3eee56['touchesRange'](_0x1cce2d['from'],_0x1cce2d['to'])||_0x3096ce['push'](new _0x226f5c(_0x3eee56['mapPos'](_0x1cce2d['from']),_0x3eee56['mapPos'](_0x1cce2d['to']),_0x1cce2d['size'],_0x1cce2d['displaySize']));return _0x3096ce;}['ensureLineGaps'](_0x4a6d6d,_0x35d37f){let _0x5defe5=this['heightOracle']['lineWrapping'],_0x2eb5d2=_0x5defe5?0x2710:0x7d0,_0x432bbe=_0x2eb5d2>>0x1,_0x32578a=_0x2eb5d2<<0x1;if(this['defaultTextDirection']!=Direction['LTR']&&!_0x5defe5)return[];let _0x311d44=[],_0x1197f2=(_0x5740bb,_0x31982a,_0x1c995c,_0x6aa94)=>{if(_0x31982a-_0x5740bb<_0x432bbe)return;let _0xfaa45f=this['state']['selection']['main'],_0x47801c=[_0xfaa45f['from']];_0xfaa45f['empty']||_0x47801c['push'](_0xfaa45f['to']);for(let _0x503b82 of _0x47801c)if(_0x503b82>_0x5740bb&&_0x503b82<_0x31982a)return _0x1197f2(_0x5740bb,_0x503b82-0xa,_0x1c995c,_0x6aa94),void _0x1197f2(_0x503b82+0xa,_0x31982a,_0x1c995c,_0x6aa94);let _0x3d67ce=_0xcb054(_0x4a6d6d,_0x2cad97=>_0x2cad97['from']>=_0x1c995c['from']&&_0x2cad97['to']<=_0x1c995c['to']&&Math['abs'](_0x2cad97['from']-_0x5740bb)<_0x432bbe&&Math['abs'](_0x2cad97['to']-_0x31982a)<_0x432bbe&&!_0x47801c['some'](_0x1ee0eb=>_0x2cad97['from']<_0x1ee0eb&&_0x2cad97['to']>_0x1ee0eb));if(!_0x3d67ce){if(_0x31982a<_0x1c995c['to']&&_0x35d37f&&_0x5defe5&&_0x35d37f['visibleRanges']['some'](_0x9e1289=>_0x9e1289['from']<=_0x31982a&&_0x9e1289['to']>=_0x31982a)){let _0x3b6f71=_0x35d37f['moveToLineBoundary'](EditorSelection['cursor'](_0x31982a),!0x1,!0x0)['head'];_0x3b6f71>_0x5740bb&&(_0x31982a=_0x3b6f71);}let _0x78e773=this['gapSize'](_0x1c995c,_0x5740bb,_0x31982a,_0x6aa94);_0x3d67ce=new _0x226f5c(_0x5740bb,_0x31982a,_0x78e773,_0x5defe5||_0x78e773<0x1e8480?_0x78e773:0x1e8480);}_0x311d44['push'](_0x3d67ce);},_0x39673a=_0x4c1fcd=>{if(_0x4c1fcd['length']<_0x32578a||_0x4c1fcd['type']!=_0x491905['Text'])return;let _0xa09795=lineStructure(_0x4c1fcd['from'],_0x4c1fcd['to'],this['stateDeco']);if(_0xa09795['total']<_0x32578a)return;let _0x36550c,_0x2a12ad,_0x355c0a=this['scrollTarget']?this['scrollTarget']['range']['head']:null;if(_0x5defe5){let _0x5d6dab,_0x5f05df,_0x55d4e5=_0x2eb5d2/this['heightOracle']['lineLength']*this['heightOracle']['lineHeight'];if(null!=_0x355c0a){let _0x44e27a=findFraction(_0xa09795,_0x355c0a),_0x5182fe=((this['visibleBottom']-this['visibleTop'])/0x2+_0x55d4e5)/_0x4c1fcd['height'];_0x5d6dab=_0x44e27a-_0x5182fe,_0x5f05df=_0x44e27a+_0x5182fe;}else _0x5d6dab=(this['visibleTop']-_0x4c1fcd['top']-_0x55d4e5)/_0x4c1fcd['height'],_0x5f05df=(this['visibleBottom']-_0x4c1fcd['top']+_0x55d4e5)/_0x4c1fcd['height'];_0x36550c=findPosition(_0xa09795,_0x5d6dab),_0x2a12ad=findPosition(_0xa09795,_0x5f05df);}else{let _0x5d49ee=_0xa09795['total']*this['heightOracle']['charWidth'],_0x477af4=_0x2eb5d2*this['heightOracle']['charWidth'],_0x59e46f=0x0;if(_0x5d49ee>0x1e8480){for(let _0x46f562 of _0x4a6d6d)_0x46f562['from']>=_0x4c1fcd['from']&&_0x46f562['from']<_0x4c1fcd['to']&&_0x46f562['size']!=_0x46f562['displaySize']&&_0x46f562['from']*this['heightOracle']['charWidth']+_0x59e46f<this['pixelViewport']['left']&&(_0x59e46f=_0x46f562['size']-_0x46f562['displaySize']);}let _0x5e3168,_0x5d0e9a,_0x4cdd7f=this['pixelViewport']['left']+_0x59e46f,_0x5bc706=this['pixelViewport']['right']+_0x59e46f;if(null!=_0x355c0a){let _0xa3251e=findFraction(_0xa09795,_0x355c0a),_0x57bb0f=((_0x5bc706-_0x4cdd7f)/0x2+_0x477af4)/_0x5d49ee;_0x5e3168=_0xa3251e-_0x57bb0f,_0x5d0e9a=_0xa3251e+_0x57bb0f;}else _0x5e3168=(_0x4cdd7f-_0x477af4)/_0x5d49ee,_0x5d0e9a=(_0x5bc706+_0x477af4)/_0x5d49ee;_0x36550c=findPosition(_0xa09795,_0x5e3168),_0x2a12ad=findPosition(_0xa09795,_0x5d0e9a);}_0x36550c>_0x4c1fcd['from']&&_0x1197f2(_0x4c1fcd['from'],_0x36550c,_0x4c1fcd,_0xa09795),_0x2a12ad<_0x4c1fcd['to']&&_0x1197f2(_0x2a12ad,_0x4c1fcd['to'],_0x4c1fcd,_0xa09795);};for(let _0x180ed3 of this['viewportLines'])Array['isArray'](_0x180ed3['type'])?_0x180ed3['type']['forEach'](_0x39673a):_0x39673a(_0x180ed3);return _0x311d44;}['gapSize'](_0x5c047d,_0x1d1e43,_0x5c5f4c,_0x490d52){let _0x454bb9=findFraction(_0x490d52,_0x5c5f4c)-findFraction(_0x490d52,_0x1d1e43);return this['heightOracle']['lineWrapping']?_0x5c047d['height']*_0x454bb9:_0x490d52['total']*this['heightOracle']['charWidth']*_0x454bb9;}['updateLineGaps'](_0xc09d6f){_0x226f5c['same'](_0xc09d6f,this['lineGaps'])||(this['lineGaps']=_0xc09d6f,this['lineGapDeco']=Decoration['set'](_0xc09d6f['map'](_0x3806a4=>_0x3806a4['draw'](this,this['heightOracle']['lineWrapping']))));}['computeVisibleRanges'](_0xebebdf){let _0x34ea6d=this['stateDeco'];this['lineGaps']['length']&&(_0x34ea6d=_0x34ea6d['concat'](this['lineGapDeco']));let _0x2c3b3c=[];RangeSet['spans'](_0x34ea6d,this['viewport']['from'],this['viewport']['to'],{'span'(_0x59e2b6,_0x402804){_0x2c3b3c['push']({'from':_0x59e2b6,'to':_0x402804});},'point'(){}},0x14);let _0x351c2e=0x0;if(_0x2c3b3c['length']!=this['visibleRanges']['length'])_0x351c2e=0xc;else for(let _0xd023c3=0x0;_0xd023c3<_0x2c3b3c['length']&&!(0x8&_0x351c2e);_0xd023c3++){let _0x117870=this['visibleRanges'][_0xd023c3],_0x15a050=_0x2c3b3c[_0xd023c3];_0x117870['from']==_0x15a050['from']&&_0x117870['to']==_0x15a050['to']||(_0x351c2e|=0x4,_0xebebdf&&_0xebebdf['mapPos'](_0x117870['from'],-0x1)==_0x15a050['from']&&_0xebebdf['mapPos'](_0x117870['to'],0x1)==_0x15a050['to']||(_0x351c2e|=0x8));}return this['visibleRanges']=_0x2c3b3c,_0x351c2e;}['lineBlockAt'](_0x3e8ab7){return _0x3e8ab7>=this['viewport']['from']&&_0x3e8ab7<=this['viewport']['to']&&this['viewportLines']['find'](_0x1a8647=>_0x1a8647['from']<=_0x3e8ab7&&_0x1a8647['to']>=_0x3e8ab7)||_0x586335(this['heightMap']['lineAt'](_0x3e8ab7,_0x17950b['ByPos'],this['heightOracle'],0x0,0x0),this['scaler']);}['lineBlockAtHeight'](_0x3460d7){return _0x3460d7>=this['viewportLines'][0x0]['top']&&_0x3460d7<=this['viewportLines'][this['viewportLines']['length']-0x1]['bottom']&&this['viewportLines']['find'](_0x5f4fa7=>_0x5f4fa7['top']<=_0x3460d7&&_0x5f4fa7['bottom']>=_0x3460d7)||_0x586335(this['heightMap']['lineAt'](this['scaler']['fromDOM'](_0x3460d7),_0x17950b['ByHeight'],this['heightOracle'],0x0,0x0),this['scaler']);}['scrollAnchorAt'](_0x3f4a31){let _0x4b0998=this['lineBlockAtHeight'](_0x3f4a31+0x8);return _0x4b0998['from']>=this['viewport']['from']||this['viewportLines'][0x0]['top']-_0x3f4a31>0xc8?_0x4b0998:this['viewportLines'][0x0];}['elementAtHeight'](_0x970d1c){return _0x586335(this['heightMap']['blockAt'](this['scaler']['fromDOM'](_0x970d1c),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(_0x31762f,_0x3afb0c){this['from']=_0x31762f,this['to']=_0x3afb0c;}}function lineStructure(_0x296128,_0x3d6463,_0x4505fd){let _0x3eb439=[],_0x4e4d66=_0x296128,_0x3e17a0=0x0;return RangeSet['spans'](_0x4505fd,_0x296128,_0x3d6463,{'span'(){},'point'(_0x153ef0,_0x78c92b){_0x153ef0>_0x4e4d66&&(_0x3eb439['push']({'from':_0x4e4d66,'to':_0x153ef0}),_0x3e17a0+=_0x153ef0-_0x4e4d66),_0x4e4d66=_0x78c92b;}},0x14),_0x4e4d66<_0x3d6463&&(_0x3eb439['push']({'from':_0x4e4d66,'to':_0x3d6463}),_0x3e17a0+=_0x3d6463-_0x4e4d66),{'total':_0x3e17a0,'ranges':_0x3eb439};}function findPosition({total:_0x30888a,ranges:_0x3fcb6e},_0x3f8eec){if(_0x3f8eec<=0x0)return _0x3fcb6e[0x0]['from'];if(_0x3f8eec>=0x1)return _0x3fcb6e[_0x3fcb6e['length']-0x1]['to'];let _0x7efe2c=Math['floor'](_0x30888a*_0x3f8eec);for(let _0x595703=0x0;;_0x595703++){let {from:_0x1b02ae,to:_0x38019d}=_0x3fcb6e[_0x595703],_0x2ae448=_0x38019d-_0x1b02ae;if(_0x7efe2c<=_0x2ae448)return _0x1b02ae+_0x7efe2c;_0x7efe2c-=_0x2ae448;}}function findFraction(_0x563e03,_0x5a7aab){let _0x590144=0x0;for(let {from:_0x1d138d,to:_0x3f45ec}of _0x563e03['ranges']){if(_0x5a7aab<=_0x3f45ec){_0x590144+=_0x5a7aab-_0x1d138d;break;}_0x590144+=_0x3f45ec-_0x1d138d;}return _0x590144/_0x563e03['total'];}function _0xcb054(_0x1c057d,_0x5bb433){for(let _0x35f910 of _0x1c057d)if(_0x5bb433(_0x35f910))return _0x35f910;}const _0x330ea3={'toDOM':_0x315073=>_0x315073,'fromDOM':_0x1813ba=>_0x1813ba,'scale':0x1,'eq'(_0x70e821){return _0x70e821==this;}};class _0x5608ed{constructor(_0x18b11c,_0x265d7d,_0x541b9d){let _0x1a09d7=0x0,_0x260231=0x0,_0x3f9ca5=0x0;this['viewports']=_0x541b9d['map'](({from:_0x8491a9,to:_0x12adcf})=>{let _0x4d903e=_0x265d7d['lineAt'](_0x8491a9,_0x17950b['ByPos'],_0x18b11c,0x0,0x0)['top'],_0x3bfb75=_0x265d7d['lineAt'](_0x12adcf,_0x17950b['ByPos'],_0x18b11c,0x0,0x0)['bottom'];return _0x1a09d7+=_0x3bfb75-_0x4d903e,{'from':_0x8491a9,'to':_0x12adcf,'top':_0x4d903e,'bottom':_0x3bfb75,'domTop':0x0,'domBottom':0x0};}),this['scale']=(0x6acfc0-_0x1a09d7)/(_0x265d7d['height']-_0x1a09d7);for(let _0x3e4533 of this['viewports'])_0x3e4533['domTop']=_0x3f9ca5+(_0x3e4533['top']-_0x260231)*this['scale'],_0x3f9ca5=_0x3e4533['domBottom']=_0x3e4533['domTop']+(_0x3e4533['bottom']-_0x3e4533['top']),_0x260231=_0x3e4533['bottom'];}['toDOM'](_0x2267a2){for(let _0x2d2c30=0x0,_0x16a0b2=0x0,_0x1c457f=0x0;;_0x2d2c30++){let _0x3040ea=_0x2d2c30<this['viewports']['length']?this['viewports'][_0x2d2c30]:null;if(!_0x3040ea||_0x2267a2<_0x3040ea['top'])return _0x1c457f+(_0x2267a2-_0x16a0b2)*this['scale'];if(_0x2267a2<=_0x3040ea['bottom'])return _0x3040ea['domTop']+(_0x2267a2-_0x3040ea['top']);_0x16a0b2=_0x3040ea['bottom'],_0x1c457f=_0x3040ea['domBottom'];}}['fromDOM'](_0x1de3cf){for(let _0x4b72f5=0x0,_0x124683=0x0,_0x21b229=0x0;;_0x4b72f5++){let _0x481f2c=_0x4b72f5<this['viewports']['length']?this['viewports'][_0x4b72f5]:null;if(!_0x481f2c||_0x1de3cf<_0x481f2c['domTop'])return _0x124683+(_0x1de3cf-_0x21b229)/this['scale'];if(_0x1de3cf<=_0x481f2c['domBottom'])return _0x481f2c['top']+(_0x1de3cf-_0x481f2c['domTop']);_0x124683=_0x481f2c['bottom'],_0x21b229=_0x481f2c['domBottom'];}}['eq'](_0x1cf12e){return _0x1cf12e instanceof _0x5608ed&&(this['scale']==_0x1cf12e['scale']&&this['viewports']['length']==_0x1cf12e['viewports']['length']&&this['viewports']['every']((_0x4bb33e,_0x283f0f)=>_0x4bb33e['from']==_0x1cf12e['viewports'][_0x283f0f]['from']&&_0x4bb33e['to']==_0x1cf12e['viewports'][_0x283f0f]['to']));}}function _0x586335(_0x5f2569,_0x41a571){if(0x1==_0x41a571['scale'])return _0x5f2569;let _0x12215d=_0x41a571['toDOM'](_0x5f2569['top']),_0x1cdb02=_0x41a571['toDOM'](_0x5f2569['bottom']);return new _0x5ef968(_0x5f2569['from'],_0x5f2569['length'],_0x12215d,_0x1cdb02-_0x12215d,Array['isArray'](_0x5f2569['_content'])?_0x5f2569['_content']['map'](_0x229524=>_0x586335(_0x229524,_0x41a571)):_0x5f2569['_content']);}const theme=Facet['define']({'combine':_0x3e745c=>_0x3e745c['join']('\x20')}),_0x47fd9e=Facet['define']({'combine':_0x5a9dbb=>_0x5a9dbb['indexOf'](!0x0)>-0x1}),_0x1c85fa=StyleModule['newName'](),baseLightID=StyleModule['newName'](),_0xc6e0d2=StyleModule['newName'](),lightDarkIDs={'&light':'.'+baseLightID,'&dark':'.'+_0xc6e0d2};function _0x3ef8ed(_0xcecd2d,_0x5e5b5a,_0x4879ef){return new StyleModule(_0x5e5b5a,{'finish':_0x5b7dd4=>/&/['test'](_0x5b7dd4)?_0x5b7dd4['replace'](/&\w*/,_0x3c083f=>{if('&'==_0x3c083f)return _0xcecd2d;if(!_0x4879ef||!_0x4879ef[_0x3c083f])throw new RangeError('Unsupported\x20selector:\x20'+_0x3c083f);return _0x4879ef[_0x3c083f];}):_0xcecd2d+'\x20'+_0x5b7dd4});}const _0x2c3ab0=_0x3ef8ed('.'+_0x1c85fa,{'&':{'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=_0x484137['ie']&&_0x484137['ie_version']<=0xb;class _0x23a2eb{constructor(_0x228098){this['view']=_0x228098,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']=_0x228098['contentDOM'],this['observer']=new MutationObserver(_0x45c5b2=>{for(let _0x3d07b6 of _0x45c5b2)this['queue']['push'](_0x3d07b6);(_0x484137['ie']&&_0x484137['ie_version']<=0xb||_0x484137['ios']&&_0x228098['composing'])&&_0x45c5b2['some'](_0x4ce859=>'childList'==_0x4ce859['type']&&_0x4ce859['removedNodes']['length']||'characterData'==_0x4ce859['type']&&_0x4ce859['oldValue']['length']>_0x4ce859['target']['nodeValue']['length'])?this['flushSoon']():this['flush']();}),!window['EditContext']||!_0x484137['android']||!0x1===_0x228098['constructor']['EDIT_CONTEXT']||_0x484137['chrome']&&_0x484137['chrome_version']<0x7e||(this['editContext']=new EditContextManager(_0x228098),_0x228098['state']['facet'](editable)&&(_0x228098['contentDOM']['editContext']=this['editContext']['editContext'])),useCharData&&(this['onCharData']=_0x11efe2=>{this['queue']['push']({'target':_0x11efe2['target'],'type':'characterData','oldValue':_0x11efe2['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 _0x471074;(null===(_0x471074=this['view']['docView'])||void 0x0===_0x471074?void 0x0:_0x471074['lastUpdate'])<Date['now']()-0x4b&&this['onResize']();}),this['resizeScroll']['observe'](_0x228098['scrollDOM'])),this['addWindowListeners'](this['win']=_0x228098['win']),this['start'](),'function'==typeof IntersectionObserver&&(this['intersection']=new IntersectionObserver(_0x582e83=>{this['parentCheck']<0x0&&(this['parentCheck']=setTimeout(this['listenForScroll']['bind'](this),0x3e8)),_0x582e83['length']>0x0&&_0x582e83[_0x582e83['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(_0x5bfdba=>{_0x5bfdba['length']>0x0&&_0x5bfdba[_0x5bfdba['length']-0x1]['intersectionRatio']>0x0&&this['onScrollChanged'](document['createEvent']('Event'));},{})),this['listenForScroll'](),this['readSelectionRange']();}['onScrollChanged'](_0x416acb){this['view']['inputState']['runHandlers']('scroll',_0x416acb),this['intersecting']&&this['view']['measure']();}['onScroll'](_0x18445c){this['intersecting']&&this['flush'](!0x1),this['editContext']&&this['view']['requestMeasure'](this['editContext']['measureReq']),this['onScrollChanged'](_0x18445c);}['onResize'](){this['resizeTimeout']<0x0&&(this['resizeTimeout']=setTimeout(()=>{this['resizeTimeout']=-0x1,this['view']['requestMeasure']();},0x32));}['onPrint'](_0x2a30de){('change'!=_0x2a30de['type']&&_0x2a30de['type']||_0x2a30de['matches'])&&(this['view']['viewState']['printing']=!0x0,this['view']['measure'](),setTimeout(()=>{this['view']['viewState']['printing']=!0x1,this['view']['requestMeasure']();},0x1f4));}['updateGaps'](_0x28149b){if(this['gapIntersection']&&(_0x28149b['length']!=this['gaps']['length']||this['gaps']['some']((_0x3f4a2e,_0x3ac297)=>_0x3f4a2e!=_0x28149b[_0x3ac297]))){this['gapIntersection']['disconnect']();for(let _0xe233ff of _0x28149b)this['gapIntersection']['observe'](_0xe233ff);this['gaps']=_0x28149b;}}['onSelectionChange'](_0x2f58b5){let _0x572246=this['selectionChanged'];if(!this['readSelectionRange']()||this['delayedAndroidKey'])return;let {view:_0x4e478c}=this,_0x3474df=this['selectionRange'];if(_0x4e478c['state']['facet'](editable)?_0x4e478c['root']['activeElement']!=this['dom']:!hasSelection(this['dom'],_0x3474df))return;let _0x1a3d8e=_0x3474df['anchorNode']&&_0x4e478c['docView']['nearest'](_0x3474df['anchorNode']);_0x1a3d8e&&_0x1a3d8e['ignoreEvent'](_0x2f58b5)?_0x572246||(this['selectionChanged']=!0x1):(_0x484137['ie']&&_0x484137['ie_version']<=0xb||_0x484137['android']&&_0x484137['chrome'])&&!_0x4e478c['state']['selection']['main']['empty']&&_0x3474df['focusNode']&&isEquivalentPosition(_0x3474df['focusNode'],_0x3474df['focusOffset'],_0x3474df['anchorNode'],_0x3474df['anchorOffset'])?this['flushSoon']():this['flush'](!0x1);}['readSelectionRange'](){let {view:_0x22351d}=this,_0x58c012=getSelection(_0x22351d['root']);if(!_0x58c012)return!0x1;let _0x33d66d=_0x484137['safari']&&0xb==_0x22351d['root']['nodeType']&&_0x22351d['root']['activeElement']==this['dom']&&safariSelectionRangeHack(this['view'],_0x58c012)||_0x58c012;if(!_0x33d66d||this['selectionRange']['eq'](_0x33d66d))return!0x1;let _0x8ed794=hasSelection(this['dom'],_0x33d66d);return _0x8ed794&&!this['selectionChanged']&&_0x22351d['inputState']['lastFocusTime']>Date['now']()-0xc8&&_0x22351d['inputState']['lastTouchTime']<Date['now']()-0x12c&&atElementStart(this['dom'],_0x33d66d)?(this['view']['inputState']['lastFocusTime']=0x0,_0x22351d['docView']['updateSelection'](),!0x1):(this['selectionRange']['setRange'](_0x33d66d),_0x8ed794&&(this['selectionChanged']=!0x0),!0x0);}['setSelectionRange'](_0x114af3,_0x4c1220){this['selectionRange']['set'](_0x114af3['node'],_0x114af3['offset'],_0x4c1220['node'],_0x4c1220['offset']),this['selectionChanged']=!0x1;}['clearSelectionRange'](){this['selectionRange']['set'](null,0x0,null,0x0);}['listenForScroll'](){this['parentCheck']=-0x1;let _0xf08afb=0x0,_0x394e40=null;for(let _0x3749b7=this['dom'];_0x3749b7;)if(0x1==_0x3749b7['nodeType'])!_0x394e40&&_0xf08afb<this['scrollTargets']['length']&&this['scrollTargets'][_0xf08afb]==_0x3749b7?_0xf08afb++:_0x394e40||(_0x394e40=this['scrollTargets']['slice'](0x0,_0xf08afb)),_0x394e40&&_0x394e40['push'](_0x3749b7),_0x3749b7=_0x3749b7['assignedSlot']||_0x3749b7['parentNode'];else{if(0xb!=_0x3749b7['nodeType'])break;_0x3749b7=_0x3749b7['host'];}if(_0xf08afb<this['scrollTargets']['length']&&!_0x394e40&&(_0x394e40=this['scrollTargets']['slice'](0x0,_0xf08afb)),_0x394e40){for(let _0x113cb5 of this['scrollTargets'])_0x113cb5['removeEventListener']('scroll',this['onScroll']);for(let _0x47544f of this['scrollTargets']=_0x394e40)_0x47544f['addEventListener']('scroll',this['onScroll']);}}['ignore'](_0x4fbfea){if(!this['active'])return _0x4fbfea();try{return this['stop'](),_0x4fbfea();}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'](_0x4d318f,_0x117591){var _0x303abb;if(!this['delayedAndroidKey']){let _0x37942e=()=>{let _0x3741e7=this['delayedAndroidKey'];_0x3741e7&&(this['clearDelayedAndroidKey'](),this['view']['inputState']['lastKeyCode']=_0x3741e7['keyCode'],this['view']['inputState']['lastKeyTime']=Date['now'](),!this['flush']()&&_0x3741e7['force']&&dispatchKey(this['dom'],_0x3741e7['key'],_0x3741e7['keyCode']));};this['flushingAndroidKey']=this['view']['win']['requestAnimationFrame'](_0x37942e);}this['delayedAndroidKey']&&'Enter'!=_0x4d318f||(this['delayedAndroidKey']={'key':_0x4d318f,'keyCode':_0x117591,'force':this['lastChange']<Date['now']()-0x32||!!(null===(_0x303abb=this['delayedAndroidKey'])||void 0x0===_0x303abb?void 0x0:_0x303abb['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 _0x3ac2cc of this['observer']['takeRecords']())this['queue']['push'](_0x3ac2cc);return this['queue'];}['processRecords'](){let _0x1b39b6=this['pendingRecords']();_0x1b39b6['length']&&(this['queue']=[]);let _0xc9b14a=-0x1,_0x32064a=-0x1,_0x29bc0f=!0x1;for(let _0x5c834f of _0x1b39b6){let _0x110c29=this['readMutation'](_0x5c834f);_0x110c29&&(_0x110c29['typeOver']&&(_0x29bc0f=!0x0),-0x1==_0xc9b14a?{from:_0xc9b14a,to:_0x32064a}=_0x110c29:(_0xc9b14a=Math['min'](_0x110c29['from'],_0xc9b14a),_0x32064a=Math['max'](_0x110c29['to'],_0x32064a)));}return{'from':_0xc9b14a,'to':_0x32064a,'typeOver':_0x29bc0f};}['readChange'](){let {from:_0x192636,to:_0x3adf03,typeOver:_0x3da79e}=this['processRecords'](),_0x836216=this['selectionChanged']&&hasSelection(this['dom'],this['selectionRange']);if(_0x192636<0x0&&!_0x836216)return null;_0x192636>-0x1&&(this['lastChange']=Date['now']()),this['view']['inputState']['lastFocusTime']=0x0,this['selectionChanged']=!0x1;let _0x326a22=new _0x59340b(this['view'],_0x192636,_0x3adf03,_0x3da79e);return this['view']['docView']['domChanged']={'newSel':_0x326a22['newSel']?_0x326a22['newSel']['main']:null},_0x326a22;}['flush'](_0x2dca45=!0x0){if(this['delayedFlush']>=0x0||this['delayedAndroidKey'])return!0x1;_0x2dca45&&this['readSelectionRange']();let _0x299deb=this['readChange']();if(!_0x299deb)return this['view']['requestMeasure'](),!0x1;let _0x20a631=this['view']['state'],_0x4797fb=_0x4fcdd9(this['view'],_0x299deb);return this['view']['state']==_0x20a631&&(_0x299deb['domChanged']||_0x299deb['newSel']&&!_0x299deb['newSel']['main']['eq'](this['view']['state']['selection']['main']))&&this['view']['update']([]),_0x4797fb;}['readMutation'](_0x4e59dc){let _0x3305cd=this['view']['docView']['nearest'](_0x4e59dc['target']);if(!_0x3305cd||_0x3305cd['ignoreMutation'](_0x4e59dc))return null;if(_0x3305cd['markDirty']('attributes'==_0x4e59dc['type']),'attributes'==_0x4e59dc['type']&&(_0x3305cd['flags']|=0x4),'childList'==_0x4e59dc['type']){let _0x2d208b=_0x2f3a1a(_0x3305cd,_0x4e59dc['previousSibling']||_0x4e59dc['target']['previousSibling'],-0x1),_0x323805=_0x2f3a1a(_0x3305cd,_0x4e59dc['nextSibling']||_0x4e59dc['target']['nextSibling'],0x1);return{'from':_0x2d208b?_0x3305cd['posAfter'](_0x2d208b):_0x3305cd['posAtStart'],'to':_0x323805?_0x3305cd['posBefore'](_0x323805):_0x3305cd['posAtEnd'],'typeOver':!0x1};}return'characterData'==_0x4e59dc['type']?{'from':_0x3305cd['posAtStart'],'to':_0x3305cd['posAtEnd'],'typeOver':_0x4e59dc['target']['nodeValue']==_0x4e59dc['oldValue']}:null;}['setWindow'](_0x387f4f){_0x387f4f!=this['win']&&(this['removeWindowListeners'](this['win']),this['win']=_0x387f4f,this['addWindowListeners'](this['win']));}['addWindowListeners'](_0x4a2d29){_0x4a2d29['addEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['addEventListener']?this['printQuery']['addEventListener']('change',this['onPrint']):this['printQuery']['addListener'](this['onPrint']):_0x4a2d29['addEventListener']('beforeprint',this['onPrint']),_0x4a2d29['addEventListener']('scroll',this['onScroll']),_0x4a2d29['document']['addEventListener']('selectionchange',this['onSelectionChange']);}['removeWindowListeners'](_0x6418f){_0x6418f['removeEventListener']('scroll',this['onScroll']),_0x6418f['removeEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['removeEventListener']?this['printQuery']['removeEventListener']('change',this['onPrint']):this['printQuery']['removeListener'](this['onPrint']):_0x6418f['removeEventListener']('beforeprint',this['onPrint']),_0x6418f['document']['removeEventListener']('selectionchange',this['onSelectionChange']);}['update'](_0x587cfb){this['editContext']&&(this['editContext']['update'](_0x587cfb),_0x587cfb['startState']['facet'](editable)!=_0x587cfb['state']['facet'](editable)&&(_0x587cfb['view']['contentDOM']['editContext']=_0x587cfb['state']['facet'](editable)?this['editContext']['editContext']:null));}['destroy'](){var _0x466488,_0x2aa502,_0x46335b;this['stop'](),null===(_0x466488=this['intersection'])||void 0x0===_0x466488||_0x466488['disconnect'](),null===(_0x2aa502=this['gapIntersection'])||void 0x0===_0x2aa502||_0x2aa502['disconnect'](),null===(_0x46335b=this['resizeScroll'])||void 0x0===_0x46335b||_0x46335b['disconnect']();for(let _0x310367 of this['scrollTargets'])_0x310367['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 _0x2f3a1a(_0x25f257,_0x201030,_0x5dff2f){for(;_0x201030;){let _0x3c3e46=ContentView['get'](_0x201030);if(_0x3c3e46&&_0x3c3e46['parent']==_0x25f257)return _0x3c3e46;let _0x3d007a=_0x201030['parentNode'];_0x201030=_0x3d007a!=_0x25f257['dom']?_0x3d007a:_0x5dff2f>0x0?_0x201030['nextSibling']:_0x201030['previousSibling'];}return null;}function buildSelectionRangeFromRange(_0x39064a,_0x858425){let _0x36c7cd=_0x858425['startContainer'],_0x21f01c=_0x858425['startOffset'],_0x1cf6c2=_0x858425['endContainer'],_0x472ce2=_0x858425['endOffset'],_0x336e2c=_0x39064a['docView']['domAtPos'](_0x39064a['state']['selection']['main']['anchor']);return isEquivalentPosition(_0x336e2c['node'],_0x336e2c['offset'],_0x1cf6c2,_0x472ce2)&&([_0x36c7cd,_0x21f01c,_0x1cf6c2,_0x472ce2]=[_0x1cf6c2,_0x472ce2,_0x36c7cd,_0x21f01c]),{'anchorNode':_0x36c7cd,'anchorOffset':_0x21f01c,'focusNode':_0x1cf6c2,'focusOffset':_0x472ce2};}function safariSelectionRangeHack(_0x48e945,_0x32097a){if(_0x32097a['getComposedRanges']){let _0x203f59=_0x32097a['getComposedRanges'](_0x48e945['root'])[0x0];if(_0x203f59)return buildSelectionRangeFromRange(_0x48e945,_0x203f59);}let _0x57a467=null;function _0x18db9a(_0x18674e){_0x18674e['preventDefault'](),_0x18674e['stopImmediatePropagation'](),_0x57a467=_0x18674e['getTargetRanges']()[0x0];}return _0x48e945['contentDOM']['addEventListener']('beforeinput',_0x18db9a,!0x0),_0x48e945['dom']['ownerDocument']['execCommand']('indent'),_0x48e945['contentDOM']['removeEventListener']('beforeinput',_0x18db9a,!0x0),_0x57a467?buildSelectionRangeFromRange(_0x48e945,_0x57a467):null;}class EditContextManager{constructor(_0x1e9a24){this['from']=0x0,this['to']=0x0,this['pendingContextChange']=null,this['handlers']=Object['create'](null),this['composing']=null,this['resetRange'](_0x1e9a24['state']);let _0xdaf82=this['editContext']=new window['EditContext']({'text':_0x1e9a24['state']['doc']['sliceString'](this['from'],this['to']),'selectionStart':this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x1e9a24['state']['selection']['main']['anchor']))),'selectionEnd':this['toContextPos'](_0x1e9a24['state']['selection']['main']['head'])});this['handlers']['textupdate']=_0x5b2a05=>{let _0x940482=_0x1e9a24['state']['selection']['main'],{anchor:_0x3c69ca,head:_0x5195e8}=_0x940482,_0xc1ba06=this['toEditorPos'](_0x5b2a05['updateRangeStart']),_0x12858c=this['toEditorPos'](_0x5b2a05['updateRangeEnd']);_0x1e9a24['inputState']['composing']>=0x0&&!this['composing']&&(this['composing']={'contextBase':_0x5b2a05['updateRangeStart'],'editorBase':_0xc1ba06,'drifted':!0x1});let _0xaeaf8c=_0x12858c-_0xc1ba06>_0x5b2a05['text']['length'];_0xc1ba06==this['from']&&_0x3c69ca<this['from']?_0xc1ba06=_0x3c69ca:_0x12858c==this['to']&&_0x3c69ca>this['to']&&(_0x12858c=_0x3c69ca);let _0x3fd976=_0x23cc19(_0x1e9a24['state']['sliceDoc'](_0xc1ba06,_0x12858c),_0x5b2a05['text'],(_0xaeaf8c?_0x940482['from']:_0x940482['to'])-_0xc1ba06,_0xaeaf8c?'end':null);if(!_0x3fd976){let _0x58b498=EditorSelection['single'](this['toEditorPos'](_0x5b2a05['selectionStart']),this['toEditorPos'](_0x5b2a05['selectionEnd']));return void(_0x58b498['main']['eq'](_0x940482)||_0x1e9a24['dispatch']({'selection':_0x58b498,'userEvent':'select'}));}let _0x2a9669={'from':_0x3fd976['from']+_0xc1ba06,'to':_0x3fd976['toA']+_0xc1ba06,'insert':Text['of'](_0x5b2a05['text']['slice'](_0x3fd976['from'],_0x3fd976['toB'])['split']('\x0a'))};if((_0x484137['mac']||_0x484137['android'])&&_0x2a9669['from']==_0x5195e8-0x1&&/^\. ?$/['test'](_0x5b2a05['text'])&&'off'==_0x1e9a24['contentDOM']['getAttribute']('autocorrect')&&(_0x2a9669={'from':_0xc1ba06,'to':_0x12858c,'insert':Text['of']([_0x5b2a05['text']['replace']('.','\x20')])}),this['pendingContextChange']=_0x2a9669,!_0x1e9a24['state']['readOnly']){let _0x240f9d=this['to']-this['from']+(_0x2a9669['to']-_0x2a9669['from']+_0x2a9669['insert']['length']);_0x22e13a(_0x1e9a24,_0x2a9669,EditorSelection['single'](this['toEditorPos'](_0x5b2a05['selectionStart'],_0x240f9d),this['toEditorPos'](_0x5b2a05['selectionEnd'],_0x240f9d)));}this['pendingContextChange']&&(this['revertPending'](_0x1e9a24['state']),this['setSelection'](_0x1e9a24['state'])),_0x2a9669['from']<_0x2a9669['to']&&!_0x2a9669['insert']['length']&&_0x1e9a24['inputState']['composing']>=0x0&&!/[\\p{Alphabetic}\\p{Number}_]/['test'](_0xdaf82['text']['slice'](Math['max'](0x0,_0x5b2a05['updateRangeStart']-0x1),Math['min'](_0xdaf82['text']['length'],_0x5b2a05['updateRangeStart']+0x1)))&&this['handlers']['compositionend'](_0x5b2a05);},this['handlers']['characterboundsupdate']=_0x1c829f=>{let _0xc48759=[],_0x463c0f=null;for(let _0x15a383=this['toEditorPos'](_0x1c829f['rangeStart']),_0x103c50=this['toEditorPos'](_0x1c829f['rangeEnd']);_0x15a383<_0x103c50;_0x15a383++){let _0x451563=_0x1e9a24['coordsForChar'](_0x15a383);_0x463c0f=_0x451563&&new DOMRect(_0x451563['left'],_0x451563['top'],_0x451563['right']-_0x451563['left'],_0x451563['bottom']-_0x451563['top'])||_0x463c0f||new DOMRect(),_0xc48759['push'](_0x463c0f);}_0xdaf82['updateCharacterBounds'](_0x1c829f['rangeStart'],_0xc48759);},this['handlers']['textformatupdate']=_0x1dd4e1=>{let _0x2a86c2=[];for(let _0x412fa5 of _0x1dd4e1['getTextFormats']()){let _0x53ee09=_0x412fa5['underlineStyle'],_0x5af3c8=_0x412fa5['underlineThickness'];if(!/none/i['test'](_0x53ee09)&&!/none/i['test'](_0x5af3c8)){let _0x4f55f5=this['toEditorPos'](_0x412fa5['rangeStart']),_0x4248f6=this['toEditorPos'](_0x412fa5['rangeEnd']);if(_0x4f55f5<_0x4248f6){let _0x2de43f='text-decoration:\x20underline\x20'+(/^[a-z]/['test'](_0x53ee09)?_0x53ee09+'\x20':'Dashed'==_0x53ee09?'dashed\x20':'Squiggle'==_0x53ee09?'wavy\x20':'')+(/thin/i['test'](_0x5af3c8)?0x1:0x2)+'px';_0x2a86c2['push'](Decoration['mark']({'attributes':{'style':_0x2de43f}})['range'](_0x4f55f5,_0x4248f6));}}}_0x1e9a24['dispatch']({'effects':setEditContextFormatting['of'](Decoration['set'](_0x2a86c2))});},this['handlers']['compositionstart']=()=>{_0x1e9a24['inputState']['composing']<0x0&&(_0x1e9a24['inputState']['composing']=0x0,_0x1e9a24['inputState']['compositionFirstChange']=!0x0);},this['handlers']['compositionend']=()=>{if(_0x1e9a24['inputState']['composing']=-0x1,_0x1e9a24['inputState']['compositionFirstChange']=null,this['composing']){let {drifted:_0x884069}=this['composing'];this['composing']=null,_0x884069&&this['reset'](_0x1e9a24['state']);}};for(let _0x307a86 in this['handlers'])_0xdaf82['addEventListener'](_0x307a86,this['handlers'][_0x307a86]);this['measureReq']={'read':_0x171a11=>{this['editContext']['updateControlBounds'](_0x171a11['contentDOM']['getBoundingClientRect']());let _0x58dcfe=getSelection(_0x171a11['root']);_0x58dcfe&&_0x58dcfe['rangeCount']&&this['editContext']['updateSelectionBounds'](_0x58dcfe['getRangeAt'](0x0)['getBoundingClientRect']());}};}['applyEdits'](_0x5c0d42){let _0xd28068=0x0,_0x2b8b96=!0x1,_0x3135af=this['pendingContextChange'];return _0x5c0d42['changes']['iterChanges']((_0x5ad79f,_0x357a91,_0x577ad9,_0x2a9831,_0x3778e0)=>{if(_0x2b8b96)return;let _0x262890=_0x3778e0['length']-(_0x357a91-_0x5ad79f);if(_0x3135af&&_0x357a91>=_0x3135af['to']){if(_0x3135af['from']==_0x5ad79f&&_0x3135af['to']==_0x357a91&&_0x3135af['insert']['eq'](_0x3778e0))return _0x3135af=this['pendingContextChange']=null,_0xd28068+=_0x262890,void(this['to']+=_0x262890);_0x3135af=null,this['revertPending'](_0x5c0d42['state']);}if(_0x5ad79f+=_0xd28068,(_0x357a91+=_0xd28068)<=this['from'])this['from']+=_0x262890,this['to']+=_0x262890;else{if(_0x5ad79f<this['to']){if(_0x5ad79f<this['from']||_0x357a91>this['to']||this['to']-this['from']+_0x3778e0['length']>0x7530)return void(_0x2b8b96=!0x0);this['editContext']['updateText'](this['toContextPos'](_0x5ad79f),this['toContextPos'](_0x357a91),_0x3778e0['toString']()),this['to']+=_0x262890;}}_0xd28068+=_0x262890;}),_0x3135af&&!_0x2b8b96&&this['revertPending'](_0x5c0d42['state']),!_0x2b8b96;}['update'](_0x2df9ca){let _0x1d8aad=this['pendingContextChange'],_0x10cf8a=_0x2df9ca['startState']['selection']['main'];this['composing']&&(this['composing']['drifted']||!_0x2df9ca['changes']['touchesRange'](_0x10cf8a['from'],_0x10cf8a['to'])&&_0x2df9ca['transactions']['some'](_0x47eb79=>!_0x47eb79['isUserEvent']('input.type')&&_0x47eb79['changes']['touchesRange'](this['from'],this['to'])))?(this['composing']['drifted']=!0x0,this['composing']['editorBase']=_0x2df9ca['changes']['mapPos'](this['composing']['editorBase'])):this['applyEdits'](_0x2df9ca)&&this['rangeIsValid'](_0x2df9ca['state'])?(_0x2df9ca['docChanged']||_0x2df9ca['selectionSet']||_0x1d8aad)&&this['setSelection'](_0x2df9ca['state']):(this['pendingContextChange']=null,this['reset'](_0x2df9ca['state'])),(_0x2df9ca['geometryChanged']||_0x2df9ca['docChanged']||_0x2df9ca['selectionSet'])&&_0x2df9ca['view']['requestMeasure'](this['measureReq']);}['resetRange'](_0x1ba4cc){let {head:_0x19ec0f}=_0x1ba4cc['selection']['main'];this['from']=Math['max'](0x0,_0x19ec0f-0x2710),this['to']=Math['min'](_0x1ba4cc['doc']['length'],_0x19ec0f+0x2710);}['reset'](_0x1e2d47){this['resetRange'](_0x1e2d47),this['editContext']['updateText'](0x0,this['editContext']['text']['length'],_0x1e2d47['doc']['sliceString'](this['from'],this['to'])),this['setSelection'](_0x1e2d47);}['revertPending'](_0x5071a1){let _0x1fdb9c=this['pendingContextChange'];this['pendingContextChange']=null,this['editContext']['updateText'](this['toContextPos'](_0x1fdb9c['from']),this['toContextPos'](_0x1fdb9c['from']+_0x1fdb9c['insert']['length']),_0x5071a1['doc']['sliceString'](_0x1fdb9c['from'],_0x1fdb9c['to']));}['setSelection'](_0x4c2db2){let {main:_0x512d4e}=_0x4c2db2['selection'],_0x27ec9c=this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x512d4e['anchor']))),_0xea3669=this['toContextPos'](_0x512d4e['head']);this['editContext']['selectionStart']==_0x27ec9c&&this['editContext']['selectionEnd']==_0xea3669||this['editContext']['updateSelection'](_0x27ec9c,_0xea3669);}['rangeIsValid'](_0x1e9880){let {head:_0x5c0172}=_0x1e9880['selection']['main'];return!(this['from']>0x0&&_0x5c0172-this['from']<0x1f4||this['to']<_0x1e9880['doc']['length']&&this['to']-_0x5c0172<0x1f4||this['to']-this['from']>0x7530);}['toEditorPos'](_0x2a8d0c,_0x57e34a=this['to']-this['from']){_0x2a8d0c=Math['min'](_0x2a8d0c,_0x57e34a);let _0x3fa241=this['composing'];return _0x3fa241&&_0x3fa241['drifted']?_0x3fa241['editorBase']+(_0x2a8d0c-_0x3fa241['contextBase']):_0x2a8d0c+this['from'];}['toContextPos'](_0x36a8dd){let _0x12f98d=this['composing'];return _0x12f98d&&_0x12f98d['drifted']?_0x12f98d['contextBase']+(_0x36a8dd-_0x12f98d['editorBase']):_0x36a8dd-this['from'];}['destroy'](){for(let _0x585fb1 in this['handlers'])this['editContext']['removeEventListener'](_0x585fb1,this['handlers'][_0x585fb1]);}}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(_0x142e8f={}){var _0x33e7c3;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']),_0x142e8f['parent']&&_0x142e8f['parent']['appendChild'](this['dom']);let {dispatch:_0x5732f5}=_0x142e8f;this['dispatchTransactions']=_0x142e8f['dispatchTransactions']||_0x5732f5&&(_0x2a1023=>_0x2a1023['forEach'](_0x37ea16=>_0x5732f5(_0x37ea16,this)))||(_0x738c1a=>this['update'](_0x738c1a)),this['dispatch']=this['dispatch']['bind'](this),this['_root']=_0x142e8f['root']||getRoot(_0x142e8f['parent'])||document,this['viewState']=new ViewState(_0x142e8f['state']||EditorState['create'](_0x142e8f)),_0x142e8f['scrollTo']&&_0x142e8f['scrollTo']['is'](scrollIntoView$1)&&(this['viewState']['scrollTarget']=_0x142e8f['scrollTo']['value']['clip'](this['viewState']['state'])),this['plugins']=this['state']['facet'](_0x2cf2b4)['map'](_0x2619eb=>new PluginInstance(_0x2619eb));for(let _0x311eed of this['plugins'])_0x311eed['update'](this);this['observer']=new _0x23a2eb(this),this['inputState']=new InputState(this),this['inputState']['ensureHandlers'](this['plugins']),this['docView']=new _0xb7db07(this),this['mountStyles'](),this['updateAttrs'](),this['updateState']=0x0,this['requestMeasure'](),(null===(_0x33e7c3=document['fonts'])||void 0x0===_0x33e7c3?void 0x0:_0x33e7c3['ready'])&&document['fonts']['ready']['then'](()=>this['requestMeasure']());}['dispatch'](..._0x4b59d7){let _0x1721bb=0x1==_0x4b59d7['length']&&_0x4b59d7[0x0]instanceof Transaction?_0x4b59d7:0x1==_0x4b59d7['length']&&Array['isArray'](_0x4b59d7[0x0])?_0x4b59d7[0x0]:[this['state']['update'](..._0x4b59d7)];this['dispatchTransactions'](_0x1721bb,this);}['update'](_0x467923){if(0x0!=this['updateState'])throw new Error('Calls\x20to\x20EditorView.update\x20are\x20not\x20allowed\x20while\x20an\x20update\x20is\x20in\x20progress');let _0x2edd41,_0x1f948a=!0x1,_0x125512=!0x1,_0x5a420c=this['state'];for(let _0x20fb82 of _0x467923){if(_0x20fb82['startState']!=_0x5a420c)throw new RangeError('Trying\x20to\x20update\x20state\x20with\x20a\x20transaction\x20that\x20doesn\x27t\x20start\x20from\x20the\x20previous\x20state.');_0x5a420c=_0x20fb82['state'];}if(this['destroyed'])return void(this['viewState']['state']=_0x5a420c);let _0x3542e3=this['hasFocus'],_0x270d75=0x0,_0x3076b8=null;_0x467923['some'](_0x3e104c=>_0x3e104c['annotation'](_0x5d37ba))?(this['inputState']['notifiedFocused']=_0x3542e3,_0x270d75=0x1):_0x3542e3!=this['inputState']['notifiedFocused']&&(this['inputState']['notifiedFocused']=_0x3542e3,_0x3076b8=focusChangeTransaction(_0x5a420c,_0x3542e3),_0x3076b8||(_0x270d75=0x1));let _0x441ae5=this['observer']['delayedAndroidKey'],_0x438a48=null;if(_0x441ae5?(this['observer']['clearDelayedAndroidKey'](),_0x438a48=this['observer']['readChange'](),(_0x438a48&&!this['state']['doc']['eq'](_0x5a420c['doc'])||!this['state']['selection']['eq'](_0x5a420c['selection']))&&(_0x438a48=null)):this['observer']['clear'](),_0x5a420c['facet'](EditorState['phrases'])!=this['state']['facet'](EditorState['phrases']))return this['setState'](_0x5a420c);_0x2edd41=ViewUpdate['create'](this,_0x5a420c,_0x467923),_0x2edd41['flags']|=_0x270d75;let _0x3bfc33=this['viewState']['scrollTarget'];try{this['updateState']=0x2;for(let _0x450cd1 of _0x467923){if(_0x3bfc33&&(_0x3bfc33=_0x3bfc33['map'](_0x450cd1['changes'])),_0x450cd1['scrollIntoView']){let {main:_0x1024df}=_0x450cd1['state']['selection'];_0x3bfc33=new ScrollTarget(_0x1024df['empty']?_0x1024df:EditorSelection['cursor'](_0x1024df['head'],_0x1024df['head']>_0x1024df['anchor']?-0x1:0x1));}for(let _0x34d578 of _0x450cd1['effects'])_0x34d578['is'](scrollIntoView$1)&&(_0x3bfc33=_0x34d578['value']['clip'](this['state']));}this['viewState']['update'](_0x2edd41,_0x3bfc33),this['bidiCache']=_0x39ed15['update'](this['bidiCache'],_0x2edd41['changes']),_0x2edd41['empty']||(this['updatePlugins'](_0x2edd41),this['inputState']['update'](_0x2edd41)),_0x1f948a=this['docView']['update'](_0x2edd41),this['state']['facet'](styleModule)!=this['styleModules']&&this['mountStyles'](),_0x125512=this['updateAttrs'](),this['showAnnouncements'](_0x467923),this['docView']['updateSelection'](_0x1f948a,_0x467923['some'](_0x29906e=>_0x29906e['isUserEvent']('select.pointer')));}finally{this['updateState']=0x0;}if(_0x2edd41['startState']['facet'](theme)!=_0x2edd41['state']['facet'](theme)&&(this['viewState']['mustMeasureContent']=!0x0),(_0x1f948a||_0x125512||_0x3bfc33||this['viewState']['mustEnforceCursorAssoc']||this['viewState']['mustMeasureContent'])&&this['requestMeasure'](),_0x1f948a&&this['docViewUpdate'](),!_0x2edd41['empty']){for(let _0x1793e8 of this['state']['facet'](updateListener))try{_0x1793e8(_0x2edd41);}catch(_0x1db96c){logException(this['state'],_0x1db96c,'update\x20listener');}}(_0x3076b8||_0x438a48)&&Promise['resolve']()['then'](()=>{_0x3076b8&&this['state']==_0x3076b8['startState']&&this['dispatch'](_0x3076b8),_0x438a48&&!_0x4fcdd9(this,_0x438a48)&&_0x441ae5['force']&&dispatchKey(this['contentDOM'],_0x441ae5['key'],_0x441ae5['keyCode']);});}['setState'](_0xf62afa){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']=_0xf62afa);this['updateState']=0x2;let _0x5e66c8=this['hasFocus'];try{for(let _0x27beb5 of this['plugins'])_0x27beb5['destroy'](this);this['viewState']=new ViewState(_0xf62afa),this['plugins']=_0xf62afa['facet'](_0x2cf2b4)['map'](_0x4ae63d=>new PluginInstance(_0x4ae63d)),this['pluginMap']['clear']();for(let _0x1921a5 of this['plugins'])_0x1921a5['update'](this);this['docView']['destroy'](),this['docView']=new _0xb7db07(this),this['inputState']['ensureHandlers'](this['plugins']),this['mountStyles'](),this['updateAttrs'](),this['bidiCache']=[];}finally{this['updateState']=0x0;}_0x5e66c8&&this['focus'](),this['requestMeasure']();}['updatePlugins'](_0x1c1874){let _0x14e371=_0x1c1874['startState']['facet'](_0x2cf2b4),_0x126285=_0x1c1874['state']['facet'](_0x2cf2b4);if(_0x14e371!=_0x126285){let _0x572cde=[];for(let _0x37b089 of _0x126285){let _0x58f583=_0x14e371['indexOf'](_0x37b089);if(_0x58f583<0x0)_0x572cde['push'](new PluginInstance(_0x37b089));else{let _0x30ecb9=this['plugins'][_0x58f583];_0x30ecb9['mustUpdate']=_0x1c1874,_0x572cde['push'](_0x30ecb9);}}for(let _0x3aa937 of this['plugins'])_0x3aa937['mustUpdate']!=_0x1c1874&&_0x3aa937['destroy'](this);this['plugins']=_0x572cde,this['pluginMap']['clear']();}else{for(let _0x235842 of this['plugins'])_0x235842['mustUpdate']=_0x1c1874;}for(let _0x1bd84d=0x0;_0x1bd84d<this['plugins']['length'];_0x1bd84d++)this['plugins'][_0x1bd84d]['update'](this);_0x14e371!=_0x126285&&this['inputState']['ensureHandlers'](this['plugins']);}['docViewUpdate'](){for(let _0x1a18f1 of this['plugins']){let _0x9feeb0=_0x1a18f1['value'];if(_0x9feeb0&&_0x9feeb0['docViewUpdate'])try{_0x9feeb0['docViewUpdate'](this);}catch(_0x15a0c0){logException(this['state'],_0x15a0c0,'doc\x20view\x20update\x20listener');}}}['measure'](_0x3cea35=!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,_0x3cea35&&this['observer']['forceFlush']();let _0x1c3af8=null,_0x2a9aa1=this['scrollDOM'],_0x28cc49=_0x2a9aa1['scrollTop']*this['scaleY'],{scrollAnchorPos:_0xfea6f0,scrollAnchorHeight:_0x36cefb}=this['viewState'];Math['abs'](_0x28cc49-this['viewState']['scrollTop'])>0x1&&(_0x36cefb=-0x1),this['viewState']['scrollAnchorHeight']=-0x1;try{for(let _0x32f118=0x0;;_0x32f118++){if(_0x36cefb<0x0){if(isScrolledToBottom(_0x2a9aa1))_0xfea6f0=-0x1,_0x36cefb=this['viewState']['heightMap']['height'];else{let _0x17b042=this['viewState']['scrollAnchorAt'](_0x28cc49);_0xfea6f0=_0x17b042['from'],_0x36cefb=_0x17b042['top'];}}this['updateState']=0x1;let _0x3aa03c=this['viewState']['measure'](this);if(!_0x3aa03c&&!this['measureRequests']['length']&&null==this['viewState']['scrollTarget'])break;if(_0x32f118>0x5){console['warn'](this['measureRequests']['length']?'Measure\x20loop\x20restarted\x20more\x20than\x205\x20times':'Viewport\x20failed\x20to\x20stabilize');break;}let _0x553f1c=[];0x4&_0x3aa03c||([this['measureRequests'],_0x553f1c]=[_0x553f1c,this['measureRequests']]);let _0x27830a=_0x553f1c['map'](_0x22368f=>{try{return _0x22368f['read'](this);}catch(_0x5ec0f4){return logException(this['state'],_0x5ec0f4),_0x4deecf;}}),_0x4e3f49=ViewUpdate['create'](this,this['state'],[]),_0xc53d58=!0x1;_0x4e3f49['flags']|=_0x3aa03c,_0x1c3af8?_0x1c3af8['flags']|=_0x3aa03c:_0x1c3af8=_0x4e3f49,this['updateState']=0x2,_0x4e3f49['empty']||(this['updatePlugins'](_0x4e3f49),this['inputState']['update'](_0x4e3f49),this['updateAttrs'](),_0xc53d58=this['docView']['update'](_0x4e3f49),_0xc53d58&&this['docViewUpdate']());for(let _0x21b9b3=0x0;_0x21b9b3<_0x553f1c['length'];_0x21b9b3++)if(_0x27830a[_0x21b9b3]!=_0x4deecf)try{let _0x3805fa=_0x553f1c[_0x21b9b3];_0x3805fa['write']&&_0x3805fa['write'](_0x27830a[_0x21b9b3],this);}catch(_0x389697){logException(this['state'],_0x389697);}if(_0xc53d58&&this['docView']['updateSelection'](!0x0),!_0x4e3f49['viewportChanged']&&0x0==this['measureRequests']['length']){if(this['viewState']['editorHeight']){if(this['viewState']['scrollTarget']){this['docView']['scrollIntoView'](this['viewState']['scrollTarget']),this['viewState']['scrollTarget']=null,_0x36cefb=-0x1;continue;}{let _0x5a33b3=(_0xfea6f0<0x0?this['viewState']['heightMap']['height']:this['viewState']['lineBlockAt'](_0xfea6f0)['top'])-_0x36cefb;if(_0x5a33b3>0x1||_0x5a33b3<-0x1){_0x28cc49+=_0x5a33b3,_0x2a9aa1['scrollTop']=_0x28cc49/this['scaleY'],_0x36cefb=-0x1;continue;}}}break;}}}finally{this['updateState']=0x0,this['measureScheduled']=-0x1;}if(_0x1c3af8&&!_0x1c3af8['empty']){for(let _0x5c922a of this['state']['facet'](updateListener))_0x5c922a(_0x1c3af8);}}get['themeClasses'](){return _0x1c85fa+'\x20'+(this['state']['facet'](_0x47fd9e)?_0xc6e0d2:baseLightID)+'\x20'+this['state']['facet'](theme);}['updateAttrs'](){let _0x5835d5=attrsFromFacet(this,editorAttributes,{'class':'cm-editor'+(this['hasFocus']?'\x20cm-focused\x20':'\x20')+this['themeClasses']}),_0x948bbd={'spellcheck':'false','autocorrect':'off','autocapitalize':'off','writingsuggestions':'false','translate':'no','contenteditable':this['state']['facet'](editable)?'true':'false','class':'cm-content','style':_0x484137['tabSize']+':\x20'+this['state']['tabSize'],'role':'textbox','aria-multiline':'true'};this['state']['readOnly']&&(_0x948bbd['aria-readonly']='true'),attrsFromFacet(this,contentAttributes,_0x948bbd);let _0x3eb924=this['observer']['ignore'](()=>{let _0x18b72b=updateAttrs(this['contentDOM'],this['contentAttrs'],_0x948bbd),_0x513c6f=updateAttrs(this['dom'],this['editorAttrs'],_0x5835d5);return _0x18b72b||_0x513c6f;});return this['editorAttrs']=_0x5835d5,this['contentAttrs']=_0x948bbd,_0x3eb924;}['showAnnouncements'](_0x4577fe){let _0x438c94=!0x0;for(let _0x54e171 of _0x4577fe)for(let _0x557000 of _0x54e171['effects'])_0x557000['is'](EditorView['announce'])&&(_0x438c94&&(this['announceDOM']['textContent']=''),_0x438c94=!0x1,this['announceDOM']['appendChild'](document['createElement']('div'))['textContent']=_0x557000['value']);}['mountStyles'](){this['styleModules']=this['state']['facet'](styleModule);let _0x21df0a=this['state']['facet'](EditorView['cspNonce']);StyleModule['mount'](this['root'],this['styleModules']['concat'](_0x2c3ab0)['reverse'](),_0x21df0a?{'nonce':_0x21df0a}: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'](_0x5e3376){if(this['measureScheduled']<0x0&&(this['measureScheduled']=this['win']['requestAnimationFrame'](()=>this['measure']())),_0x5e3376){if(this['measureRequests']['indexOf'](_0x5e3376)>-0x1)return;if(null!=_0x5e3376['key']){for(let _0x4664a4=0x0;_0x4664a4<this['measureRequests']['length'];_0x4664a4++)if(this['measureRequests'][_0x4664a4]['key']===_0x5e3376['key'])return void(this['measureRequests'][_0x4664a4]=_0x5e3376);}this['measureRequests']['push'](_0x5e3376);}}['plugin'](_0x3a93b4){let _0x288621=this['pluginMap']['get'](_0x3a93b4);return(void 0x0===_0x288621||_0x288621&&_0x288621['plugin']!=_0x3a93b4)&&this['pluginMap']['set'](_0x3a93b4,_0x288621=this['plugins']['find'](_0x66a88=>_0x66a88['plugin']==_0x3a93b4)||null),_0x288621&&_0x288621['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'](_0x3cf619){return this['readMeasured'](),this['viewState']['elementAtHeight'](_0x3cf619);}['lineBlockAtHeight'](_0xa2fec7){return this['readMeasured'](),this['viewState']['lineBlockAtHeight'](_0xa2fec7);}get['viewportLineBlocks'](){return this['viewState']['viewportLines'];}['lineBlockAt'](_0x4558d7){return this['viewState']['lineBlockAt'](_0x4558d7);}get['contentHeight'](){return this['viewState']['contentHeight'];}['moveByChar'](_0x5d26bc,_0x494198,_0x5166e5){return skipAtoms(this,_0x5d26bc,_0xdfbf1d(this,_0x5d26bc,_0x494198,_0x5166e5));}['moveByGroup'](_0x22eae9,_0x2cb370){return skipAtoms(this,_0x22eae9,_0xdfbf1d(this,_0x22eae9,_0x2cb370,_0x268cfa=>_0x367470(this,_0x22eae9['head'],_0x268cfa)));}['visualLineSide'](_0x12254c,_0x21479c){let _0x431aa4=this['bidiSpans'](_0x12254c),_0x5307db=this['textDirectionAt'](_0x12254c['from']),_0x18c42d=_0x431aa4[_0x21479c?_0x431aa4['length']-0x1:0x0];return EditorSelection['cursor'](_0x18c42d['side'](_0x21479c,_0x5307db)+_0x12254c['from'],_0x18c42d['forward'](!_0x21479c,_0x5307db)?0x1:-0x1);}['moveToLineBoundary'](_0x34ed27,_0x171361,_0x3f578d=!0x0){return _0x239b64(this,_0x34ed27,_0x171361,_0x3f578d);}['moveVertically'](_0x446c13,_0xfbd833,_0x585621){return skipAtoms(this,_0x446c13,moveVertically(this,_0x446c13,_0xfbd833,_0x585621));}['domAtPos'](_0x1e7dd4){return this['docView']['domAtPos'](_0x1e7dd4);}['posAtDOM'](_0x34946d,_0x1e0358=0x0){return this['docView']['posFromDOM'](_0x34946d,_0x1e0358);}['posAtCoords'](_0xf61334,_0x3740ad=!0x0){return this['readMeasured'](),posAtCoords(this,_0xf61334,_0x3740ad);}['coordsAtPos'](_0x28fc3a,_0x342a83=0x1){this['readMeasured']();let _0x47655c=this['docView']['coordsAt'](_0x28fc3a,_0x342a83);if(!_0x47655c||_0x47655c['left']==_0x47655c['right'])return _0x47655c;let _0x15dd60=this['state']['doc']['lineAt'](_0x28fc3a),_0x8d79d4=this['bidiSpans'](_0x15dd60);return flattenRect(_0x47655c,_0x8d79d4[_0x31c489['find'](_0x8d79d4,_0x28fc3a-_0x15dd60['from'],-0x1,_0x342a83)]['dir']==Direction['LTR']==_0x342a83>0x0);}['coordsForChar'](_0x1ee20c){return this['readMeasured'](),this['docView']['coordsForChar'](_0x1ee20c);}get['defaultCharacterWidth'](){return this['viewState']['heightOracle']['charWidth'];}get['defaultLineHeight'](){return this['viewState']['heightOracle']['lineHeight'];}get['textDirection'](){return this['viewState']['defaultTextDirection'];}['textDirectionAt'](_0x231c59){return!this['state']['facet'](perLineTextDirection)||_0x231c59<this['viewport']['from']||_0x231c59>this['viewport']['to']?this['textDirection']:(this['readMeasured'](),this['docView']['textDirectionAt'](_0x231c59));}get['lineWrapping'](){return this['viewState']['heightOracle']['lineWrapping'];}['bidiSpans'](_0x3ff859){if(_0x3ff859['length']>_0x5f45a0)return trivialOrder(_0x3ff859['length']);let _0x2f3017,_0x36cd75=this['textDirectionAt'](_0x3ff859['from']);for(let _0x33f28a of this['bidiCache'])if(_0x33f28a['from']==_0x3ff859['from']&&_0x33f28a['dir']==_0x36cd75&&(_0x33f28a['fresh']||isolatesEq(_0x33f28a['isolates'],_0x2f3017=getIsolatedRanges(this,_0x3ff859))))return _0x33f28a['order'];_0x2f3017||(_0x2f3017=getIsolatedRanges(this,_0x3ff859));let _0x268b5e=computeOrder(_0x3ff859['text'],_0x36cd75,_0x2f3017);return this['bidiCache']['push'](new _0x39ed15(_0x3ff859['from'],_0x3ff859['to'],_0x36cd75,_0x2f3017,!0x0,_0x268b5e)),_0x268b5e;}get['hasFocus'](){var _0x1becce;return(this['dom']['ownerDocument']['hasFocus']()||_0x484137['safari']&&(null===(_0x1becce=this['inputState'])||void 0x0===_0x1becce?void 0x0:_0x1becce['lastContextMenu'])>Date['now']()-0x7530)&&this['root']['activeElement']==this['contentDOM'];}['focus'](){this['observer']['ignore'](()=>{focusPreventScroll(this['contentDOM']),this['docView']['updateSelection']();});}['setRoot'](_0x459f8a){this['_root']!=_0x459f8a&&(this['_root']=_0x459f8a,this['observer']['setWindow']((0x9==_0x459f8a['nodeType']?_0x459f8a:_0x459f8a['ownerDocument'])['defaultView']||window),this['mountStyles']());}['destroy'](){this['root']['activeElement']==this['contentDOM']&&this['contentDOM']['blur']();for(let _0x26385a of this['plugins'])_0x26385a['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'](_0x5486f6,_0x2adf26={}){return scrollIntoView$1['of'](new ScrollTarget('number'==typeof _0x5486f6?EditorSelection['cursor'](_0x5486f6):_0x5486f6,_0x2adf26['y'],_0x2adf26['x'],_0x2adf26['yMargin'],_0x2adf26['xMargin']));}['scrollSnapshot'](){let {scrollTop:_0x2c84d1,scrollLeft:_0x1030e8}=this['scrollDOM'],_0x12ddcc=this['viewState']['scrollAnchorAt'](_0x2c84d1);return scrollIntoView$1['of'](new ScrollTarget(EditorSelection['cursor'](_0x12ddcc['from']),'start','start',_0x12ddcc['top']-_0x2c84d1,_0x1030e8,!0x0));}['setTabFocusMode'](_0xf3c9db){null==_0xf3c9db?this['inputState']['tabFocusMode']=this['inputState']['tabFocusMode']<0x0?0x0:-0x1:'boolean'==typeof _0xf3c9db?this['inputState']['tabFocusMode']=_0xf3c9db?0x0:-0x1:0x0!=this['inputState']['tabFocusMode']&&(this['inputState']['tabFocusMode']=Date['now']()+_0xf3c9db);}static['domEventHandlers'](_0x4f264f){return _0x5e6928['define'](()=>({}),{'eventHandlers':_0x4f264f});}static['domEventObservers'](_0x457eb8){return _0x5e6928['define'](()=>({}),{'eventObservers':_0x457eb8});}static['theme'](_0x3bfcf1,_0x140be5){let _0x46ca38=StyleModule['newName'](),_0x1e5041=[theme['of'](_0x46ca38),styleModule['of'](_0x3ef8ed('.'+_0x46ca38,_0x3bfcf1))];return _0x140be5&&_0x140be5['dark']&&_0x1e5041['push'](_0x47fd9e['of'](!0x0)),_0x1e5041;}static['baseTheme'](_0x339999){return _0x27d43b['lowest'](styleModule['of'](_0x3ef8ed('.'+_0x1c85fa,_0x339999,lightDarkIDs)));}static['findFromDOM'](_0x3fa4bc){var _0x228faa;let _0x2188ea=_0x3fa4bc['querySelector']('.cm-content'),_0x4d0a45=_0x2188ea&&ContentView['get'](_0x2188ea)||ContentView['get'](_0x3fa4bc);return(null===(_0x228faa=null==_0x4d0a45?void 0x0:_0x4d0a45['rootView'])||void 0x0===_0x228faa?void 0x0:_0x228faa['view'])||null;}}EditorView['styleModule']=styleModule,EditorView['inputHandler']=inputHandler$1,EditorView['clipboardInputFilter']=clipboardInputFilter,EditorView['clipboardOutputFilter']=clipboardOutputFilter,EditorView['scrollHandler']=_0x46e0de,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']=_0x14f89a,EditorView['darkTheme']=_0x47fd9e,EditorView['cspNonce']=Facet['define']({'combine':_0x2f4f3d=>_0x2f4f3d['length']?_0x2f4f3d[0x0]:''}),EditorView['contentAttributes']=contentAttributes,EditorView['editorAttributes']=editorAttributes,EditorView['lineWrapping']=EditorView['contentAttributes']['of']({'class':'cm-lineWrapping'}),EditorView['announce']=StateEffect['define']();const _0x5f45a0=0x1000,_0x4deecf={};class _0x39ed15{constructor(_0x39ad6e,_0x442bf4,_0x596861,_0x18c0b3,_0x2bf6db,_0x2dc490){this['from']=_0x39ad6e,this['to']=_0x442bf4,this['dir']=_0x596861,this['isolates']=_0x18c0b3,this['fresh']=_0x2bf6db,this['order']=_0x2dc490;}static['update'](_0x38d589,_0x4f0c0a){if(_0x4f0c0a['empty']&&!_0x38d589['some'](_0xccf789=>_0xccf789['fresh']))return _0x38d589;let _0x3b7ea0=[],_0x48b419=_0x38d589['length']?_0x38d589[_0x38d589['length']-0x1]['dir']:Direction['LTR'];for(let _0x301305=Math['max'](0x0,_0x38d589['length']-0xa);_0x301305<_0x38d589['length'];_0x301305++){let _0x404d04=_0x38d589[_0x301305];_0x404d04['dir']!=_0x48b419||_0x4f0c0a['touchesRange'](_0x404d04['from'],_0x404d04['to'])||_0x3b7ea0['push'](new _0x39ed15(_0x4f0c0a['mapPos'](_0x404d04['from'],0x1),_0x4f0c0a['mapPos'](_0x404d04['to'],-0x1),_0x404d04['dir'],_0x404d04['isolates'],!0x1,_0x404d04['order']));}return _0x3b7ea0;}}function attrsFromFacet(_0x4c317f,_0x269de6,_0x37aad3){for(let _0x4b7f81=_0x4c317f['state']['facet'](_0x269de6),_0xdddd9b=_0x4b7f81['length']-0x1;_0xdddd9b>=0x0;_0xdddd9b--){let _0x346a40=_0x4b7f81[_0xdddd9b],_0x18cf5e='function'==typeof _0x346a40?_0x346a40(_0x4c317f):_0x346a40;_0x18cf5e&&combineAttrs(_0x18cf5e,_0x37aad3);}return _0x37aad3;}const currentPlatform=_0x484137['mac']?'mac':_0x484137['windows']?'win':_0x484137['linux']?'linux':'key';function _0xd20df8(_0xa0b140,_0x3323b0){const _0x4fca82=_0xa0b140['split'](/-(?!$)/);let _0x391469,_0x274076,_0x397c90,_0x568ec0,_0x964ca2=_0x4fca82[_0x4fca82['length']-0x1];'Space'==_0x964ca2&&(_0x964ca2='\x20');for(let _0x54079b=0x0;_0x54079b<_0x4fca82['length']-0x1;++_0x54079b){const _0x367bf2=_0x4fca82[_0x54079b];if(/^(cmd|meta|m)$/i['test'](_0x367bf2))_0x568ec0=!0x0;else{if(/^a(lt)?$/i['test'](_0x367bf2))_0x391469=!0x0;else{if(/^(c|ctrl|control)$/i['test'](_0x367bf2))_0x274076=!0x0;else{if(/^s(hift)?$/i['test'](_0x367bf2))_0x397c90=!0x0;else{if(!/^mod$/i['test'](_0x367bf2))throw new Error('Unrecognized\x20modifier\x20name:\x20'+_0x367bf2);'mac'==_0x3323b0?_0x568ec0=!0x0:_0x274076=!0x0;}}}}}return _0x391469&&(_0x964ca2='Alt-'+_0x964ca2),_0x274076&&(_0x964ca2='Ctrl-'+_0x964ca2),_0x568ec0&&(_0x964ca2='Meta-'+_0x964ca2),_0x397c90&&(_0x964ca2='Shift-'+_0x964ca2),_0x964ca2;}function _0x1b492c(_0x5f1dd5,_0xd27c37,_0x302c13){return _0xd27c37['altKey']&&(_0x5f1dd5='Alt-'+_0x5f1dd5),_0xd27c37['ctrlKey']&&(_0x5f1dd5='Ctrl-'+_0x5f1dd5),_0xd27c37['metaKey']&&(_0x5f1dd5='Meta-'+_0x5f1dd5),!0x1!==_0x302c13&&_0xd27c37['shiftKey']&&(_0x5f1dd5='Shift-'+_0x5f1dd5),_0x5f1dd5;}const handleKeyEvents=_0x27d43b['default'](EditorView['domEventHandlers']({'keydown':(_0x1c56d5,_0x54aa91)=>_0x26be83(getKeymap(_0x54aa91['state']),_0x1c56d5,_0x54aa91,'editor')})),_0x406ef3=Facet['define']({'enables':handleKeyEvents}),_0x5db0e7=new WeakMap();function getKeymap(_0x38d128){let _0x25fb6f=_0x38d128['facet'](_0x406ef3),_0xaed9db=_0x5db0e7['get'](_0x25fb6f);return _0xaed9db||_0x5db0e7['set'](_0x25fb6f,_0xaed9db=_0x2e09ef(_0x25fb6f['reduce']((_0x1a9fd4,_0x76db90)=>_0x1a9fd4['concat'](_0x76db90),[]))),_0xaed9db;}let storedPrefix=null;const PrefixTimeout=0xfa0;function _0x2e09ef(_0x466fed,_0x55062e=currentPlatform){let _0x1b905f=Object['create'](null),_0x26bf6d=Object['create'](null),_0x566602=(_0x4cb699,_0xacdfb4)=>{let _0x3ba916=_0x26bf6d[_0x4cb699];if(null==_0x3ba916)_0x26bf6d[_0x4cb699]=_0xacdfb4;else{if(_0x3ba916!=_0xacdfb4)throw new Error('Key\x20binding\x20'+_0x4cb699+'\x20is\x20used\x20both\x20as\x20a\x20regular\x20binding\x20and\x20as\x20a\x20multi-stroke\x20prefix');}},_0x3b21bc=(_0x263296,_0x2e5f,_0x204eef,_0x37071c,_0x3e0ccc)=>{var _0x4365b6,_0x12dc2a;let _0x476438=_0x1b905f[_0x263296]||(_0x1b905f[_0x263296]=Object['create'](null)),_0x3160cc=_0x2e5f['split'](/ (?!$)/)['map'](_0xa74b29=>_0xd20df8(_0xa74b29,_0x55062e));for(let _0x2d41d4=0x1;_0x2d41d4<_0x3160cc['length'];_0x2d41d4++){let _0xbe3f13=_0x3160cc['slice'](0x0,_0x2d41d4)['join']('\x20');_0x566602(_0xbe3f13,!0x0),_0x476438[_0xbe3f13]||(_0x476438[_0xbe3f13]={'preventDefault':!0x0,'stopPropagation':!0x1,'run':[_0x2d5b76=>{let _0x240c7f=storedPrefix={'view':_0x2d5b76,'prefix':_0xbe3f13,'scope':_0x263296};return setTimeout(()=>{storedPrefix==_0x240c7f&&(storedPrefix=null);},PrefixTimeout),!0x0;}]});}let _0x2e6591=_0x3160cc['join']('\x20');_0x566602(_0x2e6591,!0x1);let _0x76d322=_0x476438[_0x2e6591]||(_0x476438[_0x2e6591]={'preventDefault':!0x1,'stopPropagation':!0x1,'run':(null===(_0x12dc2a=null===(_0x4365b6=_0x476438['_any'])||void 0x0===_0x4365b6?void 0x0:_0x4365b6['run'])||void 0x0===_0x12dc2a?void 0x0:_0x12dc2a['slice']())||[]});_0x204eef&&_0x76d322['run']['push'](_0x204eef),_0x37071c&&(_0x76d322['preventDefault']=!0x0),_0x3e0ccc&&(_0x76d322['stopPropagation']=!0x0);};for(let _0x1f0c22 of _0x466fed){let _0x5dad77=_0x1f0c22['scope']?_0x1f0c22['scope']['split']('\x20'):['editor'];if(_0x1f0c22['any'])for(let _0x90dd7a of _0x5dad77){let _0x22a027=_0x1b905f[_0x90dd7a]||(_0x1b905f[_0x90dd7a]=Object['create'](null));_0x22a027['_any']||(_0x22a027['_any']={'preventDefault':!0x1,'stopPropagation':!0x1,'run':[]});let {any:_0x591b79}=_0x1f0c22;for(let _0x26c186 in _0x22a027)_0x22a027[_0x26c186]['run']['push'](_0x12d6d2=>_0x591b79(_0x12d6d2,currentKeyEvent));}let _0x3efa09=_0x1f0c22[_0x55062e]||_0x1f0c22['key'];if(_0x3efa09){for(let _0x112428 of _0x5dad77)_0x3b21bc(_0x112428,_0x3efa09,_0x1f0c22['run'],_0x1f0c22['preventDefault'],_0x1f0c22['stopPropagation']),_0x1f0c22['shift']&&_0x3b21bc(_0x112428,'Shift-'+_0x3efa09,_0x1f0c22['shift'],_0x1f0c22['preventDefault'],_0x1f0c22['stopPropagation']);}}return _0x1b905f;}let currentKeyEvent=null;function _0x26be83(_0x45ac27,_0x3b5abe,_0x5a0331,_0x520423){currentKeyEvent=_0x3b5abe;let _0x2528be=_0x3e847f(_0x3b5abe),_0x1d163f=codePointSize(codePointAt(_0x2528be,0x0))==_0x2528be['length']&&'\x20'!=_0x2528be,_0x127df7='',_0x2cd616=!0x1,_0x2c467a=!0x1,_0x25c757=!0x1;storedPrefix&&storedPrefix['view']==_0x5a0331&&storedPrefix['scope']==_0x520423&&(_0x127df7=storedPrefix['prefix']+'\x20',_0x3da075['indexOf'](_0x3b5abe['keyCode'])<0x0&&(_0x2c467a=!0x0,storedPrefix=null));let _0x2e88b4,_0x2ae1ed,_0x445dba=new Set(),_0x50355d=_0x1672bb=>{if(_0x1672bb){for(let _0x253a6f of _0x1672bb['run'])if(!_0x445dba['has'](_0x253a6f)&&(_0x445dba['add'](_0x253a6f),_0x253a6f(_0x5a0331)))return _0x1672bb['stopPropagation']&&(_0x25c757=!0x0),!0x0;_0x1672bb['preventDefault']&&(_0x1672bb['stopPropagation']&&(_0x25c757=!0x0),_0x2c467a=!0x0);}return!0x1;},_0x555eda=_0x45ac27[_0x520423];return _0x555eda&&(_0x50355d(_0x555eda[_0x127df7+_0x1b492c(_0x2528be,_0x3b5abe,!_0x1d163f)])?_0x2cd616=!0x0:!_0x1d163f||!(_0x3b5abe['altKey']||_0x3b5abe['metaKey']||_0x3b5abe['ctrlKey'])||_0x484137['windows']&&_0x3b5abe['ctrlKey']&&_0x3b5abe['altKey']||_0x484137['mac']&&_0x3b5abe['altKey']&&!_0x3b5abe['ctrlKey']&&!_0x3b5abe['metaKey']||!(_0x2e88b4=_0x12625a[_0x3b5abe['keyCode']])||_0x2e88b4==_0x2528be?_0x1d163f&&_0x3b5abe['shiftKey']&&_0x50355d(_0x555eda[_0x127df7+_0x1b492c(_0x2528be,_0x3b5abe,!0x0)])&&(_0x2cd616=!0x0):(_0x50355d(_0x555eda[_0x127df7+_0x1b492c(_0x2e88b4,_0x3b5abe,!0x0)])||_0x3b5abe['shiftKey']&&(_0x2ae1ed=shift[_0x3b5abe['keyCode']])!=_0x2528be&&_0x2ae1ed!=_0x2e88b4&&_0x50355d(_0x555eda[_0x127df7+_0x1b492c(_0x2ae1ed,_0x3b5abe,!0x1)]))&&(_0x2cd616=!0x0),!_0x2cd616&&_0x50355d(_0x555eda['_any'])&&(_0x2cd616=!0x0)),_0x2c467a&&(_0x2cd616=!0x0),_0x2cd616&&_0x25c757&&_0x3b5abe['stopPropagation'](),currentKeyEvent=null,_0x2cd616;}class RectangleMarker{constructor(_0xfc719a,_0x3331b2,_0x41c7b6,_0x3a00b8,_0x4c7dd6){this['className']=_0xfc719a,this['left']=_0x3331b2,this['top']=_0x41c7b6,this['width']=_0x3a00b8,this['height']=_0x4c7dd6;}['draw'](){let _0x1831ee=document['createElement']('div');return _0x1831ee['className']=this['className'],this['adjust'](_0x1831ee),_0x1831ee;}['update'](_0x255867,_0x5a5308){return _0x5a5308['className']==this['className']&&(this['adjust'](_0x255867),!0x0);}['adjust'](_0x2f74f1){_0x2f74f1['style']['left']=this['left']+'px',_0x2f74f1['style']['top']=this['top']+'px',null!=this['width']&&(_0x2f74f1['style']['width']=this['width']+'px'),_0x2f74f1['style']['height']=this['height']+'px';}['eq'](_0xbf4013){return this['left']==_0xbf4013['left']&&this['top']==_0xbf4013['top']&&this['width']==_0xbf4013['width']&&this['height']==_0xbf4013['height']&&this['className']==_0xbf4013['className'];}static['forRange'](_0x1f13bf,_0x19b746,_0x1cd32d){if(_0x1cd32d['empty']){let _0x566a39=_0x1f13bf['coordsAtPos'](_0x1cd32d['head'],_0x1cd32d['assoc']||0x1);if(!_0x566a39)return[];let _0x409320=getBase(_0x1f13bf);return[new RectangleMarker(_0x19b746,_0x566a39['left']-_0x409320['left'],_0x566a39['top']-_0x409320['top'],null,_0x566a39['bottom']-_0x566a39['top'])];}return rectanglesForRange(_0x1f13bf,_0x19b746,_0x1cd32d);}}function getBase(_0x258e4c){let _0x5372cc=_0x258e4c['scrollDOM']['getBoundingClientRect']();return{'left':(_0x258e4c['textDirection']==Direction['LTR']?_0x5372cc['left']:_0x5372cc['right']-_0x258e4c['scrollDOM']['clientWidth']*_0x258e4c['scaleX'])-_0x258e4c['scrollDOM']['scrollLeft']*_0x258e4c['scaleX'],'top':_0x5372cc['top']-_0x258e4c['scrollDOM']['scrollTop']*_0x258e4c['scaleY']};}function _0x518cbf(_0x37f263,_0x5f2e0a,_0x530193,_0x4d604c){let _0x23a221=_0x37f263['coordsAtPos'](_0x5f2e0a,0x2*_0x530193);if(!_0x23a221)return _0x4d604c;let _0x56d4a5=_0x37f263['dom']['getBoundingClientRect'](),_0x4e98da=(_0x23a221['top']+_0x23a221['bottom'])/0x2,_0x453103=_0x37f263['posAtCoords']({'x':_0x56d4a5['left']+0x1,'y':_0x4e98da}),_0x3068a0=_0x37f263['posAtCoords']({'x':_0x56d4a5['right']-0x1,'y':_0x4e98da});return null==_0x453103||null==_0x3068a0?_0x4d604c:{'from':Math['max'](_0x4d604c['from'],Math['min'](_0x453103,_0x3068a0)),'to':Math['min'](_0x4d604c['to'],Math['max'](_0x453103,_0x3068a0))};}function rectanglesForRange(_0x3dc643,_0x5c4757,_0x3486d2){if(_0x3486d2['to']<=_0x3dc643['viewport']['from']||_0x3486d2['from']>=_0x3dc643['viewport']['to'])return[];let _0x59576c=Math['max'](_0x3486d2['from'],_0x3dc643['viewport']['from']),_0x17fba1=Math['min'](_0x3486d2['to'],_0x3dc643['viewport']['to']),_0xe0e10=_0x3dc643['textDirection']==Direction['LTR'],_0x138812=_0x3dc643['contentDOM'],_0xcf8111=_0x138812['getBoundingClientRect'](),_0x26de0c=getBase(_0x3dc643),_0x3a4212=_0x138812['querySelector']('.cm-line'),_0x2155f9=_0x3a4212&&window['getComputedStyle'](_0x3a4212),_0x4e9abe=_0xcf8111['left']+(_0x2155f9?parseInt(_0x2155f9['paddingLeft'])+Math['min'](0x0,parseInt(_0x2155f9['textIndent'])):0x0),_0x2679d9=_0xcf8111['right']-(_0x2155f9?parseInt(_0x2155f9['paddingRight']):0x0),_0x5ba5bc=blockAt(_0x3dc643,_0x59576c,0x1),_0x173ffe=blockAt(_0x3dc643,_0x17fba1,-0x1),_0xb44ff3=_0x5ba5bc['type']==_0x491905['Text']?_0x5ba5bc:null,_0xe98ab3=_0x173ffe['type']==_0x491905['Text']?_0x173ffe:null;if(_0xb44ff3&&(_0x3dc643['lineWrapping']||_0x5ba5bc['widgetLineBreaks'])&&(_0xb44ff3=_0x518cbf(_0x3dc643,_0x59576c,0x1,_0xb44ff3)),_0xe98ab3&&(_0x3dc643['lineWrapping']||_0x173ffe['widgetLineBreaks'])&&(_0xe98ab3=_0x518cbf(_0x3dc643,_0x17fba1,-0x1,_0xe98ab3)),_0xb44ff3&&_0xe98ab3&&_0xb44ff3['from']==_0xe98ab3['from']&&_0xb44ff3['to']==_0xe98ab3['to'])return _0xf087a4(_0x2634fc(_0x3486d2['from'],_0x3486d2['to'],_0xb44ff3));{let _0x1ea765=_0xb44ff3?_0x2634fc(_0x3486d2['from'],null,_0xb44ff3):_0x420f65(_0x5ba5bc,!0x1),_0x4eb6ec=_0xe98ab3?_0x2634fc(null,_0x3486d2['to'],_0xe98ab3):_0x420f65(_0x173ffe,!0x0),_0x465fa5=[];return(_0xb44ff3||_0x5ba5bc)['to']<(_0xe98ab3||_0x173ffe)['from']-(_0xb44ff3&&_0xe98ab3?0x1:0x0)||_0x5ba5bc['widgetLineBreaks']>0x1&&_0x1ea765['bottom']+_0x3dc643['defaultLineHeight']/0x2<_0x4eb6ec['top']?_0x465fa5['push'](_0x209550(_0x4e9abe,_0x1ea765['bottom'],_0x2679d9,_0x4eb6ec['top'])):_0x1ea765['bottom']<_0x4eb6ec['top']&&_0x3dc643['elementAtHeight']((_0x1ea765['bottom']+_0x4eb6ec['top'])/0x2)['type']==_0x491905['Text']&&(_0x1ea765['bottom']=_0x4eb6ec['top']=(_0x1ea765['bottom']+_0x4eb6ec['top'])/0x2),_0xf087a4(_0x1ea765)['concat'](_0x465fa5)['concat'](_0xf087a4(_0x4eb6ec));}function _0x209550(_0x2bddbf,_0x3684cf,_0x552215,_0x1d6e5e){return new RectangleMarker(_0x5c4757,_0x2bddbf-_0x26de0c['left'],_0x3684cf-_0x26de0c['top'],_0x552215-_0x2bddbf,_0x1d6e5e-_0x3684cf);}function _0xf087a4({top:_0xbc865f,bottom:_0x297d86,horizontal:_0x3d0c26}){let _0x40f876=[];for(let _0x54ad25=0x0;_0x54ad25<_0x3d0c26['length'];_0x54ad25+=0x2)_0x40f876['push'](_0x209550(_0x3d0c26[_0x54ad25],_0xbc865f,_0x3d0c26[_0x54ad25+0x1],_0x297d86));return _0x40f876;}function _0x2634fc(_0x57a84d,_0x13fdf4,_0x32a8fd){let _0x5c0164=0x3b9aca00,_0x545a03=-0x3b9aca00,_0x2e45f7=[];function _0x49a636(_0x5f0210,_0x110f35,_0x26426e,_0x4c085b,_0x1e7d52){let _0x5cc9d1=_0x3dc643['coordsAtPos'](_0x5f0210,_0x5f0210==_0x32a8fd['to']?-0x2:0x2),_0x20ed22=_0x3dc643['coordsAtPos'](_0x26426e,_0x26426e==_0x32a8fd['from']?0x2:-0x2);_0x5cc9d1&&_0x20ed22&&(_0x5c0164=Math['min'](_0x5cc9d1['top'],_0x20ed22['top'],_0x5c0164),_0x545a03=Math['max'](_0x5cc9d1['bottom'],_0x20ed22['bottom'],_0x545a03),_0x1e7d52==Direction['LTR']?_0x2e45f7['push'](_0xe0e10&&_0x110f35?_0x4e9abe:_0x5cc9d1['left'],_0xe0e10&&_0x4c085b?_0x2679d9:_0x20ed22['right']):_0x2e45f7['push'](!_0xe0e10&&_0x4c085b?_0x4e9abe:_0x20ed22['left'],!_0xe0e10&&_0x110f35?_0x2679d9:_0x5cc9d1['right']));}let _0x4fe6bd=null!=_0x57a84d?_0x57a84d:_0x32a8fd['from'],_0x553646=null!=_0x13fdf4?_0x13fdf4:_0x32a8fd['to'];for(let _0x166b69 of _0x3dc643['visibleRanges'])if(_0x166b69['to']>_0x4fe6bd&&_0x166b69['from']<_0x553646)for(let _0x1ed192=Math['max'](_0x166b69['from'],_0x4fe6bd),_0x40b8ec=Math['min'](_0x166b69['to'],_0x553646);;){let _0x50ccdb=_0x3dc643['state']['doc']['lineAt'](_0x1ed192);for(let _0x8a936d of _0x3dc643['bidiSpans'](_0x50ccdb)){let _0x2633f0=_0x8a936d['from']+_0x50ccdb['from'],_0x4754a3=_0x8a936d['to']+_0x50ccdb['from'];if(_0x2633f0>=_0x40b8ec)break;_0x4754a3>_0x1ed192&&_0x49a636(Math['max'](_0x2633f0,_0x1ed192),null==_0x57a84d&&_0x2633f0<=_0x4fe6bd,Math['min'](_0x4754a3,_0x40b8ec),null==_0x13fdf4&&_0x4754a3>=_0x553646,_0x8a936d['dir']);}if(_0x1ed192=_0x50ccdb['to']+0x1,_0x1ed192>=_0x40b8ec)break;}return 0x0==_0x2e45f7['length']&&_0x49a636(_0x4fe6bd,null==_0x57a84d,_0x553646,null==_0x13fdf4,_0x3dc643['textDirection']),{'top':_0x5c0164,'bottom':_0x545a03,'horizontal':_0x2e45f7};}function _0x420f65(_0x12781e,_0x36b2d9){let _0x14d236=_0xcf8111['top']+(_0x36b2d9?_0x12781e['top']:_0x12781e['bottom']);return{'top':_0x14d236,'bottom':_0x14d236,'horizontal':[]};}}function _0xb4ebde(_0xd7ea88,_0x20c94d){return _0xd7ea88['constructor']==_0x20c94d['constructor']&&_0xd7ea88['eq'](_0x20c94d);}class _0xc057d6{constructor(_0x3268bd,_0x1b3b32){this['view']=_0x3268bd,this['layer']=_0x1b3b32,this['drawn']=[],this['scaleX']=0x1,this['scaleY']=0x1,this['measureReq']={'read':this['measure']['bind'](this),'write':this['draw']['bind'](this)},this['dom']=_0x3268bd['scrollDOM']['appendChild'](document['createElement']('div')),this['dom']['classList']['add']('cm-layer'),_0x1b3b32['above']&&this['dom']['classList']['add']('cm-layer-above'),_0x1b3b32['class']&&this['dom']['classList']['add'](_0x1b3b32['class']),this['scale'](),this['dom']['setAttribute']('aria-hidden','true'),this['setOrder'](_0x3268bd['state']),_0x3268bd['requestMeasure'](this['measureReq']),_0x1b3b32['mount']&&_0x1b3b32['mount'](this['dom'],_0x3268bd);}['update'](_0x2344d8){_0x2344d8['startState']['facet'](_0x2cdae2)!=_0x2344d8['state']['facet'](_0x2cdae2)&&this['setOrder'](_0x2344d8['state']),(this['layer']['update'](_0x2344d8,this['dom'])||_0x2344d8['geometryChanged'])&&(this['scale'](),_0x2344d8['view']['requestMeasure'](this['measureReq']));}['docViewUpdate'](_0x3c74ef){!0x1!==this['layer']['updateOnDocViewUpdate']&&_0x3c74ef['requestMeasure'](this['measureReq']);}['setOrder'](_0xff1547){let _0x2275bf=0x0,_0x53c990=_0xff1547['facet'](_0x2cdae2);for(;_0x2275bf<_0x53c990['length']&&_0x53c990[_0x2275bf]!=this['layer'];)_0x2275bf++;this['dom']['style']['zIndex']=String((this['layer']['above']?0x96:-0x1)-_0x2275bf);}['measure'](){return this['layer']['markers'](this['view']);}['scale'](){let {scaleX:_0xd581ae,scaleY:_0x2b908a}=this['view'];_0xd581ae==this['scaleX']&&_0x2b908a==this['scaleY']||(this['scaleX']=_0xd581ae,this['scaleY']=_0x2b908a,this['dom']['style']['transform']='scale('+0x1/_0xd581ae+',\x20'+0x1/_0x2b908a+')');}['draw'](_0x5aeb74){if(_0x5aeb74['length']!=this['drawn']['length']||_0x5aeb74['some']((_0x52ca4c,_0x5564bc)=>!_0xb4ebde(_0x52ca4c,this['drawn'][_0x5564bc]))){let _0x55ffcc=this['dom']['firstChild'],_0x4308d0=0x0;for(let _0x140a1e of _0x5aeb74)_0x140a1e['update']&&_0x55ffcc&&_0x140a1e['constructor']&&this['drawn'][_0x4308d0]['constructor']&&_0x140a1e['update'](_0x55ffcc,this['drawn'][_0x4308d0])?(_0x55ffcc=_0x55ffcc['nextSibling'],_0x4308d0++):this['dom']['insertBefore'](_0x140a1e['draw'](),_0x55ffcc);for(;_0x55ffcc;){let _0x25dd3f=_0x55ffcc['nextSibling'];_0x55ffcc['remove'](),_0x55ffcc=_0x25dd3f;}this['drawn']=_0x5aeb74,_0x484137['safari']&&_0x484137['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 _0x2cdae2=Facet['define']();function _0x406650(_0x3d3d2c){return[_0x5e6928['define'](_0xb5aeb7=>new _0xc057d6(_0xb5aeb7,_0x3d3d2c)),_0x2cdae2['of'](_0x3d3d2c)];}const selectionConfig=Facet['define']({'combine':_0x3db75c=>_0x2aed34(_0x3db75c,{'cursorBlinkRate':0x4b0,'drawRangeCursor':!0x0},{'cursorBlinkRate':(_0x3dfc5e,_0x3df7d2)=>Math['min'](_0x3dfc5e,_0x3df7d2),'drawRangeCursor':(_0x12d979,_0x3406cb)=>_0x12d979||_0x3406cb})});function drawSelection(_0x3b78a6={}){return[selectionConfig['of'](_0x3b78a6),_0x1fae21,selectionLayer,hideNativeSelection,nativeSelectionHidden['of'](!0x0)];}function _0x368487(_0x86be9a){return _0x86be9a['startState']['facet'](selectionConfig)!=_0x86be9a['state']['facet'](selectionConfig);}const _0x1fae21=_0x406650({'above':!0x0,'markers'(_0x1a5922){let {state:_0x33b6df}=_0x1a5922,_0x25bcc4=_0x33b6df['facet'](selectionConfig),_0x23d7fd=[];for(let _0x557550 of _0x33b6df['selection']['ranges']){let _0x2e40af=_0x557550==_0x33b6df['selection']['main'];if(_0x557550['empty']||_0x25bcc4['drawRangeCursor']){let _0x59a4bd=_0x2e40af?'cm-cursor\x20cm-cursor-primary':'cm-cursor\x20cm-cursor-secondary',_0x48ed06=_0x557550['empty']?_0x557550:EditorSelection['cursor'](_0x557550['head'],_0x557550['head']>_0x557550['anchor']?-0x1:0x1);for(let _0x706d97 of RectangleMarker['forRange'](_0x1a5922,_0x59a4bd,_0x48ed06))_0x23d7fd['push'](_0x706d97);}}return _0x23d7fd;},'update'(_0x149d6c,_0x3135ec){_0x149d6c['transactions']['some'](_0x5a4970=>_0x5a4970['selection'])&&(_0x3135ec['style']['animationName']='cm-blink'==_0x3135ec['style']['animationName']?'cm-blink2':'cm-blink');let _0x5e39d2=_0x368487(_0x149d6c);return _0x5e39d2&&setBlinkRate(_0x149d6c['state'],_0x3135ec),_0x149d6c['docChanged']||_0x149d6c['selectionSet']||_0x5e39d2;},'mount'(_0x145398,_0x34b73e){setBlinkRate(_0x34b73e['state'],_0x145398);},'class':'cm-cursorLayer'});function setBlinkRate(_0xa8943,_0x571b9a){_0x571b9a['style']['animationDuration']=_0xa8943['facet'](selectionConfig)['cursorBlinkRate']+'ms';}const selectionLayer=_0x406650({'above':!0x1,'markers':_0x5a0fc4=>_0x5a0fc4['state']['selection']['ranges']['map'](_0x385676=>_0x385676['empty']?[]:RectangleMarker['forRange'](_0x5a0fc4,'cm-selectionBackground',_0x385676))['reduce']((_0x13ea60,_0x2c9542)=>_0x13ea60['concat'](_0x2c9542)),'update':(_0x2a1afc,_0x29cd5b)=>_0x2a1afc['docChanged']||_0x2a1afc['selectionSet']||_0x2a1afc['viewportChanged']||_0x368487(_0x2a1afc),'class':'cm-selectionLayer'}),hideNativeSelection=_0x27d43b['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':(_0x5e055a,_0x3f1455)=>null==_0x5e055a?null:_0x3f1455['mapPos'](_0x5e055a)}),_0x554509=StateField['define']({'create':()=>null,'update':(_0x179df7,_0x14c44f)=>(null!=_0x179df7&&(_0x179df7=_0x14c44f['changes']['mapPos'](_0x179df7)),_0x14c44f['effects']['reduce']((_0x6f8bd3,_0x1ed8fd)=>_0x1ed8fd['is'](setDropCursorPos)?_0x1ed8fd['value']:_0x6f8bd3,_0x179df7))}),_0x5c5c26=_0x5e6928['fromClass'](class{constructor(_0x2b1061){this['view']=_0x2b1061,this['cursor']=null,this['measureReq']={'read':this['readPos']['bind'](this),'write':this['drawCursor']['bind'](this)};}['update'](_0x3ee10f){var _0x29be36;let _0x6e2bc8=_0x3ee10f['state']['field'](_0x554509);null==_0x6e2bc8?null!=this['cursor']&&(null===(_0x29be36=this['cursor'])||void 0x0===_0x29be36||_0x29be36['remove'](),this['cursor']=null):(this['cursor']||(this['cursor']=this['view']['scrollDOM']['appendChild'](document['createElement']('div')),this['cursor']['className']='cm-dropCursor'),(_0x3ee10f['startState']['field'](_0x554509)!=_0x6e2bc8||_0x3ee10f['docChanged']||_0x3ee10f['geometryChanged'])&&this['view']['requestMeasure'](this['measureReq']));}['readPos'](){let {view:_0x1b997d}=this,_0x24ac93=_0x1b997d['state']['field'](_0x554509),_0x4bc289=null!=_0x24ac93&&_0x1b997d['coordsAtPos'](_0x24ac93);if(!_0x4bc289)return null;let _0x155285=_0x1b997d['scrollDOM']['getBoundingClientRect']();return{'left':_0x4bc289['left']-_0x155285['left']+_0x1b997d['scrollDOM']['scrollLeft']*_0x1b997d['scaleX'],'top':_0x4bc289['top']-_0x155285['top']+_0x1b997d['scrollDOM']['scrollTop']*_0x1b997d['scaleY'],'height':_0x4bc289['bottom']-_0x4bc289['top']};}['drawCursor'](_0x2676ca){if(this['cursor']){let {scaleX:_0x99d05d,scaleY:_0x189664}=this['view'];_0x2676ca?(this['cursor']['style']['left']=_0x2676ca['left']/_0x99d05d+'px',this['cursor']['style']['top']=_0x2676ca['top']/_0x189664+'px',this['cursor']['style']['height']=_0x2676ca['height']/_0x189664+'px'):this['cursor']['style']['left']='-100000px';}}['destroy'](){this['cursor']&&this['cursor']['remove']();}['setDropPos'](_0x19ba62){this['view']['state']['field'](_0x554509)!=_0x19ba62&&this['view']['dispatch']({'effects':setDropCursorPos['of'](_0x19ba62)});}},{'eventObservers':{'dragover'(_0xfcafa6){this['setDropPos'](this['view']['posAtCoords']({'x':_0xfcafa6['clientX'],'y':_0xfcafa6['clientY']}));},'dragleave'(_0x4984dd){_0x4984dd['target']!=this['view']['contentDOM']&&this['view']['contentDOM']['contains'](_0x4984dd['relatedTarget'])||this['setDropPos'](null);},'dragend'(){this['setDropPos'](null);},'drop'(){this['setDropPos'](null);}}});function _0x5d52bd(){return[_0x554509,_0x5c5c26];}function iterMatches(_0x19f05e,_0x330bbf,_0x5de282,_0x2f706e,_0x4fe2da){_0x330bbf['lastIndex']=0x0;for(let _0x5d19fa,_0x536917=_0x19f05e['iterRange'](_0x5de282,_0x2f706e),_0x4a9305=_0x5de282;!_0x536917['next']()['done'];_0x4a9305+=_0x536917['value']['length'])if(!_0x536917['lineBreak']){for(;_0x5d19fa=_0x330bbf['exec'](_0x536917['value']);)_0x4fe2da(_0x4a9305+_0x5d19fa['index'],_0x5d19fa);}}function matchRanges(_0x7b3f8b,_0x39f968){let _0x39a397=_0x7b3f8b['visibleRanges'];if(0x1==_0x39a397['length']&&_0x39a397[0x0]['from']==_0x7b3f8b['viewport']['from']&&_0x39a397[0x0]['to']==_0x7b3f8b['viewport']['to'])return _0x39a397;let _0x6f03b1=[];for(let {from:_0x42cd5e,to:_0x2645a9}of _0x39a397)_0x42cd5e=Math['max'](_0x7b3f8b['state']['doc']['lineAt'](_0x42cd5e)['from'],_0x42cd5e-_0x39f968),_0x2645a9=Math['min'](_0x7b3f8b['state']['doc']['lineAt'](_0x2645a9)['to'],_0x2645a9+_0x39f968),_0x6f03b1['length']&&_0x6f03b1[_0x6f03b1['length']-0x1]['to']>=_0x42cd5e?_0x6f03b1[_0x6f03b1['length']-0x1]['to']=_0x2645a9:_0x6f03b1['push']({'from':_0x42cd5e,'to':_0x2645a9});return _0x6f03b1;}class MatchDecorator{constructor(_0x52b2ab){const {regexp:_0x133680,decoration:_0x2f8741,decorate:_0x223b68,boundary:_0x677e58,maxLength:_0x54c570=0x3e8}=_0x52b2ab;if(!_0x133680['global'])throw new RangeError('The\x20regular\x20expression\x20given\x20to\x20MatchDecorator\x20should\x20have\x20its\x20\x27g\x27\x20flag\x20set');if(this['regexp']=_0x133680,_0x223b68)this['addMatch']=(_0x10c51e,_0x13789d,_0x37d933,_0x8c8bc5)=>_0x223b68(_0x8c8bc5,_0x37d933,_0x37d933+_0x10c51e[0x0]['length'],_0x10c51e,_0x13789d);else{if('function'==typeof _0x2f8741)this['addMatch']=(_0x385199,_0x1d9e09,_0x360ae9,_0x3aeda5)=>{let _0x4a3652=_0x2f8741(_0x385199,_0x1d9e09,_0x360ae9);_0x4a3652&&_0x3aeda5(_0x360ae9,_0x360ae9+_0x385199[0x0]['length'],_0x4a3652);};else{if(!_0x2f8741)throw new RangeError('Either\x20\x27decorate\x27\x20or\x20\x27decoration\x27\x20should\x20be\x20provided\x20to\x20MatchDecorator');this['addMatch']=(_0xe855ee,_0x23a0bc,_0x12c6a4,_0x2b719f)=>_0x2b719f(_0x12c6a4,_0x12c6a4+_0xe855ee[0x0]['length'],_0x2f8741);}}this['boundary']=_0x677e58,this['maxLength']=_0x54c570;}['createDeco'](_0xf6b8fd){let _0x55ffa1=new RangeSetBuilder(),_0x5e4bee=_0x55ffa1['add']['bind'](_0x55ffa1);for(let {from:_0x5e465a,to:_0x4f8d8c}of matchRanges(_0xf6b8fd,this['maxLength']))iterMatches(_0xf6b8fd['state']['doc'],this['regexp'],_0x5e465a,_0x4f8d8c,(_0x155463,_0x5cac4d)=>this['addMatch'](_0x5cac4d,_0xf6b8fd,_0x155463,_0x5e4bee));return _0x55ffa1['finish']();}['updateDeco'](_0x46c6b9,_0x4badd9){let _0x30e41e=0x3b9aca00,_0x342a2f=-0x1;return _0x46c6b9['docChanged']&&_0x46c6b9['changes']['iterChanges']((_0x3e3b48,_0x188e5c,_0x1118a4,_0x5f26db)=>{_0x5f26db>=_0x46c6b9['view']['viewport']['from']&&_0x1118a4<=_0x46c6b9['view']['viewport']['to']&&(_0x30e41e=Math['min'](_0x1118a4,_0x30e41e),_0x342a2f=Math['max'](_0x5f26db,_0x342a2f));}),_0x46c6b9['viewportMoved']||_0x342a2f-_0x30e41e>0x3e8?this['createDeco'](_0x46c6b9['view']):_0x342a2f>-0x1?this['updateRange'](_0x46c6b9['view'],_0x4badd9['map'](_0x46c6b9['changes']),_0x30e41e,_0x342a2f):_0x4badd9;}['updateRange'](_0x425f4f,_0x14eb91,_0x5a368e,_0x472e21){for(let _0xa09f94 of _0x425f4f['visibleRanges']){let _0x36f2b5=Math['max'](_0xa09f94['from'],_0x5a368e),_0x3bd7cd=Math['min'](_0xa09f94['to'],_0x472e21);if(_0x3bd7cd>=_0x36f2b5){let _0x228571=_0x425f4f['state']['doc']['lineAt'](_0x36f2b5),_0x37461e=_0x228571['to']<_0x3bd7cd?_0x425f4f['state']['doc']['lineAt'](_0x3bd7cd):_0x228571,_0x3b9493=Math['max'](_0xa09f94['from'],_0x228571['from']),_0x22e299=Math['min'](_0xa09f94['to'],_0x37461e['to']);if(this['boundary']){for(;_0x36f2b5>_0x228571['from'];_0x36f2b5--)if(this['boundary']['test'](_0x228571['text'][_0x36f2b5-0x1-_0x228571['from']])){_0x3b9493=_0x36f2b5;break;}for(;_0x3bd7cd<_0x37461e['to'];_0x3bd7cd++)if(this['boundary']['test'](_0x37461e['text'][_0x3bd7cd-_0x37461e['from']])){_0x22e299=_0x3bd7cd;break;}}let _0x18f1bb,_0x591837=[],_0x4fad24=(_0x21c6a6,_0x1b7343,_0x407904)=>_0x591837['push'](_0x407904['range'](_0x21c6a6,_0x1b7343));if(_0x228571==_0x37461e){for(this['regexp']['lastIndex']=_0x3b9493-_0x228571['from'];(_0x18f1bb=this['regexp']['exec'](_0x228571['text']))&&_0x18f1bb['index']<_0x22e299-_0x228571['from'];)this['addMatch'](_0x18f1bb,_0x425f4f,_0x18f1bb['index']+_0x228571['from'],_0x4fad24);}else iterMatches(_0x425f4f['state']['doc'],this['regexp'],_0x3b9493,_0x22e299,(_0x13c852,_0x4e9bfc)=>this['addMatch'](_0x4e9bfc,_0x425f4f,_0x13c852,_0x4fad24));_0x14eb91=_0x14eb91['update']({'filterFrom':_0x3b9493,'filterTo':_0x22e299,'filter':(_0x399e6b,_0x16cc3f)=>_0x399e6b<_0x3b9493||_0x16cc3f>_0x22e299,'add':_0x591837});}}return _0x14eb91;}}const UnicodeRegexpSupport=null!=/x/['unicode']?'gu':'g',_0x1cefec=new RegExp('[\x00-\x08\x0a-\x1f\x7f-\u009f­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\ufeff￹-￼]',UnicodeRegexpSupport),_0x2e2e77={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 _0x212dfd;if(null==_supportsTabSize&&'undefined'!=typeof document&&document['body']){let _0x296e6e=document['body']['style'];_supportsTabSize=null!=(null!==(_0x212dfd=_0x296e6e['tabSize'])&&void 0x0!==_0x212dfd?_0x212dfd:_0x296e6e['MozTabSize']);}return _supportsTabSize||!0x1;}const _0x1aa07c=Facet['define']({'combine'(_0x69fef8){let _0x276969=_0x2aed34(_0x69fef8,{'render':null,'specialChars':_0x1cefec,'addSpecialChars':null});return(_0x276969['replaceTabs']=!supportsTabSize())&&(_0x276969['specialChars']=new RegExp('\x09|'+_0x276969['specialChars']['source'],UnicodeRegexpSupport)),_0x276969['addSpecialChars']&&(_0x276969['specialChars']=new RegExp(_0x276969['specialChars']['source']+'|'+_0x276969['addSpecialChars']['source'],UnicodeRegexpSupport)),_0x276969;}});function highlightSpecialChars(_0x5db350={}){return[_0x1aa07c['of'](_0x5db350),_0x2ecf76()];}let _0x1a0698=null;function _0x2ecf76(){return _0x1a0698||(_0x1a0698=_0x5e6928['fromClass'](class{constructor(_0x48fb6c){this['view']=_0x48fb6c,this['decorations']=Decoration['none'],this['decorationCache']=Object['create'](null),this['decorator']=this['makeDecorator'](_0x48fb6c['state']['facet'](_0x1aa07c)),this['decorations']=this['decorator']['createDeco'](_0x48fb6c);}['makeDecorator'](_0x574dff){return new MatchDecorator({'regexp':_0x574dff['specialChars'],'decoration':(_0x41dc5e,_0x4d2e57,_0x270a49)=>{let {doc:_0xdfcef9}=_0x4d2e57['state'],_0x2ec70d=codePointAt(_0x41dc5e[0x0],0x0);if(0x9==_0x2ec70d){let _0x23b4ae=_0xdfcef9['lineAt'](_0x270a49),_0x452732=_0x4d2e57['state']['tabSize'],_0x21d1cd=countColumn(_0x23b4ae['text'],_0x452732,_0x270a49-_0x23b4ae['from']);return Decoration['replace']({'widget':new TabWidget((_0x452732-_0x21d1cd%_0x452732)*this['view']['defaultCharacterWidth']/this['view']['scaleX'])});}return this['decorationCache'][_0x2ec70d]||(this['decorationCache'][_0x2ec70d]=Decoration['replace']({'widget':new SpecialCharWidget(_0x574dff,_0x2ec70d)}));},'boundary':_0x574dff['replaceTabs']?void 0x0:/[^]/});}['update'](_0x345bba){let _0x4c56eb=_0x345bba['state']['facet'](_0x1aa07c);_0x345bba['startState']['facet'](_0x1aa07c)!=_0x4c56eb?(this['decorator']=this['makeDecorator'](_0x4c56eb),this['decorations']=this['decorator']['createDeco'](_0x345bba['view'])):this['decorations']=this['decorator']['updateDeco'](_0x345bba,this['decorations']);}},{'decorations':_0x5cb7bc=>_0x5cb7bc['decorations']}));}const DefaultPlaceholder='•';function _0x5ef137(_0x47aaa3){return _0x47aaa3>=0x20?DefaultPlaceholder:0xa==_0x47aaa3?'␤':String['fromCharCode'](0x2400+_0x47aaa3);}class SpecialCharWidget extends WidgetType{constructor(_0x557707,_0x26770f){super(),this['options']=_0x557707,this['code']=_0x26770f;}['eq'](_0x1cca58){return _0x1cca58['code']==this['code'];}['toDOM'](_0x579e4){let _0x2eb919=_0x5ef137(this['code']),_0x260535=_0x579e4['state']['phrase']('Control\x20character')+'\x20'+(_0x2e2e77[this['code']]||'0x'+this['code']['toString'](0x10)),_0x1380c5=this['options']['render']&&this['options']['render'](this['code'],_0x260535,_0x2eb919);if(_0x1380c5)return _0x1380c5;let _0x6a63d8=document['createElement']('span');return _0x6a63d8['textContent']=_0x2eb919,_0x6a63d8['title']=_0x260535,_0x6a63d8['setAttribute']('aria-label',_0x260535),_0x6a63d8['className']='cm-specialChar',_0x6a63d8;}['ignoreEvent'](){return!0x1;}}class TabWidget extends WidgetType{constructor(_0xa729d5){super(),this['width']=_0xa729d5;}['eq'](_0x92ab41){return _0x92ab41['width']==this['width'];}['toDOM'](){let _0x1212b5=document['createElement']('span');return _0x1212b5['textContent']='\x09',_0x1212b5['className']='cm-tab',_0x1212b5['style']['width']=this['width']+'px',_0x1212b5;}['ignoreEvent'](){return!0x1;}}function highlightActiveLine(){return activeLineHighlighter;}const _0x1d3751=Decoration['line']({'class':'cm-activeLine'}),activeLineHighlighter=_0x5e6928['fromClass'](class{constructor(_0xe1fcc5){this['decorations']=this['getDeco'](_0xe1fcc5);}['update'](_0x4537d8){(_0x4537d8['docChanged']||_0x4537d8['selectionSet'])&&(this['decorations']=this['getDeco'](_0x4537d8['view']));}['getDeco'](_0x4d9582){let _0x5b7894=-0x1,_0x17b0b3=[];for(let _0x2c2825 of _0x4d9582['state']['selection']['ranges']){let _0x701128=_0x4d9582['lineBlockAt'](_0x2c2825['head']);_0x701128['from']>_0x5b7894&&(_0x17b0b3['push'](_0x1d3751['range'](_0x701128['from'])),_0x5b7894=_0x701128['from']);}return Decoration['set'](_0x17b0b3);}},{'decorations':_0xd6293c=>_0xd6293c['decorations']}),_0x327091=0x7d0;function rectangleFor(_0x37b292,_0x57fb10,_0x1b518e){let _0x4daeec=Math['min'](_0x57fb10['line'],_0x1b518e['line']),_0x153c93=Math['max'](_0x57fb10['line'],_0x1b518e['line']),_0x2bc989=[];if(_0x57fb10['off']>_0x327091||_0x1b518e['off']>_0x327091||_0x57fb10['col']<0x0||_0x1b518e['col']<0x0){let _0x2235d9=Math['min'](_0x57fb10['off'],_0x1b518e['off']),_0x647cef=Math['max'](_0x57fb10['off'],_0x1b518e['off']);for(let _0x1277df=_0x4daeec;_0x1277df<=_0x153c93;_0x1277df++){let _0x3b8c20=_0x37b292['doc']['line'](_0x1277df);_0x3b8c20['length']<=_0x647cef&&_0x2bc989['push'](EditorSelection['range'](_0x3b8c20['from']+_0x2235d9,_0x3b8c20['to']+_0x647cef));}}else{let _0x42eb9f=Math['min'](_0x57fb10['col'],_0x1b518e['col']),_0x35e94e=Math['max'](_0x57fb10['col'],_0x1b518e['col']);for(let _0x31fcc7=_0x4daeec;_0x31fcc7<=_0x153c93;_0x31fcc7++){let _0x12ccd2=_0x37b292['doc']['line'](_0x31fcc7),_0x3d4be4=_0xe80100(_0x12ccd2['text'],_0x42eb9f,_0x37b292['tabSize'],!0x0);if(_0x3d4be4<0x0)_0x2bc989['push'](EditorSelection['cursor'](_0x12ccd2['to']));else{let _0x4c0e55=_0xe80100(_0x12ccd2['text'],_0x35e94e,_0x37b292['tabSize']);_0x2bc989['push'](EditorSelection['range'](_0x12ccd2['from']+_0x3d4be4,_0x12ccd2['from']+_0x4c0e55));}}}return _0x2bc989;}function absoluteColumn(_0x18512d,_0x10ca2d){let _0xcadab4=_0x18512d['coordsAtPos'](_0x18512d['viewport']['from']);return _0xcadab4?Math['round'](Math['abs']((_0xcadab4['left']-_0x10ca2d)/_0x18512d['defaultCharacterWidth'])):-0x1;}function getPos(_0x447e44,_0x573c4f){let _0x38cd28=_0x447e44['posAtCoords']({'x':_0x573c4f['clientX'],'y':_0x573c4f['clientY']},!0x1),_0x634777=_0x447e44['state']['doc']['lineAt'](_0x38cd28),_0x4c6264=_0x38cd28-_0x634777['from'],_0x3ba7b9=_0x4c6264>_0x327091?-0x1:_0x4c6264==_0x634777['length']?absoluteColumn(_0x447e44,_0x573c4f['clientX']):countColumn(_0x634777['text'],_0x447e44['state']['tabSize'],_0x38cd28-_0x634777['from']);return{'line':_0x634777['number'],'col':_0x3ba7b9,'off':_0x4c6264};}function rectangleSelectionStyle(_0x18e899,_0x4dd2ef){let _0x578365=getPos(_0x18e899,_0x4dd2ef),_0x115424=_0x18e899['state']['selection'];return _0x578365?{'update'(_0x3cc392){if(_0x3cc392['docChanged']){let _0x205933=_0x3cc392['changes']['mapPos'](_0x3cc392['startState']['doc']['line'](_0x578365['line'])['from']),_0x109361=_0x3cc392['state']['doc']['lineAt'](_0x205933);_0x578365={'line':_0x109361['number'],'col':_0x578365['col'],'off':Math['min'](_0x578365['off'],_0x109361['length'])},_0x115424=_0x115424['map'](_0x3cc392['changes']);}},'get'(_0x96241f,_0x11264b,_0x463e9f){let _0x82fa5=getPos(_0x18e899,_0x96241f);if(!_0x82fa5)return _0x115424;let _0x35eff2=rectangleFor(_0x18e899['state'],_0x578365,_0x82fa5);return _0x35eff2['length']?_0x463e9f?EditorSelection['create'](_0x35eff2['concat'](_0x115424['ranges'])):EditorSelection['create'](_0x35eff2):_0x115424;}}:null;}function rectangularSelection(_0x5757bc){return EditorView['mouseSelectionStyle']['of']((_0x51691c,_0x5c2487)=>{return(_0x28bcd0=_0x5c2487)['altKey']&&0x0==_0x28bcd0['button']?rectangleSelectionStyle(_0x51691c,_0x5c2487):null;var _0x28bcd0;});}const _0xf41378={'Alt':[0x12,_0x495d79=>!!_0x495d79['altKey']],'Control':[0x11,_0x539683=>!!_0x539683['ctrlKey']],'Shift':[0x10,_0x47c0ae=>!!_0x47c0ae['shiftKey']],'Meta':[0x5b,_0x57a1e6=>!!_0x57a1e6['metaKey']]},_0x4a7609={'style':'cursor:\x20crosshair'};function _0x25833e(_0x2171fc={}){let [_0x3d365c,_0x5da046]=_0xf41378[_0x2171fc['key']||'Alt'],_0xb5b9be=_0x5e6928['fromClass'](class{constructor(_0x30c84e){this['view']=_0x30c84e,this['isDown']=!0x1;}['set'](_0x487fd6){this['isDown']!=_0x487fd6&&(this['isDown']=_0x487fd6,this['view']['update']([]));}},{'eventObservers':{'keydown'(_0xefe642){this['set'](_0xefe642['keyCode']==_0x3d365c||_0x5da046(_0xefe642));},'keyup'(_0x342868){_0x342868['keyCode']!=_0x3d365c&&_0x5da046(_0x342868)||this['set'](!0x1);},'mousemove'(_0x1481cc){this['set'](_0x5da046(_0x1481cc));}}});return[_0xb5b9be,EditorView['contentAttributes']['of'](_0x1ce519=>{var _0x2c6fb8;return(null===(_0x2c6fb8=_0x1ce519['plugin'](_0xb5b9be))||void 0x0===_0x2c6fb8?void 0x0:_0x2c6fb8['isDown'])?_0x4a7609:null;})];}const Outside='-10000px';class TooltipViewManager{constructor(_0x1a55fe,_0x40e3ee,_0x3ef52f,_0x3dc127){this['facet']=_0x40e3ee,this['createTooltipView']=_0x3ef52f,this['removeTooltipView']=_0x3dc127,this['input']=_0x1a55fe['state']['facet'](_0x40e3ee),this['tooltips']=this['input']['filter'](t=>t);let _0x52791e=null;this['tooltipViews']=this['tooltips']['map'](t=>_0x52791e=_0x3ef52f(t,_0x52791e));}['update'](_0x326c12,_0x24c087){var _0x42e904;let _0x5ad60c=_0x326c12['state']['facet'](this['facet']),_0x4e9918=_0x5ad60c['filter'](_0x19f797=>_0x19f797);if(_0x5ad60c===this['input']){for(let t of this['tooltipViews'])t['update']&&t['update'](_0x326c12);return!0x1;}let _0x36eb2d=[],_0x3c6989=_0x24c087?[]:null;for(let _0x3e2f01=0x0;_0x3e2f01<_0x4e9918['length'];_0x3e2f01++){let _0x309957=_0x4e9918[_0x3e2f01],_0x278abb=-0x1;if(_0x309957){for(let _0x1f24e0=0x0;_0x1f24e0<this['tooltips']['length'];_0x1f24e0++){let _0x5363c5=this['tooltips'][_0x1f24e0];_0x5363c5&&_0x5363c5['create']==_0x309957['create']&&(_0x278abb=_0x1f24e0);}if(_0x278abb<0x0)_0x36eb2d[_0x3e2f01]=this['createTooltipView'](_0x309957,_0x3e2f01?_0x36eb2d[_0x3e2f01-0x1]:null),_0x3c6989&&(_0x3c6989[_0x3e2f01]=!!_0x309957['above']);else{let _0x1c31ab=_0x36eb2d[_0x3e2f01]=this['tooltipViews'][_0x278abb];_0x3c6989&&(_0x3c6989[_0x3e2f01]=_0x24c087[_0x278abb]),_0x1c31ab['update']&&_0x1c31ab['update'](_0x326c12);}}}for(let t of this['tooltipViews'])_0x36eb2d['indexOf'](t)<0x0&&(this['removeTooltipView'](t),null===(_0x42e904=t['destroy'])||void 0x0===_0x42e904||_0x42e904['call'](t));return _0x24c087&&(_0x3c6989['forEach']((_0x3a15cb,_0x128430)=>_0x24c087[_0x128430]=_0x3a15cb),_0x24c087['length']=_0x3c6989['length']),this['input']=_0x5ad60c,this['tooltips']=_0x4e9918,this['tooltipViews']=_0x36eb2d,!0x0;}}function _0x161f6e(_0x3d0522){let _0x46a5fa=_0x3d0522['dom']['ownerDocument']['documentElement'];return{'top':0x0,'left':0x0,'bottom':_0x46a5fa['clientHeight'],'right':_0x46a5fa['clientWidth']};}const tooltipConfig=Facet['define']({'combine':_0x56473f=>{var _0x288cfe,_0x108946,_0x24c237;return{'position':_0x484137['ios']?'absolute':(null===(_0x288cfe=_0x56473f['find'](_0xc64e8f=>_0xc64e8f['position']))||void 0x0===_0x288cfe?void 0x0:_0x288cfe['position'])||'fixed','parent':(null===(_0x108946=_0x56473f['find'](_0x4ff329=>_0x4ff329['parent']))||void 0x0===_0x108946?void 0x0:_0x108946['parent'])||null,'tooltipSpace':(null===(_0x24c237=_0x56473f['find'](_0x1347a2=>_0x1347a2['tooltipSpace']))||void 0x0===_0x24c237?void 0x0:_0x24c237['tooltipSpace'])||_0x161f6e};}}),knownHeight=new WeakMap(),tooltipPlugin=_0x5e6928['fromClass'](class{constructor(_0x803b12){this['view']=_0x803b12,this['above']=[],this['inView']=!0x0,this['madeAbsolute']=!0x1,this['lastTransaction']=0x0,this['measureTimeout']=-0x1;let _0x134573=_0x803b12['state']['facet'](tooltipConfig);this['position']=_0x134573['position'],this['parent']=_0x134573['parent'],this['classes']=_0x803b12['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(_0x803b12,showTooltip,(t,_0x4002f4)=>this['createTooltip'](t,_0x4002f4),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(_0x2e4051=>{Date['now']()>this['lastTransaction']-0x32&&_0x2e4051['length']>0x0&&_0x2e4051[_0x2e4051['length']-0x1]['intersectionRatio']<0x1&&this['measureSoon']();},{'threshold':[0x1]}):null,this['observeIntersection'](),_0x803b12['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 _0x5aabea of this['manager']['tooltipViews'])this['intersectionObserver']['observe'](_0x5aabea['dom']);}}['measureSoon'](){this['measureTimeout']<0x0&&(this['measureTimeout']=setTimeout(()=>{this['measureTimeout']=-0x1,this['maybeMeasure']();},0x32));}['update'](_0x526dad){_0x526dad['transactions']['length']&&(this['lastTransaction']=Date['now']());let _0x77ca44=this['manager']['update'](_0x526dad,this['above']);_0x77ca44&&this['observeIntersection']();let _0x5f12e5=_0x77ca44||_0x526dad['geometryChanged'],_0x45ae7a=_0x526dad['state']['facet'](tooltipConfig);if(_0x45ae7a['position']!=this['position']&&!this['madeAbsolute']){this['position']=_0x45ae7a['position'];for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']=this['position'];_0x5f12e5=!0x0;}if(_0x45ae7a['parent']!=this['parent']){this['parent']&&this['container']['remove'](),this['parent']=_0x45ae7a['parent'],this['createContainer']();for(let t of this['manager']['tooltipViews'])this['container']['appendChild'](t['dom']);_0x5f12e5=!0x0;}else this['parent']&&this['view']['themeClasses']!=this['classes']&&(this['classes']=this['container']['className']=this['view']['themeClasses']);_0x5f12e5&&this['maybeMeasure']();}['createTooltip'](_0x36d461,_0x9673f7){let _0x4f8dab=_0x36d461['create'](this['view']),_0x26b989=_0x9673f7?_0x9673f7['dom']:null;if(_0x4f8dab['dom']['classList']['add']('cm-tooltip'),_0x36d461['arrow']&&!_0x4f8dab['dom']['querySelector']('.cm-tooltip\x20>\x20.cm-tooltip-arrow')){let _0xd71e95=document['createElement']('div');_0xd71e95['className']='cm-tooltip-arrow',_0x4f8dab['dom']['appendChild'](_0xd71e95);}return _0x4f8dab['dom']['style']['position']=this['position'],_0x4f8dab['dom']['style']['top']=Outside,_0x4f8dab['dom']['style']['left']='0px',this['container']['insertBefore'](_0x4f8dab['dom'],_0x26b989),_0x4f8dab['mount']&&_0x4f8dab['mount'](this['view']),this['resizeObserver']&&this['resizeObserver']['observe'](_0x4f8dab['dom']),_0x4f8dab;}['destroy'](){var _0x50baba,_0xcb9f35,_0x2bc01e;this['view']['win']['removeEventListener']('resize',this['measureSoon']);for(let _0x5adf6d of this['manager']['tooltipViews'])_0x5adf6d['dom']['remove'](),null===(_0x50baba=_0x5adf6d['destroy'])||void 0x0===_0x50baba||_0x50baba['call'](_0x5adf6d);this['parent']&&this['container']['remove'](),null===(_0xcb9f35=this['resizeObserver'])||void 0x0===_0xcb9f35||_0xcb9f35['disconnect'](),null===(_0x2bc01e=this['intersectionObserver'])||void 0x0===_0x2bc01e||_0x2bc01e['disconnect'](),clearTimeout(this['measureTimeout']);}['readMeasure'](){let _0x475838=0x1,_0x281ea8=0x1,_0xb027a1=!0x1;if('fixed'==this['position']&&this['manager']['tooltipViews']['length']){let {dom:_0x34fbaf}=this['manager']['tooltipViews'][0x0];if(_0x484137['gecko'])_0xb027a1=_0x34fbaf['offsetParent']!=this['container']['ownerDocument']['body'];else{if(_0x34fbaf['style']['top']==Outside&&'0px'==_0x34fbaf['style']['left']){let _0x224940=_0x34fbaf['getBoundingClientRect']();_0xb027a1=Math['abs'](_0x224940['top']+0x2710)>0x1||Math['abs'](_0x224940['left'])>0x1;}}}if(_0xb027a1||'absolute'==this['position']){if(this['parent']){let _0x151da0=this['parent']['getBoundingClientRect']();_0x151da0['width']&&_0x151da0['height']&&(_0x475838=_0x151da0['width']/this['parent']['offsetWidth'],_0x281ea8=_0x151da0['height']/this['parent']['offsetHeight']);}else({scaleX:_0x475838,scaleY:_0x281ea8}=this['view']['viewState']);}let _0x140d4d=this['view']['scrollDOM']['getBoundingClientRect'](),_0x2d4f1e=getScrollMargins(this['view']);return{'visible':{'left':_0x140d4d['left']+_0x2d4f1e['left'],'top':_0x140d4d['top']+_0x2d4f1e['top'],'right':_0x140d4d['right']-_0x2d4f1e['right'],'bottom':_0x140d4d['bottom']-_0x2d4f1e['bottom']},'parent':this['parent']?this['container']['getBoundingClientRect']():this['view']['dom']['getBoundingClientRect'](),'pos':this['manager']['tooltips']['map']((t,_0x1a5e77)=>{let _0x272d4a=this['manager']['tooltipViews'][_0x1a5e77];return _0x272d4a['getCoords']?_0x272d4a['getCoords'](t['pos']):this['view']['coordsAtPos'](t['pos']);}),'size':this['manager']['tooltipViews']['map'](({dom:_0x3644f7})=>_0x3644f7['getBoundingClientRect']()),'space':this['view']['state']['facet'](tooltipConfig)['tooltipSpace'](this['view']),'scaleX':_0x475838,'scaleY':_0x281ea8,'makeAbsolute':_0xb027a1};}['writeMeasure'](_0x43085a){var _0x2e7b71;if(_0x43085a['makeAbsolute']){this['madeAbsolute']=!0x0,this['position']='absolute';for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']='absolute';}let {visible:_0x5d7d3f,space:_0x454d20,scaleX:_0x26f6f0,scaleY:_0x1cd06d}=_0x43085a,_0x251a06=[];for(let _0xd85927=0x0;_0xd85927<this['manager']['tooltips']['length'];_0xd85927++){let _0x53d13b=this['manager']['tooltips'][_0xd85927],_0x54ac97=this['manager']['tooltipViews'][_0xd85927],{dom:_0x392da1}=_0x54ac97,_0x2323f4=_0x43085a['pos'][_0xd85927],_0x3a9089=_0x43085a['size'][_0xd85927];if(!_0x2323f4||!0x1!==_0x53d13b['clip']&&(_0x2323f4['bottom']<=Math['max'](_0x5d7d3f['top'],_0x454d20['top'])||_0x2323f4['top']>=Math['min'](_0x5d7d3f['bottom'],_0x454d20['bottom'])||_0x2323f4['right']<Math['max'](_0x5d7d3f['left'],_0x454d20['left'])-0.1||_0x2323f4['left']>Math['min'](_0x5d7d3f['right'],_0x454d20['right'])+0.1)){_0x392da1['style']['top']=Outside;continue;}let _0x5e9a24=_0x53d13b['arrow']?_0x54ac97['dom']['querySelector']('.cm-tooltip-arrow'):null,_0x48709e=_0x5e9a24?0x7:0x0,_0x42a189=_0x3a9089['right']-_0x3a9089['left'],_0x23e631=null!==(_0x2e7b71=knownHeight['get'](_0x54ac97))&&void 0x0!==_0x2e7b71?_0x2e7b71:_0x3a9089['bottom']-_0x3a9089['top'],_0x4f4f1c=_0x54ac97['offset']||noOffset,_0x4d0c7d=this['view']['textDirection']==Direction['LTR'],_0x4522ae=_0x3a9089['width']>_0x454d20['right']-_0x454d20['left']?_0x4d0c7d?_0x454d20['left']:_0x454d20['right']-_0x3a9089['width']:_0x4d0c7d?Math['max'](_0x454d20['left'],Math['min'](_0x2323f4['left']-(_0x5e9a24?0xe:0x0)+_0x4f4f1c['x'],_0x454d20['right']-_0x42a189)):Math['min'](Math['max'](_0x454d20['left'],_0x2323f4['left']-_0x42a189+(_0x5e9a24?0xe:0x0)-_0x4f4f1c['x']),_0x454d20['right']-_0x42a189),_0x471aaf=this['above'][_0xd85927];!_0x53d13b['strictSide']&&(_0x471aaf?_0x2323f4['top']-_0x23e631-_0x48709e-_0x4f4f1c['y']<_0x454d20['top']:_0x2323f4['bottom']+_0x23e631+_0x48709e+_0x4f4f1c['y']>_0x454d20['bottom'])&&_0x471aaf==_0x454d20['bottom']-_0x2323f4['bottom']>_0x2323f4['top']-_0x454d20['top']&&(_0x471aaf=this['above'][_0xd85927]=!_0x471aaf);let _0x3aac9c=(_0x471aaf?_0x2323f4['top']-_0x454d20['top']:_0x454d20['bottom']-_0x2323f4['bottom'])-_0x48709e;if(_0x3aac9c<_0x23e631&&!0x1!==_0x54ac97['resize']){if(_0x3aac9c<this['view']['defaultLineHeight']){_0x392da1['style']['top']=Outside;continue;}knownHeight['set'](_0x54ac97,_0x23e631),_0x392da1['style']['height']=(_0x23e631=_0x3aac9c)/_0x1cd06d+'px';}else _0x392da1['style']['height']&&(_0x392da1['style']['height']='');let _0x22e6ed=_0x471aaf?_0x2323f4['top']-_0x23e631-_0x48709e-_0x4f4f1c['y']:_0x2323f4['bottom']+_0x48709e+_0x4f4f1c['y'],_0x2bc3e6=_0x4522ae+_0x42a189;if(!0x0!==_0x54ac97['overlap']){for(let _0x57b20d of _0x251a06)_0x57b20d['left']<_0x2bc3e6&&_0x57b20d['right']>_0x4522ae&&_0x57b20d['top']<_0x22e6ed+_0x23e631&&_0x57b20d['bottom']>_0x22e6ed&&(_0x22e6ed=_0x471aaf?_0x57b20d['top']-_0x23e631-0x2-_0x48709e:_0x57b20d['bottom']+_0x48709e+0x2);}if('absolute'==this['position']?(_0x392da1['style']['top']=(_0x22e6ed-_0x43085a['parent']['top'])/_0x1cd06d+'px',setLeftStyle(_0x392da1,(_0x4522ae-_0x43085a['parent']['left'])/_0x26f6f0)):(_0x392da1['style']['top']=_0x22e6ed/_0x1cd06d+'px',setLeftStyle(_0x392da1,_0x4522ae/_0x26f6f0)),_0x5e9a24){let _0x5d63e3=_0x2323f4['left']+(_0x4d0c7d?_0x4f4f1c['x']:-_0x4f4f1c['x'])-(_0x4522ae+0xe-0x7);_0x5e9a24['style']['left']=_0x5d63e3/_0x26f6f0+'px';}!0x0!==_0x54ac97['overlap']&&_0x251a06['push']({'left':_0x4522ae,'top':_0x22e6ed,'right':_0x2bc3e6,'bottom':_0x22e6ed+_0x23e631}),_0x392da1['classList']['toggle']('cm-tooltip-above',_0x471aaf),_0x392da1['classList']['toggle']('cm-tooltip-below',!_0x471aaf),_0x54ac97['positioned']&&_0x54ac97['positioned'](_0x43085a['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 _0x4170d9 of this['manager']['tooltipViews'])_0x4170d9['dom']['style']['top']=Outside;}}},{'eventObservers':{'scroll'(){this['maybeMeasure']();}}});function setLeftStyle(_0x2c653e,_0x2a8695){let _0x4761bc=parseInt(_0x2c653e['style']['left'],0xa);(isNaN(_0x4761bc)||Math['abs'](_0x2a8695-_0x4761bc)>0x1)&&(_0x2c653e['style']['left']=_0x2a8695+'px');}const _0x50648f=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,_0x50648f]});function getTooltip(_0x300364,_0x1a22dd){let _0x33b624=_0x300364['plugin'](tooltipPlugin);if(!_0x33b624)return null;let _0x2feb08=_0x33b624['manager']['tooltips']['indexOf'](_0x1a22dd);return _0x2feb08<0x0?null:_0x33b624['manager']['tooltipViews'][_0x2feb08];}class GutterMarker extends _0x23adea{['compare'](_0x42db88){return this==_0x42db88||this['constructor']==_0x42db88['constructor']&&this['eq'](_0x42db88);}['eq'](_0x38bc30){return!0x1;}['destroy'](_0x399274){}}GutterMarker['prototype']['elementClass']='',GutterMarker['prototype']['toDOM']=void 0x0,GutterMarker['prototype']['mapMode']=_0x7e2fb5['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(_0x4dd7c5){return[gutters(),activeGutters['of']({...defaults$1,..._0x4dd7c5})];}const unfixGutters=Facet['define']({'combine':_0x4564ef=>_0x4564ef['some'](_0x9797ba=>_0x9797ba)});function gutters(_0x536746){return[gutterView];}const gutterView=_0x5e6928['fromClass'](class{constructor(_0x30ef47){this['view']=_0x30ef47,this['domAfter']=null,this['prevViewport']=_0x30ef47['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']=_0x30ef47['state']['facet'](activeGutters)['map'](_0x369302=>new SingleGutterView(_0x30ef47,_0x369302)),this['fixed']=!_0x30ef47['state']['facet'](unfixGutters);for(let _0x620736 of this['gutters'])'after'==_0x620736['config']['side']?this['getDOMAfter']()['appendChild'](_0x620736['dom']):this['dom']['appendChild'](_0x620736['dom']);this['fixed']&&(this['dom']['style']['position']='sticky'),this['syncGutters'](!0x1),_0x30ef47['scrollDOM']['insertBefore'](this['dom'],_0x30ef47['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'](_0x19ba7d){if(this['updateGutters'](_0x19ba7d)){let _0x3560fc=this['prevViewport'],_0x165dba=_0x19ba7d['view']['viewport'],_0x407dae=Math['min'](_0x3560fc['to'],_0x165dba['to'])-Math['max'](_0x3560fc['from'],_0x165dba['from']);this['syncGutters'](_0x407dae<0.8*(_0x165dba['to']-_0x165dba['from']));}if(_0x19ba7d['geometryChanged']){let _0x57ccbe=this['view']['contentHeight']/this['view']['scaleY']+'px';this['dom']['style']['minHeight']=_0x57ccbe,this['domAfter']&&(this['domAfter']['style']['minHeight']=_0x57ccbe);}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']=_0x19ba7d['view']['viewport'];}['syncGutters'](_0x185044){let _0x503fc6=this['dom']['nextSibling'];_0x185044&&(this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']());let _0x33367e=RangeSet['iter'](this['view']['state']['facet'](gutterLineClass),this['view']['viewport']['from']),_0x4144a3=[],_0x4a018e=this['gutters']['map'](_0x48577f=>new UpdateContext(_0x48577f,this['view']['viewport'],-this['view']['documentPadding']['top']));for(let _0x25b297 of this['view']['viewportLineBlocks'])if(_0x4144a3['length']&&(_0x4144a3=[]),Array['isArray'](_0x25b297['type'])){let _0x5236d0=!0x0;for(let _0x407be8 of _0x25b297['type'])if(_0x407be8['type']==_0x491905['Text']&&_0x5236d0){_0x12b70f(_0x33367e,_0x4144a3,_0x407be8['from']);for(let _0x4c2d0f of _0x4a018e)_0x4c2d0f['line'](this['view'],_0x407be8,_0x4144a3);_0x5236d0=!0x1;}else{if(_0x407be8['widget']){for(let _0x4a7845 of _0x4a018e)_0x4a7845['widget'](this['view'],_0x407be8);}}}else{if(_0x25b297['type']==_0x491905['Text']){_0x12b70f(_0x33367e,_0x4144a3,_0x25b297['from']);for(let _0x2a6b07 of _0x4a018e)_0x2a6b07['line'](this['view'],_0x25b297,_0x4144a3);}else{if(_0x25b297['widget']){for(let _0x383298 of _0x4a018e)_0x383298['widget'](this['view'],_0x25b297);}}}for(let _0x410500 of _0x4a018e)_0x410500['finish']();_0x185044&&(this['view']['scrollDOM']['insertBefore'](this['dom'],_0x503fc6),this['domAfter']&&this['view']['scrollDOM']['appendChild'](this['domAfter']));}['updateGutters'](_0x23c77b){let _0x476a94=_0x23c77b['startState']['facet'](activeGutters),_0x280100=_0x23c77b['state']['facet'](activeGutters),_0x5ce84a=_0x23c77b['docChanged']||_0x23c77b['heightChanged']||_0x23c77b['viewportChanged']||!RangeSet['eq'](_0x23c77b['startState']['facet'](gutterLineClass),_0x23c77b['state']['facet'](gutterLineClass),_0x23c77b['view']['viewport']['from'],_0x23c77b['view']['viewport']['to']);if(_0x476a94==_0x280100){for(let _0x146f88 of this['gutters'])_0x146f88['update'](_0x23c77b)&&(_0x5ce84a=!0x0);}else{_0x5ce84a=!0x0;let _0x1bee18=[];for(let _0x4edac7 of _0x280100){let _0x41dccb=_0x476a94['indexOf'](_0x4edac7);_0x41dccb<0x0?_0x1bee18['push'](new SingleGutterView(this['view'],_0x4edac7)):(this['gutters'][_0x41dccb]['update'](_0x23c77b),_0x1bee18['push'](this['gutters'][_0x41dccb]));}for(let _0x4e8c49 of this['gutters'])_0x4e8c49['dom']['remove'](),_0x1bee18['indexOf'](_0x4e8c49)<0x0&&_0x4e8c49['destroy']();for(let _0x5a1ecf of _0x1bee18)'after'==_0x5a1ecf['config']['side']?this['getDOMAfter']()['appendChild'](_0x5a1ecf['dom']):this['dom']['appendChild'](_0x5a1ecf['dom']);this['gutters']=_0x1bee18;}return _0x5ce84a;}['destroy'](){for(let _0x5aa6e5 of this['gutters'])_0x5aa6e5['destroy']();this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']();}},{'provide':_0xa730ff=>EditorView['scrollMargins']['of'](_0x15e10a=>{let _0x12d771=_0x15e10a['plugin'](_0xa730ff);if(!_0x12d771||0x0==_0x12d771['gutters']['length']||!_0x12d771['fixed'])return null;let _0x1f484d=_0x12d771['dom']['offsetWidth']*_0x15e10a['scaleX'],_0x47cdc9=_0x12d771['domAfter']?_0x12d771['domAfter']['offsetWidth']*_0x15e10a['scaleX']:0x0;return _0x15e10a['textDirection']==Direction['LTR']?{'left':_0x1f484d,'right':_0x47cdc9}:{'right':_0x1f484d,'left':_0x47cdc9};})});function _0x2db19d(_0x26b6eb){return Array['isArray'](_0x26b6eb)?_0x26b6eb:[_0x26b6eb];}function _0x12b70f(_0xe5198e,_0x751614,_0x721515){for(;_0xe5198e['value']&&_0xe5198e['from']<=_0x721515;)_0xe5198e['from']==_0x721515&&_0x751614['push'](_0xe5198e['value']),_0xe5198e['next']();}class UpdateContext{constructor(_0x2c54bb,_0x344ccc,_0x21a018){this['gutter']=_0x2c54bb,this['height']=_0x21a018,this['i']=0x0,this['cursor']=RangeSet['iter'](_0x2c54bb['markers'],_0x344ccc['from']);}['addElement'](_0x541168,_0x3dcf1b,_0x275ab5){let {gutter:_0xbbd73d}=this,_0x5f110e=(_0x3dcf1b['top']-this['height'])/_0x541168['scaleY'],_0x22698c=_0x3dcf1b['height']/_0x541168['scaleY'];if(this['i']==_0xbbd73d['elements']['length']){let _0x1a0a48=new GutterElement(_0x541168,_0x22698c,_0x5f110e,_0x275ab5);_0xbbd73d['elements']['push'](_0x1a0a48),_0xbbd73d['dom']['appendChild'](_0x1a0a48['dom']);}else _0xbbd73d['elements'][this['i']]['update'](_0x541168,_0x22698c,_0x5f110e,_0x275ab5);this['height']=_0x3dcf1b['bottom'],this['i']++;}['line'](_0x292baf,_0x3b0505,_0x58593e){let _0x755a0c=[];_0x12b70f(this['cursor'],_0x755a0c,_0x3b0505['from']),_0x58593e['length']&&(_0x755a0c=_0x755a0c['concat'](_0x58593e));let _0x5e7bf5=this['gutter']['config']['lineMarker'](_0x292baf,_0x3b0505,_0x755a0c);_0x5e7bf5&&_0x755a0c['unshift'](_0x5e7bf5);let _0x31a801=this['gutter'];(0x0!=_0x755a0c['length']||_0x31a801['config']['renderEmptyElements'])&&this['addElement'](_0x292baf,_0x3b0505,_0x755a0c);}['widget'](_0x3d8ba6,_0x31d8cb){let _0x37f4cb=this['gutter']['config']['widgetMarker'](_0x3d8ba6,_0x31d8cb['widget'],_0x31d8cb),_0x3402c0=_0x37f4cb?[_0x37f4cb]:null;for(let _0x5d6622 of _0x3d8ba6['state']['facet'](gutterWidgetClass)){let _0x2c6aee=_0x5d6622(_0x3d8ba6,_0x31d8cb['widget'],_0x31d8cb);_0x2c6aee&&(_0x3402c0||(_0x3402c0=[]))['push'](_0x2c6aee);}_0x3402c0&&this['addElement'](_0x3d8ba6,_0x31d8cb,_0x3402c0);}['finish'](){let _0x1aaa17=this['gutter'];for(;_0x1aaa17['elements']['length']>this['i'];){let _0x595610=_0x1aaa17['elements']['pop']();_0x1aaa17['dom']['removeChild'](_0x595610['dom']),_0x595610['destroy']();}}}class SingleGutterView{constructor(_0x23fd71,_0x1b2a05){this['view']=_0x23fd71,this['config']=_0x1b2a05,this['elements']=[],this['spacer']=null,this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutter'+(this['config']['class']?'\x20'+this['config']['class']:'');for(let _0x23635c in _0x1b2a05['domEventHandlers'])this['dom']['addEventListener'](_0x23635c,_0x12e2e6=>{let _0x238a20,_0x32880a=_0x12e2e6['target'];if(_0x32880a!=this['dom']&&this['dom']['contains'](_0x32880a)){for(;_0x32880a['parentNode']!=this['dom'];)_0x32880a=_0x32880a['parentNode'];let _0x16e492=_0x32880a['getBoundingClientRect']();_0x238a20=(_0x16e492['top']+_0x16e492['bottom'])/0x2;}else _0x238a20=_0x12e2e6['clientY'];let _0x550a6c=_0x23fd71['lineBlockAtHeight'](_0x238a20-_0x23fd71['documentTop']);_0x1b2a05['domEventHandlers'][_0x23635c](_0x23fd71,_0x550a6c,_0x12e2e6)&&_0x12e2e6['preventDefault']();});this['markers']=_0x2db19d(_0x1b2a05['markers'](_0x23fd71)),_0x1b2a05['initialSpacer']&&(this['spacer']=new GutterElement(_0x23fd71,0x0,0x0,[_0x1b2a05['initialSpacer'](_0x23fd71)]),this['dom']['appendChild'](this['spacer']['dom']),this['spacer']['dom']['style']['cssText']+='visibility:\x20hidden;\x20pointer-events:\x20none');}['update'](_0x35eefb){let _0x24fca5=this['markers'];if(this['markers']=_0x2db19d(this['config']['markers'](_0x35eefb['view'])),this['spacer']&&this['config']['updateSpacer']){let _0x5b5975=this['config']['updateSpacer'](this['spacer']['markers'][0x0],_0x35eefb);_0x5b5975!=this['spacer']['markers'][0x0]&&this['spacer']['update'](_0x35eefb['view'],0x0,0x0,[_0x5b5975]);}let _0x30dc84=_0x35eefb['view']['viewport'];return!RangeSet['eq'](this['markers'],_0x24fca5,_0x30dc84['from'],_0x30dc84['to'])||!!this['config']['lineMarkerChange']&&this['config']['lineMarkerChange'](_0x35eefb);}['destroy'](){for(let _0x4640e0 of this['elements'])_0x4640e0['destroy']();}}class GutterElement{constructor(_0x1407c6,_0x4dc50b,_0x2836b8,_0x58583b){this['height']=-0x1,this['above']=0x0,this['markers']=[],this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutterElement',this['update'](_0x1407c6,_0x4dc50b,_0x2836b8,_0x58583b);}['update'](_0x1ed541,_0x5ead34,_0x9d6317,_0x2045c4){this['height']!=_0x5ead34&&(this['height']=_0x5ead34,this['dom']['style']['height']=_0x5ead34+'px'),this['above']!=_0x9d6317&&(this['dom']['style']['marginTop']=(this['above']=_0x9d6317)?_0x9d6317+'px':''),_0x5eaee1(this['markers'],_0x2045c4)||this['setMarkers'](_0x1ed541,_0x2045c4);}['setMarkers'](_0x408cd0,_0x166f97){let _0x16e6a2='cm-gutterElement',_0x360595=this['dom']['firstChild'];for(let _0x15fc22=0x0,_0x27b315=0x0;;){let _0x252d1c=_0x27b315,_0x6dfafe=_0x15fc22<_0x166f97['length']?_0x166f97[_0x15fc22++]:null,_0x385164=!0x1;if(_0x6dfafe){let _0x423929=_0x6dfafe['elementClass'];_0x423929&&(_0x16e6a2+='\x20'+_0x423929);for(let _0x35d290=_0x27b315;_0x35d290<this['markers']['length'];_0x35d290++)if(this['markers'][_0x35d290]['compare'](_0x6dfafe)){_0x252d1c=_0x35d290,_0x385164=!0x0;break;}}else _0x252d1c=this['markers']['length'];for(;_0x27b315<_0x252d1c;){let _0x1da6b1=this['markers'][_0x27b315++];if(_0x1da6b1['toDOM']){_0x1da6b1['destroy'](_0x360595);let _0x321b61=_0x360595['nextSibling'];_0x360595['remove'](),_0x360595=_0x321b61;}}if(!_0x6dfafe)break;_0x6dfafe['toDOM']&&(_0x385164?_0x360595=_0x360595['nextSibling']:this['dom']['insertBefore'](_0x6dfafe['toDOM'](_0x408cd0),_0x360595)),_0x385164&&_0x27b315++;}this['dom']['className']=_0x16e6a2,this['markers']=_0x166f97;}['destroy'](){this['setMarkers'](null,[]);}}function _0x5eaee1(_0x5cb7b2,_0x2e162e){if(_0x5cb7b2['length']!=_0x2e162e['length'])return!0x1;for(let _0x191044=0x0;_0x191044<_0x5cb7b2['length'];_0x191044++)if(!_0x5cb7b2[_0x191044]['compare'](_0x2e162e[_0x191044]))return!0x1;return!0x0;}const _0x2dee55=Facet['define'](),lineNumberWidgetMarker=Facet['define'](),_0x1138f4=Facet['define']({'combine':_0x1d705c=>_0x2aed34(_0x1d705c,{'formatNumber':String,'domEventHandlers':{}},{'domEventHandlers'(_0x692e42,_0x36d531){let _0xc4cba6=Object['assign']({},_0x692e42);for(let _0x25930f in _0x36d531){let _0xeb431c=_0xc4cba6[_0x25930f],_0x11472a=_0x36d531[_0x25930f];_0xc4cba6[_0x25930f]=_0xeb431c?(_0x5896a3,_0x43694c,_0x38fe0e)=>_0xeb431c(_0x5896a3,_0x43694c,_0x38fe0e)||_0x11472a(_0x5896a3,_0x43694c,_0x38fe0e):_0x11472a;}return _0xc4cba6;}})});class _0x4e0d9f extends GutterMarker{constructor(_0x13a14e){super(),this['number']=_0x13a14e;}['eq'](_0x502a45){return this['number']==_0x502a45['number'];}['toDOM'](){return document['createTextNode'](this['number']);}}function formatNumber(_0x3fb2fd,_0x522494){return _0x3fb2fd['state']['facet'](_0x1138f4)['formatNumber'](_0x522494,_0x3fb2fd['state']);}const lineNumberGutter=activeGutters['compute']([_0x1138f4],_0x43c195=>({'class':'cm-lineNumbers','renderEmptyElements':!0x1,'markers':_0x42f2f2=>_0x42f2f2['state']['facet'](_0x2dee55),'lineMarker':(_0x48c801,_0x885200,_0x4c2746)=>_0x4c2746['some'](_0x4636ff=>_0x4636ff['toDOM'])?null:new _0x4e0d9f(formatNumber(_0x48c801,_0x48c801['state']['doc']['lineAt'](_0x885200['from'])['number'])),'widgetMarker':(_0x1d9ee5,_0x193982,_0x3c7f58)=>{for(let _0x5ea3b4 of _0x1d9ee5['state']['facet'](lineNumberWidgetMarker)){let _0x4d6336=_0x5ea3b4(_0x1d9ee5,_0x193982,_0x3c7f58);if(_0x4d6336)return _0x4d6336;}return null;},'lineMarkerChange':_0x3411ef=>_0x3411ef['startState']['facet'](_0x1138f4)!=_0x3411ef['state']['facet'](_0x1138f4),'initialSpacer':_0xf1810a=>new _0x4e0d9f(formatNumber(_0xf1810a,_0x33c507(_0xf1810a['state']['doc']['lines']))),'updateSpacer'(_0x5c5978,_0x8e010){let _0x102635=formatNumber(_0x8e010['view'],_0x33c507(_0x8e010['view']['state']['doc']['lines']));return _0x102635==_0x5c5978['number']?_0x5c5978:new _0x4e0d9f(_0x102635);},'domEventHandlers':_0x43c195['facet'](_0x1138f4)['domEventHandlers'],'side':'before'}));function _0x26cd3a(_0x4a57dd={}){return[_0x1138f4['of'](_0x4a57dd),gutters(),lineNumberGutter];}function _0x33c507(_0x8d1e61){let _0x409550=0x9;for(;_0x409550<_0x8d1e61;)_0x409550=0xa*_0x409550+0x9;return _0x409550;}const activeLineGutterMarker=new class extends GutterMarker{constructor(){super(...arguments),this['elementClass']='cm-activeLineGutter';}}(),activeLineGutterHighlighter=gutterLineClass['compute'](['selection'],_0x5cb4be=>{let _0x2c45c6=[],_0x44c136=-0x1;for(let _0x5ec80b of _0x5cb4be['selection']['ranges']){let _0x284929=_0x5cb4be['doc']['lineAt'](_0x5ec80b['head'])['from'];_0x284929>_0x44c136&&(_0x44c136=_0x284929,_0x2c45c6['push'](activeLineGutterMarker['range'](_0x284929)));}return RangeSet['of'](_0x2c45c6);});function highlightActiveLineGutter(){return activeLineGutterHighlighter;}const DefaultBufferLength=0x400;let nextPropID=0x0;class _0x58a4f4{constructor(_0x4ede7c,_0x1a1229){this['from']=_0x4ede7c,this['to']=_0x1a1229;}}class _0x4ee311{constructor(_0x51bf1f={}){this['id']=nextPropID++,this['perNode']=!!_0x51bf1f['perNode'],this['deserialize']=_0x51bf1f['deserialize']||(()=>{throw new Error('This\x20node\x20type\x20doesn\x27t\x20define\x20a\x20deserialize\x20function');}),this['combine']=_0x51bf1f['combine']||null;}['add'](_0x5c9c1c){if(this['perNode'])throw new RangeError('Can\x27t\x20add\x20per-node\x20props\x20to\x20node\x20types');return'function'!=typeof _0x5c9c1c&&(_0x5c9c1c=_0x343050['match'](_0x5c9c1c)),_0x31e04c=>{let _0x5d890e=_0x5c9c1c(_0x31e04c);return void 0x0===_0x5d890e?null:[this,_0x5d890e];};}}_0x4ee311['closedBy']=new _0x4ee311({'deserialize':_0x488400=>_0x488400['split']('\x20')}),_0x4ee311['openedBy']=new _0x4ee311({'deserialize':_0x5507e8=>_0x5507e8['split']('\x20')}),_0x4ee311['group']=new _0x4ee311({'deserialize':_0x4972a5=>_0x4972a5['split']('\x20')}),_0x4ee311['isolate']=new _0x4ee311({'deserialize':_0x4a244c=>{if(_0x4a244c&&'rtl'!=_0x4a244c&&'ltr'!=_0x4a244c&&'auto'!=_0x4a244c)throw new RangeError('Invalid\x20value\x20for\x20isolate:\x20'+_0x4a244c);return _0x4a244c||'auto';}}),_0x4ee311['contextHash']=new _0x4ee311({'perNode':!0x0}),_0x4ee311['lookAhead']=new _0x4ee311({'perNode':!0x0}),_0x4ee311['mounted']=new _0x4ee311({'perNode':!0x0});class MountedTree{constructor(_0x20a2b0,_0x111f16,_0xb3f740){this['tree']=_0x20a2b0,this['overlay']=_0x111f16,this['parser']=_0xb3f740;}static['get'](_0xe01239){return _0xe01239&&_0xe01239['props']&&_0xe01239['props'][_0x4ee311['mounted']['id']];}}const _0xa63a25=Object['create'](null);class _0x343050{constructor(_0x4b7210,_0x56f792,_0x12f00c,_0x2df803=0x0){this['name']=_0x4b7210,this['props']=_0x56f792,this['id']=_0x12f00c,this['flags']=_0x2df803;}static['define'](_0x1499a1){let _0x2917af=_0x1499a1['props']&&_0x1499a1['props']['length']?Object['create'](null):_0xa63a25,_0x946e4d=(_0x1499a1['top']?0x1:0x0)|(_0x1499a1['skipped']?0x2:0x0)|(_0x1499a1['error']?0x4:0x0)|(null==_0x1499a1['name']?0x8:0x0),_0x523527=new _0x343050(_0x1499a1['name']||'',_0x2917af,_0x1499a1['id'],_0x946e4d);if(_0x1499a1['props']){for(let _0x27e205 of _0x1499a1['props'])if(Array['isArray'](_0x27e205)||(_0x27e205=_0x27e205(_0x523527)),_0x27e205){if(_0x27e205[0x0]['perNode'])throw new RangeError('Can\x27t\x20store\x20a\x20per-node\x20prop\x20on\x20a\x20node\x20type');_0x2917af[_0x27e205[0x0]['id']]=_0x27e205[0x1];}}return _0x523527;}['prop'](_0x3b6a24){return this['props'][_0x3b6a24['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'](_0x57739c){if('string'==typeof _0x57739c){if(this['name']==_0x57739c)return!0x0;let _0x33f008=this['prop'](_0x4ee311['group']);return!!_0x33f008&&_0x33f008['indexOf'](_0x57739c)>-0x1;}return this['id']==_0x57739c;}static['match'](_0x274540){let _0xc7eaad=Object['create'](null);for(let _0x46fcce in _0x274540)for(let _0x5cd96f of _0x46fcce['split']('\x20'))_0xc7eaad[_0x5cd96f]=_0x274540[_0x46fcce];return _0x4d830f=>{for(let _0x24ffd2=_0x4d830f['prop'](_0x4ee311['group']),_0x56593a=-0x1;_0x56593a<(_0x24ffd2?_0x24ffd2['length']:0x0);_0x56593a++){let _0x55a8c0=_0xc7eaad[_0x56593a<0x0?_0x4d830f['name']:_0x24ffd2[_0x56593a]];if(_0x55a8c0)return _0x55a8c0;}};}}_0x343050['none']=new _0x343050('',Object['create'](null),0x0,0x8);class NodeSet{constructor(_0x48894b){this['types']=_0x48894b;for(let _0x2781d5=0x0;_0x2781d5<_0x48894b['length'];_0x2781d5++)if(_0x48894b[_0x2781d5]['id']!=_0x2781d5)throw new RangeError('Node\x20type\x20ids\x20should\x20correspond\x20to\x20array\x20positions\x20when\x20creating\x20a\x20node\x20set');}['extend'](..._0x3d81d6){let _0x1e6056=[];for(let _0x1fc383 of this['types']){let _0x3422bf=null;for(let _0x5d781e of _0x3d81d6){let _0x51aa6e=_0x5d781e(_0x1fc383);if(_0x51aa6e){_0x3422bf||(_0x3422bf=Object['assign']({},_0x1fc383['props']));let _0x3493c0=_0x51aa6e[0x1],_0x25806b=_0x51aa6e[0x0];_0x25806b['combine']&&_0x25806b['id']in _0x3422bf&&(_0x3493c0=_0x25806b['combine'](_0x3422bf[_0x25806b['id']],_0x3493c0)),_0x3422bf[_0x25806b['id']]=_0x3493c0;}}_0x1e6056['push'](_0x3422bf?new _0x343050(_0x1fc383['name'],_0x3422bf,_0x1fc383['id'],_0x1fc383['flags']):_0x1fc383);}return new NodeSet(_0x1e6056);}}const _0x493cd0=new WeakMap(),_0x570803=new WeakMap();var IterMode;!function(_0x3e0686){_0x3e0686[_0x3e0686['ExcludeBuffers']=0x1]='ExcludeBuffers',_0x3e0686[_0x3e0686['IncludeAnonymous']=0x2]='IncludeAnonymous',_0x3e0686[_0x3e0686['IgnoreMounts']=0x4]='IgnoreMounts',_0x3e0686[_0x3e0686['IgnoreOverlays']=0x8]='IgnoreOverlays';}(IterMode||(IterMode={}));class _0x2701ca{constructor(_0x42c616,_0x40c3f4,_0x46605e,_0x7f7f32,_0x318909){if(this['type']=_0x42c616,this['children']=_0x40c3f4,this['positions']=_0x46605e,this['length']=_0x7f7f32,this['props']=null,_0x318909&&_0x318909['length']){this['props']=Object['create'](null);for(let [_0x1ff3dc,_0x2f8a95]of _0x318909)this['props']['number'==typeof _0x1ff3dc?_0x1ff3dc:_0x1ff3dc['id']]=_0x2f8a95;}}['toString'](){let _0x21d3ac=MountedTree['get'](this);if(_0x21d3ac&&!_0x21d3ac['overlay'])return _0x21d3ac['tree']['toString']();let _0x497780='';for(let _0x3a08d8 of this['children']){let _0x413626=_0x3a08d8['toString']();_0x413626&&(_0x497780&&(_0x497780+=','),_0x497780+=_0x413626);}return this['type']['name']?(/\W/['test'](this['type']['name'])&&!this['type']['isError']?JSON['stringify'](this['type']['name']):this['type']['name'])+(_0x497780['length']?'('+_0x497780+')':''):_0x497780;}['cursor'](_0x2d274c=0x0){return new _0x12460e(this['topNode'],_0x2d274c);}['cursorAt'](_0x483e19,_0x1cbc8c=0x0,_0x83e5c6=0x0){let _0x471450=_0x493cd0['get'](this)||this['topNode'],_0x58c861=new _0x12460e(_0x471450);return _0x58c861['moveTo'](_0x483e19,_0x1cbc8c),_0x493cd0['set'](this,_0x58c861['_tree']),_0x58c861;}get['topNode'](){return new _0x1b3e48(this,0x0,0x0,null);}['resolve'](_0x4b9a83,_0x484d71=0x0){let _0xf89c3d=_0x17c6ef(_0x493cd0['get'](this)||this['topNode'],_0x4b9a83,_0x484d71,!0x1);return _0x493cd0['set'](this,_0xf89c3d),_0xf89c3d;}['resolveInner'](_0x36301c,_0x1e69e6=0x0){let _0x16a93d=_0x17c6ef(_0x570803['get'](this)||this['topNode'],_0x36301c,_0x1e69e6,!0x0);return _0x570803['set'](this,_0x16a93d),_0x16a93d;}['resolveStack'](_0x46589b,_0x391b6e=0x0){return stackIterator(this,_0x46589b,_0x391b6e);}['iterate'](_0x5a111b){let {enter:_0x5a585a,leave:_0x46e1e1,from:_0x27c150=0x0,to:_0x16667c=this['length']}=_0x5a111b,_0xb23df9=_0x5a111b['mode']||0x0,_0x51df27=(_0xb23df9&IterMode['IncludeAnonymous'])>0x0;for(let _0x37d1ec=this['cursor'](_0xb23df9|IterMode['IncludeAnonymous']);;){let _0x247be1=!0x1;if(_0x37d1ec['from']<=_0x16667c&&_0x37d1ec['to']>=_0x27c150&&(!_0x51df27&&_0x37d1ec['type']['isAnonymous']||!0x1!==_0x5a585a(_0x37d1ec))){if(_0x37d1ec['firstChild']())continue;_0x247be1=!0x0;}for(;_0x247be1&&_0x46e1e1&&(_0x51df27||!_0x37d1ec['type']['isAnonymous'])&&_0x46e1e1(_0x37d1ec),!_0x37d1ec['nextSibling']();){if(!_0x37d1ec['parent']())return;_0x247be1=!0x0;}}}['prop'](_0x90de23){return _0x90de23['perNode']?this['props']?this['props'][_0x90de23['id']]:void 0x0:this['type']['prop'](_0x90de23);}get['propValues'](){let _0x5f5887=[];if(this['props']){for(let _0xf30118 in this['props'])_0x5f5887['push']([+_0xf30118,this['props'][_0xf30118]]);}return _0x5f5887;}['balance'](_0x5c70c2={}){return this['children']['length']<=0x8?this:_0x80b68d(_0x343050['none'],this['children'],this['positions'],0x0,this['children']['length'],0x0,this['length'],(_0x576f4f,_0x360145,_0x8c0f3f)=>new _0x2701ca(this['type'],_0x576f4f,_0x360145,_0x8c0f3f,this['propValues']),_0x5c70c2['makeTree']||((_0x38e5ae,_0x1acddd,_0x1e7f35)=>new _0x2701ca(_0x343050['none'],_0x38e5ae,_0x1acddd,_0x1e7f35)));}static['build'](_0x251e2a){return _0x50f109(_0x251e2a);}}_0x2701ca['empty']=new _0x2701ca(_0x343050['none'],[],[],0x0);class FlatBufferCursor{constructor(_0x3862b1,_0x9779e2){this['buffer']=_0x3862b1,this['index']=_0x9779e2;}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 _0x551a81{constructor(_0x4d229f,_0x5310c4,_0x28ab41){this['buffer']=_0x4d229f,this['length']=_0x5310c4,this['set']=_0x28ab41;}get['type'](){return _0x343050['none'];}['toString'](){let _0x45d566=[];for(let _0x5f5a4e=0x0;_0x5f5a4e<this['buffer']['length'];)_0x45d566['push'](this['childString'](_0x5f5a4e)),_0x5f5a4e=this['buffer'][_0x5f5a4e+0x3];return _0x45d566['join'](',');}['childString'](_0x3b07ab){let _0x9f8fe2=this['buffer'][_0x3b07ab],_0x48f1ab=this['buffer'][_0x3b07ab+0x3],_0xaabee2=this['set']['types'][_0x9f8fe2],_0x45e895=_0xaabee2['name'];if(/\W/['test'](_0x45e895)&&!_0xaabee2['isError']&&(_0x45e895=JSON['stringify'](_0x45e895)),_0x48f1ab==(_0x3b07ab+=0x4))return _0x45e895;let _0xbccbc1=[];for(;_0x3b07ab<_0x48f1ab;)_0xbccbc1['push'](this['childString'](_0x3b07ab)),_0x3b07ab=this['buffer'][_0x3b07ab+0x3];return _0x45e895+'('+_0xbccbc1['join'](',')+')';}['findChild'](_0x26435b,_0x15f04f,_0x3f7e39,_0x11dddd,_0x251831){let {buffer:_0x4e376d}=this,_0x3b1661=-0x1;for(let _0x1eda04=_0x26435b;_0x1eda04!=_0x15f04f&&!(_0x556c6c(_0x251831,_0x11dddd,_0x4e376d[_0x1eda04+0x1],_0x4e376d[_0x1eda04+0x2])&&(_0x3b1661=_0x1eda04,_0x3f7e39>0x0));_0x1eda04=_0x4e376d[_0x1eda04+0x3]);return _0x3b1661;}['slice'](_0x170fd8,_0x348f39,_0x93876c){let _0x2c633b=this['buffer'],_0x11d646=new Uint16Array(_0x348f39-_0x170fd8),_0x212d49=0x0;for(let _0xbb0bc8=_0x170fd8,_0x385f61=0x0;_0xbb0bc8<_0x348f39;){_0x11d646[_0x385f61++]=_0x2c633b[_0xbb0bc8++],_0x11d646[_0x385f61++]=_0x2c633b[_0xbb0bc8++]-_0x93876c;let _0xc80274=_0x11d646[_0x385f61++]=_0x2c633b[_0xbb0bc8++]-_0x93876c;_0x11d646[_0x385f61++]=_0x2c633b[_0xbb0bc8++]-_0x170fd8,_0x212d49=Math['max'](_0x212d49,_0xc80274);}return new _0x551a81(_0x11d646,_0x212d49,this['set']);}}function _0x556c6c(_0xbf7613,_0x313a08,_0x4a5296,_0x4d9f8d){switch(_0xbf7613){case-0x2:return _0x4a5296<_0x313a08;case-0x1:return _0x4d9f8d>=_0x313a08&&_0x4a5296<_0x313a08;case 0x0:return _0x4a5296<_0x313a08&&_0x4d9f8d>_0x313a08;case 0x1:return _0x4a5296<=_0x313a08&&_0x4d9f8d>_0x313a08;case 0x2:return _0x4d9f8d>_0x313a08;case 0x4:return!0x0;}}function _0x17c6ef(_0x3e5fc2,_0x4f6633,_0x4b1562,_0x3c5978){for(var _0x1b6278;_0x3e5fc2['from']==_0x3e5fc2['to']||(_0x4b1562<0x1?_0x3e5fc2['from']>=_0x4f6633:_0x3e5fc2['from']>_0x4f6633)||(_0x4b1562>-0x1?_0x3e5fc2['to']<=_0x4f6633:_0x3e5fc2['to']<_0x4f6633);){let _0x452c70=!_0x3c5978&&_0x3e5fc2 instanceof _0x1b3e48&&_0x3e5fc2['index']<0x0?null:_0x3e5fc2['parent'];if(!_0x452c70)return _0x3e5fc2;_0x3e5fc2=_0x452c70;}let _0x57a304=_0x3c5978?0x0:IterMode['IgnoreOverlays'];if(_0x3c5978){for(let _0x28a3bc=_0x3e5fc2,_0xbd844c=_0x28a3bc['parent'];_0xbd844c;_0x28a3bc=_0xbd844c,_0xbd844c=_0x28a3bc['parent'])_0x28a3bc instanceof _0x1b3e48&&_0x28a3bc['index']<0x0&&(null===(_0x1b6278=_0xbd844c['enter'](_0x4f6633,_0x4b1562,_0x57a304))||void 0x0===_0x1b6278?void 0x0:_0x1b6278['from'])!=_0x28a3bc['from']&&(_0x3e5fc2=_0xbd844c);}for(;;){let _0xcf4e8b=_0x3e5fc2['enter'](_0x4f6633,_0x4b1562,_0x57a304);if(!_0xcf4e8b)return _0x3e5fc2;_0x3e5fc2=_0xcf4e8b;}}class _0x1f472a{['cursor'](_0x2c03b6=0x0){return new _0x12460e(this,_0x2c03b6);}['getChild'](_0x27baca,_0x446c92=null,_0x204569=null){let _0x80492a=getChildren(this,_0x27baca,_0x446c92,_0x204569);return _0x80492a['length']?_0x80492a[0x0]:null;}['getChildren'](_0x27f42e,_0x5bd9bf=null,_0x3e530b=null){return getChildren(this,_0x27f42e,_0x5bd9bf,_0x3e530b);}['resolve'](_0x8b9613,_0x2b31ae=0x0){return _0x17c6ef(this,_0x8b9613,_0x2b31ae,!0x1);}['resolveInner'](_0x40276b,_0x47afd4=0x0){return _0x17c6ef(this,_0x40276b,_0x47afd4,!0x0);}['matchContext'](_0xd3b9b2){return matchNodeContext(this['parent'],_0xd3b9b2);}['enterUnfinishedNodesBefore'](_0x4d0729){let _0xe9424b=this['childBefore'](_0x4d0729),_0x544009=this;for(;_0xe9424b;){let _0x3b18a3=_0xe9424b['lastChild'];if(!_0x3b18a3||_0x3b18a3['to']!=_0xe9424b['to'])break;_0x3b18a3['type']['isError']&&_0x3b18a3['from']==_0x3b18a3['to']?(_0x544009=_0xe9424b,_0xe9424b=_0x3b18a3['prevSibling']):_0xe9424b=_0x3b18a3;}return _0x544009;}get['node'](){return this;}get['next'](){return this['parent'];}}class _0x1b3e48 extends _0x1f472a{constructor(_0x54f8a1,_0x4c2916,_0x414513,_0x47607c){super(),this['_tree']=_0x54f8a1,this['from']=_0x4c2916,this['index']=_0x414513,this['_parent']=_0x47607c;}get['type'](){return this['_tree']['type'];}get['name'](){return this['_tree']['type']['name'];}get['to'](){return this['from']+this['_tree']['length'];}['nextChild'](_0x5249ae,_0x57fede,_0x552852,_0x50b0c9,_0x14fb53=0x0){for(let _0x53bdd4=this;;){for(let {children:_0x402d2f,positions:_0x34077f}=_0x53bdd4['_tree'],_0x53d421=_0x57fede>0x0?_0x402d2f['length']:-0x1;_0x5249ae!=_0x53d421;_0x5249ae+=_0x57fede){let _0x117e3d=_0x402d2f[_0x5249ae],_0x4d0e7a=_0x34077f[_0x5249ae]+_0x53bdd4['from'];if(_0x556c6c(_0x50b0c9,_0x552852,_0x4d0e7a,_0x4d0e7a+_0x117e3d['length'])){if(_0x117e3d instanceof _0x551a81){if(_0x14fb53&IterMode['ExcludeBuffers'])continue;let _0x3ad40f=_0x117e3d['findChild'](0x0,_0x117e3d['buffer']['length'],_0x57fede,_0x552852-_0x4d0e7a,_0x50b0c9);if(_0x3ad40f>-0x1)return new _0x196f4f(new BufferContext(_0x53bdd4,_0x117e3d,_0x5249ae,_0x4d0e7a),null,_0x3ad40f);}else{if(_0x14fb53&IterMode['IncludeAnonymous']||!_0x117e3d['type']['isAnonymous']||_0x2c8a1d(_0x117e3d)){let _0x9e0a93;if(!(_0x14fb53&IterMode['IgnoreMounts'])&&(_0x9e0a93=MountedTree['get'](_0x117e3d))&&!_0x9e0a93['overlay'])return new _0x1b3e48(_0x9e0a93['tree'],_0x4d0e7a,_0x5249ae,_0x53bdd4);let _0x36cdc4=new _0x1b3e48(_0x117e3d,_0x4d0e7a,_0x5249ae,_0x53bdd4);return _0x14fb53&IterMode['IncludeAnonymous']||!_0x36cdc4['type']['isAnonymous']?_0x36cdc4:_0x36cdc4['nextChild'](_0x57fede<0x0?_0x117e3d['children']['length']-0x1:0x0,_0x57fede,_0x552852,_0x50b0c9);}}}}if(_0x14fb53&IterMode['IncludeAnonymous']||!_0x53bdd4['type']['isAnonymous'])return null;if(_0x5249ae=_0x53bdd4['index']>=0x0?_0x53bdd4['index']+_0x57fede:_0x57fede<0x0?-0x1:_0x53bdd4['_parent']['_tree']['children']['length'],_0x53bdd4=_0x53bdd4['_parent'],!_0x53bdd4)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'](_0x562b2a){return this['nextChild'](0x0,0x1,_0x562b2a,0x2);}['childBefore'](_0x54bd6c){return this['nextChild'](this['_tree']['children']['length']-0x1,-0x1,_0x54bd6c,-0x2);}['enter'](_0x17a0f0,_0x18ad3e,_0x256498=0x0){let _0x3ce1ca;if(!(_0x256498&IterMode['IgnoreOverlays'])&&(_0x3ce1ca=MountedTree['get'](this['_tree']))&&_0x3ce1ca['overlay']){let _0x309a8b=_0x17a0f0-this['from'];for(let {from:_0x2d8d35,to:_0x374d22}of _0x3ce1ca['overlay'])if((_0x18ad3e>0x0?_0x2d8d35<=_0x309a8b:_0x2d8d35<_0x309a8b)&&(_0x18ad3e<0x0?_0x374d22>=_0x309a8b:_0x374d22>_0x309a8b))return new _0x1b3e48(_0x3ce1ca['tree'],_0x3ce1ca['overlay'][0x0]['from']+this['from'],-0x1,this);}return this['nextChild'](0x0,0x1,_0x17a0f0,_0x18ad3e,_0x256498);}['nextSignificantParent'](){let _0x81b627=this;for(;_0x81b627['type']['isAnonymous']&&_0x81b627['_parent'];)_0x81b627=_0x81b627['_parent'];return _0x81b627;}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(_0x12dca2,_0x476284,_0x3301c9,_0x5e8827){let _0x9b78d6=_0x12dca2['cursor'](),_0x23cb6a=[];if(!_0x9b78d6['firstChild']())return _0x23cb6a;if(null!=_0x3301c9){for(let _0x347f7c=!0x1;!_0x347f7c;)if(_0x347f7c=_0x9b78d6['type']['is'](_0x3301c9),!_0x9b78d6['nextSibling']())return _0x23cb6a;}for(;;){if(null!=_0x5e8827&&_0x9b78d6['type']['is'](_0x5e8827))return _0x23cb6a;if(_0x9b78d6['type']['is'](_0x476284)&&_0x23cb6a['push'](_0x9b78d6['node']),!_0x9b78d6['nextSibling']())return null==_0x5e8827?_0x23cb6a:[];}}function matchNodeContext(_0xc7a5fd,_0x4fd48c,_0x310f55=_0x4fd48c['length']-0x1){for(let _0x12313b=_0xc7a5fd;_0x310f55>=0x0;_0x12313b=_0x12313b['parent']){if(!_0x12313b)return!0x1;if(!_0x12313b['type']['isAnonymous']){if(_0x4fd48c[_0x310f55]&&_0x4fd48c[_0x310f55]!=_0x12313b['name'])return!0x1;_0x310f55--;}}return!0x0;}class BufferContext{constructor(_0x527e47,_0x5cda7c,_0x572825,_0xfb276e){this['parent']=_0x527e47,this['buffer']=_0x5cda7c,this['index']=_0x572825,this['start']=_0xfb276e;}}class _0x196f4f extends _0x1f472a{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(_0x5ed6b6,_0x43ebb1,_0x2cca52){super(),this['context']=_0x5ed6b6,this['_parent']=_0x43ebb1,this['index']=_0x2cca52,this['type']=_0x5ed6b6['buffer']['set']['types'][_0x5ed6b6['buffer']['buffer'][_0x2cca52]];}['child'](_0x1a79f3,_0x53660f,_0x5a0068){let {buffer:_0x5863c4}=this['context'],_0x21b08c=_0x5863c4['findChild'](this['index']+0x4,_0x5863c4['buffer'][this['index']+0x3],_0x1a79f3,_0x53660f-this['context']['start'],_0x5a0068);return _0x21b08c<0x0?null:new _0x196f4f(this['context'],this,_0x21b08c);}get['firstChild'](){return this['child'](0x1,0x0,0x4);}get['lastChild'](){return this['child'](-0x1,0x0,0x4);}['childAfter'](_0x691c2f){return this['child'](0x1,_0x691c2f,0x2);}['childBefore'](_0xb5328a){return this['child'](-0x1,_0xb5328a,-0x2);}['enter'](_0x5ae058,_0x1e504c,_0x52efdf=0x0){if(_0x52efdf&IterMode['ExcludeBuffers'])return null;let {buffer:_0x5d31ff}=this['context'],_0x25fc66=_0x5d31ff['findChild'](this['index']+0x4,_0x5d31ff['buffer'][this['index']+0x3],_0x1e504c>0x0?0x1:-0x1,_0x5ae058-this['context']['start'],_0x1e504c);return _0x25fc66<0x0?null:new _0x196f4f(this['context'],this,_0x25fc66);}get['parent'](){return this['_parent']||this['context']['parent']['nextSignificantParent']();}['externalSibling'](_0x27de12){return this['_parent']?null:this['context']['parent']['nextChild'](this['context']['index']+_0x27de12,_0x27de12,0x0,0x4);}get['nextSibling'](){let {buffer:_0x58b06c}=this['context'],_0x27be97=_0x58b06c['buffer'][this['index']+0x3];return _0x27be97<(this['_parent']?_0x58b06c['buffer'][this['_parent']['index']+0x3]:_0x58b06c['buffer']['length'])?new _0x196f4f(this['context'],this['_parent'],_0x27be97):this['externalSibling'](0x1);}get['prevSibling'](){let {buffer:_0xa0ff90}=this['context'],_0x4cf9b5=this['_parent']?this['_parent']['index']+0x4:0x0;return this['index']==_0x4cf9b5?this['externalSibling'](-0x1):new _0x196f4f(this['context'],this['_parent'],_0xa0ff90['findChild'](_0x4cf9b5,this['index'],-0x1,0x0,0x4));}get['tree'](){return null;}['toTree'](){let _0x2586b1=[],_0x328bc7=[],{buffer:_0x37603f}=this['context'],_0x518eb6=this['index']+0x4,_0x2fde59=_0x37603f['buffer'][this['index']+0x3];if(_0x2fde59>_0x518eb6){let _0x53220c=_0x37603f['buffer'][this['index']+0x1];_0x2586b1['push'](_0x37603f['slice'](_0x518eb6,_0x2fde59,_0x53220c)),_0x328bc7['push'](0x0);}return new _0x2701ca(this['type'],_0x2586b1,_0x328bc7,this['to']-this['from']);}['toString'](){return this['context']['buffer']['childString'](this['index']);}}function iterStack(_0x50b15e){if(!_0x50b15e['length'])return null;let _0x2ef58b=0x0,_0x451c0a=_0x50b15e[0x0];for(let _0x4d5b9f=0x1;_0x4d5b9f<_0x50b15e['length'];_0x4d5b9f++){let _0x3ef90d=_0x50b15e[_0x4d5b9f];(_0x3ef90d['from']>_0x451c0a['from']||_0x3ef90d['to']<_0x451c0a['to'])&&(_0x451c0a=_0x3ef90d,_0x2ef58b=_0x4d5b9f);}let _0x356b09=_0x451c0a instanceof _0x1b3e48&&_0x451c0a['index']<0x0?null:_0x451c0a['parent'],_0x28d430=_0x50b15e['slice']();return _0x356b09?_0x28d430[_0x2ef58b]=_0x356b09:_0x28d430['splice'](_0x2ef58b,0x1),new StackIterator(_0x28d430,_0x451c0a);}class StackIterator{constructor(_0x25526a,_0x295fa6){this['heads']=_0x25526a,this['node']=_0x295fa6;}get['next'](){return iterStack(this['heads']);}}function stackIterator(_0xc34ee3,_0x57137c,_0x5d0859){let _0x52e88e=_0xc34ee3['resolveInner'](_0x57137c,_0x5d0859),_0x5c86fa=null;for(let _0x34b5e0=_0x52e88e instanceof _0x1b3e48?_0x52e88e:_0x52e88e['context']['parent'];_0x34b5e0;_0x34b5e0=_0x34b5e0['parent'])if(_0x34b5e0['index']<0x0){let _0x222917=_0x34b5e0['parent'];(_0x5c86fa||(_0x5c86fa=[_0x52e88e]))['push'](_0x222917['resolve'](_0x57137c,_0x5d0859)),_0x34b5e0=_0x222917;}else{let _0x395a42=MountedTree['get'](_0x34b5e0['tree']);if(_0x395a42&&_0x395a42['overlay']&&_0x395a42['overlay'][0x0]['from']<=_0x57137c&&_0x395a42['overlay'][_0x395a42['overlay']['length']-0x1]['to']>=_0x57137c){let _0x1bf71f=new _0x1b3e48(_0x395a42['tree'],_0x395a42['overlay'][0x0]['from']+_0x34b5e0['from'],-0x1,_0x34b5e0);(_0x5c86fa||(_0x5c86fa=[_0x52e88e]))['push'](_0x17c6ef(_0x1bf71f,_0x57137c,_0x5d0859,!0x1));}}return _0x5c86fa?iterStack(_0x5c86fa):_0x52e88e;}class _0x12460e{get['name'](){return this['type']['name'];}constructor(_0x33fcad,_0xda1556=0x0){if(this['mode']=_0xda1556,this['buffer']=null,this['stack']=[],this['index']=0x0,this['bufferNode']=null,_0x33fcad instanceof _0x1b3e48)this['yieldNode'](_0x33fcad);else{this['_tree']=_0x33fcad['context']['parent'],this['buffer']=_0x33fcad['context'];for(let _0x34c52b=_0x33fcad['_parent'];_0x34c52b;_0x34c52b=_0x34c52b['_parent'])this['stack']['unshift'](_0x34c52b['index']);this['bufferNode']=_0x33fcad,this['yieldBuf'](_0x33fcad['index']);}}['yieldNode'](_0x59452b){return!!_0x59452b&&(this['_tree']=_0x59452b,this['type']=_0x59452b['type'],this['from']=_0x59452b['from'],this['to']=_0x59452b['to'],!0x0);}['yieldBuf'](_0x1489ad,_0x4a3ddd){this['index']=_0x1489ad;let {start:_0x204f96,buffer:_0x19f23d}=this['buffer'];return this['type']=_0x4a3ddd||_0x19f23d['set']['types'][_0x19f23d['buffer'][_0x1489ad]],this['from']=_0x204f96+_0x19f23d['buffer'][_0x1489ad+0x1],this['to']=_0x204f96+_0x19f23d['buffer'][_0x1489ad+0x2],!0x0;}['yield'](_0x5f1b82){return!!_0x5f1b82&&(_0x5f1b82 instanceof _0x1b3e48?(this['buffer']=null,this['yieldNode'](_0x5f1b82)):(this['buffer']=_0x5f1b82['context'],this['yieldBuf'](_0x5f1b82['index'],_0x5f1b82['type'])));}['toString'](){return this['buffer']?this['buffer']['buffer']['childString'](this['index']):this['_tree']['toString']();}['enterChild'](_0x198467,_0x47959d,_0x34eb75){if(!this['buffer'])return this['yield'](this['_tree']['nextChild'](_0x198467<0x0?this['_tree']['_tree']['children']['length']-0x1:0x0,_0x198467,_0x47959d,_0x34eb75,this['mode']));let {buffer:_0x4b2b77}=this['buffer'],_0x5791c9=_0x4b2b77['findChild'](this['index']+0x4,_0x4b2b77['buffer'][this['index']+0x3],_0x198467,_0x47959d-this['buffer']['start'],_0x34eb75);return!(_0x5791c9<0x0)&&(this['stack']['push'](this['index']),this['yieldBuf'](_0x5791c9));}['firstChild'](){return this['enterChild'](0x1,0x0,0x4);}['lastChild'](){return this['enterChild'](-0x1,0x0,0x4);}['childAfter'](_0x500bba){return this['enterChild'](0x1,_0x500bba,0x2);}['childBefore'](_0x5986a6){return this['enterChild'](-0x1,_0x5986a6,-0x2);}['enter'](_0x4d49ee,_0x34b410,_0x46110c=this['mode']){return this['buffer']?!(_0x46110c&IterMode['ExcludeBuffers'])&&this['enterChild'](0x1,_0x4d49ee,_0x34b410):this['yield'](this['_tree']['enter'](_0x4d49ee,_0x34b410,_0x46110c));}['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 _0x3d64c9=this['mode']&IterMode['IncludeAnonymous']?this['buffer']['parent']:this['buffer']['parent']['nextSignificantParent']();return this['buffer']=null,this['yieldNode'](_0x3d64c9);}['sibling'](_0x401826){if(!this['buffer'])return!!this['_tree']['_parent']&&this['yield'](this['_tree']['index']<0x0?null:this['_tree']['_parent']['nextChild'](this['_tree']['index']+_0x401826,_0x401826,0x0,0x4,this['mode']));let {buffer:_0x2b285f}=this['buffer'],_0x4ad21a=this['stack']['length']-0x1;if(_0x401826<0x0){let _0x8ecbe1=_0x4ad21a<0x0?0x0:this['stack'][_0x4ad21a]+0x4;if(this['index']!=_0x8ecbe1)return this['yieldBuf'](_0x2b285f['findChild'](_0x8ecbe1,this['index'],-0x1,0x0,0x4));}else{let _0x446f7e=_0x2b285f['buffer'][this['index']+0x3];if(_0x446f7e<(_0x4ad21a<0x0?_0x2b285f['buffer']['length']:_0x2b285f['buffer'][this['stack'][_0x4ad21a]+0x3]))return this['yieldBuf'](_0x446f7e);}return _0x4ad21a<0x0&&this['yield'](this['buffer']['parent']['nextChild'](this['buffer']['index']+_0x401826,_0x401826,0x0,0x4,this['mode']));}['nextSibling'](){return this['sibling'](0x1);}['prevSibling'](){return this['sibling'](-0x1);}['atLastNode'](_0x1c5f8b){let _0x1cc63e,_0x2308ae,{buffer:_0x548ecd}=this;if(_0x548ecd){if(_0x1c5f8b>0x0){if(this['index']<_0x548ecd['buffer']['buffer']['length'])return!0x1;}else{for(let _0x45feb3=0x0;_0x45feb3<this['index'];_0x45feb3++)if(_0x548ecd['buffer']['buffer'][_0x45feb3+0x3]<this['index'])return!0x1;}({index:_0x1cc63e,parent:_0x2308ae}=_0x548ecd);}else({index:_0x1cc63e,_parent:_0x2308ae}=this['_tree']);for(;_0x2308ae;{index:_0x1cc63e,_parent:_0x2308ae}=_0x2308ae)if(_0x1cc63e>-0x1)for(let _0x1f3827=_0x1cc63e+_0x1c5f8b,_0x570bd7=_0x1c5f8b<0x0?-0x1:_0x2308ae['_tree']['children']['length'];_0x1f3827!=_0x570bd7;_0x1f3827+=_0x1c5f8b){let _0x3e391b=_0x2308ae['_tree']['children'][_0x1f3827];if(this['mode']&IterMode['IncludeAnonymous']||_0x3e391b instanceof _0x551a81||!_0x3e391b['type']['isAnonymous']||_0x2c8a1d(_0x3e391b))return!0x1;}return!0x0;}['move'](_0x276c1a,_0x35a59a){if(_0x35a59a&&this['enterChild'](_0x276c1a,0x0,0x4))return!0x0;for(;;){if(this['sibling'](_0x276c1a))return!0x0;if(this['atLastNode'](_0x276c1a)||!this['parent']())return!0x1;}}['next'](_0x1802bd=!0x0){return this['move'](0x1,_0x1802bd);}['prev'](_0x12ddbc=!0x0){return this['move'](-0x1,_0x12ddbc);}['moveTo'](_0x369f69,_0x4c0b2f=0x0){for(;(this['from']==this['to']||(_0x4c0b2f<0x1?this['from']>=_0x369f69:this['from']>_0x369f69)||(_0x4c0b2f>-0x1?this['to']<=_0x369f69:this['to']<_0x369f69))&&this['parent'](););for(;this['enterChild'](0x1,_0x369f69,_0x4c0b2f););return this;}get['node'](){if(!this['buffer'])return this['_tree'];let _0x50fa0d=this['bufferNode'],_0x28bea1=null,_0x82e401=0x0;if(_0x50fa0d&&_0x50fa0d['context']==this['buffer']){t:for(let _0xc24d3e=this['index'],_0x342e8d=this['stack']['length'];_0x342e8d>=0x0;){for(let _0x4489a8=_0x50fa0d;_0x4489a8;_0x4489a8=_0x4489a8['_parent'])if(_0x4489a8['index']==_0xc24d3e){if(_0xc24d3e==this['index'])return _0x4489a8;_0x28bea1=_0x4489a8,_0x82e401=_0x342e8d+0x1;break t;}_0xc24d3e=this['stack'][--_0x342e8d];}}for(let _0x5e0f23=_0x82e401;_0x5e0f23<this['stack']['length'];_0x5e0f23++)_0x28bea1=new _0x196f4f(this['buffer'],_0x28bea1,this['stack'][_0x5e0f23]);return this['bufferNode']=new _0x196f4f(this['buffer'],_0x28bea1,this['index']);}get['tree'](){return this['buffer']?null:this['_tree']['_tree'];}['iterate'](_0x10ad22,_0x43a71a){for(let _0x413f34=0x0;;){let _0x32311e=!0x1;if(this['type']['isAnonymous']||!0x1!==_0x10ad22(this)){if(this['firstChild']()){_0x413f34++;continue;}this['type']['isAnonymous']||(_0x32311e=!0x0);}for(;;){if(_0x32311e&&_0x43a71a&&_0x43a71a(this),_0x32311e=this['type']['isAnonymous'],!_0x413f34)return;if(this['nextSibling']())break;this['parent'](),_0x413f34--,_0x32311e=!0x0;}}}['matchContext'](_0x4a2d3f){if(!this['buffer'])return matchNodeContext(this['node']['parent'],_0x4a2d3f);let {buffer:_0x22a3d4}=this['buffer'],{types:_0x2f88c8}=_0x22a3d4['set'];for(let _0x52a38b=_0x4a2d3f['length']-0x1,_0x55d597=this['stack']['length']-0x1;_0x52a38b>=0x0;_0x55d597--){if(_0x55d597<0x0)return matchNodeContext(this['_tree'],_0x4a2d3f,_0x52a38b);let _0x3df4e2=_0x2f88c8[_0x22a3d4['buffer'][this['stack'][_0x55d597]]];if(!_0x3df4e2['isAnonymous']){if(_0x4a2d3f[_0x52a38b]&&_0x4a2d3f[_0x52a38b]!=_0x3df4e2['name'])return!0x1;_0x52a38b--;}}return!0x0;}}function _0x2c8a1d(_0x370af2){return _0x370af2['children']['some'](_0x500f67=>_0x500f67 instanceof _0x551a81||!_0x500f67['type']['isAnonymous']||_0x2c8a1d(_0x500f67));}function _0x50f109(_0x4a39ef){var _0x31e028;let {buffer:_0x4f8278,nodeSet:_0x953bc7,maxBufferLength:_0x1f0c8f=DefaultBufferLength,reused:_0x34226b=[],minRepeatType:_0x45ada3=_0x953bc7['types']['length']}=_0x4a39ef,_0x286fad=Array['isArray'](_0x4f8278)?new FlatBufferCursor(_0x4f8278,_0x4f8278['length']):_0x4f8278,_0x5d1504=_0x953bc7['types'],_0x1df337=0x0,_0x46cc95=0x0;function _0x5370ce(_0x14be89,_0x3cb232,_0x1217c7,_0x1479d9,_0x291fa8,_0x5af6b9){let {id:_0x3be247,start:_0x51f9fa,end:_0x576f2c,size:_0x2c3700}=_0x286fad,_0x5c5a88=_0x46cc95,_0x538217=_0x1df337;if(_0x2c3700<0x0){if(_0x286fad['next'](),-0x1==_0x2c3700){let _0x270a01=_0x34226b[_0x3be247];return _0x1217c7['push'](_0x270a01),void _0x1479d9['push'](_0x51f9fa-_0x14be89);}if(-0x3==_0x2c3700)return void(_0x1df337=_0x3be247);if(-0x4==_0x2c3700)return void(_0x46cc95=_0x3be247);throw new RangeError('Unrecognized\x20record\x20size:\x20'+_0x2c3700);}let _0x51a440,_0x346283,_0x264bc4=_0x5d1504[_0x3be247],_0x2a3ce2=_0x51f9fa-_0x14be89;if(_0x576f2c-_0x51f9fa<=_0x1f0c8f&&(_0x346283=function(_0x222f10,_0xf3f7a7){let _0x506d12=_0x286fad['fork'](),_0x50651a=0x0,_0x35c418=0x0,_0x58d59a=0x0,_0x3c0e7d=_0x506d12['end']-_0x1f0c8f,_0x23790a={'size':0x0,'start':0x0,'skip':0x0};t:for(let _0x465af0=_0x506d12['pos']-_0x222f10;_0x506d12['pos']>_0x465af0;){let _0x5a094e=_0x506d12['size'];if(_0x506d12['id']==_0xf3f7a7&&_0x5a094e>=0x0){_0x23790a['size']=_0x50651a,_0x23790a['start']=_0x35c418,_0x23790a['skip']=_0x58d59a,_0x58d59a+=0x4,_0x50651a+=0x4,_0x506d12['next']();continue;}let _0x4a3ce3=_0x506d12['pos']-_0x5a094e;if(_0x5a094e<0x0||_0x4a3ce3<_0x465af0||_0x506d12['start']<_0x3c0e7d)break;let _0x4b6a44=_0x506d12['id']>=_0x45ada3?0x4:0x0,_0x4eff75=_0x506d12['start'];for(_0x506d12['next']();_0x506d12['pos']>_0x4a3ce3;){if(_0x506d12['size']<0x0){if(-0x3!=_0x506d12['size'])break t;_0x4b6a44+=0x4;}else _0x506d12['id']>=_0x45ada3&&(_0x4b6a44+=0x4);_0x506d12['next']();}_0x35c418=_0x4eff75,_0x50651a+=_0x5a094e,_0x58d59a+=_0x4b6a44;}return(_0xf3f7a7<0x0||_0x50651a==_0x222f10)&&(_0x23790a['size']=_0x50651a,_0x23790a['start']=_0x35c418,_0x23790a['skip']=_0x58d59a),_0x23790a['size']>0x4?_0x23790a:void 0x0;}(_0x286fad['pos']-_0x3cb232,_0x291fa8))){let _0x225b87=new Uint16Array(_0x346283['size']-_0x346283['skip']),_0x414a41=_0x286fad['pos']-_0x346283['size'],_0x3c5715=_0x225b87['length'];for(;_0x286fad['pos']>_0x414a41;)_0x3c5715=_0x3b523f(_0x346283['start'],_0x225b87,_0x3c5715);_0x51a440=new _0x551a81(_0x225b87,_0x576f2c-_0x346283['start'],_0x953bc7),_0x2a3ce2=_0x346283['start']-_0x14be89;}else{let _0x52fae0=_0x286fad['pos']-_0x2c3700;_0x286fad['next']();let _0x46cedf=[],_0xe4dd21=[],_0x2cea4a=_0x3be247>=_0x45ada3?_0x3be247:-0x1,_0x7a5a23=0x0,_0x244dc2=_0x576f2c;for(;_0x286fad['pos']>_0x52fae0;)_0x2cea4a>=0x0&&_0x286fad['id']==_0x2cea4a&&_0x286fad['size']>=0x0?(_0x286fad['end']<=_0x244dc2-_0x1f0c8f&&(_0x3168d2(_0x46cedf,_0xe4dd21,_0x51f9fa,_0x7a5a23,_0x286fad['end'],_0x244dc2,_0x2cea4a,_0x5c5a88,_0x538217),_0x7a5a23=_0x46cedf['length'],_0x244dc2=_0x286fad['end']),_0x286fad['next']()):_0x5af6b9>0x9c4?_0x4147b7(_0x51f9fa,_0x52fae0,_0x46cedf,_0xe4dd21):_0x5370ce(_0x51f9fa,_0x52fae0,_0x46cedf,_0xe4dd21,_0x2cea4a,_0x5af6b9+0x1);if(_0x2cea4a>=0x0&&_0x7a5a23>0x0&&_0x7a5a23<_0x46cedf['length']&&_0x3168d2(_0x46cedf,_0xe4dd21,_0x51f9fa,_0x7a5a23,_0x51f9fa,_0x244dc2,_0x2cea4a,_0x5c5a88,_0x538217),_0x46cedf['reverse'](),_0xe4dd21['reverse'](),_0x2cea4a>-0x1&&_0x7a5a23>0x0){let _0x5219f2=function(_0x45f22f,_0x34c1c4){return(_0x4788cf,_0x3fe087,_0x1c941f)=>{let _0x41a625,_0x58bd65,_0x3e4b99=0x0,_0x2c2a02=_0x4788cf['length']-0x1;if(_0x2c2a02>=0x0&&(_0x41a625=_0x4788cf[_0x2c2a02])instanceof _0x2701ca){if(!_0x2c2a02&&_0x41a625['type']==_0x45f22f&&_0x41a625['length']==_0x1c941f)return _0x41a625;(_0x58bd65=_0x41a625['prop'](_0x4ee311['lookAhead']))&&(_0x3e4b99=_0x3fe087[_0x2c2a02]+_0x41a625['length']+_0x58bd65);}return _0x5c1d59(_0x45f22f,_0x4788cf,_0x3fe087,_0x1c941f,_0x3e4b99,_0x34c1c4);};}(_0x264bc4,_0x538217);_0x51a440=_0x80b68d(_0x264bc4,_0x46cedf,_0xe4dd21,0x0,_0x46cedf['length'],0x0,_0x576f2c-_0x51f9fa,_0x5219f2,_0x5219f2);}else _0x51a440=_0x5c1d59(_0x264bc4,_0x46cedf,_0xe4dd21,_0x576f2c-_0x51f9fa,_0x5c5a88-_0x576f2c,_0x538217);}_0x1217c7['push'](_0x51a440),_0x1479d9['push'](_0x2a3ce2);}function _0x4147b7(_0x2a5a3d,_0x49ec91,_0x4f6340,_0x55cbe7){let _0x5530d3=[],_0x5b5556=0x0,_0xddd163=-0x1;for(;_0x286fad['pos']>_0x49ec91;){let {id:_0x1f1e77,start:_0x4b4a5b,end:_0x8501ba,size:_0x116a87}=_0x286fad;if(_0x116a87>0x4)_0x286fad['next']();else{if(_0xddd163>-0x1&&_0x4b4a5b<_0xddd163)break;_0xddd163<0x0&&(_0xddd163=_0x8501ba-_0x1f0c8f),_0x5530d3['push'](_0x1f1e77,_0x4b4a5b,_0x8501ba),_0x5b5556++,_0x286fad['next']();}}if(_0x5b5556){let _0x58c52b=new Uint16Array(0x4*_0x5b5556),_0x479890=_0x5530d3[_0x5530d3['length']-0x2];for(let _0x57efd6=_0x5530d3['length']-0x3,_0x891edd=0x0;_0x57efd6>=0x0;_0x57efd6-=0x3)_0x58c52b[_0x891edd++]=_0x5530d3[_0x57efd6],_0x58c52b[_0x891edd++]=_0x5530d3[_0x57efd6+0x1]-_0x479890,_0x58c52b[_0x891edd++]=_0x5530d3[_0x57efd6+0x2]-_0x479890,_0x58c52b[_0x891edd++]=_0x891edd;_0x4f6340['push'](new _0x551a81(_0x58c52b,_0x5530d3[0x2]-_0x479890,_0x953bc7)),_0x55cbe7['push'](_0x479890-_0x2a5a3d);}}function _0x3168d2(_0x3b19b3,_0xb0fa71,_0xa9aeff,_0x40aa2d,_0x7d92e8,_0x4e3e69,_0x4eef39,_0x5c7dae,_0x38642a){let _0x668a7a=[],_0x44c142=[];for(;_0x3b19b3['length']>_0x40aa2d;)_0x668a7a['push'](_0x3b19b3['pop']()),_0x44c142['push'](_0xb0fa71['pop']()+_0xa9aeff-_0x7d92e8);_0x3b19b3['push'](_0x5c1d59(_0x953bc7['types'][_0x4eef39],_0x668a7a,_0x44c142,_0x4e3e69-_0x7d92e8,_0x5c7dae-_0x4e3e69,_0x38642a)),_0xb0fa71['push'](_0x7d92e8-_0xa9aeff);}function _0x5c1d59(_0x5195d4,_0x44e6b9,_0x1b1007,_0x4d75b6,_0xef7d48,_0x3394e2,_0x42d1d5){if(_0x3394e2){let _0x8ac6d9=[_0x4ee311['contextHash'],_0x3394e2];_0x42d1d5=_0x42d1d5?[_0x8ac6d9]['concat'](_0x42d1d5):[_0x8ac6d9];}if(_0xef7d48>0x19){let _0x43880e=[_0x4ee311['lookAhead'],_0xef7d48];_0x42d1d5=_0x42d1d5?[_0x43880e]['concat'](_0x42d1d5):[_0x43880e];}return new _0x2701ca(_0x5195d4,_0x44e6b9,_0x1b1007,_0x4d75b6,_0x42d1d5);}function _0x3b523f(_0x487ef4,_0x203aef,_0x4d5932){let {id:_0x53c552,start:_0x56b6fd,end:_0x17994e,size:_0xabfc59}=_0x286fad;if(_0x286fad['next'](),_0xabfc59>=0x0&&_0x53c552<_0x45ada3){let _0x187a00=_0x4d5932;if(_0xabfc59>0x4){let _0x918b45=_0x286fad['pos']-(_0xabfc59-0x4);for(;_0x286fad['pos']>_0x918b45;)_0x4d5932=_0x3b523f(_0x487ef4,_0x203aef,_0x4d5932);}_0x203aef[--_0x4d5932]=_0x187a00,_0x203aef[--_0x4d5932]=_0x17994e-_0x487ef4,_0x203aef[--_0x4d5932]=_0x56b6fd-_0x487ef4,_0x203aef[--_0x4d5932]=_0x53c552;}else-0x3==_0xabfc59?_0x1df337=_0x53c552:-0x4==_0xabfc59&&(_0x46cc95=_0x53c552);return _0x4d5932;}let _0x1243e4=[],_0xb468fe=[];for(;_0x286fad['pos']>0x0;)_0x5370ce(_0x4a39ef['start']||0x0,_0x4a39ef['bufferStart']||0x0,_0x1243e4,_0xb468fe,-0x1,0x0);let _0xc0e477=null!==(_0x31e028=_0x4a39ef['length'])&&void 0x0!==_0x31e028?_0x31e028:_0x1243e4['length']?_0xb468fe[0x0]+_0x1243e4[0x0]['length']:0x0;return new _0x2701ca(_0x5d1504[_0x4a39ef['topID']],_0x1243e4['reverse'](),_0xb468fe['reverse'](),_0xc0e477);}const _0x543324=new WeakMap();function _0x13532c(_0x5e72ac,_0x42e571){if(!_0x5e72ac['isAnonymous']||_0x42e571 instanceof _0x551a81||_0x42e571['type']!=_0x5e72ac)return 0x1;let _0x189688=_0x543324['get'](_0x42e571);if(null==_0x189688){_0x189688=0x1;for(let _0x105e7d of _0x42e571['children']){if(_0x105e7d['type']!=_0x5e72ac||!(_0x105e7d instanceof _0x2701ca)){_0x189688=0x1;break;}_0x189688+=_0x13532c(_0x5e72ac,_0x105e7d);}_0x543324['set'](_0x42e571,_0x189688);}return _0x189688;}function _0x80b68d(_0x41ac7a,_0x2fefde,_0x2b04e1,_0x5b2299,_0x561bf9,_0x35e1bb,_0x189192,_0x4f9bee,_0x1af50d){let _0x21b2d8=0x0;for(let _0x5879d6=_0x5b2299;_0x5879d6<_0x561bf9;_0x5879d6++)_0x21b2d8+=_0x13532c(_0x41ac7a,_0x2fefde[_0x5879d6]);let _0x108785=Math['ceil'](1.5*_0x21b2d8/0x8),_0x418bd8=[],_0x48e3c5=[];return function _0x45712f(_0x3ffeb7,_0x430e69,_0x1aee28,_0x21f85f,_0x39e1d){for(let _0x530e91=_0x1aee28;_0x530e91<_0x21f85f;){let _0x4e8be3=_0x530e91,_0x141875=_0x430e69[_0x530e91],_0x5a1478=_0x13532c(_0x41ac7a,_0x3ffeb7[_0x530e91]);for(_0x530e91++;_0x530e91<_0x21f85f;_0x530e91++){let _0x5c9495=_0x13532c(_0x41ac7a,_0x3ffeb7[_0x530e91]);if(_0x5a1478+_0x5c9495>=_0x108785)break;_0x5a1478+=_0x5c9495;}if(_0x530e91==_0x4e8be3+0x1){if(_0x5a1478>_0x108785){let _0x4dfa22=_0x3ffeb7[_0x4e8be3];_0x45712f(_0x4dfa22['children'],_0x4dfa22['positions'],0x0,_0x4dfa22['children']['length'],_0x430e69[_0x4e8be3]+_0x39e1d);continue;}_0x418bd8['push'](_0x3ffeb7[_0x4e8be3]);}else{let _0x3368d7=_0x430e69[_0x530e91-0x1]+_0x3ffeb7[_0x530e91-0x1]['length']-_0x141875;_0x418bd8['push'](_0x80b68d(_0x41ac7a,_0x3ffeb7,_0x430e69,_0x4e8be3,_0x530e91,_0x141875,_0x3368d7,null,_0x1af50d));}_0x48e3c5['push'](_0x141875+_0x39e1d-_0x35e1bb);}}(_0x2fefde,_0x2b04e1,_0x5b2299,_0x561bf9,0x0),(_0x4f9bee||_0x1af50d)(_0x418bd8,_0x48e3c5,_0x189192);}class _0x280fac{constructor(){this['map']=new WeakMap();}['setBuffer'](_0x2d5a6,_0x327f5c,_0x27e2eb){let _0x3a27d9=this['map']['get'](_0x2d5a6);_0x3a27d9||this['map']['set'](_0x2d5a6,_0x3a27d9=new Map()),_0x3a27d9['set'](_0x327f5c,_0x27e2eb);}['getBuffer'](_0x33b30c,_0x35e3ac){let _0x2970e1=this['map']['get'](_0x33b30c);return _0x2970e1&&_0x2970e1['get'](_0x35e3ac);}['set'](_0x1c4606,_0x5114a3){_0x1c4606 instanceof _0x196f4f?this['setBuffer'](_0x1c4606['context']['buffer'],_0x1c4606['index'],_0x5114a3):_0x1c4606 instanceof _0x1b3e48&&this['map']['set'](_0x1c4606['tree'],_0x5114a3);}['get'](_0x44b9a5){return _0x44b9a5 instanceof _0x196f4f?this['getBuffer'](_0x44b9a5['context']['buffer'],_0x44b9a5['index']):_0x44b9a5 instanceof _0x1b3e48?this['map']['get'](_0x44b9a5['tree']):void 0x0;}['cursorSet'](_0x1b5825,_0x319758){_0x1b5825['buffer']?this['setBuffer'](_0x1b5825['buffer']['buffer'],_0x1b5825['index'],_0x319758):this['map']['set'](_0x1b5825['tree'],_0x319758);}['cursorGet'](_0xe50925){return _0xe50925['buffer']?this['getBuffer'](_0xe50925['buffer']['buffer'],_0xe50925['index']):this['map']['get'](_0xe50925['tree']);}}class TreeFragment{constructor(_0x362e14,_0x27ac34,_0x54479b,_0x3881b8,_0x2e0e07=!0x1,_0x35695d=!0x1){this['from']=_0x362e14,this['to']=_0x27ac34,this['tree']=_0x54479b,this['offset']=_0x3881b8,this['open']=(_0x2e0e07?0x1:0x0)|(_0x35695d?0x2:0x0);}get['openStart'](){return(0x1&this['open'])>0x0;}get['openEnd'](){return(0x2&this['open'])>0x0;}static['addTree'](_0x2d6ded,_0x1efbb8=[],_0x1f0749=!0x1){let _0x288b8=[new TreeFragment(0x0,_0x2d6ded['length'],_0x2d6ded,0x0,!0x1,_0x1f0749)];for(let _0x53a854 of _0x1efbb8)_0x53a854['to']>_0x2d6ded['length']&&_0x288b8['push'](_0x53a854);return _0x288b8;}static['applyChanges'](_0x33f107,_0x104ba9,_0x409307=0x80){if(!_0x104ba9['length'])return _0x33f107;let _0x45e38f=[],_0x1491ce=0x1,_0x2fe89d=_0x33f107['length']?_0x33f107[0x0]:null;for(let _0x263a99=0x0,_0x58ee83=0x0,_0x193c67=0x0;;_0x263a99++){let _0x23f719=_0x263a99<_0x104ba9['length']?_0x104ba9[_0x263a99]:null,_0x9003af=_0x23f719?_0x23f719['fromA']:0x3b9aca00;if(_0x9003af-_0x58ee83>=_0x409307)for(;_0x2fe89d&&_0x2fe89d['from']<_0x9003af;){let _0x4ae77a=_0x2fe89d;if(_0x58ee83>=_0x4ae77a['from']||_0x9003af<=_0x4ae77a['to']||_0x193c67){let _0x3e2130=Math['max'](_0x4ae77a['from'],_0x58ee83)-_0x193c67,_0x571507=Math['min'](_0x4ae77a['to'],_0x9003af)-_0x193c67;_0x4ae77a=_0x3e2130>=_0x571507?null:new TreeFragment(_0x3e2130,_0x571507,_0x4ae77a['tree'],_0x4ae77a['offset']+_0x193c67,_0x263a99>0x0,!!_0x23f719);}if(_0x4ae77a&&_0x45e38f['push'](_0x4ae77a),_0x2fe89d['to']>_0x9003af)break;_0x2fe89d=_0x1491ce<_0x33f107['length']?_0x33f107[_0x1491ce++]:null;}if(!_0x23f719)break;_0x58ee83=_0x23f719['toA'],_0x193c67=_0x23f719['toA']-_0x23f719['toB'];}return _0x45e38f;}}class _0x60d5c1{['startParse'](_0x12b262,_0xc9559e,_0x4b6e9e){return'string'==typeof _0x12b262&&(_0x12b262=new StringInput(_0x12b262)),_0x4b6e9e=_0x4b6e9e?_0x4b6e9e['length']?_0x4b6e9e['map'](_0x11e50e=>new _0x58a4f4(_0x11e50e['from'],_0x11e50e['to'])):[new _0x58a4f4(0x0,0x0)]:[new _0x58a4f4(0x0,_0x12b262['length'])],this['createParse'](_0x12b262,_0xc9559e||[],_0x4b6e9e);}['parse'](_0x502664,_0x430e8b,_0x4e5fdf){let _0x2d413c=this['startParse'](_0x502664,_0x430e8b,_0x4e5fdf);for(;;){let _0x370013=_0x2d413c['advance']();if(_0x370013)return _0x370013;}}}class StringInput{constructor(_0x3c24c7){this['string']=_0x3c24c7;}get['length'](){return this['string']['length'];}['chunk'](_0xe1f80c){return this['string']['slice'](_0xe1f80c);}get['lineChunks'](){return!0x1;}['read'](_0x104a6a,_0xce32f9){return this['string']['slice'](_0x104a6a,_0xce32f9);}}function _0x2fd587(_0x5c0463){return(_0x22ada4,_0x3cc79e,_0x21c997,_0x428fe8)=>new _0x26c1b3(_0x22ada4,_0x5c0463,_0x3cc79e,_0x21c997,_0x428fe8);}class _0x521300{constructor(_0x15c7fe,_0x12a284,_0xc02498,_0x2a57f9,_0x14434d){this['parser']=_0x15c7fe,this['parse']=_0x12a284,this['overlay']=_0xc02498,this['target']=_0x2a57f9,this['from']=_0x14434d;}}function _0x1c8408(_0x35ad57){if(!_0x35ad57['length']||_0x35ad57['some'](_0x2fefd3=>_0x2fefd3['from']>=_0x2fefd3['to']))throw new RangeError('Invalid\x20inner\x20parse\x20ranges\x20given:\x20'+JSON['stringify'](_0x35ad57));}class ActiveOverlay{constructor(_0x409f50,_0x48aa20,_0xa867f1,_0x36011f,_0xf4a3e2,_0x5267cc,_0x4f1705){this['parser']=_0x409f50,this['predicate']=_0x48aa20,this['mounts']=_0xa867f1,this['index']=_0x36011f,this['start']=_0xf4a3e2,this['target']=_0x5267cc,this['prev']=_0x4f1705,this['depth']=0x0,this['ranges']=[];}}const stoppedInner=new _0x4ee311({'perNode':!0x0});class _0x26c1b3{constructor(_0x3f2fe1,_0x2ed0bc,_0x5b0872,_0x30e21e,_0x4b391d){this['nest']=_0x2ed0bc,this['input']=_0x5b0872,this['fragments']=_0x30e21e,this['ranges']=_0x4b391d,this['inner']=[],this['innerDone']=0x0,this['baseTree']=null,this['stoppedAt']=null,this['baseParse']=_0x3f2fe1;}['advance'](){if(this['baseParse']){let _0x29f413=this['baseParse']['advance']();if(!_0x29f413)return null;if(this['baseParse']=null,this['baseTree']=_0x29f413,this['startInner'](),null!=this['stoppedAt']){for(let _0x5db683 of this['inner'])_0x5db683['parse']['stopAt'](this['stoppedAt']);}}if(this['innerDone']==this['inner']['length']){let _0x500624=this['baseTree'];return null!=this['stoppedAt']&&(_0x500624=new _0x2701ca(_0x500624['type'],_0x500624['children'],_0x500624['positions'],_0x500624['length'],_0x500624['propValues']['concat']([[stoppedInner,this['stoppedAt']]]))),_0x500624;}let _0x570776=this['inner'][this['innerDone']],_0x270e37=_0x570776['parse']['advance']();if(_0x270e37){this['innerDone']++;let _0x4b17c9=Object['assign'](Object['create'](null),_0x570776['target']['props']);_0x4b17c9[_0x4ee311['mounted']['id']]=new MountedTree(_0x270e37,_0x570776['overlay'],_0x570776['parser']),_0x570776['target']['props']=_0x4b17c9;}return null;}get['parsedPos'](){if(this['baseParse'])return 0x0;let _0x169873=this['input']['length'];for(let _0x1e36aa=this['innerDone'];_0x1e36aa<this['inner']['length'];_0x1e36aa++)this['inner'][_0x1e36aa]['from']<_0x169873&&(_0x169873=Math['min'](_0x169873,this['inner'][_0x1e36aa]['parse']['parsedPos']));return _0x169873;}['stopAt'](_0x26cbb4){if(this['stoppedAt']=_0x26cbb4,this['baseParse'])this['baseParse']['stopAt'](_0x26cbb4);else{for(let _0x2c373d=this['innerDone'];_0x2c373d<this['inner']['length'];_0x2c373d++)this['inner'][_0x2c373d]['parse']['stopAt'](_0x26cbb4);}}['startInner'](){let _0x7bb190=new FragmentCursor$2(this['fragments']),_0x5666db=null,_0x3a5d6f=null,_0x32d15f=new _0x12460e(new _0x1b3e48(this['baseTree'],this['ranges'][0x0]['from'],0x0,null),IterMode['IncludeAnonymous']|IterMode['IgnoreMounts']);t:for(let _0x53ffd8,_0x278938;;){let _0xd2ff0,_0x1b3177=!0x0;if(null!=this['stoppedAt']&&_0x32d15f['from']>=this['stoppedAt'])_0x1b3177=!0x1;else{if(_0x7bb190['hasNode'](_0x32d15f)){if(_0x5666db){let _0x3a9427=_0x5666db['mounts']['find'](_0x1fed5d=>_0x1fed5d['frag']['from']<=_0x32d15f['from']&&_0x1fed5d['frag']['to']>=_0x32d15f['to']&&_0x1fed5d['mount']['overlay']);if(_0x3a9427)for(let _0x4e1e22 of _0x3a9427['mount']['overlay']){let _0x5d9e9e=_0x4e1e22['from']+_0x3a9427['pos'],_0x2f2f51=_0x4e1e22['to']+_0x3a9427['pos'];_0x5d9e9e>=_0x32d15f['from']&&_0x2f2f51<=_0x32d15f['to']&&!_0x5666db['ranges']['some'](_0x39fa23=>_0x39fa23['from']<_0x2f2f51&&_0x39fa23['to']>_0x5d9e9e)&&_0x5666db['ranges']['push']({'from':_0x5d9e9e,'to':_0x2f2f51});}}_0x1b3177=!0x1;}else{if(_0x3a5d6f&&(_0x278938=_0x2958ed(_0x3a5d6f['ranges'],_0x32d15f['from'],_0x32d15f['to'])))_0x1b3177=0x2!=_0x278938;else{if(!_0x32d15f['type']['isAnonymous']&&(_0x53ffd8=this['nest'](_0x32d15f,this['input']))&&(_0x32d15f['from']<_0x32d15f['to']||!_0x53ffd8['overlay'])){_0x32d15f['tree']||(materialize(_0x32d15f),_0x5666db&&_0x5666db['depth']++,_0x3a5d6f&&_0x3a5d6f['depth']++);let _0xbce4b0=_0x7bb190['findMounts'](_0x32d15f['from'],_0x53ffd8['parser']);if('function'==typeof _0x53ffd8['overlay'])_0x5666db=new ActiveOverlay(_0x53ffd8['parser'],_0x53ffd8['overlay'],_0xbce4b0,this['inner']['length'],_0x32d15f['from'],_0x32d15f['tree'],_0x5666db);else{let _0x32b1ee=_0x542a58(this['ranges'],_0x53ffd8['overlay']||(_0x32d15f['from']<_0x32d15f['to']?[new _0x58a4f4(_0x32d15f['from'],_0x32d15f['to'])]:[]));_0x32b1ee['length']&&_0x1c8408(_0x32b1ee),!_0x32b1ee['length']&&_0x53ffd8['overlay']||this['inner']['push'](new _0x521300(_0x53ffd8['parser'],_0x32b1ee['length']?_0x53ffd8['parser']['startParse'](this['input'],enterFragments(_0xbce4b0,_0x32b1ee),_0x32b1ee):_0x53ffd8['parser']['startParse'](''),_0x53ffd8['overlay']?_0x53ffd8['overlay']['map'](_0x73175e=>new _0x58a4f4(_0x73175e['from']-_0x32d15f['from'],_0x73175e['to']-_0x32d15f['from'])):null,_0x32d15f['tree'],_0x32b1ee['length']?_0x32b1ee[0x0]['from']:_0x32d15f['from'])),_0x53ffd8['overlay']?_0x32b1ee['length']&&(_0x3a5d6f={'ranges':_0x32b1ee,'depth':0x0,'prev':_0x3a5d6f}):_0x1b3177=!0x1;}}else{if(_0x5666db&&(_0xd2ff0=_0x5666db['predicate'](_0x32d15f))&&(!0x0===_0xd2ff0&&(_0xd2ff0=new _0x58a4f4(_0x32d15f['from'],_0x32d15f['to'])),_0xd2ff0['from']<_0xd2ff0['to'])){let _0x2d3be0=_0x5666db['ranges']['length']-0x1;_0x2d3be0>=0x0&&_0x5666db['ranges'][_0x2d3be0]['to']==_0xd2ff0['from']?_0x5666db['ranges'][_0x2d3be0]={'from':_0x5666db['ranges'][_0x2d3be0]['from'],'to':_0xd2ff0['to']}:_0x5666db['ranges']['push'](_0xd2ff0);}}}}}if(_0x1b3177&&_0x32d15f['firstChild']())_0x5666db&&_0x5666db['depth']++,_0x3a5d6f&&_0x3a5d6f['depth']++;else for(;!_0x32d15f['nextSibling']();){if(!_0x32d15f['parent']())break t;if(_0x5666db&&!--_0x5666db['depth']){let _0x32da21=_0x542a58(this['ranges'],_0x5666db['ranges']);_0x32da21['length']&&(_0x1c8408(_0x32da21),this['inner']['splice'](_0x5666db['index'],0x0,new _0x521300(_0x5666db['parser'],_0x5666db['parser']['startParse'](this['input'],enterFragments(_0x5666db['mounts'],_0x32da21),_0x32da21),_0x5666db['ranges']['map'](_0x19ccf9=>new _0x58a4f4(_0x19ccf9['from']-_0x5666db['start'],_0x19ccf9['to']-_0x5666db['start'])),_0x5666db['target'],_0x32da21[0x0]['from']))),_0x5666db=_0x5666db['prev'];}_0x3a5d6f&&!--_0x3a5d6f['depth']&&(_0x3a5d6f=_0x3a5d6f['prev']);}}}}function _0x2958ed(_0x47d2e8,_0x4060df,_0x3e642e){for(let _0x316667 of _0x47d2e8){if(_0x316667['from']>=_0x3e642e)break;if(_0x316667['to']>_0x4060df)return _0x316667['from']<=_0x4060df&&_0x316667['to']>=_0x3e642e?0x2:0x1;}return 0x0;}function _0x109fea(_0x37d9c2,_0x5e1be0,_0x1f0dd8,_0x2cc2ea,_0x4081d0,_0x41c823){if(_0x5e1be0<_0x1f0dd8){let _0x1389da=_0x37d9c2['buffer'][_0x5e1be0+0x1];_0x2cc2ea['push'](_0x37d9c2['slice'](_0x5e1be0,_0x1f0dd8,_0x1389da)),_0x4081d0['push'](_0x1389da-_0x41c823);}}function materialize(_0x54b119){let {node:_0x3cefca}=_0x54b119,_0x37fd7f=[],_0x403e25=_0x3cefca['context']['buffer'];do{_0x37fd7f['push'](_0x54b119['index']),_0x54b119['parent']();}while(!_0x54b119['tree']);let _0x22ebe5=_0x54b119['tree'],_0x3f7b00=_0x22ebe5['children']['indexOf'](_0x403e25),_0x1d3654=_0x22ebe5['children'][_0x3f7b00],_0x23b667=_0x1d3654['buffer'],_0x1a3848=[_0x3f7b00];_0x22ebe5['children'][_0x3f7b00]=function _0x4d7629(_0x4d0d1a,_0x282170,_0x1b8855,_0x545d29,_0x32a55c,_0x1e6887){let _0x402cc8=_0x37fd7f[_0x1e6887],_0x4d23f6=[],_0x13f4da=[];_0x109fea(_0x1d3654,_0x4d0d1a,_0x402cc8,_0x4d23f6,_0x13f4da,_0x545d29);let _0x18d2b9=_0x23b667[_0x402cc8+0x1],_0x107fc6=_0x23b667[_0x402cc8+0x2];_0x1a3848['push'](_0x4d23f6['length']);let _0x1d1b31=_0x1e6887?_0x4d7629(_0x402cc8+0x4,_0x23b667[_0x402cc8+0x3],_0x1d3654['set']['types'][_0x23b667[_0x402cc8]],_0x18d2b9,_0x107fc6-_0x18d2b9,_0x1e6887-0x1):_0x3cefca['toTree']();return _0x4d23f6['push'](_0x1d1b31),_0x13f4da['push'](_0x18d2b9-_0x545d29),_0x109fea(_0x1d3654,_0x23b667[_0x402cc8+0x3],_0x282170,_0x4d23f6,_0x13f4da,_0x545d29),new _0x2701ca(_0x1b8855,_0x4d23f6,_0x13f4da,_0x32a55c);}(0x0,_0x23b667['length'],_0x343050['none'],0x0,_0x1d3654['length'],_0x37fd7f['length']-0x1);for(let _0x2cff8b of _0x1a3848){let _0x3003e1=_0x54b119['tree']['children'][_0x2cff8b],_0x4a8a04=_0x54b119['tree']['positions'][_0x2cff8b];_0x54b119['yield'](new _0x1b3e48(_0x3003e1,_0x4a8a04+_0x54b119['from'],_0x2cff8b,_0x54b119['_tree']));}}class StructureCursor{constructor(_0x525e04,_0x30ac12){this['offset']=_0x30ac12,this['done']=!0x1,this['cursor']=_0x525e04['cursor'](IterMode['IncludeAnonymous']|IterMode['IgnoreMounts']);}['moveTo'](_0x1066ad){let {cursor:_0x40c651}=this,_0x391cbb=_0x1066ad-this['offset'];for(;!this['done']&&_0x40c651['from']<_0x391cbb;)_0x40c651['to']>=_0x1066ad&&_0x40c651['enter'](_0x391cbb,0x1,IterMode['IgnoreOverlays']|IterMode['ExcludeBuffers'])||_0x40c651['next'](!0x1)||(this['done']=!0x0);}['hasNode'](_0xdb9c89){if(this['moveTo'](_0xdb9c89['from']),!this['done']&&this['cursor']['from']+this['offset']==_0xdb9c89['from']&&this['cursor']['tree'])for(let _0x1f721b=this['cursor']['tree'];;){if(_0x1f721b==_0xdb9c89['tree'])return!0x0;if(!(_0x1f721b['children']['length']&&0x0==_0x1f721b['positions'][0x0]&&_0x1f721b['children'][0x0]instanceof _0x2701ca))break;_0x1f721b=_0x1f721b['children'][0x0];}return!0x1;}}let FragmentCursor$2=class{constructor(_0x287f86){var _0x104ce8;if(this['fragments']=_0x287f86,this['curTo']=0x0,this['fragI']=0x0,_0x287f86['length']){let _0x252ce4=this['curFrag']=_0x287f86[0x0];this['curTo']=null!==(_0x104ce8=_0x252ce4['tree']['prop'](stoppedInner))&&void 0x0!==_0x104ce8?_0x104ce8:_0x252ce4['to'],this['inner']=new StructureCursor(_0x252ce4['tree'],-_0x252ce4['offset']);}else this['curFrag']=this['inner']=null;}['hasNode'](_0x4c6f5e){for(;this['curFrag']&&_0x4c6f5e['from']>=this['curTo'];)this['nextFrag']();return this['curFrag']&&this['curFrag']['from']<=_0x4c6f5e['from']&&this['curTo']>=_0x4c6f5e['to']&&this['inner']['hasNode'](_0x4c6f5e);}['nextFrag'](){var _0x2b1d9e;if(this['fragI']++,this['fragI']==this['fragments']['length'])this['curFrag']=this['inner']=null;else{let _0x337992=this['curFrag']=this['fragments'][this['fragI']];this['curTo']=null!==(_0x2b1d9e=_0x337992['tree']['prop'](stoppedInner))&&void 0x0!==_0x2b1d9e?_0x2b1d9e:_0x337992['to'],this['inner']=new StructureCursor(_0x337992['tree'],-_0x337992['offset']);}}['findMounts'](_0x22896c,_0x46f000){var _0x1e297a;let _0x13a98d=[];if(this['inner']){this['inner']['cursor']['moveTo'](_0x22896c,0x1);for(let _0x3d14d2=this['inner']['cursor']['node'];_0x3d14d2;_0x3d14d2=_0x3d14d2['parent']){let _0x12ff00=null===(_0x1e297a=_0x3d14d2['tree'])||void 0x0===_0x1e297a?void 0x0:_0x1e297a['prop'](_0x4ee311['mounted']);if(_0x12ff00&&_0x12ff00['parser']==_0x46f000)for(let _0x1dee40=this['fragI'];_0x1dee40<this['fragments']['length'];_0x1dee40++){let _0x459435=this['fragments'][_0x1dee40];if(_0x459435['from']>=_0x3d14d2['to'])break;_0x459435['tree']==this['curFrag']['tree']&&_0x13a98d['push']({'frag':_0x459435,'pos':_0x3d14d2['from']-_0x459435['offset'],'mount':_0x12ff00});}}}return _0x13a98d;}};function _0x542a58(_0x21bab8,_0x2a0445){let _0x4e47be=null,_0x14faf0=_0x2a0445;for(let _0x21292d=0x1,_0x17d5b2=0x0;_0x21292d<_0x21bab8['length'];_0x21292d++){let _0x51b1cf=_0x21bab8[_0x21292d-0x1]['to'],_0x5ddaa7=_0x21bab8[_0x21292d]['from'];for(;_0x17d5b2<_0x14faf0['length'];_0x17d5b2++){let _0x23564b=_0x14faf0[_0x17d5b2];if(_0x23564b['from']>=_0x5ddaa7)break;_0x23564b['to']<=_0x51b1cf||(_0x4e47be||(_0x14faf0=_0x4e47be=_0x2a0445['slice']()),_0x23564b['from']<_0x51b1cf?(_0x4e47be[_0x17d5b2]=new _0x58a4f4(_0x23564b['from'],_0x51b1cf),_0x23564b['to']>_0x5ddaa7&&_0x4e47be['splice'](_0x17d5b2+0x1,0x0,new _0x58a4f4(_0x5ddaa7,_0x23564b['to']))):_0x23564b['to']>_0x5ddaa7?_0x4e47be[_0x17d5b2--]=new _0x58a4f4(_0x5ddaa7,_0x23564b['to']):_0x4e47be['splice'](_0x17d5b2--,0x1));}}return _0x14faf0;}function _0x21f478(_0x4e6451,_0x391a77,_0x544ff7,_0x4a481c){let _0x1901c3=0x0,_0x3b4d45=0x0,_0x1cf3bb=!0x1,_0x5273a7=!0x1,_0x1e7761=-0x3b9aca00,_0x401aa2=[];for(;;){let _0x19e834=_0x1901c3==_0x4e6451['length']?0x3b9aca00:_0x1cf3bb?_0x4e6451[_0x1901c3]['to']:_0x4e6451[_0x1901c3]['from'],_0x501bb0=_0x3b4d45==_0x391a77['length']?0x3b9aca00:_0x5273a7?_0x391a77[_0x3b4d45]['to']:_0x391a77[_0x3b4d45]['from'];if(_0x1cf3bb!=_0x5273a7){let _0x82bf5e=Math['max'](_0x1e7761,_0x544ff7),_0x21cd99=Math['min'](_0x19e834,_0x501bb0,_0x4a481c);_0x82bf5e<_0x21cd99&&_0x401aa2['push'](new _0x58a4f4(_0x82bf5e,_0x21cd99));}if(_0x1e7761=Math['min'](_0x19e834,_0x501bb0),0x3b9aca00==_0x1e7761)break;_0x19e834==_0x1e7761&&(_0x1cf3bb?(_0x1cf3bb=!0x1,_0x1901c3++):_0x1cf3bb=!0x0),_0x501bb0==_0x1e7761&&(_0x5273a7?(_0x5273a7=!0x1,_0x3b4d45++):_0x5273a7=!0x0);}return _0x401aa2;}function enterFragments(_0x4af8da,_0x3560f0){let _0x5b8806=[];for(let {pos:_0x3f58c7,mount:_0x11a15d,frag:_0x33a499}of _0x4af8da){let _0x2e160b=_0x3f58c7+(_0x11a15d['overlay']?_0x11a15d['overlay'][0x0]['from']:0x0),_0x3eb456=_0x2e160b+_0x11a15d['tree']['length'],_0x3dca7c=Math['max'](_0x33a499['from'],_0x2e160b),_0x4c361e=Math['min'](_0x33a499['to'],_0x3eb456);if(_0x11a15d['overlay']){let _0x22f554=_0x21f478(_0x3560f0,_0x11a15d['overlay']['map'](_0x10f6aa=>new _0x58a4f4(_0x10f6aa['from']+_0x3f58c7,_0x10f6aa['to']+_0x3f58c7)),_0x3dca7c,_0x4c361e);for(let _0xad924b=0x0,_0x127804=_0x3dca7c;;_0xad924b++){let _0x585739=_0xad924b==_0x22f554['length'],_0x50221f=_0x585739?_0x4c361e:_0x22f554[_0xad924b]['from'];if(_0x50221f>_0x127804&&_0x5b8806['push'](new TreeFragment(_0x127804,_0x50221f,_0x11a15d['tree'],-_0x2e160b,_0x33a499['from']>=_0x127804||_0x33a499['openStart'],_0x33a499['to']<=_0x50221f||_0x33a499['openEnd'])),_0x585739)break;_0x127804=_0x22f554[_0xad924b]['to'];}}else _0x5b8806['push'](new TreeFragment(_0x3dca7c,_0x4c361e,_0x11a15d['tree'],-_0x2e160b,_0x33a499['from']>=_0x2e160b||_0x33a499['openStart'],_0x33a499['to']<=_0x3eb456||_0x33a499['openEnd']));}return _0x5b8806;}let nextTagID=0x0;class _0x3b363a{constructor(_0xc21a35,_0x35af61,_0x2beedb,_0x496794){this['name']=_0xc21a35,this['set']=_0x35af61,this['base']=_0x2beedb,this['modified']=_0x496794,this['id']=nextTagID++;}['toString'](){let {name:_0x31d018}=this;for(let _0x43081d of this['modified'])_0x43081d['name']&&(_0x31d018=_0x43081d['name']+'('+_0x31d018+')');return _0x31d018;}static['define'](_0x9526cc,_0x1e9e28){let _0x158b42='string'==typeof _0x9526cc?_0x9526cc:'?';if(_0x9526cc instanceof _0x3b363a&&(_0x1e9e28=_0x9526cc),null==_0x1e9e28?void 0x0:_0x1e9e28['base'])throw new Error('Can\x20not\x20derive\x20from\x20a\x20modified\x20tag');let _0x7e0379=new _0x3b363a(_0x158b42,[],null,[]);if(_0x7e0379['set']['push'](_0x7e0379),_0x1e9e28){for(let t of _0x1e9e28['set'])_0x7e0379['set']['push'](t);}return _0x7e0379;}static['defineModifier'](_0x2d08cb){let _0x3009a9=new _0x672e02(_0x2d08cb);return _0x57fabc=>_0x57fabc['modified']['indexOf'](_0x3009a9)>-0x1?_0x57fabc:_0x672e02['get'](_0x57fabc['base']||_0x57fabc,_0x57fabc['modified']['concat'](_0x3009a9)['sort']((_0x386e9e,_0x4b9e18)=>_0x386e9e['id']-_0x4b9e18['id']));}}let nextModifierID=0x0;class _0x672e02{constructor(_0x51b232){this['name']=_0x51b232,this['instances']=[],this['id']=nextModifierID++;}static['get'](_0x17a560,_0x3fa87f){if(!_0x3fa87f['length'])return _0x17a560;let _0x14f6f5=_0x3fa87f[0x0]['instances']['find'](t=>t['base']==_0x17a560&&_0x5260bb(_0x3fa87f,t['modified']));if(_0x14f6f5)return _0x14f6f5;let _0x5ee13f=[],_0x57972c=new _0x3b363a(_0x17a560['name'],_0x5ee13f,_0x17a560,_0x3fa87f);for(let _0x6c21d1 of _0x3fa87f)_0x6c21d1['instances']['push'](_0x57972c);let _0x566dc1=powerSet(_0x3fa87f);for(let _0x705fc0 of _0x17a560['set'])if(!_0x705fc0['modified']['length']){for(let _0x38f302 of _0x566dc1)_0x5ee13f['push'](_0x672e02['get'](_0x705fc0,_0x38f302));}return _0x57972c;}}function _0x5260bb(_0x33924e,_0x1f53ce){return _0x33924e['length']==_0x1f53ce['length']&&_0x33924e['every']((_0x3035bc,_0x98b9a4)=>_0x3035bc==_0x1f53ce[_0x98b9a4]);}function powerSet(_0x41071a){let _0x50878e=[[]];for(let _0x480378=0x0;_0x480378<_0x41071a['length'];_0x480378++)for(let _0x23e6e1=0x0,_0x584118=_0x50878e['length'];_0x23e6e1<_0x584118;_0x23e6e1++)_0x50878e['push'](_0x50878e[_0x23e6e1]['concat'](_0x41071a[_0x480378]));return _0x50878e['sort']((_0xb42fca,_0x1c0952)=>_0x1c0952['length']-_0xb42fca['length']);}function styleTags(_0x1c0231){let _0x41112b=Object['create'](null);for(let _0x195a9c in _0x1c0231){let _0x14e767=_0x1c0231[_0x195a9c];Array['isArray'](_0x14e767)||(_0x14e767=[_0x14e767]);for(let _0x3a1e45 of _0x195a9c['split']('\x20'))if(_0x3a1e45){let _0x42d725=[],_0xa794a0=0x2,_0x3085ae=_0x3a1e45;for(let _0x29334c=0x0;;){if('...'==_0x3085ae&&_0x29334c>0x0&&_0x29334c+0x3==_0x3a1e45['length']){_0xa794a0=0x1;break;}let _0x5a3a70=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/['exec'](_0x3085ae);if(!_0x5a3a70)throw new RangeError('Invalid\x20path:\x20'+_0x3a1e45);if(_0x42d725['push']('*'==_0x5a3a70[0x0]?'':'\x22'==_0x5a3a70[0x0][0x0]?JSON['parse'](_0x5a3a70[0x0]):_0x5a3a70[0x0]),_0x29334c+=_0x5a3a70[0x0]['length'],_0x29334c==_0x3a1e45['length'])break;let _0x500456=_0x3a1e45[_0x29334c++];if(_0x29334c==_0x3a1e45['length']&&'!'==_0x500456){_0xa794a0=0x0;break;}if('/'!=_0x500456)throw new RangeError('Invalid\x20path:\x20'+_0x3a1e45);_0x3085ae=_0x3a1e45['slice'](_0x29334c);}let _0x244ee7=_0x42d725['length']-0x1,_0x4fbf85=_0x42d725[_0x244ee7];if(!_0x4fbf85)throw new RangeError('Invalid\x20path:\x20'+_0x3a1e45);let _0x3f2179=new _0xdefd62(_0x14e767,_0xa794a0,_0x244ee7>0x0?_0x42d725['slice'](0x0,_0x244ee7):null);_0x41112b[_0x4fbf85]=_0x3f2179['sort'](_0x41112b[_0x4fbf85]);}}return _0x260c71['add'](_0x41112b);}const _0x260c71=new _0x4ee311({'combine'(_0x7aa6af,_0x44f1b3){let _0x785d0a,_0x4257d,_0xdafb92;for(;_0x7aa6af||_0x44f1b3;){if(!_0x7aa6af||_0x44f1b3&&_0x7aa6af['depth']>=_0x44f1b3['depth']?(_0xdafb92=_0x44f1b3,_0x44f1b3=_0x44f1b3['next']):(_0xdafb92=_0x7aa6af,_0x7aa6af=_0x7aa6af['next']),_0x785d0a&&_0x785d0a['mode']==_0xdafb92['mode']&&!_0xdafb92['context']&&!_0x785d0a['context'])continue;let _0x357027=new _0xdefd62(_0xdafb92['tags'],_0xdafb92['mode'],_0xdafb92['context']);_0x785d0a?_0x785d0a['next']=_0x357027:_0x4257d=_0x357027,_0x785d0a=_0x357027;}return _0x4257d;}});class _0xdefd62{constructor(_0x478548,_0x46b792,_0x489813,_0x39068e){this['tags']=_0x478548,this['mode']=_0x46b792,this['context']=_0x489813,this['next']=_0x39068e;}get['opaque'](){return 0x0==this['mode'];}get['inherit'](){return 0x1==this['mode'];}['sort'](_0x534e48){return!_0x534e48||_0x534e48['depth']<this['depth']?(this['next']=_0x534e48,this):(_0x534e48['next']=this['sort'](_0x534e48['next']),_0x534e48);}get['depth'](){return this['context']?this['context']['length']:0x0;}}function tagHighlighter(_0x146a1f,_0x39a4c4){let _0x35b845=Object['create'](null);for(let _0x27f472 of _0x146a1f)if(Array['isArray'](_0x27f472['tag'])){for(let _0x175c3c of _0x27f472['tag'])_0x35b845[_0x175c3c['id']]=_0x27f472['class'];}else _0x35b845[_0x27f472['tag']['id']]=_0x27f472['class'];let {scope:_0x37f2e4,all:_0x520245=null}=_0x39a4c4||{};return{'style':_0x45dc4b=>{let _0x47837a=_0x520245;for(let _0xeb52b8 of _0x45dc4b)for(let _0x2d64fa of _0xeb52b8['set']){let _0x1b145d=_0x35b845[_0x2d64fa['id']];if(_0x1b145d){_0x47837a=_0x47837a?_0x47837a+'\x20'+_0x1b145d:_0x1b145d;break;}}return _0x47837a;},'scope':_0x37f2e4};}function highlightTags(_0x1fefa2,_0x46373a){let _0x9b70e3=null;for(let _0x4e9c02 of _0x1fefa2){let _0x4ef771=_0x4e9c02['style'](_0x46373a);_0x4ef771&&(_0x9b70e3=_0x9b70e3?_0x9b70e3+'\x20'+_0x4ef771:_0x4ef771);}return _0x9b70e3;}function highlightTree(_0x19ea4f,_0x3379b8,_0x331834,_0x152fcd=0x0,_0x239e36=_0x19ea4f['length']){let _0x2e7e94=new HighlightBuilder(_0x152fcd,Array['isArray'](_0x3379b8)?_0x3379b8:[_0x3379b8],_0x331834);_0x2e7e94['highlightRange'](_0x19ea4f['cursor'](),_0x152fcd,_0x239e36,'',_0x2e7e94['highlighters']),_0x2e7e94['flush'](_0x239e36);}_0xdefd62['empty']=new _0xdefd62([],0x2,null);class HighlightBuilder{constructor(_0x50330d,_0x867662,_0x5f3e06){this['at']=_0x50330d,this['highlighters']=_0x867662,this['span']=_0x5f3e06,this['class']='';}['startSpan'](_0x7e14e8,_0x3717a5){_0x3717a5!=this['class']&&(this['flush'](_0x7e14e8),_0x7e14e8>this['at']&&(this['at']=_0x7e14e8),this['class']=_0x3717a5);}['flush'](_0x5cf558){_0x5cf558>this['at']&&this['class']&&this['span'](this['at'],_0x5cf558,this['class']);}['highlightRange'](_0x3b64fc,_0x57052f,_0x7aabb8,_0x543dae,_0x19323f){let {type:_0x530c44,from:_0x4be805,to:_0x452f8e}=_0x3b64fc;if(_0x4be805>=_0x7aabb8||_0x452f8e<=_0x57052f)return;_0x530c44['isTop']&&(_0x19323f=this['highlighters']['filter'](_0x323b63=>!_0x323b63['scope']||_0x323b63['scope'](_0x530c44)));let _0x5924a0=_0x543dae,_0x23c2bc=getStyleTags(_0x3b64fc)||_0xdefd62['empty'],_0x2e3d90=highlightTags(_0x19323f,_0x23c2bc['tags']);if(_0x2e3d90&&(_0x5924a0&&(_0x5924a0+='\x20'),_0x5924a0+=_0x2e3d90,0x1==_0x23c2bc['mode']&&(_0x543dae+=(_0x543dae?'\x20':'')+_0x2e3d90)),this['startSpan'](Math['max'](_0x57052f,_0x4be805),_0x5924a0),_0x23c2bc['opaque'])return;let _0x4ecdfc=_0x3b64fc['tree']&&_0x3b64fc['tree']['prop'](_0x4ee311['mounted']);if(_0x4ecdfc&&_0x4ecdfc['overlay']){let _0xca69f5=_0x3b64fc['node']['enter'](_0x4ecdfc['overlay'][0x0]['from']+_0x4be805,0x1),_0x26681d=this['highlighters']['filter'](_0x589624=>!_0x589624['scope']||_0x589624['scope'](_0x4ecdfc['tree']['type'])),_0x3433da=_0x3b64fc['firstChild']();for(let _0x4b8ffe=0x0,_0x4113b4=_0x4be805;;_0x4b8ffe++){let _0x4d16ab=_0x4b8ffe<_0x4ecdfc['overlay']['length']?_0x4ecdfc['overlay'][_0x4b8ffe]:null,_0x578e79=_0x4d16ab?_0x4d16ab['from']+_0x4be805:_0x452f8e,_0x486405=Math['max'](_0x57052f,_0x4113b4),_0x49b9ad=Math['min'](_0x7aabb8,_0x578e79);if(_0x486405<_0x49b9ad&&_0x3433da){for(;_0x3b64fc['from']<_0x49b9ad&&(this['highlightRange'](_0x3b64fc,_0x486405,_0x49b9ad,_0x543dae,_0x19323f),this['startSpan'](Math['min'](_0x49b9ad,_0x3b64fc['to']),_0x5924a0),!(_0x3b64fc['to']>=_0x578e79)&&_0x3b64fc['nextSibling']()););}if(!_0x4d16ab||_0x578e79>_0x7aabb8)break;_0x4113b4=_0x4d16ab['to']+_0x4be805,_0x4113b4>_0x57052f&&(this['highlightRange'](_0xca69f5['cursor'](),Math['max'](_0x57052f,_0x4d16ab['from']+_0x4be805),Math['min'](_0x7aabb8,_0x4113b4),'',_0x26681d),this['startSpan'](Math['min'](_0x7aabb8,_0x4113b4),_0x5924a0));}_0x3433da&&_0x3b64fc['parent']();}else{if(_0x3b64fc['firstChild']()){_0x4ecdfc&&(_0x543dae='');do{if(!(_0x3b64fc['to']<=_0x57052f)){if(_0x3b64fc['from']>=_0x7aabb8)break;this['highlightRange'](_0x3b64fc,_0x57052f,_0x7aabb8,_0x543dae,_0x19323f),this['startSpan'](Math['min'](_0x7aabb8,_0x3b64fc['to']),_0x5924a0);}}while(_0x3b64fc['nextSibling']());_0x3b64fc['parent']();}}}}function getStyleTags(_0xcf7a42){let _0x179f1b=_0xcf7a42['type']['prop'](_0x260c71);for(;_0x179f1b&&_0x179f1b['context']&&!_0xcf7a42['matchContext'](_0x179f1b['context']);)_0x179f1b=_0x179f1b['next'];return _0x179f1b||null;}const t=_0x3b363a['define'],comment=t(),_0x2a5e3b=t(),typeName=t(_0x2a5e3b),propertyName=t(_0x2a5e3b),literal=t(),string=t(literal),_0x206503=t(literal),content=t(),_0x4199df=t(content),_0x3295eb=t(),operator=t(),punctuation=t(),bracket=t(punctuation),meta=t(),tags$1={'comment':comment,'lineComment':t(comment),'blockComment':t(comment),'docComment':t(comment),'name':_0x2a5e3b,'variableName':t(_0x2a5e3b),'typeName':typeName,'tagName':t(typeName),'propertyName':propertyName,'attributeName':t(propertyName),'className':t(_0x2a5e3b),'labelName':t(_0x2a5e3b),'namespace':t(_0x2a5e3b),'macroName':t(_0x2a5e3b),'literal':literal,'string':string,'docString':t(string),'character':t(string),'attributeValue':t(string),'number':_0x206503,'integer':t(_0x206503),'float':t(_0x206503),'bool':t(literal),'regexp':t(literal),'escape':t(literal),'color':t(literal),'url':t(literal),'keyword':_0x3295eb,'self':t(_0x3295eb),'null':t(_0x3295eb),'atom':t(_0x3295eb),'unit':t(_0x3295eb),'modifier':t(_0x3295eb),'operatorKeyword':t(_0x3295eb),'controlKeyword':t(_0x3295eb),'definitionKeyword':t(_0x3295eb),'moduleKeyword':t(_0x3295eb),'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':_0x4199df,'heading1':t(_0x4199df),'heading2':t(_0x4199df),'heading3':t(_0x4199df),'heading4':t(_0x4199df),'heading5':t(_0x4199df),'heading6':t(_0x4199df),'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':_0x3b363a['defineModifier']('definition'),'constant':_0x3b363a['defineModifier']('constant'),'function':_0x3b363a['defineModifier']('function'),'standard':_0x3b363a['defineModifier']('standard'),'local':_0x3b363a['defineModifier']('local'),'special':_0x3b363a['defineModifier']('special')};for(let _0x52b5bc in tags$1){let _0x447e71=tags$1[_0x52b5bc];_0x447e71 instanceof _0x3b363a&&(_0x447e71['name']=_0x52b5bc);}var _0x47c8af;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 _0x4ee311();function defineLanguageFacet(_0x2203a3){return Facet['define']({'combine':_0x2203a3?_0x28e375=>_0x28e375['concat'](_0x2203a3):void 0x0});}const _0x371a0d=new _0x4ee311();class _0x13cb7f{constructor(_0x483c6d,_0x9d0e64,_0x3aec84=[],_0x4f60c4=''){this['data']=_0x483c6d,this['name']=_0x4f60c4,EditorState['prototype']['hasOwnProperty']('tree')||Object['defineProperty'](EditorState['prototype'],'tree',{'get'(){return syntaxTree(this);}}),this['parser']=_0x9d0e64,this['extension']=[_0x3279b5['of'](this),EditorState['languageData']['of']((_0x1c2848,_0x5d3d8e,_0x2ff4b6)=>{let _0x3ceb4=topNodeAt(_0x1c2848,_0x5d3d8e,_0x2ff4b6),_0x5891da=_0x3ceb4['type']['prop'](languageDataProp);if(!_0x5891da)return[];let _0x460a0c=_0x1c2848['facet'](_0x5891da),_0x25a817=_0x3ceb4['type']['prop'](_0x371a0d);if(_0x25a817){let _0x4584fd=_0x3ceb4['resolve'](_0x5d3d8e-_0x3ceb4['from'],_0x2ff4b6);for(let _0x17c6e4 of _0x25a817)if(_0x17c6e4['test'](_0x4584fd,_0x1c2848)){let _0x14881f=_0x1c2848['facet'](_0x17c6e4['facet']);return'replace'==_0x17c6e4['type']?_0x14881f:_0x14881f['concat'](_0x460a0c);}}return _0x460a0c;})]['concat'](_0x3aec84);}['isActiveAt'](_0x5a7d91,_0x53efa0,_0x14cbf6=-0x1){return topNodeAt(_0x5a7d91,_0x53efa0,_0x14cbf6)['type']['prop'](languageDataProp)==this['data'];}['findRegions'](_0x4d0312){let _0x47e2bc=_0x4d0312['facet'](_0x3279b5);if((null==_0x47e2bc?void 0x0:_0x47e2bc['data'])==this['data'])return[{'from':0x0,'to':_0x4d0312['doc']['length']}];if(!_0x47e2bc||!_0x47e2bc['allowsNesting'])return[];let _0x105e7b=[],_0x3f7d0a=(_0x22679e,_0x8dbe9d)=>{if(_0x22679e['prop'](languageDataProp)==this['data'])return void _0x105e7b['push']({'from':_0x8dbe9d,'to':_0x8dbe9d+_0x22679e['length']});let _0x5a6ba6=_0x22679e['prop'](_0x4ee311['mounted']);if(_0x5a6ba6){if(_0x5a6ba6['tree']['prop'](languageDataProp)==this['data']){if(_0x5a6ba6['overlay']){for(let _0x6db358 of _0x5a6ba6['overlay'])_0x105e7b['push']({'from':_0x6db358['from']+_0x8dbe9d,'to':_0x6db358['to']+_0x8dbe9d});}else _0x105e7b['push']({'from':_0x8dbe9d,'to':_0x8dbe9d+_0x22679e['length']});return;}if(_0x5a6ba6['overlay']){let _0x562a3d=_0x105e7b['length'];if(_0x3f7d0a(_0x5a6ba6['tree'],_0x5a6ba6['overlay'][0x0]['from']+_0x8dbe9d),_0x105e7b['length']>_0x562a3d)return;}}for(let _0x44ca55=0x0;_0x44ca55<_0x22679e['children']['length'];_0x44ca55++){let _0x389d88=_0x22679e['children'][_0x44ca55];_0x389d88 instanceof _0x2701ca&&_0x3f7d0a(_0x389d88,_0x22679e['positions'][_0x44ca55]+_0x8dbe9d);}};return _0x3f7d0a(syntaxTree(_0x4d0312),0x0),_0x105e7b;}get['allowsNesting'](){return!0x0;}}function topNodeAt(_0x397835,_0x47c31e,_0x255fcb){let _0x3a3bfe=_0x397835['facet'](_0x3279b5),_0xdaa2ab=syntaxTree(_0x397835)['topNode'];if(!_0x3a3bfe||_0x3a3bfe['allowsNesting']){for(let _0x19a8c3=_0xdaa2ab;_0x19a8c3;_0x19a8c3=_0x19a8c3['enter'](_0x47c31e,_0x255fcb,IterMode['ExcludeBuffers']))_0x19a8c3['type']['isTop']&&(_0xdaa2ab=_0x19a8c3);}return _0xdaa2ab;}_0x13cb7f['setState']=StateEffect['define']();class _0x324005 extends _0x13cb7f{constructor(_0x41e4e8,_0x4e2ba8,_0x31021f){super(_0x41e4e8,_0x4e2ba8,[],_0x31021f),this['parser']=_0x4e2ba8;}static['define'](_0x2f215c){let _0x2e0e99=defineLanguageFacet(_0x2f215c['languageData']);return new _0x324005(_0x2e0e99,_0x2f215c['parser']['configure']({'props':[languageDataProp['add'](_0x429537=>_0x429537['isTop']?_0x2e0e99:void 0x0)]}),_0x2f215c['name']);}['configure'](_0xa7a85d,_0x4159db){return new _0x324005(this['data'],this['parser']['configure'](_0xa7a85d),_0x4159db||this['name']);}get['allowsNesting'](){return this['parser']['hasWrappers']();}}function syntaxTree(_0x491ac5){let _0x4db925=_0x491ac5['field'](_0x13cb7f['state'],!0x1);return _0x4db925?_0x4db925['tree']:_0x2701ca['empty'];}class DocInput{constructor(_0x309e32){this['doc']=_0x309e32,this['cursorPos']=0x0,this['string']='',this['cursor']=_0x309e32['iter']();}get['length'](){return this['doc']['length'];}['syncTo'](_0x3929a8){return this['string']=this['cursor']['next'](_0x3929a8-this['cursorPos'])['value'],this['cursorPos']=_0x3929a8+this['string']['length'],this['cursorPos']-this['string']['length'];}['chunk'](_0x56bb5b){return this['syncTo'](_0x56bb5b),this['string'];}get['lineChunks'](){return!0x0;}['read'](_0x544c64,_0x3aefd4){let _0x8a80a2=this['cursorPos']-this['string']['length'];return _0x544c64<_0x8a80a2||_0x3aefd4>=this['cursorPos']?this['doc']['sliceString'](_0x544c64,_0x3aefd4):this['string']['slice'](_0x544c64-_0x8a80a2,_0x3aefd4-_0x8a80a2);}}let currentContext=null;class ParseContext{constructor(_0x3d1089,_0x24a91c,_0x387b9e=[],_0x475733,_0xe6795d,_0x361209,_0x507867,_0x239af1){this['parser']=_0x3d1089,this['state']=_0x24a91c,this['fragments']=_0x387b9e,this['tree']=_0x475733,this['treeLen']=_0xe6795d,this['viewport']=_0x361209,this['skipped']=_0x507867,this['scheduleOn']=_0x239af1,this['parse']=null,this['tempSkipped']=[];}static['create'](_0x26667f,_0x3b5a41,_0x1dafd9){return new ParseContext(_0x26667f,_0x3b5a41,[],_0x2701ca['empty'],0x0,_0x1dafd9,[],null);}['startParse'](){return this['parser']['startParse'](new DocInput(this['state']['doc']),this['fragments']);}['work'](_0x5612f7,_0x3b0bde){return null!=_0x3b0bde&&_0x3b0bde>=this['state']['doc']['length']&&(_0x3b0bde=void 0x0),this['tree']!=_0x2701ca['empty']&&this['isDone'](null!=_0x3b0bde?_0x3b0bde:this['state']['doc']['length'])?(this['takeTree'](),!0x0):this['withContext'](()=>{var _0x128718;if('number'==typeof _0x5612f7){let _0x265805=Date['now']()+_0x5612f7;_0x5612f7=()=>Date['now']()>_0x265805;}for(this['parse']||(this['parse']=this['startParse']()),null!=_0x3b0bde&&(null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x3b0bde)&&_0x3b0bde<this['state']['doc']['length']&&this['parse']['stopAt'](_0x3b0bde);;){let _0x23c954=this['parse']['advance']();if(_0x23c954){if(this['fragments']=this['withoutTempSkipped'](TreeFragment['addTree'](_0x23c954,this['fragments'],null!=this['parse']['stoppedAt'])),this['treeLen']=null!==(_0x128718=this['parse']['stoppedAt'])&&void 0x0!==_0x128718?_0x128718:this['state']['doc']['length'],this['tree']=_0x23c954,this['parse']=null,!(this['treeLen']<(null!=_0x3b0bde?_0x3b0bde:this['state']['doc']['length'])))return!0x0;this['parse']=this['startParse']();}if(_0x5612f7())return!0x1;}});}['takeTree'](){let _0x1857f5,_0x554ad0;this['parse']&&(_0x1857f5=this['parse']['parsedPos'])>=this['treeLen']&&((null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x1857f5)&&this['parse']['stopAt'](_0x1857f5),this['withContext'](()=>{for(;!(_0x554ad0=this['parse']['advance']()););}),this['treeLen']=_0x1857f5,this['tree']=_0x554ad0,this['fragments']=this['withoutTempSkipped'](TreeFragment['addTree'](this['tree'],this['fragments'],!0x0)),this['parse']=null);}['withContext'](_0x24c806){let _0x344b49=currentContext;currentContext=this;try{return _0x24c806();}finally{currentContext=_0x344b49;}}['withoutTempSkipped'](_0x476bf3){for(let _0x5931f3;_0x5931f3=this['tempSkipped']['pop']();)_0x476bf3=cutFragments(_0x476bf3,_0x5931f3['from'],_0x5931f3['to']);return _0x476bf3;}['changes'](_0x3a354d,_0x4254f4){let {fragments:_0x4a669d,tree:_0xb4298f,treeLen:_0xf45e30,viewport:_0x80f120,skipped:_0x29f702}=this;if(this['takeTree'](),!_0x3a354d['empty']){let _0x59a31f=[];if(_0x3a354d['iterChangedRanges']((_0x12f4ba,_0x545ecc,_0x136e55,_0x5dfa28)=>_0x59a31f['push']({'fromA':_0x12f4ba,'toA':_0x545ecc,'fromB':_0x136e55,'toB':_0x5dfa28})),_0x4a669d=TreeFragment['applyChanges'](_0x4a669d,_0x59a31f),_0xb4298f=_0x2701ca['empty'],_0xf45e30=0x0,_0x80f120={'from':_0x3a354d['mapPos'](_0x80f120['from'],-0x1),'to':_0x3a354d['mapPos'](_0x80f120['to'],0x1)},this['skipped']['length']){_0x29f702=[];for(let _0x16529d of this['skipped']){let _0x1429ef=_0x3a354d['mapPos'](_0x16529d['from'],0x1),_0x1134e7=_0x3a354d['mapPos'](_0x16529d['to'],-0x1);_0x1429ef<_0x1134e7&&_0x29f702['push']({'from':_0x1429ef,'to':_0x1134e7});}}}return new ParseContext(this['parser'],_0x4254f4,_0x4a669d,_0xb4298f,_0xf45e30,_0x80f120,_0x29f702,this['scheduleOn']);}['updateViewport'](_0x14ccaf){if(this['viewport']['from']==_0x14ccaf['from']&&this['viewport']['to']==_0x14ccaf['to'])return!0x1;this['viewport']=_0x14ccaf;let _0x3cf7d1=this['skipped']['length'];for(let _0x7c8473=0x0;_0x7c8473<this['skipped']['length'];_0x7c8473++){let {from:_0x337cf7,to:_0x420756}=this['skipped'][_0x7c8473];_0x337cf7<_0x14ccaf['to']&&_0x420756>_0x14ccaf['from']&&(this['fragments']=cutFragments(this['fragments'],_0x337cf7,_0x420756),this['skipped']['splice'](_0x7c8473--,0x1));}return!(this['skipped']['length']>=_0x3cf7d1)&&(this['reset'](),!0x0);}['reset'](){this['parse']&&(this['takeTree'](),this['parse']=null);}['skipUntilInView'](_0x282cd5,_0x508891){this['skipped']['push']({'from':_0x282cd5,'to':_0x508891});}static['getSkippingParser'](_0x1b615b){return new class extends _0x60d5c1{['createParse'](_0x372496,_0x24077a,_0x400237){let _0x3603a2=_0x400237[0x0]['from'],_0x219f8d=_0x400237[_0x400237['length']-0x1]['to'];return{'parsedPos':_0x3603a2,'advance'(){let _0x177727=currentContext;if(_0x177727){for(let _0x357a84 of _0x400237)_0x177727['tempSkipped']['push'](_0x357a84);_0x1b615b&&(_0x177727['scheduleOn']=_0x177727['scheduleOn']?Promise['all']([_0x177727['scheduleOn'],_0x1b615b]):_0x1b615b);}return this['parsedPos']=_0x219f8d,new _0x2701ca(_0x343050['none'],[],[],_0x219f8d-_0x3603a2);},'stoppedAt':null,'stopAt'(){}};}}();}['isDone'](_0x553da3){_0x553da3=Math['min'](_0x553da3,this['state']['doc']['length']);let _0x560aac=this['fragments'];return this['treeLen']>=_0x553da3&&_0x560aac['length']&&0x0==_0x560aac[0x0]['from']&&_0x560aac[0x0]['to']>=_0x553da3;}static['get'](){return currentContext;}}function cutFragments(_0x581c70,_0x503f20,_0x161f55){return TreeFragment['applyChanges'](_0x581c70,[{'fromA':_0x503f20,'toA':_0x161f55,'fromB':_0x503f20,'toB':_0x161f55}]);}class LanguageState{constructor(_0x423534){this['context']=_0x423534,this['tree']=_0x423534['tree'];}['apply'](_0xffe861){if(!_0xffe861['docChanged']&&this['tree']==this['context']['tree'])return this;let _0x327cd3=this['context']['changes'](_0xffe861['changes'],_0xffe861['state']),_0x2af785=this['context']['treeLen']==_0xffe861['startState']['doc']['length']?void 0x0:Math['max'](_0xffe861['changes']['mapPos'](this['context']['treeLen']),_0x327cd3['viewport']['to']);return _0x327cd3['work'](0x14,_0x2af785)||_0x327cd3['takeTree'](),new LanguageState(_0x327cd3);}static['init'](_0x5e8a35){let _0x3dc592=Math['min'](0xbb8,_0x5e8a35['doc']['length']),_0x18c0f1=ParseContext['create'](_0x5e8a35['facet'](_0x3279b5)['parser'],_0x5e8a35,{'from':0x0,'to':_0x3dc592});return _0x18c0f1['work'](0x14,_0x3dc592)||_0x18c0f1['takeTree'](),new LanguageState(_0x18c0f1);}}_0x13cb7f['state']=StateField['define']({'create':LanguageState['init'],'update'(_0x170137,_0x259eac){for(let _0x19a99e of _0x259eac['effects'])if(_0x19a99e['is'](_0x13cb7f['setState']))return _0x19a99e['value'];return _0x259eac['startState']['facet'](_0x3279b5)!=_0x259eac['state']['facet'](_0x3279b5)?LanguageState['init'](_0x259eac['state']):_0x170137['apply'](_0x259eac);}});let requestIdle=_0x203179=>{let _0x5dbfe1=setTimeout(()=>_0x203179(),0x1f4);return()=>clearTimeout(_0x5dbfe1);};'undefined'!=typeof requestIdleCallback&&(requestIdle=_0x4bf2ed=>{let _0x2aaa66=-0x1,_0x509083=setTimeout(()=>{_0x2aaa66=requestIdleCallback(_0x4bf2ed,{'timeout':0x190});},0x64);return()=>_0x2aaa66<0x0?clearTimeout(_0x509083):cancelIdleCallback(_0x2aaa66);});const isInputPending='undefined'!=typeof navigator&&(null===(_0x47c8af=navigator['scheduling'])||void 0x0===_0x47c8af?void 0x0:_0x47c8af['isInputPending'])?()=>navigator['scheduling']['isInputPending']():null,_0x400908=_0x5e6928['fromClass'](class{constructor(_0x13eca8){this['view']=_0x13eca8,this['working']=null,this['workScheduled']=0x0,this['chunkEnd']=-0x1,this['chunkBudget']=-0x1,this['work']=this['work']['bind'](this),this['scheduleWork']();}['update'](_0x5086df){let _0x43cdc5=this['view']['state']['field'](_0x13cb7f['state'])['context'];(_0x43cdc5['updateViewport'](_0x5086df['view']['viewport'])||this['view']['viewport']['to']>_0x43cdc5['treeLen'])&&this['scheduleWork'](),(_0x5086df['docChanged']||_0x5086df['selectionSet'])&&(this['view']['hasFocus']&&(this['chunkBudget']+=0x32),this['scheduleWork']()),this['checkAsyncSchedule'](_0x43cdc5);}['scheduleWork'](){if(this['working'])return;let {state:_0x4823d5}=this['view'],_0x4bbb6f=_0x4823d5['field'](_0x13cb7f['state']);_0x4bbb6f['tree']==_0x4bbb6f['context']['tree']&&_0x4bbb6f['context']['isDone'](_0x4823d5['doc']['length'])||(this['working']=requestIdle(this['work']));}['work'](_0x424b5d){this['working']=null;let _0xffbf8e=Date['now']();if(this['chunkEnd']<_0xffbf8e&&(this['chunkEnd']<0x0||this['view']['hasFocus'])&&(this['chunkEnd']=_0xffbf8e+0x7530,this['chunkBudget']=0xbb8),this['chunkBudget']<=0x0)return;let {state:_0x2305fb,viewport:{to:_0x191225}}=this['view'],_0x3cfbe5=_0x2305fb['field'](_0x13cb7f['state']);if(_0x3cfbe5['tree']==_0x3cfbe5['context']['tree']&&_0x3cfbe5['context']['isDone'](_0x191225+0x186a0))return;let _0x3f2b55=Date['now']()+Math['min'](this['chunkBudget'],0x64,_0x424b5d&&!isInputPending?Math['max'](0x19,_0x424b5d['timeRemaining']()-0x5):0x3b9aca00),_0x2c070e=_0x3cfbe5['context']['treeLen']<_0x191225&&_0x2305fb['doc']['length']>_0x191225+0x3e8,_0x5c3fbb=_0x3cfbe5['context']['work'](()=>isInputPending&&isInputPending()||Date['now']()>_0x3f2b55,_0x191225+(_0x2c070e?0x0:0x186a0));this['chunkBudget']-=Date['now']()-_0xffbf8e,(_0x5c3fbb||this['chunkBudget']<=0x0)&&(_0x3cfbe5['context']['takeTree'](),this['view']['dispatch']({'effects':_0x13cb7f['setState']['of'](new LanguageState(_0x3cfbe5['context']))})),this['chunkBudget']>0x0&&(!_0x5c3fbb||_0x2c070e)&&this['scheduleWork'](),this['checkAsyncSchedule'](_0x3cfbe5['context']);}['checkAsyncSchedule'](_0x3398e6){_0x3398e6['scheduleOn']&&(this['workScheduled']++,_0x3398e6['scheduleOn']['then'](()=>this['scheduleWork']())['catch'](_0x286cef=>logException(this['view']['state'],_0x286cef))['then'](()=>this['workScheduled']--),_0x3398e6['scheduleOn']=null);}['destroy'](){this['working']&&this['working']();}['isWorking'](){return!!(this['working']||this['workScheduled']>0x0);}},{'eventHandlers':{'focus'(){this['scheduleWork']();}}}),_0x3279b5=Facet['define']({'combine':_0x2ffa06=>_0x2ffa06['length']?_0x2ffa06[0x0]:null,'enables':_0x12c8f0=>[_0x13cb7f['state'],_0x400908,EditorView['contentAttributes']['compute']([_0x12c8f0],_0x2b94ae=>{let _0x1da596=_0x2b94ae['facet'](_0x12c8f0);return _0x1da596&&_0x1da596['name']?{'data-language':_0x1da596['name']}:{};})]});class LanguageSupport{constructor(_0xd5e5b5,_0x150e95=[]){this['language']=_0xd5e5b5,this['support']=_0x150e95,this['extension']=[_0xd5e5b5,_0x150e95];}}class LanguageDescription{constructor(_0x2c9bfb,_0x4db704,_0x59e594,_0x5662fd,_0x3eecc1,_0x1b1691=void 0x0){this['name']=_0x2c9bfb,this['alias']=_0x4db704,this['extensions']=_0x59e594,this['filename']=_0x5662fd,this['loadFunc']=_0x3eecc1,this['support']=_0x1b1691,this['loading']=null;}['load'](){return this['loading']||(this['loading']=this['loadFunc']()['then'](_0x1450aa=>this['support']=_0x1450aa,_0x69dc83=>{throw this['loading']=null,_0x69dc83;}));}static['of'](_0xf5918f){let {load:_0x5b71a1,support:_0x37397c}=_0xf5918f;if(!_0x5b71a1){if(!_0x37397c)throw new RangeError('Must\x20pass\x20either\x20\x27load\x27\x20or\x20\x27support\x27\x20to\x20LanguageDescription.of');_0x5b71a1=()=>Promise['resolve'](_0x37397c);}return new LanguageDescription(_0xf5918f['name'],(_0xf5918f['alias']||[])['concat'](_0xf5918f['name'])['map'](_0x2f38e6=>_0x2f38e6['toLowerCase']()),_0xf5918f['extensions']||[],_0xf5918f['filename'],_0x5b71a1,_0x37397c);}static['matchFilename'](_0x25d228,_0x35a9f1){for(let _0x45dff0 of _0x25d228)if(_0x45dff0['filename']&&_0x45dff0['filename']['test'](_0x35a9f1))return _0x45dff0;let _0x23269f=/\.([^.]+)$/['exec'](_0x35a9f1);if(_0x23269f){for(let _0xe945c2 of _0x25d228)if(_0xe945c2['extensions']['indexOf'](_0x23269f[0x1])>-0x1)return _0xe945c2;}return null;}static['matchLanguageName'](_0x17ae0e,_0x236840,_0x48d972=!0x0){_0x236840=_0x236840['toLowerCase']();for(let _0x267414 of _0x17ae0e)if(_0x267414['alias']['some'](_0x457573=>_0x457573==_0x236840))return _0x267414;if(_0x48d972){for(let _0x9a9012 of _0x17ae0e)for(let _0x29c13e of _0x9a9012['alias']){let _0x27e19e=_0x236840['indexOf'](_0x29c13e);if(_0x27e19e>-0x1&&(_0x29c13e['length']>0x2||!/\w/['test'](_0x236840[_0x27e19e-0x1])&&!/\w/['test'](_0x236840[_0x27e19e+_0x29c13e['length']])))return _0x9a9012;}}return null;}}const indentService=Facet['define'](),indentUnit=Facet['define']({'combine':_0x4d21c3=>{if(!_0x4d21c3['length'])return'\x20\x20';let _0x2abe48=_0x4d21c3[0x0];if(!_0x2abe48||/\S/['test'](_0x2abe48)||Array['from'](_0x2abe48)['some'](_0x4d444f=>_0x4d444f!=_0x2abe48[0x0]))throw new Error('Invalid\x20indent\x20unit:\x20'+JSON['stringify'](_0x4d21c3[0x0]));return _0x2abe48;}});function getIndentUnit(_0x4a9492){let _0x393c55=_0x4a9492['facet'](indentUnit);return 0x9==_0x393c55['charCodeAt'](0x0)?_0x4a9492['tabSize']*_0x393c55['length']:_0x393c55['length'];}function indentString(_0x216977,_0x48f578){let _0x2a0f0f='',_0x471db0=_0x216977['tabSize'],_0x538f28=_0x216977['facet'](indentUnit)[0x0];if('\x09'==_0x538f28){for(;_0x48f578>=_0x471db0;)_0x2a0f0f+='\x09',_0x48f578-=_0x471db0;_0x538f28='\x20';}for(let _0x1c49e8=0x0;_0x1c49e8<_0x48f578;_0x1c49e8++)_0x2a0f0f+=_0x538f28;return _0x2a0f0f;}function getIndentation(_0x21660f,_0x6cc035){_0x21660f instanceof EditorState&&(_0x21660f=new IndentContext(_0x21660f));for(let _0x7f0de9 of _0x21660f['state']['facet'](indentService)){let _0x302c4c=_0x7f0de9(_0x21660f,_0x6cc035);if(void 0x0!==_0x302c4c)return _0x302c4c;}let _0x285043=syntaxTree(_0x21660f['state']);return _0x285043['length']>=_0x6cc035?syntaxIndentation(_0x21660f,_0x285043,_0x6cc035):null;}class IndentContext{constructor(_0x33ef22,_0x51fdfb={}){this['state']=_0x33ef22,this['options']=_0x51fdfb,this['unit']=getIndentUnit(_0x33ef22);}['lineAt'](_0x381cfa,_0x3f941d=0x1){let _0x21afc8=this['state']['doc']['lineAt'](_0x381cfa),{simulateBreak:_0x58be20,simulateDoubleBreak:_0x104ab5}=this['options'];return null!=_0x58be20&&_0x58be20>=_0x21afc8['from']&&_0x58be20<=_0x21afc8['to']?_0x104ab5&&_0x58be20==_0x381cfa?{'text':'','from':_0x381cfa}:(_0x3f941d<0x0?_0x58be20<_0x381cfa:_0x58be20<=_0x381cfa)?{'text':_0x21afc8['text']['slice'](_0x58be20-_0x21afc8['from']),'from':_0x58be20}:{'text':_0x21afc8['text']['slice'](0x0,_0x58be20-_0x21afc8['from']),'from':_0x21afc8['from']}:_0x21afc8;}['textAfterPos'](_0x176543,_0x1494ae=0x1){if(this['options']['simulateDoubleBreak']&&_0x176543==this['options']['simulateBreak'])return'';let {text:_0x27805c,from:_0x15c527}=this['lineAt'](_0x176543,_0x1494ae);return _0x27805c['slice'](_0x176543-_0x15c527,Math['min'](_0x27805c['length'],_0x176543+0x64-_0x15c527));}['column'](_0x470060,_0x19c595=0x1){let {text:_0x38208c,from:_0x55e2f6}=this['lineAt'](_0x470060,_0x19c595),_0x2b6311=this['countColumn'](_0x38208c,_0x470060-_0x55e2f6),_0x55fabf=this['options']['overrideIndentation']?this['options']['overrideIndentation'](_0x55e2f6):-0x1;return _0x55fabf>-0x1&&(_0x2b6311+=_0x55fabf-this['countColumn'](_0x38208c,_0x38208c['search'](/\S|$/))),_0x2b6311;}['countColumn'](_0x2c14b0,_0x1a9966=_0x2c14b0['length']){return countColumn(_0x2c14b0,this['state']['tabSize'],_0x1a9966);}['lineIndent'](_0x2c3f22,_0x48bf38=0x1){let {text:_0x24e7d0,from:_0x5e0353}=this['lineAt'](_0x2c3f22,_0x48bf38),_0x15cfb5=this['options']['overrideIndentation'];if(_0x15cfb5){let _0x4224aa=_0x15cfb5(_0x5e0353);if(_0x4224aa>-0x1)return _0x4224aa;}return this['countColumn'](_0x24e7d0,_0x24e7d0['search'](/\S|$/));}get['simulatedBreak'](){return this['options']['simulateBreak']||null;}}const indentNodeProp=new _0x4ee311();function syntaxIndentation(_0x5d1418,_0x27dec9,_0x4b3b6a){let _0x5e2260=_0x27dec9['resolveStack'](_0x4b3b6a),_0x5b02c2=_0x27dec9['resolveInner'](_0x4b3b6a,-0x1)['resolve'](_0x4b3b6a,0x0)['enterUnfinishedNodesBefore'](_0x4b3b6a);if(_0x5b02c2!=_0x5e2260['node']){let _0x141901=[];for(let _0x41137a=_0x5b02c2;_0x41137a&&!(_0x41137a['from']<_0x5e2260['node']['from']||_0x41137a['to']>_0x5e2260['node']['to']||_0x41137a['from']==_0x5e2260['node']['from']&&_0x41137a['type']==_0x5e2260['node']['type']);_0x41137a=_0x41137a['parent'])_0x141901['push'](_0x41137a);for(let _0x2522d5=_0x141901['length']-0x1;_0x2522d5>=0x0;_0x2522d5--)_0x5e2260={'node':_0x141901[_0x2522d5],'next':_0x5e2260};}return indentFor(_0x5e2260,_0x5d1418,_0x4b3b6a);}function indentFor(_0x5a07a1,_0xff85c2,_0x4fb9c3){for(let _0x413beb=_0x5a07a1;_0x413beb;_0x413beb=_0x413beb['next']){let _0x36539d=indentStrategy(_0x413beb['node']);if(_0x36539d)return _0x36539d(TreeIndentContext['create'](_0xff85c2,_0x4fb9c3,_0x413beb));}return 0x0;}function _0x56c894(_0x8b1029){return _0x8b1029['pos']==_0x8b1029['options']['simulateBreak']&&_0x8b1029['options']['simulateDoubleBreak'];}function indentStrategy(_0x158af2){let _0x5699fe=_0x158af2['type']['prop'](indentNodeProp);if(_0x5699fe)return _0x5699fe;let _0x5a74aa,_0x2f266b=_0x158af2['firstChild'];if(_0x2f266b&&(_0x5a74aa=_0x2f266b['type']['prop'](_0x4ee311['closedBy']))){let _0x291932=_0x158af2['lastChild'],_0x3273ed=_0x291932&&_0x5a74aa['indexOf'](_0x291932['name'])>-0x1;return _0x47e46c=>delimitedStrategy(_0x47e46c,!0x0,0x1,void 0x0,_0x3273ed&&!_0x56c894(_0x47e46c)?_0x291932['from']:void 0x0);}return null==_0x158af2['parent']?topIndent:null;}function topIndent(){return 0x0;}class TreeIndentContext extends IndentContext{constructor(_0x1b7c4f,_0x508fb3,_0xcc1ce9){super(_0x1b7c4f['state'],_0x1b7c4f['options']),this['base']=_0x1b7c4f,this['pos']=_0x508fb3,this['context']=_0xcc1ce9;}get['node'](){return this['context']['node'];}static['create'](_0x37ebf9,_0x4bae0f,_0x368357){return new TreeIndentContext(_0x37ebf9,_0x4bae0f,_0x368357);}get['textAfter'](){return this['textAfterPos'](this['pos']);}get['baseIndent'](){return this['baseIndentFor'](this['node']);}['baseIndentFor'](_0x538163){let _0x588aa0=this['state']['doc']['lineAt'](_0x538163['from']);for(;;){let _0x1dfbab=_0x538163['resolve'](_0x588aa0['from']);for(;_0x1dfbab['parent']&&_0x1dfbab['parent']['from']==_0x1dfbab['from'];)_0x1dfbab=_0x1dfbab['parent'];if(isParent(_0x1dfbab,_0x538163))break;_0x588aa0=this['state']['doc']['lineAt'](_0x1dfbab['from']);}return this['lineIndent'](_0x588aa0['from']);}['continue'](){return indentFor(this['context']['next'],this['base'],this['pos']);}}function isParent(_0xb14049,_0x49781f){for(let _0x29fdde=_0x49781f;_0x29fdde;_0x29fdde=_0x29fdde['parent'])if(_0xb14049==_0x29fdde)return!0x0;return!0x1;}function bracketedAligned(_0xb35ded){let _0x3fc7ea=_0xb35ded['node'],_0x32be93=_0x3fc7ea['childAfter'](_0x3fc7ea['from']),_0x27e807=_0x3fc7ea['lastChild'];if(!_0x32be93)return null;let _0xa4d9f3=_0xb35ded['options']['simulateBreak'],_0x1fbb39=_0xb35ded['state']['doc']['lineAt'](_0x32be93['from']),_0x254191=null==_0xa4d9f3||_0xa4d9f3<=_0x1fbb39['from']?_0x1fbb39['to']:Math['min'](_0x1fbb39['to'],_0xa4d9f3);for(let _0x474b01=_0x32be93['to'];;){let _0xe2761=_0x3fc7ea['childAfter'](_0x474b01);if(!_0xe2761||_0xe2761==_0x27e807)return null;if(!_0xe2761['type']['isSkipped']){if(_0xe2761['from']>=_0x254191)return null;let _0x31edb5=/^ */['exec'](_0x1fbb39['text']['slice'](_0x32be93['to']-_0x1fbb39['from']))[0x0]['length'];return{'from':_0x32be93['from'],'to':_0x32be93['to']+_0x31edb5};}_0x474b01=_0xe2761['to'];}}function delimitedIndent({closing:_0x1b6ed9,align:_0x2256b6=!0x0,units:_0x24ec66=0x1}){return _0x337337=>delimitedStrategy(_0x337337,_0x2256b6,_0x24ec66,_0x1b6ed9);}function delimitedStrategy(_0x50cde0,_0x532814,_0x26c898,_0x24c283,_0x3a425d){let _0xe56928=_0x50cde0['textAfter'],_0x2d9552=_0xe56928['match'](/^\s*/)[0x0]['length'],_0xc06592=_0x24c283&&_0xe56928['slice'](_0x2d9552,_0x2d9552+_0x24c283['length'])==_0x24c283||_0x3a425d==_0x50cde0['pos']+_0x2d9552,_0x4493c7=_0x532814?bracketedAligned(_0x50cde0):null;return _0x4493c7?_0xc06592?_0x50cde0['column'](_0x4493c7['from']):_0x50cde0['column'](_0x4493c7['to']):_0x50cde0['baseIndent']+(_0xc06592?0x0:_0x50cde0['unit']*_0x26c898);}const flatIndent=_0x49e704=>_0x49e704['baseIndent'];function continuedIndent({except:_0x4b88f4,units:_0x254f25=0x1}={}){return _0xb2f116=>{let _0x3c4d1f=_0x4b88f4&&_0x4b88f4['test'](_0xb2f116['textAfter']);return _0xb2f116['baseIndent']+(_0x3c4d1f?0x0:_0x254f25*_0xb2f116['unit']);};}const DontIndentBeyond=0xc8;function indentOnInput(){return EditorState['transactionFilter']['of'](_0x3eca34=>{if(!_0x3eca34['docChanged']||!_0x3eca34['isUserEvent']('input.type')&&!_0x3eca34['isUserEvent']('input.complete'))return _0x3eca34;let _0x47cd58=_0x3eca34['startState']['languageDataAt']('indentOnInput',_0x3eca34['startState']['selection']['main']['head']);if(!_0x47cd58['length'])return _0x3eca34;let _0x5cbdfe=_0x3eca34['newDoc'],{head:_0x22dd7e}=_0x3eca34['newSelection']['main'],_0x21c4f3=_0x5cbdfe['lineAt'](_0x22dd7e);if(_0x22dd7e>_0x21c4f3['from']+DontIndentBeyond)return _0x3eca34;let _0x15bd83=_0x5cbdfe['sliceString'](_0x21c4f3['from'],_0x22dd7e);if(!_0x47cd58['some'](_0x2a0023=>_0x2a0023['test'](_0x15bd83)))return _0x3eca34;let {state:_0x20e3d0}=_0x3eca34,_0x526f4b=-0x1,_0x51b2be=[];for(let {head:_0x1c78ad}of _0x20e3d0['selection']['ranges']){let _0x251fcb=_0x20e3d0['doc']['lineAt'](_0x1c78ad);if(_0x251fcb['from']==_0x526f4b)continue;_0x526f4b=_0x251fcb['from'];let _0x57d12e=getIndentation(_0x20e3d0,_0x251fcb['from']);if(null==_0x57d12e)continue;let _0xbc0e9d=/^\s*/['exec'](_0x251fcb['text'])[0x0],_0x30ce9f=indentString(_0x20e3d0,_0x57d12e);_0xbc0e9d!=_0x30ce9f&&_0x51b2be['push']({'from':_0x251fcb['from'],'to':_0x251fcb['from']+_0xbc0e9d['length'],'insert':_0x30ce9f});}return _0x51b2be['length']?[_0x3eca34,{'changes':_0x51b2be,'sequential':!0x0}]:_0x3eca34;});}const _0xc835c4=Facet['define'](),_0x14068c=new _0x4ee311();function _0x1ba269(_0x3b44df){let _0x1443ab=_0x3b44df['firstChild'],_0x3dfd3c=_0x3b44df['lastChild'];return _0x1443ab&&_0x1443ab['to']<_0x3dfd3c['from']?{'from':_0x1443ab['to'],'to':_0x3dfd3c['type']['isError']?_0x3b44df['to']:_0x3dfd3c['from']}:null;}function syntaxFolding(_0x52f5e1,_0x117b8b,_0x2fd7f4){let _0x4b3aef=syntaxTree(_0x52f5e1);if(_0x4b3aef['length']<_0x2fd7f4)return null;let _0x521b14=null;for(let _0x5d4bc1=_0x4b3aef['resolveStack'](_0x2fd7f4,0x1);_0x5d4bc1;_0x5d4bc1=_0x5d4bc1['next']){let _0x50c9f2=_0x5d4bc1['node'];if(_0x50c9f2['to']<=_0x2fd7f4||_0x50c9f2['from']>_0x2fd7f4)continue;if(_0x521b14&&_0x50c9f2['from']<_0x117b8b)break;let _0x26f72a=_0x50c9f2['type']['prop'](_0x14068c);if(_0x26f72a&&(_0x50c9f2['to']<_0x4b3aef['length']-0x32||_0x4b3aef['length']==_0x52f5e1['doc']['length']||!_0x1c23c2(_0x50c9f2))){let _0x18edb6=_0x26f72a(_0x50c9f2,_0x52f5e1);_0x18edb6&&_0x18edb6['from']<=_0x2fd7f4&&_0x18edb6['from']>=_0x117b8b&&_0x18edb6['to']>_0x2fd7f4&&(_0x521b14=_0x18edb6);}}return _0x521b14;}function _0x1c23c2(_0x1174c0){let _0x5934ba=_0x1174c0['lastChild'];return _0x5934ba&&_0x5934ba['to']==_0x1174c0['to']&&_0x5934ba['type']['isError'];}function _0x150ddb(_0x3c256f,_0x3d1368,_0x305be8){for(let _0x4356cf of _0x3c256f['facet'](_0xc835c4)){let _0x2029eb=_0x4356cf(_0x3c256f,_0x3d1368,_0x305be8);if(_0x2029eb)return _0x2029eb;}return syntaxFolding(_0x3c256f,_0x3d1368,_0x305be8);}function _0x419bf4(_0x520b1d,_0x23f5a8){let _0x5221bc=_0x23f5a8['mapPos'](_0x520b1d['from'],0x1),_0x3c5c87=_0x23f5a8['mapPos'](_0x520b1d['to'],-0x1);return _0x5221bc>=_0x3c5c87?void 0x0:{'from':_0x5221bc,'to':_0x3c5c87};}const foldEffect=StateEffect['define']({'map':_0x419bf4}),unfoldEffect=StateEffect['define']({'map':_0x419bf4});function selectedLines(_0x57bb36){let _0x55d971=[];for(let {head:_0x3af80b}of _0x57bb36['state']['selection']['ranges'])_0x55d971['some'](_0x35b3ad=>_0x35b3ad['from']<=_0x3af80b&&_0x35b3ad['to']>=_0x3af80b)||_0x55d971['push'](_0x57bb36['lineBlockAt'](_0x3af80b));return _0x55d971;}const foldState=StateField['define']({'create':()=>Decoration['none'],'update'(_0x59d6e7,_0x43fecc){_0x43fecc['isUserEvent']('delete')&&_0x43fecc['changes']['iterChangedRanges']((_0x248e80,_0x382a5f)=>_0x59d6e7=_0x19cc6b(_0x59d6e7,_0x248e80,_0x382a5f)),_0x59d6e7=_0x59d6e7['map'](_0x43fecc['changes']);for(let _0x30e4a6 of _0x43fecc['effects'])if(_0x30e4a6['is'](foldEffect)&&!foldExists(_0x59d6e7,_0x30e4a6['value']['from'],_0x30e4a6['value']['to'])){let {preparePlaceholder:_0x381097}=_0x43fecc['state']['facet'](_0x186c97),_0x554279=_0x381097?Decoration['replace']({'widget':new PreparedFoldWidget(_0x381097(_0x43fecc['state'],_0x30e4a6['value']))}):foldWidget;_0x59d6e7=_0x59d6e7['update']({'add':[_0x554279['range'](_0x30e4a6['value']['from'],_0x30e4a6['value']['to'])]});}else _0x30e4a6['is'](unfoldEffect)&&(_0x59d6e7=_0x59d6e7['update']({'filter':(_0xf0343b,_0x4e53d0)=>_0x30e4a6['value']['from']!=_0xf0343b||_0x30e4a6['value']['to']!=_0x4e53d0,'filterFrom':_0x30e4a6['value']['from'],'filterTo':_0x30e4a6['value']['to']}));return _0x43fecc['selection']&&(_0x59d6e7=_0x19cc6b(_0x59d6e7,_0x43fecc['selection']['main']['head'])),_0x59d6e7;},'provide':_0x4e5454=>EditorView['decorations']['from'](_0x4e5454),'toJSON'(_0x4ba86b,_0x55d084){let _0x59e4b2=[];return _0x4ba86b['between'](0x0,_0x55d084['doc']['length'],(_0x38b881,_0x593f8a)=>{_0x59e4b2['push'](_0x38b881,_0x593f8a);}),_0x59e4b2;},'fromJSON'(_0x4ce359){if(!Array['isArray'](_0x4ce359)||_0x4ce359['length']%0x2)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');let _0x4b4881=[];for(let _0x4ebe5f=0x0;_0x4ebe5f<_0x4ce359['length'];){let _0x5a937e=_0x4ce359[_0x4ebe5f++],_0x4b5e42=_0x4ce359[_0x4ebe5f++];if('number'!=typeof _0x5a937e||'number'!=typeof _0x4b5e42)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');_0x4b4881['push'](foldWidget['range'](_0x5a937e,_0x4b5e42));}return Decoration['set'](_0x4b4881,!0x0);}});function _0x19cc6b(_0x105aa2,_0x437b08,_0x59cfe2=_0x437b08){let _0x3c29c4=!0x1;return _0x105aa2['between'](_0x437b08,_0x59cfe2,(_0x814ba3,_0x141aee)=>{_0x814ba3<_0x59cfe2&&_0x141aee>_0x437b08&&(_0x3c29c4=!0x0);}),_0x3c29c4?_0x105aa2['update']({'filterFrom':_0x437b08,'filterTo':_0x59cfe2,'filter':(_0x5765e6,_0x2506f9)=>_0x5765e6>=_0x59cfe2||_0x2506f9<=_0x437b08}):_0x105aa2;}function _0x3855be(_0x203d6a,_0x5ea3c1,_0x5dd532){var _0x531dd1;let _0x560bb9=null;return null===(_0x531dd1=_0x203d6a['field'](foldState,!0x1))||void 0x0===_0x531dd1||_0x531dd1['between'](_0x5ea3c1,_0x5dd532,(_0x16a654,_0xa1d5b9)=>{(!_0x560bb9||_0x560bb9['from']>_0x16a654)&&(_0x560bb9={'from':_0x16a654,'to':_0xa1d5b9});}),_0x560bb9;}function foldExists(_0x18a73e,_0x3d053a,_0x4f6e45){let _0x4aa2c4=!0x1;return _0x18a73e['between'](_0x3d053a,_0x3d053a,(_0x14ea24,_0x4a0eca)=>{_0x14ea24==_0x3d053a&&_0x4a0eca==_0x4f6e45&&(_0x4aa2c4=!0x0);}),_0x4aa2c4;}function _0x57e877(_0x681fb0,_0x226bef){return _0x681fb0['field'](foldState,!0x1)?_0x226bef:_0x226bef['concat'](StateEffect['appendConfig']['of'](_0x3d1f59()));}const _0x52ca2b=_0x382665=>{for(let _0x1bd6cd of selectedLines(_0x382665)){let _0x15769d=_0x150ddb(_0x382665['state'],_0x1bd6cd['from'],_0x1bd6cd['to']);if(_0x15769d)return _0x382665['dispatch']({'effects':_0x57e877(_0x382665['state'],[foldEffect['of'](_0x15769d),_0x5251ce(_0x382665,_0x15769d)])}),!0x0;}return!0x1;},_0x2d7ad5=_0xb89c6c=>{if(!_0xb89c6c['state']['field'](foldState,!0x1))return!0x1;let _0x3c71ef=[];for(let _0x5a67d8 of selectedLines(_0xb89c6c)){let _0x402c39=_0x3855be(_0xb89c6c['state'],_0x5a67d8['from'],_0x5a67d8['to']);_0x402c39&&_0x3c71ef['push'](unfoldEffect['of'](_0x402c39),_0x5251ce(_0xb89c6c,_0x402c39,!0x1));}return _0x3c71ef['length']&&_0xb89c6c['dispatch']({'effects':_0x3c71ef}),_0x3c71ef['length']>0x0;};function _0x5251ce(_0x4d909a,_0x47ae70,_0x4480e1=!0x0){let _0x357c5a=_0x4d909a['state']['doc']['lineAt'](_0x47ae70['from'])['number'],_0x2c883f=_0x4d909a['state']['doc']['lineAt'](_0x47ae70['to'])['number'];return EditorView['announce']['of'](_0x4d909a['state']['phrase'](_0x4480e1?'Folded\x20lines':'Unfolded\x20lines')+'\x20'+_0x357c5a+'\x20'+_0x4d909a['state']['phrase']('to')+'\x20'+_0x2c883f+'.');}const _0x515e05=_0x80b5ef=>{let {state:_0x23f04e}=_0x80b5ef,_0x50047e=[];for(let _0x433607=0x0;_0x433607<_0x23f04e['doc']['length'];){let _0x145e70=_0x80b5ef['lineBlockAt'](_0x433607),_0x141f90=_0x150ddb(_0x23f04e,_0x145e70['from'],_0x145e70['to']);_0x141f90&&_0x50047e['push'](foldEffect['of'](_0x141f90)),_0x433607=(_0x141f90?_0x80b5ef['lineBlockAt'](_0x141f90['to']):_0x145e70)['to']+0x1;}return _0x50047e['length']&&_0x80b5ef['dispatch']({'effects':_0x57e877(_0x80b5ef['state'],_0x50047e)}),!!_0x50047e['length'];},_0x1db213=_0x222bc4=>{let _0x3f0526=_0x222bc4['state']['field'](foldState,!0x1);if(!_0x3f0526||!_0x3f0526['size'])return!0x1;let _0x52cefe=[];return _0x3f0526['between'](0x0,_0x222bc4['state']['doc']['length'],(_0x14d278,_0x5c6052)=>{_0x52cefe['push'](unfoldEffect['of']({'from':_0x14d278,'to':_0x5c6052}));}),_0x222bc4['dispatch']({'effects':_0x52cefe}),!0x0;},_0x29528e=[{'key':'Ctrl-Shift-[','mac':'Cmd-Alt-[','run':_0x52ca2b},{'key':'Ctrl-Shift-]','mac':'Cmd-Alt-]','run':_0x2d7ad5},{'key':'Ctrl-Alt-[','run':_0x515e05},{'key':'Ctrl-Alt-]','run':_0x1db213}],defaultConfig={'placeholderDOM':null,'preparePlaceholder':null,'placeholderText':'…'},_0x186c97=Facet['define']({'combine':_0x3ffec5=>_0x2aed34(_0x3ffec5,defaultConfig)});function _0x3d1f59(_0x3ceee5){return[foldState,_0x27c842];}function widgetToDOM(_0x429a3d,_0x11cc97){let {state:_0x17a358}=_0x429a3d,_0x3e43fb=_0x17a358['facet'](_0x186c97),_0x395276=_0x285ecf=>{let _0x584d71=_0x429a3d['lineBlockAt'](_0x429a3d['posAtDOM'](_0x285ecf['target'])),_0x57e58e=_0x3855be(_0x429a3d['state'],_0x584d71['from'],_0x584d71['to']);_0x57e58e&&_0x429a3d['dispatch']({'effects':unfoldEffect['of'](_0x57e58e)}),_0x285ecf['preventDefault']();};if(_0x3e43fb['placeholderDOM'])return _0x3e43fb['placeholderDOM'](_0x429a3d,_0x395276,_0x11cc97);let _0x29e8fb=document['createElement']('span');return _0x29e8fb['textContent']=_0x3e43fb['placeholderText'],_0x29e8fb['setAttribute']('aria-label',_0x17a358['phrase']('folded\x20code')),_0x29e8fb['title']=_0x17a358['phrase']('unfold'),_0x29e8fb['className']='cm-foldPlaceholder',_0x29e8fb['onclick']=_0x395276,_0x29e8fb;}const foldWidget=Decoration['replace']({'widget':new class extends WidgetType{['toDOM'](_0x2fea00){return widgetToDOM(_0x2fea00,null);}}()});class PreparedFoldWidget extends WidgetType{constructor(_0x230c19){super(),this['value']=_0x230c19;}['eq'](_0xb4046f){return this['value']==_0xb4046f['value'];}['toDOM'](_0x2c541f){return widgetToDOM(_0x2c541f,this['value']);}}const foldGutterDefaults={'openText':'⌄','closedText':'›','markerDOM':null,'domEventHandlers':{},'foldingChanged':()=>!0x1};class _0x508fa3 extends GutterMarker{constructor(_0x3788a6,_0x34499c){super(),this['config']=_0x3788a6,this['open']=_0x34499c;}['eq'](_0x2ab99c){return this['config']==_0x2ab99c['config']&&this['open']==_0x2ab99c['open'];}['toDOM'](_0x20dbb2){if(this['config']['markerDOM'])return this['config']['markerDOM'](this['open']);let _0x5a5218=document['createElement']('span');return _0x5a5218['textContent']=this['open']?this['config']['openText']:this['config']['closedText'],_0x5a5218['title']=_0x20dbb2['state']['phrase'](this['open']?'Fold\x20line':'Unfold\x20line'),_0x5a5218;}}function foldGutter(_0x4ba515={}){let _0x23bc42={...foldGutterDefaults,..._0x4ba515},_0x449374=new _0x508fa3(_0x23bc42,!0x0),_0x2687c8=new _0x508fa3(_0x23bc42,!0x1),_0x21d784=_0x5e6928['fromClass'](class{constructor(_0x37897f){this['from']=_0x37897f['viewport']['from'],this['markers']=this['buildMarkers'](_0x37897f);}['update'](_0x3b0c0e){(_0x3b0c0e['docChanged']||_0x3b0c0e['viewportChanged']||_0x3b0c0e['startState']['facet'](_0x3279b5)!=_0x3b0c0e['state']['facet'](_0x3279b5)||_0x3b0c0e['startState']['field'](foldState,!0x1)!=_0x3b0c0e['state']['field'](foldState,!0x1)||syntaxTree(_0x3b0c0e['startState'])!=syntaxTree(_0x3b0c0e['state'])||_0x23bc42['foldingChanged'](_0x3b0c0e))&&(this['markers']=this['buildMarkers'](_0x3b0c0e['view']));}['buildMarkers'](_0x2afff2){let _0x22de06=new RangeSetBuilder();for(let _0x48a71e of _0x2afff2['viewportLineBlocks']){let _0x565ca4=_0x3855be(_0x2afff2['state'],_0x48a71e['from'],_0x48a71e['to'])?_0x2687c8:_0x150ddb(_0x2afff2['state'],_0x48a71e['from'],_0x48a71e['to'])?_0x449374:null;_0x565ca4&&_0x22de06['add'](_0x48a71e['from'],_0x48a71e['from'],_0x565ca4);}return _0x22de06['finish']();}}),{domEventHandlers:_0x9c3791}=_0x23bc42;return[_0x21d784,gutter({'class':'cm-foldGutter','markers'(_0x36aa05){var _0x1c8768;return(null===(_0x1c8768=_0x36aa05['plugin'](_0x21d784))||void 0x0===_0x1c8768?void 0x0:_0x1c8768['markers'])||RangeSet['empty'];},'initialSpacer':()=>new _0x508fa3(_0x23bc42,!0x1),'domEventHandlers':{..._0x9c3791,'click':(_0x161e8f,_0xc6befc,_0x3b81ef)=>{if(_0x9c3791['click']&&_0x9c3791['click'](_0x161e8f,_0xc6befc,_0x3b81ef))return!0x0;let _0x34bb96=_0x3855be(_0x161e8f['state'],_0xc6befc['from'],_0xc6befc['to']);if(_0x34bb96)return _0x161e8f['dispatch']({'effects':unfoldEffect['of'](_0x34bb96)}),!0x0;let _0x690be7=_0x150ddb(_0x161e8f['state'],_0xc6befc['from'],_0xc6befc['to']);return!!_0x690be7&&(_0x161e8f['dispatch']({'effects':foldEffect['of'](_0x690be7)}),!0x0);}}}),_0x3d1f59()];}const _0x27c842=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(_0x49367b,_0x164970){let _0x32834f;function _0x30e0d6(_0x421130){let _0x4ed329=StyleModule['newName']();return(_0x32834f||(_0x32834f=Object['create'](null)))['.'+_0x4ed329]=_0x421130,_0x4ed329;}this['specs']=_0x49367b;const _0x181f61='string'==typeof _0x164970['all']?_0x164970['all']:_0x164970['all']?_0x30e0d6(_0x164970['all']):void 0x0,_0x3bc013=_0x164970['scope'];this['scope']=_0x3bc013 instanceof _0x13cb7f?_0x5a0ed6=>_0x5a0ed6['prop'](languageDataProp)==_0x3bc013['data']:_0x3bc013?_0x5101e0=>_0x5101e0==_0x3bc013:void 0x0,this['style']=tagHighlighter(_0x49367b['map'](_0x43b7fd=>({'tag':_0x43b7fd['tag'],'class':_0x43b7fd['class']||_0x30e0d6(Object['assign']({},_0x43b7fd,{'tag':null}))})),{'all':_0x181f61})['style'],this['module']=_0x32834f?new StyleModule(_0x32834f):null,this['themeType']=_0x164970['themeType'];}static['define'](_0x36cd02,_0x2f2f73){return new HighlightStyle(_0x36cd02,_0x2f2f73||{});}}const highlighterFacet=Facet['define'](),fallbackHighlighter=Facet['define']({'combine':_0x9e63a0=>_0x9e63a0['length']?[_0x9e63a0[0x0]]:null});function getHighlighters(_0x591222){let _0x1346af=_0x591222['facet'](highlighterFacet);return _0x1346af['length']?_0x1346af:_0x591222['facet'](fallbackHighlighter);}function syntaxHighlighting(_0x8ec652,_0x1edfe7){let _0x379257,_0x5e581a=[treeHighlighter];return _0x8ec652 instanceof HighlightStyle&&(_0x8ec652['module']&&_0x5e581a['push'](EditorView['styleModule']['of'](_0x8ec652['module'])),_0x379257=_0x8ec652['themeType']),(null==_0x1edfe7?void 0x0:_0x1edfe7['fallback'])?_0x5e581a['push'](fallbackHighlighter['of'](_0x8ec652)):_0x379257?_0x5e581a['push'](highlighterFacet['computeN']([EditorView['darkTheme']],_0x1a12ce=>_0x1a12ce['facet'](EditorView['darkTheme'])==('dark'==_0x379257)?[_0x8ec652]:[])):_0x5e581a['push'](highlighterFacet['of'](_0x8ec652)),_0x5e581a;}class TreeHighlighter{constructor(_0x1b4784){this['markCache']=Object['create'](null),this['tree']=syntaxTree(_0x1b4784['state']),this['decorations']=this['buildDeco'](_0x1b4784,getHighlighters(_0x1b4784['state'])),this['decoratedTo']=_0x1b4784['viewport']['to'];}['update'](_0x280aa8){let _0x368dd7=syntaxTree(_0x280aa8['state']),_0x2e2875=getHighlighters(_0x280aa8['state']),_0x260839=_0x2e2875!=getHighlighters(_0x280aa8['startState']),{viewport:_0x47c734}=_0x280aa8['view'],_0x9b9d9c=_0x280aa8['changes']['mapPos'](this['decoratedTo'],0x1);_0x368dd7['length']<_0x47c734['to']&&!_0x260839&&_0x368dd7['type']==this['tree']['type']&&_0x9b9d9c>=_0x47c734['to']?(this['decorations']=this['decorations']['map'](_0x280aa8['changes']),this['decoratedTo']=_0x9b9d9c):(_0x368dd7!=this['tree']||_0x280aa8['viewportChanged']||_0x260839)&&(this['tree']=_0x368dd7,this['decorations']=this['buildDeco'](_0x280aa8['view'],_0x2e2875),this['decoratedTo']=_0x47c734['to']);}['buildDeco'](_0x54a15c,_0x6ad092){if(!_0x6ad092||!this['tree']['length'])return Decoration['none'];let _0x1f5863=new RangeSetBuilder();for(let {from:_0x358721,to:_0x2ba4db}of _0x54a15c['visibleRanges'])highlightTree(this['tree'],_0x6ad092,(_0x28ed4a,_0x3c12b7,_0x55aadf)=>{_0x1f5863['add'](_0x28ed4a,_0x3c12b7,this['markCache'][_0x55aadf]||(this['markCache'][_0x55aadf]=Decoration['mark']({'class':_0x55aadf})));},_0x358721,_0x2ba4db);return _0x1f5863['finish']();}}const treeHighlighter=_0x27d43b['high'](_0x5e6928['fromClass'](TreeHighlighter,{'decorations':_0x46462a=>_0x46462a['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'}]),_0x1b5994=EditorView['baseTheme']({'&.cm-focused\x20.cm-matchingBracket':{'backgroundColor':'#328c8252'},'&.cm-focused\x20.cm-nonmatchingBracket':{'backgroundColor':'#bb555544'}}),DefaultScanDist=0x2710,DefaultBrackets='()[]{}',bracketMatchingConfig=Facet['define']({'combine':_0x19ce6e=>_0x2aed34(_0x19ce6e,{'afterCursor':!0x0,'brackets':DefaultBrackets,'maxScanDistance':DefaultScanDist,'renderMatch':defaultRenderMatch})}),matchingMark=Decoration['mark']({'class':'cm-matchingBracket'}),nonmatchingMark=Decoration['mark']({'class':'cm-nonmatchingBracket'});function defaultRenderMatch(_0x529ca2){let _0x3b05c4=[],_0x4cab27=_0x529ca2['matched']?matchingMark:nonmatchingMark;return _0x3b05c4['push'](_0x4cab27['range'](_0x529ca2['start']['from'],_0x529ca2['start']['to'])),_0x529ca2['end']&&_0x3b05c4['push'](_0x4cab27['range'](_0x529ca2['end']['from'],_0x529ca2['end']['to'])),_0x3b05c4;}const bracketMatchingState=StateField['define']({'create':()=>Decoration['none'],'update'(_0x132a3f,_0x33bc7b){if(!_0x33bc7b['docChanged']&&!_0x33bc7b['selection'])return _0x132a3f;let _0x16e823=[],_0x58229d=_0x33bc7b['state']['facet'](bracketMatchingConfig);for(let _0x244780 of _0x33bc7b['state']['selection']['ranges']){if(!_0x244780['empty'])continue;let _0x379afe=matchBrackets(_0x33bc7b['state'],_0x244780['head'],-0x1,_0x58229d)||_0x244780['head']>0x0&&matchBrackets(_0x33bc7b['state'],_0x244780['head']-0x1,0x1,_0x58229d)||_0x58229d['afterCursor']&&(matchBrackets(_0x33bc7b['state'],_0x244780['head'],0x1,_0x58229d)||_0x244780['head']<_0x33bc7b['state']['doc']['length']&&matchBrackets(_0x33bc7b['state'],_0x244780['head']+0x1,-0x1,_0x58229d));_0x379afe&&(_0x16e823=_0x16e823['concat'](_0x58229d['renderMatch'](_0x379afe,_0x33bc7b['state'])));}return Decoration['set'](_0x16e823,!0x0);},'provide':_0x95591b=>EditorView['decorations']['from'](_0x95591b)}),bracketMatchingUnique=[bracketMatchingState,_0x1b5994];function bracketMatching(_0x5ebd80={}){return[bracketMatchingConfig['of'](_0x5ebd80),bracketMatchingUnique];}const bracketMatchingHandle=new _0x4ee311();function matchingNodes(_0x5fa401,_0x24ac4b,_0x39927d){let _0xa062af=_0x5fa401['prop'](_0x24ac4b<0x0?_0x4ee311['openedBy']:_0x4ee311['closedBy']);if(_0xa062af)return _0xa062af;if(0x1==_0x5fa401['name']['length']){let _0x266772=_0x39927d['indexOf'](_0x5fa401['name']);if(_0x266772>-0x1&&_0x266772%0x2==(_0x24ac4b<0x0?0x1:0x0))return[_0x39927d[_0x266772+_0x24ac4b]];}return null;}function _0x69aab1(_0x5a6cf5){let _0x180ecf=_0x5a6cf5['type']['prop'](bracketMatchingHandle);return _0x180ecf?_0x180ecf(_0x5a6cf5['node']):_0x5a6cf5;}function matchBrackets(_0x78a588,_0x4ad3c1,_0x3e16ad,_0x1f2d8f={}){let _0x495a2d=_0x1f2d8f['maxScanDistance']||DefaultScanDist,_0x1071ce=_0x1f2d8f['brackets']||DefaultBrackets,_0x121b1a=syntaxTree(_0x78a588),_0x7470d0=_0x121b1a['resolveInner'](_0x4ad3c1,_0x3e16ad);for(let _0xec00d=_0x7470d0;_0xec00d;_0xec00d=_0xec00d['parent']){let _0x1aa02e=matchingNodes(_0xec00d['type'],_0x3e16ad,_0x1071ce);if(_0x1aa02e&&_0xec00d['from']<_0xec00d['to']){let _0x2465b6=_0x69aab1(_0xec00d);if(_0x2465b6&&(_0x3e16ad>0x0?_0x4ad3c1>=_0x2465b6['from']&&_0x4ad3c1<_0x2465b6['to']:_0x4ad3c1>_0x2465b6['from']&&_0x4ad3c1<=_0x2465b6['to']))return matchMarkedBrackets(_0x78a588,_0x4ad3c1,_0x3e16ad,_0xec00d,_0x2465b6,_0x1aa02e,_0x1071ce);}}return matchPlainBrackets(_0x78a588,_0x4ad3c1,_0x3e16ad,_0x121b1a,_0x7470d0['type'],_0x495a2d,_0x1071ce);}function matchMarkedBrackets(_0x299f83,_0x2a4582,_0x51e1b9,_0x3d08ea,_0x198b43,_0x3bb1df,_0x71b0bf){let _0x4586bd=_0x3d08ea['parent'],_0x3c476d={'from':_0x198b43['from'],'to':_0x198b43['to']},_0x206bb8=0x0,_0x1baa8e=null==_0x4586bd?void 0x0:_0x4586bd['cursor']();if(_0x1baa8e&&(_0x51e1b9<0x0?_0x1baa8e['childBefore'](_0x3d08ea['from']):_0x1baa8e['childAfter'](_0x3d08ea['to'])))do{if(_0x51e1b9<0x0?_0x1baa8e['to']<=_0x3d08ea['from']:_0x1baa8e['from']>=_0x3d08ea['to']){if(0x0==_0x206bb8&&_0x3bb1df['indexOf'](_0x1baa8e['type']['name'])>-0x1&&_0x1baa8e['from']<_0x1baa8e['to']){let _0x435a06=_0x69aab1(_0x1baa8e);return{'start':_0x3c476d,'end':_0x435a06?{'from':_0x435a06['from'],'to':_0x435a06['to']}:void 0x0,'matched':!0x0};}if(matchingNodes(_0x1baa8e['type'],_0x51e1b9,_0x71b0bf))_0x206bb8++;else{if(matchingNodes(_0x1baa8e['type'],-_0x51e1b9,_0x71b0bf)){if(0x0==_0x206bb8){let _0x4f5111=_0x69aab1(_0x1baa8e);return{'start':_0x3c476d,'end':_0x4f5111&&_0x4f5111['from']<_0x4f5111['to']?{'from':_0x4f5111['from'],'to':_0x4f5111['to']}:void 0x0,'matched':!0x1};}_0x206bb8--;}}}}while(_0x51e1b9<0x0?_0x1baa8e['prevSibling']():_0x1baa8e['nextSibling']());return{'start':_0x3c476d,'matched':!0x1};}function matchPlainBrackets(_0x394e84,_0x135f3f,_0x5b9fea,_0x442b2b,_0x10b166,_0x48f2a1,_0x371f09){let _0xbbcce0=_0x5b9fea<0x0?_0x394e84['sliceDoc'](_0x135f3f-0x1,_0x135f3f):_0x394e84['sliceDoc'](_0x135f3f,_0x135f3f+0x1),_0x363367=_0x371f09['indexOf'](_0xbbcce0);if(_0x363367<0x0||_0x363367%0x2==0x0!=_0x5b9fea>0x0)return null;let _0x4bb900={'from':_0x5b9fea<0x0?_0x135f3f-0x1:_0x135f3f,'to':_0x5b9fea>0x0?_0x135f3f+0x1:_0x135f3f},_0x5b62e5=_0x394e84['doc']['iterRange'](_0x135f3f,_0x5b9fea>0x0?_0x394e84['doc']['length']:0x0),_0x2feba0=0x0;for(let _0x5b63cc=0x0;!_0x5b62e5['next']()['done']&&_0x5b63cc<=_0x48f2a1;){let _0x16bb1c=_0x5b62e5['value'];_0x5b9fea<0x0&&(_0x5b63cc+=_0x16bb1c['length']);let _0x23411d=_0x135f3f+_0x5b63cc*_0x5b9fea;for(let _0xe182ea=_0x5b9fea>0x0?0x0:_0x16bb1c['length']-0x1,_0x28a4cb=_0x5b9fea>0x0?_0x16bb1c['length']:-0x1;_0xe182ea!=_0x28a4cb;_0xe182ea+=_0x5b9fea){let _0x27d787=_0x371f09['indexOf'](_0x16bb1c[_0xe182ea]);if(!(_0x27d787<0x0||_0x442b2b['resolveInner'](_0x23411d+_0xe182ea,0x1)['type']!=_0x10b166)){if(_0x27d787%0x2==0x0==_0x5b9fea>0x0)_0x2feba0++;else{if(0x1==_0x2feba0)return{'start':_0x4bb900,'end':{'from':_0x23411d+_0xe182ea,'to':_0x23411d+_0xe182ea+0x1},'matched':_0x27d787>>0x1==_0x363367>>0x1};_0x2feba0--;}}}_0x5b9fea>0x0&&(_0x5b63cc+=_0x16bb1c['length']);}return _0x5b62e5['done']?{'start':_0x4bb900,'matched':!0x1}:null;}const _0x417496=Object['create'](null),typeArray=[_0x343050['none']],_0x47c448=[],_0x384475=Object['create'](null),defaultTable=Object['create'](null);for(let [_0x4a9b3d,_0x1207fd]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[_0x4a9b3d]=createTokenType(_0x417496,_0x1207fd);function warnForPart(_0x3a6bb3,_0xed18e9){_0x47c448['indexOf'](_0x3a6bb3)>-0x1||(_0x47c448['push'](_0x3a6bb3),console['warn'](_0xed18e9));}function createTokenType(_0x15e067,_0x346a45){let _0x3ccc95=[];for(let _0x5df439 of _0x346a45['split']('\x20')){let _0x2cf5d3=[];for(let _0x317bd2 of _0x5df439['split']('.')){let _0x1cfe44=_0x15e067[_0x317bd2]||tags$1[_0x317bd2];_0x1cfe44?'function'==typeof _0x1cfe44?_0x2cf5d3['length']?_0x2cf5d3=_0x2cf5d3['map'](_0x1cfe44):warnForPart(_0x317bd2,'Modifier\x20'+_0x317bd2+'\x20used\x20at\x20start\x20of\x20tag'):_0x2cf5d3['length']?warnForPart(_0x317bd2,'Tag\x20'+_0x317bd2+'\x20used\x20as\x20modifier'):_0x2cf5d3=Array['isArray'](_0x1cfe44)?_0x1cfe44:[_0x1cfe44]:warnForPart(_0x317bd2,'Unknown\x20highlighting\x20tag\x20'+_0x317bd2);}for(let _0x430345 of _0x2cf5d3)_0x3ccc95['push'](_0x430345);}if(!_0x3ccc95['length'])return 0x0;let _0x36b0e0=_0x346a45['replace'](/ /g,'_'),_0x4a54df=_0x36b0e0+'\x20'+_0x3ccc95['map'](t=>t['id']),_0x2e0228=_0x384475[_0x4a54df];if(_0x2e0228)return _0x2e0228['id'];let _0x4ebf1f=_0x384475[_0x4a54df]=_0x343050['define']({'id':typeArray['length'],'name':_0x36b0e0,'props':[styleTags({[_0x36b0e0]:_0x3ccc95})]});return typeArray['push'](_0x4ebf1f),_0x4ebf1f['id'];}Direction['RTL'],Direction['LTR'];const toggleComment=_0x166c4a=>{let {state:_0x3fc653}=_0x166c4a,_0x3c9e58=_0x3fc653['doc']['lineAt'](_0x3fc653['selection']['main']['from']),_0x11ac78=getConfig(_0x166c4a['state'],_0x3c9e58['from']);return _0x11ac78['line']?toggleLineComment(_0x166c4a):!!_0x11ac78['block']&&toggleBlockCommentByLine(_0x166c4a);};function _0x16cdc2(_0xd89bac,_0x501493){return({state:_0x4ee8db,dispatch:_0x2abd73})=>{if(_0x4ee8db['readOnly'])return!0x1;let _0x4a7bcf=_0xd89bac(_0x501493,_0x4ee8db);return!!_0x4a7bcf&&(_0x2abd73(_0x4ee8db['update'](_0x4a7bcf)),!0x0);};}const toggleLineComment=_0x16cdc2(changeLineComment,0x0),toggleBlockComment=_0x16cdc2(changeBlockComment,0x0),toggleBlockCommentByLine=_0x16cdc2((_0x17f3d6,_0x2fa023)=>changeBlockComment(_0x17f3d6,_0x2fa023,selectedLineRanges(_0x2fa023)),0x0);function getConfig(_0x4be02c,_0x55838d){let _0x5cfc5b=_0x4be02c['languageDataAt']('commentTokens',_0x55838d,0x1);return _0x5cfc5b['length']?_0x5cfc5b[0x0]:{};}const _0x37e99c=0x32;function findBlockComment(_0x50b4f4,{open:_0x4fb123,close:_0x3c74b3},_0x3bec54,_0x56b7cf){let _0x12f9d1,_0x31840c,_0x36b5dd=_0x50b4f4['sliceDoc'](_0x3bec54-_0x37e99c,_0x3bec54),_0x34b6ca=_0x50b4f4['sliceDoc'](_0x56b7cf,_0x56b7cf+_0x37e99c),_0x373dae=/\s*$/['exec'](_0x36b5dd)[0x0]['length'],_0x3989d6=/^\s*/['exec'](_0x34b6ca)[0x0]['length'],_0x488348=_0x36b5dd['length']-_0x373dae;if(_0x36b5dd['slice'](_0x488348-_0x4fb123['length'],_0x488348)==_0x4fb123&&_0x34b6ca['slice'](_0x3989d6,_0x3989d6+_0x3c74b3['length'])==_0x3c74b3)return{'open':{'pos':_0x3bec54-_0x373dae,'margin':_0x373dae&&0x1},'close':{'pos':_0x56b7cf+_0x3989d6,'margin':_0x3989d6&&0x1}};_0x56b7cf-_0x3bec54<=0x2*_0x37e99c?_0x12f9d1=_0x31840c=_0x50b4f4['sliceDoc'](_0x3bec54,_0x56b7cf):(_0x12f9d1=_0x50b4f4['sliceDoc'](_0x3bec54,_0x3bec54+_0x37e99c),_0x31840c=_0x50b4f4['sliceDoc'](_0x56b7cf-_0x37e99c,_0x56b7cf));let _0x2f8171=/^\s*/['exec'](_0x12f9d1)[0x0]['length'],_0x772d6e=/\s*$/['exec'](_0x31840c)[0x0]['length'],_0x2c28d6=_0x31840c['length']-_0x772d6e-_0x3c74b3['length'];return _0x12f9d1['slice'](_0x2f8171,_0x2f8171+_0x4fb123['length'])==_0x4fb123&&_0x31840c['slice'](_0x2c28d6,_0x2c28d6+_0x3c74b3['length'])==_0x3c74b3?{'open':{'pos':_0x3bec54+_0x2f8171+_0x4fb123['length'],'margin':/\s/['test'](_0x12f9d1['charAt'](_0x2f8171+_0x4fb123['length']))?0x1:0x0},'close':{'pos':_0x56b7cf-_0x772d6e-_0x3c74b3['length'],'margin':/\s/['test'](_0x31840c['charAt'](_0x2c28d6-0x1))?0x1:0x0}}:null;}function selectedLineRanges(_0x228692){let _0x3377aa=[];for(let _0xa8ec9 of _0x228692['selection']['ranges']){let _0x59deb1=_0x228692['doc']['lineAt'](_0xa8ec9['from']),_0x72ee69=_0xa8ec9['to']<=_0x59deb1['to']?_0x59deb1:_0x228692['doc']['lineAt'](_0xa8ec9['to']);_0x72ee69['from']>_0x59deb1['from']&&_0x72ee69['from']==_0xa8ec9['to']&&(_0x72ee69=_0xa8ec9['to']==_0x59deb1['to']+0x1?_0x59deb1:_0x228692['doc']['lineAt'](_0xa8ec9['to']-0x1));let _0x1984cb=_0x3377aa['length']-0x1;_0x1984cb>=0x0&&_0x3377aa[_0x1984cb]['to']>_0x59deb1['from']?_0x3377aa[_0x1984cb]['to']=_0x72ee69['to']:_0x3377aa['push']({'from':_0x59deb1['from']+/^\s*/['exec'](_0x59deb1['text'])[0x0]['length'],'to':_0x72ee69['to']});}return _0x3377aa;}function changeBlockComment(_0x14b0b8,_0x587839,_0x466e66=_0x587839['selection']['ranges']){let _0x6e36bb=_0x466e66['map'](_0x2b1e74=>getConfig(_0x587839,_0x2b1e74['from'])['block']);if(!_0x6e36bb['every'](_0x45f0f5=>_0x45f0f5))return null;let _0x397548=_0x466e66['map']((_0xc9e5b2,_0x439c8f)=>findBlockComment(_0x587839,_0x6e36bb[_0x439c8f],_0xc9e5b2['from'],_0xc9e5b2['to']));if(0x2!=_0x14b0b8&&!_0x397548['every'](_0x57c9fa=>_0x57c9fa))return{'changes':_0x587839['changes'](_0x466e66['map']((_0x55f2a1,_0x644858)=>_0x397548[_0x644858]?[]:[{'from':_0x55f2a1['from'],'insert':_0x6e36bb[_0x644858]['open']+'\x20'},{'from':_0x55f2a1['to'],'insert':'\x20'+_0x6e36bb[_0x644858]['close']}]))};if(0x1!=_0x14b0b8&&_0x397548['some'](_0x1c9b27=>_0x1c9b27)){let _0x2087a1=[];for(let _0x5d14cd,_0x401970=0x0;_0x401970<_0x397548['length'];_0x401970++)if(_0x5d14cd=_0x397548[_0x401970]){let _0x4e631f=_0x6e36bb[_0x401970],{open:_0x5b3bc3,close:_0x361a0d}=_0x5d14cd;_0x2087a1['push']({'from':_0x5b3bc3['pos']-_0x4e631f['open']['length'],'to':_0x5b3bc3['pos']+_0x5b3bc3['margin']},{'from':_0x361a0d['pos']-_0x361a0d['margin'],'to':_0x361a0d['pos']+_0x4e631f['close']['length']});}return{'changes':_0x2087a1};}return null;}function changeLineComment(_0x48a76e,_0x1879ff,_0x5d9d24=_0x1879ff['selection']['ranges']){let _0x515c91=[],_0x505720=-0x1;for(let {from:_0x1d8069,to:_0x47f465}of _0x5d9d24){let _0x57e444=_0x515c91['length'],_0x522fcb=0x3b9aca00,_0xccee16=getConfig(_0x1879ff,_0x1d8069)['line'];if(_0xccee16){for(let _0x1e1b08=_0x1d8069;_0x1e1b08<=_0x47f465;){let _0x212a7a=_0x1879ff['doc']['lineAt'](_0x1e1b08);if(_0x212a7a['from']>_0x505720&&(_0x1d8069==_0x47f465||_0x47f465>_0x212a7a['from'])){_0x505720=_0x212a7a['from'];let _0x1f0425=/^\s*/['exec'](_0x212a7a['text'])[0x0]['length'],_0x37f21d=_0x1f0425==_0x212a7a['length'],_0x5b63fc=_0x212a7a['text']['slice'](_0x1f0425,_0x1f0425+_0xccee16['length'])==_0xccee16?_0x1f0425:-0x1;_0x1f0425<_0x212a7a['text']['length']&&_0x1f0425<_0x522fcb&&(_0x522fcb=_0x1f0425),_0x515c91['push']({'line':_0x212a7a,'comment':_0x5b63fc,'token':_0xccee16,'indent':_0x1f0425,'empty':_0x37f21d,'single':!0x1});}_0x1e1b08=_0x212a7a['to']+0x1;}if(_0x522fcb<0x3b9aca00){for(let _0x568985=_0x57e444;_0x568985<_0x515c91['length'];_0x568985++)_0x515c91[_0x568985]['indent']<_0x515c91[_0x568985]['line']['text']['length']&&(_0x515c91[_0x568985]['indent']=_0x522fcb);}_0x515c91['length']==_0x57e444+0x1&&(_0x515c91[_0x57e444]['single']=!0x0);}}if(0x2!=_0x48a76e&&_0x515c91['some'](_0x5db998=>_0x5db998['comment']<0x0&&(!_0x5db998['empty']||_0x5db998['single']))){let _0x3b0ca0=[];for(let {line:_0x349b72,token:_0x24ed09,indent:_0x46c10d,empty:_0x2b0240,single:_0x428870}of _0x515c91)!_0x428870&&_0x2b0240||_0x3b0ca0['push']({'from':_0x349b72['from']+_0x46c10d,'insert':_0x24ed09+'\x20'});let _0x101bf4=_0x1879ff['changes'](_0x3b0ca0);return{'changes':_0x101bf4,'selection':_0x1879ff['selection']['map'](_0x101bf4,0x1)};}if(0x1!=_0x48a76e&&_0x515c91['some'](_0x18313b=>_0x18313b['comment']>=0x0)){let _0x18fb6c=[];for(let {line:_0x43aeab,comment:_0x1074c3,token:_0x64385a}of _0x515c91)if(_0x1074c3>=0x0){let _0x463542=_0x43aeab['from']+_0x1074c3,_0x4da986=_0x463542+_0x64385a['length'];'\x20'==_0x43aeab['text'][_0x4da986-_0x43aeab['from']]&&_0x4da986++,_0x18fb6c['push']({'from':_0x463542,'to':_0x4da986});}return{'changes':_0x18fb6c};}return null;}const fromHistory=Annotation['define'](),isolateHistory=Annotation['define'](),invertedEffects=Facet['define'](),historyConfig=Facet['define']({'combine':_0x40a4b7=>_0x2aed34(_0x40a4b7,{'minDepth':0x64,'newGroupDelay':0x1f4,'joinToEvent':(_0x1193ef,_0x1283e6)=>_0x1283e6},{'minDepth':Math['max'],'newGroupDelay':Math['min'],'joinToEvent':(_0x17bbce,_0x3372de)=>(_0x721b92,_0x421370)=>_0x17bbce(_0x721b92,_0x421370)||_0x3372de(_0x721b92,_0x421370)})}),historyField_=StateField['define']({'create':()=>HistoryState['empty'],'update'(_0x24d07b,_0x10dde4){let _0x1b582f=_0x10dde4['state']['facet'](historyConfig),_0xe0a4d6=_0x10dde4['annotation'](fromHistory);if(_0xe0a4d6){let _0x53bf50=HistEvent['fromTransaction'](_0x10dde4,_0xe0a4d6['selection']),_0x51e483=_0xe0a4d6['side'],_0x172e15=0x0==_0x51e483?_0x24d07b['undone']:_0x24d07b['done'];return _0x172e15=_0x53bf50?updateBranch(_0x172e15,_0x172e15['length'],_0x1b582f['minDepth'],_0x53bf50):addSelection(_0x172e15,_0x10dde4['startState']['selection']),new HistoryState(0x0==_0x51e483?_0xe0a4d6['rest']:_0x172e15,0x0==_0x51e483?_0x172e15:_0xe0a4d6['rest']);}let _0x4aaae9=_0x10dde4['annotation'](isolateHistory);if('full'!=_0x4aaae9&&'before'!=_0x4aaae9||(_0x24d07b=_0x24d07b['isolate']()),!0x1===_0x10dde4['annotation'](Transaction['addToHistory']))return _0x10dde4['changes']['empty']?_0x24d07b:_0x24d07b['addMapping'](_0x10dde4['changes']['desc']);let _0x496a33=HistEvent['fromTransaction'](_0x10dde4),_0xdfa427=_0x10dde4['annotation'](Transaction['time']),_0x502e83=_0x10dde4['annotation'](Transaction['userEvent']);return _0x496a33?_0x24d07b=_0x24d07b['addChanges'](_0x496a33,_0xdfa427,_0x502e83,_0x1b582f,_0x10dde4):_0x10dde4['selection']&&(_0x24d07b=_0x24d07b['addSelection'](_0x10dde4['startState']['selection'],_0xdfa427,_0x502e83,_0x1b582f['newGroupDelay'])),'full'!=_0x4aaae9&&'after'!=_0x4aaae9||(_0x24d07b=_0x24d07b['isolate']()),_0x24d07b;},'toJSON':_0x234fd2=>({'done':_0x234fd2['done']['map'](_0x35e382=>_0x35e382['toJSON']()),'undone':_0x234fd2['undone']['map'](_0x5f5b30=>_0x5f5b30['toJSON']())}),'fromJSON':_0xf78ebf=>new HistoryState(_0xf78ebf['done']['map'](HistEvent['fromJSON']),_0xf78ebf['undone']['map'](HistEvent['fromJSON']))});function history(_0x653748={}){return[historyField_,historyConfig['of'](_0x653748),EditorView['domEventHandlers']({'beforeinput'(_0x35cc8a,_0x4cde74){let _0x5e2498='historyUndo'==_0x35cc8a['inputType']?_0x14d682:'historyRedo'==_0x35cc8a['inputType']?_0x2f23eb:null;return!!_0x5e2498&&(_0x35cc8a['preventDefault'](),_0x5e2498(_0x4cde74));}})];}function _0x27406f(_0x75db7b,_0x520837){return function({state:_0xcba70b,dispatch:_0x36c20d}){if(!_0x520837&&_0xcba70b['readOnly'])return!0x1;let _0x3f5272=_0xcba70b['field'](historyField_,!0x1);if(!_0x3f5272)return!0x1;let _0xb9a69=_0x3f5272['pop'](_0x75db7b,_0xcba70b,_0x520837);return!!_0xb9a69&&(_0x36c20d(_0xb9a69),!0x0);};}const _0x14d682=_0x27406f(0x0,!0x1),_0x2f23eb=_0x27406f(0x1,!0x1),undoSelection=_0x27406f(0x0,!0x0),redoSelection=_0x27406f(0x1,!0x0);class HistEvent{constructor(_0xc7e36d,_0xf7ed61,_0x272154,_0x445a5f,_0x12c6c2){this['changes']=_0xc7e36d,this['effects']=_0xf7ed61,this['mapped']=_0x272154,this['startSelection']=_0x445a5f,this['selectionsAfter']=_0x12c6c2;}['setSelAfter'](_0x554ada){return new HistEvent(this['changes'],this['effects'],this['mapped'],this['startSelection'],_0x554ada);}['toJSON'](){var _0x2925f9,_0xcada9e,_0x383482;return{'changes':null===(_0x2925f9=this['changes'])||void 0x0===_0x2925f9?void 0x0:_0x2925f9['toJSON'](),'mapped':null===(_0xcada9e=this['mapped'])||void 0x0===_0xcada9e?void 0x0:_0xcada9e['toJSON'](),'startSelection':null===(_0x383482=this['startSelection'])||void 0x0===_0x383482?void 0x0:_0x383482['toJSON'](),'selectionsAfter':this['selectionsAfter']['map'](_0x1b7726=>_0x1b7726['toJSON']())};}static['fromJSON'](_0xe747ae){return new HistEvent(_0xe747ae['changes']&&ChangeSet['fromJSON'](_0xe747ae['changes']),[],_0xe747ae['mapped']&&_0x41c510['fromJSON'](_0xe747ae['mapped']),_0xe747ae['startSelection']&&EditorSelection['fromJSON'](_0xe747ae['startSelection']),_0xe747ae['selectionsAfter']['map'](EditorSelection['fromJSON']));}static['fromTransaction'](_0x432832,_0x315582){let _0x5dcf11=_0x3324db;for(let _0x17fce5 of _0x432832['startState']['facet'](invertedEffects)){let _0xfe0051=_0x17fce5(_0x432832);_0xfe0051['length']&&(_0x5dcf11=_0x5dcf11['concat'](_0xfe0051));}return!_0x5dcf11['length']&&_0x432832['changes']['empty']?null:new HistEvent(_0x432832['changes']['invert'](_0x432832['startState']['doc']),_0x5dcf11,void 0x0,_0x315582||_0x432832['startState']['selection'],_0x3324db);}static['selection'](_0x4321a8){return new HistEvent(void 0x0,_0x3324db,void 0x0,void 0x0,_0x4321a8);}}function updateBranch(_0x378843,_0xb0a293,_0x19ad4f,_0x134f5b){let _0x1d3160=_0xb0a293+0x1>_0x19ad4f+0x14?_0xb0a293-_0x19ad4f-0x1:0x0,_0x11378c=_0x378843['slice'](_0x1d3160,_0xb0a293);return _0x11378c['push'](_0x134f5b),_0x11378c;}function isAdjacent(_0x4db4fe,_0x356555){let _0x498177=[],_0x4933cc=!0x1;return _0x4db4fe['iterChangedRanges']((_0x3f312c,t)=>_0x498177['push'](_0x3f312c,t)),_0x356555['iterChangedRanges']((_0x3d62ba,_0x22b176,_0x13ea03,t)=>{for(let _0x29f27f=0x0;_0x29f27f<_0x498177['length'];){let _0x36bad6=_0x498177[_0x29f27f++],_0x22233c=_0x498177[_0x29f27f++];t>=_0x36bad6&&_0x13ea03<=_0x22233c&&(_0x4933cc=!0x0);}}),_0x4933cc;}function eqSelectionShape(_0x268876,_0x90ef24){return _0x268876['ranges']['length']==_0x90ef24['ranges']['length']&&0x0===_0x268876['ranges']['filter']((_0x5ea0c1,_0x1f565f)=>_0x5ea0c1['empty']!=_0x90ef24['ranges'][_0x1f565f]['empty'])['length'];}function _0x4ce650(_0x2384a5,_0x53e0d7){return _0x2384a5['length']?_0x53e0d7['length']?_0x2384a5['concat'](_0x53e0d7):_0x2384a5:_0x53e0d7;}const _0x3324db=[],MaxSelectionsPerEvent=0xc8;function addSelection(_0x4fb17b,_0x4e6d54){if(_0x4fb17b['length']){let _0x5a3699=_0x4fb17b[_0x4fb17b['length']-0x1],_0x384c20=_0x5a3699['selectionsAfter']['slice'](Math['max'](0x0,_0x5a3699['selectionsAfter']['length']-MaxSelectionsPerEvent));return _0x384c20['length']&&_0x384c20[_0x384c20['length']-0x1]['eq'](_0x4e6d54)?_0x4fb17b:(_0x384c20['push'](_0x4e6d54),updateBranch(_0x4fb17b,_0x4fb17b['length']-0x1,0x3b9aca00,_0x5a3699['setSelAfter'](_0x384c20)));}return[HistEvent['selection']([_0x4e6d54])];}function popSelection(_0x2a7d2b){let _0x5c4488=_0x2a7d2b[_0x2a7d2b['length']-0x1],_0x5d3544=_0x2a7d2b['slice']();return _0x5d3544[_0x2a7d2b['length']-0x1]=_0x5c4488['setSelAfter'](_0x5c4488['selectionsAfter']['slice'](0x0,_0x5c4488['selectionsAfter']['length']-0x1)),_0x5d3544;}function _0x5181d6(_0x208ee3,_0x3a7705){if(!_0x208ee3['length'])return _0x208ee3;let _0x3190a4=_0x208ee3['length'],_0x2c5ded=_0x3324db;for(;_0x3190a4;){let _0x4762e5=mapEvent(_0x208ee3[_0x3190a4-0x1],_0x3a7705,_0x2c5ded);if(_0x4762e5['changes']&&!_0x4762e5['changes']['empty']||_0x4762e5['effects']['length']){let _0x47088f=_0x208ee3['slice'](0x0,_0x3190a4);return _0x47088f[_0x3190a4-0x1]=_0x4762e5,_0x47088f;}_0x3a7705=_0x4762e5['mapped'],_0x3190a4--,_0x2c5ded=_0x4762e5['selectionsAfter'];}return _0x2c5ded['length']?[HistEvent['selection'](_0x2c5ded)]:_0x3324db;}function mapEvent(_0x21235e,_0x3510af,_0xc50431){let _0x580fbf=_0x4ce650(_0x21235e['selectionsAfter']['length']?_0x21235e['selectionsAfter']['map'](_0x2786f4=>_0x2786f4['map'](_0x3510af)):_0x3324db,_0xc50431);if(!_0x21235e['changes'])return HistEvent['selection'](_0x580fbf);let _0x4ef646=_0x21235e['changes']['map'](_0x3510af),_0x17eb37=_0x3510af['mapDesc'](_0x21235e['changes'],!0x0),_0x2b8fef=_0x21235e['mapped']?_0x21235e['mapped']['composeDesc'](_0x17eb37):_0x17eb37;return new HistEvent(_0x4ef646,StateEffect['mapEffects'](_0x21235e['effects'],_0x3510af),_0x2b8fef,_0x21235e['startSelection']['map'](_0x17eb37),_0x580fbf);}const joinableUserEvent=/^(input\.type|delete)($|\.)/;class HistoryState{constructor(_0x432485,_0xe86acd,_0x2e281a=0x0,_0x276259=void 0x0){this['done']=_0x432485,this['undone']=_0xe86acd,this['prevTime']=_0x2e281a,this['prevUserEvent']=_0x276259;}['isolate'](){return this['prevTime']?new HistoryState(this['done'],this['undone']):this;}['addChanges'](_0x5efe23,_0x410923,_0xdd5c2e,_0x305bb2,_0x433962){let _0x2228ba=this['done'],_0x3cf702=_0x2228ba[_0x2228ba['length']-0x1];return _0x2228ba=_0x3cf702&&_0x3cf702['changes']&&!_0x3cf702['changes']['empty']&&_0x5efe23['changes']&&(!_0xdd5c2e||joinableUserEvent['test'](_0xdd5c2e))&&(!_0x3cf702['selectionsAfter']['length']&&_0x410923-this['prevTime']<_0x305bb2['newGroupDelay']&&_0x305bb2['joinToEvent'](_0x433962,isAdjacent(_0x3cf702['changes'],_0x5efe23['changes']))||'input.type.compose'==_0xdd5c2e)?updateBranch(_0x2228ba,_0x2228ba['length']-0x1,_0x305bb2['minDepth'],new HistEvent(_0x5efe23['changes']['compose'](_0x3cf702['changes']),_0x4ce650(StateEffect['mapEffects'](_0x5efe23['effects'],_0x3cf702['changes']),_0x3cf702['effects']),_0x3cf702['mapped'],_0x3cf702['startSelection'],_0x3324db)):updateBranch(_0x2228ba,_0x2228ba['length'],_0x305bb2['minDepth'],_0x5efe23),new HistoryState(_0x2228ba,_0x3324db,_0x410923,_0xdd5c2e);}['addSelection'](_0x203202,_0x5c9146,_0x4b200b,_0x21cf03){let _0x449969=this['done']['length']?this['done'][this['done']['length']-0x1]['selectionsAfter']:_0x3324db;return _0x449969['length']>0x0&&_0x5c9146-this['prevTime']<_0x21cf03&&_0x4b200b==this['prevUserEvent']&&_0x4b200b&&/^select($|\.)/['test'](_0x4b200b)&&eqSelectionShape(_0x449969[_0x449969['length']-0x1],_0x203202)?this:new HistoryState(addSelection(this['done'],_0x203202),this['undone'],_0x5c9146,_0x4b200b);}['addMapping'](_0x2e78ca){return new HistoryState(_0x5181d6(this['done'],_0x2e78ca),_0x5181d6(this['undone'],_0x2e78ca),this['prevTime'],this['prevUserEvent']);}['pop'](_0x412682,_0x4aae94,_0x4dbccb){let _0x1111ff=0x0==_0x412682?this['done']:this['undone'];if(0x0==_0x1111ff['length'])return null;let _0x172139=_0x1111ff[_0x1111ff['length']-0x1],_0xdc613a=_0x172139['selectionsAfter'][0x0]||_0x4aae94['selection'];if(_0x4dbccb&&_0x172139['selectionsAfter']['length'])return _0x4aae94['update']({'selection':_0x172139['selectionsAfter'][_0x172139['selectionsAfter']['length']-0x1],'annotations':fromHistory['of']({'side':_0x412682,'rest':popSelection(_0x1111ff),'selection':_0xdc613a}),'userEvent':0x0==_0x412682?'select.undo':'select.redo','scrollIntoView':!0x0});if(_0x172139['changes']){let _0x578065=0x1==_0x1111ff['length']?_0x3324db:_0x1111ff['slice'](0x0,_0x1111ff['length']-0x1);return _0x172139['mapped']&&(_0x578065=_0x5181d6(_0x578065,_0x172139['mapped'])),_0x4aae94['update']({'changes':_0x172139['changes'],'selection':_0x172139['startSelection'],'effects':_0x172139['effects'],'annotations':fromHistory['of']({'side':_0x412682,'rest':_0x578065,'selection':_0xdc613a}),'filter':!0x1,'userEvent':0x0==_0x412682?'undo':'redo','scrollIntoView':!0x0});}return null;}}HistoryState['empty']=new HistoryState(_0x3324db,_0x3324db);const historyKeymap=[{'key':'Mod-z','run':_0x14d682,'preventDefault':!0x0},{'key':'Mod-y','mac':'Mod-Shift-z','run':_0x2f23eb,'preventDefault':!0x0},{'linux':'Ctrl-Shift-z','run':_0x2f23eb,'preventDefault':!0x0},{'key':'Mod-u','run':undoSelection,'preventDefault':!0x0},{'key':'Alt-u','mac':'Mod-Shift-u','run':redoSelection,'preventDefault':!0x0}];function updateSel(_0x5399eb,_0x375f56){return EditorSelection['create'](_0x5399eb['ranges']['map'](_0x375f56),_0x5399eb['mainIndex']);}function setSel(_0x50c7af,_0x580bd1){return _0x50c7af['update']({'selection':_0x580bd1,'scrollIntoView':!0x0,'userEvent':'select'});}function _0x5384fa({state:_0x2a585d,dispatch:_0x26be31},_0x1559a4){let _0x3678ac=updateSel(_0x2a585d['selection'],_0x1559a4);return!_0x3678ac['eq'](_0x2a585d['selection'],!0x0)&&(_0x26be31(setSel(_0x2a585d,_0x3678ac)),!0x0);}function _0x3d491f(_0x346f8f,_0x456b31){return EditorSelection['cursor'](_0x456b31?_0x346f8f['to']:_0x346f8f['from']);}function _0x39b481(_0x203c55,_0x4f16ee){return _0x5384fa(_0x203c55,_0x3371c5=>_0x3371c5['empty']?_0x203c55['moveByChar'](_0x3371c5,_0x4f16ee):_0x3d491f(_0x3371c5,_0x4f16ee));}function ltrAtCursor(_0x5517f4){return _0x5517f4['textDirectionAt'](_0x5517f4['state']['selection']['main']['head'])==Direction['LTR'];}const cursorCharLeft=_0x3d267f=>_0x39b481(_0x3d267f,!ltrAtCursor(_0x3d267f)),cursorCharRight=_0x389fd0=>_0x39b481(_0x389fd0,ltrAtCursor(_0x389fd0));function _0x15234b(_0x4aa960,_0xc393d1){return _0x5384fa(_0x4aa960,_0x10f413=>_0x10f413['empty']?_0x4aa960['moveByGroup'](_0x10f413,_0xc393d1):_0x3d491f(_0x10f413,_0xc393d1));}const cursorGroupLeft=_0x70ee20=>_0x15234b(_0x70ee20,!ltrAtCursor(_0x70ee20)),cursorGroupRight=_0x5387e4=>_0x15234b(_0x5387e4,ltrAtCursor(_0x5387e4));function interestingNode(_0x5de46b,_0x23082f,_0x25ba13){if(_0x23082f['type']['prop'](_0x25ba13))return!0x0;let _0x203c0f=_0x23082f['to']-_0x23082f['from'];return _0x203c0f&&(_0x203c0f>0x2||/[^\s,.;:]/['test'](_0x5de46b['sliceDoc'](_0x23082f['from'],_0x23082f['to'])))||_0x23082f['firstChild'];}function moveBySyntax(_0x614706,_0x4aeb4a,_0xe459a){let _0x38a515,_0x3cdf2d,_0xfd1efc=syntaxTree(_0x614706)['resolveInner'](_0x4aeb4a['head']),_0x184be5=_0xe459a?_0x4ee311['closedBy']:_0x4ee311['openedBy'];for(let _0x5a5f4f=_0x4aeb4a['head'];;){let _0x505596=_0xe459a?_0xfd1efc['childAfter'](_0x5a5f4f):_0xfd1efc['childBefore'](_0x5a5f4f);if(!_0x505596)break;interestingNode(_0x614706,_0x505596,_0x184be5)?_0xfd1efc=_0x505596:_0x5a5f4f=_0xe459a?_0x505596['to']:_0x505596['from'];}return _0x3cdf2d=_0xfd1efc['type']['prop'](_0x184be5)&&(_0x38a515=_0xe459a?matchBrackets(_0x614706,_0xfd1efc['from'],0x1):matchBrackets(_0x614706,_0xfd1efc['to'],-0x1))&&_0x38a515['matched']?_0xe459a?_0x38a515['end']['to']:_0x38a515['end']['from']:_0xe459a?_0xfd1efc['to']:_0xfd1efc['from'],EditorSelection['cursor'](_0x3cdf2d,_0xe459a?-0x1:0x1);}const cursorSyntaxLeft=_0x58dba2=>_0x5384fa(_0x58dba2,_0x271e95=>moveBySyntax(_0x58dba2['state'],_0x271e95,!ltrAtCursor(_0x58dba2))),cursorSyntaxRight=_0x481509=>_0x5384fa(_0x481509,_0x5e1ec2=>moveBySyntax(_0x481509['state'],_0x5e1ec2,ltrAtCursor(_0x481509)));function _0xfeb5f5(_0x510a5e,_0x5bb6da){return _0x5384fa(_0x510a5e,_0x22a1e3=>{if(!_0x22a1e3['empty'])return _0x3d491f(_0x22a1e3,_0x5bb6da);let _0x2831cd=_0x510a5e['moveVertically'](_0x22a1e3,_0x5bb6da);return _0x2831cd['head']!=_0x22a1e3['head']?_0x2831cd:_0x510a5e['moveToLineBoundary'](_0x22a1e3,_0x5bb6da);});}const _0x1898a7=_0x4248b8=>_0xfeb5f5(_0x4248b8,!0x1),_0x26f570=_0x37f3d2=>_0xfeb5f5(_0x37f3d2,!0x0);function _0x142d91(_0x59fcec){let _0x3a3439,_0x301af9=_0x59fcec['scrollDOM']['clientHeight']<_0x59fcec['scrollDOM']['scrollHeight']-0x2,_0x5d7e87=0x0,_0x304749=0x0;if(_0x301af9){for(let _0x31c4ea of _0x59fcec['state']['facet'](EditorView['scrollMargins'])){let _0x6f980b=_0x31c4ea(_0x59fcec);(null==_0x6f980b?void 0x0:_0x6f980b['top'])&&(_0x5d7e87=Math['max'](null==_0x6f980b?void 0x0:_0x6f980b['top'],_0x5d7e87)),(null==_0x6f980b?void 0x0:_0x6f980b['bottom'])&&(_0x304749=Math['max'](null==_0x6f980b?void 0x0:_0x6f980b['bottom'],_0x304749));}_0x3a3439=_0x59fcec['scrollDOM']['clientHeight']-_0x5d7e87-_0x304749;}else _0x3a3439=(_0x59fcec['dom']['ownerDocument']['defaultView']||window)['innerHeight'];return{'marginTop':_0x5d7e87,'marginBottom':_0x304749,'selfScroll':_0x301af9,'height':Math['max'](_0x59fcec['defaultLineHeight'],_0x3a3439-0x5)};}function _0x37f59d(_0x27abbc,_0x357724){let _0x199522,_0x517f5c=_0x142d91(_0x27abbc),{state:_0x1b9f47}=_0x27abbc,_0x4d2f61=updateSel(_0x1b9f47['selection'],_0x20fbca=>_0x20fbca['empty']?_0x27abbc['moveVertically'](_0x20fbca,_0x357724,_0x517f5c['height']):_0x3d491f(_0x20fbca,_0x357724));if(_0x4d2f61['eq'](_0x1b9f47['selection']))return!0x1;if(_0x517f5c['selfScroll']){let _0x3ca455=_0x27abbc['coordsAtPos'](_0x1b9f47['selection']['main']['head']),_0xbe524d=_0x27abbc['scrollDOM']['getBoundingClientRect'](),_0x44e14c=_0xbe524d['top']+_0x517f5c['marginTop'],_0x41aee3=_0xbe524d['bottom']-_0x517f5c['marginBottom'];_0x3ca455&&_0x3ca455['top']>_0x44e14c&&_0x3ca455['bottom']<_0x41aee3&&(_0x199522=EditorView['scrollIntoView'](_0x4d2f61['main']['head'],{'y':'start','yMargin':_0x3ca455['top']-_0x44e14c}));}return _0x27abbc['dispatch'](setSel(_0x1b9f47,_0x4d2f61),{'effects':_0x199522}),!0x0;}const _0xe87065=_0x516ca5=>_0x37f59d(_0x516ca5,!0x1),_0x3c1e64=_0x1d5605=>_0x37f59d(_0x1d5605,!0x0);function _0x3b71dc(_0xf151a1,_0x3cc907,_0x18ec63){let _0x44b490=_0xf151a1['lineBlockAt'](_0x3cc907['head']),_0x3be473=_0xf151a1['moveToLineBoundary'](_0x3cc907,_0x18ec63);if(_0x3be473['head']==_0x3cc907['head']&&_0x3be473['head']!=(_0x18ec63?_0x44b490['to']:_0x44b490['from'])&&(_0x3be473=_0xf151a1['moveToLineBoundary'](_0x3cc907,_0x18ec63,!0x1)),!_0x18ec63&&_0x3be473['head']==_0x44b490['from']&&_0x44b490['length']){let _0x3e5878=/^\s*/['exec'](_0xf151a1['state']['sliceDoc'](_0x44b490['from'],Math['min'](_0x44b490['from']+0x64,_0x44b490['to'])))[0x0]['length'];_0x3e5878&&_0x3cc907['head']!=_0x44b490['from']+_0x3e5878&&(_0x3be473=EditorSelection['cursor'](_0x44b490['from']+_0x3e5878));}return _0x3be473;}const _0x47d0db=_0xcb86e8=>_0x5384fa(_0xcb86e8,_0x5c1548=>_0x3b71dc(_0xcb86e8,_0x5c1548,!0x0)),_0x51a881=_0x1da649=>_0x5384fa(_0x1da649,_0x3a654e=>_0x3b71dc(_0x1da649,_0x3a654e,!0x1)),cursorLineBoundaryLeft=_0x52a552=>_0x5384fa(_0x52a552,_0x50be45=>_0x3b71dc(_0x52a552,_0x50be45,!ltrAtCursor(_0x52a552))),cursorLineBoundaryRight=_0x44cf0e=>_0x5384fa(_0x44cf0e,_0x27f26f=>_0x3b71dc(_0x44cf0e,_0x27f26f,ltrAtCursor(_0x44cf0e))),cursorLineStart=_0x2b61cc=>_0x5384fa(_0x2b61cc,_0xae97fd=>EditorSelection['cursor'](_0x2b61cc['lineBlockAt'](_0xae97fd['head'])['from'],0x1)),_0x790e8d=_0xedcf1f=>_0x5384fa(_0xedcf1f,_0x4c7aa7=>EditorSelection['cursor'](_0xedcf1f['lineBlockAt'](_0x4c7aa7['head'])['to'],-0x1));function toMatchingBracket(_0x310623,_0x10c50e,_0x392eff){let _0x1f0778=!0x1,_0xbb02b3=updateSel(_0x310623['selection'],_0xd3454c=>{let _0x199f9c=matchBrackets(_0x310623,_0xd3454c['head'],-0x1)||matchBrackets(_0x310623,_0xd3454c['head'],0x1)||_0xd3454c['head']>0x0&&matchBrackets(_0x310623,_0xd3454c['head']-0x1,0x1)||_0xd3454c['head']<_0x310623['doc']['length']&&matchBrackets(_0x310623,_0xd3454c['head']+0x1,-0x1);if(!_0x199f9c||!_0x199f9c['end'])return _0xd3454c;_0x1f0778=!0x0;let _0x2a8809=_0x199f9c['start']['from']==_0xd3454c['head']?_0x199f9c['end']['to']:_0x199f9c['end']['from'];return EditorSelection['cursor'](_0x2a8809);});return!!_0x1f0778&&(_0x10c50e(setSel(_0x310623,_0xbb02b3)),!0x0);}const cursorMatchingBracket=({state:_0x29952c,dispatch:_0x5609c6})=>toMatchingBracket(_0x29952c,_0x5609c6);function extendSel(_0x13579e,_0x18e85e){let _0x3d903f=updateSel(_0x13579e['state']['selection'],_0xa0e6ae=>{let _0x15d06f=_0x18e85e(_0xa0e6ae);return EditorSelection['range'](_0xa0e6ae['anchor'],_0x15d06f['head'],_0x15d06f['goalColumn'],_0x15d06f['bidiLevel']||void 0x0);});return!_0x3d903f['eq'](_0x13579e['state']['selection'])&&(_0x13579e['dispatch'](setSel(_0x13579e['state'],_0x3d903f)),!0x0);}function selectByChar(_0x4319d8,_0x4685f7){return extendSel(_0x4319d8,_0x5a9688=>_0x4319d8['moveByChar'](_0x5a9688,_0x4685f7));}const selectCharLeft=_0x35bb37=>selectByChar(_0x35bb37,!ltrAtCursor(_0x35bb37)),selectCharRight=_0x402358=>selectByChar(_0x402358,ltrAtCursor(_0x402358));function selectByGroup(_0x53ea45,_0x31c09a){return extendSel(_0x53ea45,_0x120b22=>_0x53ea45['moveByGroup'](_0x120b22,_0x31c09a));}const selectGroupLeft=_0x29db1e=>selectByGroup(_0x29db1e,!ltrAtCursor(_0x29db1e)),selectGroupRight=_0x4d5c68=>selectByGroup(_0x4d5c68,ltrAtCursor(_0x4d5c68)),selectSyntaxLeft=_0x13222c=>extendSel(_0x13222c,_0x1093b2=>moveBySyntax(_0x13222c['state'],_0x1093b2,!ltrAtCursor(_0x13222c))),selectSyntaxRight=_0x4252fc=>extendSel(_0x4252fc,_0x291363=>moveBySyntax(_0x4252fc['state'],_0x291363,ltrAtCursor(_0x4252fc)));function selectByLine(_0x51bb08,_0x55077e){return extendSel(_0x51bb08,_0x19f4de=>_0x51bb08['moveVertically'](_0x19f4de,_0x55077e));}const selectLineUp=_0x1e38c4=>selectByLine(_0x1e38c4,!0x1),selectLineDown=_0x320a1f=>selectByLine(_0x320a1f,!0x0);function selectByPage(_0x2ae628,_0x415090){return extendSel(_0x2ae628,_0x255659=>_0x2ae628['moveVertically'](_0x255659,_0x415090,_0x142d91(_0x2ae628)['height']));}const selectPageUp=_0x290751=>selectByPage(_0x290751,!0x1),selectPageDown=_0x4a7678=>selectByPage(_0x4a7678,!0x0),selectLineBoundaryForward=_0x3ffe7e=>extendSel(_0x3ffe7e,_0x279d6c=>_0x3b71dc(_0x3ffe7e,_0x279d6c,!0x0)),selectLineBoundaryBackward=_0x4e083f=>extendSel(_0x4e083f,_0x4aa350=>_0x3b71dc(_0x4e083f,_0x4aa350,!0x1)),selectLineBoundaryLeft=_0x1beb8f=>extendSel(_0x1beb8f,_0x1bf211=>_0x3b71dc(_0x1beb8f,_0x1bf211,!ltrAtCursor(_0x1beb8f))),selectLineBoundaryRight=_0x454c67=>extendSel(_0x454c67,_0x862c82=>_0x3b71dc(_0x454c67,_0x862c82,ltrAtCursor(_0x454c67))),selectLineStart=_0x5335f2=>extendSel(_0x5335f2,_0x52937c=>EditorSelection['cursor'](_0x5335f2['lineBlockAt'](_0x52937c['head'])['from'])),selectLineEnd=_0x2f3c91=>extendSel(_0x2f3c91,_0x42bbe9=>EditorSelection['cursor'](_0x2f3c91['lineBlockAt'](_0x42bbe9['head'])['to'])),cursorDocStart=({state:_0x3bba38,dispatch:_0x3efd88})=>(_0x3efd88(setSel(_0x3bba38,{'anchor':0x0})),!0x0),_0x345f0c=({state:_0xf73b5b,dispatch:_0x35921d})=>(_0x35921d(setSel(_0xf73b5b,{'anchor':_0xf73b5b['doc']['length']})),!0x0),selectDocStart=({state:_0xcb21b7,dispatch:_0x166d2b})=>(_0x166d2b(setSel(_0xcb21b7,{'anchor':_0xcb21b7['selection']['main']['anchor'],'head':0x0})),!0x0),selectDocEnd=({state:_0x16729f,dispatch:_0x195497})=>(_0x195497(setSel(_0x16729f,{'anchor':_0x16729f['selection']['main']['anchor'],'head':_0x16729f['doc']['length']})),!0x0),selectAll=({state:_0x585f79,dispatch:_0x19eea9})=>(_0x19eea9(_0x585f79['update']({'selection':{'anchor':0x0,'head':_0x585f79['doc']['length']},'userEvent':'select'})),!0x0),selectLine=({state:_0x5d0b7c,dispatch:_0x4181a2})=>{let _0x29f869=selectedLineBlocks(_0x5d0b7c)['map'](({from:_0xb4bf12,to:_0x530acd})=>EditorSelection['range'](_0xb4bf12,Math['min'](_0x530acd+0x1,_0x5d0b7c['doc']['length'])));return _0x4181a2(_0x5d0b7c['update']({'selection':EditorSelection['create'](_0x29f869),'userEvent':'select'})),!0x0;},selectParentSyntax=({state:_0x5462af,dispatch:_0x1d0e5d})=>{let _0x53ec1e=updateSel(_0x5462af['selection'],_0x3448b5=>{let _0x4e3fde=syntaxTree(_0x5462af),_0x116f22=_0x4e3fde['resolveStack'](_0x3448b5['from'],0x1);if(_0x3448b5['empty']){let _0x5bc422=_0x4e3fde['resolveStack'](_0x3448b5['from'],-0x1);_0x5bc422['node']['from']>=_0x116f22['node']['from']&&_0x5bc422['node']['to']<=_0x116f22['node']['to']&&(_0x116f22=_0x5bc422);}for(let _0xbf8a1d=_0x116f22;_0xbf8a1d;_0xbf8a1d=_0xbf8a1d['next']){let {node:_0x186918}=_0xbf8a1d;if((_0x186918['from']<_0x3448b5['from']&&_0x186918['to']>=_0x3448b5['to']||_0x186918['to']>_0x3448b5['to']&&_0x186918['from']<=_0x3448b5['from'])&&_0xbf8a1d['next'])return EditorSelection['range'](_0x186918['to'],_0x186918['from']);}return _0x3448b5;});return!_0x53ec1e['eq'](_0x5462af['selection'])&&(_0x1d0e5d(setSel(_0x5462af,_0x53ec1e)),!0x0);},simplifySelection=({state:_0x1ccfca,dispatch:_0x40265e})=>{let _0x572744=_0x1ccfca['selection'],_0x56eed3=null;return _0x572744['ranges']['length']>0x1?_0x56eed3=EditorSelection['create']([_0x572744['main']]):_0x572744['main']['empty']||(_0x56eed3=EditorSelection['create']([EditorSelection['cursor'](_0x572744['main']['head'])])),!!_0x56eed3&&(_0x40265e(setSel(_0x1ccfca,_0x56eed3)),!0x0);};function deleteBy(_0x2918f1,_0x527ab7){if(_0x2918f1['state']['readOnly'])return!0x1;let _0x4dceeb='delete.selection',{state:_0x33c0e6}=_0x2918f1,_0x72df6f=_0x33c0e6['changeByRange'](_0x296d63=>{let {from:_0x4fbe07,to:_0x20bdfa}=_0x296d63;if(_0x4fbe07==_0x20bdfa){let _0x5aa2c3=_0x527ab7(_0x296d63);_0x5aa2c3<_0x4fbe07?(_0x4dceeb='delete.backward',_0x5aa2c3=skipAtomic(_0x2918f1,_0x5aa2c3,!0x1)):_0x5aa2c3>_0x4fbe07&&(_0x4dceeb='delete.forward',_0x5aa2c3=skipAtomic(_0x2918f1,_0x5aa2c3,!0x0)),_0x4fbe07=Math['min'](_0x4fbe07,_0x5aa2c3),_0x20bdfa=Math['max'](_0x20bdfa,_0x5aa2c3);}else _0x4fbe07=skipAtomic(_0x2918f1,_0x4fbe07,!0x1),_0x20bdfa=skipAtomic(_0x2918f1,_0x20bdfa,!0x0);return _0x4fbe07==_0x20bdfa?{'range':_0x296d63}:{'changes':{'from':_0x4fbe07,'to':_0x20bdfa},'range':EditorSelection['cursor'](_0x4fbe07,_0x4fbe07<_0x296d63['head']?-0x1:0x1)};});return!_0x72df6f['changes']['empty']&&(_0x2918f1['dispatch'](_0x33c0e6['update'](_0x72df6f,{'scrollIntoView':!0x0,'userEvent':_0x4dceeb,'effects':'delete.selection'==_0x4dceeb?EditorView['announce']['of'](_0x33c0e6['phrase']('Selection\x20deleted')):void 0x0})),!0x0);}function skipAtomic(_0x3822c4,_0x4fc7ee,_0x6f594a){if(_0x3822c4 instanceof EditorView){for(let _0x1b7405 of _0x3822c4['state']['facet'](EditorView['atomicRanges'])['map'](_0x175c71=>_0x175c71(_0x3822c4)))_0x1b7405['between'](_0x4fc7ee,_0x4fc7ee,(_0x44ffd1,_0x346421)=>{_0x44ffd1<_0x4fc7ee&&_0x346421>_0x4fc7ee&&(_0x4fc7ee=_0x6f594a?_0x346421:_0x44ffd1);});}return _0x4fc7ee;}const deleteByChar=(_0x28184f,_0x2ba759,_0x278c06)=>deleteBy(_0x28184f,_0x5c3676=>{let _0x341ba6,_0x1b8985,_0x7c591a=_0x5c3676['from'],{state:_0xc2c43c}=_0x28184f,_0x4c3440=_0xc2c43c['doc']['lineAt'](_0x7c591a);if(_0x278c06&&!_0x2ba759&&_0x7c591a>_0x4c3440['from']&&_0x7c591a<_0x4c3440['from']+0xc8&&!/[^ \t]/['test'](_0x341ba6=_0x4c3440['text']['slice'](0x0,_0x7c591a-_0x4c3440['from']))){if('\x09'==_0x341ba6[_0x341ba6['length']-0x1])return _0x7c591a-0x1;let _0x20ad39=countColumn(_0x341ba6,_0xc2c43c['tabSize'])%getIndentUnit(_0xc2c43c)||getIndentUnit(_0xc2c43c);for(let _0x4097da=0x0;_0x4097da<_0x20ad39&&'\x20'==_0x341ba6[_0x341ba6['length']-0x1-_0x4097da];_0x4097da++)_0x7c591a--;_0x1b8985=_0x7c591a;}else _0x1b8985=findClusterBreak(_0x4c3440['text'],_0x7c591a-_0x4c3440['from'],_0x2ba759,_0x2ba759)+_0x4c3440['from'],_0x1b8985==_0x7c591a&&_0x4c3440['number']!=(_0x2ba759?_0xc2c43c['doc']['lines']:0x1)?_0x1b8985+=_0x2ba759?0x1:-0x1:!_0x2ba759&&/[\ufe00-\ufe0f]/['test'](_0x4c3440['text']['slice'](_0x1b8985-_0x4c3440['from'],_0x7c591a-_0x4c3440['from']))&&(_0x1b8985=findClusterBreak(_0x4c3440['text'],_0x1b8985-_0x4c3440['from'],!0x1,!0x1)+_0x4c3440['from']);return _0x1b8985;}),deleteCharBackward=_0x210008=>deleteByChar(_0x210008,!0x1,!0x0),deleteCharForward=_0x589026=>deleteByChar(_0x589026,!0x0,!0x1),deleteByGroup=(_0x2ff4f6,_0x5f50f6)=>deleteBy(_0x2ff4f6,_0x3e01d0=>{let _0x15e30d=_0x3e01d0['head'],{state:_0x3e389d}=_0x2ff4f6,_0x26a83f=_0x3e389d['doc']['lineAt'](_0x15e30d),_0x19bd8f=_0x3e389d['charCategorizer'](_0x15e30d);for(let _0x136562=null;;){if(_0x15e30d==(_0x5f50f6?_0x26a83f['to']:_0x26a83f['from'])){_0x15e30d==_0x3e01d0['head']&&_0x26a83f['number']!=(_0x5f50f6?_0x3e389d['doc']['lines']:0x1)&&(_0x15e30d+=_0x5f50f6?0x1:-0x1);break;}let _0x3b5f82=findClusterBreak(_0x26a83f['text'],_0x15e30d-_0x26a83f['from'],_0x5f50f6)+_0x26a83f['from'],_0x8c96c5=_0x26a83f['text']['slice'](Math['min'](_0x15e30d,_0x3b5f82)-_0x26a83f['from'],Math['max'](_0x15e30d,_0x3b5f82)-_0x26a83f['from']),_0x457211=_0x19bd8f(_0x8c96c5);if(null!=_0x136562&&_0x457211!=_0x136562)break;'\x20'==_0x8c96c5&&_0x15e30d==_0x3e01d0['head']||(_0x136562=_0x457211),_0x15e30d=_0x3b5f82;}return _0x15e30d;}),deleteGroupBackward=_0x444465=>deleteByGroup(_0x444465,!0x1),deleteGroupForward=_0x590b2c=>deleteByGroup(_0x590b2c,!0x0),deleteToLineEnd=_0x5995c5=>deleteBy(_0x5995c5,_0x74389c=>{let _0x24b467=_0x5995c5['lineBlockAt'](_0x74389c['head'])['to'];return _0x74389c['head']<_0x24b467?_0x24b467:Math['min'](_0x5995c5['state']['doc']['length'],_0x74389c['head']+0x1);}),deleteLineBoundaryBackward=_0x10771c=>deleteBy(_0x10771c,_0x51ee7a=>{let _0x170772=_0x10771c['moveToLineBoundary'](_0x51ee7a,!0x1)['head'];return _0x51ee7a['head']>_0x170772?_0x170772:Math['max'](0x0,_0x51ee7a['head']-0x1);}),deleteLineBoundaryForward=_0x2bba9a=>deleteBy(_0x2bba9a,_0x3c1fa9=>{let _0x418ff2=_0x2bba9a['moveToLineBoundary'](_0x3c1fa9,!0x0)['head'];return _0x3c1fa9['head']<_0x418ff2?_0x418ff2:Math['min'](_0x2bba9a['state']['doc']['length'],_0x3c1fa9['head']+0x1);}),splitLine=({state:_0x19f925,dispatch:_0x2e298d})=>{if(_0x19f925['readOnly'])return!0x1;let _0x334683=_0x19f925['changeByRange'](_0x1de726=>({'changes':{'from':_0x1de726['from'],'to':_0x1de726['to'],'insert':Text['of'](['',''])},'range':EditorSelection['cursor'](_0x1de726['from'])}));return _0x2e298d(_0x19f925['update'](_0x334683,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;},transposeChars=({state:_0xba9ad0,dispatch:_0x4a905f})=>{if(_0xba9ad0['readOnly'])return!0x1;let _0x29644d=_0xba9ad0['changeByRange'](_0x2a7135=>{if(!_0x2a7135['empty']||0x0==_0x2a7135['from']||_0x2a7135['from']==_0xba9ad0['doc']['length'])return{'range':_0x2a7135};let _0x4c8af6=_0x2a7135['from'],_0x3d6d52=_0xba9ad0['doc']['lineAt'](_0x4c8af6),_0x36dbfc=_0x4c8af6==_0x3d6d52['from']?_0x4c8af6-0x1:findClusterBreak(_0x3d6d52['text'],_0x4c8af6-_0x3d6d52['from'],!0x1)+_0x3d6d52['from'],_0x3d4daf=_0x4c8af6==_0x3d6d52['to']?_0x4c8af6+0x1:findClusterBreak(_0x3d6d52['text'],_0x4c8af6-_0x3d6d52['from'],!0x0)+_0x3d6d52['from'];return{'changes':{'from':_0x36dbfc,'to':_0x3d4daf,'insert':_0xba9ad0['doc']['slice'](_0x4c8af6,_0x3d4daf)['append'](_0xba9ad0['doc']['slice'](_0x36dbfc,_0x4c8af6))},'range':EditorSelection['cursor'](_0x3d4daf)};});return!_0x29644d['changes']['empty']&&(_0x4a905f(_0xba9ad0['update'](_0x29644d,{'scrollIntoView':!0x0,'userEvent':'move.character'})),!0x0);};function selectedLineBlocks(_0x18deca){let _0x32cd01=[],_0x17cc51=-0x1;for(let _0x594efa of _0x18deca['selection']['ranges']){let _0x5e5bfc=_0x18deca['doc']['lineAt'](_0x594efa['from']),_0x3b3f26=_0x18deca['doc']['lineAt'](_0x594efa['to']);if(_0x594efa['empty']||_0x594efa['to']!=_0x3b3f26['from']||(_0x3b3f26=_0x18deca['doc']['lineAt'](_0x594efa['to']-0x1)),_0x17cc51>=_0x5e5bfc['number']){let _0x32ab98=_0x32cd01[_0x32cd01['length']-0x1];_0x32ab98['to']=_0x3b3f26['to'],_0x32ab98['ranges']['push'](_0x594efa);}else _0x32cd01['push']({'from':_0x5e5bfc['from'],'to':_0x3b3f26['to'],'ranges':[_0x594efa]});_0x17cc51=_0x3b3f26['number']+0x1;}return _0x32cd01;}function _0x5bc3d7(_0x181143,_0x32b378,_0x4e1866){if(_0x181143['readOnly'])return!0x1;let _0x4dbd48=[],_0x3e859c=[];for(let _0x4a2ca8 of selectedLineBlocks(_0x181143)){if(_0x4e1866?_0x4a2ca8['to']==_0x181143['doc']['length']:0x0==_0x4a2ca8['from'])continue;let _0x1ffc64=_0x181143['doc']['lineAt'](_0x4e1866?_0x4a2ca8['to']+0x1:_0x4a2ca8['from']-0x1),_0x290f68=_0x1ffc64['length']+0x1;if(_0x4e1866){_0x4dbd48['push']({'from':_0x4a2ca8['to'],'to':_0x1ffc64['to']},{'from':_0x4a2ca8['from'],'insert':_0x1ffc64['text']+_0x181143['lineBreak']});for(let _0x4e1091 of _0x4a2ca8['ranges'])_0x3e859c['push'](EditorSelection['range'](Math['min'](_0x181143['doc']['length'],_0x4e1091['anchor']+_0x290f68),Math['min'](_0x181143['doc']['length'],_0x4e1091['head']+_0x290f68)));}else{_0x4dbd48['push']({'from':_0x1ffc64['from'],'to':_0x4a2ca8['from']},{'from':_0x4a2ca8['to'],'insert':_0x181143['lineBreak']+_0x1ffc64['text']});for(let _0xa595dd of _0x4a2ca8['ranges'])_0x3e859c['push'](EditorSelection['range'](_0xa595dd['anchor']-_0x290f68,_0xa595dd['head']-_0x290f68));}}return!!_0x4dbd48['length']&&(_0x32b378(_0x181143['update']({'changes':_0x4dbd48,'scrollIntoView':!0x0,'selection':EditorSelection['create'](_0x3e859c,_0x181143['selection']['mainIndex']),'userEvent':'move.line'})),!0x0);}const _0x30bba9=({state:_0xe583f,dispatch:_0x4617eb})=>_0x5bc3d7(_0xe583f,_0x4617eb,!0x1),_0x5a40e5=({state:_0x1be9e8,dispatch:_0x10ce1a})=>_0x5bc3d7(_0x1be9e8,_0x10ce1a,!0x0);function _0x5452c5(_0x22ca3b,_0x4aa565,_0x597a62){if(_0x22ca3b['readOnly'])return!0x1;let _0x5d9013=[];for(let _0x438c08 of selectedLineBlocks(_0x22ca3b))_0x597a62?_0x5d9013['push']({'from':_0x438c08['from'],'insert':_0x22ca3b['doc']['slice'](_0x438c08['from'],_0x438c08['to'])+_0x22ca3b['lineBreak']}):_0x5d9013['push']({'from':_0x438c08['to'],'insert':_0x22ca3b['lineBreak']+_0x22ca3b['doc']['slice'](_0x438c08['from'],_0x438c08['to'])});return _0x4aa565(_0x22ca3b['update']({'changes':_0x5d9013,'scrollIntoView':!0x0,'userEvent':'input.copyline'})),!0x0;}const _0x255ab4=({state:_0x3b5d8a,dispatch:_0x394a93})=>_0x5452c5(_0x3b5d8a,_0x394a93,!0x1),_0x46d403=({state:_0x1793bb,dispatch:_0x5858da})=>_0x5452c5(_0x1793bb,_0x5858da,!0x0),deleteLine=_0x34828b=>{if(_0x34828b['state']['readOnly'])return!0x1;let {state:_0x26d0f8}=_0x34828b,_0x2c4588=_0x26d0f8['changes'](selectedLineBlocks(_0x26d0f8)['map'](({from:_0x452901,to:_0x355080})=>(_0x452901>0x0?_0x452901--:_0x355080<_0x26d0f8['doc']['length']&&_0x355080++,{'from':_0x452901,'to':_0x355080}))),_0x39335d=updateSel(_0x26d0f8['selection'],_0x37d698=>{let _0x1dc173;if(_0x34828b['lineWrapping']){let _0x5861f1=_0x34828b['lineBlockAt'](_0x37d698['head']),_0x1bab8b=_0x34828b['coordsAtPos'](_0x37d698['head'],_0x37d698['assoc']||0x1);_0x1bab8b&&(_0x1dc173=_0x5861f1['bottom']+_0x34828b['documentTop']-_0x1bab8b['bottom']+_0x34828b['defaultLineHeight']/0x2);}return _0x34828b['moveVertically'](_0x37d698,!0x0,_0x1dc173);})['map'](_0x2c4588);return _0x34828b['dispatch']({'changes':_0x2c4588,'selection':_0x39335d,'scrollIntoView':!0x0,'userEvent':'delete.line'}),!0x0;};function isBetweenBrackets(_0x4f7aa7,_0x4cedc3){if(/\(\)|\[\]|\{\}/['test'](_0x4f7aa7['sliceDoc'](_0x4cedc3-0x1,_0x4cedc3+0x1)))return{'from':_0x4cedc3,'to':_0x4cedc3};let _0x3970e5,_0x533fd9=syntaxTree(_0x4f7aa7)['resolveInner'](_0x4cedc3),_0x3769b2=_0x533fd9['childBefore'](_0x4cedc3),_0xf618be=_0x533fd9['childAfter'](_0x4cedc3);return _0x3769b2&&_0xf618be&&_0x3769b2['to']<=_0x4cedc3&&_0xf618be['from']>=_0x4cedc3&&(_0x3970e5=_0x3769b2['type']['prop'](_0x4ee311['closedBy']))&&_0x3970e5['indexOf'](_0xf618be['name'])>-0x1&&_0x4f7aa7['doc']['lineAt'](_0x3769b2['to'])['from']==_0x4f7aa7['doc']['lineAt'](_0xf618be['from'])['from']&&!/\S/['test'](_0x4f7aa7['sliceDoc'](_0x3769b2['to'],_0xf618be['from']))?{'from':_0x3769b2['to'],'to':_0xf618be['from']}:null;}const insertNewlineAndIndent=newlineAndIndent(!0x1),insertBlankLine=newlineAndIndent(!0x0);function newlineAndIndent(_0x1e996c){return({state:_0x11a6d2,dispatch:_0x58b0f3})=>{if(_0x11a6d2['readOnly'])return!0x1;let _0x2bd0ea=_0x11a6d2['changeByRange'](_0x4d17db=>{let {from:_0x1d29da,to:_0x579d3d}=_0x4d17db,_0x23e97b=_0x11a6d2['doc']['lineAt'](_0x1d29da),_0x40afed=!_0x1e996c&&_0x1d29da==_0x579d3d&&isBetweenBrackets(_0x11a6d2,_0x1d29da);_0x1e996c&&(_0x1d29da=_0x579d3d=(_0x579d3d<=_0x23e97b['to']?_0x23e97b:_0x11a6d2['doc']['lineAt'](_0x579d3d))['to']);let _0x3a66b5=new IndentContext(_0x11a6d2,{'simulateBreak':_0x1d29da,'simulateDoubleBreak':!!_0x40afed}),_0x5dbf58=getIndentation(_0x3a66b5,_0x1d29da);for(null==_0x5dbf58&&(_0x5dbf58=countColumn(/^\s*/['exec'](_0x11a6d2['doc']['lineAt'](_0x1d29da)['text'])[0x0],_0x11a6d2['tabSize']));_0x579d3d<_0x23e97b['to']&&/\s/['test'](_0x23e97b['text'][_0x579d3d-_0x23e97b['from']]);)_0x579d3d++;_0x40afed?{from:_0x1d29da,to:_0x579d3d}=_0x40afed:_0x1d29da>_0x23e97b['from']&&_0x1d29da<_0x23e97b['from']+0x64&&!/\S/['test'](_0x23e97b['text']['slice'](0x0,_0x1d29da))&&(_0x1d29da=_0x23e97b['from']);let _0x25984a=['',indentString(_0x11a6d2,_0x5dbf58)];return _0x40afed&&_0x25984a['push'](indentString(_0x11a6d2,_0x3a66b5['lineIndent'](_0x23e97b['from'],-0x1))),{'changes':{'from':_0x1d29da,'to':_0x579d3d,'insert':Text['of'](_0x25984a)},'range':EditorSelection['cursor'](_0x1d29da+0x1+_0x25984a[0x1]['length'])};});return _0x58b0f3(_0x11a6d2['update'](_0x2bd0ea,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;};}function changeBySelectedLine(_0x162243,_0x494397){let _0x4eb9fa=-0x1;return _0x162243['changeByRange'](_0x4bde03=>{let _0x236a62=[];for(let _0xb9e934=_0x4bde03['from'];_0xb9e934<=_0x4bde03['to'];){let _0x8f8524=_0x162243['doc']['lineAt'](_0xb9e934);_0x8f8524['number']>_0x4eb9fa&&(_0x4bde03['empty']||_0x4bde03['to']>_0x8f8524['from'])&&(_0x494397(_0x8f8524,_0x236a62,_0x4bde03),_0x4eb9fa=_0x8f8524['number']),_0xb9e934=_0x8f8524['to']+0x1;}let _0x495a5e=_0x162243['changes'](_0x236a62);return{'changes':_0x236a62,'range':EditorSelection['range'](_0x495a5e['mapPos'](_0x4bde03['anchor'],0x1),_0x495a5e['mapPos'](_0x4bde03['head'],0x1))};});}const indentSelection=({state:_0x404966,dispatch:_0x2ce84d})=>{if(_0x404966['readOnly'])return!0x1;let _0xdc8120=Object['create'](null),_0x1e8be4=new IndentContext(_0x404966,{'overrideIndentation':_0x236a3c=>{let _0x3d65de=_0xdc8120[_0x236a3c];return null==_0x3d65de?-0x1:_0x3d65de;}}),_0x4eb8ee=changeBySelectedLine(_0x404966,(_0x3eec75,_0x4f58fb,_0x9fc395)=>{let _0x2cb10d=getIndentation(_0x1e8be4,_0x3eec75['from']);if(null==_0x2cb10d)return;/\S/['test'](_0x3eec75['text'])||(_0x2cb10d=0x0);let _0x53c7ac=/^\s*/['exec'](_0x3eec75['text'])[0x0],_0x27c7e6=indentString(_0x404966,_0x2cb10d);(_0x53c7ac!=_0x27c7e6||_0x9fc395['from']<_0x3eec75['from']+_0x53c7ac['length'])&&(_0xdc8120[_0x3eec75['from']]=_0x2cb10d,_0x4f58fb['push']({'from':_0x3eec75['from'],'to':_0x3eec75['from']+_0x53c7ac['length'],'insert':_0x27c7e6}));});return _0x4eb8ee['changes']['empty']||_0x2ce84d(_0x404966['update'](_0x4eb8ee,{'userEvent':'indent'})),!0x0;},indentMore=({state:_0x537cbf,dispatch:_0x10b951})=>!_0x537cbf['readOnly']&&(_0x10b951(_0x537cbf['update'](changeBySelectedLine(_0x537cbf,(_0x2f46fd,_0x1f6314)=>{_0x1f6314['push']({'from':_0x2f46fd['from'],'insert':_0x537cbf['facet'](indentUnit)});}),{'userEvent':'input.indent'})),!0x0),indentLess=({state:_0x26f0d4,dispatch:_0x5bd740})=>!_0x26f0d4['readOnly']&&(_0x5bd740(_0x26f0d4['update'](changeBySelectedLine(_0x26f0d4,(_0x24b93c,_0x17d749)=>{let _0x4f9543=/^\s*/['exec'](_0x24b93c['text'])[0x0];if(!_0x4f9543)return;let _0x2133bd=countColumn(_0x4f9543,_0x26f0d4['tabSize']),_0x59dadb=0x0,_0x57db2a=indentString(_0x26f0d4,Math['max'](0x0,_0x2133bd-getIndentUnit(_0x26f0d4)));for(;_0x59dadb<_0x4f9543['length']&&_0x59dadb<_0x57db2a['length']&&_0x4f9543['charCodeAt'](_0x59dadb)==_0x57db2a['charCodeAt'](_0x59dadb);)_0x59dadb++;_0x17d749['push']({'from':_0x24b93c['from']+_0x59dadb,'to':_0x24b93c['from']+_0x4f9543['length'],'insert':_0x57db2a['slice'](_0x59dadb)});}),{'userEvent':'delete.dedent'})),!0x0),toggleTabFocusMode=_0x418306=>(_0x418306['setTabFocusMode'](),!0x0),emacsStyleKeymap=[{'key':'Ctrl-b','run':cursorCharLeft,'shift':selectCharLeft,'preventDefault':!0x0},{'key':'Ctrl-f','run':cursorCharRight,'shift':selectCharRight},{'key':'Ctrl-p','run':_0x1898a7,'shift':selectLineUp},{'key':'Ctrl-n','run':_0x26f570,'shift':selectLineDown},{'key':'Ctrl-a','run':cursorLineStart,'shift':selectLineStart},{'key':'Ctrl-e','run':_0x790e8d,'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':_0x3c1e64}],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':_0x1898a7,'shift':selectLineUp,'preventDefault':!0x0},{'mac':'Cmd-ArrowUp','run':cursorDocStart,'shift':selectDocStart},{'mac':'Ctrl-ArrowUp','run':_0xe87065,'shift':selectPageUp},{'key':'ArrowDown','run':_0x26f570,'shift':selectLineDown,'preventDefault':!0x0},{'mac':'Cmd-ArrowDown','run':_0x345f0c,'shift':selectDocEnd},{'mac':'Ctrl-ArrowDown','run':_0x3c1e64,'shift':selectPageDown},{'key':'PageUp','run':_0xe87065,'shift':selectPageUp},{'key':'PageDown','run':_0x3c1e64,'shift':selectPageDown},{'key':'Home','run':_0x51a881,'shift':selectLineBoundaryBackward,'preventDefault':!0x0},{'key':'Mod-Home','run':cursorDocStart,'shift':selectDocStart},{'key':'End','run':_0x47d0db,'shift':selectLineBoundaryForward,'preventDefault':!0x0},{'key':'Mod-End','run':_0x345f0c,'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'](_0x8c795c=>({'mac':_0x8c795c['key'],'run':_0x8c795c['run'],'shift':_0x8c795c['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':_0x30bba9},{'key':'Shift-Alt-ArrowUp','run':_0x255ab4},{'key':'Alt-ArrowDown','run':_0x5a40e5},{'key':'Shift-Alt-ArrowDown','run':_0x46d403},{'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(_0x5a5465,_0x40a204,_0x5d8256,_0x3fbb18){this['state']=_0x5a5465,this['pos']=_0x40a204,this['explicit']=_0x5d8256,this['view']=_0x3fbb18,this['abortListeners']=[],this['abortOnDocChange']=!0x1;}['tokenBefore'](_0x4bb0dc){let _0x37d4b3=syntaxTree(this['state'])['resolveInner'](this['pos'],-0x1);for(;_0x37d4b3&&_0x4bb0dc['indexOf'](_0x37d4b3['name'])<0x0;)_0x37d4b3=_0x37d4b3['parent'];return _0x37d4b3?{'from':_0x37d4b3['from'],'to':this['pos'],'text':this['state']['sliceDoc'](_0x37d4b3['from'],this['pos']),'type':_0x37d4b3['type']}:null;}['matchBefore'](_0x4d8ac5){let _0x3698ea=this['state']['doc']['lineAt'](this['pos']),_0x59a94d=Math['max'](_0x3698ea['from'],this['pos']-0xfa),_0x4ac882=_0x3698ea['text']['slice'](_0x59a94d-_0x3698ea['from'],this['pos']-_0x3698ea['from']),_0x26aa94=_0x4ac882['search'](_0x561d61(_0x4d8ac5,!0x1));return _0x26aa94<0x0?null:{'from':_0x59a94d+_0x26aa94,'to':this['pos'],'text':_0x4ac882['slice'](_0x26aa94)};}get['aborted'](){return null==this['abortListeners'];}['addEventListener'](_0x3c240d,_0x287912,_0x12f3a7){'abort'==_0x3c240d&&this['abortListeners']&&(this['abortListeners']['push'](_0x287912),_0x12f3a7&&_0x12f3a7['onDocChange']&&(this['abortOnDocChange']=!0x0));}}function toSet(_0x238254){let _0x50894c=Object['keys'](_0x238254)['join'](''),_0x1c1030=/\w/['test'](_0x50894c);return _0x1c1030&&(_0x50894c=_0x50894c['replace'](/\w/g,'')),'['+(_0x1c1030?'\x5cw':'')+_0x50894c['replace'](/[^\w\s]/g,'\x5c$&')+']';}function prefixMatch(_0x4986af){let _0x5ed0da=Object['create'](null),_0xe9d910=Object['create'](null);for(let {label:_0x4abe6d}of _0x4986af){_0x5ed0da[_0x4abe6d[0x0]]=!0x0;for(let _0x1bfb4d=0x1;_0x1bfb4d<_0x4abe6d['length'];_0x1bfb4d++)_0xe9d910[_0x4abe6d[_0x1bfb4d]]=!0x0;}let _0x4a9c79=toSet(_0x5ed0da)+toSet(_0xe9d910)+'*$';return[new RegExp('^'+_0x4a9c79),new RegExp(_0x4a9c79)];}function completeFromList(_0x3af449){let _0x3984c7=_0x3af449['map'](_0x4aee3a=>'string'==typeof _0x4aee3a?{'label':_0x4aee3a}:_0x4aee3a),[_0x17c6de,_0x6fcc99]=_0x3984c7['every'](_0x451a71=>/^\w+$/['test'](_0x451a71['label']))?[/\w*$/,/\w+$/]:prefixMatch(_0x3984c7);return _0x3160e6=>{let _0x5ce026=_0x3160e6['matchBefore'](_0x6fcc99);return _0x5ce026||_0x3160e6['explicit']?{'from':_0x5ce026?_0x5ce026['from']:_0x3160e6['pos'],'options':_0x3984c7,'validFor':_0x17c6de}:null;};}function ifNotIn(_0x49739b,_0x2e31a1){return _0x1aef9d=>{for(let _0x1658c5=syntaxTree(_0x1aef9d['state'])['resolveInner'](_0x1aef9d['pos'],-0x1);_0x1658c5;_0x1658c5=_0x1658c5['parent']){if(_0x49739b['indexOf'](_0x1658c5['name'])>-0x1)return null;if(_0x1658c5['type']['isTop'])break;}return _0x2e31a1(_0x1aef9d);};}class Option{constructor(_0x28ec28,_0xb2a9af,_0x39ff7e,_0x4fc1ef){this['completion']=_0x28ec28,this['source']=_0xb2a9af,this['match']=_0x39ff7e,this['score']=_0x4fc1ef;}}function _0x32f6ea(_0x1e09c0){return _0x1e09c0['selection']['main']['from'];}function _0x561d61(_0x337c47,_0x4d1ca8){var _0x5a96ff;let {source:_0x4e0d56}=_0x337c47,_0x29d6ee=_0x4d1ca8&&'^'!=_0x4e0d56[0x0],_0x102a29='$'!=_0x4e0d56[_0x4e0d56['length']-0x1];return _0x29d6ee||_0x102a29?new RegExp((_0x29d6ee?'^':'')+'(?:'+_0x4e0d56+')'+(_0x102a29?'$':''),null!==(_0x5a96ff=_0x337c47['flags'])&&void 0x0!==_0x5a96ff?_0x5a96ff:_0x337c47['ignoreCase']?'i':''):_0x337c47;}const pickedCompletion=Annotation['define']();function insertCompletionText(_0x32563c,_0x57d000,_0xb50098,_0x43a192){let {main:_0x37ec73}=_0x32563c['selection'],_0x5b4584=_0xb50098-_0x37ec73['from'],_0x5a1734=_0x43a192-_0x37ec73['from'];return{..._0x32563c['changeByRange'](_0x1d7425=>{if(_0x1d7425!=_0x37ec73&&_0xb50098!=_0x43a192&&_0x32563c['sliceDoc'](_0x1d7425['from']+_0x5b4584,_0x1d7425['from']+_0x5a1734)!=_0x32563c['sliceDoc'](_0xb50098,_0x43a192))return{'range':_0x1d7425};let _0x5ba410=_0x32563c['toText'](_0x57d000);return{'changes':{'from':_0x1d7425['from']+_0x5b4584,'to':_0x43a192==_0x37ec73['from']?_0x1d7425['to']:_0x1d7425['from']+_0x5a1734,'insert':_0x5ba410},'range':EditorSelection['cursor'](_0x1d7425['from']+_0x5b4584+_0x5ba410['length'])};}),'scrollIntoView':!0x0,'userEvent':'input.complete'};}const _0x2c76be=new WeakMap();function _0x15c4b2(_0x41e202){if(!Array['isArray'](_0x41e202))return _0x41e202;let _0x522c5d=_0x2c76be['get'](_0x41e202);return _0x522c5d||_0x2c76be['set'](_0x41e202,_0x522c5d=completeFromList(_0x41e202)),_0x522c5d;}const startCompletionEffect=StateEffect['define'](),closeCompletionEffect=StateEffect['define']();class FuzzyMatcher{constructor(_0x4ea136){this['pattern']=_0x4ea136,this['chars']=[],this['folded']=[],this['any']=[],this['precise']=[],this['byWord']=[],this['score']=0x0,this['matched']=[];for(let _0x59ec57=0x0;_0x59ec57<_0x4ea136['length'];){let _0x569def=codePointAt(_0x4ea136,_0x59ec57),_0x36ae4c=codePointSize(_0x569def);this['chars']['push'](_0x569def);let _0x34cae5=_0x4ea136['slice'](_0x59ec57,_0x59ec57+_0x36ae4c),_0x276b2e=_0x34cae5['toUpperCase']();this['folded']['push'](codePointAt(_0x276b2e==_0x34cae5?_0x34cae5['toLowerCase']():_0x276b2e,0x0)),_0x59ec57+=_0x36ae4c;}this['astral']=_0x4ea136['length']!=this['chars']['length'];}['ret'](_0x24d319,_0x1dd590){return this['score']=_0x24d319,this['matched']=_0x1dd590,this;}['match'](_0x18b318){if(0x0==this['pattern']['length'])return this['ret'](-0x64,[]);if(_0x18b318['length']<this['pattern']['length'])return null;let {chars:_0x1b5da0,folded:_0x410d7a,any:_0x539e8d,precise:_0x37c6c5,byWord:_0x2ae111}=this;if(0x1==_0x1b5da0['length']){let _0x1f0956=codePointAt(_0x18b318,0x0),_0x4fe96a=codePointSize(_0x1f0956),_0x442ede=_0x4fe96a==_0x18b318['length']?0x0:-0x64;if(_0x1f0956==_0x1b5da0[0x0]);else{if(_0x1f0956!=_0x410d7a[0x0])return null;_0x442ede+=-0xc8;}return this['ret'](_0x442ede,[0x0,_0x4fe96a]);}let _0x496df8=_0x18b318['indexOf'](this['pattern']);if(0x0==_0x496df8)return this['ret'](_0x18b318['length']==this['pattern']['length']?0x0:-0x64,[0x0,this['pattern']['length']]);let _0x5b93d5=_0x1b5da0['length'],_0x3b1f27=0x0;if(_0x496df8<0x0){for(let _0x4de435=0x0,_0x41a431=Math['min'](_0x18b318['length'],0xc8);_0x4de435<_0x41a431&&_0x3b1f27<_0x5b93d5;){let _0x1c345e=codePointAt(_0x18b318,_0x4de435);_0x1c345e!=_0x1b5da0[_0x3b1f27]&&_0x1c345e!=_0x410d7a[_0x3b1f27]||(_0x539e8d[_0x3b1f27++]=_0x4de435),_0x4de435+=codePointSize(_0x1c345e);}if(_0x3b1f27<_0x5b93d5)return null;}let _0x3f8c2b=0x0,_0x275910=0x0,_0x4c2162=!0x1,_0x3a78b5=0x0,_0x41506d=-0x1,_0x3a4681=-0x1,_0x31fd78=/[a-z]/['test'](_0x18b318),_0x2daf96=!0x0;for(let _0x346899=0x0,_0x40b01e=Math['min'](_0x18b318['length'],0xc8),_0x17085a=0x0;_0x346899<_0x40b01e&&_0x275910<_0x5b93d5;){let _0x5949e7=codePointAt(_0x18b318,_0x346899);_0x496df8<0x0&&(_0x3f8c2b<_0x5b93d5&&_0x5949e7==_0x1b5da0[_0x3f8c2b]&&(_0x37c6c5[_0x3f8c2b++]=_0x346899),_0x3a78b5<_0x5b93d5&&(_0x5949e7==_0x1b5da0[_0x3a78b5]||_0x5949e7==_0x410d7a[_0x3a78b5]?(0x0==_0x3a78b5&&(_0x41506d=_0x346899),_0x3a4681=_0x346899+0x1,_0x3a78b5++):_0x3a78b5=0x0));let _0x403056,_0x226256=_0x5949e7<0xff?_0x5949e7>=0x30&&_0x5949e7<=0x39||_0x5949e7>=0x61&&_0x5949e7<=0x7a?0x2:_0x5949e7>=0x41&&_0x5949e7<=0x5a?0x1:0x0:(_0x403056=fromCodePoint(_0x5949e7))!=_0x403056['toLowerCase']()?0x1:_0x403056!=_0x403056['toUpperCase']()?0x2:0x0;(!_0x346899||0x1==_0x226256&&_0x31fd78||0x0==_0x17085a&&0x0!=_0x226256)&&(_0x1b5da0[_0x275910]==_0x5949e7||_0x410d7a[_0x275910]==_0x5949e7&&(_0x4c2162=!0x0)?_0x2ae111[_0x275910++]=_0x346899:_0x2ae111['length']&&(_0x2daf96=!0x1)),_0x17085a=_0x226256,_0x346899+=codePointSize(_0x5949e7);}return _0x275910==_0x5b93d5&&0x0==_0x2ae111[0x0]&&_0x2daf96?this['result']((_0x4c2162?-0xc8:0x0)-0x64,_0x2ae111,_0x18b318):_0x3a78b5==_0x5b93d5&&0x0==_0x41506d?this['ret'](-0xc8-_0x18b318['length']+(_0x3a4681==_0x18b318['length']?0x0:-0x64),[0x0,_0x3a4681]):_0x496df8>-0x1?this['ret'](-0x2bc-_0x18b318['length'],[_0x496df8,_0x496df8+this['pattern']['length']]):_0x3a78b5==_0x5b93d5?this['ret'](-0x384-_0x18b318['length'],[_0x41506d,_0x3a4681]):_0x275910==_0x5b93d5?this['result']((_0x4c2162?-0xc8:0x0)-0x64-0x2bc+(_0x2daf96?0x0:-0x44c),_0x2ae111,_0x18b318):0x2==_0x1b5da0['length']?null:this['result']((_0x539e8d[0x0]?-0x2bc:0x0)-0xc8-0x44c,_0x539e8d,_0x18b318);}['result'](_0x4f5e1f,_0x3b5ea6,_0xb44f73){let _0x4a2ebf=[],_0x36abc5=0x0;for(let _0x3fafea of _0x3b5ea6){let _0x31a5e1=_0x3fafea+(this['astral']?codePointSize(codePointAt(_0xb44f73,_0x3fafea)):0x1);_0x36abc5&&_0x4a2ebf[_0x36abc5-0x1]==_0x3fafea?_0x4a2ebf[_0x36abc5-0x1]=_0x31a5e1:(_0x4a2ebf[_0x36abc5++]=_0x3fafea,_0x4a2ebf[_0x36abc5++]=_0x31a5e1);}return this['ret'](_0x4f5e1f-_0xb44f73['length'],_0x4a2ebf);}}class StrictMatcher{constructor(_0x51e779){this['pattern']=_0x51e779,this['matched']=[],this['score']=0x0,this['folded']=_0x51e779['toLowerCase']();}['match'](_0x2c8fa7){if(_0x2c8fa7['length']<this['pattern']['length'])return null;let _0x41be1d=_0x2c8fa7['slice'](0x0,this['pattern']['length']),_0x26e191=_0x41be1d==this['pattern']?0x0:_0x41be1d['toLowerCase']()==this['folded']?-0xc8:null;return null==_0x26e191?null:(this['matched']=[0x0,_0x41be1d['length']],this['score']=_0x26e191+(_0x2c8fa7['length']==this['pattern']['length']?0x0:-0x64),this);}}const completionConfig=Facet['define']({'combine':_0x51b89f=>_0x2aed34(_0x51b89f,{'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':(_0x11a8c4,_0x1eebb9)=>_0x11a8c4['label']['localeCompare'](_0x1eebb9['label']),'interactionDelay':0x4b,'updateSyncTime':0x64},{'defaultKeymap':(_0x2d1a77,_0x175efa)=>_0x2d1a77&&_0x175efa,'closeOnBlur':(_0x492eb0,_0x1e1335)=>_0x492eb0&&_0x1e1335,'icons':(_0x16ab85,_0xc64017)=>_0x16ab85&&_0xc64017,'tooltipClass':(_0x33bc51,_0x223d5f)=>_0x168ab9=>_0x45b894(_0x33bc51(_0x168ab9),_0x223d5f(_0x168ab9)),'optionClass':(_0x3dcee2,_0x15dca8)=>_0x16b5fd=>_0x45b894(_0x3dcee2(_0x16b5fd),_0x15dca8(_0x16b5fd)),'addToOptions':(_0x330f13,_0x142c37)=>_0x330f13['concat'](_0x142c37),'filterStrict':(_0x51dfd,_0x5e9879)=>_0x51dfd||_0x5e9879})});function _0x45b894(_0x5ba2c7,_0x4c880a){return _0x5ba2c7?_0x4c880a?_0x5ba2c7+'\x20'+_0x4c880a:_0x5ba2c7:_0x4c880a;}function defaultPositionInfo(_0x5589a4,_0x38a9e3,_0xd0e5a3,_0x4eb2d4,_0x16e080,_0x34e232){let _0x499e9a,_0x45592c,_0x21bb19=_0x5589a4['textDirection']==Direction['RTL'],_0x27a127=_0x21bb19,_0x18f562=!0x1,_0x27c93c='top',_0x20e64d=_0x38a9e3['left']-_0x16e080['left'],_0x233e12=_0x16e080['right']-_0x38a9e3['right'],_0x287eb0=_0x4eb2d4['right']-_0x4eb2d4['left'],_0x4def34=_0x4eb2d4['bottom']-_0x4eb2d4['top'];if(_0x27a127&&_0x20e64d<Math['min'](_0x287eb0,_0x233e12)?_0x27a127=!0x1:!_0x27a127&&_0x233e12<Math['min'](_0x287eb0,_0x20e64d)&&(_0x27a127=!0x0),_0x287eb0<=(_0x27a127?_0x20e64d:_0x233e12))_0x499e9a=Math['max'](_0x16e080['top'],Math['min'](_0xd0e5a3['top'],_0x16e080['bottom']-_0x4def34))-_0x38a9e3['top'],_0x45592c=Math['min'](0x190,_0x27a127?_0x20e64d:_0x233e12);else{_0x18f562=!0x0,_0x45592c=Math['min'](0x190,(_0x21bb19?_0x38a9e3['right']:_0x16e080['right']-_0x38a9e3['left'])-0x1e);let _0x3938e8=_0x16e080['bottom']-_0x38a9e3['bottom'];_0x3938e8>=_0x4def34||_0x3938e8>_0x38a9e3['top']?_0x499e9a=_0xd0e5a3['bottom']-_0x38a9e3['top']:(_0x27c93c='bottom',_0x499e9a=_0x38a9e3['bottom']-_0xd0e5a3['top']);}return{'style':_0x27c93c+':\x20'+_0x499e9a/((_0x38a9e3['bottom']-_0x38a9e3['top'])/_0x34e232['offsetHeight'])+'px;\x20max-width:\x20'+_0x45592c/((_0x38a9e3['right']-_0x38a9e3['left'])/_0x34e232['offsetWidth'])+'px','class':'cm-completionInfo-'+(_0x18f562?_0x21bb19?'left-narrow':'right-narrow':_0x27a127?'left':'right')};}function optionContent(_0x569ac1){let _0x653bfe=_0x569ac1['addToOptions']['slice']();return _0x569ac1['icons']&&_0x653bfe['push']({'render'(_0x36f71b){let _0x4faf53=document['createElement']('div');return _0x4faf53['classList']['add']('cm-completionIcon'),_0x36f71b['type']&&_0x4faf53['classList']['add'](..._0x36f71b['type']['split'](/\s+/g)['map'](_0x2aa154=>'cm-completionIcon-'+_0x2aa154)),_0x4faf53['setAttribute']('aria-hidden','true'),_0x4faf53;},'position':0x14}),_0x653bfe['push']({'render'(_0x54b493,_0x51ae98,_0x4ec9a3,_0x48c893){let _0x32ca12=document['createElement']('span');_0x32ca12['className']='cm-completionLabel';let _0xb36de=_0x54b493['displayLabel']||_0x54b493['label'],_0x5d0d2e=0x0;for(let _0x417be9=0x0;_0x417be9<_0x48c893['length'];){let _0x100f37=_0x48c893[_0x417be9++],_0x2f6587=_0x48c893[_0x417be9++];_0x100f37>_0x5d0d2e&&_0x32ca12['appendChild'](document['createTextNode'](_0xb36de['slice'](_0x5d0d2e,_0x100f37)));let _0x589179=_0x32ca12['appendChild'](document['createElement']('span'));_0x589179['appendChild'](document['createTextNode'](_0xb36de['slice'](_0x100f37,_0x2f6587))),_0x589179['className']='cm-completionMatchedText',_0x5d0d2e=_0x2f6587;}return _0x5d0d2e<_0xb36de['length']&&_0x32ca12['appendChild'](document['createTextNode'](_0xb36de['slice'](_0x5d0d2e))),_0x32ca12;},'position':0x32},{'render'(_0x5716e1){if(!_0x5716e1['detail'])return null;let _0x289736=document['createElement']('span');return _0x289736['className']='cm-completionDetail',_0x289736['textContent']=_0x5716e1['detail'],_0x289736;},'position':0x50}),_0x653bfe['sort']((_0x5b2fa2,_0x239a4d)=>_0x5b2fa2['position']-_0x239a4d['position'])['map'](_0x3a23e9=>_0x3a23e9['render']);}function rangeAroundSelected(_0x238683,_0xb4b82e,_0x4f1a5d){if(_0x238683<=_0x4f1a5d)return{'from':0x0,'to':_0x238683};if(_0xb4b82e<0x0&&(_0xb4b82e=0x0),_0xb4b82e<=_0x238683>>0x1){let _0x3f4902=Math['floor'](_0xb4b82e/_0x4f1a5d);return{'from':_0x3f4902*_0x4f1a5d,'to':(_0x3f4902+0x1)*_0x4f1a5d};}let _0x26c376=Math['floor']((_0x238683-_0xb4b82e)/_0x4f1a5d);return{'from':_0x238683-(_0x26c376+0x1)*_0x4f1a5d,'to':_0x238683-_0x26c376*_0x4f1a5d};}class CompletionTooltip{constructor(_0x498d03,_0x23f37d,_0x1a58bb){this['view']=_0x498d03,this['stateField']=_0x23f37d,this['applyCompletion']=_0x1a58bb,this['info']=null,this['infoDestroy']=null,this['placeInfoReq']={'read':()=>this['measureInfo'](),'write':_0x223fd8=>this['placeInfo'](_0x223fd8),'key':this},this['space']=null,this['currentClass']='';let _0x359d0a=_0x498d03['state']['field'](_0x23f37d),{options:_0x24aa44,selected:_0x148944}=_0x359d0a['open'],_0x16fa93=_0x498d03['state']['facet'](completionConfig);this['optionContent']=optionContent(_0x16fa93),this['optionClass']=_0x16fa93['optionClass'],this['tooltipClass']=_0x16fa93['tooltipClass'],this['range']=rangeAroundSelected(_0x24aa44['length'],_0x148944,_0x16fa93['maxRenderedOptions']),this['dom']=document['createElement']('div'),this['dom']['className']='cm-tooltip-autocomplete',this['updateTooltipClass'](_0x498d03['state']),this['dom']['addEventListener']('mousedown',_0x2f86db=>{let {options:_0x2d6cac}=_0x498d03['state']['field'](_0x23f37d)['open'];for(let _0x568108,_0x2c89e8=_0x2f86db['target'];_0x2c89e8&&_0x2c89e8!=this['dom'];_0x2c89e8=_0x2c89e8['parentNode'])if('LI'==_0x2c89e8['nodeName']&&(_0x568108=/-(\d+)$/['exec'](_0x2c89e8['id']))&&+_0x568108[0x1]<_0x2d6cac['length'])return this['applyCompletion'](_0x498d03,_0x2d6cac[+_0x568108[0x1]]),void _0x2f86db['preventDefault']();}),this['dom']['addEventListener']('focusout',_0x241cf3=>{let _0x22c0d0=_0x498d03['state']['field'](this['stateField'],!0x1);_0x22c0d0&&_0x22c0d0['tooltip']&&_0x498d03['state']['facet'](completionConfig)['closeOnBlur']&&_0x241cf3['relatedTarget']!=_0x498d03['contentDOM']&&_0x498d03['dispatch']({'effects':closeCompletionEffect['of'](null)});}),this['showOptions'](_0x24aa44,_0x359d0a['id']);}['mount'](){this['updateSel']();}['showOptions'](_0x1a8146,_0x573f81){this['list']&&this['list']['remove'](),this['list']=this['dom']['appendChild'](this['createListBox'](_0x1a8146,_0x573f81,this['range'])),this['list']['addEventListener']('scroll',()=>{this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);});}['update'](_0xd64add){var _0x501ce9;let _0x16db4e=_0xd64add['state']['field'](this['stateField']),_0x80a01c=_0xd64add['startState']['field'](this['stateField']);if(this['updateTooltipClass'](_0xd64add['state']),_0x16db4e!=_0x80a01c){let {options:_0x3e6355,selected:_0x17c4f2,disabled:_0x411f1e}=_0x16db4e['open'];_0x80a01c['open']&&_0x80a01c['open']['options']==_0x3e6355||(this['range']=rangeAroundSelected(_0x3e6355['length'],_0x17c4f2,_0xd64add['state']['facet'](completionConfig)['maxRenderedOptions']),this['showOptions'](_0x3e6355,_0x16db4e['id'])),this['updateSel'](),_0x411f1e!=(null===(_0x501ce9=_0x80a01c['open'])||void 0x0===_0x501ce9?void 0x0:_0x501ce9['disabled'])&&this['dom']['classList']['toggle']('cm-tooltip-autocomplete-disabled',!!_0x411f1e);}}['updateTooltipClass'](_0x42b452){let _0x5a5556=this['tooltipClass'](_0x42b452);if(_0x5a5556!=this['currentClass']){for(let _0x501b55 of this['currentClass']['split']('\x20'))_0x501b55&&this['dom']['classList']['remove'](_0x501b55);for(let _0x4fe9b8 of _0x5a5556['split']('\x20'))_0x4fe9b8&&this['dom']['classList']['add'](_0x4fe9b8);this['currentClass']=_0x5a5556;}}['positioned'](_0x458137){this['space']=_0x458137,this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);}['updateSel'](){let _0x536845=this['view']['state']['field'](this['stateField']),_0x104f2a=_0x536845['open'];(_0x104f2a['selected']>-0x1&&_0x104f2a['selected']<this['range']['from']||_0x104f2a['selected']>=this['range']['to'])&&(this['range']=rangeAroundSelected(_0x104f2a['options']['length'],_0x104f2a['selected'],this['view']['state']['facet'](completionConfig)['maxRenderedOptions']),this['showOptions'](_0x104f2a['options'],_0x536845['id']));let _0x33a980=this['updateSelectedOption'](_0x104f2a['selected']);if(_0x33a980){this['destroyInfo']();let {completion:_0x2dd882}=_0x104f2a['options'][_0x104f2a['selected']],{info:_0x972beb}=_0x2dd882;if(!_0x972beb)return;let _0xf29156='string'==typeof _0x972beb?document['createTextNode'](_0x972beb):_0x972beb(_0x2dd882);if(!_0xf29156)return;'then'in _0xf29156?_0xf29156['then'](_0x1173ef=>{_0x1173ef&&this['view']['state']['field'](this['stateField'],!0x1)==_0x536845&&this['addInfoPane'](_0x1173ef,_0x2dd882);})['catch'](_0x4f3766=>logException(this['view']['state'],_0x4f3766,'completion\x20info')):(this['addInfoPane'](_0xf29156,_0x2dd882),_0x33a980['setAttribute']('aria-describedby',this['info']['id']));}}['addInfoPane'](_0x31ec22,_0x56fad9){this['destroyInfo']();let _0xa52ec5=this['info']=document['createElement']('div');if(_0xa52ec5['className']='cm-tooltip\x20cm-completionInfo',_0xa52ec5['id']='cm-completionInfo-'+Math['floor'](0xffff*Math['random']())['toString'](0x10),null!=_0x31ec22['nodeType'])_0xa52ec5['appendChild'](_0x31ec22),this['infoDestroy']=null;else{let {dom:_0x51be1e,destroy:_0x5443c2}=_0x31ec22;_0xa52ec5['appendChild'](_0x51be1e),this['infoDestroy']=_0x5443c2||null;}this['dom']['appendChild'](_0xa52ec5),this['view']['requestMeasure'](this['placeInfoReq']);}['updateSelectedOption'](_0x48ea24){let _0x480d5d=null;for(let _0x1a03dd=this['list']['firstChild'],_0x193b82=this['range']['from'];_0x1a03dd;_0x1a03dd=_0x1a03dd['nextSibling'],_0x193b82++)'LI'==_0x1a03dd['nodeName']&&_0x1a03dd['id']?_0x193b82==_0x48ea24?_0x1a03dd['hasAttribute']('aria-selected')||(_0x1a03dd['setAttribute']('aria-selected','true'),_0x480d5d=_0x1a03dd):_0x1a03dd['hasAttribute']('aria-selected')&&(_0x1a03dd['removeAttribute']('aria-selected'),_0x1a03dd['removeAttribute']('aria-describedby')):_0x193b82--;return _0x480d5d&&scrollIntoView(this['list'],_0x480d5d),_0x480d5d;}['measureInfo'](){let _0x3b3472=this['dom']['querySelector']('[aria-selected]');if(!_0x3b3472||!this['info'])return null;let _0x54147a=this['dom']['getBoundingClientRect'](),_0x453581=this['info']['getBoundingClientRect'](),_0xc07ae7=_0x3b3472['getBoundingClientRect'](),_0x3b217a=this['space'];if(!_0x3b217a){let _0x47e526=this['dom']['ownerDocument']['documentElement'];_0x3b217a={'left':0x0,'top':0x0,'right':_0x47e526['clientWidth'],'bottom':_0x47e526['clientHeight']};}return _0xc07ae7['top']>Math['min'](_0x3b217a['bottom'],_0x54147a['bottom'])-0xa||_0xc07ae7['bottom']<Math['max'](_0x3b217a['top'],_0x54147a['top'])+0xa?null:this['view']['state']['facet'](completionConfig)['positionInfo'](this['view'],_0x54147a,_0xc07ae7,_0x453581,_0x3b217a,this['dom']);}['placeInfo'](_0x448347){this['info']&&(_0x448347?(_0x448347['style']&&(this['info']['style']['cssText']=_0x448347['style']),this['info']['className']='cm-tooltip\x20cm-completionInfo\x20'+(_0x448347['class']||'')):this['info']['style']['cssText']='top:\x20-1e6px');}['createListBox'](_0x369dcc,_0x11bc84,_0x153467){const _0xa0575=document['createElement']('ul');_0xa0575['id']=_0x11bc84,_0xa0575['setAttribute']('role','listbox'),_0xa0575['setAttribute']('aria-expanded','true'),_0xa0575['setAttribute']('aria-label',this['view']['state']['phrase']('Completions')),_0xa0575['addEventListener']('mousedown',_0x14b746=>{_0x14b746['target']==_0xa0575&&_0x14b746['preventDefault']();});let _0x33e290=null;for(let _0x36a512=_0x153467['from'];_0x36a512<_0x153467['to'];_0x36a512++){let {completion:_0x462936,match:_0x2cd53b}=_0x369dcc[_0x36a512],{section:_0x5902b2}=_0x462936;if(_0x5902b2){let _0x4fe6c6='string'==typeof _0x5902b2?_0x5902b2:_0x5902b2['name'];if(_0x4fe6c6!=_0x33e290&&(_0x36a512>_0x153467['from']||0x0==_0x153467['from'])){if(_0x33e290=_0x4fe6c6,'string'!=typeof _0x5902b2&&_0x5902b2['header'])_0xa0575['appendChild'](_0x5902b2['header'](_0x5902b2));else _0xa0575['appendChild'](document['createElement']('completion-section'))['textContent']=_0x4fe6c6;}}const _0x57133d=_0xa0575['appendChild'](document['createElement']('li'));_0x57133d['id']=_0x11bc84+'-'+_0x36a512,_0x57133d['setAttribute']('role','option');let _0x7ad531=this['optionClass'](_0x462936);_0x7ad531&&(_0x57133d['className']=_0x7ad531);for(let _0x38b5c5 of this['optionContent']){let _0x536019=_0x38b5c5(_0x462936,this['view']['state'],this['view'],_0x2cd53b);_0x536019&&_0x57133d['appendChild'](_0x536019);}}return _0x153467['from']&&_0xa0575['classList']['add']('cm-completionListIncompleteTop'),_0x153467['to']<_0x369dcc['length']&&_0xa0575['classList']['add']('cm-completionListIncompleteBottom'),_0xa0575;}['destroyInfo'](){this['info']&&(this['infoDestroy']&&this['infoDestroy'](),this['info']['remove'](),this['info']=null);}['destroy'](){this['destroyInfo']();}}function completionTooltip(_0xefec5d,_0x44bee4){return _0x41e92e=>new CompletionTooltip(_0x41e92e,_0xefec5d,_0x44bee4);}function scrollIntoView(_0x2a11dd,_0x175fd8){let _0x5c4ff8=_0x2a11dd['getBoundingClientRect'](),_0x1e2995=_0x175fd8['getBoundingClientRect'](),_0xe3535b=_0x5c4ff8['height']/_0x2a11dd['offsetHeight'];_0x1e2995['top']<_0x5c4ff8['top']?_0x2a11dd['scrollTop']-=(_0x5c4ff8['top']-_0x1e2995['top'])/_0xe3535b:_0x1e2995['bottom']>_0x5c4ff8['bottom']&&(_0x2a11dd['scrollTop']+=(_0x1e2995['bottom']-_0x5c4ff8['bottom'])/_0xe3535b);}function _0x3867d3(_0x223167){return 0x64*(_0x223167['boost']||0x0)+(_0x223167['apply']?0xa:0x0)+(_0x223167['info']?0x5:0x0)+(_0x223167['type']?0x1:0x0);}function sortOptions(_0x29b72c,_0x5ce7a1){let _0x249588=[],_0x1fd821=null,_0x7724a=null,_0x3653ab=_0x1afbb3=>{_0x249588['push'](_0x1afbb3);let {section:_0x1ba1a8}=_0x1afbb3['completion'];if(_0x1ba1a8){_0x1fd821||(_0x1fd821=[]);let _0x34076b='string'==typeof _0x1ba1a8?_0x1ba1a8:_0x1ba1a8['name'];_0x1fd821['some'](_0x556786=>_0x556786['name']==_0x34076b)||_0x1fd821['push']('string'==typeof _0x1ba1a8?{'name':_0x34076b}:_0x1ba1a8);}},_0x1fbba4=_0x5ce7a1['facet'](completionConfig);for(let _0x54a200 of _0x29b72c)if(_0x54a200['hasResult']()){let _0x252e23=_0x54a200['result']['getMatch'];if(!0x1===_0x54a200['result']['filter']){for(let _0x20669a of _0x54a200['result']['options'])_0x3653ab(new Option(_0x20669a,_0x54a200['source'],_0x252e23?_0x252e23(_0x20669a):[],0x3b9aca00-_0x249588['length']));}else{let _0x2a44ae,_0x5d5a9d=_0x5ce7a1['sliceDoc'](_0x54a200['from'],_0x54a200['to']),_0x47b8e1=_0x1fbba4['filterStrict']?new StrictMatcher(_0x5d5a9d):new FuzzyMatcher(_0x5d5a9d);for(let _0x5ed211 of _0x54a200['result']['options'])if(_0x2a44ae=_0x47b8e1['match'](_0x5ed211['label'])){let _0x3e088f=_0x5ed211['displayLabel']?_0x252e23?_0x252e23(_0x5ed211,_0x2a44ae['matched']):[]:_0x2a44ae['matched'],_0x23e073=_0x2a44ae['score']+(_0x5ed211['boost']||0x0);if(_0x3653ab(new Option(_0x5ed211,_0x54a200['source'],_0x3e088f,_0x23e073)),'object'==typeof _0x5ed211['section']&&'dynamic'===_0x5ed211['section']['rank']){let {name:_0x5788b5}=_0x5ed211['section'];_0x7724a||(_0x7724a=Object['create'](null)),_0x7724a[_0x5788b5]=Math['max'](_0x23e073,_0x7724a[_0x5788b5]||-0x3b9aca00);}}}}if(_0x1fd821){let _0x55f601=Object['create'](null),_0x4cb39d=0x0,_0x1268cf=(_0x20b020,_0x35f2b7)=>('dynamic'===_0x20b020['rank']&&'dynamic'===_0x35f2b7['rank']?_0x7724a[_0x35f2b7['name']]-_0x7724a[_0x20b020['name']]:0x0)||('number'==typeof _0x20b020['rank']?_0x20b020['rank']:0x3b9aca00)-('number'==typeof _0x35f2b7['rank']?_0x35f2b7['rank']:0x3b9aca00)||(_0x20b020['name']<_0x35f2b7['name']?-0x1:0x1);for(let _0x1d5c67 of _0x1fd821['sort'](_0x1268cf))_0x4cb39d-=0x186a0,_0x55f601[_0x1d5c67['name']]=_0x4cb39d;for(let _0x360bc4 of _0x249588){let {section:_0xc46af6}=_0x360bc4['completion'];_0xc46af6&&(_0x360bc4['score']+=_0x55f601['string'==typeof _0xc46af6?_0xc46af6:_0xc46af6['name']]);}}let _0x52ecee=[],_0x247a10=null,_0x393065=_0x1fbba4['compareCompletions'];for(let _0x521b99 of _0x249588['sort']((_0x32a372,_0x44bf32)=>_0x44bf32['score']-_0x32a372['score']||_0x393065(_0x32a372['completion'],_0x44bf32['completion']))){let _0x59f62d=_0x521b99['completion'];!_0x247a10||_0x247a10['label']!=_0x59f62d['label']||_0x247a10['detail']!=_0x59f62d['detail']||null!=_0x247a10['type']&&null!=_0x59f62d['type']&&_0x247a10['type']!=_0x59f62d['type']||_0x247a10['apply']!=_0x59f62d['apply']||_0x247a10['boost']!=_0x59f62d['boost']?_0x52ecee['push'](_0x521b99):_0x3867d3(_0x521b99['completion'])>_0x3867d3(_0x247a10)&&(_0x52ecee[_0x52ecee['length']-0x1]=_0x521b99),_0x247a10=_0x521b99['completion'];}return _0x52ecee;}class CompletionDialog{constructor(_0xce7471,_0xd9cd67,_0x40d5e0,_0x48e204,_0x12b01a,_0x2a24f0){this['options']=_0xce7471,this['attrs']=_0xd9cd67,this['tooltip']=_0x40d5e0,this['timestamp']=_0x48e204,this['selected']=_0x12b01a,this['disabled']=_0x2a24f0;}['setSelected'](_0x195452,_0x4251fa){return _0x195452==this['selected']||_0x195452>=this['options']['length']?this:new CompletionDialog(this['options'],makeAttrs(_0x4251fa,_0x195452),this['tooltip'],this['timestamp'],_0x195452,this['disabled']);}static['build'](_0xf87721,_0x50b1ba,_0x42941a,_0xf52b9c,_0x2bdce9,_0xddfd89){if(_0xf52b9c&&!_0xddfd89&&_0xf87721['some'](_0x2788a9=>_0x2788a9['isPending']))return _0xf52b9c['setDisabled']();let _0x63513e=sortOptions(_0xf87721,_0x50b1ba);if(!_0x63513e['length'])return _0xf52b9c&&_0xf87721['some'](_0xc8a414=>_0xc8a414['isPending'])?_0xf52b9c['setDisabled']():null;let _0x24e0d0=_0x50b1ba['facet'](completionConfig)['selectOnOpen']?0x0:-0x1;if(_0xf52b9c&&_0xf52b9c['selected']!=_0x24e0d0&&-0x1!=_0xf52b9c['selected']){let _0x1d9924=_0xf52b9c['options'][_0xf52b9c['selected']]['completion'];for(let _0x44e6d6=0x0;_0x44e6d6<_0x63513e['length'];_0x44e6d6++)if(_0x63513e[_0x44e6d6]['completion']==_0x1d9924){_0x24e0d0=_0x44e6d6;break;}}return new CompletionDialog(_0x63513e,makeAttrs(_0x42941a,_0x24e0d0),{'pos':_0xf87721['reduce']((_0x48e1df,_0x1ad724)=>_0x1ad724['hasResult']()?Math['min'](_0x48e1df,_0x1ad724['from']):_0x48e1df,0x5f5e100),'create':createTooltip,'above':_0x2bdce9['aboveCursor']},_0xf52b9c?_0xf52b9c['timestamp']:Date['now'](),_0x24e0d0,!0x1);}['map'](_0xc0a466){return new CompletionDialog(this['options'],this['attrs'],{...this['tooltip'],'pos':_0xc0a466['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(_0xa4c94,_0x57c91a,_0x124831){this['active']=_0xa4c94,this['id']=_0x57c91a,this['open']=_0x124831;}static['start'](){return new CompletionState(_0x436742,'cm-ac-'+Math['floor'](0x1e8480*Math['random']())['toString'](0x24),null);}['update'](_0x1ddf5e){let {state:_0x460284}=_0x1ddf5e,_0x5f3f4f=_0x460284['facet'](completionConfig),_0x24ece0=(_0x5f3f4f['override']||_0x460284['languageDataAt']('autocomplete',_0x32f6ea(_0x460284))['map'](_0x15c4b2))['map'](_0x21930f=>{let _0x1c5767=this['active']['find'](_0x14028a=>_0x14028a['source']==_0x21930f)||new ActiveSource(_0x21930f,this['active']['some'](_0x2dac94=>0x0!=_0x2dac94['state'])?0x1:0x0);return _0x1c5767['update'](_0x1ddf5e,_0x5f3f4f);});_0x24ece0['length']==this['active']['length']&&_0x24ece0['every']((_0x15062f,_0x3f2c20)=>_0x15062f==this['active'][_0x3f2c20])&&(_0x24ece0=this['active']);let _0x14f882=this['open'],_0x3c2279=_0x1ddf5e['effects']['some'](_0x14b643=>_0x14b643['is'](setActiveEffect));_0x14f882&&_0x1ddf5e['docChanged']&&(_0x14f882=_0x14f882['map'](_0x1ddf5e['changes'])),_0x1ddf5e['selection']||_0x24ece0['some'](_0x3c33bf=>_0x3c33bf['hasResult']()&&_0x1ddf5e['changes']['touchesRange'](_0x3c33bf['from'],_0x3c33bf['to']))||!sameResults(_0x24ece0,this['active'])||_0x3c2279?_0x14f882=CompletionDialog['build'](_0x24ece0,_0x460284,this['id'],_0x14f882,_0x5f3f4f,_0x3c2279):_0x14f882&&_0x14f882['disabled']&&!_0x24ece0['some'](_0x1826a1=>_0x1826a1['isPending'])&&(_0x14f882=null),!_0x14f882&&_0x24ece0['every'](_0x1a3196=>!_0x1a3196['isPending'])&&_0x24ece0['some'](_0x31a8cf=>_0x31a8cf['hasResult']())&&(_0x24ece0=_0x24ece0['map'](_0x204fc9=>_0x204fc9['hasResult']()?new ActiveSource(_0x204fc9['source'],0x0):_0x204fc9));for(let _0x4d6cb8 of _0x1ddf5e['effects'])_0x4d6cb8['is'](setSelectedEffect)&&(_0x14f882=_0x14f882&&_0x14f882['setSelected'](_0x4d6cb8['value'],this['id']));return _0x24ece0==this['active']&&_0x14f882==this['open']?this:new CompletionState(_0x24ece0,this['id'],_0x14f882);}get['tooltip'](){return this['open']?this['open']['tooltip']:null;}get['attrs'](){return this['open']?this['open']['attrs']:this['active']['length']?baseAttrs:noAttrs;}}function sameResults(_0x2735a7,_0x2a9633){if(_0x2735a7==_0x2a9633)return!0x0;for(let _0x4d3505=0x0,_0x3af507=0x0;;){for(;_0x4d3505<_0x2735a7['length']&&!_0x2735a7[_0x4d3505]['hasResult']();)_0x4d3505++;for(;_0x3af507<_0x2a9633['length']&&!_0x2a9633[_0x3af507]['hasResult']();)_0x3af507++;let _0x7e12b3=_0x4d3505==_0x2735a7['length'],_0x4bd36e=_0x3af507==_0x2a9633['length'];if(_0x7e12b3||_0x4bd36e)return _0x7e12b3==_0x4bd36e;if(_0x2735a7[_0x4d3505++]['result']!=_0x2a9633[_0x3af507++]['result'])return!0x1;}}const baseAttrs={'aria-autocomplete':'list'},noAttrs={};function makeAttrs(_0x43f3ab,_0x374b71){let _0x4c09c7={'aria-autocomplete':'list','aria-haspopup':'listbox','aria-controls':_0x43f3ab};return _0x374b71>-0x1&&(_0x4c09c7['aria-activedescendant']=_0x43f3ab+'-'+_0x374b71),_0x4c09c7;}const _0x436742=[];function getUpdateType(_0x3f45b0,_0xe981ef){if(_0x3f45b0['isUserEvent']('input.complete')){let _0x32526f=_0x3f45b0['annotation'](pickedCompletion);if(_0x32526f&&_0xe981ef['activateOnCompletion'](_0x32526f))return 0xc;}let _0x5db8f2=_0x3f45b0['isUserEvent']('input.type');return _0x5db8f2&&_0xe981ef['activateOnTyping']?0x5:_0x5db8f2?0x1:_0x3f45b0['isUserEvent']('delete.backward')?0x2:_0x3f45b0['selection']?0x8:_0x3f45b0['docChanged']?0x10:0x0;}class ActiveSource{constructor(_0x1dff98,_0x249694,_0x1343ce=!0x1){this['source']=_0x1dff98,this['state']=_0x249694,this['explicit']=_0x1343ce;}['hasResult'](){return!0x1;}get['isPending'](){return 0x1==this['state'];}['update'](_0x411a2f,_0x26853b){let _0x5546ff=getUpdateType(_0x411a2f,_0x26853b),_0x4eed2f=this;(0x8&_0x5546ff||0x10&_0x5546ff&&this['touches'](_0x411a2f))&&(_0x4eed2f=new ActiveSource(_0x4eed2f['source'],0x0)),0x4&_0x5546ff&&0x0==_0x4eed2f['state']&&(_0x4eed2f=new ActiveSource(this['source'],0x1)),_0x4eed2f=_0x4eed2f['updateFor'](_0x411a2f,_0x5546ff);for(let _0x50a488 of _0x411a2f['effects'])if(_0x50a488['is'](startCompletionEffect))_0x4eed2f=new ActiveSource(_0x4eed2f['source'],0x1,_0x50a488['value']);else{if(_0x50a488['is'](closeCompletionEffect))_0x4eed2f=new ActiveSource(_0x4eed2f['source'],0x0);else{if(_0x50a488['is'](setActiveEffect)){for(let _0x57c4db of _0x50a488['value'])_0x57c4db['source']==_0x4eed2f['source']&&(_0x4eed2f=_0x57c4db);}}}return _0x4eed2f;}['updateFor'](_0x316e16,_0xc51bcd){return this['map'](_0x316e16['changes']);}['map'](_0x3fee95){return this;}['touches'](_0x468b52){return _0x468b52['changes']['touchesRange'](_0x32f6ea(_0x468b52['state']));}}class ActiveResult extends ActiveSource{constructor(_0x1dc87e,_0x34c6d4,_0x4a1fc9,_0x3a41be,_0x3e8014,_0x24a1a8){super(_0x1dc87e,0x3,_0x34c6d4),this['limit']=_0x4a1fc9,this['result']=_0x3a41be,this['from']=_0x3e8014,this['to']=_0x24a1a8;}['hasResult'](){return!0x0;}['updateFor'](_0x256558,_0x344d8e){var _0x1cc9eb;if(!(0x3&_0x344d8e))return this['map'](_0x256558['changes']);let _0x191d38=this['result'];_0x191d38['map']&&!_0x256558['changes']['empty']&&(_0x191d38=_0x191d38['map'](_0x191d38,_0x256558['changes']));let _0x16e94e=_0x256558['changes']['mapPos'](this['from']),_0x59bce2=_0x256558['changes']['mapPos'](this['to'],0x1),_0x3f2a12=_0x32f6ea(_0x256558['state']);if(_0x3f2a12>_0x59bce2||!_0x191d38||0x2&_0x344d8e&&(_0x32f6ea(_0x256558['startState'])==this['from']||_0x3f2a12<this['limit']))return new ActiveSource(this['source'],0x4&_0x344d8e?0x1:0x0);let _0x332d16=_0x256558['changes']['mapPos'](this['limit']);return _0x41f7f0(_0x191d38['validFor'],_0x256558['state'],_0x16e94e,_0x59bce2)?new ActiveResult(this['source'],this['explicit'],_0x332d16,_0x191d38,_0x16e94e,_0x59bce2):_0x191d38['update']&&(_0x191d38=_0x191d38['update'](_0x191d38,_0x16e94e,_0x59bce2,new CompletionContext(_0x256558['state'],_0x3f2a12,!0x1)))?new ActiveResult(this['source'],this['explicit'],_0x332d16,_0x191d38,_0x191d38['from'],null!==(_0x1cc9eb=_0x191d38['to'])&&void 0x0!==_0x1cc9eb?_0x1cc9eb:_0x32f6ea(_0x256558['state'])):new ActiveSource(this['source'],0x1,this['explicit']);}['map'](_0x198a64){if(_0x198a64['empty'])return this;return(this['result']['map']?this['result']['map'](this['result'],_0x198a64):this['result'])?new ActiveResult(this['source'],this['explicit'],_0x198a64['mapPos'](this['limit']),this['result'],_0x198a64['mapPos'](this['from']),_0x198a64['mapPos'](this['to'],0x1)):new ActiveSource(this['source'],0x0);}['touches'](_0x178eb9){return _0x178eb9['changes']['touchesRange'](this['from'],this['to']);}}function _0x41f7f0(_0x22f80b,_0x32413d,_0x4fd5bb,_0x10ce81){if(!_0x22f80b)return!0x1;let _0x5d5fed=_0x32413d['sliceDoc'](_0x4fd5bb,_0x10ce81);return'function'==typeof _0x22f80b?_0x22f80b(_0x5d5fed,_0x4fd5bb,_0x10ce81,_0x32413d):_0x561d61(_0x22f80b,!0x0)['test'](_0x5d5fed);}const setActiveEffect=StateEffect['define']({'map':(_0x5d53be,_0x38e57b)=>_0x5d53be['map'](_0x2b7553=>_0x2b7553['map'](_0x38e57b))}),setSelectedEffect=StateEffect['define'](),completionState=StateField['define']({'create':()=>CompletionState['start'](),'update':(_0x3848be,_0x16e897)=>_0x3848be['update'](_0x16e897),'provide':_0x59e59f=>[showTooltip['from'](_0x59e59f,_0x408eb2=>_0x408eb2['tooltip']),EditorView['contentAttributes']['from'](_0x59e59f,_0x735946=>_0x735946['attrs'])]});function applyCompletion(_0x458af3,_0x16304c){const _0x481a40=_0x16304c['completion']['apply']||_0x16304c['completion']['label'];let _0x38d6be=_0x458af3['state']['field'](completionState)['active']['find'](_0x2deea0=>_0x2deea0['source']==_0x16304c['source']);return _0x38d6be instanceof ActiveResult&&('string'==typeof _0x481a40?_0x458af3['dispatch']({...insertCompletionText(_0x458af3['state'],_0x481a40,_0x38d6be['from'],_0x38d6be['to']),'annotations':pickedCompletion['of'](_0x16304c['completion'])}):_0x481a40(_0x458af3,_0x16304c['completion'],_0x38d6be['from'],_0x38d6be['to']),!0x0);}const createTooltip=completionTooltip(completionState,applyCompletion);function moveCompletionSelection(_0x4a63f7,_0xb6fe1c='option'){return _0x2c57d4=>{let _0xa1911d=_0x2c57d4['state']['field'](completionState,!0x1);if(!_0xa1911d||!_0xa1911d['open']||_0xa1911d['open']['disabled']||Date['now']()-_0xa1911d['open']['timestamp']<_0x2c57d4['state']['facet'](completionConfig)['interactionDelay'])return!0x1;let _0x549c83,_0x5b47a3=0x1;'page'==_0xb6fe1c&&(_0x549c83=getTooltip(_0x2c57d4,_0xa1911d['open']['tooltip']))&&(_0x5b47a3=Math['max'](0x2,Math['floor'](_0x549c83['dom']['offsetHeight']/_0x549c83['dom']['querySelector']('li')['offsetHeight'])-0x1));let {length:_0x4bd3b5}=_0xa1911d['open']['options'],_0xa0fa1f=_0xa1911d['open']['selected']>-0x1?_0xa1911d['open']['selected']+_0x5b47a3*(_0x4a63f7?0x1:-0x1):_0x4a63f7?0x0:_0x4bd3b5-0x1;return _0xa0fa1f<0x0?_0xa0fa1f='page'==_0xb6fe1c?0x0:_0x4bd3b5-0x1:_0xa0fa1f>=_0x4bd3b5&&(_0xa0fa1f='page'==_0xb6fe1c?_0x4bd3b5-0x1:0x0),_0x2c57d4['dispatch']({'effects':setSelectedEffect['of'](_0xa0fa1f)}),!0x0;};}const acceptCompletion=_0x2aa4fc=>{let _0x124edd=_0x2aa4fc['state']['field'](completionState,!0x1);return!(_0x2aa4fc['state']['readOnly']||!_0x124edd||!_0x124edd['open']||_0x124edd['open']['selected']<0x0||_0x124edd['open']['disabled']||Date['now']()-_0x124edd['open']['timestamp']<_0x2aa4fc['state']['facet'](completionConfig)['interactionDelay'])&&applyCompletion(_0x2aa4fc,_0x124edd['open']['options'][_0x124edd['open']['selected']]);},startCompletion=_0x37ddda=>!!_0x37ddda['state']['field'](completionState,!0x1)&&(_0x37ddda['dispatch']({'effects':startCompletionEffect['of'](!0x0)}),!0x0),closeCompletion=_0x38a0d2=>{let _0x41e1b5=_0x38a0d2['state']['field'](completionState,!0x1);return!(!_0x41e1b5||!_0x41e1b5['active']['some'](_0x24da35=>0x0!=_0x24da35['state']))&&(_0x38a0d2['dispatch']({'effects':closeCompletionEffect['of'](null)}),!0x0);};class _0x217f88{constructor(_0x5e241b,_0x1e16ce){this['active']=_0x5e241b,this['context']=_0x1e16ce,this['time']=Date['now'](),this['updates']=[],this['done']=void 0x0;}}const MaxUpdateCount=0x32,MinAbortTime=0x3e8,completionPlugin=_0x5e6928['fromClass'](class{constructor(_0x2ba3bb){this['view']=_0x2ba3bb,this['debounceUpdate']=-0x1,this['running']=[],this['debounceAccept']=-0x1,this['pendingStart']=!0x1,this['composing']=0x0;for(let _0x558168 of _0x2ba3bb['state']['field'](completionState)['active'])_0x558168['isPending']&&this['startQuery'](_0x558168);}['update'](_0x1209f5){let _0x3351a0=_0x1209f5['state']['field'](completionState),_0xd9e376=_0x1209f5['state']['facet'](completionConfig);if(!_0x1209f5['selectionSet']&&!_0x1209f5['docChanged']&&_0x1209f5['startState']['field'](completionState)==_0x3351a0)return;let _0x50f2e5=_0x1209f5['transactions']['some'](_0x550903=>{let _0x172bfb=getUpdateType(_0x550903,_0xd9e376);return 0x8&_0x172bfb||(_0x550903['selection']||_0x550903['docChanged'])&&!(0x3&_0x172bfb);});for(let _0x403605=0x0;_0x403605<this['running']['length'];_0x403605++){let _0x453362=this['running'][_0x403605];if(_0x50f2e5||_0x453362['context']['abortOnDocChange']&&_0x1209f5['docChanged']||_0x453362['updates']['length']+_0x1209f5['transactions']['length']>MaxUpdateCount&&Date['now']()-_0x453362['time']>MinAbortTime){for(let _0x318411 of _0x453362['context']['abortListeners'])try{_0x318411();}catch(_0x4c044a){logException(this['view']['state'],_0x4c044a);}_0x453362['context']['abortListeners']=null,this['running']['splice'](_0x403605--,0x1);}else _0x453362['updates']['push'](..._0x1209f5['transactions']);}this['debounceUpdate']>-0x1&&clearTimeout(this['debounceUpdate']),_0x1209f5['transactions']['some'](_0x39ae14=>_0x39ae14['effects']['some'](_0x3e69ad=>_0x3e69ad['is'](startCompletionEffect)))&&(this['pendingStart']=!0x0);let _0x2be51c=this['pendingStart']?0x32:_0xd9e376['activateOnTypingDelay'];if(this['debounceUpdate']=_0x3351a0['active']['some'](_0x59da72=>_0x59da72['isPending']&&!this['running']['some'](_0x152514=>_0x152514['active']['source']==_0x59da72['source']))?setTimeout(()=>this['startUpdate'](),_0x2be51c):-0x1,0x0!=this['composing']){for(let _0x57281f of _0x1209f5['transactions'])_0x57281f['isUserEvent']('input.type')?this['composing']=0x2:0x2==this['composing']&&_0x57281f['selection']&&(this['composing']=0x3);}}['startUpdate'](){this['debounceUpdate']=-0x1,this['pendingStart']=!0x1;let {state:_0x276a71}=this['view'],_0x2f8dbc=_0x276a71['field'](completionState);for(let _0x287c10 of _0x2f8dbc['active'])_0x287c10['isPending']&&!this['running']['some'](_0x127ae4=>_0x127ae4['active']['source']==_0x287c10['source'])&&this['startQuery'](_0x287c10);this['running']['length']&&_0x2f8dbc['open']&&_0x2f8dbc['open']['disabled']&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](completionConfig)['updateSyncTime']));}['startQuery'](_0x1daee3){let {state:_0x5a2f1a}=this['view'],_0x385a66=_0x32f6ea(_0x5a2f1a),_0x35f9dc=new CompletionContext(_0x5a2f1a,_0x385a66,_0x1daee3['explicit'],this['view']),_0x225b7e=new _0x217f88(_0x1daee3,_0x35f9dc);this['running']['push'](_0x225b7e),Promise['resolve'](_0x1daee3['source'](_0x35f9dc))['then'](_0x25a825=>{_0x225b7e['context']['aborted']||(_0x225b7e['done']=_0x25a825||null,this['scheduleAccept']());},_0x11ed41=>{this['view']['dispatch']({'effects':closeCompletionEffect['of'](null)}),logException(this['view']['state'],_0x11ed41);});}['scheduleAccept'](){this['running']['every'](_0x3fcd61=>void 0x0!==_0x3fcd61['done'])?this['accept']():this['debounceAccept']<0x0&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](completionConfig)['updateSyncTime']));}['accept'](){var _0x4542e9;this['debounceAccept']>-0x1&&clearTimeout(this['debounceAccept']),this['debounceAccept']=-0x1;let _0xfffda3=[],_0x244010=this['view']['state']['facet'](completionConfig),_0x4cb674=this['view']['state']['field'](completionState);for(let _0x5f50f7=0x0;_0x5f50f7<this['running']['length'];_0x5f50f7++){let _0x43de1c=this['running'][_0x5f50f7];if(void 0x0===_0x43de1c['done'])continue;if(this['running']['splice'](_0x5f50f7--,0x1),_0x43de1c['done']){let _0x58d61c=_0x32f6ea(_0x43de1c['updates']['length']?_0x43de1c['updates'][0x0]['startState']:this['view']['state']),_0x2bf3fc=Math['min'](_0x58d61c,_0x43de1c['done']['from']+(_0x43de1c['active']['explicit']?0x0:0x1)),_0x1bbc28=new ActiveResult(_0x43de1c['active']['source'],_0x43de1c['active']['explicit'],_0x2bf3fc,_0x43de1c['done'],_0x43de1c['done']['from'],null!==(_0x4542e9=_0x43de1c['done']['to'])&&void 0x0!==_0x4542e9?_0x4542e9:_0x58d61c);for(let _0x466a81 of _0x43de1c['updates'])_0x1bbc28=_0x1bbc28['update'](_0x466a81,_0x244010);if(_0x1bbc28['hasResult']()){_0xfffda3['push'](_0x1bbc28);continue;}}let _0x4fe368=_0x4cb674['active']['find'](_0x5925b3=>_0x5925b3['source']==_0x43de1c['active']['source']);if(_0x4fe368&&_0x4fe368['isPending']){if(null==_0x43de1c['done']){let _0x11b2ff=new ActiveSource(_0x43de1c['active']['source'],0x0);for(let _0x529a12 of _0x43de1c['updates'])_0x11b2ff=_0x11b2ff['update'](_0x529a12,_0x244010);_0x11b2ff['isPending']||_0xfffda3['push'](_0x11b2ff);}else this['startQuery'](_0x4fe368);}}(_0xfffda3['length']||_0x4cb674['open']&&_0x4cb674['open']['disabled'])&&this['view']['dispatch']({'effects':setActiveEffect['of'](_0xfffda3)});}},{'eventHandlers':{'blur'(_0x485e96){let _0x20bdae=this['view']['state']['field'](completionState,!0x1);if(_0x20bdae&&_0x20bdae['tooltip']&&this['view']['state']['facet'](completionConfig)['closeOnBlur']){let _0x308837=_0x20bdae['open']&&getTooltip(this['view'],_0x20bdae['open']['tooltip']);_0x308837&&_0x308837['dom']['contains'](_0x485e96['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;}}}),_0x301d87='object'==typeof navigator&&/Win/['test'](navigator['platform']),commitCharacters=_0x27d43b['highest'](EditorView['domEventHandlers']({'keydown'(_0x58b2c8,_0x4c708d){let _0x503c7e=_0x4c708d['state']['field'](completionState,!0x1);if(!_0x503c7e||!_0x503c7e['open']||_0x503c7e['open']['disabled']||_0x503c7e['open']['selected']<0x0||_0x58b2c8['key']['length']>0x1||_0x58b2c8['ctrlKey']&&(!_0x301d87||!_0x58b2c8['altKey'])||_0x58b2c8['metaKey'])return!0x1;let _0x111667=_0x503c7e['open']['options'][_0x503c7e['open']['selected']],_0x2bccc4=_0x503c7e['active']['find'](_0x1326a7=>_0x1326a7['source']==_0x111667['source']),_0x5c97fd=_0x111667['completion']['commitCharacters']||_0x2bccc4['result']['commitCharacters'];return _0x5c97fd&&_0x5c97fd['indexOf'](_0x58b2c8['key'])>-0x1&&applyCompletion(_0x4c708d,_0x111667),!0x1;}})),_0x54a953=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 _0x365eae{constructor(_0x5ade07,_0x7641f8,_0x4144ec,_0x6b7a24){this['field']=_0x5ade07,this['line']=_0x7641f8,this['from']=_0x4144ec,this['to']=_0x6b7a24;}}class _0x252a48{constructor(_0x75b323,_0x2899e4,_0x4798a8){this['field']=_0x75b323,this['from']=_0x2899e4,this['to']=_0x4798a8;}['map'](_0x493dc2){let _0x21cfaa=_0x493dc2['mapPos'](this['from'],-0x1,_0x7e2fb5['TrackDel']),_0x43f147=_0x493dc2['mapPos'](this['to'],0x1,_0x7e2fb5['TrackDel']);return null==_0x21cfaa||null==_0x43f147?null:new _0x252a48(this['field'],_0x21cfaa,_0x43f147);}}class Snippet{constructor(_0x2508f0,_0x4fe32b){this['lines']=_0x2508f0,this['fieldPositions']=_0x4fe32b;}['instantiate'](_0xaf7ac4,_0x18e245){let _0x4a9d3=[],_0x68dc94=[_0x18e245],_0x51347d=_0xaf7ac4['doc']['lineAt'](_0x18e245),_0x48e1e7=/^\s*/['exec'](_0x51347d['text'])[0x0];for(let _0x395d33 of this['lines']){if(_0x4a9d3['length']){let _0x43a187=_0x48e1e7,_0x5680be=/^\t*/['exec'](_0x395d33)[0x0]['length'];for(let _0x15bc4a=0x0;_0x15bc4a<_0x5680be;_0x15bc4a++)_0x43a187+=_0xaf7ac4['facet'](indentUnit);_0x68dc94['push'](_0x18e245+_0x43a187['length']-_0x5680be),_0x395d33=_0x43a187+_0x395d33['slice'](_0x5680be);}_0x4a9d3['push'](_0x395d33),_0x18e245+=_0x395d33['length']+0x1;}let _0x2827e0=this['fieldPositions']['map'](_0x375f41=>new _0x252a48(_0x375f41['field'],_0x68dc94[_0x375f41['line']]+_0x375f41['from'],_0x68dc94[_0x375f41['line']]+_0x375f41['to']));return{'text':_0x4a9d3,'ranges':_0x2827e0};}static['parse'](_0x52d2fc){let _0x117575,_0x558d7e=[],_0x5db1d=[],_0x408cfb=[];for(let _0x420c18 of _0x52d2fc['split'](/\r\n?|\n/)){for(;_0x117575=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/['exec'](_0x420c18);){let _0x1e25b4=_0x117575[0x1]?+_0x117575[0x1]:null,_0x32c163=_0x117575[0x2]||_0x117575[0x3]||'',_0x292379=-0x1,_0x22fdf8=_0x32c163['replace'](/\\[{}]/g,_0x31b218=>_0x31b218[0x1]);for(let _0x15a4e3=0x0;_0x15a4e3<_0x558d7e['length'];_0x15a4e3++)(null!=_0x1e25b4?_0x558d7e[_0x15a4e3]['seq']==_0x1e25b4:_0x22fdf8&&_0x558d7e[_0x15a4e3]['name']==_0x22fdf8)&&(_0x292379=_0x15a4e3);if(_0x292379<0x0){let _0x3eb4bc=0x0;for(;_0x3eb4bc<_0x558d7e['length']&&(null==_0x1e25b4||null!=_0x558d7e[_0x3eb4bc]['seq']&&_0x558d7e[_0x3eb4bc]['seq']<_0x1e25b4);)_0x3eb4bc++;_0x558d7e['splice'](_0x3eb4bc,0x0,{'seq':_0x1e25b4,'name':_0x22fdf8}),_0x292379=_0x3eb4bc;for(let _0x3f2efc of _0x408cfb)_0x3f2efc['field']>=_0x292379&&_0x3f2efc['field']++;}for(let _0x1dc996 of _0x408cfb)if(_0x1dc996['line']==_0x5db1d['length']&&_0x1dc996['from']>_0x117575['index']){let _0x1b005d=_0x117575[0x2]?0x3+(_0x117575[0x1]||'')['length']:0x2;_0x1dc996['from']-=_0x1b005d,_0x1dc996['to']-=_0x1b005d;}_0x408cfb['push'](new _0x365eae(_0x292379,_0x5db1d['length'],_0x117575['index'],_0x117575['index']+_0x22fdf8['length'])),_0x420c18=_0x420c18['slice'](0x0,_0x117575['index'])+_0x32c163+_0x420c18['slice'](_0x117575['index']+_0x117575[0x0]['length']);}_0x420c18=_0x420c18['replace'](/\\([{}])/g,(_0x21d0cb,_0x49c6e7,_0x378ca4)=>{for(let _0x11df3b of _0x408cfb)_0x11df3b['line']==_0x5db1d['length']&&_0x11df3b['from']>_0x378ca4&&(_0x11df3b['from']--,_0x11df3b['to']--);return _0x49c6e7;}),_0x5db1d['push'](_0x420c18);}return new Snippet(_0x5db1d,_0x408cfb);}}let _0x39c544=Decoration['widget']({'widget':new class extends WidgetType{['toDOM'](){let _0x3a69af=document['createElement']('span');return _0x3a69af['className']='cm-snippetFieldPosition',_0x3a69af;}['ignoreEvent'](){return!0x1;}}()}),_0x109b7e=Decoration['mark']({'class':'cm-snippetField'});class ActiveSnippet{constructor(_0x24dded,_0x1be4a9){this['ranges']=_0x24dded,this['active']=_0x1be4a9,this['deco']=Decoration['set'](_0x24dded['map'](_0x4973cf=>(_0x4973cf['from']==_0x4973cf['to']?_0x39c544:_0x109b7e)['range'](_0x4973cf['from'],_0x4973cf['to'])),!0x0);}['map'](_0x4ba586){let _0x5703c5=[];for(let _0x3a822d of this['ranges']){let _0x28f607=_0x3a822d['map'](_0x4ba586);if(!_0x28f607)return null;_0x5703c5['push'](_0x28f607);}return new ActiveSnippet(_0x5703c5,this['active']);}['selectionInsideField'](_0x518181){return _0x518181['ranges']['every'](_0x4a73d3=>this['ranges']['some'](_0x5399c0=>_0x5399c0['field']==this['active']&&_0x5399c0['from']<=_0x4a73d3['from']&&_0x5399c0['to']>=_0x4a73d3['to']));}}const setActive=StateEffect['define']({'map':(_0x12b3f5,_0x5b5434)=>_0x12b3f5&&_0x12b3f5['map'](_0x5b5434)}),_0x590f54=StateEffect['define'](),snippetState=StateField['define']({'create':()=>null,'update'(_0x3e0951,_0x2ce7b2){for(let _0x76b8cb of _0x2ce7b2['effects']){if(_0x76b8cb['is'](setActive))return _0x76b8cb['value'];if(_0x76b8cb['is'](_0x590f54)&&_0x3e0951)return new ActiveSnippet(_0x3e0951['ranges'],_0x76b8cb['value']);}return _0x3e0951&&_0x2ce7b2['docChanged']&&(_0x3e0951=_0x3e0951['map'](_0x2ce7b2['changes'])),_0x3e0951&&_0x2ce7b2['selection']&&!_0x3e0951['selectionInsideField'](_0x2ce7b2['selection'])&&(_0x3e0951=null),_0x3e0951;},'provide':_0x439d9a=>EditorView['decorations']['from'](_0x439d9a,_0xfa449b=>_0xfa449b?_0xfa449b['deco']:Decoration['none'])});function fieldSelection(_0x943dc4,_0x57c246){return EditorSelection['create'](_0x943dc4['filter'](_0x13ad06=>_0x13ad06['field']==_0x57c246)['map'](_0x58c183=>EditorSelection['range'](_0x58c183['from'],_0x58c183['to'])));}function snippet(_0xeaced0){let _0x3ce108=Snippet['parse'](_0xeaced0);return(_0x2c6362,_0x54595a,_0x5bad03,_0x324cb2)=>{let {text:_0x49b54e,ranges:_0x346a13}=_0x3ce108['instantiate'](_0x2c6362['state'],_0x5bad03),{main:_0x30a5d0}=_0x2c6362['state']['selection'],_0x11ca8d={'changes':{'from':_0x5bad03,'to':_0x324cb2==_0x30a5d0['from']?_0x30a5d0['to']:_0x324cb2,'insert':Text['of'](_0x49b54e)},'scrollIntoView':!0x0,'annotations':_0x54595a?[pickedCompletion['of'](_0x54595a),Transaction['userEvent']['of']('input.complete')]:void 0x0};if(_0x346a13['length']&&(_0x11ca8d['selection']=fieldSelection(_0x346a13,0x0)),_0x346a13['some'](_0x152411=>_0x152411['field']>0x0)){let _0x4ff48f=new ActiveSnippet(_0x346a13,0x0),_0xe741f5=_0x11ca8d['effects']=[setActive['of'](_0x4ff48f)];void 0x0===_0x2c6362['state']['field'](snippetState,!0x1)&&_0xe741f5['push'](StateEffect['appendConfig']['of']([snippetState,addSnippetKeymap,snippetPointerHandler,_0x54a953]));}_0x2c6362['dispatch'](_0x2c6362['state']['update'](_0x11ca8d));};}function _0x1a64bc(_0x3a4edc){return({state:_0x536650,dispatch:_0x24a02d})=>{let _0x2a9b13=_0x536650['field'](snippetState,!0x1);if(!_0x2a9b13||_0x3a4edc<0x0&&0x0==_0x2a9b13['active'])return!0x1;let _0x25098a=_0x2a9b13['active']+_0x3a4edc,_0x2e39cb=_0x3a4edc>0x0&&!_0x2a9b13['ranges']['some'](_0xe11586=>_0xe11586['field']==_0x25098a+_0x3a4edc);return _0x24a02d(_0x536650['update']({'selection':fieldSelection(_0x2a9b13['ranges'],_0x25098a),'effects':setActive['of'](_0x2e39cb?null:new ActiveSnippet(_0x2a9b13['ranges'],_0x25098a)),'scrollIntoView':!0x0})),!0x0;};}const clearSnippet=({state:_0x52856b,dispatch:_0x2f234c})=>!!_0x52856b['field'](snippetState,!0x1)&&(_0x2f234c(_0x52856b['update']({'effects':setActive['of'](null)})),!0x0),nextSnippetField=_0x1a64bc(0x1),prevSnippetField=_0x1a64bc(-0x1),defaultSnippetKeymap=[{'key':'Tab','run':nextSnippetField,'shift':prevSnippetField},{'key':'Escape','run':clearSnippet}],snippetKeymap=Facet['define']({'combine':_0x26ffa9=>_0x26ffa9['length']?_0x26ffa9[0x0]:defaultSnippetKeymap}),addSnippetKeymap=_0x27d43b['highest'](_0x406ef3['compute']([snippetKeymap],_0x56c132=>_0x56c132['facet'](snippetKeymap)));function snippetCompletion(_0x45c6cb,_0x5a5ba0){return{..._0x5a5ba0,'apply':snippet(_0x45c6cb)};}const snippetPointerHandler=EditorView['domEventHandlers']({'mousedown'(_0x377a53,_0x8947d4){let _0xa50b97,_0x547164=_0x8947d4['state']['field'](snippetState,!0x1);if(!_0x547164||null==(_0xa50b97=_0x8947d4['posAtCoords']({'x':_0x377a53['clientX'],'y':_0x377a53['clientY']})))return!0x1;let _0x5e1f0b=_0x547164['ranges']['find'](_0x36bb55=>_0x36bb55['from']<=_0xa50b97&&_0x36bb55['to']>=_0xa50b97);return!(!_0x5e1f0b||_0x5e1f0b['field']==_0x547164['active'])&&(_0x8947d4['dispatch']({'selection':fieldSelection(_0x547164['ranges'],_0x5e1f0b['field']),'effects':setActive['of'](_0x547164['ranges']['some'](_0x458eac=>_0x458eac['field']>_0x5e1f0b['field'])?new ActiveSnippet(_0x547164['ranges'],_0x5e1f0b['field']):null),'scrollIntoView':!0x0}),!0x0);}}),defaults={'brackets':['(','[','{','\x27','\x22'],'before':')]}:;>','stringPrefixes':[]},closeBracketEffect=StateEffect['define']({'map'(_0x1e5dc4,_0x15e78c){let _0x54edd0=_0x15e78c['mapPos'](_0x1e5dc4,-0x1,_0x7e2fb5['TrackAfter']);return null==_0x54edd0?void 0x0:_0x54edd0;}}),closedBracket=new class extends _0x23adea{}();closedBracket['startSide']=0x1,closedBracket['endSide']=-0x1;const bracketState=StateField['define']({'create':()=>RangeSet['empty'],'update'(_0x10106c,_0x228e9f){if(_0x10106c=_0x10106c['map'](_0x228e9f['changes']),_0x228e9f['selection']){let _0x1285c6=_0x228e9f['state']['doc']['lineAt'](_0x228e9f['selection']['main']['head']);_0x10106c=_0x10106c['update']({'filter':_0x1f9aec=>_0x1f9aec>=_0x1285c6['from']&&_0x1f9aec<=_0x1285c6['to']});}for(let _0x20aeea of _0x228e9f['effects'])_0x20aeea['is'](closeBracketEffect)&&(_0x10106c=_0x10106c['update']({'add':[closedBracket['range'](_0x20aeea['value'],_0x20aeea['value']+0x1)]}));return _0x10106c;}});function closeBrackets(){return[inputHandler,bracketState];}const _0x5b7d19='()[]{}<>«»»«［］｛｝';function _0x4eece5(_0x41c523){for(let _0x448b42=0x0;_0x448b42<_0x5b7d19['length'];_0x448b42+=0x2)if(_0x5b7d19['charCodeAt'](_0x448b42)==_0x41c523)return _0x5b7d19['charAt'](_0x448b42+0x1);return fromCodePoint(_0x41c523<0x80?_0x41c523:_0x41c523+0x1);}function _0x1f5a11(_0x34dfb3,_0x5483ed){return _0x34dfb3['languageDataAt']('closeBrackets',_0x5483ed)[0x0]||defaults;}const _0x5bf958='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),inputHandler=EditorView['inputHandler']['of']((_0x18e78b,_0x8086c,_0x3d3a39,_0x68f622)=>{if((_0x5bf958?_0x18e78b['composing']:_0x18e78b['compositionStarted'])||_0x18e78b['state']['readOnly'])return!0x1;let _0x2bbcff=_0x18e78b['state']['selection']['main'];if(_0x68f622['length']>0x2||0x2==_0x68f622['length']&&0x1==codePointSize(codePointAt(_0x68f622,0x0))||_0x8086c!=_0x2bbcff['from']||_0x3d3a39!=_0x2bbcff['to'])return!0x1;let _0x344ce9=insertBracket(_0x18e78b['state'],_0x68f622);return!!_0x344ce9&&(_0x18e78b['dispatch'](_0x344ce9),!0x0);}),deleteBracketPair=({state:_0x20a805,dispatch:_0x1dc458})=>{if(_0x20a805['readOnly'])return!0x1;let _0x7d2f46=_0x1f5a11(_0x20a805,_0x20a805['selection']['main']['head'])['brackets']||defaults['brackets'],_0x537e82=null,_0x2e0dcc=_0x20a805['changeByRange'](_0xcd3b19=>{if(_0xcd3b19['empty']){let _0x40f543=_0x121f06(_0x20a805['doc'],_0xcd3b19['head']);for(let _0x177a21 of _0x7d2f46)if(_0x177a21==_0x40f543&&nextChar(_0x20a805['doc'],_0xcd3b19['head'])==_0x4eece5(codePointAt(_0x177a21,0x0)))return{'changes':{'from':_0xcd3b19['head']-_0x177a21['length'],'to':_0xcd3b19['head']+_0x177a21['length']},'range':EditorSelection['cursor'](_0xcd3b19['head']-_0x177a21['length'])};}return{'range':_0x537e82=_0xcd3b19};});return _0x537e82||_0x1dc458(_0x20a805['update'](_0x2e0dcc,{'scrollIntoView':!0x0,'userEvent':'delete.backward'})),!_0x537e82;},closeBracketsKeymap=[{'key':'Backspace','run':deleteBracketPair}];function insertBracket(_0x1d0db3,_0x363ac1){let _0x5b2a4b=_0x1f5a11(_0x1d0db3,_0x1d0db3['selection']['main']['head']),_0x3c1d1e=_0x5b2a4b['brackets']||defaults['brackets'];for(let _0x54217a of _0x3c1d1e){let _0xd7b217=_0x4eece5(codePointAt(_0x54217a,0x0));if(_0x363ac1==_0x54217a)return _0xd7b217==_0x54217a?_0x227794(_0x1d0db3,_0x54217a,_0x3c1d1e['indexOf'](_0x54217a+_0x54217a+_0x54217a)>-0x1,_0x5b2a4b):_0x55a502(_0x1d0db3,_0x54217a,_0xd7b217,_0x5b2a4b['before']||defaults['before']);if(_0x363ac1==_0xd7b217&&closedBracketAt(_0x1d0db3,_0x1d0db3['selection']['main']['from']))return _0x110443(_0x1d0db3,_0x54217a,_0xd7b217);}return null;}function closedBracketAt(_0x5e719d,_0x537071){let _0x45c971=!0x1;return _0x5e719d['field'](bracketState)['between'](0x0,_0x5e719d['doc']['length'],_0x3c98d7=>{_0x3c98d7==_0x537071&&(_0x45c971=!0x0);}),_0x45c971;}function nextChar(_0x2e5291,_0x11a7be){let _0x3702a9=_0x2e5291['sliceString'](_0x11a7be,_0x11a7be+0x2);return _0x3702a9['slice'](0x0,codePointSize(codePointAt(_0x3702a9,0x0)));}function _0x121f06(_0x4606f5,_0x4c8f69){let _0x2ba638=_0x4606f5['sliceString'](_0x4c8f69-0x2,_0x4c8f69);return codePointSize(codePointAt(_0x2ba638,0x0))==_0x2ba638['length']?_0x2ba638:_0x2ba638['slice'](0x1);}function _0x55a502(_0x37bdfc,_0x5ad720,_0x3701cb,_0x38bd5a){let _0x3efc67=null,_0x1c41c4=_0x37bdfc['changeByRange'](_0x3406c4=>{if(!_0x3406c4['empty'])return{'changes':[{'insert':_0x5ad720,'from':_0x3406c4['from']},{'insert':_0x3701cb,'from':_0x3406c4['to']}],'effects':closeBracketEffect['of'](_0x3406c4['to']+_0x5ad720['length']),'range':EditorSelection['range'](_0x3406c4['anchor']+_0x5ad720['length'],_0x3406c4['head']+_0x5ad720['length'])};let _0x463779=nextChar(_0x37bdfc['doc'],_0x3406c4['head']);return!_0x463779||/\s/['test'](_0x463779)||_0x38bd5a['indexOf'](_0x463779)>-0x1?{'changes':{'insert':_0x5ad720+_0x3701cb,'from':_0x3406c4['head']},'effects':closeBracketEffect['of'](_0x3406c4['head']+_0x5ad720['length']),'range':EditorSelection['cursor'](_0x3406c4['head']+_0x5ad720['length'])}:{'range':_0x3efc67=_0x3406c4};});return _0x3efc67?null:_0x37bdfc['update'](_0x1c41c4,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function _0x110443(_0x3a08c7,_0x3aa840,_0x2cb8f1){let _0x2309d8=null,_0x33892d=_0x3a08c7['changeByRange'](_0x5149bb=>_0x5149bb['empty']&&nextChar(_0x3a08c7['doc'],_0x5149bb['head'])==_0x2cb8f1?{'changes':{'from':_0x5149bb['head'],'to':_0x5149bb['head']+_0x2cb8f1['length'],'insert':_0x2cb8f1},'range':EditorSelection['cursor'](_0x5149bb['head']+_0x2cb8f1['length'])}:_0x2309d8={'range':_0x5149bb});return _0x2309d8?null:_0x3a08c7['update'](_0x33892d,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function _0x227794(_0x91311d,_0x3401e1,_0x41305c,_0x2d3c3e){let _0x56e3e8=_0x2d3c3e['stringPrefixes']||defaults['stringPrefixes'],_0x1cebf4=null,_0x2cd0a1=_0x91311d['changeByRange'](_0x419aea=>{if(!_0x419aea['empty'])return{'changes':[{'insert':_0x3401e1,'from':_0x419aea['from']},{'insert':_0x3401e1,'from':_0x419aea['to']}],'effects':closeBracketEffect['of'](_0x419aea['to']+_0x3401e1['length']),'range':EditorSelection['range'](_0x419aea['anchor']+_0x3401e1['length'],_0x419aea['head']+_0x3401e1['length'])};let _0x416332,_0x3c18ca=_0x419aea['head'],_0x2fffa4=nextChar(_0x91311d['doc'],_0x3c18ca);if(_0x2fffa4==_0x3401e1){if(nodeStart(_0x91311d,_0x3c18ca))return{'changes':{'insert':_0x3401e1+_0x3401e1,'from':_0x3c18ca},'effects':closeBracketEffect['of'](_0x3c18ca+_0x3401e1['length']),'range':EditorSelection['cursor'](_0x3c18ca+_0x3401e1['length'])};if(closedBracketAt(_0x91311d,_0x3c18ca)){let _0x3c8984=_0x41305c&&_0x91311d['sliceDoc'](_0x3c18ca,_0x3c18ca+0x3*_0x3401e1['length'])==_0x3401e1+_0x3401e1+_0x3401e1?_0x3401e1+_0x3401e1+_0x3401e1:_0x3401e1;return{'changes':{'from':_0x3c18ca,'to':_0x3c18ca+_0x3c8984['length'],'insert':_0x3c8984},'range':EditorSelection['cursor'](_0x3c18ca+_0x3c8984['length'])};}}else{if(_0x41305c&&_0x91311d['sliceDoc'](_0x3c18ca-0x2*_0x3401e1['length'],_0x3c18ca)==_0x3401e1+_0x3401e1&&(_0x416332=canStartStringAt(_0x91311d,_0x3c18ca-0x2*_0x3401e1['length'],_0x56e3e8))>-0x1&&nodeStart(_0x91311d,_0x416332))return{'changes':{'insert':_0x3401e1+_0x3401e1+_0x3401e1+_0x3401e1,'from':_0x3c18ca},'effects':closeBracketEffect['of'](_0x3c18ca+_0x3401e1['length']),'range':EditorSelection['cursor'](_0x3c18ca+_0x3401e1['length'])};if(_0x91311d['charCategorizer'](_0x3c18ca)(_0x2fffa4)!=CharCategory['Word']&&canStartStringAt(_0x91311d,_0x3c18ca,_0x56e3e8)>-0x1&&!probablyInString(_0x91311d,_0x3c18ca,_0x3401e1,_0x56e3e8))return{'changes':{'insert':_0x3401e1+_0x3401e1,'from':_0x3c18ca},'effects':closeBracketEffect['of'](_0x3c18ca+_0x3401e1['length']),'range':EditorSelection['cursor'](_0x3c18ca+_0x3401e1['length'])};}return{'range':_0x1cebf4=_0x419aea};});return _0x1cebf4?null:_0x91311d['update'](_0x2cd0a1,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function nodeStart(_0x1a1b7b,_0xc8eae9){let _0x48f54c=syntaxTree(_0x1a1b7b)['resolveInner'](_0xc8eae9+0x1);return _0x48f54c['parent']&&_0x48f54c['from']==_0xc8eae9;}function probablyInString(_0x376833,_0x2e9c08,_0x8305ae,_0x330fbc){let _0x128ff2=syntaxTree(_0x376833)['resolveInner'](_0x2e9c08,-0x1),_0x319266=_0x330fbc['reduce']((_0x13a989,_0x9c0c20)=>Math['max'](_0x13a989,_0x9c0c20['length']),0x0);for(let _0x4e88fd=0x0;_0x4e88fd<0x5;_0x4e88fd++){let _0x2f1139=_0x376833['sliceDoc'](_0x128ff2['from'],Math['min'](_0x128ff2['to'],_0x128ff2['from']+_0x8305ae['length']+_0x319266)),_0x5a592d=_0x2f1139['indexOf'](_0x8305ae);if(!_0x5a592d||_0x5a592d>-0x1&&_0x330fbc['indexOf'](_0x2f1139['slice'](0x0,_0x5a592d))>-0x1){let _0x364e7d=_0x128ff2['firstChild'];for(;_0x364e7d&&_0x364e7d['from']==_0x128ff2['from']&&_0x364e7d['to']-_0x364e7d['from']>_0x8305ae['length']+_0x5a592d;){if(_0x376833['sliceDoc'](_0x364e7d['to']-_0x8305ae['length'],_0x364e7d['to'])==_0x8305ae)return!0x1;_0x364e7d=_0x364e7d['firstChild'];}return!0x0;}let _0x58be0b=_0x128ff2['to']==_0x2e9c08&&_0x128ff2['parent'];if(!_0x58be0b)break;_0x128ff2=_0x58be0b;}return!0x1;}function canStartStringAt(_0x48617b,_0x5edef2,_0x28051f){let _0x5931c3=_0x48617b['charCategorizer'](_0x5edef2);if(_0x5931c3(_0x48617b['sliceDoc'](_0x5edef2-0x1,_0x5edef2))!=CharCategory['Word'])return _0x5edef2;for(let _0x36145a of _0x28051f){let _0x5c0e8a=_0x5edef2-_0x36145a['length'];if(_0x48617b['sliceDoc'](_0x5c0e8a,_0x5edef2)==_0x36145a&&_0x5931c3(_0x48617b['sliceDoc'](_0x5c0e8a-0x1,_0x5c0e8a))!=CharCategory['Word'])return _0x5c0e8a;}return-0x1;}function autocompletion(_0x143e48={}){return[commitCharacters,completionState,completionConfig['of'](_0x143e48),completionPlugin,completionKeymapExt,_0x54a953];}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=_0x27d43b['highest'](_0x406ef3['computeN']([completionConfig],_0x3a185a=>_0x3a185a['facet'](completionConfig)['defaultKeymap']?[completionKeymap]:[]));class Stack{constructor(_0x262e63,_0x3c237c,_0x24b199,_0x3ee555,_0x43c2f2,_0x49150a,_0x3c08e2,_0x37467b,_0x43d07c,_0x148b89=0x0,_0x40a9e7){this['p']=_0x262e63,this['stack']=_0x3c237c,this['state']=_0x24b199,this['reducePos']=_0x3ee555,this['pos']=_0x43c2f2,this['score']=_0x49150a,this['buffer']=_0x3c08e2,this['bufferBase']=_0x37467b,this['curContext']=_0x43d07c,this['lookAhead']=_0x148b89,this['parent']=_0x40a9e7;}['toString'](){return'['+this['stack']['filter']((_0x2a2488,_0x47bebb)=>_0x47bebb%0x3==0x0)['concat'](this['state'])+']@'+this['pos']+(this['score']?'!'+this['score']:'');}static['start'](_0x571dd0,_0xef9f42,_0x2f4f00=0x0){let _0x5d5f23=_0x571dd0['parser']['context'];return new Stack(_0x571dd0,[],_0xef9f42,_0x2f4f00,_0x2f4f00,0x0,[],0x0,_0x5d5f23?new StackContext(_0x5d5f23,_0x5d5f23['start']):null,0x0,null);}get['context'](){return this['curContext']?this['curContext']['context']:null;}['pushState'](_0x1d6164,_0x39d38a){this['stack']['push'](this['state'],_0x39d38a,this['bufferBase']+this['buffer']['length']),this['state']=_0x1d6164;}['reduce'](_0x2b1942){var _0x3d994f;let _0x5e6629=_0x2b1942>>0x13,_0x18f32d=0xffff&_0x2b1942,{parser:_0xa3b509}=this['p'],_0x730de6=this['reducePos']<this['pos']-0x19;_0x730de6&&this['setLookAhead'](this['pos']);let _0x29498d=_0xa3b509['dynamicPrecedence'](_0x18f32d);if(_0x29498d&&(this['score']+=_0x29498d),0x0==_0x5e6629)return this['pushState'](_0xa3b509['getGoto'](this['state'],_0x18f32d,!0x0),this['reducePos']),_0x18f32d<_0xa3b509['minRepeatTerm']&&this['storeNode'](_0x18f32d,this['reducePos'],this['reducePos'],_0x730de6?0x8:0x4,!0x0),void this['reduceContext'](_0x18f32d,this['reducePos']);let _0x45f467=this['stack']['length']-0x3*(_0x5e6629-0x1)-(0x40000&_0x2b1942?0x6:0x0),_0x44c7f0=_0x45f467?this['stack'][_0x45f467-0x2]:this['p']['ranges'][0x0]['from'],_0x1befa5=this['reducePos']-_0x44c7f0;_0x1befa5>=0x7d0&&!(null===(_0x3d994f=this['p']['parser']['nodeSet']['types'][_0x18f32d])||void 0x0===_0x3d994f?void 0x0:_0x3d994f['isAnonymous'])&&(_0x44c7f0==this['p']['lastBigReductionStart']?(this['p']['bigReductionCount']++,this['p']['lastBigReductionSize']=_0x1befa5):this['p']['lastBigReductionSize']<_0x1befa5&&(this['p']['bigReductionCount']=0x1,this['p']['lastBigReductionStart']=_0x44c7f0,this['p']['lastBigReductionSize']=_0x1befa5));let _0x1c9b6f=_0x45f467?this['stack'][_0x45f467-0x1]:0x0,_0x1a4f3d=this['bufferBase']+this['buffer']['length']-_0x1c9b6f;if(_0x18f32d<_0xa3b509['minRepeatTerm']||0x20000&_0x2b1942){let _0x51c582=_0xa3b509['stateFlag'](this['state'],0x1)?this['pos']:this['reducePos'];this['storeNode'](_0x18f32d,_0x44c7f0,_0x51c582,_0x1a4f3d+0x4,!0x0);}if(0x40000&_0x2b1942)this['state']=this['stack'][_0x45f467];else{let _0x3c02eb=this['stack'][_0x45f467-0x3];this['state']=_0xa3b509['getGoto'](_0x3c02eb,_0x18f32d,!0x0);}for(;this['stack']['length']>_0x45f467;)this['stack']['pop']();this['reduceContext'](_0x18f32d,_0x44c7f0);}['storeNode'](_0x722ebc,_0x3cd555,_0x284a76,_0x1b1f13=0x4,_0xff2ea1=!0x1){if(0x0==_0x722ebc&&(!this['stack']['length']||this['stack'][this['stack']['length']-0x1]<this['buffer']['length']+this['bufferBase'])){let _0x5d0459=this,_0x16cee6=this['buffer']['length'];if(0x0==_0x16cee6&&_0x5d0459['parent']&&(_0x16cee6=_0x5d0459['bufferBase']-_0x5d0459['parent']['bufferBase'],_0x5d0459=_0x5d0459['parent']),_0x16cee6>0x0&&0x0==_0x5d0459['buffer'][_0x16cee6-0x4]&&_0x5d0459['buffer'][_0x16cee6-0x1]>-0x1){if(_0x3cd555==_0x284a76)return;if(_0x5d0459['buffer'][_0x16cee6-0x2]>=_0x3cd555)return void(_0x5d0459['buffer'][_0x16cee6-0x2]=_0x284a76);}}if(_0xff2ea1&&this['pos']!=_0x284a76){let _0x11a01d=this['buffer']['length'];if(_0x11a01d>0x0&&(0x0!=this['buffer'][_0x11a01d-0x4]||this['buffer'][_0x11a01d-0x1]<0x0)){let _0x3ae858=!0x1;for(let _0x3dcc95=_0x11a01d;_0x3dcc95>0x0&&this['buffer'][_0x3dcc95-0x2]>_0x284a76;_0x3dcc95-=0x4)if(this['buffer'][_0x3dcc95-0x1]>=0x0){_0x3ae858=!0x0;break;}if(_0x3ae858){for(;_0x11a01d>0x0&&this['buffer'][_0x11a01d-0x2]>_0x284a76;)this['buffer'][_0x11a01d]=this['buffer'][_0x11a01d-0x4],this['buffer'][_0x11a01d+0x1]=this['buffer'][_0x11a01d-0x3],this['buffer'][_0x11a01d+0x2]=this['buffer'][_0x11a01d-0x2],this['buffer'][_0x11a01d+0x3]=this['buffer'][_0x11a01d-0x1],_0x11a01d-=0x4,_0x1b1f13>0x4&&(_0x1b1f13-=0x4);}}this['buffer'][_0x11a01d]=_0x722ebc,this['buffer'][_0x11a01d+0x1]=_0x3cd555,this['buffer'][_0x11a01d+0x2]=_0x284a76,this['buffer'][_0x11a01d+0x3]=_0x1b1f13;}else this['buffer']['push'](_0x722ebc,_0x3cd555,_0x284a76,_0x1b1f13);}['shift'](_0x574764,_0xd4cab1,_0x13447a,_0x36a4bb){if(0x20000&_0x574764)this['pushState'](0xffff&_0x574764,this['pos']);else{if(0x40000&_0x574764)this['pos']=_0x36a4bb,this['shiftContext'](_0xd4cab1,_0x13447a),_0xd4cab1<=this['p']['parser']['maxNode']&&this['buffer']['push'](_0xd4cab1,_0x13447a,_0x36a4bb,0x4);else{let _0x3c22da=_0x574764,{parser:_0x27cf24}=this['p'];(_0x36a4bb>this['pos']||_0xd4cab1<=_0x27cf24['maxNode'])&&(this['pos']=_0x36a4bb,_0x27cf24['stateFlag'](_0x3c22da,0x1)||(this['reducePos']=_0x36a4bb)),this['pushState'](_0x3c22da,_0x13447a),this['shiftContext'](_0xd4cab1,_0x13447a),_0xd4cab1<=_0x27cf24['maxNode']&&this['buffer']['push'](_0xd4cab1,_0x13447a,_0x36a4bb,0x4);}}}['apply'](_0x131619,_0x4dad22,_0x147f21,_0x1c3630){0x10000&_0x131619?this['reduce'](_0x131619):this['shift'](_0x131619,_0x4dad22,_0x147f21,_0x1c3630);}['useNode'](_0x5ac3b2,_0x4efd40){let _0x3c2868=this['p']['reused']['length']-0x1;(_0x3c2868<0x0||this['p']['reused'][_0x3c2868]!=_0x5ac3b2)&&(this['p']['reused']['push'](_0x5ac3b2),_0x3c2868++);let _0xcd479a=this['pos'];this['reducePos']=this['pos']=_0xcd479a+_0x5ac3b2['length'],this['pushState'](_0x4efd40,_0xcd479a),this['buffer']['push'](_0x3c2868,_0xcd479a,this['reducePos'],-0x1),this['curContext']&&this['updateContext'](this['curContext']['tracker']['reuse'](this['curContext']['context'],_0x5ac3b2,this,this['p']['stream']['reset'](this['pos']-_0x5ac3b2['length'])));}['split'](){let _0xcef872=this,_0x5b7f7e=_0xcef872['buffer']['length'];for(;_0x5b7f7e>0x0&&_0xcef872['buffer'][_0x5b7f7e-0x2]>_0xcef872['reducePos'];)_0x5b7f7e-=0x4;let _0x34aa7c=_0xcef872['buffer']['slice'](_0x5b7f7e),_0xbaa22b=_0xcef872['bufferBase']+_0x5b7f7e;for(;_0xcef872&&_0xbaa22b==_0xcef872['bufferBase'];)_0xcef872=_0xcef872['parent'];return new Stack(this['p'],this['stack']['slice'](),this['state'],this['reducePos'],this['pos'],this['score'],_0x34aa7c,_0xbaa22b,this['curContext'],this['lookAhead'],_0xcef872);}['recoverByDelete'](_0x1e5cb3,_0x399afe){let _0x26d208=_0x1e5cb3<=this['p']['parser']['maxNode'];_0x26d208&&this['storeNode'](_0x1e5cb3,this['pos'],_0x399afe,0x4),this['storeNode'](0x0,this['pos'],_0x399afe,_0x26d208?0x8:0x4),this['pos']=this['reducePos']=_0x399afe,this['score']-=0xbe;}['canShift'](_0x2a37d6){for(let _0x4bbaab=new SimulatedStack(this);;){let _0x42a95b=this['p']['parser']['stateSlot'](_0x4bbaab['state'],0x4)||this['p']['parser']['hasAction'](_0x4bbaab['state'],_0x2a37d6);if(0x0==_0x42a95b)return!0x1;if(!(0x10000&_0x42a95b))return!0x0;_0x4bbaab['reduce'](_0x42a95b);}}['recoverByInsert'](_0x44a219){if(this['stack']['length']>=0x12c)return[];let _0x46dbe4=this['p']['parser']['nextStates'](this['state']);if(_0x46dbe4['length']>0x8||this['stack']['length']>=0x78){let _0xa353bc=[];for(let _0x56feee,_0x1a0fe6=0x0;_0x1a0fe6<_0x46dbe4['length'];_0x1a0fe6+=0x2)(_0x56feee=_0x46dbe4[_0x1a0fe6+0x1])!=this['state']&&this['p']['parser']['hasAction'](_0x56feee,_0x44a219)&&_0xa353bc['push'](_0x46dbe4[_0x1a0fe6],_0x56feee);if(this['stack']['length']<0x78)for(let _0x2d2787=0x0;_0xa353bc['length']<0x8&&_0x2d2787<_0x46dbe4['length'];_0x2d2787+=0x2){let _0x4f3c6d=_0x46dbe4[_0x2d2787+0x1];_0xa353bc['some']((_0x7c8ceb,_0xa84ebb)=>0x1&_0xa84ebb&&_0x7c8ceb==_0x4f3c6d)||_0xa353bc['push'](_0x46dbe4[_0x2d2787],_0x4f3c6d);}_0x46dbe4=_0xa353bc;}let _0x83f2a0=[];for(let _0x1fba8a=0x0;_0x1fba8a<_0x46dbe4['length']&&_0x83f2a0['length']<0x4;_0x1fba8a+=0x2){let _0x142958=_0x46dbe4[_0x1fba8a+0x1];if(_0x142958==this['state'])continue;let _0x5ed6a3=this['split']();_0x5ed6a3['pushState'](_0x142958,this['pos']),_0x5ed6a3['storeNode'](0x0,_0x5ed6a3['pos'],_0x5ed6a3['pos'],0x4,!0x0),_0x5ed6a3['shiftContext'](_0x46dbe4[_0x1fba8a],this['pos']),_0x5ed6a3['reducePos']=this['pos'],_0x5ed6a3['score']-=0xc8,_0x83f2a0['push'](_0x5ed6a3);}return _0x83f2a0;}['forceReduce'](){let {parser:_0xa00b98}=this['p'],_0x431710=_0xa00b98['stateSlot'](this['state'],0x5);if(!(0x10000&_0x431710))return!0x1;if(!_0xa00b98['validAction'](this['state'],_0x431710)){let _0x580a94=_0x431710>>0x13,_0x1b0af2=0xffff&_0x431710,_0x1c2379=this['stack']['length']-0x3*_0x580a94;if(_0x1c2379<0x0||_0xa00b98['getGoto'](this['stack'][_0x1c2379],_0x1b0af2,!0x1)<0x0){let _0x1119be=this['findForcedReduction']();if(null==_0x1119be)return!0x1;_0x431710=_0x1119be;}this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['score']-=0x64;}return this['reducePos']=this['pos'],this['reduce'](_0x431710),!0x0;}['findForcedReduction'](){let {parser:_0x31e9e1}=this['p'],_0x1350e6=[],_0x1830fd=(_0x413b37,_0x23be26)=>{if(!_0x1350e6['includes'](_0x413b37))return _0x1350e6['push'](_0x413b37),_0x31e9e1['allActions'](_0x413b37,_0x9602ab=>{if(0x60000&_0x9602ab);else{if(0x10000&_0x9602ab){let _0x24b327=(_0x9602ab>>0x13)-_0x23be26;if(_0x24b327>0x1){let _0x449be8=0xffff&_0x9602ab,_0xf71305=this['stack']['length']-0x3*_0x24b327;if(_0xf71305>=0x0&&_0x31e9e1['getGoto'](this['stack'][_0xf71305],_0x449be8,!0x1)>=0x0)return _0x24b327<<0x13|0x10000|_0x449be8;}}else{let _0x14614c=_0x1830fd(_0x9602ab,_0x23be26+0x1);if(null!=_0x14614c)return _0x14614c;}}});};return _0x1830fd(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:_0x741679}=this['p'];return 0xffff==_0x741679['data'][_0x741679['stateSlot'](this['state'],0x1)]&&!_0x741679['stateSlot'](this['state'],0x4);}['restart'](){this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['state']=this['stack'][0x0],this['stack']['length']=0x0;}['sameState'](_0x98908e){if(this['state']!=_0x98908e['state']||this['stack']['length']!=_0x98908e['stack']['length'])return!0x1;for(let _0x4c3d7d=0x0;_0x4c3d7d<this['stack']['length'];_0x4c3d7d+=0x3)if(this['stack'][_0x4c3d7d]!=_0x98908e['stack'][_0x4c3d7d])return!0x1;return!0x0;}get['parser'](){return this['p']['parser'];}['dialectEnabled'](_0x39992c){return this['p']['parser']['dialect']['flags'][_0x39992c];}['shiftContext'](_0x6a7c4e,_0x2cab8c){this['curContext']&&this['updateContext'](this['curContext']['tracker']['shift'](this['curContext']['context'],_0x6a7c4e,this,this['p']['stream']['reset'](_0x2cab8c)));}['reduceContext'](_0x327564,_0x25006a){this['curContext']&&this['updateContext'](this['curContext']['tracker']['reduce'](this['curContext']['context'],_0x327564,this,this['p']['stream']['reset'](_0x25006a)));}['emitContext'](){let _0x193672=this['buffer']['length']-0x1;(_0x193672<0x0||-0x3!=this['buffer'][_0x193672])&&this['buffer']['push'](this['curContext']['hash'],this['pos'],this['pos'],-0x3);}['emitLookAhead'](){let _0x4cc47f=this['buffer']['length']-0x1;(_0x4cc47f<0x0||-0x4!=this['buffer'][_0x4cc47f])&&this['buffer']['push'](this['lookAhead'],this['pos'],this['pos'],-0x4);}['updateContext'](_0x35f4e8){if(_0x35f4e8!=this['curContext']['context']){let _0x1fa76e=new StackContext(this['curContext']['tracker'],_0x35f4e8);_0x1fa76e['hash']!=this['curContext']['hash']&&this['emitContext'](),this['curContext']=_0x1fa76e;}}['setLookAhead'](_0x52800c){_0x52800c>this['lookAhead']&&(this['emitLookAhead'](),this['lookAhead']=_0x52800c);}['close'](){this['curContext']&&this['curContext']['tracker']['strict']&&this['emitContext'](),this['lookAhead']>0x0&&this['emitLookAhead']();}}class StackContext{constructor(_0x521e72,_0xf97898){this['tracker']=_0x521e72,this['context']=_0xf97898,this['hash']=_0x521e72['strict']?_0x521e72['hash'](_0xf97898):0x0;}}class SimulatedStack{constructor(_0x22d106){this['start']=_0x22d106,this['state']=_0x22d106['state'],this['stack']=_0x22d106['stack'],this['base']=this['stack']['length'];}['reduce'](_0x3403b3){let _0x6ab40b=0xffff&_0x3403b3,_0x3c2066=_0x3403b3>>0x13;0x0==_0x3c2066?(this['stack']==this['start']['stack']&&(this['stack']=this['stack']['slice']()),this['stack']['push'](this['state'],0x0,0x0),this['base']+=0x3):this['base']-=0x3*(_0x3c2066-0x1);let _0x5c5086=this['start']['p']['parser']['getGoto'](this['stack'][this['base']-0x3],_0x6ab40b,!0x0);this['state']=_0x5c5086;}}class StackBufferCursor{constructor(_0x131d0d,_0x971309,_0x4f4266){this['stack']=_0x131d0d,this['pos']=_0x971309,this['index']=_0x4f4266,this['buffer']=_0x131d0d['buffer'],0x0==this['index']&&this['maybeNext']();}static['create'](_0xcdb4f9,_0x36c1a7=_0xcdb4f9['bufferBase']+_0xcdb4f9['buffer']['length']){return new StackBufferCursor(_0xcdb4f9,_0x36c1a7,_0x36c1a7-_0xcdb4f9['bufferBase']);}['maybeNext'](){let _0x5a221d=this['stack']['parent'];null!=_0x5a221d&&(this['index']=this['stack']['bufferBase']-_0x5a221d['bufferBase'],this['stack']=_0x5a221d,this['buffer']=_0x5a221d['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 _0x562cf9(_0x5b6646,_0x36c486=Uint16Array){if('string'!=typeof _0x5b6646)return _0x5b6646;let _0x3e0f63=null;for(let _0x55a1af=0x0,_0xea0254=0x0;_0x55a1af<_0x5b6646['length'];){let _0x154a00=0x0;for(;;){let _0x5a05be=_0x5b6646['charCodeAt'](_0x55a1af++),_0x416157=!0x1;if(0x7e==_0x5a05be){_0x154a00=0xffff;break;}_0x5a05be>=0x5c&&_0x5a05be--,_0x5a05be>=0x22&&_0x5a05be--;let _0x10267c=_0x5a05be-0x20;if(_0x10267c>=0x2e&&(_0x10267c-=0x2e,_0x416157=!0x0),_0x154a00+=_0x10267c,_0x416157)break;_0x154a00*=0x2e;}_0x3e0f63?_0x3e0f63[_0xea0254++]=_0x154a00:_0x3e0f63=new _0x36c486(_0x154a00);}return _0x3e0f63;}class _0x1097ac{constructor(){this['start']=-0x1,this['value']=-0x1,this['end']=-0x1,this['extended']=-0x1,this['lookAhead']=0x0,this['mask']=0x0,this['context']=0x0;}}const _0x2d958f=new _0x1097ac();class InputStream{constructor(_0x536e55,_0x1d3ba1){this['input']=_0x536e55,this['ranges']=_0x1d3ba1,this['chunk']='',this['chunkOff']=0x0,this['chunk2']='',this['chunk2Pos']=0x0,this['next']=-0x1,this['token']=_0x2d958f,this['rangeIndex']=0x0,this['pos']=this['chunkPos']=_0x1d3ba1[0x0]['from'],this['range']=_0x1d3ba1[0x0],this['end']=_0x1d3ba1[_0x1d3ba1['length']-0x1]['to'],this['readNext']();}['resolveOffset'](_0xf7747f,_0x55a6b7){let _0x350438=this['range'],_0x5eeef8=this['rangeIndex'],_0x46bb08=this['pos']+_0xf7747f;for(;_0x46bb08<_0x350438['from'];){if(!_0x5eeef8)return null;let _0x48e014=this['ranges'][--_0x5eeef8];_0x46bb08-=_0x350438['from']-_0x48e014['to'],_0x350438=_0x48e014;}for(;_0x55a6b7<0x0?_0x46bb08>_0x350438['to']:_0x46bb08>=_0x350438['to'];){if(_0x5eeef8==this['ranges']['length']-0x1)return null;let _0x4036e5=this['ranges'][++_0x5eeef8];_0x46bb08+=_0x4036e5['from']-_0x350438['to'],_0x350438=_0x4036e5;}return _0x46bb08;}['clipPos'](_0x1e626b){if(_0x1e626b>=this['range']['from']&&_0x1e626b<this['range']['to'])return _0x1e626b;for(let _0x59f80d of this['ranges'])if(_0x59f80d['to']>_0x1e626b)return Math['max'](_0x1e626b,_0x59f80d['from']);return this['end'];}['peek'](_0x58b250){let _0x1f3d05,_0x475018,_0x51d15d=this['chunkOff']+_0x58b250;if(_0x51d15d>=0x0&&_0x51d15d<this['chunk']['length'])_0x1f3d05=this['pos']+_0x58b250,_0x475018=this['chunk']['charCodeAt'](_0x51d15d);else{let _0x3e3c4f=this['resolveOffset'](_0x58b250,0x1);if(null==_0x3e3c4f)return-0x1;if(_0x1f3d05=_0x3e3c4f,_0x1f3d05>=this['chunk2Pos']&&_0x1f3d05<this['chunk2Pos']+this['chunk2']['length'])_0x475018=this['chunk2']['charCodeAt'](_0x1f3d05-this['chunk2Pos']);else{let _0x19842d=this['rangeIndex'],_0x253425=this['range'];for(;_0x253425['to']<=_0x1f3d05;)_0x253425=this['ranges'][++_0x19842d];this['chunk2']=this['input']['chunk'](this['chunk2Pos']=_0x1f3d05),_0x1f3d05+this['chunk2']['length']>_0x253425['to']&&(this['chunk2']=this['chunk2']['slice'](0x0,_0x253425['to']-_0x1f3d05)),_0x475018=this['chunk2']['charCodeAt'](0x0);}}return _0x1f3d05>=this['token']['lookAhead']&&(this['token']['lookAhead']=_0x1f3d05+0x1),_0x475018;}['acceptToken'](_0x29ff87,_0x2b8987=0x0){let _0x7edf8e=_0x2b8987?this['resolveOffset'](_0x2b8987,-0x1):this['pos'];if(null==_0x7edf8e||_0x7edf8e<this['token']['start'])throw new RangeError('Token\x20end\x20out\x20of\x20bounds');this['token']['value']=_0x29ff87,this['token']['end']=_0x7edf8e;}['acceptTokenTo'](_0x5e3acc,_0x1cceeb){this['token']['value']=_0x5e3acc,this['token']['end']=_0x1cceeb;}['getChunk'](){if(this['pos']>=this['chunk2Pos']&&this['pos']<this['chunk2Pos']+this['chunk2']['length']){let {chunk:_0x23f2eb,chunkPos:_0x2a4876}=this;this['chunk']=this['chunk2'],this['chunkPos']=this['chunk2Pos'],this['chunk2']=_0x23f2eb,this['chunk2Pos']=_0x2a4876,this['chunkOff']=this['pos']-this['chunkPos'];}else{this['chunk2']=this['chunk'],this['chunk2Pos']=this['chunkPos'];let _0x3ba1cc=this['input']['chunk'](this['pos']),_0x409750=this['pos']+_0x3ba1cc['length'];this['chunk']=_0x409750>this['range']['to']?_0x3ba1cc['slice'](0x0,this['range']['to']-this['pos']):_0x3ba1cc,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'](_0x5d8498=0x1){for(this['chunkOff']+=_0x5d8498;this['pos']+_0x5d8498>=this['range']['to'];){if(this['rangeIndex']==this['ranges']['length']-0x1)return this['setDone']();_0x5d8498-=this['range']['to']-this['pos'],this['range']=this['ranges'][++this['rangeIndex']],this['pos']=this['range']['from'];}return this['pos']+=_0x5d8498,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'](_0x24f30a,_0x50d531){if(_0x50d531?(this['token']=_0x50d531,_0x50d531['start']=_0x24f30a,_0x50d531['lookAhead']=_0x24f30a+0x1,_0x50d531['value']=_0x50d531['extended']=-0x1):this['token']=_0x2d958f,this['pos']!=_0x24f30a){if(this['pos']=_0x24f30a,_0x24f30a==this['end'])return this['setDone'](),this;for(;_0x24f30a<this['range']['from'];)this['range']=this['ranges'][--this['rangeIndex']];for(;_0x24f30a>=this['range']['to'];)this['range']=this['ranges'][++this['rangeIndex']];_0x24f30a>=this['chunkPos']&&_0x24f30a<this['chunkPos']+this['chunk']['length']?this['chunkOff']=_0x24f30a-this['chunkPos']:(this['chunk']='',this['chunkOff']=0x0),this['readNext']();}return this;}['read'](_0x5de3c7,_0x362651){if(_0x5de3c7>=this['chunkPos']&&_0x362651<=this['chunkPos']+this['chunk']['length'])return this['chunk']['slice'](_0x5de3c7-this['chunkPos'],_0x362651-this['chunkPos']);if(_0x5de3c7>=this['chunk2Pos']&&_0x362651<=this['chunk2Pos']+this['chunk2']['length'])return this['chunk2']['slice'](_0x5de3c7-this['chunk2Pos'],_0x362651-this['chunk2Pos']);if(_0x5de3c7>=this['range']['from']&&_0x362651<=this['range']['to'])return this['input']['read'](_0x5de3c7,_0x362651);let _0x323e92='';for(let _0x2a51bf of this['ranges']){if(_0x2a51bf['from']>=_0x362651)break;_0x2a51bf['to']>_0x5de3c7&&(_0x323e92+=this['input']['read'](Math['max'](_0x2a51bf['from'],_0x5de3c7),Math['min'](_0x2a51bf['to'],_0x362651)));}return _0x323e92;}}class _0x46e516{constructor(_0x5d2cd6,_0x515946){this['data']=_0x5d2cd6,this['id']=_0x515946;}['token'](_0x424be4,_0x11bd1a){let {parser:_0x1f679d}=_0x11bd1a['p'];_0x5dcd96(this['data'],_0x424be4,_0x11bd1a,this['id'],_0x1f679d['data'],_0x1f679d['tokenPrecTable']);}}_0x46e516['prototype']['contextual']=_0x46e516['prototype']['fallback']=_0x46e516['prototype']['extend']=!0x1;class _0x3038a9{constructor(_0x3a64ce,_0x5b561d,_0x15b222){this['precTable']=_0x5b561d,this['elseToken']=_0x15b222,this['data']='string'==typeof _0x3a64ce?_0x562cf9(_0x3a64ce):_0x3a64ce;}['token'](_0x2c24e5,_0x32dbe6){let _0x2bc9f6=_0x2c24e5['pos'],_0x59def5=0x0;for(;;){let _0x4d90be=_0x2c24e5['next']<0x0,_0x2b2760=_0x2c24e5['resolveOffset'](0x1,0x1);if(_0x5dcd96(this['data'],_0x2c24e5,_0x32dbe6,0x0,this['data'],this['precTable']),_0x2c24e5['token']['value']>-0x1)break;if(null==this['elseToken'])return;if(_0x4d90be||_0x59def5++,null==_0x2b2760)break;_0x2c24e5['reset'](_0x2b2760,_0x2c24e5['token']);}_0x59def5&&(_0x2c24e5['reset'](_0x2bc9f6,_0x2c24e5['token']),_0x2c24e5['acceptToken'](this['elseToken'],_0x59def5));}}_0x3038a9['prototype']['contextual']=_0x46e516['prototype']['fallback']=_0x46e516['prototype']['extend']=!0x1;class ExternalTokenizer{constructor(_0x12c4f9,_0x4fdb11={}){this['token']=_0x12c4f9,this['contextual']=!!_0x4fdb11['contextual'],this['fallback']=!!_0x4fdb11['fallback'],this['extend']=!!_0x4fdb11['extend'];}}function _0x5dcd96(_0x457d8a,_0x4ee153,_0x33488b,_0x17e82c,_0x356eec,_0x35912a){let _0x364fb1=0x0,_0x356545=0x1<<_0x17e82c,{dialect:_0x4ea2a4}=_0x33488b['p']['parser'];t:for(;0x0!=(_0x356545&_0x457d8a[_0x364fb1]);){let _0x507050=_0x457d8a[_0x364fb1+0x1];for(let _0x4f49b7=_0x364fb1+0x3;_0x4f49b7<_0x507050;_0x4f49b7+=0x2)if((_0x457d8a[_0x4f49b7+0x1]&_0x356545)>0x0){let _0x405782=_0x457d8a[_0x4f49b7];if(_0x4ea2a4['allows'](_0x405782)&&(-0x1==_0x4ee153['token']['value']||_0x4ee153['token']['value']==_0x405782||_0x5ac113(_0x405782,_0x4ee153['token']['value'],_0x356eec,_0x35912a))){_0x4ee153['acceptToken'](_0x405782);break;}}let _0x319d24=_0x4ee153['next'],_0x1781f3=0x0,_0x3a65e4=_0x457d8a[_0x364fb1+0x2];if(!(_0x4ee153['next']<0x0&&_0x3a65e4>_0x1781f3&&0xffff==_0x457d8a[_0x507050+0x3*_0x3a65e4-0x3])){for(;_0x1781f3<_0x3a65e4;){let _0x1669a8=_0x1781f3+_0x3a65e4>>0x1,_0x27377b=_0x507050+_0x1669a8+(_0x1669a8<<0x1),_0x279b18=_0x457d8a[_0x27377b],_0x3cf5b9=_0x457d8a[_0x27377b+0x1]||0x10000;if(_0x319d24<_0x279b18)_0x3a65e4=_0x1669a8;else{if(!(_0x319d24>=_0x3cf5b9)){_0x364fb1=_0x457d8a[_0x27377b+0x2],_0x4ee153['advance']();continue t;}_0x1781f3=_0x1669a8+0x1;}}break;}_0x364fb1=_0x457d8a[_0x507050+0x3*_0x3a65e4-0x1];}}function findOffset(_0x3beef5,_0x13ecd3,_0x3e902b){for(let _0x5e027a,_0x78d89e=_0x13ecd3;0xffff!=(_0x5e027a=_0x3beef5[_0x78d89e]);_0x78d89e++)if(_0x5e027a==_0x3e902b)return _0x78d89e-_0x13ecd3;return-0x1;}function _0x5ac113(_0x2bb58a,_0x497ff7,_0x2e700e,_0xe12168){let _0xb88c63=findOffset(_0x2e700e,_0xe12168,_0x497ff7);return _0xb88c63<0x0||findOffset(_0x2e700e,_0xe12168,_0x2bb58a)<_0xb88c63;}const _0x59c5c1='undefined'!=typeof process&&process['env']&&/\bparse\b/['test'](process['env']['LOG']);let stackIDs=null;function cutAt(_0x1087ba,_0x42985d,_0x2732e7){let _0xfa026e=_0x1087ba['cursor'](IterMode['IncludeAnonymous']);for(_0xfa026e['moveTo'](_0x42985d);;)if(!(_0x2732e7<0x0?_0xfa026e['childBefore'](_0x42985d):_0xfa026e['childAfter'](_0x42985d)))for(;;){if((_0x2732e7<0x0?_0xfa026e['to']<_0x42985d:_0xfa026e['from']>_0x42985d)&&!_0xfa026e['type']['isError'])return _0x2732e7<0x0?Math['max'](0x0,Math['min'](_0xfa026e['to']-0x1,_0x42985d-0x19)):Math['min'](_0x1087ba['length'],Math['max'](_0xfa026e['from']+0x1,_0x42985d+0x19));if(_0x2732e7<0x0?_0xfa026e['prevSibling']():_0xfa026e['nextSibling']())break;if(!_0xfa026e['parent']())return _0x2732e7<0x0?0x0:_0x1087ba['length'];}}let FragmentCursor$1=class{constructor(_0x2b94de,_0x1af10c){this['fragments']=_0x2b94de,this['nodeSet']=_0x1af10c,this['i']=0x0,this['fragment']=null,this['safeFrom']=-0x1,this['safeTo']=-0x1,this['trees']=[],this['start']=[],this['index']=[],this['nextFragment']();}['nextFragment'](){let _0x43737a=this['fragment']=this['i']==this['fragments']['length']?null:this['fragments'][this['i']++];if(_0x43737a){for(this['safeFrom']=_0x43737a['openStart']?cutAt(_0x43737a['tree'],_0x43737a['from']+_0x43737a['offset'],0x1)-_0x43737a['offset']:_0x43737a['from'],this['safeTo']=_0x43737a['openEnd']?cutAt(_0x43737a['tree'],_0x43737a['to']+_0x43737a['offset'],-0x1)-_0x43737a['offset']:_0x43737a['to'];this['trees']['length'];)this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();this['trees']['push'](_0x43737a['tree']),this['start']['push'](-_0x43737a['offset']),this['index']['push'](0x0),this['nextStart']=this['safeFrom'];}else this['nextStart']=0x3b9aca00;}['nodeAt'](_0x134884){if(_0x134884<this['nextStart'])return null;for(;this['fragment']&&this['safeTo']<=_0x134884;)this['nextFragment']();if(!this['fragment'])return null;for(;;){let _0x147911=this['trees']['length']-0x1;if(_0x147911<0x0)return this['nextFragment'](),null;let _0xa47b13=this['trees'][_0x147911],_0x466112=this['index'][_0x147911];if(_0x466112==_0xa47b13['children']['length']){this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();continue;}let _0x3fd529=_0xa47b13['children'][_0x466112],_0x2710e5=this['start'][_0x147911]+_0xa47b13['positions'][_0x466112];if(_0x2710e5>_0x134884)return this['nextStart']=_0x2710e5,null;if(_0x3fd529 instanceof _0x2701ca){if(_0x2710e5==_0x134884){if(_0x2710e5<this['safeFrom'])return null;let _0x3851b2=_0x2710e5+_0x3fd529['length'];if(_0x3851b2<=this['safeTo']){let _0x458cf8=_0x3fd529['prop'](_0x4ee311['lookAhead']);if(!_0x458cf8||_0x3851b2+_0x458cf8<this['fragment']['to'])return _0x3fd529;}}this['index'][_0x147911]++,_0x2710e5+_0x3fd529['length']>=Math['max'](this['safeFrom'],_0x134884)&&(this['trees']['push'](_0x3fd529),this['start']['push'](_0x2710e5),this['index']['push'](0x0));}else this['index'][_0x147911]++,this['nextStart']=_0x2710e5+_0x3fd529['length'];}}};class _0x51d2be{constructor(_0x295c8c,_0x3cdf25){this['stream']=_0x3cdf25,this['tokens']=[],this['mainToken']=null,this['actions']=[],this['tokens']=_0x295c8c['tokenizers']['map'](_0x38a65f=>new _0x1097ac());}['getActions'](_0x4970d1){let _0x51e0ab=0x0,_0x332f07=null,{parser:_0x14740a}=_0x4970d1['p'],{tokenizers:_0x186879}=_0x14740a,_0x4485f9=_0x14740a['stateSlot'](_0x4970d1['state'],0x3),_0x450c73=_0x4970d1['curContext']?_0x4970d1['curContext']['hash']:0x0,_0x226f60=0x0;for(let _0x3375a9=0x0;_0x3375a9<_0x186879['length'];_0x3375a9++){if(!(0x1<<_0x3375a9&_0x4485f9))continue;let _0x2b5dc8=_0x186879[_0x3375a9],_0x516404=this['tokens'][_0x3375a9];if((!_0x332f07||_0x2b5dc8['fallback'])&&((_0x2b5dc8['contextual']||_0x516404['start']!=_0x4970d1['pos']||_0x516404['mask']!=_0x4485f9||_0x516404['context']!=_0x450c73)&&(this['updateCachedToken'](_0x516404,_0x2b5dc8,_0x4970d1),_0x516404['mask']=_0x4485f9,_0x516404['context']=_0x450c73),_0x516404['lookAhead']>_0x516404['end']+0x19&&(_0x226f60=Math['max'](_0x516404['lookAhead'],_0x226f60)),0x0!=_0x516404['value'])){let _0x61e395=_0x51e0ab;if(_0x516404['extended']>-0x1&&(_0x51e0ab=this['addActions'](_0x4970d1,_0x516404['extended'],_0x516404['end'],_0x51e0ab)),_0x51e0ab=this['addActions'](_0x4970d1,_0x516404['value'],_0x516404['end'],_0x51e0ab),!_0x2b5dc8['extend']&&(_0x332f07=_0x516404,_0x51e0ab>_0x61e395))break;}}for(;this['actions']['length']>_0x51e0ab;)this['actions']['pop']();return _0x226f60&&_0x4970d1['setLookAhead'](_0x226f60),_0x332f07||_0x4970d1['pos']!=this['stream']['end']||(_0x332f07=new _0x1097ac(),_0x332f07['value']=_0x4970d1['p']['parser']['eofTerm'],_0x332f07['start']=_0x332f07['end']=_0x4970d1['pos'],_0x51e0ab=this['addActions'](_0x4970d1,_0x332f07['value'],_0x332f07['end'],_0x51e0ab)),this['mainToken']=_0x332f07,this['actions'];}['getMainToken'](_0xe9d646){if(this['mainToken'])return this['mainToken'];let _0x46e946=new _0x1097ac(),{pos:_0xc88578,p:_0x1540f3}=_0xe9d646;return _0x46e946['start']=_0xc88578,_0x46e946['end']=Math['min'](_0xc88578+0x1,_0x1540f3['stream']['end']),_0x46e946['value']=_0xc88578==_0x1540f3['stream']['end']?_0x1540f3['parser']['eofTerm']:0x0,_0x46e946;}['updateCachedToken'](_0x1abc1f,_0x28ac35,_0x483494){let _0x307bda=this['stream']['clipPos'](_0x483494['pos']);if(_0x28ac35['token'](this['stream']['reset'](_0x307bda,_0x1abc1f),_0x483494),_0x1abc1f['value']>-0x1){let {parser:_0x4a7ad5}=_0x483494['p'];for(let _0xf5b93e=0x0;_0xf5b93e<_0x4a7ad5['specialized']['length'];_0xf5b93e++)if(_0x4a7ad5['specialized'][_0xf5b93e]==_0x1abc1f['value']){let _0x267b01=_0x4a7ad5['specializers'][_0xf5b93e](this['stream']['read'](_0x1abc1f['start'],_0x1abc1f['end']),_0x483494);if(_0x267b01>=0x0&&_0x483494['p']['parser']['dialect']['allows'](_0x267b01>>0x1)){0x1&_0x267b01?_0x1abc1f['extended']=_0x267b01>>0x1:_0x1abc1f['value']=_0x267b01>>0x1;break;}}}else _0x1abc1f['value']=0x0,_0x1abc1f['end']=this['stream']['clipPos'](_0x307bda+0x1);}['putAction'](_0x3ad51b,_0x5bcd26,_0x1a5927,_0x4a8f6c){for(let _0x14214a=0x0;_0x14214a<_0x4a8f6c;_0x14214a+=0x3)if(this['actions'][_0x14214a]==_0x3ad51b)return _0x4a8f6c;return this['actions'][_0x4a8f6c++]=_0x3ad51b,this['actions'][_0x4a8f6c++]=_0x5bcd26,this['actions'][_0x4a8f6c++]=_0x1a5927,_0x4a8f6c;}['addActions'](_0x2ae22c,_0x3d6dea,_0x2e7b1b,_0x4548cc){let {state:_0x3e37f6}=_0x2ae22c,{parser:_0x58b676}=_0x2ae22c['p'],{data:_0x10474c}=_0x58b676;for(let _0x121d37=0x0;_0x121d37<0x2;_0x121d37++)for(let _0x47dcfd=_0x58b676['stateSlot'](_0x3e37f6,_0x121d37?0x2:0x1);;_0x47dcfd+=0x3){if(0xffff==_0x10474c[_0x47dcfd]){if(0x1!=_0x10474c[_0x47dcfd+0x1]){0x0==_0x4548cc&&0x2==_0x10474c[_0x47dcfd+0x1]&&(_0x4548cc=this['putAction'](_0xe3db88(_0x10474c,_0x47dcfd+0x2),_0x3d6dea,_0x2e7b1b,_0x4548cc));break;}_0x47dcfd=_0xe3db88(_0x10474c,_0x47dcfd+0x2);}_0x10474c[_0x47dcfd]==_0x3d6dea&&(_0x4548cc=this['putAction'](_0xe3db88(_0x10474c,_0x47dcfd+0x1),_0x3d6dea,_0x2e7b1b,_0x4548cc));}return _0x4548cc;}}class _0xa96e51{constructor(_0x3b42b9,_0x203b11,_0x45aa4a,_0x45d64f){this['parser']=_0x3b42b9,this['input']=_0x203b11,this['ranges']=_0x45d64f,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(_0x203b11,_0x45d64f),this['tokens']=new _0x51d2be(_0x3b42b9,this['stream']),this['topTerm']=_0x3b42b9['top'][0x1];let {from:_0x141244}=_0x45d64f[0x0];this['stacks']=[Stack['start'](this,_0x3b42b9['top'][0x0],_0x141244)],this['fragments']=_0x45aa4a['length']&&this['stream']['end']-_0x141244>0x4*_0x3b42b9['bufferLength']?new FragmentCursor$1(_0x45aa4a,_0x3b42b9['nodeSet']):null;}get['parsedPos'](){return this['minStackPos'];}['advance'](){let _0x380a21,_0xc4e62e,_0x524a6e=this['stacks'],_0x228e4f=this['minStackPos'],_0x49a116=this['stacks']=[];if(this['bigReductionCount']>0x12c&&0x1==_0x524a6e['length']){let [_0x125934]=_0x524a6e;for(;_0x125934['forceReduce']()&&_0x125934['stack']['length']&&_0x125934['stack'][_0x125934['stack']['length']-0x2]>=this['lastBigReductionStart'];);this['bigReductionCount']=this['lastBigReductionSize']=0x0;}for(let _0x3d1b60=0x0;_0x3d1b60<_0x524a6e['length'];_0x3d1b60++){let _0x589a69=_0x524a6e[_0x3d1b60];for(;;){if(this['tokens']['mainToken']=null,_0x589a69['pos']>_0x228e4f)_0x49a116['push'](_0x589a69);else{if(this['advanceStack'](_0x589a69,_0x49a116,_0x524a6e))continue;{_0x380a21||(_0x380a21=[],_0xc4e62e=[]),_0x380a21['push'](_0x589a69);let _0x3c67c3=this['tokens']['getMainToken'](_0x589a69);_0xc4e62e['push'](_0x3c67c3['value'],_0x3c67c3['end']);}}break;}}if(!_0x49a116['length']){let _0x502ef1=_0x380a21&&_0x1da0e7(_0x380a21);if(_0x502ef1)return _0x59c5c1&&console['log']('Finish\x20with\x20'+this['stackID'](_0x502ef1)),this['stackToTree'](_0x502ef1);if(this['parser']['strict'])throw _0x59c5c1&&_0x380a21&&console['log']('Stuck\x20with\x20token\x20'+(this['tokens']['mainToken']?this['parser']['getName'](this['tokens']['mainToken']['value']):'none')),new SyntaxError('No\x20parse\x20at\x20'+_0x228e4f);this['recovering']||(this['recovering']=0x5);}if(this['recovering']&&_0x380a21){let _0x10ec9b=null!=this['stoppedAt']&&_0x380a21[0x0]['pos']>this['stoppedAt']?_0x380a21[0x0]:this['runRecovery'](_0x380a21,_0xc4e62e,_0x49a116);if(_0x10ec9b)return _0x59c5c1&&console['log']('Force-finish\x20'+this['stackID'](_0x10ec9b)),this['stackToTree'](_0x10ec9b['forceAll']());}if(this['recovering']){let _0xab90ed=0x1==this['recovering']?0x1:0x3*this['recovering'];if(_0x49a116['length']>_0xab90ed){for(_0x49a116['sort']((_0x298c76,_0x3ea423)=>_0x3ea423['score']-_0x298c76['score']);_0x49a116['length']>_0xab90ed;)_0x49a116['pop']();}_0x49a116['some'](_0x4c0d90=>_0x4c0d90['reducePos']>_0x228e4f)&&this['recovering']--;}else{if(_0x49a116['length']>0x1){t:for(let _0x32ccec=0x0;_0x32ccec<_0x49a116['length']-0x1;_0x32ccec++){let _0x4a82e9=_0x49a116[_0x32ccec];for(let _0xd9fd38=_0x32ccec+0x1;_0xd9fd38<_0x49a116['length'];_0xd9fd38++){let _0x2f68c2=_0x49a116[_0xd9fd38];if(_0x4a82e9['sameState'](_0x2f68c2)||_0x4a82e9['buffer']['length']>0x1f4&&_0x2f68c2['buffer']['length']>0x1f4){if(!((_0x4a82e9['score']-_0x2f68c2['score']||_0x4a82e9['buffer']['length']-_0x2f68c2['buffer']['length'])>0x0)){_0x49a116['splice'](_0x32ccec--,0x1);continue t;}_0x49a116['splice'](_0xd9fd38--,0x1);}}}_0x49a116['length']>0xc&&_0x49a116['splice'](0xc,_0x49a116['length']-0xc);}}this['minStackPos']=_0x49a116[0x0]['pos'];for(let _0x1d0823=0x1;_0x1d0823<_0x49a116['length'];_0x1d0823++)_0x49a116[_0x1d0823]['pos']<this['minStackPos']&&(this['minStackPos']=_0x49a116[_0x1d0823]['pos']);return null;}['stopAt'](_0x1b63f7){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x1b63f7)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x1b63f7;}['advanceStack'](_0x3bbd29,_0x3c0986,_0x33849e){let _0x294c3b=_0x3bbd29['pos'],{parser:_0x13eb38}=this,_0x171a41=_0x59c5c1?this['stackID'](_0x3bbd29)+'\x20->\x20':'';if(null!=this['stoppedAt']&&_0x294c3b>this['stoppedAt'])return _0x3bbd29['forceReduce']()?_0x3bbd29:null;if(this['fragments']){let _0x336c34=_0x3bbd29['curContext']&&_0x3bbd29['curContext']['tracker']['strict'],_0x15e914=_0x336c34?_0x3bbd29['curContext']['hash']:0x0;for(let _0x1c5d0b=this['fragments']['nodeAt'](_0x294c3b);_0x1c5d0b;){let _0x5a0079=this['parser']['nodeSet']['types'][_0x1c5d0b['type']['id']]==_0x1c5d0b['type']?_0x13eb38['getGoto'](_0x3bbd29['state'],_0x1c5d0b['type']['id']):-0x1;if(_0x5a0079>-0x1&&_0x1c5d0b['length']&&(!_0x336c34||(_0x1c5d0b['prop'](_0x4ee311['contextHash'])||0x0)==_0x15e914))return _0x3bbd29['useNode'](_0x1c5d0b,_0x5a0079),_0x59c5c1&&console['log'](_0x171a41+this['stackID'](_0x3bbd29)+('\x20(via\x20reuse\x20of\x20'+_0x13eb38['getName'](_0x1c5d0b['type']['id'])+')')),!0x0;if(!(_0x1c5d0b instanceof _0x2701ca)||0x0==_0x1c5d0b['children']['length']||_0x1c5d0b['positions'][0x0]>0x0)break;let _0x53a45c=_0x1c5d0b['children'][0x0];if(!(_0x53a45c instanceof _0x2701ca&&0x0==_0x1c5d0b['positions'][0x0]))break;_0x1c5d0b=_0x53a45c;}}let _0x5b6674=_0x13eb38['stateSlot'](_0x3bbd29['state'],0x4);if(_0x5b6674>0x0)return _0x3bbd29['reduce'](_0x5b6674),_0x59c5c1&&console['log'](_0x171a41+this['stackID'](_0x3bbd29)+('\x20(via\x20always-reduce\x20'+_0x13eb38['getName'](0xffff&_0x5b6674)+')')),!0x0;if(_0x3bbd29['stack']['length']>=0x20d0){for(;_0x3bbd29['stack']['length']>0x1770&&_0x3bbd29['forceReduce'](););}let _0x4ac157=this['tokens']['getActions'](_0x3bbd29);for(let _0x5309a4=0x0;_0x5309a4<_0x4ac157['length'];){let _0xc8ff4b=_0x4ac157[_0x5309a4++],_0x1fd936=_0x4ac157[_0x5309a4++],_0x1f68e8=_0x4ac157[_0x5309a4++],_0x2c7de0=_0x5309a4==_0x4ac157['length']||!_0x33849e,_0x3ad7d4=_0x2c7de0?_0x3bbd29:_0x3bbd29['split'](),_0x114f37=this['tokens']['mainToken'];if(_0x3ad7d4['apply'](_0xc8ff4b,_0x1fd936,_0x114f37?_0x114f37['start']:_0x3ad7d4['pos'],_0x1f68e8),_0x59c5c1&&console['log'](_0x171a41+this['stackID'](_0x3ad7d4)+('\x20(via\x20'+(0x10000&_0xc8ff4b?'reduce\x20of\x20'+_0x13eb38['getName'](0xffff&_0xc8ff4b):'shift')+'\x20for\x20'+_0x13eb38['getName'](_0x1fd936)+'\x20@\x20'+_0x294c3b+(_0x3ad7d4==_0x3bbd29?'':',\x20split')+')')),_0x2c7de0)return!0x0;_0x3ad7d4['pos']>_0x294c3b?_0x3c0986['push'](_0x3ad7d4):_0x33849e['push'](_0x3ad7d4);}return!0x1;}['advanceFully'](_0x1ac40a,_0x55cdce){let _0x3d0ed5=_0x1ac40a['pos'];for(;;){if(!this['advanceStack'](_0x1ac40a,null,null))return!0x1;if(_0x1ac40a['pos']>_0x3d0ed5)return pushStackDedup(_0x1ac40a,_0x55cdce),!0x0;}}['runRecovery'](_0x4b5725,_0x4c9e91,_0x238dd6){let _0x35268c=null,_0x279e42=!0x1;for(let _0x1ca2d5=0x0;_0x1ca2d5<_0x4b5725['length'];_0x1ca2d5++){let _0x3670e7=_0x4b5725[_0x1ca2d5],_0x3f393f=_0x4c9e91[_0x1ca2d5<<0x1],_0x12eb12=_0x4c9e91[0x1+(_0x1ca2d5<<0x1)],_0xd14103=_0x59c5c1?this['stackID'](_0x3670e7)+'\x20->\x20':'';if(_0x3670e7['deadEnd']){if(_0x279e42)continue;if(_0x279e42=!0x0,_0x3670e7['restart'](),_0x59c5c1&&console['log'](_0xd14103+this['stackID'](_0x3670e7)+'\x20(restarted)'),this['advanceFully'](_0x3670e7,_0x238dd6))continue;}let _0x3522b1=_0x3670e7['split'](),_0x496b70=_0xd14103;for(let _0xc0e695=0x0;_0xc0e695<0xa&&_0x3522b1['forceReduce']();_0xc0e695++){if(_0x59c5c1&&console['log'](_0x496b70+this['stackID'](_0x3522b1)+'\x20(via\x20force-reduce)'),this['advanceFully'](_0x3522b1,_0x238dd6))break;_0x59c5c1&&(_0x496b70=this['stackID'](_0x3522b1)+'\x20->\x20');}for(let _0x41ef87 of _0x3670e7['recoverByInsert'](_0x3f393f))_0x59c5c1&&console['log'](_0xd14103+this['stackID'](_0x41ef87)+'\x20(via\x20recover-insert)'),this['advanceFully'](_0x41ef87,_0x238dd6);this['stream']['end']>_0x3670e7['pos']?(_0x12eb12==_0x3670e7['pos']&&(_0x12eb12++,_0x3f393f=0x0),_0x3670e7['recoverByDelete'](_0x3f393f,_0x12eb12),_0x59c5c1&&console['log'](_0xd14103+this['stackID'](_0x3670e7)+('\x20(via\x20recover-delete\x20'+this['parser']['getName'](_0x3f393f)+')')),pushStackDedup(_0x3670e7,_0x238dd6)):(!_0x35268c||_0x35268c['score']<_0x3670e7['score'])&&(_0x35268c=_0x3670e7);}return _0x35268c;}['stackToTree'](_0x4f3b8f){return _0x4f3b8f['close'](),_0x2701ca['build']({'buffer':StackBufferCursor['create'](_0x4f3b8f),'nodeSet':this['parser']['nodeSet'],'topID':this['topTerm'],'maxBufferLength':this['parser']['bufferLength'],'reused':this['reused'],'start':this['ranges'][0x0]['from'],'length':_0x4f3b8f['pos']-this['ranges'][0x0]['from'],'minRepeatType':this['parser']['minRepeatTerm']});}['stackID'](_0x213d6e){let _0x3bc5ce=(stackIDs||(stackIDs=new WeakMap()))['get'](_0x213d6e);return _0x3bc5ce||stackIDs['set'](_0x213d6e,_0x3bc5ce=String['fromCodePoint'](this['nextStackID']++)),_0x3bc5ce+_0x213d6e;}}function pushStackDedup(_0x425c14,_0x30a7fc){for(let _0xc8ffb9=0x0;_0xc8ffb9<_0x30a7fc['length'];_0xc8ffb9++){let _0x2850bf=_0x30a7fc[_0xc8ffb9];if(_0x2850bf['pos']==_0x425c14['pos']&&_0x2850bf['sameState'](_0x425c14))return void(_0x30a7fc[_0xc8ffb9]['score']<_0x425c14['score']&&(_0x30a7fc[_0xc8ffb9]=_0x425c14));}_0x30a7fc['push'](_0x425c14);}class Dialect{constructor(_0x55c8e5,_0x1b6493,_0x11e2ae){this['source']=_0x55c8e5,this['flags']=_0x1b6493,this['disabled']=_0x11e2ae;}['allows'](_0x3307e3){return!this['disabled']||0x0==this['disabled'][_0x3307e3];}}const _0x2621a7=_0x4b45c9=>_0x4b45c9;class ContextTracker{constructor(_0x877d94){this['start']=_0x877d94['start'],this['shift']=_0x877d94['shift']||_0x2621a7,this['reduce']=_0x877d94['reduce']||_0x2621a7,this['reuse']=_0x877d94['reuse']||_0x2621a7,this['hash']=_0x877d94['hash']||(()=>0x0),this['strict']=!0x1!==_0x877d94['strict'];}}class _0x55551c extends _0x60d5c1{constructor(_0x12f1b3){if(super(),this['wrappers']=[],0xe!=_0x12f1b3['version'])throw new RangeError('Parser\x20version\x20('+_0x12f1b3['version']+')\x20doesn\x27t\x20match\x20runtime\x20version\x20(14)');let _0x53a93a=_0x12f1b3['nodeNames']['split']('\x20');this['minRepeatTerm']=_0x53a93a['length'];for(let _0x7a6625=0x0;_0x7a6625<_0x12f1b3['repeatNodeCount'];_0x7a6625++)_0x53a93a['push']('');let _0x2dbaec=Object['keys'](_0x12f1b3['topRules'])['map'](_0xab9d05=>_0x12f1b3['topRules'][_0xab9d05][0x1]),_0x30fcb6=[];for(let _0x375d33=0x0;_0x375d33<_0x53a93a['length'];_0x375d33++)_0x30fcb6['push']([]);function _0x1672f6(_0x1b6352,_0x2a7a7e,_0x57e7bd){_0x30fcb6[_0x1b6352]['push']([_0x2a7a7e,_0x2a7a7e['deserialize'](String(_0x57e7bd))]);}if(_0x12f1b3['nodeProps'])for(let _0x283e4f of _0x12f1b3['nodeProps']){let _0x550399=_0x283e4f[0x0];'string'==typeof _0x550399&&(_0x550399=_0x4ee311[_0x550399]);for(let _0x2a9fab=0x1;_0x2a9fab<_0x283e4f['length'];){let _0x1239a4=_0x283e4f[_0x2a9fab++];if(_0x1239a4>=0x0)_0x1672f6(_0x1239a4,_0x550399,_0x283e4f[_0x2a9fab++]);else{let _0x45da01=_0x283e4f[_0x2a9fab+-_0x1239a4];for(let _0x4a6350=-_0x1239a4;_0x4a6350>0x0;_0x4a6350--)_0x1672f6(_0x283e4f[_0x2a9fab++],_0x550399,_0x45da01);_0x2a9fab++;}}}this['nodeSet']=new NodeSet(_0x53a93a['map']((_0x3a908f,_0x39b3d9)=>_0x343050['define']({'name':_0x39b3d9>=this['minRepeatTerm']?void 0x0:_0x3a908f,'id':_0x39b3d9,'props':_0x30fcb6[_0x39b3d9],'top':_0x2dbaec['indexOf'](_0x39b3d9)>-0x1,'error':0x0==_0x39b3d9,'skipped':_0x12f1b3['skippedNodes']&&_0x12f1b3['skippedNodes']['indexOf'](_0x39b3d9)>-0x1}))),_0x12f1b3['propSources']&&(this['nodeSet']=this['nodeSet']['extend'](..._0x12f1b3['propSources'])),this['strict']=!0x1,this['bufferLength']=DefaultBufferLength;let _0x50b334=_0x562cf9(_0x12f1b3['tokenData']);this['context']=_0x12f1b3['context'],this['specializerSpecs']=_0x12f1b3['specialized']||[],this['specialized']=new Uint16Array(this['specializerSpecs']['length']);for(let _0x59d038=0x0;_0x59d038<this['specializerSpecs']['length'];_0x59d038++)this['specialized'][_0x59d038]=this['specializerSpecs'][_0x59d038]['term'];this['specializers']=this['specializerSpecs']['map'](getSpecializer),this['states']=_0x562cf9(_0x12f1b3['states'],Uint32Array),this['data']=_0x562cf9(_0x12f1b3['stateData']),this['goto']=_0x562cf9(_0x12f1b3['goto']),this['maxTerm']=_0x12f1b3['maxTerm'],this['tokenizers']=_0x12f1b3['tokenizers']['map'](_0x31d621=>'number'==typeof _0x31d621?new _0x46e516(_0x50b334,_0x31d621):_0x31d621),this['topRules']=_0x12f1b3['topRules'],this['dialects']=_0x12f1b3['dialects']||{},this['dynamicPrecedences']=_0x12f1b3['dynamicPrecedences']||null,this['tokenPrecTable']=_0x12f1b3['tokenPrec'],this['termNames']=_0x12f1b3['termNames']||null,this['maxNode']=this['nodeSet']['types']['length']-0x1,this['dialect']=this['parseDialect'](),this['top']=this['topRules'][Object['keys'](this['topRules'])[0x0]];}['createParse'](_0x421324,_0x5e5143,_0x3f15cc){let _0x37cc03=new _0xa96e51(this,_0x421324,_0x5e5143,_0x3f15cc);for(let _0x52415c of this['wrappers'])_0x37cc03=_0x52415c(_0x37cc03,_0x421324,_0x5e5143,_0x3f15cc);return _0x37cc03;}['getGoto'](_0x2d1bcb,_0x3ac586,_0x36d185=!0x1){let _0x34b985=this['goto'];if(_0x3ac586>=_0x34b985[0x0])return-0x1;for(let _0x26eb74=_0x34b985[_0x3ac586+0x1];;){let _0x51ac8b=_0x34b985[_0x26eb74++],_0x387454=0x1&_0x51ac8b,_0x4d44c3=_0x34b985[_0x26eb74++];if(_0x387454&&_0x36d185)return _0x4d44c3;for(let _0x10dd08=_0x26eb74+(_0x51ac8b>>0x1);_0x26eb74<_0x10dd08;_0x26eb74++)if(_0x34b985[_0x26eb74]==_0x2d1bcb)return _0x4d44c3;if(_0x387454)return-0x1;}}['hasAction'](_0x719a48,_0x38136c){let _0x45cdfd=this['data'];for(let _0x35b14c=0x0;_0x35b14c<0x2;_0x35b14c++)for(let _0xfe7775,_0x14898d=this['stateSlot'](_0x719a48,_0x35b14c?0x2:0x1);;_0x14898d+=0x3){if(0xffff==(_0xfe7775=_0x45cdfd[_0x14898d])){if(0x1!=_0x45cdfd[_0x14898d+0x1]){if(0x2==_0x45cdfd[_0x14898d+0x1])return _0xe3db88(_0x45cdfd,_0x14898d+0x2);break;}_0xfe7775=_0x45cdfd[_0x14898d=_0xe3db88(_0x45cdfd,_0x14898d+0x2)];}if(_0xfe7775==_0x38136c||0x0==_0xfe7775)return _0xe3db88(_0x45cdfd,_0x14898d+0x1);}return 0x0;}['stateSlot'](_0xdf2a2f,_0x510671){return this['states'][0x6*_0xdf2a2f+_0x510671];}['stateFlag'](_0x3e33a1,_0x52e3c3){return(this['stateSlot'](_0x3e33a1,0x0)&_0x52e3c3)>0x0;}['validAction'](_0x466766,_0x46f888){return!!this['allActions'](_0x466766,_0x33c290=>_0x33c290==_0x46f888||null);}['allActions'](_0x50ba59,_0x137f31){let _0x2b9a72=this['stateSlot'](_0x50ba59,0x4),_0x4abae4=_0x2b9a72?_0x137f31(_0x2b9a72):void 0x0;for(let _0x5cbe5e=this['stateSlot'](_0x50ba59,0x1);null==_0x4abae4;_0x5cbe5e+=0x3){if(0xffff==this['data'][_0x5cbe5e]){if(0x1!=this['data'][_0x5cbe5e+0x1])break;_0x5cbe5e=_0xe3db88(this['data'],_0x5cbe5e+0x2);}_0x4abae4=_0x137f31(_0xe3db88(this['data'],_0x5cbe5e+0x1));}return _0x4abae4;}['nextStates'](_0x3b70b9){let _0x34f5b7=[];for(let _0x41791b=this['stateSlot'](_0x3b70b9,0x1);;_0x41791b+=0x3){if(0xffff==this['data'][_0x41791b]){if(0x1!=this['data'][_0x41791b+0x1])break;_0x41791b=_0xe3db88(this['data'],_0x41791b+0x2);}if(!(0x1&this['data'][_0x41791b+0x2])){let _0x123308=this['data'][_0x41791b+0x1];_0x34f5b7['some']((_0x2fb351,_0x3d3f08)=>0x1&_0x3d3f08&&_0x2fb351==_0x123308)||_0x34f5b7['push'](this['data'][_0x41791b],_0x123308);}}return _0x34f5b7;}['configure'](_0x50793c){let _0xddd156=Object['assign'](Object['create'](_0x55551c['prototype']),this);if(_0x50793c['props']&&(_0xddd156['nodeSet']=this['nodeSet']['extend'](..._0x50793c['props'])),_0x50793c['top']){let _0x16a5a7=this['topRules'][_0x50793c['top']];if(!_0x16a5a7)throw new RangeError('Invalid\x20top\x20rule\x20name\x20'+_0x50793c['top']);_0xddd156['top']=_0x16a5a7;}return _0x50793c['tokenizers']&&(_0xddd156['tokenizers']=this['tokenizers']['map'](t=>{let _0x3ea03b=_0x50793c['tokenizers']['find'](_0xacd493=>_0xacd493['from']==t);return _0x3ea03b?_0x3ea03b['to']:t;})),_0x50793c['specializers']&&(_0xddd156['specializers']=this['specializers']['slice'](),_0xddd156['specializerSpecs']=this['specializerSpecs']['map']((_0x58e124,_0x1826bd)=>{let _0x20a402=_0x50793c['specializers']['find'](_0x564469=>_0x564469['from']==_0x58e124['external']);if(!_0x20a402)return _0x58e124;let _0xb5b65f=Object['assign'](Object['assign']({},_0x58e124),{'external':_0x20a402['to']});return _0xddd156['specializers'][_0x1826bd]=getSpecializer(_0xb5b65f),_0xb5b65f;})),_0x50793c['contextTracker']&&(_0xddd156['context']=_0x50793c['contextTracker']),_0x50793c['dialect']&&(_0xddd156['dialect']=this['parseDialect'](_0x50793c['dialect'])),null!=_0x50793c['strict']&&(_0xddd156['strict']=_0x50793c['strict']),_0x50793c['wrap']&&(_0xddd156['wrappers']=_0xddd156['wrappers']['concat'](_0x50793c['wrap'])),null!=_0x50793c['bufferLength']&&(_0xddd156['bufferLength']=_0x50793c['bufferLength']),_0xddd156;}['hasWrappers'](){return this['wrappers']['length']>0x0;}['getName'](_0x2310be){return this['termNames']?this['termNames'][_0x2310be]:String(_0x2310be<=this['maxNode']&&this['nodeSet']['types'][_0x2310be]['name']||_0x2310be);}get['eofTerm'](){return this['maxNode']+0x1;}get['topNode'](){return this['nodeSet']['types'][this['top'][0x1]];}['dynamicPrecedence'](_0x13f556){let _0x590ff9=this['dynamicPrecedences'];return null==_0x590ff9?0x0:_0x590ff9[_0x13f556]||0x0;}['parseDialect'](_0x48b110){let _0x14ae11=Object['keys'](this['dialects']),_0x33dc26=_0x14ae11['map'](()=>!0x1);if(_0x48b110)for(let _0x2a4654 of _0x48b110['split']('\x20')){let _0x59b7f7=_0x14ae11['indexOf'](_0x2a4654);_0x59b7f7>=0x0&&(_0x33dc26[_0x59b7f7]=!0x0);}let _0x380ca1=null;for(let _0x19c266=0x0;_0x19c266<_0x14ae11['length'];_0x19c266++)if(!_0x33dc26[_0x19c266]){for(let _0x343f89,_0x3a073b=this['dialects'][_0x14ae11[_0x19c266]];0xffff!=(_0x343f89=this['data'][_0x3a073b++]);)(_0x380ca1||(_0x380ca1=new Uint8Array(this['maxTerm']+0x1)))[_0x343f89]=0x1;}return new Dialect(_0x48b110,_0x33dc26,_0x380ca1);}static['deserialize'](_0x159c50){return new _0x55551c(_0x159c50);}}function _0xe3db88(_0x4e7cea,_0x322eef){return _0x4e7cea[_0x322eef]|_0x4e7cea[_0x322eef+0x1]<<0x10;}function _0x1da0e7(_0xcdcf1){let _0x6cd929=null;for(let _0x29ce1 of _0xcdcf1){let _0x81baa9=_0x29ce1['p']['stoppedAt'];(_0x29ce1['pos']==_0x29ce1['p']['stream']['end']||null!=_0x81baa9&&_0x29ce1['pos']>_0x81baa9)&&_0x29ce1['p']['parser']['stateFlag'](_0x29ce1['state'],0x2)&&(!_0x6cd929||_0x6cd929['score']<_0x29ce1['score'])&&(_0x6cd929=_0x29ce1);}return _0x6cd929;}function getSpecializer(_0x307755){if(_0x307755['external']){let _0xae935f=_0x307755['extend']?0x1:0x0;return(_0x4e9b86,_0x1e1885)=>_0x307755['external'](_0x4e9b86,_0x1e1885)<<0x1|_0xae935f;}return _0x307755['get'];}const scriptText=0x37,StartCloseScriptTag=0x1,styleText=0x38,StartCloseStyleTag=0x2,textareaText=0x39,StartCloseTextareaTag=0x3,_0x404fd2=0x4,_0x579524=0x5,StartTag=0x6,StartScriptTag=0x7,StartStyleTag=0x8,StartTextareaTag=0x9,StartSelfClosingTag=0xa,StartCloseTag=0xb,NoMatchStartCloseTag=0xc,MismatchedStartCloseTag=0xd,_0x2fc8d7=0x3a,IncompleteTag=0xe,IncompleteCloseTag=0xf,commentContent$1=0x3b,Element$2=0x15,_0x75a28f=0x17,Attribute=0x18,AttributeName=0x19,AttributeValue=0x1b,UnquotedAttributeValue=0x1c,ScriptText=0x1d,StyleText=0x20,TextareaText=0x23,_0x7f28f0=0x25,_0xca7156=0x26,Dialect_noMatch=0x0,Dialect_selfClosing=0x1,_0x1f9c33={'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},_0x43f150={'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 _0x186268(_0x4efb4e){return 0x2d==_0x4efb4e||0x2e==_0x4efb4e||0x3a==_0x4efb4e||_0x4efb4e>=0x41&&_0x4efb4e<=0x5a||0x5f==_0x4efb4e||_0x4efb4e>=0x61&&_0x4efb4e<=0x7a||_0x4efb4e>=0xa1;}let _0x24dd3a=null,cachedInput=null,_0x5d2f60=0x0;function tagNameAfter(_0x4958c7,_0x4f7991){let _0x2e6bfe=_0x4958c7['pos']+_0x4f7991;if(_0x5d2f60==_0x2e6bfe&&cachedInput==_0x4958c7)return _0x24dd3a;let _0x38a687=_0x4958c7['peek'](_0x4f7991),_0x8334b6='';for(;_0x186268(_0x38a687);)_0x8334b6+=String['fromCharCode'](_0x38a687),_0x38a687=_0x4958c7['peek'](++_0x4f7991);return cachedInput=_0x4958c7,_0x5d2f60=_0x2e6bfe,_0x24dd3a=_0x8334b6?_0x8334b6['toLowerCase']():_0x38a687==question$1||_0x38a687==_0x4b288a?void 0x0:null;}const _0x14d8c0=0x3c,greaterThan=0x3e,_0x1c5739=0x2f,question$1=0x3f,_0x4b288a=0x21,_0x500bd7=0x2d;function ElementContext(_0x1b84b1,_0x1395f0){this['name']=_0x1b84b1,this['parent']=_0x1395f0;}const startTagTerms=[StartTag,StartSelfClosingTag,StartScriptTag,StartStyleTag,StartTextareaTag],elementContext=new ContextTracker({'start':null,'shift':(_0x36f690,_0x2cbb73,_0x3ed09e,_0x1b6dec)=>startTagTerms['indexOf'](_0x2cbb73)>-0x1?new ElementContext(tagNameAfter(_0x1b6dec,0x1)||'',_0x36f690):_0x36f690,'reduce':(_0x2240b5,_0x1c2342)=>_0x1c2342==Element$2&&_0x2240b5?_0x2240b5['parent']:_0x2240b5,'reuse'(_0x581cb5,_0x335e6d,_0x50279c,_0x171166){let _0xff4357=_0x335e6d['type']['id'];return _0xff4357==StartTag||_0xff4357==_0x7f28f0?new ElementContext(tagNameAfter(_0x171166,0x1)||'',_0x581cb5):_0x581cb5;},'strict':!0x1}),tagStart=new ExternalTokenizer((_0x3800e1,_0xab2d17)=>{if(_0x3800e1['next']!=_0x14d8c0)return void(_0x3800e1['next']<0x0&&_0xab2d17['context']&&_0x3800e1['acceptToken'](_0x2fc8d7));_0x3800e1['advance']();let _0x213aee=_0x3800e1['next']==_0x1c5739;_0x213aee&&_0x3800e1['advance']();let _0x92f494=tagNameAfter(_0x3800e1,0x0);if(void 0x0===_0x92f494)return;if(!_0x92f494)return _0x3800e1['acceptToken'](_0x213aee?IncompleteCloseTag:IncompleteTag);let _0x3a1533=_0xab2d17['context']?_0xab2d17['context']['name']:null;if(_0x213aee){if(_0x92f494==_0x3a1533)return _0x3800e1['acceptToken'](StartCloseTag);if(_0x3a1533&&implicitlyClosed[_0x3a1533])return _0x3800e1['acceptToken'](_0x2fc8d7,-0x2);if(_0xab2d17['dialectEnabled'](Dialect_noMatch))return _0x3800e1['acceptToken'](NoMatchStartCloseTag);for(let _0x37a721=_0xab2d17['context'];_0x37a721;_0x37a721=_0x37a721['parent'])if(_0x37a721['name']==_0x92f494)return;_0x3800e1['acceptToken'](MismatchedStartCloseTag);}else{if('script'==_0x92f494)return _0x3800e1['acceptToken'](StartScriptTag);if('style'==_0x92f494)return _0x3800e1['acceptToken'](StartStyleTag);if('textarea'==_0x92f494)return _0x3800e1['acceptToken'](StartTextareaTag);if(_0x1f9c33['hasOwnProperty'](_0x92f494))return _0x3800e1['acceptToken'](StartSelfClosingTag);_0x3a1533&&_0x43f150[_0x3a1533]&&_0x43f150[_0x3a1533][_0x92f494]?_0x3800e1['acceptToken'](_0x2fc8d7,-0x1):_0x3800e1['acceptToken'](StartTag);}},{'contextual':!0x0}),commentContent=new ExternalTokenizer(_0x85a4be=>{for(let _0x5b7933=0x0,_0x27b960=0x0;;_0x27b960++){if(_0x85a4be['next']<0x0){_0x27b960&&_0x85a4be['acceptToken'](commentContent$1);break;}if(_0x85a4be['next']==_0x500bd7)_0x5b7933++;else{if(_0x85a4be['next']==greaterThan&&_0x5b7933>=0x2){_0x27b960>=0x3&&_0x85a4be['acceptToken'](commentContent$1,-0x2);break;}_0x5b7933=0x0;}_0x85a4be['advance']();}});function inForeignElement(_0x5dfabb){for(;_0x5dfabb;_0x5dfabb=_0x5dfabb['parent'])if('svg'==_0x5dfabb['name']||'math'==_0x5dfabb['name'])return!0x0;return!0x1;}const _0x371898=new ExternalTokenizer((_0x560755,_0xc9852b)=>{if(_0x560755['next']==_0x1c5739&&_0x560755['peek'](0x1)==greaterThan){let _0x352063=_0xc9852b['dialectEnabled'](Dialect_selfClosing)||inForeignElement(_0xc9852b['context']);_0x560755['acceptToken'](_0x352063?_0x579524:_0x404fd2,0x2);}else _0x560755['next']==greaterThan&&_0x560755['acceptToken'](_0x404fd2,0x1);});function contentTokenizer(_0x440c86,_0x4a0fd6,_0x32c86b){let _0x3cb760=0x2+_0x440c86['length'];return new ExternalTokenizer(_0x2aea1b=>{for(let _0xb14d12=0x0,_0x41936f=0x0,_0x392f59=0x0;;_0x392f59++){if(_0x2aea1b['next']<0x0){_0x392f59&&_0x2aea1b['acceptToken'](_0x4a0fd6);break;}if(0x0==_0xb14d12&&_0x2aea1b['next']==_0x14d8c0||0x1==_0xb14d12&&_0x2aea1b['next']==_0x1c5739||_0xb14d12>=0x2&&_0xb14d12<_0x3cb760&&_0x2aea1b['next']==_0x440c86['charCodeAt'](_0xb14d12-0x2))_0xb14d12++,_0x41936f++;else{if(_0xb14d12==_0x3cb760&&_0x2aea1b['next']==greaterThan){_0x392f59>_0x41936f?_0x2aea1b['acceptToken'](_0x4a0fd6,-_0x41936f):_0x2aea1b['acceptToken'](_0x32c86b,-(_0x41936f-0x2));break;}if((0xa==_0x2aea1b['next']||0xd==_0x2aea1b['next'])&&_0x392f59){_0x2aea1b['acceptToken'](_0x4a0fd6,0x1);break;}_0xb14d12=_0x41936f=0x0;}_0x2aea1b['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']}),_0x2c650c=_0x55551c['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,_0x371898,tagStart,commentContent,0x0,0x1,0x2,0x3,0x4,0x5],'topRules':{'Document':[0x0,0x10]},'dialects':{'noMatch':0x0,'selfClosing':0x203},'tokenPrec':0x205});function getAttrs(_0x1d3898,_0x579ec6){let _0x5901ba=Object['create'](null);for(let _0x3efc2f of _0x1d3898['getChildren'](Attribute)){let _0xd41b6a=_0x3efc2f['getChild'](AttributeName),_0x16e99b=_0x3efc2f['getChild'](AttributeValue)||_0x3efc2f['getChild'](UnquotedAttributeValue);_0xd41b6a&&(_0x5901ba[_0x579ec6['read'](_0xd41b6a['from'],_0xd41b6a['to'])]=_0x16e99b?_0x16e99b['type']['id']==AttributeValue?_0x579ec6['read'](_0x16e99b['from']+0x1,_0x16e99b['to']-0x1):_0x579ec6['read'](_0x16e99b['from'],_0x16e99b['to']):'');}return _0x5901ba;}function _0x436b2f(_0x1817a1,_0xdd4f02){let _0x2e3002=_0x1817a1['getChild'](_0x75a28f);return _0x2e3002?_0xdd4f02['read'](_0x2e3002['from'],_0x2e3002['to']):'\x20';}function maybeNest(_0x3deb1c,_0xad8edf,_0x1702ca){let _0x251620;for(let _0x58d443 of _0x1702ca)if(!_0x58d443['attrs']||_0x58d443['attrs'](_0x251620||(_0x251620=getAttrs(_0x3deb1c['node']['parent']['firstChild'],_0xad8edf))))return{'parser':_0x58d443['parser']};return null;}function configureNesting(_0xb30f4f=[],_0x5b6bec=[]){let _0x2bf76c=[],_0x11130c=[],_0x1fad78=[],_0x6c2bb4=[];for(let _0xebcadf of _0xb30f4f){('script'==_0xebcadf['tag']?_0x2bf76c:'style'==_0xebcadf['tag']?_0x11130c:'textarea'==_0xebcadf['tag']?_0x1fad78:_0x6c2bb4)['push'](_0xebcadf);}let _0x62b9f7=_0x5b6bec['length']?Object['create'](null):null;for(let _0x2ee784 of _0x5b6bec)(_0x62b9f7[_0x2ee784['name']]||(_0x62b9f7[_0x2ee784['name']]=[]))['push'](_0x2ee784);return _0x2fd587((_0x32a267,_0x21a039)=>{let _0x573910=_0x32a267['type']['id'];if(_0x573910==ScriptText)return maybeNest(_0x32a267,_0x21a039,_0x2bf76c);if(_0x573910==StyleText)return maybeNest(_0x32a267,_0x21a039,_0x11130c);if(_0x573910==TextareaText)return maybeNest(_0x32a267,_0x21a039,_0x1fad78);if(_0x573910==Element$2&&_0x6c2bb4['length']){let _0x1aa6d9,_0x2f3904=_0x32a267['node'],_0x1a9185=_0x2f3904['firstChild'],_0x34e8dd=_0x1a9185&&_0x436b2f(_0x1a9185,_0x21a039);if(_0x34e8dd){for(let _0x2c4554 of _0x6c2bb4)if(_0x2c4554['tag']==_0x34e8dd&&(!_0x2c4554['attrs']||_0x2c4554['attrs'](_0x1aa6d9||(_0x1aa6d9=getAttrs(_0x1a9185,_0x21a039))))){let _0x3551ab=_0x2f3904['lastChild'],_0x578731=_0x3551ab['type']['id']==_0xca7156?_0x3551ab['from']:_0x2f3904['to'];if(_0x578731>_0x1a9185['to'])return{'parser':_0x2c4554['parser'],'overlay':[{'from':_0x1a9185['to'],'to':_0x578731}]};}}}if(_0x62b9f7&&_0x573910==Attribute){let _0x216998,_0x1e8bc4=_0x32a267['node'];if(_0x216998=_0x1e8bc4['firstChild']){let _0x510419=_0x62b9f7[_0x21a039['read'](_0x216998['from'],_0x216998['to'])];if(_0x510419)for(let _0x2e5bd8 of _0x510419){if(_0x2e5bd8['tagName']&&_0x2e5bd8['tagName']!=_0x436b2f(_0x1e8bc4['parent'],_0x21a039))continue;let _0x268d97=_0x1e8bc4['lastChild'];if(_0x268d97['type']['id']==AttributeValue){let _0x59c6cb=_0x268d97['from']+0x1,_0x3befd3=_0x268d97['lastChild'],_0x59dcda=_0x268d97['to']-(_0x3befd3&&_0x3befd3['isError']?0x0:0x1);if(_0x59dcda>_0x59c6cb)return{'parser':_0x2e5bd8['parser'],'overlay':[{'from':_0x59c6cb,'to':_0x59dcda}]};}else{if(_0x268d97['type']['id']==UnquotedAttributeValue)return{'parser':_0x2e5bd8['parser'],'overlay':[{'from':_0x268d97['from'],'to':_0x268d97['to']}]};}}}}return null;});}const descendantOp=0x7a,Unit=0x1,identifier$2=0x7b,_0x14c630=0x7c,_0x4ff4c8=0x2,queryIdentifier=0x7d,_0x29e2f7=0x3,_0x15990c=0x4,_0xf99123=[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],_0x46470c=0x3a,_0xd16028=0x28,_0x30ae20=0x5f,bracketL$1=0x5b,_0x1f9bde=0x2d,_0x40f05d=0x2e,_0xd30d05=0x23,percent=0x25,_0x4ed012=0x26,_0x32dfef=0x5c,_0x105e4f=0xa,asterisk=0x2a;function _0x20270a(_0x177409){return _0x177409>=0x41&&_0x177409<=0x5a||_0x177409>=0x61&&_0x177409<=0x7a||_0x177409>=0xa1;}function isDigit(_0x56673d){return _0x56673d>=0x30&&_0x56673d<=0x39;}function _0x44c2ab(_0x784b6d){return isDigit(_0x784b6d)||_0x784b6d>=0x61&&_0x784b6d<=0x66||_0x784b6d>=0x41&&_0x784b6d<=0x46;}const identifierTokens=(_0x404af9,_0x142eed,_0x47efe7)=>(_0x508122,_0x5cfec0)=>{for(let _0x495c77=!0x1,_0x1a6b76=0x0,_0x22e9a1=0x0;;_0x22e9a1++){let {next:_0x2dfc0f}=_0x508122;if(_0x20270a(_0x2dfc0f)||_0x2dfc0f==_0x1f9bde||_0x2dfc0f==_0x30ae20||_0x495c77&&isDigit(_0x2dfc0f))!_0x495c77&&(_0x2dfc0f!=_0x1f9bde||_0x22e9a1>0x0)&&(_0x495c77=!0x0),_0x1a6b76===_0x22e9a1&&_0x2dfc0f==_0x1f9bde&&_0x1a6b76++,_0x508122['advance']();else{if(_0x2dfc0f!=_0x32dfef||_0x508122['peek'](0x1)==_0x105e4f){_0x495c77&&_0x508122['acceptToken'](0x2==_0x1a6b76&&_0x5cfec0['canShift'](_0x4ff4c8)?_0x142eed:_0x2dfc0f==_0xd16028?_0x47efe7:_0x404af9);break;}if(_0x508122['advance'](),_0x44c2ab(_0x508122['next'])){do{_0x508122['advance']();}while(_0x44c2ab(_0x508122['next']));0x20==_0x508122['next']&&_0x508122['advance']();}else _0x508122['next']>-0x1&&_0x508122['advance']();_0x495c77=!0x0;}}},identifiers=new ExternalTokenizer(identifierTokens(identifier$2,_0x4ff4c8,_0x14c630)),queryIdentifiers=new ExternalTokenizer(identifierTokens(queryIdentifier,_0x29e2f7,_0x15990c)),descendant=new ExternalTokenizer(_0x282515=>{if(_0xf99123['includes'](_0x282515['peek'](-0x1))){let {next:_0x3abadd}=_0x282515;(_0x20270a(_0x3abadd)||_0x3abadd==_0x30ae20||_0x3abadd==_0xd30d05||_0x3abadd==_0x40f05d||_0x3abadd==asterisk||_0x3abadd==bracketL$1||_0x3abadd==_0x46470c&&_0x20270a(_0x282515['peek'](0x1))||_0x3abadd==_0x1f9bde||_0x3abadd==_0x4ed012)&&_0x282515['acceptToken'](descendantOp);}}),unitToken=new ExternalTokenizer(_0x3d9b51=>{if(!_0xf99123['includes'](_0x3d9b51['peek'](-0x1))){let {next:_0x1d7eee}=_0x3d9b51;if(_0x1d7eee==percent&&(_0x3d9b51['advance'](),_0x3d9b51['acceptToken'](Unit)),_0x20270a(_0x1d7eee)){do{_0x3d9b51['advance']();}while(_0x20270a(_0x3d9b51['next'])||isDigit(_0x3d9b51['next']));_0x3d9b51['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']}),_0x58db40={'__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},_0x302415={'__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},_0x3f609a=_0x55551c['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 _0x3038a9('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':_0x16e1f1=>_0x58db40[_0x16e1f1]||-0x1},{'term':0x7d,'get':_0x56e779=>spec_queryIdentifier[_0x56e779]||-0x1},{'term':0x4,'get':_0x1583f1=>_0x302415[_0x1583f1]||-0x1},{'term':0x19,'get':_0x3378e4=>spec_AtKeyword[_0x3378e4]||-0x1},{'term':0x7b,'get':_0xf735a9=>spec_identifier$1[_0xf735a9]||-0x1}],'tokenPrec':0x7ab});let _properties=null;function properties(){if(!_properties&&'object'==typeof document&&document['body']){let {style:_0x364abc}=document['body'],_0x385651=[],_0x53f854=new Set();for(let _0x286262 in _0x364abc)'cssText'!=_0x286262&&'cssFloat'!=_0x286262&&'string'==typeof _0x364abc[_0x286262]&&(/[A-Z]/['test'](_0x286262)&&(_0x286262=_0x286262['replace'](/[A-Z]/g,_0x45b903=>'-'+_0x45b903['toLowerCase']())),_0x53f854['has'](_0x286262)||(_0x385651['push'](_0x286262),_0x53f854['add'](_0x286262)));_properties=_0x385651['sort']()['map'](_0x431631=>({'type':'property','label':_0x431631,'apply':_0x431631+':\x20'}));}return _properties||[];}const _0x48dec4=['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'](_0x26b057=>({'type':'class','label':_0x26b057})),_0x5ae2be=['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'](_0x52035a=>({'type':'keyword','label':_0x52035a}))['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'](_0x20aeee=>({'type':'constant','label':_0x20aeee}))),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'](_0x4c6937=>({'type':'type','label':_0x4c6937})),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'](_0x1fe107=>({'type':'keyword','label':_0x1fe107})),identifier$1=/^(\w[\w-]*|-\w[\w-]*|)$/,_0x4c164d=/^-(-[\w-]*)?$/;function _0x86393d(_0x68aa0d,_0x43df0d){var _0x47d60f;if(('('==_0x68aa0d['name']||_0x68aa0d['type']['isError'])&&(_0x68aa0d=_0x68aa0d['parent']||_0x68aa0d),'ArgList'!=_0x68aa0d['name'])return!0x1;let _0x53eeb5=null===(_0x47d60f=_0x68aa0d['parent'])||void 0x0===_0x47d60f?void 0x0:_0x47d60f['firstChild'];return'Callee'==(null==_0x53eeb5?void 0x0:_0x53eeb5['name'])&&'var'==_0x43df0d['sliceString'](_0x53eeb5['from'],_0x53eeb5['to']);}const _0x392402=new _0x280fac(),declSelector=['Declaration'];function astTop(_0x4e341a){for(let _0x1c7cbd=_0x4e341a;;){if(_0x1c7cbd['type']['isTop'])return _0x1c7cbd;if(!(_0x1c7cbd=_0x1c7cbd['parent']))return _0x4e341a;}}function _0x50318a(_0x41cbf2,_0x4d1d89,_0x18365b){if(_0x4d1d89['to']-_0x4d1d89['from']>0x1000){let _0x2c98bb=_0x392402['get'](_0x4d1d89);if(_0x2c98bb)return _0x2c98bb;let _0x4a0c43=[],_0x4f355f=new Set(),_0x16e84f=_0x4d1d89['cursor'](IterMode['IncludeAnonymous']);if(_0x16e84f['firstChild']())do{for(let _0x8736e4 of _0x50318a(_0x41cbf2,_0x16e84f['node'],_0x18365b))_0x4f355f['has'](_0x8736e4['label'])||(_0x4f355f['add'](_0x8736e4['label']),_0x4a0c43['push'](_0x8736e4));}while(_0x16e84f['nextSibling']());return _0x392402['set'](_0x4d1d89,_0x4a0c43),_0x4a0c43;}{let _0x727a7d=[],_0x4a16f2=new Set();return _0x4d1d89['cursor']()['iterate'](_0x1ecd65=>{var _0x1f7fb9;if(_0x18365b(_0x1ecd65)&&_0x1ecd65['matchContext'](declSelector)&&':'==(null===(_0x1f7fb9=_0x1ecd65['node']['nextSibling'])||void 0x0===_0x1f7fb9?void 0x0:_0x1f7fb9['name'])){let _0x170205=_0x41cbf2['sliceString'](_0x1ecd65['from'],_0x1ecd65['to']);_0x4a16f2['has'](_0x170205)||(_0x4a16f2['add'](_0x170205),_0x727a7d['push']({'label':_0x170205,'type':'variable'}));}}),_0x727a7d;}}const defineCSSCompletionSource=_0x1e6331=>_0x8b3997=>{let {state:_0x4ee22d,pos:_0x4cf90e}=_0x8b3997,_0x13188a=syntaxTree(_0x4ee22d)['resolveInner'](_0x4cf90e,-0x1),_0x1f4ac7=_0x13188a['type']['isError']&&_0x13188a['from']==_0x13188a['to']-0x1&&'-'==_0x4ee22d['doc']['sliceString'](_0x13188a['from'],_0x13188a['to']);if('PropertyName'==_0x13188a['name']||(_0x1f4ac7||'TagName'==_0x13188a['name'])&&/^(Block|Styles)$/['test'](_0x13188a['resolve'](_0x13188a['to'])['name']))return{'from':_0x13188a['from'],'options':properties(),'validFor':identifier$1};if('ValueName'==_0x13188a['name'])return{'from':_0x13188a['from'],'options':_0x5ae2be,'validFor':identifier$1};if('PseudoClassName'==_0x13188a['name'])return{'from':_0x13188a['from'],'options':_0x48dec4,'validFor':identifier$1};if(_0x1e6331(_0x13188a)||(_0x8b3997['explicit']||_0x1f4ac7)&&_0x86393d(_0x13188a,_0x4ee22d['doc']))return{'from':_0x1e6331(_0x13188a)||_0x1f4ac7?_0x13188a['from']:_0x4cf90e,'options':_0x50318a(_0x4ee22d['doc'],astTop(_0x13188a),_0x1e6331),'validFor':_0x4c164d};if('TagName'==_0x13188a['name']){for(let {parent:_0x1d3e4c}=_0x13188a;_0x1d3e4c;_0x1d3e4c=_0x1d3e4c['parent'])if('Block'==_0x1d3e4c['name'])return{'from':_0x13188a['from'],'options':properties(),'validFor':identifier$1};return{'from':_0x13188a['from'],'options':tags,'validFor':identifier$1};}if('AtKeyword'==_0x13188a['name'])return{'from':_0x13188a['from'],'options':atRules,'validFor':identifier$1};if(!_0x8b3997['explicit'])return null;let _0xb05ac=_0x13188a['resolve'](_0x4cf90e),_0x223e5f=_0xb05ac['childBefore'](_0x4cf90e);return _0x223e5f&&':'==_0x223e5f['name']&&'PseudoClassSelector'==_0xb05ac['name']?{'from':_0x4cf90e,'options':_0x48dec4,'validFor':identifier$1}:_0x223e5f&&':'==_0x223e5f['name']&&'Declaration'==_0xb05ac['name']||'ArgList'==_0xb05ac['name']?{'from':_0x4cf90e,'options':_0x5ae2be,'validFor':identifier$1}:'Block'==_0xb05ac['name']||'Styles'==_0xb05ac['name']?{'from':_0x4cf90e,'options':properties(),'validFor':identifier$1}:null;},cssCompletionSource=defineCSSCompletionSource(_0x39912c=>'VariableName'==_0x39912c['name']),_0x2082af=_0x324005['define']({'name':'css','parser':_0x3f609a['configure']({'props':[indentNodeProp['add']({'Declaration':continuedIndent()}),_0x14068c['add']({'Block\x20KeyframeList':_0x1ba269})]}),'languageData':{'commentTokens':{'block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*\}$/,'wordChars':'-'}});function _0x22b77b(){return new LanguageSupport(_0x2082af,_0x2082af['data']['of']({'autocomplete':cssCompletionSource}));}const _0x2d753e=0x13c,_0x2124dd=0x13d,_0x3ec111=0x1,_0x3ced84=0x2,questionDot=0x3,JSXStartTag=0x4,insertSemi=0x13e,_0x33fd97=0x140,_0x44f6d5=0x141,LineComment=0x5,BlockComment=0x6,Dialect_jsx=0x0,_0x4dd595=[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],_0x354546=0x7d,_0x41e135=0x3b,_0x3ad888=0x2f,star=0x2a,_0x762db3=0x2b,_0x5dbba9=0x2d,lt=0x3c,_0x2c6a36=0x2c,question=0x3f,dot=0x2e,bracketL=0x5b,trackNewline=new ContextTracker({'start':!0x1,'shift':(_0x4f7bc7,_0x1b552e)=>_0x1b552e==LineComment||_0x1b552e==BlockComment||_0x1b552e==_0x33fd97?_0x4f7bc7:_0x1b552e==_0x44f6d5,'strict':!0x1}),insertSemicolon=new ExternalTokenizer((_0x37a46a,_0x3aed3d)=>{let {next:_0x50852a}=_0x37a46a;(_0x50852a==_0x354546||-0x1==_0x50852a||_0x3aed3d['context'])&&_0x37a46a['acceptToken'](insertSemi);},{'contextual':!0x0,'fallback':!0x0}),_0x31dd6a=new ExternalTokenizer((_0x1edcbb,_0x4b4537)=>{let _0x28839b,{next:_0x1b5971}=_0x1edcbb;_0x4dd595['indexOf'](_0x1b5971)>-0x1||(_0x1b5971!=_0x3ad888||(_0x28839b=_0x1edcbb['peek'](0x1))!=_0x3ad888&&_0x28839b!=star)&&(_0x1b5971==_0x354546||_0x1b5971==_0x41e135||-0x1==_0x1b5971||_0x4b4537['context']||_0x1edcbb['acceptToken'](_0x2d753e));},{'contextual':!0x0}),_0x32486f=new ExternalTokenizer((_0x5f57bc,_0x531fbf)=>{_0x5f57bc['next']!=bracketL||_0x531fbf['context']||_0x5f57bc['acceptToken'](_0x2124dd);},{'contextual':!0x0}),operatorToken=new ExternalTokenizer((_0x477d9f,_0x342f36)=>{let {next:_0x5df3f6}=_0x477d9f;if(_0x5df3f6==_0x762db3||_0x5df3f6==_0x5dbba9){if(_0x477d9f['advance'](),_0x5df3f6==_0x477d9f['next']){_0x477d9f['advance']();let _0x5d5579=!_0x342f36['context']&&_0x342f36['canShift'](_0x3ec111);_0x477d9f['acceptToken'](_0x5d5579?_0x3ec111:_0x3ced84);}}else _0x5df3f6==question&&_0x477d9f['peek'](0x1)==dot&&(_0x477d9f['advance'](),_0x477d9f['advance'](),(_0x477d9f['next']<0x30||_0x477d9f['next']>0x39)&&_0x477d9f['acceptToken'](questionDot));},{'contextual':!0x0});function identifierChar(_0x2696a2,_0x35ec1b){return _0x2696a2>=0x41&&_0x2696a2<=0x5a||_0x2696a2>=0x61&&_0x2696a2<=0x7a||0x5f==_0x2696a2||_0x2696a2>=0xc0||!_0x35ec1b&&_0x2696a2>=0x30&&_0x2696a2<=0x39;}const _0x3d6e62=new ExternalTokenizer((_0x125711,_0x219f6b)=>{if(_0x125711['next']!=lt||!_0x219f6b['dialectEnabled'](Dialect_jsx))return;if(_0x125711['advance'](),_0x125711['next']==_0x3ad888)return;let _0x32c880=0x0;for(;_0x4dd595['indexOf'](_0x125711['next'])>-0x1;)_0x125711['advance'](),_0x32c880++;if(identifierChar(_0x125711['next'],!0x0)){for(_0x125711['advance'](),_0x32c880++;identifierChar(_0x125711['next'],!0x1);)_0x125711['advance'](),_0x32c880++;for(;_0x4dd595['indexOf'](_0x125711['next'])>-0x1;)_0x125711['advance'](),_0x32c880++;if(_0x125711['next']==_0x2c6a36)return;for(let _0x4d175a=0x0;;_0x4d175a++){if(0x7==_0x4d175a){if(!identifierChar(_0x125711['next'],!0x0))return;break;}if(_0x125711['next']!='extends'['charCodeAt'](_0x4d175a))break;_0x125711['advance'](),_0x32c880++;}}_0x125711['acceptToken'](JSXStartTag,-_0x32c880);}),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},_0x16f53f={'__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},_0x13af79={'__proto__':null,'<':0xc1},_0x2e32b3=_0x55551c['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':[_0x31dd6a,_0x32486f,operatorToken,_0x3d6e62,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,insertSemicolon,new _0x3038a9('$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 _0x3038a9('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':_0x2812bb=>spec_identifier[_0x2812bb]||-0x1},{'term':0x157,'get':_0xe93ce4=>_0x16f53f[_0xe93ce4]||-0x1},{'term':0x5f,'get':_0x1e1cda=>_0x13af79[_0x1e1cda]||-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'})]),_0x5e76cc=new _0x280fac(),_0x34851b=new Set(['Script','Block','FunctionExpression','FunctionDeclaration','ArrowFunction','MethodDeclaration','ForStatement']);function _0x2934a8(_0x5e66ea){return(_0x4491e5,_0x14fa31)=>{let _0x5962a8=_0x4491e5['node']['getChild']('VariableDefinition');return _0x5962a8&&_0x14fa31(_0x5962a8,_0x5e66ea),!0x0;};}const functionContext=['FunctionDeclaration'],gatherCompletions={'FunctionDeclaration':_0x2934a8('function'),'ClassDeclaration':_0x2934a8('class'),'ClassExpression':()=>!0x0,'EnumDeclaration':_0x2934a8('constant'),'TypeAliasDeclaration':_0x2934a8('type'),'NamespaceDeclaration':_0x2934a8('namespace'),'VariableDefinition'(_0x5c23ac,_0x55512a){_0x5c23ac['matchContext'](functionContext)||_0x55512a(_0x5c23ac,'variable');},'TypeDefinition'(_0x5f3972,_0x57f882){_0x57f882(_0x5f3972,'type');},'__proto__':null};function getScope(_0x56c678,_0x49d6e2){let _0x3ed83f=_0x5e76cc['get'](_0x49d6e2);if(_0x3ed83f)return _0x3ed83f;let _0x2935cc=[],_0x3f840f=!0x0;function _0x4516ce(_0xea0d54,_0x3988e9){let _0x38cf55=_0x56c678['sliceString'](_0xea0d54['from'],_0xea0d54['to']);_0x2935cc['push']({'label':_0x38cf55,'type':_0x3988e9});}return _0x49d6e2['cursor'](IterMode['IncludeAnonymous'])['iterate'](_0x11a695=>{if(_0x3f840f)_0x3f840f=!0x1;else{if(_0x11a695['name']){let _0x35bb73=gatherCompletions[_0x11a695['name']];if(_0x35bb73&&_0x35bb73(_0x11a695,_0x4516ce)||_0x34851b['has'](_0x11a695['name']))return!0x1;}else{if(_0x11a695['to']-_0x11a695['from']>0x2000){for(let _0x398a98 of getScope(_0x56c678,_0x11a695['node']))_0x2935cc['push'](_0x398a98);return!0x1;}}}}),_0x5e76cc['set'](_0x49d6e2,_0x2935cc),_0x2935cc;}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(_0xd6e8db){let _0x288b3b=syntaxTree(_0xd6e8db['state'])['resolveInner'](_0xd6e8db['pos'],-0x1);if(dontComplete['indexOf'](_0x288b3b['name'])>-0x1)return null;let _0x5ed504='VariableName'==_0x288b3b['name']||_0x288b3b['to']-_0x288b3b['from']<0x14&&Identifier['test'](_0xd6e8db['state']['sliceDoc'](_0x288b3b['from'],_0x288b3b['to']));if(!_0x5ed504&&!_0xd6e8db['explicit'])return null;let _0x23b64d=[];for(let _0x4c59dd=_0x288b3b;_0x4c59dd;_0x4c59dd=_0x4c59dd['parent'])_0x34851b['has'](_0x4c59dd['name'])&&(_0x23b64d=_0x23b64d['concat'](getScope(_0xd6e8db['state']['doc'],_0x4c59dd)));return{'options':_0x23b64d,'from':_0x5ed504?_0x288b3b['from']:_0xd6e8db['pos'],'validFor':Identifier};}const javascriptLanguage=_0x324005['define']({'name':'javascript','parser':_0x2e32b3['configure']({'props':[indentNodeProp['add']({'IfStatement':continuedIndent({'except':/^\s*({|else\b)/}),'TryStatement':continuedIndent({'except':/^\s*({|catch\b|finally\b)/}),'LabeledStatement':flatIndent,'SwitchBody':_0x2547e6=>{let _0x4aae3a=_0x2547e6['textAfter'],_0x45d6a7=/^\s*\}/['test'](_0x4aae3a),_0x519b7d=/^\s*(case|default)\b/['test'](_0x4aae3a);return _0x2547e6['baseIndent']+(_0x45d6a7?0x0:_0x519b7d?0x1:0x2)*_0x2547e6['unit'];},'Block':delimitedIndent({'closing':'}'}),'ArrowFunction':_0x383e0b=>_0x383e0b['baseIndent']+_0x383e0b['unit'],'TemplateString\x20BlockComment':()=>null,'Statement\x20Property':continuedIndent({'except':/^\s*{/}),'JSXElement'(_0x13af61){let _0x13c020=/^\s*<\//['test'](_0x13af61['textAfter']);return _0x13af61['lineIndent'](_0x13af61['node']['from'])+(_0x13c020?0x0:_0x13af61['unit']);},'JSXEscape'(_0x179eac){let _0x20a5f3=/\s*\}/['test'](_0x179eac['textAfter']);return _0x179eac['lineIndent'](_0x179eac['node']['from'])+(_0x20a5f3?0x0:_0x179eac['unit']);},'JSXOpenTag\x20JSXSelfClosingTag':_0x41cccb=>_0x41cccb['column'](_0x41cccb['node']['from'])+_0x41cccb['unit']}),_0x14068c['add']({'Block\x20ClassBody\x20SwitchBody\x20EnumBody\x20ObjectExpression\x20ArrayExpression\x20ObjectType':_0x1ba269,'BlockComment':_0x5c96e4=>({'from':_0x5c96e4['from']+0x2,'to':_0x5c96e4['to']-0x2})})]}),'languageData':{'closeBrackets':{'brackets':['(','[','{','\x27','\x22','`']},'commentTokens':{'line':'//','block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*(?:case |default:|\{|\}|<\/)$/,'wordChars':'$'}}),_0x41adf2={'test':_0x42a69d=>/^JSX/['test'](_0x42a69d['name']),'facet':defineLanguageFacet({'commentTokens':{'block':{'open':'{/*','close':'*/}'}}})},typescriptLanguage=javascriptLanguage['configure']({'dialect':'ts'},'typescript'),_0x3a712b=javascriptLanguage['configure']({'dialect':'jsx','props':[_0x371a0d['add'](_0x2e66e3=>_0x2e66e3['isTop']?[_0x41adf2]:void 0x0)]}),tsxLanguage=javascriptLanguage['configure']({'dialect':'jsx\x20ts','props':[_0x371a0d['add'](_0x443c20=>_0x443c20['isTop']?[_0x41adf2]:void 0x0)]},'typescript');let kwCompletion=_0x1b15fd=>({'label':_0x1b15fd,'type':'keyword'});const _0x4772ac='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=_0x4772ac['concat'](['declare','implements','private','protected','public']['map'](kwCompletion));function javascript(_0x4f1276={}){let _0x34d3f0=_0x4f1276['jsx']?_0x4f1276['typescript']?tsxLanguage:_0x3a712b:_0x4f1276['typescript']?typescriptLanguage:javascriptLanguage,_0x5854d9=_0x4f1276['typescript']?typescriptSnippets['concat'](typescriptKeywords):snippets['concat'](_0x4772ac);return new LanguageSupport(_0x34d3f0,[javascriptLanguage['data']['of']({'autocomplete':ifNotIn(dontComplete,completeFromList(_0x5854d9))}),javascriptLanguage['data']['of']({'autocomplete':localCompletionSource}),_0x4f1276['jsx']?autoCloseTags$1:[]]);}function _0x36e4ee(_0x538426){for(;;){if('JSXOpenTag'==_0x538426['name']||'JSXSelfClosingTag'==_0x538426['name']||'JSXFragmentTag'==_0x538426['name'])return _0x538426;if('JSXEscape'==_0x538426['name']||!_0x538426['parent'])return null;_0x538426=_0x538426['parent'];}}function elementName$1(_0xdb52a4,_0x113b3f,_0x11abc1=_0xdb52a4['length']){for(let _0x1c4e87=null==_0x113b3f?void 0x0:_0x113b3f['firstChild'];_0x1c4e87;_0x1c4e87=_0x1c4e87['nextSibling'])if('JSXIdentifier'==_0x1c4e87['name']||'JSXBuiltin'==_0x1c4e87['name']||'JSXNamespacedName'==_0x1c4e87['name']||'JSXMemberExpression'==_0x1c4e87['name'])return _0xdb52a4['sliceString'](_0x1c4e87['from'],Math['min'](_0x1c4e87['to'],_0x11abc1));return'';}const _0x4908f7='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),autoCloseTags$1=EditorView['inputHandler']['of']((_0x22eed8,_0x58a7ab,_0x559873,_0x4d1c0d,_0x4160a1)=>{if((_0x4908f7?_0x22eed8['composing']:_0x22eed8['compositionStarted'])||_0x22eed8['state']['readOnly']||_0x58a7ab!=_0x559873||'>'!=_0x4d1c0d&&'/'!=_0x4d1c0d||!javascriptLanguage['isActiveAt'](_0x22eed8['state'],_0x58a7ab,-0x1))return!0x1;let _0x147f8b=_0x4160a1(),{state:_0x11acc9}=_0x147f8b,_0xee1099=_0x11acc9['changeByRange'](_0xe4607e=>{var _0x8f148f;let _0x2db538,{head:_0x221a79}=_0xe4607e,_0x2d9cc9=syntaxTree(_0x11acc9)['resolveInner'](_0x221a79-0x1,-0x1);if('JSXStartTag'==_0x2d9cc9['name']&&(_0x2d9cc9=_0x2d9cc9['parent']),_0x11acc9['doc']['sliceString'](_0x221a79-0x1,_0x221a79)!=_0x4d1c0d||'JSXAttributeValue'==_0x2d9cc9['name']&&_0x2d9cc9['to']>_0x221a79);else{if('>'==_0x4d1c0d&&'JSXFragmentTag'==_0x2d9cc9['name'])return{'range':_0xe4607e,'changes':{'from':_0x221a79,'insert':'</>'}};if('/'==_0x4d1c0d&&'JSXStartCloseTag'==_0x2d9cc9['name']){let _0x528755=_0x2d9cc9['parent'],_0x4622f1=_0x528755['parent'];if(_0x4622f1&&_0x528755['from']==_0x221a79-0x2&&((_0x2db538=elementName$1(_0x11acc9['doc'],_0x4622f1['firstChild'],_0x221a79))||'JSXFragmentTag'==(null===(_0x8f148f=_0x4622f1['firstChild'])||void 0x0===_0x8f148f?void 0x0:_0x8f148f['name']))){let _0x2713a4=_0x2db538+'>';return{'range':EditorSelection['cursor'](_0x221a79+_0x2713a4['length'],-0x1),'changes':{'from':_0x221a79,'insert':_0x2713a4}};}}else{if('>'==_0x4d1c0d){let _0x21734a=_0x36e4ee(_0x2d9cc9);if(_0x21734a&&'JSXOpenTag'==_0x21734a['name']&&!/^\/?>|^<\//['test'](_0x11acc9['doc']['sliceString'](_0x221a79,_0x221a79+0x2))&&(_0x2db538=elementName$1(_0x11acc9['doc'],_0x21734a,_0x221a79)))return{'range':_0xe4607e,'changes':{'from':_0x221a79,'insert':'</'+_0x2db538+'>'}};}}}return{'range':_0xe4607e};});return!_0xee1099['changes']['empty']&&(_0x22eed8['dispatch']([_0x147f8b,_0x11acc9['update'](_0xee1099,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);}),Targets=['_blank','_self','_top','_parent'],Charsets=['ascii','utf-8','utf-16','latin1','latin1'],Methods=['get','post','put','delete'],_0x4a1553=['application/x-www-form-urlencoded','multipart/form-data','text/plain'],_0xcfb17c=['true','false'],_0x2572ff={},_0x2fb672={'a':{'attrs':{'href':null,'ping':null,'type':null,'media':null,'target':Targets,'hreflang':null}},'abbr':_0x2572ff,'address':_0x2572ff,'area':{'attrs':{'alt':null,'coords':null,'href':null,'target':null,'ping':null,'media':null,'hreflang':null,'type':null,'shape':['default','rect','circle','poly']}},'article':_0x2572ff,'aside':_0x2572ff,'audio':{'attrs':{'src':null,'mediagroup':null,'crossorigin':['anonymous','use-credentials'],'preload':['none','metadata','auto'],'autoplay':['autoplay'],'loop':['loop'],'controls':['controls']}},'b':_0x2572ff,'base':{'attrs':{'href':null,'target':Targets}},'bdi':_0x2572ff,'bdo':_0x2572ff,'blockquote':{'attrs':{'cite':null}},'body':_0x2572ff,'br':_0x2572ff,'button':{'attrs':{'form':null,'formaction':null,'name':null,'value':null,'autofocus':['autofocus'],'disabled':['autofocus'],'formenctype':_0x4a1553,'formmethod':Methods,'formnovalidate':['novalidate'],'formtarget':Targets,'type':['submit','reset','button']}},'canvas':{'attrs':{'width':null,'height':null}},'caption':_0x2572ff,'center':_0x2572ff,'cite':_0x2572ff,'code':_0x2572ff,'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':_0x2572ff,'del':{'attrs':{'cite':null,'datetime':null}},'details':{'attrs':{'open':['open']}},'dfn':_0x2572ff,'div':_0x2572ff,'dl':_0x2572ff,'dt':_0x2572ff,'em':_0x2572ff,'embed':{'attrs':{'src':null,'type':null,'width':null,'height':null}},'eventsource':{'attrs':{'src':null}},'fieldset':{'attrs':{'disabled':['disabled'],'form':null,'name':null}},'figcaption':_0x2572ff,'figure':_0x2572ff,'footer':_0x2572ff,'form':{'attrs':{'action':null,'name':null,'accept-charset':Charsets,'autocomplete':['on','off'],'enctype':_0x4a1553,'method':Methods,'novalidate':['novalidate'],'target':Targets}},'h1':_0x2572ff,'h2':_0x2572ff,'h3':_0x2572ff,'h4':_0x2572ff,'h5':_0x2572ff,'h6':_0x2572ff,'head':{'children':['title','base','link','style','meta','script','noscript','command']},'header':_0x2572ff,'hgroup':_0x2572ff,'hr':_0x2572ff,'html':{'attrs':{'manifest':null}},'i':_0x2572ff,'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':_0x4a1553,'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':_0x2572ff,'keygen':{'attrs':{'challenge':null,'form':null,'name':null,'autofocus':['autofocus'],'disabled':['disabled'],'keytype':['RSA']}},'label':{'attrs':{'for':null,'form':null}},'legend':_0x2572ff,'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':_0x2572ff,'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':_0x2572ff,'noscript':_0x2572ff,'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':_0x2572ff,'param':{'attrs':{'name':null,'value':null}},'pre':_0x2572ff,'progress':{'attrs':{'value':null,'max':null}},'q':{'attrs':{'cite':null}},'rp':_0x2572ff,'rt':_0x2572ff,'ruby':_0x2572ff,'samp':_0x2572ff,'script':{'attrs':{'type':['text/javascript'],'src':null,'async':['async'],'defer':['defer'],'charset':Charsets}},'section':_0x2572ff,'select':{'attrs':{'form':null,'name':null,'size':null,'autofocus':['autofocus'],'disabled':['disabled'],'multiple':['multiple']}},'slot':{'attrs':{'name':null}},'small':_0x2572ff,'source':{'attrs':{'src':null,'type':null,'media':null}},'span':_0x2572ff,'strong':_0x2572ff,'style':{'attrs':{'type':['text/css'],'media':null,'scoped':null}},'sub':_0x2572ff,'summary':_0x2572ff,'sup':_0x2572ff,'table':_0x2572ff,'tbody':_0x2572ff,'td':{'attrs':{'colspan':null,'rowspan':null,'headers':null}},'template':_0x2572ff,'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':_0x2572ff,'th':{'attrs':{'colspan':null,'rowspan':null,'headers':null,'scope':['row','col','rowgroup','colgroup']}},'thead':_0x2572ff,'time':{'attrs':{'datetime':null}},'title':_0x2572ff,'tr':_0x2572ff,'track':{'attrs':{'src':null,'label':null,'default':null,'kind':['subtitles','captions','descriptions','chapters','metadata'],'srclang':null}},'ul':{'children':['li','script','template','ul','ol']},'var':_0x2572ff,'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':_0x2572ff},GlobalAttrs={'accesskey':null,'class':null,'contenteditable':_0xcfb17c,'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':_0xcfb17c,'autocorrect':_0xcfb17c,'autocapitalize':_0xcfb17c,'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':_0xcfb17c,'aria-autocomplete':['inline','list','both','none'],'aria-busy':_0xcfb17c,'aria-checked':['true','false','mixed','undefined'],'aria-controls':null,'aria-describedby':null,'aria-disabled':_0xcfb17c,'aria-dropeffect':null,'aria-expanded':['true','false','undefined'],'aria-flowto':null,'aria-grabbed':['true','false','undefined'],'aria-haspopup':_0xcfb17c,'aria-hidden':_0xcfb17c,'aria-invalid':['true','false','grammar','spelling'],'aria-label':null,'aria-labelledby':null,'aria-level':null,'aria-live':['off','polite','assertive'],'aria-multiline':_0xcfb17c,'aria-multiselectable':_0xcfb17c,'aria-owns':null,'aria-posinset':null,'aria-pressed':['true','false','mixed','undefined'],'aria-readonly':_0xcfb17c,'aria-relevant':null,'aria-required':_0xcfb17c,'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'](_0x430a64=>'on'+_0x430a64);for(let _0x43c88d of eventAttributes)GlobalAttrs[_0x43c88d]=null;class _0x554083{constructor(_0xde50d,_0xe5c7ed){this['tags']={..._0x2fb672,..._0xde50d},this['globalAttrs']={...GlobalAttrs,..._0xe5c7ed},this['allTags']=Object['keys'](this['tags']),this['globalAttrNames']=Object['keys'](this['globalAttrs']);}}function elementName(_0xd4be67,_0x4115b8,_0x58a649=_0xd4be67['length']){if(!_0x4115b8)return'';let _0x41dbf0=_0x4115b8['firstChild'],_0x39ad85=_0x41dbf0&&_0x41dbf0['getChild']('TagName');return _0x39ad85?_0xd4be67['sliceString'](_0x39ad85['from'],Math['min'](_0x39ad85['to'],_0x58a649)):'';}function findParentElement(_0x76ad00,_0x1fc014=!0x1){for(;_0x76ad00;_0x76ad00=_0x76ad00['parent'])if('Element'==_0x76ad00['name']){if(!_0x1fc014)return _0x76ad00;_0x1fc014=!0x1;}return null;}function _0x5ddb47(_0x535d38,_0x2b3ea7,_0x57ebab){let _0x5d0a6a=_0x57ebab['tags'][elementName(_0x535d38,findParentElement(_0x2b3ea7))];return(null==_0x5d0a6a?void 0x0:_0x5d0a6a['children'])||_0x57ebab['allTags'];}function _0xa6b70a(_0x37e9c9,_0x3ed6aa){let _0x4e598b=[];for(let _0x28c811=findParentElement(_0x3ed6aa);_0x28c811&&!_0x28c811['type']['isTop'];_0x28c811=findParentElement(_0x28c811['parent'])){let _0x5623f0=elementName(_0x37e9c9,_0x28c811);if(_0x5623f0&&'CloseTag'==_0x28c811['lastChild']['name'])break;_0x5623f0&&_0x4e598b['indexOf'](_0x5623f0)<0x0&&('EndTag'==_0x3ed6aa['name']||_0x3ed6aa['from']>=_0x28c811['firstChild']['to'])&&_0x4e598b['push'](_0x5623f0);}return _0x4e598b;}_0x554083['default']=new _0x554083();const identifier=/^[:\-\.\w\u00b7-\uffff]*$/;function completeTag(_0x535e29,_0x3639c3,_0x53c995,_0x1749ba,_0x5c1591){let _0x19a8be=/\s*>/['test'](_0x535e29['sliceDoc'](_0x5c1591,_0x5c1591+0x5))?'':'>',_0x12f0ef=findParentElement(_0x53c995,'StartTag'==_0x53c995['name']||'TagName'==_0x53c995['name']);return{'from':_0x1749ba,'to':_0x5c1591,'options':_0x5ddb47(_0x535e29['doc'],_0x12f0ef,_0x3639c3)['map'](_0x51378f=>({'label':_0x51378f,'type':'type'}))['concat'](_0xa6b70a(_0x535e29['doc'],_0x53c995)['map']((_0x423354,_0x2f1c3e)=>({'label':'/'+_0x423354,'apply':'/'+_0x423354+_0x19a8be,'type':'type','boost':0x63-_0x2f1c3e}))),'validFor':/^\/?[:\-\.\w\u00b7-\uffff]*$/};}function completeCloseTag(_0xa3b1a1,_0x374069,_0x1095a4,_0x5e66dd){let _0x32b3ff=/\s*>/['test'](_0xa3b1a1['sliceDoc'](_0x5e66dd,_0x5e66dd+0x5))?'':'>';return{'from':_0x1095a4,'to':_0x5e66dd,'options':_0xa6b70a(_0xa3b1a1['doc'],_0x374069)['map']((_0x2782eb,_0x4725b0)=>({'label':_0x2782eb,'apply':_0x2782eb+_0x32b3ff,'type':'type','boost':0x63-_0x4725b0})),'validFor':identifier};}function completeStartTag(_0x182277,_0x51bd8e,_0x470b89,_0x51bce4){let _0x55da7a=[],_0xcd30db=0x0;for(let _0x2486ab of _0x5ddb47(_0x182277['doc'],_0x470b89,_0x51bd8e))_0x55da7a['push']({'label':'<'+_0x2486ab,'type':'type'});for(let _0x182903 of _0xa6b70a(_0x182277['doc'],_0x470b89))_0x55da7a['push']({'label':'</'+_0x182903+'>','type':'type','boost':0x63-_0xcd30db++});return{'from':_0x51bce4,'to':_0x51bce4,'options':_0x55da7a,'validFor':/^<\/?[:\-\.\w\u00b7-\uffff]*$/};}function completeAttrName(_0x59f4f6,_0x1359d6,_0x188b03,_0x5824f0,_0x2a1a62){let _0x2e4adf=findParentElement(_0x188b03),_0x294403=_0x2e4adf?_0x1359d6['tags'][elementName(_0x59f4f6['doc'],_0x2e4adf)]:null,_0x1e451c=_0x294403&&_0x294403['attrs']?Object['keys'](_0x294403['attrs']):[];return{'from':_0x5824f0,'to':_0x2a1a62,'options':(_0x294403&&!0x1===_0x294403['globalAttrs']?_0x1e451c:_0x1e451c['length']?_0x1e451c['concat'](_0x1359d6['globalAttrNames']):_0x1359d6['globalAttrNames'])['map'](_0xe451ec=>({'label':_0xe451ec,'type':'property'})),'validFor':identifier};}function completeAttrValue(_0x391361,_0x3151b1,_0x1f170d,_0x117e43,_0x373859){var _0x33580a;let _0x4462ab,_0x2b8596=null===(_0x33580a=_0x1f170d['parent'])||void 0x0===_0x33580a?void 0x0:_0x33580a['getChild']('AttributeName'),_0x1d2d7=[];if(_0x2b8596){let _0x4dce64=_0x391361['sliceDoc'](_0x2b8596['from'],_0x2b8596['to']),_0x2050fb=_0x3151b1['globalAttrs'][_0x4dce64];if(!_0x2050fb){let _0xe979ad=findParentElement(_0x1f170d),_0x3e90ee=_0xe979ad?_0x3151b1['tags'][elementName(_0x391361['doc'],_0xe979ad)]:null;_0x2050fb=(null==_0x3e90ee?void 0x0:_0x3e90ee['attrs'])&&_0x3e90ee['attrs'][_0x4dce64];}if(_0x2050fb){let _0x23bc74=_0x391361['sliceDoc'](_0x117e43,_0x373859)['toLowerCase'](),_0x376dcf='\x22',_0x33f209='\x22';/^['"]/['test'](_0x23bc74)?(_0x4462ab='\x22'==_0x23bc74[0x0]?/^[^"]*$/:/^[^']*$/,_0x376dcf='',_0x33f209=_0x391361['sliceDoc'](_0x373859,_0x373859+0x1)==_0x23bc74[0x0]?'':_0x23bc74[0x0],_0x23bc74=_0x23bc74['slice'](0x1),_0x117e43++):_0x4462ab=/^[^\s<>='"]*$/;for(let _0x3abc7f of _0x2050fb)_0x1d2d7['push']({'label':_0x3abc7f,'apply':_0x376dcf+_0x3abc7f+_0x33f209,'type':'constant'});}}return{'from':_0x117e43,'to':_0x373859,'options':_0x1d2d7,'validFor':_0x4462ab};}function htmlCompletionFor(_0x3ceca0,_0xacba2c){let {state:_0x2e1fbc,pos:_0x2b65e4}=_0xacba2c,_0x370389=syntaxTree(_0x2e1fbc)['resolveInner'](_0x2b65e4,-0x1),_0x1c0440=_0x370389['resolve'](_0x2b65e4);for(let _0x2056a9,_0x1e51f3=_0x2b65e4;_0x1c0440==_0x370389&&(_0x2056a9=_0x370389['childBefore'](_0x1e51f3));){let _0x442573=_0x2056a9['lastChild'];if(!_0x442573||!_0x442573['type']['isError']||_0x442573['from']<_0x442573['to'])break;_0x1c0440=_0x370389=_0x2056a9,_0x1e51f3=_0x442573['from'];}return'TagName'==_0x370389['name']?_0x370389['parent']&&/CloseTag$/['test'](_0x370389['parent']['name'])?completeCloseTag(_0x2e1fbc,_0x370389,_0x370389['from'],_0x2b65e4):completeTag(_0x2e1fbc,_0x3ceca0,_0x370389,_0x370389['from'],_0x2b65e4):'StartTag'==_0x370389['name']||'IncompleteTag'==_0x370389['name']?completeTag(_0x2e1fbc,_0x3ceca0,_0x370389,_0x2b65e4,_0x2b65e4):'StartCloseTag'==_0x370389['name']||'IncompleteCloseTag'==_0x370389['name']?completeCloseTag(_0x2e1fbc,_0x370389,_0x2b65e4,_0x2b65e4):'OpenTag'==_0x370389['name']||'SelfClosingTag'==_0x370389['name']||'AttributeName'==_0x370389['name']?completeAttrName(_0x2e1fbc,_0x3ceca0,_0x370389,'AttributeName'==_0x370389['name']?_0x370389['from']:_0x2b65e4,_0x2b65e4):'Is'==_0x370389['name']||'AttributeValue'==_0x370389['name']||'UnquotedAttributeValue'==_0x370389['name']?completeAttrValue(_0x2e1fbc,_0x3ceca0,_0x370389,'Is'==_0x370389['name']?_0x2b65e4:_0x370389['from'],_0x2b65e4):!_0xacba2c['explicit']||'Element'!=_0x1c0440['name']&&'Text'!=_0x1c0440['name']&&'Document'!=_0x1c0440['name']?null:completeStartTag(_0x2e1fbc,_0x3ceca0,_0x370389,_0x2b65e4);}function htmlCompletionSource(_0x427d57){return htmlCompletionFor(_0x554083['default'],_0x427d57);}function htmlCompletionSourceWith(_0x58539b){let {extraTags:_0x2c9513,extraGlobalAttributes:_0x100f64}=_0x58539b,_0x26a760=_0x100f64||_0x2c9513?new _0x554083(_0x2c9513,_0x100f64):_0x554083['default'];return _0x15381e=>htmlCompletionFor(_0x26a760,_0x15381e);}const _0x56e835=javascriptLanguage['parser']['configure']({'top':'SingleExpression'}),defaultNesting=[{'tag':'script','attrs':_0x5cefd8=>'text/typescript'==_0x5cefd8['type']||'ts'==_0x5cefd8['lang'],'parser':typescriptLanguage['parser']},{'tag':'script','attrs':_0x57f008=>'text/babel'==_0x57f008['type']||'text/jsx'==_0x57f008['type'],'parser':_0x3a712b['parser']},{'tag':'script','attrs':_0x565164=>'text/typescript-jsx'==_0x565164['type'],'parser':tsxLanguage['parser']},{'tag':'script','attrs':_0x41ed1a=>/^(importmap|speculationrules|application\/(.+\+)?json)$/i['test'](_0x41ed1a['type']),'parser':_0x56e835},{'tag':'script','attrs':_0x44cd98=>!_0x44cd98['type']||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i['test'](_0x44cd98['type']),'parser':javascriptLanguage['parser']},{'tag':'style','attrs':_0x224d01=>(!_0x224d01['lang']||'css'==_0x224d01['lang'])&&(!_0x224d01['type']||/^(text\/)?(x-)?(stylesheet|css)$/i['test'](_0x224d01['type'])),'parser':_0x2082af['parser']}],defaultAttrs=[{'name':'style','parser':_0x2082af['parser']['configure']({'top':'Styles'})}]['concat'](eventAttributes['map'](_0x4d4d92=>({'name':_0x4d4d92,'parser':javascriptLanguage['parser']}))),htmlPlain=_0x324005['define']({'name':'html','parser':_0x2c650c['configure']({'props':[indentNodeProp['add']({'Element'(_0x15206d){let _0x368db4=/^(\s*)(<\/)?/['exec'](_0x15206d['textAfter']);return _0x15206d['node']['to']<=_0x15206d['pos']+_0x368db4[0x0]['length']?_0x15206d['continue']():_0x15206d['lineIndent'](_0x15206d['node']['from'])+(_0x368db4[0x2]?0x0:_0x15206d['unit']);},'OpenTag\x20CloseTag\x20SelfClosingTag':_0x1d05c5=>_0x1d05c5['column'](_0x1d05c5['node']['from'])+_0x1d05c5['unit'],'Document'(_0x2cabd4){if(_0x2cabd4['pos']+/\s*/['exec'](_0x2cabd4['textAfter'])[0x0]['length']<_0x2cabd4['node']['to'])return _0x2cabd4['continue']();let _0x5e4c70,_0x5e123a=null;for(let _0xf0ac25=_0x2cabd4['node'];;){let _0x17535d=_0xf0ac25['lastChild'];if(!_0x17535d||'Element'!=_0x17535d['name']||_0x17535d['to']!=_0xf0ac25['to'])break;_0x5e123a=_0xf0ac25=_0x17535d;}return _0x5e123a&&(!(_0x5e4c70=_0x5e123a['lastChild'])||'CloseTag'!=_0x5e4c70['name']&&'SelfClosingTag'!=_0x5e4c70['name'])?_0x2cabd4['lineIndent'](_0x5e123a['from'])+_0x2cabd4['unit']:null;}}),_0x14068c['add']({'Element'(_0x62ad4f){let _0x4fc59e=_0x62ad4f['firstChild'],_0x558bd7=_0x62ad4f['lastChild'];return _0x4fc59e&&'OpenTag'==_0x4fc59e['name']?{'from':_0x4fc59e['to'],'to':'CloseTag'==_0x558bd7['name']?_0x558bd7['from']:_0x62ad4f['to']}:null;}}),bracketMatchingHandle['add']({'OpenTag\x20CloseTag':_0x3704e0=>_0x3704e0['getChild']('TagName')})]}),'languageData':{'commentTokens':{'block':{'open':'<!--','close':'-->'}},'indentOnInput':/^\s*<\/\w+\W$/,'wordChars':'-_'}}),htmlLanguage=htmlPlain['configure']({'wrap':configureNesting(defaultNesting,defaultAttrs)});function html(_0x4ac25c={}){let _0x375813,_0x28f9b4='';!0x1===_0x4ac25c['matchClosingTags']&&(_0x28f9b4='noMatch'),!0x0===_0x4ac25c['selfClosingTags']&&(_0x28f9b4=(_0x28f9b4?_0x28f9b4+'\x20':'')+'selfClosing'),(_0x4ac25c['nestedLanguages']&&_0x4ac25c['nestedLanguages']['length']||_0x4ac25c['nestedAttributes']&&_0x4ac25c['nestedAttributes']['length'])&&(_0x375813=configureNesting((_0x4ac25c['nestedLanguages']||[])['concat'](defaultNesting),(_0x4ac25c['nestedAttributes']||[])['concat'](defaultAttrs)));let _0x3a2fc1=_0x375813?htmlPlain['configure']({'wrap':_0x375813,'dialect':_0x28f9b4}):_0x28f9b4?htmlLanguage['configure']({'dialect':_0x28f9b4}):htmlLanguage;return new LanguageSupport(_0x3a2fc1,[htmlLanguage['data']['of']({'autocomplete':htmlCompletionSourceWith(_0x4ac25c)}),!0x1!==_0x4ac25c['autoCloseTags']?autoCloseTags:[],javascript()['support'],_0x22b77b()['support']]);}const _0x4acd2e=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']((_0x2434aa,_0x506f31,_0x17d9bd,_0x4254a8,_0x1b6e03)=>{if(_0x2434aa['composing']||_0x2434aa['state']['readOnly']||_0x506f31!=_0x17d9bd||'>'!=_0x4254a8&&'/'!=_0x4254a8||!htmlLanguage['isActiveAt'](_0x2434aa['state'],_0x506f31,-0x1))return!0x1;let _0x304eec=_0x1b6e03(),{state:_0x5db87c}=_0x304eec,_0x37b186=_0x5db87c['changeByRange'](_0x311cde=>{var _0x5db92a,_0x519f9e,_0x54529c;let _0x5d00bc,_0x562f65=_0x5db87c['doc']['sliceString'](_0x311cde['from']-0x1,_0x311cde['to'])==_0x4254a8,{head:_0x39b26c}=_0x311cde,_0xc1cf16=syntaxTree(_0x5db87c)['resolveInner'](_0x39b26c,-0x1);if(_0x562f65&&'>'==_0x4254a8&&'EndTag'==_0xc1cf16['name']){let _0x42dad1=_0xc1cf16['parent'];if('CloseTag'!=(null===(_0x519f9e=null===(_0x5db92a=_0x42dad1['parent'])||void 0x0===_0x5db92a?void 0x0:_0x5db92a['lastChild'])||void 0x0===_0x519f9e?void 0x0:_0x519f9e['name'])&&(_0x5d00bc=elementName(_0x5db87c['doc'],_0x42dad1['parent'],_0x39b26c))&&!_0x4acd2e['has'](_0x5d00bc))return{'range':_0x311cde,'changes':{'from':_0x39b26c,'to':_0x39b26c+('>'===_0x5db87c['doc']['sliceString'](_0x39b26c,_0x39b26c+0x1)?0x1:0x0),'insert':'</'+_0x5d00bc+'>'}};}else{if(_0x562f65&&'/'==_0x4254a8&&'IncompleteCloseTag'==_0xc1cf16['name']){let _0x1abdcd=_0xc1cf16['parent'];if(_0xc1cf16['from']==_0x39b26c-0x2&&'CloseTag'!=(null===(_0x54529c=_0x1abdcd['lastChild'])||void 0x0===_0x54529c?void 0x0:_0x54529c['name'])&&(_0x5d00bc=elementName(_0x5db87c['doc'],_0x1abdcd,_0x39b26c))&&!_0x4acd2e['has'](_0x5d00bc)){let _0x15b623=_0x39b26c+('>'===_0x5db87c['doc']['sliceString'](_0x39b26c,_0x39b26c+0x1)?0x1:0x0),_0x29b58d=_0x5d00bc+'>';return{'range':EditorSelection['cursor'](_0x39b26c+_0x29b58d['length'],-0x1),'changes':{'from':_0x39b26c,'to':_0x15b623,'insert':_0x29b58d}};}}}return{'range':_0x311cde};});return!_0x37b186['changes']['empty']&&(_0x2434aa['dispatch']([_0x304eec,_0x5db87c['update'](_0x37b186,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);});class CompositeBlock{static['create'](_0x1add8b,_0x48bebd,_0x2bcec5,_0xb5087e,_0x48a95c){return new CompositeBlock(_0x1add8b,_0x48bebd,_0x2bcec5,_0xb5087e+(_0xb5087e<<0x8)+_0x1add8b+(_0x48bebd<<0x4)|0x0,_0x48a95c,[],[]);}constructor(_0x92bf95,_0x11ed33,_0xf022e5,_0x351b60,_0x4e104c,_0x5ea33d,_0x2a7666){this['type']=_0x92bf95,this['value']=_0x11ed33,this['from']=_0xf022e5,this['hash']=_0x351b60,this['end']=_0x4e104c,this['children']=_0x5ea33d,this['positions']=_0x2a7666,this['hashProp']=[[_0x4ee311['contextHash'],_0x351b60]];}['addChild'](_0x32d992,_0x473089){_0x32d992['prop'](_0x4ee311['contextHash'])!=this['hash']&&(_0x32d992=new _0x2701ca(_0x32d992['type'],_0x32d992['children'],_0x32d992['positions'],_0x32d992['length'],this['hashProp'])),this['children']['push'](_0x32d992),this['positions']['push'](_0x473089);}['toTree'](_0x553aae,_0x4f4b72=this['end']){let _0x4d2c28=this['children']['length']-0x1;return _0x4d2c28>=0x0&&(_0x4f4b72=Math['max'](_0x4f4b72,this['positions'][_0x4d2c28]+this['children'][_0x4d2c28]['length']+this['from'])),new _0x2701ca(_0x553aae['types'][this['type']],this['children'],this['positions'],_0x4f4b72-this['from'])['balance']({'makeTree':(_0x113357,_0x57e15d,_0x41e15e)=>new _0x2701ca(_0x343050['none'],_0x113357,_0x57e15d,_0x41e15e,this['hashProp'])});}}var _0x5d17b1;!function(_0x278f41){_0x278f41[_0x278f41['Document']=0x1]='Document',_0x278f41[_0x278f41['CodeBlock']=0x2]='CodeBlock',_0x278f41[_0x278f41['FencedCode']=0x3]='FencedCode',_0x278f41[_0x278f41['Blockquote']=0x4]='Blockquote',_0x278f41[_0x278f41['HorizontalRule']=0x5]='HorizontalRule',_0x278f41[_0x278f41['BulletList']=0x6]='BulletList',_0x278f41[_0x278f41['OrderedList']=0x7]='OrderedList',_0x278f41[_0x278f41['ListItem']=0x8]='ListItem',_0x278f41[_0x278f41['ATXHeading1']=0x9]='ATXHeading1',_0x278f41[_0x278f41['ATXHeading2']=0xa]='ATXHeading2',_0x278f41[_0x278f41['ATXHeading3']=0xb]='ATXHeading3',_0x278f41[_0x278f41['ATXHeading4']=0xc]='ATXHeading4',_0x278f41[_0x278f41['ATXHeading5']=0xd]='ATXHeading5',_0x278f41[_0x278f41['ATXHeading6']=0xe]='ATXHeading6',_0x278f41[_0x278f41['SetextHeading1']=0xf]='SetextHeading1',_0x278f41[_0x278f41['SetextHeading2']=0x10]='SetextHeading2',_0x278f41[_0x278f41['HTMLBlock']=0x11]='HTMLBlock',_0x278f41[_0x278f41['LinkReference']=0x12]='LinkReference',_0x278f41[_0x278f41['Paragraph']=0x13]='Paragraph',_0x278f41[_0x278f41['CommentBlock']=0x14]='CommentBlock',_0x278f41[_0x278f41['ProcessingInstructionBlock']=0x15]='ProcessingInstructionBlock',_0x278f41[_0x278f41['Escape']=0x16]='Escape',_0x278f41[_0x278f41['Entity']=0x17]='Entity',_0x278f41[_0x278f41['HardBreak']=0x18]='HardBreak',_0x278f41[_0x278f41['Emphasis']=0x19]='Emphasis',_0x278f41[_0x278f41['StrongEmphasis']=0x1a]='StrongEmphasis',_0x278f41[_0x278f41['Link']=0x1b]='Link',_0x278f41[_0x278f41['Image']=0x1c]='Image',_0x278f41[_0x278f41['InlineCode']=0x1d]='InlineCode',_0x278f41[_0x278f41['HTMLTag']=0x1e]='HTMLTag',_0x278f41[_0x278f41['Comment']=0x1f]='Comment',_0x278f41[_0x278f41['ProcessingInstruction']=0x20]='ProcessingInstruction',_0x278f41[_0x278f41['Autolink']=0x21]='Autolink',_0x278f41[_0x278f41['HeaderMark']=0x22]='HeaderMark',_0x278f41[_0x278f41['QuoteMark']=0x23]='QuoteMark',_0x278f41[_0x278f41['ListMark']=0x24]='ListMark',_0x278f41[_0x278f41['LinkMark']=0x25]='LinkMark',_0x278f41[_0x278f41['EmphasisMark']=0x26]='EmphasisMark',_0x278f41[_0x278f41['CodeMark']=0x27]='CodeMark',_0x278f41[_0x278f41['CodeText']=0x28]='CodeText',_0x278f41[_0x278f41['CodeInfo']=0x29]='CodeInfo',_0x278f41[_0x278f41['LinkTitle']=0x2a]='LinkTitle',_0x278f41[_0x278f41['LinkLabel']=0x2b]='LinkLabel',_0x278f41[_0x278f41['URL']=0x2c]='URL';}(_0x5d17b1||(_0x5d17b1={}));class _0x40e5fb{constructor(_0x27318b,_0x105eae){this['start']=_0x27318b,this['content']=_0x105eae,this['marks']=[],this['parsers']=[];}}class _0x370422{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 _0x1a7968=this['skipSpace'](this['basePos']);this['indent']=this['countIndent'](_0x1a7968,this['pos'],this['indent']),this['pos']=_0x1a7968,this['next']=_0x1a7968==this['text']['length']?-0x1:this['text']['charCodeAt'](_0x1a7968);}['skipSpace'](_0x8c3232){return _0xecaa59(this['text'],_0x8c3232);}['reset'](_0x55c5f1){for(this['text']=_0x55c5f1,this['baseIndent']=this['basePos']=this['pos']=this['indent']=0x0,this['forwardInner'](),this['depth']=0x1;this['markers']['length'];)this['markers']['pop']();}['moveBase'](_0x38f443){this['basePos']=_0x38f443,this['baseIndent']=this['countIndent'](_0x38f443,this['pos'],this['indent']);}['moveBaseColumn'](_0xac5191){this['baseIndent']=_0xac5191,this['basePos']=this['findColumn'](_0xac5191);}['addMarker'](_0x3d265b){this['markers']['push'](_0x3d265b);}['countIndent'](_0x24143c,_0x14573e=0x0,_0x19b755=0x0){for(let _0x20c72d=_0x14573e;_0x20c72d<_0x24143c;_0x20c72d++)_0x19b755+=0x9==this['text']['charCodeAt'](_0x20c72d)?0x4-_0x19b755%0x4:0x1;return _0x19b755;}['findColumn'](_0x12456e){let _0x1a6172=0x0;for(let _0x2e10b4=0x0;_0x1a6172<this['text']['length']&&_0x2e10b4<_0x12456e;_0x1a6172++)_0x2e10b4+=0x9==this['text']['charCodeAt'](_0x1a6172)?0x4-_0x2e10b4%0x4:0x1;return _0x1a6172;}['scrub'](){if(!this['baseIndent'])return this['text'];let _0x243bc7='';for(let _0x2c9432=0x0;_0x2c9432<this['basePos'];_0x2c9432++)_0x243bc7+='\x20';return _0x243bc7+this['text']['slice'](this['basePos']);}}function skipForList(_0x51bfb1,_0x5d71b6,_0x11a09b){if(_0x11a09b['pos']==_0x11a09b['text']['length']||_0x51bfb1!=_0x5d71b6['block']&&_0x11a09b['indent']>=_0x5d71b6['stack'][_0x11a09b['depth']+0x1]['value']+_0x11a09b['baseIndent'])return!0x0;if(_0x11a09b['indent']>=_0x11a09b['baseIndent']+0x4)return!0x1;let _0x5ce52d=(_0x51bfb1['type']==_0x5d17b1['OrderedList']?isOrderedList:isBulletList)(_0x11a09b,_0x5d71b6,!0x1);return _0x5ce52d>0x0&&(_0x51bfb1['type']!=_0x5d17b1['BulletList']||isHorizontalRule(_0x11a09b,_0x5d71b6,!0x1)<0x0)&&_0x11a09b['text']['charCodeAt'](_0x11a09b['pos']+_0x5ce52d-0x1)==_0x51bfb1['value'];}const DefaultSkipMarkup={[_0x5d17b1['Blockquote']]:(_0x1567fb,_0x53f18b,_0x28c24b)=>0x3e==_0x28c24b['next']&&(_0x28c24b['markers']['push'](elt(_0x5d17b1['QuoteMark'],_0x53f18b['lineStart']+_0x28c24b['pos'],_0x53f18b['lineStart']+_0x28c24b['pos']+0x1)),_0x28c24b['moveBase'](_0x28c24b['pos']+(_0x150f2a(_0x28c24b['text']['charCodeAt'](_0x28c24b['pos']+0x1))?0x2:0x1)),_0x1567fb['end']=_0x53f18b['lineStart']+_0x28c24b['text']['length'],!0x0),[_0x5d17b1['ListItem']]:(_0x1a74da,_0x1ab432,_0x32cc52)=>!(_0x32cc52['indent']<_0x32cc52['baseIndent']+_0x1a74da['value']&&_0x32cc52['next']>-0x1)&&(_0x32cc52['moveBaseColumn'](_0x32cc52['baseIndent']+_0x1a74da['value']),!0x0),[_0x5d17b1['OrderedList']]:skipForList,[_0x5d17b1['BulletList']]:skipForList,[_0x5d17b1['Document']]:()=>!0x0};function _0x150f2a(_0x550e7e){return 0x20==_0x550e7e||0x9==_0x550e7e||0xa==_0x550e7e||0xd==_0x550e7e;}function _0xecaa59(_0x2ed5e8,_0x398ada=0x0){for(;_0x398ada<_0x2ed5e8['length']&&_0x150f2a(_0x2ed5e8['charCodeAt'](_0x398ada));)_0x398ada++;return _0x398ada;}function _0x5506f1(_0x4268bc,_0x3a3259,_0x1811c0){for(;_0x3a3259>_0x1811c0&&_0x150f2a(_0x4268bc['charCodeAt'](_0x3a3259-0x1));)_0x3a3259--;return _0x3a3259;}function _0x5646b5(_0x39bb8b){if(0x60!=_0x39bb8b['next']&&0x7e!=_0x39bb8b['next'])return-0x1;let _0x826bf=_0x39bb8b['pos']+0x1;for(;_0x826bf<_0x39bb8b['text']['length']&&_0x39bb8b['text']['charCodeAt'](_0x826bf)==_0x39bb8b['next'];)_0x826bf++;if(_0x826bf<_0x39bb8b['pos']+0x3)return-0x1;if(0x60==_0x39bb8b['next']){for(let _0x2ecc61=_0x826bf;_0x2ecc61<_0x39bb8b['text']['length'];_0x2ecc61++)if(0x60==_0x39bb8b['text']['charCodeAt'](_0x2ecc61))return-0x1;}return _0x826bf;}function isBlockquote(_0x2b437d){return 0x3e!=_0x2b437d['next']?-0x1:0x20==_0x2b437d['text']['charCodeAt'](_0x2b437d['pos']+0x1)?0x2:0x1;}function isHorizontalRule(_0x4b403f,_0x2940de,_0x2aa21d){if(0x2a!=_0x4b403f['next']&&0x2d!=_0x4b403f['next']&&0x5f!=_0x4b403f['next'])return-0x1;let _0x4db7a6=0x1;for(let _0x5c270c=_0x4b403f['pos']+0x1;_0x5c270c<_0x4b403f['text']['length'];_0x5c270c++){let _0x108881=_0x4b403f['text']['charCodeAt'](_0x5c270c);if(_0x108881==_0x4b403f['next'])_0x4db7a6++;else{if(!_0x150f2a(_0x108881))return-0x1;}}return _0x2aa21d&&0x2d==_0x4b403f['next']&&isSetextUnderline(_0x4b403f)>-0x1&&_0x4b403f['depth']==_0x2940de['stack']['length']&&_0x2940de['parser']['leafBlockParsers']['indexOf'](DefaultLeafBlocks['SetextHeading'])>-0x1||_0x4db7a6<0x3?-0x1:0x1;}function inList(_0x40fc3f,_0x587824){for(let _0x495293=_0x40fc3f['stack']['length']-0x1;_0x495293>=0x0;_0x495293--)if(_0x40fc3f['stack'][_0x495293]['type']==_0x587824)return!0x0;return!0x1;}function isBulletList(_0x1e5582,_0x50390c,_0x13ad00){return 0x2d!=_0x1e5582['next']&&0x2b!=_0x1e5582['next']&&0x2a!=_0x1e5582['next']||_0x1e5582['pos']!=_0x1e5582['text']['length']-0x1&&!_0x150f2a(_0x1e5582['text']['charCodeAt'](_0x1e5582['pos']+0x1))||!(!_0x13ad00||inList(_0x50390c,_0x5d17b1['BulletList'])||_0x1e5582['skipSpace'](_0x1e5582['pos']+0x2)<_0x1e5582['text']['length'])?-0x1:0x1;}function isOrderedList(_0x16e20b,_0x494b10,_0x1945ac){let _0x12f893=_0x16e20b['pos'],_0x262e8f=_0x16e20b['next'];for(;_0x262e8f>=0x30&&_0x262e8f<=0x39;){if(_0x12f893++,_0x12f893==_0x16e20b['text']['length'])return-0x1;_0x262e8f=_0x16e20b['text']['charCodeAt'](_0x12f893);}return _0x12f893==_0x16e20b['pos']||_0x12f893>_0x16e20b['pos']+0x9||0x2e!=_0x262e8f&&0x29!=_0x262e8f||_0x12f893<_0x16e20b['text']['length']-0x1&&!_0x150f2a(_0x16e20b['text']['charCodeAt'](_0x12f893+0x1))||_0x1945ac&&!inList(_0x494b10,_0x5d17b1['OrderedList'])&&(_0x16e20b['skipSpace'](_0x12f893+0x1)==_0x16e20b['text']['length']||_0x12f893>_0x16e20b['pos']+0x1||0x31!=_0x16e20b['next'])?-0x1:_0x12f893+0x1-_0x16e20b['pos'];}function isAtxHeading(_0x1331d7){if(0x23!=_0x1331d7['next'])return-0x1;let _0x3bcb23=_0x1331d7['pos']+0x1;for(;_0x3bcb23<_0x1331d7['text']['length']&&0x23==_0x1331d7['text']['charCodeAt'](_0x3bcb23);)_0x3bcb23++;if(_0x3bcb23<_0x1331d7['text']['length']&&0x20!=_0x1331d7['text']['charCodeAt'](_0x3bcb23))return-0x1;let _0x7dc95=_0x3bcb23-_0x1331d7['pos'];return _0x7dc95>0x6?-0x1:_0x7dc95;}function isSetextUnderline(_0x3500ff){if(0x2d!=_0x3500ff['next']&&0x3d!=_0x3500ff['next']||_0x3500ff['indent']>=_0x3500ff['baseIndent']+0x4)return-0x1;let _0x683a7f=_0x3500ff['pos']+0x1;for(;_0x683a7f<_0x3500ff['text']['length']&&_0x3500ff['text']['charCodeAt'](_0x683a7f)==_0x3500ff['next'];)_0x683a7f++;let _0x5d863d=_0x683a7f;for(;_0x683a7f<_0x3500ff['text']['length']&&_0x150f2a(_0x3500ff['text']['charCodeAt'](_0x683a7f));)_0x683a7f++;return _0x683a7f==_0x3500ff['text']['length']?_0x5d863d:-0x1;}const EmptyLine=/^[ \t]*$/,CommentEnd=/-->/,_0xbe7224=/\?>/,HTMLBlockStyle=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,CommentEnd],[/^\s*<\?/,_0xbe7224],[/^\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 _0x286f20(_0x1f4842,_0x355c67,_0x5ef9cd){if(0x3c!=_0x1f4842['next'])return-0x1;let _0x47ae86=_0x1f4842['text']['slice'](_0x1f4842['pos']);for(let _0x122d1d=0x0,_0x9d6746=HTMLBlockStyle['length']-(_0x5ef9cd?0x1:0x0);_0x122d1d<_0x9d6746;_0x122d1d++)if(HTMLBlockStyle[_0x122d1d][0x0]['test'](_0x47ae86))return _0x122d1d;return-0x1;}function getListIndent(_0x2a260e,_0x40e7f5){let _0x35d6d4=_0x2a260e['countIndent'](_0x40e7f5,_0x2a260e['pos'],_0x2a260e['indent']),_0x34ec6a=_0x2a260e['countIndent'](_0x2a260e['skipSpace'](_0x40e7f5),_0x40e7f5,_0x35d6d4);return _0x34ec6a>=_0x35d6d4+0x5?_0x35d6d4+0x1:_0x34ec6a;}function addCodeText(_0x24a4af,_0x193d1c,_0x2f2d18){let _0x2b0d6c=_0x24a4af['length']-0x1;_0x2b0d6c>=0x0&&_0x24a4af[_0x2b0d6c]['to']==_0x193d1c&&_0x24a4af[_0x2b0d6c]['type']==_0x5d17b1['CodeText']?_0x24a4af[_0x2b0d6c]['to']=_0x2f2d18:_0x24a4af['push'](elt(_0x5d17b1['CodeText'],_0x193d1c,_0x2f2d18));}const DefaultBlockParsers={'LinkReference':void 0x0,'IndentedCode'(_0x4089e6,_0x48908e){let _0x40d4b1=_0x48908e['baseIndent']+0x4;if(_0x48908e['indent']<_0x40d4b1)return!0x1;let _0x1d9cc2=_0x48908e['findColumn'](_0x40d4b1),_0x39cfe5=_0x4089e6['lineStart']+_0x1d9cc2,_0x1cae79=_0x4089e6['lineStart']+_0x48908e['text']['length'],_0x5e4b53=[],_0x1c2179=[];for(addCodeText(_0x5e4b53,_0x39cfe5,_0x1cae79);_0x4089e6['nextLine']()&&_0x48908e['depth']>=_0x4089e6['stack']['length'];)if(_0x48908e['pos']==_0x48908e['text']['length']){addCodeText(_0x1c2179,_0x4089e6['lineStart']-0x1,_0x4089e6['lineStart']);for(let _0x232a58 of _0x48908e['markers'])_0x1c2179['push'](_0x232a58);}else{if(_0x48908e['indent']<_0x40d4b1)break;{if(_0x1c2179['length']){for(let _0x47a92c of _0x1c2179)_0x47a92c['type']==_0x5d17b1['CodeText']?addCodeText(_0x5e4b53,_0x47a92c['from'],_0x47a92c['to']):_0x5e4b53['push'](_0x47a92c);_0x1c2179=[];}addCodeText(_0x5e4b53,_0x4089e6['lineStart']-0x1,_0x4089e6['lineStart']);for(let _0x2bfcd1 of _0x48908e['markers'])_0x5e4b53['push'](_0x2bfcd1);_0x1cae79=_0x4089e6['lineStart']+_0x48908e['text']['length'];let _0x4b24bf=_0x4089e6['lineStart']+_0x48908e['findColumn'](_0x48908e['baseIndent']+0x4);_0x4b24bf<_0x1cae79&&addCodeText(_0x5e4b53,_0x4b24bf,_0x1cae79);}}return _0x1c2179['length']&&(_0x1c2179=_0x1c2179['filter'](_0x2c8ca3=>_0x2c8ca3['type']!=_0x5d17b1['CodeText']),_0x1c2179['length']&&(_0x48908e['markers']=_0x1c2179['concat'](_0x48908e['markers']))),_0x4089e6['addNode'](_0x4089e6['buffer']['writeElements'](_0x5e4b53,-_0x39cfe5)['finish'](_0x5d17b1['CodeBlock'],_0x1cae79-_0x39cfe5),_0x39cfe5),!0x0;},'FencedCode'(_0x1d77b7,_0x59ef77){let _0x516115=_0x5646b5(_0x59ef77);if(_0x516115<0x0)return!0x1;let _0x6495f1=_0x1d77b7['lineStart']+_0x59ef77['pos'],_0x3979c5=_0x59ef77['next'],_0xee54b=_0x516115-_0x59ef77['pos'],_0x3be51a=_0x59ef77['skipSpace'](_0x516115),_0x646b61=_0x5506f1(_0x59ef77['text'],_0x59ef77['text']['length'],_0x3be51a),_0xf40865=[elt(_0x5d17b1['CodeMark'],_0x6495f1,_0x6495f1+_0xee54b)];_0x3be51a<_0x646b61&&_0xf40865['push'](elt(_0x5d17b1['CodeInfo'],_0x1d77b7['lineStart']+_0x3be51a,_0x1d77b7['lineStart']+_0x646b61));for(let _0x1766c0=!0x0;_0x1d77b7['nextLine']()&&_0x59ef77['depth']>=_0x1d77b7['stack']['length'];_0x1766c0=!0x1){let _0x2d65df=_0x59ef77['pos'];if(_0x59ef77['indent']-_0x59ef77['baseIndent']<0x4){for(;_0x2d65df<_0x59ef77['text']['length']&&_0x59ef77['text']['charCodeAt'](_0x2d65df)==_0x3979c5;)_0x2d65df++;}if(_0x2d65df-_0x59ef77['pos']>=_0xee54b&&_0x59ef77['skipSpace'](_0x2d65df)==_0x59ef77['text']['length']){for(let _0x207a3a of _0x59ef77['markers'])_0xf40865['push'](_0x207a3a);_0xf40865['push'](elt(_0x5d17b1['CodeMark'],_0x1d77b7['lineStart']+_0x59ef77['pos'],_0x1d77b7['lineStart']+_0x2d65df)),_0x1d77b7['nextLine']();break;}{_0x1766c0||addCodeText(_0xf40865,_0x1d77b7['lineStart']-0x1,_0x1d77b7['lineStart']);for(let _0x36598c of _0x59ef77['markers'])_0xf40865['push'](_0x36598c);let _0x8b4130=_0x1d77b7['lineStart']+_0x59ef77['basePos'],_0x23ea22=_0x1d77b7['lineStart']+_0x59ef77['text']['length'];_0x8b4130<_0x23ea22&&addCodeText(_0xf40865,_0x8b4130,_0x23ea22);}}return _0x1d77b7['addNode'](_0x1d77b7['buffer']['writeElements'](_0xf40865,-_0x6495f1)['finish'](_0x5d17b1['FencedCode'],_0x1d77b7['prevLineEnd']()-_0x6495f1),_0x6495f1),!0x0;},'Blockquote'(_0x24ac45,_0x2055b3){let _0x34b03c=isBlockquote(_0x2055b3);return!(_0x34b03c<0x0)&&(_0x24ac45['startContext'](_0x5d17b1['Blockquote'],_0x2055b3['pos']),_0x24ac45['addNode'](_0x5d17b1['QuoteMark'],_0x24ac45['lineStart']+_0x2055b3['pos'],_0x24ac45['lineStart']+_0x2055b3['pos']+0x1),_0x2055b3['moveBase'](_0x2055b3['pos']+_0x34b03c),null);},'HorizontalRule'(_0x411a24,_0x4618a8){if(isHorizontalRule(_0x4618a8,_0x411a24,!0x1)<0x0)return!0x1;let _0x44eb18=_0x411a24['lineStart']+_0x4618a8['pos'];return _0x411a24['nextLine'](),_0x411a24['addNode'](_0x5d17b1['HorizontalRule'],_0x44eb18),!0x0;},'BulletList'(_0x434db6,_0x4696be){let _0x46a940=isBulletList(_0x4696be,_0x434db6,!0x1);if(_0x46a940<0x0)return!0x1;_0x434db6['block']['type']!=_0x5d17b1['BulletList']&&_0x434db6['startContext'](_0x5d17b1['BulletList'],_0x4696be['basePos'],_0x4696be['next']);let _0x13ec2e=getListIndent(_0x4696be,_0x4696be['pos']+0x1);return _0x434db6['startContext'](_0x5d17b1['ListItem'],_0x4696be['basePos'],_0x13ec2e-_0x4696be['baseIndent']),_0x434db6['addNode'](_0x5d17b1['ListMark'],_0x434db6['lineStart']+_0x4696be['pos'],_0x434db6['lineStart']+_0x4696be['pos']+_0x46a940),_0x4696be['moveBaseColumn'](_0x13ec2e),null;},'OrderedList'(_0x146080,_0x3c3a83){let _0x4bad76=isOrderedList(_0x3c3a83,_0x146080,!0x1);if(_0x4bad76<0x0)return!0x1;_0x146080['block']['type']!=_0x5d17b1['OrderedList']&&_0x146080['startContext'](_0x5d17b1['OrderedList'],_0x3c3a83['basePos'],_0x3c3a83['text']['charCodeAt'](_0x3c3a83['pos']+_0x4bad76-0x1));let _0x4e25f9=getListIndent(_0x3c3a83,_0x3c3a83['pos']+_0x4bad76);return _0x146080['startContext'](_0x5d17b1['ListItem'],_0x3c3a83['basePos'],_0x4e25f9-_0x3c3a83['baseIndent']),_0x146080['addNode'](_0x5d17b1['ListMark'],_0x146080['lineStart']+_0x3c3a83['pos'],_0x146080['lineStart']+_0x3c3a83['pos']+_0x4bad76),_0x3c3a83['moveBaseColumn'](_0x4e25f9),null;},'ATXHeading'(_0x31fc31,_0x2bfc41){let _0x522b3d=isAtxHeading(_0x2bfc41);if(_0x522b3d<0x0)return!0x1;let _0x4704b6=_0x2bfc41['pos'],_0x194e03=_0x31fc31['lineStart']+_0x4704b6,_0xb6cb50=_0x5506f1(_0x2bfc41['text'],_0x2bfc41['text']['length'],_0x4704b6),_0x2234b0=_0xb6cb50;for(;_0x2234b0>_0x4704b6&&_0x2bfc41['text']['charCodeAt'](_0x2234b0-0x1)==_0x2bfc41['next'];)_0x2234b0--;_0x2234b0!=_0xb6cb50&&_0x2234b0!=_0x4704b6&&_0x150f2a(_0x2bfc41['text']['charCodeAt'](_0x2234b0-0x1))||(_0x2234b0=_0x2bfc41['text']['length']);let _0x1ece09=_0x31fc31['buffer']['write'](_0x5d17b1['HeaderMark'],0x0,_0x522b3d)['writeElements'](_0x31fc31['parser']['parseInline'](_0x2bfc41['text']['slice'](_0x4704b6+_0x522b3d+0x1,_0x2234b0),_0x194e03+_0x522b3d+0x1),-_0x194e03);_0x2234b0<_0x2bfc41['text']['length']&&_0x1ece09['write'](_0x5d17b1['HeaderMark'],_0x2234b0-_0x4704b6,_0xb6cb50-_0x4704b6);let _0x4aa5a7=_0x1ece09['finish'](_0x5d17b1['ATXHeading1']-0x1+_0x522b3d,_0x2bfc41['text']['length']-_0x4704b6);return _0x31fc31['nextLine'](),_0x31fc31['addNode'](_0x4aa5a7,_0x194e03),!0x0;},'HTMLBlock'(_0x1c0630,_0x2f205a){let _0x846da9=_0x286f20(_0x2f205a,_0x1c0630,!0x1);if(_0x846da9<0x0)return!0x1;let _0x40ca55=_0x1c0630['lineStart']+_0x2f205a['pos'],_0x22113f=HTMLBlockStyle[_0x846da9][0x1],_0x440f7f=[],_0x34e738=_0x22113f!=EmptyLine;for(;!_0x22113f['test'](_0x2f205a['text'])&&_0x1c0630['nextLine']();){if(_0x2f205a['depth']<_0x1c0630['stack']['length']){_0x34e738=!0x1;break;}for(let _0x3795ec of _0x2f205a['markers'])_0x440f7f['push'](_0x3795ec);}_0x34e738&&_0x1c0630['nextLine']();let _0x2af4ca=_0x22113f==CommentEnd?_0x5d17b1['CommentBlock']:_0x22113f==_0xbe7224?_0x5d17b1['ProcessingInstructionBlock']:_0x5d17b1['HTMLBlock'],_0x5a48d6=_0x1c0630['prevLineEnd']();return _0x1c0630['addNode'](_0x1c0630['buffer']['writeElements'](_0x440f7f,-_0x40ca55)['finish'](_0x2af4ca,_0x5a48d6-_0x40ca55),_0x40ca55),!0x0;},'SetextHeading':void 0x0};class _0x5eb2eb{constructor(_0xa1aaaf){this['stage']=0x0,this['elts']=[],this['pos']=0x0,this['start']=_0xa1aaaf['start'],this['advance'](_0xa1aaaf['content']);}['nextLine'](_0x437e2a,_0x4117ee,_0x39a21c){if(-0x1==this['stage'])return!0x1;let _0x4d6f91=_0x39a21c['content']+'\x0a'+_0x4117ee['scrub'](),_0x24e804=this['advance'](_0x4d6f91);return _0x24e804>-0x1&&_0x24e804<_0x4d6f91['length']&&this['complete'](_0x437e2a,_0x39a21c,_0x24e804);}['finish'](_0x170d0a,_0x564fe3){return(0x2==this['stage']||0x3==this['stage'])&&_0xecaa59(_0x564fe3['content'],this['pos'])==_0x564fe3['content']['length']&&this['complete'](_0x170d0a,_0x564fe3,_0x564fe3['content']['length']);}['complete'](_0x3c7478,_0x242e83,_0x273319){return _0x3c7478['addLeafElement'](_0x242e83,elt(_0x5d17b1['LinkReference'],this['start'],this['start']+_0x273319,this['elts'])),!0x0;}['nextStage'](_0x382af4){return _0x382af4?(this['pos']=_0x382af4['to']-this['start'],this['elts']['push'](_0x382af4),this['stage']++,!0x0):(!0x1===_0x382af4&&(this['stage']=-0x1),!0x1);}['advance'](_0x3fba47){for(;;){if(-0x1==this['stage'])return-0x1;if(0x0==this['stage']){if(!this['nextStage'](_0x2821bd(_0x3fba47,this['pos'],this['start'],!0x0)))return-0x1;if(0x3a!=_0x3fba47['charCodeAt'](this['pos']))return this['stage']=-0x1;this['elts']['push'](elt(_0x5d17b1['LinkMark'],this['pos']+this['start'],this['pos']+this['start']+0x1)),this['pos']++;}else{if(0x1!=this['stage']){if(0x2==this['stage']){let _0x349591=_0xecaa59(_0x3fba47,this['pos']),_0x309f6d=0x0;if(_0x349591>this['pos']){let _0x3c125e=parseLinkTitle(_0x3fba47,_0x349591,this['start']);if(_0x3c125e){let _0x12c993=_0x16a675(_0x3fba47,_0x3c125e['to']-this['start']);_0x12c993>0x0&&(this['nextStage'](_0x3c125e),_0x309f6d=_0x12c993);}}return _0x309f6d||(_0x309f6d=_0x16a675(_0x3fba47,this['pos'])),_0x309f6d>0x0&&_0x309f6d<_0x3fba47['length']?_0x309f6d:-0x1;}return _0x16a675(_0x3fba47,this['pos']);}if(!this['nextStage'](_0x408a88(_0x3fba47,_0xecaa59(_0x3fba47,this['pos']),this['start'])))return-0x1;}}}}function _0x16a675(_0x554feb,_0x264b56){for(;_0x264b56<_0x554feb['length'];_0x264b56++){let _0x24cbf4=_0x554feb['charCodeAt'](_0x264b56);if(0xa==_0x24cbf4)break;if(!_0x150f2a(_0x24cbf4))return-0x1;}return _0x264b56;}class SetextHeadingParser{['nextLine'](_0x230268,_0x54fb3a,_0xc8b937){let _0x44f224=_0x54fb3a['depth']<_0x230268['stack']['length']?-0x1:isSetextUnderline(_0x54fb3a),_0x3c68ee=_0x54fb3a['next'];if(_0x44f224<0x0)return!0x1;let _0xaf5b08=elt(_0x5d17b1['HeaderMark'],_0x230268['lineStart']+_0x54fb3a['pos'],_0x230268['lineStart']+_0x44f224);return _0x230268['nextLine'](),_0x230268['addLeafElement'](_0xc8b937,elt(0x3d==_0x3c68ee?_0x5d17b1['SetextHeading1']:_0x5d17b1['SetextHeading2'],_0xc8b937['start'],_0x230268['prevLineEnd'](),[..._0x230268['parser']['parseInline'](_0xc8b937['content'],_0xc8b937['start']),_0xaf5b08])),!0x0;}['finish'](){return!0x1;}}const DefaultLeafBlocks={'LinkReference':(_0x1fdf6f,_0x102a32)=>0x5b==_0x102a32['content']['charCodeAt'](0x0)?new _0x5eb2eb(_0x102a32):null,'SetextHeading':()=>new SetextHeadingParser()},DefaultEndLeaf=[(_0x209378,_0x308a23)=>isAtxHeading(_0x308a23)>=0x0,(_0x4f4966,_0x471a0e)=>_0x5646b5(_0x471a0e)>=0x0,(_0x3de275,_0x433456)=>isBlockquote(_0x433456)>=0x0,(_0x379c25,_0x424e3a)=>isBulletList(_0x424e3a,_0x379c25,!0x0)>=0x0,(_0xbb4ab,_0x4a4d33)=>isOrderedList(_0x4a4d33,_0xbb4ab,!0x0)>=0x0,(_0x4fa5a2,_0x317e5c)=>isHorizontalRule(_0x317e5c,_0x4fa5a2,!0x0)>=0x0,(_0x254fb2,_0x9d4d27)=>_0x286f20(_0x9d4d27,_0x254fb2,!0x0)>=0x0],scanLineResult={'text':'','end':0x0};class BlockContext{constructor(_0x4e0f8a,_0x3aff3b,_0x334b96,_0xf53e61){this['parser']=_0x4e0f8a,this['input']=_0x3aff3b,this['ranges']=_0xf53e61,this['line']=new _0x370422(),this['atEnd']=!0x1,this['reusePlaceholders']=new Map(),this['stoppedAt']=null,this['rangeI']=0x0,this['to']=_0xf53e61[_0xf53e61['length']-0x1]['to'],this['lineStart']=this['absoluteLineStart']=this['absoluteLineEnd']=_0xf53e61[0x0]['from'],this['block']=CompositeBlock['create'](_0x5d17b1['Document'],0x0,this['lineStart'],0x0,0x0),this['stack']=[this['block']],this['fragments']=_0x334b96['length']?new FragmentCursor(_0x334b96,_0x3aff3b):null,this['readLine']();}get['parsedPos'](){return this['absoluteLineStart'];}['advance'](){if(null!=this['stoppedAt']&&this['absoluteLineStart']>this['stoppedAt'])return this['finish']();let {line:_0x5ddc0a}=this;for(;;){for(let _0x5e78ea=0x0;;){let _0x3c9ed6=_0x5ddc0a['depth']<this['stack']['length']?this['stack'][this['stack']['length']-0x1]:null;for(;_0x5e78ea<_0x5ddc0a['markers']['length']&&(!_0x3c9ed6||_0x5ddc0a['markers'][_0x5e78ea]['from']<_0x3c9ed6['end']);){let _0x340e0b=_0x5ddc0a['markers'][_0x5e78ea++];this['addNode'](_0x340e0b['type'],_0x340e0b['from'],_0x340e0b['to']);}if(!_0x3c9ed6)break;this['finishContext']();}if(_0x5ddc0a['pos']<_0x5ddc0a['text']['length'])break;if(!this['nextLine']())return this['finish']();}if(this['fragments']&&this['reuseFragment'](_0x5ddc0a['basePos']))return null;t:for(;;){for(let _0x356bad of this['parser']['blockParsers'])if(_0x356bad){let _0x434937=_0x356bad(this,_0x5ddc0a);if(0x0!=_0x434937){if(0x1==_0x434937)return null;_0x5ddc0a['forward']();continue t;}}break;}let _0xbe7d3d=new _0x40e5fb(this['lineStart']+_0x5ddc0a['pos'],_0x5ddc0a['text']['slice'](_0x5ddc0a['pos']));for(let _0x5ac156 of this['parser']['leafBlockParsers'])if(_0x5ac156){let _0x17cf78=_0x5ac156(this,_0xbe7d3d);_0x17cf78&&_0xbe7d3d['parsers']['push'](_0x17cf78);}t:for(;this['nextLine']()&&_0x5ddc0a['pos']!=_0x5ddc0a['text']['length'];){if(_0x5ddc0a['indent']<_0x5ddc0a['baseIndent']+0x4){for(let _0x37b26c of this['parser']['endLeafBlock'])if(_0x37b26c(this,_0x5ddc0a,_0xbe7d3d))break t;}for(let _0x1ab1fc of _0xbe7d3d['parsers'])if(_0x1ab1fc['nextLine'](this,_0x5ddc0a,_0xbe7d3d))return null;_0xbe7d3d['content']+='\x0a'+_0x5ddc0a['scrub']();for(let _0x4c0eb3 of _0x5ddc0a['markers'])_0xbe7d3d['marks']['push'](_0x4c0eb3);}return this['finishLeaf'](_0xbe7d3d),null;}['stopAt'](_0x3d4772){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x3d4772)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x3d4772;}['reuseFragment'](_0x195512){if(!this['fragments']['moveTo'](this['absoluteLineStart']+_0x195512,this['absoluteLineStart'])||!this['fragments']['matches'](this['block']['hash']))return!0x1;let _0x8943b1=this['fragments']['takeNodes'](this);return!!_0x8943b1&&(this['absoluteLineStart']+=_0x8943b1,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'](_0x4ed430=this['depth']-0x1){return this['parser']['nodeSet']['types'][this['stack'][_0x4ed430]['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'](_0x526eef){let _0x18bb1d=scanLineResult;if(_0x18bb1d['end']=_0x526eef,_0x526eef>=this['to'])_0x18bb1d['text']='';else{if(_0x18bb1d['text']=this['lineChunkAt'](_0x526eef),_0x18bb1d['end']+=_0x18bb1d['text']['length'],this['ranges']['length']>0x1){let _0x59af68=this['absoluteLineStart'],_0x15e7fd=this['rangeI'];for(;this['ranges'][_0x15e7fd]['to']<_0x18bb1d['end'];){_0x15e7fd++;let _0x9e6c45=this['ranges'][_0x15e7fd]['from'],_0x26dd7b=this['lineChunkAt'](_0x9e6c45);_0x18bb1d['end']=_0x9e6c45+_0x26dd7b['length'],_0x18bb1d['text']=_0x18bb1d['text']['slice'](0x0,this['ranges'][_0x15e7fd-0x1]['to']-_0x59af68)+_0x26dd7b,_0x59af68=_0x18bb1d['end']-_0x18bb1d['text']['length'];}}}return _0x18bb1d;}['readLine'](){let {line:_0x3a0c2a}=this,{text:_0x14c312,end:_0x1e1cf5}=this['scanLine'](this['absoluteLineStart']);for(this['absoluteLineEnd']=_0x1e1cf5,_0x3a0c2a['reset'](_0x14c312);_0x3a0c2a['depth']<this['stack']['length'];_0x3a0c2a['depth']++){let _0xb388c5=this['stack'][_0x3a0c2a['depth']],_0x4148d6=this['parser']['skipContextMarkup'][_0xb388c5['type']];if(!_0x4148d6)throw new Error('Unhandled\x20block\x20context\x20'+_0x5d17b1[_0xb388c5['type']]);let _0x2cebc3=this['line']['markers']['length'];if(!_0x4148d6(_0xb388c5,this,_0x3a0c2a)){this['line']['markers']['length']>_0x2cebc3&&(_0xb388c5['end']=this['line']['markers'][this['line']['markers']['length']-0x1]['to']);break;}_0x3a0c2a['forward']();}}['lineChunkAt'](_0x239ecc){let _0x1326e1,_0x1cf9bc=this['input']['chunk'](_0x239ecc);if(this['input']['lineChunks'])_0x1326e1='\x0a'==_0x1cf9bc?'':_0x1cf9bc;else{let _0x51e787=_0x1cf9bc['indexOf']('\x0a');_0x1326e1=_0x51e787<0x0?_0x1cf9bc:_0x1cf9bc['slice'](0x0,_0x51e787);}return _0x239ecc+_0x1326e1['length']>this['to']?_0x1326e1['slice'](0x0,this['to']-_0x239ecc):_0x1326e1;}['prevLineEnd'](){return this['atEnd']?this['lineStart']:this['lineStart']-0x1;}['startContext'](_0x43217d,_0x4b14d6,_0x4d5f15=0x0){this['block']=CompositeBlock['create'](_0x43217d,_0x4d5f15,this['lineStart']+_0x4b14d6,this['block']['hash'],this['lineStart']+this['line']['text']['length']),this['stack']['push'](this['block']);}['startComposite'](_0x1f0159,_0x29ed55,_0x483b29=0x0){this['startContext'](this['parser']['getNodeType'](_0x1f0159),_0x29ed55,_0x483b29);}['addNode'](_0x21dd37,_0x8cdc82,_0x49ffd8){'number'==typeof _0x21dd37&&(_0x21dd37=new _0x2701ca(this['parser']['nodeSet']['types'][_0x21dd37],_0x2d8eee,_0x2d8eee,(null!=_0x49ffd8?_0x49ffd8:this['prevLineEnd']())-_0x8cdc82)),this['block']['addChild'](_0x21dd37,_0x8cdc82-this['block']['from']);}['addElement'](_0x52a284){this['block']['addChild'](_0x52a284['toTree'](this['parser']['nodeSet']),_0x52a284['from']-this['block']['from']);}['addLeafElement'](_0xbe4271,_0xd7f336){this['addNode'](this['buffer']['writeElements'](injectMarks(_0xd7f336['children'],_0xbe4271['marks']),-_0xd7f336['from'])['finish'](_0xd7f336['type'],_0xd7f336['to']-_0xd7f336['from']),_0xd7f336['from']);}['finishContext'](){let _0x3c21fb=this['stack']['pop'](),_0x352951=this['stack'][this['stack']['length']-0x1];_0x352951['addChild'](_0x3c21fb['toTree'](this['parser']['nodeSet']),_0x3c21fb['from']-_0x352951['from']),this['block']=_0x352951;}['finish'](){for(;this['stack']['length']>0x1;)this['finishContext']();return this['addGaps'](this['block']['toTree'](this['parser']['nodeSet'],this['lineStart']));}['addGaps'](_0x4a580d){return this['ranges']['length']>0x1?injectGaps(this['ranges'],0x0,_0x4a580d['topNode'],this['ranges'][0x0]['from'],this['reusePlaceholders']):_0x4a580d;}['finishLeaf'](_0x231ff7){for(let _0x5cf376 of _0x231ff7['parsers'])if(_0x5cf376['finish'](this,_0x231ff7))return;let _0x4e0bb2=injectMarks(this['parser']['parseInline'](_0x231ff7['content'],_0x231ff7['start']),_0x231ff7['marks']);this['addNode'](this['buffer']['writeElements'](_0x4e0bb2,-_0x231ff7['start'])['finish'](_0x5d17b1['Paragraph'],_0x231ff7['content']['length']),_0x231ff7['start']);}['elt'](_0x43090c,_0xa18fab,_0x510395,_0x58e9e2){return'string'==typeof _0x43090c?elt(this['parser']['getNodeType'](_0x43090c),_0xa18fab,_0x510395,_0x58e9e2):new TreeElement(_0x43090c,_0xa18fab);}get['buffer'](){return new _0x2db152(this['parser']['nodeSet']);}}function injectGaps(_0x52cf7f,_0x35112c,_0x27768d,_0x3ccff7,_0x334368){let _0x3c753a=_0x52cf7f[_0x35112c]['to'],_0x4d86d2=[],_0xf5d46=[],_0x986da=_0x27768d['from']+_0x3ccff7;function _0x4f0831(_0x3a565b,_0x30bf7f){for(;_0x30bf7f?_0x3a565b>=_0x3c753a:_0x3a565b>_0x3c753a;){let _0x5bccc1=_0x52cf7f[_0x35112c+0x1]['from']-_0x3c753a;_0x3ccff7+=_0x5bccc1,_0x3a565b+=_0x5bccc1,_0x35112c++,_0x3c753a=_0x52cf7f[_0x35112c]['to'];}}for(let _0x23a01f=_0x27768d['firstChild'];_0x23a01f;_0x23a01f=_0x23a01f['nextSibling']){_0x4f0831(_0x23a01f['from']+_0x3ccff7,!0x0);let _0xd47f7f,_0x1238ae=_0x23a01f['from']+_0x3ccff7,_0xb77008=_0x334368['get'](_0x23a01f['tree']);_0xb77008?_0xd47f7f=_0xb77008:_0x23a01f['to']+_0x3ccff7>_0x3c753a?(_0xd47f7f=injectGaps(_0x52cf7f,_0x35112c,_0x23a01f,_0x3ccff7,_0x334368),_0x4f0831(_0x23a01f['to']+_0x3ccff7,!0x1)):_0xd47f7f=_0x23a01f['toTree'](),_0x4d86d2['push'](_0xd47f7f),_0xf5d46['push'](_0x1238ae-_0x986da);}return _0x4f0831(_0x27768d['to']+_0x3ccff7,!0x1),new _0x2701ca(_0x27768d['type'],_0x4d86d2,_0xf5d46,_0x27768d['to']+_0x3ccff7-_0x986da,_0x27768d['tree']?_0x27768d['tree']['propValues']:void 0x0);}class _0x17f32a extends _0x60d5c1{constructor(_0x737cd,_0x4de211,_0x553bc4,_0x1e1828,_0x200bcd,_0xcd50ad,_0x18b524,_0x54ce68,_0x168c73){super(),this['nodeSet']=_0x737cd,this['blockParsers']=_0x4de211,this['leafBlockParsers']=_0x553bc4,this['blockNames']=_0x1e1828,this['endLeafBlock']=_0x200bcd,this['skipContextMarkup']=_0xcd50ad,this['inlineParsers']=_0x18b524,this['inlineNames']=_0x54ce68,this['wrappers']=_0x168c73,this['nodeTypes']=Object['create'](null);for(let t of _0x737cd['types'])this['nodeTypes'][t['name']]=t['id'];}['createParse'](_0x161240,_0x3003a3,_0x17b5a7){let _0x25bd6e=new BlockContext(this,_0x161240,_0x3003a3,_0x17b5a7);for(let _0x198884 of this['wrappers'])_0x25bd6e=_0x198884(_0x25bd6e,_0x161240,_0x3003a3,_0x17b5a7);return _0x25bd6e;}['configure'](_0x57fb12){let _0x18333a=_0x53e465(_0x57fb12);if(!_0x18333a)return this;let {nodeSet:_0x25affe,skipContextMarkup:_0x334182}=this,_0x5dbb06=this['blockParsers']['slice'](),_0x120ed2=this['leafBlockParsers']['slice'](),_0x56b736=this['blockNames']['slice'](),_0x32827f=this['inlineParsers']['slice'](),_0x388e60=this['inlineNames']['slice'](),_0x16bb9a=this['endLeafBlock']['slice'](),_0x427080=this['wrappers'];if(nonEmpty(_0x18333a['defineNodes'])){_0x334182=Object['assign']({},_0x334182);let _0xbb13f3,_0x3003ea=_0x25affe['types']['slice']();for(let _0x1807a7 of _0x18333a['defineNodes']){let {name:_0x4638c9,block:_0x292a82,composite:_0x4f8413,style:_0x3b4643}='string'==typeof _0x1807a7?{'name':_0x1807a7}:_0x1807a7;if(_0x3003ea['some'](t=>t['name']==_0x4638c9))continue;_0x4f8413&&(_0x334182[_0x3003ea['length']]=(_0x5293f6,_0x494980,_0x2ff7b3)=>_0x4f8413(_0x494980,_0x2ff7b3,_0x5293f6['value']));let _0x1b853f=_0x3003ea['length'],_0x352e54=_0x4f8413?['Block','BlockContext']:_0x292a82?_0x1b853f>=_0x5d17b1['ATXHeading1']&&_0x1b853f<=_0x5d17b1['SetextHeading2']?['Block','LeafBlock','Heading']:['Block','LeafBlock']:void 0x0;_0x3003ea['push'](_0x343050['define']({'id':_0x1b853f,'name':_0x4638c9,'props':_0x352e54&&[[_0x4ee311['group'],_0x352e54]]})),_0x3b4643&&(_0xbb13f3||(_0xbb13f3={}),Array['isArray'](_0x3b4643)||_0x3b4643 instanceof _0x3b363a?_0xbb13f3[_0x4638c9]=_0x3b4643:Object['assign'](_0xbb13f3,_0x3b4643));}_0x25affe=new NodeSet(_0x3003ea),_0xbb13f3&&(_0x25affe=_0x25affe['extend'](styleTags(_0xbb13f3)));}if(nonEmpty(_0x18333a['props'])&&(_0x25affe=_0x25affe['extend'](..._0x18333a['props'])),nonEmpty(_0x18333a['remove']))for(let _0x115f61 of _0x18333a['remove']){let _0x10f991=this['blockNames']['indexOf'](_0x115f61),_0x224111=this['inlineNames']['indexOf'](_0x115f61);_0x10f991>-0x1&&(_0x5dbb06[_0x10f991]=_0x120ed2[_0x10f991]=void 0x0),_0x224111>-0x1&&(_0x32827f[_0x224111]=void 0x0);}if(nonEmpty(_0x18333a['parseBlock']))for(let _0x5aee1e of _0x18333a['parseBlock']){let _0x32b958=_0x56b736['indexOf'](_0x5aee1e['name']);if(_0x32b958>-0x1)_0x5dbb06[_0x32b958]=_0x5aee1e['parse'],_0x120ed2[_0x32b958]=_0x5aee1e['leaf'];else{let _0x237722=_0x5aee1e['before']?_0x351e3d(_0x56b736,_0x5aee1e['before']):_0x5aee1e['after']?_0x351e3d(_0x56b736,_0x5aee1e['after'])+0x1:_0x56b736['length']-0x1;_0x5dbb06['splice'](_0x237722,0x0,_0x5aee1e['parse']),_0x120ed2['splice'](_0x237722,0x0,_0x5aee1e['leaf']),_0x56b736['splice'](_0x237722,0x0,_0x5aee1e['name']);}_0x5aee1e['endLeaf']&&_0x16bb9a['push'](_0x5aee1e['endLeaf']);}if(nonEmpty(_0x18333a['parseInline']))for(let _0x2b4a5a of _0x18333a['parseInline']){let _0x574eb0=_0x388e60['indexOf'](_0x2b4a5a['name']);if(_0x574eb0>-0x1)_0x32827f[_0x574eb0]=_0x2b4a5a['parse'];else{let _0xd61dd6=_0x2b4a5a['before']?_0x351e3d(_0x388e60,_0x2b4a5a['before']):_0x2b4a5a['after']?_0x351e3d(_0x388e60,_0x2b4a5a['after'])+0x1:_0x388e60['length']-0x1;_0x32827f['splice'](_0xd61dd6,0x0,_0x2b4a5a['parse']),_0x388e60['splice'](_0xd61dd6,0x0,_0x2b4a5a['name']);}}return _0x18333a['wrap']&&(_0x427080=_0x427080['concat'](_0x18333a['wrap'])),new _0x17f32a(_0x25affe,_0x5dbb06,_0x120ed2,_0x56b736,_0x16bb9a,_0x334182,_0x32827f,_0x388e60,_0x427080);}['getNodeType'](_0x56faad){let _0x40bc18=this['nodeTypes'][_0x56faad];if(null==_0x40bc18)throw new RangeError('Unknown\x20node\x20type\x20\x27'+_0x56faad+'\x27');return _0x40bc18;}['parseInline'](_0x407dbf,_0x550024){let _0x2237e6=new InlineContext(this,_0x407dbf,_0x550024);t:for(let _0x38d97f=_0x550024;_0x38d97f<_0x2237e6['end'];){let _0x28d202=_0x2237e6['char'](_0x38d97f);for(let _0x194c75 of this['inlineParsers'])if(_0x194c75){let _0x2ff922=_0x194c75(_0x2237e6,_0x28d202,_0x38d97f);if(_0x2ff922>=0x0){_0x38d97f=_0x2ff922;continue t;}}_0x38d97f++;}return _0x2237e6['resolveMarkers'](0x0);}}function nonEmpty(_0x53ee66){return null!=_0x53ee66&&_0x53ee66['length']>0x0;}function _0x53e465(_0x46a899){if(!Array['isArray'](_0x46a899))return _0x46a899;if(0x0==_0x46a899['length'])return null;let _0x320743=_0x53e465(_0x46a899[0x0]);if(0x1==_0x46a899['length'])return _0x320743;let _0x2b0cf7=_0x53e465(_0x46a899['slice'](0x1));if(!_0x2b0cf7||!_0x320743)return _0x320743||_0x2b0cf7;let _0x1eb091=(_0x423013,_0x7a6108)=>(_0x423013||_0x2d8eee)['concat'](_0x7a6108||_0x2d8eee),_0x85bbcc=_0x320743['wrap'],_0x4898e3=_0x2b0cf7['wrap'];return{'props':_0x1eb091(_0x320743['props'],_0x2b0cf7['props']),'defineNodes':_0x1eb091(_0x320743['defineNodes'],_0x2b0cf7['defineNodes']),'parseBlock':_0x1eb091(_0x320743['parseBlock'],_0x2b0cf7['parseBlock']),'parseInline':_0x1eb091(_0x320743['parseInline'],_0x2b0cf7['parseInline']),'remove':_0x1eb091(_0x320743['remove'],_0x2b0cf7['remove']),'wrap':_0x85bbcc?_0x4898e3?(_0x563ed8,_0x5c9c57,_0x535341,_0x1484c7)=>_0x85bbcc(_0x4898e3(_0x563ed8,_0x5c9c57,_0x535341,_0x1484c7),_0x5c9c57,_0x535341,_0x1484c7):_0x85bbcc:_0x4898e3};}function _0x351e3d(_0x1eb69e,_0x41086b){let _0x25e28e=_0x1eb69e['indexOf'](_0x41086b);if(_0x25e28e<0x0)throw new RangeError('Position\x20specified\x20relative\x20to\x20unknown\x20parser\x20'+_0x41086b);return _0x25e28e;}let _0x380bb6=[_0x343050['none']];for(let _0x400df0=0x1,_0x4bbe26;_0x4bbe26=_0x5d17b1[_0x400df0];_0x400df0++)_0x380bb6[_0x400df0]=_0x343050['define']({'id':_0x400df0,'name':_0x4bbe26,'props':_0x400df0>=_0x5d17b1['Escape']?[]:[[_0x4ee311['group'],_0x400df0 in DefaultSkipMarkup?['Block','BlockContext']:['Block','LeafBlock']]],'top':'Document'==_0x4bbe26});const _0x2d8eee=[];let _0x2db152=class{constructor(_0x6cf5b2){this['nodeSet']=_0x6cf5b2,this['content']=[],this['nodes']=[];}['write'](_0x2dc628,_0x362d98,_0x1928c5,_0x1d65cc=0x0){return this['content']['push'](_0x2dc628,_0x362d98,_0x1928c5,0x4+0x4*_0x1d65cc),this;}['writeElements'](_0x4fdd02,_0x3fd3c9=0x0){for(let _0x4d9f81 of _0x4fdd02)_0x4d9f81['writeTo'](this,_0x3fd3c9);return this;}['finish'](_0x2399f4,_0x507a81){return _0x2701ca['build']({'buffer':this['content'],'nodeSet':this['nodeSet'],'reused':this['nodes'],'topID':_0x2399f4,'length':_0x507a81});}},Element$1=class{constructor(_0x26d9ce,_0x3e9664,_0x5e8157,_0x46ac3f=_0x2d8eee){this['type']=_0x26d9ce,this['from']=_0x3e9664,this['to']=_0x5e8157,this['children']=_0x46ac3f;}['writeTo'](_0x5987ac,_0x379b87){let _0x4c1731=_0x5987ac['content']['length'];_0x5987ac['writeElements'](this['children'],_0x379b87),_0x5987ac['content']['push'](this['type'],this['from']+_0x379b87,this['to']+_0x379b87,_0x5987ac['content']['length']+0x4-_0x4c1731);}['toTree'](_0x59f69e){return new _0x2db152(_0x59f69e)['writeElements'](this['children'],-this['from'])['finish'](this['type'],this['to']-this['from']);}};class TreeElement{constructor(_0x53c25d,_0x58fa90){this['tree']=_0x53c25d,this['from']=_0x58fa90;}get['to'](){return this['from']+this['tree']['length'];}get['type'](){return this['tree']['type']['id'];}get['children'](){return _0x2d8eee;}['writeTo'](_0x2e73c1,_0x56acee){_0x2e73c1['nodes']['push'](this['tree']),_0x2e73c1['content']['push'](_0x2e73c1['nodes']['length']-0x1,this['from']+_0x56acee,this['to']+_0x56acee,-0x1);}['toTree'](){return this['tree'];}}function elt(_0x395b94,_0x5ecb04,_0x5a31f0,_0x24d7f9){return new Element$1(_0x395b94,_0x5ecb04,_0x5a31f0,_0x24d7f9);}const _0x7555d9={'resolve':'Emphasis','mark':'EmphasisMark'},EmphasisAsterisk={'resolve':'Emphasis','mark':'EmphasisMark'},LinkStart={},ImageStart={};class InlineDelimiter{constructor(_0x406359,_0xaabf0a,_0x18d746,_0x9e8f82){this['type']=_0x406359,this['from']=_0xaabf0a,this['to']=_0x18d746,this['side']=_0x9e8f82;}}const _0x3df04b='!\x22#$%&\x27()*+,-./:;<=>?@[\x5c]^_`{|}~';let Punctuation=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{Punctuation=new RegExp('[\x5cp{S}|\x5cp{P}]','u');}catch(_0x1e34fc){}const DefaultInline={'Escape'(_0xca0236,_0x590338,_0x2210ff){if(0x5c!=_0x590338||_0x2210ff==_0xca0236['end']-0x1)return-0x1;let _0x109ed6=_0xca0236['char'](_0x2210ff+0x1);for(let _0x3569d0=0x0;_0x3569d0<_0x3df04b['length'];_0x3569d0++)if(_0x3df04b['charCodeAt'](_0x3569d0)==_0x109ed6)return _0xca0236['append'](elt(_0x5d17b1['Escape'],_0x2210ff,_0x2210ff+0x2));return-0x1;},'Entity'(_0x4cf85a,_0x7c0ef0,_0x424916){if(0x26!=_0x7c0ef0)return-0x1;let _0x342767=/^(?:#\d+|#x[a-f\d]+|\w+);/i['exec'](_0x4cf85a['slice'](_0x424916+0x1,_0x424916+0x1f));return _0x342767?_0x4cf85a['append'](elt(_0x5d17b1['Entity'],_0x424916,_0x424916+0x1+_0x342767[0x0]['length'])):-0x1;},'InlineCode'(_0x3b9e2b,_0x3a7269,_0x305df4){if(0x60!=_0x3a7269||_0x305df4&&0x60==_0x3b9e2b['char'](_0x305df4-0x1))return-0x1;let _0x2d079f=_0x305df4+0x1;for(;_0x2d079f<_0x3b9e2b['end']&&0x60==_0x3b9e2b['char'](_0x2d079f);)_0x2d079f++;let _0x2c09e5=_0x2d079f-_0x305df4,_0x1f345b=0x0;for(;_0x2d079f<_0x3b9e2b['end'];_0x2d079f++)if(0x60==_0x3b9e2b['char'](_0x2d079f)){if(_0x1f345b++,_0x1f345b==_0x2c09e5&&0x60!=_0x3b9e2b['char'](_0x2d079f+0x1))return _0x3b9e2b['append'](elt(_0x5d17b1['InlineCode'],_0x305df4,_0x2d079f+0x1,[elt(_0x5d17b1['CodeMark'],_0x305df4,_0x305df4+_0x2c09e5),elt(_0x5d17b1['CodeMark'],_0x2d079f+0x1-_0x2c09e5,_0x2d079f+0x1)]));}else _0x1f345b=0x0;return-0x1;},'HTMLTag'(_0x307696,_0x5bf4b0,_0x5a1031){if(0x3c!=_0x5bf4b0||_0x5a1031==_0x307696['end']-0x1)return-0x1;let _0x31ac2a=_0x307696['slice'](_0x5a1031+0x1,_0x307696['end']),_0x28598d=/^(?:[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'](_0x31ac2a);if(_0x28598d)return _0x307696['append'](elt(_0x5d17b1['Autolink'],_0x5a1031,_0x5a1031+0x1+_0x28598d[0x0]['length'],[elt(_0x5d17b1['LinkMark'],_0x5a1031,_0x5a1031+0x1),elt(_0x5d17b1['URL'],_0x5a1031+0x1,_0x5a1031+_0x28598d[0x0]['length']),elt(_0x5d17b1['LinkMark'],_0x5a1031+_0x28598d[0x0]['length'],_0x5a1031+0x1+_0x28598d[0x0]['length'])]));let _0x5791bc=/^!--[^>](?:-[^-]|[^-])*?-->/i['exec'](_0x31ac2a);if(_0x5791bc)return _0x307696['append'](elt(_0x5d17b1['Comment'],_0x5a1031,_0x5a1031+0x1+_0x5791bc[0x0]['length']));let _0x3a539c=/^\?[^]*?\?>/['exec'](_0x31ac2a);if(_0x3a539c)return _0x307696['append'](elt(_0x5d17b1['ProcessingInstruction'],_0x5a1031,_0x5a1031+0x1+_0x3a539c[0x0]['length']));let _0x54349c=/^(?:![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'](_0x31ac2a);return _0x54349c?_0x307696['append'](elt(_0x5d17b1['HTMLTag'],_0x5a1031,_0x5a1031+0x1+_0x54349c[0x0]['length'])):-0x1;},'Emphasis'(_0xeb0729,_0x53e9eb,_0x100663){if(0x5f!=_0x53e9eb&&0x2a!=_0x53e9eb)return-0x1;let _0x52cbed=_0x100663+0x1;for(;_0xeb0729['char'](_0x52cbed)==_0x53e9eb;)_0x52cbed++;let _0x2cf12d=_0xeb0729['slice'](_0x100663-0x1,_0x100663),_0x414733=_0xeb0729['slice'](_0x52cbed,_0x52cbed+0x1),_0x4d55d2=Punctuation['test'](_0x2cf12d),_0x435aa1=Punctuation['test'](_0x414733),_0x2d92b4=/\s|^$/['test'](_0x2cf12d),_0x26cb1a=/\s|^$/['test'](_0x414733),_0x2242c6=!_0x26cb1a&&(!_0x435aa1||_0x2d92b4||_0x4d55d2),_0x15172e=!_0x2d92b4&&(!_0x4d55d2||_0x26cb1a||_0x435aa1),_0x42be4d=_0x2242c6&&(0x2a==_0x53e9eb||!_0x15172e||_0x4d55d2),_0x50e6b1=_0x15172e&&(0x2a==_0x53e9eb||!_0x2242c6||_0x435aa1);return _0xeb0729['append'](new InlineDelimiter(0x5f==_0x53e9eb?_0x7555d9:EmphasisAsterisk,_0x100663,_0x52cbed,(_0x42be4d?0x1:0x0)|(_0x50e6b1?0x2:0x0)));},'HardBreak'(_0x5e69f4,_0x50eb93,_0x4d167d){if(0x5c==_0x50eb93&&0xa==_0x5e69f4['char'](_0x4d167d+0x1))return _0x5e69f4['append'](elt(_0x5d17b1['HardBreak'],_0x4d167d,_0x4d167d+0x2));if(0x20==_0x50eb93){let _0x378915=_0x4d167d+0x1;for(;0x20==_0x5e69f4['char'](_0x378915);)_0x378915++;if(0xa==_0x5e69f4['char'](_0x378915)&&_0x378915>=_0x4d167d+0x2)return _0x5e69f4['append'](elt(_0x5d17b1['HardBreak'],_0x4d167d,_0x378915+0x1));}return-0x1;},'Link':(_0x1487b8,_0x2f8b1a,_0x825eac)=>0x5b==_0x2f8b1a?_0x1487b8['append'](new InlineDelimiter(LinkStart,_0x825eac,_0x825eac+0x1,0x1)):-0x1,'Image':(_0x7188f2,_0x5699d7,_0x394243)=>0x21==_0x5699d7&&0x5b==_0x7188f2['char'](_0x394243+0x1)?_0x7188f2['append'](new InlineDelimiter(ImageStart,_0x394243,_0x394243+0x2,0x1)):-0x1,'LinkEnd'(_0x3b7db4,_0x3a9d98,_0x536136){if(0x5d!=_0x3a9d98)return-0x1;for(let _0x34c761=_0x3b7db4['parts']['length']-0x1;_0x34c761>=0x0;_0x34c761--){let _0x159d86=_0x3b7db4['parts'][_0x34c761];if(_0x159d86 instanceof InlineDelimiter&&(_0x159d86['type']==LinkStart||_0x159d86['type']==ImageStart)){if(!_0x159d86['side']||_0x3b7db4['skipSpace'](_0x159d86['to'])==_0x536136&&!/[(\[]/['test'](_0x3b7db4['slice'](_0x536136+0x1,_0x536136+0x2)))return _0x3b7db4['parts'][_0x34c761]=null,-0x1;let _0x51ddb6=_0x3b7db4['takeContent'](_0x34c761),_0x3ce93e=_0x3b7db4['parts'][_0x34c761]=_0x3fb1b6(_0x3b7db4,_0x51ddb6,_0x159d86['type']==LinkStart?_0x5d17b1['Link']:_0x5d17b1['Image'],_0x159d86['from'],_0x536136+0x1);if(_0x159d86['type']==LinkStart)for(let _0xa68f8e=0x0;_0xa68f8e<_0x34c761;_0xa68f8e++){let _0x46c144=_0x3b7db4['parts'][_0xa68f8e];_0x46c144 instanceof InlineDelimiter&&_0x46c144['type']==LinkStart&&(_0x46c144['side']=0x0);}return _0x3ce93e['to'];}}return-0x1;}};function _0x3fb1b6(_0x2d8158,_0x2c91a9,_0x28d2fe,_0x280bcb,_0x345d8e){let {text:_0x42a386}=_0x2d8158,_0x35886b=_0x2d8158['char'](_0x345d8e),_0x24d64b=_0x345d8e;if(_0x2c91a9['unshift'](elt(_0x5d17b1['LinkMark'],_0x280bcb,_0x280bcb+(_0x28d2fe==_0x5d17b1['Image']?0x2:0x1))),_0x2c91a9['push'](elt(_0x5d17b1['LinkMark'],_0x345d8e-0x1,_0x345d8e)),0x28==_0x35886b){let _0x286155,_0x8aa9b1=_0x2d8158['skipSpace'](_0x345d8e+0x1),_0x1975c4=_0x408a88(_0x42a386,_0x8aa9b1-_0x2d8158['offset'],_0x2d8158['offset']);_0x1975c4&&(_0x8aa9b1=_0x2d8158['skipSpace'](_0x1975c4['to']),_0x8aa9b1!=_0x1975c4['to']&&(_0x286155=parseLinkTitle(_0x42a386,_0x8aa9b1-_0x2d8158['offset'],_0x2d8158['offset']),_0x286155&&(_0x8aa9b1=_0x2d8158['skipSpace'](_0x286155['to'])))),0x29==_0x2d8158['char'](_0x8aa9b1)&&(_0x2c91a9['push'](elt(_0x5d17b1['LinkMark'],_0x345d8e,_0x345d8e+0x1)),_0x24d64b=_0x8aa9b1+0x1,_0x1975c4&&_0x2c91a9['push'](_0x1975c4),_0x286155&&_0x2c91a9['push'](_0x286155),_0x2c91a9['push'](elt(_0x5d17b1['LinkMark'],_0x8aa9b1,_0x24d64b)));}else{if(0x5b==_0x35886b){let _0x191cc1=_0x2821bd(_0x42a386,_0x345d8e-_0x2d8158['offset'],_0x2d8158['offset'],!0x1);_0x191cc1&&(_0x2c91a9['push'](_0x191cc1),_0x24d64b=_0x191cc1['to']);}}return elt(_0x28d2fe,_0x280bcb,_0x24d64b,_0x2c91a9);}function _0x408a88(_0x2dd9d2,_0x429412,_0x3d19df){if(0x3c==_0x2dd9d2['charCodeAt'](_0x429412)){for(let _0xe9b14a=_0x429412+0x1;_0xe9b14a<_0x2dd9d2['length'];_0xe9b14a++){let _0xf39b47=_0x2dd9d2['charCodeAt'](_0xe9b14a);if(0x3e==_0xf39b47)return elt(_0x5d17b1['URL'],_0x429412+_0x3d19df,_0xe9b14a+0x1+_0x3d19df);if(0x3c==_0xf39b47||0xa==_0xf39b47)return!0x1;}return null;}{let _0x4797f2=0x0,_0x59ec0d=_0x429412;for(let _0xa06bd5=!0x1;_0x59ec0d<_0x2dd9d2['length'];_0x59ec0d++){let _0x374f6e=_0x2dd9d2['charCodeAt'](_0x59ec0d);if(_0x150f2a(_0x374f6e))break;if(_0xa06bd5)_0xa06bd5=!0x1;else{if(0x28==_0x374f6e)_0x4797f2++;else{if(0x29==_0x374f6e){if(!_0x4797f2)break;_0x4797f2--;}else 0x5c==_0x374f6e&&(_0xa06bd5=!0x0);}}}return _0x59ec0d>_0x429412?elt(_0x5d17b1['URL'],_0x429412+_0x3d19df,_0x59ec0d+_0x3d19df):_0x59ec0d==_0x2dd9d2['length']&&null;}}function parseLinkTitle(_0x1334bb,_0x301aa3,_0x3e6a6b){let _0x29d219=_0x1334bb['charCodeAt'](_0x301aa3);if(0x27!=_0x29d219&&0x22!=_0x29d219&&0x28!=_0x29d219)return!0x1;let _0x34cf2b=0x28==_0x29d219?0x29:_0x29d219;for(let _0x2b5ce5=_0x301aa3+0x1,_0x285d2c=!0x1;_0x2b5ce5<_0x1334bb['length'];_0x2b5ce5++){let _0x3a62cc=_0x1334bb['charCodeAt'](_0x2b5ce5);if(_0x285d2c)_0x285d2c=!0x1;else{if(_0x3a62cc==_0x34cf2b)return elt(_0x5d17b1['LinkTitle'],_0x301aa3+_0x3e6a6b,_0x2b5ce5+0x1+_0x3e6a6b);0x5c==_0x3a62cc&&(_0x285d2c=!0x0);}}return null;}function _0x2821bd(_0x3c1a55,_0x33443f,_0xd08011,_0x1b6867){for(let _0x265596=!0x1,_0x346816=_0x33443f+0x1,_0x368716=Math['min'](_0x3c1a55['length'],_0x346816+0x3e7);_0x346816<_0x368716;_0x346816++){let _0x5cf04b=_0x3c1a55['charCodeAt'](_0x346816);if(_0x265596)_0x265596=!0x1;else{if(0x5d==_0x5cf04b)return!_0x1b6867&&elt(_0x5d17b1['LinkLabel'],_0x33443f+_0xd08011,_0x346816+0x1+_0xd08011);if(_0x1b6867&&!_0x150f2a(_0x5cf04b)&&(_0x1b6867=!0x1),0x5b==_0x5cf04b)return!0x1;0x5c==_0x5cf04b&&(_0x265596=!0x0);}}return null;}class InlineContext{constructor(_0x4169c3,_0x103f39,_0x42899d){this['parser']=_0x4169c3,this['text']=_0x103f39,this['offset']=_0x42899d,this['parts']=[];}['char'](_0xaa7c1c){return _0xaa7c1c>=this['end']?-0x1:this['text']['charCodeAt'](_0xaa7c1c-this['offset']);}get['end'](){return this['offset']+this['text']['length'];}['slice'](_0x97a8aa,_0x32cba8){return this['text']['slice'](_0x97a8aa-this['offset'],_0x32cba8-this['offset']);}['append'](_0x12eea0){return this['parts']['push'](_0x12eea0),_0x12eea0['to'];}['addDelimiter'](_0x593dbd,_0x3c830c,_0x139550,_0x26057b,_0x11d4c8){return this['append'](new InlineDelimiter(_0x593dbd,_0x3c830c,_0x139550,(_0x26057b?0x1:0x0)|(_0x11d4c8?0x2:0x0)));}get['hasOpenLink'](){for(let _0x414658=this['parts']['length']-0x1;_0x414658>=0x0;_0x414658--){let _0xffeefc=this['parts'][_0x414658];if(_0xffeefc instanceof InlineDelimiter&&(_0xffeefc['type']==LinkStart||_0xffeefc['type']==ImageStart))return!0x0;}return!0x1;}['addElement'](_0x4fc7b2){return this['append'](_0x4fc7b2);}['resolveMarkers'](_0x40273c){for(let _0x5bd937=_0x40273c;_0x5bd937<this['parts']['length'];_0x5bd937++){let _0x313041=this['parts'][_0x5bd937];if(!(_0x313041 instanceof InlineDelimiter&&_0x313041['type']['resolve']&&0x2&_0x313041['side']))continue;let _0x4863c9,_0x5c4ed2=_0x313041['type']==_0x7555d9||_0x313041['type']==EmphasisAsterisk,_0x3938f1=_0x313041['to']-_0x313041['from'],_0xea505b=_0x5bd937-0x1;for(;_0xea505b>=_0x40273c;_0xea505b--){let _0x387250=this['parts'][_0xea505b];if(_0x387250 instanceof InlineDelimiter&&0x1&_0x387250['side']&&_0x387250['type']==_0x313041['type']&&!(_0x5c4ed2&&(0x1&_0x313041['side']||0x2&_0x387250['side'])&&(_0x387250['to']-_0x387250['from']+_0x3938f1)%0x3==0x0&&((_0x387250['to']-_0x387250['from'])%0x3||_0x3938f1%0x3))){_0x4863c9=_0x387250;break;}}if(!_0x4863c9)continue;let _0x380e7d=_0x313041['type']['resolve'],_0x2d2806=[],_0x4a5688=_0x4863c9['from'],_0x5314eb=_0x313041['to'];if(_0x5c4ed2){let _0x239a67=Math['min'](0x2,_0x4863c9['to']-_0x4863c9['from'],_0x3938f1);_0x4a5688=_0x4863c9['to']-_0x239a67,_0x5314eb=_0x313041['from']+_0x239a67,_0x380e7d=0x1==_0x239a67?'Emphasis':'StrongEmphasis';}_0x4863c9['type']['mark']&&_0x2d2806['push'](this['elt'](_0x4863c9['type']['mark'],_0x4a5688,_0x4863c9['to']));for(let _0x29856b=_0xea505b+0x1;_0x29856b<_0x5bd937;_0x29856b++)this['parts'][_0x29856b]instanceof Element$1&&_0x2d2806['push'](this['parts'][_0x29856b]),this['parts'][_0x29856b]=null;_0x313041['type']['mark']&&_0x2d2806['push'](this['elt'](_0x313041['type']['mark'],_0x313041['from'],_0x5314eb));let _0x2853b9=this['elt'](_0x380e7d,_0x4a5688,_0x5314eb,_0x2d2806);this['parts'][_0xea505b]=_0x5c4ed2&&_0x4863c9['from']!=_0x4a5688?new InlineDelimiter(_0x4863c9['type'],_0x4863c9['from'],_0x4a5688,_0x4863c9['side']):null,(this['parts'][_0x5bd937]=_0x5c4ed2&&_0x313041['to']!=_0x5314eb?new InlineDelimiter(_0x313041['type'],_0x5314eb,_0x313041['to'],_0x313041['side']):null)?this['parts']['splice'](_0x5bd937,0x0,_0x2853b9):this['parts'][_0x5bd937]=_0x2853b9;}let _0x45658a=[];for(let _0x306bd5=_0x40273c;_0x306bd5<this['parts']['length'];_0x306bd5++){let _0x5803ad=this['parts'][_0x306bd5];_0x5803ad instanceof Element$1&&_0x45658a['push'](_0x5803ad);}return _0x45658a;}['findOpeningDelimiter'](_0x57c9c2){for(let _0x351fef=this['parts']['length']-0x1;_0x351fef>=0x0;_0x351fef--){let _0x2e20b9=this['parts'][_0x351fef];if(_0x2e20b9 instanceof InlineDelimiter&&_0x2e20b9['type']==_0x57c9c2&&0x1&_0x2e20b9['side'])return _0x351fef;}return null;}['takeContent'](_0x3754c9){let _0x35213f=this['resolveMarkers'](_0x3754c9);return this['parts']['length']=_0x3754c9,_0x35213f;}['getDelimiterAt'](_0x5abd09){let _0x2f215f=this['parts'][_0x5abd09];return _0x2f215f instanceof InlineDelimiter?_0x2f215f:null;}['skipSpace'](_0xbb3f6a){return _0xecaa59(this['text'],_0xbb3f6a-this['offset'])+this['offset'];}['elt'](_0x4b0536,_0x40d3d9,_0x3fd112,_0x5d3b7f){return'string'==typeof _0x4b0536?elt(this['parser']['getNodeType'](_0x4b0536),_0x40d3d9,_0x3fd112,_0x5d3b7f):new TreeElement(_0x4b0536,_0x40d3d9);}}function injectMarks(_0x3150d9,_0x87712e){if(!_0x87712e['length'])return _0x3150d9;if(!_0x3150d9['length'])return _0x87712e;let _0x3d3920=_0x3150d9['slice'](),_0x49aa03=0x0;for(let _0x5df629 of _0x87712e){for(;_0x49aa03<_0x3d3920['length']&&_0x3d3920[_0x49aa03]['to']<_0x5df629['to'];)_0x49aa03++;if(_0x49aa03<_0x3d3920['length']&&_0x3d3920[_0x49aa03]['from']<_0x5df629['from']){let _0x20c739=_0x3d3920[_0x49aa03];_0x20c739 instanceof Element$1&&(_0x3d3920[_0x49aa03]=new Element$1(_0x20c739['type'],_0x20c739['from'],_0x20c739['to'],injectMarks(_0x20c739['children'],[_0x5df629])));}else _0x3d3920['splice'](_0x49aa03++,0x0,_0x5df629);}return _0x3d3920;}InlineContext['linkStart']=LinkStart,InlineContext['imageStart']=ImageStart;const NotLast=[_0x5d17b1['CodeBlock'],_0x5d17b1['ListItem'],_0x5d17b1['OrderedList'],_0x5d17b1['BulletList']];class FragmentCursor{constructor(_0x40d8fc,_0x234c11){this['fragments']=_0x40d8fc,this['input']=_0x234c11,this['i']=0x0,this['fragment']=null,this['fragmentEnd']=-0x1,this['cursor']=null,_0x40d8fc['length']&&(this['fragment']=_0x40d8fc[this['i']++]);}['nextFragment'](){this['fragment']=this['i']<this['fragments']['length']?this['fragments'][this['i']++]:null,this['cursor']=null,this['fragmentEnd']=-0x1;}['moveTo'](_0x4796fb,_0x25fe44){for(;this['fragment']&&this['fragment']['to']<=_0x4796fb;)this['nextFragment']();if(!this['fragment']||this['fragment']['from']>(_0x4796fb?_0x4796fb-0x1:0x0))return!0x1;if(this['fragmentEnd']<0x0){let _0x55f6dd=this['fragment']['to'];for(;_0x55f6dd>0x0&&'\x0a'!=this['input']['read'](_0x55f6dd-0x1,_0x55f6dd);)_0x55f6dd--;this['fragmentEnd']=_0x55f6dd?_0x55f6dd-0x1:0x0;}let _0x1a643a=this['cursor'];_0x1a643a||(_0x1a643a=this['cursor']=this['fragment']['tree']['cursor'](),_0x1a643a['firstChild']());let _0x564ac8=_0x4796fb+this['fragment']['offset'];for(;_0x1a643a['to']<=_0x564ac8;)if(!_0x1a643a['parent']())return!0x1;for(;;){if(_0x1a643a['from']>=_0x564ac8)return this['fragment']['from']<=_0x25fe44;if(!_0x1a643a['childAfter'](_0x564ac8))return!0x1;}}['matches'](_0x4a66df){let _0x31532e=this['cursor']['tree'];return _0x31532e&&_0x31532e['prop'](_0x4ee311['contextHash'])==_0x4a66df;}['takeNodes'](_0x2d84db){let _0x747885=this['cursor'],_0x102d17=this['fragment']['offset'],_0x2f3548=this['fragmentEnd']-(this['fragment']['openEnd']?0x1:0x0),_0x313141=_0x2d84db['absoluteLineStart'],_0x3a4c26=_0x313141,_0x4023f8=_0x2d84db['block']['children']['length'],_0x380ef0=_0x3a4c26,_0x3a4a69=_0x4023f8;for(;;){if(_0x747885['to']-_0x102d17>_0x2f3548){if(_0x747885['type']['isAnonymous']&&_0x747885['firstChild']())continue;break;}let _0x4a8544=toRelative(_0x747885['from']-_0x102d17,_0x2d84db['ranges']);if(_0x747885['to']-_0x102d17<=_0x2d84db['ranges'][_0x2d84db['rangeI']]['to'])_0x2d84db['addNode'](_0x747885['tree'],_0x4a8544);else{let _0x1018d4=new _0x2701ca(_0x2d84db['parser']['nodeSet']['types'][_0x5d17b1['Paragraph']],[],[],0x0,_0x2d84db['block']['hashProp']);_0x2d84db['reusePlaceholders']['set'](_0x1018d4,_0x747885['tree']),_0x2d84db['addNode'](_0x1018d4,_0x4a8544);}if(_0x747885['type']['is']('Block')&&(NotLast['indexOf'](_0x747885['type']['id'])<0x0?(_0x3a4c26=_0x747885['to']-_0x102d17,_0x4023f8=_0x2d84db['block']['children']['length']):(_0x3a4c26=_0x380ef0,_0x4023f8=_0x3a4a69,_0x380ef0=_0x747885['to']-_0x102d17,_0x3a4a69=_0x2d84db['block']['children']['length'])),!_0x747885['nextSibling']())break;}for(;_0x2d84db['block']['children']['length']>_0x4023f8;)_0x2d84db['block']['children']['pop'](),_0x2d84db['block']['positions']['pop']();return _0x3a4c26-_0x313141;}}function toRelative(_0x1ba955,_0x1278eb){let _0x3d8ac5=_0x1ba955;for(let _0x46bf34=0x1;_0x46bf34<_0x1278eb['length'];_0x46bf34++){let _0x5526c6=_0x1278eb[_0x46bf34-0x1]['to'],_0x40b892=_0x1278eb[_0x46bf34]['from'];_0x5526c6<_0x1ba955&&(_0x3d8ac5-=_0x40b892-_0x5526c6);}return _0x3d8ac5;}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']}),_0x2586f2=new _0x17f32a(new NodeSet(_0x380bb6)['extend'](markdownHighlighting),Object['keys'](DefaultBlockParsers)['map'](_0x32e3e0=>DefaultBlockParsers[_0x32e3e0]),Object['keys'](DefaultBlockParsers)['map'](_0x489198=>DefaultLeafBlocks[_0x489198]),Object['keys'](DefaultBlockParsers),DefaultEndLeaf,DefaultSkipMarkup,Object['keys'](DefaultInline)['map'](_0x55cf82=>DefaultInline[_0x55cf82]),Object['keys'](DefaultInline),[]);function leftOverSpace(_0x4fc8ed,_0x21b922,_0x4877b8){let _0x31560c=[];for(let _0x46bf57=_0x4fc8ed['firstChild'],_0x20d6f1=_0x21b922;;_0x46bf57=_0x46bf57['nextSibling']){let _0x2b8134=_0x46bf57?_0x46bf57['from']:_0x4877b8;if(_0x2b8134>_0x20d6f1&&_0x31560c['push']({'from':_0x20d6f1,'to':_0x2b8134}),!_0x46bf57)break;_0x20d6f1=_0x46bf57['to'];}return _0x31560c;}function _0x242c49(_0x1fc695){let {codeParser:_0x16716b,htmlParser:_0x31a48c}=_0x1fc695,_0x58162d=_0x2fd587((_0x2340f5,_0x213ea1)=>{let _0x5a2f4c=_0x2340f5['type']['id'];if(!_0x16716b||_0x5a2f4c!=_0x5d17b1['CodeBlock']&&_0x5a2f4c!=_0x5d17b1['FencedCode']){if(_0x31a48c&&(_0x5a2f4c==_0x5d17b1['HTMLBlock']||_0x5a2f4c==_0x5d17b1['HTMLTag']||_0x5a2f4c==_0x5d17b1['CommentBlock']))return{'parser':_0x31a48c,'overlay':leftOverSpace(_0x2340f5['node'],_0x2340f5['from'],_0x2340f5['to'])};}else{let _0x2091be='';if(_0x5a2f4c==_0x5d17b1['FencedCode']){let _0x4f35e3=_0x2340f5['node']['getChild'](_0x5d17b1['CodeInfo']);_0x4f35e3&&(_0x2091be=_0x213ea1['read'](_0x4f35e3['from'],_0x4f35e3['to']));}let _0x44b1b6=_0x16716b(_0x2091be);if(_0x44b1b6)return{'parser':_0x44b1b6,'overlay':_0x12a2ba=>_0x12a2ba['type']['id']==_0x5d17b1['CodeText']};}return null;});return{'wrap':_0x58162d};}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'(_0x1dcf3e,_0x462c69,_0x2de16b){if(0x7e!=_0x462c69||0x7e!=_0x1dcf3e['char'](_0x2de16b+0x1)||0x7e==_0x1dcf3e['char'](_0x2de16b+0x2))return-0x1;let _0x358bca=_0x1dcf3e['slice'](_0x2de16b-0x1,_0x2de16b),_0x23fe2e=_0x1dcf3e['slice'](_0x2de16b+0x2,_0x2de16b+0x3),_0x5798db=/\s|^$/['test'](_0x358bca),_0x473d2f=/\s|^$/['test'](_0x23fe2e),_0x3e4f9e=Punctuation['test'](_0x358bca),_0x580970=Punctuation['test'](_0x23fe2e);return _0x1dcf3e['addDelimiter'](StrikethroughDelim,_0x2de16b,_0x2de16b+0x2,!_0x473d2f&&(!_0x580970||_0x5798db||_0x3e4f9e),!_0x5798db&&(!_0x3e4f9e||_0x473d2f||_0x580970));},'after':'Emphasis'}]};function _0x450b9b(_0x20aece,_0x56487e,_0x3b4814=0x0,_0x552f04,_0x3792f3=0x0){let _0x1caf53=0x0,_0x48d29b=!0x0,_0xd13f33=-0x1,_0x5cce92=-0x1,_0xcb73d7=!0x1,_0x558636=()=>{_0x552f04['push'](_0x20aece['elt']('TableCell',_0x3792f3+_0xd13f33,_0x3792f3+_0x5cce92,_0x20aece['parser']['parseInline'](_0x56487e['slice'](_0xd13f33,_0x5cce92),_0x3792f3+_0xd13f33)));};for(let _0x1768f1=_0x3b4814;_0x1768f1<_0x56487e['length'];_0x1768f1++){let _0x258c9a=_0x56487e['charCodeAt'](_0x1768f1);0x7c!=_0x258c9a||_0xcb73d7?(_0xcb73d7||0x20!=_0x258c9a&&0x9!=_0x258c9a)&&(_0xd13f33<0x0&&(_0xd13f33=_0x1768f1),_0x5cce92=_0x1768f1+0x1):((!_0x48d29b||_0xd13f33>-0x1)&&_0x1caf53++,_0x48d29b=!0x1,_0x552f04&&(_0xd13f33>-0x1&&_0x558636(),_0x552f04['push'](_0x20aece['elt']('TableDelimiter',_0x1768f1+_0x3792f3,_0x1768f1+_0x3792f3+0x1))),_0xd13f33=_0x5cce92=-0x1),_0xcb73d7=!_0xcb73d7&&0x5c==_0x258c9a;}return _0xd13f33>-0x1&&(_0x1caf53++,_0x552f04&&_0x558636()),_0x1caf53;}function _0x847b1d(_0x2a3020,_0x250e5f){for(let _0x5c7b57=_0x250e5f;_0x5c7b57<_0x2a3020['length'];_0x5c7b57++){let _0x357589=_0x2a3020['charCodeAt'](_0x5c7b57);if(0x7c==_0x357589)return!0x0;0x5c==_0x357589&&_0x5c7b57++;}return!0x1;}const delimiterLine=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/;class _0xf32d51{constructor(){this['rows']=null;}['nextLine'](_0x5a2c42,_0x585398,_0xcef79a){if(null==this['rows']){let _0x9b92b8;if(this['rows']=!0x1,(0x2d==_0x585398['next']||0x3a==_0x585398['next']||0x7c==_0x585398['next'])&&delimiterLine['test'](_0x9b92b8=_0x585398['text']['slice'](_0x585398['pos']))){let _0x3b422f=[];_0x450b9b(_0x5a2c42,_0xcef79a['content'],0x0,_0x3b422f,_0xcef79a['start'])==_0x450b9b(_0x5a2c42,_0x9b92b8,_0x585398['pos'])&&(this['rows']=[_0x5a2c42['elt']('TableHeader',_0xcef79a['start'],_0xcef79a['start']+_0xcef79a['content']['length'],_0x3b422f),_0x5a2c42['elt']('TableDelimiter',_0x5a2c42['lineStart']+_0x585398['pos'],_0x5a2c42['lineStart']+_0x585398['text']['length'])]);}}else{if(this['rows']){let _0xd555a3=[];_0x450b9b(_0x5a2c42,_0x585398['text'],_0x585398['pos'],_0xd555a3,_0x5a2c42['lineStart']),this['rows']['push'](_0x5a2c42['elt']('TableRow',_0x5a2c42['lineStart']+_0x585398['pos'],_0x5a2c42['lineStart']+_0x585398['text']['length'],_0xd555a3));}}return!0x1;}['finish'](_0x2b07d0,_0x1246fd){return!!this['rows']&&(_0x2b07d0['addLeafElement'](_0x1246fd,_0x2b07d0['elt']('Table',_0x1246fd['start'],_0x1246fd['start']+_0x1246fd['content']['length'],this['rows'])),!0x0);}}const _0x3a4330={'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':(_0x2fd1bf,_0xd0817f)=>_0x847b1d(_0xd0817f['content'],0x0)?new _0xf32d51():null,'endLeaf'(_0x15dfeb,_0xb710c2,_0x3cf490){if(_0x3cf490['parsers']['some'](_0x2e9442=>_0x2e9442 instanceof _0xf32d51)||!_0x847b1d(_0xb710c2['text'],_0xb710c2['basePos']))return!0x1;let _0x40d990=_0x15dfeb['peekLine']();return delimiterLine['test'](_0x40d990)&&_0x450b9b(_0x15dfeb,_0xb710c2['text'],_0xb710c2['basePos'])==_0x450b9b(_0x15dfeb,_0x40d990,_0xb710c2['basePos']);},'before':'SetextHeading'}]};class _0x252ba7{['nextLine'](){return!0x1;}['finish'](_0x34b932,_0x2a0080){return _0x34b932['addLeafElement'](_0x2a0080,_0x34b932['elt']('Task',_0x2a0080['start'],_0x2a0080['start']+_0x2a0080['content']['length'],[_0x34b932['elt']('TaskMarker',_0x2a0080['start'],_0x2a0080['start']+0x3),..._0x34b932['parser']['parseInline'](_0x2a0080['content']['slice'](0x3),_0x2a0080['start']+0x3)])),!0x0;}}const TaskList={'defineNodes':[{'name':'Task','block':!0x0,'style':tags$1['list']},{'name':'TaskMarker','style':tags$1['atom']}],'parseBlock':[{'name':'TaskList','leaf':(_0x1fe183,_0x11113c)=>/^\[[ xX]\][ \t]/['test'](_0x11113c['content'])&&'ListItem'==_0x1fe183['parentType']()['name']?new _0x252ba7():null,'after':'SetextHeading'}]},autolinkRE=/(www\.)|(https?:\/\/)|([\w.+-]{1,100}@)|(mailto:|xmpp:)/gy,_0x36b125=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,lastTwoDomainWords=/[\w-]+\.[\w-]+($|\/)/,_0x29c954=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,_0x3e09de=/\/[a-zA-Z\d@.]+/gy;function count(_0x4460a9,_0x550254,_0x13ed72,_0x38c0a7){let _0x51f652=0x0;for(let _0x1bd3ca=_0x550254;_0x1bd3ca<_0x13ed72;_0x1bd3ca++)_0x4460a9[_0x1bd3ca]==_0x38c0a7&&_0x51f652++;return _0x51f652;}function autolinkURLEnd(_0x4714f0,_0x4524bd){_0x36b125['lastIndex']=_0x4524bd;let _0x1d703a=_0x36b125['exec'](_0x4714f0);if(!_0x1d703a||lastTwoDomainWords['exec'](_0x1d703a[0x0])[0x0]['indexOf']('_')>-0x1)return-0x1;let _0x1a08bc=_0x4524bd+_0x1d703a[0x0]['length'];for(;;){let _0x20e5b1,_0x33ce29=_0x4714f0[_0x1a08bc-0x1];if(/[?!.,:*_~]/['test'](_0x33ce29)||')'==_0x33ce29&&count(_0x4714f0,_0x4524bd,_0x1a08bc,')')>count(_0x4714f0,_0x4524bd,_0x1a08bc,'('))_0x1a08bc--;else{if(';'!=_0x33ce29||!(_0x20e5b1=/&(?:#\d+|#x[a-f\d]+|\w+);$/['exec'](_0x4714f0['slice'](_0x4524bd,_0x1a08bc))))break;_0x1a08bc=_0x4524bd+_0x20e5b1['index'];}}return _0x1a08bc;}function autolinkEmailEnd(_0x3ddbc9,_0x33fe64){_0x29c954['lastIndex']=_0x33fe64;let _0x586cb4=_0x29c954['exec'](_0x3ddbc9);if(!_0x586cb4)return-0x1;let _0x21c788=_0x586cb4[0x0][_0x586cb4[0x0]['length']-0x1];return'_'==_0x21c788||'-'==_0x21c788?-0x1:_0x33fe64+_0x586cb4[0x0]['length']-('.'==_0x21c788?0x1:0x0);}const Autolink={'parseInline':[{'name':'Autolink','parse'(_0x3ad858,_0x2ae8e5,_0x49ba9e){let _0x2892c5=_0x49ba9e-_0x3ad858['offset'];if(_0x2892c5&&/\w/['test'](_0x3ad858['text'][_0x2892c5-0x1]))return-0x1;autolinkRE['lastIndex']=_0x2892c5;let _0x494064=autolinkRE['exec'](_0x3ad858['text']),_0x2b5465=-0x1;if(!_0x494064)return-0x1;if(_0x494064[0x1]||_0x494064[0x2])(_0x2b5465=autolinkURLEnd(_0x3ad858['text'],_0x2892c5+_0x494064[0x0]['length']),_0x2b5465>-0x1&&_0x3ad858['hasOpenLink'])&&(_0x2b5465=_0x2892c5+/([^\[\]]|\[[^\]]*\])*/['exec'](_0x3ad858['text']['slice'](_0x2892c5,_0x2b5465))[0x0]['length']);else _0x494064[0x3]?_0x2b5465=autolinkEmailEnd(_0x3ad858['text'],_0x2892c5):(_0x2b5465=autolinkEmailEnd(_0x3ad858['text'],_0x2892c5+_0x494064[0x0]['length']),_0x2b5465>-0x1&&'xmpp:'==_0x494064[0x0]&&(_0x3e09de['lastIndex']=_0x2b5465,_0x494064=_0x3e09de['exec'](_0x3ad858['text']),_0x494064&&(_0x2b5465=_0x494064['index']+_0x494064[0x0]['length'])));return _0x2b5465<0x0?-0x1:(_0x3ad858['addElement'](_0x3ad858['elt']('URL',_0x49ba9e,_0x2b5465+_0x3ad858['offset'])),_0x2b5465+_0x3ad858['offset']);}}]},_0x5a6e8b=[_0x3a4330,TaskList,Strikethrough,Autolink];function _0x14464b(_0x5e1653,_0x32073d,_0x8b8734){return(_0x1814c9,_0x144c3f,_0x52b72e)=>{if(_0x144c3f!=_0x5e1653||_0x1814c9['char'](_0x52b72e+0x1)==_0x5e1653)return-0x1;let _0x541fa4=[_0x1814c9['elt'](_0x8b8734,_0x52b72e,_0x52b72e+0x1)];for(let _0x4fe272=_0x52b72e+0x1;_0x4fe272<_0x1814c9['end'];_0x4fe272++){let _0x526951=_0x1814c9['char'](_0x4fe272);if(_0x526951==_0x5e1653)return _0x1814c9['addElement'](_0x1814c9['elt'](_0x32073d,_0x52b72e,_0x4fe272+0x1,_0x541fa4['concat'](_0x1814c9['elt'](_0x8b8734,_0x4fe272,_0x4fe272+0x1))));if(0x5c==_0x526951&&_0x541fa4['push'](_0x1814c9['elt']('Escape',_0x4fe272,0x2+_0x4fe272++)),_0x150f2a(_0x526951))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':_0x14464b(0x5e,'Superscript','SuperscriptMark')}]},Subscript={'defineNodes':[{'name':'Subscript','style':tags$1['special'](tags$1['content'])},{'name':'SubscriptMark','style':tags$1['processingInstruction']}],'parseInline':[{'name':'Subscript','parse':_0x14464b(0x7e,'Subscript','SubscriptMark')}]},_0x47baf3={'defineNodes':[{'name':'Emoji','style':tags$1['character']}],'parseInline':[{'name':'Emoji','parse'(_0x3ed43f,_0x45d966,_0x2e1d82){let _0x252a39;return 0x3a==_0x45d966&&(_0x252a39=/^[a-zA-Z_0-9]+:/['exec'](_0x3ed43f['slice'](_0x2e1d82+0x1,_0x3ed43f['end'])))?_0x3ed43f['addElement'](_0x3ed43f['elt']('Emoji',_0x2e1d82,_0x2e1d82+0x1+_0x252a39[0x0]['length'])):-0x1;}}]},data=defineLanguageFacet({'commentTokens':{'block':{'open':'<!--','close':'-->'}}}),_0x3ac66f=new _0x4ee311(),_0x2d4f54=_0x2586f2['configure']({'props':[_0x14068c['add'](_0x5582c8=>!_0x5582c8['is']('Block')||_0x5582c8['is']('Document')||null!=_0x48816d(_0x5582c8)||isList(_0x5582c8)?void 0x0:(_0x597b49,_0x378a3f)=>({'from':_0x378a3f['doc']['lineAt'](_0x597b49['from'])['to'],'to':_0x597b49['to']})),_0x3ac66f['add'](_0x48816d),indentNodeProp['add']({'Document':()=>null}),languageDataProp['add']({'Document':data})]});function _0x48816d(_0x51bc52){let _0x264548=/^(?:ATX|Setext)Heading(\d)$/['exec'](_0x51bc52['name']);return _0x264548?+_0x264548[0x1]:void 0x0;}function isList(_0x4b7e3e){return'OrderedList'==_0x4b7e3e['name']||'BulletList'==_0x4b7e3e['name'];}function findSectionEnd(_0x4d4f62,_0x58d432){let _0xc91483=_0x4d4f62;for(;;){let _0x2a5773,_0x1671fc=_0xc91483['nextSibling'];if(!_0x1671fc||null!=(_0x2a5773=_0x48816d(_0x1671fc['type']))&&_0x2a5773<=_0x58d432)break;_0xc91483=_0x1671fc;}return _0xc91483['to'];}const headerIndent=_0xc835c4['of']((_0x36a990,_0x59a43a,_0x2908af)=>{for(let _0x44cfe8=syntaxTree(_0x36a990)['resolveInner'](_0x2908af,-0x1);_0x44cfe8&&!(_0x44cfe8['from']<_0x59a43a);_0x44cfe8=_0x44cfe8['parent']){let _0x51ae73=_0x44cfe8['type']['prop'](_0x3ac66f);if(null==_0x51ae73)continue;let _0x58744b=findSectionEnd(_0x44cfe8,_0x51ae73);if(_0x58744b>_0x2908af)return{'from':_0x2908af,'to':_0x58744b};}return null;});function _0x46b34b(_0x2d9479){return new _0x13cb7f(data,_0x2d9479,[headerIndent],'markdown');}const _0x247518=_0x46b34b(_0x2d4f54),extended=_0x2d4f54['configure']([_0x5a6e8b,Subscript,Superscript,_0x47baf3,{'props':[_0x14068c['add']({'Table':(_0x738c01,_0x22aae8)=>({'from':_0x22aae8['doc']['lineAt'](_0x738c01['from'])['to'],'to':_0x738c01['to']})})]}]),_0x15e65f=_0x46b34b(extended);function getCodeParser(_0x5745f,_0x3afc4a){return _0x3ec37f=>{if(_0x3ec37f&&_0x5745f){let _0xcd8fe2=null;if(_0x3ec37f=/\S*/['exec'](_0x3ec37f)[0x0],_0xcd8fe2='function'==typeof _0x5745f?_0x5745f(_0x3ec37f):LanguageDescription['matchLanguageName'](_0x5745f,_0x3ec37f,!0x0),_0xcd8fe2 instanceof LanguageDescription)return _0xcd8fe2['support']?_0xcd8fe2['support']['language']['parser']:ParseContext['getSkippingParser'](_0xcd8fe2['load']());if(_0xcd8fe2)return _0xcd8fe2['parser'];}return _0x3afc4a?_0x3afc4a['parser']:null;};}class Context{constructor(_0x4afbc4,_0x293ee9,_0x1c54bb,_0x193506,_0x40f030,_0x34456b,_0x5828bf){this['node']=_0x4afbc4,this['from']=_0x293ee9,this['to']=_0x1c54bb,this['spaceBefore']=_0x193506,this['spaceAfter']=_0x40f030,this['type']=_0x34456b,this['item']=_0x5828bf;}['blank'](_0x4d0e5f,_0x5c7542=!0x0){let _0x5989e1=this['spaceBefore']+('Blockquote'==this['node']['name']?'>':'');if(null!=_0x4d0e5f){for(;_0x5989e1['length']<_0x4d0e5f;)_0x5989e1+='\x20';return _0x5989e1;}for(let _0x23efbe=this['to']-this['from']-_0x5989e1['length']-this['spaceAfter']['length'];_0x23efbe>0x0;_0x23efbe--)_0x5989e1+='\x20';return _0x5989e1+(_0x5c7542?this['spaceAfter']:'');}['marker'](_0x199396,_0x1481aa){let _0x3bcc50='OrderedList'==this['node']['name']?String(+itemNumber(this['item'],_0x199396)[0x2]+_0x1481aa):'';return this['spaceBefore']+_0x3bcc50+this['type']+this['spaceAfter'];}}function getContext(_0x5f1545,_0x1b6e4b){let _0x2b75d6=[],_0x58677a=[];for(let _0x48136a=_0x5f1545;_0x48136a;_0x48136a=_0x48136a['parent']){if('FencedCode'==_0x48136a['name'])return _0x58677a;'ListItem'!=_0x48136a['name']&&'Blockquote'!=_0x48136a['name']||_0x2b75d6['push'](_0x48136a);}for(let _0x195e7e=_0x2b75d6['length']-0x1;_0x195e7e>=0x0;_0x195e7e--){let _0x10fb62,_0x37f791=_0x2b75d6[_0x195e7e],_0x2241df=_0x1b6e4b['lineAt'](_0x37f791['from']),_0x5746aa=_0x37f791['from']-_0x2241df['from'];if('Blockquote'==_0x37f791['name']&&(_0x10fb62=/^ *>( ?)/['exec'](_0x2241df['text']['slice'](_0x5746aa))))_0x58677a['push'](new Context(_0x37f791,_0x5746aa,_0x5746aa+_0x10fb62[0x0]['length'],'',_0x10fb62[0x1],'>',null));else{if('ListItem'==_0x37f791['name']&&'OrderedList'==_0x37f791['parent']['name']&&(_0x10fb62=/^( *)\d+([.)])( *)/['exec'](_0x2241df['text']['slice'](_0x5746aa)))){let _0x286e33=_0x10fb62[0x3],_0xfed28=_0x10fb62[0x0]['length'];_0x286e33['length']>=0x4&&(_0x286e33=_0x286e33['slice'](0x0,_0x286e33['length']-0x4),_0xfed28-=0x4),_0x58677a['push'](new Context(_0x37f791['parent'],_0x5746aa,_0x5746aa+_0xfed28,_0x10fb62[0x1],_0x286e33,_0x10fb62[0x2],_0x37f791));}else{if('ListItem'==_0x37f791['name']&&'BulletList'==_0x37f791['parent']['name']&&(_0x10fb62=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/['exec'](_0x2241df['text']['slice'](_0x5746aa)))){let _0x5e2243=_0x10fb62[0x4],_0x186131=_0x10fb62[0x0]['length'];_0x5e2243['length']>0x4&&(_0x5e2243=_0x5e2243['slice'](0x0,_0x5e2243['length']-0x4),_0x186131-=0x4);let _0xb6278=_0x10fb62[0x2];_0x10fb62[0x3]&&(_0xb6278+=_0x10fb62[0x3]['replace'](/[xX]/,'\x20')),_0x58677a['push'](new Context(_0x37f791['parent'],_0x5746aa,_0x5746aa+_0x186131,_0x10fb62[0x1],_0x5e2243,_0xb6278,_0x37f791));}}}}return _0x58677a;}function itemNumber(_0x341823,_0x37d65f){return/^(\s*)(\d+)(?=[.)])/['exec'](_0x37d65f['sliceString'](_0x341823['from'],_0x341823['from']+0xa));}function renumberList(_0x443fc8,_0x271723,_0x277cac,_0x1c49bb=0x0){for(let _0x4eeaba=-0x1,_0x1b7cd0=_0x443fc8;;){if('ListItem'==_0x1b7cd0['name']){let _0x243fdd=itemNumber(_0x1b7cd0,_0x271723),_0xc3b883=+_0x243fdd[0x2];if(_0x4eeaba>=0x0){if(_0xc3b883!=_0x4eeaba+0x1)return;_0x277cac['push']({'from':_0x1b7cd0['from']+_0x243fdd[0x1]['length'],'to':_0x1b7cd0['from']+_0x243fdd[0x0]['length'],'insert':String(_0x4eeaba+0x2+_0x1c49bb)});}_0x4eeaba=_0xc3b883;}let _0x1ffd24=_0x1b7cd0['nextSibling'];if(!_0x1ffd24)break;_0x1b7cd0=_0x1ffd24;}}function normalizeIndent(_0x4fdfe2,_0x3ff406){let _0xeedd5=/^[ \t]*/['exec'](_0x4fdfe2)[0x0]['length'];if(!_0xeedd5||'\x09'!=_0x3ff406['facet'](indentUnit))return _0x4fdfe2;let _0x23dc9d='';for(let _0x461a26=countColumn(_0x4fdfe2,0x4,_0xeedd5);_0x461a26>0x0;)_0x461a26>=0x4?(_0x23dc9d+='\x09',_0x461a26-=0x4):(_0x23dc9d+='\x20',_0x461a26--);return _0x23dc9d+_0x4fdfe2['slice'](_0xeedd5);}const insertNewlineContinueMarkup=({state:_0x5ca3b0,dispatch:_0x3829ed})=>{let _0x7e93a2=syntaxTree(_0x5ca3b0),{doc:_0x3f7de1}=_0x5ca3b0,_0x380d82=null,_0x2f1176=_0x5ca3b0['changeByRange'](_0x222ba9=>{if(!_0x222ba9['empty']||!_0x15e65f['isActiveAt'](_0x5ca3b0,_0x222ba9['from'],0x0))return _0x380d82={'range':_0x222ba9};let _0x290d5f=_0x222ba9['from'],_0x593e77=_0x3f7de1['lineAt'](_0x290d5f),_0xd6670d=getContext(_0x7e93a2['resolveInner'](_0x290d5f,-0x1),_0x3f7de1);for(;_0xd6670d['length']&&_0xd6670d[_0xd6670d['length']-0x1]['from']>_0x290d5f-_0x593e77['from'];)_0xd6670d['pop']();if(!_0xd6670d['length'])return _0x380d82={'range':_0x222ba9};let _0x551850=_0xd6670d[_0xd6670d['length']-0x1];if(_0x551850['to']-_0x551850['spaceAfter']['length']>_0x290d5f-_0x593e77['from'])return _0x380d82={'range':_0x222ba9};let _0x1d6039=_0x290d5f>=_0x551850['to']-_0x551850['spaceAfter']['length']&&!/\S/['test'](_0x593e77['text']['slice'](_0x551850['to']));if(_0x551850['item']&&_0x1d6039){let _0x4c292b=_0x551850['node']['firstChild'],_0x2bb8d7=_0x551850['node']['getChild']('ListItem','ListItem');if(_0x4c292b['to']>=_0x290d5f||_0x2bb8d7&&_0x2bb8d7['to']<_0x290d5f||_0x593e77['from']>0x0&&!/[^\s>]/['test'](_0x3f7de1['lineAt'](_0x593e77['from']-0x1)['text'])){let _0x577880,_0x1b8029=_0xd6670d['length']>0x1?_0xd6670d[_0xd6670d['length']-0x2]:null,_0x310536='';_0x1b8029&&_0x1b8029['item']?(_0x577880=_0x593e77['from']+_0x1b8029['from'],_0x310536=_0x1b8029['marker'](_0x3f7de1,0x1)):_0x577880=_0x593e77['from']+(_0x1b8029?_0x1b8029['to']:0x0);let _0x3eb75c=[{'from':_0x577880,'to':_0x290d5f,'insert':_0x310536}];return'OrderedList'==_0x551850['node']['name']&&renumberList(_0x551850['item'],_0x3f7de1,_0x3eb75c,-0x2),_0x1b8029&&'OrderedList'==_0x1b8029['node']['name']&&renumberList(_0x1b8029['item'],_0x3f7de1,_0x3eb75c),{'range':EditorSelection['cursor'](_0x577880+_0x310536['length']),'changes':_0x3eb75c};}{let _0x478574=_0x2a8778(_0xd6670d,_0x5ca3b0,_0x593e77);return{'range':EditorSelection['cursor'](_0x290d5f+_0x478574['length']+0x1),'changes':{'from':_0x593e77['from'],'insert':_0x478574+_0x5ca3b0['lineBreak']}};}}if('Blockquote'==_0x551850['node']['name']&&_0x1d6039&&_0x593e77['from']){let _0xb1b74=_0x3f7de1['lineAt'](_0x593e77['from']-0x1),_0x204dee=/>\s*$/['exec'](_0xb1b74['text']);if(_0x204dee&&_0x204dee['index']==_0x551850['from']){let _0x2619ed=_0x5ca3b0['changes']([{'from':_0xb1b74['from']+_0x204dee['index'],'to':_0xb1b74['to']},{'from':_0x593e77['from']+_0x551850['from'],'to':_0x593e77['to']}]);return{'range':_0x222ba9['map'](_0x2619ed),'changes':_0x2619ed};}}let _0x10d9c0=[];'OrderedList'==_0x551850['node']['name']&&renumberList(_0x551850['item'],_0x3f7de1,_0x10d9c0);let _0x27f376=_0x551850['item']&&_0x551850['item']['from']<_0x593e77['from'],_0x988d3a='';if(!_0x27f376||/^[\s\d.)\-+*>]*/['exec'](_0x593e77['text'])[0x0]['length']>=_0x551850['to']){for(let _0x1760c2=0x0,_0x374eb5=_0xd6670d['length']-0x1;_0x1760c2<=_0x374eb5;_0x1760c2++)_0x988d3a+=_0x1760c2!=_0x374eb5||_0x27f376?_0xd6670d[_0x1760c2]['blank'](_0x1760c2<_0x374eb5?countColumn(_0x593e77['text'],0x4,_0xd6670d[_0x1760c2+0x1]['from'])-_0x988d3a['length']:null):_0xd6670d[_0x1760c2]['marker'](_0x3f7de1,0x1);}let _0xf49eea=_0x290d5f;for(;_0xf49eea>_0x593e77['from']&&/\s/['test'](_0x593e77['text']['charAt'](_0xf49eea-_0x593e77['from']-0x1));)_0xf49eea--;return _0x988d3a=normalizeIndent(_0x988d3a,_0x5ca3b0),nonTightList(_0x551850['node'],_0x5ca3b0['doc'])&&(_0x988d3a=_0x2a8778(_0xd6670d,_0x5ca3b0,_0x593e77)+_0x5ca3b0['lineBreak']+_0x988d3a),_0x10d9c0['push']({'from':_0xf49eea,'to':_0x290d5f,'insert':_0x5ca3b0['lineBreak']+_0x988d3a}),{'range':EditorSelection['cursor'](_0xf49eea+_0x988d3a['length']+0x1),'changes':_0x10d9c0};});return!_0x380d82&&(_0x3829ed(_0x5ca3b0['update'](_0x2f1176,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0);};function _0x153466(_0x125e3d){return'QuoteMark'==_0x125e3d['name']||'ListMark'==_0x125e3d['name'];}function nonTightList(_0x5dac20,_0x5c2d79){if('OrderedList'!=_0x5dac20['name']&&'BulletList'!=_0x5dac20['name'])return!0x1;let _0x5f0772=_0x5dac20['firstChild'],_0x549415=_0x5dac20['getChild']('ListItem','ListItem');if(!_0x549415)return!0x1;let _0x29976a=_0x5c2d79['lineAt'](_0x5f0772['to']),_0x4f9bef=_0x5c2d79['lineAt'](_0x549415['from']),_0x3d1b52=/^[\s>]*$/['test'](_0x29976a['text']);return _0x29976a['number']+(_0x3d1b52?0x0:0x1)<_0x4f9bef['number'];}function _0x2a8778(_0x9e659a,_0x391cec,_0x28c3db){let _0x148c9c='';for(let _0x2c0068=0x0,_0x4667f8=_0x9e659a['length']-0x2;_0x2c0068<=_0x4667f8;_0x2c0068++)_0x148c9c+=_0x9e659a[_0x2c0068]['blank'](_0x2c0068<_0x4667f8?countColumn(_0x28c3db['text'],0x4,Math['min'](_0x28c3db['text']['length'],_0x9e659a[_0x2c0068+0x1]['from']))-_0x148c9c['length']:null,_0x2c0068<_0x4667f8);return normalizeIndent(_0x148c9c,_0x391cec);}function contextNodeForDelete(_0x3f8768,_0x5ec829){let _0x2a12c5=_0x3f8768['resolveInner'](_0x5ec829,-0x1),_0xcdb44e=_0x5ec829;_0x153466(_0x2a12c5)&&(_0xcdb44e=_0x2a12c5['from'],_0x2a12c5=_0x2a12c5['parent']);for(let _0x188076;_0x188076=_0x2a12c5['childBefore'](_0xcdb44e);)if(_0x153466(_0x188076))_0xcdb44e=_0x188076['from'];else{if('OrderedList'!=_0x188076['name']&&'BulletList'!=_0x188076['name'])break;_0x2a12c5=_0x188076['lastChild'],_0xcdb44e=_0x2a12c5['to'];}return _0x2a12c5;}const deleteMarkupBackward=({state:_0xc17e35,dispatch:_0x31067d})=>{let _0x5e0285=syntaxTree(_0xc17e35),_0x459b7c=null,_0x231385=_0xc17e35['changeByRange'](_0x236311=>{let _0x5e18b6=_0x236311['from'],{doc:_0x59ec0b}=_0xc17e35;if(_0x236311['empty']&&_0x15e65f['isActiveAt'](_0xc17e35,_0x236311['from'])){let _0x2c160d=_0x59ec0b['lineAt'](_0x5e18b6),_0xe66939=getContext(contextNodeForDelete(_0x5e0285,_0x5e18b6),_0x59ec0b);if(_0xe66939['length']){let _0x5522a4=_0xe66939[_0xe66939['length']-0x1],_0x19b352=_0x5522a4['to']-_0x5522a4['spaceAfter']['length']+(_0x5522a4['spaceAfter']?0x1:0x0);if(_0x5e18b6-_0x2c160d['from']>_0x19b352&&!/\S/['test'](_0x2c160d['text']['slice'](_0x19b352,_0x5e18b6-_0x2c160d['from'])))return{'range':EditorSelection['cursor'](_0x2c160d['from']+_0x19b352),'changes':{'from':_0x2c160d['from']+_0x19b352,'to':_0x5e18b6}};if(_0x5e18b6-_0x2c160d['from']==_0x19b352&&(!_0x5522a4['item']||_0x2c160d['from']<=_0x5522a4['item']['from']||!/\S/['test'](_0x2c160d['text']['slice'](0x0,_0x5522a4['to'])))){let _0x1cc452=_0x2c160d['from']+_0x5522a4['from'];if(_0x5522a4['item']&&_0x5522a4['node']['from']<_0x5522a4['item']['from']&&/\S/['test'](_0x2c160d['text']['slice'](_0x5522a4['from'],_0x5522a4['to']))){let _0x508e55=_0x5522a4['blank'](countColumn(_0x2c160d['text'],0x4,_0x5522a4['to'])-countColumn(_0x2c160d['text'],0x4,_0x5522a4['from']));return _0x1cc452==_0x2c160d['from']&&(_0x508e55=normalizeIndent(_0x508e55,_0xc17e35)),{'range':EditorSelection['cursor'](_0x1cc452+_0x508e55['length']),'changes':{'from':_0x1cc452,'to':_0x2c160d['from']+_0x5522a4['to'],'insert':_0x508e55}};}if(_0x1cc452<_0x5e18b6)return{'range':EditorSelection['cursor'](_0x1cc452),'changes':{'from':_0x1cc452,'to':_0x5e18b6}};}}}return _0x459b7c={'range':_0x236311};});return!_0x459b7c&&(_0x31067d(_0xc17e35['update'](_0x231385,{'scrollIntoView':!0x0,'userEvent':'delete'})),!0x0);},_0x5a3777=[{'key':'Enter','run':insertNewlineContinueMarkup},{'key':'Backspace','run':deleteMarkupBackward}],htmlNoMatch=html({'matchClosingTags':!0x1});function _0x5eb930(_0x2cf4d2={}){let {codeLanguages:_0x2342cc,defaultCodeLanguage:_0x3c4f41,addKeymap:_0x3758af=!0x0,base:{parser:_0x4cd775}=_0x247518,completeHTMLTags:_0x17e1ac=!0x0,htmlTagLanguage:_0x49ace4=htmlNoMatch}=_0x2cf4d2;if(!(_0x4cd775 instanceof _0x17f32a))throw new RangeError('Base\x20parser\x20provided\x20to\x20`markdown`\x20should\x20be\x20a\x20Markdown\x20parser');let _0x1aa3d6,_0x3435a1=_0x2cf4d2['extensions']?[_0x2cf4d2['extensions']]:[],_0xef9fc=[_0x49ace4['support']];_0x3c4f41 instanceof LanguageSupport?(_0xef9fc['push'](_0x3c4f41['support']),_0x1aa3d6=_0x3c4f41['language']):_0x3c4f41&&(_0x1aa3d6=_0x3c4f41);let _0x4792fa=_0x2342cc||_0x1aa3d6?getCodeParser(_0x2342cc,_0x1aa3d6):void 0x0;_0x3435a1['push'](_0x242c49({'codeParser':_0x4792fa,'htmlParser':_0x49ace4['language']['parser']})),_0x3758af&&_0xef9fc['push'](_0x27d43b['high'](_0x406ef3['of'](_0x5a3777)));let _0xbe1b64=_0x46b34b(_0x4cd775['configure'](_0x3435a1));return _0x17e1ac&&_0xef9fc['push'](_0xbe1b64['data']['of']({'autocomplete':htmlTagCompletion})),new LanguageSupport(_0xbe1b64,_0xef9fc);}function htmlTagCompletion(_0x1bd47b){let {state:_0x3076ae,pos:_0x5dfe99}=_0x1bd47b,_0x11f52e=/<[:\-\.\w\u00b7-\uffff]*$/['exec'](_0x3076ae['sliceDoc'](_0x5dfe99-0x19,_0x5dfe99));if(!_0x11f52e)return null;let _0x424fea=syntaxTree(_0x3076ae)['resolveInner'](_0x5dfe99,-0x1);for(;_0x424fea&&!_0x424fea['type']['isTop'];){if('CodeBlock'==_0x424fea['name']||'FencedCode'==_0x424fea['name']||'ProcessingInstructionBlock'==_0x424fea['name']||'CommentBlock'==_0x424fea['name']||'Link'==_0x424fea['name']||'Image'==_0x424fea['name'])return null;_0x424fea=_0x424fea['parent'];}return{'from':_0x5dfe99-_0x11f52e[0x0]['length'],'to':_0x5dfe99,'options':htmlTagCompletions(),'validFor':/^<[:\-\.\w\u00b7-\uffff]*$/};}let _tagCompletions=null;function htmlTagCompletions(){if(_tagCompletions)return _tagCompletions;let _0x4ab109=htmlCompletionSource(new CompletionContext(EditorState['create']({'extensions':htmlNoMatch}),0x0,!0x0));return _tagCompletions=_0x4ab109?_0x4ab109['options']:[];}const _0x2a27ba='#e5c07b',_0x414c44='#e06c75',_0x16c626='#56b6c2',_0x2a3479='#ffffff',_0x5625f6='#abb2bf',stone='#7d8799',_0x53f65f='#61afef',_0x220b35='#98c379',_0x1927ad='#d19a66',violet='#c678dd',_0xaa8da3='#21252b',highlightBackground='#2c313a',_0x866dde='#282c34',tooltipBackground='#353a42',selection='#3E4451',_0x50161d='#528bff',_0x4ca83f=EditorView['theme']({'&':{'color':_0x5625f6,'backgroundColor':_0x866dde},'.cm-content':{'caretColor':_0x50161d},'.cm-cursor,\x20.cm-dropCursor':{'borderLeftColor':_0x50161d},'&.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':_0xaa8da3,'color':_0x5625f6},'.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':_0x866dde,'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':_0x5625f6}}},{'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':_0x414c44},{'tag':[tags$1['function'](tags$1['variableName']),tags$1['labelName']],'color':_0x53f65f},{'tag':[tags$1['color'],tags$1['constant'](tags$1['name']),tags$1['standard'](tags$1['name'])],'color':_0x1927ad},{'tag':[tags$1['definition'](tags$1['name']),tags$1['separator']],'color':_0x5625f6},{'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':_0x2a27ba},{'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':_0x16c626},{'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':_0x414c44},{'tag':[tags$1['atom'],tags$1['bool'],tags$1['special'](tags$1['variableName'])],'color':_0x1927ad},{'tag':[tags$1['processingInstruction'],tags$1['string'],tags$1['inserted']],'color':_0x220b35},{'tag':tags$1['invalid'],'color':_0x2a3479}]),_0xd62862=[_0x4ca83f,syntaxHighlighting(oneDarkHighlightStyle)];function createCodeMirrorEditor(_0x3ff29a){const _0x52c419=getDefaultExtensions(),_0x1cce65=new Compartment();_0x52c419['push'](_0x1cce65['of'](EditorView['editable']['of'](!0x0))),'html'===_0x3ff29a['syntaxLanguage']?_0x52c419['push'](html()):_0x52c419['push'](_0x5eb930());const _0x3201aa=_0x24dc00(_0x3ff29a['theme']);_0x3201aa&&_0x52c419['push'](_0x3201aa),_0x52c419['push'](...getKeybindings());const _0x5e099b=new EditorView({'extensions':_0x52c419,'parent':_0x3ff29a['parent']});return toggleTabFocusMode(_0x5e099b),{'focus':()=>{_0x5e099b['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x5e099b['focus']();},'getData':()=>_0x5e099b['state']['doc']['toString'](),'setData':_0x136a4d=>{_0x5e099b['dispatch']({'changes':{'from':0x0,'to':_0x5e099b['state']['doc']['length'],'insert':_0x136a4d},'annotations':Transaction['addToHistory']['of'](!0x1)});},'setReadOnly':_0x3e0859=>{_0x5e099b['dispatch']({'effects':[_0x1cce65['reconfigure'](EditorView['editable']['of'](!_0x3e0859))]});},'destroy':()=>{_0x5e099b['destroy']();},'instance':_0x5e099b};}function _0x24dc00(_0x48234f){return _0x48234f&&'default'!==_0x48234f?'dark'===_0x48234f?_0xd62862:_0x48234f:null;}function getKeybindings(){return[_0x406ef3['of']([...closeBracketsKeymap,...defaultKeymap,...historyKeymap,..._0x29528e,...completionKeymap,{'key':'Tab','run':indentMore,'shift':indentLess,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x2f23eb,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x2f23eb,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x14d682,'preventDefault':!0x0,'stopPropagation':!0x0}])];}function getDefaultExtensions(){return[EditorView['lineWrapping'],autocompletion(),bracketMatching(),closeBrackets(),_0x25833e(),drawSelection(),_0x5d52bd(),_0x26cd3a(),foldGutter(),highlightActiveLine(),highlightActiveLineGutter(),highlightSpecialChars(),history(),indentOnInput(),rectangularSelection(),syntaxHighlighting(defaultHighlightStyle,{'fallback':!0x0})];}class CodeEditorView extends ckeditor5['View']{['_codeEditorApi']=null;['_options'];constructor(_0x2d6fea,_0x3742c6){super(_0x2d6fea),this['_options']=_0x3742c6,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',(_0x9c44b7,_0xa4cb0,_0x340b05)=>{this['setReadOnly'](_0x340b05);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x189a12){this['_codeEditorApi']['setData'](_0x189a12);}['setReadOnly'](_0x7f8dde){this['_codeEditorApi']['setReadOnly'](_0x7f8dde);}}const _0x38a9e8='SourceEditingEnhancedMode';class EditSourceCommand extends ckeditor5['Command']{constructor(_0x5927de){super(_0x5927de),this['affectsData']=!0x1,this['editor']['plugins']['get'](ckeditor5['PendingActions'])['on']('change:hasAny',(_0x4f3244,_0x395750,_0x467087)=>{_0x467087?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x18fa76=this['editor'];for(const _0x12fe99 of _0x18fa76['commands']['names']())['replaceSource','editSource']['includes'](_0x12fe99)||_0x18fa76['commands']['get'](_0x12fe99)['forceDisabled'](_0x38a9e8);}['_enableCommands'](){const _0x4353ee=this['editor'];for(const _0x1939d1 of _0x4353ee['commands']['commands']())_0x1939d1['clearForceDisabled'](_0x38a9e8);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x24ec46=this['editor'],_0x3ec528=_0x24ec46['locale'],_0x2cec3a=_0x24ec46['plugins']['get']('Dialog'),_0xd21e53=getActiveRootName(_0x24ec46),_0x8816b7=formatSource(_0x24ec46['data']['get']({'rootName':_0xd21e53})),_0xe84f4a=new CodeEditorView(_0x3ec528,{'syntaxLanguage':_0x24ec46['plugins']['has']('Markdown')?'markdown':'html','theme':_0x24ec46['config']['get']('sourceEditingEnhanced.theme')});let _0x15d7aa=!0x0;const _0x4a14c3=_0x281197=>{if(!_0x15d7aa)return;return unformatSource(_0xe84f4a['getData']())!==unformatSource(_0x8816b7)?window['confirm'](getTranslation$3(_0x3ec528,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x281197['stop']():void 0x0;};_0x2cec3a['show']({'id':'sourceEditingEnhanced','title':getTranslation$3(_0x3ec528,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0xe84f4a,'actionButtons':[{'label':getTranslation$3(_0x3ec528,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x2cec3a['hide']();}},{'label':getTranslation$3(_0x3ec528,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x2fe41e=unformatSource(_0xe84f4a['getData']())!==unformatSource(_0x8816b7);(_0x2fe41e&&_0x24ec46['execute']('replaceSource',_0xe84f4a['getData']()),_0x15d7aa=!0x1,_0x2cec3a['hide'](),_0x2fe41e&&'editables'in _0x24ec46['ui']['view'])&&_0x24ec46['ui']['view']['editables'][_0xd21e53]['element']['focus']();},'onCreate':_0x5c7bd4=>{_0x5c7bd4['set']('isEnabled',!_0x24ec46['isReadOnly']),_0x5c7bd4['bind']('isEnabled')['to'](_0x24ec46,'isReadOnly',this,'isEnabled',(_0x34e77b,_0x4bc62f)=>!_0x34e77b&&_0x4bc62f);}}],'onHide':()=>{this['_enableCommands'](),_0x2cec3a['off']('hide',_0x4a14c3),_0xe84f4a['destroy']();},'onShow':()=>{_0xe84f4a['bind']('isReadOnly')['to'](_0x24ec46,'isReadOnly',this,'isEnabled',(_0xf55fe3,_0x494adb)=>_0xf55fe3||!_0x494adb),_0xe84f4a['setData'](_0x8816b7),_0xe84f4a['focus'](),_0x2cec3a['on']('hide',_0x4a14c3,{'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 _0xe1fea8=this['editor'],_0x5c4459=_0xe1fea8['locale'],_0x346911=new EditSourceCommand(_0xe1fea8);_0xe1fea8['commands']['add']('editSource',_0x346911),_0xe1fea8['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x509e5c=this['_createButton'](ckeditor5['ButtonView'],_0x346911);return _0x509e5c['set']({'label':getTranslation$3(_0x5c4459,'Source'),'icon':ckeditor5['IconSource'],'tooltip':getTranslation$3(_0x5c4459,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x509e5c;}),_0xe1fea8['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x19f4f0=this['_createButton'](ckeditor5['MenuBarMenuListItemButtonView'],_0x346911,!0x0);return _0x19f4f0['set']({'label':getTranslation$3(_0x5c4459,'Edit\x20source\x20modal\x20label'),'icon':ckeditor5['IconSource'],'role':'menuitemcheckbox'}),_0x19f4f0;}),this['_registerKeybindings']();}['afterInit'](){_0x5641b0(this);}['_createButton'](_0xc8b9ce,_0x35dff9,_0x552e35=!0x1){const _0x302bf2=new _0xc8b9ce(this['editor']['locale']);return _0x302bf2['set']({'withText':_0x552e35,'isToggleable':!0x1}),_0x302bf2['bind']('isEnabled')['to'](_0x35dff9,'isEnabled'),this['listenTo'](_0x302bf2,'execute',()=>_0x35dff9['execute']()),_0x302bf2;}['_registerKeybindings'](){const _0x37f2b4=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':getTranslation$3(_0x37f2b4,'Source\x20Editing\x20Enhanced')});const _0x15ce78=ckeditor5['env']['isMac']||ckeditor5['env']['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':getTranslation$3(_0x37f2b4,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':getTranslation$3(_0x37f2b4,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':getTranslation$3(_0x37f2b4,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':getTranslation$3(_0x37f2b4,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':getTranslation$3(_0x37f2b4,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':getTranslation$3(_0x37f2b4,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':getTranslation$3(_0x37f2b4,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x15ce78?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':getTranslation$3(_0x37f2b4,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':getTranslation$3(_0x37f2b4,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':getTranslation$3(_0x37f2b4,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':getTranslation$3(_0x37f2b4,'Select\x20line'),'keystroke':_0x15ce78?'Ctrl!+L':'Alt+L'},{'label':getTranslation$3(_0x37f2b4,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x15ce78?'Alt+Shift+M':'Ctrl+M'},{'label':getTranslation$3(_0x37f2b4,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':getTranslation$3(_0x37f2b4,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':getTranslation$3(_0x37f2b4,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':getTranslation$3(_0x37f2b4,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':getTranslation$3(_0x37f2b4,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x15ce78?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}async function _0x5641b0(_0xdcc93f){const _0x2fa093=_0x5d03f1([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]),_0x2d05b7=window[_0x5d03f1([0x44,0x61,0x74,0x65])][_0x5d03f1([0x6e,0x6f,0x77])](),_0x4b11a1=_0xdcc93f[_0x5d03f1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x59fade=new window[(_0x5d03f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5f0b4c=>{_0x4b11a1[_0x5d03f1([0x6f,0x6e,0x63,0x65])](_0x5d03f1([0x72,0x65,0x61,0x64,0x79]),_0x5f0b4c);}),_0x34f8a7={[_0x5d03f1([0x6b,0x74,0x79])]:_0x5d03f1([0x45,0x43]),[_0x5d03f1([0x75,0x73,0x65])]:_0x5d03f1([0x73,0x69,0x67]),[_0x5d03f1([0x63,0x72,0x76])]:_0x5d03f1([0x50,0x2d,0x32,0x35,0x36]),[_0x5d03f1([0x78])]:_0x5d03f1([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]),[_0x5d03f1([0x79])]:_0x5d03f1([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]),[_0x5d03f1([0x61,0x6c,0x67])]:_0x5d03f1([0x45,0x53,0x32,0x35,0x36])},_0x5edf44=_0x4b11a1[_0x5d03f1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5d03f1([0x67,0x65,0x74])](_0x5d03f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x3b0b02=await(async function(){let _0x38d884,_0x1e5627=null,_0xef75a0=null;try{if(_0x5edf44==_0x5d03f1([0x47,0x50,0x4c]))return _0x5d03f1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x38d884=(function(){const _0x3e992b=_0x5edf44[_0x5d03f1([0x73,0x70,0x6c,0x69,0x74])](_0x5d03f1([0x2e]));if(0x3!=_0x3e992b[_0x5d03f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x45a8ff=_0x3e992b[0x1];return _0x2e623e(_0x45a8ff);function _0x2e623e(_0x145287){const _0x309c5e=_0x5d5a43(_0x145287);return _0x309c5e&&_0xbbed77()?_0x309c5e:null;function _0xbbed77(){const _0x2ab542=_0x309c5e[_0x5d03f1([0x6a,0x74,0x69])],_0xdbc1c7=window[_0x5d03f1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ab542[_0x5d03f1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2ab542[_0x5d03f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1ed553={..._0x309c5e,[_0x5d03f1([0x6a,0x74,0x69])]:_0x2ab542[_0x5d03f1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2ab542[_0x5d03f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1ed553[_0x5d03f1([0x76,0x63])],_0x18efd6(_0x1ed553)==_0xdbc1c7;}}}()),!_0x38d884)return _0x5d03f1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x38d884[_0x5d03f1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xef75a0=function(_0x46945a,_0x435845){return new window[(_0x5d03f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e5f4a=>{if(_0x31df89())return _0x1e5f4a(_0x5d03f1([0x56,0x61,0x6c,0x69,0x64]));_0x3d0eb2(),_0x4b11a1[_0x5d03f1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5d03f1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x556150=!0x1;const _0x46d857=ckeditor5['uid']();function _0x3ccd07(_0x174166){return!!_0x174166&&(typeof _0x174166===_0x5d03f1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x174166===_0x5d03f1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x174166[_0x5d03f1([0x74,0x68,0x65,0x6e])]===_0x5d03f1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x174166[_0x5d03f1([0x63,0x61,0x74,0x63,0x68])]===_0x5d03f1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x9be423(_0x2c3d39){_0x5d4268(_0x2c3d39)[_0x5d03f1([0x74,0x68,0x65,0x6e])](_0x3cf55a=>{if(!_0x3cf55a||_0x3cf55a[_0x5d03f1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5d03f1([0x6f,0x6b]))return _0x5d03f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x44fcff(_0x18efd6(_0x46d857+_0x435845))!=_0x3cf55a[_0x5d03f1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5d03f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5d03f1([0x56,0x61,0x6c,0x69,0x64]);})[_0x5d03f1([0x74,0x68,0x65,0x6e])](_0x101c56=>(_0x5065db(),_0x101c56),()=>{const _0x179f0a=_0x36050e();return null==_0x179f0a?(_0x5065db(),_0x5d03f1([0x56,0x61,0x6c,0x69,0x64])):_0x5d03f1(_0x2d05b7-_0x179f0a>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5d03f1([0x74,0x68,0x65,0x6e])](_0x1e5f4a)[_0x5d03f1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1e5f4a(_0x5d03f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x581e1f=0x36ee80;function _0x5065db(){const _0x4dcdf4=_0x5d03f1([0x6c,0x6c,0x63,0x74,0x2d])+_0x44fcff(_0x18efd6(_0x46945a)),_0x2ef51b=_0x164865(_0x44fcff(window[_0x5d03f1([0x4d,0x61,0x74,0x68])][_0x5d03f1([0x63,0x65,0x69,0x6c])](_0x2d05b7/_0x581e1f)));window[_0x5d03f1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5d03f1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4dcdf4,_0x2ef51b);}function _0x36050e(){const _0x59b794=_0x5d03f1([0x6c,0x6c,0x63,0x74,0x2d])+_0x44fcff(_0x18efd6(_0x46945a)),_0x341e83=window[_0x5d03f1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5d03f1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x59b794);return _0x341e83?window[_0x5d03f1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x164865(_0x341e83),0x10)*_0x581e1f:null;}function _0x5d4268(_0x2b2415){return new window[(_0x5d03f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x57e27f,_0x3e6936)=>{_0x2b2415[_0x5d03f1([0x74,0x68,0x65,0x6e])](_0x57e27f,_0x3e6936),window[_0x5d03f1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3e6936,0x1d4c0);});}}_0x4b11a1[_0x5d03f1([0x6f,0x6e])](_0x5d03f1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3119e2,_0x23a9fa)=>{if(_0x23a9fa[0x0]!=_0x46945a)return _0x1e5f4a(_0x5d03f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x23a9fa[0x1]={..._0x23a9fa[0x1],[_0x5d03f1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x46d857};},{[_0x5d03f1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5d03f1([0x68,0x69,0x67,0x68])}),_0x4b11a1[_0x5d03f1([0x6f,0x6e])](_0x5d03f1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x46d09c=>{_0x3ccd07(_0x46d09c[_0x5d03f1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x556150=!0x0,_0x9be423(_0x46d09c[_0x5d03f1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5d03f1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5d03f1([0x6c,0x6f,0x77])}),_0x59fade[_0x5d03f1([0x74,0x68,0x65,0x6e])](()=>{_0x556150||_0x1e5f4a(_0x5d03f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x31df89(){return _0x4b11a1[_0x5d03f1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5d03f1([0x76,0x69,0x65,0x77])][_0x5d03f1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5d03f1([0x61,0x75,0x74,0x6f]);}function _0x3d0eb2(){_0x4b11a1[_0x5d03f1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5d03f1([0x76,0x69,0x65,0x77])][_0x5d03f1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5d03f1([0x61,0x75,0x74,0x6f]);}}(_0x38d884[_0x5d03f1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x38d884[_0x5d03f1([0x6a,0x74,0x69])]));const _0x2e1f11=await(async function(){let _0xbc866c=!0x0;try{const _0x11c776=_0x5edf44[_0x5d03f1([0x73,0x70,0x6c,0x69,0x74])](_0x5d03f1([0x2e])),[_0x2eb3f9,_0x11626c,_0xcdee21]=_0x11c776;return _0x1f7b45(_0x2eb3f9),await _0x388235(_0x2eb3f9,_0x11626c,_0xcdee21),_0xbc866c;}catch{return!0x1;}function _0x1f7b45(_0x5b2af0){const _0x24da34=_0x5d5a43(_0x5b2af0);_0x24da34&&_0x24da34[_0x5d03f1([0x61,0x6c,0x67])]==_0x5d03f1([0x45,0x53,0x32,0x35,0x36])||(_0xbc866c=!0x1);}async function _0x388235(_0x317cc2,_0x88aaf,_0x177fa8){const _0x306b63=window[_0x5d03f1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5d03f1([0x66,0x72,0x6f,0x6d])](_0x190481(_0x177fa8),_0x52e7f0=>_0x52e7f0[_0x5d03f1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x328bfd=new window[(_0x5d03f1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5d03f1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x317cc2+_0x5d03f1([0x2e])+_0x88aaf),_0x302380=window[_0x5d03f1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5d03f1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x302380)return;const _0x19edb4=await _0x302380[_0x5d03f1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5d03f1([0x6a,0x77,0x6b]),_0x34f8a7,{[_0x5d03f1([0x6e,0x61,0x6d,0x65])]:_0x5d03f1([0x45,0x43,0x44,0x53,0x41]),[_0x5d03f1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5d03f1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5d03f1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x302380[_0x5d03f1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5d03f1([0x6e,0x61,0x6d,0x65])]:_0x5d03f1([0x45,0x43,0x44,0x53,0x41]),[_0x5d03f1([0x68,0x61,0x73,0x68])]:{[_0x5d03f1([0x6e,0x61,0x6d,0x65])]:_0x5d03f1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x19edb4,_0x306b63,_0x328bfd)||(_0xbc866c=!0x1);}}());return _0x2e1f11?(function(){const _0x2f69c1=_0x38d884[_0x5d03f1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x2f69c1)return!0x1;if(_0x2f69c1[_0x5d03f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d03f1([0x2a])))return!0x0;if(_0x2f69c1[_0x5d03f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d03f1([0x53,0x45,0x45])))return!0x0;return!0x1;}())?(function(){const _0x138cbd=[_0x5d03f1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5d03f1([0x74,0x72,0x69,0x61,0x6c])][_0x5d03f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38d884[_0x5d03f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2d05b7/0x3e8:0x69d59a80;return _0x38d884[_0x5d03f1([0x65,0x78,0x70])]<_0x138cbd;}())?_0x5d03f1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x36fc60=_0x38d884[_0x5d03f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x36fc60||0x0==_0x36fc60[_0x5d03f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x326a5e}=new URL(window[_0x5d03f1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x36fc60[_0x5d03f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x326a5e))return!0x0;const _0x3ac098=_0x326a5e[_0x5d03f1([0x73,0x70,0x6c,0x69,0x74])](_0x5d03f1([0x2e]));return _0x36fc60[_0x5d03f1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3930d3=>_0x3930d3[_0x5d03f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d03f1([0x2a])))[_0x5d03f1([0x6d,0x61,0x70])](_0x4f6c76=>_0x4f6c76[_0x5d03f1([0x73,0x70,0x6c,0x69,0x74])](_0x5d03f1([0x2e])))[_0x5d03f1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x39fd33=>_0x39fd33[_0x5d03f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3ac098[_0x5d03f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5d03f1([0x6d,0x61,0x70])](_0x5d30d6=>Array(_0x3ac098[_0x5d03f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5d30d6[_0x5d03f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5d03f1([0x66,0x69,0x6c,0x6c])](_0x5d30d6[0x0]===_0x5d03f1([0x2a])?_0x5d03f1([0x2a]):'')[_0x5d03f1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5d30d6))[_0x5d03f1([0x73,0x6f,0x6d,0x65])](_0x48bf80=>_0x3ac098[_0x5d03f1([0x65,0x76,0x65,0x72,0x79])]((_0x541a57,_0x27f5d6)=>_0x48bf80[_0x27f5d6]===_0x541a57||_0x48bf80[_0x27f5d6]===_0x5d03f1([0x2a])));}())?(_0x38d884[_0x5d03f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5d03f1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1e5627=function(_0xe704cc){const _0x53fd77=new window[(_0x5d03f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x405149=>setTimeout(_0x405149,0x93ecc)),_0x22c99a=_0x59fade[_0x5d03f1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5d03f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbf874e=>{let _0x19a9f9=0x0;_0x4b11a1[_0x5d03f1([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d03f1([0x6f,0x6e])](_0x5d03f1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x21ca41,_0x219ce3)=>{_0x219ce3[0x0][_0x5d03f1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x19a9f9++,0x5e8==_0x19a9f9&&(_0xbf874e(),_0x21ca41[_0x5d03f1([0x6f,0x66,0x66])]());});})),_0x5a1a97=[_0x53fd77,_0x22c99a];return window[_0x5d03f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5d03f1([0x72,0x61,0x63,0x65])](_0x5a1a97)[_0x5d03f1([0x74,0x68,0x65,0x6e])](()=>_0xe704cc);}(_0x5d03f1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x1e5627&&_0xef75a0)return new window[(_0x5d03f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x51e762,_0x3fa207)=>{_0x1e5627[_0x5d03f1([0x74,0x68,0x65,0x6e])](_0x51e762,_0x3fa207),_0xef75a0[_0x5d03f1([0x74,0x68,0x65,0x6e])](_0xa18f28=>{_0xa18f28!=_0x5d03f1([0x56,0x61,0x6c,0x69,0x64])&&_0x51e762(_0xa18f28);},_0x3fa207);});return _0x1e5627||_0xef75a0||_0x5d03f1([0x56,0x61,0x6c,0x69,0x64]);}())):_0x5d03f1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5d03f1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5d03f1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5d03f1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x5d5a43(_0x51a09a){return _0x51a09a[_0x5d03f1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5d03f1([0x65,0x79]))?JSON[_0x5d03f1([0x70,0x61,0x72,0x73,0x65])](_0x190481(_0x51a09a)):null;}function _0x190481(_0x49ed00){return window[_0x5d03f1([0x61,0x74,0x6f,0x62])](_0x49ed00[_0x5d03f1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5d03f1([0x2b]))[_0x5d03f1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5d03f1([0x2f])));}function _0x18efd6(_0x40b637){let _0x56b746=0x1505;function _0x1c3b61(_0x3dc615){for(let _0x17b8e7=0x0;_0x17b8e7<_0x3dc615[_0x5d03f1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x17b8e7++){const _0x4e179b=_0x3dc615[_0x5d03f1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x17b8e7);_0x56b746=(_0x56b746<<0x5)+_0x56b746+_0x4e179b,_0x56b746&=_0x56b746;}}return function _0x55b506(_0x49639a){Array[_0x5d03f1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x49639a)?_0x49639a[_0x5d03f1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x55b506):_0x49639a&&typeof _0x49639a==_0x5d03f1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5d03f1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x49639a)[_0x5d03f1([0x73,0x6f,0x72,0x74])]()[_0x5d03f1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1324d1,_0x7167f6])=>{_0x1c3b61(_0x1324d1),_0x55b506(_0x7167f6);}):_0x1c3b61(window[_0x5d03f1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x49639a));}(_0x40b637),_0x56b746>>>0x0;}function _0x44fcff(_0x4b7edf){return _0x4b7edf[_0x5d03f1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5d03f1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5d03f1([0x30]));}function _0x164865(_0x17d95b){return _0x17d95b[_0x5d03f1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5d03f1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5d03f1([0x6a,0x6f,0x69,0x6e])]('');}function _0x2baa7f(){}function _0x5d03f1(_0x39ddb1){return _0x39ddb1['map'](_0x5def2a=>String['fromCharCode'](_0x5def2a))['join']('');}!function(_0x5aa0e4){const _0x38f0af=(function(){const _0x449f92=window[_0x5d03f1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5d03f1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5d03f1([0x6e,0x6f,0x77])]())[_0x5d03f1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5d03f1([0x2e]),'');let _0x1d65e4=_0x5d03f1([0x4e]);for(let _0x46c480=0x0;_0x46c480<_0x449f92[_0x5d03f1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x46c480+=0x2){let _0xb44fba=window[_0x5d03f1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x449f92[_0x5d03f1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x46c480,_0x46c480+0x2));_0xb44fba>=_0x2fa093[_0x5d03f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xb44fba-=_0x2fa093[_0x5d03f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1d65e4+=_0x2fa093[_0xb44fba];}return _0x1d65e4;}());_0x4b11a1[_0x38f0af]=_0x5d03f1([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])+_0x5aa0e4,_0x5aa0e4!=_0x5d03f1([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x59fade,_0x4b11a1[_0x5d03f1([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d03f1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2baa7f,_0x4b11a1[_0x5d03f1([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d03f1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2baa7f,_0x4b11a1[_0x5d03f1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5d03f1([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x3b0b02);}class _0x53cd2a extends ckeditor5['Command']{constructor(_0x4adf85){super(_0x4adf85),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0xa7e2cb,_0xb2e2a7){const _0xf18e0d=this['editor'],_0x26b67a=_0xb2e2a7?.['rootName']??getActiveRootName(_0xf18e0d);_0xf18e0d['data']['set']({[_0x26b67a]:_0xa7e2cb},{'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(_0xa1b1b7){super(_0xa1b1b7),_0xa1b1b7['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new _0x53cd2a(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x59eedc=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x468e52;for(const _0x1e5450 in _0x59eedc){const _0x25401f=_0x1e5450,_0x347f2b=_0x59eedc[_0x25401f];if('sourceEditingEnhancedLicenseKeyValid'==_0x347f2b||'sourceEditingEnhancedLicenseKeyInvalid'==_0x347f2b||'sourceEditingEnhancedLicenseKeyExpired'==_0x347f2b||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x347f2b||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x347f2b||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x347f2b||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x347f2b){delete _0x59eedc[_0x25401f],_0x468e52=_0x347f2b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x468e52&&_0x59eedc['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x468e52&&_0x59eedc['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x468e52&&_0x59eedc['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x468e52&&_0x59eedc['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x468e52&&_0x59eedc['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x468e52&&_0x59eedc['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x40b6e2=this['editor'],_0x20e013=_0x40b6e2['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x20e013&&_0x40b6e2['plugins']['has']('RealTimeCollaborativeEditing'))throw new ckeditor5['CKEditorError']('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x20e013&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x5b5884=>_0x40b6e2['plugins']['has'](_0x5b5884))&&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.'),_0x40b6e2['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'](_0x2f8d38){const {model:_0x19d7c3}=this['editor'];let _0xcb6a98;switch(typeof _0x2f8d38){case'string':_0xcb6a98=_0x2f8d38;break;case'function':_0xcb6a98=_0x2f8d38();}'string'==typeof _0xcb6a98&&_0x19d7c3['change'](()=>{const _0x5c1204=this['editor']['data']['htmlProcessor']['toView'](_0xcb6a98),_0x377a1b=this['editor']['data']['toModel'](_0x5c1204);_0x19d7c3['insertContent'](_0x377a1b);});}}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:_0x21df58}=this;_0x21df58['commands']['add']('insertTemplate',new TemplateCommand(_0x21df58)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x21200b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1fa925;for(const _0x490668 in _0x21200b){const _0xa12a97=_0x490668,_0x386586=_0x21200b[_0xa12a97];if('templateLicenseKeyValid'==_0x386586||'templateLicenseKeyInvalid'==_0x386586||'templateLicenseKeyExpired'==_0x386586||'templateLicenseKeyDomainLimit'==_0x386586||'templateLicenseKeyNotAllowed'==_0x386586||'templateLicenseKeyEvaluationLimit'==_0x386586||'templateLicenseKeyUsageLimit'==_0x386586){delete _0x21200b[_0xa12a97],_0x1fa925=_0x386586,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x1fa925&&_0x21200b['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x1fa925&&_0x21200b['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x1fa925&&_0x21200b['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x1fa925&&_0x21200b['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x1fa925&&_0x21200b['_showLicenseError']('evaluationLimit'),'templateLicenseKeyUsageLimit'==_0x1fa925&&_0x21200b['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TemplateListView extends ckeditor5['ListView']{['filter'](_0x5a5204){if(!_0x5a5204)return this['_resetFiltering']();const _0x16937d=new Map(),_0x4b3cda=this['items']['map'](_0x5a5c14=>{const _0x518a29=_0x5a5c14['buttonView']['isMatching'](_0x5a5204);return _0x5a5c14['isVisible']=!!_0x518a29,_0x5a5c14['buttonView']['highlightText'](_0x518a29?_0x5a5204:null),_0x518a29&&_0x16937d['set'](_0x5a5c14,_0x518a29),_0x5a5c14;})['sort'](unsortListItemsCallback)['sort'](getSortListItemsCallback(_0x16937d));return this['items']['clear'](),this['items']['addMany'](_0x4b3cda),{'resultsCount':_0x16937d['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x3a623f=this['items']['map'](_0x51c9e8=>_0x51c9e8)['sort'](unsortListItemsCallback);return _0x3a623f['forEach'](_0x820973=>{_0x820973['isVisible']=!0x0,_0x820973['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x3a623f),{'resultsCount':_0x3a623f['length'],'totalItemsCount':_0x3a623f['length']};}}function getSortListItemsCallback(_0x5eabe4){return function(_0xef05b0,_0x19bd4b){const _0x287021=_0x5eabe4['get'](_0xef05b0),_0x5feb84=_0x5eabe4['get'](_0x19bd4b);return _0x287021&&!_0x5feb84?-0x1:_0x5feb84&&!_0x287021?0x1:_0x287021||_0x5feb84?_0x287021['title']&&!_0x5feb84['title']?-0x1:!_0x287021['title']&&_0x5feb84['title']?0x1:0x0:0x0;};}function unsortListItemsCallback(_0x2f4ddc,_0x5954c3){return _0x2f4ddc['originalIndex']-_0x5954c3['originalIndex'];}class TemplateListItemView extends ckeditor5['ListItemView']{['originalIndex'];['buttonView'];constructor(_0x179ef3,_0x51d742){super(_0x179ef3),this['originalIndex']=_0x51d742,this['buttonView']=null;}}class TemplateListButtonView extends ckeditor5['ButtonView']{['templateDefinition'];['textPartView'];constructor(_0x17a891,_0x1de9d4){super(_0x17a891),this['templateDefinition']=_0x1de9d4,this['textPartView']=null;const {icon:_0x3aa087=ckeditor5['IconTemplateGeneric']}=_0x1de9d4;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x3aa087}),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'](_0x24233d){const {title:_0x26ad2d,description:_0x26df20}=this['templateDefinition'],_0xcb211d=!!_0x26ad2d['match'](_0x24233d),_0x2903f2=!(!_0x26df20||!_0x26df20['match'](_0x24233d));return _0xcb211d||_0x2903f2?{'title':_0xcb211d,'description':_0x2903f2}:null;}['highlightText'](_0x170196){this['textPartView']['highlightText'](_0x170196);}}class TextPartView extends ckeditor5['View']{constructor(_0x3aef71,_0x1300d8,_0x4807b2){super(_0x3aef71),this['title']=_0x1300d8['title'],this['description']=_0x1300d8['description'],this['titleView']=new ckeditor5['HighlightedTextView'](),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x4807b2}});const _0x598212=[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']}}),_0x598212['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x598212});}['highlightText'](_0x28e272){this['titleView']['highlightText'](_0x28e272),this['description']&&this['descriptionView']['highlightText'](_0x28e272);}}function getTranslation$2(_0x5dfae0,_0x5241c3,..._0x52bc5a){const t=_0x5dfae0['t'];switch(_0x5241c3){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x52bc5a);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',..._0x52bc5a);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x5241c3;}}class TemplateUI extends ckeditor5['Plugin']{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4d2699}=this,_0x4a879a=_0x4d2699['config']['get']('template.definitions')||[];_0x4d2699['ui']['componentFactory']['add']('insertTemplate',_0x5495d6=>{const _0x67cc5f=ckeditor5['createDropdown'](_0x5495d6),_0x3d6686=this['_createTemplateListView'](_0x5495d6,_0x4a879a),_0x9c7b2=new ckeditor5['SearchTextView'](_0x5495d6,{'filteredView':_0x3d6686,'queryView':{'label':getTranslation$2(_0x5495d6,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x3efb45=>getTranslation$2(_0x5495d6,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x3efb45),'secondary':getTranslation$2(_0x5495d6,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':getTranslation$2(_0x5495d6,'No\x20templates\x20available.')}}}}),_0x187868=_0x4d2699['commands']['get']('insertTemplate');return _0x9c7b2['on']('search',(_0x21150a,_0x6ad86f)=>{_0x6ad86f['query']&&_0x6ad86f['query']['length']&&_0x4d2699['ui']['ariaLiveAnnouncer']['announce'](getTranslation$2(_0x5495d6,'%0\x20templates\x20found',_0x6ad86f['resultsCount']));}),_0x67cc5f['bind']('isEnabled')['to'](_0x187868),_0x67cc5f['panelView']['children']['add'](_0x9c7b2),_0x67cc5f['buttonView']['set']({'label':getTranslation$2(_0x5495d6,'Insert\x20template'),'icon':ckeditor5['IconTemplate'],'tooltip':!0x0}),_0x67cc5f['on']('change:isOpen',(_0x383c62,_0x5815f,_0x58a968)=>{_0x58a968||_0x9c7b2['reset']();}),_0x67cc5f;}),_0x4d2699['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x109b51=>{const _0x54c5e1=_0x4d2699['commands']['get']('insertTemplate'),_0x5ed616=new ckeditor5['MenuBarMenuView'](_0x109b51);_0x5ed616['buttonView']['set']({'label':getTranslation$2(_0x109b51,'Template'),'icon':ckeditor5['IconTemplate']});const _0x5b4634=new ckeditor5['MenuBarMenuListView'](_0x109b51);if(!_0x4a879a||!_0x4a879a['length']){const _0x15ebc6=new ckeditor5['MenuBarMenuListItemView'](_0x109b51,_0x5ed616),_0x3ecd9a=new ckeditor5['MenuBarMenuListItemButtonView'](_0x109b51);_0x3ecd9a['set']({'label':getTranslation$2(_0x109b51,'No\x20templates\x20available.')}),_0x3ecd9a['delegate']('execute')['to'](_0x5ed616),_0x3ecd9a['on']('execute',()=>{_0x4d2699['editing']['view']['focus']();}),_0x15ebc6['children']['add'](_0x3ecd9a),_0x5b4634['items']['add'](_0x15ebc6);}for(const _0x3ce995 of _0x4a879a){const _0x126364=new ckeditor5['MenuBarMenuListItemView'](_0x109b51,_0x5ed616),_0x56b55b=new ckeditor5['MenuBarMenuListItemButtonView'](_0x109b51);_0x56b55b['set']({'class':'ck-template-button','label':_0x3ce995['title'],'icon':_0x3ce995['icon']||ckeditor5['IconTemplateGeneric']}),_0x56b55b['delegate']('execute')['to'](_0x5ed616),_0x56b55b['on']('execute',()=>{_0x4d2699['execute']('insertTemplate',_0x3ce995['data']),_0x4d2699['editing']['view']['focus']();}),_0x126364['children']['add'](_0x56b55b),_0x5b4634['items']['add'](_0x126364);}return _0x5ed616['panelView']['children']['add'](_0x5b4634),_0x5ed616['bind']('isEnabled')['to'](_0x54c5e1,'isEnabled'),_0x5ed616;});}['afterInit'](){_0x248ecc(this);}['_createTemplateListView'](_0x26f3be,_0x2d0dc2){const {editor:_0x54f280}=this,_0x3dc820=new TemplateListView(_0x26f3be);return _0x3dc820['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x3dc820['items']['addMany'](_0x2d0dc2['map']((_0x2237a0,_0x3f4adf)=>{const _0x473e5c=new TemplateListItemView(_0x26f3be,_0x3f4adf),_0x2447cd=new TemplateListButtonView(_0x26f3be,_0x2237a0);return _0x473e5c['buttonView']=_0x2447cd,_0x473e5c['children']['add'](_0x2447cd),_0x473e5c['buttonView']['on']('execute',_0x26e3da=>{_0x54f280['execute']('insertTemplate',_0x26e3da['source']['templateDefinition']['data']),_0x54f280['editing']['view']['focus']();}),_0x473e5c;})),_0x3dc820;}}async function _0x248ecc(_0xf8287a){const _0x1432eb=_0x14cd4f([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]),_0x3f283f=window[_0x14cd4f([0x44,0x61,0x74,0x65])][_0x14cd4f([0x6e,0x6f,0x77])](),_0xb38fe5=_0xf8287a[_0x14cd4f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x226b4f=new window[(_0x14cd4f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x506a4c=>{_0xb38fe5[_0x14cd4f([0x6f,0x6e,0x63,0x65])](_0x14cd4f([0x72,0x65,0x61,0x64,0x79]),_0x506a4c);}),_0x4ee898={[_0x14cd4f([0x6b,0x74,0x79])]:_0x14cd4f([0x45,0x43]),[_0x14cd4f([0x75,0x73,0x65])]:_0x14cd4f([0x73,0x69,0x67]),[_0x14cd4f([0x63,0x72,0x76])]:_0x14cd4f([0x50,0x2d,0x32,0x35,0x36]),[_0x14cd4f([0x78])]:_0x14cd4f([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]),[_0x14cd4f([0x79])]:_0x14cd4f([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]),[_0x14cd4f([0x61,0x6c,0x67])]:_0x14cd4f([0x45,0x53,0x32,0x35,0x36])},_0x877983=_0xb38fe5[_0x14cd4f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x14cd4f([0x67,0x65,0x74])](_0x14cd4f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0xcccde7=await(async function(){let _0x4f52e9,_0x858db0=null,_0x4996c2=null;try{if(_0x877983==_0x14cd4f([0x47,0x50,0x4c]))return _0x14cd4f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4f52e9=(function(){const _0x1008e3=_0x877983[_0x14cd4f([0x73,0x70,0x6c,0x69,0x74])](_0x14cd4f([0x2e]));if(0x3!=_0x1008e3[_0x14cd4f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x1d14c5=_0x1008e3[0x1];return _0x2e1deb(_0x1d14c5);function _0x2e1deb(_0x3ecf1a){const _0x18bbba=_0x2bf484(_0x3ecf1a);return _0x18bbba&&_0x8f1a9b()?_0x18bbba:null;function _0x8f1a9b(){const _0x4d2154=_0x18bbba[_0x14cd4f([0x6a,0x74,0x69])],_0xd5ae69=window[_0x14cd4f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d2154[_0x14cd4f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4d2154[_0x14cd4f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x6cea6e={..._0x18bbba,[_0x14cd4f([0x6a,0x74,0x69])]:_0x4d2154[_0x14cd4f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4d2154[_0x14cd4f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x6cea6e[_0x14cd4f([0x76,0x63])],_0x47a728(_0x6cea6e)==_0xd5ae69;}}}()),!_0x4f52e9)return _0x14cd4f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x4f52e9[_0x14cd4f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4996c2=function(_0x13e4e3,_0x335ea5){return new window[(_0x14cd4f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f9618=>{if(_0x254397())return _0x4f9618(_0x14cd4f([0x56,0x61,0x6c,0x69,0x64]));_0x1335cf(),_0xb38fe5[_0x14cd4f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x14cd4f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3c1cf7=!0x1;const _0x1300d9=ckeditor5['uid']();function _0x138900(_0x29bf2b){return!!_0x29bf2b&&(typeof _0x29bf2b===_0x14cd4f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x29bf2b===_0x14cd4f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x29bf2b[_0x14cd4f([0x74,0x68,0x65,0x6e])]===_0x14cd4f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x29bf2b[_0x14cd4f([0x63,0x61,0x74,0x63,0x68])]===_0x14cd4f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x577176(_0x15adfa){_0x5ad10b(_0x15adfa)[_0x14cd4f([0x74,0x68,0x65,0x6e])](_0x1ce0a3=>{if(!_0x1ce0a3||_0x1ce0a3[_0x14cd4f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x14cd4f([0x6f,0x6b]))return _0x14cd4f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3ed07c(_0x47a728(_0x1300d9+_0x335ea5))!=_0x1ce0a3[_0x14cd4f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x14cd4f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x14cd4f([0x56,0x61,0x6c,0x69,0x64]);})[_0x14cd4f([0x74,0x68,0x65,0x6e])](_0x15007d=>(_0x339a3a(),_0x15007d),()=>{const _0x1ad133=_0x3edbdc();return null==_0x1ad133?(_0x339a3a(),_0x14cd4f([0x56,0x61,0x6c,0x69,0x64])):_0x14cd4f(_0x3f283f-_0x1ad133>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x14cd4f([0x74,0x68,0x65,0x6e])](_0x4f9618)[_0x14cd4f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4f9618(_0x14cd4f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x186d63=0x36ee80;function _0x339a3a(){const _0x2d35bc=_0x14cd4f([0x6c,0x6c,0x63,0x74,0x2d])+_0x3ed07c(_0x47a728(_0x13e4e3)),_0x334dfd=_0x5dde70(_0x3ed07c(window[_0x14cd4f([0x4d,0x61,0x74,0x68])][_0x14cd4f([0x63,0x65,0x69,0x6c])](_0x3f283f/_0x186d63)));window[_0x14cd4f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x14cd4f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d35bc,_0x334dfd);}function _0x3edbdc(){const _0x2607ea=_0x14cd4f([0x6c,0x6c,0x63,0x74,0x2d])+_0x3ed07c(_0x47a728(_0x13e4e3)),_0x453f12=window[_0x14cd4f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x14cd4f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2607ea);return _0x453f12?window[_0x14cd4f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5dde70(_0x453f12),0x10)*_0x186d63:null;}function _0x5ad10b(_0x25dd3d){return new window[(_0x14cd4f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3da1de,_0x4d70e0)=>{_0x25dd3d[_0x14cd4f([0x74,0x68,0x65,0x6e])](_0x3da1de,_0x4d70e0),window[_0x14cd4f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4d70e0,0x1d4c0);});}}_0xb38fe5[_0x14cd4f([0x6f,0x6e])](_0x14cd4f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4854c9,_0x9334c1)=>{if(_0x9334c1[0x0]!=_0x13e4e3)return _0x4f9618(_0x14cd4f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x9334c1[0x1]={..._0x9334c1[0x1],[_0x14cd4f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1300d9};},{[_0x14cd4f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x14cd4f([0x68,0x69,0x67,0x68])}),_0xb38fe5[_0x14cd4f([0x6f,0x6e])](_0x14cd4f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x12df66=>{_0x138900(_0x12df66[_0x14cd4f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3c1cf7=!0x0,_0x577176(_0x12df66[_0x14cd4f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x14cd4f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x14cd4f([0x6c,0x6f,0x77])}),_0x226b4f[_0x14cd4f([0x74,0x68,0x65,0x6e])](()=>{_0x3c1cf7||_0x4f9618(_0x14cd4f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x254397(){return _0xb38fe5[_0x14cd4f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x14cd4f([0x76,0x69,0x65,0x77])][_0x14cd4f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x14cd4f([0x61,0x75,0x74,0x6f]);}function _0x1335cf(){_0xb38fe5[_0x14cd4f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x14cd4f([0x76,0x69,0x65,0x77])][_0x14cd4f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x14cd4f([0x61,0x75,0x74,0x6f]);}}(_0x4f52e9[_0x14cd4f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4f52e9[_0x14cd4f([0x6a,0x74,0x69])]));const _0x50a481=await(async function(){let _0x574abd=!0x0;try{const _0x4db771=_0x877983[_0x14cd4f([0x73,0x70,0x6c,0x69,0x74])](_0x14cd4f([0x2e])),[_0x1c6497,_0x5d5029,_0x455853]=_0x4db771;return _0x2672f0(_0x1c6497),await _0x32ac04(_0x1c6497,_0x5d5029,_0x455853),_0x574abd;}catch{return!0x1;}function _0x2672f0(_0x53afec){const _0x29e730=_0x2bf484(_0x53afec);_0x29e730&&_0x29e730[_0x14cd4f([0x61,0x6c,0x67])]==_0x14cd4f([0x45,0x53,0x32,0x35,0x36])||(_0x574abd=!0x1);}async function _0x32ac04(_0x5252af,_0x385eed,_0x30d24a){const _0x259a42=window[_0x14cd4f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x14cd4f([0x66,0x72,0x6f,0x6d])](_0xec0393(_0x30d24a),_0x56f31c=>_0x56f31c[_0x14cd4f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x551922=new window[(_0x14cd4f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x14cd4f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5252af+_0x14cd4f([0x2e])+_0x385eed),_0x4eec6b=window[_0x14cd4f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x14cd4f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4eec6b)return;const _0x5dd622=await _0x4eec6b[_0x14cd4f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x14cd4f([0x6a,0x77,0x6b]),_0x4ee898,{[_0x14cd4f([0x6e,0x61,0x6d,0x65])]:_0x14cd4f([0x45,0x43,0x44,0x53,0x41]),[_0x14cd4f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x14cd4f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x14cd4f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4eec6b[_0x14cd4f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x14cd4f([0x6e,0x61,0x6d,0x65])]:_0x14cd4f([0x45,0x43,0x44,0x53,0x41]),[_0x14cd4f([0x68,0x61,0x73,0x68])]:{[_0x14cd4f([0x6e,0x61,0x6d,0x65])]:_0x14cd4f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5dd622,_0x259a42,_0x551922)||(_0x574abd=!0x1);}}());return _0x50a481?(function(){const _0x232e8a=_0x4f52e9[_0x14cd4f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x232e8a)return!0x1;if(_0x232e8a[_0x14cd4f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14cd4f([0x2a])))return!0x0;if(_0x232e8a[_0x14cd4f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14cd4f([0x54,0x50,0x4c])))return!0x0;if(_0x232e8a[_0x14cd4f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14cd4f([0x50,0x50])))return!0x0;if(_0x232e8a[_0x14cd4f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14cd4f([0x44,0x52,0x55,0x50]))&&window[_0x14cd4f([0x44,0x72,0x75,0x70,0x61,0x6c])])return!0x0;if(_0x232e8a[_0x14cd4f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14cd4f([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x14cd4f([0x67,0x6c,0x6f,0x62])]&&window[_0x14cd4f([0x67,0x6c,0x6f,0x62])][_0x14cd4f([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x3cb893=[_0x14cd4f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x14cd4f([0x74,0x72,0x69,0x61,0x6c])][_0x14cd4f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f52e9[_0x14cd4f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3f283f/0x3e8:0x69d59a80;return _0x4f52e9[_0x14cd4f([0x65,0x78,0x70])]<_0x3cb893;}())?_0x14cd4f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x30d367=_0x4f52e9[_0x14cd4f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x30d367||0x0==_0x30d367[_0x14cd4f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5eb603}=new URL(window[_0x14cd4f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x30d367[_0x14cd4f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5eb603))return!0x0;const _0x43de02=_0x5eb603[_0x14cd4f([0x73,0x70,0x6c,0x69,0x74])](_0x14cd4f([0x2e]));return _0x30d367[_0x14cd4f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x303a16=>_0x303a16[_0x14cd4f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14cd4f([0x2a])))[_0x14cd4f([0x6d,0x61,0x70])](_0x515720=>_0x515720[_0x14cd4f([0x73,0x70,0x6c,0x69,0x74])](_0x14cd4f([0x2e])))[_0x14cd4f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x265c09=>_0x265c09[_0x14cd4f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x43de02[_0x14cd4f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x14cd4f([0x6d,0x61,0x70])](_0x4b784b=>Array(_0x43de02[_0x14cd4f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4b784b[_0x14cd4f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x14cd4f([0x66,0x69,0x6c,0x6c])](_0x4b784b[0x0]===_0x14cd4f([0x2a])?_0x14cd4f([0x2a]):'')[_0x14cd4f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4b784b))[_0x14cd4f([0x73,0x6f,0x6d,0x65])](_0x2bc604=>_0x43de02[_0x14cd4f([0x65,0x76,0x65,0x72,0x79])]((_0x14532c,_0x9a82b6)=>_0x2bc604[_0x9a82b6]===_0x14532c||_0x2bc604[_0x9a82b6]===_0x14cd4f([0x2a])));}())?(_0x4f52e9[_0x14cd4f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x14cd4f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x858db0=function(_0xfdcadc){const _0x56f3c1=new window[(_0x14cd4f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc9440f=>setTimeout(_0xc9440f,0x93ecc)),_0xb86bf6=_0x226b4f[_0x14cd4f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x14cd4f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f5dc6=>{let _0x5abc2b=0x0;_0xb38fe5[_0x14cd4f([0x6d,0x6f,0x64,0x65,0x6c])][_0x14cd4f([0x6f,0x6e])](_0x14cd4f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2d055f,_0x4681bf)=>{_0x4681bf[0x0][_0x14cd4f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5abc2b++,0x5e8==_0x5abc2b&&(_0x2f5dc6(),_0x2d055f[_0x14cd4f([0x6f,0x66,0x66])]());});})),_0x125df6=[_0x56f3c1,_0xb86bf6];return window[_0x14cd4f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x14cd4f([0x72,0x61,0x63,0x65])](_0x125df6)[_0x14cd4f([0x74,0x68,0x65,0x6e])](()=>_0xfdcadc);}(_0x14cd4f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x858db0&&_0x4996c2)return new window[(_0x14cd4f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x21b63f,_0xd8e42f)=>{_0x858db0[_0x14cd4f([0x74,0x68,0x65,0x6e])](_0x21b63f,_0xd8e42f),_0x4996c2[_0x14cd4f([0x74,0x68,0x65,0x6e])](_0x60536d=>{_0x60536d!=_0x14cd4f([0x56,0x61,0x6c,0x69,0x64])&&_0x21b63f(_0x60536d);},_0xd8e42f);});return _0x858db0||_0x4996c2||_0x14cd4f([0x56,0x61,0x6c,0x69,0x64]);}())):_0x14cd4f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x14cd4f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x14cd4f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x14cd4f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x2bf484(_0x3c05fb){return _0x3c05fb[_0x14cd4f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x14cd4f([0x65,0x79]))?JSON[_0x14cd4f([0x70,0x61,0x72,0x73,0x65])](_0xec0393(_0x3c05fb)):null;}function _0xec0393(_0x4ae2bb){return window[_0x14cd4f([0x61,0x74,0x6f,0x62])](_0x4ae2bb[_0x14cd4f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x14cd4f([0x2b]))[_0x14cd4f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x14cd4f([0x2f])));}function _0x47a728(_0x503791){let _0x171fdb=0x1505;function _0x26ab41(_0x2c466b){for(let _0x45de9f=0x0;_0x45de9f<_0x2c466b[_0x14cd4f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x45de9f++){const _0x580c5e=_0x2c466b[_0x14cd4f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x45de9f);_0x171fdb=(_0x171fdb<<0x5)+_0x171fdb+_0x580c5e,_0x171fdb&=_0x171fdb;}}return function _0x3568b9(_0x52c784){Array[_0x14cd4f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x52c784)?_0x52c784[_0x14cd4f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3568b9):_0x52c784&&typeof _0x52c784==_0x14cd4f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x14cd4f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x52c784)[_0x14cd4f([0x73,0x6f,0x72,0x74])]()[_0x14cd4f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4204b2,_0x4bf7fa])=>{_0x26ab41(_0x4204b2),_0x3568b9(_0x4bf7fa);}):_0x26ab41(window[_0x14cd4f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x52c784));}(_0x503791),_0x171fdb>>>0x0;}function _0x3ed07c(_0x234482){return _0x234482[_0x14cd4f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x14cd4f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x14cd4f([0x30]));}function _0x5dde70(_0x46b5ca){return _0x46b5ca[_0x14cd4f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x14cd4f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x14cd4f([0x6a,0x6f,0x69,0x6e])]('');}function _0x440420(){}function _0x14cd4f(_0x3a06c5){return _0x3a06c5['map'](_0xcdb1dd=>String['fromCharCode'](_0xcdb1dd))['join']('');}!function(_0x577ac4){const _0x2612dc=(function(){const _0x5e929d=window[_0x14cd4f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x14cd4f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x14cd4f([0x6e,0x6f,0x77])]())[_0x14cd4f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x14cd4f([0x2e]),'');let _0x6ea293=_0x14cd4f([0x67]);for(let _0x2a8562=0x0;_0x2a8562<_0x5e929d[_0x14cd4f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2a8562+=0x2){let _0x30a7e2=window[_0x14cd4f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e929d[_0x14cd4f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2a8562,_0x2a8562+0x2));_0x30a7e2>=_0x1432eb[_0x14cd4f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x30a7e2-=_0x1432eb[_0x14cd4f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x6ea293+=_0x1432eb[_0x30a7e2];}return _0x6ea293;}());_0xb38fe5[_0x2612dc]=_0x14cd4f([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x577ac4,_0x577ac4!=_0x14cd4f([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x226b4f,_0xb38fe5[_0x14cd4f([0x6d,0x6f,0x64,0x65,0x6c])][_0x14cd4f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x440420,_0xb38fe5[_0x14cd4f([0x6d,0x6f,0x64,0x65,0x6c])][_0x14cd4f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x440420,_0xb38fe5[_0x14cd4f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x14cd4f([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0xcccde7);}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 _0x3a23d9 extends ckeditor5['Command']{['_enabledCommands'];constructor(_0x1a09c3,_0x308089){super(_0x1a09c3),this['_enabledCommands']=_0x308089,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 _0x2bd360 of this['editor']['commands']['commands']())_0x2bd360['affectsData']&&!this['_enabledCommands']['has'](_0x2bd360)&&_0x2bd360['forceDisabled']('TrackChangesCommand');}['_enableCommands'](){for(const _0x50d3a3 of this['editor']['commands']['commands']())_0x50d3a3['affectsData']&&!this['_enabledCommands']['has'](_0x50d3a3)&&_0x50d3a3['clearForceDisabled']('TrackChangesCommand');}}class AcceptSuggestionCommand extends ckeditor5['Command']{['_suggestions'];constructor(_0x1492fa,_0x2a23eb){super(_0x1492fa),this['_suggestions']=_0x2a23eb,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x433819){const _0x472e3e=this['_suggestions']['get'](_0x433819);if(!_0x472e3e)throw new ckeditor5['CKEditorError']('track-changes-accept-suggestion-not-found',this);const _0x319498=_0x472e3e['getRanges']();this['editor']['model']['canEditAt'](_0x319498)&&this['editor']['plugins']['get']('TrackChangesEditing')['acceptSuggestion'](_0x472e3e);}}class DiscardSuggestionCommand extends ckeditor5['Command']{['_suggestions'];constructor(_0x53ddf5,_0x4e9480){super(_0x53ddf5),this['_suggestions']=_0x4e9480,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x1303f5){const _0x1810f3=this['_suggestions']['get'](_0x1303f5);if(!_0x1810f3)throw new ckeditor5['CKEditorError']('track-changes-discard-suggestion-not-found',this);const _0x3cf437=_0x1810f3['getRanges']();this['editor']['model']['canEditAt'](_0x3cf437)&&this['editor']['plugins']['get']('TrackChangesEditing')['discardSuggestion'](_0x1810f3);}}function renderDescription(_0x424a74,_0x5e11b9){let _0x1b1feb='';return _0x1b1feb+=_0x424a74['split']('*')['map']((_0x6be74b,_0x1acd54)=>_0x1acd54%0x2!=0x0?'<span\x20class=\x22ck-suggestion-type\x22>'+sanitize(_0x6be74b)+'</span>':sanitize(_0x6be74b))['join'](''),_0x5e11b9&&(_0x1b1feb+='<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20'+_0x5e11b9['value']+'\x22\x20title=\x22'+_0x5e11b9['title']+'\x22></span>'),_0x1b1feb;}function sanitize(_0x3101b8){const _0x843e06=document['createElement']('span');return _0x843e06['innerText']=_0x3101b8,_0x843e06['innerHTML'];}function sortSuggestions(_0x561906){return _0x561906['sort']((_0x459a92,_0x51e17f)=>'attribute'===_0x459a92['type']&&'attribute'!==_0x51e17f['type']?-0x1:'attribute'!==_0x459a92['type']&&'attribute'===_0x51e17f['type']?0x1:'deletion'==_0x459a92['type']&&'deletion'!=_0x51e17f['type']?-0x1:'deletion'!=_0x459a92['type']&&'deletion'==_0x51e17f['type']?0x1:0x0);}function getSelectedSuggestions(_0x3a5a21,_0x312bc9){const _0x1eb0eb=Array['from'](_0x3a5a21['getRanges']()),_0x21ed76=new Set();for(const _0x37f4a6 of _0x312bc9)if(_0x37f4a6['isInContent']){for(const _0x4372db of _0x1eb0eb)for(const _0x230998 of _0x37f4a6['getRanges']())(_0x4372db['isIntersecting'](_0x230998)||_0x3a5a21['isCollapsed']&&!_0x37f4a6['isMultiRange']&&_0x37f4a6['next']&&_0x230998['end']['isTouching'](_0x4372db['start']))&&_0x21ed76['add'](_0x37f4a6);}return _0x21ed76;}function getRangesOfBlockGroups(_0x2fba98,_0x12b4b6){let _0x4834b2,_0x184204=0x0;const _0x4a8bba=[],_0x8f4caa=_0x12b4b6['schema'];for(;_0x184204<_0x2fba98['length'];){const _0x5934ac=_0x2fba98[_0x184204],_0x8838a3=_0x2fba98[_0x184204+0x1];_0x4834b2||(_0x4834b2=_0x12b4b6['createPositionBefore'](_0x5934ac)),_0x3282c7(_0x12b4b6,_0x5934ac,_0x8838a3)||(_0x4a8bba['push'](_0x12b4b6['createRange'](_0x4834b2,_0x8f4caa['isObject'](_0x5934ac)?_0x12b4b6['createPositionAfter'](_0x5934ac):_0x12b4b6['createPositionAt'](_0x5934ac,'end'))),_0x4834b2=null),_0x184204++;}return _0x4a8bba;}function _0x3282c7(_0x22b0d3,_0x56d3dd,_0x48e13d){if(!_0x48e13d)return!0x1;const _0x12ff47=_0x22b0d3['createPositionAfter'](_0x56d3dd),_0x19e550=_0x22b0d3['createPositionBefore'](_0x48e13d);return _0x12ff47['isTouching'](_0x19e550);}const _0x4f90fd=0x64;function executeCommandForSuggestions(_0x234524,_0x18314b,_0x36ea1a){for(;_0x36ea1a['length'];){const _0x46de53=_0x36ea1a['splice'](0x0,_0x4f90fd);_0x234524['change'](()=>{for(const _0x3acfa1 of _0x46de53)_0x3acfa1['isInContent']&&_0x18314b['execute'](_0x3acfa1['id']);});}}class ExecuteOnAllSuggestionsCommand extends ckeditor5['Command']{['_command'];['_suggestions'];constructor(_0xfe6528,_0x34116a,_0x1bef47){super(_0xfe6528),this['_command']=_0x34116a,this['_suggestions']=_0x1bef47,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x5c3acf=Array['from'](this['_suggestions']['values']())['some'](_0x160dbc=>_0x160dbc['isInContent']);this['isEnabled']=this['_command']['isEnabled']&&_0x5c3acf;}['execute'](){const _0x4a62c5=sortSuggestions(Array['from'](this['_suggestions']['values']()));for(const _0x5dd77d of _0x4a62c5){const _0x5a25a0=_0x5dd77d['getRanges']();if(!this['editor']['model']['canEditAt'](_0x5a25a0))return;}executeCommandForSuggestions(this['editor']['model'],this['_command'],_0x4a62c5);}}class ExecuteOnSelectedSuggestionsCommand extends ckeditor5['Command']{['_command'];['_suggestions'];['_selectedSuggestions'];constructor(_0xab6813,_0x3301fb,_0x4a8fcf){super(_0xab6813),this['_command']=_0x3301fb,this['_suggestions']=_0x4a8fcf,this['_selectedSuggestions']=new Set(),this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x266bfb=this['editor']['model']['document']['selection'],_0x42a6d2=Array['from'](this['_suggestions']['values']());this['_selectedSuggestions']=getSelectedSuggestions(_0x266bfb,_0x42a6d2),this['isEnabled']=this['_command']['isEnabled']&&!!this['_selectedSuggestions']['size'];}['execute'](){const _0x1a2b14=sortSuggestions(Array['from'](this['_selectedSuggestions']));for(const _0x133a11 of _0x1a2b14){const _0x5a6660=_0x133a11['getRanges']();if(!this['editor']['model']['canEditAt'](_0x5a6660))return;}executeCommandForSuggestions(this['editor']['model'],this['_command'],_0x1a2b14);}}class Suggestion extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['id'];['type'];['subType'];['author'];['creator'];['isExternal'];['data'];['createdAt'];['_originalSuggestionId'];['_isDataLoaded']=!0x1;['_model'];['_onAccept'];['_onDiscard'];['_onAttributesChange'];['_markerNames'];constructor(_0xec6564,_0x3062bc){super(),this['id']=_0x3062bc['id'],this['type']=_0x3062bc['type'],this['subType']=_0x3062bc['subType']||null,this['author']=_0x3062bc['author'],this['creator']=_0x3062bc['creator']||_0x3062bc['author'],this['isExternal']=Boolean(_0x3062bc['attributes']&&_0x3062bc['attributes']['@external']),this['data']=null,this['_originalSuggestionId']=_0x3062bc['originalSuggestionId']||null,this['_model']=_0xec6564,this['_onAccept']=_0x3062bc['onAccept'],this['_onDiscard']=_0x3062bc['onDiscard'],this['_onAttributesChange']=_0x3062bc['onAttributesChange'],this['_markerNames']=new Set(),this['createdAt']=null,this['set']('authoredAt',null),this['set']('attributes',_0x3062bc['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 _0x5a08c2=this;for(;_0x5a08c2['previous'];)_0x5a08c2=_0x5a08c2['previous'];return _0x5a08c2;}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'](_0x19f470){this['_markerNames']['add'](_0x19f470);}['getMarkerNames'](){return Array['from'](this['_markerNames']);}['getMarkers'](){return this['getMarkerNames']()['map'](_0x50b493=>this['_model']['markers']['get'](_0x50b493))['filter'](_0x10d137=>_0x10d137);}['getFirstMarker'](){return this['getMarkers']()[0x0]||null;}['removeMarkers'](){this['_model']['change'](_0x216010=>{for(const _0x2960d0 of this['getMarkers']())_0x216010['removeMarker'](_0x2960d0);}),this['_markerNames']['clear']();}['removeMarker'](_0x217d53){this['_model']['change'](_0x64188=>{_0x64188['removeMarker'](_0x217d53);}),this['_markerNames']['delete'](_0x217d53);}['addRange'](_0x4ba09c){const _0x9962ca='suggestion:'+this['type']+':'+this['subType']+':'+this['id']+':'+this['creator']['id']+':'+Suggestion['getMultiRangeId']();this['addMarkerName'](_0x9962ca),this['_model']['change'](_0x332afc=>{_0x332afc['addMarker'](_0x9962ca,{'range':_0x4ba09c,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x18fe43){for(const _0xc153c8 of this['getRanges']())if(_0xc153c8['isIntersecting'](_0x18fe43))return!0x0;return!0x1;}['getRanges'](){return this['getMarkers']()['map'](_0x5d868f=>_0x5d868f['getRange']());}['getItems'](){return this['getRanges']()['reduce']((_0x3a54f3,_0x20ed9b)=>[..._0x3a54f3,..._0x20ed9b['getItems']()],[]);}['getFirstRange'](){return this['getFirstMarker']()?.['getRange']()||null;}['getContainedElement'](){const _0x14a7e3=this['getRanges']();if(0x1!=_0x14a7e3['length'])return null;const _0x59d0b0=_0x14a7e3[0x0],_0x5ae7ac=_0x59d0b0['start']['nodeAfter'],_0x1684c3=_0x59d0b0['end']['nodeBefore'];return _0x5ae7ac instanceof ckeditor5['ModelElement']?_0x5ae7ac!=_0x1684c3?null:_0x5ae7ac: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 _0x424303=[];let _0x1fcb8e=this['head'];for(;_0x1fcb8e;)_0x424303['push'](_0x1fcb8e),_0x1fcb8e=_0x1fcb8e['next'];return _0x424303;}['setAttribute'](_0x584622,_0x2b560f){const _0x439f3d=_0x2222d2(this['attributes']);set(_0x439f3d,_0x584622,_0x2b560f),_0x4cbe47(_0x439f3d,this['attributes'])||(this['attributes']=_0x439f3d,this['_onAttributesChange'](_0x439f3d));}['removeAttribute'](_0x196711){const _0x5d68a2=_0x2222d2(this['attributes']);unset(_0x5d68a2,_0x196711),_0x4cbe47(_0x5d68a2,this['attributes'])||(this['attributes']=_0x5d68a2,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(_0x559a5f,_0x145eda,_0x3c202a){const _0x463988=_0x559a5f['t'],t=_0x559a5f['t'];switch(_0x145eda){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',_0x3c202a);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x3c202a);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x3c202a);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x3c202a);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x3c202a);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',_0x3c202a);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x3c202a);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',_0x3c202a);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x3c202a);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x3c202a);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x3c202a);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x3c202a);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x3c202a);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x3c202a);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x3c202a);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x3c202a);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x3c202a);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x3c202a);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x3c202a);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x3c202a);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x3c202a);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x3c202a);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x3c202a);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x3c202a);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x3c202a);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'},_0x3c202a);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x3c202a);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x3c202a);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x3c202a);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x3c202a);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x3c202a);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x3c202a);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x3c202a);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'},_0x3c202a);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x3c202a);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x3c202a);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x3c202a);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x3c202a);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'},_0x3c202a);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x3c202a);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'},_0x3c202a);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'},_0x3c202a);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x3c202a);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'},_0x3c202a);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x3c202a);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'},_0x3c202a);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x3c202a);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x3c202a);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x3c202a);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x3c202a);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x3c202a);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'},_0x3c202a);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x3c202a);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 _0x463988({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x3c202a);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x463988({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x3c202a);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x3c202a);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'},_0x3c202a);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'},_0x3c202a);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'},_0x3c202a);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x145eda;}}class SuggestionDescriptionFactory{['_customCallbacks'];['_itemLabels'];['_itemLabelsCallbacks'];['_attributeLabels'];['_schema'];['_locale'];constructor(_0x1e3b0a,_0x54d501){this['_customCallbacks']=[],this['_itemLabels']=new Map(),this['_itemLabelsCallbacks']=[],this['_attributeLabels']=new Map(),this['_schema']=_0x1e3b0a,this['_locale']=_0x54d501;}['getDescriptions'](_0x5bd32c){const _0x24e95e=[],_0x1941a4=new Set(),_0x27ba7b=new Set();for(let _0x7110e4=0x0;_0x7110e4<_0x5bd32c['length'];_0x7110e4++){const _0x3ce9df=_0x5bd32c[_0x7110e4];if(!_0x3ce9df['isInContent'])continue;const _0x4ce37d=this['_handleCustomCallbackDescription'](_0x3ce9df);if(_0x4ce37d){if(null!=_0x3ce9df['subType']){if(_0x1941a4['has'](_0x3ce9df['subType']))continue;_0x1941a4['add'](_0x3ce9df['subType']);}_0x24e95e['push'](_0x4ce37d);}else{if('attribute'==_0x3ce9df['type']){const _0x57fe31=_0x3ce9df['data']['key'];if(_0x27ba7b['has'](_0x57fe31))continue;_0x27ba7b['add'](_0x3ce9df['data']['key']),_0x57fe31==renameAttributeKey?this['_handleRenameSuggestionDescription'](_0x24e95e,_0x3ce9df):this['_handleAttributeSuggestionDescription'](_0x24e95e,_0x3ce9df);continue;}'insertion'!=_0x3ce9df['type']&&'deletion'!=_0x3ce9df['type']||this['_handleInsertRemoveSuggestionDescription'](_0x24e95e,_0x3ce9df,_0x5bd32c[_0x7110e4+0x1]);}}return this['_resolveDescriptionItems'](_0x24e95e);}['registerDescriptionCallback'](_0x5a2110){this['_customCallbacks']['push'](_0x5a2110);}['registerElementLabel'](_0x4168bc,_0x2b659b,_0x21ed73=ckeditor5['priorities']['normal']){'function'==typeof _0x4168bc?ckeditor5['insertToPriorityArray'](this['_itemLabelsCallbacks'],{'matchingCallback':_0x4168bc,'label':_0x2b659b,'priority':_0x21ed73}):this['_itemLabels']['set'](_0x4168bc,_0x2b659b);}['registerAttributeLabel'](_0x1415ba,_0x12b33e){this['_attributeLabels']['set'](_0x1415ba,_0x12b33e);}['getItemLabel'](_0x1faf7c,_0x4af51e=0x1){let _0x59f333;for(const _0x9aa619 of this['_itemLabelsCallbacks'])if(_0x9aa619['matchingCallback'](_0x1faf7c)){_0x59f333=_0x9aa619['label'];break;}return _0x59f333||(_0x59f333=this['_itemLabels']['get'](_0x1faf7c['name'])),_0x59f333?_0x59f333(_0x4af51e):0x1!==_0x4af51e?_0x4af51e+'\x20'+_0x1faf7c['name']+'s':''+_0x1faf7c['name'];}['_addDescriptionItems'](_0x507133,_0x332128){const _0x285253=_0x332128['getFirstRange']()['getWalker'](),_0x465b43='insertion'==_0x332128['type']?'add':'remove';for(const _0x1132c4 of _0x285253){const _0x4b90a1=_0x1132c4['item'],_0xc3d978=_0x507133[_0x507133['length']-0x1];if(_0x4b90a1['is']('$textProxy'))_0xc3d978&&_0xc3d978['type']['indexOf']('Container')>-0x1&&_0x507133['pop'](),_0xc3d978&&'text'==_0xc3d978['type']?_0xc3d978[_0x465b43]+=_0x4b90a1['data']:_0x507133['push']({'type':'text','add':'add'==_0x465b43?_0x4b90a1['data']:'','remove':'remove'==_0x465b43?_0x4b90a1['data']:''});else{if(this['_schema']['isObject'](_0x4b90a1)){const _0x3a0de0=_0x4b90a1;if(_0xc3d978&&_0xc3d978['type']['indexOf']('Container')>-0x1&&_0x507133['pop'](),'elementEnd'==_0x1132c4['type'])continue;_0xc3d978&&_0xc3d978['type']==_0x465b43+'Object'&&_0xc3d978['element']['name']==_0x3a0de0['name']?_0xc3d978['quantity']++:_0x507133['push']({'type':_0x465b43+'Object','element':_0x3a0de0,'quantity':0x1}),_0x285253['skip'](_0x261985=>!('elementEnd'==_0x261985['type']&&_0x261985['item']==_0x4b90a1));}else{if(this['_schema']['checkChild'](_0x4b90a1,'$text')||_0x4b90a1['is']('element','softBreak')){const _0x31574f=_0x4b90a1;if('add'==_0x465b43&&'elementStart'==_0x1132c4['type']||'remove'==_0x465b43&&'elementEnd'==_0x1132c4['type'])continue;if(_0xc3d978&&-0x1==_0xc3d978['type']['indexOf']('Container')){'text'==_0xc3d978['type']&&(_0xc3d978[_0x465b43]+='\x0a');continue;}let _0x4088fd;if(_0x4088fd='add'==_0x465b43?_0x31574f['nextSibling']&&!this['_schema']['isObject'](_0x31574f['nextSibling'])?_0x31574f['nextSibling']:null:_0x31574f['previousSibling']&&!this['_schema']['isObject'](_0x31574f['previousSibling'])?_0x31574f['previousSibling']:null,_0x31574f['isEmpty']||_0x4088fd&&_0x4088fd['isEmpty']){const _0x4bbe12=_0x4088fd&&_0x4088fd['isEmpty']?_0x4088fd:_0x31574f;_0xc3d978&&_0xc3d978['type']==_0x465b43+'EmptyContainer'&&_0xc3d978['element']['name']==_0x4bbe12['name']?_0xc3d978['quantity']++:_0x507133['push']({'type':_0x465b43+'EmptyContainer','element':_0x4bbe12,'quantity':0x1});}else _0x507133['push']({'type':_0x465b43+'Container','element':_0x31574f});}}}}}['_resolveDescriptionItems'](_0x19ef36){const _0x554f69=this['_locale'],_0x505742=[],_0x2d30c9=[],_0x270254=[];for(const _0x2c62f7 of _0x19ef36)switch(_0x2c62f7['type']){case'text':if(_0x2c62f7['add']=_0x2c62f7['add']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),_0x2c62f7['remove']=_0x2c62f7['remove']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),''!=_0x2c62f7['add']&&''!=_0x2c62f7['remove']){_0x505742['push']({'type':'replace','content':getTranslation$1(_0x554f69,'REPLACE_TEXT',['\x22'+_0x2c62f7['remove']+'\x22','\x22'+_0x2c62f7['add']+'\x22'])});continue;}if(null!=_0x2c62f7['add']['match'](/^ +$/)){_0x505742['push']({'type':'insertion','content':getTranslation$1(_0x554f69,'*Insert:*\x20%0',getTranslation$1(_0x554f69,'ELEMENT_SPACE',_0x2c62f7['add']['length']))});continue;}if(null!=_0x2c62f7['remove']['match'](/^ +$/)){_0x505742['push']({'type':'deletion','content':getTranslation$1(_0x554f69,'*Remove:*\x20%0',getTranslation$1(_0x554f69,'ELEMENT_SPACE',_0x2c62f7['remove']['length']))});continue;}if(''!=_0x2c62f7['add']){_0x505742['push']({'type':'insertion','content':getTranslation$1(_0x554f69,'*Insert:*\x20%0','\x22'+_0x2c62f7['add']+'\x22')});continue;}_0x505742['push']({'type':'deletion','content':getTranslation$1(_0x554f69,'*Remove:*\x20%0','\x22'+_0x2c62f7['remove']+'\x22')});continue;case'addEmptyContainer':case'addObject':_0x505742['push']({'type':'insertion','content':getTranslation$1(_0x554f69,'*Insert:*\x20%0',this['getItemLabel'](_0x2c62f7['element'],_0x2c62f7['quantity']))});continue;case'removeEmptyContainer':case'removeObject':_0x505742['push']({'type':'deletion','content':getTranslation$1(_0x554f69,'*Remove:*\x20%0',this['getItemLabel'](_0x2c62f7['element'],_0x2c62f7['quantity']))});continue;case'addContainer':_0x505742['push']({'type':'insertion','content':getTranslation$1(_0x554f69,'*Split:*\x20%0',this['getItemLabel'](_0x2c62f7['element'],_0x2c62f7['quantity']))});continue;case'removeContainer':_0x505742['push']({'type':'deletion','content':getTranslation$1(_0x554f69,'*Merge:*\x20%0',this['getItemLabel'](_0x2c62f7['element'],_0x2c62f7['quantity']))});continue;case'addFormat':_0x2d30c9['push'](_0x2c62f7['key']);continue;case'removeFormat':_0x270254['push'](_0x2c62f7['key']);continue;default:_0x505742['push'](_0x2c62f7);}if(_0x2d30c9['length']){const _0x12f15b=_0x2d30c9['map'](_0x171f5a=>this['_attributeLabels']['has'](_0x171f5a)?this['_attributeLabels']['get'](_0x171f5a):_0x171f5a)['join'](',\x20');_0x505742['push']({'type':'format','content':getTranslation$1(this['_locale'],'*Set\x20format:*\x20%0',_0x12f15b)});}if(_0x270254['length']){const _0x1133b3=_0x270254['map'](_0x543a48=>this['_attributeLabels']['has'](_0x543a48)?this['_attributeLabels']['get'](_0x543a48):_0x543a48)['join'](',\x20');_0x505742['push']({'type':'format','content':getTranslation$1(this['_locale'],'*Remove\x20format:*\x20%0',_0x1133b3)});}return _0x505742;}['_handleCustomCallbackDescription'](_0x3bd02d){for(const _0x339392 of this['_customCallbacks']){const _0x347e1f=_0x339392(_0x3bd02d);if(_0x347e1f&&'type'in _0x347e1f)return _0x347e1f;}}['_handleAttributeSuggestionDescription'](_0x15e1cd,_0x2662ed){const _0x4c0449=_0x2662ed['data'],_0x306df2=void 0x0===_0x4c0449['newValue']?'removeFormat':'addFormat';_0x15e1cd['push']({'type':_0x306df2,'key':_0x4c0449['key']});}['_handleRenameSuggestionDescription'](_0x1d745b,_0x52fc20){_0x1d745b['push']({'type':'format','content':getTranslation$1(this['_locale'],'*Change\x20to:*\x20%0',this['getItemLabel'](_0x52fc20['getFirstRange']()['start']['nodeAfter'],0x1))});}['_handleInsertRemoveSuggestionDescription'](_0x49cd54,_0x35e841,_0x434ddb){if(this['_addDescriptionItems'](_0x49cd54,_0x35e841),_0x434ddb&&_0x434ddb['getFirstRange']()&&!_0x35e841['getFirstRange']()['end']['isEqual'](_0x434ddb['getFirstRange']()['start'])){const _0x10692b=_0x49cd54[_0x49cd54['length']-0x1],_0xa3399a='insertion'==_0x35e841['type']?'add':'remove';_0x10692b&&'text'==_0x10692b['type']&&(_0x10692b[_0xa3399a]+='\x0a');}}}class TrackChangesAIAssistant extends ckeditor5['Plugin']{['afterInit'](){const _0xd86ec9=this['editor'],_0x2aa27e=_0xd86ec9['plugins']['get']('TrackChangesEditing');_0xd86ec9['commands']['get']('showAIAssistant')&&_0x2aa27e['enableCommand']('showAIAssistant');}}class _0x47e6c3 extends ckeditor5['Plugin']{['afterInit'](){const _0x24da30=this['editor'],_0x3c6342=_0x24da30['plugins']['get']('TrackChangesEditing');_0x24da30['commands']['get']('toggleAi')&&_0x3c6342['enableCommand']('toggleAi');}}class TrackChangesAIQuickActions extends ckeditor5['Plugin']{['afterInit'](){const _0x241cb1=this['editor'],_0x294f6e=_0x241cb1['plugins']['get']('TrackChangesEditing');_0x241cb1['commands']['get']('aiQuickAction')&&_0x294f6e['enableCommand']('aiQuickAction');}}class TrackChangesAlignment extends ckeditor5['Plugin']{['afterInit'](){const _0x50ed51=this['editor'],_0x292259=_0x50ed51['locale'];if(!_0x50ed51['plugins']['has']('AlignmentEditing'))return;const _0x4b82e5=_0x50ed51['plugins']['get']('TrackChangesEditing');_0x4b82e5['enableDefaultAttributesIntegration']('alignment'),_0x4b82e5['descriptionFactory']['registerAttributeLabel']('alignment',getTranslation$1(_0x292259,'FORMAT_ALIGNMENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0xd23611=this['editor'],_0x51efc8=_0xd23611['locale'];_0xd23611['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x4f9d68=>{if('formatBlock'!=_0x4f9d68['type'])return;const {data:_0x4834e4}=_0x4f9d68;if(_0x4834e4&&'alignment'==_0x4834e4['commandName']){const _0x5a5516=_0x4834e4['commandParams'][0x0]['value'];return{'type':'format','content':getTranslation$1(_0x51efc8,'*Format:*\x20%0',function(_0x312f07){switch(_0x312f07){case'left':return getTranslation$1(_0x51efc8,'FORMAT_ALIGN_TO_LEFT');case'right':return getTranslation$1(_0x51efc8,'FORMAT_ALIGN_TO_RIGHT');case'center':return getTranslation$1(_0x51efc8,'FORMAT_ALIGN_TO_CENTER');case'justify':return getTranslation$1(_0x51efc8,'FORMAT_JUSTIFY_TEXT');}}(_0x5a5516))};}});}}const basicStylesPlugins=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class TrackChangesBasicStyles extends ckeditor5['Plugin']{['afterInit'](){const _0x58e79c=this['editor'],_0x4732eb=_0x58e79c['plugins']['get']('TrackChangesEditing'),_0x32ef87=_0x58e79c['locale'];for(const _0x4638e2 of basicStylesPlugins){if(!_0x58e79c['plugins']['has'](_0x4638e2))continue;const _0x40d49d=_0x4638e2['slice'](0x0,-0x7)['toLowerCase'](),_0x21d739='FORMAT_'+_0x40d49d['toUpperCase']();_0x4732eb['enableDefaultAttributesIntegration'](_0x40d49d),_0x4732eb['descriptionFactory']['registerAttributeLabel'](_0x40d49d,getTranslation$1(_0x32ef87,_0x21d739));}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x2c5153=this['editor'],_0x5d1cf2=_0x2c5153['locale'],_0x4ce079=_0x2c5153['plugins']['get']('TrackChangesEditing');function _0x3e5dce(_0x359e3a,_0x5b823e){_0x4ce079['descriptionFactory']['registerDescriptionCallback'](_0x4209d9=>{if('formatInline'!=_0x4209d9['type'])return;const {data:_0x59bb84}=_0x4209d9;return _0x59bb84&&_0x59bb84['commandName']===_0x359e3a?_0x59bb84['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x5d1cf2,'*Format:*\x20%0',_0x5b823e)}:{'type':'format','content':getTranslation$1(_0x5d1cf2,'*Remove\x20format:*\x20%0',_0x5b823e)}:void 0x0;});}_0x3e5dce('bold',getTranslation$1(_0x5d1cf2,'FORMAT_BOLD')),_0x3e5dce('italic',getTranslation$1(_0x5d1cf2,'FORMAT_ITALIC')),_0x3e5dce('underline',getTranslation$1(_0x5d1cf2,'FORMAT_UNDERLINE')),_0x3e5dce('code',getTranslation$1(_0x5d1cf2,'FORMAT_CODE')),_0x3e5dce('strikethrough',getTranslation$1(_0x5d1cf2,'FORMAT_STRIKETHROUGH')),_0x3e5dce('subscript',getTranslation$1(_0x5d1cf2,'FORMAT_SUBSCRIPT')),_0x3e5dce('superscript',getTranslation$1(_0x5d1cf2,'FORMAT_SUPERSCRIPT'));}}class TrackChangesBlockQuote extends ckeditor5['Plugin']{['afterInit'](){const _0x5e0424=this['editor'],_0x464f37=_0x5e0424['locale'];if(!_0x5e0424['plugins']['has']('BlockQuoteEditing'))return;const _0x4c3da6=_0x5e0424['plugins']['get']('TrackChangesEditing'),_0x31713c=this['editor']['commands']['get']('blockQuote');_0x4c3da6['enableCommand']('blockQuote',(_0x3bee5e,_0x41ead4={})=>{const _0x34a1aa=this['editor']['model']['document']['selection'],_0x13c571=_0x41ead4&&void 0x0!==_0x41ead4['forceValue']?_0x41ead4['forceValue']:!_0x31713c['value'];let _0x5133ff=[];if(_0x13c571){const _0x5493e8=Array['from'](_0x34a1aa['getSelectedBlocks']())['filter'](_0x110699=>isInQuote(_0x110699)||checkCanBeQuoted(_0x110699,this['editor']['model']['schema']));_0x5133ff=getRangesOfBlockGroups(_0x5493e8,_0x5e0424['model']);}else{const _0x5251dd=Array['from'](_0x34a1aa['getSelectedBlocks']())['filter'](_0x4ea0b2=>isInQuote(_0x4ea0b2));_0x5133ff=getRangesOfBlockGroups(_0x5251dd,_0x5e0424['model']);}_0x5e0424['model']['change'](()=>{for(const _0x2026e6 of _0x5133ff)_0x4c3da6['markBlockFormat'](_0x2026e6,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x13c571}]});});}),_0x4c3da6['descriptionFactory']['registerDescriptionCallback'](_0x6d0822=>{const {data:_0x55738f}=_0x6d0822;if(_0x55738f&&'blockQuote'==_0x55738f['commandName']){const _0x24d939=getTranslation$1(_0x464f37,'ELEMENT_BLOCK_QUOTE');return _0x55738f['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x464f37,'*Set\x20format:*\x20%0',_0x24d939)}:{'type':'format','content':getTranslation$1(_0x464f37,'*Remove\x20format:*\x20%0',_0x24d939)};}});}}function checkCanBeQuoted(_0x102391,_0x4787b5){const _0x49a793=_0x4787b5['checkChild'](_0x102391['parent'],'blockQuote'),_0x2e6a68=_0x4787b5['checkChild'](['$root','blockQuote'],_0x102391);return _0x49a793&&_0x2e6a68;}function isInQuote(_0x27b3bd){return'blockQuote'==_0x27b3bd['parent']['name'];}class _0x3b3364 extends ckeditor5['Plugin']{['afterInit'](){const _0x38eead=this['editor'],_0x753974=_0x38eead['locale'],_0x2d6514=_0x38eead['plugins']['get']('TrackChangesEditing');_0x38eead['plugins']['has']('BookmarkEditing')&&(_0x2d6514['enableCommand']('insertBookmark'),_0x2d6514['enableDefaultAttributesIntegration']('updateBookmark'),_0x2d6514['descriptionFactory']['registerDescriptionCallback'](_0x358edd=>{if('insertion'!=_0x358edd['type']&&'deletion'!=_0x358edd['type']&&'attribute'!=_0x358edd['type'])return;const _0x575bc5=_0x358edd['getContainedElement']();if(null==_0x575bc5)return;if(!_0x575bc5['is']('element','bookmark'))return;const _0x2832b5=_0x575bc5['getAttribute']('bookmarkId');if('insertion'==_0x358edd['type'])return{'type':'insertion','content':getTranslation$1(_0x753974,'*Insert:*\x20%0','\x22'+_0x2832b5+'\x22\x20'+getTranslation$1(_0x753974,'ELEMENT_BOOKMARK'))};if('deletion'==_0x358edd['type'])return{'type':'deletion','content':getTranslation$1(_0x753974,'*Remove:*\x20%0','\x22'+_0x2832b5+'\x22\x20'+getTranslation$1(_0x753974,'ELEMENT_BOOKMARK'))};const {data:_0x30af8a}=_0x358edd;if(!_0x30af8a||'bookmarkId'!=_0x30af8a['key'])return;return{'type':'format','content':getTranslation$1(_0x753974,'*Set\x20bookmark:*\x20%0','\x22'+_0x30af8a['newValue']+'\x22')};}));}}class _0x546e5f extends ckeditor5['Plugin']{['afterInit'](){const _0x2859d8=this['editor'];_0x2859d8['plugins']['has']('CaseChange')&&(_0x2859d8['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseUpper'),_0x2859d8['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseLower'),_0x2859d8['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseTitle'));}}class _0xe041d8 extends ckeditor5['Plugin']{['afterInit'](){const _0x4c9427=this['editor'];_0x4c9427['commands']['get']('ckbox')&&_0x4c9427['plugins']['get']('TrackChangesEditing')['enableCommand']('ckbox');}}class _0x5d3b94 extends ckeditor5['Plugin']{['afterInit'](){const _0x1ab0cd=this['editor'];if(!_0x1ab0cd['plugins']['has']('CodeBlock'))return;const _0x2b7131=_0x1ab0cd['plugins']['get']('TrackChangesEditing'),_0x227cb1=_0x1ab0cd['locale'],_0x16fd30=_0x1ab0cd['config']['get']('codeBlock')['languages'],_0x36600d=_0x1ab0cd['commands']['get']('codeBlock');_0x2b7131['enableCommand']('indentCodeBlock'),_0x2b7131['enableCommand']('outdentCodeBlock'),_0x2b7131['enableCommand']('codeBlock',(_0x1474a4,_0x3e2cb1={})=>{const _0x58e106=_0x1ab0cd['model'],_0x141b4b=_0x1ab0cd['model']['document']['selection'],_0x59524c=_0x3e2cb1&&void 0x0!==_0x3e2cb1['forceValue']?_0x3e2cb1['forceValue']:!_0x36600d['value'];let _0x2313f4;_0x3e2cb1['language']||(_0x3e2cb1['language']=_0x16fd30[0x0]['language']),_0x2313f4=_0x59524c?Array['from'](_0x141b4b['getSelectedBlocks']())['filter'](_0x37b78f=>_0x3f08e8(_0x37b78f)||_0x83e70f(_0x37b78f,_0x58e106['schema'])):Array['from'](_0x141b4b['getSelectedBlocks']())['filter'](_0x362964=>_0x3f08e8(_0x362964));const _0x176214=getRangesOfBlockGroups(_0x2313f4,_0x58e106);_0x58e106['change'](()=>{for(const _0x569892 of _0x176214)_0x2b7131['markBlockFormat'](_0x569892,{'commandName':'codeBlock','commandParams':[{..._0x3e2cb1,'forceValue':_0x59524c}],'formatGroupId':'blockName'});});}),(_0x2b7131['descriptionFactory']['registerElementLabel']('codeBlock',_0x2765f4=>getTranslation$1(_0x227cb1,'ELEMENT_CODE_BLOCK',_0x2765f4)),_0x2b7131['descriptionFactory']['registerDescriptionCallback'](_0x589b7b=>{if('formatBlock'!=_0x589b7b['type'])return;const _0x4784fb=_0x227cb1['t'],{data:_0x3698d3}=_0x589b7b;if(!_0x3698d3||'codeBlock'!=_0x3698d3['commandName'])return;const _0x257556=_0x3698d3['commandParams'][0x0]['language'],_0x39f86f=_0x16fd30['find'](_0x523e0b=>_0x523e0b['language']===_0x257556)['label'],_0x21b7ff=_0x4784fb(_0x39f86f)['toLowerCase']();return _0x3698d3['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x227cb1,'*Set\x20format:*\x20%0',getTranslation$1(_0x227cb1,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x21b7ff+')')}:{'type':'format','content':getTranslation$1(_0x227cb1,'*Remove\x20format:*\x20%0',getTranslation$1(_0x227cb1,'ELEMENT_CODE_BLOCK',0x1))};}));}}function _0x83e70f(_0xb83d0c,_0x1b6dc8){return!_0xb83d0c['is']('rootElement')&&!_0x1b6dc8['isLimit'](_0xb83d0c)&&_0x1b6dc8['checkChild'](_0xb83d0c['parent'],'codeBlock');}function _0x3f08e8(_0x21f405){return'codeBlock'==_0x21f405['name'];}class TrackChangesComments extends ckeditor5['Plugin']{['afterInit'](){const _0x1d5df1=this['editor'];if(!_0x1d5df1['plugins']['has']('CommentsEditing'))return;_0x1d5df1['plugins']['get']('TrackChangesEditing')['enableCommand']('addCommentThread');}}class TrackChangesDeleteCommand extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['Delete']];}['init'](){const _0x1743d3=this['editor'],_0x317766=_0x1743d3['plugins']['get']('TrackChangesEditing');_0x317766['enableCommand']('delete');const _0x39ede8=_0x1743d3['commands']['get']('deleteForward');_0x317766['enableCommand']('deleteForward',(_0x4eba27,_0x3e1ba4={})=>{const _0x36c04d=_0x1743d3['model']['createSelection'](_0x1743d3['model']['document']['selection']);_0x36c04d['isCollapsed']&&_0x1743d3['model']['modifySelection'](_0x36c04d,{'direction':'forward','unit':_0x3e1ba4['unit']});const _0x52e6aa=_0x36c04d['getFirstRange'](),_0x9086d2=ckeditor5['ModelLiveRange']['fromRange'](_0x52e6aa);let _0x26e83f;_0x4eba27(_0x3e1ba4),_0x26e83f='$graveyard'==_0x9086d2['root']['rootName']?_0x1743d3['model']['createRange'](_0x52e6aa['start']):_0x1743d3['model']['createRange'](_0x9086d2['start'],_0x9086d2['end']),_0x9086d2['detach'](),_0x1743d3['model']['enqueueChange'](_0x39ede8['buffer']['batch'],_0x558b34=>{_0x39ede8['buffer']['lock'](),_0x558b34['setSelection'](_0x558b34['createRange'](_0x26e83f['end'])),_0x39ede8['buffer']['unlock']();});});}}class TrackChangesList extends ckeditor5['Plugin']{['afterInit'](){const _0x2a3380=this['editor'];if(!_0x2a3380['plugins']['has']('ListEditing'))return;const _0x4aaf2f=_0x2a3380['locale'],_0x566790=_0x2a3380['plugins']['get']('TrackChangesEditing'),_0x1a8b51=_0x2a3380['plugins']['has']('TodoListEditing'),_0x53e951=!!_0x2a3380['config']['get']('list.multiBlock');function _0x126344(_0x5c1db4){return{'type':'format','content':''+getTranslation$1(_0x4aaf2f,'*Set\x20format:*\x20%0',_0x5c1db4)};}function _0x3c9554(_0xab0a35){return{'type':'format','content':''+getTranslation$1(_0x4aaf2f,'*Remove\x20format:*\x20%0',_0xab0a35)};}_0x566790['enableDefaultAttributesIntegration']('numberedList'),_0x566790['enableDefaultAttributesIntegration']('bulletedList'),_0x566790['enableDefaultAttributesIntegration']('customNumberedList'),_0x566790['enableDefaultAttributesIntegration']('customBulletedList'),_0x566790['enableDefaultAttributesIntegration']('indentList'),_0x566790['enableDefaultAttributesIntegration']('outdentList'),_0x566790['enableDefaultAttributesIntegration']('splitListItemAfter'),_0x566790['enableDefaultAttributesIntegration']('splitListItemBefore'),_0x53e951&&(_0x566790['enableDefaultAttributesIntegration']('mergeListItemBackward'),_0x566790['enableDefaultAttributesIntegration']('mergeListItemForward')),_0x1a8b51&&(_0x566790['enableDefaultAttributesIntegration']('todoList'),_0x566790['enableDefaultAttributesIntegration']('checkTodoList'),_0x566790['descriptionFactory']['registerDescriptionCallback'](_0x53cc66=>{const {data:_0x137f27}=_0x53cc66;if(_0x137f27&&'todoListChecked'==_0x137f27['key'])return{'type':'format','content':_0x137f27['newValue']?getTranslation$1(_0x4aaf2f,'*Check\x20item*'):getTranslation$1(_0x4aaf2f,'*Uncheck\x20item*')};}),this['editor']['model']['document']['registerPostFixer'](_0x59c4f7=>{if(_0x59c4f7['batch']['isUndo'])return!0x1;let _0xaf29c5=!0x1;const _0x486d6d=_0x566790['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x52899b=>'todoListChecked'===_0x566790['_getAttributeKey'](_0x52899b));for(const _0x6e1bd4 of _0x486d6d){'todo'!=_0x6e1bd4['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')&&(_0x566790['_findSuggestions'](_0x6e1bd4['getFirstRange'](),'attribute')['find'](_0x5435d2=>'listType'===_0x566790['_getAttributeKey'](_0x5435d2['suggestion']))||(_0x59c4f7['removeMarker'](_0x6e1bd4['getFirstMarker']()),_0xaf29c5=!0x0));}return _0xaf29c5;})),_0x566790['descriptionFactory']['registerAttributeLabel']('listIndent',getTranslation$1(_0x4aaf2f,'FORMAT_INDENT'));const _0x2ac888={'type':'format','content':''};_0x566790['descriptionFactory']['registerDescriptionCallback'](_0x504e91=>{const {data:_0x5a035b}=_0x504e91;if(!_0x5a035b||'listType'!=_0x5a035b['key'])return;let _0x4b7c64=_0x504e91['head'];for(;_0x4b7c64;){if(_0x4b7c64['data']&&(('listStyle'==_0x4b7c64['data']['key']||'listMarkerStyle'==_0x4b7c64['data']['key'])&&(_0x4b7c64['data']['newValue']&&'default'!=_0x4b7c64['data']['newValue']||'default'!=_0x4b7c64['data']['oldValue']&&!_0x5a035b['newValue'])||!_0x53e951&&_0x4b7c64['data']['key']==renameAttributeKey))return _0x2ac888;_0x4b7c64=_0x4b7c64['next'];}if(null==_0x5a035b['newValue'])switch(_0x5a035b['oldValue']){case'bulleted':return _0x3c9554(getTranslation$1(_0x4aaf2f,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x3c9554(getTranslation$1(_0x4aaf2f,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x3c9554(getTranslation$1(_0x4aaf2f,'ELEMENT_TODO_LIST'));}switch(_0x5a035b['newValue']){case'bulleted':return _0x126344(getTranslation$1(_0x4aaf2f,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x126344(getTranslation$1(_0x4aaf2f,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x126344(getTranslation$1(_0x4aaf2f,'ELEMENT_TODO_LIST'));}}),_0x566790['descriptionFactory']['registerDescriptionCallback'](_0x586e37=>{const {data:_0x35bf2a}=_0x586e37;if(_0x35bf2a&&'listIndent'==_0x35bf2a['key'])return null==_0x35bf2a['newValue']||null==_0x35bf2a['oldValue']&&0x0==_0x35bf2a['newValue']?_0x2ac888:void 0x0;}),_0x566790['descriptionFactory']['registerDescriptionCallback'](_0x2edeac=>{if('attribute'!=_0x2edeac['type'])return;const {data:_0x128dca}=_0x2edeac;if(!_0x128dca||'listItemId'!=_0x128dca['key'])return;const _0x5524e2=checkSiblingsListItemId(_0x2edeac);return'newValue'==_0x5524e2?{'type':'format','content':getTranslation$1(_0x4aaf2f,'*Merge:*\x20list\x20item')}:'oldValue'==_0x5524e2?{'type':'format','content':getTranslation$1(_0x4aaf2f,'*Split:*\x20list\x20item')}:_0x2ac888;}),_0x2a3380['model']['document']['registerPostFixer'](_0x5e7daf=>this['listItemIdFixer'](_0x5e7daf)),_0x2a3380['model']['document']['registerPostFixer'](_0x41487f=>this['noTrackChangesFixer'](_0x41487f)),_0x2a3380['model']['document']['on']('change:data',(_0xa1f016,_0x40a054)=>{if(_0x40a054['isUndo']||!_0x40a054['isLocal'])return!0x1;this['assureChains']();},{'priority':'high'}),this['_supportLegacySuggestions']();}['listItemIdFixer'](_0x4021ca){if(_0x4021ca['batch']['isUndo']||!_0x4021ca['batch']['isLocal'])return!0x1;let _0x2eaaaf=!0x1;const _0xffb3b8=this['editor']['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x5f3dc4=>_0x5f3dc4['data']&&'listItemId'==_0x5f3dc4['data']['key'])['filter'](_0x19d891=>_0x19d891['data']['newValue']&&_0x19d891['data']['oldValue']);for(const _0x4d47f8 of _0xffb3b8)checkSiblingsListItemId(_0x4d47f8)||(_0x4021ca['removeMarker'](_0x4d47f8['getFirstMarker']()),_0x2eaaaf=!0x0);return _0x2eaaaf;}['noTrackChangesFixer'](_0x203f4e){if(_0x203f4e['batch']['isUndo']||!_0x203f4e['batch']['isLocal'])return!0x1;const _0x211dd9=this['editor']['plugins']['get']('TrackChangesEditing');if(_0x211dd9['trackChangesCommand']['value'])return!0x1;let _0x4bd576=!0x1;const _0x514c91=['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle'],_0x431ed8=this['editor']['model']['document']['differ']['getChanges']()['filter'](_0x232b0f=>'attribute'==_0x232b0f['type'])['filter'](_0x59fe22=>_0x514c91['includes'](_0x59fe22['attributeKey']));if(0x0==_0x431ed8['length'])return _0x4bd576;for(const _0x58e022 of _0x431ed8){const _0xafbb62=_0x211dd9['_findSuggestions'](_0x58e022['range'],'attribute')['filter'](_0x4f96c6=>!_0x4f96c6['meta']['isNextTo'])['map'](_0x5dba94=>_0x5dba94['suggestion'])['filter'](_0x232e6b=>{const _0x53f3b9=_0x211dd9['_getAttributeKey'](_0x232e6b);return _0x514c91['includes'](_0x53f3b9);});if(_0xafbb62['length']){for(const _0x470b0c of _0xafbb62)_0x203f4e['removeMarker'](_0x470b0c['getFirstMarker']());_0x4bd576=!0x0;}}return _0x4bd576;}['assureChains'](){const _0x5b689c=this['editor']['plugins']['get']('TrackChangesEditing'),_0x504081=['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle'];let _0x2e474d;const _0x5e22c5=new Set(this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x271c12=>{if(_0x271c12['data']['oldRange']||!_0x271c12['data']['newRange'])return null;if(!_0x271c12['name']['startsWith']('suggestion:attribute:'))return null;const {id:_0x361924}=_0x5b689c['_splitMarkerName'](_0x271c12['name']);if(!_0x5b689c['hasSuggestion'](_0x361924))return null;const _0x3b8f5c=_0x5b689c['getSuggestion'](_0x361924);return _0x504081['includes'](_0x3b8f5c['data']['key']);})['map'](_0x1eac38=>{const {id:_0x110550}=_0x5b689c['_splitMarkerName'](_0x1eac38['name']),_0x389711=_0x5b689c['getSuggestion'](_0x110550);return _0x2e474d=_0x389711['attributes']['groupId'],_0x389711['getFirstRange']()['start']['nodeAfter'];}));if(0x0==_0x5e22c5['size'])return;const _0x3572b2=_0x5b689c['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x58d79b=>'attribute'==_0x58d79b['type']&&_0x58d79b['data']&&_0x504081['includes'](_0x58d79b['data']['key'])&&_0x58d79b['attributes']['groupId']!=_0x2e474d)['map'](_0xfc1d01=>({'listItem':_0xfc1d01['getFirstRange']()['start']['nodeAfter'],'groupId':_0xfc1d01['attributes']['groupId']})),_0x6b6487=new Set();for(const {groupId:_0x3b35bc,listItem:_0x552044}of _0x3572b2)_0x5e22c5['has'](_0x552044)&&_0x6b6487['add'](_0x3b35bc);for(const _0x38cde5 of _0x5b689c['getSuggestions']())_0x6b6487['has'](_0x38cde5['attributes']['groupId'])&&_0x38cde5['setAttribute']('groupId',_0x2e474d);}['_supportLegacySuggestions'](){const _0x5bcb9d=this['editor'],_0x9cabdc=_0x5bcb9d['locale'],_0x5af764=_0x5bcb9d['plugins']['get']('TrackChangesEditing');this['_registerLegacyDescription'](),_0x5af764['_suggestionFactory']['registerCustomCallback']('formatBlock','documentList','accept',function(_0xc5f640,_0x16b713){const _0x5e0e32=[];for(let _0x59b6cb of _0xc5f640)_0x59b6cb['start']['nodeAfter']===_0x59b6cb['end']['parent']&&(_0x59b6cb=_0x5bcb9d['model']['createRange'](_0x5bcb9d['model']['createPositionAt'](_0x59b6cb['start']['nodeAfter'],0x0))),_0x5e0e32['push'](_0x59b6cb);_0x5bcb9d['model']['change'](_0x31dbce=>{const _0x5e8851=_0x5bcb9d['model']['document']['selection'],_0x172e2e=Array['from'](_0x5e8851['getRanges']())['map'](_0x392581=>ckeditor5['ModelLiveRange']['fromRange'](_0x392581));_0x31dbce['setSelection'](_0x5e0e32),_0x5bcb9d['commands']['get'](_0x16b713['commandName'])['refresh'](),_0x16b713['commandParams']['push']({'forceDefaultExecution':!0x0}),_0x5bcb9d['execute'](_0x16b713['commandName'],..._0x16b713['commandParams']),_0x31dbce['setSelection'](_0x172e2e);for(const _0x2bc103 of _0x172e2e)_0x2bc103['detach']();});}),_0x5af764['descriptionFactory']['registerElementLabel'](function(_0x3e0f46){const _0x562404=!_0x5bcb9d['model']['schema']['isObject'](_0x3e0f46),_0x50c0cf=_0x3e0f46['previousSibling'],_0x4bae82=_0x3e0f46['nextSibling'],_0x974d38=_0x3e0f46['getAttribute']('listItemId'),_0x3ac54a=!_0x50c0cf||_0x50c0cf['getAttribute']('listItemId')!==_0x974d38,_0x333f6d=!_0x4bae82||_0x4bae82['getAttribute']('listItemId')!==_0x974d38;return _0x562404&&Boolean(_0x974d38)&&_0x3ac54a&&_0x333f6d;},_0x18976a=>getTranslation$1(_0x9cabdc,'ELEMENT_LIST_ITEM',_0x18976a));}['_registerLegacyDescription'](){const _0x1c3a60=this['editor'],_0xd6883e=_0x1c3a60['locale'];function _0xe603d1(_0x24a180){const _0xd907af=_0x1c3a60['commands']['get']('bulletedList')['value'],_0x3edc50=_0x1c3a60['commands']['get']('numberedList')['value'];return'numberedList'===_0x24a180?_0xd907af:_0x3edc50;}_0x1c3a60['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](function(_0x281b3b){if('formatBlock'!=_0x281b3b['type'])return;const {data:_0xc1f333}=_0x281b3b;if(!_0xc1f333)return;let _0x168f6d,_0x5d75bb,_0x2314f6,_0x3f56d0;switch(_0xc1f333['commandName']){case'bulletedList':_0x2314f6=_0xc1f333['commandParams'][0x0]['forceValue'],_0x3f56d0=_0xe603d1(_0xc1f333['commandName']),_0x168f6d=_0x2314f6?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x3f56d0&&_0x1c3a60['config']['get']('list.multiBlock')||(_0x168f6d='*Change\x20to:*\x20%0'),_0x5d75bb={'type':'format','content':getTranslation$1(_0xd6883e,_0x168f6d,getTranslation$1(_0xd6883e,'ELEMENT_BULLETED_LIST'))};break;case'numberedList':_0x2314f6=_0xc1f333['commandParams'][0x0]['forceValue'],_0x3f56d0=_0xe603d1(_0xc1f333['commandName']),_0x168f6d=_0x2314f6?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x3f56d0&&_0x1c3a60['config']['get']('list.multiBlock')||(_0x168f6d='*Change\x20to:*\x20%0'),_0x5d75bb={'type':'format','content':getTranslation$1(_0xd6883e,_0x168f6d,getTranslation$1(_0xd6883e,'ELEMENT_NUMBERED_LIST'))};break;case'indentList':_0x168f6d='*Indent:*\x20%0',_0x5d75bb={'type':'format','content':getTranslation$1(_0xd6883e,_0x168f6d,getTranslation$1(_0xd6883e,'ELEMENT_LIST_ITEM'))};break;case'outdentList':_0x168f6d=function(_0x465ac4){const _0x9b2cd8=_0x465ac4['getFirstRange']();let _0x2baaf9=_0x9b2cd8['start']['nodeAfter'];for(;_0x2baaf9&&_0x9b2cd8['containsItem'](_0x2baaf9);){if(_0x2baaf9['getAttribute']('listIndent')>0x0)return!0x1;_0x2baaf9=_0x2baaf9['nextSibling'];}return!0x0;}(_0x281b3b)?getTranslation$1(_0xd6883e,'*Format:*\x20remove\x20from\x20%0',getTranslation$1(_0xd6883e,function(_0x10be5c){return'ELEMENT_'+_0x10be5c['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST';}(_0x281b3b))):getTranslation$1(_0xd6883e,'*Outdent:*\x20%0',getTranslation$1(_0xd6883e,'ELEMENT_LIST_ITEM')),_0x5d75bb={'type':'format','content':_0x168f6d};break;case'mergeListItemBackward':case'mergeListItemForward':!0x1===_0xc1f333['multipleBlocks']&&(_0x168f6d='*Merge:*\x20%0',_0x5d75bb={'type':'deletion','content':getTranslation$1(_0xd6883e,_0x168f6d,getTranslation$1(_0xd6883e,'ELEMENT_LIST_ITEM'))});}return _0x5d75bb;});}}function checkSiblingsListItemId(_0x10eff2){let _0x3fb1bf=_0x10eff2['getFirstRange']()['start']['nodeAfter']['previousSibling'];for(;_0x3fb1bf;){const _0x16a274=_0x3fb1bf['getAttribute']('listItemId');if(!_0x16a274)return!0x1;if(_0x16a274==_0x10eff2['data']['newValue'])return'newValue';if(_0x16a274==_0x10eff2['data']['oldValue'])return'oldValue';_0x3fb1bf=_0x3fb1bf['previousSibling'];}return!0x1;}class TrackChangesDocumentListProperties extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x3b3a64=this['editor']['config']['get']('list.properties'),_0x205e98=this['editor']['plugins']['get']('TrackChangesEditing');_0x3b3a64['styles']&&_0x205e98['enableDefaultAttributesIntegration']('listStyle'),_0x3b3a64['reversed']&&_0x205e98['enableDefaultAttributesIntegration']('listReversed'),_0x3b3a64['startIndex']&&_0x205e98['enableDefaultAttributesIntegration']('listStart');const _0x2040dd={'type':'format','content':''};_0x205e98['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));const _0x344e9b=this['editor']['locale'];_0x205e98['descriptionFactory']['registerAttributeLabel']('listReversed',getTranslation$1(_0x344e9b,'FORMAT_LIST_REVERSED')),_0x205e98['descriptionFactory']['registerDescriptionCallback'](_0x174ae6=>{const {data:_0x27c1db}=_0x174ae6;if(_0x27c1db&&'listReversed'==_0x27c1db['key'])return null==_0x27c1db['newValue']||0x0==_0x27c1db['newValue']&&null==_0x27c1db['oldValue']?_0x2040dd:void 0x0;}),_0x205e98['descriptionFactory']['registerAttributeLabel']('listStart',getTranslation$1(_0x344e9b,'FORMAT_LIST_START')),_0x205e98['descriptionFactory']['registerDescriptionCallback'](_0x46de58=>{const {data:_0x4d6cab}=_0x46de58;if(_0x4d6cab&&'listStart'==_0x4d6cab['key'])return null==_0x4d6cab['newValue']||0x1==_0x4d6cab['newValue']&&null==_0x4d6cab['oldValue']?_0x2040dd:void 0x0;}),this['editor']['model']['document']['registerPostFixer'](_0x29e14d=>{if(_0x29e14d['batch']['isUndo'])return!0x1;let _0x1538cf=!0x1;const _0x9d08fe=_0x205e98['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x4980a7=>{const _0x10f4a5=_0x205e98['_getAttributeKey'](_0x4980a7);return'listStart'==_0x10f4a5||'listReversed'==_0x10f4a5;});for(const _0x50f844 of _0x9d08fe){const _0x2d1695=_0x50f844['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType');if('numbered'==_0x2d1695||'customNumbered'==_0x2d1695)continue;_0x205e98['_findSuggestions'](_0x50f844['getFirstRange'](),'attribute')['find'](_0xef27e4=>'listType'==_0x205e98['_getAttributeKey'](_0xef27e4['suggestion']))||(_0x29e14d['removeMarker'](_0x50f844['getFirstMarker']()),_0x1538cf=!0x0);}return _0x1538cf;}),this['_registerLegacyDescription']();}['handleDescriptions'](_0xd5dd49){const _0x2794bd=this['editor']['locale'],{data:_0x6858fd}=_0xd5dd49,_0x8a6f31={'type':'format','content':''};if(!_0x6858fd||'listStyle'!=_0x6858fd['key'])return;if(!_0x6858fd['oldValue'])return'default'==_0x6858fd['newValue']?_0x8a6f31:{'type':'format','content':''+getTranslation$1(_0x2794bd,'*Set\x20format:*\x20%0',getTranslation$1(_0x2794bd,this['_getTranslationKeyForListStyle'](_0x6858fd['newValue'])))};if(!_0x6858fd['newValue']){if('default'==_0x6858fd['oldValue'])return _0x8a6f31;let _0x3e8c29=_0xd5dd49['head'];for(;_0x3e8c29;){if(_0x3e8c29['data']&&'listType'==_0x3e8c29['data']['key']&&_0x3e8c29['data']['newValue'])return _0x8a6f31;_0x3e8c29=_0x3e8c29['next'];}return{'type':'format','content':''+getTranslation$1(_0x2794bd,'*Remove\x20format:*\x20%0',getTranslation$1(_0x2794bd,this['_getTranslationKeyForListStyle'](_0x6858fd['oldValue'])))};}if('default'!=_0x6858fd['newValue'])return{'type':'format','content':''+getTranslation$1(_0x2794bd,'*Set\x20format:*\x20%0',getTranslation$1(_0x2794bd,this['_getTranslationKeyForListStyle'](_0x6858fd['newValue'])))};let _0x3f82b3=_0xd5dd49['head'];for(;_0x3f82b3;){if(_0x3f82b3['data']&&'listType'==_0x3f82b3['data']['key']&&_0x3f82b3['data']['newValue']&&_0x3f82b3['data']['oldValue'])return _0x8a6f31;_0x3f82b3=_0x3f82b3['next'];}return{'type':'format','content':getTranslation$1(_0x2794bd,'*Set\x20format:*\x20%0',getTranslation$1(_0x2794bd,'ELEMENT_'+_0xd5dd49['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST_DEFAULT'))};}['_registerLegacyDescription'](){const _0x5b7513=this['editor'],_0x178e13=_0x5b7513['locale'];_0x5b7513['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x293fb1=>{if('formatBlock'!=_0x293fb1['type'])return;const {data:_0x2b06e0}=_0x293fb1;if(!_0x2b06e0)return;let _0x2ca2ea,_0x14eb33;switch(_0x2b06e0['commandName']){case'listStyle':_0x2ca2ea='*Change\x20to:*\x20%0',_0x14eb33={'type':'format','content':getTranslation$1(_0x178e13,_0x2ca2ea,getTranslation$1(_0x178e13,this['_getTranslationKeyForListStyle'](_0x2b06e0['commandParams'][0x0]['type'])))};break;case'listReversed':_0x2ca2ea=_0x2b06e0['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x14eb33={'type':'format','content':getTranslation$1(_0x178e13,_0x2ca2ea)};break;case'listStart':_0x2ca2ea='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x14eb33={'type':'format','content':getTranslation$1(_0x178e13,_0x2ca2ea,_0x2b06e0['commandParams'][0x0]['startIndex'])};}return _0x14eb33;});}['_getTranslationKeyForListStyle'](_0x1c302f){return'ELEMENT_'+getListTypeFromListStyleType(_0x1c302f)['toUpperCase']()+'_LIST_'+_0x1c302f['toUpperCase']()['replace'](/-/g,'_');}}const _0x4d0935=['disc','circle','square'],_0x2da274=['decimal','decimal-leading-zero','lower-roman','upper-roman','lower-latin','upper-latin','arabic-indic'];function getListTypeFromListStyleType(_0x46ee5c){return _0x4d0935['includes'](_0x46ee5c)?'bulleted':_0x2da274['includes'](_0x46ee5c)?'numbered':null;}class _0x35e374 extends ckeditor5['Plugin']{['afterInit'](){const _0xace562=this['editor'];_0xace562['commands']['get']('emoji')&&_0xace562['plugins']['get']('TrackChangesEditing')['enableCommand']('emoji');}}class TrackChangesEnterCommand extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['Enter']];}['init'](){const _0x3d4b56=this['editor'],_0x7462d2=_0x3d4b56['plugins']['get']('TrackChangesEditing'),_0x3ddd2d=_0x3d4b56['commands']['get']('enter');_0x7462d2['enableCommand']('enter',()=>{_0x3d4b56['model']['change'](_0x4ede2f=>{const _0x4ea338=_0x3d4b56['model']['document']['selection'],_0x8b2f84=_0x4ea338['getFirstPosition'](),_0x3c8e20=ckeditor5['ModelLiveRange']['fromRange'](_0x4ea338['getFirstRange']());if(_0x3ddd2d['enterBlock'](_0x4ede2f)){const _0x4e2e1e=_0x3d4b56['model']['createPositionAt'](_0x8b2f84['parent']['nextSibling'],0x0),_0x3d0933=_0x4ede2f['createRange'](_0x8b2f84,_0x4e2e1e);_0x7462d2['markInsertion'](_0x3d0933);}else _0x4ede2f['setSelection'](_0x4ede2f['createRange'](_0x3c8e20['end']));_0x3c8e20['detach'](),_0x3ddd2d['fire']('afterExecute',{'writer':_0x4ede2f});});});}}class _0x230659 extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('FindAndReplaceEditing'))return;const _0xe3e547=this['editor']['plugins']['get']('TrackChangesEditing');_0xe3e547['enableCommand']('find',this['handleFindCommand']['bind'](this)),_0xe3e547['enableCommand']('findNext'),_0xe3e547['enableCommand']('findPrevious'),_0xe3e547['enableCommand']('replace'),_0xe3e547['enableCommand']('replaceAll');}['handleFindCommand'](_0x367580,_0x174a42,_0x48c8d0={}){const _0x1891c5=this['editor']['plugins']['get']('FindAndReplaceUtils');return _0x367580(_0x15f7a5=>{let _0x49f705=('string'==typeof _0x174a42?_0x1891c5['findByTextCallback'](_0x174a42,_0x48c8d0):_0x174a42)(_0x15f7a5);Array['isArray'](_0x49f705)&&(_0x49f705={'results':_0x49f705,'searchText':'string'==typeof _0x174a42?_0x174a42:''});const _0x3726f5=_0x49f705['results']['filter'](_0x51d57f=>!0x1===this['_isInDeletionRange'](_0x51d57f,_0x15f7a5['item']));return{..._0x49f705,'results':_0x3726f5};},_0x48c8d0);}['_isInDeletionRange'](_0xf5e790,_0x3084be){const _0x2c38ed=this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x3084be,_0xf5e790['start']),this['editor']['model']['createPositionAt'](_0x3084be,_0xf5e790['end']));for(const _0x223145 of this['editor']['model']['markers']['getMarkersGroup']('suggestion:deletion'))if(null!==_0x2c38ed['getIntersection'](_0x223145['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 _0x5aa494=this['editor']['locale'],_0x14ff31=this['editor']['plugins']['get']('TrackChangesEditing');for(const {pluginName:_0x47df78,commandName:_0x472764}of fontPlugins)this['editor']['plugins']['has'](_0x47df78)&&_0x14ff31['enableDefaultAttributesIntegration'](_0x472764);_0x14ff31['descriptionFactory']['registerAttributeLabel']('fontSize',getTranslation$1(_0x5aa494,'FORMAT_FONT_SIZE')),_0x14ff31['descriptionFactory']['registerAttributeLabel']('fontFamily',getTranslation$1(_0x5aa494,'FORMAT_FONT_FAMILY')),_0x14ff31['descriptionFactory']['registerAttributeLabel']('fontColor',getTranslation$1(_0x5aa494,'FORMAT_FONT_COLOR')),_0x14ff31['descriptionFactory']['registerAttributeLabel']('fontBackgroundColor',getTranslation$1(_0x5aa494,'FORMAT_FONT_BACKGROUND')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x57aefb=this['editor'],_0x59716c=_0x57aefb['locale'];_0x57aefb['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x244953=>{const _0x32f5ff=_0x59716c['t'];if('formatInline'!=_0x244953['type'])return;const {data:_0x539a3a}=_0x244953;if(null!=_0x539a3a){if('fontSize'==_0x539a3a['commandName']){const _0x15071c=_0x539a3a['commandParams'][0x0]['value'];if(_0x15071c){const _0x2eea71=_0x32f5ff(this['editor']['plugins']['get']('FontSize')['normalizeSizeOptions'](this['editor']['config']['get']('fontSize.options'))['find'](_0x17deaa=>_0x17deaa['model']==_0x15071c)['title'])['toLowerCase']();return{'type':'format','content':getTranslation$1(_0x59716c,'*Set\x20font\x20size:*\x20%0',_0x2eea71)};}return{'type':'format','content':getTranslation$1(_0x59716c,'*Reset\x20font\x20size*')};}if('fontFamily'==_0x539a3a['commandName']){const _0x4e9031=_0x539a3a['commandParams'][0x0]['value'];return _0x4e9031?{'type':'format','content':getTranslation$1(_0x59716c,'*Set\x20font\x20family:*\x20%0',_0x4e9031)}:{'type':'format','content':getTranslation$1(_0x59716c,'*Reset\x20font\x20family*')};}if('fontColor'==_0x539a3a['commandName']){const _0x18477c=_0x539a3a['commandParams'][0x0]['value'];if(_0x18477c){const _0x145b15=ckeditor5['normalizeColorOptions'](this['editor']['config']['get']('fontColor.colors'))['find'](_0x347120=>_0x347120['model']==_0x18477c);let _0x6f7ea4=_0x18477c,_0x1b9003='';return _0x145b15&&(_0x6f7ea4=_0x145b15['label'],_0x1b9003=_0x32f5ff(_0x6f7ea4)['toLowerCase']()),{'type':'format','content':getTranslation$1(_0x59716c,'*Set\x20font\x20color:*\x20%0',_0x1b9003)['trim'](),'color':{'value':_0x18477c,'title':_0x1b9003||_0x6f7ea4}};}return{'type':'format','content':getTranslation$1(_0x59716c,'*Reset\x20font\x20color*')};}if('fontBackgroundColor'==_0x539a3a['commandName']){const _0x5a2076=_0x539a3a['commandParams'][0x0]['value'];if(_0x5a2076){const _0x2f20d3=ckeditor5['normalizeColorOptions'](this['editor']['config']['get']('fontBackgroundColor.colors'))['find'](_0x1ab2a0=>_0x1ab2a0['model']==_0x5a2076);let _0x1ea5a4=_0x5a2076,_0x1a544a='';return _0x2f20d3&&(_0x1ea5a4=_0x2f20d3['label'],_0x1a544a=_0x32f5ff(_0x1ea5a4)['toLowerCase']()),{'type':'format','content':getTranslation$1(_0x59716c,'*Set\x20font\x20background\x20color:*\x20%0',_0x1a544a)['trim'](),'color':{'value':_0x5a2076,'title':_0x1a544a||_0x1ea5a4}};}return{'type':'format','content':getTranslation$1(_0x59716c,'*Reset\x20font\x20background\x20color*')};}}});}}class TrackChangesFootnotes extends ckeditor5['Plugin']{['afterInit'](){const {plugins:_0xbb8f58}=this['editor'];_0xbb8f58['has']('FootnotesEditing')&&this['_registerFootnotesEditingIntegration'](),_0xbb8f58['has']('FootnotesPropertiesEditing')&&this['_registerFootnotesPropertiesEditingIntegration']();}['_registerFootnotesPropertiesEditingIntegration'](){const {locale:_0x2147ad,plugins:_0x11fcea,commands:_0x204d79}=this['editor'],_0x2466cf=_0x11fcea['get']('TrackChangesEditing');_0x204d79['get']('footnotesStyle')&&_0x2466cf['enableDefaultAttributesIntegration']('footnotesStyle'),_0x204d79['get']('footnotesStart')&&_0x2466cf['enableDefaultAttributesIntegration']('footnotesStart'),_0x2466cf['descriptionFactory']['registerAttributeLabel']('footnotesListStyle',getTranslation$1(_0x2147ad,'FORMAT_FOOTNOTES_LIST_STYLE')),_0x2466cf['descriptionFactory']['registerAttributeLabel']('footnotesListStart',getTranslation$1(_0x2147ad,'FORMAT_FOOTNOTES_LIST_START'));}['_registerFootnotesEditingIntegration'](){const _0x22bbbd=this['editor']['plugins']['get']('TrackChangesEditing'),{locale:_0x17b7a3,commands:_0x21b98c}=this['editor'];_0x21b98c['get']('insertFootnote')&&_0x22bbbd['enableCommand']('insertFootnote'),_0x22bbbd['descriptionFactory']['registerElementLabel']('footnoteRef',_0x3c0188=>getTranslation$1(_0x17b7a3,'ELEMENT_FOOTNOTE_REF',_0x3c0188)),_0x22bbbd['descriptionFactory']['registerElementLabel']('footnoteDefinition',_0x3460cf=>getTranslation$1(_0x17b7a3,'ELEMENT_FOOTNOTE_DEFINITION',_0x3460cf)),_0x22bbbd['descriptionFactory']['registerElementLabel']('footnotesDefinitions',_0x3a01ba=>getTranslation$1(_0x17b7a3,'ELEMENT_FOOTNOTES_DEFINITIONS_LIST',_0x3a01ba));}}class TrackChangesFormatPainter extends ckeditor5['Plugin']{['afterInit'](){const _0x31f760=this['editor'],_0x571889=_0x31f760['plugins']['get']('TrackChangesEditing'),_0x1ba136=_0x31f760['commands']['get']('copyFormat'),_0x25ed77=_0x31f760['commands']['get']('pasteFormat');_0x1ba136&&_0x25ed77&&(_0x571889['enableDefaultAttributesIntegration']('pasteFormat'),_0x571889['enableCommand']('copyFormat'),this['_registerLegacyDescription']());}['_registerLegacyDescription'](){const _0x5a4261=this['editor'],_0x75d230=_0x5a4261['locale'];_0x5a4261['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x5f19da=>{if('formatBlock'!=_0x5f19da['type']&&'formatInline'!=_0x5f19da['type'])return;const {data:_0x35dcbc}=_0x5f19da;if(_0x35dcbc&&'pasteFormat'===_0x35dcbc['commandName']){const _0x2429eb=[],_0x28be07=_0x35dcbc['commandParams'][0x0];for(const [_0x37d7b5,_0x366704]of Object['entries'](_0x28be07))_0x2429eb['push'](translateFormatting(_0x5a4261,_0x37d7b5,_0x366704));return _0x2429eb['length']?{'type':'format','content':getTranslation$1(_0x75d230,'*Set\x20format\x20to:*\x20%0',_0x2429eb['join'](',\x20'))}:{'type':'format','content':getTranslation$1(_0x75d230,'*Remove\x20all\x20formatting*')};}});}}function translateFormatting(_0x5c8be8,_0x65abc0,_0x1098a1){const _0x10359a=_0x5c8be8['locale']['t'],_0x322830=_0x65abc0['split'](/(?=[A-Z])/)['join']('\x20'),_0x22c539=_0x10359a(_0x322830['charAt'](0x0)['toUpperCase']()+_0x322830['slice'](0x1))['toLowerCase']();if('boolean'==typeof _0x1098a1)return _0x22c539;if('fontColor'===_0x65abc0||'fontBackgroundColor'===_0x65abc0){const _0x45fb9d=ckeditor5['normalizeColorOptions'](_0x5c8be8['config']['get']('fontColor.colors'))['find'](_0x43f8a7=>_0x43f8a7['model']==_0x1098a1);return _0x22c539+'\x20('+(_0x45fb9d?_0x10359a(_0x45fb9d['label'])['toLowerCase']():_0x1098a1)+')';}if('fontSize'===_0x65abc0&&isNaN(parseFloat(_0x1098a1))){const _0x219b3c=_0x5c8be8['plugins']['get']('FontSize')['normalizeSizeOptions'](_0x5c8be8['config']['get']('fontSize.options'))['find'](_0x2693dd=>_0x2693dd['model']==_0x1098a1);return _0x22c539+'\x20('+(_0x219b3c?_0x10359a(_0x219b3c['title'])['toLowerCase']():_0x1098a1)+')';}return _0x22c539+'\x20('+_0x1098a1+')';}class _0x5b14a3 extends ckeditor5['Plugin']{['_headingOptions'];['afterInit'](){const _0x1180fb=this['editor'];if(!_0x1180fb['plugins']['has']('HeadingEditing'))return;this['_headingOptions']=_0x1180fb['config']['get']('heading.options');const _0x127f36=_0x1180fb['locale'],_0x518d03=_0x1180fb['plugins']['get']('TrackChangesEditing');_0x518d03['enableDefaultAttributesIntegration']('heading');for(const _0x33d110 of this['_headingOptions'])'paragraph'!=_0x33d110['model']&&_0x518d03['descriptionFactory']['registerElementLabel'](_0x33d110['model'],_0x31a407=>{const _0x252735=this['_getHeadingLevel'](_0x33d110['model']);return null!==_0x252735?_0x900e12(_0x31a407,_0x252735):_0x4db806(_0x31a407,_0x33d110['title']);});function _0x900e12(_0x36e892,_0xc6110c){return getTranslation$1(_0x127f36,'ELEMENT_HEADING',[_0x36e892,_0xc6110c]);}function _0x4db806(_0x100528,_0x52c5cb){return getTranslation$1(_0x127f36,'ELEMENT_HEADING_CUSTOM',[_0x100528,_0x52c5cb]);}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x33fd94=this['editor'],_0x32cba4=_0x33fd94['locale'];function _0x43b3ab(_0x5897ac,_0x21d299){return getTranslation$1(_0x32cba4,'ELEMENT_HEADING_CUSTOM',[_0x5897ac,_0x21d299]);}_0x33fd94['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x4ec151=>{if('formatBlock'!=_0x4ec151['type'])return;const {data:_0x36f606}=_0x4ec151;if(_0x36f606&&'heading'==_0x36f606['commandName']){const _0x4aea2c=_0x36f606['commandParams'][0x0]['value'],_0x1f1858=this['_getHeadingLevel'](_0x4aea2c);if(null!==_0x1f1858)return{'type':'format','content':getTranslation$1(_0x32cba4,'*Change\x20to:*\x20%0',(_0x16ecce=0x1,_0x34536a=_0x1f1858,getTranslation$1(_0x32cba4,'ELEMENT_HEADING',[_0x16ecce,_0x34536a])))};const _0xb4192c=this['_headingOptions']['find'](_0x2a6f7f=>_0x2a6f7f['model']===_0x4aea2c)['title'];return{'type':'format','content':getTranslation$1(_0x32cba4,'*Change\x20to:*\x20%0',_0x43b3ab(0x1,_0xb4192c))};}var _0x16ecce,_0x34536a;});}['_getHeadingLevel'](_0x3e22a3){const _0x5082eb=_0x3e22a3['match'](/^heading(\d+)/);if(_0x5082eb)return _0x5082eb[0x1];const _0x5725c4=this['_headingOptions']?.['find'](_0x318af1=>_0x318af1['model']==_0x3e22a3);if(_0x5725c4&&_0x5725c4['view']){const _0x1905b7=_0x5725c4['view'],_0x48a2a5=(_0x1905b7['name']??_0x1905b7)['match'](/^h(\d+)/);if(_0x48a2a5)return _0x48a2a5[0x1];}return null;}}class TrackChangesHighlight extends ckeditor5['Plugin']{['afterInit'](){const _0x36abd8=this['editor'];if(!_0x36abd8['plugins']['has']('HighlightEditing'))return;const _0x38af82=_0x36abd8['plugins']['get']('TrackChangesEditing'),_0x3243e0=_0x36abd8['locale'];_0x38af82['enableDefaultAttributesIntegration']('highlight'),_0x38af82['descriptionFactory']['registerAttributeLabel']('highlight',getTranslation$1(_0x3243e0,'FORMAT_HIGHLIGHT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0xe677f=this['editor'],_0x3d5774=_0xe677f['locale'];_0xe677f['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x54b749=>{if('formatInline'!=_0x54b749['type'])return;const {data:_0x18a3a8}=_0x54b749;if(_0x18a3a8&&'highlight'==_0x18a3a8['commandName']){const _0x13f875=_0x3d5774['t'],_0x458367=_0x18a3a8['commandParams'][0x0]['value'];if(_0x458367){const _0x8bf83e=_0xe677f['config']['get']('highlight.options')['find'](_0xa06b54=>_0xa06b54['model']==_0x458367),_0x1bb522=_0x13f875(_0x8bf83e['title'])['toLowerCase']();return{'type':'format','content':getTranslation$1(_0x3d5774,'*Set\x20highlight:*\x20%0',_0x1bb522),'color':{'value':_0x8bf83e['color'],'title':_0x8bf83e['title']}};}return{'type':'format','content':getTranslation$1(_0x3d5774,'*Remove\x20highlight*',getTranslation$1(_0x3d5774,'FORMAT_HIGHLIGHT'))};}});}}class TrackChangesHorizontalLine extends ckeditor5['Plugin']{['afterInit'](){const _0x55fa50=this['editor'];if(!_0x55fa50['plugins']['has']('HorizontalLineEditing'))return;_0x55fa50['plugins']['get']('TrackChangesEditing')['enableCommand']('horizontalLine');const _0x30ffd8=_0x55fa50['plugins']['get']('TrackChangesEditing'),_0x2620f6=_0x55fa50['locale'];_0x30ffd8['descriptionFactory']['registerElementLabel']('horizontalLine',_0x14150c=>getTranslation$1(_0x2620f6,'ELEMENT_HORIZONTAL_LINE',_0x14150c));}}class TrackChangesHtmlEmbed extends ckeditor5['Plugin']{['afterInit'](){const _0x218731=this['editor'];if(!_0x218731['plugins']['has']('HtmlEmbed'))return;const _0x18e402=_0x218731['plugins']['get']('TrackChangesEditing'),_0x1e7f6f=_0x218731['locale'];_0x18e402['descriptionFactory']['registerElementLabel']('rawHtml',_0x2da4d1=>getTranslation$1(_0x1e7f6f,'ELEMENT_HTML_EMBED',_0x2da4d1)),_0x18e402['enableDefaultAttributesIntegration']('htmlEmbed'),_0x18e402['descriptionFactory']['registerDescriptionCallback'](_0x5ad114=>{if('attribute'!=_0x5ad114['type'])return;const {data:_0x304d1f}=_0x5ad114;if(_0x304d1f&&'value'==_0x304d1f['key']&&_0x5ad114['getFirstRange']()['start']['nodeAfter']['is']('element','rawHtml')){const _0xce5a4c=getTranslation$1(_0x1e7f6f,'ELEMENT_HTML_EMBED');return{'type':'format','content':getTranslation$1(_0x1e7f6f,'*Change\x20%0\x20content*',_0xce5a4c)};}}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x2f2a14=this['editor'],_0x363e31=_0x2f2a14['locale'];_0x2f2a14['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x4ada9b=>{if('formatBlock'!=_0x4ada9b['type'])return;const {data:_0xdb5a70}=_0x4ada9b;if(_0xdb5a70&&'htmlEmbed'==_0xdb5a70['commandName']){const _0x57207b=getTranslation$1(_0x363e31,'ELEMENT_HTML_EMBED');return{'type':'format','content':getTranslation$1(_0x363e31,'*Change\x20%0\x20content*',_0x57207b)};}});}}class _0x2fdd52 extends ckeditor5['Plugin']{['afterInit'](){const _0x55e8a1=this['editor'];if(!_0x55e8a1['plugins']['has']('ImageEditing'))return;const _0x342941=_0x55e8a1['plugins']['get']('TrackChangesEditing'),_0x355bc4=_0x55e8a1['plugins']['get']('ImageUtils'),_0x18f7be=_0x55e8a1['locale'];_0x342941['enableCommand']('insertImage'),_0x342941['descriptionFactory']['registerElementLabel']('imageBlock',_0x2a6188=>getTranslation$1(_0x18f7be,'ELEMENT_IMAGE',_0x2a6188)),_0x342941['descriptionFactory']['registerElementLabel']('imageInline',_0x7e0b62=>getTranslation$1(_0x18f7be,'ELEMENT_INLINE_IMAGE',_0x7e0b62)),_0x342941['descriptionFactory']['registerElementLabel']('caption',()=>getTranslation$1(_0x18f7be,'ELEMENT_CAPTION')),_0x55e8a1['plugins']['has']('ImageUploadEditing')&&_0x342941['enableCommand']('uploadImage'),_0x55e8a1['plugins']['has']('ImageBlockEditing')&&_0x55e8a1['plugins']['has']('ImageInlineEditing')&&(_0x342941['enableCommand']('imageTypeInline',(_0x10cfef,_0x19c0cf)=>{const _0x5ba7df=_0x355bc4['getClosestSelectedImageElement'](_0x55e8a1['model']['document']['selection']);_0x55e8a1['model']['change'](()=>{_0x342941['markBlockFormat'](_0x5ba7df,{'commandName':'imageTypeInline','commandParams':[_0x19c0cf]},[],'convertBlockImageToInline');});}),_0x342941['enableCommand']('imageTypeBlock',(_0x402235,_0x58a364)=>{_0x55e8a1['model']['change'](_0x2239fa=>{let _0x4ab4e5=_0x355bc4['getClosestSelectedImageElement'](_0x55e8a1['model']['document']['selection']),_0x452917=_0x2239fa['createRangeOn'](_0x4ab4e5);const _0x2ae3ef=ckeditor5['ModelLivePosition']['fromPosition'](_0x452917['start'],'toPrevious'),_0x1a215e=ckeditor5['ModelLivePosition']['fromPosition'](_0x452917['end'],'toNext');_0x342941['forceDefaultExecution'](()=>_0x402235(_0x58a364)),_0x4ab4e5=_0x355bc4['getClosestSelectedImageElement'](_0x55e8a1['model']['document']['selection']),_0x452917=_0x2239fa['createRangeOn'](_0x4ab4e5);const _0x23168b=_0x2239fa['createRange'](_0x2ae3ef,_0x1a215e);_0x2ae3ef['detach'](),_0x1a215e['detach'](),_0x342941['markBlockFormat'](_0x4ab4e5,{'commandName':'imageTypeInline','commandParams':[_0x58a364]},[],'convertInlineImageToBlock'),_0x23168b['start']['isBefore'](_0x452917['start'])&&_0x342941['markInsertion'](_0x2239fa['createRange'](_0x23168b['start'],_0x452917['start']),'convertInlineImageToBlock'),_0x452917['end']['isBefore'](_0x23168b['end'])&&_0x342941['markInsertion'](_0x2239fa['createRange'](_0x452917['end'],_0x23168b['end']),'convertInlineImageToBlock');});}),_0x342941['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','join',()=>!0x1),_0x342941['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','accept',()=>!0x1),_0x342941['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','discard',_0x342941['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')),_0x342941['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','join',()=>!0x1),_0x342941['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','discard',([_0x2e5c77])=>{const _0x4eeafc=_0x342941['_suggestionFactory']['getSuggestionCallback']('insertion','','discard');let _0x218f75=_0x2e5c77['start'],_0x258a3b=_0x2e5c77['end'];const _0x1a02f0=_0x55e8a1['model']['schema']['getNearestSelectionRange'](_0x218f75,'backward'),_0x35b6f4=_0x55e8a1['model']['schema']['getNearestSelectionRange'](_0x258a3b,'forward');_0x1a02f0['isCollapsed']&&(_0x218f75=_0x1a02f0['start']),_0x35b6f4['isCollapsed']&&(_0x258a3b=_0x35b6f4['end']),_0x4eeafc([_0x55e8a1['model']['createRange'](_0x218f75,_0x258a3b)]);}),_0x342941['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','chain',_0x209cb2),_0x342941['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','chain',_0x209cb2)),_0x55e8a1['plugins']['has']('ImageCaptionEditing')&&(_0x342941['enableCommand']('toggleImageCaption',(_0x2cfcbc,_0x34a887)=>{const _0x514e63=_0x55e8a1['plugins']['get']('ImageCaptionUtils');let _0x163f3c=_0x355bc4['getClosestSelectedImageElement'](_0x55e8a1['model']['document']['selection']),_0x5e9aba=_0x514e63['getCaptionFromImageModelElement'](_0x163f3c);_0x55e8a1['model']['change'](()=>{if(_0x5e9aba)return void _0x342941['markDeletion'](_0x55e8a1['model']['createRangeOn'](_0x5e9aba));const _0xf18156=_0x355bc4['isBlockImage'](_0x163f3c);_0x2cfcbc(_0x34a887),_0x163f3c=_0x355bc4['getClosestSelectedImageElement'](_0x55e8a1['model']['document']['selection']),_0x5e9aba=_0x514e63['getCaptionFromImageModelElement'](_0x163f3c),_0x342941['markInsertion'](_0x55e8a1['model']['createRangeOn'](_0x5e9aba),_0xf18156?null:'imageCaption');});}),_0x342941['_suggestionFactory']['registerCustomCallback']('insertion','imageCaption','chain',_0x209cb2));const _0xfec5ea=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x1995ac(_0x4e3507,_0x53527a){const _0x11f270=_0xfec5ea['findIndex'](({type:_0x2fc8a5,subType:_0x509df2})=>_0x4e3507['type']==_0x2fc8a5&&_0x4e3507['subType']==_0x509df2),_0x4169c4=_0xfec5ea['findIndex'](({type:_0x4a03e9,subType:_0x2041f6})=>_0x53527a['type']==_0x4a03e9&&_0x53527a['subType']==_0x2041f6);if(_0x11f270<0x0||_0x4169c4<0x0)return!0x1;const _0x514e9d=_0x4e3507['getFirstRange'](),_0x1df30f=_0x53527a['getFirstRange']();if((0x0==_0x11f270||0x1==_0x11f270)&&0x2==_0x4169c4&&_0x514e9d['isIntersecting'](_0x1df30f))return!0x0;if(0x2==_0x11f270&&0x3==_0x4169c4){const _0x273b52=_0x342941['_findSuggestions'](_0x514e9d,'insertion')['filter'](({suggestion:_0x145b24,meta:_0x3f8a81})=>_0x3f8a81['isOwn']&&'convertInlineImageToBlock'==_0x145b24['subType']);if(_0x273b52['length']>0x1&&_0x1df30f['end']['isEqual'](_0x514e9d['start']))return!0x0;if(0x1==_0x273b52['length']&&(_0x514e9d['start']['isEqual'](_0x1df30f['end'])||_0x514e9d['end']['isEqual'](_0x1df30f['start'])))return!0x0;}if(0x3==_0x11f270&&0x3==_0x4169c4&&_0x514e9d['start']['isBefore'](_0x1df30f['start'])){const _0x4582a3=_0x514e9d['end']['nodeAfter'],_0x496829=_0x1df30f['start']['nodeBefore'];return _0x355bc4['isBlockImage'](_0x4582a3)&&_0x4582a3===_0x496829;}return!0x1;}function _0x209cb2(_0x1aeeff,_0x1c7c72){return _0x1995ac(_0x1aeeff,_0x1c7c72)?[_0x1aeeff,_0x1c7c72]:_0x1995ac(_0x1c7c72,_0x1aeeff)?[_0x1c7c72,_0x1aeeff]:null;}_0x55e8a1['plugins']['has']('ImageResize')&&(_0x342941['enableDefaultAttributesIntegration']('resizeImage'),_0x342941['descriptionFactory']['registerAttributeLabel']('resizedWidth',getTranslation$1(_0x18f7be,'FORMAT_IMAGE_SIZE'))),_0x55e8a1['plugins']['has']('ImageTextAlternativeEditing')&&_0x342941['enableDefaultAttributesIntegration']('imageTextAlternative'),_0x55e8a1['plugins']['has']('PictureEditing')&&_0x342941['descriptionFactory']['registerDescriptionCallback'](_0x3cdf2f=>{if('attribute'!=_0x3cdf2f['type'])return;const {data:_0x4f0ff6}=_0x3cdf2f;return _0x4f0ff6&&'sources'==_0x4f0ff6['key']?{'type':'format','content':''}:void 0x0;}),_0x55e8a1['plugins']['has']('ImageSizeAttributes')&&_0x342941['descriptionFactory']['registerDescriptionCallback'](_0x27d417=>{if('attribute'!=_0x27d417['type'])return;const {data:_0x115521}=_0x27d417;return!_0x115521||'width'!=_0x115521['key']&&'height'!=_0x115521['key']?void 0x0:{'type':'format','content':''};}),_0x342941['descriptionFactory']['registerDescriptionCallback'](_0x473441=>{if(!!_0xfec5ea['find'](({type:_0x25ea5f,subType:_0x3676a8})=>_0x473441['type']==_0x25ea5f&&_0x473441['subType']==_0x3676a8))return _0x473441['previous']?{}:void 0x0;}),_0x342941['descriptionFactory']['registerDescriptionCallback'](_0x282e02=>{if('insertion'==_0x282e02['type']||'deletion'==_0x282e02['type']){const _0x5b55a2=_0x282e02['getContainedElement']();if(_0x5b55a2&&_0x5b55a2['is']('element','caption'))return{'type':'insertion'==_0x282e02['type']?'addObject':'removeObject','element':_0x5b55a2,'quantity':0x1};}}),_0x342941['descriptionFactory']['registerDescriptionCallback'](_0x65eb62=>'formatBlock'==_0x65eb62['type']&&'convertInlineImageToBlock'==_0x65eb62['subType']?{'type':'format','content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x65eb62['type']&&'convertBlockImageToInline'==_0x65eb62['subType']?{'type':'format','content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x342941['descriptionFactory']['registerDescriptionCallback'](_0x6b4576=>{if('attribute'!=_0x6b4576['type'])return;const {data:_0x37020d}=_0x6b4576;if(!_0x37020d||'alt'!=_0x37020d['key'])return;const _0x3cf554=_0x37020d['newValue'];return _0x3cf554?{'type':'format','content':getTranslation$1(_0x18f7be,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x3cf554+'\x22')}:{'type':'format','content':getTranslation$1(_0x18f7be,'*Remove\x20image\x20text\x20alternative*')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x36c251=this['editor'],_0x42ebd2=_0x36c251['locale'];_0x36c251['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x338fa8=>{if('formatBlock'!=_0x338fa8['type']&&'formatInline'!=_0x338fa8['type'])return;const {data:_0x4fa484}=_0x338fa8;if(_0x4fa484){if('imageTextAlternative'==_0x4fa484['commandName']){const _0x12013b=_0x4fa484['commandParams'][0x0]['newValue'];return _0x12013b?{'type':'format','content':getTranslation$1(_0x42ebd2,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x12013b+'\x22')}:{'type':'format','content':getTranslation$1(_0x42ebd2,'*Remove\x20image\x20text\x20alternative*')};}if('resizeImage'==_0x4fa484['commandName']){const _0x209100=_0x4fa484['commandParams'][0x0]['width'];return _0x209100?{'type':'format','content':getTranslation$1(_0x42ebd2,'*Set\x20image\x20width:*\x20%0',_0x209100)}:{'type':'format','content':getTranslation$1(_0x42ebd2,'*Reset\x20image\x20width*')};}}});}}class _0x93af97 extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('ImageEditing'))return;const _0x2203aa=this['editor']['locale'],_0x2ed095=this['editor']['plugins']['get']('TrackChangesEditing');_0x2ed095['enableDefaultAttributesIntegration']('replaceImageSource'),_0x2ed095['descriptionFactory']['registerDescriptionCallback'](_0x92d441=>{if('attribute'!=_0x92d441['type'])return;const {data:_0x15d2fd}=_0x92d441;return _0x15d2fd&&'src'==_0x15d2fd['key']?_0x15d2fd['newValue']&&_0x15d2fd['oldValue']?{'type':'format','content':getTranslation$1(_0x2203aa,'*Replace\x20image*')}:{'type':'format','content':''}:void 0x0;}),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x3ec237=this['editor']['plugins']['get']('TrackChangesEditing');_0x3ec237['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','accept',_0x3ec237['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x3ec237['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','discard',_0x3ec237['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x242cad=this['editor'],_0x594568=_0x242cad['locale'];_0x242cad['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x37b839=>{if('formatBlock'!=_0x37b839['type']&&'formatInline'!=_0x37b839['type'])return;const {data:_0x168473}=_0x37b839;if(!_0x168473||'replaceImageSource'!=_0x168473['commandName'])return;return{'type':'format','content':getTranslation$1(_0x594568,'*Format:*\x20replace\x20image\x20URL')};});}}class TrackChangesImageStyle extends ckeditor5['Plugin']{['afterInit'](){const _0x58615d=this['editor'];if(!_0x58615d['plugins']['has']('ImageStyleEditing'))return;const _0x37c619=_0x58615d['plugins']['get']('TrackChangesEditing'),_0x1a2c28=_0x58615d['plugins']['get']('ImageUtils'),_0x5ef904={};_0x37c619['enableCommand']('imageStyle',(_0x11432e,_0x582ada)=>{const _0x176468=_0x58615d['plugins']['get']('Users')['me'],_0x2f97df=_0x58615d['commands']['get']('imageStyle');let _0x273bfa=_0x1a2c28['getClosestSelectedImageElement'](_0x58615d['model']['document']['selection']),_0x4fd719=_0x58615d['model']['createRangeOn'](_0x273bfa),_0x878141=_0x2f97df['value'];if(_0x878141==_0x582ada['value'])return;const _0x28002c={'commandName':'imageStyle','commandParams':[_0x582ada],'formatGroupId':ckeditor5['uid']()};_0x58615d['model']['change'](()=>{if(_0x37c619['getSuggestions']()['filter'](_0x3b4852=>_0x3b4852['isInContent']&&_0x176468==_0x3b4852['author']&&('formatBlock'==_0x3b4852['type']||'formatInline'==_0x3b4852['type'])&&('imageStylePreApply'==_0x3b4852['subType']||'imageStylePostApply'==_0x3b4852['subType'])&&_0x3b4852['getFirstRange']()['isEqual'](_0x4fd719))['forEach'](_0x226352=>_0x37c619['discardSuggestion'](_0x226352['head'])),_0x273bfa=_0x1a2c28['getClosestSelectedImageElement'](_0x58615d['model']['document']['selection']),_0x4fd719=_0x58615d['model']['createRangeOn'](_0x273bfa),_0x2f97df['refresh'](),_0x58615d['commands']['get']('imageTypeInline')['refresh'](),_0x58615d['commands']['get']('imageTypeBlock')['refresh'](),_0x878141=_0x2f97df['value'],_0x878141!=_0x582ada['value'])return _0x1a2c28['isInlineImage'](_0x273bfa)&&_0x2f97df['shouldConvertImageType'](_0x582ada['value'],_0x273bfa)?(_0x11432e({..._0x582ada,'setImageSizes':!0x1}),_0x273bfa=_0x1a2c28['getClosestSelectedImageElement'](_0x58615d['model']['document']['selection']),void _0x37c619['markBlockFormat'](_0x273bfa,{..._0x28002c,'commandReversedParams':[{'value':_0x878141||null,'setImageSizes':!0x1}]},[],'imageStylePreApply')):void(_0x1a2c28['isBlockImage'](_0x273bfa)?_0x37c619['markBlockFormat'](_0x273bfa,_0x28002c,[],'imageStylePostApply'):_0x37c619['markInlineFormat'](_0x4fd719,_0x28002c,'imageStylePostApply'));});});for(const _0x5743b7 of _0x58615d['plugins']['get']('ImageStyleEditing')['normalizedStyles'])_0x5ef904[_0x5743b7['name']]=_0x5743b7['title']['toLowerCase']();_0x37c619['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','join',()=>!0x1),_0x37c619['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePostApply','join',()=>!0x1),_0x37c619['_suggestionFactory']['registerCustomCallback']('formatInline','imageStylePostApply','join',()=>!0x1),_0x37c619['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','accept',([_0x37e79c])=>{_0x1a2c28['setImageNaturalSizeAttributes'](_0x37e79c['getContainedElement']());}),_0x37c619['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','discard',(_0x4b917f,_0x2611a3)=>{_0x37c619['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')(_0x4b917f,{'commandName':_0x2611a3['commandName'],'commandParams':_0x2611a3['commandReversedParams']});}),_0x37c619['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','chain',function(_0x5e0271,_0x11ac97){if(_0x2825e2(_0x5e0271,_0x11ac97))return[_0x5e0271,_0x11ac97];if(_0x2825e2(_0x11ac97,_0x5e0271))return[_0x11ac97,_0x5e0271];return null;});const _0x55051e=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x2825e2(_0x333335,_0x57797c){const _0x3686cd=_0x55051e['findIndex'](({type:_0x3b4e65,subType:_0x5b8ccd})=>_0x333335['type']==_0x3b4e65&&_0x333335['subType']==_0x5b8ccd),_0xf5b0b5=_0x55051e['findIndex'](({type:_0x190c4,subType:_0x19bdec})=>_0x57797c['type']==_0x190c4&&_0x57797c['subType']==_0x19bdec);if(_0x3686cd<0x0||_0xf5b0b5<0x0)return!0x1;const _0x405de3=_0x333335['getFirstRange'](),_0x58986c=_0x57797c['getFirstRange']();if((0x0==_0x3686cd||0x1==_0x3686cd)&&0x2==_0xf5b0b5&&_0x405de3['isIntersecting'](_0x58986c))return!0x0;if(0x2==_0x3686cd&&0x3==_0xf5b0b5){const _0x3d1914=_0x37c619['_findSuggestions'](_0x405de3,'insertion')['filter'](({suggestion:_0x2fc32d,meta:_0x2de430})=>_0x2de430['isOwn']&&'convertInlineImageToBlock'==_0x2fc32d['subType']);if(_0x3d1914['length']>0x1&&_0x58986c['end']['isEqual'](_0x405de3['start']))return!0x0;if(0x1==_0x3d1914['length']&&(_0x405de3['start']['isEqual'](_0x58986c['end'])||_0x405de3['end']['isEqual'](_0x58986c['start'])))return!0x0;}if(0x3==_0x3686cd&&0x3==_0xf5b0b5&&_0x405de3['start']['isBefore'](_0x58986c['start'])){const _0x3064ec=_0x405de3['end']['nodeAfter'],_0xa494e2=_0x58986c['start']['nodeBefore'];return _0x1a2c28['isBlockImage'](_0x3064ec)&&_0x3064ec===_0xa494e2;}return!0x1;}_0x58615d['model']['document']['registerPostFixer'](()=>{let _0x514c4b=!0x1;const _0x2a63e1=Array['from'](_0x58615d['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x2fa613,data:_0x31fd4e}of _0x2a63e1){const {group:_0x1fc020,type:_0x207e5a,subType:_0x501ee6,id:_0xfd6e87}=_0x37c619['_splitMarkerName'](_0x2fa613);if('suggestion'==_0x1fc020&&_0x37c619['hasSuggestion'](_0xfd6e87)){if('formatBlock'==_0x207e5a&&('imageStylePreApply'==_0x501ee6||'imageStylePostApply'==_0x501ee6)){const _0x5b61bf=_0x37c619['getSuggestion'](_0xfd6e87);if(_0x31fd4e['newRange']){const _0xfc8e1e=_0x5b61bf['getFirstRange']()['getContainedElement']();if(_0x1a2c28['isBlockImage'](_0xfc8e1e))continue;_0x37c619['discardSuggestion'](_0x5b61bf),_0x514c4b=!0x0;}}if('insertion'==_0x207e5a&&'imageCaption'==_0x501ee6&&!_0x31fd4e['newRange']){const _0x38c816=_0x37c619['getSuggestion'](_0xfd6e87);_0x38c816['next']&&_0x38c816['next']['isInContent']&&(_0x37c619['discardSuggestion'](_0x38c816['next']),_0x514c4b=!0x0);}}}return _0x514c4b;}),this['_registerLegacyDescription'](_0x5ef904);}['_registerLegacyDescription'](_0x1ba14c){const _0x3b219e=this['editor'],_0x499be5=_0x3b219e['locale'];_0x3b219e['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x3614e7=>{if('formatBlock'!=_0x3614e7['type']&&'formatInline'!=_0x3614e7['type'])return;const {data:_0x4bdf05}=_0x3614e7;if(!_0x4bdf05||'imageStyle'!=_0x4bdf05['commandName'])return;const _0x47cece=_0x4bdf05['commandParams'][0x0]['value'];return _0x3ba390('side'===_0x47cece?getTranslation$1(_0x499be5,'FORMAT_SIDE_IMAGE'):_0x1ba14c[_0x47cece]||_0x47cece);function _0x3ba390(_0x4fbf84){return{'type':'format','content':getTranslation$1(_0x499be5,'*Format:*\x20%0',_0x4fbf84)};}});}}class TrackChangesImportWord extends ckeditor5['Plugin']{['_trackChangesValueDuringImport'];['_trackChangesExecuted'];constructor(_0x27897d){super(_0x27897d),this['_trackChangesValueDuringImport']=!0x1,this['_trackChangesExecuted']=!0x1;}['afterInit'](){const _0x3fdf4e=this['editor'],_0x166f78=_0x3fdf4e['commands']['get']('importWord'),_0x1b60cf=_0x3fdf4e['commands']['get']('trackChanges');_0x166f78&&(_0x166f78['on']('execute',(_0x18ef28,[,_0x96fbc3])=>{this['_trackChangesValueDuringImport']=_0x1b60cf['value'],_0x96fbc3['collaboration_features']['track_changes']=!this['_trackChangesValueDuringImport'];},{'priority':'high'}),this['listenTo'](_0x166f78,'dataInsert',this['_handleImportedData']['bind'](this)),this['listenTo'](_0x166f78,'dataInsert',()=>{this['_trackChangesExecuted']&&(_0x1b60cf['execute'](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x3fdf4e['plugins']['get']('TrackChangesEditing')['enableCommand']('importWord'));}['_handleImportedData'](_0x1795dd,_0xe18bb2){const {suggestions:_0x2d9e51}=_0xe18bb2,_0x465e14=this['editor']['commands']['get']('trackChanges'),_0x155ab7=_0x465e14['value'];this['_trackChangesValueDuringImport']!==_0x155ab7&&(_0x465e14['execute'](),this['_trackChangesExecuted']=!0x0),_0x2d9e51&&_0x2d9e51['forEach'](({id:_0x469738,type:_0x58f7b1,author:_0x25da77,created_at:_0x449868})=>{const _0x1df3c9={'id':_0x469738,'type':_0x58f7b1,'authorId':this['editor']['plugins']['get']('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x25da77,'createdAt':_0x449868?new Date(_0x449868):new Date(),'source':'importWord'}}};this['editor']['plugins']['get']('TrackChangesEditing')['_setSuggestionData'](_0x1df3c9);});}}class TrackChangesIndent extends ckeditor5['Plugin']{['afterInit'](){const _0x581cdb=this['editor'],_0x43cc0e=_0x581cdb['plugins']['get']('TrackChangesEditing');if(_0x581cdb['plugins']['has']('IndentEditing')&&(_0x43cc0e['enableCommand']('indent'),_0x43cc0e['enableCommand']('outdent')),_0x581cdb['plugins']['has']('IndentBlock')){for(const _0x306e79 of['indentBlock','outdentBlock'])_0x43cc0e['enableDefaultAttributesIntegration'](_0x306e79);if(_0x581cdb['plugins']['has']('ListEditing')){for(const _0x3d9b56 of['indentBlockList','indentBlockListItem','outdentBlockList','outdentBlockListItem'])_0x43cc0e['enableDefaultAttributesIntegration'](_0x3d9b56);}}const _0x2e3626=_0x581cdb['locale'];_0x43cc0e['descriptionFactory']['registerAttributeLabel']('blockIndent',getTranslation$1(_0x2e3626,'FORMAT_INDENT')),_0x43cc0e['descriptionFactory']['registerAttributeLabel']('blockIndentList',getTranslation$1(_0x2e3626,'FORMAT_INDENT')),_0x43cc0e['descriptionFactory']['registerAttributeLabel']('blockIndentListItem',getTranslation$1(_0x2e3626,'FORMAT_INDENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x29dc33=this['editor'],_0x312124=_0x29dc33['locale'],_0x583167=_0x29dc33['plugins']['get']('TrackChangesEditing');_0x583167['descriptionFactory']['registerDescriptionCallback'](_0x1e9bd2=>{if('formatBlock'!=_0x1e9bd2['type'])return;const {data:_0x3033e5}=_0x1e9bd2;if(!_0x3033e5)return;if('indentBlock'!=_0x3033e5['commandName']&&'outdentBlock'!=_0x3033e5['commandName'])return;const _0x2a3aac=_0x1e9bd2['getItems']()[0x0],_0x37c9d4=_0x583167['descriptionFactory']['getItemLabel'](_0x2a3aac);return'indentBlock'==_0x3033e5['commandName']?{'type':'format','content':getTranslation$1(_0x312124,'*Indent:*\x20%0',_0x37c9d4)}:'outdentBlock'==_0x3033e5['commandName']?{'type':'format','content':getTranslation$1(_0x312124,'*Outdent:*\x20%0',_0x37c9d4)}:void 0x0;});}}class TrackChangesInputCommand extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['Input']];}['init'](){this['editor']['plugins']['get']('TrackChangesEditing')['enableCommand']('input');}}class _0x268c33 extends ckeditor5['Plugin']{['afterInit'](){const _0x344964=this['editor'];if(!_0x344964['plugins']['has']('LinkEditing'))return;const _0x23542b=_0x344964['plugins']['get']('TrackChangesEditing'),_0x16a628=_0x344964['commands']['get']('link');_0x23542b['enableDefaultAttributesIntegration']('link'),_0x23542b['enableDefaultAttributesIntegration']('unlink');for(const _0x10787f of _0x16a628['manualDecorators'])_0x23542b['descriptionFactory']['registerAttributeLabel'](_0x10787f['id'],'link\x20('+_0x10787f['label']['toLowerCase']()+')');_0x23542b['descriptionFactory']['registerDescriptionCallback'](_0x559021=>{if('attribute'!=_0x559021['type'])return;const {data:_0x4c7911}=_0x559021;if(!_0x4c7911||'linkHref'!=_0x4c7911['key'])return;const _0x111e39=_0x4c7911['newValue'],_0x1f5642=_0x344964['locale'];return{'type':'format','content':null==_0x111e39?getTranslation$1(_0x1f5642,'*Remove\x20link*'):getTranslation$1(_0x1f5642,'*Set\x20link:*\x20%0','\x22'+_0x111e39+'\x22')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0xf389dd=this['editor'],_0x4e1ffa=_0xf389dd['locale'];_0xf389dd['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x1fcdad=>{if('formatInline'!=_0x1fcdad['type'])return;const {data:_0x14fe87}=_0x1fcdad;if(_0x14fe87){if('link'==_0x14fe87['commandName']){const _0x7f4c9b=_0x14fe87['commandParams'][0x0];return{'type':'format','content':getTranslation$1(_0x4e1ffa,'*Set\x20link:*\x20%0','\x22'+_0x7f4c9b+'\x22')};}return'unlink'==_0x14fe87['commandName']?{'type':'format','content':getTranslation$1(_0x4e1ffa,'*Remove\x20link*')}:void 0x0;}});}}class TrackChangesLegacyList extends ckeditor5['Plugin']{['afterInit'](){const _0x309603=this['editor'],_0x4d6884=_0x309603['locale'];if(!_0x309603['plugins']['has']('LegacyListEditing'))return;const _0x289a76=_0x309603['plugins']['get']('TrackChangesEditing'),_0x76f3e1=_0x309603['plugins']['has']('LegacyTodoListEditing');function _0x5bcb6a(_0x16d0ce){return()=>{const _0x220f45=_0x309603['model']['document']['selection'],_0x23b87b=_0x309603['commands']['get'](_0x16d0ce);if(_0x23b87b['value'])return void _0x309603['execute']('paragraph',{});const _0x5aa9eb=_0x16d0ce['slice'](0x0,-0x4),_0x35c8f0=getBlocksToMarkForListTypeChange(_0x220f45['getSelectedBlocks'](),_0x5aa9eb,_0x309603['model']['schema']);_0x309603['model']['change'](()=>{for(const _0x4fdd46 of _0x35c8f0)_0x289a76['markBlockFormat'](_0x4fdd46,{'commandName':_0x16d0ce,'commandParams':[{'forceValue':!_0x23b87b['value']}],'formatGroupId':'blockName'},getBlocksAffectedByListTypeChange(_0x4fdd46));});};}function _0xc8b79c(_0x20f2ec){return()=>{const _0x34ceb3=getBlocksToMarkForIndentChange(_0x309603['model']['document']['selection']['getSelectedBlocks']()),_0x2515ea=_0x309603['model']['createRange'](_0x309603['model']['createPositionAt'](_0x34ceb3[0x0],'before'),_0x309603['model']['createPositionAt'](_0x34ceb3[_0x34ceb3['length']-0x1],'end'));_0x309603['model']['change'](()=>{_0x289a76['markBlockFormat'](_0x2515ea,{'commandName':_0x20f2ec,'commandParams':[],'formatGroupId':'listIndent'},getBlocksAffectedByIndent(_0x34ceb3));});};}_0x289a76['enableCommand']('numberedList',_0x5bcb6a('numberedList')),_0x289a76['enableCommand']('bulletedList',_0x5bcb6a('bulletedList')),_0x76f3e1&&_0x289a76['enableCommand']('todoList',_0x5bcb6a('todoList')),_0x289a76['enableCommand']('indentList',_0xc8b79c('indentList')),_0x289a76['enableCommand']('outdentList',_0xc8b79c('outdentList')),_0x76f3e1&&_0x289a76['enableCommand']('checkTodoList',()=>{const _0x1cabd7=_0x309603['commands']['get']('checkTodoList'),_0xa6234d=Array['from'](_0x1cabd7['_selectedElements']);_0xa6234d['filter'](_0x4b4908=>_0x4b4908['getAttribute']('todoListChecked')!=_0x1cabd7['value']),_0x309603['model']['change'](()=>{for(const _0x401fb2 of _0xa6234d)_0x289a76['markBlockFormat'](_0x401fb2,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x1cabd7['value']}]});});}),_0x289a76['descriptionFactory']['registerElementLabel']('listItem',_0x8741ec=>getTranslation$1(_0x4d6884,'ELEMENT_LIST_ITEM',_0x8741ec)),_0x289a76['descriptionFactory']['registerDescriptionCallback'](_0x5a2e2e=>{if('formatBlock'!=_0x5a2e2e['type']&&'formatInline'!=_0x5a2e2e['type'])return;const {data:_0x12fb30}=_0x5a2e2e;if(_0x12fb30){if('numberedList'==_0x12fb30['commandName']||'bulletedList'==_0x12fb30['commandName']||'todoList'==_0x12fb30['commandName'])switch(_0x12fb30['commandName']['replace']('List','')){case'bulleted':return _0x4b56cb(getTranslation$1(_0x4d6884,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x4b56cb(getTranslation$1(_0x4d6884,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x4b56cb(getTranslation$1(_0x4d6884,'ELEMENT_TODO_LIST'));}if('indentList'==_0x12fb30['commandName'])return{'type':'format','content':getTranslation$1(_0x4d6884,'*Indent:*\x20%0',getTranslation$1(_0x4d6884,'ELEMENT_LIST_ITEM'))};if('outdentList'==_0x12fb30['commandName'])return{'type':'format','content':getTranslation$1(_0x4d6884,'*Outdent:*\x20%0',getTranslation$1(_0x4d6884,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0x12fb30['commandName'])return _0x12fb30['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x4d6884,'*Check\x20item*')}:{'type':'format','content':getTranslation$1(_0x4d6884,'*Uncheck\x20item*')};}function _0x4b56cb(_0x4abf6c){return{'type':'format','content':getTranslation$1(_0x4d6884,'*Change\x20to:*\x20%0',_0x4abf6c)};}});}}function getBlocksToMarkForListTypeChange(_0x4a7b1f,_0xd329b1,_0x121931){let _0x43a0b8=Array['from'](_0x4a7b1f)['filter'](_0x4fc446=>checkCanBecomeListItem(_0x4fc446,_0x121931));_0x43a0b8=_0x43a0b8['filter'](_0x533748=>!_0x533748['is']('element','listItem')||_0x533748['getAttribute']('listType')!=_0xd329b1);const _0x58115d=new Set();for(const _0x3bc8b0 of _0x43a0b8)_0x3bc8b0['is']('element','listItem')?_0x58115d['add'](getListHead(_0x3bc8b0)):_0x58115d['add'](_0x3bc8b0);return Array['from'](_0x58115d);}function checkCanBecomeListItem(_0x3f0090,_0x580900){return _0x580900['checkChild'](_0x3f0090['parent'],'listItem')&&!_0x580900['isObject'](_0x3f0090);}function getBlocksToMarkForIndentChange(_0x225651){let _0x3f3664=Array['from'](_0x225651);const _0x484d67=_0x3f3664['findIndex'](_0xf3a6e2=>'listItem'!=_0xf3a6e2['name']);return _0x484d67>-0x1&&(_0x3f3664=_0x3f3664['slice'](0x0,_0x484d67)),_0x3f3664;}function getListHead(_0x227f66){const _0x2db975=_0x227f66['getAttribute']('listIndent');if(0x0==_0x2db975)return _0x227f66;let _0x3a2a9f=_0x227f66;for(;_0x227f66['previousSibling']&&_0x227f66['previousSibling']['is']('element','listItem');){const _0x3df914=_0x227f66['previousSibling']['getAttribute']('listIndent');if(_0x3df914==_0x2db975)_0x3a2a9f=_0x227f66['previousSibling'];else{if(_0x3df914<_0x2db975)break;}_0x227f66=_0x227f66['previousSibling'];}return _0x3a2a9f;}function getBlocksAffectedByListTypeChange(_0xe04940){const _0x3d2d42=[];if(_0xe04940['is']('element','listItem')&&_0xe04940['getAttribute']('listIndent')>0x0){let _0x343468=_0xe04940['nextSibling'];for(;_0x343468&&'listItem'==_0x343468['name']&&_0x343468['getAttribute']('listIndent')==_0xe04940['getAttribute']('listIndent');)_0x3d2d42['push'](_0x343468),_0x343468=_0x343468['nextSibling'];}return _0x3d2d42;}function getBlocksAffectedByIndent(_0x15a570){const _0x43fabc=new Set();for(const _0x5e9117 of _0x15a570){let _0x236768=_0x5e9117['nextSibling'];for(;_0x236768&&_0x236768['getAttribute']('listIndent')>_0x5e9117['getAttribute']('listIndent');)_0x43fabc['add'](_0x236768),_0x236768=_0x236768['nextSibling'];}return Array['from'](_0x43fabc);}class TrackChangesLegacyListProperties extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('LegacyListPropertiesEditing'))return;const _0x442c7b=this['editor']['config']['get']('list.properties'),_0x4776dc=this['editor']['plugins']['get']('TrackChangesEditing');_0x442c7b['styles']&&_0x4776dc['enableCommand']('listStyle',this['handleListStyleCommand']['bind'](this)),_0x442c7b['reversed']&&_0x4776dc['enableCommand']('listReversed',this['handleListReversedCommand']['bind'](this)),_0x442c7b['startIndex']&&_0x4776dc['enableCommand']('listStart',this['handleListStartCommand']['bind'](this)),_0x4776dc['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));}['handleListStyleCommand'](_0x219f6d,_0x3145bc={}){const _0x471462=this['editor']['plugins']['get']('TrackChangesEditing'),_0x166858=this['_getSuggestionBlocksForListStyle']();this['editor']['model']['change'](()=>{_0x471462['markMultiRangeBlockFormat'](_0x166858,{'commandName':'listStyle','commandParams':[{'type':_0x3145bc['type']}],'formatGroupId':'listStyle'});});}['handleListReversedCommand'](_0x481c80,_0x86add5={}){const _0x3f6ce8=this['editor']['plugins']['get']('TrackChangesEditing'),_0x43a379=this['_getSuggestionBlocks'](_0x1a6366=>_0x1a6366['is']('element','listItem')&&'numbered'===_0x1a6366['getAttribute']('listType'));if(_0x43a379['length']<0x1)return;const _0x15472b=_0x43a379['map'](_0x21baaa=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x21baaa,'before'),this['editor']['model']['createPositionAt'](_0x21baaa,0x0)));this['editor']['model']['change'](()=>{_0x3f6ce8['markMultiRangeBlockFormat'](_0x15472b,{'commandName':'listReversed','commandParams':[{'reversed':_0x86add5['reversed']}],'formatGroupId':'listReversed'});});}['handleListStartCommand'](_0x46d7a2,_0x1823c3={}){const _0x25fbeb=this['editor']['plugins']['get']('TrackChangesEditing'),_0x3f869b=this['_getSuggestionBlocks'](_0x405199=>_0x405199['is']('element','listItem')&&'numbered'===_0x405199['getAttribute']('listType'));if(_0x3f869b['length']<0x1)return;const _0x49b88a=_0x3f869b['map'](_0x364880=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x364880,'before'),this['editor']['model']['createPositionAt'](_0x364880,0x0)));this['editor']['model']['change'](()=>{_0x25fbeb['markMultiRangeBlockFormat'](_0x49b88a,{'commandName':'listStart','commandParams':[{'startIndex':_0x1823c3['startIndex']}],'formatGroupId':'listStart'});});}['handleDescriptions'](_0x390962){if('formatBlock'!=_0x390962['type']&&'formatInline'!=_0x390962['type'])return;const _0x363f7a=this['editor']['locale'],{data:_0x1d6994}=_0x390962;if(!_0x1d6994)return;let _0xbd55b1,_0x10a010;switch(_0x1d6994['commandName']){case'listStyle':_0xbd55b1='*Change\x20to:*\x20%0',_0x10a010={'type':'format','content':getTranslation$1(_0x363f7a,_0xbd55b1,getTranslation$1(_0x363f7a,this['_getTranslationKeyForListStyle'](_0x1d6994['commandParams'][0x0]['type'])))};break;case'listReversed':_0xbd55b1=_0x1d6994['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x10a010={'type':'format','content':getTranslation$1(_0x363f7a,_0xbd55b1)};break;case'listStart':_0xbd55b1='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x10a010={'type':'format','content':getTranslation$1(_0x363f7a,_0xbd55b1,_0x1d6994['commandParams'][0x0]['startIndex'])};}return _0x10a010;}['_getSuggestionBlocksForListStyle'](){const _0x24a73c=this['editor']['plugins']['get']('LegacyListUtils');let _0x1c403d=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']());return _0x1c403d[0x0]?.['is']('element','listItem')&&_0x1c403d['unshift'](..._0x24a73c['getSiblingNodes'](this['editor']['model']['document']['selection']['getFirstPosition'](),'backward')),_0x1c403d[_0x1c403d['length']-0x1]?.['is']('element','listItem')&&_0x1c403d['push'](..._0x24a73c['getSiblingNodes'](this['editor']['model']['document']['selection']['getLastPosition'](),'forward')),_0x1c403d=[...new Set(_0x1c403d)],this['editor']['model']['document']['selection']['getFirstPosition']()?.['parent']?.['is']('element','listItem')&&(_0x1c403d=_0x1c403d['filter'](_0x4a3314=>_0x4a3314['is']('element','listItem'))),_0x1c403d;}['_getSuggestionBlocks'](_0x575700){const _0x5afdd9=this['editor']['plugins']['get']('LegacyListUtils');let _0x7144af=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']())['filter'](_0x575700)['map'](_0x57145d=>{const _0x3054e5=this['editor']['model']['createPositionAt'](_0x57145d,0x0);return[..._0x5afdd9['getSiblingNodes'](_0x3054e5,'backward'),..._0x5afdd9['getSiblingNodes'](_0x3054e5,'forward')];})['flat']();return _0x7144af=[...new Set(_0x7144af)],_0x7144af;}['_getTranslationKeyForListStyle'](_0x2c2fc7){return'ELEMENT_'+(this['editor']['plugins']['get']('LegacyListUtils')['getListTypeFromListStyleType'](_0x2c2fc7)||'default')['toUpperCase']()+'_LIST_'+_0x2c2fc7['toUpperCase']()['replace'](/-/g,'_');}}class _0x19f7c9 extends ckeditor5['Plugin']{['afterInit'](){const _0x16733f=this['editor'];if(!_0x16733f['plugins']['has']('MediaEmbedEditing'))return;const _0x59ed27=_0x16733f['plugins']['get']('TrackChangesEditing'),_0x298ccd=_0x16733f['locale'];_0x59ed27['enableCommand']('mediaEmbed'),_0x59ed27['descriptionFactory']['registerElementLabel']('media',_0x4f6d1e=>getTranslation$1(_0x298ccd,'ELEMENT_MEDIA',_0x4f6d1e));}}class TrackChangesMention extends ckeditor5['Plugin']{['afterInit'](){const _0x1814b6=this['editor'];_0x1814b6['plugins']['has']('MentionEditing')&&_0x1814b6['plugins']['get']('TrackChangesEditing')['enableCommand']('mention');}}class _0xd300c0 extends ckeditor5['Plugin']{['afterInit'](){const _0x116119=this['editor'];if(!_0x116119['plugins']['has']('MergeFieldsEditing'))return;const _0x5ea898=_0x116119['plugins']['get']('TrackChangesEditing'),_0x4acdea=_0x116119['locale'];_0x5ea898['enableCommand']('insertMergeField'),_0x5ea898['enableCommand']('insertMergeFieldBlock'),_0x5ea898['enableCommand']('insertMergeFieldImage'),_0x5ea898['descriptionFactory']['registerElementLabel']('mergeField',_0x57dc24=>getTranslation$1(_0x4acdea,'ELEMENT_MERGE_FIELD',_0x57dc24)),_0x5ea898['descriptionFactory']['registerElementLabel']('mergeFieldBlock',_0x540fe1=>getTranslation$1(_0x4acdea,'ELEMENT_MERGE_FIELD',_0x540fe1)),_0x5ea898['descriptionFactory']['registerDescriptionCallback'](_0xdfc8cc=>{if('insertion'!=_0xdfc8cc['type']&&'deletion'!=_0xdfc8cc['type'])return;const _0x2b356e=_0xdfc8cc['getContainedElement']();if(null==_0x2b356e)return;const _0x1d9a3f=_0x116119['plugins']['get']('MergeFieldsEditing');let _0x15d8cc;switch(_0x1d9a3f['getMergeFieldType'](_0x2b356e)){case null:return;case'image':{const _0x2af508=_0x1d9a3f['unwrapAffixes'](_0x2b356e['getAttribute']('src'));_0x15d8cc=_0x1d9a3f['getLabel'](_0x2af508)||_0x2af508;break;}default:{const _0xa40b94=_0x2b356e['getAttribute']('id');_0x15d8cc=_0x1d9a3f['getLabel'](_0xa40b94)||_0xa40b94;break;}}return'insertion'==_0xdfc8cc['type']?{'type':'insertion','content':getTranslation$1(_0x4acdea,'*Insert:*\x20%0','\x22'+_0x15d8cc+'\x22\x20'+getTranslation$1(_0x4acdea,'ELEMENT_MERGE_FIELD'))}:{'type':'deletion','content':getTranslation$1(_0x4acdea,'*Remove:*\x20%0','\x22'+_0x15d8cc+'\x22\x20'+getTranslation$1(_0x4acdea,'ELEMENT_MERGE_FIELD'))};});}}class TrackChangesMultiLevelList extends ckeditor5['Plugin']{['afterInit'](){const _0x40d66e=this['editor'],_0x296064=_0x40d66e['plugins']['get']('TrackChangesEditing');_0x40d66e['plugins']['has']('MultiLevelList')&&(_0x296064['enableDefaultAttributesIntegration']('multiLevelList'),_0x296064['descriptionFactory']['registerDescriptionCallback'](_0x114ec5=>this['handleDescriptions'](_0x114ec5)));}['handleDescriptions'](_0x4b9149){const _0x2690ed=this['editor']['locale'],{data:_0x552639}=_0x4b9149,_0x1b780c={'type':'format','content':''};if(_0x552639&&'listMarkerStyle'==_0x552639['key']){if(!_0x552639['oldValue'])return{'type':'format','content':getTranslation$1(_0x2690ed,'*Set\x20format:*\x20%0',getTranslation$1(_0x2690ed,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0x552639['newValue']+')'};if(!_0x552639['newValue']){let _0x28b3e3=_0x4b9149['head'];for(;_0x28b3e3;){if(_0x28b3e3['data']&&'listType'==_0x28b3e3['data']['key']&&_0x28b3e3['data']['newValue'])return _0x1b780c;_0x28b3e3=_0x28b3e3['next'];}return{'type':'format','content':getTranslation$1(_0x2690ed,'*Remove\x20format:*\x20%0',getTranslation$1(_0x2690ed,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0x552639['oldValue']+')'};}}}}class _0x103fd0 extends ckeditor5['Plugin']{['afterInit'](){const _0x51d0e3=this['editor'];if(!_0x51d0e3['plugins']['has']('PageBreakEditing'))return;_0x51d0e3['plugins']['get']('TrackChangesEditing')['enableCommand']('pageBreak');const _0x2f5b0b=_0x51d0e3['plugins']['get']('TrackChangesEditing'),_0x38e914=_0x51d0e3['locale'];_0x2f5b0b['descriptionFactory']['registerElementLabel']('pageBreak',_0x235d1c=>getTranslation$1(_0x38e914,'ELEMENT_PAGE_BREAK',_0x235d1c));}}class _0xc3c74d extends ckeditor5['Plugin']{['afterInit'](){const _0x2618e3=this['editor'];if(!_0x2618e3['plugins']['has']('Paragraph'))return;const _0x1e0d02=_0x2618e3['locale'],_0x59d646=_0x2618e3['plugins']['get']('TrackChangesEditing');_0x59d646['descriptionFactory']['registerElementLabel']('paragraph',_0x3abd76=>getTranslation$1(_0x1e0d02,'ELEMENT_PARAGRAPH',_0x3abd76)),_0x59d646['enableDefaultAttributesIntegration']('paragraph'),_0x59d646['enableCommand']('insertParagraph');const _0x5da1f6=_0x59d646['descriptionFactory'];_0x5da1f6['registerDescriptionCallback'](_0x4019ca=>{if('insertion'!==_0x4019ca['type'])return;const {start:_0x3788d3,end:_0xf2b0b2}=_0x4019ca['getFirstRange']();if(!_0x3788d3['isTouching'](_0xf2b0b2)||!_0x3788d3['nodeAfter'])return;const _0x4d2094=_0x2618e3['model']['schema'],_0x3a11b4=_0x3788d3['nodeAfter'];return _0x4d2094['isBlock'](_0x3a11b4)&&!_0x4d2094['isLimit'](_0x3a11b4)&&_0x4d2094['checkChild'](_0x3a11b4,'$text')?{'type':'insertion','content':getTranslation$1(_0x1e0d02,'*Insert:*\x20%0',_0x5da1f6['getItemLabel'](_0x3a11b4,0x1))}:void 0x0;}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x8ec95d=this['editor'],_0x3d1922=_0x8ec95d['locale'];_0x8ec95d['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x4e50c8=>{if('formatBlock'!=_0x4e50c8['type'])return;const {data:_0x1bca07}=_0x4e50c8;return _0x1bca07&&'paragraph'==_0x1bca07['commandName']?{'type':'format','content':getTranslation$1(_0x3d1922,'*Change\x20to:*\x20%0',getTranslation$1(_0x3d1922,'ELEMENT_PARAGRAPH'))}:void 0x0;});}}class _0x32692a extends ckeditor5['Plugin']{['afterInit'](){const _0x2fb6fe=this['editor'];_0x2fb6fe['commands']['get']('replaceSource')&&_0x2fb6fe['plugins']['get']('TrackChangesEditing')['enableCommand']('replaceSource');}}class TrackChangesRemoveFormat extends ckeditor5['Plugin']{['afterInit'](){const _0x5f3daf=this['editor'];if(!_0x5f3daf['plugins']['has']('RemoveFormatEditing'))return;_0x5f3daf['plugins']['get']('TrackChangesEditing')['enableDefaultAttributesIntegration']('removeFormat'),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x55ae54=this['editor'];_0x55ae54['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x5d37d8=>{if('formatBlock'!=_0x5d37d8['type']&&'formatInline'!=_0x5d37d8['type'])return;const {data:_0x145bc1}=_0x5d37d8;return _0x145bc1&&'removeFormat'==_0x145bc1['commandName']?{'type':'format','content':getTranslation$1(_0x55ae54['locale'],'*Remove\x20all\x20formatting*')}:void 0x0;});}}class TrackChangesRestrictedEditingMode extends ckeditor5['Plugin']{['afterInit'](){const _0x59598a=this['editor'];if(!_0x59598a['plugins']['has']('RestrictedEditingModeEditing'))return;const _0xd37188=_0x59598a['plugins']['get']('TrackChangesEditing');_0xd37188['enableCommand']('goToPreviousRestrictedEditingException'),_0xd37188['enableCommand']('goToNextRestrictedEditingException');const _0x4e842b=_0x59598a['plugins']['get']('RestrictedEditingModeEditing');_0x4e842b['enableCommand']('trackChanges'),_0x4e842b['enableCommand']('acceptSuggestion'),_0x4e842b['enableCommand']('discardSuggestion'),_0x4e842b['enableCommand']('acceptAllSuggestions'),_0x4e842b['enableCommand']('discardAllSuggestions'),_0x4e842b['enableCommand']('acceptSelectedSuggestions'),_0x4e842b['enableCommand']('discardSelectedSuggestions');}}class TrackChangesShiftEnterCommand extends ckeditor5['Plugin']{['afterInit'](){const _0x323f2a=this['editor'];if(!_0x323f2a['plugins']['has']('ShiftEnter'))return;const _0x1e4d0d=_0x323f2a['plugins']['get']('TrackChangesEditing');_0x1e4d0d['enableCommand']('shiftEnter'),_0x1e4d0d['descriptionFactory']['registerElementLabel']('softBreak',_0x3587eb=>getTranslation$1(_0x323f2a['locale'],'ELEMENT_LINE_BREAK',_0x3587eb));}}function getRangesWithAttribute(_0x11c9b8,_0x45f0ba,_0x14f078){const _0x1a7931=[];for(const _0x3ff058 of _0x45f0ba['getItems']())_0x3ff058['hasAttribute'](_0x11c9b8)&&_0x1a7931['push'](_0x14f078['createRangeOn'](_0x3ff058));return _0x1a7931;}class TrackChangesStandardEditingMode extends ckeditor5['Plugin']{['afterInit'](){const _0xb26b87=this['editor'],_0x5956bf=_0xb26b87['plugins']['get']('TrackChangesEditing');_0xb26b87['plugins']['has']('StandardEditingModeEditing')&&(this['_enableEditingExceptionCommand'](),this['_enableEditingExceptionBlockCommand'](),_0x5956bf['enableCommand']('restrictedEditingExceptionAuto'));}['_enableEditingExceptionCommand'](){const _0xacd091=this['editor'],_0x2c3c67=_0xacd091['model'],_0x39c820=_0xacd091['locale'],_0x4471a8=_0xacd091['plugins']['get']('TrackChangesEditing'),_0x4d4f2a='restrictedEditingException',_0x276a9b=_0xacd091['commands']['get'](_0x4d4f2a);_0x4471a8['enableCommand'](_0x4d4f2a,(_0x26fdc6,_0x341e86={})=>{const _0x65d483=_0x2c3c67['document']['selection'];if(_0x65d483['isCollapsed'])return void _0x26fdc6(_0x341e86);const _0x118bd4=void 0x0!==_0x341e86['forceValue']?_0x341e86['forceValue']:!_0x276a9b['value'];_0x2c3c67['change'](()=>{const _0x5da9eb=Array['from'](_0x65d483['getRanges']());for(const _0x1afed of _0x5da9eb){const _0x1fa32d=_0x118bd4?[_0x1afed]:getRangesWithAttribute(_0x4d4f2a,_0x1afed,_0x2c3c67);for(const _0x53c684 of _0x1fa32d)_0x4471a8['markInlineFormat'](_0x53c684,{'commandName':_0x4d4f2a,'commandParams':[{'forceValue':_0x118bd4}]});}});}),_0x4471a8['descriptionFactory']['registerDescriptionCallback'](_0x542b42=>{if('formatBlock'!=_0x542b42['type']&&'formatInline'!=_0x542b42['type'])return;const {data:_0x2542e}=_0x542b42;return _0x2542e&&_0x2542e['commandName']==_0x4d4f2a?_0x2542e['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x39c820,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':getTranslation$1(_0x39c820,'FORMAT_RESTRICTED_DISABLED')}:void 0x0;});}['_enableEditingExceptionBlockCommand'](){const _0x89c72a=this['editor'],_0x7ca480=_0x89c72a['locale'],_0x19e4c5=_0x89c72a['plugins']['get']('TrackChangesEditing'),_0x15a15d='restrictedEditingExceptionBlock',_0x121b6d=this['editor']['commands']['get'](_0x15a15d);_0x19e4c5['enableCommand'](_0x15a15d,(_0x31ed42,_0x114835={})=>{const _0x285e13=this['editor']['model']['document']['selection'],_0x1383ba=_0x114835&&void 0x0!==_0x114835['forceValue']?_0x114835['forceValue']:!_0x121b6d['value'];let _0x607af1=[];if(_0x1383ba){const _0x22b609=Array['from'](_0x285e13['getSelectedBlocks']())['filter'](_0x396ec1=>isInBlockException(_0x396ec1)||_0x824637(_0x396ec1,this['editor']['model']['schema']));_0x607af1=getRangesOfBlockGroups(_0x22b609,_0x89c72a['model']);}else{const _0x3610ae=Array['from'](_0x285e13['getSelectedBlocks']())['map'](_0x359311=>findExceptionContentBlock(_0x359311))['filter'](_0x2a75b5=>!!_0x2a75b5);_0x607af1=getRangesOfBlockGroups(_0x3610ae,_0x89c72a['model']);}_0x89c72a['model']['change'](()=>{for(const _0x2a867f of _0x607af1)_0x19e4c5['markBlockFormat'](_0x2a867f,{'commandName':_0x15a15d,'commandParams':[{'forceValue':_0x1383ba}]});});}),_0x19e4c5['descriptionFactory']['registerDescriptionCallback'](_0x4cace0=>{const {data:_0x1a0eae}=_0x4cace0;if(_0x1a0eae&&_0x1a0eae['commandName']==_0x15a15d)return _0x1a0eae['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x7ca480,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':getTranslation$1(_0x7ca480,'FORMAT_RESTRICTED_DISABLED')};});}}function _0x824637(_0x366e74,_0x28737e){const _0x12fba8=_0x28737e['createContext'](_0x366e74['parent']);return!!_0x28737e['checkChild'](_0x12fba8,'restrictedEditingException')&&!!_0x28737e['checkChild'](_0x12fba8['push']('restrictedEditingException'),_0x366e74);}function isInBlockException(_0x52a278){return!!_0x52a278['findAncestor']('restrictedEditingException',{'includeSelf':!0x0});}function findExceptionContentBlock(_0x1ea92f){let _0x5e4b94=_0x1ea92f;for(;_0x5e4b94['parent'];){if('restrictedEditingException'==_0x5e4b94['parent']['name'])return _0x5e4b94;_0x5e4b94=_0x5e4b94['parent'];}return null;}class TrackChangesStylesDropdown extends ckeditor5['Plugin']{['afterInit'](){const _0x2e0370=this['editor'];if(!_0x2e0370['plugins']['has']('Style')||!_0x2e0370['plugins']['has']('DataSchema'))return;const _0x5d8526=_0x2e0370['plugins']['get']('TrackChangesEditing'),_0x4cadbc=_0x2e0370['locale'],_0x32a770=_0x2e0370['config']['get']('style')||{},_0x41bba3=_0x2e0370['plugins']['get']('GeneralHtmlSupport'),_0x261383=_0x2e0370['plugins']['get']('StyleUtils')['normalizeConfig'](_0x2e0370['plugins']['get']('DataSchema'),_0x32a770['definitions']);_0x5d8526['enableDefaultAttributesIntegration']('style');const _0x95fed5=new Set();for(const _0x1b0b06 of _0x261383['block']){const _0x72c866=_0x41bba3['getGhsAttributeNameForElement'](_0x1b0b06['element']);_0x95fed5['add'](_0x72c866);}const _0x6fd28a=new Set();for(const _0x37664a of _0x261383['inline']){const _0x404c7d=_0x41bba3['getGhsAttributeNameForElement'](_0x37664a['element']);_0x6fd28a['add'](_0x404c7d);for(const _0x282971 of _0x37664a['ghsAttributes'])_0x6fd28a['add'](_0x282971);}for(const _0x220c61 of _0x95fed5)_0x5d8526['descriptionFactory']['registerAttributeLabel'](_0x220c61,getTranslation$1(_0x4cadbc,'FORMAT_STYLE'));for(const _0x1d331e of _0x6fd28a)_0x5d8526['descriptionFactory']['registerAttributeLabel'](_0x1d331e,getTranslation$1(_0x4cadbc,'FORMAT_STYLE'));this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x44d49f=this['editor'],_0x514885=_0x44d49f['locale'];_0x44d49f['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x4b4613=>{if('formatBlock'!=_0x4b4613['type']&&'formatInline'!=_0x4b4613['type'])return;const {data:_0x21ad61}=_0x4b4613;return _0x21ad61&&'style'===_0x21ad61['commandName']?_0x21ad61['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x514885,'*Set\x20format:*\x20%0',_0x21ad61['commandParams'][0x0]['styleName']['toLowerCase']())}:{'type':'format','content':getTranslation$1(_0x514885,'*Remove\x20format:*\x20%0',_0x21ad61['commandParams'][0x0]['styleName']['toLowerCase']())}:void 0x0;});}}class _0xb46e35 extends ckeditor5['Plugin']{['_tablePostFixingSubtypes'];['_tableSuggestions'];constructor(_0x359bbe){super(_0x359bbe),this['_tablePostFixingSubtypes']=['tableRow','tableColumn'],this['_tableSuggestions']=new Set();}['afterInit'](){const _0x4e063c=this['editor'],_0x2287e0=_0x4e063c['model']['document']['selection'];if(!_0x4e063c['plugins']['has']('TableEditing'))return;const _0x50b8e7=_0x4e063c['locale'],_0x49f26f=_0x4e063c['plugins']['get']('TrackChangesEditing'),_0x1f29f5=_0x4e063c['plugins']['get']('TableUtils');_0x49f26f['descriptionFactory']['registerElementLabel']('table',_0x13d867=>getTranslation$1(_0x50b8e7,'ELEMENT_TABLE',_0x13d867)),this['_setupColumnsRowsFixing'](),_0x49f26f['enableCommand']('insertTable'),_0x49f26f['enableCommand']('selectTableRow'),_0x49f26f['enableCommand']('selectTableColumn');for(const _0xf9d416 of['insertTableRowAbove','insertTableRowBelow']){const _0x19a131=_0x4e063c['commands']['get'](_0xf9d416);_0x49f26f['enableCommand'](_0xf9d416,_0x489239=>{_0x4e063c['model']['change'](_0x1734dc=>{_0x489239();const _0x39d898='above'===_0x19a131['order'],_0x15b275=_0x1f29f5['getSelectionAffectedTableCells'](_0x2287e0),_0xf78b76=_0x1f29f5['getRowIndexes'](_0x15b275),_0xdb7977=_0x39d898?_0xf78b76['first']-0x1:_0xf78b76['last']+0x1,_0x3ecc1a=_0x15b275[0x0]['findAncestor']('table'),_0x565746=_0x1f29f5['createTableWalker'](_0x3ecc1a,{'startRow':_0xdb7977,'endRow':_0xdb7977}),_0x459a9e=Array['from'](_0x565746)['map'](_0x563dad=>_0x1734dc['createRangeOn'](_0x563dad['cell']));_0x49f26f['markMultiRangeInsertion'](_0x459a9e,'tableRow');});});}for(const _0x43e71d of['insertTableColumnLeft','insertTableColumnRight']){const _0x46591d=_0x4e063c['commands']['get'](_0x43e71d);_0x49f26f['enableCommand'](_0x43e71d,_0x27dd69=>{_0x4e063c['model']['change'](_0x119466=>{_0x27dd69();const _0x46f1d6='left'===_0x46591d['order'],_0x49e638=_0x1f29f5['getSelectionAffectedTableCells'](_0x2287e0),_0x228a69=_0x1f29f5['getColumnIndexes'](_0x49e638),_0x551c1b=_0x46f1d6?_0x228a69['first']-0x1:_0x228a69['last']+0x1,_0x2574ec=_0x49e638[0x0]['findAncestor']('table'),_0x4ad548=_0x1f29f5['createTableWalker'](_0x2574ec,{'startRow':0x0,'column':_0x551c1b,'includeAllSlots':!0x1}),_0x3e9633=Array['from'](_0x4ad548)['map'](_0x3dadf5=>_0x119466['createRangeOn'](_0x3dadf5['cell']));_0x49f26f['markMultiRangeInsertion'](_0x3e9633,'tableColumn');});});}for(const _0x4f70a1 of['removeTableRow','removeTableColumn']){const _0x2dfdf3=_0x4f70a1['substr'](0xb),_0x1bcc94=_0x2dfdf3['toLowerCase'](),_0xfffd2e=_0x1bcc94['substr'](0x0,0x3)+'span',_0x4bc4e8='table'+_0x2dfdf3,_0x5ba18b='min'+_0x2dfdf3,_0x2b026e='max'+_0x2dfdf3;_0x49f26f['enableCommand'](_0x4f70a1,()=>{_0x4e063c['model']['change'](_0x4d48b4=>{const _0x353c1d=_0x1f29f5['getSelectionAffectedTableCells'](_0x2287e0),_0x262487=_0x353c1d[0x0]['findAncestor']('table');let _0x1024bd;if('removeTableRow'==_0x4f70a1){const _0x40711c=_0x1f29f5['getRowIndexes'](_0x353c1d);_0x1024bd={'startRow':_0x40711c['first'],'endRow':_0x40711c['last'],'includeAllSlots':!0x0};}else{const _0x112e63=_0x1f29f5['getColumnIndexes'](_0x353c1d);_0x1024bd={'startColumn':_0x112e63['first'],'endColumn':_0x112e63['last'],'includeAllSlots':!0x0};}const _0x87ba79=_0x1f29f5['createTableWalker'](_0x262487,_0x1024bd),_0x47c358=Array['from'](_0x87ba79)['map'](({cell:_0x798d92})=>_0x798d92),_0x3e836d=_0x91d070(_0x47c358['filter'](_0x34e9e8=>_0x34e9e8['hasAttribute'](_0xfffd2e))),_0x26df44=_0x91d070(_0x47c358['filter'](_0x35be12=>!_0x35be12['hasAttribute'](_0xfffd2e)))['map'](_0x53fb3c=>_0x4d48b4['createRangeOn'](_0x53fb3c)),_0x1e6b64=_0x49f26f['markMultiRangeDeletion'](_0x26df44,_0x4bc4e8);if(_0x1e6b64&&('tableRow'==_0x1e6b64['subType']||'tableColumn'==_0x1e6b64['subType'])){const _0x221fdb=this['_getSuggestionCoords'](_0x1e6b64);for(const _0x1e0cf1 of _0x3e836d){const _0x20375b=_0x4d48b4['createRangeOn'](_0x1e0cf1),_0x53d93b=_0x1f29f5['getCellLocation'](_0x1e0cf1),_0x211a84=_0x1e0cf1['getAttribute'](_0xfffd2e)-0x1,_0x215dec=_0x221fdb[_0x5ba18b],_0x7f1ea9=_0x221fdb[_0x2b026e];_0x215dec<=_0x53d93b[_0x1bcc94]&&_0x53d93b[_0x1bcc94]+_0x211a84<=_0x7f1ea9&&_0x1e6b64['addRange'](_0x20375b);}}});});}function _0x233761(_0x293f8d){const _0xea4e1=Array['from'](_0x2287e0['getRanges']())['map'](_0x2de1a7=>ckeditor5['ModelLiveRange']['fromRange'](_0x2de1a7));_0x4e063c['model']['change'](_0x5b5abc=>{const _0x491a21=_0x5b5abc['batch'];_0x293f8d=_0x293f8d['filter'](_0x410da9=>'$graveyard'!=_0x410da9['root']['rootName']),_0x5b5abc['setSelection'](_0x293f8d),_0x4e063c['commands']['get']('removeTableRow')['refresh'](),_0x4e063c['execute']('removeTableRow',{'forceDefaultExecution':!0x0}),_0x4e063c['model']['enqueueChange'](()=>{_0x4e063c['model']['enqueueChange'](_0x491a21,_0x14dfe7=>{const _0x31ccd8=_0xea4e1['filter'](_0x303cba=>'$graveyard'!=_0x303cba['root']['rootName']);_0x31ccd8['length']>0x0&&_0x14dfe7['setSelection'](_0x31ccd8);for(const _0x536f8a of _0xea4e1)_0x536f8a['detach']();});});});}function _0x3d6600(_0x22a3c8){_0x4e063c['model']['change'](_0x3cb56f=>{const _0x5bff97=Array['from'](_0x2287e0['getRanges']())['map'](_0xe81464=>ckeditor5['ModelLiveRange']['fromRange'](_0xe81464)),_0xaa57f8=[];for(const _0xc8affb of _0x22a3c8)for(const _0x112d58 of _0xc8affb['getItems']({'shallow':!0x0}))_0xaa57f8['push'](_0x112d58);for(const _0x1e16ba of _0xaa57f8)'$graveyard'!=_0x1e16ba['root']['rootName']&&(_0x3cb56f['setSelection'](_0x3cb56f['createPositionAt'](_0x1e16ba,0x0)),_0x4e063c['commands']['get']('removeTableColumn')['refresh'](),_0x4e063c['execute']('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x49c372=_0x5bff97['filter'](_0x1a00b2=>'$graveyard'!=_0x1a00b2['root']['rootName']);_0x49c372['length']>0x0&&_0x3cb56f['setSelection'](_0x49c372);for(const _0x1bcefc of _0x5bff97)_0x1bcefc['detach']();});}function _0x329bce(_0x28b099,_0x42fc6d){return _0x42fc6d['every'](_0x2fd110=>_0x28b099['some'](_0x338c9f=>_0x338c9f['end']['isEqual'](_0x2fd110['start'])||_0x2fd110['end']['isEqual'](_0x338c9f['start'])));}function _0x205d35(_0x1f49b1,_0x3d5c1d){return!_0x1f49b1['some'](_0x21b320=>_0x3d5c1d['some'](_0x49de21=>_0x21b320['isIntersecting'](_0x49de21)))&&_0x1f49b1['some'](_0x33c0a0=>_0x3d5c1d['some'](_0x3a8478=>_0x33c0a0['end']['isTouching'](_0x3a8478['start'])));}_0x49f26f['descriptionFactory']['registerDescriptionCallback'](_0x1df67c=>{if('insertion'!=_0x1df67c['type']&&'deletion'!=_0x1df67c['type'])return;const _0x369752=_0x1df67c['getContainedElement']();if(null!=_0x369752&&_0x369752['is']('element','table')){if('insertion'==_0x1df67c['type']){const _0x2d258c=_0x1df67c['getItems']()['filter'](_0xc015ce=>_0xc015ce['is']('$textProxy'))['map'](_0x1d2638=>_0x1d2638['data']);if(_0x2d258c['length'])return{'type':'insertion','content':getTranslation$1(_0x50b8e7,'*Insert:*\x20%0',getTranslation$1(_0x50b8e7,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x2d258c['join']('\x20')+'\x22'))};}if('deletion'==_0x1df67c['type']){const _0x4ef832=_0x1df67c['getItems']()['filter'](_0x49b217=>_0x49b217['is']('$textProxy'))['map'](_0x50961c=>_0x50961c['data']);if(_0x4ef832['length'])return{'type':'deletion','content':getTranslation$1(_0x50b8e7,'*Remove:*\x20%0',getTranslation$1(_0x50b8e7,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x4ef832['join']('\x20')+'\x22'))};}}}),_0x49f26f['descriptionFactory']['registerDescriptionCallback'](_0x46644a=>{if('tableRow'==_0x46644a['subType']){const _0xb13b2e=_0x46644a['getItems']()['filter'](_0x4d1a05=>_0x4d1a05['is']('$textProxy'))['map'](_0x840f12=>_0x840f12['data']),_0x2286b0=this['_getSuggestionCoords'](_0x46644a),_0x5b0fda=_0x2286b0['maxRow']-_0x2286b0['minRow']+0x1;if('insertion'==_0x46644a['type'])return _0xb13b2e['length']?{'type':'insertion','content':getTranslation$1(_0x50b8e7,'*Insert:*\x20%0',getTranslation$1(_0x50b8e7,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x5b0fda,'\x22'+_0xb13b2e['join']('\x20')+'\x22']))}:{'type':'insertion','content':getTranslation$1(_0x50b8e7,'*Insert:*\x20%0',getTranslation$1(_0x50b8e7,'ELEMENT_TABLE_ROW',_0x5b0fda))};if('deletion'==_0x46644a['type'])return _0xb13b2e['length']?{'type':'deletion','content':getTranslation$1(_0x50b8e7,'*Remove:*\x20%0',getTranslation$1(_0x50b8e7,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x5b0fda,'\x22'+_0xb13b2e['join']('\x20')+'\x22']))}:{'type':'deletion','content':getTranslation$1(_0x50b8e7,'*Remove:*\x20%0',getTranslation$1(_0x50b8e7,'ELEMENT_TABLE_ROW',_0x5b0fda))};}if('tableColumn'==_0x46644a['subType']){const _0x1d190d=_0x46644a['getItems']()['filter'](_0x40e5e6=>_0x40e5e6['is']('$textProxy'))['map'](_0x35987f=>_0x35987f['data']),_0x27c302=this['_getSuggestionCoords'](_0x46644a),_0x3fc144=_0x27c302['maxColumn']-_0x27c302['minColumn']+0x1;if('insertion'==_0x46644a['type'])return _0x1d190d['length']?{'type':'insertion','content':getTranslation$1(_0x50b8e7,'*Insert:*\x20%0',getTranslation$1(_0x50b8e7,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x3fc144,'\x22'+_0x1d190d['join']('\x20')+'\x22']))}:{'type':'insertion','content':getTranslation$1(_0x50b8e7,'*Insert:*\x20%0',getTranslation$1(_0x50b8e7,'ELEMENT_TABLE_COLUMN',_0x3fc144))};if('deletion'==_0x46644a['type'])return _0x1d190d['length']?{'type':'deletion','content':getTranslation$1(_0x50b8e7,'*Remove:*\x20%0',getTranslation$1(_0x50b8e7,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x3fc144,'\x22'+_0x1d190d['join']('\x20')+'\x22']))}:{'type':'deletion','content':getTranslation$1(_0x50b8e7,'*Remove:*\x20%0',getTranslation$1(_0x50b8e7,'ELEMENT_TABLE_COLUMN',_0x3fc144))};}}),_0x49f26f['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','discard',_0x233761),_0x49f26f['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','accept',_0x233761),_0x49f26f['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','discard',_0x3d6600),_0x49f26f['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','accept',_0x3d6600),_0x49f26f['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','join',_0x329bce),_0x49f26f['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','join',_0x329bce),_0x49f26f['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','join',_0x205d35),_0x49f26f['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','join',_0x205d35);}['_acceptFormatSuggestionCallbackFactory'](){const _0x19e56a=this['editor'],_0x7798be=_0x19e56a['model']['document']['selection'];return(_0x414643,_0x1b0007)=>{_0x19e56a['model']['change'](_0x592f08=>{const {commandName:_0xfbf9e3,commandParams:_0x77de30}=_0x1b0007;let _0x3f6649=_0x414643[0x0]['end']['nodeBefore'];_0x77de30&&_0x77de30[0x0]&&!0x1===_0x77de30[0x0]['forceValue']&&(_0x3f6649=_0x414643[0x0]['start']['nodeAfter']);const _0x14975c=_0x592f08['createRangeIn'](_0x3f6649);if('$graveyard'==_0x14975c['root']['rootName'])return;const _0x13826d=Array['from'](_0x7798be['getRanges']())['map'](_0x5dff7e=>ckeditor5['ModelLiveRange']['fromRange'](_0x5dff7e));_0x592f08['setSelection'](_0x14975c),_0x19e56a['commands']['get'](_0xfbf9e3)['refresh'](),_0x77de30['push']({'forceDefaultExecution':!0x0}),_0x19e56a['execute'](_0xfbf9e3,..._0x77de30);const _0x1973f9=_0x13826d['filter'](_0xde0182=>'$graveyard'!=_0xde0182['root']['rootName']);_0x1973f9['length']>0x0&&_0x592f08['setSelection'](_0x1973f9);for(const _0x5670b3 of _0x13826d)_0x5670b3['detach']();});};}['_getCoordsForCells'](_0x50f972){const _0x254c25=this['editor']['plugins']['get']('TableUtils');let _0x311c4c=Number['MAX_SAFE_INTEGER'],_0x3b2afe=Number['MIN_SAFE_INTEGER'],_0x19e7c7=Number['MAX_SAFE_INTEGER'],_0x26f2d0=Number['MIN_SAFE_INTEGER'];for(const _0x547e3f of _0x50f972){if('$graveyard'==_0x547e3f['root']['rootName'])continue;const {row:_0x22f06c,column:_0x5d6473}=_0x254c25['getCellLocation'](_0x547e3f),_0x3801a1=_0x547e3f['hasAttribute']('rowspan')?_0x547e3f['getAttribute']('rowspan')-0x1:0x0,_0x4e4b41=_0x547e3f['hasAttribute']('colspan')?_0x547e3f['getAttribute']('colspan')-0x1:0x0;_0x311c4c=_0x22f06c<_0x311c4c?_0x22f06c:_0x311c4c,_0x3b2afe=_0x22f06c+_0x3801a1>_0x3b2afe?_0x22f06c+_0x3801a1:_0x3b2afe,_0x19e7c7=_0x5d6473<_0x19e7c7?_0x5d6473:_0x19e7c7,_0x26f2d0=_0x5d6473+_0x4e4b41>_0x26f2d0?_0x5d6473+_0x4e4b41:_0x26f2d0;}return{'minRow':_0x311c4c,'maxRow':_0x3b2afe,'minColumn':_0x19e7c7,'maxColumn':_0x26f2d0};}['_setupColumnsRowsFixing'](){const _0x1a4582=this['editor'],_0x1ba9d1=_0x1a4582['plugins']['get']('TrackChangesEditing'),_0x18a442=_0x1a4582['plugins']['get']('TableUtils');_0x1a4582['model']['document']['on']('change:data',()=>{const _0x2c3320=Array['from'](_0x1a4582['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x882a1d,data:_0x5b6326}of _0x2c3320){const {group:_0x24b756,id:_0x50b456,subType:_0x5efeb3}=_0x1ba9d1['_splitMarkerName'](_0x882a1d);if('suggestion'!=_0x24b756)continue;if(null!=_0x5b6326['oldRange'])continue;const _0x51acbb=_0x1ba9d1['getSuggestion'](_0x50b456);this['_tablePostFixingSubtypes']['includes'](_0x5efeb3)&&this['_tableSuggestions']['add'](_0x51acbb);}},{'priority':'low'});const _0x486ef5=(_0x1492c7,_0x458aa4)=>{let _0x4b7aeb=!0x1;const _0x1436ce=_0x458aa4['createRangeOn'](_0x1492c7),_0x3c7eea=_0x1492c7['findAncestor']('table'),_0x3ec3d3=_0x18a442['getCellLocation'](_0x1492c7);for(const _0x2f08da of this['_tableSuggestions']){const _0x4eac48=_0x2f08da['subType'],_0x1e2484=_0x4eac48['startsWith']('tablePaste'),_0x573c8a=_0x4eac48['substr'](_0x1e2484?0xa:0x5),_0x19d3db=_0x573c8a['toLowerCase'](),_0x5e0664=_0x19d3db['substr'](0x0,0x3)+'span',_0x4b08f2='min'+_0x573c8a,_0x5085e6='max'+_0x573c8a;if(!_0x2f08da['isInContent'])continue;if(_0x3c7eea!=_0x2f08da['getFirstRange']()['start']['findAncestor']('table'))continue;if(_0x2f08da['isIntersectingWithRange'](_0x1436ce))continue;const _0x1a00e2=_0x1492c7['hasAttribute'](_0x5e0664)?_0x1492c7['getAttribute'](_0x5e0664)-0x1:0x0,_0x2a4ae0=this['_getSuggestionCoords'](_0x2f08da),_0x2bbb9d=_0x2a4ae0[_0x4b08f2],_0x28ee25=_0x2a4ae0[_0x5085e6];_0x2bbb9d<=_0x3ec3d3[_0x19d3db]&&_0x3ec3d3[_0x19d3db]+_0x1a00e2<=_0x28ee25&&(_0x2f08da['addRange'](_0x1436ce),_0x4b7aeb=!0x0);}return _0x4b7aeb;};_0x1a4582['model']['document']['registerPostFixer'](_0x4c3968=>{let _0x52ec99=!0x1;for(const _0x151c40 of _0x1a4582['model']['document']['differ']['getChanges']())if('insert'==_0x151c40['type']){if('tableRow'==_0x151c40['name']){for(const _0x1c826 of _0x151c40['position']['nodeAfter']['getChildren']())_0x52ec99=_0x52ec99||_0x486ef5(_0x1c826,_0x4c3968);}else'tableCell'==_0x151c40['name']&&(_0x52ec99=_0x52ec99||_0x486ef5(_0x151c40['position']['nodeAfter'],_0x4c3968));}return _0x52ec99;});}['_getSuggestionCoords'](_0x4fc1e8){return this['_getCoordsForCells'](_0x4fc1e8['getRanges']()['map'](_0x1d0f3c=>_0x1d0f3c['start']['nodeAfter']));}}function _0x91d070(_0x595a88){return Array['from'](new Set(_0x595a88)['values']());}class TrackChangesTableMergeSplit extends ckeditor5['Plugin']{static get['requires'](){return[_0xb46e35];}['afterInit'](){const _0x2e2ddf=this['editor'],_0xba056e=_0x2e2ddf['model']['document']['selection'],_0x291cec=_0x2e2ddf['locale'];if(!_0x2e2ddf['plugins']['has']('TableEditing'))return;const _0x3a7895=_0x2e2ddf['plugins']['get']('TrackChangesEditing'),_0x3d9ac4=_0x2e2ddf['plugins']['get']('TableUtils'),_0x2911ff=_0x2e2ddf['plugins']['get'](_0xb46e35);_0x2911ff['_tablePostFixingSubtypes']['push']('mergeTableCells'),_0x3a7895['enableCommand']('mergeTableCells',()=>{const _0x288a11=_0x3d9ac4['getSelectionAffectedTableCells'](_0x2e2ddf['model']['document']['selection']);_0x2e2ddf['model']['change'](()=>{_0x3a7895['markMultiRangeBlockFormat'](_0x288a11,{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});}),_0x2e2ddf['commands']['get']('mergeTableCells')['on']('execute',(_0x24bf1e,_0x35e5f6)=>{_0x2e2ddf['commands']['get']('trackChanges')['value']&&(_0x35e5f6['length']>0x0&&_0x35e5f6[_0x35e5f6['length']-0x1]&&_0x35e5f6[_0x35e5f6['length']-0x1]['forceDefaultExecution']||_0x3a7895['_isForcedDefaultExecutionBlock']||this['_areSelectedCellsMergable']()||_0x24bf1e['stop']());},{'priority':'highest'});for(const _0x4eb473 of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft']){const _0x59c607=_0x2e2ddf['commands']['get'](_0x4eb473);_0x3a7895['enableCommand'](_0x4eb473,()=>{const _0x22edd1=_0x2e2ddf['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x22bae6=>_0x22bae6['is']('element','tableCell')),_0x2deced=_0x59c607['value'];_0x2e2ddf['model']['change'](()=>{_0x3a7895['markMultiRangeBlockFormat']([_0x22edd1,_0x2deced],{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});});}for(const _0x3d9fb2 of['splitTableCellVertically','splitTableCellHorizontally']){const _0x5c554c=_0x2e2ddf['commands']['get'](_0x3d9fb2);_0x3a7895['enableCommand'](_0x3d9fb2,()=>{const _0x2d29cc=_0x3d9ac4['getSelectionAffectedTableCells'](_0x2e2ddf['model']['document']['selection'])[0x0],_0x30864b=_0x2d29cc['findAncestor']('table'),{column:_0x155297,row:_0x23fd4c}=_0x3d9ac4['getCellLocation'](_0x2d29cc);let _0x449f2e=[];if('horizontally'==_0x5c554c['direction']){const _0x48140a=_0x3d9ac4['createTableWalker'](_0x30864b,{'startRow':_0x23fd4c,'endRow':_0x23fd4c,'includeAllSlots':!0x0});_0x449f2e=Array['from'](_0x48140a)['map'](_0x3d9130=>_0x3d9130['cell']);}else{const _0x2ddc78=_0x3d9ac4['createTableWalker'](_0x30864b,{'column':_0x155297,'includeAllSlots':!0x0});_0x449f2e=Array['from'](_0x2ddc78)['map'](_0x5cee4d=>_0x5cee4d['cell']);}_0x2e2ddf['model']['change'](_0x24cff5=>{_0x3a7895['markBlockFormat'](_0x24cff5['createRangeOn'](_0x2d29cc),{'commandName':_0x3d9fb2,'commandParams':[]},_0x449f2e,_0x3d9fb2);});});}_0x3a7895['descriptionFactory']['registerDescriptionCallback'](_0x1cfe00=>{if('formatBlock'!=_0x1cfe00['type']&&'formatInline'!=_0x1cfe00['type'])return;const {data:_0x5e0757}=_0x1cfe00;return _0x5e0757&&'mergeTableCells'==_0x5e0757['commandName']?{'type':'format','content':getTranslation$1(_0x291cec,'*Merge\x20cells*')}:void 0x0;}),_0x3a7895['descriptionFactory']['registerDescriptionCallback'](_0x2b426c=>{if('formatBlock'!=_0x2b426c['type']&&'formatInline'!=_0x2b426c['type'])return;const {data:_0x1d302f}=_0x2b426c;return _0x1d302f?'splitTableCellVertically'==_0x1d302f['commandName']?{'type':'format','content':getTranslation$1(_0x291cec,'*Split\x20cell:*\x20vertically')}:'splitTableCellHorizontally'==_0x1d302f['commandName']?{'type':'format','content':getTranslation$1(_0x291cec,'*Split\x20cell:*\x20horizontally')}:void 0x0:void 0x0;});const _0x4a48cd=_0x2911ff['_acceptFormatSuggestionCallbackFactory']();for(const _0x3ce496 of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft'])_0x3a7895['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x3ce496,'accept',_0x4a48cd);for(const _0x5dac6e of['splitTableCellVertically','splitTableCellHorizontally'])_0x3a7895['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x5dac6e,'accept',_0x4a48cd);_0x3a7895['_suggestionFactory']['registerCustomCallback']('formatBlock','mergeTableCells','accept',_0x51ff95=>{_0x2e2ddf['model']['change'](_0x3daf30=>{const _0x2d22a3=Array['from'](_0xba056e['getRanges']())['map'](_0x12c429=>ckeditor5['ModelLiveRange']['fromRange'](_0x12c429));_0x3daf30['setSelection'](_0x51ff95),_0x2e2ddf['commands']['get']('mergeTableCells')['refresh'](),_0x2e2ddf['execute']('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x56ac1c=_0x2d22a3['filter'](_0x5c1872=>'$graveyard'!=_0x5c1872['root']['rootName']);_0x56ac1c['length']>0x0&&_0x3daf30['setSelection'](_0x56ac1c);for(const _0x14dc94 of _0x2d22a3)_0x14dc94['detach']();});});for(const _0x3827da of['mergeTableCellUp','mergeTableCellDown','mergeTableCellLeft','mergeTableCellRight']){const _0x1ff671=_0x2e2ddf['commands']['get'](_0x3827da);_0x1ff671['on']('set:isEnabled',(_0x104440,_0x3c20ee,_0x3598e0)=>{if(_0x3598e0){const _0x57e34b=_0x2e2ddf['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x50786f=>_0x50786f['is']('element','tableCell'));this['_areMergableCells'](_0x1ff671['value'],_0x57e34b)||(_0x104440['return']=!0x1,_0x104440['stop']());}},{'priority':'low'});}}['_areSelectedCellsMergable'](){const _0x3b6fdc=this['editor']['commands']['get']('mergeTableCells'),_0x171207=this['editor']['plugins']['get']('TableUtils');if(!_0x3b6fdc['isEnabled'])return!0x1;const _0x17f3a4=_0x171207['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);for(const _0x45a2e6 of _0x17f3a4)for(const _0xb200f4 of _0x17f3a4)if(_0x45a2e6!=_0xb200f4&&!this['_areMergableCells'](_0x45a2e6,_0xb200f4))return!0x1;return!0x0;}['_areMergableCells'](_0x6dfb92,_0x2a1da0){const _0x2c5f14=this['editor']['plugins']['get']('TrackChangesEditing'),_0x274177=this['editor']['model']['createRangeOn'](_0x6dfb92),_0x22ea83=this['editor']['model']['createRangeOn'](_0x2a1da0),_0x2de403=new Set(),_0x4949ee=new Set();for(const _0x4b7bfb of _0x2c5f14['getSuggestions']())if(('insertion'==_0x4b7bfb['type']||'deletion'==_0x4b7bfb['type']||'mergeTableCells'==_0x4b7bfb['subType'])&&_0x4b7bfb['isInContent']){for(const _0x53fbb4 of _0x4b7bfb['getRanges']())_0x53fbb4['containsRange'](_0x274177,!0x0)&&_0x2de403['add'](_0x4b7bfb['type']+':'+_0x4b7bfb['author']['id']),_0x53fbb4['containsRange'](_0x22ea83,!0x0)&&_0x4949ee['add'](_0x4b7bfb['type']+':'+_0x4b7bfb['author']['id']);}if(_0x2de403['size']!=_0x4949ee['size'])return!0x1;for(const _0x130bef of _0x2de403)if(!_0x4949ee['has'](_0x130bef))return!0x1;return!0x0;}}class _0x66321d extends ckeditor5['Plugin']{static get['requires'](){return[_0xb46e35];}['afterInit'](){const _0x39bbfe=this['editor'];if(!_0x39bbfe['plugins']['has']('TableEditing'))return;const _0x2e6df2=_0x39bbfe['locale'],_0x3dd917=_0x39bbfe['plugins']['get']('TrackChangesEditing');_0x3dd917['enableDefaultAttributesIntegration']('setTableRowHeader'),_0x3dd917['enableDefaultAttributesIntegration']('setTableColumnHeader'),_0x3dd917['descriptionFactory']['registerAttributeLabel']('headingRows',getTranslation$1(_0x2e6df2,'FORMAT_HEADER_ROW')),_0x3dd917['descriptionFactory']['registerAttributeLabel']('headingColumns',getTranslation$1(_0x2e6df2,'FORMAT_HEADER_COLUMN')),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x1f8ea9=this['editor']['plugins']['get']('TrackChangesEditing'),_0x29469e=this['editor']['plugins']['get'](_0xb46e35)['_acceptFormatSuggestionCallbackFactory']();_0x1f8ea9['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableRowHeader','accept',_0x29469e),_0x1f8ea9['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableColumnHeader','accept',_0x29469e),this['_registerLegacyConverters'](),this['_registerLegacyDescription']();}['_registerLegacyConverters'](){const _0x47dc39=this['editor']['plugins']['get']('TrackChangesEditing'),_0x2b6fea=this['editor']['plugins']['get']('TableUtils');function _0x49832a({showActiveMarker:_0x14f5be=!0x0,setDataAttribute:_0x226905=!0x0}={}){return(_0x550419,_0x254902,_0x1ffb3f)=>{const {type:_0x4cf069,id:_0x1a4901}=_0x47dc39['_splitMarkerName'](_0x254902['markerName']);if(!_0x47dc39['hasSuggestion'](_0x1a4901))return;const _0x59d431=_0x47dc39['getSuggestion'](_0x1a4901),_0x77f86b=_0x59d431['data'];if('formatBlock'!=_0x59d431['type']||!_0x77f86b||'setTableColumnHeader'!=_0x77f86b['commandName'])return;if(_0x254902['item'])return void _0x550419['stop']();if(!_0x1ffb3f['consumable']['consume'](_0x254902['markerRange'],_0x550419['name']))return;const _0x13693f=_0x254902['markerRange']['start']['nodeAfter'],_0x14f91e=_0x254902['markerRange']['end']['nodeBefore'],_0x537dff=_0x13693f['parent']['parent'],{column:_0x326f9f}=_0x2b6fea['getCellLocation'](_0x13693f),{column:_0x1864a3}=_0x2b6fea['getCellLocation'](_0x14f91e);for(let _0x366b6d=_0x326f9f;_0x366b6d<=_0x1864a3;_0x366b6d++){const _0x1ccc4b=_0x2b6fea['createTableWalker'](_0x537dff,{'column':_0x366b6d,'includeAllSlots':!0x1});for(const _0x57eea3 of _0x1ccc4b){const _0x4e6c4d=_0x57eea3['cell'],_0x12efa4=_0x1ffb3f['mapper']['toViewElement'](_0x4e6c4d);_0x1ffb3f['writer']['addClass']('ck-suggestion-marker-'+_0x4cf069,_0x12efa4),_0x226905&&_0x1ffb3f['writer']['setAttribute']('data-suggestion',_0x1a4901,_0x12efa4),_0x1ffb3f['mapper']['bindElementToMarker'](_0x12efa4,_0x254902['markerName']),_0x14f5be&&(_0x47dc39['activeMarkers']['includes'](_0x254902['markerName'])?_0x1ffb3f['writer']['addClass']('ck-suggestion-marker--active',_0x12efa4):_0x1ffb3f['writer']['removeClass']('ck-suggestion-marker--active',_0x12efa4));}}};}this['editor']['editing']['downcastDispatcher']['on']('addMarker:suggestion',_0x49832a(),{'priority':'highest'}),this['editor']['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x386e74,_0x5ccafc,_0x57010d)=>{_0x57010d['options']['showSuggestionHighlights']&&_0x49832a({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x386e74,_0x5ccafc,_0x57010d);},{'priority':'highest'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x4a7ab5,_0x5ae496,_0xccfca1)=>{const {type:_0x1758d2,id:_0x3f3e8c}=_0x47dc39['_splitMarkerName'](_0x5ae496['markerName']);if(!_0x47dc39['hasSuggestion'](_0x3f3e8c))return;const _0x18181c=_0x47dc39['getSuggestion'](_0x3f3e8c),_0x2218ce=_0x18181c['data'];if('formatBlock'!=_0x18181c['type']||!_0x2218ce||'setTableColumnHeader'!=_0x2218ce['commandName'])return;const _0x2b7f9b=_0xccfca1['mapper']['markerNameToElements'](_0x5ae496['markerName']);if(_0x2b7f9b){for(const _0x181c3d of _0x2b7f9b)_0xccfca1['writer']['removeClass']('ck-suggestion-marker-'+_0x1758d2,_0x181c3d),_0xccfca1['writer']['removeClass']('ck-suggestion-marker--active',_0x181c3d),_0xccfca1['writer']['removeAttribute']('data-suggestion',_0x181c3d),_0xccfca1['mapper']['unbindElementFromMarkerName'](_0x181c3d,_0x5ae496['markerName']);}},{'priority':'highest'});}['_registerLegacyDescription'](){const _0xf6bf7c=this['editor'],_0x2ad340=_0xf6bf7c['locale'];function _0x2a2be7(_0x298eaa){return{'type':'format','content':getTranslation$1(_0x2ad340,'*Format:*\x20%0',_0x298eaa)};}_0xf6bf7c['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x326294=>{if('formatBlock'!=_0x326294['type'])return;const {data:_0x290c82}=_0x326294;if(_0x290c82){if('setTableRowHeader'==_0x290c82['commandName']){const _0x19997d=_0x290c82['commandParams'][0x0]['forceValue'];return _0x2a2be7(getTranslation$1(_0x2ad340,_0x19997d?'FORMAT_HEADER_ROW':'FORMAT_REGULAR_ROW'));}if('setTableColumnHeader'==_0x290c82['commandName']){const _0x5e42c3=_0x290c82['commandParams'][0x0]['forceValue'];return _0x2a2be7(getTranslation$1(_0x2ad340,_0x5e42c3?'FORMAT_HEADER_COLUMN':'FORMAT_REGULAR_COLUMN'));}}});}}class TrackChangesTableLayout extends ckeditor5['Plugin']{['afterInit'](){const _0x39c908=this['editor'],_0x35e9c8=_0x39c908['locale'],_0x2cd264=_0x39c908['plugins']['get']('TrackChangesEditing');function _0x5e4896(_0x1ce494){return{'type':'format','content':''+getTranslation$1(_0x35e9c8,'*Set\x20table\x20type:*\x20%0',_0x1ce494)};}_0x39c908['plugins']['has']('TableLayout')&&(_0x2cd264['enableCommand']('insertTableLayout'),_0x2cd264['enableDefaultAttributesIntegration']('tableType'),_0x2cd264['descriptionFactory']['registerElementLabel'](_0x116ca9=>_0x116ca9['is']('element','table')&&'layout'===_0x116ca9['getAttribute']('tableType'),_0x8ab02e=>getTranslation$1(_0x35e9c8,'ELEMENT_LAYOUT_TABLE',_0x8ab02e)),_0x2cd264['descriptionFactory']['registerDescriptionCallback'](_0x100280=>{const {data:_0x2f13d9}=_0x100280;if(_0x2f13d9&&'tableType'==_0x2f13d9['key'])switch(_0x2f13d9['newValue']){case'layout':return _0x5e4896(getTranslation$1(_0x35e9c8,'ELEMENT_LAYOUT_TABLE'));case'content':return _0x5e4896(getTranslation$1(_0x35e9c8,'ELEMENT_CONTENT_TABLE'));}}));}}const tableCellStyleAttributeNames=['tableCellBorderWidth','tableCellBorderColor','tableCellBorderStyle','tableCellHorizontalAlignment','tableCellVerticalAlignment','tableCellBackgroundColor','tableCellPadding'],tableCellStyleAttributesObject=/* #__PURE__ -- @preserve */
Object['fromEntries'](tableCellStyleAttributeNames['map'](_0x4835a3=>[_0x4835a3,null]));class _0x209d89 extends ckeditor5['Plugin']{static get['requires'](){return[_0xb46e35];}['afterInit'](){const _0x22b2bd=this['editor'];if(!_0x22b2bd['plugins']['has']('TableClipboard'))return;const _0x2e0bf6=_0x22b2bd['plugins']['get']('TrackChangesEditing'),_0x2a6f17=_0x22b2bd['plugins']['get']('TableUtils'),_0x86fd25=_0x22b2bd['plugins']['get'](_0xb46e35),_0x318302=_0x22b2bd['plugins']['get']('TableClipboard'),_0x44dfe5=_0x22b2bd['plugins']['get']('TableSelection'),_0x803a44=_0x22b2bd['plugins']['get'](ckeditor5['ClipboardPipeline']);_0x86fd25['_tablePostFixingSubtypes']['push']('tablePasteRow','tablePasteColumn'),_0x22b2bd['model']['schema']['register']('tableCellSuggestion',{'allowIn':'tableCell','allowContentOf':'tableCell','isLimit':!0x0}),_0x22b2bd['conversion']['elementToElement']({'model':'tableCellSuggestion','view':'suggestion-td'});let _0x210154=null,_0x39cfdf=!0x1;_0x803a44['on']('contentInsertion',(_0x92551d,_0x488997)=>{_0x39cfdf='paste'===_0x488997['method'];}),_0x22b2bd['model']['on']('insertContent',(_0x3c0f54,_0x3dcf18)=>{if(!_0x39cfdf&&null===_0x44dfe5['getSelectedTableCells']())return;const [_0x17579a,_0x7c6577]=_0x3dcf18,_0x30cc41=_0x3dcf18[_0x3dcf18['length']-0x1];_0x30cc41&&_0x30cc41['forceDefaultExecution']||_0x2e0bf6['_isForcedDefaultExecutionBlock']||this['editor']['commands']['get']('trackChanges')['value']&&isPasteTableIntoTable(_0x17579a,_0x7c6577,_0x22b2bd['model'],_0x2a6f17,_0x318302)&&(_0x3c0f54['stop'](),_0x210154={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x22b2bd['model']['change'](()=>{_0x22b2bd['model']['insertContent'](_0x3dcf18[0x0],_0x3dcf18[0x1],_0x3dcf18[0x2],{'forceDefaultExecution':!0x0});const _0x388bca=ckeditor5['uid'](),{rowInsertionRanges:_0xd834f0,columnInsertionRanges:_0x513c9d,insertionRanges:_0x28f4e4,deletionRanges:_0x1b8419,cells:_0x480f03}=_0x210154;_0xd834f0['length']&&_0x2e0bf6['markMultiRangeInsertion'](_0xd834f0,'tablePasteRow',{'tablePasteChainId':_0x388bca}),_0x513c9d['length']&&_0x2e0bf6['markMultiRangeInsertion'](_0x513c9d,'tablePasteColumn',{'tablePasteChainId':_0x388bca}),_0x28f4e4['length']&&(_0x2e0bf6['markMultiRangeInsertion'](_0x28f4e4,'tablePaste',{'tablePasteChainId':_0x388bca,'skipNestingCheck':!0x0}),_0x28f4e4['forEach'](_0x57b0f5=>_0x57b0f5['detach']?.())),_0x1b8419['length']&&(_0x2e0bf6['markMultiRangeDeletion'](_0x1b8419,'tablePaste',{'tablePasteChainId':_0x388bca,'skipNestingCheck':!0x0}),_0x1b8419['forEach'](_0x408c30=>_0x408c30['detach']?.()));const _0x135a74=_0x2e0bf6['markMultiRangeBlockFormat'](_0x480f03['map'](({element:_0x4987ca})=>_0x4987ca),{'formatGroupId':ckeditor5['uid']()},[],'tablePasteCell',{'tablePasteChainId':_0x388bca});if(_0x135a74){const _0x3a7c8d=_0x135a74['getMarkers'](),_0x11bce9=[];for(const {element:_0x8e1d3b,attributes:_0x115227}of _0x480f03){if(!_0x115227)continue;const _0x985912=_0x22b2bd['model']['createRangeOn'](_0x8e1d3b),_0x394260=_0x3a7c8d['find'](_0x4f602c=>_0x4f602c['getRange']()['isEqual'](_0x985912));_0x394260&&_0x11bce9['push']([_0x394260['name'],_0x115227]);}_0x11bce9['length']&&_0x135a74['setAttribute']('markerAttributes',Object['fromEntries'](_0x11bce9));}_0x210154=null;}));},{'priority':ckeditor5['priorities']['high']+0xa}),_0x803a44['on']('contentInsertion',()=>{_0x39cfdf=!0x1;},{'priority':'lowest'}),_0x22b2bd['plugins']['get']('TableClipboard')['on']('_replaceTableSlotCell',(_0x5adb16,_0x4433ca)=>{const [_0x744e0f,_0x30351e,,_0x505fd7]=_0x4433ca;if(!_0x210154)return;_0x5adb16['stop']();const _0x2a4140=_0x744e0f['cell'],_0x2d6a37=_0x30351e,_0x1a3bb6=isEmpty(_0x2a4140),_0x26738b=isEmpty(_0x2d6a37);_0x5adb16['return']=_0x2a4140;let _0x3bf9b0=null,_0x2b76f8=null;if(_0x26738b||_0x1a3bb6){if(_0x1a3bb6&&!_0x26738b){_0x505fd7['remove'](_0x2a4140['getChild'](0x0));for(const _0x494d93 of Array['from'](_0x2d6a37['getChildren']()))_0x505fd7['insert'](_0x494d93,_0x2a4140,'end');const _0x27e45b=_0x210154['rowInsertionIndexes']['includes'](_0x744e0f['row']),_0x358e98=_0x210154['columnInsertionIndexes']['includes'](_0x744e0f['column']);_0x27e45b||_0x358e98||(_0x3bf9b0=ckeditor5['ModelLiveRange']['fromRange'](_0x505fd7['createRangeIn'](_0x2a4140)));}else _0x26738b&&!_0x1a3bb6&&(_0x2b76f8=_0x505fd7['createRangeIn'](_0x2a4140));}else{const _0x3c5e5c=_0x505fd7['createElement']('tableCellSuggestion'),_0x4c3dd2=_0x505fd7['createElement']('tableCellSuggestion');_0x505fd7['wrap'](_0x505fd7['createRangeIn'](_0x2a4140),_0x4c3dd2),_0x505fd7['insert'](_0x3c5e5c,_0x2a4140,0x0);for(const _0xf594ee of Array['from'](_0x2d6a37['getChildren']()))_0x505fd7['insert'](_0xf594ee,_0x3c5e5c,'end');_0x3bf9b0=ckeditor5['ModelLiveRange']['fromRange'](_0x505fd7['createRangeOn'](_0x3c5e5c)),_0x2b76f8=ckeditor5['ModelLiveRange']['fromRange'](_0x505fd7['createRangeOn'](_0x4c3dd2));}const _0x1e06ce=Array['from'](_0x2d6a37['getAttributes']())['filter'](([_0x4ee7dd])=>tableCellStyleAttributeNames['includes'](_0x4ee7dd));_0x210154['cells']['push']({'element':_0x2a4140,'attributes':_0x1e06ce['length']?Object['fromEntries'](_0x1e06ce):null}),_0x3bf9b0&&_0x210154['insertionRanges']['push'](_0x3bf9b0),_0x2b76f8&&_0x210154['deletionRanges']['push'](_0x2b76f8);},{'priority':'high'}),_0x2a6f17['on']('insertColumns',(_0x3b8ddb,_0x461667)=>{const [_0xce33d1,_0x4e243d={}]=_0x461667;if(!_0x210154)return;const _0x5631ea=_0x4e243d['at']||0x0,_0x48c9b4=_0x4e243d['columns']||0x1;_0x210154['columnInsertionIndexes']=new Array(_0x48c9b4)['fill'](_0x5631ea)['map']((_0x39b9ba,_0x39015c)=>_0x39b9ba+_0x39015c);for(const {cell:_0x2a59d8}of _0x2a6f17['createTableWalker'](_0xce33d1,{'startColumn':_0x5631ea,'endColumn':_0x5631ea+_0x48c9b4-0x1}))_0x210154['columnInsertionRanges']['push'](_0x22b2bd['model']['createRangeOn'](_0x2a59d8));},{'priority':'low'}),_0x2a6f17['on']('insertRows',(_0x38798f,_0x15eda9)=>{const [_0x3ff7b8,_0x172458={}]=_0x15eda9;if(!_0x210154)return;const _0x5b8a51=_0x172458['at']||0x0,_0x5c8a65=_0x172458['rows']||0x1;_0x210154['rowInsertionIndexes']=new Array(_0x5c8a65)['fill'](_0x5b8a51)['map']((_0x3bd392,_0x1880fb)=>_0x3bd392+_0x1880fb);for(const {cell:_0x2fe17c}of _0x2a6f17['createTableWalker'](_0x3ff7b8,{'startRow':_0x5b8a51,'endRow':_0x5b8a51+_0x5c8a65-0x1}))_0x210154['rowInsertionRanges']['push'](_0x22b2bd['model']['createRangeOn'](_0x2fe17c));},{'priority':'low'}),_0x2e0bf6['descriptionFactory']['registerDescriptionCallback'](_0x3073f7=>{if(_0x3073f7['subType']&&_0x3073f7['subType']['startsWith']('tablePaste'))return _0x3073f7['previous']?{}:{'type':'insertion','content':getTranslation$1(_0x22b2bd['locale'],'*Replace\x20table\x20cells*')};});const _0x557874=()=>!0x1;for(const _0x1a631f of['tablePaste','tablePasteColumn','tablePasteRow','tablePasteCell'])_0x2e0bf6['_suggestionFactory']['registerCustomCallback']('insertion',_0x1a631f,'join',_0x557874),_0x2e0bf6['_suggestionFactory']['registerCustomCallback']('deletion',_0x1a631f,'join',_0x557874),_0x2e0bf6['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x1a631f,'join',_0x557874);_0x2e0bf6['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','discard',_0x557874),_0x2e0bf6['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','accept',(_0x1d44f8,_0x18409f,_0x41c3d7)=>{const _0xf5976b=_0x1d44f8['map'](_0x1068ff=>_0x1068ff['getContainedElement']())['filter'](_0x1c7224=>_0x1c7224),_0x2ed298=new Map(_0xf5976b['map'](_0x426718=>[_0x426718,null]));if(_0x210154){for(const {element:_0x6d0ebd,attributes:_0x3233f2}of _0x210154['cells'])_0x3233f2&&_0x2ed298['set'](_0x6d0ebd,_0x3233f2);}else{if(_0x41c3d7&&_0x41c3d7['markerAttributes'])for(const [_0x6c707a,_0x4a41f1]of Object['entries'](_0x41c3d7['markerAttributes'])){const _0x37d0a9=_0x22b2bd['model']['markers']['get'](_0x6c707a),_0x91b41c=_0x37d0a9?_0x37d0a9['getRange']()['getContainedElement']():null;_0x91b41c&&_0x2ed298['set'](_0x91b41c,_0x4a41f1);}}_0x22b2bd['model']['change'](_0x2159ea=>{for(const [_0x4a5685,_0x17895a]of _0x2ed298)_0x2159ea['setAttributes']({...tableCellStyleAttributesObject,..._0x17895a},_0x4a5685);});});const _0x32231c=(_0x4a78de,_0x14664d)=>{_0x2e0bf6['_suggestionFactory']['registerCustomCallback'](_0x4a78de,'tablePaste',_0x14664d,(_0x2ffb26,_0x4b21c0,_0x577ed8)=>{_0x22b2bd['model']['change'](_0x44f3ae=>{const _0x23a44e=[];for(const _0x157307 of _0x2ffb26){const _0x7f5fe9=_0x157307['start']['nodeAfter'];_0x7f5fe9['is']('element','tableCellSuggestion')&&_0x23a44e['push'](_0x7f5fe9);}_0x2e0bf6['_suggestionFactory']['getSuggestionCallback'](_0x4a78de,null,_0x14664d)(_0x2ffb26,_0x4b21c0,_0x577ed8);for(const _0x297594 of _0x23a44e)'$graveyard'!=_0x297594['root']['rootName']&&_0x44f3ae['unwrap'](_0x297594);});});};_0x32231c('insertion','accept'),_0x32231c('insertion','discard'),_0x32231c('deletion','accept'),_0x32231c('deletion','discard'),_0x2e0bf6['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteRow','discard',_0x2e9a56=>{const _0x16ab8a=_0x2e9a56['map'](_0x4b8a60=>_0x4b8a60['getContainedElement']()),_0x49e8c9=_0x16ab8a[0x0]['findAncestor']('table'),{minRow:_0xa69566,maxRow:_0x455f12}=_0x86fd25['_getCoordsForCells'](_0x16ab8a);_0x2a6f17['removeRows'](_0x49e8c9,{'at':_0xa69566,'rows':_0x455f12-_0xa69566+0x1});}),_0x2e0bf6['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteColumn','discard',_0x46b6da=>{const _0x4a353d=_0x46b6da['map'](_0x497367=>_0x497367['getContainedElement']()),_0x5170bb=_0x4a353d[0x0]['findAncestor']('table'),{minColumn:_0x2d23b9,maxColumn:_0x9ebdc2}=_0x86fd25['_getCoordsForCells'](_0x4a353d);_0x2a6f17['removeColumns'](_0x5170bb,{'at':_0x2d23b9,'columns':_0x9ebdc2-_0x2d23b9+0x1});});const _0x249070=(_0x34eda0,_0xc3304e)=>{if(!_0xc3304e['subType']||!_0xc3304e['subType']['startsWith']('tablePaste'))return;const _0x354076=_0xc3304e['attributes']['tablePasteChainId'],_0x572957=_0x2e0bf6['getSuggestions']()['filter'](_0x18cc17=>_0x18cc17['isInContent']&&_0x18cc17['attributes']&&_0x18cc17['attributes']['tablePasteChainId']==_0x354076);_0x572957['length']&&_0xc3304e['getAllAdjacentSuggestions']()['length']!=_0x572957['length']&&_0x572957['reduce']((_0x511d77,_0xe05d1)=>(_0x511d77['next']=_0xe05d1,_0xe05d1['previous']=_0x511d77,_0xe05d1));};function _0x1560e3(_0x20a28d,_0x7255aa=!0x0){const {id:_0x480671,authorId:_0x37161f}=_0x2e0bf6['_splitMarkerName'](_0x20a28d['markerName']),_0x44da49=['ck-suggestion-marker','ck-suggestion-marker-insertion'],_0x1965ad=_0x2e0bf6['activeMarkers']['includes'](_0x20a28d['markerName']);return _0x1965ad&&_0x44da49['push']('ck-suggestion-marker--active'),{'classes':_0x44da49,'attributes':{'data-suggestion':_0x480671,'data-author-id':_0x37161f},'priority':_0x1965ad&&_0x7255aa?0xbc2:0xbb8};}_0x2e0bf6['on']('suggestionLoaded',_0x249070,{'priority':'high'}),_0x2e0bf6['on']('suggestionUnloaded',_0x249070,{'priority':'high'}),_0x22b2bd['model']['document']['registerPostFixer'](()=>{let _0x4a75cd=!0x1;const _0x329cdd=Array['from'](_0x22b2bd['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x4c5634,data:_0x1d2652}of _0x329cdd){const {group:_0x44878d,type:_0x2072c1,id:_0x5d9923}=_0x2e0bf6['_splitMarkerName'](_0x4c5634);if('suggestion'!=_0x44878d||'deletion'!=_0x2072c1||_0x1d2652['oldRange'])continue;if(!_0x2e0bf6['hasSuggestion'](_0x5d9923))continue;const _0x4277f4=_0x2e0bf6['getSuggestion'](_0x5d9923)['getRanges'](),_0x4ec531=_0x22b2bd['plugins']['get']('Users')['me'];for(const _0x4c512f of _0x2e0bf6['getSuggestions']()){if(!_0x4c512f['isInContent']||_0x4c512f['author']!=_0x4ec531)continue;if('formatBlock'!=_0x4c512f['type']||'tablePasteCell'!=_0x4c512f['subType'])continue;if(_0x4c512f['getRanges']()['every'](_0x38e37b=>_0x4277f4['some'](_0xddda76=>_0xddda76['containsRange'](_0x38e37b,!0x0)))){for(const _0x3608ae of _0x4c512f['getAllAdjacentSuggestions']())_0x3608ae['isInContent']&&(_0x3608ae['discard'](),_0x4a75cd=!0x0);}}}return _0x4a75cd;}),_0x22b2bd['model']['document']['registerPostFixer'](_0x3d2fa2=>{const _0x219ef1=_0x22b2bd['commands']['get']('redo');if(!_0x219ef1||!_0x219ef1['_createdBatches']['has'](_0x3d2fa2['batch']))return!0x1;let _0x2b9d1c=!0x1;const _0x404202=_0x22b2bd['plugins']['get']('Users')['me'],_0x12b389=_0x22b2bd['model']['document']['differ']['getChanges'](),_0x1fb088=Array['from'](_0x22b2bd['model']['document']['differ']['getChangedMarkers']())['filter'](({name:_0x156e58,data:_0x58fde3})=>{const {group:_0x5153bf,subType:_0x1ee13c,authorId:_0x23a447}=_0x2e0bf6['_splitMarkerName'](_0x156e58);return'suggestion'==_0x5153bf&&'tablePaste'==_0x1ee13c&&_0x23a447==_0x404202['id']&&!_0x58fde3['oldRange'];});for(const _0x4d3c16 of _0x12b389){if('insert'!=_0x4d3c16['type']||'tableCellSuggestion'!=_0x4d3c16['name']||0x1!=_0x4d3c16['length'])continue;const _0x3739db=_0x3d2fa2['createRange'](_0x4d3c16['position'],_0x4d3c16['position']['getShiftedBy'](0x1)),_0x37cd43=_0x1fb088['find'](({data:_0x507a15})=>_0x507a15['newRange']['isEqual'](_0x3739db));if(!_0x37cd43){for(const {name:_0x4450ce,data:_0x2663fa}of _0x1fb088)if(_0x3739db['containsRange'](_0x2663fa['newRange'])){_0x3d2fa2['updateMarker'](_0x4450ce,{'range':_0x3739db}),_0x2b9d1c=!0x0;break;}}}return _0x2b9d1c;}),_0x22b2bd['model']['document']['registerPostFixer'](_0x529f16=>{let _0x2709c5=!0x1;const _0x314775=_0x22b2bd['plugins']['get']('Users')['me'],_0x279e9e=_0x2e0bf6['getSuggestions']()['filter'](_0x938229=>_0x938229['isInContent']&&_0x938229['author']==_0x314775),_0x5020d8=new Set(),_0x4b2899=new Set();for(const _0x43e704 of _0x279e9e)if('tablePaste'==_0x43e704['subType'])for(const _0x44343e of _0x43e704['getMarkers']()){const _0x1ab95a=_0x44343e['getRange']()['getContainedElement']();if(_0x1ab95a){if(_0x1ab95a['is']('element','tableCellSuggestion')&&isEmpty(_0x1ab95a)){_0x43e704['removeMarker'](_0x44343e['name']),_0x5020d8['add'](_0x1ab95a),_0x2709c5=!0x0;const _0xb88d84=_0x1ab95a['nextSibling'],_0x10dc27=_0x1ab95a['previousSibling'],_0x5e871b=_0xb88d84&&_0xb88d84['is']('element','tableCellSuggestion'),_0x6d82ac=_0x10dc27&&_0x10dc27['is']('element','tableCellSuggestion');_0x5e871b&&!_0x5020d8['has'](_0xb88d84)&&_0x4b2899['add'](_0xb88d84),_0x6d82ac&&!_0x5020d8['has'](_0x10dc27)&&_0x4b2899['add'](_0x10dc27);}else _0x1ab95a['is']('element','paragraph')&&_0x1ab95a['isEmpty']&&(_0x43e704['removeMarker'](_0x44343e['name']),_0x2709c5=!0x0);}}else{if('tablePasteCell'==_0x43e704['subType']){if(!_0x43e704['attributes']||!_0x43e704['attributes']['tablePasteChainId'])continue;const _0x4dbc62=_0x43e704['attributes']['markerAttributes'];if(_0x4dbc62&&Object['keys'](_0x4dbc62)['length'])continue;const _0x4918e1=_0x43e704['attributes']['tablePasteChainId'];let _0xb1aef8=!0x0,_0x298dfe=!0x0;for(const _0x4c1d01 of _0x279e9e)if(_0x4c1d01['subType']&&_0x4c1d01['subType']['startsWith']('tablePaste')){if(!_0x4c1d01['attributes']['tablePasteChainId']){_0x298dfe=!0x1;break;}if(_0x4c1d01['id']!=_0x43e704['id']&&_0x4c1d01['attributes']['tablePasteChainId']==_0x4918e1){_0xb1aef8=!0x1;break;}}_0x298dfe&&_0xb1aef8&&(_0x43e704['removeMarkers'](),_0x2709c5=!0x0);}}for(const _0x13a598 of _0x5020d8)_0x529f16['remove'](_0x13a598);for(const _0x14732a of _0x4b2899)_0x529f16['unwrap'](_0x14732a);return _0x2709c5;}),_0x22b2bd['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':_0x1a15d4=>_0x1560e3(_0x1a15d4),'converterPriority':'high'}),_0x22b2bd['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x1a8c94,_0x10eca6)=>_0x10eca6['options']['showSuggestionHighlights']?_0x1560e3(_0x1a8c94,!0x1):null,'converterPriority':'high'});const _0x46a0a9=_0x22b2bd['editing']['view'];this['listenTo'](_0x46a0a9['document'],'clipboardOutput',(_0x343591,_0x2c96c1)=>{const _0x2a1c2a=[];for(const _0x6327f3 of _0x46a0a9['createRangeIn'](_0x2c96c1['content'])['getItems']())_0x6327f3['is']('element','suggestion-td')&&_0x2a1c2a['push'](_0x6327f3);_0x46a0a9['change'](_0x32a435=>{for(const _0x183aed of _0x2a1c2a)_0x32a435['move'](_0x32a435['createRangeIn'](_0x183aed),_0x32a435['createPositionBefore'](_0x183aed)),_0x32a435['remove'](_0x183aed);});});}}function isEmpty(_0x4fe5b5){if(_0x4fe5b5['isEmpty'])return!0x0;const _0x2e6099=_0x4fe5b5['getChild'](0x0);return _0x2e6099['is']('element','paragraph')&&_0x2e6099['isEmpty'];}function isPasteTableIntoTable(_0xe786eb,_0x3bf1cb,_0x385633,_0x82e12b,_0x3c5bea){if(_0x3bf1cb&&!_0x3bf1cb['is']('documentSelection'))return!0x1;const _0x92001e=_0x3c5bea['getTableIfOnlyTableInContent'](_0xe786eb,_0x385633);if(!_0x92001e||!_0x3afeb8(_0x92001e,void 0x0,_0x82e12b))return!0x1;const _0x24dc3d=_0x82e12b['getSelectionAffectedTableCells'](_0x385633['document']['selection']);if(!_0x24dc3d['length'])return!0x1;const _0xcfcbb2=_0x24dc3d[0x0]['findAncestor']('table'),_0x39d22b=_0x82e12b['getRowIndexes'](_0x24dc3d),_0x2ea38c=_0x82e12b['getColumnIndexes'](_0x24dc3d),_0xddb0f={'startRow':_0x39d22b['first'],'endRow':_0x39d22b['last'],'startColumn':_0x2ea38c['first'],'endColumn':_0x2ea38c['last']};return 0x1==_0x24dc3d['length']&&(_0xddb0f['endRow']+=_0x82e12b['getRows'](_0x92001e)-0x1,_0xddb0f['endColumn']+=_0x82e12b['getColumns'](_0x92001e)-0x1),_0x3afeb8(_0xcfcbb2,_0xddb0f,_0x82e12b);}function _0x3afeb8(_0x2cf613,_0x1fe322={},_0x59ba38){for(const {isAnchor:_0xa3de98,cellHeight:_0x4f4d91,cellWidth:_0x5abc46}of _0x59ba38['createTableWalker'](_0x2cf613,{'includeAllSlots':!0x0,..._0x1fe322}))if(!_0xa3de98||0x1!=_0x4f4d91||0x1!=_0x5abc46)return!0x1;return!0x0;}class _0xfd0b4e extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('TableColumnResizeEditing'))return;const _0x534365=this['editor']['plugins']['get']('TrackChangesEditing');_0x534365['enableCommand']('resizeTableWidth',this['handleResizeTableWidthCommand']['bind'](this)),_0x534365['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','accept',_0x534365['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x534365['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','discard',_0x534365['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),_0x534365['descriptionFactory']['registerDescriptionCallback'](this['handleSuggestionDescription']['bind'](this));}['handleResizeTableWidthCommand'](_0x1c7e0b,_0x2fbfdc){const _0x1136bd=this['editor']['plugins']['get']('TrackChangesEditing'),_0x47b7aa=this['editor']['plugins']['get']('TableColumnResizeEditing'),_0x14c9c5=_0x2fbfdc['table']||this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](()=>{const _0x205033=_0x47b7aa['getColumnGroupElement'](_0x14c9c5);let _0x785423=_0x205033?_0x47b7aa['getTableColumnsWidths'](_0x205033):null,_0x106ecf=_0x14c9c5['getAttribute']('tableWidth')||null;const _0x35c184=_0x2fbfdc['tableWidth']||_0x106ecf,_0x10b76b=_0x2fbfdc['columnWidths']||_0x785423,_0x55be23=this['editor']['plugins']['get']('Users')['me'];for(const _0x2373c8 of _0x1136bd['getSuggestions']()){const _0x19bfaa=_0x2373c8['getContainedElement']();if('resizeTable'===_0x2373c8['subType']&&_0x19bfaa===_0x14c9c5){_0x2373c8['author']!==_0x55be23&&_0x2373c8['discard']();const _0x3e18f1=_0x2373c8['data']['commandParams'];_0x106ecf=_0x3e18f1[0x0]['tableWidth'],_0x785423=_0x3e18f1[0x0]['columnWidths'];break;}}_0x1c7e0b({'table':_0x14c9c5,'tableWidth':_0x35c184,'columnWidths':_0x10b76b}),_0x1136bd['markBlockFormat'](_0x14c9c5,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x106ecf,'columnWidths':_0x785423}],'formatGroupId':'resizeTable'},[],'resizeTable');});}['handleSuggestionDescription'](_0x16fbe7){if('formatBlock'!=_0x16fbe7['type']&&'formatInline'!=_0x16fbe7['type'])return;const {data:_0x157308}=_0x16fbe7;if(_0x157308&&'resizeTable'===_0x157308['formatGroupId']){const _0x1ca069='*Format:*\x20resize\x20table';return{'type':'format','content':getTranslation$1(this['editor']['locale'],_0x1ca069)};}}}class TrackChangesTemplate extends ckeditor5['Plugin']{['afterInit'](){const _0x3c4f2b=this['editor'];_0x3c4f2b['plugins']['has']('Template')&&_0x3c4f2b['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTemplate');}}class TrackChangesTableOfContents extends ckeditor5['Plugin']{['afterInit'](){const _0x14b5c2=this['editor'];if(!_0x14b5c2['commands']['get']('insertTableOfContents'))return;_0x14b5c2['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTableOfContents');const _0x8ac173=_0x14b5c2['plugins']['get']('TrackChangesEditing'),_0x1b1581=_0x14b5c2['locale'];_0x8ac173['descriptionFactory']['registerElementLabel']('tableOfContents',_0x4766ab=>getTranslation$1(_0x1b1581,'ELEMENT_TABLE_OF_CONTENTS',_0x4766ab));}}class TrackChangesTitle extends ckeditor5['Plugin']{['afterInit'](){const _0x3cbb94=this['editor'];if(!_0x3cbb94['plugins']['has']('Title'))return;const _0x29f52e=_0x3cbb94['plugins']['get']('TrackChangesEditing');_0x29f52e['descriptionFactory']['registerElementLabel']('title-content',()=>getTranslation$1(_0x3cbb94['locale'],'ELEMENT_TITLE')),_0x3cbb94['model']['document']['registerPostFixer'](_0x2c7d0c=>{let _0x21de92=!0x1;const _0x56a8a8=Array['from'](_0x3cbb94['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x152143,data:_0x22ccc2}of _0x56a8a8){const {group:_0xb587af}=_0x29f52e['_splitMarkerName'](_0x152143);if('suggestion'!==_0xb587af||!_0x22ccc2['newRange'])continue;const _0x322208=_0x22ccc2['newRange'],_0x12a40d=_0x322208['end']['nodeBefore'];if(!_0x12a40d||!_0x12a40d['is']('element','title-content'))continue;if(!_0x322208['start']['isTouching'](_0x322208['end']))continue;const _0xff223=_0x3cbb94['model']['schema']['getNearestSelectionRange'](_0x322208['end'],'forward');if(_0xff223&&_0xff223['isCollapsed']){const _0x57491d=_0x2c7d0c['createRange'](_0x322208['start'],_0xff223['start']);_0x57491d['isEqual'](_0x322208)||(_0x2c7d0c['updateMarker'](_0x152143,{'range':_0x57491d}),_0x21de92=!0x0);}_0x21de92||(_0x2c7d0c['removeMarker'](_0x152143),_0x21de92=!0x0);}return _0x21de92;});}}class _0x4585cc extends ckeditor5['Plugin']{['afterInit'](){const _0x4b0a27=this['editor'],_0xad1961=_0x4b0a27['plugins']['get']('TrackChangesEditing');_0x4b0a27['plugins']['has']('Uploadcare')&&(_0xad1961['enableCommand']('uploadcare'),_0x4b0a27['plugins']['has']('UploadcareImageEdit')&&(_0xad1961['enableCommand']('uploadcareImageEdit'),_0xad1961['enableDefaultAttributesIntegration']('uploadcareImageReplace'),_0xad1961['descriptionFactory']['registerDescriptionCallback'](_0x2cfb08=>{if('attribute'!=_0x2cfb08['type'])return;const {data:_0x1eccee}=_0x2cfb08;return _0x1eccee&&'uploadcareImageId'==_0x1eccee['key']?{'type':'format','content':''}:void 0x0;})));}}class _0x3eb081 extends ckeditor5['Plugin']{['afterInit'](){const _0x4f8f7f=this['editor'],_0x76aa88=_0x4f8f7f['plugins']['get']('TrackChangesEditing');_0x4f8f7f['plugins']['has']('UndoEditing')&&(_0x76aa88['enableCommand']('undo'),_0x76aa88['enableCommand']('redo'));}}class TrackChangesTableCaption extends ckeditor5['Plugin']{static get['requires'](){return[_0xb46e35];}['afterInit'](){const _0x3ed344=this['editor'];if(!_0x3ed344['plugins']['has']('TableCaptionEditing'))return;_0x3ed344['plugins']['get']('TrackChangesEditing')['enableCommand']('toggleTableCaption');}}class TrackChangesTableProperties extends ckeditor5['Plugin']{['tableProperties'];['tableCellProperties'];constructor(_0x2cd4fd){super(_0x2cd4fd),this['tableProperties']=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'],this['tableCellProperties']=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'],_0x2cd4fd['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 _0x33e61e=this['editor']['plugins']['get']('TrackChangesEditing');if(this['editor']['plugins']['has']('TablePropertiesEditing')){for(const _0x35e054 of this['tableProperties'])_0x33e61e['enableCommand'](_0x35e054,(_0x5ecaac,_0x2fb61f)=>{const _0x205003=this['editor']['model']['document']['selection']['getFirstPosition']()['findAncestor']('table');this['_handlePropertyChange'](_0x35e054,[_0x205003],this['tableProperties'],'tableProperties',_0x5ecaac,_0x2fb61f);});_0x33e61e['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','accept',_0x33e61e['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x33e61e['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','discard',(_0x34672f,_0x2ae8be)=>this['handleDiscardAction'](this['tableProperties'],_0x34672f,_0x2ae8be)),_0x33e61e['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','join',()=>!0x1);}if(this['editor']['plugins']['has']('TableCellPropertiesEditing')){for(const _0x3b7b14 of this['tableCellProperties'])this['editor']['commands']['get'](_0x3b7b14)&&_0x33e61e['enableCommand'](_0x3b7b14,(_0x38dfaf,_0x45e476)=>{const _0x59e7e9=this['editor']['plugins']['get']('TableUtils')['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);this['_handlePropertyChange'](_0x3b7b14,_0x59e7e9,this['tableCellProperties'],'tableCellProperties',_0x38dfaf,_0x45e476);});_0x33e61e['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','accept',_0x33e61e['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x33e61e['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','discard',(_0x47590b,_0xe88f31)=>this['handleDiscardAction'](this['tableCellProperties'],_0x47590b,_0xe88f31)),_0x33e61e['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','join',()=>!0x1),this['editor']['model']['schema']['checkAttribute']('tableCell','tableCellType')&&_0x33e61e['descriptionFactory']['registerAttributeLabel']('tableCellType',getTranslation$1(this['editor']['locale'],'FORMAT_TABLE_CELL_TYPE'));}_0x33e61e['descriptionFactory']['registerDescriptionCallback'](_0x137a75=>this['handleSuggestionDescription'](_0x137a75)),this['_registerTablePropertiesAttributes']();}['_handlePropertyChange'](_0x5d6d57,_0x1bcaf5,_0x25dba8,_0x907f3a,_0x56051d,_0x4de7c9){const _0x14b9a5=this['editor']['plugins']['get']('TrackChangesEditing');this['editor']['model']['enqueueChange'](_0x4de7c9['batch'],()=>{for(const _0x43eb24 of _0x1bcaf5){if(this['_getSuggestion'](_0x43eb24,_0x907f3a))_0x56051d(_0x4de7c9);else{const _0x55d018={};for(const _0x527444 of _0x25dba8){const _0x432f5f=_0x43eb24['getAttribute'](_0x527444);void 0x0!==_0x432f5f&&(_0x55d018[_0x527444]=_0x432f5f);}_0x56051d(_0x4de7c9),_0x14b9a5['markBlockFormat'](_0x43eb24,{'commandParams':[_0x55d018]},[],_0x907f3a);}}});}['handleDiscardAction'](_0x4dbb9a,_0x36cfd6,_0x3dae49){const _0x37a7b1=_0x36cfd6[0x0]['start']['nodeAfter'],_0x476601=_0x3dae49['commandParams'][0x0];this['editor']['model']['change'](_0x10787c=>{for(const _0x18d8eb of _0x4dbb9a)void 0x0!==_0x476601[_0x18d8eb]?_0x10787c['setAttribute'](_0x18d8eb,_0x476601[_0x18d8eb],_0x37a7b1):_0x10787c['removeAttribute'](_0x18d8eb,_0x37a7b1);});}['handleSuggestionDescription'](_0x421f0b){if(_0x421f0b['data'])switch(_0x421f0b['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'](_0x6ca42b,_0x14090d){const _0x126abc=this['editor']['plugins']['get']('TrackChangesEditing');for(const _0x28c0ca of _0x126abc['getSuggestions']({'skipNotAttached':!0x0})){const _0x5addea=_0x28c0ca['getContainedElement']();if(_0x28c0ca['subType']===_0x14090d&&_0x5addea===_0x6ca42b)return _0x28c0ca;}return null;}['_registerTablePropertiesAttributes'](){const _0x2569b6=this['editor']['plugins']['get']('TrackChangesEditing'),_0x35c594=[...this['tableProperties'],...this['tableCellProperties']];for(const _0x5d9384 of _0x35c594){const _0x12e7e1=_0x5d9384['replace'](/([A-Z])/g,'_$1')['toUpperCase']();_0x2569b6['descriptionFactory']['registerAttributeLabel'](_0x5d9384,getTranslation$1(this['editor']['locale'],'FORMAT_'+_0x12e7e1));}}}class TrackChangesLineHeight extends ckeditor5['Plugin']{['afterInit'](){const _0x1c63c=this['editor'];if(!_0x1c63c['plugins']['has']('LineHeight'))return;const _0x2caf11=_0x1c63c['plugins']['get']('TrackChangesEditing'),_0xca7f56=_0x1c63c['locale'];_0x2caf11['enableDefaultAttributesIntegration']('lineHeight'),_0x2caf11['descriptionFactory']['registerAttributeLabel']('lineHeight',getTranslation$1(_0xca7f56,'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,_0x5e54fb,ckeditor5['PendingActions'],DocumentCompare,TrackChangesAIAssistant,_0x47e6c3,TrackChangesAIQuickActions,TrackChangesAlignment,TrackChangesBasicStyles,TrackChangesBlockQuote,_0x3b3364,_0xe041d8,_0x546e5f,_0x5d3b94,TrackChangesComments,TrackChangesDeleteCommand,_0x35e374,TrackChangesEnterCommand,_0x230659,TrackChangesFont,TrackChangesFootnotes,TrackChangesFormatPainter,_0x5b14a3,TrackChangesHighlight,TrackChangesHorizontalLine,TrackChangesHtmlEmbed,_0x2fdd52,TrackChangesImageStyle,_0x93af97,TrackChangesImportWord,TrackChangesIndent,TrackChangesInputCommand,TrackChangesLegacyList,TrackChangesLegacyListProperties,TrackChangesMultiLevelList,_0x268c33,TrackChangesList,TrackChangesLineHeight,TrackChangesDocumentListProperties,_0x19f7c9,TrackChangesMention,_0xd300c0,_0x103fd0,_0xc3c74d,_0x32692a,TrackChangesRemoveFormat,TrackChangesRestrictedEditingMode,TrackChangesShiftEnterCommand,TrackChangesStandardEditingMode,TrackChangesStylesDropdown,_0xb46e35,TrackChangesTableMergeSplit,_0x66321d,TrackChangesTableLayout,TrackChangesTableCaption,_0x209d89,_0xfd0b4e,TrackChangesTableOfContents,TrackChangesTableProperties,TrackChangesTemplate,TrackChangesTitle,_0x4585cc,_0x3eb081];}static get['pluginName'](){return'TrackChangesEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x468236){super(_0x468236),this['set']('activeMarkers',[]),this['on']('change:activeMarkers',(_0x41cf74,_0x14d006,_0xe960cb,_0x28e9b6)=>{this['_model']['change'](()=>{for(const _0x2ae720 of[..._0x28e9b6,..._0xe960cb])this['_model']['markers']['has'](_0x2ae720)&&_0x468236['editing']['reconvertMarker'](_0x2ae720);});}),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']=_0x468236['plugins']['get']('CommentsRepository'),this['_enabledCommands']=new Set(),this['_model']=this['editor']['model'],this['_suggestionState']=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,_0x468236['config']['define']('trackChanges.trackFormatChanges','default'),this['_trackFormatChanges']=_0x468236['config']['get']('trackChanges.trackFormatChanges'),_0x468236['config']['define']('trackChanges.mergeNestedSuggestions',!0x0),this['_mergeNestedSuggestions']=_0x468236['config']['get']('trackChanges.mergeNestedSuggestions'),this['trackChangesCommand']=new _0x3a23d9(_0x468236,this['_enabledCommands']),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x43729a=this['editor'];_0x43729a['conversion']['for']('upcast')['elementToElement']({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x3b9847,{writer:_0x1efbc6})=>{let _0xeeed0a='suggestion:'+_0x3b9847['getAttribute']('suggestion-type')+':'+_0x3b9847['getAttribute']('id');return _0x3b9847['getAttribute']('marker-count')&&(_0xeeed0a+=':'+_0x3b9847['getAttribute']('marker-count')),_0x1efbc6['createElement']('$marker',{'data-name':_0xeeed0a});}}),_0x43729a['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion'}),_0x43729a['model']['document']['registerPostFixer'](_0x562cbc=>{let _0x362e16=!0x1;const _0x531997=Array['from'](_0x43729a['model']['document']['differ']['getChangedMarkers']()),_0x32f464=new Set();for(const {name:_0x211f1d,data:_0x2b0621}of _0x531997){const {group:_0x46f843,type:_0x18e3a7,subType:_0x189fa2,id:_0x257f86}=this['_splitMarkerName'](_0x211f1d);if('suggestion'!==_0x46f843)continue;const _0xa4ec31=_0x189fa2?'suggestion:'+_0x18e3a7+':'+_0x189fa2+':'+_0x257f86:'suggestion:'+_0x18e3a7+':'+_0x257f86,_0x45e8f1=_0x43729a['model']['markers']['getMarkersGroup'](_0xa4ec31),_0x44dde8=_0x43729a['model']['markers']['get'](_0x211f1d),_0x2b7298=this['_suggestions']['get'](_0x257f86);if(null!=_0x2b0621['newRange']){'formatInline'==_0x18e3a7&&(_0x362e16=_0x362e16||trimFormatInlineSuggestionRange(_0x2b0621['newRange'],_0x211f1d,_0x562cbc,_0x43729a['model']['schema']));const _0x243596='attribute'==_0x18e3a7&&this['_isBlockAttribute'](_0x189fa2['split']('|')[0x0]),_0x41f0c6='attribute'==_0x18e3a7&&this['_isInlineAttribute'](_0x189fa2['split']('|')[0x0]);if(_0x2b0621['newRange']['isCollapsed']||'$graveyard'==_0x2b0621['newRange']['root']['rootName']||'formatBlock'==_0x18e3a7&&!isCorrectFormatBlockSuggestionRange(_0x2b0621['newRange'])||_0x243596&&!isCorrectFormatBlockSuggestionRange(_0x2b0621['newRange'])||_0x41f0c6&&isEmptyRange(_0x2b0621['newRange'])||'deletion'==_0x18e3a7&&isEmptyRange(_0x2b0621['newRange'])||_0x44dde8&&isIntersectingWithOtherMarkers(_0x44dde8,_0x45e8f1))_0x562cbc['removeMarker'](_0x211f1d),_0x362e16=!0x0;else{if(!_0x2b7298||!_0x2b7298['isInContent'])continue;if(_0x2b0621['newRange']&&_0x2b0621['oldRange']&&_0x2b0621['newRange']['isEqual'](_0x2b0621['oldRange']))continue;_0x32f464['add'](_0x2b7298);}}}return _0x32f464['size']>0x0&&(_0x362e16=!!this['_joinWithAdjacentSuggestions'](_0x32f464)||_0x362e16),_0x362e16;}),_0x43729a['model']['document']['registerPostFixer'](_0x5b6742=>{let _0x369896=!0x1;for(const _0x5e09c0 of _0x43729a['model']['document']['differ']['getChanges']())if('insert'==_0x5e09c0['type'])for(const _0xd6f368 of this['_suggestions']['values']()){if(_0xd6f368['isMultiRange']||!_0xd6f368['isInContent'])continue;const _0x3f5046='formatBlock'==_0xd6f368['type'],_0x38a928=this['_getAttributeKey'](_0xd6f368),_0x13f47f=_0x38a928&&this['_isBlockAttribute'](_0x38a928);if(!_0x3f5046&&!_0x13f47f)continue;const _0x7f6dc6=_0xd6f368['getFirstRange']();if(_0x7f6dc6['start']['parent']!=_0x7f6dc6['end']['parent']&&!_0x7f6dc6['end']['isAtEnd']){const _0x457668=_0x43729a['model']['createPositionAt'](_0x7f6dc6['start']['nodeAfter'],'end'),_0x8b7fe9=_0x43729a['model']['createRange'](_0x7f6dc6['start'],_0x457668);_0x5b6742['updateMarker'](_0xd6f368['getFirstMarker'](),{'range':_0x8b7fe9}),_0x369896=!0x0;}}return _0x369896;}),_0x43729a['model']['document']['registerPostFixer'](_0x3b6f54=>this['_processAttributeChanges'](_0x3b6f54)),_0x43729a['model']['document']['registerPostFixer'](_0x43423e=>!_0x43423e['batch']['isLocal']&&this['_processAttributeSuggestions'](_0x43423e)),_0x43729a['model']['on']('_afterChanges',()=>{this['_recordAttributeSuggestions']=!0x1;}),_0x43729a['model']['document']['on']('change:data',(_0x3dec96,_0x2d2341)=>{if(!_0x2d2341['isLocal']||_0x2d2341['isUndo'])return;if(!this['_recordAttributeSuggestions'])return;const _0x4548b6=_0x43729a['model']['document']['differ']['getChanges']();if(0x0==_0x4548b6['length'])return;const _0xe8b3d8=[],_0x1a0527=_0x4548b6['filter'](_0x2e2176=>'attribute'==_0x2e2176['type']),_0x3a09b3=_0x4548b6['filter'](_0x1881ab=>'insert'==_0x1881ab['type']&&'$text'!=_0x1881ab['name']);for(const _0x80f9b5 of _0x1a0527)this['_isRegisteredAttribute'](_0x80f9b5['attributeKey'])&&_0xe8b3d8['push']({'key':_0x80f9b5['attributeKey'],'newValue':_0x80f9b5['attributeNewValue'],'oldValue':_0x80f9b5['attributeOldValue'],'range':fixAttributeSuggestionRange(_0x80f9b5['range'],_0x43729a['model'])});for(const _0x288cc5 of _0x3a09b3){if('rename'!=_0x288cc5['action']&&'refresh'!=_0x288cc5['action'])continue;const _0x316cec=createBlockFormatRangeForElement(_0x288cc5['position']['nodeAfter'],_0x43729a['model']),_0x1ca9f9=_0x288cc5['before'];'rename'==_0x288cc5['action']&&_0xe8b3d8['push']({'key':renameAttributeKey,'newValue':_0x288cc5['name'],'oldValue':_0x1ca9f9['name'],'range':_0x316cec});for(const [_0x196318,_0x5c2893]of _0x1ca9f9['attributes']){if(!this['_isRegisteredAttribute'](_0x196318))continue;const _0x2ca300=_0x288cc5['attributes']['get'](_0x196318);_0x5c2893!==_0x2ca300&&_0xe8b3d8['push']({'key':_0x196318,'newValue':_0x2ca300,'oldValue':_0x5c2893,'range':_0x316cec});}for(const [_0x2b45ad,_0x1d6797]of _0x288cc5['attributes'])this['_isRegisteredAttribute'](_0x2b45ad)&&(_0x1ca9f9['attributes']['has'](_0x2b45ad)||_0xe8b3d8['push']({'key':_0x2b45ad,'newValue':_0x1d6797,'oldValue':null,'range':_0x316cec}));}0x0!=_0xe8b3d8['length']&&_0x43729a['model']['enqueueChange'](_0x2d2341,_0x4da145=>{const _0x5167c4=ckeditor5['uid']();for(const {range:_0x5d4338,key:_0x5526ce,oldValue:_0x4617ae,newValue:_0x677faa}of _0xe8b3d8)this['markAttributeChange'](_0x5d4338,_0x5526ce,_0x4617ae,_0x677faa,{'groupId':_0x5167c4});this['_reduceExistingSuggestions'](_0x4da145,_0xe8b3d8);});},{'priority':'lowest'}),_0x43729a['model']['markers']['on']('update:suggestion',(_0x397de6,_0x3de9f0,_0x4d6a05)=>{if(null==_0x4d6a05){const {id:_0xab96c0}=this['_splitMarkerName'](_0x3de9f0['name']),_0x2744b7=this['_suggestions']['get'](_0xab96c0);_0x2744b7&&_0x2744b7['addMarkerName'](_0x3de9f0['name']);}}),_0x43729a['model']['document']['on']('change:data',()=>{const _0xcbe926=Array['from'](_0x43729a['model']['document']['differ']['getChangedMarkers']())['filter'](_0x458d09=>'suggestion'===this['_splitMarkerName'](_0x458d09['name'])['group']);if(0x0===_0xcbe926['length'])return;_0xcbe926['sort']((_0x15cf82,_0x35a10c)=>{const _0x57e9b9=_0x15cf82['data']['oldRange'],_0x2aedee=_0x35a10c['data']['oldRange'];return null===_0x57e9b9&&null===_0x2aedee?0x0:null===_0x57e9b9&&null!==_0x2aedee?-0x1:null!==_0x57e9b9&&null===_0x2aedee?0x1:_0x57e9b9['start']['isBefore'](_0x2aedee['start'])?-0x1:0x1;});const _0x5cfa67=new Set(),_0x211058=new Set();for(const {name:_0x3278e5,data:_0x494dbf}of _0xcbe926){const {id:_0x411435}=this['_splitMarkerName'](_0x3278e5);if(null===_0x494dbf['oldRange']){const _0x291ee7=this['_handleNewSuggestionMarker'](_0x3278e5);_0x211058['add'](_0x291ee7);}else{const _0x2cb730=this['_suggestions']['get'](_0x411435);null!==_0x494dbf['newRange']||_0x2cb730['isInContent']?(_0x5cfa67['add'](_0x2cb730['head']),_0x211058['add'](_0x2cb730)):this['_removeSuggestion'](_0x2cb730);}}_0x211058['size']>0x0&&this['_refreshSuggestionsChain'](_0x211058);for(const _0x2737dd of _0x5cfa67)this['fire']('suggestionChanged',_0x2737dd);}),_0x43729a['model']['on']('applyOperation',(_0x579a18,_0x34359c)=>{const _0x5dbae3=_0x34359c[0x0];if(!this['_suggestions']['size'])return;if(!_0x5dbae3['isDocumentOperation'])return;if(_0x5dbae3['batch']['isUndo']||!_0x5dbae3['batch']['isLocal'])return;let _0x3ed713,_0x452950;switch(_0x5dbae3['type']){case'insert':_0x3ed713=_0x43729a['model']['createPositionAt'](_0x5dbae3['position']),_0x452950=_0x3ed713['getShiftedBy'](_0x5dbae3['howMany']);break;case'split':_0x3ed713=_0x43729a['model']['createPositionAt'](_0x5dbae3['splitPosition']),_0x452950=_0x43729a['model']['createPositionAt'](_0x5dbae3['moveTargetPosition']);break;case'move':_0x3ed713=_0x43729a['model']['createPositionAt'](_0x5dbae3['targetPosition']),_0x452950=_0x3ed713['getShiftedBy'](_0x5dbae3['howMany']);break;default:return;}const _0x28a101=_0x43729a['model']['createRange'](_0x3ed713,_0x452950);_0x43729a['model']['change'](()=>{for(const {suggestion:_0x4fd899,meta:_0x3ca341}of this['_findSuggestions'](_0x28a101)){if(_0x4fd899['isMultiRange'])continue;if('formatInline'==_0x4fd899['type'])continue;const _0x54fac1=this['_getAttributeKey'](_0x4fd899);if(_0x54fac1&&this['_isBlockAttribute'](_0x54fac1)&&'split'!=_0x5dbae3['type'])continue;const _0x313fe2=_0x4fd899['data']&&_0x4fd899['data']['multipleBlocks'];('formatBlock'!=_0x4fd899['type']||'split'==_0x5dbae3['type']&&!_0x313fe2)&&(_0x3ca341['containsRangeInObject']||'insertion'==_0x4fd899['type']&&_0x3ca341['isOwn']||_0x4fd899['getFirstRange']()['containsRange'](_0x28a101)&&this['_breakSuggestionMarker'](_0x4fd899,_0x3ed713,_0x452950));}});},{'priority':'lowest'}),_0x43729a['model']['on']('deleteContent',(_0xab6be5,_0x28a9d0)=>{const _0x5042f6=_0x28a9d0[0x0],_0x2a43ed=_0x28a9d0[0x1];if(_0x2a43ed&&_0x2a43ed['forceDefaultExecution'])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this['trackChangesCommand']['value'])return;if(_0x5042f6['isCollapsed'])return;const _0x34ef61=_0x43729a['model']['schema'],{start:_0x5b12c5,end:_0x46cebc}=_0x5042f6['getFirstRange'](),_0x5e87aa=_0x5b12c5['nodeAfter']&&_0x34ef61['isLimit'](_0x5b12c5['nodeAfter'])?null:_0x34ef61['getNearestSelectionRange'](_0x5b12c5,'forward'),_0xbc65d6=_0x46cebc['nodeBefore']&&_0x34ef61['isLimit'](_0x46cebc['nodeBefore'])?null:_0x34ef61['getNearestSelectionRange'](_0x46cebc,'backward'),_0x3b5c7b=_0x43729a['model']['createRange'](_0x5e87aa?_0x5e87aa['start']:_0x5b12c5,_0xbc65d6?_0xbc65d6['end']:_0x46cebc);_0x43729a['model']['change'](_0x518a78=>{this['markDeletion'](_0x3b5c7b);const _0x4fe204=_0x43729a['model']['schema']['getNearestSelectionRange'](_0x3b5c7b['start']);_0x5042f6['is']('documentSelection')?_0x518a78['setSelection'](_0x4fe204):_0x5042f6['setTo'](_0x4fe204);}),_0xab6be5['stop']();},{'priority':ckeditor5['priorities']['normal']+0xa}),_0x43729a['model']['on']('insertContent',(_0x35c63f,_0x57b84b)=>{const _0x13137e=_0x57b84b[_0x57b84b['length']-0x1];_0x13137e&&_0x13137e['forceDefaultExecution']||this['_isForcedDefaultExecutionBlock']||this['trackChangesCommand']['value']&&(_0x43729a['model']['change'](()=>{let _0x4d2113=_0x43729a['model']['insertContent'](_0x57b84b[0x0],_0x57b84b[0x1],_0x57b84b[0x2],{'forceDefaultExecution':!0x0});if(!_0x4d2113)return;_0x35c63f['return']=_0x4d2113['clone']();const _0x5ecd23=_0x4d2113['end']['nodeBefore'],_0x532961=_0x43729a['model']['schema'];_0x5ecd23&&_0x532961['isBlock'](_0x5ecd23)&&!_0x532961['isObject'](_0x5ecd23)&&(_0x4d2113=_0x43729a['model']['createRange'](_0x4d2113['start'],_0x43729a['model']['createPositionAt'](_0x5ecd23,'end'))),this['markInsertion'](_0x4d2113);}),_0x35c63f['stop']());},{'priority':'high'}),this['editor']['commands']['add']('trackChanges',this['trackChangesCommand']),this['enableCommand']('trackChanges');const _0x476fc2=new AcceptSuggestionCommand(_0x43729a,this['_suggestions']);_0x43729a['commands']['add']('acceptSuggestion',_0x476fc2),this['enableCommand']('acceptSuggestion');const _0x4c8b76=new DiscardSuggestionCommand(_0x43729a,this['_suggestions']);_0x43729a['commands']['add']('discardSuggestion',_0x4c8b76),this['enableCommand']('discardSuggestion'),_0x43729a['commands']['add']('acceptAllSuggestions',new ExecuteOnAllSuggestionsCommand(_0x43729a,_0x476fc2,this['_suggestions'])),this['enableCommand']('acceptAllSuggestions'),_0x43729a['commands']['add']('discardAllSuggestions',new ExecuteOnAllSuggestionsCommand(_0x43729a,_0x4c8b76,this['_suggestions'])),this['enableCommand']('discardAllSuggestions'),_0x43729a['commands']['add']('acceptSelectedSuggestions',new ExecuteOnSelectedSuggestionsCommand(_0x43729a,_0x476fc2,this['_suggestions'])),this['enableCommand']('acceptSelectedSuggestions'),_0x43729a['commands']['add']('discardSelectedSuggestions',new ExecuteOnSelectedSuggestionsCommand(_0x43729a,_0x4c8b76,this['_suggestions'])),this['enableCommand']('discardSelectedSuggestions');const _0x25b142=_0x43729a['plugins']['get']('CommentsRepository');this['listenTo'](_0x25b142,'addComment',(_0x46bb69,{threadId:_0x2520a3})=>{const _0x40be99=this['_suggestions']['get'](_0x2520a3);_0x40be99&&_0x40be99['commentThread']&&0x1===_0x40be99['commentThread']['length']&&this['_updateSuggestionData'](_0x2520a3,{'hasComments':!0x0});},{'priority':'low'}),this['listenTo'](_0x25b142,'removeComment',(_0x29ede2,{threadId:_0x1e7912})=>{const _0x30eeb6=this['_suggestions']['get'](_0x1e7912);_0x30eeb6&&_0x30eeb6['commentThread']&&!_0x30eeb6['commentThread']['length']&&this['_updateSuggestionData'](_0x1e7912,{'hasComments':!0x1});},{'priority':'low'});}['afterInit'](){_0x2d00ca(this);}set['adapter'](_0x3199d1){if(this['_adapter'])throw new ckeditor5['CKEditorError']('track-changes-adapter-already-set',this);this['_adapter']=_0x3199d1;}get['adapter'](){return this['_adapter'];}['getSuggestions']({skipNotAttached:_0x2a8848=!0x1,toJSON:_0x56e3fc=!0x1}={}){const _0x3fb1df=[];for(const _0xf51c66 of this['_suggestions']['values']())_0x2a8848&&!_0xf51c66['isInContent']||_0x3fb1df['push'](_0xf51c66);return _0x56e3fc?_0x3fb1df['map'](_0x266f8d=>_0x266f8d['toJSON']()):_0x3fb1df;}['getSuggestion'](_0x560253){const _0x3e17f2=this['_suggestions']['get'](_0x560253);if(!_0x3e17f2)throw new ckeditor5['CKEditorError']('track-changes-suggestion-not-found',this);return _0x3e17f2;}['hasSuggestion'](_0xfe1a12){return this['_suggestions']['has'](_0xfe1a12);}['addSuggestionData'](_0x3198a7){const {authorId:_0x4d7d8b,id:_0x51836d,originalSuggestionId:_0x4d4a10,attributes:_0xeefd40}=_0x3198a7,[_0x193681,_0x1029a2]=_0x3198a7['type']['split'](':'),_0x5bcc9c=this['_suggestions']['get'](_0x51836d)||this['_createSuggestion'](_0x193681,_0x1029a2,_0x51836d,_0x4d7d8b,_0xeefd40,_0x4d4a10);if(this['_addThreadToSuggestion'](_0x5bcc9c),this['_checkSuggestionCorrectness'](_0x5bcc9c,_0x193681,_0x1029a2||null,_0x4d7d8b),_0x5bcc9c['createdAt']=_0x3198a7['createdAt'],_0x5bcc9c['_isDataLoaded']=!0x0,_0xeefd40&&_0xeefd40['@external']){const _0x1401ec=_0xeefd40['@external'],_0x699135=this['_getExternalAuthor'](_0x1401ec['authorName']);_0x5bcc9c['authoredAt']=_0x1401ec['createdAt'],_0x5bcc9c['author']=_0x699135,_0x5bcc9c['isExternal']=!0x0;}else _0x5bcc9c['authoredAt']=_0x3198a7['createdAt'];switch(_0x3198a7['data']&&(_0x5bcc9c['data']=_0x3198a7['data']),_0x3198a7['attributes']&&(_0x5bcc9c['attributes']=_0x3198a7['attributes']),this['_adapter']&&this['_adapter']['addSuggestion']||(_0x5bcc9c['_saved']=!0x0),this['_suggestionState']['get'](_0x5bcc9c)){case'notReady':this['_suggestionState']['set'](_0x5bcc9c,'dataReady');break;case'markerReady':_0x5bcc9c['isInContent']?(this['_joinWithAdjacentSuggestions'](new Set([_0x5bcc9c])),this['_refreshSuggestionsChain'](new Set([_0x5bcc9c])),this['_suggestionState']['set'](_0x5bcc9c,'ready'),this['fire']('suggestionLoaded',_0x5bcc9c)):this['_suggestionState']['set'](_0x5bcc9c,'removed');}return _0x5bcc9c;}['acceptSuggestion'](_0x2d5ce1){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x33bd2d of _0x2d5ce1['getAllAdjacentSuggestions']())_0x33bd2d['accept']();});});}['discardSuggestion'](_0x2e5106){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x182a54 of _0x2e5106['getAllAdjacentSuggestions']())_0x182a54['discard']();});});}['enableCommand'](_0x4570dc,_0xa3df92){const _0x43d4f0=this['editor']['commands']['get'](_0x4570dc);if(!_0x43d4f0)throw new ckeditor5['CKEditorError']('track-changes-command-not-found',this,{'commandName':_0x4570dc});if(this['_enabledCommands']['has'](_0x43d4f0))throw new ckeditor5['CKEditorError']('track-changes-enable-command-twice',this,{'commandName':_0x4570dc});this['_enabledCommands']['add'](_0x43d4f0),_0xa3df92&&_0x43d4f0['on']('execute',(_0xba34fb,_0x13694a)=>{this['trackChangesCommand']['value']&&(this['_isForcedDefaultExecutionBlock']||(_0x13694a['length']>0x0&&_0x13694a[_0x13694a['length']-0x1]&&_0x13694a[_0x13694a['length']-0x1]['forceDefaultExecution']?_0x13694a['pop']():(_0xba34fb['return']=_0xa3df92((..._0x467aa0)=>_0x43d4f0['execute'](..._0x467aa0,{'forceDefaultExecution':!0x0}),..._0x13694a),_0xba34fb['stop']())));},{'priority':'high'});}['forceDefaultExecution'](_0x339201){let _0xb5d179,_0x4f77f2;const _0x4ac4a9=this['_isForcedDefaultExecutionBlock'];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0xb5d179=_0x339201();}catch(_0x20412c){_0x4f77f2=_0x20412c;}return _0x4ac4a9||(this['_isForcedDefaultExecutionBlock']=!0x1),_0x4f77f2&&ckeditor5['CKEditorError']['rethrowUnexpectedError'](_0x4f77f2,this),_0xb5d179;}['markInsertion'](_0x362c6c,_0x187530=null,_0x115f3e={}){if(_0x362c6c['isCollapsed'])return null;const _0x3a380c=this['editor']['plugins']['get']('Users')['me'];this['_trackingSessionId']&&(_0x115f3e['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x425b7b,meta:_0x57825}of this['_findSuggestions'](_0x362c6c,'insertion'))if(_0x57825['isOwn']){if(!_0x57825['isNextTo']){if(_0x57825['containsRangeInObject']){if(!this['_mergeNestedSuggestions']||!_areSimilarAttributes(_0x425b7b,_0x115f3e))continue;return _0x425b7b;}if(_areSimilarAttributes(_0x425b7b,_0x115f3e))return _0x425b7b;this['_breakSuggestionMarker'](_0x425b7b,_0x362c6c['start'],_0x362c6c['end']);break;}if(_0x187530==_0x425b7b['subType']&&_areSimilarAttributes(_0x425b7b,_0x115f3e)){const _0xbb31dd=_0x425b7b['getFirstRange']();return _0xbb31dd['start']['isEqual'](_0x362c6c['end'])?this['_setSuggestionRange'](_0x425b7b,this['_model']['createRange'](_0x362c6c['start'],_0xbb31dd['end'])):this['_setSuggestionRange'](_0x425b7b,this['_model']['createRange'](_0xbb31dd['start'],_0x362c6c['end'])),_0x425b7b;}}const _0x367b92=ckeditor5['uid'](),_0x1d3145=_0x3a380c['id'],_0xebc4eb=_0x187530?'insertion:'+_0x187530:'insertion',_0x25d6c4=this['_setSuggestionData']({'id':_0x367b92,'type':_0xebc4eb,'createdAt':new Date(),'authorId':_0x1d3145,'attributes':_0x115f3e});return this['_addSuggestionMarker'](_0xebc4eb,_0x367b92,_0x1d3145,_0x362c6c),_0x25d6c4;}['markMultiRangeInsertion'](_0x42d74a,_0x5aebd9='multi',_0x455cae={}){const _0x2cc49f=this['editor']['plugins']['get']('Users')['me'],_0x5b4fba=this['_suggestionFactory']['getSuggestionCallback']('insertion',_0x5aebd9,'join');this['_trackingSessionId']&&(_0x455cae['trackingSessionId']=this['_trackingSessionId']);for(const _0x1272d1 of this['getSuggestions']())if(_0x1272d1['author']['id']==_0x2cc49f['id']&&'insertion'==_0x1272d1['type']&&_0x1272d1['subType']==_0x5aebd9&&_areSimilarAttributes(_0x1272d1,_0x455cae)&&(_0x5b4fba(_0x1272d1['getRanges'](),_0x42d74a)||_0x5b4fba(_0x42d74a,_0x1272d1['getRanges']()))){for(const _0x4c28df of _0x42d74a)_0x1272d1['addRange'](_0x4c28df);return _0x1272d1;}for(const {suggestion:_0x459720,meta:_0x4dc0a3}of this['_findSuggestions'](_0x42d74a,'insertion')){if(!_0x4dc0a3['isOwn'])continue;if(!this['_mergeNestedSuggestions']&&_0x4dc0a3['containsRangeInObject'])continue;if(!_areSimilarAttributes(_0x459720,_0x455cae))continue;let _0x52249c=!0x0;for(const _0x314291 of _0x459720['getRanges']())for(const _0x743579 of _0x42d74a)if(!_0x314291['containsRange'](_0x743579)){_0x52249c=!0x1;break;}if(_0x52249c)return _0x459720;}const _0x44f0de=ckeditor5['uid'](),_0x23df06=_0x2cc49f['id'],_0x5d8415='insertion:'+_0x5aebd9,_0x21aea8=this['_setSuggestionData']({'id':_0x44f0de,'type':_0x5d8415,'createdAt':new Date(),'authorId':_0x23df06,'attributes':_0x455cae});for(const _0x14f784 of _0x42d74a)this['_addSuggestionMarker'](_0x5d8415,_0x44f0de,_0x23df06,_0x14f784,Suggestion['getMultiRangeId']());return _0x21aea8;}['markInlineFormat'](_0x2dc5e1,_0x16adb6,_0x103ceb=null,_0x53fe0d={}){if(_0x103ceb=_0x103ceb||createFormatSubType(_0x16adb6),_0x2dc5e1['isCollapsed'])return null;if(this['_trackingSessionId']&&(_0x53fe0d['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x535967=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0x103ceb,'accept');return this['forceDefaultExecution'](()=>_0x535967([_0x2dc5e1],_0x16adb6,_0x53fe0d)),null;}const _0x5adc79=this['editor']['plugins']['get']('Users')['me'],_0x2d6edb=[];if('always'!==this['_trackFormatChanges']){for(const {suggestion:_0x17bf15,meta:_0x2c6767}of this['_findSuggestions'](_0x2dc5e1,'insertion'))_0x2c6767['isOwn']&&!_0x2c6767['isInsideObject']&&_0x2d6edb['push'](..._0x17bf15['getRanges']());}const _0x1a2c3d=getIntersectionsWithMultipleRanges(_0x2dc5e1,_0x2d6edb),_0x5df58d=getDifferencesWithMultipleRanges(_0x2dc5e1,_0x2d6edb);_0x1a2c3d['length']&&this['_model']['change'](()=>{for(const _0x4e3d45 of _0x1a2c3d){const _0x83ac18=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0x103ceb,'accept');this['forceDefaultExecution'](()=>_0x83ac18([_0x4e3d45],_0x16adb6,_0x53fe0d));}});for(const _0x4b3b8b of _0x5df58d){let _0x337dff=null,_0x466ac9=_0x4b3b8b['start'],_0x4a80c2=_0x4b3b8b['end'];for(const {suggestion:_0x203cbf,meta:_0x515798}of this['_findSuggestions'](_0x4b3b8b,'formatInline')){if(!_0x515798['isOwn'])continue;if(_0x203cbf['subType']!=_0x103ceb)continue;if(!_areSimilarAttributes(_0x203cbf,_0x53fe0d))continue;const _0x64f277=_0x203cbf['getFirstRange']();if(_0x64f277['containsRange'](_0x4b3b8b,!0x0))return null;_0x466ac9=_0x466ac9['isBefore'](_0x64f277['start'])?_0x466ac9:_0x64f277['start'],_0x4a80c2=_0x4a80c2['isAfter'](_0x64f277['end'])?_0x4a80c2:_0x64f277['end'],_0x337dff?_0x64f277['start']['isBefore'](_0x337dff['getFirstRange']()['start'])?(_0x337dff['removeMarkers'](),_0x337dff=_0x203cbf):_0x203cbf['removeMarkers']():_0x337dff=_0x203cbf;}const _0x4497f2=this['_model']['createRange'](_0x466ac9,_0x4a80c2);if(_0x337dff)this['_setSuggestionRange'](_0x337dff,_0x4497f2);else{const _0x1facfa=ckeditor5['uid'](),_0x40ec53=_0x5adc79['id'];this['_setSuggestionData']({'id':_0x1facfa,'type':'formatInline:'+_0x103ceb,'data':_0x16adb6,'createdAt':new Date(),'authorId':_0x40ec53,'attributes':_0x53fe0d}),this['_addSuggestionMarker']('formatInline:'+_0x103ceb,_0x1facfa,_0x40ec53,_0x4497f2);}}return null;}['markBlockFormat'](_0x873700,_0x5ca428,_0x524928=[],_0x37d29b=null,_0xf7bcf1={}){_0x5ca428['formatGroupId']||(_0x5ca428['formatGroupId']=_0x5ca428['commandName']),_0x5ca428['multipleBlocks']=_0x873700['is']('range'),_0x37d29b=_0x37d29b||createFormatSubType(_0x5ca428);const _0x30bd60=_0x524928['map'](_0xc66bf4=>createBlockFormatRangeForElement(_0xc66bf4,this['_model'])),_0x357afe=_0x873700['is']('range')?_0x873700:createBlockFormatRangeForElement(_0x873700,this['_model']);if(this['_trackingSessionId']&&(_0xf7bcf1['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x3e5fe0=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x37d29b,'accept');return this['forceDefaultExecution'](()=>_0x3e5fe0([_0x357afe],_0x5ca428,_0xf7bcf1)),null;}_0x30bd60['push'](_0x357afe);let _0x3d21b0=!0x0;for(const _0x446910 of _0x30bd60)if(!this['_rangeIsInLocalUserInsertion'](_0x446910)){_0x3d21b0=!0x1;break;}if(_0x3d21b0&&'always'!==this['_trackFormatChanges']){const _0x46194f=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x37d29b,'accept');return this['forceDefaultExecution'](()=>_0x46194f([_0x357afe],_0x5ca428,_0xf7bcf1)),null;}let _0x4f4cce=null,_0x1bf82d=_0x357afe['start'],_0x195e37=_0x357afe['end'];for(const {suggestion:_0x33db84,meta:_0x492948}of this['_findSuggestions'](_0x357afe,'formatBlock')){if(!_0x492948['isOwn'])continue;if(_0x492948['isNextTo']||_0x492948['containsRangeInObject']||_0x492948['isInsideObject'])continue;if(_0x33db84['data']['formatGroupId']!=_0x5ca428['formatGroupId'])continue;if(!_areSimilarAttributes(_0x33db84,_0xf7bcf1))continue;const _0x13e495=_0x33db84['getFirstRange']();if(_0x33db84['subType']==_0x37d29b){if(_0x13e495['containsRange'](_0x357afe,!0x0))return null;_0x1bf82d=_0x1bf82d['isBefore'](_0x13e495['start'])?_0x1bf82d:_0x13e495['start'],_0x195e37=_0x195e37['isAfter'](_0x13e495['end'])?_0x195e37:_0x13e495['end'],_0x4f4cce?_0x13e495['start']['isBefore'](_0x4f4cce['getFirstRange']()['start'])?(_0x4f4cce['removeMarkers'](),_0x4f4cce=_0x33db84):_0x33db84['removeMarkers']():_0x4f4cce=_0x33db84;}else{const _0x45ad9f=_0x357afe['getIntersection'](_0x13e495);this['_cutOutSuggestionMarker'](_0x33db84,_0x45ad9f);}}const _0x305183=this['editor']['plugins']['get']('Users')['me'],_0x397bc6=ckeditor5['uid'](),_0x43ec13=_0x305183['id'];if(_0x4f4cce)return this['_setSuggestionRange'](_0x4f4cce,this['_model']['createRange'](_0x1bf82d,_0x195e37)),_0x4f4cce;{const _0x1a40f2=this['_setSuggestionData']({'id':_0x397bc6,'type':'formatBlock:'+_0x37d29b,'data':_0x5ca428,'createdAt':new Date(),'authorId':_0x43ec13,'attributes':_0xf7bcf1});return this['_addSuggestionMarker']('formatBlock:'+_0x37d29b,_0x397bc6,_0x43ec13,this['_model']['createRange'](_0x1bf82d,_0x195e37)),_0x1a40f2;}}['markMultiRangeBlockFormat'](_0x5b8804,_0x29a529,_0x1e6982=[],_0x5f334a=null,_0x1c1575={}){_0x29a529['formatGroupId']||(_0x29a529['formatGroupId']=_0x29a529['commandName']);const _0x47b7b8=_0x5b8804[0x0];_0x29a529['multipleBlocks']=_0x47b7b8['is']('range'),_0x5f334a=_0x5f334a||createFormatSubType(_0x29a529);const _0x52401a=_0x1e6982['map'](_0x3c6fce=>createBlockFormatRangeForElement(_0x3c6fce,this['_model'])),_0x5ad6e1=_0x47b7b8['is']('range')?_0x5b8804:_0x5b8804['map'](_0x39073e=>createBlockFormatRangeForElement(_0x39073e,this['_model']));if(this['_trackingSessionId']&&(_0x1c1575['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x2b9ea1=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x5f334a,'accept');return this['forceDefaultExecution'](()=>_0x2b9ea1(_0x5ad6e1,_0x29a529,_0x1c1575)),null;}_0x52401a['push'](..._0x5ad6e1);let _0x1577bd=!0x0;for(const _0x2ec300 of _0x52401a)if(!this['_rangeIsInLocalUserInsertion'](_0x2ec300)){_0x1577bd=!0x1;break;}if(_0x1577bd&&'always'!==this['_trackFormatChanges']){const _0x39fbee=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x5f334a,'accept');return this['forceDefaultExecution'](()=>_0x39fbee(_0x5ad6e1,_0x29a529,_0x1c1575)),null;}const _0x1e60cd=this['editor']['plugins']['get']('Users')['me'];for(const _0x366dbc of this['getSuggestions']()){const _0x497a27=_0x366dbc['data'];if(_0x366dbc['author']['id']!=_0x1e60cd['id'])continue;if('formatBlock'!=_0x366dbc['type']||_0x497a27['formatGroupId']!=_0x29a529['formatGroupId'])continue;if(!_areSimilarAttributes(_0x366dbc,_0x1c1575))continue;const _0x402ae2=_0x366dbc['subType']==_0x5f334a;for(let _0x5d3ada=0x0;_0x5d3ada<_0x5ad6e1['length'];_0x5d3ada++){const _0x27cfb5=_0x5ad6e1[_0x5d3ada];for(const _0x541e1a of _0x366dbc['getMarkers']()){const _0x2bff6f=_0x541e1a['getRange']();if(_0x27cfb5['isEqual'](_0x2bff6f)){_0x402ae2?(_0x5ad6e1['splice'](_0x5d3ada,0x1),_0x5d3ada--):_0x366dbc['removeMarker'](_0x541e1a['name']);break;}}}}if(0x0==_0x5ad6e1['length'])return null;const _0x1b89e1=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x5f334a,'join');for(const _0x4c60c8 of this['getSuggestions']()){const _0x320214=_0x4c60c8['data'];if(_0x4c60c8['author']['id']==_0x1e60cd['id']&&('formatBlock'==_0x4c60c8['type']&&_0x320214['formatGroupId']==_0x29a529['formatGroupId']&&_0x4c60c8['subType']==_0x5f334a&&_areSimilarAttributes(_0x4c60c8,_0x1c1575)&&(_0x1b89e1(_0x4c60c8['getRanges'](),_0x5ad6e1)||_0x1b89e1(_0x5ad6e1,_0x4c60c8['getRanges']())))){for(const _0x256d83 of _0x5ad6e1)_0x4c60c8['addRange'](_0x256d83);return _0x4c60c8;}}const _0x36aeee=ckeditor5['uid'](),_0x18e6a3=_0x1e60cd['id'],_0x294b6b='formatBlock:'+_0x5f334a,_0x5ce2c3=this['_setSuggestionData']({'id':_0x36aeee,'type':_0x294b6b,'data':_0x29a529,'createdAt':new Date(),'authorId':_0x18e6a3,'attributes':_0x1c1575});for(const _0x2724aa of _0x5ad6e1)this['_addSuggestionMarker'](_0x294b6b,_0x36aeee,_0x18e6a3,_0x2724aa,Suggestion['getMultiRangeId']());return _0x5ce2c3;}['markDeletion'](_0x230b60,_0x404403=null,_0x2d128b={}){if(_0x230b60['isCollapsed'])return null;const _0x4abcf6=this['editor']['plugins']['get']('Users')['me'],_0x3aae56=new ckeditor5['ModelLiveRange'](_0x230b60['start'],_0x230b60['end']);this['_trackingSessionId']&&(_0x2d128b['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x59ddef,meta:_0x2e2376}of this['_findSuggestions'](_0x3aae56,'insertion'))if(_0x2e2376['isOwn']&&!_0x2e2376['isNextTo']){if(_0x59ddef['isMultiRange']){const _0x2940f1=_0x59ddef['getRanges']()['filter'](_0x3c42b3=>'$graveyard'!=_0x3c42b3['root']['rootName']);_0x2940f1['every'](_0x49e622=>_0x3aae56['containsRange'](_0x49e622,!0x0))&&_0x59ddef['discard']();if(_0x2940f1['some'](_0x224478=>_0x224478['containsRange'](_0x3aae56,!0x0))){const _0xb801c3=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x404403,'accept');return this['forceDefaultExecution'](()=>_0xb801c3([_0x3aae56],null,_0x2d128b)),null;}}else{const _0x4f0791=_0x3aae56['getIntersection'](_0x59ddef['getFirstRange']());null!==_0x4f0791&&_0x59ddef['_onDiscard']([_0x4f0791],null,_0x2d128b);}}if(_0x3aae56['detach'](),_0x3aae56['isCollapsed']||'$graveyard'==_0x3aae56['root']['rootName'])return null;let _0x39418e=null,_0x5a9c4a=_0x3aae56['start'],_0xd56f8e=_0x3aae56['end'];const _0x51a5fb=this['_findSuggestions'](_0x3aae56,'deletion');for(const {suggestion:_0x54ac03,meta:_0x1212ca}of _0x51a5fb){const _0x2103dc=this['_model']['createRange'](_0x5a9c4a,_0xd56f8e);if(_0x1212ca['isOwn']&&(this['_mergeNestedSuggestions']||!_0x1212ca['containsRangeInObject']&&!_0x1212ca['isInsideObject'])){if(_0x54ac03['isMultiRange']){if(!_areSimilarAttributes(_0x54ac03,_0x2d128b))continue;let _0x5c2b6b=!0x0;for(const _0x195266 of _0x54ac03['getRanges']()){if(_0x195266['containsRange'](_0x2103dc,!0x0))return _0x54ac03;_0x2103dc['containsRange'](_0x195266)||(_0x5c2b6b=!0x1);}_0x5c2b6b&&_0x54ac03['discard']();}else{const _0x20253f=_0x54ac03['getFirstRange']();if(_0x20253f['containsRange'](_0x2103dc,!0x0))return _0x54ac03;if(!_areSimilarAttributes(_0x54ac03,_0x2d128b)){_0x2103dc['containsRange'](_0x20253f)?_0x54ac03['removeMarkers']():_0x20253f['containsPosition'](_0x5a9c4a)?_0x5a9c4a=_0x20253f['end']:_0x20253f['containsPosition'](_0xd56f8e)&&(_0xd56f8e=_0x20253f['start']);continue;}_0x5a9c4a=_0x5a9c4a['isBefore'](_0x20253f['start'])?_0x5a9c4a:_0x20253f['start'],_0xd56f8e=_0xd56f8e['isAfter'](_0x20253f['end'])?_0xd56f8e:_0x20253f['end'],_0x2d128b=Object['assign']({},_0x54ac03['attributes']),_0x39418e?_0x20253f['start']['isBefore'](_0x39418e['getFirstRange']()['start'])?(_0x39418e['removeMarkers'](),_0x39418e=_0x54ac03):_0x54ac03['removeMarkers']():_0x39418e=_0x54ac03;}}}if(_0x39418e)return this['_setSuggestionRange'](_0x39418e,this['_model']['createRange'](_0x5a9c4a,_0xd56f8e)),_0x39418e;{const _0x3237a6=ckeditor5['uid'](),_0x57e125=this['_model']['createRange'](_0x5a9c4a,_0xd56f8e),_0x3b4808=_0x4abcf6['id'],_0x25bd34=_0x404403?'deletion:'+_0x404403:'deletion',_0x3be203=this['_setSuggestionData']({'id':_0x3237a6,'type':_0x25bd34,'createdAt':new Date(),'authorId':_0x3b4808,'attributes':_0x2d128b});return this['_addSuggestionMarker'](_0x25bd34,_0x3237a6,_0x3b4808,_0x57e125),_0x3be203;}}['markMultiRangeDeletion'](_0x3ae286,_0x214c10='multi',_0x2f70da={}){const _0x26d943=this['editor']['plugins']['get']('Users')['me'],_0xbac35d=_0x3ae286['map'](_0x21c21f=>new ckeditor5['ModelLiveRange'](_0x21c21f['start'],_0x21c21f['end'])),_0x511309=new Set();this['_trackingSessionId']&&(_0x2f70da['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x52546e,meta:_0x48a6c4}of this['_findSuggestions'](_0xbac35d,'insertion'))_0x48a6c4['isOwn']&&!_0x48a6c4['isNextTo']&&_0x511309['add'](_0x52546e);for(const _0x412fc8 of _0x511309)if(_0x412fc8['isMultiRange']){const _0x58957c=_0x412fc8['getRanges']();(!_0x412fc8['attributes']||!_0x412fc8['attributes']['skipNestingCheck'])&&(_0x58957c['every'](_0x4194dc=>_0xbac35d['some'](_0x162a1f=>_0x162a1f['containsRange'](_0x4194dc,!0x0)))&&_0x412fc8['discard']());if(_0xbac35d['every'](_0xa267fe=>_0x58957c['some'](_0x16b79c=>_0x16b79c['containsRange'](_0xa267fe,!0x0)))){const _0x1aa9d4=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x214c10,'accept');return this['forceDefaultExecution'](()=>_0x1aa9d4(_0x3ae286,null,_0x2f70da)),null;}}else{const _0x54d014=_0x412fc8['getFirstRange']();_0xbac35d['some'](_0x504f23=>_0x504f23['containsRange'](_0x54d014,!0x0))&&_0x412fc8['discard']();if(_0xbac35d['every'](_0x411ac0=>_0x54d014['containsRange'](_0x411ac0,!0x0))){const _0x20c14d=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x214c10,'accept');return this['forceDefaultExecution'](()=>_0x20c14d(_0xbac35d,null,_0x2f70da)),null;}}const _0x59808b=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x214c10,'join');let _0x427709=null;for(const _0x344bf7 of this['getSuggestions']())if(_0x344bf7['author']['id']==_0x26d943['id']&&_0x344bf7['isInContent']&&'deletion'==_0x344bf7['type']&&_0x344bf7['subType']==_0x214c10&&_areSimilarAttributes(_0x344bf7,_0x2f70da)&&(_0x59808b(_0x344bf7['getRanges'](),_0xbac35d)||_0x59808b(_0xbac35d,_0x344bf7['getRanges']()))){if(_0x427709){if(_0x344bf7['commentThread']&&_0x344bf7['commentThread']['length'])continue;for(const _0x3dcb83 of _0x344bf7['getRanges']())_0x427709['isIntersectingWithRange'](_0x3dcb83)||_0x427709['addRange'](_0x3dcb83);_0x344bf7['removeMarkers']();}else{_0x427709=_0x344bf7;for(const _0x42849e of _0xbac35d)_0x344bf7['isIntersectingWithRange'](_0x42849e)||_0x344bf7['addRange'](_0x42849e);}}if(_0x427709)return _0x427709;_0x511309['clear']();for(const {suggestion:_0x4b6c9e,meta:_0x5e937b}of this['_findSuggestions'](_0xbac35d,'deletion'))_0x5e937b['isOwn']&&(this['_mergeNestedSuggestions']||!_0x5e937b['containsRangeInObject']&&!_0x5e937b['isInsideObject'])&&_areSimilarAttributes(_0x4b6c9e,_0x2f70da)&&_0x511309['add'](_0x4b6c9e);for(const _0x1470c9 of _0x511309){const _0x3810e8=_0x1470c9['getRanges']();if(!_0x2f70da||!_0x2f70da['skipNestingCheck']){if(_0xbac35d['every'](_0x499e34=>_0x3810e8['some'](_0xbb2280=>_0xbb2280['containsRange'](_0x499e34,!0x0))))return _0x1470c9;}(!_0x1470c9['attributes']||!_0x1470c9['attributes']['skipNestingCheck'])&&(_0x3810e8['every'](_0x29765f=>_0xbac35d['some'](_0x3235db=>_0x3235db['containsRange'](_0x29765f,!0x0)))&&_0x1470c9['discard']());}const _0x86cfbf=ckeditor5['uid'](),_0x27e6fb=_0x26d943['id'],_0x54c7a8='deletion:'+_0x214c10,_0x16b26f=this['_setSuggestionData']({'id':_0x86cfbf,'type':_0x54c7a8,'createdAt':new Date(),'authorId':_0x27e6fb,'attributes':_0x2f70da});for(const _0x1f68d7 of _0xbac35d)_0x1f68d7['detach'](),_0x1f68d7['isCollapsed']||'$graveyard'==_0x1f68d7['root']['rootName']||this['_addSuggestionMarker'](_0x54c7a8,_0x86cfbf,_0x27e6fb,_0x1f68d7,Suggestion['getMultiRangeId']());return _0x16b26f;}['markAttributeChange'](_0x35f06f,_0x473d85,_0xeef9c3,_0x25a192,_0x14055a){if(_0x35f06f['isCollapsed'])return[];if('never'===this['_trackFormatChanges'])return[];const _0x45d603=this['editor']['plugins']['get']('Users')['me']['id'],_0x2520ec=Array['from'](this['_suggestions']['values']())['filter'](_0x442e47=>'attribute'==_0x442e47['type']&&_0x442e47['data']['key']==_0x473d85&&_0x442e47['isIntersectingWithRange'](_0x35f06f));if(this['_trackingSessionId']&&(_0x14055a['trackingSessionId']=this['_trackingSessionId']),'default'===this['_trackFormatChanges']){const _0x24beea=this['_findSuggestions'](_0x35f06f,'insertion')['filter'](({meta:_0x19243c})=>_0x19243c['isOwn']&&!_0x19243c['isInsideObject']&&!_0x19243c['isNextTo'])['map'](({suggestion:_0x4c0b61})=>_0x4c0b61);_0x2520ec['unshift'](..._0x24beea);}const _0x3f6b5d=new Map([[_0x35f06f,_0xeef9c3]]);for(const _0x3454c5 of _0x2520ec){const _0x27d2d3='attribute'==_0x3454c5['type']?_0x3454c5['data']['oldValue']:void 0x0,_0x5cbe25=_0x3454c5['getFirstRange'](),_0x4805a7=Array['from'](_0x3f6b5d['keys']())['find'](_0x51db91=>_0x51db91['isIntersecting'](_0x5cbe25));if(!_0x4805a7)continue;const _0x1f50f3=_0x4805a7['getDifference'](_0x5cbe25);this['_isBlockAttribute'](_0x473d85)&&'insertion'==_0x3454c5['type']&&0x0!=_0x1f50f3['length']||(_0x3f6b5d['delete'](_0x4805a7),_0x1f50f3['forEach'](_0x2cb0f3=>{_0x3f6b5d['set'](_0x2cb0f3,_0xeef9c3);}),'insertion'!=_0x3454c5['type']&&_0x27d2d3!=_0x25a192&&_0x3f6b5d['set'](_0x4805a7['getIntersection'](_0x5cbe25),_0x27d2d3));}const _0x3dac39=[];for(const [_0x1b9ccc,_0x23aadf]of _0x3f6b5d){const _0x2b3fb9=ckeditor5['uid'](),_0x4529bf={'key':_0x473d85,'oldValue':_0x23aadf,'newValue':_0x25a192};_0x473d85['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':_0x473d85});const _0x3a79d3=('attribute:'+(_0x473d85+'|'+createFormatSubType({'newValue':_0x25a192})))['substring'](0x0,0x3c),_0x5de145=this['_setSuggestionData']({'id':_0x2b3fb9,'type':_0x3a79d3,'data':_0x4529bf,'createdAt':new Date(),'authorId':_0x45d603,'attributes':_0x14055a});_0x3dac39['push'](_0x5de145),this['_addSuggestionMarker'](_0x3a79d3,_0x2b3fb9,_0x45d603,_0x1b9ccc);}return _0x3dac39;}['enableDefaultAttributesIntegration'](_0xb5b48f){this['enableCommand'](_0xb5b48f,(_0x54a277,..._0x5b7395)=>{this['recordAttributeChanges'](()=>{_0x54a277(..._0x5b7395);});});}['registerBlockAttribute'](_0x15061c){this['editor']['plugins']['get'](SuggestionsConversion)['registerBlockAttribute'](_0x15061c);}['registerInlineAttribute'](_0x54708d){this['editor']['plugins']['get'](SuggestionsConversion)['registerInlineAttribute'](_0x54708d);}['startTrackingSession'](_0x2ca793){return this['_trackingSessionId']=void 0x0!==_0x2ca793?_0x2ca793:ckeditor5['uid'](),this['_trackingSessionId'];}['_getAttributeKey'](_0x127008){return'attribute'==_0x127008['type']?_getAttributeKeyFromSubType(_0x127008['subType']):null;}['_applyOperationsAsSuggestions'](_0x8d2763){if(0x0==_0x8d2763['length'])return;const _0x78b8cb=this['editor'],_0x401959=_0x78b8cb['plugins']['get'](DocumentCompare),_0x5f3826=[];_0x78b8cb['model']['change'](_0x514a4e=>{for(let _0x193e9e=0x0;_0x193e9e<_0x8d2763['length'];_0x193e9e++){const _0x1abc7c=_0x8d2763[_0x193e9e];if(_0x1abc7c['baseVersion']=_0x78b8cb['model']['document']['version'],_0x1abc7c['isDocumentOperation']=!0x0,_0x401959['isMarkedRemoveOperation'](_0x1abc7c)){const _0x266e7c=fixElementSuggestionRange(_0x1abc7c['newRange'],_0x78b8cb['model']);_0x5f3826['unshift'](ckeditor5['ModelLiveRange']['fromRange'](_0x266e7c));}else switch(_0x1abc7c['type']){case'rename':{const _0x1d9fc0=_0x1abc7c['oldName'],_0x4a72c1=_0x1abc7c['newName'];if(_0x1d9fc0==_0x4a72c1)break;_0x514a4e['batch']['addOperation'](_0x1abc7c),_0x78b8cb['model']['applyOperation'](_0x1abc7c);const _0x34e64c='$elementName',_0x2e4138=_0x1abc7c['position'],_0x109776=_0x78b8cb['model']['createRange'](_0x2e4138,_0x78b8cb['model']['createPositionAt'](_0x2e4138['nodeAfter'],'end'));this['markAttributeChange'](_0x109776,_0x34e64c,_0x1d9fc0,_0x4a72c1,{'groupId':ckeditor5['uid']()});break;}case'addAttribute':case'removeAttribute':case'changeAttribute':{const _0x4849f7=_0x1abc7c['oldValue'],_0x5b0716=_0x1abc7c['newValue'];if(_0x4849f7==_0x5b0716)break;_0x514a4e['batch']['addOperation'](_0x1abc7c),_0x78b8cb['model']['applyOperation'](_0x1abc7c);const _0x2aed56=_0x1abc7c['key'];if(!this['_isRegisteredAttribute'](_0x2aed56))break;const _0x3927f3=fixElementSuggestionRange(_0x1abc7c['range'],_0x78b8cb['model']);this['markAttributeChange'](_0x3927f3,_0x2aed56,_0x4849f7,_0x5b0716,{'groupId':ckeditor5['uid']()});break;}case'insert':{_0x514a4e['batch']['addOperation'](_0x1abc7c),_0x78b8cb['model']['applyOperation'](_0x1abc7c);if(_0x8d2763[_0x193e9e+0x1]&&'move'==_0x8d2763[_0x193e9e+0x1]['type'])break;const _0x12aac0=_0x1abc7c['position'],_0x4eb5c3=_0x1abc7c['howMany'],_0x3663f0=fixElementSuggestionRange(_0x78b8cb['model']['createRange'](_0x12aac0,_0x12aac0['getShiftedBy'](_0x4eb5c3)),_0x78b8cb['model']);this['markInsertion'](_0x3663f0);break;}case'split':{_0x514a4e['batch']['addOperation'](_0x1abc7c),_0x78b8cb['model']['applyOperation'](_0x1abc7c);const _0x534e0c=_0x1abc7c['splitPosition'],_0x10a84c=_0x1abc7c['moveTargetPosition'];this['markInsertion'](_0x78b8cb['model']['createRange'](_0x534e0c,_0x10a84c));break;}case'move':case'remove':_0x514a4e['batch']['addOperation'](_0x1abc7c),_0x78b8cb['model']['applyOperation'](_0x1abc7c);}}for(const _0x5eae63 of _0x5f3826)_0x5eae63['detach'](),this['markDeletion'](_0x5eae63);});}['_setSuggestionRange'](_0x5ca941,_0x50938b){const _0x2436ee=_0x5ca941['getFirstMarker']();this['_model']['change'](_0x52f885=>{_0x52f885['updateMarker'](_0x2436ee,{'range':_0x50938b});});}['_addThreadToSuggestion'](_0x206684){const _0x47735a=_0x206684['id'],_0x51bea4=this['editor']['config']['get']('collaboration.channelId');this['_commentsRepository']['hasCommentThread'](_0x47735a)||this['_commentsRepository']['addCommentThread']({'channelId':_0x51bea4,'threadId':_0x47735a,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x2b756e=this['_commentsRepository']['getCommentThread'](_0x47735a);_0x2b756e['unbind']('isRemovable'),_0x2b756e['isRemovable']=!0x1,_0x206684['commentThread']=_0x2b756e;}['_checkSuggestionCorrectness'](_0x3b8ee1,_0x4d2c99,_0x233185,_0x1325f6){if(_0x3b8ee1['type']!=_0x4d2c99||_0x3b8ee1['subType']!=_0x233185||_0x3b8ee1['creator']['id']!=_0x1325f6)throw this['editor']['enableReadOnlyMode']('track-changes-suggestion-data-mismatch'),new ckeditor5['CKEditorError']('track-changes-suggestion-data-mismatch',this);}['_cutOutSuggestionMarker'](_0x2e1bfd,_0x2b380f){const _0x205161=_0x2e1bfd['getFirstRange']();if(_0x2b380f['isEqual'](_0x205161))_0x2e1bfd['removeMarkers']();else{if(_0x205161['containsRange'](_0x2b380f)){const _0x3fea00=this['_model']['createPositionAt'](_0x2b380f['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x2e1bfd,this['_model']['createRange'](_0x205161['start'],_0x3fea00));const _0x5d6708=ckeditor5['uid'](),_0x454efe=_0x2e1bfd['creator']['id'],_0x4df30b=_0x2e1bfd['type']+':'+_0x2e1bfd['subType'];this['_setSuggestionData']({'id':_0x5d6708,'type':_0x4df30b,'createdAt':new Date(),'authorId':_0x454efe,'data':_0x2e1bfd['data'],'attributes':_0x2e1bfd['attributes']});const _0x1a6e83=this['_model']['createPositionAt'](_0x2b380f['end']['parent'],'after'),_0x5e057d=this['_model']['createRange'](_0x1a6e83,_0x205161['end']);this['_addSuggestionMarker'](_0x4df30b,_0x5d6708,_0x454efe,_0x5e057d);}else{if(_0x205161['containsPosition'](_0x2b380f['start'])){const _0x36a064=this['_model']['createPositionAt'](_0x2b380f['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x2e1bfd,this['_model']['createRange'](_0x205161['start'],_0x36a064));}else{const _0x373c9f=this['_model']['createPositionAt'](_0x2b380f['end']['parent'],'after');this['_setSuggestionRange'](_0x2e1bfd,this['_model']['createRange'](_0x373c9f,_0x205161['end']));}}}}['_rangeIsInLocalUserInsertion'](_0x21f7ba){for(const {suggestion:_0x231c13,meta:_0x205d15}of this['_findSuggestions'](_0x21f7ba,'insertion')){if(!_0x205d15['isOwn'])continue;const _0x52cc5a=_0x231c13['getRanges']();for(const _0x12496b of _0x52cc5a)if(!_0x21f7ba['getDifference'](_0x12496b)['length'])return!0x0;}return!0x1;}['_getAuthorFromId'](_0x57d9b1){return this['editor']['plugins']['get']('Users')['getUser'](_0x57d9b1);}['_getExternalAuthor'](_0x5473e9){const _0x1ed030=this['editor']['plugins']['get']('Users'),_0x5b4d25=hashObject('external:'+_0x5473e9),_0x3f79e3=_0x1ed030['getUser'](_0x5b4d25);return _0x3f79e3||_0x1ed030['addUser']({'id':_0x5b4d25,'name':_0x5473e9});}['_createSuggestion'](_0x319d46,_0x54e221,_0xac15e4,_0x2f8081,_0xe92d54,_0x2cd57f){const _0x1610a6=this['_getAuthorFromId'](_0x2f8081);if(!_0x1610a6)throw new ckeditor5['CKEditorError']('track-changes-user-not-found',this,{'authorId':_0x2f8081,'suggestionId':_0xac15e4});const _0xb41ded=this['_suggestionFactory']['buildSuggestion'](_0x319d46,_0x54e221,_0xac15e4,_0x1610a6,_0xe92d54,_0x19c665=>{this['_updateSuggestionData'](_0xac15e4,{'attributes':_0x19c665});const _0x5c114a=this['getSuggestion'](_0xac15e4);this['_joinWithAdjacentSuggestions'](new Set([_0x5c114a])),this['_refreshSuggestionsChain'](new Set([_0x5c114a]));},_0x2cd57f);return this['listenTo'](_0xb41ded,'accept',()=>{this['_updateSuggestionData'](_0xac15e4,{'state':'accepted'});},{'priority':'high'}),this['listenTo'](_0xb41ded,'discard',()=>{this['_updateSuggestionData'](_0xac15e4,{'state':'rejected'});},{'priority':'high'}),this['_suggestions']['set'](_0xac15e4,_0xb41ded),this['_suggestionState']['set'](_0xb41ded,'notReady'),_0xb41ded;}['_splitMarkerName'](_0x36c67d){return splitSuggestionMarkerName(_0x36c67d);}['_breakSuggestionMarker'](_0x11c795,_0x56917d,_0x168d36){const _0x19c85c=_0x11c795['getFirstRange'](),_0xbc8d16=_0x19c85c['start'],_0x5342f3=_0x19c85c['end'];this['_setSuggestionRange'](_0x11c795,this['_model']['createRange'](_0xbc8d16,_0x56917d));const _0x121197=ckeditor5['uid'](),_0x41d96b=_0x11c795['creator']['id'],_0x9240b2=_0x11c795['type']+(_0x11c795['subType']?':'+_0x11c795['subType']:'');this['_setSuggestionData']({'id':_0x121197,'type':_0x9240b2,'createdAt':new Date(),'authorId':_0x41d96b,'originalSuggestionId':_0x11c795['_originalSuggestionId']||_0x11c795['id'],'attributes':_0x11c795['attributes'],'data':_0x11c795['data']});const _0x28d5bb=this['_getAttributeKey'](_0x11c795);('formatBlock'==_0x11c795['type']||_0x28d5bb&&this['_isBlockAttribute'](_0x28d5bb))&&(_0x168d36=this['_model']['createPositionBefore'](_0x168d36['parent'])),this['_addSuggestionMarker'](_0x9240b2,_0x121197,_0x41d96b,this['_model']['createRange'](_0x168d36,_0x5342f3));}['_findSuggestions'](_0x2f65b1,_0x2dca3d=null){const _0x243f1c=[],_0x597129=this['editor']['plugins']['get']('Users')['me'];Array['isArray'](_0x2f65b1)||(_0x2f65b1=[_0x2f65b1]);for(const _0x3be278 of this['getSuggestions']()){if(!_0x3be278['isInContent'])continue;if(_0x2dca3d&&_0x3be278['type']!=_0x2dca3d)continue;let _0x12b34c=!0x1;for(const _0x378581 of _0x3be278['getRanges']()){for(const _0x59a0d5 of _0x2f65b1){const _0x4142f9=_0x59a0d5['start']['isEqual'](_0x378581['end'])||_0x59a0d5['end']['isEqual'](_0x378581['start']);if(_0x4142f9||_0x59a0d5['getIntersection'](_0x378581)){const _0xb95dda=_0x59a0d5['containsRange'](_0x378581)&&_isInObject(this['_model']['schema'],_0x378581['start'],_0x59a0d5),_0x5c83dd=_0x378581['containsRange'](_0x59a0d5)&&_isInObject(this['_model']['schema'],_0x59a0d5['start'],_0x378581);_0x243f1c['push']({'suggestion':_0x3be278,'meta':{'isOwn':_0x597129==_0x3be278['author'],'isNextTo':_0x4142f9,'isInsideObject':_0xb95dda,'containsRangeInObject':_0x5c83dd}}),_0x12b34c=!0x0;break;}}if(_0x12b34c)break;}}return _0x243f1c;}['_addSuggestionMarker'](_0x294a44,_0x55a686,_0x4cefd3,_0x542721,_0x55da0d){this['_model']['change'](_0x46ff64=>{let _0x330d95='suggestion:'+_0x294a44+':'+_0x55a686+':'+_0x4cefd3;_0x55da0d&&(_0x330d95=_0x330d95+':'+_0x55da0d),_0x46ff64['addMarker'](_0x330d95,{'range':_0x542721,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0x57757c){const _0x8e9965=_0x57757c['previous'],_0x443868=_0x57757c['next'];_0x57757c['previous']=null,_0x57757c['next']=null,null!=_0x8e9965&&_0x8e9965['next']==_0x57757c&&(_0x8e9965['next']=_0x443868),null!=_0x443868&&_0x443868['previous']==_0x57757c&&(_0x443868['previous']=_0x8e9965),'ready'==this['_suggestionState']['get'](_0x57757c)&&(this['_suggestionState']['set'](_0x57757c,'removed'),this['fire']('suggestionUnloaded',_0x57757c,_0x8e9965,_0x443868));}['_setSuggestionData'](_0x1b5473){const _0x3fbe8d=_0x1b5473['id'],_0x1eec87=this['addSuggestionData'](_0x1b5473);if(this['_adapter']&&this['_adapter']['addSuggestion']){const _0x57faf5=this['editor']['plugins']['get']('PendingActions'),_0x45a60a=_0x1eec87['hasComments'],_0x133801=_0x1eec87['subType']?_0x1eec87['type']+':'+_0x1eec87['subType']:_0x1eec87['type'],_0x2b234f=this['editor']['locale'],_0xac164c=_0x57faf5['add'](getTranslation$1(_0x2b234f,'PENDING_ACTION_SUGGESTION')),_0x580efa={'id':_0x3fbe8d,'type':_0x133801,'hasComments':_0x45a60a,'data':_0x1b5473['data']||null,'originalSuggestionId':_0x1b5473['originalSuggestionId']||null,'attributes':_0x1eec87['attributes']};this['_adapter']['addSuggestion'](_0x580efa)['then'](_0x1b447b=>{_0x1eec87['_saved']=!0x0,_0x57faf5['remove'](_0xac164c),_0x1b447b&&_0x1b447b['createdAt']&&(this['_suggestions']['get'](_0x3fbe8d)['createdAt']=_0x1b447b['createdAt']);})['catch'](_0x284395=>{throw ckeditor5['logWarning']('error-saving-suggestion-data-suggestion-discarded'),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x1eec87['discard']();}),_0x1eec87['stopListening'](),this['_suggestions']['delete'](_0x1eec87['id']),this['_suggestionState']['delete'](_0x1eec87),_0x284395;});}return _0x1eec87;}['_isBlockAttribute'](_0x47f517){return this['editor']['plugins']['get'](SuggestionsConversion)['isBlockAttribute'](_0x47f517);}['_isInlineAttribute'](_0x1d79cd){return this['editor']['plugins']['get'](SuggestionsConversion)['isInlineAttribute'](_0x1d79cd);}['_updateSuggestionData'](_0x3beb9c,_0xe7f27d){const _0x3b7665=this['editor']['plugins']['get']('PendingActions'),_0x251bf3=this['getSuggestion'](_0x3beb9c);if(this['_adapter']&&this['_adapter']['updateSuggestion']){if(_0x251bf3['_saved']){const _0x4b597d=_0x3b7665['add'](getTranslation$1(this['editor']['locale'],'PENDING_ACTION_SUGGESTION'));this['_adapter']['updateSuggestion'](_0x3beb9c,_0xe7f27d)['then'](()=>{_0x3b7665['remove'](_0x4b597d);});}else _0x251bf3['on']('change:_saved',()=>{this['_updateSuggestionData'](_0x3beb9c,_0xe7f27d);});}}['_getSuggestionData'](_0x42f506){if(!this['_adapter']||!this['_adapter']['getSuggestion'])throw new ckeditor5['CKEditorError']('track-changes-adapter-missing-getsuggestion',this);return this['_adapter']['getSuggestion'](_0x42f506);}['_handleNewSuggestionMarker'](_0x35714a){const {id:_0x32d4c7,type:_0x2b5524,subType:_0x3355df,authorId:_0x27c58b}=this['_splitMarkerName'](_0x35714a),_0x4576eb=this['_suggestions']['get'](_0x32d4c7)||this['_createSuggestion'](_0x2b5524,_0x3355df,_0x32d4c7,_0x27c58b,{});switch(this['_checkSuggestionCorrectness'](_0x4576eb,_0x2b5524,_0x3355df,_0x27c58b),this['_suggestionState']['get'](_0x4576eb)){case'notReady':this['_getSuggestionData'](_0x32d4c7)['then'](_0x39b618=>{let _0x4220dd=Promise['resolve']();_0x39b618['hasComments']&&(_0x4220dd=this['_commentsRepository']['fetchCommentThread']({'channelId':this['editor']['config']['get']('collaboration.channelId'),'threadId':_0x32d4c7})),_0x4220dd['then'](()=>{this['addSuggestionData'](_0x39b618)['_saved']=!0x0;});}),this['_suggestionState']['set'](_0x4576eb,'markerReady');break;case'removed':this['_updateSuggestionData'](_0x32d4c7,{'state':'open'});case'dataReady':this['_suggestionState']['set'](_0x4576eb,'ready'),this['fire']('suggestionLoaded',_0x4576eb);break;case'ready':this['fire']('suggestionChanged',_0x4576eb);}return _0x4576eb['addMarkerName'](_0x35714a),_0x4576eb;}['_refreshSuggestionsChain'](_0x42a315){const _0xbf8934=Array['from'](_0x42a315),_0x1263fa=_0xbf8934['filter'](_0x29efea=>'attribute'==_0x29efea['type']);this['_refreshAttributeSuggestionsChain'](_0x1263fa);const _0x9484cc=_0xbf8934['filter'](_0x145eac=>!_0x145eac['isMultiRange']&&'attribute'!=_0x145eac['type']),_0x6df8e7=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x40a7c4=>!_0x40a7c4['isMultiRange']&&'attribute'!=_0x40a7c4['type']),_0x40bb77=_0x6df8e7['filter'](_0x2d14a3=>!_0x42a315['has'](_0x2d14a3)),_0x4063b5=new Map(_0x6df8e7['map'](_0x57c8aa=>[_0x57c8aa,this['_suggestionFactory']['getSuggestionCallback'](_0x57c8aa['type'],_0x57c8aa['subType'],'chain')])),_0x25b038=new Map(_0x6df8e7['map'](_0x24ace5=>[_0x24ace5,_0x24ace5['getFirstRange']()])),_0x15b564=new Set(),_0x2d82f4=new Set();for(let _0x438427=0x0;_0x438427<_0x9484cc['length'];_0x438427++)_0x32de7a(_0x9484cc[_0x438427],_0x9484cc,_0x438427+0x1);for(let _0xf22152=0x0;_0xf22152<_0x9484cc['length'];_0xf22152++)_0x32de7a(_0x9484cc[_0xf22152],_0x40bb77,0x0);const _0x2fb82f=new Set();for(let _0x47038e=0x0;_0x47038e<_0x9484cc['length'];_0x47038e++){const _0x4b26ab=_0x9484cc[_0x47038e];!_0x2d82f4['has'](_0x4b26ab)&&_0x4b26ab['previous']&&(_0x2fb82f['add'](_0x4b26ab['previous']),_0x4b26ab['previous']['next']===_0x4b26ab&&(_0x4b26ab['previous']['next']=null),_0x4b26ab['previous']=null),!_0x15b564['has'](_0x4b26ab)&&_0x4b26ab['next']&&(_0x2fb82f['add'](_0x4b26ab['next']),_0x4b26ab['next']['previous']===_0x4b26ab&&(_0x4b26ab['next']['previous']=null),_0x4b26ab['next']=null);}function _0x32de7a(_0x332d95,_0x1805db,_0x26f4ff){for(let _0x13d8a8=_0x26f4ff;_0x13d8a8<_0x1805db['length'];_0x13d8a8++){const _0x3a85e7=_0x3f2caa(_0x332d95,_0x1805db[_0x13d8a8]);_0x3a85e7&&(_0x3a85e7[0x0]['next']=_0x3a85e7[0x1],_0x3a85e7[0x1]['previous']=_0x3a85e7[0x0],_0x15b564['add'](_0x3a85e7[0x0]),_0x2d82f4['add'](_0x3a85e7[0x1]));}}function _0x3f2caa(_0x44ad24,_0x2dd0e8){if(_0x44ad24['author']['id']!==_0x2dd0e8['author']['id'])return null;const _0x2c666d=_0x4063b5['get'](_0x44ad24)(_0x44ad24,_0x2dd0e8,_0x25b038['get'](_0x44ad24),_0x25b038['get'](_0x2dd0e8));if(!_0x2c666d)return null;return _0x4063b5['get'](_0x2dd0e8)(_0x44ad24,_0x2dd0e8,_0x25b038['get'](_0x44ad24),_0x25b038['get'](_0x2dd0e8))?_0x2c666d[0x1]['commentThread']&&_0x2c666d[0x1]['commentThread']['length']?null:_0x2c666d:null;}_0x2fb82f['size']&&this['_refreshSuggestionsChain'](_0x2fb82f);}['_refreshAttributeSuggestionsChain'](_0x193424){if(0x0==_0x193424['length'])return;const _0x4069c6=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x5baf83=>'attribute'==_0x5baf83['type']&&_0x5baf83['_isDataLoaded']),_0x393671=[],_0x2ef255=new Map();for(const _0x17ba8b of _0x4069c6){const _0x3ea857=hashObject(_0x17ba8b['attributes']);_0x2ef255['has'](_0x3ea857)||(_0x2ef255['set'](_0x3ea857,_0x393671['length']),_0x393671['push']([]));const _0xeae9bb=_0x2ef255['get'](_0x3ea857);_0x393671[_0xeae9bb]['push'](_0x17ba8b);}!(function(){_0x393671['sort']((_0x3a185e,_0x4291b4)=>{const _0x5e0011=_0x3a185e[0x0]['createdAt'],_0x337abc=_0x4291b4[0x0]['createdAt'];return _0x5e0011==_0x337abc?_0x3a185e[0x0]['attributes']['groupId']<_0x4291b4[0x0]['attributes']['groupId']?-0x1:0x1:_0x5e0011<_0x337abc?-0x1:0x1;});for(const _0x407da3 of _0x393671)_0x407da3['sort']((_0x2fada6,_0x3e871e)=>_0x2fada6['id']<_0x3e871e['id']?-0x1:0x1);}());for(let _0x49e574=0x0;_0x49e574<_0x393671['length'];_0x49e574++){if(0x0==_0x393671[_0x49e574]['length'])continue;const _0x42f9e6=[];for(let _0x597071=_0x49e574+0x1;_0x597071<_0x393671['length'];_0x597071++)0x0!=_0x393671[_0x597071]['length']&&_0x120773(_0x393671[_0x49e574],_0x393671[_0x597071])&&_0x42f9e6['push'](_0x597071);for(const _0x4ed5e8 of _0x42f9e6)_0x393671[_0x49e574]=_0x393671[_0x49e574]['concat'](_0x393671[_0x4ed5e8]),_0x393671[_0x4ed5e8]=[];}for(const _0xb33eb5 of _0x393671)for(let _0x47f018=0x0;_0x47f018<_0xb33eb5['length'];_0x47f018++){const _0x2c9d3b=_0xb33eb5[_0x47f018+0x1]||null;_0xb33eb5[_0x47f018]['next']!==_0x2c9d3b&&(_0xb33eb5[_0x47f018]['next']=_0x2c9d3b);}for(const _0x59675d of _0x393671)for(let _0x5404c7=0x0;_0x5404c7<_0x59675d['length'];_0x5404c7++){const _0xbfbf43=_0x59675d[_0x5404c7-0x1]||null;_0x59675d[_0x5404c7]['previous']!==_0xbfbf43&&(_0x59675d[_0x5404c7]['previous']=_0xbfbf43);}function _0x120773(_0x3dc4f5,_0x41ad31){if(_0x3dc4f5[0x0]['attributes']['groupId']!==_0x41ad31[0x0]['attributes']['groupId']&&_0x3dc4f5[0x0]['author']!==_0x41ad31[0x0]['author'])return!0x1;if(!function(_0x21f15b,_0x4070c7){if(!_0x21f15b['hasComments']&&!_0x4070c7['hasComments'])return!0x0;if(_0x21f15b['hasComments']&&_0x4070c7['hasComments'])return!0x1;if(_0x21f15b['hasComments']&&_0x4070c7['createdAt']<_0x21f15b['commentThread']['comments']['get'](0x0)['createdAt'])return!0x0;if(_0x4070c7['hasComments']&&_0x21f15b['createdAt']<_0x4070c7['commentThread']['comments']['get'](0x0)['createdAt'])return!0x0;return!0x1;}(_0x3dc4f5[0x0],_0x41ad31[0x0]))return!0x1;if(!_0x4cbe47(omit(_0x3dc4f5[0x0]['attributes'],['groupId','trackingSessionId']),omit(_0x41ad31[0x0]['attributes'],['groupId','trackingSessionId'])))return!0x1;if(_0x3dc4f5[0x0]['attributes']['groupId']==_0x41ad31[0x0]['attributes']['groupId'])return!0x0;if(_0x3dc4f5[0x0]['attributes']['trackingSessionId']!==_0x41ad31[0x0]['attributes']['trackingSessionId'])return!0x1;return!!_0x3dc4f5['every'](_0x580f15=>_0x41ad31['some'](_0x2b14cd=>_0x580f15['getFirstRange']()['isEqual'](_0x2b14cd['getFirstRange']())))&&_0x41ad31['every'](_0x216baf=>_0x3dc4f5['some'](_0x536ef1=>_0x216baf['getFirstRange']()['isEqual'](_0x536ef1['getFirstRange']())));}}['_joinWithAdjacentSuggestions'](_0x31a9a3){const _0x4c677e=Array['from'](_0x31a9a3),_0x2d2778=this['getSuggestions']({'skipNotAttached':!0x0}),_0xca1afc=_0x2d2778['filter'](_0x5e8ce1=>!_0x31a9a3['has'](_0x5e8ce1)),_0x5932c7=new Map(_0x4c677e['map'](_0x57c62e=>[_0x57c62e,this['_suggestionFactory']['getSuggestionCallback'](_0x57c62e['type'],_0x57c62e['subType'],'join')])),_0x705696=new Map(_0x2d2778['map'](_0x15a728=>[_0x15a728,_0x15a728['getRanges']()]));for(let _0x81c801=0x0;_0x81c801<_0x4c677e['length'];_0x81c801++){if(_0x393e08(this,_0x4c677e[_0x81c801],_0x4c677e,_0x81c801+0x1))return!0x0;}for(let _0x29fe96=0x0;_0x29fe96<_0x4c677e['length'];_0x29fe96++){if(_0x393e08(this,_0x4c677e[_0x29fe96],_0xca1afc,0x0))return!0x0;}return!0x1;function _0x393e08(_0x3db351,_0x5b90f9,_0x1b0175,_0xeee69f){for(let _0x16a1eb=_0xeee69f;_0x16a1eb<_0x1b0175['length'];_0x16a1eb++){const _0xe042e9=_0x1b0175[_0x16a1eb];if(_0xe042e9['type']!==_0x5b90f9['type']||_0xe042e9['author']['id']!==_0x5b90f9['author']['id']||_0xe042e9['subType']!==_0x5b90f9['subType'])continue;if(!_haveSameAttributes(_0x5b90f9,_0xe042e9))continue;if('attribute'==_0x5b90f9['type']&&_0x5b90f9['data']['oldValue']!=_0xe042e9['data']['oldValue'])continue;if('attribute'==_0x5b90f9['type']&&_0x3db351['_isBlockAttribute'](_0x5b90f9['data']['key']))continue;if('formatBlock'==_0x5b90f9['type']){const _0x14ed62=_0x3db351['editor']['model'],_0x32fa0b=_0x5b90f9['getContainedElement']();if(_0x32fa0b&&(_0x14ed62['schema']['isObject'](_0x32fa0b)||_0x14ed62['schema']['isLimit'](_0x32fa0b)))continue;}const _0x1d53fc=_0x5932c7['get'](_0x5b90f9),_0x214103=_0x705696['get'](_0x5b90f9),_0x3ced37=_0x705696['get'](_0xe042e9),_0x108a19=_0x5b90f9['commentThread']&&_0x5b90f9['commentThread']['length'],_0x35d785=_0xe042e9['commentThread']&&_0xe042e9['commentThread']['length'];if(!_0x108a19&&_0x1d53fc(_0x3ced37,_0x214103))return _0x3db351['_joinSuggestions'](_0xe042e9,_0x5b90f9),_0x705696['delete'](_0x5b90f9),!0x0;if(!_0x35d785&&_0x1d53fc(_0x214103,_0x3ced37))return _0x3db351['_joinSuggestions'](_0x5b90f9,_0xe042e9),_0x705696['delete'](_0xe042e9),!0x0;}return!0x1;}}['_joinSuggestions'](_0xd4c04d,_0x432abe){if(_0xd4c04d['isMultiRange']){for(const _0x10e39c of _0x432abe['getRanges']())_0xd4c04d['addRange'](_0x10e39c);}else{const _0x60befd=_0x432abe['getFirstRange']()['end'];this['_setSuggestionRange'](_0xd4c04d,this['_model']['createRange'](_0xd4c04d['getFirstRange']()['start'],_0x60befd));}_0x432abe['removeMarkers']();}['_getMarkerAnnouncementText'](_0x704c7a,_0x5b574c,_0x2554e6){const _0xe16938=_0x704c7a['startsWith']('format')||_0x704c7a['startsWith']('attribute')?'FORMATTING':_0x704c7a['toUpperCase']();return getTranslation$1(this['editor']['locale'],_0x5b574c+'_'+_0xe16938+'_SUGGESTION_ANNOUNCEMENT',_0x2554e6);}['_initAriaMarkerChangeAnnouncements'](){const _0x3a5901=this['editor'];if(!_0x3a5901['ui'])return;const {ariaLiveAnnouncer:_0x326d0f}=_0x3a5901['ui'];surroundingMarkersDetector(this['_model'],({left:_0x4bfa70,entered:_0x1e7ac3})=>{for(const _0x5af0f4 of _0x4bfa70){const {group:_0x3c89d6,type:_0x5afd56}=this['_splitMarkerName'](_0x5af0f4['name']);if('suggestion'===_0x3c89d6){_0x326d0f['announce'](this['_getMarkerAnnouncementText'](_0x5afd56,'LEAVE'));break;}}for(const _0x128c54 of _0x1e7ac3){const {group:_0x181296,type:_0x432c4e}=this['_splitMarkerName'](_0x128c54['name']);if('suggestion'===_0x181296){_0x326d0f['announce'](this['_getMarkerAnnouncementText'](_0x432c4e,'ENTER',ckeditor5['getEnvKeystrokeText'](_0x356a21)));break;}}});}['_processAttributeChanges'](_0x247d51){if(this['_recordAttributeSuggestions'])return!0x1;const _0x36f7dc=this['editor'],_0x34fe17=_0x36f7dc['model']['document']['differ']['getChanges']();if(0x0==_0x34fe17['length'])return!0x1;const _0x5ce814=[],_0x1dcf52=_0x34fe17['filter'](_0x37dca6=>'attribute'==_0x37dca6['type']),_0x1dff44=_0x34fe17['filter'](_0x33869a=>'insert'==_0x33869a['type']&&'$text'!=_0x33869a['name']),_0x289017=_0x34fe17['filter'](_0x18e93d=>'remove'==_0x18e93d['type']&&'$text'!=_0x18e93d['name']);for(const _0x3674a4 of _0x1dcf52)_0x5ce814['push']({'key':_0x3674a4['attributeKey'],'newValue':_0x3674a4['attributeNewValue'],'oldValue':_0x3674a4['attributeOldValue'],'range':fixAttributeSuggestionRange(_0x3674a4['range'],_0x36f7dc['model'])});for(const _0x2c8579 of _0x1dff44){const _0x545e65=_0x289017['find'](_0x315fcb=>_0x315fcb['position']['isEqual'](_0x2c8579['position']));_0x545e65&&_0x5ce814['push']({'key':renameAttributeKey,'newValue':_0x2c8579['name'],'oldValue':_0x545e65['name'],'range':_0x36f7dc['model']['createRangeOn'](_0x2c8579['position']['nodeAfter'])});}return 0x0!=_0x5ce814['length']&&this['_reduceExistingSuggestions'](_0x247d51,_0x5ce814);}['_processAttributeSuggestions'](_0x541054){let _0x1a1ee3=!0x1;const _0x283a76=this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x28989e=>_0x28989e['data']['newRange']&&_0x28989e['name']['startsWith']('suggestion:attribute:'));for(const _0x3ca83c of _0x283a76){const {subType:_0x571a1e,id:_0x161a46}=this['_splitMarkerName'](_0x3ca83c['name']),_0x2796c7=_0x571a1e['split']('|')[0x0];for(const _0x1f965e of this['getSuggestions']({'skipNotAttached':!0x0}))_0x1f965e['id']!=_0x161a46&&'attribute'==_0x1f965e['type']&&_0x1f965e['data']&&_0x1f965e['data']['key']==_0x2796c7&&_0x1f965e['getFirstRange']()['isIntersecting'](_0x3ca83c['data']['newRange'])&&(this['_reduceSuggestionAttributeRange'](_0x1f965e,_0x3ca83c['data']['newRange'],_0x541054),_0x1a1ee3=!0x0);}return _0x1a1ee3;}['recordAttributeChanges'](_0x3837a4){this['_recordAttributeSuggestions']=!0x0,_0x3837a4();}['_isRegisteredAttribute'](_0x4d90f7){return this['editor']['plugins']['get'](SuggestionsConversion)['isRegisteredAttribute'](_0x4d90f7);}['_reduceExistingSuggestions'](_0x426de3,_0x478ca2){if(0x0==_0x478ca2['length'])return!0x1;let _0x17cfd7=!0x1;for(const _0x2dc0ea of _0x478ca2){const _0x21ad9d=this['_findSuggestions'](_0x2dc0ea['range'],'attribute')['filter'](_0x3e816a=>!_0x3e816a['meta']['isNextTo'])['map'](_0x598d2c=>_0x598d2c['suggestion']),_0x59d1cf=hashObject({'newValue':_0x2dc0ea['newValue']});_0x21ad9d['filter'](_0x565121=>{const [_0x433910,_0x103dac]=_0x565121['subType']['split']('|');return _0x433910==_0x2dc0ea['key']&&_0x103dac!=_0x59d1cf;})['forEach'](_0x2cfdfb=>{this['_reduceSuggestionAttributeRange'](_0x2cfdfb,_0x2dc0ea['range'],_0x426de3),_0x17cfd7=!0x0;});}return _0x17cfd7;}['_reduceSuggestionAttributeRange'](_0x1fbb24,_0x15f23e,_0x5343f4){const _0x101c27=_0x1fbb24['getFirstRange']()['getDifference'](_0x15f23e);0x0!==_0x101c27['length']?0x1!==_0x101c27['length']?this['_breakSuggestionMarker'](_0x1fbb24,_0x15f23e['start'],_0x15f23e['end']):this['_setSuggestionRange'](_0x1fbb24,_0x101c27[0x0]):_0x5343f4['removeMarker'](_0x1fbb24['getFirstMarker']());}}class SuggestionFactory{['_editor'];['_model'];['_customCallbacks'];['_defaultCallbacks'];constructor(_0x5dbbf4){this['_editor']=_0x5dbbf4,this['_model']=_0x5dbbf4['model'],this['_customCallbacks']=new Map(),this['_defaultCallbacks']=new Map(),this['_registerDefaultCallbacks']();}['buildSuggestion'](_0x2430b0,_0x27e92d,_0x2f0f72,_0x56c59a,_0x31569e,_0x283c23,_0x5b780a){return new Suggestion(this['_model'],{'type':_0x2430b0,'subType':_0x27e92d,'id':_0x2f0f72,'originalSuggestionId':_0x5b780a,'author':_0x56c59a,'creator':_0x56c59a,'attributes':_0x31569e,'onAttributesChange':_0x283c23,'onAccept':(..._0x3eb00e)=>this['getSuggestionCallback'](_0x2430b0,_0x27e92d,'accept')(..._0x3eb00e),'onDiscard':(..._0x3ff8bd)=>this['getSuggestionCallback'](_0x2430b0,_0x27e92d,'discard')(..._0x3ff8bd)});}['registerCustomCallback'](_0x568e9a,_0x1e148e,_0x5e429e,_0x716c93){const _0x4a82c1=_0x568e9a+':'+_0x1e148e+':'+_0x5e429e;this['_customCallbacks']['set'](_0x4a82c1,_0x716c93);}['getSuggestionCallback'](_0x565dde,_0x517aae,_0x4e8af5){const _0x420712=_0x565dde+':'+_0x517aae+':'+_0x4e8af5;return this['_customCallbacks']['get'](_0x420712)||this['_defaultCallbacks']['get'](_0x565dde+':'+_0x4e8af5);}['_registerDefaultCallbacks'](){const _0x47538a=()=>!0x1,_0x11e75d=_0x50fc44=>{_0x50fc44['sort']((_0x31a7b6,_0x2c3520)=>_0x31a7b6['start']['isBefore'](_0x2c3520['start'])?0x1:-0x1),this['_model']['change'](_0x59b6a8=>{for(const _0x50dc70 of _0x50fc44){let _0xf697f1;_0xf697f1=_0x50dc70['end']['isAtEnd']&&_0x50dc70['end']['parent']==_0x50dc70['start']['nodeAfter']?_0x59b6a8['createSelection'](_0x50dc70['start']['nodeAfter'],'on'):_0x59b6a8['createSelection'](_0x50dc70),this['_model']['deleteContent'](_0xf697f1,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0,'doNotFixSelection':!0x0});}});},_0x4a2526=(_0xe24c91,_0x7ee3b3)=>{_0x7ee3b3&&this['_model']['change'](_0x436199=>{const {commandName:_0x2d8cd9,commandParams:_0x1327a2=[]}=_0x7ee3b3,_0x4b1351=_0xe24c91['map'](_0x4fa33d=>(_0x3b958b(_0x4fa33d)&&(_0x4fa33d=this['_model']['createRange'](_0x4fa33d['end'])),_0x4fa33d))['filter'](_0x3a84db=>'$graveyard'!==_0x3a84db['root']['rootName']);if(_0x4b1351['length']<0x1)return;const _0x1d35dd=Array['from'](this['_model']['document']['selection']['getRanges']())['map'](_0x579907=>ckeditor5['ModelLiveRange']['fromRange'](_0x579907));_0x436199['setSelection'](_0x4b1351);for(const _0xbe7cc6 of this['_editor']['commands']['commands']())_0xbe7cc6['refresh']();_0x1327a2['push']({'forceDefaultExecution':!0x0}),this['_editor']['execute'](_0x2d8cd9,..._0x1327a2);const _0x1a3050=_0x1d35dd['filter'](_0x889cfe=>'$graveyard'!=_0x889cfe['root']['rootName']);_0x1a3050['length']>0x0&&_0x436199['setSelection'](_0x1a3050);for(const _0x4ad938 of _0x1d35dd)_0x4ad938['detach']();});},_0x26dfd7=(_0x157c3a,_0x188029)=>0x1==_0x157c3a['length']&&0x1==_0x188029['length']&&_0x157c3a[0x0]['end']['isEqual'](_0x188029[0x0]['start']),_0x479341=(_0x4f80e2,_0x5f37a0,_0x2f5e23,_0x105d2d)=>canChainSuggestions(_0x4f80e2,_0x5f37a0,_0x2f5e23,_0x105d2d)?[_0x4f80e2,_0x5f37a0]:canChainSuggestions(_0x5f37a0,_0x4f80e2,_0x105d2d,_0x2f5e23)?[_0x5f37a0,_0x4f80e2]:null;this['_defaultCallbacks']['set']('insertion:accept',_0x47538a),this['_defaultCallbacks']['set']('insertion:discard',_0x11e75d),this['_defaultCallbacks']['set']('insertion:join',_0x26dfd7),this['_defaultCallbacks']['set']('insertion:chain',_0x479341),this['_defaultCallbacks']['set']('deletion:accept',_0x11e75d),this['_defaultCallbacks']['set']('deletion:discard',_0x47538a),this['_defaultCallbacks']['set']('deletion:join',_0x26dfd7),this['_defaultCallbacks']['set']('deletion:chain',_0x479341),this['_defaultCallbacks']['set']('formatInline:accept',_0x4a2526),this['_defaultCallbacks']['set']('formatInline:discard',_0x47538a),this['_defaultCallbacks']['set']('formatInline:join',_0x26dfd7),this['_defaultCallbacks']['set']('formatInline:chain',_0x47538a),this['_defaultCallbacks']['set']('formatBlock:accept',_0x4a2526),this['_defaultCallbacks']['set']('formatBlock:discard',_0x47538a),this['_defaultCallbacks']['set']('formatBlock:join',_0x26dfd7),this['_defaultCallbacks']['set']('formatBlock:chain',_0x47538a),this['_defaultCallbacks']['set']('attribute:accept',_0x47538a),this['_defaultCallbacks']['set']('attribute:discard',(_0x415d6c,_0x57e6cb)=>{if(!_0x57e6cb)return;const _0x1b22a9=this['_editor']['plugins']['get'](TrackChangesEditing);this['_model']['change'](_0x29a854=>{if(_0x57e6cb['key']==renameAttributeKey)for(const _0x24b5ca of _0x415d6c){const _0x5ae1d0=_0x24b5ca['start']['nodeAfter'],_0x2a4900=_0x57e6cb['oldValue'];_0x29a854['rename'](_0x5ae1d0,_0x2a4900);}else{if(_0x1b22a9['_isBlockAttribute'](_0x57e6cb['key'])){for(const _0x59f844 of _0x415d6c)void 0x0!==_0x57e6cb['oldValue']?_0x29a854['setAttribute'](_0x57e6cb['key'],_0x57e6cb['oldValue'],_0x59f844['start']['nodeAfter']):_0x29a854['removeAttribute'](_0x57e6cb['key'],_0x59f844['start']['nodeAfter']);}else{for(const _0x5011e5 of _0x415d6c)_0x57e6cb['oldValue']?_0x29a854['setAttribute'](_0x57e6cb['key'],_0x57e6cb['oldValue'],_0x5011e5):_0x29a854['removeAttribute'](_0x57e6cb['key'],_0x5011e5);}}});}),this['_defaultCallbacks']['set']('attribute:join',_0x26dfd7);}}function getIntersectionsWithMultipleRanges(_0x4cb05f,_0x5a290a){const _0x3fcf62=[];for(const _0x53117d of _0x5a290a){const _0x5cf610=_0x4cb05f['getIntersection'](_0x53117d);_0x5cf610&&_0x3fcf62['push'](_0x5cf610);}return _0x3fcf62;}function getDifferencesWithMultipleRanges(_0x4f619b,_0x34c9f1){const _0x5ac0eb=[_0x4f619b];for(const _0x4d1507 of _0x34c9f1){let _0x1d49ac=0x0;for(;_0x1d49ac<_0x5ac0eb['length'];){const _0x583026=_0x5ac0eb[_0x1d49ac]['getDifference'](_0x4d1507);_0x5ac0eb['splice'](_0x1d49ac,0x1,..._0x583026),_0x1d49ac+=_0x583026['length'];}}return _0x5ac0eb;}function _isInObject(_0x12e09e,_0x56f8e6,_0x33e3b1){for(const _0x53f6a9 of _0x56f8e6['parent']['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x53f6a9['root']==_0x53f6a9)return!0x1;if(!_0x33e3b1['containsItem'](_0x53f6a9))return!0x1;if(_0x12e09e['isObject'](_0x53f6a9)||_0x12e09e['isLimit'](_0x53f6a9))return!0x0;}return!0x1;}function _0x3b958b(_0x466792){return _0x466792['end']['parent']==_0x466792['start']['nodeAfter']&&_0x466792['end']['isAtStart'];}function _0x91fbf4(_0x40472f){return _0x40472f['start']['parent']==_0x40472f['end']['nodeBefore']&&_0x40472f['start']['isAtEnd'];}function trimFormatInlineSuggestionRange(_0x2c4d27,_0x69d93d,_0x3ee2ef,_0x6ed837){const _0x5ee14a=_0xe58b77=>!_0xe58b77['item']['is']('$textProxy')&&!_0x6ed837['isObject'](_0xe58b77['item']),_0x31b7b4=_0x2c4d27['start']['getLastMatchingPosition'](_0x5ee14a),_0x2bed48=_0x2c4d27['end']['getLastMatchingPosition'](_0x5ee14a,{'direction':'backward'});return(!_0x2c4d27['start']['isEqual'](_0x31b7b4)||!_0x2c4d27['end']['isEqual'](_0x2bed48))&&(_0x31b7b4['isBefore'](_0x2bed48)?_0x3ee2ef['updateMarker'](_0x69d93d,{'range':_0x3ee2ef['createRange'](_0x31b7b4,_0x2bed48)}):_0x3ee2ef['removeMarker'](_0x69d93d),!0x0);}function createFormatSubType(_0x465ac3){return hashObject(_0x465ac3);}function isCorrectFormatBlockSuggestionRange(_0x44bdfb){const _0x1b93fb=_0x44bdfb['start']['nodeAfter'];return _0x1b93fb&&_0x1b93fb['is']('element');}function isEmptyRange(_0x157666){return _0x3b958b(_0x157666)||_0x91fbf4(_0x157666);}function isIntersectingWithOtherMarkers(_0x207e98,_0x5866a2){try{const _0x53dc3d=_0x207e98['getRange']();for(const _0x3e0821 of _0x5866a2)if(_0x207e98!==_0x3e0821&&_0x53dc3d&&_0x53dc3d['isIntersecting'](_0x3e0821['getRange']()))return!0x0;return!0x1;}catch{return!0x1;}}function fixAttributeSuggestionRange(_0x199a28,_0x13f10b){return null==_0x199a28['end']['nodeBefore']&&_0x199a28['end']['parent']==_0x199a28['start']['nodeAfter']?createBlockFormatRangeForElement(_0x199a28['start']['nodeAfter'],_0x13f10b):_0x199a28;}function createBlockFormatRangeForElement(_0xc6adf7,_0x5c2342){const _0x3da560=_0x5c2342['schema']['isObject'](_0xc6adf7)||_0x5c2342['schema']['isSelectable'](_0xc6adf7);return _0x5c2342['createRange'](_0x5c2342['createPositionAt'](_0xc6adf7,'before'),_0x3da560?_0x5c2342['createPositionAfter'](_0xc6adf7):_0x5c2342['createPositionAt'](_0xc6adf7,'end'));}function canChainSuggestions(_0x4d6779,_0x3ef3c3,_0x1742f3,_0x1bfba1){return!!_haveSameAttributes(_0x4d6779,_0x3ef3c3)&&_0x1742f3['end']['isEqual'](_0x1bfba1['start']);}function _haveSameAttributes(_0x43f14e,_0x5d167a){if(!_0x43f14e['_isDataLoaded']||!_0x5d167a['_isDataLoaded'])return!0x1;const _0x374599=new Set(Object['keys'](_0x43f14e['attributes'])),_0x53c7bc=new Set(Object['keys'](_0x5d167a['attributes']));if(_0x374599['delete']('groupId'),_0x53c7bc['delete']('groupId'),0x0==_0x374599['size']&&0x0==_0x53c7bc['size'])return!0x0;if(_0x374599['size']!=_0x53c7bc['size'])return!0x1;const _0x48ffc1={..._0x43f14e['attributes']},_0x1ff40d={..._0x5d167a['attributes']};return delete _0x48ffc1['groupId'],delete _0x1ff40d['groupId'],JSON['stringify'](_0x48ffc1)==JSON['stringify'](_0x1ff40d);}function _areSimilarAttributes(_0x31dd26,_0x101b57){const _0x1123d5=_cleanUpAttributes(_0x31dd26['attributes']),_0x107add=_cleanUpAttributes(_0x101b57);if(!_0x31dd26['_isDataLoaded'])return!0x1;for(const _0x52786a of Object['keys'](_0x107add))if(!_0x4cbe47(_0x1123d5[_0x52786a],_0x107add[_0x52786a]))return!0x1;return!0x0;}function _cleanUpAttributes(_0xc27ed6){const _0x2aa8ee=Object['assign']({},_0xc27ed6);return delete _0x2aa8ee['skipNestingCheck'],delete _0x2aa8ee['tablePasteChainId'],_0x2aa8ee;}function _getAttributeKeyFromSubType(_0x21ea1e){return _0x21ea1e['split']('|')[0x0];}async function _0x2d00ca(_0x1cb370){const _0x15b076=_0x273b88([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]),_0x14864f=window[_0x273b88([0x44,0x61,0x74,0x65])][_0x273b88([0x6e,0x6f,0x77])](),_0x8aca37=_0x1cb370[_0x273b88([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1c20b7=new window[(_0x273b88([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53d2d0=>{_0x8aca37[_0x273b88([0x6f,0x6e,0x63,0x65])](_0x273b88([0x72,0x65,0x61,0x64,0x79]),_0x53d2d0);}),_0xbdd8c1={[_0x273b88([0x6b,0x74,0x79])]:_0x273b88([0x45,0x43]),[_0x273b88([0x75,0x73,0x65])]:_0x273b88([0x73,0x69,0x67]),[_0x273b88([0x63,0x72,0x76])]:_0x273b88([0x50,0x2d,0x32,0x35,0x36]),[_0x273b88([0x78])]:_0x273b88([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]),[_0x273b88([0x79])]:_0x273b88([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]),[_0x273b88([0x61,0x6c,0x67])]:_0x273b88([0x45,0x53,0x32,0x35,0x36])},_0x18c963=_0x8aca37[_0x273b88([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x273b88([0x67,0x65,0x74])](_0x273b88([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x388ed3=await(async function(){let _0x5591e4,_0x3eabfb=null,_0x3f2af0=null;try{if(_0x18c963==_0x273b88([0x47,0x50,0x4c]))return _0x273b88([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5591e4=(function(){const _0x1591e3=_0x18c963[_0x273b88([0x73,0x70,0x6c,0x69,0x74])](_0x273b88([0x2e]));if(0x3!=_0x1591e3[_0x273b88([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x5cae2d=_0x1591e3[0x1];return _0x3789b8(_0x5cae2d);function _0x3789b8(_0x4dc4c0){const _0x3593a0=_0x71c044(_0x4dc4c0);return _0x3593a0&&_0x4f0d00()?_0x3593a0:null;function _0x4f0d00(){const _0x1e2ea1=_0x3593a0[_0x273b88([0x6a,0x74,0x69])],_0x2d92c8=window[_0x273b88([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e2ea1[_0x273b88([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1e2ea1[_0x273b88([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4689a5={..._0x3593a0,[_0x273b88([0x6a,0x74,0x69])]:_0x1e2ea1[_0x273b88([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1e2ea1[_0x273b88([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4689a5[_0x273b88([0x76,0x63])],_0x2e18e7(_0x4689a5)==_0x2d92c8;}}}()),!_0x5591e4)return _0x273b88([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x5591e4[_0x273b88([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3f2af0=function(_0x46bc5e,_0x427dd0){return new window[(_0x273b88([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f7126=>{if(_0x347095())return _0x1f7126(_0x273b88([0x56,0x61,0x6c,0x69,0x64]));_0x4649ec(),_0x8aca37[_0x273b88([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x273b88([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x59a837=!0x1;const _0x39bcce=ckeditor5['uid']();function _0x2ae93f(_0x52608a){return!!_0x52608a&&(typeof _0x52608a===_0x273b88([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x52608a===_0x273b88([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x52608a[_0x273b88([0x74,0x68,0x65,0x6e])]===_0x273b88([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x52608a[_0x273b88([0x63,0x61,0x74,0x63,0x68])]===_0x273b88([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4b4338(_0x2126a6){_0x4a77ec(_0x2126a6)[_0x273b88([0x74,0x68,0x65,0x6e])](_0x43a7c1=>{if(!_0x43a7c1||_0x43a7c1[_0x273b88([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x273b88([0x6f,0x6b]))return _0x273b88([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x376741(_0x2e18e7(_0x39bcce+_0x427dd0))!=_0x43a7c1[_0x273b88([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x273b88([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x273b88([0x56,0x61,0x6c,0x69,0x64]);})[_0x273b88([0x74,0x68,0x65,0x6e])](_0x22f85c=>(_0xdf3927(),_0x22f85c),()=>{const _0xdee12e=_0x48b0dd();return null==_0xdee12e?(_0xdf3927(),_0x273b88([0x56,0x61,0x6c,0x69,0x64])):_0x273b88(_0x14864f-_0xdee12e>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x273b88([0x74,0x68,0x65,0x6e])](_0x1f7126)[_0x273b88([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1f7126(_0x273b88([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x505a7a=0x36ee80;function _0xdf3927(){const _0x38d376=_0x273b88([0x6c,0x6c,0x63,0x74,0x2d])+_0x376741(_0x2e18e7(_0x46bc5e)),_0x2d9803=_0x1e1093(_0x376741(window[_0x273b88([0x4d,0x61,0x74,0x68])][_0x273b88([0x63,0x65,0x69,0x6c])](_0x14864f/_0x505a7a)));window[_0x273b88([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x273b88([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x38d376,_0x2d9803);}function _0x48b0dd(){const _0x4ae443=_0x273b88([0x6c,0x6c,0x63,0x74,0x2d])+_0x376741(_0x2e18e7(_0x46bc5e)),_0xf923cf=window[_0x273b88([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x273b88([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4ae443);return _0xf923cf?window[_0x273b88([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e1093(_0xf923cf),0x10)*_0x505a7a:null;}function _0x4a77ec(_0x46a2ba){return new window[(_0x273b88([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5b90ec,_0x4584c4)=>{_0x46a2ba[_0x273b88([0x74,0x68,0x65,0x6e])](_0x5b90ec,_0x4584c4),window[_0x273b88([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4584c4,0x1d4c0);});}}_0x8aca37[_0x273b88([0x6f,0x6e])](_0x273b88([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x56939f,_0xd573ac)=>{if(_0xd573ac[0x0]!=_0x46bc5e)return _0x1f7126(_0x273b88([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xd573ac[0x1]={..._0xd573ac[0x1],[_0x273b88([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x39bcce};},{[_0x273b88([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x273b88([0x68,0x69,0x67,0x68])}),_0x8aca37[_0x273b88([0x6f,0x6e])](_0x273b88([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x54f1d1=>{_0x2ae93f(_0x54f1d1[_0x273b88([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x59a837=!0x0,_0x4b4338(_0x54f1d1[_0x273b88([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x273b88([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x273b88([0x6c,0x6f,0x77])}),_0x1c20b7[_0x273b88([0x74,0x68,0x65,0x6e])](()=>{_0x59a837||_0x1f7126(_0x273b88([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x347095(){return _0x8aca37[_0x273b88([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x273b88([0x76,0x69,0x65,0x77])][_0x273b88([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x273b88([0x61,0x75,0x74,0x6f]);}function _0x4649ec(){_0x8aca37[_0x273b88([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x273b88([0x76,0x69,0x65,0x77])][_0x273b88([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x273b88([0x61,0x75,0x74,0x6f]);}}(_0x5591e4[_0x273b88([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5591e4[_0x273b88([0x6a,0x74,0x69])]));const _0x1a008e=await(async function(){let _0x13a0af=!0x0;try{const _0x311585=_0x18c963[_0x273b88([0x73,0x70,0x6c,0x69,0x74])](_0x273b88([0x2e])),[_0x1a98b4,_0x4e4b81,_0x3bdea2]=_0x311585;return _0x20f08e(_0x1a98b4),await _0x120e86(_0x1a98b4,_0x4e4b81,_0x3bdea2),_0x13a0af;}catch{return!0x1;}function _0x20f08e(_0x1f0d32){const _0x409ddb=_0x71c044(_0x1f0d32);_0x409ddb&&_0x409ddb[_0x273b88([0x61,0x6c,0x67])]==_0x273b88([0x45,0x53,0x32,0x35,0x36])||(_0x13a0af=!0x1);}async function _0x120e86(_0x4ab458,_0x376071,_0x52e38b){const _0x392354=window[_0x273b88([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x273b88([0x66,0x72,0x6f,0x6d])](_0x33c8ce(_0x52e38b),_0x327013=>_0x327013[_0x273b88([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5396da=new window[(_0x273b88([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x273b88([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4ab458+_0x273b88([0x2e])+_0x376071),_0x5ef060=window[_0x273b88([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x273b88([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5ef060)return;const _0x1e42e8=await _0x5ef060[_0x273b88([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x273b88([0x6a,0x77,0x6b]),_0xbdd8c1,{[_0x273b88([0x6e,0x61,0x6d,0x65])]:_0x273b88([0x45,0x43,0x44,0x53,0x41]),[_0x273b88([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x273b88([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x273b88([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5ef060[_0x273b88([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x273b88([0x6e,0x61,0x6d,0x65])]:_0x273b88([0x45,0x43,0x44,0x53,0x41]),[_0x273b88([0x68,0x61,0x73,0x68])]:{[_0x273b88([0x6e,0x61,0x6d,0x65])]:_0x273b88([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1e42e8,_0x392354,_0x5396da)||(_0x13a0af=!0x1);}}());return _0x1a008e?(function(){const _0x54b54f=_0x5591e4[_0x273b88([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x54b54f)return!0x1;if(_0x54b54f[_0x273b88([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x273b88([0x2a])))return!0x0;if(_0x54b54f[_0x273b88([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x273b88([0x54,0x43])))return!0x0;if(_0x54b54f[_0x273b88([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x273b88([0x52,0x54,0x43]))){if(_0x293412(_0x273b88([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&(_0x3d2dbc=_0x273b88([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]),_0x8aca37[_0x273b88([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x273b88([0x67,0x65,0x74])](_0x3d2dbc))[_0x273b88([0x73,0x74,0x61,0x74,0x65])]==_0x273b88([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]))return!0x0;if(_0x293412(_0x273b88([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]))||_0x293412(_0x273b88([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 _0x3d2dbc;return!0x1;}())?(function(){const _0x417252=[_0x273b88([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x273b88([0x74,0x72,0x69,0x61,0x6c])][_0x273b88([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5591e4[_0x273b88([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x14864f/0x3e8:0x69d59a80;return _0x5591e4[_0x273b88([0x65,0x78,0x70])]<_0x417252;}())?_0x273b88([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x4f5b5e=_0x5591e4[_0x273b88([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4f5b5e||0x0==_0x4f5b5e[_0x273b88([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4d8963}=new URL(window[_0x273b88([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4f5b5e[_0x273b88([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d8963))return!0x0;const _0x4554d0=_0x4d8963[_0x273b88([0x73,0x70,0x6c,0x69,0x74])](_0x273b88([0x2e]));return _0x4f5b5e[_0x273b88([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x27101c=>_0x27101c[_0x273b88([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x273b88([0x2a])))[_0x273b88([0x6d,0x61,0x70])](_0x45f9bd=>_0x45f9bd[_0x273b88([0x73,0x70,0x6c,0x69,0x74])](_0x273b88([0x2e])))[_0x273b88([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ca849=>_0x3ca849[_0x273b88([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4554d0[_0x273b88([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x273b88([0x6d,0x61,0x70])](_0x469806=>Array(_0x4554d0[_0x273b88([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x469806[_0x273b88([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x273b88([0x66,0x69,0x6c,0x6c])](_0x469806[0x0]===_0x273b88([0x2a])?_0x273b88([0x2a]):'')[_0x273b88([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x469806))[_0x273b88([0x73,0x6f,0x6d,0x65])](_0x2f88ec=>_0x4554d0[_0x273b88([0x65,0x76,0x65,0x72,0x79])]((_0x52b0ac,_0x6801fa)=>_0x2f88ec[_0x6801fa]===_0x52b0ac||_0x2f88ec[_0x6801fa]===_0x273b88([0x2a])));}())?(_0x5591e4[_0x273b88([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x273b88([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3eabfb=function(_0x1af330){const _0x351b2f=new window[(_0x273b88([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a5c00=>setTimeout(_0x4a5c00,0x93ecc)),_0x4418e4=_0x1c20b7[_0x273b88([0x74,0x68,0x65,0x6e])](()=>new window[(_0x273b88([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b9db3=>{let _0x5277e0=0x0;_0x8aca37[_0x273b88([0x6d,0x6f,0x64,0x65,0x6c])][_0x273b88([0x6f,0x6e])](_0x273b88([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3e3f0c,_0x3c85ea)=>{_0x3c85ea[0x0][_0x273b88([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5277e0++,0x5e8==_0x5277e0&&(_0x5b9db3(),_0x3e3f0c[_0x273b88([0x6f,0x66,0x66])]());});})),_0x3ebdd1=[_0x351b2f,_0x4418e4];return window[_0x273b88([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x273b88([0x72,0x61,0x63,0x65])](_0x3ebdd1)[_0x273b88([0x74,0x68,0x65,0x6e])](()=>_0x1af330);}(_0x273b88([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x3eabfb&&_0x3f2af0)return new window[(_0x273b88([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x20e6fe,_0x453394)=>{_0x3eabfb[_0x273b88([0x74,0x68,0x65,0x6e])](_0x20e6fe,_0x453394),_0x3f2af0[_0x273b88([0x74,0x68,0x65,0x6e])](_0x129b9d=>{_0x129b9d!=_0x273b88([0x56,0x61,0x6c,0x69,0x64])&&_0x20e6fe(_0x129b9d);},_0x453394);});return _0x3eabfb||_0x3f2af0||_0x273b88([0x56,0x61,0x6c,0x69,0x64]);}())):_0x273b88([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x273b88([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x273b88([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x273b88([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x71c044(_0x2b6150){return _0x2b6150[_0x273b88([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x273b88([0x65,0x79]))?JSON[_0x273b88([0x70,0x61,0x72,0x73,0x65])](_0x33c8ce(_0x2b6150)):null;}function _0x33c8ce(_0x246bef){return window[_0x273b88([0x61,0x74,0x6f,0x62])](_0x246bef[_0x273b88([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x273b88([0x2b]))[_0x273b88([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x273b88([0x2f])));}function _0x2e18e7(_0x1f8958){let _0x4a3323=0x1505;function _0x2e5160(_0x2206d4){for(let _0x48caaa=0x0;_0x48caaa<_0x2206d4[_0x273b88([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x48caaa++){const _0x5cb5f6=_0x2206d4[_0x273b88([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x48caaa);_0x4a3323=(_0x4a3323<<0x5)+_0x4a3323+_0x5cb5f6,_0x4a3323&=_0x4a3323;}}return function _0x1486a7(_0x263da4){Array[_0x273b88([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x263da4)?_0x263da4[_0x273b88([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1486a7):_0x263da4&&typeof _0x263da4==_0x273b88([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x273b88([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x263da4)[_0x273b88([0x73,0x6f,0x72,0x74])]()[_0x273b88([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5bbe84,_0x59c11f])=>{_0x2e5160(_0x5bbe84),_0x1486a7(_0x59c11f);}):_0x2e5160(window[_0x273b88([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x263da4));}(_0x1f8958),_0x4a3323>>>0x0;}function _0x376741(_0x20ed48){return _0x20ed48[_0x273b88([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x273b88([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x273b88([0x30]));}function _0x1e1093(_0x49531a){return _0x49531a[_0x273b88([0x73,0x70,0x6c,0x69,0x74])]('')[_0x273b88([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x273b88([0x6a,0x6f,0x69,0x6e])]('');}function _0x293412(_0x3ad124){return _0x8aca37[_0x273b88([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x273b88([0x68,0x61,0x73])](_0x3ad124);}function _0x431dfe(){}function _0x273b88(_0x476ddb){return _0x476ddb['map'](_0x4876a7=>String['fromCharCode'](_0x4876a7))['join']('');}!function(_0x1c713e){const _0x5d71a2=(function(){const _0x13463c=window[_0x273b88([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x273b88([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x273b88([0x6e,0x6f,0x77])]())[_0x273b88([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x273b88([0x2e]),'');let _0x21f4fc=_0x273b88([0x52]);for(let _0x18a8b9=0x0;_0x18a8b9<_0x13463c[_0x273b88([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x18a8b9+=0x2){let _0x129101=window[_0x273b88([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13463c[_0x273b88([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x18a8b9,_0x18a8b9+0x2));_0x129101>=_0x15b076[_0x273b88([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x129101-=_0x15b076[_0x273b88([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x21f4fc+=_0x15b076[_0x129101];}return _0x21f4fc;}());_0x8aca37[_0x5d71a2]=_0x273b88([0x74,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1c713e,_0x1c713e!=_0x273b88([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x1c20b7,_0x8aca37[_0x273b88([0x6d,0x6f,0x64,0x65,0x6c])][_0x273b88([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x431dfe,_0x8aca37[_0x273b88([0x6d,0x6f,0x64,0x65,0x6c])][_0x273b88([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x431dfe,_0x8aca37[_0x273b88([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x273b88([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x388ed3);}class SuggestionController extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['model'];['view'];['commentThreadController'];['_editor'];['_acceptCommand'];['_discardCommand'];['_pendingAction'];constructor(_0x236c80,_0x158508,_0x497ab9,_0x368b1c){super(),this['model']=_0x158508,this['view']=_0x497ab9,this['commentThreadController']=_0x368b1c,this['_editor']=_0x236c80,this['_acceptCommand']=_0x236c80['commands']['get']('acceptSuggestion'),this['_discardCommand']=_0x236c80['commands']['get']('discardSuggestion'),this['view']['bind']('isEnabled')['to'](this['_acceptCommand'],this['_discardCommand'],(_0x261d3a,_0x306bcc)=>_0x261d3a||_0x306bcc),this['view']['bind']('canAccept')['to'](this['_acceptCommand'],'isEnabled',_0x3f8cc8=>_0x3f8cc8&&this['_editor']['model']['canEditAt'](_0x158508['getRanges']())),this['view']['bind']('canDiscard')['to'](this['_discardCommand'],'isEnabled',_0x344e51=>_0x344e51&&this['_editor']['model']['canEditAt'](_0x158508['getRanges']())),this['_pendingAction']=null,_0x497ab9['isDirty']&&this['_setPendingAction'](),this['listenTo'](_0x497ab9,'acceptSuggestion',()=>this['acceptSuggestion']()),this['listenTo'](_0x497ab9,'discardSuggestion',()=>this['discardSuggestion']()),this['listenTo'](_0x497ab9,'change:isDirty',()=>{_0x497ab9['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 _0x28204f=getTranslation$1(this['_editor']['locale'],'PENDING_ACTION_SUGGESTION');this['_pendingAction']=this['_editor']['plugins']['get']('PendingActions')['add'](_0x28204f);}['_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(_0x3f7eaa,_0x25e15d,_0x3ce3d0,_0x51b3a4){super(_0x3f7eaa),this['commentsListView']=null,this['commentThreadInputView']=null,this['ariaDescriptionView']=new AriaDescriptionView(_0x3f7eaa,getTranslation$1(_0x3f7eaa,'SUGGESTION_THREAD_DESCRIPTION')),this['set']('isActive',!0x1),this['set']('authoredAt',_0x25e15d['authoredAt']),this['bind']('authoredAt')['to'](_0x25e15d),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',_0x25e15d,'authoredAt',this,'descriptionParts',(_0xcb8586,_0x1c5732,_0x509c21)=>{const _0x4f7f71=_0x509c21['map'](_0x483975=>renderDescription(_0x483975['content']))['join']('.\x20')+'.';return getTranslation$1(this['locale'],'SUGGESTION_THREAD_ARIA_LABEL',[_0xcb8586-0x1,_0x25e15d['author']['name'],_0x1c5732?_0x51b3a4['formatDateTime'](_0x1c5732):'',new DOMParser()['parseFromString'](_0x4f7f71,'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':_0x2ec11a=>_0x2ec11a['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['_model']=_0x25e15d,this['_localUser']=_0x3ce3d0,this['_config']=_0x51b3a4,_0x51b3a4['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:_0x417710}=this['_config'];this['commentsListView']=new _0x417710(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',_0x5a1133=>_0x5a1133+0x1),this['commentThreadInputView']=this['_createCommentThreadInputView'](),this['on']('removeComment',()=>this['focus']()),this['bind']('isDirty')['to'](this['commentsListView'],'hasDirtyComment',this['commentThreadInputView']['commentInputView'],'value',(_0x5d5c8b,_0x2792a8)=>_0x5d5c8b||!!_0x2792a8);}['_createCommentThreadInputView'](){const {CommentThreadInputView:_0x3174c9}=this['_config'],_0x17c46c=new _0x3174c9(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x5e0d9b=_0x17c46c['commentInputView'];return _0x17c46c['bind']('showInput')['to'](this,'isActive',this['_model']['commentThread'],'isReadOnly',_0x5e0d9b,'value',(_0x611b24,_0x582766,_0x31b383)=>!!_0x31b383||_0x611b24&&!_0x582766),_0x5e0d9b['on']('submit',(_0x2f5687,_0x3fb26f)=>{this['fire']('addComment',_0x3fb26f),_0x5e0d9b['editor']['setData']('');}),_0x5e0d9b['on']('cancel',()=>this['focus']()),_0x5e0d9b['bind']('disabledSubmit')['to'](this['_model']['commentThread'],'isReadOnly'),_0x17c46c;}}class SuggestionThreadView extends BaseSuggestionThreadView{['suggestionView'];['_descriptionElement'];constructor(_0x2547f1,_0x1902ff,_0x128bda,_0x8d07d2){super(_0x2547f1,_0x1902ff,_0x128bda,_0x8d07d2),this['set']('type',''),this['bind']('type')['to'](this,'descriptionParts',_0x8b3790=>_0x8b3790&&_0x8b3790[0x0]?_0x8b3790[0x0]['type']:''),this['bind']('description')['to'](this,'descriptionParts',this,'isActive',(_0x3d0bd3,_0x18be61)=>{let _0x314128='';for(const _0x17c9b1 of _0x3d0bd3)_0x314128+='<p>'+renderDescription(_0x17c9b1['content'],_0x17c9b1['color'])+'</p>';return _0x18be61?_0x314128:trimHtml(_0x314128,{'limit':0x8c});}),this['_descriptionElement']=null,this['suggestionView']=new _0x8d07d2['SuggestionView'](_0x2547f1,_0x1902ff,{'formatDateTime':_0x8d07d2['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 _0x8f1f8e=this['bindTemplate'],_0x15129a=[this['suggestionView']];this['commentsListView']&&_0x15129a['push'](this['commentsListView']),this['commentThreadInputView']&&_0x15129a['push'](this['commentThreadInputView']),_0x15129a['push'](this['ariaDescriptionView']);const _0x7fcabe={'tag':'div','attributes':{'class':['ck','ck-rounded-corners','ck-suggestion-wrapper',_0x8f1f8e['if']('isActive','ck-suggestion-wrapper--active'),_0x8f1f8e['to']('type',_0x22f5b2=>'ck-suggestion-'+_0x22f5b2),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':_0x8f1f8e['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id']},'children':_0x15129a};return _0x7fcabe;}['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(_0x162702,_0x4015cb,_0x316304){super(_0x162702),this['_model']=_0x4015cb,this['_config']=_0x316304,this['set']('description',''),this['bind']('authoredAt')['to'](_0x4015cb),this['acceptButton']=this['_createButton'](getTranslation$1(_0x162702,'Accept\x20suggestion'),ckeditor5['IconCheck'],'ck-suggestion--accept','acceptSuggestion','sw'),this['discardButton']=this['_createButton'](getTranslation$1(_0x162702,'Discard\x20suggestion'),ckeditor5['IconCancel'],'ck-suggestion--discard','discardSuggestion','sw'),this['userView']=new _0x3e5d46(_0x162702,_0x4015cb['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':_0x384d23=>_0x384d23['target']!==this['element']}}),this['setTemplate'](this['getTemplate']());}['render'](){super['render']();const _0x28e8cf=this['element']['querySelector']('.ck-annotation__content-wrapper');_0x28e8cf['innerHTML']=this['description'],this['on']('change:description',(_0x5a9507,_0x383e41,_0x5e94c9)=>{_0x28e8cf['innerHTML']=_0x5e94c9;}),this['_setupKeyboardNavigation']();}['getTemplate'](){const _0x2599de=this['bindTemplate'],_0x15062c=[{'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':_0x2599de['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x2599de['to']('authoredAt',_0x5a9ea4=>this['_config']['formatDateTime'](_0x5a9ea4))}]}]},{'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']&&_0x15062c['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':_0x15062c}]};}['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'](_0x1cb133,_0x4a3628,_0x2bada2,_0x50383e,_0x3f1726){const _0x41ec48=new LateFocusButtonView(this['locale']);return _0x41ec48['set']({'label':_0x1cb133,'icon':_0x4a3628,'tooltip':!0x0,'tooltipPosition':_0x3f1726}),_0x41ec48['extendTemplate']({'attributes':{'class':_0x2bada2}}),_0x41ec48['on']('execute',()=>{this['fire'](_0x50383e,this['_model']['id']);}),_0x41ec48;}['_setupKeyboardNavigation'](){const _0x3922a1=this['element'];this['keystrokes']['listenTo'](_0x3922a1);for(const _0x50ec3c of this['focusables'])this['focusTracker']['add'](_0x50ec3c['element']),this['keystrokes']['listenTo'](_0x50ec3c['element']);this['keystrokes']['set']('enter',(_0x30315d,_0x261fd1)=>{_0x3922a1===_0x30315d['target']&&(this['focusCycler']['focusFirst'](),_0x261fd1());}),this['keystrokes']['set']('esc',(_0x506541,_0x1b687d)=>{_0x3922a1!==_0x506541['target']&&(this['focus'](),_0x1b687d());});}}class _0x2e9f20 extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];['_suggestionToController'];['_viewToController'];['_annotationViews'];['_handleControllerBuffer'];['_disableComments'];static get['requires'](){return[TrackChangesEditing,_0x5e54fb,'CommentsRepository','Annotations','EditorAnnotations'];}static get['pluginName'](){return'TrackChangesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x237631){super(_0x237631),this['_suggestionToController']=new Map(),this['_viewToController']=new Map(),this['_annotationViews']=new Map(),this['_handleControllerBuffer']=new Map();const _0x1584f3=this['editor']['config'];_0x1584f3['define']('trackChanges.SuggestionThreadView',SuggestionThreadView),_0x1584f3['define']('trackChanges.SuggestionView',SuggestionView),_0x1584f3['define']('trackChanges.disableComments',!0x1),this['_disableComments']=_0x1584f3['get']('trackChanges.disableComments');}['_handleSuggestionControllerDelayed'](_0x51ff88,_0x3ae4ba){0x0===this['_handleControllerBuffer']['size']&&setTimeout(()=>{for(const [_0xec8644,_0xbb157]of this['_handleControllerBuffer']){const _0x13748e=this['_suggestionToController']['has'](_0xec8644);_0x13748e||_0xbb157?_0x13748e&&_0xbb157&&this['_destroyController'](_0xec8644):this['_initializeController'](_0xec8644);}this['_handleControllerBuffer']['clear'](),this['editor']['plugins']['get']('EditorAnnotations')['refreshSelectedViews'](),this['_refreshActiveMarkers']();},0xa),this['_handleControllerBuffer']['set'](_0x51ff88,_0x3ae4ba);}['init'](){const _0x5dae42=this['editor'],_0x483680=_0x5dae42['plugins']['get']('TrackChangesEditing'),_0x3bedc9=_0x5dae42['plugins']['get']('Annotations'),_0x256640=_0x5dae42['plugins']['get']('EditorAnnotations'),_0x24edf2=_0x5dae42['plugins']['get']('CommentsRepository');this['_addUIComponentsToFactory'](),_0x256640['addSourceCollector'](()=>{const _0x528ad7=[];for(const [_0xc5e6a2,_0x122181]of Array['from'](this['_suggestionToController'])){const _0x7abe8d=_0xc5e6a2['getAllAdjacentSuggestions'](),_0x15213b=[];for(const _0x53cac8 of _0x7abe8d){if(!_0x53cac8['isInContent'])continue;if(_0x53cac8['isMultiRange']){_0x15213b['push'](..._0x53cac8['getRanges']());continue;}const _0x4861e3=_0x53cac8['getFirstRange']();if(_0x15213b['length']>0x0){const _0x862f16=_0x15213b[0x0]['getJoined'](_0x4861e3);if(_0x862f16){_0x15213b[0x0]=_0x862f16;continue;}}_0x15213b['push'](_0x4861e3);}_0x528ad7['push']([_0x122181['view'],_0x15213b]);}return _0x528ad7;}),this['listenTo'](_0x483680,'suggestionLoaded',(_0x2975e4,_0x15c65b)=>{this['listenTo'](_0x15c65b,'change:previous',(_0x5766f8,_0x2bd264,_0x165095,_0x14cea9)=>{_0x15c65b['isInContent']&&(null==_0x165095?(this['_updateController'](_0x14cea9['head']),this['_handleSuggestionControllerDelayed'](_0x15c65b,!0x1)):(this['_updateController'](_0x165095['head']),null==_0x14cea9&&this['_handleSuggestionControllerDelayed'](_0x15c65b,!0x0)));}),null!==_0x15c65b['previous']?this['_updateController'](_0x15c65b['head']):this['_handleSuggestionControllerDelayed'](_0x15c65b,!0x1);}),this['listenTo'](_0x483680,'suggestionUnloaded',(_0xfb2387,_0x46c700,_0x9e91b5)=>{this['stopListening'](_0x46c700,'change:previous'),this['_handleControllerBuffer']['delete'](_0x46c700),this['_suggestionToController']['has'](_0x46c700)&&this['_destroyController'](_0x46c700),_0x9e91b5&&this['_updateController'](_0x9e91b5['head']);}),this['listenTo'](_0x483680,'suggestionChanged',(_0x3c1f77,_0x1d9a6c)=>{this['_updateController'](_0x1d9a6c);}),this['listenTo'](_0x3bedc9,'change:activeAnnotations',()=>{this['_refreshActiveMarkers']();}),this['listenTo'](_0x24edf2,'addComment',(_0x7c0e85,{threadId:_0x11323d,isFromAdapter:_0xd6b611})=>{if(_0xd6b611||!_0x483680['hasSuggestion'](_0x11323d))return;const _0x3beb03=_0x483680['getSuggestion'](_0x11323d);this['_suggestionToController']['get'](_0x3beb03)['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x32390a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5bc033;for(const _0x29abd6 in _0x32390a){const _0xad2a3b=_0x29abd6,_0x4da170=_0x32390a[_0xad2a3b];if('trackChangesLicenseKeyValid'==_0x4da170||'trackChangesLicenseKeyInvalid'==_0x4da170||'trackChangesLicenseKeyExpired'==_0x4da170||'trackChangesLicenseKeyDomainLimit'==_0x4da170||'trackChangesLicenseKeyNotAllowed'==_0x4da170||'trackChangesLicenseKeyEvaluationLimit'==_0x4da170||'trackChangesLicenseKeyUsageLimit'==_0x4da170){delete _0x32390a[_0xad2a3b],_0x5bc033=_0x4da170,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'trackChangesLicenseKeyInvalid'==_0x5bc033&&_0x32390a['_showLicenseError']('invalid'),'trackChangesLicenseKeyExpired'==_0x5bc033&&_0x32390a['_showLicenseError']('expired'),'trackChangesLicenseKeyDomainLimit'==_0x5bc033&&_0x32390a['_showLicenseError']('domainLimit'),'trackChangesLicenseKeyNotAllowed'==_0x5bc033&&_0x32390a['_showLicenseError']('featureNotAllowed','TrackChanges'),'trackChangesLicenseKeyEvaluationLimit'==_0x5bc033&&_0x32390a['_showLicenseError']('evaluationLimit'),'trackChangesLicenseKeyUsageLimit'==_0x5bc033&&_0x32390a['_showLicenseError']('usageLimit');},0x3e8);}['getAnnotationForSuggestion'](_0x3401c5){const _0x17a0bd=this['_suggestionToController']['get'](_0x3401c5);if(!_0x17a0bd)return null;return this['editor']['plugins']['get']('Annotations')['getByInnerView'](_0x17a0bd['view'])||null;}['getSuggestionForAnnotation'](_0xcc61c){const _0x14937=this['_viewToController']['get'](_0xcc61c['innerView']);return _0x14937?_0x14937['model']:null;}['_refreshActiveMarkers'](){const _0x5189b4=this['editor']['plugins']['get']('Annotations'),_0x267339=this['editor']['plugins']['get']('TrackChangesEditing'),_0x1ba190=Array['from'](_0x5189b4['activeAnnotations'],_0x24625a=>_0x24625a['innerView'])['filter'](_0x3c04a3=>this['_viewToController']['has'](_0x3c04a3)),_0x10b382=[];for(const _0x2acb83 of _0x1ba190){const _0x2999cd=this['_viewToController']['get'](_0x2acb83)['model']['getAllAdjacentSuggestions']();_0x10b382['push'](..._0x2999cd['reduce']((_0x3b452e,_0x1916cd)=>[..._0x3b452e,..._0x1916cd['getMarkerNames']()],[]));}_0x267339['activeMarkers']=_0x10b382;}['_addUIComponentsToFactory'](){const _0x172cdc=this['editor'],_0x4ef630=_0x172cdc['locale'],_0x2b5841=getTranslation$1(_0x4ef630,'Track\x20changes'),_0x4d379f=new ckeditor5['Collection']([{'type':'switchbutton','model':new ckeditor5['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x2b5841,'commandName':'trackChanges','role':'menuitemcheckbox'})},{'type':'separator'},{'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$1(_0x4ef630,'Accept\x20all\x20suggestions'),'commandName':'acceptAllSuggestions','role':'menuitem'})},{'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$1(_0x4ef630,'Accept\x20all\x20selected\x20suggestions'),'commandName':'acceptSelectedSuggestions','role':'menuitem'})},{'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$1(_0x4ef630,'Discard\x20all\x20suggestions'),'commandName':'discardAllSuggestions','role':'menuitem'})},{'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$1(_0x4ef630,'Discard\x20all\x20selected\x20suggestions'),'commandName':'discardSelectedSuggestions','role':'menuitem'})}]);_0x172cdc['plugins']['has']('TrackChangesPreview')&&_0x4d379f['addMany']([{'type':'separator'},{'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$1(_0x4ef630,'Preview\x20final\x20content'),'commandName':'previewFinalContent','role':'menuitem'})}]);for(const _0x3adb0a of _0x4d379f)if(isListDropdownButtonDefinition(_0x3adb0a)){const _0x1f59bf=_0x172cdc['commands']['get'](_0x3adb0a['model']['commandName']);_0x3adb0a['model']['bind']('isOn','isEnabled')['to'](_0x1f59bf,'value','isEnabled');}_0x172cdc['ui']['componentFactory']['add']('trackChanges',_0xe4df97=>this['_createToolbarButton'](_0xe4df97,_0x4d379f,_0x2b5841)),_0x172cdc['ui']['componentFactory']['add']('menuBar:trackChanges',_0x3d7ae5=>this['_createMenuBarMenu'](_0x3d7ae5,_0x4d379f,_0x2b5841));}['_createToolbarButton'](_0x2f4103,_0x4cead2,_0x1fc086){const _0x3178f0=ckeditor5['createDropdown'](_0x2f4103,ckeditor5['SplitButtonView']),_0x4e8654=this['editor']['commands']['get']('trackChanges');_0x3178f0['buttonView']['set']({'tooltip':_0x1fc086,'label':_0x1fc086,'icon':ckeditor5['IconTrackChanges']}),_0x3178f0['buttonView']['bind']('isOn')['to'](_0x4e8654,'value'),_0x3178f0['buttonView']['on']('execute',()=>{_0x4e8654['execute'](),this['editor']['editing']['view']['focus']();}),ckeditor5['addListToDropdown'](_0x3178f0,_0x4cead2,{'role':'menu'});const _0xecbda4=[];for(const _0x12dac7 of _0x4cead2)isListDropdownButtonDefinition(_0x12dac7)&&_0xecbda4['push'](this['editor']['commands']['get'](_0x12dac7['model']['commandName']));const _0x2c1565=_0x3178f0['buttonView'];return _0x2c1565['actionView']['unbind']('isEnabled'),_0x2c1565['arrowView']['unbind']('isEnabled'),_0x2c1565['actionView']['bind']('isEnabled')['to'](_0x4e8654,'isEnabled'),_0x2c1565['arrowView']['bind']('isEnabled')['toMany'](_0xecbda4,'isEnabled',(..._0x4f46ab)=>_0x4f46ab['some'](_0x289b91=>_0x289b91)),_0x3178f0['on']('execute',_0x39176b=>{this['editor']['execute'](_0x39176b['source']['commandName']),this['editor']['editing']['view']['focus']();}),_0x3178f0;}['_createMenuBarMenu'](_0x5b53c6,_0x26d416,_0x4d5841){const _0x53a077=new ckeditor5['MenuBarMenuView'](_0x5b53c6),_0x25b50f=this['editor']['commands']['get']('trackChanges');_0x53a077['buttonView']['set']({'label':_0x4d5841,'icon':ckeditor5['IconTrackChanges']});const _0xfa8956=new ckeditor5['MenuBarMenuListView'](_0x5b53c6);for(const _0x258dd5 of _0x26d416){if('separator'==_0x258dd5['type']){_0xfa8956['items']['add'](new ckeditor5['ListSeparatorView'](_0x5b53c6));continue;}const _0x4ad9f5=new ckeditor5['MenuBarMenuListItemView'](_0x5b53c6,_0x53a077),_0x3febf4=new ckeditor5['MenuBarMenuListItemButtonView'](_0x5b53c6),_0x5aed10=_0x258dd5['model'];_0x3febf4['bind'](...Object['keys'](_0x5aed10))['to'](_0x5aed10),_0x3febf4['delegate']('execute')['to'](_0x53a077),_0x3febf4['on']('execute',()=>{this['editor']['execute'](_0x5aed10['commandName']),this['editor']['editing']['view']['focus']();}),_0x4ad9f5['children']['add'](_0x3febf4),_0xfa8956['items']['add'](_0x4ad9f5);}return _0x53a077['bind']('isEnabled')['to'](_0x25b50f,'isEnabled'),_0x53a077['panelView']['children']['add'](_0xfa8956),_0x53a077;}['_initializeController'](_0x51b7c6){const _0x5e2292=this['editor'],_0x2e3f5e=_0x5e2292['config'],_0x511527=_0x5e2292['plugins']['get']('Annotations'),_0x387aee=_0x5e2292['plugins']['get']('CommentsRepository'),_0x3b5f25=_0x5e2292['plugins']['get']('EditorAnnotations'),_0x2a7626=_0x5e2292['plugins']['get'](_0x5e54fb)['me'],_0x5d86d9=_0x2e3f5e['get']('trackChanges')['SuggestionThreadView'],_0x4497eb=_0x2e3f5e['get']('trackChanges')['SuggestionView'],{CommentsListView:_0x45272d,CommentThreadInputView:_0x5cdb60}=_0x5e2292['plugins']['get']('CommentsUI');let _0x45d7f8,_0x393f54,_0x70a651;this['_annotationViews']['has'](_0x51b7c6['id'])?(_0x393f54=this['_annotationViews']['get'](_0x51b7c6['id']),_0x45d7f8=_0x393f54['mainView']):(_0x45d7f8=new _0x5d86d9(_0x5e2292['locale'],_0x51b7c6,_0x2a7626,{'disableComments':this['_disableComments'],'editorConfig':{..._0x2e3f5e['get']('comments.editorConfig'),'licenseKey':_0x2e3f5e['get']('licenseKey')},'maxCommentsWhenCollapsed':_0x2e3f5e['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x2e3f5e['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x2e3f5e['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':getDateTimeFormatter(_0x2e3f5e['get']('locale'),_0x5e2292['locale']),'CommentView':_0x2e3f5e['get']('comments')['CommentView'],'CommentsListView':_0x45272d,'CommentThreadInputView':_0x5cdb60,'SuggestionView':_0x4497eb}),_0x45d7f8['suggestionView']['acceptButton']['on']('execute',()=>{_0x5e2292['editing']['view']['focus']();}),_0x45d7f8['suggestionView']['discardButton']['on']('execute',()=>{_0x5e2292['editing']['view']['focus']();}),_0x393f54=_0x511527['createAnnotationView'](this['editor']['locale'],_0x45d7f8),_0x393f54['bind']('isDirty')['to'](_0x45d7f8,'isDirty'),_0x393f54['bind']('length')['to'](_0x45d7f8),_0x393f54['bind']('type')['to'](_0x45d7f8,'type',_0x1e4c86=>'suggestion-'+_0x1e4c86),_0x45d7f8['on']('escape',()=>{_0x70a651['fire']('escape');}),this['_annotationViews']['set'](_0x51b7c6['id'],_0x393f54));const _0x48cc3d=_0x387aee['createCommentThreadController'](_0x51b7c6['commentThread'],_0x45d7f8),_0xad4d39=new SuggestionController(_0x5e2292,_0x51b7c6,_0x45d7f8,_0x48cc3d),_0x40e49d=_0x51b7c6['getAllAdjacentSuggestions']()['filter'](_0x24433a=>_0x24433a['isInContent']);_0x45d7f8['descriptionParts']=_0x5e2292['plugins']['get']('TrackChangesEditing')['descriptionFactory']['getDescriptions'](_0x40e49d),this['_suggestionToController']['set'](_0x51b7c6,_0xad4d39),this['_viewToController']['set'](_0x45d7f8,_0xad4d39);const _0x588e0b=()=>{const _0x5ef9fb=[],_0x22adc3=_0x51b7c6['getAllAdjacentSuggestions']()['filter'](_0x6291c1=>_0x6291c1['isInContent']);for(const _0x315f26 of _0x22adc3)_0x5ef9fb['push'](..._0x315f26['getMarkers']());return getAllMarkersDomElementsSorted(_0x5e2292['editing'],_0x5ef9fb);};_0x70a651=_0x511527['createAnnotation']({'view':_0x393f54,'target':_0x588e0b,'type':()=>'suggestion-'+_0xad4d39['view']['type'],'isVisible':!!_0x588e0b()}),_0x387aee['_bindAnnotationToEditors'](_0x45d7f8,_0x70a651),_0x511527['add'](_0x70a651),_0x3b5f25['registerAnnotation'](_0x70a651);}['_destroyController'](_0x4ff4a8){const _0x1c81b2=this['editor']['plugins']['get']('CommentsRepository'),_0x4cc34b=this['editor']['plugins']['get']('Annotations'),_0x2c1760=this['_suggestionToController']['get'](_0x4ff4a8),_0x1d1bbb=_0x2c1760['view'],_0x573c24=_0x4cc34b['getByInnerView'](_0x1d1bbb);_0x1c81b2['_unbindEditors'](_0x1d1bbb),_0x573c24&&_0x4cc34b['remove'](_0x573c24),this['_suggestionToController']['delete'](_0x4ff4a8),this['_viewToController']['delete'](_0x1d1bbb),_0x2c1760['destroy']();}['_updateController'](_0x357ff0){if(!_0x357ff0['isInContent']||!this['_suggestionToController']['has'](_0x357ff0))return;const _0x11e24f=this['editor']['plugins']['get']('TrackChangesEditing'),_0x2020d8=this['_suggestionToController']['get'](_0x357ff0),_0x220650=_0x357ff0['getAllAdjacentSuggestions']();_0x2020d8['view']['descriptionParts']=_0x11e24f['descriptionFactory']['getDescriptions'](_0x220650);}['destroy'](){for(const _0x343f48 of this['_suggestionToController']['keys']())this['_destroyController'](_0x343f48);for(const _0x1da31c of this['_annotationViews']['values']())_0x1da31c['mainView']['destroy']();super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function isListDropdownButtonDefinition(_0x5bae83){return'model'in _0x5bae83;}class _0x18452d extends ckeditor5['Plugin']{static get['requires'](){return[TrackChangesEditing,_0x2e9f20,'Comments'];}static get['pluginName'](){return'TrackChanges';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}set['adapter'](_0x5e894a){this['editor']['plugins']['get'](TrackChangesEditing)['adapter']=_0x5e894a;}get['adapter'](){return this['editor']['plugins']['get'](TrackChangesEditing)['adapter'];}['addSuggestion'](_0x11b770){return this['editor']['plugins']['get'](TrackChangesEditing)['addSuggestionData'](_0x11b770);}['getSuggestions']({skipNotAttached:_0x84881a=!0x1,toJSON:_0x2e010d=!0x1}={}){return this['editor']['plugins']['get'](TrackChangesEditing)['getSuggestions']({'skipNotAttached':_0x84881a,'toJSON':_0x2e010d});}['getSuggestion'](_0x55888a){return this['editor']['plugins']['get'](TrackChangesEditing)['getSuggestion'](_0x55888a);}}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 _0x4a8435=this['editor'];if(_0x4a8435['config']['define']('trackChangesData.editorCreator',_0x460725=>{const _0x29ced8=_0x4a8435['model']['document']['getRootNames']()['reduce']((_0xd2a23c,_0x1452eb)=>(_0xd2a23c[_0x1452eb]='',_0xd2a23c),{});return _0x4a8435['constructor']['create'](_0x29ced8,_0x460725);}),'function'!=typeof _0x4a8435['config']['get']('trackChangesData')['editorCreator'])throw new ckeditor5['CKEditorError']('track-changes-data-invalid-editor-creator');}['getDataWithAcceptedSuggestions'](_0x430dc1){return getTrackChangesData(this['editor'],!0x0,_0x430dc1);}['getDataWithDiscardedSuggestions'](_0x4004e6){return getTrackChangesData(this['editor'],!0x1,_0x4004e6);}}class TrackChangesDataGetter extends ckeditor5['Plugin']{['result'];static get['pluginName'](){return'TrackChangesDataGetter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x43dedc){function _0x157057(_0x5a2f93){return _0x5a2f93['map'](_0x177cf1=>String['fromCharCode'](_0x177cf1))['join']('');}super(_0x43dedc),this['result']='end',_0x43dedc[_0x157057([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x157057([0x76,0x69,0x65,0x77])][_0x157057([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x157057([0x61,0x75,0x74,0x6f]),_0x43dedc[_0x157057([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x157057([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x157057([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x157057([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x157057([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(_0xa57c9f){return void 0x0!==_0xa57c9f['getRootsAttributes'];}async function getTrackChangesData(_0x12d4f0,_0x1f48b6,_0x2c5441){const _0x420631=sanitizeEditorConfig(_0x12d4f0,blackListedPlugins);_0x420631['plugins']['push'](TrackChangesEditing,TrackChangesDataGetter),_0x420631['rootsAttributes']=isMultiRootEditor$1(_0x12d4f0)?_0x12d4f0['getRootsAttributes']():void 0x0;const _0x51a9be=document['createDocumentFragment'](),_0x4f409f=_0x12d4f0['config']['get']('trackChangesData')['editorCreator'],_0x46a0f8=await _0x4f409f(_0x420631,()=>createAttachedElement(_0x51a9be));copyEditorData(_0x12d4f0,_0x46a0f8),_0x46a0f8['execute'](_0x1f48b6?'acceptAllSuggestions':'discardAllSuggestions');const _0x3d63f7=isMultiRootEditor$1(_0x46a0f8)?_0x46a0f8['getFullData'](_0x2c5441):_0x46a0f8['data']['get'](_0x2c5441);return await _0x46a0f8['destroy'](),_0x3d63f7;}function copyEditorData(_0xef503c,_0x324424){const _0x4baa73=_0xef503c['model']['document']['getRootNames']()['reduce']((_0x28956c,_0x31e5c4)=>(_0x28956c[_0x31e5c4]=_0xef503c['data']['get']({'rootName':_0x31e5c4}),_0x28956c),{}),_0x2d6315=_0xef503c['plugins']['get']('Users')['users']['map'](_0x4a90b0=>({'id':_0x4a90b0['id'],'name':_0x4a90b0['name']})),_0x2cf6b6=_0xef503c['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x31fc8c=_0xef503c['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x79e6=_0x324424['plugins']['get']('Users'),_0x361ede=_0x324424['plugins']['get']('TrackChangesEditing'),_0x493bf7=_0x324424['plugins']['get']('CommentsRepository');for(const _0xa5fd51 of _0x493bf7['getCommentThreads']())_0xa5fd51['remove']();for(const _0x512152 of _0x2d6315)_0x79e6['getUser'](_0x512152['id'])||_0x79e6['addUser'](_0x512152);_0x79e6['me']||_0x79e6['useAnonymousUser']();for(const _0x4575cb of _0x31fc8c)_0x493bf7['addCommentThread'](_0x4575cb);for(const _0x48c7cd of _0x2cf6b6)_0x361ede['addSuggestionData'](_0x48c7cd);_0x324424['data']['set'](_0x4baa73);}function createAttachedElement(_0x1ef391){const _0x1730d0=document['createElement']('div');return _0x1ef391['appendChild'](_0x1730d0),_0x1730d0;}class _0x4fe693 extends ckeditor5['View']{['options'];constructor(_0xd20edf,_0xf875d9){super(_0xd20edf),this['options']=_0xf875d9,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'](_0x3c27d1,_0x18130a){if(!this['element'])return;const _0x1e8334=[];for(const [_0xd8111b,_0x40e6b7]of _0x3c27d1){const _0x2f59c8=document['createElement']('div');_0x2f59c8['setAttribute']('data-ck-root-name',_0xd8111b),_0x2f59c8['className']=_0x40e6b7['classes']+'\x20ck-track-changes-preview__root-container',_0x2f59c8['innerHTML']=_0x40e6b7['content'],_0x1e8334['push'](_0x2f59c8);}_0x18130a(this['element'],_0x1e8334),this['element']['style']['height']='',this['fire']('previewDataReady');}['focus'](){this['element']['focus']();}}class PreviewFinalContentCommand extends ckeditor5['Command']{constructor(_0x1be06a){super(_0x1be06a),this['affectsData']=!0x1,this['isEnabled']=!0x0;}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x4dbdf6=this['editor'],_0x169046=_0x4dbdf6['locale'],_0x52d56c=_0x4dbdf6['plugins']['get']('Dialog');let _0x65f08b;const _0x3709f7=getEditables(_0x4dbdf6),_0x74922e=calculateDialogRects(_0x3709f7);_0x52d56c['show']({'id':'finalContentPreview','title':getTranslation$1(_0x169046,'Final\x20content\x20preview'),'isModal':!0x0,'className':'ck-track-changes-preview-dialog','content':new _0x4fe693(_0x169046,{'dialogRects':_0x74922e}),'onHide':()=>{_0x65f08b['detachFromDom']();},'onShow':()=>{_0x4dbdf6['plugins']['get']('TrackChangesData')['getDataWithAcceptedSuggestions']({...this['_getMergeFieldsData']()})['then'](_0x51b458=>{const _0xd48813=this['_standarizeRootsData'](_0x51b458,_0x4dbdf6,_0x3709f7);_0x52d56c['view']['contentView']['children']['get'](0x0)['setPreviewData'](_0xd48813,_0x4dbdf6['config']['get']('trackChanges.preview.renderFunction'));}),_0x65f08b=new ckeditor5['BodyCollection'](_0x169046,[_0x52d56c['view']]),_0x65f08b['attachToDom'](),_0x65f08b['bodyCollectionContainer']['classList']['remove']('ck-reset_all'),_0x4dbdf6['once']('destroy',()=>{_0x65f08b['detachFromDom']();});const _0x388051=_0x52d56c['view']['headerView']['class'];_0x52d56c['view']['headerView']['class']=_0x388051?_0x388051+'\x20ck-reset_all':'ck-reset_all',_0x52d56c['view']['contentView']['children']['get'](0x0)['on']('previewDataReady',()=>{_0x52d56c['view']['updatePosition']();});}});}['_getMergeFieldsData'](){if(!this['editor']['plugins']['has']('MergeFieldsEditing'))return{};const _0x5915ee=this['editor']['plugins']['get']('MergeFieldsEditing'),_0x430939=_0x5915ee['previewMode'],_0x3aa825={};if('$labels'===_0x430939){for(const _0xd381cb of _0x5915ee['getMergeFieldsIds']())_0x3aa825[_0xd381cb]=_0x5915ee['getLabel'](_0xd381cb)||_0xd381cb;}else{const _0x58e2b2='$defaultValues'===_0x430939?_0x5915ee['getDefaultValues']():_0x5915ee['getDataSetValues'](_0x430939,!0x0);for(const _0x304c03 of Object['entries'](_0x58e2b2)){const [_0x1bf015,_0x5b3005]=_0x304c03;_0x3aa825[_0x1bf015]=null!==_0x5b3005?_0x5b3005:_0x5915ee['getLabel'](_0x1bf015)||_0x1bf015;}}return{'mergeFieldsData':_0x3aa825};}['_standarizeRootsData'](_0x1af85a,_0x14f4dd,_0xa7c76d){let _0x3769fd;if('string'==typeof _0x1af85a){const _0x4ae25a=_0x14f4dd['model']['document']['getRootNames']()[0x0];_0x3769fd={[_0x4ae25a]:_0x1af85a};}else _0x3769fd=_0x1af85a;const _0x3ca997=this['_fixMediaEmbeds'](_0x3769fd,_0x14f4dd);return addEditableClasses(this['_sortRoots'](_0x14f4dd)['reduce']((_0x3df5d3,_0x5da07f)=>(_0x3df5d3['push']([_0x5da07f,{'content':_0x3ca997[_0x5da07f],'classes':''}]),_0x3df5d3),[]),_0xa7c76d);}['_fixMediaEmbeds'](_0x2c9da1,_0x51e619){if(!_0x51e619['plugins']['has']('MediaEmbedEditing'))return _0x2c9da1;const _0x2a4174=_0x51e619['plugins']['get']('MediaEmbedEditing');for(const [_0x1a5c3f,_0x171e53]of Object['entries'](_0x2c9da1)){const _0x49e1dc=document['createElement']('div');_0x49e1dc['innerHTML']=_0x171e53,(_0x49e1dc['querySelectorAll']('figure.media')['forEach'](_0x3d4573=>{const _0x27aaa3=_0x3d4573['querySelector']('oembed');if(_0x27aaa3){const _0x2112c9=_0x27aaa3['getAttribute']('url');if(_0x2112c9){const _0x4abe61=_0x2a4174['registry']['getMediaViewElement'](new ckeditor5['ViewDowncastWriter'](_0x51e619['editing']['view']['document']),_0x2112c9,{'elementName':'','renderForEditingView':!0x0}),_0x3f6f84=document['createElement']('div');_0x3f6f84['classList']['add']('ck-media__wrapper'),_0x4abe61['render'](_0x3f6f84,_0x51e619['editing']['view']['domConverter']),_0x27aaa3['replaceWith'](_0x3f6f84);}}}),_0x2c9da1[_0x1a5c3f]=_0x49e1dc['innerHTML']);}return _0x2c9da1;}['_sortRoots'](_0x5d76a1){if(!isMultiRootEditor(_0x5d76a1))return _0x5d76a1['model']['document']['getRootNames']();const _0x4c1861=[],_0x4128a3=new Map();for(const _0x20f506 of _0x5d76a1['model']['document']['getRootNames']()){const _0x20003b=_0x5d76a1['editing']['view']['getDomRoot'](_0x20f506)['getClientRects']()['item'](0x0);_0x4c1861['push'](_0x20f506),_0x4128a3['set'](_0x20f506,_0x20003b);}return _0x4c1861['sort']((_0x5e8a41,_0x4a53d6)=>{const _0x3f0a8a=_0x4128a3['get'](_0x5e8a41),_0x5a129b=_0x4128a3['get'](_0x4a53d6);return _0x3f0a8a['y']-_0x5a129b['y']||_0x3f0a8a['x']-_0x5a129b['x'];}),_0x4c1861;}}function getEditables(_0x361f13){const _0x4619e0={};if('editables'in _0x361f13['ui']['view']){for(const [_0x2b864c,_0x23d801]of Object['entries'](_0x361f13['ui']['view']['editables']))_0x4619e0[_0x2b864c]=_0x23d801['element'];}else _0x4619e0[_0x361f13['model']['document']['getRootNames']()[0x0]]=_0x361f13['ui']['view']['editable']['element'];return _0x4619e0;}function calculateDialogRects(_0xc7e435){let _0x5432d6=0x0;for(const _0x5e5d63 of Object['values'](_0xc7e435))_0x5432d6=Math['max'](_0x5432d6,_0x5e5d63['getBoundingClientRect']()['width']);let _0x23bd17=0x0;for(const _0x457f42 of Object['values'](_0xc7e435))_0x23bd17+=_0x457f42['getBoundingClientRect']()['height'];const _0x3df95d=0.8*Math['max'](document['documentElement']['clientHeight'],window['innerHeight']);return{'width':_0x5432d6,'height':Math['min'](_0x23bd17,_0x3df95d)};}function addEditableClasses(_0x113e8c,_0x271bac){for(const [_0x29af80,_0x45dc2f]of _0x113e8c)_0x45dc2f['classes']=_0x271bac[_0x29af80]['classList']['value']['replace']('ck-focused','');return _0x113e8c;}function isMultiRootEditor(_0x5ea881){return void 0x0!==_0x5ea881['getRootsAttributes'];}class _0xb2e9ef 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(_0x4ed6de){super(_0x4ed6de),_0x4ed6de['commands']['add']('previewFinalContent',new PreviewFinalContentCommand(this['editor'])),_0x4ed6de['config']['define']('trackChanges.preview.renderFunction',(_0x31be92,_0x386834)=>{for(const _0x263547 of _0x386834)_0x31be92['appendChild'](_0x263547);});}}var _0x4386d3=function(_0x2a2110){return _0x2a2110['Local']='local',_0x2a2110['URL']='url',_0x2a2110['Dropbox']='dropbox',_0x2a2110['GDrive']='gdrive',_0x2a2110['Facebook']='facebook',_0x2a2110['GPhotos']='gphotos',_0x2a2110['OneDrive']='onedrive',_0x2a2110;}({});function getTranslation(_0x1d5f52,_0x1b994b,_0x2e1a21){const t=_0x1d5f52['t'],_0x34675d=_0x1d5f52['t'];switch(_0x1b994b){case _0x4386d3['Local']:return{'text':_0x34675d('Insert'===_0x2e1a21?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x34675d('From\x20computer')};case _0x4386d3['URL']:return{'text':'Insert'===_0x2e1a21?_0x34675d('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x34675d('Via\x20URL')};case _0x4386d3['Dropbox']:return{'text':t('Insert'===_0x2e1a21?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x4386d3['Facebook']:return{'text':t('Insert'===_0x2e1a21?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x4386d3['GDrive']:return{'text':t('Insert'===_0x2e1a21?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x4386d3['GPhotos']:return{'text':t('Insert'===_0x2e1a21?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x4386d3['OneDrive']:return{'text':t('Insert'===_0x2e1a21?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1b994b;}}class _0xe1afcc 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 _0x1aa9d9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x520494;for(const _0x2f40cb in _0x1aa9d9){const _0x3e9b5d=_0x2f40cb,_0xed7509=_0x1aa9d9[_0x3e9b5d];if('uploadcareLicenseKeyValid'==_0xed7509||'uploadcareLicenseKeyInvalid'==_0xed7509||'uploadcareLicenseKeyExpired'==_0xed7509||'uploadcareLicenseKeyDomainLimit'==_0xed7509||'uploadcareLicenseKeyNotAllowed'==_0xed7509||'uploadcareLicenseKeyEvaluationLimit'==_0xed7509||'uploadcareLicenseKeyUsageLimit'==_0xed7509){delete _0x1aa9d9[_0x3e9b5d],_0x520494=_0xed7509,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x520494&&_0x1aa9d9['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x520494&&_0x1aa9d9['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x520494&&_0x1aa9d9['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x520494&&_0x1aa9d9['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x520494&&_0x1aa9d9['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x520494&&_0x1aa9d9['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x1ac9ec}=this,_0x1cef8d=_0x1ac9ec['commands']['get']('uploadcare');if(!_0x1cef8d)return;const _0x5bde94=this['_normalizeConfigSourceList'](_0x1ac9ec['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x2cb1c1,_0x48a169)=>{const _0x4c4804=this['_getIntegrationKey'](_0x48a169['type']);return _0x2cb1c1[_0x4c4804]||(_0x2cb1c1[_0x4c4804]=[]),_0x2cb1c1[_0x4c4804]['push'](_0x48a169),_0x2cb1c1;},{});_0x1ac9ec['plugins']['has']('ImageInsertUI')&&_0x1ac9ec['commands']['get']('uploadcare')&&Object['entries'](_0x5bde94)['forEach'](([_0x5b7a87,_0x7924c1])=>{_0x1ac9ec['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x5b7a87,'observable':()=>_0x1cef8d,'buttonViewCreator':()=>this['_createToolbarButton'](_0x7924c1),'formViewCreator':()=>this['_createDropdownButtons'](_0x7924c1),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x7924c1),'override':'assetManager'!==_0x5b7a87});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0xab3625){const {locale:_0x5a0f5e}=this['editor'];return _0xab3625['map'](_0x55526b=>{const _0x3e1831=getTranslation(_0x5a0f5e,_0x55526b,'Insert');switch(_0x55526b){case _0x4386d3['Local']:return{'icon':ckeditor5['IconUploadcareImageUpload'],'type':_0x4386d3['Local'],..._0x3e1831};case _0x4386d3['URL']:return{'icon':ckeditor5['IconUploadcareLink'],'type':_0x4386d3['URL'],..._0x3e1831};case _0x4386d3['Dropbox']:return{'icon':ckeditor5['IconDropbox'],'type':_0x4386d3['Dropbox'],..._0x3e1831};case _0x4386d3['Facebook']:return{'icon':ckeditor5['IconFacebook'],'type':_0x4386d3['Facebook'],..._0x3e1831};case _0x4386d3['GDrive']:return{'icon':ckeditor5['IconGoogleDrive'],'type':_0x4386d3['GDrive'],..._0x3e1831};case _0x4386d3['GPhotos']:return{'icon':ckeditor5['IconGooglePhotos'],'type':_0x4386d3['GPhotos'],..._0x3e1831};case _0x4386d3['OneDrive']:return{'icon':ckeditor5['IconOneDrive'],'type':_0x4386d3['OneDrive'],..._0x3e1831};}});}['_getIntegrationKey'](_0x1f7421){switch(_0x1f7421){case _0x4386d3['Local']:return'upload';case _0x4386d3['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x44fff8,_0x1aae37){const _0x301c25=this['editor'],_0x4b177a=new _0x44fff8(_0x301c25['locale']),_0x59d04a=_0x301c25['commands']['get']('uploadcare');return _0x4b177a['bind']('isEnabled')['to'](_0x59d04a),_0x4b177a['on']('execute',()=>{_0x59d04a['execute'](_0x1aae37);}),_0x4b177a;}['_createToolbarButton'](_0x3f522a){const {locale:_0x241404}=this['editor'],_0x3a29fa=this['editor']['plugins']['get']('ImageInsertUI'),_0x2684c5=_0x3f522a[0x0],_0x153941=this['_createButton'](ckeditor5['ButtonView'],_0x2684c5['type']);return _0x153941['icon']=_0x2684c5['icon'],_0x153941['bind']('label')['to'](_0x3a29fa,'isImageSelected',_0x1da4c9=>getTranslation(_0x241404,_0x2684c5['type'],_0x1da4c9?'Replace':'Insert')['text']),_0x153941['tooltip']=!0x0,_0x153941;}['_createDropdownButtons'](_0x352429){const {locale:_0x48aa1c}=this['editor'],_0x524443=this['editor']['plugins']['get']('ImageInsertUI');return _0x352429['map'](_0x532893=>{const _0x265cb5=this['_createButton'](ckeditor5['ButtonView'],_0x532893['type']);return _0x265cb5['withText']=!0x0,_0x265cb5['icon']=_0x532893['icon'],_0x265cb5['bind']('label')['to'](_0x524443,'isImageSelected',_0x32d97c=>getTranslation(_0x48aa1c,_0x532893['type'],_0x32d97c?'Replace':'Insert')['text']),_0x265cb5;});}['_createMenuBarButtons'](_0x5f4371){return _0x5f4371['map'](_0x516dce=>{const _0x1e6db1=this['_createButton'](ckeditor5['MenuBarMenuListItemButtonView'],_0x516dce['type']);return _0x1e6db1['icon']=_0x516dce['icon'],_0x1e6db1['label']=_0x516dce['shortText'],_0x1e6db1;});}}class _0x35523e extends ckeditor5['View']{['focusTracker'];['focusCycler'];constructor(_0x4a565d){super(_0x4a565d),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 _0xb3c21d extends _0x35523e{constructor(_0x12a2f7,_0x30bcfb){super(_0x12a2f7),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-'+_0x30bcfb}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function createEditabilityChecker(_0x1a517e){const _0x415b41=createUrlChecker(_0x1a517e);return _0x5282b3=>!(!_0x5282b3||!_0x5282b3['is']('element','imageBlock')&&!_0x5282b3['is']('element','imageInline'))&&(!!_0x5282b3['hasAttribute']('uploadcareImageId')||!!_0x5282b3['hasAttribute']('src')&&_0x415b41(_0x5282b3['getAttribute']('src')));}function getImageUrls(_0x536e4b,_0x54dff2){const _0xa87a90=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x476c55=>_0x476c55<=_0x54dff2)['map'](_0x2890bd=>_0x536e4b['replace'](/\/$/,'')+'/-/resize/'+_0x2890bd+'x/\x20'+_0x2890bd+'w');return{'imageFallbackUrl':_0x536e4b,'imageSources':[{'srcset':_0xa87a90['join'](',\x20'),'sizes':'(max-width:\x20'+_0x54dff2+'px)\x20100vw,\x20'+_0x54dff2+'px','type':'image/webp'}]};}function getImageDimension(_0x3e2726,_0x27e932,_0x59cd7e){const _0x2065db=_0x3e2726['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x2065db?parseInt(_0x2065db[0x1],0xa):_0x27e932,'height':_0x2065db?parseInt(_0x2065db[0x2],0xa):_0x59cd7e};}function showImageProcessingIndicator(_0x4a6ccd,_0x38d34f){const _0x41ba74=new(ckeditor5['DomEmitterMixin']())(),_0x177967=_0x4a6ccd['plugins']['get']('ImageUtils'),_0xe8570b=_0x4a6ccd['editing']['mapper']['toViewElement'](_0x38d34f),_0x56f54d=_0x177967['findViewImgElement'](_0xe8570b),_0x458cb4=_0x4a6ccd['editing']['view']['domConverter']['viewToDom'](_0x56f54d),_0x49508a=_0x38d34f['getAttribute']('width'),_0x595680=_0x38d34f['getAttribute']('height'),_0x2ef8d6='image-processing';_0x4a6ccd['editing']['view']['change'](_0x1ea536=>{_0x1ea536['addClass'](_0x2ef8d6,_0xe8570b),_0x1ea536['setStyle']('aspect-ratio',_0x49508a+'/'+_0x595680,_0x56f54d);}),_0x41ba74['listenTo'](_0x458cb4,'load',()=>{_0x41ba74['stopListening'](_0x458cb4,'load'),_0x4a6ccd['editing']['view']['change'](_0x5f5993=>{_0x5f5993['removeClass'](_0x2ef8d6,_0xe8570b),_0x5f5993['removeStyle']('aspect-ratio',_0x56f54d);});});}function createUrlChecker(_0x451522){if(Array['isArray'](_0x451522)){const _0x2da072=_0x451522['map'](createUrlChecker);return _0x344a3f=>_0x2da072['some'](_0x3a0da1=>_0x3a0da1(_0x344a3f));}if('origin'==_0x451522){const _0x53062b=ckeditor5['global']['window']['location']['origin'];return _0x4be6e0=>new URL(_0x4be6e0,ckeditor5['global']['document']['baseURI'])['origin']==_0x53062b;}return'function'==typeof _0x451522?_0x451522:_0x451522 instanceof RegExp?_0x3dfbd=>!(!_0x3dfbd['match'](_0x451522)&&!_0x3dfbd['replace'](/^https?:\/\//,'')['match'](_0x451522)):()=>!0x1;}function isAncestor(_0x3b580b,_0x2ff3fd){return ckeditor5['getAncestors'](_0x3b580b['target'])['includes'](_0x2ff3fd);}class UploadcareController extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x33e848,_0x5ab403,_0x5199d0){super(),this['_editor']=_0x33e848,this['_editing']=_0x5ab403,this['_dialog']=_0x33e848['plugins']['get'](ckeditor5['Dialog']),this['_api']=_0x5ab403['ctxElement']['getAPI'](),this['_type']=_0x5199d0,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:_0x13fc02,model:_0x27b867}=this['_editor'],_0x2a2e3e=_0x27b867['document']['selection']['getSelectedElement'](),_0x66621c=_0x2a2e3e&&(_0x2a2e3e['is']('element','imageBlock')||_0x2a2e3e['is']('element','imageInline'));this['_formView']=new _0xb3c21d(_0x13fc02,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':ckeditor5['IconUploadcareImageUpload'],'title':getTranslation(_0x13fc02,this['_type'],_0x66621c?'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':_0x458742=>!isAncestor(_0x458742,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x239794}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x10ede1=>{const _0x4a1650=_0x239794['length'];for(const _0x114b1c of _0x239794){const _0x2e9692=_0x114b1c===_0x239794[_0x4a1650-0x1],{cdnUrl:_0x366329,fileInfo:_0xb126b}=_0x114b1c;if(!_0x366329||!_0xb126b)continue;const {width:_0x3cb5ae,height:_0x1c26cc}=_0xb126b['imageInfo'],_0x3fcee6=getImageDimension(_0x366329,_0x3cb5ae,_0x1c26cc),_0x26674f=getImageUrls(_0x366329,_0x3fcee6['width']),_0x362be1={'id':_0xb126b['uuid'],'type':'image','attributes':{'imageDimension':_0x3fcee6,..._0x26674f}};this['_insertAsset'](_0x362be1,_0x2e9692,_0x10ede1);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0xe44d6f=>{'idle'===_0xe44d6f['detail']['status']&&!_0xe44d6f['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===_0x4386d3['Local']?this['_api']['setCurrentActivity'](_0x4386d3['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x39b767,_0x161207,_0x4e9c62){const _0x152347=this['_editor']['model']['document']['selection'],_0x510a3a=_0x152347['getSelectedElement'](),_0x5bd568=!(!_0x510a3a||!_0x510a3a['is']('element','imageInline'));_0x4e9c62['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x39b767,_0x5bd568),_0x161207||_0x4e9c62['setSelection'](_0x152347['getLastPosition']());}['_insertImage'](_0x962879,_0x2b43f6){const _0x40a34c=this['_editor'],{imageDimension:_0x1c575d,imageFallbackUrl:_0x4e59c2,imageSources:_0x396fbc}=_0x962879['attributes'];_0x40a34c['execute']('insertImage',{'imageType':_0x2b43f6?'imageInline':null,'source':{'uploadcareImageId':_0x962879['id'],'src':_0x4e59c2,'sources':_0x396fbc,..._0x1c575d}});}}class _0x50b504 extends ckeditor5['Command']{['_editing'];['_controller']=null;static get['requires'](){return[ckeditor5['Dialog'],UploadcareEditing];}constructor(_0x3e8a5d){super(_0x3e8a5d),this['_editing']=_0x3e8a5d['plugins']['get'](UploadcareEditing);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x3b7b1a){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new UploadcareController(this['editor'],this['_editing'],_0x3b7b1a);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}function isObject$1(_0x43a381){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x43a381);}const _0x294ceb=/\W|_/g;function camelizeString$1(_0x4f8ba3){return _0x4f8ba3['split'](_0x294ceb)['map']((_0x5d3cf7,_0x41a238)=>_0x5d3cf7['charAt'](0x0)[_0x41a238>0x0?'toUpperCase':'toLowerCase']()+_0x5d3cf7['slice'](0x1))['join']('');}function camelizeArrayItems$1(_0x1b9264,{ignoreKeys:_0x266762}={'ignoreKeys':[]}){return Array['isArray'](_0x1b9264)?_0x1b9264['map'](_0xdfa3d5=>_0x33fac7(_0xdfa3d5,{'ignoreKeys':_0x266762})):_0x1b9264;}function _0x33fac7(_0x330d0e,{ignoreKeys:_0x103efd}={'ignoreKeys':[]}){if(Array['isArray'](_0x330d0e))return camelizeArrayItems$1(_0x330d0e,{'ignoreKeys':_0x103efd});if(!isObject$1(_0x330d0e))return _0x330d0e;const _0xeb6ab7={};for(const _0x47d4c4 of Object['keys'](_0x330d0e)){let _0x183dd2=_0x330d0e[_0x47d4c4];_0x103efd['includes'](_0x47d4c4)?_0xeb6ab7[_0x47d4c4]=_0x183dd2:(isObject$1(_0x183dd2)?_0x183dd2=_0x33fac7(_0x183dd2,{'ignoreKeys':_0x103efd}):Array['isArray'](_0x183dd2)&&(_0x183dd2=camelizeArrayItems$1(_0x183dd2,{'ignoreKeys':_0x103efd})),_0xeb6ab7[camelizeString$1(_0x47d4c4)]=_0x183dd2);}return _0xeb6ab7;}const _0x4067de=_0x3e9dbc=>new Promise(_0x4ca53c=>setTimeout(_0x4ca53c,_0x3e9dbc));function getUserAgent$1$1({libraryName:_0x3e27d5,libraryVersion:_0x423fd2,userAgent:_0x1b1676,publicKey:_0x15ab07='',integration:_0x44128a=''}){const _0x255f4b='JavaScript';if('string'==typeof _0x1b1676)return _0x1b1676;if('function'==typeof _0x1b1676)return _0x1b1676({'publicKey':_0x15ab07,'libraryName':_0x3e27d5,'libraryVersion':_0x423fd2,'languageName':_0x255f4b,'integration':_0x44128a});return[_0x3e27d5,_0x423fd2,_0x15ab07]['filter'](Boolean)['join']('/')+'\x20('+[_0x255f4b,_0x44128a]['filter'](Boolean)['join'](';\x20')+')';}const defaultOptions$1={'factor':0x2,'time':0x64};function retrier$1(_0x4be3e1,_0x5e749e=defaultOptions$1){let _0x5e8840=0x0;return function _0x5bb230(_0x356a3e){const _0x5ef45b=Math['round'](_0x5e749e['time']*_0x5e749e['factor']**_0x5e8840);return _0x356a3e({'attempt':_0x5e8840,'retry':_0x261753=>_0x4067de(_0x261753??_0x5ef45b)['then'](()=>(_0x5e8840+=0x1,_0x5bb230(_0x356a3e)))});}(_0x4be3e1);}let _0x39b131=class extends Error{},NetworkError$1=class _0x2d07b9 extends _0x39b131{['originalProgressEvent'];constructor(_0x1b8281){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,_0x2d07b9['prototype']),this['originalProgressEvent']=_0x1b8281;}};const _0x1e9b43=(_0x2618ca,_0x4939fd)=>{_0x2618ca&&(_0x2618ca['aborted']?Promise['resolve']()['then'](_0x4939fd):_0x2618ca['addEventListener']('abort',()=>_0x4939fd(),{'once':!0x0}));};let _0xb00d07=class _0x46c998 extends _0x39b131{['isCancel']=!0x0;constructor(_0x3eeea6='Request\x20canceled'){super(_0x3eeea6),this['name']='CancelError',Object['setPrototypeOf'](this,_0x46c998['prototype']);}};const _0x3a582c=0x1f4,_0xc5a58b=({check:_0x3420e5,interval:_0x392a6a=_0x3a582c,timeout:_0x34353e,signal:_0x438482})=>new Promise((_0x35924e,_0x477bd6)=>{let _0x21f5c9,_0x317837;_0x1e9b43(_0x438482,()=>{_0x21f5c9&&clearTimeout(_0x21f5c9),_0x477bd6(new _0xb00d07('Poll\x20cancelled'));}),_0x34353e&&(_0x317837=setTimeout(()=>{_0x21f5c9&&clearTimeout(_0x21f5c9),_0x477bd6(new _0xb00d07('Timed\x20out'));},_0x34353e));const _0x414425=()=>{try{Promise['resolve'](_0x3420e5(_0x438482))['then'](_0xe45cf7=>{_0xe45cf7?(_0x317837&&clearTimeout(_0x317837),_0x35924e(_0xe45cf7)):_0x21f5c9=setTimeout(_0x414425,_0x392a6a);})['catch'](_0x2b777d=>{_0x317837&&clearTimeout(_0x317837),_0x477bd6(_0x2b777d);});}catch(_0x4da52f){_0x317837&&clearTimeout(_0x317837),_0x477bd6(_0x4da52f);}};_0x21f5c9=setTimeout(_0x414425,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:_0xb33bd4,url:_0x3c1031,data:_0x4eacc0,headers:_0x3c9866={},signal:_0x5325d2,onProgress:_0x1b26bc})=>new Promise((_0x3cb553,_0x18ff0)=>{const _0x615fed=new XMLHttpRequest(),_0xe4718c=_0xb33bd4?.['toUpperCase']()||'GET';let _0x47b196=!0x1;_0x615fed['open'](_0xe4718c,_0x3c1031,!0x0),_0x3c9866&&Object['entries'](_0x3c9866)['forEach'](_0x4ef94e=>{const [_0x58fb9d,_0x29debe]=_0x4ef94e;void 0x0!==_0x29debe&&!Array['isArray'](_0x29debe)&&_0x615fed['setRequestHeader'](_0x58fb9d,_0x29debe);}),_0x615fed['responseType']='text',_0x1e9b43(_0x5325d2,()=>{_0x47b196=!0x0,_0x615fed['abort'](),_0x18ff0(new _0xb00d07());}),_0x615fed['onload']=()=>{if(0xc8!=_0x615fed['status'])_0x18ff0(new Error('Error\x20'+_0x615fed['status']+':\x20'+_0x615fed['statusText']));else{const _0x4cbee7={'method':_0xe4718c,'url':_0x3c1031,'data':_0x4eacc0,'headers':_0x3c9866||void 0x0,'signal':_0x5325d2,'onProgress':_0x1b26bc},_0x24a1d0=_0x615fed['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0x14a150={};_0x24a1d0['forEach'](function(_0x4094dc){const _0x2feb77=_0x4094dc['split'](':\x20'),_0x4d838d=_0x2feb77['shift'](),_0x3fca8f=_0x2feb77['join'](':\x20');_0x4d838d&&void 0x0!==_0x4d838d&&(_0x14a150[_0x4d838d]=_0x3fca8f);});const _0xf19f5f=_0x615fed['response'],_0x12208e=_0x615fed['status'];_0x3cb553({'request':_0x4cbee7,'data':_0xf19f5f,'headers':_0x14a150,'status':_0x12208e});}},_0x615fed['onerror']=_0x2fdc68=>{_0x47b196||_0x18ff0(new NetworkError$1(_0x2fdc68));},_0x1b26bc&&'function'==typeof _0x1b26bc&&(_0x615fed['upload']['onprogress']=_0x51cf97=>{_0x51cf97['lengthComputable']?_0x1b26bc({'isComputable':!0x0,'value':_0x51cf97['loaded']/_0x51cf97['total']}):_0x1b26bc({'isComputable':!0x1});}),_0x4eacc0?_0x615fed['send'](_0x4eacc0):_0x615fed['send']();});function identity$1(_0x3b4ba3,..._0x217452){return _0x3b4ba3;}const getFileOptions$1=({name:_0x1d5e2a})=>_0x1d5e2a?[_0x1d5e2a]:[],transformFile$1=identity$1;var getFormData$1=()=>new FormData();const _0x497d41=_0x5f2bc5=>!0x1,_0x422279=_0x5d6c56=>'undefined'!=typeof Blob&&_0x5d6c56 instanceof Blob,_0xd12a=_0x482b8e=>'undefined'!=typeof File&&_0x482b8e instanceof File,isReactNativeAsset$1=_0x5689e0=>!!_0x5689e0&&'object'==typeof _0x5689e0&&!Array['isArray'](_0x5689e0)&&'uri'in _0x5689e0&&'string'==typeof _0x5689e0['uri'],isFileData$1=_0x3df418=>_0x422279(_0x3df418)||_0xd12a(_0x3df418)||_0x497d41()||isReactNativeAsset$1(_0x3df418),_0x49736d=_0x2e6e8d=>'string'==typeof _0x2e6e8d||'number'==typeof _0x2e6e8d||void 0x0===_0x2e6e8d,isObjectValue$1=_0x12b85f=>!!_0x12b85f&&'object'==typeof _0x12b85f&&!Array['isArray'](_0x12b85f),_0x7d3189=_0x1f2830=>!!_0x1f2830&&'object'==typeof _0x1f2830&&'data'in _0x1f2830&&isFileData$1(_0x1f2830['data']);function collectParams$1(_0x382e24,_0x3fba02,_0xea561){if(Array['isArray'](_0xea561)){for(const _0x22e9ee of _0xea561)collectParams$1(_0x382e24,_0x3fba02+'[]',_0x22e9ee);}else{if(_0x7d3189(_0xea561)){const {name:_0x63ca5c,contentType:_0x2fec1b}=_0xea561,_0x49b9ba=transformFile$1(_0xea561['data'],_0x63ca5c,_0x2fec1b??defaultContentType$1),_0x4762a1=getFileOptions$1({'name':_0x63ca5c});_0x382e24['push']([_0x3fba02,_0x49b9ba,..._0x4762a1]);}else{if(isObjectValue$1(_0xea561)){for(const [_0x3d5ba9,_0x2a6660]of Object['entries'](_0xea561))void 0x0!==_0x2a6660&&_0x382e24['push']([_0x3fba02+'['+_0x3d5ba9+']',String(_0x2a6660)]);}else _0x49736d(_0xea561)&&_0xea561&&_0x382e24['push']([_0x3fba02,_0xea561['toString']()]);}}}function getFormDataParams$1(_0x3896b3){const _0x602180=[];for(const [_0x334f2f,_0x35c88d]of Object['entries'](_0x3896b3))collectParams$1(_0x602180,_0x334f2f,_0x35c88d);return _0x602180;}function buildFormData$1(_0x270980){const _0x252149=getFormData$1(),_0x219097=getFormDataParams$1(_0x270980);for(const _0x1dec22 of _0x219097){const [_0x1fffa6,_0x15fbda,..._0xca1fd2]=_0x1dec22;_0x252149['append'](_0x1fffa6,_0x15fbda,..._0xca1fd2);}return _0x252149;}let _0x254fdf=class _0x1d2573 extends _0x39b131{['code'];['request'];['response'];['headers'];constructor(_0x140060,_0x4b3f6d,_0x12f085,_0x25d56d,_0x260e59){super(),this['name']='UploadError',this['message']=_0x140060,this['code']=_0x4b3f6d,this['request']=_0x12f085,this['response']=_0x25d56d,this['headers']=_0x260e59,Object['setPrototypeOf'](this,_0x1d2573['prototype']);}};const _0x1b68a4=_0x51187d=>{const _0x363538=new URLSearchParams();for(const [_0x169a8e,_0x2ed0da]of Object['entries'](_0x51187d))_0x2ed0da&&'object'==typeof _0x2ed0da&&!Array['isArray'](_0x2ed0da)?Object['entries'](_0x2ed0da)['filter'](_0x372bc4=>_0x372bc4[0x1]??!0x1)['forEach'](_0x2d48be=>_0x363538['set'](_0x169a8e+'['+_0x2d48be[0x0]+']',String(_0x2d48be[0x1]))):Array['isArray'](_0x2ed0da)?_0x2ed0da['forEach'](_0x442eb8=>{_0x363538['append'](_0x169a8e+'[]',_0x442eb8);}):'string'==typeof _0x2ed0da&&_0x2ed0da?_0x363538['set'](_0x169a8e,_0x2ed0da):'number'==typeof _0x2ed0da&&_0x363538['set'](_0x169a8e,_0x2ed0da['toString']());return _0x363538['toString']();},getUrl$1=(_0x3e2893,_0x5834ce,_0x1a879c)=>{const _0x475aff=new URL(_0x3e2893);return _0x475aff['pathname']=(_0x475aff['pathname']+_0x5834ce)['replace']('//','/'),_0x1a879c&&(_0x475aff['search']=_0x1b68a4(_0x1a879c)),_0x475aff['toString']();};var _0x594ff6='6.14.3';const _0x1f806a='UploadcareUploadClient',_0x541935=_0x594ff6;function getUserAgent$2(_0xfb8f4d){return getUserAgent$1$1({'libraryName':_0x1f806a,'libraryVersion':_0x541935,..._0xfb8f4d});}const _0x40ea3b='RequestThrottledError',_0x124389=0x3a98,_0xe86668=0x3e8;function getTimeoutFromThrottledRequest$1(_0x3e7529){const {headers:_0x16104a}=_0x3e7529||{};if(!_0x16104a||'string'!=typeof _0x16104a['retry-after'])return _0x124389;const _0x364685=parseInt(_0x16104a['retry-after'],0xa);return Number['isFinite'](_0x364685)?0x3e8*_0x364685:_0x124389;}function retryIfFailed$1(_0x21cbe1,_0x5a79cd){const {retryThrottledRequestMaxTimes:_0x4f2167,retryNetworkErrorMaxTimes:_0x35710c}=_0x5a79cd;return retrier$1(({attempt:_0x5bc6d0,retry:_0x36e156})=>_0x21cbe1()['catch'](_0x53a672=>{if('response'in _0x53a672&&_0x53a672?.['code']===_0x40ea3b&&_0x5bc6d0<_0x4f2167)return _0x36e156(getTimeoutFromThrottledRequest$1(_0x53a672));if(_0x53a672 instanceof NetworkError$1&&_0x5bc6d0<_0x35710c)return _0x36e156((_0x5bc6d0+0x1)*_0xe86668);throw _0x53a672;}));}const getContentType$1=_0x25afe6=>{let _0x4ec12d='';return(_0x422279(_0x25afe6)||_0xd12a(_0x25afe6)||isReactNativeAsset$1(_0x25afe6))&&(_0x4ec12d=_0x25afe6['type']),_0x4ec12d||defaultContentType$1;},getFileName$1=_0x491e1a=>{let _0xba77ec='';return _0xd12a(_0x491e1a)&&_0x491e1a['name']?_0xba77ec=_0x491e1a['name']:_0x422279(_0x491e1a)||_0x497d41()?_0xba77ec='':isReactNativeAsset$1(_0x491e1a)&&_0x491e1a['name']&&(_0xba77ec=_0x491e1a['name']),_0xba77ec||defaultFilename$1;};function getStoreValue$1(_0x41dba){return void 0x0===_0x41dba||'auto'===_0x41dba?'auto':_0x41dba?'1':'0';}function _0x5e9d9e(_0x56ceaa,{publicKey:_0x1c020a,fileName:_0x37fbfd,contentType:_0x578dfa,baseURL:_0x11e731=defaultSettings$1['baseURL'],secureSignature:_0x26ac08,secureExpire:_0xc9fe87,store:_0x4dec44,signal:_0x288702,onProgress:_0x520f37,source:_0x19532a='local',integration:_0x1d400f,userAgent:_0x3d8523,retryThrottledRequestMaxTimes:_0x465e6b=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x19c380=defaultSettings$1['retryNetworkErrorMaxTimes'],metadata:_0xe65f75}){return retryIfFailed$1(()=>request$1({'method':'POST','url':getUrl$1(_0x11e731,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x1c020a,'integration':_0x1d400f,'userAgent':_0x3d8523})},'data':buildFormData$1({'file':{'data':_0x56ceaa,'name':_0x37fbfd||getFileName$1(_0x56ceaa),'contentType':_0x578dfa||getContentType$1(_0x56ceaa)},'UPLOADCARE_PUB_KEY':_0x1c020a,'UPLOADCARE_STORE':getStoreValue$1(_0x4dec44),'signature':_0x26ac08,'expire':_0xc9fe87,'source':_0x19532a,'metadata':_0xe65f75}),'signal':_0x288702,'onProgress':_0x520f37})['then'](({data:_0x567b5d,headers:_0x31d82b,request:_0xf03d11})=>{const _0x3edb5c=_0x33fac7(JSON['parse'](_0x567b5d));if('error'in _0x3edb5c)throw new _0x254fdf(_0x3edb5c['error']['content'],_0x3edb5c['error']['errorCode'],_0xf03d11,_0x3edb5c,_0x31d82b);return _0x3edb5c;}),{'retryNetworkErrorMaxTimes':_0x19c380,'retryThrottledRequestMaxTimes':_0x465e6b});}var _0x485d84,Status$1;function _0x501d41(_0x242da1,{publicKey:_0x4f2547,baseURL:_0x4f3e10=defaultSettings$1['baseURL'],store:_0x40a905,fileName:_0x5564c4,checkForUrlDuplicates:_0x2b9d27,saveUrlForRecurrentUploads:_0x1971aa,secureSignature:_0x56ecab,secureExpire:_0x3ab838,source:_0x3f248c='url',signal:_0x1dc397,integration:_0x2e2748,userAgent:_0x4428c3,retryThrottledRequestMaxTimes:_0x4d7616=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x298235=defaultSettings$1['retryNetworkErrorMaxTimes'],metadata:_0x33f1a5}){return retryIfFailed$1(()=>request$1({'method':'POST','headers':{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x4f2547,'integration':_0x2e2748,'userAgent':_0x4428c3})},'url':getUrl$1(_0x4f3e10,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x4f2547,'source_url':_0x242da1,'store':getStoreValue$1(_0x40a905),'filename':_0x5564c4,'check_URL_duplicates':_0x2b9d27?0x1:void 0x0,'save_URL_duplicates':_0x1971aa?0x1:void 0x0,'signature':_0x56ecab,'expire':_0x3ab838,'source':_0x3f248c,'metadata':_0x33f1a5}),'signal':_0x1dc397})['then'](({data:_0x1f6023,headers:_0x3addac,request:_0x453ab6})=>{const _0x3c5856=_0x33fac7(JSON['parse'](_0x1f6023));if('error'in _0x3c5856)throw new _0x254fdf(_0x3c5856['error']['content'],_0x3c5856['error']['errorCode'],_0x453ab6,_0x3c5856,_0x3addac);return _0x3c5856;}),{'retryNetworkErrorMaxTimes':_0x298235,'retryThrottledRequestMaxTimes':_0x4d7616});}!function(_0x4a5813){_0x4a5813['Token']='token',_0x4a5813['FileInfo']='file_info';}(_0x485d84||(_0x485d84={})),function(_0x323aa1){_0x323aa1['Unknown']='unknown',_0x323aa1['Waiting']='waiting',_0x323aa1['Progress']='progress',_0x323aa1['Error']='error',_0x323aa1['Success']='success';}(Status$1||(Status$1={}));const _0x31f337=_0x144847=>'status'in _0x144847&&_0x144847['status']===Status$1['Error'];function fromUrlStatus$1(_0xfc58f5,{publicKey:_0x2af77e,baseURL:_0x196abd=defaultSettings$1['baseURL'],signal:_0x29db20,integration:_0x182db3,userAgent:_0x47c950,retryThrottledRequestMaxTimes:_0x20f093=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x17f36d=defaultSettings$1['retryNetworkErrorMaxTimes']}={}){return retryIfFailed$1(()=>request$1({'method':'GET','headers':_0x2af77e?{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x2af77e,'integration':_0x182db3,'userAgent':_0x47c950})}:void 0x0,'url':getUrl$1(_0x196abd,'/from_url/status/',{'jsonerrors':0x1,'token':_0xfc58f5}),'signal':_0x29db20})['then'](({data:_0x567e83,headers:_0x86a7d7,request:_0x218b1f})=>{const _0x3b993f=_0x33fac7(JSON['parse'](_0x567e83));if('error'in _0x3b993f&&!_0x31f337(_0x3b993f))throw new _0x254fdf(_0x3b993f['error']['content'],_0x3b993f['error']['errorCode'],_0x218b1f,_0x3b993f,_0x86a7d7);return _0x3b993f;}),{'retryNetworkErrorMaxTimes':_0x17f36d,'retryThrottledRequestMaxTimes':_0x20f093});}function _0x12020b(_0xab445a,{publicKey:_0x5b2eb4,baseURL:_0x1cf1c0=defaultSettings$1['baseURL'],signal:_0x37ca56,source:_0xcc8641,integration:_0x1c2ec5,userAgent:_0x19ddf6,retryThrottledRequestMaxTimes:_0x53eb7a=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x36f934=defaultSettings$1['retryNetworkErrorMaxTimes']}){return retryIfFailed$1(()=>request$1({'method':'GET','headers':{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x5b2eb4,'integration':_0x1c2ec5,'userAgent':_0x19ddf6})},'url':getUrl$1(_0x1cf1c0,'/info/',{'jsonerrors':0x1,'pub_key':_0x5b2eb4,'file_id':_0xab445a,'source':_0xcc8641}),'signal':_0x37ca56})['then'](({data:_0x386f6b,headers:_0x14e8c9,request:_0x4e0782})=>{const _0x2ec34f=_0x33fac7(JSON['parse'](_0x386f6b));if('error'in _0x2ec34f)throw new _0x254fdf(_0x2ec34f['error']['content'],_0x2ec34f['error']['errorCode'],_0x4e0782,_0x2ec34f,_0x14e8c9);return _0x2ec34f;}),{'retryThrottledRequestMaxTimes':_0x53eb7a,'retryNetworkErrorMaxTimes':_0x36f934});}function multipartStart$1(_0x379a12,{publicKey:_0x4f0c41,contentType:_0x8b8e6b,fileName:_0x545f8e,multipartChunkSize:_0x4e9dff=defaultSettings$1['multipartChunkSize'],baseURL:_0x34439a='',secureSignature:_0x20fe1d,secureExpire:_0x52a4a5,store:_0x133634,signal:_0x3c74a8,source:_0x1ddb67='local',integration:_0x4b0717,userAgent:_0x317ebc,retryThrottledRequestMaxTimes:_0x5c1694=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x370b0a=defaultSettings$1['retryNetworkErrorMaxTimes'],metadata:_0x373fa5}){return retryIfFailed$1(()=>request$1({'method':'POST','url':getUrl$1(_0x34439a,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x4f0c41,'integration':_0x4b0717,'userAgent':_0x317ebc})},'data':buildFormData$1({'filename':_0x545f8e,'size':_0x379a12,'content_type':_0x8b8e6b||defaultContentType$1,'part_size':_0x4e9dff,'UPLOADCARE_STORE':getStoreValue$1(_0x133634),'UPLOADCARE_PUB_KEY':_0x4f0c41,'signature':_0x20fe1d,'expire':_0x52a4a5,'source':_0x1ddb67,'metadata':_0x373fa5}),'signal':_0x3c74a8})['then'](({data:_0x1a89d7,headers:_0x5b6c4a,request:_0x1c28f1})=>{const _0x2e1abe=_0x33fac7(JSON['parse'](_0x1a89d7));if('error'in _0x2e1abe)throw new _0x254fdf(_0x2e1abe['error']['content'],_0x2e1abe['error']['errorCode'],_0x1c28f1,_0x2e1abe,_0x5b6c4a);return _0x2e1abe['parts']=Object['keys'](_0x2e1abe['parts'])['map'](_0x36b38b=>_0x2e1abe['parts'][Number(_0x36b38b)]),_0x2e1abe;}),{'retryThrottledRequestMaxTimes':_0x5c1694,'retryNetworkErrorMaxTimes':_0x370b0a});}function multipartUpload$1(_0x5995ed,_0x4e11a9,{contentType:_0x1e82be,signal:_0x143173,onProgress:_0x5da307,retryThrottledRequestMaxTimes:_0x5c4511=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x1a6909=defaultSettings$1['retryNetworkErrorMaxTimes']}){return retryIfFailed$1(()=>request$1({'method':'PUT','url':_0x4e11a9,'data':_0x5995ed,'onProgress':_0x5da307,'signal':_0x143173,'headers':{'Content-Type':_0x1e82be||defaultContentType$1}})['then'](_0x5e30d1=>(_0x5da307&&_0x5da307({'isComputable':!0x0,'value':0x1}),_0x5e30d1))['then'](({status:_0x59da79})=>({'code':_0x59da79})),{'retryThrottledRequestMaxTimes':_0x5c4511,'retryNetworkErrorMaxTimes':_0x1a6909});}function multipartComplete$1(_0x2eb3f2,{publicKey:_0x801d33,baseURL:_0x57f778=defaultSettings$1['baseURL'],source:_0xf0eeef='local',signal:_0x2e97ea,integration:_0x2ae37b,userAgent:_0x449f84,retryThrottledRequestMaxTimes:_0x2f842b=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x59241d=defaultSettings$1['retryNetworkErrorMaxTimes']}){return retryIfFailed$1(()=>request$1({'method':'POST','url':getUrl$1(_0x57f778,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x801d33,'integration':_0x2ae37b,'userAgent':_0x449f84})},'data':buildFormData$1({'uuid':_0x2eb3f2,'UPLOADCARE_PUB_KEY':_0x801d33,'source':_0xf0eeef}),'signal':_0x2e97ea})['then'](({data:_0x5b3d4a,headers:_0x43d72d,request:_0x23a655})=>{const _0x18807a=_0x33fac7(JSON['parse'](_0x5b3d4a));if('error'in _0x18807a)throw new _0x254fdf(_0x18807a['error']['content'],_0x18807a['error']['errorCode'],_0x23a655,_0x18807a,_0x43d72d);return _0x18807a;}),{'retryThrottledRequestMaxTimes':_0x2f842b,'retryNetworkErrorMaxTimes':_0x59241d});}function _0x161c65(_0x44c8e4,{publicKey:_0x16e3f5,baseURL:_0x10b82b,source:_0x4d321c,integration:_0xec9f04,userAgent:_0x40a194,retryThrottledRequestMaxTimes:_0x51e87f,retryNetworkErrorMaxTimes:_0x51925f,signal:_0x3a99a2,onProgress:_0x3750d9}){return _0xc5a58b({'check':_0x159ed0=>_0x12020b(_0x44c8e4,{'publicKey':_0x16e3f5,'baseURL':_0x10b82b,'signal':_0x159ed0,'source':_0x4d321c,'integration':_0xec9f04,'userAgent':_0x40a194,'retryThrottledRequestMaxTimes':_0x51e87f,'retryNetworkErrorMaxTimes':_0x51925f})['then'](_0x226f89=>_0x226f89['isReady']?_0x226f89:(_0x3750d9&&_0x3750d9({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x3a99a2});}function _0x572982(_0x25e33e){return'defaultEffects'in _0x25e33e;}let _0x310c7b=class{['uuid'];['name'];['size'];['isStored'];['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];['contentInfo'];['metadata'];['s3Bucket'];['defaultEffects']=null;constructor(_0x41274f,{baseCDN:_0x28d06e=defaultSettings$1['baseCDN'],fileName:_0x1196d9}={}){const {uuid:_0x514918,s3Bucket:_0x33628d}=_0x41274f,_0x28eed2=getUrl$1(_0x28d06e,_0x514918+'/'),_0x288bd8=_0x33628d?getUrl$1('https://'+_0x33628d+'.s3.amazonaws.com/',_0x514918+'/'+_0x41274f['filename']):null;this['uuid']=_0x514918,this['name']=_0x1196d9||_0x41274f['filename'],this['size']=_0x41274f['size'],this['isStored']=_0x41274f['isStored'],this['isImage']=_0x41274f['isImage'],this['mimeType']=_0x41274f['mimeType'],this['cdnUrl']=_0x28eed2,this['originalFilename']=_0x41274f['originalFilename'],this['imageInfo']=_0x41274f['imageInfo'],this['videoInfo']=_0x41274f['videoInfo'],this['contentInfo']=_0x41274f['contentInfo'],this['metadata']=_0x41274f['metadata']||null,this['s3Bucket']=_0x33628d||null,this['s3Url']=_0x288bd8,_0x572982(_0x41274f)&&(this['defaultEffects']=_0x41274f['defaultEffects']);}};const uploadDirect$1=(_0x22492d,{publicKey:_0x96405c,fileName:_0x3adbe1,baseURL:_0x43427d,secureSignature:_0x10621b,secureExpire:_0x16feab,store:_0x14cd48,contentType:_0x592171,signal:_0x3df031,onProgress:_0x48b767,source:_0x1cdd11,integration:_0x5c987b,userAgent:_0x254d62,retryThrottledRequestMaxTimes:_0x3bae97,retryNetworkErrorMaxTimes:_0x581ada,baseCDN:_0x12569e,metadata:_0x5821da})=>_0x5e9d9e(_0x22492d,{'publicKey':_0x96405c,'fileName':_0x3adbe1,'contentType':_0x592171,'baseURL':_0x43427d,'secureSignature':_0x10621b,'secureExpire':_0x16feab,'store':_0x14cd48,'signal':_0x3df031,'onProgress':_0x48b767,'source':_0x1cdd11,'integration':_0x5c987b,'userAgent':_0x254d62,'retryThrottledRequestMaxTimes':_0x3bae97,'retryNetworkErrorMaxTimes':_0x581ada,'metadata':_0x5821da})['then'](({file:_0xeb555})=>_0x161c65(_0xeb555,{'publicKey':_0x96405c,'baseURL':_0x43427d,'source':_0x1cdd11,'integration':_0x5c987b,'userAgent':_0x254d62,'retryThrottledRequestMaxTimes':_0x3bae97,'retryNetworkErrorMaxTimes':_0x581ada,'onProgress':_0x48b767,'signal':_0x3df031}))['then'](_0x3207ba=>new _0x310c7b(_0x3207ba,{'baseCDN':_0x12569e})),_0xecd0e2=(_0x18ff87,{publicKey:_0x537f5a,fileName:_0x549f5e,baseURL:_0x286b4d,signal:_0x10aa10,onProgress:_0x570d53,source:_0x251a38,integration:_0x39260d,userAgent:_0x7ada35,retryThrottledRequestMaxTimes:_0xec8c6d,retryNetworkErrorMaxTimes:_0x59941c,baseCDN:_0x9aec44})=>_0x12020b(_0x18ff87,{'publicKey':_0x537f5a,'baseURL':_0x286b4d,'signal':_0x10aa10,'source':_0x251a38,'integration':_0x39260d,'userAgent':_0x7ada35,'retryThrottledRequestMaxTimes':_0xec8c6d,'retryNetworkErrorMaxTimes':_0x59941c})['then'](_0x4bc713=>new _0x310c7b(_0x4bc713,{'baseCDN':_0x9aec44,'fileName':_0x549f5e}))['then'](_0x568560=>(_0x570d53&&_0x570d53({'isComputable':!0x0,'value':0x1}),_0x568560)),_0x46d52b=(_0xb8b64c,{signal:_0x2ae726}={})=>{let _0x519917=null,_0x14d79d=null;const _0x2c9420=_0xb8b64c['map'](()=>new AbortController());return _0x1e9b43(_0x2ae726,()=>{_0x2c9420['forEach'](_0x238a58=>_0x238a58['abort']());}),Promise['all'](_0xb8b64c['map']((_0x271063,_0x2e74c5)=>{const _0x5ba1e7=(_0x361cff=>()=>{_0x14d79d=_0x361cff,_0x2c9420['forEach']((_0xf065d1,_0x570f8e)=>_0x570f8e!==_0x361cff&&_0xf065d1['abort']());})(_0x2e74c5);return Promise['resolve']()['then'](()=>_0x271063({'stopRace':_0x5ba1e7,'signal':_0x2c9420[_0x2e74c5]['signal']}))['then'](_0xfb4b1c=>(_0x5ba1e7(),_0xfb4b1c))['catch'](_0x612ed8=>(_0x519917=_0x612ed8,null));}))['then'](_0x42404b=>{if(null===_0x14d79d)throw _0x519917;return _0x42404b[_0x14d79d];});};var WebSocket$1=window['WebSocket'];let Events$1=class{['events']=Object['create']({});['emit'](_0x21ce47,_0x5738f8){this['events'][_0x21ce47]?.['forEach'](_0x4d645c=>_0x4d645c(_0x5738f8));}['on'](_0x187564,_0x4815f2){this['events'][_0x187564]=this['events'][_0x187564]||[],this['events'][_0x187564]['push'](_0x4815f2);}['off'](_0x20d473,_0x4a9755){this['events'][_0x20d473]=_0x4a9755?this['events'][_0x20d473]['filter'](_0x348552=>_0x348552!==_0x4a9755):[];}};const _0x3c36ad=(_0x58bb53,_0x34a83d)=>'success'===_0x58bb53?{'status':Status$1['Success'],..._0x34a83d}:'progress'===_0x58bb53?{'status':Status$1['Progress'],..._0x34a83d}:{'status':Status$1['Error'],..._0x34a83d};let _0x5b6f49=class{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new Events$1();['disconnectTimeoutId']=null;constructor(_0x49ecca,_0x995b63=0x7530){this['key']=_0x49ecca,this['disconnectTime']=_0x995b63;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){const _0x391185='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new WebSocket$1(_0x391185),this['ws']['addEventListener']('error',_0x40e6c5=>{this['emmitter']['emit']('error',new Error(_0x40e6c5['message']));}),this['emmitter']['on']('connected',()=>{this['isConnected']=!0x0,this['queue']['forEach'](_0x19ea5b=>this['send'](_0x19ea5b['event'],_0x19ea5b['data'])),this['queue']=[];}),this['ws']['addEventListener']('message',_0x2625a6=>{const _0x539e06=JSON['parse'](_0x2625a6['data']['toString']());switch(_0x539e06['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'](_0x539e06['channel'],_0x3c36ad(_0x539e06['event'],JSON['parse'](_0x539e06['data'])));}});}}['disconnect'](){const _0x48f9be=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0x48f9be();},this['disconnectTime']):_0x48f9be();}['send'](_0x516a4f,_0x4c8cb1){const _0x1fc882=JSON['stringify']({'event':_0x516a4f,'data':_0x4c8cb1});this['ws']?.['send'](_0x1fc882);}['subscribe'](_0x393b17,_0x51ff1e){this['subscribers']+=0x1,this['connect']();const _0x50005a='task-status-'+_0x393b17,_0x4ccafc={'event':'pusher:subscribe','data':{'channel':_0x50005a}};this['emmitter']['on'](_0x50005a,_0x51ff1e),this['isConnected']?this['send'](_0x4ccafc['event'],_0x4ccafc['data']):this['queue']['push'](_0x4ccafc);}['unsubscribe'](_0x3985c){this['subscribers']-=0x1;const _0x3e0d29='task-status-'+_0x3985c,_0x9595ef={'event':'pusher:unsubscribe','data':{'channel':_0x3e0d29}};this['emmitter']['off'](_0x3e0d29),this['isConnected']?this['send'](_0x9595ef['event'],_0x9595ef['data']):this['queue']=this['queue']['filter'](_0x2b3497=>_0x2b3497['data']['channel']!==_0x3e0d29),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x2d7d6f){return this['emmitter']['on']('error',_0x2d7d6f),()=>this['emmitter']['off']('error',_0x2d7d6f);}},_0x4fc88=null;const getPusher$1=_0x24f52c=>{if(!_0x4fc88){const _0x45d373='undefined'==typeof window?0x0:0x7530;_0x4fc88=new _0x5b6f49(_0x24f52c,_0x45d373);}return _0x4fc88;},preconnect$1=_0x558b05=>{getPusher$1(_0x558b05)['connect']();};function pollStrategy$1({token:_0x40b7d8,publicKey:_0x4111e9,baseURL:_0x121199,integration:_0x1559ed,userAgent:_0x5d8334,retryThrottledRequestMaxTimes:_0x31a746,retryNetworkErrorMaxTimes:_0x51577d,onProgress:_0x1ca40f,signal:_0x226924}){return _0xc5a58b({'check':_0x1f05f9=>fromUrlStatus$1(_0x40b7d8,{'publicKey':_0x4111e9,'baseURL':_0x121199,'integration':_0x1559ed,'userAgent':_0x5d8334,'retryThrottledRequestMaxTimes':_0x31a746,'retryNetworkErrorMaxTimes':_0x51577d,'signal':_0x1f05f9})['then'](_0x5d4f6f=>{switch(_0x5d4f6f['status']){case Status$1['Error']:return new _0x254fdf(_0x5d4f6f['error'],_0x5d4f6f['errorCode']);case Status$1['Waiting']:return!0x1;case Status$1['Unknown']:return new _0x254fdf('Token\x20\x22'+_0x40b7d8+'\x22\x20was\x20not\x20found.');case Status$1['Progress']:return _0x1ca40f&&('unknown'===_0x5d4f6f['total']?_0x1ca40f({'isComputable':!0x1}):_0x1ca40f({'isComputable':!0x0,'value':_0x5d4f6f['done']/_0x5d4f6f['total']})),!0x1;case Status$1['Success']:return _0x1ca40f&&_0x1ca40f({'isComputable':!0x0,'value':_0x5d4f6f['done']/_0x5d4f6f['total']}),_0x5d4f6f;default:throw new Error('Unknown\x20status');}}),'signal':_0x226924});}const pushStrategy$1=({token:_0x555a0f,pusherKey:_0x253b53,signal:_0x1c5044,onProgress:_0x224335})=>new Promise((_0x5643a8,_0xccb2af)=>{const _0x3bae35=getPusher$1(_0x253b53),_0x4399bd=_0x3bae35['onError'](_0xccb2af),_0x37e401=()=>{_0x4399bd(),_0x3bae35['unsubscribe'](_0x555a0f);};_0x1e9b43(_0x1c5044,()=>{_0x37e401(),_0xccb2af(new _0xb00d07('pusher\x20cancelled'));}),_0x3bae35['subscribe'](_0x555a0f,_0x2fff47=>{switch(_0x2fff47['status']){case Status$1['Progress']:_0x224335&&('unknown'===_0x2fff47['total']?_0x224335({'isComputable':!0x1}):_0x224335({'isComputable':!0x0,'value':_0x2fff47['done']/_0x2fff47['total']}));break;case Status$1['Success']:_0x37e401(),_0x224335&&_0x224335({'isComputable':!0x0,'value':_0x2fff47['done']/_0x2fff47['total']}),_0x5643a8(_0x2fff47);break;case Status$1['Error']:_0x37e401(),_0xccb2af(new _0x254fdf(_0x2fff47['msg'],_0x2fff47['error_code']));}});}),_0x225784=(_0x180b9d,{publicKey:_0xcc93e1,fileName:_0x30d086,baseURL:_0x39e1c7,baseCDN:_0x23aa51,checkForUrlDuplicates:_0x51fbd8,saveUrlForRecurrentUploads:_0x380b84,secureSignature:_0x177159,secureExpire:_0x19b2cf,store:_0x3f055a,signal:_0x11d473,onProgress:_0x1b7939,source:_0x466317,integration:_0x5916bf,userAgent:_0xf5e6b2,retryThrottledRequestMaxTimes:_0x36c826,pusherKey:_0x3ccf63=defaultSettings$1['pusherKey'],metadata:_0x3916a0})=>Promise['resolve'](preconnect$1(_0x3ccf63))['then'](()=>_0x501d41(_0x180b9d,{'publicKey':_0xcc93e1,'fileName':_0x30d086,'baseURL':_0x39e1c7,'checkForUrlDuplicates':_0x51fbd8,'saveUrlForRecurrentUploads':_0x380b84,'secureSignature':_0x177159,'secureExpire':_0x19b2cf,'store':_0x3f055a,'signal':_0x11d473,'source':_0x466317,'integration':_0x5916bf,'userAgent':_0xf5e6b2,'retryThrottledRequestMaxTimes':_0x36c826,'metadata':_0x3916a0}))['catch'](_0x55fd9b=>{const _0x1df989=getPusher$1(_0x3ccf63);return _0x1df989?.['disconnect'](),Promise['reject'](_0x55fd9b);})['then'](_0x3fc6fe=>_0x3fc6fe['type']===_0x485d84['FileInfo']?_0x3fc6fe:_0x46d52b([({signal:_0x41f309})=>pollStrategy$1({'token':_0x3fc6fe['token'],'publicKey':_0xcc93e1,'baseURL':_0x39e1c7,'integration':_0x5916bf,'userAgent':_0xf5e6b2,'retryThrottledRequestMaxTimes':_0x36c826,'onProgress':_0x1b7939,'signal':_0x41f309}),({signal:_0x4f6364})=>pushStrategy$1({'token':_0x3fc6fe['token'],'pusherKey':_0x3ccf63,'signal':_0x4f6364,'onProgress':_0x1b7939})],{'signal':_0x11d473}))['then'](_0x412570=>{if(_0x412570 instanceof _0x254fdf)throw _0x412570;return _0x412570;})['then'](_0x57de72=>_0x161c65(_0x57de72['uuid'],{'publicKey':_0xcc93e1,'baseURL':_0x39e1c7,'integration':_0x5916bf,'userAgent':_0xf5e6b2,'retryThrottledRequestMaxTimes':_0x36c826,'onProgress':_0x1b7939,'signal':_0x11d473}))['then'](_0x57b507=>new _0x310c7b(_0x57b507,{'baseCDN':_0x23aa51})),_0xbf1962=new WeakMap(),getBlobFromReactNativeAsset$1=async _0x19a888=>{if(_0xbf1962['has'](_0x19a888))return _0xbf1962['get'](_0x19a888);const _0x140034=await fetch(_0x19a888['uri'])['then'](_0x5e376b=>_0x5e376b['blob']());return _0xbf1962['set'](_0x19a888,_0x140034),_0x140034;},getFileSize$1=async _0x457566=>{if(_0xd12a(_0x457566)||_0x422279(_0x457566))return _0x457566['size'];if(isReactNativeAsset$1(_0x457566))return(await getBlobFromReactNativeAsset$1(_0x457566))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},isMultipart$1=(_0x35c749,_0x4ce27c=defaultSettings$1['multipartMinFileSize'])=>_0x35c749>=_0x4ce27c,_0x40a1f9=_0x27e0c1=>{const _0x281221=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(_0x27e0c1)&&_0x281221['test'](_0x27e0c1);},_0x39fe1c=_0x5a1150=>{const _0x4eff7e=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!isFileData$1(_0x5a1150)&&_0x4eff7e['test'](_0x5a1150);},runWithConcurrency$1=(_0x4ee535,_0x4ec48b)=>new Promise((_0x292af7,_0x2fa1da)=>{const _0x7f80ef=[];let _0x3a7466=!0x1,_0x7162db=_0x4ec48b['length'];const _0xde5da8=[..._0x4ec48b],_0x5e086e=()=>{const _0x1db9a9=_0x4ec48b['length']-_0xde5da8['length'],_0x2cd5c1=_0xde5da8['shift']();_0x2cd5c1&&_0x2cd5c1()['then'](_0x46a168=>{_0x3a7466||(_0x7f80ef[_0x1db9a9]=_0x46a168,_0x7162db-=0x1,_0x7162db?_0x5e086e():_0x292af7(_0x7f80ef));})['catch'](_0x18370f=>{_0x3a7466=!0x0,_0x2fa1da(_0x18370f);});};for(let _0x8e674d=0x0;_0x8e674d<_0x4ee535;_0x8e674d++)_0x5e086e();}),_0x6f2684=(_0x53ea3d,_0x19a9bf,_0x58940d,_0x236375)=>{const _0x534880=_0x236375*_0x19a9bf,_0x378676=Math['min'](_0x534880+_0x236375,_0x58940d);return _0x53ea3d['slice'](_0x534880,_0x378676);},_0x49d474=async(_0x48735a,_0x97c18a,_0x25d51d)=>_0x2f8f7d=>_0x6f2684(_0x48735a,_0x2f8f7d,_0x97c18a,_0x25d51d),uploadPart$1=(_0xd56a75,_0x5d4385,{publicKey:_0x81836d,contentType:_0x175e89,onProgress:_0x33fc81,signal:_0xfd092d,integration:_0x333681,retryThrottledRequestMaxTimes:_0x4dc60a,retryNetworkErrorMaxTimes:_0x527762})=>multipartUpload$1(_0xd56a75,_0x5d4385,{'contentType':_0x175e89,'onProgress':_0x33fc81,'signal':_0xfd092d,'retryThrottledRequestMaxTimes':_0x4dc60a,'retryNetworkErrorMaxTimes':_0x527762}),uploadMultipart$1=async(_0x28ff8b,{publicKey:_0x46d391,fileName:_0x1074cd,fileSize:_0x3210d5,baseURL:_0x28db2e,secureSignature:_0xc32bea,secureExpire:_0x551fa0,store:_0x41ef47,signal:_0x5301fd,onProgress:_0x3fea48,source:_0x1dcfdf,integration:_0x562808,userAgent:_0x596027,retryThrottledRequestMaxTimes:_0x290e67,retryNetworkErrorMaxTimes:_0x1c8fff,contentType:_0x551cfb,multipartChunkSize:_0x19f103=defaultSettings$1['multipartChunkSize'],maxConcurrentRequests:_0x4a2bbd=defaultSettings$1['maxConcurrentRequests'],baseCDN:_0x9aba4a,metadata:_0x4fdba2})=>{const _0x499787=_0x3210d5??await getFileSize$1(_0x28ff8b);let _0x481427;const _0x121ab4=(_0x5d857a,_0x1cb50a)=>{if(!_0x3fea48)return;_0x481427||(_0x481427=Array(_0x5d857a)['fill'](0x0));const _0x50b211=_0x23c2ae=>_0x23c2ae['reduce']((_0x59543e,_0x2e4d30)=>_0x59543e+_0x2e4d30,0x0);return _0x5ad3b6=>{_0x5ad3b6['isComputable']&&(_0x481427[_0x1cb50a]=_0x5ad3b6['value'],_0x3fea48({'isComputable':!0x0,'value':_0x50b211(_0x481427)/_0x5d857a}));};};return _0x551cfb||=getContentType$1(_0x28ff8b),multipartStart$1(_0x499787,{'publicKey':_0x46d391,'contentType':_0x551cfb,'fileName':_0x1074cd||getFileName$1(_0x28ff8b),'baseURL':_0x28db2e,'secureSignature':_0xc32bea,'secureExpire':_0x551fa0,'store':_0x41ef47,'signal':_0x5301fd,'source':_0x1dcfdf,'integration':_0x562808,'userAgent':_0x596027,'retryThrottledRequestMaxTimes':_0x290e67,'retryNetworkErrorMaxTimes':_0x1c8fff,'metadata':_0x4fdba2,'multipartChunkSize':_0x19f103})['then'](async({uuid:_0x55c69c,parts:_0x18cf4a})=>{const _0xdd3256=await _0x49d474(_0x28ff8b,_0x499787,_0x19f103);return Promise['all']([_0x55c69c,runWithConcurrency$1(_0x4a2bbd,_0x18cf4a['map']((_0x1beffb,_0x3e9dc7)=>()=>uploadPart$1(_0xdd3256(_0x3e9dc7),_0x1beffb,{'publicKey':_0x46d391,'contentType':_0x551cfb,'onProgress':_0x121ab4(_0x18cf4a['length'],_0x3e9dc7),'signal':_0x5301fd,'integration':_0x562808,'retryThrottledRequestMaxTimes':_0x290e67,'retryNetworkErrorMaxTimes':_0x1c8fff})))]);})['then'](([_0x683c57])=>multipartComplete$1(_0x683c57,{'publicKey':_0x46d391,'baseURL':_0x28db2e,'source':_0x1dcfdf,'integration':_0x562808,'userAgent':_0x596027,'retryThrottledRequestMaxTimes':_0x290e67,'retryNetworkErrorMaxTimes':_0x1c8fff}))['then'](_0x5036e4=>_0x5036e4['isReady']?_0x5036e4:_0x161c65(_0x5036e4['uuid'],{'publicKey':_0x46d391,'baseURL':_0x28db2e,'source':_0x1dcfdf,'integration':_0x562808,'userAgent':_0x596027,'retryThrottledRequestMaxTimes':_0x290e67,'retryNetworkErrorMaxTimes':_0x1c8fff,'onProgress':_0x3fea48,'signal':_0x5301fd}))['then'](_0x281d10=>new _0x310c7b(_0x281d10,{'baseCDN':_0x9aba4a}));};async function _0xe48384(_0x39512d,{publicKey:_0x5d3b63,fileName:_0x3a6a87,baseURL:_0x443bef=defaultSettings$1['baseURL'],secureSignature:_0x5caee0,secureExpire:_0x56d873,store:_0x15d220,signal:_0x15b7e1,onProgress:_0x1f7c7a,source:_0x5aaa96,integration:_0x50584e,userAgent:_0x522071,retryThrottledRequestMaxTimes:_0x3dd676,retryNetworkErrorMaxTimes:_0x46dcee,contentType:_0x124bc1,multipartMinFileSize:_0x3ca466,multipartChunkSize:_0x202ed5,maxConcurrentRequests:_0x4a6c3e,baseCDN:_0x36362a=defaultSettings$1['baseCDN'],checkForUrlDuplicates:_0x58d97f,saveUrlForRecurrentUploads:_0x2a9951,pusherKey:_0xf45871,metadata:_0x252f5b}){if(isFileData$1(_0x39512d)){const _0x14ced3=await getFileSize$1(_0x39512d);return isMultipart$1(_0x14ced3,_0x3ca466)?uploadMultipart$1(_0x39512d,{'publicKey':_0x5d3b63,'contentType':_0x124bc1,'multipartChunkSize':_0x202ed5,'fileSize':_0x14ced3,'fileName':_0x3a6a87,'baseURL':_0x443bef,'secureSignature':_0x5caee0,'secureExpire':_0x56d873,'store':_0x15d220,'signal':_0x15b7e1,'onProgress':_0x1f7c7a,'source':_0x5aaa96,'integration':_0x50584e,'userAgent':_0x522071,'maxConcurrentRequests':_0x4a6c3e,'retryThrottledRequestMaxTimes':_0x3dd676,'retryNetworkErrorMaxTimes':_0x46dcee,'baseCDN':_0x36362a,'metadata':_0x252f5b}):uploadDirect$1(_0x39512d,{'publicKey':_0x5d3b63,'fileName':_0x3a6a87,'contentType':_0x124bc1,'baseURL':_0x443bef,'secureSignature':_0x5caee0,'secureExpire':_0x56d873,'store':_0x15d220,'signal':_0x15b7e1,'onProgress':_0x1f7c7a,'source':_0x5aaa96,'integration':_0x50584e,'userAgent':_0x522071,'retryThrottledRequestMaxTimes':_0x3dd676,'retryNetworkErrorMaxTimes':_0x46dcee,'baseCDN':_0x36362a,'metadata':_0x252f5b});}if(_0x39fe1c(_0x39512d))return _0x225784(_0x39512d,{'publicKey':_0x5d3b63,'fileName':_0x3a6a87,'baseURL':_0x443bef,'baseCDN':_0x36362a,'checkForUrlDuplicates':_0x58d97f,'saveUrlForRecurrentUploads':_0x2a9951,'secureSignature':_0x5caee0,'secureExpire':_0x56d873,'store':_0x15d220,'signal':_0x15b7e1,'onProgress':_0x1f7c7a,'source':_0x5aaa96,'integration':_0x50584e,'userAgent':_0x522071,'retryThrottledRequestMaxTimes':_0x3dd676,'pusherKey':_0xf45871,'metadata':_0x252f5b});if(_0x40a1f9(_0x39512d))return _0xecd0e2(_0x39512d,{'publicKey':_0x5d3b63,'fileName':_0x3a6a87,'baseURL':_0x443bef,'signal':_0x15b7e1,'onProgress':_0x1f7c7a,'source':_0x5aaa96,'integration':_0x50584e,'userAgent':_0x522071,'retryThrottledRequestMaxTimes':_0x3dd676,'retryNetworkErrorMaxTimes':_0x46dcee,'baseCDN':_0x36362a});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x39512d+'\x22\x20is\x20not\x20supported');}class UploadUtils{static['upload']({file:_0x9ee851,..._0x12f2e4}){return _0xe48384(_0x9ee851,_0x12f2e4);}static['getInfo'](_0x2e05a6,_0x961374){return _0x12020b(_0x2e05a6,_0x961374);}}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 _0x5bafa1=this['editor'];if(!!!_0x5bafa1['config']['get']('uploadcare'))return;_0x5bafa1['plugins']['get'](ckeditor5['FileRepository'])['createUploadAdapter']=_0x42d6f9=>new Adapter(_0x42d6f9,_0x5bafa1),_0x5bafa1['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x48c082,{imageElement:_0x61ea85,data:_0xe797a3})=>{_0x5bafa1['model']['change'](_0x1f6630=>{_0x1f6630['setAttribute']('uploadcareImageId',_0xe797a3['uploadcareImageId'],_0x61ea85);});});}}class Adapter{['loader'];['editor'];['controller'];constructor(_0x1f3847,_0x25cce7){this['loader']=_0x1f3847,this['editor']=_0x25cce7,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1a01c7=await this['loader']['file'];return UploadUtils['upload']({'file':_0x1a01c7,'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':_0x3812d9=>{_0x3812d9&&_0x3812d9['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3812d9['value']);}})['then'](async _0x118a0b=>{const {imageFallbackUrl:_0xa63e0,imageSources:_0x2c7ba1}=getImageUrls(_0x118a0b['cdnUrl'],_0x118a0b['imageInfo']['width']);return{'uploadcareImageId':_0x118a0b['uuid'],'default':_0xa63e0,'sources':_0x2c7ba1};})['catch'](()=>{const _0x22e3cb=t('Cannot\x20upload\x20file:')+('\x20'+_0x1a01c7['name']+'.');return Promise['reject'](_0x22e3cb);});}['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(_0x2f6827){super(_0x2f6827),this['ucContextId']=ckeditor5['uid']();}['init'](){const _0xf07019=this['editor'];_0xf07019['commands']['add']('uploadcare',new _0x50b504(_0xf07019));}['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 _0x3adb54=ckeditor5['global']['document']['querySelector']('input[uploadcare-file-input]');_0x3adb54&&_0x3adb54['remove']();}),_0x4c805e(this);}['_initSchema'](){const _0x157110=this['editor']['model']['schema'];_0x157110['isRegistered']('imageBlock')&&_0x157110['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x157110['isRegistered']('imageInline')&&_0x157110['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x40b219=this['editor'];_0x40b219['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x40b219['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x283c7a=>_0x283c7a['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x14fba0=_0x40b219['commands']['get']('replaceImageSource');_0x14fba0&&this['listenTo'](_0x14fba0,'cleanupImage',(_0x1f584e,[_0x29844a,_0x3d0913])=>{_0x29844a['removeAttribute']('uploadcareImageId',_0x3d0913);});}['_initConfig'](){const _0x388b7b=this['editor']['config']['get']('uploadcare.uploader')||{},_0x5aad19=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=ckeditor5['createElement'](ckeditor5['global']['document'],'uc-config',{..._0x388b7b,'pubkey':_0x5aad19,'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']=_0x512364=>{if('closeMax'==_0x512364)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 _0x122d44=this['editor']['commands']['get']('insertImage');_0x122d44&&this['listenTo'](_0x122d44,'execute',()=>{const _0x544d02=this['editor']['model']['document']['selection']['getSelectedElement']();_0x544d02&&_0x544d02['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{showImageProcessingIndicator(this['editor'],_0x544d02);});});const _0x553748=this['editor']['commands']['get']('uploadcareImageReplace');_0x553748&&this['listenTo'](_0x553748,'execute',()=>{const _0x39caa9=this['editor']['model']['document']['selection']['getSelectedElement']();_0x39caa9&&_0x39caa9['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{showImageProcessingIndicator(this['editor'],_0x39caa9);});});}}async function _0x4c805e(_0x423be7){const _0x26ec41=_0xbed77a([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]),_0x13af1e=window[_0xbed77a([0x44,0x61,0x74,0x65])][_0xbed77a([0x6e,0x6f,0x77])](),_0x314769=_0x423be7[_0xbed77a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4eccdd=new window[(_0xbed77a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x845ce2=>{_0x314769[_0xbed77a([0x6f,0x6e,0x63,0x65])](_0xbed77a([0x72,0x65,0x61,0x64,0x79]),_0x845ce2);}),_0x305eec={[_0xbed77a([0x6b,0x74,0x79])]:_0xbed77a([0x45,0x43]),[_0xbed77a([0x75,0x73,0x65])]:_0xbed77a([0x73,0x69,0x67]),[_0xbed77a([0x63,0x72,0x76])]:_0xbed77a([0x50,0x2d,0x32,0x35,0x36]),[_0xbed77a([0x78])]:_0xbed77a([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]),[_0xbed77a([0x79])]:_0xbed77a([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]),[_0xbed77a([0x61,0x6c,0x67])]:_0xbed77a([0x45,0x53,0x32,0x35,0x36])},_0x2513e0=_0x314769[_0xbed77a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xbed77a([0x67,0x65,0x74])](_0xbed77a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x578efb=await(async function(){let _0x4b40d9,_0x5c0d51=null,_0x3d3fac=null;try{if(_0x2513e0==_0xbed77a([0x47,0x50,0x4c]))return _0xbed77a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4b40d9=(function(){const _0x9b54d=_0x2513e0[_0xbed77a([0x73,0x70,0x6c,0x69,0x74])](_0xbed77a([0x2e]));if(0x3!=_0x9b54d[_0xbed77a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x53fc38=_0x9b54d[0x1];return _0x50b5a8(_0x53fc38);function _0x50b5a8(_0x2648f3){const _0x3e10f4=_0x3c035c(_0x2648f3);return _0x3e10f4&&_0x2f7aa1()?_0x3e10f4:null;function _0x2f7aa1(){const _0x5c6269=_0x3e10f4[_0xbed77a([0x6a,0x74,0x69])],_0x50cc8c=window[_0xbed77a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c6269[_0xbed77a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5c6269[_0xbed77a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x29cee5={..._0x3e10f4,[_0xbed77a([0x6a,0x74,0x69])]:_0x5c6269[_0xbed77a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5c6269[_0xbed77a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x29cee5[_0xbed77a([0x76,0x63])],_0x13b3e6(_0x29cee5)==_0x50cc8c;}}}()),!_0x4b40d9)return _0xbed77a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x4b40d9[_0xbed77a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3d3fac=function(_0x150b35,_0x3aa9b0){return new window[(_0xbed77a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x275584=>{if(_0xe6335b())return _0x275584(_0xbed77a([0x56,0x61,0x6c,0x69,0x64]));_0x12077b(),_0x314769[_0xbed77a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xbed77a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x298b0d=!0x1;const _0x39dc2f=ckeditor5['uid']();function _0x148828(_0x1140c0){return!!_0x1140c0&&(typeof _0x1140c0===_0xbed77a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1140c0===_0xbed77a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1140c0[_0xbed77a([0x74,0x68,0x65,0x6e])]===_0xbed77a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1140c0[_0xbed77a([0x63,0x61,0x74,0x63,0x68])]===_0xbed77a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3d59b5(_0x3eceae){_0x471ee3(_0x3eceae)[_0xbed77a([0x74,0x68,0x65,0x6e])](_0x47535b=>{if(!_0x47535b||_0x47535b[_0xbed77a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xbed77a([0x6f,0x6b]))return _0xbed77a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x30020a(_0x13b3e6(_0x39dc2f+_0x3aa9b0))!=_0x47535b[_0xbed77a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xbed77a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xbed77a([0x56,0x61,0x6c,0x69,0x64]);})[_0xbed77a([0x74,0x68,0x65,0x6e])](_0x34058d=>(_0x1e9cfb(),_0x34058d),()=>{const _0x1b24fd=_0x40d73b();return null==_0x1b24fd?(_0x1e9cfb(),_0xbed77a([0x56,0x61,0x6c,0x69,0x64])):_0xbed77a(_0x13af1e-_0x1b24fd>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xbed77a([0x74,0x68,0x65,0x6e])](_0x275584)[_0xbed77a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x275584(_0xbed77a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3bec56=0x36ee80;function _0x1e9cfb(){const _0x4bacb5=_0xbed77a([0x6c,0x6c,0x63,0x74,0x2d])+_0x30020a(_0x13b3e6(_0x150b35)),_0x3868cf=_0x38e616(_0x30020a(window[_0xbed77a([0x4d,0x61,0x74,0x68])][_0xbed77a([0x63,0x65,0x69,0x6c])](_0x13af1e/_0x3bec56)));window[_0xbed77a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xbed77a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4bacb5,_0x3868cf);}function _0x40d73b(){const _0x3e4ae4=_0xbed77a([0x6c,0x6c,0x63,0x74,0x2d])+_0x30020a(_0x13b3e6(_0x150b35)),_0x20aa25=window[_0xbed77a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xbed77a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3e4ae4);return _0x20aa25?window[_0xbed77a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38e616(_0x20aa25),0x10)*_0x3bec56:null;}function _0x471ee3(_0x818601){return new window[(_0xbed77a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x493f0b,_0x23c67e)=>{_0x818601[_0xbed77a([0x74,0x68,0x65,0x6e])](_0x493f0b,_0x23c67e),window[_0xbed77a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x23c67e,0x1d4c0);});}}_0x314769[_0xbed77a([0x6f,0x6e])](_0xbed77a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x331673,_0x351ab0)=>{if(_0x351ab0[0x0]!=_0x150b35)return _0x275584(_0xbed77a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x351ab0[0x1]={..._0x351ab0[0x1],[_0xbed77a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x39dc2f};},{[_0xbed77a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xbed77a([0x68,0x69,0x67,0x68])}),_0x314769[_0xbed77a([0x6f,0x6e])](_0xbed77a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x316956=>{_0x148828(_0x316956[_0xbed77a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x298b0d=!0x0,_0x3d59b5(_0x316956[_0xbed77a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xbed77a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xbed77a([0x6c,0x6f,0x77])}),_0x4eccdd[_0xbed77a([0x74,0x68,0x65,0x6e])](()=>{_0x298b0d||_0x275584(_0xbed77a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xe6335b(){return _0x314769[_0xbed77a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xbed77a([0x76,0x69,0x65,0x77])][_0xbed77a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xbed77a([0x61,0x75,0x74,0x6f]);}function _0x12077b(){_0x314769[_0xbed77a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xbed77a([0x76,0x69,0x65,0x77])][_0xbed77a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xbed77a([0x61,0x75,0x74,0x6f]);}}(_0x4b40d9[_0xbed77a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4b40d9[_0xbed77a([0x6a,0x74,0x69])]));const _0x5d73ba=await(async function(){let _0x49a564=!0x0;try{const _0xa4bd6=_0x2513e0[_0xbed77a([0x73,0x70,0x6c,0x69,0x74])](_0xbed77a([0x2e])),[_0x435a40,_0x2bc81a,_0x5d5ca4]=_0xa4bd6;return _0x11442e(_0x435a40),await _0x2b7af0(_0x435a40,_0x2bc81a,_0x5d5ca4),_0x49a564;}catch{return!0x1;}function _0x11442e(_0x20fc11){const _0x1a5bc3=_0x3c035c(_0x20fc11);_0x1a5bc3&&_0x1a5bc3[_0xbed77a([0x61,0x6c,0x67])]==_0xbed77a([0x45,0x53,0x32,0x35,0x36])||(_0x49a564=!0x1);}async function _0x2b7af0(_0x13445e,_0x37a5f3,_0xb40a35){const _0x4411a8=window[_0xbed77a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xbed77a([0x66,0x72,0x6f,0x6d])](_0x4df3c9(_0xb40a35),_0xbf0887=>_0xbf0887[_0xbed77a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5e3c5f=new window[(_0xbed77a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xbed77a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x13445e+_0xbed77a([0x2e])+_0x37a5f3),_0x15914f=window[_0xbed77a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xbed77a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x15914f)return;const _0x16e4e3=await _0x15914f[_0xbed77a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xbed77a([0x6a,0x77,0x6b]),_0x305eec,{[_0xbed77a([0x6e,0x61,0x6d,0x65])]:_0xbed77a([0x45,0x43,0x44,0x53,0x41]),[_0xbed77a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xbed77a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xbed77a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x15914f[_0xbed77a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xbed77a([0x6e,0x61,0x6d,0x65])]:_0xbed77a([0x45,0x43,0x44,0x53,0x41]),[_0xbed77a([0x68,0x61,0x73,0x68])]:{[_0xbed77a([0x6e,0x61,0x6d,0x65])]:_0xbed77a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x16e4e3,_0x4411a8,_0x5e3c5f)||(_0x49a564=!0x1);}}());return _0x5d73ba?(function(){const _0x11df95=_0x4b40d9[_0xbed77a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x11df95)return!0x1;if(_0x11df95[_0xbed77a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbed77a([0x2a])))return!0x0;if(_0x11df95[_0xbed77a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbed77a([0x55,0x50,0x4c,0x43])))return!0x0;return!0x1;}())?(function(){const _0x4c8d8a=[_0xbed77a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xbed77a([0x74,0x72,0x69,0x61,0x6c])][_0xbed77a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b40d9[_0xbed77a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x13af1e/0x3e8:0x69d59a80;return _0x4b40d9[_0xbed77a([0x65,0x78,0x70])]<_0x4c8d8a;}())?_0xbed77a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x399b9b=_0x4b40d9[_0xbed77a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x399b9b||0x0==_0x399b9b[_0xbed77a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2a7c09}=new URL(window[_0xbed77a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x399b9b[_0xbed77a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a7c09))return!0x0;const _0xf20814=_0x2a7c09[_0xbed77a([0x73,0x70,0x6c,0x69,0x74])](_0xbed77a([0x2e]));return _0x399b9b[_0xbed77a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x435161=>_0x435161[_0xbed77a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbed77a([0x2a])))[_0xbed77a([0x6d,0x61,0x70])](_0x9a90de=>_0x9a90de[_0xbed77a([0x73,0x70,0x6c,0x69,0x74])](_0xbed77a([0x2e])))[_0xbed77a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa80a5f=>_0xa80a5f[_0xbed77a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xf20814[_0xbed77a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xbed77a([0x6d,0x61,0x70])](_0x466c41=>Array(_0xf20814[_0xbed77a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x466c41[_0xbed77a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xbed77a([0x66,0x69,0x6c,0x6c])](_0x466c41[0x0]===_0xbed77a([0x2a])?_0xbed77a([0x2a]):'')[_0xbed77a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x466c41))[_0xbed77a([0x73,0x6f,0x6d,0x65])](_0x330436=>_0xf20814[_0xbed77a([0x65,0x76,0x65,0x72,0x79])]((_0x55fcb3,_0x12033a)=>_0x330436[_0x12033a]===_0x55fcb3||_0x330436[_0x12033a]===_0xbed77a([0x2a])));}())?(_0x4b40d9[_0xbed77a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xbed77a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5c0d51=function(_0x2c2686){const _0x1dd8f6=new window[(_0xbed77a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53ecf0=>setTimeout(_0x53ecf0,0x93ecc)),_0x5e14eb=_0x4eccdd[_0xbed77a([0x74,0x68,0x65,0x6e])](()=>new window[(_0xbed77a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a19f2=>{let _0x21e876=0x0;_0x314769[_0xbed77a([0x6d,0x6f,0x64,0x65,0x6c])][_0xbed77a([0x6f,0x6e])](_0xbed77a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2bc21d,_0x365edc)=>{_0x365edc[0x0][_0xbed77a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x21e876++,0x5e8==_0x21e876&&(_0x4a19f2(),_0x2bc21d[_0xbed77a([0x6f,0x66,0x66])]());});})),_0x5521be=[_0x1dd8f6,_0x5e14eb];return window[_0xbed77a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xbed77a([0x72,0x61,0x63,0x65])](_0x5521be)[_0xbed77a([0x74,0x68,0x65,0x6e])](()=>_0x2c2686);}(_0xbed77a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x5c0d51&&_0x3d3fac)return new window[(_0xbed77a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x348e1b,_0x2facf1)=>{_0x5c0d51[_0xbed77a([0x74,0x68,0x65,0x6e])](_0x348e1b,_0x2facf1),_0x3d3fac[_0xbed77a([0x74,0x68,0x65,0x6e])](_0x17c08d=>{_0x17c08d!=_0xbed77a([0x56,0x61,0x6c,0x69,0x64])&&_0x348e1b(_0x17c08d);},_0x2facf1);});return _0x5c0d51||_0x3d3fac||_0xbed77a([0x56,0x61,0x6c,0x69,0x64]);}())):_0xbed77a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xbed77a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xbed77a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xbed77a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x3c035c(_0x206b78){return _0x206b78[_0xbed77a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xbed77a([0x65,0x79]))?JSON[_0xbed77a([0x70,0x61,0x72,0x73,0x65])](_0x4df3c9(_0x206b78)):null;}function _0x4df3c9(_0x49e9e3){return window[_0xbed77a([0x61,0x74,0x6f,0x62])](_0x49e9e3[_0xbed77a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xbed77a([0x2b]))[_0xbed77a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xbed77a([0x2f])));}function _0x13b3e6(_0x281586){let _0x1f1909=0x1505;function _0x7187b3(_0xeca78a){for(let _0x242c78=0x0;_0x242c78<_0xeca78a[_0xbed77a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x242c78++){const _0x2c2041=_0xeca78a[_0xbed77a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x242c78);_0x1f1909=(_0x1f1909<<0x5)+_0x1f1909+_0x2c2041,_0x1f1909&=_0x1f1909;}}return function _0x40455a(_0x36e2ac){Array[_0xbed77a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x36e2ac)?_0x36e2ac[_0xbed77a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x40455a):_0x36e2ac&&typeof _0x36e2ac==_0xbed77a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xbed77a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x36e2ac)[_0xbed77a([0x73,0x6f,0x72,0x74])]()[_0xbed77a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4c8ed6,_0x464a87])=>{_0x7187b3(_0x4c8ed6),_0x40455a(_0x464a87);}):_0x7187b3(window[_0xbed77a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x36e2ac));}(_0x281586),_0x1f1909>>>0x0;}function _0x30020a(_0x22b991){return _0x22b991[_0xbed77a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xbed77a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xbed77a([0x30]));}function _0x38e616(_0x44b3fb){return _0x44b3fb[_0xbed77a([0x73,0x70,0x6c,0x69,0x74])]('')[_0xbed77a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xbed77a([0x6a,0x6f,0x69,0x6e])]('');}function _0xfbf394(){}function _0xbed77a(_0x2af795){return _0x2af795['map'](_0x1cb68a=>String['fromCharCode'](_0x1cb68a))['join']('');}!function(_0x4a5ff4){const _0x4ef1e8=(function(){const _0x5a859c=window[_0xbed77a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xbed77a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xbed77a([0x6e,0x6f,0x77])]())[_0xbed77a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xbed77a([0x2e]),'');let _0x513257=_0xbed77a([0x68]);for(let _0x2abf6a=0x0;_0x2abf6a<_0x5a859c[_0xbed77a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2abf6a+=0x2){let _0x1b3b7e=window[_0xbed77a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a859c[_0xbed77a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2abf6a,_0x2abf6a+0x2));_0x1b3b7e>=_0x26ec41[_0xbed77a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1b3b7e-=_0x26ec41[_0xbed77a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x513257+=_0x26ec41[_0x1b3b7e];}return _0x513257;}());_0x314769[_0x4ef1e8]=_0xbed77a([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4a5ff4,_0x4a5ff4!=_0xbed77a([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x4eccdd,_0x314769[_0xbed77a([0x6d,0x6f,0x64,0x65,0x6c])][_0xbed77a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xfbf394,_0x314769[_0xbed77a([0x6d,0x6f,0x64,0x65,0x6c])][_0xbed77a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xfbf394,_0x314769[_0xbed77a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xbed77a([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x578efb);}var _0x7a18bd=Object['defineProperty'],_0x253783=(_0x682fdb,_0x5317ab,_0x17493f)=>_0x5317ab in _0x682fdb?_0x7a18bd(_0x682fdb,_0x5317ab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x17493f}):_0x682fdb[_0x5317ab]=_0x17493f,_0x52ccc6=(_0x556888,_0x109c66,_0x93c38d)=>(_0x253783(_0x556888,'symbol'!=typeof _0x109c66?_0x109c66+'':_0x109c66,_0x93c38d),_0x93c38d);function _0x94251c(_0x584217){let _0x545936=_0x1c75ec=>{var _0x43a71d;for(let _0x1ed8a7 in _0x1c75ec)(null==(_0x43a71d=_0x1c75ec[_0x1ed8a7])?void 0x0:_0x43a71d['constructor'])===Object&&(_0x1c75ec[_0x1ed8a7]=_0x545936(_0x1c75ec[_0x1ed8a7]));return{..._0x1c75ec};};return _0x545936(_0x584217);}var Data=class{constructor(_0x440bce){_0x440bce['constructor']===Object?this['store']=_0x94251c(_0x440bce):(this['_storeIsProxy']=!0x0,this['store']=_0x440bce),this['callbackMap']=Object['create'](null);}static['warn'](_0x41a779,_0x2f3635){console['warn']('Symbiote\x20Data:\x20cannot\x20'+_0x41a779+'.\x20Prop\x20name:\x20'+_0x2f3635);}['read'](_0x1b0a44){return this['_storeIsProxy']||this['store']['hasOwnProperty'](_0x1b0a44)?this['store'][_0x1b0a44]:(Data['warn']('read',_0x1b0a44),null);}['has'](_0x52dfbd){return this['_storeIsProxy']?void 0x0!==this['store'][_0x52dfbd]:this['store']['hasOwnProperty'](_0x52dfbd);}['add'](_0x272cab,_0x4b5ddd,_0x4c72ad=!0x1){!_0x4c72ad&&Object['keys'](this['store'])['includes'](_0x272cab)||(this['store'][_0x272cab]=_0x4b5ddd,this['notify'](_0x272cab));}['pub'](_0x16d52b,_0x61fedb){this['_storeIsProxy']||this['store']['hasOwnProperty'](_0x16d52b)?(this['store'][_0x16d52b]=_0x61fedb,this['notify'](_0x16d52b)):Data['warn']('publish',_0x16d52b);}['multiPub'](_0xaeadb4){for(let _0x1f7b29 in _0xaeadb4)this['pub'](_0x1f7b29,_0xaeadb4[_0x1f7b29]);}['notify'](_0x3d03ce){this['callbackMap'][_0x3d03ce]&&this['callbackMap'][_0x3d03ce]['forEach'](_0xc291bd=>{_0xc291bd(this['store'][_0x3d03ce]);});}['sub'](_0x37a25d,_0x4ec1f6,_0x241827=!0x0){return this['_storeIsProxy']||this['store']['hasOwnProperty'](_0x37a25d)?(this['callbackMap'][_0x37a25d]||(this['callbackMap'][_0x37a25d]=new Set()),this['callbackMap'][_0x37a25d]['add'](_0x4ec1f6),_0x241827&&_0x4ec1f6(this['store'][_0x37a25d]),{'remove':()=>{this['callbackMap'][_0x37a25d]['delete'](_0x4ec1f6),this['callbackMap'][_0x37a25d]['size']||delete this['callbackMap'][_0x37a25d];},'callback':_0x4ec1f6}):(Data['warn']('subscribe',_0x37a25d),null);}static['registerCtx'](_0x43772a,_0x4d1c4b=Symbol()){let _0xf145b7=Data['globalStore']['get'](_0x4d1c4b);return _0xf145b7?console['warn']('State:\x20context\x20UID\x20\x22'+_0x4d1c4b+'\x22\x20already\x20in\x20use'):(_0xf145b7=new Data(_0x43772a),Data['globalStore']['set'](_0x4d1c4b,_0xf145b7)),_0xf145b7;}static['deleteCtx'](_0x21720c){Data['globalStore']['delete'](_0x21720c);}static['getCtx'](_0x20fcb5,_0x63aa66=!0x0){return Data['globalStore']['get'](_0x20fcb5)||(_0x63aa66&&console['warn']('State:\x20wrong\x20context\x20UID\x20-\x20\x22'+_0x20fcb5+'\x22'),null);}};Data['globalStore']=new Map();var _0x5df720=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'}),_0x136ceb='1234567890QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnm',_0x2ecfa3=_0x136ceb['length']-0x1,_0x521ae6=class{static['generate'](_0x3e81b6='XXXXXXXXX-XXX'){let _0x46fd2c='';for(let _0x2e30fb=0x0;_0x2e30fb<_0x3e81b6['length'];_0x2e30fb++)_0x46fd2c+='-'===_0x3e81b6[_0x2e30fb]?_0x3e81b6[_0x2e30fb]:_0x136ceb['charAt'](Math['random']()*_0x2ecfa3);return _0x46fd2c;}};function setNestedProp(_0x26181b,_0x39d98f,_0x38b497){let _0x3bbb2d,_0x5c5be6=!0x0,_0x4ade68=_0x39d98f['split']('.');return _0x4ade68['forEach']((_0x560fb5,_0x458e05)=>{_0x458e05<_0x4ade68['length']-0x1?_0x26181b=_0x26181b[_0x560fb5]:_0x3bbb2d=_0x560fb5;}),_0x26181b?_0x26181b[_0x3bbb2d]=_0x38b497:_0x5c5be6=!0x1,_0x5c5be6;}function _0x201125(_0x489ead){return _0x489ead['split']('-')['map']((_0x3dab39,_0x1d6cfb)=>_0x3dab39&&_0x1d6cfb?_0x3dab39[0x0]['toUpperCase']()+_0x3dab39['slice'](0x1):_0x3dab39)['join']('')['split']('_')['map']((_0x324c1a,_0x4fe9bd)=>_0x324c1a&&_0x4fe9bd?_0x324c1a['toUpperCase']():_0x324c1a)['join']('');}function repeatProcessor(_0x1a2a87,_0x4f732c){[..._0x1a2a87['querySelectorAll']('['+_0x5df720['REPEAT_ATTR']+']')]['forEach'](_0x58680e=>{let _0x4691e1,_0x206e20=_0x58680e['getAttribute'](_0x5df720['REPEAT_ITEM_TAG_ATTR']);if(_0x206e20&&(_0x4691e1=window['customElements']['get'](_0x206e20)),!_0x4691e1){_0x4691e1=class extends _0x4f732c['BaseComponent']{constructor(){super(),_0x206e20||(this['style']['display']='contents');}};let _0x1ebfc9=_0x58680e['innerHTML'];_0x4691e1['template']=_0x1ebfc9,_0x4691e1['reg'](_0x206e20);}for(;_0x58680e['firstChild'];)_0x58680e['firstChild']['remove']();let _0x3228ff=_0x58680e['getAttribute'](_0x5df720['REPEAT_ATTR']);_0x4f732c['sub'](_0x3228ff,_0x3c5a11=>{if(!_0x3c5a11){for(;_0x58680e['firstChild'];)_0x58680e['firstChild']['remove']();return;}let _0x2d79ba,_0x183ade=[..._0x58680e['children']],_0xffe9ee=_0x937fad=>{_0x937fad['forEach']((_0x665980,_0x1d2361)=>{if(_0x183ade[_0x1d2361]){if(_0x183ade[_0x1d2361]['set$'])setTimeout(()=>{_0x183ade[_0x1d2361]['set$'](_0x665980);});else{for(let _0x179daa in _0x665980)_0x183ade[_0x1d2361][_0x179daa]=_0x665980[_0x179daa];}}else{_0x2d79ba||(_0x2d79ba=new DocumentFragment());let _0x51951e=new _0x4691e1();Object['assign'](_0x51951e['init$'],_0x665980),_0x2d79ba['appendChild'](_0x51951e);}}),_0x2d79ba&&_0x58680e['appendChild'](_0x2d79ba);let _0x13928e=_0x183ade['slice'](_0x937fad['length'],_0x183ade['length']);for(let _0x41222a of _0x13928e)_0x41222a['remove']();};if(_0x3c5a11['constructor']===Array)_0xffe9ee(_0x3c5a11);else{if(_0x3c5a11['constructor']===Object){let _0x3e8a02=[];for(let _0x1a8546 in _0x3c5a11){let _0x408bfc=_0x3c5a11[_0x1a8546];Object['defineProperty'](_0x408bfc,'_KEY_',{'value':_0x1a8546,'enumerable':!0x0}),_0x3e8a02['push'](_0x408bfc);}_0xffe9ee(_0x3e8a02);}else console['warn']('Symbiote\x20repeat\x20data\x20type\x20error:'),console['log'](_0x3c5a11);}}),_0x58680e['removeAttribute'](_0x5df720['REPEAT_ATTR']),_0x58680e['removeAttribute'](_0x5df720['REPEAT_ITEM_TAG_ATTR']);});}var _0x36dd25='__default__';function slotProcessor(_0x3f5b64,_0x456f47){if(_0x456f47['shadowRoot'])return;let _0x2d8554=[..._0x3f5b64['querySelectorAll']('slot')];if(!_0x2d8554['length'])return;let _0xd67bb={};_0x2d8554['forEach'](_0x448b83=>{let _0xa0cdb3=_0x448b83['getAttribute']('name')||_0x36dd25;_0xd67bb[_0xa0cdb3]={'slot':_0x448b83,'fr':document['createDocumentFragment']()};}),_0x456f47['initChildren']['forEach'](_0x3323e3=>{var _0x2fd045;let _0x392401=_0x36dd25;_0x3323e3 instanceof Element&&_0x3323e3['hasAttribute']('slot')&&(_0x392401=_0x3323e3['getAttribute']('slot'),_0x3323e3['removeAttribute']('slot')),null==(_0x2fd045=_0xd67bb[_0x392401])||_0x2fd045['fr']['appendChild'](_0x3323e3);}),Object['values'](_0xd67bb)['forEach'](_0x18b30f=>{if(_0x18b30f['fr']['childNodes']['length'])_0x18b30f['slot']['parentNode']['replaceChild'](_0x18b30f['fr'],_0x18b30f['slot']);else{if(_0x18b30f['slot']['childNodes']['length']){let _0x6f0ff3=document['createDocumentFragment']();_0x6f0ff3['append'](..._0x18b30f['slot']['childNodes']),_0x18b30f['slot']['parentNode']['replaceChild'](_0x6f0ff3,_0x18b30f['slot']);}else _0x18b30f['slot']['remove']();}});}function _0x22c52f(_0xe61f0,_0x5ccaa6){[..._0xe61f0['querySelectorAll']('['+_0x5df720['EL_REF_ATTR']+']')]['forEach'](_0xcc04ef=>{let _0x1fe130=_0xcc04ef['getAttribute'](_0x5df720['EL_REF_ATTR']);_0x5ccaa6['ref'][_0x1fe130]=_0xcc04ef,_0xcc04ef['removeAttribute'](_0x5df720['EL_REF_ATTR']);});}function domSetProcessor(_0x4eecd6,_0x208587){[..._0x4eecd6['querySelectorAll']('['+_0x5df720['BIND_ATTR']+']')]['forEach'](_0x5be640=>{let _0x2d0fc6=_0x5be640['getAttribute'](_0x5df720['BIND_ATTR'])['split'](';');[..._0x5be640['attributes']]['forEach'](_0x1f4e1a=>{if(_0x1f4e1a['name']['startsWith']('-')&&_0x1f4e1a['value']){let _0x2b7740=_0x201125(_0x1f4e1a['name']['replace']('-',''));_0x2d0fc6['push'](_0x2b7740+':'+_0x1f4e1a['value']),_0x5be640['removeAttribute'](_0x1f4e1a['name']);}}),_0x2d0fc6['forEach'](_0x2f1d1e=>{if(!_0x2f1d1e)return;let _0x4476fe,_0x246211=_0x2f1d1e['split'](':')['map'](_0x3ca537=>_0x3ca537['trim']()),_0x30b2c1=_0x246211[0x0];0x0===_0x30b2c1['indexOf'](_0x5df720['ATTR_BIND_PRFX'])&&(_0x4476fe=!0x0,_0x30b2c1=_0x30b2c1['replace'](_0x5df720['ATTR_BIND_PRFX'],''));let _0x56dbfd=_0x246211[0x1]['split'](',')['map'](_0x3a4f84=>_0x3a4f84['trim']());for(let _0x165020 of _0x56dbfd){let _0x36f80b;_0x165020['startsWith']('!!')?(_0x36f80b='double',_0x165020=_0x165020['replace']('!!','')):_0x165020['startsWith']('!')&&(_0x36f80b='single',_0x165020=_0x165020['replace']('!','')),_0x208587['sub'](_0x165020,_0x2acdb7=>{'double'===_0x36f80b?_0x2acdb7=!!_0x2acdb7:'single'===_0x36f80b&&(_0x2acdb7=!_0x2acdb7),_0x4476fe?(null==_0x2acdb7?void 0x0:_0x2acdb7['constructor'])===Boolean?_0x2acdb7?_0x5be640['setAttribute'](_0x30b2c1,''):_0x5be640['removeAttribute'](_0x30b2c1):_0x5be640['setAttribute'](_0x30b2c1,_0x2acdb7):setNestedProp(_0x5be640,_0x30b2c1,_0x2acdb7)||(_0x5be640[_0x5df720['SET_LATER_KEY']]||(_0x5be640[_0x5df720['SET_LATER_KEY']]=Object['create'](null)),_0x5be640[_0x5df720['SET_LATER_KEY']][_0x30b2c1]=_0x2acdb7);});}}),_0x5be640['removeAttribute'](_0x5df720['BIND_ATTR']);});}var _0x39e095='{{',_0x303358='}}',_0x506ab0='skip-text';function getTextNodesWithTokens(_0x276421){let _0x28baf7,_0x55ae96=[],_0x548d9a=document['createTreeWalker'](_0x276421,NodeFilter['SHOW_TEXT'],{'acceptNode':_0x2dd8bb=>{var _0x16b165;return!(null==(_0x16b165=_0x2dd8bb['parentElement'])?void 0x0:_0x16b165['hasAttribute'](_0x506ab0))&&_0x2dd8bb['textContent']['includes'](_0x39e095)&&_0x2dd8bb['textContent']['includes'](_0x303358)&&0x1;}});for(;_0x28baf7=_0x548d9a['nextNode']();)_0x55ae96['push'](_0x28baf7);return _0x55ae96;}var txtNodesProcessor=function(_0x3d543d,_0x545eee){getTextNodesWithTokens(_0x3d543d)['forEach'](_0x24c06d=>{let _0xdc4ba9,_0x1848c4=[];for(;_0x24c06d['textContent']['includes'](_0x303358);)_0x24c06d['textContent']['startsWith'](_0x39e095)?(_0xdc4ba9=_0x24c06d['textContent']['indexOf'](_0x303358)+_0x303358['length'],_0x24c06d['splitText'](_0xdc4ba9),_0x1848c4['push'](_0x24c06d)):(_0xdc4ba9=_0x24c06d['textContent']['indexOf'](_0x39e095),_0x24c06d['splitText'](_0xdc4ba9)),_0x24c06d=_0x24c06d['nextSibling'];_0x1848c4['forEach'](_0x382fe5=>{let _0x49a27b=_0x382fe5['textContent']['replace'](_0x39e095,'')['replace'](_0x303358,'');_0x382fe5['textContent']='',_0x545eee['sub'](_0x49a27b,_0x541f58=>{_0x382fe5['textContent']=_0x541f58;});});});},tpl_processors_default=[repeatProcessor,slotProcessor,_0x22c52f,domSetProcessor,txtNodesProcessor],_0xbe87f7='\x27',_0x398836='\x22',_0x4ceee1=/\\([0-9a-fA-F]{1,6} ?)/g;function hasLeadingTrailingQuotes(_0x4574f4){return!(_0x4574f4[0x0]!==_0x398836&&_0x4574f4[0x0]!==_0xbe87f7||_0x4574f4[_0x4574f4['length']-0x1]!==_0x398836&&_0x4574f4[_0x4574f4['length']-0x1]!==_0xbe87f7);}function trimQuotes(_0x47105c){return _0x47105c[0x0]!==_0x398836&&_0x47105c[0x0]!==_0xbe87f7||(_0x47105c=_0x47105c['slice'](0x1)),_0x47105c[_0x47105c['length']-0x1]!==_0x398836&&_0x47105c[_0x47105c['length']-0x1]!==_0xbe87f7||(_0x47105c=_0x47105c['slice'](0x0,-0x1)),_0x47105c;}function escapeQuotes(_0x29aac8){let _0x45c48e='',_0x15e886='';for(var _0x59846e=0x0;_0x59846e<_0x29aac8['length'];_0x59846e++){const _0x190fc2=_0x29aac8[_0x59846e+0x1];'\x5c'===_0x29aac8[_0x59846e]&&'\x22'===_0x190fc2?(_0x45c48e+='\x5c\x22',_0x59846e++):'\x22'===_0x29aac8[_0x59846e]&&'\x5c'!==_0x15e886?_0x45c48e+='\x5c\x22':_0x45c48e+=_0x29aac8[_0x59846e],_0x15e886=_0x29aac8[_0x59846e];}return _0x45c48e;}function parseCssPropertyValue(_0x4b8629){let _0x25e6c2=_0x4b8629;hasLeadingTrailingQuotes(_0x4b8629)&&(_0x25e6c2=trimQuotes(_0x25e6c2),_0x25e6c2=_0x25e6c2['replace'](_0x4ceee1,(_0x52ac16,_0x5123cb)=>String['fromCodePoint'](parseInt(_0x5123cb['trim'](),0x10))),_0x25e6c2=_0x25e6c2['replaceAll']('\x5c\x0a','\x5cn'),_0x25e6c2=escapeQuotes(_0x25e6c2),_0x25e6c2=_0x398836+_0x25e6c2+_0x398836);try{return JSON['parse'](_0x25e6c2);}catch(_0x9e02b3){throw new Error('Failed\x20to\x20parse\x20CSS\x20property\x20value:\x20'+_0x25e6c2+'.\x20Original\x20input:\x20'+_0x4b8629);}}var autoTagsCount=0x0,styleMutationObserver=null,styleMutationObserverCbList=null,_BaseComponent=class extends HTMLElement{constructor(){super(),_0x52ccc6(this,'updateCssData',()=>{var _0x44e60b;this['dropCssDataCache'](),null==(_0x44e60b=this['__boundCssProps'])||_0x44e60b['forEach'](_0x39bf1c=>{let _0x574c80=this['getCssData'](this['__extractCssName'](_0x39bf1c),!0x0);null!==_0x574c80&&this['$'][_0x39bf1c]!==_0x574c80&&(this['$'][_0x39bf1c]=_0x574c80);});}),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 _0x1a9d0b;this['__initialized']||(this['__initialized']=!0x0,null==(_0x1a9d0b=this['initCallback'])||_0x1a9d0b['call'](this));}['render'](_0x33528e,_0x39ce72=this['renderShadow']){let _0x4f5718;if(!_0x39ce72&&!this['constructor']['__shadowStylesUrl']||this['shadowRoot']||this['attachShadow']({'mode':'open'}),this['allowCustomTemplate']){let _0xcb3319=this['getAttribute'](_0x5df720['USE_TPL']);if(_0xcb3319){let _0x5d5213=this['getRootNode'](),_0xa73191=(null==_0x5d5213?void 0x0:_0x5d5213['querySelector'](_0xcb3319))||document['querySelector'](_0xcb3319);_0xa73191?_0x33528e=_0xa73191['content']['cloneNode'](!0x0):console['warn']('Symbiote\x20template\x20\x22'+_0xcb3319+'\x22\x20is\x20not\x20found...');}}if(this['processInnerHtml']){for(let _0x3a2afa of this['tplProcessors'])_0x3a2afa(this,this);}if(_0x33528e||this['constructor']['template']){if(this['constructor']['template']&&!this['constructor']['__tpl']&&(this['constructor']['__tpl']=document['createElement']('template'),this['constructor']['__tpl']['innerHTML']=this['constructor']['template']),(null==_0x33528e?void 0x0:_0x33528e['constructor'])===DocumentFragment)_0x4f5718=_0x33528e;else{if((null==_0x33528e?void 0x0:_0x33528e['constructor'])===String){let _0x39cc20=document['createElement']('template');_0x39cc20['innerHTML']=_0x33528e,_0x4f5718=_0x39cc20['content']['cloneNode'](!0x0);}else this['constructor']['__tpl']&&(_0x4f5718=this['constructor']['__tpl']['content']['cloneNode'](!0x0));}for(let _0x2bf8c1 of this['tplProcessors'])_0x2bf8c1(_0x4f5718,this);}let _0x19acaf=()=>{_0x4f5718&&(_0x39ce72&&this['shadowRoot']['appendChild'](_0x4f5718)||this['appendChild'](_0x4f5718)),this['__initCallback']();};if(this['constructor']['__shadowStylesUrl']){_0x39ce72=!0x0;let _0x8dd3c3=document['createElement']('link');_0x8dd3c3['rel']='stylesheet',_0x8dd3c3['href']=this['constructor']['__shadowStylesUrl'],_0x8dd3c3['onload']=_0x19acaf,this['shadowRoot']['prepend'](_0x8dd3c3);}else _0x19acaf();}['addTemplateProcessor'](_0x5cafe2){this['tplProcessors']['add'](_0x5cafe2);}get['autoCtxName'](){return this['__autoCtxName']||(this['__autoCtxName']=_0x521ae6['generate'](),this['style']['setProperty'](_0x5df720['CSS_CTX_PROP'],'\x27'+this['__autoCtxName']+'\x27')),this['__autoCtxName'];}get['cssCtxName'](){return this['getCssData'](_0x5df720['CSS_CTX_PROP'],!0x0);}get['ctxName'](){var _0x33dd29;let _0x1226a7=(null==(_0x33dd29=this['getAttribute'](_0x5df720['CTX_NAME_ATTR']))?void 0x0:_0x33dd29['trim']())||this['cssCtxName']||this['__cachedCtxName']||this['autoCtxName'];return this['__cachedCtxName']=_0x1226a7,_0x1226a7;}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'](_0x4927c8,_0x593b7d){let _0x512cc4,_0x375c60;if(_0x4927c8['startsWith'](_0x5df720['EXT_DATA_CTX_PRFX']))_0x512cc4=_0x593b7d['nodeCtx'],_0x375c60=_0x4927c8['replace'](_0x5df720['EXT_DATA_CTX_PRFX'],'');else{if(_0x4927c8['includes'](_0x5df720['NAMED_DATA_CTX_SPLTR'])){let _0xe950fc=_0x4927c8['split'](_0x5df720['NAMED_DATA_CTX_SPLTR']);_0x512cc4=Data['getCtx'](_0xe950fc[0x0]),_0x375c60=_0xe950fc[0x1];}else _0x512cc4=_0x593b7d['localCtx'],_0x375c60=_0x4927c8;}return{'ctx':_0x512cc4,'name':_0x375c60};}['sub'](_0x4187ae,_0x5647d9,_0x263825=!0x0){let _0x379fbc=_0x1a55de=>{this['isConnected']&&_0x5647d9(_0x1a55de);},_0x22272b=_BaseComponent['__parseProp'](_0x4187ae,this);_0x22272b['ctx']['has'](_0x22272b['name'])?this['allSubs']['add'](_0x22272b['ctx']['sub'](_0x22272b['name'],_0x379fbc,_0x263825)):window['setTimeout'](()=>{this['allSubs']['add'](_0x22272b['ctx']['sub'](_0x22272b['name'],_0x379fbc,_0x263825));});}['notify'](_0x13f310){let _0x2c8b60=_BaseComponent['__parseProp'](_0x13f310,this);_0x2c8b60['ctx']['notify'](_0x2c8b60['name']);}['has'](_0x1cf300){let _0x31bd8c=_BaseComponent['__parseProp'](_0x1cf300,this);return _0x31bd8c['ctx']['has'](_0x31bd8c['name']);}['add'](_0x423139,_0x104661,_0x26911a=!0x1){let _0x1b84cb=_BaseComponent['__parseProp'](_0x423139,this);_0x1b84cb['ctx']['add'](_0x1b84cb['name'],_0x104661,_0x26911a);}['add$'](_0x1d228d,_0x38c789=!0x1){for(let _0x333830 in _0x1d228d)this['add'](_0x333830,_0x1d228d[_0x333830],_0x38c789);}get['$'](){if(!this['__stateProxy']){let _0x4c7697=Object['create'](null);this['__stateProxy']=new Proxy(_0x4c7697,{'set':(_0x21bbfe,_0x14b364,_0x5d3c6f)=>{let _0x10ea46=_BaseComponent['__parseProp'](_0x14b364,this);return _0x10ea46['ctx']['pub'](_0x10ea46['name'],_0x5d3c6f),!0x0;},'get':(_0x326260,_0x4c2c95)=>{let _0x15ae71=_BaseComponent['__parseProp'](_0x4c2c95,this);return _0x15ae71['ctx']['read'](_0x15ae71['name']);}});}return this['__stateProxy'];}['set$'](_0x567b28,_0x2ebb44=!0x1){for(let _0x44268a in _0x567b28){let _0x3ae690=_0x567b28[_0x44268a],_0x3ac11b=[String,Number,Boolean];(_0x2ebb44||!_0x3ac11b['includes'](null==_0x3ae690?void 0x0:_0x3ae690['constructor'])||this['$'][_0x44268a]!==_0x3ae690)&&(this['$'][_0x44268a]=_0x3ae690);}}get['__ctxOwner'](){return this['ctxOwner']||this['hasAttribute'](_0x5df720['CTX_OWNER_ATTR'])&&'false'!==this['getAttribute'](_0x5df720['CTX_OWNER_ATTR']);}['__initDataCtx'](){let _0x49ca99=this['constructor']['__attrDesc'];if(_0x49ca99){for(let _0x1451a2 of Object['values'](_0x49ca99))Object['keys'](this['init$'])['includes'](_0x1451a2)||(this['init$'][_0x1451a2]='');}for(let _0x337133 in this['init$'])if(_0x337133['startsWith'](_0x5df720['EXT_DATA_CTX_PRFX']))this['nodeCtx']['add'](_0x337133['replace'](_0x5df720['EXT_DATA_CTX_PRFX'],''),this['init$'][_0x337133],this['__ctxOwner']);else{if(_0x337133['includes'](_0x5df720['NAMED_DATA_CTX_SPLTR'])){let _0x27b5d4=_0x337133['split'](_0x5df720['NAMED_DATA_CTX_SPLTR']),_0x1499bb=_0x27b5d4[0x0]['trim'](),_0x166902=_0x27b5d4[0x1]['trim']();if(_0x1499bb&&_0x166902){let _0x1e917f=Data['getCtx'](_0x1499bb,!0x1);_0x1e917f||(_0x1e917f=Data['registerCtx']({},_0x1499bb)),_0x1e917f['add'](_0x166902,this['init$'][_0x337133]);}}else this['localCtx']['add'](_0x337133,this['init$'][_0x337133]);}for(let _0x223850 in this['cssInit$'])this['bindCssData'](_0x223850,this['cssInit$'][_0x223850]);this['__dataCtxInitialized']=!0x0;}['connectedCallback'](){var _0xf25c71;if(this['isConnected']){if(this['__disconnectTimeout']&&window['clearTimeout'](this['__disconnectTimeout']),!this['connectedOnce']){let _0x4fb2a8=null==(_0xf25c71=this['getAttribute'](_0x5df720['CTX_NAME_ATTR']))?void 0x0:_0xf25c71['trim']();if(_0x4fb2a8&&this['style']['setProperty'](_0x5df720['CSS_CTX_PROP'],'\x27'+_0x4fb2a8+'\x27'),this['__initDataCtx'](),this[_0x5df720['SET_LATER_KEY']]){for(let _0x1e81a2 in this[_0x5df720['SET_LATER_KEY']])setNestedProp(this,_0x1e81a2,this[_0x5df720['SET_LATER_KEY']][_0x1e81a2]);delete this[_0x5df720['SET_LATER_KEY']];}this['initChildren']=[...this['childNodes']];for(let _0x2c818e of tpl_processors_default)this['addTemplateProcessor'](_0x2c818e);if(this['pauseRender'])this['__initCallback']();else{if(this['constructor']['__rootStylesLink']){let _0x2b8a61=this['getRootNode']();if(!_0x2b8a61)return;if(null==_0x2b8a61?void 0x0:_0x2b8a61['querySelector']('link['+_0x5df720['ROOT_STYLE_ATTR_NAME']+'=\x22'+this['constructor']['is']+'\x22]'))return void this['render']();let _0x176387=this['constructor']['__rootStylesLink']['cloneNode'](!0x0);_0x176387['setAttribute'](_0x5df720['ROOT_STYLE_ATTR_NAME'],this['constructor']['is']),_0x176387['onload']=()=>{this['render']();},_0x2b8a61['nodeType']===Node['DOCUMENT_NODE']?_0x2b8a61['head']['appendChild'](_0x176387):_0x2b8a61['prepend'](_0x176387);}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 _0x4f5be5 of this['allSubs'])_0x4f5be5['remove'](),this['allSubs']['delete'](_0x4f5be5);for(let _0x1d6a9d of this['tplProcessors'])this['tplProcessors']['delete'](_0x1d6a9d);null==styleMutationObserverCbList||styleMutationObserverCbList['delete'](this['updateCssData']),(null==styleMutationObserverCbList?void 0x0:styleMutationObserverCbList['size'])||(null==styleMutationObserver||styleMutationObserver['disconnect'](),styleMutationObserver=null,styleMutationObserverCbList=null);},0x64)));}static['reg'](_0x3ecaaf,_0x314a12=!0x1){_0x3ecaaf||(autoTagsCount++,_0x3ecaaf=_0x5df720['AUTO_TAG_PRFX']+'-'+autoTagsCount),this['__tag']=_0x3ecaaf;let _0x56484c=window['customElements']['get'](_0x3ecaaf);_0x56484c?_0x314a12||_0x56484c===this||console['warn'](['Element\x20with\x20tag\x20name\x20\x22'+_0x3ecaaf+'\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'](_0x3ecaaf,_0x314a12?class extends this{}:this);}static get['is'](){return this['__tag']||this['reg'](),this['__tag'];}static['bindAttributes'](_0x2bcaa5){this['observedAttributes']=Object['keys'](_0x2bcaa5),this['__attrDesc']=_0x2bcaa5;}['attributeChangedCallback'](_0x57ec0f,_0x11e382,_0x1ee43e){var _0x22d749;if(_0x11e382===_0x1ee43e)return;let _0x485e44=null==(_0x22d749=this['constructor']['__attrDesc'])?void 0x0:_0x22d749[_0x57ec0f];_0x485e44?this['__dataCtxInitialized']?this['$'][_0x485e44]=_0x1ee43e:this['init$'][_0x485e44]=_0x1ee43e:this[_0x57ec0f]=_0x1ee43e;}['getCssData'](_0x5a9e6d,_0x5863c9=!0x1){if(this['__cssDataCache']||(this['__cssDataCache']=Object['create'](null)),!Object['keys'](this['__cssDataCache'])['includes'](_0x5a9e6d)){this['__computedStyle']||(this['__computedStyle']=window['getComputedStyle'](this));let _0x479d32=this['__computedStyle']['getPropertyValue'](_0x5a9e6d)['trim']();try{this['__cssDataCache'][_0x5a9e6d]=parseCssPropertyValue(_0x479d32);}catch(_0x61973b){!_0x5863c9&&console['warn']('CSS\x20Data\x20error:\x20'+_0x5a9e6d),this['__cssDataCache'][_0x5a9e6d]=null;}}return this['__cssDataCache'][_0x5a9e6d];}['__extractCssName'](_0x2a04aa){return _0x2a04aa['split']('--')['map']((_0x21c81b,_0x18746e)=>0x0===_0x18746e?'':_0x21c81b)['join']('--');}['__initStyleAttrObserver'](){styleMutationObserverCbList||(styleMutationObserverCbList=new Set()),styleMutationObserverCbList['add'](this['updateCssData']),styleMutationObserver||(styleMutationObserver=new MutationObserver(_0x3b4c97=>{'attributes'===_0x3b4c97[0x0]['type']&&styleMutationObserverCbList['forEach'](_0x2d0700=>{_0x2d0700();});}))['observe'](document,{'childList':!0x0,'subtree':!0x0,'attributes':!0x0,'attributeFilter':['style']});}['bindCssData'](_0x24dde8,_0x30eb56=''){this['__boundCssProps']||(this['__boundCssProps']=new Set()),this['__boundCssProps']['add'](_0x24dde8);let _0x188977=this['getCssData'](this['__extractCssName'](_0x24dde8),!0x0);null===_0x188977&&(_0x188977=_0x30eb56),this['add'](_0x24dde8,_0x188977),this['__initStyleAttrObserver']();}['dropCssDataCache'](){this['__cssDataCache']=null,this['__computedStyle']=null;}['defineAccessor'](_0x39d2d3,_0x531c7d,_0x500f78){let _0x57ef26='__'+_0x39d2d3;this[_0x57ef26]=this[_0x39d2d3],Object['defineProperty'](this,_0x39d2d3,{'set':_0x189481=>{this[_0x57ef26]=_0x189481,_0x500f78?window['setTimeout'](()=>{null==_0x531c7d||_0x531c7d(_0x189481);}):null==_0x531c7d||_0x531c7d(_0x189481);},'get':()=>this[_0x57ef26]}),this[_0x39d2d3]=this[_0x57ef26];}static set['shadowStyles'](_0x56ac7a){let _0x3f6734=new Blob([_0x56ac7a],{'type':'text/css'});this['__shadowStylesUrl']=URL['createObjectURL'](_0x3f6734);}static set['rootStyles'](_0x456a13){if(!this['__rootStylesLink']){let _0x3994b9=new Blob([_0x456a13],{'type':'text/css'}),_0x19a37f=URL['createObjectURL'](_0x3994b9),_0x4ad14e=document['createElement']('link');_0x4ad14e['href']=_0x19a37f,_0x4ad14e['rel']='stylesheet',this['__rootStylesLink']=_0x4ad14e;}}},BaseComponent=_BaseComponent;function applyStyles(_0x39f4c0,_0x3cedcd){for(let _0x36e492 in _0x3cedcd)_0x36e492['includes']('-')?_0x39f4c0['style']['setProperty'](_0x36e492,_0x3cedcd[_0x36e492]):_0x39f4c0['style'][_0x36e492]=_0x3cedcd[_0x36e492];}function applyAttributes(_0x57b2af,_0x2e281c){for(let _0x7c2c79 in _0x2e281c)_0x2e281c[_0x7c2c79]['constructor']===Boolean?_0x2e281c[_0x7c2c79]?_0x57b2af['setAttribute'](_0x7c2c79,''):_0x57b2af['removeAttribute'](_0x7c2c79):_0x57b2af['setAttribute'](_0x7c2c79,_0x2e281c[_0x7c2c79]);}function create(_0x8d1cda={'tag':'div'}){let _0x4f232d=document['createElement'](_0x8d1cda['tag']);if(_0x8d1cda['attributes']&&applyAttributes(_0x4f232d,_0x8d1cda['attributes']),_0x8d1cda['styles']&&applyStyles(_0x4f232d,_0x8d1cda['styles']),_0x8d1cda['properties']){for(let _0x27e493 in _0x8d1cda['properties'])_0x4f232d[_0x27e493]=_0x8d1cda['properties'][_0x27e493];}return _0x8d1cda['processors']&&_0x8d1cda['processors']['forEach'](_0x5ed6e2=>{_0x5ed6e2(_0x4f232d);}),_0x8d1cda['children']&&_0x8d1cda['children']['forEach'](_0xc117c8=>{let _0x213ad3=create(_0xc117c8);_0x4f232d['appendChild'](_0x213ad3);}),_0x4f232d;}_0x52ccc6(BaseComponent,'template');var _0x1c6847='idb-store-ready',_0x2d889e='symbiote-db',_0x118b0f='symbiote-idb-update_',DbInstance=class{['_notifyWhenReady'](_0x205d4f=null){window['dispatchEvent'](new CustomEvent(_0x1c6847,{'detail':{'dbName':this['name'],'storeName':this['storeName'],'event':_0x205d4f}}));}get['_updEventName'](){return _0x118b0f+this['name'];}['_getUpdateEvent'](_0x45227f){return new CustomEvent(this['_updEventName'],{'detail':{'key':this['name'],'newValue':_0x45227f}});}['_notifySubscribers'](_0x5af513){window['localStorage']['removeItem'](this['name']),window['localStorage']['setItem'](this['name'],_0x5af513),window['dispatchEvent'](this['_getUpdateEvent'](_0x5af513));}constructor(_0x2a1161,_0x5e9ac7){this['name']=_0x2a1161,this['storeName']=_0x5e9ac7,this['version']=0x1,this['request']=window['indexedDB']['open'](this['name'],this['version']),this['request']['onupgradeneeded']=_0x5bbadf=>{this['db']=_0x5bbadf['target']['result'],this['objStore']=this['db']['createObjectStore'](_0x5e9ac7,{'keyPath':'_key'}),this['objStore']['transaction']['oncomplete']=_0x202d5c=>{this['_notifyWhenReady'](_0x202d5c);};},this['request']['onsuccess']=_0x36cad1=>{this['db']=_0x36cad1['target']['result'],this['_notifyWhenReady'](_0x36cad1);},this['request']['onerror']=_0x454d71=>{console['error'](_0x454d71);},this['_subscriptionsMap']={},this['_updateHandler']=_0x23e308=>{_0x23e308['key']===this['name']&&this['_subscriptionsMap'][_0x23e308['newValue']]&&this['_subscriptionsMap'][_0x23e308['newValue']]['forEach'](async _0x190cef=>{_0x190cef(await this['read'](_0x23e308['newValue']));});},this['_localUpdateHandler']=_0x245a20=>{this['_updateHandler'](_0x245a20['detail']);},window['addEventListener']('storage',this['_updateHandler']),window['addEventListener'](this['_updEventName'],this['_localUpdateHandler']);}['read'](_0x432aff){let _0xed6ad5=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['get'](_0x432aff);return new Promise((_0x3da7e8,_0x17e8da)=>{_0xed6ad5['onsuccess']=_0x2d8d36=>{var _0x163329;(null==(_0x163329=_0x2d8d36['target']['result'])?void 0x0:_0x163329['_value'])?_0x3da7e8(_0x2d8d36['target']['result']['_value']):(_0x3da7e8(null),console['warn']('IDB:\x20cannot\x20read\x20\x22'+_0x432aff+'\x22'));},_0xed6ad5['onerror']=_0xbfa030=>{_0x17e8da(_0xbfa030);};});}['write'](_0x356aea,_0x113690,_0x455a8e=!0x1){let _0x18d5f1={'_key':_0x356aea,'_value':_0x113690},_0x1367e8=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['put'](_0x18d5f1);return new Promise((_0x1acba0,_0x27980c)=>{_0x1367e8['onsuccess']=_0x3201ca=>{_0x455a8e||this['_notifySubscribers'](_0x356aea),_0x1acba0(_0x3201ca['target']['result']);},_0x1367e8['onerror']=_0x250c2b=>{_0x27980c(_0x250c2b);};});}['delete'](_0x45d997,_0x578b1b=!0x1){let _0x30281d=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['delete'](_0x45d997);return new Promise((_0x5a5573,_0x342517)=>{_0x30281d['onsuccess']=_0x18288a=>{_0x578b1b||this['_notifySubscribers'](_0x45d997),_0x5a5573(_0x18288a);},_0x30281d['onerror']=_0x434c48=>{_0x342517(_0x434c48);};});}['getAll'](){let _0x2320a9=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['getAll']();return new Promise((_0x4115ac,_0x22f60b)=>{_0x2320a9['onsuccess']=_0x3f08ad=>{let _0x1e14f7=_0x3f08ad['target']['result'];_0x4115ac(_0x1e14f7['map'](_0x3414f4=>_0x3414f4['_value']));},_0x2320a9['onerror']=_0x211c16=>{_0x22f60b(_0x211c16);};});}['subscribe'](_0x721e63,_0x42e48f){this['_subscriptionsMap'][_0x721e63]||(this['_subscriptionsMap'][_0x721e63]=new Set());let _0x43cf60=this['_subscriptionsMap'][_0x721e63];return _0x43cf60['add'](_0x42e48f),{'remove':()=>{_0x43cf60['delete'](_0x42e48f),_0x43cf60['size']||delete this['_subscriptionsMap'][_0x721e63];}};}['stop'](){window['removeEventListener']('storage',this['_updateHandler']),this['_subscriptionsMap']=null,_0x3a90ab['clear'](this['name']);}},_0x3a90ab=class{static get['readyEventName'](){return _0x1c6847;}static['open'](_0x34e765=_0x2d889e,_0x2d7c70='store'){let _0x526f52=_0x34e765+'/'+_0x2d7c70;return this['_reg'][_0x526f52]||(this['_reg'][_0x526f52]=new DbInstance(_0x34e765,_0x2d7c70)),this['_reg'][_0x526f52];}static['clear'](_0x199d7e){window['indexedDB']['deleteDatabase'](_0x199d7e);for(let _0x2ba76e in this['_reg'])_0x2ba76e['split']('/')[0x0]===_0x199d7e&&delete this['_reg'][_0x2ba76e];}};function isObject(_0x48964d){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x48964d);}_0x52ccc6(_0x3a90ab,'_reg',Object['create'](null));const _0x5177e9=/\W|_/g;function camelizeString(_0x340a82){return _0x340a82['split'](_0x5177e9)['map']((_0x2aefc3,_0x3388d8)=>_0x2aefc3['charAt'](0x0)[_0x3388d8>0x0?'toUpperCase':'toLowerCase']()+_0x2aefc3['slice'](0x1))['join']('');}function camelizeArrayItems(_0x318c1c,{ignoreKeys:_0x5a7c57}={'ignoreKeys':[]}){return Array['isArray'](_0x318c1c)?_0x318c1c['map'](_0x2e094a=>_0x80c014(_0x2e094a,{'ignoreKeys':_0x5a7c57})):_0x318c1c;}function _0x80c014(_0x1eeadd,{ignoreKeys:_0x40f2fa}={'ignoreKeys':[]}){if(Array['isArray'](_0x1eeadd))return camelizeArrayItems(_0x1eeadd,{'ignoreKeys':_0x40f2fa});if(!isObject(_0x1eeadd))return _0x1eeadd;const _0x2e8ed8={};for(const _0x5b22ba of Object['keys'](_0x1eeadd)){let _0x3286a4=_0x1eeadd[_0x5b22ba];_0x40f2fa['includes'](_0x5b22ba)?_0x2e8ed8[_0x5b22ba]=_0x3286a4:(isObject(_0x3286a4)?_0x3286a4=_0x80c014(_0x3286a4,{'ignoreKeys':_0x40f2fa}):Array['isArray'](_0x3286a4)&&(_0x3286a4=camelizeArrayItems(_0x3286a4,{'ignoreKeys':_0x40f2fa})),_0x2e8ed8[camelizeString(_0x5b22ba)]=_0x3286a4);}return _0x2e8ed8;}const _0x228ca2=_0x377cc0=>new Promise(_0x471b94=>setTimeout(_0x471b94,_0x377cc0));function getUserAgent$1({libraryName:_0x424e14,libraryVersion:_0x27dfc5,userAgent:_0xe05254,publicKey:_0x1bb9ef='',integration:_0x20d6ef=''}){const _0x5e248f='JavaScript';if('string'==typeof _0xe05254)return _0xe05254;if('function'==typeof _0xe05254)return _0xe05254({'publicKey':_0x1bb9ef,'libraryName':_0x424e14,'libraryVersion':_0x27dfc5,'languageName':_0x5e248f,'integration':_0x20d6ef});return[_0x424e14,_0x27dfc5,_0x1bb9ef]['filter'](Boolean)['join']('/')+'\x20('+[_0x5e248f,_0x20d6ef]['filter'](Boolean)['join'](';\x20')+')';}const defaultOptions={'factor':0x2,'time':0x64};function retrier(_0x22025b,_0x212918=defaultOptions){let _0x4b31e3=0x0;return function _0x44a3d7(_0x542ec1){const _0x321316=Math['round'](_0x212918['time']*_0x212918['factor']**_0x4b31e3);return _0x542ec1({'attempt':_0x4b31e3,'retry':_0x103970=>_0x228ca2(_0x103970??_0x321316)['then'](()=>(_0x4b31e3+=0x1,_0x44a3d7(_0x542ec1)))});}(_0x22025b);}class _0x40d028 extends Error{}class NetworkError extends _0x40d028{['originalProgressEvent'];constructor(_0x5831ab){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,NetworkError['prototype']),this['originalProgressEvent']=_0x5831ab;}}const _0x5eacf6=(_0x3f6d99,_0x3a3a89)=>{_0x3f6d99&&(_0x3f6d99['aborted']?Promise['resolve']()['then'](_0x3a3a89):_0x3f6d99['addEventListener']('abort',()=>_0x3a3a89(),{'once':!0x0}));};class _0x367e10 extends _0x40d028{['isCancel']=!0x0;constructor(_0x1eb50c='Request\x20canceled'){super(_0x1eb50c),this['name']='CancelError',Object['setPrototypeOf'](this,_0x367e10['prototype']);}}const _0x386ab0=0x1f4,_0x2a71fd=({check:_0x24eb39,interval:_0x6b4da7=_0x386ab0,timeout:_0x47c334,signal:_0x5bfd36})=>new Promise((_0x28ab67,_0x476d44)=>{let _0x250c31,_0x281e91;_0x5eacf6(_0x5bfd36,()=>{_0x250c31&&clearTimeout(_0x250c31),_0x476d44(new _0x367e10('Poll\x20cancelled'));}),_0x47c334&&(_0x281e91=setTimeout(()=>{_0x250c31&&clearTimeout(_0x250c31),_0x476d44(new _0x367e10('Timed\x20out'));},_0x47c334));const _0x41a233=()=>{try{Promise['resolve'](_0x24eb39(_0x5bfd36))['then'](_0x4187d5=>{_0x4187d5?(_0x281e91&&clearTimeout(_0x281e91),_0x28ab67(_0x4187d5)):_0x250c31=setTimeout(_0x41a233,_0x6b4da7);})['catch'](_0x4ae4ba=>{_0x281e91&&clearTimeout(_0x281e91),_0x476d44(_0x4ae4ba);});}catch(_0x36a579){_0x281e91&&clearTimeout(_0x281e91),_0x476d44(_0x36a579);}};_0x250c31=setTimeout(_0x41a233,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:_0x1e4412,url:_0x66d90b,data:_0x1dc85c,headers:_0x422539={},signal:_0x4ff6c6,onProgress:_0x2c5507})=>new Promise((_0x547040,_0x14f214)=>{const _0x3faeab=new XMLHttpRequest(),_0x373016=_0x1e4412?.['toUpperCase']()||'GET';let _0x447c83=!0x1;_0x3faeab['open'](_0x373016,_0x66d90b,!0x0),_0x422539&&Object['entries'](_0x422539)['forEach'](_0x7f1656=>{const [_0xbd4ee2,_0x1fe645]=_0x7f1656;void 0x0!==_0x1fe645&&!Array['isArray'](_0x1fe645)&&_0x3faeab['setRequestHeader'](_0xbd4ee2,_0x1fe645);}),_0x3faeab['responseType']='text',_0x5eacf6(_0x4ff6c6,()=>{_0x447c83=!0x0,_0x3faeab['abort'](),_0x14f214(new _0x367e10());}),_0x3faeab['onload']=()=>{if(0xc8!=_0x3faeab['status'])_0x14f214(new Error('Error\x20'+_0x3faeab['status']+':\x20'+_0x3faeab['statusText']));else{const _0x5e6d56={'method':_0x373016,'url':_0x66d90b,'data':_0x1dc85c,'headers':_0x422539||void 0x0,'signal':_0x4ff6c6,'onProgress':_0x2c5507},_0xb803c=_0x3faeab['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0x4fff8f={};_0xb803c['forEach'](function(_0x1c9a50){const _0x28b64d=_0x1c9a50['split'](':\x20'),_0x2c2ed6=_0x28b64d['shift'](),_0x32c2f3=_0x28b64d['join'](':\x20');_0x2c2ed6&&void 0x0!==_0x2c2ed6&&(_0x4fff8f[_0x2c2ed6]=_0x32c2f3);});const _0x2e3432=_0x3faeab['response'],_0x332703=_0x3faeab['status'];_0x547040({'request':_0x5e6d56,'data':_0x2e3432,'headers':_0x4fff8f,'status':_0x332703});}},_0x3faeab['onerror']=_0x140f39=>{_0x447c83||_0x14f214(new NetworkError(_0x140f39));},_0x2c5507&&'function'==typeof _0x2c5507&&(_0x3faeab['upload']['onprogress']=_0x1262dd=>{_0x1262dd['lengthComputable']?_0x2c5507({'isComputable':!0x0,'value':_0x1262dd['loaded']/_0x1262dd['total']}):_0x2c5507({'isComputable':!0x1});}),_0x1dc85c?_0x3faeab['send'](_0x1dc85c):_0x3faeab['send']();});function identity(_0x26b9a6,..._0x1bed3a){return _0x26b9a6;}const getFileOptions=({name:_0x6d0401})=>_0x6d0401?[_0x6d0401]:[],transformFile=identity;var getFormData=()=>new FormData();const _0x35e90d=_0x5882cc=>!0x1,_0x394d52=_0x3aba98=>'undefined'!=typeof Blob&&_0x3aba98 instanceof Blob,_0x348f6c=_0x243987=>'undefined'!=typeof File&&_0x243987 instanceof File,isReactNativeAsset=_0x2afe7f=>!!_0x2afe7f&&'object'==typeof _0x2afe7f&&!Array['isArray'](_0x2afe7f)&&'uri'in _0x2afe7f&&'string'==typeof _0x2afe7f['uri'],isFileData=_0x410f79=>_0x394d52(_0x410f79)||_0x348f6c(_0x410f79)||_0x35e90d()||isReactNativeAsset(_0x410f79),_0xa45982=_0x51b32d=>'string'==typeof _0x51b32d||'number'==typeof _0x51b32d||void 0x0===_0x51b32d,isObjectValue=_0xc46331=>!!_0xc46331&&'object'==typeof _0xc46331&&!Array['isArray'](_0xc46331),_0x22758a=_0xc4a179=>!!_0xc4a179&&'object'==typeof _0xc4a179&&'data'in _0xc4a179&&isFileData(_0xc4a179['data']);function collectParams(_0x32107e,_0x467bd9,_0x4cc7c1){if(Array['isArray'](_0x4cc7c1)){for(const _0x3dd331 of _0x4cc7c1)collectParams(_0x32107e,_0x467bd9+'[]',_0x3dd331);}else{if(_0x22758a(_0x4cc7c1)){const {name:_0x4fe74e,contentType:_0x53fafc}=_0x4cc7c1,_0x46c434=transformFile(_0x4cc7c1['data'],_0x4fe74e,_0x53fafc??defaultContentType),_0x3c8c3c=getFileOptions({'name':_0x4fe74e});_0x32107e['push']([_0x467bd9,_0x46c434,..._0x3c8c3c]);}else{if(isObjectValue(_0x4cc7c1)){for(const [_0x316fb7,_0x5330f0]of Object['entries'](_0x4cc7c1))void 0x0!==_0x5330f0&&_0x32107e['push']([_0x467bd9+'['+_0x316fb7+']',String(_0x5330f0)]);}else _0xa45982(_0x4cc7c1)&&_0x4cc7c1&&_0x32107e['push']([_0x467bd9,_0x4cc7c1['toString']()]);}}}function getFormDataParams(_0x555474){const _0x5140a5=[];for(const [_0xdb0687,_0x5915ec]of Object['entries'](_0x555474))collectParams(_0x5140a5,_0xdb0687,_0x5915ec);return _0x5140a5;}function buildFormData(_0x261a69){const _0x127c9e=getFormData(),_0x2a4970=getFormDataParams(_0x261a69);for(const _0x1cbf31 of _0x2a4970){const [_0x84923,_0x584f92,..._0x4026e2]=_0x1cbf31;_0x127c9e['append'](_0x84923,_0x584f92,..._0x4026e2);}return _0x127c9e;}class _0x2ae9f1 extends _0x40d028{['code'];['request'];['response'];['headers'];constructor(_0x16e6b4,_0x17f31d,_0x79d85d,_0x1f55c1,_0x48b198){super(),this['name']='UploadError',this['message']=_0x16e6b4,this['code']=_0x17f31d,this['request']=_0x79d85d,this['response']=_0x1f55c1,this['headers']=_0x48b198,Object['setPrototypeOf'](this,_0x2ae9f1['prototype']);}}const _0x4d52d9=_0x212eb7=>{const _0x56528a=new URLSearchParams();for(const [_0x2a6e3e,_0x1f9636]of Object['entries'](_0x212eb7))_0x1f9636&&'object'==typeof _0x1f9636&&!Array['isArray'](_0x1f9636)?Object['entries'](_0x1f9636)['filter'](_0x1621a3=>_0x1621a3[0x1]??!0x1)['forEach'](_0x4f92b4=>_0x56528a['set'](_0x2a6e3e+'['+_0x4f92b4[0x0]+']',String(_0x4f92b4[0x1]))):Array['isArray'](_0x1f9636)?_0x1f9636['forEach'](_0x2658c4=>{_0x56528a['append'](_0x2a6e3e+'[]',_0x2658c4);}):'string'==typeof _0x1f9636&&_0x1f9636?_0x56528a['set'](_0x2a6e3e,_0x1f9636):'number'==typeof _0x1f9636&&_0x56528a['set'](_0x2a6e3e,_0x1f9636['toString']());return _0x56528a['toString']();},getUrl=(_0x3852dd,_0x158666,_0x5c8994)=>{const _0x93cb4d=new URL(_0x3852dd);return _0x93cb4d['pathname']=(_0x93cb4d['pathname']+_0x158666)['replace']('//','/'),_0x5c8994&&(_0x93cb4d['search']=_0x4d52d9(_0x5c8994)),_0x93cb4d['toString']();};var _0x1b7075='6.18.2';const _0x487711='UploadcareUploadClient',_0x41f085=_0x1b7075;function getUserAgent(_0x1c2680){return getUserAgent$1({'libraryName':_0x487711,'libraryVersion':_0x41f085,..._0x1c2680});}const _0x569857='RequestThrottledError',_0x39a6f6=0x3a98,_0xd3e5cd=0x3e8;function getTimeoutFromThrottledRequest(_0x104de2){const {headers:_0x1f4d2e}=_0x104de2||{};if(!_0x1f4d2e||'string'!=typeof _0x1f4d2e['retry-after'])return _0x39a6f6;const _0x954802=parseInt(_0x1f4d2e['retry-after'],0xa);return Number['isFinite'](_0x954802)?0x3e8*_0x954802:_0x39a6f6;}function retryIfFailed(_0x2efc21,_0x56bd0c){const {retryThrottledRequestMaxTimes:_0xab0466,retryNetworkErrorMaxTimes:_0x1be5e9}=_0x56bd0c;return retrier(({attempt:_0x21f0dd,retry:_0xd131b})=>_0x2efc21()['catch'](_0x291841=>{if('response'in _0x291841&&_0x291841?.['code']===_0x569857&&_0x21f0dd<_0xab0466)return _0xd131b(getTimeoutFromThrottledRequest(_0x291841));if(_0x291841 instanceof NetworkError&&_0x21f0dd<_0x1be5e9)return _0xd131b((_0x21f0dd+0x1)*_0xd3e5cd);throw _0x291841;}));}const getContentType=_0x575953=>{let _0x5d2dc9='';return(_0x394d52(_0x575953)||_0x348f6c(_0x575953)||isReactNativeAsset(_0x575953))&&(_0x5d2dc9=_0x575953['type']),_0x5d2dc9||defaultContentType;},getFileName=_0x2b5c0b=>{let _0x52fcce='';return _0x348f6c(_0x2b5c0b)&&_0x2b5c0b['name']?_0x52fcce=_0x2b5c0b['name']:_0x394d52(_0x2b5c0b)||_0x35e90d()?_0x52fcce='':isReactNativeAsset(_0x2b5c0b)&&_0x2b5c0b['name']&&(_0x52fcce=_0x2b5c0b['name']),_0x52fcce||defaultFilename;};function getStoreValue(_0x307f3c){return void 0x0===_0x307f3c||'auto'===_0x307f3c?'auto':_0x307f3c?'1':'0';}function _0x21ad02(_0x16e51b,{publicKey:_0x35f7b4,fileName:_0x41dc98,contentType:_0x4f932a,baseURL:_0x26718c=defaultSettings['baseURL'],secureSignature:_0x3eaf55,secureExpire:_0x469e21,store:_0xb48c96,signal:_0x531741,onProgress:_0x212f4c,source:_0x6b406='local',integration:_0x55bc49,userAgent:_0x1be3ce,retryThrottledRequestMaxTimes:_0x387587=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x1f390e=defaultSettings['retryNetworkErrorMaxTimes'],metadata:_0x40a50e}){return retryIfFailed(()=>request({'method':'POST','url':getUrl(_0x26718c,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x35f7b4,'integration':_0x55bc49,'userAgent':_0x1be3ce})},'data':buildFormData({'file':{'data':_0x16e51b,'name':_0x41dc98||getFileName(_0x16e51b),'contentType':_0x4f932a||getContentType(_0x16e51b)},'UPLOADCARE_PUB_KEY':_0x35f7b4,'UPLOADCARE_STORE':getStoreValue(_0xb48c96),'signature':_0x3eaf55,'expire':_0x469e21,'source':_0x6b406,'metadata':_0x40a50e}),'signal':_0x531741,'onProgress':_0x212f4c})['then'](({data:_0x34e328,headers:_0x23250e,request:_0x1b3b38})=>{const _0x410a7e=_0x80c014(JSON['parse'](_0x34e328));if('error'in _0x410a7e)throw new _0x2ae9f1(_0x410a7e['error']['content'],_0x410a7e['error']['errorCode'],_0x1b3b38,_0x410a7e,_0x23250e);return _0x410a7e;}),{'retryNetworkErrorMaxTimes':_0x1f390e,'retryThrottledRequestMaxTimes':_0x387587});}var _0x4928ef,Status;function _0x5e241f(_0x50ab3e,{publicKey:_0x44c012,baseURL:_0x229454=defaultSettings['baseURL'],store:_0x1e7fa7,fileName:_0x1e7c24,checkForUrlDuplicates:_0x588e49,saveUrlForRecurrentUploads:_0x38df4f,secureSignature:_0x343312,secureExpire:_0x1b9d02,source:_0x44e6be='url',signal:_0x5e156c,integration:_0x213c3a,userAgent:_0x29ad0b,retryThrottledRequestMaxTimes:_0x5c5dfc=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x1e0c76=defaultSettings['retryNetworkErrorMaxTimes'],metadata:_0x2af4d5}){return retryIfFailed(()=>request({'method':'POST','headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x44c012,'integration':_0x213c3a,'userAgent':_0x29ad0b})},'url':getUrl(_0x229454,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x44c012,'source_url':_0x50ab3e,'store':getStoreValue(_0x1e7fa7),'filename':_0x1e7c24,'check_URL_duplicates':_0x588e49?0x1:void 0x0,'save_URL_duplicates':_0x38df4f?0x1:void 0x0,'signature':_0x343312,'expire':_0x1b9d02,'source':_0x44e6be,'metadata':_0x2af4d5}),'signal':_0x5e156c})['then'](({data:_0x5e3264,headers:_0x1fc4cd,request:_0x15ccf8})=>{const _0x3ce11d=_0x80c014(JSON['parse'](_0x5e3264));if('error'in _0x3ce11d)throw new _0x2ae9f1(_0x3ce11d['error']['content'],_0x3ce11d['error']['errorCode'],_0x15ccf8,_0x3ce11d,_0x1fc4cd);return _0x3ce11d;}),{'retryNetworkErrorMaxTimes':_0x1e0c76,'retryThrottledRequestMaxTimes':_0x5c5dfc});}!function(_0x4a3dc1){_0x4a3dc1['Token']='token',_0x4a3dc1['FileInfo']='file_info';}(_0x4928ef||(_0x4928ef={})),function(_0x27fb59){_0x27fb59['Unknown']='unknown',_0x27fb59['Waiting']='waiting',_0x27fb59['Progress']='progress',_0x27fb59['Error']='error',_0x27fb59['Success']='success';}(Status||(Status={}));const _0x551912=_0x181124=>'status'in _0x181124&&_0x181124['status']===Status['Error'];function fromUrlStatus(_0x2ee9dc,{publicKey:_0x116bf3,baseURL:_0x964308=defaultSettings['baseURL'],signal:_0x4439a5,integration:_0x24bb61,userAgent:_0x3e2fc3,retryThrottledRequestMaxTimes:_0x9a3c85=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x233554=defaultSettings['retryNetworkErrorMaxTimes']}={}){return retryIfFailed(()=>request({'method':'GET','headers':_0x116bf3?{'X-UC-User-Agent':getUserAgent({'publicKey':_0x116bf3,'integration':_0x24bb61,'userAgent':_0x3e2fc3})}:void 0x0,'url':getUrl(_0x964308,'/from_url/status/',{'jsonerrors':0x1,'token':_0x2ee9dc}),'signal':_0x4439a5})['then'](({data:_0x1b047a,headers:_0x2c7497,request:_0x3078c0})=>{const _0x20762e=_0x80c014(JSON['parse'](_0x1b047a));if('error'in _0x20762e&&!_0x551912(_0x20762e))throw new _0x2ae9f1(_0x20762e['error']['content'],_0x20762e['error']['errorCode'],_0x3078c0,_0x20762e,_0x2c7497);return _0x20762e;}),{'retryNetworkErrorMaxTimes':_0x233554,'retryThrottledRequestMaxTimes':_0x9a3c85});}function _0x59e1ea(_0x47a360,{publicKey:_0x220b09,baseURL:_0xee8d8d=defaultSettings['baseURL'],jsonpCallback:_0x25b2ef,secureSignature:_0x34a1c2,secureExpire:_0x3ab6a6,signal:_0x4e12b8,source:_0x280941,integration:_0x5109df,userAgent:_0x17ca1b,retryThrottledRequestMaxTimes:_0x175ef1=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x304b18=defaultSettings['retryNetworkErrorMaxTimes']}){return retryIfFailed(()=>request({'method':'POST','headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x220b09,'integration':_0x5109df,'userAgent':_0x17ca1b})},'url':getUrl(_0xee8d8d,'/group/',{'jsonerrors':0x1}),'data':buildFormData({'files':_0x47a360,'callback':_0x25b2ef,'pub_key':_0x220b09,'signature':_0x34a1c2,'expire':_0x3ab6a6,'source':_0x280941}),'signal':_0x4e12b8})['then'](({data:_0x4dd0c1,headers:_0x482a86,request:_0x273075})=>{const _0x18e800=_0x80c014(JSON['parse'](_0x4dd0c1));if('error'in _0x18e800)throw new _0x2ae9f1(_0x18e800['error']['content'],_0x18e800['error']['errorCode'],_0x273075,_0x18e800,_0x482a86);return _0x18e800;}),{'retryNetworkErrorMaxTimes':_0x304b18,'retryThrottledRequestMaxTimes':_0x175ef1});}function _0x50b07a(_0x4c9875,{publicKey:_0x72fc11,baseURL:_0x351bd2=defaultSettings['baseURL'],signal:_0x1b24fc,source:_0x5571cb,integration:_0x1fae9c,userAgent:_0x33bd73,retryThrottledRequestMaxTimes:_0xdad56e=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x50c807=defaultSettings['retryNetworkErrorMaxTimes']}){return retryIfFailed(()=>request({'method':'GET','headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x72fc11,'integration':_0x1fae9c,'userAgent':_0x33bd73})},'url':getUrl(_0x351bd2,'/info/',{'jsonerrors':0x1,'pub_key':_0x72fc11,'file_id':_0x4c9875,'source':_0x5571cb}),'signal':_0x1b24fc})['then'](({data:_0x3903ed,headers:_0xb7ef82,request:_0xb909e4})=>{const _0x1a3526=_0x80c014(JSON['parse'](_0x3903ed));if('error'in _0x1a3526)throw new _0x2ae9f1(_0x1a3526['error']['content'],_0x1a3526['error']['errorCode'],_0xb909e4,_0x1a3526,_0xb7ef82);return _0x1a3526;}),{'retryThrottledRequestMaxTimes':_0xdad56e,'retryNetworkErrorMaxTimes':_0x50c807});}function multipartStart(_0x2b6fbe,{publicKey:_0xa5e9fb,contentType:_0x28cf80,fileName:_0x453768,multipartChunkSize:_0x1a407e=defaultSettings['multipartChunkSize'],baseURL:_0x1e0e8d='',secureSignature:_0x371d6c,secureExpire:_0x14d460,store:_0x59f8cd,signal:_0x2152cb,source:_0x3f6009='local',integration:_0x1302bb,userAgent:_0x3c0e34,retryThrottledRequestMaxTimes:_0x26d200=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x54b514=defaultSettings['retryNetworkErrorMaxTimes'],metadata:_0x20a3d6}){return retryIfFailed(()=>request({'method':'POST','url':getUrl(_0x1e0e8d,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0xa5e9fb,'integration':_0x1302bb,'userAgent':_0x3c0e34})},'data':buildFormData({'filename':_0x453768||defaultFilename,'size':_0x2b6fbe,'content_type':_0x28cf80||defaultContentType,'part_size':_0x1a407e,'UPLOADCARE_STORE':getStoreValue(_0x59f8cd),'UPLOADCARE_PUB_KEY':_0xa5e9fb,'signature':_0x371d6c,'expire':_0x14d460,'source':_0x3f6009,'metadata':_0x20a3d6}),'signal':_0x2152cb})['then'](({data:_0x1f5164,headers:_0x4ac221,request:_0x5e7775})=>{const _0x2d0cce=_0x80c014(JSON['parse'](_0x1f5164));if('error'in _0x2d0cce)throw new _0x2ae9f1(_0x2d0cce['error']['content'],_0x2d0cce['error']['errorCode'],_0x5e7775,_0x2d0cce,_0x4ac221);return _0x2d0cce['parts']=Object['keys'](_0x2d0cce['parts'])['map'](_0x4720e6=>_0x2d0cce['parts'][Number(_0x4720e6)]),_0x2d0cce;}),{'retryThrottledRequestMaxTimes':_0x26d200,'retryNetworkErrorMaxTimes':_0x54b514});}function multipartUpload(_0x46a759,_0x5ae396,{contentType:_0x2b4fce,signal:_0x2f6f63,onProgress:_0x5a8066,retryThrottledRequestMaxTimes:_0x9b4996=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x5350b8=defaultSettings['retryNetworkErrorMaxTimes']}){return retryIfFailed(()=>request({'method':'PUT','url':_0x5ae396,'data':_0x46a759,'onProgress':_0x5a8066,'signal':_0x2f6f63,'headers':{'Content-Type':_0x2b4fce||defaultContentType}})['then'](_0x3dd37c=>(_0x5a8066&&_0x5a8066({'isComputable':!0x0,'value':0x1}),_0x3dd37c))['then'](({status:_0x5e1d91})=>({'code':_0x5e1d91})),{'retryThrottledRequestMaxTimes':_0x9b4996,'retryNetworkErrorMaxTimes':_0x5350b8});}function multipartComplete(_0x361a89,{publicKey:_0x552ac9,baseURL:_0x5ca5ca=defaultSettings['baseURL'],source:_0x3a430c='local',signal:_0x23ea8a,integration:_0xcbe004,userAgent:_0x3abf6e,retryThrottledRequestMaxTimes:_0x43d2fa=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x48a8c2=defaultSettings['retryNetworkErrorMaxTimes']}){return retryIfFailed(()=>request({'method':'POST','url':getUrl(_0x5ca5ca,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x552ac9,'integration':_0xcbe004,'userAgent':_0x3abf6e})},'data':buildFormData({'uuid':_0x361a89,'UPLOADCARE_PUB_KEY':_0x552ac9,'source':_0x3a430c}),'signal':_0x23ea8a})['then'](({data:_0x2fbf95,headers:_0x3dcc26,request:_0xe3d77d})=>{const _0x22b2a8=_0x80c014(JSON['parse'](_0x2fbf95));if('error'in _0x22b2a8)throw new _0x2ae9f1(_0x22b2a8['error']['content'],_0x22b2a8['error']['errorCode'],_0xe3d77d,_0x22b2a8,_0x3dcc26);return _0x22b2a8;}),{'retryThrottledRequestMaxTimes':_0x43d2fa,'retryNetworkErrorMaxTimes':_0x48a8c2});}function _0x46fa16(_0x3d4327,{publicKey:_0x4edcbd,baseURL:_0x30ae3d,source:_0x5df1d8,integration:_0x339008,userAgent:_0x441526,retryThrottledRequestMaxTimes:_0x556548,retryNetworkErrorMaxTimes:_0x48e05b,signal:_0x1627f8,onProgress:_0x2b29d4}){return _0x2a71fd({'check':_0x54f13e=>_0x50b07a(_0x3d4327,{'publicKey':_0x4edcbd,'baseURL':_0x30ae3d,'signal':_0x54f13e,'source':_0x5df1d8,'integration':_0x339008,'userAgent':_0x441526,'retryThrottledRequestMaxTimes':_0x556548,'retryNetworkErrorMaxTimes':_0x48e05b})['then'](_0x13f4e8=>_0x13f4e8['isReady']?_0x13f4e8:(_0x2b29d4&&_0x2b29d4({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x1627f8});}function _0x41446d(_0x41d676){return'defaultEffects'in _0x41d676;}class _0x57878e{['uuid'];['name'];['size'];['isStored'];['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];['contentInfo'];['metadata'];['s3Bucket'];['defaultEffects']=null;constructor(_0xa1cdbf,{baseCDN:_0xb5ea91=defaultSettings['baseCDN'],fileName:_0x5f2115}={}){const {uuid:_0x19a0b3,s3Bucket:_0x22d01f}=_0xa1cdbf,_0x373b6a=getUrl(_0xb5ea91,_0x19a0b3+'/'),_0x55f29b=_0x22d01f?getUrl('https://'+_0x22d01f+'.s3.amazonaws.com/',_0x19a0b3+'/'+_0xa1cdbf['filename']):null;this['uuid']=_0x19a0b3,this['name']=_0x5f2115||_0xa1cdbf['filename'],this['size']=_0xa1cdbf['size'],this['isStored']=_0xa1cdbf['isStored'],this['isImage']=_0xa1cdbf['isImage'],this['mimeType']=_0xa1cdbf['mimeType'],this['cdnUrl']=_0x373b6a,this['originalFilename']=_0xa1cdbf['originalFilename'],this['imageInfo']=_0xa1cdbf['imageInfo'],this['videoInfo']=_0xa1cdbf['videoInfo'],this['contentInfo']=_0xa1cdbf['contentInfo'],this['metadata']=_0xa1cdbf['metadata']||null,this['s3Bucket']=_0x22d01f||null,this['s3Url']=_0x55f29b,_0x41446d(_0xa1cdbf)&&(this['defaultEffects']=_0xa1cdbf['defaultEffects']);}}const uploadDirect=(_0xf54b33,{publicKey:_0x9c47f,fileName:_0x5d0eb5,baseURL:_0x28a1dc,secureSignature:_0x1c93c7,secureExpire:_0x53f59a,store:_0x2cc120,contentType:_0x22ebb6,signal:_0x49ab57,onProgress:_0x28beaf,source:_0x5b9922,integration:_0x1799eb,userAgent:_0x40e0fc,retryThrottledRequestMaxTimes:_0x4a7ccd,retryNetworkErrorMaxTimes:_0x375701,baseCDN:_0x299f0b,metadata:_0x21d0bc})=>_0x21ad02(_0xf54b33,{'publicKey':_0x9c47f,'fileName':_0x5d0eb5,'contentType':_0x22ebb6,'baseURL':_0x28a1dc,'secureSignature':_0x1c93c7,'secureExpire':_0x53f59a,'store':_0x2cc120,'signal':_0x49ab57,'onProgress':_0x28beaf,'source':_0x5b9922,'integration':_0x1799eb,'userAgent':_0x40e0fc,'retryThrottledRequestMaxTimes':_0x4a7ccd,'retryNetworkErrorMaxTimes':_0x375701,'metadata':_0x21d0bc})['then'](({file:_0x478cea})=>_0x46fa16(_0x478cea,{'publicKey':_0x9c47f,'baseURL':_0x28a1dc,'source':_0x5b9922,'integration':_0x1799eb,'userAgent':_0x40e0fc,'retryThrottledRequestMaxTimes':_0x4a7ccd,'retryNetworkErrorMaxTimes':_0x375701,'onProgress':_0x28beaf,'signal':_0x49ab57}))['then'](_0x3c48c1=>new _0x57878e(_0x3c48c1,{'baseCDN':_0x299f0b})),_0x1ecd8a=(_0x2b1e63,{publicKey:_0x290dbc,fileName:_0x453b51,baseURL:_0x545fad,signal:_0x22716a,onProgress:_0x341652,source:_0x50bb1c,integration:_0x4ffc6c,userAgent:_0x299d80,retryThrottledRequestMaxTimes:_0x462b46,retryNetworkErrorMaxTimes:_0x34f490,baseCDN:_0x489055})=>_0x50b07a(_0x2b1e63,{'publicKey':_0x290dbc,'baseURL':_0x545fad,'signal':_0x22716a,'source':_0x50bb1c,'integration':_0x4ffc6c,'userAgent':_0x299d80,'retryThrottledRequestMaxTimes':_0x462b46,'retryNetworkErrorMaxTimes':_0x34f490})['then'](_0x5419c2=>new _0x57878e(_0x5419c2,{'baseCDN':_0x489055,'fileName':_0x453b51}))['then'](_0x240042=>(_0x341652&&_0x341652({'isComputable':!0x0,'value':0x1}),_0x240042)),_0xa905b=(_0x16cdef,{signal:_0x45999b}={})=>{let _0x41d195=null,_0x52ff93=null;const _0x3f4daf=_0x16cdef['map'](()=>new AbortController());return _0x5eacf6(_0x45999b,()=>{_0x3f4daf['forEach'](_0x3a2c42=>_0x3a2c42['abort']());}),Promise['all'](_0x16cdef['map']((_0x501f58,_0x1b0356)=>{const _0x2a1fe8=(_0x220150=>()=>{_0x52ff93=_0x220150,_0x3f4daf['forEach']((_0x33ce02,_0x200cf9)=>_0x200cf9!==_0x220150&&_0x33ce02['abort']());})(_0x1b0356);return Promise['resolve']()['then'](()=>_0x501f58({'stopRace':_0x2a1fe8,'signal':_0x3f4daf[_0x1b0356]['signal']}))['then'](_0x412048=>(_0x2a1fe8(),_0x412048))['catch'](_0x579d7a=>(_0x41d195=_0x579d7a,null));}))['then'](_0x4da6db=>{if(null===_0x52ff93)throw _0x41d195;return _0x4da6db[_0x52ff93];});};var WebSocket=window['WebSocket'];class Events{['events']=Object['create']({});['emit'](_0x13bde8,_0xbe49a8){this['events'][_0x13bde8]?.['forEach'](_0x4eff08=>_0x4eff08(_0xbe49a8));}['on'](_0x503471,_0x482fd5){this['events'][_0x503471]=this['events'][_0x503471]||[],this['events'][_0x503471]['push'](_0x482fd5);}['off'](_0x299d20,_0xfa7713){this['events'][_0x299d20]=_0xfa7713?this['events'][_0x299d20]['filter'](_0x5ee9f8=>_0x5ee9f8!==_0xfa7713):[];}}const _0x57233c=(_0x526441,_0x3b3da7)=>'success'===_0x526441?{'status':Status['Success'],..._0x3b3da7}:'progress'===_0x526441?{'status':Status['Progress'],..._0x3b3da7}:{'status':Status['Error'],..._0x3b3da7};class _0x1bfc45{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new Events();['disconnectTimeoutId']=null;constructor(_0x4969d0,_0x1c1482=0x7530){this['key']=_0x4969d0,this['disconnectTime']=_0x1c1482;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){const _0x2f9109='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new WebSocket(_0x2f9109),this['ws']['addEventListener']('error',_0x47dbf0=>{this['emmitter']['emit']('error',new Error(_0x47dbf0['message']));}),this['emmitter']['on']('connected',()=>{this['isConnected']=!0x0,this['queue']['forEach'](_0x1a5c9f=>this['send'](_0x1a5c9f['event'],_0x1a5c9f['data'])),this['queue']=[];}),this['ws']['addEventListener']('message',_0x377c6f=>{const _0x19592a=JSON['parse'](_0x377c6f['data']['toString']());switch(_0x19592a['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'](_0x19592a['channel'],_0x57233c(_0x19592a['event'],JSON['parse'](_0x19592a['data'])));}});}}['disconnect'](){const _0x227e84=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0x227e84();},this['disconnectTime']):_0x227e84();}['send'](_0x3b5e65,_0x254e17){const _0x341022=JSON['stringify']({'event':_0x3b5e65,'data':_0x254e17});this['ws']?.['send'](_0x341022);}['subscribe'](_0x37acde,_0x563974){this['subscribers']+=0x1,this['connect']();const _0x59853b='task-status-'+_0x37acde,_0x3823dc={'event':'pusher:subscribe','data':{'channel':_0x59853b}};this['emmitter']['on'](_0x59853b,_0x563974),this['isConnected']?this['send'](_0x3823dc['event'],_0x3823dc['data']):this['queue']['push'](_0x3823dc);}['unsubscribe'](_0x80a44){this['subscribers']-=0x1;const _0x5a505d='task-status-'+_0x80a44,_0x226107={'event':'pusher:unsubscribe','data':{'channel':_0x5a505d}};this['emmitter']['off'](_0x5a505d),this['isConnected']?this['send'](_0x226107['event'],_0x226107['data']):this['queue']=this['queue']['filter'](_0x1590bc=>_0x1590bc['data']['channel']!==_0x5a505d),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x1faf8a){return this['emmitter']['on']('error',_0x1faf8a),()=>this['emmitter']['off']('error',_0x1faf8a);}}let _0x211d77=null;const getPusher=_0xef6a23=>{if(!_0x211d77){const _0x2f82c5='undefined'==typeof window?0x0:0x7530;_0x211d77=new _0x1bfc45(_0xef6a23,_0x2f82c5);}return _0x211d77;},preconnect=_0x183db1=>{getPusher(_0x183db1)['connect']();};function pollStrategy({token:_0x3e5e0e,publicKey:_0x5ccb24,baseURL:_0x2e65e9,integration:_0xf0ce87,userAgent:_0x4c5a2c,retryThrottledRequestMaxTimes:_0xd7ab5e,retryNetworkErrorMaxTimes:_0x5970ad,onProgress:_0x3db8f5,signal:_0x4cfd7f}){return _0x2a71fd({'check':_0x369844=>fromUrlStatus(_0x3e5e0e,{'publicKey':_0x5ccb24,'baseURL':_0x2e65e9,'integration':_0xf0ce87,'userAgent':_0x4c5a2c,'retryThrottledRequestMaxTimes':_0xd7ab5e,'retryNetworkErrorMaxTimes':_0x5970ad,'signal':_0x369844})['then'](_0x3fdb88=>{switch(_0x3fdb88['status']){case Status['Error']:return new _0x2ae9f1(_0x3fdb88['error'],_0x3fdb88['errorCode']);case Status['Waiting']:return!0x1;case Status['Unknown']:return new _0x2ae9f1('Token\x20\x22'+_0x3e5e0e+'\x22\x20was\x20not\x20found.');case Status['Progress']:return _0x3db8f5&&('unknown'===_0x3fdb88['total']?_0x3db8f5({'isComputable':!0x1}):_0x3db8f5({'isComputable':!0x0,'value':_0x3fdb88['done']/_0x3fdb88['total']})),!0x1;case Status['Success']:return _0x3db8f5&&_0x3db8f5({'isComputable':!0x0,'value':_0x3fdb88['done']/_0x3fdb88['total']}),_0x3fdb88;default:throw new Error('Unknown\x20status');}}),'signal':_0x4cfd7f});}const pushStrategy=({token:_0x53c95f,pusherKey:_0x7074ca,signal:_0x200f9b,onProgress:_0x9999d9})=>new Promise((_0x3ebdef,_0x3a48e7)=>{const _0x36e1c5=getPusher(_0x7074ca),_0x5b50f3=_0x36e1c5['onError'](_0x3a48e7),_0x34d0c6=()=>{_0x5b50f3(),_0x36e1c5['unsubscribe'](_0x53c95f);};_0x5eacf6(_0x200f9b,()=>{_0x34d0c6(),_0x3a48e7(new _0x367e10('pusher\x20cancelled'));}),_0x36e1c5['subscribe'](_0x53c95f,_0x5d2be4=>{switch(_0x5d2be4['status']){case Status['Progress']:_0x9999d9&&('unknown'===_0x5d2be4['total']?_0x9999d9({'isComputable':!0x1}):_0x9999d9({'isComputable':!0x0,'value':_0x5d2be4['done']/_0x5d2be4['total']}));break;case Status['Success']:_0x34d0c6(),_0x9999d9&&_0x9999d9({'isComputable':!0x0,'value':_0x5d2be4['done']/_0x5d2be4['total']}),_0x3ebdef(_0x5d2be4);break;case Status['Error']:_0x34d0c6(),_0x3a48e7(new _0x2ae9f1(_0x5d2be4['msg'],_0x5d2be4['error_code']));}});}),_0x2c9ec0=(_0x14603f,{publicKey:_0x2dab51,fileName:_0x1b8610,baseURL:_0x140e28,baseCDN:_0x5d37f2,checkForUrlDuplicates:_0x35eda2,saveUrlForRecurrentUploads:_0x4ce6c2,secureSignature:_0x2c1f98,secureExpire:_0x4b4538,store:_0x506799,signal:_0x249005,onProgress:_0x1c923c,source:_0x495359,integration:_0x23b891,userAgent:_0x12e77e,retryThrottledRequestMaxTimes:_0x211983,pusherKey:_0x1c4775=defaultSettings['pusherKey'],metadata:_0x19af9d})=>Promise['resolve'](preconnect(_0x1c4775))['then'](()=>_0x5e241f(_0x14603f,{'publicKey':_0x2dab51,'fileName':_0x1b8610,'baseURL':_0x140e28,'checkForUrlDuplicates':_0x35eda2,'saveUrlForRecurrentUploads':_0x4ce6c2,'secureSignature':_0x2c1f98,'secureExpire':_0x4b4538,'store':_0x506799,'signal':_0x249005,'source':_0x495359,'integration':_0x23b891,'userAgent':_0x12e77e,'retryThrottledRequestMaxTimes':_0x211983,'metadata':_0x19af9d}))['catch'](_0x468f6a=>{const _0xfa2642=getPusher(_0x1c4775);return _0xfa2642?.['disconnect'](),Promise['reject'](_0x468f6a);})['then'](_0x4b3fea=>_0x4b3fea['type']===_0x4928ef['FileInfo']?_0x4b3fea:_0xa905b([({signal:_0xd4412e})=>pollStrategy({'token':_0x4b3fea['token'],'publicKey':_0x2dab51,'baseURL':_0x140e28,'integration':_0x23b891,'userAgent':_0x12e77e,'retryThrottledRequestMaxTimes':_0x211983,'onProgress':_0x1c923c,'signal':_0xd4412e}),({signal:_0x522481})=>pushStrategy({'token':_0x4b3fea['token'],'pusherKey':_0x1c4775,'signal':_0x522481,'onProgress':_0x1c923c})],{'signal':_0x249005}))['then'](_0x217ce8=>{if(_0x217ce8 instanceof _0x2ae9f1)throw _0x217ce8;return _0x217ce8;})['then'](_0x1991f5=>_0x46fa16(_0x1991f5['uuid'],{'publicKey':_0x2dab51,'baseURL':_0x140e28,'integration':_0x23b891,'userAgent':_0x12e77e,'retryThrottledRequestMaxTimes':_0x211983,'onProgress':_0x1c923c,'signal':_0x249005}))['then'](_0x51fda2=>new _0x57878e(_0x51fda2,{'baseCDN':_0x5d37f2})),_0x32e85d=new WeakMap(),getBlobFromReactNativeAsset=async _0x313192=>{if(_0x32e85d['has'](_0x313192))return _0x32e85d['get'](_0x313192);const _0xef3a75=await fetch(_0x313192['uri'])['then'](_0x79e144=>_0x79e144['blob']());return _0x32e85d['set'](_0x313192,_0xef3a75),_0xef3a75;},getFileSize=async _0x4da224=>{if(_0x348f6c(_0x4da224)||_0x394d52(_0x4da224))return _0x4da224['size'];if(isReactNativeAsset(_0x4da224))return(await getBlobFromReactNativeAsset(_0x4da224))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},isMultipart=(_0x2aef60,_0x4d7710=defaultSettings['multipartMinFileSize'])=>_0x2aef60>=_0x4d7710,_0x239034=_0x1decd0=>{const _0x2dbf39=new RegExp('[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}');return!isFileData(_0x1decd0)&&_0x2dbf39['test'](_0x1decd0);},_0x571b72=_0x3c7d0a=>{const _0x357b6e=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!isFileData(_0x3c7d0a)&&_0x357b6e['test'](_0x3c7d0a);},runWithConcurrency=(_0x58a95b,_0x614447)=>new Promise((_0x730157,_0x4d7ac3)=>{const _0x31192f=[];let _0x10af1e=!0x1,_0x382a8c=_0x614447['length'];const _0x2b86cc=[..._0x614447],_0x198fb0=()=>{const _0x4cad0c=_0x614447['length']-_0x2b86cc['length'],_0x5d537e=_0x2b86cc['shift']();_0x5d537e&&_0x5d537e()['then'](_0x69ca5f=>{_0x10af1e||(_0x31192f[_0x4cad0c]=_0x69ca5f,_0x382a8c-=0x1,_0x382a8c?_0x198fb0():_0x730157(_0x31192f));})['catch'](_0x26c582=>{_0x10af1e=!0x0,_0x4d7ac3(_0x26c582);});};for(let _0x13f14f=0x0;_0x13f14f<_0x58a95b;_0x13f14f++)_0x198fb0();}),_0x10bd2e=(_0x513cd2,_0x3d6f11,_0x32cd18,_0x3f29c6)=>{const _0x29d3c0=_0x3f29c6*_0x3d6f11,_0x25d460=Math['min'](_0x29d3c0+_0x3f29c6,_0x32cd18);return _0x513cd2['slice'](_0x29d3c0,_0x25d460);},_0x2e738e=async(_0x25766e,_0x4ec325,_0x1f05e9)=>_0x5c38de=>_0x10bd2e(_0x25766e,_0x5c38de,_0x4ec325,_0x1f05e9),uploadPart=(_0x41037f,_0x1b925b,{publicKey:_0x526131,contentType:_0x33fce7,onProgress:_0x265c2b,signal:_0x5ae01c,integration:_0x35d878,retryThrottledRequestMaxTimes:_0x1a5c92,retryNetworkErrorMaxTimes:_0x13c3ea})=>multipartUpload(_0x41037f,_0x1b925b,{'contentType':_0x33fce7,'onProgress':_0x265c2b,'signal':_0x5ae01c,'retryThrottledRequestMaxTimes':_0x1a5c92,'retryNetworkErrorMaxTimes':_0x13c3ea}),uploadMultipart=async(_0x236ce9,{publicKey:_0x1e46a5,fileName:_0x3d5f2c,fileSize:_0x47d433,baseURL:_0x342330,secureSignature:_0x39faf6,secureExpire:_0x1c6bb7,store:_0x1f3198,signal:_0x1fdbd3,onProgress:_0x2aa9e2,source:_0x321594,integration:_0xd81df8,userAgent:_0x540060,retryThrottledRequestMaxTimes:_0x30fc62,retryNetworkErrorMaxTimes:_0x1e974b,contentType:_0x1feb55,multipartChunkSize:_0x1fa75d=defaultSettings['multipartChunkSize'],maxConcurrentRequests:_0x1723ac=defaultSettings['maxConcurrentRequests'],baseCDN:_0x36ac9a,metadata:_0x18748c})=>{const _0xc022e9=_0x47d433??await getFileSize(_0x236ce9);let _0x440e06;const _0x47eaf0=(_0x31112e,_0x481df2)=>{if(!_0x2aa9e2)return;_0x440e06||(_0x440e06=Array(_0x31112e)['fill'](0x0));const _0x475573=_0x5e6046=>_0x5e6046['reduce']((_0x549ff7,_0x41bba1)=>_0x549ff7+_0x41bba1,0x0);return _0xd41788=>{_0xd41788['isComputable']&&(_0x440e06[_0x481df2]=_0xd41788['value'],_0x2aa9e2({'isComputable':!0x0,'value':_0x475573(_0x440e06)/_0x31112e}));};};return _0x1feb55||=getContentType(_0x236ce9),multipartStart(_0xc022e9,{'publicKey':_0x1e46a5,'contentType':_0x1feb55,'fileName':_0x3d5f2c||getFileName(_0x236ce9),'baseURL':_0x342330,'secureSignature':_0x39faf6,'secureExpire':_0x1c6bb7,'store':_0x1f3198,'signal':_0x1fdbd3,'source':_0x321594,'integration':_0xd81df8,'userAgent':_0x540060,'retryThrottledRequestMaxTimes':_0x30fc62,'retryNetworkErrorMaxTimes':_0x1e974b,'metadata':_0x18748c,'multipartChunkSize':_0x1fa75d})['then'](async({uuid:_0x3aabc3,parts:_0x93adb})=>{const _0x46891e=await _0x2e738e(_0x236ce9,_0xc022e9,_0x1fa75d);return Promise['all']([_0x3aabc3,runWithConcurrency(_0x1723ac,_0x93adb['map']((_0x48e641,_0x210992)=>()=>uploadPart(_0x46891e(_0x210992),_0x48e641,{'publicKey':_0x1e46a5,'contentType':_0x1feb55,'onProgress':_0x47eaf0(_0x93adb['length'],_0x210992),'signal':_0x1fdbd3,'integration':_0xd81df8,'retryThrottledRequestMaxTimes':_0x30fc62,'retryNetworkErrorMaxTimes':_0x1e974b})))]);})['then'](([_0x689e98])=>multipartComplete(_0x689e98,{'publicKey':_0x1e46a5,'baseURL':_0x342330,'source':_0x321594,'integration':_0xd81df8,'userAgent':_0x540060,'retryThrottledRequestMaxTimes':_0x30fc62,'retryNetworkErrorMaxTimes':_0x1e974b}))['then'](_0xf9f2a7=>_0xf9f2a7['isReady']?_0xf9f2a7:_0x46fa16(_0xf9f2a7['uuid'],{'publicKey':_0x1e46a5,'baseURL':_0x342330,'source':_0x321594,'integration':_0xd81df8,'userAgent':_0x540060,'retryThrottledRequestMaxTimes':_0x30fc62,'retryNetworkErrorMaxTimes':_0x1e974b,'onProgress':_0x2aa9e2,'signal':_0x1fdbd3}))['then'](_0x376a3d=>new _0x57878e(_0x376a3d,{'baseCDN':_0x36ac9a}));};async function _0x1ba67e(_0x2cf70b,{publicKey:_0x361911,fileName:_0x55cfcf,baseURL:_0x56fbef=defaultSettings['baseURL'],secureSignature:_0x1d1c6d,secureExpire:_0x5c6411,store:_0x324ddc,signal:_0xf4683e,onProgress:_0x24b167,source:_0x544e3e,integration:_0x31fc21,userAgent:_0x25f694,retryThrottledRequestMaxTimes:_0x5a1546,retryNetworkErrorMaxTimes:_0x244bf8,contentType:_0x34c3cf,multipartMinFileSize:_0x40f968,multipartChunkSize:_0x504161,maxConcurrentRequests:_0x566da2,baseCDN:_0x278d9f=defaultSettings['baseCDN'],checkForUrlDuplicates:_0x44437b,saveUrlForRecurrentUploads:_0x34e8d2,pusherKey:_0x32e268,metadata:_0x54dd21}){if(isFileData(_0x2cf70b)){const _0x1d3f43=await getFileSize(_0x2cf70b);return isMultipart(_0x1d3f43,_0x40f968)?uploadMultipart(_0x2cf70b,{'publicKey':_0x361911,'contentType':_0x34c3cf,'multipartChunkSize':_0x504161,'fileSize':_0x1d3f43,'fileName':_0x55cfcf,'baseURL':_0x56fbef,'secureSignature':_0x1d1c6d,'secureExpire':_0x5c6411,'store':_0x324ddc,'signal':_0xf4683e,'onProgress':_0x24b167,'source':_0x544e3e,'integration':_0x31fc21,'userAgent':_0x25f694,'maxConcurrentRequests':_0x566da2,'retryThrottledRequestMaxTimes':_0x5a1546,'retryNetworkErrorMaxTimes':_0x244bf8,'baseCDN':_0x278d9f,'metadata':_0x54dd21}):uploadDirect(_0x2cf70b,{'publicKey':_0x361911,'fileName':_0x55cfcf,'contentType':_0x34c3cf,'baseURL':_0x56fbef,'secureSignature':_0x1d1c6d,'secureExpire':_0x5c6411,'store':_0x324ddc,'signal':_0xf4683e,'onProgress':_0x24b167,'source':_0x544e3e,'integration':_0x31fc21,'userAgent':_0x25f694,'retryThrottledRequestMaxTimes':_0x5a1546,'retryNetworkErrorMaxTimes':_0x244bf8,'baseCDN':_0x278d9f,'metadata':_0x54dd21});}if(_0x571b72(_0x2cf70b))return _0x2c9ec0(_0x2cf70b,{'publicKey':_0x361911,'fileName':_0x55cfcf,'baseURL':_0x56fbef,'baseCDN':_0x278d9f,'checkForUrlDuplicates':_0x44437b,'saveUrlForRecurrentUploads':_0x34e8d2,'secureSignature':_0x1d1c6d,'secureExpire':_0x5c6411,'store':_0x324ddc,'signal':_0xf4683e,'onProgress':_0x24b167,'source':_0x544e3e,'integration':_0x31fc21,'userAgent':_0x25f694,'retryThrottledRequestMaxTimes':_0x5a1546,'pusherKey':_0x32e268,'metadata':_0x54dd21});if(_0x239034(_0x2cf70b))return _0x1ecd8a(_0x2cf70b,{'publicKey':_0x361911,'fileName':_0x55cfcf,'baseURL':_0x56fbef,'signal':_0xf4683e,'onProgress':_0x24b167,'source':_0x544e3e,'integration':_0x31fc21,'userAgent':_0x25f694,'retryThrottledRequestMaxTimes':_0x5a1546,'retryNetworkErrorMaxTimes':_0x244bf8,'baseCDN':_0x278d9f});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x2cf70b+'\x22\x20is\x20not\x20supported');}class _0xc6b9e9{['uuid'];['filesCount'];['totalSize'];['isStored'];['isImage'];['cdnUrl'];['files'];['createdAt'];['storedAt']=null;constructor(_0x19d530,{baseCDN:_0x14c371=defaultSettings['baseCDN']}={}){this['uuid']=_0x19d530['id'],this['filesCount']=_0x19d530['filesCount'];const _0x350fc3=_0x19d530['files']['filter'](Boolean);this['totalSize']=Object['values'](_0x350fc3)['reduce']((_0x3ecfd1,_0x1f532d)=>_0x3ecfd1+_0x1f532d['size'],0x0),this['isStored']=!!_0x19d530['datetimeStored'],this['isImage']=!!Object['values'](_0x350fc3)['filter'](_0x502433=>_0x502433['isImage'])['length'],this['cdnUrl']=_0x19d530['cdnUrl'],this['files']=_0x350fc3['map'](_0x32f7f5=>new _0x57878e(_0x32f7f5,{'baseCDN':_0x14c371})),this['createdAt']=_0x19d530['datetimeCreated'],this['storedAt']=_0x19d530['datetimeStored'];}}const isFileDataArray=_0x34345d=>{for(const _0x4f5fa3 of _0x34345d)if(!isFileData(_0x4f5fa3))return!0x1;return!0x0;},_0x29482e=_0x2995b9=>{for(const _0x30cbe5 of _0x2995b9)if(!_0x239034(_0x30cbe5))return!0x1;return!0x0;},_0x5b1c08=_0x5d014a=>{for(const _0xa2642d of _0x5d014a)if(!_0x571b72(_0xa2642d))return!0x1;return!0x0;};function _0x1297a6(_0x3f707d,{publicKey:_0x26a66d,fileName:_0x3322fb,baseURL:_0x1e9f9d=defaultSettings['baseURL'],secureSignature:_0x52fb31,secureExpire:_0x1e6b80,store:_0x77d766,signal:_0x2f2421,onProgress:_0x175920,source:_0x55ecfb,integration:_0x176840,userAgent:_0x21ae7c,retryThrottledRequestMaxTimes:_0xb01e0e,retryNetworkErrorMaxTimes:_0x5b8bd6,contentType:_0x3f0716,multipartChunkSize:_0x1fcf22=defaultSettings['multipartChunkSize'],baseCDN:_0x537d77=defaultSettings['baseCDN'],checkForUrlDuplicates:_0x23958f,saveUrlForRecurrentUploads:_0x2befdf,jsonpCallback:_0x58da6c}){if(!isFileDataArray(_0x3f707d)&&!_0x5b1c08(_0x3f707d)&&!_0x29482e(_0x3f707d))throw new TypeError('Group\x20uploading\x20from\x20\x22'+_0x3f707d+'\x22\x20is\x20not\x20supported');let _0x6caa48,_0x3a00ea=!0x0;const _0x1998a3=_0x3f707d['length'],_0x4594c7=(_0x586246,_0x2e0fec)=>{if(!_0x175920)return;_0x6caa48||(_0x6caa48=Array(_0x586246)['fill'](0x0));const _0x14106b=_0x145d4d=>_0x145d4d['reduce']((_0x599f51,_0x2fd2bb)=>_0x599f51+_0x2fd2bb)/_0x586246;return _0x4177da=>{if(!_0x4177da['isComputable']||!_0x3a00ea)return _0x3a00ea=!0x1,void _0x175920({'isComputable':!0x1});_0x6caa48[_0x2e0fec]=_0x4177da['value'],_0x175920({'isComputable':!0x0,'value':_0x14106b(_0x6caa48)});};};return Promise['all'](_0x3f707d['map']((_0x4e43a1,_0x4d4200)=>isFileData(_0x4e43a1)||_0x571b72(_0x4e43a1)?_0x1ba67e(_0x4e43a1,{'publicKey':_0x26a66d,'fileName':_0x3322fb,'baseURL':_0x1e9f9d,'secureSignature':_0x52fb31,'secureExpire':_0x1e6b80,'store':_0x77d766,'signal':_0x2f2421,'onProgress':_0x4594c7(_0x1998a3,_0x4d4200),'source':_0x55ecfb,'integration':_0x176840,'userAgent':_0x21ae7c,'retryThrottledRequestMaxTimes':_0xb01e0e,'retryNetworkErrorMaxTimes':_0x5b8bd6,'contentType':_0x3f0716,'multipartChunkSize':_0x1fcf22,'baseCDN':_0x537d77,'checkForUrlDuplicates':_0x23958f,'saveUrlForRecurrentUploads':_0x2befdf})['then'](_0x27e20b=>_0x27e20b['uuid']):_0x4e43a1))['then'](_0x4b9685=>_0x59e1ea(_0x4b9685,{'publicKey':_0x26a66d,'baseURL':_0x1e9f9d,'jsonpCallback':_0x58da6c,'secureSignature':_0x52fb31,'secureExpire':_0x1e6b80,'signal':_0x2f2421,'source':_0x55ecfb,'integration':_0x176840,'userAgent':_0x21ae7c,'retryThrottledRequestMaxTimes':_0xb01e0e,'retryNetworkErrorMaxTimes':_0x5b8bd6})['then'](_0x4b36ff=>new _0xc6b9e9(_0x4b36ff,{'baseCDN':_0x537d77}))['then'](_0x3da51b=>(_0x175920&&_0x175920({'isComputable':!0x0,'value':0x1}),_0x3da51b)));}class _0x123ca5{['_concurrency']=0x1;['_pending']=[];['_running']=0x0;['_resolvers']=new Map();['_rejectors']=new Map();constructor(_0x3049d6){this['_concurrency']=_0x3049d6;}['run'](){const _0x18c172=this['_concurrency']-this['_running'];for(let _0x278ccd=0x0;_0x278ccd<_0x18c172;_0x278ccd++){const _0x3b00a3=this['_pending']['shift']();if(!_0x3b00a3)return;const _0x5c09b8=this['_resolvers']['get'](_0x3b00a3),_0x1e3bed=this['_rejectors']['get'](_0x3b00a3);if(!_0x5c09b8||!_0x1e3bed)throw new Error('Unexpected\x20behavior:\x20resolver\x20or\x20rejector\x20is\x20undefined');this['_running']+=0x1,_0x3b00a3()['finally'](()=>{this['_resolvers']['delete'](_0x3b00a3),this['_rejectors']['delete'](_0x3b00a3),this['_running']-=0x1,this['run']();})['then'](_0x17f683=>_0x5c09b8(_0x17f683))['catch'](_0x378b00=>_0x1e3bed(_0x378b00));}}['add'](_0x39ca9a,{autoRun:_0xed0816}={'autoRun':!0x0}){return new Promise((_0x3c94da,_0x245c01)=>{this['_resolvers']['set'](_0x39ca9a,_0x3c94da),this['_rejectors']['set'](_0x39ca9a,_0x245c01),this['_pending']['push'](_0x39ca9a),_0xed0816&&this['run']();});}get['pending'](){return this['_pending']['length'];}get['running'](){return this['_running'];}set['concurrency'](_0x3ab08b){this['_concurrency']=_0x3ab08b,this['run']();}get['concurrency'](){return this['_concurrency'];}}const _0x355c95={'button':['toolbar'],'checkbox':['toolbar'],'menuitem':['menu','menubar'],'option':['listbox'],'tab':['tablist']};function _0x29240f(_0x383f46,_0x4398fe){_0x4398fe['tabIndex']=0x0,_0x4398fe['focus'](),_0x383f46['tabIndex']=-0x1;}function findGroupNodeByEventTarget(_0xc9e237){let _0x34803b=_0xc9e237['role']||_0xc9e237['type']||_0xc9e237['tagName'];if(!_0x34803b)return null;let _0x38210c=_0x355c95[_0x34803b['toLowerCase']()];if(!_0x38210c)return null;for(let _0x23a08b of _0x38210c){let _0xde0bcc=_0xc9e237['closest']('[role='+_0x23a08b+']');if(_0xde0bcc)return _0xde0bcc;}}function getItems(_0x2c95f3,_0x144eb4){return'toolbar'===_0x144eb4['role']?getToolbarItems(_0x144eb4):_0x144eb4['querySelectorAll']('[role='+_0x2c95f3['role']+']');}function getToolbarItems(_0x35f7fe){return[..._0x35f7fe['querySelectorAll']('*')]['filter'](_0x271dee=>'button'===_0x271dee['role']||'button'===_0x271dee['type']||'checkbox'===_0x271dee['role']||'checkbox'===_0x271dee['type']);}function isHorizontalOrientation(_0x447b50){let _0x5bd036=_0x447b50['getAttribute']('aria-orientation');if('vertical'===_0x5bd036)return!0x1;if('horizontal'===_0x5bd036)return!0x0;let _0x1df424=_0x447b50['role'];return'menubar'===_0x1df424||'tablist'===_0x1df424||'toolbar'===_0x1df424;}function _0x4d4582(_0x5c6955){return _0x25bdb5=>{let _0x434c0b=!0x1,_0x384d30=0x0,_0x110b4d='';function _0x4bd0c9(_0x53a039){let _0x123d58=findGroupNodeByEventTarget(_0x53a039['target']);if(!_0x123d58)return void _0x505bb9();let _0x3de7c5=getItems(_0x53a039['target'],_0x123d58),_0x453d79=Array['from'](_0x3de7c5)['indexOf'](_0x53a039['target']),_0x108871='ArrowDown',_0x58ee8b='ArrowUp';if(isHorizontalOrientation(_0x123d58)&&('rtl'===_0x25bdb5['document']['dir']?(_0x108871='ArrowLeft',_0x58ee8b='ArrowRight'):(_0x108871='ArrowRight',_0x58ee8b='ArrowLeft')),_0x53a039['key']===_0x108871)_0x53a039['preventDefault'](),_0x29240f(_0x53a039['target'],_0x3de7c5[_0x453d79+0x1]||_0x3de7c5[0x0]);else{if(_0x53a039['key']===_0x58ee8b)_0x53a039['preventDefault'](),_0x29240f(_0x53a039['target'],_0x3de7c5[_0x453d79-0x1]||_0x3de7c5[_0x3de7c5['length']-0x1]);else{if('Home'===_0x53a039['key'])_0x53a039['preventDefault'](),_0x29240f(_0x53a039['target'],_0x3de7c5[0x0]);else{if('End'===_0x53a039['key'])_0x53a039['preventDefault'](),_0x29240f(_0x53a039['target'],_0x3de7c5[_0x3de7c5['length']-0x1]);else{if(0x1===_0x53a039['key']['length']&&'tablist'!==_0x123d58['role']){let _0x28bf27=Date['now']();_0x28bf27-_0x384d30<=0x12c?_0x110b4d+=_0x53a039['key']['toLowerCase']():_0x110b4d=_0x53a039['key']['toLowerCase'](),_0x384d30=_0x28bf27;let _0x20abdb=Array['from'](_0x3de7c5)['find'](_0x54cb42=>_0x54cb42['textContent']?.['trim']()?.['toLowerCase']()?.['startsWith'](_0x110b4d));_0x20abdb&&(_0x53a039['preventDefault'](),_0x29240f(_0x53a039['target'],_0x20abdb));}}}}}}function _0x505bb9(){_0x434c0b=!0x1,_0x25bdb5['removeEventListener']('keydown',_0x4bd0c9);}function _0x22d2e7(_0x594059){let _0x48ce2a=findGroupNodeByEventTarget(_0x594059['target']);if(_0x48ce2a){_0x434c0b||(_0x434c0b=!0x0,_0x25bdb5['addEventListener']('keydown',_0x4bd0c9));let _0x54cda9=getItems(_0x594059['target'],_0x48ce2a);for(let _0x2a91b8 of _0x54cda9)_0x2a91b8!==_0x594059['target']&&_0x2a91b8['setAttribute']('tabindex',-0x1);}else _0x434c0b&&_0x505bb9();}function _0x3d2cd3(_0x341a28){_0x341a28['relatedTarget']&&_0x341a28['relatedTarget']!==_0x25bdb5['document']||_0x505bb9();}function _0x59bbff(_0x365c6d){let _0x356c3b=findGroupNodeByEventTarget(_0x365c6d['target']);if(_0x356c3b){let _0x49eabe=getItems(_0x365c6d['target'],_0x356c3b);for(let _0x5521f0 of _0x49eabe)_0x5521f0!==_0x365c6d['target']&&_0x5521f0['setAttribute']('tabindex',-0x1);_0x365c6d['target']['setAttribute']('tabindex',0x0);}}return _0x25bdb5['addEventListener']('click',_0x59bbff),_0x25bdb5['addEventListener']('focusin',_0x22d2e7),_0x25bdb5['addEventListener']('focusout',_0x3d2cd3),()=>{_0x505bb9(),_0x25bdb5['removeEventListener']('click',_0x59bbff),_0x25bdb5['removeEventListener']('focusin',_0x22d2e7),_0x25bdb5['removeEventListener']('focusout',_0x3d2cd3);};};}function _0x5c4951(){return _0xefe36a=>{let _0x3f80df,_0xc8cc45;function _0x12485e(_0xf9efc5){if('true'===_0xf9efc5['target']['getAttribute']('aria-hidden')){_0x3f80df=_0xf9efc5['target'],_0x3f80df['setAttribute']('aria-hidden','false'),_0xc8cc45=_0x3f80df['hidden'],_0xc8cc45&&(_0x3f80df['hidden']=!0x1);let _0x403ca8=_0xf9efc5['target']['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x403ca8&&(_0x403ca8['tabIndex']=0x0);}}function _0x287165(_0x3228fb){!_0x3f80df||!_0x3f80df['contains'](_0x3228fb['target'])||_0x3228fb['relatedTarget']&&_0x3f80df['contains'](_0x3228fb['relatedTarget'])||(_0x3228fb['target']['tabIndex']=-0x1,_0x3f80df['setAttribute']('aria-hidden','true'),_0xc8cc45&&(_0x3f80df['hidden']=!0x0),_0x3f80df=null);}return _0xefe36a['addEventListener']('keyuxJump',_0x12485e),_0xefe36a['addEventListener']('focusout',_0x287165),()=>{_0xefe36a['removeEventListener']('keyuxJump',_0x12485e),_0xefe36a['removeEventListener']('focusout',_0x287165);};};}function _0x44247a(){return _0x6b7adf=>{let _0x582162=[];function _0x2f9207(){let _0x1eaf6d=_0x582162['pop']();if(!_0x1eaf6d)return void _0x6b7adf['document']['activeElement']['blur']();let _0x5171c8=_0x1eaf6d['deref']();_0x5171c8&&_0x5171c8['isConnected']?_0x5171c8['focus']():_0x2f9207();}let _0x5dacb4,_0x36d08f=0x0;function _0x53dd87(_0x115e65){clearInterval(_0x5dacb4);let _0x407d8d=_0x115e65['getAttribute']('aria-controls');_0x5dacb4=setInterval(()=>{if(_0x36d08f++>0x32)return void clearInterval(_0x5dacb4);let _0x191dba=_0x6b7adf['document']['getElementById'](_0x407d8d);if(_0x191dba){let _0x3f955d=_0x191dba['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x3f955d&&(clearInterval(_0x5dacb4),_0x191dba['dispatchEvent'](new _0x6b7adf['CustomEvent']('keyuxJump',{'bubbles':!0x0})),function(_0x3d04ec){let _0x1ed23f=_0x6b7adf['document']['activeElement'];_0x1ed23f&&_0x1ed23f!==_0x6b7adf['document']['body']&&_0x582162['push'](new WeakRef(_0x1ed23f)),_0x3d04ec['focus']({'focusVisible':!0x0});}(_0x3f955d));}},0x32);}function _0x3e2d2c(_0x50bf7f){_0x50bf7f['target']['getAttribute']('aria-controls')&&'Enter'===_0x50bf7f['key']&&_0x53dd87(_0x50bf7f['target']),'Escape'===_0x50bf7f['key']&&_0x2f9207();}return _0x6b7adf['addEventListener']('keydown',_0x3e2d2c),()=>{_0x6b7adf['removeEventListener']('keydown',_0x3e2d2c);};};}function _0x44c942(_0x4a9058){let _0xf84dc1,_0x4949e1,_0x543bb9=_0x4a9058['split']('\x20');function _0x45039b(_0x5d0dd3){'Enter'!==_0x5d0dd3['key']||'BUTTON'!==_0x5d0dd3['target']['tagName']&&'A'!==_0x5d0dd3['target']['tagName']||(_0x496635(),_0x5d0dd3['target']['classList']['add'](..._0x543bb9),_0xf84dc1=_0x5d0dd3['target'],_0x4949e1=_0x5d0dd3['target']);}function _0x496635(){_0xf84dc1&&_0xf84dc1['classList']['remove'](..._0x543bb9),_0x4949e1=null;}function _0x5e3e8a(_0x5afdd0){0x0===_0x5afdd0['clientX']&&0x0===_0x5afdd0['clientY']&&_0x4949e1!==_0x5afdd0['target']&&(_0x496635(),_0x5afdd0['target']['classList']['add'](..._0x543bb9),_0xf84dc1=_0x5afdd0['target']);}return _0x2003d3=>(_0x2003d3['addEventListener']('click',_0x5e3e8a),_0x2003d3['addEventListener']('keydown',_0x45039b),_0x2003d3['addEventListener']('keyup',_0x496635),()=>{_0x2003d3['removeEventListener']('click',_0x5e3e8a),_0x2003d3['removeEventListener']('keydown',_0x45039b),_0x2003d3['removeEventListener']('keyup',_0x496635);});}function startKeyUX(_0x4c316e,_0x21314d){let _0x49feff=_0x21314d['map'](_0x276567=>_0x276567(_0x4c316e));return()=>{_0x49feff['forEach'](_0x42b13c=>_0x42b13c());};}function _0x565edf(_0x1a311d){return _0x1a311d['replace'](/[A-Z]/g,_0x209301=>'_'+_0x209301['toLowerCase']())['replace'](/__/g,'_');}function _0x167d92(_0x3dce2a){return Array['isArray'](_0x3dce2a)?_0x3dce2a['map'](_0x20714b=>'object'==typeof _0x20714b&&null!==_0x20714b?_0x167d92(_0x20714b):_0x20714b):'object'!=typeof _0x3dce2a||null===_0x3dce2a?_0x3dce2a:Object['fromEntries'](Object['entries'](_0x3dce2a)['map'](([_0x39bddc,_0x326386])=>{const t=_0x565edf(_0x39bddc);return'object'==typeof _0x326386&&null!==_0x326386?[t,_0x167d92(_0x326386)]:[t,_0x326386];}));}function _0x98e3be(_0x20db2e){return{'ok':!0x0,'value':_0x20db2e};}function _0x2cebac(_0x1985df){return{'ok':!0x1,'error':_0x1985df};}const _0x8d8d8c='https://tlm.uploadcare.com/api/';class _0x23dc6e{constructor(_0x5412db=_0x8d8d8c){this['baseUrl']=_0x5412db;}async['base'](_0x18908f,_0x370fa0={}){const t=''+this['baseUrl']+_0x18908f;try{const _0x5f0ce5=await fetch(t,_0x370fa0);if(!_0x5f0ce5['ok'])return _0x2cebac(new Error('Got\x20non-200\x20response\x20from\x20\x22'+t+'\x22.\x20Status:\x20'+_0x5f0ce5['status']['toString']()));try{return _0x98e3be(await _0x5f0ce5['json']());}catch(_0xf71c04){return _0x2cebac(new Error('Error\x20parsing\x20JSON\x20from\x20\x22'+t+'\x22.\x20Error:\x20'+_0xf71c04));}}catch(_0x10a6ff){return _0x2cebac(new Error('Error\x20fetching\x20data\x20from\x20\x22'+t+'\x22.\x20Error:\x20'+_0x10a6ff));}}async['post'](_0x32d52a,_0x3db506,t={}){return await this['base'](_0x32d52a,{...t,'method':'POST','body':JSON['stringify'](_0x167d92(_0x3db506)),'headers':{'Content-Type':'application/json',...t['headers']||{}}});}async['get'](_0x330359,_0x38974a={}){return await this['base'](_0x330359,{'method':'GET',..._0x38974a});}}const _0x365c76=async(_0x108a18,_0x1bc54)=>({'success':!0x0,'data':_0x1bc54});class _0x1b6698 extends _0x23dc6e{constructor(){super();}async['sendEvent'](_0x134fa0,_0xdc7d6d){const t=await _0x365c76(void 0x0,_0x134fa0);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',_0x134fa0,_0xdc7d6d);}}const _0x57083e=(_0x2fb585,_0x12fb3d)=>{const _0x561468=new URL(_0x12fb3d);return _0x561468['hostname']=_0x2fb585+'.'+_0x561468['hostname'],_0x561468['toString']()['replace'](/\/$/,'');},_0x17df39='0123456789abcdefghijklmnopqrstuvwxyz',_0x38a2de=_0x403ba0=>{if(_0x403ba0<=0x0n)return'0';let _0x2e4c8a='';for(;_0x403ba0>0x0n;){_0x2e4c8a=_0x17df39[Number(_0x403ba0%0x24n)]+_0x2e4c8a,_0x403ba0/=0x24n;}return _0x2e4c8a;},_0x474771=(_0x1f6961,_0x8bac46)=>{try{const _0x15b3c5=new URL(_0x1f6961),t=new URL(_0x8bac46);return _0x15b3c5['hostname']['endsWith'](t['hostname']);}catch{return!0x1;}},_0x58310f=async _0x235af5=>{const _0x2545df=new TextEncoder()['encode'](_0x235af5),t=await window['crypto']['subtle']['digest']('SHA-256',_0x2545df),_0x1b5fb7=Array['from'](new Uint8Array(t))['map'](_0x4dfe51=>_0x4dfe51['toString'](0x10)['padStart'](0x2,'0'))['join']('');return BigInt('0x'+_0x1b5fb7);},_0x28dc04=0xa,_0x134cca=async _0x7b9d1d=>{const _0x1d4eec=await _0x58310f(_0x7b9d1d);return _0x38a2de(_0x1d4eec)['slice'](0x0,_0x28dc04);},_0x3eaef3=async(_0x1a981f,_0x5c4c33)=>{const t=await _0x134cca(_0x1a981f);return _0x57083e(t,_0x5c4c33);},_0x3684c4=()=>{const _0x39fa89=[];return{'stack':_0x39fa89,'promiseReadJpegChunks':_0x514a3a=>new Promise((_0xdf1270,_0x279fec)=>{let _0x13cb92=0x2;const _0x3ab177=(_0x159603,_0xd4964)=>{const _0x2f597a=new FileReader();_0x2f597a['addEventListener']('load',()=>{_0xd4964(new DataView(_0x2f597a['result']));}),_0x2f597a['addEventListener']('error',_0x1c97b7=>{_0x279fec('Reader\x20error:\x20'+_0x1c97b7);}),_0x2f597a['readAsArrayBuffer'](_0x159603);},_0x4d7ee6=()=>_0x3ab177(_0x514a3a['slice'](_0x13cb92,_0x13cb92+0x80),_0xef23db=>{let _0x27fb06,_0x2e40cf,_0x3ccc90;for(_0x27fb06=_0x2e40cf=0x0,_0x3ccc90=_0xef23db['byteLength'];_0x3ccc90>=0x0?_0x2e40cf<_0x3ccc90:_0x2e40cf>_0x3ccc90;_0x27fb06=_0x3ccc90>=0x0?++_0x2e40cf:--_0x2e40cf)if(0xff===_0xef23db['getUint8'](_0x27fb06)){_0x13cb92+=_0x27fb06;break;}_0x13ba56();}),_0x13ba56=()=>{const _0x449797=_0x13cb92;return _0x3ab177(_0x514a3a['slice'](_0x13cb92,_0x13cb92+=0x4),_0x16d0f5=>{if(0x4!==_0x16d0f5['byteLength']||0xff!==_0x16d0f5['getUint8'](0x0))return void _0x279fec('Corrupted');const _0x3e4dfe=_0x16d0f5['getUint8'](0x1);if(0xda===_0x3e4dfe)return void _0xdf1270(!0x0);const _0x2d7b6b=_0x16d0f5['getUint16'](0x2)-0x2;return _0x3ab177(_0x514a3a['slice'](_0x13cb92,_0x13cb92+=_0x2d7b6b),_0x5f4e48=>{_0x5f4e48['byteLength']===_0x2d7b6b?(_0x39fa89['push']({'startPos':_0x449797,'length':_0x2d7b6b,'marker':_0x3e4dfe,'view':_0x5f4e48}),_0x4d7ee6()):_0x279fec('Corrupted');});});};FileReader&&DataView||_0x279fec('Not\x20Support'),_0x3ab177(_0x514a3a['slice'](0x0,0x2),_0x4f6e4c=>{0xffd8!==_0x4f6e4c['getUint16'](0x0)&&_0x279fec('Not\x20jpeg'),_0x4d7ee6();});})};},getIccProfile=async _0x5928ef=>{const _0x12a74f=[],{promiseReadJpegChunks:_0x509473,stack:_0x132675}=_0x3684c4();return await _0x509473(_0x5928ef),_0x132675['forEach'](({marker:_0x286e26,view:_0x457874})=>{0xe2===_0x286e26&&0x4943435f===_0x457874['getUint32'](0x0)&&0x50524f46===_0x457874['getUint32'](0x4)&&0x494c4500===_0x457874['getUint32'](0x8)&&_0x12a74f['push'](_0x457874);}),_0x12a74f;},_0x5d0e38=async(_0x7fe6c5,_0x52e143,_0x37725b)=>{{const _0x15b71d=[],_0x4f11cd=[],{promiseReadJpegChunks:_0x44e743,stack:_0x269cb6}=_0x3684c4();await _0x44e743(_0x7fe6c5),_0x269cb6['forEach'](_0x2cc462=>{if(_0x2cc462['marker']===_0x52e143)return _0x15b71d['push'](_0x2cc462['startPos']),_0x4f11cd['push'](_0x2cc462['length']);});const _0xd91c17=[_0x7fe6c5['slice'](0x0,0x2)];for(const _0x4735d5 of _0x37725b){const _0x43d735=new DataView(new ArrayBuffer(0x4));_0x43d735['setUint16'](0x0,0xff00+_0x52e143),_0x43d735['setUint16'](0x2,_0x4735d5['byteLength']+0x2),_0xd91c17['push'](_0x43d735['buffer']),_0xd91c17['push'](_0x4735d5);}let _0x2f9485=0x2;for(let _0x62b987=0x0;_0x62b987<_0x15b71d['length'];_0x62b987++)_0x15b71d[_0x62b987]>_0x2f9485&&_0xd91c17['push'](_0x7fe6c5['slice'](_0x2f9485,_0x15b71d[_0x62b987])),_0x2f9485=_0x15b71d[_0x62b987]+_0x4f11cd[_0x62b987]+0x4;return _0xd91c17['push'](_0x7fe6c5['slice'](_0x2f9485,_0x7fe6c5['size'])),new Blob(_0xd91c17,{'type':_0x7fe6c5['type']});}},_0x405874=0xe2,_0x1c8b98=(_0x333f37,_0x4e4cce)=>_0x5d0e38(_0x333f37,_0x405874,_0x4e4cce['map'](_0x143d87=>_0x143d87['buffer'])),stripIccProfile=async _0x26dcf9=>{try{return await _0x1c8b98(_0x26dcf9,[]);}catch(_0x269056){throw new Error('Failed\x20to\x20strip\x20ICC\x20profile:\x20'+_0x269056);}},_0x4fdf81=(_0x220206,_0x4192fa,_0x288c11)=>new Promise((_0x14b33a,_0x4a725a)=>{_0x220206['toBlob'](_0x6b6d03=>{_0x6b6d03?_0x14b33a(_0x6b6d03):_0x4a725a('Failed\x20to\x20convert\x20canvas\x20to\x20blob');},_0x4192fa,_0x288c11),_0x220206['width']=_0x220206['height']=0x1;}),createCanvas=()=>{const _0x5d0e47=document['createElement']('canvas'),_0x2e5f55=_0x5d0e47['getContext']('2d');return{'canvas':_0x5d0e47,'ctx':_0x2e5f55};},_0x19e922=_0x2ebc1b=>{const {ctx:_0x1371c2,canvas:_0x51fe2e}=createCanvas();_0x51fe2e['width']=_0x51fe2e['height']=0x32,_0x1371c2['drawImage'](_0x2ebc1b,0x0,0x0,0x32,0x32);const _0x2bbb98=_0x1371c2['getImageData'](0x0,0x0,0x32,0x32)['data'];_0x51fe2e['width']=_0x51fe2e['height']=0x1;for(let _0x11bc00=0x3;_0x11bc00<_0x2bbb98['length'];_0x11bc00+=0x4)if(_0x2bbb98[_0x11bc00]<0xfe)return!0x0;return!0x1;},getExif=async _0x5e4004=>{let _0x12eb4b=null;const {promiseReadJpegChunks:_0x2bd21a,stack:_0x1b13ab}=_0x3684c4();return await _0x2bd21a(_0x5e4004),_0x1b13ab['forEach'](({marker:_0xb5cde9,view:_0x84b697})=>{!_0x12eb4b&&0xe1===_0xb5cde9&&_0x84b697['byteLength']>=0xe&&0x45786966===_0x84b697['getUint32'](0x0)&&0x0===_0x84b697['getUint16'](0x4)&&(_0x12eb4b=_0x84b697);}),_0x12eb4b;},_0x24d24f='data:image/jpg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4QA6RXhpZgAATU0AKgAAAAgAAwESAAMAAAABAAYAAAEoAAMAAAABAAIAAAITAAMAAAABAAEAAAAAAAD/2wBDAP//////////////////////////////////////////////////////////////////////////////////////wAALCAABAAIBASIA/8QAJgABAAAAAAAAAAAAAAAAAAAAAxABAAAAAAAAAAAAAAAAAAAAAP/aAAgBAQAAPwBH/9k=';let _0x13df59;const isBrowserApplyExifOrientation=()=>new Promise(_0x2463b3=>{if(void 0x0!==_0x13df59)_0x2463b3(_0x13df59);else{const _0x1f025c=new Image();_0x1f025c['addEventListener']('load',()=>{_0x13df59=_0x1f025c['naturalWidth']<_0x1f025c['naturalHeight'],_0x1f025c['src']='//:0',_0x2463b3(_0x13df59);}),_0x1f025c['src']=_0x24d24f;}}),findExifOrientation=(_0x5a4195,_0x59f3fb)=>{let _0x2964cb,_0x21a36e,_0x54ef64,_0x59b229;if(!_0x5a4195||_0x5a4195['byteLength']<0xe||0x45786966!==_0x5a4195['getUint32'](0x0)||0x0!==_0x5a4195['getUint16'](0x4))return;if(0x4949===_0x5a4195['getUint16'](0x6))_0x21a36e=!0x0;else{if(0x4d4d!==_0x5a4195['getUint16'](0x6))return;_0x21a36e=!0x1;}if(0x2a!==_0x5a4195['getUint16'](0x8,_0x21a36e))return;_0x54ef64=0x8+_0x5a4195['getUint32'](0xa,_0x21a36e);for(_0x2964cb=0x0,_0x59b229=_0x5a4195['getUint16'](_0x54ef64-0x2,_0x21a36e);_0x59b229>=0x0?_0x2964cb<_0x59b229:_0x2964cb>_0x59b229;_0x59b229>=0x0?++_0x2964cb:--_0x2964cb){if(_0x5a4195['byteLength']<_0x54ef64+0xa)return;0x112===_0x5a4195['getUint16'](_0x54ef64,_0x21a36e)&&_0x59f3fb(_0x54ef64+0x8,_0x21a36e),_0x54ef64+=0xc;}},setExifOrientation=(_0x2b8de0,_0x5f16f9)=>{findExifOrientation(_0x2b8de0,(_0x26918e,_0x2c3d57)=>_0x2b8de0['setUint16'](_0x26918e,_0x5f16f9,_0x2c3d57));},_0x565d6b=async(_0x578597,_0x4444c7,_0x51bee9)=>(_0x51bee9&&setExifOrientation(_0x4444c7,0x1),_0x5d0e38(_0x578597,0xe1,[_0x4444c7['buffer']])),_0x335f8e=(_0x3d11ec,_0x4e4cea)=>new Promise((_0x5d23ee,_0x2175db)=>{_0x4e4cea&&(_0x3d11ec['src']=_0x4e4cea),_0x3d11ec['complete']?_0x5d23ee(_0x3d11ec):(_0x3d11ec['addEventListener']('load',()=>{_0x5d23ee(_0x3d11ec);}),_0x3d11ec['addEventListener']('error',()=>{_0x2175db(new Error('Failed\x20to\x20load\x20image.\x20Probably\x20not\x20an\x20image.'));}));}),_0x59f96e=_0x9ac33d=>_0x335f8e(new Image(),_0x9ac33d),_0x5ca432=[0x1,0x3],_0x266544=[0xc0,0xc1,0xc2,0xc3,0xc5,0xc6,0xc7,0xc9,0xca,0xcb,0xcd,0xce,0xcf],_0x1a8bc8={'squareSide':[Math['floor'](Math['sqrt'](0x4c4b40)),0x1000,0x2000,0x2bac,0x2a54,0x2c8a,0x376c,0x4000],'dimension':[0x1000,0x2000,0x4000,0x7fff,0xffff]},_0x419843=async _0x1eccad=>{let _0xa544e8=!0x1;const {promiseReadJpegChunks:_0x45fa48,stack:_0x31ba7c}=_0x3684c4();return await _0x45fa48(_0x1eccad)['then'](()=>(_0x31ba7c['forEach'](({marker:_0x2b8c86,view:_0xc72289})=>{if(!_0xa544e8&&_0x266544['indexOf'](_0x2b8c86)>=0x0){const _0x32d8cd=_0xc72289['getUint8'](0x5);_0x5ca432['indexOf'](_0x32d8cd)<0x0&&(_0xa544e8=!0x0);}}),_0xa544e8))['catch'](()=>_0xa544e8);},_0x4e59f9=(_0x3b1352,_0x3b08f1)=>{const _0x4ca2ac={};return(..._0x30f75e)=>{const _0x329902=_0x3b08f1(_0x30f75e,_0x4ca2ac);return _0x329902 in _0x4ca2ac?_0x4ca2ac[_0x329902]:_0x4ca2ac[_0x329902]=_0x3b1352(..._0x30f75e);};},_0x2e36d6=(_0x4346bd,_0x4b50d2)=>{const [_0x1a9050]=_0x4346bd,_0x5d0d77=Object['keys'](_0x4b50d2)['map'](_0x5b3ff1=>parseInt(_0x5b3ff1,0xa))['sort']((_0x32fe94,_0x799743)=>_0x32fe94-_0x799743);for(let _0x5a2ce8=0x0;_0x5a2ce8<_0x5d0d77['length'];_0x5a2ce8++){const _0x517763=_0x5d0d77[_0x5a2ce8],_0x52282f=!!_0x4b50d2[_0x517763];if(_0x517763>_0x1a9050&&_0x52282f)return _0x517763;if(_0x517763<_0x1a9050&&!_0x52282f)return _0x517763;}return _0x1a9050;},TestPixel={'R':0x37,'G':0x6e,'B':0xa5,'A':0xff},_0x5aec21='rgba('+TestPixel['R']+',\x20'+TestPixel['G']+',\x20'+TestPixel['B']+',\x20'+TestPixel['A']/0xff+')',canvasTest=(_0x6044d1,_0x5de1fe)=>{try{const _0x1d4dc1=[_0x6044d1-0x1,_0x5de1fe-0x1,0x1,0x1],{canvas:_0x535173,ctx:_0x144db8}=createCanvas();_0x535173['width']=0x1,_0x535173['height']=0x1;const {canvas:_0x27e0a0,ctx:_0x52fb12}=createCanvas();_0x27e0a0['width']=_0x6044d1,_0x27e0a0['height']=_0x5de1fe,_0x52fb12&&(_0x52fb12['fillStyle']=_0x5aec21,_0x52fb12['fillRect'](..._0x1d4dc1),_0x144db8['drawImage'](_0x27e0a0,_0x6044d1-0x1,_0x5de1fe-0x1,0x1,0x1,0x0,0x0,0x1,0x1));const _0x573174=_0x144db8&&_0x144db8['getImageData'](0x0,0x0,0x1,0x1)['data'];let _0x38560e=!0x1;return _0x573174&&(_0x38560e=_0x573174[0x0]===TestPixel['R']&&_0x573174[0x1]===TestPixel['G']&&_0x573174[0x2]===TestPixel['B']&&_0x573174[0x3]===TestPixel['A']),_0x27e0a0['width']=_0x27e0a0['height']=0x1,_0x38560e;}catch(_0x44885a){return console['error']('Failed\x20to\x20test\x20for\x20max\x20canvas\x20size\x20of\x20'+_0x6044d1+'x'+_0x5de1fe+'.'),!0x1;}};function _0x9722e4(_0x36da01){return(..._0x3fec7)=>new Promise(_0x58d788=>{setTimeout(()=>{const _0x4a70b2=_0x36da01(..._0x3fec7);_0x58d788(_0x4a70b2);},0x0);});}const squareTest=_0x9722e4(_0x4e59f9(canvasTest,_0x2e36d6)),dimensionTest=_0x9722e4(_0x4e59f9(canvasTest,_0x2e36d6)),testCanvasSize=async(_0x531d36,_0x150fb5)=>{const _0x2a1236=_0x1a8bc8['squareSide']['find'](_0x3383ad=>_0x3383ad*_0x3383ad>=_0x531d36*_0x150fb5),_0x4c20ec=_0x1a8bc8['dimension']['find'](_0x3356da=>_0x3356da>=_0x531d36&&_0x3356da>=_0x150fb5);if(!_0x2a1236||!_0x4c20ec)throw new Error('Not\x20supported');const [_0x1a7d0a,_0x2149ad]=await Promise['all']([squareTest(_0x2a1236,_0x2a1236),dimensionTest(_0x4c20ec,0x1)]);if(_0x1a7d0a&&_0x2149ad)return!0x0;throw new Error('Not\x20supported');},_0x170c8b=async(_0x149dce,_0x28d6c3,_0x118c93)=>{try{const {ctx:_0x2810de,canvas:_0x3aa72d}=createCanvas();return _0x3aa72d['width']=_0x28d6c3,_0x3aa72d['height']=_0x118c93,_0x2810de['imageSmoothingQuality']='high',_0x2810de['drawImage'](_0x149dce,0x0,0x0,_0x28d6c3,_0x118c93),_0x149dce instanceof HTMLImageElement&&(_0x149dce['src']='//:0'),_0x149dce instanceof HTMLCanvasElement&&(_0x149dce['width']=_0x149dce['height']=0x1),_0x3aa72d;}catch(_0x4b66f4){throw new Error('Canvas\x20resize\x20error',{'cause':_0x4b66f4});}},native=({img:_0x19c946,targetW:_0x17bf4f,targetH:_0x1d972c})=>_0x170c8b(_0x19c946,_0x17bf4f,_0x1d972c),calcShrinkSteps=function({sourceW:_0xb3788,targetW:_0x1cdc8d,targetH:_0x5284c2,step:_0x7da089}){const _0x1d1d1d=[];let _0x2a428d=_0x1cdc8d,_0x4806a9=_0x5284c2;do{_0x1d1d1d['push']([_0x2a428d,_0x4806a9]),_0x2a428d=Math['round'](_0x2a428d/_0x7da089),_0x4806a9=Math['round'](_0x4806a9/_0x7da089);}while(_0x2a428d<_0xb3788*_0x7da089);return _0x1d1d1d['reverse']();},_0x27f689=({img:_0x8b0697,sourceW:_0x53705a,targetW:_0xf36b74,targetH:_0x50bc68,step:_0x3baf91})=>{const _0x3e840f=calcShrinkSteps({'sourceW':_0x53705a,'targetW':_0xf36b74,'targetH':_0x50bc68,'step':_0x3baf91});return _0x3e840f['reduce']((_0x1223bc,[_0x469a4a,_0x4b25b1],_0x3ce78b)=>_0x1223bc['then'](_0x1949e6=>testCanvasSize(_0x469a4a,_0x4b25b1)['then'](()=>_0x170c8b(_0x1949e6,_0x469a4a,_0x4b25b1))['catch'](()=>{if(_0x3ce78b===_0x3e840f['length']-0x1)throw new Error('Not\x20supported');return _0x1949e6;})),Promise['resolve'](_0x8b0697));},_0x39c7fc=()=>!!/iPad|iPhone|iPod/['test'](navigator['platform'])||navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform']),_0x50d538=navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform']),_0x4b38ce=0.71,_0x2c0836=(_0x3511aa,_0x5772e1)=>{if(_0x3511aa['width']*_0x4b38ce*_0x3511aa['height']*_0x4b38ce<_0x5772e1['size'])throw new Error('Not\x20required');const _0x56f56a=_0x3511aa['width'],_0x5a4879=_0x3511aa['height'],_0x57d4d8=_0x56f56a/_0x5a4879,_0x2941bf=Math['floor'](Math['sqrt'](_0x5772e1['size']*_0x57d4d8)),_0x1a8715=Math['floor'](_0x5772e1['size']/Math['sqrt'](_0x5772e1['size']*_0x57d4d8));return testCanvasSize(_0x2941bf,_0x1a8715)['then'](()=>{const {ctx:_0x39f8ef}=createCanvas();return'imageSmoothingQuality'in _0x39f8ef&&!_0x39c7fc()&&!_0x50d538?native({'img':_0x3511aa,'targetW':_0x2941bf,'targetH':_0x1a8715}):_0x27f689({'img':_0x3511aa,'sourceW':_0x56f56a,'targetW':_0x2941bf,'targetH':_0x1a8715,'step':_0x4b38ce});})['catch'](()=>Promise['reject']('Not\x20supported'));},_0x2ca5d0=async(_0xfab0cf,_0x384e0f)=>{try{if(await _0x419843(_0xfab0cf))throw new Error('Should\x20skipped');const _0x3d991d=await Promise['allSettled']([getExif(_0xfab0cf),isBrowserApplyExifOrientation(),getIccProfile(_0xfab0cf)]),_0x544454=!_0x3d991d['some'](_0x102cab=>'rejected'===_0x102cab['status']),[_0x349c4f,_0x375cc7,_0x1bf167]=_0x3d991d,_0x12dafa=await stripIccProfile(_0xfab0cf)['catch'](()=>_0xfab0cf),_0x219321=await _0x59f96e(URL['createObjectURL'](_0x12dafa));URL['revokeObjectURL'](_0x219321['src']);const _0x440833=await _0x2c0836(_0x219321,_0x384e0f);let _0x5eb4a1='image/jpeg',_0x668596=_0x384e0f?.['quality']||0.8;!_0x544454&&_0x19e922(_0x440833)&&(_0x5eb4a1='image/png',_0x668596=void 0x0);let _0x174de0=await _0x4fdf81(_0x440833,_0x5eb4a1,_0x668596);if(_0x544454&&'fulfilled'===_0x349c4f['status']&&_0x349c4f['value']){const _0x5c6544=_0x349c4f['value'],_0x42f69f='fulfilled'===_0x375cc7['status']&&_0x375cc7['value'];_0x174de0=await _0x565d6b(_0x174de0,_0x5c6544,_0x42f69f);}return _0x544454&&'fulfilled'===_0x1bf167['status']&&_0x1bf167['value']['length']>0x0&&(_0x174de0=await _0x1c8b98(_0x174de0,_0x1bf167['value'])),_0x174de0;}catch(_0x2a22dd){let _0x25086c;throw _0x2a22dd instanceof Error&&(_0x25086c=_0x2a22dd['message']),'string'==typeof _0x2a22dd&&(_0x25086c=_0x2a22dd),new Error('Failed\x20to\x20shrink\x20image.\x20'+(_0x25086c?'Message:\x20\x22'+_0x25086c+'\x22.':''),{'cause':_0x2a22dd});}};var _0x54a789=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(_0x2f5111){this['_debugPrint']=_0x2f5111;}['bindTarget'](_0x49e13c){this['_targets']['add'](_0x49e13c);}['unbindTarget'](_0xe86505){this['_targets']['delete'](_0xe86505);}['_dispatch'](_0x4ea0a0,_0x5afd48){for(const _0x3e7fb2 of this['_targets'])_0x3e7fb2['dispatchEvent'](new CustomEvent(_0x4ea0a0,{'detail':_0x5afd48}));this['_debugPrint']?.(()=>{const _0x199c2c=_0x5afd48&&'object'==typeof _0x5afd48?{..._0x5afd48}:_0x5afd48;return['event\x20\x22'+_0x4ea0a0+'\x22',_0x199c2c];});}['emit'](_0x3dcdff,_0x3aef92,_0x4cbc20={}){const {debounce:_0x3dc032}=_0x4cbc20;if('number'!=typeof _0x3dc032&&!_0x3dc032)return void this['_dispatch'](_0x3dcdff,'function'==typeof _0x3aef92?_0x3aef92():_0x3aef92);this['_timeoutStore']['has'](_0x3dcdff)&&window['clearTimeout'](this['_timeoutStore']['get'](_0x3dcdff));const _0x461707='number'==typeof _0x3dc032?_0x3dc032:_0x54a789,_0x488ee2=window['setTimeout'](()=>{this['_dispatch'](_0x3dcdff,'function'==typeof _0x3aef92?_0x3aef92():_0x3aef92),this['_timeoutStore']['delete'](_0x3dcdff);},_0x461707);this['_timeoutStore']['set'](_0x3dcdff,_0x488ee2);}};function _0xe9436c(_0x2785fd,_0x22199d){let _0x4b205b;const _0x4c4606=(..._0x49b4ce)=>{_0x4b205b&&clearTimeout(_0x4b205b),_0x4b205b=setTimeout(()=>_0x2785fd(..._0x49b4ce),_0x22199d);};return _0x4c4606['cancel']=()=>{_0x4b205b&&clearTimeout(_0x4b205b);},_0x4c4606;}var _0x5ab57c=_0x48304d=>_0x48304d?_0x48304d['split'](',')['map'](_0x4103f1=>_0x4103f1['trim']())['filter'](Boolean):[],_0x4d7005=_0x47fb63=>_0x47fb63['join'](','),normalizeCdnOperation=_0x5db11e=>{if('string'!=typeof _0x5db11e||!_0x5db11e)return'';let _0x5add74=_0x5db11e['trim']();return _0x5add74['startsWith']('-/')?_0x5add74=_0x5add74['slice'](0x2):_0x5add74['startsWith']('/')&&(_0x5add74=_0x5add74['slice'](0x1)),_0x5add74['endsWith']('/')&&(_0x5add74=_0x5add74['slice'](0x0,_0x5add74['length']-0x1)),_0x5add74;},joinCdnOperations=(..._0x1df167)=>_0x1df167['filter'](_0x5d2311=>'string'==typeof _0x5d2311&&!!_0x5d2311)['map'](_0x2274ca=>normalizeCdnOperation(_0x2274ca))['join']('/-/'),createCdnUrlModifiers=(..._0x51735d)=>{const _0x1c0cf3=joinCdnOperations(..._0x51735d);return _0x1c0cf3?'-/'+_0x1c0cf3+'/':'';};function extractFilename(_0x16be9e){const _0x34fa94=new URL(_0x16be9e),_0xa4ccbc=_0x34fa94['pathname']+_0x34fa94['search']+_0x34fa94['hash'],_0x28a74d=_0xa4ccbc['lastIndexOf']('http'),_0x472ae3=_0xa4ccbc['lastIndexOf']('/');let _0x348708='';return _0x28a74d>=0x0?_0x348708=_0xa4ccbc['slice'](_0x28a74d):_0x472ae3>=0x0&&(_0x348708=_0xa4ccbc['slice'](_0x472ae3+0x1)),_0x348708;}function extractUuid(_0x1de9e3){const _0x891e5c=new URL(_0x1de9e3),{pathname:_0x98b784}=_0x891e5c,_0x43f5d5=_0x98b784['indexOf']('/'),_0xd0d22e=_0x98b784['indexOf']('/',_0x43f5d5+0x1);return _0x98b784['substring'](_0x43f5d5+0x1,_0xd0d22e);}function extractCdnUrlModifiers(_0x46b2dc){const _0x5b187b=trimFilename(_0x46b2dc),_0x317ae4=new URL(_0x5b187b),_0x409ac0=_0x317ae4['pathname']['indexOf']('/-/');if(-0x1===_0x409ac0)return'';return _0x317ae4['pathname']['substring'](_0x409ac0)['slice'](0x1);}function extractOperations(_0x37adc7){return extractCdnUrlModifiers(_0x37adc7)['split']('/-/')['filter'](Boolean)['map'](_0x563fb6=>normalizeCdnOperation(_0x563fb6));}function trimFilename(_0x1cd634){const _0x750594=new URL(_0x1cd634),_0x1f65b4=extractFilename(_0x1cd634),_0x18b51c=_0x2b30bf(_0x1f65b4)?splitFileUrl(_0x1f65b4)['pathname']:_0x1f65b4;return _0x750594['pathname']=_0x750594['pathname']['replace'](_0x18b51c,''),_0x750594['search']='',_0x750594['hash']='',_0x750594['toString']();}function _0x2b30bf(_0x1a4e93){return _0x1a4e93['startsWith']('http');}function splitFileUrl(_0x649c0c){const _0x2cfeb8=new URL(_0x649c0c);return{'pathname':''+_0x2cfeb8['origin']+(_0x2cfeb8['pathname']??''),'search':_0x2cfeb8['search']??'','hash':_0x2cfeb8['hash']??''};}var createCdnUrl=(_0x108bb7,_0x1ff15e,_0x45868b)=>{const _0xb53a29=new URL(trimFilename(_0x108bb7)),_0x2228da=_0x45868b??extractFilename(_0x108bb7),_0x2a1377=_0x1ff15e??'';if(_0xb53a29['pathname']['startsWith']('//')&&(_0xb53a29['pathname']=_0xb53a29['pathname']['replace']('//','/')),_0x2228da&&_0x2b30bf(_0x2228da)){const _0x54e5fd=splitFileUrl(_0x2228da);_0xb53a29['pathname']=''+_0xb53a29['pathname']+_0x2a1377+(_0x54e5fd['pathname']||''),_0xb53a29['search']=_0x54e5fd['search'],_0xb53a29['hash']=_0x54e5fd['hash'];}else _0xb53a29['pathname']=''+_0xb53a29['pathname']+_0x2a1377+(_0x2228da||'');return _0xb53a29['toString']();},createOriginalUrl=(_0x4dfe7c,_0x4e668b)=>{const _0x27b76a=new URL(_0x4dfe7c);return _0x27b76a['pathname']=_0x4e668b+'/',_0x27b76a['toString']();},stringToArray=(_0x5b4c89,_0x4db5db=',')=>_0x5b4c89['trim']()['split'](_0x4db5db)['map'](_0x444ed7=>_0x444ed7['trim']())['filter'](_0x435d93=>_0x435d93['length']>0x0),_0x6833b0=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}),_0x4fbaf7=['enhance','brightness','exposure','gamma','contrast','saturation','vibrance','warmth','filter','mirror','flip','rotate','crop'];function transformationToStr(_0x283557,_0x36dd7b){if('number'==typeof _0x36dd7b){const _0x451232=_0x36dd7b;return _0x6833b0[_0x283557]!==_0x451232?_0x283557+'/'+_0x451232:'';}if('boolean'==typeof _0x36dd7b){const _0x4a2912=_0x36dd7b;return _0x6833b0[_0x283557]!==_0x4a2912?''+_0x283557:'';}if('filter'===_0x283557&&_0x36dd7b){const {name:_0xf67110,amount:_0x38c922}=_0x36dd7b;return _0x6833b0['filter']===_0x38c922?'':_0x283557+'/'+_0xf67110+'/'+_0x38c922;}if('crop'===_0x283557&&_0x36dd7b){const {dimensions:_0x4f7182,coords:_0x5c7ccc}=_0x36dd7b;return _0x283557+'/'+_0x4f7182['join']('x')+'/'+_0x5c7ccc['join'](',');}return'';}function transformationsToOperations(_0x47261e){return joinCdnOperations(..._0x4fbaf7['filter'](_0x49a107=>void 0x0!==_0x47261e[_0x49a107]&&null!==_0x47261e[_0x49a107])['map'](_0x7ad07f=>transformationToStr(_0x7ad07f,_0x47261e[_0x7ad07f]))['filter'](_0x2ff3cc=>!!_0x2ff3cc));}var _0x4a860c=joinCdnOperations('format/auto','progressive/yes'),_0x33a3af=([_0x100fc3])=>void 0x0!==_0x100fc3?Number(_0x100fc3):void 0x0,_0x566e80=()=>!0x0,asFilter=([_0x2f5824,_0x3fd7ef])=>({'name':_0x2f5824,'amount':void 0x0!==_0x3fd7ef?Number(_0x3fd7ef):0x64}),_0x4f697e=([_0x340b34,_0x241999])=>{if(!/\d+x\d+/['test'](_0x340b34)||!/\d+,\d+/['test'](_0x241999))throw new Error('Crop\x20by\x20aspect\x20ratio,\x20percentage\x20or\x20alignment\x20shortcuts\x20is\x20not\x20supported.');return{'dimensions':stringToArray(_0x340b34,'x')['map'](Number),'coords':stringToArray(_0x241999)['map'](Number)};},_0x451085=Object['freeze']({'enhance':_0x33a3af,'brightness':_0x33a3af,'exposure':_0x33a3af,'gamma':_0x33a3af,'contrast':_0x33a3af,'saturation':_0x33a3af,'vibrance':_0x33a3af,'warmth':_0x33a3af,'filter':asFilter,'mirror':_0x566e80,'flip':_0x566e80,'rotate':_0x33a3af,'crop':_0x30e5e3=>{const [_0x57dac1,_0x2b2347]=_0x30e5e3,{dimensions:_0x5de36c,coords:_0x3ad699}=_0x4f697e([_0x57dac1,_0x2b2347]);return{'dimensions':_0x5de36c,'coords':_0x3ad699};}});function operationsToTransformations(_0x388d75){const _0x500aa8={};for(const _0x10d273 of _0x388d75){const [_0x2b6cb5,..._0x42c671]=_0x10d273['split']('/');if(!_0x2b6cb5||!_0x4fbaf7['includes'](_0x2b6cb5))continue;const _0x377e14=_0x2b6cb5,_0x2ae466=_0x451085[_0x377e14];try{const _0x2a3ed0=_0x2ae466(_0x42c671);_0x500aa8[_0x377e14]=_0x2a3ed0;}catch(_0x367c11){console['warn'](['Failed\x20to\x20parse\x20URL\x20operation\x20\x22'+_0x10d273+'\x22.\x20It\x20will\x20be\x20ignored.',_0x367c11 instanceof Error?'Error\x20message:\x20\x22'+_0x367c11['message']+'\x22':_0x367c11,'If\x20you\x20need\x20this\x20functionality,\x20please\x20feel\x20free\x20to\x20open\x20an\x20issue\x20at\x20https://github.com/uploadcare/blocks/issues/new']['join']('\x0a'));}}return _0x500aa8;}var _0x430bb6=Object['freeze']({'CROP':'crop','TUNING':'tuning','FILTERS':'filters'}),_0x455ce3=Object['freeze']([_0x430bb6['CROP'],_0x430bb6['TUNING'],_0x430bb6['FILTERS']]),_0x31db82=Object['freeze'](['brightness','exposure','gamma','contrast','saturation','vibrance','warmth','enhance']),_0x3da728=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']),_0x1f84ab=Object['freeze'](['rotate','mirror','flip']),_0x53f199=_0x6833b0,_0x148bb4=Object['freeze']({'brightness':{'zero':_0x53f199['brightness'],'range':[-0x64,0x64],'keypointsNumber':0x2},'exposure':{'zero':_0x53f199['exposure'],'range':[-0x1f4,0x1f4],'keypointsNumber':0x2},'gamma':{'zero':_0x53f199['gamma'],'range':[0x0,0x3e8],'keypointsNumber':0x2},'contrast':{'zero':_0x53f199['contrast'],'range':[-0x64,0x1f4],'keypointsNumber':0x2},'saturation':{'zero':_0x53f199['saturation'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'vibrance':{'zero':_0x53f199['vibrance'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'warmth':{'zero':_0x53f199['warmth'],'range':[-0x64,0x64],'keypointsNumber':0x1},'enhance':{'zero':_0x53f199['enhance'],'range':[0x0,0x64],'keypointsNumber':0x1},'filter':{'zero':_0x53f199['filter'],'range':[0x0,0x64],'keypointsNumber':0x1}}),_0x4d444e='https://ucarecdn.com',_0x8de91a='https://upload.uploadcare.com',_0x5ad006='https://social.uploadcare.com',_0x339f78='https://ucarecd.net',_0x316b43={'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':_0x4d7005(_0x455ce3),'maxLocalFileSizeBytes':0x0,'thumbSize':0x4c,'showEmptyList':!0x1,'useLocalImageEditor':!0x1,'useCloudImageEditor':!0x0,'removeCopyright':!0x1,'cropPreset':'','imageShrink':'','modalScrollLock':!0x0,'modalBackdropStrokes':!0x1,'sourceListWrap':!0x0,'remoteTabSessionKey':'','cdnCname':_0x4d444e,'cdnCnamePrefixed':_0x339f78,'baseUrl':_0x8de91a,'socialBaseUrl':_0x5ad006,'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'](_0x316b43),getLocaleDirection=_0x429c3b=>{const _0x10c2fc=new Intl['Locale'](_0x429c3b);let _0x33147b='ltr';const _0x5312a1=_0x10c2fc['getTextInfo']?.()['direction'];return _0x5312a1?_0x33147b=_0x5312a1:_0x10c2fc['textInfo']?.['direction']&&(_0x33147b=_0x10c2fc['textInfo']['direction']),_0x33147b;},getPluralForm=(_0x86c9b6,_0x276d72)=>new Intl['PluralRules'](_0x86c9b6)['select'](_0x276d72),_0x284f84=_0x5e6143=>_0x5e6143,_0x505b63='{{',_0x25b7d8='}}',_0x23da1e='plural:';function applyTemplateData(_0x2e5d48,_0x4ef9eb={},_0x3d1e92={}){const {openToken:_0x59eadb=_0x505b63,closeToken:_0x51e20f=_0x25b7d8,transform:_0x4deb81=_0x284f84}=_0x3d1e92;for(const _0x360f7b in _0x4ef9eb){const _0x799230=_0x4ef9eb[_0x360f7b],_0x321eaf=null!=_0x799230?_0x799230['toString']():void 0x0,_0x113f1e='string'==typeof _0x321eaf?_0x4deb81(_0x321eaf):String(_0x321eaf);_0x2e5d48=_0x2e5d48['replaceAll'](_0x59eadb+_0x360f7b+_0x51e20f,_0x113f1e);}return _0x2e5d48;}function getPluralObjects(_0xee6c31){const _0x3057e6=[];let _0x2b4c79=_0xee6c31['indexOf'](_0x505b63);for(;-0x1!==_0x2b4c79;){const _0x152313=_0xee6c31['indexOf'](_0x25b7d8,_0x2b4c79);if(-0x1===_0x152313)break;const _0x4c5d16=_0xee6c31['substring'](_0x2b4c79+0x2,_0x152313);if(_0x4c5d16['startsWith'](_0x23da1e)){const _0x8f8343=_0xee6c31['substring'](_0x2b4c79+0x2,_0x152313)['replace'](_0x23da1e,''),_0x5af3f=_0x8f8343['substring'](0x0,_0x8f8343['indexOf']('(')),_0x4fd661=_0x8f8343['substring'](_0x8f8343['indexOf']('(')+0x1,_0x8f8343['indexOf'](')'));_0x3057e6['push']({'variable':_0x4c5d16,'pluralKey':_0x5af3f,'countVariable':_0x4fd661});}_0x2b4c79=_0xee6c31['indexOf'](_0x505b63,_0x152313);}return _0x3057e6;}var _0x1ba3d2='--uploadcare-blocks-window-height',WindowHeightTracker=class _0x4a74a2{static ['clientsRegistry']=new Set();static ['flush']=_0xe9436c(()=>{document['documentElement']['style']['setProperty'](_0x1ba3d2,window['innerHeight']+'px');},0x64);static['registerClient'](_0x1a7497){0x0===_0x4a74a2['clientsRegistry']['size']&&_0x4a74a2['attachTracker'](),_0x4a74a2['clientsRegistry']['add'](_0x1a7497);}static['unregisterClient'](_0x425ad9){_0x4a74a2['clientsRegistry']['delete'](_0x425ad9),0x0===_0x4a74a2['clientsRegistry']['size']&&_0x4a74a2['detachTracker']();}static['attachTracker'](){window['addEventListener']('resize',_0x4a74a2['flush'],{'passive':!0x0,'capture':!0x0}),_0x4a74a2['flush']();}static['detachTracker'](){window['removeEventListener']('resize',_0x4a74a2['flush'],{'capture':!0x0}),document['documentElement']['style']['removeProperty'](_0x1ba3d2);}},waitForAttribute=({element:_0x2f76ed,attribute:_0x45d898,onSuccess:_0x4ca05e,onTimeout:_0x476832,timeout:_0x400d00=0x12c})=>{const _0x2ad9c9=_0x2f76ed['getAttribute'](_0x45d898);if(null!==_0x2ad9c9)return void _0x4ca05e(_0x2ad9c9);const _0x3b7ffe=new MutationObserver(_0x5b0360=>{const _0x48b057=_0x5b0360[_0x5b0360['length']-0x1];_0x48b057&&_0x1a29aa(_0x48b057);});_0x3b7ffe['observe'](_0x2f76ed,{'attributes':!0x0,'attributeFilter':[_0x45d898]});const _0x45e3a2=window['setTimeout'](()=>{_0x3b7ffe['disconnect'](),_0x476832();},_0x400d00),_0x1a29aa=_0x4484eb=>{const _0x3e5a76=_0x2f76ed['getAttribute'](_0x45d898);'attributes'===_0x4484eb['type']&&_0x4484eb['attributeName']===_0x45d898&&null!==_0x3e5a76&&(window['clearTimeout'](_0x45e3a2),_0x3b7ffe['disconnect'](),_0x4ca05e(_0x3e5a76));};},blockCtx=()=>({}),activityBlockCtx=_0x55c026=>({...blockCtx(),'*currentActivity':null,'*currentActivityParams':{},'*history':[],'*historyBack':null,'*closeModal':()=>{_0x55c026['modalManager']?.['close'](_0x55c026['$']['*currentActivity']),_0x55c026['set$']({'*currentActivity':null});}}),uploaderBlockCtx=_0x1b0acf=>({...activityBlockCtx(_0x1b0acf),'*commonProgress':0x0,'*uploadList':[],'*uploadQueue':new _0x123ca5(0x1),'*collectionErrors':[],'*collectionState':null,'*groupInfo':null,'*uploadTrigger':new Set(),'*secureUploadsManager':null}),solutionBlockCtx=_0x4421a7=>({...uploaderBlockCtx(_0x4421a7),'*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(),_0x16cf9c=new Map(),_0x1c1f40=(_0x2ae240,_0x5d3103)=>{localeRegistry['has'](_0x2ae240)&&console['log']('Locale\x20'+_0x2ae240+'\x20is\x20already\x20defined.\x20Overwriting...'),localeRegistry['set'](_0x2ae240,{...en_default,..._0x5d3103});},_0x451148=(_0x44aa72,_0x1b24ed)=>{_0x16cf9c['set'](_0x44aa72,_0x1b24ed);},_0x1409fd=(_0x171417,_0x375528)=>{'function'==typeof _0x375528?_0x451148(_0x171417,_0x375528):_0x1c1f40(_0x171417,_0x375528);},resolveLocaleDefinition=async _0x5e5707=>{if(!localeRegistry['has'](_0x5e5707)){if(!_0x16cf9c['has'](_0x5e5707))throw new Error('Locale\x20'+_0x5e5707+'\x20is\x20not\x20defined');const _0x5c9466=_0x16cf9c['get'](_0x5e5707),_0x2bf118=await _0x5c9466();_0x1c1f40(_0x5e5707,_0x2bf118);}return localeRegistry['get'](_0x5e5707);};_0x1409fd('en',en_default);var localeStateKey=_0xf409ad=>'*l10n/'+_0xf409ad,_0x504143='en',_0x331709=class{['_blockInstance']=null;['_localeName']='';['_callbacks']=new Set();['_boundBlocks']=new Map();constructor(_0x1f4283){this['_blockInstance']=_0x1f4283;for(const [_0xb04130,_0x253db1]of Object['entries'](en_default)){const _0x3f9ad6=!this['_blockInstance']['has'](localeStateKey(_0xb04130))||!this['_blockInstance']['$'][localeStateKey(_0xb04130)];this['_blockInstance']['add'](localeStateKey(_0xb04130),_0x253db1,_0x3f9ad6);}setTimeout(()=>{_0x1f4283['subConfigValue']('localeName',async _0x128e4b=>{if(!this['_blockInstance']||!_0x128e4b)return;this['_localeName']=_0x128e4b;const _0x179301=await resolveLocaleDefinition(_0x128e4b);if(_0x128e4b!==_0x504143&&this['_localeName']!==_0x128e4b)return;const _0x1eecbd=this['_blockInstance']['cfg']['localeDefinitionOverride']?.[_0x128e4b];for(const [_0x3d7ce1,_0x160b50]of Object['entries'](_0x179301)){const _0x5b9d21=_0x1eecbd?.[_0x3d7ce1];this['_blockInstance']['add'](localeStateKey(_0x3d7ce1),_0x5b9d21??_0x160b50,!0x0);for(const _0x364086 of this['_callbacks'])_0x364086();}}),_0x1f4283['subConfigValue']('localeDefinitionOverride',_0x56dcfb=>{if(!_0x56dcfb)return;const _0x423738=_0x56dcfb[this['_localeName']];if(_0x423738)for(const [_0x227e42,_0x9124e]of Object['entries'](_0x423738)){this['_blockInstance']?.['add'](localeStateKey(_0x227e42),_0x9124e,!0x0);for(const _0x3e8345 of this['_callbacks'])_0x3e8345();}});});}['onLocaleChange'](_0x4e049a){const _0x355d4d=_0xe9436c(_0x4e049a,0x0);return this['_callbacks']['add'](_0x355d4d),()=>{this['_callbacks']['delete'](_0x355d4d);};}['bindL10n'](_0x208d37,_0xd29258,_0x9e5858){_0x208d37['$'][_0xd29258]=_0x9e5858(),this['_boundBlocks']['has'](_0x208d37)||this['_boundBlocks']['set'](_0x208d37,new Map()),this['_boundBlocks']['get'](_0x208d37)?.['get'](_0xd29258)?.();const _0x1735e8=this['onLocaleChange'](()=>{_0x208d37['$'][_0xd29258]=_0x9e5858();});this['_boundBlocks']['get'](_0x208d37)?.['set'](_0xd29258,_0x1735e8);}['destroyL10nBindings'](_0xbb5724){const _0x4a077a=this['_boundBlocks']['get'](_0xbb5724);if(_0x4a077a){for(const _0x2a6f61 of _0x4a077a['values']())_0x2a6f61();this['_boundBlocks']['delete'](_0xbb5724);}}['destroy'](){this['_callbacks']['clear']();}};function _0x2cacd5(_0x429c42,_0x1d095a){[..._0x429c42['querySelectorAll']('[l10n]')]['forEach'](_0x590c37=>{const _0x117bb6=_0x590c37['getAttribute']('l10n');if(!_0x117bb6)return;const _0x4daa5f=_0x117bb6['split'](';');for(const _0x19218b of _0x4daa5f)_0x19218b&&_0x3c5c1f(_0x590c37,_0x19218b,_0x1d095a);});}var _0x3c5c1f=(_0x3cded6,_0x302339,_0x37073a)=>{let _0x1aa3a1='textContent',_0x1297e3=!0x1;if(_0x302339['includes'](':')){const _0x158d0b=_0x302339['split'](':');if(0x2!==_0x158d0b['length'])return void console['warn']('l10n\x20attribute\x20value\x20should\x20be\x20in\x20format\x20\x22property:key\x22\x20or\x20\x22key\x22.\x20Found:\x20'+_0x302339);const _0x4ab302=_0x158d0b;_0x1aa3a1=_0x4ab302[0x0],_0x302339=_0x4ab302[0x1],_0x1aa3a1['startsWith']('@')&&(_0x1aa3a1=_0x1aa3a1['slice'](0x1),_0x1297e3=!0x0);}const _0x24fd4d=_0x302339;_0x37073a['has'](_0x24fd4d)&&_0x37073a['sub'](_0x24fd4d,_0x2ec6b9=>{if(!_0x2ec6b9)return;_0x37073a['l10nProcessorSubs']['has'](_0x24fd4d)||_0x37073a['l10nProcessorSubs']['set'](_0x24fd4d,new Set());const _0x2666fb=_0x37073a['l10nProcessorSubs']['get'](_0x24fd4d);_0x2666fb?.['forEach'](_0x512e0=>{_0x512e0['remove'](),_0x2666fb['delete'](_0x512e0),_0x37073a['allSubs']['delete'](_0x512e0);});const _0x2540e1=localeStateKey(_0x2ec6b9)['replace']('*','');_0x37073a['nodeCtx']['has'](_0x2540e1)||_0x37073a['nodeCtx']['add'](_0x2540e1,_0x2ec6b9);const _0x481d48=_0x37073a['nodeCtx']['sub'](_0x2540e1,()=>{_0x3cded6[_0x1aa3a1]=_0x37073a['l10n'](_0x2ec6b9);});_0x2666fb?.['add'](_0x481d48),_0x37073a['allSubs']['add'](_0x481d48),_0x3cded6['removeAttribute']('l10n');});const _0x1094c8=localeStateKey(_0x302339);_0x37073a['has'](_0x1094c8)||_0x37073a['add'](_0x1094c8,''),_0x37073a['sub'](_0x1094c8,()=>{_0x1297e3?_0x3cded6['setAttribute'](_0x1aa3a1,_0x37073a['l10n'](_0x302339)):_0x3cded6[_0x1aa3a1]=_0x37073a['l10n'](_0x302339);}),_0x3cded6['removeAttribute']('l10n');},_0x1b601b=class{['_listeners']=new Map();['_scope']=[];['addEventListener'](_0x20b9ca,_0x54fcfe){const _0x79ee1c=_0x4dc8f6=>{const _0x55e04b=_0x4dc8f6['target'];_0x55e04b instanceof Node&&this['_scope']['some'](_0x5b2f58=>_0x5b2f58===_0x55e04b||_0x5b2f58['contains'](_0x55e04b))&&_0x54fcfe(_0x4dc8f6);};this['_listeners']['set'](_0x54fcfe,_0x79ee1c),window['addEventListener'](_0x20b9ca,_0x79ee1c);}['removeEventListener'](_0x1e92a9,_0x2375bf){const _0x4c4765=this['_listeners']['get'](_0x2375bf);_0x4c4765&&window['removeEventListener'](_0x1e92a9,_0x4c4765),this['_listeners']['delete'](_0x2375bf);}get['CustomEvent'](){return window['CustomEvent'];}get['document'](){return window['document'];}get['navigator'](){return window['navigator'];}['registerScope'](_0x2ad188){this['_scope']['push'](_0x2ad188);}['destroy'](){this['_scope']=[];for(const _0x2e3355 of this['_listeners']['values']())window['removeEventListener']('keydown',_0x2e3355),window['removeEventListener']('keyup',_0x2e3355);this['_listeners']['clear']();}},_0x3413ad=class{['_destroyKeyUX'];['_scopedWindow'];constructor(){this['_scopedWindow']=new _0x1b601b(),this['_destroyKeyUX']=startKeyUX(this['_scopedWindow'],[_0x4d4582(),_0x44c942('is-pressed'),_0x44247a(),_0x5c4951()]);}['registerBlock'](_0x537e89){this['_scopedWindow']['registerScope'](_0x537e89);}['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'}),_0x5e7f3b=class{['_modals']=new Map();['_activeModals']=new Set();['_subscribers']=new Map();['_block'];constructor(_0x3a025f){this['_block']=_0x3a025f;}['_debugPrint'](..._0x42ba16){this['_block']['debugPrint']('[modal-manager]',..._0x42ba16);}['registerModal'](_0x2d9b3e,_0x5a61d4){this['_modals']['set'](_0x2d9b3e,_0x5a61d4),this['_notify'](ModalEvents['ADD'],{'id':_0x2d9b3e,'modal':_0x5a61d4});}['deleteModal'](_0x118d27){if(!this['_modals']['has'](_0x118d27))return!0x1;const _0x231fe7=this['_modals']['get'](_0x118d27);return this['_modals']['delete'](_0x118d27),this['_activeModals']['delete'](_0x118d27),this['_notify'](ModalEvents['DELETE'],{'id':_0x118d27,'modal':_0x231fe7}),!0x0;}['open'](_0xf0a308){if(!this['_modals']['has'](_0xf0a308))return this['_debugPrint']('Modal\x20with\x20ID\x20\x22'+_0xf0a308+'\x22\x20not\x20found'),!0x1;const _0x5f0be5=this['_modals']['get'](_0xf0a308);return this['_activeModals']['add'](_0xf0a308),this['_notify'](ModalEvents['OPEN'],{'modal':_0x5f0be5,'id':_0xf0a308}),!0x0;}['close'](_0x20aad0){if(!this['_modals']['has'](_0x20aad0)||!this['_activeModals']['has'](_0x20aad0))return this['_debugPrint']('Modal\x20with\x20ID\x20\x22'+_0x20aad0+'\x22\x20not\x20found\x20or\x20not\x20active'),!0x1;const _0x1e88fa=this['_modals']['get'](_0x20aad0);return this['_activeModals']['delete'](_0x20aad0),this['_notify'](ModalEvents['CLOSE'],{'id':_0x20aad0,'modal':_0x1e88fa}),!0x0;}['toggle'](_0x3d59e5){return this['_modals']['has'](_0x3d59e5)?this['_activeModals']['has'](_0x3d59e5)?this['close'](_0x3d59e5):this['open'](_0x3d59e5):(this['_debugPrint']('Modal\x20with\x20ID\x20\x22'+_0x3d59e5+'\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 _0x326329=Array['from'](this['_activeModals'])['pop']();return!!_0x326329&&this['close'](_0x326329);}['closeAll'](){const _0x452b84=this['_activeModals']['size'];return this['_activeModals']['clear'](),this['_notify'](ModalEvents['CLOSE_ALL'],{}),_0x452b84;}['subscribe'](_0x417c69,_0x216900){return this['_subscribers']['has'](_0x417c69)||this['_subscribers']['set'](_0x417c69,new Set()),this['_subscribers']['get'](_0x417c69)?.['add'](_0x216900),()=>this['unsubscribe'](_0x417c69,_0x216900);}['unsubscribe'](_0x57fc0f,_0x21f64b){this['_subscribers']['has'](_0x57fc0f)&&this['_subscribers']['get'](_0x57fc0f)?.['delete'](_0x21f64b);}['_notify'](_0x570558,_0x523471){if(this['_subscribers']['has'](_0x570558)){for(const _0x255ed4 of this['_subscribers']['get'](_0x570558)??new Set())try{_0x255ed4(_0x523471);}catch(_0x2ce7a4){this['_block']['telemetryManager']['sendEventError'](_0x2ce7a4,'modal\x20subscriber'),this['_debugPrint']('Error\x20in\x20modal\x20subscriber:',_0x2ce7a4);}}}['destroy'](){this['closeAll'](),this['_modals']['clear'](),this['_subscribers']['clear'](),this['_notify'](ModalEvents['DESTROY'],{});}},_0x27c339='1.24.5',_0x5c6a15='blocks',_0x4c8b17=_0x27c339,TelemetryManager=class{['_sessionId']=crypto['randomUUID']();['_telemetryInstance'];['_block'];['_config']=structuredClone(initialConfig);['_initialized']=!0x1;['_lastPayload']=null;['_queue'];constructor(_0x5ecc2f){this['_block']=_0x5ecc2f,this['_telemetryInstance']=new _0x1b6698(),this['_queue']=new _0x123ca5(0xa);for(const _0x509495 of Object['keys'](this['_config']))this['_block']['subConfigValue'](_0x509495,_0xbf8d4d=>{this['_initialized']&&this['_config'][_0x509495]!==_0xbf8d4d&&this['sendEvent']({'eventType':InternalEventType['CHANGE_CONFIG']}),this['_setConfig'](_0x509495,_0xbf8d4d);});}['_init'](_0x19888a){_0x19888a!==InternalEventType['INIT_SOLUTION']||this['_initialized']||(this['_initialized']=!0x0);}['_setConfig'](_0x584266,_0x1bc73d){this['_config'][_0x584266]!==_0x1bc73d&&(this['_config'][_0x584266]=_0x1bc73d);}['_formattingPayload'](_0x32982c){const _0x2ac15a=_0x32982c['payload']?{..._0x32982c['payload']}:{};_0x2ac15a['activity']&&(_0x2ac15a['activity']=void 0x0);const _0x3776c2={..._0x32982c};return _0x32982c['eventType']!==InternalEventType['INIT_SOLUTION']&&_0x32982c['eventType']!==InternalEventType['CHANGE_CONFIG']||(_0x3776c2['config']=this['_config']),{..._0x3776c2,'appVersion':_0x4c8b17,'appName':_0x5c6a15,'sessionId':this['_sessionId'],'component':this['_solution'],'activity':this['_activity'],'projectPubkey':this['_config']['pubkey'],'userAgent':navigator['userAgent'],'eventType':_0x3776c2['eventType']??'','eventTimestamp':this['_timestamp'],'payload':{'location':this['_location'],..._0x2ac15a}};}['_excludedEvents'](_0x5140cd){return!(!_0x5140cd||![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'](_0x5140cd));}['sendEvent'](_0x1071fa){const _0x5850fe=this['_formattingPayload']({'eventType':_0x1071fa['eventType'],'payload':_0x1071fa['payload'],'config':_0x1071fa['config']});this['_init'](_0x1071fa['eventType']);if(this['_excludedEvents'](_0x1071fa['eventType']))return;this['_lastPayload']&&this['_checkObj'](this['_lastPayload'],_0x5850fe)||this['_queue']['add'](async()=>{this['_lastPayload']=_0x5850fe,await this['_telemetryInstance']['sendEvent'](_0x5850fe);});}['sendEventError'](_0x11f658,_0x151e74='unknown'){this['sendEvent']({'eventType':InternalEventType['ERROR_EVENT'],'payload':{'metadata':{'event':'error','text':'Error\x20in\x20'+_0x151e74,'error':_0x11f658['message']}}});}['sendEventCloudImageEditor'](_0x43bdd9,_0x18591e,_0x157edc={}){this['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'tabId':_0x18591e,'node':_0x43bdd9['currentTarget']?.['tagName'],'event':_0x43bdd9['type'],..._0x157edc}}});}['_checkObj'](_0x47443a,_0x5a9e4b){if(JSON['stringify'](_0x47443a)===JSON['stringify'](_0x5a9e4b))return!0x0;if('object'!=typeof _0x47443a||'object'!=typeof _0x5a9e4b||null==_0x47443a||null==_0x5a9e4b)return!0x1;const _0xbd0b4a=Object['keys'](_0x47443a),_0x17aa0e=Object['keys'](_0x5a9e4b);if(_0xbd0b4a['length']!==_0x17aa0e['length'])return!0x1;for(const _0x540f0f of _0xbd0b4a){if(!Object['hasOwn'](_0x5a9e4b,_0x540f0f))return!0x1;if(!this['_checkObj'](_0x47443a[_0x540f0f],_0x5a9e4b[_0x540f0f]))return!0x1;}return!0x0;}get['_timestamp'](){return Date['now']();}get['_solution'](){if(!this['_block']['has']('*solution'))return null;const _0x3b0c1c=this['_block']['$']['*solution'];return _0x3b0c1c?_0x3b0c1c['toLowerCase']():null;}get['_activity'](){return this['_block']['has']('*currentActivity')?this['_block']['$']['*currentActivity']??null:null;}get['_location'](){return location['origin'];}},_0x56012f=_0x67be63=>'*cfg/'+_0x67be63;function testModeProcessor(_0x325a1b,_0x34f5d4){const _0x2a6d7d=_0x325a1b['querySelectorAll']('[data-testid]');if(0x0===_0x2a6d7d['length'])return;const _0x318c67=new WeakMap();for(const _0x10d71d of _0x2a6d7d){const _0x3dece8=_0x10d71d['getAttribute']('data-testid');_0x3dece8&&_0x318c67['set'](_0x10d71d,_0x3dece8);}_0x34f5d4['subConfigValue']('testMode',_0x53323a=>{if(!_0x53323a){for(const _0x556e22 of _0x2a6d7d)_0x556e22['removeAttribute']('data-testid');return;}const _0x321695=_0x34f5d4['testId'];for(const _0xb48964 of _0x2a6d7d){const _0x304a6a=_0x318c67['get'](_0xb48964);_0x304a6a&&_0xb48964['setAttribute']('data-testid',_0x321695+'--'+_0x304a6a);}});}var _0x2926f1='uc-',_0x138861=class extends BaseComponent{['__cfgProxy'];['l10nProcessorSubs']=new Map();static ['StateConsumerScope']=null;static ['styleAttrs']=[];['requireCtxName']=!0x1;['activityType']=null;['init$']=blockCtx();['l10n'](_0x36fa87,_0x2b848b={}){if(!_0x36fa87)return'';const _0x3dda17=this['$'][localeStateKey(_0x36fa87)]||_0x36fa87,_0x7b60e5=getPluralObjects(_0x3dda17);for(const _0x580b05 of _0x7b60e5)_0x2b848b[_0x580b05['variable']]=this['pluralize'](_0x580b05['pluralKey'],Number(_0x2b848b[_0x580b05['countVariable']]));return applyTemplateData(_0x3dda17,_0x2b848b);}['pluralize'](_0x442745,_0x1648a8){const _0x552d1c=this['l10n']('locale-id')||'en',_0x2837ab=getPluralForm(_0x552d1c,_0x1648a8);return this['l10n'](_0x442745+'__'+_0x2837ab);}['bindL10n'](_0x5d6555,_0x47a089){this['localeManager']?.['bindL10n'](this,_0x5d6555,_0x47a089);}constructor(){super(),this['addTemplateProcessor'](_0x2cacd5),this['addTemplateProcessor'](testModeProcessor);}['emit'](_0xb03dca,_0x210bf1,_0x57be09){const _0x1b50b6=this['has']('*eventEmitter')?this['$']['*eventEmitter']:void 0x0;_0x1b50b6&&(_0x1b50b6['emit'](_0xb03dca,_0x210bf1,_0x57be09),this['telemetryManager']['sendEvent']({'eventType':_0xb03dca,'payload':'function'==typeof _0x210bf1?_0x210bf1():_0x210bf1}));}['hasBlockInCtx'](_0xfd937d){for(const _0x15cccf of this['blocksRegistry'])if(_0xfd937d(_0x15cccf))return!0x0;return!0x1;}['setOrAddState'](_0x412558,_0x4bb06b){this['add$']({[_0x412558]:_0x4bb06b},!0x0);}['connectedCallback'](){this['constructor']['styleAttrs']['forEach'](_0x24c4bc=>{this['setAttribute'](_0x24c4bc,'');}),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 _0x331709(this)),this['cfg']['qualityInsights']&&!this['has']('*telemetryManager')&&this['add']('*telemetryManager',new TelemetryManager(this)),this['has']('*a11y')||this['add']('*a11y',new _0x3413ad()),this['has']('*modalManager')||this['add']('*modalManager',new _0x5e7f3b(this)),this['sub'](localeStateKey('locale-id'),_0x5d86dc=>{const _0x3bf123=getLocaleDirection(_0x5d86dc);this['style']['direction']='ltr'===_0x3bf123?'':_0x3bf123;}),this['subConfigValue']('testMode',_0x16e908=>{_0x16e908&&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 _0x412df1=this['blocksRegistry'];_0x412df1?.['delete'](this),this['localeManager']?.['destroyL10nBindings'](this),this['l10nProcessorSubs']=new Map(),Data['deleteCtx'](this),0x0===_0x412df1?.['size']&&setTimeout(()=>{this['destroyCtxCallback']();},0x0);}['destroyCtxCallback'](){Data['deleteCtx'](this['ctxName']),this['localeManager']?.['destroy'](),this['modalManager']?.['destroy']();}async['proxyUrl'](_0x1eaf9b){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'](_0x1eaf9b,{'uuid':extractUuid(_0x1eaf9b),'cdnUrlModifiers':extractCdnUrlModifiers(_0x1eaf9b),'fileName':extractFilename(_0x1eaf9b)});}catch(_0x2e7723){return console['error']('Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.',_0x2e7723),this['telemetryManager']['sendEventError'](_0x2e7723,'secureDeliveryProxyUrlResolver.\x20Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.'),_0x1eaf9b;}return this['cfg']['secureDeliveryProxy']?applyTemplateData(this['cfg']['secureDeliveryProxy'],{'previewUrl':_0x1eaf9b},{'transform':_0x26fc67=>window['encodeURIComponent'](_0x26fc67)}):_0x1eaf9b;}get['cfg'](){if(!this['__cfgProxy']){const _0x5d8c4d=Object['create'](null);this['__cfgProxy']=new Proxy(_0x5d8c4d,{'set':(_0x4006a0,_0x2dbee1,_0x4ce3e7)=>{if('string'!=typeof _0x2dbee1)return!0x1;const _0x19cdf3=_0x56012f(_0x2dbee1);return this['has'](_0x19cdf3)||this['add'](_0x19cdf3,initialConfig[_0x2dbee1]),this['$'][_0x19cdf3]=_0x4ce3e7,!0x0;},'get':(_0x58957b,_0x47662e)=>{const _0x3648b3=_0x56012f(_0x47662e);return this['has'](_0x3648b3)||this['add'](_0x3648b3,initialConfig[_0x47662e]),this['$'][_0x56012f(_0x47662e)];}});}return this['__cfgProxy'];}['subConfigValue'](_0x3fab3d,_0x42a763){const _0x2d8219=_0x56012f(_0x3fab3d);this['has'](_0x2d8219)||this['add'](_0x2d8219,initialConfig[_0x3fab3d]),this['sub'](_0x2d8219,_0x42a763);}['debugPrint'](..._0x79f462){if(!this['cfg']['debug'])return;let _0x218f82=_0x79f462;'function'==typeof _0x79f462?.[0x0]&&(_0x218f82=(0x0,_0x79f462[0x0])()),console['log']('['+this['ctxName']+']',..._0x218f82);}static['reg'](_0x3b6973){_0x3b6973?_0x3b6973['startsWith'](_0x2926f1)&&super['reg'](_0x3b6973):super['reg']();}},_0xf32a90='active',_0x4e33af='___ACTIVITY_IS_ACTIVE___',ActivityBlock=class _0x1db062 extends _0x138861{['historyTracked']=!0x1;[_0x4e33af];['init$']=activityBlockCtx(this);['_debouncedHistoryFlush']=_0xe9436c(this['_historyFlush']['bind'](this),0xa);['_deactivate'](){const _0x137978=_0x1db062['_activityCallbacks']['get'](this);this[_0x4e33af]=!0x1,this['removeAttribute'](_0xf32a90),_0x137978?.['deactivateCallback']?.();}['_activate'](){const _0x4a1389=_0x1db062['_activityCallbacks']['get'](this);this['$']['*historyBack']=this['historyBack']['bind'](this),this[_0x4e33af]=!0x0,this['setAttribute'](_0xf32a90,''),_0x4a1389?.['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',_0x1b66d2=>{try{this['activityType']!==_0x1b66d2&&this[_0x4e33af]?this['_deactivate']():this['activityType']!==_0x1b66d2||this[_0x4e33af]||this['_activate']();}catch(_0x47f633){this['telemetryManager']['sendEventError'](_0x47f633,'activity\x20\x22'+this['activityType']+'\x22'),console['error']('Error\x20in\x20activity\x20\x22'+this['activityType']+'\x22.\x20',_0x47f633),this['$']['*currentActivity']=this['$']['*history'][this['$']['*history']['length']-0x1]??null;}_0x1b66d2||(this['$']['*history']=[]);}));}['_historyFlush'](){let _0x4fafa2=this['$']['*history'];_0x4fafa2&&(_0x4fafa2['length']>0xa&&(_0x4fafa2=_0x4fafa2['slice'](_0x4fafa2['length']-0xb,_0x4fafa2['length']-0x1)),this['historyTracked']&&_0x4fafa2[_0x4fafa2['length']-0x1]!==this['activityType']&&_0x4fafa2['push'](this['activityType']),this['$']['*history']=_0x4fafa2);}['_isActivityRegistered'](){return!!this['activityType']&&_0x1db062['_activityCallbacks']['has'](this);}static ['_activityCallbacks']=new Map();static ['activities'];get['isActivityActive'](){return!!this[_0x4e33af];}get['couldOpenActivity'](){return!0x0;}['registerActivity'](_0x5c21e3,_0x5a23f4={}){const {onActivate:_0x9b574b,onDeactivate:_0x3213d4}=_0x5a23f4;_0x1db062['_activityCallbacks']['set'](this,{'activateCallback':_0x9b574b,'deactivateCallback':_0x3213d4});}['unregisterActivity'](){this['isActivityActive']&&this['_deactivate'](),_0x1db062['_activityCallbacks']['delete'](this);}['destroyCallback'](){super['destroyCallback'](),this['_isActivityRegistered']()&&this['unregisterActivity']();const _0x4094d6=this['$']['*currentActivity'];!![...this['blocksRegistry']]['find'](_0x1d9917=>_0x1d9917 instanceof _0x1db062&&_0x1d9917['activityType']===_0x4094d6)||(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 _0x5acd3b=this['$']['*history'];if(_0x5acd3b){let _0x506b0a=_0x5acd3b['pop']();for(;_0x506b0a===this['activityType'];)_0x506b0a=_0x5acd3b['pop']();let _0x172e4e=!!_0x506b0a;if(_0x506b0a){const _0x469c4f=[...this['blocksRegistry']]['find'](_0x48c596=>_0x48c596['activityType']===_0x506b0a);_0x172e4e=_0x469c4f?.['couldOpenActivity']??!0x1;}_0x506b0a=_0x172e4e?_0x506b0a:void 0x0,_0x506b0a&&this['modalManager']?.['open'](_0x506b0a),this['$']['*currentActivity']=_0x506b0a,this['$']['*history']=_0x5acd3b,_0x506b0a||this['modalManager']?.['closeAll']();}}};function defineComponents(_0x557248){for(const _0x170f21 in _0x557248){let _0x228cfa=[..._0x170f21]['reduce']((_0x4cabd5,_0x1bf36c)=>(_0x1bf36c['toUpperCase']()===_0x1bf36c&&(_0x1bf36c='-'+_0x1bf36c['toLowerCase']()),_0x4cabd5+=_0x1bf36c),'');_0x228cfa['startsWith']('-')&&(_0x228cfa=_0x228cfa['replace']('-','')),_0x228cfa['startsWith']('uc-')||(_0x228cfa='uc-'+_0x228cfa),_0x557248[_0x170f21]['reg']&&_0x557248[_0x170f21]['reg'](_0x228cfa);}}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 _0x360d43='UC';function _0x1bb7a5(_0x3e4df9,_0x3d93e6=!0x1){return new Promise((_0x461bea,_0x41853c)=>{if('object'!=typeof document)return void _0x461bea(null);if('object'==typeof window&&window[_0x360d43])return void _0x461bea(window[_0x360d43]);const _0x1c6e4c=document['createElement']('script');_0x1c6e4c['async']=!0x0,_0x1c6e4c['src']=_0x3e4df9,_0x1c6e4c['onerror']=()=>{_0x41853c();},_0x1c6e4c['onload']=()=>{const _0x5e214f=window[_0x360d43];_0x3d93e6&&defineComponents(_0x5e214f),_0x461bea(_0x5e214f);},document['head']['appendChild'](_0x1c6e4c);});}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 _0x138861{static ['styleAttrs']=['uc-wgt-common'];['requireCtxName']=!0x0;['init$']=solutionBlockCtx(this);static ['_template']='';['initCallback'](){super['initCallback'](),this['a11y']?.['registerBlock'](this);}static set['template'](_0x111906){this['_template']=svg_sprite_default+_0x111906+'<slot></slot>';}static get['template'](){return this['_template'];}},_0x4cd662=0x14,_0x1c0c28=0x18,_0x4f04b9=0x22,_0x5eaebc=0x3,_0x2caa1a=_0x5eaebc/0x2,_0x1b9af9=0x1,_0x384d2e=0x64/0x3,_0x3fce5e=0x1,_0x380ded=0x18,_0x14f464=0x6;function setSvgNodeAttrs(_0x5cb860,_0x3e5f58){for(const [_0x4d1a98,_0x50a5bd]of Object['entries'](_0x3e5f58))_0x5cb860['setAttributeNS'](null,_0x4d1a98,_0x50a5bd['toString']());}function createSvgNode(_0x240fcf,_0x3aa19c={}){const _0x5749d8=document['createElementNS']('http://www.w3.org/2000/svg',_0x240fcf);return setSvgNodeAttrs(_0x5749d8,_0x3aa19c),_0x5749d8;}function cornerPath(_0x5dfa9d,_0x1c6773,_0x532552){const {x:_0x3e9f99,y:_0x274d50,width:_0x4b23ac,height:_0x5d719f}=_0x5dfa9d,_0x55789c=_0x1c6773['includes']('w')?0x0:0x1,_0x39087b=_0x1c6773['includes']('n')?0x0:0x1,_0x125772=0x0===_0x55789c?-0x1:0x1,_0x329d75=0x0===_0x39087b?-0x1:0x1,_0x206e10=[_0x3e9f99+_0x55789c*_0x4b23ac+_0x2caa1a*_0x125772,_0x274d50+_0x39087b*_0x5d719f+_0x2caa1a*_0x329d75-_0x1c0c28*_0x532552*_0x329d75],_0x1e00c5=[_0x3e9f99+_0x55789c*_0x4b23ac+_0x2caa1a*_0x125772,_0x274d50+_0x39087b*_0x5d719f+_0x2caa1a*_0x329d75],_0x2b2cea=[_0x3e9f99+_0x55789c*_0x4b23ac-_0x1c0c28*_0x532552*_0x125772+_0x2caa1a*_0x125772,_0x274d50+_0x39087b*_0x5d719f+_0x2caa1a*_0x329d75];return{'d':'M\x20'+_0x206e10[0x0]+'\x20'+_0x206e10[0x1]+'\x20L\x20'+_0x1e00c5[0x0]+'\x20'+_0x1e00c5[0x1]+'\x20L\x20'+_0x2b2cea[0x0]+'\x20'+_0x2b2cea[0x1],'center':[_0x1e00c5[0x0],_0x1e00c5[0x1]]};}function sidePath(_0x11667f,_0x41b90b,_0x38da53){const {x:_0x3d558f,y:_0x44c390,width:_0x54a56f,height:_0x3be611}=_0x11667f,_0x25b2a6='n'===_0x41b90b||'s'===_0x41b90b,_0x52e7d5=_0x25b2a6?0.5:'w'===_0x41b90b?0x0:0x1,_0x10d9a5='w'===_0x41b90b||'e'===_0x41b90b?0.5:'n'===_0x41b90b?0x0:0x1,_0x1f515d='w'===_0x41b90b?-0x1:'e'===_0x41b90b?0x1:0x0,_0x8e096a='n'===_0x41b90b?-0x1:'s'===_0x41b90b?0x1:0x0;let _0x39c14c,_0x5aa208;return _0x25b2a6?(_0x39c14c=[_0x3d558f+_0x52e7d5*_0x54a56f-_0x4f04b9*_0x38da53/0x2,_0x44c390+_0x10d9a5*_0x3be611+_0x2caa1a*_0x8e096a],_0x5aa208=[_0x3d558f+_0x52e7d5*_0x54a56f+_0x4f04b9*_0x38da53/0x2,_0x44c390+_0x10d9a5*_0x3be611+_0x2caa1a*_0x8e096a]):(_0x39c14c=[_0x3d558f+_0x52e7d5*_0x54a56f+_0x2caa1a*_0x1f515d,_0x44c390+_0x10d9a5*_0x3be611-_0x4f04b9*_0x38da53/0x2],_0x5aa208=[_0x3d558f+_0x52e7d5*_0x54a56f+_0x2caa1a*_0x1f515d,_0x44c390+_0x10d9a5*_0x3be611+_0x4f04b9*_0x38da53/0x2]),{'d':'M\x20'+_0x39c14c[0x0]+'\x20'+_0x39c14c[0x1]+'\x20L\x20'+_0x5aa208[0x0]+'\x20'+_0x5aa208[0x1],'center':[(_0x39c14c[0x0]+_0x5aa208[0x0])/0x2,(_0x39c14c[0x1]+_0x5aa208[0x1])/0x2]};}function thumbCursor(_0x15ec03){return''===_0x15ec03?'move':['e','w']['includes'](_0x15ec03)?'ew-resize':['n','s']['includes'](_0x15ec03)?'ns-resize':['nw','se']['includes'](_0x15ec03)?'nwse-resize':'nesw-resize';}function moveRect({rect:_0x21defc,delta:[_0x5e4df0,_0x543a46],imageBox:_0x5645d9}){return constraintRect({..._0x21defc,'x':_0x21defc['x']+_0x5e4df0,'y':_0x21defc['y']+_0x543a46},_0x5645d9);}function constraintRect(_0x2b2d5a,_0x17cdbf){let {x:_0x3a481a}=_0x2b2d5a,{y:_0xe661b2}=_0x2b2d5a;return _0x2b2d5a['x']<_0x17cdbf['x']?_0x3a481a=_0x17cdbf['x']:_0x2b2d5a['x']+_0x2b2d5a['width']>_0x17cdbf['x']+_0x17cdbf['width']&&(_0x3a481a=_0x17cdbf['x']+_0x17cdbf['width']-_0x2b2d5a['width']),_0x2b2d5a['y']<_0x17cdbf['y']?_0xe661b2=_0x17cdbf['y']:_0x2b2d5a['y']+_0x2b2d5a['height']>_0x17cdbf['y']+_0x17cdbf['height']&&(_0xe661b2=_0x17cdbf['y']+_0x17cdbf['height']-_0x2b2d5a['height']),{..._0x2b2d5a,'x':_0x3a481a,'y':_0xe661b2};}function resizeNorth({rect:_0x40f44e,delta:_0x2479c5,aspectRatio:_0x54fd1c,imageBox:_0x1347e3}){const [,_0x4152f0]=_0x2479c5;let {y:_0x3eba09,width:_0x455932,height:_0x3fe553}=_0x40f44e;_0x3eba09+=_0x4152f0,_0x3fe553-=_0x4152f0,_0x54fd1c&&(_0x455932=_0x3fe553*_0x54fd1c);let _0x31d310=_0x40f44e['x']+_0x40f44e['width']/0x2-_0x455932/0x2;return _0x3eba09<=_0x1347e3['y']&&(_0x3eba09=_0x1347e3['y'],_0x3fe553=_0x40f44e['y']+_0x40f44e['height']-_0x3eba09,_0x54fd1c&&(_0x455932=_0x3fe553*_0x54fd1c,_0x31d310=_0x40f44e['x']+_0x40f44e['width']/0x2-_0x455932/0x2)),_0x31d310<=_0x1347e3['x']&&(_0x31d310=_0x1347e3['x'],_0x3eba09=_0x40f44e['y']+_0x40f44e['height']-_0x3fe553),_0x31d310+_0x455932>=_0x1347e3['x']+_0x1347e3['width']&&(_0x31d310=Math['max'](_0x1347e3['x'],_0x1347e3['x']+_0x1347e3['width']-_0x455932),_0x455932=_0x1347e3['x']+_0x1347e3['width']-_0x31d310,_0x54fd1c&&(_0x3fe553=_0x455932/_0x54fd1c),_0x3eba09=_0x40f44e['y']+_0x40f44e['height']-_0x3fe553),_0x3fe553<_0x3fce5e&&(_0x3fe553=_0x3fce5e,_0x54fd1c&&(_0x455932=_0x3fe553*_0x54fd1c,_0x31d310=_0x40f44e['x']+_0x40f44e['width']/0x2-_0x455932/0x2),_0x3eba09=_0x40f44e['y']+_0x40f44e['height']-_0x3fe553),_0x455932<_0x3fce5e&&(_0x455932=_0x3fce5e,_0x54fd1c&&(_0x3fe553=_0x455932/_0x54fd1c,_0x31d310=_0x40f44e['x']+_0x40f44e['width']/0x2-_0x455932/0x2),_0x3eba09=_0x40f44e['y']+_0x40f44e['height']-_0x3fe553),{'x':_0x31d310,'y':_0x3eba09,'width':_0x455932,'height':_0x3fe553};}function resizeWest({rect:_0xb610a0,delta:_0x6841b5,aspectRatio:_0x63a8eb,imageBox:_0x1e66bc}){const [_0xef3369]=_0x6841b5;let {x:_0x10dbc1,width:_0x4e31f8,height:_0x2aa305}=_0xb610a0;_0x10dbc1+=_0xef3369,_0x4e31f8-=_0xef3369,_0x63a8eb&&(_0x2aa305=_0x4e31f8/_0x63a8eb);let _0x937a35=_0xb610a0['y']+_0xb610a0['height']/0x2-_0x2aa305/0x2;return _0x10dbc1<=_0x1e66bc['x']&&(_0x10dbc1=_0x1e66bc['x'],_0x4e31f8=_0xb610a0['x']+_0xb610a0['width']-_0x10dbc1,_0x63a8eb&&(_0x2aa305=_0x4e31f8/_0x63a8eb,_0x937a35=_0xb610a0['y']+_0xb610a0['height']/0x2-_0x2aa305/0x2)),_0x937a35<=_0x1e66bc['y']&&(_0x937a35=_0x1e66bc['y'],_0x10dbc1=_0xb610a0['x']+_0xb610a0['width']-_0x4e31f8),_0x937a35+_0x2aa305>=_0x1e66bc['y']+_0x1e66bc['height']&&(_0x937a35=Math['max'](_0x1e66bc['y'],_0x1e66bc['y']+_0x1e66bc['height']-_0x2aa305),_0x2aa305=_0x1e66bc['y']+_0x1e66bc['height']-_0x937a35,_0x63a8eb&&(_0x4e31f8=_0x2aa305*_0x63a8eb),_0x10dbc1=_0xb610a0['x']+_0xb610a0['width']-_0x4e31f8),_0x2aa305<_0x3fce5e&&(_0x2aa305=_0x3fce5e,_0x63a8eb&&(_0x4e31f8=_0x2aa305*_0x63a8eb),_0x937a35=_0xb610a0['y']+_0xb610a0['height']/0x2-_0x2aa305/0x2,_0x10dbc1=_0xb610a0['x']+_0xb610a0['width']-_0x4e31f8),_0x4e31f8<_0x3fce5e&&(_0x4e31f8=_0x3fce5e,_0x63a8eb&&(_0x2aa305=_0x4e31f8/_0x63a8eb),_0x937a35=_0xb610a0['y']+_0xb610a0['height']/0x2-_0x2aa305/0x2,_0x10dbc1=_0xb610a0['x']+_0xb610a0['width']-_0x4e31f8),{'x':_0x10dbc1,'y':_0x937a35,'width':_0x4e31f8,'height':_0x2aa305};}function resizeSouth({rect:_0x408304,delta:_0x4df0ac,aspectRatio:_0x10ac54,imageBox:_0x3c9213}){const [,_0x23ccc0]=_0x4df0ac;let {y:_0x589b67,width:_0x249548,height:_0x21db39}=_0x408304;_0x21db39+=_0x23ccc0,_0x10ac54&&(_0x249548=_0x21db39*_0x10ac54);let _0x54d348=_0x408304['x']+_0x408304['width']/0x2-_0x249548/0x2;return _0x589b67+_0x21db39>=_0x3c9213['y']+_0x3c9213['height']&&(_0x21db39=_0x3c9213['y']+_0x3c9213['height']-_0x589b67,_0x10ac54&&(_0x249548=_0x21db39*_0x10ac54),_0x54d348=_0x408304['x']+_0x408304['width']/0x2-_0x249548/0x2),_0x54d348<=_0x3c9213['x']&&(_0x54d348=_0x3c9213['x'],_0x589b67=_0x408304['y']),_0x54d348+_0x249548>=_0x3c9213['x']+_0x3c9213['width']&&(_0x54d348=Math['max'](_0x3c9213['x'],_0x3c9213['x']+_0x3c9213['width']-_0x249548),_0x249548=_0x3c9213['x']+_0x3c9213['width']-_0x54d348,_0x10ac54&&(_0x21db39=_0x249548/_0x10ac54),_0x589b67=_0x408304['y']),_0x21db39<_0x3fce5e&&(_0x21db39=_0x3fce5e,_0x10ac54&&(_0x249548=_0x21db39*_0x10ac54),_0x54d348=_0x408304['x']+_0x408304['width']/0x2-_0x249548/0x2),_0x249548<_0x3fce5e&&(_0x249548=_0x3fce5e,_0x10ac54&&(_0x21db39=_0x249548/_0x10ac54),_0x54d348=_0x408304['x']+_0x408304['width']/0x2-_0x249548/0x2),{'x':_0x54d348,'y':_0x589b67,'width':_0x249548,'height':_0x21db39};}function resizeEast({rect:_0x39f9d1,delta:_0x4e2dfc,aspectRatio:_0x43a7d1,imageBox:_0x407ff0}){const [_0x14d958]=_0x4e2dfc;let {x:_0xa97cc9,width:_0x17fa4a,height:_0x51a7a2}=_0x39f9d1;_0x17fa4a+=_0x14d958,_0x43a7d1&&(_0x51a7a2=_0x17fa4a/_0x43a7d1);let _0xe6301b=_0x39f9d1['y']+_0x39f9d1['height']/0x2-_0x51a7a2/0x2;return _0xa97cc9+_0x17fa4a>=_0x407ff0['x']+_0x407ff0['width']&&(_0x17fa4a=_0x407ff0['x']+_0x407ff0['width']-_0xa97cc9,_0x43a7d1&&(_0x51a7a2=_0x17fa4a/_0x43a7d1),_0xe6301b=_0x39f9d1['y']+_0x39f9d1['height']/0x2-_0x51a7a2/0x2),_0xe6301b<=_0x407ff0['y']&&(_0xe6301b=_0x407ff0['y'],_0xa97cc9=_0x39f9d1['x']),_0xe6301b+_0x51a7a2>=_0x407ff0['y']+_0x407ff0['height']&&(_0xe6301b=Math['max'](_0x407ff0['y'],_0x407ff0['y']+_0x407ff0['height']-_0x51a7a2),_0x51a7a2=_0x407ff0['y']+_0x407ff0['height']-_0xe6301b,_0x43a7d1&&(_0x17fa4a=_0x51a7a2*_0x43a7d1),_0xa97cc9=_0x39f9d1['x']),_0x51a7a2<_0x3fce5e&&(_0x51a7a2=_0x3fce5e,_0x43a7d1&&(_0x17fa4a=_0x51a7a2*_0x43a7d1),_0xe6301b=_0x39f9d1['y']+_0x39f9d1['height']/0x2-_0x51a7a2/0x2),_0x17fa4a<_0x3fce5e&&(_0x17fa4a=_0x3fce5e,_0x43a7d1&&(_0x51a7a2=_0x17fa4a/_0x43a7d1),_0xe6301b=_0x39f9d1['y']+_0x39f9d1['height']/0x2-_0x51a7a2/0x2),{'x':_0xa97cc9,'y':_0xe6301b,'width':_0x17fa4a,'height':_0x51a7a2};}function resizeNorthWest({rect:_0x8fbada,delta:_0x44d9b0,aspectRatio:_0x537316,imageBox:_0x377c81}){let [_0x3f0563,_0x1e3a93]=_0x44d9b0,{x:_0x3266f4,y:_0x5c9cea,width:_0x156986,height:_0x120ed1}=_0x8fbada;return _0x3266f4+_0x3f0563<_0x377c81['x']&&(_0x3f0563=_0x377c81['x']-_0x3266f4),_0x5c9cea+_0x1e3a93<_0x377c81['y']&&(_0x1e3a93=_0x377c81['y']-_0x5c9cea),_0x3266f4+=_0x3f0563,_0x156986-=_0x3f0563,_0x5c9cea+=_0x1e3a93,_0x120ed1-=_0x1e3a93,_0x537316&&Math['abs'](_0x156986/_0x120ed1)>_0x537316?(_0x1e3a93=_0x156986/_0x537316-_0x120ed1,_0x120ed1+=_0x1e3a93,_0x5c9cea-=_0x1e3a93,_0x5c9cea<=_0x377c81['y']&&(_0x120ed1-=_0x377c81['y']-_0x5c9cea,_0x156986=_0x120ed1*_0x537316,_0x3266f4=_0x8fbada['x']+_0x8fbada['width']-_0x156986,_0x5c9cea=_0x377c81['y'])):_0x537316&&(_0x3f0563=_0x120ed1*_0x537316-_0x156986,_0x156986+=_0x3f0563,_0x3266f4-=_0x3f0563,_0x3266f4<=_0x377c81['x']&&(_0x156986-=_0x377c81['x']-_0x3266f4,_0x120ed1=_0x156986/_0x537316,_0x3266f4=_0x377c81['x'],_0x5c9cea=_0x8fbada['y']+_0x8fbada['height']-_0x120ed1)),_0x120ed1<_0x3fce5e&&(_0x120ed1=_0x3fce5e,_0x537316&&(_0x156986=_0x120ed1*_0x537316),_0x3266f4=_0x8fbada['x']+_0x8fbada['width']-_0x156986,_0x5c9cea=_0x8fbada['y']+_0x8fbada['height']-_0x120ed1),_0x156986<_0x3fce5e&&(_0x156986=_0x3fce5e,_0x537316&&(_0x120ed1=_0x156986/_0x537316),_0x3266f4=_0x8fbada['x']+_0x8fbada['width']-_0x156986,_0x5c9cea=_0x8fbada['y']+_0x8fbada['height']-_0x120ed1),{'x':_0x3266f4,'y':_0x5c9cea,'width':_0x156986,'height':_0x120ed1};}function resizeNorthEast({rect:_0x552bfc,delta:_0xf20efd,aspectRatio:_0x570801,imageBox:_0x3dde17}){let [_0x460976,_0x501090]=_0xf20efd,{x:_0x5e1c43,y:_0x42855f,width:_0x1fbc8a,height:_0x245fa7}=_0x552bfc;return _0x5e1c43+_0x1fbc8a+_0x460976>_0x3dde17['x']+_0x3dde17['width']&&(_0x460976=_0x3dde17['x']+_0x3dde17['width']-_0x5e1c43-_0x1fbc8a),_0x42855f+_0x501090<_0x3dde17['y']&&(_0x501090=_0x3dde17['y']-_0x42855f),_0x1fbc8a+=_0x460976,_0x42855f+=_0x501090,_0x245fa7-=_0x501090,_0x570801&&Math['abs'](_0x1fbc8a/_0x245fa7)>_0x570801?(_0x501090=_0x1fbc8a/_0x570801-_0x245fa7,_0x245fa7+=_0x501090,_0x42855f-=_0x501090,_0x42855f<=_0x3dde17['y']&&(_0x245fa7-=_0x3dde17['y']-_0x42855f,_0x1fbc8a=_0x245fa7*_0x570801,_0x5e1c43=_0x552bfc['x'],_0x42855f=_0x3dde17['y'])):_0x570801&&(_0x460976=_0x245fa7*_0x570801-_0x1fbc8a,_0x1fbc8a+=_0x460976,_0x5e1c43+_0x1fbc8a>=_0x3dde17['x']+_0x3dde17['width']&&(_0x1fbc8a=_0x3dde17['x']+_0x3dde17['width']-_0x5e1c43,_0x245fa7=_0x1fbc8a/_0x570801,_0x5e1c43=_0x3dde17['x']+_0x3dde17['width']-_0x1fbc8a,_0x42855f=_0x552bfc['y']+_0x552bfc['height']-_0x245fa7)),_0x245fa7<_0x3fce5e&&(_0x245fa7=_0x3fce5e,_0x570801&&(_0x1fbc8a=_0x245fa7*_0x570801),_0x42855f=_0x552bfc['y']+_0x552bfc['height']-_0x245fa7),_0x1fbc8a<_0x3fce5e&&(_0x1fbc8a=_0x3fce5e,_0x570801&&(_0x245fa7=_0x1fbc8a/_0x570801),_0x42855f=_0x552bfc['y']+_0x552bfc['height']-_0x245fa7),{'x':_0x5e1c43,'y':_0x42855f,'width':_0x1fbc8a,'height':_0x245fa7};}function resizeSouthWest({rect:_0x2941b5,delta:_0x3dcfd1,aspectRatio:_0xe2af22,imageBox:_0x247399}){let [_0x8fd4e8,_0x3526e0]=_0x3dcfd1,{x:_0x272fae,y:_0x9fb79b,width:_0x2a28d7,height:_0x3fcafe}=_0x2941b5;return _0x272fae+_0x8fd4e8<_0x247399['x']&&(_0x8fd4e8=_0x247399['x']-_0x272fae),_0x9fb79b+_0x3fcafe+_0x3526e0>_0x247399['y']+_0x247399['height']&&(_0x3526e0=_0x247399['y']+_0x247399['height']-_0x9fb79b-_0x3fcafe),_0x272fae+=_0x8fd4e8,_0x2a28d7-=_0x8fd4e8,_0x3fcafe+=_0x3526e0,_0xe2af22&&Math['abs'](_0x2a28d7/_0x3fcafe)>_0xe2af22?(_0x3526e0=_0x2a28d7/_0xe2af22-_0x3fcafe,_0x3fcafe+=_0x3526e0,_0x9fb79b+_0x3fcafe>=_0x247399['y']+_0x247399['height']&&(_0x3fcafe=_0x247399['y']+_0x247399['height']-_0x9fb79b,_0x2a28d7=_0x3fcafe*_0xe2af22,_0x272fae=_0x2941b5['x']+_0x2941b5['width']-_0x2a28d7,_0x9fb79b=_0x247399['y']+_0x247399['height']-_0x3fcafe)):_0xe2af22&&(_0x8fd4e8=_0x3fcafe*_0xe2af22-_0x2a28d7,_0x2a28d7+=_0x8fd4e8,_0x272fae-=_0x8fd4e8,_0x272fae<=_0x247399['x']&&(_0x2a28d7-=_0x247399['x']-_0x272fae,_0x3fcafe=_0x2a28d7/_0xe2af22,_0x272fae=_0x247399['x'],_0x9fb79b=_0x2941b5['y'])),_0x3fcafe<_0x3fce5e&&(_0x3fcafe=_0x3fce5e,_0xe2af22&&(_0x2a28d7=_0x3fcafe*_0xe2af22),_0x272fae=_0x2941b5['x']+_0x2941b5['width']-_0x2a28d7),_0x2a28d7<_0x3fce5e&&(_0x2a28d7=_0x3fce5e,_0xe2af22&&(_0x3fcafe=_0x2a28d7/_0xe2af22),_0x272fae=_0x2941b5['x']+_0x2941b5['width']-_0x2a28d7),{'x':_0x272fae,'y':_0x9fb79b,'width':_0x2a28d7,'height':_0x3fcafe};}function resizeSouthEast({rect:_0x12b5cb,delta:_0x42ced0,aspectRatio:_0x12b03a,imageBox:_0x5b60d8}){let [_0x5463a5,_0xba9b64]=_0x42ced0,{x:_0xf4149f,y:_0x33b4e2,width:_0x3cea1a,height:_0x43aefd}=_0x12b5cb;return _0xf4149f+_0x3cea1a+_0x5463a5>_0x5b60d8['x']+_0x5b60d8['width']&&(_0x5463a5=_0x5b60d8['x']+_0x5b60d8['width']-_0xf4149f-_0x3cea1a),_0x33b4e2+_0x43aefd+_0xba9b64>_0x5b60d8['y']+_0x5b60d8['height']&&(_0xba9b64=_0x5b60d8['y']+_0x5b60d8['height']-_0x33b4e2-_0x43aefd),_0x3cea1a+=_0x5463a5,_0x43aefd+=_0xba9b64,_0x12b03a&&Math['abs'](_0x3cea1a/_0x43aefd)>_0x12b03a?(_0xba9b64=_0x3cea1a/_0x12b03a-_0x43aefd,_0x43aefd+=_0xba9b64,_0x33b4e2+_0x43aefd>=_0x5b60d8['y']+_0x5b60d8['height']&&(_0x43aefd=_0x5b60d8['y']+_0x5b60d8['height']-_0x33b4e2,_0x3cea1a=_0x43aefd*_0x12b03a,_0xf4149f=_0x12b5cb['x'],_0x33b4e2=_0x5b60d8['y']+_0x5b60d8['height']-_0x43aefd)):_0x12b03a&&(_0x5463a5=_0x43aefd*_0x12b03a-_0x3cea1a,_0x3cea1a+=_0x5463a5,_0xf4149f+_0x3cea1a>=_0x5b60d8['x']+_0x5b60d8['width']&&(_0x3cea1a=_0x5b60d8['x']+_0x5b60d8['width']-_0xf4149f,_0x43aefd=_0x3cea1a/_0x12b03a,_0xf4149f=_0x5b60d8['x']+_0x5b60d8['width']-_0x3cea1a,_0x33b4e2=_0x12b5cb['y'])),_0x43aefd<_0x3fce5e&&(_0x43aefd=_0x3fce5e,_0x12b03a&&(_0x3cea1a=_0x43aefd*_0x12b03a)),_0x3cea1a<_0x3fce5e&&(_0x3cea1a=_0x3fce5e,_0x12b03a&&(_0x43aefd=_0x3cea1a/_0x12b03a)),{'x':_0xf4149f,'y':_0x33b4e2,'width':_0x3cea1a,'height':_0x43aefd};}function resizeRect({direction:_0x2ee0cc,..._0x39ccc1}){switch(_0x2ee0cc){case'n':return resizeNorth(_0x39ccc1);case'w':return resizeWest(_0x39ccc1);case's':return resizeSouth(_0x39ccc1);case'e':return resizeEast(_0x39ccc1);case'nw':return resizeNorthWest(_0x39ccc1);case'ne':return resizeNorthEast(_0x39ccc1);case'sw':return resizeSouthWest(_0x39ccc1);case'se':return resizeSouthEast(_0x39ccc1);default:return _0x39ccc1['rect'];}}function rectContainsPoint(_0x3b08b7,[_0x288dda,_0x42c552]){return _0x3b08b7['x']<=_0x288dda&&_0x288dda<=_0x3b08b7['x']+_0x3b08b7['width']&&_0x3b08b7['y']<=_0x42c552&&_0x42c552<=_0x3b08b7['y']+_0x3b08b7['height'];}function isRectInsideRect(_0x4e24b9,_0x2f4bdf){return _0x4e24b9['x']>=_0x2f4bdf['x']&&_0x4e24b9['y']>=_0x2f4bdf['y']&&_0x4e24b9['x']+_0x4e24b9['width']<=_0x2f4bdf['x']+_0x2f4bdf['width']&&_0x4e24b9['y']+_0x4e24b9['height']<=_0x2f4bdf['y']+_0x2f4bdf['height'];}function isRectMatchesAspectRatio(_0x245704,_0x82840a){return Math['abs'](_0x245704['width']/_0x245704['height']-_0x82840a)<0.1;}function rotateSize({width:_0x3f7afc,height:_0x590b56},_0x34396d){const _0x417647=_0x34396d/0x5a%0x2!=0x0;return{'width':_0x417647?_0x590b56:_0x3f7afc,'height':_0x417647?_0x3f7afc:_0x590b56};}function calculateMaxCenteredCropFrame(_0x1f0cf3,_0x32106f,_0x5ea6d3){let _0x4a784c,_0x24916b;_0x1f0cf3/_0x32106f>_0x5ea6d3?(_0x4a784c=Math['round'](_0x32106f*_0x5ea6d3),_0x24916b=_0x32106f):(_0x4a784c=_0x1f0cf3,_0x24916b=Math['round'](_0x1f0cf3/_0x5ea6d3));const _0xa11919=Math['round']((_0x1f0cf3-_0x4a784c)/0x2),_0x12f54c=Math['round']((_0x32106f-_0x24916b)/0x2);return _0xa11919+_0x4a784c>_0x1f0cf3&&(_0x4a784c=_0x1f0cf3-_0xa11919),_0x12f54c+_0x24916b>_0x32106f&&(_0x24916b=_0x32106f-_0x12f54c),{'x':_0xa11919,'y':_0x12f54c,'width':_0x4a784c,'height':_0x24916b};}function roundRect(_0x544229){return{'x':Math['round'](_0x544229['x']),'y':Math['round'](_0x544229['y']),'width':Math['round'](_0x544229['width']),'height':Math['round'](_0x544229['height'])};}function _0x2c0e8a(_0x3a3ef5,_0x28140b,_0x3e499c){return Math['min'](Math['max'](_0x3a3ef5,_0x28140b),_0x3e499c);}var _0x290ae7=['free'],parseCropPreset=_0x1f3f96=>{const _0x475f23=stringToArray(_0x1f3f96);if(!_0x475f23||0x0===_0x475f23['length'])return[];const _0x5cc099=[];for(const _0xb9295 of _0x475f23){const _0x57f08d=_0xb9295['trim']();if(!_0x57f08d)continue;const _0x68d488=_0x57f08d['indexOf'](':');if(-0x1===_0x68d488&&!_0x290ae7['includes'](_0x57f08d)){console['warn']('Invalid\x20crop\x20preset:\x20'+_0x57f08d);continue;}const _0x13fb22=Number(_0x57f08d['slice'](0x0,_0x68d488)),_0x5f1669=Number(_0x57f08d['slice'](_0x68d488+0x1));!(!Number['isFinite'](_0x13fb22)||!Number['isFinite'](_0x5f1669)||_0x13fb22<=0x0||_0x5f1669<=0x0)||_0x290ae7['includes'](_0x57f08d)?_0x5cc099['push']({'id':_0x521ae6['generate'](),'type':'aspect-ratio','width':_0x290ae7['includes'](_0x57f08d)?0x0:_0x13fb22,'height':_0x290ae7['includes'](_0x57f08d)?0x0:_0x5f1669,'hasFreeform':_0x290ae7['includes'](_0x57f08d)}):console['warn']('Invalid\x20crop\x20preset:\x20'+_0x57f08d);}return _0x5cc099;},getClosestAspectRatio=(_0x27ac08,_0x75739e,_0x4c6a7a,_0x5f01ef=0.1)=>{const _0x5dbf30=_0x27ac08/_0x75739e;let _0x2af08a=null,_0x537d8c=0x1/0x0;for(const _0x1523c2 of _0x4c6a7a){const [_0x30c3d1,_0x362fea]=[_0x1523c2['width'],_0x1523c2['height']],_0x259a20=_0x30c3d1/_0x362fea,_0x4b1b6f=Math['abs'](_0x5dbf30-_0x259a20);_0x4b1b6f<_0x537d8c&&(_0x537d8c=_0x4b1b6f,_0x2af08a=_0x1523c2);}if(_0x2af08a){const [_0x467df1,_0xb0b2f8]=[_0x2af08a['width'],_0x2af08a['height']],_0x27d18f=_0x467df1/_0xb0b2f8;if(Math['abs'](_0x5dbf30-_0x27d18f)/_0x27d18f>_0x5f01ef)return null;}return _0x2af08a;},ExternalUploadSource=Object['freeze']({'FACEBOOK':'facebook','DROPBOX':'dropbox','GDRIVE':'gdrive','GPHOTOS':'gphotos','FLICKR':'flickr','VK':'vk','EVERNOTE':'evernote','BOX':'box','ONEDRIVE':'onedrive','HUDDLE':'huddle'}),_0x50e8e3=Object['freeze']({'MOBILE_VIDEO_CAMERA':'mobile-video-camera','MOBILE_PHOTO_CAMERA':'mobile-photo-camera'}),_0x105a8a=Object['freeze']({'LOCAL':'local','DROP_AREA':'drop-area','CAMERA':'camera','EXTERNAL':'external','API':'js-api','URL':'url','DRAW':'draw',..._0x50e8e3,...ExternalUploadSource});function customUserAgent(_0x1c6361){return getUserAgent$1({..._0x1c6361,'libraryName':_0x5c6a15,'libraryVersion':_0x4c8b17});}var msToUnixTimestamp=_0x4111ab=>'number'!=typeof _0x4111ab?0x0:Math['floor'](_0x4111ab/0x3e8),_0x3098fd=(_0x45bd65,{threshold:_0x2d3b1f})=>{const {secureExpire:_0x536def}=_0x45bd65,_0x33647e=msToUnixTimestamp(Date['now']()),_0x5560e1=Number(_0x536def);return _0x33647e+msToUnixTimestamp(_0x2d3b1f)>=_0x5560e1;},_0x4ceec3=class{['_block'];['_secureToken']=null;constructor(_0x3527e5){this['_block']=_0x3527e5;}['_debugPrint'](..._0x55a680){this['_block']['debugPrint']('[secure-uploads]',..._0x55a680);}async['getSecureToken'](){const {secureSignature:_0x10e50c,secureExpire:_0x4e123e,secureUploadsSignatureResolver:_0x4069db}=this['_block']['cfg'];if((_0x10e50c||_0x4e123e)&&_0x4069db&&console['warn']('Both\x20secureSignature/secureExpire\x20and\x20secureUploadsSignatureResolver\x20are\x20set.\x20secureUploadsSignatureResolver\x20will\x20be\x20used.'),_0x4069db){if(!this['_secureToken']||_0x3098fd(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 _0x130fca=await _0x4069db();_0x130fca?_0x130fca['secureSignature']&&_0x130fca['secureExpire']?(this['_debugPrint']('Secure\x20signature\x20resolved:',_0x130fca),this['_debugPrint']('Secure\x20signature\x20will\x20expire\x20in',new Date(0x3e8*Number(_0x130fca['secureExpire']))['toISOString']()),this['_secureToken']=_0x130fca):console['error']('Secure\x20signature\x20resolver\x20returned\x20an\x20invalid\x20result:',_0x130fca):(this['_debugPrint']('Secure\x20signature\x20resolver\x20returned\x20nothing.'),this['_secureToken']=null);}catch(_0x55645e){console['error']('Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.',_0x55645e),this['_block']['telemetryManager']['sendEventError'](_0x55645e,'secureUploadsSignatureResolver.\x20Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.');}}return this['_secureToken'];}return _0x10e50c&&_0x4e123e?(this['_debugPrint']('Secure\x20signature\x20and\x20expire\x20are\x20set.\x20Using\x20them...',{'secureSignature':_0x10e50c,'secureExpire':_0x4e123e}),{'secureSignature':_0x10e50c,'secureExpire':_0x4e123e}):null;}},validateCollectionUploadError=(_0x5c6e47,_0x31a733)=>{if(_0x5c6e47['failedCount']>0x0)return{'type':'SOME_FILES_HAS_ERRORS','message':_0x31a733['l10n']('some-files-were-not-uploaded')};},validateMultiple=(_0x34bbec,_0xa226)=>{const _0x64dd15=_0x34bbec['totalCount'],_0xe82623=_0xa226['cfg']['multiple']?_0xa226['cfg']['multipleMin']:0x0,_0x2ef446=_0xa226['cfg']['multiple']?_0xa226['cfg']['multipleMax']:0x1;if(_0xe82623&&_0x64dd15<_0xe82623)return{'type':'TOO_FEW_FILES','message':_0xa226['l10n']('files-count-limit-error-too-few',{'min':_0xe82623,'max':_0x2ef446,'total':_0x64dd15}),'payload':{'total':_0x64dd15,'min':_0xe82623,'max':_0x2ef446}};if(_0x2ef446&&_0x64dd15>_0x2ef446)return{'type':'TOO_MANY_FILES','message':_0xa226['l10n']('files-count-limit-error-too-many',{'min':_0xe82623,'max':_0x2ef446,'total':_0x64dd15}),'payload':{'total':_0x64dd15,'min':_0xe82623,'max':_0x2ef446}};},calcIsDesktopSafari=()=>{const _0xd6ce2=navigator['userAgent'];return/Macintosh|Windows/['test'](_0xd6ce2)&&/Version\/[\d.]+.*Safari/['test'](_0xd6ce2)&&!/Chrome|Chromium|Edg|OPR/['test'](_0xd6ce2);},calcHtmlMediaCaptureSupport=()=>'capture'in document['createElement']('input'),_0x382e72=()=>({'safariDesktop':calcIsDesktopSafari()}),calcBrowserFeatures=()=>({'htmlMediaCapture':calcHtmlMediaCaptureSupport()}),_0x38f24a=_0x382e72(),browserFeatures=calcBrowserFeatures(),_0x2b8c33='image/*',_0x227c09='video/*',_0x5a9096=['image/heif','image/heif-sequence','image/heic','image/heic-sequence','image/avif','image/avif-sequence','.heif','.heifs','.heic','.heics','.avif','.avifs'],calcImageAcceptList=()=>_0x38f24a['safariDesktop']?[_0x2b8c33]:[_0x2b8c33,..._0x5a9096],_0x4edccd=calcImageAcceptList(),_0x3bc26a=_0x711e8=>_0x711e8?_0x711e8['filter'](_0x1bf439=>'string'==typeof _0x1bf439)['flatMap'](_0x327346=>stringToArray(_0x327346)):[],matchMimeType=(_0x50d64c,_0x308a2b)=>_0x308a2b['some'](_0x27b43f=>{if(_0x27b43f['endsWith']('*')){const _0x418a8e=_0x27b43f['replace']('*','');return _0x50d64c['startsWith'](_0x418a8e);}return _0x50d64c===_0x27b43f;}),matchExtension=(_0x14253c,_0x8489da)=>_0x8489da['some'](_0x5e27ed=>!!_0x5e27ed['startsWith']('.')&&_0x14253c['toLowerCase']()['endsWith'](_0x5e27ed['toLowerCase']())),_0x4ccbb5=_0xbb9e0e=>{const _0x4ca7cd=_0xbb9e0e?.['type'];return!!_0x4ca7cd&&matchMimeType(_0x4ca7cd,_0x4edccd);},validateFileType=(_0x2766ae,_0x37649c)=>{const _0xb708a0=_0x37649c['cfg']['imgOnly'],_0x3aa925=_0x37649c['cfg']['accept'],_0x3e0ec5=_0x3bc26a([..._0xb708a0?_0x4edccd:[],_0x3aa925]);if(!_0x3e0ec5['length'])return;const _0x5418ea=_0x2766ae['mimeType'],_0x378673=_0x2766ae['name'];if(!_0x5418ea||!_0x378673)return;const _0x4a0e12=matchMimeType(_0x5418ea,_0x3e0ec5),_0x4020a3=matchExtension(_0x378673,_0x3e0ec5);return _0x4a0e12||_0x4020a3?void 0x0:{'type':'FORBIDDEN_FILE_TYPE','message':_0x37649c['l10n']('file-type-not-allowed'),'payload':{'entry':_0x2766ae}};},validateIsImage=(_0x1bf805,_0x17032d)=>{const _0x5271e0=_0x17032d['cfg']['imgOnly'],_0x53d320=_0x1bf805['isImage'];if(_0x5271e0&&!_0x53d320&&(_0x1bf805['fileInfo']||!_0x1bf805['externalUrl'])&&(_0x1bf805['fileInfo']||_0x1bf805['mimeType']))return{'type':'NOT_AN_IMAGE','message':_0x17032d['l10n']('images-only-accepted'),'payload':{'entry':_0x1bf805}};},_0x4761f9=0x3e8,ByteUnitEnum=Object['freeze']({'AUTO':'auto','BYTE':'byte','KB':'kb','MB':'mb','GB':'gb','TB':'tb','PB':'pb'}),_0x4e9fe9=_0x35effd=>Math['ceil'](0x64*_0x35effd)/0x64,prettyBytes=(_0x291095,_0x4698e9=ByteUnitEnum['AUTO'])=>{const _0x1787cc=_0x4698e9===ByteUnitEnum['AUTO'];if(_0x4698e9===ByteUnitEnum['BYTE']||_0x1787cc&&_0x291095<_0x4761f9**0x1)return _0x291095+'\x20'+('one'===getPluralForm('en-US',_0x291095)?'byte':'bytes');return _0x4698e9===ByteUnitEnum['KB']||_0x1787cc&&_0x291095<_0x4761f9**0x2?_0x4e9fe9(_0x291095/_0x4761f9**0x1)+'\x20KB':_0x4698e9===ByteUnitEnum['MB']||_0x1787cc&&_0x291095<_0x4761f9**0x3?_0x4e9fe9(_0x291095/_0x4761f9**0x2)+'\x20MB':_0x4698e9===ByteUnitEnum['GB']||_0x1787cc&&_0x291095<_0x4761f9**0x4?_0x4e9fe9(_0x291095/_0x4761f9**0x3)+'\x20GB':_0x4698e9===ByteUnitEnum['TB']||_0x1787cc&&_0x291095<_0x4761f9**0x5?_0x4e9fe9(_0x291095/_0x4761f9**0x4)+'\x20TB':_0x4e9fe9(_0x291095/_0x4761f9**0x5)+'\x20PB';},validateMaxSizeLimit=(_0x402e11,_0x4d8236)=>{const _0x1433bd=_0x4d8236['cfg']['maxLocalFileSizeBytes'],_0x1bb276=_0x402e11['size'];if(_0x1433bd&&_0x1bb276&&_0x1bb276>_0x1433bd)return{'type':'FILE_SIZE_EXCEEDED','message':_0x4d8236['l10n']('files-max-size-limit-error',{'maxFileSize':prettyBytes(_0x1433bd)}),'payload':{'entry':_0x402e11}};},validateUploadError=(_0x5dbadc,_0x1321f5)=>{const {internalId:_0x3197eb}=_0x5dbadc,_0x3f60f1=_0x1321f5['_uploadCollection']['read'](_0x3197eb),_0x13c825=_0x3f60f1?.['getValue']('uploadError');if(!_0x13c825)return;if(_0x13c825 instanceof _0x2ae9f1)return{'type':'UPLOAD_ERROR','message':_0x13c825['message'],'payload':{'entry':_0x5dbadc,'error':_0x13c825}};if(_0x13c825 instanceof NetworkError)return{'type':'NETWORK_ERROR','message':_0x13c825['message'],'payload':{'entry':_0x5dbadc,'error':_0x13c825}};const _0x564a5b=_0x13c825 instanceof Error?_0x13c825:new Error('Unknown\x20error',{'cause':_0x13c825});return{'type':'UNKNOWN_ERROR','message':_0x564a5b['message'],'payload':{'entry':_0x5dbadc,'error':_0x564a5b}};},withResolvers=()=>{let _0xaba73e=()=>{},_0x2c4160=()=>{};return{'promise':new Promise((_0x87f498,_0x17dcbe)=>{_0xaba73e=_0x87f498,_0x2c4160=_0x17dcbe;}),'resolve':_0xaba73e,'reject':_0x2c4160};},_0x5199fb={'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=_0x4376be=>'function'==typeof _0x4376be?{'runOn':'change','validator':_0x4376be}:_0x4376be,ValidationManager=class{['_blockInstance'];['_uploadCollection'];['_commonFileValidators']=[validateIsImage,validateFileType,validateMaxSizeLimit,validateUploadError];['_commonCollectionValidators']=[validateMultiple,validateCollectionUploadError];['_queue']=new _0x123ca5(0x14);['_runQueueDebounced']=_0xe9436c(()=>{this['_queue']['run']();},0x1f4);['_entryValidationState']=new Map();constructor(_0x2e8ee4){this['_blockInstance']=_0x2e8ee4,this['_uploadCollection']=this['_blockInstance']['uploadCollection'];const _0x28d185=()=>{this['runFileValidators']('change'),this['runCollectionValidators']();};this['_blockInstance']['subConfigValue']('maxLocalFileSizeBytes',_0x28d185),this['_blockInstance']['subConfigValue']('multipleMin',_0x28d185),this['_blockInstance']['subConfigValue']('multipleMax',_0x28d185),this['_blockInstance']['subConfigValue']('multiple',_0x28d185),this['_blockInstance']['subConfigValue']('imgOnly',_0x28d185),this['_blockInstance']['subConfigValue']('accept',_0x28d185),this['_blockInstance']['subConfigValue']('validationConcurrency',_0x65be09=>{this['_queue']['concurrency']=_0x65be09;});}['runFileValidators'](_0x16c6ba,_0xd7821d){const _0x483b89=_0xd7821d??this['_uploadCollection']['items']();for(const _0x5068e4 of _0x483b89){const _0x495f5c=this['_uploadCollection']['read'](_0x5068e4);_0x495f5c&&this['_runFileValidatorsForEntry'](_0x495f5c,_0x16c6ba);}}['runCollectionValidators'](){const _0x5a72cb=this['_blockInstance']['api']['getOutputCollectionState'](),_0x3e0a7e=[];for(const _0x2f74c8 of[...this['_commonCollectionValidators'],...this['_blockInstance']['cfg']['collectionValidators']])try{const _0x41f45c=_0x2f74c8(_0x5a72cb,this['_blockInstance']['api']);if(!_0x41f45c)continue;_0x41f45c&&(_0x3e0a7e['push'](this['_addCustomTypeToValidationError'](_0x41f45c)),_0x41f45c['message']||console['warn'](_0x5199fb['MISSING_ERROR_MESSAGE']));}catch(_0x52d134){console['warn'](_0x5199fb['COLLECTION_VALIDATION_FAILED'],_0x52d134);}this['_blockInstance']['$']['*collectionErrors']=_0x3e0a7e,_0x3e0a7e['length']>0x0&&this['_blockInstance']['emit'](EventType['COMMON_UPLOAD_FAILED'],()=>this['_blockInstance']['api']['getOutputCollectionState'](),{'debounce':!0x0});}['cleanupValidationForEntry'](_0x47b207){const _0x11918b=this['_entryValidationState']['get'](_0x47b207['uid']);_0x11918b&&(_0x11918b['abortController']?.['abort'](),this['_entryValidationState']['delete'](_0x47b207['uid']));}async['_runFileValidatorsForEntry'](_0x53b2ef,_0x47d93c){const _0x18cb74=this['_getValidatorDescriptorsForEntry'](_0x53b2ef,_0x47d93c);if(0x0===_0x18cb74['length'])return;_0x53b2ef['setMultipleValues']({'isQueuedForValidation':!0x0,'isValidationPending':!0x0});const _0x29f7d8=this['_blockInstance']['api']['getOutputItem'](_0x53b2ef['uid']),_0x1458ea=this['_getEntryValidationState'](_0x53b2ef);_0x1458ea['promise']&&await _0x1458ea['promise'];const {promise:_0x4b40e6,resolve:_0x365378}=withResolvers();_0x1458ea['promise']=_0x4b40e6;const _0x2ab03d=new AbortController();_0x1458ea['abortController']=_0x2ab03d;const _0x597d2c=this['_blockInstance']['cfg']['validationTimeout'],_0x3f0158=this['_getValidatorDescriptors'](),_0x1610f0=new Set(_0x18cb74['map'](_0x38915d=>_0x38915d['validator'])),_0x35c75c=[];for(const _0x45ee47 of _0x3f0158)if(!_0x1610f0['has'](_0x45ee47['validator'])){const _0x553a9e=_0x1458ea['lastErrorThrownByValidator']['get'](_0x45ee47['validator']);_0x553a9e&&_0x35c75c['push'](_0x553a9e);}const _0x45d305=_0x18cb74['map'](_0x3daed9=>async()=>{if(!this['_blockInstance']['isConnected'])return;const _0x2ba07b=setTimeout(()=>{_0x1458ea['skippedValidators']['add'](_0x3daed9['validator']),_0x2ab03d['abort'](),console['warn'](_0x5199fb['FILE_VALIDATION_TIMEOUT']);},_0x597d2c);try{const _0x1327f6=await _0x3daed9['validator'](_0x29f7d8,this['_blockInstance']['api'],{'signal':_0x2ab03d['signal']});if(!_0x1327f6||_0x2ab03d['signal']['aborted'])return void _0x1458ea['lastErrorThrownByValidator']['set'](_0x3daed9['validator'],void 0x0);const _0x568c06=this['_addCustomTypeToValidationError'](_0x1327f6);_0x1458ea['lastErrorThrownByValidator']['set'](_0x3daed9['validator'],_0x568c06),_0x35c75c['push'](_0x568c06),_0x1327f6['message']||console['warn'](_0x5199fb['MISSING_ERROR_MESSAGE']);}catch(_0x310ca8){_0x2ab03d['signal']['aborted']||(_0x1458ea['skippedValidators']['add'](_0x3daed9['validator']),console['warn'](_0x5199fb['FILE_VALIDATION_FAILED'],_0x310ca8),this['_blockInstance']['telemetryManager']['sendEventError'](_0x310ca8,'file\x20validator.\x20'+_0x5199fb['FILE_VALIDATION_FAILED']));}finally{clearTimeout(_0x2ba07b),'change'!==_0x3daed9['runOn']&&_0x1458ea['skippedValidators']['add'](_0x3daed9['validator']);}});if(this['_runQueueDebounced'](),await this['_queue']['add'](async()=>{_0x53b2ef['setValue']('isQueuedForValidation',!0x1),await Promise['all'](_0x45d305['map'](_0x1d7a99=>_0x1d7a99()))['catch'](()=>{});},{'autoRun':!0x1}),_0x2ab03d['signal']['aborted'])return _0x53b2ef['setMultipleValues']({'isQueuedForValidation':!0x1,'isValidationPending':!0x1}),void _0x365378();_0x53b2ef['setMultipleValues']({'isValidationPending':!0x1,'isQueuedForValidation':!0x1,'errors':_0x35c75c}),_0x365378();}['_addCustomTypeToValidationError'](_0x2af19f){return{..._0x2af19f,'type':_0x2af19f['type']??'CUSTOM_ERROR'};}['_getEntryValidationState'](_0x574d84){const _0x24bf7e=this['_entryValidationState']['get'](_0x574d84['uid']);if(_0x24bf7e)return _0x24bf7e;const _0x2c8757={'abortController':void 0x0,'skippedValidators':new WeakSet(),'promise':void 0x0,'lastErrorThrownByValidator':new WeakMap()};return this['_entryValidationState']['set'](_0x574d84['uid'],_0x2c8757),_0x2c8757;}['_getValidatorDescriptors'](){return[...this['_commonFileValidators'],...this['_blockInstance']['cfg']['fileValidators']]['map'](getValidatorDescriptor);}['_getValidatorDescriptorsForEntry'](_0x2a0128,_0x599f34){const _0x500ed2=this['_getEntryValidationState'](_0x2a0128);return this['_getValidatorDescriptors']()['filter'](_0x39800d=>!_0x500ed2['skippedValidators']['has'](_0x39800d['validator']))['filter'](_0x24a842=>_0x24a842['runOn']===_0x599f34);}},_0x50ccb9='[Typed\x20State]\x20Wrong\x20property\x20name:\x20',_0xbb01dd='[Typed\x20State]\x20Wrong\x20property\x20type:\x20',TypedData=class{['__typedSchema'];['__ctxId'];['__schema'];['__data'];constructor(_0x537fc2,_0x481988){this['__typedSchema']=_0x537fc2,this['__ctxId']=_0x481988||_0x521ae6['generate'](),this['__schema']=Object['keys'](_0x537fc2)['reduce']((_0xafdce0,_0x58f46c)=>(_0x537fc2[_0x58f46c]&&(_0xafdce0[_0x58f46c]=_0x537fc2[_0x58f46c]['value']),_0xafdce0),{}),this['__data']=Data['registerCtx'](this['__schema'],this['__ctxId']);}get['uid'](){return this['__ctxId'];}['setValue'](_0x4da2ce,_0x20c1c6){if(!Object['hasOwn'](this['__typedSchema'],_0x4da2ce)||!this['__typedSchema'][_0x4da2ce])return void console['warn'](_0x50ccb9+_0x4da2ce);const _0x5b377d=this['__typedSchema'][_0x4da2ce],_0x59d339=_0x20c1c6?.['constructor']===_0x5b377d['type'],_0x338e81=_0x20c1c6 instanceof _0x5b377d['type'],_0x2e8d95=_0x5b377d['nullable']&&null===_0x20c1c6;_0x59d339||_0x338e81||_0x2e8d95?this['__data']['pub'](_0x4da2ce,_0x20c1c6):console['warn'](_0xbb01dd+_0x4da2ce);}['setMultipleValues'](_0x52d791){for(const [_0x5999e7,_0x3a7bd7]of Object['entries'](_0x52d791))this['setValue'](_0x5999e7,_0x3a7bd7);}['getValue'](_0x4fb89c){return Object['hasOwn'](this['__typedSchema'],_0x4fb89c)||console['warn'](_0x50ccb9+_0x4fb89c),this['__data']['read'](_0x4fb89c);}['subscribe'](_0x6c3b14,_0x504b77){return this['__data']['sub'](_0x6c3b14,_0x504b77);}['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(_0xcde171){this['__typedSchema']=_0xcde171['typedSchema'],this['__ctxId']=_0xcde171['ctxName']||_0x521ae6['generate'](),this['__data']=Data['registerCtx']({},this['__ctxId']),this['__watchList']=_0xcde171['watchList']||[];let _0x2c8eb7=Object['create'](null);this['__notifyObservers']=(_0x4b3c86,_0x4a35a5)=>{this['__observeTimeout']&&window['clearTimeout'](this['__observeTimeout']),_0x2c8eb7[_0x4b3c86]||(_0x2c8eb7[_0x4b3c86]=new Set()),_0x2c8eb7[_0x4b3c86]['add'](_0x4a35a5),this['__observeTimeout']=window['setTimeout'](()=>{0x0!==Object['keys'](_0x2c8eb7)['length']&&(this['__propertyObservers']['forEach'](_0x51a587=>{_0x51a587({..._0x2c8eb7});}),_0x2c8eb7=Object['create'](null));});},_0xcde171['handler']&&this['observeCollection'](_0xcde171['handler']);}['notify'](){this['__notifyTimeout']&&window['clearTimeout'](this['__notifyTimeout']),this['__notifyTimeout']=window['setTimeout'](()=>{const _0x474151=new Set(this['__added']),_0x39138e=new Set(this['__removed']);this['__added']['clear'](),this['__removed']['clear']();for(const _0x462111 of this['__collectionObservers'])_0x462111?.([...this['__items']],_0x474151,_0x39138e);});}['observeCollection'](_0x4c7290){return this['__collectionObservers']['add'](_0x4c7290),this['__items']['size']>0x0&&this['notify'](),()=>{this['unobserveCollection'](_0x4c7290);};}['unobserveCollection'](_0x3d7cfa){this['__collectionObservers']['delete'](_0x3d7cfa);}['add'](_0x8a0932){const _0x1204ac=new TypedData(this['__typedSchema']);for(const [_0x337415,_0x413e4f]of Object['entries'](_0x8a0932))void 0x0!==_0x413e4f&&_0x1204ac['setValue'](_0x337415,_0x413e4f);return this['__items']['add'](_0x1204ac['uid']),this['notify'](),this['__data']['add'](_0x1204ac['uid'],_0x1204ac),this['__added']['add'](_0x1204ac),this['__watchList']['forEach'](_0x16ec77=>{this['__subsMap'][_0x1204ac['uid']]||(this['__subsMap'][_0x1204ac['uid']]=[]),this['__subsMap'][_0x1204ac['uid']]?.['push'](_0x1204ac['subscribe'](_0x16ec77,()=>{this['__notifyObservers'](_0x16ec77,_0x1204ac['uid']);}));}),_0x1204ac['uid'];}['read'](_0x5a7cf5){return this['__data']['read'](_0x5a7cf5);}['readProp'](_0xb8bc9c,_0x3490f5){const _0x4cbd40=this['read'](_0xb8bc9c);return _0x4cbd40?_0x4cbd40['getValue'](_0x3490f5):(console['warn']('Item\x20with\x20id\x20'+_0xb8bc9c+'\x20not\x20found'),null);}['publishProp'](_0x925784,_0x5d5d88,_0x512442){const _0x369cec=this['read'](_0x925784);_0x369cec?_0x369cec['setValue'](_0x5d5d88,_0x512442):console['warn']('Item\x20with\x20id\x20'+_0x925784+'\x20not\x20found');}['remove'](_0x482ca9){const _0x4f5599=this['read'](_0x482ca9);_0x4f5599&&this['__removed']['add'](_0x4f5599),this['__items']['delete'](_0x482ca9),this['notify'](),this['__data']['pub'](_0x482ca9,null),delete this['__subsMap'][_0x482ca9];}['clearAll'](){this['__items']['forEach'](_0x525958=>{this['remove'](_0x525958);});}['observeProperties'](_0x3a9478){return this['__propertyObservers']['add'](_0x3a9478),()=>{this['unobserveProperties'](_0x3a9478);};}['unobserveProperties'](_0x56c62f){this['__propertyObservers']['delete'](_0x56c62f);}['findItems'](_0xa5429a){const _0x43ffbe=[];return this['__items']['forEach'](_0x12a804=>{const _0xae12d1=this['read'](_0x12a804);_0xae12d1&&_0xa5429a(_0xae12d1)&&_0x43ffbe['push'](_0x12a804);}),_0x43ffbe;}['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 _0x2adfeb in this['__subsMap'])this['__subsMap'][_0x2adfeb]?.['forEach'](_0x590616=>{_0x590616['remove']();}),delete this['__subsMap'][_0x2adfeb];}},_0xc1c2a2=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'}),_0x5da446=_0x4ff206=>({'isVideoRecordingEnabled':_0x5ab57c(_0x4ff206['cameraModes'])['includes'](_0xc1c2a2['VIDEO']),'isPhotoEnabled':_0x5ab57c(_0x4ff206['cameraModes'])['includes'](_0xc1c2a2['PHOTO'])}),_0xb9f29b=/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/i,_0xb056ba=new RegExp('^/?('+_0xb9f29b['source']+')(?:/(-/(?:[^/]+/)+)?([^/]*))?$','i'),_0x3dffb3=({url:_0x24c2b0,cdnBase:_0x3ee926})=>{const _0x2c51eb=new URL(_0x3ee926),_0xb0ba05=new URL(_0x4d444e),_0x4fef0c=new URL(_0x24c2b0);if(_0x2c51eb['host']!==_0x4fef0c['host']&&_0xb0ba05['host']!==_0x4fef0c['host'])return null;const _0xe66f57=_0xb056ba['exec'](_0x4fef0c['pathname']);if(!_0xe66f57)return null;const [,_0x3f8b68,_0xcbdd2b,_0x29b8fd]=_0xe66f57;return _0x3f8b68?{'uuid':_0x3f8b68,'cdnUrlModifiers':_0xcbdd2b||'','filename':_0x29b8fd||null}:null;};function _0x3c5433(_0x36cf07){const _0x3e393a=new Map();return(..._0x2c4854)=>{const _0x1d3cd4=JSON['stringify'](_0x2c4854);if(_0x3e393a['has'](_0x1d3cd4))return _0x3e393a['get'](_0x1d3cd4);const _0xe3a007=_0x36cf07(..._0x2c4854);return _0x3e393a['set'](_0x1d3cd4,_0xe3a007),_0xe3a007;};}var _0x34905c=new Set();function _0xb3e497(_0x2a753c){_0x34905c['has'](_0x2a753c)||(_0x34905c['add'](_0x2a753c),console['warn'](_0x2a753c));}function createAsyncAssertWrapper(_0x3c505c){let _0x25c87d=!0x1;return setTimeout(()=>{_0x25c87d=!0x0;},0x0),_0x34a04d=>(..._0x3b781b)=>(_0x25c87d&&_0xb3e497(_0x3c505c),_0x34a04d(..._0x3b781b));}function buildOutputCollectionState(_0x474f12){const _0x3469e9={},_0x9d6f2e={'progress':()=>_0x474f12['$']['*commonProgress'],'errors':()=>_0x474f12['$']['*collectionErrors'],'group':()=>_0x474f12['$']['*groupInfo'],'totalCount':()=>_0x474f12['uploadCollection']['size'],'failedCount':()=>_0x3469e9['failedEntries']['length'],'successCount':()=>_0x3469e9['successEntries']['length'],'uploadingCount':()=>_0x3469e9['uploadingEntries']['length'],'status':()=>_0x3469e9['isFailed']?'failed':_0x3469e9['isUploading']?'uploading':_0x3469e9['isSuccess']?'success':'idle','isSuccess':()=>_0x3469e9['allEntries']['length']>0x0&&0x0===_0x3469e9['errors']['length']&&_0x3469e9['successEntries']['length']===_0x3469e9['allEntries']['length'],'isUploading':()=>_0x3469e9['allEntries']['some'](_0x161a96=>'uploading'===_0x161a96['status']),'isFailed':()=>_0x3469e9['errors']['length']>0x0||_0x3469e9['failedEntries']['length']>0x0,'allEntries':()=>_0x474f12['getOutputData'](),'successEntries':()=>_0x3469e9['allEntries']['filter'](_0x205339=>'success'===_0x205339['status']),'failedEntries':()=>_0x3469e9['allEntries']['filter'](_0x32c5b9=>'failed'===_0x32c5b9['status']),'uploadingEntries':()=>_0x3469e9['allEntries']['filter'](_0x2dcc59=>'uploading'===_0x2dcc59['status']),'idleEntries':()=>_0x3469e9['allEntries']['filter'](_0x4a9eeb=>'idle'===_0x4a9eeb['status'])},_0x2a495e=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 [_0x17fe82,_0xfb8d8a]of Object['entries'](_0x9d6f2e)){const _0x35fa6d=_0x17fe82,_0xe8cc4a=_0x3c5433(_0x2a495e(_0xfb8d8a));Object['defineProperty'](_0x3469e9,_0x35fa6d,{'get':_0xe8cc4a,'enumerable':!0x0});}return _0x3469e9;}var _0x2df21a=class{['_ctx'];constructor(_0x2ca8e8){this['_ctx']=_0x2ca8e8;}get['_uploadCollection'](){return this['_ctx']['uploadCollection'];}get['cfg'](){return this['_ctx']['cfg'];}get['l10n'](){return this['_ctx']['l10n']['bind'](this['_ctx']);}['addFileFromUrl']=(_0x441dc3,{silent:_0x2a4f19,fileName:_0x4552fd,source:_0x5598b9}={})=>{const _0x8f1096=this['_uploadCollection']['add']({'externalUrl':_0x441dc3,'fileName':_0x4552fd??null,'silent':_0x2a4f19??!0x1,'source':_0x5598b9??_0x105a8a['API']});return this['getOutputItem'](_0x8f1096);};['addFileFromUuid']=(_0x3c1321,{silent:_0x1bb7e4,fileName:_0x5bf015,source:_0x129986}={})=>{const _0x56390d=this['_uploadCollection']['add']({'uuid':_0x3c1321,'fileName':_0x5bf015??null,'silent':_0x1bb7e4??!0x1,'source':_0x129986??_0x105a8a['API']});return this['getOutputItem'](_0x56390d);};['addFileFromCdnUrl']=(_0x237bbd,{silent:_0x58d65f,fileName:_0x36b2c0,source:_0x476ce4}={})=>{const _0xfd34c1=_0x3dffb3({'url':_0x237bbd,'cdnBase':this['cfg']['cdnCname']});if(!_0xfd34c1)throw new Error('Invalid\x20CDN\x20URL');const _0x179007=this['_uploadCollection']['add']({'uuid':_0xfd34c1['uuid'],'cdnUrl':_0x237bbd,'cdnUrlModifiers':_0xfd34c1['cdnUrlModifiers'],'fileName':_0x36b2c0??_0xfd34c1['filename']??null,'silent':_0x58d65f??!0x1,'source':_0x476ce4??_0x105a8a['API']});return this['getOutputItem'](_0x179007);};['addFileFromObject']=(_0x232227,{silent:_0x328cb0,fileName:_0x102041,source:_0x530749,fullPath:_0x40597e}={})=>{const _0x130855=this['_uploadCollection']['add']({'file':_0x232227,'isImage':_0x4ccbb5(_0x232227),'mimeType':_0x232227['type'],'fileName':_0x102041??_0x232227['name'],'fileSize':_0x232227['size'],'silent':_0x328cb0??!0x1,'source':_0x530749??_0x105a8a['API'],'fullPath':_0x40597e??null});return this['getOutputItem'](_0x130855);};['removeFileByInternalId']=_0x2f49ae=>{if(!this['_uploadCollection']['read'](_0x2f49ae))throw new Error('File\x20with\x20internalId\x20'+_0x2f49ae+'\x20not\x20found');this['_uploadCollection']['remove'](_0x2f49ae);};['removeAllFiles'](){this['_uploadCollection']['clearAll']();}['uploadAll']=()=>{const _0x21c8c1=this['_uploadCollection']['items']()['filter'](_0x56e50a=>{const _0x55c369=this['_uploadCollection']['read'](_0x56e50a);return!!_0x55c369&&!(_0x55c369['getValue']('isRemoved')||_0x55c369['getValue']('isUploading')||_0x55c369['getValue']('fileInfo')||0x0!==_0x55c369['getValue']('errors')['length']||_0x55c369['getValue']('isValidationPending')||_0x55c369['getValue']('isQueuedForValidation'));});0x0!==_0x21c8c1['length']&&(this['_ctx']['$']['*uploadTrigger']=new Set(_0x21c8c1),this['_ctx']['emit'](EventType['COMMON_UPLOAD_START'],this['getOutputCollectionState']()));};['openSystemDialog']=(_0x1de640={})=>{const _0x2157a2=_0x4d7005(_0x3bc26a([this['cfg']['accept']??'',...this['cfg']['imgOnly']?_0x4edccd:[]])),_0x29a174='uploadcare-file-input',_0x470671=document['createElement']('input');if(_0x470671['setAttribute'](_0x29a174,''),applyStyles(_0x470671,{'opacity':0x0,'height':0x0,'width':0x0,'visibility':'hidden','position':'absolute','top':0x0,'left':0x0}),_0x470671['type']='file',_0x470671['multiple']=this['cfg']['multiple'],_0x1de640['captureCamera']){_0x470671['capture']=this['cfg']['cameraCapture'];const {isPhotoEnabled:_0x52bda1,isVideoRecordingEnabled:_0x38c98e}=_0x5da446(this['cfg']);_0x1de640['modeCamera']===_0xc1c2a2['PHOTO']&&_0x52bda1?_0x470671['accept']=_0x2b8c33:_0x1de640['modeCamera']===_0xc1c2a2['VIDEO']&&_0x38c98e?_0x470671['accept']=_0x227c09:_0x470671['accept']=[_0x2b8c33,_0x38c98e&&_0x227c09]['filter'](Boolean)['join'](',');}else _0x470671['accept']=_0x2157a2;_0x470671['addEventListener']('change',()=>{_0x470671['files']&&([..._0x470671['files']]['forEach'](_0x1eedcc=>{this['addFileFromObject'](_0x1eedcc,{'source':_0x1de640['captureCamera']?_0x105a8a['CAMERA']:_0x105a8a['LOCAL']});}),this['_ctx']['modalManager']?.['open'](ActivityBlock['activities']['UPLOAD_LIST']),this['_ctx']['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'],_0x470671['remove']());},{'once':!0x0}),document['querySelectorAll']('['+_0x29a174+']')['forEach'](_0x1b3d52=>{_0x1b3d52['remove']();}),document['body']['appendChild'](_0x470671),_0x470671['dispatchEvent'](new MouseEvent('click'));};['getOutputItem'](_0x1703c9){const _0x4b0f82=Data['getCtx'](_0x1703c9)['store'],_0x163d2c=_0x4b0f82['fileInfo'],_0x586dbb=_0x4b0f82['isRemoved']?'removed':_0x4b0f82['errors']['length']>0x0?'failed':_0x4b0f82['fileInfo']?'success':_0x4b0f82['isUploading']?'uploading':'idle';return{'uuid':_0x163d2c?.['uuid']??_0x4b0f82['uuid']??null,'internalId':_0x1703c9,'name':_0x163d2c?.['originalFilename']??_0x4b0f82['fileName'],'size':_0x163d2c?.['size']??_0x4b0f82['fileSize'],'isImage':_0x163d2c?.['isImage']??_0x4b0f82['isImage'],'mimeType':_0x163d2c?.['mimeType']??_0x4b0f82['mimeType'],'file':_0x4b0f82['file'],'externalUrl':_0x4b0f82['externalUrl'],'cdnUrlModifiers':_0x4b0f82['cdnUrlModifiers'],'cdnUrl':_0x4b0f82['cdnUrl']??_0x163d2c?.['cdnUrl']??null,'fullPath':_0x4b0f82['fullPath'],'uploadProgress':_0x4b0f82['uploadProgress'],'fileInfo':_0x163d2c??null,'metadata':_0x4b0f82['metadata']??_0x163d2c?.['metadata']??null,'isSuccess':'success'===_0x586dbb,'isUploading':'uploading'===_0x586dbb,'isFailed':'failed'===_0x586dbb,'isRemoved':'removed'===_0x586dbb,'isValidationPending':_0x4b0f82['isValidationPending'],'errors':_0x4b0f82['errors'],'status':_0x586dbb,'source':_0x4b0f82?.['source']};}['getOutputCollectionState'](){return buildOutputCollectionState(this['_ctx']);}['initFlow']=(_0x19a84f=!0x1)=>{if(this['_uploadCollection']['size']>0x0&&!_0x19a84f)this['_ctx']['modalManager']?.['open'](ActivityBlock['activities']['UPLOAD_LIST']),this['_ctx']['set$']({'*currentActivity':ActivityBlock['activities']['UPLOAD_LIST']});else{if(0x1===this['_sourceList']?.['length']){const _0x51dd63=this['_sourceList'][0x0];if('local'===_0x51dd63)return this['_ctx']['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'],void this['openSystemDialog']();if('camera'===_0x51dd63&&browserFeatures['htmlMediaCapture']){const {isPhotoEnabled:_0x58c18d,isVideoRecordingEnabled:_0x57b4e9}=_0x5da446(this['cfg']);if(_0x58c18d&&_0x57b4e9)return void this['_ctx']['set$']({'*currentActivity':ActivityBlock['activities']['START_FROM']});if(_0x58c18d||_0x57b4e9)return void this['openSystemDialog']({'captureCamera':!0x0,'modeCamera':_0x58c18d?_0xc1c2a2['PHOTO']:_0xc1c2a2['VIDEO']});this['openSystemDialog']({'captureCamera':!0x0,'modeCamera':_0xc1c2a2['PHOTO']});}const _0xe25747=[...this['_ctx']['$']['*blocksRegistry']]['find'](_0xfe0244=>'type'in _0xfe0244&&_0xfe0244['type']===_0x51dd63);_0xe25747?.['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']=(_0x52a990,..._0x3f17e6)=>{this['_ctx']['hasBlockInCtx'](_0x2e3273=>_0x2e3273['activityType']===_0x52a990)?this['_ctx']['set$']({'*currentActivityParams':_0x3f17e6??{},'*currentActivity':_0x52a990}):console['warn']('Activity\x20type\x20\x22'+_0x52a990+'\x22\x20not\x20found\x20in\x20the\x20context');};['getCurrentActivity']=()=>this['_ctx']['$']['*currentActivity'];['setModalState']=_0x2ccee3=>{!_0x2ccee3||this['_ctx']['$']['*currentActivity']?_0x2ccee3?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 _0x7c81a9=[];return this['cfg']['sourceList']&&(_0x7c81a9=stringToArray(this['cfg']['sourceList'])),_0x7c81a9;}},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':_0x57878e,'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})}),_0x3d665e=class _0x221858 extends ActivityBlock{static ['extSrcList'];static ['sourceTypes'];['couldBeCtxOwner']=!0x1;['isCtxOwner']=!0x1;['_unobserveCollection'];['_unobserveCollectionProperties'];['init$']=uploaderBlockCtx(this);get['hasCtxOwner'](){return this['hasBlockInCtx'](_0x2ae904=>_0x2ae904 instanceof _0x221858&&(_0x2ae904['isCtxOwner']&&_0x2ae904['isConnected']&&_0x2ae904!==this));}['initCallback'](){if(super['initCallback'](),!this['has']('*uploadCollection')){const _0x4e670b=new TypedCollection({'typedSchema':uploadEntrySchema,'watchList':['uploadProgress','uploadError','fileInfo','errors','cdnUrl','isUploading','isValidationPending']});this['add']('*uploadCollection',_0x4e670b);}this['has']('*publicApi')||this['add']('*publicApi',new _0x2df21a(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',_0x5a424c=>{this['$']['*uploadQueue']['concurrency']=Number(_0x5a424c)||0x1;}),this['$']['*secureUploadsManager']||(this['$']['*secureUploadsManager']=new _0x4ceec3(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'](_0x537655){const _0x3d9c79=await this['getUploadClientOptions'](),_0x2effd0=_0x537655['allEntries']['map'](_0x4a3d44=>_0x4a3d44['uuid']+(_0x4a3d44['cdnUrlModifiers']?'/'+_0x4a3d44['cdnUrlModifiers']:'')),_0x139208=new AbortController(),_0x517174=await _0x1297a6(_0x2effd0,{..._0x3d9c79,'signal':_0x139208['signal']});if(this['$']['*collectionState']!==_0x537655)return void _0x139208['abort']();this['$']['*groupInfo']=_0x517174;const _0x326cce=this['api']['getOutputCollectionState']();this['emit'](EventType['GROUP_CREATED'],_0x326cce),this['emit'](EventType['CHANGE'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}),this['$']['*collectionState']=_0x326cce;}['_flushOutputItems']=_0xe9436c(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']=(_0x11bf58,_0x1d335c,_0x3f7f5e)=>{(_0x1d335c['size']||_0x3f7f5e['size'])&&(this['$']['*groupInfo']=null),this['validationManager']['runFileValidators']('add',[..._0x1d335c]['map'](_0x1b1c97=>_0x1b1c97['uid']));for(const _0x155629 of _0x1d335c)_0x155629['getValue']('silent')||this['emit'](EventType['FILE_ADDED'],this['api']['getOutputItem'](_0x155629['uid']));this['validationManager']['runCollectionValidators']();for(const _0x3597e2 of _0x3f7f5e){this['$']['*uploadTrigger']['delete'](_0x3597e2['uid']),this['validationManager']['cleanupValidationForEntry'](_0x3597e2),_0x3597e2['getValue']('abortController')?.['abort'](),_0x3597e2['setMultipleValues']({'isRemoved':!0x0,'abortController':null,'isUploading':!0x1,'uploadProgress':0x0});const _0x5136d2=_0x3597e2?.['getValue']('thumbUrl');_0x5136d2&&URL['revokeObjectURL'](_0x5136d2),this['emit'](EventType['FILE_REMOVED'],this['api']['getOutputItem'](_0x3597e2['uid']));}this['$']['*uploadList']=_0x11bf58['map'](_0x2a3804=>({'uid':_0x2a3804})),this['_flushCommonUploadProgress'](),this['_flushOutputItems']();};['_handleCollectionPropertiesUpdate']=_0x52b698=>{this['_flushOutputItems']();const _0x129074=this['uploadCollection'],_0x27c363=[...new Set(Object['entries'](_0x52b698)['filter'](([_0xfb7e1d])=>['uploadError','fileInfo','cdnUrl','cdnUrlModifiers']['includes'](_0xfb7e1d))['flatMap'](([,_0x13d264])=>[..._0x13d264]))];if(_0x27c363['length']>0x0&&setTimeout(()=>{const _0x4303f2=_0x27c363['filter'](_0xff7be6=>_0x52b698['fileInfo']?.['has'](_0xff7be6)&&!!Data['getCtx'](_0xff7be6)['store']['fileInfo']);_0x4303f2['length']>0x0&&this['validationManager']['runFileValidators']('upload',_0x4303f2),this['validationManager']['runFileValidators']('change',_0x27c363);}),_0x52b698['uploadProgress']){for(const _0x8616b1 of _0x52b698['uploadProgress']){const {isUploading:_0x1e2e94,silent:_0x219ff8}=Data['getCtx'](_0x8616b1)['store'];_0x1e2e94&&!_0x219ff8&&this['emit'](EventType['FILE_UPLOAD_PROGRESS'],this['api']['getOutputItem'](_0x8616b1));}this['_flushCommonUploadProgress']();}if(_0x52b698['isUploading'])for(const _0xbfafa1 of _0x52b698['isUploading']){const {isUploading:_0x56731b,silent:_0x1747d9}=Data['getCtx'](_0xbfafa1)['store'];_0x56731b&&!_0x1747d9&&this['emit'](EventType['FILE_UPLOAD_START'],this['api']['getOutputItem'](_0xbfafa1));}if(_0x52b698['fileInfo']){for(const _0xc54509 of _0x52b698['fileInfo']){const {fileInfo:_0x107039,silent:_0x949c7b}=Data['getCtx'](_0xc54509)['store'];_0x107039&&!_0x949c7b&&this['emit'](EventType['FILE_UPLOAD_SUCCESS'],this['api']['getOutputItem'](_0xc54509));}this['cfg']['cropPreset']&&this['setInitialCrop'](),this['cfg']['cloudImageEditorAutoOpen']&&this['openCloudImageEditor']();}if(_0x52b698['errors']){this['validationManager']['runCollectionValidators']();for(const _0x4e14cb of _0x52b698['errors']){const {errors:_0x5698e6}=Data['getCtx'](_0x4e14cb)['store'];_0x5698e6['length']>0x0&&(this['emit'](EventType['FILE_UPLOAD_FAILED'],this['api']['getOutputItem'](_0x4e14cb)),this['emit'](EventType['COMMON_UPLOAD_FAILED'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}));}const _0x2e47a9=_0x129074['findItems'](_0x51c2ec=>!!_0x51c2ec['getValue']('fileInfo')),_0x11ba06=_0x129074['findItems'](_0x1ece4f=>_0x1ece4f['getValue']('errors')['length']>0x0);_0x129074['size']>0x0&&0x0===_0x11ba06['length']&&_0x129074['size']===_0x2e47a9['length']&&0x0===this['$']['*collectionErrors']['length']&&this['emit'](EventType['COMMON_UPLOAD_SUCCESS'],this['api']['getOutputCollectionState']());}_0x52b698['cdnUrl']&&([..._0x52b698['cdnUrl']]['filter'](_0x7f580c=>!!this['uploadCollection']['read'](_0x7f580c)?.['getValue']('cdnUrl'))['forEach'](_0x1b309c=>{this['emit'](EventType['FILE_URL_CHANGED'],this['api']['getOutputItem'](_0x1b309c));}),this['$']['*groupInfo']=null);};['_flushCommonUploadProgress']=()=>{let _0x393483=0x0;const _0x6c8c1c=[...this['$']['*uploadTrigger']]['filter'](_0x4fed5a=>!!this['uploadCollection']['read'](_0x4fed5a));_0x6c8c1c['forEach'](_0x3bea60=>{const _0x457caf=this['uploadCollection']['readProp'](_0x3bea60,'uploadProgress');'number'==typeof _0x457caf&&(_0x393483+=_0x457caf);});const _0x1c147d=_0x6c8c1c['length']?Math['round'](_0x393483/_0x6c8c1c['length']):0x0;this['$']['*commonProgress']!==_0x1c147d&&(this['$']['*commonProgress']=_0x1c147d,this['emit'](EventType['COMMON_UPLOAD_PROGRESS'],this['api']['getOutputCollectionState']()));};['openCloudImageEditor'](){const [_0x14d930]=this['uploadCollection']['findItems'](_0x1c8d07=>!!_0x1c8d07['getValue']('fileInfo')&&_0x1c8d07['getValue']('isImage'))['map'](_0x2dbf7a=>this['uploadCollection']['read'](_0x2dbf7a));_0x14d930&&0x1===this['uploadCollection']['size']&&this['cfg']['useCloudImageEditor']&&this['hasBlockInCtx'](_0x45a146=>_0x45a146['activityType']===ActivityBlock['activities']['CLOUD_IMG_EDIT'])&&(this['$']['*currentActivityParams']={'internalId':_0x14d930['uid']},this['$']['*currentActivity']=ActivityBlock['activities']['CLOUD_IMG_EDIT'],this['modalManager']?.['open'](ActivityBlock['activities']['CLOUD_IMG_EDIT']));}['setInitialCrop'](){const _0x34b86a=parseCropPreset(this['cfg']['cropPreset']);if(_0x34b86a){const [_0x38c801]=_0x34b86a,_0x72347f=this['uploadCollection']['findItems'](_0x1cdc45=>!!_0x1cdc45['getValue']('fileInfo')&&_0x1cdc45['getValue']('isImage')&&!_0x1cdc45['getValue']('cdnUrlModifiers')?.['includes']('/crop/'))['map'](_0x54cc72=>this['uploadCollection']['read'](_0x54cc72))['filter'](Boolean);for(const _0x916d44 of _0x72347f){const _0x5bb374=_0x916d44['getValue']('fileInfo');if(!_0x5bb374||!_0x5bb374['imageInfo']){console['warn']('Failed\x20to\x20get\x20image\x20info\x20for\x20entry',_0x916d44['uid']);continue;}const {width:_0x3e4852,height:_0x59add7}=_0x5bb374['imageInfo'],_0x3fd3e1=calculateMaxCenteredCropFrame(_0x3e4852,_0x59add7,'number'==typeof _0x38c801?.['width']&&'number'==typeof _0x38c801?.['height']&&_0x38c801['width']>0x0&&_0x38c801['height']>0x0?_0x38c801['width']/_0x38c801['height']:0x1),_0x5b76d7=createCdnUrlModifiers('crop/'+_0x3fd3e1['width']+'x'+_0x3fd3e1['height']+'/'+_0x3fd3e1['x']+','+_0x3fd3e1['y'],'preview'),_0xa53d9=_0x916d44['getValue']('cdnUrl');_0xa53d9?(_0x916d44['setMultipleValues']({'cdnUrlModifiers':_0x5b76d7,'cdnUrl':createCdnUrl(_0xa53d9,_0x5b76d7)}),0x1===this['uploadCollection']['size']&&this['cfg']['useCloudImageEditor']&&this['hasBlockInCtx'](_0x3ba20d=>_0x3ba20d['activityType']===ActivityBlock['activities']['CLOUD_IMG_EDIT'])&&(this['$']['*currentActivityParams']={'internalId':_0x916d44['uid']},this['$']['*currentActivity']=ActivityBlock['activities']['CLOUD_IMG_EDIT'],this['modalManager']?.['open'](ActivityBlock['activities']['CLOUD_IMG_EDIT']))):console['warn']('Failed\x20to\x20get\x20cdnUrl\x20for\x20entry',_0x916d44['uid']);}}}async['getMetadataFor'](_0x46de45){const _0x548698=this['cfg']['metadata']||void 0x0;if('function'==typeof _0x548698){const _0x5e1503=this['api']['getOutputItem'](_0x46de45);return await _0x548698(_0x5e1503);}return _0x548698;}async['getUploadClientOptions'](){const _0x11687d=this['$']['*secureUploadsManager'],_0x4e7b6b=await _0x11687d['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':_0x4e7b6b?.['secureSignature'],'secureExpire':_0x4e7b6b?.['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'](_0x1d0c0e=>this['api']['getOutputItem'](_0x1d0c0e));}};_0x3d665e['extSrcList']=Object['freeze']({...ExternalUploadSource}),_0x3d665e['sourceTypes']=Object['freeze']({..._0x105a8a});var ActivityHeader=class extends ActivityBlock{},_0x30ac82=()=>void 0x0!==navigator['permissions'],_0x5fbb29={'width':{'ideal':0x780},'height':{'ideal':0x438},'frameRate':{'ideal':0x1e}},_0x100d91=['camera','microphone'];function formatTime(_0x1d9c31){return Math['floor'](_0x1d9c31/0x3c)['toString']()['padStart'](0x2,'0')+':'+Math['floor'](_0x1d9c31%0x3c)['toString']()['padStart'](0x2,'0');}var _0x2a2287='image/jpeg',_0x12fe88='video/webm',_0x489295=class extends _0x3d665e{['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':_0x30ac82(),'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':_0x4cfc25=>{const _0x2b242f=_0x4cfc25['target'];_0x2b242f&&(this['_selectedCameraId']=_0x2b242f['value'],this['_capture']());},'onAudioSelectChange':_0x3f3456=>{const _0x171c46=_0x3f3456['target'];_0x171c46&&(this['_selectedAudioId']=_0x171c46['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':_0x4e20c9=>{const _0x24109a=_0x4e20c9['currentTarget'],_0x5f0a43=_0x24109a?.['getAttribute']('data-id');_0x5f0a43&&this['_handleActiveTab'](_0x5f0a43);}};}['_chooseActionWithCamera']=()=>{if(this['_activeTab']===_0xc1c2a2['PHOTO']&&this['_shot'](),this['_activeTab']===_0xc1c2a2['VIDEO']){if('recording'===this['_mediaRecorder']?.['state'])return void this['_stopRecording']();this['_startRecording']();}};['_updateTimer']=()=>{const _0x26ad81=Math['floor']((performance['now']()-this['$']['_startTime']+this['$']['_elapsedTime'])/0x3e8);if('number'==typeof this['cfg']['maxVideoRecordingDuration']&&this['cfg']['maxVideoRecordingDuration']>0x0){const _0x220891=this['cfg']['maxVideoRecordingDuration']-_0x26ad81;if(_0x220891<=0x0){const _0x576352=this['ref']['timer'];return _0x576352&&(_0x576352['textContent']=formatTime(_0x220891)),void this['_stopRecording']();}const _0x5cdb69=this['ref']['timer'];_0x5cdb69&&(_0x5cdb69['textContent']=formatTime(_0x220891));}else{const _0x3b79f6=this['ref']['timer'];_0x3b79f6&&(_0x3b79f6['textContent']=formatTime(_0x26ad81));}this['_animationFrameId']=requestAnimationFrame(this['_updateTimer']);};['_startTimer']=()=>{this['$']['_startTime']=performance['now'](),this['$']['_elapsedTime']=0x0,this['_updateTimer']();};['_stopTimer']=()=>{this['_animationFrameId']&&cancelAnimationFrame(this['_animationFrameId']);};['_startTimeline']=()=>{const _0x456fb0=this['ref']['video'];if(!_0x456fb0)return;const _0x1668fd=_0x456fb0['currentTime'],_0x3600e6=_0x456fb0['duration']||0x1,_0x50fa9d=this['ref']['line'];_0x50fa9d&&(_0x50fa9d['style']['transform']='scaleX('+_0x1668fd/_0x3600e6+')');const _0x2b8be3=this['ref']['timer'];_0x2b8be3&&(_0x2b8be3['textContent']=formatTime(_0x1668fd)),this['_animationFrameId']=requestAnimationFrame(this['_startTimeline']);};['_stopTimeline']=()=>{this['_animationFrameId']&&cancelAnimationFrame(this['_animationFrameId']);};['_animationFrameId']=null;['_startRecording']=()=>{try{this['_chunks']=[],this['_options']={...this['cfg']['mediaRecorderOptions']};const {mimeType:_0x377c17}=this['cfg']['mediaRecorderOptions']||{};_0x377c17&&MediaRecorder['isTypeSupported'](_0x377c17)?this['_options']['mimeType']=_0x377c17:MediaRecorder['isTypeSupported'](_0x12fe88)?this['_options']['mimeType']=_0x12fe88:this['_options']['mimeType']='video/mp4',this['_stream']&&(this['_mediaRecorder']=new MediaRecorder(this['_stream'],this['_options']),this['_mediaRecorder']['start'](),this['_mediaRecorder']['addEventListener']('dataavailable',_0x5a8bb8=>{this['_chunks']['push'](_0x5a8bb8['data']);}),this['_startTimer'](),this['classList']['add']('uc-recording'),this['_setCameraState'](CameraSourceEvents['PLAY']));}catch(_0x5f0bbf){console['error']('Failed\x20to\x20start\x20recording',_0x5f0bbf),this['telemetryManager']['sendEventError'](_0x5f0bbf,'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'](_0x3598fc=>{_0x3598fc['enabled']=!_0x3598fc['enabled'],this['$']['toggleMicrophoneIcon']=_0x3598fc['enabled']?'microphone':'microphone-mute',this['$']['audioSelectDisabled']=!_0x3598fc['enabled'];});};['_previewVideo']=()=>{try{const _0x1f4dad=new Blob(this['_chunks'],{'type':this['_mediaRecorder']?.['mimeType']}),_0xc39af7=URL['createObjectURL'](_0x1f4dad),_0x3b2dcd=this['ref']['video'];if(!_0x3b2dcd)return;_0x3b2dcd['muted']=!0x1,_0x3b2dcd['volume']=0x1,this['$']['video']=null,_0x3b2dcd['src']=_0xc39af7,_0x3b2dcd['addEventListener']('play',()=>{this['_startTimeline'](),this['set$']({'currentTimelineIcon':'pause'});}),_0x3b2dcd['addEventListener']('pause',()=>{this['set$']({'currentTimelineIcon':'play'}),this['_stopTimeline']();});}catch(_0x48656e){console['error']('Failed\x20to\x20preview\x20video',_0x48656e),this['telemetryManager']['sendEventError'](_0x48656e,'camera\x20previewing.\x20Failed\x20to\x20preview\x20video');}};['_retake']=()=>{if(this['_setCameraState'](CameraSourceEvents['RETAKE']),this['_activeTab']===_0xc1c2a2['VIDEO']){this['$']['video']=this['_stream'];const _0x840203=this['ref']['video'];_0x840203&&(_0x840203['muted']=!0x0);}this['ref']['video']?.['play']?.();};['_accept']=()=>{if(this['_setCameraState'](CameraSourceEvents['ACCEPT']),this['_activeTab']===_0xc1c2a2['PHOTO'])return void this['_canvas']?.['toBlob'](_0xb6abae=>{if(!_0xb6abae)return;const _0xb4071c=this['_createFile']('camera','jpeg',_0x2a2287,_0xb6abae);this['_toSend'](_0xb4071c);},_0x2a2287);const _0x4a80f0=new Blob(this['_chunks'],{'type':this['_mediaRecorder']?.['mimeType']}),_0xd687b6=this['_guessExtensionByMime'](this['_mediaRecorder']?.['mimeType']),_0x5524a4=this['_createFile']('video',_0xd687b6,'video/'+_0xd687b6,_0x4a80f0);this['_toSend'](_0x5524a4),this['_chunks']=[];};['_handlePhoto']=_0xaa22f0=>{_0xaa22f0===CameraSourceEvents['SHOT']&&this['set$']({'tabVideoHidden':!0x0,'cameraHidden':!0x0,'tabCameraHidden':!0x0,'cameraActionsHidden':!0x1,'cameraSelectHidden':!0x0}),_0xaa22f0!==CameraSourceEvents['RETAKE']&&_0xaa22f0!==CameraSourceEvents['ACCEPT']||this['set$']({'tabVideoHidden':!this['_cameraModes']['includes'](_0xc1c2a2['VIDEO']),'tabCameraHidden':!this['_cameraModes']['includes'](_0xc1c2a2['PHOTO']),'cameraHidden':!0x1,'cameraActionsHidden':!0x0,'cameraSelectHidden':this['_cameraDevices']['length']<=0x1});};['_handleVideo']=_0x28dde4=>{_0x28dde4===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'}),_0x28dde4===CameraSourceEvents['STOP']&&this['set$']({'timerHidden':!0x1,'cameraHidden':!0x0,'audioToggleMicrophoneHidden':!0x0,'cameraActionsHidden':!0x1}),_0x28dde4!==CameraSourceEvents['RETAKE']&&_0x28dde4!==CameraSourceEvents['ACCEPT']||this['set$']({'timerHidden':!0x0,'tabVideoHidden':!this['_cameraModes']['includes'](_0xc1c2a2['VIDEO']),'tabCameraHidden':!this['_cameraModes']['includes'](_0xc1c2a2['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']=_0x20f16a=>{this['_activeTab']!==_0xc1c2a2['PHOTO']||'shot'!==_0x20f16a&&'retake'!==_0x20f16a&&'accept'!==_0x20f16a||this['_handlePhoto'](_0x20f16a),this['_activeTab']!==_0xc1c2a2['VIDEO']||'play'!==_0x20f16a&&'stop'!==_0x20f16a&&'retake'!==_0x20f16a&&'accept'!==_0x20f16a&&'pause'!==_0x20f16a&&'resume'!==_0x20f16a||this['_handleVideo'](_0x20f16a);};['_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']=_0x5dfaef=>{const _0x1d75bb=this['ref']['switcher'];_0x1d75bb?.['querySelectorAll']('button')['forEach'](_0x5582e9=>{_0x5582e9['classList']['toggle']('uc-active',_0x5582e9['getAttribute']('data-id')===_0x5dfaef);}),_0x5dfaef===_0xc1c2a2['PHOTO']&&this['set$']({'currentIcon':'camera-full','audioSelectHidden':!0x0,'audioToggleMicrophoneHidden':!0x0}),_0x5dfaef===_0xc1c2a2['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':_0x5dfaef}}}),this['_activeTab']=_0x5dfaef;};['_createFile']=(_0x360582,_0x52e6eb,_0x1bbeab,_0x103e92)=>{const _0x1bccb2=Date['now']();return new File([_0x103e92],_0x360582+'-'+_0x1bccb2+'.'+_0x52e6eb,{'lastModified':_0x1bccb2,'type':_0x1bbeab});};['_guessExtensionByMime'](_0x29e373){const _0xe6a3a2={'mp4':'mp4','ogg':'ogg','webm':'webm','quicktime':'mov','x-matroska':'mkv'};if(''===_0x29e373)return'webm';if(_0x29e373){const _0x11a622=_0x29e373['split']('/');if('video'===_0x11a622?.[0x0]){const _0x10294d=_0x11a622['slice'](0x1)['join']('/'),_0x1ba8d2=_0x10294d?.['split'](';')[0x0];if(_0x1ba8d2&&_0xe6a3a2[_0x1ba8d2])return _0xe6a3a2[_0x1ba8d2];}}return'avi';}['_toSend']=_0x3079e8=>{this['api']['addFileFromObject'](_0x3079e8,{'source':_0x105a8a['CAMERA']}),this['set$']({'*currentActivity':ActivityBlock['activities']['UPLOAD_LIST']}),this['modalManager']?.['open'](ActivityBlock['activities']['UPLOAD_LIST']);};get['_cameraModes'](){return stringToArray(this['cfg']['cameraModes'])['filter'](_0x5ba5fe=>_0x5ba5fe===_0xc1c2a2['PHOTO']||_0x5ba5fe===_0xc1c2a2['VIDEO']);}['_setPermissionsState']=_0xe9436c(e=>{this['classList']['toggle']('uc-initialized','granted'===e);const i=this['_activeTab']===_0xc1c2a2['VIDEO']&&this['cfg']['enableAudioRecording'],n=this['_activeTab']===_0xc1c2a2['PHOTO']?'camera-full':'video-camera-full';'granted'===e?this['set$']({'videoHidden':!0x1,'cameraHidden':!0x1,'tabCameraHidden':!this['_cameraModes']['includes'](_0xc1c2a2['PHOTO']),'tabVideoHidden':!this['_cameraModes']['includes'](_0xc1c2a2['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'](_0xc1c2a2['PHOTO']),'tabVideoHidden':!this['_cameraModes']['includes'](_0xc1c2a2['VIDEO']),'cameraActionsHidden':!0x0,'mutableClassButton':'uc-shot-btn\x20uc-camera-action'}),this['_stopCapture']());},0x12c);['_makeStreamInactive']=()=>{if(!this['_stream'])return!0x1;const _0x644efd=this['_stream']?.['getAudioTracks'](),_0x5a1585=this['_stream']?.['getVideoTracks']();return _0x644efd['forEach'](_0x4a659a=>{_0x4a659a['stop']();}),_0x5a1585['forEach'](_0x2dbb58=>{_0x2dbb58['stop']();}),!0x0;};['_stopCapture']=()=>{if(this['_capturing']){this['ref']['video']['volume']=0x0;const _0x5f2922=this['$']['video']?.['getTracks']?.();_0x5f2922?.[0x0]?.['stop'](),this['$']['video']=null,this['_makeStreamInactive'](),this['_stopTimer'](),this['_capturing']=!0x1;}};['_capture']=async()=>{const _0x56e283={'video':{..._0x5fbb29},'audio':!!this['cfg']['enableAudioRecording']&&{}};this['_selectedCameraId']&&(_0x56e283['video']={'deviceId':{'exact':this['_selectedCameraId']}}),this['_selectedAudioId']&&this['cfg']['enableAudioRecording']&&(_0x56e283['audio']={'deviceId':{'exact':this['_selectedAudioId']}}),this['ref']['video']&&(this['ref']['video']['volume']=0x0);try{this['_setPermissionsState']('prompt'),this['_stream']=await navigator['mediaDevices']['getUserMedia'](_0x56e283),this['_stream']['addEventListener']('inactive',()=>{this['_setPermissionsState']('denied');}),this['$']['video']=this['_stream'],this['_capturing']=!0x0,this['_setPermissionsState']('granted');}catch(_0x3ad4df){this['_setPermissionsState']('denied'),console['log']('Failed\x20to\x20capture\x20camera',_0x3ad4df),this['telemetryManager']['sendEventError'](_0x3ad4df,'camera\x20capturing.\x20Failed\x20to\x20capture\x20camera');}};['_handlePermissionsChange']=()=>{this['_capture']();};['_permissionAccess']=async()=>{try{for(const _0x227195 of _0x100d91){const _0x136fda=await navigator['permissions']['query']({'name':_0x227195});this['_permissionResponses'][_0x227195]=_0x136fda,_0x136fda['addEventListener']('change',this['_handlePermissionsChange']);}}catch(_0x440871){console['log']('Failed\x20to\x20use\x20permissions\x20API.\x20Fallback\x20to\x20manual\x20request\x20mode.',_0x440871),this['telemetryManager']['sendEventError'](_0x440871,'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(_0x1800b1){this['telemetryManager']['sendEventError'](_0x1800b1,'camera\x20devices.\x20Failed\x20to\x20get\x20user\x20media'),console['log']('Failed\x20to\x20get\x20user\x20media',_0x1800b1);}};['_getDevices']=async()=>{try{const _0x4b7723=await navigator['mediaDevices']['enumerateDevices']();this['_cameraDevices']=_0x4b7723['filter'](_0x23294f=>'videoinput'===_0x23294f['kind'])['map']((_0x209dc3,_0x195123)=>({'text':_0x209dc3['label']['trim']()||this['l10n']('caption-camera')+'\x20'+(_0x195123+0x1),'value':_0x209dc3['deviceId']})),this['_audioDevices']=this['cfg']['enableAudioRecording']?_0x4b7723['filter'](_0x52d27c=>'audioinput'===_0x52d27c['kind'])['map'](_0x510106=>({'text':_0x510106['label']['trim'](),'value':_0x510106['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(_0x12b858){this['telemetryManager']['sendEventError'](_0x12b858,'camera\x20devices.\x20Failed\x20to\x20get\x20devices'),console['log']('Failed\x20to\x20get\x20devices',_0x12b858);}};['_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']=_0x586005=>{this['$']['tabVideoHidden']=!_0x586005['includes'](_0xc1c2a2['VIDEO']),this['$']['tabCameraHidden']=!_0x586005['includes'](_0xc1c2a2['PHOTO']);const _0x220145=_0x586005[0x0];!_0x220145||this['_activeTab']&&_0x586005['includes'](this['_activeTab'])||this['_handleActiveTab'](_0x220145);};['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType'],{'onActivate':this['_onActivate'],'onDeactivate':this['_onDeactivate']}),this['subConfigValue']('cameraMirror',_0x386518=>{this['$']['videoTransformCss']=_0x386518?'scaleX(-1)':null;}),this['subConfigValue']('enableAudioRecording',_0x234a44=>{this['$']['audioToggleMicrophoneHidden']=!_0x234a44,this['$']['audioSelectDisabled']=!_0x234a44;}),this['subConfigValue']('cameraModes',_0x2ee595=>{if(!this['isActivityActive'])return;const _0x1d6e44=_0x5ab57c(_0x2ee595);this['_handleCameraModes'](_0x1d6e44['filter'](_0x70a15=>_0x70a15===_0xc1c2a2['PHOTO']||_0x70a15===_0xc1c2a2['VIDEO']));});}['_destroy'](){for(const _0x38f98b of _0x100d91)this['_permissionResponses'][_0x38f98b]?.['removeEventListener']('change',this['_handlePermissionsChange']);navigator['mediaDevices']?.['removeEventListener']('devicechange',this['_getDevices']);}async['destroyCallback'](){super['destroyCallback'](),this['_destroy']();}};_0x489295['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 _0x263b3b='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=';function _0x17dc21(..._0x4fbcf3){return _0x4fbcf3['reduce']((_0x521cde,_0x1041c1)=>{if('string'==typeof _0x1041c1)return _0x521cde[_0x1041c1]=!0x0,_0x521cde;for(const _0x5f2e00 of Object['keys'](_0x1041c1))_0x521cde[_0x5f2e00]=_0x1041c1[_0x5f2e00];return _0x521cde;},{});}function _0x49fa51(..._0x46450f){const _0x22a8ab=_0x17dc21(..._0x46450f);return Object['keys'](_0x22a8ab)['reduce']((_0x37b109,_0x53ef1a)=>(_0x22a8ab[_0x53ef1a]&&_0x37b109['push'](_0x53ef1a),_0x37b109),[])['join']('\x20');}function _0x26dbd2(_0x474e44,..._0x156c98){const _0x37f1ef=_0x17dc21(..._0x156c98);for(const _0x186a31 of Object['keys'](_0x37f1ef))_0x474e44['classList']['toggle'](_0x186a31,Boolean(_0x37f1ef[_0x186a31]));}var _0x5bbdae=_0x5e2213=>_0x455ce3['includes'](_0x5e2213),_0x454877=_0x33fb20=>{if(!_0x33fb20)return _0x455ce3;const _0x3e884d=_0x5ab57c(_0x33fb20)['filter'](_0x5bbdae);return 0x0===_0x3e884d['length']?_0x455ce3:_0x3e884d;};function initState(_0x5414a0){return{'*originalUrl':null,'*faderEl':null,'*cropperEl':null,'*imgEl':null,'*imgContainerEl':null,'*networkProblems':!0x1,'*imageSize':null,'*editorTransformations':{},'*cropPresetList':[],'*currentAspectRatio':null,'*tabList':_0x455ce3,'*tabId':_0x430bb6['CROP'],'entry':null,'extension':null,'editorMode':!0x1,'modalCaption':'','isImage':!0x1,'msg':'','src':_0x263b3b,'fileType':'','showLoader':!0x1,'uuid':null,'cdnUrl':null,'cropPreset':'','tabs':_0x4d7005([..._0x455ce3]),'presence.networkProblems':!0x1,'presence.modalCaption':!0x0,'presence.editorToolbar':!0x1,'presence.viewerToolbar':!0x0,'*on.retryNetwork':()=>{const _0x246e48=_0x5414a0['querySelectorAll']('img');for(const _0x291bda of _0x246e48){const _0x1bb237=_0x291bda['src'];_0x291bda['src']=_0x263b3b,_0x291bda['src']=_0x1bb237;}_0x5414a0['$']['*networkProblems']=!0x1;},'*on.apply':_0x720054=>{if(!_0x720054)return;const _0x3c49f5=_0x5414a0['$']['*originalUrl'],_0x4c02ad=createCdnUrlModifiers(transformationsToOperations(_0x720054),'preview'),_0x30f787={'originalUrl':_0x3c49f5,'cdnUrlModifiers':_0x4c02ad,'cdnUrl':createCdnUrl(_0x3c49f5,_0x4c02ad),'transformations':_0x720054};_0x5414a0['dispatchEvent'](new CustomEvent('apply',{'detail':_0x30f787,'bubbles':!0x0,'composed':!0x0})),_0x5414a0['remove']();},'*on.cancel':()=>{_0x5414a0['remove'](),_0x5414a0['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>',_0x2de12c='\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'+_0x263b3b+'\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 _0x138861{['ctxOwner']=!0x0;static ['styleAttrs']=['uc-cloud-image-editor'];['_debouncedShowLoader']=_0xe9436c(this['_showLoader']['bind'](this),0x12c);constructor(){super(),this['init$']={...this['init$'],...initState(this)};}['_showLoader'](_0x51d35c){this['$']['showLoader']=_0x51d35c;}['_waitForSize'](){return new Promise((_0x4a19d5,_0x527049)=>{const _0x3d63b5=window['setTimeout'](()=>{_0x527049(new Error('[cloud-image-editor]\x20timeout\x20waiting\x20for\x20non-zero\x20container\x20size'));},0xbb8),_0x450457=new ResizeObserver(_0x221ece=>{const [_0x30f142]=_0x221ece;_0x30f142&&_0x30f142['contentRect']['width']>0x0&&_0x30f142['contentRect']['height']>0x0&&(window['clearTimeout'](_0x3d63b5),_0x450457['disconnect'](),window['setTimeout'](()=>_0x4a19d5(),0x0));});_0x450457['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 _0x55315b=this['$']['cdnUrl'],_0x4a00b6=extractUuid(_0x55315b),_0x171e7c=createOriginalUrl(_0x55315b,_0x4a00b6);if(_0x171e7c===this['$']['*originalUrl'])return;this['$']['*originalUrl']=_0x171e7c;const _0x342654=operationsToTransformations(extractOperations(_0x55315b));this['$']['*editorTransformations']=_0x342654;}else{if(!this['$']['uuid'])throw new Error('No\x20UUID\x20nor\x20CDN\x20URL\x20provided');{const _0x29aa43=createOriginalUrl(this['cfg']['cdnCname'],this['$']['uuid']);if(_0x29aa43===this['$']['*originalUrl'])return;this['$']['*originalUrl']=_0x29aa43,this['$']['*editorTransformations']={};}}this['$']['*tabId']===_0x430bb6['CROP']?this['$']['*cropperEl']?.['deactivate']({'reset':!0x0}):this['$']['*faderEl']?.['deactivate']();try{const _0x1d1950=this['$']['*originalUrl'],_0x6ba2ab=await this['proxyUrl'](createCdnUrl(_0x1d1950,createCdnUrlModifiers('json'))),_0x97caa0=await fetch(_0x6ba2ab)['then'](_0x29364b=>_0x29364b['json']()),{width:_0x233dd3,height:_0x438199}=_0x97caa0;this['$']['*imageSize']={'width':_0x233dd3,'height':_0x438199},this['$']['*tabId']===_0x430bb6['CROP']?this['$']['*cropperEl']?.['activate'](this['$']['*imageSize']):this['$']['*faderEl']?.['activate']({'url':_0x1d1950});}catch(_0x34208a){_0x34208a&&(this['telemetryManager']['sendEventError'](_0x34208a,'cloud\x20editor\x20image.\x20Failed\x20to\x20load\x20image\x20info'),console['error']('Failed\x20to\x20load\x20image\x20info',_0x34208a));}}}async['initEditor'](){try{await this['_waitForSize']();}catch(_0x5d7a68){return void(this['isConnected']&&console['error'](_0x5d7a68['message']));}this['ref']['img-el']['addEventListener']('load',()=>{this['_debouncedShowLoader'](!0x1),this['$']['src']!==_0x263b3b&&(this['$']['*networkProblems']=!0x1);}),this['ref']['img-el']['addEventListener']('error',()=>{this['_debouncedShowLoader'](!0x1),this['$']['*networkProblems']=!0x0;}),this['sub']('src',_0x563fc6=>{const _0x4a7f85=this['ref']['img-el'];_0x4a7f85['src']!==_0x563fc6&&(_0x4a7f85['src']=_0x563fc6||_0x263b3b);}),this['sub']('tabs',_0x386e4c=>{this['$']['*tabList']=_0x454877(_0x386e4c);}),this['sub']('*tabId',_0x39d00c=>{this['ref']['img-el']['className']=_0x49fa51('uc-image',{'uc-image_hidden_to_cropper':_0x39d00c===_0x430bb6['CROP'],'uc-image_hidden_effects':_0x39d00c!==_0x430bb6['CROP']});}),this['classList']['add']('uc-editor_ON'),this['sub']('*networkProblems',_0x2032fe=>{this['$']['presence.networkProblems']=_0x2032fe,this['$']['presence.modalCaption']=!_0x2032fe;}),this['sub']('*editorTransformations',_0x444029=>{if(0x0===Object['keys'](_0x444029)['length'])return;const _0x3695c5=this['$']['*originalUrl'],_0x700a16=createCdnUrlModifiers(transformationsToOperations(_0x444029),'preview'),_0x45f661={'originalUrl':_0x3695c5,'cdnUrlModifiers':_0x700a16,'cdnUrl':createCdnUrl(_0x3695c5,_0x700a16),'transformations':_0x444029};this['dispatchEvent'](new CustomEvent('change',{'detail':_0x45f661,'bubbles':!0x0,'composed':!0x0}));},!0x1),this['sub']('uuid',_0x23f163=>_0x23f163&&this['updateImage']()),this['sub']('cdnUrl',_0x5f05c5=>_0x5f05c5&&this['updateImage']()),this['sub']('cropPreset',_0x5305ad=>{const _0x19c83c=parseCropPreset(_0x5305ad);let _0x3c1d80=null;if(this['$']['cdnUrl']){const _0x1f1895=operationsToTransformations(extractOperations(this['$']['cdnUrl']));if(Array['isArray'](_0x1f1895?.['crop']?.['dimensions'])){const [_0x1b2e31,_0x58d0f4]=_0x1f1895['crop']['dimensions'];_0x3c1d80=getClosestAspectRatio(_0x1b2e31,_0x58d0f4,_0x19c83c,0.1);}}this['$']['*cropPresetList']=_0x19c83c,this['$']['*currentAspectRatio']=_0x3c1d80??_0x19c83c?.[0x0]??null;});}};CloudImageEditorBlock['template']=_0x2de12c,CloudImageEditorBlock['bindAttributes']({'uuid':'uuid','cdn-url':'cdnUrl','crop-preset':'cropPreset','tabs':'tabs'});var _0x3c1274=class extends _0x138861{['_handlePointerUp'];['_handlePointerMove'];['_handleSvgPointerMove'];['_backdropMaskId']='backdrop-mask-'+_0x521ae6['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'](_0x3ce234){const _0x36ebc4=this['$']['*imageBox'];if(!_0x36ebc4)return!0x1;if(''===_0x3ce234&&_0x36ebc4['height']<=_0x3fce5e&&_0x36ebc4['width']<=_0x3fce5e)return!0x0;const _0x42fdc5=_0x36ebc4['height']<=_0x3fce5e&&(_0x3ce234['includes']('n')||_0x3ce234['includes']('s')),_0x5b628c=_0x36ebc4['width']<=_0x3fce5e&&(_0x3ce234['includes']('e')||_0x3ce234['includes']('w'));return _0x42fdc5||_0x5b628c;}['_createBackdrop'](){const _0x13ccea=this['$']['*cropBox'];if(!_0x13ccea)return;const {x:_0x5e5e7e,y:_0x2893ac,width:_0x438bf7,height:_0x1ad461}=_0x13ccea,_0x30f578=this['ref']['svg-el'],_0x2f836b=createSvgNode('mask',{'id':this['_backdropMaskId']}),_0x277e36=createSvgNode('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'white'}),_0x5904e0=createSvgNode('rect',{'x':_0x5e5e7e,'y':_0x2893ac,'width':_0x438bf7,'height':_0x1ad461,'fill':'black'});_0x2f836b['appendChild'](_0x277e36),_0x2f836b['appendChild'](_0x5904e0);const _0x3a35e2=createSvgNode('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'var(--color-image-background)','fill-opacity':0.85,'mask':'url(#'+this['_backdropMaskId']+')'});_0x30f578['appendChild'](_0x3a35e2),_0x30f578['appendChild'](_0x2f836b),this['_backdropMask']=_0x2f836b,this['_backdropMaskInner']=_0x5904e0;}['_resizeBackdrop'](){this['_backdropMask']&&(this['_backdropMask']['style']['display']='none',window['requestAnimationFrame'](()=>{this['_backdropMask']&&(this['_backdropMask']['style']['display']='block');}));}['_updateBackdrop'](){const _0x1825b8=this['$']['*cropBox'];if(!_0x1825b8)return;const {x:_0x780fbf,y:_0x6582c7,width:_0x264860,height:_0x376370}=_0x1825b8;this['_backdropMaskInner']&&setSvgNodeAttrs(this['_backdropMaskInner'],{'x':_0x780fbf,'y':_0x6582c7,'width':_0x264860,'height':_0x376370});}['_updateFrame'](){const _0x36fc7a=this['$']['*cropBox'];if(_0x36fc7a&&this['_frameGuides']&&this['_frameThumbs']){for(const _0x51b888 of Object['values'](this['_frameThumbs'])){if(!_0x51b888)continue;const {direction:_0x13ebe8,pathNode:_0x23be38,interactionNode:_0x8f7824,groupNode:_0x4ddce6}=_0x51b888,_0x2ee0a7=''===_0x13ebe8,_0x1edb8b=0x2===_0x13ebe8['length'],{x:_0x845217,y:_0x4e08be,width:_0x3738cc,height:_0x5925d5}=_0x36fc7a;if(_0x2ee0a7)setSvgNodeAttrs(_0x8f7824,{'x':_0x845217,'y':_0x4e08be,'width':_0x3738cc,'height':_0x5925d5});else{const _0x1f35ce=_0x2c0e8a(Math['min'](_0x3738cc,_0x5925d5)/(0x2*_0x1c0c28+_0x4f04b9)/0x2,0x0,0x1),_0x58b0ab=_0x1edb8b?cornerPath(_0x36fc7a,_0x13ebe8,_0x1f35ce):sidePath(_0x36fc7a,_0x13ebe8,_0x1f35ce),_0x3fb1e6=_0x58b0ab['center'];if(!_0x3fb1e6)continue;const _0x128c1f=Math['max'](_0x380ded*_0x2c0e8a(Math['min'](_0x3738cc,_0x5925d5)/_0x380ded/0x3,0x0,0x1),_0x14f464);setSvgNodeAttrs(_0x8f7824,{'x':_0x3fb1e6[0x0]-_0x128c1f,'y':_0x3fb1e6[0x1]-_0x128c1f,'width':0x2*_0x128c1f,'height':0x2*_0x128c1f}),setSvgNodeAttrs(_0x23be38,{'d':_0x58b0ab['d']});}const _0x352106=this['_shouldThumbBeDisabled'](_0x13ebe8);_0x4ddce6['setAttribute']('class',_0x49fa51('uc-thumb',{'uc-thumb--hidden':_0x352106,'uc-thumb--visible':!_0x352106}));}setSvgNodeAttrs(this['_frameGuides'],{'x':_0x36fc7a['x']-0.5*_0x1b9af9,'y':_0x36fc7a['y']-0.5*_0x1b9af9,'width':_0x36fc7a['width']+_0x1b9af9,'height':_0x36fc7a['height']+_0x1b9af9});}}['_createThumb'](_0x5a1f20,_0x18c00d){const _0x549120=createSvgNode('g');_0x549120['classList']['add']('uc-thumb'),_0x549120['setAttribute']('with-effects','');const _0x15c972=createSvgNode('rect',{'fill':'transparent'}),_0x209943=createSvgNode('path',{'stroke':'currentColor','fill':'none','stroke-width':_0x5eaebc});_0x549120['appendChild'](_0x209943),_0x549120['appendChild'](_0x15c972),_0x5a1f20[_0x18c00d]={'direction':_0x18c00d,'pathNode':_0x209943,'interactionNode':_0x15c972,'groupNode':_0x549120},''===_0x18c00d&&(_0x549120['style']['cursor']='move'),_0x15c972['addEventListener']('pointerdown',this['_handlePointerDown']['bind'](this,_0x18c00d));}['_createThumbs'](){const _0xb6cf9a={};for(let _0x1c94a7=0x0;_0x1c94a7<0x3;_0x1c94a7++)for(let _0x48c71f=0x0;_0x48c71f<0x3;_0x48c71f++){const _0x4f3682=''+['n','','s'][_0x1c94a7]+['w','','e'][_0x48c71f];''!==_0x4f3682&&this['_createThumb'](_0xb6cf9a,_0x4f3682);}return this['_createThumb'](_0xb6cf9a,''),_0xb6cf9a;}['_createGuides'](){const _0x881b1f=createSvgNode('svg'),_0x2e86a5=createSvgNode('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'none','stroke':'currentColor','stroke-width':_0x1b9af9,'stroke-opacity':0.5});_0x881b1f['appendChild'](_0x2e86a5);for(let _0x1a524f=0x1;_0x1a524f<=0x2;_0x1a524f++){const _0x47fa7d=createSvgNode('line',{'x1':_0x384d2e*_0x1a524f+'%','y1':'0%','x2':_0x384d2e*_0x1a524f+'%','y2':'100%','stroke':'currentColor','stroke-width':_0x1b9af9,'stroke-opacity':0.3});_0x881b1f['appendChild'](_0x47fa7d);}for(let _0x3406b8=0x1;_0x3406b8<=0x2;_0x3406b8++){const _0x2eb255=createSvgNode('line',{'x1':'0%','y1':_0x384d2e*_0x3406b8+'%','x2':'100%','y2':_0x384d2e*_0x3406b8+'%','stroke':'currentColor','stroke-width':_0x1b9af9,'stroke-opacity':0.3});_0x881b1f['appendChild'](_0x2eb255);}return _0x881b1f['classList']['add']('uc-guides','uc-guides--semi-hidden'),_0x881b1f;}['_createFrame'](){const _0x2d9629=this['ref']['svg-el'],_0x47a42d=document['createDocumentFragment'](),_0x1befa0=this['_createGuides']();_0x47a42d['appendChild'](_0x1befa0);const _0x42d767=this['_createThumbs']();for(const {groupNode:_0x5ec243}of Object['values'](_0x42d767))_0x47a42d['appendChild'](_0x5ec243);_0x2d9629['appendChild'](_0x47a42d),this['_frameThumbs']=_0x42d767,this['_frameGuides']=_0x1befa0;}['_handlePointerDown'](_0x1589df,_0x3397a3){if(!this['_frameThumbs'])return;const _0x2f0c84=this['_frameThumbs'][_0x1589df];if(!_0x2f0c84)return;if(this['_shouldThumbBeDisabled'](_0x1589df))return;const _0x1b59a2=this['$']['*cropBox'],_0x4390e6=this['ref']['svg-el'],{x:_0x48c199,y:_0x6a95ae}=_0x4390e6['getBoundingClientRect'](),_0x199ceb=_0x3397a3['x']-_0x48c199,_0x2fe89e=_0x3397a3['y']-_0x6a95ae;this['$']['dragging']=!0x0,this['_draggingThumb']=_0x2f0c84,this['_dragStartPoint']=[_0x199ceb,_0x2fe89e],this['_dragStartCrop']={..._0x1b59a2};}['_handlePointerUp_'](_0x2a7a09){this['_updateCursor'](),this['$']['dragging']&&(_0x2a7a09['stopPropagation'](),_0x2a7a09['preventDefault'](),this['$']['dragging']=!0x1);}['_handlePointerMove_'](_0x4988d6){if(!this['$']['dragging']||!this['_dragStartPoint']||!this['_draggingThumb'])return;_0x4988d6['stopPropagation'](),_0x4988d6['preventDefault']();const _0x561b91=this['ref']['svg-el'],{x:_0x27e691,y:_0x32117d}=_0x561b91['getBoundingClientRect'](),_0x5c3a3c=_0x4988d6['x']-_0x27e691,_0x3d14e1=_0x4988d6['y']-_0x32117d,_0x55f0ec=_0x5c3a3c-this['_dragStartPoint'][0x0],_0x541acf=_0x3d14e1-this['_dragStartPoint'][0x1],{direction:_0x1b10f6}=this['_draggingThumb'],_0x342107=this['_calcCropBox'](_0x1b10f6,[_0x55f0ec,_0x541acf]);_0x342107&&(this['$']['*cropBox']=_0x342107);}['_calcCropBox'](_0x4a310f,_0x256541){const [_0x2a402f,_0x22599f]=_0x256541,_0x47753c=this['$']['*imageBox'];let _0x2d7be2=this['_dragStartCrop']??this['$']['*cropBox'];const _0x36333b=this['$']['*currentAspectRatio'],_0x4cae84=_0x36333b?_0x36333b['width']/_0x36333b['height']:void 0x0;if(_0x2d7be2=''===_0x4a310f?moveRect({'rect':_0x2d7be2,'delta':[_0x2a402f,_0x22599f],'imageBox':_0x47753c}):resizeRect({'rect':_0x2d7be2,'delta':[_0x2a402f,_0x22599f],'direction':_0x4a310f,'aspectRatio':_0x4cae84,'imageBox':_0x47753c}),Object['values'](_0x2d7be2)['every'](_0x2602b8=>Number['isFinite'](_0x2602b8)&&_0x2602b8>=0x0))return constraintRect(roundRect(_0x2d7be2),_0x47753c);console['error']('CropFrame\x20is\x20trying\x20to\x20create\x20invalid\x20rectangle',{'payload':_0x2d7be2});}['_handleSvgPointerMove_'](_0x1910a3){if(!this['_frameThumbs'])return;const _0x1caaba=Object['values'](this['_frameThumbs'])['find'](_0x53e011=>{if(!_0x53e011)return!0x1;if(this['_shouldThumbBeDisabled'](_0x53e011['direction']))return!0x1;const _0x3c81dc=_0x53e011['interactionNode']['getBoundingClientRect']();return rectContainsPoint({'x':_0x3c81dc['x'],'y':_0x3c81dc['y'],'width':_0x3c81dc['width'],'height':_0x3c81dc['height']},[_0x1910a3['x'],_0x1910a3['y']]);});this['_hoverThumb']=_0x1caaba,this['_updateCursor']();}['_updateCursor'](){const _0x342a94=this['_hoverThumb'];this['ref']['svg-el']['style']['cursor']=_0x342a94?thumbCursor(_0x342a94['direction']):'initial';}['_createMask'](_0x12f159){if(this['_frameImage'])return void this['_frameImage']['setAttribute']('href',_0x12f159);const _0x550292=this['ref']['svg-el'],_0x5bb15f=document['createDocumentFragment'](),_0x19081d=createSvgNode('image',{'href':_0x12f159});_0x19081d['setAttribute']('class','uc-cloud-mask'),_0x5bb15f['appendChild'](_0x19081d),_0x550292['appendChild'](_0x5bb15f),this['_frameImage']=_0x19081d;}['_updateMask'](){const _0x4b23ab=this['$']['*cropBox'];if(!_0x4b23ab||!this['_frameImage'])return;const {x:_0x2c1958,y:_0x5703dd,width:_0x4402e4,height:_0x43e202}=_0x4b23ab;setSvgNodeAttrs(this['_frameImage'],{'x':_0x2c1958,'y':_0x5703dd,'height':_0x43e202,'width':_0x4402e4});}['_render'](){this['_updateBackdrop'](),this['_updateFrame'](),this['_updateMask']();}['toggleThumbs'](_0x2363db){if(this['_frameThumbs'])for(const _0x5c8e28 of Object['values'](this['_frameThumbs'])){if(!_0x5c8e28)continue;const {groupNode:_0x4a133a}=_0x5c8e28;_0x4a133a['setAttribute']('class',_0x49fa51('uc-thumb',{'uc-thumb--hidden':!_0x2363db,'uc-thumb--visible':_0x2363db}));}}['initCallback'](){super['initCallback'](),this['_createBackdrop'](),this['_createFrame'](),this['sub']('*imageBox',()=>{this['_resizeBackdrop'](),window['requestAnimationFrame'](()=>{this['_render']();});}),this['sub']('*cropBox',_0x4e5d32=>{_0x4e5d32&&(this['_guidesHidden']=_0x4e5d32['height']<=_0x3fce5e||_0x4e5d32['width']<=_0x3fce5e,window['requestAnimationFrame'](()=>{this['_render']();}));}),this['subConfigValue']('cloudImageEditorMaskHref',_0xbf41c6=>{_0xbf41c6&&this['_createMask'](_0xbf41c6);}),this['sub']('dragging',_0x31e4ad=>{this['_frameGuides']&&this['_frameGuides']['setAttribute']('class',_0x49fa51({'uc-guides--hidden':this['_guidesHidden'],'uc-guides--visible':!this['_guidesHidden']&&_0x31e4ad,'uc-guides--semi-hidden':!this['_guidesHidden']&&!_0x31e4ad}));}),(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']));}};_0x3c1274['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 _0x138861{['_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',_0x119de5=>{const _0xcf5fd9=this['_titleEl'];_0xcf5fd9&&(_0xcf5fd9['style']['display']=_0x119de5?'block':'none');}),this['sub']('active',_0x1c196d=>{this['className']=_0x49fa51({'uc-active':_0x1c196d,'uc-not_active':!_0x1c196d});}),this['sub']('on.click',_0x3b37d5=>{this['onclick']=_0x3b37d5??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 _0x2d62f4=0xc,_0x45fe50=0x10,getAdjustResolutions=_0x4e2b1d=>{let _0x176c24=0xc,_0x1fe762=0xc;return _0x4e2b1d['width']/_0x4e2b1d['height']>=0x1?(_0x176c24=_0x2d62f4,_0x1fe762=Math['round'](_0x2d62f4*_0x4e2b1d['height']/_0x4e2b1d['width'])):(_0x1fe762=_0x2d62f4,_0x176c24=Math['round'](_0x2d62f4*_0x4e2b1d['width']/_0x4e2b1d['height'])),{'width':_0x176c24,'height':_0x1fe762};},EditorFreeformButtonControl=class extends EditorButtonControl{['initCallback'](){super['initCallback'](),this['$']['icon']='arrow-dropdown',this['$']['on.click']=this['handleClick']['bind'](this),this['sub']('*currentAspectRatio',_0x1bbb76=>{this['$']['title']=_0x1bbb76['hasFreeform']?this['l10n']('freeform-crop'):this['l10n']('crop-to-shape',{'value':_0x1bbb76['width']+':'+_0x1bbb76['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',_0x4d92e5=>{if(!_0x4d92e5)return;const _0x24bf18=!!_0x4d92e5['hasFreeform'];this['$']['title']=_0x24bf18?this['l10n']('custom'):_0x4d92e5['width']+':'+_0x4d92e5['height'],_0x24bf18||this['_renderRectBasedOnAspectRatio'](_0x4d92e5),_0x24bf18&&this['setAttribute']('uc-aspect-ratio-freeform',''),this['_aspectRatio']=_0x4d92e5,this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-aspect-ratio',{'name':_0x24bf18?this['l10n']('custom')['toLowerCase']():this['l10n']('crop-to-shape',{'value':_0x4d92e5['width']+':'+_0x4d92e5['height']})['toLowerCase'](),'value':''}));}),this['sub']('*currentAspectRatio',_0x26fe49=>{this['$']['active']=_0x26fe49&&_0x26fe49['id']===this['_aspectRatio']?.['id']||_0x26fe49?.['width']===this['_aspectRatio']?.['width']&&_0x26fe49?.['height']===this['_aspectRatio']?.['height'];}),this['$']['on.click']=this['handleClick']['bind'](this);}['handleClick'](){const _0x407047=this['$']['*currentAspectRatio'];_0x407047?.['id']!==this['_aspectRatio']?.['id']&&(this['$']['*currentAspectRatio']=this['_aspectRatio']);}['_renderRectBasedOnAspectRatio'](_0x4935ce){const {width:_0x49eb8f,height:_0x524150}=getAdjustResolutions(_0x4935ce),_0x5785e8=createSvgNode('rect',{'stroke-linejoin':'round','fill':'none','stroke':'currentColor','stroke-width':1.2,'fill-rule':'evenodd','x':(_0x45fe50-_0x49eb8f)/0x2,'y':(_0x45fe50-_0x524150)/0x2,'rx':0x2,'width':_0x49eb8f,'height':_0x524150}),_0x5c6251=this['ref']['icon-el']?.['ref']?.['svg'];_0x5c6251&&(_0x5c6251['innerHTML']='',_0x5c6251['appendChild'](_0x5785e8));}['_aspectRatio'];};function nextAngle(_0x36bed0){let _0x2d1a97=_0x36bed0+0x5a;return _0x2d1a97=_0x2d1a97>=0x168?0x0:_0x2d1a97,_0x2d1a97;}function nextValue(_0x28e9d8,_0x567266){if('rotate'===_0x28e9d8)return nextAngle('number'==typeof _0x567266?_0x567266:0x0);if('mirror'===_0x28e9d8||'flip'===_0x28e9d8)return!_0x567266;throw new Error('Unsupported\x20operation:\x20'+_0x28e9d8);}var EditorCropButtonControl=class extends EditorButtonControl{['_operation']=void 0x0;['initCallback'](){super['initCallback'](),this['defineAccessor']('operation',_0x1a3673=>{_0x1a3673&&(this['_operation']=_0x1a3673,this['$']['icon']=_0x1a3673,this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-crop',{'name':this['l10n'](_0x1a3673)['toLowerCase']()})));}),this['$']['on.click']=_0x57a444=>{if(!this['_operation'])return;const _0x3edc9e=this['$']['*cropperEl'],_0xa5dba6=_0x3edc9e['getValue'](this['_operation']),_0x8b8a0c=nextValue(this['_operation'],_0xa5dba6);this['telemetryManager']['sendEventCloudImageEditor'](_0x57a444,this['$']['*tabId'],{'operation':this['_operation'],'next':_0x8b8a0c,'prev':_0xa5dba6}),_0x3edc9e['setValue'](this['_operation'],_0x8b8a0c);};}};function _0x45b8cd(_0x44f9ee){const _0x20594b=new Image();return{'promise':new Promise((_0x557a2a,_0x46016e)=>{_0x20594b['src']=_0x44f9ee,_0x20594b['onload']=()=>_0x557a2a(),_0x20594b['onerror']=_0x1a8a26=>_0x46016e(_0x1a8a26);}),'image':_0x20594b,'cancel':()=>{0x0===_0x20594b['naturalWidth']&&(_0x20594b['src']=_0x263b3b);}};}function batchPreloadImages(_0x346255){const _0x5f163f=[];for(const _0x2f9db1 of _0x346255){const _0x593886=_0x45b8cd(_0x2f9db1);_0x5f163f['push'](_0x593886);}const _0x23a1c2=_0x5f163f['map'](_0x7928d=>_0x7928d['image']);return{'promise':Promise['allSettled'](_0x5f163f['map'](_0x15d1be=>_0x15d1be['promise'])),'images':_0x23a1c2,'cancel':()=>{_0x5f163f['forEach'](_0xd5c611=>{_0xd5c611['cancel']();});}};}var _0x5a4e90='original',EditorSlider=class extends _0x138861{['_operation']='filter';['_filter'];['_originalUrl']='';constructor(){super(),this['init$']={...this['init$'],'disabled':!0x1,'min':0x0,'max':0x64,'value':0x0,'defaultValue':0x0,'zero':0x0,'on.input':_0x182763=>{const _0x15a707=this['$']['*faderEl'];_0x15a707?.['set'](_0x182763),this['$']['value']=_0x182763;}};}['setOperation'](_0x31b19b,_0x1acba3){this['_operation']=_0x31b19b,this['_filter']=_0x1acba3,this['_initializeValues']();const _0x10b324=this['$']['*faderEl'],_0x2d2330=this['_originalUrl']||this['$']['*originalUrl'];_0x10b324&&_0x2d2330&&_0x10b324['activate']({'url':_0x2d2330,'operation':this['_operation'],'value':this['_filter']===_0x5a4e90?void 0x0:this['$']['value'],'filter':this['_filter']===_0x5a4e90?void 0x0:this['_filter'],'fromViewer':!0x1});}['_initializeValues'](){const _0xd5ffaa=this['_operation'],{range:_0x5964f0,zero:_0x29c2a8}=_0x148bb4[_0xd5ffaa],[_0x4a4bd3,_0x366c52]=_0x5964f0;this['$']['min']=_0x4a4bd3,this['$']['max']=_0x366c52,this['$']['zero']=_0x29c2a8;const _0x505d80=this['$']['*editorTransformations'][_0xd5ffaa];if('filter'===_0xd5ffaa){let _0x40bfb9=Number(_0x366c52);const _0x1b48e2=_0x505d80;if(_0x1b48e2){const {name:_0x63f2b7,amount:_0x2f4f34}=_0x1b48e2;_0x40bfb9=_0x63f2b7===this['_filter']?_0x2f4f34:_0x366c52;}return this['$']['value']=_0x40bfb9,void(this['$']['defaultValue']=_0x40bfb9);}const _0x13e4a8=void 0x0!==_0x505d80?_0x505d80:_0x29c2a8;this['$']['value']=_0x13e4a8,this['$']['defaultValue']=_0x13e4a8;}['apply'](){const _0x1e8491={...this['$']['*editorTransformations']};'filter'===this['_operation']?this['_filter']&&this['_filter']!==_0x5a4e90?_0x1e8491['filter']={'name':this['_filter'],'amount':this['$']['value']}:delete _0x1e8491['filter']:_0x1e8491[this['_operation']]=this['$']['value'],this['$']['*editorTransformations']=_0x1e8491;}['cancel'](){const _0x307d1a=this['$']['*faderEl'];_0x307d1a?.['deactivate']({'hide':!0x1});}['initCallback'](){super['initCallback'](),this['sub']('*originalUrl',_0x51ddf1=>{this['_originalUrl']=_0x51ddf1;}),this['sub']('value',_0x4e6f96=>{const _0x3684dd=(this['_filter']??this['_operation'])+'\x20'+_0x4e6f96;this['$']['*operationTooltip']=_0x3684dd;});}};function parseFilterValue(_0x68542b){const _0x363a09=_0x68542b['match'](/^([A-Za-z]+)\s+(\d+)$/);if(!_0x363a09)return null;const [,_0x49b5f5,_0x358cce]=_0x363a09;return _0x49b5f5&&void 0x0!==_0x358cce?{'filter':_0x49b5f5,'value':Number(_0x358cce)}: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 _0x5c7a17=parseInt(window['getComputedStyle'](this)['getPropertyValue']('--l-base-min-width'),0xa),_0x125e80=window['devicePixelRatio'],_0x57bcd1=Math['ceil'](_0x125e80*_0x5c7a17),_0x218a51=_0x125e80>=0x2?'lightest':'normal',_0x139469={...this['$']['*editorTransformations']};return _0x139469[this['_operation']]=this['_filter']!==_0x5a4e90?{'name':this['_filter'],'amount':0x64}:void 0x0,createCdnUrl(this['_originalUrl'],createCdnUrlModifiers(_0x4a860c,transformationsToOperations(_0x139469),'quality/'+_0x218a51,'scale_crop/'+_0x57bcd1+'x'+_0x57bcd1+'/center'));}async['_observerCallback'](_0x572129,_0x4a0006){const _0x4fd2a1=_0x572129[0x0];if(_0x4fd2a1?.['isIntersecting']){const _0x247f88=await this['proxyUrl'](this['_previewSrc']()),_0x40b4e4=this['ref']['preview-el'],{promise:_0x26afb2,cancel:_0x24000d}=_0x45b8cd(_0x247f88);this['_cancelPreload']=_0x24000d,_0x26afb2['catch'](_0x1cd4e5=>{this['$']['*networkProblems']=!0x0,console['error']('Failed\x20to\x20load\x20image',{'error':_0x1cd4e5});})['finally'](()=>{_0x40b4e4['style']['backgroundImage']='url('+_0x247f88+')',_0x40b4e4['setAttribute']('loaded',''),_0x4a0006['unobserve'](this);});}else this['_cancelPreload']?.();}['initCallback'](){super['initCallback'](),this['$']['on.click']=_0x2d3ae1=>{if(this['$']['active'])!this['$']['isOriginal']&&(this['$']['*sliderEl']['setOperation'](this['_operation'],this['_filter']),this['$']['*showSlider']=!0x0);else{const _0x524afe=this['$']['*sliderEl'];_0x524afe['setOperation'](this['_operation'],this['_filter']),_0x524afe['apply']();}this['telemetryManager']['sendEventCloudImageEditor'](_0x2d3ae1,this['$']['*tabId'],{'operation':parseFilterValue(this['$']['*operationTooltip'])}),this['$']['*currentFilter']=this['_filter'];},this['defineAccessor']('filter',_0x256a62=>{this['_operation']='filter',this['_filter']=_0x256a62,this['$']['isOriginal']=_0x256a62===_0x5a4e90,this['$']['icon']=this['$']['isOriginal']?'original':'slider',this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-filter',{'name':_0x256a62['toLowerCase']()}));}),this['_observer']=new window['IntersectionObserver'](this['_observerCallback']['bind'](this),{'threshold':[0x0,0x1]});const _0x176831=this['$']['*originalUrl'];if(this['_originalUrl']=_0x176831,this['$']['isOriginal'])this['ref']['icon-el']['classList']['add']('uc-original-icon');else this['_observer']['observe'](this);this['sub']('*currentFilter',_0x26d629=>{this['$']['active']=_0x26d629&&_0x26d629===this['_filter'];}),this['sub']('isOriginal',_0x271e1e=>{this['$']['iconSize']=_0x271e1e?0x28:0x14;}),this['sub']('active',_0x3cee25=>{if(this['$']['isOriginal'])return;this['ref']['icon-el']['style']['opacity']=_0x3cee25?'1':'0';const _0x7d0605=this['ref']['preview-el'];_0x3cee25?_0x7d0605['style']['opacity']='0':_0x7d0605['style']['backgroundImage']&&(_0x7d0605['style']['opacity']='1');}),this['sub']('*networkProblems',async _0x68a7d3=>{if(!_0x68a7d3){const _0x390831=await this['proxyUrl'](this['_previewSrc']()),_0x3b8724=this['ref']['preview-el'];_0x3b8724['style']['backgroundImage']&&(_0x3b8724['style']['backgroundImage']='none',_0x3b8724['style']['backgroundImage']='url('+_0x390831+')');}});}['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=(_0xb510b8,_0x324f19)=>{let _0x4996a3,_0x399f2d=!0x1,_0x40321d=0x0;const _0x79baac=(..._0x789689)=>{_0x399f2d?(_0x4996a3&&clearTimeout(_0x4996a3),_0x4996a3=setTimeout(()=>{Date['now']()-_0x40321d>=_0x324f19&&(_0xb510b8(..._0x789689),_0x40321d=Date['now']());},Math['max'](_0x324f19-(Date['now']()-_0x40321d),0x0))):(_0xb510b8(..._0x789689),_0x40321d=Date['now'](),_0x399f2d=!0x0);};return Object['defineProperty'](_0x79baac,'cancel',{'configurable':!0x1,'writable':!0x1,'enumerable':!0x1,'value':()=>{_0x4996a3&&clearTimeout(_0x4996a3);}}),_0x79baac;};function _0x1d5c59(_0x16d8c5,_0x10de2d){const _0x4e9f0f={};for(const _0x44bb13 of _0x10de2d){const _0x3ea60a=_0x16d8c5[_0x44bb13];(Object['hasOwn'](_0x16d8c5,_0x44bb13)||void 0x0!==_0x3ea60a)&&(_0x4e9f0f[_0x44bb13]=_0x3ea60a);}return _0x4e9f0f;}function _0x23ec74(_0x2ddfb0,_0x41688e,_0x3bdfe3){const _0x5a23dd=window['devicePixelRatio'],_0x133062=Math['min'](Math['ceil'](_0x41688e*_0x5a23dd),0xbb8),_0x120d9b=_0x5a23dd>=0x2?'lightest':'normal';return createCdnUrl(_0x2ddfb0,createCdnUrlModifiers(_0x4a860c,transformationsToOperations(_0x3bdfe3),'quality/'+_0x120d9b,'stretch/off/-/resize/'+_0x133062+'x','@clib/'+_0x5c6a15+'/'+_0x4c8b17+'/uc-cloud-image-editor/'));}function validateCrop(_0x36883a){if(!_0x36883a)return!0x0;const _0x27e17c=[({dimensions:_0x35192f,coords:_0x166bcb})=>[..._0x35192f,..._0x166bcb]['every'](_0x539b52=>Number['isInteger'](_0x539b52)&&Number['isFinite'](_0x539b52)),({dimensions:_0x3e5af4,coords:_0x5c8b8f})=>_0x3e5af4['every'](_0x499545=>_0x499545>0x0)&&_0x5c8b8f['every'](_0x33f5e5=>_0x33f5e5>=0x0)];return _0x27e17c['every'](_0x28eda9=>_0x28eda9(_0x36883a));}var EditorImageCropper=class extends _0x138861{['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':_0x4cd662,'*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']=_0xe9436c(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 _0x4092ea=_0x1d5c59(this['$']['*editorTransformations'],Object['keys'](this['$']['*operations'])),_0x3245ed={...this['$']['*operations'],..._0x4092ea};this['$']['*operations']=_0x3245ed;}['_initCanvas'](){const _0x4b303c=this['ref']['canvas-el'],_0x648b08=_0x4b303c['getContext']('2d'),_0x1aa1b0=this['offsetWidth'],_0x1ee9bf=this['offsetHeight'],_0x3882ae=window['devicePixelRatio'];_0x4b303c['style']['width']=_0x1aa1b0+'px',_0x4b303c['style']['height']=_0x1ee9bf+'px',_0x4b303c['width']=_0x1aa1b0*_0x3882ae,_0x4b303c['height']=_0x1ee9bf*_0x3882ae,_0x648b08?.['scale'](_0x3882ae,_0x3882ae),this['_canvas']=_0x4b303c,this['_ctx']=_0x648b08;}['_alignImage'](){if(!this['_isActive']||!this['$']['image'])return;const _0x22fe25=this['$']['image'],_0x41e193=this['$']['*padding'],_0x52edeb=this['$']['*operations'],{rotate:_0x292315}=_0x52edeb,_0x2d9e22=this['offsetWidth'],_0x1279d4=this['offsetHeight'],_0x6bd12b=rotateSize({'width':_0x22fe25['naturalWidth'],'height':_0x22fe25['naturalHeight']},_0x292315);let _0x5cf46a;if(_0x6bd12b['width']>_0x2d9e22-0x2*_0x41e193||_0x6bd12b['height']>_0x1279d4-0x2*_0x41e193){const _0x35e40a=_0x6bd12b['width']/_0x6bd12b['height'];if(_0x35e40a>_0x2d9e22/_0x1279d4){const _0x337795=_0x2d9e22-0x2*_0x41e193,_0x4ecc1f=_0x337795/_0x35e40a;_0x5cf46a={'x':0x0+_0x41e193,'y':_0x41e193+(_0x1279d4-0x2*_0x41e193)/0x2-_0x4ecc1f/0x2,'width':_0x337795,'height':_0x4ecc1f};}else{const _0x554bc3=_0x1279d4-0x2*_0x41e193,_0x5c39f9=_0x554bc3*_0x35e40a;_0x5cf46a={'x':_0x41e193+(_0x2d9e22-0x2*_0x41e193)/0x2-_0x5c39f9/0x2,'y':0x0+_0x41e193,'width':_0x5c39f9,'height':_0x554bc3};}}else{const {width:_0x41e1cd,height:_0x1bf438}=_0x6bd12b;_0x5cf46a={'x':_0x41e193+(_0x2d9e22-0x2*_0x41e193)/0x2-_0x41e1cd/0x2,'y':_0x41e193+(_0x1279d4-0x2*_0x41e193)/0x2-_0x1bf438/0x2,'width':_0x41e1cd,'height':_0x1bf438};}this['$']['*imageBox']=roundRect(_0x5cf46a);}['_alignCrop'](){let _0x3cac57=this['$']['*cropBox'];const _0x571701=this['$']['*imageBox'],_0x5b64d6=this['$']['*operations'],{rotate:_0x59ac15}=_0x5b64d6,_0xca0317=this['$']['*editorTransformations']['crop'],{width:_0x3b47f8,x:_0x1116f2,y:_0x5c024f}=_0x571701;if(_0xca0317){const {dimensions:[_0x4d5cca,_0x5752d2],coords:[_0x3f936a,_0x1f6f40]}=_0xca0317,{width:_0xda965c}=rotateSize(this['_imageSize'],_0x59ac15),_0x432b75=_0x3b47f8/_0xda965c;_0x3cac57=constraintRect(roundRect({'x':_0x1116f2+_0x3f936a*_0x432b75,'y':_0x5c024f+_0x1f6f40*_0x432b75,'width':_0x4d5cca*_0x432b75,'height':_0x5752d2*_0x432b75}),_0x571701);}const _0x312869=this['$']['*currentAspectRatio'],_0x223a64=_0x312869?_0x312869['width']/_0x312869['height']:void 0x0;if(!isRectInsideRect(_0x3cac57,_0x571701)||_0x223a64&&!isRectMatchesAspectRatio(_0x3cac57,_0x223a64)){const _0x2c0189=_0x571701['width']/_0x571701['height'];let _0x433324=_0x571701['width'],_0x1843e5=_0x571701['height'];_0x223a64&&(_0x2c0189>_0x223a64?_0x433324=Math['min'](_0x571701['height']*_0x223a64,_0x571701['width']):_0x1843e5=Math['min'](_0x571701['width']/_0x223a64,_0x571701['height'])),_0x3cac57={'x':_0x571701['x']+_0x571701['width']/0x2-_0x433324/0x2,'y':_0x571701['y']+_0x571701['height']/0x2-_0x1843e5/0x2,'width':_0x433324,'height':_0x1843e5};}this['$']['*cropBox']=constraintRect(roundRect(_0x3cac57),_0x571701);}['_drawImage'](){const _0x1dda40=this['_ctx'];if(!_0x1dda40)return;const _0x4baa31=this['$']['image'],_0x1d1ec6=this['$']['*imageBox'],_0x2abfaf=this['$']['*operations'],{mirror:_0x2c37a8,flip:_0x42081c,rotate:_0x5688ec}=_0x2abfaf,_0x3b257b=rotateSize({'width':_0x1d1ec6['width'],'height':_0x1d1ec6['height']},_0x5688ec);_0x1dda40['save'](),_0x1dda40['translate'](_0x1d1ec6['x']+_0x1d1ec6['width']/0x2,_0x1d1ec6['y']+_0x1d1ec6['height']/0x2),_0x1dda40['rotate'](_0x5688ec*Math['PI']*-0x1/0xb4),_0x1dda40['scale'](_0x2c37a8?-0x1:0x1,_0x42081c?-0x1:0x1),_0x1dda40['drawImage'](_0x4baa31,-_0x3b257b['width']/0x2,-_0x3b257b['height']/0x2,_0x3b257b['width'],_0x3b257b['height']),_0x1dda40['restore']();}['_draw'](){if(!(this['_isActive']&&this['$']['image']&&this['_canvas']&&this['_ctx']))return;const _0x585b8b=this['_canvas'];this['_ctx']['clearRect'](0x0,0x0,_0x585b8b['width'],_0x585b8b['height']),this['_drawImage']();}['_animateIn']({fromViewer:_0x3bc535}){this['$']['image']&&(this['ref']['frame-el']['toggleThumbs'](!0x0),this['_transitionToImage'](),setTimeout(()=>{this['className']=_0x49fa51({'uc-active_from_viewer':_0x3bc535,'uc-active_from_editor':!_0x3bc535,'uc-inactive_to_editor':!0x1});}));}['_getCropDimensions'](){const _0x16405e=this['$']['*cropBox'],_0x426f9c=this['$']['*imageBox'],_0x574c04=this['$']['*operations'],{rotate:_0x32611f}=_0x574c04,{width:_0x5a0887,height:_0x3768df}=_0x426f9c,{width:_0x45b660,height:_0x1d4e15}=rotateSize(this['_imageSize'],_0x32611f),{width:_0x376552,height:_0x5eaae7}=_0x16405e,_0x4772b1=_0x5a0887/_0x45b660,_0x50f75d=_0x3768df/_0x1d4e15;return[_0x2c0e8a(Math['round'](_0x376552/_0x4772b1),0x1,_0x45b660),_0x2c0e8a(Math['round'](_0x5eaae7/_0x50f75d),0x1,_0x1d4e15)];}['_getCropTransformation'](){const _0x1576f2=this['$']['*cropBox'],_0x4bee2b=this['$']['*imageBox'],_0x34fa3f=this['$']['*operations'],{rotate:_0x25a69d}=_0x34fa3f,{width:_0x583f53,height:_0x321e22,x:_0x456843,y:_0x305c09}=_0x4bee2b,{width:_0x362d82,height:_0x2480d8}=rotateSize(this['_imageSize'],_0x25a69d),{x:_0x49c1e9,y:_0x57c9a3}=_0x1576f2,_0x1756e7=_0x583f53/_0x362d82,_0x114b4f=_0x321e22/_0x2480d8,_0x4c5d58=this['_getCropDimensions'](),_0x80c5f2={'dimensions':_0x4c5d58,'coords':[_0x2c0e8a(Math['round']((_0x49c1e9-_0x456843)/_0x1756e7),0x0,_0x362d82-_0x4c5d58[0x0]),_0x2c0e8a(Math['round']((_0x57c9a3-_0x305c09)/_0x114b4f),0x0,_0x2480d8-_0x4c5d58[0x1])]};if(validateCrop(_0x80c5f2)){if(_0x4c5d58[0x0]!==_0x362d82||_0x4c5d58[0x1]!==_0x2480d8)return _0x80c5f2;}else console['error']('Cropper\x20is\x20trying\x20to\x20create\x20invalid\x20crop\x20object',{'payload':_0x80c5f2});}['_commit'](){if(!this['isConnected']||!this['_imageSize'])return;const _0x3b7f3a=this['$']['*operations'],{rotate:_0x377003,mirror:_0x4baf10,flip:_0x2d20c1}=_0x3b7f3a,_0xabb4c6=this['_getCropTransformation'](),_0x10dd18={...this['$']['*editorTransformations'],'crop':_0xabb4c6,'rotate':_0x377003,'mirror':_0x4baf10,'flip':_0x2d20c1};this['$']['*editorTransformations']=_0x10dd18;}['setValue'](_0xd02cc3,_0x451188){this['$']['*operations']={...this['$']['*operations'],[_0xd02cc3]:_0x451188},this['_isActive']&&(this['_alignImage'](),this['_alignCrop'](),this['_draw']());}['getValue'](_0x228af2){return this['$']['*operations'][_0x228af2];}async['activate'](_0x32dc59,{fromViewer:_0x3878ae}={}){if(!this['_isActive']){this['_isActive']=!0x0,this['_imageSize']=_0x32dc59,this['removeEventListener']('transitionend',this['_reset']);try{const _0x4fd656=this['$']['*originalUrl'],_0x46204f=this['$']['*editorTransformations'];this['$']['image']=await this['_waitForImage'](_0x4fd656,_0x46204f),this['_syncTransformations'](),this['_animateIn']({'fromViewer':_0x3878ae});}catch(_0x38048f){console['error']('Failed\x20to\x20activate\x20cropper',{'error':_0x38048f}),this['telemetryManager']['sendEventError'](_0x38048f,'cloud\x20editor\x20image.\x20Failed\x20to\x20activate\x20cropper');}this['_observer']=new ResizeObserver(_0x130394=>{const [_0x4c95ef]=_0x130394;if(!_0x4c95ef)return;_0x4c95ef['contentRect']['width']>0x0&&_0x4c95ef['contentRect']['height']>0x0&&this['_isActive']&&this['$']['image']&&this['_handleResizeThrottled']();}),this['_observer']['observe'](this);}}['deactivate']({reset:_0x21764e=!0x1}={}){this['_isActive']&&(!_0x21764e&&this['_commit'](),this['_isActive']=!0x1,this['_transitionToCrop'](),this['className']=_0x49fa51({'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 _0x491d48=this['_getCropDimensions'](),_0x12a446=this['$']['*cropBox'],_0x2851fe=Math['min'](this['offsetWidth'],_0x491d48[0x0])/_0x12a446['width'],_0x4a351d=Math['min'](this['offsetHeight'],_0x491d48[0x1])/_0x12a446['height'],_0x4bf31c=Math['min'](_0x2851fe,_0x4a351d),_0x37427c=_0x12a446['x']+_0x12a446['width']/0x2,_0x340dfe=_0x12a446['y']+_0x12a446['height']/0x2;this['style']['transform']='scale('+_0x4bf31c+')\x20translate('+(this['offsetWidth']/0x2-_0x37427c)/_0x4bf31c+'px,\x20'+(this['offsetHeight']/0x2-_0x340dfe)/_0x4bf31c+'px)',this['style']['transformOrigin']=_0x37427c+'px\x20'+_0x340dfe+'px';}['_transitionToImage'](){const _0x251aa5=this['$']['*cropBox'],_0x2f8c9e=_0x251aa5['x']+_0x251aa5['width']/0x2,_0xde9a8a=_0x251aa5['y']+_0x251aa5['height']/0x2;this['style']['transform']='scale(1)',this['style']['transformOrigin']=_0x2f8c9e+'px\x20'+_0xde9a8a+'px';}['_reset'](){this['_isActive']||(this['$']['image']=null);}async['_waitForImage'](_0x553316,_0x1dfc44){const _0x604325=this['offsetWidth'];_0x1dfc44={..._0x1dfc44,'crop':void 0x0,'rotate':void 0x0,'flip':void 0x0,'mirror':void 0x0};const _0x1c6d83=await this['proxyUrl'](_0x23ec74(_0x553316,_0x604325,_0x1dfc44)),{promise:_0x3c4356,cancel:_0x267305,image:_0x228d2b}=_0x45b8cd(_0x1c6d83),_0x111b64=this['_handleImageLoading'](_0x1c6d83);return _0x228d2b['addEventListener']('load',_0x111b64,{'once':!0x0}),_0x228d2b['addEventListener']('error',_0x111b64,{'once':!0x0}),this['_cancelPreload']?.(),this['_cancelPreload']=_0x267305,_0x3c4356['then'](()=>_0x228d2b)['catch'](_0xd6744a=>(console['error']('Failed\x20to\x20load\x20image',{'error':_0xd6744a}),this['$']['*networkProblems']=!0x0,_0x228d2b));}['_handleImageLoading'](_0x490007){const _0x7a6f9d='crop',_0x52cb9b=this['$']['*loadingOperations'];let _0x4fddca=_0x52cb9b['get'](_0x7a6f9d);return _0x4fddca||(_0x4fddca=new Map(),_0x52cb9b['set'](_0x7a6f9d,_0x4fddca)),_0x4fddca['get'](_0x490007)||(_0x4fddca['set'](_0x490007,!0x0),this['$']['*loadingOperations']=_0x52cb9b),()=>{const _0x2c1d88=_0x52cb9b['get'](_0x7a6f9d);_0x2c1d88?.['has'](_0x490007)&&(_0x2c1d88['delete'](_0x490007),this['$']['*loadingOperations']=_0x52cb9b);};}['initCallback'](){super['initCallback'](),this['sub']('*imageBox',()=>{this['_draw']();}),this['sub']('*cropBox',()=>{this['$']['image']&&this['_commitDebounced']();}),this['sub']('*currentAspectRatio',()=>{this['_alignCrop']();}),setTimeout(()=>{this['sub']('*networkProblems',_0x3fda48=>{_0x3fda48||this['_isActive']&&this['activate'](this['_imageSize'],{'fromViewer':!0x1});});},0x0);}['destroyCallback'](){super['destroyCallback'](),this['_observer']?.['disconnect']();}};function _0x5ffa47(_0x5c44e7,_0x307799,_0x3a1815){const _0x5ee0e5=_0x3a1815-0x1,_0x3ca4eb=new Array(_0x3a1815);for(let _0x28588a=_0x5ee0e5;_0x28588a>=0x0;_0x28588a-=0x1)_0x3ca4eb[_0x28588a]=Math['ceil']((_0x28588a*_0x307799+(_0x5ee0e5-_0x28588a)*_0x5c44e7)/_0x5ee0e5);return _0x3ca4eb;}function isOperationKey(_0x154984){return'string'==typeof _0x154984&&_0x154984 in _0x148bb4;}function splitBySections(_0x3044b2){const _0x2fcc08=[];for(let _0xce795=0x0;_0xce795<_0x3044b2['length']-0x1;_0xce795+=0x1){const _0x46ca71=_0x3044b2[_0xce795],_0x2aab1b=_0x3044b2[_0xce795+0x1];'number'==typeof _0x46ca71&&'number'==typeof _0x2aab1b&&_0x2fcc08['push']([_0x46ca71,_0x2aab1b]);}return _0x2fcc08;}function calculateOpacities(_0x52deb0,_0x464c5f,_0x98c9d9){const _0x2afa1b=splitBySections(_0x52deb0)['find'](([_0x2e39a6,_0x315b6c])=>_0x2e39a6<=_0x464c5f&&_0x464c5f<=_0x315b6c);if(!_0x2afa1b)return _0x52deb0['map'](()=>0x0);const [_0x2044e4,_0x22e617]=_0x2afa1b;return _0x52deb0['map'](_0x3d433f=>{const _0x4f1602=Math['abs'](_0x2044e4-_0x22e617)||0x1,_0x1abb89=Math['abs'](_0x464c5f-_0x2044e4)/_0x4f1602;return _0x2044e4===_0x3d433f?_0x464c5f>_0x98c9d9?0x1:0x1-_0x1abb89:_0x22e617===_0x3d433f?_0x464c5f>=_0x98c9d9?_0x1abb89:0x1:0x0;});}function calculateZIndices(_0x58f7b4,_0x26ba27){return _0x58f7b4['map']((_0x5ec09d,_0x4ec1d9)=>_0x5ec09d<_0x26ba27?_0x58f7b4['length']-_0x4ec1d9:_0x4ec1d9);}function keypointsRange(_0x4bb1ce,_0x36dc1d){const _0x12e527=_0x148bb4[_0x4bb1ce]['keypointsNumber'],{range:_0x2e6ca1,zero:_0xbddba0}=_0x148bb4[_0x4bb1ce];return[...new Set([..._0x5ffa47(_0x2e6ca1[0x0],_0xbddba0,_0x12e527+0x1),..._0x5ffa47(_0xbddba0,_0x2e6ca1[0x1],_0x12e527+0x1),_0xbddba0,_0x36dc1d])]['sort']((_0x2fa5b7,_0x1460d0)=>_0x2fa5b7-_0x1460d0);}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 _0x138861{['_isActive']=!0x1;['_hidden']=!0x0;['_operation']='initial';['_filter'];['_value'];['_transformations']={};['_keypoints']=[];['_container'];['_previewImage'];['_cancelLastImages'];['_cancelBatchPreload'];['_url'];['_fromViewer'];['_raf']=0x0;['_addKeypointDebounced']=_0xe9436c(this['_addKeypoint']['bind'](this),0x258);constructor(){super(),this['classList']['add']('uc-inactive_to_cropper');}['_handleImageLoading'](_0x41139b){const _0x15e748=this['_operation'],_0x138452=this['$']['*loadingOperations'];_0x138452['has'](_0x15e748)||_0x138452['set'](_0x15e748,new Map());const _0x37f21c=_0x138452['get'](_0x15e748);return _0x37f21c&&!_0x37f21c['get'](_0x41139b)&&(_0x37f21c['set'](_0x41139b,!0x0),this['$']['*loadingOperations']=_0x138452),()=>{const _0xec68f5=_0x138452['get'](_0x15e748);_0xec68f5?.['has'](_0x41139b)&&(_0xec68f5['delete'](_0x41139b),this['$']['*loadingOperations']=_0x138452);};}['_flush'](){window['cancelAnimationFrame'](this['_raf']),this['_raf']=window['requestAnimationFrame'](()=>{for(const _0x45d9cb of this['_keypoints']){const {image:_0x4d6e23}=_0x45d9cb;_0x4d6e23&&(_0x4d6e23['style']['opacity']=_0x45d9cb['opacity']['toString'](),_0x4d6e23['style']['zIndex']=_0x45d9cb['zIndex']['toString']());}});}['_imageSrc']({url:_0x5a44cc=this['_url'],filter:_0x5dd8c5=this['_filter']??void 0x0,operation:_0x5d8386,value:_0x737db1}={}){if(!_0x5a44cc)throw new Error('URL\x20is\x20not\x20defined');const _0x40b6e0={...this['_transformations']};_0x5d8386&&('filter'===_0x5d8386?_0x5dd8c5&&'number'==typeof _0x737db1&&(_0x40b6e0['filter']={'name':_0x5dd8c5,'amount':_0x737db1}):'number'==typeof _0x737db1&&(_0x40b6e0[_0x5d8386]=_0x737db1));const _0x12d5b1=this['offsetWidth'];return this['proxyUrl'](_0x23ec74(_0x5a44cc,_0x12d5b1,_0x40b6e0));}async['_constructKeypoint'](_0x3983ae,_0x4e3136){return{'src':await this['_imageSrc']({'operation':_0x3983ae,'value':_0x4e3136}),'image':void 0x0,'opacity':0x0,'zIndex':0x0,'value':_0x4e3136};}['_isSame'](_0x27e147,_0x144295){return this['_operation']===_0x27e147&&this['_filter']===_0x144295;}async['_addKeypoint'](_0x4ab25c,_0x13ce86,_0x60b70b){const _0x3e1946=()=>!this['_isSame'](_0x4ab25c,_0x13ce86)||this['_value']!==_0x60b70b||!!this['_keypoints']['find'](_0x426b41=>_0x426b41['value']===_0x60b70b);if(_0x3e1946())return;const _0x19f134=await this['_constructKeypoint'](_0x4ab25c,_0x60b70b),_0x1c52fd=new Image();_0x1c52fd['src']=_0x19f134['src'];const _0x5d5b05=this['_handleImageLoading'](_0x19f134['src']);_0x1c52fd['addEventListener']('load',_0x5d5b05,{'once':!0x0}),_0x1c52fd['addEventListener']('error',_0x5d5b05,{'once':!0x0}),_0x19f134['image']=_0x1c52fd,_0x1c52fd['classList']['add']('uc-fader-image'),_0x1c52fd['addEventListener']('load',()=>{if(_0x3e1946())return;const _0x5d8aff=this['_keypoints'];let _0x51838d=_0x5d8aff['findIndex'](_0x2e4bf0=>_0x2e4bf0['value']>_0x60b70b);-0x1===_0x51838d&&(_0x51838d=_0x5d8aff['length']);const _0x55b7e8=_0x5d8aff[_0x51838d],_0x2eee76=_0x55b7e8?.['image'],_0x2bbcfb=this['_container'];!_0x2bbcfb||_0x2eee76&&!_0x2bbcfb['contains'](_0x2eee76)||(_0x5d8aff['splice'](_0x51838d,0x0,_0x19f134),_0x2eee76&&_0x2bbcfb['insertBefore'](_0x1c52fd,_0x2eee76),this['_update'](_0x4ab25c,_0x60b70b));},{'once':!0x0}),_0x1c52fd['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}['set'](_0x9652e4){const _0xc31d80='string'==typeof _0x9652e4?parseInt(_0x9652e4,0xa):_0x9652e4;isOperationKey(this['_operation'])&&Number['isFinite'](_0xc31d80)&&(this['_update'](this['_operation'],_0xc31d80),this['_addKeypointDebounced'](this['_operation'],this['_filter'],_0xc31d80));}['_update'](_0xca0cf7,_0x3f8e61){this['_operation']=_0xca0cf7,this['_value']=_0x3f8e61;const {zero:_0x26300}=_0x148bb4[_0xca0cf7],_0x212cbd=this['_keypoints']['map'](_0xe603b3=>_0xe603b3['value']),_0x3df6ef=calculateOpacities(_0x212cbd,_0x3f8e61,_0x26300),_0x13822e=calculateZIndices(_0x212cbd,_0x26300);this['_keypoints']['forEach']((_0x451e00,_0xbafe89)=>{const _0x58fe1c=_0x3df6ef[_0xbafe89],_0x22f378=_0x13822e[_0xbafe89];'number'==typeof _0x58fe1c&&(_0x451e00['opacity']=_0x58fe1c),'number'==typeof _0x22f378&&(_0x451e00['zIndex']=_0x22f378);}),this['_flush']();}['_createPreviewImage'](){const _0x4728c8=new Image();return _0x4728c8['classList']['add']('uc-fader-image','uc-fader-image--preview'),_0x4728c8['style']['opacity']='0',_0x4728c8;}async['_initNodes'](){const _0x3888e7=document['createDocumentFragment']();this['_previewImage']=this['_previewImage']||this['_createPreviewImage']();const _0x55fb86=this['_previewImage'];this['contains'](_0x55fb86)||_0x3888e7['appendChild'](_0x55fb86);const _0x2feba6=document['createElement']('div');_0x3888e7['appendChild'](_0x2feba6);const _0x42308d=this['_keypoints']['map'](_0x5688f9=>_0x5688f9['src']),{images:_0xadd830,promise:_0x466841,cancel:_0x5718ae}=batchPreloadImages(_0x42308d);_0xadd830['forEach'](_0x2d80e8=>{const _0x48f6fe=this['_handleImageLoading'](_0x2d80e8['src']);_0x2d80e8['addEventListener']('load',_0x48f6fe),_0x2d80e8['addEventListener']('error',_0x48f6fe);}),this['_cancelLastImages']=()=>{_0x5718ae(),this['_cancelLastImages']=void 0x0;};const _0x3f35d1=this['_operation'],_0x34fa7a=this['_filter'];await _0x466841,this['_isActive']&&this['_isSame'](_0x3f35d1,_0x34fa7a)&&(this['_container']?.['remove'](),this['_container']=_0x2feba6,this['_keypoints']['forEach']((_0x5c703c,_0x2beeaf)=>{const _0x426951=_0xadd830[_0x2beeaf];_0x426951&&(_0x426951['classList']['add']('uc-fader-image'),_0x5c703c['image']=_0x426951,this['_container']?.['appendChild'](_0x426951));}),this['appendChild'](_0x3888e7),this['_flush']());}async['setTransformations'](_0x21cb8a){if(this['_transformations']=_0x21cb8a,this['_previewImage']){const _0x52452c=await this['_imageSrc'](),_0x2688d3=this['_handleImageLoading'](_0x52452c);this['_previewImage']['src']=_0x52452c,this['_previewImage']['addEventListener']('load',_0x2688d3,{'once':!0x0}),this['_previewImage']['addEventListener']('error',_0x2688d3,{'once':!0x0}),this['_previewImage']['style']['opacity']='1',this['_previewImage']['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}}async['preload']({url:_0x1d1223,filter:_0x130bbc,operation:_0x4a42dd,value:_0x5b2180}){if(!_0x4a42dd||'number'!=typeof _0x5b2180)return;this['_cancelBatchPreload']?.();const _0x557dd5=keypointsRange(_0x4a42dd,_0x5b2180),_0x27bf68=await Promise['all'](_0x557dd5['map'](_0x1fad02=>this['_imageSrc']({'url':_0x1d1223,'filter':_0x130bbc,'operation':_0x4a42dd,'value':_0x1fad02}))),{cancel:_0x5ba08d}=batchPreloadImages(_0x27bf68);this['_cancelBatchPreload']=_0x5ba08d;}['_setOriginalSrc'](_0x203513){const _0x255c5d=this['_previewImage']||this['_createPreviewImage']();if(this['contains'](_0x255c5d)||this['appendChild'](_0x255c5d),this['_previewImage']=_0x255c5d,_0x255c5d['src']===_0x203513)return _0x255c5d['style']['opacity']='1',_0x255c5d['style']['transform']='scale(1)',void(this['className']=_0x49fa51({'uc-active_from_viewer':this['_fromViewer'],'uc-active_from_cropper':!this['_fromViewer'],'uc-inactive_to_cropper':!0x1}));_0x255c5d['style']['opacity']='0';const _0x27f985=this['_handleImageLoading'](_0x203513);_0x255c5d['addEventListener']('error',_0x27f985,{'once':!0x0}),_0x255c5d['src']=_0x203513,_0x255c5d['addEventListener']('load',()=>{_0x27f985(),_0x255c5d&&(_0x255c5d['style']['opacity']='1',_0x255c5d['style']['transform']='scale(1)',this['className']=_0x49fa51({'uc-active_from_viewer':this['_fromViewer'],'uc-active_from_cropper':!this['_fromViewer'],'uc-inactive_to_cropper':!0x1}));},{'once':!0x0}),_0x255c5d['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}async['activate']({url:_0x1f1c9f,operation:_0x57cf3a,value:_0x6ddfb5,filter:_0x5da40e,fromViewer:_0x285275}){this['_isActive']=!0x0,this['_hidden']=!0x1,this['_url']=_0x1f1c9f,this['_operation']=_0x57cf3a??'initial',this['_value']=_0x6ddfb5,this['_filter']=_0x5da40e,this['_fromViewer']=_0x285275;if('number'!=typeof _0x6ddfb5&&!_0x5da40e){const _0xa470fd=await this['_imageSrc']({'operation':_0x57cf3a,'value':_0x6ddfb5});return this['_setOriginalSrc'](_0xa470fd),void this['_container']?.['remove']();}_0x57cf3a&&'number'==typeof _0x6ddfb5&&(this['_keypoints']=await Promise['all'](keypointsRange(_0x57cf3a,_0x6ddfb5)['map'](_0x764bf3=>this['_constructKeypoint'](_0x57cf3a,_0x764bf3))),this['_update'](_0x57cf3a,_0x6ddfb5),this['_initNodes']());}['deactivate']({hide:_0x3dff76=!0x0}={}){this['_isActive']=!0x1,this['_cancelLastImages']?.(),this['_cancelBatchPreload']?.(),_0x3dff76&&!this['_hidden']?(this['_hidden']=!0x0,this['_previewImage']&&(this['_previewImage']['style']['transform']='scale(1)'),this['className']=_0x49fa51({'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']=_0x15d501=>{this['$']['*sliderEl']['setOperation'](this['_operation']),this['$']['*showSlider']=!0x0,this['$']['*currentOperation']=this['_operation'],this['telemetryManager']['sendEventCloudImageEditor'](_0x15d501,this['$']['*tabId'],{'operation':parseFilterValue(this['$']['*operationTooltip'])});},this['defineAccessor']('operation',_0x5d31a8=>{_0x5d31a8&&(this['_operation']=_0x5d31a8,this['$']['icon']=_0x5d31a8,this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-tuning',{'name':this['l10n'](_0x5d31a8)['toLowerCase']()})),this['bindL10n']('title',()=>this['l10n'](_0x5d31a8)));}),this['sub']('*editorTransformations',_0x5d0b99=>{if(!this['_operation'])return;const {zero:_0x5efd49}=_0x148bb4[this['_operation']],_0x5d7688=_0x5d0b99[this['_operation']],_0x5bd6a0=void 0x0!==_0x5d7688&&_0x5d7688!==_0x5efd49;this['$']['active']=_0x5bd6a0;});}},_0x3b82a0=0x1,EditorScroller=class extends _0x138861{['initCallback'](){super['initCallback'](),this['addEventListener']('wheel',_0x28ebd1=>{_0x28ebd1['preventDefault']();const {deltaY:_0x3f94fc,deltaX:_0x1d075a}=_0x28ebd1;Math['abs'](_0x1d075a)>_0x3b82a0?this['scrollLeft']+=_0x1d075a:this['scrollLeft']+=_0x3f94fc;},{'passive':!0x1}),this['addEventListener']('scroll',()=>{},{'passive':!0x0});}};function _0x423ea8(_0x2f2e15){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.'+_0x2f2e15+';\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-'+_0x2f2e15+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20data-id=\x22'+_0x2f2e15+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20icon=\x22'+_0x2f2e15+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20on.clickTab;\x20aria-role:tab_role;\x20aria-controls:tab_'+_0x2f2e15+';\x20title-prop:\x20a11y-editor-tab-'+_0x2f2e15+'\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(_0x153789){return'\x0a\x20\x20\x20\x20<uc-presence-toggle\x0a\x20\x20\x20\x20\x20\x20id=\x22tab_'+_0x153789+'\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-tab-content\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22visible:\x20presence.tabContent.'+_0x153789+';\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-'+_0x153789+'\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 _0x138861{['_debouncedShowLoader'];['_cancelPreload'];['_updateInfoTooltip'];constructor(){super(),this['init$']={...this['init$'],'*sliderEl':null,'*listAspectRatioEl':null,'*loadingOperations':new Map(),'*showSlider':!0x1,'*showListAspectRatio':!0x1,'hideSliderOrList':!0x1,'*currentFilter':_0x5a4e90,'*currentOperation':null,'showLoader':!0x1,'filters':_0x3da728,'colorOperations':_0x31db82,'cropOperations':_0x1f84ab,'*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':_0x1b3ece=>{this['telemetryManager']['sendEventCloudImageEditor'](_0x1b3ece,this['$']['*tabId'],{'action':'cancel'}),this['_cancelPreload']?.(),(0x0,this['$']['*on.cancel'])();},'on.apply':_0x1d6b98=>{this['telemetryManager']['sendEventCloudImageEditor'](_0x1d6b98,this['$']['*tabId'],{'action':'apply'}),(0x0,this['$']['*on.apply'])(this['$']['*editorTransformations']);},'on.applySlider':_0x409e2e=>{this['telemetryManager']['sendEventCloudImageEditor'](_0x409e2e,this['$']['*tabId'],{'action':'apply-slider','operation':parseFilterValue(this['$']['*operationTooltip'])}),(this['ref']['slider-el']['apply'](),this['_onSliderClose']());},'on.cancelSlider':_0x3bb779=>{this['telemetryManager']['sendEventCloudImageEditor'](_0x3bb779,this['$']['*tabId'],{'action':'cancel-slider'}),(this['ref']['slider-el']['cancel'](),this['_onSliderClose']());},'on.clickTab':_0x2ea902=>{const _0xdaeafb=_0x2ea902['currentTarget'],_0xf469dd=_0xdaeafb?.['getAttribute']('data-id');_0xf469dd&&(this['telemetryManager']['sendEventCloudImageEditor'](_0x2ea902,_0xf469dd),this['_activateTab'](_0xf469dd,{'fromViewer':!0x1}));},'tab_role':'tab',['tab_'+_0x430bb6['TUNING']]:'tab_'+_0x430bb6['TUNING'],['tab_'+_0x430bb6['CROP']]:'tab_'+_0x430bb6['CROP'],['tab_'+_0x430bb6['FILTERS']]:'tab_'+_0x430bb6['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']=_0xe9436c(this['_showLoader']['bind'](this),0x1f4),this['_updateInfoTooltip']=_0xe9436c(this['_updateInfoTooltipHandler']['bind'](this),0x0);}['_onSliderClose'](){(this['$']['*showSlider']=!0x1,this['$']['*tabId']===_0x430bb6['CROP']&&(this['$']['*showListAspectRatio']=!0x1),this['$']['*tabId']===_0x430bb6['TUNING'])&&this['ref']['tooltip-el']['classList']['toggle']('uc-info-tooltip_visible',!0x1);}['_createOperationControl'](_0x41bebb){const _0x1fbbd3=new EditorOperationControl();return _0x1fbbd3['operation']=_0x41bebb,_0x1fbbd3;}['_createFilterControl'](_0x3d4d23){const _0x3d56c5=new EditorFilterControl();return _0x3d56c5['filter']=_0x3d4d23,_0x3d56c5;}['_createToggleControl'](_0x2609b4){const _0x338f5a=new EditorCropButtonControl();return _0x338f5a['operation']=_0x2609b4,_0x338f5a;}['_createAspectRatioControl'](_0x32cdac){const _0x4640a4=new EditorAspectRatioButtonControl();return _0x4640a4['aspectRatio']=_0x32cdac,_0x4640a4;}['_createFreeformControl'](){return new EditorFreeformButtonControl();}['_clearListAspectRatio'](){const _0x4f4478=this['$']['*listAspectRatioEl'];_0x4f4478&&(_0x4f4478['innerHTML']='');}['_renderControlsList'](_0x5c50bb){const _0x404434=this['ref']['controls-list-'+_0x5c50bb],_0x3e34f4=document['createDocumentFragment']();if(this['_clearListAspectRatio'](),_0x5c50bb===_0x430bb6['CROP']){const _0x4f32cc=this['$']['*cropPresetList'],_0x2f28fa=_0x4f32cc['length']>=0x3;if(_0x2f28fa){const _0x2f5026=this['_createFreeformControl']();_0x3e34f4['appendChild'](_0x2f5026);}for(const _0x21e446 of _0x4f32cc){const _0x42eb1a=this['_createAspectRatioControl'](_0x21e446);if(_0x3e34f4['appendChild'](_0x42eb1a),_0x2f28fa){const _0x4509bb=this['$']['*listAspectRatioEl'];_0x4509bb?.['appendChild'](_0x42eb1a);}}for(const _0x21f08f of this['$']['cropOperations']){const _0x13ae8b=this['_createToggleControl'](_0x21f08f);_0x3e34f4['appendChild'](_0x13ae8b);}}else{if(_0x5c50bb===_0x430bb6['FILTERS']){const _0x4546af=this['$']['filters'];[_0x5a4e90,..._0x4546af]['forEach'](_0x51da41=>{const _0x2d55e1=this['_createFilterControl'](_0x51da41);_0x3e34f4['appendChild'](_0x2d55e1);});}else{if(_0x5c50bb===_0x430bb6['TUNING'])for(const _0x40de65 of this['$']['colorOperations']){const _0x109563=this['_createOperationControl'](_0x40de65);_0x3e34f4['appendChild'](_0x109563);}}}[..._0x3e34f4['children']]['forEach']((_0x48f3dc,_0x1f528a)=>{_0x1f528a===_0x3e34f4['childNodes']['length']-0x1&&_0x48f3dc['classList']['add']('uc-controls-list_last-item');}),_0x404434['innerHTML']='',_0x404434['appendChild'](_0x3e34f4);}['_activateTab'](_0x489b10,{fromViewer:_0x2c3138}={}){this['$']['*tabId']=_0x489b10;const _0x7b4c43=this['$']['*faderEl'],_0x48b12b=this['$']['*cropperEl'];_0x489b10===_0x430bb6['CROP']?(_0x7b4c43?.['deactivate'](),_0x48b12b?.['activate'](this['$']['*imageSize'],{'fromViewer':_0x2c3138})):(_0x7b4c43?.['activate']({'url':this['$']['*originalUrl'],'fromViewer':_0x2c3138}),_0x48b12b?.['deactivate']());for(const _0x2d1bf9 of _0x455ce3){const _0x28f7eb=_0x2d1bf9===_0x489b10;this['ref']['tab-toggle-'+_0x2d1bf9]['active']=_0x28f7eb,_0x28f7eb?(this['_renderControlsList'](_0x489b10),this['_syncTabIndicator']()):this['_unmountTabControls'](_0x2d1bf9),this['$']['presence.tabContent.'+_0x2d1bf9]=_0x28f7eb;}}['_unmountTabControls'](_0x11412e){const _0x47e048=this['ref']['controls-list-'+_0x11412e];_0x47e048&&(_0x47e048['innerHTML']='');}['_syncTabIndicator'](){const _0x2fd596=this['ref']['tab-toggle-'+this['$']['*tabId']];this['ref']['tabs-indicator']['style']['transform']='translateX('+_0x2fd596['offsetLeft']+'px)';}async['_preloadEditedImage'](){if(this['$']['*imgContainerEl']&&this['$']['*originalUrl']){const _0x209149=this['$']['*imgContainerEl']['offsetWidth'],_0xd16c2c=await this['proxyUrl'](_0x23ec74(this['$']['*originalUrl'],_0x209149,this['$']['*editorTransformations']));this['_cancelPreload']?.();const {cancel:_0x17473f}=batchPreloadImages([_0xd16c2c]);this['_cancelPreload']=()=>{_0x17473f(),this['_cancelPreload']=void 0x0;};}}['_showLoader'](_0x6b8bbb){this['$']['showLoader']=_0x6b8bbb;}['_updateInfoTooltipHandler'](){const _0x57d9e1=this['$']['*editorTransformations'],_0x45068f=this['$']['*currentOperation'];let _0x5903c1='',_0x29d3f5=!0x1;if(this['$']['*tabId']===_0x430bb6['FILTERS']){if(_0x29d3f5=!0x0,this['$']['*currentFilter']&&_0x57d9e1?.['filter']?.['name']===this['$']['*currentFilter']){const _0x4ea82d=_0x57d9e1?.['filter']?.['amount']||0x64;_0x5903c1=this['$']['*currentFilter']+'\x20'+_0x4ea82d;}else _0x5903c1=this['l10n'](_0x5a4e90);}else{if(this['$']['*tabId']===_0x430bb6['TUNING']&&_0x45068f){_0x29d3f5=!0x0;const _0x1f22c9=_0x57d9e1?.[_0x45068f]||_0x148bb4[_0x45068f]['zero'];_0x5903c1=this['l10n'](_0x45068f)+'\x20'+_0x1f22c9;}}_0x29d3f5&&(this['$']['*operationTooltip']=_0x5903c1),this['ref']['tooltip-el']['classList']['toggle']('uc-info-tooltip_visible',_0x29d3f5);}['initCallback'](){super['initCallback'](),this['$']['*sliderEl']=this['ref']['slider-el'],this['$']['*listAspectRatioEl']=this['ref']['list-el'],this['sub']('*imageSize',_0x316b1c=>{_0x316b1c&&setTimeout(()=>{this['_activateTab'](this['$']['*tabId'],{'fromViewer':!0x0});},0x0);}),this['sub']('*editorTransformations',_0x36ff6d=>{const _0x3de0ef=_0x36ff6d?.['filter']?.['name'];this['$']['*currentFilter']!==_0x3de0ef&&(this['$']['*currentFilter']=_0x3de0ef);}),this['sub']('*currentFilter',()=>{this['_updateInfoTooltip']();}),this['sub']('*currentOperation',()=>{this['_updateInfoTooltip']();}),this['sub']('*tabId',()=>{this['_updateInfoTooltip']();}),this['sub']('*originalUrl',()=>{this['$']['*faderEl']?.['deactivate']();}),this['sub']('*editorTransformations',_0x162404=>{this['_preloadEditedImage'](),this['$']['*faderEl']?.['setTransformations'](_0x162404);}),this['sub']('*loadingOperations',_0x454b97=>{let _0x180078=!0x1;for(const [,_0x1b05ad]of _0x454b97['entries']()){if(_0x180078)break;for(const [,_0x40f420]of _0x1b05ad['entries']())if(_0x40f420){_0x180078=!0x0;break;}}this['_debouncedShowLoader'](_0x180078);}),this['sub']('*showSlider',_0x417d00=>{this['$']['presence.subToolbar']=_0x417d00,this['$']['presence.mainToolbar']=!_0x417d00,this['$']['hideSliderOrList']=!0x0;}),this['sub']('*showListAspectRatio',_0x2010bb=>{this['$']['presence.subToolbar']=_0x2010bb,this['$']['presence.mainToolbar']=!_0x2010bb,this['$']['hideSliderOrList']=!0x1;}),this['sub']('*tabList',_0x476060=>{this['$']['presence.tabToggles']=_0x476060['length']>0x1;for(const _0x585be6 of _0x455ce3){this['$']['presence.tabToggle.'+_0x585be6]=_0x476060['includes'](_0x585be6),this['ref']['tab-toggle-'+_0x585be6]['style']['gridColumn']=''+(_0x476060['indexOf'](_0x585be6)+0x1);}if(!_0x476060['includes'](this['$']['*tabId'])&&_0x476060['length']>0x0){const [_0x24e52d]=_0x476060;_0x24e52d&&this['_activateTab'](_0x24e52d,{'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>'+_0x455ce3['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'+_0x455ce3['map'](_0x423ea8)['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 _0x138861{['_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',_0x126ad6=>{_0x126ad6?this['setAttribute']('active',''):this['removeAttribute']('active');});}['_iconCss'](){return _0x49fa51('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',_0x6ce74=>{this['_iconSingle']=!this['$']['text'],this['_iconHidden']=!_0x6ce74,this['$']['iconCss']=this['_iconCss']();}),this['sub']('theme',_0x2833f5=>{_0x2833f5&&'custom'!==_0x2833f5&&(this['className']='uc-'+_0x2833f5);}),this['sub']('text',()=>{this['_iconSingle']=!0x1;}),this['hasAttribute']('theme')||this['setAttribute']('theme','default'),this['defineAccessor']('aria-role',_0x20daaf=>{this['$']['aria-role']=_0x20daaf||'';}),this['defineAccessor']('aria-controls',_0x23e7b6=>{this['$']['aria-controls']=_0x23e7b6||'';}),this['defineAccessor']('title-prop',_0x1d588c=>{this['$']['title-prop']=_0x1d588c||'';});}set['reverse'](_0x48adf3){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 _0xcd461a=class extends _0x138861{['_active']=!0x1;['_handleTransitionEndRight']=()=>{const _0x5c74ed=this['ref']['line-el'];_0x5c74ed['style']['transition']='initial',_0x5c74ed['style']['opacity']='0',_0x5c74ed['style']['transform']='translateX(-101%)',this['_active']&&this['_start']();};['initCallback'](){super['initCallback'](),this['defineAccessor']('active',_0x254e7d=>{'boolean'==typeof _0x254e7d&&(_0x254e7d?this['_start']():this['_stop']());});}['_start'](){this['_active']=!0x0;const {width:_0x9ba8f4}=this['getBoundingClientRect'](),_0x571d28=this['ref']['line-el'];_0x571d28['style']['transition']='transform\x201s',_0x571d28['style']['opacity']='1',_0x571d28['style']['transform']='translateX('+_0x9ba8f4+'px)',_0x571d28['addEventListener']('transitionend',this['_handleTransitionEndRight'],{'once':!0x0});}['_stop'](){this['_active']=!0x1;}};_0xcd461a['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 _0x3148fe={'transition':'uc-transition','visible':'uc-visible','hidden':'uc-hidden'},_0x5c2f86=class extends _0x138861{['_visible']=!0x1;['_visibleStyle']=_0x3148fe['visible'];['_hiddenStyle']=_0x3148fe['hidden'];['_externalTransitions']=!0x1;constructor(){super(),this['defineAccessor']('styles',_0x11ae28=>{_0x11ae28&&(this['_externalTransitions']=!0x0,this['_visibleStyle']=_0x11ae28['visible']??_0x3148fe['visible'],this['_hiddenStyle']=_0x11ae28['hidden']??_0x3148fe['hidden']);}),this['defineAccessor']('visible',_0x3c40b6=>{'boolean'==typeof _0x3c40b6&&(this['_visible']=_0x3c40b6,this['_handleVisible']());});}['_handleVisible'](){this['style']['visibility']=this['_visible']?'inherit':'hidden',_0x26dbd2(this,{[_0x3148fe['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'](_0x3148fe['transition']),this['_handleVisible'](),setTimeout(()=>{this['classList']['toggle']('uc-initial',!0x1);},0x0);}};_0x5c2f86['template']='<slot></slot>\x20';var _0x49d967=class extends _0x138861{['_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 _0x301392=Number['parseInt'](this['_inputEl']()['value'],0xa);this['_updateValue'](_0x301392),this['$']['onInput']?.(_0x301392);},'on.sliderChange':()=>{const _0x18a869=Number['parseInt'](this['_inputEl']()['value'],0xa);this['$']['onChange']?.(_0x18a869);}},this['setAttribute']('with-effects','');}['initCallback'](){super['initCallback'](),this['defineAccessor']('disabled',_0x35608d=>{this['$']['disabled']=_0x35608d;}),this['defineAccessor']('min',_0x4a6dce=>{this['$']['min']=_0x4a6dce;}),this['defineAccessor']('max',_0x52aefb=>{this['$']['max']=_0x52aefb;}),this['defineAccessor']('defaultValue',_0x51360b=>{this['$']['defaultValue']=_0x51360b,(this['_inputEl']()['value']=String(_0x51360b),this['_updateValue'](_0x51360b));}),this['defineAccessor']('zero',_0x10b832=>{this['_zero']=_0x10b832;}),this['defineAccessor']('onInput',_0x3d1613=>{_0x3d1613&&(this['$']['onInput']=_0x3d1613);}),this['defineAccessor']('onChange',_0x5a5b29=>{_0x5a5b29&&(this['$']['onChange']=_0x5a5b29);}),this['_updateSteps'](),this['_observer']=new ResizeObserver(()=>{this['_updateSteps']();const _0x203bfc=Number['parseInt'](this['_inputEl']()['value'],0xa);this['_updateValue'](_0x203bfc);}),this['_observer']['observe'](this),this['_thumbSize']=Number['parseInt'](window['getComputedStyle'](this)['getPropertyValue']('--l-thumb-size'),0xa),setTimeout(()=>{const _0x299383=Number['parseInt'](this['_inputEl']()['value'],0xa);this['_updateValue'](_0x299383);},0x0),this['sub']('disabled',_0x4c732c=>{const _0x5387c9=this['_inputEl']();_0x4c732c?_0x5387c9['setAttribute']('disabled','disabled'):_0x5387c9['removeAttribute']('disabled');});const _0x2b85bc=this['_inputEl']();_0x2b85bc['addEventListener']('focus',()=>{this['style']['setProperty']('--color-effect','var(--hover-color-rgb)');}),_0x2b85bc['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'](_0x13c284){this['_updateZeroDot'](_0x13c284);const {width:_0x523350}=this['getBoundingClientRect'](),_0x22fa00=0x64/(this['$']['max']-this['$']['min'])*(_0x13c284-this['$']['min'])*(_0x523350-this['_thumbSize'])/0x64;window['requestAnimationFrame'](()=>{this['_thumbEl']()['style']['transform']='translateX('+_0x22fa00+'px)';});}['_updateZeroDot'](_0x292665){if(!this['_zeroDotEl'])return;this['_zeroDotEl']['style']['opacity']=_0x292665===this['_zero']?'0':'1';const {width:_0xdf0e10}=this['getBoundingClientRect'](),_0x4c0128=0x64/(this['$']['max']-this['$']['min'])*(this['_zero']-this['$']['min'])*(_0xdf0e10-this['_thumbSize'])/0x64;window['requestAnimationFrame'](()=>{this['_zeroDotEl']&&(this['_zeroDotEl']['style']['transform']='translateX('+_0x4c0128+'px)');});}['_updateSteps'](){const _0x318a40=this['_stepsEl'](),{width:_0x204a4c}=_0x318a40['getBoundingClientRect'](),_0x28eca6=Math['ceil'](_0x204a4c/0x2),_0x3fb59b=Math['ceil'](_0x28eca6/0xf)-0x2;if(this['_stepsCount']===_0x3fb59b)return;const _0x3e6051=document['createDocumentFragment'](),_0x26b43f=document['createElement']('div'),_0x35beea=document['createElement']('div');_0x26b43f['className']='uc-minor-step',_0x35beea['className']='uc-border-step',_0x3e6051['appendChild'](_0x35beea);for(let _0x119190=0x0;_0x119190<_0x3fb59b;_0x119190+=0x1)_0x3e6051['appendChild'](_0x26b43f['cloneNode']());_0x3e6051['appendChild'](_0x35beea['cloneNode']());for(let _0x10872d=0x0;_0x10872d<_0x3fb59b;_0x10872d+=0x1)_0x3e6051['appendChild'](_0x26b43f['cloneNode']());_0x3e6051['appendChild'](_0x35beea['cloneNode']());const _0x4fce56=document['createElement']('div');_0x4fce56['className']='uc-zero-dot',_0x3e6051['appendChild'](_0x4fce56),this['_zeroDotEl']=_0x4fce56,_0x318a40['innerHTML']='',_0x318a40['appendChild'](_0x3e6051),this['_stepsCount']=_0x3fb59b;}['destroyCallback'](){super['destroyCallback'](),this['_observer']?.['disconnect']();}};_0x49d967['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 _0x3d665e{['couldBeCtxOwner']=!0x0;['activityType']=ActivityBlock['activities']['CLOUD_IMG_EDIT'];['_entry'];['_instance'];get['activityParams'](){const _0x52c6d2=super['activityParams'];if('internalId'in _0x52c6d2)return _0x52c6d2;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',_0x3cb028=>{this['_instance']&&this['_instance']['getAttribute']('crop-preset')!==_0x3cb028&&this['_instance']['setAttribute']('crop-preset',_0x3cb028);}),this['subConfigValue']('cloudImageEditorTabs',_0x3140d4=>{this['_instance']&&this['_instance']['getAttribute']('tabs')!==_0x3140d4&&this['_instance']['setAttribute']('tabs',_0x3140d4);});}['handleApply'](_0x5478f8){if(!this['_entry'])return;const _0x55692e=_0x5478f8['detail'];this['_entry']['setMultipleValues']({'cdnUrl':_0x55692e['cdnUrl'],'cdnUrlModifiers':_0x55692e['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:_0x12a042}=this['activityParams'],_0x10e033=this['uploadCollection']['read'](_0x12a042);if(!_0x10e033)throw new Error('Entry\x20with\x20internalId\x20\x22'+_0x12a042+'\x22\x20not\x20found');this['_entry']=_0x10e033;const _0x3def56=this['_entry']['getValue']('cdnUrl');if(!_0x3def56)throw new Error('Entry\x20with\x20internalId\x20\x22'+_0x12a042+'\x22\x20hasn\x27t\x20uploaded\x20yet');const _0x2c97c4=new CloudImageEditorBlock(),_0x5a6675=this['cfg']['cropPreset'],_0x4fa3df=this['cfg']['cloudImageEditorTabs'];_0x2c97c4['setAttribute']('ctx-name',this['ctxName']),_0x2c97c4['setAttribute']('cdn-url',_0x3def56),_0x5a6675&&_0x2c97c4['setAttribute']('crop-preset',_0x5a6675),_0x4fa3df&&_0x2c97c4['setAttribute']('tabs',_0x4fa3df),_0x2c97c4['addEventListener']('apply',_0x543ac4=>{const _0x30838d=_0x543ac4;this['handleApply'](_0x30838d),this['debugPrint']('editor\x20event\x20\x22apply\x22',_0x30838d['detail']);}),_0x2c97c4['addEventListener']('cancel',_0x2767a9=>{const _0x5a95fb=_0x2767a9;this['handleCancel'](),this['debugPrint']('editor\x20event\x20\x22cancel\x22',_0x5a95fb['detail']);}),_0x2c97c4['addEventListener']('change',_0x1a87b6=>{const _0x4d51f6=_0x1a87b6;this['debugPrint']('editor\x20event\x20\x22change\x22',_0x4d51f6['detail']);}),this['innerHTML']='',this['appendChild'](_0x2c97c4),this['_instance']=_0x2c97c4;}['unmountEditor'](){this['_instance']=void 0x0,this['_entry']=void 0x0,this['innerHTML']='';}},toKebabCase=_0x502d4a=>_0x502d4a['match'](/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g)?.['map'](_0x5bbdbc=>_0x5bbdbc['toLowerCase']())['join']('-'),_0x5d62cb=[{'test':_0x241a0b=>!!_0x241a0b['accept']&&!!_0x241a0b['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':_0x2a38e6=>null!==_0x2a38e6['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':_0x29fba0=>null!==_0x29fba0['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=_0xe9436c(_0x9ae01b=>{for(const {test:_0x4ad4d3,message:_0x599b48}of _0x5d62cb)_0x4ad4d3(_0x9ae01b)&&_0xb3e497(_0x599b48);},0x0),_0x1c1eb9=_0x57ed0e=>_0x57ed0e instanceof Promise||Boolean(_0x57ed0e&&'object'==typeof _0x57ed0e&&'then'in _0x57ed0e&&'function'==typeof _0x57ed0e['then']),defineComputedProperty=_0x2a297b=>_0x2a297b,_0x1fe3a6=[defineComputedProperty({'key':'cameraModes','deps':['enableVideoRecording'],'fn':({cameraModes:_0x427740,enableVideoRecording:_0x5c6990})=>{if(null===_0x5c6990)return _0x427740;let _0x549a89=_0x5ab57c(_0x427740);return _0x5c6990&&!_0x549a89['includes']('video')?_0x549a89=_0x549a89['concat']('video'):_0x5c6990||(_0x549a89=_0x549a89['filter'](_0x84dd31=>'video'!==_0x84dd31)),_0x4d7005(_0x549a89);}}),defineComputedProperty({'key':'cameraModes','deps':['defaultCameraMode'],'fn':({cameraModes:_0x103bb0,defaultCameraMode:_0x501bce})=>{if(null===_0x501bce)return _0x103bb0;let _0x482a28=_0x5ab57c(_0x103bb0);return _0x482a28=_0x482a28['sort']((_0x48e894,_0x1fc27e)=>_0x48e894===_0x501bce?-0x1:_0x1fc27e===_0x501bce?0x1:0x0),_0x4d7005(_0x482a28);}}),defineComputedProperty({'key':'cdnCname','deps':['pubkey','cdnCnamePrefixed'],'fn':({pubkey:_0x29b184,cdnCname:_0x3224a6,cdnCnamePrefixed:_0x1c3724})=>_0x29b184&&(_0x3224a6===_0x4d444e||_0x474771(_0x3224a6,_0x1c3724))?_0x3eaef3(_0x29b184,_0x1c3724):_0x3224a6})],computeProperty=({key:_0x132838,setValue:_0x3e99f3,getValue:_0x13e87a,computationControllers:_0x5f39e1})=>{for(const _0x228cb9 of _0x1fe3a6)if(_0x228cb9['deps']['includes'](_0x132838)){const _0x2ae3c4={[_0x228cb9['key']]:_0x13e87a(_0x228cb9['key'])};for(const _0x22f5de of _0x228cb9['deps'])_0x2ae3c4[_0x22f5de]=_0x13e87a(_0x22f5de);const _0x20231f=new AbortController();let _0x53f5cf;_0x5f39e1['get'](_0x228cb9['key'])?.['abort'](),_0x5f39e1['set'](_0x228cb9['key'],_0x20231f);try{_0x53f5cf=_0x228cb9['fn'](_0x2ae3c4,{'signal':_0x20231f['signal']});}catch(_0x46c7eb){return _0x5f39e1['get'](_0x228cb9['key'])===_0x20231f&&_0x5f39e1['delete'](_0x228cb9['key']),void console['error']('Failed\x20to\x20compute\x20value\x20for\x20\x22'+_0x228cb9['key']+'\x22',_0x46c7eb);}_0x1c1eb9(_0x53f5cf)?_0x53f5cf['then'](_0x5c91ff=>{_0x20231f['signal']['aborted']||_0x3e99f3(_0x228cb9['key'],_0x5c91ff);})['catch'](_0x27e426=>{_0x20231f['signal']['aborted']||console['error']('Failed\x20to\x20compute\x20value\x20for\x20\x22'+_0x228cb9['key']+'\x22',_0x27e426);})['finally'](()=>{_0x5f39e1['get'](_0x228cb9['key'])===_0x20231f&&_0x5f39e1['delete'](_0x228cb9['key']);}):_0x3e99f3(_0x228cb9['key'],_0x53f5cf);}},asString=_0x19d5bd=>String(_0x19d5bd),_0x5a9c92=_0x1026e6=>{const _0x4a783e=Number(_0x1026e6);if(Number['isNaN'](_0x4a783e))throw new Error('Invalid\x20number:\x20\x22'+_0x1026e6+'\x22');return _0x4a783e;},_0x32097f=_0x421917=>{if(null==_0x421917)return!0x1;if('boolean'==typeof _0x421917)return _0x421917;if('true'===_0x421917)return!0x0;if(''===_0x421917)return!0x0;if('false'===_0x421917)return!0x1;throw new Error('Invalid\x20boolean:\x20\x22'+_0x421917+'\x22');},asStore=_0x5f1bf6=>'auto'===_0x5f1bf6?_0x5f1bf6:_0x32097f(_0x5f1bf6),asCameraCapture=_0x498439=>{const _0x31f01a=asString(_0x498439);if('user'!==_0x31f01a&&'environment'!==_0x31f01a&&''!==_0x31f01a)throw new Error('Invalid\x20value:\x20\x22'+_0x31f01a+'\x22');return _0x31f01a;},_0x38e895=_0x19fa5e=>{const _0x34e409=asString(_0x19fa5e);if(!Object['values'](_0xc1c2a2)['includes'](_0x34e409))throw new Error('Invalid\x20value:\x20\x22'+_0x34e409+'\x22');return _0x34e409;},_0x8e5682=_0x55ff7d=>{const _0x5bb320=asString(_0x55ff7d),_0x3bde64=_0x5ab57c(_0x5bb320);if(_0x3bde64['some'](_0x1ccbcc=>!Object['values'](_0xc1c2a2)['includes'](_0x1ccbcc)))throw new Error('Invalid\x20value:\x20\x22'+JSON['stringify'](_0x3bde64)+'\x22');return _0x5bb320;},asMetadata=_0x261386=>{if('object'==typeof _0x261386&&!Array['isArray'](_0x261386))return _0x261386;if('function'==typeof _0x261386)return _0x261386;throw new Error('Invalid\x20metadata\x20value.\x20Must\x20be\x20an\x20object\x20or\x20function.');},asObject=_0xf36433=>{if('object'==typeof _0xf36433)return _0xf36433;throw new Error('Invalid\x20value.\x20Must\x20be\x20an\x20object.');},asFunction=_0x139de7=>{if('function'==typeof _0x139de7)return _0x139de7;throw new Error('Invalid\x20value.\x20Must\x20be\x20a\x20function.');},_0x3cd9a6=_0x28701a=>{if(Array['isArray'](_0x28701a))return _0x28701a;throw new Error('Must\x20be\x20an\x20array.');},_0x1cb69a=_0x2a51a8=>{const _0x431c01=asString(_0x2a51a8);if(['grid','list']['includes'](_0x431c01))return _0x431c01;throw new Error('Invalid\x20value:\x20\x22'+_0x431c01+'\x22');},_0x791b3e={'pubkey':asString,'multiple':_0x32097f,'multipleMin':_0x5a9c92,'multipleMax':_0x5a9c92,'confirmUpload':_0x32097f,'imgOnly':_0x32097f,'accept':asString,'externalSourcesPreferredTypes':asString,'externalSourcesEmbedCss':asString,'store':asStore,'cameraMirror':_0x32097f,'cameraCapture':asCameraCapture,'sourceList':asString,'topLevelOrigin':asString,'maxLocalFileSizeBytes':_0x5a9c92,'thumbSize':_0x5a9c92,'showEmptyList':_0x32097f,'useLocalImageEditor':_0x32097f,'useCloudImageEditor':_0x32097f,'cloudImageEditorTabs':asString,'removeCopyright':_0x32097f,'cropPreset':asString,'imageShrink':asString,'modalScrollLock':_0x32097f,'modalBackdropStrokes':_0x32097f,'sourceListWrap':_0x32097f,'remoteTabSessionKey':asString,'cdnCname':asString,'cdnCnamePrefixed':asString,'baseUrl':asString,'socialBaseUrl':asString,'secureSignature':asString,'secureExpire':asString,'secureDeliveryProxy':asString,'retryThrottledRequestMaxTimes':_0x5a9c92,'retryNetworkErrorMaxTimes':_0x5a9c92,'multipartMinFileSize':_0x5a9c92,'multipartChunkSize':_0x5a9c92,'maxConcurrentRequests':_0x5a9c92,'multipartMaxConcurrentRequests':_0x5a9c92,'multipartMaxAttempts':_0x5a9c92,'checkForUrlDuplicates':_0x32097f,'saveUrlForRecurrentUploads':_0x32097f,'groupOutput':_0x32097f,'userAgentIntegration':asString,'debug':_0x32097f,'localeName':asString,'metadata':asMetadata,'secureUploadsExpireThreshold':_0x5a9c92,'localeDefinitionOverride':_0x335c4c=>asObject(_0x335c4c),'secureUploadsSignatureResolver':_0x14ef3a=>asFunction(_0x14ef3a),'secureDeliveryProxyUrlResolver':_0x21fb52=>asFunction(_0x21fb52),'iconHrefResolver':_0x54c5fa=>asFunction(_0x54c5fa),'fileValidators':_0x3cd9a6,'collectionValidators':_0x3cd9a6,'validationTimeout':_0x5a9c92,'validationConcurrency':_0x5a9c92,'cameraModes':_0x8e5682,'defaultCameraMode':_0x38e895,'enableAudioRecording':_0x32097f,'enableVideoRecording':_0x32097f,'mediaRecorderOptions':asObject,'maxVideoRecordingDuration':_0x5a9c92,'filesViewMode':_0x1cb69a,'gridShowFileNames':_0x32097f,'cloudImageEditorAutoOpen':_0x32097f,'cloudImageEditorMaskHref':asString,'testMode':_0x32097f,'qualityInsights':_0x32097f},_0x1b5197=(_0x422707,_0x194008)=>{if(null!=_0x194008)try{return _0x791b3e[_0x422707](_0x194008);}catch(_0x19b82c){return console['error']('Invalid\x20value\x20for\x20config\x20key\x20\x22'+_0x422707+'\x22.',_0x19b82c),initialConfig[_0x422707];}},_0x4854c1=[...new Set(['debug',...Object['keys'](initialConfig)])],_0x30d1ca=['metadata','localeDefinitionOverride','secureUploadsSignatureResolver','secureDeliveryProxyUrlResolver','iconHrefResolver','fileValidators','collectionValidators','mediaRecorderOptions'],_0x4bb4f4=_0xe6485d=>_0x30d1ca['includes'](_0xe6485d),_0x3e96de=_0x4854c1['filter'](_0x429b0d=>!_0x4bb4f4(_0x429b0d)),attrKeyMapping={...Object['fromEntries'](_0x3e96de['map'](_0x1b8ea2=>[toKebabCase(_0x1b8ea2),_0x1b8ea2])),...Object['fromEntries'](_0x3e96de['map'](_0x446c7e=>[_0x446c7e['toLowerCase'](),_0x446c7e]))},attrStateMapping={...Object['fromEntries'](_0x3e96de['map'](_0x2f85fa=>[toKebabCase(_0x2f85fa),_0x56012f(_0x2f85fa)])),...Object['fromEntries'](_0x3e96de['map'](_0xd2978c=>[_0xd2978c['toLowerCase'](),_0x56012f(_0xd2978c)]))},getLocalPropName=_0x343e1d=>'__'+_0x343e1d,_0x18d252=class extends _0x138861{['requireCtxName']=!0x0;constructor(){super(),this['init$']={...this['init$'],...Object['fromEntries'](Object['entries'](initialConfig)['map'](([_0x284712,_0x3f78c9])=>[_0x56012f(_0x284712),_0x3f78c9])),'computationControllers':new Map()};}['_flushValueToAttribute'](_0x2401bc,_0x4a0248){if(!_0x4bb4f4(_0x2401bc)){const _0x11aa8e=[...new Set([toKebabCase(_0x2401bc),_0x2401bc['toLowerCase']()])];for(const _0x218c87 of _0x11aa8e)null==_0x4a0248?this['removeAttribute'](_0x218c87):this['getAttribute'](_0x218c87)!==_0x4a0248['toString']()&&this['setAttribute'](_0x218c87,_0x4a0248['toString']());}}['_flushValueToState'](_0x443c5c,_0x3c401d){this['$'][_0x56012f(_0x443c5c)]!==_0x3c401d&&(this['$'][_0x56012f(_0x443c5c)]=null==_0x3c401d?initialConfig[_0x443c5c]:_0x3c401d);}['_setValue'](_0x4463bd,_0x4fc29f){const _0x399127=this,_0x205334=_0x1b5197(_0x4463bd,_0x4fc29f),_0x3cce6f=getLocalPropName(_0x4463bd);_0x399127[_0x3cce6f]!==_0x205334&&(this['_assertSameValueDifferentReference'](_0x4463bd,_0x399127[_0x3cce6f],_0x205334),_0x399127[_0x3cce6f]=_0x205334,this['_flushValueToAttribute'](_0x4463bd,_0x205334),this['_flushValueToState'](_0x4463bd,_0x205334),this['debugPrint']('[uc-config]\x20\x22'+_0x4463bd+'\x22',_0x205334),runAssertions(this['cfg']));}['_getValue'](_0x2120fd){return this[getLocalPropName(_0x2120fd)]??this['$'][_0x56012f(_0x2120fd)];}['_assertSameValueDifferentReference'](_0x3b64a4,_0x16df6c,_0x4d77d4){this['cfg']['debug']&&_0x4d77d4!==_0x16df6c&&'object'==typeof _0x4d77d4&&'object'==typeof _0x16df6c&&JSON['stringify'](_0x4d77d4)===JSON['stringify'](_0x16df6c)&&(console['warn']('[uc-config]\x20Option\x20\x22'+_0x3b64a4+'\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'+_0x3b64a4+'\x22\x20previous\x20value:',_0x16df6c),console['warn']('[uc-config]\x20\x22'+_0x3b64a4+'\x22\x20new\x20value:',_0x4d77d4));}['initCallback'](){super['initCallback']();const _0x4e0238=this;for(const _0x4a1e51 of _0x3e96de)this['sub'](_0x56012f(_0x4a1e51),_0x26acf8=>{this['_setValue'](_0x4a1e51,_0x26acf8);},!0x1);for(const _0x3148fd of _0x4854c1){const _0x32e3e6=_0x4e0238[_0x3148fd]??this['$'][_0x56012f(_0x3148fd)];_0x32e3e6!==initialConfig[_0x3148fd]&&this['_setValue'](_0x3148fd,_0x32e3e6),Object['defineProperty'](this,_0x3148fd,{'set':_0x220866=>{this['_setValue'](_0x3148fd,_0x220866);},'get':()=>this['_getValue'](_0x3148fd)});}for(const _0x41309d of _0x4854c1)this['sub'](_0x56012f(_0x41309d),()=>{computeProperty({'key':_0x41309d,'setValue':this['_setValue']['bind'](this),'getValue':this['_getValue']['bind'](this),'computationControllers':this['computationControllers']});});}['attributeChangedCallback'](_0x23c49a,_0x56fa37,_0x15c9d1){if(_0x56fa37===_0x15c9d1)return;const _0x59cf17=this,_0x130135=attrKeyMapping[_0x23c49a];_0x130135&&(_0x59cf17[_0x130135]=_0x15c9d1);}get['computationControllers'](){return this['$']['computationControllers'];}};_0x18d252['bindAttributes'](attrStateMapping);for(const _0x2e6b48 of _0x4854c1)_0x18d252['prototype'][_0x2e6b48]=void 0x0;var Copyright=class extends _0x138861{['initCallback'](){super['initCallback'](),this['subConfigValue']('removeCopyright',_0x101348=>{this['toggleAttribute']('hidden',!!_0x101348);});}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(_0x45a9cb){return new Promise(_0x19d9e1=>{'function'!=typeof window['FileReader']&&_0x19d9e1(!0x1);try{const _0x1875ea=new FileReader();_0x1875ea['onerror']=()=>{_0x19d9e1(!0x0);};const _0x4bede9=_0x1ec5c0=>{'loadend'!==_0x1ec5c0['type']&&_0x1875ea['abort'](),_0x19d9e1(!0x1);};_0x1875ea['onloadend']=_0x4bede9,_0x1875ea['onprogress']=_0x4bede9,_0x1875ea['readAsDataURL'](_0x45a9cb);}catch{_0x19d9e1(!0x1);}});}function readEntryContentAsync(_0x1c74ba,_0x45a239){return new Promise(_0x8dd05=>{let _0x5558a2=0x0;const _0x1d4028=[],_0x1688ff=_0x2070d3=>{if(!_0x2070d3)return console['warn']('Unexpectedly\x20received\x20empty\x20content\x20entry',{'scope':'drag-and-drop'}),void _0x8dd05(null);_0x2070d3['isFile']?(_0x5558a2++,_0x2070d3['file'](_0x46f502=>{_0x5558a2--;const _0x191328=new File([_0x46f502],_0x46f502['name'],{'type':_0x46f502['type']||_0x45a239});_0x1d4028['push']({'type':'file','file':_0x191328,'fullPath':_0x2070d3['fullPath']}),0x0===_0x5558a2&&_0x8dd05(_0x1d4028);})):_0x2070d3['isDirectory']&&_0x152e97(_0x2070d3['createReader']());},_0x152e97=_0x2a55bc=>{_0x5558a2++,_0x2a55bc['readEntries'](_0x458b34=>{_0x5558a2--;for(const _0x54a40 of _0x458b34)_0x1688ff(_0x54a40);0x0===_0x5558a2&&_0x8dd05(_0x1d4028);});};_0x1688ff(_0x1c74ba);});}function getDropItems(_0xd38653){const _0x15cf0a=[],_0x5be0bd=[];for(let _0x45b08b=0x0;_0x45b08b<_0xd38653['items']['length'];_0x45b08b++){const _0x4d8fa9=_0xd38653['items'][_0x45b08b];if(_0x4d8fa9){if('file'===_0x4d8fa9['kind']){const _0x14e276=_0x4d8fa9['type'],_0x305e98=_0x4d8fa9;if('function'==typeof _0x305e98['webkitGetAsEntry']||'function'==typeof _0x305e98['getAsEntry']){const _0x2f4140='function'==typeof _0x305e98['webkitGetAsEntry']?_0x305e98['webkitGetAsEntry']():_0x305e98['getAsEntry']?.();_0x2f4140&&_0x5be0bd['push'](readEntryContentAsync(_0x2f4140,_0x14e276)['then'](_0x49986d=>{_0x49986d&&_0x15cf0a['push'](..._0x49986d);}));continue;}const _0x15141d=_0x4d8fa9['getAsFile']();_0x15141d&&_0x5be0bd['push'](checkIsDirectory(_0x15141d)['then'](_0x43ac15=>{_0x43ac15||_0x15cf0a['push']({'type':'file','file':_0x15141d});}));}else'string'===_0x4d8fa9['kind']&&/^text\/uri-list/['test'](_0x4d8fa9['type'])&&_0x5be0bd['push'](new Promise(_0x376eba=>{_0x4d8fa9['getAsString'](_0x3ca978=>{_0x15cf0a['push']({'type':'url','url':_0x3ca978}),_0x376eba();});}));}}return Promise['all'](_0x5be0bd)['then'](()=>_0x15cf0a);}var DropzoneState=Object['freeze']({'ACTIVE':0x0,'INACTIVE':0x1,'NEAR':0x2,'OVER':0x3}),_0x5aab51=['focus'],_0x5c544d=0x64,nearnessRegistry=new Map();function distance(_0x49b5fb,_0x3b3021){const _0x32a2b7=Math['max'](Math['min'](_0x49b5fb[0x0],_0x3b3021['x']+_0x3b3021['width']),_0x3b3021['x']),_0x30a9e7=Math['max'](Math['min'](_0x49b5fb[0x1],_0x3b3021['y']+_0x3b3021['height']),_0x3b3021['y']);return Math['sqrt']((_0x49b5fb[0x0]-_0x32a2b7)*(_0x49b5fb[0x0]-_0x32a2b7)+(_0x49b5fb[0x1]-_0x30a9e7)*(_0x49b5fb[0x1]-_0x30a9e7));}function _0x44ccb8(_0x2442ef){let _0x2421d0=0x0;const _0x4d47a9=document['body'],_0x2549ee=new Set();let _0x3fed33=DropzoneState['INACTIVE'];const _0x2d6b72=_0x54d7e8=>{_0x2442ef['shouldIgnore']()&&_0x54d7e8!==DropzoneState['INACTIVE']||(_0x3fed33!==_0x54d7e8&&_0x2549ee['forEach'](_0x5a0d65=>{_0x5a0d65(_0x54d7e8);}),_0x3fed33=_0x54d7e8);},_0x4efeb3=()=>_0x2421d0>0x0;var _0x54e618;_0x54e618=_0x47926e=>_0x2442ef['onChange'](_0x47926e),_0x2549ee['add'](_0x54e618);const _0x3280a6=()=>{_0x2421d0=0x0,_0x2d6b72(DropzoneState['INACTIVE']);},_0x2f90af=()=>{_0x2421d0+=0x1,_0x3fed33===DropzoneState['INACTIVE']&&_0x2d6b72(DropzoneState['ACTIVE']);},_0x15a081=()=>{_0x2421d0-=0x1,_0x4efeb3()||_0x2d6b72(DropzoneState['INACTIVE']);},_0x4eda5b=_0xf6250a=>{_0xf6250a['preventDefault'](),_0x2421d0=0x0,_0x2d6b72(DropzoneState['INACTIVE']);},_0x4b6c52=_0x28169a=>{if(_0x2442ef['shouldIgnore']())return;_0x4efeb3()||(_0x2421d0+=0x1);const _0xcf1737=[_0x28169a['x'],_0x28169a['y']],_0x18dc92=_0x2442ef['element']['getBoundingClientRect'](),_0x3bfb3f=Math['floor'](distance(_0xcf1737,_0x18dc92)),_0x5d8118=_0x3bfb3f<_0x5c544d,_0x4f0ca1=_0x28169a['composedPath']()['includes'](_0x2442ef['element']);nearnessRegistry['set'](_0x2442ef['element'],_0x3bfb3f);const _0x485ff3=Math['min'](...nearnessRegistry['values']())===_0x3bfb3f;_0x4f0ca1&&_0x485ff3?(_0x28169a['preventDefault'](),_0x2d6b72(DropzoneState['OVER'])):_0x2d6b72(_0x5d8118&&_0x485ff3?DropzoneState['NEAR']:DropzoneState['ACTIVE']);},_0x37a5db=async _0x5f0db9=>{if(_0x2442ef['shouldIgnore']())return;_0x5f0db9['preventDefault']();const {dataTransfer:_0x45ca61}=_0x5f0db9;if(!_0x45ca61)return;const _0x4945b4=await getDropItems(_0x45ca61);_0x2442ef['onItems'](_0x4945b4),_0x2d6b72(DropzoneState['INACTIVE']);};return _0x4d47a9['addEventListener']('drop',_0x4eda5b),_0x4d47a9['addEventListener']('dragleave',_0x15a081),_0x4d47a9['addEventListener']('dragenter',_0x2f90af),_0x4d47a9['addEventListener']('dragover',_0x4b6c52),_0x2442ef['element']['addEventListener']('drop',_0x37a5db),_0x5aab51['forEach'](_0x786382=>{window['addEventListener'](_0x786382,_0x3280a6);}),()=>{nearnessRegistry['delete'](_0x2442ef['element']),_0x4d47a9['removeEventListener']('drop',_0x4eda5b),_0x4d47a9['removeEventListener']('dragleave',_0x15a081),_0x4d47a9['removeEventListener']('dragenter',_0x2f90af),_0x4d47a9['removeEventListener']('dragover',_0x4b6c52),_0x2442ef['element']['removeEventListener']('drop',_0x37a5db),_0x5aab51['forEach'](_0xc905f6=>{window['removeEventListener'](_0xc905f6,_0x3280a6);});};}var _0x5c658f='uc-drop-area',_0x1cc8f7=_0x5c658f+'/registry',_0x44a191=class extends _0x3d665e{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':'',[_0x1cc8f7]:new Set()};}['isActive'](){if(!this['$']['isEnabled'])return!0x1;const _0x1c36c8=this['getBoundingClientRect'](),_0x57adab=_0x1c36c8['width']>0x0&&_0x1c36c8['height']>0x0,_0x262f43=_0x1c36c8['top']>=0x0&&_0x1c36c8['left']>=0x0&&_0x1c36c8['bottom']<=(window['innerHeight']||document['documentElement']['clientHeight'])&&_0x1c36c8['right']<=(window['innerWidth']||document['documentElement']['clientWidth']),_0x3332d1=window['getComputedStyle'](this),_0x3d2a58='hidden'!==_0x3332d1['visibility']&&'none'!==_0x3332d1['display'];return _0x57adab&&_0x3d2a58&&_0x262f43;}['initCallback'](){super['initCallback'](),this['bindL10n']('text',()=>this['l10n']('drop-files-here')),(this['$'][_0x1cc8f7]['add'](this),this['defineAccessor']('disabled',_0x1c7e79=>{this['set$']({'isEnabled':!_0x32097f(_0x1c7e79)});}),this['defineAccessor']('clickable',_0x31e011=>{this['set$']({'isClickable':_0x32097f(_0x31e011)});}),this['defineAccessor']('initflow',_0x425bf8=>{this['set$']({'isInitFlow':_0x32097f(_0x425bf8)});}),this['defineAccessor']('with-icon',_0x5bb73e=>{this['set$']({'withIcon':_0x32097f(_0x5bb73e)});}),this['defineAccessor']('fullscreen',_0x3cdcb6=>{this['set$']({'isFullscreen':_0x32097f(_0x3cdcb6)});}),this['defineAccessor']('text',_0x44b813=>{'string'==typeof _0x44b813?this['bindL10n']('text',()=>this['l10n'](_0x44b813)||_0x44b813):this['bindL10n']('text',()=>this['l10n']('drop-files-here'));}),this['_destroyDropzone']=_0x44ccb8({'element':this,'shouldIgnore':()=>this['_shouldIgnore'](),'onChange':_0x24a305=>{this['$']['state']=_0x24a305;},'onItems':_0x5ad6a5=>{_0x5ad6a5['length']&&(_0x5ad6a5['forEach'](_0x58ba7a=>{'url'===_0x58ba7a['type']?this['api']['addFileFromUrl'](_0x58ba7a['url'],{'source':_0x105a8a['DROP_AREA']}):'file'===_0x58ba7a['type']&&this['api']['addFileFromObject'](_0x58ba7a['file'],{'source':_0x105a8a['DROP_AREA'],'fullPath':_0x58ba7a['fullPath']});}),this['uploadCollection']['size']&&(this['modalManager']?.['open'](ActivityBlock['activities']['UPLOAD_LIST']),this['set$']({'*currentActivity':ActivityBlock['activities']['UPLOAD_LIST']})));}}));const _0x5384ea=this['ref']['content-wrapper'];if(_0x5384ea&&(this['_destroyContentWrapperDropzone']=_0x44ccb8({'element':_0x5384ea,'onChange':_0x2e12c0=>{const _0xe433f0=Object['entries'](DropzoneState)['find'](([,_0x4ae9f4])=>_0x4ae9f4===_0x2e12c0)?.[0x0]['toLowerCase']();_0xe433f0&&_0x5384ea['setAttribute']('drag-state',_0xe433f0);},'onItems':()=>{},'shouldIgnore':()=>this['_shouldIgnore']()})),this['sub']('state',_0x89241f=>{const _0x59a6dc=Object['entries'](DropzoneState)['find'](([,_0xa3dd3])=>_0xa3dd3===_0x89241f)?.[0x0]['toLowerCase']();_0x59a6dc&&this['setAttribute']('drag-state',_0x59a6dc);}),this['subConfigValue']('sourceList',_0x3a651e=>{const _0x207f48=stringToArray(_0x3a651e);this['$']['isEnabled']=_0x207f48['includes'](_0x105a8a['LOCAL']),this['$']['isVisible']=this['$']['isEnabled']||!this['querySelector']('[data-default-slot]');}),this['sub']('isVisible',_0x2d2ded=>{this['toggleAttribute']('hidden',!_0x2d2ded);}),this['sub']('isClickable',_0x2293e7=>{this['toggleAttribute']('clickable',_0x2293e7);}),this['$']['isClickable']){const _0x283f02=_0x3b47c4=>{if(_0x3b47c4 instanceof KeyboardEvent){if('Space'===_0x3b47c4['code']||'Enter'===_0x3b47c4['code']){if(this['$']['isInitFlow'])return void this['api']['initFlow']();this['api']['openSystemDialog']();}}else{if(_0x3b47c4 instanceof MouseEvent){if(this['$']['isInitFlow'])return void this['api']['initFlow']();this['api']['openSystemDialog']();}}};this['_onAreaClicked']=_0x283f02,this['addEventListener']('keydown',_0x283f02),this['addEventListener']('click',_0x283f02);}}['_shouldIgnore'](){if(!this['$']['isEnabled'])return!0x0;if(!this['_couldHandleFiles']())return!0x0;if(!this['$']['isFullscreen'])return!0x1;const _0x8f30ac=this['$'][_0x1cc8f7];if(0x0===_0x8f30ac['size'])return!0x1;return[..._0x8f30ac]['filter'](_0x218c5e=>_0x218c5e!==this)['filter'](_0x40bf5e=>_0x40bf5e['isActive']())['length']>0x0;}['_couldHandleFiles'](){const _0x3d105a=this['cfg']['multiple'],_0x24ce0f=this['cfg']['multipleMax'],_0x5ede4c=this['uploadCollection']['size'];return!(_0x3d105a&&_0x24ce0f&&_0x5ede4c>=_0x24ce0f)&&!(!_0x3d105a&&_0x5ede4c>0x0);}['destroyCallback'](){super['destroyCallback']();const _0x1eec18=this['$'][_0x1cc8f7];_0x1eec18['delete'](this),0x0===_0x1eec18['size']&&Data['deleteCtx'](_0x5c658f),this['_destroyDropzone']?.(),this['_destroyContentWrapperDropzone']?.(),this['_onAreaClicked']&&(this['removeEventListener']('keydown',this['_onAreaClicked']),this['removeEventListener']('click',this['_onAreaClicked']),this['_onAreaClicked']=null);}};_0x44a191['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',_0x44a191['bindAttributes']({'with-icon':null,'clickable':null,'text':null,'fullscreen':null,'disabled':null,'initflow':null});var getTopLevelOrigin=()=>{const _0x4f4e0d=globalThis['top']??globalThis['parent']??globalThis['self'];try{return _0x4f4e0d['location']['origin'];}catch(_0x2110b5){return console['warn']('Unable\x20to\x20access\x20top-level\x20window\x20location:',_0x2110b5),globalThis['location']['origin'];}},_0x4a4539=_0x53240a=>_0x53240a['replace'](/[\\-\\[]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,'\x5c$&'),_0x5e9e65=(_0x5da4e6,_0x5a6c75='i')=>{const _0x1dc832=_0x5da4e6['split']('*')['map'](_0x4a4539);return new RegExp('^'+_0x1dc832['join']('.+')+'$',_0x5a6c75);},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=(_0x39c7d9,_0x304a2f)=>window['getComputedStyle'](_0x39c7d9)['getPropertyValue'](_0x304a2f)['trim'](),buildThemeDefinition=_0x11a2e2=>{const _0x1321b3={};for(const _0x2ac9a8 of ucCustomProperties){const _0x2b98a7=getCssValue(_0x11a2e2,_0x2ac9a8);_0x2b98a7&&(_0x1321b3[_0x2ac9a8]=_0x2b98a7);}return _0x1321b3;},_0x5d0593=['selected-files-change','toolbar-state-change'],isWhitelistedMessage=_0x4bb9e2=>{if(!_0x4bb9e2)return!0x1;if('object'!=typeof _0x4bb9e2)return!0x1;if(!('type'in _0x4bb9e2))return!0x1;const _0x3d027d=_0x4bb9e2['type'];return'string'==typeof _0x3d027d&&!!_0x5d0593['includes'](_0x3d027d);},_0x1ff3df=class{['_handlerMap']=new Map();['_context'];['_getTargetOrigin'];constructor(_0x46c9fe,_0x47aa10){this['_context']=_0x46c9fe,this['_getTargetOrigin']=_0x47aa10,window['addEventListener']('message',this['_handleMessage']);}['_handleMessage']=_0x5c1bda=>{if(_0x5c1bda['source']!==this['_context'])return;const _0x404258=_0x5c1bda['data'];if(!isWhitelistedMessage(_0x404258))return;const _0x3e8a43=this['_handlerMap']['get'](_0x404258['type']);if(_0x3e8a43){for(const _0x5a14a0 of _0x3e8a43)_0x5a14a0(_0x404258);}};['on'](_0x36ca51,_0x2614bf){const _0x47f612=this['_handlerMap']['get'](_0x36ca51)??new Set();this['_handlerMap']['has'](_0x36ca51)||this['_handlerMap']['set'](_0x36ca51,_0x47f612),_0x47f612['add'](_0x2614bf);}['send'](_0x5c98f1){const _0x584377=this['_getTargetOrigin']();this['_context']['postMessage'](_0x5c98f1,_0x584377);}['destroy'](){window['removeEventListener']('message',this['_handleMessage']);}};function queryString(_0xd76700){const _0x2891e5=[];for(const [_0x4fa326,_0x33679d]of Object['entries'](_0xd76700))null==_0x33679d||'string'==typeof _0x33679d&&0x0===_0x33679d['length']||_0x2891e5['push'](_0x4fa326+'='+encodeURIComponent(_0x33679d));return _0x2891e5['join']('&');}var _0x457bf={[ExternalUploadSource['GDRIVE']]:'ngdrive'},ExternalSource=class extends _0x3d665e{['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 _0x54930b of this['$']['selectedList']){const _0x2b343a=this['extractUrlFromSelectedFile'](_0x54930b),{filename:_0x13667e}=_0x54930b,{externalSourceType:_0x32e20b}=this['activityParams'];this['api']['addFileFromUrl'](_0x2b343a,{'fileName':_0x13667e,'source':_0x32e20b});}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 _0x3ec7df=super['activityParams'];if('externalSourceType'in _0x3ec7df)return _0x3ec7df;throw new Error('External\x20Source\x20activity\x20params\x20not\x20found');}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType'],{'onActivate':()=>{const {externalSourceType:_0x4ad51a}=this['activityParams'];if(!_0x4ad51a)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':''+_0x4ad51a[0x0]?.['toUpperCase']()+_0x4ad51a?.['slice'](0x1),'activityIcon':_0x4ad51a}),this['mountIframe']();}}),this['sub']('*currentActivityParams',_0x20dabe=>{this['isActivityActive']&&(this['unmountIframe'](),this['mountIframe']());}),this['sub']('*currentActivity',_0x48410e=>{_0x48410e!==this['activityType']&&this['unmountIframe']();}),this['subConfigValue']('multiple',_0x503ca0=>{this['$']['showSelectionStatus']=_0x503ca0;}),this['subConfigValue']('localeName',_0x5df9ea=>{this['setupL10n']();}),this['subConfigValue']('externalSourcesEmbedCss',_0x54ca5d=>{this['applyEmbedCss'](_0x54ca5d);});}['extractUrlFromSelectedFile'](_0x1fd95c){if(_0x1fd95c['alternatives']){const _0xc4affd=stringToArray(this['cfg']['externalSourcesPreferredTypes']);for(const _0x4619a7 of _0xc4affd){const _0x3ee53a=_0x5e9e65(_0x4619a7);for(const [_0x500469,_0x5cb84b]of Object['entries'](_0x1fd95c['alternatives']))if(_0x3ee53a['test'](_0x500469))return _0x5cb84b;}}return _0x1fd95c['url'];}['handleToolbarStateChange'](_0x1eb75d){this['set$']({'toolbarVisible':_0x1eb75d['isVisible']});}async['handleSelectedFilesChange'](_0x44b407){this['cfg']['multiple']===_0x44b407['isMultipleMode']?(this['bindL10n']('counterText',()=>this['l10n']('selected-count',{'count':_0x44b407['selectedCount'],'total':_0x44b407['total']})),this['set$']({'doneBtnTextClass':_0x44b407['isReady']?'':'uc-hidden','isSelectionReady':_0x44b407['isReady'],'isDoneBtnEnabled':_0x44b407['isReady']&&_0x44b407['selectedFiles']['length']>0x0,'showSelectionStatus':_0x44b407['isMultipleMode']&&_0x44b407['total']>0x0,'couldSelectAll':_0x44b407['selectedCount']<_0x44b407['total'],'couldDeselectAll':_0x44b407['selectedCount']===_0x44b407['total'],'selectedList':_0x44b407['selectedFiles'],'showDoneBtn':_0x44b407['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'](_0x22f472){this['_messageBridge']?.['send']({'type':'set-embed-css','css':_0x22f472});}['setupL10n'](){this['_messageBridge']?.['send']({'type':'set-locale-definition','localeDefinition':this['cfg']['localeName']});}['remoteUrl'](){const {pubkey:_0x35c6cb,remoteTabSessionKey:_0x541f86,socialBaseUrl:_0x257409,multiple:_0x19918a}=this['cfg'],{externalSourceType:_0x3f5c88}=this['activityParams'],_0x4c9a56=_0x457bf[_0x3f5c88]??_0x3f5c88,_0x12bc4a={'lang':this['l10n']('social-source-lang')?.['split']('-')?.[0x0]||'en','public_key':_0x35c6cb,'images_only':(!0x1)['toString'](),'session_key':_0x541f86,'wait_for_theme':!0x0,'multiple':_0x19918a['toString'](),'origin':this['cfg']['topLevelOrigin']||getTopLevelOrigin(),'debug':this['cfg']['debug']},_0x4f1a90=new URL('/window4/'+_0x4c9a56,_0x257409);return _0x4f1a90['search']=queryString(_0x12bc4a),_0x4f1a90['toString']();}['mountIframe'](){const _0x3c3c85=create({'tag':'iframe','attributes':{'src':this['remoteUrl'](),'marginheight':0x0,'marginwidth':0x0,'frameborder':0x0,'allowTransparency':!0x0}});_0x3c3c85['addEventListener']('load',this['handleIframeLoad']['bind'](this)),this['ref']['iframeWrapper']['innerHTML']='',this['ref']['iframeWrapper']['appendChild'](_0x3c3c85),_0x3c3c85['contentWindow']&&(this['_messageBridge']?.['destroy'](),this['_messageBridge']=new _0x1ff3df(_0x3c3c85['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 _0x4a96e1=0x4000,_0x333832=/^([0-9]+)x([0-9]+)(?:\s+(\d{1,2}|100)%)?$/i,_0x6cb1ac=_0x3bff08=>{if('string'!=typeof _0x3bff08)return!0x1;const _0x4861f7=_0x333832['exec'](_0x3bff08['toLocaleLowerCase']())??[];if(0x0===_0x4861f7['length'])return!0x1;const _0x15c292=Number(_0x4861f7[0x1])*Number(_0x4861f7[0x2]),_0x88e0ae=_0x4a96e1*_0x4a96e1;return _0x15c292>_0x88e0ae?(console['warn']('Shrinked\x20size\x20can\x20not\x20be\x20larger\x20than\x20'+Math['floor'](_0x88e0ae/0x3e8/0x3e8)+'MP.\x20You\x20have\x20set\x20'+_0x4861f7[0x1]+'x'+_0x4861f7[0x2]+'\x20('+Math['ceil'](_0x15c292/0x3e8/0x64)/0xa+'MP).'),!0x1):{'quality':_0x4861f7[0x3]?Number(_0x4861f7[0x3])/0x64:void 0x0,'size':_0x15c292};},FileItemConfig=class extends _0x3d665e{['_entrySubs']=new Set();['_entry']=null;['_withEntry'](_0x496f43){return(..._0x4aed52)=>{const _0x543a4c=this['_entry'];if(_0x543a4c)return _0x496f43(_0x543a4c,..._0x4aed52);console['warn']('No\x20entry\x20found');};}['_subEntry'](_0x3d6e29,_0x11bedf){this['_withEntry']((_0x20a433,_0x43d9ab,_0x5c82b2)=>{const _0x187755=_0x20a433['subscribe'](_0x43d9ab,_0x3a94cd=>{this['isConnected']&&_0x5c82b2(_0x3a94cd);});this['_entrySubs']['add'](_0x187755);})(_0x3d6e29,_0x11bedf);}['_reset'](){for(const _0x193715 of this['_entrySubs'])_0x193715['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 _0x5a9160 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'](_0x4ba233=>{this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'edit-file','node':this['tagName']}}}),this['$']['*currentActivityParams']={'internalId':_0x4ba233['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']=_0xe9436c(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'](_0x354265){const [_0x3213c0]=_0x354265;_0x3213c0&&(this['_isIntersecting']=_0x3213c0['isIntersecting'],this['_thumbRect']=_0x3213c0['boundingClientRect'],_0x3213c0['isIntersecting']&&!this['_renderedOnce']&&(this['render'](),this['_renderedOnce']=!0x0));}['_handleEntryId'](_0x26326b){this['_reset']();const _0x3b5a3=this['uploadCollection']?.['read'](_0x26326b);this['_entry']=_0x3b5a3,_0x3b5a3&&(this['_subEntry']('isQueuedForValidation',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('isValidationPending',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('uploadProgress',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('isQueuedForUploading',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('fileName',_0x3f75d1=>{this['$']['itemName']=_0x3f75d1||_0x3b5a3['getValue']('externalUrl')||this['l10n']('file-no-name'),this['_debouncedCalculateState']();}),this['_subEntry']('externalUrl',_0x2bfad8=>{this['$']['itemName']=_0x3b5a3['getValue']('fileName')||_0x2bfad8||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'](_0x5e0fff){'list'===this['cfg']['filesViewMode']?this['$']['showFileNames']=!0x0:this['$']['showFileNames']=_0x5e0fff;}['initCallback'](){super['initCallback'](),this['sub']('uid',_0x2fc6d6=>{this['_handleEntryId'](_0x2fc6d6);}),this['sub']('state',_0x30f6dd=>{this['_handleState'](_0x30f6dd);}),this['subConfigValue']('useCloudImageEditor',()=>this['_debouncedCalculateState']()),this['subConfigValue']('filesViewMode',_0x371a4d=>{this['_updateShowFileNames'](this['cfg']['gridShowFileNames']),this['setAttribute']('mode',_0x371a4d);}),this['subConfigValue']('gridShowFileNames',_0x20c64c=>{this['_updateShowFileNames'](_0x20c64c);}),this['onclick']=()=>{_0x5a9160['activeInstances']['forEach'](_0x2e642a=>{_0x2e642a===this?_0x2e642a['setAttribute']('focused',''):_0x2e642a['removeAttribute']('focused');});},this['sub']('*uploadTrigger',_0x5b28a0=>{this['_entry']&&!_0x5b28a0['has'](this['_entry']['uid'])||setTimeout(()=>this['isConnected']&&this['upload']());}),_0x5a9160['activeInstances']['add'](this);}['destroyCallback'](){super['destroyCallback'](),_0x5a9160['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 _0x6cb1ac(this['cfg']['imageShrink']);}async['_processShrink'](_0x2a7daf){const _0x18d39f=this['_settingsOfShrink']();return _0x18d39f?await _0x2ca5d0(_0x2a7daf,_0x18d39f):(console['warn']('Image\x20shrink\x20settings\x20are\x20invalid,\x20skipping\x20shrinking'),_0x2a7daf);}['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),_0x1ba67e(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 _0x367e10&&i['isCancel']?e['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0}):i instanceof _0x40d028?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 _0x3d665e{['requireCtxName']=!0x0;['_validationInputElement']=null;['_dynamicInputsContainer']=null;['_createValidationInput'](){const _0x1003f7=document['createElement']('input');return _0x1003f7['type']='text',_0x1003f7['name']=this['ctxName'],_0x1003f7['required']=this['cfg']['multipleMin']>0x0,_0x1003f7['tabIndex']=-0x1,applyStyles(_0x1003f7,{'opacity':0x0,'height':0x0,'width':0x0}),_0x1003f7;}['initCallback'](){super['initCallback'](),this['_validationInputElement']=this['_createValidationInput'](),this['appendChild'](this['_validationInputElement']),this['sub']('*collectionState',_0x5d28f3=>{{if(!this['_dynamicInputsContainer']){const _0x584ae8=document['createElement']('div');this['appendChild'](_0x584ae8),this['_dynamicInputsContainer']=_0x584ae8;}if(!this['_validationInputElement']){const _0x6269ff=this['_createValidationInput']();this['appendChild'](_0x6269ff),this['_validationInputElement']=_0x6269ff;}if(this['_dynamicInputsContainer']['innerHTML']='','uploading'===_0x5d28f3['status']||'idle'===_0x5d28f3['status'])return this['_validationInputElement']['value']='',void this['_validationInputElement']['setCustomValidity']('');if('failed'===_0x5d28f3['status']){const _0xadee9c=_0x5d28f3['errors'][0x0]?.['message'];return this['_validationInputElement']['value']='',void this['_validationInputElement']['setCustomValidity'](_0xadee9c??'');}const _0x4b5f3f=_0x5d28f3['group']?_0x5d28f3['group']:null;if(_0x4b5f3f)return this['_validationInputElement']['value']=_0x4b5f3f['cdnUrl']??'',void this['_validationInputElement']['setCustomValidity']('');const _0x115ce5=_0x5d28f3['allEntries']['map'](_0x20deb7=>_0x20deb7['cdnUrl'])['filter'](_0x516c2f=>'string'==typeof _0x516c2f);if(!this['cfg']['multiple']&&0x1===_0x115ce5['length']&&_0x115ce5[0x0])return this['_validationInputElement']['value']=_0x115ce5[0x0],void this['_validationInputElement']['setCustomValidity']('');this['_validationInputElement']['remove'](),this['_validationInputElement']=null;const _0x59d5fc=new DocumentFragment();for(const _0xb06db9 of _0x115ce5){const _0x5b88a3=document['createElement']('input');_0x5b88a3['type']='hidden',_0x5b88a3['name']=this['ctxName']+'[]',_0x5b88a3['value']=_0xb06db9,_0x59d5fc['appendChild'](_0x5b88a3);}this['_dynamicInputsContainer']['replaceChildren'](_0x59d5fc);}},!0x1);}},_0x370b7e=class extends _0x138861{constructor(){super(),this['init$']={...this['init$'],'name':'','href':''};}['initCallback'](){super['initCallback'](),this['sub']('name',_0x557032=>{if(!_0x557032)return;let _0xd0f94f='#uc-icon-'+_0x557032;this['subConfigValue']('iconHrefResolver',_0x23148c=>{if(_0x23148c){const _0x4ac83c=_0x23148c(_0x557032);_0xd0f94f=_0x4ac83c??_0xd0f94f;}this['$']['href']=_0xd0f94f;});}),this['setAttribute']('aria-hidden','true');}};_0x370b7e['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',_0x370b7e['bindAttributes']({'name':'name'});var _0x1e624e=_0x185b17=>[...new Set(_0x185b17)],_0x2eae54='--uc-img-',_0xc36487='unresolved',_0x3cb267=0x2,_0x153693=0x3,_0x334881=!window['location']['host']['trim']()||window['location']['host']['includes'](':')||window['location']['hostname']['includes']('localhost'),_0x47b095=0xbb8,_0x46a529=0x1388,_0x174e17=Object['freeze']({'PREVIEW':'PREVIEW','MAIN':'MAIN'}),_0xc00ade='https://ucarecdn.com',_0x2d6329=Object['freeze']({'dev-mode':{},'pubkey':{},'uuid':{},'src':{},'lazy':{'default':0x1},'intersection':{},'breakpoints':{},'cdn-cname':{'default':_0xc00ade},'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}}),_0x49fb5=Object['create'](null);for(const _0xfa7c1e in _0x2d6329)_0x49fb5[_0x2eae54+_0xfa7c1e]=_0x2d6329[_0xfa7c1e]?.['default']||'';var _0x49685b=class extends BaseComponent{['cssInit$']=_0x49fb5;['$$'](_0x16d3ed){return this['$'][_0x2eae54+_0x16d3ed];}['set$$'](_0x18f649){for(const _0x4bf49b in _0x18f649)this['$'][_0x2eae54+_0x4bf49b]=_0x18f649[_0x4bf49b];}['sub$$'](_0x46644e,_0xefb92c){this['sub'](_0x2eae54+_0x46644e,_0x30d72c=>{null!==_0x30d72c&&''!==_0x30d72c&&_0xefb92c(_0x30d72c);});}['analyticsParams'](){return'-/@clib/'+_0x5c6a15+'/'+_0x4c8b17+'/uc-img/';}['initAttributes'](_0x26060f){[...this['attributes']]['forEach'](_0x4004b9=>{_0x2d6329[_0x4004b9['name']]||_0x26060f['setAttribute'](_0x4004b9['name'],_0x4004b9['value']);});}['initIntersection'](_0xc44ec9,_0x5c2105){this['_isnObserver']=new IntersectionObserver(_0x5ca214=>{_0x5ca214['forEach'](_0x19329b=>{_0x19329b['isIntersecting']&&(_0x5c2105(),this['_isnObserver']['unobserve'](_0xc44ec9));});},{'root':null,'rootMargin':'0px'}),this['_isnObserver']['observe'](_0xc44ec9),this['_observed']||(this['_observed']=new Set()),this['_observed']['add'](_0xc44ec9);}['destroyCallback'](){super['destroyCallback'](),this['_isnObserver']&&(this['_observed']['forEach'](_0xc40746=>{this['_isnObserver']['unobserve'](_0xc40746);}),this['_isnObserver']=null),Data['deleteCtx'](this);}static get['observedAttributes'](){return Object['keys'](_0x2d6329);}['attributeChangedCallback'](_0x5c7661,_0x197b6b,_0x34b1bc){window['setTimeout'](()=>{this['$'][_0x2eae54+_0x5c7661]=_0x34b1bc;});}},parseObjectToString=_0x5d9ba0=>Object['entries'](_0x5d9ba0)['filter'](([_0x36073e,_0xd46844])=>void 0x0!==_0xd46844&&''!==_0xd46844)['map'](([_0x1a654f,_0x13fd7d])=>'cdn-operations'===_0x1a654f||'analytics'===_0x1a654f?_0x13fd7d:_0x1a654f+'/'+_0x13fd7d),_0x25cf84=class extends _0x49685b{['_img']=new Image();['_imgPreview']=new Image();['_fmtAbs'](_0x9fbf0b){return!_0x9fbf0b['includes']('//')&&!_0x334881&&(_0x9fbf0b=new URL(_0x9fbf0b,document['baseURI'])['href']),_0x9fbf0b;}['_validateSize'](_0x1059c8){if(''!==_0x1059c8?.['trim']()){const _0x213581=_0x1059c8['match'](/\d+/)[0x0],_0x537000=_0x1059c8['match'](/[a-zA-Z]+/)[0x0],_0x11c7d9=parseInt(_0x213581,0xa);if(Number(_0x11c7d9)>_0x46a529&&this['hasFormatJPG'])return _0x46a529+_0x537000;if(Number(_0x11c7d9)>_0x47b095&&!this['hasFormatJPG'])return _0x47b095+_0x537000;}return _0x1059c8;}['_getCdnModifiers'](_0x2497f9,_0x4033a9){const _0x1dc9bf={'format':this['$$']('format'),'quality':this['$$']('quality'),'resize':this['_validateSize'](_0x2497f9),'blur':_0x4033a9,'cdn-operations':this['$$']('cdn-operations'),'analytics':this['analyticsParams']()};return createCdnUrlModifiers(...parseObjectToString(_0x1dc9bf));}['_getUrlBase'](_0x12ec29='',_0x1e03f6=''){if(this['$$']('src')['startsWith']('data:')||this['$$']('src')['startsWith']('blob:'))return this['$$']('src');if(_0x334881&&this['$$']('src')&&!this['$$']('src')['includes']('//'))return this['_proxyUrl'](this['$$']('src'));const _0x3e3536=this['_getCdnModifiers'](_0x12ec29,_0x1e03f6);return this['$$']('src')['startsWith'](this['$$']('cdn-cname'))?createCdnUrl(this['$$']('src'),_0x3e3536):this['$$']('cdn-cname')&&this['$$']('uuid')||this['$$']('uuid')?this['_proxyUrl'](createCdnUrl(createOriginalUrl(this['$$']('cdn-cname'),this['$$']('uuid')),_0x3e3536)):this['$$']('proxy-cname')?this['_proxyUrl'](createCdnUrl(this['$$']('proxy-cname'),_0x3e3536,this['_fmtAbs'](this['$$']('src')))):this['$$']('pubkey')?this['_proxyUrl'](createCdnUrl('https://'+this['$$']('pubkey')+'.ucr.io/',_0x3e3536,this['_fmtAbs'](this['$$']('src')))):void 0x0;}['_proxyUrl'](_0x7e2057){return this['$$']('secure-delivery-proxy')?applyTemplateData(this['$$']('secure-delivery-proxy'),{'previewUrl':_0x7e2057},{'transform':_0x3b5342=>window['encodeURIComponent'](_0x3b5342)}):_0x7e2057;}['_getElSize'](_0x4f59e3,_0x51dc9d=0x1,_0x586a7b=!0x0){const _0x1270b0=_0x4f59e3['getBoundingClientRect'](),_0x146db8=_0x51dc9d*Math['round'](_0x1270b0['width']),_0x34c8ca=_0x586a7b?'':_0x51dc9d*Math['round'](_0x1270b0['height']);return _0x146db8||_0x34c8ca?(_0x146db8||'')+'x'+(_0x34c8ca||''):null;}['_setupEventProxy'](_0x4a64a8){const _0x3f81dc=_0x5b0a28=>{_0x5b0a28['stopPropagation']();const _0x5d2820=new Event(_0x5b0a28['type'],_0x5b0a28);this['dispatchEvent'](_0x5d2820);},_0x402579=['load','error'];for(const _0x7a4bd5 of _0x402579)_0x4a64a8['addEventListener'](_0x7a4bd5,_0x3f81dc);}get['img'](){return this['hasPreviewImage']||(this['_setupConfigForImage']({'elNode':this['_img']}),this['appendChild'](this['_img'])),this['_img'];}get['currentImg'](){return this['hasPreviewImage']?{'type':_0x174e17['PREVIEW'],'img':this['_imgPreview']}:{'type':_0x174e17['MAIN'],'img':this['img']};}get['hasPreviewImage'](){return this['$$']('is-preview-blur');}get['bgSelector'](){return this['$$']('is-background-for');}get['breakpoints'](){if(this['$$']('breakpoints')){const _0x225dee=stringToArray(this['$$']('breakpoints'));return _0x1e624e(_0x225dee['map'](_0x1eefae=>parseInt(_0x1eefae,0xa)));}return null;}get['hasFormatJPG'](){return'jpeg'===this['$$']('format')['toLowerCase']();}['renderBg'](_0x29c0f3){const _0x3d7911=new Set();_0x3d7911['add']('url(\x22'+this['_getUrlBase'](this['_getElSize'](_0x29c0f3))+'\x22)\x201x'),this['$$']('hi-res-support')&&_0x3d7911['add']('url(\x22'+this['_getUrlBase'](this['_getElSize'](_0x29c0f3,_0x3cb267))+'\x22)\x20'+_0x3cb267+'x'),this['$$']('ultra-res-support')&&_0x3d7911['add']('url(\x22'+this['_getUrlBase'](this['_getElSize'](_0x29c0f3,_0x153693))+'\x22)\x20'+_0x153693+'x');const _0x427a07='image-set('+[..._0x3d7911]['join'](',\x20')+')';_0x29c0f3['style']['setProperty']('background-image',_0x427a07),_0x29c0f3['style']['setProperty']('background-image','-webkit-'+_0x427a07);}['getSrcset'](){const _0x480f63=new Set();return this['breakpoints']?this['breakpoints']['forEach'](_0x48a310=>{_0x480f63['add'](this['_getUrlBase'](_0x48a310+'x')+('\x20'+this['_validateSize'](_0x48a310+'w'))),this['$$']('hi-res-support')&&_0x480f63['add'](this['_getUrlBase'](_0x48a310*_0x3cb267+'x')+('\x20'+this['_validateSize'](_0x48a310*_0x3cb267+'w'))),this['$$']('ultra-res-support')&&_0x480f63['add'](this['_getUrlBase'](_0x48a310*_0x153693+'x')+('\x20'+this['_validateSize'](_0x48a310*_0x153693+'w')));}):(_0x480f63['add'](this['_getUrlBase'](this['_getElSize'](this['currentImg']['img']))+'\x201x'),this['$$']('hi-res-support')&&_0x480f63['add'](this['_getUrlBase'](this['_getElSize'](this['currentImg']['img'],0x2))+'\x202x'),this['$$']('ultra-res-support')&&_0x480f63['add'](this['_getUrlBase'](this['_getElSize'](this['currentImg']['img'],0x3))+'\x203x')),[..._0x480f63]['join']();}['getSrc'](){return this['_getUrlBase']();}get['srcUrlPreview'](){return this['_getUrlBase']('100x','100');}['renderBackground'](){[...document['querySelectorAll'](this['bgSelector'])]['forEach'](_0x3bcc34=>{this['$$']('intersection')?this['initIntersection'](_0x3bcc34,()=>{this['renderBg'](_0x3bcc34);}):this['renderBg'](_0x3bcc34);});}['_appendURL']({elNode:_0x36f1dc,src:_0x1108dd,srcset:_0x2f5499}){_0x1108dd&&(_0x36f1dc['src']=_0x1108dd),_0x2f5499&&(_0x36f1dc['srcset']=_0x2f5499);}['_setupConfigForImage']({elNode:_0x3e0d3b}){this['_setupEventProxy'](_0x3e0d3b),this['initAttributes'](_0x3e0d3b);}['loaderImage']({src:_0x523753,srcset:_0x395650,elNode:_0x575e35}){return new Promise((_0x3e9806,_0x4f3ff3)=>{this['_setupConfigForImage']({'elNode':_0x575e35}),_0x575e35['setAttribute'](_0xc36487,''),_0x575e35['addEventListener']('load',()=>{_0x575e35['removeAttribute'](_0xc36487),_0x3e9806(_0x575e35);}),_0x575e35['addEventListener']('error',()=>{_0x4f3ff3(!0x1);}),this['_appendURL']({'elNode':_0x575e35,'src':_0x523753,'srcset':_0x395650});});}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(_0x447dea){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(_0x1d189b){this['hasPreviewImage']&&await this['_imgPreview']?.['remove'](),this['appendChild'](this['_img']);}}['init'](){this['bgSelector']?this['renderBackground']():this['renderImage']();}},_0x41c12e=class extends _0x25cf84{['initCallback'](){super['initCallback'](),this['sub$$']('src',()=>{this['init']();}),this['sub$$']('uuid',()=>{this['init']();}),this['sub$$']('lazy',_0x1faf73=>{this['$$']('is-background-for')||this['$$']('is-preview-blur')||(this['img']['loading']=_0x1faf73?'lazy':'eager');});}},_0xc81cc5=null,_0x2fffd0=class extends _0x138861{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']=_0x3efe3d=>{this['_mouseDownTarget']=_0x3efe3d['target'];};['_handleDialogMouseUp']=_0x2ed5bc=>{const _0x3fcd4a=_0x2ed5bc['target'];_0x3fcd4a===this['ref']['dialog']&&_0x3fcd4a===this['_mouseDownTarget']&&this['_closeDialog']();};['show'](){const _0x5eb545=this['ref']['dialog'];'function'==typeof _0x5eb545['showModal']?(this['setAttribute']('aria-modal','true'),_0x5eb545['showModal']()):_0x5eb545['setAttribute']('open',''),this['cfg']['modalScrollLock']&&(document['body']['style']['overflow']='hidden');}['hide'](){const _0x2e0700=this['ref']['dialog'];'function'==typeof _0x2e0700['close']?(this['setAttribute']('aria-modal','false'),_0x2e0700['close']()):_0x2e0700['removeAttribute']('open');}['_handleModalOpen']({id:_0x3fe547}){_0x3fe547===this['id']?(_0xc81cc5=_0x3fe547,this['show'](),this['emit'](EventType['MODAL_OPEN'],{'modalId':_0x3fe547},{'debounce':!0x0})):this['hide']();}['_handleModalClose']({id:_0x3151bf}){_0x3151bf===this['id']&&(this['hide'](),this['emit'](EventType['MODAL_CLOSE'],{'modalId':_0x3151bf,'hasActiveModals':this['modalManager']?.['hasActiveModals']},{'debounce':!0x0}));}['_handleModalCloseAll'](_0x544215){this['hide'](),_0xc81cc5===this['id']&&this['emit'](EventType['MODAL_CLOSE'],{'modalId':_0xc81cc5,'hasActiveModals':this['modalManager']?.['hasActiveModals']},{'debounce':!0x0});}['initCallback'](){super['initCallback'](),this['modalManager']?.['registerModal'](this['id'],this);const _0x1a46c8=this['ref']['dialog'];_0x1a46c8['addEventListener']('close',this['_handleDialogClose']),_0x1a46c8['addEventListener']('mousedown',this['_handleDialogMouseDown']),_0x1a46c8['addEventListener']('mouseup',this['_handleDialogMouseUp']),this['subConfigValue']('modalBackdropStrokes',_0x7a5ceb=>{_0x7a5ceb?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 _0x338f6c=this['ref']['dialog'];_0x338f6c['removeEventListener']('close',this['_handleDialogClose']),_0x338f6c['removeEventListener']('mousedown',this['_handleDialogMouseDown']),_0x338f6c['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']);}};_0x2fffd0['template']='\x0a\x20\x20<dialog\x20ref=\x22dialog\x22>\x0a\x20\x20\x20\x20<slot></slot>\x0a\x20\x20</dialog>\x0a';var _0x32e368=class extends _0x138861{['_value']=0x0;['_visible']=!0x0;constructor(){super(),this['init$']={...this['init$'],'width':0x0,'opacity':0x0};}['initCallback'](){super['initCallback'](),(this['ref']['fakeProgressLine']['addEventListener']('animationiteration',()=>{const _0x8ff5e5=this['ref']['fakeProgressLine'];this['_visible']?this['_value']>0x0&&_0x8ff5e5['classList']['add']('uc-fake-progress--hidden'):_0x8ff5e5['classList']['add']('uc-fake-progress--hidden');}),this['defineAccessor']('value',_0x1fce63=>{null!=_0x1fce63&&(this['_value']=_0x1fce63,this['_visible']&&this['style']['setProperty']('--l-progress-value',this['_value']['toString']()));}),this['defineAccessor']('visible',_0x5d6c9d=>{this['_visible']=_0x5d6c9d,this['classList']['toggle']('uc-progress-bar--hidden',!_0x5d6c9d);}));}};_0x32e368['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 _0x4753f7=class extends _0x3d665e{['_unobserveCollectionCb'];constructor(){super(),this['init$']={...this['init$'],'visible':!0x1,'value':0x0,'*commonProgress':0x0};}['initCallback'](){super['initCallback'](),this['_unobserveCollectionCb']=this['uploadCollection']['observeProperties'](()=>{const _0x4f493d=this['uploadCollection']['items']()['some'](_0x50304b=>{const _0x44ca79=this['uploadCollection']['read'](_0x50304b);return _0x44ca79?.['getValue']('isUploading')??!0x1;});this['$']['visible']=_0x4f493d;}),this['sub']('visible',_0x463b37=>{_0x463b37?this['setAttribute']('active',''):this['removeAttribute']('active');}),this['sub']('*commonProgress',_0x2eee10=>{this['$']['value']=_0x2eee10;});}['destroyCallback'](){super['destroyCallback'](),this['_unobserveCollectionCb']?.(),this['_unobserveCollectionCb']=void 0x0;}};_0x4753f7['template']='\x20<uc-progress-bar\x20set=\x22visible:\x20visible;\x20value:\x20value\x22></uc-progress-bar>\x20';var Select=class extends _0x138861{constructor(){super(),this['init$']={...this['init$'],'currentText':'','options':[],'selectHtml':'','onSelect':_0x36556a=>{_0x36556a['preventDefault'](),_0x36556a['stopPropagation']();const _0xd909f6=this['ref']['select'];this['value']=_0xd909f6['value'],this['$']['currentText']=this['$']['options']['find'](_0x59825b=>_0x59825b['value']===this['value'])?.['text']||'',this['dispatchEvent'](new Event('change'));}};}['initCallback'](){super['initCallback'](),this['sub']('options',_0x27b18f=>{this['$']['currentText']=_0x27b18f?.[0x0]?.['text']||'';let _0x340efe='';_0x27b18f?.['forEach'](_0x267586=>{_0x340efe+='<option\x20value=\x22'+_0x267586['value']+'\x22>'+_0x267586['text']+'</option>';}),this['$']['selectHtml']=_0x340efe;});}};Select['template']='\x20<select\x20ref=\x22select\x22\x20set=\x22innerHTML:\x20selectHtml;\x20onchange:\x20onSelect\x22></select>\x20';var SimpleBtn=class extends _0x3d665e{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',_0x578ba2=>{void 0x0!==_0x578ba2&&(this['$']['withDropZone']=_0x32097f(_0x578ba2));}),this['subConfigValue']('multiple',_0x3ab945=>{this['$']['button-text']=_0x3ab945?'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 _0x4d389f='src-type-',SourceBtn=class extends _0x3d665e{['couldBeCtxOwner']=!0x0;['type']=void 0x0;['_registeredTypes']={};constructor(){super(),this['init$']={...this['init$'],'iconName':'default','src-type':''};}['initTypes'](){this['registerType']({'type':_0x105a8a['LOCAL'],'activate':()=>(this['api']['openSystemDialog'](),!0x1)}),this['registerType']({'type':_0x105a8a['URL'],'activity':ActivityBlock['activities']['URL'],'textKey':'from-url'}),this['registerType']({'type':_0x105a8a['CAMERA'],'activity':ActivityBlock['activities']['CAMERA'],'activate':()=>{const _0x44586b=browserFeatures['htmlMediaCapture'];return _0x44586b&&this['api']['openSystemDialog']({'captureCamera':!0x0}),!_0x44586b;}}),this['registerType']({'type':'draw','activity':ActivityBlock['activities']['DRAW'],'icon':'edit-draw'});for(const _0x2479c1 of Object['values'](_0x50e8e3))this['registerType']({'type':_0x2479c1,'activity':ActivityBlock['activities']['CAMERA'],'activate':()=>{const _0x28cd97=browserFeatures['htmlMediaCapture'];return _0x28cd97&&this['api']['openSystemDialog']({'captureCamera':!0x0,'modeCamera':'mobile-photo-camera'===_0x2479c1?_0xc1c2a2['PHOTO']:_0xc1c2a2['VIDEO']}),!_0x28cd97;}});for(const _0x45d40 of Object['values'](ExternalUploadSource))this['registerType']({'type':_0x45d40,'activity':ActivityBlock['activities']['EXTERNAL'],'activityParams':{'externalSourceType':_0x45d40}});}['initCallback'](){super['initCallback'](),this['initTypes'](),this['defineAccessor']('type',_0x332806=>{_0x332806&&this['applyType'](_0x332806);});}['registerType'](_0x4ba18f){this['_registeredTypes'][_0x4ba18f['type']]=_0x4ba18f;}['getType'](_0x92d9b1){return this['_registeredTypes'][_0x92d9b1];}['activate'](){if(!this['type'])return;const _0x1bac65=this['_registeredTypes'][this['type']];if(!_0x1bac65)return;const {activity:_0x14ccca,activate:_0x28ab05,activityParams:_0x27eb50={}}=_0x1bac65;(_0x28ab05?_0x28ab05():!!_0x14ccca)&&_0x14ccca&&(this['modalManager']?.['open'](_0x14ccca),this['set$']({'*currentActivityParams':_0x27eb50,'*currentActivity':_0x14ccca}));}['applyType'](_0x699fd8){const _0x343cee=this['_registeredTypes'][_0x699fd8];if(!_0x343cee)return void console['warn']('Unsupported\x20source\x20type:\x20'+_0x699fd8);const {textKey:_0x3c7a72=_0x699fd8,icon:_0x31ecbd=_0x699fd8}=_0x343cee;this['$']['src-type']=''+_0x4d389f+_0x3c7a72,this['$']['iconName']=_0x31ecbd,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 _0x138861{['initCallback'](){super['initCallback'](),this['subConfigValue']('sourceList',_0x4e4024=>{const _0x187787=stringToArray(_0x4e4024);let _0x1c5526='';_0x187787['forEach'](_0x2c81b7=>{'instagram'!==_0x2c81b7?'camera'===_0x2c81b7&&browserFeatures['htmlMediaCapture']?this['subConfigValue']('cameraModes',_0x14daff=>{const _0x40865a=_0x5ab57c(_0x14daff);_0x40865a['forEach'](_0x55b4f3=>{_0x1c5526+='<uc-source-btn\x20role=\x22listitem\x22\x20type=\x22mobile-'+_0x55b4f3+'-camera\x22></uc-source-btn>';}),0x0===_0x40865a['length']&&(_0x1c5526+='<uc-source-btn\x20role=\x22listitem\x22\x20type=\x22mobile-photo-camera\x22></uc-source-btn>');}):_0x1c5526+='<uc-source-btn\x20role=\x22listitem\x22\x20type=\x22'+_0x2c81b7+'\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']=_0x1c5526:this['outerHTML']=_0x1c5526;});}},_0x4d2f91=class extends BaseComponent{};_0x4d2f91['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(_0x5bf047,_0x9863fb=0x28){if('image/svg+xml'===_0x5bf047['type'])return URL['createObjectURL'](_0x5bf047);const _0x3acc3c=document['createElement']('canvas'),_0x464d57=_0x3acc3c['getContext']('2d');if(!_0x464d57)return Promise['reject'](new Error('Canvas\x20context\x20not\x20supported'));const _0x28efa8=new Image(),_0x2e8e51=new Promise((_0x407c45,_0x45e46f)=>{_0x28efa8['onload']=()=>{const _0x19564b=_0x28efa8['height']/_0x28efa8['width'];_0x19564b>0x1?(_0x3acc3c['width']=_0x9863fb,_0x3acc3c['height']=_0x9863fb*_0x19564b):(_0x3acc3c['height']=_0x9863fb,_0x3acc3c['width']=_0x9863fb/_0x19564b),_0x464d57['fillStyle']='rgb(240,\x20240,\x20240)',_0x464d57['fillRect'](0x0,0x0,_0x3acc3c['width'],_0x3acc3c['height']),_0x464d57['drawImage'](_0x28efa8,0x0,0x0,_0x3acc3c['width'],_0x3acc3c['height']),_0x3acc3c['toBlob'](_0x382826=>{if(!_0x382826)return void _0x45e46f();const _0x499b9f=URL['createObjectURL'](_0x382826);_0x407c45(_0x499b9f);});},_0x28efa8['onerror']=_0xc1ab89=>{_0x45e46f(_0xc1ab89);};});return _0x28efa8['src']=URL['createObjectURL'](_0x5bf047),_0x2e8e51;}function createSvgBlobUrl(_0x4d61b8){const _0x1f5606=new Blob([_0x4d61b8],{'type':'image/svg+xml'});return URL['createObjectURL'](_0x1f5606);}function _0x166bc4(_0x151344='hsl(209,\x2021%,\x2065%)',_0x4b23f2=0x20,_0x2b68ea=0x20){return createSvgBlobUrl('\x0a\x20\x20<svg\x20width=\x22'+_0x4b23f2+'\x22\x20height=\x22'+_0x2b68ea+'\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'+_0x151344+'\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 _0x2fda86=0xbb8,_0x23923f=class extends FileItemConfig{['_renderedGridOnce']=!0x1;['_thumbRect']=null;['_isIntersecting']=!0x1;['_firstViewMode']=this['cfg']['filesViewMode'];['_observer'];constructor(){super(),this['init$']={...this['init$'],'thumbUrl':'','badgeIcon':'','uid':''};}['_calculateThumbSize'](_0x44f10e=!0x1){_0x44f10e&&(this['_thumbRect']=this['getBoundingClientRect']());let _0x204953=Math['max'](parseInt(String(this?.['_thumbRect']?.['height']||0x0),0xa),parseInt(String(this?.['_thumbRect']?.['width']||0x0),0xa),this['cfg']['thumbSize']);return window['devicePixelRatio']>0x1&&(_0x204953*=window['devicePixelRatio']),Math['min'](_0x204953,_0x2fda86);}['_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}=_0x45b8cd(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',_0x166bc4(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',_0x166bc4(n));}else{const i=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');e['setValue']('thumbUrl',_0x166bc4(i));}});['_debouncedGenerateThumb']=_0xe9436c(this['_generateThumbnail']['bind'](this),0x64);['_observerCallback'](_0x49a392){const [_0x43ae19]=_0x49a392;_0x43ae19&&(this['_isIntersecting']=_0x43ae19['isIntersecting'],_0x43ae19['isIntersecting']&&(this['_thumbRect']=_0x43ae19['boundingClientRect'],this['_debouncedGenerateThumb'](),this['_observer']?.['disconnect']()),0x0===_0x43ae19['intersectionRatio']&&this['_debouncedGenerateThumb']['cancel']());}['_reset'](){super['_reset'](),this['_debouncedGenerateThumb']['cancel']();}['_handleEntryId'](_0x5304c8){this['_reset']();const _0x524338=this['uploadCollection']?.['read'](_0x5304c8);this['_entry']=_0x524338,_0x524338&&(this['_subEntry']('fileInfo',_0x29db5e=>{_0x29db5e?.['isImage']&&this['_isIntersecting']&&this['_debouncedGenerateThumb']();}),this['_subEntry']('thumbUrl',_0x105560=>{this['$']['thumbUrl']=_0x105560?'url('+_0x105560+')':'';}),this['_subEntry']('cdnUrlModifiers',()=>{this['_isIntersecting']&&this['_debouncedGenerateThumb']();}),this['_isIntersecting']&&this['_debouncedGenerateThumb']());}['initCallback'](){super['initCallback'](),this['defineAccessor']('badgeIcon',_0x9c54a=>{this['$']['badgeIcon']=_0x9c54a;}),this['defineAccessor']('uid',_0x17f099=>{this['set$']({'uid':_0x17f099});}),this['sub']('uid',_0x24883e=>{this['_handleEntryId'](_0x24883e);}),this['subConfigValue']('filesViewMode',_0x515dd7=>{'grid'!==_0x515dd7||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']();}};_0x23923f['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',_0x23923f['bindAttributes']({'badgeIcon':null,'uid':null});var UploadCtxProvider=class extends _0x3d665e{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 _0x3d665e{['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 _0x6f9bc6=this['api']['getOutputCollectionState'](),_0x3f2768={'total':_0x6f9bc6['totalCount'],'succeed':_0x6f9bc6['successCount'],'uploading':_0x6f9bc6['uploadingCount'],'failed':_0x6f9bc6['failedCount'],'validatingBeforeUploading':_0x6f9bc6['idleEntries']['filter'](_0xef08c8=>_0xef08c8['isValidationPending'])['length']},_0x34b33e=!_0x6f9bc6['errors']['some'](_0x34a506=>'TOO_MANY_FILES'===_0x34a506['type']||'TOO_FEW_FILES'===_0x34a506['type']),_0x2c62ac=_0x6f9bc6['errors']['some'](_0x31dbb9=>'TOO_MANY_FILES'===_0x31dbb9['type']),_0x546402=_0x6f9bc6['totalCount']===(this['cfg']['multiple']?this['cfg']['multipleMax']:0x1),_0x18495e=_0x6f9bc6['allEntries']['some'](_0xf5165a=>_0xf5165a['isValidationPending']),_0x29c916=0x0===_0x3f2768['failed']&&0x0===_0x6f9bc6['errors']['length']&&!_0x18495e;let _0x548f6d=!0x1,_0x57ce3f=!0x1,_0x5109c4=!0x1;if(_0x3f2768['total']-_0x3f2768['succeed']-_0x3f2768['uploading']-_0x3f2768['failed']>0x0&&_0x34b33e&&_0x29c916)_0x548f6d=!0x0;else{_0x57ce3f=!0x0;const _0x590b91=!this['cfg']['groupOutput']||!!_0x6f9bc6['group'];_0x5109c4=_0x3f2768['total']===_0x3f2768['succeed']&&_0x34b33e&&_0x29c916&&_0x590b91;}this['set$']({'doneBtnVisible':_0x57ce3f,'doneBtnEnabled':_0x5109c4,'uploadBtnVisible':_0x548f6d,'addMoreBtnEnabled':0x0===_0x3f2768['total']||!_0x2c62ac&&!_0x546402,'addMoreBtnVisible':!_0x546402||this['cfg']['multiple'],'hasFiles':_0x3f2768['total']>0x0}),this['bindL10n']('headerText',()=>this['_getHeaderText'](_0x3f2768));}['_getHeaderText'](_0x35ee81){const _0x2bf9ec=_0x1e0990=>{let _0x49dfd2=_0x35ee81[_0x1e0990];return'uploading'===_0x1e0990&&(_0x49dfd2+=_0x35ee81['validatingBeforeUploading']),this['l10n']('header-'+_0x1e0990,{'count':_0x49dfd2});};return _0x35ee81['uploading']>0x0||_0x35ee81['validatingBeforeUploading']>0x0?_0x2bf9ec('uploading'):_0x35ee81['failed']>0x0?_0x2bf9ec('failed'):_0x35ee81['succeed']>0x0?_0x2bf9ec('succeed'):_0x2bf9ec('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',_0xec8ac3=>{_0xec8ac3&&this['_throttledHandleCollectionUpdate']();}),this['subConfigValue']('filesViewMode',_0x234309=>{this['setAttribute']('mode',_0x234309);}),this['sub']('*currentActivity',_0x3a5f7e=>{this['couldOpenActivity']||_0x3a5f7e!==this['activityType']||(this['$']['*currentActivity']=this['initActivity']);}),this['uploadCollection']['observeProperties'](this['_throttledHandleCollectionUpdate']),this['uploadCollection']['observeCollection'](this['_throttledHandleCollectionUpdate']),this['sub']('*collectionErrors',_0x1d918b=>{const _0x4da962=_0x1d918b['filter'](_0x2690ab=>'SOME_FILES_HAS_ERRORS'!==_0x2690ab['type'])[0x0];_0x4da962?this['set$']({'commonErrorMessage':_0x4da962['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 _0x9cf1af=class extends _0x3d665e{['couldBeCtxOwner']=!0x0;['activityType']=ActivityBlock['activities']['URL'];constructor(){super(),this['init$']={...this['init$'],'importDisabled':!0x0,'onUpload':_0x1362ea=>{_0x1362ea['preventDefault'](),this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'upload-from-url','node':this['tagName']}}});const _0x3e770e=this['ref']['input']['value'];this['api']['addFileFromUrl'](_0x3e770e,{'source':_0x105a8a['URL']}),this['modalManager']?.['open'](ActivityBlock['activities']['UPLOAD_LIST']),this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'];},'onCancel':()=>{this['historyBack']();},'onInput':_0x1b83e7=>{const _0x31d9f8=_0x1b83e7['target']?.['value']??'';this['set$']({'importDisabled':!_0x31d9f8});}};}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType']??'',{'onActivate':()=>{const _0x3f7970=this['ref']['input'];_0x3f7970['value']='',_0x3f7970['focus']();}});}};_0x9cf1af['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);}},_0x420fbb=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 _0x5764ff=this['$']['*historyBack'];return void _0x5764ff?.();}this['couldShowList']&&(this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST']);}};}get['couldHistoryBack'](){const _0x182628=this['$']['*history'];return!(!_0x182628||_0x182628['length']<=0x1)&&_0x182628[_0x182628['length']-0x1]!==ActivityBlock['activities']['START_FROM'];}get['couldShowList'](){const _0x59f0ff=this['$']['*uploadList'];return this['cfg']['showEmptyList']||Array['isArray'](_0x59f0ff)&&_0x59f0ff['length']>0x0;}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':InternalEventType['INIT_SOLUTION']});const _0x186b86=this['ref']['uBlock'];_0x186b86&&(this['sub']('*currentActivity',_0x1498aa=>{_0x1498aa||(this['$']['*currentActivity']=_0x186b86['initActivity']||ActivityBlock['activities']['START_FROM']);}),this['sub']('*uploadList',_0x118732=>{Array['isArray'](_0x118732)&&_0x118732['length']>0x0&&this['$']['*currentActivity']===(_0x186b86['initActivity']||ActivityBlock['activities']['START_FROM'])&&(this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST']);}),this['sub']('*history',()=>{this['$']['couldCancel']=this['couldHistoryBack']||this['couldShowList'];}));}};_0x420fbb['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 _0x16a1ee='active',_0x4126d1='',_0x3b12c4=class extends SolutionBlock{static ['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-minimal'];['handleModalOpen'];['handleModalClose'];constructor(){super(),this['init$']={...this['init$'],'singleUpload':!0x1,'isHiddenStartFrom':!0x1,'classUploadList':_0x4126d1,'classStartFrom':_0x4126d1,'*solution':this['tagName']};}['_handleModalOpen'](_0x28bdee){_0x28bdee['id']===ActivityBlock['activities']['CLOUD_IMG_EDIT']&&this['set$']({'classUploadList':_0x16a1ee}),this['$']['*currentActivity']===ActivityBlock['activities']['UPLOAD_LIST']&&this['set$']({'classUploadList':_0x16a1ee,'isHiddenStartFrom':!0x0});const _0xac25cd=this['$']['*uploadList'];(!_0xac25cd||_0xac25cd['length']<=0x0)&&this['set$']({'classStartFrom':_0x16a1ee});}['_handleModalClose'](_0x542de2){_0x542de2['id']===this['$']['*currentActivity']&&(this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'],this['set$']({'isHiddenStartFrom':!0x1})),_0x542de2['id']===ActivityBlock['activities']['CLOUD_IMG_EDIT']&&(this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST']);}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':InternalEventType['INIT_SOLUTION']});const _0x238295=this['ref']['uBlock'];_0x238295&&(this['sub']('*currentActivity',_0x47d583=>{_0x47d583===ActivityBlock['activities']['UPLOAD_LIST']&&this['modalManager']?.['closeAll'](),_0x47d583||(this['$']['*currentActivity']=_0x238295['initActivity']||ActivityBlock['activities']['START_FROM']);}),this['sub']('*uploadList',_0x23e437=>{Array['isArray'](_0x23e437)&&_0x23e437['length']>0x0?(this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'],this['set$']({'classStartFrom':_0x4126d1})):(this['set$']({'classUploadList':_0x4126d1,'isHiddenStartFrom':!0x1}),this['$']['*currentActivity']=_0x238295['initActivity']||ActivityBlock['activities']['START_FROM']);}),this['subConfigValue']('confirmUpload',_0x106eae=>{!0x1!==_0x106eae&&(this['cfg']['confirmUpload']=!0x1);}),this['subConfigValue']('filesViewMode',_0x44c102=>{this['setAttribute']('mode',_0x44c102),this['subConfigValue']('multiple',_0x38550a=>{'grid'===_0x44c102?(_0x38550a?this['style']['removeProperty']('--uc-grid-col'):this['style']['setProperty']('--uc-grid-col','1'),this['$']['singleUpload']=!_0x38550a):(this['style']['removeProperty']('--uc-grid-col'),this['$']['singleUpload']=!0x1);});}),this['handleModalOpen']=_0x15d074=>{this['_handleModalOpen'](_0x15d074);},this['handleModalClose']=_0x3d1661=>{this['_handleModalClose'](_0x3d1661);},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']);}};_0x3b12c4['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 _0x49bed5=class extends SolutionBlock{static ['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-regular'];constructor(){super();const _0x5cfce8={...this['init$'],'isHidden':!0x1,'*solution':this['tagName']};this['init$']=_0x5cfce8;}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':InternalEventType['INIT_SOLUTION']}),this['defineAccessor']('headless',_0x178594=>{this['set$']({'isHidden':_0x32097f(_0x178594)});});}};_0x49bed5['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',_0x49bed5['bindAttributes']({'headless':null});var _0x31383c=Object['freeze']({'__proto__':null,'ActivityBlock':ActivityBlock,'ActivityHeader':ActivityHeader,'BaseComponent':BaseComponent,'Block':_0x138861,'BtnUi':BtnUi,'CameraSource':_0x489295,'CloudImageEditor':CloudImageEditor,'CloudImageEditorActivity':CloudImageEditorActivity,'CloudImageEditorBlock':CloudImageEditorBlock,'Config':_0x18d252,'Copyright':Copyright,'CropFrame':_0x3c1274,'Data':Data,'DropArea':_0x44a191,'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':_0x420fbb,'FileUploaderMinimal':_0x3b12c4,'FileUploaderRegular':_0x49bed5,'FormInput':FormInput,'Icon':_0x370b7e,'Img':_0x41c12e,'LineLoaderUi':_0xcd461a,'Modal':_0x2fffd0,'ModalEvents':ModalEvents,'PACKAGE_NAME':_0x5c6a15,'PACKAGE_VERSION':_0x4c8b17,'PresenceToggle':_0x5c2f86,'ProgressBar':_0x32e368,'ProgressBarCommon':_0x4753f7,'Select':Select,'SimpleBtn':SimpleBtn,'SliderUi':_0x49d967,'SolutionBlock':SolutionBlock,'SourceBtn':SourceBtn,'SourceList':SourceList,'Spinner':_0x4d2f91,'StartFrom':StartFrom,'Thumb':_0x23923f,'UID':_0x521ae6,'UploadCtxProvider':UploadCtxProvider,'UploadList':UploadList,'UploadSource':_0x105a8a,'UploaderBlock':_0x3d665e,'UrlSource':_0x9cf1af,'defineComponents':defineComponents,'defineLocale':_0x1409fd,'loadFileUploaderFrom':_0x1bb7a5,'toKebabCase':toKebabCase});class _0x56800c extends ckeditor5['Plugin']{static get['requires'](){return[UploadcareEditing,_0xe1afcc];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x12851d){super(_0x12851d),_0x12851d['config']['define']('uploadcare.uploader.sourceList',[_0x4386d3['Local'],_0x4386d3['URL']]),defineComponents(_0x31383c),this['_defineLocale']();}['_defineLocale'](){const _0x2aec90=this['editor']['config']['get']('uploadcare.locale'),_0x2df148=this['editor']['locale']['contentLanguage'];_0x2aec90&&_0x1409fd(_0x2df148,_0x2aec90);}}class UploadcareImageEditFormLoadingView extends ckeditor5['View']{constructor(_0xa0e2d2){super(_0xa0e2d2);const t=_0xa0e2d2['t'],_0x176c87=this['bindTemplate'],_0x106b29=new ckeditor5['SpinnerView']();_0x106b29['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':[_0x106b29,{'text':_0x176c87['to']('imageUploadProgress',_0x27775a=>t('Loading\x20image...')+'\x20('+(_0x27775a||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(_0x2aa918){super(_0x2aa918);const t=_0x2aa918['t'];this['set']('errorType',null);const _0x59044e=new ckeditor5['ButtonView'](_0x2aa918);_0x59044e['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x59044e['withText']=!0x0,_0x59044e['class']='ck-button-action',_0x59044e['on']('execute',()=>{this['fire']('retry');}),_0x59044e['bind']('isVisible')['to'](this,'errorType',_0x228912=>'NotFound'!==_0x228912);const _0x4f5287=new ckeditor5['IconView']();_0x4f5287['content']=ckeditor5['IconError'],_0x4f5287['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2835d2=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':[_0x4f5287,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2835d2['to']('errorType',_0x598bed=>t('NotFound'!==_0x598bed?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x59044e]},{'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(_0x43ec4b,_0x5cf8bd){super(_0x43ec4b);const _0x2778f2=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x5cf8bd,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x2778f2['to']('imageSrc')}});}}class UploadcareImageEditFormView extends _0x35523e{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0xe859b5,_0x3eca36,_0x34caea){super(_0xe859b5),this['_items']=this['createCollection'](),this['_loadingView']=new UploadcareImageEditFormLoadingView(_0xe859b5),this['_errorView']=new UploadcareImageEditFormErrorView(_0xe859b5),this['_editingView']=new UploadcareImageEditFormEditingView(_0xe859b5,_0x34caea),this['_focusableView']=new ckeditor5['View'](_0xe859b5),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x3eca36),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'],_0x3636cf=>{this['_addUploadcareImageEditorListeners'](_0x3636cf);});}),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'](_0x30f209,_0x4ca55d){const _0x26ac19='uc-cloud-image-editor',_0x956837=_0x30f209['querySelector'](_0x26ac19);if(_0x956837)return _0x4ca55d(_0x956837);const _0x3ce8c0=new MutationObserver(_0x42baa5=>{const _0x153e45=_0x42baa5['filter'](_0x14e26a=>_0x14e26a['target']===_0x30f209&&_0x14e26a['addedNodes']['length']>0x0&&_0x14e26a['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x26ac19);_0x153e45['length']&&(_0x3ce8c0['disconnect'](),_0x4ca55d(_0x153e45[0x0]['addedNodes'][0x0]));});_0x3ce8c0['observe'](_0x30f209,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x5eabfc){_0x5eabfc['addEventListener']('apply',_0x201946=>{this['fire']('apply',{'imageSrc':_0x201946['detail']['cdnUrl']});}),_0x5eabfc['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(_0x76c0a1,_0x4a36bd,_0x24f20d){super(),this['_editor']=_0x76c0a1,this['_dialog']=_0x4a36bd,this['_imageElement']=_0x24f20d,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 _0x3033ea=this['_imageElement'],_0xaafce1=_0x3033ea['getAttribute']('uploadcareImageId'),_0x329985=_0x3033ea['getAttribute']('src');if(_0xaafce1)await this['_loadImageInfo'](_0xaafce1,_0x329985);else{if(this['_imageCache']['has'](_0x329985)){const _0x17079e=this['_imageCache']['get'](_0x329985);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x17079e['url'],this['imageDimension']=_0x17079e['dimension'],this['imageId']=_0x17079e['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x420bf8}=this['_editor'],t=_0x420bf8['t'],_0x1cda48=new UploadcareImageEditFormView(_0x420bf8,this['imageStatus'],this['_attributes']);_0x1cda48['bind']('status')['to'](this,'imageStatus'),_0x1cda48['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1cda48['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1cda48['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1cda48,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':ckeditor5['IconUploadcareImageEdit'],'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1cda48,'position':ckeditor5['DialogViewPosition']['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1cda48['focus']();},'onHide':()=>{_0x1cda48['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x9a0360=>!isAncestor(_0x9a0360,_0x1cda48['element'])}});}['_loadImageInfo'](_0x5c8d67,_0xc3b475){return UploadUtils['getInfo'](_0x5c8d67,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x34149c=>{const {width:_0x1ae5db,height:_0x57563f}=_0x34149c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xc3b475,this['imageDimension']={'width':_0x1ae5db,'height':_0x57563f},this['imageId']=_0x5c8d67;})['catch'](_0x542aa3=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x542aa3['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x53f695,_0x2e4e36){return this['_getImageAsFile'](_0x53f695)['then'](_0x56ff85=>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':_0x2e4e36['signal'],'file':_0x56ff85,'onProgress':_0x4acc0c=>{_0x4acc0c&&_0x4acc0c['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4acc0c['value']));}}))['then'](_0x178ef4=>{const {width:_0x2c32f0,height:_0x262a01}=_0x178ef4['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x178ef4['cdnUrl'],this['imageDimension']={'width':_0x2c32f0,'height':_0x262a01},this['imageId']=_0x178ef4['uuid'],this['imageUploadProgress']=null;const _0x4f9a4b=_0x53f695['getAttribute']('src');this['_imageCache']['set'](_0x4f9a4b,{'id':_0x178ef4['uuid'],'url':_0x178ef4['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4ea200=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4ea200['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5dcd05,_0x430134){_0x5dcd05['on']('apply',(_0x2dedad,_0x2acb19)=>{this['_replaceImage'](_0x430134,_0x2acb19['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5dcd05['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5dcd05['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x40d313,_0x435341,_0x4cf568){const _0x36c4a8=this['_editor'],{width:_0x5f3a7c,height:_0xfeced0}=getImageDimension(_0x435341,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x31956a,imageSources:_0x469319}=getImageUrls(_0x435341,_0x5f3a7c);_0x36c4a8['model']['change'](_0x25e07f=>{if('$graveyard'===_0x40d313['root']['rootName']){_0x36c4a8['execute']('insertImage',{'imageType':_0x40d313['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x40d313['getAttributes']()),'uploadcareImageId':_0x4cf568,'src':_0x31956a,'sources':_0x469319,'width':_0x5f3a7c,'height':_0xfeced0}});const _0x382f90=_0x40d313['getChildren']();_0x40d313=_0x36c4a8['model']['document']['selection']['getSelectedElement']();for(const _0x148cf7 of _0x382f90)_0x25e07f['append'](_0x25e07f['cloneElement'](_0x148cf7),_0x40d313);}else _0x25e07f['setSelection'](_0x40d313,'on'),_0x36c4a8['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x40d313['getAttributes']()),'uploadcareImageId':_0x4cf568,'src':_0x31956a,'sources':_0x469319,'width':_0x5f3a7c,'height':_0xfeced0},_0x40d313);_0x25e07f['setSelection'](_0x40d313,'on');});}async['_getImageAsFile'](_0x14a131){const _0x45f629=ckeditor5['global']['window'],_0x181855=ckeditor5['global']['document']['location']['href'],_0x3a18e8=new _0x45f629['URL'](_0x14a131['getAttribute']('src'),_0x181855);if('data:'===_0x3a18e8['protocol']){const _0x3dadc9=_0x3a18e8['href']['split'](','),_0x1d3fe6=_0x3dadc9[0x0]['match'](/:(.*?);/)[0x1],_0x391488=_0x1d3fe6['split']('/')[0x1],_0x25f167=_0x45f629['atob'](_0x3dadc9[_0x3dadc9['length']-0x1]);let _0x12b0dc=_0x25f167['length'];const _0x99c202=new _0x45f629['Uint8Array'](_0x12b0dc);for(;_0x12b0dc--;)_0x99c202[_0x12b0dc]=_0x25f167['charCodeAt'](_0x12b0dc);return new _0x45f629['File']([_0x99c202],'image.'+_0x391488,{'type':_0x1d3fe6});}const _0x1ca2a4=_0x3a18e8['href']['split']('/'),_0x24c9b3=_0x1ca2a4[_0x1ca2a4['length']-0x1],_0x5323e9=_0x24c9b3['split']('.')[0x1];return _0x45f629['fetch'](_0x3a18e8['href'])['then'](_0x8d5cfb=>_0x8d5cfb['clone']()['blob']())['then'](_0xeaa5b9=>new _0x45f629['File']([_0xeaa5b9],_0x24c9b3,{'type':'image/'+_0x5323e9}));}}class UploadcareImageEditCommand extends ckeditor5['Command']{['imageEditController'];static get['requires'](){return[ckeditor5['Dialog']];}['_isEditable'];constructor(_0x134ebb){super(_0x134ebb),this['imageEditController']=void 0x0,this['_isEditable']=createEditabilityChecker(_0x134ebb['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x4c05e9=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x4c05e9);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x58e2a7=this['editor']['model']['document']['selection']['getSelectedElement']();_0x58e2a7&&(_0x58e2a7['is']('element','imageBlock')||_0x58e2a7['is']('element','imageInline'))&&(this['imageEditController']=new UploadcareImageEditController(this['editor'],this['editor']['plugins']['get'](ckeditor5['Dialog']),_0x58e2a7),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class _0x52339a extends ckeditor5['Command']{['refresh'](){const _0x1cc5da=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x1cc5da&&(_0x1cc5da['is']('element','imageBlock')||_0x1cc5da['is']('element','imageInline')));}['execute'](_0xf220bc){const _0x18debc=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x50ef96=>{_0x50ef96['setAttributes'](_0xf220bc,_0x18debc),_0x50ef96['removeAttribute']('srcset',_0x18debc),_0x50ef96['removeAttribute']('sizes',_0x18debc);});}}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:_0xf2bde3}=this;_0xf2bde3['commands']['add']('uploadcareImageEdit',new UploadcareImageEditCommand(_0xf2bde3)),_0xf2bde3['commands']['add']('uploadcareImageReplace',new _0x52339a(_0xf2bde3));}}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 _0x319a72=this['editor'];_0x319a72['ui']['componentFactory']['add']('uploadcareImageEdit',_0x93c7f4=>{const _0x5d1aed=_0x319a72['commands']['get']('uploadcareImageEdit'),_0x4635a5=new ckeditor5['ButtonView'](_0x93c7f4),t=_0x93c7f4['t'];return _0x4635a5['set']({'icon':ckeditor5['IconUploadcareImageEdit'],'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4635a5['bind']('isEnabled')['to'](_0x5d1aed),_0x4635a5['bind']('isOn')['to'](_0x5d1aed,'isActive'),this['listenTo'](_0x4635a5,'execute',()=>{_0x319a72['execute']('uploadcareImageEdit'),_0x319a72['editing']['view']['focus']();}),_0x4635a5;}),this['_initConfig']();}['_initConfig'](){const _0x30edb9=ckeditor5['createElement'](document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x30edb9),this['listenTo'](this['editor'],'destroy',()=>{_0x30edb9['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']=_0x5c0dbe,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']=_0x2c2351,exports['AIReviewCheckResult']=AIReviewCheckResult,exports['AIReviewCheckRun']=_0x4c52a9,exports['AIReviewMode']=_0x22eb28,exports['AIReviewModeController']=AIReviewCoreController,exports['AIReviewModeEditing']=AIReviewCoreEditing,exports['AIReviewModeUI']=_0x5ac87c,exports['AITabs']=_0x2afc5c,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']=_0x317f69,exports['CaseChangeCommand']=_0x1e4fc1,exports['CaseChangeEditing']=CaseChangeEditing,exports['CaseChangeUI']=_0x315eff,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']=_0x1acd7b,exports['CopyFormatCommand']=CopyFormatCommand,exports['DATA_ID_MODEL_ATTRIBUTE']=_0x323f49,exports['DATA_ID_VIEW_ATTRIBUTE']=_0x3ca67a,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']=_0x356a21,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']=_0x2490a7,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']=_0x1ad169,exports['MergeFieldsEditing']=MergeFieldsEditing,exports['MergeFieldsEmailIntegration']=MergeFieldsEmailIntegration,exports['MergeFieldsUI']=_0x46fa54,exports['MultiLevelList']=MultiLevelList,exports['MultiLevelListCommand']=MultiLevelListCommand,exports['MultiLevelListEditing']=MultiLevelListEditing,exports['MultiLevelListEmailIntegration']=MultiLevelListEmailIntegration,exports['MultiLevelListUI']=MultiLevelListUI,exports['NarrowSidebar']=_0x32ed8e,exports['OpenAITextAdapter']=OpenAITextAdapter,exports['Pagination']=Pagination,exports['PaginationRenderer']=PaginationRenderer,exports['PasteFormatCommand']=PasteFormatCommand,exports['PasteFromOfficeEnhanced']=PasteFromOfficeEnhanced,exports['Permissions']=_0x42a978,exports['PresenceList']=PresenceList,exports['PresenceListUI']=PresenceListUI,exports['PreviewFinalContentCommand']=PreviewFinalContentCommand,exports['PreviewMergeFieldsCommand']=_0x4260d5,exports['RealTimeCollaborationClient']=RealTimeCollaborationClient,exports['RealTimeCollaborativeComments']=RealTimeCollaborativeComments,exports['RealTimeCollaborativeEditing']=RealTimeCollaborativeEditing,exports['RealTimeCollaborativeRevisionHistory']=RealTimeCollaborativeRevisionHistory,exports['RealTimeCollaborativeTrackChanges']=RealTimeCollaborativeTrackChanges,exports['ReplaceSourceCommand']=_0x53cd2a,exports['RestoreRevisionCommand']=RestoreRevisionCommand,exports['Revision']=_0x22c776,exports['RevisionHistory']=RevisionHistory,exports['RevisionHistoryUI']=RevisionHistoryUI,exports['RevisionHistoryUtils']=RevisionHistoryUtils,exports['RevisionTracker']=_0x457abd,exports['RevisionViewer']=_0x27c71f,exports['RevisionViewerEditor']=RevisionViewerEditor,exports['RevisionViewerIntegration']=RevisionViewerIntegration,exports['RevisionViewerLoadingOverlay']=_0x3f2ac7,exports['RevisionViewerUI']=_0x27431a,exports['RevisionsRepository']=RevisionsRepository,exports['RevisionsSidebar']=_0x298ce5,exports['Sessions']=_0x396361,exports['ShowAIAssistantCommand']=ShowAIAssistantCommand,exports['ShowChangeCommand']=_0x20cf77,exports['Sidebar']=_0x303e8e,exports['SlashCommand']=_0x515ef8,exports['SlashCommandConfig']=_0x25303a,exports['SlashCommandEditing']=SlashCommandEditing,exports['SlashCommandUI']=_0x145189,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']=_0x256897,exports['TrackChanges']=_0x18452d,exports['TrackChangesCommand']=_0x3a23d9,exports['TrackChangesData']=TrackChangesData,exports['TrackChangesDataGetter']=TrackChangesDataGetter,exports['TrackChangesEditing']=TrackChangesEditing,exports['TrackChangesPreview']=_0xb2e9ef,exports['TrackChangesUI']=_0x2e9f20,exports['UploadEmailIntegration']=UploadEmailIntegration,exports['Uploadcare']=_0x56800c,exports['UploadcareCommand']=_0x50b504,exports['UploadcareEditing']=UploadcareEditing,exports['UploadcareImageEdit']=UploadcareImageEdit,exports['UploadcareImageEditCommand']=UploadcareImageEditCommand,exports['UploadcareImageEditEditing']=UploadcareImageEditEditing,exports['UploadcareImageEditUI']=UploadcareImageEditUI,exports['UploadcareUI']=_0xe1afcc,exports['UploadcareUploadAdapter']=UploadcareUploadAdapter,exports['UserView']=_0x3e5d46,exports['Users']=_0x5e54fb,exports['WebSocketGateway']=WebSocketGateway,exports['WideSidebar']=_0x21816e,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;});